Commit 2ec4c366e6 for wordpress.org

commit 2ec4c366e613aa7b81aab6d0c9facb9d85d191f2
Author: gziolo <gziolo@git.wordpress.org>
Date:   Mon Apr 11 12:04:30 2022 +0000

    Build: Update webpack to v5.x

    Update webpack version to latest version https://www.npmjs.com/package/webpack. This aligns closer with how the Gutenberg plugin handles WordPress packages. Related update in Gutenberg from August 2021: https://github.com/WordPress/gutenberg/pull/33818.

    Props walbo, desrosj, mukesh27.
    Fixes #51750.



    Built from https://develop.svn.wordpress.org/trunk@53135


    git-svn-id: http://core.svn.wordpress.org/trunk@52724 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php
index 15b1030694..0ade2a0ff0 100644
--- a/wp-includes/assets/script-loader-packages.php
+++ b/wp-includes/assets/script-loader-packages.php
@@ -1 +1 @@
-<?php return array('a11y.js' => 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' => '8ef116cbb8beed8bc1da7eeb6c6e4602'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '17766b2bf644140bbb233ce86db2174c'), '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' => '3deb079b0e2403bde3764a3ee22c2d59'), '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' => '54657317be78fb1c246c72b38dc2ed0e'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', '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-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'fb8cfd789616fa32f70090a33b3e6be5'), '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' => '28d5b8f8805a22435cbdc51927067812'), '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' => '796933f78811baa51a86b257df543749'), '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' => '058697a4c5024045c81954f411ff6dba'), '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' => 'a2bea1a5333f4e9d2ea07429a9924da0'), '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' => 'e38d3f45f9736b7a2a5f8de86137dbca'), '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' => 'c5f9378263e5eea9d870764c8fc1dd1b'), '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' => 'ba466ff86449b948bf89b1d25c2ad20e'), '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' => 'e39d7d6fd4bb0895e642d448e76793d7'), '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-html-entities', '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'), 'version' => '403e01f2b098b6a656118a51787581cb'), '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' => '7ac5bb27bb662c888b918bc66c0a0a65'), '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' => '8d4a298f55ea5a97c9e5147f9e132d82'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'fb9def72b4f6427aa79ce1c534a205cc'), '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' => '5179b7561f0153d3127cffc2fc6d4a26'), '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' => '77c30626bb8cf4f5306643107664a1ae'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '9fd5d44710365c520fb15d397154271b'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'bdf52284155ed3fcf2d6999604be6b35'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '18fe8dfbb471a4ef452f5032317b2627'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '5a82ca49493728103b070722b35c3c21'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'e456a944f50b52b51bd573db28db83ac'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'a192d765378319e49e7d3ba821e8afa3'), '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' => '6c3ab278bc9641b6f62731e018a4449e'), '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' => '0c555ff9c438801c104eea79e73f5769'), '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' => 'a3e3616311fad456179e52a7528ec7fd'), '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' => 'eb4890f695e6a7a0560506060a152632'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7e026aec9ee5f844fe239b66b54b8865'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'ea7b368befe497077dbfdf1bb6bf609d'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '52ebb5d46ceac12c583cc27606583f7a'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'ad7c7de26ddc2341a6a3cf458c2c19dc'), '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' => '18fe49a5f3a015c9be8cd325d3e64924'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6a22341ec4203372b399ccf210f7cc7a'));
\ No newline at end of file
+<?php return array('a11y.js' => array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'a38319d7ba46c6e60f7f9d4c371222c5'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'e103c345829d2b4da838b701a4dff236'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '0dba4ee96ad3d569997a3864aa593cd8'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '21d1d6c005241b908b592f52ad684a28'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '87cf2365cd719a6954f1e2bb8bcc692a'), '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' => '0412215c1a30acacdab8c5c47546e4c1'), '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' => '93be2c137c860a2d500985c9edae58f4'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', '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-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'f8140fb86052cec4a7bf477cab749dd5'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '3f185f3bce2588a74d43034847c508e7'), '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' => '44910a8b8797da3722009721a8140dfc'), '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' => 'f92475d274706ed3459d56cf1d500a96'), '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' => 'ad740592e2b558c2c39fe2ffd5ae9f4e'), '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' => '696f64c66d4aa2f873aa61e9c41c314f'), '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-polyfill', 'wp-primitives', 'wp-widgets'), 'version' => '74ca422e60c1961fa9e3d66dd4d78cf9'), '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' => '6c8d1d2f5fd3a0dd0f690b388be62075'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => '6a75067d86cf9ab901a4646595575446'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '558f09b690d1af995c044a6e534af741'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '96593d5d272d008fbcb6912fa0b86778'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'db303ea2ff11bbb161b19a3b0cc200fe'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'd996b53411d1533a84951212ab6ac4ff'), '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' => '9b0320774da0e50a5655c66ff3271e4d'), '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-html-entities', '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'), 'version' => 'fcbb8ebcf9e53b0e3d49e3d37a9ba141'), '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' => 'ea60dda005c09871a3f19ac638e4554b'), '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' => 'e7d4b7e0195c7beb0ea91634b4fe6f78'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'aa7fa64d714e1bfb2783c767a090406d'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '00a5735837e9efe13da1d979f16a7105'), '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' => '70b1875c9f8d08d0725c2d29c27c5c53'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6f1c406015dcc134f2736b9aa66d7e92'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'aceb867c6fcca6a7ffbac9e7b5294327'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '2e6b2408ec717223c7a94cee48bb35e3'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '649feec00389556f8015a6b97efc1cb1'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '418fddac042f08102c4110f70e13cd47'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '84a0e6bbcf0b9e1ea0184c3f2bf28022'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '1ec5b0bdf9e6c2ea47f117db16155197'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'f03b83a599fc30ed40756ad5fcef15e4'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'e44820c667bf205cacdfc48cbeb3c2e6'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '4872896fe3c9656bc21e3a9f6cfe38f3'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '065e2abcdf28fe132eac4a5e0498e5ff'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'e55f3757d6aa7c23451d147b00329b13'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'efad6460ae6b28406d39866cb10731e0'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '5156478c032ea85a2bbdceeb7a43b0c1'), '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' => '5ad087c37455ce414015aff816a4e350'), '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' => '0c2ca335c85c5c680181f1fd6d06a884'), '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' => '1f0b4e9b7d975cf4fbaf0c2a606d38b2'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'd6964e945049b6190adc8770cda168c4'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '4ebce6423dfff99d40033fd33ce52cc9'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'cd20bb21dbf4896d55a0f0def110ed6e'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'f5b7d6832c98057c4f6fdedf2c2c0227'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'babb99706f43063fa0925fd1a0fd775a'), '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' => 'bd5ba1332feaa7da969664b49295f3a7'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '56960c4d13e9d7a315dffd43fdce921c'));
\ No newline at end of file
diff --git a/wp-includes/blocks/file/view.asset.php b/wp-includes/blocks/file/view.asset.php
index 5ac3943c32..a618faa1a8 100644
--- a/wp-includes/blocks/file/view.asset.php
+++ b/wp-includes/blocks/file/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '650904f3ca9fdeab18131aab66cea896');
\ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '395f76892cc61236cc5436776be90499');
\ No newline at end of file
diff --git a/wp-includes/blocks/file/view.js b/wp-includes/blocks/file/view.js
index 479d33238e..7919624d0f 100644
--- a/wp-includes/blocks/file/view.js
+++ b/wp-includes/blocks/file/view.js
@@ -1,99 +1,8 @@
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "DP2F");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "DP2F":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/utils.js
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+var __webpack_exports__ = {};
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/utils.js
 /**
  * Uses a combination of user agent matching and feature detection to determine whether
  * the current browser supports rendering PDFs inline.
@@ -157,14 +66,12 @@ const hidePdfEmbedsOnUnsupportedBrowsers = () => {
   }
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/view.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/view.js
 /**
  * Internal dependencies
  */

 hidePdfEmbedsOnUnsupportedBrowsers();

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/blocks/file/view.min.asset.php b/wp-includes/blocks/file/view.min.asset.php
index 3c640496af..9442413901 100644
--- a/wp-includes/blocks/file/view.min.asset.php
+++ b/wp-includes/blocks/file/view.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => 'e8d668b8e69d9bf1c99dc250d92f2b72');
\ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => 'c7ee2db603af4ed37bd6b1d2bb4a51bf');
\ No newline at end of file
diff --git a/wp-includes/blocks/file/view.min.js b/wp-includes/blocks/file/view.min.js
index 9d268a8bd8..12ef9ad51f 100644
--- a/wp-includes/blocks/file/view.min.js
+++ b/wp-includes/blocks/file/view.min.js
@@ -1 +1 @@
-!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="DP2F")}({DP2F:function(e,t,n){"use strict";n.r(t);const r=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t};(()=>{if(window.navigator.userAgent.indexOf("Mobi")>-1||window.navigator.userAgent.indexOf("Android")>-1||window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2||(window.ActiveXObject||"ActiveXObject"in window)&&!r("AcroPDF.PDF")&&!r("PDF.PdfCtrl")){const e=document.getElementsByClassName("wp-block-file__embed");Array.from(e).forEach(e=>{e.style.display="none"})}})()}});
\ No newline at end of file
+!function(){"use strict";const n=n=>{let i;try{i=new window.ActiveXObject(n)}catch(n){i=void 0}return i};(()=>{if(window.navigator.userAgent.indexOf("Mobi")>-1||window.navigator.userAgent.indexOf("Android")>-1||window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2||(window.ActiveXObject||"ActiveXObject"in window)&&!n("AcroPDF.PDF")&&!n("PDF.PdfCtrl")){const n=document.getElementsByClassName("wp-block-file__embed");Array.from(n).forEach((n=>{n.style.display="none"}))}})()}();
\ No newline at end of file
diff --git a/wp-includes/blocks/navigation/view.asset.php b/wp-includes/blocks/navigation/view.asset.php
index 7a8b842921..910fe29af1 100644
--- a/wp-includes/blocks/navigation/view.asset.php
+++ b/wp-includes/blocks/navigation/view.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '87b1b146f654698824fabc51262fa860');
\ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '2961774fadf00b77b1ba3f439386c681');
\ No newline at end of file
diff --git a/wp-includes/blocks/navigation/view.js b/wp-includes/blocks/navigation/view.js
index 848a5b6a69..32c1dc3c1b 100644
--- a/wp-includes/blocks/navigation/view.js
+++ b/wp-includes/blocks/navigation/view.js
@@ -1,102 +1,11 @@
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "kVj6");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "kVj6":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
-
-// CONCATENATED MODULE: ./node_modules/micromodal/dist/micromodal.es.js
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+var __webpack_exports__ = {};
+
+;// CONCATENATED MODULE: ./node_modules/micromodal/dist/micromodal.es.js
 function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var n,i,a,r,s,l=(n=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],i=function(){function o(e){var n=e.targetModal,i=e.triggers,a=void 0===i?[]:i,r=e.onShow,s=void 0===r?function(){}:r,l=e.onClose,c=void 0===l?function(){}:l,d=e.openTrigger,u=void 0===d?"data-micromodal-trigger":d,f=e.closeTrigger,h=void 0===f?"data-micromodal-close":f,v=e.openClass,g=void 0===v?"is-open":v,m=e.disableScroll,b=void 0!==m&&m,y=e.disableFocus,p=void 0!==y&&y,w=e.awaitCloseAnimation,E=void 0!==w&&w,k=e.awaitOpenAnimation,M=void 0!==k&&k,A=e.debugMode,C=void 0!==A&&A;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),this.modal=document.getElementById(n),this.config={debugMode:C,disableScroll:b,openTrigger:u,closeTrigger:h,openClass:g,onShow:s,onClose:c,awaitCloseAnimation:E,awaitOpenAnimation:M,disableFocus:p},a.length>0&&this.registerTriggers.apply(this,t(a)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var i,a,r;return i=o,(a=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];o.filter(Boolean).forEach((function(t){t.addEventListener("click",(function(t){return e.showModal(t)}))}))}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var o=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",o,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var o=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(o),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(n);return Array.apply(void 0,t(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var o=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));o.length>0&&o[0].focus(),0===o.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var o=t.indexOf(document.activeElement);e.shiftKey&&0===o&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&o===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&e(i.prototype,a),r&&e(i,r),o}(),a=null,r=function(e){if(!document.getElementById(e))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},s=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var o in t)r(o);return!0},{init:function(e){var o=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),n=t(document.querySelectorAll("[".concat(o.openTrigger,"]"))),r=function(e,t){var o=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===o[n]&&(o[n]=[]),o[n].push(e)})),o}(n,o.openTrigger);if(!0!==o.debugMode||!1!==s(n,r))for(var l in r){var c=r[l];o.targetModal=l,o.triggers=t(c),a=new i(o)}},show:function(e,t){var o=t||{};o.targetModal=e,!0===o.debugMode&&!1===r(e)||(a&&a.removeEventListeners(),(a=new i(o)).showModal())},close:function(e){e?a.closeModalById(e):a.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=l);/* harmony default export */ var micromodal_es = (l);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/view.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/view.js
 /**
  * External dependencies
  */
@@ -180,7 +89,5 @@ window.addEventListener('load', () => {
   });
 });

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/blocks/navigation/view.min.asset.php b/wp-includes/blocks/navigation/view.min.asset.php
index a47e07872f..39101e3e79 100644
--- a/wp-includes/blocks/navigation/view.min.asset.php
+++ b/wp-includes/blocks/navigation/view.min.asset.php
@@ -1 +1 @@
-<?php return array('dependencies' => array(), 'version' => '3776ea67846b3bb10fe8f7cdd486b0ba');
\ No newline at end of file
+<?php return array('dependencies' => array(), 'version' => '009e29110e016c14bac4ba0ecc809fcd');
\ No newline at end of file
diff --git a/wp-includes/blocks/navigation/view.min.js b/wp-includes/blocks/navigation/view.min.js
index a654139b15..aaa7d9140d 100644
--- a/wp-includes/blocks/navigation/view.min.js
+++ b/wp-includes/blocks/navigation/view.min.js
@@ -1 +1 @@
-!function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s="kVj6")}({kVj6:function(e,t,o){"use strict";function n(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}o.r(t);var a,l,s,c,d,u=(a=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],l=function(){function e(t){var o=t.targetModal,n=t.triggers,r=void 0===n?[]:n,a=t.onShow,l=void 0===a?function(){}:a,s=t.onClose,c=void 0===s?function(){}:s,d=t.openTrigger,u=void 0===d?"data-micromodal-trigger":d,f=t.closeTrigger,h=void 0===f?"data-micromodal-close":f,v=t.openClass,g=void 0===v?"is-open":v,m=t.disableScroll,b=void 0!==m&&m,p=t.disableFocus,y=void 0!==p&&p,w=t.awaitCloseAnimation,k=void 0!==w&&w,E=t.awaitOpenAnimation,A=void 0!==E&&E,M=t.debugMode,S=void 0!==M&&M;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modal=document.getElementById(o),this.config={debugMode:S,disableScroll:b,openTrigger:u,closeTrigger:h,openClass:g,onShow:l,onClose:c,awaitCloseAnimation:k,awaitOpenAnimation:A,disableFocus:y},r.length>0&&this.registerTriggers.apply(this,i(r)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t,o;return t=e,(o=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];o.filter(Boolean).forEach((function(t){t.addEventListener("click",(function(t){return e.showModal(t)}))}))}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var o=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",o,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var o=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(o),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(a);return Array.apply(void 0,i(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var o=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));o.length>0&&o[0].focus(),0===o.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var o=t.indexOf(document.activeElement);e.shiftKey&&0===o&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&o===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&n(t.prototype,o),e}(),s=null,c=function(e){if(!document.getElementById(e))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},d=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var o in t)c(o);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),o=i(document.querySelectorAll("[".concat(t.openTrigger,"]"))),n=function(e,t){var o=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===o[n]&&(o[n]=[]),o[n].push(e)})),o}(o,t.openTrigger);if(!0!==t.debugMode||!1!==d(o,n))for(var r in n){var a=n[r];t.targetModal=r,t.triggers=i(a),s=new l(t)}},show:function(e,t){var o=t||{};o.targetModal=e,!0===o.debugMode&&!1===c(e)||(s&&s.removeEventListeners(),(s=new l(o)).showModal())},close:function(e){e?s.closeModalById(e):s.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=u);var f=u;function h(e){const t=e.querySelector(".wp-block-navigation__responsive-dialog"),o="true"===e.getAttribute("aria-hidden");e.classList.toggle("has-modal-open",!o),t.toggleAttribute("aria-modal",!o),o?(t.removeAttribute("role"),t.removeAttribute("aria-modal")):(t.setAttribute("role","dialog"),t.setAttribute("aria-modal","true"));document.documentElement.classList.toggle("has-modal-open")}function v(e){e.querySelectorAll('[aria-expanded="true"]').forEach((function(e){e.setAttribute("aria-expanded","false")}))}function g(e){const t=e.target.closest("[aria-expanded]");if("true"===t.getAttribute("aria-expanded"))v(t.closest(".wp-block-navigation-item"));else{const e=t.closest(".wp-block-navigation-item");t.closest(".wp-block-navigation__submenu-container, .wp-block-navigation__container, .wp-block-page-list").querySelectorAll(".wp-block-navigation-item").forEach((function(t){t!==e&&v(t)})),t.setAttribute("aria-expanded","true")}}window.addEventListener("load",()=>{f.init({onShow:h,onClose:h,openClass:"is-menu-open"});document.querySelectorAll(".wp-block-navigation-submenu__toggle").forEach((function(e){e.addEventListener("click",g)})),document.addEventListener("click",(function(e){document.querySelectorAll(".wp-block-navigation").forEach((function(t){t.contains(e.target)||v(t)}))})),document.addEventListener("keyup",(function(e){document.querySelectorAll(".wp-block-navigation-item.has-child").forEach((function(t){t.contains(e.target)||v(t)}))}))})}});
\ No newline at end of file
+!function(){"use strict";function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}var n,i,a,r,l,s=(n=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],i=function(){function o(e){var n=e.targetModal,i=e.triggers,a=void 0===i?[]:i,r=e.onShow,l=void 0===r?function(){}:r,s=e.onClose,c=void 0===s?function(){}:s,d=e.openTrigger,u=void 0===d?"data-micromodal-trigger":d,f=e.closeTrigger,h=void 0===f?"data-micromodal-close":f,g=e.openClass,v=void 0===g?"is-open":g,m=e.disableScroll,b=void 0!==m&&m,y=e.disableFocus,p=void 0!==y&&y,w=e.awaitCloseAnimation,k=void 0!==w&&w,E=e.awaitOpenAnimation,A=void 0!==E&&E,L=e.debugMode,C=void 0!==L&&L;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),this.modal=document.getElementById(n),this.config={debugMode:C,disableScroll:b,openTrigger:u,closeTrigger:h,openClass:v,onShow:l,onClose:c,awaitCloseAnimation:k,awaitOpenAnimation:A,disableFocus:p},a.length>0&&this.registerTriggers.apply(this,t(a)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var i,a;return i=o,(a=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];o.filter(Boolean).forEach((function(t){t.addEventListener("click",(function(t){return e.showModal(t)}))}))}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var o=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",o,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var o=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(o),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(n);return Array.apply(void 0,t(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var o=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));o.length>0&&o[0].focus(),0===o.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var o=t.indexOf(document.activeElement);e.shiftKey&&0===o&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&o===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&e(i.prototype,a),o}(),a=null,r=function(e){if(!document.getElementById(e))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},l=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var o in t)r(o);return!0},{init:function(e){var o=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),n=t(document.querySelectorAll("[".concat(o.openTrigger,"]"))),r=function(e,t){var o=[];return e.forEach((function(e){var n=e.attributes[t].value;void 0===o[n]&&(o[n]=[]),o[n].push(e)})),o}(n,o.openTrigger);if(!0!==o.debugMode||!1!==l(n,r))for(var s in r){var c=r[s];o.targetModal=s,o.triggers=t(c),a=new i(o)}},show:function(e,t){var o=t||{};o.targetModal=e,!0===o.debugMode&&!1===r(e)||(a&&a.removeEventListeners(),(a=new i(o)).showModal())},close:function(e){e?a.closeModalById(e):a.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=s);var c=s;function d(e){const t=e.querySelector(".wp-block-navigation__responsive-dialog"),o="true"===e.getAttribute("aria-hidden");e.classList.toggle("has-modal-open",!o),t.toggleAttribute("aria-modal",!o),o?(t.removeAttribute("role"),t.removeAttribute("aria-modal")):(t.setAttribute("role","dialog"),t.setAttribute("aria-modal","true"));document.documentElement.classList.toggle("has-modal-open")}function u(e){e.querySelectorAll('[aria-expanded="true"]').forEach((function(e){e.setAttribute("aria-expanded","false")}))}function f(e){const t=e.target.closest("[aria-expanded]");if("true"===t.getAttribute("aria-expanded"))u(t.closest(".wp-block-navigation-item"));else{const e=t.closest(".wp-block-navigation-item");t.closest(".wp-block-navigation__submenu-container, .wp-block-navigation__container, .wp-block-page-list").querySelectorAll(".wp-block-navigation-item").forEach((function(t){t!==e&&u(t)})),t.setAttribute("aria-expanded","true")}}window.addEventListener("load",(()=>{c.init({onShow:d,onClose:d,openClass:"is-menu-open"});document.querySelectorAll(".wp-block-navigation-submenu__toggle").forEach((function(e){e.addEventListener("click",f)})),document.addEventListener("click",(function(e){document.querySelectorAll(".wp-block-navigation").forEach((function(t){t.contains(e.target)||u(t)}))})),document.addEventListener("keyup",(function(e){document.querySelectorAll(".wp-block-navigation-item.has-child").forEach((function(t){t.contains(e.target)||u(t)}))}))}))}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/a11y.js b/wp-includes/js/dist/a11y.js
index be0dbee1e8..84da468ef4 100644
--- a/wp-includes/js/dist/a11y.js
+++ b/wp-includes/js/dist/a11y.js
@@ -1,118 +1,66 @@
-this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "jncB");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "Y8OO":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["domReady"]; }());
-
-/***/ }),
-
-/***/ "jncB":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "setup", function() { return /* binding */ setup; });
-__webpack_require__.d(__webpack_exports__, "speak", function() { return /* binding */ speak; });
-
-// EXTERNAL MODULE: external ["wp","domReady"]
-var external_wp_domReady_ = __webpack_require__("Y8OO");
-var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_);
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-intro-text.js
+__webpack_require__.d(__webpack_exports__, {
+  "setup": function() { return /* binding */ setup; },
+  "speak": function() { return /* binding */ speak; }
+});
+
+;// CONCATENATED MODULE: external ["wp","domReady"]
+var external_wp_domReady_namespaceObject = window["wp"]["domReady"];
+var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-intro-text.js
 /**
  * WordPress dependencies
  */
@@ -130,7 +78,7 @@ function addIntroText() {
   const introText = document.createElement('p');
   introText.id = 'a11y-speak-intro-text';
   introText.className = 'a11y-speak-intro-text';
-  introText.textContent = Object(external_wp_i18n_["__"])('Notifications');
+  introText.textContent = (0,external_wp_i18n_namespaceObject.__)('Notifications');
   introText.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;');
   introText.setAttribute('hidden', 'hidden');
   const {
@@ -144,7 +92,7 @@ function addIntroText() {
   return introText;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-container.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-container.js
 /**
  * Build the live regions markup.
  *
@@ -172,7 +120,7 @@ function addContainer() {
   return container;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/clear.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/clear.js
 /**
  * Clears the a11y-speak-region elements and hides the explanatory text.
  */
@@ -190,7 +138,7 @@ function clear() {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/filter-message.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/filter-message.js
 let previousMessage = '';
 /**
  * Filter the message to be announced to the screenreader.
@@ -222,7 +170,7 @@ function filterMessage(message) {
   return message;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/index.js
 /**
  * WordPress dependencies
  */
@@ -307,14 +255,6 @@ function speak(message, ariaLive) {
   }
 }

-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).a11y = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/a11y.min.js b/wp-includes/js/dist/a11y.min.js
index 0fb49858b8..a5693f64cb 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(){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<t.length;e++)t[e].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/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
+!function(){"use strict";var t={n:function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},d:function(e,n){for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{setup:function(){return d},speak:function(){return p}});var n=window.wp.domReady,i=t.n(n),o=window.wp.i18n;function r(){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 a="";function d(){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=(0,o.__)("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&&r("assertive"),null===n&&r("polite")}function p(t,e){!function(){const t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text");for(let e=0;e<t.length;e++)t[e].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),a===t&&(t+=" "),a=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")}i()(d),(window.wp=window.wp||{}).a11y=e}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/annotations.js b/wp-includes/js/dist/annotations.js
index 803010cdfb..984b0e96a3 100644
--- a/wp-includes/js/dist/annotations.js
+++ b/wp-includes/js/dist/annotations.js
@@ -1,132 +1,72 @@
-this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "23Y4");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "23Y4":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
+__webpack_require__.d(__webpack_exports__, {
+  "store": function() { return /* reexport */ store; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
 var selectors_namespaceObject = {};
 __webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAnnotationsForBlock", function() { return __experimentalGetAnnotationsForBlock; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAllAnnotationsForBlock", function() { return __experimentalGetAllAnnotationsForBlock; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAnnotationsForRichText", function() { return __experimentalGetAnnotationsForRichText; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAnnotations", function() { return __experimentalGetAnnotations; });
+__webpack_require__.d(selectors_namespaceObject, {
+  "__experimentalGetAllAnnotationsForBlock": function() { return __experimentalGetAllAnnotationsForBlock; },
+  "__experimentalGetAnnotations": function() { return __experimentalGetAnnotations; },
+  "__experimentalGetAnnotationsForBlock": function() { return __experimentalGetAnnotationsForBlock; },
+  "__experimentalGetAnnotationsForRichText": function() { return __experimentalGetAnnotationsForRichText; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/annotations/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "__experimentalAddAnnotation", function() { return __experimentalAddAnnotation; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotation", function() { return __experimentalRemoveAnnotation; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalUpdateAnnotationRange", function() { return __experimentalUpdateAnnotationRange; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotationsBySource", function() { return __experimentalRemoveAnnotationsBySource; });
-
-// EXTERNAL MODULE: external ["wp","richText"]
-var external_wp_richText_ = __webpack_require__("qRz9");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+__webpack_require__.d(actions_namespaceObject, {
+  "__experimentalAddAnnotation": function() { return __experimentalAddAnnotation; },
+  "__experimentalRemoveAnnotation": function() { return __experimentalRemoveAnnotation; },
+  "__experimentalRemoveAnnotationsBySource": function() { return __experimentalRemoveAnnotationsBySource; },
+  "__experimentalUpdateAnnotationRange": function() { return __experimentalUpdateAnnotationRange; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/constants.js
+;// CONCATENATED MODULE: external ["wp","richText"]
+var external_wp_richText_namespaceObject = window["wp"]["richText"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/constants.js
 /**
  * The identifier for the data store.
  *
@@ -134,7 +74,7 @@ var external_wp_i18n_ = __webpack_require__("l3Sj");
  */
 const STORE_NAME = 'core/annotations';

-// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/annotation.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/annotation.js
 /**
  * WordPress dependencies
  */
@@ -173,7 +113,7 @@ function applyAnnotations(record) {

     const className = ANNOTATION_ATTRIBUTE_PREFIX + annotation.source;
     const id = ANNOTATION_ATTRIBUTE_PREFIX + annotation.id;
-    record = Object(external_wp_richText_["applyFormat"])(record, {
+    record = (0,external_wp_richText_namespaceObject.applyFormat)(record, {
       type: FORMAT_NAME,
       attributes: {
         className,
@@ -191,7 +131,7 @@ function applyAnnotations(record) {
  */

 function removeAnnotations(record) {
-  return Object(external_wp_richText_["removeFormat"])(record, 'core/annotation', 0, record.text.length);
+  return removeFormat(record, 'core/annotation', 0, record.text.length);
 }
 /**
  * Retrieves the positions of annotations inside an array of formats.
@@ -262,9 +202,9 @@ function updateAnnotationsWithPositions(annotations, positions, _ref) {
   });
 }

-const annotation_annotation = {
+const annotation = {
   name: FORMAT_NAME,
-  title: Object(external_wp_i18n_["__"])('Annotation'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Annotation'),
   tagName: 'mark',
   className: 'annotation-text',
   attributes: {
@@ -328,7 +268,7 @@ const annotation_annotation = {

 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/format/index.js
 /**
  * WordPress dependencies
  */
@@ -341,16 +281,14 @@ const annotation_annotation = {
 const {
   name: format_name,
   ...settings
-} = annotation_annotation;
-Object(external_wp_richText_["registerFormatType"])(format_name, settings);
-
-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js
+} = annotation;
+(0,external_wp_richText_namespaceObject.registerFormatType)(format_name, settings);
+
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js
 /**
  * WordPress dependencies
  */
@@ -369,7 +307,7 @@ var external_wp_data_ = __webpack_require__("1ZqX");
  */

 const addAnnotationClassName = OriginalComponent => {
-  return Object(external_wp_data_["withSelect"])((select, _ref) => {
+  return (0,external_wp_data_namespaceObject.withSelect)((select, _ref) => {
     let {
       clientId,
       className
@@ -385,12 +323,11 @@ const addAnnotationClassName = OriginalComponent => {
   })(OriginalComponent);
 };

-Object(external_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/annotations', addAnnotationClassName);
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockListBlock', 'core/annotations', addAnnotationClassName);

-// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/reducer.js
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/reducer.js
 /**
  * External dependencies
  */
@@ -418,7 +355,7 @@ function filterWithReference(collection, predicate) {


 function isValidAnnotationRange(annotation) {
-  return Object(external_lodash_["isNumber"])(annotation.start) && Object(external_lodash_["isNumber"])(annotation.end) && annotation.start <= annotation.end;
+  return (0,external_lodash_namespaceObject.isNumber)(annotation.start) && (0,external_lodash_namespaceObject.isNumber)(annotation.end) && annotation.start <= annotation.end;
 }
 /**
  * Reducer managing annotations.
@@ -430,7 +367,7 @@ function isValidAnnotationRange(annotation) {
  */


-function reducer_annotations() {
+function annotations() {
   var _state$blockClientId;

   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -458,14 +395,14 @@ function reducer_annotations() {
       };

     case 'ANNOTATION_REMOVE':
-      return Object(external_lodash_["mapValues"])(state, annotationsForBlock => {
+      return (0,external_lodash_namespaceObject.mapValues)(state, annotationsForBlock => {
         return filterWithReference(annotationsForBlock, annotation => {
           return annotation.id !== action.annotationId;
         });
       });

     case 'ANNOTATION_UPDATE_RANGE':
-      return Object(external_lodash_["mapValues"])(state, annotationsForBlock => {
+      return (0,external_lodash_namespaceObject.mapValues)(state, annotationsForBlock => {
         let hasChangedRange = false;
         const newAnnotations = annotationsForBlock.map(annotation => {
           if (annotation.id === action.annotationId) {
@@ -484,7 +421,7 @@ function reducer_annotations() {
       });

     case 'ANNOTATION_REMOVE_SOURCE':
-      return Object(external_lodash_["mapValues"])(state, annotationsForBlock => {
+      return (0,external_lodash_namespaceObject.mapValues)(state, annotationsForBlock => {
         return filterWithReference(annotationsForBlock, annotation => {
           return annotation.source !== action.source;
         });
@@ -493,471 +430,113 @@ function reducer_annotations() {

   return state;
 }
-/* harmony default export */ var reducer = (reducer_annotations);
+/* harmony default export */ var reducer = (annotations);

-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");
+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
-/**
- * External dependencies
- */

+var LEAF_KEY, hasWeakMap;

 /**
- * Shared reference to an empty array for cases where it is important to avoid
- * returning a new array reference on every invocation, as in a connected or
- * other pure component which performs `shouldComponentUpdate` check on props.
- * This should be used as a last resort, since the normalized data should be
- * maintained by the reducer result in state.
+ * Arbitrary value used as key for referencing cache object in WeakMap tree.
  *
- * @type {Array}
+ * @type {Object}
  */
+LEAF_KEY = {};

-const EMPTY_ARRAY = [];
 /**
- * Returns the annotations for a specific client ID.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId The ID of the block to get the annotations for.
+ * Whether environment supports WeakMap.
  *
- * @return {Array} The annotations applicable to this block.
+ * @type {boolean}
  */
+hasWeakMap = typeof WeakMap !== 'undefined';

-const __experimentalGetAnnotationsForBlock = Object(rememo["a" /* default */])((state, blockClientId) => {
-  var _state$blockClientId;
-
-  return ((_state$blockClientId = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId !== void 0 ? _state$blockClientId : []).filter(annotation => {
-    return annotation.selector === 'block';
-  });
-}, (state, blockClientId) => {
-  var _state$blockClientId2;
-
-  return [(_state$blockClientId2 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId2 !== void 0 ? _state$blockClientId2 : EMPTY_ARRAY];
-});
-function __experimentalGetAllAnnotationsForBlock(state, blockClientId) {
-  var _state$blockClientId3;
-
-  return (_state$blockClientId3 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId3 !== void 0 ? _state$blockClientId3 : EMPTY_ARRAY;
-}
 /**
- * Returns the annotations that apply to the given RichText instance.
- *
- * Both a blockClientId and a richTextIdentifier are required. This is because
- * a block might have multiple `RichText` components. This does mean that every
- * block needs to implement annotations itself.
+ * Returns the first argument as the sole entry in an array.
  *
- * @param {Object} state              Editor state.
- * @param {string} blockClientId      The client ID for the block.
- * @param {string} richTextIdentifier Unique identifier that identifies the given RichText.
- * @return {Array} All the annotations relevant for the `RichText`.
- */
-
-const __experimentalGetAnnotationsForRichText = Object(rememo["a" /* default */])((state, blockClientId, richTextIdentifier) => {
-  var _state$blockClientId4;
-
-  return ((_state$blockClientId4 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId4 !== void 0 ? _state$blockClientId4 : []).filter(annotation => {
-    return annotation.selector === 'range' && richTextIdentifier === annotation.richTextIdentifier;
-  }).map(annotation => {
-    const {
-      range,
-      ...other
-    } = annotation;
-    return { ...range,
-      ...other
-    };
-  });
-}, (state, blockClientId) => {
-  var _state$blockClientId5;
-
-  return [(_state$blockClientId5 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId5 !== void 0 ? _state$blockClientId5 : EMPTY_ARRAY];
-});
-/**
- * Returns all annotations in the editor state.
+ * @param {*} value Value to return.
  *
- * @param {Object} state Editor state.
- * @return {Array} All annotations currently applied.
+ * @return {Array} Value returned as entry in array.
  */
-
-function __experimentalGetAnnotations(state) {
-  return Object(external_lodash_["flatMap"])(state, annotations => {
-    return annotations;
-  });
+function arrayOf( value ) {
+	return [ value ];
 }

-// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules
-var v4 = __webpack_require__("7Cbv");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
 /**
- * External dependencies
- */
-
-/**
- * @typedef WPAnnotationRange
- *
- * @property {number} start The offset where the annotation should start.
- * @property {number} end   The offset where the annotation should end.
- */
-
-/**
- * Adds an annotation to a block.
- *
- * The `block` attribute refers to a block ID that needs to be annotated.
- * `isBlockAnnotation` controls whether or not the annotation is a block
- * annotation. The `source` is the source of the annotation, this will be used
- * to identity groups of annotations.
- *
- * The `range` property is only relevant if the selector is 'range'.
+ * Returns true if the value passed is object-like, or false otherwise. A value
+ * is object-like if it can support property assignment, e.g. object or array.
  *
- * @param {Object}            annotation                    The annotation to add.
- * @param {string}            annotation.blockClientId      The blockClientId to add the annotation to.
- * @param {string}            annotation.richTextIdentifier Identifier for the RichText instance the annotation applies to.
- * @param {WPAnnotationRange} annotation.range              The range at which to apply this annotation.
- * @param {string}            [annotation.selector="range"] The way to apply this annotation.
- * @param {string}            [annotation.source="default"] The source that added the annotation.
- * @param {string}            [annotation.id]               The ID the annotation should have. Generates a UUID by default.
+ * @param {*} value Value to test.
  *
- * @return {Object} Action object.
+ * @return {boolean} Whether value is object-like.
  */
-
-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,
-    blockClientId,
-    richTextIdentifier,
-    source,
-    selector
-  };
-
-  if (selector === 'range') {
-    action.range = range;
-  }
-
-  return action;
+function isObjectLike( value ) {
+	return !! value && 'object' === typeof value;
 }
-/**
- * Removes an annotation with a specific ID.
- *
- * @param {string} annotationId The annotation to remove.
- *
- * @return {Object} Action object.
- */

-function __experimentalRemoveAnnotation(annotationId) {
-  return {
-    type: 'ANNOTATION_REMOVE',
-    annotationId
-  };
-}
 /**
- * Updates the range of an annotation.
- *
- * @param {string} annotationId ID of the annotation to update.
- * @param {number} start        The start of the new range.
- * @param {number} end          The end of the new range.
+ * Creates and returns a new cache object.
  *
- * @return {Object} Action object.
+ * @return {Object} Cache object.
  */
+function createCache() {
+	var cache = {
+		clear: function() {
+			cache.head = null;
+		},
+	};

-function __experimentalUpdateAnnotationRange(annotationId, start, end) {
-  return {
-    type: 'ANNOTATION_UPDATE_RANGE',
-    annotationId,
-    start,
-    end
-  };
+	return cache;
 }
+
 /**
- * Removes all annotations of a specific source.
+ * Returns true if entries within the two arrays are strictly equal by
+ * reference from a starting index.
  *
- * @param {string} source The source to remove.
+ * @param {Array}  a         First array.
+ * @param {Array}  b         Second array.
+ * @param {number} fromIndex Index from which to start comparison.
  *
- * @return {Object} Action object.
- */
-
-function __experimentalRemoveAnnotationsBySource(source) {
-  return {
-    type: 'ANNOTATION_REMOVE_SOURCE',
-    source
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/index.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
+ * @return {boolean} Whether arrays are shallowly equal.
  */
+function isShallowEqual( a, b, fromIndex ) {
+	var i;

+	if ( a.length !== b.length ) {
+		return false;
+	}

+	for ( i = fromIndex; i < a.length; i++ ) {
+		if ( a[ i ] !== b[ i ] ) {
+			return false;
+		}
+	}

+	return true;
+}

 /**
- * Module Constants
- */
-
-
-/**
- * Store definition for the annotations namespace.
+ * Returns a memoized selector function. The getDependants function argument is
+ * called before the memoized selector and is expected to return an immutable
+ * reference or array of references on which the selector depends for computing
+ * its own return value. The memoize cache is preserved only as long as those
+ * dependant references remain the same. If getDependants returns a different
+ * reference(s), the cache is cleared and the selector value regenerated.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ * @param {Function} selector      Selector function.
+ * @param {Function} getDependants Dependant getter returning an immutable
+ *                                 reference or array of reference used in
+ *                                 cache bust consideration.
  *
- * @type {Object}
+ * @return {Function} Memoized selector.
  */
+/* harmony default export */ function rememo(selector, getDependants ) {
+	var rootCache, getCache;

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
-  reducer: reducer,
-  selectors: selectors_namespaceObject,
-  actions: actions_namespaceObject
-});
-Object(external_wp_data_["register"])(store);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/index.js
-/**
- * Internal dependencies
- */
-
-
-
-
-
-/***/ }),
-
-/***/ "7Cbv":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
-// Unique ID creation requires a high quality random # generator. In the browser we therefore
-// require the crypto API and do not support built-in fallback to lower quality random number
-// generators (like Math.random()).
-var getRandomValues;
-var rnds8 = new Uint8Array(16);
-function rng() {
-  // lazy load so that environments that need to polyfill have a chance to do so
-  if (!getRandomValues) {
-    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
-    // find the complete implementation of crypto (msCrypto) on IE11.
-    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
-
-    if (!getRandomValues) {
-      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
-    }
-  }
-
-  return getRandomValues(rnds8);
-}
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
-/* harmony default export */ var regex = (/^(?:[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);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
-
-
-function validate(uuid) {
-  return typeof uuid === 'string' && regex.test(uuid);
-}
-
-/* harmony default export */ var esm_browser_validate = (validate);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
-
-/**
- * Convert array of 16 byte values to UUID string format of the form:
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
- */
-
-var byteToHex = [];
-
-for (var stringify_i = 0; stringify_i < 256; ++stringify_i) {
-  byteToHex.push((stringify_i + 0x100).toString(16).substr(1));
-}
-
-function stringify(arr) {
-  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
-  // Note: Be careful editing this code!  It's been tuned for performance
-  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
-  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
-  // of the following:
-  // - One or more input array values don't map to a hex octet (leading to
-  // "undefined" in the uuid)
-  // - Invalid input values for the RFC `version` or `variant` fields
-
-  if (!esm_browser_validate(uuid)) {
-    throw TypeError('Stringified UUID is invalid');
-  }
-
-  return uuid;
-}
-
-/* harmony default export */ var esm_browser_stringify = (stringify);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
-
-
-
-function v4(options, buf, offset) {
-  options = options || {};
-  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
-
-  rnds[6] = rnds[6] & 0x0f | 0x40;
-  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
-
-  if (buf) {
-    offset = offset || 0;
-
-    for (var i = 0; i < 16; ++i) {
-      buf[offset + i] = rnds[i];
-    }
-
-    return buf;
-  }
-
-  return esm_browser_stringify(rnds);
-}
-
-/* harmony default export */ var esm_browser_v4 = __webpack_exports__["a"] = (v4);
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "g56x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["hooks"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-
-var LEAF_KEY, hasWeakMap;
-
-/**
- * Arbitrary value used as key for referencing cache object in WeakMap tree.
- *
- * @type {Object}
- */
-LEAF_KEY = {};
-
-/**
- * Whether environment supports WeakMap.
- *
- * @type {boolean}
- */
-hasWeakMap = typeof WeakMap !== 'undefined';
-
-/**
- * Returns the first argument as the sole entry in an array.
- *
- * @param {*} value Value to return.
- *
- * @return {Array} Value returned as entry in array.
- */
-function arrayOf( value ) {
-	return [ value ];
-}
-
-/**
- * Returns true if the value passed is object-like, or false otherwise. A value
- * is object-like if it can support property assignment, e.g. object or array.
- *
- * @param {*} value Value to test.
- *
- * @return {boolean} Whether value is object-like.
- */
-function isObjectLike( value ) {
-	return !! value && 'object' === typeof value;
-}
-
-/**
- * Creates and returns a new cache object.
- *
- * @return {Object} Cache object.
- */
-function createCache() {
-	var cache = {
-		clear: function() {
-			cache.head = null;
-		},
-	};
-
-	return cache;
-}
-
-/**
- * Returns true if entries within the two arrays are strictly equal by
- * reference from a starting index.
- *
- * @param {Array}  a         First array.
- * @param {Array}  b         Second array.
- * @param {number} fromIndex Index from which to start comparison.
- *
- * @return {boolean} Whether arrays are shallowly equal.
- */
-function isShallowEqual( a, b, fromIndex ) {
-	var i;
-
-	if ( a.length !== b.length ) {
-		return false;
-	}
-
-	for ( i = fromIndex; i < a.length; i++ ) {
-		if ( a[ i ] !== b[ i ] ) {
-			return false;
-		}
-	}
-
-	return true;
-}
-
-/**
- * Returns a memoized selector function. The getDependants function argument is
- * called before the memoized selector and is expected to return an immutable
- * reference or array of references on which the selector depends for computing
- * its own return value. The memoize cache is preserved only as long as those
- * dependant references remain the same. If getDependants returns a different
- * reference(s), the cache is cleared and the selector value regenerated.
- *
- * @param {Function} selector      Selector function.
- * @param {Function} getDependants Dependant getter returning an immutable
- *                                 reference or array of reference used in
- *                                 cache bust consideration.
- *
- * @return {Function} Memoized selector.
- */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
-	var rootCache, getCache;
-
-	// Use object source as dependant if getter not provided
-	if ( ! getDependants ) {
-		getDependants = arrayOf;
-	}
+	// Use object source as dependant if getter not provided
+	if ( ! getDependants ) {
+		getDependants = arrayOf;
+	}

 	/**
 	 * Returns the root cache. If WeakMap is supported, this is assigned to the
@@ -1127,16 +706,325 @@ function isShallowEqual( a, b, fromIndex ) {
 	clear();

 	return callSelector;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
+/**
+ * External dependencies
+ */
+
+
+/**
+ * Shared reference to an empty array for cases where it is important to avoid
+ * returning a new array reference on every invocation, as in a connected or
+ * other pure component which performs `shouldComponentUpdate` check on props.
+ * This should be used as a last resort, since the normalized data should be
+ * maintained by the reducer result in state.
+ *
+ * @type {Array}
+ */
+
+const EMPTY_ARRAY = [];
+/**
+ * Returns the annotations for a specific client ID.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId The ID of the block to get the annotations for.
+ *
+ * @return {Array} The annotations applicable to this block.
+ */
+
+const __experimentalGetAnnotationsForBlock = rememo((state, blockClientId) => {
+  var _state$blockClientId;
+
+  return ((_state$blockClientId = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId !== void 0 ? _state$blockClientId : []).filter(annotation => {
+    return annotation.selector === 'block';
+  });
+}, (state, blockClientId) => {
+  var _state$blockClientId2;
+
+  return [(_state$blockClientId2 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId2 !== void 0 ? _state$blockClientId2 : EMPTY_ARRAY];
 });
+function __experimentalGetAllAnnotationsForBlock(state, blockClientId) {
+  var _state$blockClientId3;

+  return (_state$blockClientId3 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId3 !== void 0 ? _state$blockClientId3 : EMPTY_ARRAY;
+}
+/**
+ * Returns the annotations that apply to the given RichText instance.
+ *
+ * Both a blockClientId and a richTextIdentifier are required. This is because
+ * a block might have multiple `RichText` components. This does mean that every
+ * block needs to implement annotations itself.
+ *
+ * @param {Object} state              Editor state.
+ * @param {string} blockClientId      The client ID for the block.
+ * @param {string} richTextIdentifier Unique identifier that identifies the given RichText.
+ * @return {Array} All the annotations relevant for the `RichText`.
+ */
+
+const __experimentalGetAnnotationsForRichText = rememo((state, blockClientId, richTextIdentifier) => {
+  var _state$blockClientId4;
+
+  return ((_state$blockClientId4 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId4 !== void 0 ? _state$blockClientId4 : []).filter(annotation => {
+    return annotation.selector === 'range' && richTextIdentifier === annotation.richTextIdentifier;
+  }).map(annotation => {
+    const {
+      range,
+      ...other
+    } = annotation;
+    return { ...range,
+      ...other
+    };
+  });
+}, (state, blockClientId) => {
+  var _state$blockClientId5;
+
+  return [(_state$blockClientId5 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId5 !== void 0 ? _state$blockClientId5 : EMPTY_ARRAY];
+});
+/**
+ * Returns all annotations in the editor state.
+ *
+ * @param {Object} state Editor state.
+ * @return {Array} All annotations currently applied.
+ */
+
+function __experimentalGetAnnotations(state) {
+  return (0,external_lodash_namespaceObject.flatMap)(state, annotations => {
+    return annotations;
+  });
+}
+
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
+// Unique ID creation requires a high quality random # generator. In the browser we therefore
+// require the crypto API and do not support built-in fallback to lower quality random number
+// generators (like Math.random()).
+var getRandomValues;
+var rnds8 = new Uint8Array(16);
+function rng() {
+  // lazy load so that environments that need to polyfill have a chance to do so
+  if (!getRandomValues) {
+    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
+    // find the complete implementation of crypto (msCrypto) on IE11.
+    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
+
+    if (!getRandomValues) {
+      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
+    }
+  }
+
+  return getRandomValues(rnds8);
+}
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
+/* harmony default export */ var regex = (/^(?:[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);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
+
+
+function validate(uuid) {
+  return typeof uuid === 'string' && regex.test(uuid);
+}
+
+/* harmony default export */ var esm_browser_validate = (validate);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
+
+/**
+ * Convert array of 16 byte values to UUID string format of the form:
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
+ */
+
+var byteToHex = [];
+
+for (var i = 0; i < 256; ++i) {
+  byteToHex.push((i + 0x100).toString(16).substr(1));
+}
+
+function stringify(arr) {
+  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
+  // Note: Be careful editing this code!  It's been tuned for performance
+  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
+  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
+  // of the following:
+  // - One or more input array values don't map to a hex octet (leading to
+  // "undefined" in the uuid)
+  // - Invalid input values for the RFC `version` or `variant` fields
+
+  if (!esm_browser_validate(uuid)) {
+    throw TypeError('Stringified UUID is invalid');
+  }
+
+  return uuid;
+}
+
+/* harmony default export */ var esm_browser_stringify = (stringify);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
+
+
+
+function v4(options, buf, offset) {
+  options = options || {};
+  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
+
+  rnds[6] = rnds[6] & 0x0f | 0x40;
+  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
+
+  if (buf) {
+    offset = offset || 0;
+
+    for (var i = 0; i < 16; ++i) {
+      buf[offset + i] = rnds[i];
+    }
+
+    return buf;
+  }
+
+  return esm_browser_stringify(rnds);
+}
+
+/* harmony default export */ var esm_browser_v4 = (v4);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
+/**
+ * External dependencies
+ */
+
+/**
+ * @typedef WPAnnotationRange
+ *
+ * @property {number} start The offset where the annotation should start.
+ * @property {number} end   The offset where the annotation should end.
+ */

-/***/ }),
+/**
+ * Adds an annotation to a block.
+ *
+ * The `block` attribute refers to a block ID that needs to be annotated.
+ * `isBlockAnnotation` controls whether or not the annotation is a block
+ * annotation. The `source` is the source of the annotation, this will be used
+ * to identity groups of annotations.
+ *
+ * The `range` property is only relevant if the selector is 'range'.
+ *
+ * @param {Object}            annotation                    The annotation to add.
+ * @param {string}            annotation.blockClientId      The blockClientId to add the annotation to.
+ * @param {string}            annotation.richTextIdentifier Identifier for the RichText instance the annotation applies to.
+ * @param {WPAnnotationRange} annotation.range              The range at which to apply this annotation.
+ * @param {string}            [annotation.selector="range"] The way to apply this annotation.
+ * @param {string}            [annotation.source="default"] The source that added the annotation.
+ * @param {string}            [annotation.id]               The ID the annotation should have. Generates a UUID by default.
+ *
+ * @return {Object} Action object.
+ */
+
+function __experimentalAddAnnotation(_ref) {
+  let {
+    blockClientId,
+    richTextIdentifier = null,
+    range = null,
+    selector = 'range',
+    source = 'default',
+    id = esm_browser_v4()
+  } = _ref;
+  const action = {
+    type: 'ANNOTATION_ADD',
+    id,
+    blockClientId,
+    richTextIdentifier,
+    source,
+    selector
+  };
+
+  if (selector === 'range') {
+    action.range = range;
+  }
+
+  return action;
+}
+/**
+ * Removes an annotation with a specific ID.
+ *
+ * @param {string} annotationId The annotation to remove.
+ *
+ * @return {Object} Action object.
+ */
+
+function __experimentalRemoveAnnotation(annotationId) {
+  return {
+    type: 'ANNOTATION_REMOVE',
+    annotationId
+  };
+}
+/**
+ * Updates the range of an annotation.
+ *
+ * @param {string} annotationId ID of the annotation to update.
+ * @param {number} start        The start of the new range.
+ * @param {number} end          The end of the new range.
+ *
+ * @return {Object} Action object.
+ */
+
+function __experimentalUpdateAnnotationRange(annotationId, start, end) {
+  return {
+    type: 'ANNOTATION_UPDATE_RANGE',
+    annotationId,
+    start,
+    end
+  };
+}
+/**
+ * Removes all annotations of a specific source.
+ *
+ * @param {string} source The source to remove.
+ *
+ * @return {Object} Action object.
+ */
+
+function __experimentalRemoveAnnotationsBySource(source) {
+  return {
+    type: 'ANNOTATION_REMOVE_SOURCE',
+    source
+  };
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/index.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+/**
+ * Module Constants
+ */
+
+
+/**
+ * Store definition for the annotations namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
+ */
+
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
+  reducer: reducer,
+  selectors: selectors_namespaceObject,
+  actions: actions_namespaceObject
+});
+(0,external_wp_data_namespaceObject.register)(store);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/index.js
+/**
+ * Internal dependencies
+ */

-/***/ "qRz9":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["richText"]; }());

-/***/ })

-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).annotations = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/annotations.min.js b/wp-includes/js/dist/annotations.min.js
index 4b3bf5034b..321712a8ae 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 R}));var r={};n.r(r),n.d(r,"__experimentalGetAnnotationsForBlock",(function(){return x})),n.d(r,"__experimentalGetAllAnnotationsForBlock",(function(){return _})),n.d(r,"__experimentalGetAnnotationsForRichText",(function(){return A})),n.d(r,"__experimentalGetAnnotations",(function(){return O}));var o={};n.r(o),n.d(o,"__experimentalAddAnnotation",(function(){return N})),n.d(o,"__experimentalRemoveAnnotation",(function(){return T})),n.d(o,"__experimentalUpdateAnnotationRange",(function(){return w})),n.d(o,"__experimentalRemoveAnnotationsBySource",(function(){return j}));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,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<t.length;r++)if(t[r]!==e[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,e.a=function(t,e){var n,l;function c(){n=o?new WeakMap:i()}function s(){var n,r,o,a,i,c=arguments.length;for(a=new Array(c),o=0;o<c;o++)a[o]=arguments[o];for(i=e.apply(null,a),(n=l(i)).isUniqueByDependants||(n.lastDependants&&!u(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(u(r.args,a,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:t.apply(null,a)},a[0]=null,r.args=a,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return e||(e=a),l=o?function(t){var e,o,a,u,l,c=n,s=!0;for(e=0;e<t.length;e++){if(o=t[e],!(l=o)||"object"!=typeof l){s=!1;break}c.has(o)?c=c.get(o):(a=new WeakMap,c.set(o,a),c=a)}return c.has(r)||((u=i()).isUniqueByDependants=s,c.set(r,u)),c.get(r)}:function(){return n},s.getDependants=e,s.clear=c,c(),s}},qRz9:function(t,e){t.exports=window.wp.richText}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{store:function(){return W}});var n={};e.r(n),e.d(n,{__experimentalGetAllAnnotationsForBlock:function(){return O},__experimentalGetAnnotations:function(){return R},__experimentalGetAnnotationsForBlock:function(){return b},__experimentalGetAnnotationsForRichText:function(){return I}});var r={};e.r(r),e.d(r,{__experimentalAddAnnotation:function(){return G},__experimentalRemoveAnnotation:function(){return M},__experimentalRemoveAnnotationsBySource:function(){return j},__experimentalUpdateAnnotationRange:function(){return B}});var o=window.wp.richText,a=window.wp.i18n;const i="core/annotations",l="core/annotation",u="annotation-text-";const s={name:l,title:(0,a.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:()=>null,__experimentalGetPropsForEditableTreePreparation(e,t){let{richTextIdentifier:n,blockClientId:r}=t;return{annotations:e(i).__experimentalGetAnnotationsForRichText(r,n)}},__experimentalCreatePrepareEditableTree(e){let{annotations:t}=e;return(e,n)=>{if(0===t.length)return e;let r={formats:e,text:n};return r=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((t=>{let{start:n,end:r}=t;n>e.text.length&&(n=e.text.length),r>e.text.length&&(r=e.text.length);const a=u+t.source,i=u+t.id;e=(0,o.applyFormat)(e,{type:l,attributes:{className:a,id:i}},n,r)})),e}(r,t),r.formats}},__experimentalGetPropsForEditableTreeChangeHandler:e=>({removeAnnotation:e(i).__experimentalRemoveAnnotation,updateAnnotationRange:e(i).__experimentalUpdateAnnotationRange}),__experimentalCreateOnChangeEditableValue:e=>t=>{const n=function(e){const t={};return e.forEach(((e,n)=>{(e=(e=e||[]).filter((e=>e.type===l))).forEach((e=>{let{id:r}=e.attributes;r=r.replace(u,""),t.hasOwnProperty(r)||(t[r]={start:n}),t[r].end=n+1}))})),t}(t),{removeAnnotation:r,updateAnnotationRange:o,annotations:a}=e;!function(e,t,n){let{removeAnnotation:r,updateAnnotationRange:o}=n;e.forEach((e=>{const n=t[e.id];if(!n)return void r(e.id);const{start:a,end:i}=e;a===n.start&&i===n.end||o(e.id,n.start,n.end)}))}(a,n,{removeAnnotation:r,updateAnnotationRange:o})}},{name:c,...d}=s;(0,o.registerFormatType)(c,d);var p=window.wp.hooks,f=window.wp.data;(0,p.addFilter)("editor.BlockListBlock","core/annotations",(e=>(0,f.withSelect)(((e,t)=>{let{clientId:n,className:r}=t;return{className:e(i).__experimentalGetAnnotationsForBlock(n).map((e=>"is-annotated-by-"+e.source)).concat(r).filter(Boolean).join(" ")}}))(e)));var v=window.lodash;function m(e,t){const n=e.filter(t);return e.length===n.length?e:n}function g(e){return(0,v.isNumber)(e.start)&&(0,v.isNumber)(e.end)&&e.start<=e.end}var h,_,A=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"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 t;const a=null!==(e=null==t?void 0:t[r])&&void 0!==e?e:[];return{...t,[r]:[...a,o]};case"ANNOTATION_REMOVE":return(0,v.mapValues)(t,(e=>m(e,(e=>e.id!==n.annotationId))));case"ANNOTATION_UPDATE_RANGE":return(0,v.mapValues)(t,(e=>{let t=!1;const r=e.map((e=>e.id===n.annotationId?(t=!0,{...e,range:{start:n.start,end:n.end}}):e));return t?r:e}));case"ANNOTATION_REMOVE_SOURCE":return(0,v.mapValues)(t,(e=>m(e,(e=>e.source!==n.source))))}return t};function y(e){return[e]}function x(){var e={clear:function(){e.head=null}};return e}function N(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function T(e,t){var n,r;function o(){n=_?new WeakMap:x()}function a(){var n,o,a,i,l,u=arguments.length;for(i=new Array(u),a=0;a<u;a++)i[a]=arguments[a];for(l=t.apply(null,i),(n=r(l)).isUniqueByDependants||(n.lastDependants&&!N(l,n.lastDependants,0)&&n.clear(),n.lastDependants=l),o=n.head;o;){if(N(o.args,i,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,i)},i[0]=null,o.args=i,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=y),r=_?function(e){var t,r,o,a,i,l=n,u=!0;for(t=0;t<e.length;t++){if(r=e[t],!(i=r)||"object"!=typeof i){u=!1;break}l.has(r)?l=l.get(r):(o=new WeakMap,l.set(r,o),l=o)}return l.has(h)||((a=x()).isUniqueByDependants=u,l.set(h,a)),l.get(h)}:function(){return n},a.getDependants=t,a.clear=o,o(),a}h={},_="undefined"!=typeof WeakMap;const w=[],b=T(((e,t)=>{var n;return(null!==(n=null==e?void 0:e[t])&&void 0!==n?n:[]).filter((e=>"block"===e.selector))}),((e,t)=>{var n;return[null!==(n=null==e?void 0:e[t])&&void 0!==n?n:w]}));function O(e,t){var n;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:w}const I=T(((e,t,n)=>{var r;return(null!==(r=null==e?void 0:e[t])&&void 0!==r?r:[]).filter((e=>"range"===e.selector&&n===e.richTextIdentifier)).map((e=>{const{range:t,...n}=e;return{...t,...n}}))}),((e,t)=>{var n;return[null!==(n=null==e?void 0:e[t])&&void 0!==n?n:w]}));function R(e){return(0,v.flatMap)(e,(e=>e))}var E,k=new Uint8Array(16);function C(){if(!E&&!(E="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 E(k)}var D=/^(?:[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 S=function(e){return"string"==typeof e&&D.test(e)},V=[],P=0;P<256;++P)V.push((P+256).toString(16).substr(1));var U=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(V[e[t+0]]+V[e[t+1]]+V[e[t+2]]+V[e[t+3]]+"-"+V[e[t+4]]+V[e[t+5]]+"-"+V[e[t+6]]+V[e[t+7]]+"-"+V[e[t+8]]+V[e[t+9]]+"-"+V[e[t+10]]+V[e[t+11]]+V[e[t+12]]+V[e[t+13]]+V[e[t+14]]+V[e[t+15]]).toLowerCase();if(!S(n))throw TypeError("Stringified UUID is invalid");return n};var F=function(e,t,n){var r=(e=e||{}).random||(e.rng||C)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return U(r)};function G(e){let{blockClientId:t,richTextIdentifier:n=null,range:r=null,selector:o="range",source:a="default",id:i=F()}=e;const l={type:"ANNOTATION_ADD",id:i,blockClientId:t,richTextIdentifier:n,source:a,selector:o};return"range"===o&&(l.range=r),l}function M(e){return{type:"ANNOTATION_REMOVE",annotationId:e}}function B(e,t,n){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:e,start:t,end:n}}function j(e){return{type:"ANNOTATION_REMOVE_SOURCE",source:e}}const W=(0,f.createReduxStore)(i,{reducer:A,selectors:n,actions:r});(0,f.register)(W),(window.wp=window.wp||{}).annotations=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/api-fetch.js b/wp-includes/js/dist/api-fetch.js
index 72f02e38dc..4703c39055 100644
--- a/wp-includes/js/dist/api-fetch.js
+++ b/wp-includes/js/dist/api-fetch.js
@@ -1,110 +1,37 @@
-this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "jqrR");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "Mmq9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["url"]; }());
-
-/***/ }),
-
-/***/ "jqrR":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
+var __webpack_exports__ = {};

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "default": function() { return /* binding */ build_module; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js
 /**
  * @param {string} nonce
  * @return {import('../types').APIFetchMiddleware & { nonce: string }} A middleware to enhance a request with a nonce.
@@ -138,7 +65,7 @@ function createNonceMiddleware(nonce) {

 /* harmony default export */ var nonce = (createNonceMiddleware);

-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js
 /**
  * @type {import('../types').APIFetchMiddleware}
  */
@@ -166,7 +93,7 @@ const namespaceAndEndpointMiddleware = (options, next) => {

 /* harmony default export */ var namespace_endpoint = (namespaceAndEndpointMiddleware);

-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/root-url.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/root-url.js
 /**
  * Internal dependencies
  */
@@ -207,10 +134,9 @@ const createRootURLMiddleware = rootURL => (options, next) => {

 /* harmony default export */ var root_url = (createRootURLMiddleware);

-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/preloading.js
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/preloading.js
 /**
  * WordPress dependencies
  */
@@ -222,7 +148,7 @@ var external_wp_url_ = __webpack_require__("Mmq9");

 function createPreloadingMiddleware(preloadedData) {
   const cache = Object.keys(preloadedData).reduce((result, path) => {
-    result[Object(external_wp_url_["normalizePath"])(path)] = preloadedData[path];
+    result[(0,external_wp_url_namespaceObject.normalizePath)(path)] = preloadedData[path];
     return result;
   },
   /** @type {Record<string, any>} */
@@ -236,7 +162,7 @@ function createPreloadingMiddleware(preloadedData) {
     let rawPath = options.path;

     if (!rawPath && options.url) {
-      const pathFromQuery = Object(external_wp_url_["getQueryArg"])(options.url, 'rest_route');
+      const pathFromQuery = (0,external_wp_url_namespaceObject.getQueryArg)(options.url, 'rest_route');

       if (typeof pathFromQuery === 'string') {
         rawPath = pathFromQuery;
@@ -245,7 +171,7 @@ function createPreloadingMiddleware(preloadedData) {

     if (typeof rawPath === 'string') {
       const method = options.method || 'GET';
-      const path = Object(external_wp_url_["normalizePath"])(rawPath);
+      const path = (0,external_wp_url_namespaceObject.normalizePath)(rawPath);

       if ('GET' === method && cache[path]) {
         const cacheData = cache[path]; // Unsetting the cache key ensures that the data is only used a single time
@@ -270,7 +196,7 @@ function createPreloadingMiddleware(preloadedData) {

 /* harmony default export */ var preloading = (createPreloadingMiddleware);

-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
 /**
  * WordPress dependencies
  */
@@ -295,8 +221,8 @@ const modifyQuery = (_ref, queryArgs) => {
     ...options
   } = _ref;
   return { ...options,
-    url: url && Object(external_wp_url_["addQueryArgs"])(url, queryArgs),
-    path: path && Object(external_wp_url_["addQueryArgs"])(path, queryArgs)
+    url: url && (0,external_wp_url_namespaceObject.addQueryArgs)(url, queryArgs),
+    path: path && (0,external_wp_url_namespaceObject.addQueryArgs)(path, queryArgs)
   };
 };
 /**
@@ -411,7 +337,7 @@ const fetchAllMiddleware = async (options, next) => {

 /* harmony default export */ var fetch_all_middleware = (fetchAllMiddleware);

-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/http-v1.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/http-v1.js
 /**
  * Set of HTTP methods which are eligible to be overridden.
  *
@@ -457,7 +383,7 @@ const httpV1Middleware = (options, next) => {

 /* harmony default export */ var http_v1 = (httpV1Middleware);

-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/user-locale.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/user-locale.js
 /**
  * WordPress dependencies
  */
@@ -467,14 +393,14 @@ const httpV1Middleware = (options, next) => {
  */

 const userLocaleMiddleware = (options, next) => {
-  if (typeof options.url === 'string' && !Object(external_wp_url_["hasQueryArg"])(options.url, '_locale')) {
-    options.url = Object(external_wp_url_["addQueryArgs"])(options.url, {
+  if (typeof options.url === 'string' && !(0,external_wp_url_namespaceObject.hasQueryArg)(options.url, '_locale')) {
+    options.url = (0,external_wp_url_namespaceObject.addQueryArgs)(options.url, {
       _locale: 'user'
     });
   }

-  if (typeof options.path === 'string' && !Object(external_wp_url_["hasQueryArg"])(options.path, '_locale')) {
-    options.path = Object(external_wp_url_["addQueryArgs"])(options.path, {
+  if (typeof options.path === 'string' && !(0,external_wp_url_namespaceObject.hasQueryArg)(options.path, '_locale')) {
+    options.path = (0,external_wp_url_namespaceObject.addQueryArgs)(options.path, {
       _locale: 'user'
     });
   }
@@ -484,7 +410,7 @@ const userLocaleMiddleware = (options, next) => {

 /* harmony default export */ var user_locale = (userLocaleMiddleware);

-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/utils/response.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/utils/response.js
 /**
  * WordPress dependencies
  */
@@ -523,7 +449,7 @@ const response_parseResponse = function (response) {
 const parseJsonAndNormalizeError = response => {
   const invalidJsonError = {
     code: 'invalid_json',
-    message: Object(external_wp_i18n_["__"])('The response is not a valid JSON response.')
+    message: (0,external_wp_i18n_namespaceObject.__)('The response is not a valid JSON response.')
   };

   if (!response || !response.json) {
@@ -566,13 +492,13 @@ function parseAndThrowError(response) {
   return parseJsonAndNormalizeError(response).then(error => {
     const unknownError = {
       code: 'unknown_error',
-      message: Object(external_wp_i18n_["__"])('An unknown error occurred.')
+      message: (0,external_wp_i18n_namespaceObject.__)('An unknown error occurred.')
     };
     throw error || unknownError;
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js
 /**
  * WordPress dependencies
  */
@@ -643,7 +569,7 @@ const mediaUploadMiddleware = (options, next) => {
         if (options.parse !== false) {
           return Promise.reject({
             code: 'post_process',
-            message: Object(external_wp_i18n_["__"])('Media upload failed. If this is a photo or a large image, please scale it down and try again.')
+            message: (0,external_wp_i18n_namespaceObject.__)('Media upload failed. If this is a photo or a large image, please scale it down and try again.')
           });
         }

@@ -657,7 +583,7 @@ const mediaUploadMiddleware = (options, next) => {

 /* harmony default export */ var media_upload = (mediaUploadMiddleware);

-// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/index.js
 /**
  * WordPress dependencies
  */
@@ -778,7 +704,7 @@ const defaultFetchHandler = nextOptions => {

     throw {
       code: 'fetch_error',
-      message: Object(external_wp_i18n_["__"])('You are probably offline.')
+      message: (0,external_wp_i18n_namespaceObject.__)('You are probably offline.')
     };
   });
 };
@@ -836,16 +762,8 @@ apiFetch.createPreloadingMiddleware = preloading;
 apiFetch.createRootURLMiddleware = root_url;
 apiFetch.fetchAllMiddleware = fetch_all_middleware;
 apiFetch.mediaUploadMiddleware = media_upload;
-/* harmony default export */ var build_module = __webpack_exports__["default"] = (apiFetch);
-
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ })
+/* harmony default export */ var build_module = (apiFetch);

-/******/ })["default"];
\ No newline at end of file
+(window.wp = window.wp || {}).apiFetch = __webpack_exports__["default"];
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/api-fetch.min.js b/wp-includes/js/dist/api-fetch.min.js
index 58eb28e50f..cf03cc4f77 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=(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
+!function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};e.d(t,{default:function(){return A}});var r=window.wp.i18n;var n=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 o=(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 a=e=>(t,r)=>o(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})})),s=window.wp.url;var i=function(e){const t=Object.keys(e).reduce(((t,r)=>(t[(0,s.normalizePath)(r)]=e[r],t)),{});return(e,r)=>{const{parse:n=!0}=e;let o=e.path;if(!o&&e.url){const t=(0,s.getQueryArg)(e.url,"rest_route");"string"==typeof t&&(o=t)}if("string"==typeof o){const r=e.method||"GET",a=(0,s.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 c=(e,t)=>{let{path:r,url:n,...o}=e;return{...o,url:n&&(0,s.addQueryArgs)(n,t),path:r&&(0,s.addQueryArgs)(r,t)}},d=e=>e.json?e.json():Promise.reject(e),u=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 A({...c(e,{per_page:100}),parse:!1}),n=await d(r);if(!Array.isArray(n))return n;let o=u(r);if(!o)return n;let a=[].concat(n);for(;o;){const t=await A({...e,path:void 0,url:o,parse:!1}),r=await d(t);a=a.concat(r),o=u(t)}return a};const l=new Set(["PATCH","PUT","DELETE"]),h="GET";const f=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},w=e=>{const t={code:"invalid_json",message:(0,r.__)("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(f(e,t)).catch((e=>m(e,t)))};function m(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!t)throw e;return w(e).then((e=>{const t={code:"unknown_error",message:(0,r.__)("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 n=0;const o=e=>(n++,t({path:`/wp/v2/media/${e}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((()=>n<5?o(e):(t({path:`/wp/v2/media/${e}?force=true`,method:"DELETE"}),Promise.reject()))));return t({...e,parse:!1}).catch((t=>{const n=t.headers.get("x-wp-upload-attachment-id");return t.status>=500&&t.status<600&&n?o(n).catch((()=>!1!==e.parse?Promise.reject({code:"post_process",message:(0,r.__)("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=>g(t,e.parse)))};const v={Accept:"application/json, */*;q=0.1"},P={credentials:"include"},_=[(e,t)=>("string"!=typeof e.url||(0,s.hasQueryArg)(e.url,"_locale")||(e.url=(0,s.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||(0,s.hasQueryArg)(e.path,"_locale")||(e.path=(0,s.addQueryArgs)(e.path,{_locale:"user"})),t(e)),o,(e,t)=>{const{method:r=h}=e;return l.has(r.toUpperCase())&&(e={...e,headers:{...e.headers,"X-HTTP-Method-Override":r,"Content-Type":"application/json"},method:"POST"}),t(e)},p];const O=e=>{if(e.status>=200&&e.status<300)return e;throw e};let j=e=>{const{url:t,path:n,data:o,parse:a=!0,...s}=e;let{body:i,headers:c}=e;c={...v,...c},o&&(i=JSON.stringify(o),c["Content-Type"]="application/json");return window.fetch(t||n||window.location.href,{...P,...s,body:i,headers:c}).then((e=>Promise.resolve(e).then(O).catch((e=>m(e,a))).then((e=>g(e,a)))),(e=>{if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:(0,r.__)("You are probably offline.")}}))};function T(e){return _.reduceRight(((e,t)=>r=>t(r,e)),j)(e).catch((t=>"rest_cookie_invalid_nonce"!==t.code?Promise.reject(t):window.fetch(T.nonceEndpoint).then(O).then((e=>e.text())).then((t=>(T.nonceMiddleware.nonce=t,T(e))))))}T.use=function(e){_.unshift(e)},T.setFetchHandler=function(e){j=e},T.createNonceMiddleware=n,T.createPreloadingMiddleware=i,T.createRootURLMiddleware=a,T.fetchAllMiddleware=p,T.mediaUploadMiddleware=y;var A=T;(window.wp=window.wp||{}).apiFetch=t.default}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/autop.js b/wp-includes/js/dist/autop.js
index f9c19e1bf1..9cb85c8187 100644
--- a/wp-includes/js/dist/autop.js
+++ b/wp-includes/js/dist/autop.js
@@ -1,99 +1,44 @@
-this["wp"] = this["wp"] || {}; this["wp"]["autop"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "zbAn");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "zbAn":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 __webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "autop", function() { return autop; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removep", function() { return removep; });
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */   "autop": function() { return /* binding */ autop; },
+/* harmony export */   "removep": function() { return /* binding */ removep; }
+/* harmony export */ });
 /**
  * The regular expression for an HTML element.
  *
@@ -492,7 +437,6 @@ function removep(html) {
   return html;
 }

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).autop = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/autop.min.js b/wp-includes/js/dist/autop.min.js
index f150bb9814..52a8c7c462 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<r.length;e+=2)for(let p=0;p<c.length;p++){const l=c[p];if(-1!==r[e].indexOf(l)){r[e]=r[e].replace(new RegExp(l,"g"),n[l]),t=!0;break}}return t&&(e=r.join("")),e}function c(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){const n=e.split("</pre>"),p=n.pop();e="";for(let p=0;p<n.length;p++){const t=n[p],c=t.indexOf("<pre");if(-1===c){e+=t;continue}const l="<pre wp-pre-tag-"+p+"></pre>";r.push([l,t.substr(c)+"</pre>"]),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(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+p+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+p+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));const c=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",c.forEach(n=>{e+="<p>"+n.replace(/^\n*|\n*$/g,"")+"</p>\n"}),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+p+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+p+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+p+"[^>]*>)\\s*</p>","g"),"$1"),n&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,e=>e[0].replace(/\n/g,"<WPPreserveNewline />"))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,(e,n)=>n?e:"<br />\n")).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+p+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),r.forEach(n=>{const[r,p]=n;e=e.replace(r,p)}),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\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("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,e=>(t.push(e),"<wp-preserve>"))),-1!==e.indexOf("<pre")&&(c=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,e=>(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>"))),-1!==e.indexOf("[caption")&&(l=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,e=>e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").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*</("+r+")>\\s*","g"),"</$1>\n")).replace(new RegExp("\\s*<((?:"+r+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>[\s\S]*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,(e,n)=>n&&-1!==n.indexOf("\n")?"\n\n":"\n")).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\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*</("+p+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,e=>e.replace(/[\r\n]+/g,""))),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(/<wp-line-break>/g,"\n")),l&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),t.length&&(e=e.replace(/<wp-preserve>/g,()=>t.shift())),e):""}}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(n,p){for(var r in p)e.o(p,r)&&!e.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:p[r]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{autop:function(){return t},removep:function(){return c}});const p=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function r(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<r.length;e+=2)for(let p=0;p<c.length;p++){const l=c[p];if(-1!==r[e].indexOf(l)){r[e]=r[e].replace(new RegExp(l,"g"),n[l]),t=!0;break}}return t&&(e=r.join("")),e}function t(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const p=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){const n=e.split("</pre>"),r=n.pop();e="";for(let r=0;r<n.length;r++){const t=n[r],c=t.indexOf("<pre");if(-1===c){e+=t;continue}const l="<pre wp-pre-tag-"+r+"></pre>";p.push([l,t.substr(c)+"</pre>"]),e+=t.substr(0,c)+l}e+=r}const t="(?: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=r(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+t+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+t+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));const c=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",c.forEach((n=>{e+="<p>"+n.replace(/^\n*|\n*$/g,"")+"</p>\n"})),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+t+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+t+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+t+"[^>]*>)\\s*</p>","g"),"$1"),n&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,(e=>e[0].replace(/\n/g,"<WPPreserveNewline />")))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,((e,n)=>n?e:"<br />\n"))).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+t+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),p.forEach((n=>{const[p,r]=n;e=e.replace(p,r)})),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}function c(e){const n="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",p=n+"|div|p",r=n+"|pre",t=[];let c=!1,l=!1;return e?(-1===e.indexOf("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,(e=>(t.push(e),"<wp-preserve>")))),-1!==e.indexOf("<pre")&&(c=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,(e=>(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")))),-1!==e.indexOf("[caption")&&(l=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,(e=>e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").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*</("+p+")>\\s*","g"),"</$1>\n")).replace(new RegExp("\\s*<((?:"+p+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>[\s\S]*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,((e,n)=>n&&-1!==n.indexOf("\n")?"\n\n":"\n"))).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\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*<((?:"+r+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*</("+r+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,(e=>e.replace(/[\r\n]+/g,"")))),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(/<wp-line-break>/g,"\n")),l&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),t.length&&(e=e.replace(/<wp-preserve>/g,(()=>t.shift()))),e):""}(window.wp=window.wp||{}).autop=n}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/blob.js b/wp-includes/js/dist/blob.js
index 883d1747a4..b19e68b4ab 100644
--- a/wp-includes/js/dist/blob.js
+++ b/wp-includes/js/dist/blob.js
@@ -1,102 +1,47 @@
-this["wp"] = this["wp"] || {}; this["wp"]["blob"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "ca5x");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "ca5x":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 __webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createBlobURL", function() { return createBlobURL; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getBlobByURL", function() { return getBlobByURL; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getBlobTypeByURL", function() { return getBlobTypeByURL; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "revokeBlobURL", function() { return revokeBlobURL; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBlobURL", function() { return isBlobURL; });
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */   "createBlobURL": function() { return /* binding */ createBlobURL; },
+/* harmony export */   "getBlobByURL": function() { return /* binding */ getBlobByURL; },
+/* harmony export */   "getBlobTypeByURL": function() { return /* binding */ getBlobTypeByURL; },
+/* harmony export */   "isBlobURL": function() { return /* binding */ isBlobURL; },
+/* harmony export */   "revokeBlobURL": function() { return /* binding */ revokeBlobURL; }
+/* harmony export */ });
 /**
  * Browser dependencies
  */
@@ -179,7 +124,6 @@ function isBlobURL(url) {
   return url.indexOf('blob:') === 0;
 }

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).blob = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/blob.min.js b/wp-includes/js/dist/blob.min.js
index 4098f36329..ad54f5081a 100644
--- a/wp-includes/js/dist/blob.min.js
+++ b/wp-includes/js/dist/blob.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="ca5x")}({ca5x:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return i})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"getBlobTypeByURL",(function(){return f})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));const{createObjectURL:r,revokeObjectURL:o}=window.URL,u={};function i(e){const t=r(e);return u[t]=e,t}function c(e){return u[e]}function f(e){var t;return null===(t=c(e))||void 0===t?void 0:t.type.split("/")[0]}function l(e){u[e]&&o(e),delete u[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{createBlobURL:function(){return u},getBlobByURL:function(){return i},getBlobTypeByURL:function(){return c},isBlobURL:function(){return l},revokeBlobURL:function(){return f}});const{createObjectURL:t,revokeObjectURL:o}=window.URL,r={};function u(e){const n=t(e);return r[n]=e,n}function i(e){return r[e]}function c(e){var n;return null===(n=i(e))||void 0===n?void 0:n.type.split("/")[0]}function f(e){r[e]&&o(e),delete r[e]}function l(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}(window.wp=window.wp||{}).blob=n}();
\ 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 09d18403d1..2d872257cb 100644
--- a/wp-includes/js/dist/block-directory.js
+++ b/wp-includes/js/dist/block-directory.js
@@ -1,186 +1,110 @@
-this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "7f3f");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "//Lo":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const blockDefault = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (blockDefault);
-
-
-/***/ }),
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "7f3f":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
+__webpack_require__.d(__webpack_exports__, {
+  "store": function() { return /* reexport */ store; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-directory/build-module/store/selectors.js
 var selectors_namespaceObject = {};
 __webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "isRequestingDownloadableBlocks", function() { return selectors_isRequestingDownloadableBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getDownloadableBlocks", function() { return selectors_getDownloadableBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getInstalledBlockTypes", function() { return getInstalledBlockTypes; });
-__webpack_require__.d(selectors_namespaceObject, "getNewBlockTypes", function() { return getNewBlockTypes; });
-__webpack_require__.d(selectors_namespaceObject, "getUnusedBlockTypes", function() { return getUnusedBlockTypes; });
-__webpack_require__.d(selectors_namespaceObject, "isInstalling", function() { return selectors_isInstalling; });
-__webpack_require__.d(selectors_namespaceObject, "getErrorNotices", function() { return getErrorNotices; });
-__webpack_require__.d(selectors_namespaceObject, "getErrorNoticeForBlock", function() { return selectors_getErrorNoticeForBlock; });
+__webpack_require__.d(selectors_namespaceObject, {
+  "getDownloadableBlocks": function() { return getDownloadableBlocks; },
+  "getErrorNoticeForBlock": function() { return getErrorNoticeForBlock; },
+  "getErrorNotices": function() { return getErrorNotices; },
+  "getInstalledBlockTypes": function() { return getInstalledBlockTypes; },
+  "getNewBlockTypes": function() { return getNewBlockTypes; },
+  "getUnusedBlockTypes": function() { return getUnusedBlockTypes; },
+  "isInstalling": function() { return isInstalling; },
+  "isRequestingDownloadableBlocks": function() { return isRequestingDownloadableBlocks; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-directory/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "fetchDownloadableBlocks", function() { return fetchDownloadableBlocks; });
-__webpack_require__.d(actions_namespaceObject, "receiveDownloadableBlocks", function() { return receiveDownloadableBlocks; });
-__webpack_require__.d(actions_namespaceObject, "installBlockType", function() { return actions_installBlockType; });
-__webpack_require__.d(actions_namespaceObject, "uninstallBlockType", function() { return actions_uninstallBlockType; });
-__webpack_require__.d(actions_namespaceObject, "addInstalledBlockType", function() { return addInstalledBlockType; });
-__webpack_require__.d(actions_namespaceObject, "removeInstalledBlockType", function() { return removeInstalledBlockType; });
-__webpack_require__.d(actions_namespaceObject, "setIsInstalling", function() { return setIsInstalling; });
-__webpack_require__.d(actions_namespaceObject, "setErrorNotice", function() { return setErrorNotice; });
-__webpack_require__.d(actions_namespaceObject, "clearErrorNotice", function() { return clearErrorNotice; });
+__webpack_require__.d(actions_namespaceObject, {
+  "addInstalledBlockType": function() { return addInstalledBlockType; },
+  "clearErrorNotice": function() { return clearErrorNotice; },
+  "fetchDownloadableBlocks": function() { return fetchDownloadableBlocks; },
+  "installBlockType": function() { return installBlockType; },
+  "receiveDownloadableBlocks": function() { return receiveDownloadableBlocks; },
+  "removeInstalledBlockType": function() { return removeInstalledBlockType; },
+  "setErrorNotice": function() { return setErrorNotice; },
+  "setIsInstalling": function() { return setIsInstalling; },
+  "uninstallBlockType": function() { return uninstallBlockType; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-directory/build-module/store/resolvers.js
 var resolvers_namespaceObject = {};
 __webpack_require__.r(resolvers_namespaceObject);
-__webpack_require__.d(resolvers_namespaceObject, "getDownloadableBlocks", function() { return resolvers_getDownloadableBlocks; });
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","plugins"]
-var external_wp_plugins_ = __webpack_require__("TvNi");
-
-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external ["wp","editor"]
-var external_wp_editor_ = __webpack_require__("jSdM");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+__webpack_require__.d(resolvers_namespaceObject, {
+  "getDownloadableBlocks": function() { return resolvers_getDownloadableBlocks; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/reducer.js
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","plugins"]
+var external_wp_plugins_namespaceObject = window["wp"]["plugins"];
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external ["wp","editor"]
+var external_wp_editor_namespaceObject = window["wp"]["editor"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/reducer.js
 /**
  * External dependencies
  */
@@ -282,21 +206,20 @@ const errorNotices = function () {
       };

     case 'CLEAR_ERROR_NOTICE':
-      return Object(external_lodash_["omit"])(state, action.blockId);
+      return (0,external_lodash_namespaceObject.omit)(state, action.blockId);
   }

   return state;
 };
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
   downloadableBlocks,
   blockManagement,
   errorNotices
 }));

-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/utils/has-block-type.js
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/utils/has-block-type.js
 /**
  * Check if a block list contains a specific block type. Recursively searches
  * through `innerBlocks` if they exist.
@@ -331,7 +254,7 @@ function hasBlockType(blockType) {
   return false;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/selectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/selectors.js
 /**
  * WordPress dependencies
  */
@@ -351,7 +274,7 @@ function hasBlockType(blockType) {
  * @return {boolean} Whether a request is in progress for the blocks list.
  */

-function selectors_isRequestingDownloadableBlocks(state, filterValue) {
+function isRequestingDownloadableBlocks(state, filterValue) {
   var _state$downloadableBl, _state$downloadableBl2;

   return (_state$downloadableBl = (_state$downloadableBl2 = state.downloadableBlocks[filterValue]) === null || _state$downloadableBl2 === void 0 ? void 0 : _state$downloadableBl2.isRequesting) !== null && _state$downloadableBl !== void 0 ? _state$downloadableBl : false;
@@ -365,7 +288,7 @@ function selectors_isRequestingDownloadableBlocks(state, filterValue) {
  * @return {Array} Downloadable blocks.
  */

-function selectors_getDownloadableBlocks(state, filterValue) {
+function getDownloadableBlocks(state, filterValue) {
   var _state$downloadableBl3, _state$downloadableBl4;

   return (_state$downloadableBl3 = (_state$downloadableBl4 = state.downloadableBlocks[filterValue]) === null || _state$downloadableBl4 === void 0 ? void 0 : _state$downloadableBl4.results) !== null && _state$downloadableBl3 !== void 0 ? _state$downloadableBl3 : [];
@@ -391,8 +314,8 @@ function getInstalledBlockTypes(state) {
  * @return {Array} Block type items.
  */

-const getNewBlockTypes = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const usedBlockTree = select(external_wp_blockEditor_["store"]).getBlocks();
+const getNewBlockTypes = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const usedBlockTree = select(external_wp_blockEditor_namespaceObject.store).getBlocks();
   const installedBlockTypes = getInstalledBlockTypes(state);
   return installedBlockTypes.filter(blockType => hasBlockType(blockType, usedBlockTree));
 });
@@ -405,8 +328,8 @@ const getNewBlockTypes = Object(external_wp_data_["createRegistrySelector"])(sel
  * @return {Array} Block type items.
  */

-const getUnusedBlockTypes = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const usedBlockTree = select(external_wp_blockEditor_["store"]).getBlocks();
+const getUnusedBlockTypes = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const usedBlockTree = select(external_wp_blockEditor_namespaceObject.store).getBlocks();
   const installedBlockTypes = getInstalledBlockTypes(state);
   return installedBlockTypes.filter(blockType => !hasBlockType(blockType, usedBlockTree));
 });
@@ -419,7 +342,7 @@ const getUnusedBlockTypes = Object(external_wp_data_["createRegistrySelector"])(
  * @return {boolean} Whether this block is currently being installed.
  */

-function selectors_isInstalling(state, blockId) {
+function isInstalling(state, blockId) {
   return state.blockManagement.isInstalling[blockId] || false;
 }
 /**
@@ -442,21 +365,18 @@ function getErrorNotices(state) {
  * @return {string|boolean} The error text, or false if no error.
  */

-function selectors_getErrorNoticeForBlock(state, blockId) {
+function getErrorNoticeForBlock(state, blockId) {
   return state.errorNotices[blockId];
 }

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
-
-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/load-assets.js
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","notices"]
+var external_wp_notices_namespaceObject = window["wp"]["notices"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/load-assets.js
 /**
  * WordPress dependencies
  */
@@ -529,7 +449,7 @@ async function loadAssets() {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/utils/get-plugin-url.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/utils/get-plugin-url.js
 /**
  * Get the plugin's direct API link out of a block-directory response.
  *
@@ -551,7 +471,7 @@ function getPluginUrl(block) {
   return false;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/actions.js
 /**
  * WordPress dependencies
  */
@@ -605,7 +525,7 @@ function receiveDownloadableBlocks(downloadableBlocks, filterValue) {
  * @return {boolean} Whether the block was successfully installed & loaded.
  */

-const actions_installBlockType = block => async _ref => {
+const installBlockType = block => async _ref => {
   let {
     registry,
     dispatch
@@ -649,27 +569,27 @@ const actions_installBlockType = block => async _ref => {
       }
     });
     await loadAssets();
-    const registeredBlocks = registry.select(external_wp_blocks_["store"]).getBlockTypes();
+    const registeredBlocks = registry.select(external_wp_blocks_namespaceObject.store).getBlockTypes();

     if (!registeredBlocks.some(i => i.name === block.name)) {
-      throw new Error(Object(external_wp_i18n_["__"])('Error registering block. Try reloading the page.'));
+      throw new Error((0,external_wp_i18n_namespaceObject.__)('Error registering block. Try reloading the page.'));
     }

-    registry.dispatch(external_wp_notices_["store"]).createInfoNotice(Object(external_wp_i18n_["sprintf"])( // translators: %s is the block title.
-    Object(external_wp_i18n_["__"])('Block %s installed and added.'), block.title), {
+    registry.dispatch(external_wp_notices_namespaceObject.store).createInfoNotice((0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s is the block title.
+    (0,external_wp_i18n_namespaceObject.__)('Block %s installed and added.'), block.title), {
       speak: true,
       type: 'snackbar'
     });
     success = true;
   } catch (error) {
-    let message = error.message || Object(external_wp_i18n_["__"])('An error occurred.'); // Errors we throw are fatal
+    let message = error.message || (0,external_wp_i18n_namespaceObject.__)('An error occurred.'); // Errors we throw are fatal


     let isFatal = error instanceof Error; // Specific API errors that are fatal

     const fatalAPIErrors = {
-      folder_exists: Object(external_wp_i18n_["__"])('This block is already installed. Try reloading the page.'),
-      unable_to_connect_to_filesystem: Object(external_wp_i18n_["__"])('Error installing block. You can reload the page and try again.')
+      folder_exists: (0,external_wp_i18n_namespaceObject.__)('This block is already installed. Try reloading the page.'),
+      unable_to_connect_to_filesystem: (0,external_wp_i18n_namespaceObject.__)('Error installing block. You can reload the page and try again.')
     };

     if (fatalAPIErrors[error.code]) {
@@ -678,7 +598,7 @@ const actions_installBlockType = block => async _ref => {
     }

     dispatch.setErrorNotice(id, message, isFatal);
-    registry.dispatch(external_wp_notices_["store"]).createErrorNotice(message, {
+    registry.dispatch(external_wp_notices_namespaceObject.store).createErrorNotice(message, {
       speak: true,
       isDismissible: true
     });
@@ -693,7 +613,7 @@ const actions_installBlockType = block => async _ref => {
  * @param {Object} block The blockType object.
  */

-const actions_uninstallBlockType = block => async _ref2 => {
+const uninstallBlockType = block => async _ref2 => {
   let {
     registry,
     dispatch
@@ -714,7 +634,7 @@ const actions_uninstallBlockType = block => async _ref2 => {
     });
     dispatch.removeInstalledBlockType(block);
   } catch (error) {
-    registry.dispatch(external_wp_notices_["store"]).createErrorNotice(error.message || Object(external_wp_i18n_["__"])('An error occurred.'));
+    registry.dispatch(external_wp_notices_namespaceObject.store).createErrorNotice(error.message || (0,external_wp_i18n_namespaceObject.__)('An error occurred.'));
   }
 };
 /**
@@ -797,7 +717,7 @@ function clearErrorNotice(blockId) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/resolvers.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/resolvers.js
 /**
  * External dependencies
  */
@@ -826,12 +746,12 @@ const resolvers_getDownloadableBlocks = filterValue => async _ref => {
     const results = await external_wp_apiFetch_default()({
       path: `wp/v2/block-directory/search?term=${filterValue}`
     });
-    const blocks = results.map(result => Object(external_lodash_["mapKeys"])(result, (value, key) => Object(external_lodash_["camelCase"])(key)));
+    const blocks = results.map(result => (0,external_lodash_namespaceObject.mapKeys)(result, (value, key) => (0,external_lodash_namespaceObject.camelCase)(key)));
     dispatch(receiveDownloadableBlocks(blocks, filterValue));
   } catch {}
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/index.js
 /**
  * WordPress dependencies
  */
@@ -872,10 +792,10 @@ const storeConfig = {
  * @type {Object}
  */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, storeConfig);
-Object(external_wp_data_["register"])(store);
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, storeConfig);
+(0,external_wp_data_namespaceObject.register)(store);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/auto-block-uninstaller/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/auto-block-uninstaller/index.js
 /**
  * WordPress dependencies
  */
@@ -891,69 +811,134 @@ Object(external_wp_data_["register"])(store);
 function AutoBlockUninstaller() {
   const {
     uninstallBlockType
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const shouldRemoveBlockTypes = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const shouldRemoveBlockTypes = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       isAutosavingPost,
       isSavingPost
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     return isSavingPost() && !isAutosavingPost();
   }, []);
-  const unusedBlockTypes = Object(external_wp_data_["useSelect"])(select => select(store).getUnusedBlockTypes(), []);
-  Object(external_wp_element_["useEffect"])(() => {
+  const unusedBlockTypes = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getUnusedBlockTypes(), []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (shouldRemoveBlockTypes && unusedBlockTypes.length) {
       unusedBlockTypes.forEach(blockType => {
         uninstallBlockType(blockType);
-        Object(external_wp_blocks_["unregisterBlockType"])(blockType.name);
+        (0,external_wp_blocks_namespaceObject.unregisterBlockType)(blockType.name);
       });
     }
   }, [shouldRemoveBlockTypes]);
   return null;
 }

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: external ["wp","coreData"]
+var external_wp_coreData_namespaceObject = window["wp"]["coreData"];
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
+    return target;
+  };

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+  return _extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: external ["wp","htmlEntities"]
+var external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","htmlEntities"]
-var external_wp_htmlEntities_ = __webpack_require__("rmEH");
+/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
-var build_module_icon = __webpack_require__("iClF");
+/**
+ * Return an SVG icon.
+ *
+ * @param {IconProps} props icon is the SVG component to render
+ *                          size is a number specifiying the icon size in pixels
+ *                          Other props will be passed to wrapped SVG component
+ *
+ * @return {JSX.Element}  Icon component
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
-var star_filled = __webpack_require__("URob");
+function Icon(_ref) {
+  let {
+    icon,
+    size = 24,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+    width: size,
+    height: size,
+    ...props
+  });
+}

-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+/* harmony default export */ var icon = (Icon);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-half.js
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js


 /**
  * WordPress dependencies
  */

-const starHalf = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const starFilled = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var star_filled = (starFilled);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-half.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const starHalf = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
 }));
 /* harmony default export */ var star_half = (starHalf);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
-var star_empty = __webpack_require__("Xxwi");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/stars.js
+
+/**
+ * WordPress dependencies
+ */
+
+const starEmpty = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var star_empty = (starEmpty);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/stars.js


 /**
@@ -975,31 +960,31 @@ function Stars(_ref) {
   const fullStarCount = Math.floor(rating);
   const halfStarCount = Math.ceil(rating - fullStarCount);
   const emptyStarCount = 5 - (fullStarCount + halfStarCount);
-  return Object(external_wp_element_["createElement"])("span", {
-    "aria-label": Object(external_wp_i18n_["sprintf"])(
+  return (0,external_wp_element_namespaceObject.createElement)("span", {
+    "aria-label": (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: number of stars. */
-    Object(external_wp_i18n_["__"])('%s out of 5 stars'), stars)
-  }, Object(external_lodash_["times"])(fullStarCount, i => Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
+    (0,external_wp_i18n_namespaceObject.__)('%s out of 5 stars'), stars)
+  }, (0,external_lodash_namespaceObject.times)(fullStarCount, i => (0,external_wp_element_namespaceObject.createElement)(icon, {
     key: `full_stars_${i}`,
     className: "block-directory-block-ratings__star-full",
-    icon: star_filled["a" /* default */],
+    icon: star_filled,
     size: 16
-  })), Object(external_lodash_["times"])(halfStarCount, i => Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
+  })), (0,external_lodash_namespaceObject.times)(halfStarCount, i => (0,external_wp_element_namespaceObject.createElement)(icon, {
     key: `half_stars_${i}`,
     className: "block-directory-block-ratings__star-half-full",
     icon: star_half,
     size: 16
-  })), Object(external_lodash_["times"])(emptyStarCount, i => Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
+  })), (0,external_lodash_namespaceObject.times)(emptyStarCount, i => (0,external_wp_element_namespaceObject.createElement)(icon, {
     key: `empty_stars_${i}`,
     className: "block-directory-block-ratings__star-empty",
-    icon: star_empty["a" /* default */],
+    icon: star_empty,
     size: 16
   })));
 }

-/* harmony default export */ var block_ratings_stars = (Stars);
+/* harmony default export */ var stars = (Stars);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/index.js


 /**
@@ -1010,15 +995,15 @@ const BlockRatings = _ref => {
   let {
     rating
   } = _ref;
-  return Object(external_wp_element_["createElement"])("span", {
+  return (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "block-directory-block-ratings"
-  }, Object(external_wp_element_["createElement"])(block_ratings_stars, {
+  }, (0,external_wp_element_namespaceObject.createElement)(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
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-icon/index.js


 /**
@@ -1031,11 +1016,11 @@ function DownloadableBlockIcon(_ref) {
     icon
   } = _ref;
   const className = 'block-directory-downloadable-block-icon';
-  return icon.match(/\.(jpeg|jpg|gif|png|svg)(?:\?.*)?$/) !== null ? Object(external_wp_element_["createElement"])("img", {
+  return icon.match(/\.(jpeg|jpg|gif|png|svg)(?:\?.*)?$/) !== null ? (0,external_wp_element_namespaceObject.createElement)("img", {
     className: className,
     src: icon,
     alt: ""
-  }) : Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+  }) : (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
     className: className,
     icon: icon,
     showColors: true
@@ -1044,7 +1029,7 @@ function DownloadableBlockIcon(_ref) {

 /* harmony default export */ var downloadable_block_icon = (DownloadableBlockIcon);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-notice/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-notice/index.js


 /**
@@ -1061,21 +1046,21 @@ const DownloadableBlockNotice = _ref => {
   let {
     block
   } = _ref;
-  const errorNotice = Object(external_wp_data_["useSelect"])(select => select(store).getErrorNoticeForBlock(block.id), [block]);
+  const errorNotice = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getErrorNoticeForBlock(block.id), [block]);

   if (!errorNotice) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-directory-downloadable-block-notice"
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-directory-downloadable-block-notice__content"
-  }, errorNotice.message, errorNotice.isFatal ? ' ' + Object(external_wp_i18n_["__"])('Try reloading the page.') : null));
+  }, errorNotice.message, errorNotice.isFatal ? ' ' + (0,external_wp_i18n_namespaceObject.__)('Try reloading the page.') : null));
 };
 /* harmony default export */ var downloadable_block_notice = (DownloadableBlockNotice);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-list-item/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-block-list-item/index.js



@@ -1112,28 +1097,28 @@ function getDownloadableBlockLabel(_ref, _ref2) {

   if (!isInstalled && hasNotice) {
     /* translators: %1$s: block title */
-    return Object(external_wp_i18n_["sprintf"])('Retry installing %s.', Object(external_wp_htmlEntities_["decodeEntities"])(title));
+    return (0,external_wp_i18n_namespaceObject.sprintf)('Retry installing %s.', (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(title));
   }

   if (isInstalled) {
     /* translators: %1$s: block title */
-    return Object(external_wp_i18n_["sprintf"])('Add %s.', Object(external_wp_htmlEntities_["decodeEntities"])(title));
+    return (0,external_wp_i18n_namespaceObject.sprintf)('Add %s.', (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(title));
   }

   if (isInstalling) {
     /* translators: %1$s: block title */
-    return Object(external_wp_i18n_["sprintf"])('Installing %s.', Object(external_wp_htmlEntities_["decodeEntities"])(title));
+    return (0,external_wp_i18n_namespaceObject.sprintf)('Installing %s.', (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(title));
   } // No ratings yet, just use the title.


   if (ratingCount < 1) {
     /* translators: %1$s: block title */
-    return Object(external_wp_i18n_["sprintf"])('Install %s.', Object(external_wp_htmlEntities_["decodeEntities"])(title));
+    return (0,external_wp_i18n_namespaceObject.sprintf)('Install %s.', (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(title));
   }

-  return Object(external_wp_i18n_["sprintf"])(
+  return (0,external_wp_i18n_namespaceObject.sprintf)(
   /* translators: %1$s: block title, %2$s: average rating, %3$s: total ratings count. */
-  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);
+  (0,external_wp_i18n_namespaceObject._n)('Install %1$s. %2$s stars with %3$s review.', 'Install %1$s. %2$s stars with %3$s reviews.', ratingCount), (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(title), stars, ratingCount);
 }

 function DownloadableBlockListItem(_ref3) {
@@ -1150,12 +1135,12 @@ function DownloadableBlockListItem(_ref3) {
     title
   } = item; // getBlockType returns a block object if this block exists, or null if not.

-  const isInstalled = !!Object(external_wp_blocks_["getBlockType"])(item.name);
+  const isInstalled = !!(0,external_wp_blocks_namespaceObject.getBlockType)(item.name);
   const {
     hasNotice,
     isInstalling,
     isInstallable
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getErrorNoticeForBlock,
       isInstalling: isBlockInstalling
@@ -1171,14 +1156,14 @@ function DownloadableBlockListItem(_ref3) {
   let statusText = '';

   if (isInstalled) {
-    statusText = Object(external_wp_i18n_["__"])('Installed!');
+    statusText = (0,external_wp_i18n_namespaceObject.__)('Installed!');
   } else if (isInstalling) {
-    statusText = Object(external_wp_i18n_["__"])('Installing…');
+    statusText = (0,external_wp_i18n_namespaceObject.__)('Installing…');
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["__unstableCompositeItem"], Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableCompositeItem, _extends({
     role: "option",
-    as: external_wp_components_["Button"]
+    as: external_wp_components_namespaceObject.Button
   }, composite, {
     className: "block-directory-downloadable-block-list-item",
     onClick: event => {
@@ -1194,35 +1179,35 @@ function DownloadableBlockListItem(_ref3) {
     }),
     showTooltip: true,
     tooltipPosition: "top center"
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-directory-downloadable-block-list-item__icon"
-  }, Object(external_wp_element_["createElement"])(downloadable_block_icon, {
+  }, (0,external_wp_element_namespaceObject.createElement)(downloadable_block_icon, {
     icon: icon,
     title: title
-  }), isInstalling ? Object(external_wp_element_["createElement"])("span", {
+  }), isInstalling ? (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "block-directory-downloadable-block-list-item__spinner"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)) : Object(external_wp_element_["createElement"])(block_ratings, {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null)) : (0,external_wp_element_namespaceObject.createElement)(block_ratings, {
     rating: rating
-  })), Object(external_wp_element_["createElement"])("span", {
+  })), (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "block-directory-downloadable-block-list-item__details"
-  }, Object(external_wp_element_["createElement"])("span", {
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "block-directory-downloadable-block-list-item__title"
-  }, Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["sprintf"])(
+  }, (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.sprintf)(
   /* translators: %1$s: block title, %2$s: author name. */
-  Object(external_wp_i18n_["__"])('%1$s <span>by %2$s</span>'), Object(external_wp_htmlEntities_["decodeEntities"])(title), author), {
-    span: Object(external_wp_element_["createElement"])("span", {
+  (0,external_wp_i18n_namespaceObject.__)('%1$s <span>by %2$s</span>'), (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(title), author), {
+    span: (0,external_wp_element_namespaceObject.createElement)("span", {
       className: "block-directory-downloadable-block-list-item__author"
     })
-  })), hasNotice ? Object(external_wp_element_["createElement"])(downloadable_block_notice, {
+  })), hasNotice ? (0,external_wp_element_namespaceObject.createElement)(downloadable_block_notice, {
     block: item
-  }) : Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("span", {
+  }) : (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "block-directory-downloadable-block-list-item__desc"
-  }, !!statusText ? statusText : Object(external_wp_htmlEntities_["decodeEntities"])(description)), isInstallable && !(isInstalled || isInstalling) && Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], null, Object(external_wp_i18n_["__"])('Install block')))));
+  }, !!statusText ? statusText : (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(description)), isInstallable && !(isInstalled || isInstalling) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, null, (0,external_wp_i18n_namespaceObject.__)('Install block')))));
 }

 /* harmony default export */ var downloadable_block_list_item = (DownloadableBlockListItem);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-list/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-list/index.js



@@ -1248,31 +1233,31 @@ function DownloadableBlockListItem(_ref3) {
 function DownloadableBlocksList(_ref) {
   let {
     items,
-    onHover = external_lodash_["noop"],
+    onHover = external_lodash_namespaceObject.noop,
     onSelect
   } = _ref;
-  const composite = Object(external_wp_components_["__unstableUseCompositeState"])();
+  const composite = (0,external_wp_components_namespaceObject.__unstableUseCompositeState)();
   const {
     installBlockType
-  } = Object(external_wp_data_["useDispatch"])(store);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

   if (!items.length) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["__unstableComposite"], Object(esm_extends["a" /* default */])({}, composite, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableComposite, _extends({}, composite, {
     role: "listbox",
     className: "block-directory-downloadable-blocks-list",
-    "aria-label": Object(external_wp_i18n_["__"])('Blocks available for install')
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Blocks available for install')
   }), items.map(item => {
-    return Object(external_wp_element_["createElement"])(downloadable_block_list_item, {
+    return (0,external_wp_element_namespaceObject.createElement)(downloadable_block_list_item, {
       key: item.id,
       composite: composite,
       onClick: () => {
         // Check if the block is registered (`getBlockType`
         // will return an object). If so, insert the block.
         // This prevents installing existing plugins.
-        if (Object(external_wp_blocks_["getBlockType"])(item.name)) {
+        if ((0,external_wp_blocks_namespaceObject.getBlockType)(item.name)) {
           onSelect(item);
         } else {
           installBlockType(item).then(success => {
@@ -1292,10 +1277,9 @@ function DownloadableBlocksList(_ref) {

 /* harmony default export */ var downloadable_blocks_list = (DownloadableBlocksList);

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/inserter-panel.js
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/inserter-panel.js


 /**
@@ -1312,32 +1296,44 @@ function DownloadableBlocksInserterPanel(_ref) {
     hasLocalBlocks
   } = _ref;
   const count = downloadableItems.length;
-  Object(external_wp_element_["useEffect"])(() => {
-    Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["sprintf"])(
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %d: number of available blocks. */
-    Object(external_wp_i18n_["_n"])('%d additional block is available to install.', '%d additional blocks are available to install.', count), count));
+    (0,external_wp_i18n_namespaceObject._n)('%d additional block is available to install.', '%d additional blocks are available to install.', count), count));
   }, [count]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, !hasLocalBlocks && Object(external_wp_element_["createElement"])("p", {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, !hasLocalBlocks && (0,external_wp_element_namespaceObject.createElement)("p", {
     className: "block-directory-downloadable-blocks-panel__no-local"
-  }, Object(external_wp_i18n_["__"])('No results available from your installed blocks.')), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_i18n_namespaceObject.__)('No results available from your installed blocks.')), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-editor-inserter__quick-inserter-separator"
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-directory-downloadable-blocks-panel"
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-directory-downloadable-blocks-panel__header"
-  }, Object(external_wp_element_["createElement"])("h2", {
+  }, (0,external_wp_element_namespaceObject.createElement)("h2", {
     className: "block-directory-downloadable-blocks-panel__title"
-  }, Object(external_wp_i18n_["__"])('Available to install')), Object(external_wp_element_["createElement"])("p", {
+  }, (0,external_wp_i18n_namespaceObject.__)('Available to install')), (0,external_wp_element_namespaceObject.createElement)("p", {
     className: "block-directory-downloadable-blocks-panel__description"
-  }, Object(external_wp_i18n_["__"])('Select a block to install and add it to your post.'))), children));
+  }, (0,external_wp_i18n_namespaceObject.__)('Select a block to install and add it to your post.'))), children));
 }

 /* harmony default export */ var inserter_panel = (DownloadableBlocksInserterPanel);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
-var block_default = __webpack_require__("//Lo");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const blockDefault = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var block_default = (blockDefault);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/no-results.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/no-results.js


 /**
@@ -1347,17 +1343,17 @@ var block_default = __webpack_require__("//Lo");


 function DownloadableBlocksNoResults() {
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-editor-inserter__no-results"
-  }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
+  }, (0,external_wp_element_namespaceObject.createElement)(icon, {
     className: "block-editor-inserter__no-results-icon",
-    icon: block_default["a" /* default */]
-  }), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('No results found.')));
+    icon: block_default
+  }), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('No results found.')));
 }

 /* harmony default export */ var no_results = (DownloadableBlocksNoResults);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/downloadable-blocks-panel/index.js


 /**
@@ -1390,34 +1386,34 @@ function DownloadableBlocksPanel(_ref) {
   } = _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", {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, hasPermission && !hasLocalBlocks && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("p", {
       className: "block-directory-downloadable-blocks-panel__no-local"
-    }, Object(external_wp_i18n_["__"])('No results available from your installed blocks.')), Object(external_wp_element_["createElement"])("div", {
+    }, (0,external_wp_i18n_namespaceObject.__)('No results available from your installed blocks.')), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "block-editor-inserter__quick-inserter-separator"
-    })), Object(external_wp_element_["createElement"])("div", {
+    })), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "block-directory-downloadable-blocks-panel has-blocks-loading"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null)));
   }

   if (false === hasPermission) {
     if (!hasLocalBlocks) {
-      return Object(external_wp_element_["createElement"])(no_results, null);
+      return (0,external_wp_element_namespaceObject.createElement)(no_results, null);
     }

     return null;
   }

-  return !!downloadableItems.length ? Object(external_wp_element_["createElement"])(inserter_panel, {
+  return !!downloadableItems.length ? (0,external_wp_element_namespaceObject.createElement)(inserter_panel, {
     downloadableItems: downloadableItems,
     hasLocalBlocks: hasLocalBlocks
-  }, Object(external_wp_element_["createElement"])(downloadable_blocks_list, {
+  }, (0,external_wp_element_namespaceObject.createElement)(downloadable_blocks_list, {
     items: downloadableItems,
     onSelect: onSelect,
     onHover: onHover
-  })) : !hasLocalBlocks && Object(external_wp_element_["createElement"])(no_results, null);
+  })) : !hasLocalBlocks && (0,external_wp_element_namespaceObject.createElement)(no_results, null);
 }

-/* harmony default export */ var downloadable_blocks_panel = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, _ref2) => {
+/* harmony default export */ var downloadable_blocks_panel = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)((select, _ref2) => {
   let {
     filterValue,
     rootClientId = null
@@ -1428,8 +1424,8 @@ function DownloadableBlocksPanel(_ref) {
   } = select(store);
   const {
     canInsertBlockType
-  } = select(external_wp_blockEditor_["store"]);
-  const hasPermission = select(external_wp_coreData_["store"]).canUser('read', 'block-directory/search');
+  } = select(external_wp_blockEditor_namespaceObject.store);
+  const hasPermission = select(external_wp_coreData_namespaceObject.store).canUser('read', 'block-directory/search');

   function getInstallableBlocks(term) {
     return getDownloadableBlocks(term).filter(block => canInsertBlockType(block, rootClientId, true));
@@ -1444,7 +1440,7 @@ function DownloadableBlocksPanel(_ref) {
   };
 })])(DownloadableBlocksPanel));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/inserter-menu-downloadable-blocks-panel/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/inserter-menu-downloadable-blocks-panel/index.js


 /**
@@ -1464,9 +1460,9 @@ function DownloadableBlocksPanel(_ref) {


 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, _ref => {
+  const [debouncedFilterValue, setFilterValue] = (0,external_wp_element_namespaceObject.useState)('');
+  const debouncedSetFilterValue = (0,external_lodash_namespaceObject.debounce)(setFilterValue, 400);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableInserterMenuExtension, null, _ref => {
     let {
       onSelect,
       onHover,
@@ -1483,7 +1479,7 @@ function InserterMenuDownloadableBlocksPanel() {
       return null;
     }

-    return Object(external_wp_element_["createElement"])(downloadable_blocks_panel, {
+    return (0,external_wp_element_namespaceObject.createElement)(downloadable_blocks_panel, {
       onSelect: onSelect,
       onHover: onHover,
       rootClientId: rootClientId,
@@ -1496,10 +1492,9 @@ function InserterMenuDownloadableBlocksPanel() {

 /* harmony default export */ var inserter_menu_downloadable_blocks_panel = (InserterMenuDownloadableBlocksPanel);

-// EXTERNAL MODULE: external ["wp","editPost"]
-var external_wp_editPost_ = __webpack_require__("BLhE");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/compact-list/index.js
+;// CONCATENATED MODULE: external ["wp","editPost"]
+var external_wp_editPost_namespaceObject = window["wp"]["editPost"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/compact-list/index.js


 /**
@@ -1520,7 +1515,7 @@ function CompactList(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])("ul", {
+  return (0,external_wp_element_namespaceObject.createElement)("ul", {
     className: "block-directory-compact-list"
   }, items.map(_ref2 => {
     let {
@@ -1529,25 +1524,25 @@ function CompactList(_ref) {
       title,
       author
     } = _ref2;
-    return Object(external_wp_element_["createElement"])("li", {
+    return (0,external_wp_element_namespaceObject.createElement)("li", {
       key: id,
       className: "block-directory-compact-list__item"
-    }, Object(external_wp_element_["createElement"])(downloadable_block_icon, {
+    }, (0,external_wp_element_namespaceObject.createElement)(downloadable_block_icon, {
       icon: icon,
       title: title
-    }), Object(external_wp_element_["createElement"])("div", {
+    }), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "block-directory-compact-list__item-details"
-    }, Object(external_wp_element_["createElement"])("div", {
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "block-directory-compact-list__item-title"
-    }, title), Object(external_wp_element_["createElement"])("div", {
+    }, title), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "block-directory-compact-list__item-author"
-    }, Object(external_wp_i18n_["sprintf"])(
+    }, (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: Name of the block author. */
-    Object(external_wp_i18n_["__"])('By %s'), author))));
+    (0,external_wp_i18n_namespaceObject.__)('By %s'), author))));
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/installed-blocks-pre-publish-panel/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/installed-blocks-pre-publish-panel/index.js


 /**
@@ -1564,25 +1559,25 @@ function CompactList(_ref) {


 function InstalledBlocksPrePublishPanel() {
-  const newBlockTypes = Object(external_wp_data_["useSelect"])(select => select(store).getNewBlockTypes(), []);
+  const newBlockTypes = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getNewBlockTypes(), []);

   if (!newBlockTypes.length) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_editPost_["PluginPrePublishPanel"], {
-    icon: block_default["a" /* default */],
-    title: Object(external_wp_i18n_["sprintf"])( // translators: %d: number of blocks (number).
-    Object(external_wp_i18n_["_n"])('Added: %d block', 'Added: %d blocks', newBlockTypes.length), newBlockTypes.length),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editPost_namespaceObject.PluginPrePublishPanel, {
+    icon: block_default,
+    title: (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %d: number of blocks (number).
+    (0,external_wp_i18n_namespaceObject._n)('Added: %d block', 'Added: %d blocks', newBlockTypes.length), newBlockTypes.length),
     initialOpen: true
-  }, Object(external_wp_element_["createElement"])("p", {
+  }, (0,external_wp_element_namespaceObject.createElement)("p", {
     className: "installed-blocks-pre-publish-panel__copy"
-  }, Object(external_wp_i18n_["_n"])('The following block has been added to your site.', 'The following blocks have been added to your site.', newBlockTypes.length)), Object(external_wp_element_["createElement"])(CompactList, {
+  }, (0,external_wp_i18n_namespaceObject._n)('The following block has been added to your site.', 'The following blocks have been added to your site.', newBlockTypes.length)), (0,external_wp_element_namespaceObject.createElement)(CompactList, {
     items: newBlockTypes
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/get-install-missing/install-button.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/get-install-missing/install-button.js


 /**
@@ -1604,33 +1599,33 @@ function InstallButton(_ref) {
     block,
     clientId
   } = _ref;
-  const isInstallingBlock = Object(external_wp_data_["useSelect"])(select => select(store).isInstalling(block.id), [block.id]);
+  const isInstallingBlock = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isInstalling(block.id), [block.id]);
   const {
     installBlockType
-  } = Object(external_wp_data_["useDispatch"])(store);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
   const {
     replaceBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     onClick: () => installBlockType(block).then(success => {
       if (success) {
-        const blockType = Object(external_wp_blocks_["getBlockType"])(block.name);
-        const [originalBlock] = Object(external_wp_blocks_["parse"])(attributes.originalContent);
+        const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(block.name);
+        const [originalBlock] = (0,external_wp_blocks_namespaceObject.parse)(attributes.originalContent);

         if (originalBlock && blockType) {
-          replaceBlock(clientId, Object(external_wp_blocks_["createBlock"])(blockType.name, originalBlock.attributes, originalBlock.innerBlocks));
+          replaceBlock(clientId, (0,external_wp_blocks_namespaceObject.createBlock)(blockType.name, originalBlock.attributes, originalBlock.innerBlocks));
         }
       }
     }),
     disabled: isInstallingBlock,
     isBusy: isInstallingBlock,
     variant: "primary"
-  }, Object(external_wp_i18n_["sprintf"])(
+  }, (0,external_wp_i18n_namespaceObject.sprintf)(
   /* translators: %s: block name */
-  Object(external_wp_i18n_["__"])('Install %s'), block.title));
+  (0,external_wp_i18n_namespaceObject.__)('Install %s'), block.title));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/get-install-missing/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/get-install-missing/index.js



@@ -1660,7 +1655,7 @@ const getInstallMissing = OriginalComponent => props => {
   const {
     block,
     hasPermission
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getDownloadableBlocks
     } = select(store);
@@ -1671,16 +1666,16 @@ const getInstallMissing = OriginalComponent => props => {
       return originalName === name;
     });
     return {
-      hasPermission: select(external_wp_coreData_["store"]).canUser('read', 'block-directory/search'),
+      hasPermission: select(external_wp_coreData_namespaceObject.store).canUser('read', 'block-directory/search'),
       block: blocks.length && blocks[0]
     };
   }, [originalName]); // The user can't install blocks, or the block isn't available for download.

   if (!hasPermission || !block) {
-    return Object(external_wp_element_["createElement"])(OriginalComponent, props);
+    return (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, props);
   }

-  return Object(external_wp_element_["createElement"])(ModifiedWarning, Object(esm_extends["a" /* default */])({}, props, {
+  return (0,external_wp_element_namespaceObject.createElement)(ModifiedWarning, _extends({}, props, {
     originalBlock: block
   }));
 };
@@ -1696,20 +1691,20 @@ const ModifiedWarning = _ref2 => {
   } = props.attributes;
   const {
     replaceBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);

   const convertToHTML = () => {
-    replaceBlock(props.clientId, Object(external_wp_blocks_["createBlock"])('core/html', {
+    replaceBlock(props.clientId, (0,external_wp_blocks_namespaceObject.createBlock)('core/html', {
       content: originalUndelimitedContent
     }));
   };

   const hasContent = !!originalUndelimitedContent;
-  const hasHTMLBlock = Object(external_wp_blocks_["getBlockType"])('core/html');
-  let messageHTML = Object(external_wp_i18n_["sprintf"])(
+  const hasHTMLBlock = (0,external_wp_blocks_namespaceObject.getBlockType)('core/html');
+  let messageHTML = (0,external_wp_i18n_namespaceObject.sprintf)(
   /* translators: %s: block name */
-  Object(external_wp_i18n_["__"])('Your site doesn’t include support for the %s block. You can try installing the block or remove it entirely.'), originalBlock.title || originalName);
-  const actions = [Object(external_wp_element_["createElement"])(InstallButton, {
+  (0,external_wp_i18n_namespaceObject.__)('Your site doesn’t include support for the %s block. You can try installing the block or remove it entirely.'), originalBlock.title || originalName);
+  const actions = [(0,external_wp_element_namespaceObject.createElement)(InstallButton, {
     key: "install",
     block: originalBlock,
     attributes: props.attributes,
@@ -1717,24 +1712,24 @@ const ModifiedWarning = _ref2 => {
   })];

   if (hasContent && hasHTMLBlock) {
-    messageHTML = Object(external_wp_i18n_["sprintf"])(
+    messageHTML = (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: block name */
-    Object(external_wp_i18n_["__"])('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.'), originalBlock.title || originalName);
-    actions.push(Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    (0,external_wp_i18n_namespaceObject.__)('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.'), originalBlock.title || originalName);
+    actions.push((0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       key: "convert",
       onClick: convertToHTML,
       variant: "link"
-    }, Object(external_wp_i18n_["__"])('Keep as HTML')));
+    }, (0,external_wp_i18n_namespaceObject.__)('Keep as HTML')));
   }

-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], {
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, {
     actions: actions
-  }, messageHTML), Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, originalUndelimitedContent));
+  }, messageHTML), (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, originalUndelimitedContent));
 };

 /* harmony default export */ var get_install_missing = (getInstallMissing);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/plugins/index.js


 /**
@@ -1750,13 +1745,13 @@ const ModifiedWarning = _ref2 => {



-Object(external_wp_plugins_["registerPlugin"])('block-directory', {
+(0,external_wp_plugins_namespaceObject.registerPlugin)('block-directory', {
   render() {
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(AutoBlockUninstaller, null), Object(external_wp_element_["createElement"])(inserter_menu_downloadable_blocks_panel, null), Object(external_wp_element_["createElement"])(InstalledBlocksPrePublishPanel, null));
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(AutoBlockUninstaller, null), (0,external_wp_element_namespaceObject.createElement)(inserter_menu_downloadable_blocks_panel, null), (0,external_wp_element_namespaceObject.createElement)(InstalledBlocksPrePublishPanel, null));
   }

 });
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'block-directory/fallback', (settings, name) => {
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'block-directory/fallback', (settings, name) => {
   if (name !== 'core/missing') {
     return settings;
   }
@@ -1765,250 +1760,13 @@ Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'block-direc
   return settings;
 });

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/index.js
 /**
  * Internal dependencies
  */



-
-/***/ }),
-
-/***/ "BLhE":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["editPost"]; }());
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "HSyU":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blocks"]; }());
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "Tqx9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["primitives"]; }());
-
-/***/ }),
-
-/***/ "TvNi":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["plugins"]; }());
-
-/***/ }),
-
-/***/ "URob":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starFilled);
-
-
-/***/ }),
-
-/***/ "Xxwi":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starEmpty);
-
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "axFQ":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blockEditor"]; }());
-
-/***/ }),
-
-/***/ "g56x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["hooks"]; }());
-
-/***/ }),
-
-/***/ "gdqT":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["a11y"]; }());
-
-/***/ }),
-
-/***/ "iClF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * WordPress dependencies
- */
-
-/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
-
-/**
- * Return an SVG icon.
- *
- * @param {IconProps} props icon is the SVG component to render
- *                          size is a number specifiying the icon size in pixels
- *                          Other props will be passed to wrapped SVG component
- *
- * @return {JSX.Element}  Icon component
- */
-
-function Icon(_ref) {
-  let {
-    icon,
-    size = 24,
-    ...props
-  } = _ref;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
-    width: size,
-    height: size,
-    ...props
-  });
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (Icon);
-
-
-/***/ }),
-
-/***/ "jSdM":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["editor"]; }());
-
-/***/ }),
-
-/***/ "jZUy":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["coreData"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "onLe":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["notices"]; }());
-
-/***/ }),
-
-/***/ "rmEH":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["htmlEntities"]; }());
-
-/***/ }),
-
-/***/ "tI+e":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["components"]; }());
-
-/***/ }),
-
-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
-
-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
-
-    return target;
-  };
-
-  return _extends.apply(this, arguments);
-}
-
-/***/ }),
-
-/***/ "ywyh":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["apiFetch"]; }());
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).blockDirectory = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/block-directory.min.js b/wp-includes/js/dist/block-directory.min.js
index fe1b242271..573651ad2f 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 g})),n.d(l,"getUnusedBlockTypes",(function(){return _})),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:function(){let e=arguments.length>0&&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;n<t.length;n++)if(O(e,t[n].innerBlocks))return!0;return!1}function k(e,t){var n,l;return null!==(n=null===(l=e.downloadableBlocks[t])||void 0===l?void 0:l.isRequesting)&&void 0!==n&&n}function j(e,t){var n,l;return null!==(n=null===(l=e.downloadableBlocks[t])||void 0===l?void 0:l.results)&&void 0!==n?n:[]}function f(e){return e.blockManagement.installedBlockTypes}const g=Object(d.createRegistrySelector)(e=>t=>{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 <span>by %2$s</span>"),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<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return l}))},ywyh:function(e,t){e.exports=window.wp.apiFetch}});
\ No newline at end of file
+!function(){"use strict";var e={n:function(t){var l=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(l,{a:l}),l},d:function(t,l){for(var n in l)e.o(l,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:l[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{store:function(){return x}});var l={};e.r(l),e.d(l,{getDownloadableBlocks:function(){return g},getErrorNoticeForBlock:function(){return h},getErrorNotices:function(){return y},getInstalledBlockTypes:function(){return _},getNewBlockTypes:function(){return w},getUnusedBlockTypes:function(){return E},isInstalling:function(){return f},isRequestingDownloadableBlocks:function(){return b}});var n={};e.r(n),e.d(n,{addInstalledBlockType:function(){return P},clearErrorNotice:function(){return F},fetchDownloadableBlocks:function(){return S},installBlockType:function(){return O},receiveDownloadableBlocks:function(){return C},removeInstalledBlockType:function(){return R},setErrorNotice:function(){return M},setIsInstalling:function(){return A},uninstallBlockType:function(){return D}});var o={};e.r(o),e.d(o,{getDownloadableBlocks:function(){return V}});var r=window.wp.element,a=window.wp.plugins,i=window.wp.hooks,s=window.wp.blocks,c=window.wp.data,d=window.wp.editor,u=window.lodash;var m=(0,c.combineReducers)({downloadableBlocks:function(){let e=arguments.length>0&&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(0,u.omit)(e,t.blockId)}return e}}),p=window.wp.blockEditor;function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!t.length)return!1;if(t.some((t=>{let{name:l}=t;return l===e.name})))return!0;for(let l=0;l<t.length;l++)if(k(e,t[l].innerBlocks))return!0;return!1}function b(e,t){var l,n;return null!==(l=null===(n=e.downloadableBlocks[t])||void 0===n?void 0:n.isRequesting)&&void 0!==l&&l}function g(e,t){var l,n;return null!==(l=null===(n=e.downloadableBlocks[t])||void 0===n?void 0:n.results)&&void 0!==l?l:[]}function _(e){return e.blockManagement.installedBlockTypes}const w=(0,c.createRegistrySelector)((e=>t=>{const l=e(p.store).getBlocks();return _(t).filter((e=>k(e,l)))})),E=(0,c.createRegistrySelector)((e=>t=>{const l=e(p.store).getBlocks();return _(t).filter((e=>!k(e,l)))}));function f(e,t){return e.blockManagement.isInstalling[t]||!1}function y(e){return e.errorNotices}function h(e,t){return e.errorNotices[t]}var v=window.wp.i18n,B=window.wp.apiFetch,N=e.n(B),I=window.wp.notices;const T=e=>new Promise(((t,l)=>{const n=document.createElement(e.nodeName);["id","rel","src","href","type"].forEach((t=>{e[t]&&(n[t]=e[t])})),e.innerHTML&&n.appendChild(document.createTextNode(e.innerHTML)),n.onload=()=>t(!0),n.onerror=()=>l(new Error("Error loading asset.")),document.body.appendChild(n),("link"===n.nodeName.toLowerCase()||"script"===n.nodeName.toLowerCase()&&!n.src)&&t()}));function L(e){if(!e)return!1;const t=e.links["wp:plugin"]||e.links.self;return!(!t||!t.length)&&t[0].href}function S(e){return{type:"FETCH_DOWNLOADABLE_BLOCKS",filterValue:e}}function C(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}const O=e=>async t=>{let{registry:l,dispatch:n}=t;const{id:o}=e;let r=!1;n.clearErrorNotice(o);try{n.setIsInstalling(o,!0);const t=L(e);let a={};if(t)await N()({method:"PUT",url:t,data:{status:"active"}});else{a=(await N()({method:"POST",path:"wp/v2/plugins",data:{slug:o,status:"active"}}))._links}n.addInstalledBlockType({...e,links:{...e.links,...a}}),await async function(){const e=await N()({url:document.location.href,parse:!1}),t=await e.text(),l=(new window.DOMParser).parseFromString(t,"text/html"),n=Array.from(l.querySelectorAll('link[rel="stylesheet"],script')).filter((e=>e.id&&!document.getElementById(e.id)));for(const e of n)await T(e)}();if(!l.select(s.store).getBlockTypes().some((t=>t.name===e.name)))throw new Error((0,v.__)("Error registering block. Try reloading the page."));l.dispatch(I.store).createInfoNotice((0,v.sprintf)((0,v.__)("Block %s installed and added."),e.title),{speak:!0,type:"snackbar"}),r=!0}catch(e){let t=e.message||(0,v.__)("An error occurred."),r=e instanceof Error;const a={folder_exists:(0,v.__)("This block is already installed. Try reloading the page."),unable_to_connect_to_filesystem:(0,v.__)("Error installing block. You can reload the page and try again.")};a[e.code]&&(r=!0,t=a[e.code]),n.setErrorNotice(o,t,r),l.dispatch(I.store).createErrorNotice(t,{speak:!0,isDismissible:!0})}return n.setIsInstalling(o,!1),r},D=e=>async t=>{let{registry:l,dispatch:n}=t;try{const t=L(e);await N()({method:"PUT",url:t,data:{status:"inactive"}}),await N()({method:"DELETE",url:t}),n.removeInstalledBlockType(e)}catch(e){l.dispatch(I.store).createErrorNotice(e.message||(0,v.__)("An error occurred."))}};function P(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function R(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}function A(e,t){return{type:"SET_INSTALLING_BLOCK",blockId:e,isInstalling:t}}function M(e,t){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:"SET_ERROR_NOTICE",blockId:e,message:t,isFatal:l}}function F(e){return{type:"CLEAR_ERROR_NOTICE",blockId:e}}const V=e=>async t=>{let{dispatch:l}=t;if(e)try{l(S(e));const t=await N()({path:`wp/v2/block-directory/search?term=${e}`});l(C(t.map((e=>(0,u.mapKeys)(e,((e,t)=>(0,u.camelCase)(t))))),e))}catch{}},H={reducer:m,selectors:l,actions:n,resolvers:o,__experimentalUseThunks:!0},x=(0,c.createReduxStore)("core/block-directory",H);function $(){const{uninstallBlockType:e}=(0,c.useDispatch)(x),t=(0,c.useSelect)((e=>{const{isAutosavingPost:t,isSavingPost:l}=e(d.store);return l()&&!t()}),[]),l=(0,c.useSelect)((e=>e(x).getUnusedBlockTypes()),[]);return(0,r.useEffect)((()=>{t&&l.length&&l.forEach((t=>{e(t),(0,s.unregisterBlockType)(t.name)}))}),[t]),null}(0,c.register)(x);var K=window.wp.components,z=window.wp.compose,U=window.wp.coreData;function Y(){return Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},Y.apply(this,arguments)}var j=window.wp.htmlEntities;var q=function(e){let{icon:t,size:l=24,...n}=e;return(0,r.cloneElement)(t,{width:l,height:l,...n})},G=window.wp.primitives;var W=(0,r.createElement)(G.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(G.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"}));var J=(0,r.createElement)(G.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(G.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"}));var Q=(0,r.createElement)(G.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(G.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"}));var X=function(e){let{rating:t}=e;const l=.5*Math.round(t/.5),n=Math.floor(t),o=Math.ceil(t-n),a=5-(n+o);return(0,r.createElement)("span",{"aria-label":(0,v.sprintf)((0,v.__)("%s out of 5 stars"),l)},(0,u.times)(n,(e=>(0,r.createElement)(q,{key:`full_stars_${e}`,className:"block-directory-block-ratings__star-full",icon:W,size:16}))),(0,u.times)(o,(e=>(0,r.createElement)(q,{key:`half_stars_${e}`,className:"block-directory-block-ratings__star-half-full",icon:J,size:16}))),(0,u.times)(a,(e=>(0,r.createElement)(q,{key:`empty_stars_${e}`,className:"block-directory-block-ratings__star-empty",icon:Q,size:16}))))};var Z=e=>{let{rating:t}=e;return(0,r.createElement)("span",{className:"block-directory-block-ratings"},(0,r.createElement)(X,{rating:t}))};var ee=function(e){let{icon:t}=e;const l="block-directory-downloadable-block-icon";return null!==t.match(/\.(jpeg|jpg|gif|png|svg)(?:\?.*)?$/)?(0,r.createElement)("img",{className:l,src:t,alt:""}):(0,r.createElement)(p.BlockIcon,{className:l,icon:t,showColors:!0})};var te=e=>{let{block:t}=e;const l=(0,c.useSelect)((e=>e(x).getErrorNoticeForBlock(t.id)),[t]);return l?(0,r.createElement)("div",{className:"block-directory-downloadable-block-notice"},(0,r.createElement)("div",{className:"block-directory-downloadable-block-notice__content"},l.message,l.isFatal?" "+(0,v.__)("Try reloading the page."):null)):null};function le(e,t){let{title:l,rating:n,ratingCount:o}=e,{hasNotice:r,isInstalled:a,isInstalling:i}=t;const s=.5*Math.round(n/.5);return!a&&r?(0,v.sprintf)("Retry installing %s.",(0,j.decodeEntities)(l)):a?(0,v.sprintf)("Add %s.",(0,j.decodeEntities)(l)):i?(0,v.sprintf)("Installing %s.",(0,j.decodeEntities)(l)):o<1?(0,v.sprintf)("Install %s.",(0,j.decodeEntities)(l)):(0,v.sprintf)((0,v._n)("Install %1$s. %2$s stars with %3$s review.","Install %1$s. %2$s stars with %3$s reviews.",o),(0,j.decodeEntities)(l),s,o)}var ne=function(e){let{composite:t,item:l,onClick:n}=e;const{author:o,description:a,icon:i,rating:d,title:u}=l,m=!!(0,s.getBlockType)(l.name),{hasNotice:p,isInstalling:k,isInstallable:b}=(0,c.useSelect)((e=>{const{getErrorNoticeForBlock:t,isInstalling:n}=e(x),o=t(l.id),r=o&&o.isFatal;return{hasNotice:!!o,isInstalling:n(l.id),isInstallable:!r}}),[l]);let g="";return m?g=(0,v.__)("Installed!"):k&&(g=(0,v.__)("Installing…")),(0,r.createElement)(K.__unstableCompositeItem,Y({role:"option",as:K.Button},t,{className:"block-directory-downloadable-block-list-item",onClick:e=>{e.preventDefault(),n()},isBusy:k,disabled:k||!b,label:le(l,{hasNotice:p,isInstalled:m,isInstalling:k}),showTooltip:!0,tooltipPosition:"top center"}),(0,r.createElement)("div",{className:"block-directory-downloadable-block-list-item__icon"},(0,r.createElement)(ee,{icon:i,title:u}),k?(0,r.createElement)("span",{className:"block-directory-downloadable-block-list-item__spinner"},(0,r.createElement)(K.Spinner,null)):(0,r.createElement)(Z,{rating:d})),(0,r.createElement)("span",{className:"block-directory-downloadable-block-list-item__details"},(0,r.createElement)("span",{className:"block-directory-downloadable-block-list-item__title"},(0,r.createInterpolateElement)((0,v.sprintf)((0,v.__)("%1$s <span>by %2$s</span>"),(0,j.decodeEntities)(u),o),{span:(0,r.createElement)("span",{className:"block-directory-downloadable-block-list-item__author"})})),p?(0,r.createElement)(te,{block:l}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)("span",{className:"block-directory-downloadable-block-list-item__desc"},g||(0,j.decodeEntities)(a)),b&&!(m||k)&&(0,r.createElement)(K.VisuallyHidden,null,(0,v.__)("Install block")))))};var oe=function(e){let{items:t,onHover:l=u.noop,onSelect:n}=e;const o=(0,K.__unstableUseCompositeState)(),{installBlockType:a}=(0,c.useDispatch)(x);return t.length?(0,r.createElement)(K.__unstableComposite,Y({},o,{role:"listbox",className:"block-directory-downloadable-blocks-list","aria-label":(0,v.__)("Blocks available for install")}),t.map((e=>(0,r.createElement)(ne,{key:e.id,composite:o,onClick:()=>{(0,s.getBlockType)(e.name)?n(e):a(e).then((t=>{t&&n(e)})),l(null)},onHover:l,item:e})))):null},re=window.wp.a11y;var ae=function(e){let{children:t,downloadableItems:l,hasLocalBlocks:n}=e;const o=l.length;return(0,r.useEffect)((()=>{(0,re.speak)((0,v.sprintf)((0,v._n)("%d additional block is available to install.","%d additional blocks are available to install.",o),o))}),[o]),(0,r.createElement)(r.Fragment,null,!n&&(0,r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__no-local"},(0,v.__)("No results available from your installed blocks.")),(0,r.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"}),(0,r.createElement)("div",{className:"block-directory-downloadable-blocks-panel"},(0,r.createElement)("div",{className:"block-directory-downloadable-blocks-panel__header"},(0,r.createElement)("h2",{className:"block-directory-downloadable-blocks-panel__title"},(0,v.__)("Available to install")),(0,r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},(0,v.__)("Select a block to install and add it to your post."))),t))};var ie=(0,r.createElement)(G.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(G.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));var se=function(){return(0,r.createElement)("div",{className:"block-editor-inserter__no-results"},(0,r.createElement)(q,{className:"block-editor-inserter__no-results-icon",icon:ie}),(0,r.createElement)("p",null,(0,v.__)("No results found.")))};var ce=(0,z.compose)([(0,c.withSelect)(((e,t)=>{let{filterValue:l,rootClientId:n=null}=t;const{getDownloadableBlocks:o,isRequestingDownloadableBlocks:r}=e(x),{canInsertBlockType:a}=e(p.store),i=e(U.store).canUser("read","block-directory/search");return{downloadableItems:i?o(l).filter((e=>a(e,n,!0))):[],hasPermission:i,isLoading:r(l)}}))])((function(e){let{downloadableItems:t,onSelect:l,onHover:n,hasLocalBlocks:o,hasPermission:a,isLoading:i,isTyping:s}=e;return void 0===a||i||s?(0,r.createElement)(r.Fragment,null,a&&!o&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__no-local"},(0,v.__)("No results available from your installed blocks.")),(0,r.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"})),(0,r.createElement)("div",{className:"block-directory-downloadable-blocks-panel has-blocks-loading"},(0,r.createElement)(K.Spinner,null))):!1===a?o?null:(0,r.createElement)(se,null):t.length?(0,r.createElement)(ae,{downloadableItems:t,hasLocalBlocks:o},(0,r.createElement)(oe,{items:t,onSelect:l,onHover:n})):!o&&(0,r.createElement)(se,null)}));var de=function(){const[e,t]=(0,r.useState)(""),l=(0,u.debounce)(t,400);return(0,r.createElement)(p.__unstableInserterMenuExtension,null,(t=>{let{onSelect:n,onHover:o,filterValue:a,hasItems:i,rootClientId:s}=t;return e!==a&&l(a),e?(0,r.createElement)(ce,{onSelect:n,onHover:o,rootClientId:s,filterValue:e,hasLocalBlocks:i,isTyping:a!==e}):null}))},ue=window.wp.editPost;function me(e){let{items:t}=e;return t.length?(0,r.createElement)("ul",{className:"block-directory-compact-list"},t.map((e=>{let{icon:t,id:l,title:n,author:o}=e;return(0,r.createElement)("li",{key:l,className:"block-directory-compact-list__item"},(0,r.createElement)(ee,{icon:t,title:n}),(0,r.createElement)("div",{className:"block-directory-compact-list__item-details"},(0,r.createElement)("div",{className:"block-directory-compact-list__item-title"},n),(0,r.createElement)("div",{className:"block-directory-compact-list__item-author"},(0,v.sprintf)((0,v.__)("By %s"),o))))}))):null}function pe(){const e=(0,c.useSelect)((e=>e(x).getNewBlockTypes()),[]);return e.length?(0,r.createElement)(ue.PluginPrePublishPanel,{icon:ie,title:(0,v.sprintf)((0,v._n)("Added: %d block","Added: %d blocks",e.length),e.length),initialOpen:!0},(0,r.createElement)("p",{className:"installed-blocks-pre-publish-panel__copy"},(0,v._n)("The following block has been added to your site.","The following blocks have been added to your site.",e.length)),(0,r.createElement)(me,{items:e})):null}function ke(e){let{attributes:t,block:l,clientId:n}=e;const o=(0,c.useSelect)((e=>e(x).isInstalling(l.id)),[l.id]),{installBlockType:a}=(0,c.useDispatch)(x),{replaceBlock:i}=(0,c.useDispatch)(p.store);return(0,r.createElement)(K.Button,{onClick:()=>a(l).then((e=>{if(e){const e=(0,s.getBlockType)(l.name),[o]=(0,s.parse)(t.originalContent);o&&e&&i(n,(0,s.createBlock)(e.name,o.attributes,o.innerBlocks))}})),disabled:o,isBusy:o,variant:"primary"},(0,v.sprintf)((0,v.__)("Install %s"),l.title))}const be=e=>{let{originalBlock:t,...l}=e;const{originalName:n,originalUndelimitedContent:o}=l.attributes,{replaceBlock:a}=(0,c.useDispatch)(p.store),i=()=>{a(l.clientId,(0,s.createBlock)("core/html",{content:o}))},d=!!o,u=(0,s.getBlockType)("core/html");let m=(0,v.sprintf)((0,v.__)("Your site doesn’t include support for the %s block. You can try installing the block or remove it entirely."),t.title||n);const k=[(0,r.createElement)(ke,{key:"install",block:t,attributes:l.attributes,clientId:l.clientId})];return d&&u&&(m=(0,v.sprintf)((0,v.__)("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||n),k.push((0,r.createElement)(K.Button,{key:"convert",onClick:i,variant:"link"},(0,v.__)("Keep as HTML")))),(0,r.createElement)("div",(0,p.useBlockProps)(),(0,r.createElement)(p.Warning,{actions:k},m),(0,r.createElement)(r.RawHTML,null,o))};var ge=e=>t=>{const{originalName:l}=t.attributes,{block:n,hasPermission:o}=(0,c.useSelect)((e=>{const{getDownloadableBlocks:t}=e(x),n=t("block:"+l).filter((e=>{let{name:t}=e;return l===t}));return{hasPermission:e(U.store).canUser("read","block-directory/search"),block:n.length&&n[0]}}),[l]);return o&&n?(0,r.createElement)(be,Y({},t,{originalBlock:n})):(0,r.createElement)(e,t)};(0,a.registerPlugin)("block-directory",{render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)($,null),(0,r.createElement)(de,null),(0,r.createElement)(pe,null))}),(0,i.addFilter)("blocks.registerBlockType","block-directory/fallback",((e,t)=>("core/missing"!==t||(e.edit=ge(e.edit)),e))),(window.wp=window.wp||{}).blockDirectory=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/block-editor.js b/wp-includes/js/dist/block-editor.js
index bede895032..29b56e0ca1 100644
--- a/wp-includes/js/dist/block-editor.js
+++ b/wp-includes/js/dist/block-editor.js
@@ -1,12440 +1,7513 @@
-this["wp"] = this["wp"] || {}; this["wp"]["blockEditor"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "tr0p");
-/******/ })
-/************************************************************************/
-/******/ ({
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-/***/ "+0ps":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 6411:
+/***/ (function(module, exports) {

-"use strict";
+var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+	autosize 4.0.4
+	license: MIT
+	http://www.jacklmoore.com/autosize
+*/
+(function (global, factory) {
+	if (true) {
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
+		__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
+		(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else { var mod; }
+})(this, function (module, exports) {
+	'use strict';

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ useNotifyCopy; });
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ useClipboardHandler; });
+	var map = typeof Map === "function" ? new Map() : function () {
+		var keys = [];
+		var values = [];

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+		return {
+			has: function has(key) {
+				return keys.indexOf(key) > -1;
+			},
+			get: function get(key) {
+				return values[keys.indexOf(key)];
+			},
+			set: function set(key, value) {
+				if (keys.indexOf(key) === -1) {
+					keys.push(key);
+					values.push(value);
+				}
+			},
+			delete: function _delete(key) {
+				var index = keys.indexOf(key);
+				if (index > -1) {
+					keys.splice(index, 1);
+					values.splice(index, 1);
+				}
+			}
+		};
+	}();

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+	var createEvent = function createEvent(name) {
+		return new Event(name, { bubbles: true });
+	};
+	try {
+		new Event('test');
+	} catch (e) {
+		// IE does not support `new Event()`
+		createEvent = function createEvent(name) {
+			var evt = document.createEvent('Event');
+			evt.initEvent(name, true, false);
+			return evt;
+		};
+	}

-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
+	function assign(ta) {
+		if (!ta || !ta.nodeName || ta.nodeName !== 'TEXTAREA' || map.has(ta)) return;

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+		var heightOffset = null;
+		var clientWidth = null;
+		var cachedHeight = null;

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+		function init() {
+			var style = window.getComputedStyle(ta, null);

-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
+			if (style.resize === 'vertical') {
+				ta.style.resize = 'none';
+			} else if (style.resize === 'both') {
+				ta.style.resize = 'horizontal';
+			}

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+			if (style.boxSizing === 'content-box') {
+				heightOffset = -(parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));
+			} else {
+				heightOffset = parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
+			}
+			// Fix when a textarea is not on document body and heightOffset is Not a Number
+			if (isNaN(heightOffset)) {
+				heightOffset = 0;
+			}

-// EXTERNAL MODULE: external ["wp","blob"]
-var external_wp_blob_ = __webpack_require__("xTGt");
+			update();
+		}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/get-paste-event-data.js
-/**
- * WordPress dependencies
- */
+		function changeOverflow(value) {
+			{
+				// Chrome/Safari-specific fix:
+				// When the textarea y-overflow is hidden, Chrome/Safari do not reflow the text to account for the space
+				// made available by removing the scrollbar. The following forces the necessary text reflow.
+				var width = ta.style.width;
+				ta.style.width = '0px';
+				// Force reflow:
+				/* jshint ignore:start */
+				ta.offsetWidth;
+				/* jshint ignore:end */
+				ta.style.width = width;
+			}

+			ta.style.overflowY = value;
+		}

-function getPasteEventData(_ref) {
-  let {
-    clipboardData
-  } = _ref;
-  let plainText = '';
-  let html = ''; // IE11 only supports `Text` as an argument for `getData` and will
-  // otherwise throw an invalid argument error, so we try the standard
-  // arguments first, then fallback to `Text` if they fail.
+		function getParentOverflows(el) {
+			var arr = [];

-  try {
-    plainText = clipboardData.getData('text/plain');
-    html = clipboardData.getData('text/html');
-  } catch (error1) {
-    try {
-      html = clipboardData.getData('Text');
-    } catch (error2) {
-      // Some browsers like UC Browser paste plain text by default and
-      // don't support clipboardData at all, so allow default
-      // behaviour.
-      return;
-    }
-  }
+			while (el && el.parentNode && el.parentNode instanceof Element) {
+				if (el.parentNode.scrollTop) {
+					arr.push({
+						node: el.parentNode,
+						scrollTop: el.parentNode.scrollTop
+					});
+				}
+				el = el.parentNode;
+			}

-  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.
+			return arr;
+		}

-  if (files.length && !html) {
-    html = files.map(file => `<img src="${Object(external_wp_blob_["createBlobURL"])(file)}">`).join('');
-    plainText = '';
-  }
+		function resize() {
+			if (ta.scrollHeight === 0) {
+				// If the scrollHeight is 0, then the element probably has display:none or is detached from the DOM.
+				return;
+			}

-  return {
-    html,
-    plainText
-  };
-}
+			var overflows = getParentOverflows(ta);
+			var docTop = document.documentElement && document.documentElement.scrollTop; // Needed for Mobile IE (ticket #240)

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+			ta.style.height = '';
+			ta.style.height = ta.scrollHeight + heightOffset + 'px';

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/copy-handler/index.js
+			// used to check if an update is actually necessary on window.resize
+			clientWidth = ta.clientWidth;

+			// prevents scroll-position jumping
+			overflows.forEach(function (el) {
+				el.node.scrollTop = el.scrollTop;
+			});

-/**
- * WordPress dependencies
- */
+			if (docTop) {
+				document.documentElement.scrollTop = docTop;
+			}
+		}

+		function update() {
+			resize();

+			var styleHeight = Math.round(parseFloat(ta.style.height));
+			var computed = window.getComputedStyle(ta, null);

+			// Using offsetHeight as a replacement for computed.height in IE, because IE does not account use of border-box
+			var actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(computed.height)) : ta.offsetHeight;

+			// The actual height not matching the style height (set via the resize method) indicates that
+			// the max-height has been exceeded, in which case the overflow should be allowed.
+			if (actualHeight < styleHeight) {
+				if (computed.overflowY === 'hidden') {
+					changeOverflow('scroll');
+					resize();
+					actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
+				}
+			} else {
+				// Normally keep overflow set to hidden, to avoid flash of scrollbar as the textarea expands.
+				if (computed.overflowY !== 'hidden') {
+					changeOverflow('hidden');
+					resize();
+					actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
+				}
+			}

+			if (cachedHeight !== actualHeight) {
+				cachedHeight = actualHeight;
+				var evt = createEvent('autosize:resized');
+				try {
+					ta.dispatchEvent(evt);
+				} catch (err) {
+					// Firefox will throw an error on dispatchEvent for a detached element
+					// https://bugzilla.mozilla.org/show_bug.cgi?id=889376
+				}
+			}
+		}

+		var pageResize = function pageResize() {
+			if (ta.clientWidth !== clientWidth) {
+				update();
+			}
+		};

-/**
- * Internal dependencies
- */
+		var destroy = function (style) {
+			window.removeEventListener('resize', pageResize, false);
+			ta.removeEventListener('input', update, false);
+			ta.removeEventListener('keyup', update, false);
+			ta.removeEventListener('autosize:destroy', destroy, false);
+			ta.removeEventListener('autosize:update', update, false);

+			Object.keys(style).forEach(function (key) {
+				ta.style[key] = style[key];
+			});

+			map.delete(ta);
+		}.bind(ta, {
+			height: ta.style.height,
+			resize: ta.style.resize,
+			overflowY: ta.style.overflowY,
+			overflowX: ta.style.overflowX,
+			wordWrap: ta.style.wordWrap
+		});

-function useNotifyCopy() {
-  const {
-    getBlockName
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    getBlockType
-  } = Object(external_wp_data_["useSelect"])(external_wp_blocks_["store"]);
-  const {
-    createSuccessNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  return Object(external_wp_element_["useCallback"])((eventType, selectedBlockClientIds) => {
-    let notice = '';
+		ta.addEventListener('autosize:destroy', destroy, false);

-    if (selectedBlockClientIds.length === 1) {
-      var _getBlockType;
+		// IE9 does not fire onpropertychange or oninput for deletions,
+		// so binding to onkeyup to catch most of those events.
+		// There is no way that I know of to detect something like 'cut' in IE9.
+		if ('onpropertychange' in ta && 'oninput' in ta) {
+			ta.addEventListener('keyup', update, false);
+		}

-      const clientId = selectedBlockClientIds[0];
-      const title = (_getBlockType = getBlockType(getBlockName(clientId))) === null || _getBlockType === void 0 ? void 0 : _getBlockType.title;
-      notice = eventType === 'copy' ? Object(external_wp_i18n_["sprintf"])( // Translators: Name of the block being copied, e.g. "Paragraph".
-      Object(external_wp_i18n_["__"])('Copied "%s" to clipboard.'), title) : Object(external_wp_i18n_["sprintf"])( // Translators: Name of the block being cut, e.g. "Paragraph".
-      Object(external_wp_i18n_["__"])('Moved "%s" to clipboard.'), title);
-    } else {
-      notice = eventType === 'copy' ? Object(external_wp_i18n_["sprintf"])( // Translators: %d: Number of blocks being copied.
-      Object(external_wp_i18n_["_n"])('Copied %d block to clipboard.', 'Copied %d blocks to clipboard.', selectedBlockClientIds.length), selectedBlockClientIds.length) : Object(external_wp_i18n_["sprintf"])( // Translators: %d: Number of blocks being cut.
-      Object(external_wp_i18n_["_n"])('Moved %d block to clipboard.', 'Moved %d blocks to clipboard.', selectedBlockClientIds.length), selectedBlockClientIds.length);
-    }
+		window.addEventListener('resize', pageResize, false);
+		ta.addEventListener('input', update, false);
+		ta.addEventListener('autosize:update', update, false);
+		ta.style.overflowX = 'hidden';
+		ta.style.wordWrap = 'break-word';

-    createSuccessNotice(notice, {
-      type: 'snackbar'
-    });
-  }, []);
-}
-function useClipboardHandler() {
-  const {
-    getBlocksByClientId,
-    getSelectedBlockClientIds,
-    hasMultiSelection,
-    getSettings
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    flashBlock,
-    removeBlocks,
-    replaceBlocks
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const notifyCopy = useNotifyCopy();
-  return Object(external_wp_compose_["useRefEffect"])(node => {
-    function handler(event) {
-      const selectedBlockClientIds = getSelectedBlockClientIds();
+		map.set(ta, {
+			destroy: destroy,
+			update: update
+		});

-      if (selectedBlockClientIds.length === 0) {
-        return;
-      } // Always handle multiple selected blocks.
+		init();
+	}

+	function destroy(ta) {
+		var methods = map.get(ta);
+		if (methods) {
+			methods.destroy();
+		}
+	}

-      if (!hasMultiSelection()) {
-        const {
-          target
-        } = event;
-        const {
-          ownerDocument
-        } = target; // If copying, only consider actual text selection as selection.
-        // Otherwise, any focus on an input field is considered.
+	function update(ta) {
+		var methods = map.get(ta);
+		if (methods) {
+			methods.update();
+		}
+	}

-        const hasSelection = event.type === 'copy' || event.type === 'cut' ? Object(external_wp_dom_["documentHasUncollapsedSelection"])(ownerDocument) : Object(external_wp_dom_["documentHasSelection"])(ownerDocument); // Let native copy behaviour take over in input fields.
+	var autosize = null;

-        if (hasSelection) {
-          return;
-        }
-      }
+	// Do nothing in Node.js environment and IE8 (or lower)
+	if (typeof window === 'undefined' || typeof window.getComputedStyle !== 'function') {
+		autosize = function autosize(el) {
+			return el;
+		};
+		autosize.destroy = function (el) {
+			return el;
+		};
+		autosize.update = function (el) {
+			return el;
+		};
+	} else {
+		autosize = function autosize(el, options) {
+			if (el) {
+				Array.prototype.forEach.call(el.length ? el : [el], function (x) {
+					return assign(x, options);
+				});
+			}
+			return el;
+		};
+		autosize.destroy = function (el) {
+			if (el) {
+				Array.prototype.forEach.call(el.length ? el : [el], destroy);
+			}
+			return el;
+		};
+		autosize.update = function (el) {
+			if (el) {
+				Array.prototype.forEach.call(el.length ? el : [el], update);
+			}
+			return el;
+		};
+	}

-      if (!node.contains(event.target.ownerDocument.activeElement)) {
-        return;
-      }
+	exports.default = autosize;
+	module.exports = exports['default'];
+});

-      const eventDefaultPrevented = event.defaultPrevented;
-      event.preventDefault();
+/***/ }),

-      if (event.type === 'copy' || event.type === 'cut') {
-        if (selectedBlockClientIds.length === 1) {
-          flashBlock(selectedBlockClientIds[0]);
-        }
+/***/ 4403:
+/***/ (function(module, exports) {

-        notifyCopy(event.type, selectedBlockClientIds);
-        const blocks = getBlocksByClientId(selectedBlockClientIds);
-        const serialized = Object(external_wp_blocks_["serialize"])(blocks);
-        event.clipboardData.setData('text/plain', serialized);
-        event.clipboardData.setData('text/html', serialized);
-      }
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */

-      if (event.type === 'cut') {
-        removeBlocks(selectedBlockClientIds);
-      } else if (event.type === 'paste') {
-        if (eventDefaultPrevented) {
-          // This was likely already handled in rich-text/use-paste-handler.js
-          return;
-        }
+(function () {
+	'use strict';

-        const {
-          __experimentalCanUserUseUnfilteredHTML: canUserUseUnfilteredHTML
-        } = getSettings();
-        const {
-          plainText,
-          html
-        } = getPasteEventData(event);
-        const blocks = Object(external_wp_blocks_["pasteHandler"])({
-          HTML: html,
-          plainText,
-          mode: 'BLOCKS',
-          canUserUseUnfilteredHTML
-        });
-        replaceBlocks(selectedBlockClientIds, blocks, blocks.length - 1, -1);
-      }
-    }
+	var hasOwn = {}.hasOwnProperty;

-    node.ownerDocument.addEventListener('copy', handler);
-    node.ownerDocument.addEventListener('cut', handler);
-    node.ownerDocument.addEventListener('paste', handler);
-    return () => {
-      node.ownerDocument.removeEventListener('copy', handler);
-      node.ownerDocument.removeEventListener('cut', handler);
-      node.ownerDocument.removeEventListener('paste', handler);
-    };
-  }, []);
-}
+	function classNames() {
+		var classes = [];

-function CopyHandler(_ref) {
-  let {
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
-    ref: useClipboardHandler()
-  }, children);
-}
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;

-/* harmony default export */ var copy_handler = __webpack_exports__["a"] = (CopyHandler);
+			var argType = typeof arg;

+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}

-/***/ }),
+		return classes.join(' ');
+	}

-/***/ "+6d5":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useBlockMovingModeClassNames; });
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("BhPs");
-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */
+/***/ }),

+/***/ 4827:
+/***/ (function(module) {

-/**
- * Internal dependencies
- */
+// This code has been refactored for 140 bytes
+// You can see the original here: https://github.com/twolfson/computedStyle/blob/04cd1da2e30fa45844f95f5cb1ac898e9b9ef050/lib/computedStyle.js
+var computedStyle = function (el, prop, getComputedStyle) {
+  getComputedStyle = window.getComputedStyle;

+  // In one fell swoop
+  return (
+    // If we have getComputedStyle
+    getComputedStyle ?
+      // Query it
+      // TODO: From CSS-Query notes, we might need (node, null) for FF
+      getComputedStyle(el) :

-/**
- * Returns the class names used for block moving mode.
- *
- * @param {string} clientId The block client ID to insert above.
- *
- * @return {string} The class names.
- */
+    // Otherwise, we are in IE and use currentStyle
+      el.currentStyle
+  )[
+    // Switch to camelCase for CSSOM
+    // DEV: Grabbed from jQuery
+    // https://github.com/jquery/jquery/blob/1.9-stable/src/css.js#L191-L194
+    // https://github.com/jquery/jquery/blob/1.9-stable/src/core.js#L593-L597
+    prop.replace(/-(\w)/gi, function (word, letter) {
+      return letter.toUpperCase();
+    })
+  ];
+};

-function useBlockMovingModeClassNames(clientId) {
-  return Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(select => {
-    const {
-      hasBlockMovingClientId,
-      canInsertBlockType,
-      getBlockName,
-      getBlockRootClientId,
-      isBlockSelected
-    } = select(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]); // The classes are only relevant for the selected block. Avoid
-    // re-rendering all blocks!
+module.exports = computedStyle;

-    if (!isBlockSelected(clientId)) {
-      return;
-    }

-    const movingClientId = hasBlockMovingClientId();
+/***/ }),

-    if (!movingClientId) {
-      return;
-    }
-
-    return classnames__WEBPACK_IMPORTED_MODULE_0___default()('is-block-moving-mode', {
-      'can-insert-moving-block': canInsertBlockType(getBlockName(movingClientId), getBlockRootClientId(clientId))
-    });
-  }, [clientId]);
-}
-
-
-/***/ }),
-
-/***/ "+DUQ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 1198:
+/***/ (function(__unused_webpack_module, exports) {

 "use strict";
-/* unused harmony export a */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "animated", function() { return animated; });
-/* harmony import */ var _react_spring_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("kmrn");
-/* harmony reexport (checked) */ if(__webpack_require__.o(_react_spring_core__WEBPACK_IMPORTED_MODULE_0__, "useSpring")) __webpack_require__.d(__webpack_exports__, "useSpring", function() { return _react_spring_core__WEBPACK_IMPORTED_MODULE_0__["useSpring"]; });
-
-/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("faye");
-/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _react_spring_shared__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("nEW0");
-/* harmony import */ var _react_spring_animated__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("dfZa");
+/*istanbul ignore start*/


+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = Diff;

+/*istanbul ignore end*/
+function Diff() {}

+Diff.prototype = {
+  /*istanbul ignore start*/

+  /*istanbul ignore end*/
+  diff: function diff(oldString, newString) {
+    /*istanbul ignore start*/
+    var
+    /*istanbul ignore end*/
+    options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
+    var callback = options.callback;

-function _objectWithoutPropertiesLoose(source, excluded) {
-  if (source == null) return {};
-  var target = {};
-  var sourceKeys = Object.keys(source);
-  var key, i;
+    if (typeof options === 'function') {
+      callback = options;
+      options = {};
+    }

-  for (i = 0; i < sourceKeys.length; i++) {
-    key = sourceKeys[i];
-    if (excluded.indexOf(key) >= 0) continue;
-    target[key] = source[key];
-  }
+    this.options = options;
+    var self = this;

-  return target;
-}
+    function done(value) {
+      if (callback) {
+        setTimeout(function () {
+          callback(undefined, value);
+        }, 0);
+        return true;
+      } else {
+        return value;
+      }
+    } // Allow subclasses to massage the input prior to running

-const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft"];
-const isCustomPropRE = /^--/;

-function dangerousStyleValue(name, value) {
-  if (value == null || typeof value === 'boolean' || value === '') return '';
-  if (typeof value === 'number' && value !== 0 && !isCustomPropRE.test(name) && !(isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name])) return value + 'px';
-  return ('' + value).trim();
-}
+    oldString = this.castInput(oldString);
+    newString = this.castInput(newString);
+    oldString = this.removeEmpty(this.tokenize(oldString));
+    newString = this.removeEmpty(this.tokenize(newString));
+    var newLen = newString.length,
+        oldLen = oldString.length;
+    var editLength = 1;
+    var maxEditLength = newLen + oldLen;
+    var bestPath = [{
+      newPos: -1,
+      components: []
+    }]; // Seed editLength = 0, i.e. the content starts with the same values

-const attributeCache = {};
-function applyAnimatedValues(instance, props) {
-  if (!instance.nodeType || !instance.setAttribute) {
-    return false;
-  }
+    var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0);

-  const isFilterElement = instance.nodeName === 'filter' || instance.parentNode && instance.parentNode.nodeName === 'filter';
+    if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) {
+      // Identity per the equality and tokenizer
+      return done([{
+        value: this.join(newString),
+        count: newString.length
+      }]);
+    } // Main worker method. checks all permutations of a given edit length for acceptance.

-  const _ref = props,
-        {
-    style,
-    children,
-    scrollTop,
-    scrollLeft
-  } = _ref,
-        attributes = _objectWithoutPropertiesLoose(_ref, _excluded$2);

-  const values = Object.values(attributes);
-  const names = Object.keys(attributes).map(name => isFilterElement || instance.hasAttribute(name) ? name : attributeCache[name] || (attributeCache[name] = name.replace(/([A-Z])/g, n => '-' + n.toLowerCase())));
+    function execEditLength() {
+      for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) {
+        var basePath =
+        /*istanbul ignore start*/
+        void 0
+        /*istanbul ignore end*/
+        ;

-  if (children !== void 0) {
-    instance.textContent = children;
-  }
+        var addPath = bestPath[diagonalPath - 1],
+            removePath = bestPath[diagonalPath + 1],
+            _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;

-  for (let name in style) {
-    if (style.hasOwnProperty(name)) {
-      const value = dangerousStyleValue(name, style[name]);
+        if (addPath) {
+          // No one else is going to attempt to use this value, clear it
+          bestPath[diagonalPath - 1] = undefined;
+        }

-      if (isCustomPropRE.test(name)) {
-        instance.style.setProperty(name, value);
-      } else {
-        instance.style[name] = value;
-      }
-    }
-  }
+        var canAdd = addPath && addPath.newPos + 1 < newLen,
+            canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen;

-  names.forEach((name, i) => {
-    instance.setAttribute(name, values[i]);
-  });
+        if (!canAdd && !canRemove) {
+          // If this path is a terminal then prune
+          bestPath[diagonalPath] = undefined;
+          continue;
+        } // Select the diagonal that we want to branch from. We select the prior
+        // path whose position in the new string is the farthest from the origin
+        // and does not pass the bounds of the diff graph

-  if (scrollTop !== void 0) {
-    instance.scrollTop = scrollTop;
-  }

-  if (scrollLeft !== void 0) {
-    instance.scrollLeft = scrollLeft;
-  }
-}
-let isUnitlessNumber = {
-  animationIterationCount: true,
-  borderImageOutset: true,
-  borderImageSlice: true,
-  borderImageWidth: true,
-  boxFlex: true,
-  boxFlexGroup: true,
-  boxOrdinalGroup: true,
-  columnCount: true,
-  columns: true,
-  flex: true,
-  flexGrow: true,
-  flexPositive: true,
-  flexShrink: true,
-  flexNegative: true,
-  flexOrder: true,
-  gridRow: true,
-  gridRowEnd: true,
-  gridRowSpan: true,
-  gridRowStart: true,
-  gridColumn: true,
-  gridColumnEnd: true,
-  gridColumnSpan: true,
-  gridColumnStart: true,
-  fontWeight: true,
-  lineClamp: true,
-  lineHeight: true,
-  opacity: true,
-  order: true,
-  orphans: true,
-  tabSize: true,
-  widows: true,
-  zIndex: true,
-  zoom: true,
-  fillOpacity: true,
-  floodOpacity: true,
-  stopOpacity: true,
-  strokeDasharray: true,
-  strokeDashoffset: true,
-  strokeMiterlimit: true,
-  strokeOpacity: true,
-  strokeWidth: true
-};
+        if (!canAdd || canRemove && addPath.newPos < removePath.newPos) {
+          basePath = clonePath(removePath);
+          self.pushComponent(basePath.components, undefined, true);
+        } else {
+          basePath = addPath; // No need to clone, we've pulled it from the list

-const prefixKey = (prefix, key) => prefix + key.charAt(0).toUpperCase() + key.substring(1);
+          basePath.newPos++;
+          self.pushComponent(basePath.components, true, undefined);
+        }

-const prefixes = ['Webkit', 'Ms', 'Moz', 'O'];
-isUnitlessNumber = Object.keys(isUnitlessNumber).reduce((acc, prop) => {
-  prefixes.forEach(prefix => acc[prefixKey(prefix, prop)] = acc[prop]);
-  return acc;
-}, isUnitlessNumber);
+        _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath); // If we have hit the end of both strings, then we are done

-const _excluded$1 = ["x", "y", "z"];
-const domTransforms = /^(matrix|translate|scale|rotate|skew)/;
-const pxTransforms = /^(translate)/;
-const degTransforms = /^(rotate|skew)/;
+        if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) {
+          return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken));
+        } else {
+          // Otherwise track this path as a potential candidate and continue.
+          bestPath[diagonalPath] = basePath;
+        }
+      }

-const addUnit = (value, unit) => _react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* is */ "s"].num(value) && value !== 0 ? value + unit : value;
+      editLength++;
+    } // Performs the length of edit iteration. Is a bit fugly as this has to support the
+    // sync and async mode which is never fun. Loops over execEditLength until a value
+    // is produced.

-const isValueIdentity = (value, id) => _react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* is */ "s"].arr(value) ? value.every(v => isValueIdentity(v, id)) : _react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* is */ "s"].num(value) ? value === id : parseFloat(value) === id;

-class AnimatedStyle extends _react_spring_animated__WEBPACK_IMPORTED_MODULE_3__[/* AnimatedObject */ "a"] {
-  constructor(_ref) {
-    let {
-      x,
-      y,
-      z
-    } = _ref,
-        style = _objectWithoutPropertiesLoose(_ref, _excluded$1);
+    if (callback) {
+      (function exec() {
+        setTimeout(function () {
+          // This should not happen, but we want to be safe.

-    const inputs = [];
-    const transforms = [];
+          /* istanbul ignore next */
+          if (editLength > maxEditLength) {
+            return callback();
+          }

-    if (x || y || z) {
-      inputs.push([x || 0, y || 0, z || 0]);
-      transforms.push(xyz => [`translate3d(${xyz.map(v => addUnit(v, 'px')).join(',')})`, isValueIdentity(xyz, 0)]);
-    }
+          if (!execEditLength()) {
+            exec();
+          }
+        }, 0);
+      })();
+    } else {
+      while (editLength <= maxEditLength) {
+        var ret = execEditLength();

-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* eachProp */ "l"])(style, (value, key) => {
-      if (key === 'transform') {
-        inputs.push([value || '']);
-        transforms.push(transform => [transform, transform === '']);
-      } else if (domTransforms.test(key)) {
-        delete style[key];
-        if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* is */ "s"].und(value)) return;
-        const unit = pxTransforms.test(key) ? 'px' : degTransforms.test(key) ? 'deg' : '';
-        inputs.push(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* toArray */ "y"])(value));
-        transforms.push(key === 'rotate3d' ? ([x, y, z, deg]) => [`rotate3d(${x},${y},${z},${addUnit(deg, unit)})`, isValueIdentity(deg, 0)] : input => [`${key}(${input.map(v => addUnit(v, unit)).join(',')})`, isValueIdentity(input, key.startsWith('scale') ? 1 : 0)]);
+        if (ret) {
+          return ret;
+        }
       }
-    });
-
-    if (inputs.length) {
-      style.transform = new FluidTransform(inputs, transforms);
     }
+  },

-    super(style);
-  }
-
-}
-
-class FluidTransform extends _react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* FluidValue */ "a"] {
-  constructor(inputs, transforms) {
-    super();
-    this._value = null;
-    this.inputs = inputs;
-    this.transforms = transforms;
-  }
+  /*istanbul ignore start*/

-  get() {
-    return this._value || (this._value = this._get());
-  }
+  /*istanbul ignore end*/
+  pushComponent: function pushComponent(components, added, removed) {
+    var last = components[components.length - 1];

-  _get() {
-    let transform = '';
-    let identity = true;
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* each */ "k"])(this.inputs, (input, i) => {
-      const arg1 = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* getFluidValue */ "q"])(input[0]);
-      const [t, id] = this.transforms[i](_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* is */ "s"].arr(arg1) ? arg1 : input.map(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* getFluidValue */ "q"]));
-      transform += ' ' + t;
-      identity = identity && id;
-    });
-    return identity ? 'none' : transform;
-  }
+    if (last && last.added === added && last.removed === removed) {
+      // We need to clone here as the component clone operation is just
+      // as shallow array clone
+      components[components.length - 1] = {
+        count: last.count + 1,
+        added: added,
+        removed: removed
+      };
+    } else {
+      components.push({
+        count: 1,
+        added: added,
+        removed: removed
+      });
+    }
+  },

-  observerAdded(count) {
-    if (count == 1) Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* each */ "k"])(this.inputs, input => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* each */ "k"])(input, value => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* hasFluidValue */ "r"])(value) && Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* addFluidObserver */ "c"])(value, this)));
-  }
+  /*istanbul ignore start*/

-  observerRemoved(count) {
-    if (count == 0) Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* each */ "k"])(this.inputs, input => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* each */ "k"])(input, value => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* hasFluidValue */ "r"])(value) && Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* removeFluidObserver */ "x"])(value, this)));
-  }
+  /*istanbul ignore end*/
+  extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) {
+    var newLen = newString.length,
+        oldLen = oldString.length,
+        newPos = basePath.newPos,
+        oldPos = newPos - diagonalPath,
+        commonCount = 0;

-  eventObserved(event) {
-    if (event.type == 'change') {
-      this._value = null;
+    while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {
+      newPos++;
+      oldPos++;
+      commonCount++;
     }

-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* callFluidObservers */ "d"])(this, event);
-  }
+    if (commonCount) {
+      basePath.components.push({
+        count: commonCount
+      });
+    }

-}
+    basePath.newPos = newPos;
+    return oldPos;
+  },

-const primitives = ['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'];
+  /*istanbul ignore start*/

-const _excluded = ["scrollTop", "scrollLeft"];
-_react_spring_core__WEBPACK_IMPORTED_MODULE_0__["Globals"].assign({
-  batchedUpdates: react_dom__WEBPACK_IMPORTED_MODULE_1__["unstable_batchedUpdates"],
-  createStringInterpolator: _react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* createStringInterpolator */ "g"],
-  colors: _react_spring_shared__WEBPACK_IMPORTED_MODULE_2__[/* colors */ "e"]
-});
-const host = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_3__[/* createHost */ "d"])(primitives, {
-  applyAnimatedValues,
-  createAnimatedStyle: style => new AnimatedStyle(style),
-  getComponentProps: _ref => {
-    let props = _objectWithoutPropertiesLoose(_ref, _excluded);
+  /*istanbul ignore end*/
+  equals: function equals(left, right) {
+    if (this.options.comparator) {
+      return this.options.comparator(left, right);
+    } else {
+      return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase();
+    }
+  },

-    return props;
-  }
-});
-const animated = host.animated;
+  /*istanbul ignore start*/

+  /*istanbul ignore end*/
+  removeEmpty: function removeEmpty(array) {
+    var ret = [];

+    for (var i = 0; i < array.length; i++) {
+      if (array[i]) {
+        ret.push(array[i]);
+      }
+    }

+    return ret;
+  },

-/***/ }),
+  /*istanbul ignore start*/

-/***/ "+G0a":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  /*istanbul ignore end*/
+  castInput: function castInput(value) {
+    return value;
+  },

-"use strict";
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("BhPs");
-/**
- * WordPress dependencies
- */
+  /*istanbul ignore start*/

+  /*istanbul ignore end*/
+  tokenize: function tokenize(value) {
+    return value.split('');
+  },

+  /*istanbul ignore start*/

-/**
- * Internal dependencies
- */
+  /*istanbul ignore end*/
+  join: function join(chars) {
+    return chars.join('');
+  }
+};

+function buildValues(diff, components, newString, oldString, useLongestToken) {
+  var componentPos = 0,
+      componentLen = components.length,
+      newPos = 0,
+      oldPos = 0;

-/**
- * Retrieves the block types inserter state.
- *
- * @param {string=}  rootClientId Insertion's root client ID.
- * @param {Function} onInsert     function called when inserter a list of blocks.
- * @return {Array} Returns the block types state. (block types, categories, collections, onSelect handler)
- */
+  for (; componentPos < componentLen; componentPos++) {
+    var component = components[componentPos];

-const useBlockTypesState = (rootClientId, onInsert) => {
-  const {
-    categories,
-    collections,
-    items
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(select => {
-    const {
-      getInserterItems
-    } = select(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]);
-    const {
-      getCategories,
-      getCollections
-    } = select(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__["store"]);
-    return {
-      categories: getCategories(),
-      collections: getCollections(),
-      items: getInserterItems(rootClientId)
-    };
-  }, [rootClientId]);
-  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]);
-  return [items, categories, collections, onSelectItem];
-};
+    if (!component.removed) {
+      if (!component.added && useLongestToken) {
+        var value = newString.slice(newPos, newPos + component.count);
+        value = value.map(function (value, i) {
+          var oldValue = oldString[oldPos + i];
+          return oldValue.length > value.length ? oldValue : value;
+        });
+        component.value = diff.join(value);
+      } else {
+        component.value = diff.join(newString.slice(newPos, newPos + component.count));
+      }

-/* harmony default export */ __webpack_exports__["a"] = (useBlockTypesState);
+      newPos += component.count; // Common case

+      if (!component.added) {
+        oldPos += component.count;
+      }
+    } else {
+      component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));
+      oldPos += component.count; // Reverse add and remove so removes are output first to match common convention
+      // The diffing algorithm is tied to add then remove output and this is the simplest
+      // route to get the desired output with minimal overhead.

-/***/ }),
+      if (componentPos && components[componentPos - 1].added) {
+        var tmp = components[componentPos - 1];
+        components[componentPos - 1] = components[componentPos];
+        components[componentPos] = tmp;
+      }
+    }
+  } // Special case handle for when one terminal is ignored (i.e. whitespace).
+  // For this case we merge the terminal into the prior string and drop the change.
+  // This is only available for string mode.

-/***/ "+WrK":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  var lastComponent = components[componentLen - 1];

+  if (componentLen > 1 && typeof lastComponent.value === 'string' && (lastComponent.added || lastComponent.removed) && diff.equals('', lastComponent.value)) {
+    components[componentLen - 2].value += lastComponent.value;
+    components.pop();
+  }

-/**
- * WordPress dependencies
- */
+  return components;
+}

-const symbol = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (symbol);
+function clonePath(path) {
+  return {
+    newPos: path.newPos,
+    components: path.components.slice(0)
+  };
+}


 /***/ }),

-/***/ "+gtr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 1973:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";
+var __webpack_unused_export__;
+/*istanbul ignore start*/

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ BlockToolbar; });
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+__webpack_unused_export__ = ({
+  value: true
+});
+exports.Kx = diffChars;
+__webpack_unused_export__ = void 0;

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+/*istanbul ignore end*/
+var
+/*istanbul ignore start*/
+_base = _interopRequireDefault(__webpack_require__(1198))
+/*istanbul ignore end*/
+;

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+/*istanbul ignore start*/ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+/*istanbul ignore end*/
+var characterDiff = new
+/*istanbul ignore start*/
+_base
+/*istanbul ignore end*/
+.
+/*istanbul ignore start*/
+default
+/*istanbul ignore end*/
+();

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+/*istanbul ignore start*/
+__webpack_unused_export__ = characterDiff;

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/index.js
-var block_mover = __webpack_require__("JygI");
+/*istanbul ignore end*/
+function diffChars(oldStr, newStr, options) {
+  return characterDiff.diff(oldStr, newStr, options);
+}

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-block-display-information/index.js
-var use_block_display_information = __webpack_require__("wC17");
+/***/ }),

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-icon/index.js
-var block_icon = __webpack_require__("7SSY");
+/***/ 1345:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+"use strict";

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-toolbar/utils.js
-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */
+var util = __webpack_require__(5022);

+function scrollIntoView(elem, container, config) {
+  config = config || {};
+  // document 归一化到 window
+  if (container.nodeType === 9) {
+    container = util.getWindow(container);
+  }

-const {
-  clearTimeout: utils_clearTimeout,
-  setTimeout: utils_setTimeout
-} = window;
-const DEBOUNCE_TIMEOUT = 200;
-/**
- * Hook that creates a showMover state, as well as debounced show/hide callbacks.
- *
- * @param {Object}   props                       Component props.
- * @param {Object}   props.ref                   Element reference.
- * @param {boolean}  props.isFocused             Whether the component has current focus.
- * @param {number}   [props.debounceTimeout=250] Debounce timeout in milliseconds.
- * @param {Function} [props.onChange=noop]       Callback function.
- */
-
-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"])();
-
-  const handleOnChange = nextIsFocused => {
-    if (ref !== null && ref !== void 0 && ref.current) {
-      setShowMovers(nextIsFocused);
-    }
-
-    onChange(nextIsFocused);
-  };
-
-  const getIsHovered = () => {
-    return (ref === null || ref === void 0 ? void 0 : ref.current) && ref.current.matches(':hover');
-  };
-
-  const shouldHideMovers = () => {
-    const isHovered = getIsHovered();
-    return !isFocused && !isHovered;
-  };
-
-  const clearTimeoutRef = () => {
-    const timeout = timeoutRef.current;
-
-    if (timeout && utils_clearTimeout) {
-      utils_clearTimeout(timeout);
-    }
-  };
-
-  const debouncedShowMovers = event => {
-    if (event) {
-      event.stopPropagation();
-    }
-
-    clearTimeoutRef();
-
-    if (!showMovers) {
-      handleOnChange(true);
-    }
-  };
-
-  const debouncedHideMovers = event => {
-    if (event) {
-      event.stopPropagation();
-    }
-
-    clearTimeoutRef();
-    timeoutRef.current = utils_setTimeout(() => {
-      if (shouldHideMovers()) {
-        handleOnChange(false);
-      }
-    }, debounceTimeout);
-  };
-
-  Object(external_wp_element_["useEffect"])(() => () => clearTimeoutRef(), []);
-  return {
-    showMovers,
-    debouncedShowMovers,
-    debouncedHideMovers
-  };
-}
-/**
- * Hook that provides a showMovers state and gesture events for DOM elements
- * that interact with the showMovers state.
- *
- * @param {Object}   props                       Component props.
- * @param {Object}   props.ref                   Element reference.
- * @param {number}   [props.debounceTimeout=250] Debounce timeout in milliseconds.
- * @param {Function} [props.onChange=noop]       Callback function.
- */
-
-function useShowMoversGestures(_ref2) {
-  let {
-    ref,
-    debounceTimeout = DEBOUNCE_TIMEOUT,
-    onChange = external_lodash_["noop"]
-  } = _ref2;
-  const [isFocused, setIsFocused] = Object(external_wp_element_["useState"])(false);
-  const {
-    showMovers,
-    debouncedShowMovers,
-    debouncedHideMovers
-  } = useDebouncedShowMovers({
-    ref,
-    debounceTimeout,
-    isFocused,
-    onChange
-  });
-  const registerRef = Object(external_wp_element_["useRef"])(false);
+  var allowHorizontalScroll = config.allowHorizontalScroll;
+  var onlyScrollIfNeeded = config.onlyScrollIfNeeded;
+  var alignWithTop = config.alignWithTop;
+  var alignWithLeft = config.alignWithLeft;
+  var offsetTop = config.offsetTop || 0;
+  var offsetLeft = config.offsetLeft || 0;
+  var offsetBottom = config.offsetBottom || 0;
+  var offsetRight = config.offsetRight || 0;

-  const isFocusedWithin = () => {
-    return (ref === null || ref === void 0 ? void 0 : ref.current) && ref.current.contains(ref.current.ownerDocument.activeElement);
-  };
+  allowHorizontalScroll = allowHorizontalScroll === undefined ? true : allowHorizontalScroll;

-  Object(external_wp_element_["useEffect"])(() => {
-    const node = ref.current;
+  var isWin = util.isWindow(container);
+  var elemOffset = util.offset(elem);
+  var eh = util.outerHeight(elem);
+  var ew = util.outerWidth(elem);
+  var containerOffset = undefined;
+  var ch = undefined;
+  var cw = undefined;
+  var containerScroll = undefined;
+  var diffTop = undefined;
+  var diffBottom = undefined;
+  var win = undefined;
+  var winScroll = undefined;
+  var ww = undefined;
+  var wh = undefined;

-    const handleOnFocus = () => {
-      if (isFocusedWithin()) {
-        setIsFocused(true);
-        debouncedShowMovers();
-      }
+  if (isWin) {
+    win = container;
+    wh = util.height(win);
+    ww = util.width(win);
+    winScroll = {
+      left: util.scrollLeft(win),
+      top: util.scrollTop(win)
     };
-
-    const handleOnBlur = () => {
-      if (!isFocusedWithin()) {
-        setIsFocused(false);
-        debouncedHideMovers();
-      }
+    // elem 相对 container 可视视窗的距离
+    diffTop = {
+      left: elemOffset.left - winScroll.left - offsetLeft,
+      top: elemOffset.top - winScroll.top - offsetTop
     };
-    /**
-     * Events are added via DOM events (vs. React synthetic events),
-     * as the child React components swallow mouse events.
-     */
-
+    diffBottom = {
+      left: elemOffset.left + ew - (winScroll.left + ww) + offsetRight,
+      top: elemOffset.top + eh - (winScroll.top + wh) + offsetBottom
+    };
+    containerScroll = winScroll;
+  } else {
+    containerOffset = util.offset(container);
+    ch = container.clientHeight;
+    cw = container.clientWidth;
+    containerScroll = {
+      left: container.scrollLeft,
+      top: container.scrollTop
+    };
+    // elem 相对 container 可视视窗的距离
+    // 注意边框, offset 是边框到根节点
+    diffTop = {
+      left: elemOffset.left - (containerOffset.left + (parseFloat(util.css(container, 'borderLeftWidth')) || 0)) - offsetLeft,
+      top: elemOffset.top - (containerOffset.top + (parseFloat(util.css(container, 'borderTopWidth')) || 0)) - offsetTop
+    };
+    diffBottom = {
+      left: elemOffset.left + ew - (containerOffset.left + cw + (parseFloat(util.css(container, 'borderRightWidth')) || 0)) + offsetRight,
+      top: elemOffset.top + eh - (containerOffset.top + ch + (parseFloat(util.css(container, 'borderBottomWidth')) || 0)) + offsetBottom
+    };
+  }

-    if (node && !registerRef.current) {
-      node.addEventListener('focus', handleOnFocus, true);
-      node.addEventListener('blur', handleOnBlur, true);
-      registerRef.current = true;
+  if (diffTop.top < 0 || diffBottom.top > 0) {
+    // 强制向上
+    if (alignWithTop === true) {
+      util.scrollTop(container, containerScroll.top + diffTop.top);
+    } else if (alignWithTop === false) {
+      util.scrollTop(container, containerScroll.top + diffBottom.top);
+    } else {
+      // 自动调整
+      if (diffTop.top < 0) {
+        util.scrollTop(container, containerScroll.top + diffTop.top);
+      } else {
+        util.scrollTop(container, containerScroll.top + diffBottom.top);
+      }
+    }
+  } else {
+    if (!onlyScrollIfNeeded) {
+      alignWithTop = alignWithTop === undefined ? true : !!alignWithTop;
+      if (alignWithTop) {
+        util.scrollTop(container, containerScroll.top + diffTop.top);
+      } else {
+        util.scrollTop(container, containerScroll.top + diffBottom.top);
+      }
     }
+  }

-    return () => {
-      if (node) {
-        node.removeEventListener('focus', handleOnFocus);
-        node.removeEventListener('blur', handleOnBlur);
+  if (allowHorizontalScroll) {
+    if (diffTop.left < 0 || diffBottom.left > 0) {
+      // 强制向上
+      if (alignWithLeft === true) {
+        util.scrollLeft(container, containerScroll.left + diffTop.left);
+      } else if (alignWithLeft === false) {
+        util.scrollLeft(container, containerScroll.left + diffBottom.left);
+      } else {
+        // 自动调整
+        if (diffTop.left < 0) {
+          util.scrollLeft(container, containerScroll.left + diffTop.left);
+        } else {
+          util.scrollLeft(container, containerScroll.left + diffBottom.left);
+        }
+      }
+    } else {
+      if (!onlyScrollIfNeeded) {
+        alignWithLeft = alignWithLeft === undefined ? true : !!alignWithLeft;
+        if (alignWithLeft) {
+          util.scrollLeft(container, containerScroll.left + diffTop.left);
+        } else {
+          util.scrollLeft(container, containerScroll.left + diffBottom.left);
+        }
       }
-    };
-  }, [ref, registerRef, setIsFocused, debouncedShowMovers, debouncedHideMovers]);
-  return {
-    showMovers,
-    gestures: {
-      onMouseMove: debouncedShowMovers,
-      onMouseLeave: debouncedHideMovers
     }
-  };
+  }
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+module.exports = scrollIntoView;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-parent-selector/index.js
+/***/ }),

+/***/ 5425:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-/**
- * WordPress dependencies
- */

+module.exports = __webpack_require__(1345);

+/***/ }),

+/***/ 5022:
+/***/ (function(module) {

+"use strict";

-/**
- * Internal dependencies
- */

+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };

+var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;

+function getClientPosition(elem) {
+  var box = undefined;
+  var x = undefined;
+  var y = undefined;
+  var doc = elem.ownerDocument;
+  var body = doc.body;
+  var docElem = doc && doc.documentElement;
+  // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式
+  box = elem.getBoundingClientRect();

+  // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop
+  // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确
+  // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin

-/**
- * Block parent selector component, displaying the hierarchy of the
- * current block selection as a single icon to "go up" a level.
- *
- * @return {WPComponent} Parent block selector.
- */
+  x = box.left;
+  y = box.top;

-function BlockParentSelector() {
-  const {
-    selectBlock,
-    toggleBlockHighlight
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const {
-    firstParentClientId,
-    shouldHide,
-    hasReducedUI
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockName,
-      getBlockParents,
-      getSelectedBlockClientId,
-      getSettings
-    } = select(store["a" /* store */]);
-    const {
-      hasBlockSupport
-    } = select(external_wp_blocks_["store"]);
-    const selectedBlockClientId = getSelectedBlockClientId();
-    const parents = getBlockParents(selectedBlockClientId);
-    const _firstParentClientId = parents[parents.length - 1];
-    const parentBlockName = getBlockName(_firstParentClientId);
+  // In IE, most of the time, 2 extra pixels are added to the top and left
+  // due to the implicit 2-pixel inset border.  In IE6/7 quirks mode and
+  // IE6 standards mode, this border can be overridden by setting the
+  // document element's border to zero -- thus, we cannot rely on the
+  // offset always being 2 pixels.

-    const _parentBlockType = Object(external_wp_blocks_["getBlockType"])(parentBlockName);
+  // In quirks mode, the offset can be determined by querying the body's
+  // clientLeft/clientTop, but in standards mode, it is found by querying
+  // the document element's clientLeft/clientTop.  Since we already called
+  // getClientBoundingRect we have already forced a reflow, so it is not
+  // too expensive just to query them all.

-    const settings = getSettings();
-    return {
-      firstParentClientId: _firstParentClientId,
-      shouldHide: !hasBlockSupport(_parentBlockType, '__experimentalParentSelector', true),
-      hasReducedUI: settings.hasReducedUI
-    };
-  }, []);
-  const blockInformation = Object(use_block_display_information["a" /* default */])(firstParentClientId); // Allows highlighting the parent block outline when focusing or hovering
-  // the parent block selector within the child.
+  // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的
+  // 窗口边框标准是设 documentElement ,quirks 时设置 body
+  // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去
+  // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置
+  // 标准 ie 下 docElem.clientTop 就是 border-top
+  // ie7 html 即窗口边框改变不了。永远为 2
+  // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0

-  const nodeRef = Object(external_wp_element_["useRef"])();
-  const {
-    gestures: showMoversGestures
-  } = useShowMoversGestures({
-    ref: nodeRef,
+  x -= docElem.clientLeft || body.clientLeft || 0;
+  y -= docElem.clientTop || body.clientTop || 0;

-    onChange(isFocused) {
-      if (isFocused && hasReducedUI) {
-        return;
-      }
+  return {
+    left: x,
+    top: y
+  };
+}

-      toggleBlockHighlight(firstParentClientId, isFocused);
+function getScroll(w, top) {
+  var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];
+  var method = 'scroll' + (top ? 'Top' : 'Left');
+  if (typeof ret !== 'number') {
+    var d = w.document;
+    // ie6,7,8 standard mode
+    ret = d.documentElement[method];
+    if (typeof ret !== 'number') {
+      // quirks mode
+      ret = d.body[method];
     }
+  }
+  return ret;
+}

-  });
+function getScrollLeft(w) {
+  return getScroll(w);
+}

-  if (shouldHide || firstParentClientId === undefined) {
-    return null;
+function getScrollTop(w) {
+  return getScroll(w, true);
+}
+
+function getOffset(el) {
+  var pos = getClientPosition(el);
+  var doc = el.ownerDocument;
+  var w = doc.defaultView || doc.parentWindow;
+  pos.left += getScrollLeft(w);
+  pos.top += getScrollTop(w);
+  return pos;
+}
+function _getComputedStyle(elem, name, computedStyle_) {
+  var val = '';
+  var d = elem.ownerDocument;
+  var computedStyle = computedStyle_ || d.defaultView.getComputedStyle(elem, null);
+
+  // https://github.com/kissyteam/kissy/issues/61
+  if (computedStyle) {
+    val = computedStyle.getPropertyValue(name) || computedStyle[name];
   }

-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-    className: "block-editor-block-parent-selector",
-    key: firstParentClientId,
-    ref: nodeRef
-  }, showMoversGestures), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    className: "block-editor-block-parent-selector__button",
-    onClick: () => selectBlock(firstParentClientId),
-    label: Object(external_wp_i18n_["sprintf"])(
-    /* translators: %s: Name of the block's parent. */
-    Object(external_wp_i18n_["__"])('Select %s'), blockInformation.title),
-    showTooltip: true,
-    icon: Object(external_wp_element_["createElement"])(block_icon["a" /* default */], {
-      icon: blockInformation.icon
-    })
-  }));
+  return val;
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/stack.js
-var stack = __webpack_require__("wzfx");
+var _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');
+var RE_POS = /^(top|right|bottom|left)$/;
+var CURRENT_STYLE = 'currentStyle';
+var RUNTIME_STYLE = 'runtimeStyle';
+var LEFT = 'left';
+var PX = 'px';

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-title/index.js
-var block_title = __webpack_require__("f8JO");
+function _getComputedStyleIE(elem, name) {
+  // currentStyle maybe null
+  // http://msdn.microsoft.com/en-us/library/ms535231.aspx
+  var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js + 2 modules
-var block_preview = __webpack_require__("REKd");
+  // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值
+  // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19
+  // 在 ie 下不对,需要直接用 offset 方式
+  // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/preview-block-popover.js
+  // From the awesome hack by Dean Edwards
+  // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
+  // If we're not dealing with a regular pixel number
+  // but a number that has a weird ending, we need to convert it to pixels
+  // exclude left right for relativity
+  if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {
+    // Remember the original values
+    var style = elem.style;
+    var left = style[LEFT];
+    var rsLeft = elem[RUNTIME_STYLE][LEFT];

+    // prevent flashing of content
+    elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];

-/**
- * WordPress dependencies
- */
+    // Put in the new values to get a computed value out
+    style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;
+    ret = style.pixelLeft + PX;

+    // Revert the changed values
+    style[LEFT] = left;

-/**
- * Internal dependencies
- */
+    elem[RUNTIME_STYLE][LEFT] = rsLeft;
+  }
+  return ret === '' ? 'auto' : ret;
+}

+var getComputedStyleX = undefined;
+if (typeof window !== 'undefined') {
+  getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;
+}

-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", {
-    className: "block-editor-block-switcher__popover__preview__container"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
-    className: "block-editor-block-switcher__preview__popover",
-    position: "bottom right",
-    focusOnMount: false
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-switcher__preview"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-switcher__preview-title"
-  }, Object(external_wp_i18n_["__"])('Preview')), Object(external_wp_element_["createElement"])(block_preview["a" /* default */], {
-    viewportWidth: 500,
-    blocks: blocks
-  })))));
+function each(arr, fn) {
+  for (var i = 0; i < arr.length; i++) {
+    fn(arr[i]);
+  }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/block-transformations-menu.js
+function isBorderBoxFn(elem) {
+  return getComputedStyleX(elem, 'boxSizing') === 'border-box';
+}

+var BOX_MODELS = ['margin', 'border', 'padding'];
+var CONTENT_INDEX = -1;
+var PADDING_INDEX = 2;
+var BORDER_INDEX = 1;
+var MARGIN_INDEX = 0;

-/**
- * WordPress dependencies
- */
+function swap(elem, options, callback) {
+  var old = {};
+  var style = elem.style;
+  var name = undefined;
+
+  // Remember the old values, and insert the new ones
+  for (name in options) {
+    if (options.hasOwnProperty(name)) {
+      old[name] = style[name];
+      style[name] = options[name];
+    }
+  }

+  callback.call(elem);

+  // Revert the old values
+  for (name in options) {
+    if (options.hasOwnProperty(name)) {
+      style[name] = old[name];
+    }
+  }
+}

+function getPBMWidth(elem, props, which) {
+  var value = 0;
+  var prop = undefined;
+  var j = undefined;
+  var i = undefined;
+  for (j = 0; j < props.length; j++) {
+    prop = props[j];
+    if (prop) {
+      for (i = 0; i < which.length; i++) {
+        var cssProp = undefined;
+        if (prop === 'border') {
+          cssProp = prop + which[i] + 'Width';
+        } else {
+          cssProp = prop + which[i];
+        }
+        value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;
+      }
+    }
+  }
+  return value;
+}

 /**
- * Internal dependencies
+ * A crude way of determining if an object is a window
+ * @member util
  */
+function isWindow(obj) {
+  // must use == for ie8
+  /* eslint eqeqeq:0 */
+  return obj != null && obj == obj.window;
+}

+var domUtils = {};

+each(['Width', 'Height'], function (name) {
+  domUtils['doc' + name] = function (refWin) {
+    var d = refWin.document;
+    return Math.max(
+    // firefox chrome documentElement.scrollHeight< body.scrollHeight
+    // ie standard mode : documentElement.scrollHeight> body.scrollHeight
+    d.documentElement['scroll' + name],
+    // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?
+    d.body['scroll' + name], domUtils['viewport' + name](d));
+  };

+  domUtils['viewport' + name] = function (win) {
+    // pc browser includes scrollbar in window.innerWidth
+    var prop = 'client' + name;
+    var doc = win.document;
+    var body = doc.body;
+    var documentElement = doc.documentElement;
+    var documentElementProp = documentElement[prop];
+    // 标准模式取 documentElement
+    // backcompat 取 body
+    return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;
+  };
+});

-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'),
-    className: className
-  }, hoveredTransformItemName && Object(external_wp_element_["createElement"])(PreviewBlockPopover, {
-    blocks: Object(external_wp_blocks_["switchToBlockType"])(blocks, hoveredTransformItemName)
-  }), possibleBlockTransformations.map(item => {
-    const {
-      name,
-      icon,
-      title,
-      isDisabled
-    } = item;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-      key: name,
-      className: Object(external_wp_blocks_["getBlockMenuDefaultClassName"])(name),
-      onClick: event => {
-        event.preventDefault();
-        onSelect(name);
-      },
-      disabled: isDisabled,
-      onMouseLeave: () => setHoveredTransformItemName(null),
-      onMouseEnter: () => setHoveredTransformItemName(name)
-    }, Object(external_wp_element_["createElement"])(block_icon["a" /* default */], {
-      icon: icon,
-      showColors: true
-    }), title);
-  }));
-};
-
-/* harmony default export */ var block_transformations_menu = (BlockTransformationsMenu);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/index.js + 1 modules
-var block_styles = __webpack_require__("7NR9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/block-styles-menu.js
-
-
-/**
- * WordPress dependencies
+/*
+ 得到元素的大小信息
+ @param elem
+ @param name
+ @param {String} [extra]  'padding' : (css width) + padding
+ 'border' : (css width) + padding + border
+ 'margin' : (css width) + padding + border + margin
  */
+function getWH(elem, name, extra) {
+  if (isWindow(elem)) {
+    return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);
+  } else if (elem.nodeType === 9) {
+    return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);
+  }
+  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
+  var borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;
+  var computedStyle = getComputedStyleX(elem);
+  var isBorderBox = isBorderBoxFn(elem, computedStyle);
+  var cssBoxValue = 0;
+  if (borderBoxValue == null || borderBoxValue <= 0) {
+    borderBoxValue = undefined;
+    // Fall back to computed then un computed css if necessary
+    cssBoxValue = getComputedStyleX(elem, name);
+    if (cssBoxValue == null || Number(cssBoxValue) < 0) {
+      cssBoxValue = elem.style[name] || 0;
+    }
+    // Normalize '', auto, and prepare for extra
+    cssBoxValue = parseFloat(cssBoxValue) || 0;
+  }
+  if (extra === undefined) {
+    extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;
+  }
+  var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;
+  var val = borderBoxValue || cssBoxValue;
+  if (extra === CONTENT_INDEX) {
+    if (borderBoxValueOrIsBorderBox) {
+      return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);
+    }
+    return cssBoxValue;
+  }
+  if (borderBoxValueOrIsBorderBox) {
+    var padding = extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle);
+    return val + (extra === BORDER_INDEX ? 0 : padding);
+  }
+  return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);
+}

+var cssShow = {
+  position: 'absolute',
+  visibility: 'hidden',
+  display: 'block'
+};

+// fix #119 : https://github.com/kissyteam/kissy/issues/119
+function getWHIgnoreDisplay(elem) {
+  var val = undefined;
+  var args = arguments;
+  // in case elem is window
+  // elem.offsetWidth === undefined
+  if (elem.offsetWidth !== 0) {
+    val = getWH.apply(undefined, args);
+  } else {
+    swap(elem, cssShow, function () {
+      val = getWH.apply(undefined, args);
+    });
+  }
+  return val;
+}

+function css(el, name, v) {
+  var value = v;
+  if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {
+    for (var i in name) {
+      if (name.hasOwnProperty(i)) {
+        css(el, i, name[i]);
+      }
+    }
+    return undefined;
+  }
+  if (typeof value !== 'undefined') {
+    if (typeof value === 'number') {
+      value += 'px';
+    }
+    el.style[name] = value;
+    return undefined;
+  }
+  return getComputedStyleX(el, name);
+}

+each(['width', 'height'], function (name) {
+  var first = name.charAt(0).toUpperCase() + name.slice(1);
+  domUtils['outer' + first] = function (el, includeMargin) {
+    return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);
+  };
+  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];

-/**
- * Internal dependencies
- */
+  domUtils[name] = function (elem, val) {
+    if (val !== undefined) {
+      if (elem) {
+        var computedStyle = getComputedStyleX(elem);
+        var isBorderBox = isBorderBoxFn(elem);
+        if (isBorderBox) {
+          val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);
+        }
+        return css(elem, name, val);
+      }
+      return undefined;
+    }
+    return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);
+  };
+});

+// 设置 elem 相对 elem.ownerDocument 的坐标
+function setOffset(elem, offset) {
+  // set position first, in-case top/left are set even on static elem
+  if (css(elem, 'position') === 'static') {
+    elem.style.position = 'relative';
+  }

+  var old = getOffset(elem);
+  var ret = {};
+  var current = undefined;
+  var key = undefined;

-function BlockStylesMenu(_ref) {
-  let {
-    hoveredBlock,
-    onSwitch
-  } = _ref;
-  const {
-    name,
-    clientId
-  } = hoveredBlock;
-  const [hoveredClassName, setHoveredClassName] = Object(external_wp_element_["useState"])();
-  const blockType = Object(external_wp_data_["useSelect"])(select => select(external_wp_blocks_["store"]).getBlockType(name), [name]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Styles'),
-    className: "block-editor-block-switcher__styles__menugroup"
-  }, hoveredClassName && Object(external_wp_element_["createElement"])(PreviewBlockPopover, {
-    blocks: blockType && blockType.example ? Object(external_wp_blocks_["getBlockFromExample"])(blockType.name, {
-      attributes: { ...blockType.example.attributes,
-        className: hoveredClassName
-      },
-      innerBlocks: blockType.example.innerBlocks
-    }) : Object(external_wp_blocks_["cloneBlock"])(hoveredBlock, {
-      className: hoveredClassName
-    })
-  }), Object(external_wp_element_["createElement"])(block_styles["a" /* default */], {
-    clientId: clientId,
-    onSwitch: onSwitch,
-    onHoverClassName: setHoveredClassName,
-    itemRole: "menuitem"
-  }));
+  for (key in offset) {
+    if (offset.hasOwnProperty(key)) {
+      current = parseFloat(css(elem, key)) || 0;
+      ret[key] = current + offset[key] - old[key];
+    }
+  }
+  css(elem, ret);
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
-var chevron_right = __webpack_require__("1iEr");
+module.exports = _extends({
+  getWindow: function getWindow(node) {
+    var doc = node.ownerDocument || node;
+    return doc.defaultView || doc.parentWindow;
+  },
+  offset: function offset(el, value) {
+    if (typeof value !== 'undefined') {
+      setOffset(el, value);
+    } else {
+      return getOffset(el);
+    }
+  },

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/utils.js
-/**
- * WordPress dependencies
- */
+  isWindow: isWindow,
+  each: each,
+  css: css,
+  clone: function clone(obj) {
+    var ret = {};
+    for (var i in obj) {
+      if (obj.hasOwnProperty(i)) {
+        ret[i] = obj[i];
+      }
+    }
+    var overflow = obj.overflow;
+    if (overflow) {
+      for (var i in obj) {
+        if (obj.hasOwnProperty(i)) {
+          ret.overflow[i] = obj.overflow[i];
+        }
+      }
+    }
+    return ret;
+  },
+  scrollLeft: function scrollLeft(w, v) {
+    if (isWindow(w)) {
+      if (v === undefined) {
+        return getScrollLeft(w);
+      }
+      window.scrollTo(v, getScrollTop(w));
+    } else {
+      if (v === undefined) {
+        return w.scrollLeft;
+      }
+      w.scrollLeft = v;
+    }
+  },
+  scrollTop: function scrollTop(w, v) {
+    if (isWindow(w)) {
+      if (v === undefined) {
+        return getScrollTop(w);
+      }
+      window.scrollTo(getScrollLeft(w), v);
+    } else {
+      if (v === undefined) {
+        return w.scrollTop;
+      }
+      w.scrollTop = v;
+    }
+  },

-/**
- * Try to find a matching block by a block's name in a provided
- * block. We recurse through InnerBlocks and return the reference
- * of the matched block (it could be an InnerBlock).
- * If no match is found return nothing.
- *
- * @param {WPBlock} block             The block to try to find a match.
- * @param {string}  selectedBlockName The block's name to use for matching condition.
- * @param {Set}     consumedBlocks    A set holding the previously matched/consumed blocks.
- *
- * @return {WPBlock?} The matched block if found or nothing(`undefined`).
- */
+  viewportWidth: 0,
+  viewportHeight: 0
+}, domUtils);

-const getMatchingBlockByName = function (block, selectedBlockName) {
-  let consumedBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new Set();
-  const {
-    clientId,
-    name,
-    innerBlocks = []
-  } = block; // Check if block has been consumed already.
+/***/ }),

-  if (consumedBlocks.has(clientId)) return;
-  if (name === selectedBlockName) return block; // Try to find a matching block from InnerBlocks recursively.
+/***/ 8575:
+/***/ (function(module) {

-  for (const innerBlock of innerBlocks) {
-    const match = getMatchingBlockByName(innerBlock, selectedBlockName, consumedBlocks);
-    if (match) return match;
+if (typeof Object.create === 'function') {
+  // implementation from standard node.js 'util' module
+  module.exports = function inherits(ctor, superCtor) {
+    if (superCtor) {
+      ctor.super_ = superCtor
+      ctor.prototype = Object.create(superCtor.prototype, {
+        constructor: {
+          value: ctor,
+          enumerable: false,
+          writable: true,
+          configurable: true
+        }
+      })
+    }
+  };
+} else {
+  // old school shim for old browsers
+  module.exports = function inherits(ctor, superCtor) {
+    if (superCtor) {
+      ctor.super_ = superCtor
+      var TempCtor = function () {}
+      TempCtor.prototype = superCtor.prototype
+      ctor.prototype = new TempCtor()
+      ctor.prototype.constructor = ctor
+    }
   }
-};
-/**
- * Find and return the block attributes to retain through
- * the transformation, based on Block Type's `role:content`
- * attributes. If no `role:content` attributes exist,
- * return selected block's attributes.
- *
- * @param {string} name       Block type's namespaced name.
- * @param {Object} attributes Selected block's attributes.
- * @return {Object} The block's attributes to retain.
- */
+}

-const getRetainedBlockAttributes = (name, attributes) => {
-  const contentAttributes = Object(external_wp_blocks_["__experimentalGetBlockAttributesNamesByRole"])(name, 'content');
-  if (!(contentAttributes !== null && contentAttributes !== void 0 && contentAttributes.length)) return attributes;
-  return contentAttributes.reduce((_accumulator, attribute) => {
-    if (attributes[attribute]) _accumulator[attribute] = attributes[attribute];
-    return _accumulator;
-  }, {});
-};

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/use-transformed-patterns.js
-/**
- * WordPress dependencies
- */
+/***/ }),
+
+/***/ 9894:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+// Load in dependencies
+var computedStyle = __webpack_require__(4827);

 /**
- * Internal dependencies
+ * Calculate the `line-height` of a given node
+ * @param {HTMLElement} node Element to calculate line height of. Must be in the DOM.
+ * @returns {Number} `line-height` of the element in pixels
  */
+function lineHeight(node) {
+  // Grab the line-height via style
+  var lnHeightStr = computedStyle(node, 'line-height');
+  var lnHeight = parseFloat(lnHeightStr, 10);

+  // If the lineHeight did not contain a unit (i.e. it was numeric), convert it to ems (e.g. '2.3' === '2.3em')
+  if (lnHeightStr === lnHeight + '') {
+    // Save the old lineHeight style and update the em unit to the element
+    var _lnHeightStyle = node.style.lineHeight;
+    node.style.lineHeight = lnHeightStr + 'em';

-/**
- * Mutate the matched block's attributes by getting
- * which block type's attributes to retain and prioritize
- * them in the merging of the attributes.
- *
- * @param {WPBlock} match         The matched block.
- * @param {WPBlock} selectedBlock The selected block.
- * @return {void}
- */
+    // Calculate the em based height
+    lnHeightStr = computedStyle(node, 'line-height');
+    lnHeight = parseFloat(lnHeightStr, 10);

-const transformMatchingBlock = (match, selectedBlock) => {
-  // Get the block attributes to retain through the transformation.
-  const retainedBlockAttributes = getRetainedBlockAttributes(selectedBlock.name, selectedBlock.attributes);
-  match.attributes = { ...match.attributes,
-    ...retainedBlockAttributes
-  };
-};
-/**
- * By providing the selected blocks and pattern's blocks
- * find the matching blocks, transform them and return them.
- * If not all selected blocks are matched, return nothing.
- *
- * @param {WPBlock[]} selectedBlocks The selected blocks.
- * @param {WPBlock[]} patternBlocks  The pattern's blocks.
- * @return {WPBlock[]|void} The transformed pattern's blocks or undefined if not all selected blocks have been matched.
- */
+    // Revert the lineHeight style
+    if (_lnHeightStyle) {
+      node.style.lineHeight = _lnHeightStyle;
+    } else {
+      delete node.style.lineHeight;
+    }
+  }

-const getPatternTransformedBlocks = (selectedBlocks, patternBlocks) => {
-  // Clone Pattern's blocks to produce new clientIds and be able to mutate the matches.
-  const _patternBlocks = patternBlocks.map(block => Object(external_wp_blocks_["cloneBlock"])(block));
-  /**
-   * Keep track of the consumed pattern blocks.
-   * This is needed because we loop the selected blocks
-   * and for example we may have selected two paragraphs and
-   * the pattern's blocks could have more `paragraphs`.
-   */
+  // If the lineHeight is in `pt`, convert it to pixels (4px for 3pt)
+  // DEV: `em` units are converted to `pt` in IE6
+  // Conversion ratio from https://developer.mozilla.org/en-US/docs/Web/CSS/length
+  if (lnHeightStr.indexOf('pt') !== -1) {
+    lnHeight *= 4;
+    lnHeight /= 3;
+  // Otherwise, if the lineHeight is in `mm`, convert it to pixels (96px for 25.4mm)
+  } else if (lnHeightStr.indexOf('mm') !== -1) {
+    lnHeight *= 96;
+    lnHeight /= 25.4;
+  // Otherwise, if the lineHeight is in `cm`, convert it to pixels (96px for 2.54cm)
+  } else if (lnHeightStr.indexOf('cm') !== -1) {
+    lnHeight *= 96;
+    lnHeight /= 2.54;
+  // Otherwise, if the lineHeight is in `in`, convert it to pixels (96px for 1in)
+  } else if (lnHeightStr.indexOf('in') !== -1) {
+    lnHeight *= 96;
+  // Otherwise, if the lineHeight is in `pc`, convert it to pixels (12pt for 1pc)
+  } else if (lnHeightStr.indexOf('pc') !== -1) {
+    lnHeight *= 16;
+  }

+  // Continue our computation
+  lnHeight = Math.round(lnHeight);

-  const consumedBlocks = new Set();
+  // If the line-height is "normal", calculate by font-size
+  if (lnHeightStr === 'normal') {
+    // Create a temporary node
+    var nodeName = node.nodeName;
+    var _node = document.createElement(nodeName);
+    _node.innerHTML = '&nbsp;';

-  for (const selectedBlock of selectedBlocks) {
-    let isMatch = false;
+    // If we have a text area, reset it to only 1 row
+    // https://github.com/twolfson/line-height/issues/4
+    if (nodeName.toUpperCase() === 'TEXTAREA') {
+      _node.setAttribute('rows', '1');
+    }

-    for (const patternBlock of _patternBlocks) {
-      const match = getMatchingBlockByName(patternBlock, selectedBlock.name, consumedBlocks);
-      if (!match) continue;
-      isMatch = true;
-      consumedBlocks.add(match.clientId); // We update (mutate) the matching pattern block.
+    // Set the font-size of the element
+    var fontSizeStr = computedStyle(node, 'font-size');
+    _node.style.fontSize = fontSizeStr;

-      transformMatchingBlock(match, selectedBlock); // No need to loop through other pattern's blocks.
+    // Remove default padding/border which can affect offset height
+    // https://github.com/twolfson/line-height/issues/4
+    // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight
+    _node.style.padding = '0px';
+    _node.style.border = '0px';

-      break;
-    } // Bail eary if a selected block has not been matched.
+    // Append it to the body
+    var body = document.body;
+    body.appendChild(_node);

+    // Assume the line height of the element is the height
+    var height = _node.offsetHeight;
+    lnHeight = height;

-    if (!isMatch) return;
+    // Remove our child from the DOM
+    body.removeChild(_node);
   }

-  return _patternBlocks;
-};
-/**
- * @typedef {WPBlockPattern & {transformedBlocks: WPBlock[]}} TransformedBlockPattern
- */
+  // Return the calculated height
+  return lnHeight;
+}

-/**
- * Custom hook that accepts patterns from state and the selected
- * blocks and tries to match these with the pattern's blocks.
- * If all selected blocks are matched with a Pattern's block,
- * we transform them by retaining block's attributes with `role:content`.
- * The transformed pattern's blocks are set to a new pattern
- * property `transformedBlocks`.
- *
- * @param {WPBlockPattern[]} patterns       Patterns from state.
- * @param {WPBlock[]}        selectedBlocks The currently selected blocks.
- * @return {TransformedBlockPattern[]} Returns the eligible matched patterns with all the selected blocks.
- */
-// TODO tests
+// Export lineHeight
+module.exports = lineHeight;

-const useTransformedPatterns = (patterns, selectedBlocks) => {
-  return Object(external_wp_element_["useMemo"])(() => patterns.reduce((accumulator, _pattern) => {
-    const transformedBlocks = getPatternTransformedBlocks(selectedBlocks, _pattern.blocks);

-    if (transformedBlocks) {
-      accumulator.push({ ..._pattern,
-        transformedBlocks
-      });
-    }
+/***/ }),

-    return accumulator;
-  }, []), [patterns, selectedBlocks]);
-};
+/***/ 7970:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-/* harmony default export */ var use_transformed_patterns = (useTransformedPatterns);
+module.exports = __webpack_require__(195);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/pattern-transformations-menu.js

+/***/ }),

+/***/ 3110:
+/***/ (function(module) {

+"use strict";
 /**
- * WordPress dependencies
+ * Copyright (c) 2015, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ * @providesModule ExecutionEnvironment
  */

+/*jslint evil: true */



+var canUseDOM = !!(
+  typeof window !== 'undefined' &&
+  window.document &&
+  window.document.createElement
+);

-/**
- * Internal dependencies
- */
-
+/**
+ * Simple, lightweight module assisting with the detection and context of
+ * Worker. Helps avoid circular dependencies and allows code to reason about
+ * whether or not they are in a Worker, even if they never include the main
+ * `ReactWorker` dependency.
+ */
+var ExecutionEnvironment = {

+  canUseDOM: canUseDOM,

+  canUseWorkers: typeof Worker !== 'undefined',

-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;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    className: "block-editor-block-switcher__pattern__transforms__menugroup"
-  }, showTransforms && Object(external_wp_element_["createElement"])(PreviewPatternsPopover, {
-    patterns: patterns,
-    onSelect: onSelect
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: event => {
-      event.preventDefault();
-      setShowTransforms(!showTransforms);
-    },
-    icon: chevron_right["a" /* default */]
-  }, Object(external_wp_i18n_["__"])('Patterns')));
-}
+  canUseEventListeners:
+    canUseDOM && !!(window.addEventListener || window.attachEvent),

-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", {
-    className: "block-editor-block-switcher__popover__preview__container"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
-    className: "block-editor-block-switcher__preview__popover",
-    position: "bottom right"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-switcher__preview"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-switcher__preview-title"
-  }, Object(external_wp_i18n_["__"])('Preview')), Object(external_wp_element_["createElement"])(BlockPatternsList, {
-    patterns: patterns,
-    onSelect: onSelect
-  })))));
-}
+  canUseViewport: canUseDOM && !!window.screen,

-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",
-    className: "block-editor-block-switcher__preview-patterns-container",
-    "aria-label": Object(external_wp_i18n_["__"])('Patterns list')
-  }), patterns.map(pattern => Object(external_wp_element_["createElement"])(BlockPattern, {
-    key: pattern.name,
-    pattern: pattern,
-    onSelect: onSelect,
-    composite: composite
-  })));
-}
+  isInWorker: !canUseDOM // For now, this is true - might change in the future.

-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`);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: `${baseClassName}-list__list-item`,
-    "aria-label": pattern.title,
-    "aria-describedby": pattern.description ? descriptionId : undefined
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__unstableCompositeItem"], Object(esm_extends["a" /* default */])({
-    role: "option",
-    as: "div"
-  }, composite, {
-    className: `${baseClassName}-list__item`,
-    onClick: () => onSelect(pattern.transformedBlocks)
-  }), Object(external_wp_element_["createElement"])(block_preview["a" /* default */], {
-    blocks: pattern.transformedBlocks,
-    viewportWidth: pattern.viewportWidth || 500
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: `${baseClassName}-list__item-title`
-  }, pattern.title)), !!pattern.description && Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    id: descriptionId
-  }, pattern.description));
-}
+};

-/* harmony default export */ var pattern_transformations_menu = (PatternTransformationsMenu);
+module.exports = ExecutionEnvironment;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/index.js

+/***/ }),
+
+/***/ 3812:
+/***/ (function(module) {

 /**
- * External dependencies
+ * Copyright 2004-present Facebook. All Rights Reserved.
+ *
+ * @providesModule UserAgent_DEPRECATED
  */

 /**
- * WordPress dependencies
+ *  Provides entirely client-side User Agent and OS detection. You should prefer
+ *  the non-deprecated UserAgent module when possible, which exposes our
+ *  authoritative server-side PHP-based detection to the client.
+ *
+ *  Usage is straightforward:
+ *
+ *    if (UserAgent_DEPRECATED.ie()) {
+ *      //  IE
+ *    }
+ *
+ *  You can also do version checks:
+ *
+ *    if (UserAgent_DEPRECATED.ie() >= 7) {
+ *      //  IE7 or better
+ *    }
+ *
+ *  The browser functions will return NaN if the browser does not match, so
+ *  you can also do version compares the other way:
+ *
+ *    if (UserAgent_DEPRECATED.ie() < 7) {
+ *      //  IE6 or worse
+ *    }
+ *
+ *  Note that the version is a float and may include a minor version number,
+ *  so you should always use range operators to perform comparisons, not
+ *  strict equality.
+ *
+ *  **Note:** You should **strongly** prefer capability detection to browser
+ *  version detection where it's reasonable:
+ *
+ *    http://www.quirksmode.org/js/support.html
+ *
+ *  Further, we have a large number of mature wrapper functions and classes
+ *  which abstract away many browser irregularities. Check the documentation,
+ *  grep for things, or ask on javascript@lists.facebook.com before writing yet
+ *  another copy of "event || window.event".
+ *
  */

+var _populated = false;

+// Browsers
+var _ie, _firefox, _opera, _webkit, _chrome;

+// Actual IE browser for compatibility mode
+var _ie_real_version;

+// Platforms
+var _osx, _windows, _linux, _android;

+// Architectures
+var _win64;

-/**
- * Internal dependencies
- */
+// Devices
+var _iphone, _ipad, _native;

+var _mobile;

+function _populate() {
+  if (_populated) {
+    return;
+  }

+  _populated = true;

+  // To work around buggy JS libraries that can't handle multi-digit
+  // version numbers, Opera 10's user agent string claims it's Opera
+  // 9, then later includes a Version/X.Y field:
+  //
+  // Opera/9.80 (foo) Presto/2.2.15 Version/10.10
+  var uas = navigator.userAgent;
+  var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
+  var os    = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);

+  _iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
+  _ipad = /\b(iP[ao]d)/.exec(uas);
+  _android = /Android/i.exec(uas);
+  _native = /FBAN\/\w+;/i.exec(uas);
+  _mobile = /Mobile/i.exec(uas);

+  // Note that the IE team blog would have you believe you should be checking
+  // for 'Win64; x64'.  But MSDN then reveals that you can actually be coming
+  // from either x64 or ia64;  so ultimately, you should just check for Win64
+  // as in indicator of whether you're in 64-bit IE.  32-bit IE on 64-bit
+  // Windows will send 'WOW64' instead.
+  _win64 = !!(/Win64/.exec(uas));

+  if (agent) {
+    _ie = agent[1] ? parseFloat(agent[1]) : (
+          agent[5] ? parseFloat(agent[5]) : NaN);
+    // IE compatibility mode
+    if (_ie && document && document.documentMode) {
+      _ie = document.documentMode;
+    }
+    // grab the "true" ie version from the trident token if available
+    var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
+    _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;

-const BlockSwitcherDropdownMenu = _ref => {
-  let {
-    clientIds,
-    blocks
-  } = _ref;
-  const {
-    replaceBlocks
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const blockInformation = Object(use_block_display_information["a" /* default */])(blocks[0].clientId);
-  const {
-    possibleBlockTransformations,
-    canRemove,
-    hasBlockStyles,
-    icon,
-    blockTitle,
-    patterns
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _getBlockType2;
+    _firefox = agent[2] ? parseFloat(agent[2]) : NaN;
+    _opera   = agent[3] ? parseFloat(agent[3]) : NaN;
+    _webkit  = agent[4] ? parseFloat(agent[4]) : NaN;
+    if (_webkit) {
+      // We do not add the regexp to the above test, because it will always
+      // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
+      // the userAgent string.
+      agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
+      _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
+    } else {
+      _chrome = NaN;
+    }
+  } else {
+    _ie = _firefox = _opera = _chrome = _webkit = NaN;
+  }

-    const {
-      getBlockRootClientId,
-      getBlockTransformItems,
-      __experimentalGetPatternTransformItems
-    } = select(store["a" /* store */]);
-    const {
-      getBlockStyles,
-      getBlockType
-    } = select(external_wp_blocks_["store"]);
-    const {
-      canRemoveBlocks
-    } = select(store["a" /* store */]);
-    const rootClientId = getBlockRootClientId(Object(external_lodash_["castArray"])(clientIds)[0]);
-    const [{
-      name: firstBlockName
-    }] = blocks;
+  if (os) {
+    if (os[1]) {
+      // Detect OS X version.  If no version number matches, set _osx to true.
+      // Version examples:  10, 10_6_1, 10.7
+      // Parses version number as a float, taking only first two sets of
+      // digits.  If only one set of digits is found, returns just the major
+      // version number.
+      var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);

-    const _isSingleBlockSelected = blocks.length === 1;
+      _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
+    } else {
+      _osx = false;
+    }
+    _windows = !!os[2];
+    _linux   = !!os[3];
+  } else {
+    _osx = _windows = _linux = false;
+  }
+}

-    const styles = _isSingleBlockSelected && getBlockStyles(firstBlockName);
+var UserAgent_DEPRECATED = {

-    let _icon;
+  /**
+   *  Check if the UA is Internet Explorer.
+   *
+   *
+   *  @return float|NaN Version number (if match) or NaN.
+   */
+  ie: function() {
+    return _populate() || _ie;
+  },

-    if (_isSingleBlockSelected) {
-      _icon = blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.icon; // Take into account active block variations.
-    } else {
-      var _getBlockType;
+  /**
+   * Check if we're in Internet Explorer compatibility mode.
+   *
+   * @return bool true if in compatibility mode, false if
+   * not compatibility mode or not ie
+   */
+  ieCompatibilityMode: function() {
+    return _populate() || (_ie_real_version > _ie);
+  },

-      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 */];
-    }
+  /**
+   * Whether the browser is 64-bit IE.  Really, this is kind of weak sauce;  we
+   * only need this because Skype can't handle 64-bit IE yet.  We need to remove
+   * this when we don't need it -- tracked by #601957.
+   */
+  ie64: function() {
+    return UserAgent_DEPRECATED.ie() && _win64;
+  },

-    return {
-      possibleBlockTransformations: getBlockTransformItems(blocks, rootClientId),
-      canRemove: canRemoveBlocks(clientIds, rootClientId),
-      hasBlockStyles: !!(styles !== null && styles !== void 0 && styles.length),
-      icon: _icon,
-      blockTitle: (_getBlockType2 = getBlockType(firstBlockName)) === null || _getBlockType2 === void 0 ? void 0 : _getBlockType2.title,
-      patterns: __experimentalGetPatternTransformItems(blocks, rootClientId)
-    };
-  }, [clientIds, blocks, blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.icon]);
-  const isReusable = blocks.length === 1 && Object(external_wp_blocks_["isReusableBlock"])(blocks[0]);
-  const isTemplate = blocks.length === 1 && Object(external_wp_blocks_["isTemplatePart"])(blocks[0]); // Simple block tranformation based on the `Block Transforms` API.
+  /**
+   *  Check if the UA is Firefox.
+   *
+   *
+   *  @return float|NaN Version number (if match) or NaN.
+   */
+  firefox: function() {
+    return _populate() || _firefox;
+  },

-  const onBlockTransform = name => replaceBlocks(clientIds, Object(external_wp_blocks_["switchToBlockType"])(blocks, name)); // Pattern transformation through the `Patterns` API.

+  /**
+   *  Check if the UA is Opera.
+   *
+   *
+   *  @return float|NaN Version number (if match) or NaN.
+   */
+  opera: function() {
+    return _populate() || _opera;
+  },

-  const onPatternTransform = transformedBlocks => replaceBlocks(clientIds, transformedBlocks);

-  const hasPossibleBlockTransformations = !!possibleBlockTransformations.length && canRemove;
-  const hasPatternTransformation = !!(patterns !== null && patterns !== void 0 && patterns.length) && canRemove;
+  /**
+   *  Check if the UA is WebKit.
+   *
+   *
+   *  @return float|NaN Version number (if match) or NaN.
+   */
+  webkit: function() {
+    return _populate() || _webkit;
+  },

-  if (!hasBlockStyles && !hasPossibleBlockTransformations) {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-      disabled: true,
-      className: "block-editor-block-switcher__no-switcher-icon",
-      title: blockTitle,
-      icon: Object(external_wp_element_["createElement"])(block_icon["a" /* default */], {
-        icon: icon,
-        showColors: true
-      })
-    }));
-  }
+  /**
+   *  For Push
+   *  WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
+   */
+  safari: function() {
+    return UserAgent_DEPRECATED.webkit();
+  },

-  const blockSwitcherLabel = blockTitle;
-  const blockSwitcherDescription = 1 === blocks.length ? Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: block title. */
-  Object(external_wp_i18n_["__"])('%s: Change block type or style'), blockTitle) : Object(external_wp_i18n_["sprintf"])(
-  /* translators: %d: number of blocks. */
-  Object(external_wp_i18n_["_n"])('Change type of %d block', 'Change type of %d blocks', blocks.length), blocks.length);
-  const showDropDown = hasBlockStyles || hasPossibleBlockTransformations || hasPatternTransformation;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], null, toggleProps => Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    className: "block-editor-block-switcher",
-    label: blockSwitcherLabel,
-    popoverProps: {
-      position: 'bottom right',
-      isAlternate: true,
-      className: 'block-editor-block-switcher__popover'
-    },
-    icon: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(block_icon["a" /* default */], {
-      icon: icon,
-      className: "block-editor-block-switcher__toggle",
-      showColors: true
-    }), (isReusable || isTemplate) && Object(external_wp_element_["createElement"])("span", {
-      className: "block-editor-block-switcher__toggle-text"
-    }, Object(external_wp_element_["createElement"])(block_title["a" /* default */], {
-      clientId: clientIds
-    }))),
-    toggleProps: {
-      describedBy: blockSwitcherDescription,
-      ...toggleProps
-    },
-    menuProps: {
-      orientation: 'both'
-    }
-  }, _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 = _ref4 => {
-  let {
-    clientIds
-  } = _ref4;
-  const blocks = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).getBlocksByClientId(clientIds), [clientIds]);
+  /**
+   *  Check if the UA is a Chrome browser.
+   *
+   *
+   *  @return float|NaN Version number (if match) or NaN.
+   */
+  chrome : function() {
+    return _populate() || _chrome;
+  },

-  if (!blocks.length || blocks.some(block => !block)) {
-    return null;
-  }

-  return Object(external_wp_element_["createElement"])(BlockSwitcherDropdownMenu, {
-    clientIds: clientIds,
-    blocks: blocks
-  });
-};
-/* harmony default export */ var block_switcher = (BlockSwitcher);
+  /**
+   *  Check if the user is running Windows.
+   *
+   *  @return bool `true' if the user's OS is Windows.
+   */
+  windows: function() {
+    return _populate() || _windows;
+  },

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js + 4 modules
-var block_controls = __webpack_require__("fOYa");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/index.js
-var block_settings_menu = __webpack_require__("U1WI");
+  /**
+   *  Check if the user is running Mac OS X.
+   *
+   *  @return float|bool   Returns a float if a version number is detected,
+   *                       otherwise true/false.
+   */
+  osx: function() {
+    return _populate() || _osx;
+  },

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-toolbar/index.js
+  /**
+   * Check if the user is running Linux.
+   *
+   * @return bool `true' if the user's OS is some flavor of Linux.
+   */
+  linux: function() {
+    return _populate() || _linux;
+  },

+  /**
+   * Check if the user is running on an iPhone or iPod platform.
+   *
+   * @return bool `true' if the user is running some flavor of the
+   *    iPhone OS.
+   */
+  iphone: function() {
+    return _populate() || _iphone;
+  },

+  mobile: function() {
+    return _populate() || (_iphone || _ipad || _android || _mobile);
+  },

-/**
- * External dependencies
- */
+  nativeApp: function() {
+    // webviews inside of the native apps
+    return _populate() || _native;
+  },

-/**
- * WordPress dependencies
- */
+  android: function() {
+    return _populate() || _android;
+  },

+  ipad: function() {
+    return _populate() || _ipad;
+  }
+};

+module.exports = UserAgent_DEPRECATED;


+/***/ }),

+/***/ 7939:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";
 /**
- * Internal dependencies
+ * Copyright 2013-2015, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ * @providesModule isEventSupported
  */



+var ExecutionEnvironment = __webpack_require__(3110);

+var useHasFeature;
+if (ExecutionEnvironment.canUseDOM) {
+  useHasFeature =
+    document.implementation &&
+    document.implementation.hasFeature &&
+    // always returns true in newer browsers as per the standard.
+    // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
+    document.implementation.hasFeature('', '') !== true;
+}

+/**
+ * Checks if an event is supported in the current execution environment.
+ *
+ * NOTE: This will not work correctly for non-generic events such as `change`,
+ * `reset`, `load`, `error`, and `select`.
+ *
+ * Borrows from Modernizr.
+ *
+ * @param {string} eventNameSuffix Event name, e.g. "click".
+ * @param {?boolean} capture Check if the capture phase is supported.
+ * @return {boolean} True if the event is supported.
+ * @internal
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
+ */
+function isEventSupported(eventNameSuffix, capture) {
+  if (!ExecutionEnvironment.canUseDOM ||
+      capture && !('addEventListener' in document)) {
+    return false;
+  }

+  var eventName = 'on' + eventNameSuffix;
+  var isSupported = eventName in document;

+  if (!isSupported) {
+    var element = document.createElement('div');
+    element.setAttribute(eventName, 'return;');
+    isSupported = typeof element[eventName] === 'function';
+  }

-function BlockToolbar(_ref) {
-  let {
-    hideDragHandle
-  } = _ref;
-  const {
-    blockClientIds,
-    blockClientId,
-    blockType,
-    hasFixedToolbar,
-    hasReducedUI,
-    isValid,
-    isVisual
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockName,
-      getBlockMode,
-      getSelectedBlockClientIds,
-      isBlockValid,
-      getBlockRootClientId,
-      getSettings
-    } = select(store["a" /* store */]);
-    const selectedBlockClientIds = getSelectedBlockClientIds();
-    const selectedBlockClientId = selectedBlockClientIds[0];
-    const blockRootClientId = getBlockRootClientId(selectedBlockClientId);
-    const settings = getSettings();
-    return {
-      blockClientIds: selectedBlockClientIds,
-      blockClientId: selectedBlockClientId,
-      blockType: selectedBlockClientId && Object(external_wp_blocks_["getBlockType"])(getBlockName(selectedBlockClientId)),
-      hasFixedToolbar: settings.hasFixedToolbar,
-      hasReducedUI: settings.hasReducedUI,
-      rootClientId: blockRootClientId,
-      isValid: selectedBlockClientIds.every(id => isBlockValid(id)),
-      isVisual: selectedBlockClientIds.every(id => getBlockMode(id) === 'visual')
-    };
-  }, []); // Handles highlighting the current block outline on hover or focus of the
-  // block type toolbar area.
-
-  const {
-    toggleBlockHighlight
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const nodeRef = Object(external_wp_element_["useRef"])();
-  const {
-    showMovers,
-    gestures: showMoversGestures
-  } = useShowMoversGestures({
-    ref: nodeRef,
-
-    onChange(isFocused) {
-      if (isFocused && hasReducedUI) {
-        return;
-      }
-
-      toggleBlockHighlight(blockClientId, isFocused);
-    }
-
-  }); // Account for the cases where the block toolbar is rendered within the
-  // header area and not contextually to the block.
-
-  const displayHeaderToolbar = Object(external_wp_compose_["useViewportMatch"])('medium', '<') || hasFixedToolbar;
-
-  if (blockType) {
-    if (!Object(external_wp_blocks_["hasBlockSupport"])(blockType, '__experimentalToolbar', true)) {
-      return null;
-    }
-  }
-
-  const shouldShowMovers = displayHeaderToolbar || showMovers;
-
-  if (blockClientIds.length === 0) {
-    return null;
+  if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
+    // This is the only way to test support for the `wheel` event in IE9+.
+    isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
   }

-  const shouldShowVisualToolbar = isValid && isVisual;
-  const isMultiToolbar = blockClientIds.length > 1;
-  const classes = classnames_default()('block-editor-block-toolbar', shouldShowMovers && 'is-showing-movers');
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classes
-  }, !isMultiToolbar && !displayHeaderToolbar && Object(external_wp_element_["createElement"])(BlockParentSelector, {
-    clientIds: blockClientIds
-  }), Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-    ref: nodeRef
-  }, showMoversGestures), (shouldShowVisualToolbar || isMultiToolbar) && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], {
-    className: "block-editor-block-toolbar__block-controls"
-  }, Object(external_wp_element_["createElement"])(block_switcher, {
-    clientIds: blockClientIds
-  }), Object(external_wp_element_["createElement"])(block_mover["a" /* default */], {
-    clientIds: blockClientIds,
-    hideDragHandle: hideDragHandle || hasReducedUI
-  }))), shouldShowVisualToolbar && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(block_controls["b" /* default */].Slot, {
-    group: "parent",
-    className: "block-editor-block-toolbar__slot"
-  }), Object(external_wp_element_["createElement"])(block_controls["b" /* default */].Slot, {
-    group: "block",
-    className: "block-editor-block-toolbar__slot"
-  }), Object(external_wp_element_["createElement"])(block_controls["b" /* default */].Slot, {
-    className: "block-editor-block-toolbar__slot"
-  }), Object(external_wp_element_["createElement"])(block_controls["b" /* default */].Slot, {
-    group: "inline",
-    className: "block-editor-block-toolbar__slot"
-  }), Object(external_wp_element_["createElement"])(block_controls["b" /* default */].Slot, {
-    group: "other",
-    className: "block-editor-block-toolbar__slot"
-  })), Object(external_wp_element_["createElement"])(block_settings_menu["a" /* default */], {
-    clientIds: blockClientIds
-  }));
+  return isSupported;
 }

+module.exports = isEventSupported;
+

 /***/ }),

-/***/ "//Lo":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 195:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
 /**
- * WordPress dependencies
+ * Copyright (c) 2015, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ *
+ * @providesModule normalizeWheel
+ * @typechecks
  */

-const blockDefault = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (blockDefault);
-
-
-/***/ }),
-
-/***/ "/Hvg":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ TextTransformControl; });
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-uppercase.js


-/**
- * WordPress dependencies
- */
+var UserAgent_DEPRECATED = __webpack_require__(3812);

-const formatUppercase = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var format_uppercase = (formatUppercase);
+var isEventSupported = __webpack_require__(7939);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-lowercase.js

+// Reasonable defaults
+var PIXEL_STEP  = 10;
+var LINE_HEIGHT = 40;
+var PAGE_HEIGHT = 800;

 /**
- * WordPress dependencies
+ * Mouse wheel (and 2-finger trackpad) support on the web sucks.  It is
+ * complicated, thus this doc is long and (hopefully) detailed enough to answer
+ * your questions.
+ *
+ * If you need to react to the mouse wheel in a predictable way, this code is
+ * like your bestest friend. * hugs *
+ *
+ * As of today, there are 4 DOM event types you can listen to:
+ *
+ *   'wheel'                -- Chrome(31+), FF(17+), IE(9+)
+ *   'mousewheel'           -- Chrome, IE(6+), Opera, Safari
+ *   'MozMousePixelScroll'  -- FF(3.5 only!) (2010-2013) -- don't bother!
+ *   'DOMMouseScroll'       -- FF(0.9.7+) since 2003
+ *
+ * So what to do?  The is the best:
+ *
+ *   normalizeWheel.getEventType();
+ *
+ * In your event callback, use this code to get sane interpretation of the
+ * deltas.  This code will return an object with properties:
+ *
+ *   spinX   -- normalized spin speed (use for zoom) - x plane
+ *   spinY   -- " - y plane
+ *   pixelX  -- normalized distance (to pixels) - x plane
+ *   pixelY  -- " - y plane
+ *
+ * Wheel values are provided by the browser assuming you are using the wheel to
+ * scroll a web page by a number of lines or pixels (or pages).  Values can vary
+ * significantly on different platforms and browsers, forgetting that you can
+ * scroll at different speeds.  Some devices (like trackpads) emit more events
+ * at smaller increments with fine granularity, and some emit massive jumps with
+ * linear speed or acceleration.
+ *
+ * This code does its best to normalize the deltas for you:
+ *
+ *   - spin is trying to normalize how far the wheel was spun (or trackpad
+ *     dragged).  This is super useful for zoom support where you want to
+ *     throw away the chunky scroll steps on the PC and make those equal to
+ *     the slow and smooth tiny steps on the Mac. Key data: This code tries to
+ *     resolve a single slow step on a wheel to 1.
+ *
+ *   - pixel is normalizing the desired scroll delta in pixel units.  You'll
+ *     get the crazy differences between browsers, but at least it'll be in
+ *     pixels!
+ *
+ *   - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT.  This
+ *     should translate to positive value zooming IN, negative zooming OUT.
+ *     This matches the newer 'wheel' event.
+ *
+ * Why are there spinX, spinY (or pixels)?
+ *
+ *   - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
+ *     with a mouse.  It results in side-scrolling in the browser by default.
+ *
+ *   - spinY is what you expect -- it's the classic axis of a mouse wheel.
+ *
+ *   - I dropped spinZ/pixelZ.  It is supported by the DOM 3 'wheel' event and
+ *     probably is by browsers in conjunction with fancy 3D controllers .. but
+ *     you know.
+ *
+ * Implementation info:
+ *
+ * Examples of 'wheel' event if you scroll slowly (down) by one step with an
+ * average mouse:
+ *
+ *   OS X + Chrome  (mouse)     -    4   pixel delta  (wheelDelta -120)
+ *   OS X + Safari  (mouse)     -  N/A   pixel delta  (wheelDelta  -12)
+ *   OS X + Firefox (mouse)     -    0.1 line  delta  (wheelDelta  N/A)
+ *   Win8 + Chrome  (mouse)     -  100   pixel delta  (wheelDelta -120)
+ *   Win8 + Firefox (mouse)     -    3   line  delta  (wheelDelta -120)
+ *
+ * On the trackpad:
+ *
+ *   OS X + Chrome  (trackpad)  -    2   pixel delta  (wheelDelta   -6)
+ *   OS X + Firefox (trackpad)  -    1   pixel delta  (wheelDelta  N/A)
+ *
+ * On other/older browsers.. it's more complicated as there can be multiple and
+ * also missing delta values.
+ *
+ * The 'wheel' event is more standard:
+ *
+ * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
+ *
+ * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
+ * deltaX, deltaY and deltaZ.  Some browsers provide other values to maintain
+ * backward compatibility with older events.  Those other values help us
+ * better normalize spin speed.  Example of what the browsers provide:
+ *
+ *                          | event.wheelDelta | event.detail
+ *        ------------------+------------------+--------------
+ *          Safari v5/OS X  |       -120       |       0
+ *          Safari v5/Win7  |       -120       |       0
+ *         Chrome v17/OS X  |       -120       |       0
+ *         Chrome v17/Win7  |       -120       |       0
+ *                IE9/Win7  |       -120       |   undefined
+ *         Firefox v4/OS X  |     undefined    |       1
+ *         Firefox v4/Win7  |     undefined    |       3
+ *
  */
+function normalizeWheel(/*object*/ event) /*object*/ {
+  var sX = 0, sY = 0,       // spinX, spinY
+      pX = 0, pY = 0;       // pixelX, pixelY

-const formatLowercase = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var format_lowercase = (formatLowercase);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-capitalize.js
-
+  // Legacy
+  if ('detail'      in event) { sY = event.detail; }
+  if ('wheelDelta'  in event) { sY = -event.wheelDelta / 120; }
+  if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
+  if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }

-/**
- * WordPress dependencies
- */
+  // side scrolling on FF with DOMMouseScroll
+  if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
+    sX = sY;
+    sY = 0;
+  }

-const formatCapitalize = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var format_capitalize = (formatCapitalize);
+  pX = sX * PIXEL_STEP;
+  pY = sY * PIXEL_STEP;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/text-transform-control/index.js
+  if ('deltaY' in event) { pY = event.deltaY; }
+  if ('deltaX' in event) { pX = event.deltaX; }

+  if ((pX || pY) && event.deltaMode) {
+    if (event.deltaMode == 1) {          // delta in LINE units
+      pX *= LINE_HEIGHT;
+      pY *= LINE_HEIGHT;
+    } else {                             // delta in PAGE units
+      pX *= PAGE_HEIGHT;
+      pY *= PAGE_HEIGHT;
+    }
+  }

-/**
- * WordPress dependencies
- */
+  // Fall-back if spin cannot be determined
+  if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
+  if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }

+  return { spinX  : sX,
+           spinY  : sY,
+           pixelX : pX,
+           pixelY : pY };
+}


-const TEXT_TRANSFORMS = [{
-  name: Object(external_wp_i18n_["__"])('Uppercase'),
-  value: 'uppercase',
-  icon: format_uppercase
-}, {
-  name: Object(external_wp_i18n_["__"])('Lowercase'),
-  value: 'lowercase',
-  icon: format_lowercase
-}, {
-  name: Object(external_wp_i18n_["__"])('Capitalize'),
-  value: 'capitalize',
-  icon: format_capitalize
-}];
 /**
- * Control to facilitate text transform selections.
- *
- * @param {Object}   props          Component props.
- * @param {string}   props.value    Currently selected text transform.
- * @param {Function} props.onChange Handles change in text transform selection.
- *
- * @return {WPElement} Text transform control.
+ * The best combination if you prefer spinX + spinY normalization.  It favors
+ * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
+ * 'wheel' event, making spin speed determination impossible.
  */
+normalizeWheel.getEventType = function() /*string*/ {
+  return (UserAgent_DEPRECATED.firefox())
+           ? 'DOMMouseScroll'
+           : (isEventSupported('wheel'))
+               ? 'wheel'
+               : 'mousewheel';
+};

-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", {
-    className: "block-editor-text-transform-control__buttons"
-  }, TEXT_TRANSFORMS.map(textTransform => {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      key: textTransform.value,
-      icon: textTransform.icon,
-      isSmall: true,
-      isPressed: value === textTransform.value,
-      "aria-label": textTransform.name,
-      onClick: () => onChange(value === textTransform.value ? undefined : textTransform.value)
-    });
-  })));
-}
+module.exports = normalizeWheel;


 /***/ }),

-/***/ "/QNa":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 5372:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/constants.js
-var constants = __webpack_require__("AHN3");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/with-registry-provider.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-
 /**
- * Internal dependencies
+ * Copyright (c) 2013-present, Facebook, Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
  */



-const withRegistryProvider = Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => {
-  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
-      }, props));
-    }
+var ReactPropTypesSecret = __webpack_require__(9567);

-    const [subRegistry, setSubRegistry] = Object(external_wp_element_["useState"])(null);
-    Object(external_wp_element_["useEffect"])(() => {
-      const newRegistry = Object(external_wp_data_["createRegistry"])({}, registry);
-      newRegistry.registerStore(constants["a" /* STORE_NAME */], store["b" /* storeConfig */]);
-      setSubRegistry(newRegistry);
-    }, [registry]);
+function emptyFunction() {}
+function emptyFunctionWithReset() {}
+emptyFunctionWithReset.resetWarningCache = emptyFunction;

-    if (!subRegistry) {
-      return null;
+module.exports = function() {
+  function shim(props, propName, componentName, location, propFullName, secret) {
+    if (secret === ReactPropTypesSecret) {
+      // It is still safe when called from React.
+      return;
     }
+    var err = 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'
+    );
+    err.name = 'Invariant Violation';
+    throw err;
+  };
+  shim.isRequired = shim;
+  function getShim() {
+    return shim;
+  };
+  // Important!
+  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
+  var ReactPropTypes = {
+    array: shim,
+    bigint: shim,
+    bool: shim,
+    func: shim,
+    number: shim,
+    object: shim,
+    string: shim,
+    symbol: shim,

-    return Object(external_wp_element_["createElement"])(external_wp_data_["RegistryProvider"], {
-      value: subRegistry
-    }, Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({
-      registry: subRegistry
-    }, props)));
-  });
-}, 'withRegistryProvider');
-/* harmony default export */ var with_registry_provider = (withRegistryProvider);
+    any: shim,
+    arrayOf: getShim,
+    element: shim,
+    elementType: shim,
+    instanceOf: getShim,
+    node: shim,
+    objectOf: getShim,
+    oneOf: getShim,
+    oneOfType: getShim,
+    shape: getShim,
+    exact: getShim,

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/use-block-sync.js
-var use_block_sync = __webpack_require__("JGYp");
+    checkPropTypes: emptyFunctionWithReset,
+    resetWarningCache: emptyFunction
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/block-refs-provider.js
-var block_refs_provider = __webpack_require__("cDhi");
+  ReactPropTypes.PropTypes = ReactPropTypes;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/index.js
+  return ReactPropTypes;
+};


-/**
- * WordPress dependencies
- */
+/***/ }),

+/***/ 2652:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 /**
- * Internal dependencies
+ * Copyright (c) 2013-present, Facebook, Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
  */

-
-
-
-
-/** @typedef {import('@wordpress/data').WPDataRegistry} WPDataRegistry */
-
-function BlockEditorProvider(props) {
-  const {
-    children,
-    settings
-  } = props;
-  const {
-    updateSettings
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  Object(external_wp_element_["useEffect"])(() => {
-    updateSettings(settings);
-  }, [settings]); // Syncs the entity provider with changes in the block-editor store.
-
-  Object(use_block_sync["a" /* default */])(props);
-  return Object(external_wp_element_["createElement"])(block_refs_provider["b" /* BlockRefsProvider */], null, children);
+if (false) { var throwOnDirectAccess, ReactIs; } else {
+  // By explicitly using `prop-types` you are opting into new production behavior.
+  // http://fb.me/prop-types-in-prod
+  module.exports = __webpack_require__(5372)();
 }

-/* harmony default export */ var provider = __webpack_exports__["a"] = (with_registry_provider(BlockEditorProvider));
-

 /***/ }),

-/***/ "/lNF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 9567:
+/***/ (function(module) {

 "use strict";
-/* unused harmony export parseDropEvent */
-/* unused harmony export onBlockDrop */
-/* unused harmony export onFilesDrop */
-/* unused harmony export onHTMLDrop */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useOnBlockDrop; });
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1CF3");
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("BhPs");
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-/** @typedef {import('@wordpress/element').WPSyntheticEvent} WPSyntheticEvent */
-
 /**
- * Retrieve the data for a block drop event.
- *
- * @param {WPSyntheticEvent} event The drop event.
+ * Copyright (c) 2013-present, Facebook, Inc.
  *
- * @return {Object} An object with block drag and drop data.
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
  */

-function parseDropEvent(event) {
-  let result = {
-    srcRootClientId: null,
-    srcClientIds: null,
-    srcIndex: null,
-    type: null,
-    blocks: null
-  };
-
-  if (!event.dataTransfer) {
-    return result;
-  }

-  try {
-    result = Object.assign(result, JSON.parse(event.dataTransfer.getData('wp-blocks')));
-  } catch (err) {
-    return result;
-  }

-  return result;
-}
-/**
- * A function that returns an event handler function for block drop events.
- *
- * @param {string}   targetRootClientId        The root client id where the block(s) will be inserted.
- * @param {number}   targetBlockIndex          The index where the block(s) will be inserted.
- * @param {Function} getBlockIndex             A function that gets the index of a block.
- * @param {Function} getClientIdsOfDescendants A function that gets the client ids of descendant blocks.
- * @param {Function} moveBlocksToPosition      A function that moves blocks.
- * @param {Function} insertBlocks              A function that inserts blocks.
- * @param {Function} clearSelectedBlock        A function that clears block selection.
- * @return {Function} The event handler for a block drop event.
- */
+var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';

-function onBlockDrop(targetRootClientId, targetBlockIndex, getBlockIndex, getClientIdsOfDescendants, moveBlocksToPosition, insertBlocks, clearSelectedBlock) {
-  return event => {
-    const {
-      srcRootClientId: sourceRootClientId,
-      srcClientIds: sourceClientIds,
-      type: dropType,
-      blocks
-    } = parseDropEvent(event); // If the user is inserting a block
+module.exports = ReactPropTypesSecret;

-    if (dropType === 'inserter') {
-      clearSelectedBlock();
-      const blocksToInsert = blocks.map(block => Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__["cloneBlock"])(block));
-      insertBlocks(blocksToInsert, targetBlockIndex, targetRootClientId, true, null);
-    } // If the user is moving a block

+/***/ }),

-    if (dropType === 'block') {
-      const sourceBlockIndex = getBlockIndex(sourceClientIds[0]); // If the user is dropping to the same position, return early.
+/***/ 5438:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-      if (sourceRootClientId === targetRootClientId && sourceBlockIndex === targetBlockIndex) {
-        return;
-      } // If the user is attempting to drop a block within its own
-      // nested blocks, return early as this would create infinite
-      // recursion.
+"use strict";

-
-      if (sourceClientIds.includes(targetRootClientId) || getClientIdsOfDescendants(sourceClientIds).some(id => id === targetRootClientId)) {
-        return;
-      }
-
-      const isAtSameLevel = sourceRootClientId === targetRootClientId;
-      const draggedBlockCount = sourceClientIds.length; // If the block is kept at the same level and moved downwards,
-      // subtract to take into account that the blocks being dragged
-      // were removed from the block list above the insertion point.
-
-      const insertIndex = isAtSameLevel && sourceBlockIndex < targetBlockIndex ? targetBlockIndex - draggedBlockCount : targetBlockIndex;
-      moveBlocksToPosition(sourceClientIds, sourceRootClientId, targetRootClientId, insertIndex);
-    }
-  };
-}
-/**
- * A function that returns an event handler function for block-related file drop events.
- *
- * @param {string}   targetRootClientId    The root client id where the block(s) will be inserted.
- * @param {number}   targetBlockIndex      The index where the block(s) will be inserted.
- * @param {boolean}  hasUploadPermissions  Whether the user has upload permissions.
- * @param {Function} updateBlockAttributes A function that updates a block's attributes.
- * @param {Function} canInsertBlockType    A function that returns checks whether a block type can be inserted.
- * @param {Function} insertBlocks          A function that inserts blocks.
- *
- * @return {Function} The event handler for a block-related file drop event.
- */
-
-function onFilesDrop(targetRootClientId, targetBlockIndex, hasUploadPermissions, updateBlockAttributes, canInsertBlockType, insertBlocks) {
-  return files => {
-    if (!hasUploadPermissions) {
-      return;
-    }
-
-    const transformation = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__["findTransform"])(Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__["getBlockTransforms"])('from'), transform => transform.type === 'files' && canInsertBlockType(transform.blockName, targetRootClientId) && transform.isMatch(files));
-
-    if (transformation) {
-      const blocks = transformation.transform(files, updateBlockAttributes);
-      insertBlocks(blocks, targetBlockIndex, targetRootClientId);
-    }
-  };
-}
-/**
- * A function that returns an event handler function for block-related HTML drop events.
- *
- * @param {string}   targetRootClientId The root client id where the block(s) will be inserted.
- * @param {number}   targetBlockIndex   The index where the block(s) will be inserted.
- * @param {Function} insertBlocks       A function that inserts blocks.
- *
- * @return {Function} The event handler for a block-related HTML drop event.
- */
-
-function onHTMLDrop(targetRootClientId, targetBlockIndex, insertBlocks) {
-  return HTML => {
-    const blocks = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__["pasteHandler"])({
-      HTML,
-      mode: 'BLOCKS'
-    });
-
-    if (blocks.length) {
-      insertBlocks(blocks, targetBlockIndex, targetRootClientId);
+var __extends = (this && this.__extends) || (function () {
+    var extendStatics = Object.setPrototypeOf ||
+        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    return function (d, b) {
+        extendStatics(d, b);
+        function __() { this.constructor = d; }
+        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+    };
+})();
+var __assign = (this && this.__assign) || Object.assign || function(t) {
+    for (var s, i = 1, n = arguments.length; i < n; i++) {
+        s = arguments[i];
+        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
+            t[p] = s[p];
     }
-  };
-}
+    return t;
+};
+var __rest = (this && this.__rest) || function (s, e) {
+    var t = {};
+    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
+        t[p] = s[p];
+    if (s != null && typeof Object.getOwnPropertySymbols === "function")
+        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
+            t[p[i]] = s[p[i]];
+    return t;
+};
+exports.__esModule = true;
+var React = __webpack_require__(9196);
+var PropTypes = __webpack_require__(2652);
+var autosize = __webpack_require__(6411);
+var _getLineHeight = __webpack_require__(9894);
+var getLineHeight = _getLineHeight;
+var RESIZED = "autosize:resized";
 /**
- * A React hook for handling block drop events.
- *
- * @param {string} targetRootClientId The root client id where the block(s) will be inserted.
- * @param {number} targetBlockIndex   The index where the block(s) will be inserted.
- *
- * @return {Object} An object that contains the event handlers `onDrop`, `onFilesDrop` and `onHTMLDrop`.
+ * A light replacement for built-in textarea component
+ * which automaticaly adjusts its height to match the content
  */
-
-function useOnBlockDrop(targetRootClientId, targetBlockIndex) {
-  const hasUploadPermissions = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(select => select(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]).getSettings().mediaUpload, []);
-  const {
-    canInsertBlockType,
-    getBlockIndex,
-    getClientIdsOfDescendants
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]);
-  const {
-    insertBlocks,
-    moveBlocksToPosition,
-    updateBlockAttributes,
-    clearSelectedBlock
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]);
-
-  const _onDrop = onBlockDrop(targetRootClientId, targetBlockIndex, getBlockIndex, getClientIdsOfDescendants, moveBlocksToPosition, insertBlocks, clearSelectedBlock);
-
-  const _onFilesDrop = onFilesDrop(targetRootClientId, targetBlockIndex, hasUploadPermissions, updateBlockAttributes, canInsertBlockType, insertBlocks);
-
-  const _onHTMLDrop = onHTMLDrop(targetRootClientId, targetBlockIndex, insertBlocks);
-
-  return event => {
-    const files = Object(_wordpress_dom__WEBPACK_IMPORTED_MODULE_2__["getFilesFromDataTransfer"])(event.dataTransfer);
-    const html = event.dataTransfer.getData('text/html');
-
-    if (files.length) {
-      _onFilesDrop(files);
-    } else if (html) {
-      _onHTMLDrop(html);
-    } else {
-      _onDrop(event);
+var TextareaAutosizeClass = /** @class */ (function (_super) {
+    __extends(TextareaAutosizeClass, _super);
+    function TextareaAutosizeClass() {
+        var _this = _super !== null && _super.apply(this, arguments) || this;
+        _this.state = {
+            lineHeight: null
+        };
+        _this.textarea = null;
+        _this.onResize = function (e) {
+            if (_this.props.onResize) {
+                _this.props.onResize(e);
+            }
+        };
+        _this.updateLineHeight = function () {
+            if (_this.textarea) {
+                _this.setState({
+                    lineHeight: getLineHeight(_this.textarea)
+                });
+            }
+        };
+        _this.onChange = function (e) {
+            var onChange = _this.props.onChange;
+            _this.currentValue = e.currentTarget.value;
+            onChange && onChange(e);
+        };
+        return _this;
     }
-  };
-}
+    TextareaAutosizeClass.prototype.componentDidMount = function () {
+        var _this = this;
+        var _a = this.props, maxRows = _a.maxRows, async = _a.async;
+        if (typeof maxRows === "number") {
+            this.updateLineHeight();
+        }
+        if (typeof maxRows === "number" || async) {
+            /*
+              the defer is needed to:
+                - force "autosize" to activate the scrollbar when this.props.maxRows is passed
+                - support StyledComponents (see #71)
+            */
+            setTimeout(function () { return _this.textarea && autosize(_this.textarea); });
+        }
+        else {
+            this.textarea && autosize(this.textarea);
+        }
+        if (this.textarea) {
+            this.textarea.addEventListener(RESIZED, this.onResize);
+        }
+    };
+    TextareaAutosizeClass.prototype.componentWillUnmount = function () {
+        if (this.textarea) {
+            this.textarea.removeEventListener(RESIZED, this.onResize);
+            autosize.destroy(this.textarea);
+        }
+    };
+    TextareaAutosizeClass.prototype.render = function () {
+        var _this = this;
+        var _a = this, _b = _a.props, onResize = _b.onResize, maxRows = _b.maxRows, onChange = _b.onChange, style = _b.style, innerRef = _b.innerRef, children = _b.children, props = __rest(_b, ["onResize", "maxRows", "onChange", "style", "innerRef", "children"]), lineHeight = _a.state.lineHeight;
+        var maxHeight = maxRows && lineHeight ? lineHeight * maxRows : null;
+        return (React.createElement("textarea", __assign({}, props, { onChange: this.onChange, style: maxHeight ? __assign({}, style, { maxHeight: maxHeight }) : style, ref: function (element) {
+                _this.textarea = element;
+                if (typeof _this.props.innerRef === 'function') {
+                    _this.props.innerRef(element);
+                }
+                else if (_this.props.innerRef) {
+                    _this.props.innerRef.current = element;
+                }
+            } }), children));
+    };
+    TextareaAutosizeClass.prototype.componentDidUpdate = function () {
+        this.textarea && autosize.update(this.textarea);
+    };
+    TextareaAutosizeClass.defaultProps = {
+        rows: 1,
+        async: false
+    };
+    TextareaAutosizeClass.propTypes = {
+        rows: PropTypes.number,
+        maxRows: PropTypes.number,
+        onResize: PropTypes.func,
+        innerRef: PropTypes.any,
+        async: PropTypes.bool
+    };
+    return TextareaAutosizeClass;
+}(React.Component));
+exports.TextareaAutosize = React.forwardRef(function (props, ref) {
+    return React.createElement(TextareaAutosizeClass, __assign({}, props, { innerRef: ref }));
+});


 /***/ }),

-/***/ "0E5u":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 773:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";
+var __webpack_unused_export__;

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ JustifyContentControl; });
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ JustifyToolbar; });
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-left.js
-var justify_left = __webpack_require__("kWXm");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-center.js
-var justify_center = __webpack_require__("DmX/");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-right.js
-var justify_right = __webpack_require__("suLj");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-space-between.js
-var justify_space_between = __webpack_require__("bTSr");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/justify-content-control/ui.js
-
+__webpack_unused_export__ = true;
+var TextareaAutosize_1 = __webpack_require__(5438);
+exports.Z = TextareaAutosize_1.TextareaAutosize;


-/**
- * WordPress dependencies
- */
-
+/***/ }),

+/***/ 3124:
+/***/ (function(module) {

-const icons = {
-  left: justify_left["a" /* default */],
-  center: justify_center["a" /* default */],
-  right: justify_right["a" /* default */],
-  'space-between': justify_space_between["a" /* default */]
+var traverse = module.exports = function (obj) {
+    return new Traverse(obj);
 };

-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 )
-  const handleClick = next => {
-    if (next === value) {
-      onChange(undefined);
-    } else {
-      onChange(next);
-    }
-  };
-
-  const icon = value ? icons[value] : icons.left;
-  const allControls = [{
-    name: 'left',
-    icon: justify_left["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Justify items left'),
-    isActive: 'left' === value,
-    onClick: () => handleClick('left')
-  }, {
-    name: 'center',
-    icon: justify_center["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Justify items center'),
-    isActive: 'center' === value,
-    onClick: () => handleClick('center')
-  }, {
-    name: 'right',
-    icon: justify_right["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Justify items right'),
-    isActive: 'right' === value,
-    onClick: () => handleClick('right')
-  }, {
-    name: 'space-between',
-    icon: justify_space_between["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Space between items'),
-    isActive: 'space-between' === value,
-    onClick: () => handleClick('space-between')
-  }];
-  const UIComponent = isToolbar ? external_wp_components_["ToolbarGroup"] : external_wp_components_["ToolbarDropdownMenu"];
-  const extraProps = isToolbar ? {
-    isCollapsed
-  } : {};
-  return Object(external_wp_element_["createElement"])(UIComponent, Object(esm_extends["a" /* default */])({
-    icon: icon,
-    popoverProps: popoverProps,
-    label: Object(external_wp_i18n_["__"])('Change items justification'),
-    controls: allControls.filter(elem => allowedControls.includes(elem.name))
-  }, extraProps));
-}
-
-/* harmony default export */ var ui = (JustifyContentUI);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/justify-content-control/index.js
-
-
-
-/**
- * Internal dependencies
- */
-
-function JustifyContentControl(props) {
-  return Object(external_wp_element_["createElement"])(ui, Object(esm_extends["a" /* default */])({}, props, {
-    isToolbar: false
-  }));
-}
-function JustifyToolbar(props) {
-  return Object(external_wp_element_["createElement"])(ui, Object(esm_extends["a" /* default */])({}, props, {
-    isToolbar: true
-  }));
+function Traverse (obj) {
+    this.value = obj;
 }

-
-/***/ }),
-
-/***/ "0LBR":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMultipleOriginColorsAndGradients; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _use_setting__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("v5LD");
-/* harmony import */ var _use_common_single_multiple_selects__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("pY5h");
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * Retrieves color and gradient related settings.
- *
- * The arrays for colors and gradients are made up of color palettes from each
- * origin i.e. "Core", "Theme", and "User".
- *
- * @return {Object} Color and gradient related settings.
- */
-
-function useMultipleOriginColorsAndGradients() {
-  const colorGradientSettings = Object(_use_common_single_multiple_selects__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])();
-  const customColors = Object(_use_setting__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])('color.palette.custom');
-  const themeColors = Object(_use_setting__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])('color.palette.theme');
-  const defaultColors = Object(_use_setting__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])('color.palette.default');
-  const shouldDisplayDefaultColors = Object(_use_setting__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])('color.defaultPalette');
-  colorGradientSettings.colors = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => {
-    const result = [];
-
-    if (themeColors && themeColors.length) {
-      result.push({
-        name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["_x"])('Theme', 'Indicates this palette comes from the theme.'),
-        colors: themeColors
-      });
-    }
-
-    if (shouldDisplayDefaultColors && defaultColors && defaultColors.length) {
-      result.push({
-        name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["_x"])('Default', 'Indicates this palette comes from WordPress.'),
-        colors: defaultColors
-      });
-    }
-
-    if (customColors && customColors.length) {
-      result.push({
-        name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["_x"])('Custom', 'Indicates this palette comes from the theme.'),
-        colors: customColors
-      });
-    }
-
-    return result;
-  }, [defaultColors, themeColors, customColors]);
-  const customGradients = Object(_use_setting__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])('color.gradients.custom');
-  const themeGradients = Object(_use_setting__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])('color.gradients.theme');
-  const defaultGradients = Object(_use_setting__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])('color.gradients.default');
-  const shouldDisplayDefaultGradients = Object(_use_setting__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])('color.defaultGradients');
-  colorGradientSettings.gradients = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => {
-    const result = [];
-
-    if (themeGradients && themeGradients.length) {
-      result.push({
-        name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["_x"])('Theme', 'Indicates this palette comes from the theme.'),
-        gradients: themeGradients
-      });
+Traverse.prototype.get = function (ps) {
+    var node = this.value;
+    for (var i = 0; i < ps.length; i ++) {
+        var key = ps[i];
+        if (!node || !hasOwnProperty.call(node, key)) {
+            node = undefined;
+            break;
+        }
+        node = node[key];
     }
+    return node;
+};

-    if (shouldDisplayDefaultGradients && defaultGradients && defaultGradients.length) {
-      result.push({
-        name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["_x"])('Default', 'Indicates this palette comes from WordPress.'),
-        gradients: defaultGradients
-      });
+Traverse.prototype.has = function (ps) {
+    var node = this.value;
+    for (var i = 0; i < ps.length; i ++) {
+        var key = ps[i];
+        if (!node || !hasOwnProperty.call(node, key)) {
+            return false;
+        }
+        node = node[key];
     }
+    return true;
+};

-    if (customGradients && customGradients.length) {
-      result.push({
-        name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["_x"])('Custom', 'Indicates this palette is created by the user.'),
-        gradients: customGradients
-      });
+Traverse.prototype.set = function (ps, value) {
+    var node = this.value;
+    for (var i = 0; i < ps.length - 1; i ++) {
+        var key = ps[i];
+        if (!hasOwnProperty.call(node, key)) node[key] = {};
+        node = node[key];
     }
+    node[ps[i]] = value;
+    return value;
+};

-    return result;
-  }, [customGradients, themeGradients, defaultGradients]);
-  return colorGradientSettings;
-}
-
-
-/***/ }),
-
-/***/ "14PQ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "ic", function() { return /* reexport */ components_colors["b" /* getColorClassName */]; });
-__webpack_require__.d(__webpack_exports__, "jc", function() { return /* reexport */ components_colors["c" /* getColorObjectByAttributeValues */]; });
-__webpack_require__.d(__webpack_exports__, "kc", function() { return /* reexport */ components_colors["d" /* getColorObjectByColorValue */]; });
-__webpack_require__.d(__webpack_exports__, "hc", function() { return /* reexport */ components_colors["a" /* createCustomColorsHOC */]; });
-__webpack_require__.d(__webpack_exports__, "wc", function() { return /* reexport */ components_colors["e" /* withColors */]; });
-__webpack_require__.d(__webpack_exports__, "yb", function() { return /* reexport */ gradients["a" /* __experimentalGetGradientClass */]; });
-__webpack_require__.d(__webpack_exports__, "pc", function() { return /* reexport */ gradients["e" /* getGradientValueBySlug */]; });
-__webpack_require__.d(__webpack_exports__, "zb", function() { return /* reexport */ gradients["b" /* __experimentalGetGradientObjectByGradientValue */]; });
-__webpack_require__.d(__webpack_exports__, "oc", function() { return /* reexport */ gradients["d" /* getGradientSlugByValue */]; });
-__webpack_require__.d(__webpack_exports__, "Tb", function() { return /* reexport */ gradients["c" /* __experimentalUseGradient */]; });
-__webpack_require__.d(__webpack_exports__, "lc", function() { return /* reexport */ font_sizes["b" /* getFontSize */]; });
-__webpack_require__.d(__webpack_exports__, "mc", function() { return /* reexport */ font_sizes["c" /* getFontSizeClass */]; });
-__webpack_require__.d(__webpack_exports__, "nc", function() { return /* reexport */ font_sizes["d" /* getFontSizeObjectByValue */]; });
-__webpack_require__.d(__webpack_exports__, "I", function() { return /* reexport */ font_sizes["a" /* FontSizePicker */]; });
-__webpack_require__.d(__webpack_exports__, "xc", function() { return /* reexport */ font_sizes["e" /* withFontSizes */]; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ AlignmentControl; });
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ AlignmentToolbar; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ autocomplete; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ block_alignment_control["a" /* BlockAlignmentControl */]; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ block_alignment_control["b" /* BlockAlignmentToolbar */]; });
-__webpack_require__.d(__webpack_exports__, "nb", function() { return /* reexport */ block_full_height_alignment_control; });
-__webpack_require__.d(__webpack_exports__, "lb", function() { return /* reexport */ block_alignment_matrix_control; });
-__webpack_require__.d(__webpack_exports__, "f", function() { return /* reexport */ block_breadcrumb; });
-__webpack_require__.d(__webpack_exports__, "mb", function() { return /* reexport */ BlockContentOverlay; });
-__webpack_require__.d(__webpack_exports__, "h", function() { return /* reexport */ block_context["a" /* BlockContextProvider */]; });
-__webpack_require__.d(__webpack_exports__, "i", function() { return /* reexport */ block_controls["b" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "m", function() { return /* reexport */ block_controls["a" /* BlockFormatControls */]; });
-__webpack_require__.d(__webpack_exports__, "g", function() { return /* reexport */ color_style_selector; });
-__webpack_require__.d(__webpack_exports__, "j", function() { return /* reexport */ block_edit["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "rc", function() { return /* reexport */ context["c" /* useBlockEditContext */]; });
-__webpack_require__.d(__webpack_exports__, "n", function() { return /* reexport */ block_icon["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "r", function() { return /* reexport */ dropdown; });
-__webpack_require__.d(__webpack_exports__, "pb", function() { return /* reexport */ block_variation_picker; });
-__webpack_require__.d(__webpack_exports__, "ob", function() { return /* reexport */ block_pattern_setup; });
-__webpack_require__.d(__webpack_exports__, "qb", function() { return /* reexport */ components_block_variation_transforms; });
-__webpack_require__.d(__webpack_exports__, "A", function() { return /* reexport */ BlockVerticalAlignmentToolbar; });
-__webpack_require__.d(__webpack_exports__, "z", function() { return /* reexport */ BlockVerticalAlignmentControl; });
-__webpack_require__.d(__webpack_exports__, "rb", function() { return /* reexport */ border_radius_control["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "sb", function() { return /* reexport */ border_style_control["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "C", function() { return /* reexport */ button_block_appender["a" /* ButtonBlockerAppender */]; });
-__webpack_require__.d(__webpack_exports__, "B", function() { return /* reexport */ button_block_appender["b" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "D", function() { return /* reexport */ color_palette; });
-__webpack_require__.d(__webpack_exports__, "E", function() { return /* reexport */ ColorPaletteControl; });
-__webpack_require__.d(__webpack_exports__, "F", function() { return /* reexport */ contrast_checker["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "vb", function() { return /* reexport */ duotone_control["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "wb", function() { return /* reexport */ font_appearance_control["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "xb", function() { return /* reexport */ font_family["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Fb", function() { return /* reexport */ letter_spacing_control["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Pb", function() { return /* reexport */ text_decoration_control["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Qb", function() { return /* reexport */ text_transform_control["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "tb", function() { return /* reexport */ control["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "ub", function() { return /* reexport */ colors_gradients_dropdown["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Mb", function() { return /* reexport */ panel_color_gradient_settings["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Bb", function() { return /* reexport */ ImageEditor; });
-__webpack_require__.d(__webpack_exports__, "Ab", function() { return /* reexport */ ImageEditingProvider; });
-__webpack_require__.d(__webpack_exports__, "Cb", function() { return /* reexport */ ImageSizeControl; });
-__webpack_require__.d(__webpack_exports__, "J", function() { return /* reexport */ inner_blocks["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "tc", function() { return /* reexport */ inner_blocks["b" /* useInnerBlocksProps */]; });
-__webpack_require__.d(__webpack_exports__, "M", function() { return /* reexport */ inspector_controls["b" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "L", function() { return /* reexport */ inspector_controls["a" /* InspectorAdvancedControls */]; });
-__webpack_require__.d(__webpack_exports__, "O", function() { return /* reexport */ justify_content_control["b" /* JustifyToolbar */]; });
-__webpack_require__.d(__webpack_exports__, "N", function() { return /* reexport */ justify_content_control["a" /* JustifyContentControl */]; });
-__webpack_require__.d(__webpack_exports__, "Hb", function() { return /* reexport */ link_control; });
-__webpack_require__.d(__webpack_exports__, "Ib", function() { return /* reexport */ search_input; });
-__webpack_require__.d(__webpack_exports__, "Kb", function() { return /* reexport */ LinkControlSearchResults; });
-__webpack_require__.d(__webpack_exports__, "Jb", function() { return /* reexport */ search_item; });
-__webpack_require__.d(__webpack_exports__, "P", function() { return /* reexport */ line_height_control["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Lb", function() { return /* reexport */ components_list_view; });
-__webpack_require__.d(__webpack_exports__, "R", function() { return /* reexport */ media_replace_flow; });
-__webpack_require__.d(__webpack_exports__, "Q", function() { return /* reexport */ media_placeholder; });
-__webpack_require__.d(__webpack_exports__, "S", function() { return /* reexport */ media_upload; });
-__webpack_require__.d(__webpack_exports__, "T", function() { return /* reexport */ media_upload_check; });
-__webpack_require__.d(__webpack_exports__, "X", function() { return /* reexport */ panel_color_settings; });
-__webpack_require__.d(__webpack_exports__, "Y", function() { return /* reexport */ plain_text; });
-__webpack_require__.d(__webpack_exports__, "Ob", function() { return /* reexport */ responsive_block_control; });
-__webpack_require__.d(__webpack_exports__, "ab", function() { return /* reexport */ rich_text; });
-__webpack_require__.d(__webpack_exports__, "bb", function() { return /* reexport */ RichTextShortcut; });
-__webpack_require__.d(__webpack_exports__, "cb", function() { return /* reexport */ RichTextToolbarButton; });
-__webpack_require__.d(__webpack_exports__, "ac", function() { return /* reexport */ __unstableRichTextInputEvent; });
-__webpack_require__.d(__webpack_exports__, "eb", function() { return /* reexport */ tool_selector; });
-__webpack_require__.d(__webpack_exports__, "Rb", function() { return /* reexport */ UnitControl; });
-__webpack_require__.d(__webpack_exports__, "gb", function() { return /* reexport */ url_input; });
-__webpack_require__.d(__webpack_exports__, "hb", function() { return /* reexport */ url_input_button; });
-__webpack_require__.d(__webpack_exports__, "ib", function() { return /* reexport */ url_popover; });
-__webpack_require__.d(__webpack_exports__, "Db", function() { return /* reexport */ ImageURLInputUI; });
-__webpack_require__.d(__webpack_exports__, "vc", function() { return /* reexport */ with_color_context; });
-__webpack_require__.d(__webpack_exports__, "Wb", function() { return /* reexport */ block_settings_menu_first_item["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Zb", function() { return /* reexport */ inserter_menu_extension["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Nb", function() { return /* reexport */ PreviewOptions; });
-__webpack_require__.d(__webpack_exports__, "Vb", function() { return /* reexport */ useResizeCanvas; });
-__webpack_require__.d(__webpack_exports__, "o", function() { return /* reexport */ block_inspector; });
-__webpack_require__.d(__webpack_exports__, "p", function() { return /* reexport */ block_list["c" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "sc", function() { return /* reexport */ use_block_props["a" /* useBlockProps */]; });
-__webpack_require__.d(__webpack_exports__, "Eb", function() { return /* reexport */ block_list_layout["b" /* LayoutStyle */]; });
-__webpack_require__.d(__webpack_exports__, "q", function() { return /* reexport */ block_mover["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "s", function() { return /* reexport */ block_preview["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Sb", function() { return /* reexport */ block_preview["b" /* useBlockPreview */]; });
-__webpack_require__.d(__webpack_exports__, "t", function() { return /* reexport */ block_selection_clearer["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "bc", function() { return /* reexport */ block_selection_clearer["b" /* useBlockSelectionClearer */]; });
-__webpack_require__.d(__webpack_exports__, "u", function() { return /* reexport */ block_settings_menu["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "v", function() { return /* reexport */ block_settings_menu_controls["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "w", function() { return /* reexport */ block_title["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "x", function() { return /* reexport */ block_toolbar["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "y", function() { return /* reexport */ BlockTools; });
-__webpack_require__.d(__webpack_exports__, "G", function() { return /* reexport */ copy_handler["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "dc", function() { return /* reexport */ copy_handler["b" /* useClipboardHandler */]; });
-__webpack_require__.d(__webpack_exports__, "H", function() { return /* reexport */ default_block_appender["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Xb", function() { return /* reexport */ editor_styles["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "K", function() { return /* reexport */ inserter["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Gb", function() { return /* reexport */ library; });
-__webpack_require__.d(__webpack_exports__, "k", function() { return /* reexport */ keyboard_shortcuts; });
-__webpack_require__.d(__webpack_exports__, "U", function() { return /* reexport */ MultiSelectScrollIntoView; });
-__webpack_require__.d(__webpack_exports__, "V", function() { return /* reexport */ navigable_toolbar["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "W", function() { return /* reexport */ observe_typing; });
-__webpack_require__.d(__webpack_exports__, "gc", function() { return /* reexport */ useTypingObserver; });
-__webpack_require__.d(__webpack_exports__, "ec", function() { return /* reexport */ useMouseMoveTypingReset; });
-__webpack_require__.d(__webpack_exports__, "Z", function() { return /* reexport */ PreserveScrollInReorder; });
-__webpack_require__.d(__webpack_exports__, "db", function() { return /* reexport */ skip_to_selected_block; });
-__webpack_require__.d(__webpack_exports__, "fb", function() { return /* reexport */ typewriter; });
-__webpack_require__.d(__webpack_exports__, "fc", function() { return /* reexport */ useTypewriter; });
-__webpack_require__.d(__webpack_exports__, "jb", function() { return /* reexport */ warning["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "kb", function() { return /* reexport */ writing_flow["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "cc", function() { return /* reexport */ useCanvasClickRedirect; });
-__webpack_require__.d(__webpack_exports__, "qc", function() { return /* reexport */ use_block_display_information["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Yb", function() { return /* reexport */ iframe["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "Ub", function() { return /* reexport */ useNoRecursiveRenders; });
-__webpack_require__.d(__webpack_exports__, "l", function() { return /* reexport */ provider["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "uc", function() { return /* reexport */ use_setting["a" /* default */]; });
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/index.js + 1 modules
-var components_colors = __webpack_require__("5gPN");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradients/index.js
-var gradients = __webpack_require__("zmSX");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/index.js + 1 modules
-var font_sizes = __webpack_require__("9XVa");
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-left.js
-var align_left = __webpack_require__("fPbg");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-center.js
-var align_center = __webpack_require__("plpT");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-right.js
-var align_right = __webpack_require__("ziDm");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/alignment-control/ui.js
-
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
+Traverse.prototype.map = function (cb) {
+    return walk(this.value, cb, true);
+};

-const DEFAULT_ALIGNMENT_CONTROLS = [{
-  icon: align_left["a" /* default */],
-  title: Object(external_wp_i18n_["__"])('Align text left'),
-  align: 'left'
-}, {
-  icon: align_center["a" /* default */],
-  title: Object(external_wp_i18n_["__"])('Align text center'),
-  align: 'center'
-}, {
-  icon: align_right["a" /* default */],
-  title: Object(external_wp_i18n_["__"])('Align text right'),
-  align: 'right'
-}];
-const ui_POPOVER_PROPS = {
-  position: 'bottom right',
-  isAlternate: true
+Traverse.prototype.forEach = function (cb) {
+    this.value = walk(this.value, cb, false);
+    return this.value;
 };

-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;
+Traverse.prototype.reduce = function (cb, init) {
+    var skip = arguments.length === 1;
+    var acc = skip ? this.value : init;
+    this.forEach(function (x) {
+        if (!this.isRoot || !skip) {
+            acc = cb.call(this, acc, x);
+        }
+    });
+    return acc;
+};

-  function applyOrUnset(align) {
-    return () => onChange(value === align ? undefined : align);
-  }
+Traverse.prototype.paths = function () {
+    var acc = [];
+    this.forEach(function (x) {
+        acc.push(this.path);
+    });
+    return acc;
+};

-  const activeAlignment = Object(external_lodash_["find"])(alignmentControls, control => control.align === value);
+Traverse.prototype.nodes = function () {
+    var acc = [];
+    this.forEach(function (x) {
+        acc.push(this.node);
+    });
+    return acc;
+};

-  function setIcon() {
-    if (activeAlignment) return activeAlignment.icon;
-    return Object(external_wp_i18n_["isRTL"])() ? align_right["a" /* default */] : align_left["a" /* default */];
-  }
+Traverse.prototype.clone = function () {
+    var parents = [], nodes = [];
+
+    return (function clone (src) {
+        for (var i = 0; i < parents.length; i++) {
+            if (parents[i] === src) {
+                return nodes[i];
+            }
+        }
+
+        if (typeof src === 'object' && src !== null) {
+            var dst = copy(src);
+
+            parents.push(src);
+            nodes.push(dst);
+
+            forEach(objectKeys(src), function (key) {
+                dst[key] = clone(src[key]);
+            });
+
+            parents.pop();
+            nodes.pop();
+            return dst;
+        }
+        else {
+            return src;
+        }
+    })(this.value);
+};

-  const UIComponent = isToolbar ? external_wp_components_["ToolbarGroup"] : external_wp_components_["ToolbarDropdownMenu"];
-  const extraProps = isToolbar ? {
-    isCollapsed
-  } : {};
-  return Object(external_wp_element_["createElement"])(UIComponent, Object(esm_extends["a" /* default */])({
-    icon: setIcon(),
-    label: label,
-    toggleProps: {
-      describedBy
-    },
-    popoverProps: ui_POPOVER_PROPS,
-    controls: alignmentControls.map(control => {
-      const {
-        align
-      } = control;
-      const isActive = value === align;
-      return { ...control,
-        isActive,
-        role: isCollapsed ? 'menuitemradio' : undefined,
-        onClick: applyOrUnset(align)
-      };
-    })
-  }, extraProps));
-}
-
-/* harmony default export */ var ui = (AlignmentUI);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/alignment-control/index.js
-
-
-
-/**
- * Internal dependencies
- */
-
-function AlignmentControl(props) {
-  return Object(external_wp_element_["createElement"])(ui, Object(esm_extends["a" /* default */])({}, props, {
-    isToolbar: false
-  }));
-}
-function AlignmentToolbar(props) {
-  return Object(external_wp_element_["createElement"])(ui, Object(esm_extends["a" /* default */])({}, props, {
-    isToolbar: true
-  }));
-}
-
-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js
-var context = __webpack_require__("ur0x");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/search-items.js
-var search_items = __webpack_require__("pOGT");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-block-types-state.js
-var use_block_types_state = __webpack_require__("+G0a");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-icon/index.js
-var block_icon = __webpack_require__("7SSY");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/autocompleters/block.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-const SHOWN_BLOCK_TYPES = 9;
-/** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */
-
-/**
- * Creates a blocks repeater for replacing the current block with a selected block type.
- *
- * @return {WPCompleter} A blocks completer.
- */
-
-function createBlockCompleter() {
-  return {
-    name: 'blocks',
-    className: 'block-editor-autocompleters__block',
-    triggerPrefix: '/',
-
-    useItems(filterValue) {
-      const {
-        rootClientId,
-        selectedBlockName
-      } = Object(external_wp_data_["useSelect"])(select => {
-        const {
-          getSelectedBlockClientId,
-          getBlockName,
-          getBlockInsertionPoint
-        } = select(store["a" /* store */]);
-        const selectedBlockClientId = getSelectedBlockClientId();
-        return {
-          selectedBlockName: selectedBlockClientId ? getBlockName(selectedBlockClientId) : null,
-          rootClientId: getBlockInsertionPoint().rootClientId
-        };
-      }, []);
-      const [items, categories, collections] = Object(use_block_types_state["a" /* default */])(rootClientId, external_lodash_["noop"]);
-      const filteredItems = Object(external_wp_element_["useMemo"])(() => {
-        const initialFilteredItems = !!filterValue.trim() ? Object(search_items["a" /* searchBlockItems */])(items, categories, collections, filterValue) : Object(external_lodash_["orderBy"])(items, ['frecency'], ['desc']);
-        return initialFilteredItems.filter(item => item.name !== selectedBlockName).slice(0, SHOWN_BLOCK_TYPES);
-      }, [filterValue, selectedBlockName, items, categories, collections]);
-      const options = Object(external_wp_element_["useMemo"])(() => filteredItems.map(blockItem => {
-        const {
-          title,
-          icon,
-          isDisabled
-        } = blockItem;
-        return {
-          key: `block-${blockItem.id}`,
-          value: blockItem,
-          label: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(block_icon["a" /* default */], {
-            key: "icon",
-            icon: icon,
-            showColors: true
-          }), title),
-          isDisabled
+function walk (root, cb, immutable) {
+    var path = [];
+    var parents = [];
+    var alive = true;
+
+    return (function walker (node_) {
+        var node = immutable ? copy(node_) : node_;
+        var modifiers = {};
+
+        var keepGoing = true;
+
+        var state = {
+            node : node,
+            node_ : node_,
+            path : [].concat(path),
+            parent : parents[parents.length - 1],
+            parents : parents,
+            key : path.slice(-1)[0],
+            isRoot : path.length === 0,
+            level : path.length,
+            circular : null,
+            update : function (x, stopHere) {
+                if (!state.isRoot) {
+                    state.parent.node[state.key] = x;
+                }
+                state.node = x;
+                if (stopHere) keepGoing = false;
+            },
+            'delete' : function (stopHere) {
+                delete state.parent.node[state.key];
+                if (stopHere) keepGoing = false;
+            },
+            remove : function (stopHere) {
+                if (isArray(state.parent.node)) {
+                    state.parent.node.splice(state.key, 1);
+                }
+                else {
+                    delete state.parent.node[state.key];
+                }
+                if (stopHere) keepGoing = false;
+            },
+            keys : null,
+            before : function (f) { modifiers.before = f },
+            after : function (f) { modifiers.after = f },
+            pre : function (f) { modifiers.pre = f },
+            post : function (f) { modifiers.post = f },
+            stop : function () { alive = false },
+            block : function () { keepGoing = false }
         };
-      }), [filteredItems]);
-      return [options];
-    },
-
-    allowContext(before, after) {
-      return !(/\S/.test(before) || /\S/.test(after));
-    },
-
-    getOptionCompletion(inserterItem) {
-      const {
-        name,
-        initialAttributes,
-        innerBlocks
-      } = inserterItem;
-      return {
-        action: 'replace',
-        value: Object(external_wp_blocks_["createBlock"])(name, initialAttributes, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(innerBlocks))
-      };
-    }
-
-  };
-}
-/**
- * Creates a blocks repeater for replacing the current block with a selected block type.
- *
- * @return {WPCompleter} A blocks completer.
- */
-
-
-/* harmony default export */ var autocompleters_block = (createBlockCompleter());
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/autocomplete/index.js
-
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * Shared reference to an empty array for cases where it is important to avoid
- * returning a new array reference on every invocation.
- *
- * @type {Array}
- */
-
-const EMPTY_ARRAY = [];
-
-function useCompleters(_ref) {
-  let {
-    completers = EMPTY_ARRAY
-  } = _ref;
-  const {
-    name
-  } = Object(context["c" /* useBlockEditContext */])();
-  return Object(external_wp_element_["useMemo"])(() => {
-    let filteredCompleters = completers;
-
-    if (name === Object(external_wp_blocks_["getDefaultBlockName"])() || Object(external_wp_blocks_["getBlockSupport"])(name, '__experimentalSlashInserter', false)) {
-      filteredCompleters = filteredCompleters.concat([autocompleters_block]);
-    }
-
-    if (Object(external_wp_hooks_["hasFilter"])('editor.Autocomplete.completers')) {
-      // Provide copies so filters may directly modify them.
-      if (filteredCompleters === completers) {
-        filteredCompleters = filteredCompleters.map(external_lodash_["clone"]);
-      }
-
-      filteredCompleters = Object(external_wp_hooks_["applyFilters"])('editor.Autocomplete.completers', filteredCompleters, name);
-    }
-
-    return filteredCompleters;
-  }, [completers, name]);
-}
-
-function useBlockEditorAutocompleteProps(props) {
-  return Object(external_wp_components_["__unstableUseAutocompleteProps"])({ ...props,
-    completers: useCompleters(props)
-  });
-}
-/**
- * Wrap the default Autocomplete component with one that supports a filter hook
- * for customizing its list of autocompleters.
- *
- * @type {import('react').FC}
- */
-
-function BlockEditorAutocomplete(props) {
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Autocomplete"], Object(esm_extends["a" /* default */])({}, props, {
-    completers: useCompleters(props)
-  }));
-}
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/autocomplete/README.md
- */
-
-
-/* harmony default export */ var autocomplete = (BlockEditorAutocomplete);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/index.js + 4 modules
-var block_alignment_control = __webpack_require__("vtO0");
-
-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/fullscreen.js
-
-
-/**
- * WordPress dependencies
- */
-
-const fullscreen = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var library_fullscreen = (fullscreen);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-full-height-alignment-control/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-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,
-    label: label,
-    onClick: () => onToggle(!isActive),
-    disabled: isDisabled
-  });
-}
-
-/* harmony default export */ var block_full_height_alignment_control = (BlockFullHeightAlignmentControl);
-
-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-matrix-control/index.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-function BlockAlignmentMatrixControl(props) {
-  const {
-    label = Object(external_wp_i18n_["__"])('Change matrix alignment'),
-    onChange = external_lodash_["noop"],
-    value = 'center',
-    isDisabled
-  } = props;
-  const icon = Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalAlignmentMatrixControl"].Icon, {
-    value: value
-  });
-  const className = 'block-editor-block-alignment-matrix-control';
-  const popoverClassName = `${className}__popover`;
-  const isAlternate = true;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
-    position: "bottom right",
-    className: className,
-    popoverProps: {
-      className: popoverClassName,
-      isAlternate
-    },
-    renderToggle: _ref => {
-      let {
-        onToggle,
-        isOpen
-      } = _ref;
-
-      const openOnArrowDown = event => {
-        if (!isOpen && event.keyCode === external_wp_keycodes_["DOWN"]) {
-          event.preventDefault();
-          onToggle();
+
+        if (!alive) return state;
+
+        function updateState() {
+            if (typeof state.node === 'object' && state.node !== null) {
+                if (!state.keys || state.node_ !== state.node) {
+                    state.keys = objectKeys(state.node)
+                }
+
+                state.isLeaf = state.keys.length == 0;
+
+                for (var i = 0; i < parents.length; i++) {
+                    if (parents[i].node_ === node_) {
+                        state.circular = parents[i];
+                        break;
+                    }
+                }
+            }
+            else {
+                state.isLeaf = true;
+                state.keys = null;
+            }
+
+            state.notLeaf = !state.isLeaf;
+            state.notRoot = !state.isRoot;
         }
-      };
-
-      return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-        onClick: onToggle,
-        "aria-haspopup": "true",
-        "aria-expanded": isOpen,
-        onKeyDown: openOnArrowDown,
-        label: label,
-        icon: icon,
-        showTooltip: true,
-        disabled: isDisabled
-      });
-    },
-    renderContent: () => Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalAlignmentMatrixControl"], {
-      hasFocusBorder: false,
-      onChange: onChange,
-      value: value
-    })
-  });
-}
-
-/* harmony default export */ var block_alignment_matrix_control = (BlockAlignmentMatrixControl);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
-var build_module_icon = __webpack_require__("iClF");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right-small.js
-
-
-/**
- * WordPress dependencies
- */
-
-const chevronRightSmall = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"
-}));
-/* harmony default export */ var chevron_right_small = (chevronRightSmall);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-title/index.js
-var block_title = __webpack_require__("f8JO");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-breadcrumb/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * Block breadcrumb component, displaying the hierarchy of the current block selection as a breadcrumb.
- *
- * @param {Object} props               Component props.
- * @param {string} props.rootLabelText Translated label for the root element of the breadcrumb trail.
- * @return {WPElement}                 Block Breadcrumb.
- */
-
-function BlockBreadcrumb(_ref) {
-  let {
-    rootLabelText
-  } = _ref;
-  const {
-    selectBlock,
-    clearSelectedBlock
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const {
-    clientId,
-    parents,
-    hasSelection
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getSelectionStart,
-      getSelectedBlockClientId,
-      getBlockParents
-    } = select(store["a" /* store */]);
-    const selectedBlockClientId = getSelectedBlockClientId();
-    return {
-      parents: getBlockParents(selectedBlockClientId),
-      clientId: selectedBlockClientId,
-      hasSelection: !!getSelectionStart().clientId
-    };
-  }, []);
-
-  const rootLabel = rootLabelText || Object(external_wp_i18n_["__"])('Document');
-  /*
-   * Disable reason: The `list` ARIA role is redundant but
-   * Safari+VoiceOver won't announce the list otherwise.
-   */
-
-  /* eslint-disable jsx-a11y/no-redundant-roles */
-
-
-  return Object(external_wp_element_["createElement"])("ul", {
-    className: "block-editor-block-breadcrumb",
-    role: "list",
-    "aria-label": Object(external_wp_i18n_["__"])('Block breadcrumb')
-  }, Object(external_wp_element_["createElement"])("li", {
-    className: !hasSelection ? 'block-editor-block-breadcrumb__current' : undefined,
-    "aria-current": !hasSelection ? 'true' : undefined
-  }, hasSelection && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "block-editor-block-breadcrumb__button",
-    variant: "tertiary",
-    onClick: clearSelectedBlock
-  }, rootLabel), !hasSelection && rootLabel, !!clientId && Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: chevron_right_small,
-    className: "block-editor-block-breadcrumb__separator"
-  })), parents.map(parentClientId => Object(external_wp_element_["createElement"])("li", {
-    key: parentClientId
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "block-editor-block-breadcrumb__button",
-    variant: "tertiary",
-    onClick: () => selectBlock(parentClientId)
-  }, Object(external_wp_element_["createElement"])(block_title["a" /* default */], {
-    clientId: parentClientId
-  })), Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: chevron_right_small,
-    className: "block-editor-block-breadcrumb__separator"
-  }))), !!clientId && Object(external_wp_element_["createElement"])("li", {
-    className: "block-editor-block-breadcrumb__current",
-    "aria-current": "true"
-  }, Object(external_wp_element_["createElement"])(block_title["a" /* default */], {
-    clientId: clientId
-  })))
-  /* eslint-enable jsx-a11y/no-redundant-roles */
-  ;
+
+        updateState();
+
+        // use return values to update if defined
+        var ret = cb.call(state, state.node);
+        if (ret !== undefined && state.update) state.update(ret);
+
+        if (modifiers.before) modifiers.before.call(state, state.node);
+
+        if (!keepGoing) return state;
+
+        if (typeof state.node == 'object'
+        && state.node !== null && !state.circular) {
+            parents.push(state);
+
+            updateState();
+
+            forEach(state.keys, function (key, i) {
+                path.push(key);
+
+                if (modifiers.pre) modifiers.pre.call(state, state.node[key], key);
+
+                var child = walker(state.node[key]);
+                if (immutable && hasOwnProperty.call(state.node, key)) {
+                    state.node[key] = child.node;
+                }
+
+                child.isLast = i == state.keys.length - 1;
+                child.isFirst = i == 0;
+
+                if (modifiers.post) modifiers.post.call(state, child);
+
+                path.pop();
+            });
+            parents.pop();
+        }
+
+        if (modifiers.after) modifiers.after.call(state, state.node);
+
+        return state;
+    })(root).node;
 }

-/* harmony default export */ var block_breadcrumb = (BlockBreadcrumb);
-
-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-content-overlay/index.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-/**
- * External dependencies
- */
-
-
-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);
-  const {
-    isParentSelected,
-    hasChildSelected,
-    isDraggingBlocks,
-    isParentHighlighted
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      isBlockSelected,
-      hasSelectedInnerBlock,
-      isDraggingBlocks: _isDraggingBlocks,
-      isBlockHighlighted
-    } = select(store["a" /* store */]);
-    return {
-      isParentSelected: isBlockSelected(clientId),
-      hasChildSelected: hasSelectedInnerBlock(clientId, true),
-      isDraggingBlocks: _isDraggingBlocks(),
-      isParentHighlighted: isBlockHighlighted(clientId)
-    };
-  }, [clientId]);
-  const classes = classnames_default()(baseClassName, wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.className, className, {
-    'overlay-active': isOverlayActive,
-    'parent-highlighted': isParentHighlighted,
-    'is-dragging-blocks': isDraggingBlocks
-  });
-  Object(external_wp_element_["useEffect"])(() => {
-    // Reenable when blocks are not in use.
-    if (!isParentSelected && !hasChildSelected && !isOverlayActive) {
-      setIsOverlayActive(true);
-    } // Disable if parent selected by another means (such as list view).
-    // We check hover to ensure the overlay click interaction is not taking place.
-    // Trying to click the overlay will select the parent block via its 'focusin'
-    // listener on the wrapper, so if the block is selected while hovered we will
-    // let the mouseup disable the overlay instead.
-
-
-    if (isParentSelected && !isHovered && isOverlayActive) {
-      setIsOverlayActive(false);
-    } // Ensure overlay is disabled if a child block is selected.
-
-
-    if (hasChildSelected && isOverlayActive) {
-      setIsOverlayActive(false);
-    }
-  }, [isParentSelected, hasChildSelected, isOverlayActive, isHovered]); // Disabled because the overlay div doesn't actually have a role or functionality
-  // as far as the a11y is concerned. We're just catching the first click so that
-  // the block can be selected without interacting with its contents.
-
-  /* eslint-disable jsx-a11y/no-static-element-interactions */
-
-  return Object(external_wp_element_["createElement"])(TagName, Object(esm_extends["a" /* default */])({}, wrapperProps, {
-    className: classes,
-    onMouseEnter: () => setIsHovered(true),
-    onMouseLeave: () => setIsHovered(false),
-    onMouseUp: isOverlayActive ? () => setIsOverlayActive(false) : undefined
-  }), wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.children);
-}
-/* eslint-enable jsx-a11y/no-static-element-interactions */
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-context/index.js
-var block_context = __webpack_require__("uoCR");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js + 4 modules
-var block_controls = __webpack_require__("fOYa");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-style-selector/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-const ColorSelectorSVGIcon = () => Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
-  xmlns: "https://www.w3.org/2000/svg",
-  viewBox: "0 0 20 20"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["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"
-}));
-/**
- * Color Selector Icon component.
- *
- * @param {Object} props           Component properties.
- * @param {Object} props.style     Style object.
- * @param {string} props.className Class name for component.
- *
- * @return {*} React Icon component.
- */
-
-
-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", {
-    className: `${className} block-library-colors-selector__state-selection`,
-    style: style
-  }, Object(external_wp_element_["createElement"])(ColorSelectorSVGIcon, null)));
-};
-/**
- * Renders the Colors Selector Toolbar with the icon button.
- *
- * @param {Object} props                 Component properties.
- * @param {Object} props.TextColor       Text color component that wraps icon.
- * @param {Object} props.BackgroundColor Background color component that wraps icon.
- *
- * @return {*} React toggle button component.
- */
-
-
-const renderToggleComponent = _ref2 => {
-  let {
-    TextColor,
-    BackgroundColor
-  } = _ref2;
-  return _ref3 => {
-    let {
-      onToggle,
-      isOpen
-    } = _ref3;
-
-    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 = _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);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js + 1 modules
-var block_edit = __webpack_require__("JRTi");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js
-var list_view = __webpack_require__("OzlF");
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
-var more_vertical = __webpack_require__("VKE3");
-
-// EXTERNAL MODULE: ./node_modules/@react-spring/web/dist/react-spring-web.esm.js
-var react_spring_web_esm = __webpack_require__("+DUQ");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-moving-animation/index.js
-var use_moving_animation = __webpack_require__("Xkls");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/leaf.js
-
-
-
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-const AnimatedTreeGridRow = Object(react_spring_web_esm["animated"])(external_wp_components_["__experimentalTreeGridRow"]);
-function ListViewLeaf(_ref) {
-  let {
-    isSelected,
-    position,
-    level,
-    rowCount,
-    children,
-    className,
-    path,
-    ...props
-  } = _ref;
-  const ref = Object(use_moving_animation["a" /* default */])({
-    isSelected,
-    adjustScrolling: false,
-    enableAnimation: true,
-    triggerAnimationOnChange: path
-  });
-  return Object(external_wp_element_["createElement"])(AnimatedTreeGridRow, Object(esm_extends["a" /* default */])({
-    ref: ref,
-    className: classnames_default()('block-editor-list-view-leaf', className),
-    level: level,
-    positionInSet: position,
-    setSize: rowCount
-  }, props), children);
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/button.js + 1 modules
-var block_mover_button = __webpack_require__("9Ma0");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-block-display-information/index.js
-var use_block_display_information = __webpack_require__("wC17");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/utils.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-const getBlockPositionDescription = (position, siblingCount, level) => Object(external_wp_i18n_["sprintf"])(
-/* translators: 1: The numerical position of the block. 2: The total number of blocks. 3. The level of nesting for the block. */
-Object(external_wp_i18n_["__"])('Block %1$d of %2$d, Level %3$d'), position, siblingCount, level);
-/**
- * Returns true if the client ID occurs within the block selection or multi-selection,
- * or false otherwise.
- *
- * @param {string}          clientId               Block client ID.
- * @param {string|string[]} selectedBlockClientIds Selected block client ID, or an array of multi-selected blocks client IDs.
- *
- * @return {boolean} Whether the block is in multi-selection set.
- */
-
-const isClientIdSelected = (clientId, selectedBlockClientIds) => Object(external_lodash_["isArray"])(selectedBlockClientIds) && selectedBlockClientIds.length ? selectedBlockClientIds.indexOf(clientId) !== -1 : selectedBlockClientIds === clientId;
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/expander.js
-
-
-/**
- * WordPress dependencies
- */
-
-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
-    // https://www.w3.org/TR/wai-aria-practices/examples/treegrid/treegrid-1.html
-    //
-    // We've mimicked this by adding an icon with aria-hidden set to true to hide this from the accessibility tree.
-    // For the current tree grid implementation, please do not try to make this a button.
-    //
-    // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
-    Object(external_wp_element_["createElement"])("span", {
-      className: "block-editor-list-view__expander",
-      onClick: event => onClick(event, {
-        forceToggle: true
-      }),
-      "aria-hidden": "true"
-    }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: chevron_right_small
-    }))
-  );
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/block-select-button.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-
-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}`;
-  const blockPositionDescription = getBlockPositionDescription(position, siblingBlockCount, level);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: classnames_default()('block-editor-list-view-block-select-button', className),
-    onClick: onClick,
-    "aria-describedby": descriptionId,
-    ref: ref,
-    tabIndex: tabIndex,
-    onFocus: onFocus,
-    onDragStart: onDragStart,
-    onDragEnd: onDragEnd,
-    draggable: draggable
-  }, Object(external_wp_element_["createElement"])(ListViewExpander, {
-    onClick: onToggleExpanded
-  }), Object(external_wp_element_["createElement"])(block_icon["a" /* default */], {
-    icon: blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.icon,
-    showColors: true
-  }), Object(external_wp_element_["createElement"])(block_title["a" /* default */], {
-    clientId: clientId
-  }), (blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.anchor) && Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-list-view-block-select-button__anchor"
-  }, blockInformation.anchor), isSelected && Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], null, Object(external_wp_i18n_["__"])('(selected block)'))), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-list-view-block-select-button__description",
-    id: descriptionId
-  }, blockPositionDescription));
-}
-
-/* harmony default export */ var block_select_button = (Object(external_wp_element_["forwardRef"])(ListViewBlockSelectButton));
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/index.js + 1 modules
-var block_draggable = __webpack_require__("ZAjO");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/block-contents.js
-
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-const ListViewBlockContents = Object(external_wp_element_["forwardRef"])((_ref, ref) => {
-  let {
-    onClick,
-    onToggleExpanded,
-    block,
-    isSelected,
-    position,
-    siblingBlockCount,
-    level,
-    ...props
-  } = _ref;
-  const {
-    clientId
-  } = block;
-  const {
-    blockMovingClientId,
-    selectedBlockInBlockEditor
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockRootClientId,
-      hasBlockMovingClientId,
-      getSelectedBlockClientId
-    } = select(store["a" /* store */]);
-    return {
-      rootClientId: getBlockRootClientId(clientId) || '',
-      blockMovingClientId: hasBlockMovingClientId(),
-      selectedBlockInBlockEditor: getSelectedBlockClientId()
-    };
-  }, [clientId]);
-  const isBlockMoveTarget = blockMovingClientId && selectedBlockInBlockEditor === clientId;
-  const className = classnames_default()('block-editor-list-view-block-contents', {
-    'is-dropping-before': isBlockMoveTarget
-  });
-  return Object(external_wp_element_["createElement"])(block_draggable["a" /* default */], {
-    clientIds: [block.clientId]
-  }, _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);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-settings-dropdown.js + 4 modules
-var block_settings_dropdown = __webpack_require__("1eGn");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/context.js
-/**
- * WordPress dependencies
- */
-
-const ListViewContext = Object(external_wp_element_["createContext"])({
-  __experimentalFeatures: false,
-  __experimentalPersistentListViewFeatures: false
-});
-const useListViewContext = () => Object(external_wp_element_["useContext"])(ListViewContext);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/block.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-
-
-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 {
-    clientId
-  } = block;
-  const {
-    toggleBlockHighlight
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const {
-    __experimentalFeatures: withExperimentalFeatures,
-    __experimentalPersistentListViewFeatures: withExperimentalPersistentListViewFeatures,
-    __experimentalHideContainerBlockActions: hideContainerBlockActions,
-    isTreeGridMounted,
-    expand,
-    collapse
-  } = useListViewContext();
-  const hasSiblings = siblingBlockCount > 0;
-  const hasRenderedMovers = showBlockMovers && hasSiblings;
-  const moverCellClassName = classnames_default()('block-editor-list-view-block__mover-cell', {
-    'is-visible': isHovered || isSelected
-  });
-  const listViewBlockSettingsClassName = classnames_default()('block-editor-list-view-block__menu-cell', {
-    'is-visible': isHovered || isSelected
-  }); // If ListView has experimental features related to the Persistent List View,
-  // only focus the selected list item on mount; otherwise the list would always
-  // try to steal the focus from the editor canvas.
-
-  Object(external_wp_element_["useEffect"])(() => {
-    if (withExperimentalPersistentListViewFeatures && !isTreeGridMounted && isSelected) {
-      cellRef.current.focus();
-    }
-  }, []);
-  const highlightBlock = withExperimentalPersistentListViewFeatures ? toggleBlockHighlight : () => {};
-  const onMouseEnter = Object(external_wp_element_["useCallback"])(() => {
-    setIsHovered(true);
-    highlightBlock(clientId, true);
-  }, [clientId, setIsHovered, highlightBlock]);
-  const onMouseLeave = Object(external_wp_element_["useCallback"])(() => {
-    setIsHovered(false);
-    highlightBlock(clientId, false);
-  }, [clientId, setIsHovered, highlightBlock]);
-  const selectEditorBlock = Object(external_wp_element_["useCallback"])(event => {
-    event.stopPropagation();
-    selectBlock(clientId);
-  }, [clientId, selectBlock]);
-  const toggleExpanded = Object(external_wp_element_["useCallback"])(event => {
-    event.stopPropagation();
-
-    if (isExpanded === true) {
-      collapse(clientId);
-    } else if (isExpanded === false) {
-      expand(clientId);
-    }
-  }, [clientId, expand, collapse, isExpanded]);
-  const showBlockActions = withExperimentalFeatures && ( //hide actions for blocks like core/widget-areas
-  !hideContainerBlockActions || hideContainerBlockActions && level > 1);
-  const hideBlockActions = withExperimentalFeatures && !showBlockActions;
-  let colSpan;
-
-  if (hasRenderedMovers) {
-    colSpan = 2;
-  } else if (hideBlockActions) {
-    colSpan = 3;
-  }
-
-  const classes = classnames_default()({
-    'is-selected': isSelected,
-    'is-branch-selected': withExperimentalPersistentListViewFeatures && isBranchSelected,
-    'is-dragging': isDragged,
-    'has-single-cell': hideBlockActions
-  });
-  return Object(external_wp_element_["createElement"])(ListViewLeaf, {
-    className: classes,
-    onMouseEnter: onMouseEnter,
-    onMouseLeave: onMouseLeave,
-    onFocus: onMouseEnter,
-    onBlur: onMouseLeave,
-    level: level,
-    position: position,
-    rowCount: rowCount,
-    path: path,
-    id: `list-view-block-${clientId}`,
-    "data-block": clientId,
-    isExpanded: isExpanded
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGridCell"], {
-    className: "block-editor-list-view-block__contents-cell",
-    colSpan: colSpan,
-    ref: cellRef
-  }, _ref2 => {
-    let {
-      ref,
-      tabIndex,
-      onFocus
-    } = _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));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/branch.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-/**
- * Given a block, returns the total number of blocks in that subtree. This is used to help determine
- * the list position of a block.
- *
- * When a block is collapsed, we do not count their children as part of that total. In the current drag
- * implementation dragged blocks and their children are not counted.
- *
- * @param {Object} block            block tree
- * @param {Object} expandedState    state that notes which branches are collapsed
- * @param {Array}  draggedClientIds a list of dragged client ids
- * @return {number} block count
- */
-
-function countBlocks(block, expandedState, draggedClientIds) {
-  var _expandedState$block$;
-
-  const isDragged = draggedClientIds === null || draggedClientIds === void 0 ? void 0 : draggedClientIds.includes(block.clientId);
-
-  if (isDragged) {
-    return 0;
-  }
-
-  const isExpanded = (_expandedState$block$ = expandedState[block.clientId]) !== null && _expandedState$block$ !== void 0 ? _expandedState$block$ : true;
-
-  if (isExpanded) {
-    return 1 + block.innerBlocks.reduce(countReducer(expandedState, draggedClientIds), 0);
-  }
-
-  return 1;
-}
-
-const countReducer = (expandedState, draggedClientIds) => (count, block) => {
-  var _expandedState$block$2;
-
-  const isDragged = draggedClientIds === null || draggedClientIds === void 0 ? void 0 : draggedClientIds.includes(block.clientId);
-
-  if (isDragged) {
-    return count;
-  }
-
-  const isExpanded = (_expandedState$block$2 = expandedState[block.clientId]) !== null && _expandedState$block$2 !== void 0 ? _expandedState$block$2 : true;
-
-  if (isExpanded && block.innerBlocks.length > 0) {
-    return count + countBlocks(block, expandedState, draggedClientIds);
-  }
-
-  return count + 1;
-};
-
-function ListViewBranch(props) {
-  const {
-    blocks,
-    selectBlock,
-    showBlockMovers,
-    showNestedBlocks,
-    selectedClientIds,
-    level = 1,
-    path = '',
-    isBranchSelected = false,
-    listPosition = 0,
-    fixedListWindow
-  } = props;
-  const {
-    expandedState,
-    draggedClientIds,
-    __experimentalPersistentListViewFeatures
-  } = useListViewContext();
-  const filteredBlocks = Object(external_lodash_["compact"])(blocks);
-  const blockCount = filteredBlocks.length;
-  let nextPosition = listPosition;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, filteredBlocks.map((block, index) => {
-    var _expandedState$client;
-
-    const {
-      clientId,
-      innerBlocks
-    } = block;
-
-    if (index > 0) {
-      nextPosition += countBlocks(filteredBlocks[index - 1], expandedState, draggedClientIds);
-    }
-
-    const usesWindowing = __experimentalPersistentListViewFeatures;
-    const {
-      itemInView
-    } = fixedListWindow;
-    const blockInView = !usesWindowing || itemInView(nextPosition);
-    const position = index + 1;
-    const updatedPath = path.length > 0 ? `${path}_${position}` : `${position}`;
-    const hasNestedBlocks = showNestedBlocks && !!innerBlocks && !!innerBlocks.length;
-    const isExpanded = hasNestedBlocks ? (_expandedState$client = expandedState[clientId]) !== null && _expandedState$client !== void 0 ? _expandedState$client : true : undefined;
-    const isDragged = !!(draggedClientIds !== null && draggedClientIds !== void 0 && draggedClientIds.includes(clientId));
-    const showBlock = isDragged || blockInView; // Make updates to the selected or dragged blocks synchronous,
-    // but asynchronous for any other block.
-
-    const isSelected = isClientIdSelected(clientId, selectedClientIds);
-    const isSelectedBranch = isBranchSelected || isSelected && hasNestedBlocks;
-    return Object(external_wp_element_["createElement"])(external_wp_data_["AsyncModeProvider"], {
-      key: clientId,
-      value: !isSelected
-    }, showBlock && Object(external_wp_element_["createElement"])(list_view_block, {
-      block: block,
-      selectBlock: selectBlock,
-      isSelected: isSelected,
-      isBranchSelected: isSelectedBranch,
-      isDragged: isDragged,
-      level: level,
-      position: position,
-      rowCount: blockCount,
-      siblingBlockCount: blockCount,
-      showBlockMovers: showBlockMovers,
-      path: updatedPath,
-      isExpanded: isExpanded,
-      listPosition: nextPosition
-    }), !showBlock && Object(external_wp_element_["createElement"])("tr", null, Object(external_wp_element_["createElement"])("td", {
-      className: "block-editor-list-view-placeholder"
-    })), hasNestedBlocks && isExpanded && !isDragged && Object(external_wp_element_["createElement"])(ListViewBranch, {
-      blocks: innerBlocks,
-      selectBlock: selectBlock,
-      showBlockMovers: showBlockMovers,
-      showNestedBlocks: showNestedBlocks,
-      level: level + 1,
-      path: updatedPath,
-      listPosition: nextPosition + 1,
-      fixedListWindow: fixedListWindow,
-      isBranchSelected: isSelectedBranch,
-      selectedClientIds: selectedClientIds
-    }));
-  }));
-}
-
-ListViewBranch.defaultProps = {
-  selectBlock: () => {}
-};
-/* harmony default export */ var branch = (Object(external_wp_element_["memo"])(ListViewBranch));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/drop-indicator.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-function ListViewDropIndicator(_ref) {
-  let {
-    listViewRef,
-    blockDropTarget
-  } = _ref;
-  const {
-    rootClientId,
-    clientId,
-    dropPosition
-  } = blockDropTarget || {};
-  const [rootBlockElement, blockElement] = Object(external_wp_element_["useMemo"])(() => {
-    if (!listViewRef.current) {
-      return [];
-    } // The rootClientId will be defined whenever dropping into inner
-    // block lists, but is undefined when dropping at the root level.
-
-
-    const _rootBlockElement = rootClientId ? listViewRef.current.querySelector(`[data-block="${rootClientId}"]`) : undefined; // The clientId represents the sibling block, the dragged block will
-    // usually be inserted adjacent to it. It will be undefined when
-    // dropping a block into an empty block list.
-
-
-    const _blockElement = clientId ? listViewRef.current.querySelector(`[data-block="${clientId}"]`) : undefined;
-
-    return [_rootBlockElement, _blockElement];
-  }, [rootClientId, clientId]); // The targetElement is the element that the drop indicator will appear
-  // before or after. When dropping into an empty block list, blockElement
-  // is undefined, so the indicator will appear after the rootBlockElement.
-
-  const targetElement = blockElement || rootBlockElement;
-  const getDropIndicatorIndent = Object(external_wp_element_["useCallback"])(() => {
-    if (!rootBlockElement) {
-      return 0;
-    } // Calculate the indent using the block icon of the root block.
-    // Using a classname selector here might be flaky and could be
-    // improved.
-
-
-    const targetElementRect = targetElement.getBoundingClientRect();
-    const rootBlockIconElement = rootBlockElement.querySelector('.block-editor-block-icon');
-    const rootBlockIconRect = rootBlockIconElement.getBoundingClientRect();
-    return rootBlockIconRect.right - targetElementRect.left;
-  }, [rootBlockElement, targetElement]);
-  const style = Object(external_wp_element_["useMemo"])(() => {
-    if (!targetElement) {
-      return {};
-    }
-
-    const indent = getDropIndicatorIndent();
-    return {
-      width: targetElement.offsetWidth - indent
-    };
-  }, [getDropIndicatorIndent, targetElement]);
-  const getAnchorRect = Object(external_wp_element_["useCallback"])(() => {
-    if (!targetElement) {
-      return {};
-    }
-
-    const ownerDocument = targetElement.ownerDocument;
-    const rect = targetElement.getBoundingClientRect();
-    const indent = getDropIndicatorIndent();
-    const anchorRect = {
-      left: rect.left + indent,
-      right: rect.right,
-      width: 0,
-      height: rect.height,
-      ownerDocument
-    };
-
-    if (dropPosition === 'top') {
-      return { ...anchorRect,
-        top: rect.top,
-        bottom: rect.top
-      };
-    }
-
-    if (dropPosition === 'bottom' || dropPosition === 'inside') {
-      return { ...anchorRect,
-        top: rect.bottom,
-        bottom: rect.bottom
-      };
-    }
-
-    return {};
-  }, [targetElement, dropPosition, getDropIndicatorIndent]);
-
-  if (!targetElement) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
-    noArrow: true,
-    animate: false,
-    getAnchorRect: getAnchorRect,
-    focusOnMount: false,
-    className: "block-editor-list-view-drop-indicator"
-  }, Object(external_wp_element_["createElement"])("div", {
-    style: style,
-    className: "block-editor-list-view-drop-indicator__line"
-  }));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/use-list-view-client-ids.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-function useListViewClientIds(blocks) {
-  return Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getDraggedBlockClientIds,
-      getSelectedBlockClientIds,
-      __unstableGetClientIdsTree
-    } = select(store["a" /* store */]);
-    return {
-      selectedClientIds: getSelectedBlockClientIds(),
-      draggedClientIds: getDraggedBlockClientIds(),
-      clientIdsTree: blocks ? blocks : __unstableGetClientIdsTree()
-    };
-  }, [blocks]);
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/math.js
-var math = __webpack_require__("vIlp");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-on-block-drop/index.js
-var use_on_block_drop = __webpack_require__("/lNF");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/use-list-view-drop-zone.js
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-/** @typedef {import('../../utils/math').WPPoint} WPPoint */
-
-/**
- * The type of a drag event.
- *
- * @typedef {'default'|'file'|'html'} WPDragEventType
- */
-
-/**
- * An array representing data for blocks in the DOM used by drag and drop.
- *
- * @typedef {Object} WPListViewDropZoneBlocks
- * @property {string}  clientId                        The client id for the block.
- * @property {string}  rootClientId                    The root client id for the block.
- * @property {number}  blockIndex                      The block's index.
- * @property {Element} element                         The DOM element representing the block.
- * @property {number}  innerBlockCount                 The number of inner blocks the block has.
- * @property {boolean} isDraggedBlock                  Whether the block is currently being dragged.
- * @property {boolean} canInsertDraggedBlocksAsSibling Whether the dragged block can be a sibling of this block.
- * @property {boolean} canInsertDraggedBlocksAsChild   Whether the dragged block can be a child of this block.
- */
-
-/**
- * An object containing details of a drop target.
- *
- * @typedef {Object} WPListViewDropZoneTarget
- * @property {string}                  blockIndex   The insertion index.
- * @property {string}                  rootClientId The root client id for the block.
- * @property {string|undefined}        clientId     The client id for the block.
- * @property {'top'|'bottom'|'inside'} dropPosition The position relative to the block that the user is dropping to.
- *                                                  'inside' refers to nesting as an inner block.
- */
-
-/**
- * Is the point contained by the rectangle.
- *
- * @param {WPPoint} point The point.
- * @param {DOMRect} rect  The rectangle.
- *
- * @return {boolean} True if the point is contained by the rectangle, false otherwise.
- */
-
-function isPointContainedByRect(point, rect) {
-  return rect.left <= point.x && rect.right >= point.x && rect.top <= point.y && rect.bottom >= point.y;
-}
-/**
- * Determines whether the user positioning the dragged block to nest as an
- * inner block.
- *
- * Presently this is determined by whether the cursor is on the right hand side
- * of the block.
- *
- * @param {WPPoint} point The point representing the cursor position when dragging.
- * @param {DOMRect} rect  The rectangle.
- */
-
-
-function isNestingGesture(point, rect) {
-  const blockCenterX = rect.left + rect.width / 2;
-  return point.x > blockCenterX;
-} // Block navigation is always a vertical list, so only allow dropping
-// to the above or below a block.
-
-
-const ALLOWED_DROP_EDGES = ['top', 'bottom'];
-/**
- * Given blocks data and the cursor position, compute the drop target.
- *
- * @param {WPListViewDropZoneBlocks} blocksData Data about the blocks in list view.
- * @param {WPPoint}                  position   The point representing the cursor position when dragging.
- *
- * @return {WPListViewDropZoneTarget} An object containing data about the drop target.
- */
-
-function getListViewDropTarget(blocksData, position) {
-  let candidateEdge;
-  let candidateBlockData;
-  let candidateDistance;
-  let candidateRect;
-
-  for (const blockData of blocksData) {
-    if (blockData.isDraggedBlock) {
-      continue;
-    }
-
-    const rect = blockData.element.getBoundingClientRect();
-    const [distance, edge] = Object(math["a" /* getDistanceToNearestEdge */])(position, rect, ALLOWED_DROP_EDGES);
-    const isCursorWithinBlock = isPointContainedByRect(position, rect);
-
-    if (candidateDistance === undefined || distance < candidateDistance || isCursorWithinBlock) {
-      candidateDistance = distance;
-      const index = blocksData.indexOf(blockData);
-      const previousBlockData = blocksData[index - 1]; // If dragging near the top of a block and the preceding block
-      // is at the same level, use the preceding block as the candidate
-      // instead, as later it makes determining a nesting drop easier.
-
-      if (edge === 'top' && previousBlockData && previousBlockData.rootClientId === blockData.rootClientId && !previousBlockData.isDraggedBlock) {
-        candidateBlockData = previousBlockData;
-        candidateEdge = 'bottom';
-        candidateRect = previousBlockData.element.getBoundingClientRect();
-      } else {
-        candidateBlockData = blockData;
-        candidateEdge = edge;
-        candidateRect = rect;
-      } // If the mouse position is within the block, break early
-      // as the user would intend to drop either before or after
-      // this block.
-      //
-      // This solves an issue where some rows in the list view
-      // tree overlap slightly due to sub-pixel rendering.
-
-
-      if (isCursorWithinBlock) {
-        break;
-      }
-    }
-  }
-
-  if (!candidateBlockData) {
-    return;
-  }
-
-  const isDraggingBelow = candidateEdge === 'bottom'; // If the user is dragging towards the bottom of the block check whether
-  // they might be trying to nest the block as a child.
-  // If the block already has inner blocks, this should always be treated
-  // as nesting since the next block in the tree will be the first child.
-
-  if (isDraggingBelow && candidateBlockData.canInsertDraggedBlocksAsChild && (candidateBlockData.innerBlockCount > 0 || isNestingGesture(position, candidateRect))) {
-    return {
-      rootClientId: candidateBlockData.clientId,
-      blockIndex: 0,
-      dropPosition: 'inside'
-    };
-  } // If dropping as a sibling, but block cannot be inserted in
-  // this context, return early.
-
-
-  if (!candidateBlockData.canInsertDraggedBlocksAsSibling) {
-    return;
-  }
-
-  const offset = isDraggingBelow ? 1 : 0;
-  return {
-    rootClientId: candidateBlockData.rootClientId,
-    clientId: candidateBlockData.clientId,
-    blockIndex: candidateBlockData.blockIndex + offset,
-    dropPosition: candidateEdge
-  };
-}
-/**
- * A react hook for implementing a drop zone in list view.
- *
- * @return {WPListViewDropZoneTarget} The drop target.
- */
-
-
-function useListViewDropZone() {
-  const {
-    getBlockRootClientId,
-    getBlockIndex,
-    getBlockCount,
-    getDraggedBlockClientIds,
-    canInsertBlocks
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const [target, setTarget] = Object(external_wp_element_["useState"])();
-  const {
-    rootClientId: targetRootClientId,
-    blockIndex: targetBlockIndex
-  } = target || {};
-  const onBlockDrop = Object(use_on_block_drop["a" /* default */])(targetRootClientId, targetBlockIndex);
-  const draggedBlockClientIds = getDraggedBlockClientIds();
-  const throttled = Object(external_wp_compose_["useThrottle"])(Object(external_wp_element_["useCallback"])((event, currentTarget) => {
-    const position = {
-      x: event.clientX,
-      y: event.clientY
-    };
-    const isBlockDrag = !!(draggedBlockClientIds !== null && draggedBlockClientIds !== void 0 && draggedBlockClientIds.length);
-    const blockElements = Array.from(currentTarget.querySelectorAll('[data-block]'));
-    const blocksData = blockElements.map(blockElement => {
-      const clientId = blockElement.dataset.block;
-      const rootClientId = getBlockRootClientId(clientId);
-      return {
-        clientId,
-        rootClientId,
-        blockIndex: getBlockIndex(clientId),
-        element: blockElement,
-        isDraggedBlock: isBlockDrag ? draggedBlockClientIds.includes(clientId) : false,
-        innerBlockCount: getBlockCount(clientId),
-        canInsertDraggedBlocksAsSibling: isBlockDrag ? canInsertBlocks(draggedBlockClientIds, rootClientId) : true,
-        canInsertDraggedBlocksAsChild: isBlockDrag ? canInsertBlocks(draggedBlockClientIds, clientId) : true
-      };
-    });
-    const newTarget = getListViewDropTarget(blocksData, position);
-
-    if (newTarget) {
-      setTarget(newTarget);
-    }
-  }, [draggedBlockClientIds]), 200);
-  const ref = Object(external_wp_compose_["__experimentalUseDropZone"])({
-    onDrop: onBlockDrop,
-
-    onDragOver(event) {
-      // `currentTarget` is only available while the event is being
-      // handled, so get it now and pass it to the thottled function.
-      // https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget
-      throttled(event, event.currentTarget);
-    },
-
-    onDragEnd() {
-      throttled.cancel();
-      setTarget(null);
-    }
-
-  });
-  return {
-    ref,
-    target
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/index.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-
-
-const noop = () => {};
-
-const list_view_expanded = (state, action) => {
-  switch (action.type) {
-    case 'expand':
-      return { ...state,
-        ...{
-          [action.clientId]: true
-        }
-      };
-
-    case 'collapse':
-      return { ...state,
-        ...{
-          [action.clientId]: false
-        }
-      };
-
-    default:
-      return state;
-  }
-};
-/**
- * Wrap `ListViewRows` with `TreeGrid`. ListViewRows is a
- * recursive component (it renders itself), so this ensures TreeGrid is only
- * present at the very top of the navigation grid.
- *
- * @param {Object}   props                                          Components props.
- * @param {Array}    props.blocks                                   Custom subset of block client IDs to be used instead of the default hierarchy.
- * @param {Function} props.onSelect                                 Block selection callback.
- * @param {boolean}  props.showNestedBlocks                         Flag to enable displaying nested blocks.
- * @param {boolean}  props.showBlockMovers                          Flag to enable block movers
- * @param {boolean}  props.__experimentalFeatures                   Flag to enable experimental features.
- * @param {boolean}  props.__experimentalPersistentListViewFeatures Flag to enable features for the Persistent List View experiment.
- * @param {boolean}  props.__experimentalHideContainerBlockActions  Flag to hide actions of top level blocks (like core/widget-area)
- * @param {Object}   ref                                            Forwarded ref
- */
-
-
-function ListView(_ref, ref) {
-  let {
-    blocks,
-    onSelect = noop,
-    __experimentalFeatures,
-    __experimentalPersistentListViewFeatures,
-    __experimentalHideContainerBlockActions,
-    showNestedBlocks,
-    showBlockMovers,
-    ...props
-  } = _ref;
-  const {
-    clientIdsTree,
-    draggedClientIds,
-    selectedClientIds
-  } = useListViewClientIds(blocks);
-  const {
-    selectBlock
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const {
-    visibleBlockCount
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getGlobalBlockCount,
-      getClientIdsOfDescendants
-    } = select(store["a" /* store */]);
-    const draggedBlockCount = (draggedClientIds === null || draggedClientIds === void 0 ? void 0 : draggedClientIds.length) > 0 ? getClientIdsOfDescendants(draggedClientIds).length + 1 : 0;
-    return {
-      visibleBlockCount: getGlobalBlockCount() - draggedBlockCount
-    };
-  }, [draggedClientIds]);
-  const selectEditorBlock = Object(external_wp_element_["useCallback"])(clientId => {
-    selectBlock(clientId);
-    onSelect(clientId);
-  }, [selectBlock, onSelect]);
-  const [expandedState, setExpandedState] = Object(external_wp_element_["useReducer"])(list_view_expanded, {});
-  const {
-    ref: dropZoneRef,
-    target: blockDropTarget
-  } = useListViewDropZone();
-  const elementRef = Object(external_wp_element_["useRef"])();
-  const treeGridRef = Object(external_wp_compose_["useMergeRefs"])([elementRef, dropZoneRef, ref]);
-  const isMounted = Object(external_wp_element_["useRef"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    isMounted.current = true;
-  }, []); // List View renders a fixed number of items and relies on each having a fixed item height of 36px.
-  // If this value changes, we should also change the itemHeight value set in useFixedWindowList.
-  // See: https://github.com/WordPress/gutenberg/pull/35230 for additional context.
-
-  const [fixedListWindow] = Object(external_wp_compose_["__experimentalUseFixedWindowList"])(elementRef, 36, visibleBlockCount, {
-    useWindowing: __experimentalPersistentListViewFeatures,
-    windowOverscan: 40
-  });
-  const expand = Object(external_wp_element_["useCallback"])(clientId => {
-    if (!clientId) {
-      return;
-    }
-
-    setExpandedState({
-      type: 'expand',
-      clientId
-    });
-  }, [setExpandedState]);
-  const collapse = Object(external_wp_element_["useCallback"])(clientId => {
-    if (!clientId) {
-      return;
-    }
-
-    setExpandedState({
-      type: 'collapse',
-      clientId
-    });
-  }, [setExpandedState]);
-  const expandRow = Object(external_wp_element_["useCallback"])(row => {
-    var _row$dataset;
-
-    expand(row === null || row === void 0 ? void 0 : (_row$dataset = row.dataset) === null || _row$dataset === void 0 ? void 0 : _row$dataset.block);
-  }, [expand]);
-  const collapseRow = Object(external_wp_element_["useCallback"])(row => {
-    var _row$dataset2;
-
-    collapse(row === null || row === void 0 ? void 0 : (_row$dataset2 = row.dataset) === null || _row$dataset2 === void 0 ? void 0 : _row$dataset2.block);
-  }, [collapse]);
-  const contextValue = Object(external_wp_element_["useMemo"])(() => ({
-    __experimentalFeatures,
-    __experimentalPersistentListViewFeatures,
-    __experimentalHideContainerBlockActions,
-    isTreeGridMounted: isMounted.current,
-    draggedClientIds,
-    expandedState,
-    expand,
-    collapse
-  }), [__experimentalFeatures, __experimentalPersistentListViewFeatures, __experimentalHideContainerBlockActions, isMounted.current, draggedClientIds, expandedState, expand, collapse]);
-  return Object(external_wp_element_["createElement"])(external_wp_data_["AsyncModeProvider"], {
-    value: true
-  }, Object(external_wp_element_["createElement"])(ListViewDropIndicator, {
-    listViewRef: elementRef,
-    blockDropTarget: blockDropTarget
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTreeGrid"], {
-    className: "block-editor-list-view-tree",
-    "aria-label": Object(external_wp_i18n_["__"])('Block navigation structure'),
-    ref: treeGridRef,
-    onCollapseRow: collapseRow,
-    onExpandRow: expandRow
-  }, Object(external_wp_element_["createElement"])(ListViewContext.Provider, {
-    value: contextValue
-  }, Object(external_wp_element_["createElement"])(branch, Object(esm_extends["a" /* default */])({
-    blocks: clientIdsTree,
-    selectBlock: selectEditorBlock,
-    showNestedBlocks: showNestedBlocks,
-    showBlockMovers: showBlockMovers,
-    fixedListWindow: fixedListWindow,
-    selectedClientIds: selectedClientIds
-  }, props)))));
-}
-
-/* harmony default export */ var components_list_view = (Object(external_wp_element_["forwardRef"])(ListView));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/dropdown.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-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 */],
-    "aria-expanded": isOpen,
-    "aria-haspopup": "true",
-    onClick: isEnabled ? onToggle : undefined
-    /* translators: button label text should, if possible, be under 16 characters. */
-    ,
-    label: Object(external_wp_i18n_["__"])('List view'),
-    className: "block-editor-block-navigation",
-    "aria-disabled": !isEnabled
-  }));
-}
-
-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: _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", {
-      className: "block-editor-block-navigation__label"
-    }, Object(external_wp_i18n_["__"])('List view')), Object(external_wp_element_["createElement"])(components_list_view, {
-      showNestedBlocks: true,
-      __experimentalFeatures: __experimentalFeatures
-    }))
-  });
-}
-
-/* harmony default export */ var dropdown = (Object(external_wp_element_["forwardRef"])(BlockNavigationDropdown));
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
-var layout = __webpack_require__("Civd");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-variation-picker/index.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-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
-  });
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
-    icon: icon,
-    label: label,
-    instructions: instructions,
-    className: classes
-  }, Object(external_wp_element_["createElement"])("ul", {
-    className: "block-editor-block-variation-picker__variations",
-    role: "list",
-    "aria-label": Object(external_wp_i18n_["__"])('Block variations')
-  }, variations.map(variation => Object(external_wp_element_["createElement"])("li", {
-    key: variation.name
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    icon: variation.icon,
-    iconSize: 48,
-    onClick: () => onSelect(variation),
-    className: "block-editor-block-variation-picker__variation",
-    label: variation.description || variation.title
-  }), Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-block-variation-picker__variation-label",
-    role: "presentation"
-  }, variation.title)))), allowSkip && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-variation-picker__skip"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "link",
-    onClick: () => onSelect()
-  }, Object(external_wp_i18n_["__"])('Skip'))));
-}
-
-/* harmony default export */ var block_variation_picker = (BlockVariationPicker);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js + 2 modules
-var block_preview = __webpack_require__("REKd");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
-var chevron_left = __webpack_require__("2gm7");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
-var chevron_right = __webpack_require__("1iEr");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/stretch-full-width.js
-var stretch_full_width = __webpack_require__("XNw2");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/grid.js
-var grid = __webpack_require__("b2RC");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-setup/constants.js
-const VIEWMODES = {
-  carousel: 'carousel',
-  grid: 'grid'
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-setup/setup-toolbar.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-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 = _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 = _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"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: stretch_full_width["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Carousel view'),
-    onClick: () => setViewMode(VIEWMODES.carousel),
-    isPressed: isCarouselView
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: grid["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Grid view'),
-    onClick: () => setViewMode(VIEWMODES.grid),
-    isPressed: viewMode === VIEWMODES.grid
-  }));
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-pattern-setup__toolbar"
-  }, isCarouselView && Object(external_wp_element_["createElement"])(CarouselNavigation, {
-    handlePrevious: handlePrevious,
-    handleNext: handleNext,
-    activeSlide: activeSlide,
-    totalSlides: totalSlides
-  }), displayControls, isCarouselView && Object(external_wp_element_["createElement"])(Actions, {
-    onBlockPatternSelect: onBlockPatternSelect,
-    onStartBlank: onStartBlank
-  }));
-};
-
-/* harmony default export */ var setup_toolbar = (SetupToolbar);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-setup/use-patterns-setup.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-function usePatternsSetup(clientId, blockName, filterPatternsFn) {
-  return Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockRootClientId,
-      __experimentalGetPatternsByBlockTypes,
-      __experimentalGetAllowedPatterns
-    } = select(store["a" /* store */]);
-    const rootClientId = getBlockRootClientId(clientId);
-
-    if (filterPatternsFn) {
-      return __experimentalGetAllowedPatterns(rootClientId).filter(filterPatternsFn);
-    }
-
-    return __experimentalGetPatternsByBlockTypes(blockName, rootClientId);
-  }, [clientId, blockName, filterPatternsFn]);
-}
-
-/* harmony default export */ var use_patterns_setup = (usePatternsSetup);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-setup/index.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-
-const SetupContent = _ref => {
-  let {
-    viewMode,
-    activeSlide,
-    patterns,
-    onBlockPatternSelect
-  } = _ref;
-  const composite = Object(external_wp_components_["__unstableUseCompositeState"])();
-  const containerClass = 'block-editor-block-pattern-setup__container';
-
-  if (viewMode === VIEWMODES.carousel) {
-    const slideClass = new Map([[activeSlide, 'active-slide'], [activeSlide - 1, 'previous-slide'], [activeSlide + 1, 'next-slide']]);
-    return Object(external_wp_element_["createElement"])("div", {
-      className: containerClass
-    }, Object(external_wp_element_["createElement"])("ul", {
-      className: "carousel-container"
-    }, patterns.map((pattern, index) => Object(external_wp_element_["createElement"])(BlockPatternSlide, {
-      className: slideClass.get(index) || '',
-      key: pattern.name,
-      pattern: pattern
-    }))));
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__unstableComposite"], Object(esm_extends["a" /* default */])({}, composite, {
-    role: "listbox",
-    className: containerClass,
-    "aria-label": Object(external_wp_i18n_["__"])('Patterns list')
-  }), patterns.map(pattern => Object(external_wp_element_["createElement"])(BlockPattern, {
-    key: pattern.name,
-    pattern: pattern,
-    onSelect: onBlockPatternSelect,
-    composite: composite
-  })));
-};
-
-function BlockPattern(_ref2) {
-  let {
-    pattern,
-    onSelect,
-    composite
-  } = _ref2;
-  const baseClassName = 'block-editor-block-pattern-setup-list';
-  const {
-    blocks,
-    title,
-    description,
-    viewportWidth = 700
-  } = pattern;
-  const descriptionId = Object(external_wp_compose_["useInstanceId"])(BlockPattern, `${baseClassName}__item-description`);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: `${baseClassName}__list-item`,
-    "aria-label": pattern.title,
-    "aria-describedby": pattern.description ? descriptionId : undefined
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__unstableCompositeItem"], Object(esm_extends["a" /* default */])({
-    role: "option",
-    as: "div"
-  }, composite, {
-    className: `${baseClassName}__item`,
-    onClick: () => onSelect(blocks)
-  }), Object(external_wp_element_["createElement"])(block_preview["a" /* default */], {
-    blocks: blocks,
-    viewportWidth: viewportWidth
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: `${baseClassName}__item-title`
-  }, title)), !!description && Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    id: descriptionId
-  }, description));
-}
-
-function BlockPatternSlide(_ref3) {
-  let {
-    className,
-    pattern
-  } = _ref3;
-  const {
-    blocks,
-    title,
-    description
-  } = pattern;
-  const descriptionId = Object(external_wp_compose_["useInstanceId"])(BlockPatternSlide, 'block-editor-block-pattern-setup-list__item-description');
-  return Object(external_wp_element_["createElement"])("li", {
-    className: `pattern-slide ${className}`,
-    "aria-label": title,
-    "aria-describedby": description ? descriptionId : undefined
-  }, Object(external_wp_element_["createElement"])(block_preview["a" /* default */], {
-    blocks: blocks,
-    __experimentalLive: true
-  }), !!description && Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    id: descriptionId
-  }, description));
-}
-
-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);
-  const {
-    replaceBlock
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const patterns = use_patterns_setup(clientId, blockName, filterPatternsFn);
-
-  if (!(patterns !== null && patterns !== void 0 && patterns.length) || showBlank) {
-    return startBlankComponent;
-  }
-
-  const onBlockPatternSelectDefault = blocks => {
-    const clonedBlocks = blocks.map(block => Object(external_wp_blocks_["cloneBlock"])(block));
-    replaceBlock(clientId, clonedBlocks);
-  };
-
-  const onPatternSelectCallback = onBlockPatternSelect || onBlockPatternSelectDefault;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: `block-editor-block-pattern-setup view-mode-${viewMode}`
-  }, Object(external_wp_element_["createElement"])(setup_toolbar, {
-    viewMode: viewMode,
-    setViewMode: setViewMode,
-    activeSlide: activeSlide,
-    totalSlides: patterns.length,
-    handleNext: () => {
-      setActiveSlide(active => active + 1);
-    },
-    handlePrevious: () => {
-      setActiveSlide(active => active - 1);
-    },
-    onBlockPatternSelect: () => {
-      onPatternSelectCallback(patterns[activeSlide].blocks);
-    },
-    onStartBlank: () => {
-      setShowBlank(true);
-    }
-  }), Object(external_wp_element_["createElement"])(SetupContent, {
-    viewMode: viewMode,
-    activeSlide: activeSlide,
-    patterns: patterns,
-    onBlockPatternSelect: onPatternSelectCallback
-  }));
-};
-
-/* harmony default export */ var block_pattern_setup = (BlockPatternSetup);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js
-var chevron_down = __webpack_require__("NWDH");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/block-variation-transforms.js
-var block_variation_transforms = __webpack_require__("Btt3");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-variation-transforms/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-function __experimentalBlockVariationTransforms(_ref) {
-  let {
-    blockClientId
-  } = _ref;
-  const [selectedValue, setSelectedValue] = Object(external_wp_element_["useState"])();
-  const {
-    updateBlockAttributes
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const {
-    variations,
-    blockAttributes
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockVariations
-    } = select(external_wp_blocks_["store"]);
-    const {
-      getBlockName,
-      getBlockAttributes
-    } = select(store["a" /* store */]);
-    const blockName = blockClientId && getBlockName(blockClientId);
-    return {
-      variations: blockName && getBlockVariations(blockName, 'transform'),
-      blockAttributes: getBlockAttributes(blockClientId)
-    };
-  }, [blockClientId]);
-  Object(external_wp_element_["useEffect"])(() => {
-    var _getMatchingVariation;
-
-    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(_ref2 => {
-    let {
-      name,
-      title,
-      description
-    } = _ref2;
-    return {
-      value: name,
-      label: title,
-      info: description
-    };
-  });
-
-  const onSelectVariation = variationName => {
-    updateBlockAttributes(blockClientId, { ...variations.find(_ref3 => {
-        let {
-          name
-        } = _ref3;
-        return name === variationName;
-      }).attributes
-    });
-  };
-
-  const baseClass = 'block-editor-block-variation-transforms';
-  return Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    className: baseClass,
-    label: Object(external_wp_i18n_["__"])('Transform to variation'),
-    text: Object(external_wp_i18n_["__"])('Transform to variation'),
-    popoverProps: {
-      position: 'bottom center',
-      className: `${baseClass}__popover`
-    },
-    icon: chevron_down["a" /* default */],
-    toggleProps: {
-      iconPosition: 'right'
-    }
-  }, () => Object(external_wp_element_["createElement"])("div", {
-    className: `${baseClass}__container`
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItemsChoice"], {
-    choices: selectOptions,
-    value: selectedValue,
-    onSelect: onSelectVariation
-  }))));
-}
-
-/* harmony default export */ var components_block_variation_transforms = (__experimentalBlockVariationTransforms);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/icons.js
-
-
-/**
- * WordPress dependencies
- */
-
-const alignBottom = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
-  d: "M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"
-}));
-const alignCenter = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
-  d: "M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"
-}));
-const alignTop = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
-  d: "M9 20h6V9H9v11zM4 4v1.5h16V4H4z"
-}));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/ui.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-const BLOCK_ALIGNMENTS_CONTROLS = {
-  top: {
-    icon: alignTop,
-    title: Object(external_wp_i18n_["_x"])('Align top', 'Block vertical alignment setting')
-  },
-  center: {
-    icon: alignCenter,
-    title: Object(external_wp_i18n_["_x"])('Align middle', 'Block vertical alignment setting')
-  },
-  bottom: {
-    icon: alignBottom,
-    title: Object(external_wp_i18n_["_x"])('Align bottom', 'Block vertical alignment setting')
-  }
-};
-const DEFAULT_CONTROLS = ['top', 'center', 'bottom'];
-const DEFAULT_CONTROL = 'top';
-const block_vertical_alignment_control_ui_POPOVER_PROPS = {
-  isAlternate: true
-};
-
-function BlockVerticalAlignmentUI(_ref) {
-  let {
-    value,
-    onChange,
-    controls = DEFAULT_CONTROLS,
-    isCollapsed = true,
-    isToolbar
-  } = _ref;
-
-  function applyOrUnset(align) {
-    return () => onChange(value === align ? undefined : align);
-  }
-
-  const activeAlignment = BLOCK_ALIGNMENTS_CONTROLS[value];
-  const defaultAlignmentControl = BLOCK_ALIGNMENTS_CONTROLS[DEFAULT_CONTROL];
-  const UIComponent = isToolbar ? external_wp_components_["ToolbarGroup"] : external_wp_components_["ToolbarDropdownMenu"];
-  const extraProps = isToolbar ? {
-    isCollapsed
-  } : {};
-  return Object(external_wp_element_["createElement"])(UIComponent, Object(esm_extends["a" /* default */])({
-    popoverProps: block_vertical_alignment_control_ui_POPOVER_PROPS,
-    icon: activeAlignment ? activeAlignment.icon : defaultAlignmentControl.icon,
-    label: Object(external_wp_i18n_["_x"])('Change vertical alignment', 'Block vertical alignment setting label'),
-    controls: controls.map(control => {
-      return { ...BLOCK_ALIGNMENTS_CONTROLS[control],
-        isActive: value === control,
-        role: isCollapsed ? 'menuitemradio' : undefined,
-        onClick: applyOrUnset(control)
-      };
-    })
-  }, extraProps));
-}
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/block-vertical-alignment-toolbar/README.md
- */
-
-
-/* harmony default export */ var block_vertical_alignment_control_ui = (BlockVerticalAlignmentUI);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/index.js
-
-
-
-/**
- * Internal dependencies
- */
-
-function BlockVerticalAlignmentControl(props) {
-  return Object(external_wp_element_["createElement"])(block_vertical_alignment_control_ui, Object(esm_extends["a" /* default */])({}, props, {
-    isToolbar: false
-  }));
-}
-function BlockVerticalAlignmentToolbar(props) {
-  return Object(external_wp_element_["createElement"])(block_vertical_alignment_control_ui, Object(esm_extends["a" /* default */])({}, props, {
-    isToolbar: true
-  }));
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/index.js + 4 modules
-var border_radius_control = __webpack_require__("Wy3j");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-style-control/index.js + 2 modules
-var border_style_control = __webpack_require__("2YCo");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js
-var button_block_appender = __webpack_require__("I5Hl");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-setting/index.js
-var use_setting = __webpack_require__("v5LD");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/with-color-context.js
-
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-/* harmony default export */ var with_color_context = (Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => {
-  return props => {
-    const colorsFeature = Object(use_setting["a" /* default */])('color.palette');
-    const disableCustomColorsFeature = !Object(use_setting["a" /* default */])('color.custom');
-    const colors = props.colors === undefined ? colorsFeature : props.colors;
-    const disableCustomColors = props.disableCustomColors === undefined ? disableCustomColorsFeature : props.disableCustomColors;
-    const hasColorsToChoose = !Object(external_lodash_["isEmpty"])(colors) || !disableCustomColors;
-    return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, {
-      colors,
-      disableCustomColors,
-      hasColorsToChoose
-    }));
-  };
-}, 'withColorContext'));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/index.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-/* harmony default export */ var color_palette = (with_color_context(external_wp_components_["ColorPalette"]));
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/control.js
-var control = __webpack_require__("hMaJ");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/control.js
-
-
-
-/**
- * Internal dependencies
- */
-
-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,
-    gradients: [],
-    disableCustomGradients: true
-  }));
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js
-var contrast_checker = __webpack_require__("6c9H");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/duotone-control/index.js
-var duotone_control = __webpack_require__("1uGa");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-appearance-control/index.js
-var font_appearance_control = __webpack_require__("Bo0k");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-family/index.js
-var font_family = __webpack_require__("GKUk");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/letter-spacing-control/index.js
-var letter_spacing_control = __webpack_require__("xBDm");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/text-decoration-control/index.js + 1 modules
-var text_decoration_control = __webpack_require__("kVRd");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/text-transform-control/index.js + 3 modules
-var text_transform_control = __webpack_require__("/Hvg");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/dropdown.js
-var colors_gradients_dropdown = __webpack_require__("dchM");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/panel-color-gradient-settings.js
-var panel_color_gradient_settings = __webpack_require__("yU1v");
-
-// CONCATENATED MODULE: ./node_modules/react-easy-crop/node_modules/tslib/tslib.es6.js
-/*! *****************************************************************************
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-***************************************************************************** */
-/* global Reflect, Promise */
-
-var extendStatics = function(d, b) {
-    extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-    return extendStatics(d, b);
-};
-
-function __extends(d, b) {
-    extendStatics(d, b);
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-}
-
-var __assign = function() {
-    __assign = Object.assign || function __assign(t) {
-        for (var s, i = 1, n = arguments.length; i < n; i++) {
-            s = arguments[i];
-            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
-        }
-        return t;
-    }
-    return __assign.apply(this, arguments);
-}
-
-function __rest(s, e) {
-    var t = {};
-    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
-        t[p] = s[p];
-    if (s != null && typeof Object.getOwnPropertySymbols === "function")
-        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
-            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
-                t[p[i]] = s[p[i]];
-        }
-    return t;
-}
-
-function __decorate(decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-}
-
-function __param(paramIndex, decorator) {
-    return function (target, key) { decorator(target, key, paramIndex); }
-}
-
-function __metadata(metadataKey, metadataValue) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
-}
-
-function __awaiter(thisArg, _arguments, P, generator) {
-    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
-    return new (P || (P = Promise))(function (resolve, reject) {
-        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
-        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
-        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
-        step((generator = generator.apply(thisArg, _arguments || [])).next());
-    });
-}
-
-function __generator(thisArg, body) {
-    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
-    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
-    function verb(n) { return function (v) { return step([n, v]); }; }
-    function step(op) {
-        if (f) throw new TypeError("Generator is already executing.");
-        while (_) try {
-            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-            if (y = 0, t) op = [op[0] & 2, t.value];
-            switch (op[0]) {
-                case 0: case 1: t = op; break;
-                case 4: _.label++; return { value: op[1], done: false };
-                case 5: _.label++; y = op[1]; op = [0]; continue;
-                case 7: op = _.ops.pop(); _.trys.pop(); continue;
-                default:
-                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-                    if (t[2]) _.ops.pop();
-                    _.trys.pop(); continue;
-            }
-            op = body.call(thisArg, _);
-        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-    }
-}
-
-var __createBinding = Object.create ? (function(o, m, k, k2) {
-    if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
-}) : (function(o, m, k, k2) {
-    if (k2 === undefined) k2 = k;
-    o[k2] = m[k];
-});
-
-function __exportStar(m, o) {
-    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
-}
-
-function __values(o) {
-    var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
-    if (m) return m.call(o);
-    if (o && typeof o.length === "number") return {
-        next: function () {
-            if (o && i >= o.length) o = void 0;
-            return { value: o && o[i++], done: !o };
-        }
-    };
-    throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
-}
-
-function __read(o, n) {
-    var m = typeof Symbol === "function" && o[Symbol.iterator];
-    if (!m) return o;
-    var i = m.call(o), r, ar = [], e;
-    try {
-        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
-    }
-    catch (error) { e = { error: error }; }
-    finally {
-        try {
-            if (r && !r.done && (m = i["return"])) m.call(i);
-        }
-        finally { if (e) throw e.error; }
-    }
-    return ar;
-}
-
-function __spread() {
-    for (var ar = [], i = 0; i < arguments.length; i++)
-        ar = ar.concat(__read(arguments[i]));
-    return ar;
-}
-
-function __spreadArrays() {
-    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
-    for (var r = Array(s), k = 0, i = 0; i < il; i++)
-        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
-            r[k] = a[j];
-    return r;
-};
-
-function __await(v) {
-    return this instanceof __await ? (this.v = v, this) : new __await(v);
-}
-
-function __asyncGenerator(thisArg, _arguments, generator) {
-    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
-    var g = generator.apply(thisArg, _arguments || []), i, q = [];
-    return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
-    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
-    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
-    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
-    function fulfill(value) { resume("next", value); }
-    function reject(value) { resume("throw", value); }
-    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
-}
-
-function __asyncDelegator(o) {
-    var i, p;
-    return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
-    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
-}
-
-function __asyncValues(o) {
-    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
-    var m = o[Symbol.asyncIterator], i;
-    return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
-    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
-    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
-}
-
-function __makeTemplateObject(cooked, raw) {
-    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
-    return cooked;
-};
-
-var __setModuleDefault = Object.create ? (function(o, v) {
-    Object.defineProperty(o, "default", { enumerable: true, value: v });
-}) : function(o, v) {
-    o["default"] = v;
-};
-
-function __importStar(mod) {
-    if (mod && mod.__esModule) return mod;
-    var result = {};
-    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
-    __setModuleDefault(result, mod);
-    return result;
-}
-
-function __importDefault(mod) {
-    return (mod && mod.__esModule) ? mod : { default: mod };
-}
-
-function __classPrivateFieldGet(receiver, privateMap) {
-    if (!privateMap.has(receiver)) {
-        throw new TypeError("attempted to get private field on non-instance");
-    }
-    return privateMap.get(receiver);
-}
-
-function __classPrivateFieldSet(receiver, privateMap, value) {
-    if (!privateMap.has(receiver)) {
-        throw new TypeError("attempted to set private field on non-instance");
-    }
-    privateMap.set(receiver, value);
-    return value;
-}
-
-// EXTERNAL MODULE: external "React"
-var external_React_ = __webpack_require__("cDcd");
-var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
-
-// EXTERNAL MODULE: ./node_modules/normalize-wheel/index.js
-var normalize_wheel = __webpack_require__("wJiJ");
-var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
-
-// CONCATENATED MODULE: ./node_modules/react-easy-crop/index.module.js
-
-
-
-
-/**
- * Compute the dimension of the crop area based on media size,
- * aspect ratio and optionally rotation
- */
-
-function getCropSize(mediaWidth, mediaHeight, containerWidth, containerHeight, aspect, rotation) {
-  if (rotation === void 0) {
-    rotation = 0;
-  }
-
-  var _a = translateSize(mediaWidth, mediaHeight, rotation),
-      width = _a.width,
-      height = _a.height;
-
-  var fittingWidth = Math.min(width, containerWidth);
-  var fittingHeight = Math.min(height, containerHeight);
-
-  if (fittingWidth > fittingHeight * aspect) {
-    return {
-      width: fittingHeight * aspect,
-      height: fittingHeight
-    };
-  }
-
-  return {
-    width: fittingWidth,
-    height: fittingWidth / aspect
-  };
-}
-/**
- * Ensure a new media position stays in the crop area.
- */
-
-function index_module_restrictPosition(position, mediaSize, cropSize, zoom, rotation) {
-  if (rotation === void 0) {
-    rotation = 0;
-  }
-
-  var _a = translateSize(mediaSize.width, mediaSize.height, rotation),
-      width = _a.width,
-      height = _a.height;
-
-  return {
-    x: restrictPositionCoord(position.x, width, cropSize.width, zoom),
-    y: restrictPositionCoord(position.y, height, cropSize.height, zoom)
-  };
-}
-
-function restrictPositionCoord(position, mediaSize, cropSize, zoom) {
-  var maxPosition = mediaSize * zoom / 2 - cropSize / 2;
-  return Math.min(maxPosition, Math.max(position, -maxPosition));
-}
-
-function getDistanceBetweenPoints(pointA, pointB) {
-  return Math.sqrt(Math.pow(pointA.y - pointB.y, 2) + Math.pow(pointA.x - pointB.x, 2));
-}
-function getRotationBetweenPoints(pointA, pointB) {
-  return Math.atan2(pointB.y - pointA.y, pointB.x - pointA.x) * 180 / Math.PI;
-}
-/**
- * Compute the output cropped area of the media in percentages and pixels.
- * x/y are the top-left coordinates on the src media
- */
-
-function computeCroppedArea(crop, mediaSize, cropSize, aspect, zoom, rotation, restrictPosition) {
-  if (rotation === void 0) {
-    rotation = 0;
-  }
-
-  if (restrictPosition === void 0) {
-    restrictPosition = true;
-  } // if the media is rotated by the user, we cannot limit the position anymore
-  // as it might need to be negative.
-
-
-  var limitAreaFn = restrictPosition && rotation === 0 ? limitArea : noOp;
-  var croppedAreaPercentages = {
-    x: limitAreaFn(100, ((mediaSize.width - cropSize.width / zoom) / 2 - crop.x / zoom) / mediaSize.width * 100),
-    y: limitAreaFn(100, ((mediaSize.height - cropSize.height / zoom) / 2 - crop.y / zoom) / mediaSize.height * 100),
-    width: limitAreaFn(100, cropSize.width / mediaSize.width * 100 / zoom),
-    height: limitAreaFn(100, cropSize.height / mediaSize.height * 100 / zoom)
-  }; // we compute the pixels size naively
-
-  var widthInPixels = Math.round(limitAreaFn(mediaSize.naturalWidth, croppedAreaPercentages.width * mediaSize.naturalWidth / 100));
-  var heightInPixels = Math.round(limitAreaFn(mediaSize.naturalHeight, croppedAreaPercentages.height * mediaSize.naturalHeight / 100));
-  var isImgWiderThanHigh = mediaSize.naturalWidth >= mediaSize.naturalHeight * aspect; // then we ensure the width and height exactly match the aspect (to avoid rounding approximations)
-  // if the media is wider than high, when zoom is 0, the crop height will be equals to iamge height
-  // thus we want to compute the width from the height and aspect for accuracy.
-  // Otherwise, we compute the height from width and aspect.
-
-  var sizePixels = isImgWiderThanHigh ? {
-    width: Math.round(heightInPixels * aspect),
-    height: heightInPixels
-  } : {
-    width: widthInPixels,
-    height: Math.round(widthInPixels / aspect)
-  };
-
-  var croppedAreaPixels = __assign(__assign({}, sizePixels), {
-    x: Math.round(limitAreaFn(mediaSize.naturalWidth - sizePixels.width, croppedAreaPercentages.x * mediaSize.naturalWidth / 100)),
-    y: Math.round(limitAreaFn(mediaSize.naturalHeight - sizePixels.height, croppedAreaPercentages.y * mediaSize.naturalHeight / 100))
-  });
-
-  return {
-    croppedAreaPercentages: croppedAreaPercentages,
-    croppedAreaPixels: croppedAreaPixels
-  };
-}
-/**
- * Ensure the returned value is between 0 and max
- */
-
-function limitArea(max, value) {
-  return Math.min(max, Math.max(0, value));
-}
-
-function noOp(_max, value) {
-  return value;
-}
-/**
- * Compute the crop and zoom from the croppedAreaPixels
- */
-
-
-function getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) {
-  var mediaZoom = mediaSize.width / mediaSize.naturalWidth;
-
-  if (cropSize) {
-    var isHeightMaxSize_1 = cropSize.height > cropSize.width;
-    return isHeightMaxSize_1 ? cropSize.height / mediaZoom / croppedAreaPixels.height : cropSize.width / mediaZoom / croppedAreaPixels.width;
-  }
-
-  var aspect = croppedAreaPixels.width / croppedAreaPixels.height;
-  var isHeightMaxSize = mediaSize.naturalWidth >= mediaSize.naturalHeight * aspect;
-  return isHeightMaxSize ? mediaSize.naturalHeight / croppedAreaPixels.height : mediaSize.naturalWidth / croppedAreaPixels.width;
-}
-/**
- * Compute the crop and zoom from the croppedAreaPixels
- */
-
-
-function getInitialCropFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) {
-  var mediaZoom = mediaSize.width / mediaSize.naturalWidth;
-  var zoom = getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize);
-  var cropZoom = mediaZoom * zoom;
-  var crop = {
-    x: ((mediaSize.naturalWidth - croppedAreaPixels.width) / 2 - croppedAreaPixels.x) * cropZoom,
-    y: ((mediaSize.naturalHeight - croppedAreaPixels.height) / 2 - croppedAreaPixels.y) * cropZoom
-  };
-  return {
-    crop: crop,
-    zoom: zoom
-  };
-}
-/**
- * Return the point that is the center of point a and b
- */
-
-function getCenter(a, b) {
-  return {
-    x: (b.x + a.x) / 2,
-    y: (b.y + a.y) / 2
-  };
-}
-/**
- *
- * Returns an x,y point once rotated around xMid,yMid
- */
-
-function rotateAroundMidPoint(x, y, xMid, yMid, degrees) {
-  var cos = Math.cos;
-  var sin = Math.sin;
-  var radian = degrees * Math.PI / 180; // Convert to radians
-  // Subtract midpoints, so that midpoint is translated to origin
-  // and add it in the end again
-
-  var xr = (x - xMid) * cos(radian) - (y - yMid) * sin(radian) + xMid;
-  var yr = (x - xMid) * sin(radian) + (y - yMid) * cos(radian) + yMid;
-  return [xr, yr];
-}
-/**
- * Returns the new bounding area of a rotated rectangle.
- */
-
-function translateSize(width, height, rotation) {
-  var centerX = width / 2;
-  var centerY = height / 2;
-  var outerBounds = [rotateAroundMidPoint(0, 0, centerX, centerY, rotation), rotateAroundMidPoint(width, 0, centerX, centerY, rotation), rotateAroundMidPoint(width, height, centerX, centerY, rotation), rotateAroundMidPoint(0, height, centerX, centerY, rotation)];
-  var minX = Math.min.apply(Math, outerBounds.map(function (p) {
-    return p[0];
-  }));
-  var maxX = Math.max.apply(Math, outerBounds.map(function (p) {
-    return p[0];
-  }));
-  var minY = Math.min.apply(Math, outerBounds.map(function (p) {
-    return p[1];
-  }));
-  var maxY = Math.max.apply(Math, outerBounds.map(function (p) {
-    return p[1];
-  }));
-  return {
-    width: maxX - minX,
-    height: maxY - minY
-  };
-}
-/**
- * Combine multiple class names into a single string.
- */
-
-function classNames() {
-  var args = [];
-
-  for (var _i = 0; _i < arguments.length; _i++) {
-    args[_i] = arguments[_i];
-  }
-
-  return args.filter(function (value) {
-    if (typeof value === 'string' && value.length > 0) {
-      return true;
-    }
-
-    return false;
-  }).join(' ').trim();
-}
-
-var css_248z = ".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";
-
-var MIN_ZOOM = 1;
-var MAX_ZOOM = 3;
-
-var index_module_Cropper =
-/** @class */
-function (_super) {
-  __extends(Cropper, _super);
-
-  function Cropper() {
-    var _this = _super !== null && _super.apply(this, arguments) || this;
-
-    _this.imageRef = null;
-    _this.videoRef = null;
-    _this.containerRef = null;
-    _this.styleRef = null;
-    _this.containerRect = null;
-    _this.mediaSize = {
-      width: 0,
-      height: 0,
-      naturalWidth: 0,
-      naturalHeight: 0
-    };
-    _this.dragStartPosition = {
-      x: 0,
-      y: 0
-    };
-    _this.dragStartCrop = {
-      x: 0,
-      y: 0
-    };
-    _this.lastPinchDistance = 0;
-    _this.lastPinchRotation = 0;
-    _this.rafDragTimeout = null;
-    _this.rafPinchTimeout = null;
-    _this.wheelTimer = null;
-    _this.state = {
-      cropSize: null,
-      hasWheelJustStarted: false
-    }; // this is to prevent Safari on iOS >= 10 to zoom the page
-
-    _this.preventZoomSafari = function (e) {
-      return e.preventDefault();
-    };
-
-    _this.cleanEvents = function () {
-      document.removeEventListener('mousemove', _this.onMouseMove);
-      document.removeEventListener('mouseup', _this.onDragStopped);
-      document.removeEventListener('touchmove', _this.onTouchMove);
-      document.removeEventListener('touchend', _this.onDragStopped);
-    };
-
-    _this.clearScrollEvent = function () {
-      if (_this.containerRef) _this.containerRef.removeEventListener('wheel', _this.onWheel);
-
-      if (_this.wheelTimer) {
-        clearTimeout(_this.wheelTimer);
-      }
-    };
-
-    _this.onMediaLoad = function () {
-      _this.computeSizes();
-
-      _this.emitCropData();
-
-      _this.setInitialCrop();
-
-      if (_this.props.onMediaLoaded) {
-        _this.props.onMediaLoaded(_this.mediaSize);
-      }
-    };
-
-    _this.setInitialCrop = function () {
-      var _a = _this.props,
-          initialCroppedAreaPixels = _a.initialCroppedAreaPixels,
-          cropSize = _a.cropSize;
-
-      if (!initialCroppedAreaPixels) {
-        return;
-      }
-
-      var _b = getInitialCropFromCroppedAreaPixels(initialCroppedAreaPixels, _this.mediaSize, cropSize),
-          crop = _b.crop,
-          zoom = _b.zoom;
-
-      _this.props.onCropChange(crop);
-
-      _this.props.onZoomChange && _this.props.onZoomChange(zoom);
-    };
-
-    _this.computeSizes = function () {
-      var _a, _b, _c, _d, _e, _f;
-
-      var mediaRef = _this.imageRef || _this.videoRef;
-
-      if (mediaRef && _this.containerRef) {
-        _this.containerRect = _this.containerRef.getBoundingClientRect();
-        _this.mediaSize = {
-          width: mediaRef.offsetWidth,
-          height: mediaRef.offsetHeight,
-          naturalWidth: ((_a = _this.imageRef) === null || _a === void 0 ? void 0 : _a.naturalWidth) || ((_b = _this.videoRef) === null || _b === void 0 ? void 0 : _b.videoWidth) || 0,
-          naturalHeight: ((_c = _this.imageRef) === null || _c === void 0 ? void 0 : _c.naturalHeight) || ((_d = _this.videoRef) === null || _d === void 0 ? void 0 : _d.videoHeight) || 0
-        };
-        var cropSize = _this.props.cropSize ? _this.props.cropSize : getCropSize(mediaRef.offsetWidth, mediaRef.offsetHeight, _this.containerRect.width, _this.containerRect.height, _this.props.aspect, _this.props.rotation);
-
-        if (((_e = _this.state.cropSize) === null || _e === void 0 ? void 0 : _e.height) !== cropSize.height || ((_f = _this.state.cropSize) === null || _f === void 0 ? void 0 : _f.width) !== cropSize.width) {
-          _this.props.onCropSizeChange && _this.props.onCropSizeChange(cropSize);
-        }
-
-        _this.setState({
-          cropSize: cropSize
-        }, _this.recomputeCropPosition);
-      }
-    };
-
-    _this.onMouseDown = function (e) {
-      e.preventDefault();
-      document.addEventListener('mousemove', _this.onMouseMove);
-      document.addEventListener('mouseup', _this.onDragStopped);
-
-      _this.onDragStart(Cropper.getMousePoint(e));
-    };
-
-    _this.onMouseMove = function (e) {
-      return _this.onDrag(Cropper.getMousePoint(e));
-    };
-
-    _this.onTouchStart = function (e) {
-      document.addEventListener('touchmove', _this.onTouchMove, {
-        passive: false
-      }); // iOS 11 now defaults to passive: true
-
-      document.addEventListener('touchend', _this.onDragStopped);
-
-      if (e.touches.length === 2) {
-        _this.onPinchStart(e);
-      } else if (e.touches.length === 1) {
-        _this.onDragStart(Cropper.getTouchPoint(e.touches[0]));
-      }
-    };
-
-    _this.onTouchMove = function (e) {
-      // Prevent whole page from scrolling on iOS.
-      e.preventDefault();
-
-      if (e.touches.length === 2) {
-        _this.onPinchMove(e);
-      } else if (e.touches.length === 1) {
-        _this.onDrag(Cropper.getTouchPoint(e.touches[0]));
-      }
-    };
-
-    _this.onDragStart = function (_a) {
-      var _b, _c;
-
-      var x = _a.x,
-          y = _a.y;
-      _this.dragStartPosition = {
-        x: x,
-        y: y
-      };
-      _this.dragStartCrop = __assign({}, _this.props.crop);
-      (_c = (_b = _this.props).onInteractionStart) === null || _c === void 0 ? void 0 : _c.call(_b);
-    };
-
-    _this.onDrag = function (_a) {
-      var x = _a.x,
-          y = _a.y;
-      if (_this.rafDragTimeout) window.cancelAnimationFrame(_this.rafDragTimeout);
-      _this.rafDragTimeout = window.requestAnimationFrame(function () {
-        if (!_this.state.cropSize) return;
-        if (x === undefined || y === undefined) return;
-        var offsetX = x - _this.dragStartPosition.x;
-        var offsetY = y - _this.dragStartPosition.y;
-        var requestedPosition = {
-          x: _this.dragStartCrop.x + offsetX,
-          y: _this.dragStartCrop.y + offsetY
-        };
-        var newPosition = _this.props.restrictPosition ? index_module_restrictPosition(requestedPosition, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : requestedPosition;
-
-        _this.props.onCropChange(newPosition);
-      });
-    };
-
-    _this.onDragStopped = function () {
-      var _a, _b;
-
-      _this.cleanEvents();
-
-      _this.emitCropData();
-
-      (_b = (_a = _this.props).onInteractionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
-    };
-
-    _this.onWheel = function (e) {
-      e.preventDefault();
-      var point = Cropper.getMousePoint(e);
-      var pixelY = normalize_wheel_default()(e).pixelY;
-      var newZoom = _this.props.zoom - pixelY * _this.props.zoomSpeed / 200;
-
-      _this.setNewZoom(newZoom, point);
-
-      if (!_this.state.hasWheelJustStarted) {
-        _this.setState({
-          hasWheelJustStarted: true
-        }, function () {
-          var _a, _b;
-
-          return (_b = (_a = _this.props).onInteractionStart) === null || _b === void 0 ? void 0 : _b.call(_a);
-        });
-      }
-
-      if (_this.wheelTimer) {
-        clearTimeout(_this.wheelTimer);
-      }
-
-      _this.wheelTimer = window.setTimeout(function () {
-        return _this.setState({
-          hasWheelJustStarted: false
-        }, function () {
-          var _a, _b;
-
-          return (_b = (_a = _this.props).onInteractionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
-        });
-      }, 250);
-    };
-
-    _this.getPointOnContainer = function (_a) {
-      var x = _a.x,
-          y = _a.y;
-
-      if (!_this.containerRect) {
-        throw new Error('The Cropper is not mounted');
-      }
-
-      return {
-        x: _this.containerRect.width / 2 - (x - _this.containerRect.left),
-        y: _this.containerRect.height / 2 - (y - _this.containerRect.top)
-      };
-    };
-
-    _this.getPointOnMedia = function (_a) {
-      var x = _a.x,
-          y = _a.y;
-      var _b = _this.props,
-          crop = _b.crop,
-          zoom = _b.zoom;
-      return {
-        x: (x + crop.x) / zoom,
-        y: (y + crop.y) / zoom
-      };
-    };
-
-    _this.setNewZoom = function (zoom, point) {
-      if (!_this.state.cropSize || !_this.props.onZoomChange) return;
-
-      var zoomPoint = _this.getPointOnContainer(point);
-
-      var zoomTarget = _this.getPointOnMedia(zoomPoint);
-
-      var newZoom = Math.min(_this.props.maxZoom, Math.max(zoom, _this.props.minZoom));
-      var requestedPosition = {
-        x: zoomTarget.x * newZoom - zoomPoint.x,
-        y: zoomTarget.y * newZoom - zoomPoint.y
-      };
-      var newPosition = _this.props.restrictPosition ? index_module_restrictPosition(requestedPosition, _this.mediaSize, _this.state.cropSize, newZoom, _this.props.rotation) : requestedPosition;
-
-      _this.props.onCropChange(newPosition);
-
-      _this.props.onZoomChange(newZoom);
-    };
-
-    _this.getCropData = function () {
-      if (!_this.state.cropSize) {
-        return null;
-      } // this is to ensure the crop is correctly restricted after a zoom back (https://github.com/ricardo-ch/react-easy-crop/issues/6)
-
-
-      var restrictedPosition = _this.props.restrictPosition ? index_module_restrictPosition(_this.props.crop, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : _this.props.crop;
-      return computeCroppedArea(restrictedPosition, _this.mediaSize, _this.state.cropSize, _this.getAspect(), _this.props.zoom, _this.props.rotation, _this.props.restrictPosition);
-    };
-
-    _this.emitCropData = function () {
-      var cropData = _this.getCropData();
-
-      if (!cropData) return;
-      var croppedAreaPercentages = cropData.croppedAreaPercentages,
-          croppedAreaPixels = cropData.croppedAreaPixels;
-
-      if (_this.props.onCropComplete) {
-        _this.props.onCropComplete(croppedAreaPercentages, croppedAreaPixels);
-      }
-
-      if (_this.props.onCropAreaChange) {
-        _this.props.onCropAreaChange(croppedAreaPercentages, croppedAreaPixels);
-      }
-    };
-
-    _this.emitCropAreaChange = function () {
-      var cropData = _this.getCropData();
-
-      if (!cropData) return;
-      var croppedAreaPercentages = cropData.croppedAreaPercentages,
-          croppedAreaPixels = cropData.croppedAreaPixels;
-
-      if (_this.props.onCropAreaChange) {
-        _this.props.onCropAreaChange(croppedAreaPercentages, croppedAreaPixels);
-      }
-    };
-
-    _this.recomputeCropPosition = function () {
-      if (!_this.state.cropSize) return;
-      var newPosition = _this.props.restrictPosition ? index_module_restrictPosition(_this.props.crop, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : _this.props.crop;
-
-      _this.props.onCropChange(newPosition);
-
-      _this.emitCropData();
-    };
-
-    return _this;
-  }
-
-  Cropper.prototype.componentDidMount = function () {
-    window.addEventListener('resize', this.computeSizes);
-
-    if (this.containerRef) {
-      this.props.zoomWithScroll && this.containerRef.addEventListener('wheel', this.onWheel, {
-        passive: false
-      });
-      this.containerRef.addEventListener('gesturestart', this.preventZoomSafari);
-      this.containerRef.addEventListener('gesturechange', this.preventZoomSafari);
-    }
-
-    if (!this.props.disableAutomaticStylesInjection) {
-      this.styleRef = document.createElement('style');
-      this.styleRef.setAttribute('type', 'text/css');
-      this.styleRef.innerHTML = css_248z;
-      document.head.appendChild(this.styleRef);
-    } // when rendered via SSR, the image can already be loaded and its onLoad callback will never be called
-
-
-    if (this.imageRef && this.imageRef.complete) {
-      this.onMediaLoad();
-    }
-  };
-
-  Cropper.prototype.componentWillUnmount = function () {
-    var _a;
-
-    window.removeEventListener('resize', this.computeSizes);
-
-    if (this.containerRef) {
-      this.containerRef.removeEventListener('gesturestart', this.preventZoomSafari);
-      this.containerRef.removeEventListener('gesturechange', this.preventZoomSafari);
-    }
-
-    if (this.styleRef) {
-      (_a = this.styleRef.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(this.styleRef);
-    }
-
-    this.cleanEvents();
-    this.props.zoomWithScroll && this.clearScrollEvent();
-  };
-
-  Cropper.prototype.componentDidUpdate = function (prevProps) {
-    var _a, _b, _c, _d, _e, _f, _g, _h, _j;
-
-    if (prevProps.rotation !== this.props.rotation) {
-      this.computeSizes();
-      this.recomputeCropPosition();
-    } else if (prevProps.aspect !== this.props.aspect) {
-      this.computeSizes();
-    } else if (prevProps.zoom !== this.props.zoom) {
-      this.recomputeCropPosition();
-    } else if (((_a = prevProps.cropSize) === null || _a === void 0 ? void 0 : _a.height) !== ((_b = this.props.cropSize) === null || _b === void 0 ? void 0 : _b.height) || ((_c = prevProps.cropSize) === null || _c === void 0 ? void 0 : _c.width) !== ((_d = this.props.cropSize) === null || _d === void 0 ? void 0 : _d.width)) {
-      this.computeSizes();
-    } else if (((_e = prevProps.crop) === null || _e === void 0 ? void 0 : _e.x) !== ((_f = this.props.crop) === null || _f === void 0 ? void 0 : _f.x) || ((_g = prevProps.crop) === null || _g === void 0 ? void 0 : _g.y) !== ((_h = this.props.crop) === null || _h === void 0 ? void 0 : _h.y)) {
-      this.emitCropAreaChange();
-    }
-
-    if (prevProps.zoomWithScroll !== this.props.zoomWithScroll && this.containerRef) {
-      this.props.zoomWithScroll ? this.containerRef.addEventListener('wheel', this.onWheel, {
-        passive: false
-      }) : this.clearScrollEvent();
-    }
-
-    if (prevProps.video !== this.props.video) {
-      (_j = this.videoRef) === null || _j === void 0 ? void 0 : _j.load();
-    }
-  };
-
-  Cropper.prototype.getAspect = function () {
-    var _a = this.props,
-        cropSize = _a.cropSize,
-        aspect = _a.aspect;
-
-    if (cropSize) {
-      return cropSize.width / cropSize.height;
-    }
-
-    return aspect;
-  };
-
-  Cropper.prototype.onPinchStart = function (e) {
-    var pointA = Cropper.getTouchPoint(e.touches[0]);
-    var pointB = Cropper.getTouchPoint(e.touches[1]);
-    this.lastPinchDistance = getDistanceBetweenPoints(pointA, pointB);
-    this.lastPinchRotation = getRotationBetweenPoints(pointA, pointB);
-    this.onDragStart(getCenter(pointA, pointB));
-  };
-
-  Cropper.prototype.onPinchMove = function (e) {
-    var _this = this;
-
-    var pointA = Cropper.getTouchPoint(e.touches[0]);
-    var pointB = Cropper.getTouchPoint(e.touches[1]);
-    var center = getCenter(pointA, pointB);
-    this.onDrag(center);
-    if (this.rafPinchTimeout) window.cancelAnimationFrame(this.rafPinchTimeout);
-    this.rafPinchTimeout = window.requestAnimationFrame(function () {
-      var distance = getDistanceBetweenPoints(pointA, pointB);
-      var newZoom = _this.props.zoom * (distance / _this.lastPinchDistance);
-
-      _this.setNewZoom(newZoom, center);
-
-      _this.lastPinchDistance = distance;
-      var rotation = getRotationBetweenPoints(pointA, pointB);
-      var newRotation = _this.props.rotation + (rotation - _this.lastPinchRotation);
-      _this.props.onRotationChange && _this.props.onRotationChange(newRotation);
-      _this.lastPinchRotation = rotation;
-    });
-  };
-
-  Cropper.prototype.render = function () {
-    var _this = this;
-
-    var _a = this.props,
-        image = _a.image,
-        video = _a.video,
-        mediaProps = _a.mediaProps,
-        transform = _a.transform,
-        _b = _a.crop,
-        x = _b.x,
-        y = _b.y,
-        rotation = _a.rotation,
-        zoom = _a.zoom,
-        cropShape = _a.cropShape,
-        showGrid = _a.showGrid,
-        _c = _a.style,
-        containerStyle = _c.containerStyle,
-        cropAreaStyle = _c.cropAreaStyle,
-        mediaStyle = _c.mediaStyle,
-        _d = _a.classes,
-        containerClassName = _d.containerClassName,
-        cropAreaClassName = _d.cropAreaClassName,
-        mediaClassName = _d.mediaClassName,
-        objectFit = _a.objectFit;
-    return /*#__PURE__*/external_React_default.a.createElement("div", {
-      onMouseDown: this.onMouseDown,
-      onTouchStart: this.onTouchStart,
-      ref: function ref(el) {
-        return _this.containerRef = el;
-      },
-      "data-testid": "container",
-      style: containerStyle,
-      className: classNames('reactEasyCrop_Container', containerClassName)
-    }, image ? /*#__PURE__*/external_React_default.a.createElement("img", __assign({
-      alt: "",
-      className: classNames('reactEasyCrop_Image', objectFit === 'contain' && 'reactEasyCrop_Contain', objectFit === 'horizontal-cover' && 'reactEasyCrop_Cover_Horizontal', objectFit === 'vertical-cover' && 'reactEasyCrop_Cover_Vertical', mediaClassName)
-    }, mediaProps, {
-      src: image,
-      ref: function ref(el) {
-        return _this.imageRef = el;
-      },
-      style: __assign(__assign({}, mediaStyle), {
-        transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
-      }),
-      onLoad: this.onMediaLoad
-    })) : video && /*#__PURE__*/external_React_default.a.createElement("video", __assign({
-      autoPlay: true,
-      loop: true,
-      muted: true,
-      className: classNames('reactEasyCrop_Video', objectFit === 'contain' && 'reactEasyCrop_Contain', objectFit === 'horizontal-cover' && 'reactEasyCrop_Cover_Horizontal', objectFit === 'vertical-cover' && 'reactEasyCrop_Cover_Vertical', mediaClassName)
-    }, mediaProps, {
-      ref: function ref(el) {
-        return _this.videoRef = el;
-      },
-      onLoadedMetadata: this.onMediaLoad,
-      style: __assign(__assign({}, mediaStyle), {
-        transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
-      }),
-      controls: false
-    }), (Array.isArray(video) ? video : [{
-      src: video
-    }]).map(function (item) {
-      return /*#__PURE__*/external_React_default.a.createElement("source", __assign({
-        key: item.src
-      }, item));
-    })), this.state.cropSize && /*#__PURE__*/external_React_default.a.createElement("div", {
-      style: __assign(__assign({}, cropAreaStyle), {
-        width: this.state.cropSize.width,
-        height: this.state.cropSize.height
-      }),
-      "data-testid": "cropper",
-      className: classNames('reactEasyCrop_CropArea', cropShape === 'round' && 'reactEasyCrop_CropAreaRound', showGrid && 'reactEasyCrop_CropAreaGrid', cropAreaClassName)
-    }));
-  };
-
-  Cropper.defaultProps = {
-    zoom: 1,
-    rotation: 0,
-    aspect: 4 / 3,
-    maxZoom: MAX_ZOOM,
-    minZoom: MIN_ZOOM,
-    cropShape: 'rect',
-    objectFit: 'contain',
-    showGrid: true,
-    style: {},
-    classes: {},
-    mediaProps: {},
-    zoomSpeed: 1,
-    restrictPosition: true,
-    zoomWithScroll: true
-  };
-
-  Cropper.getMousePoint = function (e) {
-    return {
-      x: Number(e.clientX),
-      y: Number(e.clientY)
-    };
-  };
-
-  Cropper.getTouchPoint = function (touch) {
-    return {
-      x: Number(touch.clientX),
-      y: Number(touch.clientY)
-    };
-  };
-
-  return Cropper;
-}(external_React_default.a.Component);
-
-/* harmony default export */ var index_module = (index_module_Cropper);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/constants.js
-const constants_MIN_ZOOM = 100;
-const constants_MAX_ZOOM = 300;
-const constants_POPOVER_PROPS = {
-  position: 'bottom right',
-  isAlternate: true
-};
-
-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
-
-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/use-save-image.js
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-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"]);
-  const [isInProgress, setIsInProgress] = Object(external_wp_element_["useState"])(false);
-  const cancel = Object(external_wp_element_["useCallback"])(() => {
-    setIsInProgress(false);
-    onFinishEditing();
-  }, [setIsInProgress, onFinishEditing]);
-  const apply = Object(external_wp_element_["useCallback"])(() => {
-    setIsInProgress(true);
-    let attrs = {}; // The crop script may return some very small, sub-pixel values when the image was not cropped.
-    // Crop only when the new size has changed by more than 0.1%.
-
-    if (crop.width < 99.9 || crop.height < 99.9) {
-      attrs = crop;
-    }
-
-    if (rotation > 0) {
-      attrs.rotation = rotation;
-    }
-
-    attrs.src = url;
-    external_wp_apiFetch_default()({
-      path: `/wp/v2/media/${id}/edit`,
-      method: 'POST',
-      data: attrs
-    }).then(response => {
-      onSaveImage({
-        id: response.id,
-        url: response.source_url,
-        height: height && width ? width / aspect : undefined
-      });
-    }).catch(error => {
-      createErrorNotice(Object(external_wp_i18n_["sprintf"])(
-      /* translators: 1. Error message */
-      Object(external_wp_i18n_["__"])('Could not edit image. %s'), error.message), {
-        id: 'image-editing-error',
-        type: 'snackbar'
-      });
-    }).finally(() => {
-      setIsInProgress(false);
-      onFinishEditing();
-    });
-  }, [setIsInProgress, crop, rotation, height, width, aspect, url, onSaveImage, createErrorNotice, setIsInProgress, onFinishEditing]);
-  return Object(external_wp_element_["useMemo"])(() => ({
-    isInProgress,
-    apply,
-    cancel
-  }), [isInProgress, apply, cancel]);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/use-transform-image.js
-/**
- * WordPress dependencies
- */
-
-
-
-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"])({
-    x: 0,
-    y: 0
-  });
-  const [zoom, setZoom] = Object(external_wp_element_["useState"])();
-  const [rotation, setRotation] = Object(external_wp_element_["useState"])();
-  const [aspect, setAspect] = Object(external_wp_element_["useState"])();
-  const [defaultAspect, setDefaultAspect] = Object(external_wp_element_["useState"])();
-  const initializeTransformValues = Object(external_wp_element_["useCallback"])(() => {
-    setPosition({
-      x: 0,
-      y: 0
-    });
-    setZoom(100);
-    setRotation(0);
-    setAspect(naturalWidth / naturalHeight);
-    setDefaultAspect(naturalWidth / naturalHeight);
-  }, [naturalWidth, naturalHeight, setPosition, setZoom, setRotation, setAspect, setDefaultAspect]);
-  const rotateClockwise = Object(external_wp_element_["useCallback"])(() => {
-    const angle = (rotation + 90) % 360;
-    let naturalAspectRatio = naturalWidth / naturalHeight;
-
-    if (rotation % 180 === 90) {
-      naturalAspectRatio = naturalHeight / naturalWidth;
-    }
-
-    if (angle === 0) {
-      setEditedUrl();
-      setRotation(angle);
-      setAspect(1 / aspect);
-      setPosition({
-        x: -(position.y * naturalAspectRatio),
-        y: position.x * naturalAspectRatio
-      });
-      return;
-    }
-
-    function editImage(event) {
-      const canvas = document.createElement('canvas');
-      let translateX = 0;
-      let translateY = 0;
-
-      if (angle % 180) {
-        canvas.width = event.target.height;
-        canvas.height = event.target.width;
-      } else {
-        canvas.width = event.target.width;
-        canvas.height = event.target.height;
-      }
-
-      if (angle === 90 || angle === 180) {
-        translateX = canvas.width;
-      }
-
-      if (angle === 270 || angle === 180) {
-        translateY = canvas.height;
-      }
-
-      const context = canvas.getContext('2d');
-      context.translate(translateX, translateY);
-      context.rotate(angle * Math.PI / 180);
-      context.drawImage(event.target, 0, 0);
-      canvas.toBlob(blob => {
-        setEditedUrl(URL.createObjectURL(blob));
-        setRotation(angle);
-        setAspect(1 / aspect);
-        setPosition({
-          x: -(position.y * naturalAspectRatio),
-          y: position.x * naturalAspectRatio
-        });
-      });
-    }
-
-    const el = new window.Image();
-    el.src = url;
-    el.onload = editImage;
-    const imgCrossOrigin = Object(external_wp_hooks_["applyFilters"])('media.crossOrigin', undefined, url);
-
-    if (typeof imgCrossOrigin === 'string') {
-      el.crossOrigin = imgCrossOrigin;
-    }
-  }, [rotation, naturalWidth, naturalHeight, setEditedUrl, setRotation, setAspect, setPosition]);
-  return Object(external_wp_element_["useMemo"])(() => ({
-    editedUrl,
-    setEditedUrl,
-    crop,
-    setCrop,
-    position,
-    setPosition,
-    zoom,
-    setZoom,
-    rotation,
-    setRotation,
-    rotateClockwise,
-    aspect,
-    setAspect,
-    defaultAspect,
-    initializeTransformValues
-  }), [editedUrl, setEditedUrl, crop, setCrop, position, setPosition, zoom, setZoom, rotation, setRotation, rotateClockwise, aspect, setAspect, defaultAspect, initializeTransformValues]);
-}
-
-function useTransformImage(imageProperties, isEditing) {
-  const transformState = useTransformState(imageProperties);
-  const {
-    initializeTransformValues
-  } = transformState;
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isEditing) {
-      initializeTransformValues();
-    }
-  }, [isEditing, initializeTransformValues]);
-  return transformState;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/context.js
-
-
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-const ImageEditingContext = Object(external_wp_element_["createContext"])({});
-const useImageEditingContext = () => Object(external_wp_element_["useContext"])(ImageEditingContext);
-function ImageEditingProvider(_ref) {
-  let {
-    id,
-    url,
-    naturalWidth,
-    naturalHeight,
-    isEditing,
-    onFinishEditing,
-    onSaveImage,
-    children
-  } = _ref;
-  const transformImage = useTransformImage({
-    url,
-    naturalWidth,
-    naturalHeight
-  }, isEditing);
-  const saveImage = useSaveImage({
-    id,
-    url,
-    onSaveImage,
-    onFinishEditing,
-    ...transformImage
-  });
-  const providerValue = Object(external_wp_element_["useMemo"])(() => ({ ...transformImage,
-    ...saveImage
-  }), [transformImage, saveImage]);
-  return Object(external_wp_element_["createElement"])(ImageEditingContext.Provider, {
-    value: providerValue
-  }, children);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/cropper.js
-
-
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-function ImageCropper(_ref) {
-  let {
-    url,
-    width,
-    height,
-    clientWidth,
-    naturalHeight,
-    naturalWidth
-  } = _ref;
-  const {
-    isInProgress,
-    editedUrl,
-    position,
-    zoom,
-    aspect,
-    setPosition,
-    setCrop,
-    setZoom,
-    rotation
-  } = useImageEditingContext();
-  let editedHeight = height || clientWidth * naturalHeight / naturalWidth;
-
-  if (rotation % 180 === 90) {
-    editedHeight = clientWidth * naturalWidth / naturalHeight;
-  }
-
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('wp-block-image__crop-area', {
-      'is-applying': isInProgress
-    }),
-    style: {
-      width: width || clientWidth,
-      height: editedHeight
-    }
-  }, Object(external_wp_element_["createElement"])(index_module, {
-    image: editedUrl || url,
-    disabled: isInProgress,
-    minZoom: constants_MIN_ZOOM / 100,
-    maxZoom: constants_MAX_ZOOM / 100,
-    crop: position,
-    zoom: zoom / 100,
-    aspect: aspect,
-    onCropChange: setPosition,
-    onCropComplete: newCropPercent => {
-      setCrop(newCropPercent);
-    },
-    onZoomChange: newZoom => {
-      setZoom(newZoom * 100);
-    }
-  }), isInProgress && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null));
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js
-var search = __webpack_require__("cGtP");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/zoom-dropdown.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-function ZoomDropdown() {
-  const {
-    isInProgress,
-    zoom,
-    setZoom
-  } = useImageEditingContext();
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
-    contentClassName: "wp-block-image__zoom",
-    popoverProps: constants_POPOVER_PROPS,
-    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,
-      max: constants_MAX_ZOOM,
-      value: Math.round(zoom),
-      onChange: setZoom
-    })
-  });
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
-var check = __webpack_require__("RMJe");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/aspect-ratio.js
-
-
-/**
- * WordPress dependencies
- */
-
-const aspectRatio = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var aspect_ratio = (aspectRatio);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/aspect-ratio-dropdown.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-function AspectGroup(_ref) {
-  let {
-    aspectRatios,
-    isDisabled,
-    label,
-    onClick,
-    value
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: label
-  }, 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(_ref3) {
-  let {
-    toggleProps
-  } = _ref3;
-  const {
-    isInProgress,
-    aspect,
-    setAspect,
-    defaultAspect
-  } = useImageEditingContext();
-  return Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    icon: aspect_ratio,
-    label: Object(external_wp_i18n_["__"])('Aspect Ratio'),
-    popoverProps: constants_POPOVER_PROPS,
-    toggleProps: toggleProps,
-    className: "wp-block-image__aspect-ratio"
-  }, _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
-
-
-/**
- * WordPress dependencies
- */
-
-const rotateRight = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var rotate_right = (rotateRight);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/rotation-button.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-function RotationButton() {
-  const {
-    isInProgress,
-    rotateClockwise
-  } = useImageEditingContext();
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    icon: rotate_right,
-    label: Object(external_wp_i18n_["__"])('Rotate'),
-    onClick: rotateClockwise,
-    disabled: isInProgress
-  });
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/form-controls.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-function FormControls() {
-  const {
-    isInProgress,
-    apply,
-    cancel
-  } = useImageEditingContext();
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    onClick: apply,
-    disabled: isInProgress
-  }, Object(external_wp_i18n_["__"])('Apply')), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    onClick: cancel
-  }, Object(external_wp_i18n_["__"])('Cancel')));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-
-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,
-    height: height,
-    clientWidth: clientWidth,
-    naturalHeight: naturalHeight,
-    naturalWidth: naturalWidth
-  }), Object(external_wp_element_["createElement"])(block_controls["b" /* default */], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(ZoomDropdown, null), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], null, toggleProps => Object(external_wp_element_["createElement"])(AspectRatioDropdown, {
-    toggleProps: toggleProps
-  })), Object(external_wp_element_["createElement"])(RotationButton, null)), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(FormControls, null))));
-}
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-size-control/use-dimension-handler.js
-/**
- * WordPress dependencies
- */
-
-function useDimensionHandler(customHeight, customWidth, defaultHeight, defaultWidth, onChange) {
-  var _ref, _ref2;
-
-  const [currentWidth, setCurrentWidth] = Object(external_wp_element_["useState"])((_ref = customWidth !== null && customWidth !== void 0 ? customWidth : defaultWidth) !== null && _ref !== void 0 ? _ref : '');
-  const [currentHeight, setCurrentHeight] = Object(external_wp_element_["useState"])((_ref2 = customHeight !== null && customHeight !== void 0 ? customHeight : defaultHeight) !== null && _ref2 !== void 0 ? _ref2 : ''); // When an image is first inserted, the default dimensions are initially
-  // undefined. This effect updates the dimensions when the default values
-  // come through.
-
-  Object(external_wp_element_["useEffect"])(() => {
-    if (customWidth === undefined && defaultWidth !== undefined) {
-      setCurrentWidth(defaultWidth);
-    }
-
-    if (customHeight === undefined && defaultHeight !== undefined) {
-      setCurrentHeight(defaultHeight);
-    }
-  }, [defaultWidth, defaultHeight]); // If custom values change, it means an outsider has resized the image using some other method (eg resize box)
-  // this keeps track of these values too. We need to parse before comparing; custom values can be strings.
-
-  Object(external_wp_element_["useEffect"])(() => {
-    if (customWidth !== undefined && Number.parseInt(customWidth) !== Number.parseInt(currentWidth)) {
-      setCurrentWidth(customWidth);
-    }
-
-    if (customHeight !== undefined && Number.parseInt(customHeight) !== Number.parseInt(currentHeight)) {
-      setCurrentHeight(customHeight);
-    }
-  }, [customWidth, customHeight]);
-
-  const updateDimension = (dimension, value) => {
-    if (dimension === 'width') {
-      setCurrentWidth(value);
-    } else {
-      setCurrentHeight(value);
-    }
-
-    onChange({
-      [dimension]: value === '' ? undefined : parseInt(value, 10)
-    });
-  };
-
-  const updateDimensions = (nextHeight, nextWidth) => {
-    setCurrentHeight(nextHeight !== null && nextHeight !== void 0 ? nextHeight : defaultHeight);
-    setCurrentWidth(nextWidth !== null && nextWidth !== void 0 ? nextWidth : defaultWidth);
-    onChange({
-      height: nextHeight,
-      width: nextWidth
-    });
-  };
-
-  return {
-    currentHeight,
-    currentWidth,
-    updateDimension,
-    updateDimensions
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-size-control/index.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-const IMAGE_SIZE_PRESETS = [25, 50, 75, 100];
-function ImageSizeControl(_ref) {
-  let {
-    imageWidth,
-    imageHeight,
-    imageSizeOptions = [],
-    isResizable = true,
-    slug,
-    width,
-    height,
-    onChange,
-    onChangeImage = external_lodash_["noop"]
-  } = _ref;
-  const {
-    currentHeight,
-    currentWidth,
-    updateDimension,
-    updateDimensions
-  } = useDimensionHandler(height, width, imageHeight, imageWidth, onChange);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, !Object(external_lodash_["isEmpty"])(imageSizeOptions) && Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Image size'),
-    value: slug,
-    options: imageSizeOptions,
-    onChange: onChangeImage
-  }), isResizable && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-image-size-control"
-  }, Object(external_wp_element_["createElement"])("p", {
-    className: "block-editor-image-size-control__row"
-  }, Object(external_wp_i18n_["__"])('Image dimensions')), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-image-size-control__row"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    type: "number",
-    className: "block-editor-image-size-control__width",
-    label: Object(external_wp_i18n_["__"])('Width'),
-    value: currentWidth,
-    min: 1,
-    onChange: value => updateDimension('width', value)
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    type: "number",
-    className: "block-editor-image-size-control__height",
-    label: Object(external_wp_i18n_["__"])('Height'),
-    value: currentHeight,
-    min: 1,
-    onChange: value => updateDimension('height', value)
-  })), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-image-size-control__row"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ButtonGroup"], {
-    "aria-label": Object(external_wp_i18n_["__"])('Image size presets')
-  }, IMAGE_SIZE_PRESETS.map(scale => {
-    const scaledWidth = Math.round(imageWidth * (scale / 100));
-    const scaledHeight = Math.round(imageHeight * (scale / 100));
-    const isCurrent = currentWidth === scaledWidth && currentHeight === scaledHeight;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      key: scale,
-      isSmall: true,
-      variant: isCurrent ? 'primary' : undefined,
-      isPressed: isCurrent,
-      onClick: () => updateDimensions(scaledHeight, scaledWidth)
-    }, scale, "%");
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    isSmall: true,
-    onClick: () => updateDimensions()
-  }, Object(external_wp_i18n_["__"])('Reset')))));
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js + 7 modules
-var inner_blocks = __webpack_require__("p3NJ");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js
-var inspector_controls = __webpack_require__("1oY3");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/justify-content-control/index.js + 1 modules
-var justify_content_control = __webpack_require__("0E5u");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
-var keyboard_return = __webpack_require__("btIw");
-
-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-const LinkControlSettingsDrawer = _ref => {
-  let {
-    value,
-    onChange = external_lodash_["noop"],
-    settings
-  } = _ref;
-
-  if (!settings || !settings.length) {
-    return null;
-  }
-
-  const handleSettingChange = setting => newValue => {
-    onChange({ ...value,
-      [setting.id]: newValue
-    });
-  };
-
-  const theSettings = settings.map(setting => Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    className: "block-editor-link-control__setting",
-    key: setting.id,
-    label: setting.title,
-    onChange: handleSettingChange(setting),
-    checked: value ? !!value[setting.id] : false
-  }));
-  return Object(external_wp_element_["createElement"])("fieldset", {
-    className: "block-editor-link-control__settings"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    as: "legend"
-  }, Object(external_wp_i18n_["__"])('Currently selected link settings')), theSettings);
-};
-
-/* harmony default export */ var settings_drawer = (LinkControlSettingsDrawer);
-
-// EXTERNAL MODULE: ./node_modules/dom-scroll-into-view/lib/index.js
-var lib = __webpack_require__("9Do8");
-var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
-
-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/index.js
-
-
-
-/**
- * External dependencies
- */
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-class url_input_URLInput extends external_wp_element_["Component"] {
-  constructor(props) {
-    super(props);
-    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 = props.autocompleteRef || Object(external_wp_element_["createRef"])();
-    this.inputRef = Object(external_wp_element_["createRef"])();
-    this.updateSuggestions = Object(external_lodash_["debounce"])(this.updateSuggestions.bind(this), 200);
-    this.suggestionNodes = [];
-    this.isUpdatingSuggestions = false;
-    this.state = {
-      suggestions: [],
-      showSuggestions: false,
-      selectedSuggestion: null,
-      suggestionsListboxId: '',
-      suggestionOptionIdPrefix: ''
-    };
-  }
-
-  componentDidUpdate(prevProps) {
-    const {
-      showSuggestions,
-      selectedSuggestion
-    } = this.state;
-    const {
-      value,
-      __experimentalShowInitialSuggestions = false
-    } = this.props; // only have to worry about scrolling selected suggestion into view
-    // when already expanded
-
-    if (showSuggestions && selectedSuggestion !== null && this.suggestionNodes[selectedSuggestion] && !this.scrollingIntoView) {
-      this.scrollingIntoView = true;
-      lib_default()(this.suggestionNodes[selectedSuggestion], this.autocompleteRef.current, {
-        onlyScrollIfNeeded: true
-      });
-      this.props.setTimeout(() => {
-        this.scrollingIntoView = false;
-      }, 100);
-    } // Update suggestions when the value changes
-
-
-    if (prevProps.value !== value && !this.props.disableSuggestions && !this.isUpdatingSuggestions) {
-      if (value !== null && value !== void 0 && value.length) {
-        // If the new value is not empty we need to update with suggestions for it
-        this.updateSuggestions(value);
-      } else if (__experimentalShowInitialSuggestions) {
-        // If the new value is empty and we can show initial suggestions, then show initial suggestions
-        this.updateSuggestions();
-      }
-    }
-  }
-
-  componentDidMount() {
-    if (this.shouldShowInitialSuggestions()) {
-      this.updateSuggestions();
-    }
-  }
-
-  componentWillUnmount() {
-    var _this$suggestionsRequ, _this$suggestionsRequ2;
-
-    (_this$suggestionsRequ = this.suggestionsRequest) === null || _this$suggestionsRequ === void 0 ? void 0 : (_this$suggestionsRequ2 = _this$suggestionsRequ.cancel) === null || _this$suggestionsRequ2 === void 0 ? void 0 : _this$suggestionsRequ2.call(_this$suggestionsRequ);
-    delete this.suggestionsRequest;
-  }
-
-  bindSuggestionNode(index) {
-    return ref => {
-      this.suggestionNodes[index] = ref;
-    };
-  }
-
-  shouldShowInitialSuggestions() {
-    const {
-      suggestions
-    } = this.state;
-    const {
-      __experimentalShowInitialSuggestions = false,
-      value
-    } = this.props;
-    return !this.isUpdatingSuggestions && __experimentalShowInitialSuggestions && !(value && value.length) && !(suggestions && suggestions.length);
-  }
-
-  updateSuggestions() {
-    var _value;
-
-    let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
-    const {
-      __experimentalFetchLinkSuggestions: fetchLinkSuggestions,
-      __experimentalHandleURLSuggestions: handleURLSuggestions
-    } = this.props;
-
-    if (!fetchLinkSuggestions) {
-      return;
-    } // Initial suggestions may only show if there is no value
-    // (note: this includes whitespace).
-
-
-    const isInitialSuggestions = !((_value = value) !== null && _value !== void 0 && _value.length); // Trim only now we've determined whether or not it originally had a "length"
-    // (even if that value was all whitespace).
-
-    value = value.trim(); // Allow a suggestions request if:
-    // - there are at least 2 characters in the search input (except manual searches where
-    //   search input length is not required to trigger a fetch)
-    // - this is a direct entry (eg: a URL)
-
-    if (!isInitialSuggestions && (value.length < 2 || !handleURLSuggestions && Object(external_wp_url_["isURL"])(value))) {
-      this.setState({
-        showSuggestions: false,
-        selectedSuggestion: null,
-        loading: false
-      });
-      return;
-    }
-
-    this.isUpdatingSuggestions = true;
-    this.setState({
-      selectedSuggestion: null,
-      loading: true
-    });
-    const request = fetchLinkSuggestions(value, {
-      isInitialSuggestions
-    });
-    request.then(suggestions => {
-      // A fetch Promise doesn't have an abort option. It's mimicked by
-      // comparing the request reference in on the instance, which is
-      // reset or deleted on subsequent requests or unmounting.
-      if (this.suggestionsRequest !== request) {
-        return;
-      }
-
-      this.setState({
-        suggestions,
-        loading: false,
-        showSuggestions: !!suggestions.length
-      });
-
-      if (!!suggestions.length) {
-        this.props.debouncedSpeak(Object(external_wp_i18n_["sprintf"])(
-        /* translators: %s: number of results. */
-        Object(external_wp_i18n_["_n"])('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', suggestions.length), suggestions.length), 'assertive');
-      } else {
-        this.props.debouncedSpeak(Object(external_wp_i18n_["__"])('No results.'), 'assertive');
-      }
-
-      this.isUpdatingSuggestions = false;
-    }).catch(() => {
-      if (this.suggestionsRequest === request) {
-        this.setState({
-          loading: false
-        });
-        this.isUpdatingSuggestions = false;
-      }
-    }); // Note that this assignment is handled *before* the async search request
-    // as a Promise always resolves on the next tick of the event loop.
-
-    this.suggestionsRequest = request;
-  }
-
-  onChange(event) {
-    const inputValue = event.target.value;
-    this.props.onChange(inputValue);
-
-    if (!this.props.disableSuggestions) {
-      this.updateSuggestions(inputValue);
-    }
-  }
-
-  onFocus() {
-    const {
-      suggestions
-    } = this.state;
-    const {
-      disableSuggestions,
-      value
-    } = this.props; // When opening the link editor, if there's a value present, we want to load the suggestions pane with the results for this input search value
-    // Don't re-run the suggestions on focus if there are already suggestions present (prevents searching again when tabbing between the input and buttons)
-
-    if (value && !disableSuggestions && !this.isUpdatingSuggestions && !(suggestions && suggestions.length)) {
-      // Ensure the suggestions are updated with the current input value
-      this.updateSuggestions(value);
-    }
-  }
-
-  onKeyDown(event) {
-    const {
-      showSuggestions,
-      selectedSuggestion,
-      suggestions,
-      loading
-    } = this.state; // If the suggestions are not shown or loading, we shouldn't handle the arrow keys
-    // We shouldn't preventDefault to allow block arrow keys navigation
-
-    if (!showSuggestions || !suggestions.length || loading) {
-      // In the Windows version of Firefox the up and down arrows don't move the caret
-      // within an input field like they do for Mac Firefox/Chrome/Safari. This causes
-      // a form of focus trapping that is disruptive to the user experience. This disruption
-      // only happens if the caret is not in the first or last position in the text input.
-      // See: https://github.com/WordPress/gutenberg/issues/5693#issuecomment-436684747
-      switch (event.keyCode) {
-        // When UP is pressed, if the caret is at the start of the text, move it to the 0
-        // position.
-        case external_wp_keycodes_["UP"]:
-          {
-            if (0 !== event.target.selectionStart) {
-              event.preventDefault(); // Set the input caret to position 0
-
-              event.target.setSelectionRange(0, 0);
-            }
-
-            break;
-          }
-        // When DOWN is pressed, if the caret is not at the end of the text, move it to the
-        // last position.
-
-        case external_wp_keycodes_["DOWN"]:
-          {
-            if (this.props.value.length !== event.target.selectionStart) {
-              event.preventDefault(); // Set the input caret to the last position
-
-              event.target.setSelectionRange(this.props.value.length, this.props.value.length);
-            }
-
-            break;
-          }
-        // Submitting while loading should trigger onSubmit
-
-        case external_wp_keycodes_["ENTER"]:
-          {
-            if (this.props.onSubmit) {
-              this.props.onSubmit(null, event);
-            }
-
-            break;
-          }
-      }
-
-      return;
-    }
-
-    const suggestion = this.state.suggestions[this.state.selectedSuggestion];
-
-    switch (event.keyCode) {
-      case external_wp_keycodes_["UP"]:
-        {
-          event.preventDefault();
-          const previousIndex = !selectedSuggestion ? suggestions.length - 1 : selectedSuggestion - 1;
-          this.setState({
-            selectedSuggestion: previousIndex
-          });
-          break;
-        }
-
-      case external_wp_keycodes_["DOWN"]:
-        {
-          event.preventDefault();
-          const nextIndex = selectedSuggestion === null || selectedSuggestion === suggestions.length - 1 ? 0 : selectedSuggestion + 1;
-          this.setState({
-            selectedSuggestion: nextIndex
-          });
-          break;
-        }
-
-      case external_wp_keycodes_["TAB"]:
-        {
-          if (this.state.selectedSuggestion !== null) {
-            this.selectLink(suggestion); // Announce a link has been selected when tabbing away from the input field.
-
-            this.props.speak(Object(external_wp_i18n_["__"])('Link selected.'));
-          }
-
-          break;
-        }
-
-      case external_wp_keycodes_["ENTER"]:
-        {
-          if (this.state.selectedSuggestion !== null) {
-            this.selectLink(suggestion);
-
-            if (this.props.onSubmit) {
-              this.props.onSubmit(suggestion, event);
-            }
-          } else if (this.props.onSubmit) {
-            this.props.onSubmit(null, event);
-          }
-
-          break;
-        }
-    }
-  }
-
-  selectLink(suggestion) {
-    this.props.onChange(suggestion.url, suggestion);
-    this.setState({
-      selectedSuggestion: null,
-      showSuggestions: false
-    });
-  }
-
-  handleOnClick(suggestion) {
-    this.selectLink(suggestion); // Move focus to the input field when a link suggestion is clicked.
-
-    this.inputRef.current.focus();
-  }
-
-  static getDerivedStateFromProps(_ref, _ref2) {
-    let {
-      value,
-      instanceId,
-      disableSuggestions,
-      __experimentalShowInitialSuggestions = false
-    } = _ref;
-    let {
-      showSuggestions
-    } = _ref2;
-    let shouldShowSuggestions = showSuggestions;
-    const hasValue = value && value.length;
-
-    if (!__experimentalShowInitialSuggestions && !hasValue) {
-      shouldShowSuggestions = false;
-    }
-
-    if (disableSuggestions === true) {
-      shouldShowSuggestions = false;
-    }
-
-    return {
-      showSuggestions: shouldShowSuggestions,
-      suggestionsListboxId: `block-editor-url-input-suggestions-${instanceId}`,
-      suggestionOptionIdPrefix: `block-editor-url-input-suggestion-${instanceId}`
-    };
-  }
-
-  render() {
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, this.renderControl(), this.renderSuggestions());
-  }
-
-  renderControl() {
-    const {
-      label,
-      className,
-      isFullWidth,
-      instanceId,
-      placeholder = Object(external_wp_i18n_["__"])('Paste URL or type to search'),
-      __experimentalRenderControl: renderControl,
-      value = ''
-    } = this.props;
-    const {
-      loading,
-      showSuggestions,
-      selectedSuggestion,
-      suggestionsListboxId,
-      suggestionOptionIdPrefix
-    } = this.state;
-    const controlProps = {
-      id: `url-input-control-${instanceId}`,
-      label,
-      className: classnames_default()('block-editor-url-input', className, {
-        'is-full-width': isFullWidth
-      })
-    };
-    const inputProps = {
-      value,
-      required: true,
-      className: 'block-editor-url-input__input',
-      type: 'text',
-      onChange: this.onChange,
-      onFocus: this.onFocus,
-      placeholder,
-      onKeyDown: this.onKeyDown,
-      role: 'combobox',
-      'aria-label': Object(external_wp_i18n_["__"])('URL'),
-      'aria-expanded': showSuggestions,
-      'aria-autocomplete': 'list',
-      'aria-owns': suggestionsListboxId,
-      'aria-activedescendant': selectedSuggestion !== null ? `${suggestionOptionIdPrefix}-${selectedSuggestion}` : undefined,
-      ref: this.inputRef
-    };
-
-    if (renderControl) {
-      return renderControl(controlProps, inputProps, loading);
-    }
-
-    return Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], controlProps, Object(external_wp_element_["createElement"])("input", inputProps), loading && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null));
-  }
-
-  renderSuggestions() {
-    const {
-      className,
-      __experimentalRenderSuggestions: renderSuggestions,
-      value = '',
-      __experimentalShowInitialSuggestions = false
-    } = this.props;
-    const {
-      showSuggestions,
-      suggestions,
-      selectedSuggestion,
-      suggestionsListboxId,
-      suggestionOptionIdPrefix,
-      loading
-    } = this.state;
-    const suggestionsListProps = {
-      id: suggestionsListboxId,
-      ref: this.autocompleteRef,
-      role: 'listbox'
-    };
-
-    const buildSuggestionItemProps = (suggestion, index) => {
-      return {
-        role: 'option',
-        tabIndex: '-1',
-        id: `${suggestionOptionIdPrefix}-${index}`,
-        ref: this.bindSuggestionNode(index),
-        'aria-selected': index === selectedSuggestion
-      };
-    };
-
-    if (Object(external_lodash_["isFunction"])(renderSuggestions) && showSuggestions && !!suggestions.length) {
-      return renderSuggestions({
-        suggestions,
-        selectedSuggestion,
-        suggestionsListProps,
-        buildSuggestionItemProps,
-        isLoading: loading,
-        handleSuggestionClick: this.handleOnClick,
-        isInitialSuggestions: __experimentalShowInitialSuggestions && !(value && value.length)
-      });
-    }
-
-    if (!Object(external_lodash_["isFunction"])(renderSuggestions) && showSuggestions && !!suggestions.length) {
-      return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
-        position: "bottom",
-        noArrow: true,
-        focusOnMount: false
-      }, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, suggestionsListProps, {
-        className: classnames_default()('block-editor-url-input__suggestions', `${className}__suggestions`)
-      }), suggestions.map((suggestion, index) => Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, buildSuggestionItemProps(suggestion, index), {
-        key: suggestion.id,
-        className: classnames_default()('block-editor-url-input__suggestion', {
-          'is-selected': index === selectedSuggestion
-        }),
-        onClick: () => this.handleOnClick(suggestion)
-      }), suggestion.title))));
-    }
-
-    return null;
-  }
-
-}
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/url-input/README.md
- */
-
-
-/* harmony default export */ var url_input = (Object(external_wp_compose_["compose"])(external_wp_compose_["withSafeTimeout"], external_wp_components_["withSpokenMessages"], external_wp_compose_["withInstanceId"], Object(external_wp_data_["withSelect"])((select, props) => {
-  // If a link suggestions handler is already provided then
-  // bail
-  if (Object(external_lodash_["isFunction"])(props.__experimentalFetchLinkSuggestions)) {
-    return;
-  }
-
-  const {
-    getSettings
-  } = select(store["a" /* store */]);
-  return {
-    __experimentalFetchLinkSuggestions: getSettings().__experimentalFetchLinkSuggestions
-  };
-}))(url_input_URLInput));
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
-var plus = __webpack_require__("Q4Sy");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-create-button.js
-
-
-
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-const LinkControlSearchCreate = _ref => {
-  let {
-    searchTerm,
-    onClick,
-    itemProps,
-    isSelected,
-    buttonText
-  } = _ref;
-
-  if (!searchTerm) {
-    return null;
-  }
-
-  let text;
-
-  if (buttonText) {
-    text = Object(external_lodash_["isFunction"])(buttonText) ? buttonText(searchTerm) : buttonText;
-  } else {
-    text = Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["sprintf"])(
-    /* translators: %s: search term. */
-    Object(external_wp_i18n_["__"])('Create: <mark>%s</mark>'), searchTerm), {
-      mark: Object(external_wp_element_["createElement"])("mark", null)
-    });
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, itemProps, {
-    className: classnames_default()('block-editor-link-control__search-create block-editor-link-control__search-item', {
-      'is-selected': isSelected
-    }),
-    onClick: onClick
-  }), Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    className: "block-editor-link-control__search-item-icon",
-    icon: plus["a" /* default */]
-  }), Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-item-header"
-  }, Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-item-title"
-  }, text)));
-};
-/* harmony default export */ var search_create_button = (LinkControlSearchCreate);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/globe.js
-var globe = __webpack_require__("K8zD");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js
-
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-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', {
-      'is-selected': isSelected,
-      'is-url': isURL,
-      'is-entity': !isURL
-    })
-  }), isURL && Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    className: "block-editor-link-control__search-item-icon",
-    icon: globe["a" /* default */]
-  }), Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-item-header"
-  }, Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-item-title"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextHighlight"], {
-    text: suggestion.title,
-    highlight: searchTerm
-  })), Object(external_wp_element_["createElement"])("span", {
-    "aria-hidden": !isURL,
-    className: "block-editor-link-control__search-item-info"
-  }, !isURL && (Object(external_wp_url_["filterURLForDisplay"])(Object(external_wp_url_["safeDecodeURI"])(suggestion.url)) || ''), isURL && Object(external_wp_i18n_["__"])('Press ENTER to add this link'))), shouldShowType && suggestion.type && Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-item-type"
-  }, suggestion.type === 'post_tag' ? 'tag' : suggestion.type));
-};
-/* harmony default export */ var search_item = (LinkControlSearchItem);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/constants.js
-/**
- * WordPress dependencies
- */
- // Used as a unique identifier for the "Create" option within search results.
-// Used to help distinguish the "Create" suggestion within the search results in
-// order to handle it as a unique case.
-
-const CREATE_TYPE = '__CREATE__';
-const DEFAULT_LINK_SETTINGS = [{
-  id: 'opensInNewTab',
-  title: Object(external_wp_i18n_["__"])('Open in new tab')
-}];
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-results.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * External dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-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
-  });
-  const directLinkEntryTypes = ['url', 'mailto', 'tel', 'internal'];
-  const isSingleDirectEntryResult = suggestions.length === 1 && directLinkEntryTypes.includes(suggestions[0].type.toLowerCase());
-  const shouldShowCreateSuggestion = withCreateSuggestion && !isSingleDirectEntryResult && !isInitialSuggestions; // If the query has a specified type, then we can skip showing them in the result. See #24839.
-
-  const shouldShowSuggestionsTypes = !(suggestionsQuery !== null && suggestionsQuery !== void 0 && suggestionsQuery.type); // According to guidelines aria-label should be added if the label
-  // itself is not visible.
-  // See: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/listbox_role
-
-  const searchResultsLabelId = `block-editor-link-control-search-results-label-${instanceId}`;
-  const labelText = isInitialSuggestions ? Object(external_wp_i18n_["__"])('Recently updated') : Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: search term. */
-  Object(external_wp_i18n_["__"])('Search results for "%s"'), currentInputValue); // VisuallyHidden rightly doesn't accept custom classNames
-  // so we conditionally render it as a wrapper to visually hide the label
-  // when that is required.
-
-  const searchResultsLabel = Object(external_wp_element_["createElement"])(isInitialSuggestions ? external_wp_element_["Fragment"] : external_wp_components_["VisuallyHidden"], {}, // empty props
-  Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-results-label",
-    id: searchResultsLabelId
-  }, labelText));
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-link-control__search-results-wrapper"
-  }, searchResultsLabel, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, suggestionsListProps, {
-    className: resultsListClasses,
-    "aria-labelledby": searchResultsLabelId
-  }), suggestions.map((suggestion, index) => {
-    if (shouldShowCreateSuggestion && CREATE_TYPE === suggestion.type) {
-      return Object(external_wp_element_["createElement"])(search_create_button, {
-        searchTerm: currentInputValue,
-        buttonText: createSuggestionButtonText,
-        onClick: () => handleSuggestionClick(suggestion) // Intentionally only using `type` here as
-        // the constant is enough to uniquely
-        // identify the single "CREATE" suggestion.
-        ,
-        key: suggestion.type,
-        itemProps: buildSuggestionItemProps(suggestion, index),
-        isSelected: index === selectedSuggestion
-      });
-    } // If we're not handling "Create" suggestions above then
-    // we don't want them in the main results so exit early
-
-
-    if (CREATE_TYPE === suggestion.type) {
-      return null;
-    }
-
-    return Object(external_wp_element_["createElement"])(search_item, {
-      key: `${suggestion.id}-${suggestion.type}`,
-      itemProps: buildSuggestionItemProps(suggestion, index),
-      suggestion: suggestion,
-      index: index,
-      onClick: () => {
-        handleSuggestionClick(suggestion);
-      },
-      isSelected: index === selectedSuggestion,
-      isURL: directLinkEntryTypes.includes(suggestion.type.toLowerCase()),
-      searchTerm: currentInputValue,
-      shouldShowType: shouldShowSuggestionsTypes
-    });
-  })));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/is-url-like.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Determines whether a given value could be a URL. Note this does not
- * guarantee the value is a URL only that it looks like it might be one. For
- * example, just because a string has `www.` in it doesn't make it a URL,
- * but it does make it highly likely that it will be so in the context of
- * creating a link it makes sense to treat it like one.
- *
- * @param {string} val the candidate for being URL-like (or not).
- *
- * @return {boolean} whether or not the value is potentially a URL.
- */
-
-function isURLLike(val) {
-  const isInternal = Object(external_lodash_["startsWith"])(val, '#');
-  return Object(external_wp_url_["isURL"])(val) || val && val.includes('www.') || isInternal;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/use-search-handler.js
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * External dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-const handleNoop = () => Promise.resolve([]);
-const handleDirectEntry = val => {
-  let type = 'URL';
-  const protocol = Object(external_wp_url_["getProtocol"])(val) || '';
-
-  if (protocol.includes('mailto')) {
-    type = 'mailto';
-  }
-
-  if (protocol.includes('tel')) {
-    type = 'tel';
-  }
-
-  if (Object(external_lodash_["startsWith"])(val, '#')) {
-    type = 'internal';
-  }
-
-  return Promise.resolve([{
-    id: val,
-    title: val,
-    url: type === 'URL' ? Object(external_wp_url_["prependHTTP"])(val) : val,
-    type
-  }]);
-};
-
-const handleEntitySearch = async (val, suggestionsQuery, fetchSearchSuggestions, directEntryHandler, withCreateSuggestion, withURLSuggestion) => {
-  const {
-    isInitialSuggestions
-  } = suggestionsQuery;
-  let results = await Promise.all([fetchSearchSuggestions(val, suggestionsQuery), directEntryHandler(val)]);
-  const couldBeURL = !val.includes(' '); // If it's potentially a URL search then concat on a URL search suggestion
-  // just for good measure. That way once the actual results run out we always
-  // have a URL option to fallback on.
-
-  if (couldBeURL && withURLSuggestion && !isInitialSuggestions) {
-    results = results[0].concat(results[1]);
-  } else {
-    results = results[0];
-  } // If displaying initial suggestions just return plain results.
-
-
-  if (isInitialSuggestions) {
-    return results;
-  } // Here we append a faux suggestion to represent a "CREATE" option. This
-  // is detected in the rendering of the search results and handled as a
-  // special case. This is currently necessary because the suggestions
-  // dropdown will only appear if there are valid suggestions and
-  // therefore unless the create option is a suggestion it will not
-  // display in scenarios where there are no results returned from the
-  // API. In addition promoting CREATE to a first class suggestion affords
-  // the a11y benefits afforded by `URLInput` to all suggestions (eg:
-  // keyboard handling, ARIA roles...etc).
-  //
-  // Note also that the value of the `title` and `url` properties must correspond
-  // to the text value of the `<input>`. This is because `title` is used
-  // when creating the suggestion. Similarly `url` is used when using keyboard to select
-  // the suggestion (the <form> `onSubmit` handler falls-back to `url`).
-
-
-  return isURLLike(val) || !withCreateSuggestion ? results : results.concat({
-    // the `id` prop is intentionally ommitted here because it
-    // is never exposed as part of the component's public API.
-    // see: https://github.com/WordPress/gutenberg/pull/19775#discussion_r378931316.
-    title: val,
-    // must match the existing `<input>`s text value
-    url: val,
-    // must match the existing `<input>`s text value
-    type: CREATE_TYPE
-  });
-};
-
-function useSearchHandler(suggestionsQuery, allowDirectEntry, withCreateSuggestion, withURLSuggestion) {
-  const {
-    fetchSearchSuggestions
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getSettings
-    } = select(store["a" /* store */]);
-    return {
-      fetchSearchSuggestions: getSettings().__experimentalFetchLinkSuggestions
-    };
-  }, []);
-  const directEntryHandler = allowDirectEntry ? handleDirectEntry : handleNoop;
-  return Object(external_wp_element_["useCallback"])((val, _ref) => {
-    let {
-      isInitialSuggestions
-    } = _ref;
-    return isURLLike(val) ? directEntryHandler(val, {
-      isInitialSuggestions
-    }) : handleEntitySearch(val, { ...suggestionsQuery,
-      isInitialSuggestions
-    }, fetchSearchSuggestions, directEntryHandler, withCreateSuggestion, withURLSuggestion);
-  }, [directEntryHandler, fetchSearchSuggestions, withCreateSuggestion]);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js
-
-
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
- // Must be a function as otherwise URLInput will default
-// to the fetchLinkSuggestions passed in block editor settings
-// which will cause an unintended http request.
-
-const noopSearchHandler = () => Promise.resolve([]);
-
-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);
-  const [focusedSuggestion, setFocusedSuggestion] = Object(external_wp_element_["useState"])();
-  /**
-   * Handles the user moving between different suggestions. Does not handle
-   * choosing an individual item.
-   *
-   * @param {string} selection  the url of the selected suggestion.
-   * @param {Object} suggestion the suggestion object.
-   */
-
-  const onInputChange = (selection, suggestion) => {
-    onChange(selection);
-    setFocusedSuggestion(suggestion);
-  };
-
-  const handleRenderSuggestions = props => renderSuggestions({ ...props,
-    instanceId,
-    withCreateSuggestion,
-    currentInputValue: value,
-    createSuggestionButtonText,
-    suggestionsQuery,
-    handleSuggestionClick: suggestion => {
-      if (props.handleSuggestionClick) {
-        props.handleSuggestionClick(suggestion);
-      }
-
-      onSuggestionSelected(suggestion);
+function copy (src) {
+    if (typeof src === 'object' && src !== null) {
+        var dst;
+
+        if (isArray(src)) {
+            dst = [];
+        }
+        else if (isDate(src)) {
+            dst = new Date(src.getTime ? src.getTime() : src);
+        }
+        else if (isRegExp(src)) {
+            dst = new RegExp(src);
+        }
+        else if (isError(src)) {
+            dst = { message: src.message };
+        }
+        else if (isBoolean(src)) {
+            dst = new Boolean(src);
+        }
+        else if (isNumber(src)) {
+            dst = new Number(src);
+        }
+        else if (isString(src)) {
+            dst = new String(src);
+        }
+        else if (Object.create && Object.getPrototypeOf) {
+            dst = Object.create(Object.getPrototypeOf(src));
+        }
+        else if (src.constructor === Object) {
+            dst = {};
+        }
+        else {
+            var proto =
+                (src.constructor && src.constructor.prototype)
+                || src.__proto__
+                || {}
+            ;
+            var T = function () {};
+            T.prototype = proto;
+            dst = new T;
+        }
+
+        forEach(objectKeys(src), function (key) {
+            dst[key] = src[key];
+        });
+        return dst;
     }
-  });
-
-  const onSuggestionSelected = async selectedSuggestion => {
-    let suggestion = selectedSuggestion;
+    else return src;
+}

-    if (CREATE_TYPE === selectedSuggestion.type) {
-      // Create a new page and call onSelect with the output from the onCreateSuggestion callback
-      try {
-        var _suggestion;
+var objectKeys = Object.keys || function keys (obj) {
+    var res = [];
+    for (var key in obj) res.push(key)
+    return res;
+};

-        suggestion = await onCreateSuggestion(selectedSuggestion.title);
+function toS (obj) { return Object.prototype.toString.call(obj) }
+function isDate (obj) { return toS(obj) === '[object Date]' }
+function isRegExp (obj) { return toS(obj) === '[object RegExp]' }
+function isError (obj) { return toS(obj) === '[object Error]' }
+function isBoolean (obj) { return toS(obj) === '[object Boolean]' }
+function isNumber (obj) { return toS(obj) === '[object Number]' }
+function isString (obj) { return toS(obj) === '[object String]' }

-        if ((_suggestion = suggestion) !== null && _suggestion !== void 0 && _suggestion.url) {
-          onSelect(suggestion);
-        }
-      } catch (e) {}
+var isArray = Array.isArray || function isArray (xs) {
+    return Object.prototype.toString.call(xs) === '[object Array]';
+};

-      return;
+var forEach = function (xs, fn) {
+    if (xs.forEach) return xs.forEach(fn)
+    else for (var i = 0; i < xs.length; i++) {
+        fn(xs[i], i, xs);
     }
+};

-    if (allowDirectEntry || suggestion && Object.keys(suggestion).length >= 1) {
-      onSelect( // Some direct entries don't have types or IDs, and we still need to clear the previous ones.
-      { ...Object(external_lodash_["omit"])(currentLink, 'id', 'url'),
-        ...suggestion
-      }, suggestion);
-    }
-  };
+forEach(objectKeys(Traverse.prototype), function (key) {
+    traverse[key] = function (obj) {
+        var args = [].slice.call(arguments, 1);
+        var t = new Traverse(obj);
+        return t[key].apply(t, args);
+    };
+});

-  const inputClasses = classnames_default()(className, {
-    'has-no-label': !useLabel
-  });
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-link-control__search-input-container"
-  }, Object(external_wp_element_["createElement"])(url_input, {
-    label: useLabel ? 'URL' : undefined,
-    className: inputClasses,
-    value: value,
-    onChange: onInputChange,
-    placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : Object(external_wp_i18n_["__"])('Search or type url'),
-    __experimentalRenderSuggestions: showSuggestions ? handleRenderSuggestions : null,
-    __experimentalFetchLinkSuggestions: searchHandler,
-    __experimentalHandleURLSuggestions: true,
-    __experimentalShowInitialSuggestions: showInitialSuggestions,
-    onSubmit: (suggestion, event) => {
-      var _value$trim;
+var hasOwnProperty = Object.hasOwnProperty || function (obj, key) {
+    return key in obj;
+};

-      const hasSuggestion = suggestion || focusedSuggestion; // If there is no suggestion and the value (ie: any manually entered URL) is empty
-      // then don't allow submission otherwise we get empty links.

-      if (!hasSuggestion && !(value !== null && value !== void 0 && (_value$trim = value.trim()) !== null && _value$trim !== void 0 && _value$trim.length)) {
-        event.preventDefault();
-      } else {
-        onSuggestionSelected(hasSuggestion || {
-          url: value
-        });
-      }
-    },
-    ref: ref
-  }), children);
-});
-/* harmony default export */ var search_input = (LinkControlSearchInput);
+/***/ }),

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/info.js
-var info = __webpack_require__("FnAh");
+/***/ 9196:
+/***/ (function(module) {

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js + 1 modules
-var edit = __webpack_require__("B9Az");
+"use strict";
+module.exports = window["React"];

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
-var link_off = __webpack_require__("Mp0b");
+/***/ })

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/viewer-slot.js
-/**
- * WordPress dependencies
- */
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
+"use strict";
+// ESM COMPAT FLAG
+__webpack_require__.r(__webpack_exports__);

-const {
-  Slot: ViewerSlot,
-  Fill: ViewerFill
-} = Object(external_wp_components_["createSlotFill"])('BlockEditorLinkControlViewer');
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "AlignmentControl": function() { return /* reexport */ AlignmentControl; },
+  "AlignmentToolbar": function() { return /* reexport */ AlignmentToolbar; },
+  "Autocomplete": function() { return /* reexport */ autocomplete; },
+  "BlockAlignmentControl": function() { return /* reexport */ BlockAlignmentControl; },
+  "BlockAlignmentToolbar": function() { return /* reexport */ BlockAlignmentToolbar; },
+  "BlockBreadcrumb": function() { return /* reexport */ block_breadcrumb; },
+  "BlockColorsStyleSelector": function() { return /* reexport */ color_style_selector; },
+  "BlockContextProvider": function() { return /* reexport */ BlockContextProvider; },
+  "BlockControls": function() { return /* reexport */ block_controls; },
+  "BlockEdit": function() { return /* reexport */ BlockEdit; },
+  "BlockEditorKeyboardShortcuts": function() { return /* reexport */ keyboard_shortcuts; },
+  "BlockEditorProvider": function() { return /* reexport */ provider; },
+  "BlockFormatControls": function() { return /* reexport */ BlockFormatControls; },
+  "BlockIcon": function() { return /* reexport */ block_icon; },
+  "BlockInspector": function() { return /* reexport */ block_inspector; },
+  "BlockList": function() { return /* reexport */ BlockList; },
+  "BlockMover": function() { return /* reexport */ block_mover; },
+  "BlockNavigationDropdown": function() { return /* reexport */ dropdown; },
+  "BlockPreview": function() { return /* reexport */ block_preview; },
+  "BlockSelectionClearer": function() { return /* reexport */ BlockSelectionClearer; },
+  "BlockSettingsMenu": function() { return /* reexport */ block_settings_menu; },
+  "BlockSettingsMenuControls": function() { return /* reexport */ block_settings_menu_controls; },
+  "BlockTitle": function() { return /* reexport */ BlockTitle; },
+  "BlockToolbar": function() { return /* reexport */ BlockToolbar; },
+  "BlockTools": function() { return /* reexport */ BlockTools; },
+  "BlockVerticalAlignmentControl": function() { return /* reexport */ BlockVerticalAlignmentControl; },
+  "BlockVerticalAlignmentToolbar": function() { return /* reexport */ BlockVerticalAlignmentToolbar; },
+  "ButtonBlockAppender": function() { return /* reexport */ button_block_appender; },
+  "ButtonBlockerAppender": function() { return /* reexport */ ButtonBlockerAppender; },
+  "ColorPalette": function() { return /* reexport */ color_palette; },
+  "ColorPaletteControl": function() { return /* reexport */ ColorPaletteControl; },
+  "ContrastChecker": function() { return /* reexport */ contrast_checker; },
+  "CopyHandler": function() { return /* reexport */ copy_handler; },
+  "DefaultBlockAppender": function() { return /* reexport */ default_block_appender; },
+  "FontSizePicker": function() { return /* reexport */ font_size_picker; },
+  "InnerBlocks": function() { return /* reexport */ inner_blocks; },
+  "Inserter": function() { return /* reexport */ inserter; },
+  "InspectorAdvancedControls": function() { return /* reexport */ InspectorAdvancedControls; },
+  "InspectorControls": function() { return /* reexport */ inspector_controls; },
+  "JustifyContentControl": function() { return /* reexport */ JustifyContentControl; },
+  "JustifyToolbar": function() { return /* reexport */ JustifyToolbar; },
+  "LineHeightControl": function() { return /* reexport */ LineHeightControl; },
+  "MediaPlaceholder": function() { return /* reexport */ media_placeholder; },
+  "MediaReplaceFlow": function() { return /* reexport */ media_replace_flow; },
+  "MediaUpload": function() { return /* reexport */ media_upload; },
+  "MediaUploadCheck": function() { return /* reexport */ media_upload_check; },
+  "MultiSelectScrollIntoView": function() { return /* reexport */ MultiSelectScrollIntoView; },
+  "NavigableToolbar": function() { return /* reexport */ navigable_toolbar; },
+  "ObserveTyping": function() { return /* reexport */ observe_typing; },
+  "PanelColorSettings": function() { return /* reexport */ panel_color_settings; },
+  "PlainText": function() { return /* reexport */ plain_text; },
+  "PreserveScrollInReorder": function() { return /* reexport */ PreserveScrollInReorder; },
+  "RichText": function() { return /* reexport */ rich_text; },
+  "RichTextShortcut": function() { return /* reexport */ RichTextShortcut; },
+  "RichTextToolbarButton": function() { return /* reexport */ RichTextToolbarButton; },
+  "SETTINGS_DEFAULTS": function() { return /* reexport */ SETTINGS_DEFAULTS; },
+  "SkipToSelectedBlock": function() { return /* reexport */ skip_to_selected_block; },
+  "ToolSelector": function() { return /* reexport */ tool_selector; },
+  "Typewriter": function() { return /* reexport */ typewriter; },
+  "URLInput": function() { return /* reexport */ url_input; },
+  "URLInputButton": function() { return /* reexport */ url_input_button; },
+  "URLPopover": function() { return /* reexport */ url_popover; },
+  "Warning": function() { return /* reexport */ warning; },
+  "WritingFlow": function() { return /* reexport */ writing_flow; },
+  "__experimentalBlockAlignmentMatrixControl": function() { return /* reexport */ block_alignment_matrix_control; },
+  "__experimentalBlockContentOverlay": function() { return /* reexport */ BlockContentOverlay; },
+  "__experimentalBlockFullHeightAligmentControl": function() { return /* reexport */ block_full_height_alignment_control; },
+  "__experimentalBlockPatternSetup": function() { return /* reexport */ block_pattern_setup; },
+  "__experimentalBlockVariationPicker": function() { return /* reexport */ block_variation_picker; },
+  "__experimentalBlockVariationTransforms": function() { return /* reexport */ block_variation_transforms; },
+  "__experimentalBorderRadiusControl": function() { return /* reexport */ BorderRadiusControl; },
+  "__experimentalBorderStyleControl": function() { return /* reexport */ BorderStyleControl; },
+  "__experimentalColorGradientControl": function() { return /* reexport */ control; },
+  "__experimentalColorGradientSettingsDropdown": function() { return /* reexport */ ColorGradientSettingsDropdown; },
+  "__experimentalDuotoneControl": function() { return /* reexport */ duotone_control; },
+  "__experimentalFontAppearanceControl": function() { return /* reexport */ FontAppearanceControl; },
+  "__experimentalFontFamilyControl": function() { return /* reexport */ FontFamilyControl; },
+  "__experimentalGetBorderClassesAndStyles": function() { return /* reexport */ getBorderClassesAndStyles; },
+  "__experimentalGetColorClassesAndStyles": function() { return /* reexport */ getColorClassesAndStyles; },
+  "__experimentalGetGradientClass": function() { return /* reexport */ __experimentalGetGradientClass; },
+  "__experimentalGetGradientObjectByGradientValue": function() { return /* reexport */ __experimentalGetGradientObjectByGradientValue; },
+  "__experimentalGetMatchingVariation": function() { return /* reexport */ __experimentalGetMatchingVariation; },
+  "__experimentalGetSpacingClassesAndStyles": function() { return /* reexport */ getSpacingClassesAndStyles; },
+  "__experimentalImageEditingProvider": function() { return /* reexport */ ImageEditingProvider; },
+  "__experimentalImageEditor": function() { return /* reexport */ ImageEditor; },
+  "__experimentalImageSizeControl": function() { return /* reexport */ ImageSizeControl; },
+  "__experimentalImageURLInputUI": function() { return /* reexport */ ImageURLInputUI; },
+  "__experimentalLayoutStyle": function() { return /* reexport */ LayoutStyle; },
+  "__experimentalLetterSpacingControl": function() { return /* reexport */ LetterSpacingControl; },
+  "__experimentalLibrary": function() { return /* reexport */ library; },
+  "__experimentalLinkControl": function() { return /* reexport */ link_control; },
+  "__experimentalLinkControlSearchInput": function() { return /* reexport */ search_input; },
+  "__experimentalLinkControlSearchItem": function() { return /* reexport */ search_item; },
+  "__experimentalLinkControlSearchResults": function() { return /* reexport */ LinkControlSearchResults; },
+  "__experimentalListView": function() { return /* reexport */ components_list_view; },
+  "__experimentalPanelColorGradientSettings": function() { return /* reexport */ panel_color_gradient_settings; },
+  "__experimentalPreviewOptions": function() { return /* reexport */ PreviewOptions; },
+  "__experimentalResponsiveBlockControl": function() { return /* reexport */ responsive_block_control; },
+  "__experimentalTextDecorationControl": function() { return /* reexport */ TextDecorationControl; },
+  "__experimentalTextTransformControl": function() { return /* reexport */ TextTransformControl; },
+  "__experimentalUnitControl": function() { return /* reexport */ UnitControl; },
+  "__experimentalUseBlockPreview": function() { return /* reexport */ useBlockPreview; },
+  "__experimentalUseBorderProps": function() { return /* reexport */ useBorderProps; },
+  "__experimentalUseColorProps": function() { return /* reexport */ useColorProps; },
+  "__experimentalUseCustomSides": function() { return /* reexport */ useCustomSides; },
+  "__experimentalUseGradient": function() { return /* reexport */ __experimentalUseGradient; },
+  "__experimentalUseNoRecursiveRenders": function() { return /* reexport */ useNoRecursiveRenders; },
+  "__experimentalUseResizeCanvas": function() { return /* reexport */ useResizeCanvas; },
+  "__unstableBlockSettingsMenuFirstItem": function() { return /* reexport */ block_settings_menu_first_item; },
+  "__unstableEditorStyles": function() { return /* reexport */ EditorStyles; },
+  "__unstableIframe": function() { return /* reexport */ iframe; },
+  "__unstableInserterMenuExtension": function() { return /* reexport */ inserter_menu_extension; },
+  "__unstableRichTextInputEvent": function() { return /* reexport */ __unstableRichTextInputEvent; },
+  "__unstableUseBlockSelectionClearer": function() { return /* reexport */ useBlockSelectionClearer; },
+  "__unstableUseCanvasClickRedirect": function() { return /* reexport */ useCanvasClickRedirect; },
+  "__unstableUseClipboardHandler": function() { return /* reexport */ useClipboardHandler; },
+  "__unstableUseMouseMoveTypingReset": function() { return /* reexport */ useMouseMoveTypingReset; },
+  "__unstableUseTypewriter": function() { return /* reexport */ useTypewriter; },
+  "__unstableUseTypingObserver": function() { return /* reexport */ useTypingObserver; },
+  "createCustomColorsHOC": function() { return /* reexport */ createCustomColorsHOC; },
+  "getColorClassName": function() { return /* reexport */ getColorClassName; },
+  "getColorObjectByAttributeValues": function() { return /* reexport */ getColorObjectByAttributeValues; },
+  "getColorObjectByColorValue": function() { return /* reexport */ getColorObjectByColorValue; },
+  "getFontSize": function() { return /* reexport */ getFontSize; },
+  "getFontSizeClass": function() { return /* reexport */ getFontSizeClass; },
+  "getFontSizeObjectByValue": function() { return /* reexport */ getFontSizeObjectByValue; },
+  "getGradientSlugByValue": function() { return /* reexport */ getGradientSlugByValue; },
+  "getGradientValueBySlug": function() { return /* reexport */ getGradientValueBySlug; },
+  "getPxFromCssUnit": function() { return /* reexport */ parse_css_unit_to_px; },
+  "store": function() { return /* reexport */ store; },
+  "storeConfig": function() { return /* reexport */ storeConfig; },
+  "transformStyles": function() { return /* reexport */ transform_styles; },
+  "useBlockDisplayInformation": function() { return /* reexport */ useBlockDisplayInformation; },
+  "useBlockEditContext": function() { return /* reexport */ useBlockEditContext; },
+  "useBlockProps": function() { return /* reexport */ useBlockProps; },
+  "useCachedTruthy": function() { return /* reexport */ useCachedTruthy; },
+  "useInnerBlocksProps": function() { return /* reexport */ useInnerBlocksProps; },
+  "useSetting": function() { return /* reexport */ useSetting; },
+  "validateThemeColors": function() { return /* reexport */ validateThemeColors; },
+  "validateThemeGradients": function() { return /* reexport */ validateThemeGradients; },
+  "withColorContext": function() { return /* reexport */ with_color_context; },
+  "withColors": function() { return /* reexport */ withColors; },
+  "withFontSizes": function() { return /* reexport */ with_font_sizes; }
+});

-/* harmony default export */ var viewer_slot = (ViewerSlot);
+// NAMESPACE OBJECT: ./node_modules/@wordpress/block-editor/build-module/store/selectors.js
+var selectors_namespaceObject = {};
+__webpack_require__.r(selectors_namespaceObject);
+__webpack_require__.d(selectors_namespaceObject, {
+  "__experimentalGetActiveBlockIdByBlockNames": function() { return __experimentalGetActiveBlockIdByBlockNames; },
+  "__experimentalGetAllowedBlocks": function() { return __experimentalGetAllowedBlocks; },
+  "__experimentalGetAllowedPatterns": function() { return __experimentalGetAllowedPatterns; },
+  "__experimentalGetBlockListSettingsForBlocks": function() { return __experimentalGetBlockListSettingsForBlocks; },
+  "__experimentalGetDirectInsertBlock": function() { return __experimentalGetDirectInsertBlock; },
+  "__experimentalGetLastBlockAttributeChanges": function() { return __experimentalGetLastBlockAttributeChanges; },
+  "__experimentalGetParsedPattern": function() { return __experimentalGetParsedPattern; },
+  "__experimentalGetPatternTransformItems": function() { return __experimentalGetPatternTransformItems; },
+  "__experimentalGetPatternsByBlockTypes": function() { return __experimentalGetPatternsByBlockTypes; },
+  "__experimentalGetReusableBlockTitle": function() { return __experimentalGetReusableBlockTitle; },
+  "__unstableGetBlockWithoutInnerBlocks": function() { return __unstableGetBlockWithoutInnerBlocks; },
+  "__unstableGetClientIdWithClientIdsTree": function() { return __unstableGetClientIdWithClientIdsTree; },
+  "__unstableGetClientIdsTree": function() { return __unstableGetClientIdsTree; },
+  "__unstableIsLastBlockChangeIgnored": function() { return __unstableIsLastBlockChangeIgnored; },
+  "areInnerBlocksControlled": function() { return areInnerBlocksControlled; },
+  "canInsertBlockType": function() { return canInsertBlockType; },
+  "canInsertBlocks": function() { return canInsertBlocks; },
+  "canMoveBlock": function() { return canMoveBlock; },
+  "canMoveBlocks": function() { return canMoveBlocks; },
+  "canRemoveBlock": function() { return canRemoveBlock; },
+  "canRemoveBlocks": function() { return canRemoveBlocks; },
+  "didAutomaticChange": function() { return didAutomaticChange; },
+  "getAdjacentBlockClientId": function() { return getAdjacentBlockClientId; },
+  "getBlock": function() { return getBlock; },
+  "getBlockAttributes": function() { return getBlockAttributes; },
+  "getBlockCount": function() { return getBlockCount; },
+  "getBlockHierarchyRootClientId": function() { return getBlockHierarchyRootClientId; },
+  "getBlockIndex": function() { return getBlockIndex; },
+  "getBlockInsertionPoint": function() { return getBlockInsertionPoint; },
+  "getBlockListSettings": function() { return getBlockListSettings; },
+  "getBlockMode": function() { return getBlockMode; },
+  "getBlockName": function() { return getBlockName; },
+  "getBlockOrder": function() { return getBlockOrder; },
+  "getBlockParents": function() { return getBlockParents; },
+  "getBlockParentsByBlockName": function() { return getBlockParentsByBlockName; },
+  "getBlockRootClientId": function() { return getBlockRootClientId; },
+  "getBlockSelectionEnd": function() { return getBlockSelectionEnd; },
+  "getBlockSelectionStart": function() { return getBlockSelectionStart; },
+  "getBlockTransformItems": function() { return getBlockTransformItems; },
+  "getBlocks": function() { return getBlocks; },
+  "getBlocksByClientId": function() { return getBlocksByClientId; },
+  "getClientIdsOfDescendants": function() { return getClientIdsOfDescendants; },
+  "getClientIdsWithDescendants": function() { return getClientIdsWithDescendants; },
+  "getDraggedBlockClientIds": function() { return getDraggedBlockClientIds; },
+  "getFirstMultiSelectedBlockClientId": function() { return getFirstMultiSelectedBlockClientId; },
+  "getGlobalBlockCount": function() { return getGlobalBlockCount; },
+  "getInserterItems": function() { return getInserterItems; },
+  "getLastMultiSelectedBlockClientId": function() { return getLastMultiSelectedBlockClientId; },
+  "getLowestCommonAncestorWithSelectedBlock": function() { return getLowestCommonAncestorWithSelectedBlock; },
+  "getMultiSelectedBlockClientIds": function() { return getMultiSelectedBlockClientIds; },
+  "getMultiSelectedBlocks": function() { return getMultiSelectedBlocks; },
+  "getMultiSelectedBlocksEndClientId": function() { return getMultiSelectedBlocksEndClientId; },
+  "getMultiSelectedBlocksStartClientId": function() { return getMultiSelectedBlocksStartClientId; },
+  "getNextBlockClientId": function() { return getNextBlockClientId; },
+  "getPreviousBlockClientId": function() { return getPreviousBlockClientId; },
+  "getSelectedBlock": function() { return getSelectedBlock; },
+  "getSelectedBlockClientId": function() { return getSelectedBlockClientId; },
+  "getSelectedBlockClientIds": function() { return getSelectedBlockClientIds; },
+  "getSelectedBlockCount": function() { return getSelectedBlockCount; },
+  "getSelectedBlocksInitialCaretPosition": function() { return getSelectedBlocksInitialCaretPosition; },
+  "getSelectionEnd": function() { return getSelectionEnd; },
+  "getSelectionStart": function() { return getSelectionStart; },
+  "getSettings": function() { return getSettings; },
+  "getTemplate": function() { return getTemplate; },
+  "getTemplateLock": function() { return getTemplateLock; },
+  "hasBlockMovingClientId": function() { return selectors_hasBlockMovingClientId; },
+  "hasInserterItems": function() { return hasInserterItems; },
+  "hasMultiSelection": function() { return hasMultiSelection; },
+  "hasSelectedBlock": function() { return hasSelectedBlock; },
+  "hasSelectedInnerBlock": function() { return hasSelectedInnerBlock; },
+  "isAncestorBeingDragged": function() { return isAncestorBeingDragged; },
+  "isAncestorMultiSelected": function() { return isAncestorMultiSelected; },
+  "isBlockBeingDragged": function() { return isBlockBeingDragged; },
+  "isBlockHighlighted": function() { return isBlockHighlighted; },
+  "isBlockInsertionPointVisible": function() { return isBlockInsertionPointVisible; },
+  "isBlockMultiSelected": function() { return isBlockMultiSelected; },
+  "isBlockSelected": function() { return isBlockSelected; },
+  "isBlockValid": function() { return isBlockValid; },
+  "isBlockWithinSelection": function() { return isBlockWithinSelection; },
+  "isCaretWithinFormattedText": function() { return selectors_isCaretWithinFormattedText; },
+  "isDraggingBlocks": function() { return isDraggingBlocks; },
+  "isFirstMultiSelectedBlock": function() { return isFirstMultiSelectedBlock; },
+  "isLastBlockChangePersistent": function() { return isLastBlockChangePersistent; },
+  "isMultiSelecting": function() { return selectors_isMultiSelecting; },
+  "isNavigationMode": function() { return selectors_isNavigationMode; },
+  "isSelectionEnabled": function() { return selectors_isSelectionEnabled; },
+  "isTyping": function() { return selectors_isTyping; },
+  "isValidTemplate": function() { return isValidTemplate; },
+  "wasBlockJustInserted": function() { return wasBlockJustInserted; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/use-rich-url-data.js
-/**
- * Internal dependencies
- */
+// NAMESPACE OBJECT: ./node_modules/@wordpress/block-editor/build-module/store/actions.js
+var actions_namespaceObject = {};
+__webpack_require__.r(actions_namespaceObject);
+__webpack_require__.d(actions_namespaceObject, {
+  "__unstableMarkAutomaticChange": function() { return __unstableMarkAutomaticChange; },
+  "__unstableMarkLastChangeAsPersistent": function() { return __unstableMarkLastChangeAsPersistent; },
+  "__unstableMarkNextChangeAsNotPersistent": function() { return __unstableMarkNextChangeAsNotPersistent; },
+  "__unstableSaveReusableBlock": function() { return __unstableSaveReusableBlock; },
+  "clearSelectedBlock": function() { return clearSelectedBlock; },
+  "duplicateBlocks": function() { return duplicateBlocks; },
+  "enterFormattedText": function() { return enterFormattedText; },
+  "exitFormattedText": function() { return exitFormattedText; },
+  "flashBlock": function() { return flashBlock; },
+  "hideInsertionPoint": function() { return hideInsertionPoint; },
+  "insertAfterBlock": function() { return insertAfterBlock; },
+  "insertBeforeBlock": function() { return insertBeforeBlock; },
+  "insertBlock": function() { return insertBlock; },
+  "insertBlocks": function() { return insertBlocks; },
+  "insertDefaultBlock": function() { return insertDefaultBlock; },
+  "mergeBlocks": function() { return mergeBlocks; },
+  "moveBlockToPosition": function() { return moveBlockToPosition; },
+  "moveBlocksDown": function() { return moveBlocksDown; },
+  "moveBlocksToPosition": function() { return moveBlocksToPosition; },
+  "moveBlocksUp": function() { return moveBlocksUp; },
+  "multiSelect": function() { return multiSelect; },
+  "receiveBlocks": function() { return receiveBlocks; },
+  "removeBlock": function() { return removeBlock; },
+  "removeBlocks": function() { return removeBlocks; },
+  "replaceBlock": function() { return replaceBlock; },
+  "replaceBlocks": function() { return replaceBlocks; },
+  "replaceInnerBlocks": function() { return replaceInnerBlocks; },
+  "resetBlocks": function() { return resetBlocks; },
+  "resetSelection": function() { return resetSelection; },
+  "selectBlock": function() { return selectBlock; },
+  "selectNextBlock": function() { return selectNextBlock; },
+  "selectPreviousBlock": function() { return selectPreviousBlock; },
+  "selectionChange": function() { return selectionChange; },
+  "setBlockMovingClientId": function() { return setBlockMovingClientId; },
+  "setHasControlledInnerBlocks": function() { return setHasControlledInnerBlocks; },
+  "setNavigationMode": function() { return setNavigationMode; },
+  "setTemplateValidity": function() { return setTemplateValidity; },
+  "showInsertionPoint": function() { return showInsertionPoint; },
+  "startDraggingBlocks": function() { return startDraggingBlocks; },
+  "startMultiSelect": function() { return startMultiSelect; },
+  "startTyping": function() { return startTyping; },
+  "stopDraggingBlocks": function() { return stopDraggingBlocks; },
+  "stopMultiSelect": function() { return stopMultiSelect; },
+  "stopTyping": function() { return stopTyping; },
+  "synchronizeTemplate": function() { return synchronizeTemplate; },
+  "toggleBlockHighlight": function() { return toggleBlockHighlight; },
+  "toggleBlockMode": function() { return toggleBlockMode; },
+  "toggleSelection": function() { return toggleSelection; },
+  "updateBlock": function() { return updateBlock; },
+  "updateBlockAttributes": function() { return updateBlockAttributes; },
+  "updateBlockListSettings": function() { return updateBlockListSettings; },
+  "updateSettings": function() { return updateSettings; },
+  "validateBlocksToTemplate": function() { return validateBlocksToTemplate; }
+});

+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/compat.js
 /**
  * WordPress dependencies
  */



+function migrateLightBlockWrapper(settings) {
+  const {
+    apiVersion = 1
+  } = settings;

-function reducer(state, action) {
-  switch (action.type) {
-    case 'RESOLVED':
-      return { ...state,
-        isFetching: false,
-        richData: action.richData
-      };
-
-    case 'ERROR':
-      return { ...state,
-        isFetching: false,
-        richData: null
-      };
-
-    case 'LOADING':
-      return { ...state,
-        isFetching: true
-      };
-
-    default:
-      throw new Error(`Unexpected action type ${action.type}`);
+  if (apiVersion < 2 && (0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, 'lightBlockWrapper', false)) {
+    settings.apiVersion = 2;
   }
-}
-
-function useRemoteUrlData(url) {
-  const [state, dispatch] = Object(external_wp_element_["useReducer"])(reducer, {
-    richData: null,
-    isFetching: false
-  });
-  const {
-    fetchRichUrlData
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getSettings
-    } = select(store["a" /* store */]);
-    return {
-      fetchRichUrlData: getSettings().__experimentalFetchRichUrlData
-    };
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    // Only make the request if we have an actual URL
-    // and the fetching util is available. In some editors
-    // there may not be such a util.
-    if (url !== null && url !== void 0 && url.length && fetchRichUrlData && typeof AbortController !== 'undefined') {
-      dispatch({
-        type: 'LOADING'
-      });
-      const controller = new window.AbortController();
-      const signal = controller.signal;
-      fetchRichUrlData(url, {
-        signal
-      }).then(urlData => {
-        dispatch({
-          type: 'RESOLVED',
-          richData: urlData
-        });
-      }).catch(() => {
-        // Avoid setting state on unmounted component
-        if (!signal.aborted) {
-          dispatch({
-            type: 'ERROR'
-          });
-        }
-      }); // Cleanup: when the URL changes the abort the current request

-      return () => {
-        controller.abort();
-      };
-    }
-  }, [url]);
-  return state;
+  return settings;
 }

-/* harmony default export */ var use_rich_url_data = (useRemoteUrlData);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/compat/migrateLightBlockWrapper', migrateLightBlockWrapper);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/link-preview.js
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-/**
- * External dependencies
- */
+    return target;
+  };

+  return _extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+// EXTERNAL MODULE: ./node_modules/classnames/index.js
+var classnames = __webpack_require__(4403);
+var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/groups.js
 /**
  * WordPress dependencies
  */

+const BlockControlsDefault = (0,external_wp_components_namespaceObject.createSlotFill)('BlockControls');
+const BlockControlsBlock = (0,external_wp_components_namespaceObject.createSlotFill)('BlockControlsBlock');
+const BlockControlsInline = (0,external_wp_components_namespaceObject.createSlotFill)('BlockFormatControls');
+const BlockControlsOther = (0,external_wp_components_namespaceObject.createSlotFill)('BlockControlsOther');
+const BlockControlsParent = (0,external_wp_components_namespaceObject.createSlotFill)('BlockControlsParent');
+const groups = {
+  default: BlockControlsDefault,
+  block: BlockControlsBlock,
+  inline: BlockControlsInline,
+  other: BlockControlsOther,
+  parent: BlockControlsParent
+};
+/* harmony default export */ var block_controls_groups = (groups);

-
-
-
-
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/defaults.js
 /**
- * Internal dependencies
+ * WordPress dependencies
  */

-
-
-function LinkPreview(_ref) {
-  var _value$url;
-
-  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 {
-    richData,
-    isFetching
-  } = use_rich_url_data(showRichPreviews); // Rich data may be an empty object so test for that.
-
-  const hasRichData = richData && Object.keys(richData).length;
-  const displayURL = value && Object(external_wp_url_["filterURLForDisplay"])(Object(external_wp_url_["safeDecodeURI"])(value.url), 16) || '';
-  const displayTitle = (richData === null || richData === void 0 ? void 0 : richData.title) || (value === null || value === void 0 ? void 0 : value.title) || displayURL; // url can be undefined if the href attribute is unset
-
-  const isEmptyURL = !(value !== null && value !== void 0 && (_value$url = value.url) !== null && _value$url !== void 0 && _value$url.length);
-  let icon;
-
-  if (richData !== null && richData !== void 0 && richData.icon) {
-    icon = Object(external_wp_element_["createElement"])("img", {
-      src: richData === null || richData === void 0 ? void 0 : richData.icon,
-      alt: ""
-    });
-  } else if (isEmptyURL) {
-    icon = Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: info["a" /* default */],
-      size: 32
-    });
-  } else {
-    icon = Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: globe["a" /* default */]
-    });
-  }
-
-  return Object(external_wp_element_["createElement"])("div", {
-    "aria-label": Object(external_wp_i18n_["__"])('Currently selected'),
-    "aria-selected": "true",
-    className: classnames_default()('block-editor-link-control__search-item', {
-      'is-current': true,
-      'is-rich': hasRichData,
-      'is-fetching': !!isFetching,
-      'is-preview': true,
-      'is-error': isEmptyURL
-    })
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-link-control__search-item-top"
-  }, Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-item-header"
-  }, Object(external_wp_element_["createElement"])("span", {
-    className: classnames_default()('block-editor-link-control__search-item-icon', {
-      'is-image': richData === null || richData === void 0 ? void 0 : richData.icon
-    })
-  }, icon), Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-item-details"
-  }, !isEmptyURL ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-    className: "block-editor-link-control__search-item-title",
-    href: value.url
-  }, Object(external_wp_dom_["__unstableStripHTML"])(displayTitle)), (value === null || value === void 0 ? void 0 : value.url) && Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-item-info"
-  }, displayURL)) : Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-link-control__search-item-error-notice"
-  }, "Link is empty"))), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: edit["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Edit'),
-    className: "block-editor-link-control__search-item-action",
-    onClick: onEditClick,
-    iconSize: 24
-  }), hasUnlinkControl && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: link_off["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Unlink'),
-    className: "block-editor-link-control__search-item-action block-editor-link-control__unlink",
-    onClick: onRemove,
-    iconSize: 24
-  }), Object(external_wp_element_["createElement"])(ViewerSlot, {
-    fillProps: value
-  })), (hasRichData && ((richData === null || richData === void 0 ? void 0 : richData.image) || (richData === null || richData === void 0 ? void 0 : richData.description)) || isFetching) && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-link-control__search-item-bottom"
-  }, ((richData === null || richData === void 0 ? void 0 : richData.image) || isFetching) && Object(external_wp_element_["createElement"])("div", {
-    "aria-hidden": !(richData !== null && richData !== void 0 && richData.image),
-    className: classnames_default()('block-editor-link-control__search-item-image', {
-      'is-placeholder': !(richData !== null && richData !== void 0 && richData.image)
-    })
-  }, (richData === null || richData === void 0 ? void 0 : richData.image) && Object(external_wp_element_["createElement"])("img", {
-    src: richData === null || richData === void 0 ? void 0 : richData.image,
-    alt: ""
-  })), ((richData === null || richData === void 0 ? void 0 : richData.description) || isFetching) && Object(external_wp_element_["createElement"])("div", {
-    "aria-hidden": !(richData !== null && richData !== void 0 && richData.description),
-    className: classnames_default()('block-editor-link-control__search-item-description', {
-      'is-placeholder': !(richData !== null && richData !== void 0 && richData.description)
-    })
-  }, (richData === null || richData === void 0 ? void 0 : richData.description) && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalText"], {
-    truncate: true,
-    numberOfLines: "2"
-  }, richData.description))));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/use-create-page.js
+const PREFERENCES_DEFAULTS = {
+  insertUsage: {}
+};
 /**
- * WordPress dependencies
+ * The default editor settings
+ *
+ * @typedef {Object} SETTINGS_DEFAULT
+ * @property {boolean}       alignWide                              Enable/Disable Wide/Full Alignments
+ * @property {boolean}       supportsLayout                         Enable/disable layouts support in container blocks.
+ * @property {boolean}       imageEditing                           Image Editing settings set to false to disable.
+ * @property {Array}         imageSizes                             Available image sizes
+ * @property {number}        maxWidth                               Max width to constraint resizing
+ * @property {boolean|Array} allowedBlockTypes                      Allowed block types
+ * @property {boolean}       hasFixedToolbar                        Whether or not the editor toolbar is fixed
+ * @property {boolean}       focusMode                              Whether the focus mode is enabled or not
+ * @property {Array}         styles                                 Editor Styles
+ * @property {boolean}       keepCaretInsideBlock                   Whether caret should move between blocks in edit mode
+ * @property {string}        bodyPlaceholder                        Empty post placeholder
+ * @property {string}        titlePlaceholder                       Empty title placeholder
+ * @property {boolean}       codeEditingEnabled                     Whether or not the user can switch to the code editor
+ * @property {boolean}       __experimentalCanUserUseUnfilteredHTML Whether the user should be able to use unfiltered HTML or the HTML should be filtered e.g., to remove elements considered insecure like iframes.
+ * @property {boolean}       __experimentalBlockDirectory           Whether the user has enabled the Block Directory
+ * @property {Array}         __experimentalBlockPatterns            Array of objects representing the block patterns
+ * @property {Array}         __experimentalBlockPatternCategories   Array of objects representing the block pattern categories
+ * @property {boolean}       __unstableGalleryWithImageBlocks       Whether the user has enabled the refactored gallery block which uses InnerBlocks
  */

+const SETTINGS_DEFAULTS = {
+  alignWide: false,
+  supportsLayout: true,
+  // colors setting is not used anymore now defaults are passed from theme.json on the server and core has its own defaults.
+  // The setting is only kept for backward compatibility purposes.
+  colors: [{
+    name: (0,external_wp_i18n_namespaceObject.__)('Black'),
+    slug: 'black',
+    color: '#000000'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Cyan bluish gray'),
+    slug: 'cyan-bluish-gray',
+    color: '#abb8c3'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('White'),
+    slug: 'white',
+    color: '#ffffff'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Pale pink'),
+    slug: 'pale-pink',
+    color: '#f78da7'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Vivid red'),
+    slug: 'vivid-red',
+    color: '#cf2e2e'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Luminous vivid orange'),
+    slug: 'luminous-vivid-orange',
+    color: '#ff6900'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Luminous vivid amber'),
+    slug: 'luminous-vivid-amber',
+    color: '#fcb900'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Light green cyan'),
+    slug: 'light-green-cyan',
+    color: '#7bdcb5'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Vivid green cyan'),
+    slug: 'vivid-green-cyan',
+    color: '#00d084'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Pale cyan blue'),
+    slug: 'pale-cyan-blue',
+    color: '#8ed1fc'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Vivid cyan blue'),
+    slug: 'vivid-cyan-blue',
+    color: '#0693e3'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Vivid purple'),
+    slug: 'vivid-purple',
+    color: '#9b51e0'
+  }],
+  // fontSizes setting is not used anymore now defaults are passed from theme.json on the server and core has its own defaults.
+  // The setting is only kept for backward compatibility purposes.
+  fontSizes: [{
+    name: (0,external_wp_i18n_namespaceObject._x)('Small', 'font size name'),
+    size: 13,
+    slug: 'small'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject._x)('Normal', 'font size name'),
+    size: 16,
+    slug: 'normal'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject._x)('Medium', 'font size name'),
+    size: 20,
+    slug: 'medium'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject._x)('Large', 'font size name'),
+    size: 36,
+    slug: 'large'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject._x)('Huge', 'font size name'),
+    size: 42,
+    slug: 'huge'
+  }],
+  // Image default size slug.
+  imageDefaultSize: 'large',
+  imageSizes: [{
+    slug: 'thumbnail',
+    name: (0,external_wp_i18n_namespaceObject.__)('Thumbnail')
+  }, {
+    slug: 'medium',
+    name: (0,external_wp_i18n_namespaceObject.__)('Medium')
+  }, {
+    slug: 'large',
+    name: (0,external_wp_i18n_namespaceObject.__)('Large')
+  }, {
+    slug: 'full',
+    name: (0,external_wp_i18n_namespaceObject.__)('Full Size')
+  }],
+  // Allow plugin to disable Image Editor if need be
+  imageEditing: true,
+  // This is current max width of the block inner area
+  // It's used to constraint image resizing and this value could be overridden later by themes
+  maxWidth: 580,
+  // Allowed block types for the editor, defaulting to true (all supported).
+  allowedBlockTypes: true,
+  // Maximum upload size in bytes allowed for the site.
+  maxUploadFileSize: 0,
+  // List of allowed mime types and file extensions.
+  allowedMimeTypes: null,
+  __experimentalCanUserUseUnfilteredHTML: false,
+  __experimentalBlockDirectory: false,
+  __mobileEnablePageTemplates: false,
+  __experimentalBlockPatterns: [],
+  __experimentalBlockPatternCategories: [],
+  __experimentalSpotlightEntityBlocks: [],
+  __experimentalGenerateAnchors: false,
+  __unstableGalleryWithImageBlocks: false,
+  // gradients setting is not used anymore now defaults are passed from theme.json on the server and core has its own defaults.
+  // The setting is only kept for backward compatibility purposes.
+  gradients: [{
+    name: (0,external_wp_i18n_namespaceObject.__)('Vivid cyan blue to vivid purple'),
+    gradient: 'linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)',
+    slug: 'vivid-cyan-blue-to-vivid-purple'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Light green cyan to vivid green cyan'),
+    gradient: 'linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)',
+    slug: 'light-green-cyan-to-vivid-green-cyan'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Luminous vivid amber to luminous vivid orange'),
+    gradient: 'linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)',
+    slug: 'luminous-vivid-amber-to-luminous-vivid-orange'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Luminous vivid orange to vivid red'),
+    gradient: 'linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)',
+    slug: 'luminous-vivid-orange-to-vivid-red'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Very light gray to cyan bluish gray'),
+    gradient: 'linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)',
+    slug: 'very-light-gray-to-cyan-bluish-gray'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Cool to warm spectrum'),
+    gradient: 'linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)',
+    slug: 'cool-to-warm-spectrum'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Blush light purple'),
+    gradient: 'linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)',
+    slug: 'blush-light-purple'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Blush bordeaux'),
+    gradient: 'linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)',
+    slug: 'blush-bordeaux'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Luminous dusk'),
+    gradient: 'linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)',
+    slug: 'luminous-dusk'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Pale ocean'),
+    gradient: 'linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)',
+    slug: 'pale-ocean'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Electric grass'),
+    gradient: 'linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)',
+    slug: 'electric-grass'
+  }, {
+    name: (0,external_wp_i18n_namespaceObject.__)('Midnight'),
+    gradient: 'linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)',
+    slug: 'midnight'
+  }]
+};

-function useCreatePage(handleCreatePage) {
-  const cancelableCreateSuggestion = Object(external_wp_element_["useRef"])();
-  const [isCreatingPage, setIsCreatingPage] = Object(external_wp_element_["useState"])(false);
-  const [errorMessage, setErrorMessage] = Object(external_wp_element_["useState"])(null);
-
-  const createPage = async function (suggestionTitle) {
-    setIsCreatingPage(true);
-    setErrorMessage(null);
-
-    try {
-      // Make cancellable in order that we can avoid setting State
-      // if the component unmounts during the call to `createSuggestion`
-      cancelableCreateSuggestion.current = makeCancelable( // Using Promise.resolve to allow createSuggestion to return a
-      // non-Promise based value.
-      Promise.resolve(handleCreatePage(suggestionTitle)));
-      return await cancelableCreateSuggestion.current.promise;
-    } catch (error) {
-      if (error && error.isCanceled) {
-        return; // bail if canceled to avoid setting state
-      }
-
-      setErrorMessage(error.message || Object(external_wp_i18n_["__"])('An unknown error occurred during creation. Please try again.'));
-      throw error;
-    } finally {
-      setIsCreatingPage(false);
-    }
-  };
-  /**
-   * Handles cancelling any pending Promises that have been made cancelable.
-   */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/array.js
+/**
+ * External dependencies
+ */

+/**
+ * Insert one or multiple elements into a given position of an array.
+ *
+ * @param {Array}  array    Source array.
+ * @param {*}      elements Elements to insert.
+ * @param {number} index    Insert Position.
+ *
+ * @return {Array} Result.
+ */

-  Object(external_wp_element_["useEffect"])(() => {
-    return () => {
-      // componentDidUnmount
-      if (cancelableCreateSuggestion.current) {
-        cancelableCreateSuggestion.current.cancel();
-      }
-    };
-  }, []);
-  return {
-    createPage,
-    isCreatingPage,
-    errorMessage
-  };
+function insertAt(array, elements, index) {
+  return [...array.slice(0, index), ...(0,external_lodash_namespaceObject.castArray)(elements), ...array.slice(index)];
 }
 /**
- * Creates a wrapper around a promise which allows it to be programmatically
- * cancelled.
- * See: https://reactjs.org/blog/2015/12/16/ismounted-antipattern.html
+ * Moves an element in an array.
  *
- * @param {Promise} promise the Promise to make cancelable
+ * @param {Array}  array Source array.
+ * @param {number} from  Source index.
+ * @param {number} to    Destination index.
+ * @param {number} count Number of elements to move.
+ *
+ * @return {Array} Result.
  */

-const makeCancelable = promise => {
-  let hasCanceled_ = false;
-  const wrappedPromise = new Promise((resolve, reject) => {
-    promise.then(val => hasCanceled_ ? reject({
-      isCanceled: true
-    }) : resolve(val), error => hasCanceled_ ? reject({
-      isCanceled: true
-    }) : reject(error));
-  });
-  return {
-    promise: wrappedPromise,
-
-    cancel() {
-      hasCanceled_ = true;
-    }
-
-  };
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/index.js
-
+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);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/reducer.js
 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */



-
-
-
-
 /**
  * Internal dependencies
  */



-
-
-
-
 /**
- * Default properties associated with a link control value.
+ * Given an array of blocks, returns an object where each key is a nesting
+ * context, the value of which is an array of block client IDs existing within
+ * that nesting context.
  *
- * @typedef WPLinkControlDefaultValue
+ * @param {Array}   blocks       Blocks to map.
+ * @param {?string} rootClientId Assumed root client ID.
  *
- * @property {string}   url           Link URL.
- * @property {string=}  title         Link title.
- * @property {boolean=} opensInNewTab Whether link should open in a new browser
- *                                    tab. This value is only assigned if not
- *                                    providing a custom `settings` prop.
+ * @return {Object} Block order map object.
  */

-/* eslint-disable jsdoc/valid-types */
-
+function mapBlockOrder(blocks) {
+  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
+  const result = {
+    [rootClientId]: []
+  };
+  blocks.forEach(block => {
+    const {
+      clientId,
+      innerBlocks
+    } = block;
+    result[rootClientId].push(clientId);
+    Object.assign(result, mapBlockOrder(innerBlocks, clientId));
+  });
+  return result;
+}
 /**
- * Custom settings values associated with a link.
+ * Given an array of blocks, returns an object where each key contains
+ * the clientId of the block and the value is the parent of the block.
  *
- * @typedef {{[setting:string]:any}} WPLinkControlSettingsValue
+ * @param {Array}   blocks       Blocks to map.
+ * @param {?string} rootClientId Assumed root client ID.
+ *
+ * @return {Object} Block order map object.
  */

-/* eslint-enable */

+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)), {});
+}
 /**
- * Custom settings values associated with a link.
+ * Helper method to iterate through all blocks, recursing into inner blocks,
+ * applying a transformation function to each one.
+ * Returns a flattened object with the transformed blocks.
  *
- * @typedef WPLinkControlSetting
+ * @param {Array}    blocks    Blocks to flatten.
+ * @param {Function} transform Transforming function to be applied to each block.
  *
- * @property {string} id    Identifier to use as property for setting value.
- * @property {string} title Human-readable label to show in user interface.
+ * @return {Object} Flattened object.
  */

-/**
- * Properties associated with a link control value, composed as a union of the
- * default properties and any custom settings values.
- *
- * @typedef {WPLinkControlDefaultValue&WPLinkControlSettingsValue} WPLinkControlValue
- */

-/** @typedef {(nextValue:WPLinkControlValue)=>void} WPLinkControlOnChangeProp */
+function flattenBlocks(blocks) {
+  let transform = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : external_lodash_namespaceObject.identity;
+  const result = {};
+  const stack = [...blocks];
+
+  while (stack.length) {
+    const {
+      innerBlocks,
+      ...block
+    } = stack.shift();
+    stack.push(...innerBlocks);
+    result[block.clientId] = transform(block);
+  }

+  return result;
+}
 /**
- * Properties associated with a search suggestion used within the LinkControl.
+ * Given an array of blocks, returns an object containing all blocks, without
+ * attributes, recursing into inner blocks. Keys correspond to the block client
+ * ID, the value of which is the attributes object.
  *
- * @typedef WPLinkControlSuggestion
+ * @param {Array} blocks Blocks to flatten.
  *
- * @property {string} id    Identifier to use to uniquely identify the suggestion.
- * @property {string} type  Identifies the type of the suggestion (eg: `post`,
- *                          `page`, `url`...etc)
- * @property {string} title Human-readable label to show in user interface.
- * @property {string} url   A URL for the suggestion.
+ * @return {Object} Flattened block attributes object.
  */

-/** @typedef {(title:string)=>WPLinkControlSuggestion} WPLinkControlCreateSuggestionProp */

+function getFlattenedBlocksWithoutAttributes(blocks) {
+  return flattenBlocks(blocks, block => (0,external_lodash_namespaceObject.omit)(block, 'attributes'));
+}
 /**
- * @typedef WPLinkControlProps
+ * Given an array of blocks, returns an object containing all block attributes,
+ * recursing into inner blocks. Keys correspond to the block client ID, the
+ * value of which is the attributes object.
  *
- * @property {(WPLinkControlSetting[])=}  settings                   An array of settings objects. Each object will used to
- *                                                                   render a `ToggleControl` for that setting.
- * @property {boolean=}                   forceIsEditingLink         If passed as either `true` or `false`, controls the
- *                                                                   internal editing state of the component to respective
- *                                                                   show or not show the URL input field.
- * @property {WPLinkControlValue=}        value                      Current link value.
- * @property {WPLinkControlOnChangeProp=} onChange                   Value change handler, called with the updated value if
- *                                                                   the user selects a new link or updates settings.
- * @property {boolean=}                   noDirectEntry              Whether to allow turning a URL-like search query directly into a link.
- * @property {boolean=}                   showSuggestions            Whether to present suggestions when typing the URL.
- * @property {boolean=}                   showInitialSuggestions     Whether to present initial suggestions immediately.
- * @property {boolean=}                   withCreateSuggestion       Whether to allow creation of link value from suggestion.
- * @property {Object=}                    suggestionsQuery           Query parameters to pass along to wp.blockEditor.__experimentalFetchLinkSuggestions.
- * @property {boolean=}                   noURLSuggestion            Whether to add a fallback suggestion which treats the search query as a URL.
- * @property {string|Function|undefined}  createSuggestionButtonText The text to use in the button that calls createSuggestion.
- * @property {Function}                   renderControlBottom        Optional controls to be rendered at the bottom of the component.
+ * @param {Array} blocks Blocks to flatten.
+ *
+ * @return {Object} Flattened block attributes object.
  */

+
+function getFlattenedBlockAttributes(blocks) {
+  return flattenBlocks(blocks, block => block.attributes);
+}
 /**
- * Renders a link control. A link control is a controlled input which maintains
- * a value associated with a link (HTML anchor element) and relevant settings
- * for how that link is expected to behave.
+ * Returns an object against which it is safe to perform mutating operations,
+ * given the original object and its current working copy.
  *
- * @param {WPLinkControlProps} props Component props.
+ * @param {Object} original Original object.
+ * @param {Object} working  Working object.
+ *
+ * @return {Object} Mutation-safe object.
  */

-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;
+function getMutateSafeObject(original, working) {
+  if (original === working) {
+    return { ...original
+    };
   }

-  const isMounting = Object(external_wp_element_["useRef"])(true);
-  const wrapperNode = Object(external_wp_element_["useRef"])();
-  const textInputRef = Object(external_wp_element_["useRef"])();
-  const [internalInputValue, setInternalInputValue] = Object(external_wp_element_["useState"])((value === null || value === void 0 ? void 0 : value.url) || '');
-  const [internalTextValue, setInternalTextValue] = Object(external_wp_element_["useState"])((value === null || value === void 0 ? void 0 : value.title) || '');
-  const currentInputValue = propInputValue || internalInputValue;
-  const [isEditingLink, setIsEditingLink] = Object(external_wp_element_["useState"])(forceIsEditingLink !== undefined ? forceIsEditingLink : !value || !value.url);
-  const isEndingEditWithFocus = Object(external_wp_element_["useRef"])(false);
-  const currentInputIsEmpty = !(currentInputValue !== null && currentInputValue !== void 0 && (_currentInputValue$tr = currentInputValue.trim()) !== null && _currentInputValue$tr !== void 0 && _currentInputValue$tr.length);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (forceIsEditingLink !== undefined && forceIsEditingLink !== isEditingLink) {
-      setIsEditingLink(forceIsEditingLink);
-    }
-  }, [forceIsEditingLink]);
-  Object(external_wp_element_["useEffect"])(() => {
-    // We don't auto focus into the Link UI on mount
-    // because otherwise using the keyboard to select text
-    // *within* the link format is not possible.
-    if (isMounting.current) {
-      isMounting.current = false;
-      return;
-    } // Unless we are mounting, we always want to focus either:
-    // - the URL input
-    // - the first focusable element in the Link UI.
-    // But in editing mode if there is a text input present then
-    // the URL input is at index 1. If not then it is at index 0.
+  return working;
+}
+/**
+ * Returns true if the two object arguments have the same keys, or false
+ * otherwise.
+ *
+ * @param {Object} a First object.
+ * @param {Object} b Second object.
+ *
+ * @return {boolean} Whether the two objects have the same keys.
+ */


-    const whichFocusTargetIndex = textInputRef !== null && textInputRef !== void 0 && textInputRef.current ? 1 : 0; // Scenario - when:
-    // - switching between editable and non editable LinkControl
-    // - clicking on a link
-    // ...then move focus to the *first* element to avoid focus loss
-    // and to ensure focus is *within* the Link UI.
+function hasSameKeys(a, b) {
+  return (0,external_lodash_namespaceObject.isEqual)((0,external_lodash_namespaceObject.keys)(a), (0,external_lodash_namespaceObject.keys)(b));
+}
+/**
+ * Returns true if, given the currently dispatching action and the previously
+ * dispatched action, the two actions are updating the same block attribute, or
+ * false otherwise.
+ *
+ * @param {Object} action     Currently dispatching action.
+ * @param {Object} lastAction Previously dispatched action.
+ *
+ * @return {boolean} Whether actions are updating the same block attribute.
+ */

-    const nextFocusTarget = external_wp_dom_["focus"].focusable.find(wrapperNode.current)[whichFocusTargetIndex] || wrapperNode.current;
-    nextFocusTarget.focus();
-    isEndingEditWithFocus.current = false;
-  }, [isEditingLink]);
-  Object(external_wp_element_["useEffect"])(() => {
-    /**
-     * If the value's `text` property changes then sync this
-     * back up with state.
-     */
-    if (value !== null && value !== void 0 && value.title && value.title !== internalTextValue) {
-      setInternalTextValue(value.title);
-    }
-    /**
-     * Update the state value internalInputValue if the url value changes
-     * for example when clicking on another anchor
-     */
+function isUpdatingSameBlockAttribute(action, lastAction) {
+  return action.type === 'UPDATE_BLOCK_ATTRIBUTES' && lastAction !== undefined && lastAction.type === 'UPDATE_BLOCK_ATTRIBUTES' && (0,external_lodash_namespaceObject.isEqual)(action.clientIds, lastAction.clientIds) && hasSameKeys(action.attributes, lastAction.attributes);
+}

+function buildBlockTree(state, blocks) {
+  const result = {};
+  const stack = [...blocks];
+  const flattenedBlocks = [...blocks];

-    if (value !== null && value !== void 0 && value.url) {
-      setInternalInputValue(value.url);
-    }
-  }, [value]);
-  /**
-   * Cancels editing state and marks that focus may need to be restored after
-   * the next render, if focus was within the wrapper when editing finished.
-   */
+  while (stack.length) {
+    const block = stack.shift();
+    stack.push(...block.innerBlocks);
+    flattenedBlocks.push(...block.innerBlocks);
+  } // Create objects before mutating them, that way it's always defined.

-  function stopEditing() {
-    var _wrapperNode$current;

-    isEndingEditWithFocus.current = !!((_wrapperNode$current = wrapperNode.current) !== null && _wrapperNode$current !== void 0 && _wrapperNode$current.contains(wrapperNode.current.ownerDocument.activeElement));
-    setIsEditingLink(false);
+  for (const block of flattenedBlocks) {
+    result[block.clientId] = {};
   }

-  const {
-    createPage,
-    isCreatingPage,
-    errorMessage
-  } = useCreatePage(createSuggestion);
-
-  const handleSelectSuggestion = updatedValue => {
-    onChange({ ...updatedValue,
-      title: internalTextValue || (updatedValue === null || updatedValue === void 0 ? void 0 : updatedValue.title)
+  for (const block of flattenedBlocks) {
+    result[block.clientId] = Object.assign(result[block.clientId], { ...state.byClientId[block.clientId],
+      attributes: state.attributes[block.clientId],
+      innerBlocks: block.innerBlocks.map(subBlock => result[subBlock.clientId])
     });
-    stopEditing();
-  };
-
-  const handleSubmit = () => {
-    if (currentInputValue !== (value === null || value === void 0 ? void 0 : value.url) || internalTextValue !== (value === null || value === void 0 ? void 0 : value.title)) {
-      onChange({
-        url: currentInputValue,
-        title: internalTextValue
-      });
-    }
-
-    stopEditing();
-  };
-
-  const handleSubmitWithEnter = event => {
-    const {
-      keyCode
-    } = event;
-
-    if (keyCode === external_wp_keycodes_["ENTER"] && !currentInputIsEmpty // disallow submitting empty values.
-    ) {
-      event.preventDefault();
-      handleSubmit();
-    }
-  };
+  }

-  const shownUnlinkControl = onRemove && value && !isEditingLink && !isCreatingPage;
-  const showSettingsDrawer = !!(settings !== null && settings !== void 0 && settings.length); // Only show text control once a URL value has been committed
-  // and it isn't just empty whitespace.
-  // See https://github.com/WordPress/gutenberg/pull/33849/#issuecomment-932194927.
+  return result;
+}

-  const showTextControl = (value === null || value === void 0 ? void 0 : (_value$url = value.url) === null || _value$url === void 0 ? void 0 : (_value$url$trim = _value$url.trim()) === null || _value$url$trim === void 0 ? void 0 : _value$url$trim.length) > 0 && hasTextControl;
-  return Object(external_wp_element_["createElement"])("div", {
-    tabIndex: -1,
-    ref: wrapperNode,
-    className: "block-editor-link-control"
-  }, isCreatingPage && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-link-control__loading"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), " ", Object(external_wp_i18n_["__"])('Creating'), "\u2026"), (isEditingLink || !value) && !isCreatingPage && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()({
-      'block-editor-link-control__search-input-wrapper': true,
-      'has-text-control': showTextControl
-    })
-  }, showTextControl && Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    ref: textInputRef,
-    className: "block-editor-link-control__field block-editor-link-control__text-content",
-    label: "Text",
-    value: internalTextValue,
-    onChange: setInternalTextValue,
-    onKeyDown: handleSubmitWithEnter
-  }), Object(external_wp_element_["createElement"])(search_input, {
-    currentLink: value,
-    className: "block-editor-link-control__field block-editor-link-control__search-input",
-    placeholder: searchInputPlaceholder,
-    value: currentInputValue,
-    withCreateSuggestion: withCreateSuggestion,
-    onCreateSuggestion: createPage,
-    onChange: setInternalInputValue,
-    onSelect: handleSelectSuggestion,
-    showInitialSuggestions: showInitialSuggestions,
-    allowDirectEntry: !noDirectEntry,
-    showSuggestions: showSuggestions,
-    suggestionsQuery: suggestionsQuery,
-    withURLSuggestion: !noURLSuggestion,
-    createSuggestionButtonText: createSuggestionButtonText,
-    useLabel: showTextControl
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-link-control__search-actions"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    onClick: handleSubmit,
-    label: Object(external_wp_i18n_["__"])('Submit'),
-    icon: keyboard_return["a" /* default */],
-    className: "block-editor-link-control__search-submit",
-    disabled: currentInputIsEmpty // disallow submitting empty values.
+function updateParentInnerBlocksInTree(state, tree, updatedClientIds) {
+  let updateChildrenOfUpdatedClientIds = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
+  const uncontrolledParents = new Set([]);
+  const controlledParents = new Set();

-  })))), errorMessage && Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
-    className: "block-editor-link-control__search-error",
-    status: "error",
-    isDismissible: false
-  }, errorMessage)), value && !isEditingLink && !isCreatingPage && Object(external_wp_element_["createElement"])(LinkPreview, {
-    key: value === null || value === void 0 ? void 0 : value.url // force remount when URL changes to avoid race conditions for rich previews
-    ,
-    value: value,
-    onEditClick: () => setIsEditingLink(true),
-    hasRichPreviews: hasRichPreviews,
-    hasUnlinkControl: shownUnlinkControl,
-    onRemove: onRemove
-  }), showSettingsDrawer && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-link-control__tools"
-  }, Object(external_wp_element_["createElement"])(settings_drawer, {
-    value: value,
-    settings: settings,
-    onChange: onChange
-  })), renderControlBottom && renderControlBottom());
-}
+  for (const clientId of updatedClientIds) {
+    let current = updateChildrenOfUpdatedClientIds ? clientId : state.parents[clientId];

-LinkControl.ViewerFill = ViewerFill;
-/* harmony default export */ var link_control = (LinkControl);
+    do {
+      if (state.controlledInnerBlocks[current]) {
+        // Should stop on controlled blocks.
+        // If we reach a controlled parent, break out of the loop.
+        controlledParents.add(current);
+        break;
+      } else {
+        // else continue traversing up through parents.
+        uncontrolledParents.add(current);
+        current = state.parents[current];
+      }
+    } while (current !== undefined);
+  } // To make sure the order of assignments doesn't matter,
+  // we first create empty objects and mutates the inner blocks later.

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/line-height-control/index.js + 1 modules
-var line_height_control = __webpack_require__("weEX");

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+  for (const clientId of uncontrolledParents) {
+    tree[clientId] = { ...tree[clientId]
+    };
+  }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/media.js
-var library_media = __webpack_require__("rH4q");
+  for (const clientId of uncontrolledParents) {
+    tree[clientId].innerBlocks = (state.order[clientId] || []).map(subClientId => tree[subClientId]);
+  } // Controlled parent blocks, need a dedicated key for their inner blocks
+  // to be used when doing getBlocks( controlledBlockClientId ).

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/upload.js
-var upload = __webpack_require__("NTP4");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js
-/**
- * WordPress dependencies
- */
+  for (const clientId of controlledParents) {
+    tree['controlled||' + clientId] = {
+      innerBlocks: (state.order[clientId] || []).map(subClientId => tree[subClientId])
+    };
+  }

+  return tree;
+}
 /**
- * This is a placeholder for the media upload component necessary to make it possible to provide
- * an integration with the core blocks that handle media files. By default it renders nothing but
- * it provides a way to have it overridden with the `editor.MediaUpload` filter.
+ * Higher-order reducer intended to compute full block objects key for each block in the post.
+ * This is a denormalization to optimize the performance of the getBlock selectors and avoid
+ * recomputing the block objects and avoid heavy memoization.
  *
- * @return {WPComponent} The component to be rendered.
+ * @param {Function} reducer Original reducer function.
+ *
+ * @return {Function} Enhanced reducer function.
  */

-const MediaUpload = () => null;
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/media-upload/README.md
- */

+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);

-/* harmony default export */ var media_upload = (Object(external_wp_components_["withFilters"])('editor.MediaUpload')(MediaUpload));
+  if (newState === state) {
+    return state;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js
-/**
- * WordPress dependencies
- */
+  newState.tree = state.tree ? state.tree : {};

-/**
- * Internal dependencies
- */
+  switch (action.type) {
+    case 'RECEIVE_BLOCKS':
+    case 'INSERT_BLOCKS':
+      {
+        const subTree = buildBlockTree(newState, action.blocks);
+        newState.tree = updateParentInnerBlocksInTree(newState, { ...newState.tree,
+          ...subTree
+        }, action.rootClientId ? [action.rootClientId] : [''], true);
+        break;
+      }

+    case 'UPDATE_BLOCK':
+      newState.tree = updateParentInnerBlocksInTree(newState, { ...newState.tree,
+        [action.clientId]: { ...newState.tree[action.clientId],
+          ...newState.byClientId[action.clientId],
+          attributes: newState.attributes[action.clientId]
+        }
+      }, [action.clientId], false);
+      break;

-function MediaUploadCheck(_ref) {
-  let {
-    fallback = null,
-    children
-  } = _ref;
-  const hasUploadPermissions = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getSettings
-    } = select(store["a" /* store */]);
-    return !!getSettings().mediaUpload;
-  }, []);
-  return hasUploadPermissions ? children : fallback;
-}
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/media-upload/README.md
- */
+    case 'UPDATE_BLOCK_ATTRIBUTES':
+      {
+        const newSubTree = action.clientIds.reduce((result, clientId) => {
+          result[clientId] = { ...newState.tree[clientId],
+            attributes: newState.attributes[clientId]
+          };
+          return result;
+        }, {});
+        newState.tree = updateParentInnerBlocksInTree(newState, { ...newState.tree,
+          ...newSubTree
+        }, action.clientIds, false);
+        break;
+      }

-/* harmony default export */ var media_upload_check = (MediaUploadCheck);
+    case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+      {
+        const subTree = buildBlockTree(newState, action.blocks);
+        newState.tree = updateParentInnerBlocksInTree(newState, { ...(0,external_lodash_namespaceObject.omit)(newState.tree, action.replacedClientIds.concat( // Controlled inner blocks are only removed
+          // if the block doesn't move to another position
+          // otherwise their content will be lost.
+          action.replacedClientIds.filter(clientId => !subTree[clientId]).map(clientId => 'controlled||' + clientId))),
+          ...subTree
+        }, action.blocks.map(b => b.clientId), false); // If there are no replaced blocks, it means we're removing blocks so we need to update their parent.

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-replace-flow/index.js
+        const parentsOfRemovedBlocks = [];

+        for (const clientId of action.clientIds) {
+          if (state.parents[clientId] !== undefined && (state.parents[clientId] === '' || newState.byClientId[state.parents[clientId]])) {
+            parentsOfRemovedBlocks.push(state.parents[clientId]);
+          }
+        }

-/**
- * External dependencies
- */
+        newState.tree = updateParentInnerBlocksInTree(newState, newState.tree, parentsOfRemovedBlocks, true);
+        break;
+      }

-/**
- * WordPress dependencies
- */
+    case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+      const parentsOfRemovedBlocks = [];

+      for (const clientId of action.clientIds) {
+        if (state.parents[clientId] !== undefined && (state.parents[clientId] === '' || newState.byClientId[state.parents[clientId]])) {
+          parentsOfRemovedBlocks.push(state.parents[clientId]);
+        }
+      }

+      newState.tree = updateParentInnerBlocksInTree(newState, (0,external_lodash_namespaceObject.omit)(newState.tree, action.removedClientIds.concat(action.removedClientIds.map(clientId => 'controlled||' + clientId))), parentsOfRemovedBlocks, true);
+      break;

+    case 'MOVE_BLOCKS_TO_POSITION':
+      {
+        const updatedBlockUids = [];

+        if (action.fromRootClientId) {
+          updatedBlockUids.push(action.fromRootClientId);
+        }

+        if (action.toRootClientId) {
+          updatedBlockUids.push(action.toRootClientId);
+        }

+        if (!action.fromRootClientId || !action.fromRootClientId) {
+          updatedBlockUids.push('');
+        }

+        newState.tree = updateParentInnerBlocksInTree(newState, newState.tree, updatedBlockUids, true);
+        break;
+      }

+    case 'MOVE_BLOCKS_UP':
+    case 'MOVE_BLOCKS_DOWN':
+      {
+        const updatedBlockUids = [action.rootClientId ? action.rootClientId : ''];
+        newState.tree = updateParentInnerBlocksInTree(newState, newState.tree, updatedBlockUids, true);
+        break;
+      }

+    case 'SAVE_REUSABLE_BLOCK_SUCCESS':
+      {
+        const updatedBlockUids = (0,external_lodash_namespaceObject.keys)((0,external_lodash_namespaceObject.omitBy)(newState.attributes, (attributes, clientId) => {
+          return newState.byClientId[clientId].name !== 'core/block' || attributes.ref !== action.updatedId;
+        }));
+        newState.tree = updateParentInnerBlocksInTree(newState, { ...newState.tree,
+          ...updatedBlockUids.reduce((result, clientId) => {
+            result[clientId] = { ...newState.byClientId[clientId],
+              attributes: newState.attributes[clientId],
+              innerBlocks: newState.tree[clientId].innerBlocks
+            };
+            return result;
+          }, {})
+        }, updatedBlockUids, false);
+      }
+  }

+  return newState;
+};
 /**
- * Internal dependencies
+ * Higher-order reducer intended to augment the blocks reducer, assigning an
+ * `isPersistentChange` property value corresponding to whether a change in
+ * state can be considered as persistent. All changes are considered persistent
+ * except when updating the same block attribute as in the previous action.
+ *
+ * @param {Function} reducer Original reducer function.
+ *
+ * @return {Function} Enhanced reducer function.
  */


+function withPersistentBlockChange(reducer) {
+  let lastAction;
+  let markNextChangeAsNotPersistent = false;
+  return (state, action) => {
+    let nextState = reducer(state, action);
+    const isExplicitPersistentChange = action.type === 'MARK_LAST_CHANGE_AS_PERSISTENT' || markNextChangeAsNotPersistent; // Defer to previous state value (or default) unless changing or
+    // explicitly marking as persistent.

+    if (state === nextState && !isExplicitPersistentChange) {
+      var _state$isPersistentCh;

+      markNextChangeAsNotPersistent = action.type === 'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT';
+      const nextIsPersistentChange = (_state$isPersistentCh = state === null || state === void 0 ? void 0 : state.isPersistentChange) !== null && _state$isPersistentCh !== void 0 ? _state$isPersistentCh : true;

+      if (state.isPersistentChange === nextIsPersistentChange) {
+        return state;
+      }

-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;
-  }, []);
-  const editMediaButtonRef = Object(external_wp_element_["createRef"])();
-  const errorNoticeID = Object(external_lodash_["uniqueId"])('block-editor/media-replace-flow/error-notice/');
-
-  const onError = message => {
-    const errorElement = document.createElement('div');
-    errorElement.innerHTML = Object(external_wp_element_["renderToString"])(message); // The default error contains some HTML that,
-    // for example, makes the filename bold.
-    // The notice, by default, accepts strings only and so
-    // we need to remove the html from the error.
-
-    const renderMsg = errorElement.textContent || errorElement.innerText || ''; // We need to set a timeout for showing the notice
-    // so that VoiceOver and possibly other screen readers
-    // can announce the error afer the toolbar button
-    // regains focus once the upload dialog closes.
-    // Otherwise VO simply skips over the notice and announces
-    // the focused element and the open menu.
-
-    setTimeout(() => {
-      createNotice('error', renderMsg, {
-        speak: true,
-        id: errorNoticeID,
-        isDismissible: true
-      });
-    }, 1000);
-  };
-
-  const selectMedia = media => {
-    setMediaURLValue(media.url); // Calling `onSelect` after the state update since it might unmount the component.
-
-    onSelect(media);
-    Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('The media file has been replaced'));
-    removeNotice(errorNoticeID);
-  };
-
-  const selectURL = newURL => {
-    onSelectURL(newURL);
-  };
-
-  const uploadFiles = event => {
-    const files = event.target.files;
-    onFilesUpload(files);
-
-    const setMedia = _ref2 => {
-      let [media] = _ref2;
-      selectMedia(media);
-    };
-
-    mediaUpload({
-      allowedTypes,
-      filesList: files,
-      onFileChange: setMedia,
-      onError
-    });
-  };
-
-  const openOnArrowDown = event => {
-    if (event.keyCode === external_wp_keycodes_["DOWN"]) {
-      event.preventDefault();
-      event.target.click();
+      return { ...nextState,
+        isPersistentChange: nextIsPersistentChange
+      };
     }
-  };

-  const POPOVER_PROPS = {
-    isAlternate: true
-  };
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
-    popoverProps: POPOVER_PROPS,
-    contentClassName: "block-editor-media-replace-flow__options",
-    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();
-        }
-      })));
-    }
-  });
-};
+    nextState = { ...nextState,
+      isPersistentChange: isExplicitPersistentChange ? !markNextChangeAsNotPersistent : !isUpdatingSameBlockAttribute(action, lastAction)
+    }; // In comparing against the previous action, consider only those which
+    // would have qualified as one which would have been ignored or not
+    // have resulted in a changed state.

-/* harmony default export */ var media_replace_flow = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withDispatch"])(dispatch => {
-  const {
-    createNotice,
-    removeNotice
-  } = dispatch(external_wp_notices_["store"]);
-  return {
-    createNotice,
-    removeNotice
+    lastAction = action;
+    markNextChangeAsNotPersistent = action.type === 'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT';
+    return nextState;
   };
-}), Object(external_wp_components_["withFilters"])('editor.MediaReplaceFlow')])(MediaReplaceFlow));
-
-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-viewer-url.js
-
-
-/**
- * External dependencies
- */
-
+}
 /**
- * WordPress dependencies
+ * Higher-order reducer intended to augment the blocks reducer, assigning an
+ * `isIgnoredChange` property value corresponding to whether a change in state
+ * can be considered as ignored. A change is considered ignored when the result
+ * of an action not incurred by direct user interaction.
+ *
+ * @param {Function} reducer Original reducer function.
+ *
+ * @return {Function} Enhanced reducer function.
  */


+function withIgnoredBlockChange(reducer) {
+  /**
+   * Set of action types for which a blocks state change should be ignored.
+   *
+   * @type {Set}
+   */
+  const IGNORED_ACTION_TYPES = new Set(['RECEIVE_BLOCKS']);
+  return (state, action) => {
+    const nextState = reducer(state, action);

-function LinkViewerURL(_ref) {
-  let {
-    url,
-    urlLabel,
-    className
-  } = _ref;
-  const linkClassName = classnames_default()(className, 'block-editor-url-popover__link-viewer-url');
-
-  if (!url) {
-    return Object(external_wp_element_["createElement"])("span", {
-      className: linkClassName
-    });
-  }
+    if (nextState !== state) {
+      nextState.isIgnoredChange = IGNORED_ACTION_TYPES.has(action.type);
+    }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-    className: linkClassName,
-    href: url
-  }, urlLabel || Object(external_wp_url_["filterURLForDisplay"])(Object(external_wp_url_["safeDecodeURI"])(url)));
+    return nextState;
+  };
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-viewer.js
-
-
-
 /**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
+ * Higher-order reducer targeting the combined blocks reducer, augmenting
+ * block client IDs in remove action to include cascade of inner blocks.
+ *
+ * @param {Function} reducer Original reducer function.
+ *
+ * @return {Function} Enhanced reducer function.
  */


+const withInnerBlocksRemoveCascade = reducer => (state, action) => {
+  // Gets all children which need to be removed.
+  const getAllChildren = clientIds => {
+    let result = clientIds;

+    for (let i = 0; i < result.length; i++) {
+      if (!state.order[result[i]] || action.keepControlledInnerBlocks && action.keepControlledInnerBlocks[result[i]]) {
+        continue;
+      }

-/**
- * Internal dependencies
- */
-
-
-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, {
-    url: url,
-    urlLabel: urlLabel,
-    className: linkClassName
-  }), onEditLinkClick && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: edit["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Edit'),
-    onClick: onEditLinkClick
-  }));
-}
+      if (result === clientIds) {
+        result = [...result];
+      }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-editor.js
+      result.push(...state.order[result[i]]);
+    }

+    return result;
+  };

+  if (state) {
+    switch (action.type) {
+      case 'REMOVE_BLOCKS':
+        action = { ...action,
+          type: 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN',
+          removedClientIds: getAllChildren(action.clientIds)
+        };
+        break;

-/**
- * External dependencies
- */
+      case 'REPLACE_BLOCKS':
+        action = { ...action,
+          type: 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN',
+          replacedClientIds: getAllChildren(action.clientIds)
+        };
+        break;
+    }
+  }

+  return reducer(state, action);
+};
 /**
- * WordPress dependencies
+ * Higher-order reducer which targets the combined blocks reducer and handles
+ * the `RESET_BLOCKS` action. When dispatched, this action will replace all
+ * blocks that exist in the post, leaving blocks that exist only in state (e.g.
+ * reusable blocks and blocks controlled by inner blocks controllers) alone.
+ *
+ * @param {Function} reducer Original reducer function.
+ *
+ * @return {Function} Enhanced reducer function.
  */


+const withBlockReset = reducer => (state, action) => {
+  if (action.type === 'RESET_BLOCKS') {
+    const newState = { ...state,
+      byClientId: getFlattenedBlocksWithoutAttributes(action.blocks),
+      attributes: getFlattenedBlockAttributes(action.blocks),
+      order: mapBlockOrder(action.blocks),
+      parents: mapBlockParents(action.blocks),
+      controlledInnerBlocks: {}
+    };
+    const subTree = buildBlockTree(newState, action.blocks);
+    newState.tree = { ...subTree,
+      // Root
+      '': {
+        innerBlocks: action.blocks.map(subBlock => subTree[subBlock.clientId])
+      }
+    };
+    return newState;
+  }

-
+  return reducer(state, action);
+};
 /**
- * Internal dependencies
+ * Higher-order reducer which targets the combined blocks reducer and handles
+ * the `REPLACE_INNER_BLOCKS` action. When dispatched, this action the state
+ * should become equivalent to the execution of a `REMOVE_BLOCKS` action
+ * containing all the child's of the root block followed by the execution of
+ * `INSERT_BLOCKS` with the new blocks.
+ *
+ * @param {Function} reducer Original reducer function.
+ *
+ * @return {Function} Enhanced reducer function.
  */


-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, {
-    value: value,
-    onChange: onChangeInputValue,
-    autocompleteRef: autocompleteRef
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: keyboard_return["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Apply'),
-    type: "submit"
-  }));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/index.js
-
+const withReplaceInnerBlocks = reducer => (state, action) => {
+  if (action.type !== 'REPLACE_INNER_BLOCKS') {
+    return reducer(state, action);
+  } // Finds every nested inner block controller. We must check the action blocks
+  // and not just the block parent state because some inner block controllers
+  // should be deleted if specified, whereas others should not be deleted. If
+  // a controlled should not be deleted, then we need to avoid deleting its
+  // inner blocks from the block state because its inner blocks will not be
+  // attached to the block in the action.


-/**
- * WordPress dependencies
- */
+  const nestedControllers = {};

+  if (Object.keys(state.controlledInnerBlocks).length) {
+    const stack = [...action.blocks];

+    while (stack.length) {
+      const {
+        innerBlocks,
+        ...block
+      } = stack.shift();
+      stack.push(...innerBlocks);

+      if (!!state.controlledInnerBlocks[block.clientId]) {
+        nestedControllers[block.clientId] = true;
+      }
+    }
+  } // The `keepControlledInnerBlocks` prop will keep the inner blocks of the
+  // marked block in the block state so that they can be reattached to the
+  // marked block when we re-insert everything a few lines below.

-/**
- * Internal dependencies
- */

+  let stateAfterBlocksRemoval = state;

+  if (state.order[action.rootClientId]) {
+    stateAfterBlocksRemoval = reducer(stateAfterBlocksRemoval, {
+      type: 'REMOVE_BLOCKS',
+      keepControlledInnerBlocks: nestedControllers,
+      clientIds: state.order[action.rootClientId]
+    });
+  }

+  let stateAfterInsert = stateAfterBlocksRemoval;

-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;
+  if (action.blocks.length) {
+    stateAfterInsert = reducer(stateAfterInsert, { ...action,
+      type: 'INSERT_BLOCKS',
+      index: 0
+    }); // We need to re-attach the block order of the controlled inner blocks.
+    // Otherwise, an inner block controller's blocks will be deleted entirely
+    // from its entity..

-  const toggleSettingsVisibility = () => {
-    setIsSettingsExpanded(!isSettingsExpanded);
-  };
+    stateAfterInsert.order = { ...stateAfterInsert.order,
+      ...(0,external_lodash_namespaceObject.reduce)(nestedControllers, (result, value, key) => {
+        if (state.order[key]) {
+          result[key] = state.order[key];
+        }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], Object(esm_extends["a" /* default */])({
-    className: "block-editor-url-popover",
-    focusOnMount: focusOnMount,
-    position: position
-  }, popoverProps), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-url-popover__input-container"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-url-popover__row"
-  }, children, !!renderSettings && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "block-editor-url-popover__settings-toggle",
-    icon: chevron_down["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Link settings'),
-    onClick: toggleSettingsVisibility,
-    "aria-expanded": isSettingsExpanded
-  })), showSettings && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-url-popover__row block-editor-url-popover__settings"
-  }, renderSettings())), additionalControls && !showSettings && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-url-popover__additional-controls"
-  }, additionalControls));
-}
+        return result;
+      }, {})
+    };
+  }

-URLPopover.LinkEditor = LinkEditor;
-URLPopover.LinkViewer = LinkViewer;
+  return stateAfterInsert;
+};
 /**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/url-popover/README.md
+ * Higher-order reducer which targets the combined blocks reducer and handles
+ * the `SAVE_REUSABLE_BLOCK_SUCCESS` action. This action can't be handled by
+ * regular reducers and needs a higher-order reducer since it needs access to
+ * both `byClientId` and `attributes` simultaneously.
+ *
+ * @param {Function} reducer Original reducer function.
+ *
+ * @return {Function} Enhanced reducer function.
  */

-/* harmony default export */ var url_popover = (URLPopover);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-placeholder/index.js
+const withSaveReusableBlock = reducer => (state, action) => {
+  if (state && action.type === 'SAVE_REUSABLE_BLOCK_SUCCESS') {
+    const {
+      id,
+      updatedId
+    } = action; // If a temporary reusable block is saved, we swap the temporary id with the final one
+
+    if (id === updatedId) {
+      return state;
+    }
+
+    state = { ...state
+    };
+    state.attributes = (0,external_lodash_namespaceObject.mapValues)(state.attributes, (attributes, clientId) => {
+      const {
+        name
+      } = state.byClientId[clientId];
+
+      if (name === 'core/block' && attributes.ref === id) {
+        return { ...attributes,
+          ref: updatedId
+        };
+      }

+      return attributes;
+    });
+  }

+  return reducer(state, action);
+};
 /**
- * External dependencies
+ * Higher-order reducer which removes blocks from state when switching parent block controlled state.
+ *
+ * @param {Function} reducer Original reducer function.
+ *
+ * @return {Function} Enhanced reducer function.
  */


+const withResetControlledBlocks = reducer => (state, action) => {
+  if (action.type === 'SET_HAS_CONTROLLED_INNER_BLOCKS') {
+    // when switching a block from controlled to uncontrolled or inverse,
+    // we need to remove its content first.
+    const tempState = reducer(state, {
+      type: 'REPLACE_INNER_BLOCKS',
+      rootClientId: action.clientId,
+      blocks: []
+    });
+    return reducer(tempState, action);
+  }
+
+  return reducer(state, action);
+};
 /**
- * WordPress dependencies
+ * Reducer returning the blocks state.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */


+const blocks = (0,external_lodash_namespaceObject.flow)(external_wp_data_namespaceObject.combineReducers, withSaveReusableBlock, // needs to be before withBlockCache
+withBlockTree, // needs to be before withInnerBlocksRemoveCascade
+withInnerBlocksRemoveCascade, withReplaceInnerBlocks, // needs to be after withInnerBlocksRemoveCascade
+withBlockReset, withPersistentBlockChange, withIgnoredBlockChange, withResetControlledBlocks)({
+  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':
+        return { ...state,
+          ...getFlattenedBlocksWithoutAttributes(action.blocks)
+        };

+      case 'UPDATE_BLOCK':
+        // Ignore updates if block isn't known
+        if (!state[action.clientId]) {
+          return state;
+        } // Do nothing if only attributes change.


+        const changes = (0,external_lodash_namespaceObject.omit)(action.updates, 'attributes');

-/**
- * Internal dependencies
- */
+        if ((0,external_lodash_namespaceObject.isEmpty)(changes)) {
+          return state;
+        }

+        return { ...state,
+          [action.clientId]: { ...state[action.clientId],
+            ...changes
+          }
+        };

+      case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+        if (!action.blocks) {
+          return state;
+        }

+        return { ...(0,external_lodash_namespaceObject.omit)(state, action.replacedClientIds),
+          ...getFlattenedBlocksWithoutAttributes(action.blocks)
+        };

+      case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+        return (0,external_lodash_namespaceObject.omit)(state, action.removedClientIds);
+    }

+    return state;
+  },

-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"
-  })));
-};
+  attributes() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;

-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
-    } = select(store["a" /* store */]);
-    return getSettings().mediaUpload;
-  }, []);
-  const [src, setSrc] = Object(external_wp_element_["useState"])('');
-  const [isURLInputVisible, setIsURLInputVisible] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    var _value$src;
+    switch (action.type) {
+      case 'RECEIVE_BLOCKS':
+      case 'INSERT_BLOCKS':
+        return { ...state,
+          ...getFlattenedBlockAttributes(action.blocks)
+        };

-    setSrc((_value$src = value === null || value === void 0 ? void 0 : value.src) !== null && _value$src !== void 0 ? _value$src : '');
-  }, [value === null || value === void 0 ? void 0 : value.src]);
+      case 'UPDATE_BLOCK':
+        // Ignore updates if block isn't known or there are no attribute changes.
+        if (!state[action.clientId] || !action.updates.attributes) {
+          return state;
+        }

-  const onlyAllowsImages = () => {
-    if (!allowedTypes || allowedTypes.length === 0) {
-      return false;
-    }
+        return { ...state,
+          [action.clientId]: { ...state[action.clientId],
+            ...action.updates.attributes
+          }
+        };

-    return allowedTypes.every(allowedType => allowedType === 'image' || allowedType.startsWith('image/'));
-  };
+      case 'UPDATE_BLOCK_ATTRIBUTES':
+        {
+          // Avoid a state change if none of the block IDs are known.
+          if (action.clientIds.every(id => !state[id])) {
+            return state;
+          }

-  const onChangeSrc = event => {
-    setSrc(event.target.value);
-  };
+          const next = action.clientIds.reduce((accumulator, id) => ({ ...accumulator,
+            [id]: (0,external_lodash_namespaceObject.reduce)(action.uniqueByBlock ? action.attributes[id] : action.attributes, (result, value, key) => {
+              // Consider as updates only changed values.
+              if (value !== result[key]) {
+                result = getMutateSafeObject(state[id], result);
+                result[key] = value;
+              }

-  const openURLInput = () => {
-    setIsURLInputVisible(true);
-  };
+              return result;
+            }, state[id])
+          }), {});

-  const closeURLInput = () => {
-    setIsURLInputVisible(false);
-  };
+          if (action.clientIds.every(id => next[id] === state[id])) {
+            return state;
+          }

-  const onSubmitSrc = event => {
-    event.preventDefault();
+          return { ...state,
+            ...next
+          };
+        }

-    if (src && onSelectURL) {
-      onSelectURL(src);
-      closeURLInput();
-    }
-  };
+      case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+        if (!action.blocks) {
+          return state;
+        }

-  const onFilesUpload = files => {
-    if (!handleUpload) {
-      return onSelect(files);
-    }
+        return { ...(0,external_lodash_namespaceObject.omit)(state, action.replacedClientIds),
+          ...getFlattenedBlockAttributes(action.blocks)
+        };

-    onFilesPreUpload(files);
-    let setMedia;
+      case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+        return (0,external_lodash_namespaceObject.omit)(state, action.removedClientIds);
+    }

-    if (multiple) {
-      if (addToGallery) {
-        // Since the setMedia function runs multiple times per upload group
-        // and is passed newMedia containing every item in its group each time, we must
-        // filter out whatever this upload group had previously returned to the
-        // gallery before adding and returning the image array with replacement newMedia
-        // values.
-        // Define an array to store urls from newMedia between subsequent function calls.
-        let lastMediaPassed = [];
+    return state;
+  },

-        setMedia = newMedia => {
-          // Remove any images this upload group is responsible for (lastMediaPassed).
-          // Their replacements are contained in newMedia.
-          const filteredMedia = (value !== null && value !== void 0 ? value : []).filter(item => {
-            // 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.
-              _ref3 => {
-                let {
-                  id
-                } = _ref3;
-                return Number(id) === Number(item.id);
-              });
-            } // Compare transient images via .includes since gallery may append extra info onto the url.
+  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':
+        {
+          const blockOrder = mapBlockOrder(action.blocks);
+          return { ...state,
+            ...(0,external_lodash_namespaceObject.omit)(blockOrder, ''),
+            '': ((state === null || state === void 0 ? void 0 : state['']) || []).concat(blockOrder[''])
+          };
+        }

-            return !lastMediaPassed.some(_ref4 => {
-              let {
-                urlSlug
-              } = _ref4;
-              return item.url.includes(urlSlug);
-            });
-          }); // Return the filtered media array along with newMedia.
+      case 'INSERT_BLOCKS':
+        {
+          const {
+            rootClientId = ''
+          } = action;
+          const subState = state[rootClientId] || [];
+          const mappedBlocks = mapBlockOrder(action.blocks, rootClientId);
+          const {
+            index = subState.length
+          } = action;
+          return { ...state,
+            ...mappedBlocks,
+            [rootClientId]: insertAt(subState, mappedBlocks[rootClientId], index)
+          };
+        }

-          onSelect(filteredMedia.concat(newMedia)); // Reset lastMediaPassed and set it with ids and urls from newMedia.
+      case 'MOVE_BLOCKS_TO_POSITION':
+        {
+          const {
+            fromRootClientId = '',
+            toRootClientId = '',
+            clientIds
+          } = action;
+          const {
+            index = state[toRootClientId].length
+          } = action; // Moving inside the same parent block

-          lastMediaPassed = newMedia.map(media => {
-            // Add everything up to '.fileType' to compare via .includes.
-            const cutOffIndex = media.url.lastIndexOf('.');
-            const urlSlug = media.url.slice(0, cutOffIndex);
-            return {
-              id: media.id,
-              urlSlug
+          if (fromRootClientId === toRootClientId) {
+            const subState = state[toRootClientId];
+            const fromIndex = subState.indexOf(clientIds[0]);
+            return { ...state,
+              [toRootClientId]: moveTo(state[toRootClientId], fromIndex, index, clientIds.length)
             };
-          });
-        };
-      } else {
-        setMedia = onSelect;
-      }
-    } else {
-      setMedia = _ref5 => {
-        let [media] = _ref5;
-        return onSelect(media);
-      };
-    }
+          } // Moving from a parent block to another

-    mediaUpload({
-      allowedTypes,
-      filesList: files,
-      onFileChange: setMedia,
-      onError
-    });
-  };

-  const onUpload = event => {
-    onFilesUpload(event.target.files);
-  };
+          return { ...state,
+            [fromRootClientId]: (0,external_lodash_namespaceObject.without)(state[fromRootClientId], ...clientIds),
+            [toRootClientId]: insertAt(state[toRootClientId], clientIds, index)
+          };
+        }

-  const defaultRenderPlaceholder = content => {
-    let {
-      instructions,
-      title
-    } = labels;
+      case 'MOVE_BLOCKS_UP':
+        {
+          const {
+            clientIds,
+            rootClientId = ''
+          } = action;
+          const firstClientId = (0,external_lodash_namespaceObject.first)(clientIds);
+          const subState = state[rootClientId];

-    if (!mediaUpload && !onSelectURL) {
-      instructions = Object(external_wp_i18n_["__"])('To edit this block, you need permission to upload media.');
-    }
+          if (!subState.length || firstClientId === (0,external_lodash_namespaceObject.first)(subState)) {
+            return state;
+          }

-    if (instructions === undefined || title === undefined) {
-      const typesAllowed = allowedTypes !== null && allowedTypes !== void 0 ? allowedTypes : [];
-      const [firstAllowedType] = typesAllowed;
-      const isOneType = 1 === typesAllowed.length;
-      const isAudio = isOneType && 'audio' === firstAllowedType;
-      const isImage = isOneType && 'image' === firstAllowedType;
-      const isVideo = isOneType && 'video' === firstAllowedType;
+          const firstIndex = subState.indexOf(firstClientId);
+          return { ...state,
+            [rootClientId]: moveTo(subState, firstIndex, firstIndex - 1, clientIds.length)
+          };
+        }

-      if (instructions === undefined && mediaUpload) {
-        instructions = Object(external_wp_i18n_["__"])('Upload a media file or pick one from your media library.');
+      case 'MOVE_BLOCKS_DOWN':
+        {
+          const {
+            clientIds,
+            rootClientId = ''
+          } = action;
+          const firstClientId = (0,external_lodash_namespaceObject.first)(clientIds);
+          const lastClientId = (0,external_lodash_namespaceObject.last)(clientIds);
+          const subState = state[rootClientId];

-        if (isAudio) {
-          instructions = Object(external_wp_i18n_["__"])('Upload an audio file, pick one from your media library, or add one with a URL.');
-        } else if (isImage) {
-          instructions = Object(external_wp_i18n_["__"])('Upload an image file, pick one from your media library, or add one with a URL.');
-        } else if (isVideo) {
-          instructions = Object(external_wp_i18n_["__"])('Upload a video file, pick one from your media library, or add one with a URL.');
+          if (!subState.length || lastClientId === (0,external_lodash_namespaceObject.last)(subState)) {
+            return state;
+          }
+
+          const firstIndex = subState.indexOf(firstClientId);
+          return { ...state,
+            [rootClientId]: moveTo(subState, firstIndex, firstIndex + 1, clientIds.length)
+          };
         }
-      }

-      if (title === undefined) {
-        title = Object(external_wp_i18n_["__"])('Media');
+      case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+        {
+          const {
+            clientIds
+          } = action;

-        if (isAudio) {
-          title = Object(external_wp_i18n_["__"])('Audio');
-        } else if (isImage) {
-          title = Object(external_wp_i18n_["__"])('Image');
-        } else if (isVideo) {
-          title = Object(external_wp_i18n_["__"])('Video');
-        }
-      }
-    }
+          if (!action.blocks) {
+            return state;
+          }

-    const placeholderClassName = classnames_default()('block-editor-media-placeholder', className, {
-      'is-appender': isAppender
-    });
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
-      icon: icon,
-      label: title,
-      instructions: instructions,
-      className: placeholderClassName,
-      notices: notices,
-      onDoubleClick: onDoubleClick,
-      preview: mediaPreview,
-      style: style
-    }, content, children);
-  };
+          const mappedBlocks = mapBlockOrder(action.blocks);
+          return (0,external_lodash_namespaceObject.flow)([nextState => (0,external_lodash_namespaceObject.omit)(nextState, action.replacedClientIds), nextState => ({ ...nextState,
+            ...(0,external_lodash_namespaceObject.omit)(mappedBlocks, '')
+          }), nextState => (0,external_lodash_namespaceObject.mapValues)(nextState, subState => (0,external_lodash_namespaceObject.reduce)(subState, (result, clientId) => {
+            if (clientId === clientIds[0]) {
+              return [...result, ...mappedBlocks['']];
+            }

-  const renderPlaceholder = placeholder !== null && placeholder !== void 0 ? placeholder : defaultRenderPlaceholder;
+            if (clientIds.indexOf(clientId) === -1) {
+              result.push(clientId);
+            }

-  const renderDropZone = () => {
-    if (disableDropZone) {
-      return null;
-    }
+            return result;
+          }, []))])(state);
+        }

-    return Object(external_wp_element_["createElement"])(external_wp_components_["DropZone"], {
-      onFilesDrop: onFilesUpload,
-      onHTMLDrop: onHTMLDrop
-    });
-  };
+      case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+        return (0,external_lodash_namespaceObject.flow)([// Remove inner block ordering for removed blocks
+        nextState => (0,external_lodash_namespaceObject.omit)(nextState, action.removedClientIds), // Remove deleted blocks from other blocks' orderings
+        nextState => (0,external_lodash_namespaceObject.mapValues)(nextState, subState => (0,external_lodash_namespaceObject.without)(subState, ...action.removedClientIds))])(state);
+    }

-  const renderCancelLink = () => {
-    return onCancel && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      className: "block-editor-media-placeholder__cancel-button",
-      title: Object(external_wp_i18n_["__"])('Cancel'),
-      variant: "link",
-      onClick: onCancel
-    }, Object(external_wp_i18n_["__"])('Cancel'));
-  };
+    return state;
+  },

-  const renderUrlSelectionUI = () => {
-    return onSelectURL && Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-media-placeholder__url-input-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      className: "block-editor-media-placeholder__button",
-      onClick: openURLInput,
-      isPressed: isURLInputVisible,
-      variant: "tertiary"
-    }, Object(external_wp_i18n_["__"])('Insert from URL')), isURLInputVisible && Object(external_wp_element_["createElement"])(InsertFromURLPopover, {
-      src: src,
-      onChange: onChangeSrc,
-      onSubmit: onSubmitSrc,
-      onClose: closeURLInput
-    }));
-  };
+  // 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() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;

-  const renderMediaUploadChecked = () => {
-    const defaultButton = _ref6 => {
-      let {
-        open
-      } = _ref6;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        variant: "tertiary",
-        onClick: () => {
-          open();
-        }
-      }, Object(external_wp_i18n_["__"])('Media Library'));
-    };
+    switch (action.type) {
+      case 'RECEIVE_BLOCKS':
+        return { ...state,
+          ...mapBlockParents(action.blocks)
+        };

-    const libraryButton = mediaLibraryButton !== null && mediaLibraryButton !== void 0 ? mediaLibraryButton : defaultButton;
-    const uploadMediaLibraryButton = Object(external_wp_element_["createElement"])(media_upload, {
-      addToGallery: addToGallery,
-      gallery: multiple && onlyAllowsImages(),
-      multiple: multiple,
-      onSelect: onSelect,
-      allowedTypes: allowedTypes,
-      value: Array.isArray(value) ? value.map(_ref7 => {
-        let {
-          id
-        } = _ref7;
-        return id;
-      }) : value.id,
-      render: libraryButton
-    });
+      case 'INSERT_BLOCKS':
+        return { ...state,
+          ...mapBlockParents(action.blocks, action.rootClientId || '')
+        };

-    if (mediaUpload && isAppender) {
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, renderDropZone(), Object(external_wp_element_["createElement"])(external_wp_components_["FormFileUpload"], {
-        onChange: onUpload,
-        accept: accept,
-        multiple: multiple,
-        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'),
-            onClick: openFileDialog
-          }, Object(external_wp_i18n_["__"])('Upload')), uploadMediaLibraryButton, renderUrlSelectionUI(), renderCancelLink());
-          return renderPlaceholder(content);
+      case 'MOVE_BLOCKS_TO_POSITION':
+        {
+          return { ...state,
+            ...action.clientIds.reduce((accumulator, id) => {
+              accumulator[id] = action.toRootClientId || '';
+              return accumulator;
+            }, {})
+          };
         }
-      }));
-    }

-    if (mediaUpload) {
-      const content = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, renderDropZone(), Object(external_wp_element_["createElement"])(external_wp_components_["FormFileUpload"], {
-        variant: "primary",
-        className: classnames_default()('block-editor-media-placeholder__button', 'block-editor-media-placeholder__upload-button'),
-        onChange: onUpload,
-        accept: accept,
-        multiple: multiple
-      }, Object(external_wp_i18n_["__"])('Upload')), uploadMediaLibraryButton, renderUrlSelectionUI(), renderCancelLink());
-      return renderPlaceholder(content);
+      case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+        return { ...(0,external_lodash_namespaceObject.omit)(state, action.replacedClientIds),
+          ...mapBlockParents(action.blocks, state[action.clientIds[0]])
+        };
+
+      case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
+        return (0,external_lodash_namespaceObject.omit)(state, action.removedClientIds);
     }

-    return renderPlaceholder(uploadMediaLibraryButton);
-  };
+    return state;
+  },

-  if (dropZoneUIOnly || disableMediaButtons) {
-    if (dropZoneUIOnly) {
-      external_wp_deprecated_default()('wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop', {
-        since: '5.4',
-        alternative: 'disableMediaButtons'
-      });
+  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
+      };
     }

-    return Object(external_wp_element_["createElement"])(media_upload_check, null, renderDropZone());
+    return state;
   }

-  return Object(external_wp_element_["createElement"])(media_upload_check, {
-    fallback: renderPlaceholder(renderUrlSelectionUI())
-  }, renderMediaUploadChecked());
-}
+});
 /**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/media-placeholder/README.md
+ * Reducer returning typing state.
+ *
+ * @param {boolean} state  Current state.
+ * @param {Object}  action Dispatched action.
+ *
+ * @return {boolean} Updated state.
  */

-/* harmony default export */ var media_placeholder = (Object(external_wp_components_["withFilters"])('editor.MediaPlaceholder')(MediaPlaceholder));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/panel-color-settings/index.js
+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;

+    case 'STOP_TYPING':
+      return false;
+  }

+  return state;
+}
 /**
- * Internal dependencies
+ * Reducer returning dragged block client id.
+ *
+ * @param {string[]} state  Current state.
+ * @param {Object}   action Dispatched action.
+ *
+ * @return {string[]} Updated state.
  */

+function draggedBlocks() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-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: [],
-    disableCustomGradients: true
-  }, props));
-};
-
-/* harmony default export */ var panel_color_settings = (PanelColorSettings);
-
-// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js
-var react_autosize_textarea_lib = __webpack_require__("O6Fj");
-var react_autosize_textarea_lib_default = /*#__PURE__*/__webpack_require__.n(react_autosize_textarea_lib);
-
-// EXTERNAL MODULE: external ["wp","richText"]
-var external_wp_richText_ = __webpack_require__("qRz9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar/index.js
+  switch (action.type) {
+    case 'START_DRAGGING_BLOCKS':
+      return action.clientIds;

+    case 'STOP_DRAGGING_BLOCKS':
+      return [];
+  }

+  return state;
+}
 /**
- * External dependencies
+ * Reducer returning whether the caret is within formatted text.
+ *
+ * @param {boolean} state  Current state.
+ * @param {Object}  action Dispatched action.
+ *
+ * @return {boolean} Updated state.
  */

+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;
+
+    case 'EXIT_FORMATTED_TEXT':
+      return false;
+  }

+  return state;
+}
 /**
- * WordPress dependencies
+ * Internal helper reducer for selectionStart and selectionEnd. Can hold a block
+ * selection, represented by an object with property clientId.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */

+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':
+      {
+        if (state.clientId) {
+          return {};
+        }

+        return state;
+      }

-const format_toolbar_POPOVER_PROPS = {
-  position: 'bottom right',
-  isAlternate: true
-};
-
-const FormatToolbar = () => {
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, ['bold', 'italic', 'link'].map(format => Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], {
-    name: `RichText.ToolbarControls.${format}`,
-    key: format
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], {
-    name: "RichText.ToolbarControls"
-  }, fills => {
-    if (!fills.length) {
-      return null;
-    }
+    case 'SELECT_BLOCK':
+      if (action.clientId === state.clientId) {
+        return state;
+      }

-    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. */
-      ,
-      label: Object(external_wp_i18n_["__"])('More'),
-      toggleProps: { ...toggleProps,
-        className: classnames_default()(toggleProps.className, {
-          'is-pressed': hasActive
-        }),
-        describedBy: Object(external_wp_i18n_["__"])('Displays more block tools')
-      },
-      controls: Object(external_lodash_["orderBy"])(fills.map(_ref3 => {
-        let [{
-          props
-        }] = _ref3;
-        return props;
-      }), 'title'),
-      popoverProps: format_toolbar_POPOVER_PROPS
-    }));
-  }));
-};
+      return {
+        clientId: action.clientId
+      };

-/* harmony default export */ var format_toolbar = (FormatToolbar);
+    case 'REPLACE_INNER_BLOCKS':
+    case 'INSERT_BLOCKS':
+      {
+        if (!action.updateSelection || !action.blocks.length) {
+          return state;
+        }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar-container.js
+        return {
+          clientId: action.blocks[0].clientId
+        };
+      }

+    case 'REMOVE_BLOCKS':
+      if (!action.clientIds || !action.clientIds.length || action.clientIds.indexOf(state.clientId) === -1) {
+        return state;
+      }

-/**
- * WordPress dependencies
- */
+      return {};

-/**
- * Internal dependencies
- */
+    case 'REPLACE_BLOCKS':
+      {
+        if (action.clientIds.indexOf(state.clientId) === -1) {
+          return state;
+        }

+        const blockToSelect = action.blocks[action.indexToSelect] || action.blocks[action.blocks.length - 1];

+        if (!blockToSelect) {
+          return {};
+        }

+        if (blockToSelect.clientId === state.clientId) {
+          return state;
+        }

-const FormatToolbarContainer = _ref => {
-  let {
-    inline,
-    anchorRef
-  } = _ref;
+        return {
+          clientId: blockToSelect.clientId
+        };
+      }
+  }

-  if (inline) {
-    // Render in popover
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
-      noArrow: true,
-      position: "top center",
-      focusOnMount: false,
-      anchorRef: anchorRef,
-      className: "block-editor-rich-text__inline-format-toolbar",
-      __unstableSlotName: "block-toolbar"
-    }, Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-rich-text__inline-format-toolbar-group"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(format_toolbar, null))));
-  } // Render regular toolbar
+  return state;
+}
+/**
+ * Reducer returning the selection state.
+ *
+ * @param {boolean} state  Current state.
+ * @param {Object}  action Dispatched action.
+ *
+ * @return {boolean} Updated state.
+ */


-  return Object(external_wp_element_["createElement"])(block_controls["b" /* default */], {
-    group: "inline"
-  }, Object(external_wp_element_["createElement"])(format_toolbar, null));
-};
+function selection() {
+  var _state$selectionStart, _state$selectionEnd;

-/* harmony default export */ var format_toolbar_container = (FormatToolbarContainer);
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-undo-automatic-change.js
-/**
- * WordPress dependencies
- */
+  switch (action.type) {
+    case 'SELECTION_CHANGE':
+      return {
+        selectionStart: {
+          clientId: action.clientId,
+          attributeKey: action.attributeKey,
+          offset: action.startOffset
+        },
+        selectionEnd: {
+          clientId: action.clientId,
+          attributeKey: action.attributeKey,
+          offset: action.endOffset
+        }
+      };

+    case 'RESET_SELECTION':
+      const {
+        selectionStart,
+        selectionEnd
+      } = action;
+      return {
+        selectionStart,
+        selectionEnd
+      };

+    case 'MULTI_SELECT':
+      const {
+        start,
+        end
+      } = action;
+      return {
+        selectionStart: {
+          clientId: start
+        },
+        selectionEnd: {
+          clientId: end
+        }
+      };

-/**
- * Internal dependencies
- */
+    case 'RESET_BLOCKS':
+      const startClientId = state === null || state === void 0 ? void 0 : (_state$selectionStart = state.selectionStart) === null || _state$selectionStart === void 0 ? void 0 : _state$selectionStart.clientId;
+      const endClientId = state === null || state === void 0 ? void 0 : (_state$selectionEnd = state.selectionEnd) === null || _state$selectionEnd === void 0 ? void 0 : _state$selectionEnd.clientId; // Do nothing if there's no selected block.

+      if (!startClientId && !endClientId) {
+        return state;
+      } // If the start of the selection won't exist after reset, remove selection.

-function useUndoAutomaticChange() {
-  const {
-    didAutomaticChange,
-    getSettings
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  return Object(external_wp_compose_["useRefEffect"])(element => {
-    function onKeyDown(event) {
-      const {
-        keyCode
-      } = event;

-      if (event.defaultPrevented) {
-        return;
-      }
+      if (!action.blocks.some(block => block.clientId === startClientId)) {
+        return {
+          selectionStart: {},
+          selectionEnd: {}
+        };
+      } // If the end of the selection won't exist after reset, collapse selection.

-      if (keyCode !== external_wp_keycodes_["DELETE"] && keyCode !== external_wp_keycodes_["BACKSPACE"] && keyCode !== external_wp_keycodes_["ESCAPE"]) {
-        return;
-      }

-      if (!didAutomaticChange()) {
-        return;
+      if (!action.blocks.some(block => block.clientId === endClientId)) {
+        return { ...state,
+          selectionEnd: state.selectionStart
+        };
       }

-      event.preventDefault();
-
-      getSettings().__experimentalUndo();
-    }
+  }

-    element.addEventListener('keydown', onKeyDown);
-    return () => {
-      element.removeEventListener('keydown', onKeyDown);
-    };
-  }, []);
+  return {
+    selectionStart: selectionHelper(state.selectionStart, action),
+    selectionEnd: selectionHelper(state.selectionEnd, action)
+  };
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-caret-in-format.js
 /**
- * WordPress dependencies
+ * Reducer returning whether the user is multi-selecting.
+ *
+ * @param {boolean} state  Current state.
+ * @param {Object}  action Dispatched action.
+ *
+ * @return {boolean} Updated state.
  */

+function isMultiSelecting() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-/**
- * Internal dependencies
- */
+  switch (action.type) {
+    case 'START_MULTI_SELECT':
+      return true;

+    case 'STOP_MULTI_SELECT':
+      return false;
+  }

-function useCaretInFormat(_ref) {
-  let {
-    value
-  } = _ref;
-  const hasActiveFormats = value.activeFormats && !!value.activeFormats.length;
-  const {
-    isCaretWithinFormattedText
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    enterFormattedText,
-    exitFormattedText
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (hasActiveFormats) {
-      if (!isCaretWithinFormattedText()) {
-        enterFormattedText();
-      }
-    } else if (isCaretWithinFormattedText()) {
-      exitFormattedText();
-    }
-  }, [hasActiveFormats]);
+  return state;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-mark-persistent.js
 /**
- * WordPress dependencies
+ * Reducer returning whether selection is enabled.
+ *
+ * @param {boolean} state  Current state.
+ * @param {Object}  action Dispatched action.
+ *
+ * @return {boolean} Updated state.
  */

+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;
+  }

+  return state;
+}
 /**
- * Internal dependencies
+ * Reducer returning the intial block selection.
+ *
+ * Currently this in only used to restore the selection after block deletion and
+ * pasting new content.This reducer should eventually be removed in favour of setting
+ * selection directly.
+ *
+ * @param {boolean} state  Current state.
+ * @param {Object}  action Dispatched action.
+ *
+ * @return {number|null} Initial position: 0, -1 or null.
  */

+function initialPosition() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-function useMarkPersistent(_ref) {
-  let {
-    html,
-    value
-  } = _ref;
-  const previousText = Object(external_wp_element_["useRef"])();
-  const hasActiveFormats = value.activeFormats && !!value.activeFormats.length;
-  const {
-    __unstableMarkLastChangeAsPersistent
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]); // Must be set synchronously to make sure it applies to the last change.
-
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    // Ignore mount.
-    if (!previousText.current) {
-      previousText.current = value.text;
-      return;
-    } // Text input, so don't create an undo level for every character.
-    // Create an undo level after 1 second of no input.
-
-
-    if (previousText.current !== value.text) {
-      const timeout = window.setTimeout(() => {
-        __unstableMarkLastChangeAsPersistent();
-      }, 1000);
-      previousText.current = value.text;
-      return () => {
-        window.clearTimeout(timeout);
-      };
-    }
+  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)) {
+    return action.initialPosition;
+  }

-    __unstableMarkLastChangeAsPersistent();
-  }, [html, hasActiveFormats]);
+  return state;
 }
+function blocksMode() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-// EXTERNAL MODULE: external ["wp","blob"]
-var external_wp_blob_ = __webpack_require__("xTGt");
+  if (action.type === 'TOGGLE_BLOCK_MODE') {
+    const {
+      clientId
+    } = action;
+    return { ...state,
+      [clientId]: state[clientId] && state[clientId] === 'html' ? 'visual' : 'html'
+    };
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/file-paste-handler.js
+  return state;
+}
 /**
- * WordPress dependencies
+ * Reducer returning the block insertion point visibility, either null if there
+ * is not an explicit insertion point assigned, or an object of its `index` and
+ * `rootClientId`.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */

-function filePasteHandler(files) {
-  return files.filter(_ref => {
-    let {
-      type
-    } = _ref;
-    return /^image\/(?:jpe?g|png|gif)$/.test(type);
-  }).map(file => `<img src="${Object(external_wp_blob_["createBlobURL"])(file)}">`).join('');
-}
+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 {
+        rootClientId,
+        index,
+        __unstableWithInserter
+      } = action;
+      return {
+        rootClientId,
+        index,
+        __unstableWithInserter
+      };
+
+    case 'HIDE_INSERTION_POINT':
+      return null;
+  }

-// EXTERNAL MODULE: external ["wp","shortcode"]
-var external_wp_shortcode_ = __webpack_require__("SVSp");
+  return state;
+}
+/**
+ * Reducer returning whether the post blocks match the defined template or not.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {boolean} Updated state.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/utils.js
+function 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,
+        isValid: action.isValid
+      };
+  }

+  return state;
+}
 /**
- * WordPress dependencies
+ * Reducer returning the editor setting.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */

+function settings() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : SETTINGS_DEFAULTS;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-
-
-function addActiveFormats(value, activeFormats) {
-  if (activeFormats !== null && activeFormats !== void 0 && activeFormats.length) {
-    let index = value.formats.length;
-
-    while (index--) {
-      value.formats[index] = [...activeFormats, ...(value.formats[index] || [])];
-    }
+  switch (action.type) {
+    case 'UPDATE_SETTINGS':
+      return { ...state,
+        ...action.settings
+      };
   }
+
+  return state;
 }
 /**
- * Get the multiline tag based on the multiline prop.
+ * Reducer returning the user preferences.
  *
- * @param {?(string|boolean)} multiline The multiline prop.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  *
- * @return {?string} The multiline tag.
+ * @return {string} Updated state.
  */

-function getMultilineTag(multiline) {
-  if (multiline !== true && multiline !== 'p' && multiline !== 'li') {
-    return;
-  }
+function preferences() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : PREFERENCES_DEFAULTS;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-  return multiline === true ? 'p' : multiline;
-}
-function getAllowedFormats(_ref) {
-  let {
-    allowedFormats,
-    formattingControls,
-    disableFormats
-  } = _ref;
+  switch (action.type) {
+    case 'INSERT_BLOCKS':
+    case 'REPLACE_BLOCKS':
+      return action.blocks.reduce((prevState, block) => {
+        const {
+          attributes,
+          name: blockName
+        } = block;
+        const match = (0,external_wp_data_namespaceObject.select)(external_wp_blocks_namespaceObject.store).getActiveBlockVariation(blockName, attributes); // If a block variation match is found change the name to be the same with the
+        // one that is used for block variations in the Inserter (`getItemFromVariation`).

-  if (disableFormats) {
-    return getAllowedFormats.EMPTY_ARRAY;
-  }
+        let id = match !== null && match !== void 0 && match.name ? `${blockName}/${match.name}` : blockName;
+        const insert = {
+          name: id
+        };

-  if (!allowedFormats && !formattingControls) {
-    return;
-  }
+        if (blockName === 'core/block') {
+          insert.ref = attributes.ref;
+          id += '/' + attributes.ref;
+        }

-  if (allowedFormats) {
-    return allowedFormats;
+        return { ...prevState,
+          insertUsage: { ...prevState.insertUsage,
+            [id]: {
+              time: action.time,
+              count: prevState.insertUsage[id] ? prevState.insertUsage[id].count + 1 : 1,
+              insert
+            }
+          }
+        };
+      }, state);
   }

-  external_wp_deprecated_default()('wp.blockEditor.RichText formattingControls prop', {
-    since: '5.4',
-    alternative: 'allowedFormats'
-  });
-  return formattingControls.map(name => `core/${name}`);
+  return state;
 }
-getAllowedFormats.EMPTY_ARRAY = [];
-const isShortcode = text => Object(external_wp_shortcode_["regexp"])('.*').test(text);
 /**
- * Creates a link from pasted URL.
- * Creates a paragraph block containing a link to the URL, and calls `onReplace`.
+ * Reducer returning an object where each key is a block client ID, its value
+ * representing the settings for its nested blocks.
  *
- * @param {string}   url       The URL that could not be embedded.
- * @param {Function} onReplace Function to call with the created fallback block.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */

-function createLinkInParagraph(url, onReplace) {
-  const link = Object(external_wp_element_["createElement"])("a", {
-    href: url
-  }, url);
-  onReplace(Object(external_wp_blocks_["createBlock"])('core/paragraph', {
-    content: Object(external_wp_element_["renderToString"])(link)
-  }));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/split-value.js
-/**
- * WordPress dependencies
- */
+const blockListSettings = function () {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-/*
- * Signals to the RichText owner that the block can be replaced with two blocks
- * as a result of splitting the block by pressing enter, or with blocks as a
- * result of splitting the block by pasting block content in the instance.
- */
+  switch (action.type) {
+    // Even if the replaced blocks have the same client ID, our logic
+    // should correct the state.
+    case 'REPLACE_BLOCKS':
+    case 'REMOVE_BLOCKS':
+      {
+        return (0,external_lodash_namespaceObject.omit)(state, action.clientIds);
+      }

-function splitValue(_ref) {
-  let {
-    value,
-    pastedBlocks = [],
-    onReplace,
-    onSplit,
-    onSplitMiddle,
-    multilineTag
-  } = _ref;
+    case 'UPDATE_BLOCK_LIST_SETTINGS':
+      {
+        const {
+          clientId
+        } = action;

-  if (!onReplace || !onSplit) {
-    return;
-  }
+        if (!action.settings) {
+          if (state.hasOwnProperty(clientId)) {
+            return (0,external_lodash_namespaceObject.omit)(state, clientId);
+          }

-  const blocks = [];
-  const [before, after] = Object(external_wp_richText_["split"])(value);
-  const hasPastedBlocks = pastedBlocks.length > 0;
-  let lastPastedBlockIndex = -1; // Consider the after value to be the original it is not empty and the
-  // before value *is* empty.
+          return state;
+        }

-  const isAfterOriginal = Object(external_wp_richText_["isEmpty"])(before) && !Object(external_wp_richText_["isEmpty"])(after); // Create a block with the content before the caret if there's no pasted
-  // blocks, or if there are pasted blocks and the value is not empty. We do
-  // not want a leading empty block on paste, but we do if split with e.g. the
-  // enter key.
+        if ((0,external_lodash_namespaceObject.isEqual)(state[clientId], action.settings)) {
+          return state;
+        }

-  if (!hasPastedBlocks || !Object(external_wp_richText_["isEmpty"])(before)) {
-    blocks.push(onSplit(Object(external_wp_richText_["toHTMLString"])({
-      value: before,
-      multilineTag
-    }), !isAfterOriginal));
-    lastPastedBlockIndex += 1;
+        return { ...state,
+          [clientId]: action.settings
+        };
+      }
   }

-  if (hasPastedBlocks) {
-    blocks.push(...pastedBlocks);
-    lastPastedBlockIndex += pastedBlocks.length;
-  } else if (onSplitMiddle) {
-    blocks.push(onSplitMiddle());
-  } // If there's pasted blocks, append a block with non empty content / after
-  // the caret. Otherwise, do append an empty block if there is no
-  // `onSplitMiddle` prop, but if there is and the content is empty, the
-  // middle block is enough to set focus in.
-
+  return state;
+};
+/**
+ * Reducer returning whether the navigation mode is enabled or not.
+ *
+ * @param {string} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {string} Updated state.
+ */

-  if (hasPastedBlocks ? !Object(external_wp_richText_["isEmpty"])(after) : !onSplitMiddle || !Object(external_wp_richText_["isEmpty"])(after)) {
-    blocks.push(onSplit(Object(external_wp_richText_["toHTMLString"])({
-      value: after,
-      multilineTag
-    }), isAfterOriginal));
-  } // If there are pasted blocks, set the selection to the last one. Otherwise,
-  // set the selection to the second block.
+function 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;
+  }

-  const indexToSelect = hasPastedBlocks ? lastPastedBlockIndex : 1; // If there are pasted blocks, move the caret to the end of the selected
-  // block Otherwise, retain the default value.
+  if (action.type === 'SET_NAVIGATION_MODE') {
+    return action.isNavigationMode;
+  }

-  const initialPosition = hasPastedBlocks ? -1 : 0;
-  onReplace(blocks, indexToSelect, initialPosition);
+  return state;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-paste-handler.js
 /**
- * WordPress dependencies
+ * Reducer returning whether the block moving mode is enabled or not.
+ *
+ * @param {string|null} state  Current state.
+ * @param {Object}      action Dispatched action.
+ *
+ * @return {string|null} Updated state.
  */

+function 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;
+  }

+  if (action.type === 'SET_NAVIGATION_MODE') {
+    return null;
+  }

-
-
+  return state;
+}
 /**
- * Internal dependencies
+ * Reducer return an updated state representing the most recent block attribute
+ * update. The state is structured as an object where the keys represent the
+ * client IDs of blocks, the values a subset of attributes from the most recent
+ * block update. The state is always reset to null if the last action is
+ * anything other than an attributes update.
+ *
+ * @param {Object<string,Object>} state  Current state.
+ * @param {Object}                action Action object.
+ *
+ * @return {[string,Object]} Updated state.
  */

+function lastBlockAttributesChange(state, action) {
+  switch (action.type) {
+    case 'UPDATE_BLOCK':
+      if (!action.updates.attributes) {
+        break;
+      }

+      return {
+        [action.clientId]: action.updates.attributes
+      };

+    case 'UPDATE_BLOCK_ATTRIBUTES':
+      return action.clientIds.reduce((accumulator, id) => ({ ...accumulator,
+        [id]: action.uniqueByBlock ? action.attributes[id] : action.attributes
+      }), {});
+  }

-/** @typedef {import('@wordpress/rich-text').RichTextValue} RichTextValue */
-
+  return null;
+}
 /**
- * Replaces line separators with line breaks if not multiline.
- * Replaces line breaks with line separators if multiline.
+ * Reducer returning automatic change state.
  *
- * @param {RichTextValue} value       Value to adjust.
- * @param {boolean}       isMultiline Whether to adjust to multiline or not.
+ * @param {boolean} state  Current state.
+ * @param {Object}  action Dispatched action.
  *
- * @return {RichTextValue} Adjusted value.
+ * @return {string} Updated state.
  */

-function adjustLines(value, isMultiline) {
-  if (isMultiline) {
-    return Object(external_wp_richText_["replace"])(value, /\n+/g, external_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]);
-  }
-
-  return Object(external_wp_richText_["replace"])(value, new RegExp(external_wp_richText_["__UNSTABLE_LINE_SEPARATOR"], 'g'), '\n');
-}
-
-function usePasteHandler(props) {
-  const propsRef = Object(external_wp_element_["useRef"])(props);
-  propsRef.current = props;
-  return Object(external_wp_compose_["useRefEffect"])(element => {
-    function _onPaste(event) {
-      const {
-        isSelected,
-        disableFormats,
-        onChange,
-        value,
-        formatTypes,
-        tagName,
-        onReplace,
-        onSplit,
-        onSplitMiddle,
-        __unstableEmbedURLOnPaste,
-        multilineTag,
-        preserveWhiteSpace,
-        pastePlainText
-      } = propsRef.current;
+function automaticChangeStatus(state, action) {
+  switch (action.type) {
+    case 'MARK_AUTOMATIC_CHANGE':
+      return 'pending';

-      if (!isSelected) {
-        event.preventDefault();
-        return;
+    case 'MARK_AUTOMATIC_CHANGE_FINAL':
+      if (state === 'pending') {
+        return 'final';
       }

-      const {
-        clipboardData
-      } = event;
-      let plainText = '';
-      let html = ''; // IE11 only supports `Text` as an argument for `getData` and will
-      // otherwise throw an invalid argument error, so we try the standard
-      // arguments first, then fallback to `Text` if they fail.
+      return;

-      try {
-        plainText = clipboardData.getData('text/plain');
-        html = clipboardData.getData('text/html');
-      } catch (error1) {
-        try {
-          html = clipboardData.getData('Text');
-        } catch (error2) {
-          // Some browsers like UC Browser paste plain text by default and
-          // don't support clipboardData at all, so allow default
-          // behaviour.
-          return;
-        }
-      } // Remove Windows-specific metadata appended within copied HTML text.
+    case 'SELECTION_CHANGE':
+      // As long as the state is not final, ignore any selection changes.
+      if (state !== 'final') {
+        return state;
+      }

+      return;
+    // Undoing an automatic change should still be possible after mouse
+    // move.

-      html = removeWindowsFragments(html); // Strip meta tag.
+    case 'START_TYPING':
+    case 'STOP_TYPING':
+      return state;
+  } // Reset the state by default (for any action not handled).

-      html = removeCharsetMetaTag(html);
-      event.preventDefault(); // Allows us to ask for this information when we get a report.
+}
+/**
+ * Reducer returning current highlighted block.
+ *
+ * @param {boolean} state  Current highlighted block.
+ * @param {Object}  action Dispatched action.
+ *
+ * @return {string} Updated state.
+ */

-      window.console.log('Received HTML:\n\n', html);
-      window.console.log('Received plain text:\n\n', plainText);
+function highlightedBlock(state, action) {
+  switch (action.type) {
+    case 'TOGGLE_BLOCK_HIGHLIGHT':
+      const {
+        clientId,
+        isHighlighted
+      } = action;

-      if (disableFormats) {
-        onChange(Object(external_wp_richText_["insert"])(value, plainText));
-        return;
+      if (isHighlighted) {
+        return clientId;
+      } else if (state === clientId) {
+        return null;
       }

-      const transformed = formatTypes.reduce((accumlator, _ref) => {
-        let {
-          __unstablePasteRule
-        } = _ref;
-
-        // Only allow one transform.
-        if (__unstablePasteRule && accumlator === value) {
-          accumlator = __unstablePasteRule(value, {
-            html,
-            plainText
-          });
-        }
-
-        return accumlator;
-      }, value);
+      return state;

-      if (transformed !== value) {
-        onChange(transformed);
-        return;
+    case 'SELECT_BLOCK':
+      if (action.clientId !== state) {
+        return null;
       }

-      const files = [...Object(external_wp_dom_["getFilesFromDataTransfer"])(clipboardData)];
-      const isInternal = clipboardData.getData('rich-text') === 'true'; // If the data comes from a rich text instance, we can directly use it
-      // without filtering the data. The filters are only meant for externally
-      // pasted content and remove inline styles.
-
-      if (isInternal) {
-        const pastedMultilineTag = clipboardData.getData('rich-text-multi-line-tag') || undefined;
-        let pastedValue = Object(external_wp_richText_["create"])({
-          html,
-          multilineTag: pastedMultilineTag,
-          multilineWrapperTags: pastedMultilineTag === 'li' ? ['ul', 'ol'] : undefined,
-          preserveWhiteSpace
-        });
-        pastedValue = adjustLines(pastedValue, !!multilineTag);
-        addActiveFormats(pastedValue, value.activeFormats);
-        onChange(Object(external_wp_richText_["insert"])(value, pastedValue));
-        return;
-      }
+  }

-      if (pastePlainText) {
-        onChange(Object(external_wp_richText_["insert"])(value, Object(external_wp_richText_["create"])({
-          text: plainText
-        })));
-        return;
-      } // Only process file if no HTML is present.
-      // Note: a pasted file may have the URL as plain text.
+  return state;
+}
+/**
+ * Reducer returning the block insertion event list state.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
+ */

+function lastBlockInserted() {
+  var _action$meta;

-      if (files && files.length && !html) {
-        const content = Object(external_wp_blocks_["pasteHandler"])({
-          HTML: filePasteHandler(files),
-          mode: 'BLOCKS',
-          tagName,
-          preserveWhiteSpace
-        }); // Allows us to ask for this information when we get a report.
-        // eslint-disable-next-line no-console
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-        window.console.log('Received items:\n\n', files);
+  switch (action.type) {
+    case 'INSERT_BLOCKS':
+      if (!action.blocks.length) {
+        return state;
+      }

-        if (onReplace && Object(external_wp_richText_["isEmpty"])(value)) {
-          onReplace(content);
-        } else {
-          splitValue({
-            value,
-            pastedBlocks: content,
-            onReplace,
-            onSplit,
-            onSplitMiddle,
-            multilineTag
-          });
-        }
+      const clientId = action.blocks[0].clientId;
+      const source = (_action$meta = action.meta) === null || _action$meta === void 0 ? void 0 : _action$meta.source;
+      return {
+        clientId,
+        source
+      };

-        return;
-      }
+    case 'RESET_BLOCKS':
+      return {};
+  }

-      let mode = onReplace && onSplit ? 'AUTO' : 'INLINE'; // Force the blocks mode when the user is pasting
-      // on a new line & the content resembles a shortcode.
-      // Otherwise it's going to be detected as inline
-      // and the shortcode won't be replaced.
+  return state;
+}
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  blocks,
+  isTyping,
+  draggedBlocks,
+  isCaretWithinFormattedText,
+  selection,
+  isMultiSelecting,
+  isSelectionEnabled,
+  initialPosition,
+  blocksMode,
+  blockListSettings,
+  insertionPoint,
+  template,
+  settings,
+  preferences,
+  lastBlockAttributesChange,
+  isNavigationMode,
+  hasBlockMovingClientId,
+  automaticChangeStatus,
+  highlightedBlock,
+  lastBlockInserted
+}));

-      if (mode === 'AUTO' && Object(external_wp_richText_["isEmpty"])(value) && isShortcode(plainText)) {
-        mode = 'BLOCKS';
-      }
+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js

-      if (__unstableEmbedURLOnPaste && Object(external_wp_richText_["isEmpty"])(value) && Object(external_wp_url_["isURL"])(plainText.trim())) {
-        mode = 'BLOCKS';
-      }

-      const content = Object(external_wp_blocks_["pasteHandler"])({
-        HTML: html,
-        plainText,
-        mode,
-        tagName,
-        preserveWhiteSpace
-      });
+var LEAF_KEY, hasWeakMap;

-      if (typeof content === 'string') {
-        let valueToInsert = Object(external_wp_richText_["create"])({
-          html: content
-        }); // If the content should be multiline, we should process text
-        // separated by a line break as separate lines.
+/**
+ * Arbitrary value used as key for referencing cache object in WeakMap tree.
+ *
+ * @type {Object}
+ */
+LEAF_KEY = {};

-        valueToInsert = adjustLines(valueToInsert, !!multilineTag);
-        addActiveFormats(valueToInsert, value.activeFormats);
-        onChange(Object(external_wp_richText_["insert"])(value, valueToInsert));
-      } else if (content.length > 0) {
-        if (onReplace && Object(external_wp_richText_["isEmpty"])(value)) {
-          onReplace(content, content.length - 1, -1);
-        } else {
-          splitValue({
-            value,
-            pastedBlocks: content,
-            onReplace,
-            onSplit,
-            onSplitMiddle,
-            multilineTag
-          });
-        }
-      }
-    }
+/**
+ * Whether environment supports WeakMap.
+ *
+ * @type {boolean}
+ */
+hasWeakMap = typeof WeakMap !== 'undefined';

-    element.addEventListener('paste', _onPaste);
-    return () => {
-      element.removeEventListener('paste', _onPaste);
-    };
-  }, []);
-}
 /**
- * Normalizes a given string of HTML to remove the Windows specific "Fragment" comments
- * and any preceeding and trailing whitespace.
+ * Returns the first argument as the sole entry in an array.
  *
- * @param {string} html the html to be normalized
- * @return {string} the normalized html
+ * @param {*} value Value to return.
+ *
+ * @return {Array} Value returned as entry in array.
  */
+function arrayOf( value ) {
+	return [ value ];
+}

-function removeWindowsFragments(html) {
-  const startReg = /.*<!--StartFragment-->/s;
-  const endReg = /<!--EndFragment-->.*/s;
-  return html.replace(startReg, '').replace(endReg, '');
+/**
+ * Returns true if the value passed is object-like, or false otherwise. A value
+ * is object-like if it can support property assignment, e.g. object or array.
+ *
+ * @param {*} value Value to test.
+ *
+ * @return {boolean} Whether value is object-like.
+ */
+function isObjectLike( value ) {
+	return !! value && 'object' === typeof value;
 }
+
 /**
- * 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
+ * Creates and returns a new cache object.
  *
- * @param {string} html the html to be stripped of the meta tag.
- * @return {string} the cleaned html
+ * @return {Object} Cache object.
  */
+function createCache() {
+	var cache = {
+		clear: function() {
+			cache.head = null;
+		},
+	};

+	return cache;
+}

-function removeCharsetMetaTag(html) {
-  const metaTag = `<meta charset='utf-8'>`;
+/**
+ * Returns true if entries within the two arrays are strictly equal by
+ * reference from a starting index.
+ *
+ * @param {Array}  a         First array.
+ * @param {Array}  b         Second array.
+ * @param {number} fromIndex Index from which to start comparison.
+ *
+ * @return {boolean} Whether arrays are shallowly equal.
+ */
+function isShallowEqual( a, b, fromIndex ) {
+	var i;

-  if (html.startsWith(metaTag)) {
-    return html.slice(metaTag.length);
-  }
+	if ( a.length !== b.length ) {
+		return false;
+	}

-  return html;
+	for ( i = fromIndex; i < a.length; i++ ) {
+		if ( a[ i ] !== b[ i ] ) {
+			return false;
+		}
+	}
+
+	return true;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-input-rules.js
 /**
- * WordPress dependencies
+ * Returns a memoized selector function. The getDependants function argument is
+ * called before the memoized selector and is expected to return an immutable
+ * reference or array of references on which the selector depends for computing
+ * its own return value. The memoize cache is preserved only as long as those
+ * dependant references remain the same. If getDependants returns a different
+ * reference(s), the cache is cleared and the selector value regenerated.
+ *
+ * @param {Function} selector      Selector function.
+ * @param {Function} getDependants Dependant getter returning an immutable
+ *                                 reference or array of reference used in
+ *                                 cache bust consideration.
+ *
+ * @return {Function} Memoized selector.
  */
+/* harmony default export */ function rememo(selector, getDependants ) {
+	var rootCache, getCache;

+	// Use object source as dependant if getter not provided
+	if ( ! getDependants ) {
+		getDependants = arrayOf;
+	}

+	/**
+	 * Returns the root cache. If WeakMap is supported, this is assigned to the
+	 * root WeakMap cache set, otherwise it is a shared instance of the default
+	 * cache object.
+	 *
+	 * @return {(WeakMap|Object)} Root cache object.
+	 */
+	function getRootCache() {
+		return rootCache;
+	}

+	/**
+	 * Returns the cache for a given dependants array. When possible, a WeakMap
+	 * will be used to create a unique cache for each set of dependants. This
+	 * is feasible due to the nature of WeakMap in allowing garbage collection
+	 * to occur on entries where the key object is no longer referenced. Since
+	 * WeakMap requires the key to be an object, this is only possible when the
+	 * dependant is object-like. The root cache is created as a hierarchy where
+	 * each top-level key is the first entry in a dependants set, the value a
+	 * WeakMap where each key is the next dependant, and so on. This continues
+	 * so long as the dependants are object-like. If no dependants are object-
+	 * like, then the cache is shared across all invocations.
+	 *
+	 * @see isObjectLike
+	 *
+	 * @param {Array} dependants Selector dependants.
+	 *
+	 * @return {Object} Cache object.
+	 */
+	function getWeakMapCache( dependants ) {
+		var caches = rootCache,
+			isUniqueByDependants = true,
+			i, dependant, map, cache;

+		for ( i = 0; i < dependants.length; i++ ) {
+			dependant = dependants[ i ];

-/**
- * Internal dependencies
- */
+			// Can only compose WeakMap from object-like key.
+			if ( ! isObjectLike( dependant ) ) {
+				isUniqueByDependants = false;
+				break;
+			}

+			// Does current segment of cache already have a WeakMap?
+			if ( caches.has( dependant ) ) {
+				// Traverse into nested WeakMap.
+				caches = caches.get( dependant );
+			} else {
+				// Create, set, and traverse into a new one.
+				map = new WeakMap();
+				caches.set( dependant, map );
+				caches = map;
+			}
+		}

-function useInputRules(props) {
-  const {
-    __unstableMarkLastChangeAsPersistent,
-    __unstableMarkAutomaticChange
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const propsRef = Object(external_wp_element_["useRef"])(props);
-  propsRef.current = props;
-  return Object(external_wp_compose_["useRefEffect"])(element => {
-    function inputRule() {
-      const {
-        value,
-        onReplace
-      } = propsRef.current;
+		// We use an arbitrary (but consistent) object as key for the last item
+		// in the WeakMap to serve as our running cache.
+		if ( ! caches.has( LEAF_KEY ) ) {
+			cache = createCache();
+			cache.isUniqueByDependants = isUniqueByDependants;
+			caches.set( LEAF_KEY, cache );
+		}

-      if (!onReplace) {
-        return;
-      }
+		return caches.get( LEAF_KEY );
+	}

-      const {
-        start,
-        text
-      } = value;
-      const characterBefore = text.slice(start - 1, start); // The character right before the caret must be a plain space.
+	// Assign cache handler by availability of WeakMap
+	getCache = hasWeakMap ? getWeakMapCache : getRootCache;

-      if (characterBefore !== ' ') {
-        return;
-      }
+	/**
+	 * Resets root memoization cache.
+	 */
+	function clear() {
+		rootCache = hasWeakMap ? new WeakMap() : createCache();
+	}

-      const trimmedTextBefore = text.slice(0, start).trim();
-      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;
-      });
+	// eslint-disable-next-line jsdoc/check-param-names
+	/**
+	 * The augmented selector call, considering first whether dependants have
+	 * changed before passing it to underlying memoize function.
+	 *
+	 * @param {Object} source    Source object for derivation.
+	 * @param {...*}   extraArgs Additional arguments to pass to selector.
+	 *
+	 * @return {*} Selector result.
+	 */
+	function callSelector( /* source, ...extraArgs */ ) {
+		var len = arguments.length,
+			cache, node, i, args, dependants;

-      if (!transformation) {
-        return;
-      }
+		// Create copy of arguments (avoid leaking deoptimization).
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}

-      const content = Object(external_wp_richText_["toHTMLString"])({
-        value: Object(external_wp_richText_["slice"])(value, start, text.length)
-      });
-      const block = transformation.transform(content);
-      onReplace([block]);
+		dependants = getDependants.apply( null, args );
+		cache = getCache( dependants );

-      __unstableMarkAutomaticChange();
-    }
+		// If not guaranteed uniqueness by dependants (primitive type or lack
+		// of WeakMap support), shallow compare against last dependants and, if
+		// references have changed, destroy cache to recalculate result.
+		if ( ! cache.isUniqueByDependants ) {
+			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
+				cache.clear();
+			}

-    function onInput(event) {
-      const {
-        inputType,
-        type
-      } = event;
-      const {
-        value,
-        onChange,
-        __unstableAllowPrefixTransformations,
-        formatTypes
-      } = propsRef.current; // Only run input rules when inserting text.
+			cache.lastDependants = dependants;
+		}

-      if (inputType !== 'insertText' && type !== 'compositionend') {
-        return;
-      }
+		node = cache.head;
+		while ( node ) {
+			// Check whether node arguments match arguments
+			if ( ! isShallowEqual( node.args, args, 1 ) ) {
+				node = node.next;
+				continue;
+			}

-      if (__unstableAllowPrefixTransformations && inputRule) {
-        inputRule();
-      }
+			// At this point we can assume we've found a match

-      const transformed = formatTypes.reduce((accumlator, _ref3) => {
-        let {
-          __unstableInputRule
-        } = _ref3;
+			// Surface matched node to head if not already
+			if ( node !== cache.head ) {
+				// Adjust siblings to point to each other.
+				node.prev.next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}

-        if (__unstableInputRule) {
-          accumlator = __unstableInputRule(accumlator);
-        }
+				node.next = cache.head;
+				node.prev = null;
+				cache.head.prev = node;
+				cache.head = node;
+			}

-        return accumlator;
-      }, value);
+			// Return immediately
+			return node.val;
+		}

-      if (transformed !== value) {
-        __unstableMarkLastChangeAsPersistent();
+		// No cached value found. Continue to insertion phase:

-        onChange({ ...transformed,
-          activeFormats: value.activeFormats
-        });
+		node = {
+			// Generate the result from original function
+			val: selector.apply( null, args ),
+		};

-        __unstableMarkAutomaticChange();
-      }
-    }
+		// Avoid including the source object in the cache.
+		args[ 0 ] = null;
+		node.args = args;

-    element.addEventListener('input', onInput);
-    element.addEventListener('compositionend', onInput);
-    return () => {
-      element.removeEventListener('input', onInput);
-      element.removeEventListener('compositionend', onInput);
-    };
-  }, []);
+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was
+
+		// Shift existing head down list
+		if ( cache.head ) {
+			cache.head.prev = node;
+			node.next = cache.head;
+		}
+
+		cache.head = node;
+
+		return node.val;
+	}
+
+	callSelector.getDependants = getDependants;
+	callSelector.clear = clear;
+	clear();
+
+	return callSelector;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-enter.js
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol.js
+
+
 /**
  * WordPress dependencies
  */

+const symbol = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_symbol = (symbol);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/selectors.js
 /**
- * WordPress dependencies
+ * External dependencies
  */


+/**
+ * WordPress dependencies
+ */
+




 /**
- * Internal dependencies
+ * A block selection object.
+ *
+ * @typedef {Object} WPBlockSelection
+ *
+ * @property {string} clientId     A block client ID.
+ * @property {string} attributeKey A block attribute key.
+ * @property {number} offset       An attribute value offset, based on the rich
+ *                                 text value. See `wp.richText.create`.
  */
+// Module constants

+const MILLISECONDS_PER_HOUR = 3600 * 1000;
+const MILLISECONDS_PER_DAY = 24 * 3600 * 1000;
+const MILLISECONDS_PER_WEEK = 7 * 24 * 3600 * 1000;
+/**
+ * Shared reference to an empty array for cases where it is important to avoid
+ * returning a new array reference on every invocation, as in a connected or
+ * other pure component which performs `shouldComponentUpdate` check on props.
+ * This should be used as a last resort, since the normalized data should be
+ * maintained by the reducer result in state.
+ *
+ * @type {Array}
+ */

+const EMPTY_ARRAY = [];
+/**
+ * Returns a block's name given its client ID, or null if no block exists with
+ * the client ID.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {string} Block name.
+ */

-function useEnter(props) {
-  const {
-    __unstableMarkAutomaticChange
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const propsRef = Object(external_wp_element_["useRef"])(props);
-  propsRef.current = props;
-  return Object(external_wp_compose_["useRefEffect"])(element => {
-    function onKeyDown(event) {
-      if (event.defaultPrevented) {
-        return;
-      }
-
-      const {
-        removeEditorOnlyFormats,
-        value,
-        onReplace,
-        onSplit,
-        onSplitMiddle,
-        multilineTag,
-        onChange,
-        disableLineBreaks,
-        onSplitAtEnd
-      } = propsRef.current;
-
-      if (event.keyCode !== external_wp_keycodes_["ENTER"]) {
-        return;
-      }
+function getBlockName(state, clientId) {
+  const block = state.blocks.byClientId[clientId];
+  const socialLinkName = 'core/social-link';

-      event.preventDefault();
-      const _value = { ...value
-      };
-      _value.formats = removeEditorOnlyFormats(value);
-      const canSplit = onReplace && onSplit;
+  if (external_wp_element_namespaceObject.Platform.OS !== 'web' && (block === null || block === void 0 ? void 0 : block.name) === socialLinkName) {
+    const attributes = state.blocks.attributes[clientId];
+    const {
+      service
+    } = attributes;
+    return service ? `${socialLinkName}-${service}` : socialLinkName;
+  }

-      if (onReplace) {
-        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);
-        });
+  return block ? block.name : null;
+}
+/**
+ * Returns whether a block is valid or not.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {boolean} Is Valid.
+ */

-        if (transformation) {
-          onReplace([transformation.transform({
-            content: _value.text
-          })]);
+function isBlockValid(state, clientId) {
+  const block = state.blocks.byClientId[clientId];
+  return !!block && block.isValid;
+}
+/**
+ * Returns a block's attributes given its client ID, or null if no block exists with
+ * the client ID.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {Object?} Block attributes.
+ */

-          __unstableMarkAutomaticChange();
-        }
-      }
+function getBlockAttributes(state, clientId) {
+  const block = state.blocks.byClientId[clientId];

-      if (multilineTag) {
-        if (event.shiftKey) {
-          if (!disableLineBreaks) {
-            onChange(Object(external_wp_richText_["insert"])(_value, '\n'));
-          }
-        } else if (canSplit && Object(external_wp_richText_["__unstableIsEmptyLine"])(_value)) {
-          splitValue({
-            value: _value,
-            onReplace,
-            onSplit,
-            onSplitMiddle,
-            multilineTag
-          });
-        } else {
-          onChange(Object(external_wp_richText_["__unstableInsertLineSeparator"])(_value));
-        }
-      } else {
-        const {
-          text,
-          start,
-          end
-        } = _value;
-        const canSplitAtEnd = onSplitAtEnd && start === end && end === text.length;
+  if (!block) {
+    return null;
+  }

-        if (event.shiftKey || !canSplit && !canSplitAtEnd) {
-          if (!disableLineBreaks) {
-            onChange(Object(external_wp_richText_["insert"])(_value, '\n'));
-          }
-        } else if (!canSplit && canSplitAtEnd) {
-          onSplitAtEnd();
-        } else if (canSplit) {
-          splitValue({
-            value: _value,
-            onReplace,
-            onSplit,
-            onSplitMiddle,
-            multilineTag
-          });
-        }
-      }
-    }
+  return state.blocks.attributes[clientId];
+}
+/**
+ * Returns a block given its client ID. This is a parsed copy of the block,
+ * containing its `blockName`, `clientId`, and current `attributes` state. This
+ * is not the block's registration settings, which must be retrieved from the
+ * blocks module registration store.
+ *
+ * getBlock recurses through its inner blocks until all its children blocks have
+ * been retrieved. Note that getBlock will not return the child inner blocks of
+ * an inner block controller. This is because an inner block controller syncs
+ * itself with its own entity, and should therefore not be included with the
+ * blocks of a different entity. For example, say you call `getBlocks( TP )` to
+ * get the blocks of a template part. If another template part is a child of TP,
+ * then the nested template part's child blocks will not be returned. This way,
+ * the template block itself is considered part of the parent, but the children
+ * are not.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {Object} Parsed block object.
+ */

-    element.addEventListener('keydown', onKeyDown);
-    return () => {
-      element.removeEventListener('keydown', onKeyDown);
-    };
-  }, []);
-}
+function getBlock(state, clientId) {
+  const block = state.blocks.byClientId[clientId];

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-format-types.js
-/**
- * WordPress dependencies
- */
+  if (!block) {
+    return null;
+  }
+
+  return state.blocks.tree[clientId];
+}
+const __unstableGetBlockWithoutInnerBlocks = rememo((state, clientId) => {
+  const block = state.blocks.byClientId[clientId];

+  if (!block) {
+    return null;
+  }

+  return { ...block,
+    attributes: getBlockAttributes(state, clientId)
+  };
+}, (state, clientId) => [state.blocks.byClientId[clientId], state.blocks.attributes[clientId]]);
 /**
- * Internal dependencies
+ * Returns all block objects for the current post being edited as an array in
+ * the order they appear in the post. Note that this will exclude child blocks
+ * of nested inner block controllers.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {Object[]} Post blocks.
  */

+function getBlocks(state, rootClientId) {
+  var _state$blocks$tree$tr;

-
-function formatTypesSelector(select) {
-  return select(external_wp_richText_["store"]).getFormatTypes();
+  const treeKey = !rootClientId || !areInnerBlocksControlled(state, rootClientId) ? rootClientId || '' : 'controlled||' + rootClientId;
+  return ((_state$blocks$tree$tr = state.blocks.tree[treeKey]) === null || _state$blocks$tree$tr === void 0 ? void 0 : _state$blocks$tree$tr.innerBlocks) || EMPTY_ARRAY;
 }
 /**
- * Set of all interactive content tags.
+ * Returns a stripped down block object containing only its client ID,
+ * and its inner blocks' client IDs.
  *
- * @see https://html.spec.whatwg.org/multipage/dom.html#interactive-content
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Client ID of the block to get.
+ *
+ * @return {Object} Client IDs of the post blocks.
  */

-
-const interactiveContentTags = new Set(['a', 'audio', 'button', 'details', 'embed', 'iframe', 'input', 'label', 'select', 'textarea', 'video']);
+const __unstableGetClientIdWithClientIdsTree = rememo((state, clientId) => ({
+  clientId,
+  innerBlocks: __unstableGetClientIdsTree(state, clientId)
+}), state => [state.blocks.order]);
 /**
- * This hook provides RichText with the `formatTypes` and its derived props from
- * experimental format type settings.
+ * Returns the block tree represented in the block-editor store from the
+ * given root, consisting of stripped down block objects containing only
+ * their client IDs, and their inner blocks' client IDs.
  *
- * @param {Object}  $0                              Options
- * @param {string}  $0.clientId                     Block client ID.
- * @param {string}  $0.identifier                   Block attribute.
- * @param {boolean} $0.withoutInteractiveFormatting Whether to clean the interactive formattings or not.
- * @param {Array}   $0.allowedFormats               Allowed formats
+ * @param {Object}  state        Editor state.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {Object[]} Client IDs of the post blocks.
  */

-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(_ref2 => {
-      let {
-        name,
-        tagName
-      } = _ref2;
-
-      if (allowedFormats && !allowedFormats.includes(name)) {
-        return false;
-      }
-
-      if (withoutInteractiveFormatting && interactiveContentTags.has(tagName)) {
-        return false;
-      }
-
-      return true;
-    });
-  }, [allFormatTypes, allowedFormats, interactiveContentTags]);
-  const keyedSelected = Object(external_wp_data_["useSelect"])(select => formatTypes.reduce((accumulator, type) => {
-    if (type.__experimentalGetPropsForEditableTreePreparation) {
-      accumulator[type.name] = type.__experimentalGetPropsForEditableTreePreparation(select, {
-        richTextIdentifier: identifier,
-        blockClientId: clientId
-      });
-    }
+const __unstableGetClientIdsTree = rememo(function (state) {
+  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
+  return (0,external_lodash_namespaceObject.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.
+ *
+ * @param {Object} state     Global application state.
+ * @param {Array}  clientIds Array of blocks to inspect.
+ *
+ * @return {Array} ids of descendants.
+ */

-    return accumulator;
-  }, {}), [formatTypes, clientId, identifier]);
-  const dispatch = Object(external_wp_data_["useDispatch"])();
-  const prepareHandlers = [];
-  const valueHandlers = [];
-  const changeHandlers = [];
-  const dependencies = [];
-  formatTypes.forEach(type => {
-    if (type.__experimentalCreatePrepareEditableTree) {
-      const selected = keyedSelected[type.name];
+const getClientIdsOfDescendants = (state, clientIds) => (0,external_lodash_namespaceObject.flatMap)(clientIds, clientId => {
+  const descendants = getBlockOrder(state, clientId);
+  return [...descendants, ...getClientIdsOfDescendants(state, descendants)];
+});
+/**
+ * Returns an array containing the clientIds of the top-level blocks
+ * and their descendants of any depth (for nested blocks).
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Array} ids of top-level and descendant blocks.
+ */

-      const handler = type.__experimentalCreatePrepareEditableTree(selected, {
-        richTextIdentifier: identifier,
-        blockClientId: clientId
-      });
+const getClientIdsWithDescendants = rememo(state => {
+  const topLevelIds = getBlockOrder(state);
+  return [...topLevelIds, ...getClientIdsOfDescendants(state, topLevelIds)];
+}, state => [state.blocks.order]);
+/**
+ * Returns the total number of blocks, or the total number of blocks with a specific name in a post.
+ * The number returned includes nested blocks.
+ *
+ * @param {Object}  state     Global application state.
+ * @param {?string} blockName Optional block name, if specified only blocks of that type will be counted.
+ *
+ * @return {number} Number of blocks in the post, or number of blocks with name equal to blockName.
+ */

-      if (type.__experimentalCreateOnChangeEditableValue) {
-        valueHandlers.push(handler);
-      } else {
-        prepareHandlers.push(handler);
-      }
+const getGlobalBlockCount = rememo((state, blockName) => {
+  const clientIds = getClientIdsWithDescendants(state);

-      for (const key in selected) {
-        dependencies.push(selected[key]);
-      }
-    }
+  if (!blockName) {
+    return clientIds.length;
+  }

-    if (type.__experimentalCreateOnChangeEditableValue) {
-      let dispatchers = {};
+  return (0,external_lodash_namespaceObject.reduce)(clientIds, (accumulator, clientId) => {
+    const block = state.blocks.byClientId[clientId];
+    return block.name === blockName ? accumulator + 1 : accumulator;
+  }, 0);
+}, state => [state.blocks.order, state.blocks.byClientId]);
+/**
+ * Given an array of block client IDs, returns the corresponding array of block
+ * objects.
+ *
+ * @param {Object}   state     Editor state.
+ * @param {string[]} clientIds Client IDs for which blocks are to be returned.
+ *
+ * @return {WPBlock[]} Block objects.
+ */

-      if (type.__experimentalGetPropsForEditableTreeChangeHandler) {
-        dispatchers = type.__experimentalGetPropsForEditableTreeChangeHandler(dispatch, {
-          richTextIdentifier: identifier,
-          blockClientId: clientId
-        });
-      }
+const getBlocksByClientId = rememo((state, clientIds) => (0,external_lodash_namespaceObject.map)((0,external_lodash_namespaceObject.castArray)(clientIds), clientId => getBlock(state, clientId)), (state, clientIds) => (0,external_lodash_namespaceObject.map)((0,external_lodash_namespaceObject.castArray)(clientIds), clientId => state.blocks.tree[clientId]));
+/**
+ * Returns the number of blocks currently present in the post.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {number} Number of blocks in the post.
+ */

-      changeHandlers.push(type.__experimentalCreateOnChangeEditableValue({ ...(keyedSelected[type.name] || {}),
-        ...dispatchers
-      }, {
-        richTextIdentifier: identifier,
-        blockClientId: clientId
-      }));
-    }
-  });
-  return {
-    formatTypes,
-    prepareHandlers,
-    valueHandlers,
-    changeHandlers,
-    dependencies
-  };
+function getBlockCount(state, rootClientId) {
+  return getBlockOrder(state, rootClientId).length;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-remove-browser-shortcuts.js
 /**
- * WordPress dependencies
+ * Returns the current selection start block client ID, attribute key and text
+ * offset.
+ *
+ * @param {Object} state Block editor state.
+ *
+ * @return {WPBlockSelection} Selection start information.
  */

-
+function getSelectionStart(state) {
+  return state.selection.selectionStart;
+}
 /**
- * Hook to prevent default behaviors for key combinations otherwise handled
- * internally by RichText.
+ * Returns the current selection end block client ID, attribute key and text
+ * offset.
  *
- * @return {import('react').RefObject} The component to be rendered.
+ * @param {Object} state Block editor state.
+ *
+ * @return {WPBlockSelection} Selection end information.
  */

-function useRemoveBrowserShortcuts() {
-  return Object(external_wp_compose_["useRefEffect"])(node => {
-    function onKeydown(event) {
-      if (external_wp_keycodes_["isKeyboardEvent"].primary(event, 'z') || external_wp_keycodes_["isKeyboardEvent"].primary(event, 'y') || external_wp_keycodes_["isKeyboardEvent"].primaryShift(event, 'z')) {
-        event.preventDefault();
-      }
-    }
-
-    node.addEventListener('keydown', onKeydown);
-    return () => {
-      node.addEventListener('keydown', onKeydown);
-    };
-  }, []);
+function getSelectionEnd(state) {
+  return state.selection.selectionEnd;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-shortcuts.js
 /**
- * WordPress dependencies
+ * Returns the current block selection start. This value may be null, and it
+ * may represent either a singular block selection or multi-selection start.
+ * A selection is singular if its start and end match.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {?string} Client ID of block selection start.
  */

-function useShortcuts(keyboardShortcuts) {
-  return Object(external_wp_compose_["useRefEffect"])(element => {
-    function onKeyDown(event) {
-      for (const keyboardShortcut of keyboardShortcuts.current) {
-        keyboardShortcut(event);
-      }
-    }
-
-    element.addEventListener('keydown', onKeyDown);
-    return () => {
-      element.removeEventListener('keydown', onKeyDown);
-    };
-  }, []);
+function getBlockSelectionStart(state) {
+  return state.selection.selectionStart.clientId;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-input-events.js
 /**
- * WordPress dependencies
+ * Returns the current block selection end. This value may be null, and it
+ * may represent either a singular block selection or multi-selection end.
+ * A selection is singular if its start and end match.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {?string} Client ID of block selection end.
  */

-function useInputEvents(inputEvents) {
-  return Object(external_wp_compose_["useRefEffect"])(element => {
-    function onInput(event) {
-      for (const keyboardShortcut of inputEvents.current) {
-        keyboardShortcut(event);
-      }
-    }
-
-    element.addEventListener('input', onInput);
-    return () => {
-      element.removeEventListener('input', onInput);
-    };
-  }, []);
+function getBlockSelectionEnd(state) {
+  return state.selection.selectionEnd.clientId;
 }
+/**
+ * Returns the number of blocks currently selected in the post.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {number} Number of blocks selected in the post.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-edit.js
+function getSelectedBlockCount(state) {
+  const multiSelectedBlockCount = getMultiSelectedBlockClientIds(state).length;

+  if (multiSelectedBlockCount) {
+    return multiSelectedBlockCount;
+  }

+  return state.selection.selectionStart.clientId ? 1 : 0;
+}
 /**
- * WordPress dependencies
+ * Returns true if there is a single selected block, or false otherwise.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {boolean} Whether a single block is selected.
  */

+function hasSelectedBlock(state) {
+  const {
+    selectionStart,
+    selectionEnd
+  } = state.selection;
+  return !!selectionStart.clientId && selectionStart.clientId === selectionEnd.clientId;
+}
 /**
- * External dependencies
+ * Returns the currently selected block client ID, or null if there is no
+ * selected block.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {?string} Selected block client ID.
  */

+function getSelectedBlockClientId(state) {
+  const {
+    selectionStart,
+    selectionEnd
+  } = state.selection;
+  const {
+    clientId
+  } = selectionStart;

-function FormatEdit(_ref) {
-  let {
-    formatTypes,
-    onChange,
-    onFocus,
-    value,
-    forwardedRef
-  } = _ref;
-  return formatTypes.map(settings => {
-    const {
-      name,
-      edit: Edit
-    } = settings;
-
-    if (!Edit) {
-      return null;
-    }
-
-    const activeFormat = Object(external_wp_richText_["getActiveFormat"])(value, name);
-    let isActive = activeFormat !== undefined;
-    const activeObject = Object(external_wp_richText_["getActiveObject"])(value);
-    const isObjectActive = activeObject !== undefined && activeObject.type === name; // Edge case: un-collapsed link formats.
-    // If there is a missing link format at either end of the selection
-    // then we shouldn't show the Edit UI because the selection has exceeded
-    // the bounds of the link format.
-    // Also if the format objects don't match then we're dealing with two separate
-    // links so we should not allow the link to be modified over the top.
-
-    if (name === 'core/link' && !Object(external_wp_richText_["isCollapsed"])(value)) {
-      const formats = value.formats;
-      const linkFormatAtStart = Object(external_lodash_["find"])(formats[value.start], {
-        type: 'core/link'
-      });
-      const linkFormatAtEnd = Object(external_lodash_["find"])(formats[value.end - 1], {
-        type: 'core/link'
-      });
-
-      if (!linkFormatAtStart || !linkFormatAtEnd || linkFormatAtStart !== linkFormatAtEnd) {
-        isActive = false;
-      }
-    }
+  if (!clientId || clientId !== selectionEnd.clientId) {
+    return null;
+  }

-    return Object(external_wp_element_["createElement"])(Edit, {
-      key: name,
-      isActive: isActive,
-      activeAttributes: isActive ? activeFormat.attributes || {} : {},
-      isObjectActive: isObjectActive,
-      activeObjectAttributes: isObjectActive ? activeObject.attributes || {} : {},
-      value: value,
-      onChange: onChange,
-      onFocus: onFocus,
-      contentRef: forwardedRef
-    });
-  });
+  return clientId;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/index.js
-
-
-
 /**
- * External dependencies
+ * Returns the currently selected block, or null if there is no selected block.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {?Object} Selected block.
  */

+function getSelectedBlock(state) {
+  const clientId = getSelectedBlockClientId(state);
+  return clientId ? getBlock(state, clientId) : null;
+}
+/**
+ * Given a block client ID, returns the root block from which the block is
+ * nested, an empty string for top-level blocks, or null if the block does not
+ * exist.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block from which to find root client ID.
+ *
+ * @return {?string} Root client ID, if exists
+ */

+function getBlockRootClientId(state, clientId) {
+  return state.blocks.parents[clientId] !== undefined ? state.blocks.parents[clientId] : null;
+}
 /**
- * WordPress dependencies
+ * Given a block client ID, returns the list of all its parents from top to bottom.
+ *
+ * @param {Object}  state     Editor state.
+ * @param {string}  clientId  Block from which to find root client ID.
+ * @param {boolean} ascending Order results from bottom to top (true) or top to bottom (false).
+ *
+ * @return {Array} ClientIDs of the parent blocks.
  */

+const getBlockParents = rememo(function (state, clientId) {
+  let ascending = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
+  const parents = [];
+  let current = clientId;

+  while (!!state.blocks.parents[current]) {
+    current = state.blocks.parents[current];
+    parents.push(current);
+  }

+  return ascending ? parents : parents.reverse();
+}, state => [state.blocks.parents]);
+/**
+ * Given a block client ID and a block name, returns the list of all its parents
+ * from top to bottom, filtered by the given name(s). For example, if passed
+ * 'core/group' as the blockName, it will only return parents which are group
+ * blocks. If passed `[ 'core/group', 'core/cover']`, as the blockName, it will
+ * return parents which are group blocks and parents which are cover blocks.
+ *
+ * @param {Object}          state     Editor state.
+ * @param {string}          clientId  Block from which to find root client ID.
+ * @param {string|string[]} blockName Block name(s) to filter.
+ * @param {boolean}         ascending Order results from bottom to top (true) or top to bottom (false).
+ *
+ * @return {Array} ClientIDs of the parent blocks.
+ */

+const getBlockParentsByBlockName = rememo(function (state, clientId, blockName) {
+  let ascending = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
+  const parents = getBlockParents(state, clientId, ascending);
+  return (0,external_lodash_namespaceObject.map)((0,external_lodash_namespaceObject.filter)((0,external_lodash_namespaceObject.map)(parents, id => ({
+    id,
+    name: getBlockName(state, id)
+  })), _ref => {
+    let {
+      name
+    } = _ref;

+    if (Array.isArray(blockName)) {
+      return blockName.includes(name);
+    }

+    return name === blockName;
+  }), _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.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block from which to find root client ID.
+ *
+ * @return {string} Root client ID
+ */

+function getBlockHierarchyRootClientId(state, clientId) {
+  let current = clientId;
+  let parent;

+  do {
+    parent = current;
+    current = state.blocks.parents[current];
+  } while (current);

+  return parent;
+}
 /**
- * Internal dependencies
+ * Given a block client ID, returns the lowest common ancestor with selected client ID.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block from which to find common ancestor client ID.
+ *
+ * @return {string} Common ancestor client ID or undefined
  */

+function getLowestCommonAncestorWithSelectedBlock(state, clientId) {
+  const selectedId = getSelectedBlockClientId(state);
+  const clientParents = [...getBlockParents(state, clientId), clientId];
+  const selectedParents = [...getBlockParents(state, selectedId), selectedId];
+  let lowestCommonAncestor;
+  const maxDepth = Math.min(clientParents.length, selectedParents.length);
+
+  for (let index = 0; index < maxDepth; index++) {
+    if (clientParents[index] === selectedParents[index]) {
+      lowestCommonAncestor = clientParents[index];
+    } else {
+      break;
+    }
+  }

+  return lowestCommonAncestor;
+}
+/**
+ * Returns the client ID of the block adjacent one at the given reference
+ * startClientId and modifier directionality. Defaults start startClientId to
+ * the selected block, and direction as next block. Returns null if there is no
+ * adjacent block.
+ *
+ * @param {Object}  state         Editor state.
+ * @param {?string} startClientId Optional client ID of block from which to
+ *                                search.
+ * @param {?number} modifier      Directionality multiplier (1 next, -1
+ *                                previous).
+ *
+ * @return {?string} Return the client ID of the block, or null if none exists.
+ */

+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);
+  } // Try multi-selection starting at extent based on modifier.


+  if (startClientId === undefined) {
+    if (modifier < 0) {
+      startClientId = getFirstMultiSelectedBlockClientId(state);
+    } else {
+      startClientId = getLastMultiSelectedBlockClientId(state);
+    }
+  } // Validate working start client ID.


+  if (!startClientId) {
+    return null;
+  } // Retrieve start block root client ID, being careful to allow the falsey
+  // empty string top-level root by explicitly testing against null.


+  const rootClientId = getBlockRootClientId(state, startClientId);

+  if (rootClientId === null) {
+    return null;
+  }

+  const {
+    order
+  } = state.blocks;
+  const orderSet = order[rootClientId];
+  const index = orderSet.indexOf(startClientId);
+  const nextIndex = index + 1 * modifier; // Block was first in set and we're attempting to get previous.

+  if (nextIndex < 0) {
+    return null;
+  } // Block was last in set and we're attempting to get next.


+  if (nextIndex === orderSet.length) {
+    return null;
+  } // Assume incremented index is within the set.


-const keyboardShortcutContext = Object(external_wp_element_["createContext"])();
-const inputEventContext = Object(external_wp_element_["createContext"])();
+  return orderSet[nextIndex];
+}
 /**
- * Removes props used for the native version of RichText so that they are not
- * passed to the DOM element and log warnings.
+ * Returns the previous block's client ID from the given reference start ID.
+ * Defaults start to the selected block. Returns null if there is no previous
+ * block.
  *
- * @param {Object} props Props to filter.
+ * @param {Object}  state         Editor state.
+ * @param {?string} startClientId Optional client ID of block from which to
+ *                                search.
  *
- * @return {Object} Filtered props.
+ * @return {?string} Adjacent block's client ID, or null if none exists.
  */

-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 getPreviousBlockClientId(state, startClientId) {
+  return getAdjacentBlockClientId(state, startClientId, -1);
 }
+/**
+ * Returns the next block's client ID from the given reference start ID.
+ * Defaults start to the selected block. Returns null if there is no next
+ * block.
+ *
+ * @param {Object}  state         Editor state.
+ * @param {?string} startClientId Optional client ID of block from which to
+ *                                search.
+ *
+ * @return {?string} Adjacent block's client ID, or null if none exists.
+ */

-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);
-  const anchorRef = Object(external_wp_element_["useRef"])();
-  const {
-    clientId
-  } = Object(context["c" /* useBlockEditContext */])();
-
-  const selector = select => {
-    const {
-      getSelectionStart,
-      getSelectionEnd,
-      isMultiSelecting,
-      hasMultiSelection
-    } = select(store["a" /* store */]);
-    const selectionStart = getSelectionStart();
-    const selectionEnd = getSelectionEnd();
-    let isSelected;
-
-    if (originalIsSelected === undefined) {
-      isSelected = selectionStart.clientId === clientId && selectionStart.attributeKey === identifier;
-    } else if (originalIsSelected) {
-      isSelected = selectionStart.clientId === clientId;
-    }
+function getNextBlockClientId(state, startClientId) {
+  return getAdjacentBlockClientId(state, startClientId, 1);
+}
+/* eslint-disable jsdoc/valid-types */

-    return {
-      selectionStart: isSelected ? selectionStart.offset : undefined,
-      selectionEnd: isSelected ? selectionEnd.offset : undefined,
-      isSelected,
-      disabled: isMultiSelecting() || hasMultiSelection()
-    };
-  }; // This selector must run on every render so the right selection state is
-  // retreived from the store on merge.
-  // To do: fix this somehow.
+/**
+ * Returns the initial caret position for the selected block.
+ * This position is to used to position the caret properly when the selected block changes.
+ * If the current block is not a RichText, having initial position set to 0 means "focus block"
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {0|-1|null} Initial position.
+ */

+function getSelectedBlocksInitialCaretPosition(state) {
+  /* eslint-enable jsdoc/valid-types */
+  return state.initialPosition;
+}
+/**
+ * Returns the current selection set of block client IDs (multiselection or single selection).
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {Array} Multi-selected block client IDs.
+ */

+const getSelectedBlockClientIds = rememo(state => {
   const {
     selectionStart,
-    selectionEnd,
-    isSelected,
-    disabled
-  } = Object(external_wp_data_["useSelect"])(selector);
-  const {
-    selectionChange
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const multilineTag = getMultilineTag(multiline);
-  const adjustedAllowedFormats = getAllowedFormats({
-    allowedFormats,
-    formattingControls,
-    disableFormats
-  });
-  const hasFormats = !adjustedAllowedFormats || adjustedAllowedFormats.length > 0;
-  let adjustedValue = originalValue;
-  let adjustedOnChange = originalOnChange; // Handle deprecated format.
-
-  if (Array.isArray(originalValue)) {
-    adjustedValue = external_wp_blocks_["children"].toHTML(originalValue);
+    selectionEnd
+  } = state.selection;

-    adjustedOnChange = newValue => originalOnChange(external_wp_blocks_["children"].fromDOM(Object(external_wp_richText_["__unstableCreateElement"])(document, newValue).childNodes));
+  if (selectionStart.clientId === undefined || selectionEnd.clientId === undefined) {
+    return EMPTY_ARRAY;
   }

-  const onSelectionChange = Object(external_wp_element_["useCallback"])((start, end) => {
-    selectionChange(clientId, identifier, start, end);
-  }, [clientId, identifier]);
-  const {
-    formatTypes,
-    prepareHandlers,
-    valueHandlers,
-    changeHandlers,
-    dependencies
-  } = useFormatTypes({
-    clientId,
-    identifier,
-    withoutInteractiveFormatting,
-    allowedFormats: adjustedAllowedFormats
-  });
+  if (selectionStart.clientId === selectionEnd.clientId) {
+    return [selectionStart.clientId];
+  } // Retrieve root client ID to aid in retrieving relevant nested block
+  // order, being careful to allow the falsey empty string top-level root
+  // by explicitly testing against null.

-  function addEditorOnlyFormats(value) {
-    return valueHandlers.reduce((accumulator, fn) => fn(accumulator, value.text), value.formats);
-  }

-  function removeEditorOnlyFormats(value) {
-    formatTypes.forEach(formatType => {
-      // Remove formats created by prepareEditableTree, because they are editor only.
-      if (formatType.__experimentalCreatePrepareEditableTree) {
-        value = Object(external_wp_richText_["removeFormat"])(value, formatType.name, 0, value.text.length);
-      }
-    });
-    return value.formats;
-  }
+  const rootClientId = getBlockRootClientId(state, selectionStart.clientId);

-  function addInvisibleFormats(value) {
-    return prepareHandlers.reduce((accumulator, fn) => fn(accumulator, value.text), value.formats);
+  if (rootClientId === null) {
+    return EMPTY_ARRAY;
   }

-  const {
-    value,
-    onChange,
-    ref: richTextRef
-  } = Object(external_wp_richText_["__unstableUseRichText"])({
-    value: adjustedValue,
-
-    onChange(html, _ref2) {
-      let {
-        __unstableFormats,
-        __unstableText
-      } = _ref2;
-      adjustedOnChange(html);
-      Object.values(changeHandlers).forEach(changeHandler => {
-        changeHandler(__unstableFormats, __unstableText);
-      });
-    },
-
-    selectionStart,
-    selectionEnd,
-    onSelectionChange,
-    placeholder,
-    __unstableIsSelected: isSelected,
-    __unstableMultilineTag: multilineTag,
-    __unstableDisableFormats: disableFormats,
-    preserveWhiteSpace,
-    __unstableDependencies: [...dependencies, tagName],
-    __unstableAfterParse: addEditorOnlyFormats,
-    __unstableBeforeSerialize: removeEditorOnlyFormats,
-    __unstableAddInvisibleFormats: addInvisibleFormats
-  });
-  const autocompleteProps = useBlockEditorAutocompleteProps({
-    onReplace,
-    completers: autocompleters,
-    record: value,
-    onChange
-  });
-  useCaretInFormat({
-    value
-  });
-  useMarkPersistent({
-    html: adjustedValue,
-    value
-  });
-  const keyboardShortcuts = Object(external_wp_element_["useRef"])(new Set());
-  const inputEvents = Object(external_wp_element_["useRef"])(new Set());
-
-  function onKeyDown(event) {
-    const {
-      keyCode
-    } = event;
+  const blockOrder = getBlockOrder(state, rootClientId);
+  const startIndex = blockOrder.indexOf(selectionStart.clientId);
+  const endIndex = blockOrder.indexOf(selectionEnd.clientId);

-    if (event.defaultPrevented) {
-      return;
-    }
+  if (startIndex > endIndex) {
+    return blockOrder.slice(endIndex, startIndex + 1);
+  }

-    if (keyCode === external_wp_keycodes_["DELETE"] || keyCode === external_wp_keycodes_["BACKSPACE"]) {
-      const {
-        start,
-        end,
-        text
-      } = value;
-      const isReverse = keyCode === external_wp_keycodes_["BACKSPACE"];
-      const hasActiveFormats = value.activeFormats && !!value.activeFormats.length; // Only process delete if the key press occurs at an uncollapsed edge.
+  return blockOrder.slice(startIndex, endIndex + 1);
+}, state => [state.blocks.order, state.selection.selectionStart.clientId, state.selection.selectionEnd.clientId]);
+/**
+ * Returns the current multi-selection set of block client IDs, or an empty
+ * array if there is no multi-selection.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {Array} Multi-selected block client IDs.
+ */

-      if (!Object(external_wp_richText_["isCollapsed"])(value) || hasActiveFormats || isReverse && start !== 0 || !isReverse && end !== text.length) {
-        return;
-      }
+function getMultiSelectedBlockClientIds(state) {
+  const {
+    selectionStart,
+    selectionEnd
+  } = state.selection;

-      if (onMerge) {
-        onMerge(!isReverse);
-      } // Only handle remove on Backspace. This serves dual-purpose of being
-      // an intentional user interaction distinguishing between Backspace and
-      // Delete to remove the empty field, but also to avoid merge & remove
-      // causing destruction of two fields (merge, then removed merged).
+  if (selectionStart.clientId === selectionEnd.clientId) {
+    return EMPTY_ARRAY;
+  }

+  return getSelectedBlockClientIds(state);
+}
+/**
+ * Returns the current multi-selection set of blocks, or an empty array if
+ * there is no multi-selection.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {Array} Multi-selected block objects.
+ */

-      if (onRemove && Object(external_wp_richText_["isEmpty"])(value) && isReverse) {
-        onRemove(!isReverse);
-      }
+const getMultiSelectedBlocks = rememo(state => {
+  const multiSelectedBlockClientIds = getMultiSelectedBlockClientIds(state);

-      event.preventDefault();
-    }
+  if (!multiSelectedBlockClientIds.length) {
+    return EMPTY_ARRAY;
   }

-  function onFocus() {
-    anchorRef.current.focus();
-  }
+  return multiSelectedBlockClientIds.map(clientId => getBlock(state, clientId));
+}, state => [...getSelectedBlockClientIds.getDependants(state), state.blocks.byClientId, state.blocks.order, state.blocks.attributes]);
+/**
+ * Returns the client ID of the first block in the multi-selection set, or null
+ * if there is no multi-selection.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {?string} First block client ID in the multi-selection set.
+ */

-  const TagName = tagName;
-  const content = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isSelected && Object(external_wp_element_["createElement"])(keyboardShortcutContext.Provider, {
-    value: keyboardShortcuts
-  }, Object(external_wp_element_["createElement"])(inputEventContext.Provider, {
-    value: inputEvents
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Popover"].__unstableSlotNameProvider, {
-    value: "__unstable-block-tools-after"
-  }, children && children({
-    value,
-    onChange,
-    onFocus
-  }), Object(external_wp_element_["createElement"])(FormatEdit, {
-    value: value,
-    onChange: onChange,
-    onFocus: onFocus,
-    formatTypes: formatTypes,
-    forwardedRef: anchorRef
-  })))), isSelected && hasFormats && Object(external_wp_element_["createElement"])(format_toolbar_container, {
-    inline: inlineToolbar,
-    anchorRef: anchorRef.current
-  }), Object(external_wp_element_["createElement"])(TagName // Overridable props.
-  , Object(esm_extends["a" /* default */])({
-    role: "textbox",
-    "aria-multiline": true,
-    "aria-label": placeholder
-  }, props, autocompleteProps, {
-    ref: Object(external_wp_compose_["useMergeRefs"])([autocompleteProps.ref, props.ref, richTextRef, useInputRules({
-      value,
-      onChange,
-      __unstableAllowPrefixTransformations,
-      formatTypes,
-      onReplace
-    }), useRemoveBrowserShortcuts(), useShortcuts(keyboardShortcuts), useInputEvents(inputEvents), useUndoAutomaticChange(), usePasteHandler({
-      isSelected,
-      disableFormats,
-      onChange,
-      value,
-      formatTypes,
-      tagName,
-      onReplace,
-      onSplit,
-      onSplitMiddle,
-      __unstableEmbedURLOnPaste,
-      multilineTag,
-      preserveWhiteSpace,
-      pastePlainText
-    }), useEnter({
-      removeEditorOnlyFormats,
-      value,
-      onReplace,
-      onSplit,
-      onSplitMiddle,
-      multilineTag,
-      onChange,
-      disableLineBreaks,
-      onSplitAtEnd
-    }), anchorRef, forwardedRef]) // Do not set the attribute if disabled.
-    ,
-    contentEditable: disabled ? undefined : true,
-    suppressContentEditableWarning: !disabled,
-    className: classnames_default()('block-editor-rich-text__editable', props.className, 'rich-text'),
-    onFocus: unstableOnFocus,
-    onKeyDown: onKeyDown
-  })));
+function getFirstMultiSelectedBlockClientId(state) {
+  return (0,external_lodash_namespaceObject.first)(getMultiSelectedBlockClientIds(state)) || null;
+}
+/**
+ * Returns the client ID of the last block in the multi-selection set, or null
+ * if there is no multi-selection.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {?string} Last block client ID in the multi-selection set.
+ */

-  if (!wrapperClassName) {
-    return content;
-  }
+function getLastMultiSelectedBlockClientId(state) {
+  return (0,external_lodash_namespaceObject.last)(getMultiSelectedBlockClientIds(state)) || null;
+}
+/**
+ * Returns true if a multi-selection exists, and the block corresponding to the
+ * specified client ID is the first block of the multi-selection set, or false
+ * otherwise.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {boolean} Whether block is first in multi-selection.
+ */

-  external_wp_deprecated_default()('wp.blockEditor.RichText wrapperClassName prop', {
-    since: '5.4',
-    alternative: 'className prop or create your own wrapper div'
-  });
-  const className = classnames_default()('block-editor-rich-text', wrapperClassName);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: className
-  }, content);
+function isFirstMultiSelectedBlock(state, clientId) {
+  return getFirstMultiSelectedBlockClientId(state) === clientId;
 }
+/**
+ * Returns true if the client ID occurs within the block multi-selection, or
+ * false otherwise.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {boolean} Whether block is in multi-selection set.
+ */

-const ForwardedRichTextContainer = Object(external_wp_element_["forwardRef"])(RichTextWrapper);
+function isBlockMultiSelected(state, clientId) {
+  return getMultiSelectedBlockClientIds(state).indexOf(clientId) !== -1;
+}
+/**
+ * Returns true if an ancestor of the block is multi-selected, or false
+ * otherwise.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {boolean} Whether an ancestor of the block is in multi-selection
+ *                   set.
+ */

-ForwardedRichTextContainer.Content = _ref3 => {
-  let {
-    value,
-    tagName: Tag,
-    multiline,
-    ...props
-  } = _ref3;
+const isAncestorMultiSelected = rememo((state, clientId) => {
+  let ancestorClientId = clientId;
+  let isMultiSelected = false;

-  // Handle deprecated `children` and `node` sources.
-  if (Array.isArray(value)) {
-    value = external_wp_blocks_["children"].toHTML(value);
+  while (ancestorClientId && !isMultiSelected) {
+    ancestorClientId = getBlockRootClientId(state, ancestorClientId);
+    isMultiSelected = isBlockMultiSelected(state, ancestorClientId);
   }

-  const MultilineTag = getMultilineTag(multiline);
+  return isMultiSelected;
+}, state => [state.blocks.order, state.selection.selectionStart.clientId, state.selection.selectionEnd.clientId]);
+/**
+ * Returns the client ID of the block which begins the multi-selection set, or
+ * null if there is no multi-selection.
+ *
+ * This is not necessarily the first client ID in the selection.
+ *
+ * @see getFirstMultiSelectedBlockClientId
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {?string} Client ID of block beginning multi-selection.
+ */

-  if (!value && MultilineTag) {
-    value = `<${MultilineTag}></${MultilineTag}>`;
+function getMultiSelectedBlocksStartClientId(state) {
+  const {
+    selectionStart,
+    selectionEnd
+  } = state.selection;
+
+  if (selectionStart.clientId === selectionEnd.clientId) {
+    return null;
   }

-  const content = Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, value);
+  return selectionStart.clientId || null;
+}
+/**
+ * Returns the client ID of the block which ends the multi-selection set, or
+ * null if there is no multi-selection.
+ *
+ * This is not necessarily the last client ID in the selection.
+ *
+ * @see getLastMultiSelectedBlockClientId
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {?string} Client ID of block ending multi-selection.
+ */

-  if (Tag) {
-    return Object(external_wp_element_["createElement"])(Tag, Object(external_lodash_["omit"])(props, ['format']), content);
+function getMultiSelectedBlocksEndClientId(state) {
+  const {
+    selectionStart,
+    selectionEnd
+  } = state.selection;
+
+  if (selectionStart.clientId === selectionEnd.clientId) {
+    return null;
   }

-  return content;
-};
+  return selectionEnd.clientId || null;
+}
+/**
+ * Returns an array containing all block client IDs in the editor in the order
+ * they appear. Optionally accepts a root client ID of the block list for which
+ * the order should be returned, defaulting to the top-level block order.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {Array} Ordered client IDs of editor blocks.
+ */
+
+function getBlockOrder(state, rootClientId) {
+  return state.blocks.order[rootClientId || ''] || EMPTY_ARRAY;
+}
+/**
+ * Returns the index at which the block corresponding to the specified client
+ * ID occurs within the block order, or `-1` if the block does not exist.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {string}  clientId     Block client ID.
+ *
+ * @return {number} Index at which block exists in order.
+ */

-ForwardedRichTextContainer.isEmpty = value => {
-  return !value || value.length === 0;
-};
+function getBlockIndex(state, clientId) {
+  const rootClientId = getBlockRootClientId(state, clientId);
+  return getBlockOrder(state, rootClientId).indexOf(clientId);
+}
 /**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/rich-text/README.md
+ * Returns true if the block corresponding to the specified client ID is
+ * currently selected and no multi-selection exists, or false otherwise.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {boolean} Whether block is selected and multi-selection exists.
  */

+function isBlockSelected(state, clientId) {
+  const {
+    selectionStart,
+    selectionEnd
+  } = state.selection;

-/* harmony default export */ var rich_text = (ForwardedRichTextContainer);
-
-
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/editable-text/index.js
-
-
+  if (selectionStart.clientId !== selectionEnd.clientId) {
+    return false;
+  }

+  return selectionStart.clientId === clientId;
+}
 /**
- * WordPress dependencies
+ * Returns true if one of the block's inner blocks is selected.
+ *
+ * @param {Object}  state    Editor state.
+ * @param {string}  clientId Block client ID.
+ * @param {boolean} deep     Perform a deep check.
+ *
+ * @return {boolean} Whether the block as an inner block selected
  */

+function hasSelectedInnerBlock(state, clientId) {
+  let deep = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
+  return (0,external_lodash_namespaceObject.some)(getBlockOrder(state, clientId), innerClientId => isBlockSelected(state, innerClientId) || isBlockMultiSelected(state, innerClientId) || deep && hasSelectedInnerBlock(state, innerClientId, deep));
+}
 /**
- * Internal dependencies
+ * Returns true if the block corresponding to the specified client ID is
+ * currently selected but isn't the last of the selected blocks. Here "last"
+ * refers to the block sequence in the document, _not_ the sequence of
+ * multi-selection, which is why `state.selectionEnd` isn't used.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {boolean} Whether block is selected and not the last in the
+ *                   selection.
  */

+function isBlockWithinSelection(state, clientId) {
+  if (!clientId) {
+    return false;
+  }

-const EditableText = Object(external_wp_element_["forwardRef"])((props, ref) => {
-  return Object(external_wp_element_["createElement"])(rich_text, Object(esm_extends["a" /* default */])({
-    ref: ref
-  }, props, {
-    __unstableDisableFormats: true,
-    preserveWhiteSpace: true
-  }));
-});
-
-EditableText.Content = _ref => {
-  let {
-    value = '',
-    tagName: Tag = 'div',
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(Tag, props, value);
-};
+  const clientIds = getMultiSelectedBlockClientIds(state);
+  const index = clientIds.indexOf(clientId);
+  return index > -1 && index < clientIds.length - 1;
+}
 /**
- * Renders an editable text input in which text formatting is not allowed.
+ * Returns true if a multi-selection has been made, or false otherwise.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {boolean} Whether multi-selection has been made.
  */

-
-/* harmony default export */ var editable_text = (EditableText);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/plain-text/index.js
-
-
-
+function hasMultiSelection(state) {
+  const {
+    selectionStart,
+    selectionEnd
+  } = state.selection;
+  return selectionStart.clientId !== selectionEnd.clientId;
+}
 /**
- * External dependencies
+ * Whether in the process of multi-selecting or not. This flag is only true
+ * while the multi-selection is being selected (by mouse move), and is false
+ * once the multi-selection has been settled.
+ *
+ * @see hasMultiSelection
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} True if multi-selecting, false if not.
  */

-
+function selectors_isMultiSelecting(state) {
+  return state.isMultiSelecting;
+}
 /**
- * WordPress dependencies
+ * Selector that returns if multi-selection is enabled or not.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} True if it should be possible to multi-select blocks, false if multi-selection is disabled.
  */

-
+function selectors_isSelectionEnabled(state) {
+  return state.isSelectionEnabled;
+}
 /**
- * Internal dependencies
+ * Returns the block's editing mode, defaulting to "visual" if not explicitly
+ * assigned.
+ *
+ * @param {Object} state    Editor state.
+ * @param {string} clientId Block client ID.
+ *
+ * @return {Object} Block editing mode.
  */

-
+function getBlockMode(state, clientId) {
+  return state.blocksMode[clientId] || 'visual';
+}
 /**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/plain-text/README.md
+ * Returns true if the user is typing, or false otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether user is typing.
  */

-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
-    }, props));
-  }
-
-  const {
-    className,
-    onChange,
-    ...remainingProps
-  } = props;
-  return Object(external_wp_element_["createElement"])(react_autosize_textarea_lib_default.a, Object(esm_extends["a" /* default */])({
-    ref: ref,
-    className: classnames_default()('block-editor-plain-text', className),
-    onChange: event => onChange(event.target.value)
-  }, remainingProps));
-});
-/* harmony default export */ var plain_text = (PlainText);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/label.js
-
-
+function selectors_isTyping(state) {
+  return state.isTyping;
+}
 /**
- * WordPress dependencies
+ * Returns true if the user is dragging blocks, or false otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether user is dragging blocks.
  */

-
-
-
-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. */
-  Object(external_wp_i18n_["_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.'), property, viewport.label);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("span", {
-    "aria-describedby": `rbc-desc-${instanceId}`
-  }, viewport.label), Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    as: "span",
-    id: `rbc-desc-${instanceId}`
-  }, accessibleLabel));
+function isDraggingBlocks(state) {
+  return !!state.draggedBlocks.length;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/index.js
-
-
 /**
- * External dependencies
+ * Returns the client ids of any blocks being directly dragged.
+ *
+ * This does not include children of a parent being dragged.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {string[]} Array of dragged block client ids.
  */

+function getDraggedBlockClientIds(state) {
+  return state.draggedBlocks;
+}
 /**
- * WordPress dependencies
+ * Returns whether the block is being dragged.
+ *
+ * Only returns true if the block is being directly dragged,
+ * not if the block is a child of a parent being dragged.
+ * See `isAncestorBeingDragged` for child blocks.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} clientId Client id for block to check.
+ *
+ * @return {boolean} Whether the block is being dragged.
  */

+function isBlockBeingDragged(state, clientId) {
+  return state.draggedBlocks.includes(clientId);
+}
+/**
+ * Returns whether a parent/ancestor of the block is being dragged.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} clientId Client id for block to check.
+ *
+ * @return {boolean} Whether the block's ancestor is being dragged.
+ */

+function isAncestorBeingDragged(state, clientId) {
+  // Return early if no blocks are being dragged rather than
+  // the more expensive check for parents.
+  if (!isDraggingBlocks(state)) {
+    return false;
+  }

-
+  const parents = getBlockParents(state, clientId);
+  return (0,external_lodash_namespaceObject.some)(parents, parentClientId => isBlockBeingDragged(state, parentClientId));
+}
 /**
- * Internal dependencies
+ * Returns true if the caret is within formatted text, or false otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the caret is within formatted text.
  */

+function selectors_isCaretWithinFormattedText(state) {
+  return state.isCaretWithinFormattedText;
+}
+/**
+ * Returns the insertion point, the index at which the new inserted block would
+ * be placed. Defaults to the last index.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {Object} Insertion point object with `rootClientId`, `index`.
+ */

-
-function ResponsiveBlockControl(props) {
+function getBlockInsertionPoint(state) {
+  let rootClientId, index;
   const {
-    title,
-    property,
-    toggleLabel,
-    onIsResponsiveChange,
-    renderDefaultControl,
-    renderResponsiveControls,
-    isResponsive = false,
-    defaultLabel = {
-      id: 'all',
-
-      /* translators: 'Label. Used to signify a layout property (eg: margin, padding) will apply uniformly to all screensizes.' */
-      label: Object(external_wp_i18n_["__"])('All')
-    },
-    viewports = [{
-      id: 'small',
-      label: Object(external_wp_i18n_["__"])('Small screens')
-    }, {
-      id: 'medium',
-      label: Object(external_wp_i18n_["__"])('Medium screens')
-    }, {
-      id: 'large',
-      label: Object(external_wp_i18n_["__"])('Large screens')
-    }]
-  } = props;
+    insertionPoint,
+    selection: {
+      selectionEnd
+    }
+  } = state;

-  if (!title || !property || !renderDefaultControl) {
-    return null;
+  if (insertionPoint !== null) {
+    return insertionPoint;
   }

-  const toggleControlLabel = toggleLabel || Object(external_wp_i18n_["sprintf"])(
-  /* translators: 'Toggle control label. Should the property be the same across all screen sizes or unique per screen size.'. %s property value for the control (eg: margin, padding...etc) */
-  Object(external_wp_i18n_["__"])('Use the same %s on all screensizes.'), property);
-  /* translators: 'Help text for the responsive mode toggle control.' */
-
-  const toggleHelpText = Object(external_wp_i18n_["__"])('Toggle between using the same value for all screen sizes or using a unique value per screen size.');
+  const {
+    clientId
+  } = selectionEnd;

-  const defaultControl = renderDefaultControl(Object(external_wp_element_["createElement"])(ResponsiveBlockControlLabel, {
-    property: property,
-    viewport: defaultLabel
-  }), defaultLabel);
+  if (clientId) {
+    rootClientId = getBlockRootClientId(state, clientId) || undefined;
+    index = getBlockIndex(state, selectionEnd.clientId, rootClientId) + 1;
+  } else {
+    index = getBlockOrder(state).length;
+  }

-  const defaultResponsiveControls = () => {
-    return viewports.map(viewport => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], {
-      key: viewport.id
-    }, renderDefaultControl(Object(external_wp_element_["createElement"])(ResponsiveBlockControlLabel, {
-      property: property,
-      viewport: viewport
-    }), viewport)));
+  return {
+    rootClientId,
+    index
   };
-
-  return Object(external_wp_element_["createElement"])("fieldset", {
-    className: "block-editor-responsive-block-control"
-  }, Object(external_wp_element_["createElement"])("legend", {
-    className: "block-editor-responsive-block-control__title"
-  }, title), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-responsive-block-control__inner"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    className: "block-editor-responsive-block-control__toggle",
-    label: toggleControlLabel,
-    checked: !isResponsive,
-    onChange: onIsResponsiveChange,
-    help: toggleHelpText
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('block-editor-responsive-block-control__group', {
-      'is-responsive': isResponsive
-    })
-  }, !isResponsive && defaultControl, isResponsive && (renderResponsiveControls ? renderResponsiveControls(viewports) : defaultResponsiveControls()))));
 }
+/**
+ * Returns true if we should show the block insertion point.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {?boolean} Whether the insertion point is visible or not.
+ */

-/* harmony default export */ var responsive_block_control = (ResponsiveBlockControl);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/shortcut.js
+function isBlockInsertionPointVisible(state) {
+  return state.insertionPoint !== null;
+}
 /**
- * WordPress dependencies
+ * Returns whether the blocks matches the template or not.
+ *
+ * @param {boolean} state
+ * @return {?boolean} Whether the template is valid or not.
  */

+function isValidTemplate(state) {
+  return state.template.isValid;
+}
+/**
+ * Returns the defined block template
+ *
+ * @param {boolean} state
+ *
+ * @return {?Array} Block Template.
+ */

+function getTemplate(state) {
+  return state.settings.template;
+}
 /**
- * Internal dependencies
+ * Returns the defined block template lock. Optionally accepts a root block
+ * client ID as context, otherwise defaulting to the global context.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {?string} rootClientId Optional block root client ID.
+ *
+ * @return {?string} Block Template Lock
  */

+function getTemplateLock(state, rootClientId) {
+  if (!rootClientId) {
+    return state.settings.templateLock;
+  }

-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;
-  Object(external_wp_element_["useEffect"])(() => {
-    function callback(event) {
-      if (external_wp_keycodes_["isKeyboardEvent"][type](event, character)) {
-        onUseRef.current();
-        event.preventDefault();
-      }
-    }
+  const blockListSettings = getBlockListSettings(state, rootClientId);

-    keyboardShortcuts.current.add(callback);
-    return () => {
-      keyboardShortcuts.current.delete(callback);
-    };
-  }, [character, type]);
-  return null;
+  if (!blockListSettings) {
+    return null;
+  }
+
+  return blockListSettings.templateLock;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/toolbar-button.js
+const checkAllowList = function (list, item) {
+  let defaultResult = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
+
+  if ((0,external_lodash_namespaceObject.isBoolean)(list)) {
+    return list;
+  }

+  if ((0,external_lodash_namespaceObject.isArray)(list)) {
+    // TODO: when there is a canonical way to detect that we are editing a post
+    // the following check should be changed to something like:
+    // if ( list.includes( 'core/post-content' ) && getEditorMode() === 'post-content' && item === null )
+    if (list.includes('core/post-content') && item === null) {
+      return true;
+    }

+    return list.includes(item);
+  }

+  return defaultResult;
+};
 /**
- * WordPress dependencies
+ * Determines if the given block type is allowed to be inserted into the block list.
+ * This function is not exported and not memoized because using a memoized selector
+ * inside another memoized selector is just a waste of time.
+ *
+ * @param {Object}        state        Editor state.
+ * @param {string|Object} blockName    The block type object, e.g., the response
+ *                                     from the block directory; or a string name of
+ *                                     an installed block type, e.g.' core/paragraph'.
+ * @param {?string}       rootClientId Optional root client ID of block list.
+ *
+ * @return {boolean} Whether the given block type is allowed to be inserted.
  */


-function RichTextToolbarButton(_ref) {
-  let {
-    name,
-    shortcutType,
-    shortcutCharacter,
-    ...props
-  } = _ref;
-  let shortcut;
-  let fillName = 'RichText.ToolbarControls';
+const canInsertBlockTypeUnmemoized = function (state, blockName) {
+  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
+  let blockType;

-  if (name) {
-    fillName += `.${name}`;
+  if (blockName && 'object' === typeof blockName) {
+    blockType = blockName;
+    blockName = blockType.name;
+  } else {
+    blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(blockName);
   }

-  if (shortcutType && shortcutCharacter) {
-    shortcut = external_wp_keycodes_["displayShortcut"][shortcutType](shortcutCharacter);
+  if (!blockType) {
+    return false;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], {
-    name: fillName
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], Object(esm_extends["a" /* default */])({}, props, {
-    shortcut: shortcut
-  })));
-}
+  const {
+    allowedBlockTypes
+  } = getSettings(state);
+  const isBlockAllowedInEditor = checkAllowList(allowedBlockTypes, blockName, true);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/input-event.js
-/**
- * WordPress dependencies
- */
+  if (!isBlockAllowedInEditor) {
+    return false;
+  }

-/**
- * Internal dependencies
- */
+  const isLocked = !!getTemplateLock(state, rootClientId);

+  if (isLocked) {
+    return false;
+  }

-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;
-  Object(external_wp_element_["useEffect"])(() => {
-    function callback(event) {
-      if (event.inputType === inputType) {
-        onInputRef.current();
-        event.preventDefault();
-      }
-    }
+  const parentBlockListSettings = getBlockListSettings(state, rootClientId); // The parent block doesn't have settings indicating it doesn't support
+  // inner blocks, return false.

-    callbacks.current.add(callback);
-    return () => {
-      callbacks.current.delete(callback);
-    };
-  }, [inputType]);
-  return null;
-}
+  if (rootClientId && parentBlockListSettings === undefined) {
+    return false;
+  }
+
+  const parentAllowedBlocks = parentBlockListSettings === null || parentBlockListSettings === void 0 ? void 0 : parentBlockListSettings.allowedBlocks;
+  const hasParentAllowedBlock = checkAllowList(parentAllowedBlocks, blockName);
+  const blockAllowedParentBlocks = blockType.parent;
+  const parentName = getBlockName(state, rootClientId);
+  const hasBlockAllowedParent = checkAllowList(blockAllowedParentBlocks, parentName);
+  const canInsert = hasParentAllowedBlock === null && hasBlockAllowedParent === null || hasParentAllowedBlock === true || hasBlockAllowedParent === true;
+
+  if (!canInsert) {
+    return canInsert;
+  }
+  /**
+   * This filter is an ad-hoc solution to prevent adding template parts inside post content.
+   * Conceptually, having a filter inside a selector is bad pattern so this code will be
+   * replaced by a declarative API that doesn't the following drawbacks:
+   *
+   * Filters are not reactive: Upon switching between "template mode" and non "template mode",
+   * the filter and selector won't necessarily be executed again. For now, it doesn't matter much
+   * because you can't switch between the two modes while the inserter stays open.
+   *
+   * Filters are global: Once they're defined, they will affect all editor instances and all registries.
+   * An ideal API would only affect specific editor instances.
+   */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/tool-selector/index.js

+  return (0,external_wp_hooks_namespaceObject.applyFilters)('blockEditor.__unstableCanInsertBlockType', canInsert, blockType, rootClientId, {
+    // Pass bound selectors of the current registry. If we're in a nested
+    // context, the data will differ from the one selected from the root
+    // registry.
+    getBlock: getBlock.bind(null, state),
+    getBlockParentsByBlockName: getBlockParentsByBlockName.bind(null, state)
+  });
+};
+/**
+ * Determines if the given block type is allowed to be inserted into the block list.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {string}  blockName    The name of the block type, e.g.' core/paragraph'.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {boolean} Whether the given block type is allowed to be inserted.
+ */


+const canInsertBlockType = rememo(canInsertBlockTypeUnmemoized, (state, blockName, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId[rootClientId], state.settings.allowedBlockTypes, state.settings.templateLock]);
 /**
- * WordPress dependencies
+ * Determines if the given blocks are allowed to be inserted into the block
+ * list.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {string}  clientIds    The block client IDs to be inserted.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {boolean} Whether the given blocks are allowed to be inserted.
  */

-
-
-
-
+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));
+}
 /**
- * Internal dependencies
+ * Determines if the given block is allowed to be deleted.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {string}  clientId     The block client Id.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {boolean} Whether the given block is allowed to be removed.
  */

+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.

-const selectIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  width: "24",
-  height: "24",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["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"
-}));
+  if (attributes === null) {
+    return true;
+  }

-function ToolSelector(props, ref) {
-  const isNavigationTool = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).isNavigationMode(), []);
   const {
-    setNavigationMode
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+    lock
+  } = attributes;
+  const parentIsLocked = !!getTemplateLock(state, rootClientId); // If we don't have a lock on the blockType level, we differ to the parent templateLock.

-  const onSwitchMode = mode => {
-    setNavigationMode(mode === 'edit' ? false : true);
-  };
+  if (lock === undefined || (lock === null || lock === void 0 ? void 0 : lock.remove) === undefined) {
+    return !parentIsLocked;
+  } // when remove is true, it means we cannot remove it.

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
-    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",
-      "aria-label": Object(external_wp_i18n_["__"])('Tools')
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItemsChoice"], {
-      value: isNavigationTool ? 'select' : 'edit',
-      onSelect: onSwitchMode,
-      choices: [{
-        value: 'edit',
-        label: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-          icon: edit["a" /* default */]
-        }), Object(external_wp_i18n_["__"])('Edit'))
-      }, {
-        value: 'select',
-        label: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, selectIcon, Object(external_wp_i18n_["__"])('Select'))
-      }]
-    })), Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-tool-selector__help"
-    }, Object(external_wp_i18n_["__"])('Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.')))
-  });
+
+  return !(lock !== null && lock !== void 0 && lock.remove);
+}
+/**
+ * Determines if the given blocks are allowed to be removed.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {string}  clientIds    The block client IDs to be removed.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {boolean} Whether the given blocks are allowed to be removed.
+ */
+
+function canRemoveBlocks(state, clientIds) {
+  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
+  return clientIds.every(clientId => canRemoveBlock(state, clientId, rootClientId));
 }
+/**
+ * Determines if the given block is allowed to be moved.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {string}  clientId     The block client Id.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {boolean} Whether the given block is allowed to be moved.
+ */
+
+function canMoveBlock(state, clientId) {
+  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
+  const attributes = getBlockAttributes(state, clientId);

-/* harmony default export */ var tool_selector = (Object(external_wp_element_["forwardRef"])(ToolSelector));
+  if (attributes === null) {
+    return;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/unit-control/index.js
+  const {
+    lock
+  } = attributes;
+  const parentIsLocked = getTemplateLock(state, rootClientId) === 'all'; // If we don't have a lock on the blockType level, we differ to the parent templateLock.

+  if (lock === undefined || (lock === null || lock === void 0 ? void 0 : lock.move) === undefined) {
+    return !parentIsLocked;
+  } // when move is true, it means we cannot move it.


+  return !(lock !== null && lock !== void 0 && lock.move);
+}
 /**
- * WordPress dependencies
+ * Determines if the given blocks are allowed to be moved.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {string}  clientIds    The block client IDs to be moved.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {boolean} Whether the given blocks are allowed to be moved.
  */

+function canMoveBlocks(state, clientIds) {
+  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
+  return clientIds.every(clientId => canMoveBlock(state, clientId, rootClientId));
+}
 /**
- * Internal dependencies
+ * Returns information about how recently and frequently a block has been inserted.
+ *
+ * @param {Object} state Global application state.
+ * @param {string} id    A string which identifies the insert, e.g. 'core/block/12'
+ *
+ * @return {?{ time: number, count: number }} An object containing `time` which is when the last
+ *                                            insert occurred as a UNIX epoch, and `count` which is
+ *                                            the number of inserts that have occurred.
  */

+function getInsertUsage(state, id) {
+  var _state$preferences$in, _state$preferences$in2;

-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
-  });
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], Object(esm_extends["a" /* default */])({
-    units: units
-  }, props));
+  return (_state$preferences$in = (_state$preferences$in2 = state.preferences.insertUsage) === null || _state$preferences$in2 === void 0 ? void 0 : _state$preferences$in2[id]) !== null && _state$preferences$in !== void 0 ? _state$preferences$in : null;
 }
+/**
+ * Returns whether we can show a block type in the inserter
+ *
+ * @param {Object}  state        Global State
+ * @param {Object}  blockType    BlockType
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {boolean} Whether the given block type is allowed to be shown in the inserter.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
-var library_link = __webpack_require__("Bpkj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-left.js
-var arrow_left = __webpack_require__("cjQ8");
+const canIncludeBlockTypeInInserter = (state, blockType, rootClientId) => {
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, 'inserter', true)) {
+    return false;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/button.js
+  return canInsertBlockTypeUnmemoized(state, blockType.name, rootClientId);
+};
+/**
+ * Return a function to be used to tranform a block variation to an inserter item
+ *
+ * @param {Object} state Global State
+ * @param {Object} item  Denormalized inserter item
+ * @return {Function} Function to transform a block variation to inserter item
+ */


+const getItemFromVariation = (state, item) => variation => {
+  const variationId = `${item.id}/${variation.name}`;
+  const {
+    time,
+    count = 0
+  } = getInsertUsage(state, variationId) || {};
+  return { ...item,
+    id: variationId,
+    icon: variation.icon || item.icon,
+    title: variation.title || item.title,
+    description: variation.description || item.description,
+    category: variation.category || item.category,
+    // If `example` is explicitly undefined for the variation, the preview will not be shown.
+    example: variation.hasOwnProperty('example') ? variation.example : item.example,
+    initialAttributes: { ...item.initialAttributes,
+      ...variation.attributes
+    },
+    innerBlocks: variation.innerBlocks,
+    keywords: variation.keywords || item.keywords,
+    frecency: calculateFrecency(time, count)
+  };
+};
 /**
- * WordPress dependencies
+ * Returns the calculated frecency.
+ *
+ * 'frecency' is a heuristic (https://en.wikipedia.org/wiki/Frecency)
+ * that combines block usage frequenty and recency.
+ *
+ * @param {number} time  When the last insert occurred as a UNIX epoch
+ * @param {number} count The number of inserts that have occurred.
+ *
+ * @return {number} The calculated frecency.
  */


+const calculateFrecency = (time, count) => {
+  if (!time) {
+    return count;
+  } // The selector is cached, which means Date.now() is the last time that the
+  // relevant state changed. This suits our needs.


-/**
- * Internal dependencies
- */
+  const duration = Date.now() - time;

+  switch (true) {
+    case duration < MILLISECONDS_PER_HOUR:
+      return count * 4;

+    case duration < MILLISECONDS_PER_DAY:
+      return count * 2;

-class button_URLInputButton extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.toggle = this.toggle.bind(this);
-    this.submitLink = this.submitLink.bind(this);
-    this.state = {
-      expanded: false
-    };
-  }
+    case duration < MILLISECONDS_PER_WEEK:
+      return count / 2;

-  toggle() {
-    this.setState({
-      expanded: !this.state.expanded
-    });
+    default:
+      return count / 4;
   }
+};
+/**
+ * Returns a function that accepts a block type and builds an item to be shown
+ * in a specific context. It's used for building items for Inserter and available
+ * block Transfroms list.
+ *
+ * @param {Object} state              Editor state.
+ * @param {Object} options            Options object for handling the building of a block type.
+ * @param {string} options.buildScope The scope for which the item is going to be used.
+ * @return {Function} Function returns an item to be shown in a specific context (Inserter|Transforms list).
+ */

-  submitLink(event) {
-    event.preventDefault();
-    this.toggle();
-  }

-  render() {
-    const {
-      url,
-      onChange
-    } = this.props;
+const buildBlockTypeItem = (state, _ref3) => {
+  let {
+    buildScope = 'inserter'
+  } = _ref3;
+  return blockType => {
+    const id = blockType.name;
+    let isDisabled = false;
+
+    if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType.name, 'multiple', true)) {
+      isDisabled = (0,external_lodash_namespaceObject.some)(getBlocksByClientId(state, getClientIdsWithDescendants(state)), {
+        name: blockType.name
+      });
+    }
+
     const {
-      expanded
-    } = this.state;
-    const buttonLabel = url ? Object(external_wp_i18n_["__"])('Edit link') : Object(external_wp_i18n_["__"])('Insert link');
-    return Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-url-input__button"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      icon: library_link["a" /* default */],
-      label: buttonLabel,
-      onClick: this.toggle,
-      className: "components-toolbar__control",
-      isPressed: !!url
-    }), expanded && Object(external_wp_element_["createElement"])("form", {
-      className: "block-editor-url-input__button-modal",
-      onSubmit: this.submitLink
-    }, Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-url-input__button-modal-line"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      className: "block-editor-url-input__back",
-      icon: arrow_left["a" /* default */],
-      label: Object(external_wp_i18n_["__"])('Close'),
-      onClick: this.toggle
-    }), Object(external_wp_element_["createElement"])(url_input, {
-      value: url || '',
-      onChange: onChange
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      icon: keyboard_return["a" /* default */],
-      label: Object(external_wp_i18n_["__"])('Submit'),
-      type: "submit"
-    }))));
-  }
+      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 = (0,external_wp_blocks_namespaceObject.getBlockVariations)(blockType.name, 'inserter');
+    return { ...blockItemBase,
+      initialAttributes: {},
+      description: blockType.description,
+      category: blockType.category,
+      keywords: blockType.keywords,
+      variations: inserterVariations,
+      example: blockType.example,
+      utility: 1 // deprecated

-}
+    };
+  };
+};
 /**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/url-input/README.md
+ * Determines the items that appear in the inserter. Includes both static
+ * items (e.g. a regular block type) and dynamic items (e.g. a reusable block).
+ *
+ * Each item object contains what's necessary to display a button in the
+ * inserter and handle its selection.
+ *
+ * The 'frecency' property is a heuristic (https://en.wikipedia.org/wiki/Frecency)
+ * that combines block usage frequenty and recency.
+ *
+ * Items are returned ordered descendingly by their 'utility' and 'frecency'.
+ *
+ * @param    {Object}   state             Editor state.
+ * @param    {?string}  rootClientId      Optional root client ID of block list.
+ *
+ * @return {WPEditorInserterItem[]} Items that appear in inserter.
+ *
+ * @typedef {Object} WPEditorInserterItem
+ * @property {string}   id                Unique identifier for the item.
+ * @property {string}   name              The type of block to create.
+ * @property {Object}   initialAttributes Attributes to pass to the newly created block.
+ * @property {string}   title             Title of the item, as it appears in the inserter.
+ * @property {string}   icon              Dashicon for the item, as it appears in the inserter.
+ * @property {string}   category          Block category that the item is associated with.
+ * @property {string[]} keywords          Keywords that can be searched to find this item.
+ * @property {boolean}  isDisabled        Whether or not the user should be prevented from inserting
+ *                                        this item.
+ * @property {number}   frecency          Heuristic that combines frequency and recency.
  */


-/* harmony default export */ var url_input_button = (button_URLInputButton);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
-var library_close = __webpack_require__("w95h");
+const getInserterItems = rememo(function (state) {
+  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
+  const buildBlockTypeInserterItem = buildBlockTypeItem(state, {
+    buildScope: 'inserter'
+  });
+  /*
+   * Matches block comment delimiters amid serialized content.
+   *
+   * @see `tokenizer` in `@wordpress/block-serialization-default-parser`
+   * package
+   *
+   * blockParserTokenizer differs from the original tokenizer in the
+   * following ways:
+   *
+   * - removed global flag (/g)
+   * - prepended ^\s*
+   *
+   */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/image-url-input-ui.js
+  const blockParserTokenizer = /^\s*<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/;

+  const buildReusableBlockInserterItem = reusableBlock => {
+    let icon = library_symbol;
+    /*
+     * Instead of always displaying a generic "symbol" icon for every
+     * reusable block, try to use an icon that represents the first
+     * outermost block contained in the reusable block. This requires
+     * scanning the serialized form of the reusable block to find its
+     * first block delimiter, then looking up the corresponding block
+     * type, if available.
+     */

-/**
- * External dependencies
- */
+    if (external_wp_element_namespaceObject.Platform.OS === 'web') {
+      const content = typeof reusableBlock.content.raw === 'string' ? reusableBlock.content.raw : reusableBlock.content;
+      const rawBlockMatch = content.match(blockParserTokenizer);

-/**
- * WordPress dependencies
- */
+      if (rawBlockMatch) {
+        const [,, namespace = 'core/', blockName] = rawBlockMatch;
+        const referencedBlockType = (0,external_wp_blocks_namespaceObject.getBlockType)(namespace + blockName);

+        if (referencedBlockType) {
+          icon = referencedBlockType.icon;
+        }
+      }
+    }

+    const id = `core/block/${reusableBlock.id}`;
+    const {
+      time,
+      count = 0
+    } = getInsertUsage(state, id) || {};
+    const frecency = calculateFrecency(time, count);
+    return {
+      id,
+      name: 'core/block',
+      initialAttributes: {
+        ref: reusableBlock.id
+      },
+      title: reusableBlock.title.raw,
+      icon,
+      category: 'reusable',
+      keywords: [],
+      isDisabled: false,
+      utility: 1,
+      // deprecated
+      frecency
+    };
+  };

+  const blockTypeInserterItems = (0,external_wp_blocks_namespaceObject.getBlockTypes)().filter(blockType => canIncludeBlockTypeInInserter(state, blockType, rootClientId)).map(buildBlockTypeInserterItem);
+  const reusableBlockInserterItems = canInsertBlockTypeUnmemoized(state, 'core/block', rootClientId) ? getReusableBlocks(state).map(buildReusableBlockInserterItem) : [];
+  const items = blockTypeInserterItems.reduce((accumulator, item) => {
+    const {
+      variations = []
+    } = item; // Exclude any block type item that is to be replaced by a default variation

+    if (!variations.some(_ref4 => {
+      let {
+        isDefault
+      } = _ref4;
+      return isDefault;
+    })) {
+      accumulator.push(item);
+    }

-/**
- * Internal dependencies
- */
+    if (variations.length) {
+      const variationMapper = getItemFromVariation(state, item);
+      accumulator.push(...variations.map(variationMapper));
+    }

+    return accumulator;
+  }, []); // Ensure core blocks are prioritized in the returned results,
+  // because third party blocks can be registered earlier than
+  // the core blocks (usually by using the `init` action),
+  // thus affecting the display order.
+  // We don't sort reusable blocks as they are handled differently.

-const LINK_DESTINATION_NONE = 'none';
-const LINK_DESTINATION_CUSTOM = 'custom';
-const LINK_DESTINATION_MEDIA = 'media';
-const LINK_DESTINATION_ATTACHMENT = 'attachment';
-const NEW_TAB_REL = ['noreferrer', 'noopener'];
-const image_url_input_ui_icon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
-  d: "M0,0h24v24H0V0z",
-  fill: "none"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["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(external_wp_element_["createElement"])(external_wp_components_["Path"], {
-  d: "m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"
-}));
+  const groupByType = (blocks, block) => {
+    const {
+      core,
+      noncore
+    } = blocks;
+    const type = block.name.startsWith('core/') ? core : noncore;
+    type.push(block);
+    return blocks;
+  };

-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);
+  const {
+    core: coreItems,
+    noncore: nonCoreItems
+  } = items.reduce(groupByType, {
+    core: [],
+    noncore: []
   });
-  const [isEditingLink, setIsEditingLink] = Object(external_wp_element_["useState"])(false);
-  const [urlInput, setUrlInput] = Object(external_wp_element_["useState"])(null);
-  const autocompleteRef = Object(external_wp_element_["useRef"])(null);
-  const startEditLink = Object(external_wp_element_["useCallback"])(() => {
-    if (linkDestination === LINK_DESTINATION_MEDIA || linkDestination === LINK_DESTINATION_ATTACHMENT) {
-      setUrlInput('');
-    }
+  const sortedBlockTypes = [...coreItems, ...nonCoreItems];
+  return [...sortedBlockTypes, ...reusableBlockInserterItems];
+}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId, state.blocks.order, state.preferences.insertUsage, state.settings.allowedBlockTypes, state.settings.templateLock, getReusableBlocks(state), (0,external_wp_blocks_namespaceObject.getBlockTypes)()]);
+/**
+ * Determines the items that appear in the available block transforms list.
+ *
+ * Each item object contains what's necessary to display a menu item in the
+ * transform list and handle its selection.
+ *
+ * The 'frecency' property is a heuristic (https://en.wikipedia.org/wiki/Frecency)
+ * that combines block usage frequenty and recency.
+ *
+ * Items are returned ordered descendingly by their 'frecency'.
+ *
+ * @param    {Object}  state        Editor state.
+ * @param    {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {WPEditorTransformItem[]} Items that appear in inserter.
+ *
+ * @typedef {Object} WPEditorTransformItem
+ * @property {string}  id           Unique identifier for the item.
+ * @property {string}  name         The type of block to create.
+ * @property {string}  title        Title of the item, as it appears in the inserter.
+ * @property {string}  icon         Dashicon for the item, as it appears in the inserter.
+ * @property {boolean} isDisabled   Whether or not the user should be prevented from inserting
+ *                                  this item.
+ * @property {number}  frecency     Heuristic that combines frequency and recency.
+ */

-    setIsEditingLink(true);
-  });
-  const stopEditLink = Object(external_wp_element_["useCallback"])(() => {
-    setIsEditingLink(false);
+const getBlockTransformItems = rememo(function (state, blocks) {
+  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
+  const buildBlockTypeTransformItem = buildBlockTypeItem(state, {
+    buildScope: 'transform'
   });
-  const closeLinkUI = Object(external_wp_element_["useCallback"])(() => {
-    setUrlInput(null);
-    stopEditLink();
-    setIsOpen(false);
+  const blockTypeTransformItems = (0,external_wp_blocks_namespaceObject.getBlockTypes)().filter(blockType => canIncludeBlockTypeInInserter(state, blockType, rootClientId)).map(buildBlockTypeTransformItem);
+  const itemsByName = (0,external_lodash_namespaceObject.mapKeys)(blockTypeTransformItems, _ref5 => {
+    let {
+      name
+    } = _ref5;
+    return name;
   });
+  const possibleTransforms = (0,external_wp_blocks_namespaceObject.getPossibleBlockTransformations)(blocks).reduce((accumulator, block) => {
+    if (itemsByName[block === null || block === void 0 ? void 0 : block.name]) {
+      accumulator.push(itemsByName[block.name]);
+    }

-  const removeNewTabRel = currentRel => {
-    let newRel = currentRel;
-
-    if (currentRel !== undefined && !Object(external_lodash_["isEmpty"])(newRel)) {
-      if (!Object(external_lodash_["isEmpty"])(newRel)) {
-        Object(external_lodash_["each"])(NEW_TAB_REL, relVal => {
-          const regExp = new RegExp('\\b' + relVal + '\\b', 'gi');
-          newRel = newRel.replace(regExp, '');
-        }); // Only trim if NEW_TAB_REL values was replaced.
-
-        if (newRel !== currentRel) {
-          newRel = newRel.trim();
-        }
+    return accumulator;
+  }, []);
+  const possibleBlockTransformations = (0,external_lodash_namespaceObject.orderBy)(possibleTransforms, block => itemsByName[block.name].frecency, 'desc');
+  return possibleBlockTransformations;
+}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId, state.preferences.insertUsage, state.settings.allowedBlockTypes, state.settings.templateLock, (0,external_wp_blocks_namespaceObject.getBlockTypes)()]);
+/**
+ * Determines whether there are items to show in the inserter.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {boolean} Items that appear in inserter.
+ */

-        if (Object(external_lodash_["isEmpty"])(newRel)) {
-          newRel = undefined;
-        }
-      }
-    }
+const hasInserterItems = rememo(function (state) {
+  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
+  const hasBlockType = (0,external_lodash_namespaceObject.some)((0,external_wp_blocks_namespaceObject.getBlockTypes)(), blockType => canIncludeBlockTypeInInserter(state, blockType, rootClientId));

-    return newRel;
-  };
+  if (hasBlockType) {
+    return true;
+  }

-  const getUpdatedLinkTargetSettings = value => {
-    const newLinkTarget = value ? '_blank' : undefined;
-    let updatedRel;
+  const hasReusableBlock = canInsertBlockTypeUnmemoized(state, 'core/block', rootClientId) && getReusableBlocks(state).length > 0;
+  return hasReusableBlock;
+}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId, state.settings.allowedBlockTypes, state.settings.templateLock, getReusableBlocks(state), (0,external_wp_blocks_namespaceObject.getBlockTypes)()]);
+/**
+ * Returns the list of allowed inserter blocks for inner blocks children
+ *
+ * @param {Object}  state        Editor state.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {Array?} The list of allowed block types.
+ */

-    if (!newLinkTarget && !rel) {
-      updatedRel = undefined;
-    } else {
-      updatedRel = removeNewTabRel(rel);
-    }
+const __experimentalGetAllowedBlocks = rememo(function (state) {
+  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;

-    return {
-      linkTarget: newLinkTarget,
-      rel: updatedRel
-    };
-  };
+  if (!rootClientId) {
+    return;
+  }

-  const onFocusOutside = Object(external_wp_element_["useCallback"])(() => {
-    return event => {
-      // The autocomplete suggestions list renders in a separate popover (in a portal),
-      // so onFocusOutside fails to detect that a click on a suggestion occurred in the
-      // LinkContainer. Detect clicks on autocomplete suggestions using a ref here, and
-      // return to avoid the popover being closed.
-      const autocompleteElement = autocompleteRef.current;
+  return (0,external_lodash_namespaceObject.filter)((0,external_wp_blocks_namespaceObject.getBlockTypes)(), blockType => canIncludeBlockTypeInInserter(state, blockType, rootClientId));
+}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId, state.settings.allowedBlockTypes, state.settings.templateLock, (0,external_wp_blocks_namespaceObject.getBlockTypes)()]);
+/**
+ * Returns the block to be directly inserted by the block appender.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {?string} rootClientId Optional root client ID of block list.
+ *
+ * @return {?Array} The block type to be directly inserted.
+ */

-      if (autocompleteElement && autocompleteElement.contains(event.target)) {
-        return;
-      }
+const __experimentalGetDirectInsertBlock = rememo(function (state) {
+  var _state$blockListSetti, _state$blockListSetti2;

-      setIsOpen(false);
-      setUrlInput(null);
-      stopEditLink();
-    };
-  });
-  const onSubmitLinkChange = Object(external_wp_element_["useCallback"])(() => {
-    return event => {
-      if (urlInput) {
-        var _getLinkDestinations$;
+  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;

-        // It is possible the entered URL actually matches a named link destination.
-        // This check will ensure our link destination is correct.
-        const selectedDestination = ((_getLinkDestinations$ = getLinkDestinations().find(destination => destination.url === urlInput)) === null || _getLinkDestinations$ === void 0 ? void 0 : _getLinkDestinations$.linkDestination) || LINK_DESTINATION_CUSTOM;
-        onChangeUrl({
-          href: urlInput,
-          linkDestination: selectedDestination
-        });
-      }
+  if (!rootClientId) {
+    return;
+  }

-      stopEditLink();
-      setUrlInput(null);
-      event.preventDefault();
-    };
-  });
-  const onLinkRemove = Object(external_wp_element_["useCallback"])(() => {
-    onChangeUrl({
-      linkDestination: LINK_DESTINATION_NONE,
-      href: ''
-    });
-  });
+  const defaultBlock = (_state$blockListSetti = state.blockListSettings[rootClientId]) === null || _state$blockListSetti === void 0 ? void 0 : _state$blockListSetti.__experimentalDefaultBlock;
+  const directInsert = (_state$blockListSetti2 = state.blockListSettings[rootClientId]) === null || _state$blockListSetti2 === void 0 ? void 0 : _state$blockListSetti2.__experimentalDirectInsert;

-  const getLinkDestinations = () => {
-    const linkDestinations = [{
-      linkDestination: LINK_DESTINATION_MEDIA,
-      title: Object(external_wp_i18n_["__"])('Media File'),
-      url: mediaType === 'image' ? mediaUrl : undefined,
-      icon: image_url_input_ui_icon
-    }];
+  if (!defaultBlock || !directInsert) {
+    return;
+  }

-    if (mediaType === 'image' && mediaLink) {
-      linkDestinations.push({
-        linkDestination: LINK_DESTINATION_ATTACHMENT,
-        title: Object(external_wp_i18n_["__"])('Attachment Page'),
-        url: mediaType === 'image' ? mediaLink : undefined,
-        icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
-          viewBox: "0 0 24 24",
-          xmlns: "http://www.w3.org/2000/svg"
-        }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
-          d: "M0 0h24v24H0V0z",
-          fill: "none"
-        }), Object(external_wp_element_["createElement"])(external_wp_components_["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"
-        }))
-      });
-    }
+  if (typeof directInsert === 'function') {
+    return directInsert(getBlock(state, rootClientId)) ? defaultBlock : null;
+  }

-    return linkDestinations;
-  };
+  return defaultBlock;
+}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.tree[rootClientId]]);

-  const onSetHref = value => {
-    const linkDestinations = getLinkDestinations();
-    let linkDestinationInput;
+const checkAllowListRecursive = (blocks, allowedBlockTypes) => {
+  if ((0,external_lodash_namespaceObject.isBoolean)(allowedBlockTypes)) {
+    return allowedBlockTypes;
+  }

-    if (!value) {
-      linkDestinationInput = LINK_DESTINATION_NONE;
-    } else {
-      linkDestinationInput = (Object(external_lodash_["find"])(linkDestinations, destination => {
-        return destination.url === value;
-      }) || {
-        linkDestination: LINK_DESTINATION_CUSTOM
-      }).linkDestination;
-    }
+  const blocksQueue = [...blocks];

-    onChangeUrl({
-      linkDestination: linkDestinationInput,
-      href: value
-    });
-  };
+  while (blocksQueue.length > 0) {
+    var _block$innerBlocks;

-  const onSetNewTab = value => {
-    const updatedLinkTarget = getUpdatedLinkTargetSettings(value);
-    onChangeUrl(updatedLinkTarget);
-  };
+    const block = blocksQueue.shift();
+    const isAllowed = checkAllowList(allowedBlockTypes, block.name || block.blockName, true);

-  const onSetLinkRel = value => {
-    onChangeUrl({
-      rel: value
-    });
-  };
+    if (!isAllowed) {
+      return false;
+    }

-  const onSetLinkClass = value => {
-    onChangeUrl({
-      linkClass: value
+    (_block$innerBlocks = block.innerBlocks) === null || _block$innerBlocks === void 0 ? void 0 : _block$innerBlocks.forEach(innerBlock => {
+      blocksQueue.push(innerBlock);
     });
-  };
+  }

-  const advancedOptions = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Open in new tab'),
-    onChange: onSetNewTab,
-    checked: linkTarget === '_blank'
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Link Rel'),
-    value: removeNewTabRel(rel) || '',
-    onChange: onSetLinkRel
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Link CSS Class'),
-    value: linkClass || '',
-    onChange: onSetLinkClass
-  }));
-  const linkEditorValue = urlInput !== null ? urlInput : url;
-  const urlLabel = (Object(external_lodash_["find"])(getLinkDestinations(), ['linkDestination', linkDestination]) || {}).title;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    icon: library_link["a" /* default */],
-    className: "components-toolbar__control",
-    label: url ? Object(external_wp_i18n_["__"])('Edit link') : Object(external_wp_i18n_["__"])('Insert link'),
-    "aria-expanded": isOpen,
-    onClick: openLinkUI
-  }), isOpen && Object(external_wp_element_["createElement"])(url_popover, {
-    onFocusOutside: onFocusOutside(),
-    onClose: closeLinkUI,
-    renderSettings: () => advancedOptions,
-    additionalControls: !linkEditorValue && Object(external_wp_element_["createElement"])(external_wp_components_["NavigableMenu"], null, Object(external_lodash_["map"])(getLinkDestinations(), link => Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-      key: link.linkDestination,
-      icon: link.icon,
-      onClick: () => {
-        setUrlInput(null);
-        onSetHref(link.url);
-        stopEditLink();
-      }
-    }, link.title)))
-  }, (!url || isEditingLink) && Object(external_wp_element_["createElement"])(url_popover.LinkEditor, {
-    className: "block-editor-format-toolbar__link-container-content",
-    value: linkEditorValue,
-    onChangeInputValue: setUrlInput,
-    onSubmit: onSubmitLinkChange(),
-    autocompleteRef: autocompleteRef
-  }), url && !isEditingLink && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(url_popover.LinkViewer, {
-    className: "block-editor-format-toolbar__link-container-content",
-    url: url,
-    onEditLinkClick: startEditLink,
-    urlLabel: urlLabel
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: library_close["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Remove link'),
-    onClick: onLinkRemove
-  }))));
+  return true;
 };

+const __experimentalGetParsedPattern = rememo((state, patternName) => {
+  const patterns = state.settings.__experimentalBlockPatterns;
+  const pattern = patterns.find(_ref6 => {
+    let {
+      name
+    } = _ref6;
+    return name === patternName;
+  });

+  if (!pattern) {
+    return null;
+  }

-// 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");
+  return { ...pattern,
+    blocks: (0,external_wp_blocks_namespaceObject.parse)(pattern.content)
+  };
+}, state => [state.settings.__experimentalBlockPatterns]);
+const getAllAllowedPatterns = rememo(state => {
+  const patterns = state.settings.__experimentalBlockPatterns;
+  const {
+    allowedBlockTypes
+  } = getSettings(state);
+  const parsedPatterns = patterns.filter(_ref7 => {
+    let {
+      inserter = true
+    } = _ref7;
+    return !!inserter;
+  }).map(_ref8 => {
+    let {
+      name
+    } = _ref8;
+    return __experimentalGetParsedPattern(state, name);
+  });
+  const allowedPatterns = parsedPatterns.filter(_ref9 => {
+    let {
+      blocks
+    } = _ref9;
+    return checkAllowListRecursive(blocks, allowedBlockTypes);
+  });
+  return allowedPatterns;
+}, state => [state.settings.__experimentalBlockPatterns, state.settings.allowedBlockTypes]);
+/**
+ * Returns the list of allowed patterns for inner blocks children.
+ *
+ * @param {Object}  state        Editor state.
+ * @param {?string} rootClientId Optional target root client ID.
+ *
+ * @return {Array?} The list of allowed patterns.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-menu-extension/index.js
-var inserter_menu_extension = __webpack_require__("mlss");
+const __experimentalGetAllowedPatterns = rememo(function (state) {
+  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
+  const availableParsedPatterns = getAllAllowedPatterns(state);
+  const patternsAllowed = (0,external_lodash_namespaceObject.filter)(availableParsedPatterns, _ref10 => {
+    let {
+      blocks
+    } = _ref10;
+    return blocks.every(_ref11 => {
+      let {
+        name
+      } = _ref11;
+      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]]);
+/**
+ * Returns the list of patterns based on their declared `blockTypes`
+ * and a block's name.
+ * Patterns can use `blockTypes` to integrate in work flows like
+ * suggesting appropriate patterns in a Placeholder state(during insertion)
+ * or blocks transformations.
+ *
+ * @param {Object}          state        Editor state.
+ * @param {string|string[]} blockNames   Block's name or array of block names to find matching pattens.
+ * @param {?string}         rootClientId Optional target root client ID.
+ *
+ * @return {Array} The list of matched block patterns based on declared `blockTypes` and block name.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/preview-options/index.js
+const __experimentalGetPatternsByBlockTypes = rememo(function (state, blockNames) {
+  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
+  if (!blockNames) return EMPTY_ARRAY;

+  const patterns = __experimentalGetAllowedPatterns(state, rootClientId);

-/**
- * External dependencies
- */
+  const normalizedBlockNames = Array.isArray(blockNames) ? blockNames : [blockNames];
+  return patterns.filter(pattern => {
+    var _pattern$blockTypes, _pattern$blockTypes$s;

+    return pattern === null || pattern === void 0 ? void 0 : (_pattern$blockTypes = pattern.blockTypes) === null || _pattern$blockTypes === void 0 ? void 0 : (_pattern$blockTypes$s = _pattern$blockTypes.some) === null || _pattern$blockTypes$s === void 0 ? void 0 : _pattern$blockTypes$s.call(_pattern$blockTypes, blockName => normalizedBlockNames.includes(blockName));
+  });
+}, (state, rootClientId) => [...__experimentalGetAllowedPatterns.getDependants(state, rootClientId)]);
 /**
- * WordPress dependencies
+ * Determines the items that appear in the available pattern transforms list.
+ *
+ * For now we only handle blocks without InnerBlocks and take into account
+ * the `__experimentalRole` property of blocks' attributes for the transformation.
+ *
+ * We return the first set of possible eligible block patterns,
+ * by checking the `blockTypes` property. We still have to recurse through
+ * block pattern's blocks and try to find matches from the selected blocks.
+ * Now this happens in the consumer to avoid heavy operations in the selector.
+ *
+ * @param {Object}   state        Editor state.
+ * @param {Object[]} blocks       The selected blocks.
+ * @param {?string}  rootClientId Optional root client ID of block list.
+ *
+ * @return {WPBlockPattern[]} Items that are eligible for a pattern transformation.
  */

+const __experimentalGetPatternTransformItems = rememo(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
+   * the `__experimentalRole` property of blocks' attributes for the transformation.
+   * Note that the blocks have been retrieved through `getBlock`, which doesn't
+   * return the inner blocks of an inner block controller, so we still need
+   * to check for this case too.
+   */

+  if (blocks.some(_ref12 => {
+    let {
+      clientId,
+      innerBlocks
+    } = _ref12;
+    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(_ref13 => {
+    let {
+      name
+    } = _ref13;
+    return name;
+  })));
+  /**
+   * Here we will return first set of possible eligible block patterns,
+   * by checking the `blockTypes` property. We still have to recurse through
+   * block pattern's blocks and try to find matches from the selected blocks.
+   * Now this happens in the consumer to avoid heavy operations in the selector.
+   */

-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 = {
-    className: classnames_default()(className, 'block-editor-post-preview__dropdown-content'),
-    position: 'bottom left'
-  };
-  const toggleProps = {
-    variant: 'tertiary',
-    className: 'block-editor-post-preview__button-toggle',
-    disabled: !isEnabled,
+  return __experimentalGetPatternsByBlockTypes(state, selectedBlockNames, rootClientId);
+}, (state, rootClientId) => [...__experimentalGetPatternsByBlockTypes.getDependants(state, rootClientId)]);
+/**
+ * Returns the Block List settings of a block, if any exist.
+ *
+ * @param {Object}  state    Editor state.
+ * @param {?string} clientId Block client ID.
+ *
+ * @return {?Object} Block settings of the block if set.
+ */

-    /* translators: button label text should, if possible, be under 16 characters. */
-    children: Object(external_wp_i18n_["__"])('Preview')
-  };
-  return Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    className: "block-editor-post-preview__dropdown",
-    popoverProps: popoverProps,
-    toggleProps: toggleProps,
-    icon: null
-  }, () => 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"])(external_wp_components_["MenuItem"], {
-    className: "block-editor-post-preview__button-resize",
-    onClick: () => setDeviceType('Desktop'),
-    icon: deviceType === 'Desktop' && check["a" /* default */]
-  }, Object(external_wp_i18n_["__"])('Desktop')), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    className: "block-editor-post-preview__button-resize",
-    onClick: () => setDeviceType('Tablet'),
-    icon: deviceType === 'Tablet' && check["a" /* default */]
-  }, Object(external_wp_i18n_["__"])('Tablet')), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    className: "block-editor-post-preview__button-resize",
-    onClick: () => setDeviceType('Mobile'),
-    icon: deviceType === 'Mobile' && check["a" /* default */]
-  }, Object(external_wp_i18n_["__"])('Mobile'))), children));
+function getBlockListSettings(state, clientId) {
+  return state.blockListSettings[clientId];
 }
+/**
+ * Returns the editor settings.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {Object} The editor settings object.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-resize-canvas/index.js
+function getSettings(state) {
+  return state.settings;
+}
 /**
- * WordPress dependencies
+ * Returns true if the most recent block change is be considered persistent, or
+ * false otherwise. A persistent change is one committed by BlockEditorProvider
+ * via its `onChange` callback, in addition to `onInput`.
+ *
+ * @param {Object} state Block editor state.
+ *
+ * @return {boolean} Whether the most recent block change was persistent.
  */

+function isLastBlockChangePersistent(state) {
+  return state.blocks.isPersistentChange;
+}
 /**
- * Function to resize the editor window.
+ * Returns the block list settings for an array of blocks, if any exist.
  *
- * @param {string} deviceType Used for determining the size of the container (e.g. Desktop, Tablet, Mobile)
+ * @param {Object} state     Editor state.
+ * @param {Array}  clientIds Block client IDs.
  *
- * @return {Object} Inline styles to be added to resizable container.
+ * @return {Object} An object where the keys are client ids and the values are
+ *                  a block list setting object.
  */

-function useResizeCanvas(deviceType) {
-  const [actualWidth, updateActualWidth] = Object(external_wp_element_["useState"])(window.innerWidth);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (deviceType === 'Desktop') {
-      return;
+const __experimentalGetBlockListSettingsForBlocks = rememo(function (state) {
+  let clientIds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
+  return clientIds.reduce((blockListSettingsForBlocks, clientId) => {
+    if (!state.blockListSettings[clientId]) {
+      return blockListSettingsForBlocks;
     }

-    const resizeListener = () => updateActualWidth(window.innerWidth);
-
-    window.addEventListener('resize', resizeListener);
-    return () => {
-      window.removeEventListener('resize', resizeListener);
+    return { ...blockListSettingsForBlocks,
+      [clientId]: state.blockListSettings[clientId]
     };
-  }, [deviceType]);
-
-  const getCanvasWidth = device => {
-    let deviceWidth;
-
-    switch (device) {
-      case 'Tablet':
-        deviceWidth = 780;
-        break;
-
-      case 'Mobile':
-        deviceWidth = 360;
-        break;
-
-      default:
-        return null;
-    }
-
-    return deviceWidth < actualWidth ? deviceWidth : actualWidth;
-  };
+  }, {});
+}, state => [state.blockListSettings]);
+/**
+ * Returns the title of a given reusable block
+ *
+ * @param {Object}        state Global application state.
+ * @param {number|string} ref   The shared block's ID.
+ *
+ * @return {string} The reusable block saved title.
+ */

-  const marginValue = () => window.innerHeight < 800 ? 36 : 72;
+const __experimentalGetReusableBlockTitle = rememo((state, ref) => {
+  var _reusableBlock$title;

-  const contentInlineStyles = device => {
-    const height = device === 'Mobile' ? '768px' : '1024px';
+  const reusableBlock = (0,external_lodash_namespaceObject.find)(getReusableBlocks(state), block => block.id === ref);

-    switch (device) {
-      case 'Tablet':
-      case 'Mobile':
-        return {
-          width: getCanvasWidth(device),
-          margin: marginValue() + 'px auto',
-          height,
-          borderRadius: '2px 2px 2px 2px',
-          border: '1px solid #ddd',
-          overflowY: 'auto'
-        };
+  if (!reusableBlock) {
+    return null;
+  }

-      default:
-        return null;
-    }
-  };
+  return (_reusableBlock$title = reusableBlock.title) === null || _reusableBlock$title === void 0 ? void 0 : _reusableBlock$title.raw;
+}, state => [getReusableBlocks(state)]);
+/**
+ * Returns true if the most recent block change is be considered ignored, or
+ * false otherwise. An ignored change is one not to be committed by
+ * BlockEditorProvider, neither via `onChange` nor `onInput`.
+ *
+ * @param {Object} state Block editor state.
+ *
+ * @return {boolean} Whether the most recent block change was ignored.
+ */

-  return contentInlineStyles(deviceType);
+function __unstableIsLastBlockChangeIgnored(state) {
+  // TODO: Removal Plan: Changes incurred by RECEIVE_BLOCKS should not be
+  // ignored if in-fact they result in a change in blocks state. The current
+  // need to ignore changes not a result of user interaction should be
+  // accounted for in the refactoring of reusable blocks as occurring within
+  // their own separate block editor / state (#7119).
+  return state.blocks.isIgnoredChange;
 }
+/**
+ * Returns the block attributes changed as a result of the last dispatched
+ * action.
+ *
+ * @param {Object} state Block editor state.
+ *
+ * @return {Object<string,Object>} Subsets of block attributes changed, keyed
+ *                                 by block client ID.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-refs.js
-var use_block_refs = __webpack_require__("PKbb");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/skip-to-selected-block/index.js
+function __experimentalGetLastBlockAttributeChanges(state) {
+  return state.lastBlockAttributesChange;
+}
+/**
+ * Returns the available reusable blocks
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Array} Reusable blocks
+ */

+function getReusableBlocks(state) {
+  var _state$settings$__exp, _state$settings;

+  return (_state$settings$__exp = state === null || state === void 0 ? void 0 : (_state$settings = state.settings) === null || _state$settings === void 0 ? void 0 : _state$settings.__experimentalReusableBlocks) !== null && _state$settings$__exp !== void 0 ? _state$settings$__exp : EMPTY_ARRAY;
+}
 /**
- * WordPress dependencies
+ * Returns whether the navigation mode is enabled.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {boolean} Is navigation mode enabled.
  */


-
+function selectors_isNavigationMode(state) {
+  return state.isNavigationMode;
+}
 /**
- * Internal dependencies
+ * Returns whether block moving mode is enabled.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {string} Client Id of moving block.
  */

-
-
-
-const SkipToSelectedBlock = _ref => {
-  let {
-    selectedBlockClientId
-  } = _ref;
-  const ref = Object(use_block_refs["b" /* __unstableUseBlockRef */])(selectedBlockClientId);
-
-  const onClick = () => {
-    ref.current.focus();
-  };
-
-  return selectedBlockClientId ? Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    className: "block-editor-skip-to-selected-block",
-    onClick: onClick
-  }, Object(external_wp_i18n_["__"])('Skip to the selected block')) : null;
-};
-
-/* harmony default export */ var skip_to_selected_block = (Object(external_wp_data_["withSelect"])(select => {
-  return {
-    selectedBlockClientId: select(store["a" /* store */]).getBlockSelectionStart()
-  };
-})(SkipToSelectedBlock));
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-card/index.js
-var block_card = __webpack_require__("GvwK");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/index.js + 1 modules
-var block_styles = __webpack_require__("7NR9");
-
-// EXTERNAL MODULE: external ["wp","wordcount"]
-var external_wp_wordcount_ = __webpack_require__("7fqt");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/stack.js
-var stack = __webpack_require__("wzfx");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/multi-selection-inspector/index.js
-
-
+function selectors_hasBlockMovingClientId(state) {
+  return state.hasBlockMovingClientId;
+}
 /**
- * WordPress dependencies
+ * Returns true if the last change was an automatic change, false otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the last change was automatic.
  */

-
-
-
-
+function didAutomaticChange(state) {
+  return !!state.automaticChangeStatus;
+}
 /**
- * Internal dependencies
+ * Returns true if the current highlighted block matches the block clientId.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} clientId The block to check.
+ *
+ * @return {boolean} Whether the block is currently highlighted.
  */

-
-
-
-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"
-  }, Object(external_wp_element_["createElement"])(block_icon["a" /* default */], {
-    icon: stack["a" /* default */],
-    showColors: true
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-multi-selection-inspector__card-content"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-multi-selection-inspector__card-title"
-  }, Object(external_wp_i18n_["sprintf"])(
-  /* translators: %d: number of blocks */
-  Object(external_wp_i18n_["_n"])('%d block', '%d blocks', blocks.length), blocks.length)), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-multi-selection-inspector__card-description"
-  }, Object(external_wp_i18n_["sprintf"])(
-  /* translators: %d: number of words */
-  Object(external_wp_i18n_["_n"])('%d word', '%d words', words), words))));
+function isBlockHighlighted(state, clientId) {
+  return state.highlightedBlock === clientId;
 }
+/**
+ * Checks if a given block has controlled inner blocks.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} clientId The block to check.
+ *
+ * @return {boolean} True if the block has controlled inner blocks.
+ */

-/* harmony default export */ var multi_selection_inspector = (Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getMultiSelectedBlocks
-  } = select(store["a" /* store */]);
-  return {
-    blocks: getMultiSelectedBlocks()
-  };
-})(MultiSelectionInspector));
+function areInnerBlocksControlled(state, clientId) {
+  return !!state.blocks.controlledInnerBlocks[clientId];
+}
+/**
+ * Returns the clientId for the first 'active' block of a given array of block names.
+ * A block is 'active' if it (or a child) is the selected block.
+ * Returns the first match moving up the DOM from the selected block.
+ *
+ * @param {Object}   state            Global application state.
+ * @param {string[]} validBlocksNames The names of block types to check for.
+ *
+ * @return {string} The matching block's clientId.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-style-picker/index.js
+const __experimentalGetActiveBlockIdByBlockNames = rememo((state, validBlockNames) => {
+  if (!validBlockNames.length) {
+    return null;
+  } // Check if selected block is a valid entity area.


-/**
- * WordPress dependencies
- */
+  const selectedBlockClientId = getSelectedBlockClientId(state);

+  if (validBlockNames.includes(getBlockName(state, selectedBlockClientId))) {
+    return selectedBlockClientId;
+  } // Check if first selected block is a child of a valid entity area.


+  const multiSelectedBlockClientIds = getMultiSelectedBlockClientIds(state);
+  const entityAreaParents = getBlockParentsByBlockName(state, selectedBlockClientId || multiSelectedBlockClientIds[0], validBlockNames);

+  if (entityAreaParents) {
+    // Last parent closest/most interior.
+    return (0,external_lodash_namespaceObject.last)(entityAreaParents);
+  }

+  return null;
+}, (state, validBlockNames) => [state.selection.selectionStart.clientId, state.selection.selectionEnd.clientId, validBlockNames]);
 /**
- * Internal dependencies
+ * Tells if the block with the passed clientId was just inserted.
+ *
+ * @param {Object}  state    Global application state.
+ * @param {Object}  clientId Client Id of the block.
+ * @param {?string} source   Optional insertion source of the block.
+ * @return {boolean} True if the block matches the last block inserted from the specified source.
  */

-
-function DefaultStylePicker(_ref) {
-  let {
-    blockName
-  } = _ref;
+function wasBlockJustInserted(state, clientId, source) {
   const {
-    preferredStyle,
-    onUpdatePreferredStyleVariations,
-    styles
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _preferredStyleVariat, _preferredStyleVariat2;
-
-    const settings = select(store["a" /* store */]).getSettings();
-    const preferredStyleVariations = settings.__experimentalPreferredStyleVariations;
-    return {
-      preferredStyle: preferredStyleVariations === null || preferredStyleVariations === void 0 ? void 0 : (_preferredStyleVariat = preferredStyleVariations.value) === null || _preferredStyleVariat === void 0 ? void 0 : _preferredStyleVariat[blockName],
-      onUpdatePreferredStyleVariations: (_preferredStyleVariat2 = preferredStyleVariations === null || preferredStyleVariations === void 0 ? void 0 : preferredStyleVariations.onChange) !== null && _preferredStyleVariat2 !== void 0 ? _preferredStyleVariat2 : null,
-      styles: select(external_wp_blocks_["store"]).getBlockStyles(blockName)
-    };
-  }, [blockName]);
-  const selectOptions = Object(external_wp_element_["useMemo"])(() => [{
-    label: Object(external_wp_i18n_["__"])('Not set'),
-    value: ''
-  }, ...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]);
-  return onUpdatePreferredStyleVariations && Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    options: selectOptions,
-    value: preferredStyle || '',
-    label: Object(external_wp_i18n_["__"])('Default Style'),
-    onChange: selectOnChange
-  });
+    lastBlockInserted
+  } = state;
+  return lastBlockInserted.clientId === clientId && lastBlockInserted.source === source;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-inspector/index.js
-
-
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: external ["wp","richText"]
+var external_wp_richText_namespaceObject = window["wp"]["richText"];
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/actions.js
 /**
- * WordPress dependencies
+ * External dependencies
  */

-
-
-
 /**
- * Internal dependencies
+ * WordPress dependencies
  */


@@ -12442,1882 +7515,1718 @@ function DefaultStylePicker(_ref) {



+/**
+ * Action which will insert a default block insert action if there
+ * are no other blocks at the root of the editor. This action should be used
+ * in actions which may result in no blocks remaining in the editor (removal,
+ * replacement, etc).
+ */

-
-
-
-
-const BlockInspector = _ref => {
+const ensureDefaultBlock = () => _ref => {
   let {
-    showNoBlockSelectedMessage = true,
-    bubblesVirtually = true
+    select,
+    dispatch
   } = _ref;
-  const {
-    count,
-    hasBlockStyles,
-    selectedBlockName,
-    selectedBlockClientId,
-    blockType
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getSelectedBlockClientId,
-      getSelectedBlockCount,
-      getBlockName
-    } = select(store["a" /* store */]);
-    const {
-      getBlockStyles
-    } = select(external_wp_blocks_["store"]);
-
-    const _selectedBlockClientId = getSelectedBlockClientId();
-
-    const _selectedBlockName = _selectedBlockClientId && getBlockName(_selectedBlockClientId);
-
-    const _blockType = _selectedBlockName && Object(external_wp_blocks_["getBlockType"])(_selectedBlockName);
-
-    const blockStyles = _selectedBlockName && getBlockStyles(_selectedBlockName);
-
-    return {
-      count: getSelectedBlockCount(),
-      selectedBlockClientId: _selectedBlockClientId,
-      selectedBlockName: _selectedBlockName,
-      blockType: _blockType,
-      hasBlockStyles: blockStyles && blockStyles.length > 0
-    };
-  }, []);
+  // 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();

-  if (count > 1) {
-    return Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-block-inspector"
-    }, Object(external_wp_element_["createElement"])(multi_selection_inspector, null), Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */].Slot, null), Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */].Slot, {
-      __experimentalGroup: "typography",
-      label: Object(external_wp_i18n_["__"])('Typography')
-    }), Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */].Slot, {
-      __experimentalGroup: "dimensions",
-      label: Object(external_wp_i18n_["__"])('Dimensions')
-    }), Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */].Slot, {
-      __experimentalGroup: "border",
-      label: Object(external_wp_i18n_["__"])('Border')
-    }));
-  }
+  if (count > 0) {
+    return;
+  } // If there's an custom appender, don't insert default block.
+  // We have to remember to manually move the focus elsewhere to
+  // prevent it from being lost though.

-  const isSelectedBlockUnregistered = selectedBlockName === Object(external_wp_blocks_["getUnregisteredTypeHandlerName"])();
-  /*
-   * If the selected block is of an unregistered type, avoid showing it as an actual selection
-   * because we want the user to focus on the unregistered block warning, not block settings.
-   */

-  if (!blockType || !selectedBlockClientId || isSelectedBlockUnregistered) {
-    if (showNoBlockSelectedMessage) {
-      return Object(external_wp_element_["createElement"])("span", {
-        className: "block-editor-block-inspector__no-blocks"
-      }, Object(external_wp_i18n_["__"])('No block selected.'));
-    }
+  const {
+    __unstableHasCustomAppender
+  } = select.getSettings();

-    return null;
+  if (__unstableHasCustomAppender) {
+    return;
   }

-  return Object(external_wp_element_["createElement"])(BlockInspectorSingleBlock, {
-    clientId: selectedBlockClientId,
-    blockName: blockType.name,
-    hasBlockStyles: hasBlockStyles,
-    bubblesVirtually: bubblesVirtually
-  });
+  dispatch.insertDefaultBlock();
 };
+/**
+ * Action that resets blocks state to the specified array of blocks, taking precedence
+ * over any other content reflected as an edit in state.
+ *
+ * @param {Array} blocks Array of blocks.
+ */

-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"
-  }, Object(external_wp_element_["createElement"])(block_card["a" /* default */], blockInformation), Object(external_wp_element_["createElement"])(components_block_variation_transforms, {
-    blockClientId: clientId
-  }), hasBlockStyles && Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Styles')
-  }, Object(external_wp_element_["createElement"])(block_styles["a" /* default */], {
-    clientId: clientId
-  }), Object(external_wp_blocks_["hasBlockSupport"])(blockName, 'defaultStylePicker', true) && Object(external_wp_element_["createElement"])(DefaultStylePicker, {
-    blockName: blockName
-  }))), Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */].Slot, {
-    bubblesVirtually: bubblesVirtually
-  }), Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */].Slot, {
-    __experimentalGroup: "typography",
-    bubblesVirtually: bubblesVirtually,
-    label: Object(external_wp_i18n_["__"])('Typography')
-  }), Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */].Slot, {
-    __experimentalGroup: "dimensions",
-    bubblesVirtually: bubblesVirtually,
-    label: Object(external_wp_i18n_["__"])('Dimensions')
-  }), Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */].Slot, {
-    __experimentalGroup: "border",
-    label: Object(external_wp_i18n_["__"])('Border')
-  }), Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(AdvancedControls, {
-    bubblesVirtually: bubblesVirtually
-  })), Object(external_wp_element_["createElement"])(skip_to_selected_block, {
-    key: "back"
-  }));
-};

-const AdvancedControls = _ref3 => {
+const resetBlocks = blocks => _ref2 => {
   let {
-    bubblesVirtually
-  } = _ref3;
-  const slot = Object(external_wp_components_["__experimentalUseSlot"])(inspector_controls["a" /* InspectorAdvancedControls */].slotName);
-  const hasFills = Boolean(slot.fills && slot.fills.length);
-
-  if (!hasFills) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    className: "block-editor-block-inspector__advanced",
-    title: Object(external_wp_i18n_["__"])('Advanced'),
-    initialOpen: false
-  }, Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */].Slot, {
-    __experimentalGroup: "advanced",
-    bubblesVirtually: bubblesVirtually
-  }));
+    dispatch
+  } = _ref2;
+  dispatch({
+    type: 'RESET_BLOCKS',
+    blocks
+  });
+  dispatch(validateBlocksToTemplate(blocks));
 };
-
-/* harmony default export */ var block_inspector = (BlockInspector);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js + 4 modules
-var block_list = __webpack_require__("VyCT");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/index.js
-var use_block_props = __webpack_require__("nlh6");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/layout.js
-var block_list_layout = __webpack_require__("w8sn");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/index.js
-var block_mover = __webpack_require__("JygI");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-selection-clearer/index.js
-var block_selection_clearer = __webpack_require__("zQI6");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/index.js
-var block_settings_menu = __webpack_require__("U1WI");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu-controls/index.js + 2 modules
-var block_settings_menu_controls = __webpack_require__("pXCJ");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-toolbar/index.js + 9 modules
-var block_toolbar = __webpack_require__("+gtr");
-
-// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
-var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/insertion-point.js
-var insertion_point = __webpack_require__("PS/H");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/block-popover.js + 1 modules
-var block_popover = __webpack_require__("xCFn");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/block-contextual-toolbar.js
-var block_contextual_toolbar = __webpack_require__("JUfZ");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/use-popover-scroll.js
-var use_popover_scroll = __webpack_require__("2z9l");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/index.js
-
-
-
-/**
- * External dependencies
- */
-
 /**
- * WordPress dependencies
+ * Block validity is a function of blocks state (at the point of a
+ * reset) and the template setting. As a compromise to its placement
+ * across distinct parts of state, it is implemented here as a side-
+ * effect of the block reset action.
+ *
+ * @param {Array} blocks Array of blocks.
  */

+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.

+  const isBlocksValidToTemplate = !template || templateLock !== 'all' || (0,external_wp_blocks_namespaceObject.doBlocksMatchTemplate)(blocks, template); // Update if validity has changed.

+  const isValidTemplate = select.isValidTemplate();

-
+  if (isBlocksValidToTemplate !== isValidTemplate) {
+    dispatch.setTemplateValidity(isBlocksValidToTemplate);
+    return isBlocksValidToTemplate;
+  }
+};
 /**
- * Internal dependencies
+ * A block selection object.
+ *
+ * @typedef {Object} WPBlockSelection
+ *
+ * @property {string} clientId     A block client ID.
+ * @property {string} attributeKey A block attribute key.
+ * @property {number} offset       An attribute value offset, based on the rich
+ *                                 text value. See `wp.richText.create`.
  */

-
-
-
-
+/* eslint-disable jsdoc/valid-types */

 /**
- * Renders block tools (the block toolbar, select/navigation mode toolbar, the
- * insertion point and a slot for the inline rich text toolbar). Must be wrapped
- * around the block content and editor styles wrapper or iframe.
+ * Returns an action object used in signalling that selection state should be
+ * reset to the specified selection.
  *
- * @param {Object} $0                      Props.
- * @param {Object} $0.children             The block content and style container.
- * @param {Object} $0.__unstableContentRef Ref holding the content scroll container.
+ * @param {WPBlockSelection} selectionStart  The selection start.
+ * @param {WPBlockSelection} selectionEnd    The selection end.
+ * @param {0|-1|null}        initialPosition Initial block position.
+ *
+ * @return {Object} Action object.
  */

-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"])();
-  const {
-    getSelectedBlockClientIds,
-    getBlockRootClientId
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    duplicateBlocks,
-    removeBlocks,
-    insertAfterBlock,
-    insertBeforeBlock,
-    clearSelectedBlock,
-    moveBlocksUp,
-    moveBlocksDown
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-
-  function onKeyDown(event) {
-    if (isMatch('core/block-editor/move-up', event)) {
-      const clientIds = getSelectedBlockClientIds();
-
-      if (clientIds.length) {
-        event.preventDefault();
-        const rootClientId = getBlockRootClientId(Object(external_lodash_["first"])(clientIds));
-        moveBlocksUp(clientIds, rootClientId);
-      }
-    } else if (isMatch('core/block-editor/move-down', event)) {
-      const clientIds = getSelectedBlockClientIds();
-
-      if (clientIds.length) {
-        event.preventDefault();
-        const rootClientId = getBlockRootClientId(Object(external_lodash_["first"])(clientIds));
-        moveBlocksDown(clientIds, rootClientId);
-      }
-    } else if (isMatch('core/block-editor/duplicate', event)) {
-      const clientIds = getSelectedBlockClientIds();
-
-      if (clientIds.length) {
-        event.preventDefault();
-        duplicateBlocks(clientIds);
-      }
-    } else if (isMatch('core/block-editor/remove', event)) {
-      const clientIds = getSelectedBlockClientIds();
-
-      if (clientIds.length) {
-        event.preventDefault();
-        removeBlocks(clientIds);
-      }
-    } else if (isMatch('core/block-editor/insert-after', event)) {
-      const clientIds = getSelectedBlockClientIds();
-
-      if (clientIds.length) {
-        event.preventDefault();
-        insertAfterBlock(Object(external_lodash_["last"])(clientIds));
-      }
-    } else if (isMatch('core/block-editor/insert-before', event)) {
-      const clientIds = getSelectedBlockClientIds();
-
-      if (clientIds.length) {
-        event.preventDefault();
-        insertBeforeBlock(Object(external_lodash_["first"])(clientIds));
-      }
-    } else if (isMatch('core/block-editor/delete-multi-selection', event)) {
-      /**
-       * Check if the target element is a text area, input or
-       * event.defaultPrevented and return early. In all these
-       * cases backspace could be handled elsewhere.
-       */
-      if (['INPUT', 'TEXTAREA'].includes(event.target.nodeName) || event.defaultPrevented) {
-        return;
-      }
-
-      const clientIds = getSelectedBlockClientIds();
-
-      if (clientIds.length > 1) {
-        event.preventDefault();
-        removeBlocks(clientIds);
-      }
-    } else if (isMatch('core/block-editor/unselect', event)) {
-      const clientIds = getSelectedBlockClientIds();
-
-      if (clientIds.length > 1) {
-        event.preventDefault();
-        clearSelectedBlock();
-        event.target.ownerDocument.defaultView.getSelection().removeAllRanges();
-      }
-    }
-  }
-
-  return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
-    Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, props, {
-      onKeyDown: onKeyDown
-    }), Object(external_wp_element_["createElement"])(insertion_point["b" /* default */], {
-      __unstableContentRef: __unstableContentRef
-    }, (hasFixedToolbar || !isLargeViewport) && Object(external_wp_element_["createElement"])(block_contextual_toolbar["a" /* default */], {
-      isFixed: true
-    }), Object(external_wp_element_["createElement"])(block_popover["a" /* default */], {
-      __unstableContentRef: __unstableContentRef
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["Popover"].Slot, {
-      name: "block-toolbar",
-      ref: Object(use_popover_scroll["a" /* usePopoverScroll */])(__unstableContentRef)
-    }), children, Object(external_wp_element_["createElement"])(external_wp_components_["Popover"].Slot, {
-      name: "__unstable-block-tools-after",
-      ref: Object(use_popover_scroll["a" /* usePopoverScroll */])(__unstableContentRef)
-    })))
-  );
+function resetSelection(selectionStart, selectionEnd, initialPosition) {
+  /* eslint-enable jsdoc/valid-types */
+  return {
+    type: 'RESET_SELECTION',
+    selectionStart,
+    selectionEnd,
+    initialPosition
+  };
 }
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/copy-handler/index.js + 1 modules
-var copy_handler = __webpack_require__("+0ps");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js
-var default_block_appender = __webpack_require__("5L8O");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/editor-styles/index.js
-var editor_styles = __webpack_require__("KyyN");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/index.js + 1 modules
-var inserter = __webpack_require__("qrxh");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js + 10 modules
-var menu = __webpack_require__("xZzQ");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/library.js
-
-
 /**
- * External dependencies
+ * Returns an action object used in signalling that blocks have been received.
+ * Unlike resetBlocks, these should be appended to the existing known set, not
+ * replacing.
+ *
+ * @deprecated
+ *
+ * @param {Object[]} blocks Array of block objects.
+ *
+ * @return {Object} Action object.
  */

+function receiveBlocks(blocks) {
+  external_wp_deprecated_default()('wp.data.dispatch( "core/block-editor" ).receiveBlocks', {
+    since: '5.9',
+    alternative: 'resetBlocks or insertBlocks'
+  });
+  return {
+    type: 'RECEIVE_BLOCKS',
+    blocks
+  };
+}
 /**
- * WordPress dependencies
+ * Action that updates attributes of multiple blocks with the specified client IDs.
+ *
+ * @param {string|string[]} clientIds     Block client IDs.
+ * @param {Object}          attributes    Block attributes to be merged. Should be keyed by clientIds if
+ *                                        uniqueByBlock is true.
+ * @param {boolean}         uniqueByBlock true if each block in clientIds array has a unique set of attributes
+ * @return {Object} Action object.
  */

-
+function updateBlockAttributes(clientIds, attributes) {
+  let uniqueByBlock = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
+  return {
+    type: 'UPDATE_BLOCK_ATTRIBUTES',
+    clientIds: (0,external_lodash_namespaceObject.castArray)(clientIds),
+    attributes,
+    uniqueByBlock
+  };
+}
 /**
- * Internal dependencies
+ * Action that updates the block with the specified client ID.
+ *
+ * @param {string} clientId Block client ID.
+ * @param {Object} updates  Block attributes to be merged.
+ *
+ * @return {Object} Action object.
  */

-
-
-
-function InserterLibrary(_ref) {
-  let {
-    rootClientId,
+function updateBlock(clientId, updates) {
+  return {
+    type: 'UPDATE_BLOCK',
     clientId,
-    isAppender,
-    showInserterHelpPanel,
-    showMostUsedBlocks = false,
-    __experimentalInsertionIndex,
-    __experimentalFilterValue,
-    onSelect = external_lodash_["noop"],
-    shouldFocusBlock = false
-  } = _ref;
-  const destinationRootClientId = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockRootClientId
-    } = select(store["a" /* store */]);
-    return rootClientId || getBlockRootClientId(clientId) || undefined;
-  }, [clientId, rootClientId]);
-  return Object(external_wp_element_["createElement"])(menu["a" /* default */], {
-    onSelect: onSelect,
-    rootClientId: destinationRootClientId,
-    clientId: clientId,
-    isAppender: isAppender,
-    showInserterHelpPanel: showInserterHelpPanel,
-    showMostUsedBlocks: showMostUsedBlocks,
-    __experimentalInsertionIndex: __experimentalInsertionIndex,
-    __experimentalFilterValue: __experimentalFilterValue,
-    shouldFocusBlock: shouldFocusBlock
-  });
+    updates
+  };
 }
+/* eslint-disable jsdoc/valid-types */

-/* harmony default export */ var library = (InserterLibrary);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/keyboard-shortcuts/index.js
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that the block with the
+ * specified client ID has been selected, optionally accepting a position
+ * value reflecting its selection directionality. An initialPosition of -1
+ * reflects a reverse selection.
+ *
+ * @param {string}    clientId        Block client ID.
+ * @param {0|-1|null} initialPosition Optional initial position. Pass as -1 to
+ *                                    reflect reverse selection.
+ *
+ * @return {Object} Action object.
  */

+function selectBlock(clientId) {
+  let initialPosition = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;

-
-
-
-function KeyboardShortcuts() {
-  return null;
-}
-
-function KeyboardShortcutsRegister() {
-  // Registering the shortcuts
-  const {
-    registerShortcut
-  } = Object(external_wp_data_["useDispatch"])(external_wp_keyboardShortcuts_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
-    registerShortcut({
-      name: 'core/block-editor/duplicate',
-      category: 'block',
-      description: Object(external_wp_i18n_["__"])('Duplicate the selected block(s).'),
-      keyCombination: {
-        modifier: 'primaryShift',
-        character: 'd'
-      }
-    });
-    registerShortcut({
-      name: 'core/block-editor/remove',
-      category: 'block',
-      description: Object(external_wp_i18n_["__"])('Remove the selected block(s).'),
-      keyCombination: {
-        modifier: 'access',
-        character: 'z'
-      }
-    });
-    registerShortcut({
-      name: 'core/block-editor/insert-before',
-      category: 'block',
-      description: Object(external_wp_i18n_["__"])('Insert a new block before the selected block(s).'),
-      keyCombination: {
-        modifier: 'primaryAlt',
-        character: 't'
-      }
-    });
-    registerShortcut({
-      name: 'core/block-editor/insert-after',
-      category: 'block',
-      description: Object(external_wp_i18n_["__"])('Insert a new block after the selected block(s).'),
-      keyCombination: {
-        modifier: 'primaryAlt',
-        character: 'y'
-      }
-    });
-    registerShortcut({
-      name: 'core/block-editor/delete-multi-selection',
-      category: 'block',
-      description: Object(external_wp_i18n_["__"])('Remove multiple selected blocks.'),
-      keyCombination: {
-        character: 'del'
-      },
-      aliases: [{
-        character: 'backspace'
-      }]
-    });
-    registerShortcut({
-      name: 'core/block-editor/select-all',
-      category: 'selection',
-      description: Object(external_wp_i18n_["__"])('Select all text when typing. Press again to select all blocks.'),
-      keyCombination: {
-        modifier: 'primary',
-        character: 'a'
-      }
-    });
-    registerShortcut({
-      name: 'core/block-editor/unselect',
-      category: 'selection',
-      description: Object(external_wp_i18n_["__"])('Clear selection.'),
-      keyCombination: {
-        character: 'escape'
-      }
-    });
-    registerShortcut({
-      name: 'core/block-editor/focus-toolbar',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Navigate to the nearest toolbar.'),
-      keyCombination: {
-        modifier: 'alt',
-        character: 'F10'
-      }
-    });
-    registerShortcut({
-      name: 'core/block-editor/move-up',
-      category: 'block',
-      description: Object(external_wp_i18n_["__"])('Move the selected block(s) up.'),
-      keyCombination: {
-        modifier: 'secondary',
-        character: 't'
-      }
-    });
-    registerShortcut({
-      name: 'core/block-editor/move-down',
-      category: 'block',
-      description: Object(external_wp_i18n_["__"])('Move the selected block(s) down.'),
-      keyCombination: {
-        modifier: 'secondary',
-        character: 'y'
-      }
-    });
-  }, [registerShortcut]);
-  return null;
+  /* eslint-enable jsdoc/valid-types */
+  return {
+    type: 'SELECT_BLOCK',
+    initialPosition,
+    clientId
+  };
 }
+/**
+ * Yields action objects used in signalling that the block preceding the given
+ * clientId should be selected.
+ *
+ * @param {string} clientId Block client ID.
+ */

-KeyboardShortcuts.Register = KeyboardShortcutsRegister;
-/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);
+const selectPreviousBlock = clientId => _ref4 => {
+  let {
+    select,
+    dispatch
+  } = _ref4;
+  const previousBlockClientId = select.getPreviousBlockClientId(clientId);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/selection-scroll-into-view/index.js
+  if (previousBlockClientId) {
+    dispatch.selectBlock(previousBlockClientId, -1);
+  }
+};
 /**
- * WordPress dependencies
+ * Yields action objects used in signalling that the block following the given
+ * clientId should be selected.
+ *
+ * @param {string} clientId Block client ID.
  */

+const selectNextBlock = clientId => _ref5 => {
+  let {
+    select,
+    dispatch
+  } = _ref5;
+  const nextBlockClientId = select.getNextBlockClientId(clientId);
+
+  if (nextBlockClientId) {
+    dispatch.selectBlock(nextBlockClientId);
+  }
+};
 /**
- * Scrolls the multi block selection end into view if not in view already. This
- * is important to do after selection by keyboard.
+ * Action that starts block multi-selection.
  *
- * @deprecated
+ * @return {Object} Action object.
  */

-function MultiSelectScrollIntoView() {
-  external_wp_deprecated_default()('wp.blockEditor.MultiSelectScrollIntoView', {
-    hint: 'This behaviour is now built-in.'
-  });
-  return null;
+function startMultiSelect() {
+  return {
+    type: 'START_MULTI_SELECT'
+  };
 }
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/navigable-toolbar/index.js
-var navigable_toolbar = __webpack_require__("GkEL");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/observe-typing/index.js
-
-
 /**
- * WordPress dependencies
+ * Action that stops block multi-selection.
+ *
+ * @return {Object} Action object.
  */

-
-
-
+function stopMultiSelect() {
+  return {
+    type: 'STOP_MULTI_SELECT'
+  };
+}
 /**
- * Internal dependencies
+ * Action that changes block multi-selection.
+ *
+ * @param {string} start First block of the multi selection.
+ * @param {string} end   Last block of the multiselection.
  */

+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.
+
+  if (startBlockRootClientId !== endBlockRootClientId) {
+    return;
+  }

+  dispatch({
+    type: 'MULTI_SELECT',
+    start,
+    end
+  });
+  const blockCount = select.getSelectedBlockCount();
+  (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: number of selected blocks */
+  (0,external_wp_i18n_namespaceObject._n)('%s block selected.', '%s blocks selected.', blockCount), blockCount), 'assertive');
+};
 /**
- * Set of key codes upon which typing is to be initiated on a keydown event.
+ * Action that clears the block selection.
  *
- * @type {Set<number>}
+ * @return {Object} Action object.
  */

-const KEY_DOWN_ELIGIBLE_KEY_CODES = new Set([external_wp_keycodes_["UP"], external_wp_keycodes_["RIGHT"], external_wp_keycodes_["DOWN"], external_wp_keycodes_["LEFT"], external_wp_keycodes_["ENTER"], external_wp_keycodes_["BACKSPACE"]]);
+function clearSelectedBlock() {
+  return {
+    type: 'CLEAR_SELECTED_BLOCK'
+  };
+}
 /**
- * Returns true if a given keydown event can be inferred as intent to start
- * typing, or false otherwise. A keydown is considered eligible if it is a
- * text navigation without shift active.
+ * Action that enables or disables block selection.
  *
- * @param {KeyboardEvent} event Keydown event to test.
+ * @param {boolean} [isSelectionEnabled=true] Whether block selection should
+ *                                            be enabled.
  *
- * @return {boolean} Whether event is eligible to start typing.
+ * @return {Object} Action object.
  */

-function isKeyDownEligibleForStartTyping(event) {
-  const {
-    keyCode,
-    shiftKey
-  } = event;
-  return !shiftKey && KEY_DOWN_ELIGIBLE_KEY_CODES.has(keyCode);
+function toggleSelection() {
+  let isSelectionEnabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
+  return {
+    type: 'TOGGLE_SELECTION',
+    isSelectionEnabled
+  };
 }
-/**
- * Removes the `isTyping` flag when the mouse moves in the document of the given
- * element.
- */

+function getBlocksWithDefaultStylesApplied(blocks, blockEditorSettings) {
+  var _blockEditorSettings$, _blockEditorSettings$2;

-function useMouseMoveTypingReset() {
-  const isTyping = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).isTyping(), []);
-  const {
-    stopTyping
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  return Object(external_wp_compose_["useRefEffect"])(node => {
-    if (!isTyping) {
-      return;
-    }
+  const preferredStyleVariations = (_blockEditorSettings$ = blockEditorSettings === null || blockEditorSettings === void 0 ? void 0 : (_blockEditorSettings$2 = blockEditorSettings.__experimentalPreferredStyleVariations) === null || _blockEditorSettings$2 === void 0 ? void 0 : _blockEditorSettings$2.value) !== null && _blockEditorSettings$ !== void 0 ? _blockEditorSettings$ : {};
+  return blocks.map(block => {
+    var _block$attributes;

-    const {
-      ownerDocument
-    } = node;
-    let lastClientX;
-    let lastClientY;
-    /**
-     * On mouse move, unset typing flag if user has moved cursor.
-     *
-     * @param {MouseEvent} event Mousemove event.
-     */
+    const blockName = block.name;

-    function stopTypingOnMouseMove(event) {
-      const {
-        clientX,
-        clientY
-      } = event; // We need to check that the mouse really moved because Safari
-      // triggers mousemove events when shift or ctrl are pressed.
+    if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, 'defaultStylePicker', true)) {
+      return block;
+    }

-      if (lastClientX && lastClientY && (lastClientX !== clientX || lastClientY !== clientY)) {
-        stopTyping();
-      }
+    if (!preferredStyleVariations[blockName]) {
+      return block;
+    }

-      lastClientX = clientX;
-      lastClientY = clientY;
+    const className = (_block$attributes = block.attributes) === null || _block$attributes === void 0 ? void 0 : _block$attributes.className;
+
+    if (className !== null && className !== void 0 && className.includes('is-style-')) {
+      return block;
     }

-    ownerDocument.addEventListener('mousemove', stopTypingOnMouseMove);
-    return () => {
-      ownerDocument.removeEventListener('mousemove', stopTypingOnMouseMove);
+    const {
+      attributes = {}
+    } = block;
+    const blockStyle = preferredStyleVariations[blockName];
+    return { ...block,
+      attributes: { ...attributes,
+        className: `${className || ''} is-style-${blockStyle}`.trim()
+      }
     };
-  }, [isTyping, stopTyping]);
+  });
 }
+/* eslint-disable jsdoc/valid-types */
+
 /**
- * Sets and removes the `isTyping` flag based on user actions:
+ * Action that replaces given blocks with one or more replacement blocks.
  *
- * - Sets the flag if the user types within the given element.
- * - Removes the flag when the user selects some text, focusses a non-text
- *   field, presses ESC or TAB, or moves the mouse in the document.
+ * @param {(string|string[])} clientIds       Block client ID(s) to replace.
+ * @param {(Object|Object[])} blocks          Replacement block(s).
+ * @param {number}            indexToSelect   Index of replacement block to select.
+ * @param {0|-1|null}         initialPosition Index of caret after in the selected block after the operation.
+ * @param {?Object}           meta            Optional Meta values to be passed to the action object.
+ *
+ * @return {Object} Action object.
  */

-function useTypingObserver() {
-  const isTyping = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).isTyping());
-  const {
-    startTyping,
-    stopTyping
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const ref1 = useMouseMoveTypingReset();
-  const ref2 = Object(external_wp_compose_["useRefEffect"])(node => {
-    const {
-      ownerDocument
-    } = node;
-    const {
-      defaultView
-    } = ownerDocument; // Listeners to stop typing should only be added when typing.
-    // Listeners to start typing should only be added when not typing.

-    if (isTyping) {
-      let timerId;
-      /**
-       * Stops typing when focus transitions to a non-text field element.
-       *
-       * @param {FocusEvent} event Focus event.
-       */
+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;

-      function stopTypingOnNonTextField(event) {
-        const {
-          target
-        } = event; // Since focus to a non-text field via arrow key will trigger
-        // before the keydown event, wait until after current stack
-        // before evaluating whether typing is to be stopped. Otherwise,
-        // typing will re-start.
+    /* eslint-enable jsdoc/valid-types */
+    clientIds = (0,external_lodash_namespaceObject.castArray)(clientIds);
+    blocks = getBlocksWithDefaultStylesApplied((0,external_lodash_namespaceObject.castArray)(blocks), select.getSettings());
+    const rootClientId = select.getBlockRootClientId((0,external_lodash_namespaceObject.first)(clientIds)); // Replace is valid if the new blocks can be inserted in the root block.

-        timerId = defaultView.setTimeout(() => {
-          if (!Object(external_wp_dom_["isTextField"])(target)) {
-            stopTyping();
-          }
-        });
+    for (let index = 0; index < blocks.length; index++) {
+      const block = blocks[index];
+      const canInsertBlock = select.canInsertBlockType(block.name, rootClientId);
+
+      if (!canInsertBlock) {
+        return;
       }
-      /**
-       * Unsets typing flag if user presses Escape while typing flag is
-       * active.
-       *
-       * @param {KeyboardEvent} event Keypress or keydown event to
-       *                              interpret.
-       */
+    }

+    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.
+ *
+ * @param {(string|string[])} clientId Block client ID to replace.
+ * @param {(Object|Object[])} block    Replacement block(s).
+ *
+ * @return {Object} Action object.
+ */

-      function stopTypingOnEscapeKey(event) {
-        const {
-          keyCode
-        } = event;
+function replaceBlock(clientId, block) {
+  return replaceBlocks(clientId, block);
+}
+/**
+ * Higher-order action creator which, given the action type to dispatch creates
+ * an action creator for managing block movement.
+ *
+ * @param {string} type Action type to dispatch.
+ *
+ * @return {Function} Action creator.
+ */

-        if (keyCode === external_wp_keycodes_["ESCAPE"] || keyCode === external_wp_keycodes_["TAB"]) {
-          stopTyping();
-        }
-      }
-      /**
-       * On selection change, unset typing flag if user has made an
-       * uncollapsed (shift) selection.
-       */
+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);

+  if (!canMoveBlocks) {
+    return;
+  }

-      function stopTypingOnSelectionUncollapse() {
-        const selection = defaultView.getSelection();
-        const isCollapsed = selection.rangeCount > 0 && selection.getRangeAt(0).collapsed;
+  dispatch({
+    type,
+    clientIds: (0,external_lodash_namespaceObject.castArray)(clientIds),
+    rootClientId
+  });
+};

-        if (!isCollapsed) {
-          stopTyping();
-        }
-      }
+const moveBlocksDown = createOnMove('MOVE_BLOCKS_DOWN');
+const moveBlocksUp = createOnMove('MOVE_BLOCKS_UP');
+/**
+ * Action that moves given blocks to a new position.
+ *
+ * @param {?string} clientIds        The client IDs of the blocks.
+ * @param {?string} fromRootClientId Root client ID source.
+ * @param {?string} toRootClientId   Root client ID destination.
+ * @param {number}  index            The index to move the blocks to.
+ */

-      node.addEventListener('focus', stopTypingOnNonTextField);
-      node.addEventListener('keydown', stopTypingOnEscapeKey);
-      ownerDocument.addEventListener('selectionchange', stopTypingOnSelectionUncollapse);
-      return () => {
-        defaultView.clearTimeout(timerId);
-        node.removeEventListener('focus', stopTypingOnNonTextField);
-        node.removeEventListener('keydown', stopTypingOnEscapeKey);
-        ownerDocument.removeEventListener('selectionchange', stopTypingOnSelectionUncollapse);
-      };
-    }
-    /**
-     * Handles a keypress or keydown event to infer intention to start
-     * typing.
-     *
-     * @param {KeyboardEvent} event Keypress or keydown event to interpret.
-     */
+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.

-    function startTypingInTextField(event) {
-      const {
-        type,
-        target
-      } = event; // Abort early if already typing, or key press is incurred outside a
-      // text field (e.g. arrow-ing through toolbar buttons).
-      // Ignore typing if outside the current DOM container

-      if (!Object(external_wp_dom_["isTextField"])(target) || !node.contains(target)) {
+    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;
-      } // Special-case keydown because certain keys do not emit a keypress
-      // event. Conversely avoid keydown as the canonical event since
-      // there are many keydown which are explicitly not targeted for
-      // typing.
+      }

+      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 (type === 'keydown' && !isKeyDownEligibleForStartTyping(event)) {
+      if (!canInsertBlocks) {
         return;
       }
-
-      startTyping();
     }

-    node.addEventListener('keypress', startTypingInTextField);
-    node.addEventListener('keydown', startTypingInTextField);
-    return () => {
-      node.removeEventListener('keypress', startTypingInTextField);
-      node.removeEventListener('keydown', startTypingInTextField);
-    };
-  }, [isTyping, startTyping, stopTyping]);
-  return Object(external_wp_compose_["useMergeRefs"])([ref1, ref2]);
-}
-
-function ObserveTyping(_ref) {
-  let {
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
-    ref: useTypingObserver()
-  }, children);
-}
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/observe-typing/README.md
- */
-
-
-/* harmony default export */ var observe_typing = (ObserveTyping);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/preserve-scroll-in-reorder/index.js
+    dispatch({
+      type: 'MOVE_BLOCKS_TO_POSITION',
+      fromRootClientId,
+      toRootClientId,
+      clientIds,
+      index
+    });
+  };
+};
 /**
- * WordPress dependencies
+ * Action that moves given block to a new position.
+ *
+ * @param {?string} clientId         The client ID of the block.
+ * @param {?string} fromRootClientId Root client ID source.
+ * @param {?string} toRootClientId   Root client ID destination.
+ * @param {number}  index            The index to move the block to.
  */

-function PreserveScrollInReorder() {
-  external_wp_deprecated_default()('PreserveScrollInReorder component', {
-    since: '5.4',
-    hint: 'This behavior is now built-in the block list'
-  });
-  return null;
+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);
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/typewriter/index.js
-
-
 /**
- * WordPress dependencies
+ * Action that inserts a single block, optionally at a specific index respective a root block list.
+ *
+ * @param {Object}   block           Block object to insert.
+ * @param {?number}  index           Index at which block should be inserted.
+ * @param {?string}  rootClientId    Optional root client ID of block list on which to insert.
+ * @param {?boolean} updateSelection If true block selection will be updated. If false, block selection will not change. Defaults to true.
+ * @param {?Object}  meta            Optional Meta values to be passed to the action object.
+ *
+ * @return {Object} Action object.
  */

-
-
+function insertBlock(block, index, rootClientId, updateSelection, meta) {
+  return insertBlocks([block], index, rootClientId, updateSelection, 0, meta);
+}
+/* eslint-disable jsdoc/valid-types */

 /**
- * Internal dependencies
+ * Action that inserts an array of blocks, optionally at a specific index respective a root block list.
+ *
+ * @param {Object[]}  blocks          Block objects to insert.
+ * @param {?number}   index           Index at which block should be inserted.
+ * @param {?string}   rootClientId    Optional root client ID of block list on which to insert.
+ * @param {?boolean}  updateSelection If true block selection will be updated.  If false, block selection will not change. Defaults to true.
+ * @param {0|-1|null} initialPosition Initial focus position. Setting it to null prevent focusing the inserted block.
+ * @param {?Object}   meta            Optional Meta values to be passed to the action object.
+ * @return {Object} Action object.
  */

+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;

-const isIE = window.navigator.userAgent.indexOf('Trident') !== -1;
-const arrowKeyCodes = new Set([external_wp_keycodes_["UP"], external_wp_keycodes_["DOWN"], external_wp_keycodes_["LEFT"], external_wp_keycodes_["RIGHT"]]);
-const initialTriggerPercentage = 0.75;
-function useTypewriter() {
-  const hasSelectedBlock = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).hasSelectedBlock(), []);
-  return Object(external_wp_compose_["useRefEffect"])(node => {
-    if (!hasSelectedBlock) {
-      return;
+    /* eslint-enable jsdoc/valid-types */
+    if ((0,external_lodash_namespaceObject.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 {
-      ownerDocument
-    } = node;
-    const {
-      defaultView
-    } = ownerDocument;
-    let scrollResizeRafId;
-    let onKeyDownRafId;
-    let caretRect;
+    blocks = getBlocksWithDefaultStylesApplied((0,external_lodash_namespaceObject.castArray)(blocks), select.getSettings());
+    const allowedBlocks = [];

-    function onScrollResize() {
-      if (scrollResizeRafId) {
-        return;
+    for (const block of blocks) {
+      const isValid = select.canInsertBlockType(block.name, rootClientId);
+
+      if (isValid) {
+        allowedBlocks.push(block);
       }
+    }

-      scrollResizeRafId = defaultView.requestAnimationFrame(() => {
-        computeCaretRectangle();
-        scrollResizeRafId = null;
+    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.
+ *
+ * @param {?string} rootClientId      Optional root client ID of block list on
+ *                                    which to insert.
+ * @param {?number} index             Index at which block should be inserted.
+ * @param {Object}  __unstableOptions Wether or not to show an inserter button.
+ *
+ * @return {Object} Action object.
+ */

-    function onKeyDown(event) {
-      // Ensure the any remaining request is cancelled.
-      if (onKeyDownRafId) {
-        defaultView.cancelAnimationFrame(onKeyDownRafId);
-      } // Use an animation frame for a smooth result.
-
+function showInsertionPoint(rootClientId, index) {
+  let __unstableOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};

-      onKeyDownRafId = defaultView.requestAnimationFrame(() => {
-        maintainCaretPosition(event);
-        onKeyDownRafId = null;
-      });
-    }
-    /**
-     * Maintains the scroll position after a selection change caused by a
-     * keyboard event.
-     *
-     * @param {KeyboardEvent} event Keyboard event.
-     */
+  const {
+    __unstableWithInserter
+  } = __unstableOptions;
+  return {
+    type: 'SHOW_INSERTION_POINT',
+    rootClientId,
+    index,
+    __unstableWithInserter
+  };
+}
+/**
+ * Action that hides the insertion point.
+ *
+ * @return {Object} Action object.
+ */

+function hideInsertionPoint() {
+  return {
+    type: 'HIDE_INSERTION_POINT'
+  };
+}
+/**
+ * Action that resets the template validity.
+ *
+ * @param {boolean} isValid template validity flag.
+ *
+ * @return {Object} Action object.
+ */

-    function maintainCaretPosition(_ref) {
-      let {
-        keyCode
-      } = _ref;
+function setTemplateValidity(isValid) {
+  return {
+    type: 'SET_TEMPLATE_VALIDITY',
+    isValid
+  };
+}
+/**
+ * Action that synchronizes the template with the list of blocks.
+ *
+ * @return {Object} Action object.
+ */

-      if (!isSelectionEligibleForScroll()) {
-        return;
-      }
+const synchronizeTemplate = () => _ref11 => {
+  let {
+    select,
+    dispatch
+  } = _ref11;
+  dispatch({
+    type: 'SYNCHRONIZE_TEMPLATE'
+  });
+  const blocks = select.getBlocks();
+  const template = select.getTemplate();
+  const updatedBlockList = (0,external_wp_blocks_namespaceObject.synchronizeBlocksWithTemplate)(blocks, template);
+  dispatch.resetBlocks(updatedBlockList);
+};
+/**
+ * Action that merges two blocks.
+ *
+ * @param {string} firstBlockClientId  Client ID of the first block to merge.
+ * @param {string} secondBlockClientId Client ID of the second block to merge.
+ */

-      const currentCaretRect = Object(external_wp_dom_["computeCaretRect"])(defaultView);
+const mergeBlocks = (firstBlockClientId, secondBlockClientId) => _ref12 => {
+  let {
+    select,
+    dispatch
+  } = _ref12;
+  const blocks = [firstBlockClientId, secondBlockClientId];
+  dispatch({
+    type: 'MERGE_BLOCKS',
+    blocks
+  });
+  const [clientIdA, clientIdB] = blocks;
+  const blockA = select.getBlock(clientIdA);
+  const blockAType = (0,external_wp_blocks_namespaceObject.getBlockType)(blockA.name); // Only focus the previous block if it's not mergeable

-      if (!currentCaretRect) {
-        return;
-      } // If for some reason there is no position set to be scrolled to, let
-      // this be the position to be scrolled to in the future.
+  if (blockAType && !blockAType.merge) {
+    dispatch.selectBlock(blockA.clientId);
+    return;
+  }

+  const blockB = select.getBlock(clientIdB);
+  const blockBType = (0,external_wp_blocks_namespaceObject.getBlockType)(blockB.name);
+  const {
+    clientId,
+    attributeKey,
+    offset
+  } = select.getSelectionStart();
+  const selectedBlockType = clientId === clientIdA ? blockAType : blockBType;
+  const attributeDefinition = selectedBlockType.attributes[attributeKey];
+  const canRestoreTextSelection = (clientId === clientIdA || clientId === clientIdB) && attributeKey !== undefined && offset !== undefined && // We cannot restore text selection if the RichText identifier
+  // is not a defined block attribute key. This can be the case if the
+  // fallback intance ID is used to store selection (and no RichText
+  // identifier is set), or when the identifier is wrong.
+  !!attributeDefinition;

-      if (!caretRect) {
-        caretRect = currentCaretRect;
-        return;
-      } // Even though enabling the typewriter effect for arrow keys results in
-      // a pleasant experience, it may not be the case for everyone, so, for
-      // now, let's disable it.
+  if (!attributeDefinition) {
+    if (typeof attributeKey === 'number') {
+      window.console.error(`RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ${typeof attributeKey}`);
+    } else {
+      window.console.error('The RichText identifier prop does not match any attributes defined by the block.');
+    }
+  } // A robust way to retain selection position through various transforms
+  // is to insert a special character at the position and then recover it.


-      if (arrowKeyCodes.has(keyCode)) {
-        // Reset the caret position to maintain.
-        caretRect = currentCaretRect;
-        return;
-      }
+  const START_OF_SELECTED_AREA = '\u0086'; // Clone the blocks so we don't insert the character in a "live" block.

-      const diff = currentCaretRect.top - caretRect.top;
+  const cloneA = (0,external_wp_blocks_namespaceObject.cloneBlock)(blockA);
+  const cloneB = (0,external_wp_blocks_namespaceObject.cloneBlock)(blockB);

-      if (diff === 0) {
-        return;
-      }
+  if (canRestoreTextSelection) {
+    const selectedBlock = clientId === clientIdA ? cloneA : cloneB;
+    const html = selectedBlock.attributes[attributeKey];
+    const {
+      multiline: multilineTag,
+      __unstableMultilineWrapperTags: multilineWrapperTags,
+      __unstablePreserveWhiteSpace: preserveWhiteSpace
+    } = attributeDefinition;
+    const value = (0,external_wp_richText_namespaceObject.insert)((0,external_wp_richText_namespaceObject.create)({
+      html,
+      multilineTag,
+      multilineWrapperTags,
+      preserveWhiteSpace
+    }), START_OF_SELECTED_AREA, offset, offset);
+    selectedBlock.attributes[attributeKey] = (0,external_wp_richText_namespaceObject.toHTMLString)({
+      value,
+      multilineTag,
+      preserveWhiteSpace
+    });
+  } // We can only merge blocks with similar types
+  // thus, we transform the block to merge first

-      const scrollContainer = Object(external_wp_dom_["getScrollContainer"])(node); // The page must be scrollable.

-      if (!scrollContainer) {
-        return;
-      }
+  const blocksWithTheSameType = blockA.name === blockB.name ? [cloneB] : (0,external_wp_blocks_namespaceObject.switchToBlockType)(cloneB, blockA.name); // If the block types can not match, do nothing

-      const windowScroll = scrollContainer === ownerDocument.body;
-      const scrollY = windowScroll ? defaultView.scrollY : scrollContainer.scrollTop;
-      const scrollContainerY = windowScroll ? 0 : scrollContainer.getBoundingClientRect().top;
-      const relativeScrollPosition = windowScroll ? caretRect.top / defaultView.innerHeight : (caretRect.top - scrollContainerY) / (defaultView.innerHeight - scrollContainerY); // If the scroll position is at the start, the active editable element
-      // is the last one, and the caret is positioned within the initial
-      // trigger percentage of the page, do not scroll the page.
-      // The typewriter effect should not kick in until an empty page has been
-      // filled with the initial trigger percentage or the user scrolls
-      // intentionally down.
+  if (!blocksWithTheSameType || !blocksWithTheSameType.length) {
+    return;
+  } // Calling the merge to update the attributes and remove the block to be merged

-      if (scrollY === 0 && relativeScrollPosition < initialTriggerPercentage && isLastEditableNode()) {
-        // Reset the caret position to maintain.
-        caretRect = currentCaretRect;
-        return;
-      }

-      const scrollContainerHeight = windowScroll ? defaultView.innerHeight : scrollContainer.clientHeight; // Abort if the target scroll position would scroll the caret out of
-      // view.
+  const updatedAttributes = blockAType.merge(cloneA.attributes, blocksWithTheSameType[0].attributes);

-      if ( // The caret is under the lower fold.
-      caretRect.top + caretRect.height > scrollContainerY + scrollContainerHeight || // The caret is above the upper fold.
-      caretRect.top < scrollContainerY) {
-        // Reset the caret position to maintain.
-        caretRect = currentCaretRect;
-        return;
-      }
+  if (canRestoreTextSelection) {
+    const newAttributeKey = (0,external_lodash_namespaceObject.findKey)(updatedAttributes, v => typeof v === 'string' && v.indexOf(START_OF_SELECTED_AREA) !== -1);
+    const convertedHtml = updatedAttributes[newAttributeKey];
+    const {
+      multiline: multilineTag,
+      __unstableMultilineWrapperTags: multilineWrapperTags,
+      __unstablePreserveWhiteSpace: preserveWhiteSpace
+    } = blockAType.attributes[newAttributeKey];
+    const convertedValue = (0,external_wp_richText_namespaceObject.create)({
+      html: convertedHtml,
+      multilineTag,
+      multilineWrapperTags,
+      preserveWhiteSpace
+    });
+    const newOffset = convertedValue.text.indexOf(START_OF_SELECTED_AREA);
+    const newValue = (0,external_wp_richText_namespaceObject.remove)(convertedValue, newOffset, newOffset + 1);
+    const newHtml = (0,external_wp_richText_namespaceObject.toHTMLString)({
+      value: newValue,
+      multilineTag,
+      preserveWhiteSpace
+    });
+    updatedAttributes[newAttributeKey] = newHtml;
+    dispatch.selectionChange(blockA.clientId, newAttributeKey, newOffset, newOffset);
+  }

-      if (windowScroll) {
-        defaultView.scrollBy(0, diff);
-      } else {
-        scrollContainer.scrollTop += diff;
-      }
+  dispatch.replaceBlocks([blockA.clientId, blockB.clientId], [{ ...blockA,
+    attributes: { ...blockA.attributes,
+      ...updatedAttributes
     }
-    /**
-     * Adds a `selectionchange` listener to reset the scroll position to be
-     * maintained.
-     */
+  }, ...blocksWithTheSameType.slice(1)], 0 // If we don't pass the `indexToSelect` it will default to the last block.
+  );
+};
+/**
+ * Yields action objects used in signalling that the blocks corresponding to
+ * the set of specified client IDs are to be removed.
+ *
+ * @param {string|string[]} clientIds      Client IDs of blocks to remove.
+ * @param {boolean}         selectPrevious True if the previous block should be
+ *                                         selected when a block is removed.
+ */

+const removeBlocks = function (clientIds) {
+  let selectPrevious = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
+  return _ref13 => {
+    let {
+      select,
+      dispatch
+    } = _ref13;

-    function addSelectionChangeListener() {
-      ownerDocument.addEventListener('selectionchange', computeCaretRectOnSelectionChange);
+    if (!clientIds || !clientIds.length) {
+      return;
     }
-    /**
-     * Resets the scroll position to be maintained during a `selectionchange`
-     * event. Also removes the listener, so it acts as a one-time listener.
-     */

+    clientIds = (0,external_lodash_namespaceObject.castArray)(clientIds);
+    const rootClientId = select.getBlockRootClientId(clientIds[0]);
+    const canRemoveBlocks = select.canRemoveBlocks(clientIds, rootClientId);

-    function computeCaretRectOnSelectionChange() {
-      ownerDocument.removeEventListener('selectionchange', computeCaretRectOnSelectionChange);
-      computeCaretRectangle();
+    if (!canRemoveBlocks) {
+      return;
     }
-    /**
-     * Resets the scroll position to be maintained.
-     */

-
-    function computeCaretRectangle() {
-      if (isSelectionEligibleForScroll()) {
-        caretRect = Object(external_wp_dom_["computeCaretRect"])(defaultView);
-      }
+    if (selectPrevious) {
+      dispatch.selectPreviousBlock(clientIds[0]);
     }
-    /**
-     * Checks if the current situation is elegible for scroll:
-     * - There should be one and only one block selected.
-     * - The component must contain the selection.
-     * - The active element must be contenteditable.
-     */

+    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
+ * specified client ID is to be removed.
+ *
+ * @param {string}  clientId       Client ID of block to remove.
+ * @param {boolean} selectPrevious True if the previous block should be
+ *                                 selected when a block is removed.
+ *
+ * @return {Object} Action object.
+ */

-    function isSelectionEligibleForScroll() {
-      return node.contains(ownerDocument.activeElement) && ownerDocument.activeElement.isContentEditable;
-    }
+function removeBlock(clientId, selectPrevious) {
+  return removeBlocks([clientId], selectPrevious);
+}
+/* eslint-disable jsdoc/valid-types */

-    function isLastEditableNode() {
-      const editableNodes = node.querySelectorAll('[contenteditable="true"]');
-      const lastEditableNode = editableNodes[editableNodes.length - 1];
-      return lastEditableNode === ownerDocument.activeElement;
-    } // When the user scrolls or resizes, the scroll position should be
-    // reset.
+/**
+ * Returns an action object used in signalling that the inner blocks with the
+ * specified client ID should be replaced.
+ *
+ * @param {string}    rootClientId    Client ID of the block whose InnerBlocks will re replaced.
+ * @param {Object[]}  blocks          Block objects to insert as new InnerBlocks
+ * @param {?boolean}  updateSelection If true block selection will be updated. If false, block selection will not change. Defaults to false.
+ * @param {0|-1|null} initialPosition Initial block position.
+ * @return {Object} Action object.
+ */

+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;

-    defaultView.addEventListener('scroll', onScrollResize, true);
-    defaultView.addEventListener('resize', onScrollResize, true);
-    node.addEventListener('keydown', onKeyDown);
-    node.addEventListener('keyup', maintainCaretPosition);
-    node.addEventListener('mousedown', addSelectionChangeListener);
-    node.addEventListener('touchstart', addSelectionChangeListener);
-    return () => {
-      defaultView.removeEventListener('scroll', onScrollResize, true);
-      defaultView.removeEventListener('resize', onScrollResize, true);
-      node.removeEventListener('keydown', onKeyDown);
-      node.removeEventListener('keyup', maintainCaretPosition);
-      node.removeEventListener('mousedown', addSelectionChangeListener);
-      node.removeEventListener('touchstart', addSelectionChangeListener);
-      ownerDocument.removeEventListener('selectionchange', computeCaretRectOnSelectionChange);
-      defaultView.cancelAnimationFrame(scrollResizeRafId);
-      defaultView.cancelAnimationFrame(onKeyDownRafId);
-    };
-  }, [hasSelectedBlock]);
+  /* eslint-enable jsdoc/valid-types */
+  return {
+    type: 'REPLACE_INNER_BLOCKS',
+    rootClientId,
+    blocks,
+    updateSelection,
+    initialPosition: updateSelection ? initialPosition : null,
+    time: Date.now()
+  };
 }
+/**
+ * Returns an action object used to toggle the block editing mode between
+ * visual and HTML modes.
+ *
+ * @param {string} clientId Block client ID.
+ *
+ * @return {Object} Action object.
+ */

-function Typewriter(_ref2) {
-  let {
-    children
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])("div", {
-    ref: useTypewriter(),
-    className: "block-editor__typewriter"
-  }, children);
+function toggleBlockMode(clientId) {
+  return {
+    type: 'TOGGLE_BLOCK_MODE',
+    clientId
+  };
 }
 /**
- * The exported component. The implementation of Typewriter faced technical
- * challenges in Internet Explorer, and is simply skipped, rendering the given
- * props children instead.
+ * Returns an action object used in signalling that the user has begun to type.
  *
- * @type {WPComponent}
+ * @return {Object} Action object.
  */

-
-const TypewriterOrIEBypass = isIE ? props => props.children : Typewriter;
+function startTyping() {
+  return {
+    type: 'START_TYPING'
+  };
+}
 /**
- * Ensures that the text selection keeps the same vertical distance from the
- * viewport during keyboard events within this component. The vertical distance
- * can vary. It is the last clicked or scrolled to position.
+ * Returns an action object used in signalling that the user has stopped typing.
+ *
+ * @return {Object} Action object.
  */

-/* harmony default export */ var typewriter = (TypewriterOrIEBypass);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/warning/index.js + 1 modules
-var warning = __webpack_require__("Zzu2");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/index.js + 4 modules
-var writing_flow = __webpack_require__("TVFh");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-canvas-click-redirect/index.js
+function stopTyping() {
+  return {
+    type: 'STOP_TYPING'
+  };
+}
 /**
- * External dependencies
+ * Returns an action object used in signalling that the user has begun to drag blocks.
+ *
+ * @param {string[]} clientIds An array of client ids being dragged
+ *
+ * @return {Object} Action object.
  */

+function startDraggingBlocks() {
+  let clientIds = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  return {
+    type: 'START_DRAGGING_BLOCKS',
+    clientIds
+  };
+}
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that the user has stopped dragging blocks.
+ *
+ * @return {Object} Action object.
  */

+function stopDraggingBlocks() {
+  return {
+    type: 'STOP_DRAGGING_BLOCKS'
+  };
+}
+/**
+ * Returns an action object used in signalling that the caret has entered formatted text.
+ *
+ * @return {Object} Action object.
+ */

+function enterFormattedText() {
+  return {
+    type: 'ENTER_FORMATTED_TEXT'
+  };
+}
+/**
+ * Returns an action object used in signalling that the user caret has exited formatted text.
+ *
+ * @return {Object} Action object.
+ */

+function exitFormattedText() {
+  return {
+    type: 'EXIT_FORMATTED_TEXT'
+  };
+}
 /**
- * Given an element, returns true if the element is a tabbable text field, or
- * false otherwise.
+ * Action that changes the position of the user caret.
  *
- * @param {Element} element Element to test.
+ * @param {string} clientId     The selected block client ID.
+ * @param {string} attributeKey The selected block attribute key.
+ * @param {number} startOffset  The start offset.
+ * @param {number} endOffset    The end offset.
  *
- * @return {boolean} Whether element is a tabbable text field.
+ * @return {Object} Action object.
  */

-const isTabbableTextField = Object(external_lodash_["overEvery"])([external_wp_dom_["isTextField"], external_wp_dom_["focus"].tabbable.isTabbableIndex]);
-function useCanvasClickRedirect() {
-  return Object(external_wp_compose_["useRefEffect"])(node => {
-    function onMouseDown(event) {
-      // Only handle clicks on the canvas, not the content.
-      if (event.target !== node) {
-        return;
-      }
-
-      const focusableNodes = external_wp_dom_["focus"].focusable.find(node);
-      const target = Object(external_lodash_["findLast"])(focusableNodes, isTabbableTextField);
-
-      if (!target) {
-        return;
-      }
-
-      const {
-        bottom
-      } = target.getBoundingClientRect(); // Ensure the click is below the last block.
-
-      if (event.clientY < bottom) {
-        return;
-      }
-
-      Object(external_wp_dom_["placeCaretAtHorizontalEdge"])(target, true);
-      event.preventDefault();
-    }
-
-    node.addEventListener('mousedown', onMouseDown);
-    return () => {
-      node.addEventListener('mousedown', onMouseDown);
-    };
-  }, []);
+function selectionChange(clientId, attributeKey, startOffset, endOffset) {
+  return {
+    type: 'SELECTION_CHANGE',
+    clientId,
+    attributeKey,
+    startOffset,
+    endOffset
+  };
 }
+/**
+ * Action that adds a new block of the default type to the block list.
+ *
+ * @param {?Object} attributes   Optional attributes of the block to assign.
+ * @param {?string} rootClientId Optional root client ID of block list on which
+ *                               to append.
+ * @param {?number} index        Optional index where to insert the default block
+ *
+ * @return {Object} Action object
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/iframe/index.js
-var iframe = __webpack_require__("hHnB");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-no-recursive-renders/index.js
+function insertDefaultBlock(attributes, rootClientId, index) {
+  // Abort if there is no default block type (if it has been unregistered).
+  const defaultBlockName = (0,external_wp_blocks_namespaceObject.getDefaultBlockName)();

+  if (!defaultBlockName) {
+    return;
+  }

+  const block = (0,external_wp_blocks_namespaceObject.createBlock)(defaultBlockName, attributes);
+  return insertBlock(block, index, rootClientId);
+}
 /**
- * WordPress dependencies
+ * Action that changes the nested settings of a given block.
+ *
+ * @param {string} clientId Client ID of the block whose nested setting are
+ *                          being received.
+ * @param {Object} settings Object with the new settings for the nested block.
+ *
+ * @return {Object} Action object
  */

+function updateBlockListSettings(clientId, settings) {
+  return {
+    type: 'UPDATE_BLOCK_LIST_SETTINGS',
+    clientId,
+    settings
+  };
+}
 /**
- * Internal dependencies
+ * Action that updates the block editor settings.
+ *
+ * @param {Object} settings Updated settings
+ *
+ * @return {Object} Action object
  */

-
-const RenderedRefsContext = Object(external_wp_element_["createContext"])({});
+function updateSettings(settings) {
+  return {
+    type: 'UPDATE_SETTINGS',
+    settings
+  };
+}
 /**
- * Immutably adds an unique identifier to a set scoped for a given block type.
+ * Action that signals that a temporary reusable block has been saved
+ * in order to switch its temporary id with the real id.
  *
- * @param {Object} renderedBlocks Rendered blocks grouped by block name
- * @param {string} blockName      Name of the block.
- * @param {*}      uniqueId       Any value that acts as a unique identifier for a block instance.
+ * @param {string} id        Reusable block's id.
+ * @param {string} updatedId Updated block's id.
  *
- * @return {Object} The list of rendered blocks grouped by block name.
+ * @return {Object} Action object.
  */

-function addToBlockType(renderedBlocks, blockName, uniqueId) {
-  const result = { ...renderedBlocks,
-    [blockName]: renderedBlocks[blockName] ? new Set(renderedBlocks[blockName]) : new Set()
+function __unstableSaveReusableBlock(id, updatedId) {
+  return {
+    type: 'SAVE_REUSABLE_BLOCK_SUCCESS',
+    id,
+    updatedId
   };
-  result[blockName].add(uniqueId);
-  return result;
 }
 /**
- * A React hook for keeping track of blocks previously rendered up in the block
- * tree. Blocks susceptible to recursion can use this hook in their `Edit`
- * function to prevent said recursion.
- *
- * @param {*}      uniqueId  Any value that acts as a unique identifier for a block instance.
- * @param {string} blockName Optional block name.
+ * Action that marks the last block change explicitly as persistent.
  *
- * @return {[boolean, Function]} A tuple of:
- *                               - a boolean describing whether the provided id
- *                                 has already been rendered;
- *                               - a React context provider to be used to wrap
- *                                 other elements.
+ * @return {Object} Action object.
  */

-
-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
-  } = Object(context["c" /* useBlockEditContext */])();
-  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"])(_ref => {
-    let {
-      children
-    } = _ref;
-    return Object(external_wp_element_["createElement"])(RenderedRefsContext.Provider, {
-      value: newRenderedBlocks
-    }, children);
-  }, [newRenderedBlocks]);
-  return [hasAlreadyRendered, Provider];
+function __unstableMarkLastChangeAsPersistent() {
+  return {
+    type: 'MARK_LAST_CHANGE_AS_PERSISTENT'
+  };
 }
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/index.js + 1 modules
-var provider = __webpack_require__("/QNa");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/index.js
-/*
- * Block Creation Components
+/**
+ * Action that signals that the next block change should be marked explicitly as not persistent.
+ *
+ * @return {Object} Action object.
  */

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/*
- * Content Related Components
+function __unstableMarkNextChangeAsNotPersistent() {
+  return {
+    type: 'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT'
+  };
+}
+/**
+ * Action that marks the last block change as an automatic change, meaning it was not
+ * performed by the user, and can be undone using the `Escape` and `Backspace` keys.
+ * This action must be called after the change was made, and any actions that are a
+ * consequence of it, so it is recommended to be called at the next idle period to ensure all
+ * selection changes have been recorded.
  */

+const __unstableMarkAutomaticChange = () => _ref14 => {
+  let {
+    dispatch
+  } = _ref14;
+  dispatch({
+    type: 'MARK_AUTOMATIC_CHANGE'
+  });
+  const {
+    requestIdleCallback = cb => setTimeout(cb, 100)
+  } = window;
+  requestIdleCallback(() => {
+    dispatch({
+      type: 'MARK_AUTOMATIC_CHANGE_FINAL'
+    });
+  });
+};
+/**
+ * Action that enables or disables the navigation mode.
+ *
+ * @param {string} isNavigationMode Enable/Disable navigation mode.
+ */

+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) {
+      (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('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 {
+      (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('You are currently in edit mode. To return to the navigation mode, press Escape.'));
+    }
+  };
+};
+/**
+ * Action that enables or disables the block moving mode.
+ *
+ * @param {string|null} hasBlockMovingClientId Enable/Disable block moving mode.
+ */

+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) {
+      (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('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.
+ *
+ * @param {string[]} clientIds
+ * @param {boolean}  updateSelection
+ */

+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);

+    if ((0,external_lodash_namespaceObject.some)(blocks, block => !block)) {
+      return;
+    } // Return early if blocks don't support multiple usage.


+    const blockNames = blocks.map(block => block.name);

+    if (blockNames.some(blockName => !(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, 'multiple', true))) {
+      return;
+    }

+    const rootClientId = select.getBlockRootClientId(clientIds[0]);
+    const lastSelectedIndex = select.getBlockIndex((0,external_lodash_namespaceObject.last)((0,external_lodash_namespaceObject.castArray)(clientIds)));
+    const clonedBlocks = blocks.map(block => (0,external_wp_blocks_namespaceObject.__experimentalCloneSanitizedBlock)(block));
+    dispatch.insertBlocks(clonedBlocks, lastSelectedIndex + 1, rootClientId, updateSelection);

+    if (clonedBlocks.length > 1 && updateSelection) {
+      dispatch.multiSelect((0,external_lodash_namespaceObject.first)(clonedBlocks).clientId, (0,external_lodash_namespaceObject.last)(clonedBlocks).clientId);
+    }

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/*
- * State Related Components
+    return clonedBlocks.map(block => block.clientId);
+  };
+};
+/**
+ * Action that inserts an empty block before a given block.
+ *
+ * @param {string} clientId
  */

+const insertBeforeBlock = clientId => _ref18 => {
+  let {
+    select,
+    dispatch
+  } = _ref18;

+  if (!clientId) {
+    return;
+  }

+  const rootClientId = select.getBlockRootClientId(clientId);
+  const isLocked = select.getTemplateLock(rootClientId);

+  if (isLocked) {
+    return;
+  }

-/***/ }),
-
-/***/ "16Al":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
+  const firstSelectedIndex = select.getBlockIndex(clientId);
+  return dispatch.insertDefaultBlock({}, rootClientId, firstSelectedIndex);
+};
 /**
- * Copyright (c) 2013-present, Facebook, Inc.
+ * Action that inserts an empty block after a given block.
  *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * @param {string} clientId
  */

+const insertAfterBlock = clientId => _ref19 => {
+  let {
+    select,
+    dispatch
+  } = _ref19;

+  if (!clientId) {
+    return;
+  }

-var ReactPropTypesSecret = __webpack_require__("WbBG");
-
-function emptyFunction() {}
-function emptyFunctionWithReset() {}
-emptyFunctionWithReset.resetWarningCache = emptyFunction;
-
-module.exports = function() {
-  function shim(props, propName, componentName, location, propFullName, secret) {
-    if (secret === ReactPropTypesSecret) {
-      // It is still safe when called from React.
-      return;
-    }
-    var err = 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'
-    );
-    err.name = 'Invariant Violation';
-    throw err;
-  };
-  shim.isRequired = shim;
-  function getShim() {
-    return shim;
-  };
-  // Important!
-  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
-  var ReactPropTypes = {
-    array: shim,
-    bigint: shim,
-    bool: shim,
-    func: shim,
-    number: shim,
-    object: shim,
-    string: shim,
-    symbol: shim,
-
-    any: shim,
-    arrayOf: getShim,
-    element: shim,
-    elementType: shim,
-    instanceOf: getShim,
-    node: shim,
-    objectOf: getShim,
-    oneOf: getShim,
-    oneOfType: getShim,
-    shape: getShim,
-    exact: getShim,
-
-    checkPropTypes: emptyFunctionWithReset,
-    resetWarningCache: emptyFunction
-  };
-
-  ReactPropTypes.PropTypes = ReactPropTypes;
-
-  return ReactPropTypes;
-};
+  const rootClientId = select.getBlockRootClientId(clientId);
+  const isLocked = select.getTemplateLock(rootClientId);

+  if (isLocked) {
+    return;
+  }

-/***/ }),
+  const firstSelectedIndex = select.getBlockIndex(clientId);
+  return dispatch.insertDefaultBlock({}, rootClientId, firstSelectedIndex + 1);
+};
+/**
+ * Action that toggles the highlighted block state.
+ *
+ * @param {string}  clientId      The block's clientId.
+ * @param {boolean} isHighlighted The highlight state.
+ */

-/***/ "17x9":
-/***/ (function(module, exports, __webpack_require__) {
+function toggleBlockHighlight(clientId, isHighlighted) {
+  return {
+    type: 'TOGGLE_BLOCK_HIGHLIGHT',
+    clientId,
+    isHighlighted
+  };
+}
+/**
+ * Action that "flashes" the block with a given `clientId` by rhythmically highlighting it.
+ *
+ * @param {string} clientId Target block client ID.
+ */

+const flashBlock = clientId => async _ref20 => {
+  let {
+    dispatch
+  } = _ref20;
+  dispatch(toggleBlockHighlight(clientId, true));
+  await new Promise(resolve => setTimeout(resolve, 150));
+  dispatch(toggleBlockHighlight(clientId, false));
+};
 /**
- * Copyright (c) 2013-present, Facebook, Inc.
+ * Action that sets whether a block has controlled inner blocks.
  *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * @param {string}  clientId                 The block's clientId.
+ * @param {boolean} hasControlledInnerBlocks True if the block's inner blocks are controlled.
  */

-if (false) { var throwOnDirectAccess, ReactIs; } else {
-  // By explicitly using `prop-types` you are opting into new production behavior.
-  // http://fb.me/prop-types-in-prod
-  module.exports = __webpack_require__("16Al")();
+function setHasControlledInnerBlocks(clientId, hasControlledInnerBlocks) {
+  return {
+    type: 'SET_HAS_CONTROLLED_INNER_BLOCKS',
+    hasControlledInnerBlocks,
+    clientId
+  };
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/constants.js
+const STORE_NAME = 'core/block-editor';

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */

-/***/ "1CF3":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["dom"]; }());

-/***/ }),

-/***/ "1K8p":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
 /**
- * Copyright (c) 2015, Facebook, Inc.
- * All rights reserved.
+ * Block editor data store configuration.
  *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
  *
- * @providesModule normalizeWheel
- * @typechecks
+ * @type {Object}
  */

+const storeConfig = {
+  reducer: reducer,
+  selectors: selectors_namespaceObject,
+  actions: actions_namespaceObject,
+  __experimentalUseThunks: true
+};
+/**
+ * Store definition for the block editor namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
+ */

+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, { ...storeConfig,
+  persist: ['preferences']
+}); // Ideally we'd use register instead of register stores.

-var UserAgent_DEPRECATED = __webpack_require__("jrfk");
-
-var isEventSupported = __webpack_require__("ez49");
+(0,external_wp_data_namespaceObject.registerStore)(STORE_NAME, { ...storeConfig,
+  persist: ['preferences']
+});

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js
+/**
+ * WordPress dependencies
+ */

-// Reasonable defaults
-var PIXEL_STEP  = 10;
-var LINE_HEIGHT = 40;
-var PAGE_HEIGHT = 800;
+const DEFAULT_BLOCK_EDIT_CONTEXT = {
+  name: '',
+  isSelected: false
+};
+const Context = (0,external_wp_element_namespaceObject.createContext)(DEFAULT_BLOCK_EDIT_CONTEXT);
+const {
+  Provider
+} = Context;

 /**
- * Mouse wheel (and 2-finger trackpad) support on the web sucks.  It is
- * complicated, thus this doc is long and (hopefully) detailed enough to answer
- * your questions.
- *
- * If you need to react to the mouse wheel in a predictable way, this code is
- * like your bestest friend. * hugs *
- *
- * As of today, there are 4 DOM event types you can listen to:
- *
- *   'wheel'                -- Chrome(31+), FF(17+), IE(9+)
- *   'mousewheel'           -- Chrome, IE(6+), Opera, Safari
- *   'MozMousePixelScroll'  -- FF(3.5 only!) (2010-2013) -- don't bother!
- *   'DOMMouseScroll'       -- FF(0.9.7+) since 2003
- *
- * So what to do?  The is the best:
- *
- *   normalizeWheel.getEventType();
- *
- * In your event callback, use this code to get sane interpretation of the
- * deltas.  This code will return an object with properties:
- *
- *   spinX   -- normalized spin speed (use for zoom) - x plane
- *   spinY   -- " - y plane
- *   pixelX  -- normalized distance (to pixels) - x plane
- *   pixelY  -- " - y plane
- *
- * Wheel values are provided by the browser assuming you are using the wheel to
- * scroll a web page by a number of lines or pixels (or pages).  Values can vary
- * significantly on different platforms and browsers, forgetting that you can
- * scroll at different speeds.  Some devices (like trackpads) emit more events
- * at smaller increments with fine granularity, and some emit massive jumps with
- * linear speed or acceleration.
- *
- * This code does its best to normalize the deltas for you:
- *
- *   - spin is trying to normalize how far the wheel was spun (or trackpad
- *     dragged).  This is super useful for zoom support where you want to
- *     throw away the chunky scroll steps on the PC and make those equal to
- *     the slow and smooth tiny steps on the Mac. Key data: This code tries to
- *     resolve a single slow step on a wheel to 1.
- *
- *   - pixel is normalizing the desired scroll delta in pixel units.  You'll
- *     get the crazy differences between browsers, but at least it'll be in
- *     pixels!
- *
- *   - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT.  This
- *     should translate to positive value zooming IN, negative zooming OUT.
- *     This matches the newer 'wheel' event.
- *
- * Why are there spinX, spinY (or pixels)?
- *
- *   - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
- *     with a mouse.  It results in side-scrolling in the browser by default.
- *
- *   - spinY is what you expect -- it's the classic axis of a mouse wheel.
- *
- *   - I dropped spinZ/pixelZ.  It is supported by the DOM 3 'wheel' event and
- *     probably is by browsers in conjunction with fancy 3D controllers .. but
- *     you know.
- *
- * Implementation info:
- *
- * Examples of 'wheel' event if you scroll slowly (down) by one step with an
- * average mouse:
- *
- *   OS X + Chrome  (mouse)     -    4   pixel delta  (wheelDelta -120)
- *   OS X + Safari  (mouse)     -  N/A   pixel delta  (wheelDelta  -12)
- *   OS X + Firefox (mouse)     -    0.1 line  delta  (wheelDelta  N/A)
- *   Win8 + Chrome  (mouse)     -  100   pixel delta  (wheelDelta -120)
- *   Win8 + Firefox (mouse)     -    3   line  delta  (wheelDelta -120)
- *
- * On the trackpad:
- *
- *   OS X + Chrome  (trackpad)  -    2   pixel delta  (wheelDelta   -6)
- *   OS X + Firefox (trackpad)  -    1   pixel delta  (wheelDelta  N/A)
- *
- * On other/older browsers.. it's more complicated as there can be multiple and
- * also missing delta values.
- *
- * The 'wheel' event is more standard:
- *
- * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
- *
- * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
- * deltaX, deltaY and deltaZ.  Some browsers provide other values to maintain
- * backward compatibility with older events.  Those other values help us
- * better normalize spin speed.  Example of what the browsers provide:
- *
- *                          | event.wheelDelta | event.detail
- *        ------------------+------------------+--------------
- *          Safari v5/OS X  |       -120       |       0
- *          Safari v5/Win7  |       -120       |       0
- *         Chrome v17/OS X  |       -120       |       0
- *         Chrome v17/Win7  |       -120       |       0
- *                IE9/Win7  |       -120       |   undefined
- *         Firefox v4/OS X  |     undefined    |       1
- *         Firefox v4/Win7  |     undefined    |       3
+ * A hook that returns the block edit context.
  *
+ * @return {Object} Block edit context
  */
-function normalizeWheel(/*object*/ event) /*object*/ {
-  var sX = 0, sY = 0,       // spinX, spinY
-      pX = 0, pY = 0;       // pixelX, pixelY

-  // Legacy
-  if ('detail'      in event) { sY = event.detail; }
-  if ('wheelDelta'  in event) { sY = -event.wheelDelta / 120; }
-  if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
-  if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
+function useBlockEditContext() {
+  return (0,external_wp_element_namespaceObject.useContext)(Context);
+}

-  // side scrolling on FF with DOMMouseScroll
-  if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
-    sX = sY;
-    sY = 0;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-display-block-controls/index.js
+/**
+ * WordPress dependencies
+ */

-  pX = sX * PIXEL_STEP;
-  pY = sY * PIXEL_STEP;
+/**
+ * Internal dependencies
+ */

-  if ('deltaY' in event) { pY = event.deltaY; }
-  if ('deltaX' in event) { pX = event.deltaX; }

-  if ((pX || pY) && event.deltaMode) {
-    if (event.deltaMode == 1) {          // delta in LINE units
-      pX *= LINE_HEIGHT;
-      pY *= LINE_HEIGHT;
-    } else {                             // delta in PAGE units
-      pX *= PAGE_HEIGHT;
-      pY *= PAGE_HEIGHT;
+
+function useDisplayBlockControls() {
+  const {
+    isSelected,
+    clientId,
+    name
+  } = useBlockEditContext();
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    if (isSelected) {
+      return true;
     }
-  }

-  // Fall-back if spin cannot be determined
-  if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
-  if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
+    const {
+      getBlockName,
+      isFirstMultiSelectedBlock,
+      getMultiSelectedBlockClientIds
+    } = select(store);

-  return { spinX  : sX,
-           spinY  : sY,
-           pixelX : pX,
-           pixelY : pY };
+    if (isFirstMultiSelectedBlock(clientId)) {
+      return getMultiSelectedBlockClientIds().every(id => getBlockName(id) === name);
+    }
+
+    return false;
+  }, [clientId, isSelected, name]);
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/hook.js
+/**
+ * WordPress dependencies
+ */
+

 /**
- * The best combination if you prefer spinX + spinY normalization.  It favors
- * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
- * 'wheel' event, making spin speed determination impossible.
+ * Internal dependencies
  */
-normalizeWheel.getEventType = function() /*string*/ {
-  return (UserAgent_DEPRECATED.firefox())
-           ? 'DOMMouseScroll'
-           : (isEventSupported('wheel'))
-               ? 'wheel'
-               : 'mousewheel';
-};

-module.exports = normalizeWheel;


-/***/ }),

-/***/ "1ZqX":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["data"]; }());
+function useBlockControlsFill(group, shareWithChildBlocks) {
+  const isDisplayed = useDisplayBlockControls();
+  const {
+    clientId
+  } = useBlockEditContext();
+  const isParentDisplayed = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockName,
+      hasSelectedInnerBlock
+    } = select(store);
+    const {
+      hasBlockSupport
+    } = select(external_wp_blocks_namespaceObject.store);
+    return shareWithChildBlocks && hasBlockSupport(getBlockName(clientId), '__experimentalExposeControlsToChildren', false) && hasSelectedInnerBlock(clientId);
+  }, [shareWithChildBlocks, clientId]);
+
+  if (isDisplayed) {
+    var _groups$group;

-/***/ }),
+    return (_groups$group = block_controls_groups[group]) === null || _groups$group === void 0 ? void 0 : _groups$group.Fill;
+  }

-/***/ "1eGn":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (isParentDisplayed) {
+    return block_controls_groups.parent.Fill;
+  }

-"use strict";
+  return null;
+}

-// UNUSED EXPORTS: BlockSettingsDropdown
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/fill.js

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
-var more_vertical = __webpack_require__("VKE3");
+function BlockControlsFill(_ref) {
+  let {
+    group = 'default',
+    controls,
+    children,
+    __experimentalShareWithChildBlocks = false
+  } = _ref;
+  const Fill = useBlockControlsFill(group, __experimentalShareWithChildBlocks);

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+  if (!Fill) {
+    return null;
+  }

-// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
-var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalStyleProvider, {
+    document: document
+  }, (0,external_wp_element_namespaceObject.createElement)(Fill, null, fillProps => {
+    // Children passed to BlockControlsFill will not have access to any
+    // React Context whose Provider is part of the BlockControlsSlot tree.
+    // So we re-create the Provider in this subtree.
+    const value = !(0,external_lodash_namespaceObject.isEmpty)(fillProps) ? fillProps : null;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolbarContext.Provider, {
+      value: value
+    }, group === 'default' && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, {
+      controls: controls
+    }), children);
+  }));
+}

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/slot.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/copy-handler/index.js + 1 modules
-var copy_handler = __webpack_require__("+0ps");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-actions/index.js
 /**
- * External dependencies
+ * WordPress dependencies
  */

+
 /**
- * WordPress dependencies
+ * Internal dependencies
  */


+function BlockControlsSlot(_ref) {
+  let {
+    group = 'default',
+    ...props
+  } = _ref;
+  const accessibleToolbarState = (0,external_wp_element_namespaceObject.useContext)(external_wp_components_namespaceObject.__experimentalToolbarContext);
+  const Slot = block_controls_groups[group].Slot;
+  const slot = (0,external_wp_components_namespaceObject.__experimentalUseSlot)(Slot.__unstableName);
+  const hasFills = Boolean(slot.fills && slot.fills.length);
+
+  if (!hasFills) {
+    return null;
+  }
+
+  if (group === 'default') {
+    return (0,external_wp_element_namespaceObject.createElement)(Slot, _extends({}, props, {
+      bubblesVirtually: true,
+      fillProps: accessibleToolbarState
+    }));
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(Slot, _extends({}, props, {
+    bubblesVirtually: true,
+    fillProps: accessibleToolbarState
+  })));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js
+
+

 /**
  * Internal dependencies
  */


+const BlockControls = BlockControlsFill;
+BlockControls.Slot = BlockControlsSlot; // This is just here for backward compatibility

-function BlockActions(_ref) {
-  let {
-    clientIds,
-    children,
-    __experimentalUpdateSelection: updateSelection
-  } = _ref;
-  const {
-    canInsertBlockType,
-    getBlockRootClientId,
-    getBlocksByClientId,
-    canMoveBlocks,
-    canRemoveBlocks
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    getDefaultBlockName,
-    getGroupingBlockName
-  } = Object(external_wp_data_["useSelect"])(external_wp_blocks_["store"]);
-  const blocks = getBlocksByClientId(clientIds);
-  const rootClientId = getBlockRootClientId(clientIds[0]);
-  const canDuplicate = Object(external_lodash_["every"])(blocks, block => {
-    return !!block && Object(external_wp_blocks_["hasBlockSupport"])(block.name, 'multiple', true) && canInsertBlockType(block.name, rootClientId);
-  });
-  const canInsertDefaultBlock = canInsertBlockType(getDefaultBlockName(), rootClientId);
-  const canMove = canMoveBlocks(clientIds, rootClientId);
-  const canRemove = canRemoveBlocks(clientIds, rootClientId);
-  const {
-    removeBlocks,
-    replaceBlocks,
-    duplicateBlocks,
-    insertAfterBlock,
-    insertBeforeBlock,
-    flashBlock,
-    setBlockMovingClientId,
-    setNavigationMode,
-    selectBlock
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const notifyCopy = Object(copy_handler["c" /* useNotifyCopy */])();
-  return children({
-    canDuplicate,
-    canInsertDefaultBlock,
-    canMove,
-    canRemove,
-    rootClientId,
-    blocks,
+const BlockFormatControls = props => {
+  return (0,external_wp_element_namespaceObject.createElement)(BlockControlsFill, _extends({
+    group: "inline"
+  }, props));
+};

-    onDuplicate() {
-      return duplicateBlocks(clientIds, updateSelection);
-    },
+BlockFormatControls.Slot = props => {
+  return (0,external_wp_element_namespaceObject.createElement)(BlockControlsSlot, _extends({
+    group: "inline"
+  }, props));
+};

-    onRemove() {
-      return removeBlocks(clientIds, updateSelection);
-    },
+/* harmony default export */ var block_controls = (BlockControls);

-    onInsertBefore() {
-      insertBeforeBlock(Object(external_lodash_["first"])(Object(external_lodash_["castArray"])(clientIds)));
-    },
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/align-none.js

-    onInsertAfter() {
-      insertAfterBlock(Object(external_lodash_["last"])(Object(external_lodash_["castArray"])(clientIds)));
-    },

-    onMoveTo() {
-      setNavigationMode(true);
-      selectBlock(clientIds[0]);
-      setBlockMovingClientId(clientIds[0]);
-    },
+/**
+ * WordPress dependencies
+ */

-    onGroup() {
-      if (!blocks.length) {
-        return;
-      }
+const alignNone = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"
+}));
+/* harmony default export */ var align_none = (alignNone);

-      const groupingBlockName = getGroupingBlockName(); // Activate the `transform` on `core/group` which does the conversion
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/position-left.js

-      const newBlocks = Object(external_wp_blocks_["switchToBlockType"])(blocks, groupingBlockName);

-      if (!newBlocks) {
-        return;
-      }
+/**
+ * WordPress dependencies
+ */

-      replaceBlocks(clientIds, newBlocks);
-    },
+const positionLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"
+}));
+/* harmony default export */ var position_left = (positionLeft);

-    onUngroup() {
-      if (!blocks.length) {
-        return;
-      }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/position-center.js

-      const innerBlocks = blocks[0].innerBlocks;

-      if (!innerBlocks.length) {
-        return;
-      }
+/**
+ * WordPress dependencies
+ */

-      replaceBlocks(clientIds, innerBlocks);
-    },
+const positionCenter = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M7 9v6h10V9H7zM5 19.8h14v-1.5H5v1.5zM5 4.3v1.5h14V4.3H5z"
+}));
+/* harmony default export */ var position_center = (positionCenter);

-    onCopy() {
-      const selectedBlockClientIds = blocks.map(_ref2 => {
-        let {
-          clientId
-        } = _ref2;
-        return clientId;
-      });
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/position-right.js

-      if (blocks.length === 1) {
-        flashBlock(selectedBlockClientIds[0]);
-      }

-      notifyCopy('copy', selectedBlockClientIds);
-    }
+/**
+ * WordPress dependencies
+ */

-  });
-}
+const positionRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"
+}));
+/* harmony default export */ var position_right = (positionRight);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-mode-toggle.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/stretch-wide.js


 /**
- * External dependencies
+ * WordPress dependencies
+ */
+
+const stretchWide = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"
+}));
+/* harmony default export */ var stretch_wide = (stretchWide);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/stretch-full-width.js
+
+
+/**
+ * WordPress dependencies
  */

+const stretchFullWidth = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"
+}));
+/* harmony default export */ var stretch_full_width = (stretchFullWidth);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-left.js
+
+
 /**
  * WordPress dependencies
  */

+const justifyLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M9 9v6h11V9H9zM4 20h1.5V4H4v16z"
+}));
+/* harmony default export */ var justify_left = (justifyLeft);

-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-center.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const justifyCenter = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M20 9h-7.2V4h-1.6v5H4v6h7.2v5h1.6v-5H20z"
+}));
+/* harmony default export */ var justify_center = (justifyCenter);

-function BlockModeToggle(_ref) {
-  let {
-    blockType,
-    mode,
-    onToggleMode,
-    small = false,
-    isCodeEditingEnabled = true
-  } = _ref;
-
-  if (!Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'html', true) || !isCodeEditingEnabled) {
-    return null;
-  }
-
-  const label = mode === 'visual' ? Object(external_wp_i18n_["__"])('Edit as HTML') : Object(external_wp_i18n_["__"])('Edit visually');
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: onToggleMode
-  }, !small && label);
-}
-/* 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,
-    getSettings
-  } = select(store["a" /* store */]);
-  const block = getBlock(clientId);
-  const isCodeEditingEnabled = getSettings().codeEditingEnabled;
-  return {
-    mode: getBlockMode(clientId),
-    blockType: block ? Object(external_wp_blocks_["getBlockType"])(block.name) : null,
-    isCodeEditingEnabled
-  };
-}), Object(external_wp_data_["withDispatch"])((dispatch, _ref3) => {
-  let {
-    onToggle = external_lodash_["noop"],
-    clientId
-  } = _ref3;
-  return {
-    onToggleMode() {
-      dispatch(store["a" /* store */]).toggleBlockMode(clientId);
-      onToggle();
-    }
-
-  };
-})])(BlockModeToggle));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-convert-button.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-right.js


 /**
  * WordPress dependencies
  */

+const justifyRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"
+}));
+/* harmony default export */ var justify_right = (justifyRight);

-function BlockConvertButton(_ref) {
-  let {
-    shouldRender,
-    onClick,
-    small
-  } = _ref;
-
-  if (!shouldRender) {
-    return null;
-  }
-
-  const label = Object(external_wp_i18n_["__"])('Convert to Blocks');
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-space-between.js

-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: onClick
-  }, !small && label);
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-html-convert-button.js
 /**
  * WordPress dependencies
  */

+const justifySpaceBetween = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"
+}));
+/* harmony default export */ var justify_space_between = (justifySpaceBetween);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-right.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const arrowRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var arrow_right = (arrowRight);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-down.js

-/* 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, _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");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu-controls/index.js + 2 modules
-var block_settings_menu_controls = __webpack_require__("pXCJ");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-settings-dropdown.js
+/**
+ * WordPress dependencies
+ */

+const arrowDown = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var arrow_down = (arrowDown);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/utils.js
+/**
+ * Utility to generate the proper CSS selector for layout styles.
+ *
+ * @param {string|string[]} selectors - CSS selectors
+ * @param {boolean}         append    - string to append.
+ *
+ * @return {string} - CSS selector.
+ */
+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
+  // so we need this to be higher speficity otherwise, it won't be applied to paragraphs inside containers
+  // When the post editor is fully iframed, this extra classname could be removed.
+  return selectors.split(',').map(subselector => `.editor-styles-wrapper ${subselector} ${append}`).join(',');
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-setting/index.js
 /**
  * External dependencies
  */
@@ -14328,914 +9237,1039 @@ var block_settings_menu_controls = __webpack_require__("pXCJ");



-
-
-
-
-
-
 /**
  * Internal dependencies
  */



+const blockedPaths = ['color', 'border', 'typography', 'spacing'];
+const deprecatedFlags = {
+  'color.palette': settings => settings.colors === undefined ? undefined : settings.colors,
+  'color.gradients': settings => settings.gradients === undefined ? undefined : settings.gradients,
+  'color.custom': settings => settings.disableCustomColors === undefined ? undefined : !settings.disableCustomColors,
+  'color.customGradient': settings => settings.disableCustomGradients === undefined ? undefined : !settings.disableCustomGradients,
+  'typography.fontSizes': settings => settings.fontSizes === undefined ? undefined : settings.fontSizes,
+  'typography.customFontSize': settings => settings.disableCustomFontSizes === undefined ? undefined : !settings.disableCustomFontSizes,
+  'typography.lineHeight': settings => settings.enableCustomLineHeight,
+  'spacing.units': settings => {
+    if (settings.enableCustomUnits === undefined) {
+      return;
+    }

+    if (settings.enableCustomUnits === true) {
+      return ['px', 'em', 'rem', 'vh', 'vw', '%'];
+    }

+    return settings.enableCustomUnits;
+  },
+  'spacing.padding': settings => settings.enableCustomSpacing
+};
+const prefixedFlags = {
+  /*
+   * These were only available in the plugin
+   * and can be removed when the minimum WordPress version
+   * for the plugin is 5.9.
+   */
+  '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',

+  /*
+   * These were part of WordPress 5.8 and we need to keep them.
+   */
+  'border.customRadius': 'border.radius',
+  'spacing.customMargin': 'spacing.margin',
+  'spacing.customPadding': 'spacing.padding',
+  'typography.customLineHeight': 'typography.lineHeight'
+};
+/**
+ * Remove `custom` prefixes for flags that did not land in 5.8.
+ *
+ * This provides continued support for `custom` prefixed properties. It will
+ * be removed once third party devs have had sufficient time to update themes,
+ * plugins, etc.
+ *
+ * @see https://github.com/WordPress/gutenberg/pull/34485
+ *
+ * @param {string} path Path to desired value in settings.
+ * @return {string}     The value for defined setting.
+ */

-const POPOVER_PROPS = {
-  className: 'block-editor-block-settings-menu__popover',
-  position: 'bottom right',
-  isAlternate: true
+const removeCustomPrefixes = path => {
+  return prefixedFlags[path] || path;
 };
+/**
+ * Hook that retrieves the editor setting.
+ * It works with nested objects using by finding the value at path.
+ *
+ * @param {string} path The path to the setting.
+ * @return {any} Returns the value defined for the setting.
+ * @example
+ * ```js
+ * const isEnabled = useSetting( 'typography.dropCap' );
+ * ```
+ */

-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(_ref2) {
-  let {
-    clientIds,
-    __experimentalSelectBlock,
-    children,
-    ...props
-  } = _ref2;
-  const blockClientIds = Object(external_lodash_["castArray"])(clientIds);
-  const count = blockClientIds.length;
-  const firstBlockClientId = blockClientIds[0];
+function useSetting(path) {
   const {
-    onlyBlock,
-    title
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _getBlockType;
-
-    const {
-      getBlockCount,
-      getBlockName
-    } = select(store["a" /* store */]);
-    const {
-      getBlockType
-    } = select(external_wp_blocks_["store"]);
-    return {
-      onlyBlock: 1 === getBlockCount(),
-      title: (_getBlockType = getBlockType(getBlockName(firstBlockClientId))) === null || _getBlockType === void 0 ? void 0 : _getBlockType.title
-    };
-  }, [firstBlockClientId]);
-  const shortcuts = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getShortcutRepresentation
-    } = select(external_wp_keyboardShortcuts_["store"]);
-    return {
-      duplicate: getShortcutRepresentation('core/block-editor/duplicate'),
-      remove: getShortcutRepresentation('core/block-editor/remove'),
-      insertAfter: getShortcutRepresentation('core/block-editor/insert-after'),
-      insertBefore: getShortcutRepresentation('core/block-editor/insert-before')
-    };
-  }, []);
-  const updateSelection = Object(external_wp_element_["useCallback"])(__experimentalSelectBlock ? async clientIdsPromise => {
-    const ids = await clientIdsPromise;
+    name: blockName
+  } = useBlockEditContext();
+  const setting = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _get;

-    if (ids && ids[0]) {
-      __experimentalSelectBlock(ids[0]);
+    if (blockedPaths.includes(path)) {
+      // eslint-disable-next-line no-console
+      console.warn('Top level useSetting paths are disabled. Please use a subpath to query the information needed.');
+      return undefined;
     }
-  } : external_lodash_["noop"], [__experimentalSelectBlock]);
-  const label = Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: block name */
-  Object(external_wp_i18n_["__"])('Remove %s'), title);
-  const removeBlockLabel = count === 1 ? label : Object(external_wp_i18n_["__"])('Remove blocks');
-  return Object(external_wp_element_["createElement"])(BlockActions, {
-    clientIds: clientIds,
-    __experimentalUpdateSelection: !__experimentalSelectBlock
-  }, _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);

+    const settings = select(store).getSettings(); // 1 - Use __experimental features, if available.
+    // We cascade to the all value if the block one is not available.

-/***/ }),
+    const normalizedPath = removeCustomPrefixes(path);
+    const defaultsPath = `__experimentalFeatures.${normalizedPath}`;
+    const blockPath = `__experimentalFeatures.blocks.${blockName}.${normalizedPath}`;
+    const experimentalFeaturesResult = (_get = (0,external_lodash_namespaceObject.get)(settings, blockPath)) !== null && _get !== void 0 ? _get : (0,external_lodash_namespaceObject.get)(settings, defaultsPath);

-/***/ "1iEr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (experimentalFeaturesResult !== undefined) {
+      if (external_wp_blocks_namespaceObject.__EXPERIMENTAL_PATHS_WITH_MERGE[normalizedPath]) {
+        var _ref, _experimentalFeatures;

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+        return (_ref = (_experimentalFeatures = experimentalFeaturesResult.custom) !== null && _experimentalFeatures !== void 0 ? _experimentalFeatures : experimentalFeaturesResult.theme) !== null && _ref !== void 0 ? _ref : experimentalFeaturesResult.default;
+      }

+      return experimentalFeaturesResult;
+    } // 2 - Use deprecated settings, otherwise.

-/**
- * WordPress dependencies
- */

-const chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronRight);
+    const deprecatedSettingsValue = deprecatedFlags[normalizedPath] ? deprecatedFlags[normalizedPath](settings) : undefined;

+    if (deprecatedSettingsValue !== undefined) {
+      return deprecatedSettingsValue;
+    } // 3 - Fall back for typography.dropCap:
+    // This is only necessary to support typography.dropCap.
+    // when __experimentalFeatures are not present (core without plugin).
+    // To remove when __experimentalFeatures are ported to core.

-/***/ }),

-/***/ "1oY3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    return normalizedPath === 'typography.dropCap' ? true : undefined;
+  }, [blockName, path]);
+  return setting;
+}

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InspectorAdvancedControls; });
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _fill__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("NtoT");
-/* harmony import */ var _slot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("jwne");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/justify-content-control/ui.js



 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-const InspectorControls = _fill__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"];
-InspectorControls.Slot = _slot__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"]; // This is just here for backward compatibility.

-const InspectorAdvancedControls = props => {
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_fill__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, {
-    __experimentalGroup: "advanced"
-  }));
-};
-
-InspectorAdvancedControls.Slot = props => {
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_slot__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, {
-    __experimentalGroup: "advanced"
-  }));
+const icons = {
+  left: justify_left,
+  center: justify_center,
+  right: justify_right,
+  'space-between': justify_space_between
 };

-InspectorAdvancedControls.slotName = 'InspectorAdvancedControls';
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inspector-controls/README.md
- */
+function JustifyContentUI(_ref) {
+  let {
+    allowedControls = ['left', 'center', 'right', 'space-between'],
+    isCollapsed = true,
+    onChange,
+    value,
+    popoverProps,
+    isToolbar
+  } = _ref;

-/* harmony default export */ __webpack_exports__["b"] = (InspectorControls);
+  // If the control is already selected we want a click
+  // again on the control to deselect the item, so we
+  // call onChange( undefined )
+  const handleClick = next => {
+    if (next === value) {
+      onChange(undefined);
+    } else {
+      onChange(next);
+    }
+  };

+  const icon = value ? icons[value] : icons.left;
+  const allControls = [{
+    name: 'left',
+    icon: justify_left,
+    title: (0,external_wp_i18n_namespaceObject.__)('Justify items left'),
+    isActive: 'left' === value,
+    onClick: () => handleClick('left')
+  }, {
+    name: 'center',
+    icon: justify_center,
+    title: (0,external_wp_i18n_namespaceObject.__)('Justify items center'),
+    isActive: 'center' === value,
+    onClick: () => handleClick('center')
+  }, {
+    name: 'right',
+    icon: justify_right,
+    title: (0,external_wp_i18n_namespaceObject.__)('Justify items right'),
+    isActive: 'right' === value,
+    onClick: () => handleClick('right')
+  }, {
+    name: 'space-between',
+    icon: justify_space_between,
+    title: (0,external_wp_i18n_namespaceObject.__)('Space between items'),
+    isActive: 'space-between' === value,
+    onClick: () => handleClick('space-between')
+  }];
+  const UIComponent = isToolbar ? external_wp_components_namespaceObject.ToolbarGroup : external_wp_components_namespaceObject.ToolbarDropdownMenu;
+  const extraProps = isToolbar ? {
+    isCollapsed
+  } : {};
+  return (0,external_wp_element_namespaceObject.createElement)(UIComponent, _extends({
+    icon: icon,
+    popoverProps: popoverProps,
+    label: (0,external_wp_i18n_namespaceObject.__)('Change items justification'),
+    controls: allControls.filter(elem => allowedControls.includes(elem.name))
+  }, extraProps));
+}

-/***/ }),
+/* harmony default export */ var ui = (JustifyContentUI);

-/***/ "1uGa":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/justify-content-control/index.js

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("RxS6");
-/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_3__);


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

+function JustifyContentControl(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(ui, _extends({}, props, {
+    isToolbar: false
+  }));
+}
+function JustifyToolbar(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(ui, _extends({}, props, {
+    isToolbar: true
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/flex.js


-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: _ref2 => {
-      let {
-        isOpen,
-        onToggle
-      } = _ref2;
+/**
+ * WordPress dependencies
+ */

-      const openOnArrowDown = event => {
-        if (!isOpen && event.keyCode === _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_3__["DOWN"]) {
-          event.preventDefault();
-          onToggle();
-        }
-      };

-      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["ToolbarButton"], {
-        showTooltip: true,
-        onClick: onToggle,
-        "aria-haspopup": "true",
-        "aria-expanded": isOpen,
-        onKeyDown: openOnArrowDown,
-        label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Apply duotone filter'),
-        icon: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["DuotoneSwatch"], {
-          values: value
-        })
-      });
-    },
-    renderContent: () => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["MenuGroup"], {
-      label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Duotone')
-    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-      className: "block-editor-duotone-control__description"
-    }, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Create a two-tone color effect without losing your original image.')), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["DuotonePicker"], {
-      colorPalette: colorPalette,
-      duotonePalette: duotonePalette,
-      disableCustomColors: disableCustomColors,
-      disableCustomDuotone: disableCustomDuotone,
-      value: value,
-      onChange: onChange
-    }))
-  });
-}

-/* harmony default export */ __webpack_exports__["a"] = (DuotoneControl);
+/**
+ * Internal dependencies
+ */


-/***/ }),

-/***/ "2YCo":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+ // Used with the default, horizontal flex orientation.

-"use strict";
+const justifyContentMap = {
+  left: 'flex-start',
+  right: 'flex-end',
+  center: 'center',
+  'space-between': 'space-between'
+}; // Used with the vertical (column) flex orientation.

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ BorderStyleControl; });
+const alignItemsMap = {
+  left: 'flex-start',
+  right: 'flex-end',
+  center: 'center'
+};
+const flexWrapOptions = ['wrap', 'nowrap'];
+/* harmony default export */ var flex = ({
+  name: 'flex',
+  label: (0,external_wp_i18n_namespaceObject.__)('Flex'),
+  inspectorControls: function FlexLayoutInspectorControls(_ref) {
+    let {
+      layout = {},
+      onChange
+    } = _ref;
+    const {
+      allowOrientation = true
+    } = layout;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(FlexLayoutJustifyContentControl, {
+      layout: layout,
+      onChange: onChange
+    })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, allowOrientation && (0,external_wp_element_namespaceObject.createElement)(OrientationControl, {
+      layout: layout,
+      onChange: onChange
+    }))), (0,external_wp_element_namespaceObject.createElement)(FlexWrapControl, {
+      layout: layout,
+      onChange: onChange
+    }));
+  },
+  toolBarControls: function FlexLayoutToolbarControls(_ref2) {
+    let {
+      layout = {},
+      onChange,
+      layoutBlockSupport
+    } = _ref2;
+
+    if (layoutBlockSupport !== null && layoutBlockSupport !== void 0 && layoutBlockSupport.allowSwitching) {
+      return null;
+    }
+
+    return (0,external_wp_element_namespaceObject.createElement)(block_controls, {
+      group: "block",
+      __experimentalShareWithChildBlocks: true
+    }, (0,external_wp_element_namespaceObject.createElement)(FlexLayoutJustifyContentControl, {
+      layout: layout,
+      onChange: onChange,
+      isToolbar: true
+    }));
+  },
+  save: function FlexLayoutStyle(_ref3) {
+    var _style$spacing$blockG, _style$spacing;

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+    let {
+      selector,
+      layout,
+      style
+    } = _ref3;
+    const {
+      orientation = 'horizontal'
+    } = layout;
+    const blockGapSupport = useSetting('spacing.blockGap');
+    const hasBlockGapStylesSupport = blockGapSupport !== null;
+    const blockGapValue = (_style$spacing$blockG = style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.blockGap) !== null && _style$spacing$blockG !== void 0 ? _style$spacing$blockG : 'var( --wp--style--block-gap, 0.5em )';
+    const justifyContent = justifyContentMap[layout.justifyContent] || justifyContentMap.left;
+    const flexWrap = flexWrapOptions.includes(layout.flexWrap) ? layout.flexWrap : 'wrap';
+    const rowOrientation = `
+		flex-direction: row;
+		align-items: center;
+		justify-content: ${justifyContent};
+		`;
+    const alignItems = alignItemsMap[layout.justifyContent] || alignItemsMap.left;
+    const columnOrientation = `
+		flex-direction: column;
+		align-items: ${alignItems};
+		`;
+    return (0,external_wp_element_namespaceObject.createElement)("style", null, `
+				${appendSelectors(selector)} {
+					display: flex;
+					gap: ${hasBlockGapStylesSupport ? blockGapValue : '0.5em'};
+					flex-wrap: ${flexWrap};
+					${orientation === 'horizontal' ? rowOrientation : columnOrientation}
+				}

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+				${appendSelectors(selector, '> *')} {
+					margin: 0;
+				}
+			`);
+  },

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+  getOrientation(layout) {
+    const {
+      orientation = 'horizontal'
+    } = layout;
+    return orientation;
+  },

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/line-solid.js
-var line_solid = __webpack_require__("bVTw");
+  getAlignments() {
+    return [];
+  }

-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/line-dashed.js
+function FlexLayoutJustifyContentControl(_ref4) {
+  let {
+    layout,
+    onChange,
+    isToolbar = false
+  } = _ref4;
+  const {
+    justifyContent = 'left',
+    orientation = 'horizontal'
+  } = layout;

+  const onJustificationChange = value => {
+    onChange({ ...layout,
+      justifyContent: value
+    });
+  };

-/**
- * WordPress dependencies
- */
+  const allowedControls = ['left', 'center', 'right'];

-const lineDashed = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  width: "24",
-  height: "24",
-  fill: "none"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  fillRule: "evenodd",
-  d: "M5 11.25h3v1.5H5v-1.5zm5.5 0h3v1.5h-3v-1.5zm8.5 0h-3v1.5h3v-1.5z",
-  clipRule: "evenodd"
-}));
-/* harmony default export */ var line_dashed = (lineDashed);
+  if (orientation === 'horizontal') {
+    allowedControls.push('space-between');
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/line-dotted.js
+  if (isToolbar) {
+    return (0,external_wp_element_namespaceObject.createElement)(JustifyContentControl, {
+      allowedControls: allowedControls,
+      value: justifyContent,
+      onChange: onJustificationChange,
+      popoverProps: {
+        position: 'bottom right',
+        isAlternate: true
+      }
+    });
+  }

+  const justificationOptions = [{
+    value: 'left',
+    icon: justify_left,
+    label: (0,external_wp_i18n_namespaceObject.__)('Justify items left')
+  }, {
+    value: 'center',
+    icon: justify_center,
+    label: (0,external_wp_i18n_namespaceObject.__)('Justify items center')
+  }, {
+    value: 'right',
+    icon: justify_right,
+    label: (0,external_wp_i18n_namespaceObject.__)('Justify items right')
+  }];

-/**
- * WordPress dependencies
- */
+  if (orientation === 'horizontal') {
+    justificationOptions.push({
+      value: 'space-between',
+      icon: justify_space_between,
+      label: (0,external_wp_i18n_namespaceObject.__)('Space between items')
+    });
+  }

-const lineDotted = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  width: "24",
-  height: "24",
-  fill: "none"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var line_dotted = (lineDotted);
+  return (0,external_wp_element_namespaceObject.createElement)("fieldset", {
+    className: "block-editor-hooks__flex-layout-justification-controls"
+  }, (0,external_wp_element_namespaceObject.createElement)("legend", null, (0,external_wp_i18n_namespaceObject.__)('Justification')), (0,external_wp_element_namespaceObject.createElement)("div", null, justificationOptions.map(_ref5 => {
+    let {
+      value,
+      icon,
+      label
+    } = _ref5;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      key: value,
+      label: label,
+      icon: icon,
+      isPressed: justifyContent === value,
+      onClick: () => onJustificationChange(value)
+    });
+  })));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-style-control/index.js
+function FlexWrapControl(_ref6) {
+  let {
+    layout,
+    onChange
+  } = _ref6;
+  const {
+    flexWrap = 'wrap'
+  } = layout;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Allow to wrap to multiple lines'),
+    onChange: value => {
+      onChange({ ...layout,
+        flexWrap: value ? 'wrap' : 'nowrap'
+      });
+    },
+    checked: flexWrap === 'wrap'
+  });
+}

+function OrientationControl(_ref7) {
+  let {
+    layout,
+    onChange
+  } = _ref7;
+  const {
+    orientation = 'horizontal'
+  } = layout;
+  return (0,external_wp_element_namespaceObject.createElement)("fieldset", {
+    className: "block-editor-hooks__flex-layout-orientation-controls"
+  }, (0,external_wp_element_namespaceObject.createElement)("legend", null, (0,external_wp_i18n_namespaceObject.__)('Orientation')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    label: 'horizontal',
+    icon: arrow_right,
+    isPressed: orientation === 'horizontal',
+    onClick: () => onChange({ ...layout,
+      orientation: 'horizontal'
+    })
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    label: 'vertical',
+    icon: arrow_down,
+    isPressed: orientation === 'vertical',
+    onClick: () => onChange({ ...layout,
+      orientation: 'vertical'
+    })
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
 /**
  * WordPress dependencies
  */

+/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */

-
-const BORDER_STYLES = [{
-  label: Object(external_wp_i18n_["__"])('Solid'),
-  icon: line_solid["a" /* default */],
-  value: 'solid'
-}, {
-  label: Object(external_wp_i18n_["__"])('Dashed'),
-  icon: line_dashed,
-  value: 'dashed'
-}, {
-  label: Object(external_wp_i18n_["__"])('Dotted'),
-  icon: line_dotted,
-  value: 'dotted'
-}];
 /**
- * Control to display border style options.
+ * Return an SVG icon.
  *
- * @param {Object}   props          Component props.
- * @param {Function} props.onChange Handler for changing border style selection.
- * @param {string}   props.value    Currently selected border style value.
+ * @param {IconProps} props icon is the SVG component to render
+ *                          size is a number specifiying the icon size in pixels
+ *                          Other props will be passed to wrapped SVG component
  *
- * @return {WPElement} Custom border style segmented control.
+ * @return {JSX.Element}  Icon component
  */

-function BorderStyleControl(_ref) {
+function Icon(_ref) {
   let {
-    onChange,
-    value
+    icon,
+    size = 24,
+    ...props
   } = _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", {
-    className: "components-border-style-control__buttons"
-  }, BORDER_STYLES.map(borderStyle => Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    key: borderStyle.value,
-    icon: borderStyle.icon,
-    isSmall: true,
-    isPressed: borderStyle.value === value,
-    onClick: () => onChange(borderStyle.value === value ? undefined : borderStyle.value),
-    "aria-label": borderStyle.label
-  }))));
+  return (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+    width: size,
+    height: size,
+    ...props
+  });
 }

+/* harmony default export */ var build_module_icon = (Icon);

-/***/ }),
-
-/***/ "2gm7":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/flow.js


 /**
  * WordPress dependencies
  */

-const chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
-

-/***/ }),
-
-/***/ "2z9l":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return usePopoverScroll; });
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * WordPress dependencies
- */

 /**
- * Allow scrolling "through" popovers over the canvas. This is only called for
- * as long as the pointer is over a popover. Do not use React events because it
- * will bubble through portals.
- *
- * @param {Object} scrollableRef
+ * Internal dependencies
  */

-function usePopoverScroll(scrollableRef) {
-  return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__["useRefEffect"])(node => {
-    if (!scrollableRef) {
-      return;
-    }
-
-    function onWheel(event) {
-      const {
-        deltaX,
-        deltaY
-      } = event;
-      scrollableRef.current.scrollBy(deltaX, deltaY);
-    } // Tell the browser that we do not call event.preventDefault
-    // See https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#improving_scrolling_performance_with_passive_listeners


-    const options = {
-      passive: true
-    };
-    node.addEventListener('wheel', onWheel, options);
-    return () => {
-      node.removeEventListener('wheel', onWheel, options);
-    };
-  }, [scrollableRef]);
-}
+/* harmony default export */ var flow = ({
+  name: 'default',
+  label: (0,external_wp_i18n_namespaceObject.__)('Flow'),
+  inspectorControls: function DefaultLayoutInspectorControls(_ref) {
+    let {
+      layout,
+      onChange
+    } = _ref;
+    const {
+      wideSize,
+      contentSize
+    } = layout;
+    const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+      availableUnits: useSetting('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
+    });
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-hooks__layout-controls"
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-hooks__layout-controls-unit"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Content'),
+      labelPosition: "top",
+      __unstableInputWidth: "80px",
+      value: contentSize || wideSize || '',
+      onChange: nextWidth => {
+        nextWidth = 0 > parseFloat(nextWidth) ? '0' : nextWidth;
+        onChange({ ...layout,
+          contentSize: nextWidth
+        });
+      },
+      units: units
+    }), (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+      icon: position_center
+    })), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-hooks__layout-controls-unit"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Wide'),
+      labelPosition: "top",
+      __unstableInputWidth: "80px",
+      value: wideSize || contentSize || '',
+      onChange: nextWidth => {
+        nextWidth = 0 > parseFloat(nextWidth) ? '0' : nextWidth;
+        onChange({ ...layout,
+          wideSize: nextWidth
+        });
+      },
+      units: units
+    }), (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+      icon: stretch_wide
+    }))), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-hooks__layout-controls-reset"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      variant: "secondary",
+      isSmall: true,
+      disabled: !contentSize && !wideSize,
+      onClick: () => onChange({
+        contentSize: undefined,
+        wideSize: undefined,
+        inherit: false
+      })
+    }, (0,external_wp_i18n_namespaceObject.__)('Reset'))), (0,external_wp_element_namespaceObject.createElement)("p", {
+      className: "block-editor-hooks__layout-controls-helptext"
+    }, (0,external_wp_i18n_namespaceObject.__)('Customize the width for all elements that are assigned to the center or wide columns.')));
+  },
+  toolBarControls: function DefaultLayoutToolbarControls() {
+    return null;
+  },
+  save: function DefaultLayoutStyle(_ref2) {
+    var _style$spacing$blockG, _style$spacing;

+    let {
+      selector,
+      layout = {},
+      style
+    } = _ref2;
+    const {
+      contentSize,
+      wideSize
+    } = layout;
+    const blockGapSupport = useSetting('spacing.blockGap');
+    const hasBlockGapStylesSupport = blockGapSupport !== null;
+    const blockGapValue = (_style$spacing$blockG = style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.blockGap) !== null && _style$spacing$blockG !== void 0 ? _style$spacing$blockG : 'var( --wp--style--block-gap )';
+    let output = !!contentSize || !!wideSize ? `
+					${appendSelectors(selector, '> *')} {
+						max-width: ${contentSize !== null && contentSize !== void 0 ? contentSize : wideSize};
+						margin-left: auto !important;
+						margin-right: auto !important;
+					}

-/***/ }),
+					${appendSelectors(selector, '> [data-align="wide"]')}  {
+						max-width: ${wideSize !== null && wideSize !== void 0 ? wideSize : contentSize};
+					}

-/***/ "5L8O":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+					${appendSelectors(selector, '> [data-align="full"]')} {
+						max-width: none;
+					}
+				` : '';
+    output += `
+			${appendSelectors(selector, '> [data-align="left"]')} {
+				float: left;
+				margin-right: 2em;
+			}

-"use strict";
-/* unused harmony export ZWNBSP */
-/* unused harmony export DefaultBlockAppender */
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("rmEH");
-/* harmony import */ var _wordpress_html_entities__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__);
-/* harmony import */ var _inserter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("qrxh");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("BhPs");
+			${appendSelectors(selector, '> [data-align="right"]')} {
+				float: right;
+				margin-left: 2em;
+			}

+		`;

-/**
- * External dependencies
- */
+    if (hasBlockGapStylesSupport) {
+      output += `
+				${appendSelectors(selector, '> *')} {
+					margin-top: 0;
+					margin-bottom: 0;
+				}
+				${appendSelectors(selector, '> * + *')} {
+					margin-top: ${blockGapValue};
+				}
+			`;
+    }

-/**
- * WordPress dependencies
- */
+    return (0,external_wp_element_namespaceObject.createElement)("style", null, output);
+  },

+  getOrientation() {
+    return 'vertical';
+  },

+  getAlignments(layout) {
+    const alignmentInfo = getAlignmentsInfo(layout);

+    if (layout.alignments !== undefined) {
+      if (!layout.alignments.includes('none')) {
+        layout.alignments.unshift('none');
+      }

+      return layout.alignments.map(alignment => ({
+        name: alignment,
+        info: alignmentInfo[alignment]
+      }));
+    }

+    const {
+      contentSize,
+      wideSize
+    } = layout;
+    const alignments = [{
+      name: 'left'
+    }, {
+      name: 'center'
+    }, {
+      name: 'right'
+    }];

-/**
- * Internal dependencies
- */
+    if (contentSize) {
+      alignments.unshift({
+        name: 'full'
+      });
+    }

+    if (wideSize) {
+      alignments.unshift({
+        name: 'wide',
+        info: alignmentInfo.wide
+      });
+    }

+    alignments.unshift({
+      name: 'none',
+      info: alignmentInfo.none
+    });
+    return alignments;
+  }

+});
 /**
- * Zero width non-breaking space, used as padding for the paragraph when it is
- * empty.
+ * Helper method to assign contextual info to clarify
+ * alignment settings.
+ *
+ * Besides checking if `contentSize` and `wideSize` have a
+ * value, we now show this information only if their values
+ * are not a `css var`. This needs to change when parsing
+ * css variables land.
+ *
+ * @see https://github.com/WordPress/gutenberg/pull/34710#issuecomment-918000752
+ *
+ * @param {Object} layout The layout object.
+ * @return {Object} An object with contextual info per alignment.
  */

-const ZWNBSP = '\ufeff';
-function DefaultBlockAppender(_ref) {
-  let {
-    isLocked,
-    isVisible,
-    onAppend,
-    showPrompt,
-    placeholder,
-    rootClientId
-  } = _ref;
+function getAlignmentsInfo(layout) {
+  const {
+    contentSize,
+    wideSize
+  } = layout;
+  const alignmentInfo = {};
+  const sizeRegex = /^(?!0)\d+(px|em|rem|vw|vh|%)?$/i;

-  if (isLocked || !isVisible) {
-    return null;
+  if (sizeRegex.test(contentSize)) {
+    // translators: %s: container size (i.e. 600px etc)
+    alignmentInfo.none = (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Max %s wide'), contentSize);
   }

-  const value = Object(_wordpress_html_entities__WEBPACK_IMPORTED_MODULE_5__["decodeEntities"])(placeholder) || Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Type / to choose a block');
+  if (sizeRegex.test(wideSize)) {
+    // translators: %s: container size (i.e. 600px etc)
+    alignmentInfo.wide = (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Max %s wide'), wideSize);
+  }

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    "data-root-client-id": rootClientId || '',
-    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('block-editor-default-block-appender', {
-      'has-visible-prompt': showPrompt
-    })
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("p", {
-    tabIndex: "0" // Only necessary for `useCanvasClickRedirect` to consider it
-    // as a target. Ideally it should consider any tabbable target,
-    // but the inserter is rendered in place while it should be
-    // rendered in a popover, just like it does for an empty
-    // paragraph block.
-    ,
-    contentEditable: true,
-    suppressContentEditableWarning: true // We want this element to be styled as a paragraph by themes.
-    // eslint-disable-next-line jsx-a11y/no-noninteractive-element-to-interactive-role
-    ,
-    role: "button",
-    "aria-label": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Add block') // A wrapping container for this one already has the wp-block className.
-    ,
-    className: "block-editor-default-block-appender__content",
-    onFocus: onAppend
-  }, showPrompt ? value : ZWNBSP), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_inserter__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], {
-    rootClientId: rootClientId,
-    position: "bottom right",
-    isAppender: true,
-    __experimentalIsQuick: true
-  }));
+  return alignmentInfo;
 }
-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["compose"])(Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__["withSelect"])((select, ownProps) => {
-  const {
-    getBlockCount,
-    getBlockName,
-    isBlockValid,
-    getSettings,
-    getTemplateLock
-  } = select(_store__WEBPACK_IMPORTED_MODULE_8__[/* store */ "a"]);
-  const isEmpty = !getBlockCount(ownProps.rootClientId);
-  const isLastBlockDefault = getBlockName(ownProps.lastBlockClientId) === Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__["getDefaultBlockName"])();
-  const isLastBlockValid = isBlockValid(ownProps.lastBlockClientId);
-  const {
-    bodyPlaceholder
-  } = getSettings();
-  return {
-    isVisible: isEmpty || !isLastBlockDefault || !isLastBlockValid,
-    showPrompt: isEmpty,
-    isLocked: !!getTemplateLock(ownProps.rootClientId),
-    placeholder: bodyPlaceholder
-  };
-}), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_6__["withDispatch"])((dispatch, ownProps) => {
-  const {
-    insertDefaultBlock,
-    startTyping
-  } = dispatch(_store__WEBPACK_IMPORTED_MODULE_8__[/* store */ "a"]);
-  return {
-    onAppend() {
-      const {
-        rootClientId
-      } = ownProps;
-      insertDefaultBlock(undefined, rootClientId);
-      startTyping();
-    }
-
-  };
-}))(DefaultBlockAppender));
-
-
-/***/ }),
-
-/***/ "5gPN":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ utils["a" /* getColorClassName */]; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ utils["b" /* getColorObjectByAttributeValues */]; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ utils["c" /* getColorObjectByColorValue */]; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ createCustomColorsHOC; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ withColors; });
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/utils.js
-var utils = __webpack_require__("bVpQ");
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/index.js
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+const layoutTypes = [flow, flex];
+/**
+ * Retrieves a layout type by name.
+ *
+ * @param {string} name - The name of the layout type.
+ * @return {Object} Layout type.
+ */

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+function getLayoutType() {
+  let name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'default';
+  return layoutTypes.find(layoutType => layoutType.name === name);
+}
+/**
+ * Retrieves the available layout types.
+ *
+ * @return {Array} Layout types.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-setting/index.js
-var use_setting = __webpack_require__("v5LD");
+function getLayoutTypes() {
+  return layoutTypes;
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/with-colors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/layout.js



 /**
- * External dependencies
+ * WordPress dependencies
  */

 /**
- * WordPress dependencies
+ * Internal dependencies
  */


+const defaultLayout = {
+  type: 'default'
+};
+const Layout = (0,external_wp_element_namespaceObject.createContext)(defaultLayout);
+/**
+ * Allows to define the layout.
+ */

+const LayoutProvider = Layout.Provider;
 /**
- * Internal dependencies
+ * React hook used to retrieve the layout config.
  */

+function useLayout() {
+  return (0,external_wp_element_namespaceObject.useContext)(Layout);
+}
+function LayoutStyle(_ref) {
+  let {
+    layout = {},
+    ...props
+  } = _ref;
+  const layoutType = getLayoutType(layout.type);
+
+  if (layoutType) {
+    return (0,external_wp_element_namespaceObject.createElement)(layoutType.save, _extends({
+      layout: layout
+    }, props));
+  }

+  return null;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/use-available-alignments.js
 /**
- * Higher order component factory for injecting the `colorsArray` argument as
- * the colors prop in the `withCustomColors` HOC.
- *
- * @param {Array} colorsArray An array of color objects.
- *
- * @return {Function} The higher order component.
+ * WordPress dependencies
  */

-const withCustomColorPalette = colorsArray => Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => props => Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, {
-  colors: colorsArray
-})), 'withCustomColorPalette');
 /**
- * Higher order component factory for injecting the editor colors as the
- * `colors` prop in the `withColors` HOC.
- *
- * @return {Function} The higher order component.
+ * Internal dependencies
  */


-const withEditorColorPalette = () => Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => props => {
-  // Some color settings have a special handling for deprecated flags in `useSetting`,
-  // so we can't unwrap them by doing const { ... } = useSetting('color')
-  // until https://github.com/WordPress/gutenberg/issues/37094 is fixed.
-  const userPalette = Object(use_setting["a" /* default */])('color.palette.custom');
-  const themePalette = Object(use_setting["a" /* default */])('color.palette.theme');
-  const defaultPalette = Object(use_setting["a" /* default */])('color.palette.default');
-  const allColors = Object(external_wp_element_["useMemo"])(() => [...(userPalette || []), ...(themePalette || []), ...(defaultPalette || [])], [userPalette, themePalette, defaultPalette]);
-  return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, {
-    colors: allColors
-  }));
-}, 'withEditorColorPalette');
-/**
- * Helper function used with `createHigherOrderComponent` to create
- * higher order components for managing color logic.
- *
- * @param {Array}    colorTypes       An array of color types (e.g. 'backgroundColor, borderColor).
- * @param {Function} withColorPalette A HOC for injecting the 'colors' prop into the WrappedComponent.
- *
- * @return {WPComponent} The component that can be used as a HOC.
- */


-function createColorHOC(colorTypes, withColorPalette) {
-  const colorMap = Object(external_lodash_["reduce"])(colorTypes, (colorObject, colorType) => {
-    return { ...colorObject,
-      ...(Object(external_lodash_["isString"])(colorType) ? {
-        [colorType]: Object(external_lodash_["kebabCase"])(colorType)
-      } : colorType)
+const DEFAULT_CONTROLS = ['none', 'left', 'center', 'right', 'wide', 'full'];
+const WIDE_CONTROLS = ['wide', 'full'];
+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];
+  }
+
+  const {
+    wideControlsEnabled = false,
+    themeSupportsLayout
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSettings
+    } = select(store);
+    const settings = getSettings();
+    return {
+      wideControlsEnabled: settings.alignWide,
+      themeSupportsLayout: settings.supportsLayout
     };
-  }, {});
-  return Object(external_wp_compose_["compose"])([withColorPalette, WrappedComponent => {
-    return class extends external_wp_element_["Component"] {
-      constructor(props) {
-        super(props);
-        this.setters = this.createSetters();
-        this.colorUtils = {
-          getMostReadableColor: this.getMostReadableColor.bind(this)
-        };
-        this.state = {};
-      }
+  }, []);
+  const layout = useLayout();
+  const layoutType = getLayoutType(layout === null || layout === void 0 ? void 0 : layout.type);
+  const layoutAlignments = layoutType.getAlignments(layout);

-      getMostReadableColor(colorValue) {
-        const {
-          colors
-        } = this.props;
-        return Object(utils["d" /* getMostReadableColor */])(colors, colorValue);
-      }
+  if (themeSupportsLayout) {
+    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.

-      createSetters() {
-        return Object(external_lodash_["reduce"])(colorMap, (settersAccumulator, colorContext, colorAttributeName) => {
-          const upperFirstColorAttributeName = Object(external_lodash_["upperFirst"])(colorAttributeName);
-          const customColorAttributeName = `custom${upperFirstColorAttributeName}`;
-          settersAccumulator[`set${upperFirstColorAttributeName}`] = this.createSetColor(colorAttributeName, customColorAttributeName);
-          return settersAccumulator;
-        }, {});
-      }
+    if (alignments.length === 1 && alignments[0].name === 'none') {
+      return [];
+    }

-      createSetColor(colorAttributeName, customColorAttributeName) {
-        return colorValue => {
-          const colorObject = Object(utils["c" /* getColorObjectByColorValue */])(this.props.colors, colorValue);
-          this.props.setAttributes({
-            [colorAttributeName]: colorObject && colorObject.slug ? colorObject.slug : undefined,
-            [customColorAttributeName]: colorObject && colorObject.slug ? undefined : colorValue
-          });
-        };
-      }
+    return alignments;
+  } // Starting here, it's the fallback for themes not supporting the layout config.

-      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];
-          const previousColor = previousColorObject === null || previousColorObject === void 0 ? void 0 : previousColorObject.color;
-          /**
-           * The "and previousColorObject" condition checks that a previous color object was already computed.
-           * At the start previousColorObject and colorValue are both equal to undefined
-           * bus as previousColorObject does not exist we should compute the object.
-           */

-          if (previousColor === colorObject.color && previousColorObject) {
-            newState[colorAttributeName] = previousColorObject;
-          } else {
-            newState[colorAttributeName] = { ...colorObject,
-              class: Object(utils["a" /* getColorClassName */])(colorContext, colorObject.slug)
-            };
-          }
+  if (layoutType.name !== 'default') {
+    return [];
+  }

-          return newState;
-        }, {});
-      }
+  const {
+    alignments: availableAlignments = DEFAULT_CONTROLS
+  } = layout;
+  const enabledControls = controls.filter(control => (layout.alignments || // Ignore the global wideAlignment check if the layout explicitely defines alignments.
+  wideControlsEnabled || !WIDE_CONTROLS.includes(control)) && availableAlignments.includes(control)).map(enabledControl => ({
+    name: enabledControl
+  })); // While we treat `none` as an alignment, we shouldn't return it if no
+  // other alignments exist.

-      render() {
-        return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, this.props, {
-          colors: undefined
-        }, this.state, this.setters, {
-          colorUtils: this.colorUtils
-        }));
-      }
+  if (enabledControls.length === 1 && enabledControls[0].name === 'none') {
+    return [];
+  }

-    };
-  }]);
+  return enabledControls;
 }
-/**
- * A higher-order component factory for creating a 'withCustomColors' HOC, which handles color logic
- * for class generation color value, retrieval and color attribute setting.
- *
- * Use this higher-order component to work with a custom set of colors.
- *
- * @example
- *
- * ```jsx
- * const CUSTOM_COLORS = [ { name: 'Red', slug: 'red', color: '#ff0000' }, { name: 'Blue', slug: 'blue', color: '#0000ff' } ];
- * const withCustomColors = createCustomColorsHOC( CUSTOM_COLORS );
- * // ...
- * export default compose(
- *     withCustomColors( 'backgroundColor', 'borderColor' ),
- *     MyColorfulComponent,
- * );
- * ```
- *
- * @param {Array} colorsArray The array of color objects (name, slug, color, etc... ).
- *
- * @return {Function} Higher-order component.
- */

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/ui.js

-function createCustomColorsHOC(colorsArray) {
-  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');
-  };
-}
 /**
- * A higher-order component, which handles color logic for class generation color value, retrieval and color attribute setting.
- *
- * For use with the default editor/theme color palette.
- *
- * @example
- *
- * ```jsx
- * export default compose(
- *     withColors( 'backgroundColor', { textColor: 'color' } ),
- *     MyColorfulComponent,
- * );
- * ```
- *
- * @param {...(Object|string)} colorTypes The arguments can be strings or objects. If the argument is an object,
- *                                        it should contain the color attribute name as key and the color context as value.
- *                                        If the argument is a string the value should be the color attribute name,
- *                                        the color context is computed by applying a kebab case transform to the value.
- *                                        Color context represents the context/place where the color is going to be used.
- *                                        The class name of the color is generated using 'has' followed by the color name
- *                                        and ending with the color context all in kebab case e.g: has-green-background-color.
- *
- * @return {Function} Higher-order component.
+ * External dependencies
  */

-function withColors() {
-  const withColorPalette = withEditorColorPalette();
+/**
+ * WordPress dependencies
+ */

-  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');
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/index.js


+/**
+ * Internal dependencies
+ */


-/***/ }),
+const BLOCK_ALIGNMENTS_CONTROLS = {
+  none: {
+    icon: align_none,
+    title: (0,external_wp_i18n_namespaceObject.__)('None')
+  },
+  left: {
+    icon: position_left,
+    title: (0,external_wp_i18n_namespaceObject.__)('Align left')
+  },
+  center: {
+    icon: position_center,
+    title: (0,external_wp_i18n_namespaceObject.__)('Align center')
+  },
+  right: {
+    icon: position_right,
+    title: (0,external_wp_i18n_namespaceObject.__)('Align right')
+  },
+  wide: {
+    icon: stretch_wide,
+    title: (0,external_wp_i18n_namespaceObject.__)('Wide width')
+  },
+  full: {
+    icon: stretch_full_width,
+    title: (0,external_wp_i18n_namespaceObject.__)('Full width')
+  }
+};
+const DEFAULT_CONTROL = 'none';
+const POPOVER_PROPS = {
+  isAlternate: true
+};
+
+function BlockAlignmentUI(_ref) {
+  let {
+    value,
+    onChange,
+    controls,
+    isToolbar,
+    isCollapsed = true
+  } = _ref;
+  const enabledControls = useAvailableAlignments(controls);
+  const hasEnabledControls = !!enabledControls.length;

-/***/ "6ZVF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (!hasEnabledControls) {
+    return null;
+  }

-"use strict";
+  function onChangeAlignment(align) {
+    onChange([value, 'none'].includes(align) ? undefined : align);
+  }

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+  const activeAlignmentControl = BLOCK_ALIGNMENTS_CONTROLS[value];
+  const defaultAlignmentControl = BLOCK_ALIGNMENTS_CONTROLS[DEFAULT_CONTROL];
+  const UIComponent = isToolbar ? external_wp_components_namespaceObject.ToolbarGroup : external_wp_components_namespaceObject.ToolbarDropdownMenu;
+  const commonProps = {
+    popoverProps: POPOVER_PROPS,
+    icon: activeAlignmentControl ? activeAlignmentControl.icon : defaultAlignmentControl.icon,
+    label: (0,external_wp_i18n_namespaceObject.__)('Align'),
+    toggleProps: {
+      describedBy: (0,external_wp_i18n_namespaceObject.__)('Change alignment')
+    }
+  };
+  const extraProps = isToolbar || external_wp_element_namespaceObject.Platform.isNative ? {
+    isCollapsed: isToolbar ? isCollapsed : undefined,
+    controls: enabledControls.map(_ref2 => {
+      let {
+        name: controlName
+      } = _ref2;
+      return { ...BLOCK_ALIGNMENTS_CONTROLS[controlName],
+        isActive: value === controlName || !value && controlName === 'none',
+        role: isCollapsed ? 'menuitemradio' : undefined,
+        onClick: () => onChangeAlignment(controlName)
+      };
+    })
+  } : {
+    children: _ref3 => {
+      let {
+        onClose
+      } = _ref3;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+        className: "block-editor-block-alignment-control__menu-group"
+      }, enabledControls.map(_ref4 => {
+        let {
+          name: controlName,
+          info
+        } = _ref4;
+        const {
+          icon,
+          title
+        } = BLOCK_ALIGNMENTS_CONTROLS[controlName]; // If no value is provided, mark as selected the `none` option.

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+        const isSelected = controlName === value || !value && controlName === 'none';
+        return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+          key: controlName,
+          icon: icon,
+          iconPosition: "left",
+          className: classnames_default()('components-dropdown-menu__menu-item', {
+            'is-active': isSelected
+          }),
+          isSelected: isSelected,
+          onClick: () => {
+            onChangeAlignment(controlName);
+            onClose();
+          },
+          role: "menuitemradio",
+          info: info
+        }, title);
+      })));
+    }
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(UIComponent, _extends({}, commonProps, extraProps));
+}

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+/* harmony default export */ var block_alignment_control_ui = (BlockAlignmentUI);

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/index.js

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-icon/index.js
-var block_icon = __webpack_require__("7SSY");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/item.js
-var inserter_listbox_item = __webpack_require__("M+co");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-draggable-blocks/index.js
-var inserter_draggable_blocks = __webpack_require__("j6zP");
+function BlockAlignmentControl(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(block_alignment_control_ui, _extends({}, props, {
+    isToolbar: false
+  }));
+}
+function BlockAlignmentToolbar(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(block_alignment_control_ui, _extends({}, props, {
+    isToolbar: true
+  }));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-list-item/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/align.js



@@ -15243,6 +10277,7 @@ var inserter_draggable_blocks = __webpack_require__("j6zP");
  * External dependencies
  */

+
 /**
  * WordPress dependencies
  */
@@ -15256,359 +10291,311 @@ var inserter_draggable_blocks = __webpack_require__("j6zP");



+/**
+ * An array which includes all possible valid alignments,
+ * used to validate if an alignment is valid or not.
+ *
+ * @constant
+ * @type {string[]}
+ */

+const ALL_ALIGNMENTS = ['left', 'center', 'right', 'wide', 'full'];
 /**
- * Return true if platform is MacOS.
+ * An array which includes all wide alignments.
+ * In order for this alignments to be valid they need to be supported by the block,
+ * and by the theme.
  *
- * @param {Object} _window window object by default; used for DI testing.
+ * @constant
+ * @type {string[]}
+ */
+
+const WIDE_ALIGNMENTS = ['wide', 'full'];
+/**
+ * Returns the valid alignments.
+ * Takes into consideration the aligns supported by a block, if the block supports wide controls or not and if theme supports wide controls or not.
+ * Exported just for testing purposes, not exported outside the module.
  *
- * @return {boolean} True if MacOS; false otherwise.
+ * @param {?boolean|string[]} blockAlign          Aligns supported by the block.
+ * @param {?boolean}          hasWideBlockSupport True if block supports wide alignments. And False otherwise.
+ * @param {?boolean}          hasWideEnabled      True if theme supports wide alignments. And False otherwise.
+ *
+ * @return {string[]} Valid alignments.
  */

-function isAppleOS() {
-  let _window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window;
+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;

-  const {
-    platform
-  } = _window.navigator;
-  return platform.indexOf('Mac') !== -1 || ['iPad', 'iPhone'].includes(platform);
-}
+  if (Array.isArray(blockAlign)) {
+    validAlignments = ALL_ALIGNMENTS.filter(value => blockAlign.includes(value));
+  } else if (blockAlign === true) {
+    // `true` includes all alignments...
+    validAlignments = [...ALL_ALIGNMENTS];
+  } else {
+    validAlignments = [];
+  }

-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,
-    color: item.icon.foreground
-  } : {};
-  const blocks = Object(external_wp_element_["useMemo"])(() => {
-    return [Object(external_wp_blocks_["createBlock"])(item.name, item.initialAttributes, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(item.innerBlocks))];
-  }, [item.name, item.initialAttributes, item.initialAttributes]);
-  return Object(external_wp_element_["createElement"])(inserter_draggable_blocks["a" /* default */], {
-    isEnabled: isDraggable && !item.disabled,
-    blocks: blocks,
-    icon: item.icon
-  }, _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 (!hasWideEnabled || blockAlign === true && !hasWideBlockSupport) {
+    return (0,external_lodash_namespaceObject.without)(validAlignments, ...WIDE_ALIGNMENTS);
+  }

-        if (onDragStart) {
-          onHover(null);
-          onDragStart(event);
-        }
-      },
-      onDragEnd: event => {
-        isDragging.current = false;
+  return validAlignments;
+}
+/**
+ * Filters registered block settings, extending attributes to include `align`.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
+ */

-        if (onDragEnd) {
-          onDragEnd(event);
-        }
+function addAttribute(settings) {
+  // allow blocks to specify their own attribute definition with default values if needed.
+  if ((0,external_lodash_namespaceObject.has)(settings.attributes, ['align', 'type'])) {
+    return settings;
+  }
+
+  if ((0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, 'align')) {
+    // Gracefully handle if settings.attributes is undefined.
+    settings.attributes = { ...settings.attributes,
+      align: {
+        type: 'string',
+        // Allow for '' since it is used by updateAlignment function
+        // in withToolbarControls for special cases with defined default values.
+        enum: [...ALL_ALIGNMENTS, '']
       }
-    }, 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"]) {
-          event.preventDefault();
-          onSelect(item, isAppleOS() ? event.metaKey : event.ctrlKey);
-          onHover(null);
-        }
-      },
-      onFocus: () => {
-        if (isDragging.current) {
-          return;
-        }
+  return settings;
+}
+/**
+ * Override the default edit UI to include new toolbar controls for block
+ * alignment, if block defines support.
+ *
+ * @param {Function} BlockEdit Original component.
+ *
+ * @return {Function} Wrapped component.
+ */

-        onHover(item);
-      },
-      onMouseEnter: () => {
-        if (isDragging.current) {
-          return;
-        }
+const withToolbarControls = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => props => {
+  const {
+    name: blockName
+  } = props; // Compute the block valid alignments by taking into account,
+  // if the theme supports wide alignments or not and the layout's
+  // availble alignments. We do that for conditionally rendering
+  // Slot.

-        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)));
+  const blockAllowedAlignments = getValidAlignments((0,external_wp_blocks_namespaceObject.getBlockSupport)(blockName, 'align'), (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, 'alignWide', true));
+  const validAlignments = useAvailableAlignments(blockAllowedAlignments).map(_ref => {
+    let {
+      name
+    } = _ref;
+    return name;
   });
-}

-/* harmony default export */ var inserter_list_item = (Object(external_wp_element_["memo"])(InserterListItem));
+  const updateAlignment = nextAlign => {
+    if (!nextAlign) {
+      var _blockType$attributes, _blockType$attributes2;
+
+      const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(props.name);
+      const blockDefaultAlign = blockType === null || blockType === void 0 ? void 0 : (_blockType$attributes = blockType.attributes) === null || _blockType$attributes === void 0 ? void 0 : (_blockType$attributes2 = _blockType$attributes.align) === null || _blockType$attributes2 === void 0 ? void 0 : _blockType$attributes2.default;
+
+      if (blockDefaultAlign) {
+        nextAlign = '';
+      }
+    }
+
+    props.setAttributes({
+      align: nextAlign
+    });
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/group.js
-var group = __webpack_require__("xkPd");
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, !!validAlignments.length && (0,external_wp_element_namespaceObject.createElement)(block_controls, {
+    group: "block",
+    __experimentalShareWithChildBlocks: true
+  }, (0,external_wp_element_namespaceObject.createElement)(BlockAlignmentControl, {
+    value: props.attributes.align,
+    onChange: updateAlignment,
+    controls: validAlignments
+  })), (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props));
+}, 'withToolbarControls');
+/**
+ * Override the default block element to add alignment wrapper props.
+ *
+ * @param {Function} BlockListBlock Original component.
+ *
+ * @return {Function} Wrapped component.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/row.js
-var inserter_listbox_row = __webpack_require__("HC45");
+const withDataAlign = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockListBlock => props => {
+  const {
+    name,
+    attributes
+  } = props;
+  const {
+    align
+  } = attributes;
+  const blockAllowedAlignments = getValidAlignments((0,external_wp_blocks_namespaceObject.getBlockSupport)(name, 'align'), (0,external_wp_blocks_namespaceObject.hasBlockSupport)(name, 'alignWide', true));
+  const validAlignments = useAvailableAlignments(blockAllowedAlignments); // If an alignment is not assigned, there's no need to go through the
+  // effort to validate or assign its value.

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js
+  if (align === undefined) {
+    return (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, props);
+  }

+  let wrapperProps = props.wrapperProps;

-/**
- * WordPress dependencies
- */
+  if (validAlignments.some(alignment => alignment.name === align)) {
+    wrapperProps = { ...wrapperProps,
+      'data-align': align
+    };
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, _extends({}, props, {
+    wrapperProps: wrapperProps
+  }));
+});
 /**
- * Internal dependencies
+ * Override props assigned to save component to inject alignment class name if
+ * block supports it.
+ *
+ * @param {Object} props      Additional props applied to save element.
+ * @param {Object} blockType  Block type.
+ * @param {Object} attributes Block attributes.
+ *
+ * @return {Object} Filtered props applied to save element.
  */

+function addAssignedAlign(props, blockType, attributes) {
+  const {
+    align
+  } = attributes;
+  const blockAlign = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, 'align');
+  const hasWideBlockSupport = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, 'alignWide', true); // Compute valid alignments without taking into account if
+  // the theme supports wide alignments or not.
+  // This way changing themes does not impact the block save.

+  const isAlignValid = getValidAlignments(blockAlign, hasWideBlockSupport).includes(align);

-
-function chunk(array, size) {
-  const chunks = [];
-
-  for (let i = 0, j = array.length; i < j; i += size) {
-    chunks.push(array.slice(i, i + size));
+  if (isAlignValid) {
+    props.className = classnames_default()(`align${align}`, props.className);
   }

-  return chunks;
-}
-
-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
-  }, chunk(items, 3).map((row, i) => Object(external_wp_element_["createElement"])(inserter_listbox_row["a" /* default */], {
-    key: i
-  }, row.map((item, j) => Object(external_wp_element_["createElement"])(inserter_list_item, {
-    key: item.id,
-    item: item,
-    className: Object(external_wp_blocks_["getBlockMenuDefaultClassName"])(item.id),
-    onSelect: onSelect,
-    onHover: onHover,
-    isDraggable: isDraggable,
-    isFirst: i === 0 && j === 0
-  })))), children);
+  return props;
 }
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/align/addAttribute', addAttribute);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockListBlock', 'core/editor/align/with-data-align', withDataAlign);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/editor/align/with-toolbar-controls', withToolbarControls);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.getSaveContent.extraProps', 'core/align/addAssignedAlign', addAssignedAlign);

-/* harmony default export */ var block_types_list = __webpack_exports__["a"] = (BlockTypesList);
-
-
-/***/ }),
-
-/***/ "6c9H":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("fHnH");
-/* harmony import */ var colord_plugins_names__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("abaT");
-/* harmony import */ var colord_plugins_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("7bKH");
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("gdqT");
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__);
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/lock.js
 /**
  * External dependencies
  */

-
-
 /**
  * WordPress dependencies
  */


+/**
+ * Filters registered block settings, extending attributes to include `lock`.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
+ */

+function lock_addAttribute(settings) {
+  // allow blocks to specify their own attribute definition with default values if needed.
+  if ((0,external_lodash_namespaceObject.has)(settings.attributes, ['lock', 'type'])) {
+    return settings;
+  } // Gracefully handle if settings.attributes is undefined.


-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(_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
-  // new color combination is selected and the contrast is still insufficient.
-
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(() => {
-    Object(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__["speak"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('This color combination may be hard for people to read.'));
-  }, [backgroundColor, textColor]);
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    className: "block-editor-contrast-checker"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__["Notice"], {
-    spokenMessage: null,
-    status: "warning",
-    isDismissible: false
-  }, msg));
-}
-
-function ContrastChecker(_ref2) {
-  let {
-    backgroundColor,
-    fallbackBackgroundColor,
-    fallbackTextColor,
-    fontSize,
-    // font size value in pixels
-    isLargeText,
-    textColor
-  } = _ref2;
-
-  if (!(backgroundColor || fallbackBackgroundColor) || !(textColor || fallbackTextColor)) {
-    return null;
-  }
-
-  const colordBackgroundColor = Object(colord__WEBPACK_IMPORTED_MODULE_1__[/* colord */ "a"])(backgroundColor || fallbackBackgroundColor);
-  const colordTextColor = Object(colord__WEBPACK_IMPORTED_MODULE_1__[/* colord */ "a"])(textColor || fallbackTextColor);
-  const hasTransparency = colordBackgroundColor.alpha() !== 1 || colordTextColor.alpha() !== 1;
-
-  if (hasTransparency || colordTextColor.isReadable(colordBackgroundColor, {
-    level: 'AA',
-    size: isLargeText || isLargeText !== false && fontSize >= 24 ? 'large' : 'small'
-  })) {
-    return null;
-  }
-
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(ContrastCheckerMessage, {
-    backgroundColor: backgroundColor,
-    textColor: textColor,
-    colordBackgroundColor: colordBackgroundColor,
-    colordTextColor: colordTextColor
-  });
+  settings.attributes = { ...settings.attributes,
+    lock: {
+      type: 'object'
+    }
+  };
+  return settings;
 }
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/lock/addAttribute', lock_addAttribute);

-/* harmony default export */ __webpack_exports__["a"] = (ContrastChecker);
+;// CONCATENATED MODULE: external ["wp","warning"]
+var external_wp_warning_namespaceObject = window["wp"]["warning"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/groups.js
+/**
+ * WordPress dependencies
+ */

+const InspectorControlsDefault = (0,external_wp_components_namespaceObject.createSlotFill)('InspectorControls');
+const InspectorControlsAdvanced = (0,external_wp_components_namespaceObject.createSlotFill)('InspectorAdvancedControls');
+const InspectorControlsDimensions = (0,external_wp_components_namespaceObject.createSlotFill)('InspectorControlsDimensions');
+const InspectorControlsTypography = (0,external_wp_components_namespaceObject.createSlotFill)('InspectorControlsTypography');
+const groups_groups = {
+  default: InspectorControlsDefault,
+  advanced: InspectorControlsAdvanced,
+  dimensions: InspectorControlsDimensions,
+  typography: InspectorControlsTypography
+};
+/* harmony default export */ var inspector_controls_groups = (groups_groups);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/fill.js

-/***/ "6jxZ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useFocusHandler; });
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _utils_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("OL6h");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("BhPs");
 /**
- * WordPress dependencies
+ * External dependencies
  */

-
 /**
- * Internal dependencies
+ * WordPress dependencies
  */



 /**
- * Selects the block if it receives focus.
- *
- * @param {string} clientId Block client ID.
+ * Internal dependencies
  */

-function useFocusHandler(clientId) {
-  const {
-    isBlockSelected
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useSelect"])(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]);
-  const {
-    selectBlock,
-    selectionChange
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]);
-  return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["useRefEffect"])(node => {
-    /**
-     * Marks the block as selected when focused and not already
-     * selected. This specifically handles the case where block does not
-     * set focus on its own (via `setFocus`), typically if there is no
-     * focusable input in the block.
-     *
-     * @param {FocusEvent} event Focus event.
-     */
-    function onFocus(event) {
-      // Check synchronously because a non-selected block might be
-      // getting data through `useSelect` asynchronously.
-      if (isBlockSelected(clientId)) {
-        // Potentially change selection away from rich text.
-        if (!event.target.isContentEditable) {
-          selectionChange(clientId);
-        }
-
-        return;
-      } // If an inner block is focussed, that block is resposible for
-      // setting the selected block.
-

-      if (!Object(_utils_dom__WEBPACK_IMPORTED_MODULE_2__[/* isInsideRootBlock */ "c"])(node, event.target)) {
-        return;
-      }

-      selectBlock(clientId);
-    }
+function InspectorControlsFill(_ref) {
+  var _groups$group;

-    node.addEventListener('focusin', onFocus);
-    return () => {
-      node.removeEventListener('focusin', onFocus);
-    };
-  }, [isBlockSelected, selectBlock]);
-}
+  let {
+    __experimentalGroup: group = 'default',
+    children
+  } = _ref;
+  const isDisplayed = useDisplayBlockControls();
+  const Fill = (_groups$group = inspector_controls_groups[group]) === null || _groups$group === void 0 ? void 0 : _groups$group.Fill;

+  if (!Fill) {
+    typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0;
+    return null;
+  }

-/***/ }),
+  if (!isDisplayed) {
+    return null;
+  }

-/***/ "715p":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalStyleProvider, {
+    document: document
+  }, (0,external_wp_element_namespaceObject.createElement)(Fill, null, fillProps => {
+    // Children passed to InspectorControlsFill will not have
+    // access to any React Context whose Provider is part of
+    // the InspectorControlsSlot tree. So we re-create the
+    // Provider in this subtree.
+    const value = !(0,external_lodash_namespaceObject.isEmpty)(fillProps) ? fillProps : null;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelContext.Provider, {
+      value: value
+    }, children);
+  }));
+}

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return cleanEmptyObject; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/utils.js
 /**
  * External dependencies
  */
@@ -15621,52 +10608,16 @@ function useFocusHandler(clientId) {
  */

 const cleanEmptyObject = object => {
-  if (!Object(lodash__WEBPACK_IMPORTED_MODULE_0__["isObject"])(object) || Array.isArray(object)) {
+  if (!(0,external_lodash_namespaceObject.isObject)(object) || Array.isArray(object)) {
     return object;
   }

-  const cleanedNestedObjects = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["pickBy"])(Object(lodash__WEBPACK_IMPORTED_MODULE_0__["mapValues"])(object, cleanEmptyObject), lodash__WEBPACK_IMPORTED_MODULE_0__["identity"]);
-  return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["isEmpty"])(cleanedNestedObjects) ? undefined : cleanedNestedObjects;
+  const cleanedNestedObjects = (0,external_lodash_namespaceObject.pickBy)((0,external_lodash_namespaceObject.mapValues)(object, cleanEmptyObject), external_lodash_namespaceObject.identity);
+  return (0,external_lodash_namespaceObject.isEmpty)(cleanedNestedObjects) ? undefined : cleanedNestedObjects;
 };

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-tools-panel.js

-/***/ }),
-
-/***/ "7NR9":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: external ["wp","tokenList"]
-var external_wp_tokenList_ = __webpack_require__("BLeD");
-var external_wp_tokenList_default = /*#__PURE__*/__webpack_require__.n(external_wp_tokenList_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/utils.js
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -15674,65 +10625,97 @@ var external_wp_tokenList_default = /*#__PURE__*/__webpack_require__.n(external_


 /**
- * Returns the active style from the given className.
- *
- * @param {Array}  styles    Block style variations.
- * @param {string} className Class name
- *
- * @return {Object?} The active style.
+ * Internal dependencies
  */

-function getActiveStyle(styles, className) {
-  for (const style of new external_wp_tokenList_default.a(className).values()) {
-    if (style.indexOf('is-style-') === -1) {
-      continue;
-    }

-    const potentialStyleName = style.substring(9);
-    const activeStyle = Object(external_lodash_["find"])(styles, {
-      name: potentialStyleName
-    });

-    if (activeStyle) {
-      return activeStyle;
-    }
-  }
+function BlockSupportToolsPanel(_ref) {
+  let {
+    children,
+    group,
+    label
+  } = _ref;
+  const {
+    attributes,
+    clientIds,
+    panelId
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockAttributes,
+      getMultiSelectedBlockClientIds,
+      getSelectedBlockClientId,
+      hasMultiSelection
+    } = select(store); // When we currently have a multi-selection, the value returned from
+    // `getSelectedBlockClientId()` is `null`. When a `null` value is used
+    // for the `panelId`, a `ToolsPanel` will still allow panel items to
+    // register themselves despite their panelIds not matching.

-  return Object(external_lodash_["find"])(styles, 'isDefault');
-}
-/**
- * Replaces the active style in the block's className.
- *
- * @param {string}  className   Class name.
- * @param {Object?} activeStyle The replaced style.
- * @param {Object}  newStyle    The replacing style.
- *
- * @return {string} The updated className.
- */
+    const selectedBlockClientId = getSelectedBlockClientId();

-function replaceActiveStyle(className, activeStyle, newStyle) {
-  const list = new external_wp_tokenList_default.a(className);
+    if (hasMultiSelection()) {
+      const selectedBlockClientIds = getMultiSelectedBlockClientIds();
+      const selectedBlockAttributes = selectedBlockClientIds.reduce((blockAttributes, blockId) => {
+        blockAttributes[blockId] = getBlockAttributes(blockId);
+        return blockAttributes;
+      }, {});
+      return {
+        panelId: selectedBlockClientId,
+        clientIds: selectedBlockClientIds,
+        attributes: selectedBlockAttributes
+      };
+    }

-  if (activeStyle) {
-    list.remove('is-style-' + activeStyle.name);
-  }
+    return {
+      panelId: selectedBlockClientId,
+      clientIds: [selectedBlockClientId],
+      attributes: {
+        [selectedBlockClientId]: getBlockAttributes(selectedBlockClientId)
+      }
+    };
+  }, []);
+  const {
+    updateBlockAttributes
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-  list.add('is-style-' + newStyle.name);
-  return list.value;
-}
+  const resetAll = function () {
+    let resetFilters = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+    const newAttributes = {};
+    clientIds.forEach(clientId => {
+      const {
+        style
+      } = attributes[clientId];
+      let newBlockAttributes = {
+        style
+      };
+      resetFilters.forEach(resetFilter => {
+        newBlockAttributes = { ...newBlockAttributes,
+          ...resetFilter(newBlockAttributes)
+        };
+      }); // Enforce a cleaned style object.

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js + 2 modules
-var block_preview = __webpack_require__("REKd");
+      newBlockAttributes = { ...newBlockAttributes,
+        style: cleanEmptyObject(newBlockAttributes.style)
+      };
+      newAttributes[clientId] = newBlockAttributes;
+    });
+    updateBlockAttributes(clientIds, newAttributes, true);
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanel, {
+    className: `${group}-block-support-panel`,
+    label: label,
+    resetAll: resetAll,
+    key: panelId,
+    panelId: panelId,
+    hasInnerWrapper: true,
+    shouldRenderPlaceholderItems: true // Required to maintain fills ordering.

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/index.js
+  }, children);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-slot-container.js

-/**
- * External dependencies
- */


 /**
@@ -15740,178 +10723,103 @@ var store = __webpack_require__("BhPs");
  */


+function BlockSupportSlotContainer(_ref) {
+  let {
+    Slot,
+    ...props
+  } = _ref;
+  const toolsPanelContext = (0,external_wp_element_namespaceObject.useContext)(external_wp_components_namespaceObject.__experimentalToolsPanelContext);
+  return (0,external_wp_element_namespaceObject.createElement)(Slot, _extends({}, props, {
+    fillProps: toolsPanelContext
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/slot.js



 /**
- * Internal dependencies
+ * WordPress dependencies
  */


+/**
+ * Internal dependencies
+ */


-const EMPTY_OBJECT = {};
-
-function useGenericPreviewBlock(block, type) {
-  return Object(external_wp_element_["useMemo"])(() => {
-    const example = type === null || type === void 0 ? void 0 : type.example;
-    const blockName = type === null || type === void 0 ? void 0 : type.name;

-    if (example && blockName) {
-      return Object(external_wp_blocks_["getBlockFromExample"])(blockName, {
-        attributes: example.attributes,
-        innerBlocks: example.innerBlocks
-      });
-    }

-    if (block) {
-      return Object(external_wp_blocks_["cloneBlock"])(block);
-    }
-  }, [type !== null && type !== void 0 && type.example ? block === null || block === void 0 ? void 0 : block.name : block, type]);
-}
+function InspectorControlsSlot(_ref) {
+  var _groups$group;

-function BlockStyles(_ref) {
   let {
-    clientId,
-    onSwitch = external_lodash_["noop"],
-    onHoverClassName = external_lodash_["noop"],
-    itemRole
+    __experimentalGroup: group = 'default',
+    bubblesVirtually = true,
+    label,
+    ...props
   } = _ref;
+  const Slot = (_groups$group = inspector_controls_groups[group]) === null || _groups$group === void 0 ? void 0 : _groups$group.Slot;
+  const slot = (0,external_wp_components_namespaceObject.__experimentalUseSlot)(Slot === null || Slot === void 0 ? void 0 : Slot.__unstableName);

-  const selector = select => {
-    const {
-      getBlock
-    } = select(store["a" /* store */]);
-    const block = getBlock(clientId);
-
-    if (!block) {
-      return EMPTY_OBJECT;
-    }
-
-    const blockType = Object(external_wp_blocks_["getBlockType"])(block.name);
-    const {
-      getBlockStyles
-    } = select(external_wp_blocks_["store"]);
-    return {
-      block,
-      type: blockType,
-      styles: getBlockStyles(block.name),
-      className: block.attributes.className || ''
-    };
-  };
+  if (!Slot || !slot) {
+    typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0;
+    return null;
+  }

-  const {
-    styles,
-    block,
-    type,
-    className
-  } = Object(external_wp_data_["useSelect"])(selector, [clientId]);
-  const {
-    updateBlockAttributes
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const genericPreviewBlock = useGenericPreviewBlock(block, type);
+  const hasFills = Boolean(slot.fills && slot.fills.length);

-  if (!styles || styles.length === 0) {
+  if (!hasFills) {
     return null;
   }

-  const renderedStyles = Object(external_lodash_["find"])(styles, 'isDefault') ? styles : [{
-    name: 'default',
-    label: Object(external_wp_i18n_["_x"])('Default', 'block style'),
-    isDefault: true
-  }, ...styles];
-  const activeStyle = getActiveStyle(renderedStyles, className);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-styles"
-  }, renderedStyles.map(style => {
-    var _type$example$viewpor, _type$example;
+  if (label) {
+    return (0,external_wp_element_namespaceObject.createElement)(BlockSupportToolsPanel, {
+      group: group,
+      label: label
+    }, (0,external_wp_element_namespaceObject.createElement)(BlockSupportSlotContainer, _extends({}, props, {
+      bubblesVirtually: bubblesVirtually,
+      Slot: Slot
+    })));
+  }

-    const styleClassName = replaceActiveStyle(className, activeStyle, style);
-    return Object(external_wp_element_["createElement"])(BlockStyleItem, {
-      genericPreviewBlock: genericPreviewBlock,
-      viewportWidth: (_type$example$viewpor = (_type$example = type.example) === null || _type$example === void 0 ? void 0 : _type$example.viewportWidth) !== null && _type$example$viewpor !== void 0 ? _type$example$viewpor : 500,
-      className: className,
-      isActive: activeStyle === style,
-      key: style.name,
-      onSelect: () => {
-        updateBlockAttributes(clientId, {
-          className: styleClassName
-        });
-        onHoverClassName(null);
-        onSwitch();
-      },
-      onBlur: () => onHoverClassName(null),
-      onHover: () => onHoverClassName(styleClassName),
-      style: style,
-      styleClassName: styleClassName,
-      itemRole: itemRole
-    });
+  return (0,external_wp_element_namespaceObject.createElement)(Slot, _extends({}, props, {
+    bubblesVirtually: bubblesVirtually
   }));
 }

-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,
-        className: styleClassName
-      }
-    };
-  }, [genericPreviewBlock, styleClassName]);
-  return Object(external_wp_element_["createElement"])("div", {
-    key: style.name,
-    className: classnames_default()('block-editor-block-styles__item', {
-      'is-active': isActive
-    }),
-    onClick: () => onSelect(),
-    onKeyDown: event => {
-      if (external_wp_keycodes_["ENTER"] === event.keyCode || external_wp_keycodes_["SPACE"] === event.keyCode) {
-        event.preventDefault();
-        onSelect();
-      }
-    },
-    onMouseEnter: onHover,
-    onMouseLeave: onBlur,
-    role: itemRole || 'button',
-    tabIndex: "0",
-    "aria-label": style.label || style.name
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-styles__item-preview"
-  }, Object(external_wp_element_["createElement"])(block_preview["a" /* default */], {
-    viewportWidth: viewportWidth,
-    blocks: previewBlocks
-  })), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-styles__item-label"
-  }, style.label || style.name));
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js
+
+
+
+/**
+ * Internal dependencies
+ */

-/* harmony default export */ var block_styles = __webpack_exports__["a"] = (BlockStyles);

+const InspectorControls = InspectorControlsFill;
+InspectorControls.Slot = InspectorControlsSlot; // This is just here for backward compatibility.

-/***/ }),
+const InspectorAdvancedControls = props => {
+  return (0,external_wp_element_namespaceObject.createElement)(InspectorControlsFill, _extends({}, props, {
+    __experimentalGroup: "advanced"
+  }));
+};

-/***/ "7SSY":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+InspectorAdvancedControls.Slot = props => {
+  return (0,external_wp_element_namespaceObject.createElement)(InspectorControlsSlot, _extends({}, props, {
+    __experimentalGroup: "advanced"
+  }));
+};

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("//Lo");
+InspectorAdvancedControls.slotName = 'InspectorAdvancedControls';
+/**
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inspector-controls/README.md
+ */
+
+/* harmony default export */ var inspector_controls = (InspectorControls);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/anchor.js


 /**
@@ -15926,485 +10834,517 @@ function BlockStyleItem(_ref2) {



-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"]
+/**
+ * Internal dependencies
+ */
+
+
+/**
+ * Regular expression matching invalid anchor characters for replacement.
+ *
+ * @type {RegExp}
+ */
+
+const ANCHOR_REGEX = /[\s#]/g;
+/**
+ * Filters registered block settings, extending attributes with anchor using ID
+ * of the first node.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
+ */
+
+function anchor_addAttribute(settings) {
+  // allow blocks to specify their own attribute definition with default values if needed.
+  if ((0,external_lodash_namespaceObject.has)(settings.attributes, ['anchor', 'type'])) {
+    return settings;
+  }
+
+  if ((0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, 'anchor')) {
+    // Gracefully handle if settings.attributes is undefined.
+    settings.attributes = { ...settings.attributes,
+      anchor: {
+        type: 'string',
+        source: 'attribute',
+        attribute: 'id',
+        selector: '*'
+      }
     };
   }

-  const renderedIcon = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Icon"], {
-    icon: icon && icon.src ? icon.src : icon
-  });
-  const style = showColors ? {
-    backgroundColor: icon && icon.background,
-    color: icon && icon.foreground
-  } : {};
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
-    style: style,
-    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('block-editor-block-icon', className, {
-      'has-colors': showColors
-    })
-  }, renderedIcon);
+  return settings;
 }
+/**
+ * Override the default edit UI to include a new block inspector control for
+ * assigning the anchor ID, if block supports anchor.
+ *
+ * @param {WPComponent} BlockEdit Original component.
+ *
+ * @return {WPComponent} Wrapped component.
+ */

-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["memo"])(BlockIcon));
+const withInspectorControl = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => {
+  return props => {
+    const hasAnchor = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(props.name, 'anchor');

+    if (hasAnchor && props.isSelected) {
+      const isWeb = external_wp_element_namespaceObject.Platform.OS === 'web';
+      const textControl = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+        className: "html-anchor-control",
+        label: (0,external_wp_i18n_namespaceObject.__)('HTML anchor'),
+        help: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_i18n_namespaceObject.__)('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.'), isWeb && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+          href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/page-jumps/')
+        }, (0,external_wp_i18n_namespaceObject.__)('Learn more about anchors'))),
+        value: props.attributes.anchor || '',
+        placeholder: !isWeb ? (0,external_wp_i18n_namespaceObject.__)('Add an anchor') : null,
+        onChange: nextValue => {
+          nextValue = nextValue.replace(ANCHOR_REGEX, '-');
+          props.setAttributes({
+            anchor: nextValue
+          });
+        },
+        autoCapitalize: "none",
+        autoComplete: "off"
+      });
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props), isWeb && (0,external_wp_element_namespaceObject.createElement)(inspector_controls, {
+        __experimentalGroup: "advanced"
+      }, textControl), !isWeb && props.name === 'core/heading' && (0,external_wp_element_namespaceObject.createElement)(inspector_controls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+        title: (0,external_wp_i18n_namespaceObject.__)('Heading settings')
+      }, textControl)));
+    }

-/***/ }),
+    return (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props);
+  };
+}, 'withInspectorControl');
+/**
+ * Override props assigned to save component to inject anchor ID, if block
+ * supports anchor. This is only applied if the block's save result is an
+ * element and not a markup string.
+ *
+ * @param {Object} extraProps Additional props applied to save element.
+ * @param {Object} blockType  Block type.
+ * @param {Object} attributes Current block attributes.
+ *
+ * @return {Object} Filtered props applied to save element.
+ */

-/***/ "7bKH":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
+function addSaveProps(extraProps, blockType, attributes) {
+  if ((0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, 'anchor')) {
+    extraProps.id = attributes.anchor === '' ? null : attributes.anchor;
+  }

-"use strict";
-var o=function(o){var t=o/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},t=function(t){return.2126*o(t.r)+.7152*o(t.g)+.0722*o(t.b)};/* harmony default export */ __webpack_exports__["a"] = (function(o){o.prototype.luminance=function(){return o=t(this.rgba),void 0===(r=2)&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*o)/n+0;var o,r,n},o.prototype.contrast=function(r){void 0===r&&(r="#FFF");var n,a,i,e,v,u,d,c=r instanceof o?r:new o(r);return e=this.rgba,v=c.toRgb(),u=t(e),d=t(v),n=u>d?(u+.05)/(d+.05):(d+.05)/(u+.05),void 0===(a=2)&&(a=0),void 0===i&&(i=Math.pow(10,a)),Math.floor(i*n)/i+0},o.prototype.isReadable=function(o,t){return void 0===o&&(o="#FFF"),void 0===t&&(t={}),this.contrast(o)>=(e=void 0===(i=(r=t).size)?"normal":i,"AAA"===(a=void 0===(n=r.level)?"AA":n)&&"normal"===e?7:"AA"===a&&"large"===e?3:4.5);var r,n,a,i,e}});
+  return extraProps;
+}
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/anchor/attribute', anchor_addAttribute);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/editor/anchor/with-inspector-control', withInspectorControl);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.getSaveContent.extraProps', 'core/anchor/save-props', addSaveProps);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/custom-class-name.js

-/***/ }),

-/***/ "7fqt":
-/***/ (function(module, exports) {
+/**
+ * External dependencies
+ */

-(function() { module.exports = window["wp"]["wordcount"]; }());
+/**
+ * WordPress dependencies
+ */

-/***/ }),

-/***/ "8oxB":
-/***/ (function(module, exports) {

-// shim for using process in browser
-var process = module.exports = {};

-// cached from whatever global is present so that test runners that stub it
-// don't break things.  But we need to wrap it in a try catch in case it is
-// wrapped in strict mode code which doesn't define any globals.  It's inside a
-// function because try/catches deoptimize in certain engines.

-var cachedSetTimeout;
-var cachedClearTimeout;

-function defaultSetTimout() {
-    throw new Error('setTimeout has not been defined');
-}
-function defaultClearTimeout () {
-    throw new Error('clearTimeout has not been defined');
-}
-(function () {
-    try {
-        if (typeof setTimeout === 'function') {
-            cachedSetTimeout = setTimeout;
-        } else {
-            cachedSetTimeout = defaultSetTimout;
-        }
-    } catch (e) {
-        cachedSetTimeout = defaultSetTimout;
-    }
-    try {
-        if (typeof clearTimeout === 'function') {
-            cachedClearTimeout = clearTimeout;
-        } else {
-            cachedClearTimeout = defaultClearTimeout;
-        }
-    } catch (e) {
-        cachedClearTimeout = defaultClearTimeout;
-    }
-} ())
-function runTimeout(fun) {
-    if (cachedSetTimeout === setTimeout) {
-        //normal enviroments in sane situations
-        return setTimeout(fun, 0);
-    }
-    // if setTimeout wasn't available but was latter defined
-    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
-        cachedSetTimeout = setTimeout;
-        return setTimeout(fun, 0);
-    }
-    try {
-        // when when somebody has screwed with setTimeout but no I.E. maddness
-        return cachedSetTimeout(fun, 0);
-    } catch(e){
-        try {
-            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
-            return cachedSetTimeout.call(null, fun, 0);
-        } catch(e){
-            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
-            return cachedSetTimeout.call(this, fun, 0);
-        }
-    }
+/**
+ * Internal dependencies
+ */
+
+
+/**
+ * Filters registered block settings, extending attributes with anchor using ID
+ * of the first node.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
+ */

+function custom_class_name_addAttribute(settings) {
+  if ((0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, 'customClassName', true)) {
+    // Gracefully handle if settings.attributes is undefined.
+    settings.attributes = { ...settings.attributes,
+      className: {
+        type: 'string'
+      }
+    };
+  }

+  return settings;
 }
-function runClearTimeout(marker) {
-    if (cachedClearTimeout === clearTimeout) {
-        //normal enviroments in sane situations
-        return clearTimeout(marker);
-    }
-    // if clearTimeout wasn't available but was latter defined
-    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
-        cachedClearTimeout = clearTimeout;
-        return clearTimeout(marker);
-    }
-    try {
-        // when when somebody has screwed with setTimeout but no I.E. maddness
-        return cachedClearTimeout(marker);
-    } catch (e){
-        try {
-            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
-            return cachedClearTimeout.call(null, marker);
-        } catch (e){
-            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
-            // Some versions of I.E. have different rules for clearTimeout vs setTimeout
-            return cachedClearTimeout.call(this, marker);
-        }
+/**
+ * Override the default edit UI to include a new block inspector control for
+ * assigning the custom class name, if block supports custom class name.
+ *
+ * @param {WPComponent} BlockEdit Original component.
+ *
+ * @return {WPComponent} Wrapped component.
+ */
+
+const custom_class_name_withInspectorControl = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => {
+  return props => {
+    const hasCustomClassName = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(props.name, 'customClassName', true);
+
+    if (hasCustomClassName && props.isSelected) {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props), (0,external_wp_element_namespaceObject.createElement)(inspector_controls, {
+        __experimentalGroup: "advanced"
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+        autoComplete: "off",
+        label: (0,external_wp_i18n_namespaceObject.__)('Additional CSS class(es)'),
+        value: props.attributes.className || '',
+        onChange: nextValue => {
+          props.setAttributes({
+            className: nextValue !== '' ? nextValue : undefined
+          });
+        },
+        help: (0,external_wp_i18n_namespaceObject.__)('Separate multiple classes with spaces.')
+      })));
     }

+    return (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props);
+  };
+}, 'withInspectorControl');
+/**
+ * Override props assigned to save component to inject anchor ID, if block
+ * supports anchor. This is only applied if the block's save result is an
+ * element and not a markup string.
+ *
+ * @param {Object} extraProps Additional props applied to save element.
+ * @param {Object} blockType  Block type.
+ * @param {Object} attributes Current block attributes.
+ *
+ * @return {Object} Filtered props applied to save element.
+ */

+function custom_class_name_addSaveProps(extraProps, blockType, attributes) {
+  if ((0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, 'customClassName', true) && attributes.className) {
+    extraProps.className = classnames_default()(extraProps.className, attributes.className);
+  }

+  return extraProps;
 }
-var queue = [];
-var draining = false;
-var currentQueue;
-var queueIndex = -1;
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/custom-class-name/attribute', custom_class_name_addAttribute);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/editor/custom-class-name/with-inspector-control', custom_class_name_withInspectorControl);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.getSaveContent.extraProps', 'core/custom-class-name/save-props', custom_class_name_addSaveProps);

-function cleanUpNextTick() {
-    if (!draining || !currentQueue) {
-        return;
-    }
-    draining = false;
-    if (currentQueue.length) {
-        queue = currentQueue.concat(queue);
-    } else {
-        queueIndex = -1;
-    }
-    if (queue.length) {
-        drainQueue();
-    }
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/generated-class-name.js
+/**
+ * External dependencies
+ */

-function drainQueue() {
-    if (draining) {
-        return;
-    }
-    var timeout = runTimeout(cleanUpNextTick);
-    draining = true;
+/**
+ * WordPress dependencies
+ */

-    var len = queue.length;
-    while(len) {
-        currentQueue = queue;
-        queue = [];
-        while (++queueIndex < len) {
-            if (currentQueue) {
-                currentQueue[queueIndex].run();
-            }
-        }
-        queueIndex = -1;
-        len = queue.length;
-    }
-    currentQueue = null;
-    draining = false;
-    runClearTimeout(timeout);
-}

-process.nextTick = function (fun) {
-    var args = new Array(arguments.length - 1);
-    if (arguments.length > 1) {
-        for (var i = 1; i < arguments.length; i++) {
-            args[i - 1] = arguments[i];
-        }
-    }
-    queue.push(new Item(fun, args));
-    if (queue.length === 1 && !draining) {
-        runTimeout(drainQueue);
+
+/**
+ * Override props assigned to save component to inject generated className if
+ * block supports it. This is only applied if the block's save result is an
+ * element and not a markup string.
+ *
+ * @param {Object} extraProps Additional props applied to save element.
+ * @param {Object} blockType  Block type.
+ *
+ * @return {Object} Filtered props applied to save element.
+ */
+
+function addGeneratedClassName(extraProps, blockType) {
+  // Adding the generated className
+  if ((0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, 'className', true)) {
+    if (typeof extraProps.className === 'string') {
+      // We have some extra classes and want to add the default classname
+      // We use uniq to prevent duplicate classnames
+      extraProps.className = (0,external_lodash_namespaceObject.uniq)([(0,external_wp_blocks_namespaceObject.getBlockDefaultClassName)(blockType.name), ...extraProps.className.split(' ')]).join(' ').trim();
+    } else {
+      // There is no string in the className variable,
+      // so we just dump the default name in there
+      extraProps.className = (0,external_wp_blocks_namespaceObject.getBlockDefaultClassName)(blockType.name);
     }
-};
+  }

-// v8 likes predictible objects
-function Item(fun, array) {
-    this.fun = fun;
-    this.array = array;
+  return extraProps;
 }
-Item.prototype.run = function () {
-    this.fun.apply(null, this.array);
-};
-process.title = 'browser';
-process.browser = true;
-process.env = {};
-process.argv = [];
-process.version = ''; // empty string to avoid regexp issues
-process.versions = {};
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.getSaveContent.extraProps', 'core/generated-class-name/save-props', addGeneratedClassName);

-function noop() {}
+;// CONCATENATED MODULE: external ["wp","dom"]
+var external_wp_dom_namespaceObject = window["wp"]["dom"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-context/index.js

-process.on = noop;
-process.addListener = noop;
-process.once = noop;
-process.off = noop;
-process.removeListener = noop;
-process.removeAllListeners = noop;
-process.emit = noop;
-process.prependListener = noop;
-process.prependOnceListener = noop;

-process.listeners = function (name) { return [] }
+/**
+ * WordPress dependencies
+ */

-process.binding = function (name) {
-    throw new Error('process.binding is not supported');
-};
+/** @typedef {import('react').ReactNode} ReactNode */

-process.cwd = function () { return '/' };
-process.chdir = function (dir) {
-    throw new Error('process.chdir is not supported');
-};
-process.umask = function() { return 0; };
+/**
+ * @typedef BlockContextProviderProps
+ *
+ * @property {Record<string,*>} value    Context value to merge with current
+ *                                       value.
+ * @property {ReactNode}        children Component children.
+ */

+/** @type {import('react').Context<Record<string,*>>} */

-/***/ }),
+const block_context_Context = (0,external_wp_element_namespaceObject.createContext)({});
+/**
+ * Component which merges passed value with current consumed block context.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/block-context/README.md
+ *
+ * @param {BlockContextProviderProps} props
+ */
+
+function BlockContextProvider(_ref) {
+  let {
+    value,
+    children
+  } = _ref;
+  const context = (0,external_wp_element_namespaceObject.useContext)(block_context_Context);
+  const nextValue = (0,external_wp_element_namespaceObject.useMemo)(() => ({ ...context,
+    ...value
+  }), [context, value]);
+  return (0,external_wp_element_namespaceObject.createElement)(block_context_Context.Provider, {
+    value: nextValue,
+    children: children
+  });
+}
+/* harmony default export */ var block_context = (block_context_Context);

-/***/ "9Do8":
-/***/ (function(module, exports, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/edit.js

-"use strict";


-module.exports = __webpack_require__("zt9T");
+/**
+ * External dependencies
+ */

-/***/ }),

-/***/ "9Ma0":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */
+

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ BlockMoverUpButton; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ BlockMoverDownButton; });

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+/**
+ * Default value used for blocks which do not define their own context needs,
+ * used to guarantee that a block's `context` prop will always be an object. It
+ * is assigned as a constant since it is always expected to be an empty object,
+ * and in order to avoid unnecessary React reconciliations of a changing object.
+ *
+ * @type {{}}
+ */

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+const DEFAULT_BLOCK_CONTEXT = {};
+const Edit = props => {
+  const {
+    attributes = {},
+    name
+  } = props;
+  const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(name);
+  const blockContext = (0,external_wp_element_namespaceObject.useContext)(block_context); // Assign context values using the block type's declared context needs.

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+  const context = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return blockType && blockType.usesContext ? (0,external_lodash_namespaceObject.pick)(blockContext, blockType.usesContext) : DEFAULT_BLOCK_CONTEXT;
+  }, [blockType, blockContext]);

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+  if (!blockType) {
+    return null;
+  } // `edit` and `save` are functions or components describing the markup
+  // with which a block is displayed. If `blockType` is valid, assign
+  // them preferentially as the render value for the block.

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+  const Component = blockType.edit || blockType.save;

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+  if (blockType.apiVersion > 1) {
+    return (0,external_wp_element_namespaceObject.createElement)(Component, _extends({}, props, {
+      context: context
+    }));
+  } // Generate a class name for the block's editable form

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
-var chevron_right = __webpack_require__("1iEr");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
-var chevron_left = __webpack_require__("2gm7");
+  const generatedClassName = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, 'className', true) ? (0,external_wp_blocks_namespaceObject.getBlockDefaultClassName)(name) : null;
+  const className = classnames_default()(generatedClassName, attributes.className);
+  return (0,external_wp_element_namespaceObject.createElement)(Component, _extends({}, props, {
+    context: context,
+    className: className
+  }));
+};
+/* harmony default export */ var edit = ((0,external_wp_components_namespaceObject.withFilters)('editor.BlockEdit')(Edit));

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-up.js
-var chevron_up = __webpack_require__("XgzB");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js
-var chevron_down = __webpack_require__("NWDH");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/mover-description.js
 /**
  * WordPress dependencies
  */

 /**
- * Return a label for the block movement controls depending on block position.
- *
- * @param {number}  selectedCount Number of blocks selected.
- * @param {string}  type          Block type - in the case of a single block, should
- *                                define its 'type'. I.e. 'Text', 'Heading', 'Image' etc.
- * @param {number}  firstIndex    The index (position - 1) of the first block selected.
- * @param {boolean} isFirst       This is the first block.
- * @param {boolean} isLast        This is the last block.
- * @param {number}  dir           Direction of movement (> 0 is considered to be going
- *                                down, < 0 is up).
- * @param {string}  orientation   The orientation of the block movers, vertical or
- *                                horizontal.
- *
- * @return {string} Label for the block movement controls.
+ * Internal dependencies
  */

-function getBlockMoverDescription(selectedCount, type, firstIndex, isFirst, isLast, dir, orientation) {
-  const position = firstIndex + 1;
-
-  const getMovementDirection = moveDirection => {
-    if (moveDirection === 'up') {
-      if (orientation === 'horizontal') {
-        return Object(external_wp_i18n_["isRTL"])() ? 'right' : 'left';
-      }

-      return 'up';
-    } else if (moveDirection === 'down') {
-      if (orientation === 'horizontal') {
-        return Object(external_wp_i18n_["isRTL"])() ? 'left' : 'right';
-      }

-      return 'down';
-    }

-    return null;
+function BlockEdit(props) {
+  const {
+    name,
+    isSelected,
+    clientId
+  } = props;
+  const context = {
+    name,
+    isSelected,
+    clientId
   };
+  return (0,external_wp_element_namespaceObject.createElement)(Provider // It is important to return the same object if props haven't
+  // changed to avoid  unnecessary rerenders.
+  // See https://reactjs.org/docs/context.html#caveats.
+  , {
+    value: (0,external_wp_element_namespaceObject.useMemo)(() => context, Object.values(context))
+  }, (0,external_wp_element_namespaceObject.createElement)(edit, props));
+}

-  if (selectedCount > 1) {
-    return getMultiBlockMoverDescription(selectedCount, firstIndex, isFirst, isLast, dir);
-  }
-
-  if (isFirst && isLast) {
-    return Object(external_wp_i18n_["sprintf"])( // translators: %s: Type of block (i.e. Text, Image etc)
-    Object(external_wp_i18n_["__"])('Block %s is the only block, and cannot be moved'), type);
-  }
-
-  if (dir > 0 && !isLast) {
-    // moving down
-    const movementDirection = getMovementDirection('down');
-
-    if (movementDirection === 'down') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
-      Object(external_wp_i18n_["__"])('Move %1$s block from position %2$d down to position %3$d'), type, position, position + 1);
-    }
-
-    if (movementDirection === 'left') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
-      Object(external_wp_i18n_["__"])('Move %1$s block from position %2$d left to position %3$d'), type, position, position + 1);
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more-horizontal.js

-    if (movementDirection === 'right') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
-      Object(external_wp_i18n_["__"])('Move %1$s block from position %2$d right to position %3$d'), type, position, position + 1);
-    }
-  }

-  if (dir > 0 && isLast) {
-    // moving down, and is the last item
-    const movementDirection = getMovementDirection('down');
+/**
+ * WordPress dependencies
+ */

-    if (movementDirection === 'down') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc)
-      Object(external_wp_i18n_["__"])('Block %1$s is at the end of the content and can’t be moved down'), type);
-    }
+const moreHorizontal = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"
+}));
+/* harmony default export */ var more_horizontal = (moreHorizontal);

-    if (movementDirection === 'left') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc)
-      Object(external_wp_i18n_["__"])('Block %1$s is at the end of the content and can’t be moved left'), type);
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/warning/index.js

-    if (movementDirection === 'right') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc)
-      Object(external_wp_i18n_["__"])('Block %1$s is at the end of the content and can’t be moved right'), type);
-    }
-  }

-  if (dir < 0 && !isFirst) {
-    // moving up
-    const movementDirection = getMovementDirection('up');
+/**
+ * External dependencies
+ */

-    if (movementDirection === 'up') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
-      Object(external_wp_i18n_["__"])('Move %1$s block from position %2$d up to position %3$d'), type, position, position - 1);
-    }
+/**
+ * WordPress dependencies
+ */

-    if (movementDirection === 'left') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
-      Object(external_wp_i18n_["__"])('Move %1$s block from position %2$d left to position %3$d'), type, position, position - 1);
-    }

-    if (movementDirection === 'right') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
-      Object(external_wp_i18n_["__"])('Move %1$s block from position %2$d right to position %3$d'), type, position, position - 1);
-    }
-  }

-  if (dir < 0 && isFirst) {
-    // moving up, and is the first item
-    const movementDirection = getMovementDirection('up');

-    if (movementDirection === 'up') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc)
-      Object(external_wp_i18n_["__"])('Block %1$s is at the beginning of the content and can’t be moved up'), type);
-    }

-    if (movementDirection === 'left') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc)
-      Object(external_wp_i18n_["__"])('Block %1$s is at the beginning of the content and can’t be moved left'), type);
-    }

-    if (movementDirection === 'right') {
-      return Object(external_wp_i18n_["sprintf"])( // translators: 1: Type of block (i.e. Text, Image etc)
-      Object(external_wp_i18n_["__"])('Block %1$s is at the beginning of the content and can’t be moved right'), type);
-    }
-  }
+function Warning(_ref) {
+  let {
+    className,
+    actions,
+    children,
+    secondaryActions
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()(className, 'block-editor-warning')
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-warning__contents"
+  }, (0,external_wp_element_namespaceObject.createElement)("p", {
+    className: "block-editor-warning__message"
+  }, children), (external_wp_element_namespaceObject.Children.count(actions) > 0 || secondaryActions) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-warning__actions"
+  }, external_wp_element_namespaceObject.Children.count(actions) > 0 && external_wp_element_namespaceObject.Children.map(actions, (action, i) => (0,external_wp_element_namespaceObject.createElement)("span", {
+    key: i,
+    className: "block-editor-warning__action"
+  }, action)), secondaryActions && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    className: "block-editor-warning__secondary",
+    icon: more_horizontal,
+    label: (0,external_wp_i18n_namespaceObject.__)('More options'),
+    popoverProps: {
+      position: 'bottom left',
+      className: 'block-editor-warning__dropdown'
+    },
+    noIcons: true
+  }, () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, secondaryActions.map((item, pos) => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: item.onClick,
+    key: pos
+  }, item.title)))))));
 }
 /**
- * Return a label for the block movement controls depending on block position.
- *
- * @param {number}  selectedCount Number of blocks selected.
- * @param {number}  firstIndex    The index (position - 1) of the first block selected.
- * @param {boolean} isFirst       This is the first block.
- * @param {boolean} isLast        This is the last block.
- * @param {number}  dir           Direction of movement (> 0 is considered to be going
- *                                down, < 0 is up).
- *
- * @return {string} Label for the block movement controls.
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/warning/README.md
  */

-function getMultiBlockMoverDescription(selectedCount, firstIndex, isFirst, isLast, dir) {
-  const position = firstIndex + 1;

-  if (dir < 0 && isFirst) {
-    return Object(external_wp_i18n_["__"])('Blocks cannot be moved up as they are already at the top');
-  }
+/* harmony default export */ var warning = (Warning);

-  if (dir > 0 && isLast) {
-    return Object(external_wp_i18n_["__"])('Blocks cannot be moved down as they are already at the bottom');
-  }
+// EXTERNAL MODULE: ./node_modules/diff/lib/diff/character.js
+var character = __webpack_require__(1973);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js

-  if (dir < 0 && !isFirst) {
-    return Object(external_wp_i18n_["sprintf"])( // translators: 1: Number of selected blocks, 2: Position of selected blocks
-    Object(external_wp_i18n_["_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', selectedCount), selectedCount, position);
-  }

-  if (dir > 0 && !isLast) {
-    return Object(external_wp_i18n_["sprintf"])( // translators: 1: Number of selected blocks, 2: Position of selected blocks
-    Object(external_wp_i18n_["_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', selectedCount), selectedCount, position);
-  }
-}
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/button.js

+function BlockView(_ref) {
+  let {
+    title,
+    rawContent,
+    renderedContent,
+    action,
+    actionText,
+    className
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: className
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-compare__content"
+  }, (0,external_wp_element_namespaceObject.createElement)("h2", {
+    className: "block-editor-block-compare__heading"
+  }, title), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-compare__html"
+  }, rawContent), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-compare__preview edit-post-visual-editor"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, (0,external_wp_dom_namespaceObject.safeHTML)(renderedContent)))), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-compare__action"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    tabIndex: "0",
+    onClick: action
+  }, actionText)));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/index.js


 /**
  * External dependencies
  */

+ // diff doesn't tree-shake correctly, so we import from the individual
+// module here, to avoid including too much of the library
+

 /**
  * WordPress dependencies
@@ -16412,341 +11352,239 @@ var store = __webpack_require__("BhPs");



-
-
-
-
 /**
  * Internal dependencies
  */



+function BlockCompare(_ref) {
+  let {
+    block,
+    onKeep,
+    onConvert,
+    convertor,
+    convertButtonText
+  } = _ref;

+  function getDifference(originalContent, newContent) {
+    const difference = (0,character/* diffChars */.Kx)(originalContent, newContent);
+    return difference.map((item, pos) => {
+      const classes = classnames_default()({
+        'block-editor-block-compare__added': item.added,
+        'block-editor-block-compare__removed': item.removed
+      });
+      return (0,external_wp_element_namespaceObject.createElement)("span", {
+        key: pos,
+        className: classes
+      }, item.value);
+    });
+  }

-const getArrowIcon = (direction, orientation) => {
-  if (direction === 'up') {
-    if (orientation === 'horizontal') {
-      return Object(external_wp_i18n_["isRTL"])() ? chevron_right["a" /* default */] : chevron_left["a" /* default */];
-    }
-
-    return chevron_up["a" /* default */];
-  } else if (direction === 'down') {
-    if (orientation === 'horizontal') {
-      return Object(external_wp_i18n_["isRTL"])() ? chevron_left["a" /* default */] : chevron_right["a" /* default */];
-    }
+  function getConvertedContent(convertedBlock) {
+    // The convertor may return an array of items or a single item
+    const newBlocks = (0,external_lodash_namespaceObject.castArray)(convertedBlock); // Get converted block details

-    return chevron_down["a" /* default */];
+    const newContent = newBlocks.map(item => (0,external_wp_blocks_namespaceObject.getSaveContent)(item.name, item.attributes, item.innerBlocks));
+    return newContent.join('');
   }

-  return null;
-};
+  const converted = getConvertedContent(convertor(block));
+  const difference = getDifference(block.originalContent, converted);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-compare__wrapper"
+  }, (0,external_wp_element_namespaceObject.createElement)(BlockView, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Current'),
+    className: "block-editor-block-compare__current",
+    action: onKeep,
+    actionText: (0,external_wp_i18n_namespaceObject.__)('Convert to HTML'),
+    rawContent: block.originalContent,
+    renderedContent: block.originalContent
+  }), (0,external_wp_element_namespaceObject.createElement)(BlockView, {
+    title: (0,external_wp_i18n_namespaceObject.__)('After Conversion'),
+    className: "block-editor-block-compare__converted",
+    action: onConvert,
+    actionText: convertButtonText,
+    rawContent: difference,
+    renderedContent: converted
+  }));
+}

-const getMovementDirectionLabel = (moveDirection, orientation) => {
-  if (moveDirection === 'up') {
-    if (orientation === 'horizontal') {
-      return Object(external_wp_i18n_["isRTL"])() ? Object(external_wp_i18n_["__"])('Move right') : Object(external_wp_i18n_["__"])('Move left');
-    }
+/* harmony default export */ var block_compare = (BlockCompare);

-    return Object(external_wp_i18n_["__"])('Move up');
-  } else if (moveDirection === 'down') {
-    if (orientation === 'horizontal') {
-      return Object(external_wp_i18n_["isRTL"])() ? Object(external_wp_i18n_["__"])('Move left') : Object(external_wp_i18n_["__"])('Move right');
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-invalid-warning.js

-    return Object(external_wp_i18n_["__"])('Move down');
-  }

-  return null;
-};
+/**
+ * WordPress dependencies
+ */

-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 {
-    blockType,
-    isDisabled,
-    rootClientId,
-    isFirst,
-    isLast,
-    firstIndex,
-    orientation = 'vertical'
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockIndex,
-      getBlockRootClientId,
-      getBlockOrder,
-      getBlock,
-      getBlockListSettings
-    } = select(store["a" /* store */]);
-    const normalizedClientIds = Object(external_lodash_["castArray"])(clientIds);
-    const firstClientId = Object(external_lodash_["first"])(normalizedClientIds);
-    const blockRootClientId = getBlockRootClientId(firstClientId);
-    const firstBlockIndex = getBlockIndex(firstClientId);
-    const lastBlockIndex = getBlockIndex(Object(external_lodash_["last"])(normalizedClientIds));
-    const blockOrder = getBlockOrder(blockRootClientId);
-    const block = getBlock(firstClientId);
-    const isFirstBlock = firstBlockIndex === 0;
-    const isLastBlock = lastBlockIndex === blockOrder.length - 1;
-    const {
-      orientation: blockListOrientation
-    } = getBlockListSettings(blockRootClientId) || {};
-    return {
-      blockType: block ? Object(external_wp_blocks_["getBlockType"])(block.name) : null,
-      isDisabled: direction === 'up' ? isFirstBlock : isLastBlock,
-      rootClientId: blockRootClientId,
-      firstIndex: firstBlockIndex,
-      isFirst: isFirstBlock,
-      isLast: isLastBlock,
-      orientation: moverOrientation || blockListOrientation
-    };
-  }, [clientIds, direction]);
-  const {
-    moveBlocksDown,
-    moveBlocksUp
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const moverFunction = direction === 'up' ? moveBlocksUp : moveBlocksDown;

-  const onClick = event => {
-    moverFunction(clientIds, rootClientId);

-    if (props.onClick) {
-      props.onClick(event);
-    }
-  };

-  const descriptionId = `block-editor-block-mover-button__description-${instanceId}`;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({
-    ref: ref,
-    className: classnames_default()('block-editor-block-mover-button', `is-${direction}-button`),
-    icon: getArrowIcon(direction, orientation),
-    label: getMovementDirectionLabel(direction, orientation),
-    "aria-describedby": descriptionId
-  }, props, {
-    onClick: isDisabled ? null : onClick,
-    "aria-disabled": isDisabled
-  })), Object(external_wp_element_["createElement"])("span", {
-    id: descriptionId,
-    className: "block-editor-block-mover-button__description"
-  }, getBlockMoverDescription(blocksCount, blockType && blockType.title, firstIndex, isFirst, isLast, direction === 'up' ? -1 : 1, orientation)));
-});
-const BlockMoverUpButton = Object(external_wp_element_["forwardRef"])((props, ref) => {
-  return Object(external_wp_element_["createElement"])(BlockMoverButton, Object(esm_extends["a" /* default */])({
-    direction: "up",
-    ref: ref
-  }, props));
-});
-const BlockMoverDownButton = Object(external_wp_element_["forwardRef"])((props, ref) => {
-  return Object(external_wp_element_["createElement"])(BlockMoverButton, Object(esm_extends["a" /* default */])({
-    direction: "down",
-    ref: ref
-  }, props));
-});


-/***/ }),
+/**
+ * Internal dependencies
+ */

-/***/ "9XVa":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ utils["a" /* getFontSize */]; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ utils["b" /* getFontSizeClass */]; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ utils["c" /* getFontSizeObjectByValue */]; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ font_size_picker["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ with_font_sizes; });

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/utils.js
-var utils = __webpack_require__("NMUH");
+function BlockInvalidWarning(_ref) {
+  let {
+    convertToHTML,
+    convertToBlocks,
+    convertToClassic,
+    attemptBlockRecovery,
+    block
+  } = _ref;
+  const hasHTMLBlock = !!(0,external_wp_blocks_namespaceObject.getBlockType)('core/html');
+  const [compare, setCompare] = (0,external_wp_element_namespaceObject.useState)(false);
+  const onCompare = (0,external_wp_element_namespaceObject.useCallback)(() => setCompare(true), []);
+  const onCompareClose = (0,external_wp_element_namespaceObject.useCallback)(() => setCompare(false), []); // We memo the array here to prevent the children components from being updated unexpectedly
+
+  const hiddenActions = (0,external_wp_element_namespaceObject.useMemo)(() => [{
+    // translators: Button to fix block content
+    title: (0,external_wp_i18n_namespaceObject._x)('Resolve', 'imperative verb'),
+    onClick: onCompare
+  }, hasHTMLBlock && {
+    title: (0,external_wp_i18n_namespaceObject.__)('Convert to HTML'),
+    onClick: convertToHTML
+  }, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Convert to Classic Block'),
+    onClick: convertToClassic
+  }].filter(Boolean), [onCompare, convertToHTML, convertToClassic]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(warning, {
+    actions: [(0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      key: "recover",
+      onClick: attemptBlockRecovery,
+      variant: "primary"
+    }, (0,external_wp_i18n_namespaceObject.__)('Attempt Block Recovery'))],
+    secondaryActions: hiddenActions
+  }, (0,external_wp_i18n_namespaceObject.__)('This block contains unexpected or invalid content.')), compare && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    title: // translators: Dialog title to fix block content
+    (0,external_wp_i18n_namespaceObject.__)('Resolve Block'),
+    onRequestClose: onCompareClose,
+    className: "block-editor-block-compare"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_compare, {
+    block: block,
+    onKeep: convertToHTML,
+    onConvert: convertToBlocks,
+    convertor: blockToBlocks,
+    convertButtonText: (0,external_wp_i18n_namespaceObject.__)('Convert to Blocks')
+  })));
+}
+
+const blockToClassic = block => (0,external_wp_blocks_namespaceObject.createBlock)('core/freeform', {
+  content: block.originalContent
+});

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/font-size-picker.js
-var font_size_picker = __webpack_require__("QP/w");
+const blockToHTML = block => (0,external_wp_blocks_namespaceObject.createBlock)('core/html', {
+  content: block.originalContent
+});

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+const blockToBlocks = block => (0,external_wp_blocks_namespaceObject.rawHandler)({
+  HTML: block.originalContent
+});

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+const recoverBlock = _ref2 => {
+  let {
+    name,
+    attributes,
+    innerBlocks
+  } = _ref2;
+  return (0,external_wp_blocks_namespaceObject.createBlock)(name, attributes, innerBlocks);
+};

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+/* harmony default export */ var block_invalid_warning = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)((select, _ref3) => {
+  let {
+    clientId
+  } = _ref3;
+  return {
+    block: select(store).getBlock(clientId)
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref4) => {
+  let {
+    block
+  } = _ref4;
+  const {
+    replaceBlock
+  } = dispatch(store);
+  return {
+    convertToClassic() {
+      replaceBlock(block.clientId, blockToClassic(block));
+    },

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+    convertToHTML() {
+      replaceBlock(block.clientId, blockToHTML(block));
+    },

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-setting/index.js
-var use_setting = __webpack_require__("v5LD");
+    convertToBlocks() {
+      replaceBlock(block.clientId, blockToBlocks(block));
+    },

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/with-font-sizes.js
+    attemptBlockRecovery() {
+      replaceBlock(block.clientId, recoverBlock(block));
+    }

+  };
+})])(BlockInvalidWarning));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-warning.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */

-
-
 /**
  * Internal dependencies
  */


+const block_crash_warning_warning = (0,external_wp_element_namespaceObject.createElement)(warning, {
+  className: "block-editor-block-list__block-crash-warning"
+}, (0,external_wp_i18n_namespaceObject.__)('This block has encountered an error and cannot be previewed.'));
+/* harmony default export */ var block_crash_warning = (() => block_crash_warning_warning);

-const DEFAULT_FONT_SIZES = [];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-boundary.js
 /**
- * Higher-order component, which handles font size logic for class generation,
- * font size value retrieval, and font size change handling.
- *
- * @param {...(Object|string)} fontSizeNames The arguments should all be strings.
- *                                           Each string contains the font size
- *                                           attribute name e.g: 'fontSize'.
- *
- * @return {Function} Higher-order component.
+ * WordPress dependencies
  */

-/* 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.
-   * Custom font size is automatically compted by appending custom followed by the font size attribute name in with the first letter capitalized.
-   */
-  const fontSizeAttributeNames = Object(external_lodash_["reduce"])(fontSizeNames, (fontSizeAttributeNamesAccumulator, fontSizeAttributeName) => {
-    fontSizeAttributeNamesAccumulator[fontSizeAttributeName] = `custom${Object(external_lodash_["upperFirst"])(fontSizeAttributeName)}`;
-    return fontSizeAttributeNamesAccumulator;
-  }, {});
-  return Object(external_wp_compose_["createHigherOrderComponent"])(Object(external_wp_compose_["compose"])([Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => props => {
-    const fontSizes = Object(use_setting["a" /* default */])('typography.fontSizes') || DEFAULT_FONT_SIZES;
-    return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, {
-      fontSizes: fontSizes
-    }));
-  }, 'withFontSizes'), WrappedComponent => {
-    return class extends external_wp_element_["Component"] {
-      constructor(props) {
-        super(props);
-        this.setters = this.createSetters();
-        this.state = {};
-      }
-
-      createSetters() {
-        return Object(external_lodash_["reduce"])(fontSizeAttributeNames, (settersAccumulator, customFontSizeAttributeName, fontSizeAttributeName) => {
-          const upperFirstFontSizeAttributeName = Object(external_lodash_["upperFirst"])(fontSizeAttributeName);
-          settersAccumulator[`set${upperFirstFontSizeAttributeName}`] = this.createSetFontSize(fontSizeAttributeName, customFontSizeAttributeName);
-          return settersAccumulator;
-        }, {});
-      }
-
-      createSetFontSize(fontSizeAttributeName, customFontSizeAttributeName) {
-        return fontSizeValue => {
-          const fontSizeObject = Object(external_lodash_["find"])(this.props.fontSizes, {
-            size: Number(fontSizeValue)
-          });
-          this.props.setAttributes({
-            [fontSizeAttributeName]: fontSizeObject && fontSizeObject.slug ? fontSizeObject.slug : undefined,
-            [customFontSizeAttributeName]: fontSizeObject && fontSizeObject.slug ? undefined : fontSizeValue
-          });
-        };
-      }
-
-      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
-            if (attributes[fontSizeAttributeName]) {
-              return attributes[fontSizeAttributeName] !== previousState[fontSizeAttributeName].slug;
-            } // if font size is not named, update when the font size value changes.
-
-
-            return previousState[fontSizeAttributeName].size !== attributes[customFontSizeAttributeName];
-          } // in this case we need to build the font size object
-
-
-          return true;
-        };
-
-        if (!Object(external_lodash_["some"])(fontSizeAttributeNames, didAttributesChange)) {
-          return null;
-        }
-
-        const newState = Object(external_lodash_["reduce"])(Object(external_lodash_["pickBy"])(fontSizeAttributeNames, didAttributesChange), (newStateAccumulator, customFontSizeAttributeName, fontSizeAttributeName) => {
-          const fontSizeAttributeValue = attributes[fontSizeAttributeName];
-          const fontSizeObject = Object(utils["a" /* getFontSize */])(fontSizes, fontSizeAttributeValue, attributes[customFontSizeAttributeName]);
-          newStateAccumulator[fontSizeAttributeName] = { ...fontSizeObject,
-            class: Object(utils["b" /* getFontSizeClass */])(fontSizeAttributeValue)
-          };
-          return newStateAccumulator;
-        }, {});
-        return { ...previousState,
-          ...newState
-        };
-      }
-
-      render() {
-        return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, this.props, {
-          fontSizes: undefined
-        }, this.state, this.setters));
-      }

+class BlockCrashBoundary extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.state = {
+      hasError: false
     };
-  }]), 'withFontSizes');
-});
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/index.js
-
-
-
+  }

+  componentDidCatch() {
+    this.setState({
+      hasError: true
+    });
+  }

-/***/ }),
+  render() {
+    if (this.state.hasError) {
+      return this.props.fallback;
+    }

-/***/ "AHN3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    return this.props.children;
+  }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return STORE_NAME; });
-const STORE_NAME = 'core/block-editor';
+}

+/* harmony default export */ var block_crash_boundary = (BlockCrashBoundary);

-/***/ }),
+// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js
+var lib = __webpack_require__(773);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js

-/***/ "AORF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("gdqT");
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("BhPs");
 /**
  * External dependencies
  */
@@ -16758,7270 +11596,6122 @@ const STORE_NAME = 'core/block-editor';



-
-
 /**
  * Internal dependencies
  */


-/**
- * @typedef WPInserterConfig
- *
- * @property {string=}   rootClientId   If set, insertion will be into the
- *                                      block with this ID.
- * @property {number=}   insertionIndex If set, insertion will be into this
- *                                      explicit position.
- * @property {string=}   clientId       If set, insertion will be after the
- *                                      block with this ID.
- * @property {boolean=}  isAppender     Whether the inserter is an appender
- *                                      or not.
- * @property {Function=} onSelect       Called after insertion.
- */
-
-/**
- * Returns the insertion point state given the inserter config.
- *
- * @param {WPInserterConfig} config Inserter Config.
- * @return {Array} Insertion Point State (rootClientID, onInsertBlocks and onToggle).
- */

-function useInsertionPoint(_ref) {
+function BlockHTML(_ref) {
   let {
-    rootClientId = '',
-    insertionIndex,
-    clientId,
-    isAppender,
-    onSelect,
-    shouldFocusBlock = true
+    clientId
   } = _ref;
+  const [html, setHtml] = (0,external_wp_element_namespaceObject.useState)('');
+  const block = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getBlock(clientId), [clientId]);
   const {
-    getSelectedBlock
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(_store__WEBPACK_IMPORTED_MODULE_6__[/* store */ "a"]);
-  const {
-    destinationRootClientId,
-    destinationIndex
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(select => {
-    const {
-      getSelectedBlockClientId,
-      getBlockRootClientId,
-      getBlockIndex,
-      getBlockOrder
-    } = select(_store__WEBPACK_IMPORTED_MODULE_6__[/* store */ "a"]);
-    const selectedBlockClientId = getSelectedBlockClientId();
-    let _destinationRootClientId = rootClientId;
+    updateBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-    let _destinationIndex;
+  const onChange = () => {
+    const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(block.name);

-    if (insertionIndex !== undefined) {
-      // Insert into a specific index.
-      _destinationIndex = insertionIndex;
-    } else if (clientId) {
-      // Insert after a specific client ID.
-      _destinationIndex = getBlockIndex(clientId);
-    } else if (!isAppender && selectedBlockClientId) {
-      _destinationRootClientId = getBlockRootClientId(selectedBlockClientId);
-      _destinationIndex = getBlockIndex(selectedBlockClientId) + 1;
-    } else {
-      // Insert at the end of the list.
-      _destinationIndex = getBlockOrder(_destinationRootClientId).length;
+    if (!blockType) {
+      return;
     }

-    return {
-      destinationRootClientId: _destinationRootClientId,
-      destinationIndex: _destinationIndex
-    };
-  }, [rootClientId, insertionIndex, clientId, isAppender]);
-  const {
-    replaceBlocks,
-    insertBlocks,
-    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"])(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)) {
-      replaceBlocks(selectedBlock.clientId, blocks, null, shouldFocusBlock || shouldForceFocusBlock ? 0 : null, meta);
-    } else {
-      insertBlocks(blocks, destinationIndex, destinationRootClientId, true, shouldFocusBlock || shouldForceFocusBlock ? 0 : null, meta);
-    }
+    const attributes = (0,external_wp_blocks_namespaceObject.getBlockAttributes)(blockType, html, block.attributes); // If html is empty  we reset the block to the default HTML and mark it as valid to avoid triggering an error

-    const message = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["sprintf"])( // translators: %d: the name of the block that has been added
-    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["_n"])('%d block added.', '%d blocks added.', Object(lodash__WEBPACK_IMPORTED_MODULE_0__["castArray"])(blocks).length), Object(lodash__WEBPACK_IMPORTED_MODULE_0__["castArray"])(blocks).length);
-    Object(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_4__["speak"])(message);
+    const content = html ? html : (0,external_wp_blocks_namespaceObject.getSaveContent)(blockType, attributes);
+    const isValid = html ? (0,external_wp_blocks_namespaceObject.isValidBlockContent)(blockType, attributes, content) : true;
+    updateBlock(clientId, {
+      attributes,
+      originalContent: content,
+      isValid
+    }); // Ensure the state is updated if we reset so it displays the default content

-    if (onSelect) {
-      onSelect();
-    }
-  }, [isAppender, getSelectedBlock, replaceBlocks, insertBlocks, destinationRootClientId, destinationIndex, onSelect, shouldFocusBlock]);
-  const onToggleInsertionPoint = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_5__["useCallback"])(show => {
-    if (show) {
-      showInsertionPoint(destinationRootClientId, destinationIndex);
-    } else {
-      hideInsertionPoint();
+    if (!html) {
+      setHtml({
+        content
+      });
     }
-  }, [showInsertionPoint, hideInsertionPoint, destinationRootClientId, destinationIndex]);
-  return [destinationRootClientId, onInsertBlocks, onToggleInsertionPoint];
+  };
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    setHtml((0,external_wp_blocks_namespaceObject.getBlockContent)(block));
+  }, [block]);
+  return (0,external_wp_element_namespaceObject.createElement)(lib/* default */.Z, {
+    className: "block-editor-block-list__block-html-textarea",
+    value: html,
+    onBlur: onChange,
+    onChange: event => setHtml(event.target.value)
+  });
 }

-/* harmony default export */ __webpack_exports__["a"] = (useInsertionPoint);
+/* harmony default export */ var block_html = (BlockHTML);
+
+;// CONCATENATED MODULE: ./node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.js
+let updateQueue = makeQueue();
+const raf = fn => schedule(fn, updateQueue);
+let writeQueue = makeQueue();
+
+raf.write = fn => schedule(fn, writeQueue);

+let onStartQueue = makeQueue();

-/***/ }),
+raf.onStart = fn => schedule(fn, onStartQueue);

-/***/ "B9Az":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+let onFrameQueue = makeQueue();

-"use strict";
+raf.onFrame = fn => schedule(fn, onFrameQueue);

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+let onFinishQueue = makeQueue();

-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+raf.onFinish = fn => schedule(fn, onFinishQueue);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js
+let timeouts = [];

+raf.setTimeout = (handler, ms) => {
+  let time = raf.now() + ms;

-/**
- * WordPress dependencies
- */
+  let cancel = () => {
+    let i = timeouts.findIndex(t => t.cancel == cancel);
+    if (~i) timeouts.splice(i, 1);
+    pendingCount -= ~i ? 1 : 0;
+  };

-const pencil = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var library_pencil = (pencil);
+  let timeout = {
+    time,
+    handler,
+    cancel
+  };
+  timeouts.splice(findTimeout(time), 0, timeout);
+  pendingCount += 1;
+  start();
+  return timeout;
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
-/**
- * Internal dependencies
- */
+let findTimeout = time => ~(~timeouts.findIndex(t => t.time > time) || ~timeouts.length);
+
+raf.cancel = fn => {
+  onStartQueue.delete(fn);
+  onFrameQueue.delete(fn);
+  updateQueue.delete(fn);
+  writeQueue.delete(fn);
+  onFinishQueue.delete(fn);
+};
+
+raf.sync = fn => {
+  sync = true;
+  raf.batchedUpdates(fn);
+  sync = false;
+};
+
+raf.throttle = fn => {
+  let lastArgs;
+
+  function queuedFn() {
+    try {
+      fn(...lastArgs);
+    } finally {
+      lastArgs = null;
+    }
+  }
+
+  function throttled(...args) {
+    lastArgs = args;
+    raf.onStart(queuedFn);
+  }

-/* harmony default export */ var edit = __webpack_exports__["a"] = (library_pencil);
+  throttled.handler = fn;

+  throttled.cancel = () => {
+    onStartQueue.delete(queuedFn);
+    lastArgs = null;
+  };

-/***/ }),
+  return throttled;
+};

-/***/ "BCrt":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+let nativeRaf = typeof window != 'undefined' ? window.requestAnimationFrame : () => {};

-"use strict";
+raf.use = impl => nativeRaf = impl;

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ transform_styles["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ validateThemeColors; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ validateThemeGradients; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ block_variation_transforms["a" /* __experimentalGetMatchingVariation */]; });
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ parse_css_unit_to_px; });
+raf.now = typeof performance != 'undefined' ? () => performance.now() : Date.now;

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/index.js + 8 modules
-var transform_styles = __webpack_require__("vSu0");
+raf.batchedUpdates = fn => fn();

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/defaults.js
-var defaults = __webpack_require__("lJLt");
+raf.catch = console.error;
+raf.frameLoop = 'always';

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/theme.js
-/**
- * Internal dependencies
- */
+raf.advance = () => {
+  if (raf.frameLoop !== 'demand') {
+    console.warn('Cannot call the manual advancement of rafz whilst frameLoop is not set as demand');
+  } else {
+    update();
+  }
+};

-/**
- * Given an array of theme colors checks colors for validity
- *
- * @param {Array} colors The array of theme colors
- *
- * @return {Array} The array of valid theme colors or the default colors
- */
+let ts = -1;
+let pendingCount = 0;
+let sync = false;

-function validateThemeColors(colors) {
-  if (colors === undefined) {
-    colors = defaults["b" /* SETTINGS_DEFAULTS */].colors;
+function schedule(fn, queue) {
+  if (sync) {
+    queue.delete(fn);
+    fn(0);
   } else {
-    const validColors = colors.filter(c => c.color);
-
-    if (validColors.length === 0) {
-      colors = defaults["b" /* SETTINGS_DEFAULTS */].colors;
-    } else if (validColors.length < colors.length) {
-      // Filter out invalid colors
-      colors = validColors;
-    }
+    queue.add(fn);
+    start();
   }
-
-  return colors;
 }
-/**
- * Given an array of theme gradients checks gradients for validity
- *
- * @param {Array} gradients The array of theme gradients
- *
- * @return {Array} The array of valid theme gradients or the default gradients
- */

-function validateThemeGradients(gradients) {
-  if (gradients === undefined) {
-    gradients = defaults["b" /* SETTINGS_DEFAULTS */].gradients;
-  } else {
-    const validGradients = gradients.filter(c => c.gradient);
+function start() {
+  if (ts < 0) {
+    ts = 0;

-    if (validGradients.length === 0) {
-      gradients = defaults["b" /* SETTINGS_DEFAULTS */].gradients;
-    } else if (validGradients.length < gradients.length) {
-      // Filter out invalid gradients
-      gradients = validGradients;
+    if (raf.frameLoop !== 'demand') {
+      nativeRaf(loop);
     }
   }
+}

-  return gradients;
+function stop() {
+  ts = -1;
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/block-variation-transforms.js
-var block_variation_transforms = __webpack_require__("Btt3");
+function loop() {
+  if (~ts) {
+    nativeRaf(loop);
+    raf.batchedUpdates(update);
+  }
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/parse-css-unit-to-px.js
-/**
- * Converts string to object { value, unit }.
- *
- * @param {string} cssUnit
- * @return {Object} parsedUnit
- */
-function parseUnit(cssUnit) {
-  const match = cssUnit === null || cssUnit === void 0 ? void 0 : cssUnit.trim().match(/^(0?[-.]?\d+)(r?e[m|x]|v[h|w|min|max]+|p[x|t|c]|[c|m]m|%|in|ch|Q|lh)$/);
+function update() {
+  let prevTs = ts;
+  ts = raf.now();
+  let count = findTimeout(ts);

-  if (!isNaN(cssUnit) && !isNaN(parseFloat(cssUnit))) {
-    return {
-      value: parseFloat(cssUnit),
-      unit: 'px'
-    };
+  if (count) {
+    eachSafely(timeouts.splice(0, count), t => t.handler());
+    pendingCount -= count;
   }

-  return match ? {
-    value: parseFloat(match[1]) || match[1],
-    unit: match[2]
-  } : {
-    value: cssUnit,
-    unit: undefined
-  };
+  onStartQueue.flush();
+  updateQueue.flush(prevTs ? Math.min(64, ts - prevTs) : 16.667);
+  onFrameQueue.flush();
+  writeQueue.flush();
+  onFinishQueue.flush();
+
+  if (!pendingCount) {
+    stop();
+  }
 }
-/**
- * Evaluate a math expression.
- *
- * @param {string} expression
- * @return {number} evaluated expression.
- */

+function makeQueue() {
+  let next = new Set();
+  let current = next;
+  return {
+    add(fn) {
+      pendingCount += current == next && !next.has(fn) ? 1 : 0;
+      next.add(fn);
+    },
+
+    delete(fn) {
+      pendingCount -= current == next && next.has(fn) ? 1 : 0;
+      return next.delete(fn);
+    },

-function calculate(expression) {
-  return Function(`'use strict'; return (${expression})`)();
+    flush(arg) {
+      if (current.size) {
+        next = new Set();
+        pendingCount -= current.size;
+        eachSafely(current, fn => fn(arg) && next.add(fn));
+        pendingCount += next.size;
+        current = next;
+      }
+    }
+
+  };
 }
-/**
- * Calculates the css function value for the supported css functions such as max, min, clamp and calc.
- *
- * @param {string} functionUnitValue string should be in a particular format (for example min(12px,12px) ) no nested loops.
- * @param {Object} options
- * @return {string} unit containing the unit in PX.
- */

+function eachSafely(values, each) {
+  values.forEach(value => {
+    try {
+      each(value);
+    } catch (e) {
+      raf.catch(e);
+    }
+  });
+}

-function getFunctionUnitValue(functionUnitValue, options) {
-  const functionUnit = functionUnitValue.split(/[(),]/g).filter(Boolean);
-  const units = functionUnit.slice(1).map(unit => parseUnit(getPxFromCssUnit(unit, options)).value).filter(Boolean);
+const __raf = {
+  count() {
+    return pendingCount;
+  },

-  switch (functionUnit[0]) {
-    case 'min':
-      return Math.min(...units) + 'px';
+  isRunning() {
+    return ts >= 0;
+  },

-    case 'max':
-      return Math.max(...units) + 'px';
+  clear() {
+    ts = -1;
+    timeouts = [];
+    onStartQueue = makeQueue();
+    updateQueue = makeQueue();
+    onFrameQueue = makeQueue();
+    writeQueue = makeQueue();
+    onFinishQueue = makeQueue();
+    pendingCount = 0;
+  }

-    case 'clamp':
-      if (units.length !== 3) {
-        return null;
-      }
+};

-      if (units[1] < units[0]) {
-        return units[0] + 'px';
-      }

-      if (units[1] > units[2]) {
-        return units[2] + 'px';
-      }

-      return units[1] + 'px';
+// EXTERNAL MODULE: external "React"
+var external_React_ = __webpack_require__(9196);
+var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
+;// CONCATENATED MODULE: ./node_modules/@react-spring/shared/dist/react-spring-shared.esm.js

-    case 'calc':
-      return units[0] + 'px';
-  }
-}
-/**
- * Take a css function such as min, max, calc, clamp and returns parsedUnit
- *
- * How this works for the nested function is that it first replaces the inner function call.
- * Then it tackles the outer onces.
- * So for example: min( max(25px, 35px), 40px )
- * in the first pass we would replace max(25px, 35px) with 35px.
- * then we would try to evaluate min( 35px, 40px )
- * and then finally return 35px.
- *
- * @param {string} cssUnit
- * @return {Object} parsedUnit object.
- */


-function parseUnitFunction(cssUnit) {
-  while (true) {
-    const currentCssUnit = cssUnit;
-    const regExp = /(max|min|calc|clamp)\(([^()]*)\)/g;
-    const matches = regExp.exec(cssUnit) || [];

-    if (matches[0]) {
-      const functionUnitValue = getFunctionUnitValue(matches[0]);
-      cssUnit = cssUnit.replace(matches[0], functionUnitValue);
-    } // if the unit hasn't been modified or we have a single value break free.

+function noop() {}
+const defineHidden = (obj, key, value) => Object.defineProperty(obj, key, {
+  value,
+  writable: true,
+  configurable: true
+});
+const react_spring_shared_esm_is = {
+  arr: Array.isArray,
+  obj: a => !!a && a.constructor.name === 'Object',
+  fun: a => typeof a === 'function',
+  str: a => typeof a === 'string',
+  num: a => typeof a === 'number',
+  und: a => a === undefined
+};
+function isEqual(a, b) {
+  if (react_spring_shared_esm_is.arr(a)) {
+    if (!react_spring_shared_esm_is.arr(b) || a.length !== b.length) return false;

-    if (cssUnit === currentCssUnit || parseFloat(cssUnit)) {
-      break;
+    for (let i = 0; i < a.length; i++) {
+      if (a[i] !== b[i]) return false;
     }
+
+    return true;
   }

-  return parseUnit(cssUnit);
+  return a === b;
 }
-/**
- * Return true if we think this is a math expression.
- *
- * @param {string} cssUnit the cssUnit value being evaluted.
- * @return {boolean} Whether the cssUnit is a math expression.
- */
+const react_spring_shared_esm_each = (obj, fn) => obj.forEach(fn);
+function eachProp(obj, fn, ctx) {
+  if (react_spring_shared_esm_is.arr(obj)) {
+    for (let i = 0; i < obj.length; i++) {
+      fn.call(ctx, obj[i], `${i}`);
+    }

+    return;
+  }

-function isMathExpression(cssUnit) {
-  for (let i = 0; i < cssUnit.length; i++) {
-    if (['+', '-', '/', '*'].includes(cssUnit[i])) {
-      return true;
+  for (const key in obj) {
+    if (obj.hasOwnProperty(key)) {
+      fn.call(ctx, obj[key], key);
     }
   }
-
-  return false;
 }
-/**
- * Evaluates the math expression and return a px value.
- *
- * @param {string} cssUnit the cssUnit value being evaluted.
- * @return {string} return a converfted value to px.
- */
+const react_spring_shared_esm_toArray = a => react_spring_shared_esm_is.und(a) ? [] : react_spring_shared_esm_is.arr(a) ? a : [a];
+function flush(queue, iterator) {
+  if (queue.size) {
+    const items = Array.from(queue);
+    queue.clear();
+    react_spring_shared_esm_each(items, iterator);
+  }
+}
+const flushCalls = (queue, ...args) => flush(queue, fn => fn(...args));
+const isSSR = () => typeof window === 'undefined' || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent);

+let createStringInterpolator$1;
+let to;
+let colors$1 = null;
+let skipAnimation = false;
+let willAdvance = noop;
+const react_spring_shared_esm_assign = globals => {
+  if (globals.to) to = globals.to;
+  if (globals.now) raf.now = globals.now;
+  if (globals.colors !== undefined) colors$1 = globals.colors;
+  if (globals.skipAnimation != null) skipAnimation = globals.skipAnimation;
+  if (globals.createStringInterpolator) createStringInterpolator$1 = globals.createStringInterpolator;
+  if (globals.requestAnimationFrame) raf.use(globals.requestAnimationFrame);
+  if (globals.batchedUpdates) raf.batchedUpdates = globals.batchedUpdates;
+  if (globals.willAdvance) willAdvance = globals.willAdvance;
+  if (globals.frameLoop) raf.frameLoop = globals.frameLoop;
+};

-function evalMathExpression(cssUnit) {
-  let errorFound = false; // Convert every part of the expression to px values.
+var globals = /*#__PURE__*/Object.freeze({
+  __proto__: null,
+  get createStringInterpolator () { return createStringInterpolator$1; },
+  get to () { return to; },
+  get colors () { return colors$1; },
+  get skipAnimation () { return skipAnimation; },
+  get willAdvance () { return willAdvance; },
+  assign: react_spring_shared_esm_assign
+});

-  const cssUnitsBits = cssUnit.split(/[+-/*/]/g).filter(Boolean);
+const startQueue = new Set();
+let currentFrame = [];
+let prevFrame = [];
+let priority = 0;
+const frameLoop = {
+  get idle() {
+    return !startQueue.size && !currentFrame.length;
+  },

-  for (const unit of cssUnitsBits) {
-    // Standardize the unit to px and extract the value.
-    const parsedUnit = parseUnit(getPxFromCssUnit(unit));
+  start(animation) {
+    if (priority > animation.priority) {
+      startQueue.add(animation);
+      raf.onStart(flushStartQueue);
+    } else {
+      startSafely(animation);
+      raf(advance);
+    }
+  },

-    if (!parseFloat(parsedUnit.value)) {
-      errorFound = true; // end early since we are dealing with a null value.
+  advance,

-      break;
+  sort(animation) {
+    if (priority) {
+      raf.onFrame(() => frameLoop.sort(animation));
+    } else {
+      const prevIndex = currentFrame.indexOf(animation);
+
+      if (~prevIndex) {
+        currentFrame.splice(prevIndex, 1);
+        startUnsafely(animation);
+      }
     }
+  },

-    cssUnit = cssUnit.replace(unit, parsedUnit.value);
+  clear() {
+    currentFrame = [];
+    startQueue.clear();
   }

-  return errorFound ? null : calculate(cssUnit).toFixed(0) + 'px';
+};
+
+function flushStartQueue() {
+  startQueue.forEach(startSafely);
+  startQueue.clear();
+  raf(advance);
 }
-/**
- * Convert a parsedUnit object to px value.
- *
- * @param {Object} parsedUnit
- * @param {Object} options
- * @return {string} or {null} returns the converted with in a px value format.
- */

+function startSafely(animation) {
+  if (!currentFrame.includes(animation)) startUnsafely(animation);
+}

-function convertParsedUnitToPx(parsedUnit, options) {
-  const PIXELS_PER_INCH = 96;
-  const ONE_PERCENT = 0.01;
-  const defaultProperties = {
-    fontSize: 16,
-    lineHeight: 16,
-    width: 375,
-    height: 812,
-    type: 'font'
-  };
-  const setOptions = Object.assign({}, defaultProperties, options);
-  const relativeUnits = {
-    em: setOptions.fontSize,
-    rem: setOptions.fontSize,
-    vh: setOptions.height * ONE_PERCENT,
-    vw: setOptions.width * ONE_PERCENT,
-    vmin: (setOptions.width < setOptions.height ? setOptions.width : setOptions.height) * ONE_PERCENT,
-    vmax: (setOptions.width > setOptions.height ? setOptions.width : setOptions.height) * ONE_PERCENT,
-    '%': (setOptions.type === 'font' ? setOptions.fontSize : setOptions.width) * ONE_PERCENT,
-    ch: 8,
-    // The advance measure (width) of the glyph "0" of the element's font. Approximate
-    ex: 7.15625,
-    // x-height of the element's font. Approximate
-    lh: setOptions.lineHeight
-  };
-  const absoluteUnits = {
-    in: PIXELS_PER_INCH,
-    cm: PIXELS_PER_INCH / 2.54,
-    mm: PIXELS_PER_INCH / 25.4,
-    pt: PIXELS_PER_INCH / 72,
-    pc: PIXELS_PER_INCH / 6,
-    px: 1,
-    Q: PIXELS_PER_INCH / 2.54 / 40
-  };
+function startUnsafely(animation) {
+  currentFrame.splice(findIndex(currentFrame, other => other.priority > animation.priority), 0, animation);
+}

-  if (relativeUnits[parsedUnit.unit]) {
-    return (relativeUnits[parsedUnit.unit] * parsedUnit.value).toFixed(0) + 'px';
+function advance(dt) {
+  const nextFrame = prevFrame;
+
+  for (let i = 0; i < currentFrame.length; i++) {
+    const animation = currentFrame[i];
+    priority = animation.priority;
+
+    if (!animation.idle) {
+      willAdvance(animation);
+      animation.advance(dt);
+
+      if (!animation.idle) {
+        nextFrame.push(animation);
+      }
+    }
   }

-  if (absoluteUnits[parsedUnit.unit]) {
-    return (absoluteUnits[parsedUnit.unit] * parsedUnit.value).toFixed(0) + 'px';
-  }
+  priority = 0;
+  prevFrame = currentFrame;
+  prevFrame.length = 0;
+  currentFrame = nextFrame;
+  return currentFrame.length > 0;
+}
+
+function findIndex(arr, test) {
+  const index = arr.findIndex(test);
+  return index < 0 ? arr.length : index;
+}
+
+const colors = {
+  transparent: 0x00000000,
+  aliceblue: 0xf0f8ffff,
+  antiquewhite: 0xfaebd7ff,
+  aqua: 0x00ffffff,
+  aquamarine: 0x7fffd4ff,
+  azure: 0xf0ffffff,
+  beige: 0xf5f5dcff,
+  bisque: 0xffe4c4ff,
+  black: 0x000000ff,
+  blanchedalmond: 0xffebcdff,
+  blue: 0x0000ffff,
+  blueviolet: 0x8a2be2ff,
+  brown: 0xa52a2aff,
+  burlywood: 0xdeb887ff,
+  burntsienna: 0xea7e5dff,
+  cadetblue: 0x5f9ea0ff,
+  chartreuse: 0x7fff00ff,
+  chocolate: 0xd2691eff,
+  coral: 0xff7f50ff,
+  cornflowerblue: 0x6495edff,
+  cornsilk: 0xfff8dcff,
+  crimson: 0xdc143cff,
+  cyan: 0x00ffffff,
+  darkblue: 0x00008bff,
+  darkcyan: 0x008b8bff,
+  darkgoldenrod: 0xb8860bff,
+  darkgray: 0xa9a9a9ff,
+  darkgreen: 0x006400ff,
+  darkgrey: 0xa9a9a9ff,
+  darkkhaki: 0xbdb76bff,
+  darkmagenta: 0x8b008bff,
+  darkolivegreen: 0x556b2fff,
+  darkorange: 0xff8c00ff,
+  darkorchid: 0x9932ccff,
+  darkred: 0x8b0000ff,
+  darksalmon: 0xe9967aff,
+  darkseagreen: 0x8fbc8fff,
+  darkslateblue: 0x483d8bff,
+  darkslategray: 0x2f4f4fff,
+  darkslategrey: 0x2f4f4fff,
+  darkturquoise: 0x00ced1ff,
+  darkviolet: 0x9400d3ff,
+  deeppink: 0xff1493ff,
+  deepskyblue: 0x00bfffff,
+  dimgray: 0x696969ff,
+  dimgrey: 0x696969ff,
+  dodgerblue: 0x1e90ffff,
+  firebrick: 0xb22222ff,
+  floralwhite: 0xfffaf0ff,
+  forestgreen: 0x228b22ff,
+  fuchsia: 0xff00ffff,
+  gainsboro: 0xdcdcdcff,
+  ghostwhite: 0xf8f8ffff,
+  gold: 0xffd700ff,
+  goldenrod: 0xdaa520ff,
+  gray: 0x808080ff,
+  green: 0x008000ff,
+  greenyellow: 0xadff2fff,
+  grey: 0x808080ff,
+  honeydew: 0xf0fff0ff,
+  hotpink: 0xff69b4ff,
+  indianred: 0xcd5c5cff,
+  indigo: 0x4b0082ff,
+  ivory: 0xfffff0ff,
+  khaki: 0xf0e68cff,
+  lavender: 0xe6e6faff,
+  lavenderblush: 0xfff0f5ff,
+  lawngreen: 0x7cfc00ff,
+  lemonchiffon: 0xfffacdff,
+  lightblue: 0xadd8e6ff,
+  lightcoral: 0xf08080ff,
+  lightcyan: 0xe0ffffff,
+  lightgoldenrodyellow: 0xfafad2ff,
+  lightgray: 0xd3d3d3ff,
+  lightgreen: 0x90ee90ff,
+  lightgrey: 0xd3d3d3ff,
+  lightpink: 0xffb6c1ff,
+  lightsalmon: 0xffa07aff,
+  lightseagreen: 0x20b2aaff,
+  lightskyblue: 0x87cefaff,
+  lightslategray: 0x778899ff,
+  lightslategrey: 0x778899ff,
+  lightsteelblue: 0xb0c4deff,
+  lightyellow: 0xffffe0ff,
+  lime: 0x00ff00ff,
+  limegreen: 0x32cd32ff,
+  linen: 0xfaf0e6ff,
+  magenta: 0xff00ffff,
+  maroon: 0x800000ff,
+  mediumaquamarine: 0x66cdaaff,
+  mediumblue: 0x0000cdff,
+  mediumorchid: 0xba55d3ff,
+  mediumpurple: 0x9370dbff,
+  mediumseagreen: 0x3cb371ff,
+  mediumslateblue: 0x7b68eeff,
+  mediumspringgreen: 0x00fa9aff,
+  mediumturquoise: 0x48d1ccff,
+  mediumvioletred: 0xc71585ff,
+  midnightblue: 0x191970ff,
+  mintcream: 0xf5fffaff,
+  mistyrose: 0xffe4e1ff,
+  moccasin: 0xffe4b5ff,
+  navajowhite: 0xffdeadff,
+  navy: 0x000080ff,
+  oldlace: 0xfdf5e6ff,
+  olive: 0x808000ff,
+  olivedrab: 0x6b8e23ff,
+  orange: 0xffa500ff,
+  orangered: 0xff4500ff,
+  orchid: 0xda70d6ff,
+  palegoldenrod: 0xeee8aaff,
+  palegreen: 0x98fb98ff,
+  paleturquoise: 0xafeeeeff,
+  palevioletred: 0xdb7093ff,
+  papayawhip: 0xffefd5ff,
+  peachpuff: 0xffdab9ff,
+  peru: 0xcd853fff,
+  pink: 0xffc0cbff,
+  plum: 0xdda0ddff,
+  powderblue: 0xb0e0e6ff,
+  purple: 0x800080ff,
+  rebeccapurple: 0x663399ff,
+  red: 0xff0000ff,
+  rosybrown: 0xbc8f8fff,
+  royalblue: 0x4169e1ff,
+  saddlebrown: 0x8b4513ff,
+  salmon: 0xfa8072ff,
+  sandybrown: 0xf4a460ff,
+  seagreen: 0x2e8b57ff,
+  seashell: 0xfff5eeff,
+  sienna: 0xa0522dff,
+  silver: 0xc0c0c0ff,
+  skyblue: 0x87ceebff,
+  slateblue: 0x6a5acdff,
+  slategray: 0x708090ff,
+  slategrey: 0x708090ff,
+  snow: 0xfffafaff,
+  springgreen: 0x00ff7fff,
+  steelblue: 0x4682b4ff,
+  tan: 0xd2b48cff,
+  teal: 0x008080ff,
+  thistle: 0xd8bfd8ff,
+  tomato: 0xff6347ff,
+  turquoise: 0x40e0d0ff,
+  violet: 0xee82eeff,
+  wheat: 0xf5deb3ff,
+  white: 0xffffffff,
+  whitesmoke: 0xf5f5f5ff,
+  yellow: 0xffff00ff,
+  yellowgreen: 0x9acd32ff
+};
+
+const NUMBER = '[-+]?\\d*\\.?\\d+';
+const PERCENTAGE = NUMBER + '%';

-  return null;
+function call(...parts) {
+  return '\\(\\s*(' + parts.join(')\\s*,\\s*(') + ')\\s*\\)';
 }
-/**
- * Returns the px value of a cssUnit.
- *
- * @param {string} cssUnit
- * @param {Object} options
- * @return {string} returns the cssUnit value in a simple px format.
- */

+const rgb = new RegExp('rgb' + call(NUMBER, NUMBER, NUMBER));
+const rgba = new RegExp('rgba' + call(NUMBER, NUMBER, NUMBER, NUMBER));
+const hsl = new RegExp('hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE));
+const hsla = new RegExp('hsla' + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER));
+const hex3 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;
+const hex4 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;
+const hex6 = /^#([0-9a-fA-F]{6})$/;
+const hex8 = /^#([0-9a-fA-F]{8})$/;

-function getPxFromCssUnit(cssUnit) {
-  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-
-  if (Number.isFinite(cssUnit)) {
-    return cssUnit.toFixed(0) + 'px';
-  }
+function normalizeColor(color) {
+  let match;

-  if (cssUnit === undefined) {
-    return null;
+  if (typeof color === 'number') {
+    return color >>> 0 === color && color >= 0 && color <= 0xffffffff ? color : null;
   }

-  let parsedUnit = parseUnit(cssUnit);
+  if (match = hex6.exec(color)) return parseInt(match[1] + 'ff', 16) >>> 0;

-  if (!parsedUnit.unit) {
-    parsedUnit = parseUnitFunction(cssUnit, options);
+  if (colors$1 && colors$1[color] !== undefined) {
+    return colors$1[color];
   }

-  if (isMathExpression(cssUnit) && !parsedUnit.unit) {
-    return evalMathExpression(cssUnit);
+  if (match = rgb.exec(color)) {
+    return (parse255(match[1]) << 24 | parse255(match[2]) << 16 | parse255(match[3]) << 8 | 0x000000ff) >>> 0;
   }

-  return convertParsedUnitToPx(parsedUnit, options);
-} // Use simple cache.
-
-const cache = {};
-/**
- * Returns the px value of a cssUnit. The memoized version of getPxFromCssUnit;
- *
- * @param {string} cssUnit
- * @param {Object} options
- * @return {string} returns the cssUnit value in a simple px format.
- */
-
-function memoizedGetPxFromCssUnit(cssUnit) {
-  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  const hash = cssUnit + hashOptions(options);
-
-  if (!cache[hash]) {
-    cache[hash] = getPxFromCssUnit(cssUnit, options);
+  if (match = rgba.exec(color)) {
+    return (parse255(match[1]) << 24 | parse255(match[2]) << 16 | parse255(match[3]) << 8 | parse1(match[4])) >>> 0;
   }

-  return cache[hash];
-}
-
-function hashOptions(options) {
-  let hash = '';
-
-  if (options.hasOwnProperty('fontSize')) {
-    hash = ':' + options.width;
+  if (match = hex3.exec(color)) {
+    return parseInt(match[1] + match[1] + match[2] + match[2] + match[3] + match[3] + 'ff', 16) >>> 0;
   }

-  if (options.hasOwnProperty('lineHeight')) {
-    hash = ':' + options.lineHeight;
-  }
+  if (match = hex8.exec(color)) return parseInt(match[1], 16) >>> 0;

-  if (options.hasOwnProperty('width')) {
-    hash = ':' + options.width;
+  if (match = hex4.exec(color)) {
+    return parseInt(match[1] + match[1] + match[2] + match[2] + match[3] + match[3] + match[4] + match[4], 16) >>> 0;
   }

-  if (options.hasOwnProperty('height')) {
-    hash = ':' + options.height;
+  if (match = hsl.exec(color)) {
+    return (hslToRgb(parse360(match[1]), parsePercentage(match[2]), parsePercentage(match[3])) | 0x000000ff) >>> 0;
   }

-  if (options.hasOwnProperty('type')) {
-    hash = ':' + options.type;
+  if (match = hsla.exec(color)) {
+    return (hslToRgb(parse360(match[1]), parsePercentage(match[2]), parsePercentage(match[3])) | parse1(match[4])) >>> 0;
   }

-  return hash;
+  return null;
 }

-/* harmony default export */ var parse_css_unit_to_px = (memoizedGetPxFromCssUnit);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/index.js
-
-
-
-
-
-
-/***/ }),
-
-/***/ "BLeD":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["tokenList"]; }());
-
-/***/ }),
-
-/***/ "BhPs":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ storeConfig; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ store; });
-
-// NAMESPACE OBJECT: ./node_modules/@wordpress/block-editor/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getBlockName", function() { return getBlockName; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockValid", function() { return isBlockValid; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockAttributes", function() { return getBlockAttributes; });
-__webpack_require__.d(selectors_namespaceObject, "getBlock", function() { return getBlock; });
-__webpack_require__.d(selectors_namespaceObject, "__unstableGetBlockWithoutInnerBlocks", function() { return __unstableGetBlockWithoutInnerBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getBlocks", function() { return getBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "__unstableGetClientIdWithClientIdsTree", function() { return __unstableGetClientIdWithClientIdsTree; });
-__webpack_require__.d(selectors_namespaceObject, "__unstableGetClientIdsTree", function() { return __unstableGetClientIdsTree; });
-__webpack_require__.d(selectors_namespaceObject, "getClientIdsOfDescendants", function() { return getClientIdsOfDescendants; });
-__webpack_require__.d(selectors_namespaceObject, "getClientIdsWithDescendants", function() { return getClientIdsWithDescendants; });
-__webpack_require__.d(selectors_namespaceObject, "getGlobalBlockCount", function() { return getGlobalBlockCount; });
-__webpack_require__.d(selectors_namespaceObject, "getBlocksByClientId", function() { return getBlocksByClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockCount", function() { return getBlockCount; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectionStart", function() { return getSelectionStart; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectionEnd", function() { return getSelectionEnd; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockSelectionStart", function() { return getBlockSelectionStart; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockSelectionEnd", function() { return getBlockSelectionEnd; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectedBlockCount", function() { return getSelectedBlockCount; });
-__webpack_require__.d(selectors_namespaceObject, "hasSelectedBlock", function() { return hasSelectedBlock; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectedBlockClientId", function() { return getSelectedBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectedBlock", function() { return getSelectedBlock; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockRootClientId", function() { return getBlockRootClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockParents", function() { return getBlockParents; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockParentsByBlockName", function() { return getBlockParentsByBlockName; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockHierarchyRootClientId", function() { return getBlockHierarchyRootClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getLowestCommonAncestorWithSelectedBlock", function() { return getLowestCommonAncestorWithSelectedBlock; });
-__webpack_require__.d(selectors_namespaceObject, "getAdjacentBlockClientId", function() { return getAdjacentBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getPreviousBlockClientId", function() { return getPreviousBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getNextBlockClientId", function() { return getNextBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectedBlocksInitialCaretPosition", function() { return getSelectedBlocksInitialCaretPosition; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectedBlockClientIds", function() { return getSelectedBlockClientIds; });
-__webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlockClientIds", function() { return getMultiSelectedBlockClientIds; });
-__webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlocks", function() { return getMultiSelectedBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getFirstMultiSelectedBlockClientId", function() { return getFirstMultiSelectedBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getLastMultiSelectedBlockClientId", function() { return getLastMultiSelectedBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "isFirstMultiSelectedBlock", function() { return isFirstMultiSelectedBlock; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockMultiSelected", function() { return isBlockMultiSelected; });
-__webpack_require__.d(selectors_namespaceObject, "isAncestorMultiSelected", function() { return isAncestorMultiSelected; });
-__webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlocksStartClientId", function() { return getMultiSelectedBlocksStartClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlocksEndClientId", function() { return getMultiSelectedBlocksEndClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockOrder", function() { return getBlockOrder; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockIndex", function() { return getBlockIndex; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockSelected", function() { return isBlockSelected; });
-__webpack_require__.d(selectors_namespaceObject, "hasSelectedInnerBlock", function() { return hasSelectedInnerBlock; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockWithinSelection", function() { return isBlockWithinSelection; });
-__webpack_require__.d(selectors_namespaceObject, "hasMultiSelection", function() { return hasMultiSelection; });
-__webpack_require__.d(selectors_namespaceObject, "isMultiSelecting", function() { return selectors_isMultiSelecting; });
-__webpack_require__.d(selectors_namespaceObject, "isSelectionEnabled", function() { return selectors_isSelectionEnabled; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockMode", function() { return getBlockMode; });
-__webpack_require__.d(selectors_namespaceObject, "isTyping", function() { return selectors_isTyping; });
-__webpack_require__.d(selectors_namespaceObject, "isDraggingBlocks", function() { return isDraggingBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getDraggedBlockClientIds", function() { return getDraggedBlockClientIds; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockBeingDragged", function() { return isBlockBeingDragged; });
-__webpack_require__.d(selectors_namespaceObject, "isAncestorBeingDragged", function() { return isAncestorBeingDragged; });
-__webpack_require__.d(selectors_namespaceObject, "isCaretWithinFormattedText", function() { return selectors_isCaretWithinFormattedText; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockInsertionPoint", function() { return getBlockInsertionPoint; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockInsertionPointVisible", function() { return isBlockInsertionPointVisible; });
-__webpack_require__.d(selectors_namespaceObject, "isValidTemplate", function() { return selectors_isValidTemplate; });
-__webpack_require__.d(selectors_namespaceObject, "getTemplate", function() { return getTemplate; });
-__webpack_require__.d(selectors_namespaceObject, "getTemplateLock", function() { return getTemplateLock; });
-__webpack_require__.d(selectors_namespaceObject, "canInsertBlockType", function() { return canInsertBlockType; });
-__webpack_require__.d(selectors_namespaceObject, "canInsertBlocks", function() { return canInsertBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "canRemoveBlock", function() { return canRemoveBlock; });
-__webpack_require__.d(selectors_namespaceObject, "canRemoveBlocks", function() { return selectors_canRemoveBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "canMoveBlock", function() { return canMoveBlock; });
-__webpack_require__.d(selectors_namespaceObject, "canMoveBlocks", function() { return selectors_canMoveBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getInserterItems", function() { return getInserterItems; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockTransformItems", function() { return getBlockTransformItems; });
-__webpack_require__.d(selectors_namespaceObject, "hasInserterItems", function() { return hasInserterItems; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAllowedBlocks", function() { return __experimentalGetAllowedBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetDirectInsertBlock", function() { return __experimentalGetDirectInsertBlock; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetParsedPattern", function() { return __experimentalGetParsedPattern; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetAllowedPatterns", function() { return __experimentalGetAllowedPatterns; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetPatternsByBlockTypes", function() { return __experimentalGetPatternsByBlockTypes; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetPatternTransformItems", function() { return __experimentalGetPatternTransformItems; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockListSettings", function() { return getBlockListSettings; });
-__webpack_require__.d(selectors_namespaceObject, "getSettings", function() { return getSettings; });
-__webpack_require__.d(selectors_namespaceObject, "isLastBlockChangePersistent", function() { return isLastBlockChangePersistent; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetBlockListSettingsForBlocks", function() { return __experimentalGetBlockListSettingsForBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetReusableBlockTitle", function() { return __experimentalGetReusableBlockTitle; });
-__webpack_require__.d(selectors_namespaceObject, "__unstableIsLastBlockChangeIgnored", function() { return __unstableIsLastBlockChangeIgnored; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetLastBlockAttributeChanges", function() { return __experimentalGetLastBlockAttributeChanges; });
-__webpack_require__.d(selectors_namespaceObject, "isNavigationMode", function() { return selectors_isNavigationMode; });
-__webpack_require__.d(selectors_namespaceObject, "hasBlockMovingClientId", function() { return selectors_hasBlockMovingClientId; });
-__webpack_require__.d(selectors_namespaceObject, "didAutomaticChange", function() { return didAutomaticChange; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockHighlighted", function() { return isBlockHighlighted; });
-__webpack_require__.d(selectors_namespaceObject, "areInnerBlocksControlled", function() { return areInnerBlocksControlled; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetActiveBlockIdByBlockNames", function() { return __experimentalGetActiveBlockIdByBlockNames; });
-__webpack_require__.d(selectors_namespaceObject, "wasBlockJustInserted", function() { return wasBlockJustInserted; });
-
-// NAMESPACE OBJECT: ./node_modules/@wordpress/block-editor/build-module/store/actions.js
-var actions_namespaceObject = {};
-__webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "resetBlocks", function() { return resetBlocks; });
-__webpack_require__.d(actions_namespaceObject, "validateBlocksToTemplate", function() { return validateBlocksToTemplate; });
-__webpack_require__.d(actions_namespaceObject, "resetSelection", function() { return resetSelection; });
-__webpack_require__.d(actions_namespaceObject, "receiveBlocks", function() { return receiveBlocks; });
-__webpack_require__.d(actions_namespaceObject, "updateBlockAttributes", function() { return updateBlockAttributes; });
-__webpack_require__.d(actions_namespaceObject, "updateBlock", function() { return updateBlock; });
-__webpack_require__.d(actions_namespaceObject, "selectBlock", function() { return selectBlock; });
-__webpack_require__.d(actions_namespaceObject, "selectPreviousBlock", function() { return selectPreviousBlock; });
-__webpack_require__.d(actions_namespaceObject, "selectNextBlock", function() { return selectNextBlock; });
-__webpack_require__.d(actions_namespaceObject, "startMultiSelect", function() { return startMultiSelect; });
-__webpack_require__.d(actions_namespaceObject, "stopMultiSelect", function() { return stopMultiSelect; });
-__webpack_require__.d(actions_namespaceObject, "multiSelect", function() { return multiSelect; });
-__webpack_require__.d(actions_namespaceObject, "clearSelectedBlock", function() { return clearSelectedBlock; });
-__webpack_require__.d(actions_namespaceObject, "toggleSelection", function() { return toggleSelection; });
-__webpack_require__.d(actions_namespaceObject, "replaceBlocks", function() { return replaceBlocks; });
-__webpack_require__.d(actions_namespaceObject, "replaceBlock", function() { return replaceBlock; });
-__webpack_require__.d(actions_namespaceObject, "moveBlocksDown", function() { return moveBlocksDown; });
-__webpack_require__.d(actions_namespaceObject, "moveBlocksUp", function() { return moveBlocksUp; });
-__webpack_require__.d(actions_namespaceObject, "moveBlocksToPosition", function() { return moveBlocksToPosition; });
-__webpack_require__.d(actions_namespaceObject, "moveBlockToPosition", function() { return moveBlockToPosition; });
-__webpack_require__.d(actions_namespaceObject, "insertBlock", function() { return insertBlock; });
-__webpack_require__.d(actions_namespaceObject, "insertBlocks", function() { return insertBlocks; });
-__webpack_require__.d(actions_namespaceObject, "showInsertionPoint", function() { return showInsertionPoint; });
-__webpack_require__.d(actions_namespaceObject, "hideInsertionPoint", function() { return hideInsertionPoint; });
-__webpack_require__.d(actions_namespaceObject, "setTemplateValidity", function() { return setTemplateValidity; });
-__webpack_require__.d(actions_namespaceObject, "synchronizeTemplate", function() { return synchronizeTemplate; });
-__webpack_require__.d(actions_namespaceObject, "mergeBlocks", function() { return mergeBlocks; });
-__webpack_require__.d(actions_namespaceObject, "removeBlocks", function() { return removeBlocks; });
-__webpack_require__.d(actions_namespaceObject, "removeBlock", function() { return removeBlock; });
-__webpack_require__.d(actions_namespaceObject, "replaceInnerBlocks", function() { return replaceInnerBlocks; });
-__webpack_require__.d(actions_namespaceObject, "toggleBlockMode", function() { return toggleBlockMode; });
-__webpack_require__.d(actions_namespaceObject, "startTyping", function() { return startTyping; });
-__webpack_require__.d(actions_namespaceObject, "stopTyping", function() { return stopTyping; });
-__webpack_require__.d(actions_namespaceObject, "startDraggingBlocks", function() { return startDraggingBlocks; });
-__webpack_require__.d(actions_namespaceObject, "stopDraggingBlocks", function() { return stopDraggingBlocks; });
-__webpack_require__.d(actions_namespaceObject, "enterFormattedText", function() { return enterFormattedText; });
-__webpack_require__.d(actions_namespaceObject, "exitFormattedText", function() { return exitFormattedText; });
-__webpack_require__.d(actions_namespaceObject, "selectionChange", function() { return selectionChange; });
-__webpack_require__.d(actions_namespaceObject, "insertDefaultBlock", function() { return insertDefaultBlock; });
-__webpack_require__.d(actions_namespaceObject, "updateBlockListSettings", function() { return updateBlockListSettings; });
-__webpack_require__.d(actions_namespaceObject, "updateSettings", function() { return updateSettings; });
-__webpack_require__.d(actions_namespaceObject, "__unstableSaveReusableBlock", function() { return __unstableSaveReusableBlock; });
-__webpack_require__.d(actions_namespaceObject, "__unstableMarkLastChangeAsPersistent", function() { return __unstableMarkLastChangeAsPersistent; });
-__webpack_require__.d(actions_namespaceObject, "__unstableMarkNextChangeAsNotPersistent", function() { return __unstableMarkNextChangeAsNotPersistent; });
-__webpack_require__.d(actions_namespaceObject, "__unstableMarkAutomaticChange", function() { return __unstableMarkAutomaticChange; });
-__webpack_require__.d(actions_namespaceObject, "setNavigationMode", function() { return setNavigationMode; });
-__webpack_require__.d(actions_namespaceObject, "setBlockMovingClientId", function() { return setBlockMovingClientId; });
-__webpack_require__.d(actions_namespaceObject, "duplicateBlocks", function() { return duplicateBlocks; });
-__webpack_require__.d(actions_namespaceObject, "insertBeforeBlock", function() { return insertBeforeBlock; });
-__webpack_require__.d(actions_namespaceObject, "insertAfterBlock", function() { return insertAfterBlock; });
-__webpack_require__.d(actions_namespaceObject, "toggleBlockHighlight", function() { return toggleBlockHighlight; });
-__webpack_require__.d(actions_namespaceObject, "flashBlock", function() { return flashBlock; });
-__webpack_require__.d(actions_namespaceObject, "setHasControlledInnerBlocks", function() { return setHasControlledInnerBlocks; });
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/defaults.js
-var defaults = __webpack_require__("lJLt");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/array.js
-/**
- * External dependencies
- */
-
-/**
- * Insert one or multiple elements into a given position of an array.
- *
- * @param {Array}  array    Source array.
- * @param {*}      elements Elements to insert.
- * @param {number} index    Insert Position.
- *
- * @return {Array} Result.
- */
-
-function insertAt(array, elements, index) {
-  return [...array.slice(0, index), ...Object(external_lodash_["castArray"])(elements), ...array.slice(index)];
+function hue2rgb(p, q, t) {
+  if (t < 0) t += 1;
+  if (t > 1) t -= 1;
+  if (t < 1 / 6) return p + (q - p) * 6 * t;
+  if (t < 1 / 2) return q;
+  if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
+  return p;
 }
-/**
- * Moves an element in an array.
- *
- * @param {Array}  array Source array.
- * @param {number} from  Source index.
- * @param {number} to    Destination index.
- * @param {number} count Number of elements to move.
- *
- * @return {Array} Result.
- */

-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);
+function hslToRgb(h, s, l) {
+  const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
+  const p = 2 * l - q;
+  const r = hue2rgb(p, q, h + 1 / 3);
+  const g = hue2rgb(p, q, h);
+  const b = hue2rgb(p, q, h - 1 / 3);
+  return Math.round(r * 255) << 24 | Math.round(g * 255) << 16 | Math.round(b * 255) << 8;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/reducer.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * Given an array of blocks, returns an object where each key is a nesting
- * context, the value of which is an array of block client IDs existing within
- * that nesting context.
- *
- * @param {Array}   blocks       Blocks to map.
- * @param {?string} rootClientId Assumed root client ID.
- *
- * @return {Object} Block order map object.
- */
+function parse255(str) {
+  const int = parseInt(str, 10);
+  if (int < 0) return 0;
+  if (int > 255) return 255;
+  return int;
+}

-function mapBlockOrder(blocks) {
-  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
-  const result = {
-    [rootClientId]: []
-  };
-  blocks.forEach(block => {
-    const {
-      clientId,
-      innerBlocks
-    } = block;
-    result[rootClientId].push(clientId);
-    Object.assign(result, mapBlockOrder(innerBlocks, clientId));
-  });
-  return result;
+function parse360(str) {
+  const int = parseFloat(str);
+  return (int % 360 + 360) % 360 / 360;
 }
-/**
- * Given an array of blocks, returns an object where each key contains
- * the clientId of the block and the value is the parent of the block.
- *
- * @param {Array}   blocks       Blocks to map.
- * @param {?string} rootClientId Assumed root client ID.
- *
- * @return {Object} Block order map object.
- */

+function parse1(str) {
+  const num = parseFloat(str);
+  if (num < 0) return 0;
+  if (num > 1) return 255;
+  return Math.round(num * 255);
+}

-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)), {});
+function parsePercentage(str) {
+  const int = parseFloat(str);
+  if (int < 0) return 0;
+  if (int > 100) return 1;
+  return int / 100;
 }
-/**
- * Helper method to iterate through all blocks, recursing into inner blocks,
- * applying a transformation function to each one.
- * Returns a flattened object with the transformed blocks.
- *
- * @param {Array}    blocks    Blocks to flatten.
- * @param {Function} transform Transforming function to be applied to each block.
- *
- * @return {Object} Flattened object.
- */

+function colorToRgba(input) {
+  let int32Color = normalizeColor(input);
+  if (int32Color === null) return input;
+  int32Color = int32Color || 0;
+  let r = (int32Color & 0xff000000) >>> 24;
+  let g = (int32Color & 0x00ff0000) >>> 16;
+  let b = (int32Color & 0x0000ff00) >>> 8;
+  let a = (int32Color & 0x000000ff) / 255;
+  return `rgba(${r}, ${g}, ${b}, ${a})`;
+}

-function flattenBlocks(blocks) {
-  let transform = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : external_lodash_["identity"];
-  const result = {};
-  const stack = [...blocks];
+const createInterpolator = (range, output, extrapolate) => {
+  if (react_spring_shared_esm_is.fun(range)) {
+    return range;
+  }

-  while (stack.length) {
-    const {
-      innerBlocks,
-      ...block
-    } = stack.shift();
-    stack.push(...innerBlocks);
-    result[block.clientId] = transform(block);
+  if (react_spring_shared_esm_is.arr(range)) {
+    return createInterpolator({
+      range,
+      output: output,
+      extrapolate
+    });
   }

-  return result;
-}
-/**
- * Given an array of blocks, returns an object containing all blocks, without
- * attributes, recursing into inner blocks. Keys correspond to the block client
- * ID, the value of which is the attributes object.
- *
- * @param {Array} blocks Blocks to flatten.
- *
- * @return {Object} Flattened block attributes object.
- */
+  if (react_spring_shared_esm_is.str(range.output[0])) {
+    return createStringInterpolator$1(range);
+  }

+  const config = range;
+  const outputRange = config.output;
+  const inputRange = config.range || [0, 1];
+  const extrapolateLeft = config.extrapolateLeft || config.extrapolate || 'extend';
+  const extrapolateRight = config.extrapolateRight || config.extrapolate || 'extend';

-function getFlattenedBlocksWithoutAttributes(blocks) {
-  return flattenBlocks(blocks, block => Object(external_lodash_["omit"])(block, 'attributes'));
-}
-/**
- * Given an array of blocks, returns an object containing all block attributes,
- * recursing into inner blocks. Keys correspond to the block client ID, the
- * value of which is the attributes object.
- *
- * @param {Array} blocks Blocks to flatten.
- *
- * @return {Object} Flattened block attributes object.
- */
+  const easing = config.easing || (t => t);

+  return input => {
+    const range = findRange(input, inputRange);
+    return interpolate(input, inputRange[range], inputRange[range + 1], outputRange[range], outputRange[range + 1], easing, extrapolateLeft, extrapolateRight, config.map);
+  };
+};

-function getFlattenedBlockAttributes(blocks) {
-  return flattenBlocks(blocks, block => block.attributes);
-}
-/**
- * Returns an object against which it is safe to perform mutating operations,
- * given the original object and its current working copy.
- *
- * @param {Object} original Original object.
- * @param {Object} working  Working object.
- *
- * @return {Object} Mutation-safe object.
- */
+function interpolate(input, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight, map) {
+  let result = map ? map(input) : input;

+  if (result < inputMin) {
+    if (extrapolateLeft === 'identity') return result;else if (extrapolateLeft === 'clamp') result = inputMin;
+  }

-function getMutateSafeObject(original, working) {
-  if (original === working) {
-    return { ...original
-    };
+  if (result > inputMax) {
+    if (extrapolateRight === 'identity') return result;else if (extrapolateRight === 'clamp') result = inputMax;
   }

-  return working;
+  if (outputMin === outputMax) return outputMin;
+  if (inputMin === inputMax) return input <= inputMin ? outputMin : outputMax;
+  if (inputMin === -Infinity) result = -result;else if (inputMax === Infinity) result = result - inputMin;else result = (result - inputMin) / (inputMax - inputMin);
+  result = easing(result);
+  if (outputMin === -Infinity) result = -result;else if (outputMax === Infinity) result = result + outputMin;else result = result * (outputMax - outputMin) + outputMin;
+  return result;
 }
-/**
- * Returns true if the two object arguments have the same keys, or false
- * otherwise.
- *
- * @param {Object} a First object.
- * @param {Object} b Second object.
- *
- * @return {boolean} Whether the two objects have the same keys.
- */
-

-function hasSameKeys(a, b) {
-  return Object(external_lodash_["isEqual"])(Object(external_lodash_["keys"])(a), Object(external_lodash_["keys"])(b));
-}
-/**
- * Returns true if, given the currently dispatching action and the previously
- * dispatched action, the two actions are updating the same block attribute, or
- * false otherwise.
- *
- * @param {Object} action     Currently dispatching action.
- * @param {Object} lastAction Previously dispatched action.
- *
- * @return {boolean} Whether actions are updating the same block attribute.
- */
+function findRange(input, inputRange) {
+  for (var i = 1; i < inputRange.length - 1; ++i) if (inputRange[i] >= input) break;

-function isUpdatingSameBlockAttribute(action, lastAction) {
-  return action.type === 'UPDATE_BLOCK_ATTRIBUTES' && lastAction !== undefined && lastAction.type === 'UPDATE_BLOCK_ATTRIBUTES' && Object(external_lodash_["isEqual"])(action.clientIds, lastAction.clientIds) && hasSameKeys(action.attributes, lastAction.attributes);
+  return i - 1;
 }

-function buildBlockTree(state, blocks) {
-  const result = {};
-  const stack = [...blocks];
-  const flattenedBlocks = [...blocks];
-
-  while (stack.length) {
-    const block = stack.shift();
-    stack.push(...block.innerBlocks);
-    flattenedBlocks.push(...block.innerBlocks);
-  } // Create objects before mutating them, that way it's always defined.
-
+function react_spring_shared_esm_extends() {
+  react_spring_shared_esm_extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-  for (const block of flattenedBlocks) {
-    result[block.clientId] = {};
-  }
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-  for (const block of flattenedBlocks) {
-    result[block.clientId] = Object.assign(result[block.clientId], { ...state.byClientId[block.clientId],
-      attributes: state.attributes[block.clientId],
-      innerBlocks: block.innerBlocks.map(subBlock => result[subBlock.clientId])
-    });
-  }
+    return target;
+  };

-  return result;
+  return react_spring_shared_esm_extends.apply(this, arguments);
 }

-function updateParentInnerBlocksInTree(state, tree, updatedClientIds) {
-  let updateChildrenOfUpdatedClientIds = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
-  const uncontrolledParents = new Set([]);
-  const controlledParents = new Set();
-
-  for (const clientId of updatedClientIds) {
-    let current = updateChildrenOfUpdatedClientIds ? clientId : state.parents[clientId];
+const $get = Symbol.for('FluidValue.get');
+const $observers = Symbol.for('FluidValue.observers');

-    do {
-      if (state.controlledInnerBlocks[current]) {
-        // Should stop on controlled blocks.
-        // If we reach a controlled parent, break out of the loop.
-        controlledParents.add(current);
-        break;
-      } else {
-        // else continue traversing up through parents.
-        uncontrolledParents.add(current);
-        current = state.parents[current];
-      }
-    } while (current !== undefined);
-  } // To make sure the order of assignments doesn't matter,
-  // we first create empty objects and mutates the inner blocks later.
+const hasFluidValue = arg => Boolean(arg && arg[$get]);

+const getFluidValue = arg => arg && arg[$get] ? arg[$get]() : arg;

-  for (const clientId of uncontrolledParents) {
-    tree[clientId] = { ...tree[clientId]
-    };
-  }
+const getFluidObservers = target => target[$observers] || null;

-  for (const clientId of uncontrolledParents) {
-    tree[clientId].innerBlocks = (state.order[clientId] || []).map(subClientId => tree[subClientId]);
-  } // Controlled parent blocks, need a dedicated key for their inner blocks
-  // to be used when doing getBlocks( controlledBlockClientId ).
+function callFluidObserver(observer, event) {
+  if (observer.eventObserved) {
+    observer.eventObserved(event);
+  } else {
+    observer(event);
+  }
+}

+function callFluidObservers(target, event) {
+  let observers = target[$observers];

-  for (const clientId of controlledParents) {
-    tree['controlled||' + clientId] = {
-      innerBlocks: (state.order[clientId] || []).map(subClientId => tree[subClientId])
-    };
+  if (observers) {
+    observers.forEach(observer => {
+      callFluidObserver(observer, event);
+    });
   }
-
-  return tree;
 }
-/**
- * Higher-order reducer intended to compute full block objects key for each block in the post.
- * This is a denormalization to optimize the performance of the getBlock selectors and avoid
- * recomputing the block objects and avoid heavy memoization.
- *
- * @param {Function} reducer Original reducer function.
- *
- * @return {Function} Enhanced reducer function.
- */

+class FluidValue {
+  constructor(get) {
+    this[$get] = void 0;
+    this[$observers] = void 0;

-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 (!get && !(get = this.get)) {
+      throw Error('Unknown getter');
+    }

-  if (newState === state) {
-    return state;
+    setFluidGetter(this, get);
   }

-  newState.tree = state.tree ? state.tree : {};
+}

-  switch (action.type) {
-    case 'RECEIVE_BLOCKS':
-    case 'INSERT_BLOCKS':
-      {
-        const subTree = buildBlockTree(newState, action.blocks);
-        newState.tree = updateParentInnerBlocksInTree(newState, { ...newState.tree,
-          ...subTree
-        }, action.rootClientId ? [action.rootClientId] : [''], true);
-        break;
-      }
+const setFluidGetter = (target, get) => setHidden(target, $get, get);

-    case 'UPDATE_BLOCK':
-      newState.tree = updateParentInnerBlocksInTree(newState, { ...newState.tree,
-        [action.clientId]: { ...newState.tree[action.clientId],
-          ...newState.byClientId[action.clientId],
-          attributes: newState.attributes[action.clientId]
-        }
-      }, [action.clientId], false);
-      break;
+function addFluidObserver(target, observer) {
+  if (target[$get]) {
+    let observers = target[$observers];

-    case 'UPDATE_BLOCK_ATTRIBUTES':
-      {
-        const newSubTree = action.clientIds.reduce((result, clientId) => {
-          result[clientId] = { ...newState.tree[clientId],
-            attributes: newState.attributes[clientId]
-          };
-          return result;
-        }, {});
-        newState.tree = updateParentInnerBlocksInTree(newState, { ...newState.tree,
-          ...newSubTree
-        }, action.clientIds, false);
-        break;
-      }
+    if (!observers) {
+      setHidden(target, $observers, observers = new Set());
+    }

-    case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-      {
-        const subTree = buildBlockTree(newState, action.blocks);
-        newState.tree = updateParentInnerBlocksInTree(newState, { ...Object(external_lodash_["omit"])(newState.tree, action.replacedClientIds.concat( // Controlled inner blocks are only removed
-          // if the block doesn't move to another position
-          // otherwise their content will be lost.
-          action.replacedClientIds.filter(clientId => !subTree[clientId]).map(clientId => 'controlled||' + clientId))),
-          ...subTree
-        }, action.blocks.map(b => b.clientId), false); // If there are no replaced blocks, it means we're removing blocks so we need to update their parent.
+    if (!observers.has(observer)) {
+      observers.add(observer);

-        const parentsOfRemovedBlocks = [];
+      if (target.observerAdded) {
+        target.observerAdded(observers.size, observer);
+      }
+    }
+  }

-        for (const clientId of action.clientIds) {
-          if (state.parents[clientId] !== undefined && (state.parents[clientId] === '' || newState.byClientId[state.parents[clientId]])) {
-            parentsOfRemovedBlocks.push(state.parents[clientId]);
-          }
-        }
+  return observer;
+}

-        newState.tree = updateParentInnerBlocksInTree(newState, newState.tree, parentsOfRemovedBlocks, true);
-        break;
-      }
+function removeFluidObserver(target, observer) {
+  let observers = target[$observers];

-    case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-      const parentsOfRemovedBlocks = [];
+  if (observers && observers.has(observer)) {
+    const count = observers.size - 1;

-      for (const clientId of action.clientIds) {
-        if (state.parents[clientId] !== undefined && (state.parents[clientId] === '' || newState.byClientId[state.parents[clientId]])) {
-          parentsOfRemovedBlocks.push(state.parents[clientId]);
-        }
-      }
+    if (count) {
+      observers.delete(observer);
+    } else {
+      target[$observers] = null;
+    }

-      newState.tree = updateParentInnerBlocksInTree(newState, Object(external_lodash_["omit"])(newState.tree, action.removedClientIds.concat(action.removedClientIds.map(clientId => 'controlled||' + clientId))), parentsOfRemovedBlocks, true);
-      break;
+    if (target.observerRemoved) {
+      target.observerRemoved(count, observer);
+    }
+  }
+}

-    case 'MOVE_BLOCKS_TO_POSITION':
-      {
-        const updatedBlockUids = [];
+const setHidden = (target, key, value) => Object.defineProperty(target, key, {
+  value,
+  writable: true,
+  configurable: true
+});

-        if (action.fromRootClientId) {
-          updatedBlockUids.push(action.fromRootClientId);
-        }
+const numberRegex = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g;
+const colorRegex = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi;
+const unitRegex = new RegExp(`(${numberRegex.source})(%|[a-z]+)`, 'i');
+const rgbaRegex = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi;
+const cssVariableRegex = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;

-        if (action.toRootClientId) {
-          updatedBlockUids.push(action.toRootClientId);
-        }
+const variableToRgba = input => {
+  const [token, fallback] = parseCSSVariable(input);

-        if (!action.fromRootClientId || !action.fromRootClientId) {
-          updatedBlockUids.push('');
-        }
+  if (!token || isSSR()) {
+    return input;
+  }

-        newState.tree = updateParentInnerBlocksInTree(newState, newState.tree, updatedBlockUids, true);
-        break;
-      }
+  const value = window.getComputedStyle(document.documentElement).getPropertyValue(token);

-    case 'MOVE_BLOCKS_UP':
-    case 'MOVE_BLOCKS_DOWN':
-      {
-        const updatedBlockUids = [action.rootClientId ? action.rootClientId : ''];
-        newState.tree = updateParentInnerBlocksInTree(newState, newState.tree, updatedBlockUids, true);
-        break;
-      }
+  if (value) {
+    return value.trim();
+  } else if (fallback && fallback.startsWith('--')) {
+    const _value = window.getComputedStyle(document.documentElement).getPropertyValue(fallback);

-    case 'SAVE_REUSABLE_BLOCK_SUCCESS':
-      {
-        const updatedBlockUids = Object(external_lodash_["keys"])(Object(external_lodash_["omitBy"])(newState.attributes, (attributes, clientId) => {
-          return newState.byClientId[clientId].name !== 'core/block' || attributes.ref !== action.updatedId;
-        }));
-        newState.tree = updateParentInnerBlocksInTree(newState, { ...newState.tree,
-          ...updatedBlockUids.reduce((result, clientId) => {
-            result[clientId] = { ...newState.byClientId[clientId],
-              attributes: newState.attributes[clientId],
-              innerBlocks: newState.tree[clientId].innerBlocks
-            };
-            return result;
-          }, {})
-        }, updatedBlockUids, false);
-      }
+    if (_value) {
+      return _value;
+    } else {
+      return input;
+    }
+  } else if (fallback && cssVariableRegex.test(fallback)) {
+    return variableToRgba(fallback);
+  } else if (fallback) {
+    return fallback;
   }

-  return newState;
+  return input;
 };
-/**
- * Higher-order reducer intended to augment the blocks reducer, assigning an
- * `isPersistentChange` property value corresponding to whether a change in
- * state can be considered as persistent. All changes are considered persistent
- * except when updating the same block attribute as in the previous action.
- *
- * @param {Function} reducer Original reducer function.
- *
- * @return {Function} Enhanced reducer function.
- */

+const parseCSSVariable = current => {
+  const match = cssVariableRegex.exec(current);
+  if (!match) return [,];
+  const [, token, fallback] = match;
+  return [token, fallback];
+};

-function withPersistentBlockChange(reducer) {
-  let lastAction;
-  let markNextChangeAsNotPersistent = false;
-  return (state, action) => {
-    let nextState = reducer(state, action);
-    const isExplicitPersistentChange = action.type === 'MARK_LAST_CHANGE_AS_PERSISTENT' || markNextChangeAsNotPersistent; // Defer to previous state value (or default) unless changing or
-    // explicitly marking as persistent.
+let namedColorRegex;

-    if (state === nextState && !isExplicitPersistentChange) {
-      var _state$isPersistentCh;
+const rgbaRound = (_, p1, p2, p3, p4) => `rgba(${Math.round(p1)}, ${Math.round(p2)}, ${Math.round(p3)}, ${p4})`;

-      markNextChangeAsNotPersistent = action.type === 'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT';
-      const nextIsPersistentChange = (_state$isPersistentCh = state === null || state === void 0 ? void 0 : state.isPersistentChange) !== null && _state$isPersistentCh !== void 0 ? _state$isPersistentCh : true;
+const createStringInterpolator = config => {
+  if (!namedColorRegex) namedColorRegex = colors$1 ? new RegExp(`(${Object.keys(colors$1).join('|')})(?!\\w)`, 'g') : /^\b$/;
+  const output = config.output.map(value => {
+    return getFluidValue(value).replace(cssVariableRegex, variableToRgba).replace(colorRegex, colorToRgba).replace(namedColorRegex, colorToRgba);
+  });
+  const keyframes = output.map(value => value.match(numberRegex).map(Number));
+  const outputRanges = keyframes[0].map((_, i) => keyframes.map(values => {
+    if (!(i in values)) {
+      throw Error('The arity of each "output" value must be equal');
+    }

-      if (state.isPersistentChange === nextIsPersistentChange) {
-        return state;
-      }
+    return values[i];
+  }));
+  const interpolators = outputRanges.map(output => createInterpolator(react_spring_shared_esm_extends({}, config, {
+    output
+  })));
+  return input => {
+    var _output$find;

-      return { ...nextState,
-        isPersistentChange: nextIsPersistentChange
-      };
-    }
+    const missingUnit = !unitRegex.test(output[0]) && ((_output$find = output.find(value => unitRegex.test(value))) == null ? void 0 : _output$find.replace(numberRegex, ''));
+    let i = 0;
+    return output[0].replace(numberRegex, () => `${interpolators[i++](input)}${missingUnit || ''}`).replace(rgbaRegex, rgbaRound);
+  };
+};

-    nextState = { ...nextState,
-      isPersistentChange: isExplicitPersistentChange ? !markNextChangeAsNotPersistent : !isUpdatingSameBlockAttribute(action, lastAction)
-    }; // In comparing against the previous action, consider only those which
-    // would have qualified as one which would have been ignored or not
-    // have resulted in a changed state.
+const prefix = 'react-spring: ';

-    lastAction = action;
-    markNextChangeAsNotPersistent = action.type === 'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT';
-    return nextState;
+const once = fn => {
+  const func = fn;
+  let called = false;
+
+  if (typeof func != 'function') {
+    throw new TypeError(`${prefix}once requires a function parameter`);
+  }
+
+  return (...args) => {
+    if (!called) {
+      func(...args);
+      called = true;
+    }
   };
+};
+
+const warnInterpolate = once(console.warn);
+function react_spring_shared_esm_deprecateInterpolate() {
+  warnInterpolate(`${prefix}The "interpolate" function is deprecated in v9 (use "to" instead)`);
+}
+const warnDirectCall = once(console.warn);
+function deprecateDirectCall() {
+  warnDirectCall(`${prefix}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`);
 }
-/**
- * Higher-order reducer intended to augment the blocks reducer, assigning an
- * `isIgnoredChange` property value corresponding to whether a change in state
- * can be considered as ignored. A change is considered ignored when the result
- * of an action not incurred by direct user interaction.
- *
- * @param {Function} reducer Original reducer function.
- *
- * @return {Function} Enhanced reducer function.
- */

+function isAnimatedString(value) {
+  return react_spring_shared_esm_is.str(value) && (value[0] == '#' || /\d/.test(value) || !isSSR() && cssVariableRegex.test(value) || value in (colors$1 || {}));
+}

-function withIgnoredBlockChange(reducer) {
-  /**
-   * Set of action types for which a blocks state change should be ignored.
-   *
-   * @type {Set}
-   */
-  const IGNORED_ACTION_TYPES = new Set(['RECEIVE_BLOCKS']);
-  return (state, action) => {
-    const nextState = reducer(state, action);
+const react_spring_shared_esm_useOnce = effect => (0,external_React_.useEffect)(effect, emptyDeps);
+const emptyDeps = [];

-    if (nextState !== state) {
-      nextState.isIgnoredChange = IGNORED_ACTION_TYPES.has(action.type);
+function react_spring_shared_esm_useForceUpdate() {
+  const update = (0,external_React_.useState)()[1];
+  const mounted = (0,external_React_.useState)(makeMountedRef)[0];
+  react_spring_shared_esm_useOnce(mounted.unmount);
+  return () => {
+    if (mounted.current) {
+      update({});
     }
+  };
+}

-    return nextState;
+function makeMountedRef() {
+  const mounted = {
+    current: true,
+    unmount: () => () => {
+      mounted.current = false;
+    }
   };
+  return mounted;
 }
-/**
- * Higher-order reducer targeting the combined blocks reducer, augmenting
- * block client IDs in remove action to include cascade of inner blocks.
- *
- * @param {Function} reducer Original reducer function.
- *
- * @return {Function} Enhanced reducer function.
- */

+function useMemoOne(getResult, inputs) {
+  const [initial] = (0,external_React_.useState)(() => ({
+    inputs,
+    result: getResult()
+  }));
+  const committed = (0,external_React_.useRef)();
+  const prevCache = committed.current;
+  let cache = prevCache;

-const withInnerBlocksRemoveCascade = reducer => (state, action) => {
-  // Gets all children which need to be removed.
-  const getAllChildren = clientIds => {
-    let result = clientIds;
+  if (cache) {
+    const useCache = Boolean(inputs && cache.inputs && areInputsEqual(inputs, cache.inputs));

-    for (let i = 0; i < result.length; i++) {
-      if (!state.order[result[i]] || action.keepControlledInnerBlocks && action.keepControlledInnerBlocks[result[i]]) {
-        continue;
-      }
+    if (!useCache) {
+      cache = {
+        inputs,
+        result: getResult()
+      };
+    }
+  } else {
+    cache = initial;
+  }

-      if (result === clientIds) {
-        result = [...result];
-      }
+  (0,external_React_.useEffect)(() => {
+    committed.current = cache;

-      result.push(...state.order[result[i]]);
+    if (prevCache == initial) {
+      initial.inputs = initial.result = undefined;
     }
+  }, [cache]);
+  return cache.result;
+}

-    return result;
-  };
-
-  if (state) {
-    switch (action.type) {
-      case 'REMOVE_BLOCKS':
-        action = { ...action,
-          type: 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN',
-          removedClientIds: getAllChildren(action.clientIds)
-        };
-        break;
+function areInputsEqual(next, prev) {
+  if (next.length !== prev.length) {
+    return false;
+  }

-      case 'REPLACE_BLOCKS':
-        action = { ...action,
-          type: 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN',
-          replacedClientIds: getAllChildren(action.clientIds)
-        };
-        break;
+  for (let i = 0; i < next.length; i++) {
+    if (next[i] !== prev[i]) {
+      return false;
     }
   }

-  return reducer(state, action);
-};
-/**
- * Higher-order reducer which targets the combined blocks reducer and handles
- * the `RESET_BLOCKS` action. When dispatched, this action will replace all
- * blocks that exist in the post, leaving blocks that exist only in state (e.g.
- * reusable blocks and blocks controlled by inner blocks controllers) alone.
- *
- * @param {Function} reducer Original reducer function.
- *
- * @return {Function} Enhanced reducer function.
- */
+  return true;
+}

+function react_spring_shared_esm_usePrev(value) {
+  const prevRef = (0,external_React_.useRef)();
+  (0,external_React_.useEffect)(() => {
+    prevRef.current = value;
+  });
+  return prevRef.current;
+}

-const withBlockReset = reducer => (state, action) => {
-  if (action.type === 'RESET_BLOCKS') {
-    const newState = { ...state,
-      byClientId: getFlattenedBlocksWithoutAttributes(action.blocks),
-      attributes: getFlattenedBlockAttributes(action.blocks),
-      order: mapBlockOrder(action.blocks),
-      parents: mapBlockParents(action.blocks),
-      controlledInnerBlocks: {}
-    };
-    const subTree = buildBlockTree(newState, action.blocks);
-    newState.tree = { ...subTree,
-      // Root
-      '': {
-        innerBlocks: action.blocks.map(subBlock => subTree[subBlock.clientId])
-      }
-    };
-    return newState;
-  }
+const react_spring_shared_esm_useLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? external_React_.useLayoutEffect : external_React_.useEffect;

-  return reducer(state, action);
-};
-/**
- * Higher-order reducer which targets the combined blocks reducer and handles
- * the `REPLACE_INNER_BLOCKS` action. When dispatched, this action the state
- * should become equivalent to the execution of a `REMOVE_BLOCKS` action
- * containing all the child's of the root block followed by the execution of
- * `INSERT_BLOCKS` with the new blocks.
- *
- * @param {Function} reducer Original reducer function.
- *
- * @return {Function} Enhanced reducer function.
- */


-const withReplaceInnerBlocks = reducer => (state, action) => {
-  if (action.type !== 'REPLACE_INNER_BLOCKS') {
-    return reducer(state, action);
-  } // Finds every nested inner block controller. We must check the action blocks
-  // and not just the block parent state because some inner block controllers
-  // should be deleted if specified, whereas others should not be deleted. If
-  // a controlled should not be deleted, then we need to avoid deleting its
-  // inner blocks from the block state because its inner blocks will not be
-  // attached to the block in the action.
+;// CONCATENATED MODULE: ./node_modules/@react-spring/animated/dist/react-spring-animated.esm.js


-  const nestedControllers = {};

-  if (Object.keys(state.controlledInnerBlocks).length) {
-    const stack = [...action.blocks];

-    while (stack.length) {
-      const {
-        innerBlocks,
-        ...block
-      } = stack.shift();
-      stack.push(...innerBlocks);
+const $node = Symbol.for('Animated:node');
+const isAnimated = value => !!value && value[$node] === value;
+const getAnimated = owner => owner && owner[$node];
+const setAnimated = (owner, node) => defineHidden(owner, $node, node);
+const getPayload = owner => owner && owner[$node] && owner[$node].getPayload();
+class Animated {
+  constructor() {
+    this.payload = void 0;
+    setAnimated(this, this);
+  }

-      if (!!state.controlledInnerBlocks[block.clientId]) {
-        nestedControllers[block.clientId] = true;
-      }
-    }
-  } // The `keepControlledInnerBlocks` prop will keep the inner blocks of the
-  // marked block in the block state so that they can be reattached to the
-  // marked block when we re-insert everything a few lines below.
+  getPayload() {
+    return this.payload || [];
+  }

+}

-  let stateAfterBlocksRemoval = state;
+class AnimatedValue extends Animated {
+  constructor(_value) {
+    super();
+    this.done = true;
+    this.elapsedTime = void 0;
+    this.lastPosition = void 0;
+    this.lastVelocity = void 0;
+    this.v0 = void 0;
+    this.durationProgress = 0;
+    this._value = _value;

-  if (state.order[action.rootClientId]) {
-    stateAfterBlocksRemoval = reducer(stateAfterBlocksRemoval, {
-      type: 'REMOVE_BLOCKS',
-      keepControlledInnerBlocks: nestedControllers,
-      clientIds: state.order[action.rootClientId]
-    });
+    if (react_spring_shared_esm_is.num(this._value)) {
+      this.lastPosition = this._value;
+    }
   }

-  let stateAfterInsert = stateAfterBlocksRemoval;
-
-  if (action.blocks.length) {
-    stateAfterInsert = reducer(stateAfterInsert, { ...action,
-      type: 'INSERT_BLOCKS',
-      index: 0
-    }); // We need to re-attach the block order of the controlled inner blocks.
-    // Otherwise, an inner block controller's blocks will be deleted entirely
-    // from its entity..
+  static create(value) {
+    return new AnimatedValue(value);
+  }

-    stateAfterInsert.order = { ...stateAfterInsert.order,
-      ...Object(external_lodash_["reduce"])(nestedControllers, (result, value, key) => {
-        if (state.order[key]) {
-          result[key] = state.order[key];
-        }
+  getPayload() {
+    return [this];
+  }

-        return result;
-      }, {})
-    };
+  getValue() {
+    return this._value;
   }

-  return stateAfterInsert;
-};
-/**
- * Higher-order reducer which targets the combined blocks reducer and handles
- * the `SAVE_REUSABLE_BLOCK_SUCCESS` action. This action can't be handled by
- * regular reducers and needs a higher-order reducer since it needs access to
- * both `byClientId` and `attributes` simultaneously.
- *
- * @param {Function} reducer Original reducer function.
- *
- * @return {Function} Enhanced reducer function.
- */
+  setValue(value, step) {
+    if (react_spring_shared_esm_is.num(value)) {
+      this.lastPosition = value;

+      if (step) {
+        value = Math.round(value / step) * step;

-const withSaveReusableBlock = reducer => (state, action) => {
-  if (state && action.type === 'SAVE_REUSABLE_BLOCK_SUCCESS') {
-    const {
-      id,
-      updatedId
-    } = action; // If a temporary reusable block is saved, we swap the temporary id with the final one
+        if (this.done) {
+          this.lastPosition = value;
+        }
+      }
+    }

-    if (id === updatedId) {
-      return state;
+    if (this._value === value) {
+      return false;
     }

-    state = { ...state
-    };
-    state.attributes = Object(external_lodash_["mapValues"])(state.attributes, (attributes, clientId) => {
-      const {
-        name
-      } = state.byClientId[clientId];
+    this._value = value;
+    return true;
+  }

-      if (name === 'core/block' && attributes.ref === id) {
-        return { ...attributes,
-          ref: updatedId
-        };
-      }
+  reset() {
+    const {
+      done
+    } = this;
+    this.done = false;

-      return attributes;
-    });
+    if (react_spring_shared_esm_is.num(this._value)) {
+      this.elapsedTime = 0;
+      this.durationProgress = 0;
+      this.lastPosition = this._value;
+      if (done) this.lastVelocity = null;
+      this.v0 = null;
+    }
   }

-  return reducer(state, action);
-};
-/**
- * Higher-order reducer which removes blocks from state when switching parent block controlled state.
- *
- * @param {Function} reducer Original reducer function.
- *
- * @return {Function} Enhanced reducer function.
- */
-
+}

-const withResetControlledBlocks = reducer => (state, action) => {
-  if (action.type === 'SET_HAS_CONTROLLED_INNER_BLOCKS') {
-    // when switching a block from controlled to uncontrolled or inverse,
-    // we need to remove its content first.
-    const tempState = reducer(state, {
-      type: 'REPLACE_INNER_BLOCKS',
-      rootClientId: action.clientId,
-      blocks: []
+class AnimatedString extends AnimatedValue {
+  constructor(value) {
+    super(0);
+    this._string = null;
+    this._toString = void 0;
+    this._toString = createInterpolator({
+      output: [value, value]
     });
-    return reducer(tempState, action);
   }

-  return reducer(state, action);
-};
-/**
- * Reducer returning the blocks state.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */
-
-
-const reducer_blocks = Object(external_lodash_["flow"])(external_wp_data_["combineReducers"], withSaveReusableBlock, // needs to be before withBlockCache
-withBlockTree, // needs to be before withInnerBlocksRemoveCascade
-withInnerBlocksRemoveCascade, withReplaceInnerBlocks, // needs to be after withInnerBlocksRemoveCascade
-withBlockReset, withPersistentBlockChange, withIgnoredBlockChange, withResetControlledBlocks)({
-  byClientId() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;
+  static create(value) {
+    return new AnimatedString(value);
+  }

-    switch (action.type) {
-      case 'RECEIVE_BLOCKS':
-      case 'INSERT_BLOCKS':
-        return { ...state,
-          ...getFlattenedBlocksWithoutAttributes(action.blocks)
-        };
+  getValue() {
+    let value = this._string;
+    return value == null ? this._string = this._toString(this._value) : value;
+  }

-      case 'UPDATE_BLOCK':
-        // Ignore updates if block isn't known
-        if (!state[action.clientId]) {
-          return state;
-        } // Do nothing if only attributes change.
+  setValue(value) {
+    if (react_spring_shared_esm_is.str(value)) {
+      if (value == this._string) {
+        return false;
+      }

+      this._string = value;
+      this._value = 1;
+    } else if (super.setValue(value)) {
+      this._string = null;
+    } else {
+      return false;
+    }

-        const changes = Object(external_lodash_["omit"])(action.updates, 'attributes');
+    return true;
+  }

-        if (Object(external_lodash_["isEmpty"])(changes)) {
-          return state;
-        }
+  reset(goal) {
+    if (goal) {
+      this._toString = createInterpolator({
+        output: [this.getValue(), goal]
+      });
+    }

-        return { ...state,
-          [action.clientId]: { ...state[action.clientId],
-            ...changes
-          }
-        };
+    this._value = 0;
+    super.reset();
+  }

-      case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-        if (!action.blocks) {
-          return state;
-        }
+}

-        return { ...Object(external_lodash_["omit"])(state, action.replacedClientIds),
-          ...getFlattenedBlocksWithoutAttributes(action.blocks)
-        };
+const TreeContext = {
+  dependencies: null
+};

-      case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-        return Object(external_lodash_["omit"])(state, action.removedClientIds);
-    }
+class AnimatedObject extends Animated {
+  constructor(source) {
+    super();
+    this.source = source;
+    this.setValue(source);
+  }

-    return state;
-  },
+  getValue(animated) {
+    const values = {};
+    eachProp(this.source, (source, key) => {
+      if (isAnimated(source)) {
+        values[key] = source.getValue(animated);
+      } else if (hasFluidValue(source)) {
+        values[key] = getFluidValue(source);
+      } else if (!animated) {
+        values[key] = source;
+      }
+    });
+    return values;
+  }

-  attributes() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;
+  setValue(source) {
+    this.source = source;
+    this.payload = this._makePayload(source);
+  }

-    switch (action.type) {
-      case 'RECEIVE_BLOCKS':
-      case 'INSERT_BLOCKS':
-        return { ...state,
-          ...getFlattenedBlockAttributes(action.blocks)
-        };
+  reset() {
+    if (this.payload) {
+      react_spring_shared_esm_each(this.payload, node => node.reset());
+    }
+  }

-      case 'UPDATE_BLOCK':
-        // Ignore updates if block isn't known or there are no attribute changes.
-        if (!state[action.clientId] || !action.updates.attributes) {
-          return state;
-        }
+  _makePayload(source) {
+    if (source) {
+      const payload = new Set();
+      eachProp(source, this._addToPayload, payload);
+      return Array.from(payload);
+    }
+  }

-        return { ...state,
-          [action.clientId]: { ...state[action.clientId],
-            ...action.updates.attributes
-          }
-        };
+  _addToPayload(source) {
+    if (TreeContext.dependencies && hasFluidValue(source)) {
+      TreeContext.dependencies.add(source);
+    }

-      case 'UPDATE_BLOCK_ATTRIBUTES':
-        {
-          // Avoid a state change if none of the block IDs are known.
-          if (action.clientIds.every(id => !state[id])) {
-            return state;
-          }
+    const payload = getPayload(source);

-          const next = action.clientIds.reduce((accumulator, id) => ({ ...accumulator,
-            [id]: Object(external_lodash_["reduce"])(action.uniqueByBlock ? action.attributes[id] : action.attributes, (result, value, key) => {
-              // Consider as updates only changed values.
-              if (value !== result[key]) {
-                result = getMutateSafeObject(state[id], result);
-                result[key] = value;
-              }
+    if (payload) {
+      react_spring_shared_esm_each(payload, node => this.add(node));
+    }
+  }

-              return result;
-            }, state[id])
-          }), {});
+}

-          if (action.clientIds.every(id => next[id] === state[id])) {
-            return state;
-          }
+class AnimatedArray extends AnimatedObject {
+  constructor(source) {
+    super(source);
+  }

-          return { ...state,
-            ...next
-          };
-        }
+  static create(source) {
+    return new AnimatedArray(source);
+  }

-      case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-        if (!action.blocks) {
-          return state;
-        }
+  getValue() {
+    return this.source.map(node => node.getValue());
+  }

-        return { ...Object(external_lodash_["omit"])(state, action.replacedClientIds),
-          ...getFlattenedBlockAttributes(action.blocks)
-        };
+  setValue(source) {
+    const payload = this.getPayload();

-      case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-        return Object(external_lodash_["omit"])(state, action.removedClientIds);
+    if (source.length == payload.length) {
+      return payload.map((node, i) => node.setValue(source[i])).some(Boolean);
     }

-    return state;
-  },
-
-  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':
-        {
-          const blockOrder = mapBlockOrder(action.blocks);
-          return { ...state,
-            ...Object(external_lodash_["omit"])(blockOrder, ''),
-            '': ((state === null || state === void 0 ? void 0 : state['']) || []).concat(blockOrder[''])
-          };
-        }
+    super.setValue(source.map(makeAnimated));
+    return true;
+  }

-      case 'INSERT_BLOCKS':
-        {
-          const {
-            rootClientId = ''
-          } = action;
-          const subState = state[rootClientId] || [];
-          const mappedBlocks = mapBlockOrder(action.blocks, rootClientId);
-          const {
-            index = subState.length
-          } = action;
-          return { ...state,
-            ...mappedBlocks,
-            [rootClientId]: insertAt(subState, mappedBlocks[rootClientId], index)
-          };
-        }
+}

-      case 'MOVE_BLOCKS_TO_POSITION':
-        {
-          const {
-            fromRootClientId = '',
-            toRootClientId = '',
-            clientIds
-          } = action;
-          const {
-            index = state[toRootClientId].length
-          } = action; // Moving inside the same parent block
+function makeAnimated(value) {
+  const nodeType = isAnimatedString(value) ? AnimatedString : AnimatedValue;
+  return nodeType.create(value);
+}

-          if (fromRootClientId === toRootClientId) {
-            const subState = state[toRootClientId];
-            const fromIndex = subState.indexOf(clientIds[0]);
-            return { ...state,
-              [toRootClientId]: moveTo(state[toRootClientId], fromIndex, index, clientIds.length)
-            };
-          } // Moving from a parent block to another
+function getAnimatedType(value) {
+  const parentNode = getAnimated(value);
+  return parentNode ? parentNode.constructor : react_spring_shared_esm_is.arr(value) ? AnimatedArray : isAnimatedString(value) ? AnimatedString : AnimatedValue;
+}

+function react_spring_animated_esm_extends() {
+  react_spring_animated_esm_extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-          return { ...state,
-            [fromRootClientId]: Object(external_lodash_["without"])(state[fromRootClientId], ...clientIds),
-            [toRootClientId]: insertAt(state[toRootClientId], clientIds, index)
-          };
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
         }
+      }
+    }

-      case 'MOVE_BLOCKS_UP':
-        {
-          const {
-            clientIds,
-            rootClientId = ''
-          } = action;
-          const firstClientId = Object(external_lodash_["first"])(clientIds);
-          const subState = state[rootClientId];
-
-          if (!subState.length || firstClientId === Object(external_lodash_["first"])(subState)) {
-            return state;
-          }
+    return target;
+  };

-          const firstIndex = subState.indexOf(firstClientId);
-          return { ...state,
-            [rootClientId]: moveTo(subState, firstIndex, firstIndex - 1, clientIds.length)
-          };
-        }
+  return react_spring_animated_esm_extends.apply(this, arguments);
+}

-      case 'MOVE_BLOCKS_DOWN':
-        {
-          const {
-            clientIds,
-            rootClientId = ''
-          } = action;
-          const firstClientId = Object(external_lodash_["first"])(clientIds);
-          const lastClientId = Object(external_lodash_["last"])(clientIds);
-          const subState = state[rootClientId];
+const withAnimated = (Component, host) => {
+  const hasInstance = !react_spring_shared_esm_is.fun(Component) || Component.prototype && Component.prototype.isReactComponent;
+  return (0,external_React_.forwardRef)((givenProps, givenRef) => {
+    const instanceRef = (0,external_React_.useRef)(null);
+    const ref = hasInstance && (0,external_React_.useCallback)(value => {
+      instanceRef.current = updateRef(givenRef, value);
+    }, [givenRef]);
+    const [props, deps] = getAnimatedState(givenProps, host);
+    const forceUpdate = react_spring_shared_esm_useForceUpdate();

-          if (!subState.length || lastClientId === Object(external_lodash_["last"])(subState)) {
-            return state;
-          }
+    const callback = () => {
+      const instance = instanceRef.current;

-          const firstIndex = subState.indexOf(firstClientId);
-          return { ...state,
-            [rootClientId]: moveTo(subState, firstIndex, firstIndex + 1, clientIds.length)
-          };
-        }
+      if (hasInstance && !instance) {
+        return;
+      }

-      case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-        {
-          const {
-            clientIds
-          } = action;
+      const didUpdate = instance ? host.applyAnimatedValues(instance, props.getValue(true)) : false;

-          if (!action.blocks) {
-            return state;
-          }
+      if (didUpdate === false) {
+        forceUpdate();
+      }
+    };

-          const mappedBlocks = mapBlockOrder(action.blocks);
-          return Object(external_lodash_["flow"])([nextState => Object(external_lodash_["omit"])(nextState, action.replacedClientIds), nextState => ({ ...nextState,
-            ...Object(external_lodash_["omit"])(mappedBlocks, '')
-          }), nextState => Object(external_lodash_["mapValues"])(nextState, subState => Object(external_lodash_["reduce"])(subState, (result, clientId) => {
-            if (clientId === clientIds[0]) {
-              return [...result, ...mappedBlocks['']];
-            }
+    const observer = new PropsObserver(callback, deps);
+    const observerRef = (0,external_React_.useRef)();
+    react_spring_shared_esm_useLayoutEffect(() => {
+      const lastObserver = observerRef.current;
+      observerRef.current = observer;
+      react_spring_shared_esm_each(deps, dep => addFluidObserver(dep, observer));

-            if (clientIds.indexOf(clientId) === -1) {
-              result.push(clientId);
-            }
+      if (lastObserver) {
+        react_spring_shared_esm_each(lastObserver.deps, dep => removeFluidObserver(dep, lastObserver));
+        raf.cancel(lastObserver.update);
+      }
+    });
+    (0,external_React_.useEffect)(callback, []);
+    react_spring_shared_esm_useOnce(() => () => {
+      const observer = observerRef.current;
+      react_spring_shared_esm_each(observer.deps, dep => removeFluidObserver(dep, observer));
+    });
+    const usedProps = host.getComponentProps(props.getValue());
+    return external_React_.createElement(Component, react_spring_animated_esm_extends({}, usedProps, {
+      ref: ref
+    }));
+  });
+};

-            return result;
-          }, []))])(state);
-        }
+class PropsObserver {
+  constructor(update, deps) {
+    this.update = update;
+    this.deps = deps;
+  }

-      case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-        return Object(external_lodash_["flow"])([// Remove inner block ordering for removed blocks
-        nextState => Object(external_lodash_["omit"])(nextState, action.removedClientIds), // Remove deleted blocks from other blocks' orderings
-        nextState => Object(external_lodash_["mapValues"])(nextState, subState => Object(external_lodash_["without"])(subState, ...action.removedClientIds))])(state);
+  eventObserved(event) {
+    if (event.type == 'change') {
+      raf.write(this.update);
     }
+  }

-    return state;
-  },
+}

-  // 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() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;
+function getAnimatedState(props, host) {
+  const dependencies = new Set();
+  TreeContext.dependencies = dependencies;
+  if (props.style) props = react_spring_animated_esm_extends({}, props, {
+    style: host.createAnimatedStyle(props.style)
+  });
+  props = new AnimatedObject(props);
+  TreeContext.dependencies = null;
+  return [props, dependencies];
+}

-    switch (action.type) {
-      case 'RECEIVE_BLOCKS':
-        return { ...state,
-          ...mapBlockParents(action.blocks)
-        };
+function updateRef(ref, value) {
+  if (ref) {
+    if (react_spring_shared_esm_is.fun(ref)) ref(value);else ref.current = value;
+  }

-      case 'INSERT_BLOCKS':
-        return { ...state,
-          ...mapBlockParents(action.blocks, action.rootClientId || '')
-        };
+  return value;
+}

-      case 'MOVE_BLOCKS_TO_POSITION':
-        {
-          return { ...state,
-            ...action.clientIds.reduce((accumulator, id) => {
-              accumulator[id] = action.toRootClientId || '';
-              return accumulator;
-            }, {})
-          };
-        }
+const cacheKey = Symbol.for('AnimatedComponent');
+const createHost = (components, {
+  applyAnimatedValues: _applyAnimatedValues = () => false,
+  createAnimatedStyle: _createAnimatedStyle = style => new AnimatedObject(style),
+  getComponentProps: _getComponentProps = props => props
+} = {}) => {
+  const hostConfig = {
+    applyAnimatedValues: _applyAnimatedValues,
+    createAnimatedStyle: _createAnimatedStyle,
+    getComponentProps: _getComponentProps
+  };

-      case 'REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-        return { ...Object(external_lodash_["omit"])(state, action.replacedClientIds),
-          ...mapBlockParents(action.blocks, state[action.clientIds[0]])
-        };
+  const animated = Component => {
+    const displayName = getDisplayName(Component) || 'Anonymous';

-      case 'REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN':
-        return Object(external_lodash_["omit"])(state, action.removedClientIds);
+    if (react_spring_shared_esm_is.str(Component)) {
+      Component = animated[Component] || (animated[Component] = withAnimated(Component, hostConfig));
+    } else {
+      Component = Component[cacheKey] || (Component[cacheKey] = withAnimated(Component, hostConfig));
     }

-    return state;
-  },
-
-  controlledInnerBlocks() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let {
-      type,
-      clientId,
-      hasControlledInnerBlocks
-    } = arguments.length > 1 ? arguments[1] : undefined;
+    Component.displayName = `Animated(${displayName})`;
+    return Component;
+  };

-    if (type === 'SET_HAS_CONTROLLED_INNER_BLOCKS') {
-      return { ...state,
-        [clientId]: hasControlledInnerBlocks
-      };
+  eachProp(components, (Component, key) => {
+    if (react_spring_shared_esm_is.arr(components)) {
+      key = getDisplayName(Component);
     }

-    return state;
-  }
-
-});
-/**
- * Reducer returning typing state.
- *
- * @param {boolean} state  Current state.
- * @param {Object}  action Dispatched action.
- *
- * @return {boolean} Updated state.
- */
-
-function isTyping() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+    animated[key] = animated(Component);
+  });
+  return {
+    animated
+  };
+};

-  switch (action.type) {
-    case 'START_TYPING':
-      return true;
+const getDisplayName = arg => react_spring_shared_esm_is.str(arg) ? arg : arg && react_spring_shared_esm_is.str(arg.displayName) ? arg.displayName : react_spring_shared_esm_is.fun(arg) && arg.name || null;

-    case 'STOP_TYPING':
-      return false;
-  }

-  return state;
-}
-/**
- * Reducer returning dragged block client id.
- *
- * @param {string[]} state  Current state.
- * @param {Object}   action Dispatched action.
- *
- * @return {string[]} Updated state.
- */

-function draggedBlocks() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+;// CONCATENATED MODULE: ./node_modules/@react-spring/core/dist/react-spring-core.esm.js

-  switch (action.type) {
-    case 'START_DRAGGING_BLOCKS':
-      return action.clientIds;

-    case 'STOP_DRAGGING_BLOCKS':
-      return [];
-  }

-  return state;
-}
-/**
- * Reducer returning whether the caret is within formatted text.
- *
- * @param {boolean} state  Current state.
- * @param {Object}  action Dispatched action.
- *
- * @return {boolean} Updated state.
- */

-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;

-    case 'EXIT_FORMATTED_TEXT':
-      return false;
-  }

-  return state;
-}
-/**
- * Internal helper reducer for selectionStart and selectionEnd. Can hold a block
- * selection, represented by an object with property clientId.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */

-function selectionHelper() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+function react_spring_core_esm_extends() {
+  react_spring_core_esm_extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-  switch (action.type) {
-    case 'CLEAR_SELECTED_BLOCK':
-      {
-        if (state.clientId) {
-          return {};
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
         }
-
-        return state;
       }
+    }

-    case 'SELECT_BLOCK':
-      if (action.clientId === state.clientId) {
-        return state;
-      }
+    return target;
+  };

-      return {
-        clientId: action.clientId
-      };
+  return react_spring_core_esm_extends.apply(this, arguments);
+}

-    case 'REPLACE_INNER_BLOCKS':
-    case 'INSERT_BLOCKS':
-      {
-        if (!action.updateSelection || !action.blocks.length) {
-          return state;
-        }
+function callProp(value, ...args) {
+  return react_spring_shared_esm_is.fun(value) ? value(...args) : value;
+}
+const matchProp = (value, key) => value === true || !!(key && value && (react_spring_shared_esm_is.fun(value) ? value(key) : react_spring_shared_esm_toArray(value).includes(key)));
+const resolveProp = (prop, key) => react_spring_shared_esm_is.obj(prop) ? key && prop[key] : prop;
+const getDefaultProp = (props, key) => props.default === true ? props[key] : props.default ? props.default[key] : undefined;

-        return {
-          clientId: action.blocks[0].clientId
-        };
-      }
+const noopTransform = value => value;

-    case 'REMOVE_BLOCKS':
-      if (!action.clientIds || !action.clientIds.length || action.clientIds.indexOf(state.clientId) === -1) {
-        return state;
-      }
+const getDefaultProps = (props, transform = noopTransform) => {
+  let keys = DEFAULT_PROPS;

-      return {};
+  if (props.default && props.default !== true) {
+    props = props.default;
+    keys = Object.keys(props);
+  }

-    case 'REPLACE_BLOCKS':
-      {
-        if (action.clientIds.indexOf(state.clientId) === -1) {
-          return state;
-        }
+  const defaults = {};

-        const blockToSelect = action.blocks[action.indexToSelect] || action.blocks[action.blocks.length - 1];
+  for (const key of keys) {
+    const value = transform(props[key], key);

-        if (!blockToSelect) {
-          return {};
-        }
+    if (!react_spring_shared_esm_is.und(value)) {
+      defaults[key] = value;
+    }
+  }

-        if (blockToSelect.clientId === state.clientId) {
-          return state;
-        }
+  return defaults;
+};
+const DEFAULT_PROPS = ['config', 'onProps', 'onStart', 'onChange', 'onPause', 'onResume', 'onRest'];
+const RESERVED_PROPS = {
+  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
+};

-        return {
-          clientId: blockToSelect.clientId
-        };
-      }
+function getForwardProps(props) {
+  const forward = {};
+  let count = 0;
+  eachProp(props, (value, prop) => {
+    if (!RESERVED_PROPS[prop]) {
+      forward[prop] = value;
+      count++;
+    }
+  });
+
+  if (count) {
+    return forward;
   }
+}

-  return state;
+function inferTo(props) {
+  const to = getForwardProps(props);
+
+  if (to) {
+    const out = {
+      to
+    };
+    eachProp(props, (val, key) => key in to || (out[key] = val));
+    return out;
+  }
+
+  return react_spring_core_esm_extends({}, props);
 }
-/**
- * Reducer returning the selection state.
- *
- * @param {boolean} state  Current state.
- * @param {Object}  action Dispatched action.
- *
- * @return {boolean} Updated state.
- */
+function computeGoal(value) {
+  value = getFluidValue(value);
+  return react_spring_shared_esm_is.arr(value) ? value.map(computeGoal) : isAnimatedString(value) ? globals.createStringInterpolator({
+    range: [0, 1],
+    output: [value, value]
+  })(1) : value;
+}
+function hasProps(props) {
+  for (const _ in props) return true;

+  return false;
+}
+function isAsyncTo(to) {
+  return react_spring_shared_esm_is.fun(to) || react_spring_shared_esm_is.arr(to) && react_spring_shared_esm_is.obj(to[0]);
+}
+function detachRefs(ctrl, ref) {
+  var _ctrl$ref;

-function selection() {
-  var _state$selectionStart, _state$selectionEnd;
+  (_ctrl$ref = ctrl.ref) == null ? void 0 : _ctrl$ref.delete(ctrl);
+  ref == null ? void 0 : ref.delete(ctrl);
+}
+function replaceRef(ctrl, ref) {
+  if (ref && ctrl.ref !== ref) {
+    var _ctrl$ref2;

-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+    (_ctrl$ref2 = ctrl.ref) == null ? void 0 : _ctrl$ref2.delete(ctrl);
+    ref.add(ctrl);
+    ctrl.ref = ref;
+  }
+}

-  switch (action.type) {
-    case 'SELECTION_CHANGE':
-      return {
-        selectionStart: {
-          clientId: action.clientId,
-          attributeKey: action.attributeKey,
-          offset: action.startOffset
-        },
-        selectionEnd: {
-          clientId: action.clientId,
-          attributeKey: action.attributeKey,
-          offset: action.endOffset
-        }
-      };
+function useChain(refs, timeSteps, timeFrame = 1000) {
+  useLayoutEffect(() => {
+    if (timeSteps) {
+      let prevDelay = 0;
+      each(refs, (ref, i) => {
+        const controllers = ref.current;

-    case 'RESET_SELECTION':
-      const {
-        selectionStart,
-        selectionEnd
-      } = action;
-      return {
-        selectionStart,
-        selectionEnd
-      };
+        if (controllers.length) {
+          let delay = timeFrame * timeSteps[i];
+          if (isNaN(delay)) delay = prevDelay;else prevDelay = delay;
+          each(controllers, ctrl => {
+            each(ctrl.queue, props => {
+              const memoizedDelayProp = props.delay;

-    case 'MULTI_SELECT':
-      const {
-        start,
-        end
-      } = action;
-      return {
-        selectionStart: {
-          clientId: start
-        },
-        selectionEnd: {
-          clientId: end
+              props.delay = key => delay + callProp(memoizedDelayProp || 0, key);
+            });
+          });
+          ref.start();
         }
-      };
+      });
+    } else {
+      let p = Promise.resolve();
+      each(refs, ref => {
+        const controllers = ref.current;

-    case 'RESET_BLOCKS':
-      const startClientId = state === null || state === void 0 ? void 0 : (_state$selectionStart = state.selectionStart) === null || _state$selectionStart === void 0 ? void 0 : _state$selectionStart.clientId;
-      const endClientId = state === null || state === void 0 ? void 0 : (_state$selectionEnd = state.selectionEnd) === null || _state$selectionEnd === void 0 ? void 0 : _state$selectionEnd.clientId; // Do nothing if there's no selected block.
+        if (controllers.length) {
+          const queues = controllers.map(ctrl => {
+            const q = ctrl.queue;
+            ctrl.queue = [];
+            return q;
+          });
+          p = p.then(() => {
+            each(controllers, (ctrl, i) => each(queues[i] || [], update => ctrl.queue.push(update)));
+            return Promise.all(ref.start());
+          });
+        }
+      });
+    }
+  });
+}

-      if (!startClientId && !endClientId) {
-        return state;
-      } // If the start of the selection won't exist after reset, remove selection.
+const config = {
+  default: {
+    tension: 170,
+    friction: 26
+  },
+  gentle: {
+    tension: 120,
+    friction: 14
+  },
+  wobbly: {
+    tension: 180,
+    friction: 12
+  },
+  stiff: {
+    tension: 210,
+    friction: 20
+  },
+  slow: {
+    tension: 280,
+    friction: 60
+  },
+  molasses: {
+    tension: 280,
+    friction: 120
+  }
+};
+const c1 = 1.70158;
+const c2 = c1 * 1.525;
+const c3 = c1 + 1;
+const c4 = 2 * Math.PI / 3;
+const c5 = 2 * Math.PI / 4.5;

+const bounceOut = x => {
+  const n1 = 7.5625;
+  const d1 = 2.75;

-      if (!action.blocks.some(block => block.clientId === startClientId)) {
-        return {
-          selectionStart: {},
-          selectionEnd: {}
-        };
-      } // If the end of the selection won't exist after reset, collapse selection.
+  if (x < 1 / d1) {
+    return n1 * x * x;
+  } else if (x < 2 / d1) {
+    return n1 * (x -= 1.5 / d1) * x + 0.75;
+  } else if (x < 2.5 / d1) {
+    return n1 * (x -= 2.25 / d1) * x + 0.9375;
+  } else {
+    return n1 * (x -= 2.625 / d1) * x + 0.984375;
+  }
+};

+const easings = {
+  linear: x => x,
+  easeInQuad: x => x * x,
+  easeOutQuad: x => 1 - (1 - x) * (1 - x),
+  easeInOutQuad: x => x < 0.5 ? 2 * x * x : 1 - Math.pow(-2 * x + 2, 2) / 2,
+  easeInCubic: x => x * x * x,
+  easeOutCubic: x => 1 - Math.pow(1 - x, 3),
+  easeInOutCubic: x => x < 0.5 ? 4 * x * x * x : 1 - Math.pow(-2 * x + 2, 3) / 2,
+  easeInQuart: x => x * x * x * x,
+  easeOutQuart: x => 1 - Math.pow(1 - x, 4),
+  easeInOutQuart: x => x < 0.5 ? 8 * x * x * x * x : 1 - Math.pow(-2 * x + 2, 4) / 2,
+  easeInQuint: x => x * x * x * x * x,
+  easeOutQuint: x => 1 - Math.pow(1 - x, 5),
+  easeInOutQuint: x => x < 0.5 ? 16 * x * x * x * x * x : 1 - Math.pow(-2 * x + 2, 5) / 2,
+  easeInSine: x => 1 - Math.cos(x * Math.PI / 2),
+  easeOutSine: x => Math.sin(x * Math.PI / 2),
+  easeInOutSine: x => -(Math.cos(Math.PI * x) - 1) / 2,
+  easeInExpo: x => x === 0 ? 0 : Math.pow(2, 10 * x - 10),
+  easeOutExpo: x => x === 1 ? 1 : 1 - Math.pow(2, -10 * x),
+  easeInOutExpo: x => x === 0 ? 0 : x === 1 ? 1 : x < 0.5 ? Math.pow(2, 20 * x - 10) / 2 : (2 - Math.pow(2, -20 * x + 10)) / 2,
+  easeInCirc: x => 1 - Math.sqrt(1 - Math.pow(x, 2)),
+  easeOutCirc: x => Math.sqrt(1 - Math.pow(x - 1, 2)),
+  easeInOutCirc: x => x < 0.5 ? (1 - Math.sqrt(1 - Math.pow(2 * x, 2))) / 2 : (Math.sqrt(1 - Math.pow(-2 * x + 2, 2)) + 1) / 2,
+  easeInBack: x => c3 * x * x * x - c1 * x * x,
+  easeOutBack: x => 1 + c3 * Math.pow(x - 1, 3) + c1 * Math.pow(x - 1, 2),
+  easeInOutBack: x => x < 0.5 ? Math.pow(2 * x, 2) * ((c2 + 1) * 2 * x - c2) / 2 : (Math.pow(2 * x - 2, 2) * ((c2 + 1) * (x * 2 - 2) + c2) + 2) / 2,
+  easeInElastic: x => x === 0 ? 0 : x === 1 ? 1 : -Math.pow(2, 10 * x - 10) * Math.sin((x * 10 - 10.75) * c4),
+  easeOutElastic: x => x === 0 ? 0 : x === 1 ? 1 : Math.pow(2, -10 * x) * Math.sin((x * 10 - 0.75) * c4) + 1,
+  easeInOutElastic: x => x === 0 ? 0 : x === 1 ? 1 : x < 0.5 ? -(Math.pow(2, 20 * x - 10) * Math.sin((20 * x - 11.125) * c5)) / 2 : Math.pow(2, -20 * x + 10) * Math.sin((20 * x - 11.125) * c5) / 2 + 1,
+  easeInBounce: x => 1 - bounceOut(1 - x),
+  easeOutBounce: bounceOut,
+  easeInOutBounce: x => x < 0.5 ? (1 - bounceOut(1 - 2 * x)) / 2 : (1 + bounceOut(2 * x - 1)) / 2
+};

-      if (!action.blocks.some(block => block.clientId === endClientId)) {
-        return { ...state,
-          selectionEnd: state.selectionStart
-        };
-      }
+const defaults = react_spring_core_esm_extends({}, config.default, {
+  mass: 1,
+  damping: 1,
+  easing: easings.linear,
+  clamp: false
+});

+class AnimationConfig {
+  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, defaults);
   }

-  return {
-    selectionStart: selectionHelper(state.selectionStart, action),
-    selectionEnd: selectionHelper(state.selectionEnd, action)
-  };
 }
-/**
- * Reducer returning whether the user is multi-selecting.
- *
- * @param {boolean} state  Current state.
- * @param {Object}  action Dispatched action.
- *
- * @return {boolean} Updated state.
- */
-
-function isMultiSelecting() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+function mergeConfig(config, newConfig, defaultConfig) {
+  if (defaultConfig) {
+    defaultConfig = react_spring_core_esm_extends({}, defaultConfig);
+    sanitizeConfig(defaultConfig, newConfig);
+    newConfig = react_spring_core_esm_extends({}, defaultConfig, newConfig);
+  }

-  switch (action.type) {
-    case 'START_MULTI_SELECT':
-      return true;
+  sanitizeConfig(config, newConfig);
+  Object.assign(config, newConfig);

-    case 'STOP_MULTI_SELECT':
-      return false;
+  for (const key in defaults) {
+    if (config[key] == null) {
+      config[key] = defaults[key];
+    }
   }

-  return state;
-}
-/**
- * Reducer returning whether selection is enabled.
- *
- * @param {boolean} state  Current state.
- * @param {Object}  action Dispatched action.
- *
- * @return {boolean} Updated state.
- */
-
-function isSelectionEnabled() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+  let {
+    mass,
+    frequency,
+    damping
+  } = config;

-  switch (action.type) {
-    case 'TOGGLE_SELECTION':
-      return action.isSelectionEnabled;
+  if (!react_spring_shared_esm_is.und(frequency)) {
+    if (frequency < 0.01) frequency = 0.01;
+    if (damping < 0) damping = 0;
+    config.tension = Math.pow(2 * Math.PI / frequency, 2) * mass;
+    config.friction = 4 * Math.PI * damping * mass / frequency;
   }

-  return state;
+  return config;
 }
-/**
- * Reducer returning the intial block selection.
- *
- * Currently this in only used to restore the selection after block deletion and
- * pasting new content.This reducer should eventually be removed in favour of setting
- * selection directly.
- *
- * @param {boolean} state  Current state.
- * @param {Object}  action Dispatched action.
- *
- * @return {number|null} Initial position: 0, -1 or null.
- */

-function reducer_initialPosition() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+function sanitizeConfig(config, props) {
+  if (!react_spring_shared_esm_is.und(props.decay)) {
+    config.duration = undefined;
+  } else {
+    const isTensionConfig = !react_spring_shared_esm_is.und(props.tension) || !react_spring_shared_esm_is.und(props.friction);

-  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)) {
-    return action.initialPosition;
-  }
+    if (isTensionConfig || !react_spring_shared_esm_is.und(props.frequency) || !react_spring_shared_esm_is.und(props.damping) || !react_spring_shared_esm_is.und(props.mass)) {
+      config.duration = undefined;
+      config.decay = undefined;
+    }

-  return state;
+    if (isTensionConfig) {
+      config.frequency = undefined;
+    }
+  }
 }
-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
-    } = action;
-    return { ...state,
-      [clientId]: state[clientId] && state[clientId] === 'html' ? 'visual' : 'html'
-    };
+const emptyArray = [];
+class Animation {
+  constructor() {
+    this.changed = false;
+    this.values = emptyArray;
+    this.toValues = null;
+    this.fromValues = emptyArray;
+    this.to = void 0;
+    this.from = void 0;
+    this.config = new AnimationConfig();
+    this.immediate = false;
   }

-  return state;
 }
-/**
- * Reducer returning the block insertion point visibility, either null if there
- * is not an explicit insertion point assigned, or an object of its `index` and
- * `rootClientId`.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */

-function insertionPoint() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+function scheduleProps(callId, {
+  key,
+  props,
+  defaultProps,
+  state,
+  actions
+}) {
+  return new Promise((resolve, reject) => {
+    var _props$cancel;

-  switch (action.type) {
-    case 'SHOW_INSERTION_POINT':
-      const {
-        rootClientId,
-        index,
-        __unstableWithInserter
-      } = action;
-      return {
-        rootClientId,
-        index,
-        __unstableWithInserter
-      };
+    let delay;
+    let timeout;
+    let cancel = matchProp((_props$cancel = props.cancel) != null ? _props$cancel : defaultProps == null ? void 0 : defaultProps.cancel, key);

-    case 'HIDE_INSERTION_POINT':
-      return null;
-  }
+    if (cancel) {
+      onStart();
+    } else {
+      if (!react_spring_shared_esm_is.und(props.pause)) {
+        state.paused = matchProp(props.pause, key);
+      }

-  return state;
-}
-/**
- * Reducer returning whether the post blocks match the defined template or not.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {boolean} Updated state.
- */
+      let pause = defaultProps == null ? void 0 : defaultProps.pause;

-function reducer_template() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
-    isValid: true
-  };
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+      if (pause !== true) {
+        pause = state.paused || matchProp(pause, key);
+      }

-  switch (action.type) {
-    case 'SET_TEMPLATE_VALIDITY':
-      return { ...state,
-        isValid: action.isValid
-      };
-  }
+      delay = callProp(props.delay || 0, key);

-  return state;
-}
-/**
- * Reducer returning the editor setting.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */
+      if (pause) {
+        state.resumeQueue.add(onResume);
+        actions.pause();
+      } else {
+        actions.resume();
+        onResume();
+      }
+    }

-function settings() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaults["b" /* SETTINGS_DEFAULTS */];
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+    function onPause() {
+      state.resumeQueue.add(onResume);
+      state.timeouts.delete(timeout);
+      timeout.cancel();
+      delay = timeout.time - raf.now();
+    }

-  switch (action.type) {
-    case 'UPDATE_SETTINGS':
-      return { ...state,
-        ...action.settings
-      };
-  }
+    function onResume() {
+      if (delay > 0 && !globals.skipAnimation) {
+        state.delayed = true;
+        timeout = raf.setTimeout(onStart, delay);
+        state.pauseQueue.add(onPause);
+        state.timeouts.add(timeout);
+      } else {
+        onStart();
+      }
+    }

-  return state;
-}
-/**
- * Reducer returning the user preferences.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {string} Updated state.
- */
+    function onStart() {
+      if (state.delayed) {
+        state.delayed = false;
+      }

-function preferences() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaults["a" /* PREFERENCES_DEFAULTS */];
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+      state.pauseQueue.delete(onPause);
+      state.timeouts.delete(timeout);

-  switch (action.type) {
-    case 'INSERT_BLOCKS':
-    case 'REPLACE_BLOCKS':
-      return action.blocks.reduce((prevState, block) => {
-        const {
-          attributes,
-          name: blockName
-        } = block;
-        const match = Object(external_wp_data_["select"])(external_wp_blocks_["store"]).getActiveBlockVariation(blockName, attributes); // If a block variation match is found change the name to be the same with the
-        // one that is used for block variations in the Inserter (`getItemFromVariation`).
+      if (callId <= (state.cancelId || 0)) {
+        cancel = true;
+      }

-        let id = match !== null && match !== void 0 && match.name ? `${blockName}/${match.name}` : blockName;
-        const insert = {
-          name: id
-        };
+      try {
+        actions.start(react_spring_core_esm_extends({}, props, {
+          callId,
+          cancel
+        }), resolve);
+      } catch (err) {
+        reject(err);
+      }
+    }
+  });
+}

-        if (blockName === 'core/block') {
-          insert.ref = attributes.ref;
-          id += '/' + attributes.ref;
-        }
+const getCombinedResult = (target, results) => results.length == 1 ? results[0] : results.some(result => result.cancelled) ? getCancelledResult(target.get()) : results.every(result => result.noop) ? getNoopResult(target.get()) : getFinishedResult(target.get(), results.every(result => result.finished));
+const getNoopResult = value => ({
+  value,
+  noop: true,
+  finished: true,
+  cancelled: false
+});
+const getFinishedResult = (value, finished, cancelled = false) => ({
+  value,
+  finished,
+  cancelled
+});
+const getCancelledResult = value => ({
+  value,
+  cancelled: true,
+  finished: false
+});

-        return { ...prevState,
-          insertUsage: { ...prevState.insertUsage,
-            [id]: {
-              time: action.time,
-              count: prevState.insertUsage[id] ? prevState.insertUsage[id].count + 1 : 1,
-              insert
-            }
-          }
-        };
-      }, state);
+function runAsync(to, props, state, target) {
+  const {
+    callId,
+    parentId,
+    onRest
+  } = props;
+  const {
+    asyncTo: prevTo,
+    promise: prevPromise
+  } = state;
+
+  if (!parentId && to === prevTo && !props.reset) {
+    return prevPromise;
   }

-  return state;
-}
-/**
- * Reducer returning an object where each key is a block client ID, its value
- * representing the settings for its nested blocks.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */
+  return state.promise = (async () => {
+    state.asyncId = callId;
+    state.asyncTo = to;
+    const defaultProps = getDefaultProps(props, (value, key) => key === 'onRest' ? undefined : value);
+    let preventBail;
+    let bail;
+    const bailPromise = new Promise((resolve, reject) => (preventBail = resolve, bail = reject));

-const blockListSettings = function () {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+    const bailIfEnded = bailSignal => {
+      const bailResult = callId <= (state.cancelId || 0) && getCancelledResult(target) || callId !== state.asyncId && getFinishedResult(target, false);

-  switch (action.type) {
-    // Even if the replaced blocks have the same client ID, our logic
-    // should correct the state.
-    case 'REPLACE_BLOCKS':
-    case 'REMOVE_BLOCKS':
-      {
-        return Object(external_lodash_["omit"])(state, action.clientIds);
+      if (bailResult) {
+        bailSignal.result = bailResult;
+        bail(bailSignal);
+        throw bailSignal;
       }
+    };

-    case 'UPDATE_BLOCK_LIST_SETTINGS':
-      {
-        const {
-          clientId
-        } = action;
+    const animate = (arg1, arg2) => {
+      const bailSignal = new BailSignal();
+      const skipAnimationSignal = new SkipAniamtionSignal();
+      return (async () => {
+        if (globals.skipAnimation) {
+          stopAsync(state);
+          skipAnimationSignal.result = getFinishedResult(target, false);
+          bail(skipAnimationSignal);
+          throw skipAnimationSignal;
+        }

-        if (!action.settings) {
-          if (state.hasOwnProperty(clientId)) {
-            return Object(external_lodash_["omit"])(state, clientId);
+        bailIfEnded(bailSignal);
+        const props = react_spring_shared_esm_is.obj(arg1) ? react_spring_core_esm_extends({}, arg1) : react_spring_core_esm_extends({}, arg2, {
+          to: arg1
+        });
+        props.parentId = callId;
+        eachProp(defaultProps, (value, key) => {
+          if (react_spring_shared_esm_is.und(props[key])) {
+            props[key] = value;
           }
+        });
+        const result = await target.start(props);
+        bailIfEnded(bailSignal);

-          return state;
+        if (state.paused) {
+          await new Promise(resume => {
+            state.resumeQueue.add(resume);
+          });
         }

-        if (Object(external_lodash_["isEqual"])(state[clientId], action.settings)) {
-          return state;
+        return result;
+      })();
+    };
+
+    let result;
+
+    if (globals.skipAnimation) {
+      stopAsync(state);
+      return getFinishedResult(target, false);
+    }
+
+    try {
+      let animating;
+
+      if (react_spring_shared_esm_is.arr(to)) {
+        animating = (async queue => {
+          for (const props of queue) {
+            await animate(props);
+          }
+        })(to);
+      } else {
+          animating = Promise.resolve(to(animate, target.stop.bind(target)));
         }

-        return { ...state,
-          [clientId]: action.settings
-        };
+      await Promise.all([animating.then(preventBail), bailPromise]);
+      result = getFinishedResult(target.get(), true, false);
+    } catch (err) {
+      if (err instanceof BailSignal) {
+        result = err.result;
+      } else if (err instanceof SkipAniamtionSignal) {
+        result = err.result;
+      } else {
+        throw err;
+      }
+    } finally {
+      if (callId == state.asyncId) {
+        state.asyncId = parentId;
+        state.asyncTo = parentId ? prevTo : undefined;
+        state.promise = parentId ? prevPromise : undefined;
       }
+    }
+
+    if (react_spring_shared_esm_is.fun(onRest)) {
+      raf.batchedUpdates(() => {
+        onRest(result, target, target.item);
+      });
+    }
+
+    return result;
+  })();
+}
+function stopAsync(state, cancelId) {
+  flush(state.timeouts, t => t.cancel());
+  state.pauseQueue.clear();
+  state.resumeQueue.clear();
+  state.asyncId = state.asyncTo = state.promise = undefined;
+  if (cancelId) state.cancelId = cancelId;
+}
+class BailSignal 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;
   }

-  return state;
-};
-/**
- * Reducer returning whether the navigation mode is enabled or not.
- *
- * @param {string} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {string} Updated state.
- */
+}
+class SkipAniamtionSignal extends Error {
+  constructor() {
+    super('SkipAnimationSignal');
+    this.result = void 0;
+  }

-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;
+const isFrameValue = value => value instanceof FrameValue;
+let nextId$1 = 1;
+class FrameValue extends FluidValue {
+  constructor(...args) {
+    super(...args);
+    this.id = nextId$1++;
+    this.key = void 0;
+    this._priority = 0;
   }

-  if (action.type === 'SET_NAVIGATION_MODE') {
-    return action.isNavigationMode;
+  get priority() {
+    return this._priority;
   }

-  return state;
-}
-/**
- * Reducer returning whether the block moving mode is enabled or not.
- *
- * @param {string|null} state  Current state.
- * @param {Object}      action Dispatched action.
- *
- * @return {string|null} Updated state.
- */
+  set priority(priority) {
+    if (this._priority != priority) {
+      this._priority = priority;

-function reducer_hasBlockMovingClientId() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+      this._onPriorityChange(priority);
+    }
+  }

-  // Let inserting block always trigger Edit mode.
-  if (action.type === 'SET_BLOCK_MOVING_MODE') {
-    return action.hasBlockMovingClientId;
+  get() {
+    const node = getAnimated(this);
+    return node && node.getValue();
   }

-  if (action.type === 'SET_NAVIGATION_MODE') {
-    return null;
+  to(...args) {
+    return globals.to(this, args);
   }

-  return state;
-}
-/**
- * Reducer return an updated state representing the most recent block attribute
- * update. The state is structured as an object where the keys represent the
- * client IDs of blocks, the values a subset of attributes from the most recent
- * block update. The state is always reset to null if the last action is
- * anything other than an attributes update.
- *
- * @param {Object<string,Object>} state  Current state.
- * @param {Object}                action Action object.
- *
- * @return {[string,Object]} Updated state.
- */
+  interpolate(...args) {
+    react_spring_shared_esm_deprecateInterpolate();
+    return globals.to(this, args);
+  }

-function lastBlockAttributesChange(state, action) {
-  switch (action.type) {
-    case 'UPDATE_BLOCK':
-      if (!action.updates.attributes) {
-        break;
-      }
+  toJSON() {
+    return this.get();
+  }

-      return {
-        [action.clientId]: action.updates.attributes
-      };
+  observerAdded(count) {
+    if (count == 1) this._attach();
+  }

-    case 'UPDATE_BLOCK_ATTRIBUTES':
-      return action.clientIds.reduce((accumulator, id) => ({ ...accumulator,
-        [id]: action.uniqueByBlock ? action.attributes[id] : action.attributes
-      }), {});
+  observerRemoved(count) {
+    if (count == 0) this._detach();
+  }
+
+  _attach() {}
+
+  _detach() {}
+
+  _onChange(value, idle = false) {
+    callFluidObservers(this, {
+      type: 'change',
+      parent: this,
+      value,
+      idle
+    });
+  }
+
+  _onPriorityChange(priority) {
+    if (!this.idle) {
+      frameLoop.sort(this);
+    }
+
+    callFluidObservers(this, {
+      type: 'priority',
+      parent: this,
+      priority
+    });
   }

-  return null;
 }
-/**
- * Reducer returning automatic change state.
- *
- * @param {boolean} state  Current state.
- * @param {Object}  action Dispatched action.
- *
- * @return {string} Updated state.
- */

-function automaticChangeStatus(state, action) {
-  switch (action.type) {
-    case 'MARK_AUTOMATIC_CHANGE':
-      return 'pending';
+const $P = Symbol.for('SpringPhase');
+const HAS_ANIMATED = 1;
+const IS_ANIMATING = 2;
+const IS_PAUSED = 4;
+const hasAnimated = target => (target[$P] & HAS_ANIMATED) > 0;
+const isAnimating = target => (target[$P] & IS_ANIMATING) > 0;
+const isPaused = target => (target[$P] & IS_PAUSED) > 0;
+const setActiveBit = (target, active) => active ? target[$P] |= IS_ANIMATING | HAS_ANIMATED : target[$P] &= ~IS_ANIMATING;
+const setPausedBit = (target, paused) => paused ? target[$P] |= IS_PAUSED : target[$P] &= ~IS_PAUSED;

-    case 'MARK_AUTOMATIC_CHANGE_FINAL':
-      if (state === 'pending') {
-        return 'final';
-      }
+class SpringValue extends FrameValue {
+  constructor(arg1, arg2) {
+    super();
+    this.key = void 0;
+    this.animation = new Animation();
+    this.queue = void 0;
+    this.defaultProps = {};
+    this._state = {
+      paused: false,
+      delayed: false,
+      pauseQueue: new Set(),
+      resumeQueue: new Set(),
+      timeouts: new Set()
+    };
+    this._pendingCalls = new Set();
+    this._lastCallId = 0;
+    this._lastToId = 0;
+    this._memoizedDuration = 0;

-      return;
+    if (!react_spring_shared_esm_is.und(arg1) || !react_spring_shared_esm_is.und(arg2)) {
+      const props = react_spring_shared_esm_is.obj(arg1) ? react_spring_core_esm_extends({}, arg1) : react_spring_core_esm_extends({}, arg2, {
+        from: arg1
+      });

-    case 'SELECTION_CHANGE':
-      // As long as the state is not final, ignore any selection changes.
-      if (state !== 'final') {
-        return state;
+      if (react_spring_shared_esm_is.und(props.default)) {
+        props.default = true;
       }

-      return;
-    // Undoing an automatic change should still be possible after mouse
-    // move.
+      this.start(props);
+    }
+  }
+
+  get idle() {
+    return !(isAnimating(this) || this._state.asyncTo) || isPaused(this);
+  }
+
+  get goal() {
+    return getFluidValue(this.animation.to);
+  }
+
+  get velocity() {
+    const node = getAnimated(this);
+    return node instanceof AnimatedValue ? node.lastVelocity || 0 : node.getPayload().map(node => node.lastVelocity || 0);
+  }

-    case 'START_TYPING':
-    case 'STOP_TYPING':
-      return state;
-  } // Reset the state by default (for any action not handled).
+  get hasAnimated() {
+    return hasAnimated(this);
+  }

-}
-/**
- * Reducer returning current highlighted block.
- *
- * @param {boolean} state  Current highlighted block.
- * @param {Object}  action Dispatched action.
- *
- * @return {string} Updated state.
- */
+  get isAnimating() {
+    return isAnimating(this);
+  }

-function highlightedBlock(state, action) {
-  switch (action.type) {
-    case 'TOGGLE_BLOCK_HIGHLIGHT':
-      const {
-        clientId,
-        isHighlighted
-      } = action;
+  get isPaused() {
+    return isPaused(this);
+  }

-      if (isHighlighted) {
-        return clientId;
-      } else if (state === clientId) {
-        return null;
-      }
+  get isDelayed() {
+    return this._state.delayed;
+  }

-      return state;
+  advance(dt) {
+    let idle = true;
+    let changed = false;
+    const anim = this.animation;
+    let {
+      config,
+      toValues
+    } = anim;
+    const payload = getPayload(anim.to);

-    case 'SELECT_BLOCK':
-      if (action.clientId !== state) {
-        return null;
-      }
+    if (!payload && hasFluidValue(anim.to)) {
+      toValues = react_spring_shared_esm_toArray(getFluidValue(anim.to));
+    }

-  }
+    anim.values.forEach((node, i) => {
+      if (node.done) return;
+      const to = node.constructor == AnimatedString ? 1 : payload ? payload[i].lastPosition : toValues[i];
+      let finished = anim.immediate;
+      let position = to;

-  return state;
-}
-/**
- * Reducer returning the block insertion event list state.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */
+      if (!finished) {
+        position = node.lastPosition;

-function lastBlockInserted() {
-  var _action$meta;
+        if (config.tension <= 0) {
+          node.done = true;
+          return;
+        }

-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+        let elapsed = node.elapsedTime += dt;
+        const from = anim.fromValues[i];
+        const v0 = node.v0 != null ? node.v0 : node.v0 = react_spring_shared_esm_is.arr(config.velocity) ? config.velocity[i] : config.velocity;
+        let velocity;

-  switch (action.type) {
-    case 'INSERT_BLOCKS':
-      if (!action.blocks.length) {
-        return state;
-      }
+        if (!react_spring_shared_esm_is.und(config.duration)) {
+          let p = 1;

-      const clientId = action.blocks[0].clientId;
-      const source = (_action$meta = action.meta) === null || _action$meta === void 0 ? void 0 : _action$meta.source;
-      return {
-        clientId,
-        source
-      };
+          if (config.duration > 0) {
+            if (this._memoizedDuration !== config.duration) {
+              this._memoizedDuration = config.duration;

-    case 'RESET_BLOCKS':
-      return {};
-  }
+              if (node.durationProgress > 0) {
+                node.elapsedTime = config.duration * node.durationProgress;
+                elapsed = node.elapsedTime += dt;
+              }
+            }

-  return state;
-}
-/* harmony default export */ var store_reducer = (Object(external_wp_data_["combineReducers"])({
-  blocks: reducer_blocks,
-  isTyping,
-  draggedBlocks,
-  isCaretWithinFormattedText,
-  selection,
-  isMultiSelecting,
-  isSelectionEnabled,
-  initialPosition: reducer_initialPosition,
-  blocksMode,
-  blockListSettings,
-  insertionPoint,
-  template: reducer_template,
-  settings,
-  preferences,
-  lastBlockAttributesChange,
-  isNavigationMode: reducer_isNavigationMode,
-  hasBlockMovingClientId: reducer_hasBlockMovingClientId,
-  automaticChangeStatus,
-  highlightedBlock,
-  lastBlockInserted
-}));
+            p = (config.progress || 0) + elapsed / this._memoizedDuration;
+            p = p > 1 ? 1 : p < 0 ? 0 : p;
+            node.durationProgress = p;
+          }

-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");
+          position = from + config.easing(p) * (to - from);
+          velocity = (position - node.lastPosition) / dt;
+          finished = p == 1;
+        } else if (config.decay) {
+            const decay = config.decay === true ? 0.998 : config.decay;
+            const e = Math.exp(-(1 - decay) * elapsed);
+            position = from + v0 / (1 - decay) * (1 - e);
+            finished = Math.abs(node.lastPosition - position) < 0.1;
+            velocity = v0 * e;
+          } else {
+              velocity = node.lastVelocity == null ? v0 : node.lastVelocity;
+              const precision = config.precision || (from == to ? 0.005 : Math.min(1, Math.abs(to - from) * 0.001));
+              const restVelocity = config.restVelocity || precision / 10;
+              const bounceFactor = config.clamp ? 0 : config.bounce;
+              const canBounce = !react_spring_shared_esm_is.und(bounceFactor);
+              const isGrowing = from == to ? node.v0 > 0 : from < to;
+              let isMoving;
+              let isBouncing = false;
+              const step = 1;
+              const numSteps = Math.ceil(dt / step);

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+              for (let n = 0; n < numSteps; ++n) {
+                isMoving = Math.abs(velocity) > restVelocity;

-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
+                if (!isMoving) {
+                  finished = Math.abs(to - position) <= precision;

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol.js
-var symbol = __webpack_require__("+WrK");
+                  if (finished) {
+                    break;
+                  }
+                }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/selectors.js
-/**
- * External dependencies
- */
+                if (canBounce) {
+                  isBouncing = position == to || position > to == isGrowing;

+                  if (isBouncing) {
+                    velocity = -velocity * bounceFactor;
+                    position = to;
+                  }
+                }

-/**
- * WordPress dependencies
- */
+                const springForce = -config.tension * 0.000001 * (position - to);
+                const dampingForce = -config.friction * 0.001 * velocity;
+                const acceleration = (springForce + dampingForce) / config.mass;
+                velocity = velocity + acceleration * step;
+                position = position + velocity * step;
+              }
+            }

+        node.lastVelocity = velocity;

+        if (Number.isNaN(position)) {
+          console.warn(`Got NaN while animating:`, this);
+          finished = true;
+        }
+      }

+      if (payload && !payload[i].done) {
+        finished = false;
+      }

+      if (finished) {
+        node.done = true;
+      } else {
+        idle = false;
+      }

-/**
- * A block selection object.
- *
- * @typedef {Object} WPBlockSelection
- *
- * @property {string} clientId     A block client ID.
- * @property {string} attributeKey A block attribute key.
- * @property {number} offset       An attribute value offset, based on the rich
- *                                 text value. See `wp.richText.create`.
- */
-// Module constants
+      if (node.setValue(position, config.round)) {
+        changed = true;
+      }
+    });
+    const node = getAnimated(this);
+    const currVal = node.getValue();

-const MILLISECONDS_PER_HOUR = 3600 * 1000;
-const MILLISECONDS_PER_DAY = 24 * 3600 * 1000;
-const MILLISECONDS_PER_WEEK = 7 * 24 * 3600 * 1000;
-/**
- * Shared reference to an empty array for cases where it is important to avoid
- * returning a new array reference on every invocation, as in a connected or
- * other pure component which performs `shouldComponentUpdate` check on props.
- * This should be used as a last resort, since the normalized data should be
- * maintained by the reducer result in state.
- *
- * @type {Array}
- */
+    if (idle) {
+      const finalVal = getFluidValue(anim.to);

-const EMPTY_ARRAY = [];
-/**
- * Returns a block's name given its client ID, or null if no block exists with
- * the client ID.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {string} Block name.
- */
+      if ((currVal !== finalVal || changed) && !config.decay) {
+        node.setValue(finalVal);

-function getBlockName(state, clientId) {
-  const block = state.blocks.byClientId[clientId];
-  const socialLinkName = 'core/social-link';
+        this._onChange(finalVal);
+      } else if (changed && config.decay) {
+        this._onChange(currVal);
+      }

-  if (external_wp_element_["Platform"].OS !== 'web' && (block === null || block === void 0 ? void 0 : block.name) === socialLinkName) {
-    const attributes = state.blocks.attributes[clientId];
-    const {
-      service
-    } = attributes;
-    return service ? `${socialLinkName}-${service}` : socialLinkName;
+      this._stop();
+    } else if (changed) {
+      this._onChange(currVal);
+    }
   }

-  return block ? block.name : null;
-}
-/**
- * Returns whether a block is valid or not.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {boolean} Is Valid.
- */
+  set(value) {
+    raf.batchedUpdates(() => {
+      this._stop();

-function isBlockValid(state, clientId) {
-  const block = state.blocks.byClientId[clientId];
-  return !!block && block.isValid;
-}
-/**
- * Returns a block's attributes given its client ID, or null if no block exists with
- * the client ID.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {Object?} Block attributes.
- */
+      this._focus(value);

-function getBlockAttributes(state, clientId) {
-  const block = state.blocks.byClientId[clientId];
+      this._set(value);
+    });
+    return this;
+  }

-  if (!block) {
-    return null;
+  pause() {
+    this._update({
+      pause: true
+    });
   }

-  return state.blocks.attributes[clientId];
-}
-/**
- * Returns a block given its client ID. This is a parsed copy of the block,
- * containing its `blockName`, `clientId`, and current `attributes` state. This
- * is not the block's registration settings, which must be retrieved from the
- * blocks module registration store.
- *
- * getBlock recurses through its inner blocks until all its children blocks have
- * been retrieved. Note that getBlock will not return the child inner blocks of
- * an inner block controller. This is because an inner block controller syncs
- * itself with its own entity, and should therefore not be included with the
- * blocks of a different entity. For example, say you call `getBlocks( TP )` to
- * get the blocks of a template part. If another template part is a child of TP,
- * then the nested template part's child blocks will not be returned. This way,
- * the template block itself is considered part of the parent, but the children
- * are not.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {Object} Parsed block object.
- */
+  resume() {
+    this._update({
+      pause: false
+    });
+  }

-function getBlock(state, clientId) {
-  const block = state.blocks.byClientId[clientId];
+  finish() {
+    if (isAnimating(this)) {
+      const {
+        to,
+        config
+      } = this.animation;
+      raf.batchedUpdates(() => {
+        this._onStart();

-  if (!block) {
-    return null;
-  }
+        if (!config.decay) {
+          this._set(to, false);
+        }

-  return state.blocks.tree[clientId];
-}
-const __unstableGetBlockWithoutInnerBlocks = Object(rememo["a" /* default */])((state, clientId) => {
-  const block = state.blocks.byClientId[clientId];
+        this._stop();
+      });
+    }

-  if (!block) {
-    return null;
+    return this;
   }

-  return { ...block,
-    attributes: getBlockAttributes(state, clientId)
-  };
-}, (state, clientId) => [state.blocks.byClientId[clientId], state.blocks.attributes[clientId]]);
-/**
- * Returns all block objects for the current post being edited as an array in
- * the order they appear in the post. Note that this will exclude child blocks
- * of nested inner block controllers.
- *
- * @param {Object}  state        Editor state.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {Object[]} Post blocks.
- */
+  update(props) {
+    const queue = this.queue || (this.queue = []);
+    queue.push(props);
+    return this;
+  }

-function getBlocks(state, rootClientId) {
-  var _state$blocks$tree$tr;
+  start(to, arg2) {
+    let queue;

-  const treeKey = !rootClientId || !areInnerBlocksControlled(state, rootClientId) ? rootClientId || '' : 'controlled||' + rootClientId;
-  return ((_state$blocks$tree$tr = state.blocks.tree[treeKey]) === null || _state$blocks$tree$tr === void 0 ? void 0 : _state$blocks$tree$tr.innerBlocks) || EMPTY_ARRAY;
-}
-/**
- * Returns a stripped down block object containing only its client ID,
- * and its inner blocks' client IDs.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Client ID of the block to get.
- *
- * @return {Object} Client IDs of the post blocks.
- */
+    if (!react_spring_shared_esm_is.und(to)) {
+      queue = [react_spring_shared_esm_is.obj(to) ? to : react_spring_core_esm_extends({}, arg2, {
+        to
+      })];
+    } else {
+      queue = this.queue || [];
+      this.queue = [];
+    }

-const __unstableGetClientIdWithClientIdsTree = Object(rememo["a" /* default */])((state, clientId) => ({
-  clientId,
-  innerBlocks: __unstableGetClientIdsTree(state, clientId)
-}), state => [state.blocks.order]);
-/**
- * Returns the block tree represented in the block-editor store from the
- * given root, consisting of stripped down block objects containing only
- * their client IDs, and their inner blocks' client IDs.
- *
- * @param {Object}  state        Editor state.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {Object[]} Client IDs of the post blocks.
- */
+    return Promise.all(queue.map(props => {
+      const up = this._update(props);

-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.
- *
- * @param {Object} state     Global application state.
- * @param {Array}  clientIds Array of blocks to inspect.
- *
- * @return {Array} ids of descendants.
- */
+      return up;
+    })).then(results => getCombinedResult(this, results));
+  }

-const getClientIdsOfDescendants = (state, clientIds) => Object(external_lodash_["flatMap"])(clientIds, clientId => {
-  const descendants = getBlockOrder(state, clientId);
-  return [...descendants, ...getClientIdsOfDescendants(state, descendants)];
-});
-/**
- * Returns an array containing the clientIds of the top-level blocks
- * and their descendants of any depth (for nested blocks).
- *
- * @param {Object} state Global application state.
- *
- * @return {Array} ids of top-level and descendant blocks.
- */
+  stop(cancel) {
+    const {
+      to
+    } = this.animation;

-const getClientIdsWithDescendants = Object(rememo["a" /* default */])(state => {
-  const topLevelIds = getBlockOrder(state);
-  return [...topLevelIds, ...getClientIdsOfDescendants(state, topLevelIds)];
-}, state => [state.blocks.order]);
-/**
- * Returns the total number of blocks, or the total number of blocks with a specific name in a post.
- * The number returned includes nested blocks.
- *
- * @param {Object}  state     Global application state.
- * @param {?string} blockName Optional block name, if specified only blocks of that type will be counted.
- *
- * @return {number} Number of blocks in the post, or number of blocks with name equal to blockName.
- */
+    this._focus(this.get());

-const getGlobalBlockCount = Object(rememo["a" /* default */])((state, blockName) => {
-  const clientIds = getClientIdsWithDescendants(state);
+    stopAsync(this._state, cancel && this._lastCallId);
+    raf.batchedUpdates(() => this._stop(to, cancel));
+    return this;
+  }

-  if (!blockName) {
-    return clientIds.length;
+  reset() {
+    this._update({
+      reset: true
+    });
   }

-  return Object(external_lodash_["reduce"])(clientIds, (accumulator, clientId) => {
-    const block = state.blocks.byClientId[clientId];
-    return block.name === blockName ? accumulator + 1 : accumulator;
-  }, 0);
-}, state => [state.blocks.order, state.blocks.byClientId]);
-/**
- * Given an array of block client IDs, returns the corresponding array of block
- * objects.
- *
- * @param {Object}   state     Editor state.
- * @param {string[]} clientIds Client IDs for which blocks are to be returned.
- *
- * @return {WPBlock[]} Block objects.
- */
+  eventObserved(event) {
+    if (event.type == 'change') {
+      this._start();
+    } else if (event.type == 'priority') {
+      this.priority = event.priority + 1;
+    }
+  }

-const getBlocksByClientId = Object(rememo["a" /* default */])((state, clientIds) => Object(external_lodash_["map"])(Object(external_lodash_["castArray"])(clientIds), clientId => getBlock(state, clientId)), (state, clientIds) => Object(external_lodash_["map"])(Object(external_lodash_["castArray"])(clientIds), clientId => state.blocks.tree[clientId]));
-/**
- * Returns the number of blocks currently present in the post.
- *
- * @param {Object}  state        Editor state.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {number} Number of blocks in the post.
- */
+  _prepareNode(props) {
+    const key = this.key || '';
+    let {
+      to,
+      from
+    } = props;
+    to = react_spring_shared_esm_is.obj(to) ? to[key] : to;

-function getBlockCount(state, rootClientId) {
-  return getBlockOrder(state, rootClientId).length;
-}
-/**
- * Returns the current selection start block client ID, attribute key and text
- * offset.
- *
- * @param {Object} state Block editor state.
- *
- * @return {WPBlockSelection} Selection start information.
- */
+    if (to == null || isAsyncTo(to)) {
+      to = undefined;
+    }

-function getSelectionStart(state) {
-  return state.selection.selectionStart;
-}
-/**
- * Returns the current selection end block client ID, attribute key and text
- * offset.
- *
- * @param {Object} state Block editor state.
- *
- * @return {WPBlockSelection} Selection end information.
- */
+    from = react_spring_shared_esm_is.obj(from) ? from[key] : from;

-function getSelectionEnd(state) {
-  return state.selection.selectionEnd;
-}
-/**
- * Returns the current block selection start. This value may be null, and it
- * may represent either a singular block selection or multi-selection start.
- * A selection is singular if its start and end match.
- *
- * @param {Object} state Global application state.
- *
- * @return {?string} Client ID of block selection start.
- */
+    if (from == null) {
+      from = undefined;
+    }

-function getBlockSelectionStart(state) {
-  return state.selection.selectionStart.clientId;
-}
-/**
- * Returns the current block selection end. This value may be null, and it
- * may represent either a singular block selection or multi-selection end.
- * A selection is singular if its start and end match.
- *
- * @param {Object} state Global application state.
- *
- * @return {?string} Client ID of block selection end.
- */
+    const range = {
+      to,
+      from
+    };

-function getBlockSelectionEnd(state) {
-  return state.selection.selectionEnd.clientId;
-}
-/**
- * Returns the number of blocks currently selected in the post.
- *
- * @param {Object} state Global application state.
- *
- * @return {number} Number of blocks selected in the post.
- */
+    if (!hasAnimated(this)) {
+      if (props.reverse) [to, from] = [from, to];
+      from = getFluidValue(from);

-function getSelectedBlockCount(state) {
-  const multiSelectedBlockCount = getMultiSelectedBlockClientIds(state).length;
+      if (!react_spring_shared_esm_is.und(from)) {
+        this._set(from);
+      } else if (!getAnimated(this)) {
+          this._set(to);
+        }
+    }

-  if (multiSelectedBlockCount) {
-    return multiSelectedBlockCount;
+    return range;
   }

-  return state.selection.selectionStart.clientId ? 1 : 0;
-}
-/**
- * Returns true if there is a single selected block, or false otherwise.
- *
- * @param {Object} state Editor state.
- *
- * @return {boolean} Whether a single block is selected.
- */
+  _update(_ref, isLoop) {
+    let props = react_spring_core_esm_extends({}, _ref);

-function hasSelectedBlock(state) {
-  const {
-    selectionStart,
-    selectionEnd
-  } = state.selection;
-  return !!selectionStart.clientId && selectionStart.clientId === selectionEnd.clientId;
-}
-/**
- * Returns the currently selected block client ID, or null if there is no
- * selected block.
- *
- * @param {Object} state Editor state.
- *
- * @return {?string} Selected block client ID.
- */
+    const {
+      key,
+      defaultProps
+    } = this;
+    if (props.default) Object.assign(defaultProps, getDefaultProps(props, (value, prop) => /^on/.test(prop) ? resolveProp(value, key) : value));
+    mergeActiveFn(this, props, 'onProps');
+    sendEvent(this, 'onProps', props, this);

-function getSelectedBlockClientId(state) {
-  const {
-    selectionStart,
-    selectionEnd
-  } = state.selection;
-  const {
-    clientId
-  } = selectionStart;
+    const range = this._prepareNode(props);

-  if (!clientId || clientId !== selectionEnd.clientId) {
-    return null;
-  }
+    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?');
+    }

-  return clientId;
-}
-/**
- * Returns the currently selected block, or null if there is no selected block.
- *
- * @param {Object} state Global application state.
- *
- * @return {?Object} Selected block.
- */
+    const state = this._state;
+    return scheduleProps(++this._lastCallId, {
+      key,
+      props,
+      defaultProps,
+      state,
+      actions: {
+        pause: () => {
+          if (!isPaused(this)) {
+            setPausedBit(this, true);
+            flushCalls(state.pauseQueue);
+            sendEvent(this, 'onPause', getFinishedResult(this, checkFinished(this, this.animation.to)), this);
+          }
+        },
+        resume: () => {
+          if (isPaused(this)) {
+            setPausedBit(this, false);

-function getSelectedBlock(state) {
-  const clientId = getSelectedBlockClientId(state);
-  return clientId ? getBlock(state, clientId) : null;
-}
-/**
- * Given a block client ID, returns the root block from which the block is
- * nested, an empty string for top-level blocks, or null if the block does not
- * exist.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block from which to find root client ID.
- *
- * @return {?string} Root client ID, if exists
- */
+            if (isAnimating(this)) {
+              this._resume();
+            }

-function getBlockRootClientId(state, clientId) {
-  return state.blocks.parents[clientId] !== undefined ? state.blocks.parents[clientId] : null;
-}
-/**
- * Given a block client ID, returns the list of all its parents from top to bottom.
- *
- * @param {Object}  state     Editor state.
- * @param {string}  clientId  Block from which to find root client ID.
- * @param {boolean} ascending Order results from bottom to top (true) or top to bottom (false).
- *
- * @return {Array} ClientIDs of the parent blocks.
- */
+            flushCalls(state.resumeQueue);
+            sendEvent(this, 'onResume', getFinishedResult(this, checkFinished(this, this.animation.to)), this);
+          }
+        },
+        start: this._merge.bind(this, range)
+      }
+    }).then(result => {
+      if (props.loop && result.finished && !(isLoop && result.noop)) {
+        const nextProps = createLoopUpdate(props);

-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;
+        if (nextProps) {
+          return this._update(nextProps, true);
+        }
+      }

-  while (!!state.blocks.parents[current]) {
-    current = state.blocks.parents[current];
-    parents.push(current);
+      return result;
+    });
   }

-  return ascending ? parents : parents.reverse();
-}, state => [state.blocks.parents]);
-/**
- * Given a block client ID and a block name, returns the list of all its parents
- * from top to bottom, filtered by the given name(s). For example, if passed
- * 'core/group' as the blockName, it will only return parents which are group
- * blocks. If passed `[ 'core/group', 'core/cover']`, as the blockName, it will
- * return parents which are group blocks and parents which are cover blocks.
- *
- * @param {Object}          state     Editor state.
- * @param {string}          clientId  Block from which to find root client ID.
- * @param {string|string[]} blockName Block name(s) to filter.
- * @param {boolean}         ascending Order results from bottom to top (true) or top to bottom (false).
- *
- * @return {Array} ClientIDs of the parent blocks.
- */
+  _merge(range, props, resolve) {
+    if (props.cancel) {
+      this.stop(true);
+      return resolve(getCancelledResult(this));
+    }

-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)
-  })), _ref => {
-    let {
-      name
-    } = _ref;
+    const hasToProp = !react_spring_shared_esm_is.und(range.to);
+    const hasFromProp = !react_spring_shared_esm_is.und(range.from);

-    if (Array.isArray(blockName)) {
-      return blockName.includes(name);
+    if (hasToProp || hasFromProp) {
+      if (props.callId > this._lastToId) {
+        this._lastToId = props.callId;
+      } else {
+        return resolve(getCancelledResult(this));
+      }
     }

-    return name === blockName;
-  }), _ref2 => {
+    const {
+      key,
+      defaultProps,
+      animation: anim
+    } = this;
+    const {
+      to: prevTo,
+      from: prevFrom
+    } = anim;
     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.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block from which to find root client ID.
- *
- * @return {string} Root client ID
- */
+      to = prevTo,
+      from = prevFrom
+    } = range;

-function getBlockHierarchyRootClientId(state, clientId) {
-  let current = clientId;
-  let parent;
+    if (hasFromProp && !hasToProp && (!props.default || react_spring_shared_esm_is.und(to))) {
+      to = from;
+    }

-  do {
-    parent = current;
-    current = state.blocks.parents[current];
-  } while (current);
+    if (props.reverse) [to, from] = [from, to];
+    const hasFromChanged = !isEqual(from, prevFrom);

-  return parent;
-}
-/**
- * Given a block client ID, returns the lowest common ancestor with selected client ID.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block from which to find common ancestor client ID.
- *
- * @return {string} Common ancestor client ID or undefined
- */
+    if (hasFromChanged) {
+      anim.from = from;
+    }

-function getLowestCommonAncestorWithSelectedBlock(state, clientId) {
-  const selectedId = getSelectedBlockClientId(state);
-  const clientParents = [...getBlockParents(state, clientId), clientId];
-  const selectedParents = [...getBlockParents(state, selectedId), selectedId];
-  let lowestCommonAncestor;
-  const maxDepth = Math.min(clientParents.length, selectedParents.length);
+    from = getFluidValue(from);
+    const hasToChanged = !isEqual(to, prevTo);

-  for (let index = 0; index < maxDepth; index++) {
-    if (clientParents[index] === selectedParents[index]) {
-      lowestCommonAncestor = clientParents[index];
-    } else {
-      break;
+    if (hasToChanged) {
+      this._focus(to);
     }
-  }

-  return lowestCommonAncestor;
-}
-/**
- * Returns the client ID of the block adjacent one at the given reference
- * startClientId and modifier directionality. Defaults start startClientId to
- * the selected block, and direction as next block. Returns null if there is no
- * adjacent block.
- *
- * @param {Object}  state         Editor state.
- * @param {?string} startClientId Optional client ID of block from which to
- *                                search.
- * @param {?number} modifier      Directionality multiplier (1 next, -1
- *                                previous).
- *
- * @return {?string} Return the client ID of the block, or null if none exists.
- */
+    const hasAsyncTo = isAsyncTo(props.to);
+    const {
+      config
+    } = anim;
+    const {
+      decay,
+      velocity
+    } = config;

-function getAdjacentBlockClientId(state, startClientId) {
-  let modifier = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
+    if (hasToProp || hasFromProp) {
+      config.velocity = 0;
+    }

-  // Default to selected block.
-  if (startClientId === undefined) {
-    startClientId = getSelectedBlockClientId(state);
-  } // Try multi-selection starting at extent based on modifier.
+    if (props.config && !hasAsyncTo) {
+      mergeConfig(config, callProp(props.config, key), props.config !== defaultProps.config ? callProp(defaultProps.config, key) : void 0);
+    }

+    let node = getAnimated(this);

-  if (startClientId === undefined) {
-    if (modifier < 0) {
-      startClientId = getFirstMultiSelectedBlockClientId(state);
-    } else {
-      startClientId = getLastMultiSelectedBlockClientId(state);
+    if (!node || react_spring_shared_esm_is.und(to)) {
+      return resolve(getFinishedResult(this, true));
     }
-  } // Validate working start client ID.

+    const reset = react_spring_shared_esm_is.und(props.reset) ? hasFromProp && !props.default : !react_spring_shared_esm_is.und(from) && matchProp(props.reset, key);
+    const value = reset ? from : this.get();
+    const goal = computeGoal(to);
+    const isAnimatable = react_spring_shared_esm_is.num(goal) || react_spring_shared_esm_is.arr(goal) || isAnimatedString(goal);
+    const immediate = !hasAsyncTo && (!isAnimatable || matchProp(defaultProps.immediate || props.immediate, key));

-  if (!startClientId) {
-    return null;
-  } // Retrieve start block root client ID, being careful to allow the falsey
-  // empty string top-level root by explicitly testing against null.
+    if (hasToChanged) {
+      const nodeType = getAnimatedType(to);

+      if (nodeType !== node.constructor) {
+        if (immediate) {
+          node = this._set(goal);
+        } else throw Error(`Cannot animate between ${node.constructor.name} and ${nodeType.name}, as the "to" prop suggests`);
+      }
+    }

-  const rootClientId = getBlockRootClientId(state, startClientId);
+    const goalType = node.constructor;
+    let started = hasFluidValue(to);
+    let finished = false;

-  if (rootClientId === null) {
-    return null;
-  }
+    if (!started) {
+      const hasValueChanged = reset || !hasAnimated(this) && hasFromChanged;

-  const {
-    order
-  } = state.blocks;
-  const orderSet = order[rootClientId];
-  const index = orderSet.indexOf(startClientId);
-  const nextIndex = index + 1 * modifier; // Block was first in set and we're attempting to get previous.
+      if (hasToChanged || hasValueChanged) {
+        finished = isEqual(computeGoal(value), goal);
+        started = !finished;
+      }

-  if (nextIndex < 0) {
-    return null;
-  } // Block was last in set and we're attempting to get next.
+      if (!isEqual(anim.immediate, immediate) && !immediate || !isEqual(config.decay, decay) || !isEqual(config.velocity, velocity)) {
+        started = true;
+      }
+    }

+    if (finished && isAnimating(this)) {
+      if (anim.changed && !reset) {
+        started = true;
+      } else if (!started) {
+          this._stop(prevTo);
+        }
+    }

-  if (nextIndex === orderSet.length) {
-    return null;
-  } // Assume incremented index is within the set.
+    if (!hasAsyncTo) {
+      if (started || hasFluidValue(prevTo)) {
+        anim.values = node.getPayload();
+        anim.toValues = hasFluidValue(to) ? null : goalType == AnimatedString ? [1] : react_spring_shared_esm_toArray(goal);
+      }

+      if (anim.immediate != immediate) {
+        anim.immediate = immediate;

-  return orderSet[nextIndex];
-}
-/**
- * Returns the previous block's client ID from the given reference start ID.
- * Defaults start to the selected block. Returns null if there is no previous
- * block.
- *
- * @param {Object}  state         Editor state.
- * @param {?string} startClientId Optional client ID of block from which to
- *                                search.
- *
- * @return {?string} Adjacent block's client ID, or null if none exists.
- */
+        if (!immediate && !reset) {
+          this._set(prevTo);
+        }
+      }

-function getPreviousBlockClientId(state, startClientId) {
-  return getAdjacentBlockClientId(state, startClientId, -1);
-}
-/**
- * Returns the next block's client ID from the given reference start ID.
- * Defaults start to the selected block. Returns null if there is no next
- * block.
- *
- * @param {Object}  state         Editor state.
- * @param {?string} startClientId Optional client ID of block from which to
- *                                search.
- *
- * @return {?string} Adjacent block's client ID, or null if none exists.
- */
+      if (started) {
+        const {
+          onRest
+        } = anim;
+        react_spring_shared_esm_each(ACTIVE_EVENTS, type => mergeActiveFn(this, props, type));
+        const result = getFinishedResult(this, checkFinished(this, prevTo));
+        flushCalls(this._pendingCalls, result);

-function getNextBlockClientId(state, startClientId) {
-  return getAdjacentBlockClientId(state, startClientId, 1);
-}
-/* eslint-disable jsdoc/valid-types */
+        this._pendingCalls.add(resolve);

-/**
- * Returns the initial caret position for the selected block.
- * This position is to used to position the caret properly when the selected block changes.
- * If the current block is not a RichText, having initial position set to 0 means "focus block"
- *
- * @param {Object} state Global application state.
- *
- * @return {0|-1|null} Initial position.
- */
+        if (anim.changed) raf.batchedUpdates(() => {
+          anim.changed = !reset;
+          onRest == null ? void 0 : onRest(result, this);

-function getSelectedBlocksInitialCaretPosition(state) {
-  /* eslint-enable jsdoc/valid-types */
-  return state.initialPosition;
-}
-/**
- * Returns the current selection set of block client IDs (multiselection or single selection).
- *
- * @param {Object} state Editor state.
- *
- * @return {Array} Multi-selected block client IDs.
- */
+          if (reset) {
+            callProp(defaultProps.onRest, result);
+          } else {
+              anim.onStart == null ? void 0 : anim.onStart(result, this);
+            }
+        });
+      }
+    }

-const getSelectedBlockClientIds = Object(rememo["a" /* default */])(state => {
-  const {
-    selectionStart,
-    selectionEnd
-  } = state.selection;
+    if (reset) {
+      this._set(value);
+    }

-  if (selectionStart.clientId === undefined || selectionEnd.clientId === undefined) {
-    return EMPTY_ARRAY;
+    if (hasAsyncTo) {
+      resolve(runAsync(props.to, props, this._state, this));
+    } else if (started) {
+        this._start();
+      } else if (isAnimating(this) && !hasToChanged) {
+          this._pendingCalls.add(resolve);
+        } else {
+            resolve(getNoopResult(value));
+          }
   }

-  if (selectionStart.clientId === selectionEnd.clientId) {
-    return [selectionStart.clientId];
-  } // Retrieve root client ID to aid in retrieving relevant nested block
-  // order, being careful to allow the falsey empty string top-level root
-  // by explicitly testing against null.
+  _focus(value) {
+    const anim = this.animation;

+    if (value !== anim.to) {
+      if (getFluidObservers(this)) {
+        this._detach();
+      }

-  const rootClientId = getBlockRootClientId(state, selectionStart.clientId);
+      anim.to = value;

-  if (rootClientId === null) {
-    return EMPTY_ARRAY;
+      if (getFluidObservers(this)) {
+        this._attach();
+      }
+    }
   }

-  const blockOrder = getBlockOrder(state, rootClientId);
-  const startIndex = blockOrder.indexOf(selectionStart.clientId);
-  const endIndex = blockOrder.indexOf(selectionEnd.clientId);
-
-  if (startIndex > endIndex) {
-    return blockOrder.slice(endIndex, startIndex + 1);
-  }
+  _attach() {
+    let priority = 0;
+    const {
+      to
+    } = this.animation;

-  return blockOrder.slice(startIndex, endIndex + 1);
-}, state => [state.blocks.order, state.selection.selectionStart.clientId, state.selection.selectionEnd.clientId]);
-/**
- * Returns the current multi-selection set of block client IDs, or an empty
- * array if there is no multi-selection.
- *
- * @param {Object} state Editor state.
- *
- * @return {Array} Multi-selected block client IDs.
- */
+    if (hasFluidValue(to)) {
+      addFluidObserver(to, this);

-function getMultiSelectedBlockClientIds(state) {
-  const {
-    selectionStart,
-    selectionEnd
-  } = state.selection;
+      if (isFrameValue(to)) {
+        priority = to.priority + 1;
+      }
+    }

-  if (selectionStart.clientId === selectionEnd.clientId) {
-    return EMPTY_ARRAY;
+    this.priority = priority;
   }

-  return getSelectedBlockClientIds(state);
-}
-/**
- * Returns the current multi-selection set of blocks, or an empty array if
- * there is no multi-selection.
- *
- * @param {Object} state Editor state.
- *
- * @return {Array} Multi-selected block objects.
- */
-
-const getMultiSelectedBlocks = Object(rememo["a" /* default */])(state => {
-  const multiSelectedBlockClientIds = getMultiSelectedBlockClientIds(state);
+  _detach() {
+    const {
+      to
+    } = this.animation;

-  if (!multiSelectedBlockClientIds.length) {
-    return EMPTY_ARRAY;
+    if (hasFluidValue(to)) {
+      removeFluidObserver(to, this);
+    }
   }

-  return multiSelectedBlockClientIds.map(clientId => getBlock(state, clientId));
-}, state => [...getSelectedBlockClientIds.getDependants(state), state.blocks.byClientId, state.blocks.order, state.blocks.attributes]);
-/**
- * Returns the client ID of the first block in the multi-selection set, or null
- * if there is no multi-selection.
- *
- * @param {Object} state Editor state.
- *
- * @return {?string} First block client ID in the multi-selection set.
- */
-
-function getFirstMultiSelectedBlockClientId(state) {
-  return Object(external_lodash_["first"])(getMultiSelectedBlockClientIds(state)) || null;
-}
-/**
- * Returns the client ID of the last block in the multi-selection set, or null
- * if there is no multi-selection.
- *
- * @param {Object} state Editor state.
- *
- * @return {?string} Last block client ID in the multi-selection set.
- */
+  _set(arg, idle = true) {
+    const value = getFluidValue(arg);

-function getLastMultiSelectedBlockClientId(state) {
-  return Object(external_lodash_["last"])(getMultiSelectedBlockClientIds(state)) || null;
-}
-/**
- * Returns true if a multi-selection exists, and the block corresponding to the
- * specified client ID is the first block of the multi-selection set, or false
- * otherwise.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {boolean} Whether block is first in multi-selection.
- */
+    if (!react_spring_shared_esm_is.und(value)) {
+      const oldNode = getAnimated(this);

-function isFirstMultiSelectedBlock(state, clientId) {
-  return getFirstMultiSelectedBlockClientId(state) === clientId;
-}
-/**
- * Returns true if the client ID occurs within the block multi-selection, or
- * false otherwise.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {boolean} Whether block is in multi-selection set.
- */
+      if (!oldNode || !isEqual(value, oldNode.getValue())) {
+        const nodeType = getAnimatedType(value);

-function isBlockMultiSelected(state, clientId) {
-  return getMultiSelectedBlockClientIds(state).indexOf(clientId) !== -1;
-}
-/**
- * Returns true if an ancestor of the block is multi-selected, or false
- * otherwise.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {boolean} Whether an ancestor of the block is in multi-selection
- *                   set.
- */
+        if (!oldNode || oldNode.constructor != nodeType) {
+          setAnimated(this, nodeType.create(value));
+        } else {
+          oldNode.setValue(value);
+        }

-const isAncestorMultiSelected = Object(rememo["a" /* default */])((state, clientId) => {
-  let ancestorClientId = clientId;
-  let isMultiSelected = false;
+        if (oldNode) {
+          raf.batchedUpdates(() => {
+            this._onChange(value, idle);
+          });
+        }
+      }
+    }

-  while (ancestorClientId && !isMultiSelected) {
-    ancestorClientId = getBlockRootClientId(state, ancestorClientId);
-    isMultiSelected = isBlockMultiSelected(state, ancestorClientId);
+    return getAnimated(this);
   }

-  return isMultiSelected;
-}, state => [state.blocks.order, state.selection.selectionStart.clientId, state.selection.selectionEnd.clientId]);
-/**
- * Returns the client ID of the block which begins the multi-selection set, or
- * null if there is no multi-selection.
- *
- * This is not necessarily the first client ID in the selection.
- *
- * @see getFirstMultiSelectedBlockClientId
- *
- * @param {Object} state Editor state.
- *
- * @return {?string} Client ID of block beginning multi-selection.
- */
-
-function getMultiSelectedBlocksStartClientId(state) {
-  const {
-    selectionStart,
-    selectionEnd
-  } = state.selection;
+  _onStart() {
+    const anim = this.animation;

-  if (selectionStart.clientId === selectionEnd.clientId) {
-    return null;
+    if (!anim.changed) {
+      anim.changed = true;
+      sendEvent(this, 'onStart', getFinishedResult(this, checkFinished(this, anim.to)), this);
+    }
   }

-  return selectionStart.clientId || null;
-}
-/**
- * Returns the client ID of the block which ends the multi-selection set, or
- * null if there is no multi-selection.
- *
- * This is not necessarily the last client ID in the selection.
- *
- * @see getLastMultiSelectedBlockClientId
- *
- * @param {Object} state Editor state.
- *
- * @return {?string} Client ID of block ending multi-selection.
- */
+  _onChange(value, idle) {
+    if (!idle) {
+      this._onStart();

-function getMultiSelectedBlocksEndClientId(state) {
-  const {
-    selectionStart,
-    selectionEnd
-  } = state.selection;
+      callProp(this.animation.onChange, value, this);
+    }

-  if (selectionStart.clientId === selectionEnd.clientId) {
-    return null;
+    callProp(this.defaultProps.onChange, value, this);
+
+    super._onChange(value, idle);
   }

-  return selectionEnd.clientId || null;
-}
-/**
- * Returns an array containing all block client IDs in the editor in the order
- * they appear. Optionally accepts a root client ID of the block list for which
- * the order should be returned, defaulting to the top-level block order.
- *
- * @param {Object}  state        Editor state.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {Array} Ordered client IDs of editor blocks.
- */
+  _start() {
+    const anim = this.animation;
+    getAnimated(this).reset(getFluidValue(anim.to));

-function getBlockOrder(state, rootClientId) {
-  return state.blocks.order[rootClientId || ''] || EMPTY_ARRAY;
-}
-/**
- * Returns the index at which the block corresponding to the specified client
- * ID occurs within the block order, or `-1` if the block does not exist.
- *
- * @param {Object}  state        Editor state.
- * @param {string}  clientId     Block client ID.
- *
- * @return {number} Index at which block exists in order.
- */
+    if (!anim.immediate) {
+      anim.fromValues = anim.values.map(node => node.lastPosition);
+    }

-function getBlockIndex(state, clientId) {
-  const rootClientId = getBlockRootClientId(state, clientId);
-  return getBlockOrder(state, rootClientId).indexOf(clientId);
-}
-/**
- * Returns true if the block corresponding to the specified client ID is
- * currently selected and no multi-selection exists, or false otherwise.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {boolean} Whether block is selected and multi-selection exists.
- */
+    if (!isAnimating(this)) {
+      setActiveBit(this, true);

-function isBlockSelected(state, clientId) {
-  const {
-    selectionStart,
-    selectionEnd
-  } = state.selection;
+      if (!isPaused(this)) {
+        this._resume();
+      }
+    }
+  }

-  if (selectionStart.clientId !== selectionEnd.clientId) {
-    return false;
+  _resume() {
+    if (globals.skipAnimation) {
+      this.finish();
+    } else {
+      frameLoop.start(this);
+    }
   }

-  return selectionStart.clientId === clientId;
-}
-/**
- * Returns true if one of the block's inner blocks is selected.
- *
- * @param {Object}  state    Editor state.
- * @param {string}  clientId Block client ID.
- * @param {boolean} deep     Perform a deep check.
- *
- * @return {boolean} Whether the block as an inner block selected
- */
+  _stop(goal, cancel) {
+    if (isAnimating(this)) {
+      setActiveBit(this, false);
+      const anim = this.animation;
+      react_spring_shared_esm_each(anim.values, node => {
+        node.done = true;
+      });

-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));
-}
-/**
- * Returns true if the block corresponding to the specified client ID is
- * currently selected but isn't the last of the selected blocks. Here "last"
- * refers to the block sequence in the document, _not_ the sequence of
- * multi-selection, which is why `state.selectionEnd` isn't used.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {boolean} Whether block is selected and not the last in the
- *                   selection.
- */
+      if (anim.toValues) {
+        anim.onChange = anim.onPause = anim.onResume = undefined;
+      }

-function isBlockWithinSelection(state, clientId) {
-  if (!clientId) {
-    return false;
+      callFluidObservers(this, {
+        type: 'idle',
+        parent: this
+      });
+      const result = cancel ? getCancelledResult(this.get()) : getFinishedResult(this.get(), checkFinished(this, goal != null ? goal : anim.to));
+      flushCalls(this._pendingCalls, result);
+
+      if (anim.changed) {
+        anim.changed = false;
+        sendEvent(this, 'onRest', result, this);
+      }
+    }
   }

-  const clientIds = getMultiSelectedBlockClientIds(state);
-  const index = clientIds.indexOf(clientId);
-  return index > -1 && index < clientIds.length - 1;
 }
-/**
- * Returns true if a multi-selection has been made, or false otherwise.
- *
- * @param {Object} state Editor state.
- *
- * @return {boolean} Whether multi-selection has been made.
- */

-function hasMultiSelection(state) {
-  const {
-    selectionStart,
-    selectionEnd
-  } = state.selection;
-  return selectionStart.clientId !== selectionEnd.clientId;
+function checkFinished(target, to) {
+  const goal = computeGoal(to);
+  const value = computeGoal(target.get());
+  return isEqual(value, goal);
 }
-/**
- * Whether in the process of multi-selecting or not. This flag is only true
- * while the multi-selection is being selected (by mouse move), and is false
- * once the multi-selection has been settled.
- *
- * @see hasMultiSelection
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} True if multi-selecting, false if not.
- */

-function selectors_isMultiSelecting(state) {
-  return state.isMultiSelecting;
-}
-/**
- * Selector that returns if multi-selection is enabled or not.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} True if it should be possible to multi-select blocks, false if multi-selection is disabled.
- */
+function createLoopUpdate(props, loop = props.loop, to = props.to) {
+  let loopRet = callProp(loop);

-function selectors_isSelectionEnabled(state) {
-  return state.isSelectionEnabled;
+  if (loopRet) {
+    const overrides = loopRet !== true && inferTo(loopRet);
+    const reverse = (overrides || props).reverse;
+    const reset = !overrides || overrides.reset;
+    return createUpdate(react_spring_core_esm_extends({}, props, {
+      loop,
+      default: false,
+      pause: undefined,
+      to: !reverse || isAsyncTo(to) ? to : undefined,
+      from: reset ? props.from : undefined,
+      reset
+    }, overrides));
+  }
 }
-/**
- * Returns the block's editing mode, defaulting to "visual" if not explicitly
- * assigned.
- *
- * @param {Object} state    Editor state.
- * @param {string} clientId Block client ID.
- *
- * @return {Object} Block editing mode.
- */
-
-function getBlockMode(state, clientId) {
-  return state.blocksMode[clientId] || 'visual';
+function createUpdate(props) {
+  const {
+    to,
+    from
+  } = props = inferTo(props);
+  const keys = new Set();
+  if (react_spring_shared_esm_is.obj(to)) findDefined(to, keys);
+  if (react_spring_shared_esm_is.obj(from)) findDefined(from, keys);
+  props.keys = keys.size ? Array.from(keys) : null;
+  return props;
 }
-/**
- * Returns true if the user is typing, or false otherwise.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether user is typing.
- */
+function declareUpdate(props) {
+  const update = createUpdate(props);

-function selectors_isTyping(state) {
-  return state.isTyping;
-}
-/**
- * Returns true if the user is dragging blocks, or false otherwise.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether user is dragging blocks.
- */
+  if (react_spring_shared_esm_is.und(update.default)) {
+    update.default = getDefaultProps(update);
+  }

-function isDraggingBlocks(state) {
-  return !!state.draggedBlocks.length;
+  return update;
 }
-/**
- * Returns the client ids of any blocks being directly dragged.
- *
- * This does not include children of a parent being dragged.
- *
- * @param {Object} state Global application state.
- *
- * @return {string[]} Array of dragged block client ids.
- */

-function getDraggedBlockClientIds(state) {
-  return state.draggedBlocks;
+function findDefined(values, keys) {
+  eachProp(values, (value, key) => value != null && keys.add(key));
 }
-/**
- * Returns whether the block is being dragged.
- *
- * Only returns true if the block is being directly dragged,
- * not if the block is a child of a parent being dragged.
- * See `isAncestorBeingDragged` for child blocks.
- *
- * @param {Object} state    Global application state.
- * @param {string} clientId Client id for block to check.
- *
- * @return {boolean} Whether the block is being dragged.
- */

-function isBlockBeingDragged(state, clientId) {
-  return state.draggedBlocks.includes(clientId);
+const ACTIVE_EVENTS = ['onStart', 'onRest', 'onChange', 'onPause', 'onResume'];
+
+function mergeActiveFn(target, props, type) {
+  target.animation[type] = props[type] !== getDefaultProp(props, type) ? resolveProp(props[type], target.key) : undefined;
 }
-/**
- * Returns whether a parent/ancestor of the block is being dragged.
- *
- * @param {Object} state    Global application state.
- * @param {string} clientId Client id for block to check.
- *
- * @return {boolean} Whether the block's ancestor is being dragged.
- */

-function isAncestorBeingDragged(state, clientId) {
-  // Return early if no blocks are being dragged rather than
-  // the more expensive check for parents.
-  if (!isDraggingBlocks(state)) {
-    return false;
-  }
+function sendEvent(target, type, ...args) {
+  var _target$animation$typ, _target$animation, _target$defaultProps$, _target$defaultProps;

-  const parents = getBlockParents(state, clientId);
-  return Object(external_lodash_["some"])(parents, parentClientId => isBlockBeingDragged(state, parentClientId));
+  (_target$animation$typ = (_target$animation = target.animation)[type]) == null ? void 0 : _target$animation$typ.call(_target$animation, ...args);
+  (_target$defaultProps$ = (_target$defaultProps = target.defaultProps)[type]) == null ? void 0 : _target$defaultProps$.call(_target$defaultProps, ...args);
 }
-/**
- * Returns true if the caret is within formatted text, or false otherwise.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the caret is within formatted text.
- */

-function selectors_isCaretWithinFormattedText(state) {
-  return state.isCaretWithinFormattedText;
-}
-/**
- * Returns the insertion point, the index at which the new inserted block would
- * be placed. Defaults to the last index.
- *
- * @param {Object} state Editor state.
- *
- * @return {Object} Insertion point object with `rootClientId`, `index`.
- */
+const BATCHED_EVENTS = ['onStart', 'onChange', 'onRest'];
+let nextId = 1;
+class Controller {
+  constructor(props, flush) {
+    this.id = nextId++;
+    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 = false;
+    this._item = void 0;
+    this._state = {
+      paused: false,
+      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);

-function getBlockInsertionPoint(state) {
-  let rootClientId, index;
-  const {
-    insertionPoint,
-    selection: {
-      selectionEnd
+    if (flush) {
+      this._flush = flush;
     }
-  } = state;

-  if (insertionPoint !== null) {
-    return insertionPoint;
+    if (props) {
+      this.start(react_spring_core_esm_extends({
+        default: true
+      }, props));
+    }
   }

-  const {
-    clientId
-  } = selectionEnd;
-
-  if (clientId) {
-    rootClientId = getBlockRootClientId(state, clientId) || undefined;
-    index = getBlockIndex(state, selectionEnd.clientId, rootClientId) + 1;
-  } else {
-    index = getBlockOrder(state).length;
+  get idle() {
+    return !this._state.asyncTo && Object.values(this.springs).every(spring => {
+      return spring.idle && !spring.isDelayed && !spring.isPaused;
+    });
   }

-  return {
-    rootClientId,
-    index
-  };
-}
-/**
- * Returns true if we should show the block insertion point.
- *
- * @param {Object} state Global application state.
- *
- * @return {?boolean} Whether the insertion point is visible or not.
- */
-
-function isBlockInsertionPointVisible(state) {
-  return state.insertionPoint !== null;
-}
-/**
- * Returns whether the blocks matches the template or not.
- *
- * @param {boolean} state
- * @return {?boolean} Whether the template is valid or not.
- */
-
-function selectors_isValidTemplate(state) {
-  return state.template.isValid;
-}
-/**
- * Returns the defined block template
- *
- * @param {boolean} state
- *
- * @return {?Array} Block Template.
- */
+  get item() {
+    return this._item;
+  }

-function getTemplate(state) {
-  return state.settings.template;
-}
-/**
- * Returns the defined block template lock. Optionally accepts a root block
- * client ID as context, otherwise defaulting to the global context.
- *
- * @param {Object}  state        Editor state.
- * @param {?string} rootClientId Optional block root client ID.
- *
- * @return {?string} Block Template Lock
- */
+  set item(item) {
+    this._item = item;
+  }

-function getTemplateLock(state, rootClientId) {
-  if (!rootClientId) {
-    return state.settings.templateLock;
+  get() {
+    const values = {};
+    this.each((spring, key) => values[key] = spring.get());
+    return values;
   }

-  const blockListSettings = getBlockListSettings(state, rootClientId);
+  set(values) {
+    for (const key in values) {
+      const value = values[key];

-  if (!blockListSettings) {
-    return null;
+      if (!react_spring_shared_esm_is.und(value)) {
+        this.springs[key].set(value);
+      }
+    }
   }

-  return blockListSettings.templateLock;
-}
+  update(props) {
+    if (props) {
+      this.queue.push(createUpdate(props));
+    }

-const checkAllowList = function (list, item) {
-  let defaultResult = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
+    return this;
+  }

-  if (Object(external_lodash_["isBoolean"])(list)) {
-    return list;
+  start(props) {
+    let {
+      queue
+    } = this;
+
+    if (props) {
+      queue = react_spring_shared_esm_toArray(props).map(createUpdate);
+    } else {
+      this.queue = [];
+    }
+
+    if (this._flush) {
+      return this._flush(this, queue);
+    }
+
+    prepareKeys(this, queue);
+    return flushUpdateQueue(this, queue);
   }

-  if (Object(external_lodash_["isArray"])(list)) {
-    // TODO: when there is a canonical way to detect that we are editing a post
-    // the following check should be changed to something like:
-    // if ( list.includes( 'core/post-content' ) && getEditorMode() === 'post-content' && item === null )
-    if (list.includes('core/post-content') && item === null) {
-      return true;
+  stop(arg, keys) {
+    if (arg !== !!arg) {
+      keys = arg;
     }

-    return list.includes(item);
+    if (keys) {
+      const springs = this.springs;
+      react_spring_shared_esm_each(react_spring_shared_esm_toArray(keys), key => springs[key].stop(!!arg));
+    } else {
+      stopAsync(this._state, this._lastAsyncId);
+      this.each(spring => spring.stop(!!arg));
+    }
+
+    return this;
   }

-  return defaultResult;
-};
-/**
- * Determines if the given block type is allowed to be inserted into the block list.
- * This function is not exported and not memoized because using a memoized selector
- * inside another memoized selector is just a waste of time.
- *
- * @param {Object}        state        Editor state.
- * @param {string|Object} blockName    The block type object, e.g., the response
- *                                     from the block directory; or a string name of
- *                                     an installed block type, e.g.' core/paragraph'.
- * @param {?string}       rootClientId Optional root client ID of block list.
- *
- * @return {boolean} Whether the given block type is allowed to be inserted.
- */
+  pause(keys) {
+    if (react_spring_shared_esm_is.und(keys)) {
+      this.start({
+        pause: true
+      });
+    } else {
+      const springs = this.springs;
+      react_spring_shared_esm_each(react_spring_shared_esm_toArray(keys), key => springs[key].pause());
+    }

+    return this;
+  }

-const canInsertBlockTypeUnmemoized = function (state, blockName) {
-  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
-  let blockType;
+  resume(keys) {
+    if (react_spring_shared_esm_is.und(keys)) {
+      this.start({
+        pause: false
+      });
+    } else {
+      const springs = this.springs;
+      react_spring_shared_esm_each(react_spring_shared_esm_toArray(keys), key => springs[key].resume());
+    }

-  if (blockName && 'object' === typeof blockName) {
-    blockType = blockName;
-    blockName = blockType.name;
-  } else {
-    blockType = Object(external_wp_blocks_["getBlockType"])(blockName);
+    return this;
   }

-  if (!blockType) {
-    return false;
+  each(iterator) {
+    eachProp(this.springs, iterator);
   }

-  const {
-    allowedBlockTypes
-  } = getSettings(state);
-  const isBlockAllowedInEditor = checkAllowList(allowedBlockTypes, blockName, true);
+  _onFrame() {
+    const {
+      onStart,
+      onChange,
+      onRest
+    } = this._events;
+    const active = this._active.size > 0;
+    const changed = this._changed.size > 0;

-  if (!isBlockAllowedInEditor) {
-    return false;
-  }
+    if (active && !this._started || changed && !this._started) {
+      this._started = true;
+      flush(onStart, ([onStart, result]) => {
+        result.value = this.get();
+        onStart(result, this, this._item);
+      });
+    }

-  const isLocked = !!getTemplateLock(state, rootClientId);
+    const idle = !active && this._started;
+    const values = changed || idle && onRest.size ? this.get() : null;

-  if (isLocked) {
-    return false;
+    if (changed && onChange.size) {
+      flush(onChange, ([onChange, result]) => {
+        result.value = values;
+        onChange(result, this, this._item);
+      });
+    }
+
+    if (idle) {
+      this._started = false;
+      flush(onRest, ([onRest, result]) => {
+        result.value = values;
+        onRest(result, this, this._item);
+      });
+    }
   }

-  const parentBlockListSettings = getBlockListSettings(state, rootClientId); // The parent block doesn't have settings indicating it doesn't support
-  // inner blocks, return false.
+  eventObserved(event) {
+    if (event.type == 'change') {
+      this._changed.add(event.parent);

-  if (rootClientId && parentBlockListSettings === undefined) {
-    return false;
+      if (!event.idle) {
+        this._active.add(event.parent);
+      }
+    } else if (event.type == 'idle') {
+      this._active.delete(event.parent);
+    } else return;
+
+    raf.onFrame(this._onFrame);
   }

-  const parentAllowedBlocks = parentBlockListSettings === null || parentBlockListSettings === void 0 ? void 0 : parentBlockListSettings.allowedBlocks;
-  const hasParentAllowedBlock = checkAllowList(parentAllowedBlocks, blockName);
-  const blockAllowedParentBlocks = blockType.parent;
-  const parentName = getBlockName(state, rootClientId);
-  const hasBlockAllowedParent = checkAllowList(blockAllowedParentBlocks, parentName);
-  const canInsert = hasParentAllowedBlock === null && hasBlockAllowedParent === null || hasParentAllowedBlock === true || hasBlockAllowedParent === true;
+}
+function flushUpdateQueue(ctrl, queue) {
+  return Promise.all(queue.map(props => flushUpdate(ctrl, props))).then(results => getCombinedResult(ctrl, results));
+}
+async function flushUpdate(ctrl, props, isLoop) {
+  const {
+    keys,
+    to,
+    from,
+    loop,
+    onRest,
+    onResolve
+  } = props;
+  const defaults = react_spring_shared_esm_is.obj(props.default) && props.default;

-  if (!canInsert) {
-    return canInsert;
+  if (loop) {
+    props.loop = false;
   }
-  /**
-   * This filter is an ad-hoc solution to prevent adding template parts inside post content.
-   * Conceptually, having a filter inside a selector is bad pattern so this code will be
-   * replaced by a declarative API that doesn't the following drawbacks:
-   *
-   * Filters are not reactive: Upon switching between "template mode" and non "template mode",
-   * the filter and selector won't necessarily be executed again. For now, it doesn't matter much
-   * because you can't switch between the two modes while the inserter stays open.
-   *
-   * Filters are global: Once they're defined, they will affect all editor instances and all registries.
-   * An ideal API would only affect specific editor instances.
-   */

+  if (to === false) props.to = null;
+  if (from === false) props.from = null;
+  const asyncTo = react_spring_shared_esm_is.arr(to) || react_spring_shared_esm_is.fun(to) ? to : undefined;

-  return Object(external_wp_hooks_["applyFilters"])('blockEditor.__unstableCanInsertBlockType', canInsert, blockType, rootClientId, {
-    // Pass bound selectors of the current registry. If we're in a nested
-    // context, the data will differ from the one selected from the root
-    // registry.
-    getBlock: getBlock.bind(null, state),
-    getBlockParentsByBlockName: getBlockParentsByBlockName.bind(null, state)
-  });
-};
-/**
- * Determines if the given block type is allowed to be inserted into the block list.
- *
- * @param {Object}  state        Editor state.
- * @param {string}  blockName    The name of the block type, e.g.' core/paragraph'.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {boolean} Whether the given block type is allowed to be inserted.
- */
+  if (asyncTo) {
+    props.to = undefined;
+    props.onRest = undefined;

+    if (defaults) {
+      defaults.onRest = undefined;
+    }
+  } else {
+      react_spring_shared_esm_each(BATCHED_EVENTS, key => {
+        const handler = props[key];

-const canInsertBlockType = Object(rememo["a" /* default */])(canInsertBlockTypeUnmemoized, (state, blockName, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId[rootClientId], state.settings.allowedBlockTypes, state.settings.templateLock]);
-/**
- * Determines if the given blocks are allowed to be inserted into the block
- * list.
- *
- * @param {Object}  state        Editor state.
- * @param {string}  clientIds    The block client IDs to be inserted.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {boolean} Whether the given blocks are allowed to be inserted.
- */
+        if (react_spring_shared_esm_is.fun(handler)) {
+          const queue = ctrl['_events'][key];

-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));
-}
-/**
- * Determines if the given block is allowed to be deleted.
- *
- * @param {Object}  state        Editor state.
- * @param {string}  clientId     The block client Id.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {boolean} Whether the given block is allowed to be removed.
- */
+          props[key] = ({
+            finished,
+            cancelled
+          }) => {
+            const result = queue.get(handler);

-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 (result) {
+              if (!finished) result.finished = false;
+              if (cancelled) result.cancelled = true;
+            } else {
+              queue.set(handler, {
+                value: null,
+                finished: finished || false,
+                cancelled: cancelled || false
+              });
+            }
+          };

-  if (attributes === null) {
-    return true;
+          if (defaults) {
+            defaults[key] = props[key];
+          }
+        }
+      });
+    }
+
+  const state = ctrl['_state'];
+
+  if (props.pause === !state.paused) {
+    state.paused = props.pause;
+    flushCalls(props.pause ? state.pauseQueue : state.resumeQueue);
+  } else if (state.paused) {
+      props.pause = true;
+    }
+
+  const promises = (keys || Object.keys(ctrl.springs)).map(key => ctrl.springs[key].start(props));
+  const cancel = props.cancel === true || getDefaultProp(props, 'cancel') === true;
+
+  if (asyncTo || cancel && state.asyncId) {
+    promises.push(scheduleProps(++ctrl['_lastAsyncId'], {
+      props,
+      state,
+      actions: {
+        pause: noop,
+        resume: noop,
+
+        start(props, resolve) {
+          if (cancel) {
+            stopAsync(state, ctrl['_lastAsyncId']);
+            resolve(getCancelledResult(ctrl));
+          } else {
+            props.onRest = onRest;
+            resolve(runAsync(asyncTo, props, state, ctrl));
+          }
+        }
+
+      }
+    }));
   }

-  const {
-    lock
-  } = attributes;
-  const parentIsLocked = !!getTemplateLock(state, rootClientId); // If we don't have a lock on the blockType level, we differ to the parent templateLock.
+  if (state.paused) {
+    await new Promise(resume => {
+      state.resumeQueue.add(resume);
+    });
+  }

-  if (lock === undefined || (lock === null || lock === void 0 ? void 0 : lock.remove) === undefined) {
-    return !parentIsLocked;
-  } // when remove is true, it means we cannot remove it.
+  const result = getCombinedResult(ctrl, await Promise.all(promises));

+  if (loop && result.finished && !(isLoop && result.noop)) {
+    const nextProps = createLoopUpdate(props, loop, to);

-  return !(lock !== null && lock !== void 0 && lock.remove);
-}
-/**
- * Determines if the given blocks are allowed to be removed.
- *
- * @param {Object}  state        Editor state.
- * @param {string}  clientIds    The block client IDs to be removed.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {boolean} Whether the given blocks are allowed to be removed.
- */
+    if (nextProps) {
+      prepareKeys(ctrl, [nextProps]);
+      return flushUpdate(ctrl, nextProps, true);
+    }
+  }

-function selectors_canRemoveBlocks(state, clientIds) {
-  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
-  return clientIds.every(clientId => canRemoveBlock(state, clientId, rootClientId));
+  if (onResolve) {
+    raf.batchedUpdates(() => onResolve(result, ctrl, ctrl.item));
+  }
+
+  return result;
 }
-/**
- * Determines if the given block is allowed to be moved.
- *
- * @param {Object}  state        Editor state.
- * @param {string}  clientId     The block client Id.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {boolean} Whether the given block is allowed to be moved.
- */
+function getSprings(ctrl, props) {
+  const springs = react_spring_core_esm_extends({}, ctrl.springs);

-function canMoveBlock(state, clientId) {
-  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
-  const attributes = getBlockAttributes(state, clientId);
+  if (props) {
+    react_spring_shared_esm_each(react_spring_shared_esm_toArray(props), props => {
+      if (react_spring_shared_esm_is.und(props.keys)) {
+        props = createUpdate(props);
+      }

-  if (attributes === null) {
-    return;
+      if (!react_spring_shared_esm_is.obj(props.to)) {
+        props = react_spring_core_esm_extends({}, props, {
+          to: undefined
+        });
+      }
+
+      prepareSprings(springs, props, key => {
+        return createSpring(key);
+      });
+    });
   }

-  const {
-    lock
-  } = attributes;
-  const parentIsLocked = getTemplateLock(state, rootClientId) === 'all'; // If we don't have a lock on the blockType level, we differ to the parent templateLock.
+  setSprings(ctrl, springs);
+  return springs;
+}
+function setSprings(ctrl, springs) {
+  eachProp(springs, (spring, key) => {
+    if (!ctrl.springs[key]) {
+      ctrl.springs[key] = spring;
+      addFluidObserver(spring, ctrl);
+    }
+  });
+}

-  if (lock === undefined || (lock === null || lock === void 0 ? void 0 : lock.move) === undefined) {
-    return !parentIsLocked;
-  } // when move is true, it means we cannot move it.
+function createSpring(key, observer) {
+  const spring = new SpringValue();
+  spring.key = key;

+  if (observer) {
+    addFluidObserver(spring, observer);
+  }

-  return !(lock !== null && lock !== void 0 && lock.move);
+  return spring;
 }
-/**
- * Determines if the given blocks are allowed to be moved.
- *
- * @param {Object}  state        Editor state.
- * @param {string}  clientIds    The block client IDs to be moved.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {boolean} Whether the given blocks are allowed to be moved.
- */

-function selectors_canMoveBlocks(state, clientIds) {
-  let rootClientId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
-  return clientIds.every(clientId => canMoveBlock(state, clientId, rootClientId));
+function prepareSprings(springs, props, create) {
+  if (props.keys) {
+    react_spring_shared_esm_each(props.keys, key => {
+      const spring = springs[key] || (springs[key] = create(key));
+      spring['_prepareNode'](props);
+    });
+  }
 }
-/**
- * Returns information about how recently and frequently a block has been inserted.
- *
- * @param {Object} state Global application state.
- * @param {string} id    A string which identifies the insert, e.g. 'core/block/12'
- *
- * @return {?{ time: number, count: number }} An object containing `time` which is when the last
- *                                            insert occurred as a UNIX epoch, and `count` which is
- *                                            the number of inserts that have occurred.
- */
-
-function getInsertUsage(state, id) {
-  var _state$preferences$in, _state$preferences$in2;

-  return (_state$preferences$in = (_state$preferences$in2 = state.preferences.insertUsage) === null || _state$preferences$in2 === void 0 ? void 0 : _state$preferences$in2[id]) !== null && _state$preferences$in !== void 0 ? _state$preferences$in : null;
+function prepareKeys(ctrl, queue) {
+  react_spring_shared_esm_each(queue, props => {
+    prepareSprings(ctrl.springs, props, key => {
+      return createSpring(key, ctrl);
+    });
+  });
 }
-/**
- * Returns whether we can show a block type in the inserter
- *
- * @param {Object}  state        Global State
- * @param {Object}  blockType    BlockType
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {boolean} Whether the given block type is allowed to be shown in the inserter.
- */

+function _objectWithoutPropertiesLoose(source, excluded) {
+  if (source == null) return {};
+  var target = {};
+  var sourceKeys = Object.keys(source);
+  var key, i;

-const canIncludeBlockTypeInInserter = (state, blockType, rootClientId) => {
-  if (!Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'inserter', true)) {
-    return false;
+  for (i = 0; i < sourceKeys.length; i++) {
+    key = sourceKeys[i];
+    if (excluded.indexOf(key) >= 0) continue;
+    target[key] = source[key];
   }

-  return canInsertBlockTypeUnmemoized(state, blockType.name, rootClientId);
-};
-/**
- * Return a function to be used to tranform a block variation to an inserter item
- *
- * @param {Object} state Global State
- * @param {Object} item  Denormalized inserter item
- * @return {Function} Function to transform a block variation to inserter item
- */
+  return target;
+}

+const _excluded$3 = ["children"];
+const SpringContext = _ref => {
+  let {
+    children
+  } = _ref,
+      props = _objectWithoutPropertiesLoose(_ref, _excluded$3);

-const getItemFromVariation = (state, item) => variation => {
-  const variationId = `${item.id}/${variation.name}`;
+  const inherited = (0,external_React_.useContext)(ctx);
+  const pause = props.pause || !!inherited.pause,
+        immediate = props.immediate || !!inherited.immediate;
+  props = useMemoOne(() => ({
+    pause,
+    immediate
+  }), [pause, immediate]);
   const {
-    time,
-    count = 0
-  } = getInsertUsage(state, variationId) || {};
-  return { ...item,
-    id: variationId,
-    icon: variation.icon || item.icon,
-    title: variation.title || item.title,
-    description: variation.description || item.description,
-    category: variation.category || item.category,
-    // If `example` is explicitly undefined for the variation, the preview will not be shown.
-    example: variation.hasOwnProperty('example') ? variation.example : item.example,
-    initialAttributes: { ...item.initialAttributes,
-      ...variation.attributes
-    },
-    innerBlocks: variation.innerBlocks,
-    keywords: variation.keywords || item.keywords,
-    frecency: calculateFrecency(time, count)
+    Provider
+  } = ctx;
+  return external_React_.createElement(Provider, {
+    value: props
+  }, children);
+};
+const ctx = makeContext(SpringContext, {});
+SpringContext.Provider = ctx.Provider;
+SpringContext.Consumer = ctx.Consumer;
+
+function makeContext(target, init) {
+  Object.assign(target, external_React_.createContext(init));
+  target.Provider._context = target;
+  target.Consumer._context = target;
+  return target;
+}
+
+const SpringRef = () => {
+  const current = [];
+
+  const SpringRef = function SpringRef(props) {
+    deprecateDirectCall();
+    const results = [];
+    react_spring_shared_esm_each(current, (ctrl, i) => {
+      if (react_spring_shared_esm_is.und(props)) {
+        results.push(ctrl.start());
+      } else {
+        const update = _getProps(props, ctrl, i);
+
+        if (update) {
+          results.push(ctrl.start(update));
+        }
+      }
+    });
+    return results;
+  };
+
+  SpringRef.current = current;
+
+  SpringRef.add = function (ctrl) {
+    if (!current.includes(ctrl)) {
+      current.push(ctrl);
+    }
   };
-};
-/**
- * Returns the calculated frecency.
- *
- * 'frecency' is a heuristic (https://en.wikipedia.org/wiki/Frecency)
- * that combines block usage frequenty and recency.
- *
- * @param {number} time  When the last insert occurred as a UNIX epoch
- * @param {number} count The number of inserts that have occurred.
- *
- * @return {number} The calculated frecency.
- */

+  SpringRef.delete = function (ctrl) {
+    const i = current.indexOf(ctrl);
+    if (~i) current.splice(i, 1);
+  };

-const calculateFrecency = (time, count) => {
-  if (!time) {
-    return count;
-  } // The selector is cached, which means Date.now() is the last time that the
-  // relevant state changed. This suits our needs.
+  SpringRef.pause = function () {
+    react_spring_shared_esm_each(current, ctrl => ctrl.pause(...arguments));
+    return this;
+  };

+  SpringRef.resume = function () {
+    react_spring_shared_esm_each(current, ctrl => ctrl.resume(...arguments));
+    return this;
+  };

-  const duration = Date.now() - time;
+  SpringRef.set = function (values) {
+    react_spring_shared_esm_each(current, ctrl => ctrl.set(values));
+  };

-  switch (true) {
-    case duration < MILLISECONDS_PER_HOUR:
-      return count * 4;
+  SpringRef.start = function (props) {
+    const results = [];
+    react_spring_shared_esm_each(current, (ctrl, i) => {
+      if (react_spring_shared_esm_is.und(props)) {
+        results.push(ctrl.start());
+      } else {
+        const update = this._getProps(props, ctrl, i);

-    case duration < MILLISECONDS_PER_DAY:
-      return count * 2;
+        if (update) {
+          results.push(ctrl.start(update));
+        }
+      }
+    });
+    return results;
+  };

-    case duration < MILLISECONDS_PER_WEEK:
-      return count / 2;
+  SpringRef.stop = function () {
+    react_spring_shared_esm_each(current, ctrl => ctrl.stop(...arguments));
+    return this;
+  };

-    default:
-      return count / 4;
-  }
-};
-/**
- * Returns a function that accepts a block type and builds an item to be shown
- * in a specific context. It's used for building items for Inserter and available
- * block Transfroms list.
- *
- * @param {Object} state              Editor state.
- * @param {Object} options            Options object for handling the building of a block type.
- * @param {string} options.buildScope The scope for which the item is going to be used.
- * @return {Function} Function returns an item to be shown in a specific context (Inserter|Transforms list).
- */
+  SpringRef.update = function (props) {
+    react_spring_shared_esm_each(current, (ctrl, i) => ctrl.update(this._getProps(props, ctrl, i)));
+    return this;
+  };

+  const _getProps = function _getProps(arg, ctrl, index) {
+    return react_spring_shared_esm_is.fun(arg) ? arg(index, ctrl) : arg;
+  };

-const buildBlockTypeItem = (state, _ref3) => {
-  let {
-    buildScope = 'inserter'
-  } = _ref3;
-  return blockType => {
-    const id = blockType.name;
-    let isDisabled = false;
+  SpringRef._getProps = _getProps;
+  return SpringRef;
+};

-    if (!Object(external_wp_blocks_["hasBlockSupport"])(blockType.name, 'multiple', true)) {
-      isDisabled = Object(external_lodash_["some"])(getBlocksByClientId(state, getClientIdsWithDescendants(state)), {
-        name: blockType.name
+function useSprings(length, props, deps) {
+  const propsFn = react_spring_shared_esm_is.fun(props) && props;
+  if (propsFn && !deps) deps = [];
+  const ref = (0,external_React_.useMemo)(() => propsFn || arguments.length == 3 ? SpringRef() : void 0, []);
+  const layoutId = (0,external_React_.useRef)(0);
+  const forceUpdate = react_spring_shared_esm_useForceUpdate();
+  const state = (0,external_React_.useMemo)(() => ({
+    ctrls: [],
+    queue: [],
+
+    flush(ctrl, updates) {
+      const springs = getSprings(ctrl, updates);
+      const canFlushSync = layoutId.current > 0 && !state.queue.length && !Object.keys(springs).some(key => !ctrl.springs[key]);
+      return canFlushSync ? flushUpdateQueue(ctrl, updates) : new Promise(resolve => {
+        setSprings(ctrl, springs);
+        state.queue.push(() => {
+          resolve(flushUpdateQueue(ctrl, updates));
+        });
+        forceUpdate();
       });
     }

+  }), []);
+  const ctrls = (0,external_React_.useRef)([...state.ctrls]);
+  const updates = [];
+  const prevLength = react_spring_shared_esm_usePrev(length) || 0;
+  (0,external_React_.useMemo)(() => {
+    react_spring_shared_esm_each(ctrls.current.slice(length, prevLength), ctrl => {
+      detachRefs(ctrl, ref);
+      ctrl.stop(true);
+    });
+    ctrls.current.length = length;
+    declareUpdates(prevLength, length);
+  }, [length]);
+  (0,external_React_.useMemo)(() => {
+    declareUpdates(0, Math.min(prevLength, length));
+  }, deps);
+
+  function declareUpdates(startIndex, endIndex) {
+    for (let i = startIndex; i < endIndex; i++) {
+      const ctrl = ctrls.current[i] || (ctrls.current[i] = new Controller(null, state.flush));
+      const update = propsFn ? propsFn(i, ctrl) : props[i];
+
+      if (update) {
+        updates[i] = declareUpdate(update);
+      }
+    }
+  }
+
+  const springs = ctrls.current.map((ctrl, i) => getSprings(ctrl, updates[i]));
+  const context = (0,external_React_.useContext)(SpringContext);
+  const prevContext = react_spring_shared_esm_usePrev(context);
+  const hasContext = context !== prevContext && hasProps(context);
+  react_spring_shared_esm_useLayoutEffect(() => {
+    layoutId.current++;
+    state.ctrls = ctrls.current;
     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
+      queue
+    } = state;

-    };
-  };
-};
-/**
- * Determines the items that appear in the inserter. Includes both static
- * items (e.g. a regular block type) and dynamic items (e.g. a reusable block).
- *
- * Each item object contains what's necessary to display a button in the
- * inserter and handle its selection.
- *
- * The 'frecency' property is a heuristic (https://en.wikipedia.org/wiki/Frecency)
- * that combines block usage frequenty and recency.
- *
- * Items are returned ordered descendingly by their 'utility' and 'frecency'.
- *
- * @param    {Object}   state             Editor state.
- * @param    {?string}  rootClientId      Optional root client ID of block list.
- *
- * @return {WPEditorInserterItem[]} Items that appear in inserter.
- *
- * @typedef {Object} WPEditorInserterItem
- * @property {string}   id                Unique identifier for the item.
- * @property {string}   name              The type of block to create.
- * @property {Object}   initialAttributes Attributes to pass to the newly created block.
- * @property {string}   title             Title of the item, as it appears in the inserter.
- * @property {string}   icon              Dashicon for the item, as it appears in the inserter.
- * @property {string}   category          Block category that the item is associated with.
- * @property {string[]} keywords          Keywords that can be searched to find this item.
- * @property {boolean}  isDisabled        Whether or not the user should be prevented from inserting
- *                                        this item.
- * @property {number}   frecency          Heuristic that combines frequency and recency.
- */
+    if (queue.length) {
+      state.queue = [];
+      react_spring_shared_esm_each(queue, cb => cb());
+    }

+    react_spring_shared_esm_each(ctrls.current, (ctrl, i) => {
+      ref == null ? void 0 : ref.add(ctrl);

-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'
+      if (hasContext) {
+        ctrl.start({
+          default: context
+        });
+      }
+
+      const update = updates[i];
+
+      if (update) {
+        replaceRef(ctrl, update.ref);
+
+        if (ctrl.ref) {
+          ctrl.queue.push(update);
+        } else {
+          ctrl.start(update);
+        }
+      }
+    });
   });
-  /*
-   * Matches block comment delimiters amid serialized content.
-   *
-   * @see `tokenizer` in `@wordpress/block-serialization-default-parser`
-   * package
-   *
-   * blockParserTokenizer differs from the original tokenizer in the
-   * following ways:
-   *
-   * - removed global flag (/g)
-   * - prepended ^\s*
-   *
-   */
+  react_spring_shared_esm_useOnce(() => () => {
+    react_spring_shared_esm_each(state.ctrls, ctrl => ctrl.stop(true));
+  });
+  const values = springs.map(x => react_spring_core_esm_extends({}, x));
+  return ref ? [values, ref] : values;
+}

-  const blockParserTokenizer = /^\s*<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/;
+function useSpring(props, deps) {
+  const isFn = react_spring_shared_esm_is.fun(props);
+  const [[values], ref] = useSprings(1, isFn ? props : [props], isFn ? deps || [] : deps);
+  return isFn || arguments.length == 2 ? [values, ref] : values;
+}

-  const buildReusableBlockInserterItem = reusableBlock => {
-    let icon = symbol["a" /* default */];
-    /*
-     * Instead of always displaying a generic "symbol" icon for every
-     * reusable block, try to use an icon that represents the first
-     * outermost block contained in the reusable block. This requires
-     * scanning the serialized form of the reusable block to find its
-     * first block delimiter, then looking up the corresponding block
-     * type, if available.
-     */
+const initSpringRef = () => SpringRef();

-    if (external_wp_element_["Platform"].OS === 'web') {
-      const content = typeof reusableBlock.content.raw === 'string' ? reusableBlock.content.raw : reusableBlock.content;
-      const rawBlockMatch = content.match(blockParserTokenizer);
+const useSpringRef = () => useState(initSpringRef)[0];

-      if (rawBlockMatch) {
-        const [,, namespace = 'core/', blockName] = rawBlockMatch;
-        const referencedBlockType = Object(external_wp_blocks_["getBlockType"])(namespace + blockName);
+function useTrail(length, propsArg, deps) {
+  var _passedRef;

-        if (referencedBlockType) {
-          icon = referencedBlockType.icon;
-        }
+  const propsFn = is.fun(propsArg) && propsArg;
+  if (propsFn && !deps) deps = [];
+  let reverse = true;
+  let passedRef = undefined;
+  const result = useSprings(length, (i, ctrl) => {
+    const props = propsFn ? propsFn(i, ctrl) : propsArg;
+    passedRef = props.ref;
+    reverse = reverse && props.reverse;
+    return props;
+  }, deps || [{}]);
+  const ref = (_passedRef = passedRef) != null ? _passedRef : result[1];
+  useLayoutEffect(() => {
+    each(ref.current, (ctrl, i) => {
+      const parent = ref.current[i + (reverse ? 1 : -1)];
+
+      if (parent) {
+        ctrl.start({
+          to: parent.springs
+        });
+      } else {
+        ctrl.start();
       }
-    }
+    });
+  }, deps);

-    const id = `core/block/${reusableBlock.id}`;
-    const {
-      time,
-      count = 0
-    } = getInsertUsage(state, id) || {};
-    const frecency = calculateFrecency(time, count);
-    return {
-      id,
-      name: 'core/block',
-      initialAttributes: {
-        ref: reusableBlock.id
-      },
-      title: reusableBlock.title.raw,
-      icon,
-      category: 'reusable',
-      keywords: [],
-      isDisabled: false,
-      utility: 1,
-      // deprecated
-      frecency
+  if (propsFn || arguments.length == 3) {
+    ref['_getProps'] = (propsArg, ctrl, i) => {
+      const props = is.fun(propsArg) ? propsArg(i, ctrl) : propsArg;
+
+      if (props) {
+        const parent = ref.current[i + (props.reverse ? 1 : -1)];
+        if (parent) props.to = parent.springs;
+        return props;
+      }
     };
-  };

-  const blockTypeInserterItems = Object(external_wp_blocks_["getBlockTypes"])().filter(blockType => canIncludeBlockTypeInInserter(state, blockType, rootClientId)).map(buildBlockTypeInserterItem);
-  const reusableBlockInserterItems = canInsertBlockTypeUnmemoized(state, 'core/block', rootClientId) ? getReusableBlocks(state).map(buildReusableBlockInserterItem) : [];
-  const items = blockTypeInserterItems.reduce((accumulator, item) => {
-    const {
-      variations = []
-    } = item; // Exclude any block type item that is to be replaced by a default variation
+    return result;
+  }

-    if (!variations.some(_ref4 => {
-      let {
-        isDefault
-      } = _ref4;
-      return isDefault;
-    })) {
-      accumulator.push(item);
-    }
+  ref['start'] = propsArg => {
+    const results = [];
+    each(ref.current, (ctrl, i) => {
+      const props = is.fun(propsArg) ? propsArg(i, ctrl) : propsArg;
+      const parent = ref.current[i + (reverse ? 1 : -1)];

-    if (variations.length) {
-      const variationMapper = getItemFromVariation(state, item);
-      accumulator.push(...variations.map(variationMapper));
-    }
+      if (parent) {
+        results.push(ctrl.start(react_spring_core_esm_extends({}, props, {
+          to: parent.springs
+        })));
+      } else {
+        results.push(ctrl.start(react_spring_core_esm_extends({}, props)));
+      }
+    });
+    return results;
+  };

-    return accumulator;
-  }, []); // Ensure core blocks are prioritized in the returned results,
-  // because third party blocks can be registered earlier than
-  // the core blocks (usually by using the `init` action),
-  // thus affecting the display order.
-  // We don't sort reusable blocks as they are handled differently.
+  return result[0];
+}

-  const groupByType = (blocks, block) => {
-    const {
-      core,
-      noncore
-    } = blocks;
-    const type = block.name.startsWith('core/') ? core : noncore;
-    type.push(block);
-    return blocks;
-  };
+let TransitionPhase;
+
+(function (TransitionPhase) {
+  TransitionPhase["MOUNT"] = "mount";
+  TransitionPhase["ENTER"] = "enter";
+  TransitionPhase["UPDATE"] = "update";
+  TransitionPhase["LEAVE"] = "leave";
+})(TransitionPhase || (TransitionPhase = {}));

+function useTransition(data, props, deps) {
+  const propsFn = is.fun(props) && props;
   const {
-    core: coreItems,
-    noncore: nonCoreItems
-  } = items.reduce(groupByType, {
-    core: [],
-    noncore: []
+    reset,
+    sort,
+    trail = 0,
+    expires = true,
+    exitBeforeEnter = false,
+    onDestroyed,
+    ref: propsRef,
+    config: propsConfig
+  } = propsFn ? propsFn() : props;
+  const ref = useMemo(() => propsFn || arguments.length == 3 ? SpringRef() : void 0, []);
+  const items = toArray(data);
+  const transitions = [];
+  const usedTransitions = useRef(null);
+  const prevTransitions = reset ? null : usedTransitions.current;
+  useLayoutEffect(() => {
+    usedTransitions.current = transitions;
   });
-  const sortedBlockTypes = [...coreItems, ...nonCoreItems];
-  return [...sortedBlockTypes, ...reusableBlockInserterItems];
-}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId, state.blocks.order, state.preferences.insertUsage, state.settings.allowedBlockTypes, state.settings.templateLock, getReusableBlocks(state), Object(external_wp_blocks_["getBlockTypes"])()]);
-/**
- * Determines the items that appear in the available block transforms list.
- *
- * Each item object contains what's necessary to display a menu item in the
- * transform list and handle its selection.
- *
- * The 'frecency' property is a heuristic (https://en.wikipedia.org/wiki/Frecency)
- * that combines block usage frequenty and recency.
- *
- * Items are returned ordered descendingly by their 'frecency'.
- *
- * @param    {Object}  state        Editor state.
- * @param    {?string} rootClientId Optional root client ID of block list.
- *
- * @return {WPEditorTransformItem[]} Items that appear in inserter.
- *
- * @typedef {Object} WPEditorTransformItem
- * @property {string}  id           Unique identifier for the item.
- * @property {string}  name         The type of block to create.
- * @property {string}  title        Title of the item, as it appears in the inserter.
- * @property {string}  icon         Dashicon for the item, as it appears in the inserter.
- * @property {boolean} isDisabled   Whether or not the user should be prevented from inserting
- *                                  this item.
- * @property {number}  frecency     Heuristic that combines frequency and recency.
- */
+  useOnce(() => () => {
+    each(usedTransitions.current, t => {
+      if (t.expired) {
+        clearTimeout(t.expirationId);
+      }

-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'
+      detachRefs(t.ctrl, ref);
+      t.ctrl.stop(true);
+    });
   });
-  const blockTypeTransformItems = Object(external_wp_blocks_["getBlockTypes"])().filter(blockType => canIncludeBlockTypeInInserter(state, blockType, rootClientId)).map(buildBlockTypeTransformItem);
-  const itemsByName = Object(external_lodash_["mapKeys"])(blockTypeTransformItems, _ref5 => {
-    let {
-      name
-    } = _ref5;
-    return name;
+  const keys = getKeys(items, propsFn ? propsFn() : props, prevTransitions);
+  const expired = reset && usedTransitions.current || [];
+  useLayoutEffect(() => each(expired, ({
+    ctrl,
+    item,
+    key
+  }) => {
+    detachRefs(ctrl, ref);
+    callProp(onDestroyed, item, key);
+  }));
+  const reused = [];
+  if (prevTransitions) each(prevTransitions, (t, i) => {
+    if (t.expired) {
+      clearTimeout(t.expirationId);
+      expired.push(t);
+    } else {
+      i = reused[i] = keys.indexOf(t.key);
+      if (~i) transitions[i] = t;
+    }
   });
-  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]);
+  each(items, (item, i) => {
+    if (!transitions[i]) {
+      transitions[i] = {
+        key: keys[i],
+        item,
+        phase: TransitionPhase.MOUNT,
+        ctrl: new Controller()
+      };
+      transitions[i].ctrl.item = item;
     }
+  });

-    return accumulator;
-  }, []);
-  const possibleBlockTransformations = Object(external_lodash_["orderBy"])(possibleTransforms, block => itemsByName[block.name].frecency, 'desc');
-  return possibleBlockTransformations;
-}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId, state.preferences.insertUsage, state.settings.allowedBlockTypes, state.settings.templateLock, Object(external_wp_blocks_["getBlockTypes"])()]);
-/**
- * Determines whether there are items to show in the inserter.
- *
- * @param {Object}  state        Editor state.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {boolean} Items that appear in inserter.
- */
-
-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 (reused.length) {
+    let i = -1;
+    const {
+      leave
+    } = propsFn ? propsFn() : props;
+    each(reused, (keyIndex, prevIndex) => {
+      const t = prevTransitions[prevIndex];

-  if (hasBlockType) {
-    return true;
+      if (~keyIndex) {
+        i = transitions.indexOf(t);
+        transitions[i] = react_spring_core_esm_extends({}, t, {
+          item: items[keyIndex]
+        });
+      } else if (leave) {
+        transitions.splice(++i, 0, t);
+      }
+    });
   }

-  const hasReusableBlock = canInsertBlockTypeUnmemoized(state, 'core/block', rootClientId) && getReusableBlocks(state).length > 0;
-  return hasReusableBlock;
-}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId, state.settings.allowedBlockTypes, state.settings.templateLock, getReusableBlocks(state), Object(external_wp_blocks_["getBlockTypes"])()]);
-/**
- * Returns the list of allowed inserter blocks for inner blocks children
- *
- * @param {Object}  state        Editor state.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {Array?} The list of allowed block types.
- */
+  if (is.fun(sort)) {
+    transitions.sort((a, b) => sort(a.item, b.item));
+  }

-const __experimentalGetAllowedBlocks = Object(rememo["a" /* default */])(function (state) {
-  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
+  let delay = -trail;
+  const forceUpdate = useForceUpdate();
+  const defaultProps = getDefaultProps(props);
+  const changes = new Map();
+  const exitingTransitions = useRef(new Map());
+  const forceChange = useRef(false);
+  each(transitions, (t, i) => {
+    const key = t.key;
+    const prevPhase = t.phase;
+    const p = propsFn ? propsFn() : props;
+    let to;
+    let phase;
+    let propsDelay = callProp(p.delay || 0, key);

-  if (!rootClientId) {
-    return;
-  }
+    if (prevPhase == TransitionPhase.MOUNT) {
+      to = p.enter;
+      phase = TransitionPhase.ENTER;
+    } else {
+      const isLeave = keys.indexOf(key) < 0;

-  return Object(external_lodash_["filter"])(Object(external_wp_blocks_["getBlockTypes"])(), blockType => canIncludeBlockTypeInInserter(state, blockType, rootClientId));
-}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.byClientId, state.settings.allowedBlockTypes, state.settings.templateLock, Object(external_wp_blocks_["getBlockTypes"])()]);
-/**
- * Returns the block to be directly inserted by the block appender.
- *
- * @param {Object}  state        Editor state.
- * @param {?string} rootClientId Optional root client ID of block list.
- *
- * @return {?Array} The block type to be directly inserted.
- */
+      if (prevPhase != TransitionPhase.LEAVE) {
+        if (isLeave) {
+          to = p.leave;
+          phase = TransitionPhase.LEAVE;
+        } else if (to = p.update) {
+          phase = TransitionPhase.UPDATE;
+        } else return;
+      } else if (!isLeave) {
+        to = p.enter;
+        phase = TransitionPhase.ENTER;
+      } else return;
+    }

-const __experimentalGetDirectInsertBlock = Object(rememo["a" /* default */])(function (state) {
-  var _state$blockListSetti, _state$blockListSetti2;
+    to = callProp(to, t.item, i);
+    to = is.obj(to) ? inferTo(to) : {
+      to
+    };

-  let rootClientId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
+    if (!to.config) {
+      const config = propsConfig || defaultProps.config;
+      to.config = callProp(config, t.item, i, phase);
+    }

-  if (!rootClientId) {
-    return;
-  }
+    delay += trail;

-  const defaultBlock = (_state$blockListSetti = state.blockListSettings[rootClientId]) === null || _state$blockListSetti === void 0 ? void 0 : _state$blockListSetti.__experimentalDefaultBlock;
-  const directInsert = (_state$blockListSetti2 = state.blockListSettings[rootClientId]) === null || _state$blockListSetti2 === void 0 ? void 0 : _state$blockListSetti2.__experimentalDirectInsert;
+    const payload = react_spring_core_esm_extends({}, defaultProps, {
+      delay: propsDelay + delay,
+      ref: propsRef,
+      immediate: p.immediate,
+      reset: false
+    }, to);

-  if (!defaultBlock || !directInsert) {
-    return;
-  }
+    if (phase == TransitionPhase.ENTER && is.und(payload.from)) {
+      const _p = propsFn ? propsFn() : props;

-  if (typeof directInsert === 'function') {
-    return directInsert(getBlock(state, rootClientId)) ? defaultBlock : null;
-  }
+      const from = is.und(_p.initial) || prevTransitions ? _p.from : _p.initial;
+      payload.from = callProp(from, t.item, i);
+    }

-  return defaultBlock;
-}, (state, rootClientId) => [state.blockListSettings[rootClientId], state.blocks.tree[rootClientId]]);
+    const {
+      onResolve
+    } = payload;

-const checkAllowListRecursive = (blocks, allowedBlockTypes) => {
-  if (Object(external_lodash_["isBoolean"])(allowedBlockTypes)) {
-    return allowedBlockTypes;
-  }
+    payload.onResolve = result => {
+      callProp(onResolve, result);
+      const transitions = usedTransitions.current;
+      const t = transitions.find(t => t.key === key);
+      if (!t) return;

-  const blocksQueue = [...blocks];
+      if (result.cancelled && t.phase != TransitionPhase.UPDATE) {
+        return;
+      }

-  while (blocksQueue.length > 0) {
-    var _block$innerBlocks;
+      if (t.ctrl.idle) {
+        const idle = transitions.every(t => t.ctrl.idle);

-    const block = blocksQueue.shift();
-    const isAllowed = checkAllowList(allowedBlockTypes, block.name || block.blockName, true);
+        if (t.phase == TransitionPhase.LEAVE) {
+          const expiry = callProp(expires, t.item);

-    if (!isAllowed) {
-      return false;
-    }
+          if (expiry !== false) {
+            const expiryMs = expiry === true ? 0 : expiry;
+            t.expired = true;

-    (_block$innerBlocks = block.innerBlocks) === null || _block$innerBlocks === void 0 ? void 0 : _block$innerBlocks.forEach(innerBlock => {
-      blocksQueue.push(innerBlock);
-    });
-  }
+            if (!idle && expiryMs > 0) {
+              if (expiryMs <= 0x7fffffff) t.expirationId = setTimeout(forceUpdate, expiryMs);
+              return;
+            }
+          }
+        }

-  return true;
-};
+        if (idle && transitions.some(t => t.expired)) {
+          exitingTransitions.current.delete(t);

-const __experimentalGetParsedPattern = Object(rememo["a" /* default */])((state, patternName) => {
-  const patterns = state.settings.__experimentalBlockPatterns;
-  const pattern = patterns.find(_ref6 => {
-    let {
-      name
-    } = _ref6;
-    return name === patternName;
-  });
+          if (exitBeforeEnter) {
+            forceChange.current = true;
+          }

-  if (!pattern) {
-    return null;
-  }
+          forceUpdate();
+        }
+      }
+    };

-  return { ...pattern,
-    blocks: Object(external_wp_blocks_["parse"])(pattern.content)
-  };
-}, state => [state.settings.__experimentalBlockPatterns]);
-const getAllAllowedPatterns = Object(rememo["a" /* default */])(state => {
-  const patterns = state.settings.__experimentalBlockPatterns;
-  const {
-    allowedBlockTypes
-  } = getSettings(state);
-  const parsedPatterns = patterns.filter(_ref7 => {
-    let {
-      inserter = true
-    } = _ref7;
-    return !!inserter;
-  }).map(_ref8 => {
-    let {
-      name
-    } = _ref8;
-    return __experimentalGetParsedPattern(state, name);
-  });
-  const allowedPatterns = parsedPatterns.filter(_ref9 => {
-    let {
-      blocks
-    } = _ref9;
-    return checkAllowListRecursive(blocks, allowedBlockTypes);
-  });
-  return allowedPatterns;
-}, state => [state.settings.__experimentalBlockPatterns, state.settings.allowedBlockTypes]);
-/**
- * Returns the list of allowed patterns for inner blocks children.
- *
- * @param {Object}  state        Editor state.
- * @param {?string} rootClientId Optional target root client ID.
- *
- * @return {Array?} The list of allowed patterns.
- */
+    const springs = getSprings(t.ctrl, payload);

-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, _ref10 => {
-    let {
-      blocks
-    } = _ref10;
-    return blocks.every(_ref11 => {
-      let {
-        name
-      } = _ref11;
-      return canInsertBlockType(state, name, rootClientId);
-    });
+    if (phase === TransitionPhase.LEAVE && exitBeforeEnter) {
+      exitingTransitions.current.set(t, {
+        phase,
+        springs,
+        payload
+      });
+    } else {
+      changes.set(t, {
+        phase,
+        springs,
+        payload
+      });
+    }
   });
-  return patternsAllowed;
-}, (state, rootClientId) => [state.settings.__experimentalBlockPatterns, state.settings.allowedBlockTypes, state.settings.templateLock, state.blockListSettings[rootClientId], state.blocks.byClientId[rootClientId]]);
-/**
- * Returns the list of patterns based on their declared `blockTypes`
- * and a block's name.
- * Patterns can use `blockTypes` to integrate in work flows like
- * suggesting appropriate patterns in a Placeholder state(during insertion)
- * or blocks transformations.
- *
- * @param {Object}          state        Editor state.
- * @param {string|string[]} blockNames   Block's name or array of block names to find matching pattens.
- * @param {?string}         rootClientId Optional target root client ID.
- *
- * @return {Array} The list of matched block patterns based on declared `blockTypes` and block name.
- */
+  const context = useContext(SpringContext);
+  const prevContext = usePrev(context);
+  const hasContext = context !== prevContext && hasProps(context);
+  useLayoutEffect(() => {
+    if (hasContext) {
+      each(transitions, t => {
+        t.ctrl.start({
+          default: context
+        });
+      });
+    }
+  }, [context]);
+  each(changes, (_, t) => {
+    if (exitingTransitions.current.size) {
+      const ind = transitions.findIndex(state => state.key === t.key);
+      transitions.splice(ind, 1);
+    }
+  });
+  useLayoutEffect(() => {
+    each(exitingTransitions.current.size ? exitingTransitions.current : changes, ({
+      phase,
+      payload
+    }, t) => {
+      const {
+        ctrl
+      } = t;
+      t.phase = phase;
+      ref == null ? void 0 : ref.add(ctrl);

-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;
+      if (hasContext && phase == TransitionPhase.ENTER) {
+        ctrl.start({
+          default: context
+        });
+      }

-  const patterns = __experimentalGetAllowedPatterns(state, rootClientId);
+      if (payload) {
+        replaceRef(ctrl, payload.ref);

-  const normalizedBlockNames = Array.isArray(blockNames) ? blockNames : [blockNames];
-  return patterns.filter(pattern => {
-    var _pattern$blockTypes, _pattern$blockTypes$s;
+        if (ctrl.ref && !forceChange.current) {
+          ctrl.update(payload);
+        } else {
+          ctrl.start(payload);

-    return pattern === null || pattern === void 0 ? void 0 : (_pattern$blockTypes = pattern.blockTypes) === null || _pattern$blockTypes === void 0 ? void 0 : (_pattern$blockTypes$s = _pattern$blockTypes.some) === null || _pattern$blockTypes$s === void 0 ? void 0 : _pattern$blockTypes$s.call(_pattern$blockTypes, blockName => normalizedBlockNames.includes(blockName));
-  });
-}, (state, rootClientId) => [...__experimentalGetAllowedPatterns.getDependants(state, rootClientId)]);
-/**
- * Determines the items that appear in the available pattern transforms list.
- *
- * For now we only handle blocks without InnerBlocks and take into account
- * the `__experimentalRole` property of blocks' attributes for the transformation.
- *
- * We return the first set of possible eligible block patterns,
- * by checking the `blockTypes` property. We still have to recurse through
- * block pattern's blocks and try to find matches from the selected blocks.
- * Now this happens in the consumer to avoid heavy operations in the selector.
- *
- * @param {Object}   state        Editor state.
- * @param {Object[]} blocks       The selected blocks.
- * @param {?string}  rootClientId Optional root client ID of block list.
- *
- * @return {WPBlockPattern[]} Items that are eligible for a pattern transformation.
- */
+          if (forceChange.current) {
+            forceChange.current = false;
+          }
+        }
+      }
+    });
+  }, reset ? void 0 : deps);

-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
-   * the `__experimentalRole` property of blocks' attributes for the transformation.
-   * Note that the blocks have been retrieved through `getBlock`, which doesn't
-   * return the inner blocks of an inner block controller, so we still need
-   * to check for this case too.
-   */
+  const renderTransitions = render => React.createElement(React.Fragment, null, transitions.map((t, i) => {
+    const {
+      springs
+    } = changes.get(t) || t.ctrl;
+    const elem = render(react_spring_core_esm_extends({}, springs), t.item, t, i);
+    return elem && elem.type ? React.createElement(elem.type, react_spring_core_esm_extends({}, elem.props, {
+      key: is.str(t.key) || is.num(t.key) ? t.key : t.ctrl.id,
+      ref: elem.ref
+    })) : elem;
+  }));

-  if (blocks.some(_ref12 => {
-    let {
-      clientId,
-      innerBlocks
-    } = _ref12;
-    return innerBlocks.length || areInnerBlocksControlled(state, clientId);
-  })) {
-    return EMPTY_ARRAY;
-  } // Create a Set of the selected block names that is used in patterns filtering.
+  return ref ? [renderTransitions, ref] : renderTransitions;
+}
+let nextKey = 1;

+function getKeys(items, {
+  key,
+  keys = key
+}, prevTransitions) {
+  if (keys === null) {
+    const reused = new Set();
+    return items.map(item => {
+      const t = prevTransitions && prevTransitions.find(t => t.item === item && t.phase !== TransitionPhase.LEAVE && !reused.has(t));

-  const selectedBlockNames = Array.from(new Set(blocks.map(_ref13 => {
-    let {
-      name
-    } = _ref13;
-    return name;
-  })));
-  /**
-   * Here we will return first set of possible eligible block patterns,
-   * by checking the `blockTypes` property. We still have to recurse through
-   * block pattern's blocks and try to find matches from the selected blocks.
-   * Now this happens in the consumer to avoid heavy operations in the selector.
-   */
+      if (t) {
+        reused.add(t);
+        return t.key;
+      }

-  return __experimentalGetPatternsByBlockTypes(state, selectedBlockNames, rootClientId);
-}, (state, rootClientId) => [...__experimentalGetPatternsByBlockTypes.getDependants(state, rootClientId)]);
-/**
- * Returns the Block List settings of a block, if any exist.
- *
- * @param {Object}  state    Editor state.
- * @param {?string} clientId Block client ID.
- *
- * @return {?Object} Block settings of the block if set.
- */
+      return nextKey++;
+    });
+  }

-function getBlockListSettings(state, clientId) {
-  return state.blockListSettings[clientId];
+  return is.und(keys) ? items : is.fun(keys) ? items.map(keys) : toArray(keys);
 }
-/**
- * Returns the editor settings.
- *
- * @param {Object} state Editor state.
- *
- * @return {Object} The editor settings object.
- */

-function getSettings(state) {
-  return state.settings;
-}
-/**
- * Returns true if the most recent block change is be considered persistent, or
- * false otherwise. A persistent change is one committed by BlockEditorProvider
- * via its `onChange` callback, in addition to `onInput`.
- *
- * @param {Object} state Block editor state.
- *
- * @return {boolean} Whether the most recent block change was persistent.
- */
+const _excluded$2 = (/* unused pure expression or super */ null && (["children"]));
+function Spring(_ref) {
+  let {
+    children
+  } = _ref,
+      props = _objectWithoutPropertiesLoose(_ref, _excluded$2);

-function isLastBlockChangePersistent(state) {
-  return state.blocks.isPersistentChange;
+  return children(useSpring(props));
 }
-/**
- * Returns the block list settings for an array of blocks, if any exist.
- *
- * @param {Object} state     Editor state.
- * @param {Array}  clientIds Block client IDs.
- *
- * @return {Object} An object where the keys are client ids and the values are
- *                  a block list setting object.
- */
-
-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;
-    }
-
-    return { ...blockListSettingsForBlocks,
-      [clientId]: state.blockListSettings[clientId]
-    };
-  }, {});
-}, state => [state.blockListSettings]);
-/**
- * Returns the title of a given reusable block
- *
- * @param {Object}        state Global application state.
- * @param {number|string} ref   The shared block's ID.
- *
- * @return {string} The reusable block saved title.
- */
-
-const __experimentalGetReusableBlockTitle = Object(rememo["a" /* default */])((state, ref) => {
-  var _reusableBlock$title;

-  const reusableBlock = Object(external_lodash_["find"])(getReusableBlocks(state), block => block.id === ref);
+const _excluded$1 = (/* unused pure expression or super */ null && (["items", "children"]));
+function Trail(_ref) {
+  let {
+    items,
+    children
+  } = _ref,
+      props = _objectWithoutPropertiesLoose(_ref, _excluded$1);

-  if (!reusableBlock) {
-    return null;
-  }
+  const trails = useTrail(items.length, props);
+  return items.map((item, index) => {
+    const result = children(item, index);
+    return is.fun(result) ? result(trails[index]) : result;
+  });
+}

-  return (_reusableBlock$title = reusableBlock.title) === null || _reusableBlock$title === void 0 ? void 0 : _reusableBlock$title.raw;
-}, state => [getReusableBlocks(state)]);
-/**
- * Returns true if the most recent block change is be considered ignored, or
- * false otherwise. An ignored change is one not to be committed by
- * BlockEditorProvider, neither via `onChange` nor `onInput`.
- *
- * @param {Object} state Block editor state.
- *
- * @return {boolean} Whether the most recent block change was ignored.
- */
+const _excluded = (/* unused pure expression or super */ null && (["items", "children"]));
+function Transition(_ref) {
+  let {
+    items,
+    children
+  } = _ref,
+      props = _objectWithoutPropertiesLoose(_ref, _excluded);

-function __unstableIsLastBlockChangeIgnored(state) {
-  // TODO: Removal Plan: Changes incurred by RECEIVE_BLOCKS should not be
-  // ignored if in-fact they result in a change in blocks state. The current
-  // need to ignore changes not a result of user interaction should be
-  // accounted for in the refactoring of reusable blocks as occurring within
-  // their own separate block editor / state (#7119).
-  return state.blocks.isIgnoredChange;
+  return useTransition(items, props)(children);
 }
-/**
- * Returns the block attributes changed as a result of the last dispatched
- * action.
- *
- * @param {Object} state Block editor state.
- *
- * @return {Object<string,Object>} Subsets of block attributes changed, keyed
- *                                 by block client ID.
- */

-function __experimentalGetLastBlockAttributeChanges(state) {
-  return state.lastBlockAttributesChange;
-}
-/**
- * Returns the available reusable blocks
- *
- * @param {Object} state Global application state.
- *
- * @return {Array} Reusable blocks
- */
+class Interpolation extends FrameValue {
+  constructor(source, args) {
+    super();
+    this.key = void 0;
+    this.idle = true;
+    this.calc = void 0;
+    this._active = new Set();
+    this.source = source;
+    this.calc = createInterpolator(...args);

-function getReusableBlocks(state) {
-  var _state$settings$__exp, _state$settings;
+    const value = this._get();

-  return (_state$settings$__exp = state === null || state === void 0 ? void 0 : (_state$settings = state.settings) === null || _state$settings === void 0 ? void 0 : _state$settings.__experimentalReusableBlocks) !== null && _state$settings$__exp !== void 0 ? _state$settings$__exp : EMPTY_ARRAY;
-}
-/**
- * Returns whether the navigation mode is enabled.
- *
- * @param {Object} state Editor state.
- *
- * @return {boolean} Is navigation mode enabled.
- */
+    const nodeType = getAnimatedType(value);
+    setAnimated(this, nodeType.create(value));
+  }

+  advance(_dt) {
+    const value = this._get();

-function selectors_isNavigationMode(state) {
-  return state.isNavigationMode;
-}
-/**
- * Returns whether block moving mode is enabled.
- *
- * @param {Object} state Editor state.
- *
- * @return {string} Client Id of moving block.
- */
+    const oldValue = this.get();

-function selectors_hasBlockMovingClientId(state) {
-  return state.hasBlockMovingClientId;
-}
-/**
- * Returns true if the last change was an automatic change, false otherwise.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the last change was automatic.
- */
+    if (!isEqual(value, oldValue)) {
+      getAnimated(this).setValue(value);

-function didAutomaticChange(state) {
-  return !!state.automaticChangeStatus;
-}
-/**
- * Returns true if the current highlighted block matches the block clientId.
- *
- * @param {Object} state    Global application state.
- * @param {string} clientId The block to check.
- *
- * @return {boolean} Whether the block is currently highlighted.
- */
+      this._onChange(value, this.idle);
+    }

-function isBlockHighlighted(state, clientId) {
-  return state.highlightedBlock === clientId;
-}
-/**
- * Checks if a given block has controlled inner blocks.
- *
- * @param {Object} state    Global application state.
- * @param {string} clientId The block to check.
- *
- * @return {boolean} True if the block has controlled inner blocks.
- */
+    if (!this.idle && checkIdle(this._active)) {
+      becomeIdle(this);
+    }
+  }

-function areInnerBlocksControlled(state, clientId) {
-  return !!state.blocks.controlledInnerBlocks[clientId];
-}
-/**
- * Returns the clientId for the first 'active' block of a given array of block names.
- * A block is 'active' if it (or a child) is the selected block.
- * Returns the first match moving up the DOM from the selected block.
- *
- * @param {Object}   state            Global application state.
- * @param {string[]} validBlocksNames The names of block types to check for.
- *
- * @return {string} The matching block's clientId.
- */
+  _get() {
+    const inputs = react_spring_shared_esm_is.arr(this.source) ? this.source.map(getFluidValue) : react_spring_shared_esm_toArray(getFluidValue(this.source));
+    return this.calc(...inputs);
+  }
+
+  _start() {
+    if (this.idle && !checkIdle(this._active)) {
+      this.idle = false;
+      react_spring_shared_esm_each(getPayload(this), node => {
+        node.done = false;
+      });

-const __experimentalGetActiveBlockIdByBlockNames = Object(rememo["a" /* default */])((state, validBlockNames) => {
-  if (!validBlockNames.length) {
-    return null;
-  } // Check if selected block is a valid entity area.
+      if (globals.skipAnimation) {
+        raf.batchedUpdates(() => this.advance());
+        becomeIdle(this);
+      } else {
+        frameLoop.start(this);
+      }
+    }
+  }

+  _attach() {
+    let priority = 1;
+    react_spring_shared_esm_each(react_spring_shared_esm_toArray(this.source), source => {
+      if (hasFluidValue(source)) {
+        addFluidObserver(source, this);
+      }

-  const selectedBlockClientId = getSelectedBlockClientId(state);
+      if (isFrameValue(source)) {
+        if (!source.idle) {
+          this._active.add(source);
+        }

-  if (validBlockNames.includes(getBlockName(state, selectedBlockClientId))) {
-    return selectedBlockClientId;
-  } // Check if first selected block is a child of a valid entity area.
+        priority = Math.max(priority, source.priority + 1);
+      }
+    });
+    this.priority = priority;

+    this._start();
+  }

-  const multiSelectedBlockClientIds = getMultiSelectedBlockClientIds(state);
-  const entityAreaParents = getBlockParentsByBlockName(state, selectedBlockClientId || multiSelectedBlockClientIds[0], validBlockNames);
+  _detach() {
+    react_spring_shared_esm_each(react_spring_shared_esm_toArray(this.source), source => {
+      if (hasFluidValue(source)) {
+        removeFluidObserver(source, this);
+      }
+    });

-  if (entityAreaParents) {
-    // Last parent closest/most interior.
-    return Object(external_lodash_["last"])(entityAreaParents);
+    this._active.clear();
+
+    becomeIdle(this);
   }

-  return null;
-}, (state, validBlockNames) => [state.selection.selectionStart.clientId, state.selection.selectionEnd.clientId, validBlockNames]);
-/**
- * Tells if the block with the passed clientId was just inserted.
- *
- * @param {Object}  state    Global application state.
- * @param {Object}  clientId Client Id of the block.
- * @param {?string} source   Optional insertion source of the block.
- * @return {boolean} True if the block matches the last block inserted from the specified source.
- */
+  eventObserved(event) {
+    if (event.type == 'change') {
+      if (event.idle) {
+        this.advance();
+      } else {
+        this._active.add(event.parent);
+
+        this._start();
+      }
+    } else if (event.type == 'idle') {
+        this._active.delete(event.parent);
+      } else if (event.type == 'priority') {
+          this.priority = react_spring_shared_esm_toArray(this.source).reduce((highest, parent) => Math.max(highest, (isFrameValue(parent) ? parent.priority : 0) + 1), 0);
+        }
+  }

-function wasBlockJustInserted(state, clientId, source) {
-  const {
-    lastBlockInserted
-  } = state;
-  return lastBlockInserted.clientId === clientId && lastBlockInserted.source === source;
 }

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+function isIdle(source) {
+  return source.idle !== false;
+}

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+function checkIdle(active) {
+  return !active.size || Array.from(active).every(isIdle);
+}

-// EXTERNAL MODULE: external ["wp","richText"]
-var external_wp_richText_ = __webpack_require__("qRz9");
+function becomeIdle(self) {
+  if (!self.idle) {
+    self.idle = true;
+    react_spring_shared_esm_each(getPayload(self), node => {
+      node.done = true;
+    });
+    callFluidObservers(self, {
+      type: 'idle',
+      parent: self
+    });
+  }
+}

-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
+const react_spring_core_esm_to = (source, ...args) => new Interpolation(source, args);
+const react_spring_core_esm_interpolate = (source, ...args) => (deprecateInterpolate(), new Interpolation(source, args));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/actions.js
-/**
- * External dependencies
- */
+globals.assign({
+  createStringInterpolator: createStringInterpolator,
+  to: (source, args) => new Interpolation(source, args)
+});
+const react_spring_core_esm_update = frameLoop.advance;

-/**
- * WordPress dependencies
- */


+;// CONCATENATED MODULE: external "ReactDOM"
+var external_ReactDOM_namespaceObject = window["ReactDOM"];
+;// CONCATENATED MODULE: ./node_modules/@react-spring/web/dist/react-spring-web.esm.js




-/**
- * Action which will insert a default block insert action if there
- * are no other blocks at the root of the editor. This action should be used
- * in actions which may result in no blocks remaining in the editor (removal,
- * replacement, etc).
- */

-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();

-  if (count > 0) {
-    return;
-  } // If there's an custom appender, don't insert default block.
-  // We have to remember to manually move the focus elsewhere to
-  // prevent it from being lost though.
+function react_spring_web_esm_objectWithoutPropertiesLoose(source, excluded) {
+  if (source == null) return {};
+  var target = {};
+  var sourceKeys = Object.keys(source);
+  var key, i;

+  for (i = 0; i < sourceKeys.length; i++) {
+    key = sourceKeys[i];
+    if (excluded.indexOf(key) >= 0) continue;
+    target[key] = source[key];
+  }

-  const {
-    __unstableHasCustomAppender
-  } = select.getSettings();
+  return target;
+}

-  if (__unstableHasCustomAppender) {
-    return;
-  }
+const react_spring_web_esm_excluded$2 = ["style", "children", "scrollTop", "scrollLeft"];
+const isCustomPropRE = /^--/;

-  dispatch.insertDefaultBlock();
-};
-/**
- * Action that resets blocks state to the specified array of blocks, taking precedence
- * over any other content reflected as an edit in state.
- *
- * @param {Array} blocks Array of blocks.
- */
+function dangerousStyleValue(name, value) {
+  if (value == null || typeof value === 'boolean' || value === '') return '';
+  if (typeof value === 'number' && value !== 0 && !isCustomPropRE.test(name) && !(isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name])) return value + 'px';
+  return ('' + value).trim();
+}

+const attributeCache = {};
+function applyAnimatedValues(instance, props) {
+  if (!instance.nodeType || !instance.setAttribute) {
+    return false;
+  }

-const resetBlocks = blocks => _ref2 => {
-  let {
-    dispatch
-  } = _ref2;
-  dispatch({
-    type: 'RESET_BLOCKS',
-    blocks
-  });
-  dispatch(validateBlocksToTemplate(blocks));
-};
-/**
- * Block validity is a function of blocks state (at the point of a
- * reset) and the template setting. As a compromise to its placement
- * across distinct parts of state, it is implemented here as a side-
- * effect of the block reset action.
- *
- * @param {Array} blocks Array of blocks.
- */
+  const isFilterElement = instance.nodeName === 'filter' || instance.parentNode && instance.parentNode.nodeName === 'filter';

-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.
+  const _ref = props,
+        {
+    style,
+    children,
+    scrollTop,
+    scrollLeft
+  } = _ref,
+        attributes = react_spring_web_esm_objectWithoutPropertiesLoose(_ref, react_spring_web_esm_excluded$2);

-  const isBlocksValidToTemplate = !template || templateLock !== 'all' || Object(external_wp_blocks_["doBlocksMatchTemplate"])(blocks, template); // Update if validity has changed.
+  const values = Object.values(attributes);
+  const names = Object.keys(attributes).map(name => isFilterElement || instance.hasAttribute(name) ? name : attributeCache[name] || (attributeCache[name] = name.replace(/([A-Z])/g, n => '-' + n.toLowerCase())));

-  const isValidTemplate = select.isValidTemplate();
+  if (children !== void 0) {
+    instance.textContent = children;
+  }

-  if (isBlocksValidToTemplate !== isValidTemplate) {
-    dispatch.setTemplateValidity(isBlocksValidToTemplate);
-    return isBlocksValidToTemplate;
+  for (let name in style) {
+    if (style.hasOwnProperty(name)) {
+      const value = dangerousStyleValue(name, style[name]);
+
+      if (isCustomPropRE.test(name)) {
+        instance.style.setProperty(name, value);
+      } else {
+        instance.style[name] = value;
+      }
+    }
   }
-};
-/**
- * A block selection object.
- *
- * @typedef {Object} WPBlockSelection
- *
- * @property {string} clientId     A block client ID.
- * @property {string} attributeKey A block attribute key.
- * @property {number} offset       An attribute value offset, based on the rich
- *                                 text value. See `wp.richText.create`.
- */

-/* eslint-disable jsdoc/valid-types */
+  names.forEach((name, i) => {
+    instance.setAttribute(name, values[i]);
+  });

-/**
- * Returns an action object used in signalling that selection state should be
- * reset to the specified selection.
- *
- * @param {WPBlockSelection} selectionStart  The selection start.
- * @param {WPBlockSelection} selectionEnd    The selection end.
- * @param {0|-1|null}        initialPosition Initial block position.
- *
- * @return {Object} Action object.
- */
+  if (scrollTop !== void 0) {
+    instance.scrollTop = scrollTop;
+  }

-function resetSelection(selectionStart, selectionEnd, initialPosition) {
-  /* eslint-enable jsdoc/valid-types */
-  return {
-    type: 'RESET_SELECTION',
-    selectionStart,
-    selectionEnd,
-    initialPosition
-  };
+  if (scrollLeft !== void 0) {
+    instance.scrollLeft = scrollLeft;
+  }
 }
-/**
- * Returns an action object used in signalling that blocks have been received.
- * Unlike resetBlocks, these should be appended to the existing known set, not
- * replacing.
- *
- * @deprecated
- *
- * @param {Object[]} blocks Array of block objects.
- *
- * @return {Object} Action object.
- */
+let isUnitlessNumber = {
+  animationIterationCount: true,
+  borderImageOutset: true,
+  borderImageSlice: true,
+  borderImageWidth: true,
+  boxFlex: true,
+  boxFlexGroup: true,
+  boxOrdinalGroup: true,
+  columnCount: true,
+  columns: true,
+  flex: true,
+  flexGrow: true,
+  flexPositive: true,
+  flexShrink: true,
+  flexNegative: true,
+  flexOrder: true,
+  gridRow: true,
+  gridRowEnd: true,
+  gridRowSpan: true,
+  gridRowStart: true,
+  gridColumn: true,
+  gridColumnEnd: true,
+  gridColumnSpan: true,
+  gridColumnStart: true,
+  fontWeight: true,
+  lineClamp: true,
+  lineHeight: true,
+  opacity: true,
+  order: true,
+  orphans: true,
+  tabSize: true,
+  widows: true,
+  zIndex: true,
+  zoom: true,
+  fillOpacity: true,
+  floodOpacity: true,
+  stopOpacity: true,
+  strokeDasharray: true,
+  strokeDashoffset: true,
+  strokeMiterlimit: true,
+  strokeOpacity: true,
+  strokeWidth: true
+};

-function receiveBlocks(blocks) {
-  external_wp_deprecated_default()('wp.data.dispatch( "core/block-editor" ).receiveBlocks', {
-    since: '5.9',
-    alternative: 'resetBlocks or insertBlocks'
-  });
-  return {
-    type: 'RECEIVE_BLOCKS',
-    blocks
-  };
-}
-/**
- * Action that updates attributes of multiple blocks with the specified client IDs.
- *
- * @param {string|string[]} clientIds     Block client IDs.
- * @param {Object}          attributes    Block attributes to be merged. Should be keyed by clientIds if
- *                                        uniqueByBlock is true.
- * @param {boolean}         uniqueByBlock true if each block in clientIds array has a unique set of attributes
- * @return {Object} Action object.
- */
+const prefixKey = (prefix, key) => prefix + key.charAt(0).toUpperCase() + key.substring(1);

-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),
-    attributes,
-    uniqueByBlock
-  };
-}
-/**
- * Action that updates the block with the specified client ID.
- *
- * @param {string} clientId Block client ID.
- * @param {Object} updates  Block attributes to be merged.
- *
- * @return {Object} Action object.
- */
+const prefixes = ['Webkit', 'Ms', 'Moz', 'O'];
+isUnitlessNumber = Object.keys(isUnitlessNumber).reduce((acc, prop) => {
+  prefixes.forEach(prefix => acc[prefixKey(prefix, prop)] = acc[prop]);
+  return acc;
+}, isUnitlessNumber);

-function updateBlock(clientId, updates) {
-  return {
-    type: 'UPDATE_BLOCK',
-    clientId,
-    updates
-  };
-}
-/* eslint-disable jsdoc/valid-types */
+const react_spring_web_esm_excluded$1 = ["x", "y", "z"];
+const domTransforms = /^(matrix|translate|scale|rotate|skew)/;
+const pxTransforms = /^(translate)/;
+const degTransforms = /^(rotate|skew)/;

-/**
- * Returns an action object used in signalling that the block with the
- * specified client ID has been selected, optionally accepting a position
- * value reflecting its selection directionality. An initialPosition of -1
- * reflects a reverse selection.
- *
- * @param {string}    clientId        Block client ID.
- * @param {0|-1|null} initialPosition Optional initial position. Pass as -1 to
- *                                    reflect reverse selection.
- *
- * @return {Object} Action object.
- */
+const addUnit = (value, unit) => react_spring_shared_esm_is.num(value) && value !== 0 ? value + unit : value;

-function selectBlock(clientId) {
-  let initialPosition = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
+const isValueIdentity = (value, id) => react_spring_shared_esm_is.arr(value) ? value.every(v => isValueIdentity(v, id)) : react_spring_shared_esm_is.num(value) ? value === id : parseFloat(value) === id;

-  /* eslint-enable jsdoc/valid-types */
-  return {
-    type: 'SELECT_BLOCK',
-    initialPosition,
-    clientId
-  };
-}
-/**
- * Yields action objects used in signalling that the block preceding the given
- * clientId should be selected.
- *
- * @param {string} clientId Block client ID.
- */
+class AnimatedStyle extends AnimatedObject {
+  constructor(_ref) {
+    let {
+      x,
+      y,
+      z
+    } = _ref,
+        style = react_spring_web_esm_objectWithoutPropertiesLoose(_ref, react_spring_web_esm_excluded$1);

-const selectPreviousBlock = clientId => _ref4 => {
-  let {
-    select,
-    dispatch
-  } = _ref4;
-  const previousBlockClientId = select.getPreviousBlockClientId(clientId);
+    const inputs = [];
+    const transforms = [];

-  if (previousBlockClientId) {
-    dispatch.selectBlock(previousBlockClientId, -1);
-  }
-};
-/**
- * Yields action objects used in signalling that the block following the given
- * clientId should be selected.
- *
- * @param {string} clientId Block client ID.
- */
+    if (x || y || z) {
+      inputs.push([x || 0, y || 0, z || 0]);
+      transforms.push(xyz => [`translate3d(${xyz.map(v => addUnit(v, 'px')).join(',')})`, isValueIdentity(xyz, 0)]);
+    }

-const selectNextBlock = clientId => _ref5 => {
-  let {
-    select,
-    dispatch
-  } = _ref5;
-  const nextBlockClientId = select.getNextBlockClientId(clientId);
+    eachProp(style, (value, key) => {
+      if (key === 'transform') {
+        inputs.push([value || '']);
+        transforms.push(transform => [transform, transform === '']);
+      } else if (domTransforms.test(key)) {
+        delete style[key];
+        if (react_spring_shared_esm_is.und(value)) return;
+        const unit = pxTransforms.test(key) ? 'px' : degTransforms.test(key) ? 'deg' : '';
+        inputs.push(react_spring_shared_esm_toArray(value));
+        transforms.push(key === 'rotate3d' ? ([x, y, z, deg]) => [`rotate3d(${x},${y},${z},${addUnit(deg, unit)})`, isValueIdentity(deg, 0)] : input => [`${key}(${input.map(v => addUnit(v, unit)).join(',')})`, isValueIdentity(input, key.startsWith('scale') ? 1 : 0)]);
+      }
+    });

-  if (nextBlockClientId) {
-    dispatch.selectBlock(nextBlockClientId);
+    if (inputs.length) {
+      style.transform = new FluidTransform(inputs, transforms);
+    }
+
+    super(style);
   }
-};
-/**
- * Action that starts block multi-selection.
- *
- * @return {Object} Action object.
- */

-function startMultiSelect() {
-  return {
-    type: 'START_MULTI_SELECT'
-  };
 }
-/**
- * Action that stops block multi-selection.
- *
- * @return {Object} Action object.
- */

-function stopMultiSelect() {
-  return {
-    type: 'STOP_MULTI_SELECT'
-  };
-}
-/**
- * Action that changes block multi-selection.
- *
- * @param {string} start First block of the multi selection.
- * @param {string} end   Last block of the multiselection.
- */
+class FluidTransform extends FluidValue {
+  constructor(inputs, transforms) {
+    super();
+    this._value = null;
+    this.inputs = inputs;
+    this.transforms = transforms;
+  }

-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.
+  get() {
+    return this._value || (this._value = this._get());
+  }

-  if (startBlockRootClientId !== endBlockRootClientId) {
-    return;
+  _get() {
+    let transform = '';
+    let identity = true;
+    react_spring_shared_esm_each(this.inputs, (input, i) => {
+      const arg1 = getFluidValue(input[0]);
+      const [t, id] = this.transforms[i](react_spring_shared_esm_is.arr(arg1) ? arg1 : input.map(getFluidValue));
+      transform += ' ' + t;
+      identity = identity && id;
+    });
+    return identity ? 'none' : transform;
   }

-  dispatch({
-    type: 'MULTI_SELECT',
-    start,
-    end
-  });
-  const blockCount = select.getSelectedBlockCount();
-  Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: number of selected blocks */
-  Object(external_wp_i18n_["_n"])('%s block selected.', '%s blocks selected.', blockCount), blockCount), 'assertive');
-};
-/**
- * Action that clears the block selection.
- *
- * @return {Object} Action object.
- */
+  observerAdded(count) {
+    if (count == 1) react_spring_shared_esm_each(this.inputs, input => react_spring_shared_esm_each(input, value => hasFluidValue(value) && addFluidObserver(value, this)));
+  }

-function clearSelectedBlock() {
-  return {
-    type: 'CLEAR_SELECTED_BLOCK'
-  };
-}
-/**
- * Action that enables or disables block selection.
- *
- * @param {boolean} [isSelectionEnabled=true] Whether block selection should
- *                                            be enabled.
- *
- * @return {Object} Action object.
- */
+  observerRemoved(count) {
+    if (count == 0) react_spring_shared_esm_each(this.inputs, input => react_spring_shared_esm_each(input, value => hasFluidValue(value) && removeFluidObserver(value, this)));
+  }

-function toggleSelection() {
-  let isSelectionEnabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
-  return {
-    type: 'TOGGLE_SELECTION',
-    isSelectionEnabled
-  };
-}
+  eventObserved(event) {
+    if (event.type == 'change') {
+      this._value = null;
+    }

-function getBlocksWithDefaultStylesApplied(blocks, blockEditorSettings) {
-  var _blockEditorSettings$, _blockEditorSettings$2;
+    callFluidObservers(this, event);
+  }

-  const preferredStyleVariations = (_blockEditorSettings$ = blockEditorSettings === null || blockEditorSettings === void 0 ? void 0 : (_blockEditorSettings$2 = blockEditorSettings.__experimentalPreferredStyleVariations) === null || _blockEditorSettings$2 === void 0 ? void 0 : _blockEditorSettings$2.value) !== null && _blockEditorSettings$ !== void 0 ? _blockEditorSettings$ : {};
-  return blocks.map(block => {
-    var _block$attributes;
+}

-    const blockName = block.name;
+const primitives = ['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'];

-    if (!Object(external_wp_blocks_["hasBlockSupport"])(blockName, 'defaultStylePicker', true)) {
-      return block;
-    }
+const react_spring_web_esm_excluded = ["scrollTop", "scrollLeft"];
+globals.assign({
+  batchedUpdates: external_ReactDOM_namespaceObject.unstable_batchedUpdates,
+  createStringInterpolator: createStringInterpolator,
+  colors: colors
+});
+const host = createHost(primitives, {
+  applyAnimatedValues,
+  createAnimatedStyle: style => new AnimatedStyle(style),
+  getComponentProps: _ref => {
+    let props = react_spring_web_esm_objectWithoutPropertiesLoose(_ref, react_spring_web_esm_excluded);

-    if (!preferredStyleVariations[blockName]) {
-      return block;
-    }
+    return props;
+  }
+});
+const animated = host.animated;

-    const className = (_block$attributes = block.attributes) === null || _block$attributes === void 0 ? void 0 : _block$attributes.className;

-    if (className !== null && className !== void 0 && className.includes('is-style-')) {
-      return block;
-    }

-    const {
-      attributes = {}
-    } = block;
-    const blockStyle = preferredStyleVariations[blockName];
-    return { ...block,
-      attributes: { ...attributes,
-        className: `${className || ''} is-style-${blockStyle}`.trim()
-      }
-    };
-  });
-}
-/* eslint-disable jsdoc/valid-types */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-moving-animation/index.js
+/**
+ * External dependencies
+ */

 /**
- * Action that replaces given blocks with one or more replacement blocks.
- *
- * @param {(string|string[])} clientIds       Block client ID(s) to replace.
- * @param {(Object|Object[])} blocks          Replacement block(s).
- * @param {number}            indexToSelect   Index of replacement block to select.
- * @param {0|-1|null}         initialPosition Index of caret after in the selected block after the operation.
- * @param {?Object}           meta            Optional Meta values to be passed to the action object.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */


-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;

-    /* 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.

-    for (let index = 0; index < blocks.length; index++) {
-      const block = blocks[index];
-      const canInsertBlock = select.canInsertBlockType(block.name, rootClientId);
+/**
+ * Simple reducer used to increment a counter.
+ *
+ * @param {number} state Previous counter value.
+ * @return {number} New state value.
+ */

-      if (!canInsertBlock) {
-        return;
-      }
-    }
+const counterReducer = state => state + 1;

-    dispatch({
-      type: 'REPLACE_BLOCKS',
-      clientIds,
-      blocks,
-      time: Date.now(),
-      indexToSelect,
-      initialPosition,
-      meta
-    });
-    dispatch(ensureDefaultBlock());
+const getAbsolutePosition = element => {
+  return {
+    top: element.offsetTop,
+    left: element.offsetLeft
   };
 };
 /**
- * Action that replaces a single block with one or more replacement blocks.
+ * Hook used to compute the styles required to move a div into a new position.
  *
- * @param {(string|string[])} clientId Block client ID to replace.
- * @param {(Object|Object[])} block    Replacement block(s).
+ * The way this animation works is the following:
+ *  - It first renders the element as if there was no animation.
+ *  - It takes a snapshot of the position of the block to use it
+ *    as a destination point for the animation.
+ *  - It restores the element to the previous position using a CSS transform
+ *  - It uses the "resetAnimation" flag to reset the animation
+ *    from the beginning in order to animate to the new destination point.
  *
- * @return {Object} Action object.
+ * @param {Object}  $1                          Options
+ * @param {boolean} $1.isSelected               Whether it's the current block or not.
+ * @param {boolean} $1.adjustScrolling          Adjust the scroll position to the current block.
+ * @param {boolean} $1.enableAnimation          Enable/Disable animation.
+ * @param {*}       $1.triggerAnimationOnChange Variable used to trigger the animation if it changes.
  */

-function replaceBlock(clientId, block) {
-  return replaceBlocks(clientId, block);
-}
-/**
- * Higher-order action creator which, given the action type to dispatch creates
- * an action creator for managing block movement.
- *
- * @param {string} type Action type to dispatch.
- *
- * @return {Function} Action creator.
- */

-const createOnMove = type => (clientIds, rootClientId) => _ref8 => {
+function useMovingAnimation(_ref) {
   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);
+    isSelected,
+    adjustScrolling,
+    enableAnimation,
+    triggerAnimationOnChange
+  } = _ref;
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const prefersReducedMotion = (0,external_wp_compose_namespaceObject.useReducedMotion)() || !enableAnimation;
+  const [triggeredAnimation, triggerAnimation] = (0,external_wp_element_namespaceObject.useReducer)(counterReducer, 0);
+  const [finishedAnimation, endAnimation] = (0,external_wp_element_namespaceObject.useReducer)(counterReducer, 0);
+  const [transform, setTransform] = (0,external_wp_element_namespaceObject.useState)({
+    x: 0,
+    y: 0
+  });
+  const previous = (0,external_wp_element_namespaceObject.useMemo)(() => ref.current ? getAbsolutePosition(ref.current) : null, [triggerAnimationOnChange]); // Calculate the previous position of the block relative to the viewport and
+  // return a function to maintain that position by scrolling.

-  if (!canMoveBlocks) {
-    return;
-  }
+  const preserveScrollPosition = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (!adjustScrolling || !ref.current) {
+      return () => {};
+    }

-  dispatch({
-    type,
-    clientIds: Object(external_lodash_["castArray"])(clientIds),
-    rootClientId
-  });
-};
+    const scrollContainer = (0,external_wp_dom_namespaceObject.getScrollContainer)(ref.current);

-const moveBlocksDown = createOnMove('MOVE_BLOCKS_DOWN');
-const moveBlocksUp = createOnMove('MOVE_BLOCKS_UP');
-/**
- * Action that moves given blocks to a new position.
- *
- * @param {?string} clientIds        The client IDs of the blocks.
- * @param {?string} fromRootClientId Root client ID source.
- * @param {?string} toRootClientId   Root client ID destination.
- * @param {number}  index            The index to move the blocks to.
- */
+    if (!scrollContainer) {
+      return () => {};
+    }

-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.
+    const prevRect = ref.current.getBoundingClientRect();
+    return () => {
+      const blockRect = ref.current.getBoundingClientRect();
+      const diff = blockRect.top - prevRect.top;

-    if (!canMoveBlocks) {
+      if (diff) {
+        scrollContainer.scrollTop += diff;
+      }
+    };
+  }, [triggerAnimationOnChange, adjustScrolling]);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    if (triggeredAnimation) {
+      endAnimation();
+    }
+  }, [triggeredAnimation]);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    if (!previous) {
       return;
-    } // If moving inside the same root block the move is always possible.
+    }

+    if (prefersReducedMotion) {
+      // if the animation is disabled and the scroll needs to be adjusted,
+      // just move directly to the final scroll position.
+      preserveScrollPosition();
+      return;
+    }

-    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.
+    ref.current.style.transform = '';
+    const destination = getAbsolutePosition(ref.current);
+    triggerAnimation();
+    setTransform({
+      x: Math.round(previous.left - destination.left),
+      y: Math.round(previous.top - destination.top)
+    });
+  }, [triggerAnimationOnChange]); // Only called when either the x or y value changes.

-      if (!canRemoveBlocks) {
-        return;
-      }
+  function onFrameChange(_ref2) {
+    let {
+      x,
+      y
+    } = _ref2;

-      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 (!ref.current) {
+      return;
+    }

-      if (!canInsertBlocks) {
-        return;
-      }
+    const isMoving = x === 0 && y === 0;
+    ref.current.style.transformOrigin = isMoving ? '' : 'center';
+    ref.current.style.transform = isMoving ? '' : `translate3d(${x}px,${y}px,0)`;
+    ref.current.style.zIndex = !isSelected || isMoving ? '' : '1';
+    preserveScrollPosition();
+  } // Called for every frame computed by useSpring.
+
+
+  function onChange(_ref3) {
+    let {
+      value
+    } = _ref3;
+    let {
+      x,
+      y
+    } = value;
+    x = Math.round(x);
+    y = Math.round(y);
+
+    if (x !== onChange.x || y !== onChange.y) {
+      onFrameChange({
+        x,
+        y
+      });
+      onChange.x = x;
+      onChange.y = y;
     }
+  }

-    dispatch({
-      type: 'MOVE_BLOCKS_TO_POSITION',
-      fromRootClientId,
-      toRootClientId,
-      clientIds,
-      index
-    });
-  };
-};
+  onChange.x = 0;
+  onChange.y = 0;
+  useSpring({
+    from: {
+      x: transform.x,
+      y: transform.y
+    },
+    to: {
+      x: 0,
+      y: 0
+    },
+    reset: triggeredAnimation !== finishedAnimation,
+    config: {
+      mass: 5,
+      tension: 2000,
+      friction: 200
+    },
+    immediate: prefersReducedMotion,
+    onChange
+  });
+  return ref;
+}
+
+/* harmony default export */ var use_moving_animation = (useMovingAnimation);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/dom.js
+const BLOCK_SELECTOR = '.block-editor-block-list__block';
+const APPENDER_SELECTOR = '.block-list-appender';
 /**
- * Action that moves given block to a new position.
+ * Returns true if two elements are contained within the same block.
  *
- * @param {?string} clientId         The client ID of the block.
- * @param {?string} fromRootClientId Root client ID source.
- * @param {?string} toRootClientId   Root client ID destination.
- * @param {number}  index            The index to move the block to.
+ * @param {Element} a First element.
+ * @param {Element} b Second element.
+ *
+ * @return {boolean} Whether elements are in the same block.
  */

-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);
+function isInSameBlock(a, b) {
+  return a.closest(BLOCK_SELECTOR) === b.closest(BLOCK_SELECTOR);
 }
 /**
- * Action that inserts a single block, optionally at a specific index respective a root block list.
+ * Returns true if an element is considered part of the block and not its inner
+ * blocks or appender.
  *
- * @param {Object}   block           Block object to insert.
- * @param {?number}  index           Index at which block should be inserted.
- * @param {?string}  rootClientId    Optional root client ID of block list on which to insert.
- * @param {?boolean} updateSelection If true block selection will be updated. If false, block selection will not change. Defaults to true.
- * @param {?Object}  meta            Optional Meta values to be passed to the action object.
+ * @param {Element} blockElement Block container element.
+ * @param {Element} element      Element.
  *
- * @return {Object} Action object.
+ * @return {boolean} Whether an element is considered part of the block and not
+ *                   its inner blocks or appender.
  */

-function insertBlock(block, index, rootClientId, updateSelection, meta) {
-  return insertBlocks([block], index, rootClientId, updateSelection, 0, meta);
+function isInsideRootBlock(blockElement, element) {
+  const parentBlock = element.closest([BLOCK_SELECTOR, APPENDER_SELECTOR].join(','));
+  return parentBlock === blockElement;
 }
-/* eslint-disable jsdoc/valid-types */
-
 /**
- * Action that inserts an array of blocks, optionally at a specific index respective a root block list.
+ * Finds the block client ID given any DOM node inside the block.
  *
- * @param {Object[]}  blocks          Block objects to insert.
- * @param {?number}   index           Index at which block should be inserted.
- * @param {?string}   rootClientId    Optional root client ID of block list on which to insert.
- * @param {?boolean}  updateSelection If true block selection will be updated.  If false, block selection will not change. Defaults to true.
- * @param {0|-1|null} initialPosition Initial focus position. Setting it to null prevent focusing the inserted block.
- * @param {?Object}   meta            Optional Meta values to be passed to the action object.
- * @return {Object} Action object.
+ * @param {Node?} node DOM node.
+ *
+ * @return {string|undefined} Client ID or undefined if the node is not part of
+ *                            a block.
  */

-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;
+function getBlockClientId(node) {
+  while (node && node.nodeType !== node.ELEMENT_NODE) {
+    node = node.parentNode;
+  }

-    /* 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 (!node) {
+    return;
+  }

-    blocks = getBlocksWithDefaultStylesApplied(Object(external_lodash_["castArray"])(blocks), select.getSettings());
-    const allowedBlocks = [];
+  const elementNode =
+  /** @type {Element} */
+  node;
+  const blockNode = elementNode.closest(BLOCK_SELECTOR);

-    for (const block of blocks) {
-      const isValid = select.canInsertBlockType(block.name, rootClientId);
+  if (!blockNode) {
+    return;
+  }

-      if (isValid) {
-        allowedBlocks.push(block);
-      }
-    }
+  return blockNode.id.slice('block-'.length);
+}

-    if (allowedBlocks.length) {
-      dispatch({
-        type: 'INSERT_BLOCKS',
-        blocks: allowedBlocks,
-        index,
-        rootClientId,
-        time: Date.now(),
-        updateSelection,
-        initialPosition: updateSelection ? initialPosition : null,
-        meta
-      });
-    }
-  };
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-first-element.js
 /**
- * Action that shows the insertion point.
- *
- * @param {?string} rootClientId      Optional root client ID of block list on
- *                                    which to insert.
- * @param {?number} index             Index at which block should be inserted.
- * @param {Object}  __unstableOptions Wether or not to show an inserter button.
- *
- * @return {Object} Action object.
+ * External dependencies
  */

-function showInsertionPoint(rootClientId, index) {
-  let __unstableOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
+/**
+ * WordPress dependencies
+ */
+
+
+

-  const {
-    __unstableWithInserter
-  } = __unstableOptions;
-  return {
-    type: 'SHOW_INSERTION_POINT',
-    rootClientId,
-    index,
-    __unstableWithInserter
-  };
-}
 /**
- * Action that hides the insertion point.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */

-function hideInsertionPoint() {
-  return {
-    type: 'HIDE_INSERTION_POINT'
-  };
-}
+
+
+/** @typedef {import('@wordpress/element').RefObject} RefObject */
+
 /**
- * Action that resets the template validity.
+ * Returns the initial position if the block needs to be focussed, `undefined`
+ * otherwise. The initial position is either 0 (start) or -1 (end).
  *
- * @param {boolean} isValid template validity flag.
+ * @param {string} clientId Block client ID.
  *
- * @return {Object} Action object.
+ * @return {number} The initial position, either 0 (start) or -1 (end).
  */

-function setTemplateValidity(isValid) {
-  return {
-    type: 'SET_TEMPLATE_VALIDITY',
-    isValid
-  };
+function useInitialPosition(clientId) {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSelectedBlocksInitialCaretPosition,
+      isMultiSelecting,
+      isNavigationMode,
+      isBlockSelected
+    } = select(store);
+
+    if (!isBlockSelected(clientId)) {
+      return;
+    }
+
+    if (isMultiSelecting() || isNavigationMode()) {
+      return;
+    } // If there's no initial position, return 0 to focus the start.
+
+
+    return getSelectedBlocksInitialCaretPosition();
+  }, [clientId]);
 }
 /**
- * Action that synchronizes the template with the list of blocks.
+ * Transitions focus to the block or inner tabbable when the block becomes
+ * selected and an initial position is set.
  *
- * @return {Object} Action object.
- */
-
-const synchronizeTemplate = () => _ref11 => {
-  let {
-    select,
-    dispatch
-  } = _ref11;
-  dispatch({
-    type: 'SYNCHRONIZE_TEMPLATE'
-  });
-  const blocks = select.getBlocks();
-  const template = select.getTemplate();
-  const updatedBlockList = Object(external_wp_blocks_["synchronizeBlocksWithTemplate"])(blocks, template);
-  dispatch.resetBlocks(updatedBlockList);
-};
-/**
- * Action that merges two blocks.
+ * @param {string} clientId Block client ID.
  *
- * @param {string} firstBlockClientId  Client ID of the first block to merge.
- * @param {string} secondBlockClientId Client ID of the second block to merge.
+ * @return {RefObject} React ref with the block element.
  */

-const mergeBlocks = (firstBlockClientId, secondBlockClientId) => _ref12 => {
-  let {
-    select,
-    dispatch
-  } = _ref12;
-  const blocks = [firstBlockClientId, secondBlockClientId];
-  dispatch({
-    type: 'MERGE_BLOCKS',
-    blocks
-  });
-  const [clientIdA, clientIdB] = blocks;
-  const blockA = select.getBlock(clientIdA);
-  const blockAType = Object(external_wp_blocks_["getBlockType"])(blockA.name); // Only focus the previous block if it's not mergeable

-  if (blockAType && !blockAType.merge) {
-    dispatch.selectBlock(blockA.clientId);
-    return;
-  }
+function useFocusFirstElement(clientId) {
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const initialPosition = useInitialPosition(clientId);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (initialPosition === undefined || initialPosition === null) {
+      return;
+    }

-  const blockB = select.getBlock(clientIdB);
-  const blockBType = Object(external_wp_blocks_["getBlockType"])(blockB.name);
-  const {
-    clientId,
-    attributeKey,
-    offset
-  } = select.getSelectionStart();
-  const selectedBlockType = clientId === clientIdA ? blockAType : blockBType;
-  const attributeDefinition = selectedBlockType.attributes[attributeKey];
-  const canRestoreTextSelection = (clientId === clientIdA || clientId === clientIdB) && attributeKey !== undefined && offset !== undefined && // We cannot restore text selection if the RichText identifier
-  // is not a defined block attribute key. This can be the case if the
-  // fallback intance ID is used to store selection (and no RichText
-  // identifier is set), or when the identifier is wrong.
-  !!attributeDefinition;
+    if (!ref.current) {
+      return;
+    }
+
+    const {
+      ownerDocument
+    } = ref.current; // Do not focus the block if it already contains the active element.

-  if (!attributeDefinition) {
-    if (typeof attributeKey === 'number') {
-      window.console.error(`RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ${typeof attributeKey}`);
-    } else {
-      window.console.error('The RichText identifier prop does not match any attributes defined by the block.');
+    if (ref.current.contains(ownerDocument.activeElement)) {
+      return;
+    } // Find all tabbables within node.
+
+
+    const textInputs = external_wp_dom_namespaceObject.focus.tabbable.find(ref.current).filter(node => (0,external_wp_dom_namespaceObject.isTextField)(node)); // If reversed (e.g. merge via backspace), use the last in the set of
+    // tabbables.
+
+    const isReverse = -1 === initialPosition;
+    const target = (isReverse ? external_lodash_namespaceObject.last : external_lodash_namespaceObject.first)(textInputs) || ref.current;
+
+    if (!isInsideRootBlock(ref.current, target)) {
+      ref.current.focus();
+      return;
     }
-  } // A robust way to retain selection position through various transforms
-  // is to insert a special character at the position and then recover it.

+    (0,external_wp_dom_namespaceObject.placeCaretAtHorizontalEdge)(target, isReverse);
+  }, [initialPosition]);
+  return ref;
+}

-  const START_OF_SELECTED_AREA = '\u0086'; // Clone the blocks so we don't insert the character in a "live" block.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-is-hovered.js
+/**
+ * WordPress dependencies
+ */

-  const cloneA = Object(external_wp_blocks_["cloneBlock"])(blockA);
-  const cloneB = Object(external_wp_blocks_["cloneBlock"])(blockB);

-  if (canRestoreTextSelection) {
-    const selectedBlock = clientId === clientIdA ? cloneA : cloneB;
-    const html = selectedBlock.attributes[attributeKey];
-    const {
-      multiline: multilineTag,
-      __unstableMultilineWrapperTags: multilineWrapperTags,
-      __unstablePreserveWhiteSpace: preserveWhiteSpace
-    } = attributeDefinition;
-    const value = Object(external_wp_richText_["insert"])(Object(external_wp_richText_["create"])({
-      html,
-      multilineTag,
-      multilineWrapperTags,
-      preserveWhiteSpace
-    }), START_OF_SELECTED_AREA, offset, offset);
-    selectedBlock.attributes[attributeKey] = Object(external_wp_richText_["toHTMLString"])({
-      value,
-      multilineTag,
-      preserveWhiteSpace
-    });
-  } // We can only merge blocks with similar types
-  // thus, we transform the block to merge first
+/**
+ * Internal dependencies
+ */


-  const blocksWithTheSameType = blockA.name === blockB.name ? [cloneB] : Object(external_wp_blocks_["switchToBlockType"])(cloneB, blockA.name); // If the block types can not match, do nothing

-  if (!blocksWithTheSameType || !blocksWithTheSameType.length) {
+function listener(event) {
+  if (event.defaultPrevented) {
     return;
-  } // Calling the merge to update the attributes and remove the block to be merged
+  }

+  const action = event.type === 'mouseover' ? 'add' : 'remove';
+  event.preventDefault();
+  event.currentTarget.classList[action]('is-hovered');
+}
+/**
+ * Adds `is-hovered` class when the block is hovered and in navigation or
+ * outline mode.
+ */

-  const updatedAttributes = blockAType.merge(cloneA.attributes, blocksWithTheSameType[0].attributes);

-  if (canRestoreTextSelection) {
-    const newAttributeKey = Object(external_lodash_["findKey"])(updatedAttributes, v => typeof v === 'string' && v.indexOf(START_OF_SELECTED_AREA) !== -1);
-    const convertedHtml = updatedAttributes[newAttributeKey];
+function useIsHovered() {
+  const isEnabled = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
-      multiline: multilineTag,
-      __unstableMultilineWrapperTags: multilineWrapperTags,
-      __unstablePreserveWhiteSpace: preserveWhiteSpace
-    } = blockAType.attributes[newAttributeKey];
-    const convertedValue = Object(external_wp_richText_["create"])({
-      html: convertedHtml,
-      multilineTag,
-      multilineWrapperTags,
-      preserveWhiteSpace
-    });
-    const newOffset = convertedValue.text.indexOf(START_OF_SELECTED_AREA);
-    const newValue = Object(external_wp_richText_["remove"])(convertedValue, newOffset, newOffset + 1);
-    const newHtml = Object(external_wp_richText_["toHTMLString"])({
-      value: newValue,
-      multilineTag,
-      preserveWhiteSpace
-    });
-    updatedAttributes[newAttributeKey] = newHtml;
-    dispatch.selectionChange(blockA.clientId, newAttributeKey, newOffset, newOffset);
-  }
+      isNavigationMode,
+      getSettings
+    } = select(store);
+    return isNavigationMode() || getSettings().outlineMode;
+  }, []);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    if (isEnabled) {
+      node.addEventListener('mouseout', listener);
+      node.addEventListener('mouseover', listener);
+      return () => {
+        node.removeEventListener('mouseout', listener);
+        node.removeEventListener('mouseover', listener); // Remove class in case it lingers.

-  dispatch.replaceBlocks([blockA.clientId, blockB.clientId], [{ ...blockA,
-    attributes: { ...blockA.attributes,
-      ...updatedAttributes
+        node.classList.remove('is-hovered');
+      };
     }
-  }, ...blocksWithTheSameType.slice(1)], 0 // If we don't pass the `indexToSelect` it will default to the last block.
-  );
-};
+  }, [isEnabled]);
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-class-names.js
 /**
- * Yields action objects used in signalling that the blocks corresponding to
- * the set of specified client IDs are to be removed.
- *
- * @param {string|string[]} clientIds      Client IDs of blocks to remove.
- * @param {boolean}         selectPrevious True if the previous block should be
- *                                         selected when a block is removed.
+ * External dependencies
  */

-const removeBlocks = function (clientIds) {
-  let selectPrevious = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-  return _ref13 => {
-    let {
-      select,
-      dispatch
-    } = _ref13;
-
-    if (!clientIds || !clientIds.length) {
-      return;
-    }
+/**
+ * WordPress dependencies
+ */

-    clientIds = Object(external_lodash_["castArray"])(clientIds);
-    const rootClientId = select.getBlockRootClientId(clientIds[0]);
-    const canRemoveBlocks = select.canRemoveBlocks(clientIds, rootClientId);

-    if (!canRemoveBlocks) {
-      return;
-    }

-    if (selectPrevious) {
-      dispatch.selectPreviousBlock(clientIds[0]);
-    }
+/**
+ * Internal dependencies
+ */

-    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
- * specified client ID is to be removed.
+ * Returns the class names used for the different states of the block.
  *
- * @param {string}  clientId       Client ID of block to remove.
- * @param {boolean} selectPrevious True if the previous block should be
- *                                 selected when a block is removed.
+ * @param {string} clientId The block client ID.
  *
- * @return {Object} Action object.
+ * @return {string} The class names.
  */

-function removeBlock(clientId, selectPrevious) {
-  return removeBlocks([clientId], selectPrevious);
+function useBlockClassNames(clientId) {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      isBlockBeingDragged,
+      isBlockHighlighted,
+      isBlockSelected,
+      isBlockMultiSelected,
+      getBlockName,
+      getSettings,
+      hasSelectedInnerBlock,
+      isTyping,
+      __experimentalGetActiveBlockIdByBlockNames: getActiveBlockIdByBlockNames
+    } = select(store);
+    const {
+      __experimentalSpotlightEntityBlocks: spotlightEntityBlocks,
+      outlineMode
+    } = getSettings();
+    const isDragging = isBlockBeingDragged(clientId);
+    const isSelected = isBlockSelected(clientId);
+    const name = getBlockName(clientId);
+    const checkDeep = true; // "ancestor" is the more appropriate label due to "deep" check
+
+    const isAncestorOfSelectedBlock = hasSelectedInnerBlock(clientId, checkDeep);
+    const activeEntityBlockId = getActiveBlockIdByBlockNames(spotlightEntityBlocks);
+    return classnames_default()({
+      'is-selected': isSelected,
+      'is-highlighted': isBlockHighlighted(clientId),
+      'is-multi-selected': isBlockMultiSelected(clientId),
+      'is-reusable': (0,external_wp_blocks_namespaceObject.isReusableBlock)((0,external_wp_blocks_namespaceObject.getBlockType)(name)),
+      'is-dragging': isDragging,
+      'has-child-selected': isAncestorOfSelectedBlock,
+      'has-active-entity': activeEntityBlockId,
+      // Determine if there is an active entity area to spotlight.
+      'is-active-entity': activeEntityBlockId === clientId,
+      'remove-outline': isSelected && outlineMode && isTyping()
+    });
+  }, [clientId]);
 }
-/* eslint-disable jsdoc/valid-types */

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-default-class-name.js
 /**
- * Returns an action object used in signalling that the inner blocks with the
- * specified client ID should be replaced.
- *
- * @param {string}    rootClientId    Client ID of the block whose InnerBlocks will re replaced.
- * @param {Object[]}  blocks          Block objects to insert as new InnerBlocks
- * @param {?boolean}  updateSelection If true block selection will be updated. If false, block selection will not change. Defaults to false.
- * @param {0|-1|null} initialPosition Initial block position.
- * @return {Object} Action object.
+ * WordPress dependencies
  */

-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',
-    rootClientId,
-    blocks,
-    updateSelection,
-    initialPosition: updateSelection ? initialPosition : null,
-    time: Date.now()
-  };
-}
 /**
- * Returns an action object used to toggle the block editing mode between
- * visual and HTML modes.
+ * Internal dependencies
+ */
+
+
+/**
+ * Returns the default class name if the block is a light block and it supports
+ * `className`.
  *
- * @param {string} clientId Block client ID.
+ * @param {string} clientId The block client ID.
  *
- * @return {Object} Action object.
+ * @return {string} The class name, e.g. `wp-block-paragraph`.
  */

-function toggleBlockMode(clientId) {
-  return {
-    type: 'TOGGLE_BLOCK_MODE',
-    clientId
-  };
+function useBlockDefaultClassName(clientId) {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const name = select(store).getBlockName(clientId);
+    const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(name);
+    const hasLightBlockWrapper = (blockType === null || blockType === void 0 ? void 0 : blockType.apiVersion) > 1;
+
+    if (!hasLightBlockWrapper) {
+      return;
+    }
+
+    return (0,external_wp_blocks_namespaceObject.getBlockDefaultClassName)(name);
+  }, [clientId]);
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-custom-class-name.js
 /**
- * Returns an action object used in signalling that the user has begun to type.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */

-function startTyping() {
-  return {
-    type: 'START_TYPING'
-  };
-}
+
 /**
- * Returns an action object used in signalling that the user has stopped typing.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */

-function stopTyping() {
-  return {
-    type: 'STOP_TYPING'
-  };
-}
+
 /**
- * Returns an action object used in signalling that the user has begun to drag blocks.
+ * Returns the custom class name if the block is a light block.
  *
- * @param {string[]} clientIds An array of client ids being dragged
+ * @param {string} clientId The block client ID.
  *
- * @return {Object} Action object.
+ * @return {string} The custom class name.
  */

-function startDraggingBlocks() {
-  let clientIds = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  return {
-    type: 'START_DRAGGING_BLOCKS',
-    clientIds
-  };
+function useBlockCustomClassName(clientId) {
+  // It's good for this to be a separate selector because it will be executed
+  // on every attribute change, while the other selectors are not re-evaluated
+  // as much.
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockName,
+      getBlockAttributes
+    } = select(store);
+    const attributes = getBlockAttributes(clientId);
+
+    if (!(attributes !== null && attributes !== void 0 && attributes.className)) {
+      return;
+    }
+
+    const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(getBlockName(clientId));
+    const hasLightBlockWrapper = (blockType === null || blockType === void 0 ? void 0 : blockType.apiVersion) > 1;
+
+    if (!hasLightBlockWrapper) {
+      return;
+    }
+
+    return attributes.className;
+  }, [clientId]);
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-moving-mode-class-names.js
 /**
- * Returns an action object used in signalling that the user has stopped dragging blocks.
- *
- * @return {Object} Action object.
+ * External dependencies
  */

-function stopDraggingBlocks() {
-  return {
-    type: 'STOP_DRAGGING_BLOCKS'
-  };
-}
 /**
- * Returns an action object used in signalling that the caret has entered formatted text.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */

-function enterFormattedText() {
-  return {
-    type: 'ENTER_FORMATTED_TEXT'
-  };
-}
+
 /**
- * Returns an action object used in signalling that the user caret has exited formatted text.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */

-function exitFormattedText() {
-  return {
-    type: 'EXIT_FORMATTED_TEXT'
-  };
-}
+
 /**
- * Action that changes the position of the user caret.
+ * Returns the class names used for block moving mode.
  *
- * @param {string} clientId     The selected block client ID.
- * @param {string} attributeKey The selected block attribute key.
- * @param {number} startOffset  The start offset.
- * @param {number} endOffset    The end offset.
+ * @param {string} clientId The block client ID to insert above.
  *
- * @return {Object} Action object.
+ * @return {string} The class names.
  */

-function selectionChange(clientId, attributeKey, startOffset, endOffset) {
-  return {
-    type: 'SELECTION_CHANGE',
-    clientId,
-    attributeKey,
-    startOffset,
-    endOffset
-  };
+function useBlockMovingModeClassNames(clientId) {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      hasBlockMovingClientId,
+      canInsertBlockType,
+      getBlockName,
+      getBlockRootClientId,
+      isBlockSelected
+    } = select(store); // The classes are only relevant for the selected block. Avoid
+    // re-rendering all blocks!
+
+    if (!isBlockSelected(clientId)) {
+      return;
+    }
+
+    const movingClientId = hasBlockMovingClientId();
+
+    if (!movingClientId) {
+      return;
+    }
+
+    return classnames_default()('is-block-moving-mode', {
+      'can-insert-moving-block': canInsertBlockType(getBlockName(movingClientId), getBlockRootClientId(clientId))
+    });
+  }, [clientId]);
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-handler.js
 /**
- * Action that adds a new block of the default type to the block list.
- *
- * @param {?Object} attributes   Optional attributes of the block to assign.
- * @param {?string} rootClientId Optional root client ID of block list on which
- *                               to append.
- * @param {?number} index        Optional index where to insert the default block
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+/**
+ * Selects the block if it receives focus.
  *
- * @return {Object} Action object
+ * @param {string} clientId Block client ID.
  */

-function insertDefaultBlock(attributes, rootClientId, index) {
-  // Abort if there is no default block type (if it has been unregistered).
-  const defaultBlockName = Object(external_wp_blocks_["getDefaultBlockName"])();
+function useFocusHandler(clientId) {
+  const {
+    isBlockSelected
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    selectBlock,
+    selectionChange
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    /**
+     * Marks the block as selected when focused and not already
+     * selected. This specifically handles the case where block does not
+     * set focus on its own (via `setFocus`), typically if there is no
+     * focusable input in the block.
+     *
+     * @param {FocusEvent} event Focus event.
+     */
+    function onFocus(event) {
+      // Check synchronously because a non-selected block might be
+      // getting data through `useSelect` asynchronously.
+      if (isBlockSelected(clientId)) {
+        // Potentially change selection away from rich text.
+        if (!event.target.isContentEditable) {
+          selectionChange(clientId);
+        }

-  if (!defaultBlockName) {
-    return;
-  }
+        return;
+      } // If an inner block is focussed, that block is resposible for
+      // setting the selected block.

-  const block = Object(external_wp_blocks_["createBlock"])(defaultBlockName, attributes);
-  return insertBlock(block, index, rootClientId);
+
+      if (!isInsideRootBlock(node, event.target)) {
+        return;
+      }
+
+      selectBlock(clientId);
+    }
+
+    node.addEventListener('focusin', onFocus);
+    return () => {
+      node.removeEventListener('focusin', onFocus);
+    };
+  }, [isBlockSelected, selectBlock]);
 }
+
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js
 /**
- * Action that changes the nested settings of a given block.
- *
- * @param {string} clientId Client ID of the block whose nested setting are
- *                          being received.
- * @param {Object} settings Object with the new settings for the nested block.
+ * WordPress dependencies
+ */
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+/**
+ * Adds block behaviour:
+ *   - Removes the block on BACKSPACE.
+ *   - Inserts a default block on ENTER.
+ *   - Disables dragging of block contents.
  *
- * @return {Object} Action object
+ * @param {string} clientId Block client ID.
  */

-function updateBlockListSettings(clientId, settings) {
-  return {
-    type: 'UPDATE_BLOCK_LIST_SETTINGS',
-    clientId,
-    settings
-  };
+function useEventHandlers(clientId) {
+  const isSelected = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isBlockSelected(clientId), [clientId]);
+  const {
+    getBlockRootClientId,
+    getBlockIndex
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    insertDefaultBlock,
+    removeBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    if (!isSelected) {
+      return;
+    }
+    /**
+     * Interprets keydown event intent to remove or insert after block if
+     * key event occurs on wrapper node. This can occur when the block has
+     * no text fields of its own, particularly after initial insertion, to
+     * allow for easy deletion and continuous writing flow to add additional
+     * content.
+     *
+     * @param {KeyboardEvent} event Keydown event.
+     */
+
+
+    function onKeyDown(event) {
+      const {
+        keyCode,
+        target
+      } = event;
+
+      if (keyCode !== external_wp_keycodes_namespaceObject.ENTER && keyCode !== external_wp_keycodes_namespaceObject.BACKSPACE && keyCode !== external_wp_keycodes_namespaceObject.DELETE) {
+        return;
+      }
+
+      if (target !== node || (0,external_wp_dom_namespaceObject.isTextField)(target)) {
+        return;
+      }
+
+      event.preventDefault();
+
+      if (keyCode === external_wp_keycodes_namespaceObject.ENTER) {
+        insertDefaultBlock({}, getBlockRootClientId(clientId), getBlockIndex(clientId) + 1);
+      } else {
+        removeBlock(clientId);
+      }
+    }
+    /**
+     * Prevents default dragging behavior within a block. To do: we must
+     * handle this in the future and clean up the drag target.
+     *
+     * @param {DragEvent} event Drag event.
+     */
+
+
+    function onDragStart(event) {
+      event.preventDefault();
+    }
+
+    node.addEventListener('keydown', onKeyDown);
+    node.addEventListener('dragstart', onDragStart);
+    return () => {
+      node.removeEventListener('keydown', onKeyDown);
+      node.removeEventListener('dragstart', onDragStart);
+    };
+  }, [clientId, isSelected, getBlockRootClientId, getBlockIndex, insertDefaultBlock, removeBlock]);
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-nav-mode-exit.js
 /**
- * Action that updates the block editor settings.
- *
- * @param {Object} settings Updated settings
- *
- * @return {Object} Action object
+ * WordPress dependencies
  */

-function updateSettings(settings) {
-  return {
-    type: 'UPDATE_SETTINGS',
-    settings
-  };
-}
+
 /**
- * Action that signals that a temporary reusable block has been saved
- * in order to switch its temporary id with the real id.
- *
- * @param {string} id        Reusable block's id.
- * @param {string} updatedId Updated block's id.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */

-function __unstableSaveReusableBlock(id, updatedId) {
-  return {
-    type: 'SAVE_REUSABLE_BLOCK_SUCCESS',
-    id,
-    updatedId
-  };
-}
+
 /**
- * Action that marks the last block change explicitly as persistent.
+ * Allows navigation mode to be exited by clicking in the selected block.
  *
- * @return {Object} Action object.
+ * @param {string} clientId Block client ID.
  */

-function __unstableMarkLastChangeAsPersistent() {
-  return {
-    type: 'MARK_LAST_CHANGE_AS_PERSISTENT'
-  };
+function useNavModeExit(clientId) {
+  const {
+    isNavigationMode,
+    isBlockSelected
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    setNavigationMode,
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    function onMouseDown(event) {
+      // Don't select a block if it's already handled by a child
+      // block.
+      if (isNavigationMode() && !event.defaultPrevented) {
+        // Prevent focus from moving to the block.
+        event.preventDefault(); // When clicking on a selected block, exit navigation mode.
+
+        if (isBlockSelected(clientId)) {
+          setNavigationMode(false);
+        } else {
+          selectBlock(clientId);
+        }
+      }
+    }
+
+    node.addEventListener('mousedown', onMouseDown);
+    return () => {
+      node.addEventListener('mousedown', onMouseDown);
+    };
+  }, [clientId, isNavigationMode, isBlockSelected, setNavigationMode]);
 }
+
+// EXTERNAL MODULE: ./node_modules/dom-scroll-into-view/lib/index.js
+var dom_scroll_into_view_lib = __webpack_require__(5425);
+var lib_default = /*#__PURE__*/__webpack_require__.n(dom_scroll_into_view_lib);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-scroll-into-view.js
 /**
- * Action that signals that the next block change should be marked explicitly as not persistent.
- *
- * @return {Object} Action object.
+ * External dependencies
  */

-function __unstableMarkNextChangeAsNotPersistent() {
-  return {
-    type: 'MARK_NEXT_CHANGE_AS_NOT_PERSISTENT'
-  };
-}
 /**
- * Action that marks the last block change as an automatic change, meaning it was not
- * performed by the user, and can be undone using the `Escape` and `Backspace` keys.
- * This action must be called after the change was made, and any actions that are a
- * consequence of it, so it is recommended to be called at the next idle period to ensure all
- * selection changes have been recorded.
+ * WordPress dependencies
  */

-const __unstableMarkAutomaticChange = () => _ref14 => {
-  let {
-    dispatch
-  } = _ref14;
-  dispatch({
-    type: 'MARK_AUTOMATIC_CHANGE'
-  });
-  const {
-    requestIdleCallback = cb => setTimeout(cb, 100)
-  } = window;
-  requestIdleCallback(() => {
-    dispatch({
-      type: 'MARK_AUTOMATIC_CHANGE_FINAL'
-    });
-  });
-};
 /**
- * Action that enables or disables the navigation mode.
- *
- * @param {string} isNavigationMode Enable/Disable navigation mode.
+ * WordPress dependencies
  */

-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.'));
-    }
-  };
-};
-/**
- * Action that enables or disables the block moving mode.
- *
- * @param {string|null} hasBlockMovingClientId Enable/Disable block moving mode.
- */

-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.'));
-    }
-  };
-};
 /**
- * Action that duplicates a list of blocks.
- *
- * @param {string[]} clientIds
- * @param {boolean}  updateSelection
+ * Internal dependencies
  */

-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.
+function useScrollIntoView(clientId) {
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const isSelectionEnd = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      isBlockSelected,
+      getBlockSelectionEnd
+    } = select(store);
+    return isBlockSelected(clientId) || getBlockSelectionEnd() === clientId;
+  }, [clientId]); // Note that we can't use `useRefEffect` here, since an element change does
+  // not mean we can scroll. `isSelectionEnd` should be the sole dependency,
+  // while with `useRefEffect`, the element is a dependency as well.

+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!isSelectionEnd) {
+      return;
+    }

-    const blocks = select.getBlocksByClientId(clientIds);
+    const extentNode = ref.current;

-    if (Object(external_lodash_["some"])(blocks, block => !block)) {
+    if (!extentNode) {
       return;
-    } // Return early if blocks don't support multiple usage.
-
+    } // If the block is focused, the browser will already have scrolled into
+    // view if necessary.

-    const blockNames = blocks.map(block => block.name);

-    if (blockNames.some(blockName => !Object(external_wp_blocks_["hasBlockSupport"])(blockName, 'multiple', true))) {
+    if (extentNode.contains(extentNode.ownerDocument.activeElement)) {
       return;
     }

-    const rootClientId = select.getBlockRootClientId(clientIds[0]);
-    const lastSelectedIndex = select.getBlockIndex(Object(external_lodash_["last"])(Object(external_lodash_["castArray"])(clientIds)));
-    const clonedBlocks = blocks.map(block => Object(external_wp_blocks_["__experimentalCloneSanitizedBlock"])(block));
-    dispatch.insertBlocks(clonedBlocks, lastSelectedIndex + 1, rootClientId, updateSelection);
+    const scrollContainer = (0,external_wp_dom_namespaceObject.getScrollContainer)(extentNode) || extentNode.ownerDocument.defaultView; // If there's no scroll container, it follows that there's no scrollbar
+    // and thus there's no need to try to scroll into view.

-    if (clonedBlocks.length > 1 && updateSelection) {
-      dispatch.multiSelect(Object(external_lodash_["first"])(clonedBlocks).clientId, Object(external_lodash_["last"])(clonedBlocks).clientId);
+    if (!scrollContainer) {
+      return;
     }

-    return clonedBlocks.map(block => block.clientId);
-  };
-};
-/**
- * Action that inserts an empty block before a given block.
- *
- * @param {string} clientId
- */
-
-const insertBeforeBlock = clientId => _ref18 => {
-  let {
-    select,
-    dispatch
-  } = _ref18;
-
-  if (!clientId) {
-    return;
-  }
+    lib_default()(extentNode, scrollContainer, {
+      onlyScrollIfNeeded: true
+    });
+  }, [isSelectionEnd]);
+  return ref;
+}

-  const rootClientId = select.getBlockRootClientId(clientId);
-  const isLocked = select.getTemplateLock(rootClientId);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/block-refs-provider.js

-  if (isLocked) {
-    return;
-  }

-  const firstSelectedIndex = select.getBlockIndex(clientId);
-  return dispatch.insertDefaultBlock({}, rootClientId, firstSelectedIndex);
-};
 /**
- * Action that inserts an empty block after a given block.
- *
- * @param {string} clientId
+ * WordPress dependencies
  */

-const insertAfterBlock = clientId => _ref19 => {
+const BlockRefs = (0,external_wp_element_namespaceObject.createContext)();
+function BlockRefsProvider(_ref) {
   let {
-    select,
-    dispatch
-  } = _ref19;
-
-  if (!clientId) {
-    return;
-  }
-
-  const rootClientId = select.getBlockRootClientId(clientId);
-  const isLocked = select.getTemplateLock(rootClientId);
-
-  if (isLocked) {
-    return;
-  }
+    children
+  } = _ref;
+  const value = (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    refs: new Map(),
+    callbacks: new Map()
+  }), []);
+  return (0,external_wp_element_namespaceObject.createElement)(BlockRefs.Provider, {
+    value: value
+  }, children);
+}

-  const firstSelectedIndex = select.getBlockIndex(clientId);
-  return dispatch.insertDefaultBlock({}, rootClientId, firstSelectedIndex + 1);
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-refs.js
 /**
- * Action that toggles the highlighted block state.
- *
- * @param {string}  clientId      The block's clientId.
- * @param {boolean} isHighlighted The highlight state.
+ * WordPress dependencies
  */

-function toggleBlockHighlight(clientId, isHighlighted) {
-  return {
-    type: 'TOGGLE_BLOCK_HIGHLIGHT',
-    clientId,
-    isHighlighted
-  };
-}
-/**
- * Action that "flashes" the block with a given `clientId` by rhythmically highlighting it.
- *
- * @param {string} clientId Target block client ID.
- */

-const flashBlock = clientId => async _ref20 => {
-  let {
-    dispatch
-  } = _ref20;
-  dispatch(toggleBlockHighlight(clientId, true));
-  await new Promise(resolve => setTimeout(resolve, 150));
-  dispatch(toggleBlockHighlight(clientId, false));
-};
 /**
- * Action that sets whether a block has controlled inner blocks.
- *
- * @param {string}  clientId                 The block's clientId.
- * @param {boolean} hasControlledInnerBlocks True if the block's inner blocks are controlled.
+ * Internal dependencies
  */

-function setHasControlledInnerBlocks(clientId, hasControlledInnerBlocks) {
-  return {
-    type: 'SET_HAS_CONTROLLED_INNER_BLOCKS',
-    hasControlledInnerBlocks,
-    clientId
-  };
-}

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/constants.js
-var constants = __webpack_require__("AHN3");
+/** @typedef {import('@wordpress/element').RefCallback} RefCallback */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js
-/**
- * WordPress dependencies
- */
+/** @typedef {import('@wordpress/element').RefObject} RefObject */

 /**
- * Internal dependencies
+ * Provides a ref to the BlockRefs context.
+ *
+ * @param {string} clientId The client ID of the element ref.
+ *
+ * @return {RefCallback} Ref callback.
  */

+function useBlockRefProvider(clientId) {
+  const {
+    refs,
+    callbacks
+  } = (0,external_wp_element_namespaceObject.useContext)(BlockRefs);
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    refs.set(ref, clientId);
+    return () => {
+      refs.delete(ref);
+    };
+  }, [clientId]);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+    // Update the ref in the provider.
+    ref.current = element; // Call any update functions.

-
-
-
+    callbacks.forEach((id, setElement) => {
+      if (clientId === id) {
+        setElement(element);
+      }
+    });
+  }, [clientId]);
+}
 /**
- * Block editor data store configuration.
+ * Gets a ref pointing to the current block element. Continues to return a
+ * stable ref even if the block client ID changes.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
+ * @param {string} clientId The client ID to get a ref for.
  *
- * @type {Object}
+ * @return {RefObject} A ref containing the element.
  */

-const storeConfig = {
-  reducer: store_reducer,
-  selectors: selectors_namespaceObject,
-  actions: actions_namespaceObject,
-  __experimentalUseThunks: true
-};
+function useBlockRef(clientId) {
+  const {
+    refs
+  } = (0,external_wp_element_namespaceObject.useContext)(BlockRefs);
+  const freshClientId = (0,external_wp_element_namespaceObject.useRef)();
+  freshClientId.current = clientId; // Always return an object, even if no ref exists for a given client ID, so
+  // that `current` works at a later point.
+
+  return (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    get current() {
+      let element = null; // Multiple refs may be created for a single block. Find the
+      // first that has an element set.
+
+      for (const [ref, id] of refs.entries()) {
+        if (id === freshClientId.current && ref.current) {
+          element = ref.current;
+        }
+      }
+
+      return element;
+    }
+
+  }), []);
+}
 /**
- * Store definition for the block editor namespace.
+ * Return the element for a given client ID. Updates whenever the element
+ * changes, becomes available, or disappears.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ * @param {string} clientId The client ID to an element for.
  *
- * @type {Object}
+ * @return {Element|null} The block's wrapper element.
  */

-const store = Object(external_wp_data_["createReduxStore"])(constants["a" /* STORE_NAME */], { ...storeConfig,
-  persist: ['preferences']
-}); // Ideally we'd use register instead of register stores.
-
-Object(external_wp_data_["registerStore"])(constants["a" /* STORE_NAME */], { ...storeConfig,
-  persist: ['preferences']
-});

+function useBlockElement(clientId) {
+  const {
+    callbacks
+  } = (0,external_wp_element_namespaceObject.useContext)(BlockRefs);
+  const ref = useBlockRef(clientId);
+  const [element, setElement] = (0,external_wp_element_namespaceObject.useState)(null);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    if (!clientId) {
+      return;
+    }

-/***/ }),
+    callbacks.set(setElement, clientId);
+    return () => {
+      callbacks.delete(setElement);
+    };
+  }, [clientId]);
+  return ref.current || element;
+}

-/***/ "Bo0k":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getFontAppearanceLabel; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return FontAppearanceControl; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);


+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-multi-selection.js
 /**
  * WordPress dependencies
  */


-
-const FONT_STYLES = [{
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Regular', 'font style'),
-  value: 'normal'
-}, {
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Italic', 'font style'),
-  value: 'italic'
-}];
-const FONT_WEIGHTS = [{
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Thin', 'font weight'),
-  value: '100'
-}, {
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Extra Light', 'font weight'),
-  value: '200'
-}, {
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Light', 'font weight'),
-  value: '300'
-}, {
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Regular', 'font weight'),
-  value: '400'
-}, {
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Medium', 'font weight'),
-  value: '500'
-}, {
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Semi Bold', 'font weight'),
-  value: '600'
-}, {
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Bold', 'font weight'),
-  value: '700'
-}, {
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Extra Bold', 'font weight'),
-  value: '800'
-}, {
-  name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_x"])('Black', 'font weight'),
-  value: '900'
-}];
 /**
- * Adjusts font appearance field label in case either font styles or weights
- * are disabled.
- *
- * @param {boolean} hasFontStyles  Whether font styles are enabled and present.
- * @param {boolean} hasFontWeights Whether font weights are enabled and present.
- * @return {string} A label representing what font appearance is being edited.
+ * Internal dependencies
  */

-const getFontAppearanceLabel = (hasFontStyles, hasFontWeights) => {
-  if (!hasFontStyles) {
-    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Font weight');
-  }

-  if (!hasFontWeights) {
-    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Font style');
-  }

-  return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Appearance');
-};
+
+function toggleRichText(container, toggle) {
+  Array.from(container.closest('.is-root-container').querySelectorAll('.rich-text')).forEach(node => {
+    if (toggle) {
+      node.setAttribute('contenteditable', true);
+    } else {
+      node.removeAttribute('contenteditable');
+    }
+  });
+}
 /**
- * Control to display unified font style and weight options.
- *
- * @param {Object} props Component props.
+ * Sets a multi-selection based on the native selection across blocks.
  *
- * @return {WPElement} Font appearance control.
+ * @param {string} clientId Block client ID.
  */

-function FontAppearanceControl(props) {
+
+function useMultiSelection(clientId) {
   const {
-    onChange,
-    hasFontStyles = true,
-    hasFontWeights = true,
-    value: {
-      fontStyle,
-      fontWeight
-    }
-  } = props;
-  const hasStylesOrWeights = hasFontStyles || hasFontWeights;
-  const label = getFontAppearanceLabel(hasFontStyles, hasFontWeights);
-  const defaultOption = {
-    key: 'default',
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Default'),
-    style: {
-      fontStyle: undefined,
-      fontWeight: undefined
-    }
-  }; // Combines both font style and weight options into a single dropdown.
+    startMultiSelect,
+    stopMultiSelect,
+    multiSelect,
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    isSelectionEnabled,
+    isBlockSelected,
+    getBlockParents,
+    getBlockSelectionStart,
+    hasMultiSelection
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    const {
+      ownerDocument
+    } = node;
+    const {
+      defaultView
+    } = ownerDocument;
+    let anchorElement;
+    let rafId;

-  const combineOptions = () => {
-    const combinedOptions = [defaultOption];
-    FONT_STYLES.forEach(_ref => {
+    function onSelectionChange(_ref) {
       let {
-        name: styleName,
-        value: styleValue
+        isSelectionEnd
       } = _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);
-        combinedOptions.push({
-          key: `${styleValue}-${weightValue}`,
-          name: optionName,
-          style: {
-            fontStyle: styleValue,
-            fontWeight: weightValue
-          }
-        });
-      });
-    });
-    return combinedOptions;
-  }; // Generates select options for font styles only.
+      const selection = defaultView.getSelection(); // If no selection is found, end multi selection and enable all rich
+      // text areas.

+      if (!selection.rangeCount || selection.isCollapsed) {
+        toggleRichText(node, true);
+        return;
+      }

-  const styleOptions = () => {
-    const combinedOptions = [defaultOption];
-    FONT_STYLES.forEach(_ref3 => {
-      let {
-        name,
-        value
-      } = _ref3;
-      combinedOptions.push({
-        key: value,
-        name,
-        style: {
-          fontStyle: value,
-          fontWeight: undefined
-        }
-      });
-    });
-    return combinedOptions;
-  }; // Generates select options for font weights only.
+      const endClientId = getBlockClientId(selection.focusNode);
+      const isSingularSelection = clientId === endClientId;

+      if (isSingularSelection) {
+        selectBlock(clientId); // If the selection is complete (on mouse up), and no
+        // multiple blocks have been selected, set focus back to the
+        // anchor element. if the anchor element contains the
+        // selection. Additionally, rich text elements that were
+        // previously disabled can now be enabled again.

-  const weightOptions = () => {
-    const combinedOptions = [defaultOption];
-    FONT_WEIGHTS.forEach(_ref4 => {
-      let {
-        name,
-        value
-      } = _ref4;
-      combinedOptions.push({
-        key: value,
-        name,
-        style: {
-          fontStyle: undefined,
-          fontWeight: value
-        }
-      });
-    });
-    return combinedOptions;
-  }; // Map font styles and weights to select options.
+        if (isSelectionEnd) {
+          toggleRichText(node, true);

+          if (selection.rangeCount) {
+            const {
+              commonAncestorContainer
+            } = selection.getRangeAt(0);

-  const selectOptions = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => {
-    if (hasFontStyles && hasFontWeights) {
-      return combineOptions();
+            if (anchorElement.contains(commonAncestorContainer)) {
+              anchorElement.focus();
+            }
+          }
+        }
+      } else {
+        const startPath = [...getBlockParents(clientId), clientId];
+        const endPath = [...getBlockParents(endClientId), endClientId];
+        const depth = Math.min(startPath.length, endPath.length) - 1;
+        multiSelect(startPath[depth], endPath[depth]);
+      }
     }

-    return hasFontStyles ? styleOptions() : weightOptions();
-  }, [props.options]); // Find current selection by comparing font style & weight against options,
-  // and fall back to the Default option if there is no matching option.
+    function onSelectionEnd() {
+      ownerDocument.removeEventListener('selectionchange', onSelectionChange); // Equivalent to attaching the listener once.

-  const currentSelection = selectOptions.find(option => option.style.fontStyle === fontStyle && option.style.fontWeight === fontWeight) || selectOptions[0]; // Adjusts screen reader description based on styles or weights.
+      defaultView.removeEventListener('mouseup', onSelectionEnd); // The browser selection won't have updated yet at this point,
+      // so wait until the next animation frame to get the browser
+      // selection.

-  const getDescribedBy = () => {
-    if (!currentSelection) {
-      return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('No selected font appearance');
+      rafId = defaultView.requestAnimationFrame(() => {
+        onSelectionChange({
+          isSelectionEnd: true
+        });
+        stopMultiSelect();
+      });
     }

-    if (!hasFontStyles) {
-      return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["sprintf"])( // translators: %s: Currently selected font weight.
-      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Currently selected font weight: %s'), currentSelection.name);
-    }
+    function onMouseLeave(_ref2) {
+      let {
+        buttons
+      } = _ref2;

-    if (!hasFontWeights) {
-      return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["sprintf"])( // translators: %s: Currently selected font style.
-      Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Currently selected font style: %s'), currentSelection.name);
-    }
+      // The primary button must be pressed to initiate selection.
+      // See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons
+      if (buttons !== 1) {
+        return;
+      }

-    return Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["sprintf"])( // translators: %s: Currently selected font appearance.
-    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Currently selected font appearance: %s'), currentSelection.name);
-  };
+      if (!isSelectionEnabled() || !isBlockSelected(clientId)) {
+        return;
+      }

-  return hasStylesOrWeights && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["CustomSelectControl"], {
-    className: "components-font-appearance-control",
-    label: label,
-    describedBy: getDescribedBy(),
-    options: selectOptions,
-    value: currentSelection,
-    onChange: _ref5 => {
-      let {
-        selectedItem
-      } = _ref5;
-      return onChange(selectedItem.style);
+      anchorElement = ownerDocument.activeElement;
+      startMultiSelect(); // `onSelectionStart` is called after `mousedown` and
+      // `mouseleave` (from a block). The selection ends when
+      // `mouseup` happens anywhere in the window.
+
+      ownerDocument.addEventListener('selectionchange', onSelectionChange);
+      defaultView.addEventListener('mouseup', onSelectionEnd); // Removing the contenteditable attributes within the block
+      // editor is essential for selection to work across editable
+      // areas. The edible hosts are removed, allowing selection to be
+      // extended outside the DOM element. `startMultiSelect` sets a
+      // flag in the store so the rich text components are updated,
+      // but the rerender may happen very slowly, especially in Safari
+      // for the blocks that are asynchonously rendered. To ensure the
+      // browser instantly removes the selection boundaries, we remove
+      // the contenteditable attributes manually.
+
+      toggleRichText(node, false);
     }
-  });
-}

+    function onMouseDown(event) {
+      // The main button.
+      // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button
+      if (!isSelectionEnabled() || event.button !== 0) {
+        return;
+      }

-/***/ }),
+      if (event.shiftKey) {
+        const blockSelectionStart = getBlockSelectionStart(); // By checking `blockSelectionStart` to be set, we handle the
+        // case where we select a single block. We also have to check
+        // the selectionEnd (clientId) not to be included in the
+        // `blockSelectionStart`'s parents because the click event is
+        // propagated.

-/***/ "Bpkj":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+        const startParents = getBlockParents(blockSelectionStart);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+        if (blockSelectionStart && blockSelectionStart !== clientId && !(startParents !== null && startParents !== void 0 && startParents.includes(clientId))) {
+          const startPath = [...startParents, blockSelectionStart];
+          const endPath = [...getBlockParents(clientId), clientId];
+          const depth = Math.min(startPath.length, endPath.length) - 1;
+          const start = startPath[depth];
+          const end = endPath[depth]; // Handle the case of having selected a parent block and
+          // then sfift+click on a child.

+          if (start !== end) {
+            toggleRichText(node, false);
+            multiSelect(start, end);
+            event.preventDefault();
+          }
+        }
+      } else if (hasMultiSelection()) {
+        // Allow user to escape out of a multi-selection to a
+        // singular selection of a block via click. This is handled
+        // here since focus handling excludes blocks when there is
+        // multiselection, as focus can be incurred by starting a
+        // multiselection (focus moved to first block's multi-
+        // controls).
+        selectBlock(clientId);
+      }
+    }

+    node.addEventListener('mousedown', onMouseDown);
+    node.addEventListener('mouseleave', onMouseLeave);
+    return () => {
+      node.removeEventListener('mousedown', onMouseDown);
+      node.removeEventListener('mouseleave', onMouseLeave);
+      ownerDocument.removeEventListener('selectionchange', onSelectionChange);
+      defaultView.removeEventListener('mouseup', onSelectionEnd);
+      defaultView.cancelAnimationFrame(rafId);
+    };
+  }, [clientId, startMultiSelect, stopMultiSelect, multiSelect, selectBlock, isSelectionEnabled, isBlockSelected, getBlockParents]);
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-intersection-observer.js
 /**
  * WordPress dependencies
  */

-const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (link);

+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "Btt3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function useIntersectionObserver() {
+  const observer = (0,external_wp_element_namespaceObject.useContext)(IntersectionObserver);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    if (observer) {
+      observer.observe(node);
+      return () => {
+        observer.unobserve(node);
+      };
+    }
+  }, [observer]);
+}

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __experimentalGetMatchingVariation; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/index.js
 /**
  * External dependencies
  */

-/** @typedef {import('@wordpress/blocks').WPBlockVariation} WPBlockVariation */
-
 /**
- * Matches the provided block variations with a block's attributes. If no match
- * or more than one matches are found it returns `undefined`. If a single match is
- * found it returns it.
- *
- * This is a simple implementation for now as it takes into account only the attributes
- * of a block variation and not `InnerBlocks`.
- *
- * @param {Object}             blockAttributes - The block attributes to try to find a match.
- * @param {WPBlockVariation[]} variations      - A list of block variations to test for a match.
- * @return {?WPBlockVariation} - If a match is found returns it. If not or more than one matches are found returns `undefined`.
+ * WordPress dependencies
  */

-const __experimentalGetMatchingVariation = (blockAttributes, variations) => {
-  if (!variations || !blockAttributes) return;
-  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);
-  });
-  if (matches.length !== 1) return;
-  return matches[0];
-};


-/***/ }),

-/***/ "CNgt":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";

-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var __assign = (this && this.__assign) || Object.assign || function(t) {
-    for (var s, i = 1, n = arguments.length; i < n; i++) {
-        s = arguments[i];
-        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
-            t[p] = s[p];
-    }
-    return t;
-};
-var __rest = (this && this.__rest) || function (s, e) {
-    var t = {};
-    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
-        t[p] = s[p];
-    if (s != null && typeof Object.getOwnPropertySymbols === "function")
-        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
-            t[p[i]] = s[p[i]];
-    return t;
-};
-exports.__esModule = true;
-var React = __webpack_require__("cDcd");
-var PropTypes = __webpack_require__("17x9");
-var autosize = __webpack_require__("GemG");
-var _getLineHeight = __webpack_require__("Rk8H");
-var getLineHeight = _getLineHeight;
-var RESIZED = "autosize:resized";
+
 /**
- * A light replacement for built-in textarea component
- * which automaticaly adjusts its height to match the content
+ * Internal dependencies
  */
-var TextareaAutosizeClass = /** @class */ (function (_super) {
-    __extends(TextareaAutosizeClass, _super);
-    function TextareaAutosizeClass() {
-        var _this = _super !== null && _super.apply(this, arguments) || this;
-        _this.state = {
-            lineHeight: null
-        };
-        _this.textarea = null;
-        _this.onResize = function (e) {
-            if (_this.props.onResize) {
-                _this.props.onResize(e);
-            }
-        };
-        _this.updateLineHeight = function () {
-            if (_this.textarea) {
-                _this.setState({
-                    lineHeight: getLineHeight(_this.textarea)
-                });
-            }
-        };
-        _this.onChange = function (e) {
-            var onChange = _this.props.onChange;
-            _this.currentValue = e.currentTarget.value;
-            onChange && onChange(e);
-        };
-        return _this;
-    }
-    TextareaAutosizeClass.prototype.componentDidMount = function () {
-        var _this = this;
-        var _a = this.props, maxRows = _a.maxRows, async = _a.async;
-        if (typeof maxRows === "number") {
-            this.updateLineHeight();
-        }
-        if (typeof maxRows === "number" || async) {
-            /*
-              the defer is needed to:
-                - force "autosize" to activate the scrollbar when this.props.maxRows is passed
-                - support StyledComponents (see #71)
-            */
-            setTimeout(function () { return _this.textarea && autosize(_this.textarea); });
-        }
-        else {
-            this.textarea && autosize(this.textarea);
-        }
-        if (this.textarea) {
-            this.textarea.addEventListener(RESIZED, this.onResize);
-        }
-    };
-    TextareaAutosizeClass.prototype.componentWillUnmount = function () {
-        if (this.textarea) {
-            this.textarea.removeEventListener(RESIZED, this.onResize);
-            autosize.destroy(this.textarea);
-        }
-    };
-    TextareaAutosizeClass.prototype.render = function () {
-        var _this = this;
-        var _a = this, _b = _a.props, onResize = _b.onResize, maxRows = _b.maxRows, onChange = _b.onChange, style = _b.style, innerRef = _b.innerRef, children = _b.children, props = __rest(_b, ["onResize", "maxRows", "onChange", "style", "innerRef", "children"]), lineHeight = _a.state.lineHeight;
-        var maxHeight = maxRows && lineHeight ? lineHeight * maxRows : null;
-        return (React.createElement("textarea", __assign({}, props, { onChange: this.onChange, style: maxHeight ? __assign({}, style, { maxHeight: maxHeight }) : style, ref: function (element) {
-                _this.textarea = element;
-                if (typeof _this.props.innerRef === 'function') {
-                    _this.props.innerRef(element);
-                }
-                else if (_this.props.innerRef) {
-                    _this.props.innerRef.current = element;
-                }
-            } }), children));
-    };
-    TextareaAutosizeClass.prototype.componentDidUpdate = function () {
-        this.textarea && autosize.update(this.textarea);
-    };
-    TextareaAutosizeClass.defaultProps = {
-        rows: 1,
-        async: false
-    };
-    TextareaAutosizeClass.propTypes = {
-        rows: PropTypes.number,
-        maxRows: PropTypes.number,
-        onResize: PropTypes.func,
-        innerRef: PropTypes.any,
-        async: PropTypes.bool
-    };
-    return TextareaAutosizeClass;
-}(React.Component));
-exports.TextareaAutosize = React.forwardRef(function (props, ref) {
-    return React.createElement(TextareaAutosizeClass, __assign({}, props, { innerRef: ref }));
-});
-
-
-/***/ }),

-/***/ "Civd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */

-const layout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (layout);


-/***/ }),

-/***/ "Cn0l":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __experimentalGetGradientClass; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getGradientValueBySlug; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __experimentalGetGradientObjectByGradientValue; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getGradientSlugByValue; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __experimentalUseGradient; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _block_edit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("ur0x");
-/* harmony import */ var _use_setting__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("v5LD");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("BhPs");
-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */



-/**
- * Internal dependencies
- */




-function __experimentalGetGradientClass(gradientSlug) {
-  if (!gradientSlug) {
-    return undefined;
-  }

-  return `has-${gradientSlug}-gradient-background`;
-}
 /**
- * Retrieves the gradient value per slug.
- *
- * @param {Array}  gradients Gradient Palette
- * @param {string} slug      Gradient slug
- *
- * @return {string} Gradient value.
+ * If the block count exceeds the threshold, we disable the reordering animation
+ * to avoid laginess.
  */

-function getGradientValueBySlug(gradients, slug) {
-  const gradient = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["find"])(gradients, ['slug', slug]);
-  return gradient && gradient.gradient;
-}
-function __experimentalGetGradientObjectByGradientValue(gradients, value) {
-  const gradient = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["find"])(gradients, ['gradient', value]);
-  return gradient;
-}
+const BLOCK_ANIMATION_THRESHOLD = 200;
 /**
- * Retrieves the gradient slug per slug.
+ * This hook is used to lightly mark an element as a block element. The element
+ * should be the outermost element of a block. Call this hook and pass the
+ * returned props to the element to mark as a block. If you define a ref for the
+ * element, it is important to pass the ref to this hook, which the hook in turn
+ * will pass to the component through the props it returns. Optionally, you can
+ * also pass any other props through this hook, and they will be merged and
+ * returned.
  *
- * @param {Array}  gradients Gradient Palette
- * @param {string} value     Gradient value
- * @return {string} Gradient slug.
+ * @param {Object}  props                    Optional. Props to pass to the element. Must contain
+ *                                           the ref if one is defined.
+ * @param {Object}  options                  Options for internal use only.
+ * @param {boolean} options.__unstableIsHtml
+ *
+ * @return {Object} Props to pass to the element to mark as a block.
  */

-function getGradientSlugByValue(gradients, value) {
-  const gradient = __experimentalGetGradientObjectByGradientValue(gradients, value);
-
-  return gradient && gradient.slug;
-}
-function __experimentalUseGradient() {
+function useBlockProps() {
+  let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
   let {
-    gradientAttribute = 'gradient',
-    customGradientAttribute = 'customGradient'
-  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    __unstableIsHtml
+  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
   const {
-    clientId
-  } = Object(_block_edit__WEBPACK_IMPORTED_MODULE_3__[/* useBlockEditContext */ "c"])();
-  const userGradientPalette = Object(_use_setting__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])('color.gradients.custom');
-  const themeGradientPalette = Object(_use_setting__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])('color.gradients.theme');
-  const defaultGradientPalette = Object(_use_setting__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])('color.gradients.default');
-  const allGradients = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useMemo"])(() => [...(userGradientPalette || []), ...(themeGradientPalette || []), ...(defaultGradientPalette || [])], [userGradientPalette, themeGradientPalette, defaultGradientPalette]);
+    clientId,
+    className,
+    wrapperProps = {},
+    isAligned
+  } = (0,external_wp_element_namespaceObject.useContext)(BlockListBlockContext);
   const {
-    gradient,
-    customGradient
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useSelect"])(select => {
+    index,
+    mode,
+    name,
+    blockApiVersion,
+    blockTitle,
+    isPartOfSelection,
+    adjustScrolling,
+    enableAnimation
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
-      getBlockAttributes
-    } = select(_store__WEBPACK_IMPORTED_MODULE_5__[/* store */ "a"]);
-    const attributes = getBlockAttributes(clientId) || {};
+      getBlockIndex,
+      getBlockMode,
+      getBlockName,
+      isTyping,
+      getGlobalBlockCount,
+      isBlockSelected,
+      isBlockMultiSelected,
+      isAncestorMultiSelected,
+      isFirstMultiSelectedBlock
+    } = select(store);
+    const isSelected = isBlockSelected(clientId);
+    const isPartOfMultiSelection = isBlockMultiSelected(clientId) || isAncestorMultiSelected(clientId);
+    const blockName = getBlockName(clientId);
+    const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(blockName);
     return {
-      customGradient: attributes[customGradientAttribute],
-      gradient: attributes[gradientAttribute]
+      index: getBlockIndex(clientId),
+      mode: getBlockMode(clientId),
+      name: blockName,
+      blockApiVersion: (blockType === null || blockType === void 0 ? void 0 : blockType.apiVersion) || 1,
+      blockTitle: blockType === null || blockType === void 0 ? void 0 : blockType.title,
+      isPartOfSelection: isSelected || isPartOfMultiSelection,
+      adjustScrolling: isSelected || isFirstMultiSelectedBlock(clientId),
+      enableAnimation: !isTyping() && getGlobalBlockCount() <= BLOCK_ANIMATION_THRESHOLD
     };
-  }, [clientId, gradientAttribute, customGradientAttribute]);
-  const {
-    updateBlockAttributes
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_5__[/* store */ "a"]);
-  const setGradient = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(newGradientValue => {
-    const slug = getGradientSlugByValue(allGradients, newGradientValue);
-
-    if (slug) {
-      updateBlockAttributes(clientId, {
-        [gradientAttribute]: slug,
-        [customGradientAttribute]: undefined
-      });
-      return;
-    }
-
-    updateBlockAttributes(clientId, {
-      [gradientAttribute]: undefined,
-      [customGradientAttribute]: newGradientValue
-    });
-  }, [allGradients, clientId, updateBlockAttributes]);
-
-  const gradientClass = __experimentalGetGradientClass(gradient);
+  }, [clientId]); // translators: %s: Type of block (i.e. Text, Image etc)

-  let gradientValue;
+  const blockLabel = (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Block: %s'), blockTitle);
+  const htmlSuffix = mode === 'html' && !__unstableIsHtml ? '-visual' : '';
+  const mergedRefs = (0,external_wp_compose_namespaceObject.useMergeRefs)([props.ref, useFocusFirstElement(clientId), // Must happen after focus because we check for focus in the block.
+  useScrollIntoView(clientId), useBlockRefProvider(clientId), useFocusHandler(clientId), useMultiSelection(clientId), useEventHandlers(clientId), useNavModeExit(clientId), useIsHovered(), useIntersectionObserver(), use_moving_animation({
+    isSelected: isPartOfSelection,
+    adjustScrolling,
+    enableAnimation,
+    triggerAnimationOnChange: index
+  })]);
+  const blockEditContext = useBlockEditContext(); // Ensures it warns only inside the `edit` implementation for the block.

-  if (gradient) {
-    gradientValue = getGradientValueBySlug(allGradients, gradient);
-  } else {
-    gradientValue = customGradient;
+  if (blockApiVersion < 2 && clientId === blockEditContext.clientId) {
+    typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0;
   }

-  return {
-    gradientClass,
-    gradientValue,
-    setGradient
+  return { ...wrapperProps,
+    ...props,
+    ref: mergedRefs,
+    id: `block-${clientId}${htmlSuffix}`,
+    tabIndex: 0,
+    role: 'document',
+    'aria-label': blockLabel,
+    'data-block': clientId,
+    'data-type': name,
+    'data-title': blockTitle,
+    className: classnames_default()( // The wp-block className is important for editor styles.
+    classnames_default()('block-editor-block-list__block', {
+      'wp-block': !isAligned
+    }), className, props.className, wrapperProps.className, useBlockClassNames(clientId), useBlockDefaultClassName(clientId), useBlockCustomClassName(clientId), useBlockMovingModeClassNames(clientId)),
+    style: { ...wrapperProps.style,
+      ...props.style
+    }
   };
 }
-
-
-/***/ }),
-
-/***/ "Crq9":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const formatStrikethrough = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (formatStrikethrough);
-
-
-/***/ }),
-
-/***/ "DmX/":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
 /**
- * WordPress dependencies
+ * Call within a save function to get the props for the block wrapper.
+ *
+ * @param {Object} props Optional. Props to pass to the element.
  */

-const justifyCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M20 9h-7.2V4h-1.6v5H4v6h7.2v5h1.6v-5H20z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (justifyCenter);
-
-
-/***/ }),
-
-/***/ "ERVc":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+useBlockProps.save = external_wp_blocks_namespaceObject.__unstableGetBlockProps;

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useBlockCustomClassName; });
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("BhPs");
-/**
- * WordPress dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block.js


 /**
- * Internal dependencies
+ * External dependencies
  */


 /**
- * Returns the custom class name if the block is a light block.
- *
- * @param {string} clientId The block client ID.
- *
- * @return {string} The custom class name.
+ * WordPress dependencies
  */

-function useBlockCustomClassName(clientId) {
-  // It's good for this to be a separate selector because it will be executed
-  // on every attribute change, while the other selectors are not re-evaluated
-  // as much.
-  return Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useSelect"])(select => {
-    const {
-      getBlockName,
-      getBlockAttributes
-    } = select(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]);
-    const attributes = getBlockAttributes(clientId);
-
-    if (!(attributes !== null && attributes !== void 0 && attributes.className)) {
-      return;
-    }
-
-    const blockType = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__["getBlockType"])(getBlockName(clientId));
-    const hasLightBlockWrapper = (blockType === null || blockType === void 0 ? void 0 : blockType.apiVersion) > 1;
-
-    if (!hasLightBlockWrapper) {
-      return;
-    }
-
-    return attributes.className;
-  }, [clientId]);
-}


-/***/ }),

-/***/ "EpZT":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const positionCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M7 9v6h10V9H7zM5 19.8h14v-1.5H5v1.5zM5 4.3v1.5h14V4.3H5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (positionCenter);


-/***/ }),

-/***/ "Fmc1":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _block_preview__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("REKd");
-/* harmony import */ var _inserter_draggable_blocks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("j6zP");



+const BlockListBlockContext = (0,external_wp_element_namespaceObject.createContext)();
 /**
- * WordPress dependencies
+ * Merges wrapper props with special handling for classNames and styles.
+ *
+ * @param {Object} propsA
+ * @param {Object} propsB
+ *
+ * @return {Object} Merged props.
  */

+function mergeWrapperProps(propsA, propsB) {
+  const newProps = { ...propsA,
+    ...propsB
+  };

+  if (propsA && propsB && propsA.className && propsB.className) {
+    newProps.className = classnames_default()(propsA.className, propsB.className);
+  }

-/**
- * Internal dependencies
- */
-
-
+  if (propsA && propsB && propsA.style && propsB.style) {
+    newProps.style = { ...propsA.style,
+      ...propsB.style
+    };
+  }

+  return newProps;
+}

-function BlockPattern(_ref) {
+function Block(_ref) {
   let {
-    isDraggable,
-    pattern,
-    onClick,
-    composite
+    children,
+    isHtml,
+    ...props
   } = _ref;
-  const {
-    blocks,
-    viewportWidth
-  } = pattern;
-  const instanceId = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["useInstanceId"])(BlockPattern);
-  const descriptionId = `block-editor-block-patterns-list__item-description-${instanceId}`;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_inserter_draggable_blocks__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], {
-    isEnabled: isDraggable,
-    blocks: blocks
-  }, _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() {
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
-    className: "block-editor-block-patterns-list__item is-placeholder"
-  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", useBlockProps(props, {
+    __unstableIsHtml: isHtml
+  }), children);
 }

-function BlockPatternList(_ref3) {
+function BlockListBlock(_ref2) {
   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
-  });
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["__unstableComposite"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, composite, {
-    role: "listbox",
-    className: "block-editor-block-patterns-list",
-    "aria-label": label
-  }), blockPatterns.map(pattern => {
-    const isShown = shownPatterns.includes(pattern);
-    return isShown ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(BlockPattern, {
-      key: pattern.name,
-      pattern: pattern,
-      onClick: onClickPattern,
-      isDraggable: isDraggable,
-      composite: composite
-    }) : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(BlockPatternPlaceholder, {
-      key: pattern.name
-    });
-  }));
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (BlockPatternList);
-
-
-/***/ }),
-
-/***/ "FnAh":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+    mode,
+    isLocked,
+    canRemove,
+    clientId,
+    isSelected,
+    isSelectionEnabled,
+    className,
+    name,
+    isValid,
+    attributes,
+    wrapperProps,
+    setAttributes,
+    onReplace,
+    onInsertBlocksAfter,
+    onMerge,
+    toggleSelection
+  } = _ref2;
+  const {
+    removeBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const onRemove = (0,external_wp_element_namespaceObject.useCallback)(() => removeBlock(clientId), [clientId]); // We wrap the BlockEdit component in a div that hides it when editing in
+  // HTML mode. This allows us to render all of the ancillary pieces
+  // (InspectorControls, etc.) which are inside `BlockEdit` but not
+  // `BlockHTML`, even in HTML mode.

+  let blockEdit = (0,external_wp_element_namespaceObject.createElement)(BlockEdit, {
+    name: name,
+    isSelected: isSelected,
+    attributes: attributes,
+    setAttributes: setAttributes,
+    insertBlocksAfter: isLocked ? undefined : onInsertBlocksAfter,
+    onReplace: canRemove ? onReplace : undefined,
+    onRemove: canRemove ? onRemove : undefined,
+    mergeBlocks: canRemove ? onMerge : undefined,
+    clientId: clientId,
+    isSelectionEnabled: isSelectionEnabled,
+    toggleSelection: toggleSelection
+  });
+  const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(name); // Determine whether the block has props to apply to the wrapper.

-/**
- * WordPress dependencies
- */
+  if (blockType !== null && blockType !== void 0 && blockType.getEditWrapperProps) {
+    wrapperProps = mergeWrapperProps(wrapperProps, blockType.getEditWrapperProps(attributes));
+  }

-const info = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (info);
+  const isAligned = wrapperProps && !!wrapperProps['data-align']; // For aligned blocks, provide a wrapper element so the block can be
+  // positioned relative to the block column.

+  if (isAligned) {
+    blockEdit = (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "wp-block",
+      "data-align": wrapperProps['data-align']
+    }, blockEdit);
+  }

-/***/ }),
+  let block;

-/***/ "G4zt":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (!isValid) {
+    const saveContent = (0,external_wp_blocks_namespaceObject.getSaveContent)(blockType, attributes);
+    block = (0,external_wp_element_namespaceObject.createElement)(Block, {
+      className: "has-warning"
+    }, (0,external_wp_element_namespaceObject.createElement)(block_invalid_warning, {
+      clientId: clientId
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, (0,external_wp_dom_namespaceObject.safeHTML)(saveContent)));
+  } else if (mode === 'html') {
+    // Render blockEdit so the inspector controls don't disappear.
+    // See #8969.
+    block = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+      style: {
+        display: 'none'
+      }
+    }, blockEdit), (0,external_wp_element_namespaceObject.createElement)(Block, {
+      isHtml: true
+    }, (0,external_wp_element_namespaceObject.createElement)(block_html, {
+      clientId: clientId
+    })));
+  } else if ((blockType === null || blockType === void 0 ? void 0 : blockType.apiVersion) > 1) {
+    block = blockEdit;
+  } else {
+    block = (0,external_wp_element_namespaceObject.createElement)(Block, wrapperProps, blockEdit);
+  }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useScrollIntoView; });
-/* harmony import */ var dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9Do8");
-/* harmony import */ var dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1CF3");
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("BhPs");
-/**
- * External dependencies
- */
+  const value = {
+    clientId,
+    className,
+    wrapperProps: (0,external_lodash_namespaceObject.omit)(wrapperProps, ['data-align']),
+    isAligned
+  };
+  const memoizedValue = (0,external_wp_element_namespaceObject.useMemo)(() => value, Object.values(value));
+  return (0,external_wp_element_namespaceObject.createElement)(BlockListBlockContext.Provider, {
+    value: memoizedValue
+  }, (0,external_wp_element_namespaceObject.createElement)(block_crash_boundary, {
+    fallback: (0,external_wp_element_namespaceObject.createElement)(Block, {
+      className: "has-warning"
+    }, (0,external_wp_element_namespaceObject.createElement)(block_crash_warning, null))
+  }, block));
+}

-/**
- * WordPress dependencies
- */
+const applyWithSelect = (0,external_wp_data_namespaceObject.withSelect)((select, _ref3) => {
+  let {
+    clientId,
+    rootClientId
+  } = _ref3;
+  const {
+    isBlockSelected,
+    getBlockMode,
+    isSelectionEnabled,
+    getTemplateLock,
+    __unstableGetBlockWithoutInnerBlocks,
+    canRemoveBlock,
+    canMoveBlock
+  } = select(store);

-/**
- * WordPress dependencies
- */
+  const block = __unstableGetBlockWithoutInnerBlocks(clientId);

+  const isSelected = isBlockSelected(clientId);
+  const templateLock = getTemplateLock(rootClientId);
+  const canRemove = canRemoveBlock(clientId, rootClientId);
+  const canMove = canMoveBlock(clientId, rootClientId); // The fallback to `{}` is a temporary fix.
+  // This function should never be called when a block is not present in
+  // the state. It happens now because the order in withSelect rendering
+  // is not correct.

+  const {
+    name,
+    attributes,
+    isValid
+  } = block || {}; // Do not add new properties here, use `useSelect` instead to avoid
+  // leaking new props to the public API (editor.BlockListBlock filter).

+  return {
+    mode: getBlockMode(clientId),
+    isSelectionEnabled: isSelectionEnabled(),
+    isLocked: !!templateLock,
+    canRemove,
+    canMove,
+    // Users of the editor.BlockListBlock filter used to be able to
+    // access the block prop.
+    // Ideally these blocks would rely on the clientId prop only.
+    // This is kept for backward compatibility reasons.
+    block,
+    name,
+    attributes,
+    isValid,
+    isSelected
+  };
+});
+const applyWithDispatch = (0,external_wp_data_namespaceObject.withDispatch)((dispatch, ownProps, _ref4) => {
+  let {
+    select
+  } = _ref4;
+  const {
+    updateBlockAttributes,
+    insertBlocks,
+    mergeBlocks,
+    replaceBlocks,
+    toggleSelection,
+    __unstableMarkLastChangeAsPersistent
+  } = dispatch(store); // Do not add new properties here, use `useDispatch` instead to avoid
+  // leaking new props to the public API (editor.BlockListBlock filter).

-/**
- * Internal dependencies
- */
+  return {
+    setAttributes(newAttributes) {
+      const {
+        getMultiSelectedBlockClientIds
+      } = select(store);
+      const multiSelectedBlockClientIds = getMultiSelectedBlockClientIds();
+      const {
+        clientId
+      } = ownProps;
+      const clientIds = multiSelectedBlockClientIds.length ? multiSelectedBlockClientIds : [clientId];
+      updateBlockAttributes(clientIds, newAttributes);
+    },

+    onInsertBlocks(blocks, index) {
+      const {
+        rootClientId
+      } = ownProps;
+      insertBlocks(blocks, index, rootClientId);
+    },

-function useScrollIntoView(clientId) {
-  const ref = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useRef"])();
-  const isSelectionEnd = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useSelect"])(select => {
-    const {
-      isBlockSelected,
-      getBlockSelectionEnd
-    } = select(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]);
-    return isBlockSelected(clientId) || getBlockSelectionEnd() === clientId;
-  }, [clientId]); // Note that we can't use `useRefEffect` here, since an element change does
-  // not mean we can scroll. `isSelectionEnd` should be the sole dependency,
-  // while with `useRefEffect`, the element is a dependency as well.
+    onInsertBlocksAfter(blocks) {
+      const {
+        clientId,
+        rootClientId
+      } = ownProps;
+      const {
+        getBlockIndex
+      } = select(store);
+      const index = getBlockIndex(clientId);
+      insertBlocks(blocks, index + 1, rootClientId);
+    },

-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    if (!isSelectionEnd) {
-      return;
-    }
+    onMerge(forward) {
+      const {
+        clientId
+      } = ownProps;
+      const {
+        getPreviousBlockClientId,
+        getNextBlockClientId
+      } = select(store);

-    const extentNode = ref.current;
+      if (forward) {
+        const nextBlockClientId = getNextBlockClientId(clientId);

-    if (!extentNode) {
-      return;
-    } // If the block is focused, the browser will already have scrolled into
-    // view if necessary.
+        if (nextBlockClientId) {
+          mergeBlocks(clientId, nextBlockClientId);
+        }
+      } else {
+        const previousBlockClientId = getPreviousBlockClientId(clientId);

+        if (previousBlockClientId) {
+          mergeBlocks(previousBlockClientId, clientId);
+        }
+      }
+    },

-    if (extentNode.contains(extentNode.ownerDocument.activeElement)) {
-      return;
-    }
+    onReplace(blocks, indexToSelect, initialPosition) {
+      if (blocks.length && !(0,external_wp_blocks_namespaceObject.isUnmodifiedDefaultBlock)(blocks[blocks.length - 1])) {
+        __unstableMarkLastChangeAsPersistent();
+      }

-    const scrollContainer = Object(_wordpress_dom__WEBPACK_IMPORTED_MODULE_3__["getScrollContainer"])(extentNode) || extentNode.ownerDocument.defaultView; // If there's no scroll container, it follows that there's no scrollbar
-    // and thus there's no need to try to scroll into view.
+      replaceBlocks([ownProps.clientId], blocks, indexToSelect, initialPosition);
+    },

-    if (!scrollContainer) {
-      return;
+    toggleSelection(selectionEnabled) {
+      toggleSelection(selectionEnabled);
     }

-    dom_scroll_into_view__WEBPACK_IMPORTED_MODULE_0___default()(extentNode, scrollContainer, {
-      onlyScrollIfNeeded: true
-    });
-  }, [isSelectionEnd]);
-  return ref;
-}
-
-
-/***/ }),
-
-/***/ "GKUk":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return FontFamilyControl; });
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _use_setting__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("v5LD");
-
+  };
+});
+/* harmony default export */ var block = ((0,external_wp_compose_namespaceObject.compose)(external_wp_compose_namespaceObject.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
+(0,external_wp_compose_namespaceObject.ifCondition)(_ref5 => {
+  let {
+    block
+  } = _ref5;
+  return !!block;
+}), (0,external_wp_components_namespaceObject.withFilters)('editor.BlockListBlock'))(BlockListBlock));

+;// CONCATENATED MODULE: external ["wp","htmlEntities"]
+var external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */

+const plus = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
+}));
+/* harmony default export */ var library_plus = (plus);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/tips.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-function FontFamilyControl(_ref) {
-  let {
-    value = '',
-    onChange,
-    fontFamilies,
-    ...props
-  } = _ref;
-  const blockLevelFontFamilies = Object(_use_setting__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])('typography.fontFamilies');
-
-  if (!fontFamilies) {
-    fontFamilies = blockLevelFontFamilies;
-  }

-  if (Object(lodash__WEBPACK_IMPORTED_MODULE_2__["isEmpty"])(fontFamilies)) {
-    return null;
-  }
+const globalTips = [(0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.__)('While writing, you can press <kbd>/</kbd> to quickly insert new blocks.'), {
+  kbd: (0,external_wp_element_namespaceObject.createElement)("kbd", null)
+}), (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.__)('Indent a list by pressing <kbd>space</kbd> at the beginning of a line.'), {
+  kbd: (0,external_wp_element_namespaceObject.createElement)("kbd", null)
+}), (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.__)('Outdent a list by pressing <kbd>backspace</kbd> at the beginning of a line.'), {
+  kbd: (0,external_wp_element_namespaceObject.createElement)("kbd", null)
+}), (0,external_wp_i18n_namespaceObject.__)('Drag files into the editor to automatically insert media blocks.'), (0,external_wp_i18n_namespaceObject.__)("Change a block's type by pressing the block icon on the toolbar.")];

-  const options = [{
-    value: '',
-    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Default')
-  }, ...fontFamilies.map(_ref2 => {
-    let {
-      fontFamily,
-      name
-    } = _ref2;
-    return {
-      value: fontFamily,
-      label: name || fontFamily
-    };
-  })];
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["SelectControl"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Font family'),
-    options: options,
-    value: value,
-    onChange: onChange,
-    labelPosition: "top"
-  }, props));
+function Tips() {
+  const [randomIndex] = (0,external_wp_element_namespaceObject.useState)( // Disable Reason: I'm not generating an HTML id.
+  // eslint-disable-next-line no-restricted-syntax
+  Math.floor(Math.random() * globalTips.length));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Tip, null, globalTips[randomIndex]);
 }

+/* harmony default export */ var tips = (Tips);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js

-/***/ "GOly":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 /**
  * WordPress dependencies
- */
-
-const InserterListboxContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])();
-/* harmony default export */ __webpack_exports__["a"] = (InserterListboxContext);
-
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "GemG":
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-	autosize 4.0.4
-	license: MIT
-	http://www.jacklmoore.com/autosize
-*/
-(function (global, factory) {
-	if (true) {
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
-				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
-				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else { var mod; }
-})(this, function (module, exports) {
-	'use strict';
-
-	var map = typeof Map === "function" ? new Map() : function () {
-		var keys = [];
-		var values = [];
-
-		return {
-			has: function has(key) {
-				return keys.indexOf(key) > -1;
-			},
-			get: function get(key) {
-				return values[keys.indexOf(key)];
-			},
-			set: function set(key, value) {
-				if (keys.indexOf(key) === -1) {
-					keys.push(key);
-					values.push(value);
-				}
-			},
-			delete: function _delete(key) {
-				var index = keys.indexOf(key);
-				if (index > -1) {
-					keys.splice(index, 1);
-					values.splice(index, 1);
-				}
-			}
-		};
-	}();
-
-	var createEvent = function createEvent(name) {
-		return new Event(name, { bubbles: true });
-	};
-	try {
-		new Event('test');
-	} catch (e) {
-		// IE does not support `new Event()`
-		createEvent = function createEvent(name) {
-			var evt = document.createEvent('Event');
-			evt.initEvent(name, true, false);
-			return evt;
-		};
-	}
-
-	function assign(ta) {
-		if (!ta || !ta.nodeName || ta.nodeName !== 'TEXTAREA' || map.has(ta)) return;
-
-		var heightOffset = null;
-		var clientWidth = null;
-		var cachedHeight = null;
+ */

-		function init() {
-			var style = window.getComputedStyle(ta, null);
+const blockDefault = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var block_default = (blockDefault);

-			if (style.resize === 'vertical') {
-				ta.style.resize = 'none';
-			} else if (style.resize === 'both') {
-				ta.style.resize = 'horizontal';
-			}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-icon/index.js

-			if (style.boxSizing === 'content-box') {
-				heightOffset = -(parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));
-			} else {
-				heightOffset = parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
-			}
-			// Fix when a textarea is not on document body and heightOffset is Not a Number
-			if (isNaN(heightOffset)) {
-				heightOffset = 0;
-			}

-			update();
-		}
+/**
+ * External dependencies
+ */

-		function changeOverflow(value) {
-			{
-				// Chrome/Safari-specific fix:
-				// When the textarea y-overflow is hidden, Chrome/Safari do not reflow the text to account for the space
-				// made available by removing the scrollbar. The following forces the necessary text reflow.
-				var width = ta.style.width;
-				ta.style.width = '0px';
-				// Force reflow:
-				/* jshint ignore:start */
-				ta.offsetWidth;
-				/* jshint ignore:end */
-				ta.style.width = width;
-			}
+/**
+ * WordPress dependencies
+ */

-			ta.style.overflowY = value;
-		}

-		function getParentOverflows(el) {
-			var arr = [];

-			while (el && el.parentNode && el.parentNode instanceof Element) {
-				if (el.parentNode.scrollTop) {
-					arr.push({
-						node: el.parentNode,
-						scrollTop: el.parentNode.scrollTop
-					});
-				}
-				el = el.parentNode;
-			}

-			return arr;
-		}

-		function resize() {
-			if (ta.scrollHeight === 0) {
-				// If the scrollHeight is 0, then the element probably has display:none or is detached from the DOM.
-				return;
-			}
+function BlockIcon(_ref) {
+  var _icon;

-			var overflows = getParentOverflows(ta);
-			var docTop = document.documentElement && document.documentElement.scrollTop; // Needed for Mobile IE (ticket #240)
+  let {
+    icon,
+    showColors = false,
+    className
+  } = _ref;

-			ta.style.height = '';
-			ta.style.height = ta.scrollHeight + heightOffset + 'px';
+  if (((_icon = icon) === null || _icon === void 0 ? void 0 : _icon.src) === 'block-default') {
+    icon = {
+      src: block_default
+    };
+  }

-			// used to check if an update is actually necessary on window.resize
-			clientWidth = ta.clientWidth;
+  const renderedIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+    icon: icon && icon.src ? icon.src : icon
+  });
+  const style = showColors ? {
+    backgroundColor: icon && icon.background,
+    color: icon && icon.foreground
+  } : {};
+  return (0,external_wp_element_namespaceObject.createElement)("span", {
+    style: style,
+    className: classnames_default()('block-editor-block-icon', className, {
+      'has-colors': showColors
+    })
+  }, renderedIcon);
+}

-			// prevents scroll-position jumping
-			overflows.forEach(function (el) {
-				el.node.scrollTop = el.scrollTop;
-			});
+/* harmony default export */ var block_icon = ((0,external_wp_element_namespaceObject.memo)(BlockIcon));

-			if (docTop) {
-				document.documentElement.scrollTop = docTop;
-			}
-		}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-card/index.js

-		function update() {
-			resize();

-			var styleHeight = Math.round(parseFloat(ta.style.height));
-			var computed = window.getComputedStyle(ta, null);
+/**
+ * WordPress dependencies
+ */

-			// Using offsetHeight as a replacement for computed.height in IE, because IE does not account use of border-box
-			var actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(computed.height)) : ta.offsetHeight;
+/**
+ * Internal dependencies
+ */

-			// The actual height not matching the style height (set via the resize method) indicates that
-			// the max-height has been exceeded, in which case the overflow should be allowed.
-			if (actualHeight < styleHeight) {
-				if (computed.overflowY === 'hidden') {
-					changeOverflow('scroll');
-					resize();
-					actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
-				}
-			} else {
-				// Normally keep overflow set to hidden, to avoid flash of scrollbar as the textarea expands.
-				if (computed.overflowY !== 'hidden') {
-					changeOverflow('hidden');
-					resize();
-					actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
-				}
-			}

-			if (cachedHeight !== actualHeight) {
-				cachedHeight = actualHeight;
-				var evt = createEvent('autosize:resized');
-				try {
-					ta.dispatchEvent(evt);
-				} catch (err) {
-					// Firefox will throw an error on dispatchEvent for a detached element
-					// https://bugzilla.mozilla.org/show_bug.cgi?id=889376
-				}
-			}
-		}

-		var pageResize = function pageResize() {
-			if (ta.clientWidth !== clientWidth) {
-				update();
-			}
-		};
+function BlockCard(_ref) {
+  let {
+    title,
+    icon,
+    description,
+    blockType
+  } = _ref;

-		var destroy = function (style) {
-			window.removeEventListener('resize', pageResize, false);
-			ta.removeEventListener('input', update, false);
-			ta.removeEventListener('keyup', update, false);
-			ta.removeEventListener('autosize:destroy', destroy, false);
-			ta.removeEventListener('autosize:update', update, false);
+  if (blockType) {
+    external_wp_deprecated_default()('`blockType` property in `BlockCard component`', {
+      since: '5.7',
+      alternative: '`title, icon and description` properties'
+    });
+    ({
+      title,
+      icon,
+      description
+    } = blockType);
+  }

-			Object.keys(style).forEach(function (key) {
-				ta.style[key] = style[key];
-			});
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-card"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+    icon: icon,
+    showColors: true
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-card__content"
+  }, (0,external_wp_element_namespaceObject.createElement)("h2", {
+    className: "block-editor-block-card__title"
+  }, title), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-block-card__description"
+  }, description)));
+}

-			map.delete(ta);
-		}.bind(ta, {
-			height: ta.style.height,
-			resize: ta.style.resize,
-			overflowY: ta.style.overflowY,
-			overflowX: ta.style.overflowX,
-			wordWrap: ta.style.wordWrap
-		});
+/* harmony default export */ var block_card = (BlockCard);

-		ta.addEventListener('autosize:destroy', destroy, false);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/with-registry-provider.js

-		// IE9 does not fire onpropertychange or oninput for deletions,
-		// so binding to onkeyup to catch most of those events.
-		// There is no way that I know of to detect something like 'cut' in IE9.
-		if ('onpropertychange' in ta && 'oninput' in ta) {
-			ta.addEventListener('keyup', update, false);
-		}

-		window.addEventListener('resize', pageResize, false);
-		ta.addEventListener('input', update, false);
-		ta.addEventListener('autosize:update', update, false);
-		ta.style.overflowX = 'hidden';
-		ta.style.wordWrap = 'break-word';

-		map.set(ta, {
-			destroy: destroy,
-			update: update
-		});
+/**
+ * WordPress dependencies
+ */

-		init();
-	}

-	function destroy(ta) {
-		var methods = map.get(ta);
-		if (methods) {
-			methods.destroy();
-		}
-	}

-	function update(ta) {
-		var methods = map.get(ta);
-		if (methods) {
-			methods.update();
-		}
-	}
+/**
+ * Internal dependencies
+ */

-	var autosize = null;

-	// Do nothing in Node.js environment and IE8 (or lower)
-	if (typeof window === 'undefined' || typeof window.getComputedStyle !== 'function') {
-		autosize = function autosize(el) {
-			return el;
-		};
-		autosize.destroy = function (el) {
-			return el;
-		};
-		autosize.update = function (el) {
-			return el;
-		};
-	} else {
-		autosize = function autosize(el, options) {
-			if (el) {
-				Array.prototype.forEach.call(el.length ? el : [el], function (x) {
-					return assign(x, options);
-				});
-			}
-			return el;
-		};
-		autosize.destroy = function (el) {
-			if (el) {
-				Array.prototype.forEach.call(el.length ? el : [el], destroy);
-			}
-			return el;
-		};
-		autosize.update = function (el) {
-			if (el) {
-				Array.prototype.forEach.call(el.length ? el : [el], update);
-			}
-			return el;
-		};
-	}

-	exports.default = autosize;
-	module.exports = exports['default'];
-});
+const withRegistryProvider = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => {
+  return (0,external_wp_data_namespaceObject.withRegistry)(_ref => {
+    let {
+      useSubRegistry = true,
+      registry,
+      ...props
+    } = _ref;

-/***/ }),
+    if (!useSubRegistry) {
+      return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({
+        registry: registry
+      }, props));
+    }

-/***/ "GkEL":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    const [subRegistry, setSubRegistry] = (0,external_wp_element_namespaceObject.useState)(null);
+    (0,external_wp_element_namespaceObject.useEffect)(() => {
+      const newRegistry = (0,external_wp_data_namespaceObject.createRegistry)({}, registry);
+      newRegistry.registerStore(STORE_NAME, storeConfig);
+      setSubRegistry(newRegistry);
+    }, [registry]);

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("NMb1");
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("1CF3");
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_keyboard_shortcuts__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("hF7m");
-/* harmony import */ var _wordpress_keyboard_shortcuts__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keyboard_shortcuts__WEBPACK_IMPORTED_MODULE_5__);
+    if (!subRegistry) {
+      return null;
+    }

+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_data_namespaceObject.RegistryProvider, {
+      value: subRegistry
+    }, (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({
+      registry: subRegistry
+    }, props)));
+  });
+}, 'withRegistryProvider');
+/* harmony default export */ var with_registry_provider = (withRegistryProvider);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/use-block-sync.js
+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -24030,159 +17720,281 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_



+/**
+ * Internal dependencies
+ */


-function hasOnlyToolbarItem(elements) {
-  const dataProp = 'toolbarItem';
-  return !elements.some(element => !(dataProp in element.dataset));
-}
+/**
+ * A function to call when the block value has been updated in the block-editor
+ * store.
+ *
+ * @callback onBlockUpdate
+ * @param {Object[]} blocks  The updated blocks.
+ * @param {Object}   options The updated block options, such as selectionStart
+ *                           and selectionEnd.
+ */

-function getAllToolbarItemsIn(container) {
-  return Array.from(container.querySelectorAll('[data-toolbar-item]'));
-}
+/**
+ * useBlockSync is a side effect which handles bidirectional sync between the
+ * block-editor store and a controlling data source which provides blocks. This
+ * is most commonly used by the BlockEditorProvider to synchronize the contents
+ * of the block-editor store with the root entity, like a post.
+ *
+ * Another example would be the template part block, which provides blocks from
+ * a separate entity data source than a root entity. This hook syncs edits to
+ * the template part in the block editor back to the entity and vice-versa.
+ *
+ * Here are some of its basic functions:
+ * - Initalizes the block-editor store for the given clientID to the blocks
+ *   given via props.
+ * - Adds incoming changes (like undo) to the block-editor store.
+ * - Adds outgoing changes (like editing content) to the controlling entity,
+ *   determining if a change should be considered persistent or not.
+ * - Handles edge cases and race conditions which occur in those operations.
+ * - Ignores changes which happen to other entities (like nested inner block
+ *   controllers.
+ * - Passes selection state from the block-editor store to the controlling entity.
+ *
+ * @param {Object}        props           Props for the block sync hook
+ * @param {string}        props.clientId  The client ID of the inner block controller.
+ *                                        If none is passed, then it is assumed to be a
+ *                                        root controller rather than an inner block
+ *                                        controller.
+ * @param {Object[]}      props.value     The control value for the blocks. This value
+ *                                        is used to initalize the block-editor store
+ *                                        and for resetting the blocks to incoming
+ *                                        changes like undo.
+ * @param {Object}        props.selection The selection state responsible to restore the selection on undo/redo.
+ * @param {onBlockUpdate} props.onChange  Function to call when a persistent
+ *                                        change has been made in the block-editor blocks
+ *                                        for the given clientId. For example, after
+ *                                        this function is called, an entity is marked
+ *                                        dirty because it has changes to save.
+ * @param {onBlockUpdate} props.onInput   Function to call when a non-persistent
+ *                                        change has been made in the block-editor blocks
+ *                                        for the given clientId. When this is called,
+ *                                        controlling sources do not become dirty.
+ */

-function hasFocusWithin(container) {
-  return container.contains(container.ownerDocument.activeElement);
-}
+function useBlockSync(_ref) {
+  let {
+    clientId = null,
+    value: controlledBlocks,
+    selection: controlledSelection,
+    onChange = external_lodash_namespaceObject.noop,
+    onInput = external_lodash_namespaceObject.noop
+  } = _ref;
+  const registry = (0,external_wp_data_namespaceObject.useRegistry)();
+  const {
+    resetBlocks,
+    resetSelection,
+    replaceInnerBlocks,
+    setHasControlledInnerBlocks,
+    __unstableMarkNextChangeAsNotPersistent
+  } = registry.dispatch(store);
+  const {
+    getBlockName,
+    getBlocks
+  } = registry.select(store);
+  const isControlled = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return !clientId || select(store).areInnerBlocksControlled(clientId);
+  }, [clientId]);
+  const pendingChanges = (0,external_wp_element_namespaceObject.useRef)({
+    incoming: null,
+    outgoing: []
+  });
+  const subscribed = (0,external_wp_element_namespaceObject.useRef)(false);

-function focusFirstTabbableIn(container) {
-  const [firstTabbable] = _wordpress_dom__WEBPACK_IMPORTED_MODULE_4__["focus"].tabbable.find(container);
+  const setControlledBlocks = () => {
+    if (!controlledBlocks) {
+      return;
+    } // We don't need to persist this change because we only replace
+    // controlled inner blocks when the change was caused by an entity,
+    // and so it would already be persisted.

-  if (firstTabbable) {
-    firstTabbable.focus();
-  }
-}

-function useIsAccessibleToolbar(ref) {
-  /*
-   * By default, we'll assume the starting accessible state of the Toolbar
-   * is true, as it seems to be the most common case.
-   *
-   * Transitioning from an (initial) false to true state causes the
-   * <Toolbar /> component to mount twice, which is causing undesired
-   * side-effects. These side-effects appear to only affect certain
-   * E2E tests.
-   *
-   * This was initial discovered in this pull-request:
-   * https://github.com/WordPress/gutenberg/pull/23425
-   */
-  const initialAccessibleToolbarState = true; // By default, it's gonna render NavigableMenu. If all the tabbable elements
-  // inside the toolbar are ToolbarItem components (or derived components like
-  // ToolbarButton), then we can wrap them with the accessible Toolbar
-  // component.
+    __unstableMarkNextChangeAsNotPersistent();

-  const [isAccessibleToolbar, setIsAccessibleToolbar] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(initialAccessibleToolbarState);
-  const determineIsAccessibleToolbar = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(() => {
-    const tabbables = _wordpress_dom__WEBPACK_IMPORTED_MODULE_4__["focus"].tabbable.find(ref.current);
-    const onlyToolbarItem = hasOnlyToolbarItem(tabbables);
+    if (clientId) {
+      // It is important to batch here because otherwise,
+      // as soon as `setHasControlledInnerBlocks` is called
+      // the effect to restore might be triggered
+      // before the actual blocks get set properly in state.
+      registry.batch(() => {
+        setHasControlledInnerBlocks(clientId, true);
+        const storeBlocks = controlledBlocks.map(block => (0,external_wp_blocks_namespaceObject.cloneBlock)(block));

-    if (!onlyToolbarItem) {
-      _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_3___default()('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'
+        if (subscribed.current) {
+          pendingChanges.current.incoming = storeBlocks;
+        }
+
+        __unstableMarkNextChangeAsNotPersistent();
+
+        replaceInnerBlocks(clientId, storeBlocks);
       });
+    } else {
+      if (subscribed.current) {
+        pendingChanges.current.incoming = controlledBlocks;
+      }
+
+      resetBlocks(controlledBlocks);
+    }
+  }; // Add a subscription to the block-editor registry to detect when changes
+  // have been made. This lets us inform the data source of changes. This
+  // is an effect so that the subscriber can run synchronously without
+  // waiting for React renders for changes.
+
+
+  const onInputRef = (0,external_wp_element_namespaceObject.useRef)(onInput);
+  const onChangeRef = (0,external_wp_element_namespaceObject.useRef)(onChange);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    onInputRef.current = onInput;
+    onChangeRef.current = onChange;
+  }, [onInput, onChange]); // Determine if blocks need to be reset when they change.
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (pendingChanges.current.outgoing.includes(controlledBlocks)) {
+      // Skip block reset if the value matches expected outbound sync
+      // triggered by this component by a preceding change detection.
+      // Only skip if the value matches expectation, since a reset should
+      // still occur if the value is modified (not equal by reference),
+      // to allow that the consumer may apply modifications to reflect
+      // back on the editor.
+      if ((0,external_lodash_namespaceObject.last)(pendingChanges.current.outgoing) === controlledBlocks) {
+        pendingChanges.current.outgoing = [];
+      }
+    } else if (getBlocks(clientId) !== controlledBlocks) {
+      // Reset changing value in all other cases than the sync described
+      // above. Since this can be reached in an update following an out-
+      // bound sync, unset the outbound value to avoid considering it in
+      // subsequent renders.
+      pendingChanges.current.outgoing = [];
+      setControlledBlocks();
+
+      if (controlledSelection) {
+        resetSelection(controlledSelection.selectionStart, controlledSelection.selectionEnd, controlledSelection.initialPosition);
+      }
+    }
+  }, [controlledBlocks, clientId]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // When the block becomes uncontrolled, it means its inner state has been reset
+    // we need to take the blocks again from the external value property.
+    if (!isControlled) {
+      pendingChanges.current.outgoing = [];
+      setControlledBlocks();
     }
+  }, [isControlled]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const {
+      getSelectionStart,
+      getSelectionEnd,
+      getSelectedBlocksInitialCaretPosition,
+      isLastBlockChangePersistent,
+      __unstableIsLastBlockChangeIgnored,
+      areInnerBlocksControlled
+    } = registry.select(store);
+    let blocks = getBlocks(clientId);
+    let isPersistent = isLastBlockChangePersistent();
+    let previousAreBlocksDifferent = false;
+    subscribed.current = true;
+    const unsubscribe = registry.subscribe(() => {
+      // Sometimes, when changing block lists, lingering subscriptions
+      // might trigger before they are cleaned up. If the block for which
+      // the subscription runs is no longer in the store, this would clear
+      // its parent entity's block list. To avoid this, we bail out if
+      // the subscription is triggering for a block (`clientId !== null`)
+      // and its block name can't be found because it's not on the list.
+      // (`getBlockName( clientId ) === null`).
+      if (clientId !== null && getBlockName(clientId) === null) return; // When RESET_BLOCKS on parent blocks get called, the controlled blocks
+      // can reset to uncontrolled, in these situations, it means we need to populate
+      // the blocks again from the external blocks (the value property here)
+      // and we should stop triggering onChange
+
+      const isStillControlled = !clientId || areInnerBlocksControlled(clientId);
+
+      if (!isStillControlled) {
+        return;
+      }
+
+      const newIsPersistent = isLastBlockChangePersistent();
+      const newBlocks = getBlocks(clientId);
+      const areBlocksDifferent = newBlocks !== blocks;
+      blocks = newBlocks;
+
+      if (areBlocksDifferent && (pendingChanges.current.incoming || __unstableIsLastBlockChangeIgnored())) {
+        pendingChanges.current.incoming = null;
+        isPersistent = newIsPersistent;
+        return;
+      } // Since we often dispatch an action to mark the previous action as
+      // persistent, we need to make sure that the blocks changed on the
+      // previous action before committing the change.
+
+
+      const didPersistenceChange = previousAreBlocksDifferent && !areBlocksDifferent && newIsPersistent && !isPersistent;
+
+      if (areBlocksDifferent || didPersistenceChange) {
+        isPersistent = newIsPersistent; // We know that onChange/onInput will update controlledBlocks.
+        // We need to be aware that it was caused by an outgoing change
+        // so that we do not treat it as an incoming change later on,
+        // which would cause a block reset.
+
+        pendingChanges.current.outgoing.push(blocks); // Inform the controlling entity that changes have been made to
+        // the block-editor store they should be aware about.
+
+        const updateParent = isPersistent ? onChangeRef.current : onInputRef.current;
+        updateParent(blocks, {
+          selection: {
+            selectionStart: getSelectionStart(),
+            selectionEnd: getSelectionEnd(),
+            initialPosition: getSelectedBlocksInitialCaretPosition()
+          }
+        });
+      }

-    setIsAccessibleToolbar(onlyToolbarItem);
-  }, []);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useLayoutEffect"])(() => {
-    // Toolbar buttons may be rendered asynchronously, so we use
-    // MutationObserver to check if the toolbar subtree has been modified
-    const observer = new window.MutationObserver(determineIsAccessibleToolbar);
-    observer.observe(ref.current, {
-      childList: true,
-      subtree: true
+      previousAreBlocksDifferent = areBlocksDifferent;
     });
-    return () => observer.disconnect();
-  }, [isAccessibleToolbar]);
-  return isAccessibleToolbar;
+    return () => unsubscribe();
+  }, [registry, clientId]);
 }

-function useToolbarFocus(ref, focusOnMount, isAccessibleToolbar, defaultIndex, onIndexChange) {
-  // Make sure we don't use modified versions of this prop
-  const [initialFocusOnMount] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(focusOnMount);
-  const [initialIndex] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(defaultIndex);
-  const focusToolbar = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(() => {
-    focusFirstTabbableIn(ref.current);
-  }, []); // Focus on toolbar when pressing alt+F10 when the toolbar is visible
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/index.js

-  Object(_wordpress_keyboard_shortcuts__WEBPACK_IMPORTED_MODULE_5__["useShortcut"])('core/block-editor/focus-toolbar', focusToolbar);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    if (initialFocusOnMount) {
-      focusToolbar();
-    }
-  }, [isAccessibleToolbar, initialFocusOnMount, focusToolbar]);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    // If initialIndex is passed, we focus on that toolbar item when the
-    // toolbar gets mounted and initial focus is not forced.
-    // We have to wait for the next browser paint because block controls aren't
-    // rendered right away when the toolbar gets mounted.
-    let raf = 0;

-    if (initialIndex && !initialFocusOnMount) {
-      raf = window.requestAnimationFrame(() => {
-        const items = getAllToolbarItemsIn(ref.current);
-        const index = initialIndex || 0;
+/**
+ * WordPress dependencies
+ */

-        if (items[index] && hasFocusWithin(ref.current)) {
-          items[index].focus();
-        }
-      });
-    }

-    return () => {
-      window.cancelAnimationFrame(raf);
-      if (!onIndexChange || !ref.current) return; // When the toolbar element is unmounted and onIndexChange is passed, we
-      // pass the focused toolbar item index so it can be hydrated later.
+/**
+ * Internal dependencies
+ */

-      const items = getAllToolbarItemsIn(ref.current);
-      const index = items.findIndex(item => item.tabIndex === 0);
-      onIndexChange(index);
-    };
-  }, [initialIndex, initialFocusOnMount]);
-}

-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);

-  if (isAccessibleToolbar) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Toolbar"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-      label: props['aria-label'],
-      ref: ref
-    }, props), children);
-  }

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["NavigableMenu"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    orientation: "horizontal",
-    role: "toolbar",
-    ref: ref
-  }, props), children);
-}

-/* harmony default export */ __webpack_exports__["a"] = (NavigableToolbar);
+/** @typedef {import('@wordpress/data').WPDataRegistry} WPDataRegistry */

+function BlockEditorProvider(props) {
+  const {
+    children,
+    settings
+  } = props;
+  const {
+    updateSettings
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    updateSettings(settings);
+  }, [settings]); // Syncs the entity provider with changes in the block-editor store.

-/***/ }),
+  useBlockSync(props);
+  return (0,external_wp_element_namespaceObject.createElement)(BlockRefsProvider, null, children);
+}

-/***/ "GvwK":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var provider = (with_registry_provider(BlockEditorProvider));

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("NMb1");
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _block_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("7SSY");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/live.js


 /**
@@ -24194,161 +18006,223 @@ function NavigableToolbar(_ref) {
  */


-
-function BlockCard(_ref) {
+function LiveBlockPreview(_ref) {
   let {
-    title,
-    icon,
-    description,
-    blockType
+    onClick
   } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    tabIndex: 0,
+    role: "button",
+    onClick: onClick,
+    onKeyPress: onClick
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, null, (0,external_wp_element_namespaceObject.createElement)(BlockList, null)));
+}

-  if (blockType) {
-    _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_1___default()('`blockType` property in `BlockCard component`', {
-      since: '5.7',
-      alternative: '`title, icon and description` properties'
-    });
-    ({
-      title,
-      icon,
-      description
-    } = blockType);
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-selection-clearer/index.js

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    className: "block-editor-block-card"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_block_icon__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], {
-    icon: icon,
-    showColors: true
-  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    className: "block-editor-block-card__content"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("h2", {
-    className: "block-editor-block-card__title"
-  }, title), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
-    className: "block-editor-block-card__description"
-  }, description)));
-}

-/* harmony default export */ __webpack_exports__["a"] = (BlockCard);

+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "HC45":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Pass the returned ref callback to an element that should clear block
+ * selection. Selection will only be cleared if the element is clicked directly,
+ * not if a child element is clicked.
+ *
+ * @return {import('react').RefCallback} Ref callback.
+ */

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("GOly");
+function useBlockSelectionClearer() {
+  const {
+    hasSelectedBlock,
+    hasMultiSelection
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    clearSelectedBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    function onMouseDown(event) {
+      if (!hasSelectedBlock() && !hasMultiSelection()) {
+        return;
+      } // Only handle clicks on the element, not the children.
+
+
+      if (event.target !== node) {
+        return;
+      }
+
+      clearSelectedBlock();
+    }

+    node.addEventListener('mousedown', onMouseDown);
+    return () => {
+      node.removeEventListener('mousedown', onMouseDown);
+    };
+  }, [hasSelectedBlock, hasMultiSelection, clearSelectedBlock]);
+}
+function BlockSelectionClearer(props) {
+  return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
+    ref: useBlockSelectionClearer()
+  }, props));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-multi-selection.js
+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */


+
 /**
  * Internal dependencies
  */



-function InserterListboxRow(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__["__unstableCompositeGroup"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    state: state,
-    role: "presentation",
-    ref: ref
-  }, props));
+
+function use_multi_selection_toggleRichText(container, toggle) {
+  Array.from(container.querySelectorAll('.rich-text')).forEach(node => {
+    if (toggle) {
+      node.setAttribute('contenteditable', true);
+    } else {
+      node.removeAttribute('contenteditable');
+    }
+  });
 }
+/**
+ * Returns for the deepest node at the start or end of a container node. Ignores
+ * any text nodes that only contain HTML formatting whitespace.
+ *
+ * @param {Element} node Container to search.
+ * @param {string}  type 'start' or 'end'.
+ */

-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])(InserterListboxRow));

+function getDeepestNode(node, type) {
+  const child = type === 'start' ? 'firstChild' : 'lastChild';
+  const sibling = type === 'start' ? 'nextSibling' : 'previousSibling';

-/***/ }),
+  while (node[child]) {
+    node = node[child];

-/***/ "HSyU":
-/***/ (function(module, exports) {
+    while (node.nodeType === node.TEXT_NODE && /^[ \t\n]*$/.test(node.data) && node[sibling]) {
+      node = node[sibling];
+    }
+  }

-(function() { module.exports = window["wp"]["blocks"]; }());
+  return node;
+}

-/***/ }),
+function selector(select) {
+  const {
+    isMultiSelecting,
+    getMultiSelectedBlockClientIds,
+    hasMultiSelection,
+    getSelectedBlockClientId
+  } = select(store);
+  return {
+    isMultiSelecting: isMultiSelecting(),
+    multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(),
+    hasMultiSelection: hasMultiSelection(),
+    selectedBlockClientId: getSelectedBlockClientId()
+  };
+}

-/***/ "HgtZ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function use_multi_selection_useMultiSelection() {
+  const {
+    isMultiSelecting,
+    multiSelectedBlockClientIds,
+    hasMultiSelection,
+    selectedBlockClientId
+  } = (0,external_wp_data_namespaceObject.useSelect)(selector, []);
+  const selectedRef = useBlockRef(selectedBlockClientId); // These must be in the right DOM order.

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useDisplayBlockControls; });
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _block_edit_context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ur0x");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("BhPs");
-/**
- * WordPress dependencies
- */
+  const startRef = useBlockRef((0,external_lodash_namespaceObject.first)(multiSelectedBlockClientIds));
+  const endRef = useBlockRef((0,external_lodash_namespaceObject.last)(multiSelectedBlockClientIds));
+  /**
+   * When the component updates, and there is multi selection, we need to
+   * select the entire block contents.
+   */

-/**
- * Internal dependencies
- */
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    const {
+      ownerDocument
+    } = node;
+    const {
+      defaultView
+    } = ownerDocument;

+    if (!hasMultiSelection || isMultiSelecting) {
+      if (!selectedBlockClientId || isMultiSelecting) {
+        return;
+      }

+      const selection = defaultView.getSelection();

-function useDisplayBlockControls() {
-  const {
-    isSelected,
-    clientId,
-    name
-  } = Object(_block_edit_context__WEBPACK_IMPORTED_MODULE_1__[/* useBlockEditContext */ "c"])();
-  return Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useSelect"])(select => {
-    if (isSelected) {
-      return true;
+      if (selection.rangeCount && !selection.isCollapsed) {
+        const blockNode = selectedRef.current;
+        const {
+          startContainer,
+          endContainer
+        } = selection.getRangeAt(0);
+
+        if (!!blockNode && (!blockNode.contains(startContainer) || !blockNode.contains(endContainer))) {
+          selection.removeAllRanges();
+        }
+      }
+
+      return;
     }

     const {
-      getBlockName,
-      isFirstMultiSelectedBlock,
-      getMultiSelectedBlockClientIds
-    } = select(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]);
+      length
+    } = multiSelectedBlockClientIds;

-    if (isFirstMultiSelectedBlock(clientId)) {
-      return getMultiSelectedBlockClientIds().every(id => getBlockName(id) === name);
-    }
+    if (length < 2) {
+      return;
+    } // The block refs might not be immediately available
+    // when dragging blocks into another block.

-    return false;
-  }, [clientId, isSelected, name]);
-}

+    if (!startRef.current || !endRef.current) {
+      return;
+    } // For some browsers, like Safari, it is important that focus happens
+    // BEFORE selection.

-/***/ }),

-/***/ "I5Hl":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    node.focus();
+    const selection = defaultView.getSelection();
+    const range = ownerDocument.createRange(); // These must be in the right DOM order.
+    // The most stable way to select the whole block contents is to start
+    // and end at the deepest points.

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ButtonBlockerAppender; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("iClF");
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("Q4Sy");
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("NMb1");
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_6__);
-/* harmony import */ var _inserter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("qrxh");
+    const startNode = getDeepestNode(startRef.current, 'start');
+    const endNode = getDeepestNode(endRef.current, 'end'); // While rich text will be disabled with a delay when there is a multi
+    // selection, we must do it immediately because it's not possible to set
+    // selection across editable hosts.
+
+    use_multi_selection_toggleRichText(node, false);
+    range.setStartBefore(startNode);
+    range.setEndAfter(endNode);
+    selection.removeAllRanges();
+    selection.addRange(range);
+  }, [hasMultiSelection, isMultiSelecting, multiSelectedBlockClientIds, selectedBlockClientId]);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-tab-nav.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -24358,166 +18232,191 @@ function useDisplayBlockControls() {



-
 /**
  * Internal dependencies
  */



-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: _ref2 => {
-      let {
-        onToggle,
-        disabled,
-        isOpen,
-        blockTitle,
-        hasSingleBlockType
-      } = _ref2;
-      let label;
+function isFormElement(element) {
+  const {
+    tagName
+  } = element;
+  return tagName === 'INPUT' || tagName === 'BUTTON' || tagName === 'SELECT' || tagName === 'TEXTAREA';
+}

-      if (hasSingleBlockType) {
-        label = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["sprintf"])( // translators: %s: the name of the block when there is only one
-        Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["_x"])('Add %s', 'directly add the only allowed block'), blockTitle);
-      } else {
-        label = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["_x"])('Add block', 'Generic label for block inserter button');
+function useTabNav() {
+  const container = (0,external_wp_element_namespaceObject.useRef)();
+  const focusCaptureBeforeRef = (0,external_wp_element_namespaceObject.useRef)();
+  const focusCaptureAfterRef = (0,external_wp_element_namespaceObject.useRef)();
+  const lastFocus = (0,external_wp_element_namespaceObject.useRef)();
+  const {
+    hasMultiSelection,
+    getSelectedBlockClientId,
+    getBlockCount
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    setNavigationMode
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const isNavigationMode = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isNavigationMode(), []); // Don't allow tabbing to this element in Navigation mode.
+
+  const focusCaptureTabIndex = !isNavigationMode ? '0' : undefined; // Reference that holds the a flag for enabling or disabling
+  // capturing on the focus capture elements.
+
+  const noCapture = (0,external_wp_element_namespaceObject.useRef)();
+
+  function onFocusCapture(event) {
+    // Do not capture incoming focus if set by us in WritingFlow.
+    if (noCapture.current) {
+      noCapture.current = null;
+    } else if (hasMultiSelection()) {
+      container.current.focus();
+    } else if (getSelectedBlockClientId()) {
+      lastFocus.current.focus();
+    } else {
+      setNavigationMode(true);
+      const isBefore = // eslint-disable-next-line no-bitwise
+      event.target.compareDocumentPosition(container.current) & event.target.DOCUMENT_POSITION_FOLLOWING;
+      const action = isBefore ? 'findNext' : 'findPrevious';
+      external_wp_dom_namespaceObject.focus.tabbable[action](event.target).focus();
+    }
+  }
+
+  const before = (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: focusCaptureBeforeRef,
+    tabIndex: focusCaptureTabIndex,
+    onFocus: onFocusCapture
+  });
+  const after = (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: focusCaptureAfterRef,
+    tabIndex: focusCaptureTabIndex,
+    onFocus: onFocusCapture
+  });
+  const ref = (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    function onKeyDown(event) {
+      if (event.defaultPrevented) {
+        return;
       }

-      const isToggleButton = !hasSingleBlockType;
-      let inserterButton = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Button"], {
-        ref: ref,
-        onFocus: onFocus,
-        tabIndex: tabIndex,
-        className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(className, 'block-editor-button-block-appender'),
-        onClick: onToggle,
-        "aria-haspopup": isToggleButton ? 'true' : undefined,
-        "aria-expanded": isToggleButton ? isOpen : undefined,
-        disabled: disabled,
-        label: label
-      }, !hasSingleBlockType && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["VisuallyHidden"], {
-        as: "span"
-      }, label), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_icons__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], {
-        icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"]
-      }));
+      if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !hasMultiSelection()) {
+        event.preventDefault();
+        setNavigationMode(true);
+        return;
+      } // In Edit mode, Tab should focus the first tabbable element after
+      // the content, which is normally the sidebar (with block controls)
+      // and Shift+Tab should focus the first tabbable element before the
+      // content, which is normally the block toolbar.
+      // Arrow keys can be used, and Tab and arrow keys can be used in
+      // Navigation mode (press Esc), to navigate through blocks.

-      if (isToggleButton || hasSingleBlockType) {
-        inserterButton = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Tooltip"], {
-          text: label
-        }, inserterButton);
+
+      if (event.keyCode !== external_wp_keycodes_namespaceObject.TAB) {
+        return;
       }

-      return inserterButton;
-    },
-    isAppender: true
-  });
-}
-/**
- * Use `ButtonBlockAppender` instead.
- *
- * @deprecated
- */
+      const isShift = event.shiftKey;
+      const direction = isShift ? 'findPrevious' : 'findNext';

+      if (!hasMultiSelection() && !getSelectedBlockClientId()) {
+        // Preserve the behaviour of entering navigation mode when
+        // tabbing into the content without a block selection.
+        // `onFocusCapture` already did this previously, but we need to
+        // do it again here because after clearing block selection,
+        // focus land on the writing flow container and pressing Tab
+        // will no longer send focus through the focus capture element.
+        if (event.target === node) setNavigationMode(true);
+        return;
+      } // Allow tabbing between form elements rendered in a block,
+      // such as inside a placeholder. Form elements are generally
+      // meant to be UI rather than part of the content. Ideally
+      // these are not rendered in the content and perhaps in the
+      // future they can be rendered in an iframe or shadow DOM.

-const ButtonBlockerAppender = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])((props, ref) => {
-  _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_6___default()(`wp.blockEditor.ButtonBlockerAppender`, {
-    alternative: 'wp.blockEditor.ButtonBlockAppender'
-  });
-  return ButtonBlockAppender(props, ref);
-});
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/button-block-appender/README.md
- */

-/* harmony default export */ __webpack_exports__["b"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])(ButtonBlockAppender));
+      if (isFormElement(event.target) && isFormElement(external_wp_dom_namespaceObject.focus.tabbable[direction](event.target))) {
+        return;
+      }

+      const next = isShift ? focusCaptureBeforeRef : focusCaptureAfterRef; // Disable focus capturing on the focus capture element, so it
+      // doesn't refocus this block and so it allows default behaviour
+      // (moving focus to the next tabbable element).

-/***/ }),
+      noCapture.current = true; // Focusing the focus capture element, which is located above and
+      // below the editor, should not scroll the page all the way up or
+      // down.

-/***/ "JDWi":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+      next.current.focus({
+        preventScroll: true
+      });
+    }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useNavModeExit; });
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("BhPs");
-/**
- * WordPress dependencies
- */
+    function onFocusOut(event) {
+      lastFocus.current = event.target;
+      const {
+        ownerDocument
+      } = node; // If focus disappears due to there being no blocks, move focus to
+      // the writing flow wrapper.

+      if (!event.relatedTarget && ownerDocument.activeElement === ownerDocument.body && getBlockCount() === 0) {
+        node.focus();
+      }
+    } // When tabbing back to an element in block list, this event handler prevents scrolling if the
+    // focus capture divs (before/after) are outside of the viewport. (For example shift+tab back to a paragraph
+    // when focus is on a sidebar element. This prevents the scrollable writing area from jumping either to the
+    // top or bottom of the document.
+    //
+    // Note that it isn't possible to disable scrolling in the onFocus event. We need to intercept this
+    // earlier in the keypress handler, and call focus( { preventScroll: true } ) instead.
+    // https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus#parameters

-/**
- * Internal dependencies
- */

+    function preventScrollOnTab(event) {
+      var _event$target;

-/**
- * Allows navigation mode to be exited by clicking in the selected block.
- *
- * @param {string} clientId Block client ID.
- */
+      if (event.keyCode !== external_wp_keycodes_namespaceObject.TAB) {
+        return;
+      }

-function useNavModeExit(clientId) {
-  const {
-    isNavigationMode,
-    isBlockSelected
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useSelect"])(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]);
-  const {
-    setNavigationMode,
-    selectBlock
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]);
-  return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["useRefEffect"])(node => {
-    function onMouseDown(event) {
-      // Don't select a block if it's already handled by a child
-      // block.
-      if (isNavigationMode() && !event.defaultPrevented) {
-        // Prevent focus from moving to the block.
-        event.preventDefault(); // When clicking on a selected block, exit navigation mode.
+      if (((_event$target = event.target) === null || _event$target === void 0 ? void 0 : _event$target.getAttribute('role')) === 'region') {
+        return;
+      }

-        if (isBlockSelected(clientId)) {
-          setNavigationMode(false);
-        } else {
-          selectBlock(clientId);
-        }
+      if (container.current === event.target) {
+        return;
+      }
+
+      const isShift = event.shiftKey;
+      const direction = isShift ? 'findPrevious' : 'findNext';
+      const target = external_wp_dom_namespaceObject.focus.tabbable[direction](event.target); // only do something when the next tabbable is a focus capture div (before/after)
+
+      if (target === focusCaptureBeforeRef.current || target === focusCaptureAfterRef.current) {
+        event.preventDefault();
+        target.focus({
+          preventScroll: true
+        });
       }
     }

-    node.addEventListener('mousedown', onMouseDown);
+    const {
+      ownerDocument
+    } = node;
+    const {
+      defaultView
+    } = ownerDocument;
+    defaultView.addEventListener('keydown', preventScrollOnTab);
+    node.addEventListener('keydown', onKeyDown);
+    node.addEventListener('focusout', onFocusOut);
     return () => {
-      node.addEventListener('mousedown', onMouseDown);
+      defaultView.removeEventListener('keydown', preventScrollOnTab);
+      node.removeEventListener('keydown', onKeyDown);
+      node.removeEventListener('focusout', onFocusOut);
     };
-  }, [clientId, isNavigationMode, isBlockSelected, setNavigationMode]);
+  }, []);
+  const mergedRefs = (0,external_wp_compose_namespaceObject.useMergeRefs)([container, ref]);
+  return [before, mergedRefs, after];
 }

-
-/***/ }),
-
-/***/ "JGYp":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useBlockSync; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("BhPs");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-arrow-nav.js
 /**
  * External dependencies
  */
@@ -24529,288 +18428,277 @@ function useNavModeExit(clientId) {



+
 /**
  * Internal dependencies
  */


-/**
- * A function to call when the block value has been updated in the block-editor
- * store.
- *
- * @callback onBlockUpdate
- * @param {Object[]} blocks  The updated blocks.
- * @param {Object}   options The updated block options, such as selectionStart
- *                           and selectionEnd.
- */

 /**
- * useBlockSync is a side effect which handles bidirectional sync between the
- * block-editor store and a controlling data source which provides blocks. This
- * is most commonly used by the BlockEditorProvider to synchronize the contents
- * of the block-editor store with the root entity, like a post.
- *
- * Another example would be the template part block, which provides blocks from
- * a separate entity data source than a root entity. This hook syncs edits to
- * the template part in the block editor back to the entity and vice-versa.
+ * Returns true if the element should consider edge navigation upon a keyboard
+ * event of the given directional key code, or false otherwise.
  *
- * Here are some of its basic functions:
- * - Initalizes the block-editor store for the given clientID to the blocks
- *   given via props.
- * - Adds incoming changes (like undo) to the block-editor store.
- * - Adds outgoing changes (like editing content) to the controlling entity,
- *   determining if a change should be considered persistent or not.
- * - Handles edge cases and race conditions which occur in those operations.
- * - Ignores changes which happen to other entities (like nested inner block
- *   controllers.
- * - Passes selection state from the block-editor store to the controlling entity.
+ * @param {Element} element     HTML element to test.
+ * @param {number}  keyCode     KeyboardEvent keyCode to test.
+ * @param {boolean} hasModifier Whether a modifier is pressed.
  *
- * @param {Object}        props           Props for the block sync hook
- * @param {string}        props.clientId  The client ID of the inner block controller.
- *                                        If none is passed, then it is assumed to be a
- *                                        root controller rather than an inner block
- *                                        controller.
- * @param {Object[]}      props.value     The control value for the blocks. This value
- *                                        is used to initalize the block-editor store
- *                                        and for resetting the blocks to incoming
- *                                        changes like undo.
- * @param {Object}        props.selection The selection state responsible to restore the selection on undo/redo.
- * @param {onBlockUpdate} props.onChange  Function to call when a persistent
- *                                        change has been made in the block-editor blocks
- *                                        for the given clientId. For example, after
- *                                        this function is called, an entity is marked
- *                                        dirty because it has changes to save.
- * @param {onBlockUpdate} props.onInput   Function to call when a non-persistent
- *                                        change has been made in the block-editor blocks
- *                                        for the given clientId. When this is called,
- *                                        controlling sources do not become dirty.
+ * @return {boolean} Whether element should consider edge navigation.
  */

-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,
-    resetSelection,
-    replaceInnerBlocks,
-    setHasControlledInnerBlocks,
-    __unstableMarkNextChangeAsNotPersistent
-  } = registry.dispatch(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]);
-  const {
-    getBlockName,
-    getBlocks
-  } = registry.select(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]);
-  const isControlled = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useSelect"])(select => {
-    return !clientId || select(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]).areInnerBlocksControlled(clientId);
-  }, [clientId]);
-  const pendingChanges = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useRef"])({
-    incoming: null,
-    outgoing: []
-  });
-  const subscribed = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useRef"])(false);
-
-  const setControlledBlocks = () => {
-    if (!controlledBlocks) {
-      return;
-    } // We don't need to persist this change because we only replace
-    // controlled inner blocks when the change was caused by an entity,
-    // and so it would already be persisted.
+function isNavigationCandidate(element, keyCode, hasModifier) {
+  const isVertical = keyCode === external_wp_keycodes_namespaceObject.UP || keyCode === external_wp_keycodes_namespaceObject.DOWN; // Currently, all elements support unmodified vertical navigation.

+  if (isVertical && !hasModifier) {
+    return true;
+  } // Native inputs should not navigate horizontally.

-    __unstableMarkNextChangeAsNotPersistent();

-    if (clientId) {
-      // It is important to batch here because otherwise,
-      // as soon as `setHasControlledInnerBlocks` is called
-      // the effect to restore might be triggered
-      // before the actual blocks get set properly in state.
-      registry.batch(() => {
-        setHasControlledInnerBlocks(clientId, true);
-        const storeBlocks = controlledBlocks.map(block => Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["cloneBlock"])(block));
+  const {
+    tagName
+  } = element;
+  return tagName !== 'INPUT' && tagName !== 'TEXTAREA';
+}
+/**
+ * Returns the optimal tab target from the given focused element in the desired
+ * direction. A preference is made toward text fields, falling back to the block
+ * focus stop if no other candidates exist for the block.
+ *
+ * @param {Element} target           Currently focused text field.
+ * @param {boolean} isReverse        True if considering as the first field.
+ * @param {Element} containerElement Element containing all blocks.
+ * @param {boolean} onlyVertical     Whether to only consider tabbable elements
+ *                                   that are visually above or under the
+ *                                   target.
+ *
+ * @return {?Element} Optimal tab target, if one exists.
+ */

-        if (subscribed.current) {
-          pendingChanges.current.incoming = storeBlocks;
-        }
+function getClosestTabbable(target, isReverse, containerElement, onlyVertical) {
+  // Since the current focus target is not guaranteed to be a text field, find
+  // all focusables. Tabbability is considered later.
+  let focusableNodes = external_wp_dom_namespaceObject.focus.focusable.find(containerElement);

-        __unstableMarkNextChangeAsNotPersistent();
+  if (isReverse) {
+    focusableNodes = (0,external_lodash_namespaceObject.reverse)(focusableNodes);
+  } // Consider as candidates those focusables after the current target. It's
+  // assumed this can only be reached if the target is focusable (on its
+  // keydown event), so no need to verify it exists in the set.

-        replaceInnerBlocks(clientId, storeBlocks);
-      });
-    } else {
-      if (subscribed.current) {
-        pendingChanges.current.incoming = controlledBlocks;
-      }

-      resetBlocks(controlledBlocks);
-    }
-  }; // Add a subscription to the block-editor registry to detect when changes
-  // have been made. This lets us inform the data source of changes. This
-  // is an effect so that the subscriber can run synchronously without
-  // waiting for React renders for changes.
+  focusableNodes = focusableNodes.slice(focusableNodes.indexOf(target) + 1);
+  let targetRect;

+  if (onlyVertical) {
+    targetRect = target.getBoundingClientRect();
+  }

-  const onInputRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useRef"])(onInput);
-  const onChangeRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useRef"])(onChange);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    onInputRef.current = onInput;
-    onChangeRef.current = onChange;
-  }, [onInput, onChange]); // Determine if blocks need to be reset when they change.
+  function isTabCandidate(node) {
+    // Not a candidate if the node is not tabbable.
+    if (!external_wp_dom_namespaceObject.focus.tabbable.isTabbableIndex(node)) {
+      return false;
+    } // Skip focusable elements such as links within content editable nodes.

-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    if (pendingChanges.current.outgoing.includes(controlledBlocks)) {
-      // Skip block reset if the value matches expected outbound sync
-      // triggered by this component by a preceding change detection.
-      // Only skip if the value matches expectation, since a reset should
-      // still occur if the value is modified (not equal by reference),
-      // to allow that the consumer may apply modifications to reflect
-      // back on the editor.
-      if (Object(lodash__WEBPACK_IMPORTED_MODULE_0__["last"])(pendingChanges.current.outgoing) === controlledBlocks) {
-        pendingChanges.current.outgoing = [];
-      }
-    } else if (getBlocks(clientId) !== controlledBlocks) {
-      // Reset changing value in all other cases than the sync described
-      // above. Since this can be reached in an update following an out-
-      // bound sync, unset the outbound value to avoid considering it in
-      // subsequent renders.
-      pendingChanges.current.outgoing = [];
-      setControlledBlocks();

-      if (controlledSelection) {
-        resetSelection(controlledSelection.selectionStart, controlledSelection.selectionEnd, controlledSelection.initialPosition);
-      }
-    }
-  }, [controlledBlocks, clientId]);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    // When the block becomes uncontrolled, it means its inner state has been reset
-    // we need to take the blocks again from the external value property.
-    if (!isControlled) {
-      pendingChanges.current.outgoing = [];
-      setControlledBlocks();
+    if (node.isContentEditable && node.contentEditable !== 'true') {
+      return false;
     }
-  }, [isControlled]);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    const {
-      getSelectionStart,
-      getSelectionEnd,
-      getSelectedBlocksInitialCaretPosition,
-      isLastBlockChangePersistent,
-      __unstableIsLastBlockChangeIgnored,
-      areInnerBlocksControlled
-    } = registry.select(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]);
-    let blocks = getBlocks(clientId);
-    let isPersistent = isLastBlockChangePersistent();
-    let previousAreBlocksDifferent = false;
-    subscribed.current = true;
-    const unsubscribe = registry.subscribe(() => {
-      // Sometimes, when changing block lists, lingering subscriptions
-      // might trigger before they are cleaned up. If the block for which
-      // the subscription runs is no longer in the store, this would clear
-      // its parent entity's block list. To avoid this, we bail out if
-      // the subscription is triggering for a block (`clientId !== null`)
-      // and its block name can't be found because it's not on the list.
-      // (`getBlockName( clientId ) === null`).
-      if (clientId !== null && getBlockName(clientId) === null) return; // When RESET_BLOCKS on parent blocks get called, the controlled blocks
-      // can reset to uncontrolled, in these situations, it means we need to populate
-      // the blocks again from the external blocks (the value property here)
-      // and we should stop triggering onChange

-      const isStillControlled = !clientId || areInnerBlocksControlled(clientId);
+    if (onlyVertical) {
+      const nodeRect = node.getBoundingClientRect();

-      if (!isStillControlled) {
-        return;
+      if (nodeRect.left >= targetRect.right || nodeRect.right <= targetRect.left) {
+        return false;
       }
+    }

-      const newIsPersistent = isLastBlockChangePersistent();
-      const newBlocks = getBlocks(clientId);
-      const areBlocksDifferent = newBlocks !== blocks;
-      blocks = newBlocks;
+    return true;
+  }

-      if (areBlocksDifferent && (pendingChanges.current.incoming || __unstableIsLastBlockChangeIgnored())) {
-        pendingChanges.current.incoming = null;
-        isPersistent = newIsPersistent;
-        return;
-      } // Since we often dispatch an action to mark the previous action as
-      // persistent, we need to make sure that the blocks changed on the
-      // previous action before committing the change.
+  return (0,external_lodash_namespaceObject.find)(focusableNodes, isTabCandidate);
+}
+function useArrowNav() {
+  const {
+    getSelectedBlockClientId,
+    getMultiSelectedBlocksStartClientId,
+    getMultiSelectedBlocksEndClientId,
+    getPreviousBlockClientId,
+    getNextBlockClientId,
+    getFirstMultiSelectedBlockClientId,
+    getLastMultiSelectedBlockClientId,
+    getSettings,
+    hasMultiSelection
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    multiSelect,
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    // Here a DOMRect is stored while moving the caret vertically so
+    // vertical position of the start position can be restored. This is to
+    // recreate browser behaviour across blocks.
+    let verticalRect;

+    function onMouseDown() {
+      verticalRect = null;
+    }

-      const didPersistenceChange = previousAreBlocksDifferent && !areBlocksDifferent && newIsPersistent && !isPersistent;
+    function expandSelection(isReverse) {
+      const selectedBlockClientId = getSelectedBlockClientId();
+      const selectionStartClientId = getMultiSelectedBlocksStartClientId();
+      const selectionEndClientId = getMultiSelectedBlocksEndClientId();
+      const selectionBeforeEndClientId = getPreviousBlockClientId(selectionEndClientId || selectedBlockClientId);
+      const selectionAfterEndClientId = getNextBlockClientId(selectionEndClientId || selectedBlockClientId);
+      const nextSelectionEndClientId = isReverse ? selectionBeforeEndClientId : selectionAfterEndClientId;

-      if (areBlocksDifferent || didPersistenceChange) {
-        isPersistent = newIsPersistent; // We know that onChange/onInput will update controlledBlocks.
-        // We need to be aware that it was caused by an outgoing change
-        // so that we do not treat it as an incoming change later on,
-        // which would cause a block reset.
+      if (nextSelectionEndClientId) {
+        if (selectionStartClientId === nextSelectionEndClientId) {
+          selectBlock(nextSelectionEndClientId);
+        } else {
+          multiSelect(selectionStartClientId || selectedBlockClientId, nextSelectionEndClientId);
+        }
+      }
+    }

-        pendingChanges.current.outgoing.push(blocks); // Inform the controlling entity that changes have been made to
-        // the block-editor store they should be aware about.
+    function moveSelection(isReverse) {
+      const selectedFirstClientId = getFirstMultiSelectedBlockClientId();
+      const selectedLastClientId = getLastMultiSelectedBlockClientId();
+      const focusedBlockClientId = isReverse ? selectedFirstClientId : selectedLastClientId;

-        const updateParent = isPersistent ? onChangeRef.current : onInputRef.current;
-        updateParent(blocks, {
-          selection: {
-            selectionStart: getSelectionStart(),
-            selectionEnd: getSelectionEnd(),
-            initialPosition: getSelectedBlocksInitialCaretPosition()
-          }
-        });
+      if (focusedBlockClientId) {
+        selectBlock(focusedBlockClientId);
       }
+    }
+    /**
+     * Returns true if the given target field is the last in its block which
+     * can be considered for tab transition. For example, in a block with
+     * two text fields, this would return true when reversing from the first
+     * of the two fields, but false when reversing from the second.
+     *
+     * @param {Element} target    Currently focused text field.
+     * @param {boolean} isReverse True if considering as the first field.
+     *
+     * @return {boolean} Whether field is at edge for tab transition.
+     */

-      previousAreBlocksDifferent = areBlocksDifferent;
-    });
-    return () => unsubscribe();
-  }, [registry, clientId]);
-}

+    function isTabbableEdge(target, isReverse) {
+      const closestTabbable = getClosestTabbable(target, isReverse, node);
+      return !closestTabbable || !isInSameBlock(target, closestTabbable);
+    }

-/***/ }),
+    function onKeyDown(event) {
+      const {
+        keyCode,
+        target
+      } = event;
+      const isUp = keyCode === external_wp_keycodes_namespaceObject.UP;
+      const isDown = keyCode === external_wp_keycodes_namespaceObject.DOWN;
+      const isLeft = keyCode === external_wp_keycodes_namespaceObject.LEFT;
+      const isRight = keyCode === external_wp_keycodes_namespaceObject.RIGHT;
+      const isReverse = isUp || isLeft;
+      const isHorizontal = isLeft || isRight;
+      const isVertical = isUp || isDown;
+      const isNav = isHorizontal || isVertical;
+      const isShift = event.shiftKey;
+      const hasModifier = isShift || event.ctrlKey || event.altKey || event.metaKey;
+      const isNavEdge = isVertical ? external_wp_dom_namespaceObject.isVerticalEdge : external_wp_dom_namespaceObject.isHorizontalEdge;
+      const {
+        ownerDocument
+      } = node;
+      const {
+        defaultView
+      } = ownerDocument;

-/***/ "JRTi":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+      if (hasMultiSelection()) {
+        if (isNav) {
+          const action = isShift ? expandSelection : moveSelection;
+          action(isReverse);
+          event.preventDefault();
+        }

-"use strict";
+        return;
+      } // When presing any key other than up or down, the initial vertical
+      // position must ALWAYS be reset. The vertical position is saved so
+      // it can be restored as well as possible on sebsequent vertical
+      // arrow key presses. It may not always be possible to restore the
+      // exact same position (such as at an empty line), so it wouldn't be
+      // good to compute the position right before any vertical arrow key
+      // press.

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ BlockEdit; });

-// UNUSED EXPORTS: useBlockEditContext
+      if (!isVertical) {
+        verticalRect = null;
+      } else if (!verticalRect) {
+        verticalRect = (0,external_wp_dom_namespaceObject.computeCaretRect)(defaultView);
+      } // Abort if navigation has already been handled (e.g. RichText
+      // inline boundaries).
+

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+      if (event.defaultPrevented) {
+        return;
+      }

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+      if (!isNav) {
+        return;
+      } // Abort if our current target is not a candidate for navigation
+      // (e.g. preserve native input behaviors).

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+      if (!isNavigationCandidate(target, keyCode, hasModifier)) {
+        return;
+      } // In the case of RTL scripts, right means previous and left means
+      // next, which is the exact reverse of LTR.

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+      const isReverseDir = (0,external_wp_dom_namespaceObject.isRTL)(target) ? !isReverse : isReverse;
+      const {
+        keepCaretInsideBlock
+      } = getSettings();
+      const selectedBlockClientId = getSelectedBlockClientId();

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-context/index.js
-var block_context = __webpack_require__("uoCR");
+      if (isShift) {
+        const selectionEndClientId = getMultiSelectedBlocksEndClientId();
+        const selectionBeforeEndClientId = getPreviousBlockClientId(selectionEndClientId || selectedBlockClientId);
+        const selectionAfterEndClientId = getNextBlockClientId(selectionEndClientId || selectedBlockClientId);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/edit.js
+        if ( // Ensure that there is a target block.
+        (isReverse && selectionBeforeEndClientId || !isReverse && selectionAfterEndClientId) && isTabbableEdge(target, isReverse) && isNavEdge(target, isReverse)) {
+          // Shift key is down, and there is multi selection or we're
+          // at the end of the current block.
+          expandSelection(isReverse);
+          event.preventDefault();
+        }
+      } else if (isVertical && (0,external_wp_dom_namespaceObject.isVerticalEdge)(target, isReverse) && !keepCaretInsideBlock) {
+        const closestTabbable = getClosestTabbable(target, isReverse, node, true);

+        if (closestTabbable) {
+          (0,external_wp_dom_namespaceObject.placeCaretAtVerticalEdge)(closestTabbable, isReverse, verticalRect);
+          event.preventDefault();
+        }
+      } else if (isHorizontal && defaultView.getSelection().isCollapsed && (0,external_wp_dom_namespaceObject.isHorizontalEdge)(target, isReverseDir) && !keepCaretInsideBlock) {
+        const closestTabbable = getClosestTabbable(target, isReverseDir, node);
+        (0,external_wp_dom_namespaceObject.placeCaretAtHorizontalEdge)(closestTabbable, isReverse);
+        event.preventDefault();
+      }
+    }

+    node.addEventListener('mousedown', onMouseDown);
+    node.addEventListener('keydown', onKeyDown);
+    return () => {
+      node.removeEventListener('mousedown', onMouseDown);
+      node.removeEventListener('keydown', onKeyDown);
+    };
+  }, []);
+}

+;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"]
+var external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-select-all.js
 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */
@@ -24818,68 +18706,76 @@ var block_context = __webpack_require__("uoCR");



+
 /**
  * Internal dependencies
  */


-/**
- * Default value used for blocks which do not define their own context needs,
- * used to guarantee that a block's `context` prop will always be an object. It
- * is assigned as a constant since it is always expected to be an empty object,
- * and in order to avoid unnecessary React reconciliations of a changing object.
- *
- * @type {{}}
- */
-
-const DEFAULT_BLOCK_CONTEXT = {};
-const Edit = props => {
+function useSelectAll() {
   const {
-    attributes = {},
-    name
-  } = props;
-  const blockType = Object(external_wp_blocks_["getBlockType"])(name);
-  const blockContext = Object(external_wp_element_["useContext"])(block_context["b" /* default */]); // Assign context values using the block type's declared context needs.
+    getBlockOrder,
+    getSelectedBlockClientIds,
+    getBlockRootClientId
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    multiSelect
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const isMatch = (0,external_wp_keyboardShortcuts_namespaceObject.__unstableUseShortcutEventMatch)();
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    function onKeyDown(event) {
+      if (!isMatch('core/block-editor/select-all', event)) {
+        return;
+      }

-  const context = Object(external_wp_element_["useMemo"])(() => {
-    return blockType && blockType.usesContext ? Object(external_lodash_["pick"])(blockContext, blockType.usesContext) : DEFAULT_BLOCK_CONTEXT;
-  }, [blockType, blockContext]);
+      if (!(0,external_wp_dom_namespaceObject.isEntirelySelected)(event.target)) {
+        return;
+      }

-  if (!blockType) {
-    return null;
-  } // `edit` and `save` are functions or components describing the markup
-  // with which a block is displayed. If `blockType` is valid, assign
-  // them preferentially as the render value for the block.
+      const selectedClientIds = getSelectedBlockClientIds();
+      const [firstSelectedClientId] = selectedClientIds;
+      const rootClientId = getBlockRootClientId(firstSelectedClientId);
+      let blockClientIds = getBlockOrder(rootClientId); // If we have selected all sibling nested blocks, try selecting up a
+      // level. See: https://github.com/WordPress/gutenberg/pull/31859/

+      if (selectedClientIds.length === blockClientIds.length) {
+        blockClientIds = getBlockOrder(getBlockRootClientId(rootClientId));
+      }

-  const Component = blockType.edit || blockType.save;
+      const firstClientId = (0,external_lodash_namespaceObject.first)(blockClientIds);
+      const lastClientId = (0,external_lodash_namespaceObject.last)(blockClientIds);

-  if (blockType.apiVersion > 1) {
-    return Object(external_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({}, props, {
-      context: context
-    }));
-  } // Generate a class name for the block's editable form
+      if (firstClientId === lastClientId) {
+        return;
+      }

+      multiSelect(firstClientId, lastClientId);
+      event.preventDefault();
+    }

-  const generatedClassName = Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'className', true) ? Object(external_wp_blocks_["getBlockDefaultClassName"])(name) : null;
-  const className = classnames_default()(generatedClassName, attributes.className);
-  return Object(external_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({}, props, {
-    context: context,
-    className: className
-  }));
-};
-/* harmony default export */ var edit = (Object(external_wp_components_["withFilters"])('editor.BlockEdit')(Edit));
+    node.addEventListener('keydown', onKeyDown);
+    return () => {
+      node.removeEventListener('keydown', onKeyDown);
+    };
+  }, []);
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/index.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js
-var block_edit_context = __webpack_require__("ur0x");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */

+
+
+
+
 /**
  * Internal dependencies
  */
@@ -24887,46 +18783,48 @@ var block_edit_context = __webpack_require__("ur0x");



-function BlockEdit(props) {
-  const {
-    name,
-    isSelected,
-    clientId
-  } = props;
-  const context = {
-    name,
-    isSelected,
-    clientId
-  };
-  return Object(external_wp_element_["createElement"])(block_edit_context["a" /* BlockEditContextProvider */] // It is important to return the same object if props haven't
-  // changed to avoid  unnecessary rerenders.
-  // See https://reactjs.org/docs/context.html#caveats.
-  , {
-    value: Object(external_wp_element_["useMemo"])(() => context, Object.values(context))
-  }, Object(external_wp_element_["createElement"])(edit, props));
+
+
+function useWritingFlow() {
+  const [before, ref, after] = useTabNav();
+  const hasMultiSelection = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).hasMultiSelection(), []);
+  return [before, (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, use_multi_selection_useMultiSelection(), useSelectAll(), useArrowNav(), (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    node.tabIndex = -1;
+
+    if (!hasMultiSelection) {
+      return;
+    }
+
+    node.setAttribute('aria-label', (0,external_wp_i18n_namespaceObject.__)('Multiple selected blocks'));
+    return () => {
+      node.removeAttribute('aria-label');
+    };
+  }, [hasMultiSelection])]), after];
 }

+function WritingFlow(_ref, forwardedRef) {
+  let {
+    children,
+    ...props
+  } = _ref;
+  const [before, ref, after] = useWritingFlow();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, before, (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, props, {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, forwardedRef]),
+    className: classnames_default()(props.className, 'block-editor-writing-flow')
+  }), children), after);
+}
+/**
+ * Handles selection and navigation across blocks. This component should be
+ * wrapped around BlockList.
+ *
+ * @param {Object}    props          Component properties.
+ * @param {WPElement} props.children Children to be rendered.
+ */

-/***/ }),

-/***/ "JUfZ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var writing_flow = ((0,external_wp_element_namespaceObject.forwardRef)(WritingFlow));

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _navigable_toolbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("GkEL");
-/* harmony import */ var _block_toolbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("+gtr");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("BhPs");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/iframe/index.js



@@ -24941,2009 +18839,1647 @@ function BlockEdit(props) {



+
 /**
  * Internal dependencies
  */



+const BODY_CLASS_NAME = 'editor-styles-wrapper';
+const BLOCK_PREFIX = 'wp-block';
+/**
+ * Clones stylesheets targetting the editor canvas to the given document. A
+ * stylesheet is considered targetting the editor a canvas if it contains the
+ * `editor-styles-wrapper`, `wp-block`, or `wp-block-*` class selectors.
+ *
+ * Ideally, this hook should be removed in the future and styles should be added
+ * explicitly as editor styles.
+ *
+ * @param {Document} doc The document to append cloned stylesheets to.
+ */

-
-function BlockContextualToolbar(_ref) {
-  let {
-    focusOnMount,
-    isFixed,
-    ...props
-  } = _ref;
-  const {
-    blockType,
-    hasParents,
-    showParentSelector
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_5__["useSelect"])(select => {
-    const {
-      getBlockName,
-      getBlockParents,
-      getSelectedBlockClientIds
-    } = select(_store__WEBPACK_IMPORTED_MODULE_8__[/* store */ "a"]);
-    const {
-      getBlockType
-    } = select(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__["store"]);
-    const selectedBlockClientIds = getSelectedBlockClientIds();
-    const selectedBlockClientId = selectedBlockClientIds[0];
-    const parents = getBlockParents(selectedBlockClientId);
-    const firstParentClientId = parents[parents.length - 1];
-    const parentBlockName = getBlockName(firstParentClientId);
-    const parentBlockType = getBlockType(parentBlockName);
-    return {
-      blockType: selectedBlockClientId && getBlockType(getBlockName(selectedBlockClientId)),
-      hasParents: parents.length,
-      showParentSelector: Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__["hasBlockSupport"])(parentBlockType, '__experimentalParentSelector', true) && selectedBlockClientIds.length <= 1
-    };
-  }, []);
-
-  if (blockType) {
-    if (!Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_4__["hasBlockSupport"])(blockType, '__experimentalToolbar', true)) {
-      return null;
+function styleSheetsCompat(doc) {
+  // Search the document for stylesheets targetting the editor canvas.
+  Array.from(document.styleSheets).forEach(styleSheet => {
+    try {
+      // May fail for external styles.
+      // eslint-disable-next-line no-unused-expressions
+      styleSheet.cssRules;
+    } catch (e) {
+      return;
     }
-  } // Shifts the toolbar to make room for the parent block selector.

+    const {
+      ownerNode,
+      cssRules
+    } = styleSheet;

-  const classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()('block-editor-block-contextual-toolbar', {
-    'has-parent': hasParents && showParentSelector,
-    'is-fixed': isFixed
-  });
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_navigable_toolbar__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    focusOnMount: focusOnMount,
-    className: classes
-    /* translators: accessibility text for the block toolbar */
-    ,
-    "aria-label": Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Block tools')
-  }, props), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_block_toolbar__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], {
-    hideDragHandle: isFixed
-  }));
-}
+    if (!cssRules) {
+      return;
+    } // Generally, ignore inline styles. We add inline styles belonging to a
+    // stylesheet later, which may or may not match the selectors.

-/* harmony default export */ __webpack_exports__["a"] = (BlockContextualToolbar);

+    if (ownerNode.tagName !== 'LINK') {
+      return;
+    } // Don't try to add the reset styles, which were removed as a dependency
+    // from `edit-blocks` for the iframe since we don't need to reset admin
+    // styles.

-/***/ }),

-/***/ "JygI":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (ownerNode.id === 'wp-reset-editor-styles-css') {
+      return;
+    }

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("xN+R");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_7__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__);
-/* harmony import */ var _block_draggable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("ZAjO");
-/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("9Ma0");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("BhPs");
+    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)) {
+      // Display warning once we have a way to add style dependencies to the editor.
+      // See: https://github.com/WordPress/gutenberg/pull/37466.
+      doc.head.appendChild(ownerNode.cloneNode(true)); // Add inline styles belonging to the stylesheet.

+      const inlineCssId = ownerNode.id.replace('-css', '-inline-css');
+      const inlineCssElement = document.getElementById(inlineCssId);

+      if (inlineCssElement) {
+        doc.head.appendChild(inlineCssElement.cloneNode(true));
+      }
+    }
+  });
+}
 /**
- * External dependencies
+ * Bubbles some event types (keydown, keypress, and dragover) to parent document
+ * document to ensure that the keyboard shortcuts and drag and drop work.
+ *
+ * Ideally, we should remove event bubbling in the future. Keyboard shortcuts
+ * should be context dependent, e.g. actions on blocks like Cmd+A should not
+ * work globally outside the block editor.
+ *
+ * @param {Document} doc Document to attach listeners to.
  */


-/**
- * WordPress dependencies
- */
+function bubbleEvents(doc) {
+  const {
+    defaultView
+  } = doc;
+  const {
+    frameElement
+  } = defaultView;

+  function bubbleEvent(event) {
+    const prototype = Object.getPrototypeOf(event);
+    const constructorName = prototype.constructor.name;
+    const Constructor = window[constructorName];
+    const init = {};
+
+    for (const key in event) {
+      init[key] = event[key];
+    }

+    if (event instanceof defaultView.MouseEvent) {
+      const rect = frameElement.getBoundingClientRect();
+      init.clientX += rect.left;
+      init.clientY += rect.top;
+    }

+    const newEvent = new Constructor(event.type, init);
+    const cancelled = !frameElement.dispatchEvent(newEvent);

+    if (cancelled) {
+      event.preventDefault();
+    }
+  }

+  const eventTypes = ['dragover'];

+  for (const name of eventTypes) {
+    doc.addEventListener(name, bubbleEvent);
+  }
+}

-/**
- * Internal dependencies
- */
+function useParsedAssets(html) {
+  return (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const doc = document.implementation.createHTMLDocument('');
+    doc.body.innerHTML = html;
+    return Array.from(doc.body.children);
+  }, [html]);
+}
+
+async function loadScript(head, _ref2) {
+  let {
+    id,
+    src
+  } = _ref2;
+  return new Promise((resolve, reject) => {
+    const script = head.ownerDocument.createElement('script');
+    script.id = id;
+
+    if (src) {
+      script.src = src;

+      script.onload = () => resolve();

+      script.onerror = () => reject();
+    } else {
+      resolve();
+    }

+    head.appendChild(script);
+  });
+}

+function Iframe(_ref3, ref) {
+  var _window$__editorAsset, _window$__editorAsset2;

-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);
+    contentRef,
+    children,
+    head,
+    tabIndex = 0,
+    ...props
+  } = _ref3;
+  const [, forceRender] = (0,external_wp_element_namespaceObject.useReducer)(() => ({}));
+  const [iframeDocument, setIframeDocument] = (0,external_wp_element_namespaceObject.useState)();
+  const [bodyClasses, setBodyClasses] = (0,external_wp_element_namespaceObject.useState)([]);
+  const styles = useParsedAssets((_window$__editorAsset = window.__editorAssets) === null || _window$__editorAsset === void 0 ? void 0 : _window$__editorAsset.styles);
+  const scripts = useParsedAssets((_window$__editorAsset2 = window.__editorAssets) === null || _window$__editorAsset2 === void 0 ? void 0 : _window$__editorAsset2.scripts);
+  const clearerRef = useBlockSelectionClearer();
+  const [before, writingFlowRef, after] = useWritingFlow();
+  const setRef = (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    function setDocumentIfReady() {
+      const {
+        contentDocument,
+        ownerDocument
+      } = node;
+      const {
+        readyState,
+        documentElement
+      } = contentDocument;

-  const onFocus = () => setIsFocused(true);
+      if (readyState !== 'interactive' && readyState !== 'complete') {
+        return false;
+      }

-  const onBlur = () => setIsFocused(false);
+      bubbleEvents(contentDocument);
+      setIframeDocument(contentDocument);
+      clearerRef(documentElement); // Ideally ALL classes that are added through get_body_class should
+      // be added in the editor too, which we'll somehow have to get from
+      // the server in the future (which will run the PHP filters).

-  if (!canMove || isFirst && isLast && !rootClientId) {
-    return null;
-  }
+      setBodyClasses(Array.from(ownerDocument.body.classList).filter(name => name.startsWith('admin-color-') || name === 'wp-embed-responsive'));
+      contentDocument.dir = ownerDocument.dir;
+      documentElement.removeChild(contentDocument.head);
+      documentElement.removeChild(contentDocument.body);
+      return true;
+    }

-  const dragHandleLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_8__["__"])('Drag'); // We emulate a disabled state because forcefully applying the `disabled`
-  // attribute on the buttons while it has focus causes the screen to change
-  // to an unfocused state (body as active element) without firing blur on,
-  // the rendering parent, leaving it unable to react to focus out.
+    if (setDocumentIfReady()) {
+      return;
+    } // Document is not immediately loaded in Firefox.


-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
-    className: classnames__WEBPACK_IMPORTED_MODULE_3___default()('block-editor-block-mover', {
-      'is-visible': isFocused || !isHidden,
-      'is-horizontal': orientation === 'horizontal'
-    })
-  }, !hideDragHandle && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_block_draggable__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
-    clientIds: clientIds,
-    cloneClassname: "block-editor-block-mover__drag-clone"
-  }, draggableProps => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["Button"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"],
-    className: "block-editor-block-mover__drag-handle",
-    "aria-hidden": "true",
-    label: dragHandleLabel // Should not be able to tab to drag handle as this
-    // button can only be used with a pointer device.
-    ,
-    tabIndex: "-1"
-  }, draggableProps))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["ToolbarGroup"], {
-    className: "block-editor-block-mover__move-button-container"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["ToolbarItem"], {
-    onFocus: onFocus,
-    onBlur: onBlur
-  }, itemProps => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_10__[/* BlockMoverUpButton */ "b"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    clientIds: clientIds
-  }, itemProps))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["ToolbarItem"], {
-    onFocus: onFocus,
-    onBlur: onBlur
-  }, itemProps => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_button__WEBPACK_IMPORTED_MODULE_10__[/* BlockMoverDownButton */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    clientIds: clientIds
-  }, itemProps)))));
+    node.addEventListener('load', () => {
+      setDocumentIfReady();
+    });
+  }, []);
+  const headRef = (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+    scripts.reduce((promise, script) => promise.then(() => loadScript(element, script)), Promise.resolve()).finally(() => {
+      // When script are loaded, re-render blocks to allow them
+      // to initialise.
+      forceRender();
+    });
+  }, []);
+  const bodyRef = (0,external_wp_compose_namespaceObject.useMergeRefs)([contentRef, clearerRef, writingFlowRef]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (iframeDocument) {
+      styleSheetsCompat(iframeDocument);
+    }
+  }, [iframeDocument]);
+  head = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("style", null, 'body{margin:0}'), styles.map(_ref4 => {
+    let {
+      tagName,
+      href,
+      id,
+      rel,
+      media,
+      textContent
+    } = _ref4;
+    const TagName = tagName.toLowerCase();
+
+    if (TagName === 'style') {
+      return (0,external_wp_element_namespaceObject.createElement)(TagName, {
+        id,
+        key: id
+      }, textContent);
+    }
+
+    return (0,external_wp_element_namespaceObject.createElement)(TagName, {
+      href,
+      id,
+      rel,
+      media,
+      key: id
+    });
+  }), head);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, tabIndex >= 0 && before, (0,external_wp_element_namespaceObject.createElement)("iframe", _extends({}, props, {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, setRef]),
+    tabIndex: tabIndex,
+    title: (0,external_wp_i18n_namespaceObject.__)('Editor canvas')
+  }), iframeDocument && (0,external_wp_element_namespaceObject.createPortal)((0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("head", {
+    ref: headRef
+  }, head), (0,external_wp_element_namespaceObject.createElement)("body", {
+    ref: bodyRef,
+    className: classnames_default()(BODY_CLASS_NAME, ...bodyClasses)
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalStyleProvider, {
+    document: iframeDocument
+  }, children))), iframeDocument.documentElement)), tabIndex >= 0 && after);
 }

-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_7__["withSelect"])((select, _ref2) => {
-  var _getBlockListSettings;
+/* harmony default export */ var iframe = ((0,external_wp_element_namespaceObject.forwardRef)(Iframe));

-  let {
-    clientIds
-  } = _ref2;
-  const {
-    getBlock,
-    getBlockIndex,
-    getBlockListSettings,
-    canMoveBlocks,
-    getBlockOrder,
-    getBlockRootClientId
-  } = select(_store__WEBPACK_IMPORTED_MODULE_11__[/* store */ "a"]);
-  const normalizedClientIds = Object(lodash__WEBPACK_IMPORTED_MODULE_2__["castArray"])(clientIds);
-  const firstClientId = Object(lodash__WEBPACK_IMPORTED_MODULE_2__["first"])(normalizedClientIds);
-  const block = getBlock(firstClientId);
-  const rootClientId = getBlockRootClientId(Object(lodash__WEBPACK_IMPORTED_MODULE_2__["first"])(normalizedClientIds));
-  const firstIndex = getBlockIndex(firstClientId);
-  const lastIndex = getBlockIndex(Object(lodash__WEBPACK_IMPORTED_MODULE_2__["last"])(normalizedClientIds));
-  const blockOrder = getBlockOrder(rootClientId);
-  const isFirst = firstIndex === 0;
-  const isLast = lastIndex === blockOrder.length - 1;
-  return {
-    blockType: block ? Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_6__["getBlockType"])(block.name) : null,
-    canMove: canMoveBlocks(clientIds, rootClientId),
-    rootClientId,
-    firstIndex,
-    isFirst,
-    isLast,
-    orientation: (_getBlockListSettings = getBlockListSettings(rootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation
-  };
-})(BlockMover));
+;// CONCATENATED MODULE: ./node_modules/colord/index.mjs
+var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);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(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};

+;// CONCATENATED MODULE: ./node_modules/colord/plugins/names.mjs
+/* harmony default export */ function names(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g)}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"])}

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/colord/plugins/a11y.mjs
+var a11y_o=function(o){var t=o/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},a11y_t=function(t){return.2126*a11y_o(t.r)+.7152*a11y_o(t.g)+.0722*a11y_o(t.b)};/* harmony default export */ function a11y(o){o.prototype.luminance=function(){return o=a11y_t(this.rgba),void 0===(r=2)&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*o)/n+0;var o,r,n},o.prototype.contrast=function(r){void 0===r&&(r="#FFF");var n,a,i,e,v,u,d,c=r instanceof o?r:new o(r);return e=this.rgba,v=c.toRgb(),u=a11y_t(e),d=a11y_t(v),n=u>d?(u+.05)/(d+.05):(d+.05)/(u+.05),void 0===(a=2)&&(a=0),void 0===i&&(i=Math.pow(10,a)),Math.floor(i*n)/i+0},o.prototype.isReadable=function(o,t){return void 0===o&&(o="#FFF"),void 0===t&&(t={}),this.contrast(o)>=(e=void 0===(i=(r=t).size)?"normal":i,"AAA"===(a=void 0===(n=r.level)?"AA":n)&&"normal"===e?7:"AA"===a&&"large"===e?3:4.5);var r,n,a,i,e}}
+
+// EXTERNAL MODULE: ./node_modules/traverse/index.js
+var traverse = __webpack_require__(3124);
+var traverse_default = /*#__PURE__*/__webpack_require__.n(traverse);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/parse.js
+/* eslint-disable @wordpress/no-unused-vars-before-return */
+// Adapted from https://github.com/reworkcss/css
+// because we needed to remove source map support.
+// http://www.w3.org/TR/CSS21/grammar.htm
+// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027
+const commentre = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
+/* harmony default export */ function parse(css, options) {
+  options = options || {};
+  /**
+   * Positional.
+   */

-/***/ "Jyyd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  let lineno = 1;
+  let column = 1;
+  /**
+   * Update lineno and column based on `str`.
+   */

-"use strict";
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * WordPress dependencies
- */
+  function updatePosition(str) {
+    const lines = str.match(/\n/g);

-const {
-  Fill: __unstableBlockSettingsMenuFirstItem,
-  Slot
-} = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__["createSlotFill"])('__unstableBlockSettingsMenuFirstItem');
-__unstableBlockSettingsMenuFirstItem.Slot = Slot;
-/* harmony default export */ __webpack_exports__["a"] = (__unstableBlockSettingsMenuFirstItem);
+    if (lines) {
+      lineno += lines.length;
+    }

+    const i = str.lastIndexOf('\n'); // eslint-disable-next-line no-bitwise

-/***/ }),
+    column = ~i ? str.length - i : column + str.length;
+  }
+  /**
+   * Mark position and patch `node.position`.
+   */

-/***/ "K/rC":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useAvailableAlignments; });
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _block_list_layout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("w8sn");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("BhPs");
-/* harmony import */ var _layouts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("PPMp");
-/**
- * WordPress dependencies
- */
+  function position() {
+    const start = {
+      line: lineno,
+      column
+    };
+    return function (node) {
+      node.position = new Position(start);
+      whitespace();
+      return node;
+    };
+  }
+  /**
+   * Store position information for a node
+   */

-/**
- * Internal dependencies
- */
+
+  function Position(start) {
+    this.start = start;
+    this.end = {
+      line: lineno,
+      column
+    };
+    this.source = options.source;
+  }
+  /**
+   * Non-enumerable source string
+   */


+  Position.prototype.content = css;
+  /**
+   * Error `msg`.
+   */

+  const errorsList = [];

-const DEFAULT_CONTROLS = ['none', 'left', 'center', 'right', 'wide', 'full'];
-const WIDE_CONTROLS = ['wide', 'full'];
-function useAvailableAlignments() {
-  let controls = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_CONTROLS;
+  function error(msg) {
+    const err = new Error(options.source + ':' + lineno + ':' + column + ': ' + msg);
+    err.reason = msg;
+    err.filename = options.source;
+    err.line = lineno;
+    err.column = column;
+    err.source = css;

-  // Always add the `none` option if not exists.
-  if (!controls.includes('none')) {
-    controls = ['none', ...controls];
+    if (options.silent) {
+      errorsList.push(err);
+    } else {
+      throw err;
+    }
   }
+  /**
+   * Parse stylesheet.
+   */

-  const {
-    wideControlsEnabled = false,
-    themeSupportsLayout
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useSelect"])(select => {
-    const {
-      getSettings
-    } = select(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]);
-    const settings = getSettings();
+
+  function stylesheet() {
+    const rulesList = rules();
     return {
-      wideControlsEnabled: settings.alignWide,
-      themeSupportsLayout: settings.supportsLayout
+      type: 'stylesheet',
+      stylesheet: {
+        source: options.source,
+        rules: rulesList,
+        parsingErrors: errorsList
+      }
     };
-  }, []);
-  const layout = Object(_block_list_layout__WEBPACK_IMPORTED_MODULE_1__[/* useLayout */ "d"])();
-  const layoutType = Object(_layouts__WEBPACK_IMPORTED_MODULE_3__[/* getLayoutType */ "a"])(layout === null || layout === void 0 ? void 0 : layout.type);
-  const layoutAlignments = layoutType.getAlignments(layout);
+  }
+  /**
+   * Opening brace.
+   */

-  if (themeSupportsLayout) {
-    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') {
-      return [];
-    }
+  function open() {
+    return match(/^{\s*/);
+  }
+  /**
+   * Closing brace.
+   */

-    return alignments;
-  } // Starting here, it's the fallback for themes not supporting the layout config.
+
+  function close() {
+    return match(/^}/);
+  }
+  /**
+   * Parse ruleset.
+   */


-  if (layoutType.name !== 'default') {
-    return [];
+  function rules() {
+    let node;
+    const accumulator = [];
+    whitespace();
+    comments(accumulator);
+
+    while (css.length && css.charAt(0) !== '}' && (node = atrule() || rule())) {
+      if (node !== false) {
+        accumulator.push(node);
+        comments(accumulator);
+      }
+    }
+
+    return accumulator;
   }
+  /**
+   * Match `re` and return captures.
+   */

-  const {
-    alignments: availableAlignments = DEFAULT_CONTROLS
-  } = layout;
-  const enabledControls = controls.filter(control => (layout.alignments || // Ignore the global wideAlignment check if the layout explicitely defines alignments.
-  wideControlsEnabled || !WIDE_CONTROLS.includes(control)) && availableAlignments.includes(control)).map(enabledControl => ({
-    name: enabledControl
-  })); // While we treat `none` as an alignment, we shouldn't return it if no
-  // other alignments exist.

-  if (enabledControls.length === 1 && enabledControls[0].name === 'none') {
-    return [];
+  function match(re) {
+    const m = re.exec(css);
+
+    if (!m) {
+      return;
+    }
+
+    const str = m[0];
+    updatePosition(str);
+    css = css.slice(str.length);
+    return m;
+  }
+  /**
+   * Parse whitespace.
+   */
+
+
+  function whitespace() {
+    match(/^\s*/);
   }
+  /**
+   * Parse comments;
+   */

-  return enabledControls;
-}

+  function comments(accumulator) {
+    let c;
+    accumulator = accumulator || []; // eslint-disable-next-line no-cond-assign

-/***/ }),
+    while (c = comment()) {
+      if (c !== false) {
+        accumulator.push(c);
+      }
+    }

-/***/ "K8zD":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    return accumulator;
+  }
+  /**
+   * Parse comment.
+   */

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);

+  function comment() {
+    const pos = position();

-/**
- * WordPress dependencies
- */
+    if ('/' !== css.charAt(0) || '*' !== css.charAt(1)) {
+      return;
+    }

-const globe = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (globe);
+    let i = 2;

+    while ('' !== css.charAt(i) && ('*' !== css.charAt(i) || '/' !== css.charAt(i + 1))) {
+      ++i;
+    }

-/***/ }),
+    i += 2;

-/***/ "K9lf":
-/***/ (function(module, exports) {
+    if ('' === css.charAt(i - 1)) {
+      return error('End of comment missing');
+    }

-(function() { module.exports = window["wp"]["compose"]; }());
+    const str = css.slice(2, i - 2);
+    column += 2;
+    updatePosition(str);
+    css = css.slice(i);
+    column += 2;
+    return pos({
+      type: 'comment',
+      comment: str
+    });
+  }
+  /**
+   * Parse selector.
+   */

-/***/ }),

-/***/ "KyyN":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  function selector() {
+    const m = match(/^([^{]+)/);

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return EditorStyles; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("fHnH");
-/* harmony import */ var colord_plugins_names__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("abaT");
-/* harmony import */ var colord_plugins_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("7bKH");
-/* harmony import */ var _utils_transform_styles__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("vSu0");
+    if (!m) {
+      return;
+    } // FIXME: Remove all comments from selectors http://ostermiller.org/findcomment.html


-/**
- * External dependencies
- */
+    return trim(m[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g, '').replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g, function (matched) {
+      return matched.replace(/,/g, '\u200C');
+    }).split(/\s*(?![^(]*\)),\s*/).map(function (s) {
+      return s.replace(/\u200C/g, ',');
+    });
+  }
+  /**
+   * Parse declaration.
+   */


+  function declaration() {
+    const pos = position(); // prop

-/**
- * WordPress dependencies
- */
+    let prop = match(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);

+    if (!prop) {
+      return;
+    }

-/**
- * Internal dependencies
- */
+    prop = trim(prop[0]); // :

+    if (!match(/^:\s*/)) {
+      return error("property missing ':'");
+    } // val

-const EDITOR_STYLES_SELECTOR = '.editor-styles-wrapper';
-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 useDarkThemeBodyClassName(styles) {
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(node => {
-    if (!node) {
-      return;
-    }
+    const val = match(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/);
+    const ret = pos({
+      type: 'declaration',
+      property: prop.replace(commentre, ''),
+      value: val ? trim(val[0]).replace(commentre, '') : ''
+    }); // ;

-    const {
-      ownerDocument
-    } = node;
-    const {
-      defaultView,
-      body
-    } = ownerDocument;
-    const canvas = ownerDocument.querySelector(EDITOR_STYLES_SELECTOR);
-    let backgroundColor;
+    match(/^[;\s]*/);
+    return ret;
+  }
+  /**
+   * Parse declarations.
+   */

-    if (!canvas) {
-      // The real .editor-styles-wrapper element might not exist in the
-      // DOM, so calculate the background color by creating a fake
-      // wrapper.
-      const tempCanvas = ownerDocument.createElement('div');
-      tempCanvas.classList.add('editor-styles-wrapper');
-      body.appendChild(tempCanvas);
-      backgroundColor = defaultView.getComputedStyle(tempCanvas, null).getPropertyValue('background-color');
-      body.removeChild(tempCanvas);
-    } else {
-      backgroundColor = defaultView.getComputedStyle(canvas, null).getPropertyValue('background-color');
-    }

-    const colordBackgroundColor = Object(colord__WEBPACK_IMPORTED_MODULE_1__[/* colord */ "a"])(backgroundColor); // If background is transparent, it should be treated as light color.
+  function declarations() {
+    const decls = [];

-    if (colordBackgroundColor.luminance() > 0.5 || colordBackgroundColor.alpha() === 0) {
-      body.classList.remove('is-dark-theme');
-    } else {
-      body.classList.add('is-dark-theme');
+    if (!open()) {
+      return error("missing '{'");
     }
-  }, [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)
-  }), transformedStyles.map((css, index) => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("style", {
-    key: index
-  }, css)));
-}
+    comments(decls); // declarations

+    let decl; // eslint-disable-next-line no-cond-assign

-/***/ }),
+    while (decl = declaration()) {
+      if (decl !== false) {
+        decls.push(decl);
+        comments(decls);
+      }
+    }

-/***/ "LolH":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (!close()) {
+      return error("missing '}'");
+    }

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("iClF");
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("//Lo");
+    return decls;
+  }
+  /**
+   * Parse keyframe.
+   */


-/**
- * WordPress dependencies
- */
+  function keyframe() {
+    let m;
+    const vals = [];
+    const pos = position(); // eslint-disable-next-line no-cond-assign

+    while (m = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/)) {
+      vals.push(m[1]);
+      match(/^,\s*/);
+    }

+    if (!vals.length) {
+      return;
+    }

-function InserterNoResults() {
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    className: "block-editor-inserter__no-results"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_icons__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], {
-    className: "block-editor-inserter__no-results-icon",
-    icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"]
-  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("p", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["__"])('No results found.')));
-}
+    return pos({
+      type: 'keyframe',
+      values: vals,
+      declarations: declarations()
+    });
+  }
+  /**
+   * Parse keyframes.
+   */

-/* harmony default export */ __webpack_exports__["a"] = (InserterNoResults);

+  function atkeyframes() {
+    const pos = position();
+    let m = match(/^@([-\w]+)?keyframes\s*/);

-/***/ }),
+    if (!m) {
+      return;
+    }

-/***/ "M+co":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    const vendor = m[1]; // identifier

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("GOly");
+    m = match(/^([-\w]+)\s*/);

+    if (!m) {
+      return error('@keyframes missing name');
+    }

+    const name = m[1];

-/**
- * WordPress dependencies
- */
+    if (!open()) {
+      return error("@keyframes missing '{'");
+    }

+    let frame;
+    let frames = comments(); // eslint-disable-next-line no-cond-assign

-/**
- * Internal dependencies
- */
+    while (frame = keyframe()) {
+      frames.push(frame);
+      frames = frames.concat(comments());
+    }

+    if (!close()) {
+      return error("@keyframes missing '}'");
+    }

+    return pos({
+      type: 'keyframes',
+      name,
+      vendor,
+      keyframes: frames
+    });
+  }
+  /**
+   * Parse supports.
+   */

-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,
-    state: state,
-    role: "option" // Use the CompositeItem `focusable` prop over Button's
-    // isFocusable. The latter was shown to cause an issue
-    // with tab order in the inserter list.
-    ,
-    focusable: true
-  }, props), htmlProps => {
-    const propsWithTabIndex = { ...htmlProps,
-      tabIndex: isFirst ? 0 : htmlProps.tabIndex
-    };

-    if (Component) {
-      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(Component, propsWithTabIndex, children);
-    }
+  function atsupports() {
+    const pos = position();
+    const m = match(/^@supports *([^{]+)/);

-    if (typeof children === 'function') {
-      return children(propsWithTabIndex);
+    if (!m) {
+      return;
     }

-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Button"], propsWithTabIndex, children);
-  });
-}
+    const supports = trim(m[1]);

-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])(InserterListboxItem));
+    if (!open()) {
+      return error("@supports missing '{'");
+    }

+    const style = comments().concat(rules());

-/***/ }),
+    if (!close()) {
+      return error("@supports missing '}'");
+    }

-/***/ "Mmq9":
-/***/ (function(module, exports) {
+    return pos({
+      type: 'supports',
+      supports,
+      rules: style
+    });
+  }
+  /**
+   * Parse host.
+   */

-(function() { module.exports = window["wp"]["url"]; }());

-/***/ }),
+  function athost() {
+    const pos = position();
+    const m = match(/^@host\s*/);

-/***/ "Mp0b":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (!m) {
+      return;
+    }

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+    if (!open()) {
+      return error("@host missing '{'");
+    }

+    const style = comments().concat(rules());

-/**
- * WordPress dependencies
- */
+    if (!close()) {
+      return error("@host missing '}'");
+    }

-const linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (linkOff);
+    return pos({
+      type: 'host',
+      rules: style
+    });
+  }
+  /**
+   * Parse media.
+   */


-/***/ }),
+  function atmedia() {
+    const pos = position();
+    const m = match(/^@media *([^{]+)/);

-/***/ "NMUH":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (!m) {
+      return;
+    }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getFontSize; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return getFontSizeObjectByValue; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getFontSizeClass; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * External dependencies
- */
+    const media = trim(m[1]);

-/**
- *  Returns the font size object based on an array of named font sizes and the namedFontSize and customFontSize values.
- * 	If namedFontSize is undefined or not found in fontSizes an object with just the size value based on customFontSize is returned.
- *
- * @param {Array}   fontSizes               Array of font size objects containing at least the "name" and "size" values as properties.
- * @param {?string} fontSizeAttribute       Content of the font size attribute (slug).
- * @param {?number} customFontSizeAttribute Contents of the custom font size attribute (value).
- *
- * @return {?Object} If fontSizeAttribute is set and an equal slug is found in fontSizes it returns the font size object for that slug.
- * 					 Otherwise, an object with just the size value based on customFontSize is returned.
- */
+    if (!open()) {
+      return error("@media missing '{'");
+    }

-const getFontSize = (fontSizes, fontSizeAttribute, customFontSizeAttribute) => {
-  if (fontSizeAttribute) {
-    const fontSizeObject = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["find"])(fontSizes, {
-      slug: fontSizeAttribute
-    });
+    const style = comments().concat(rules());

-    if (fontSizeObject) {
-      return fontSizeObject;
+    if (!close()) {
+      return error("@media missing '}'");
     }
+
+    return pos({
+      type: 'media',
+      media,
+      rules: style
+    });
   }
+  /**
+   * Parse custom-media.
+   */

-  return {
-    size: customFontSizeAttribute
-  };
-};
-/**
- * Returns the corresponding font size object for a given value.
- *
- * @param {Array}  fontSizes Array of font size objects.
- * @param {number} value     Font size value.
- *
- * @return {Object} Font size object.
- */

-function getFontSizeObjectByValue(fontSizes, value) {
-  const fontSizeObject = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["find"])(fontSizes, {
-    size: value
-  });
+  function atcustommedia() {
+    const pos = position();
+    const m = match(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);

-  if (fontSizeObject) {
-    return fontSizeObject;
+    if (!m) {
+      return;
+    }
+
+    return pos({
+      type: 'custom-media',
+      name: trim(m[1]),
+      media: trim(m[2])
+    });
   }
+  /**
+   * Parse paged media.
+   */

-  return {
-    size: value
-  };
-}
-/**
- * Returns a class based on fontSizeName.
- *
- * @param {string} fontSizeSlug Slug of the fontSize.
- *
- * @return {string} String with the class corresponding to the fontSize passed.
- *                  The class is generated by appending 'has-' followed by fontSizeSlug in kebabCase and ending with '-font-size'.
- */

-function getFontSizeClass(fontSizeSlug) {
-  if (!fontSizeSlug) {
-    return;
-  }
+  function atpage() {
+    const pos = position();
+    const m = match(/^@page */);

-  return `has-${Object(lodash__WEBPACK_IMPORTED_MODULE_0__["kebabCase"])(fontSizeSlug)}-font-size`;
-}
+    if (!m) {
+      return;
+    }

+    const sel = selector() || [];

-/***/ }),
+    if (!open()) {
+      return error("@page missing '{'");
+    }

-/***/ "NMb1":
-/***/ (function(module, exports) {
+    let decls = comments(); // declarations

-(function() { module.exports = window["wp"]["deprecated"]; }());
+    let decl; // eslint-disable-next-line no-cond-assign

-/***/ }),
+    while (decl = declaration()) {
+      decls.push(decl);
+      decls = decls.concat(comments());
+    }

-/***/ "NTP4":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (!close()) {
+      return error("@page missing '}'");
+    }

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+    return pos({
+      type: 'page',
+      selectors: sel,
+      declarations: decls
+    });
+  }
+  /**
+   * Parse document.
+   */


-/**
- * WordPress dependencies
- */
+  function atdocument() {
+    const pos = position();
+    const m = match(/^@([-\w]+)?document *([^{]+)/);

-const upload = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (upload);
+    if (!m) {
+      return;
+    }

+    const vendor = trim(m[1]);
+    const doc = trim(m[2]);

-/***/ }),
+    if (!open()) {
+      return error("@document missing '{'");
+    }

-/***/ "NWDH":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    const style = comments().concat(rules());

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+    if (!close()) {
+      return error("@document missing '}'");
+    }

+    return pos({
+      type: 'document',
+      document: doc,
+      vendor,
+      rules: style
+    });
+  }
+  /**
+   * Parse font-face.
+   */

-/**
- * WordPress dependencies
- */

-const chevronDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronDown);
+  function atfontface() {
+    const pos = position();
+    const m = match(/^@font-face\s*/);

+    if (!m) {
+      return;
+    }

-/***/ }),
+    if (!open()) {
+      return error("@font-face missing '{'");
+    }

-/***/ "NtoT":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    let decls = comments(); // declarations

-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InspectorControlsFill; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _use_display_block_controls__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("HgtZ");
-/* harmony import */ var _groups__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("VrEk");
+    let decl; // eslint-disable-next-line no-cond-assign

+    while (decl = declaration()) {
+      decls.push(decl);
+      decls = decls.concat(comments());
+    }

-/**
- * External dependencies
- */
+    if (!close()) {
+      return error("@font-face missing '}'");
+    }
+
+    return pos({
+      type: 'font-face',
+      declarations: decls
+    });
+  }
+  /**
+   * Parse import
+   */

-/**
- * WordPress dependencies
- */

+  const atimport = _compileAtrule('import');
+  /**
+   * Parse charset
+   */


-/**
- * Internal dependencies
- */
+  const atcharset = _compileAtrule('charset');
+  /**
+   * Parse namespace
+   */


+  const atnamespace = _compileAtrule('namespace');
+  /**
+   * Parse non-block at-rules
+   */

-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;
+  function _compileAtrule(name) {
+    const re = new RegExp('^@' + name + '\\s*([^;]+);');
+    return function () {
+      const pos = position();
+      const m = match(re);

-  if (!Fill) {
-    typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_3___default()(`Unknown InspectorControl group "${group}" provided.`) : void 0;
-    return null;
-  }
+      if (!m) {
+        return;
+      }

-  if (!isDisplayed) {
-    return null;
+      const ret = {
+        type: name
+      };
+      ret[name] = m[1].trim();
+      return pos(ret);
+    };
   }
+  /**
+   * Parse at rule.
+   */

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["__experimentalStyleProvider"], {
-    document: document
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(Fill, null, fillProps => {
-    // Children passed to InspectorControlsFill will not have
-    // access to any React Context whose Provider is part of
-    // the InspectorControlsSlot tree. So we re-create the
-    // Provider in this subtree.
-    const value = !Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(fillProps) ? fillProps : null;
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["__experimentalToolsPanelContext"].Provider, {
-      value: value
-    }, children);
-  }));
-}
-
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
-
-/***/ }),
-
-/***/ "O6Fj":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+  function atrule() {
+    if (css[0] !== '@') {
+      return;
+    }

-exports.__esModule = true;
-var TextareaAutosize_1 = __webpack_require__("CNgt");
-exports["default"] = TextareaAutosize_1.TextareaAutosize;
+    return atkeyframes() || atmedia() || atcustommedia() || atsupports() || atimport() || atcharset() || atnamespace() || atdocument() || atpage() || athost() || atfontface();
+  }
+  /**
+   * Parse rule.
+   */


-/***/ }),
+  function rule() {
+    const pos = position();
+    const sel = selector();

-/***/ "OL6h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (!sel) {
+      return error('selector missing');
+    }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isInSameBlock; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isInsideRootBlock; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getBlockClientId; });
-const BLOCK_SELECTOR = '.block-editor-block-list__block';
-const APPENDER_SELECTOR = '.block-list-appender';
-/**
- * Returns true if two elements are contained within the same block.
- *
- * @param {Element} a First element.
- * @param {Element} b Second element.
- *
- * @return {boolean} Whether elements are in the same block.
- */
+    comments();
+    return pos({
+      type: 'rule',
+      selectors: sel,
+      declarations: declarations()
+    });
+  }

-function isInSameBlock(a, b) {
-  return a.closest(BLOCK_SELECTOR) === b.closest(BLOCK_SELECTOR);
+  return addParent(stylesheet());
 }
 /**
- * Returns true if an element is considered part of the block and not its inner
- * blocks or appender.
- *
- * @param {Element} blockElement Block container element.
- * @param {Element} element      Element.
- *
- * @return {boolean} Whether an element is considered part of the block and not
- *                   its inner blocks or appender.
+ * Trim `str`.
  */

-function isInsideRootBlock(blockElement, element) {
-  const parentBlock = element.closest([BLOCK_SELECTOR, APPENDER_SELECTOR].join(','));
-  return parentBlock === blockElement;
+function trim(str) {
+  return str ? str.replace(/^\s+|\s+$/g, '') : '';
 }
 /**
- * Finds the block client ID given any DOM node inside the block.
- *
- * @param {Node?} node DOM node.
- *
- * @return {string|undefined} Client ID or undefined if the node is not part of
- *                            a block.
+ * Adds non-enumerable parent node reference to each node.
  */

-function getBlockClientId(node) {
-  while (node && node.nodeType !== node.ELEMENT_NODE) {
-    node = node.parentNode;
-  }

-  if (!node) {
-    return;
-  }
+function addParent(obj, parent) {
+  const isNode = obj && typeof obj.type === 'string';
+  const childParent = isNode ? obj : parent;

-  const elementNode =
-  /** @type {Element} */
-  node;
-  const blockNode = elementNode.closest(BLOCK_SELECTOR);
+  for (const k in obj) {
+    const value = obj[k];

-  if (!blockNode) {
-    return;
+    if (Array.isArray(value)) {
+      value.forEach(function (v) {
+        addParent(v, childParent);
+      });
+    } else if (value && typeof value === 'object') {
+      addParent(value, childParent);
+    }
   }

-  return blockNode.id.slice('block-'.length);
-}
+  if (isNode) {
+    Object.defineProperty(obj, 'parent', {
+      configurable: true,
+      writable: true,
+      enumerable: false,
+      value: parent || null
+    });
+  }

+  return obj;
+}
+/* eslint-enable @wordpress/no-unused-vars-before-return */

-/***/ }),
+// EXTERNAL MODULE: ./node_modules/inherits/inherits_browser.js
+var inherits_browser = __webpack_require__(8575);
+var inherits_browser_default = /*#__PURE__*/__webpack_require__.n(inherits_browser);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/compiler.js
+// Adapted from https://github.com/reworkcss/css
+// because we needed to remove source map support.

-/***/ "OzlF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Expose `Compiler`.
+ */
+/* harmony default export */ var compiler = (Compiler);
+/**
+ * Initialize a compiler.
+ */

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+function Compiler(opts) {
+  this.options = opts || {};
+}
+/**
+ * Emit `str`
+ */


+Compiler.prototype.emit = function (str) {
+  return str;
+};
 /**
- * WordPress dependencies
+ * Visit `node`.
  */

-const listView = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (listView);
+
+Compiler.prototype.visit = function (node) {
+  return this[node.type](node);
+};
+/**
+ * Map visit over array of `nodes`, optionally using a `delim`
+ */


-/***/ }),
+Compiler.prototype.mapVisit = function (nodes, delim) {
+  let buf = '';
+  delim = delim || '';

-/***/ "P7XM":
-/***/ (function(module, exports) {
+  for (let i = 0, length = nodes.length; i < length; i++) {
+    buf += this.visit(nodes[i]);

-if (typeof Object.create === 'function') {
-  // implementation from standard node.js 'util' module
-  module.exports = function inherits(ctor, superCtor) {
-    if (superCtor) {
-      ctor.super_ = superCtor
-      ctor.prototype = Object.create(superCtor.prototype, {
-        constructor: {
-          value: ctor,
-          enumerable: false,
-          writable: true,
-          configurable: true
-        }
-      })
-    }
-  };
-} else {
-  // old school shim for old browsers
-  module.exports = function inherits(ctor, superCtor) {
-    if (superCtor) {
-      ctor.super_ = superCtor
-      var TempCtor = function () {}
-      TempCtor.prototype = superCtor.prototype
-      ctor.prototype = new TempCtor()
-      ctor.prototype.constructor = ctor
+    if (delim && i < length - 1) {
+      buf += this.emit(delim);
     }
   }
-}

+  return buf;
+};

-/***/ }),
-
-/***/ "PKbb":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/compress.js
+// Adapted from https://github.com/reworkcss/css
+// because we needed to remove source map support.

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return useBlockRefProvider; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return useBlockRef; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useBlockElement; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _provider_block_refs_provider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("cDhi");
 /**
- * WordPress dependencies
+ * External dependencies
  */

-
 /**
  * Internal dependencies
  */


-/** @typedef {import('@wordpress/element').RefCallback} RefCallback */
-
-/** @typedef {import('@wordpress/element').RefObject} RefObject */
-
 /**
- * Provides a ref to the BlockRefs context.
- *
- * @param {string} clientId The client ID of the element ref.
- *
- * @return {RefCallback} Ref callback.
+ * Expose compiler.
  */

-function useBlockRefProvider(clientId) {
-  const {
-    refs,
-    callbacks
-  } = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_provider_block_refs_provider__WEBPACK_IMPORTED_MODULE_2__[/* BlockRefs */ "a"]);
-  const ref = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useRef"])();
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"])(() => {
-    refs.set(ref, clientId);
-    return () => {
-      refs.delete(ref);
-    };
-  }, [clientId]);
-  return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["useRefEffect"])(element => {
-    // Update the ref in the provider.
-    ref.current = element; // Call any update functions.
-
-    callbacks.forEach((id, setElement) => {
-      if (clientId === id) {
-        setElement(element);
-      }
-    });
-  }, [clientId]);
-}
+/* harmony default export */ var compress = (compress_Compiler);
 /**
- * Gets a ref pointing to the current block element. Continues to return a
- * stable ref even if the block client ID changes.
- *
- * @param {string} clientId The client ID to get a ref for.
- *
- * @return {RefObject} A ref containing the element.
+ * Initialize a new `Compiler`.
  */

-function useBlockRef(clientId) {
-  const {
-    refs
-  } = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_provider_block_refs_provider__WEBPACK_IMPORTED_MODULE_2__[/* BlockRefs */ "a"]);
-  const freshClientId = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useRef"])();
-  freshClientId.current = clientId; // Always return an object, even if no ref exists for a given client ID, so
-  // that `current` works at a later point.
-
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => ({
-    get current() {
-      let element = null; // Multiple refs may be created for a single block. Find the
-      // first that has an element set.
-
-      for (const [ref, id] of refs.entries()) {
-        if (id === freshClientId.current && ref.current) {
-          element = ref.current;
-        }
-      }
-
-      return element;
-    }
-
-  }), []);
+function compress_Compiler(options) {
+  compiler.call(this, options);
 }
 /**
- * Return the element for a given client ID. Updates whenever the element
- * changes, becomes available, or disappears.
- *
- * @param {string} clientId The client ID to an element for.
- *
- * @return {Element|null} The block's wrapper element.
+ * Inherit from `Base.prototype`.
  */


-function useBlockElement(clientId) {
-  const {
-    callbacks
-  } = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_provider_block_refs_provider__WEBPACK_IMPORTED_MODULE_2__[/* BlockRefs */ "a"]);
-  const ref = useBlockRef(clientId);
-  const [element, setElement] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useState"])(null);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"])(() => {
-    if (!clientId) {
-      return;
-    }
-
-    callbacks.set(setElement, clientId);
-    return () => {
-      callbacks.delete(setElement);
-    };
-  }, [clientId]);
-  return ref.current || element;
-}
-
-
-
-
-
-/***/ }),
-
-/***/ "PPMp":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ getLayoutType; });
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ getLayoutTypes; });
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-left.js
-var justify_left = __webpack_require__("kWXm");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-center.js
-var justify_center = __webpack_require__("DmX/");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-right.js
-var justify_right = __webpack_require__("suLj");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/justify-space-between.js
-var justify_space_between = __webpack_require__("bTSr");
-
-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+inherits_browser_default()(compress_Compiler, compiler);
+/**
+ * Compile `node`.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-right.js
+compress_Compiler.prototype.compile = function (node) {
+  return node.stylesheet.rules.map(this.visit, this).join('');
+};
+/**
+ * Visit comment node.
+ */


+compress_Compiler.prototype.comment = function (node) {
+  return this.emit('', node.position);
+};
 /**
- * WordPress dependencies
+ * Visit import node.
  */

-const arrowRight = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var arrow_right = (arrowRight);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-down.js
+compress_Compiler.prototype.import = function (node) {
+  return this.emit('@import ' + node.import + ';', node.position);
+};
+/**
+ * Visit media node.
+ */


+compress_Compiler.prototype.media = function (node) {
+  return this.emit('@media ' + node.media, node.position) + this.emit('{') + this.mapVisit(node.rules) + this.emit('}');
+};
 /**
- * WordPress dependencies
+ * Visit document node.
  */

-const arrowDown = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var arrow_down = (arrowDown);
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/utils.js
+compress_Compiler.prototype.document = function (node) {
+  const doc = '@' + (node.vendor || '') + 'document ' + node.document;
+  return this.emit(doc, node.position) + this.emit('{') + this.mapVisit(node.rules) + this.emit('}');
+};
 /**
- * Utility to generate the proper CSS selector for layout styles.
- *
- * @param {string|string[]} selectors - CSS selectors
- * @param {boolean}         append    - string to append.
- *
- * @return {string} - CSS selector.
+ * Visit charset node.
  */
-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
-  // so we need this to be higher speficity otherwise, it won't be applied to paragraphs inside containers
-  // When the post editor is fully iframed, this extra classname could be removed.
-  return selectors.split(',').map(subselector => `.editor-styles-wrapper ${subselector} ${append}`).join(',');
-}

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-setting/index.js
-var use_setting = __webpack_require__("v5LD");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js + 4 modules
-var block_controls = __webpack_require__("fOYa");
+compress_Compiler.prototype.charset = function (node) {
+  return this.emit('@charset ' + node.charset + ';', node.position);
+};
+/**
+ * Visit namespace node.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/justify-content-control/index.js + 1 modules
-var justify_content_control = __webpack_require__("0E5u");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/flex.js
+compress_Compiler.prototype.namespace = function (node) {
+  return this.emit('@namespace ' + node.namespace + ';', node.position);
+};
+/**
+ * Visit supports node.
+ */


+compress_Compiler.prototype.supports = function (node) {
+  return this.emit('@supports ' + node.supports, node.position) + this.emit('{') + this.mapVisit(node.rules) + this.emit('}');
+};
 /**
- * WordPress dependencies
+ * Visit keyframes node.
  */


-
+compress_Compiler.prototype.keyframes = function (node) {
+  return this.emit('@' + (node.vendor || '') + 'keyframes ' + node.name, node.position) + this.emit('{') + this.mapVisit(node.keyframes) + this.emit('}');
+};
 /**
- * Internal dependencies
+ * Visit keyframe node.
  */


+compress_Compiler.prototype.keyframe = function (node) {
+  const decls = node.declarations;
+  return this.emit(node.values.join(','), node.position) + this.emit('{') + this.mapVisit(decls) + this.emit('}');
+};
+/**
+ * Visit page node.
+ */

- // Used with the default, horizontal flex orientation.
-
-const justifyContentMap = {
-  left: 'flex-start',
-  right: 'flex-end',
-  center: 'center',
-  'space-between': 'space-between'
-}; // Used with the vertical (column) flex orientation.

-const alignItemsMap = {
-  left: 'flex-start',
-  right: 'flex-end',
-  center: 'center'
+compress_Compiler.prototype.page = function (node) {
+  const sel = node.selectors.length ? node.selectors.join(', ') : '';
+  return this.emit('@page ' + sel, node.position) + this.emit('{') + this.mapVisit(node.declarations) + this.emit('}');
 };
-const flexWrapOptions = ['wrap', 'nowrap'];
-/* harmony default export */ var flex = ({
-  name: 'flex',
-  label: Object(external_wp_i18n_["__"])('Flex'),
-  inspectorControls: function FlexLayoutInspectorControls(_ref) {
-    let {
-      layout = {},
-      onChange
-    } = _ref;
-    const {
-      allowOrientation = true
-    } = layout;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], null, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(FlexLayoutJustifyContentControl, {
-      layout: layout,
-      onChange: onChange
-    })), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, allowOrientation && Object(external_wp_element_["createElement"])(OrientationControl, {
-      layout: layout,
-      onChange: onChange
-    }))), Object(external_wp_element_["createElement"])(FlexWrapControl, {
-      layout: layout,
-      onChange: onChange
-    }));
-  },
-  toolBarControls: function FlexLayoutToolbarControls(_ref2) {
-    let {
-      layout = {},
-      onChange,
-      layoutBlockSupport
-    } = _ref2;
-
-    if (layoutBlockSupport !== null && layoutBlockSupport !== void 0 && layoutBlockSupport.allowSwitching) {
-      return null;
-    }
+/**
+ * Visit font-face node.
+ */

-    return Object(external_wp_element_["createElement"])(block_controls["b" /* default */], {
-      group: "block",
-      __experimentalShareWithChildBlocks: true
-    }, Object(external_wp_element_["createElement"])(FlexLayoutJustifyContentControl, {
-      layout: layout,
-      onChange: onChange,
-      isToolbar: true
-    }));
-  },
-  save: function FlexLayoutStyle(_ref3) {
-    var _style$spacing$blockG, _style$spacing;

-    let {
-      selector,
-      layout,
-      style
-    } = _ref3;
-    const {
-      orientation = 'horizontal'
-    } = layout;
-    const blockGapSupport = Object(use_setting["a" /* default */])('spacing.blockGap');
-    const hasBlockGapStylesSupport = blockGapSupport !== null;
-    const blockGapValue = (_style$spacing$blockG = style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.blockGap) !== null && _style$spacing$blockG !== void 0 ? _style$spacing$blockG : 'var( --wp--style--block-gap, 0.5em )';
-    const justifyContent = justifyContentMap[layout.justifyContent] || justifyContentMap.left;
-    const flexWrap = flexWrapOptions.includes(layout.flexWrap) ? layout.flexWrap : 'wrap';
-    const rowOrientation = `
-		flex-direction: row;
-		align-items: center;
-		justify-content: ${justifyContent};
-		`;
-    const alignItems = alignItemsMap[layout.justifyContent] || alignItemsMap.left;
-    const columnOrientation = `
-		flex-direction: column;
-		align-items: ${alignItems};
-		`;
-    return Object(external_wp_element_["createElement"])("style", null, `
-				${appendSelectors(selector)} {
-					display: flex;
-					gap: ${hasBlockGapStylesSupport ? blockGapValue : '0.5em'};
-					flex-wrap: ${flexWrap};
-					${orientation === 'horizontal' ? rowOrientation : columnOrientation}
-				}
+compress_Compiler.prototype['font-face'] = function (node) {
+  return this.emit('@font-face', node.position) + this.emit('{') + this.mapVisit(node.declarations) + this.emit('}');
+};
+/**
+ * Visit host node.
+ */

-				${appendSelectors(selector, '> *')} {
-					margin: 0;
-				}
-			`);
-  },

-  getOrientation(layout) {
-    const {
-      orientation = 'horizontal'
-    } = layout;
-    return orientation;
-  },
+compress_Compiler.prototype.host = function (node) {
+  return this.emit('@host', node.position) + this.emit('{') + this.mapVisit(node.rules) + this.emit('}');
+};
+/**
+ * Visit custom-media node.
+ */

-  getAlignments() {
-    return [];
+
+compress_Compiler.prototype['custom-media'] = function (node) {
+  return this.emit('@custom-media ' + node.name + ' ' + node.media + ';', node.position);
+};
+/**
+ * Visit rule node.
+ */
+
+
+compress_Compiler.prototype.rule = function (node) {
+  const decls = node.declarations;
+
+  if (!decls.length) {
+    return '';
   }

-});
+  return this.emit(node.selectors.join(','), node.position) + this.emit('{') + this.mapVisit(decls) + this.emit('}');
+};
+/**
+ * Visit declaration node.
+ */

-function FlexLayoutJustifyContentControl(_ref4) {
-  let {
-    layout,
-    onChange,
-    isToolbar = false
-  } = _ref4;
-  const {
-    justifyContent = 'left',
-    orientation = 'horizontal'
-  } = layout;

-  const onJustificationChange = value => {
-    onChange({ ...layout,
-      justifyContent: value
-    });
-  };
+compress_Compiler.prototype.declaration = function (node) {
+  return this.emit(node.property + ':' + node.value, node.position) + this.emit(';');
+};

-  const allowedControls = ['left', 'center', 'right'];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/identity.js
+/* eslint-disable @wordpress/no-unused-vars-before-return */
+// Adapted from https://github.com/reworkcss/css
+// because we needed to remove source map support.

-  if (orientation === 'horizontal') {
-    allowedControls.push('space-between');
-  }
+/**
+ * External dependencies
+ */

-  if (isToolbar) {
-    return Object(external_wp_element_["createElement"])(justify_content_control["a" /* JustifyContentControl */], {
-      allowedControls: allowedControls,
-      value: justifyContent,
-      onChange: onJustificationChange,
-      popoverProps: {
-        position: 'bottom right',
-        isAlternate: true
-      }
-    });
-  }
+/**
+ * Internal dependencies
+ */

-  const justificationOptions = [{
-    value: 'left',
-    icon: justify_left["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Justify items left')
-  }, {
-    value: 'center',
-    icon: justify_center["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Justify items center')
-  }, {
-    value: 'right',
-    icon: justify_right["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Justify items right')
-  }];

-  if (orientation === 'horizontal') {
-    justificationOptions.push({
-      value: 'space-between',
-      icon: justify_space_between["a" /* default */],
-      label: Object(external_wp_i18n_["__"])('Space between items')
-    });
-  }
+/**
+ * Expose compiler.
+ */

-  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(_ref5 => {
-    let {
-      value,
-      icon,
-      label
-    } = _ref5;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      key: value,
-      label: label,
-      icon: icon,
-      isPressed: justifyContent === value,
-      onClick: () => onJustificationChange(value)
-    });
-  })));
-}
+/* harmony default export */ var identity = (identity_Compiler);
+/**
+ * Initialize a new `Compiler`.
+ */

-function FlexWrapControl(_ref6) {
-  let {
-    layout,
-    onChange
-  } = _ref6;
-  const {
-    flexWrap = 'wrap'
-  } = layout;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Allow to wrap to multiple lines'),
-    onChange: value => {
-      onChange({ ...layout,
-        flexWrap: value ? 'wrap' : 'nowrap'
-      });
-    },
-    checked: flexWrap === 'wrap'
-  });
+function identity_Compiler(options) {
+  options = options || {};
+  compiler.call(this, options);
+  this.indentation = options.indent;
 }
+/**
+ * Inherit from `Base.prototype`.
+ */

-function OrientationControl(_ref7) {
-  let {
-    layout,
-    onChange
-  } = _ref7;
-  const {
-    orientation = 'horizontal'
-  } = layout;
-  return Object(external_wp_element_["createElement"])("fieldset", {
-    className: "block-editor-hooks__flex-layout-orientation-controls"
-  }, Object(external_wp_element_["createElement"])("legend", null, Object(external_wp_i18n_["__"])('Orientation')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    label: 'horizontal',
-    icon: arrow_right,
-    isPressed: orientation === 'horizontal',
-    onClick: () => onChange({ ...layout,
-      orientation: 'horizontal'
-    })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    label: 'vertical',
-    icon: arrow_down,
-    isPressed: orientation === 'vertical',
-    onClick: () => onChange({ ...layout,
-      orientation: 'vertical'
-    })
-  }));
-}

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
-var build_module_icon = __webpack_require__("iClF");
+inherits_browser_default()(identity_Compiler, compiler);
+/**
+ * Compile `node`.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/position-center.js
-var position_center = __webpack_require__("EpZT");
+identity_Compiler.prototype.compile = function (node) {
+  return this.stylesheet(node);
+};
+/**
+ * Visit stylesheet node.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/stretch-wide.js
-var stretch_wide = __webpack_require__("beZb");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/flow.js
+identity_Compiler.prototype.stylesheet = function (node) {
+  return this.mapVisit(node.stylesheet.rules, '\n\n');
+};
+/**
+ * Visit comment node.
+ */


+identity_Compiler.prototype.comment = function (node) {
+  return this.emit(this.indent() + '/*' + node.comment + '*/', node.position);
+};
 /**
- * WordPress dependencies
+ * Visit import node.
  */


+identity_Compiler.prototype.import = function (node) {
+  return this.emit('@import ' + node.import + ';', node.position);
+};
+/**
+ * Visit media node.
+ */
+

+identity_Compiler.prototype.media = function (node) {
+  return this.emit('@media ' + node.media, node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(node.rules, '\n\n') + this.emit(this.indent(-1) + '\n}');
+};
 /**
- * Internal dependencies
+ * Visit document node.
  */


+identity_Compiler.prototype.document = function (node) {
+  const doc = '@' + (node.vendor || '') + 'document ' + node.document;
+  return this.emit(doc, node.position) + this.emit(' ' + ' {\n' + this.indent(1)) + this.mapVisit(node.rules, '\n\n') + this.emit(this.indent(-1) + '\n}');
+};
+/**
+ * Visit charset node.
+ */

-/* harmony default export */ var flow = ({
-  name: 'default',
-  label: Object(external_wp_i18n_["__"])('Flow'),
-  inspectorControls: function DefaultLayoutInspectorControls(_ref) {
-    let {
-      layout,
-      onChange
-    } = _ref;
-    const {
-      wideSize,
-      contentSize
-    } = layout;
-    const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-      availableUnits: Object(use_setting["a" /* default */])('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
-    });
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-hooks__layout-controls"
-    }, Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-hooks__layout-controls-unit"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
-      label: Object(external_wp_i18n_["__"])('Content'),
-      labelPosition: "top",
-      __unstableInputWidth: "80px",
-      value: contentSize || wideSize || '',
-      onChange: nextWidth => {
-        nextWidth = 0 > parseFloat(nextWidth) ? '0' : nextWidth;
-        onChange({ ...layout,
-          contentSize: nextWidth
-        });
-      },
-      units: units
-    }), Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: position_center["a" /* default */]
-    })), Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-hooks__layout-controls-unit"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
-      label: Object(external_wp_i18n_["__"])('Wide'),
-      labelPosition: "top",
-      __unstableInputWidth: "80px",
-      value: wideSize || contentSize || '',
-      onChange: nextWidth => {
-        nextWidth = 0 > parseFloat(nextWidth) ? '0' : nextWidth;
-        onChange({ ...layout,
-          wideSize: nextWidth
-        });
-      },
-      units: units
-    }), Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: stretch_wide["a" /* default */]
-    }))), Object(external_wp_element_["createElement"])("div", {
-      className: "block-editor-hooks__layout-controls-reset"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      variant: "secondary",
-      isSmall: true,
-      disabled: !contentSize && !wideSize,
-      onClick: () => onChange({
-        contentSize: undefined,
-        wideSize: undefined,
-        inherit: false
-      })
-    }, Object(external_wp_i18n_["__"])('Reset'))), Object(external_wp_element_["createElement"])("p", {
-      className: "block-editor-hooks__layout-controls-helptext"
-    }, Object(external_wp_i18n_["__"])('Customize the width for all elements that are assigned to the center or wide columns.')));
-  },
-  toolBarControls: function DefaultLayoutToolbarControls() {
-    return null;
-  },
-  save: function DefaultLayoutStyle(_ref2) {
-    var _style$spacing$blockG, _style$spacing;

-    let {
-      selector,
-      layout = {},
-      style
-    } = _ref2;
-    const {
-      contentSize,
-      wideSize
-    } = layout;
-    const blockGapSupport = Object(use_setting["a" /* default */])('spacing.blockGap');
-    const hasBlockGapStylesSupport = blockGapSupport !== null;
-    const blockGapValue = (_style$spacing$blockG = style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.blockGap) !== null && _style$spacing$blockG !== void 0 ? _style$spacing$blockG : 'var( --wp--style--block-gap )';
-    let output = !!contentSize || !!wideSize ? `
-					${appendSelectors(selector, '> *')} {
-						max-width: ${contentSize !== null && contentSize !== void 0 ? contentSize : wideSize};
-						margin-left: auto !important;
-						margin-right: auto !important;
-					}
+identity_Compiler.prototype.charset = function (node) {
+  return this.emit('@charset ' + node.charset + ';', node.position);
+};
+/**
+ * Visit namespace node.
+ */

-					${appendSelectors(selector, '> [data-align="wide"]')}  {
-						max-width: ${wideSize !== null && wideSize !== void 0 ? wideSize : contentSize};
-					}

-					${appendSelectors(selector, '> [data-align="full"]')} {
-						max-width: none;
-					}
-				` : '';
-    output += `
-			${appendSelectors(selector, '> [data-align="left"]')} {
-				float: left;
-				margin-right: 2em;
-			}
+identity_Compiler.prototype.namespace = function (node) {
+  return this.emit('@namespace ' + node.namespace + ';', node.position);
+};
+/**
+ * Visit supports node.
+ */

-			${appendSelectors(selector, '> [data-align="right"]')} {
-				float: right;
-				margin-left: 2em;
-			}

-		`;
+identity_Compiler.prototype.supports = function (node) {
+  return this.emit('@supports ' + node.supports, node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(node.rules, '\n\n') + this.emit(this.indent(-1) + '\n}');
+};
+/**
+ * Visit keyframes node.
+ */

-    if (hasBlockGapStylesSupport) {
-      output += `
-				${appendSelectors(selector, '> *')} {
-					margin-top: 0;
-					margin-bottom: 0;
-				}
-				${appendSelectors(selector, '> * + *')} {
-					margin-top: ${blockGapValue};
-				}
-			`;
-    }

-    return Object(external_wp_element_["createElement"])("style", null, output);
-  },
+identity_Compiler.prototype.keyframes = function (node) {
+  return this.emit('@' + (node.vendor || '') + 'keyframes ' + node.name, node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(node.keyframes, '\n') + this.emit(this.indent(-1) + '}');
+};
+/**
+ * Visit keyframe node.
+ */

-  getOrientation() {
-    return 'vertical';
-  },

-  getAlignments(layout) {
-    const alignmentInfo = getAlignmentsInfo(layout);
+identity_Compiler.prototype.keyframe = function (node) {
+  const decls = node.declarations;
+  return this.emit(this.indent()) + this.emit(node.values.join(', '), node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(decls, '\n') + this.emit(this.indent(-1) + '\n' + this.indent() + '}\n');
+};
+/**
+ * Visit page node.
+ */

-    if (layout.alignments !== undefined) {
-      if (!layout.alignments.includes('none')) {
-        layout.alignments.unshift('none');
-      }

-      return layout.alignments.map(alignment => ({
-        name: alignment,
-        info: alignmentInfo[alignment]
-      }));
-    }
+identity_Compiler.prototype.page = function (node) {
+  const sel = node.selectors.length ? node.selectors.join(', ') + ' ' : '';
+  return this.emit('@page ' + sel, node.position) + this.emit('{\n') + this.emit(this.indent(1)) + this.mapVisit(node.declarations, '\n') + this.emit(this.indent(-1)) + this.emit('\n}');
+};
+/**
+ * Visit font-face node.
+ */

-    const {
-      contentSize,
-      wideSize
-    } = layout;
-    const alignments = [{
-      name: 'left'
-    }, {
-      name: 'center'
-    }, {
-      name: 'right'
-    }];

-    if (contentSize) {
-      alignments.unshift({
-        name: 'full'
-      });
-    }
+identity_Compiler.prototype['font-face'] = function (node) {
+  return this.emit('@font-face ', node.position) + this.emit('{\n') + this.emit(this.indent(1)) + this.mapVisit(node.declarations, '\n') + this.emit(this.indent(-1)) + this.emit('\n}');
+};
+/**
+ * Visit host node.
+ */

-    if (wideSize) {
-      alignments.unshift({
-        name: 'wide',
-        info: alignmentInfo.wide
-      });
-    }

-    alignments.unshift({
-      name: 'none',
-      info: alignmentInfo.none
-    });
-    return alignments;
-  }
+identity_Compiler.prototype.host = function (node) {
+  return this.emit('@host', node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(node.rules, '\n\n') + this.emit(this.indent(-1) + '\n}');
+};
+/**
+ * Visit custom-media node.
+ */

-});
+
+identity_Compiler.prototype['custom-media'] = function (node) {
+  return this.emit('@custom-media ' + node.name + ' ' + node.media + ';', node.position);
+};
 /**
- * Helper method to assign contextual info to clarify
- * alignment settings.
- *
- * Besides checking if `contentSize` and `wideSize` have a
- * value, we now show this information only if their values
- * are not a `css var`. This needs to change when parsing
- * css variables land.
- *
- * @see https://github.com/WordPress/gutenberg/pull/34710#issuecomment-918000752
- *
- * @param {Object} layout The layout object.
- * @return {Object} An object with contextual info per alignment.
+ * Visit rule node.
  */

-function getAlignmentsInfo(layout) {
-  const {
-    contentSize,
-    wideSize
-  } = layout;
-  const alignmentInfo = {};
-  const sizeRegex = /^(?!0)\d+(px|em|rem|vw|vh|%)?$/i;

-  if (sizeRegex.test(contentSize)) {
-    // translators: %s: container size (i.e. 600px etc)
-    alignmentInfo.none = Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Max %s wide'), contentSize);
+identity_Compiler.prototype.rule = function (node) {
+  const indent = this.indent();
+  const decls = node.declarations;
+
+  if (!decls.length) {
+    return '';
   }

-  if (sizeRegex.test(wideSize)) {
-    // translators: %s: container size (i.e. 600px etc)
-    alignmentInfo.wide = Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Max %s wide'), wideSize);
+  return this.emit(node.selectors.map(function (s) {
+    return indent + s;
+  }).join(',\n'), node.position) + this.emit(' {\n') + this.emit(this.indent(1)) + this.mapVisit(decls, '\n') + this.emit(this.indent(-1)) + this.emit('\n' + this.indent() + '}');
+};
+/**
+ * Visit declaration node.
+ */
+
+
+identity_Compiler.prototype.declaration = function (node) {
+  return this.emit(this.indent()) + this.emit(node.property + ': ' + node.value, node.position) + this.emit(';');
+};
+/**
+ * Increase, decrease or return current indentation.
+ */
+
+
+identity_Compiler.prototype.indent = function (level) {
+  this.level = this.level || 1;
+
+  if (null !== level) {
+    this.level += level;
+    return '';
   }

-  return alignmentInfo;
+  return Array(this.level).join(this.indentation || '  ');
+};
+/* eslint-enable @wordpress/no-unused-vars-before-return */
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/index.js
+// Adapted from https://github.com/reworkcss/css
+// because we needed to remove source map support.
+
+/**
+ * Internal dependencies
+ */
+
+
+/**
+ * Stringfy the given AST `node`.
+ *
+ * Options:
+ *
+ *  - `compress` space-optimized output
+ *  - `sourcemap` return an object with `.code` and `.map`
+ *
+ * @param {Object} node
+ * @param {Object} [options]
+ * @return {string}
+ */
+
+/* harmony default export */ function stringify(node, options) {
+  options = options || {};
+  const compiler = options.compress ? new compress(options) : new identity(options);
+  const code = compiler.compile(node);
+  return code;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/traverse.js
+/**
+ * External dependencies
+ */
+
 /**
  * Internal dependencies
  */


-const layoutTypes = [flow, flex];
+
+function traverseCSS(css, callback) {
+  try {
+    const parsed = parse(css);
+    const updated = traverse_default().map(parsed, function (node) {
+      if (!node) {
+        return node;
+      }
+
+      const updatedNode = callback(node);
+      return this.update(updatedNode);
+    });
+    return stringify(updated);
+  } catch (err) {
+    // eslint-disable-next-line no-console
+    console.warn('Error while traversing the CSS: ' + err);
+    return null;
+  }
+}
+
+/* harmony default export */ var transform_styles_traverse = (traverseCSS);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/transforms/url-rewrite.js
 /**
- * Retrieves a layout type by name.
+ * Return `true` if the given path is http/https.
+ *
+ * @param {string} filePath path
+ *
+ * @return {boolean} is remote path.
+ */
+function isRemotePath(filePath) {
+  return /^(?:https?:)?\/\//.test(filePath);
+}
+/**
+ * Return `true` if the given filePath is an absolute url.
+ *
+ * @param {string} filePath path
  *
- * @param {string} name - The name of the layout type.
- * @return {Object} Layout type.
+ * @return {boolean} is absolute path.
  */

-function getLayoutType() {
-  let name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'default';
-  return layoutTypes.find(layoutType => layoutType.name === name);
+
+function isAbsolutePath(filePath) {
+  return /^\/(?!\/)/.test(filePath);
 }
 /**
- * Retrieves the available layout types.
+ * Whether or not the url should be inluded.
  *
- * @return {Array} Layout types.
+ * @param {Object} meta url meta info
+ *
+ * @return {boolean} is valid.
  */

-function getLayoutTypes() {
-  return layoutTypes;
-}
-

-/***/ }),
+function isValidURL(meta) {
+  // ignore hashes or data uris
+  if (meta.value.indexOf('data:') === 0 || meta.value.indexOf('#') === 0) {
+    return false;
+  }

-/***/ "PS/H":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (isAbsolutePath(meta.value)) {
+    return false;
+  } // do not handle the http/https urls if `includeRemote` is false

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InsertionPointOpenRef; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return InsertionPoint; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _inserter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("qrxh");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("BhPs");
-/* harmony import */ var _block_list_use_block_props_use_block_refs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("PKbb");
-/* harmony import */ var _use_popover_scroll__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("2z9l");

+  if (isRemotePath(meta.value)) {
+    return false;
+  }

+  return true;
+}
 /**
- * External dependencies
+ * Get the absolute path of the url, relative to the basePath
+ *
+ * @param {string} str     the url
+ * @param {string} baseURL base URL
+ *
+ * @return {string} the full path to the file
  */

+
+function getResourcePath(str, baseURL) {
+  return new URL(str, baseURL).toString();
+}
 /**
- * WordPress dependencies
+ * Process the single `url()` pattern
+ *
+ * @param {string} baseURL the base URL for relative URLs.
+ *
+ * @return {Promise} the Promise.
  */


-
-
-
-
+function processURL(baseURL) {
+  return meta => ({ ...meta,
+    newUrl: 'url(' + meta.before + meta.quote + getResourcePath(meta.value, baseURL) + meta.quote + meta.after + ')'
+  });
+}
 /**
- * Internal dependencies
+ * Get all `url()`s, and return the meta info
+ *
+ * @param {string} value decl.value.
+ *
+ * @return {Array} the urls.
  */


+function getURLs(value) {
+  const reg = /url\((\s*)(['"]?)(.+?)\2(\s*)\)/g;
+  let match;
+  const URLs = [];

+  while ((match = reg.exec(value)) !== null) {
+    const meta = {
+      source: match[0],
+      before: match[1],
+      quote: match[2],
+      value: match[3],
+      after: match[4]
+    };

-
-const InsertionPointOpenRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])();
-
-function InsertionPointPopover(_ref) {
-  let {
-    __unstablePopoverSlot,
-    __unstableContentRef
-  } = _ref;
-  const {
-    selectBlock
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_7__[/* store */ "a"]);
-  const openRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(InsertionPointOpenRef);
-  const ref = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useRef"])();
-  const {
-    orientation,
-    previousClientId,
-    nextClientId,
-    rootClientId,
-    isInserterShown
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useSelect"])(select => {
-    var _getBlockListSettings;
-
-    const {
-      getBlockOrder,
-      getBlockListSettings,
-      getBlockInsertionPoint,
-      isBlockBeingDragged,
-      getPreviousBlockClientId,
-      getNextBlockClientId
-    } = select(_store__WEBPACK_IMPORTED_MODULE_7__[/* store */ "a"]);
-    const insertionPoint = getBlockInsertionPoint();
-    const order = getBlockOrder(insertionPoint.rootClientId);
-
-    if (!order.length) {
-      return {};
+    if (isValidURL(meta)) {
+      URLs.push(meta);
     }
+  }

-    let _previousClientId = order[insertionPoint.index - 1];
-    let _nextClientId = order[insertionPoint.index];
+  return URLs;
+}
+/**
+ * Replace the raw value's `url()` segment to the new value
+ *
+ * @param {string} raw  the raw value.
+ * @param {Array}  URLs the URLs to replace.
+ *
+ * @return {string} the new value.
+ */

-    while (isBlockBeingDragged(_previousClientId)) {
-      _previousClientId = getPreviousBlockClientId(_previousClientId);
-    }

-    while (isBlockBeingDragged(_nextClientId)) {
-      _nextClientId = getNextBlockClientId(_nextClientId);
-    }
+function replaceURLs(raw, URLs) {
+  URLs.forEach(item => {
+    raw = raw.replace(item.source, item.newUrl);
+  });
+  return raw;
+}

-    return {
-      previousClientId: _previousClientId,
-      nextClientId: _nextClientId,
-      orientation: ((_getBlockListSettings = getBlockListSettings(insertionPoint.rootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation) || 'vertical',
-      rootClientId: insertionPoint.rootClientId,
-      isInserterShown: insertionPoint === null || insertionPoint === void 0 ? void 0 : insertionPoint.__unstableWithInserter
+const rewrite = rootURL => node => {
+  if (node.type === 'declaration') {
+    const updatedURLs = getURLs(node.value).map(processURL(rootURL));
+    return { ...node,
+      value: replaceURLs(node.value, updatedURLs)
     };
-  }, []);
-  const previousElement = Object(_block_list_use_block_props_use_block_refs__WEBPACK_IMPORTED_MODULE_8__[/* __unstableUseBlockElement */ "a"])(previousClientId);
-  const nextElement = Object(_block_list_use_block_props_use_block_refs__WEBPACK_IMPORTED_MODULE_8__[/* __unstableUseBlockElement */ "a"])(nextClientId);
-  const isVertical = orientation === 'vertical';
-  const style = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => {
-    if (!previousElement && !nextElement) {
-      return {};
-    }
-
-    const previousRect = previousElement ? previousElement.getBoundingClientRect() : null;
-    const nextRect = nextElement ? nextElement.getBoundingClientRect() : null;
-
-    if (isVertical) {
-      return {
-        width: previousElement ? previousElement.offsetWidth : nextElement.offsetWidth,
-        height: nextRect && previousRect ? nextRect.top - previousRect.bottom : 0
-      };
-    }
-
-    let width = 0;
+  }

-    if (previousRect && nextRect) {
-      width = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["isRTL"])() ? previousRect.left - nextRect.right : nextRect.left - previousRect.right;
-    }
+  return node;
+};

-    return {
-      width,
-      height: previousElement ? previousElement.offsetHeight : nextElement.offsetHeight
-    };
-  }, [previousElement, nextElement]);
-  const getAnchorRect = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(() => {
-    if (!previousElement && !nextElement) {
-      return {};
-    }
+/* harmony default export */ var url_rewrite = (rewrite);

-    const {
-      ownerDocument
-    } = previousElement || nextElement;
-    const previousRect = previousElement ? previousElement.getBoundingClientRect() : null;
-    const nextRect = nextElement ? nextElement.getBoundingClientRect() : null;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/transforms/wrap.js
+/**
+ * @constant string IS_ROOT_TAG Regex to check if the selector is a root tag selector.
+ */
+const IS_ROOT_TAG = /^(body|html|:root).*$/;
+/**
+ * Creates a callback to modify selectors so they only apply within a certain
+ * namespace.
+ *
+ * @param {string}   namespace Namespace to prefix selectors with.
+ * @param {string[]} ignore    Selectors to not prefix.
+ *
+ * @return {(node: Object) => Object} Callback to wrap selectors.
+ */

-    if (isVertical) {
-      if (Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["isRTL"])()) {
-        return {
-          top: previousRect ? previousRect.bottom : nextRect.top,
-          left: previousRect ? previousRect.right : nextRect.right,
-          right: previousRect ? previousRect.left : nextRect.left,
-          bottom: nextRect ? nextRect.top : previousRect.bottom,
-          ownerDocument
-        };
-      }
+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.

-      return {
-        top: previousRect ? previousRect.bottom : nextRect.top,
-        left: previousRect ? previousRect.left : nextRect.left,
-        right: previousRect ? previousRect.right : nextRect.right,
-        bottom: nextRect ? nextRect.top : previousRect.bottom,
-        ownerDocument
-      };
-    }

-    if (Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["isRTL"])()) {
-      return {
-        top: previousRect ? previousRect.top : nextRect.top,
-        left: previousRect ? previousRect.left : nextRect.right,
-        right: nextRect ? nextRect.right : previousRect.left,
-        bottom: previousRect ? previousRect.bottom : nextRect.bottom,
-        ownerDocument
-      };
-    }
+      {
+        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 {
-      top: previousRect ? previousRect.top : nextRect.top,
-      left: previousRect ? previousRect.right : nextRect.left,
-      right: nextRect ? nextRect.left : previousRect.right,
-      bottom: previousRect ? previousRect.bottom : nextRect.bottom,
-      ownerDocument
+      return selector.replace(/^(body|html|:root)/, namespace);
     };
-  }, [previousElement, nextElement]);
-  const popoverScrollRef = Object(_use_popover_scroll__WEBPACK_IMPORTED_MODULE_9__[/* usePopoverScroll */ "a"])(__unstableContentRef);
-  const disableMotion = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__["useReducedMotion"])();
-  const className = classnames__WEBPACK_IMPORTED_MODULE_1___default()('block-editor-block-list__insertion-point', 'is-' + orientation);
-
-  function onClick(event) {
-    if (event.target === ref.current && nextClientId) {
-      selectBlock(nextClientId, -1);
-    }
-  }

-  function onFocus(event) {
-    // Only handle click on the wrapper specifically, and not an event
-    // bubbled from the inserter itself.
-    if (event.target !== ref.current) {
-      openRef.current = true;
+    if (node.type === 'rule') {
+      return { ...node,
+        selectors: node.selectors.map(updateSelector)
+      };
     }
-  } // Only show the in-between inserter between blocks, so when there's a
-  // previous and a next element.

-
-  const showInsertionPointInserter = previousElement && nextElement && isInserterShown; // Define animation variants for the line element.
-
-  const horizontalLine = {
-    start: {
-      width: 0,
-      top: '50%',
-      bottom: '50%',
-      x: 0
-    },
-    rest: {
-      width: 4,
-      top: 0,
-      bottom: 0,
-      x: -2
-    },
-    hover: {
-      width: 4,
-      top: 0,
-      bottom: 0,
-      x: -2
-    }
-  };
-  const verticalLine = {
-    start: {
-      height: 0,
-      left: '50%',
-      right: '50%',
-      y: 0
-    },
-    rest: {
-      height: 4,
-      left: 0,
-      right: 0,
-      y: -2
-    },
-    hover: {
-      height: 4,
-      left: 0,
-      right: 0,
-      y: -2
-    }
-  };
-  const lineVariants = {
-    // Initial position starts from the center and invisible.
-    start: { ...(!isVertical ? horizontalLine.start : verticalLine.start),
-      opacity: 0
-    },
-    // The line expands to fill the container. If the inserter is visible it
-    // is delayed so it appears orchestrated.
-    rest: { ...(!isVertical ? horizontalLine.rest : verticalLine.rest),
-      opacity: 1,
-      borderRadius: '2px',
-      transition: {
-        delay: showInsertionPointInserter ? 0.4 : 0
-      }
-    },
-    hover: { ...(!isVertical ? horizontalLine.hover : verticalLine.hover),
-      opacity: 1,
-      borderRadius: '2px',
-      transition: {
-        delay: 0.4
-      }
-    }
-  };
-  const inserterVariants = {
-    start: {
-      scale: disableMotion ? 1 : 0
-    },
-    rest: {
-      scale: 1,
-      transition: {
-        delay: 0.2
-      }
-    }
+    return node;
   };
-  /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */
-  // While ideally it would be enough to capture the
-  // bubbling focus event from the Inserter, due to the
-  // characteristics of click focusing of `button`s in
-  // Firefox and Safari, it is not reliable.
-  //
-  // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
-
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Popover"], {
-    ref: popoverScrollRef,
-    noArrow: true,
-    animate: false,
-    getAnchorRect: getAnchorRect,
-    focusOnMount: false,
-    className: "block-editor-block-list__insertion-point-popover" // Render in the old slot if needed for backward compatibility,
-    // otherwise render in place (not in the the default popover slot).
-    ,
-    __unstableSlotName: __unstablePopoverSlot || null // Forces a remount of the popover when its position changes
-    // This makes sure the popover doesn't animate from its previous position.
-    ,
-    key: nextClientId + '--' + rootClientId
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["__unstableMotion"].div, {
-    layout: !disableMotion,
-    initial: disableMotion ? 'rest' : 'start',
-    animate: "rest",
-    whileHover: "hover",
-    whileTap: "pressed",
-    exit: "start",
-    ref: ref,
-    tabIndex: -1,
-    onClick: onClick,
-    onFocus: onFocus,
-    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(className, {
-      'is-with-inserter': showInsertionPointInserter
-    }),
-    style: style
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["__unstableMotion"].div, {
-    variants: lineVariants,
-    className: "block-editor-block-list__insertion-point-indicator"
-  }), showInsertionPointInserter && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["__unstableMotion"].div, {
-    variants: inserterVariants,
-    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()('block-editor-block-list__insertion-point-inserter')
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_inserter__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], {
-    position: "bottom center",
-    clientId: nextClientId,
-    rootClientId: rootClientId,
-    __experimentalIsQuick: true,
-    onToggle: isOpen => {
-      openRef.current = isOpen;
-    },
-    onSelectOrClose: () => {
-      openRef.current = false;
-    }
-  }))));
-  /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */
-}
-
-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();
-  }, []);
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(InsertionPointOpenRef.Provider, {
-    value: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useRef"])(false)
-  }, isVisible && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(InsertionPointPopover, {
-    __unstablePopoverSlot: __unstablePopoverSlot,
-    __unstableContentRef: __unstableContentRef
-  }), children);
-}
-
-
-/***/ }),
+};

-/***/ "Q2Xw":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var transforms_wrap = (wrap);

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useBlockClassNames; });
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("BhPs");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/index.js
 /**
  * External dependencies
  */
@@ -26953,193 +20489,122 @@ function InsertionPoint(_ref2) {
  */


-
 /**
  * Internal dependencies
  */


+
+
 /**
- * Returns the class names used for the different states of the block.
- *
- * @param {string} clientId The block client ID.
+ * Applies a series of CSS rule transforms to wrap selectors inside a given class and/or rewrite URLs depending on the parameters passed.
  *
- * @return {string} The class names.
+ * @param {Array}  styles           CSS rules.
+ * @param {string} wrapperClassName Wrapper Class Name.
+ * @return {Array} converted rules.
  */

-function useBlockClassNames(clientId) {
-  return Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(select => {
-    const {
-      isBlockBeingDragged,
-      isBlockHighlighted,
-      isBlockSelected,
-      isBlockMultiSelected,
-      getBlockName,
-      getSettings,
-      hasSelectedInnerBlock,
-      isTyping,
-      __experimentalGetActiveBlockIdByBlockNames: getActiveBlockIdByBlockNames
-    } = select(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]);
-    const {
-      __experimentalSpotlightEntityBlocks: spotlightEntityBlocks,
-      outlineMode
-    } = getSettings();
-    const isDragging = isBlockBeingDragged(clientId);
-    const isSelected = isBlockSelected(clientId);
-    const name = getBlockName(clientId);
-    const checkDeep = true; // "ancestor" is the more appropriate label due to "deep" check
+const transformStyles = function (styles) {
+  let wrapperClassName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
+  return (0,external_lodash_namespaceObject.map)(styles, _ref => {
+    let {
+      css,
+      baseURL
+    } = _ref;
+    const transforms = [];

-    const isAncestorOfSelectedBlock = hasSelectedInnerBlock(clientId, checkDeep);
-    const activeEntityBlockId = getActiveBlockIdByBlockNames(spotlightEntityBlocks);
-    return classnames__WEBPACK_IMPORTED_MODULE_0___default()({
-      'is-selected': isSelected,
-      'is-highlighted': isBlockHighlighted(clientId),
-      'is-multi-selected': isBlockMultiSelected(clientId),
-      'is-reusable': Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["isReusableBlock"])(Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["getBlockType"])(name)),
-      'is-dragging': isDragging,
-      'has-child-selected': isAncestorOfSelectedBlock,
-      'has-active-entity': activeEntityBlockId,
-      // Determine if there is an active entity area to spotlight.
-      'is-active-entity': activeEntityBlockId === clientId,
-      'remove-outline': isSelected && outlineMode && isTyping()
-    });
-  }, [clientId]);
-}
+    if (wrapperClassName) {
+      transforms.push(transforms_wrap(wrapperClassName));
+    }
+
+    if (baseURL) {
+      transforms.push(url_rewrite(baseURL));
+    }

+    if (transforms.length) {
+      return transform_styles_traverse(css, (0,external_wp_compose_namespaceObject.compose)(transforms));
+    }

-/***/ }),
+    return css;
+  });
+};

-/***/ "Q4Sy":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var transform_styles = (transformStyles);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/editor-styles/index.js


 /**
- * WordPress dependencies
+ * External dependencies
  */

-const plus = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (plus);
-
-
-/***/ }),
-
-/***/ "QP/w":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _use_setting__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("v5LD");
-


 /**
  * WordPress dependencies
  */

+
 /**
  * Internal dependencies
  */


+const EDITOR_STYLES_SELECTOR = '.editor-styles-wrapper';
+k([names, a11y]);

-function FontSizePicker(props) {
-  const fontSizes = Object(_use_setting__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])('typography.fontSizes');
-  const disableCustomFontSizes = !Object(_use_setting__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])('typography.customFontSize');
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["FontSizePicker"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, {
-    fontSizes: fontSizes,
-    disableCustomFontSizes: disableCustomFontSizes
-  }));
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (FontSizePicker);
-
-
-/***/ }),
-
-/***/ "REKd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ useBlockPreview; });
-
-// UNUSED EXPORTS: BlockPreview
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/index.js + 1 modules
-var provider = __webpack_require__("/QNa");
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js + 4 modules
-var block_list = __webpack_require__("VyCT");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/live.js
+function useDarkThemeBodyClassName(styles) {
+  return (0,external_wp_element_namespaceObject.useCallback)(node => {
+    if (!node) {
+      return;
+    }

+    const {
+      ownerDocument
+    } = node;
+    const {
+      defaultView,
+      body
+    } = ownerDocument;
+    const canvas = ownerDocument.querySelector(EDITOR_STYLES_SELECTOR);
+    let backgroundColor;

-/**
- * WordPress dependencies
- */
+    if (!canvas) {
+      // The real .editor-styles-wrapper element might not exist in the
+      // DOM, so calculate the background color by creating a fake
+      // wrapper.
+      const tempCanvas = ownerDocument.createElement('div');
+      tempCanvas.classList.add('editor-styles-wrapper');
+      body.appendChild(tempCanvas);
+      backgroundColor = defaultView.getComputedStyle(tempCanvas, null).getPropertyValue('background-color');
+      body.removeChild(tempCanvas);
+    } else {
+      backgroundColor = defaultView.getComputedStyle(canvas, null).getPropertyValue('background-color');
+    }

-/**
- * Internal dependencies
- */
+    const colordBackgroundColor = w(backgroundColor); // If background is transparent, it should be treated as light color.

+    if (colordBackgroundColor.luminance() > 0.5 || colordBackgroundColor.alpha() === 0) {
+      body.classList.remove('is-dark-theme');
+    } else {
+      body.classList.add('is-dark-theme');
+    }
+  }, [styles]);
+}

-function LiveBlockPreview(_ref) {
+function EditorStyles(_ref) {
   let {
-    onClick
+    styles
   } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
-    tabIndex: 0,
-    role: "button",
-    onClick: onClick,
-    onKeyPress: onClick
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], null, Object(external_wp_element_["createElement"])(block_list["c" /* default */], null)));
+  const transformedStyles = (0,external_wp_element_namespaceObject.useMemo)(() => transform_styles(styles, EDITOR_STYLES_SELECTOR), [styles]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("style", {
+    ref: useDarkThemeBodyClassName(styles)
+  }), transformedStyles.map((css, index) => (0,external_wp_element_namespaceObject.createElement)("style", {
+    key: index
+  }, css)));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/iframe/index.js
-var iframe = __webpack_require__("hHnB");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/editor-styles/index.js
-var editor_styles = __webpack_require__("KyyN");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/auto.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/auto.js


 /**
@@ -27168,15 +20633,15 @@ function AutoBlockPreview(_ref) {
   } = _ref;
   const [containerResizeListener, {
     width: containerWidth
-  }] = Object(external_wp_compose_["useResizeObserver"])();
+  }] = (0,external_wp_compose_namespaceObject.useResizeObserver)();
   const [contentResizeListener, {
     height: contentHeight
-  }] = Object(external_wp_compose_["useResizeObserver"])();
-  const styles = Object(external_wp_data_["useSelect"])(select => {
-    return select(store["a" /* store */]).getSettings().styles;
+  }] = (0,external_wp_compose_namespaceObject.useResizeObserver)();
+  const styles = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(store).getSettings().styles;
   }, []); // Avoid scrollbars for pattern previews.

-  const editorStyles = Object(external_wp_element_["useMemo"])(() => {
+  const editorStyles = (0,external_wp_element_namespaceObject.useMemo)(() => {
     if (styles) {
       return [...styles, {
         css: 'body{height:auto;overflow:hidden;}',
@@ -27187,22 +20652,22 @@ function AutoBlockPreview(_ref) {
     return styles;
   }, [styles]); // Initialize on render instead of module top level, to avoid circular dependency issues.

-  MemoizedBlockList = MemoizedBlockList || Object(external_wp_compose_["pure"])(block_list["c" /* default */]);
+  MemoizedBlockList = MemoizedBlockList || (0,external_wp_compose_namespaceObject.pure)(BlockList);
   const scale = containerWidth / viewportWidth;
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-editor-block-preview__container"
-  }, containerResizeListener, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], {
+  }, containerResizeListener, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, {
     className: "block-editor-block-preview__content",
     style: {
       transform: `scale(${scale})`,
       height: contentHeight * scale,
       maxHeight: contentHeight > MAX_HEIGHT ? MAX_HEIGHT * scale : undefined
     }
-  }, Object(external_wp_element_["createElement"])(iframe["a" /* default */], {
-    head: Object(external_wp_element_["createElement"])(editor_styles["a" /* default */], {
+  }, (0,external_wp_element_namespaceObject.createElement)(iframe, {
+    head: (0,external_wp_element_namespaceObject.createElement)(EditorStyles, {
       styles: editorStyles
     }),
-    contentRef: Object(external_wp_compose_["useRefEffect"])(bodyElement => {
+    contentRef: (0,external_wp_compose_namespaceObject.useRefEffect)(bodyElement => {
       const {
         ownerDocument: {
           documentElement
@@ -27226,14 +20691,14 @@ function AutoBlockPreview(_ref) {
       // See: https://github.com/WordPress/gutenberg/pull/38175.
       maxHeight: MAX_HEIGHT
     }
-  }, contentResizeListener, Object(external_wp_element_["createElement"])(MemoizedBlockList, {
+  }, contentResizeListener, (0,external_wp_element_namespaceObject.createElement)(MemoizedBlockList, {
     renderAppender: false
   }))));
 }

 /* harmony default export */ var auto = (AutoBlockPreview);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js


 /**
@@ -27265,25 +20730,25 @@ function BlockPreview(_ref) {
     __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 originalSettings = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getSettings(), []);
+  const settings = (0,external_wp_element_namespaceObject.useMemo)(() => {
     const _settings = { ...originalSettings
     };
     _settings.__experimentalBlockPatterns = [];
     return _settings;
   }, [originalSettings]);
-  const renderedBlocks = Object(external_wp_element_["useMemo"])(() => Object(external_lodash_["castArray"])(blocks), [blocks]);
+  const renderedBlocks = (0,external_wp_element_namespaceObject.useMemo)(() => (0,external_lodash_namespaceObject.castArray)(blocks), [blocks]);

   if (!blocks || blocks.length === 0) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(provider["a" /* default */], {
+  return (0,external_wp_element_namespaceObject.createElement)(provider, {
     value: renderedBlocks,
     settings: settings
-  }, __experimentalLive ? Object(external_wp_element_["createElement"])(LiveBlockPreview, {
+  }, __experimentalLive ? (0,external_wp_element_namespaceObject.createElement)(LiveBlockPreview, {
     onClick: __experimentalOnClick
-  }) : Object(external_wp_element_["createElement"])(auto, {
+  }) : (0,external_wp_element_namespaceObject.createElement)(auto, {
     viewportWidth: viewportWidth,
     __experimentalPadding: __experimentalPadding
   }));
@@ -27300,7 +20765,7 @@ function BlockPreview(_ref) {
  * @return {WPComponent} The component to be rendered.
  */

-/* harmony default export */ var block_preview = __webpack_exports__["a"] = (Object(external_wp_element_["memo"])(BlockPreview));
+/* harmony default export */ var block_preview = ((0,external_wp_element_namespaceObject.memo)(BlockPreview));
 /**
  * This hook is used to lightly mark an element as a block preview wrapper
  * element. Call this hook and pass the returned props to the element to mark as
@@ -27324,17 +20789,17 @@ function useBlockPreview(_ref2) {
     props = {},
     __experimentalLayout
   } = _ref2;
-  const originalSettings = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).getSettings(), []);
-  const disabledRef = Object(external_wp_compose_["__experimentalUseDisabled"])();
-  const ref = Object(external_wp_compose_["useMergeRefs"])([props.ref, disabledRef]);
-  const settings = Object(external_wp_element_["useMemo"])(() => ({ ...originalSettings,
+  const originalSettings = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getSettings(), []);
+  const disabledRef = (0,external_wp_compose_namespaceObject.__experimentalUseDisabled)();
+  const ref = (0,external_wp_compose_namespaceObject.useMergeRefs)([props.ref, disabledRef]);
+  const settings = (0,external_wp_element_namespaceObject.useMemo)(() => ({ ...originalSettings,
     __experimentalBlockPatterns: []
   }), [originalSettings]);
-  const renderedBlocks = Object(external_wp_element_["useMemo"])(() => Object(external_lodash_["castArray"])(blocks), [blocks]);
-  const children = Object(external_wp_element_["createElement"])(provider["a" /* default */], {
+  const renderedBlocks = (0,external_wp_element_namespaceObject.useMemo)(() => (0,external_lodash_namespaceObject.castArray)(blocks), [blocks]);
+  const children = (0,external_wp_element_namespaceObject.createElement)(provider, {
     value: renderedBlocks,
     settings: settings
-  }, Object(external_wp_element_["createElement"])(block_list["a" /* BlockListItems */], {
+  }, (0,external_wp_element_namespaceObject.createElement)(BlockListItems, {
     renderAppender: false,
     __experimentalLayout: __experimentalLayout
   }));
@@ -27345,253 +20810,790 @@ function useBlockPreview(_ref2) {
   };
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/preview-panel.js

-/***/ }),

-/***/ "RMJe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+function InserterPreviewPanel(_ref) {
+  var _hoveredItemBlockType, _hoveredItemBlockType2;
+
+  let {
+    item
+  } = _ref;
+  const {
+    name,
+    title,
+    icon,
+    description,
+    initialAttributes
+  } = item;
+  const hoveredItemBlockType = (0,external_wp_blocks_namespaceObject.getBlockType)(name);
+  const isReusable = (0,external_wp_blocks_namespaceObject.isReusableBlock)(item);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__preview-container"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__preview"
+  }, isReusable || hoveredItemBlockType !== null && hoveredItemBlockType !== void 0 && hoveredItemBlockType.example ? (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__preview-content"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_preview, {
+    __experimentalPadding: 16,
+    viewportWidth: (_hoveredItemBlockType = (_hoveredItemBlockType2 = hoveredItemBlockType.example) === null || _hoveredItemBlockType2 === void 0 ? void 0 : _hoveredItemBlockType2.viewportWidth) !== null && _hoveredItemBlockType !== void 0 ? _hoveredItemBlockType : 500,
+    blocks: hoveredItemBlockType.example ? (0,external_wp_blocks_namespaceObject.getBlockFromExample)(item.name, {
+      attributes: { ...hoveredItemBlockType.example.attributes,
+        ...initialAttributes
+      },
+      innerBlocks: hoveredItemBlockType.example.innerBlocks
+    }) : (0,external_wp_blocks_namespaceObject.createBlock)(name, initialAttributes)
+  })) : (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__preview-content-missing"
+  }, (0,external_wp_i18n_namespaceObject.__)('No Preview Available.'))), !isReusable && (0,external_wp_element_namespaceObject.createElement)(block_card, {
+    title: title,
+    icon: icon,
+    description: description
+  }));
+}
+
+/* harmony default export */ var preview_panel = (InserterPreviewPanel);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/context.js
+/**
+ * WordPress dependencies
+ */
+
+const InserterListboxContext = (0,external_wp_element_namespaceObject.createContext)();
+/* harmony default export */ var context = (InserterListboxContext);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/item.js
+
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+function InserterListboxItem(_ref, ref) {
+  let {
+    isFirst,
+    as: Component,
+    children,
+    ...props
+  } = _ref;
+  const state = (0,external_wp_element_namespaceObject.useContext)(context);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableCompositeItem, _extends({
+    ref: ref,
+    state: state,
+    role: "option" // Use the CompositeItem `focusable` prop over Button's
+    // isFocusable. The latter was shown to cause an issue
+    // with tab order in the inserter list.
+    ,
+    focusable: true
+  }, props), htmlProps => {
+    const propsWithTabIndex = { ...htmlProps,
+      tabIndex: isFirst ? 0 : htmlProps.tabIndex
+    };
+
+    if (Component) {
+      return (0,external_wp_element_namespaceObject.createElement)(Component, propsWithTabIndex, children);
+    }
+
+    if (typeof children === 'function') {
+      return children(propsWithTabIndex);
+    }
+
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, propsWithTabIndex, children);
+  });
+}
+
+/* harmony default export */ var inserter_listbox_item = ((0,external_wp_element_namespaceObject.forwardRef)(InserterListboxItem));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/drag-handle.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const dragHandle = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  width: "18",
+  height: "18",
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 18 18"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"
+}));
+/* harmony default export */ var drag_handle = (dragHandle);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/draggable-chip.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+function BlockDraggableChip(_ref) {
+  let {
+    count,
+    icon
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-draggable-chip-wrapper"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-draggable-chip"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
+    justify: "center",
+    className: "block-editor-block-draggable-chip__content"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, icon ? (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+    icon: icon
+  }) : (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %d: Number of blocks. */
+  (0,external_wp_i18n_namespaceObject._n)('%d block', '%d blocks', count), count)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+    icon: drag_handle
+  })))));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-draggable-blocks/index.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+
+const InserterDraggableBlocks = _ref => {
+  let {
+    isEnabled,
+    blocks,
+    icon,
+    children
+  } = _ref;
+  const transferData = {
+    type: 'inserter',
+    blocks
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Draggable, {
+    __experimentalTransferDataType: "wp-blocks",
+    transferData: transferData,
+    __experimentalDragComponent: (0,external_wp_element_namespaceObject.createElement)(BlockDraggableChip, {
+      count: blocks.length,
+      icon: icon
+    })
+  }, _ref2 => {
+    let {
+      onDraggableStart,
+      onDraggableEnd
+    } = _ref2;
+    return children({
+      draggable: isEnabled,
+      onDragStart: isEnabled ? onDraggableStart : undefined,
+      onDragEnd: isEnabled ? onDraggableEnd : undefined
+    });
+  });
+};
+
+/* harmony default export */ var inserter_draggable_blocks = (InserterDraggableBlocks);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-list-item/index.js
+
+
+
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+/**
+ * Return true if platform is MacOS.
+ *
+ * @param {Object} _window window object by default; used for DI testing.
+ *
+ * @return {boolean} True if MacOS; false otherwise.
+ */
+
+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(_ref) {
+  let {
+    className,
+    isFirst,
+    item,
+    onSelect,
+    onHover,
+    isDraggable,
+    ...props
+  } = _ref;
+  const isDragging = (0,external_wp_element_namespaceObject.useRef)(false);
+  const itemIconStyle = item.icon ? {
+    backgroundColor: item.icon.background,
+    color: item.icon.foreground
+  } : {};
+  const blocks = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return [(0,external_wp_blocks_namespaceObject.createBlock)(item.name, item.initialAttributes, (0,external_wp_blocks_namespaceObject.createBlocksFromInnerBlocksTemplate)(item.innerBlocks))];
+  }, [item.name, item.initialAttributes, item.initialAttributes]);
+  return (0,external_wp_element_namespaceObject.createElement)(inserter_draggable_blocks, {
+    isEnabled: isDraggable && !item.disabled,
+    blocks: blocks,
+    icon: item.icon
+  }, _ref2 => {
+    let {
+      draggable,
+      onDragStart,
+      onDragEnd
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-block-types-list__list-item",
+      draggable: draggable,
+      onDragStart: event => {
+        isDragging.current = true;
+
+        if (onDragStart) {
+          onHover(null);
+          onDragStart(event);
+        }
+      },
+      onDragEnd: event => {
+        isDragging.current = false;
+
+        if (onDragEnd) {
+          onDragEnd(event);
+        }
+      }
+    }, (0,external_wp_element_namespaceObject.createElement)(inserter_listbox_item, _extends({
+      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_namespaceObject.ENTER) {
+          event.preventDefault();
+          onSelect(item, isAppleOS() ? event.metaKey : event.ctrlKey);
+          onHover(null);
+        }
+      },
+      onFocus: () => {
+        if (isDragging.current) {
+          return;
+        }
+
+        onHover(item);
+      },
+      onMouseEnter: () => {
+        if (isDragging.current) {
+          return;
+        }
+
+        onHover(item);
+      },
+      onMouseLeave: () => onHover(null),
+      onBlur: () => onHover(null)
+    }, props), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "block-editor-block-types-list__item-icon",
+      style: itemIconStyle
+    }, (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+      icon: item.icon,
+      showColors: true
+    })), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "block-editor-block-types-list__item-title"
+    }, item.title)));
+  });
+}
+
+/* harmony default export */ var inserter_list_item = ((0,external_wp_element_namespaceObject.memo)(InserterListItem));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/group.js
+
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+function InserterListboxGroup(props, ref) {
+  const [shouldSpeak, setShouldSpeak] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (shouldSpeak) {
+      (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('Use left and right arrow keys to move through blocks'));
+    }
+  }, [shouldSpeak]);
+  return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
+    ref: ref,
+    role: "listbox",
+    "aria-orientation": "horizontal",
+    onFocus: () => {
+      setShouldSpeak(true);
+    },
+    onBlur: event => {
+      const focusingOutsideGroup = !event.currentTarget.contains(event.relatedTarget);
+
+      if (focusingOutsideGroup) {
+        setShouldSpeak(false);
+      }
+    }
+  }, props));
+}
+
+/* harmony default export */ var group = ((0,external_wp_element_namespaceObject.forwardRef)(InserterListboxGroup));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/row.js
+
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+function InserterListboxRow(props, ref) {
+  const state = (0,external_wp_element_namespaceObject.useContext)(context);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableCompositeGroup, _extends({
+    state: state,
+    role: "presentation",
+    ref: ref
+  }, props));
+}
+
+/* harmony default export */ var inserter_listbox_row = ((0,external_wp_element_namespaceObject.forwardRef)(InserterListboxRow));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+function chunk(array, size) {
+  const chunks = [];
+
+  for (let i = 0, j = array.length; i < j; i += size) {
+    chunks.push(array.slice(i, i + size));
+  }
+
+  return chunks;
+}
+
+function BlockTypesList(_ref) {
+  let {
+    items = [],
+    onSelect,
+    onHover = () => {},
+    children,
+    label,
+    isDraggable = true
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(group, {
+    className: "block-editor-block-types-list",
+    "aria-label": label
+  }, chunk(items, 3).map((row, i) => (0,external_wp_element_namespaceObject.createElement)(inserter_listbox_row, {
+    key: i
+  }, row.map((item, j) => (0,external_wp_element_namespaceObject.createElement)(inserter_list_item, {
+    key: item.id,
+    item: item,
+    className: (0,external_wp_blocks_namespaceObject.getBlockMenuDefaultClassName)(item.id),
+    onSelect: onSelect,
+    onHover: onHover,
+    isDraggable: isDraggable,
+    isFirst: i === 0 && j === 0
+  })))), children);
+}
+
+/* harmony default export */ var block_types_list = (BlockTypesList);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/panel.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+function InserterPanel(_ref) {
+  let {
+    title,
+    icon,
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__panel-header"
+  }, (0,external_wp_element_namespaceObject.createElement)("h2", {
+    className: "block-editor-inserter__panel-title"
+  }, title), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+    icon: icon
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__panel-content"
+  }, children));
+}
+
+/* harmony default export */ var panel = (InserterPanel);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-block-types-state.js
+/**
+ * WordPress dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+/**
+ * Retrieves the block types inserter state.
+ *
+ * @param {string=}  rootClientId Insertion's root client ID.
+ * @param {Function} onInsert     function called when inserter a list of blocks.
+ * @return {Array} Returns the block types state. (block types, categories, collections, onSelect handler)
+ */
+
+const useBlockTypesState = (rootClientId, onInsert) => {
+  const {
+    categories,
+    collections,
+    items
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getInserterItems
+    } = select(store);
+    const {
+      getCategories,
+      getCollections
+    } = select(external_wp_blocks_namespaceObject.store);
+    return {
+      categories: getCategories(),
+      collections: getCollections(),
+      items: getInserterItems(rootClientId)
+    };
+  }, [rootClientId]);
+  const onSelectItem = (0,external_wp_element_namespaceObject.useCallback)((_ref, shouldFocusBlock) => {
+    let {
+      name,
+      initialAttributes,
+      innerBlocks
+    } = _ref;
+    const insertedBlock = (0,external_wp_blocks_namespaceObject.createBlock)(name, initialAttributes, (0,external_wp_blocks_namespaceObject.createBlocksFromInnerBlocksTemplate)(innerBlocks));
+    onInsert(insertedBlock, undefined, shouldFocusBlock);
+  }, [onInsert]);
+  return [items, categories, collections, onSelectItem];
+};
+
+/* harmony default export */ var use_block_types_state = (useBlockTypesState);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/index.js


 /**
  * WordPress dependencies
  */

-const check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (check);
-
-
-/***/ }),
-
-/***/ "Rk8H":
-/***/ (function(module, exports, __webpack_require__) {
-
-// Load in dependencies
-var computedStyle = __webpack_require__("jTPX");
-
 /**
- * Calculate the `line-height` of a given node
- * @param {HTMLElement} node Element to calculate line height of. Must be in the DOM.
- * @returns {Number} `line-height` of the element in pixels
+ * Internal dependencies
  */
-function lineHeight(node) {
-  // Grab the line-height via style
-  var lnHeightStr = computedStyle(node, 'line-height');
-  var lnHeight = parseFloat(lnHeightStr, 10);

-  // If the lineHeight did not contain a unit (i.e. it was numeric), convert it to ems (e.g. '2.3' === '2.3em')
-  if (lnHeightStr === lnHeight + '') {
-    // Save the old lineHeight style and update the em unit to the element
-    var _lnHeightStyle = node.style.lineHeight;
-    node.style.lineHeight = lnHeightStr + 'em';

-    // Calculate the em based height
-    lnHeightStr = computedStyle(node, 'line-height');
-    lnHeight = parseFloat(lnHeightStr, 10);

-    // Revert the lineHeight style
-    if (_lnHeightStyle) {
-      node.style.lineHeight = _lnHeightStyle;
-    } else {
-      delete node.style.lineHeight;
-    }
-  }

-  // If the lineHeight is in `pt`, convert it to pixels (4px for 3pt)
-  // DEV: `em` units are converted to `pt` in IE6
-  // Conversion ratio from https://developer.mozilla.org/en-US/docs/Web/CSS/length
-  if (lnHeightStr.indexOf('pt') !== -1) {
-    lnHeight *= 4;
-    lnHeight /= 3;
-  // Otherwise, if the lineHeight is in `mm`, convert it to pixels (96px for 25.4mm)
-  } else if (lnHeightStr.indexOf('mm') !== -1) {
-    lnHeight *= 96;
-    lnHeight /= 25.4;
-  // Otherwise, if the lineHeight is in `cm`, convert it to pixels (96px for 2.54cm)
-  } else if (lnHeightStr.indexOf('cm') !== -1) {
-    lnHeight *= 96;
-    lnHeight /= 2.54;
-  // Otherwise, if the lineHeight is in `in`, convert it to pixels (96px for 1in)
-  } else if (lnHeightStr.indexOf('in') !== -1) {
-    lnHeight *= 96;
-  // Otherwise, if the lineHeight is in `pc`, convert it to pixels (12pt for 1pc)
-  } else if (lnHeightStr.indexOf('pc') !== -1) {
-    lnHeight *= 16;
-  }

-  // Continue our computation
-  lnHeight = Math.round(lnHeight);

-  // If the line-height is "normal", calculate by font-size
-  if (lnHeightStr === 'normal') {
-    // Create a temporary node
-    var nodeName = node.nodeName;
-    var _node = document.createElement(nodeName);
-    _node.innerHTML = '&nbsp;';
+function InserterListbox(_ref) {
+  let {
+    children
+  } = _ref;
+  const compositeState = (0,external_wp_components_namespaceObject.__unstableUseCompositeState)({
+    shift: true,
+    wrap: 'horizontal'
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(context.Provider, {
+    value: compositeState
+  }, children);
+}

-    // If we have a text area, reset it to only 1 row
-    // https://github.com/twolfson/line-height/issues/4
-    if (nodeName.toUpperCase() === 'TEXTAREA') {
-      _node.setAttribute('rows', '1');
-    }
+/* harmony default export */ var inserter_listbox = (InserterListbox);

-    // Set the font-size of the element
-    var fontSizeStr = computedStyle(node, 'font-size');
-    _node.style.fontSize = fontSizeStr;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-types-tab.js

-    // Remove default padding/border which can affect offset height
-    // https://github.com/twolfson/line-height/issues/4
-    // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight
-    _node.style.padding = '0px';
-    _node.style.border = '0px';

-    // Append it to the body
-    var body = document.body;
-    body.appendChild(_node);
+/**
+ * External dependencies
+ */

-    // Assume the line height of the element is the height
-    var height = _node.offsetHeight;
-    lnHeight = height;
+/**
+ * WordPress dependencies
+ */

-    // Remove our child from the DOM
-    body.removeChild(_node);
-  }

-  // Return the calculated height
-  return lnHeight;
-}

-// Export lineHeight
-module.exports = lineHeight;

+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "RxS6":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["keycodes"]; }());

-/***/ }),

-/***/ "SVSp":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["shortcode"]; }());
+const getBlockNamespace = item => item.name.split('/')[0];

-/***/ }),
+const MAX_SUGGESTED_ITEMS = 6;
+/**
+ * Shared reference to an empty array for cases where it is important to avoid
+ * returning a new array reference on every invocation and rerendering the component.
+ *
+ * @type {Array}
+ */

-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
+const block_types_tab_EMPTY_ARRAY = [];
+function BlockTypesTab(_ref) {
+  let {
+    rootClientId,
+    onInsert,
+    onHover,
+    showMostUsedBlocks
+  } = _ref;
+  const [items, categories, collections, onSelectItem] = use_block_types_state(rootClientId, onInsert);
+  const suggestedItems = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return (0,external_lodash_namespaceObject.orderBy)(items, ['frecency'], ['desc']).slice(0, MAX_SUGGESTED_ITEMS);
+  }, [items]);
+  const uncategorizedItems = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return items.filter(item => !item.category);
+  }, [items]);
+  const itemsPerCategory = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return (0,external_lodash_namespaceObject.flow)(itemList => itemList.filter(item => item.category && item.category !== 'reusable'), itemList => (0,external_lodash_namespaceObject.groupBy)(itemList, 'category'))(items);
+  }, [items]);
+  const itemsPerCollection = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    // Create a new Object to avoid mutating collection.
+    const result = { ...collections
+    };
+    Object.keys(collections).forEach(namespace => {
+      result[namespace] = items.filter(item => getBlockNamespace(item) === namespace);

-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */
+      if (result[namespace].length === 0) {
+        delete result[namespace];
+      }
+    });
+    return result;
+  }, [items, collections]); // Hide block preview on unmount.

-(function () {
-	'use strict';
+  (0,external_wp_element_namespaceObject.useEffect)(() => () => onHover(null), []);
+  /**
+   * The inserter contains a big number of blocks and opening it is a costful operation.
+   * The rendering is the most costful part of it, in order to improve the responsiveness
+   * of the "opening" action, these lazy lists allow us to render the inserter category per category,
+   * once all the categories are rendered, we start rendering the collections and the uncategorized block types.
+   */

-	var hasOwn = {}.hasOwnProperty;
+  const currentlyRenderedCategories = (0,external_wp_compose_namespaceObject.useAsyncList)(categories);
+  const didRenderAllCategories = categories.length === currentlyRenderedCategories.length; // Async List requires an array

-	function classNames() {
-		var classes = [];
+  const collectionEntries = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return Object.entries(collections);
+  }, [collections]);
+  const currentlyRenderedCollections = (0,external_wp_compose_namespaceObject.useAsyncList)(didRenderAllCategories ? collectionEntries : block_types_tab_EMPTY_ARRAY);
+  return (0,external_wp_element_namespaceObject.createElement)(inserter_listbox, null, (0,external_wp_element_namespaceObject.createElement)("div", null, showMostUsedBlocks && !!suggestedItems.length && (0,external_wp_element_namespaceObject.createElement)(panel, {
+    title: (0,external_wp_i18n_namespaceObject._x)('Most used', 'blocks')
+  }, (0,external_wp_element_namespaceObject.createElement)(block_types_list, {
+    items: suggestedItems,
+    onSelect: onSelectItem,
+    onHover: onHover,
+    label: (0,external_wp_i18n_namespaceObject._x)('Most used', 'blocks')
+  })), (0,external_lodash_namespaceObject.map)(currentlyRenderedCategories, category => {
+    const categoryItems = itemsPerCategory[category.slug];

-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
+    if (!categoryItems || !categoryItems.length) {
+      return null;
+    }

-			var argType = typeof arg;
+    return (0,external_wp_element_namespaceObject.createElement)(panel, {
+      key: category.slug,
+      title: category.title,
+      icon: category.icon
+    }, (0,external_wp_element_namespaceObject.createElement)(block_types_list, {
+      items: categoryItems,
+      onSelect: onSelectItem,
+      onHover: onHover,
+      label: category.title
+    }));
+  }), didRenderAllCategories && uncategorizedItems.length > 0 && (0,external_wp_element_namespaceObject.createElement)(panel, {
+    className: "block-editor-inserter__uncategorized-blocks-panel",
+    title: (0,external_wp_i18n_namespaceObject.__)('Uncategorized')
+  }, (0,external_wp_element_namespaceObject.createElement)(block_types_list, {
+    items: uncategorizedItems,
+    onSelect: onSelectItem,
+    onHover: onHover,
+    label: (0,external_wp_i18n_namespaceObject.__)('Uncategorized')
+  })), (0,external_lodash_namespaceObject.map)(currentlyRenderedCollections, _ref2 => {
+    let [namespace, collection] = _ref2;
+    const collectionItems = itemsPerCollection[namespace];

-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
+    if (!collectionItems || !collectionItems.length) {
+      return null;
+    }

-		return classes.join(' ');
-	}
+    return (0,external_wp_element_namespaceObject.createElement)(panel, {
+      key: namespace,
+      title: collection.title,
+      icon: collection.icon
+    }, (0,external_wp_element_namespaceObject.createElement)(block_types_list, {
+      items: collectionItems,
+      onSelect: onSelectItem,
+      onHover: onHover,
+      label: collection.title
+    }));
+  })));
+}
+/* harmony default export */ var block_types_tab = (BlockTypesTab);

-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/pattern-panel.js


-/***/ }),
+/**
+ * External dependencies
+ */

-/***/ "TVFh":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ useWritingFlow; });

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+function PatternInserterPanel(_ref) {
+  let {
+    selectedCategory,
+    patternCategories,
+    onClickCategory,
+    openPatternExplorer
+  } = _ref;
+  const isMobile = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+  const categoryOptions = () => {
+    const options = [];
+    patternCategories.map(patternCategory => {
+      return options.push({
+        value: patternCategory.name,
+        label: patternCategory.label
+      });
+    });
+    return options;
+  };

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+  const onChangeSelect = selected => {
+    onClickCategory(patternCategories.find(patternCategory => selected === patternCategory.name));
+  };

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+  const className = classnames_default()('block-editor-inserter__panel-header', 'block-editor-inserter__panel-header-patterns'); // In iOS-based mobile devices, the onBlur will fire when selecting an option
+  // from a Select element. To prevent closing the useDialog on iOS devices, we
+  // stop propagating the onBlur event if there is no relatedTarget, which means
+  // that the user most likely did not click on an element within the editor canvas.

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+  const onBlur = event => {
+    if (!(event !== null && event !== void 0 && event.relatedTarget)) {
+      event.stopPropagation();
+    }
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
+    justify: "space-between",
+    align: "start",
+    gap: "4",
+    className: className
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, {
+    isBlock: true
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    className: "block-editor-inserter__panel-dropdown",
+    label: (0,external_wp_i18n_namespaceObject.__)('Filter patterns'),
+    hideLabelFromVision: true,
+    value: selectedCategory.name,
+    onChange: onChangeSelect,
+    onBlur: onBlur,
+    options: categoryOptions()
+  })), !isMobile && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    className: "block-editor-inserter__patterns-explorer-expand",
+    label: (0,external_wp_i18n_namespaceObject.__)('Explore all patterns'),
+    onClick: () => openPatternExplorer()
+  }, (0,external_wp_i18n_namespaceObject._x)('Explore', 'Label for showing all block patterns'))));
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-refs.js
-var use_block_refs = __webpack_require__("PKbb");
+/* harmony default export */ var pattern_panel = (PatternInserterPanel);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-multi-selection.js
+;// CONCATENATED MODULE: external ["wp","notices"]
+var external_wp_notices_namespaceObject = window["wp"]["notices"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-state.js
 /**
  * External dependencies
  */
@@ -27602,150 +21604,252 @@ var use_block_refs = __webpack_require__("PKbb");



+
+
+
 /**
  * Internal dependencies
  */


+/**
+ * Retrieves the block patterns inserter state.
+ *
+ * @param {Function} onInsert     function called when inserter a list of blocks.
+ * @param {string=}  rootClientId Insertion's root client ID.
+ *
+ * @return {Array} Returns the patterns state. (patterns, categories, onSelect handler)
+ */
+
+const usePatternsState = (onInsert, rootClientId) => {
+  const {
+    patternCategories,
+    patterns
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      __experimentalGetAllowedPatterns,
+      getSettings
+    } = select(store);
+    return {
+      patterns: __experimentalGetAllowedPatterns(rootClientId),
+      patternCategories: getSettings().__experimentalBlockPatternCategories
+    };
+  }, [rootClientId]);
+  const {
+    createSuccessNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const onClickPattern = (0,external_wp_element_namespaceObject.useCallback)((pattern, blocks) => {
+    onInsert((0,external_lodash_namespaceObject.map)(blocks, block => (0,external_wp_blocks_namespaceObject.cloneBlock)(block)), pattern.name);
+    createSuccessNotice((0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %s: block pattern title. */
+    (0,external_wp_i18n_namespaceObject.__)('Block pattern "%s" inserted.'), pattern.title), {
+      type: 'snackbar'
+    });
+  }, []);
+  return [patterns, patternCategories, onClickPattern];
+};
+
+/* harmony default export */ var use_patterns_state = (usePatternsState);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-patterns-list/index.js
+


-function toggleRichText(container, toggle) {
-  Array.from(container.querySelectorAll('.rich-text')).forEach(node => {
-    if (toggle) {
-      node.setAttribute('contenteditable', true);
-    } else {
-      node.removeAttribute('contenteditable');
-    }
-  });
-}
 /**
- * Returns for the deepest node at the start or end of a container node. Ignores
- * any text nodes that only contain HTML formatting whitespace.
- *
- * @param {Element} node Container to search.
- * @param {string}  type 'start' or 'end'.
+ * WordPress dependencies
  */


-function getDeepestNode(node, type) {
-  const child = type === 'start' ? 'firstChild' : 'lastChild';
-  const sibling = type === 'start' ? 'nextSibling' : 'previousSibling';

-  while (node[child]) {
-    node = node[child];
+/**
+ * Internal dependencies
+ */

-    while (node.nodeType === node.TEXT_NODE && /^[ \t\n]*$/.test(node.data) && node[sibling]) {
-      node = node[sibling];
-    }
-  }

-  return node;
-}

-function selector(select) {
+
+function BlockPattern(_ref) {
+  let {
+    isDraggable,
+    pattern,
+    onClick,
+    composite
+  } = _ref;
   const {
-    isMultiSelecting,
-    getMultiSelectedBlockClientIds,
-    hasMultiSelection,
-    getSelectedBlockClientId
-  } = select(store["a" /* store */]);
-  return {
-    isMultiSelecting: isMultiSelecting(),
-    multiSelectedBlockClientIds: getMultiSelectedBlockClientIds(),
-    hasMultiSelection: hasMultiSelection(),
-    selectedBlockClientId: getSelectedBlockClientId()
-  };
+    blocks,
+    viewportWidth
+  } = pattern;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(BlockPattern);
+  const descriptionId = `block-editor-block-patterns-list__item-description-${instanceId}`;
+  return (0,external_wp_element_namespaceObject.createElement)(inserter_draggable_blocks, {
+    isEnabled: isDraggable,
+    blocks: blocks
+  }, _ref2 => {
+    let {
+      draggable,
+      onDragStart,
+      onDragEnd
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.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
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableCompositeItem, _extends({
+      role: "option",
+      as: "div"
+    }, composite, {
+      className: "block-editor-block-patterns-list__item",
+      onClick: () => onClick(pattern, blocks)
+    }), (0,external_wp_element_namespaceObject.createElement)(block_preview, {
+      blocks: blocks,
+      viewportWidth: viewportWidth
+    }), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-block-patterns-list__item-title"
+    }, pattern.title), !!pattern.description && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+      id: descriptionId
+    }, pattern.description)));
+  });
 }

-function useMultiSelection() {
-  const {
-    isMultiSelecting,
-    multiSelectedBlockClientIds,
-    hasMultiSelection,
-    selectedBlockClientId
-  } = Object(external_wp_data_["useSelect"])(selector, []);
-  const selectedRef = Object(use_block_refs["b" /* __unstableUseBlockRef */])(selectedBlockClientId); // These must be in the right DOM order.
+function BlockPatternPlaceholder() {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-patterns-list__item is-placeholder"
+  });
+}

-  const startRef = Object(use_block_refs["b" /* __unstableUseBlockRef */])(Object(external_lodash_["first"])(multiSelectedBlockClientIds));
-  const endRef = Object(use_block_refs["b" /* __unstableUseBlockRef */])(Object(external_lodash_["last"])(multiSelectedBlockClientIds));
-  /**
-   * When the component updates, and there is multi selection, we need to
-   * select the entire block contents.
-   */
+function BlockPatternList(_ref3) {
+  let {
+    isDraggable,
+    blockPatterns,
+    shownPatterns,
+    onClickPattern,
+    orientation,
+    label = (0,external_wp_i18n_namespaceObject.__)('Block Patterns')
+  } = _ref3;
+  const composite = (0,external_wp_components_namespaceObject.__unstableUseCompositeState)({
+    orientation
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableComposite, _extends({}, composite, {
+    role: "listbox",
+    className: "block-editor-block-patterns-list",
+    "aria-label": label
+  }), blockPatterns.map(pattern => {
+    const isShown = shownPatterns.includes(pattern);
+    return isShown ? (0,external_wp_element_namespaceObject.createElement)(BlockPattern, {
+      key: pattern.name,
+      pattern: pattern,
+      onClick: onClickPattern,
+      isDraggable: isDraggable,
+      composite: composite
+    }) : (0,external_wp_element_namespaceObject.createElement)(BlockPatternPlaceholder, {
+      key: pattern.name
+    });
+  }));
+}

-  return Object(external_wp_compose_["useRefEffect"])(node => {
-    const {
-      ownerDocument
-    } = node;
-    const {
-      defaultView
-    } = ownerDocument;
+/* harmony default export */ var block_patterns_list = (BlockPatternList);

-    if (!hasMultiSelection || isMultiSelecting) {
-      if (!selectedBlockClientId || isMultiSelecting) {
-        return;
-      }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/sidebar.js

-      const selection = defaultView.getSelection();

-      if (selection.rangeCount && !selection.isCollapsed) {
-        const blockNode = selectedRef.current;
-        const {
-          startContainer,
-          endContainer
-        } = selection.getRangeAt(0);
+/**
+ * WordPress dependencies
+ */

-        if (!!blockNode && (!blockNode.contains(startContainer) || !blockNode.contains(endContainer))) {
-          selection.removeAllRanges();
-        }
-      }

-      return;
-    }

-    const {
-      length
-    } = multiSelectedBlockClientIds;
+function PatternCategoriesList(_ref) {
+  let {
+    selectedCategory,
+    patternCategories,
+    onClickCategory
+  } = _ref;
+  const baseClassName = 'block-editor-block-patterns-explorer__sidebar';
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: `${baseClassName}__categories-list`
+  }, patternCategories.map(_ref2 => {
+    let {
+      name,
+      label
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      key: name,
+      label: label,
+      className: `${baseClassName}__categories-list__item`,
+      isPressed: selectedCategory === name,
+      onClick: () => {
+        onClickCategory(name);
+      }
+    }, label);
+  }));
+}

-    if (length < 2) {
-      return;
-    } // The block refs might not be immediately available
-    // when dragging blocks into another block.
+function PatternsExplorerSearch(_ref3) {
+  let {
+    filterValue,
+    setFilterValue
+  } = _ref3;
+  const baseClassName = 'block-editor-block-patterns-explorer__search';
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: baseClassName
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SearchControl, {
+    onChange: setFilterValue,
+    value: filterValue,
+    label: (0,external_wp_i18n_namespaceObject.__)('Search for patterns'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Search')
+  }));
+}

+function PatternExplorerSidebar(_ref4) {
+  let {
+    selectedCategory,
+    patternCategories,
+    onClickCategory,
+    filterValue,
+    setFilterValue
+  } = _ref4;
+  const baseClassName = 'block-editor-block-patterns-explorer__sidebar';
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: baseClassName
+  }, (0,external_wp_element_namespaceObject.createElement)(PatternsExplorerSearch, {
+    filterValue: filterValue,
+    setFilterValue: setFilterValue
+  }), !filterValue && (0,external_wp_element_namespaceObject.createElement)(PatternCategoriesList, {
+    selectedCategory: selectedCategory,
+    patternCategories: patternCategories,
+    onClickCategory: onClickCategory
+  }));
+}

-    if (!startRef.current || !endRef.current) {
-      return;
-    } // For some browsers, like Safari, it is important that focus happens
-    // BEFORE selection.
+/* harmony default export */ var sidebar = (PatternExplorerSidebar);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/no-results.js

-    node.focus();
-    const selection = defaultView.getSelection();
-    const range = ownerDocument.createRange(); // These must be in the right DOM order.
-    // The most stable way to select the whole block contents is to start
-    // and end at the deepest points.

-    const startNode = getDeepestNode(startRef.current, 'start');
-    const endNode = getDeepestNode(endRef.current, 'end'); // While rich text will be disabled with a delay when there is a multi
-    // selection, we must do it immediately because it's not possible to set
-    // selection across editable hosts.
+/**
+ * WordPress dependencies
+ */

-    toggleRichText(node, false);
-    range.setStartBefore(startNode);
-    range.setEndAfter(endNode);
-    selection.removeAllRanges();
-    selection.addRange(range);
-  }, [hasMultiSelection, isMultiSelecting, multiSelectedBlockClientIds, selectedBlockClientId]);
-}

-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
+function InserterNoResults() {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__no-results"
+  }, (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    className: "block-editor-inserter__no-results-icon",
+    icon: block_default
+  }), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('No results found.')));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-tab-nav.js
+/* harmony default export */ var no_results = (InserterNoResults);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-insertion-point.js
+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -27755,198 +21859,291 @@ var external_wp_keycodes_ = __webpack_require__("RxS6");



+
 /**
  * Internal dependencies
  */


+/**
+ * @typedef WPInserterConfig
+ *
+ * @property {string=}   rootClientId   If set, insertion will be into the
+ *                                      block with this ID.
+ * @property {number=}   insertionIndex If set, insertion will be into this
+ *                                      explicit position.
+ * @property {string=}   clientId       If set, insertion will be after the
+ *                                      block with this ID.
+ * @property {boolean=}  isAppender     Whether the inserter is an appender
+ *                                      or not.
+ * @property {Function=} onSelect       Called after insertion.
+ */

-function isFormElement(element) {
-  const {
-    tagName
-  } = element;
-  return tagName === 'INPUT' || tagName === 'BUTTON' || tagName === 'SELECT' || tagName === 'TEXTAREA';
-}
+/**
+ * Returns the insertion point state given the inserter config.
+ *
+ * @param {WPInserterConfig} config Inserter Config.
+ * @return {Array} Insertion Point State (rootClientID, onInsertBlocks and onToggle).
+ */

-function useTabNav() {
-  const container = Object(external_wp_element_["useRef"])();
-  const focusCaptureBeforeRef = Object(external_wp_element_["useRef"])();
-  const focusCaptureAfterRef = Object(external_wp_element_["useRef"])();
-  const lastFocus = Object(external_wp_element_["useRef"])();
+function useInsertionPoint(_ref) {
+  let {
+    rootClientId = '',
+    insertionIndex,
+    clientId,
+    isAppender,
+    onSelect,
+    shouldFocusBlock = true
+  } = _ref;
   const {
-    hasMultiSelection,
-    getSelectedBlockClientId,
-    getBlockCount
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
+    getSelectedBlock
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
   const {
-    setNavigationMode
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const isNavigationMode = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).isNavigationMode(), []); // Don't allow tabbing to this element in Navigation mode.
+    destinationRootClientId,
+    destinationIndex
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSelectedBlockClientId,
+      getBlockRootClientId,
+      getBlockIndex,
+      getBlockOrder
+    } = select(store);
+    const selectedBlockClientId = getSelectedBlockClientId();
+    let _destinationRootClientId = rootClientId;

-  const focusCaptureTabIndex = !isNavigationMode ? '0' : undefined; // Reference that holds the a flag for enabling or disabling
-  // capturing on the focus capture elements.
+    let _destinationIndex;

-  const noCapture = Object(external_wp_element_["useRef"])();
+    if (insertionIndex !== undefined) {
+      // Insert into a specific index.
+      _destinationIndex = insertionIndex;
+    } else if (clientId) {
+      // Insert after a specific client ID.
+      _destinationIndex = getBlockIndex(clientId);
+    } else if (!isAppender && selectedBlockClientId) {
+      _destinationRootClientId = getBlockRootClientId(selectedBlockClientId);
+      _destinationIndex = getBlockIndex(selectedBlockClientId) + 1;
+    } else {
+      // Insert at the end of the list.
+      _destinationIndex = getBlockOrder(_destinationRootClientId).length;
+    }

-  function onFocusCapture(event) {
-    // Do not capture incoming focus if set by us in WritingFlow.
-    if (noCapture.current) {
-      noCapture.current = null;
-    } else if (hasMultiSelection()) {
-      container.current.focus();
-    } else if (getSelectedBlockClientId()) {
-      lastFocus.current.focus();
+    return {
+      destinationRootClientId: _destinationRootClientId,
+      destinationIndex: _destinationIndex
+    };
+  }, [rootClientId, insertionIndex, clientId, isAppender]);
+  const {
+    replaceBlocks,
+    insertBlocks,
+    showInsertionPoint,
+    hideInsertionPoint
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const onInsertBlocks = (0,external_wp_element_namespaceObject.useCallback)(function (blocks, meta) {
+    let shouldForceFocusBlock = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
+    const selectedBlock = getSelectedBlock();
+
+    if (!isAppender && selectedBlock && (0,external_wp_blocks_namespaceObject.isUnmodifiedDefaultBlock)(selectedBlock)) {
+      replaceBlocks(selectedBlock.clientId, blocks, null, shouldFocusBlock || shouldForceFocusBlock ? 0 : null, meta);
     } else {
-      setNavigationMode(true);
-      const isBefore = // eslint-disable-next-line no-bitwise
-      event.target.compareDocumentPosition(container.current) & event.target.DOCUMENT_POSITION_FOLLOWING;
-      const action = isBefore ? 'findNext' : 'findPrevious';
-      external_wp_dom_["focus"].tabbable[action](event.target).focus();
+      insertBlocks(blocks, destinationIndex, destinationRootClientId, true, shouldFocusBlock || shouldForceFocusBlock ? 0 : null, meta);
     }
-  }

-  const before = Object(external_wp_element_["createElement"])("div", {
-    ref: focusCaptureBeforeRef,
-    tabIndex: focusCaptureTabIndex,
-    onFocus: onFocusCapture
-  });
-  const after = Object(external_wp_element_["createElement"])("div", {
-    ref: focusCaptureAfterRef,
-    tabIndex: focusCaptureTabIndex,
-    onFocus: onFocusCapture
-  });
-  const ref = Object(external_wp_compose_["useRefEffect"])(node => {
-    function onKeyDown(event) {
-      if (event.defaultPrevented) {
-        return;
-      }
+    const message = (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %d: the name of the block that has been added
+    (0,external_wp_i18n_namespaceObject._n)('%d block added.', '%d blocks added.', (0,external_lodash_namespaceObject.castArray)(blocks).length), (0,external_lodash_namespaceObject.castArray)(blocks).length);
+    (0,external_wp_a11y_namespaceObject.speak)(message);

-      if (event.keyCode === external_wp_keycodes_["ESCAPE"] && !hasMultiSelection()) {
-        event.preventDefault();
-        setNavigationMode(true);
-        return;
-      } // In Edit mode, Tab should focus the first tabbable element after
-      // the content, which is normally the sidebar (with block controls)
-      // and Shift+Tab should focus the first tabbable element before the
-      // content, which is normally the block toolbar.
-      // Arrow keys can be used, and Tab and arrow keys can be used in
-      // Navigation mode (press Esc), to navigate through blocks.
+    if (onSelect) {
+      onSelect();
+    }
+  }, [isAppender, getSelectedBlock, replaceBlocks, insertBlocks, destinationRootClientId, destinationIndex, onSelect, shouldFocusBlock]);
+  const onToggleInsertionPoint = (0,external_wp_element_namespaceObject.useCallback)(show => {
+    if (show) {
+      showInsertionPoint(destinationRootClientId, destinationIndex);
+    } else {
+      hideInsertionPoint();
+    }
+  }, [showInsertionPoint, hideInsertionPoint, destinationRootClientId, destinationIndex]);
+  return [destinationRootClientId, onInsertBlocks, onToggleInsertionPoint];
+}

+/* harmony default export */ var use_insertion_point = (useInsertionPoint);

-      if (event.keyCode !== external_wp_keycodes_["TAB"]) {
-        return;
-      }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/search-items.js
+/**
+ * External dependencies
+ */
+ // Default search helpers

-      const isShift = event.shiftKey;
-      const direction = isShift ? 'findPrevious' : 'findNext';
+const defaultGetName = item => item.name || '';

-      if (!hasMultiSelection() && !getSelectedBlockClientId()) {
-        // Preserve the behaviour of entering navigation mode when
-        // tabbing into the content without a block selection.
-        // `onFocusCapture` already did this previously, but we need to
-        // do it again here because after clearing block selection,
-        // focus land on the writing flow container and pressing Tab
-        // will no longer send focus through the focus capture element.
-        if (event.target === node) setNavigationMode(true);
-        return;
-      } // Allow tabbing between form elements rendered in a block,
-      // such as inside a placeholder. Form elements are generally
-      // meant to be UI rather than part of the content. Ideally
-      // these are not rendered in the content and perhaps in the
-      // future they can be rendered in an iframe or shadow DOM.
+const defaultGetTitle = item => item.title;

+const defaultGetDescription = item => item.description || '';

-      if (isFormElement(event.target) && isFormElement(external_wp_dom_["focus"].tabbable[direction](event.target))) {
-        return;
-      }
+const defaultGetKeywords = item => item.keywords || [];

-      const next = isShift ? focusCaptureBeforeRef : focusCaptureAfterRef; // Disable focus capturing on the focus capture element, so it
-      // doesn't refocus this block and so it allows default behaviour
-      // (moving focus to the next tabbable element).
+const defaultGetCategory = item => item.category;

-      noCapture.current = true; // Focusing the focus capture element, which is located above and
-      // below the editor, should not scroll the page all the way up or
-      // down.
+const defaultGetCollection = () => null;
+/**
+ * Sanitizes the search input string.
+ *
+ * @param {string} input The search input to normalize.
+ *
+ * @return {string} The normalized search input.
+ */

-      next.current.focus({
-        preventScroll: true
-      });
-    }

-    function onFocusOut(event) {
-      lastFocus.current = event.target;
-      const {
-        ownerDocument
-      } = node; // If focus disappears due to there being no blocks, move focus to
-      // the writing flow wrapper.
+function normalizeSearchInput() {
+  let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
+  // Disregard diacritics.
+  //  Input: "média"
+  input = (0,external_lodash_namespaceObject.deburr)(input); // Accommodate leading slash, matching autocomplete expectations.
+  //  Input: "/media"

-      if (!event.relatedTarget && ownerDocument.activeElement === ownerDocument.body && getBlockCount() === 0) {
-        node.focus();
-      }
-    } // When tabbing back to an element in block list, this event handler prevents scrolling if the
-    // focus capture divs (before/after) are outside of the viewport. (For example shift+tab back to a paragraph
-    // when focus is on a sidebar element. This prevents the scrollable writing area from jumping either to the
-    // top or bottom of the document.
-    //
-    // Note that it isn't possible to disable scrolling in the onFocus event. We need to intercept this
-    // earlier in the keypress handler, and call focus( { preventScroll: true } ) instead.
-    // https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus#parameters
+  input = input.replace(/^\//, ''); // Lowercase.
+  //  Input: "MEDIA"

+  input = input.toLowerCase();
+  return input;
+}
+/**
+ * Converts the search term into a list of normalized terms.
+ *
+ * @param {string} input The search term to normalize.
+ *
+ * @return {string[]} The normalized list of search terms.
+ */

-    function preventScrollOnTab(event) {
-      var _event$target;

-      if (event.keyCode !== external_wp_keycodes_["TAB"]) {
-        return;
-      }
+const getNormalizedSearchTerms = function () {
+  let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
+  // Extract words.
+  return (0,external_lodash_namespaceObject.words)(normalizeSearchInput(input));
+};

-      if (((_event$target = event.target) === null || _event$target === void 0 ? void 0 : _event$target.getAttribute('role')) === 'region') {
-        return;
-      }
+const removeMatchingTerms = (unmatchedTerms, unprocessedTerms) => {
+  return (0,external_lodash_namespaceObject.differenceWith)(unmatchedTerms, getNormalizedSearchTerms(unprocessedTerms), (unmatchedTerm, unprocessedTerm) => unprocessedTerm.includes(unmatchedTerm));
+};

-      if (container.current === event.target) {
-        return;
-      }
+const searchBlockItems = (items, categories, collections, searchInput) => {
+  const normalizedSearchTerms = getNormalizedSearchTerms(searchInput);

-      const isShift = event.shiftKey;
-      const direction = isShift ? 'findPrevious' : 'findNext';
-      const target = external_wp_dom_["focus"].tabbable[direction](event.target); // only do something when the next tabbable is a focus capture div (before/after)
+  if (normalizedSearchTerms.length === 0) {
+    return items;
+  }

-      if (target === focusCaptureBeforeRef.current || target === focusCaptureAfterRef.current) {
-        event.preventDefault();
-        target.focus({
-          preventScroll: true
-        });
-      }
+  const config = {
+    getCategory: item => {
+      var _find;
+
+      return (_find = (0,external_lodash_namespaceObject.find)(categories, {
+        slug: item.category
+      })) === null || _find === void 0 ? void 0 : _find.title;
+    },
+    getCollection: item => {
+      var _collections$item$nam;
+
+      return (_collections$item$nam = collections[item.name.split('/')[0]]) === null || _collections$item$nam === void 0 ? void 0 : _collections$item$nam.title;
     }
+  };
+  return searchItems(items, searchInput, config);
+};
+/**
+ * Filters an item list given a search term.
+ *
+ * @param {Array}  items       Item list
+ * @param {string} searchInput Search input.
+ * @param {Object} config      Search Config.
+ *
+ * @return {Array} Filtered item list.
+ */

-    const {
-      ownerDocument
-    } = node;
-    const {
-      defaultView
-    } = ownerDocument;
-    defaultView.addEventListener('keydown', preventScrollOnTab);
-    node.addEventListener('keydown', onKeyDown);
-    node.addEventListener('focusout', onFocusOut);
-    return () => {
-      defaultView.removeEventListener('keydown', preventScrollOnTab);
-      node.removeEventListener('keydown', onKeyDown);
-      node.removeEventListener('focusout', onFocusOut);
-    };
-  }, []);
-  const mergedRefs = Object(external_wp_compose_["useMergeRefs"])([container, ref]);
-  return [before, mergedRefs, after];
-}
+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);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/dom.js
-var dom = __webpack_require__("OL6h");
+  if (normalizedSearchTerms.length === 0) {
+    return items;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-arrow-nav.js
+  const rankedItems = items.map(item => {
+    return [item, getItemSearchRank(item, searchInput, config)];
+  }).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;
+  });
+};
 /**
- * External dependencies
+ * Get the search rank for a given item and a specific search term.
+ * The better the match, the higher the rank.
+ * If the rank equals 0, it should be excluded from the results.
+ *
+ * @param {Object} item       Item to filter.
+ * @param {string} searchTerm Search term.
+ * @param {Object} config     Search Config.
+ *
+ * @return {number} Search Rank.
  */

+function getItemSearchRank(item, searchTerm) {
+  let config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
+  const {
+    getName = defaultGetName,
+    getTitle = defaultGetTitle,
+    getDescription = defaultGetDescription,
+    getKeywords = defaultGetKeywords,
+    getCategory = defaultGetCategory,
+    getCollection = defaultGetCollection
+  } = config;
+  const name = getName(item);
+  const title = getTitle(item);
+  const description = getDescription(item);
+  const keywords = getKeywords(item);
+  const category = getCategory(item);
+  const collection = getCollection(item);
+  const normalizedSearchInput = normalizeSearchInput(searchTerm);
+  const normalizedTitle = normalizeSearchInput(title);
+  let rank = 0; // Prefers exact matches
+  // Then prefers if the beginning of the title matches the search term
+  // name, keywords, categories, collection, variations match come later.
+
+  if (normalizedSearchInput === normalizedTitle) {
+    rank += 30;
+  } else if (normalizedTitle.startsWith(normalizedSearchInput)) {
+    rank += 20;
+  } else {
+    const terms = [name, title, description, ...keywords, category, collection].join(' ');
+    const normalizedSearchTerms = (0,external_lodash_namespaceObject.words)(normalizedSearchInput);
+    const unmatchedTerms = removeMatchingTerms(normalizedSearchTerms, terms);
+
+    if (unmatchedTerms.length === 0) {
+      rank += 10;
+    }
+  } // Give a better rank to "core" namespaced items.
+
+
+  if (rank !== 0 && name.startsWith('core/')) {
+    rank++;
+  }
+
+  return rank;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/patterns-list.js
+
+
 /**
  * WordPress dependencies
  */
@@ -27961,270 +22158,279 @@ var dom = __webpack_require__("OL6h");



-/**
- * Returns true if the element should consider edge navigation upon a keyboard
- * event of the given directional key code, or false otherwise.
- *
- * @param {Element} element     HTML element to test.
- * @param {number}  keyCode     KeyboardEvent keyCode to test.
- * @param {boolean} hasModifier Whether a modifier is pressed.
- *
- * @return {boolean} Whether element should consider edge navigation.
- */

-function isNavigationCandidate(element, keyCode, hasModifier) {
-  const isVertical = keyCode === external_wp_keycodes_["UP"] || keyCode === external_wp_keycodes_["DOWN"]; // Currently, all elements support unmodified vertical navigation.

-  if (isVertical && !hasModifier) {
-    return true;
-  } // Native inputs should not navigate horizontally.


-  const {
-    tagName
-  } = element;
-  return tagName !== 'INPUT' && tagName !== 'TEXTAREA';
+const INITIAL_INSERTER_RESULTS = 2;
+
+function PatternsListHeader(_ref) {
+  let {
+    filterValue,
+    filteredBlockPatternsLength
+  } = _ref;
+
+  if (!filterValue) {
+    return null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHeading, {
+    level: 2,
+    lineHeight: '48px',
+    className: "block-editor-block-patterns-explorer__search-results-count"
+  }, (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %d: number of patterns. %s: block pattern search query */
+  (0,external_wp_i18n_namespaceObject._n)('%1$d pattern found for "%2$s"', '%1$d patterns found for "%2$s"', filteredBlockPatternsLength), filteredBlockPatternsLength, filterValue));
 }
-/**
- * Returns the optimal tab target from the given focused element in the desired
- * direction. A preference is made toward text fields, falling back to the block
- * focus stop if no other candidates exist for the block.
- *
- * @param {Element} target           Currently focused text field.
- * @param {boolean} isReverse        True if considering as the first field.
- * @param {Element} containerElement Element containing all blocks.
- * @param {boolean} onlyVertical     Whether to only consider tabbable elements
- *                                   that are visually above or under the
- *                                   target.
- *
- * @return {?Element} Optimal tab target, if one exists.
- */

-function getClosestTabbable(target, isReverse, containerElement, onlyVertical) {
-  // Since the current focus target is not guaranteed to be a text field, find
-  // all focusables. Tabbability is considered later.
-  let focusableNodes = external_wp_dom_["focus"].focusable.find(containerElement);
+function PatternList(_ref2) {
+  let {
+    filterValue,
+    selectedCategory,
+    patternCategories
+  } = _ref2;
+  const debouncedSpeak = (0,external_wp_compose_namespaceObject.useDebounce)(external_wp_a11y_namespaceObject.speak, 500);
+  const [destinationRootClientId, onInsertBlocks] = use_insertion_point({
+    shouldFocusBlock: true
+  });
+  const [allPatterns,, onSelectBlockPattern] = use_patterns_state(onInsertBlocks, destinationRootClientId);
+  const registeredPatternCategories = (0,external_wp_element_namespaceObject.useMemo)(() => patternCategories.map(patternCategory => patternCategory.name), [patternCategories]);
+  const filteredBlockPatterns = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (!filterValue) {
+      return allPatterns.filter(pattern => {
+        var _pattern$categories, _pattern$categories2;

-  if (isReverse) {
-    focusableNodes = Object(external_lodash_["reverse"])(focusableNodes);
-  } // Consider as candidates those focusables after the current target. It's
-  // assumed this can only be reached if the target is focusable (on its
-  // keydown event), so no need to verify it exists in the set.
+        return selectedCategory === 'uncategorized' ? !((_pattern$categories = pattern.categories) !== null && _pattern$categories !== void 0 && _pattern$categories.length) || pattern.categories.every(category => !registeredPatternCategories.includes(category)) : (_pattern$categories2 = pattern.categories) === null || _pattern$categories2 === void 0 ? void 0 : _pattern$categories2.includes(selectedCategory);
+      });
+    }

+    return searchItems(allPatterns, filterValue);
+  }, [filterValue, selectedCategory, allPatterns]); // Announce search results on change.

-  focusableNodes = focusableNodes.slice(focusableNodes.indexOf(target) + 1);
-  let targetRect;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!filterValue) {
+      return;
+    }

-  if (onlyVertical) {
-    targetRect = target.getBoundingClientRect();
-  }
+    const count = filteredBlockPatterns.length;
+    const resultsFoundMessage = (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %d: number of results. */
+    (0,external_wp_i18n_namespaceObject._n)('%d result found.', '%d results found.', count), count);
+    debouncedSpeak(resultsFoundMessage);
+  }, [filterValue, debouncedSpeak]);
+  const currentShownPatterns = (0,external_wp_compose_namespaceObject.useAsyncList)(filteredBlockPatterns, {
+    step: INITIAL_INSERTER_RESULTS
+  });
+  const hasItems = !!(filteredBlockPatterns !== null && filteredBlockPatterns !== void 0 && filteredBlockPatterns.length);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-patterns-explorer__list"
+  }, hasItems && (0,external_wp_element_namespaceObject.createElement)(PatternsListHeader, {
+    filterValue: filterValue,
+    filteredBlockPatternsLength: filteredBlockPatterns.length
+  }), (0,external_wp_element_namespaceObject.createElement)(inserter_listbox, null, !hasItems && (0,external_wp_element_namespaceObject.createElement)(no_results, null), hasItems && (0,external_wp_element_namespaceObject.createElement)(block_patterns_list, {
+    shownPatterns: currentShownPatterns,
+    blockPatterns: filteredBlockPatterns,
+    onClickPattern: onSelectBlockPattern,
+    isDraggable: false
+  })));
+}
+
+/* harmony default export */ var patterns_list = (PatternList);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/explorer.js

-  function isTabCandidate(node) {
-    // Not a candidate if the node is not tabbable.
-    if (!external_wp_dom_["focus"].tabbable.isTabbableIndex(node)) {
-      return false;
-    } // Skip focusable elements such as links within content editable nodes.

+/**
+ * WordPress dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */

-    if (node.isContentEditable && node.contentEditable !== 'true') {
-      return false;
-    }

-    if (onlyVertical) {
-      const nodeRect = node.getBoundingClientRect();

-      if (nodeRect.left >= targetRect.right || nodeRect.right <= targetRect.left) {
-        return false;
-      }
-    }

-    return true;
-  }
+function PatternsExplorer(_ref) {
+  let {
+    initialCategory,
+    patternCategories
+  } = _ref;
+  const [filterValue, setFilterValue] = (0,external_wp_element_namespaceObject.useState)('');
+  const [selectedCategory, setSelectedCategory] = (0,external_wp_element_namespaceObject.useState)(initialCategory === null || initialCategory === void 0 ? void 0 : initialCategory.name);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-patterns-explorer"
+  }, (0,external_wp_element_namespaceObject.createElement)(sidebar, {
+    selectedCategory: selectedCategory,
+    patternCategories: patternCategories,
+    onClickCategory: setSelectedCategory,
+    filterValue: filterValue,
+    setFilterValue: setFilterValue
+  }), (0,external_wp_element_namespaceObject.createElement)(patterns_list, {
+    filterValue: filterValue,
+    selectedCategory: selectedCategory,
+    patternCategories: patternCategories
+  }));
+}

-  return Object(external_lodash_["find"])(focusableNodes, isTabCandidate);
+function PatternsExplorerModal(_ref2) {
+  let {
+    onModalClose,
+    ...restProps
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Patterns'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
+    onRequestClose: onModalClose,
+    isFullScreen: true
+  }, (0,external_wp_element_namespaceObject.createElement)(PatternsExplorer, restProps));
 }
-function useArrowNav() {
-  const {
-    getSelectedBlockClientId,
-    getMultiSelectedBlocksStartClientId,
-    getMultiSelectedBlocksEndClientId,
-    getPreviousBlockClientId,
-    getNextBlockClientId,
-    getFirstMultiSelectedBlockClientId,
-    getLastMultiSelectedBlockClientId,
-    getSettings,
-    hasMultiSelection
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    multiSelect,
-    selectBlock
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  return Object(external_wp_compose_["useRefEffect"])(node => {
-    // Here a DOMRect is stored while moving the caret vertically so
-    // vertical position of the start position can be restored. This is to
-    // recreate browser behaviour across blocks.
-    let verticalRect;

-    function onMouseDown() {
-      verticalRect = null;
-    }
+/* harmony default export */ var explorer = (PatternsExplorerModal);

-    function expandSelection(isReverse) {
-      const selectedBlockClientId = getSelectedBlockClientId();
-      const selectionStartClientId = getMultiSelectedBlocksStartClientId();
-      const selectionEndClientId = getMultiSelectedBlocksEndClientId();
-      const selectionBeforeEndClientId = getPreviousBlockClientId(selectionEndClientId || selectedBlockClientId);
-      const selectionAfterEndClientId = getNextBlockClientId(selectionEndClientId || selectedBlockClientId);
-      const nextSelectionEndClientId = isReverse ? selectionBeforeEndClientId : selectionAfterEndClientId;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab.js

-      if (nextSelectionEndClientId) {
-        if (selectionStartClientId === nextSelectionEndClientId) {
-          selectBlock(nextSelectionEndClientId);
-        } else {
-          multiSelect(selectionStartClientId || selectedBlockClientId, nextSelectionEndClientId);
-        }
-      }
-    }

-    function moveSelection(isReverse) {
-      const selectedFirstClientId = getFirstMultiSelectedBlockClientId();
-      const selectedLastClientId = getLastMultiSelectedBlockClientId();
-      const focusedBlockClientId = isReverse ? selectedFirstClientId : selectedLastClientId;
+/**
+ * WordPress dependencies
+ */

-      if (focusedBlockClientId) {
-        selectBlock(focusedBlockClientId);
-      }
-    }
-    /**
-     * Returns true if the given target field is the last in its block which
-     * can be considered for tab transition. For example, in a block with
-     * two text fields, this would return true when reversing from the first
-     * of the two fields, but false when reversing from the second.
-     *
-     * @param {Element} target    Currently focused text field.
-     * @param {boolean} isReverse True if considering as the first field.
-     *
-     * @return {boolean} Whether field is at edge for tab transition.
-     */


-    function isTabbableEdge(target, isReverse) {
-      const closestTabbable = getClosestTabbable(target, isReverse, node);
-      return !closestTabbable || !Object(dom["b" /* isInSameBlock */])(target, closestTabbable);
-    }
+/**
+ * Internal dependencies
+ */

-    function onKeyDown(event) {
-      const {
-        keyCode,
-        target
-      } = event;
-      const isUp = keyCode === external_wp_keycodes_["UP"];
-      const isDown = keyCode === external_wp_keycodes_["DOWN"];
-      const isLeft = keyCode === external_wp_keycodes_["LEFT"];
-      const isRight = keyCode === external_wp_keycodes_["RIGHT"];
-      const isReverse = isUp || isLeft;
-      const isHorizontal = isLeft || isRight;
-      const isVertical = isUp || isDown;
-      const isNav = isHorizontal || isVertical;
-      const isShift = event.shiftKey;
-      const hasModifier = isShift || event.ctrlKey || event.altKey || event.metaKey;
-      const isNavEdge = isVertical ? external_wp_dom_["isVerticalEdge"] : external_wp_dom_["isHorizontalEdge"];
-      const {
-        ownerDocument
-      } = node;
-      const {
-        defaultView
-      } = ownerDocument;

-      if (hasMultiSelection()) {
-        if (isNav) {
-          const action = isShift ? expandSelection : moveSelection;
-          action(isReverse);
-          event.preventDefault();
-        }

-        return;
-      } // When presing any key other than up or down, the initial vertical
-      // position must ALWAYS be reset. The vertical position is saved so
-      // it can be restored as well as possible on sebsequent vertical
-      // arrow key presses. It may not always be possible to restore the
-      // exact same position (such as at an empty line), so it wouldn't be
-      // good to compute the position right before any vertical arrow key
-      // press.


-      if (!isVertical) {
-        verticalRect = null;
-      } else if (!verticalRect) {
-        verticalRect = Object(external_wp_dom_["computeCaretRect"])(defaultView);
-      } // Abort if navigation has already been handled (e.g. RichText
-      // inline boundaries).

+function BlockPatternsCategory(_ref) {
+  let {
+    rootClientId,
+    onInsert,
+    selectedCategory,
+    populatedCategories
+  } = _ref;
+  const [allPatterns,, onClick] = use_patterns_state(onInsert, rootClientId);
+  const getPatternIndex = (0,external_wp_element_namespaceObject.useCallback)(pattern => {
+    var _pattern$categories;

-      if (event.defaultPrevented) {
-        return;
-      }
+    if (!((_pattern$categories = pattern.categories) !== null && _pattern$categories !== void 0 && _pattern$categories.length)) {
+      return Infinity;
+    }

-      if (!isNav) {
-        return;
-      } // Abort if our current target is not a candidate for navigation
-      // (e.g. preserve native input behaviors).
+    const indexedCategories = populatedCategories.reduce((accumulator, _ref2, index) => {
+      let {
+        name
+      } = _ref2;
+      accumulator[name] = index;
+      return accumulator;
+    }, {});
+    return Math.min(...pattern.categories.map(cat => indexedCategories[cat] !== undefined ? indexedCategories[cat] : Infinity));
+  }, [populatedCategories]);
+  const currentCategoryPatterns = (0,external_wp_element_namespaceObject.useMemo)(() => allPatterns.filter(pattern => {
+    var _pattern$categories2;

+    return selectedCategory.name === 'uncategorized' ? getPatternIndex(pattern) === Infinity : (_pattern$categories2 = pattern.categories) === null || _pattern$categories2 === void 0 ? void 0 : _pattern$categories2.includes(selectedCategory.name);
+  }), [allPatterns, selectedCategory]); // Ordering the patterns is important for the async rendering.

-      if (!isNavigationCandidate(target, keyCode, hasModifier)) {
-        return;
-      } // In the case of RTL scripts, right means previous and left means
-      // next, which is the exact reverse of LTR.
+  const orderedPatterns = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return currentCategoryPatterns.sort((a, b) => {
+      return getPatternIndex(a) - getPatternIndex(b);
+    });
+  }, [currentCategoryPatterns, getPatternIndex]);
+  const currentShownPatterns = (0,external_wp_compose_namespaceObject.useAsyncList)(orderedPatterns);

+  if (!currentCategoryPatterns.length) {
+    return null;
+  }

-      const isReverseDir = Object(external_wp_dom_["isRTL"])(target) ? !isReverse : isReverse;
-      const {
-        keepCaretInsideBlock
-      } = getSettings();
-      const selectedBlockClientId = getSelectedBlockClientId();
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__panel-content"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_patterns_list, {
+    shownPatterns: currentShownPatterns,
+    blockPatterns: currentCategoryPatterns,
+    onClickPattern: onClick,
+    label: selectedCategory.label,
+    orientation: "vertical",
+    isDraggable: true
+  }));
+}

-      if (isShift) {
-        const selectionEndClientId = getMultiSelectedBlocksEndClientId();
-        const selectionBeforeEndClientId = getPreviousBlockClientId(selectionEndClientId || selectedBlockClientId);
-        const selectionAfterEndClientId = getNextBlockClientId(selectionEndClientId || selectedBlockClientId);
+function BlockPatternsTabs(_ref3) {
+  let {
+    rootClientId,
+    onInsert,
+    onClickCategory,
+    selectedCategory
+  } = _ref3;
+  const [showPatternsExplorer, setShowPatternsExplorer] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [allPatterns, allCategories] = use_patterns_state();
+  const hasRegisteredCategory = (0,external_wp_element_namespaceObject.useCallback)(pattern => {
+    if (!pattern.categories || !pattern.categories.length) {
+      return false;
+    }

-        if ( // Ensure that there is a target block.
-        (isReverse && selectionBeforeEndClientId || !isReverse && selectionAfterEndClientId) && isTabbableEdge(target, isReverse) && isNavEdge(target, isReverse)) {
-          // Shift key is down, and there is multi selection or we're
-          // at the end of the current block.
-          expandSelection(isReverse);
-          event.preventDefault();
-        }
-      } else if (isVertical && Object(external_wp_dom_["isVerticalEdge"])(target, isReverse) && !keepCaretInsideBlock) {
-        const closestTabbable = getClosestTabbable(target, isReverse, node, true);
+    return pattern.categories.some(cat => allCategories.some(category => category.name === cat));
+  }, [allCategories]); // Remove any empty categories

-        if (closestTabbable) {
-          Object(external_wp_dom_["placeCaretAtVerticalEdge"])(closestTabbable, isReverse, verticalRect);
-          event.preventDefault();
-        }
-      } else if (isHorizontal && defaultView.getSelection().isCollapsed && Object(external_wp_dom_["isHorizontalEdge"])(target, isReverseDir) && !keepCaretInsideBlock) {
-        const closestTabbable = getClosestTabbable(target, isReverseDir, node);
-        Object(external_wp_dom_["placeCaretAtHorizontalEdge"])(closestTabbable, isReverse);
-        event.preventDefault();
+  const populatedCategories = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const categories = allCategories.filter(category => allPatterns.some(pattern => {
+      var _pattern$categories3;
+
+      return (_pattern$categories3 = pattern.categories) === null || _pattern$categories3 === void 0 ? void 0 : _pattern$categories3.includes(category.name);
+    })).sort((_ref4, _ref5) => {
+      let {
+        name: currentName
+      } = _ref4;
+      let {
+        name: nextName
+      } = _ref5;
+
+      if (![currentName, nextName].includes('featured')) {
+        return 0;
       }
+
+      return currentName === 'featured' ? -1 : 1;
+    });
+
+    if (allPatterns.some(pattern => !hasRegisteredCategory(pattern)) && !categories.find(category => category.name === 'uncategorized')) {
+      categories.push({
+        name: 'uncategorized',
+        label: (0,external_wp_i18n_namespaceObject._x)('Uncategorized')
+      });
     }

-    node.addEventListener('mousedown', onMouseDown);
-    node.addEventListener('keydown', onKeyDown);
-    return () => {
-      node.removeEventListener('mousedown', onMouseDown);
-      node.removeEventListener('keydown', onKeyDown);
-    };
-  }, []);
+    return categories;
+  }, [allPatterns, allCategories]);
+  const patternCategory = selectedCategory ? selectedCategory : populatedCategories[0];
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, !showPatternsExplorer && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(pattern_panel, {
+    selectedCategory: patternCategory,
+    patternCategories: populatedCategories,
+    onClickCategory: onClickCategory,
+    openPatternExplorer: () => setShowPatternsExplorer(true)
+  }), (0,external_wp_element_namespaceObject.createElement)(BlockPatternsCategory, {
+    rootClientId: rootClientId,
+    onInsert: onInsert,
+    selectedCategory: patternCategory,
+    populatedCategories: populatedCategories
+  })), showPatternsExplorer && (0,external_wp_element_namespaceObject.createElement)(explorer, {
+    initialCategory: patternCategory,
+    patternCategories: populatedCategories,
+    onModalClose: () => setShowPatternsExplorer(false)
+  }));
 }

-// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
-var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");
+/* harmony default export */ var block_patterns_tab = (BlockPatternsTabs);
+
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/reusable-blocks-tab.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-select-all.js
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -28232,63 +22438,91 @@ var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");



-
-
 /**
  * Internal dependencies
  */


-function useSelectAll() {
-  const {
-    getBlockOrder,
-    getSelectedBlockClientIds,
-    getBlockRootClientId
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    multiSelect
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const isMatch = Object(external_wp_keyboardShortcuts_["__unstableUseShortcutEventMatch"])();
-  return Object(external_wp_compose_["useRefEffect"])(node => {
-    function onKeyDown(event) {
-      if (!isMatch('core/block-editor/select-all', event)) {
-        return;
-      }

-      if (!Object(external_wp_dom_["isEntirelySelected"])(event.target)) {
-        return;
-      }

-      const selectedClientIds = getSelectedBlockClientIds();
-      const [firstSelectedClientId] = selectedClientIds;
-      const rootClientId = getBlockRootClientId(firstSelectedClientId);
-      let blockClientIds = getBlockOrder(rootClientId); // If we have selected all sibling nested blocks, try selecting up a
-      // level. See: https://github.com/WordPress/gutenberg/pull/31859/

-      if (selectedClientIds.length === blockClientIds.length) {
-        blockClientIds = getBlockOrder(getBlockRootClientId(rootClientId));
-      }

-      const firstClientId = Object(external_lodash_["first"])(blockClientIds);
-      const lastClientId = Object(external_lodash_["last"])(blockClientIds);
+function ReusableBlocksList(_ref) {
+  let {
+    onHover,
+    onInsert,
+    rootClientId
+  } = _ref;
+  const [items,,, onSelectItem] = use_block_types_state(rootClientId, onInsert);
+  const filteredItems = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return items.filter(_ref2 => {
+      let {
+        category
+      } = _ref2;
+      return category === 'reusable';
+    });
+  }, [items]);

-      if (firstClientId === lastClientId) {
-        return;
-      }
+  if (filteredItems.length === 0) {
+    return (0,external_wp_element_namespaceObject.createElement)(no_results, null);
+  }

-      multiSelect(firstClientId, lastClientId);
-      event.preventDefault();
-    }
+  return (0,external_wp_element_namespaceObject.createElement)(panel, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Reusable blocks')
+  }, (0,external_wp_element_namespaceObject.createElement)(block_types_list, {
+    items: filteredItems,
+    onSelect: onSelectItem,
+    onHover: onHover,
+    label: (0,external_wp_i18n_namespaceObject.__)('Reusable blocks')
+  }));
+} // The unwrapped component is only exported for use by unit tests.

-    node.addEventListener('keydown', onKeyDown);
-    return () => {
-      node.removeEventListener('keydown', onKeyDown);
-    };
-  }, []);
+/**
+ * List of reusable blocks shown in the "Reusable" tab of the inserter.
+ *
+ * @param {Object}   props              Component props.
+ * @param {?string}  props.rootClientId Client id of block to insert into.
+ * @param {Function} props.onInsert     Callback to run when item is inserted.
+ * @param {Function} props.onHover      Callback to run when item is hovered.
+ *
+ * @return {WPComponent} The component.
+ */
+
+
+function ReusableBlocksTab(_ref3) {
+  let {
+    rootClientId,
+    onInsert,
+    onHover
+  } = _ref3;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(ReusableBlocksList, {
+    onHover: onHover,
+    onInsert: onInsert,
+    rootClientId: rootClientId
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__manage-reusable-blocks-container"
+  }, (0,external_wp_element_namespaceObject.createElement)("a", {
+    className: "block-editor-inserter__manage-reusable-blocks",
+    href: (0,external_wp_url_namespaceObject.addQueryArgs)('edit.php', {
+      post_type: 'wp_block'
+    })
+  }, (0,external_wp_i18n_namespaceObject.__)('Manage Reusable blocks'))));
 }
+/* harmony default export */ var reusable_blocks_tab = (ReusableBlocksTab);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-menu-extension/index.js
+/**
+ * WordPress dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/writing-flow/index.js
+const {
+  Fill: __unstableInserterMenuExtension,
+  Slot
+} = (0,external_wp_components_namespaceObject.createSlotFill)('__unstableInserterMenuExtension');
+__unstableInserterMenuExtension.Slot = Slot;
+/* harmony default export */ var inserter_menu_extension = (__unstableInserterMenuExtension);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/search-results.js


 /**
@@ -28303,6 +22537,7 @@ function useSelectAll() {



+
 /**
  * Internal dependencies
  */
@@ -28312,198 +22547,331 @@ function useSelectAll() {



-function useWritingFlow() {
-  const [before, ref, after] = useTabNav();
-  const hasMultiSelection = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).hasMultiSelection(), []);
-  return [before, Object(external_wp_compose_["useMergeRefs"])([ref, useMultiSelection(), useSelectAll(), useArrowNav(), Object(external_wp_compose_["useRefEffect"])(node => {
-    node.tabIndex = -1;

-    if (!hasMultiSelection) {
-      return;
-    }

-    node.setAttribute('aria-label', Object(external_wp_i18n_["__"])('Multiple selected blocks'));
-    return () => {
-      node.removeAttribute('aria-label');
-    };
-  }, [hasMultiSelection])]), after];
-}

-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]),
-    className: classnames_default()(props.className, 'block-editor-writing-flow')
-  }), children), after);
-}
+
+
+const search_results_INITIAL_INSERTER_RESULTS = 9;
 /**
- * Handles selection and navigation across blocks. This component should be
- * wrapped around BlockList.
+ * Shared reference to an empty array for cases where it is important to avoid
+ * returning a new array reference on every invocation and rerendering the component.
  *
- * @param {Object}    props          Component properties.
- * @param {WPElement} props.children Children to be rendered.
+ * @type {Array}
  */

+const search_results_EMPTY_ARRAY = [];

-/* harmony default export */ var writing_flow = __webpack_exports__["a"] = (Object(external_wp_element_["forwardRef"])(WritingFlow));
-
-
-/***/ }),
+function InserterSearchResults(_ref) {
+  let {
+    filterValue,
+    onSelect,
+    onHover,
+    rootClientId,
+    clientId,
+    isAppender,
+    __experimentalInsertionIndex,
+    maxBlockPatterns,
+    maxBlockTypes,
+    showBlockDirectory = false,
+    isDraggable = true,
+    shouldFocusBlock = true
+  } = _ref;
+  const debouncedSpeak = (0,external_wp_compose_namespaceObject.useDebounce)(external_wp_a11y_namespaceObject.speak, 500);
+  const [destinationRootClientId, onInsertBlocks] = use_insertion_point({
+    onSelect,
+    rootClientId,
+    clientId,
+    isAppender,
+    insertionIndex: __experimentalInsertionIndex,
+    shouldFocusBlock
+  });
+  const [blockTypes, blockTypeCategories, blockTypeCollections, onSelectBlockType] = use_block_types_state(destinationRootClientId, onInsertBlocks);
+  const [patterns,, onSelectBlockPattern] = use_patterns_state(onInsertBlocks, destinationRootClientId);
+  const filteredBlockTypes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const results = searchBlockItems((0,external_lodash_namespaceObject.orderBy)(blockTypes, ['frecency'], ['desc']), blockTypeCategories, blockTypeCollections, filterValue);
+    return maxBlockTypes !== undefined ? results.slice(0, maxBlockTypes) : results;
+  }, [filterValue, blockTypes, blockTypeCategories, blockTypeCollections, maxBlockTypes]);
+  const filteredBlockPatterns = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const results = searchItems(patterns, filterValue);
+    return maxBlockPatterns !== undefined ? results.slice(0, maxBlockPatterns) : results;
+  }, [filterValue, patterns, maxBlockPatterns]); // Announce search results on change

-/***/ "Tqx9":
-/***/ (function(module, exports) {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!filterValue) {
+      return;
+    }

-(function() { module.exports = window["wp"]["primitives"]; }());
+    const count = filteredBlockTypes.length + filteredBlockPatterns.length;
+    const resultsFoundMessage = (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %d: number of results. */
+    (0,external_wp_i18n_namespaceObject._n)('%d result found.', '%d results found.', count), count);
+    debouncedSpeak(resultsFoundMessage);
+  }, [filterValue, debouncedSpeak]);
+  const currentShownBlockTypes = (0,external_wp_compose_namespaceObject.useAsyncList)(filteredBlockTypes, {
+    step: search_results_INITIAL_INSERTER_RESULTS
+  });
+  const currentShownPatterns = (0,external_wp_compose_namespaceObject.useAsyncList)(currentShownBlockTypes.length === filteredBlockTypes.length ? filteredBlockPatterns : search_results_EMPTY_ARRAY);
+  const hasItems = !(0,external_lodash_namespaceObject.isEmpty)(filteredBlockTypes) || !(0,external_lodash_namespaceObject.isEmpty)(filteredBlockPatterns);
+  return (0,external_wp_element_namespaceObject.createElement)(inserter_listbox, null, !showBlockDirectory && !hasItems && (0,external_wp_element_namespaceObject.createElement)(no_results, null), !!filteredBlockTypes.length && (0,external_wp_element_namespaceObject.createElement)(panel, {
+    title: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, null, (0,external_wp_i18n_namespaceObject.__)('Blocks'))
+  }, (0,external_wp_element_namespaceObject.createElement)(block_types_list, {
+    items: currentShownBlockTypes,
+    onSelect: onSelectBlockType,
+    onHover: onHover,
+    label: (0,external_wp_i18n_namespaceObject.__)('Blocks'),
+    isDraggable: isDraggable
+  })), !!filteredBlockTypes.length && !!filteredBlockPatterns.length && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__quick-inserter-separator"
+  }), !!filteredBlockPatterns.length && (0,external_wp_element_namespaceObject.createElement)(panel, {
+    title: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, null, (0,external_wp_i18n_namespaceObject.__)('Block Patterns'))
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__quick-inserter-patterns"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_patterns_list, {
+    shownPatterns: currentShownPatterns,
+    blockPatterns: filteredBlockPatterns,
+    onClickPattern: onSelectBlockPattern,
+    isDraggable: isDraggable
+  }))), showBlockDirectory && (0,external_wp_element_namespaceObject.createElement)(inserter_menu_extension.Slot, {
+    fillProps: {
+      onSelect: onSelectBlockType,
+      onHover,
+      filterValue,
+      hasItems,
+      rootClientId: destinationRootClientId
+    }
+  }, fills => {
+    if (fills.length) {
+      return fills;
+    }

-/***/ }),
+    if (!hasItems) {
+      return (0,external_wp_element_namespaceObject.createElement)(no_results, null);
+    }

-/***/ "U1WI":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    return null;
+  }));
+}

-"use strict";
-/* unused harmony export BlockSettingsMenu */
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _block_settings_dropdown__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1eGn");
+/* harmony default export */ var search_results = (InserterSearchResults);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/tabs.js


 /**
  * WordPress dependencies
  */

-/**
- * Internal dependencies
- */


-function BlockSettingsMenu(_ref) {
+const blocksTab = {
+  name: 'blocks',
+
+  /* translators: Blocks tab title in the block inserter. */
+  title: (0,external_wp_i18n_namespaceObject.__)('Blocks')
+};
+const patternsTab = {
+  name: 'patterns',
+
+  /* translators: Patterns tab title in the block inserter. */
+  title: (0,external_wp_i18n_namespaceObject.__)('Patterns')
+};
+const reusableBlocksTab = {
+  name: 'reusable',
+
+  /* translators: Reusable blocks tab title in the block inserter. */
+  title: (0,external_wp_i18n_namespaceObject.__)('Reusable')
+};
+
+function InserterTabs(_ref) {
   let {
-    clientIds,
-    ...props
+    children,
+    showPatterns = false,
+    showReusableBlocks = false,
+    onSelect
   } = _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
-  }, props))));
-}
-/* harmony default export */ __webpack_exports__["a"] = (BlockSettingsMenu);
+  const tabs = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const tempTabs = [blocksTab];

+    if (showPatterns) {
+      tempTabs.push(patternsTab);
+    }

-/***/ }),
+    if (showReusableBlocks) {
+      tempTabs.push(reusableBlocksTab);
+    }
+
+    return tempTabs;
+  }, [blocksTab, showPatterns, patternsTab, showReusableBlocks, reusableBlocksTab]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TabPanel, {
+    className: "block-editor-inserter__tabs",
+    tabs: tabs,
+    onSelect: onSelect
+  }, children);
+}

-/***/ "VKE3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var tabs = (InserterTabs);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js


 /**
  * WordPress dependencies
  */

-const moreVertical = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (moreVertical);
-

-/***/ }),

-/***/ "VrEk":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__);
 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const InspectorControlsDefault = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__["createSlotFill"])('InspectorControls');
-const InspectorControlsAdvanced = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__["createSlotFill"])('InspectorAdvancedControls');
-const InspectorControlsDimensions = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__["createSlotFill"])('InspectorControlsDimensions');
-const InspectorControlsTypography = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__["createSlotFill"])('InspectorControlsTypography');
-const groups = {
-  default: InspectorControlsDefault,
-  advanced: InspectorControlsAdvanced,
-  dimensions: InspectorControlsDimensions,
-  typography: InspectorControlsTypography
-};
-/* harmony default export */ __webpack_exports__["a"] = (groups);
-
-
-/***/ }),

-/***/ "VyCT":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ IntersectionObserver; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ BlockList; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ BlockListItems; });

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block.js + 6 modules
-var block = __webpack_require__("jBNB");

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+function InserterMenu(_ref) {
+  let {
+    rootClientId,
+    clientId,
+    isAppender,
+    __experimentalInsertionIndex,
+    onSelect,
+    showInserterHelpPanel,
+    showMostUsedBlocks,
+    __experimentalFilterValue = '',
+    shouldFocusBlock = true
+  } = _ref;
+  const [filterValue, setFilterValue] = (0,external_wp_element_namespaceObject.useState)(__experimentalFilterValue);
+  const [hoveredItem, setHoveredItem] = (0,external_wp_element_namespaceObject.useState)(null);
+  const [selectedPatternCategory, setSelectedPatternCategory] = (0,external_wp_element_namespaceObject.useState)(null);
+  const [destinationRootClientId, onInsertBlocks, onToggleInsertionPoint] = use_insertion_point({
+    rootClientId,
+    clientId,
+    isAppender,
+    insertionIndex: __experimentalInsertionIndex,
+    shouldFocusBlock
+  });
+  const {
+    showPatterns,
+    hasReusableBlocks
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _getSettings$__experi;

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js
-var default_block_appender = __webpack_require__("5L8O");
+    const {
+      __experimentalGetAllowedPatterns,
+      getSettings
+    } = select(store);
+    return {
+      showPatterns: !!__experimentalGetAllowedPatterns(destinationRootClientId).length,
+      hasReusableBlocks: !!((_getSettings$__experi = getSettings().__experimentalReusableBlocks) !== null && _getSettings$__experi !== void 0 && _getSettings$__experi.length)
+    };
+  }, [destinationRootClientId]);
+  const onInsert = (0,external_wp_element_namespaceObject.useCallback)((blocks, meta, shouldForceFocusBlock) => {
+    onInsertBlocks(blocks, meta, shouldForceFocusBlock);
+    onSelect();
+  }, [onInsertBlocks, onSelect]);
+  const onInsertPattern = (0,external_wp_element_namespaceObject.useCallback)((blocks, patternName) => {
+    onInsertBlocks(blocks, {
+      patternName
+    });
+    onSelect();
+  }, [onInsertBlocks, onSelect]);
+  const onHover = (0,external_wp_element_namespaceObject.useCallback)(item => {
+    onToggleInsertionPoint(!!item);
+    setHoveredItem(item);
+  }, [onToggleInsertionPoint, setHoveredItem]);
+  const onClickPatternCategory = (0,external_wp_element_namespaceObject.useCallback)(patternCategory => {
+    setSelectedPatternCategory(patternCategory);
+  }, [setSelectedPatternCategory]);
+  const blocksTab = (0,external_wp_element_namespaceObject.useMemo)(() => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__block-list"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_types_tab, {
+    rootClientId: destinationRootClientId,
+    onInsert: onInsert,
+    onHover: onHover,
+    showMostUsedBlocks: showMostUsedBlocks
+  })), showInserterHelpPanel && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__tips"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    as: "h2"
+  }, (0,external_wp_i18n_namespaceObject.__)('A tip for using the block editor')), (0,external_wp_element_namespaceObject.createElement)(tips, null))), [destinationRootClientId, onInsert, onHover, filterValue, showMostUsedBlocks, showInserterHelpPanel]);
+  const patternsTab = (0,external_wp_element_namespaceObject.useMemo)(() => (0,external_wp_element_namespaceObject.createElement)(block_patterns_tab, {
+    rootClientId: destinationRootClientId,
+    onInsert: onInsertPattern,
+    onClickCategory: onClickPatternCategory,
+    selectedCategory: selectedPatternCategory
+  }), [destinationRootClientId, onInsertPattern, onClickPatternCategory, selectedPatternCategory]);
+  const reusableBlocksTab = (0,external_wp_element_namespaceObject.useMemo)(() => (0,external_wp_element_namespaceObject.createElement)(reusable_blocks_tab, {
+    rootClientId: destinationRootClientId,
+    onInsert: onInsert,
+    onHover: onHover
+  }), [destinationRootClientId, onInsert, onHover]);
+  const getCurrentTab = (0,external_wp_element_namespaceObject.useCallback)(tab => {
+    if (tab.name === 'blocks') {
+      return blocksTab;
+    } else if (tab.name === 'patterns') {
+      return patternsTab;
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js
-var button_block_appender = __webpack_require__("I5Hl");
+    return reusableBlocksTab;
+  }, [blocksTab, patternsTab, reusableBlocksTab]);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__menu"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__main-area"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__content"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SearchControl, {
+    className: "block-editor-inserter__search",
+    onChange: value => {
+      if (hoveredItem) setHoveredItem(null);
+      setFilterValue(value);
+    },
+    value: filterValue,
+    label: (0,external_wp_i18n_namespaceObject.__)('Search for blocks and patterns'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Search')
+  }), !!filterValue && (0,external_wp_element_namespaceObject.createElement)(search_results, {
+    filterValue: filterValue,
+    onSelect: onSelect,
+    onHover: onHover,
+    rootClientId: rootClientId,
+    clientId: clientId,
+    isAppender: isAppender,
+    __experimentalInsertionIndex: __experimentalInsertionIndex,
+    showBlockDirectory: true,
+    shouldFocusBlock: shouldFocusBlock
+  }), !filterValue && (showPatterns || hasReusableBlocks) && (0,external_wp_element_namespaceObject.createElement)(tabs, {
+    showPatterns: showPatterns,
+    showReusableBlocks: hasReusableBlocks
+  }, getCurrentTab), !filterValue && !showPatterns && !hasReusableBlocks && blocksTab)), showInserterHelpPanel && hoveredItem && (0,external_wp_element_namespaceObject.createElement)(preview_panel, {
+    item: hoveredItem
+  }));
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+/* harmony default export */ var menu = (InserterMenu);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list-appender/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/quick-inserter.js


 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */



+
+
 /**
  * Internal dependencies
  */
@@ -28512,354 +22880,512 @@ var store = __webpack_require__("BhPs");



-function BlockListAppender(_ref) {
+
+const SEARCH_THRESHOLD = 6;
+const SHOWN_BLOCK_TYPES = 6;
+const SHOWN_BLOCK_PATTERNS = 2;
+function QuickInserter(_ref) {
   let {
-    blockClientIds,
+    onSelect,
     rootClientId,
-    canInsertDefaultBlock,
-    isLocked,
-    renderAppender: CustomAppender,
-    className,
-    selectedBlockClientId,
-    tagName: TagName = 'div'
+    clientId,
+    isAppender
   } = _ref;
+  const [filterValue, setFilterValue] = (0,external_wp_element_namespaceObject.useState)('');
+  const [destinationRootClientId, onInsertBlocks] = use_insertion_point({
+    onSelect,
+    rootClientId,
+    clientId,
+    isAppender
+  });
+  const [blockTypes] = use_block_types_state(destinationRootClientId, onInsertBlocks);
+  const [patterns] = use_patterns_state(onInsertBlocks, destinationRootClientId);
+  const showPatterns = patterns.length && !!filterValue;
+  const showSearch = showPatterns && patterns.length > SEARCH_THRESHOLD || blockTypes.length > SEARCH_THRESHOLD;
+  const {
+    setInserterIsOpened,
+    insertionIndex
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSettings,
+      getBlockIndex,
+      getBlockCount
+    } = select(store);
+    const index = getBlockIndex(clientId);
+    return {
+      setInserterIsOpened: getSettings().__experimentalSetIsInserterOpened,
+      insertionIndex: index === -1 ? getBlockCount() : index
+    };
+  }, [clientId, rootClientId]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (setInserterIsOpened) {
+      setInserterIsOpened(false);
+    }
+  }, [setInserterIsOpened]); // When clicking Browse All select the appropriate block so as
+  // the insertion point can work as expected

-  if (isLocked || CustomAppender === false) {
-    return null;
-  }
-
-  let appender;
+  const onBrowseAll = () => {
+    setInserterIsOpened({
+      rootClientId,
+      insertionIndex,
+      filterValue
+    });
+  };

-  if (CustomAppender) {
-    // Prefer custom render prop if provided.
-    appender = Object(external_wp_element_["createElement"])(CustomAppender, null);
-  } else {
-    const isDocumentAppender = !rootClientId;
-    const isParentSelected = selectedBlockClientId === rootClientId;
-    const isAnotherDefaultAppenderAlreadyDisplayed = selectedBlockClientId && !blockClientIds.includes(selectedBlockClientId);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('block-editor-inserter__quick-inserter', {
+      'has-search': showSearch,
+      'has-expand': setInserterIsOpened
+    })
+  }, showSearch && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SearchControl, {
+    className: "block-editor-inserter__search",
+    value: filterValue,
+    onChange: value => {
+      setFilterValue(value);
+    },
+    label: (0,external_wp_i18n_namespaceObject.__)('Search for blocks and patterns'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Search')
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inserter__quick-inserter-results"
+  }, (0,external_wp_element_namespaceObject.createElement)(search_results, {
+    filterValue: filterValue,
+    onSelect: onSelect,
+    rootClientId: rootClientId,
+    clientId: clientId,
+    isAppender: isAppender,
+    maxBlockPatterns: showPatterns ? SHOWN_BLOCK_PATTERNS : 0,
+    maxBlockTypes: SHOWN_BLOCK_TYPES,
+    isDraggable: false
+  })), setInserterIsOpened && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "block-editor-inserter__quick-inserter-expand",
+    onClick: onBrowseAll,
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Browse all. This will open the main inserter panel in the editor toolbar.')
+  }, (0,external_wp_i18n_namespaceObject.__)('Browse all')));
+}

-    if (!isDocumentAppender && !isParentSelected && (!selectedBlockClientId || isAnotherDefaultAppenderAlreadyDisplayed)) {
-      return null;
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/index.js

-    if (canInsertDefaultBlock) {
-      // Render the default block appender when renderAppender has not been
-      // provided and the context supports use of the default appender.
-      appender = Object(external_wp_element_["createElement"])(default_block_appender["a" /* default */], {
-        rootClientId: rootClientId,
-        lastBlockClientId: Object(external_lodash_["last"])(blockClientIds)
-      });
-    } else {
-      // Fallback in the case no renderAppender has been provided and the
-      // default block can't be inserted.
-      appender = Object(external_wp_element_["createElement"])(button_block_appender["b" /* default */], {
-        rootClientId: rootClientId,
-        className: "block-list-appender__toggle"
-      });
-    }
-  }

-  return Object(external_wp_element_["createElement"])(TagName // A `tabIndex` is used on the wrapping `div` element in order to
-  // force a focus event to occur when an appender `button` element
-  // is clicked. In some browsers (Firefox, Safari), button clicks do
-  // not emit a focus event, which could cause this event to propagate
-  // unexpectedly. The `tabIndex` ensures that the interaction is
-  // captured as a focus, without also adding an extra tab stop.
-  //
-  // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
-  , {
-    tabIndex: -1,
-    className: classnames_default()('block-list-appender wp-block', className) // The appender exists to let you add the first Paragraph before
-    // any is inserted. To that end, this appender should visually be
-    // presented as a block. That means theme CSS should style it as if
-    // it were an empty paragraph block. That means a `wp-block` class to
-    // ensure the width is correct, and a [data-block] attribute to ensure
-    // the correct margin is applied, especially for classic themes which
-    // have commonly targeted that attribute for margins.
-    ,
-    "data-block": true
-  }, appender);
-}

-/* harmony default export */ var block_list_appender = (Object(external_wp_data_["withSelect"])((select, _ref2) => {
-  let {
-    rootClientId
-  } = _ref2;
-  const {
-    getBlockOrder,
-    canInsertBlockType,
-    getTemplateLock,
-    getSelectedBlockClientId
-  } = select(store["a" /* store */]);
-  return {
-    isLocked: !!getTemplateLock(rootClientId),
-    blockClientIds: getBlockOrder(rootClientId),
-    canInsertDefaultBlock: canInsertBlockType(Object(external_wp_blocks_["getDefaultBlockName"])(), rootClientId),
-    selectedBlockClientId: getSelectedBlockClientId()
-  };
-})(BlockListAppender));
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/insertion-point.js
-var insertion_point = __webpack_require__("PS/H");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-in-between-inserter.js
 /**
  * WordPress dependencies
  */



+
+
+
+
+
+
 /**
  * Internal dependencies
  */



-function useInBetweenInserter() {
-  const openRef = Object(external_wp_element_["useContext"])(insertion_point["a" /* InsertionPointOpenRef */]);
-  const hasReducedUI = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).getSettings().hasReducedUI, []);
-  const {
-    getBlockListSettings,
-    getBlockRootClientId,
-    getBlockIndex,
-    isBlockInsertionPointVisible,
-    isMultiSelecting,
-    getSelectedBlockClientIds,
-    getTemplateLock
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    showInsertionPoint,
-    hideInsertionPoint
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  return Object(external_wp_compose_["useRefEffect"])(node => {
-    if (hasReducedUI) {
-      return;
-    }
-
-    function onMouseMove(event) {
-      var _getBlockListSettings, _element$parentElemen;
-
-      if (openRef.current) {
-        return;
-      }

-      if (isMultiSelecting()) {
-        return;
-      }

-      if (!event.target.classList.contains('block-editor-block-list__layout')) {
-        if (isBlockInsertionPointVisible()) {
-          hideInsertionPoint();
-        }
+const defaultRenderToggle = _ref => {
+  let {
+    onToggle,
+    disabled,
+    isOpen,
+    blockTitle,
+    hasSingleBlockType,
+    toggleProps = {}
+  } = _ref;
+  let label;

-        return;
-      }
+  if (hasSingleBlockType) {
+    label = (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: the name of the block when there is only one
+    (0,external_wp_i18n_namespaceObject._x)('Add %s', 'directly add the only allowed block'), blockTitle);
+  } else {
+    label = (0,external_wp_i18n_namespaceObject._x)('Add block', 'Generic label for block inserter button');
+  }

-      let rootClientId;
+  const {
+    onClick,
+    ...rest
+  } = toggleProps; // Handle both onClick functions from the toggle and the parent component

-      if (!event.target.classList.contains('is-root-container')) {
-        const blockElement = !!event.target.getAttribute('data-block') ? event.target : event.target.closest('[data-block]');
-        rootClientId = blockElement.getAttribute('data-block');
-      } // Don't set the insertion point if the template is locked.
+  function handleClick(event) {
+    if (onToggle) {
+      onToggle(event);
+    }

+    if (onClick) {
+      onClick(event);
+    }
+  }

-      if (getTemplateLock(rootClientId)) {
-        return;
-      }
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({
+    icon: library_plus,
+    label: label,
+    tooltipPosition: "bottom",
+    onClick: handleClick,
+    className: "block-editor-inserter__toggle",
+    "aria-haspopup": !hasSingleBlockType ? 'true' : false,
+    "aria-expanded": !hasSingleBlockType ? isOpen : false,
+    disabled: disabled
+  }, rest));
+};

-      const orientation = ((_getBlockListSettings = getBlockListSettings(rootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation) || 'vertical';
-      const rect = event.target.getBoundingClientRect();
-      const offsetTop = event.clientY - rect.top;
-      const offsetLeft = event.clientX - rect.left;
-      const children = Array.from(event.target.children);
-      let element = children.find(blockEl => {
-        return blockEl.classList.contains('wp-block') && orientation === 'vertical' && blockEl.offsetTop > offsetTop || blockEl.classList.contains('wp-block') && orientation === 'horizontal' && blockEl.offsetLeft > offsetLeft;
-      });
+class Inserter extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.onToggle = this.onToggle.bind(this);
+    this.renderToggle = this.renderToggle.bind(this);
+    this.renderContent = this.renderContent.bind(this);
+  }

-      if (!element) {
-        return;
-      } // The block may be in an alignment wrapper, so check the first direct
-      // child if the element has no ID.
+  onToggle(isOpen) {
+    const {
+      onToggle
+    } = this.props; // Surface toggle callback to parent component

+    if (onToggle) {
+      onToggle(isOpen);
+    }
+  }
+  /**
+   * Render callback to display Dropdown toggle element.
+   *
+   * @param {Object}   options
+   * @param {Function} options.onToggle Callback to invoke when toggle is
+   *                                    pressed.
+   * @param {boolean}  options.isOpen   Whether dropdown is currently open.
+   *
+   * @return {WPElement} Dropdown toggle element.
+   */

-      if (!element.id) {
-        element = element.firstElementChild;

-        if (!element) {
-          return;
-        }
-      } // Don't show the insertion point if a parent block has an "overlay"
-      // See https://github.com/WordPress/gutenberg/pull/34012#pullrequestreview-727762337
+  renderToggle(_ref2) {
+    let {
+      onToggle,
+      isOpen
+    } = _ref2;
+    const {
+      disabled,
+      blockTitle,
+      hasSingleBlockType,
+      directInsertBlock,
+      toggleProps,
+      hasItems,
+      renderToggle = defaultRenderToggle
+    } = this.props;
+    return renderToggle({
+      onToggle,
+      isOpen,
+      disabled: disabled || !hasItems,
+      blockTitle,
+      hasSingleBlockType,
+      directInsertBlock,
+      toggleProps
+    });
+  }
+  /**
+   * Render callback to display Dropdown content element.
+   *
+   * @param {Object}   options
+   * @param {Function} options.onClose Callback to invoke when dropdown is
+   *                                   closed.
+   *
+   * @return {WPElement} Dropdown content element.
+   */


-      const parentOverlay = (_element$parentElemen = element.parentElement) === null || _element$parentElemen === void 0 ? void 0 : _element$parentElemen.closest('.block-editor-block-content-overlay.overlay-active');
+  renderContent(_ref3) {
+    let {
+      onClose
+    } = _ref3;
+    const {
+      rootClientId,
+      clientId,
+      isAppender,
+      showInserterHelpPanel,
+      // This prop is experimental to give some time for the quick inserter to mature
+      // Feel free to make them stable after a few releases.
+      __experimentalIsQuick: isQuick
+    } = this.props;

-      if (parentOverlay) {
-        return;
-      }
+    if (isQuick) {
+      return (0,external_wp_element_namespaceObject.createElement)(QuickInserter, {
+        onSelect: () => {
+          onClose();
+        },
+        rootClientId: rootClientId,
+        clientId: clientId,
+        isAppender: isAppender
+      });
+    }

-      const clientId = element.id.slice('block-'.length);
+    return (0,external_wp_element_namespaceObject.createElement)(menu, {
+      onSelect: () => {
+        onClose();
+      },
+      rootClientId: rootClientId,
+      clientId: clientId,
+      isAppender: isAppender,
+      showInserterHelpPanel: showInserterHelpPanel
+    });
+  }

-      if (!clientId) {
-        return;
-      } // Don't show the inserter when hovering above (conflicts with
-      // block toolbar) or inside selected block(s).
+  render() {
+    const {
+      position,
+      hasSingleBlockType,
+      directInsertBlock,
+      insertOnlyAllowedBlock,
+      __experimentalIsQuick: isQuick,
+      onSelectOrClose
+    } = this.props;

+    if (hasSingleBlockType || directInsertBlock !== null && directInsertBlock !== void 0 && directInsertBlock.length) {
+      return this.renderToggle({
+        onToggle: insertOnlyAllowedBlock
+      });
+    }

-      if (getSelectedBlockClientIds().includes(clientId)) {
-        return;
-      }
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+      className: "block-editor-inserter",
+      contentClassName: classnames_default()('block-editor-inserter__popover', {
+        'is-quick': isQuick
+      }),
+      position: position,
+      onToggle: this.onToggle,
+      expandOnMobile: true,
+      headerTitle: (0,external_wp_i18n_namespaceObject.__)('Add a block'),
+      renderToggle: this.renderToggle,
+      renderContent: this.renderContent,
+      onClose: onSelectOrClose
+    });
+  }

-      const elementRect = element.getBoundingClientRect();
+}

-      if (orientation === 'horizontal' && (event.clientY > elementRect.bottom || event.clientY < elementRect.top) || orientation === 'vertical' && (event.clientX > elementRect.right || event.clientX < elementRect.left)) {
-        if (isBlockInsertionPointVisible()) {
-          hideInsertionPoint();
-        }
+/* harmony default export */ var inserter = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)((select, _ref4) => {
+  let {
+    clientId,
+    rootClientId
+  } = _ref4;
+  const {
+    getBlockRootClientId,
+    hasInserterItems,
+    __experimentalGetAllowedBlocks,
+    __experimentalGetDirectInsertBlock
+  } = select(store);
+  const {
+    getBlockVariations
+  } = select(external_wp_blocks_namespaceObject.store);
+  rootClientId = rootClientId || getBlockRootClientId(clientId) || undefined;

-        return;
-      }
+  const allowedBlocks = __experimentalGetAllowedBlocks(rootClientId);

-      const index = getBlockIndex(clientId); // Don't show the in-between inserter before the first block in
-      // the list (preserves the original behaviour).
+  const directInsertBlock = __experimentalGetDirectInsertBlock(rootClientId);

-      if (index === 0) {
-        if (isBlockInsertionPointVisible()) {
-          hideInsertionPoint();
-        }
+  const hasSingleBlockType = (0,external_lodash_namespaceObject.size)(allowedBlocks) === 1 && (0,external_lodash_namespaceObject.size)(getBlockVariations(allowedBlocks[0].name, 'inserter')) === 0;
+  let allowedBlockType = false;

-        return;
-      }
+  if (hasSingleBlockType) {
+    allowedBlockType = allowedBlocks[0];
+  }

-      showInsertionPoint(rootClientId, index, {
-        __unstableWithInserter: true
-      });
-    }
+  return {
+    hasItems: hasInserterItems(rootClientId),
+    hasSingleBlockType,
+    blockTitle: allowedBlockType ? allowedBlockType.title : '',
+    allowedBlockType,
+    directInsertBlock,
+    rootClientId
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, ownProps, _ref5) => {
+  let {
+    select
+  } = _ref5;
+  return {
+    insertOnlyAllowedBlock() {
+      const {
+        rootClientId,
+        clientId,
+        isAppender,
+        hasSingleBlockType,
+        allowedBlockType,
+        directInsertBlock,
+        onSelectOrClose
+      } = ownProps;

-    node.addEventListener('mousemove', onMouseMove);
-    return () => {
-      node.removeEventListener('mousemove', onMouseMove);
-    };
-  }, [openRef, getBlockListSettings, getBlockRootClientId, getBlockIndex, isBlockInsertionPointVisible, isMultiSelecting, showInsertionPoint, hideInsertionPoint, getSelectedBlockClientIds]);
-}
+      if (!hasSingleBlockType && !(directInsertBlock !== null && directInsertBlock !== void 0 && directInsertBlock.length)) {
+        return;
+      }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/pre-parse-patterns.js
-/**
- * WordPress dependencies
- */
+      function getInsertionIndex() {
+        const {
+          getBlockIndex,
+          getBlockSelectionEnd,
+          getBlockOrder,
+          getBlockRootClientId
+        } = select(store); // If the clientId is defined, we insert at the position of the block.

+        if (clientId) {
+          return getBlockIndex(clientId);
+        } // If there a selected block, we insert after the selected block.

-/**
- * Internal dependencies
- */

+        const end = getBlockSelectionEnd();

+        if (!isAppender && end && getBlockRootClientId(end) === rootClientId) {
+          return getBlockIndex(end) + 1;
+        } // Otherwise, we insert at the end of the current rootClientId

-const requestIdleCallback = (() => {
-  if (typeof window === 'undefined') {
-    return callback => {
-      setTimeout(() => callback(Date.now()), 0);
-    };
-  }

-  return window.requestIdleCallback || window.requestAnimationFrame;
-})();
+        return getBlockOrder(rootClientId).length;
+      }

-const cancelIdleCallback = (() => {
-  if (typeof window === 'undefined') {
-    return clearTimeout;
-  }
+      const {
+        insertBlock
+      } = dispatch(store);
+      const blockToInsert = directInsertBlock !== null && directInsertBlock !== void 0 && directInsertBlock.length ? (0,external_wp_blocks_namespaceObject.createBlock)(...directInsertBlock) : (0,external_wp_blocks_namespaceObject.createBlock)(allowedBlockType.name);
+      insertBlock(blockToInsert, getInsertionIndex(), rootClientId);

-  return window.cancelIdleCallback || window.cancelAnimationFrame;
-})();
+      if (onSelectOrClose) {
+        onSelectOrClose();
+      }

-function usePreParsePatterns() {
-  const patterns = Object(external_wp_data_["useSelect"])(_select => _select(store["a" /* store */]).getSettings().__experimentalBlockPatterns, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!(patterns !== null && patterns !== void 0 && patterns.length)) {
-      return;
+      const message = (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: the name of the block that has been added
+      (0,external_wp_i18n_namespaceObject.__)('%s block added'), allowedBlockType.title);
+      (0,external_wp_a11y_namespaceObject.speak)(message);
     }

-    let handle;
-    let index = -1;
-
-    const callback = () => {
-      index++;
-
-      if (index >= patterns.length) {
-        return;
-      }
+  };
+}), // The global inserter should always be visible, we are using ( ! isAppender && ! rootClientId && ! clientId ) as
+// a way to detect the global Inserter.
+(0,external_wp_compose_namespaceObject.ifCondition)(_ref6 => {
+  let {
+    hasItems,
+    isAppender,
+    rootClientId,
+    clientId
+  } = _ref6;
+  return hasItems || !isAppender && !rootClientId && !clientId;
+})])(Inserter));

-      Object(external_wp_data_["select"])(store["a" /* store */]).__experimentalGetParsedPattern(patterns[index].name);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js

-      handle = requestIdleCallback(callback);
-    };

-    handle = requestIdleCallback(callback);
-    return () => cancelIdleCallback(handle);
-  }, [patterns]);
-  return null;
-}
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/layout.js
-var block_list_layout = __webpack_require__("w8sn");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/block-popover.js + 1 modules
-var block_popover = __webpack_require__("xCFn");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/back-compat.js


 /**
- * WordPress dependencies
+ * Internal dependencies
  */



 /**
- * Internal dependencies
+ * Zero width non-breaking space, used as padding for the paragraph when it is
+ * empty.
  */

-
-
-function BlockToolsBackCompat(_ref) {
+const ZWNBSP = '\ufeff';
+function DefaultBlockAppender(_ref) {
   let {
-    children
+    isLocked,
+    isVisible,
+    onAppend,
+    showPrompt,
+    placeholder,
+    rootClientId
   } = _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.

-  if (openRef || isDisabled) {
-    return children;
+  if (isLocked || !isVisible) {
+    return null;
   }

-  external_wp_deprecated_default()('wp.components.Popover.Slot name="block-toolbar"', {
-    alternative: 'wp.blockEditor.BlockTools'
-  });
-  return Object(external_wp_element_["createElement"])(insertion_point["b" /* default */], {
-    __unstablePopoverSlot: "block-toolbar"
-  }, Object(external_wp_element_["createElement"])(block_popover["a" /* default */], {
-    __unstablePopoverSlot: "block-toolbar"
-  }), children);
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-selection-clearer/index.js
-var block_selection_clearer = __webpack_require__("zQI6");
+  const value = (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(placeholder) || (0,external_wp_i18n_namespaceObject.__)('Type / to choose a block');

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js + 7 modules
-var inner_blocks = __webpack_require__("p3NJ");
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    "data-root-client-id": rootClientId || '',
+    className: classnames_default()('block-editor-default-block-appender', {
+      'has-visible-prompt': showPrompt
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)("p", {
+    tabIndex: "0" // Only necessary for `useCanvasClickRedirect` to consider it
+    // as a target. Ideally it should consider any tabbable target,
+    // but the inserter is rendered in place while it should be
+    // rendered in a popover, just like it does for an empty
+    // paragraph block.
+    ,
+    contentEditable: true,
+    suppressContentEditableWarning: true // We want this element to be styled as a paragraph by themes.
+    // eslint-disable-next-line jsx-a11y/no-noninteractive-element-to-interactive-role
+    ,
+    role: "button",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Add block') // A wrapping container for this one already has the wp-block className.
+    ,
+    className: "block-editor-default-block-appender__content",
+    onFocus: onAppend
+  }, showPrompt ? value : ZWNBSP), (0,external_wp_element_namespaceObject.createElement)(inserter, {
+    rootClientId: rootClientId,
+    position: "bottom right",
+    isAppender: true,
+    __experimentalIsQuick: true
+  }));
+}
+/* harmony default export */ var default_block_appender = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)((select, ownProps) => {
+  const {
+    getBlockCount,
+    getBlockName,
+    isBlockValid,
+    getSettings,
+    getTemplateLock
+  } = select(store);
+  const isEmpty = !getBlockCount(ownProps.rootClientId);
+  const isLastBlockDefault = getBlockName(ownProps.lastBlockClientId) === (0,external_wp_blocks_namespaceObject.getDefaultBlockName)();
+  const isLastBlockValid = isBlockValid(ownProps.lastBlockClientId);
+  const {
+    bodyPlaceholder
+  } = getSettings();
+  return {
+    isVisible: isEmpty || !isLastBlockDefault || !isLastBlockValid,
+    showPrompt: isEmpty,
+    isLocked: !!getTemplateLock(ownProps.rootClientId),
+    placeholder: bodyPlaceholder
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, ownProps) => {
+  const {
+    insertDefaultBlock,
+    startTyping
+  } = dispatch(store);
+  return {
+    onAppend() {
+      const {
+        rootClientId
+      } = ownProps;
+      insertDefaultBlock(undefined, rootClientId);
+      startTyping();
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js
-var context = __webpack_require__("ur0x");
+  };
+}))(DefaultBlockAppender));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js


 /**
@@ -28873,206 +23399,103 @@ var context = __webpack_require__("ur0x");



+
+
 /**
  * Internal dependencies
  */



-
-
-
-
-
-
-
-
-const elementContext = Object(external_wp_element_["createContext"])();
-const IntersectionObserver = Object(external_wp_element_["createContext"])();
-
-function Root(_ref) {
+function ButtonBlockAppender(_ref, ref) {
   let {
+    rootClientId,
     className,
-    ...settings
+    onFocus,
+    tabIndex
   } = _ref;
-  const [element, setElement] = Object(external_wp_element_["useState"])();
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
-  const {
-    isOutlineMode,
-    isFocusMode,
-    isNavigationMode
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getSettings,
-      isNavigationMode: _isNavigationMode
-    } = select(store["a" /* store */]);
-    const {
-      outlineMode,
-      focusMode
-    } = getSettings();
-    return {
-      isOutlineMode: outlineMode,
-      isFocusMode: focusMode,
-      isNavigationMode: _isNavigationMode()
-    };
-  }, []);
-  const innerBlocksProps = Object(inner_blocks["b" /* useInnerBlocksProps */])({
-    ref: Object(external_wp_compose_["useMergeRefs"])([Object(block_selection_clearer["b" /* useBlockSelectionClearer */])(), useInBetweenInserter(), setElement]),
-    className: classnames_default()('is-root-container', className, {
-      'is-outline-mode': isOutlineMode,
-      'is-focus-mode': isFocusMode && isLargeViewport,
-      'is-navigate-mode': isNavigationMode
-    })
-  }, settings);
-  return Object(external_wp_element_["createElement"])(elementContext.Provider, {
-    value: element
-  }, Object(external_wp_element_["createElement"])("div", innerBlocksProps));
-}
-
-function BlockList(settings) {
-  usePreParsePatterns();
-  return Object(external_wp_element_["createElement"])(BlockToolsBackCompat, null, Object(external_wp_element_["createElement"])(context["a" /* BlockEditContextProvider */], {
-    value: context["b" /* DEFAULT_BLOCK_EDIT_CONTEXT */]
-  }, Object(external_wp_element_["createElement"])(Root, settings)));
-}
-BlockList.__unstableElementContext = elementContext;
-
-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 {
-      IntersectionObserver: Observer
-    } = window;
-
-    if (!Observer) {
-      return;
-    }
-
-    return new Observer(entries => {
-      setIntersectingBlocks(oldIntersectingBlocks => {
-        const newIntersectingBlocks = new Set(oldIntersectingBlocks);
-
-        for (const entry of entries) {
-          const clientId = entry.target.getAttribute('data-block');
-          const action = entry.isIntersecting ? 'add' : 'delete';
-          newIntersectingBlocks[action](clientId);
-        }
-
-        return newIntersectingBlocks;
-      });
-    });
-  }, [setIntersectingBlocks]);
-  const {
-    order,
-    selectedBlocks
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockOrder,
-      getSelectedBlockClientIds
-    } = select(store["a" /* store */]);
-    return {
-      order: getBlockOrder(rootClientId),
-      selectedBlocks: getSelectedBlockClientIds()
-    };
-  }, [rootClientId]);
-  return Object(external_wp_element_["createElement"])(block_list_layout["a" /* LayoutProvider */], {
-    value: layout
-  }, Object(external_wp_element_["createElement"])(IntersectionObserver.Provider, {
-    value: intersectionObserver
-  }, order.map(clientId => Object(external_wp_element_["createElement"])(external_wp_data_["AsyncModeProvider"], {
-    key: clientId,
-    value: // Only provide data asynchronously if the block is
-    // not visible and not selected.
-    !intersectingBlocks.has(clientId) && !selectedBlocks.includes(clientId)
-  }, Object(external_wp_element_["createElement"])(block["b" /* default */], {
-    rootClientId: rootClientId,
-    clientId: clientId
-  })))), order.length < 1 && placeholder, Object(external_wp_element_["createElement"])(block_list_appender, {
-    tagName: __experimentalAppenderTagName,
+  return (0,external_wp_element_namespaceObject.createElement)(inserter, {
+    position: "bottom center",
     rootClientId: rootClientId,
-    renderAppender: renderAppender
-  }));
-}
-
-function BlockListItems(props) {
-  // This component needs to always be synchronous as it's the one changing
-  // the async mode depending on the block selection.
-  return Object(external_wp_element_["createElement"])(external_wp_data_["AsyncModeProvider"], {
-    value: false
-  }, Object(external_wp_element_["createElement"])(Items, props));
-}
+    __experimentalIsQuick: true,
+    renderToggle: _ref2 => {
+      let {
+        onToggle,
+        disabled,
+        isOpen,
+        blockTitle,
+        hasSingleBlockType
+      } = _ref2;
+      let label;

+      if (hasSingleBlockType) {
+        label = (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: the name of the block when there is only one
+        (0,external_wp_i18n_namespaceObject._x)('Add %s', 'directly add the only allowed block'), blockTitle);
+      } else {
+        label = (0,external_wp_i18n_namespaceObject._x)('Add block', 'Generic label for block inserter button');
+      }

-/***/ }),
+      const isToggleButton = !hasSingleBlockType;
+      let inserterButton = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        ref: ref,
+        onFocus: onFocus,
+        tabIndex: tabIndex,
+        className: classnames_default()(className, 'block-editor-button-block-appender'),
+        onClick: onToggle,
+        "aria-haspopup": isToggleButton ? 'true' : undefined,
+        "aria-expanded": isToggleButton ? isOpen : undefined,
+        disabled: disabled,
+        label: label
+      }, !hasSingleBlockType && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+        as: "span"
+      }, label), (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+        icon: library_plus
+      }));

-/***/ "WbBG":
-/***/ (function(module, exports, __webpack_require__) {
+      if (isToggleButton || hasSingleBlockType) {
+        inserterButton = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Tooltip, {
+          text: label
+        }, inserterButton);
+      }

-"use strict";
+      return inserterButton;
+    },
+    isAppender: true
+  });
+}
 /**
- * Copyright (c) 2013-present, Facebook, Inc.
+ * Use `ButtonBlockAppender` instead.
  *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * @deprecated
  */


+const ButtonBlockerAppender = (0,external_wp_element_namespaceObject.forwardRef)((props, ref) => {
+  external_wp_deprecated_default()(`wp.blockEditor.ButtonBlockerAppender`, {
+    alternative: 'wp.blockEditor.ButtonBlockAppender'
+  });
+  return ButtonBlockAppender(props, ref);
+});
+/**
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/button-block-appender/README.md
+ */

-var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
-
-module.exports = ReactPropTypesSecret;
-
-
-/***/ }),
-
-/***/ "Wg7J":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var button_block_appender = ((0,external_wp_element_namespaceObject.forwardRef)(ButtonBlockAppender));

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("gdqT");
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _block_types_list__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("6ZVF");
-/* harmony import */ var _block_patterns_list__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("Fmc1");
-/* harmony import */ var _inserter_menu_extension__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("mlss");
-/* harmony import */ var _panel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("mdLt");
-/* harmony import */ var _no_results__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("LolH");
-/* harmony import */ var _hooks_use_insertion_point__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("AORF");
-/* harmony import */ var _hooks_use_patterns_state__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("nQUx");
-/* harmony import */ var _hooks_use_block_types_state__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("+G0a");
-/* harmony import */ var _search_items__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("pOGT");
-/* harmony import */ var _inserter_listbox__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("wiT/");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list-appender/index.js


 /**
  * External dependencies
  */

+
 /**
  * WordPress dependencies
  */



-
-
-
 /**
  * Internal dependencies
  */
@@ -29081,722 +23504,658 @@ module.exports = ReactPropTypesSecret;



-
-
-
-
-
-
-const INITIAL_INSERTER_RESULTS = 9;
-/**
- * Shared reference to an empty array for cases where it is important to avoid
- * returning a new array reference on every invocation and rerendering the component.
- *
- * @type {Array}
- */
-
-const EMPTY_ARRAY = [];
-
-function InserterSearchResults(_ref) {
+function BlockListAppender(_ref) {
   let {
-    filterValue,
-    onSelect,
-    onHover,
+    blockClientIds,
     rootClientId,
-    clientId,
-    isAppender,
-    __experimentalInsertionIndex,
-    maxBlockPatterns,
-    maxBlockTypes,
-    showBlockDirectory = false,
-    isDraggable = true,
-    shouldFocusBlock = true
+    canInsertDefaultBlock,
+    isLocked,
+    renderAppender: CustomAppender,
+    className,
+    selectedBlockClientId,
+    tagName: TagName = 'div'
   } = _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,
-    rootClientId,
-    clientId,
-    isAppender,
-    insertionIndex: __experimentalInsertionIndex,
-    shouldFocusBlock
-  });
-  const [blockTypes, blockTypeCategories, blockTypeCollections, onSelectBlockType] = Object(_hooks_use_block_types_state__WEBPACK_IMPORTED_MODULE_13__[/* default */ "a"])(destinationRootClientId, onInsertBlocks);
-  const [patterns,, onSelectBlockPattern] = Object(_hooks_use_patterns_state__WEBPACK_IMPORTED_MODULE_12__[/* default */ "a"])(onInsertBlocks, destinationRootClientId);
-  const filteredBlockTypes = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => {
-    const results = Object(_search_items__WEBPACK_IMPORTED_MODULE_14__[/* searchBlockItems */ "a"])(Object(lodash__WEBPACK_IMPORTED_MODULE_1__["orderBy"])(blockTypes, ['frecency'], ['desc']), blockTypeCategories, blockTypeCollections, filterValue);
-    return maxBlockTypes !== undefined ? results.slice(0, maxBlockTypes) : results;
-  }, [filterValue, blockTypes, blockTypeCategories, blockTypeCollections, maxBlockTypes]);
-  const filteredBlockPatterns = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => {
-    const results = Object(_search_items__WEBPACK_IMPORTED_MODULE_14__[/* searchItems */ "b"])(patterns, filterValue);
-    return maxBlockPatterns !== undefined ? results.slice(0, maxBlockPatterns) : results;
-  }, [filterValue, patterns, maxBlockPatterns]); // Announce search results on change
-
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(() => {
-    if (!filterValue) {
-      return;
-    }
-
-    const count = filteredBlockTypes.length + filteredBlockPatterns.length;
-    const resultsFoundMessage = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["sprintf"])(
-    /* translators: %d: number of results. */
-    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["_n"])('%d result found.', '%d results found.', count), count);
-    debouncedSpeak(resultsFoundMessage);
-  }, [filterValue, debouncedSpeak]);
-  const currentShownBlockTypes = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__["useAsyncList"])(filteredBlockTypes, {
-    step: INITIAL_INSERTER_RESULTS
-  });
-  const currentShownPatterns = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__["useAsyncList"])(currentShownBlockTypes.length === filteredBlockTypes.length ? filteredBlockPatterns : EMPTY_ARRAY);
-  const hasItems = !Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(filteredBlockTypes) || !Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isEmpty"])(filteredBlockPatterns);
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_inserter_listbox__WEBPACK_IMPORTED_MODULE_15__[/* default */ "a"], null, !showBlockDirectory && !hasItems && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_no_results__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"], null), !!filteredBlockTypes.length && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_panel__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
-    title: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["VisuallyHidden"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Blocks'))
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_block_types_list__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], {
-    items: currentShownBlockTypes,
-    onSelect: onSelectBlockType,
-    onHover: onHover,
-    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Blocks'),
-    isDraggable: isDraggable
-  })), !!filteredBlockTypes.length && !!filteredBlockPatterns.length && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    className: "block-editor-inserter__quick-inserter-separator"
-  }), !!filteredBlockPatterns.length && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_panel__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
-    title: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["VisuallyHidden"], null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Block Patterns'))
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    className: "block-editor-inserter__quick-inserter-patterns"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_block_patterns_list__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], {
-    shownPatterns: currentShownPatterns,
-    blockPatterns: filteredBlockPatterns,
-    onClickPattern: onSelectBlockPattern,
-    isDraggable: isDraggable
-  }))), showBlockDirectory && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_inserter_menu_extension__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"].Slot, {
-    fillProps: {
-      onSelect: onSelectBlockType,
-      onHover,
-      filterValue,
-      hasItems,
-      rootClientId: destinationRootClientId
-    }
-  }, fills => {
-    if (fills.length) {
-      return fills;
-    }
-
-    if (!hasItems) {
-      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_no_results__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"], null);
-    }

+  if (isLocked || CustomAppender === false) {
     return null;
-  }));
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (InserterSearchResults);
-
-
-/***/ }),
-
-/***/ "Wy3j":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ BorderRadiusControl; });
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/utils.js
-/**
- * WordPress dependencies
- */
+  }

-/**
- * Gets the (non-undefined) item with the highest occurrence within an array
- * Based in part on: https://stackoverflow.com/a/20762713
- *
- * Undefined values are always sorted to the end by `sort`, so this function
- * returns the first element, to always prioritize real values over undefined
- * values.
- *
- * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#description
- *
- * @param {Array<any>} inputArray Array of items to check.
- * @return {any}                  The item with the most occurrences.
- */
+  let appender;

-function mode(inputArray) {
-  const arr = [...inputArray];
-  return arr.sort((a, b) => inputArray.filter(v => v === b).length - inputArray.filter(v => v === a).length).shift();
-}
-/**
- * Returns the most common CSS unit in the radius values.
- * Falls back to `px` as a default unit.
- *
- * @param {Object|string} values Radius values.
- * @return {string}              Most common CSS unit in values. Default: `px`.
- */
+  if (CustomAppender) {
+    // Prefer custom render prop if provided.
+    appender = (0,external_wp_element_namespaceObject.createElement)(CustomAppender, null);
+  } else {
+    const isDocumentAppender = !rootClientId;
+    const isParentSelected = selectedBlockClientId === rootClientId;
+    const isAnotherDefaultAppenderAlreadyDisplayed = selectedBlockClientId && !blockClientIds.includes(selectedBlockClientId);

-function getAllUnit() {
-  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    if (!isDocumentAppender && !isParentSelected && (!selectedBlockClientId || isAnotherDefaultAppenderAlreadyDisplayed)) {
+      return null;
+    }

-  if (typeof values === 'string') {
-    const [, unit] = Object(external_wp_components_["__experimentalParseUnit"])(values);
-    return unit || 'px';
+    if (canInsertDefaultBlock) {
+      // Render the default block appender when renderAppender has not been
+      // provided and the context supports use of the default appender.
+      appender = (0,external_wp_element_namespaceObject.createElement)(default_block_appender, {
+        rootClientId: rootClientId,
+        lastBlockClientId: (0,external_lodash_namespaceObject.last)(blockClientIds)
+      });
+    } else {
+      // Fallback in the case no renderAppender has been provided and the
+      // default block can't be inserted.
+      appender = (0,external_wp_element_namespaceObject.createElement)(button_block_appender, {
+        rootClientId: rootClientId,
+        className: "block-list-appender__toggle"
+      });
+    }
   }

-  const allUnits = Object.values(values).map(value => {
-    const [, unit] = Object(external_wp_components_["__experimentalParseUnit"])(value);
-    return unit;
-  });
-  return mode(allUnits) || 'px';
-}
-/**
- * Gets the 'all' input value and unit from values data.
- *
- * @param {Object|string} values Radius values.
- * @return {string}              A value + unit for the 'all' input.
- */
-
-function getAllValue() {
-  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  return (0,external_wp_element_namespaceObject.createElement)(TagName // A `tabIndex` is used on the wrapping `div` element in order to
+  // force a focus event to occur when an appender `button` element
+  // is clicked. In some browsers (Firefox, Safari), button clicks do
+  // not emit a focus event, which could cause this event to propagate
+  // unexpectedly. The `tabIndex` ensures that the interaction is
+  // captured as a focus, without also adding an extra tab stop.
+  //
+  // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
+  , {
+    tabIndex: -1,
+    className: classnames_default()('block-list-appender wp-block', className) // The appender exists to let you add the first Paragraph before
+    // any is inserted. To that end, this appender should visually be
+    // presented as a block. That means theme CSS should style it as if
+    // it were an empty paragraph block. That means a `wp-block` class to
+    // ensure the width is correct, and a [data-block] attribute to ensure
+    // the correct margin is applied, especially for classic themes which
+    // have commonly targeted that attribute for margins.
+    ,
+    "data-block": true
+  }, appender);
+}

-  /**
-   * Border radius support was originally a single pixel value.
-   *
-   * To maintain backwards compatibility treat this case as the all value.
-   */
-  if (typeof values === 'string') {
-    return values;
-  }
+/* harmony default export */ var block_list_appender = ((0,external_wp_data_namespaceObject.withSelect)((select, _ref2) => {
+  let {
+    rootClientId
+  } = _ref2;
+  const {
+    getBlockOrder,
+    canInsertBlockType,
+    getTemplateLock,
+    getSelectedBlockClientId
+  } = select(store);
+  return {
+    isLocked: !!getTemplateLock(rootClientId),
+    blockClientIds: getBlockOrder(rootClientId),
+    canInsertDefaultBlock: canInsertBlockType((0,external_wp_blocks_namespaceObject.getDefaultBlockName)(), rootClientId),
+    selectedBlockClientId: getSelectedBlockClientId()
+  };
+})(BlockListAppender));

-  const parsedValues = Object.values(values).map(value => Object(external_wp_components_["__experimentalParseUnit"])(value));
-  const allValues = parsedValues.map(value => value[0]);
-  const allUnits = parsedValues.map(value => value[1]);
-  const value = allValues.every(v => v === allValues[0]) ? allValues[0] : '';
-  const unit = mode(allUnits);
-  const allValue = value === 0 || value ? `${value}${unit}` : null;
-  return allValue;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/use-popover-scroll.js
 /**
- * Checks to determine if values are mixed.
- *
- * @param {Object} values Radius values.
- * @return {boolean}      Whether values are mixed.
+ * WordPress dependencies
  */

-function hasMixedValues() {
-  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  const allValue = getAllValue(values);
-  const isMixed = isNaN(parseFloat(allValue));
-  return isMixed;
-}
 /**
- * Checks to determine if values are defined.
+ * Allow scrolling "through" popovers over the canvas. This is only called for
+ * as long as the pointer is over a popover. Do not use React events because it
+ * will bubble through portals.
  *
- * @param {Object} values Radius values.
- * @return {boolean}      Whether values are mixed.
+ * @param {Object} scrollableRef
  */

-function hasDefinedValues(values) {
-  if (!values) {
-    return false;
-  } // A string value represents a shorthand value.
-
+function usePopoverScroll(scrollableRef) {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    if (!scrollableRef) {
+      return;
+    }

-  if (typeof values === 'string') {
-    return true;
-  } // An object represents longhand border radius values, if any are set
-  // flag values as being defined.
+    function onWheel(event) {
+      const {
+        deltaX,
+        deltaY
+      } = event;
+      scrollableRef.current.scrollBy(deltaX, deltaY);
+    } // Tell the browser that we do not call event.preventDefault
+    // See https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#improving_scrolling_performance_with_passive_listeners


-  const filteredValues = Object.values(values).filter(value => {
-    return !!value || value === 0;
-  });
-  return !!filteredValues.length;
+    const options = {
+      passive: true
+    };
+    node.addEventListener('wheel', onWheel, options);
+    return () => {
+      node.removeEventListener('wheel', onWheel, options);
+    };
+  }, [scrollableRef]);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/all-input-control.js
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/insertion-point.js


 /**
- * WordPress dependencies
+ * External dependencies
  */

-
 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-function AllInputControl(_ref) {
-  let {
-    onChange,
-    values,
-    ...props
-  } = _ref;
-  const allValue = getAllValue(values);
-  const hasValues = hasDefinedValues(values);
-  const isMixed = hasValues && hasMixedValues(values);
-  const allPlaceholder = isMixed ? Object(external_wp_i18n_["__"])('Mixed') : null;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], Object(esm_extends["a" /* default */])({}, props, {
-    "aria-label": Object(external_wp_i18n_["__"])('Border radius'),
-    disableUnits: isMixed,
-    isOnly: true,
-    value: allValue,
-    onChange: onChange,
-    placeholder: allPlaceholder
-  }));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/input-controls.js



 /**
- * WordPress dependencies
+ * Internal dependencies
  */


-const CORNERS = {
-  topLeft: Object(external_wp_i18n_["__"])('Top left'),
-  topRight: Object(external_wp_i18n_["__"])('Top right'),
-  bottomLeft: Object(external_wp_i18n_["__"])('Bottom left'),
-  bottomRight: Object(external_wp_i18n_["__"])('Bottom right')
-};
-function BoxInputControls(_ref) {
-  let {
-    onChange,
-    values: valuesProp,
-    ...props
-  } = _ref;

-  const createHandleOnChange = corner => next => {
-    if (!onChange) {
-      return;
-    }

-    onChange({ ...values,
-      [corner]: next ? next : undefined
-    });
-  }; // For shorthand style & backwards compatibility, handle flat string value.

+const InsertionPointOpenRef = (0,external_wp_element_namespaceObject.createContext)();

-  const values = typeof valuesProp !== 'string' ? valuesProp : {
-    topLeft: valuesProp,
-    topRight: valuesProp,
-    bottomLeft: valuesProp,
-    bottomRight: valuesProp
-  }; // Controls are wrapped in tooltips as visible labels aren't desired here.
+function InsertionPointPopover(_ref) {
+  let {
+    __unstablePopoverSlot,
+    __unstableContentRef
+  } = _ref;
+  const {
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const openRef = (0,external_wp_element_namespaceObject.useContext)(InsertionPointOpenRef);
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const {
+    orientation,
+    previousClientId,
+    nextClientId,
+    rootClientId,
+    isInserterShown
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _getBlockListSettings;

-  return Object(external_wp_element_["createElement"])("div", {
-    className: "components-border-radius-control__input-controls-wrapper"
-  }, 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)
-    }));
-  }));
-}
+    const {
+      getBlockOrder,
+      getBlockListSettings,
+      getBlockInsertionPoint,
+      isBlockBeingDragged,
+      getPreviousBlockClientId,
+      getNextBlockClientId
+    } = select(store);
+    const insertionPoint = getBlockInsertionPoint();
+    const order = getBlockOrder(insertionPoint.rootClientId);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
-var library_link = __webpack_require__("Bpkj");
+    if (!order.length) {
+      return {};
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
-var link_off = __webpack_require__("Mp0b");
+    let _previousClientId = order[insertionPoint.index - 1];
+    let _nextClientId = order[insertionPoint.index];

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/linked-button.js
+    while (isBlockBeingDragged(_previousClientId)) {
+      _previousClientId = getPreviousBlockClientId(_previousClientId);
+    }

+    while (isBlockBeingDragged(_nextClientId)) {
+      _nextClientId = getNextBlockClientId(_nextClientId);
+    }

+    return {
+      previousClientId: _previousClientId,
+      nextClientId: _nextClientId,
+      orientation: ((_getBlockListSettings = getBlockListSettings(insertionPoint.rootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation) || 'vertical',
+      rootClientId: insertionPoint.rootClientId,
+      isInserterShown: insertionPoint === null || insertionPoint === void 0 ? void 0 : insertionPoint.__unstableWithInserter
+    };
+  }, []);
+  const previousElement = useBlockElement(previousClientId);
+  const nextElement = useBlockElement(nextClientId);
+  const isVertical = orientation === 'vertical';
+  const style = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (!previousElement && !nextElement) {
+      return {};
+    }

-/**
- * WordPress dependencies
- */
+    const previousRect = previousElement ? previousElement.getBoundingClientRect() : null;
+    const nextRect = nextElement ? nextElement.getBoundingClientRect() : null;

+    if (isVertical) {
+      return {
+        width: previousElement ? previousElement.offsetWidth : nextElement.offsetWidth,
+        height: nextRect && previousRect ? nextRect.top - previousRect.bottom : 0
+      };
+    }

+    let width = 0;

-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
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, props, {
-    className: "component-border-radius-control__linked-button",
-    isPrimary: isLinked,
-    isSecondary: !isLinked,
-    isSmall: true,
-    icon: isLinked ? library_link["a" /* default */] : link_off["a" /* default */],
-    iconSize: 16,
-    "aria-label": label
-  })));
-}
+    if (previousRect && nextRect) {
+      width = (0,external_wp_i18n_namespaceObject.isRTL)() ? previousRect.left - nextRect.right : nextRect.left - previousRect.right;
+    }
+
+    return {
+      width,
+      height: previousElement ? previousElement.offsetHeight : nextElement.offsetHeight
+    };
+  }, [previousElement, nextElement]);
+  const getAnchorRect = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    if (!previousElement && !nextElement) {
+      return {};
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-setting/index.js
-var use_setting = __webpack_require__("v5LD");
+    const {
+      ownerDocument
+    } = previousElement || nextElement;
+    const previousRect = previousElement ? previousElement.getBoundingClientRect() : null;
+    const nextRect = nextElement ? nextElement.getBoundingClientRect() : null;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/index.js
+    if (isVertical) {
+      if ((0,external_wp_i18n_namespaceObject.isRTL)()) {
+        return {
+          top: previousRect ? previousRect.bottom : nextRect.top,
+          left: previousRect ? previousRect.right : nextRect.right,
+          right: previousRect ? previousRect.left : nextRect.left,
+          bottom: nextRect ? nextRect.top : previousRect.bottom,
+          ownerDocument
+        };
+      }

+      return {
+        top: previousRect ? previousRect.bottom : nextRect.top,
+        left: previousRect ? previousRect.left : nextRect.left,
+        right: previousRect ? previousRect.right : nextRect.right,
+        bottom: nextRect ? nextRect.top : previousRect.bottom,
+        ownerDocument
+      };
+    }

-/**
- * WordPress dependencies
- */
+    if ((0,external_wp_i18n_namespaceObject.isRTL)()) {
+      return {
+        top: previousRect ? previousRect.top : nextRect.top,
+        left: previousRect ? previousRect.left : nextRect.right,
+        right: nextRect ? nextRect.right : previousRect.left,
+        bottom: previousRect ? previousRect.bottom : nextRect.bottom,
+        ownerDocument
+      };
+    }

+    return {
+      top: previousRect ? previousRect.top : nextRect.top,
+      left: previousRect ? previousRect.right : nextRect.left,
+      right: nextRect ? nextRect.left : previousRect.right,
+      bottom: previousRect ? previousRect.bottom : nextRect.bottom,
+      ownerDocument
+    };
+  }, [previousElement, nextElement]);
+  const popoverScrollRef = usePopoverScroll(__unstableContentRef);
+  const disableMotion = (0,external_wp_compose_namespaceObject.useReducedMotion)();
+  const className = classnames_default()('block-editor-block-list__insertion-point', 'is-' + orientation);

+  function onClick(event) {
+    if (event.target === ref.current && nextClientId) {
+      selectBlock(nextClientId, -1);
+    }
+  }

-/**
- * Internal dependencies
- */
+  function onFocus(event) {
+    // Only handle click on the wrapper specifically, and not an event
+    // bubbled from the inserter itself.
+    if (event.target !== ref.current) {
+      openRef.current = true;
+    }
+  } // Only show the in-between inserter between blocks, so when there's a
+  // previous and a next element.


+  const showInsertionPointInserter = previousElement && nextElement && isInserterShown; // Define animation variants for the line element.

+  const horizontalLine = {
+    start: {
+      width: 0,
+      top: '50%',
+      bottom: '50%',
+      x: 0
+    },
+    rest: {
+      width: 4,
+      top: 0,
+      bottom: 0,
+      x: -2
+    },
+    hover: {
+      width: 4,
+      top: 0,
+      bottom: 0,
+      x: -2
+    }
+  };
+  const verticalLine = {
+    start: {
+      height: 0,
+      left: '50%',
+      right: '50%',
+      y: 0
+    },
+    rest: {
+      height: 4,
+      left: 0,
+      right: 0,
+      y: -2
+    },
+    hover: {
+      height: 4,
+      left: 0,
+      right: 0,
+      y: -2
+    }
+  };
+  const lineVariants = {
+    // Initial position starts from the center and invisible.
+    start: { ...(!isVertical ? horizontalLine.start : verticalLine.start),
+      opacity: 0
+    },
+    // The line expands to fill the container. If the inserter is visible it
+    // is delayed so it appears orchestrated.
+    rest: { ...(!isVertical ? horizontalLine.rest : verticalLine.rest),
+      opacity: 1,
+      borderRadius: '2px',
+      transition: {
+        delay: showInsertionPointInserter ? 0.4 : 0
+      }
+    },
+    hover: { ...(!isVertical ? horizontalLine.hover : verticalLine.hover),
+      opacity: 1,
+      borderRadius: '2px',
+      transition: {
+        delay: 0.4
+      }
+    }
+  };
+  const inserterVariants = {
+    start: {
+      scale: disableMotion ? 1 : 0
+    },
+    rest: {
+      scale: 1,
+      transition: {
+        delay: 0.2
+      }
+    }
+  };
+  /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */
+  // While ideally it would be enough to capture the
+  // bubbling focus event from the Inserter, due to the
+  // characteristics of click focusing of `button`s in
+  // Firefox and Safari, it is not reliable.
+  //
+  // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
+    ref: popoverScrollRef,
+    noArrow: true,
+    animate: false,
+    getAnchorRect: getAnchorRect,
+    focusOnMount: false,
+    className: "block-editor-block-list__insertion-point-popover" // Render in the old slot if needed for backward compatibility,
+    // otherwise render in place (not in the the default popover slot).
+    ,
+    __unstableSlotName: __unstablePopoverSlot || null // Forces a remount of the popover when its position changes
+    // This makes sure the popover doesn't animate from its previous position.
+    ,
+    key: nextClientId + '--' + rootClientId
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.div, {
+    layout: !disableMotion,
+    initial: disableMotion ? 'rest' : 'start',
+    animate: "rest",
+    whileHover: "hover",
+    whileTap: "pressed",
+    exit: "start",
+    ref: ref,
+    tabIndex: -1,
+    onClick: onClick,
+    onFocus: onFocus,
+    className: classnames_default()(className, {
+      'is-with-inserter': showInsertionPointInserter
+    }),
+    style: style
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.div, {
+    variants: lineVariants,
+    className: "block-editor-block-list__insertion-point-indicator"
+  }), showInsertionPointInserter && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.div, {
+    variants: inserterVariants,
+    className: classnames_default()('block-editor-block-list__insertion-point-inserter')
+  }, (0,external_wp_element_namespaceObject.createElement)(inserter, {
+    position: "bottom center",
+    clientId: nextClientId,
+    rootClientId: rootClientId,
+    __experimentalIsQuick: true,
+    onToggle: isOpen => {
+      openRef.current = isOpen;
+    },
+    onSelectOrClose: () => {
+      openRef.current = false;
+    }
+  }))));
+  /* eslint-enable jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */
+}

+function InsertionPoint(_ref2) {
+  let {
+    children,
+    __unstablePopoverSlot,
+    __unstableContentRef
+  } = _ref2;
+  const isVisible = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(store).isBlockInsertionPointVisible();
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)(InsertionPointOpenRef.Provider, {
+    value: (0,external_wp_element_namespaceObject.useRef)(false)
+  }, isVisible && (0,external_wp_element_namespaceObject.createElement)(InsertionPointPopover, {
+    __unstablePopoverSlot: __unstablePopoverSlot,
+    __unstableContentRef: __unstableContentRef
+  }), children);
+}

-const DEFAULT_VALUES = {
-  topLeft: null,
-  topRight: null,
-  bottomLeft: null,
-  bottomRight: null
-};
-const MIN_BORDER_RADIUS_VALUE = 0;
-const MAX_BORDER_RADIUS_VALUES = {
-  px: 100,
-  em: 20,
-  rem: 20
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-in-between-inserter.js
 /**
- * Control to display border radius options.
- *
- * @param {Object}   props          Component props.
- * @param {Function} props.onChange Callback to handle onChange.
- * @param {Object}   props.values   Border radius values.
- *
- * @return {WPElement}              Custom border radius control.
+ * WordPress dependencies
  */

-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']
-  });
-  const unit = getAllUnit(values);
-  const unitConfig = units && units.find(item => item.value === unit);
-  const step = (unitConfig === null || unitConfig === void 0 ? void 0 : unitConfig.step) || 1;
-  const [allValue] = Object(external_wp_components_["__experimentalParseUnit"])(getAllValue(values));

-  const toggleLinked = () => setIsLinked(!isLinked);

-  const handleSliderChange = next => {
-    onChange(next !== undefined ? `${next}${unit}` : undefined);
-  };
+/**
+ * Internal dependencies
+ */

-  return Object(external_wp_element_["createElement"])("fieldset", {
-    className: "components-border-radius-control"
-  }, Object(external_wp_element_["createElement"])("legend", null, Object(external_wp_i18n_["__"])('Radius')), Object(external_wp_element_["createElement"])("div", {
-    className: "components-border-radius-control__wrapper"
-  }, isLinked ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(AllInputControl, {
-    className: "components-border-radius-control__unit-control",
-    values: values,
-    min: MIN_BORDER_RADIUS_VALUE,
-    onChange: onChange,
-    unit: unit,
-    units: units
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    className: "components-border-radius-control__range-control",
-    value: allValue,
-    min: MIN_BORDER_RADIUS_VALUE,
-    max: MAX_BORDER_RADIUS_VALUES[unit],
-    initialPosition: 0,
-    withInputField: false,
-    onChange: handleSliderChange,
-    step: step
-  })) : Object(external_wp_element_["createElement"])(BoxInputControls, {
-    min: MIN_BORDER_RADIUS_VALUE,
-    onChange: onChange,
-    values: values || DEFAULT_VALUES,
-    units: units
-  }), Object(external_wp_element_["createElement"])(LinkedButton, {
-    onClick: toggleLinked,
-    isLinked: isLinked
-  })));
-}


-/***/ }),
+function useInBetweenInserter() {
+  const openRef = (0,external_wp_element_namespaceObject.useContext)(InsertionPointOpenRef);
+  const hasReducedUI = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getSettings().hasReducedUI, []);
+  const {
+    getBlockListSettings,
+    getBlockRootClientId,
+    getBlockIndex,
+    isBlockInsertionPointVisible,
+    isMultiSelecting,
+    getSelectedBlockClientIds,
+    getTemplateLock
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    showInsertionPoint,
+    hideInsertionPoint
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    if (hasReducedUI) {
+      return;
+    }

-/***/ "XNw2":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    function onMouseMove(event) {
+      var _getBlockListSettings, _element$parentElemen;

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+      if (openRef.current) {
+        return;
+      }

+      if (isMultiSelecting()) {
+        return;
+      }

-/**
- * WordPress dependencies
- */
+      if (!event.target.classList.contains('block-editor-block-list__layout')) {
+        if (isBlockInsertionPointVisible()) {
+          hideInsertionPoint();
+        }

-const stretchFullWidth = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (stretchFullWidth);
+        return;
+      }

+      let rootClientId;

-/***/ }),
+      if (!event.target.classList.contains('is-root-container')) {
+        const blockElement = !!event.target.getAttribute('data-block') ? event.target : event.target.closest('[data-block]');
+        rootClientId = blockElement.getAttribute('data-block');
+      } // Don't set the insertion point if the template is locked.

-/***/ "XgzB":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+      if (getTemplateLock(rootClientId)) {
+        return;
+      }

+      const orientation = ((_getBlockListSettings = getBlockListSettings(rootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation) || 'vertical';
+      const rect = event.target.getBoundingClientRect();
+      const offsetTop = event.clientY - rect.top;
+      const offsetLeft = event.clientX - rect.left;
+      const children = Array.from(event.target.children);
+      let element = children.find(blockEl => {
+        return blockEl.classList.contains('wp-block') && orientation === 'vertical' && blockEl.offsetTop > offsetTop || blockEl.classList.contains('wp-block') && orientation === 'horizontal' && blockEl.offsetLeft > offsetLeft;
+      });

-/**
- * WordPress dependencies
- */
+      if (!element) {
+        return;
+      } // The block may be in an alignment wrapper, so check the first direct
+      // child if the element has no ID.

-const chevronUp = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronUp);

+      if (!element.id) {
+        element = element.firstElementChild;

-/***/ }),
+        if (!element) {
+          return;
+        }
+      } // Don't show the insertion point if a parent block has an "overlay"
+      // See https://github.com/WordPress/gutenberg/pull/34012#pullrequestreview-727762337

-/***/ "Xkls":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _react_spring_web__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("+DUQ");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1CF3");
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_3__);
-/**
- * External dependencies
- */
+      const parentOverlay = (_element$parentElemen = element.parentElement) === null || _element$parentElemen === void 0 ? void 0 : _element$parentElemen.closest('.block-editor-block-content-overlay.overlay-active');

-/**
- * WordPress dependencies
- */
+      if (parentOverlay) {
+        return;
+      }

+      const clientId = element.id.slice('block-'.length);

+      if (!clientId) {
+        return;
+      } // Don't show the inserter when hovering above (conflicts with
+      // block toolbar) or inside selected block(s).


-/**
- * Simple reducer used to increment a counter.
- *
- * @param {number} state Previous counter value.
- * @return {number} New state value.
- */
+      if (getSelectedBlockClientIds().includes(clientId)) {
+        return;
+      }

-const counterReducer = state => state + 1;
+      const elementRect = element.getBoundingClientRect();

-const getAbsolutePosition = element => {
-  return {
-    top: element.offsetTop,
-    left: element.offsetLeft
-  };
-};
-/**
- * Hook used to compute the styles required to move a div into a new position.
- *
- * The way this animation works is the following:
- *  - It first renders the element as if there was no animation.
- *  - It takes a snapshot of the position of the block to use it
- *    as a destination point for the animation.
- *  - It restores the element to the previous position using a CSS transform
- *  - It uses the "resetAnimation" flag to reset the animation
- *    from the beginning in order to animate to the new destination point.
- *
- * @param {Object}  $1                          Options
- * @param {boolean} $1.isSelected               Whether it's the current block or not.
- * @param {boolean} $1.adjustScrolling          Adjust the scroll position to the current block.
- * @param {boolean} $1.enableAnimation          Enable/Disable animation.
- * @param {*}       $1.triggerAnimationOnChange Variable used to trigger the animation if it changes.
- */
+      if (orientation === 'horizontal' && (event.clientY > elementRect.bottom || event.clientY < elementRect.top) || orientation === 'vertical' && (event.clientX > elementRect.right || event.clientX < elementRect.left)) {
+        if (isBlockInsertionPointVisible()) {
+          hideInsertionPoint();
+        }

+        return;
+      }

-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);
-  const [finishedAnimation, endAnimation] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useReducer"])(counterReducer, 0);
-  const [transform, setTransform] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])({
-    x: 0,
-    y: 0
-  });
-  const previous = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useMemo"])(() => ref.current ? getAbsolutePosition(ref.current) : null, [triggerAnimationOnChange]); // Calculate the previous position of the block relative to the viewport and
-  // return a function to maintain that position by scrolling.
+      const index = getBlockIndex(clientId); // Don't show the in-between inserter before the first block in
+      // the list (preserves the original behaviour).

-  const preserveScrollPosition = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useMemo"])(() => {
-    if (!adjustScrolling || !ref.current) {
-      return () => {};
-    }
+      if (index === 0) {
+        if (isBlockInsertionPointVisible()) {
+          hideInsertionPoint();
+        }

-    const scrollContainer = Object(_wordpress_dom__WEBPACK_IMPORTED_MODULE_3__["getScrollContainer"])(ref.current);
+        return;
+      }

-    if (!scrollContainer) {
-      return () => {};
+      showInsertionPoint(rootClientId, index, {
+        __unstableWithInserter: true
+      });
     }

-    const prevRect = ref.current.getBoundingClientRect();
+    node.addEventListener('mousemove', onMouseMove);
     return () => {
-      const blockRect = ref.current.getBoundingClientRect();
-      const diff = blockRect.top - prevRect.top;
-
-      if (diff) {
-        scrollContainer.scrollTop += diff;
-      }
+      node.removeEventListener('mousemove', onMouseMove);
     };
-  }, [triggerAnimationOnChange, adjustScrolling]);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useLayoutEffect"])(() => {
-    if (triggeredAnimation) {
-      endAnimation();
-    }
-  }, [triggeredAnimation]);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useLayoutEffect"])(() => {
-    if (!previous) {
-      return;
-    }
+  }, [openRef, getBlockListSettings, getBlockRootClientId, getBlockIndex, isBlockInsertionPointVisible, isMultiSelecting, showInsertionPoint, hideInsertionPoint, getSelectedBlockClientIds]);
+}

-    if (prefersReducedMotion) {
-      // if the animation is disabled and the scroll needs to be adjusted,
-      // just move directly to the final scroll position.
-      preserveScrollPosition();
-      return;
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/pre-parse-patterns.js
+/**
+ * WordPress dependencies
+ */

-    ref.current.style.transform = '';
-    const destination = getAbsolutePosition(ref.current);
-    triggerAnimation();
-    setTransform({
-      x: Math.round(previous.left - destination.left),
-      y: Math.round(previous.top - destination.top)
-    });
-  }, [triggerAnimationOnChange]); // Only called when either the x or y value changes.

-  function onFrameChange(_ref2) {
-    let {
-      x,
-      y
-    } = _ref2;
+/**
+ * Internal dependencies
+ */

-    if (!ref.current) {
-      return;
-    }

-    const isMoving = x === 0 && y === 0;
-    ref.current.style.transformOrigin = isMoving ? '' : 'center';
-    ref.current.style.transform = isMoving ? '' : `translate3d(${x}px,${y}px,0)`;
-    ref.current.style.zIndex = !isSelected || isMoving ? '' : '1';
-    preserveScrollPosition();
-  } // Called for every frame computed by useSpring.

+const requestIdleCallback = (() => {
+  if (typeof window === 'undefined') {
+    return callback => {
+      setTimeout(() => callback(Date.now()), 0);
+    };
+  }

-  function onChange(_ref3) {
-    let {
-      value
-    } = _ref3;
-    let {
-      x,
-      y
-    } = value;
-    x = Math.round(x);
-    y = Math.round(y);
+  return window.requestIdleCallback || window.requestAnimationFrame;
+})();

-    if (x !== onChange.x || y !== onChange.y) {
-      onFrameChange({
-        x,
-        y
-      });
-      onChange.x = x;
-      onChange.y = y;
-    }
+const cancelIdleCallback = (() => {
+  if (typeof window === 'undefined') {
+    return clearTimeout;
   }

-  onChange.x = 0;
-  onChange.y = 0;
-  Object(_react_spring_web__WEBPACK_IMPORTED_MODULE_0__["useSpring"])({
-    from: {
-      x: transform.x,
-      y: transform.y
-    },
-    to: {
-      x: 0,
-      y: 0
-    },
-    reset: triggeredAnimation !== finishedAnimation,
-    config: {
-      mass: 5,
-      tension: 2000,
-      friction: 200
-    },
-    immediate: prefersReducedMotion,
-    onChange
-  });
-  return ref;
-}
+  return window.cancelIdleCallback || window.cancelAnimationFrame;
+})();

-/* harmony default export */ __webpack_exports__["a"] = (useMovingAnimation);
+function usePreParsePatterns() {
+  const patterns = (0,external_wp_data_namespaceObject.useSelect)(_select => _select(store).getSettings().__experimentalBlockPatterns, []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!(patterns !== null && patterns !== void 0 && patterns.length)) {
+      return;
+    }

+    let handle;
+    let index = -1;

-/***/ }),
+    const callback = () => {
+      index++;

-/***/ "YLtl":
-/***/ (function(module, exports) {
+      if (index >= patterns.length) {
+        return;
+      }

-(function() { module.exports = window["lodash"]; }());
+      (0,external_wp_data_namespaceObject.select)(store).__experimentalGetParsedPattern(patterns[index].name);

-/***/ }),
+      handle = requestIdleCallback(callback);
+    };

-/***/ "YZt4":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    handle = requestIdleCallback(callback);
+    return () => cancelIdleCallback(handle);
+  }, [patterns]);
+  return null;
+}

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useBlockDefaultClassName; });
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("BhPs");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-block-display-information/index.js
 /**
  * WordPress dependencies
  */
@@ -29807,63 +24166,146 @@ function useMovingAnimation(_ref) {
  */


+/** @typedef {import('@wordpress/blocks').WPIcon} WPIcon */
+
 /**
- * Returns the default class name if the block is a light block and it supports
- * `className`.
+ * Contains basic block's information for display reasons.
  *
- * @param {string} clientId The block client ID.
+ * @typedef {Object} WPBlockDisplayInformation
  *
- * @return {string} The class name, e.g. `wp-block-paragraph`.
+ * @property {string} title       Human-readable block type label.
+ * @property {WPIcon} icon        Block type icon.
+ * @property {string} description A detailed block type description.
  */

-function useBlockDefaultClassName(clientId) {
-  return Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useSelect"])(select => {
-    const name = select(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]).getBlockName(clientId);
-    const blockType = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__["getBlockType"])(name);
-    const hasLightBlockWrapper = (blockType === null || blockType === void 0 ? void 0 : blockType.apiVersion) > 1;
-
-    if (!hasLightBlockWrapper) {
-      return;
-    }
+/**
+ * Hook used to try to find a matching block variation and return
+ * the appropriate information for display reasons. In order to
+ * to try to find a match we need to things:
+ * 1. Block's client id to extract it's current attributes.
+ * 2. A block variation should have set `isActive` prop to a proper function.
+ *
+ * If for any reason a block variaton match cannot be found,
+ * the returned information come from the Block Type.
+ * If no blockType is found with the provided clientId, returns null.
+ *
+ * @param {string} clientId Block's client id.
+ * @return {?WPBlockDisplayInformation} Block's display information, or `null` when the block or its type not found.
+ */

-    return Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__["getBlockDefaultClassName"])(name);
+function useBlockDisplayInformation(clientId) {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    if (!clientId) return null;
+    const {
+      getBlockName,
+      getBlockAttributes
+    } = select(store);
+    const {
+      getBlockType,
+      getActiveBlockVariation
+    } = select(external_wp_blocks_namespaceObject.store);
+    const blockName = getBlockName(clientId);
+    const blockType = getBlockType(blockName);
+    if (!blockType) return null;
+    const attributes = getBlockAttributes(clientId);
+    const match = getActiveBlockVariation(blockName, attributes);
+    const blockTypeInfo = {
+      title: blockType.title,
+      icon: blockType.icon,
+      description: blockType.description,
+      anchor: attributes === null || attributes === void 0 ? void 0 : attributes.anchor
+    };
+    if (!match) return blockTypeInfo;
+    return {
+      title: match.title || blockType.title,
+      icon: match.icon || blockType.icon,
+      description: match.description || blockType.description
+    };
   }, [clientId]);
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-title/index.js
+/**
+ * External dependencies
+ */

-/***/ }),
+/**
+ * WordPress dependencies
+ */

-/***/ "Z23Y":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["warning"]; }());

-/***/ }),
+/**
+ * Internal dependencies
+ */

-/***/ "ZAjO":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+/**
+ * Renders the block's configured title as a string, or empty if the title
+ * cannot be determined.
+ *
+ * @example
+ *
+ * ```jsx
+ * <BlockTitle clientId="afd1cb17-2c08-4e7a-91be-007ba7ddc3a1" />
+ * ```
+ *
+ * @param {Object} props
+ * @param {string} props.clientId Client ID of block.
+ *
+ * @return {?string} Block title.
+ */
+
+function BlockTitle(_ref) {
+  let {
+    clientId
+  } = _ref;
+  const {
+    attributes,
+    name,
+    reusableBlockTitle
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    if (!clientId) {
+      return {};
+    }

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+    const {
+      getBlockName,
+      getBlockAttributes,
+      __experimentalGetReusableBlockTitle
+    } = select(store);
+    const blockName = getBlockName(clientId);

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+    if (!blockName) {
+      return {};
+    }

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+    const isReusable = (0,external_wp_blocks_namespaceObject.isReusableBlock)((0,external_wp_blocks_namespaceObject.getBlockType)(blockName));
+    return {
+      attributes: getBlockAttributes(clientId),
+      name: blockName,
+      reusableBlockTitle: isReusable && __experimentalGetReusableBlockTitle(getBlockAttributes(clientId).ref)
+    };
+  }, [clientId]);
+  const blockInformation = useBlockDisplayInformation(clientId);
+  if (!name || !blockInformation) return null;
+  const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(name);
+  const blockLabel = blockType ? (0,external_wp_blocks_namespaceObject.__experimentalGetBlockLabel)(blockType, attributes) : null;
+  const label = reusableBlockTitle || blockLabel; // Label will fallback to the title if no label is defined for the current
+  // label context. If the label is defined we prioritize it over possible
+  // possible block variation title match.

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/draggable-chip.js
-var draggable_chip = __webpack_require__("q3tz");
+  if (label && label !== blockType.title) {
+    return (0,external_lodash_namespaceObject.truncate)(label, {
+      length: 35
+    });
+  }

-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
+  return blockInformation.title;
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/use-scroll-when-dragging.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/use-scroll-when-dragging.js
 /**
  * WordPress dependencies
  */
@@ -29882,21 +24324,21 @@ const VELOCITY_MULTIPLIER = PIXELS_PER_SECOND_PER_PERCENTAGE * (SCROLL_INTERVAL_
  */

 function useScrollWhenDragging() {
-  const dragStartY = Object(external_wp_element_["useRef"])(null);
-  const velocityY = Object(external_wp_element_["useRef"])(null);
-  const scrollParentY = Object(external_wp_element_["useRef"])(null);
-  const scrollEditorInterval = Object(external_wp_element_["useRef"])(null); // Clear interval when unmounting.
+  const dragStartY = (0,external_wp_element_namespaceObject.useRef)(null);
+  const velocityY = (0,external_wp_element_namespaceObject.useRef)(null);
+  const scrollParentY = (0,external_wp_element_namespaceObject.useRef)(null);
+  const scrollEditorInterval = (0,external_wp_element_namespaceObject.useRef)(null); // Clear interval when unmounting.

-  Object(external_wp_element_["useEffect"])(() => () => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => () => {
     if (scrollEditorInterval.current) {
       clearInterval(scrollEditorInterval.current);
       scrollEditorInterval.current = null;
     }
   }, []);
-  const startScrolling = Object(external_wp_element_["useCallback"])(event => {
+  const startScrolling = (0,external_wp_element_namespaceObject.useCallback)(event => {
     dragStartY.current = event.clientY; // Find nearest parent(s) to scroll.

-    scrollParentY.current = Object(external_wp_dom_["getScrollContainer"])(event.target);
+    scrollParentY.current = (0,external_wp_dom_namespaceObject.getScrollContainer)(event.target);
     scrollEditorInterval.current = setInterval(() => {
       if (scrollParentY.current && velocityY.current) {
         const newTop = scrollParentY.current.scrollTop + velocityY.current; // Setting `behavior: 'smooth'` as a scroll property seems to hurt performance.
@@ -29908,7 +24350,7 @@ function useScrollWhenDragging() {
       }
     }, SCROLL_INTERVAL_MS);
   }, []);
-  const scrollOnDragOver = Object(external_wp_element_["useCallback"])(event => {
+  const scrollOnDragOver = (0,external_wp_element_namespaceObject.useCallback)(event => {
     if (!scrollParentY.current) {
       return;
     }
@@ -29947,10 +24389,7 @@ function useScrollWhenDragging() {
   return [startScrolling, scrollOnDragOver, stopScrolling];
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/index.js


 /**
@@ -29980,31 +24419,31 @@ const BlockDraggable = _ref => {
     srcRootClientId,
     isDraggable,
     icon
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getBlockType;

     const {
       getBlockRootClientId,
       getTemplateLock,
       getBlockName
-    } = select(store["a" /* store */]);
+    } = select(store);
     const rootClientId = getBlockRootClientId(clientIds[0]);
     const templateLock = rootClientId ? getTemplateLock(rootClientId) : null;
     const blockName = getBlockName(clientIds[0]);
     return {
       srcRootClientId: rootClientId,
       isDraggable: 'all' !== templateLock,
-      icon: (_getBlockType = Object(external_wp_blocks_["getBlockType"])(blockName)) === null || _getBlockType === void 0 ? void 0 : _getBlockType.icon
+      icon: (_getBlockType = (0,external_wp_blocks_namespaceObject.getBlockType)(blockName)) === null || _getBlockType === void 0 ? void 0 : _getBlockType.icon
     };
   }, [clientIds]);
-  const isDragging = Object(external_wp_element_["useRef"])(false);
+  const isDragging = (0,external_wp_element_namespaceObject.useRef)(false);
   const [startScrolling, scrollOnDragOver, stopScrolling] = useScrollWhenDragging();
   const {
     startDraggingBlocks,
     stopDraggingBlocks
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]); // Stop dragging blocks if the block draggable is unmounted
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store); // Stop dragging blocks if the block draggable is unmounted

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     return () => {
       if (isDragging.current) {
         stopDraggingBlocks();
@@ -30023,7 +24462,7 @@ const BlockDraggable = _ref => {
     srcClientIds: clientIds,
     srcRootClientId
   };
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Draggable"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Draggable, {
     cloneClassname: cloneClassname,
     __experimentalTransferDataType: "wp-blocks",
     transferData: transferData,
@@ -30046,7 +24485,7 @@ const BlockDraggable = _ref => {
         onDragEnd();
       }
     },
-    __experimentalDragComponent: Object(external_wp_element_["createElement"])(draggable_chip["a" /* default */], {
+    __experimentalDragComponent: (0,external_wp_element_namespaceObject.createElement)(BlockDraggableChip, {
       count: clientIds.length,
       icon: icon
     })
@@ -30063,592 +24502,633 @@ const BlockDraggable = _ref => {
   });
 };

-/* harmony default export */ var block_draggable = __webpack_exports__["a"] = (BlockDraggable);
+/* harmony default export */ var block_draggable = (BlockDraggable);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/block-selection-button.js

-/***/ }),
-
-/***/ "Zzu2":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more-horizontal.js


-/**
- * WordPress dependencies
- */

-const moreHorizontal = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"
-}));
-/* harmony default export */ var more_horizontal = (moreHorizontal);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/warning/index.js


 /**
- * External dependencies
+ * Internal dependencies
  */

-/**
- * WordPress dependencies
- */





+/**
+ * Block selection button component, displaying the label of the block. If the block
+ * descends from a root block, a button is displayed enabling the user to select
+ * the root block.
+ *
+ * @param {string} props          Component props.
+ * @param {string} props.clientId Client ID of block.
+ *
+ * @return {WPComponent} The component to be rendered.
+ */

-function Warning(_ref) {
+function BlockSelectionButton(_ref) {
   let {
-    className,
-    actions,
-    children,
-    secondaryActions
+    clientId,
+    rootClientId,
+    blockElement
   } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()(className, 'block-editor-warning')
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-warning__contents"
-  }, Object(external_wp_element_["createElement"])("p", {
-    className: "block-editor-warning__message"
-  }, children), (external_wp_element_["Children"].count(actions) > 0 || secondaryActions) && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-warning__actions"
-  }, external_wp_element_["Children"].count(actions) > 0 && external_wp_element_["Children"].map(actions, (action, i) => Object(external_wp_element_["createElement"])("span", {
-    key: i,
-    className: "block-editor-warning__action"
-  }, action)), secondaryActions && Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    className: "block-editor-warning__secondary",
-    icon: more_horizontal,
-    label: Object(external_wp_i18n_["__"])('More options'),
-    popoverProps: {
-      position: 'bottom left',
-      className: 'block-editor-warning__dropdown'
-    },
-    noIcons: true
-  }, () => Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, secondaryActions.map((item, pos) => Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: item.onClick,
-    key: pos
-  }, item.title)))))));
-}
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/warning/README.md
- */
+  const blockInformation = useBlockDisplayInformation(clientId);
+  const selected = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _getBlockListSettings;

+    const {
+      getBlock,
+      getBlockIndex,
+      hasBlockMovingClientId,
+      getBlockListSettings
+    } = select(store);
+    const index = getBlockIndex(clientId);
+    const {
+      name,
+      attributes
+    } = getBlock(clientId);
+    const blockMovingMode = hasBlockMovingClientId();
+    return {
+      index,
+      name,
+      attributes,
+      blockMovingMode,
+      orientation: (_getBlockListSettings = getBlockListSettings(rootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation
+    };
+  }, [clientId, rootClientId]);
+  const {
+    index,
+    name,
+    attributes,
+    blockMovingMode,
+    orientation
+  } = selected;
+  const {
+    setNavigationMode,
+    removeBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(name);
+  const label = (0,external_wp_blocks_namespaceObject.__experimentalGetAccessibleBlockLabel)(blockType, attributes, index + 1, orientation); // Focus the breadcrumb in navigation mode.

-/* harmony default export */ var warning = __webpack_exports__["a"] = (Warning);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    ref.current.focus();
+    (0,external_wp_a11y_namespaceObject.speak)(label);
+  }, [label]);
+  const {
+    hasBlockMovingClientId,
+    getBlockIndex,
+    getBlockRootClientId,
+    getClientIdsOfDescendants,
+    getSelectedBlockClientId,
+    getMultiSelectedBlocksEndClientId,
+    getPreviousBlockClientId,
+    getNextBlockClientId,
+    isNavigationMode
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    selectBlock,
+    clearSelectedBlock,
+    setBlockMovingClientId,
+    moveBlockToPosition
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

+  function onKeyDown(event) {
+    const {
+      keyCode
+    } = event;
+    const isUp = keyCode === external_wp_keycodes_namespaceObject.UP;
+    const isDown = keyCode === external_wp_keycodes_namespaceObject.DOWN;
+    const isLeft = keyCode === external_wp_keycodes_namespaceObject.LEFT;
+    const isRight = keyCode === external_wp_keycodes_namespaceObject.RIGHT;
+    const isTab = keyCode === external_wp_keycodes_namespaceObject.TAB;
+    const isEscape = keyCode === external_wp_keycodes_namespaceObject.ESCAPE;
+    const isEnter = keyCode === external_wp_keycodes_namespaceObject.ENTER;
+    const isSpace = keyCode === external_wp_keycodes_namespaceObject.SPACE;
+    const isShift = event.shiftKey;

-/***/ }),
+    if (keyCode === external_wp_keycodes_namespaceObject.BACKSPACE || keyCode === external_wp_keycodes_namespaceObject.DELETE) {
+      removeBlock(clientId);
+      event.preventDefault();
+      return;
+    }

-/***/ "abaT":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
+    const selectedBlockClientId = getSelectedBlockClientId();
+    const selectionEndClientId = getMultiSelectedBlocksEndClientId();
+    const selectionBeforeEndClientId = getPreviousBlockClientId(selectionEndClientId || selectedBlockClientId);
+    const selectionAfterEndClientId = getNextBlockClientId(selectionEndClientId || selectedBlockClientId);
+    const navigateUp = isTab && isShift || isUp;
+    const navigateDown = isTab && !isShift || isDown; // Move out of current nesting level (no effect if at root level).

-"use strict";
-/* harmony default export */ __webpack_exports__["a"] = (function(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g)}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"])});
+    const navigateOut = isLeft; // Move into next nesting level (no effect if the current block has no innerBlocks).

+    const navigateIn = isRight;
+    let focusedBlockUid;

-/***/ }),
+    if (navigateUp) {
+      focusedBlockUid = selectionBeforeEndClientId;
+    } else if (navigateDown) {
+      focusedBlockUid = selectionAfterEndClientId;
+    } else if (navigateOut) {
+      var _getBlockRootClientId;

-/***/ "asom":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+      focusedBlockUid = (_getBlockRootClientId = getBlockRootClientId(selectedBlockClientId)) !== null && _getBlockRootClientId !== void 0 ? _getBlockRootClientId : selectedBlockClientId;
+    } else if (navigateIn) {
+      var _getClientIdsOfDescen;

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockSupportSlotContainer; });
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
+      focusedBlockUid = (_getClientIdsOfDescen = getClientIdsOfDescendants([selectedBlockClientId])[0]) !== null && _getClientIdsOfDescen !== void 0 ? _getClientIdsOfDescen : selectedBlockClientId;
+    }

+    const startingBlockClientId = hasBlockMovingClientId();

+    if (isEscape && isNavigationMode()) {
+      clearSelectedBlock();
+      event.preventDefault();
+    }

-/**
- * WordPress dependencies
- */
+    if (isEscape && startingBlockClientId && !event.defaultPrevented) {
+      setBlockMovingClientId(null);
+      event.preventDefault();
+    }

+    if ((isEnter || isSpace) && startingBlockClientId) {
+      const sourceRoot = getBlockRootClientId(startingBlockClientId);
+      const destRoot = getBlockRootClientId(selectedBlockClientId);
+      const sourceBlockIndex = getBlockIndex(startingBlockClientId);
+      let destinationBlockIndex = getBlockIndex(selectedBlockClientId);

-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
-  }));
-}
+      if (sourceBlockIndex < destinationBlockIndex && sourceRoot === destRoot) {
+        destinationBlockIndex -= 1;
+      }

+      moveBlockToPosition(startingBlockClientId, sourceRoot, destRoot, destinationBlockIndex);
+      selectBlock(startingBlockClientId);
+      setBlockMovingClientId(null);
+    }

-/***/ }),
+    if (navigateDown || navigateUp || navigateOut || navigateIn) {
+      if (focusedBlockUid) {
+        event.preventDefault();
+        selectBlock(focusedBlockUid);
+      } else if (isTab && selectedBlockClientId) {
+        let nextTabbable;

-/***/ "b2RC":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+        if (navigateDown) {
+          nextTabbable = external_wp_dom_namespaceObject.focus.tabbable.findNext(blockElement);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+          if (!nextTabbable) {
+            nextTabbable = blockElement.ownerDocument.defaultView.frameElement;
+            nextTabbable = external_wp_dom_namespaceObject.focus.tabbable.findNext(nextTabbable);
+          }
+        } else {
+          nextTabbable = external_wp_dom_namespaceObject.focus.tabbable.findPrevious(blockElement);
+        }

+        if (nextTabbable) {
+          event.preventDefault();
+          nextTabbable.focus();
+          clearSelectedBlock();
+        }
+      }
+    }
+  }

-/**
- * WordPress dependencies
- */
+  const classNames = classnames_default()('block-editor-block-list__block-selection-button', {
+    'is-block-moving-mode': !!blockMovingMode
+  });

-const grid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",
-  fillRule: "evenodd",
-  clipRule: "evenodd"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (grid);
+  const dragHandleLabel = (0,external_wp_i18n_namespaceObject.__)('Drag');

+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classNames
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
+    justify: "center",
+    className: "block-editor-block-list__block-selection-button__content"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+    icon: blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.icon,
+    showColors: true
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(block_draggable, {
+    clientIds: [clientId]
+  }, draggableProps => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({
+    icon: drag_handle,
+    className: "block-selection-button_drag-handle",
+    "aria-hidden": "true",
+    label: dragHandleLabel // Should not be able to tab to drag handle as this
+    // button can only be used with a pointer device.
+    ,
+    tabIndex: "-1"
+  }, draggableProps)))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    ref: ref,
+    onClick: () => setNavigationMode(false),
+    onKeyDown: onKeyDown,
+    label: label,
+    className: "block-selection-button_select-button"
+  }, (0,external_wp_element_namespaceObject.createElement)(BlockTitle, {
+    clientId: clientId
+  })))));
+}

-/***/ }),
+/* harmony default export */ var block_selection_button = (BlockSelectionButton);

-/***/ "bTSr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/navigable-toolbar/index.js

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
  * WordPress dependencies
  */

-const justifySpaceBetween = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (justifySpaceBetween);
-
-
-/***/ }),
-
-/***/ "bVTw":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */

-const lineSolid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  width: "24",
-  height: "24",
-  fill: "none"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M5 11.25h14v1.5H5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (lineSolid);

+function hasOnlyToolbarItem(elements) {
+  const dataProp = 'toolbarItem';
+  return !elements.some(element => !(dataProp in element.dataset));
+}

-/***/ }),
+function getAllToolbarItemsIn(container) {
+  return Array.from(container.querySelectorAll('[data-toolbar-item]'));
+}

-/***/ "bVpQ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function hasFocusWithin(container) {
+  return container.contains(container.ownerDocument.activeElement);
+}

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getColorObjectByAttributeValues; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return getColorObjectByColorValue; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getColorClassName; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getMostReadableColor; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var colord__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("fHnH");
-/* harmony import */ var colord_plugins_names__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("abaT");
-/* harmony import */ var colord_plugins_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("7bKH");
-/**
- * External dependencies
- */
+function focusFirstTabbableIn(container) {
+  const [firstTabbable] = external_wp_dom_namespaceObject.focus.tabbable.find(container);

+  if (firstTabbable) {
+    firstTabbable.focus();
+  }
+}

+function useIsAccessibleToolbar(ref) {
+  /*
+   * By default, we'll assume the starting accessible state of the Toolbar
+   * is true, as it seems to be the most common case.
+   *
+   * Transitioning from an (initial) false to true state causes the
+   * <Toolbar /> component to mount twice, which is causing undesired
+   * side-effects. These side-effects appear to only affect certain
+   * E2E tests.
+   *
+   * This was initial discovered in this pull-request:
+   * https://github.com/WordPress/gutenberg/pull/23425
+   */
+  const initialAccessibleToolbarState = true; // By default, it's gonna render NavigableMenu. If all the tabbable elements
+  // inside the toolbar are ToolbarItem components (or derived components like
+  // ToolbarButton), then we can wrap them with the accessible Toolbar
+  // component.

+  const [isAccessibleToolbar, setIsAccessibleToolbar] = (0,external_wp_element_namespaceObject.useState)(initialAccessibleToolbarState);
+  const determineIsAccessibleToolbar = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    const tabbables = external_wp_dom_namespaceObject.focus.tabbable.find(ref.current);
+    const onlyToolbarItem = hasOnlyToolbarItem(tabbables);

-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"]]);
-/**
- * Provided an array of color objects as set by the theme or by the editor defaults,
- * and the values of the defined color or custom color returns a color object describing the color.
- *
- * @param {Array}   colors       Array of color objects as set by the theme or by the editor defaults.
- * @param {?string} definedColor A string containing the color slug.
- * @param {?string} customColor  A string containing the customColor value.
- *
- * @return {?Object} If definedColor is passed and the name is found in colors,
- *                   the color object exactly as set by the theme or editor defaults is returned.
- *                   Otherwise, an object that just sets the color is defined.
- */
+    if (!onlyToolbarItem) {
+      external_wp_deprecated_default()('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'
+      });
+    }

-const getColorObjectByAttributeValues = (colors, definedColor, customColor) => {
-  if (definedColor) {
-    const colorObj = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["find"])(colors, {
-      slug: definedColor
+    setIsAccessibleToolbar(onlyToolbarItem);
+  }, []);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    // Toolbar buttons may be rendered asynchronously, so we use
+    // MutationObserver to check if the toolbar subtree has been modified
+    const observer = new window.MutationObserver(determineIsAccessibleToolbar);
+    observer.observe(ref.current, {
+      childList: true,
+      subtree: true
     });
+    return () => observer.disconnect();
+  }, [isAccessibleToolbar]);
+  return isAccessibleToolbar;
+}

-    if (colorObj) {
-      return colorObj;
+function useToolbarFocus(ref, focusOnMount, isAccessibleToolbar, defaultIndex, onIndexChange) {
+  // Make sure we don't use modified versions of this prop
+  const [initialFocusOnMount] = (0,external_wp_element_namespaceObject.useState)(focusOnMount);
+  const [initialIndex] = (0,external_wp_element_namespaceObject.useState)(defaultIndex);
+  const focusToolbar = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    focusFirstTabbableIn(ref.current);
+  }, []); // Focus on toolbar when pressing alt+F10 when the toolbar is visible
+
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/block-editor/focus-toolbar', focusToolbar);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (initialFocusOnMount) {
+      focusToolbar();
     }
-  }
+  }, [isAccessibleToolbar, initialFocusOnMount, focusToolbar]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // If initialIndex is passed, we focus on that toolbar item when the
+    // toolbar gets mounted and initial focus is not forced.
+    // We have to wait for the next browser paint because block controls aren't
+    // rendered right away when the toolbar gets mounted.
+    let raf = 0;

-  return {
-    color: customColor
-  };
-};
-/**
- * Provided an array of color objects as set by the theme or by the editor defaults, and a color value returns the color object matching that value or undefined.
- *
- * @param {Array}   colors     Array of color objects as set by the theme or by the editor defaults.
- * @param {?string} colorValue A string containing the color value.
- *
- * @return {?Object} Color object included in the colors array whose color property equals colorValue.
- *                   Returns undefined if no color object matches this requirement.
- */
+    if (initialIndex && !initialFocusOnMount) {
+      raf = window.requestAnimationFrame(() => {
+        const items = getAllToolbarItemsIn(ref.current);
+        const index = initialIndex || 0;

-const getColorObjectByColorValue = (colors, colorValue) => {
-  return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["find"])(colors, {
-    color: colorValue
-  });
-};
-/**
- * Returns a class based on the context a color is being used and its slug.
- *
- * @param {string} colorContextName Context/place where color is being used e.g: background, text etc...
- * @param {string} colorSlug        Slug of the color.
- *
- * @return {?string} String with the class corresponding to the color in the provided context.
- *                   Returns undefined if either colorContextName or colorSlug are not provided.
- */
+        if (items[index] && hasFocusWithin(ref.current)) {
+          items[index].focus();
+        }
+      });
+    }

-function getColorClassName(colorContextName, colorSlug) {
-  if (!colorContextName || !colorSlug) {
-    return undefined;
-  }
+    return () => {
+      window.cancelAnimationFrame(raf);
+      if (!onIndexChange || !ref.current) return; // When the toolbar element is unmounted and onIndexChange is passed, we
+      // pass the focused toolbar item index so it can be hydrated later.

-  return `has-${Object(lodash__WEBPACK_IMPORTED_MODULE_0__["kebabCase"])(colorSlug)}-${colorContextName}`;
+      const items = getAllToolbarItemsIn(ref.current);
+      const index = items.findIndex(item => item.tabIndex === 0);
+      onIndexChange(index);
+    };
+  }, [initialIndex, initialFocusOnMount]);
 }
-/**
- * Given an array of color objects and a color value returns the color value of the most readable color in the array.
- *
- * @param {Array}   colors     Array of color objects as set by the theme or by the editor defaults.
- * @param {?string} colorValue A string containing the color value.
- *
- * @return {string} String with the color value of the most readable color.
- */

-function getMostReadableColor(colors, colorValue) {
-  const colordColor = Object(colord__WEBPACK_IMPORTED_MODULE_1__[/* colord */ "a"])(colorValue);
-  return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["maxBy"])(colors, _ref => {
-    let {
-      color
-    } = _ref;
-    return colordColor.contrast(color);
-  }).color;
-}
+function NavigableToolbar(_ref) {
+  let {
+    children,
+    focusOnMount,
+    __experimentalInitialIndex: initialIndex,
+    __experimentalOnIndexChange: onIndexChange,
+    ...props
+  } = _ref;
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const isAccessibleToolbar = useIsAccessibleToolbar(ref);
+  useToolbarFocus(ref, focusOnMount, isAccessibleToolbar, initialIndex, onIndexChange);

+  if (isAccessibleToolbar) {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Toolbar, _extends({
+      label: props['aria-label'],
+      ref: ref
+    }, props), children);
+  }

-/***/ }),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NavigableMenu, _extends({
+    orientation: "horizontal",
+    role: "toolbar",
+    ref: ref
+  }, props), children);
+}

-/***/ "beZb":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var navigable_toolbar = (NavigableToolbar);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js


 /**
  * WordPress dependencies
  */

-const stretchWide = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const chevronRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (stretchWide);
-
-
-/***/ }),
-
-/***/ "btIw":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var chevron_right = (chevronRight);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js


 /**
  * WordPress dependencies
  */

-const keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const chevronLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "-2 -2 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
+/* harmony default export */ var chevron_left = (chevronLeft);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-up.js

-/***/ }),

-/***/ "c1Zz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockSupportToolsPanel; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("BhPs");
-/* harmony import */ var _hooks_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("715p");
+const chevronUp = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"
+}));
+/* harmony default export */ var chevron_up = (chevronUp);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js


 /**
  * WordPress dependencies
  */

+const chevronDown = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
+}));
+/* harmony default export */ var chevron_down = (chevronDown);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/mover-description.js
 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+/**
+ * Return a label for the block movement controls depending on block position.
+ *
+ * @param {number}  selectedCount Number of blocks selected.
+ * @param {string}  type          Block type - in the case of a single block, should
+ *                                define its 'type'. I.e. 'Text', 'Heading', 'Image' etc.
+ * @param {number}  firstIndex    The index (position - 1) of the first block selected.
+ * @param {boolean} isFirst       This is the first block.
+ * @param {boolean} isLast        This is the last block.
+ * @param {number}  dir           Direction of movement (> 0 is considered to be going
+ *                                down, < 0 is up).
+ * @param {string}  orientation   The orientation of the block movers, vertical or
+ *                                horizontal.
+ *
+ * @return {string} Label for the block movement controls.
+ */

+function getBlockMoverDescription(selectedCount, type, firstIndex, isFirst, isLast, dir, orientation) {
+  const position = firstIndex + 1;

-function BlockSupportToolsPanel(_ref) {
-  let {
-    children,
-    group,
-    label
-  } = _ref;
-  const {
-    attributes,
-    clientIds,
-    panelId
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useSelect"])(select => {
-    const {
-      getBlockAttributes,
-      getMultiSelectedBlockClientIds,
-      getSelectedBlockClientId,
-      hasMultiSelection
-    } = select(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]); // When we currently have a multi-selection, the value returned from
-    // `getSelectedBlockClientId()` is `null`. When a `null` value is used
-    // for the `panelId`, a `ToolsPanel` will still allow panel items to
-    // register themselves despite their panelIds not matching.
-
-    const selectedBlockClientId = getSelectedBlockClientId();
-
-    if (hasMultiSelection()) {
-      const selectedBlockClientIds = getMultiSelectedBlockClientIds();
-      const selectedBlockAttributes = selectedBlockClientIds.reduce((blockAttributes, blockId) => {
-        blockAttributes[blockId] = getBlockAttributes(blockId);
-        return blockAttributes;
-      }, {});
-      return {
-        panelId: selectedBlockClientId,
-        clientIds: selectedBlockClientIds,
-        attributes: selectedBlockAttributes
-      };
-    }
+  const getMovementDirection = moveDirection => {
+    if (moveDirection === 'up') {
+      if (orientation === 'horizontal') {
+        return (0,external_wp_i18n_namespaceObject.isRTL)() ? 'right' : 'left';
+      }

-    return {
-      panelId: selectedBlockClientId,
-      clientIds: [selectedBlockClientId],
-      attributes: {
-        [selectedBlockClientId]: getBlockAttributes(selectedBlockClientId)
+      return 'up';
+    } else if (moveDirection === 'down') {
+      if (orientation === 'horizontal') {
+        return (0,external_wp_i18n_namespaceObject.isRTL)() ? 'left' : 'right';
       }
-    };
-  }, []);
-  const {
-    updateBlockAttributes
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_3__[/* store */ "a"]);

-  const resetAll = function () {
-    let resetFilters = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-    const newAttributes = {};
-    clientIds.forEach(clientId => {
-      const {
-        style
-      } = attributes[clientId];
-      let newBlockAttributes = {
-        style
-      };
-      resetFilters.forEach(resetFilter => {
-        newBlockAttributes = { ...newBlockAttributes,
-          ...resetFilter(newBlockAttributes)
-        };
-      }); // Enforce a cleaned style object.
+      return 'down';
+    }

-      newBlockAttributes = { ...newBlockAttributes,
-        style: Object(_hooks_utils__WEBPACK_IMPORTED_MODULE_4__[/* cleanEmptyObject */ "a"])(newBlockAttributes.style)
-      };
-      newAttributes[clientId] = newBlockAttributes;
-    });
-    updateBlockAttributes(clientIds, newAttributes, true);
+    return null;
   };

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["__experimentalToolsPanel"], {
-    className: `${group}-block-support-panel`,
-    label: label,
-    resetAll: resetAll,
-    key: panelId,
-    panelId: panelId,
-    hasInnerWrapper: true,
-    shouldRenderPlaceholderItems: true // Required to maintain fills ordering.
+  if (selectedCount > 1) {
+    return getMultiBlockMoverDescription(selectedCount, firstIndex, isFirst, isLast, dir);
+  }

-  }, children);
-}
+  if (isFirst && isLast) {
+    return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: Type of block (i.e. Text, Image etc)
+    (0,external_wp_i18n_namespaceObject.__)('Block %s is the only block, and cannot be moved'), type);
+  }

+  if (dir > 0 && !isLast) {
+    // moving down
+    const movementDirection = getMovementDirection('down');

-/***/ }),
+    if (movementDirection === 'down') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
+      (0,external_wp_i18n_namespaceObject.__)('Move %1$s block from position %2$d down to position %3$d'), type, position, position + 1);
+    }

-/***/ "cDcd":
-/***/ (function(module, exports) {
+    if (movementDirection === 'left') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
+      (0,external_wp_i18n_namespaceObject.__)('Move %1$s block from position %2$d left to position %3$d'), type, position, position + 1);
+    }

-(function() { module.exports = window["React"]; }());
+    if (movementDirection === 'right') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
+      (0,external_wp_i18n_namespaceObject.__)('Move %1$s block from position %2$d right to position %3$d'), type, position, position + 1);
+    }
+  }

-/***/ }),
+  if (dir > 0 && isLast) {
+    // moving down, and is the last item
+    const movementDirection = getMovementDirection('down');

-/***/ "cDhi":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (movementDirection === 'down') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc)
+      (0,external_wp_i18n_namespaceObject.__)('Block %1$s is at the end of the content and can’t be moved down'), type);
+    }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockRefs; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return BlockRefsProvider; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+    if (movementDirection === 'left') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc)
+      (0,external_wp_i18n_namespaceObject.__)('Block %1$s is at the end of the content and can’t be moved left'), type);
+    }

+    if (movementDirection === 'right') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc)
+      (0,external_wp_i18n_namespaceObject.__)('Block %1$s is at the end of the content and can’t be moved right'), type);
+    }
+  }

-/**
- * WordPress dependencies
- */
+  if (dir < 0 && !isFirst) {
+    // moving up
+    const movementDirection = getMovementDirection('up');

-const BlockRefs = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])();
-function BlockRefsProvider(_ref) {
-  let {
-    children
-  } = _ref;
-  const value = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => ({
-    refs: new Map(),
-    callbacks: new Map()
-  }), []);
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(BlockRefs.Provider, {
-    value: value
-  }, children);
-}
+    if (movementDirection === 'up') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
+      (0,external_wp_i18n_namespaceObject.__)('Move %1$s block from position %2$d up to position %3$d'), type, position, position - 1);
+    }

+    if (movementDirection === 'left') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
+      (0,external_wp_i18n_namespaceObject.__)('Move %1$s block from position %2$d left to position %3$d'), type, position, position - 1);
+    }

-/***/ }),
+    if (movementDirection === 'right') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc), 2: Position of selected block, 3: New position
+      (0,external_wp_i18n_namespaceObject.__)('Move %1$s block from position %2$d right to position %3$d'), type, position, position - 1);
+    }
+  }

-/***/ "cGtP":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (dir < 0 && isFirst) {
+    // moving up, and is the first item
+    const movementDirection = getMovementDirection('up');

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+    if (movementDirection === 'up') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc)
+      (0,external_wp_i18n_namespaceObject.__)('Block %1$s is at the beginning of the content and can’t be moved up'), type);
+    }

+    if (movementDirection === 'left') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc)
+      (0,external_wp_i18n_namespaceObject.__)('Block %1$s is at the beginning of the content and can’t be moved left'), type);
+    }

+    if (movementDirection === 'right') {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Type of block (i.e. Text, Image etc)
+      (0,external_wp_i18n_namespaceObject.__)('Block %1$s is at the beginning of the content and can’t be moved right'), type);
+    }
+  }
+}
 /**
- * WordPress dependencies
+ * Return a label for the block movement controls depending on block position.
+ *
+ * @param {number}  selectedCount Number of blocks selected.
+ * @param {number}  firstIndex    The index (position - 1) of the first block selected.
+ * @param {boolean} isFirst       This is the first block.
+ * @param {boolean} isLast        This is the last block.
+ * @param {number}  dir           Direction of movement (> 0 is considered to be going
+ *                                down, < 0 is up).
+ *
+ * @return {string} Label for the block movement controls.
  */

-const search = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (search);
-
-
-/***/ }),
-
-/***/ "cjQ8":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
+function getMultiBlockMoverDescription(selectedCount, firstIndex, isFirst, isLast, dir) {
+  const position = firstIndex + 1;

-const arrowLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (arrowLeft);
+  if (dir < 0 && isFirst) {
+    return (0,external_wp_i18n_namespaceObject.__)('Blocks cannot be moved up as they are already at the top');
+  }

+  if (dir > 0 && isLast) {
+    return (0,external_wp_i18n_namespaceObject.__)('Blocks cannot be moved down as they are already at the bottom');
+  }

-/***/ }),
+  if (dir < 0 && !isFirst) {
+    return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Number of selected blocks, 2: Position of selected blocks
+    (0,external_wp_i18n_namespaceObject._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', selectedCount), selectedCount, position);
+  }

-/***/ "dchM":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (dir > 0 && !isLast) {
+    return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Number of selected blocks, 2: Position of selected blocks
+    (0,external_wp_i18n_namespaceObject._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', selectedCount), selectedCount, position);
+  }
+}

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ColorGradientSettingsDropdown; });
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("hMaJ");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/button.js



@@ -30656,1025 +25136,979 @@ const arrowLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["create
  * External dependencies
  */

+
 /**
  * WordPress dependencies
  */


+
+
+
+
+
 /**
  * Internal dependencies
  */


-function ColorGradientSettingsDropdown(_ref) {
-  let {
-    colors,
-    gradients,
-    disableCustomColors,
-    disableCustomGradients,
-    __experimentalHasMultipleOrigins,
-    __experimentalIsRenderedInSidebar,
-    enableAlpha,
-    settings
-  } = _ref;
-  let dropdownPosition;
-
-  if (__experimentalIsRenderedInSidebar) {
-    dropdownPosition = 'bottom left';
-  }
-
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["__experimentalItemGroup"], {
-    isBordered: true,
-    isSeparated: true,
-    className: "block-editor-panel-color-gradient-settings__item-group"
-  }, settings.map((setting, index) => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["Dropdown"], {
-    key: index,
-    position: dropdownPosition,
-    className: "block-editor-panel-color-gradient-settings__dropdown",
-    contentClassName: "block-editor-panel-color-gradient-settings__dropdown-content",
-    renderToggle: _ref2 => {
-      var _setting$gradientValu;

-      let {
-        isOpen,
-        onToggle
-      } = _ref2;
-      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["__experimentalItem"], {
-        onClick: onToggle,
-        className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('block-editor-panel-color-gradient-settings__item', {
-          'is-open': isOpen
-        })
-      }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["__experimentalHStack"], {
-        justify: "flex-start"
-      }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["ColorIndicator"], {
-        className: "block-editor-panel-color-gradient-settings__color-indicator",
-        colorValue: (_setting$gradientValu = setting.gradientValue) !== null && _setting$gradientValu !== void 0 ? _setting$gradientValu : setting.colorValue
-      }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__["FlexItem"], null, setting.label)));
-    },
-    renderContent: () => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_control__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-      showTitle: false,
-      colors,
-      gradients,
-      disableCustomColors,
-      disableCustomGradients,
-      __experimentalHasMultipleOrigins,
-      __experimentalIsRenderedInSidebar,
-      enableAlpha
-    }, setting))
-  })));
-}


-/***/ }),
+const getArrowIcon = (direction, orientation) => {
+  if (direction === 'up') {
+    if (orientation === 'horizontal') {
+      return (0,external_wp_i18n_namespaceObject.isRTL)() ? chevron_right : chevron_left;
+    }

-/***/ "dfZa":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    return chevron_up;
+  } else if (direction === 'down') {
+    if (orientation === 'horizontal') {
+      return (0,external_wp_i18n_namespaceObject.isRTL)() ? chevron_left : chevron_right;
+    }

-"use strict";
-/* unused harmony export Animated */
-/* unused harmony export AnimatedArray */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AnimatedObject; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return AnimatedString; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return AnimatedValue; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return createHost; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getAnimated; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getAnimatedType; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getPayload; });
-/* unused harmony export isAnimated */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return setAnimated; });
-/* harmony import */ var _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("nEW0");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
+    return chevron_down;
+  }

+  return null;
+};

+const getMovementDirectionLabel = (moveDirection, orientation) => {
+  if (moveDirection === 'up') {
+    if (orientation === 'horizontal') {
+      return (0,external_wp_i18n_namespaceObject.isRTL)() ? (0,external_wp_i18n_namespaceObject.__)('Move right') : (0,external_wp_i18n_namespaceObject.__)('Move left');
+    }

+    return (0,external_wp_i18n_namespaceObject.__)('Move up');
+  } else if (moveDirection === 'down') {
+    if (orientation === 'horizontal') {
+      return (0,external_wp_i18n_namespaceObject.isRTL)() ? (0,external_wp_i18n_namespaceObject.__)('Move left') : (0,external_wp_i18n_namespaceObject.__)('Move right');
+    }

-const $node = Symbol.for('Animated:node');
-const isAnimated = value => !!value && value[$node] === value;
-const getAnimated = owner => owner && owner[$node];
-const setAnimated = (owner, node) => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* defineHidden */ "h"])(owner, $node, node);
-const getPayload = owner => owner && owner[$node] && owner[$node].getPayload();
-class Animated {
-  constructor() {
-    this.payload = void 0;
-    setAnimated(this, this);
+    return (0,external_wp_i18n_namespaceObject.__)('Move down');
   }

-  getPayload() {
-    return this.payload || [];
-  }
+  return null;
+};

-}
+const BlockMoverButton = (0,external_wp_element_namespaceObject.forwardRef)((_ref, ref) => {
+  let {
+    clientIds,
+    direction,
+    orientation: moverOrientation,
+    ...props
+  } = _ref;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(BlockMoverButton);
+  const blocksCount = (0,external_lodash_namespaceObject.castArray)(clientIds).length;
+  const {
+    blockType,
+    isDisabled,
+    rootClientId,
+    isFirst,
+    isLast,
+    firstIndex,
+    orientation = 'vertical'
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockIndex,
+      getBlockRootClientId,
+      getBlockOrder,
+      getBlock,
+      getBlockListSettings
+    } = select(store);
+    const normalizedClientIds = (0,external_lodash_namespaceObject.castArray)(clientIds);
+    const firstClientId = (0,external_lodash_namespaceObject.first)(normalizedClientIds);
+    const blockRootClientId = getBlockRootClientId(firstClientId);
+    const firstBlockIndex = getBlockIndex(firstClientId);
+    const lastBlockIndex = getBlockIndex((0,external_lodash_namespaceObject.last)(normalizedClientIds));
+    const blockOrder = getBlockOrder(blockRootClientId);
+    const block = getBlock(firstClientId);
+    const isFirstBlock = firstBlockIndex === 0;
+    const isLastBlock = lastBlockIndex === blockOrder.length - 1;
+    const {
+      orientation: blockListOrientation
+    } = getBlockListSettings(blockRootClientId) || {};
+    return {
+      blockType: block ? (0,external_wp_blocks_namespaceObject.getBlockType)(block.name) : null,
+      isDisabled: direction === 'up' ? isFirstBlock : isLastBlock,
+      rootClientId: blockRootClientId,
+      firstIndex: firstBlockIndex,
+      isFirst: isFirstBlock,
+      isLast: isLastBlock,
+      orientation: moverOrientation || blockListOrientation
+    };
+  }, [clientIds, direction]);
+  const {
+    moveBlocksDown,
+    moveBlocksUp
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const moverFunction = direction === 'up' ? moveBlocksUp : moveBlocksDown;

-class AnimatedValue extends Animated {
-  constructor(_value) {
-    super();
-    this.done = true;
-    this.elapsedTime = void 0;
-    this.lastPosition = void 0;
-    this.lastVelocity = void 0;
-    this.v0 = void 0;
-    this.durationProgress = 0;
-    this._value = _value;
+  const onClick = event => {
+    moverFunction(clientIds, rootClientId);

-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].num(this._value)) {
-      this.lastPosition = this._value;
+    if (props.onClick) {
+      props.onClick(event);
     }
-  }
+  };

-  static create(value) {
-    return new AnimatedValue(value);
-  }
+  const descriptionId = `block-editor-block-mover-button__description-${instanceId}`;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({
+    ref: ref,
+    className: classnames_default()('block-editor-block-mover-button', `is-${direction}-button`),
+    icon: getArrowIcon(direction, orientation),
+    label: getMovementDirectionLabel(direction, orientation),
+    "aria-describedby": descriptionId
+  }, props, {
+    onClick: isDisabled ? null : onClick,
+    "aria-disabled": isDisabled
+  })), (0,external_wp_element_namespaceObject.createElement)("span", {
+    id: descriptionId,
+    className: "block-editor-block-mover-button__description"
+  }, getBlockMoverDescription(blocksCount, blockType && blockType.title, firstIndex, isFirst, isLast, direction === 'up' ? -1 : 1, orientation)));
+});
+const BlockMoverUpButton = (0,external_wp_element_namespaceObject.forwardRef)((props, ref) => {
+  return (0,external_wp_element_namespaceObject.createElement)(BlockMoverButton, _extends({
+    direction: "up",
+    ref: ref
+  }, props));
+});
+const BlockMoverDownButton = (0,external_wp_element_namespaceObject.forwardRef)((props, ref) => {
+  return (0,external_wp_element_namespaceObject.createElement)(BlockMoverButton, _extends({
+    direction: "down",
+    ref: ref
+  }, props));
+});

-  getPayload() {
-    return [this];
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-mover/index.js

-  getValue() {
-    return this._value;
-  }

-  setValue(value, step) {
-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].num(value)) {
-      this.lastPosition = value;

-      if (step) {
-        value = Math.round(value / step) * step;
+/**
+ * External dependencies
+ */

-        if (this.done) {
-          this.lastPosition = value;
-        }
-      }
-    }

-    if (this._value === value) {
-      return false;
-    }
+/**
+ * WordPress dependencies
+ */

-    this._value = value;
-    return true;
-  }

-  reset() {
-    const {
-      done
-    } = this;
-    this.done = false;

-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].num(this._value)) {
-      this.elapsedTime = 0;
-      this.durationProgress = 0;
-      this.lastPosition = this._value;
-      if (done) this.lastVelocity = null;
-      this.v0 = null;
-    }
-  }

-}

-class AnimatedString extends AnimatedValue {
-  constructor(value) {
-    super(0);
-    this._string = null;
-    this._toString = void 0;
-    this._toString = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* createInterpolator */ "f"])({
-      output: [value, value]
-    });
-  }

-  static create(value) {
-    return new AnimatedString(value);
-  }

-  getValue() {
-    let value = this._string;
-    return value == null ? this._string = this._toString(this._value) : value;
-  }
+/**
+ * Internal dependencies
+ */

-  setValue(value) {
-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].str(value)) {
-      if (value == this._string) {
-        return false;
-      }

-      this._string = value;
-      this._value = 1;
-    } else if (super.setValue(value)) {
-      this._string = null;
-    } else {
-      return false;
-    }

-    return true;
-  }

-  reset(goal) {
-    if (goal) {
-      this._toString = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* createInterpolator */ "f"])({
-        output: [this.getValue(), goal]
-      });
-    }

-    this._value = 0;
-    super.reset();
+function BlockMover(_ref) {
+  let {
+    isFirst,
+    isLast,
+    clientIds,
+    canMove,
+    isHidden,
+    rootClientId,
+    orientation,
+    hideDragHandle
+  } = _ref;
+  const [isFocused, setIsFocused] = (0,external_wp_element_namespaceObject.useState)(false);
+
+  const onFocus = () => setIsFocused(true);
+
+  const onBlur = () => setIsFocused(false);
+
+  if (!canMove || isFirst && isLast && !rootClientId) {
+    return null;
   }

+  const dragHandleLabel = (0,external_wp_i18n_namespaceObject.__)('Drag'); // We emulate a disabled state because forcefully applying the `disabled`
+  // attribute on the buttons while it has focus causes the screen to change
+  // to an unfocused state (body as active element) without firing blur on,
+  // the rendering parent, leaving it unable to react to focus out.
+
+
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('block-editor-block-mover', {
+      'is-visible': isFocused || !isHidden,
+      'is-horizontal': orientation === 'horizontal'
+    })
+  }, !hideDragHandle && (0,external_wp_element_namespaceObject.createElement)(block_draggable, {
+    clientIds: clientIds,
+    cloneClassname: "block-editor-block-mover__drag-clone"
+  }, draggableProps => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({
+    icon: drag_handle,
+    className: "block-editor-block-mover__drag-handle",
+    "aria-hidden": "true",
+    label: dragHandleLabel // Should not be able to tab to drag handle as this
+    // button can only be used with a pointer device.
+    ,
+    tabIndex: "-1"
+  }, draggableProps))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, {
+    className: "block-editor-block-mover__move-button-container"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+    onFocus: onFocus,
+    onBlur: onBlur
+  }, itemProps => (0,external_wp_element_namespaceObject.createElement)(BlockMoverUpButton, _extends({
+    clientIds: clientIds
+  }, itemProps))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+    onFocus: onFocus,
+    onBlur: onBlur
+  }, itemProps => (0,external_wp_element_namespaceObject.createElement)(BlockMoverDownButton, _extends({
+    clientIds: clientIds
+  }, itemProps)))));
 }

-const TreeContext = {
-  dependencies: null
-};
+/* harmony default export */ var block_mover = ((0,external_wp_data_namespaceObject.withSelect)((select, _ref2) => {
+  var _getBlockListSettings;

-class AnimatedObject extends Animated {
-  constructor(source) {
-    super();
-    this.source = source;
-    this.setValue(source);
-  }
+  let {
+    clientIds
+  } = _ref2;
+  const {
+    getBlock,
+    getBlockIndex,
+    getBlockListSettings,
+    canMoveBlocks,
+    getBlockOrder,
+    getBlockRootClientId
+  } = select(store);
+  const normalizedClientIds = (0,external_lodash_namespaceObject.castArray)(clientIds);
+  const firstClientId = (0,external_lodash_namespaceObject.first)(normalizedClientIds);
+  const block = getBlock(firstClientId);
+  const rootClientId = getBlockRootClientId((0,external_lodash_namespaceObject.first)(normalizedClientIds));
+  const firstIndex = getBlockIndex(firstClientId);
+  const lastIndex = getBlockIndex((0,external_lodash_namespaceObject.last)(normalizedClientIds));
+  const blockOrder = getBlockOrder(rootClientId);
+  const isFirst = firstIndex === 0;
+  const isLast = lastIndex === blockOrder.length - 1;
+  return {
+    blockType: block ? (0,external_wp_blocks_namespaceObject.getBlockType)(block.name) : null,
+    canMove: canMoveBlocks(clientIds, rootClientId),
+    rootClientId,
+    firstIndex,
+    isFirst,
+    isLast,
+    orientation: (_getBlockListSettings = getBlockListSettings(rootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation
+  };
+})(BlockMover));

-  getValue(animated) {
-    const values = {};
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* eachProp */ "l"])(this.source, (source, key) => {
-      if (isAnimated(source)) {
-        values[key] = source.getValue(animated);
-      } else if (Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(source)) {
-        values[key] = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(source);
-      } else if (!animated) {
-        values[key] = source;
-      }
-    });
-    return values;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-toolbar/utils.js
+/**
+ * External dependencies
+ */

-  setValue(source) {
-    this.source = source;
-    this.payload = this._makePayload(source);
-  }
+/**
+ * WordPress dependencies
+ */

-  reset() {
-    if (this.payload) {
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(this.payload, node => node.reset());
-    }
-  }

-  _makePayload(source) {
-    if (source) {
-      const payload = new Set();
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* eachProp */ "l"])(source, this._addToPayload, payload);
-      return Array.from(payload);
-    }
-  }
+const {
+  clearTimeout: utils_clearTimeout,
+  setTimeout: utils_setTimeout
+} = window;
+const DEBOUNCE_TIMEOUT = 200;
+/**
+ * Hook that creates a showMover state, as well as debounced show/hide callbacks.
+ *
+ * @param {Object}   props                       Component props.
+ * @param {Object}   props.ref                   Element reference.
+ * @param {boolean}  props.isFocused             Whether the component has current focus.
+ * @param {number}   [props.debounceTimeout=250] Debounce timeout in milliseconds.
+ * @param {Function} [props.onChange=noop]       Callback function.
+ */

-  _addToPayload(source) {
-    if (TreeContext.dependencies && Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(source)) {
-      TreeContext.dependencies.add(source);
+function useDebouncedShowMovers(_ref) {
+  let {
+    ref,
+    isFocused,
+    debounceTimeout = DEBOUNCE_TIMEOUT,
+    onChange = external_lodash_namespaceObject.noop
+  } = _ref;
+  const [showMovers, setShowMovers] = (0,external_wp_element_namespaceObject.useState)(false);
+  const timeoutRef = (0,external_wp_element_namespaceObject.useRef)();
+
+  const handleOnChange = nextIsFocused => {
+    if (ref !== null && ref !== void 0 && ref.current) {
+      setShowMovers(nextIsFocused);
     }

-    const payload = getPayload(source);
+    onChange(nextIsFocused);
+  };

-    if (payload) {
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(payload, node => this.add(node));
-    }
-  }
+  const getIsHovered = () => {
+    return (ref === null || ref === void 0 ? void 0 : ref.current) && ref.current.matches(':hover');
+  };

-}
+  const shouldHideMovers = () => {
+    const isHovered = getIsHovered();
+    return !isFocused && !isHovered;
+  };

-class AnimatedArray extends AnimatedObject {
-  constructor(source) {
-    super(source);
-  }
+  const clearTimeoutRef = () => {
+    const timeout = timeoutRef.current;

-  static create(source) {
-    return new AnimatedArray(source);
-  }
+    if (timeout && utils_clearTimeout) {
+      utils_clearTimeout(timeout);
+    }
+  };

-  getValue() {
-    return this.source.map(node => node.getValue());
-  }
+  const debouncedShowMovers = event => {
+    if (event) {
+      event.stopPropagation();
+    }

-  setValue(source) {
-    const payload = this.getPayload();
+    clearTimeoutRef();

-    if (source.length == payload.length) {
-      return payload.map((node, i) => node.setValue(source[i])).some(Boolean);
+    if (!showMovers) {
+      handleOnChange(true);
     }
+  };

-    super.setValue(source.map(makeAnimated));
-    return true;
-  }
+  const debouncedHideMovers = event => {
+    if (event) {
+      event.stopPropagation();
+    }

-}
+    clearTimeoutRef();
+    timeoutRef.current = utils_setTimeout(() => {
+      if (shouldHideMovers()) {
+        handleOnChange(false);
+      }
+    }, debounceTimeout);
+  };

-function makeAnimated(value) {
-  const nodeType = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isAnimatedString */ "t"])(value) ? AnimatedString : AnimatedValue;
-  return nodeType.create(value);
+  (0,external_wp_element_namespaceObject.useEffect)(() => () => clearTimeoutRef(), []);
+  return {
+    showMovers,
+    debouncedShowMovers,
+    debouncedHideMovers
+  };
 }
+/**
+ * Hook that provides a showMovers state and gesture events for DOM elements
+ * that interact with the showMovers state.
+ *
+ * @param {Object}   props                       Component props.
+ * @param {Object}   props.ref                   Element reference.
+ * @param {number}   [props.debounceTimeout=250] Debounce timeout in milliseconds.
+ * @param {Function} [props.onChange=noop]       Callback function.
+ */

-function getAnimatedType(value) {
-  const parentNode = getAnimated(value);
-  return parentNode ? parentNode.constructor : _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].arr(value) ? AnimatedArray : Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isAnimatedString */ "t"])(value) ? AnimatedString : AnimatedValue;
-}
+function useShowMoversGestures(_ref2) {
+  let {
+    ref,
+    debounceTimeout = DEBOUNCE_TIMEOUT,
+    onChange = external_lodash_namespaceObject.noop
+  } = _ref2;
+  const [isFocused, setIsFocused] = (0,external_wp_element_namespaceObject.useState)(false);
+  const {
+    showMovers,
+    debouncedShowMovers,
+    debouncedHideMovers
+  } = useDebouncedShowMovers({
+    ref,
+    debounceTimeout,
+    isFocused,
+    onChange
+  });
+  const registerRef = (0,external_wp_element_namespaceObject.useRef)(false);

-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
+  const isFocusedWithin = () => {
+    return (ref === null || ref === void 0 ? void 0 : ref.current) && ref.current.contains(ref.current.ownerDocument.activeElement);
+  };

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const node = ref.current;
+
+    const handleOnFocus = () => {
+      if (isFocusedWithin()) {
+        setIsFocused(true);
+        debouncedShowMovers();
+      }
+    };
+
+    const handleOnBlur = () => {
+      if (!isFocusedWithin()) {
+        setIsFocused(false);
+        debouncedHideMovers();
+      }
+    };
+    /**
+     * Events are added via DOM events (vs. React synthetic events),
+     * as the child React components swallow mouse events.
+     */
+
+
+    if (node && !registerRef.current) {
+      node.addEventListener('focus', handleOnFocus, true);
+      node.addEventListener('blur', handleOnBlur, true);
+      registerRef.current = true;
+    }
+
+    return () => {
+      if (node) {
+        node.removeEventListener('focus', handleOnFocus);
+        node.removeEventListener('blur', handleOnBlur);
       }
+    };
+  }, [ref, registerRef, setIsFocused, debouncedShowMovers, debouncedHideMovers]);
+  return {
+    showMovers,
+    gestures: {
+      onMouseMove: debouncedShowMovers,
+      onMouseLeave: debouncedHideMovers
     }
-
-    return target;
   };
-
-  return _extends.apply(this, arguments);
 }

-const withAnimated = (Component, host) => {
-  const hasInstance = !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(Component) || Component.prototype && Component.prototype.isReactComponent;
-  return Object(react__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])((givenProps, givenRef) => {
-    const instanceRef = Object(react__WEBPACK_IMPORTED_MODULE_1__["useRef"])(null);
-    const ref = hasInstance && Object(react__WEBPACK_IMPORTED_MODULE_1__["useCallback"])(value => {
-      instanceRef.current = updateRef(givenRef, value);
-    }, [givenRef]);
-    const [props, deps] = getAnimatedState(givenProps, host);
-    const forceUpdate = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useForceUpdate */ "z"])();
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-parent-selector/index.js

-    const callback = () => {
-      const instance = instanceRef.current;

-      if (hasInstance && !instance) {
-        return;
-      }

-      const didUpdate = instance ? host.applyAnimatedValues(instance, props.getValue(true)) : false;
+/**
+ * WordPress dependencies
+ */

-      if (didUpdate === false) {
-        forceUpdate();
-      }
-    };

-    const observer = new PropsObserver(callback, deps);
-    const observerRef = Object(react__WEBPACK_IMPORTED_MODULE_1__["useRef"])();
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useLayoutEffect */ "A"])(() => {
-      const lastObserver = observerRef.current;
-      observerRef.current = observer;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(deps, dep => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* addFluidObserver */ "c"])(dep, observer));

-      if (lastObserver) {
-        Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(lastObserver.deps, dep => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* removeFluidObserver */ "x"])(dep, lastObserver));
-        _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].cancel(lastObserver.update);
-      }
-    });
-    Object(react__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(callback, []);
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useOnce */ "C"])(() => () => {
-      const observer = observerRef.current;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(observer.deps, dep => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* removeFluidObserver */ "x"])(dep, observer));
-    });
-    const usedProps = host.getComponentProps(props.getValue());
-    return react__WEBPACK_IMPORTED_MODULE_1__["createElement"](Component, _extends({}, usedProps, {
-      ref: ref
-    }));
-  });
-};

-class PropsObserver {
-  constructor(update, deps) {
-    this.update = update;
-    this.deps = deps;
-  }

-  eventObserved(event) {
-    if (event.type == 'change') {
-      _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].write(this.update);
-    }
-  }
+/**
+ * Internal dependencies
+ */

-}

-function getAnimatedState(props, host) {
-  const dependencies = new Set();
-  TreeContext.dependencies = dependencies;
-  if (props.style) props = _extends({}, props, {
-    style: host.createAnimatedStyle(props.style)
-  });
-  props = new AnimatedObject(props);
-  TreeContext.dependencies = null;
-  return [props, dependencies];
-}

-function updateRef(ref, value) {
-  if (ref) {
-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(ref)) ref(value);else ref.current = value;
-  }

-  return value;
-}

-const cacheKey = Symbol.for('AnimatedComponent');
-const createHost = (components, {
-  applyAnimatedValues: _applyAnimatedValues = () => false,
-  createAnimatedStyle: _createAnimatedStyle = style => new AnimatedObject(style),
-  getComponentProps: _getComponentProps = props => props
-} = {}) => {
-  const hostConfig = {
-    applyAnimatedValues: _applyAnimatedValues,
-    createAnimatedStyle: _createAnimatedStyle,
-    getComponentProps: _getComponentProps
-  };
+/**
+ * Block parent selector component, displaying the hierarchy of the
+ * current block selection as a single icon to "go up" a level.
+ *
+ * @return {WPComponent} Parent block selector.
+ */

-  const animated = Component => {
-    const displayName = getDisplayName(Component) || 'Anonymous';
+function BlockParentSelector() {
+  const {
+    selectBlock,
+    toggleBlockHighlight
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    firstParentClientId,
+    shouldHide,
+    hasReducedUI
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockName,
+      getBlockParents,
+      getSelectedBlockClientId,
+      getSettings
+    } = select(store);
+    const {
+      hasBlockSupport
+    } = select(external_wp_blocks_namespaceObject.store);
+    const selectedBlockClientId = getSelectedBlockClientId();
+    const parents = getBlockParents(selectedBlockClientId);
+    const _firstParentClientId = parents[parents.length - 1];
+    const parentBlockName = getBlockName(_firstParentClientId);

-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].str(Component)) {
-      Component = animated[Component] || (animated[Component] = withAnimated(Component, hostConfig));
-    } else {
-      Component = Component[cacheKey] || (Component[cacheKey] = withAnimated(Component, hostConfig));
-    }
+    const _parentBlockType = (0,external_wp_blocks_namespaceObject.getBlockType)(parentBlockName);

-    Component.displayName = `Animated(${displayName})`;
-    return Component;
-  };
+    const settings = getSettings();
+    return {
+      firstParentClientId: _firstParentClientId,
+      shouldHide: !hasBlockSupport(_parentBlockType, '__experimentalParentSelector', true),
+      hasReducedUI: settings.hasReducedUI
+    };
+  }, []);
+  const blockInformation = useBlockDisplayInformation(firstParentClientId); // Allows highlighting the parent block outline when focusing or hovering
+  // the parent block selector within the child.

-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* eachProp */ "l"])(components, (Component, key) => {
-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].arr(components)) {
-      key = getDisplayName(Component);
+  const nodeRef = (0,external_wp_element_namespaceObject.useRef)();
+  const {
+    gestures: showMoversGestures
+  } = useShowMoversGestures({
+    ref: nodeRef,
+
+    onChange(isFocused) {
+      if (isFocused && hasReducedUI) {
+        return;
+      }
+
+      toggleBlockHighlight(firstParentClientId, isFocused);
     }

-    animated[key] = animated(Component);
   });
-  return {
-    animated
-  };
-};
-
-const getDisplayName = arg => _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].str(arg) ? arg : arg && _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].str(arg.displayName) ? arg.displayName : _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(arg) && arg.name || null;

+  if (shouldHide || firstParentClientId === undefined) {
+    return null;
+  }

+  return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
+    className: "block-editor-block-parent-selector",
+    key: firstParentClientId,
+    ref: nodeRef
+  }, showMoversGestures), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    className: "block-editor-block-parent-selector__button",
+    onClick: () => selectBlock(firstParentClientId),
+    label: (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %s: Name of the block's parent. */
+    (0,external_wp_i18n_namespaceObject.__)('Select %s'), blockInformation.title),
+    showTooltip: true,
+    icon: (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+      icon: blockInformation.icon
+    })
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/stack.js

-/***/ }),

-/***/ "eGrx":
-/***/ (function(module, exports) {
+/**
+ * WordPress dependencies
+ */

-var traverse = module.exports = function (obj) {
-    return new Traverse(obj);
-};
+const stack = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"
+}));
+/* harmony default export */ var library_stack = (stack);

-function Traverse (obj) {
-    this.value = obj;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/preview-block-popover.js

-Traverse.prototype.get = function (ps) {
-    var node = this.value;
-    for (var i = 0; i < ps.length; i ++) {
-        var key = ps[i];
-        if (!node || !hasOwnProperty.call(node, key)) {
-            node = undefined;
-            break;
-        }
-        node = node[key];
-    }
-    return node;
-};

-Traverse.prototype.has = function (ps) {
-    var node = this.value;
-    for (var i = 0; i < ps.length; i ++) {
-        var key = ps[i];
-        if (!node || !hasOwnProperty.call(node, key)) {
-            return false;
-        }
-        node = node[key];
-    }
-    return true;
-};
+/**
+ * WordPress dependencies
+ */

-Traverse.prototype.set = function (ps, value) {
-    var node = this.value;
-    for (var i = 0; i < ps.length - 1; i ++) {
-        var key = ps[i];
-        if (!hasOwnProperty.call(node, key)) node[key] = {};
-        node = node[key];
-    }
-    node[ps[i]] = value;
-    return value;
-};

-Traverse.prototype.map = function (cb) {
-    return walk(this.value, cb, true);
-};
+/**
+ * Internal dependencies
+ */

-Traverse.prototype.forEach = function (cb) {
-    this.value = walk(this.value, cb, false);
-    return this.value;
-};

-Traverse.prototype.reduce = function (cb, init) {
-    var skip = arguments.length === 1;
-    var acc = skip ? this.value : init;
-    this.forEach(function (x) {
-        if (!this.isRoot || !skip) {
-            acc = cb.call(this, acc, x);
-        }
-    });
-    return acc;
-};
+function PreviewBlockPopover(_ref) {
+  let {
+    blocks
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-switcher__popover__preview__parent"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-switcher__popover__preview__container"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
+    className: "block-editor-block-switcher__preview__popover",
+    position: "bottom right",
+    focusOnMount: false
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-switcher__preview"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-switcher__preview-title"
+  }, (0,external_wp_i18n_namespaceObject.__)('Preview')), (0,external_wp_element_namespaceObject.createElement)(block_preview, {
+    viewportWidth: 500,
+    blocks: blocks
+  })))));
+}

-Traverse.prototype.paths = function () {
-    var acc = [];
-    this.forEach(function (x) {
-        acc.push(this.path);
-    });
-    return acc;
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/block-transformations-menu.js

-Traverse.prototype.nodes = function () {
-    var acc = [];
-    this.forEach(function (x) {
-        acc.push(this.node);
-    });
-    return acc;
-};

-Traverse.prototype.clone = function () {
-    var parents = [], nodes = [];
-
-    return (function clone (src) {
-        for (var i = 0; i < parents.length; i++) {
-            if (parents[i] === src) {
-                return nodes[i];
-            }
-        }
-
-        if (typeof src === 'object' && src !== null) {
-            var dst = copy(src);
-
-            parents.push(src);
-            nodes.push(dst);
-
-            forEach(objectKeys(src), function (key) {
-                dst[key] = clone(src[key]);
-            });
-
-            parents.pop();
-            nodes.pop();
-            return dst;
-        }
-        else {
-            return src;
-        }
-    })(this.value);
-};
+/**
+ * WordPress dependencies
+ */

-function walk (root, cb, immutable) {
-    var path = [];
-    var parents = [];
-    var alive = true;
-
-    return (function walker (node_) {
-        var node = immutable ? copy(node_) : node_;
-        var modifiers = {};
-
-        var keepGoing = true;
-
-        var state = {
-            node : node,
-            node_ : node_,
-            path : [].concat(path),
-            parent : parents[parents.length - 1],
-            parents : parents,
-            key : path.slice(-1)[0],
-            isRoot : path.length === 0,
-            level : path.length,
-            circular : null,
-            update : function (x, stopHere) {
-                if (!state.isRoot) {
-                    state.parent.node[state.key] = x;
-                }
-                state.node = x;
-                if (stopHere) keepGoing = false;
-            },
-            'delete' : function (stopHere) {
-                delete state.parent.node[state.key];
-                if (stopHere) keepGoing = false;
-            },
-            remove : function (stopHere) {
-                if (isArray(state.parent.node)) {
-                    state.parent.node.splice(state.key, 1);
-                }
-                else {
-                    delete state.parent.node[state.key];
-                }
-                if (stopHere) keepGoing = false;
-            },
-            keys : null,
-            before : function (f) { modifiers.before = f },
-            after : function (f) { modifiers.after = f },
-            pre : function (f) { modifiers.pre = f },
-            post : function (f) { modifiers.post = f },
-            stop : function () { alive = false },
-            block : function () { keepGoing = false }
-        };
-
-        if (!alive) return state;
-
-        function updateState() {
-            if (typeof state.node === 'object' && state.node !== null) {
-                if (!state.keys || state.node_ !== state.node) {
-                    state.keys = objectKeys(state.node)
-                }
-
-                state.isLeaf = state.keys.length == 0;
-
-                for (var i = 0; i < parents.length; i++) {
-                    if (parents[i].node_ === node_) {
-                        state.circular = parents[i];
-                        break;
-                    }
-                }
-            }
-            else {
-                state.isLeaf = true;
-                state.keys = null;
-            }
-
-            state.notLeaf = !state.isLeaf;
-            state.notRoot = !state.isRoot;
-        }
-
-        updateState();
-
-        // use return values to update if defined
-        var ret = cb.call(state, state.node);
-        if (ret !== undefined && state.update) state.update(ret);
-
-        if (modifiers.before) modifiers.before.call(state, state.node);
-
-        if (!keepGoing) return state;
-
-        if (typeof state.node == 'object'
-        && state.node !== null && !state.circular) {
-            parents.push(state);
-
-            updateState();
-
-            forEach(state.keys, function (key, i) {
-                path.push(key);
-
-                if (modifiers.pre) modifiers.pre.call(state, state.node[key], key);
-
-                var child = walker(state.node[key]);
-                if (immutable && hasOwnProperty.call(state.node, key)) {
-                    state.node[key] = child.node;
-                }
-
-                child.isLast = i == state.keys.length - 1;
-                child.isFirst = i == 0;
-
-                if (modifiers.post) modifiers.post.call(state, child);
-
-                path.pop();
-            });
-            parents.pop();
-        }
-
-        if (modifiers.after) modifiers.after.call(state, state.node);
-
-        return state;
-    })(root).node;
-}

-function copy (src) {
-    if (typeof src === 'object' && src !== null) {
-        var dst;
-
-        if (isArray(src)) {
-            dst = [];
-        }
-        else if (isDate(src)) {
-            dst = new Date(src.getTime ? src.getTime() : src);
-        }
-        else if (isRegExp(src)) {
-            dst = new RegExp(src);
-        }
-        else if (isError(src)) {
-            dst = { message: src.message };
-        }
-        else if (isBoolean(src)) {
-            dst = new Boolean(src);
-        }
-        else if (isNumber(src)) {
-            dst = new Number(src);
-        }
-        else if (isString(src)) {
-            dst = new String(src);
-        }
-        else if (Object.create && Object.getPrototypeOf) {
-            dst = Object.create(Object.getPrototypeOf(src));
-        }
-        else if (src.constructor === Object) {
-            dst = {};
-        }
-        else {
-            var proto =
-                (src.constructor && src.constructor.prototype)
-                || src.__proto__
-                || {}
-            ;
-            var T = function () {};
-            T.prototype = proto;
-            dst = new T;
-        }
-
-        forEach(objectKeys(src), function (key) {
-            dst[key] = src[key];
-        });
-        return dst;
-    }
-    else return src;
-}

-var objectKeys = Object.keys || function keys (obj) {
-    var res = [];
-    for (var key in obj) res.push(key)
-    return res;
-};

-function toS (obj) { return Object.prototype.toString.call(obj) }
-function isDate (obj) { return toS(obj) === '[object Date]' }
-function isRegExp (obj) { return toS(obj) === '[object RegExp]' }
-function isError (obj) { return toS(obj) === '[object Error]' }
-function isBoolean (obj) { return toS(obj) === '[object Boolean]' }
-function isNumber (obj) { return toS(obj) === '[object Number]' }
-function isString (obj) { return toS(obj) === '[object String]' }
+/**
+ * Internal dependencies
+ */

-var isArray = Array.isArray || function isArray (xs) {
-    return Object.prototype.toString.call(xs) === '[object Array]';
-};

-var forEach = function (xs, fn) {
-    if (xs.forEach) return xs.forEach(fn)
-    else for (var i = 0; i < xs.length; i++) {
-        fn(xs[i], i, xs);
-    }
-};

-forEach(objectKeys(Traverse.prototype), function (key) {
-    traverse[key] = function (obj) {
-        var args = [].slice.call(arguments, 1);
-        var t = new Traverse(obj);
-        return t[key].apply(t, args);
-    };
-});

-var hasOwnProperty = Object.hasOwnProperty || function (obj, key) {
-    return key in obj;
+const BlockTransformationsMenu = _ref => {
+  let {
+    className,
+    possibleBlockTransformations,
+    onSelect,
+    blocks
+  } = _ref;
+  const [hoveredTransformItemName, setHoveredTransformItemName] = (0,external_wp_element_namespaceObject.useState)();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Transform to'),
+    className: className
+  }, hoveredTransformItemName && (0,external_wp_element_namespaceObject.createElement)(PreviewBlockPopover, {
+    blocks: (0,external_wp_blocks_namespaceObject.switchToBlockType)(blocks, hoveredTransformItemName)
+  }), possibleBlockTransformations.map(item => {
+    const {
+      name,
+      icon,
+      title,
+      isDisabled
+    } = item;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      key: name,
+      className: (0,external_wp_blocks_namespaceObject.getBlockMenuDefaultClassName)(name),
+      onClick: event => {
+        event.preventDefault();
+        onSelect(name);
+      },
+      disabled: isDisabled,
+      onMouseLeave: () => setHoveredTransformItemName(null),
+      onMouseEnter: () => setHoveredTransformItemName(name)
+    }, (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+      icon: icon,
+      showColors: true
+    }), title);
+  }));
 };

+/* harmony default export */ var block_transformations_menu = (BlockTransformationsMenu);

-/***/ }),
+;// CONCATENATED MODULE: external ["wp","tokenList"]
+var external_wp_tokenList_namespaceObject = window["wp"]["tokenList"];
+var external_wp_tokenList_default = /*#__PURE__*/__webpack_require__.n(external_wp_tokenList_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/utils.js
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */

-/***/ "ez49":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
 /**
- * Copyright 2013-2015, Facebook, Inc.
- * All rights reserved.
+ * Returns the active style from the given className.
  *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
+ * @param {Array}  styles    Block style variations.
+ * @param {string} className Class name
  *
- * @providesModule isEventSupported
+ * @return {Object?} The active style.
  */

+function getActiveStyle(styles, className) {
+  for (const style of new (external_wp_tokenList_default())(className).values()) {
+    if (style.indexOf('is-style-') === -1) {
+      continue;
+    }

+    const potentialStyleName = style.substring(9);
+    const activeStyle = (0,external_lodash_namespaceObject.find)(styles, {
+      name: potentialStyleName
+    });

-var ExecutionEnvironment = __webpack_require__("o97j");
+    if (activeStyle) {
+      return activeStyle;
+    }
+  }

-var useHasFeature;
-if (ExecutionEnvironment.canUseDOM) {
-  useHasFeature =
-    document.implementation &&
-    document.implementation.hasFeature &&
-    // always returns true in newer browsers as per the standard.
-    // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
-    document.implementation.hasFeature('', '') !== true;
+  return (0,external_lodash_namespaceObject.find)(styles, 'isDefault');
 }
-
 /**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
+ * Replaces the active style in the block's className.
  *
- * Borrows from Modernizr.
+ * @param {string}  className   Class name.
+ * @param {Object?} activeStyle The replaced style.
+ * @param {Object}  newStyle    The replacing style.
  *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @param {?boolean} capture Check if the capture phase is supported.
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
+ * @return {string} The updated className.
  */
-function isEventSupported(eventNameSuffix, capture) {
-  if (!ExecutionEnvironment.canUseDOM ||
-      capture && !('addEventListener' in document)) {
-    return false;
-  }
-
-  var eventName = 'on' + eventNameSuffix;
-  var isSupported = eventName in document;

-  if (!isSupported) {
-    var element = document.createElement('div');
-    element.setAttribute(eventName, 'return;');
-    isSupported = typeof element[eventName] === 'function';
-  }
+function replaceActiveStyle(className, activeStyle, newStyle) {
+  const list = new (external_wp_tokenList_default())(className);

-  if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
-    // This is the only way to test support for the `wheel` event in IE9+.
-    isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
+  if (activeStyle) {
+    list.remove('is-style-' + activeStyle.name);
   }

-  return isSupported;
+  list.add('is-style-' + newStyle.name);
+  return list.value;
 }

-module.exports = isEventSupported;
-
-
-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-styles/index.js

-/***/ "f8JO":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockTitle; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _use_block_display_information__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("wC17");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("BhPs");
 /**
  * External dependencies
  */

+
 /**
  * WordPress dependencies
  */



+
+
+
 /**
  * Internal dependencies
  */



-/**
- * Renders the block's configured title as a string, or empty if the title
- * cannot be determined.
- *
- * @example
- *
- * ```jsx
- * <BlockTitle clientId="afd1cb17-2c08-4e7a-91be-007ba7ddc3a1" />
- * ```
- *
- * @param {Object} props
- * @param {string} props.clientId Client ID of block.
- *
- * @return {?string} Block title.
- */

-function BlockTitle(_ref) {
+const EMPTY_OBJECT = {};
+
+function useGenericPreviewBlock(block, type) {
+  return (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const example = type === null || type === void 0 ? void 0 : type.example;
+    const blockName = type === null || type === void 0 ? void 0 : type.name;
+
+    if (example && blockName) {
+      return (0,external_wp_blocks_namespaceObject.getBlockFromExample)(blockName, {
+        attributes: example.attributes,
+        innerBlocks: example.innerBlocks
+      });
+    }
+
+    if (block) {
+      return (0,external_wp_blocks_namespaceObject.cloneBlock)(block);
+    }
+  }, [type !== null && type !== void 0 && type.example ? block === null || block === void 0 ? void 0 : block.name : block, type]);
+}
+
+function BlockStyles(_ref) {
   let {
-    clientId
+    clientId,
+    onSwitch = external_lodash_namespaceObject.noop,
+    onHoverClassName = external_lodash_namespaceObject.noop,
+    itemRole
   } = _ref;
-  const {
-    attributes,
-    name,
-    reusableBlockTitle
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(select => {
-    if (!clientId) {
-      return {};
-    }

+  const selector = select => {
     const {
-      getBlockName,
-      getBlockAttributes,
-      __experimentalGetReusableBlockTitle
-    } = select(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]);
-    const blockName = getBlockName(clientId);
+      getBlock
+    } = select(store);
+    const block = getBlock(clientId);

-    if (!blockName) {
-      return {};
+    if (!block) {
+      return EMPTY_OBJECT;
     }

-    const isReusable = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["isReusableBlock"])(Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["getBlockType"])(blockName));
+    const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(block.name);
+    const {
+      getBlockStyles
+    } = select(external_wp_blocks_namespaceObject.store);
     return {
-      attributes: getBlockAttributes(clientId),
-      name: blockName,
-      reusableBlockTitle: isReusable && __experimentalGetReusableBlockTitle(getBlockAttributes(clientId).ref)
+      block,
+      type: blockType,
+      styles: getBlockStyles(block.name),
+      className: block.attributes.className || ''
     };
-  }, [clientId]);
-  const blockInformation = Object(_use_block_display_information__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(clientId);
-  if (!name || !blockInformation) return null;
-  const blockType = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["getBlockType"])(name);
-  const blockLabel = blockType ? Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["__experimentalGetBlockLabel"])(blockType, attributes) : null;
-  const label = reusableBlockTitle || blockLabel; // Label will fallback to the title if no label is defined for the current
-  // label context. If the label is defined we prioritize it over possible
-  // possible block variation title match.
+  };

-  if (label && label !== blockType.title) {
-    return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["truncate"])(label, {
-      length: 35
-    });
-  }
+  const {
+    styles,
+    block,
+    type,
+    className
+  } = (0,external_wp_data_namespaceObject.useSelect)(selector, [clientId]);
+  const {
+    updateBlockAttributes
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const genericPreviewBlock = useGenericPreviewBlock(block, type);

-  return blockInformation.title;
-}
+  if (!styles || styles.length === 0) {
+    return null;
+  }

+  const renderedStyles = (0,external_lodash_namespaceObject.find)(styles, 'isDefault') ? styles : [{
+    name: 'default',
+    label: (0,external_wp_i18n_namespaceObject._x)('Default', 'block style'),
+    isDefault: true
+  }, ...styles];
+  const activeStyle = getActiveStyle(renderedStyles, className);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-styles"
+  }, renderedStyles.map(style => {
+    var _type$example$viewpor, _type$example;

-/***/ }),
+    const styleClassName = replaceActiveStyle(className, activeStyle, style);
+    return (0,external_wp_element_namespaceObject.createElement)(BlockStyleItem, {
+      genericPreviewBlock: genericPreviewBlock,
+      viewportWidth: (_type$example$viewpor = (_type$example = type.example) === null || _type$example === void 0 ? void 0 : _type$example.viewportWidth) !== null && _type$example$viewpor !== void 0 ? _type$example$viewpor : 500,
+      className: className,
+      isActive: activeStyle === style,
+      key: style.name,
+      onSelect: () => {
+        updateBlockAttributes(clientId, {
+          className: styleClassName
+        });
+        onHoverClassName(null);
+        onSwitch();
+      },
+      onBlur: () => onHoverClassName(null),
+      onHover: () => onHoverClassName(styleClassName),
+      style: style,
+      styleClassName: styleClassName,
+      itemRole: itemRole
+    });
+  }));
+}

-/***/ "fHnH":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
+function BlockStyleItem(_ref2) {
+  let {
+    genericPreviewBlock,
+    viewportWidth,
+    style,
+    isActive,
+    onBlur,
+    onHover,
+    onSelect,
+    styleClassName,
+    itemRole
+  } = _ref2;
+  const previewBlocks = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return { ...genericPreviewBlock,
+      attributes: { ...genericPreviewBlock.attributes,
+        className: styleClassName
+      }
+    };
+  }, [genericPreviewBlock, styleClassName]);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    key: style.name,
+    className: classnames_default()('block-editor-block-styles__item', {
+      'is-active': isActive
+    }),
+    onClick: () => onSelect(),
+    onKeyDown: event => {
+      if (external_wp_keycodes_namespaceObject.ENTER === event.keyCode || external_wp_keycodes_namespaceObject.SPACE === event.keyCode) {
+        event.preventDefault();
+        onSelect();
+      }
+    },
+    onMouseEnter: onHover,
+    onMouseLeave: onBlur,
+    role: itemRole || 'button',
+    tabIndex: "0",
+    "aria-label": style.label || style.name
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-styles__item-preview"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_preview, {
+    viewportWidth: viewportWidth,
+    blocks: previewBlocks
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-styles__item-label"
+  }, style.label || style.name));
+}

-"use strict";
-/* unused harmony export Colord */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return w; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return k; });
-/* unused harmony export getFormat */
-/* unused harmony export random */
-var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);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(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};
+/* harmony default export */ var block_styles = (BlockStyles);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/block-styles-menu.js

-/***/ }),

-/***/ "fOYa":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ BlockFormatControls; });

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+function BlockStylesMenu(_ref) {
+  let {
+    hoveredBlock,
+    onSwitch
+  } = _ref;
+  const {
+    name,
+    clientId
+  } = hoveredBlock;
+  const [hoveredClassName, setHoveredClassName] = (0,external_wp_element_namespaceObject.useState)();
+  const blockType = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blocks_namespaceObject.store).getBlockType(name), [name]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Styles'),
+    className: "block-editor-block-switcher__styles__menugroup"
+  }, hoveredClassName && (0,external_wp_element_namespaceObject.createElement)(PreviewBlockPopover, {
+    blocks: blockType && blockType.example ? (0,external_wp_blocks_namespaceObject.getBlockFromExample)(blockType.name, {
+      attributes: { ...blockType.example.attributes,
+        className: hoveredClassName
+      },
+      innerBlocks: blockType.example.innerBlocks
+    }) : (0,external_wp_blocks_namespaceObject.cloneBlock)(hoveredBlock, {
+      className: hoveredClassName
+    })
+  }), (0,external_wp_element_namespaceObject.createElement)(block_styles, {
+    clientId: clientId,
+    onSwitch: onSwitch,
+    onHoverClassName: setHoveredClassName,
+    itemRole: "menuitem"
+  }));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/groups.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/utils.js
 /**
  * WordPress dependencies
  */

-const BlockControlsDefault = Object(external_wp_components_["createSlotFill"])('BlockControls');
-const BlockControlsBlock = Object(external_wp_components_["createSlotFill"])('BlockControlsBlock');
-const BlockControlsInline = Object(external_wp_components_["createSlotFill"])('BlockFormatControls');
-const BlockControlsOther = Object(external_wp_components_["createSlotFill"])('BlockControlsOther');
-const BlockControlsParent = Object(external_wp_components_["createSlotFill"])('BlockControlsParent');
-const groups = {
-  default: BlockControlsDefault,
-  block: BlockControlsBlock,
-  inline: BlockControlsInline,
-  other: BlockControlsOther,
-  parent: BlockControlsParent
-};
-/* harmony default export */ var block_controls_groups = (groups);
+/**
+ * Try to find a matching block by a block's name in a provided
+ * block. We recurse through InnerBlocks and return the reference
+ * of the matched block (it could be an InnerBlock).
+ * If no match is found return nothing.
+ *
+ * @param {WPBlock} block             The block to try to find a match.
+ * @param {string}  selectedBlockName The block's name to use for matching condition.
+ * @param {Set}     consumedBlocks    A set holding the previously matched/consumed blocks.
+ *
+ * @return {WPBlock?} The matched block if found or nothing(`undefined`).
+ */
+
+const getMatchingBlockByName = function (block, selectedBlockName) {
+  let consumedBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new Set();
+  const {
+    clientId,
+    name,
+    innerBlocks = []
+  } = block; // Check if block has been consumed already.

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+  if (consumedBlocks.has(clientId)) return;
+  if (name === selectedBlockName) return block; // Try to find a matching block from InnerBlocks recursively.

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js
-var context = __webpack_require__("ur0x");
+  for (const innerBlock of innerBlocks) {
+    const match = getMatchingBlockByName(innerBlock, selectedBlockName, consumedBlocks);
+    if (match) return match;
+  }
+};
+/**
+ * Find and return the block attributes to retain through
+ * the transformation, based on Block Type's `role:content`
+ * attributes. If no `role:content` attributes exist,
+ * return selected block's attributes.
+ *
+ * @param {string} name       Block type's namespaced name.
+ * @param {Object} attributes Selected block's attributes.
+ * @return {Object} The block's attributes to retain.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-display-block-controls/index.js
-var use_display_block_controls = __webpack_require__("HgtZ");
+const getRetainedBlockAttributes = (name, attributes) => {
+  const contentAttributes = (0,external_wp_blocks_namespaceObject.__experimentalGetBlockAttributesNamesByRole)(name, 'content');
+  if (!(contentAttributes !== null && contentAttributes !== void 0 && contentAttributes.length)) return attributes;
+  return contentAttributes.reduce((_accumulator, attribute) => {
+    if (attributes[attribute]) _accumulator[attribute] = attributes[attribute];
+    return _accumulator;
+  }, {});
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/hook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/use-transformed-patterns.js
 /**
  * WordPress dependencies
  */
@@ -31685,199 +26119,473 @@ var use_display_block_controls = __webpack_require__("HgtZ");
  */


+/**
+ * Mutate the matched block's attributes by getting
+ * which block type's attributes to retain and prioritize
+ * them in the merging of the attributes.
+ *
+ * @param {WPBlock} match         The matched block.
+ * @param {WPBlock} selectedBlock The selected block.
+ * @return {void}
+ */

+const transformMatchingBlock = (match, selectedBlock) => {
+  // Get the block attributes to retain through the transformation.
+  const retainedBlockAttributes = getRetainedBlockAttributes(selectedBlock.name, selectedBlock.attributes);
+  match.attributes = { ...match.attributes,
+    ...retainedBlockAttributes
+  };
+};
+/**
+ * By providing the selected blocks and pattern's blocks
+ * find the matching blocks, transform them and return them.
+ * If not all selected blocks are matched, return nothing.
+ *
+ * @param {WPBlock[]} selectedBlocks The selected blocks.
+ * @param {WPBlock[]} patternBlocks  The pattern's blocks.
+ * @return {WPBlock[]|void} The transformed pattern's blocks or undefined if not all selected blocks have been matched.
+ */

+const getPatternTransformedBlocks = (selectedBlocks, patternBlocks) => {
+  // Clone Pattern's blocks to produce new clientIds and be able to mutate the matches.
+  const _patternBlocks = patternBlocks.map(block => (0,external_wp_blocks_namespaceObject.cloneBlock)(block));
+  /**
+   * Keep track of the consumed pattern blocks.
+   * This is needed because we loop the selected blocks
+   * and for example we may have selected two paragraphs and
+   * the pattern's blocks could have more `paragraphs`.
+   */

-function useBlockControlsFill(group, shareWithChildBlocks) {
-  const isDisplayed = Object(use_display_block_controls["a" /* default */])();
-  const {
-    clientId
-  } = Object(context["c" /* useBlockEditContext */])();
-  const isParentDisplayed = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockName,
-      hasSelectedInnerBlock
-    } = select(store["a" /* store */]);
-    const {
-      hasBlockSupport
-    } = select(external_wp_blocks_["store"]);
-    return shareWithChildBlocks && hasBlockSupport(getBlockName(clientId), '__experimentalExposeControlsToChildren', false) && hasSelectedInnerBlock(clientId);
-  }, [shareWithChildBlocks, clientId]);

-  if (isDisplayed) {
-    var _groups$group;
+  const consumedBlocks = new Set();

-    return (_groups$group = block_controls_groups[group]) === null || _groups$group === void 0 ? void 0 : _groups$group.Fill;
-  }
+  for (const selectedBlock of selectedBlocks) {
+    let isMatch = false;

-  if (isParentDisplayed) {
-    return block_controls_groups.parent.Fill;
-  }
+    for (const patternBlock of _patternBlocks) {
+      const match = getMatchingBlockByName(patternBlock, selectedBlock.name, consumedBlocks);
+      if (!match) continue;
+      isMatch = true;
+      consumedBlocks.add(match.clientId); // We update (mutate) the matching pattern block.

-  return null;
-}
+      transformMatchingBlock(match, selectedBlock); // No need to loop through other pattern's blocks.
+
+      break;
+    } // Bail eary if a selected block has not been matched.

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/fill.js

+    if (!isMatch) return;
+  }

+  return _patternBlocks;
+};
 /**
- * External dependencies
+ * @typedef {WPBlockPattern & {transformedBlocks: WPBlock[]}} TransformedBlockPattern
+ */
+
+/**
+ * Custom hook that accepts patterns from state and the selected
+ * blocks and tries to match these with the pattern's blocks.
+ * If all selected blocks are matched with a Pattern's block,
+ * we transform them by retaining block's attributes with `role:content`.
+ * The transformed pattern's blocks are set to a new pattern
+ * property `transformedBlocks`.
+ *
+ * @param {WPBlockPattern[]} patterns       Patterns from state.
+ * @param {WPBlock[]}        selectedBlocks The currently selected blocks.
+ * @return {TransformedBlockPattern[]} Returns the eligible matched patterns with all the selected blocks.
  */
+// TODO tests
+
+const useTransformedPatterns = (patterns, selectedBlocks) => {
+  return (0,external_wp_element_namespaceObject.useMemo)(() => patterns.reduce((accumulator, _pattern) => {
+    const transformedBlocks = getPatternTransformedBlocks(selectedBlocks, _pattern.blocks);
+
+    if (transformedBlocks) {
+      accumulator.push({ ..._pattern,
+        transformedBlocks
+      });
+    }
+
+    return accumulator;
+  }, []), [patterns, selectedBlocks]);
+};
+
+/* harmony default export */ var use_transformed_patterns = (useTransformedPatterns);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/pattern-transformations-menu.js
+
+

 /**
  * WordPress dependencies
  */


+
+
+
 /**
  * Internal dependencies
  */


-function BlockControlsFill(_ref) {
+
+
+function PatternTransformationsMenu(_ref) {
   let {
-    group = 'default',
-    controls,
-    children,
-    __experimentalShareWithChildBlocks = false
+    blocks,
+    patterns: statePatterns,
+    onSelect
   } = _ref;
-  const Fill = useBlockControlsFill(group, __experimentalShareWithChildBlocks);
+  const [showTransforms, setShowTransforms] = (0,external_wp_element_namespaceObject.useState)(false);
+  const patterns = use_transformed_patterns(statePatterns, blocks);
+  if (!patterns.length) return null;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    className: "block-editor-block-switcher__pattern__transforms__menugroup"
+  }, showTransforms && (0,external_wp_element_namespaceObject.createElement)(PreviewPatternsPopover, {
+    patterns: patterns,
+    onSelect: onSelect
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: event => {
+      event.preventDefault();
+      setShowTransforms(!showTransforms);
+    },
+    icon: chevron_right
+  }, (0,external_wp_i18n_namespaceObject.__)('Patterns')));
+}

-  if (!Fill) {
-    return null;
-  }
+function PreviewPatternsPopover(_ref2) {
+  let {
+    patterns,
+    onSelect
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-switcher__popover__preview__parent"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-switcher__popover__preview__container"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
+    className: "block-editor-block-switcher__preview__popover",
+    position: "bottom right"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-switcher__preview"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-switcher__preview-title"
+  }, (0,external_wp_i18n_namespaceObject.__)('Preview')), (0,external_wp_element_namespaceObject.createElement)(BlockPatternsList, {
+    patterns: patterns,
+    onSelect: onSelect
+  })))));
+}

-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalStyleProvider"], {
-    document: document
-  }, Object(external_wp_element_["createElement"])(Fill, null, fillProps => {
-    // Children passed to BlockControlsFill will not have access to any
-    // React Context whose Provider is part of the BlockControlsSlot tree.
-    // So we re-create the Provider in this subtree.
-    const value = !Object(external_lodash_["isEmpty"])(fillProps) ? fillProps : null;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolbarContext"].Provider, {
-      value: value
-    }, group === 'default' && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], {
-      controls: controls
-    }), children);
-  }));
+function BlockPatternsList(_ref3) {
+  let {
+    patterns,
+    onSelect
+  } = _ref3;
+  const composite = (0,external_wp_components_namespaceObject.__unstableUseCompositeState)();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableComposite, _extends({}, composite, {
+    role: "listbox",
+    className: "block-editor-block-switcher__preview-patterns-container",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Patterns list')
+  }), patterns.map(pattern => (0,external_wp_element_namespaceObject.createElement)(pattern_transformations_menu_BlockPattern, {
+    key: pattern.name,
+    pattern: pattern,
+    onSelect: onSelect,
+    composite: composite
+  })));
+}
+
+function pattern_transformations_menu_BlockPattern(_ref4) {
+  let {
+    pattern,
+    onSelect,
+    composite
+  } = _ref4;
+  // TODO check pattern/preview width...
+  const baseClassName = 'block-editor-block-switcher__preview-patterns-container';
+  const descriptionId = (0,external_wp_compose_namespaceObject.useInstanceId)(pattern_transformations_menu_BlockPattern, `${baseClassName}-list__item-description`);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: `${baseClassName}-list__list-item`,
+    "aria-label": pattern.title,
+    "aria-describedby": pattern.description ? descriptionId : undefined
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableCompositeItem, _extends({
+    role: "option",
+    as: "div"
+  }, composite, {
+    className: `${baseClassName}-list__item`,
+    onClick: () => onSelect(pattern.transformedBlocks)
+  }), (0,external_wp_element_namespaceObject.createElement)(block_preview, {
+    blocks: pattern.transformedBlocks,
+    viewportWidth: pattern.viewportWidth || 500
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: `${baseClassName}-list__item-title`
+  }, pattern.title)), !!pattern.description && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    id: descriptionId
+  }, pattern.description));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/slot.js
+/* harmony default export */ var pattern_transformations_menu = (PatternTransformationsMenu);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-switcher/index.js


+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */


+
+
+
+
 /**
  * Internal dependencies
  */


-function BlockControlsSlot(_ref) {
+
+
+
+
+
+
+const BlockSwitcherDropdownMenu = _ref => {
   let {
-    group = 'default',
-    ...props
+    clientIds,
+    blocks
   } = _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);
-  const hasFills = Boolean(slot.fills && slot.fills.length);
+  const {
+    replaceBlocks
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const blockInformation = useBlockDisplayInformation(blocks[0].clientId);
+  const {
+    possibleBlockTransformations,
+    canRemove,
+    hasBlockStyles,
+    icon,
+    blockTitle,
+    patterns
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _getBlockType2;

-  if (!hasFills) {
-    return null;
-  }
+    const {
+      getBlockRootClientId,
+      getBlockTransformItems,
+      __experimentalGetPatternTransformItems
+    } = select(store);
+    const {
+      getBlockStyles,
+      getBlockType
+    } = select(external_wp_blocks_namespaceObject.store);
+    const {
+      canRemoveBlocks
+    } = select(store);
+    const rootClientId = getBlockRootClientId((0,external_lodash_namespaceObject.castArray)(clientIds)[0]);
+    const [{
+      name: firstBlockName
+    }] = blocks;

-  if (group === 'default') {
-    return Object(external_wp_element_["createElement"])(Slot, Object(esm_extends["a" /* default */])({}, props, {
-      bubblesVirtually: true,
-      fillProps: accessibleToolbarState
-    }));
-  }
+    const _isSingleBlockSelected = blocks.length === 1;

-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(Slot, Object(esm_extends["a" /* default */])({}, props, {
-    bubblesVirtually: true,
-    fillProps: accessibleToolbarState
-  })));
-}
+    const styles = _isSingleBlockSelected && getBlockStyles(firstBlockName);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js
+    let _icon;

+    if (_isSingleBlockSelected) {
+      _icon = blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.icon; // Take into account active block variations.
+    } else {
+      var _getBlockType;

+      const isSelectionOfSameType = (0,external_lodash_namespaceObject.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.

-/**
- * Internal dependencies
- */
+      _icon = isSelectionOfSameType ? (_getBlockType = getBlockType(firstBlockName)) === null || _getBlockType === void 0 ? void 0 : _getBlockType.icon : library_stack;
+    }

+    return {
+      possibleBlockTransformations: getBlockTransformItems(blocks, rootClientId),
+      canRemove: canRemoveBlocks(clientIds, rootClientId),
+      hasBlockStyles: !!(styles !== null && styles !== void 0 && styles.length),
+      icon: _icon,
+      blockTitle: (_getBlockType2 = getBlockType(firstBlockName)) === null || _getBlockType2 === void 0 ? void 0 : _getBlockType2.title,
+      patterns: __experimentalGetPatternTransformItems(blocks, rootClientId)
+    };
+  }, [clientIds, blocks, blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.icon]);
+  const isReusable = blocks.length === 1 && (0,external_wp_blocks_namespaceObject.isReusableBlock)(blocks[0]);
+  const isTemplate = blocks.length === 1 && (0,external_wp_blocks_namespaceObject.isTemplatePart)(blocks[0]); // Simple block tranformation based on the `Block Transforms` API.

-const BlockControls = BlockControlsFill;
-BlockControls.Slot = BlockControlsSlot; // This is just here for backward compatibility
+  const onBlockTransform = name => replaceBlocks(clientIds, (0,external_wp_blocks_namespaceObject.switchToBlockType)(blocks, name)); // Pattern transformation through the `Patterns` API.

-const BlockFormatControls = props => {
-  return Object(external_wp_element_["createElement"])(BlockControlsFill, Object(esm_extends["a" /* default */])({
-    group: "inline"
-  }, props));
-};

-BlockFormatControls.Slot = props => {
-  return Object(external_wp_element_["createElement"])(BlockControlsSlot, Object(esm_extends["a" /* default */])({
-    group: "inline"
-  }, props));
-};
+  const onPatternTransform = transformedBlocks => replaceBlocks(clientIds, transformedBlocks);

-/* harmony default export */ var block_controls = __webpack_exports__["b"] = (BlockControls);
+  const hasPossibleBlockTransformations = !!possibleBlockTransformations.length && canRemove;
+  const hasPatternTransformation = !!(patterns !== null && patterns !== void 0 && patterns.length) && canRemove;

+  if (!hasBlockStyles && !hasPossibleBlockTransformations) {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+      disabled: true,
+      className: "block-editor-block-switcher__no-switcher-icon",
+      title: blockTitle,
+      icon: (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+        icon: icon,
+        showColors: true
+      })
+    }));
+  }

-/***/ }),
+  const blockSwitcherLabel = blockTitle;
+  const blockSwitcherDescription = 1 === blocks.length ? (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: block title. */
+  (0,external_wp_i18n_namespaceObject.__)('%s: Change block type or style'), blockTitle) : (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %d: number of blocks. */
+  (0,external_wp_i18n_namespaceObject._n)('Change type of %d block', 'Change type of %d blocks', blocks.length), blocks.length);
+  const showDropDown = hasBlockStyles || hasPossibleBlockTransformations || hasPatternTransformation;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, null, toggleProps => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    className: "block-editor-block-switcher",
+    label: blockSwitcherLabel,
+    popoverProps: {
+      position: 'bottom right',
+      isAlternate: true,
+      className: 'block-editor-block-switcher__popover'
+    },
+    icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+      icon: icon,
+      className: "block-editor-block-switcher__toggle",
+      showColors: true
+    }), (isReusable || isTemplate) && (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "block-editor-block-switcher__toggle-text"
+    }, (0,external_wp_element_namespaceObject.createElement)(BlockTitle, {
+      clientId: clientIds
+    }))),
+    toggleProps: {
+      describedBy: blockSwitcherDescription,
+      ...toggleProps
+    },
+    menuProps: {
+      orientation: 'both'
+    }
+  }, _ref3 => {
+    let {
+      onClose
+    } = _ref3;
+    return showDropDown && (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-block-switcher__container"
+    }, hasPatternTransformation && (0,external_wp_element_namespaceObject.createElement)(pattern_transformations_menu, {
+      blocks: blocks,
+      patterns: patterns,
+      onSelect: transformedBlocks => {
+        onPatternTransform(transformedBlocks);
+        onClose();
+      }
+    }), hasPossibleBlockTransformations && (0,external_wp_element_namespaceObject.createElement)(block_transformations_menu, {
+      className: "block-editor-block-switcher__transforms__menugroup",
+      possibleBlockTransformations: possibleBlockTransformations,
+      blocks: blocks,
+      onSelect: name => {
+        onBlockTransform(name);
+        onClose();
+      }
+    }), hasBlockStyles && (0,external_wp_element_namespaceObject.createElement)(BlockStylesMenu, {
+      hoveredBlock: blocks[0],
+      onSwitch: onClose
+    }));
+  })));
+};
+const BlockSwitcher = _ref4 => {
+  let {
+    clientIds
+  } = _ref4;
+  const blocks = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getBlocksByClientId(clientIds), [clientIds]);

-/***/ "fPbg":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (!blocks.length || blocks.some(block => !block)) {
+    return null;
+  }

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  return (0,external_wp_element_namespaceObject.createElement)(BlockSwitcherDropdownMenu, {
+    clientIds: clientIds,
+    blocks: blocks
+  });
+};
+/* harmony default export */ var block_switcher = (BlockSwitcher);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js


 /**
  * WordPress dependencies
  */

-const alignLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const moreVertical = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (alignLeft);
+/* harmony default export */ var more_vertical = (moreVertical);

+;// CONCATENATED MODULE: external ["wp","blob"]
+var external_wp_blob_namespaceObject = window["wp"]["blob"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/get-paste-event-data.js
+/**
+ * WordPress dependencies
+ */

-/***/ }),

-/***/ "faye":
-/***/ (function(module, exports) {
+function getPasteEventData(_ref) {
+  let {
+    clipboardData
+  } = _ref;
+  let plainText = '';
+  let html = ''; // IE11 only supports `Text` as an argument for `getData` and will
+  // otherwise throw an invalid argument error, so we try the standard
+  // arguments first, then fallback to `Text` if they fail.
+
+  try {
+    plainText = clipboardData.getData('text/plain');
+    html = clipboardData.getData('text/html');
+  } catch (error1) {
+    try {
+      html = clipboardData.getData('Text');
+    } catch (error2) {
+      // Some browsers like UC Browser paste plain text by default and
+      // don't support clipboardData at all, so allow default
+      // behaviour.
+      return;
+    }
+  }

-(function() { module.exports = window["ReactDOM"]; }());
+  const files = (0,external_wp_dom_namespaceObject.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) {
+    html = files.map(file => `<img src="${(0,external_wp_blob_namespaceObject.createBlobURL)(file)}">`).join('');
+    plainText = '';
+  }
+
+  return {
+    html,
+    plainText
+  };
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/copy-handler/index.js

-/***/ "felP":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useEventHandlers; });
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1CF3");
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("RxS6");
-/* harmony import */ var _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_keycodes__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("BhPs");
 /**
  * WordPress dependencies
  */
@@ -31885,132 +26593,152 @@ const alignLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["create



+
+
+
 /**
  * Internal dependencies
  */


-/**
- * Adds block behaviour:
- *   - Removes the block on BACKSPACE.
- *   - Inserts a default block on ENTER.
- *   - Disables dragging of block contents.
- *
- * @param {string} clientId Block client ID.
- */

-function useEventHandlers(clientId) {
-  const isSelected = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useSelect"])(select => select(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]).isBlockSelected(clientId), [clientId]);
+function useNotifyCopy() {
   const {
-    getBlockRootClientId,
-    getBlockIndex
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useSelect"])(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]);
+    getBlockName
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
   const {
-    insertDefaultBlock,
-    removeBlock
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]);
-  return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["useRefEffect"])(node => {
-    if (!isSelected) {
-      return;
-    }
-    /**
-     * Interprets keydown event intent to remove or insert after block if
-     * key event occurs on wrapper node. This can occur when the block has
-     * no text fields of its own, particularly after initial insertion, to
-     * allow for easy deletion and continuous writing flow to add additional
-     * content.
-     *
-     * @param {KeyboardEvent} event Keydown event.
-     */
+    getBlockType
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_blocks_namespaceObject.store);
+  const {
+    createSuccessNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.useCallback)((eventType, selectedBlockClientIds) => {
+    let notice = '';

+    if (selectedBlockClientIds.length === 1) {
+      var _getBlockType;

-    function onKeyDown(event) {
-      const {
-        keyCode,
-        target
-      } = event;
+      const clientId = selectedBlockClientIds[0];
+      const title = (_getBlockType = getBlockType(getBlockName(clientId))) === null || _getBlockType === void 0 ? void 0 : _getBlockType.title;
+      notice = eventType === 'copy' ? (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: Name of the block being copied, e.g. "Paragraph".
+      (0,external_wp_i18n_namespaceObject.__)('Copied "%s" to clipboard.'), title) : (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: Name of the block being cut, e.g. "Paragraph".
+      (0,external_wp_i18n_namespaceObject.__)('Moved "%s" to clipboard.'), title);
+    } else {
+      notice = eventType === 'copy' ? (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %d: Number of blocks being copied.
+      (0,external_wp_i18n_namespaceObject._n)('Copied %d block to clipboard.', 'Copied %d blocks to clipboard.', selectedBlockClientIds.length), selectedBlockClientIds.length) : (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %d: Number of blocks being cut.
+      (0,external_wp_i18n_namespaceObject._n)('Moved %d block to clipboard.', 'Moved %d blocks to clipboard.', selectedBlockClientIds.length), selectedBlockClientIds.length);
+    }
+
+    createSuccessNotice(notice, {
+      type: 'snackbar'
+    });
+  }, []);
+}
+function useClipboardHandler() {
+  const {
+    getBlocksByClientId,
+    getSelectedBlockClientIds,
+    hasMultiSelection,
+    getSettings
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    flashBlock,
+    removeBlocks,
+    replaceBlocks
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const notifyCopy = useNotifyCopy();
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    function handler(event) {
+      const selectedBlockClientIds = getSelectedBlockClientIds();

-      if (keyCode !== _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_1__["ENTER"] && keyCode !== _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_1__["BACKSPACE"] && keyCode !== _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_1__["DELETE"]) {
+      if (selectedBlockClientIds.length === 0) {
         return;
+      } // Always handle multiple selected blocks.
+
+
+      if (!hasMultiSelection()) {
+        const {
+          target
+        } = event;
+        const {
+          ownerDocument
+        } = target; // If copying, only consider actual text selection as selection.
+        // Otherwise, any focus on an input field is considered.
+
+        const hasSelection = event.type === 'copy' || event.type === 'cut' ? (0,external_wp_dom_namespaceObject.documentHasUncollapsedSelection)(ownerDocument) : (0,external_wp_dom_namespaceObject.documentHasSelection)(ownerDocument); // Let native copy behaviour take over in input fields.
+
+        if (hasSelection) {
+          return;
+        }
       }

-      if (target !== node || Object(_wordpress_dom__WEBPACK_IMPORTED_MODULE_0__["isTextField"])(target)) {
+      if (!node.contains(event.target.ownerDocument.activeElement)) {
         return;
       }

+      const eventDefaultPrevented = event.defaultPrevented;
       event.preventDefault();

-      if (keyCode === _wordpress_keycodes__WEBPACK_IMPORTED_MODULE_1__["ENTER"]) {
-        insertDefaultBlock({}, getBlockRootClientId(clientId), getBlockIndex(clientId) + 1);
-      } else {
-        removeBlock(clientId);
+      if (event.type === 'copy' || event.type === 'cut') {
+        if (selectedBlockClientIds.length === 1) {
+          flashBlock(selectedBlockClientIds[0]);
+        }
+
+        notifyCopy(event.type, selectedBlockClientIds);
+        const blocks = getBlocksByClientId(selectedBlockClientIds);
+        const serialized = (0,external_wp_blocks_namespaceObject.serialize)(blocks);
+        event.clipboardData.setData('text/plain', serialized);
+        event.clipboardData.setData('text/html', serialized);
       }
-    }
-    /**
-     * Prevents default dragging behavior within a block. To do: we must
-     * handle this in the future and clean up the drag target.
-     *
-     * @param {DragEvent} event Drag event.
-     */

+      if (event.type === 'cut') {
+        removeBlocks(selectedBlockClientIds);
+      } else if (event.type === 'paste') {
+        if (eventDefaultPrevented) {
+          // This was likely already handled in rich-text/use-paste-handler.js
+          return;
+        }

-    function onDragStart(event) {
-      event.preventDefault();
+        const {
+          __experimentalCanUserUseUnfilteredHTML: canUserUseUnfilteredHTML
+        } = getSettings();
+        const {
+          plainText,
+          html
+        } = getPasteEventData(event);
+        const blocks = (0,external_wp_blocks_namespaceObject.pasteHandler)({
+          HTML: html,
+          plainText,
+          mode: 'BLOCKS',
+          canUserUseUnfilteredHTML
+        });
+        replaceBlocks(selectedBlockClientIds, blocks, blocks.length - 1, -1);
+      }
     }

-    node.addEventListener('keydown', onKeyDown);
-    node.addEventListener('dragstart', onDragStart);
+    node.ownerDocument.addEventListener('copy', handler);
+    node.ownerDocument.addEventListener('cut', handler);
+    node.ownerDocument.addEventListener('paste', handler);
     return () => {
-      node.removeEventListener('keydown', onKeyDown);
-      node.removeEventListener('dragstart', onDragStart);
+      node.ownerDocument.removeEventListener('copy', handler);
+      node.ownerDocument.removeEventListener('cut', handler);
+      node.ownerDocument.removeEventListener('paste', handler);
     };
-  }, [clientId, isSelected, getBlockRootClientId, getBlockIndex, insertDefaultBlock, removeBlock]);
+  }, []);
 }

+function CopyHandler(_ref) {
+  let {
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: useClipboardHandler()
+  }, children);
+}

-/***/ }),
-
-/***/ "g56x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["hooks"]; }());
-
-/***/ }),
-
-/***/ "gdqT":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["a11y"]; }());
-
-/***/ }),
-
-/***/ "hF7m":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["keyboardShortcuts"]; }());
-
-/***/ }),
-
-/***/ "hHnB":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _block_selection_clearer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("zQI6");
-/* harmony import */ var _writing_flow__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("TVFh");
-
-
+/* harmony default export */ var copy_handler = (CopyHandler);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-actions/index.js
 /**
  * External dependencies
  */
@@ -32021,298 +26749,269 @@ function useEventHandlers(clientId) {



-
-
 /**
  * Internal dependencies
  */



-const BODY_CLASS_NAME = 'editor-styles-wrapper';
-const BLOCK_PREFIX = 'wp-block';
-/**
- * Clones stylesheets targetting the editor canvas to the given document. A
- * stylesheet is considered targetting the editor a canvas if it contains the
- * `editor-styles-wrapper`, `wp-block`, or `wp-block-*` class selectors.
- *
- * Ideally, this hook should be removed in the future and styles should be added
- * explicitly as editor styles.
- *
- * @param {Document} doc The document to append cloned stylesheets to.
- */
+function BlockActions(_ref) {
+  let {
+    clientIds,
+    children,
+    __experimentalUpdateSelection: updateSelection
+  } = _ref;
+  const {
+    canInsertBlockType,
+    getBlockRootClientId,
+    getBlocksByClientId,
+    canMoveBlocks,
+    canRemoveBlocks
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    getDefaultBlockName,
+    getGroupingBlockName
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_blocks_namespaceObject.store);
+  const blocks = getBlocksByClientId(clientIds);
+  const rootClientId = getBlockRootClientId(clientIds[0]);
+  const canDuplicate = (0,external_lodash_namespaceObject.every)(blocks, block => {
+    return !!block && (0,external_wp_blocks_namespaceObject.hasBlockSupport)(block.name, 'multiple', true) && canInsertBlockType(block.name, rootClientId);
+  });
+  const canInsertDefaultBlock = canInsertBlockType(getDefaultBlockName(), rootClientId);
+  const canMove = canMoveBlocks(clientIds, rootClientId);
+  const canRemove = canRemoveBlocks(clientIds, rootClientId);
+  const {
+    removeBlocks,
+    replaceBlocks,
+    duplicateBlocks,
+    insertAfterBlock,
+    insertBeforeBlock,
+    flashBlock,
+    setBlockMovingClientId,
+    setNavigationMode,
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const notifyCopy = useNotifyCopy();
+  return children({
+    canDuplicate,
+    canInsertDefaultBlock,
+    canMove,
+    canRemove,
+    rootClientId,
+    blocks,

-function styleSheetsCompat(doc) {
-  // Search the document for stylesheets targetting the editor canvas.
-  Array.from(document.styleSheets).forEach(styleSheet => {
-    try {
-      // May fail for external styles.
-      // eslint-disable-next-line no-unused-expressions
-      styleSheet.cssRules;
-    } catch (e) {
-      return;
-    }
+    onDuplicate() {
+      return duplicateBlocks(clientIds, updateSelection);
+    },

-    const {
-      ownerNode,
-      cssRules
-    } = styleSheet;
+    onRemove() {
+      return removeBlocks(clientIds, updateSelection);
+    },

-    if (!cssRules) {
-      return;
-    } // Generally, ignore inline styles. We add inline styles belonging to a
-    // stylesheet later, which may or may not match the selectors.
+    onInsertBefore() {
+      insertBeforeBlock((0,external_lodash_namespaceObject.first)((0,external_lodash_namespaceObject.castArray)(clientIds)));
+    },

+    onInsertAfter() {
+      insertAfterBlock((0,external_lodash_namespaceObject.last)((0,external_lodash_namespaceObject.castArray)(clientIds)));
+    },

-    if (ownerNode.tagName !== 'LINK') {
-      return;
-    } // Don't try to add the reset styles, which were removed as a dependency
-    // from `edit-blocks` for the iframe since we don't need to reset admin
-    // styles.
+    onMoveTo() {
+      setNavigationMode(true);
+      selectBlock(clientIds[0]);
+      setBlockMovingClientId(clientIds[0]);
+    },

+    onGroup() {
+      if (!blocks.length) {
+        return;
+      }

-    if (ownerNode.id === 'wp-reset-editor-styles-css') {
-      return;
-    }
+      const groupingBlockName = getGroupingBlockName(); // Activate the `transform` on `core/group` which does the conversion

-    const isMatch = Array.from(cssRules).find(_ref => {
-      let {
-        selectorText
-      } = _ref;
-      return selectorText && (selectorText.includes(`.${BODY_CLASS_NAME}`) || selectorText.includes(`.${BLOCK_PREFIX}`));
-    });
+      const newBlocks = (0,external_wp_blocks_namespaceObject.switchToBlockType)(blocks, groupingBlockName);

-    if (isMatch && !doc.getElementById(ownerNode.id)) {
-      // Display warning once we have a way to add style dependencies to the editor.
-      // See: https://github.com/WordPress/gutenberg/pull/37466.
-      doc.head.appendChild(ownerNode.cloneNode(true)); // Add inline styles belonging to the stylesheet.
+      if (!newBlocks) {
+        return;
+      }

-      const inlineCssId = ownerNode.id.replace('-css', '-inline-css');
-      const inlineCssElement = document.getElementById(inlineCssId);
+      replaceBlocks(clientIds, newBlocks);
+    },
+
+    onUngroup() {
+      if (!blocks.length) {
+        return;
+      }
+
+      const innerBlocks = blocks[0].innerBlocks;
+
+      if (!innerBlocks.length) {
+        return;
+      }
+
+      replaceBlocks(clientIds, innerBlocks);
+    },

-      if (inlineCssElement) {
-        doc.head.appendChild(inlineCssElement.cloneNode(true));
+    onCopy() {
+      const selectedBlockClientIds = blocks.map(_ref2 => {
+        let {
+          clientId
+        } = _ref2;
+        return clientId;
+      });
+
+      if (blocks.length === 1) {
+        flashBlock(selectedBlockClientIds[0]);
       }
+
+      notifyCopy('copy', selectedBlockClientIds);
     }
+
   });
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-mode-toggle.js
+
+
 /**
- * Bubbles some event types (keydown, keypress, and dragover) to parent document
- * document to ensure that the keyboard shortcuts and drag and drop work.
- *
- * Ideally, we should remove event bubbling in the future. Keyboard shortcuts
- * should be context dependent, e.g. actions on blocks like Cmd+A should not
- * work globally outside the block editor.
- *
- * @param {Document} doc Document to attach listeners to.
+ * External dependencies
  */

+/**
+ * WordPress dependencies
+ */

-function bubbleEvents(doc) {
-  const {
-    defaultView
-  } = doc;
-  const {
-    frameElement
-  } = defaultView;

-  function bubbleEvent(event) {
-    const prototype = Object.getPrototypeOf(event);
-    const constructorName = prototype.constructor.name;
-    const Constructor = window[constructorName];
-    const init = {};

-    for (const key in event) {
-      init[key] = event[key];
-    }

-    if (event instanceof defaultView.MouseEvent) {
-      const rect = frameElement.getBoundingClientRect();
-      init.clientX += rect.left;
-      init.clientY += rect.top;
-    }

-    const newEvent = new Constructor(event.type, init);
-    const cancelled = !frameElement.dispatchEvent(newEvent);

-    if (cancelled) {
-      event.preventDefault();
-    }
-  }
+/**
+ * Internal dependencies
+ */

-  const eventTypes = ['dragover'];

-  for (const name of eventTypes) {
-    doc.addEventListener(name, bubbleEvent);
+function BlockModeToggle(_ref) {
+  let {
+    blockType,
+    mode,
+    onToggleMode,
+    small = false,
+    isCodeEditingEnabled = true
+  } = _ref;
+
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, 'html', true) || !isCodeEditingEnabled) {
+    return null;
   }
-}

-function useParsedAssets(html) {
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useMemo"])(() => {
-    const doc = document.implementation.createHTMLDocument('');
-    doc.body.innerHTML = html;
-    return Array.from(doc.body.children);
-  }, [html]);
+  const label = mode === 'visual' ? (0,external_wp_i18n_namespaceObject.__)('Edit as HTML') : (0,external_wp_i18n_namespaceObject.__)('Edit visually');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: onToggleMode
+  }, !small && label);
 }
-
-async function loadScript(head, _ref2) {
+/* harmony default export */ var block_mode_toggle = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)((select, _ref2) => {
   let {
-    id,
-    src
+    clientId
   } = _ref2;
-  return new Promise((resolve, reject) => {
-    const script = head.ownerDocument.createElement('script');
-    script.id = id;
-
-    if (src) {
-      script.src = src;
-
-      script.onload = () => resolve();
-
-      script.onerror = () => reject();
-    } else {
-      resolve();
-    }
-
-    head.appendChild(script);
-  });
-}
-
-function Iframe(_ref3, ref) {
-  var _window$__editorAsset, _window$__editorAsset2;
-
+  const {
+    getBlock,
+    getBlockMode,
+    getSettings
+  } = select(store);
+  const block = getBlock(clientId);
+  const isCodeEditingEnabled = getSettings().codeEditingEnabled;
+  return {
+    mode: getBlockMode(clientId),
+    blockType: block ? (0,external_wp_blocks_namespaceObject.getBlockType)(block.name) : null,
+    isCodeEditingEnabled
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref3) => {
   let {
-    contentRef,
-    children,
-    head,
-    tabIndex = 0,
-    ...props
+    onToggle = external_lodash_namespaceObject.noop,
+    clientId
   } = _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"])([]);
-  const styles = useParsedAssets((_window$__editorAsset = window.__editorAssets) === null || _window$__editorAsset === void 0 ? void 0 : _window$__editorAsset.styles);
-  const scripts = useParsedAssets((_window$__editorAsset2 = window.__editorAssets) === null || _window$__editorAsset2 === void 0 ? void 0 : _window$__editorAsset2.scripts);
-  const clearerRef = Object(_block_selection_clearer__WEBPACK_IMPORTED_MODULE_6__[/* useBlockSelectionClearer */ "b"])();
-  const [before, writingFlowRef, after] = Object(_writing_flow__WEBPACK_IMPORTED_MODULE_7__[/* useWritingFlow */ "b"])();
-  const setRef = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__["useRefEffect"])(node => {
-    function setDocumentIfReady() {
-      const {
-        contentDocument,
-        ownerDocument
-      } = node;
-      const {
-        readyState,
-        documentElement
-      } = contentDocument;
+  return {
+    onToggleMode() {
+      dispatch(store).toggleBlockMode(clientId);
+      onToggle();
+    }

-      if (readyState !== 'interactive' && readyState !== 'complete') {
-        return false;
-      }
+  };
+})])(BlockModeToggle));

-      bubbleEvents(contentDocument);
-      setIframeDocument(contentDocument);
-      clearerRef(documentElement); // Ideally ALL classes that are added through get_body_class should
-      // be added in the editor too, which we'll somehow have to get from
-      // the server in the future (which will run the PHP filters).
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-convert-button.js

-      setBodyClasses(Array.from(ownerDocument.body.classList).filter(name => name.startsWith('admin-color-') || name === 'wp-embed-responsive'));
-      contentDocument.dir = ownerDocument.dir;
-      documentElement.removeChild(contentDocument.head);
-      documentElement.removeChild(contentDocument.body);
-      return true;
-    }

-    if (setDocumentIfReady()) {
-      return;
-    } // Document is not immediately loaded in Firefox.
+/**
+ * WordPress dependencies
+ */


-    node.addEventListener('load', () => {
-      setDocumentIfReady();
-    });
-  }, []);
-  const headRef = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__["useRefEffect"])(element => {
-    scripts.reduce((promise, script) => promise.then(() => loadScript(element, script)), Promise.resolve()).finally(() => {
-      // When script are loaded, re-render blocks to allow them
-      // to initialise.
-      forceRender();
-    });
-  }, []);
-  const bodyRef = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__["useMergeRefs"])([contentRef, clearerRef, writingFlowRef]);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    if (iframeDocument) {
-      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(_ref4 => {
-    let {
-      tagName,
-      href,
-      id,
-      rel,
-      media,
-      textContent
-    } = _ref4;
-    const TagName = tagName.toLowerCase();
+function BlockConvertButton(_ref) {
+  let {
+    shouldRender,
+    onClick,
+    small
+  } = _ref;

-    if (TagName === 'style') {
-      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(TagName, {
-        id,
-        key: id
-      }, textContent);
-    }
+  if (!shouldRender) {
+    return null;
+  }

-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(TagName, {
-      href,
-      id,
-      rel,
-      media,
-      key: id
-    });
-  }), head);
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, tabIndex >= 0 && before, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("iframe", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, {
-    ref: Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__["useMergeRefs"])([ref, setRef]),
-    tabIndex: tabIndex,
-    title: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Editor canvas')
-  }), iframeDocument && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createPortal"])(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("head", {
-    ref: headRef
-  }, head), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("body", {
-    ref: bodyRef,
-    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(BODY_CLASS_NAME, ...bodyClasses)
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_5__["__experimentalStyleProvider"], {
-    document: iframeDocument
-  }, children))), iframeDocument.documentElement)), tabIndex >= 0 && after);
+  const label = (0,external_wp_i18n_namespaceObject.__)('Convert to Blocks');
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: onClick
+  }, !small && label);
 }

-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])(Iframe));
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-html-convert-button.js
+/**
+ * WordPress dependencies
+ */


-/***/ }),

-/***/ "hMaJ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Internal dependencies
+ */

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _use_setting__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("v5LD");


+/* harmony default export */ var block_html_convert_button = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)((select, _ref) => {
+  let {
+    clientId
+  } = _ref;
+  const block = select(store).getBlock(clientId);
+  return {
+    block,
+    shouldRender: block && block.name === 'core/html'
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref2) => {
+  let {
+    block
+  } = _ref2;
+  return {
+    onClick: () => dispatch(store).replaceBlocks(block.clientId, (0,external_wp_blocks_namespaceObject.rawHandler)({
+      HTML: (0,external_wp_blocks_namespaceObject.getBlockContent)(block)
+    }))
+  };
+}))(BlockConvertButton));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-settings-menu-first-item.js
 /**
- * External dependencies
+ * WordPress dependencies
  */

+const {
+  Fill: __unstableBlockSettingsMenuFirstItem,
+  Slot: block_settings_menu_first_item_Slot
+} = (0,external_wp_components_namespaceObject.createSlotFill)('__unstableBlockSettingsMenuFirstItem');
+__unstableBlockSettingsMenuFirstItem.Slot = block_settings_menu_first_item_Slot;
+/* harmony default export */ var block_settings_menu_first_item = (__unstableBlockSettingsMenuFirstItem);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/convert-to-group-buttons/index.js
+

 /**
  * WordPress dependencies
@@ -32326,111 +27025,60 @@ function Iframe(_ref3, ref) {
  */


-const colorsAndGradientKeys = ['colors', 'disableCustomColors', 'gradients', 'disableCustomGradients'];

-function ColorGradientControlInner(_ref) {
+
+function ConvertToGroupButton(_ref) {
   let {
-    colors,
-    gradients,
-    disableCustomColors,
-    disableCustomGradients,
-    __experimentalHasMultipleOrigins,
-    __experimentalIsRenderedInSidebar,
-    className,
-    label,
-    onColorChange,
-    onGradientChange,
-    colorValue,
-    gradientValue,
-    clearable,
-    showTitle = true,
-    enableAlpha
+    clientIds,
+    isGroupable,
+    isUngroupable,
+    blocksSelection,
+    groupingBlockName,
+    onClose = () => {}
   } = _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');
+  const {
+    replaceBlocks
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-  if (!canChooseAColor && !canChooseAGradient) {
-    return null;
-  }
+  const onConvertToGroup = () => {
+    // Activate the `transform` on the Grouping Block which does the conversion
+    const newBlocks = (0,external_wp_blocks_namespaceObject.switchToBlockType)(blocksSelection, groupingBlockName);

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["BaseControl"], {
-    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('block-editor-color-gradient-control', className)
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("fieldset", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["__experimentalVStack"], {
-    spacing: 1
-  }, showTitle && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("legend", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", {
-    className: "block-editor-color-gradient-control__color-indicator"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["BaseControl"].VisualLabel, null, label))), canChooseAColor && canChooseAGradient && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["__experimentalToggleGroupControl"], {
-    value: currentTab,
-    onChange: setCurrentTab,
-    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Select color type'),
-    hideLabelFromVision: true,
-    isBlock: true
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["__experimentalToggleGroupControlOption"], {
-    value: "color",
-    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Solid')
-  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["__experimentalToggleGroupControlOption"], {
-    value: "gradient",
-    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('Gradient')
-  })), (currentTab === 'color' || !canChooseAGradient) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["ColorPalette"], {
-    value: colorValue,
-    onChange: canChooseAGradient ? newColor => {
-      onColorChange(newColor);
-      onGradientChange();
-    } : onColorChange,
-    colors,
-    disableCustomColors,
-    __experimentalHasMultipleOrigins: __experimentalHasMultipleOrigins,
-    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
-    clearable: clearable,
-    enableAlpha: enableAlpha
-  }), (currentTab === 'gradient' || !canChooseAColor) && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["GradientPicker"], {
-    value: gradientValue,
-    onChange: canChooseAColor ? newGradient => {
-      onGradientChange(newGradient);
-      onColorChange();
-    } : onGradientChange,
-    gradients,
-    disableCustomGradients,
-    __experimentalHasMultipleOrigins: __experimentalHasMultipleOrigins,
-    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
-    clearable: clearable
-  }))));
-}
+    if (newBlocks) {
+      replaceBlocks(clientIds, newBlocks);
+    }
+  };

-function ColorGradientControlSelect(props) {
-  const colorGradientSettings = {};
-  colorGradientSettings.colors = Object(_use_setting__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])('color.palette');
-  colorGradientSettings.gradients = Object(_use_setting__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])('color.gradients');
-  colorGradientSettings.disableCustomColors = !Object(_use_setting__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])('color.custom');
-  colorGradientSettings.disableCustomGradients = !Object(_use_setting__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"])('color.customGradient');
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(ColorGradientControlInner, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, colorGradientSettings, props));
-}
+  const onConvertFromGroup = () => {
+    const innerBlocks = blocksSelection[0].innerBlocks;

-function ColorGradientControl(props) {
-  if (Object(lodash__WEBPACK_IMPORTED_MODULE_3__["every"])(colorsAndGradientKeys, key => props.hasOwnProperty(key))) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(ColorGradientControlInner, props);
-  }
+    if (!innerBlocks.length) {
+      return;
+    }

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(ColorGradientControlSelect, props);
-}
+    replaceBlocks(clientIds, innerBlocks);
+  };

-/* harmony default export */ __webpack_exports__["a"] = (ColorGradientControl);
+  if (!isGroupable && !isUngroupable) {
+    return null;
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isGroupable && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: () => {
+      onConvertToGroup();
+      onClose();
+    }
+  }, (0,external_wp_i18n_namespaceObject._x)('Group', 'verb')), isUngroupable && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: () => {
+      onConvertFromGroup();
+      onClose();
+    }
+  }, (0,external_wp_i18n_namespaceObject._x)('Ungroup', 'Ungrouping blocks from within a Group block back into individual blocks within the Editor ')));
+}

-/***/ }),

-/***/ "hw9B":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMultiSelection; });
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("BhPs");
-/* harmony import */ var _utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("OL6h");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.js
 /**
  * WordPress dependencies
  */
@@ -32441,876 +27089,977 @@ function ColorGradientControl(props) {
  */


-
-
-function toggleRichText(container, toggle) {
-  Array.from(container.closest('.is-root-container').querySelectorAll('.rich-text')).forEach(node => {
-    if (toggle) {
-      node.setAttribute('contenteditable', true);
-    } else {
-      node.removeAttribute('contenteditable');
-    }
-  });
-}
 /**
- * Sets a multi-selection based on the native selection across blocks.
+ * Contains the properties `ConvertToGroupButton` component needs.
  *
- * @param {string} clientId Block client ID.
+ * @typedef {Object} ConvertToGroupButtonProps
+ * @property {string[]}  clientIds         An array of the selected client ids.
+ * @property {boolean}   isGroupable       Indicates if the selected blocks can be grouped.
+ * @property {boolean}   isUngroupable     Indicates if the selected blocks can be ungrouped.
+ * @property {WPBlock[]} blocksSelection   An array of the selected blocks.
+ * @property {string}    groupingBlockName The name of block used for handling grouping interactions.
  */

+/**
+ * Returns the properties `ConvertToGroupButton` component needs to work properly.
+ * It is used in `BlockSettingsMenuControls` to know if `ConvertToGroupButton`
+ * should be rendered, to avoid ending up with an empty MenuGroup.
+ *
+ * @return {ConvertToGroupButtonProps} Returns the properties needed by `ConvertToGroupButton`.
+ */

-function useMultiSelection(clientId) {
-  const {
-    startMultiSelect,
-    stopMultiSelect,
-    multiSelect,
-    selectBlock
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]);
+function useConvertToGroupButtonProps() {
   const {
-    isSelectionEnabled,
-    isBlockSelected,
-    getBlockParents,
-    getBlockSelectionStart,
-    hasMultiSelection
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useSelect"])(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]);
-  return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["useRefEffect"])(node => {
+    clientIds,
+    isGroupable,
+    isUngroupable,
+    blocksSelection,
+    groupingBlockName
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _blocksSelection$;
+
     const {
-      ownerDocument
-    } = node;
+      getBlockRootClientId,
+      getBlocksByClientId,
+      canInsertBlockType,
+      getSelectedBlockClientIds
+    } = select(store);
     const {
-      defaultView
-    } = ownerDocument;
-    let anchorElement;
-    let rafId;
+      getGroupingBlockName
+    } = select(external_wp_blocks_namespaceObject.store);

-    function onSelectionChange(_ref) {
-      let {
-        isSelectionEnd
-      } = _ref;
-      const selection = defaultView.getSelection(); // If no selection is found, end multi selection and enable all rich
-      // text areas.
+    const _clientIds = getSelectedBlockClientIds();

-      if (!selection.rangeCount || selection.isCollapsed) {
-        toggleRichText(node, true);
-        return;
-      }
+    const _groupingBlockName = getGroupingBlockName();

-      const endClientId = Object(_utils_dom__WEBPACK_IMPORTED_MODULE_3__[/* getBlockClientId */ "a"])(selection.focusNode);
-      const isSingularSelection = clientId === endClientId;
+    const rootClientId = !!(_clientIds !== null && _clientIds !== void 0 && _clientIds.length) ? getBlockRootClientId(_clientIds[0]) : undefined;
+    const groupingBlockAvailable = canInsertBlockType(_groupingBlockName, rootClientId);

-      if (isSingularSelection) {
-        selectBlock(clientId); // If the selection is complete (on mouse up), and no
-        // multiple blocks have been selected, set focus back to the
-        // anchor element. if the anchor element contains the
-        // selection. Additionally, rich text elements that were
-        // previously disabled can now be enabled again.
+    const _blocksSelection = getBlocksByClientId(_clientIds);

-        if (isSelectionEnd) {
-          toggleRichText(node, true);
+    const isSingleGroupingBlock = _blocksSelection.length === 1 && ((_blocksSelection$ = _blocksSelection[0]) === null || _blocksSelection$ === void 0 ? void 0 : _blocksSelection$.name) === _groupingBlockName; // Do we have
+    // 1. Grouping block available to be inserted?
+    // 2. One or more blocks selected
+    // (we allow single Blocks to become groups unless
+    // they are a soltiary group block themselves)

-          if (selection.rangeCount) {
-            const {
-              commonAncestorContainer
-            } = selection.getRangeAt(0);
+    const _isGroupable = groupingBlockAvailable && _blocksSelection.length && !isSingleGroupingBlock; // Do we have a single Group Block selected and does that group have inner blocks?

-            if (anchorElement.contains(commonAncestorContainer)) {
-              anchorElement.focus();
-            }
-          }
-        }
-      } else {
-        const startPath = [...getBlockParents(clientId), clientId];
-        const endPath = [...getBlockParents(endClientId), endClientId];
-        const depth = Math.min(startPath.length, endPath.length) - 1;
-        multiSelect(startPath[depth], endPath[depth]);
-      }
+
+    const _isUngroupable = isSingleGroupingBlock && !!_blocksSelection[0].innerBlocks.length;
+
+    return {
+      clientIds: _clientIds,
+      isGroupable: _isGroupable,
+      isUngroupable: _isUngroupable,
+      blocksSelection: _blocksSelection,
+      groupingBlockName: _groupingBlockName
+    };
+  }, []);
+  return {
+    clientIds,
+    isGroupable,
+    isUngroupable,
+    blocksSelection,
+    groupingBlockName
+  };
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu-controls/index.js
+
+
+
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+const {
+  Fill,
+  Slot: block_settings_menu_controls_Slot
+} = (0,external_wp_components_namespaceObject.createSlotFill)('BlockSettingsMenuControls');
+
+const BlockSettingsMenuControlsSlot = _ref => {
+  let {
+    fillProps,
+    clientIds = null
+  } = _ref;
+  const {
+    selectedBlocks,
+    selectedClientIds
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlocksByClientId,
+      getSelectedBlockClientIds
+    } = select(store);
+    const ids = clientIds !== null ? clientIds : getSelectedBlockClientIds();
+    return {
+      selectedBlocks: (0,external_lodash_namespaceObject.map)((0,external_lodash_namespaceObject.compact)(getBlocksByClientId(ids)), block => block.name),
+      selectedClientIds: ids
+    };
+  }, [clientIds]); // Check if current selection of blocks is Groupable or Ungroupable
+  // and pass this props down to ConvertToGroupButton.
+
+  const convertToGroupButtonProps = useConvertToGroupButtonProps();
+  const {
+    isGroupable,
+    isUngroupable
+  } = convertToGroupButtonProps;
+  const showConvertToGroupButton = isGroupable || isUngroupable;
+  return (0,external_wp_element_namespaceObject.createElement)(block_settings_menu_controls_Slot, {
+    fillProps: { ...fillProps,
+      selectedBlocks,
+      selectedClientIds
     }
+  }, fills => {
+    if ((fills === null || fills === void 0 ? void 0 : fills.length) > 0 || showConvertToGroupButton) {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, fills, (0,external_wp_element_namespaceObject.createElement)(ConvertToGroupButton, _extends({}, convertToGroupButtonProps, {
+        onClose: fillProps === null || fillProps === void 0 ? void 0 : fillProps.onClose
+      })));
+    }
+  });
+};
+/**
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/block-settings-menu-controls/README.md
+ *
+ * @param {Object} props Fill props.
+ * @return {WPElement} Element.
+ */

-    function onSelectionEnd() {
-      ownerDocument.removeEventListener('selectionchange', onSelectionChange); // Equivalent to attaching the listener once.

-      defaultView.removeEventListener('mouseup', onSelectionEnd); // The browser selection won't have updated yet at this point,
-      // so wait until the next animation frame to get the browser
-      // selection.
+function BlockSettingsMenuControls(_ref2) {
+  let { ...props
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalStyleProvider, {
+    document: document
+  }, (0,external_wp_element_namespaceObject.createElement)(Fill, props));
+}

-      rafId = defaultView.requestAnimationFrame(() => {
-        onSelectionChange({
-          isSelectionEnd: true
-        });
-        stopMultiSelect();
-      });
-    }
+BlockSettingsMenuControls.Slot = BlockSettingsMenuControlsSlot;
+/* harmony default export */ var block_settings_menu_controls = (BlockSettingsMenuControls);

-    function onMouseLeave(_ref2) {
-      let {
-        buttons
-      } = _ref2;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/block-settings-dropdown.js

-      // The primary button must be pressed to initiate selection.
-      // See https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons
-      if (buttons !== 1) {
-        return;
-      }

-      if (!isSelectionEnabled() || !isBlockSelected(clientId)) {
-        return;
-      }

-      anchorElement = ownerDocument.activeElement;
-      startMultiSelect(); // `onSelectionStart` is called after `mousedown` and
-      // `mouseleave` (from a block). The selection ends when
-      // `mouseup` happens anywhere in the window.
+/**
+ * External dependencies
+ */

-      ownerDocument.addEventListener('selectionchange', onSelectionChange);
-      defaultView.addEventListener('mouseup', onSelectionEnd); // Removing the contenteditable attributes within the block
-      // editor is essential for selection to work across editable
-      // areas. The edible hosts are removed, allowing selection to be
-      // extended outside the DOM element. `startMultiSelect` sets a
-      // flag in the store so the rich text components are updated,
-      // but the rerender may happen very slowly, especially in Safari
-      // for the blocks that are asynchonously rendered. To ensure the
-      // browser instantly removes the selection boundaries, we remove
-      // the contenteditable attributes manually.
+/**
+ * WordPress dependencies
+ */

-      toggleRichText(node, false);
-    }

-    function onMouseDown(event) {
-      // The main button.
-      // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button
-      if (!isSelectionEnabled() || event.button !== 0) {
-        return;
-      }

-      if (event.shiftKey) {
-        const blockSelectionStart = getBlockSelectionStart(); // By checking `blockSelectionStart` to be set, we handle the
-        // case where we select a single block. We also have to check
-        // the selectionEnd (clientId) not to be included in the
-        // `blockSelectionStart`'s parents because the click event is
-        // propagated.

-        const startParents = getBlockParents(blockSelectionStart);

-        if (blockSelectionStart && blockSelectionStart !== clientId && !(startParents !== null && startParents !== void 0 && startParents.includes(clientId))) {
-          const startPath = [...startParents, blockSelectionStart];
-          const endPath = [...getBlockParents(clientId), clientId];
-          const depth = Math.min(startPath.length, endPath.length) - 1;
-          const start = startPath[depth];
-          const end = endPath[depth]; // Handle the case of having selected a parent block and
-          // then sfift+click on a child.

-          if (start !== end) {
-            toggleRichText(node, false);
-            multiSelect(start, end);
-            event.preventDefault();
-          }
-        }
-      } else if (hasMultiSelection()) {
-        // Allow user to escape out of a multi-selection to a
-        // singular selection of a block via click. This is handled
-        // here since focus handling excludes blocks when there is
-        // multiselection, as focus can be incurred by starting a
-        // multiselection (focus moved to first block's multi-
-        // controls).
-        selectBlock(clientId);
-      }
-    }

-    node.addEventListener('mousedown', onMouseDown);
-    node.addEventListener('mouseleave', onMouseLeave);
-    return () => {
-      node.removeEventListener('mousedown', onMouseDown);
-      node.removeEventListener('mouseleave', onMouseLeave);
-      ownerDocument.removeEventListener('selectionchange', onSelectionChange);
-      defaultView.removeEventListener('mouseup', onSelectionEnd);
-      defaultView.cancelAnimationFrame(rafId);
-    };
-  }, [clientId, startMultiSelect, stopMultiSelect, multiSelect, selectBlock, isSelectionEnabled, isBlockSelected, getBlockParents]);
-}


-/***/ }),
+/**
+ * Internal dependencies
+ */

-/***/ "iA5R":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
-/*istanbul ignore start*/


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.diffChars = diffChars;
-exports.characterDiff = void 0;

-/*istanbul ignore end*/
-var
-/*istanbul ignore start*/
-_base = _interopRequireDefault(__webpack_require__("smQA"))
-/*istanbul ignore end*/
-;

-/*istanbul ignore start*/ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

-/*istanbul ignore end*/
-var characterDiff = new
-/*istanbul ignore start*/
-_base
-/*istanbul ignore end*/
-.
-/*istanbul ignore start*/
-default
-/*istanbul ignore end*/
-();
+const block_settings_dropdown_POPOVER_PROPS = {
+  className: 'block-editor-block-settings-menu__popover',
+  position: 'bottom right',
+  isAlternate: true
+};

-/*istanbul ignore start*/
-exports.characterDiff = characterDiff;
+function CopyMenuItem(_ref) {
+  let {
+    blocks,
+    onCopy
+  } = _ref;
+  const ref = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(() => (0,external_wp_blocks_namespaceObject.serialize)(blocks), onCopy);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    ref: ref
+  }, (0,external_wp_i18n_namespaceObject.__)('Copy'));
+}

-/*istanbul ignore end*/
-function diffChars(oldStr, newStr, options) {
-  return characterDiff.diff(oldStr, newStr, options);
+function BlockSettingsDropdown(_ref2) {
+  let {
+    clientIds,
+    __experimentalSelectBlock,
+    children,
+    ...props
+  } = _ref2;
+  const blockClientIds = (0,external_lodash_namespaceObject.castArray)(clientIds);
+  const count = blockClientIds.length;
+  const firstBlockClientId = blockClientIds[0];
+  const {
+    onlyBlock,
+    title
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _getBlockType;
+
+    const {
+      getBlockCount,
+      getBlockName
+    } = select(store);
+    const {
+      getBlockType
+    } = select(external_wp_blocks_namespaceObject.store);
+    return {
+      onlyBlock: 1 === getBlockCount(),
+      title: (_getBlockType = getBlockType(getBlockName(firstBlockClientId))) === null || _getBlockType === void 0 ? void 0 : _getBlockType.title
+    };
+  }, [firstBlockClientId]);
+  const shortcuts = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getShortcutRepresentation
+    } = select(external_wp_keyboardShortcuts_namespaceObject.store);
+    return {
+      duplicate: getShortcutRepresentation('core/block-editor/duplicate'),
+      remove: getShortcutRepresentation('core/block-editor/remove'),
+      insertAfter: getShortcutRepresentation('core/block-editor/insert-after'),
+      insertBefore: getShortcutRepresentation('core/block-editor/insert-before')
+    };
+  }, []);
+  const updateSelection = (0,external_wp_element_namespaceObject.useCallback)(__experimentalSelectBlock ? async clientIdsPromise => {
+    const ids = await clientIdsPromise;
+
+    if (ids && ids[0]) {
+      __experimentalSelectBlock(ids[0]);
+    }
+  } : external_lodash_namespaceObject.noop, [__experimentalSelectBlock]);
+  const label = (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: block name */
+  (0,external_wp_i18n_namespaceObject.__)('Remove %s'), title);
+  const removeBlockLabel = count === 1 ? label : (0,external_wp_i18n_namespaceObject.__)('Remove blocks');
+  return (0,external_wp_element_namespaceObject.createElement)(BlockActions, {
+    clientIds: clientIds,
+    __experimentalUpdateSelection: !__experimentalSelectBlock
+  }, _ref3 => {
+    let {
+      canDuplicate,
+      canInsertDefaultBlock,
+      canMove,
+      canRemove,
+      onDuplicate,
+      onInsertAfter,
+      onInsertBefore,
+      onRemove,
+      onCopy,
+      onMoveTo,
+      blocks
+    } = _ref3;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, _extends({
+      icon: more_vertical,
+      label: (0,external_wp_i18n_namespaceObject.__)('Options'),
+      className: "block-editor-block-settings-menu",
+      popoverProps: block_settings_dropdown_POPOVER_PROPS,
+      noIcons: true
+    }, props), _ref4 => {
+      let {
+        onClose
+      } = _ref4;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, (0,external_wp_element_namespaceObject.createElement)(block_settings_menu_first_item.Slot, {
+        fillProps: {
+          onClose
+        }
+      }), count === 1 && (0,external_wp_element_namespaceObject.createElement)(block_html_convert_button, {
+        clientId: firstBlockClientId
+      }), (0,external_wp_element_namespaceObject.createElement)(CopyMenuItem, {
+        blocks: blocks,
+        onCopy: onCopy
+      }), canDuplicate && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+        onClick: (0,external_lodash_namespaceObject.flow)(onClose, onDuplicate, updateSelection),
+        shortcut: shortcuts.duplicate
+      }, (0,external_wp_i18n_namespaceObject.__)('Duplicate')), canInsertDefaultBlock && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+        onClick: (0,external_lodash_namespaceObject.flow)(onClose, onInsertBefore),
+        shortcut: shortcuts.insertBefore
+      }, (0,external_wp_i18n_namespaceObject.__)('Insert before')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+        onClick: (0,external_lodash_namespaceObject.flow)(onClose, onInsertAfter),
+        shortcut: shortcuts.insertAfter
+      }, (0,external_wp_i18n_namespaceObject.__)('Insert after'))), canMove && !onlyBlock && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+        onClick: (0,external_lodash_namespaceObject.flow)(onClose, onMoveTo)
+      }, (0,external_wp_i18n_namespaceObject.__)('Move to')), count === 1 && (0,external_wp_element_namespaceObject.createElement)(block_mode_toggle, {
+        clientId: firstBlockClientId,
+        onToggle: onClose
+      })), (0,external_wp_element_namespaceObject.createElement)(block_settings_menu_controls.Slot, {
+        fillProps: {
+          onClose
+        },
+        clientIds: clientIds
+      }), typeof children === 'function' ? children({
+        onClose
+      }) : external_wp_element_namespaceObject.Children.map(child => (0,external_wp_element_namespaceObject.cloneElement)(child, {
+        onClose
+      })), canRemove && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+        onClick: (0,external_lodash_namespaceObject.flow)(onClose, onRemove, updateSelection),
+        shortcut: shortcuts.remove
+      }, removeBlockLabel)));
+    });
+  });
 }
+/* harmony default export */ var block_settings_dropdown = (BlockSettingsDropdown);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu/index.js

-/***/ }),

-/***/ "iClF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 /**
  * WordPress dependencies
  */

-/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
-
 /**
- * Return an SVG icon.
- *
- * @param {IconProps} props icon is the SVG component to render
- *                          size is a number specifiying the icon size in pixels
- *                          Other props will be passed to wrapped SVG component
- *
- * @return {JSX.Element}  Icon component
+ * Internal dependencies
  */

-function Icon(_ref) {
+
+function BlockSettingsMenu(_ref) {
   let {
-    icon,
-    size = 24,
+    clientIds,
     ...props
   } = _ref;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
-    width: size,
-    height: size,
-    ...props
-  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, null, toggleProps => (0,external_wp_element_namespaceObject.createElement)(block_settings_dropdown, _extends({
+    clientIds: clientIds,
+    toggleProps: toggleProps
+  }, props))));
 }
+/* harmony default export */ var block_settings_menu = (BlockSettingsMenu);

-/* harmony default export */ __webpack_exports__["a"] = (Icon);
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-toolbar/index.js

-/***/ }),
-
-/***/ "j6zP":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _block_draggable_draggable_chip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("q3tz");

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */

+
+
+
+
+
 /**
  * Internal dependencies
  */



-const InserterDraggableBlocks = _ref => {
+
+
+
+
+
+function BlockToolbar(_ref) {
   let {
-    isEnabled,
-    blocks,
-    icon,
-    children
+    hideDragHandle
   } = _ref;
-  const transferData = {
-    type: 'inserter',
-    blocks
-  };
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Draggable"], {
-    __experimentalTransferDataType: "wp-blocks",
-    transferData: transferData,
-    __experimentalDragComponent: Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_block_draggable_draggable_chip__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], {
-      count: blocks.length,
-      icon: icon
-    })
-  }, _ref2 => {
-    let {
-      onDraggableStart,
-      onDraggableEnd
-    } = _ref2;
-    return children({
-      draggable: isEnabled,
-      onDragStart: isEnabled ? onDraggableStart : undefined,
-      onDragEnd: isEnabled ? onDraggableEnd : undefined
-    });
-  });
-};
+  const {
+    blockClientIds,
+    blockClientId,
+    blockType,
+    hasFixedToolbar,
+    hasReducedUI,
+    isValid,
+    isVisual
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockName,
+      getBlockMode,
+      getSelectedBlockClientIds,
+      isBlockValid,
+      getBlockRootClientId,
+      getSettings
+    } = select(store);
+    const selectedBlockClientIds = getSelectedBlockClientIds();
+    const selectedBlockClientId = selectedBlockClientIds[0];
+    const blockRootClientId = getBlockRootClientId(selectedBlockClientId);
+    const settings = getSettings();
+    return {
+      blockClientIds: selectedBlockClientIds,
+      blockClientId: selectedBlockClientId,
+      blockType: selectedBlockClientId && (0,external_wp_blocks_namespaceObject.getBlockType)(getBlockName(selectedBlockClientId)),
+      hasFixedToolbar: settings.hasFixedToolbar,
+      hasReducedUI: settings.hasReducedUI,
+      rootClientId: blockRootClientId,
+      isValid: selectedBlockClientIds.every(id => isBlockValid(id)),
+      isVisual: selectedBlockClientIds.every(id => getBlockMode(id) === 'visual')
+    };
+  }, []); // Handles highlighting the current block outline on hover or focus of the
+  // block type toolbar area.

-/* harmony default export */ __webpack_exports__["a"] = (InserterDraggableBlocks);
+  const {
+    toggleBlockHighlight
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const nodeRef = (0,external_wp_element_namespaceObject.useRef)();
+  const {
+    showMovers,
+    gestures: showMoversGestures
+  } = useShowMoversGestures({
+    ref: nodeRef,

+    onChange(isFocused) {
+      if (isFocused && hasReducedUI) {
+        return;
+      }

-/***/ }),
+      toggleBlockHighlight(blockClientId, isFocused);
+    }

-/***/ "jB5C":
-/***/ (function(module, exports, __webpack_require__) {
+  }); // Account for the cases where the block toolbar is rendered within the
+  // header area and not contextually to the block.

-"use strict";
+  const displayHeaderToolbar = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<') || hasFixedToolbar;

+  if (blockType) {
+    if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, '__experimentalToolbar', true)) {
+      return null;
+    }
+  }

-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+  const shouldShowMovers = displayHeaderToolbar || showMovers;

-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
+  if (blockClientIds.length === 0) {
+    return null;
+  }

-var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;
+  const shouldShowVisualToolbar = isValid && isVisual;
+  const isMultiToolbar = blockClientIds.length > 1;
+  const classes = classnames_default()('block-editor-block-toolbar', shouldShowMovers && 'is-showing-movers');
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classes
+  }, !isMultiToolbar && !displayHeaderToolbar && (0,external_wp_element_namespaceObject.createElement)(BlockParentSelector, {
+    clientIds: blockClientIds
+  }), (0,external_wp_element_namespaceObject.createElement)("div", _extends({
+    ref: nodeRef
+  }, showMoversGestures), (shouldShowVisualToolbar || isMultiToolbar) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, {
+    className: "block-editor-block-toolbar__block-controls"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_switcher, {
+    clientIds: blockClientIds
+  }), (0,external_wp_element_namespaceObject.createElement)(block_mover, {
+    clientIds: blockClientIds,
+    hideDragHandle: hideDragHandle || hasReducedUI
+  }))), shouldShowVisualToolbar && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(block_controls.Slot, {
+    group: "parent",
+    className: "block-editor-block-toolbar__slot"
+  }), (0,external_wp_element_namespaceObject.createElement)(block_controls.Slot, {
+    group: "block",
+    className: "block-editor-block-toolbar__slot"
+  }), (0,external_wp_element_namespaceObject.createElement)(block_controls.Slot, {
+    className: "block-editor-block-toolbar__slot"
+  }), (0,external_wp_element_namespaceObject.createElement)(block_controls.Slot, {
+    group: "inline",
+    className: "block-editor-block-toolbar__slot"
+  }), (0,external_wp_element_namespaceObject.createElement)(block_controls.Slot, {
+    group: "other",
+    className: "block-editor-block-toolbar__slot"
+  })), (0,external_wp_element_namespaceObject.createElement)(block_settings_menu, {
+    clientIds: blockClientIds
+  }));
+}

-function getClientPosition(elem) {
-  var box = undefined;
-  var x = undefined;
-  var y = undefined;
-  var doc = elem.ownerDocument;
-  var body = doc.body;
-  var docElem = doc && doc.documentElement;
-  // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式
-  box = elem.getBoundingClientRect();
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/block-contextual-toolbar.js

-  // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop
-  // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确
-  // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin

-  x = box.left;
-  y = box.top;

-  // In IE, most of the time, 2 extra pixels are added to the top and left
-  // due to the implicit 2-pixel inset border.  In IE6/7 quirks mode and
-  // IE6 standards mode, this border can be overridden by setting the
-  // document element's border to zero -- thus, we cannot rely on the
-  // offset always being 2 pixels.
+/**
+ * External dependencies
+ */

-  // In quirks mode, the offset can be determined by querying the body's
-  // clientLeft/clientTop, but in standards mode, it is found by querying
-  // the document element's clientLeft/clientTop.  Since we already called
-  // getClientBoundingRect we have already forced a reflow, so it is not
-  // too expensive just to query them all.
+/**
+ * WordPress dependencies
+ */

-  // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的
-  // 窗口边框标准是设 documentElement ,quirks 时设置 body
-  // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去
-  // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置
-  // 标准 ie 下 docElem.clientTop 就是 border-top
-  // ie7 html 即窗口边框改变不了。永远为 2
-  // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0

-  x -= docElem.clientLeft || body.clientLeft || 0;
-  y -= docElem.clientTop || body.clientTop || 0;

-  return {
-    left: x,
-    top: y
-  };
-}

-function getScroll(w, top) {
-  var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];
-  var method = 'scroll' + (top ? 'Top' : 'Left');
-  if (typeof ret !== 'number') {
-    var d = w.document;
-    // ie6,7,8 standard mode
-    ret = d.documentElement[method];
-    if (typeof ret !== 'number') {
-      // quirks mode
-      ret = d.body[method];
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+function BlockContextualToolbar(_ref) {
+  let {
+    focusOnMount,
+    isFixed,
+    ...props
+  } = _ref;
+  const {
+    blockType,
+    hasParents,
+    showParentSelector
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockName,
+      getBlockParents,
+      getSelectedBlockClientIds
+    } = select(store);
+    const {
+      getBlockType
+    } = select(external_wp_blocks_namespaceObject.store);
+    const selectedBlockClientIds = getSelectedBlockClientIds();
+    const selectedBlockClientId = selectedBlockClientIds[0];
+    const parents = getBlockParents(selectedBlockClientId);
+    const firstParentClientId = parents[parents.length - 1];
+    const parentBlockName = getBlockName(firstParentClientId);
+    const parentBlockType = getBlockType(parentBlockName);
+    return {
+      blockType: selectedBlockClientId && getBlockType(getBlockName(selectedBlockClientId)),
+      hasParents: parents.length,
+      showParentSelector: (0,external_wp_blocks_namespaceObject.hasBlockSupport)(parentBlockType, '__experimentalParentSelector', true) && selectedBlockClientIds.length <= 1
+    };
+  }, []);
+
+  if (blockType) {
+    if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, '__experimentalToolbar', true)) {
+      return null;
     }
-  }
-  return ret;
-}
+  } // Shifts the toolbar to make room for the parent block selector.

-function getScrollLeft(w) {
-  return getScroll(w);
-}

-function getScrollTop(w) {
-  return getScroll(w, true);
+  const classes = classnames_default()('block-editor-block-contextual-toolbar', {
+    'has-parent': hasParents && showParentSelector,
+    'is-fixed': isFixed
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(navigable_toolbar, _extends({
+    focusOnMount: focusOnMount,
+    className: classes
+    /* translators: accessibility text for the block toolbar */
+    ,
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Block tools')
+  }, props), (0,external_wp_element_namespaceObject.createElement)(BlockToolbar, {
+    hideDragHandle: isFixed
+  }));
 }

-function getOffset(el) {
-  var pos = getClientPosition(el);
-  var doc = el.ownerDocument;
-  var w = doc.defaultView || doc.parentWindow;
-  pos.left += getScrollLeft(w);
-  pos.top += getScrollTop(w);
-  return pos;
-}
-function _getComputedStyle(elem, name, computedStyle_) {
-  var val = '';
-  var d = elem.ownerDocument;
-  var computedStyle = computedStyle_ || d.defaultView.getComputedStyle(elem, null);
+/* harmony default export */ var block_contextual_toolbar = (BlockContextualToolbar);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/block-popover.js
+
+
+/**
+ * External dependencies
+ */
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+

-  // https://github.com/kissyteam/kissy/issues/61
-  if (computedStyle) {
-    val = computedStyle.getPropertyValue(name) || computedStyle[name];
-  }

-  return val;
-}

-var _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');
-var RE_POS = /^(top|right|bottom|left)$/;
-var CURRENT_STYLE = 'currentStyle';
-var RUNTIME_STYLE = 'runtimeStyle';
-var LEFT = 'left';
-var PX = 'px';

-function _getComputedStyleIE(elem, name) {
-  // currentStyle maybe null
-  // http://msdn.microsoft.com/en-us/library/ms535231.aspx
-  var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];

-  // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值
-  // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19
-  // 在 ie 下不对,需要直接用 offset 方式
-  // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了
+/**
+ * Internal dependencies
+ */

-  // From the awesome hack by Dean Edwards
-  // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
-  // If we're not dealing with a regular pixel number
-  // but a number that has a weird ending, we need to convert it to pixels
-  // exclude left right for relativity
-  if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {
-    // Remember the original values
-    var style = elem.style;
-    var left = style[LEFT];
-    var rsLeft = elem[RUNTIME_STYLE][LEFT];

-    // prevent flashing of content
-    elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];

-    // Put in the new values to get a computed value out
-    style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;
-    ret = style.pixelLeft + PX;

-    // Revert the changed values
-    style[LEFT] = left;

-    elem[RUNTIME_STYLE][LEFT] = rsLeft;
-  }
-  return ret === '' ? 'auto' : ret;
-}

-var getComputedStyleX = undefined;
-if (typeof window !== 'undefined') {
-  getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;
-}

-function each(arr, fn) {
-  for (var i = 0; i < arr.length; i++) {
-    fn(arr[i]);
-  }
-}

-function isBorderBoxFn(elem) {
-  return getComputedStyleX(elem, 'boxSizing') === 'border-box';
+function block_popover_selector(select) {
+  const {
+    isNavigationMode,
+    isMultiSelecting,
+    hasMultiSelection,
+    isTyping,
+    isCaretWithinFormattedText,
+    getSettings,
+    getLastMultiSelectedBlockClientId
+  } = select(store);
+  return {
+    isNavigationMode: isNavigationMode(),
+    isMultiSelecting: isMultiSelecting(),
+    isTyping: isTyping(),
+    isCaretWithinFormattedText: isCaretWithinFormattedText(),
+    hasMultiSelection: hasMultiSelection(),
+    hasFixedToolbar: getSettings().hasFixedToolbar,
+    lastClientId: getLastMultiSelectedBlockClientId()
+  };
 }

-var BOX_MODELS = ['margin', 'border', 'padding'];
-var CONTENT_INDEX = -1;
-var PADDING_INDEX = 2;
-var BORDER_INDEX = 1;
-var MARGIN_INDEX = 0;
-
-function swap(elem, options, callback) {
-  var old = {};
-  var style = elem.style;
-  var name = undefined;
+function BlockPopover(_ref) {
+  let {
+    clientId,
+    rootClientId,
+    isValid,
+    isEmptyDefaultBlock,
+    capturingClientId,
+    __unstablePopoverSlot,
+    __unstableContentRef
+  } = _ref;
+  const {
+    isNavigationMode,
+    isMultiSelecting,
+    isTyping,
+    isCaretWithinFormattedText,
+    hasMultiSelection,
+    hasFixedToolbar,
+    lastClientId
+  } = (0,external_wp_data_namespaceObject.useSelect)(block_popover_selector, []);
+  const isInsertionPointVisible = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      isBlockInsertionPointVisible,
+      getBlockInsertionPoint,
+      getBlockOrder
+    } = select(store);

-  // Remember the old values, and insert the new ones
-  for (name in options) {
-    if (options.hasOwnProperty(name)) {
-      old[name] = style[name];
-      style[name] = options[name];
+    if (!isBlockInsertionPointVisible()) {
+      return false;
     }
-  }

-  callback.call(elem);
+    const insertionPoint = getBlockInsertionPoint();
+    const order = getBlockOrder(insertionPoint.rootClientId);
+    return order[insertionPoint.index] === clientId;
+  }, [clientId]);
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  const [isToolbarForced, setIsToolbarForced] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [isInserterShown, setIsInserterShown] = (0,external_wp_element_namespaceObject.useState)(false);
+  const {
+    stopTyping
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store); // Controls when the side inserter on empty lines should
+  // be shown, including writing and selection modes.

-  // Revert the old values
-  for (name in options) {
-    if (options.hasOwnProperty(name)) {
-      style[name] = old[name];
+  const showEmptyBlockSideInserter = !isTyping && !isNavigationMode && isEmptyDefaultBlock && isValid;
+  const shouldShowBreadcrumb = isNavigationMode;
+  const shouldShowContextualToolbar = !isNavigationMode && !hasFixedToolbar && isLargeViewport && !showEmptyBlockSideInserter && !isMultiSelecting && (!isTyping || isCaretWithinFormattedText);
+  const canFocusHiddenToolbar = !isNavigationMode && !shouldShowContextualToolbar && !hasFixedToolbar && !isEmptyDefaultBlock;
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/block-editor/focus-toolbar', () => {
+    setIsToolbarForced(true);
+    stopTyping(true);
+  }, {
+    isDisabled: !canFocusHiddenToolbar
+  });
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!shouldShowContextualToolbar) {
+      setIsToolbarForced(false);
     }
-  }
-}
+  }, [shouldShowContextualToolbar]); // Stores the active toolbar item index so the block toolbar can return focus
+  // to it when re-mounting.

-function getPBMWidth(elem, props, which) {
-  var value = 0;
-  var prop = undefined;
-  var j = undefined;
-  var i = undefined;
-  for (j = 0; j < props.length; j++) {
-    prop = props[j];
-    if (prop) {
-      for (i = 0; i < which.length; i++) {
-        var cssProp = undefined;
-        if (prop === 'border') {
-          cssProp = prop + which[i] + 'Width';
-        } else {
-          cssProp = prop + which[i];
-        }
-        value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;
-      }
-    }
+  const initialToolbarItemIndexRef = (0,external_wp_element_namespaceObject.useRef)();
+  const selectedElement = useBlockElement(clientId);
+  const lastSelectedElement = useBlockElement(lastClientId);
+  const capturingElement = useBlockElement(capturingClientId);
+  const popoverScrollRef = usePopoverScroll(__unstableContentRef);
+
+  if (!shouldShowBreadcrumb && !shouldShowContextualToolbar && !isToolbarForced && !showEmptyBlockSideInserter) {
+    return null;
   }
-  return value;
-}

-/**
- * A crude way of determining if an object is a window
- * @member util
- */
-function isWindow(obj) {
-  // must use == for ie8
-  /* eslint eqeqeq:0 */
-  return obj != null && obj == obj.window;
-}
+  let node = selectedElement;

-var domUtils = {};
+  if (!node) {
+    return null;
+  }

-each(['Width', 'Height'], function (name) {
-  domUtils['doc' + name] = function (refWin) {
-    var d = refWin.document;
-    return Math.max(
-    // firefox chrome documentElement.scrollHeight< body.scrollHeight
-    // ie standard mode : documentElement.scrollHeight> body.scrollHeight
-    d.documentElement['scroll' + name],
-    // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?
-    d.body['scroll' + name], domUtils['viewport' + name](d));
-  };
+  if (capturingClientId) {
+    node = capturingElement;
+  }

-  domUtils['viewport' + name] = function (win) {
-    // pc browser includes scrollbar in window.innerWidth
-    var prop = 'client' + name;
-    var doc = win.document;
-    var body = doc.body;
-    var documentElement = doc.documentElement;
-    var documentElementProp = documentElement[prop];
-    // 标准模式取 documentElement
-    // backcompat 取 body
-    return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;
-  };
-});
+  let anchorRef = node;

-/*
- 得到元素的大小信息
- @param elem
- @param name
- @param {String} [extra]  'padding' : (css width) + padding
- 'border' : (css width) + padding + border
- 'margin' : (css width) + padding + border + margin
- */
-function getWH(elem, name, extra) {
-  if (isWindow(elem)) {
-    return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);
-  } else if (elem.nodeType === 9) {
-    return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);
-  }
-  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
-  var borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;
-  var computedStyle = getComputedStyleX(elem);
-  var isBorderBox = isBorderBoxFn(elem, computedStyle);
-  var cssBoxValue = 0;
-  if (borderBoxValue == null || borderBoxValue <= 0) {
-    borderBoxValue = undefined;
-    // Fall back to computed then un computed css if necessary
-    cssBoxValue = getComputedStyleX(elem, name);
-    if (cssBoxValue == null || Number(cssBoxValue) < 0) {
-      cssBoxValue = elem.style[name] || 0;
-    }
-    // Normalize '', auto, and prepare for extra
-    cssBoxValue = parseFloat(cssBoxValue) || 0;
-  }
-  if (extra === undefined) {
-    extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;
-  }
-  var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;
-  var val = borderBoxValue || cssBoxValue;
-  if (extra === CONTENT_INDEX) {
-    if (borderBoxValueOrIsBorderBox) {
-      return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);
+  if (hasMultiSelection) {
+    // Wait to render the popover until the bottom reference is available
+    // as well.
+    if (!lastSelectedElement) {
+      return null;
     }
-    return cssBoxValue;
+
+    anchorRef = {
+      top: node,
+      bottom: lastSelectedElement
+    };
   }
-  if (borderBoxValueOrIsBorderBox) {
-    var padding = extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle);
-    return val + (extra === BORDER_INDEX ? 0 : padding);
+
+  function onFocus() {
+    setIsInserterShown(true);
   }
-  return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);
-}

-var cssShow = {
-  position: 'absolute',
-  visibility: 'hidden',
-  display: 'block'
-};
+  function onBlur() {
+    setIsInserterShown(false);
+  } // Position above the anchor, pop out towards the right, and position in the
+  // left corner. For the side inserter, pop out towards the left, and
+  // position in the right corner.
+  // To do: refactor `Popover` to make this prop clearer.

-// fix #119 : https://github.com/kissyteam/kissy/issues/119
-function getWHIgnoreDisplay(elem) {
-  var val = undefined;
-  var args = arguments;
-  // in case elem is window
-  // elem.offsetWidth === undefined
-  if (elem.offsetWidth !== 0) {
-    val = getWH.apply(undefined, args);
-  } else {
-    swap(elem, cssShow, function () {
-      val = getWH.apply(undefined, args);
-    });
-  }
-  return val;
+
+  const popoverPosition = showEmptyBlockSideInserter ? 'top left right' : 'top right left';
+  const {
+    ownerDocument
+  } = node;
+  const stickyBoundaryElement = showEmptyBlockSideInserter ? undefined : // The sticky boundary element should be the boundary at which the
+  // the block toolbar becomes sticky when the block scolls out of view.
+  // In case of an iframe, this should be the iframe boundary, otherwise
+  // the scroll container.
+  ownerDocument.defaultView.frameElement || (0,external_wp_dom_namespaceObject.getScrollContainer)(node) || ownerDocument.body;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
+    ref: popoverScrollRef,
+    noArrow: true,
+    animate: false,
+    position: popoverPosition,
+    focusOnMount: false,
+    anchorRef: anchorRef,
+    className: classnames_default()('block-editor-block-list__block-popover', {
+      'is-insertion-point-visible': isInsertionPointVisible
+    }),
+    __unstableStickyBoundaryElement: stickyBoundaryElement // Render in the old slot if needed for backward compatibility,
+    // otherwise render in place (not in the the default popover slot).
+    ,
+    __unstableSlotName: __unstablePopoverSlot || null,
+    __unstableBoundaryParent: true // Observe movement for block animations (especially horizontal).
+    ,
+    __unstableObserveElement: node,
+    shouldAnchorIncludePadding: true // Used to safeguard sticky position behavior against cases where it would permanently
+    // obscure specific sections of a block.
+    ,
+    __unstableEditorCanvasWrapper: __unstableContentRef === null || __unstableContentRef === void 0 ? void 0 : __unstableContentRef.current
+  }, (shouldShowContextualToolbar || isToolbarForced) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    onFocus: onFocus,
+    onBlur: onBlur // While ideally it would be enough to capture the
+    // bubbling focus event from the Inserter, due to the
+    // characteristics of click focusing of `button`s in
+    // Firefox and Safari, it is not reliable.
+    //
+    // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
+    ,
+    tabIndex: -1,
+    className: classnames_default()('block-editor-block-list__block-popover-inserter', {
+      'is-visible': isInserterShown
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)(inserter, {
+    clientId: clientId,
+    rootClientId: rootClientId,
+    __experimentalIsQuick: true
+  })), (shouldShowContextualToolbar || isToolbarForced) && (0,external_wp_element_namespaceObject.createElement)(block_contextual_toolbar // If the toolbar is being shown because of being forced
+  // it should focus the toolbar right after the mount.
+  , {
+    focusOnMount: isToolbarForced,
+    __experimentalInitialIndex: initialToolbarItemIndexRef.current,
+    __experimentalOnIndexChange: index => {
+      initialToolbarItemIndexRef.current = index;
+    } // Resets the index whenever the active block changes so
+    // this is not persisted. See https://github.com/WordPress/gutenberg/pull/25760#issuecomment-717906169
+    ,
+    key: clientId
+  }), shouldShowBreadcrumb && (0,external_wp_element_namespaceObject.createElement)(block_selection_button, {
+    clientId: clientId,
+    rootClientId: rootClientId,
+    blockElement: node
+  }), showEmptyBlockSideInserter && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-list__empty-block-inserter"
+  }, (0,external_wp_element_namespaceObject.createElement)(inserter, {
+    position: "bottom right",
+    rootClientId: rootClientId,
+    clientId: clientId,
+    __experimentalIsQuick: true
+  })));
 }

-function css(el, name, v) {
-  var value = v;
-  if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {
-    for (var i in name) {
-      if (name.hasOwnProperty(i)) {
-        css(el, i, name[i]);
-      }
-    }
-    return undefined;
-  }
-  if (typeof value !== 'undefined') {
-    if (typeof value === 'number') {
-      value += 'px';
-    }
-    el.style[name] = value;
-    return undefined;
+function wrapperSelector(select) {
+  const {
+    getSelectedBlockClientId,
+    getFirstMultiSelectedBlockClientId,
+    getBlockRootClientId,
+    getBlock,
+    getBlockParents,
+    __experimentalGetBlockListSettingsForBlocks
+  } = select(store);
+  const clientId = getSelectedBlockClientId() || getFirstMultiSelectedBlockClientId();
+
+  if (!clientId) {
+    return;
   }
-  return getComputedStyleX(el, name);
-}

-each(['width', 'height'], function (name) {
-  var first = name.charAt(0).toUpperCase() + name.slice(1);
-  domUtils['outer' + first] = function (el, includeMargin) {
-    return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);
-  };
-  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
+  const {
+    name,
+    attributes = {},
+    isValid
+  } = getBlock(clientId) || {};
+  const blockParentsClientIds = getBlockParents(clientId); // Get Block List Settings for all ancestors of the current Block clientId

-  domUtils[name] = function (elem, val) {
-    if (val !== undefined) {
-      if (elem) {
-        var computedStyle = getComputedStyleX(elem);
-        var isBorderBox = isBorderBoxFn(elem);
-        if (isBorderBox) {
-          val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);
-        }
-        return css(elem, name, val);
-      }
-      return undefined;
-    }
-    return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);
+  const parentBlockListSettings = __experimentalGetBlockListSettingsForBlocks(blockParentsClientIds); // Get the clientId of the topmost parent with the capture toolbars setting.
+
+
+  const capturingClientId = (0,external_lodash_namespaceObject.find)(blockParentsClientIds, parentClientId => {
+    var _parentBlockListSetti;
+
+    return (_parentBlockListSetti = parentBlockListSettings[parentClientId]) === null || _parentBlockListSetti === void 0 ? void 0 : _parentBlockListSetti.__experimentalCaptureToolbars;
+  });
+  return {
+    clientId,
+    rootClientId: getBlockRootClientId(clientId),
+    name,
+    isValid,
+    isEmptyDefaultBlock: name && (0,external_wp_blocks_namespaceObject.isUnmodifiedDefaultBlock)({
+      name,
+      attributes
+    }),
+    capturingClientId
   };
-});
+}

-// 设置 elem 相对 elem.ownerDocument 的坐标
-function setOffset(elem, offset) {
-  // set position first, in-case top/left are set even on static elem
-  if (css(elem, 'position') === 'static') {
-    elem.style.position = 'relative';
+function WrappedBlockPopover(_ref2) {
+  let {
+    __unstablePopoverSlot,
+    __unstableContentRef
+  } = _ref2;
+  const selected = (0,external_wp_data_namespaceObject.useSelect)(wrapperSelector, []);
+
+  if (!selected) {
+    return null;
   }

-  var old = getOffset(elem);
-  var ret = {};
-  var current = undefined;
-  var key = undefined;
+  const {
+    clientId,
+    rootClientId,
+    name,
+    isValid,
+    isEmptyDefaultBlock,
+    capturingClientId
+  } = selected;

-  for (key in offset) {
-    if (offset.hasOwnProperty(key)) {
-      current = parseFloat(css(elem, key)) || 0;
-      ret[key] = current + offset[key] - old[key];
-    }
+  if (!name) {
+    return null;
   }
-  css(elem, ret);
-}
-
-module.exports = _extends({
-  getWindow: function getWindow(node) {
-    var doc = node.ownerDocument || node;
-    return doc.defaultView || doc.parentWindow;
-  },
-  offset: function offset(el, value) {
-    if (typeof value !== 'undefined') {
-      setOffset(el, value);
-    } else {
-      return getOffset(el);
-    }
-  },

-  isWindow: isWindow,
-  each: each,
-  css: css,
-  clone: function clone(obj) {
-    var ret = {};
-    for (var i in obj) {
-      if (obj.hasOwnProperty(i)) {
-        ret[i] = obj[i];
-      }
-    }
-    var overflow = obj.overflow;
-    if (overflow) {
-      for (var i in obj) {
-        if (obj.hasOwnProperty(i)) {
-          ret.overflow[i] = obj.overflow[i];
-        }
-      }
-    }
-    return ret;
-  },
-  scrollLeft: function scrollLeft(w, v) {
-    if (isWindow(w)) {
-      if (v === undefined) {
-        return getScrollLeft(w);
-      }
-      window.scrollTo(v, getScrollTop(w));
-    } else {
-      if (v === undefined) {
-        return w.scrollLeft;
-      }
-      w.scrollLeft = v;
-    }
-  },
-  scrollTop: function scrollTop(w, v) {
-    if (isWindow(w)) {
-      if (v === undefined) {
-        return getScrollTop(w);
-      }
-      window.scrollTo(getScrollLeft(w), v);
-    } else {
-      if (v === undefined) {
-        return w.scrollTop;
-      }
-      w.scrollTop = v;
-    }
-  },
+  return (0,external_wp_element_namespaceObject.createElement)(BlockPopover, {
+    clientId: clientId,
+    rootClientId: rootClientId,
+    isValid: isValid,
+    isEmptyDefaultBlock: isEmptyDefaultBlock,
+    capturingClientId: capturingClientId,
+    __unstablePopoverSlot: __unstablePopoverSlot,
+    __unstableContentRef: __unstableContentRef
+  });
+}

-  viewportWidth: 0,
-  viewportHeight: 0
-}, domUtils);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/back-compat.js

-/***/ }),

-/***/ "jBNB":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */
+

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ BlockListBlockContext; });
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+function BlockToolsBackCompat(_ref) {
+  let {
+    children
+  } = _ref;
+  const openRef = (0,external_wp_element_namespaceObject.useContext)(InsertionPointOpenRef);
+  const isDisabled = (0,external_wp_element_namespaceObject.useContext)(external_wp_components_namespaceObject.Disabled.Context); // If context is set, `BlockTools` is a parent component.
+
+  if (openRef || isDisabled) {
+    return children;
+  }

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+  external_wp_deprecated_default()('wp.components.Popover.Slot name="block-toolbar"', {
+    alternative: 'wp.blockEditor.BlockTools'
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(InsertionPoint, {
+    __unstablePopoverSlot: "block-toolbar"
+  }, (0,external_wp_element_namespaceObject.createElement)(WrappedBlockPopover, {
+    __unstablePopoverSlot: "block-toolbar"
+  }), children);
+}

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/with-client-id.js

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");

-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js + 1 modules
-var block_edit = __webpack_require__("JRTi");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/warning/index.js + 1 modules
-var warning = __webpack_require__("Zzu2");
+const withClientId = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => props => {
+  const {
+    clientId
+  } = useBlockEditContext();
+  return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, props, {
+    clientId: clientId
+  }));
+}, 'withClientId');
+/* harmony default export */ var with_client_id = (withClientId);

-// EXTERNAL MODULE: ./node_modules/diff/lib/diff/character.js
-var character = __webpack_require__("iA5R");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/button-block-appender.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js

+/**
+ * External dependencies
+ */

 /**
- * WordPress dependencies
+ * Internal dependencies
  */



-function BlockView(_ref) {
+const button_block_appender_ButtonBlockAppender = _ref => {
   let {
-    title,
-    rawContent,
-    renderedContent,
-    action,
-    actionText,
-    className
+    clientId,
+    showSeparator,
+    isFloating,
+    onAddBlock,
+    isToggle
   } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: className
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-compare__content"
-  }, Object(external_wp_element_["createElement"])("h2", {
-    className: "block-editor-block-compare__heading"
-  }, title), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-compare__html"
-  }, rawContent), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-compare__preview edit-post-visual-editor"
-  }, Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, Object(external_wp_dom_["safeHTML"])(renderedContent)))), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-compare__action"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    tabIndex: "0",
-    onClick: action
-  }, actionText)));
-}
+  return (0,external_wp_element_namespaceObject.createElement)(button_block_appender, {
+    className: classnames_default()({
+      'block-list-appender__toggle': isToggle
+    }),
+    rootClientId: clientId,
+    showSeparator: showSeparator,
+    isFloating: isFloating,
+    onAddBlock: onAddBlock
+  });
+};
+/* harmony default export */ var inner_blocks_button_block_appender = (with_client_id(button_block_appender_ButtonBlockAppender));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-compare/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/default-block-appender.js


 /**
  * External dependencies
  */

- // diff doesn't tree-shake correctly, so we import from the individual
-// module here, to avoid including too much of the library
-
-
 /**
  * WordPress dependencies
  */
@@ -33323,65 +28072,125 @@ function BlockView(_ref) {



-function BlockCompare(_ref) {
+
+const default_block_appender_DefaultBlockAppender = _ref => {
   let {
-    block,
-    onKeep,
-    onConvert,
-    convertor,
-    convertButtonText
+    clientId,
+    lastBlockClientId
   } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(default_block_appender, {
+    rootClientId: clientId,
+    lastBlockClientId: lastBlockClientId
+  });
+};
+/* harmony default export */ var inner_blocks_default_block_appender = ((0,external_wp_compose_namespaceObject.compose)([with_client_id, (0,external_wp_data_namespaceObject.withSelect)((select, _ref2) => {
+  let {
+    clientId
+  } = _ref2;
+  const {
+    getBlockOrder
+  } = select(store);
+  const blockClientIds = getBlockOrder(clientId);
+  return {
+    lastBlockClientId: (0,external_lodash_namespaceObject.last)(blockClientIds)
+  };
+})])(default_block_appender_DefaultBlockAppender));

-  function getDifference(originalContent, newContent) {
-    const difference = Object(character["diffChars"])(originalContent, newContent);
-    return difference.map((item, pos) => {
-      const classes = classnames_default()({
-        'block-editor-block-compare__added': item.added,
-        'block-editor-block-compare__removed': item.removed
-      });
-      return Object(external_wp_element_["createElement"])("span", {
-        key: pos,
-        className: classes
-      }, item.value);
-    });
-  }
+;// CONCATENATED MODULE: external ["wp","isShallowEqual"]
+var external_wp_isShallowEqual_namespaceObject = window["wp"]["isShallowEqual"];
+var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-nested-settings-update.js
+/**
+ * WordPress dependencies
+ */

-  function getConvertedContent(convertedBlock) {
-    // The convertor may return an array of items or a single item
-    const newBlocks = Object(external_lodash_["castArray"])(convertedBlock); // Get converted block details

-    const newContent = newBlocks.map(item => Object(external_wp_blocks_["getSaveContent"])(item.name, item.attributes, item.innerBlocks));
-    return newContent.join('');
-  }

-  const converted = getConvertedContent(convertor(block));
-  const difference = getDifference(block.originalContent, converted);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-compare__wrapper"
-  }, Object(external_wp_element_["createElement"])(BlockView, {
-    title: Object(external_wp_i18n_["__"])('Current'),
-    className: "block-editor-block-compare__current",
-    action: onKeep,
-    actionText: Object(external_wp_i18n_["__"])('Convert to HTML'),
-    rawContent: block.originalContent,
-    renderedContent: block.originalContent
-  }), Object(external_wp_element_["createElement"])(BlockView, {
-    title: Object(external_wp_i18n_["__"])('After Conversion'),
-    className: "block-editor-block-compare__converted",
-    action: onConvert,
-    actionText: convertButtonText,
-    rawContent: difference,
-    renderedContent: converted
-  }));
-}
+/**
+ * Internal dependencies
+ */

-/* harmony default export */ var block_compare = (BlockCompare);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-invalid-warning.js
+/**
+ * This hook is a side effect which updates the block-editor store when changes
+ * happen to inner block settings. The given props are transformed into a
+ * settings object, and if that is different from the current settings object in
+ * the block-editor store, then the store is updated with the new settings which
+ * came from props.
+ *
+ * @param {string}            clientId                   The client ID of the block to update.
+ * @param {string[]}          allowedBlocks              An array of block names which are permitted
+ *                                                       in inner blocks.
+ * @param {?Array}            __experimentalDefaultBlock The default block to insert: [ blockName, { blockAttributes } ].
+ * @param {?Function|boolean} __experimentalDirectInsert If a default block should be inserted directly by the
+ *                                                       appender.
+ * @param {string}            [templateLock]             The template lock specified for the inner
+ *                                                       blocks component. (e.g. "all")
+ * @param {boolean}           captureToolbars            Whether or children toolbars should be shown
+ *                                                       in the inner blocks component rather than on
+ *                                                       the child block.
+ * @param {string}            orientation                The direction in which the block
+ *                                                       should face.
+ * @param {Object}            layout                     The layout object for the block container.
+ */
+
+function useNestedSettingsUpdate(clientId, allowedBlocks, __experimentalDefaultBlock, __experimentalDirectInsert, templateLock, captureToolbars, orientation, layout) {
+  const {
+    updateBlockListSettings
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    blockListSettings,
+    parentLock
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const rootClientId = select(store).getBlockRootClientId(clientId);
+    return {
+      blockListSettings: select(store).getBlockListSettings(clientId),
+      parentLock: select(store).getTemplateLock(rootClientId)
+    };
+  }, [clientId]); // Memoize as inner blocks implementors often pass a new array on every
+  // render.
+
+  const _allowedBlocks = (0,external_wp_element_namespaceObject.useMemo)(() => allowedBlocks, allowedBlocks);
+
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    const newSettings = {
+      allowedBlocks: _allowedBlocks,
+      templateLock: templateLock === undefined ? parentLock : templateLock
+    }; // These values are not defined for RN, so only include them if they
+    // are defined.
+
+    if (captureToolbars !== undefined) {
+      newSettings.__experimentalCaptureToolbars = captureToolbars;
+    } // Orientation depends on layout,
+    // ideally the separate orientation prop should be deprecated.
+
+
+    if (orientation !== undefined) {
+      newSettings.orientation = orientation;
+    } else {
+      const layoutType = getLayoutType(layout === null || layout === void 0 ? void 0 : layout.type);
+      newSettings.orientation = layoutType.getOrientation(layout);
+    }
+
+    if (__experimentalDefaultBlock !== undefined) {
+      newSettings.__experimentalDefaultBlock = __experimentalDefaultBlock;
+    }
+
+    if (__experimentalDirectInsert !== undefined) {
+      newSettings.__experimentalDirectInsert = __experimentalDirectInsert;
+    }
+
+    if (!external_wp_isShallowEqual_default()(blockListSettings, newSettings)) {
+      updateBlockListSettings(clientId, newSettings);
+    }
+  }, [clientId, blockListSettings, _allowedBlocks, __experimentalDefaultBlock, __experimentalDirectInsert, templateLock, parentLock, captureToolbars, orientation, updateBlockListSettings, layout]);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-inner-block-template-sync.js
+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -33390,6 +28199,106 @@ var store = __webpack_require__("BhPs");



+/**
+ * Internal dependencies
+ */
+
+
+/**
+ * This hook makes sure that a block's inner blocks stay in sync with the given
+ * block "template". The template is a block hierarchy to which inner blocks must
+ * conform. If the blocks get "out of sync" with the template and the template
+ * is meant to be locked (e.g. templateLock = "all"), then we replace the inner
+ * blocks with the correct value after synchronizing it with the template.
+ *
+ * @param {string}  clientId                       The block client ID.
+ * @param {Object}  template                       The template to match.
+ * @param {string}  templateLock                   The template lock state for the inner blocks. For
+ *                                                 example, if the template lock is set to "all",
+ *                                                 then the inner blocks will stay in sync with the
+ *                                                 template. If not defined or set to false, then
+ *                                                 the inner blocks will not be synchronized with
+ *                                                 the given template.
+ * @param {boolean} templateInsertUpdatesSelection Whether or not to update the
+ *                                                 block-editor selection state when inner blocks
+ *                                                 are replaced after template synchronization.
+ */
+
+function useInnerBlockTemplateSync(clientId, template, templateLock, templateInsertUpdatesSelection) {
+  const {
+    getSelectedBlocksInitialCaretPosition
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    replaceInnerBlocks
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const innerBlocks = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getBlocks(clientId), [clientId]); // Maintain a reference to the previous value so we can do a deep equality check.
+
+  const existingTemplate = (0,external_wp_element_namespaceObject.useRef)(null);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    // Only synchronize innerBlocks with template if innerBlocks are empty or
+    // a locking all exists directly on the block.
+    if (innerBlocks.length === 0 || templateLock === 'all') {
+      const hasTemplateChanged = !(0,external_lodash_namespaceObject.isEqual)(template, existingTemplate.current);
+
+      if (hasTemplateChanged) {
+        existingTemplate.current = template;
+        const nextBlocks = (0,external_wp_blocks_namespaceObject.synchronizeBlocksWithTemplate)(innerBlocks, template);
+
+        if (!(0,external_lodash_namespaceObject.isEqual)(nextBlocks, innerBlocks)) {
+          replaceInnerBlocks(clientId, nextBlocks, innerBlocks.length === 0 && templateInsertUpdatesSelection && nextBlocks.length !== 0, // This ensures the "initialPosition" doesn't change when applying the template
+          // If we're supposed to focus the block, we'll focus the first inner block
+          // otherwise, we won't apply any auto-focus.
+          // This ensures for instance that the focus stays in the inserter when inserting the "buttons" block.
+          getSelectedBlocksInitialCaretPosition());
+        }
+      }
+    }
+  }, [innerBlocks, template, templateLock, clientId]);
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/get-block-context.js
+/**
+ * External dependencies
+ */
+
+/**
+ * Block context cache, implemented as a WeakMap mapping block types to a
+ * WeakMap mapping attributes object to context value.
+ *
+ * @type {WeakMap<string,WeakMap<string,*>>}
+ */
+
+const BLOCK_CONTEXT_CACHE = new WeakMap();
+/**
+ * Returns a cached context object value for a given set of attributes for the
+ * block type.
+ *
+ * @param {Record<string,*>} attributes Block attributes object.
+ * @param {WPBlockType}      blockType  Block type settings.
+ *
+ * @return {Record<string,*>} Context value.
+ */
+
+function getBlockContext(attributes, blockType) {
+  if (!BLOCK_CONTEXT_CACHE.has(blockType)) {
+    BLOCK_CONTEXT_CACHE.set(blockType, new WeakMap());
+  }
+
+  const blockTypeCache = BLOCK_CONTEXT_CACHE.get(blockType);
+
+  if (!blockTypeCache.has(attributes)) {
+    const context = (0,external_lodash_namespaceObject.mapValues)(blockType.providesContext, attributeName => attributes[attributeName]);
+    blockTypeCache.set(attributes, context);
+  }
+
+  return blockTypeCache.get(attributes);
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-on-block-drop/index.js
+/**
+ * WordPress dependencies
+ */
+


 /**
@@ -33397,239 +28306,407 @@ var store = __webpack_require__("BhPs");
  */


+/** @typedef {import('@wordpress/element').WPSyntheticEvent} WPSyntheticEvent */

+/**
+ * Retrieve the data for a block drop event.
+ *
+ * @param {WPSyntheticEvent} event The drop event.
+ *
+ * @return {Object} An object with block drag and drop data.
+ */

-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), []);
-  const onCompareClose = Object(external_wp_element_["useCallback"])(() => setCompare(false), []); // We memo the array here to prevent the children components from being updated unexpectedly
+function parseDropEvent(event) {
+  let result = {
+    srcRootClientId: null,
+    srcClientIds: null,
+    srcIndex: null,
+    type: null,
+    blocks: null
+  };

-  const hiddenActions = Object(external_wp_element_["useMemo"])(() => [{
-    // translators: Button to fix block content
-    title: Object(external_wp_i18n_["_x"])('Resolve', 'imperative verb'),
-    onClick: onCompare
-  }, hasHTMLBlock && {
-    title: Object(external_wp_i18n_["__"])('Convert to HTML'),
-    onClick: convertToHTML
-  }, {
-    title: Object(external_wp_i18n_["__"])('Convert to Classic Block'),
-    onClick: convertToClassic
-  }].filter(Boolean), [onCompare, convertToHTML, convertToClassic]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(warning["a" /* default */], {
-    actions: [Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      key: "recover",
-      onClick: attemptBlockRecovery,
-      variant: "primary"
-    }, Object(external_wp_i18n_["__"])('Attempt Block Recovery'))],
-    secondaryActions: hiddenActions
-  }, Object(external_wp_i18n_["__"])('This block contains unexpected or invalid content.')), compare && Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    title: // translators: Dialog title to fix block content
-    Object(external_wp_i18n_["__"])('Resolve Block'),
-    onRequestClose: onCompareClose,
-    className: "block-editor-block-compare"
-  }, Object(external_wp_element_["createElement"])(block_compare, {
-    block: block,
-    onKeep: convertToHTML,
-    onConvert: convertToBlocks,
-    convertor: blockToBlocks,
-    convertButtonText: Object(external_wp_i18n_["__"])('Convert to Blocks')
-  })));
+  if (!event.dataTransfer) {
+    return result;
+  }
+
+  try {
+    result = Object.assign(result, JSON.parse(event.dataTransfer.getData('wp-blocks')));
+  } catch (err) {
+    return result;
+  }
+
+  return result;
 }
+/**
+ * A function that returns an event handler function for block drop events.
+ *
+ * @param {string}   targetRootClientId        The root client id where the block(s) will be inserted.
+ * @param {number}   targetBlockIndex          The index where the block(s) will be inserted.
+ * @param {Function} getBlockIndex             A function that gets the index of a block.
+ * @param {Function} getClientIdsOfDescendants A function that gets the client ids of descendant blocks.
+ * @param {Function} moveBlocksToPosition      A function that moves blocks.
+ * @param {Function} insertBlocks              A function that inserts blocks.
+ * @param {Function} clearSelectedBlock        A function that clears block selection.
+ * @return {Function} The event handler for a block drop event.
+ */

-const blockToClassic = block => Object(external_wp_blocks_["createBlock"])('core/freeform', {
-  content: block.originalContent
-});
+function onBlockDrop(targetRootClientId, targetBlockIndex, getBlockIndex, getClientIdsOfDescendants, moveBlocksToPosition, insertBlocks, clearSelectedBlock) {
+  return event => {
+    const {
+      srcRootClientId: sourceRootClientId,
+      srcClientIds: sourceClientIds,
+      type: dropType,
+      blocks
+    } = parseDropEvent(event); // If the user is inserting a block

-const blockToHTML = block => Object(external_wp_blocks_["createBlock"])('core/html', {
-  content: block.originalContent
-});
+    if (dropType === 'inserter') {
+      clearSelectedBlock();
+      const blocksToInsert = blocks.map(block => (0,external_wp_blocks_namespaceObject.cloneBlock)(block));
+      insertBlocks(blocksToInsert, targetBlockIndex, targetRootClientId, true, null);
+    } // If the user is moving a block

-const blockToBlocks = block => Object(external_wp_blocks_["rawHandler"])({
-  HTML: block.originalContent
-});

-const recoverBlock = _ref2 => {
-  let {
-    name,
-    attributes,
-    innerBlocks
-  } = _ref2;
-  return Object(external_wp_blocks_["createBlock"])(name, attributes, innerBlocks);
-};
+    if (dropType === 'block') {
+      const sourceBlockIndex = getBlockIndex(sourceClientIds[0]); // If the user is dropping to the same position, return early.

-/* 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)
+      if (sourceRootClientId === targetRootClientId && sourceBlockIndex === targetBlockIndex) {
+        return;
+      } // If the user is attempting to drop a block within its own
+      // nested blocks, return early as this would create infinite
+      // recursion.
+
+
+      if (sourceClientIds.includes(targetRootClientId) || getClientIdsOfDescendants(sourceClientIds).some(id => id === targetRootClientId)) {
+        return;
+      }
+
+      const isAtSameLevel = sourceRootClientId === targetRootClientId;
+      const draggedBlockCount = sourceClientIds.length; // If the block is kept at the same level and moved downwards,
+      // subtract to take into account that the blocks being dragged
+      // were removed from the block list above the insertion point.
+
+      const insertIndex = isAtSameLevel && sourceBlockIndex < targetBlockIndex ? targetBlockIndex - draggedBlockCount : targetBlockIndex;
+      moveBlocksToPosition(sourceClientIds, sourceRootClientId, targetRootClientId, insertIndex);
+    }
   };
-}), Object(external_wp_data_["withDispatch"])((dispatch, _ref4) => {
-  let {
-    block
-  } = _ref4;
-  const {
-    replaceBlock
-  } = dispatch(store["a" /* store */]);
-  return {
-    convertToClassic() {
-      replaceBlock(block.clientId, blockToClassic(block));
-    },
+}
+/**
+ * A function that returns an event handler function for block-related file drop events.
+ *
+ * @param {string}   targetRootClientId    The root client id where the block(s) will be inserted.
+ * @param {number}   targetBlockIndex      The index where the block(s) will be inserted.
+ * @param {boolean}  hasUploadPermissions  Whether the user has upload permissions.
+ * @param {Function} updateBlockAttributes A function that updates a block's attributes.
+ * @param {Function} canInsertBlockType    A function that returns checks whether a block type can be inserted.
+ * @param {Function} insertBlocks          A function that inserts blocks.
+ *
+ * @return {Function} The event handler for a block-related file drop event.
+ */

-    convertToHTML() {
-      replaceBlock(block.clientId, blockToHTML(block));
-    },
+function onFilesDrop(targetRootClientId, targetBlockIndex, hasUploadPermissions, updateBlockAttributes, canInsertBlockType, insertBlocks) {
+  return files => {
+    if (!hasUploadPermissions) {
+      return;
+    }

-    convertToBlocks() {
-      replaceBlock(block.clientId, blockToBlocks(block));
-    },
+    const transformation = (0,external_wp_blocks_namespaceObject.findTransform)((0,external_wp_blocks_namespaceObject.getBlockTransforms)('from'), transform => transform.type === 'files' && canInsertBlockType(transform.blockName, targetRootClientId) && transform.isMatch(files));

-    attemptBlockRecovery() {
-      replaceBlock(block.clientId, recoverBlock(block));
+    if (transformation) {
+      const blocks = transformation.transform(files, updateBlockAttributes);
+      insertBlocks(blocks, targetBlockIndex, targetRootClientId);
+    }
+  };
+}
+/**
+ * A function that returns an event handler function for block-related HTML drop events.
+ *
+ * @param {string}   targetRootClientId The root client id where the block(s) will be inserted.
+ * @param {number}   targetBlockIndex   The index where the block(s) will be inserted.
+ * @param {Function} insertBlocks       A function that inserts blocks.
+ *
+ * @return {Function} The event handler for a block-related HTML drop event.
+ */
+
+function onHTMLDrop(targetRootClientId, targetBlockIndex, insertBlocks) {
+  return HTML => {
+    const blocks = (0,external_wp_blocks_namespaceObject.pasteHandler)({
+      HTML,
+      mode: 'BLOCKS'
+    });
+
+    if (blocks.length) {
+      insertBlocks(blocks, targetBlockIndex, targetRootClientId);
     }
+  };
+}
+/**
+ * A React hook for handling block drop events.
+ *
+ * @param {string} targetRootClientId The root client id where the block(s) will be inserted.
+ * @param {number} targetBlockIndex   The index where the block(s) will be inserted.
+ *
+ * @return {Object} An object that contains the event handlers `onDrop`, `onFilesDrop` and `onHTMLDrop`.
+ */
+
+function useOnBlockDrop(targetRootClientId, targetBlockIndex) {
+  const hasUploadPermissions = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getSettings().mediaUpload, []);
+  const {
+    canInsertBlockType,
+    getBlockIndex,
+    getClientIdsOfDescendants
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    insertBlocks,
+    moveBlocksToPosition,
+    updateBlockAttributes,
+    clearSelectedBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+
+  const _onDrop = onBlockDrop(targetRootClientId, targetBlockIndex, getBlockIndex, getClientIdsOfDescendants, moveBlocksToPosition, insertBlocks, clearSelectedBlock);
+
+  const _onFilesDrop = onFilesDrop(targetRootClientId, targetBlockIndex, hasUploadPermissions, updateBlockAttributes, canInsertBlockType, insertBlocks);
+
+  const _onHTMLDrop = onHTMLDrop(targetRootClientId, targetBlockIndex, insertBlocks);
+
+  return event => {
+    const files = (0,external_wp_dom_namespaceObject.getFilesFromDataTransfer)(event.dataTransfer);
+    const html = event.dataTransfer.getData('text/html');

+    if (files.length) {
+      _onFilesDrop(files);
+    } else if (html) {
+      _onHTMLDrop(html);
+    } else {
+      _onDrop(event);
+    }
   };
-})])(BlockInvalidWarning));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-warning.js
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/math.js
+/**
+ * A string representing the name of an edge.
+ *
+ * @typedef {'top'|'right'|'bottom'|'left'} WPEdgeName
+ */

 /**
- * WordPress dependencies
+ * @typedef  {Object} WPPoint
+ * @property {number} x The horizontal position.
+ * @property {number} y The vertical position.
  */

 /**
- * Internal dependencies
+ * Given a point, a DOMRect and the name of an edge, returns the distance to
+ * that edge of the rect.
+ *
+ * This function works for edges that are horizontal or vertical (e.g. not
+ * rotated), the following terms are used so that the function works in both
+ * orientations:
+ *
+ * - Forward, meaning the axis running horizontally when an edge is vertical
+ *   and vertically when an edge is horizontal.
+ * - Lateral, meaning the axis running vertically when an edge is vertical
+ *   and horizontally when an edge is horizontal.
+ *
+ * @param {WPPoint}    point The point to measure distance from.
+ * @param {DOMRect}    rect  A DOM Rect containing edge positions.
+ * @param {WPEdgeName} edge  The edge to measure to.
  */
+function getDistanceFromPointToEdge(point, rect, edge) {
+  const isHorizontal = edge === 'top' || edge === 'bottom';
+  const {
+    x,
+    y
+  } = point;
+  const pointLateralPosition = isHorizontal ? x : y;
+  const pointForwardPosition = isHorizontal ? y : x;
+  const edgeStart = isHorizontal ? rect.left : rect.top;
+  const edgeEnd = isHorizontal ? rect.right : rect.bottom;
+  const edgeForwardPosition = rect[edge]; // Measure the straight line distance to the edge of the rect, when the
+  // point is adjacent to the edge.
+  // Else, if the point is positioned diagonally to the edge of the rect,
+  // measure diagonally to the nearest corner that the edge meets.

+  let edgeLateralPosition;

-const block_crash_warning_warning = Object(external_wp_element_["createElement"])(warning["a" /* default */], {
-  className: "block-editor-block-list__block-crash-warning"
-}, Object(external_wp_i18n_["__"])('This block has encountered an error and cannot be previewed.'));
-/* harmony default export */ var block_crash_warning = (() => block_crash_warning_warning);
+  if (pointLateralPosition >= edgeStart && pointLateralPosition <= edgeEnd) {
+    edgeLateralPosition = pointLateralPosition;
+  } else if (pointLateralPosition < edgeEnd) {
+    edgeLateralPosition = edgeStart;
+  } else {
+    edgeLateralPosition = edgeEnd;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-boundary.js
+  return Math.sqrt((pointLateralPosition - edgeLateralPosition) ** 2 + (pointForwardPosition - edgeForwardPosition) ** 2);
+}
 /**
- * WordPress dependencies
+ * Given a point, a DOMRect and a list of allowed edges returns the name of and
+ * distance to the nearest edge.
+ *
+ * @param {WPPoint}      point        The point to measure distance from.
+ * @param {DOMRect}      rect         A DOM Rect containing edge positions.
+ * @param {WPEdgeName[]} allowedEdges A list of the edges included in the
+ *                                    calculation. Defaults to all edges.
+ *
+ * @return {[number, string]} An array where the first value is the distance
+ *                              and a second is the edge name.
  */

+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 => {
+    const distance = getDistanceFromPointToEdge(point, rect, edge);

-class block_crash_boundary_BlockCrashBoundary extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.state = {
-      hasError: false
-    };
-  }
+    if (candidateDistance === undefined || distance < candidateDistance) {
+      candidateDistance = distance;
+      candidateEdge = edge;
+    }
+  });
+  return [candidateDistance, candidateEdge];
+}

-  componentDidCatch() {
-    this.setState({
-      hasError: true
-    });
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-block-drop-zone/index.js
+/**
+ * WordPress dependencies
+ */

-  render() {
-    if (this.state.hasError) {
-      return this.props.fallback;
-    }

-    return this.props.children;
-  }

-}

-/* harmony default export */ var block_crash_boundary = (block_crash_boundary_BlockCrashBoundary);
+/**
+ * Internal dependencies
+ */
+

-// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js
-var lib = __webpack_require__("O6Fj");
-var lib_default = /*#__PURE__*/__webpack_require__.n(lib);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js

+/** @typedef {import('../../utils/math').WPPoint} WPPoint */

 /**
- * External dependencies
+ * The orientation of a block list.
+ *
+ * @typedef {'horizontal'|'vertical'|undefined} WPBlockListOrientation
  */

 /**
- * WordPress dependencies
+ * Given a list of block DOM elements finds the index that a block should be dropped
+ * at.
+ *
+ * @param {Element[]}              elements    Array of DOM elements that represent each block in a block list.
+ * @param {WPPoint}                position    The position of the item being dragged.
+ * @param {WPBlockListOrientation} orientation The orientation of a block list.
+ *
+ * @return {number|undefined} The block index that's closest to the drag position.
  */

+function getNearestBlockIndex(elements, position, orientation) {
+  const allowedEdges = orientation === 'horizontal' ? ['left', 'right'] : ['top', 'bottom'];
+  const isRightToLeft = (0,external_wp_i18n_namespaceObject.isRTL)();
+  let candidateIndex;
+  let candidateDistance;
+  elements.forEach((element, index) => {
+    const rect = element.getBoundingClientRect();
+    const [distance, edge] = getDistanceToNearestEdge(position, rect, allowedEdges);

+    if (candidateDistance === undefined || distance < candidateDistance) {
+      // If the user is dropping to the trailing edge of the block
+      // add 1 to the index to represent dragging after.
+      // Take RTL languages into account where the left edge is
+      // the trailing edge.
+      const isTrailingEdge = edge === 'bottom' || !isRightToLeft && edge === 'right' || isRightToLeft && edge === 'left';
+      const offset = isTrailingEdge ? 1 : 0; // Update the currently known best candidate.

-
+      candidateDistance = distance;
+      candidateIndex = index + offset;
+    }
+  });
+  return candidateIndex;
+}
 /**
- * Internal dependencies
+ * @typedef  {Object} WPBlockDropZoneConfig
+ * @property {string} rootClientId The root client id for the block list.
  */

+/**
+ * A React hook that can be used to make a block list handle drag and drop.
+ *
+ * @param {WPBlockDropZoneConfig} dropZoneConfig configuration data for the drop zone.
+ */

-
-function BlockHTML(_ref) {
+function useBlockDropZone() {
   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]);
+    // 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] = (0,external_wp_element_namespaceObject.useState)(null);
+  const isLockedAll = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getTemplateLock
+    } = select(store);
+    return getTemplateLock(targetRootClientId) === 'all';
+  }, [targetRootClientId]);
   const {
-    updateBlock
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+    getBlockListSettings
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    showInsertionPoint,
+    hideInsertionPoint
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const onBlockDrop = useOnBlockDrop(targetRootClientId, targetBlockIndex);
+  const throttled = (0,external_wp_compose_namespaceObject.useThrottle)((0,external_wp_element_namespaceObject.useCallback)((event, currentTarget) => {
+    var _getBlockListSettings;

-  const onChange = () => {
-    const blockType = Object(external_wp_blocks_["getBlockType"])(block.name);
+    const blockElements = Array.from(currentTarget.children).filter( // Ensure the element is a block. It should have the `wp-block` class.
+    element => element.classList.contains('wp-block'));
+    const targetIndex = getNearestBlockIndex(blockElements, {
+      x: event.clientX,
+      y: event.clientY
+    }, (_getBlockListSettings = getBlockListSettings(targetRootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation);
+    setTargetBlockIndex(targetIndex === undefined ? 0 : targetIndex);

-    if (!blockType) {
-      return;
+    if (targetIndex !== null) {
+      showInsertionPoint(targetRootClientId, targetIndex);
     }
+  }, []), 200);
+  return (0,external_wp_compose_namespaceObject.__experimentalUseDropZone)({
+    isDisabled: isLockedAll,
+    onDrop: onBlockDrop,

-    const attributes = Object(external_wp_blocks_["getBlockAttributes"])(blockType, html, block.attributes); // If html is empty  we reset the block to the default HTML and mark it as valid to avoid triggering an error
+    onDragOver(event) {
+      // `currentTarget` is only available while the event is being
+      // handled, so get it now and pass it to the thottled function.
+      // https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget
+      throttled(event, event.currentTarget);
+    },

-    const content = html ? html : Object(external_wp_blocks_["getSaveContent"])(blockType, attributes);
-    const isValid = html ? Object(external_wp_blocks_["isValidBlockContent"])(blockType, attributes, content) : true;
-    updateBlock(clientId, {
-      attributes,
-      originalContent: content,
-      isValid
-    }); // Ensure the state is updated if we reset so it displays the default content
+    onDragLeave() {
+      throttled.cancel();
+      hideInsertionPoint();
+      setTargetBlockIndex(null);
+    },

-    if (!html) {
-      setHtml({
-        content
-      });
+    onDragEnd() {
+      throttled.cancel();
+      hideInsertionPoint();
+      setTargetBlockIndex(null);
     }
-  };

-  Object(external_wp_element_["useEffect"])(() => {
-    setHtml(Object(external_wp_blocks_["getBlockContent"])(block));
-  }, [block]);
-  return Object(external_wp_element_["createElement"])(lib_default.a, {
-    className: "block-editor-block-list__block-html-textarea",
-    value: html,
-    onBlur: onChange,
-    onChange: event => setHtml(event.target.value)
   });
 }

-/* harmony default export */ var block_html = (BlockHTML);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/index.js
-var use_block_props = __webpack_require__("nlh6");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/block.js


 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */
@@ -33638,8 +28715,6 @@ var use_block_props = __webpack_require__("nlh6");



-
-
 /**
  * Internal dependencies
  */
@@ -33651,4918 +28726,4610 @@ var use_block_props = __webpack_require__("nlh6");



-const BlockListBlockContext = Object(external_wp_element_["createContext"])();
+
+
+
+
 /**
- * Merges wrapper props with special handling for classNames and styles.
- *
- * @param {Object} propsA
- * @param {Object} propsB
+ * InnerBlocks is a component which allows a single block to have multiple blocks
+ * as children. The UncontrolledInnerBlocks component is used whenever the inner
+ * blocks are not controlled by another entity. In other words, it is normally
+ * used for inner blocks in the post editor
  *
- * @return {Object} Merged props.
+ * @param {Object} props The component props.
  */

-function mergeWrapperProps(propsA, propsB) {
-  const newProps = { ...propsA,
-    ...propsB
-  };
-
-  if (propsA && propsB && propsA.className && propsB.className) {
-    newProps.className = classnames_default()(propsA.className, propsB.className);
-  }
+function UncontrolledInnerBlocks(props) {
+  const {
+    clientId,
+    allowedBlocks,
+    __experimentalDefaultBlock,
+    __experimentalDirectInsert,
+    template,
+    templateLock,
+    wrapperRef,
+    templateInsertUpdatesSelection,
+    __experimentalCaptureToolbars: captureToolbars,
+    __experimentalAppenderTagName,
+    renderAppender,
+    orientation,
+    placeholder,
+    __experimentalLayout
+  } = props;
+  useNestedSettingsUpdate(clientId, allowedBlocks, __experimentalDefaultBlock, __experimentalDirectInsert, templateLock, captureToolbars, orientation, __experimentalLayout);
+  useInnerBlockTemplateSync(clientId, template, templateLock, templateInsertUpdatesSelection);
+  const context = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const block = select(store).getBlock(clientId);
+    const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(block.name);

-  if (propsA && propsB && propsA.style && propsB.style) {
-    newProps.style = { ...propsA.style,
-      ...propsB.style
-    };
-  }
+    if (!blockType || !blockType.providesContext) {
+      return;
+    }

-  return newProps;
-}
+    return getBlockContext(block.attributes, blockType);
+  }, [clientId]); // This component needs to always be synchronous as it's the one changing
+  // the async mode depending on the block selection.

-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);
+  return (0,external_wp_element_namespaceObject.createElement)(BlockContextProvider, {
+    value: context
+  }, (0,external_wp_element_namespaceObject.createElement)(BlockListItems, {
+    rootClientId: clientId,
+    renderAppender: renderAppender,
+    __experimentalAppenderTagName: __experimentalAppenderTagName,
+    __experimentalLayout: __experimentalLayout,
+    wrapperRef: wrapperRef,
+    placeholder: placeholder
+  }));
 }
+/**
+ * The controlled inner blocks component wraps the uncontrolled inner blocks
+ * component with the blockSync hook. This keeps the innerBlocks of the block in
+ * the block-editor store in sync with the blocks of the controlling entity. An
+ * example of an inner block controller is a template part block, which provides
+ * its own blocks from the template part entity data source.
+ *
+ * @param {Object} props The component props.
+ */

-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 */]);
-  const onRemove = Object(external_wp_element_["useCallback"])(() => removeBlock(clientId), [clientId]); // We wrap the BlockEdit component in a div that hides it when editing in
-  // HTML mode. This allows us to render all of the ancillary pieces
-  // (InspectorControls, etc.) which are inside `BlockEdit` but not
-  // `BlockHTML`, even in HTML mode.
-
-  let blockEdit = Object(external_wp_element_["createElement"])(block_edit["a" /* default */], {
-    name: name,
-    isSelected: isSelected,
-    attributes: attributes,
-    setAttributes: setAttributes,
-    insertBlocksAfter: isLocked ? undefined : onInsertBlocksAfter,
-    onReplace: canRemove ? onReplace : undefined,
-    onRemove: canRemove ? onRemove : undefined,
-    mergeBlocks: canRemove ? onMerge : undefined,
-    clientId: clientId,
-    isSelectionEnabled: isSelectionEnabled,
-    toggleSelection: toggleSelection
-  });
-  const blockType = Object(external_wp_blocks_["getBlockType"])(name); // Determine whether the block has props to apply to the wrapper.
-
-  if (blockType !== null && blockType !== void 0 && blockType.getEditWrapperProps) {
-    wrapperProps = mergeWrapperProps(wrapperProps, blockType.getEditWrapperProps(attributes));
-  }

-  const isAligned = wrapperProps && !!wrapperProps['data-align']; // For aligned blocks, provide a wrapper element so the block can be
-  // positioned relative to the block column.
+function ControlledInnerBlocks(props) {
+  useBlockSync(props);
+  return (0,external_wp_element_namespaceObject.createElement)(UncontrolledInnerBlocks, props);
+}

-  if (isAligned) {
-    blockEdit = Object(external_wp_element_["createElement"])("div", {
-      className: "wp-block",
-      "data-align": wrapperProps['data-align']
-    }, blockEdit);
-  }
+const ForwardedInnerBlocks = (0,external_wp_element_namespaceObject.forwardRef)((props, ref) => {
+  const innerBlocksProps = useInnerBlocksProps({
+    ref
+  }, props);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-inner-blocks"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps));
+});
+/**
+ * This hook is used to lightly mark an element as an inner blocks wrapper
+ * element. Call this hook and pass the returned props to the element to mark as
+ * an inner blocks wrapper, automatically rendering inner blocks as children. If
+ * you define a ref for the element, it is important to pass the ref to this
+ * hook, which the hook in turn will pass to the component through the props it
+ * returns. Optionally, you can also pass any other props through this hook, and
+ * they will be merged and returned.
+ *
+ * @param {Object} props   Optional. Props to pass to the element. Must contain
+ *                         the ref if one is defined.
+ * @param {Object} options Optional. Inner blocks options.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md
+ */

-  let block;
+function useInnerBlocksProps() {
+  let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  const {
+    clientId
+  } = useBlockEditContext();
+  const isSmallScreen = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
+  const {
+    __experimentalCaptureToolbars,
+    hasOverlay
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    if (!clientId) {
+      return {};
+    }

-  if (!isValid) {
-    const saveContent = Object(external_wp_blocks_["getSaveContent"])(blockType, attributes);
-    block = Object(external_wp_element_["createElement"])(Block, {
-      className: "has-warning"
-    }, Object(external_wp_element_["createElement"])(block_invalid_warning, {
-      clientId: clientId
-    }), Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, Object(external_wp_dom_["safeHTML"])(saveContent)));
-  } else if (mode === 'html') {
-    // Render blockEdit so the inspector controls don't disappear.
-    // See #8969.
-    block = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-      style: {
-        display: 'none'
-      }
-    }, blockEdit), Object(external_wp_element_["createElement"])(Block, {
-      isHtml: true
-    }, Object(external_wp_element_["createElement"])(block_html, {
+    const {
+      getBlockName,
+      isBlockSelected,
+      hasSelectedInnerBlock,
+      isNavigationMode
+    } = select(store);
+    const blockName = getBlockName(clientId);
+    const enableClickThrough = isNavigationMode() || isSmallScreen;
+    return {
+      __experimentalCaptureToolbars: select(external_wp_blocks_namespaceObject.store).hasBlockSupport(blockName, '__experimentalExposeControlsToChildren', false),
+      hasOverlay: blockName !== 'core/template' && !isBlockSelected(clientId) && !hasSelectedInnerBlock(clientId, true) && enableClickThrough
+    };
+  }, [clientId, isSmallScreen]);
+  const ref = (0,external_wp_compose_namespaceObject.useMergeRefs)([props.ref, useBlockDropZone({
+    rootClientId: clientId
+  })]);
+  const innerBlocksProps = {
+    __experimentalCaptureToolbars,
+    ...options
+  };
+  const InnerBlocks = innerBlocksProps.value && innerBlocksProps.onChange ? ControlledInnerBlocks : UncontrolledInnerBlocks;
+  return { ...props,
+    ref,
+    className: classnames_default()(props.className, 'block-editor-block-list__layout', {
+      'has-overlay': hasOverlay
+    }),
+    children: clientId ? (0,external_wp_element_namespaceObject.createElement)(InnerBlocks, _extends({}, innerBlocksProps, {
       clientId: clientId
-    })));
-  } else if ((blockType === null || blockType === void 0 ? void 0 : blockType.apiVersion) > 1) {
-    block = blockEdit;
-  } else {
-    block = Object(external_wp_element_["createElement"])(Block, wrapperProps, blockEdit);
-  }
-
-  const value = {
-    clientId,
-    className,
-    wrapperProps: Object(external_lodash_["omit"])(wrapperProps, ['data-align']),
-    isAligned
+    })) : (0,external_wp_element_namespaceObject.createElement)(BlockListItems, options)
   };
-  const memoizedValue = Object(external_wp_element_["useMemo"])(() => value, Object.values(value));
-  return Object(external_wp_element_["createElement"])(BlockListBlockContext.Provider, {
-    value: memoizedValue
-  }, Object(external_wp_element_["createElement"])(block_crash_boundary, {
-    fallback: Object(external_wp_element_["createElement"])(Block, {
-      className: "has-warning"
-    }, Object(external_wp_element_["createElement"])(block_crash_warning, null))
-  }, block));
 }
+useInnerBlocksProps.save = external_wp_blocks_namespaceObject.__unstableGetInnerBlocksProps; // Expose default appender placeholders as components.

-const applyWithSelect = Object(external_wp_data_["withSelect"])((select, _ref3) => {
-  let {
-    clientId,
-    rootClientId
-  } = _ref3;
-  const {
-    isBlockSelected,
-    getBlockMode,
-    isSelectionEnabled,
-    getTemplateLock,
-    __unstableGetBlockWithoutInnerBlocks,
-    canRemoveBlock,
-    canMoveBlock
-  } = select(store["a" /* store */]);
+ForwardedInnerBlocks.DefaultBlockAppender = inner_blocks_default_block_appender;
+ForwardedInnerBlocks.ButtonBlockAppender = inner_blocks_button_block_appender;

-  const block = __unstableGetBlockWithoutInnerBlocks(clientId);
+ForwardedInnerBlocks.Content = () => useInnerBlocksProps.save().children;
+/**
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md
+ */

-  const isSelected = isBlockSelected(clientId);
-  const templateLock = getTemplateLock(rootClientId);
-  const canRemove = canRemoveBlock(clientId, rootClientId);
-  const canMove = canMoveBlock(clientId, rootClientId); // The fallback to `{}` is a temporary fix.
-  // This function should never be called when a block is not present in
-  // the state. It happens now because the order in withSelect rendering
-  // is not correct.

-  const {
-    name,
-    attributes,
-    isValid
-  } = block || {}; // Do not add new properties here, use `useSelect` instead to avoid
-  // leaking new props to the public API (editor.BlockListBlock filter).
+/* harmony default export */ var inner_blocks = (ForwardedInnerBlocks);

-  return {
-    mode: getBlockMode(clientId),
-    isSelectionEnabled: isSelectionEnabled(),
-    isLocked: !!templateLock,
-    canRemove,
-    canMove,
-    // Users of the editor.BlockListBlock filter used to be able to
-    // access the block prop.
-    // Ideally these blocks would rely on the clientId prop only.
-    // This is kept for backward compatibility reasons.
-    block,
-    name,
-    attributes,
-    isValid,
-    isSelected
-  };
-});
-const applyWithDispatch = Object(external_wp_data_["withDispatch"])((dispatch, ownProps, _ref4) => {
-  let {
-    select
-  } = _ref4;
-  const {
-    updateBlockAttributes,
-    insertBlocks,
-    mergeBlocks,
-    replaceBlocks,
-    toggleSelection,
-    __unstableMarkLastChangeAsPersistent
-  } = dispatch(store["a" /* store */]); // Do not add new properties here, use `useDispatch` instead to avoid
-  // leaking new props to the public API (editor.BlockListBlock filter).
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js

-  return {
-    setAttributes(newAttributes) {
-      const {
-        getMultiSelectedBlockClientIds
-      } = select(store["a" /* store */]);
-      const multiSelectedBlockClientIds = getMultiSelectedBlockClientIds();
-      const {
-        clientId
-      } = ownProps;
-      const clientIds = multiSelectedBlockClientIds.length ? multiSelectedBlockClientIds : [clientId];
-      updateBlockAttributes(clientIds, newAttributes);
-    },

-    onInsertBlocks(blocks, index) {
-      const {
-        rootClientId
-      } = ownProps;
-      insertBlocks(blocks, index, rootClientId);
-    },
+/**
+ * External dependencies
+ */

-    onInsertBlocksAfter(blocks) {
-      const {
-        clientId,
-        rootClientId
-      } = ownProps;
-      const {
-        getBlockIndex
-      } = select(store["a" /* store */]);
-      const index = getBlockIndex(clientId);
-      insertBlocks(blocks, index + 1, rootClientId);
-    },
+/**
+ * WordPress dependencies
+ */

-    onMerge(forward) {
-      const {
-        clientId
-      } = ownProps;
-      const {
-        getPreviousBlockClientId,
-        getNextBlockClientId
-      } = select(store["a" /* store */]);

-      if (forward) {
-        const nextBlockClientId = getNextBlockClientId(clientId);

-        if (nextBlockClientId) {
-          mergeBlocks(clientId, nextBlockClientId);
-        }
-      } else {
-        const previousBlockClientId = getPreviousBlockClientId(clientId);

-        if (previousBlockClientId) {
-          mergeBlocks(previousBlockClientId, clientId);
-        }
-      }
-    },
+/**
+ * Internal dependencies
+ */

-    onReplace(blocks, indexToSelect, initialPosition) {
-      if (blocks.length && !Object(external_wp_blocks_["isUnmodifiedDefaultBlock"])(blocks[blocks.length - 1])) {
-        __unstableMarkLastChangeAsPersistent();
-      }

-      replaceBlocks([ownProps.clientId], blocks, indexToSelect, initialPosition);
-    },

-    toggleSelection(selectionEnabled) {
-      toggleSelection(selectionEnabled);
-    }

-  };
-});
-/* 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"])(_ref5 => {
-  let {
-    block
-  } = _ref5;
-  return !!block;
-}), Object(external_wp_components_["withFilters"])('editor.BlockListBlock'))(BlockListBlock));


-/***/ }),

-/***/ "jTPX":
-/***/ (function(module, exports) {

-// This code has been refactored for 140 bytes
-// You can see the original here: https://github.com/twolfson/computedStyle/blob/04cd1da2e30fa45844f95f5cb1ac898e9b9ef050/lib/computedStyle.js
-var computedStyle = function (el, prop, getComputedStyle) {
-  getComputedStyle = window.getComputedStyle;

-  // In one fell swoop
-  return (
-    // If we have getComputedStyle
-    getComputedStyle ?
-      // Query it
-      // TODO: From CSS-Query notes, we might need (node, null) for FF
-      getComputedStyle(el) :

-    // Otherwise, we are in IE and use currentStyle
-      el.currentStyle
-  )[
-    // Switch to camelCase for CSSOM
-    // DEV: Grabbed from jQuery
-    // https://github.com/jquery/jquery/blob/1.9-stable/src/css.js#L191-L194
-    // https://github.com/jquery/jquery/blob/1.9-stable/src/core.js#L593-L597
-    prop.replace(/-(\w)/gi, function (word, letter) {
-      return letter.toUpperCase();
+
+const elementContext = (0,external_wp_element_namespaceObject.createContext)();
+const IntersectionObserver = (0,external_wp_element_namespaceObject.createContext)();
+
+function Root(_ref) {
+  let {
+    className,
+    ...settings
+  } = _ref;
+  const [element, setElement] = (0,external_wp_element_namespaceObject.useState)();
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  const {
+    isOutlineMode,
+    isFocusMode,
+    isNavigationMode
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSettings,
+      isNavigationMode: _isNavigationMode
+    } = select(store);
+    const {
+      outlineMode,
+      focusMode
+    } = getSettings();
+    return {
+      isOutlineMode: outlineMode,
+      isFocusMode: focusMode,
+      isNavigationMode: _isNavigationMode()
+    };
+  }, []);
+  const innerBlocksProps = useInnerBlocksProps({
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([useBlockSelectionClearer(), useInBetweenInserter(), setElement]),
+    className: classnames_default()('is-root-container', className, {
+      'is-outline-mode': isOutlineMode,
+      'is-focus-mode': isFocusMode && isLargeViewport,
+      'is-navigate-mode': isNavigationMode
     })
-  ];
-};
+  }, settings);
+  return (0,external_wp_element_namespaceObject.createElement)(elementContext.Provider, {
+    value: element
+  }, (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps));
+}

-module.exports = computedStyle;
+function BlockList(settings) {
+  usePreParsePatterns();
+  return (0,external_wp_element_namespaceObject.createElement)(BlockToolsBackCompat, null, (0,external_wp_element_namespaceObject.createElement)(Provider, {
+    value: DEFAULT_BLOCK_EDIT_CONTEXT
+  }, (0,external_wp_element_namespaceObject.createElement)(Root, settings)));
+}
+BlockList.__unstableElementContext = elementContext;

+function Items(_ref2) {
+  let {
+    placeholder,
+    rootClientId,
+    renderAppender,
+    __experimentalAppenderTagName,
+    __experimentalLayout: layout = defaultLayout
+  } = _ref2;
+  const [intersectingBlocks, setIntersectingBlocks] = (0,external_wp_element_namespaceObject.useState)(new Set());
+  const intersectionObserver = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const {
+      IntersectionObserver: Observer
+    } = window;

-/***/ }),
+    if (!Observer) {
+      return;
+    }

-/***/ "jrfk":
-/***/ (function(module, exports) {
+    return new Observer(entries => {
+      setIntersectingBlocks(oldIntersectingBlocks => {
+        const newIntersectingBlocks = new Set(oldIntersectingBlocks);

-/**
- * Copyright 2004-present Facebook. All Rights Reserved.
- *
- * @providesModule UserAgent_DEPRECATED
- */
+        for (const entry of entries) {
+          const clientId = entry.target.getAttribute('data-block');
+          const action = entry.isIntersecting ? 'add' : 'delete';
+          newIntersectingBlocks[action](clientId);
+        }

-/**
- *  Provides entirely client-side User Agent and OS detection. You should prefer
- *  the non-deprecated UserAgent module when possible, which exposes our
- *  authoritative server-side PHP-based detection to the client.
- *
- *  Usage is straightforward:
- *
- *    if (UserAgent_DEPRECATED.ie()) {
- *      //  IE
- *    }
- *
- *  You can also do version checks:
- *
- *    if (UserAgent_DEPRECATED.ie() >= 7) {
- *      //  IE7 or better
- *    }
- *
- *  The browser functions will return NaN if the browser does not match, so
- *  you can also do version compares the other way:
- *
- *    if (UserAgent_DEPRECATED.ie() < 7) {
- *      //  IE6 or worse
- *    }
- *
- *  Note that the version is a float and may include a minor version number,
- *  so you should always use range operators to perform comparisons, not
- *  strict equality.
- *
- *  **Note:** You should **strongly** prefer capability detection to browser
- *  version detection where it's reasonable:
- *
- *    http://www.quirksmode.org/js/support.html
- *
- *  Further, we have a large number of mature wrapper functions and classes
- *  which abstract away many browser irregularities. Check the documentation,
- *  grep for things, or ask on javascript@lists.facebook.com before writing yet
- *  another copy of "event || window.event".
- *
- */
+        return newIntersectingBlocks;
+      });
+    });
+  }, [setIntersectingBlocks]);
+  const {
+    order,
+    selectedBlocks
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockOrder,
+      getSelectedBlockClientIds
+    } = select(store);
+    return {
+      order: getBlockOrder(rootClientId),
+      selectedBlocks: getSelectedBlockClientIds()
+    };
+  }, [rootClientId]);
+  return (0,external_wp_element_namespaceObject.createElement)(LayoutProvider, {
+    value: layout
+  }, (0,external_wp_element_namespaceObject.createElement)(IntersectionObserver.Provider, {
+    value: intersectionObserver
+  }, order.map(clientId => (0,external_wp_element_namespaceObject.createElement)(external_wp_data_namespaceObject.AsyncModeProvider, {
+    key: clientId,
+    value: // Only provide data asynchronously if the block is
+    // not visible and not selected.
+    !intersectingBlocks.has(clientId) && !selectedBlocks.includes(clientId)
+  }, (0,external_wp_element_namespaceObject.createElement)(block, {
+    rootClientId: rootClientId,
+    clientId: clientId
+  })))), order.length < 1 && placeholder, (0,external_wp_element_namespaceObject.createElement)(block_list_appender, {
+    tagName: __experimentalAppenderTagName,
+    rootClientId: rootClientId,
+    renderAppender: renderAppender
+  }));
+}

-var _populated = false;
+function BlockListItems(props) {
+  // This component needs to always be synchronous as it's the one changing
+  // the async mode depending on the block selection.
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_data_namespaceObject.AsyncModeProvider, {
+    value: false
+  }, (0,external_wp_element_namespaceObject.createElement)(Items, props));
+}

-// Browsers
-var _ie, _firefox, _opera, _webkit, _chrome;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/control.js

-// Actual IE browser for compatibility mode
-var _ie_real_version;

-// Platforms
-var _osx, _windows, _linux, _android;

-// Architectures
-var _win64;
+/**
+ * External dependencies
+ */

-// Devices
-var _iphone, _ipad, _native;

-var _mobile;
+/**
+ * WordPress dependencies
+ */

-function _populate() {
-  if (_populated) {
-    return;
-  }

-  _populated = true;

-  // To work around buggy JS libraries that can't handle multi-digit
-  // version numbers, Opera 10's user agent string claims it's Opera
-  // 9, then later includes a Version/X.Y field:
-  //
-  // Opera/9.80 (foo) Presto/2.2.15 Version/10.10
-  var uas = navigator.userAgent;
-  var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
-  var os    = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);

-  _iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
-  _ipad = /\b(iP[ao]d)/.exec(uas);
-  _android = /Android/i.exec(uas);
-  _native = /FBAN\/\w+;/i.exec(uas);
-  _mobile = /Mobile/i.exec(uas);
+/**
+ * Internal dependencies
+ */

-  // Note that the IE team blog would have you believe you should be checking
-  // for 'Win64; x64'.  But MSDN then reveals that you can actually be coming
-  // from either x64 or ia64;  so ultimately, you should just check for Win64
-  // as in indicator of whether you're in 64-bit IE.  32-bit IE on 64-bit
-  // Windows will send 'WOW64' instead.
-  _win64 = !!(/Win64/.exec(uas));

-  if (agent) {
-    _ie = agent[1] ? parseFloat(agent[1]) : (
-          agent[5] ? parseFloat(agent[5]) : NaN);
-    // IE compatibility mode
-    if (_ie && document && document.documentMode) {
-      _ie = document.documentMode;
-    }
-    // grab the "true" ie version from the trident token if available
-    var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
-    _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
+const colorsAndGradientKeys = ['colors', 'disableCustomColors', 'gradients', 'disableCustomGradients'];

-    _firefox = agent[2] ? parseFloat(agent[2]) : NaN;
-    _opera   = agent[3] ? parseFloat(agent[3]) : NaN;
-    _webkit  = agent[4] ? parseFloat(agent[4]) : NaN;
-    if (_webkit) {
-      // We do not add the regexp to the above test, because it will always
-      // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
-      // the userAgent string.
-      agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
-      _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
-    } else {
-      _chrome = NaN;
-    }
-  } else {
-    _ie = _firefox = _opera = _chrome = _webkit = NaN;
+function ColorGradientControlInner(_ref) {
+  let {
+    colors,
+    gradients,
+    disableCustomColors,
+    disableCustomGradients,
+    __experimentalHasMultipleOrigins,
+    __experimentalIsRenderedInSidebar,
+    className,
+    label,
+    onColorChange,
+    onGradientChange,
+    colorValue,
+    gradientValue,
+    clearable,
+    showTitle = true,
+    enableAlpha
+  } = _ref;
+  const canChooseAColor = onColorChange && (!(0,external_lodash_namespaceObject.isEmpty)(colors) || !disableCustomColors);
+  const canChooseAGradient = onGradientChange && (!(0,external_lodash_namespaceObject.isEmpty)(gradients) || !disableCustomGradients);
+  const [currentTab, setCurrentTab] = (0,external_wp_element_namespaceObject.useState)(gradientValue ? 'gradient' : !!canChooseAColor && 'color');
+
+  if (!canChooseAColor && !canChooseAGradient) {
+    return null;
   }

-  if (os) {
-    if (os[1]) {
-      // Detect OS X version.  If no version number matches, set _osx to true.
-      // Version examples:  10, 10_6_1, 10.7
-      // Parses version number as a float, taking only first two sets of
-      // digits.  If only one set of digits is found, returns just the major
-      // version number.
-      var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, {
+    className: classnames_default()('block-editor-color-gradient-control', className)
+  }, (0,external_wp_element_namespaceObject.createElement)("fieldset", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalVStack, {
+    spacing: 1
+  }, showTitle && (0,external_wp_element_namespaceObject.createElement)("legend", null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-color-gradient-control__color-indicator"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl.VisualLabel, null, label))), canChooseAColor && canChooseAGradient && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControl, {
+    value: currentTab,
+    onChange: setCurrentTab,
+    label: (0,external_wp_i18n_namespaceObject.__)('Select color type'),
+    hideLabelFromVision: true,
+    isBlock: true
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
+    value: "color",
+    label: (0,external_wp_i18n_namespaceObject.__)('Solid')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
+    value: "gradient",
+    label: (0,external_wp_i18n_namespaceObject.__)('Gradient')
+  })), (currentTab === 'color' || !canChooseAGradient) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ColorPalette, {
+    value: colorValue,
+    onChange: canChooseAGradient ? newColor => {
+      onColorChange(newColor);
+      onGradientChange();
+    } : onColorChange,
+    colors,
+    disableCustomColors,
+    __experimentalHasMultipleOrigins: __experimentalHasMultipleOrigins,
+    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
+    clearable: clearable,
+    enableAlpha: enableAlpha
+  }), (currentTab === 'gradient' || !canChooseAColor) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.GradientPicker, {
+    value: gradientValue,
+    onChange: canChooseAColor ? newGradient => {
+      onGradientChange(newGradient);
+      onColorChange();
+    } : onGradientChange,
+    gradients,
+    disableCustomGradients,
+    __experimentalHasMultipleOrigins: __experimentalHasMultipleOrigins,
+    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
+    clearable: clearable
+  }))));
+}

-      _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
-    } else {
-      _osx = false;
-    }
-    _windows = !!os[2];
-    _linux   = !!os[3];
-  } else {
-    _osx = _windows = _linux = false;
-  }
+function ColorGradientControlSelect(props) {
+  const colorGradientSettings = {};
+  colorGradientSettings.colors = useSetting('color.palette');
+  colorGradientSettings.gradients = useSetting('color.gradients');
+  colorGradientSettings.disableCustomColors = !useSetting('color.custom');
+  colorGradientSettings.disableCustomGradients = !useSetting('color.customGradient');
+  return (0,external_wp_element_namespaceObject.createElement)(ColorGradientControlInner, _extends({}, colorGradientSettings, props));
 }

-var UserAgent_DEPRECATED = {
+function ColorGradientControl(props) {
+  if ((0,external_lodash_namespaceObject.every)(colorsAndGradientKeys, key => props.hasOwnProperty(key))) {
+    return (0,external_wp_element_namespaceObject.createElement)(ColorGradientControlInner, props);
+  }

-  /**
-   *  Check if the UA is Internet Explorer.
-   *
-   *
-   *  @return float|NaN Version number (if match) or NaN.
-   */
-  ie: function() {
-    return _populate() || _ie;
-  },
+  return (0,external_wp_element_namespaceObject.createElement)(ColorGradientControlSelect, props);
+}

-  /**
-   * Check if we're in Internet Explorer compatibility mode.
-   *
-   * @return bool true if in compatibility mode, false if
-   * not compatibility mode or not ie
-   */
-  ieCompatibilityMode: function() {
-    return _populate() || (_ie_real_version > _ie);
-  },
+/* harmony default export */ var control = (ColorGradientControl);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/dropdown.js

-  /**
-   * Whether the browser is 64-bit IE.  Really, this is kind of weak sauce;  we
-   * only need this because Skype can't handle 64-bit IE yet.  We need to remove
-   * this when we don't need it -- tracked by #601957.
-   */
-  ie64: function() {
-    return UserAgent_DEPRECATED.ie() && _win64;
-  },

-  /**
-   *  Check if the UA is Firefox.
-   *
-   *
-   *  @return float|NaN Version number (if match) or NaN.
-   */
-  firefox: function() {
-    return _populate() || _firefox;
-  },

+/**
+ * External dependencies
+ */

-  /**
-   *  Check if the UA is Opera.
-   *
-   *
-   *  @return float|NaN Version number (if match) or NaN.
-   */
-  opera: function() {
-    return _populate() || _opera;
-  },
+/**
+ * WordPress dependencies
+ */


-  /**
-   *  Check if the UA is WebKit.
-   *
-   *
-   *  @return float|NaN Version number (if match) or NaN.
-   */
-  webkit: function() {
-    return _populate() || _webkit;
-  },
+/**
+ * Internal dependencies
+ */

-  /**
-   *  For Push
-   *  WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
-   */
-  safari: function() {
-    return UserAgent_DEPRECATED.webkit();
-  },

-  /**
-   *  Check if the UA is a Chrome browser.
-   *
-   *
-   *  @return float|NaN Version number (if match) or NaN.
-   */
-  chrome : function() {
-    return _populate() || _chrome;
-  },
+function ColorGradientSettingsDropdown(_ref) {
+  let {
+    colors,
+    gradients,
+    disableCustomColors,
+    disableCustomGradients,
+    __experimentalHasMultipleOrigins,
+    __experimentalIsRenderedInSidebar,
+    enableAlpha,
+    settings
+  } = _ref;
+  let dropdownPosition;

+  if (__experimentalIsRenderedInSidebar) {
+    dropdownPosition = 'bottom left';
+  }

-  /**
-   *  Check if the user is running Windows.
-   *
-   *  @return bool `true' if the user's OS is Windows.
-   */
-  windows: function() {
-    return _populate() || _windows;
-  },
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItemGroup, {
+    isBordered: true,
+    isSeparated: true,
+    className: "block-editor-panel-color-gradient-settings__item-group"
+  }, settings.map((setting, index) => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    key: index,
+    position: dropdownPosition,
+    className: "block-editor-panel-color-gradient-settings__dropdown",
+    contentClassName: "block-editor-panel-color-gradient-settings__dropdown-content",
+    renderToggle: _ref2 => {
+      var _setting$gradientValu;

+      let {
+        isOpen,
+        onToggle
+      } = _ref2;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItem, {
+        onClick: onToggle,
+        className: classnames_default()('block-editor-panel-color-gradient-settings__item', {
+          'is-open': isOpen
+        })
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+        justify: "flex-start"
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ColorIndicator, {
+        className: "block-editor-panel-color-gradient-settings__color-indicator",
+        colorValue: (_setting$gradientValu = setting.gradientValue) !== null && _setting$gradientValu !== void 0 ? _setting$gradientValu : setting.colorValue
+      }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, setting.label)));
+    },
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(control, _extends({
+      showTitle: false,
+      colors,
+      gradients,
+      disableCustomColors,
+      disableCustomGradients,
+      __experimentalHasMultipleOrigins,
+      __experimentalIsRenderedInSidebar,
+      enableAlpha
+    }, setting))
+  })));
+}

-  /**
-   *  Check if the user is running Mac OS X.
-   *
-   *  @return float|bool   Returns a float if a version number is detected,
-   *                       otherwise true/false.
-   */
-  osx: function() {
-    return _populate() || _osx;
-  },
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/use-common-single-multiple-selects.js
+/**
+ * Internal dependencies
+ */

-  /**
-   * Check if the user is running Linux.
-   *
-   * @return bool `true' if the user's OS is some flavor of Linux.
-   */
-  linux: function() {
-    return _populate() || _linux;
-  },
+function useCommonSingleMultipleSelects() {
+  return {
+    disableCustomColors: !useSetting('color.custom'),
+    disableCustomGradients: !useSetting('color.customGradient')
+  };
+}

-  /**
-   * Check if the user is running on an iPhone or iPod platform.
-   *
-   * @return bool `true' if the user is running some flavor of the
-   *    iPhone OS.
-   */
-  iphone: function() {
-    return _populate() || _iphone;
-  },
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js
+/**
+ * WordPress dependencies
+ */

-  mobile: function() {
-    return _populate() || (_iphone || _ipad || _android || _mobile);
-  },

-  nativeApp: function() {
-    // webviews inside of the native apps
-    return _populate() || _native;
-  },
+/**
+ * Internal dependencies
+ */

-  android: function() {
-    return _populate() || _android;
-  },

-  ipad: function() {
-    return _populate() || _ipad;
-  }
-};

-module.exports = UserAgent_DEPRECATED;
+/**
+ * Retrieves color and gradient related settings.
+ *
+ * The arrays for colors and gradients are made up of color palettes from each
+ * origin i.e. "Core", "Theme", and "User".
+ *
+ * @return {Object} Color and gradient related settings.
+ */
+
+function useMultipleOriginColorsAndGradients() {
+  const colorGradientSettings = useCommonSingleMultipleSelects();
+  const customColors = useSetting('color.palette.custom');
+  const themeColors = useSetting('color.palette.theme');
+  const defaultColors = useSetting('color.palette.default');
+  const shouldDisplayDefaultColors = useSetting('color.defaultPalette');
+  colorGradientSettings.colors = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const result = [];

+    if (themeColors && themeColors.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Theme', 'Indicates this palette comes from the theme.'),
+        colors: themeColors
+      });
+    }

-/***/ }),
+    if (shouldDisplayDefaultColors && defaultColors && defaultColors.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Default', 'Indicates this palette comes from WordPress.'),
+        colors: defaultColors
+      });
+    }

-/***/ "jwne":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (customColors && customColors.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Custom', 'Indicates this palette comes from the theme.'),
+        colors: customColors
+      });
+    }

-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InspectorControlsSlot; });
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _block_support_tools_panel__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("c1Zz");
-/* harmony import */ var _block_support_slot_container__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("asom");
-/* harmony import */ var _groups__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("VrEk");
+    return result;
+  }, [defaultColors, themeColors, customColors]);
+  const customGradients = useSetting('color.gradients.custom');
+  const themeGradients = useSetting('color.gradients.theme');
+  const defaultGradients = useSetting('color.gradients.default');
+  const shouldDisplayDefaultGradients = useSetting('color.defaultGradients');
+  colorGradientSettings.gradients = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const result = [];

+    if (themeGradients && themeGradients.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Theme', 'Indicates this palette comes from the theme.'),
+        gradients: themeGradients
+      });
+    }

+    if (shouldDisplayDefaultGradients && defaultGradients && defaultGradients.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Default', 'Indicates this palette comes from WordPress.'),
+        gradients: defaultGradients
+      });
+    }

-/**
- * WordPress dependencies
- */
+    if (customGradients && customGradients.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Custom', 'Indicates this palette is created by the user.'),
+        gradients: customGradients
+      });
+    }

+    return result;
+  }, [customGradients, themeGradients, defaultGradients]);
+  return colorGradientSettings;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/utils.js
 /**
- * Internal dependencies
+ * External dependencies
  */




-function InspectorControlsSlot(_ref) {
-  var _groups$group;
+k([names, a11y]);
+/**
+ * Provided an array of color objects as set by the theme or by the editor defaults,
+ * and the values of the defined color or custom color returns a color object describing the color.
+ *
+ * @param {Array}   colors       Array of color objects as set by the theme or by the editor defaults.
+ * @param {?string} definedColor A string containing the color slug.
+ * @param {?string} customColor  A string containing the customColor value.
+ *
+ * @return {?Object} If definedColor is passed and the name is found in colors,
+ *                   the color object exactly as set by the theme or editor defaults is returned.
+ *                   Otherwise, an object that just sets the color is defined.
+ */

-  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);
+const getColorObjectByAttributeValues = (colors, definedColor, customColor) => {
+  if (definedColor) {
+    const colorObj = (0,external_lodash_namespaceObject.find)(colors, {
+      slug: definedColor
+    });

-  if (!Slot || !slot) {
-    typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_3___default()(`Unknown InspectorControl group "${group}" provided.`) : void 0;
-    return null;
+    if (colorObj) {
+      return colorObj;
+    }
   }

-  const hasFills = Boolean(slot.fills && slot.fills.length);
+  return {
+    color: customColor
+  };
+};
+/**
+ * Provided an array of color objects as set by the theme or by the editor defaults, and a color value returns the color object matching that value or undefined.
+ *
+ * @param {Array}   colors     Array of color objects as set by the theme or by the editor defaults.
+ * @param {?string} colorValue A string containing the color value.
+ *
+ * @return {?Object} Color object included in the colors array whose color property equals colorValue.
+ *                   Returns undefined if no color object matches this requirement.
+ */

-  if (!hasFills) {
-    return null;
-  }
+const getColorObjectByColorValue = (colors, colorValue) => {
+  return (0,external_lodash_namespaceObject.find)(colors, {
+    color: colorValue
+  });
+};
+/**
+ * Returns a class based on the context a color is being used and its slug.
+ *
+ * @param {string} colorContextName Context/place where color is being used e.g: background, text etc...
+ * @param {string} colorSlug        Slug of the color.
+ *
+ * @return {?string} String with the class corresponding to the color in the provided context.
+ *                   Returns undefined if either colorContextName or colorSlug are not provided.
+ */

-  if (label) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_block_support_tools_panel__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], {
-      group: group,
-      label: label
-    }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_block_support_slot_container__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, {
-      bubblesVirtually: bubblesVirtually,
-      Slot: Slot
-    })));
+function getColorClassName(colorContextName, colorSlug) {
+  if (!colorContextName || !colorSlug) {
+    return undefined;
   }

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(Slot, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, props, {
-    bubblesVirtually: bubblesVirtually
-  }));
+  return `has-${(0,external_lodash_namespaceObject.kebabCase)(colorSlug)}-${colorContextName}`;
+}
+/**
+ * Given an array of color objects and a color value returns the color value of the most readable color in the array.
+ *
+ * @param {Array}   colors     Array of color objects as set by the theme or by the editor defaults.
+ * @param {?string} colorValue A string containing the color value.
+ *
+ * @return {string} String with the color value of the most readable color.
+ */
+
+function getMostReadableColor(colors, colorValue) {
+  const colordColor = w(colorValue);
+  return (0,external_lodash_namespaceObject.maxBy)(colors, _ref => {
+    let {
+      color
+    } = _ref;
+    return colordColor.contrast(color);
+  }).color;
 }

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border-color.js

-/***/ }),

-/***/ "kBLm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useIsHovered; });
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("BhPs");
 /**
- * WordPress dependencies
+ * External dependencies
  */

-
 /**
- * Internal dependencies
+ * WordPress dependencies
  */



-function listener(event) {
-  if (event.defaultPrevented) {
-    return;
-  }

-  const action = event.type === 'mouseover' ? 'add' : 'remove';
-  event.preventDefault();
-  event.currentTarget.classList[action]('is-hovered');
-}
+
 /**
- * Adds `is-hovered` class when the block is hovered and in navigation or
- * outline mode.
+ * Internal dependencies
  */


-function useIsHovered() {
-  const isEnabled = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useSelect"])(select => {
-    const {
-      isNavigationMode,
-      getSettings
-    } = select(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]);
-    return isNavigationMode() || getSettings().outlineMode;
-  }, []);
-  return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_1__["useRefEffect"])(node => {
-    if (isEnabled) {
-      node.addEventListener('mouseout', listener);
-      node.addEventListener('mouseover', listener);
-      return () => {
-        node.removeEventListener('mouseout', listener);
-        node.removeEventListener('mouseover', listener); // Remove class in case it lingers.
-
-        node.classList.remove('is-hovered');
-      };
-    }
-  }, [isEnabled]);
-}
-

-/***/ }),

-/***/ "kVRd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ TextDecorationControl; });
+ // Defining empty array here instead of inline avoids unnecessary re-renders of
+// color control.

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+const border_color_EMPTY_ARRAY = [];
+/**
+ * Inspector control panel containing the border color related configuration.
+ *
+ * There is deliberate overlap between the colors and borders block supports
+ * relating to border color. It can be argued the border color controls could
+ * be included within either, or both, the colors and borders panels in the
+ * inspector controls. If they share the same block attributes it should not
+ * matter.
+ *
+ * @param {Object} props Block properties.
+ *
+ * @return {WPElement} Border color edit element.
+ */

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+function BorderColorEdit(props) {
+  const {
+    attributes: {
+      borderColor,
+      style
+    },
+    setAttributes
+  } = props;
+  const colorGradientSettings = useMultipleOriginColorsAndGradients();
+  const availableColors = colorGradientSettings.colors.reduce((colors, origin) => colors.concat(origin.colors), []);
+  const [colorValue, setColorValue] = (0,external_wp_element_namespaceObject.useState)(() => {
+    var _getColorObjectByAttr, _style$border;

-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+    return (_getColorObjectByAttr = getColorObjectByAttributeValues(availableColors, borderColor, style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.color)) === null || _getColorObjectByAttr === void 0 ? void 0 : _getColorObjectByAttr.color;
+  });

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-underline.js
+  const onChangeColor = value => {
+    setColorValue(value);
+    const colorObject = getColorObjectByColorValue(availableColors, value);
+    const newStyle = { ...style,
+      border: { ...(style === null || style === void 0 ? void 0 : style.border),
+        color: colorObject !== null && colorObject !== void 0 && colorObject.slug ? undefined : value
+      }
+    }; // If empty slug, ensure undefined to remove attribute.

+    const newNamedColor = colorObject !== null && colorObject !== void 0 && colorObject.slug ? colorObject.slug : undefined;
+    setAttributes({
+      style: cleanEmptyObject(newStyle),
+      borderColor: newNamedColor
+    });
+  };

+  const settings = [{
+    label: (0,external_wp_i18n_namespaceObject.__)('Color'),
+    onColorChange: onChangeColor,
+    colorValue,
+    clearable: false
+  }];
+  return (0,external_wp_element_namespaceObject.createElement)(ColorGradientSettingsDropdown, _extends({
+    settings: settings,
+    disableCustomColors: true,
+    disableCustomGradients: true,
+    __experimentalHasMultipleOrigins: true,
+    __experimentalIsRenderedInSidebar: true,
+    enableAlpha: true
+  }, colorGradientSettings));
+}
 /**
- * WordPress dependencies
+ * Filters registered block settings, extending attributes to include
+ * `borderColor` if needed.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Updated block settings.
  */

-const formatUnderline = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var format_underline = (formatUnderline);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js
-var format_strikethrough = __webpack_require__("Crq9");
+function addAttributes(settings) {
+  if (!hasBorderSupport(settings, 'color')) {
+    return settings;
+  } // Allow blocks to specify default value if needed.

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/text-decoration-control/index.js
+  if (settings.attributes.borderColor) {
+    return settings;
+  } // Add new borderColor attribute to block settings.


+  return { ...settings,
+    attributes: { ...settings.attributes,
+      borderColor: {
+        type: 'string'
+      }
+    }
+  };
+}
 /**
- * WordPress dependencies
+ * Override props assigned to save component to inject border color.
+ *
+ * @param {Object} props      Additional props applied to save element.
+ * @param {Object} blockType  Block type definition.
+ * @param {Object} attributes Block's attributes.
+ *
+ * @return {Object} Filtered props to apply to save element.
  */


+function border_color_addSaveProps(props, blockType, attributes) {
+  var _style$border2;

-const TEXT_DECORATIONS = [{
-  name: Object(external_wp_i18n_["__"])('Underline'),
-  value: 'underline',
-  icon: format_underline
-}, {
-  name: Object(external_wp_i18n_["__"])('Strikethrough'),
-  value: 'line-through',
-  icon: format_strikethrough["a" /* default */]
-}];
+  if (!hasBorderSupport(blockType, 'color') || shouldSkipSerialization(blockType)) {
+    return props;
+  }
+
+  const {
+    borderColor,
+    style
+  } = attributes;
+  const borderColorClass = getColorClassName('border-color', borderColor);
+  const newClassName = classnames_default()(props.className, {
+    'has-border-color': borderColor || (style === null || style === void 0 ? void 0 : (_style$border2 = style.border) === null || _style$border2 === void 0 ? void 0 : _style$border2.color),
+    [borderColorClass]: !!borderColorClass
+  }); // If we are clearing the last of the previous classes in `className`
+  // set it to `undefined` to avoid rendering empty DOM attributes.
+
+  props.className = newClassName ? newClassName : undefined;
+  return props;
+}
 /**
- * Control to facilitate text decoration selections.
+ * Filters the registered block settings to apply border color styles and
+ * classnames to the block edit wrapper.
  *
- * @param {Object}   props          Component props.
- * @param {string}   props.value    Currently selected text decoration.
- * @param {Function} props.onChange Handles change in text decoration selection.
+ * @param {Object} settings Original block settings.
  *
- * @return {WPElement} Text decoration control.
+ * @return {Object} Filtered block settings.
  */

-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", {
-    className: "block-editor-text-decoration-control__buttons"
-  }, TEXT_DECORATIONS.map(textDecoration => {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      key: textDecoration.value,
-      icon: textDecoration.icon,
-      isSmall: true,
-      isPressed: textDecoration.value === value,
-      onClick: () => onChange(textDecoration.value === value ? undefined : textDecoration.value),
-      "aria-label": textDecoration.name
-    });
-  })));
-}

+function addEditProps(settings) {
+  if (!hasBorderSupport(settings, 'color') || shouldSkipSerialization(settings)) {
+    return settings;
+  }

-/***/ }),
+  const existingGetEditWrapperProps = settings.getEditWrapperProps;

-/***/ "kWXm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  settings.getEditWrapperProps = attributes => {
+    let props = {};

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+    if (existingGetEditWrapperProps) {
+      props = existingGetEditWrapperProps(attributes);
+    }

+    return border_color_addSaveProps(props, settings, attributes);
+  };

+  return settings;
+}
 /**
- * WordPress dependencies
+ * This adds inline styles for color palette colors.
+ * Ideally, this is not needed and themes should load their palettes on the editor.
+ *
+ * @param {Function} BlockListBlock Original component.
+ *
+ * @return {Function} Wrapped component.
  */

-const justifyLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M9 9v6h11V9H9zM4 20h1.5V4H4v16z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (justifyLeft);
-

-/***/ }),
+const withBorderColorPaletteStyles = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockListBlock => props => {
+  var _getColorObjectByAttr2, _props$wrapperProps;

-/***/ "kaUp":
-/***/ (function(module, exports) {
+  const {
+    name,
+    attributes
+  } = props;
+  const {
+    borderColor
+  } = attributes;
+  const colors = useSetting('color.palette') || border_color_EMPTY_ARRAY;

+  if (!hasBorderSupport(name, 'color') || shouldSkipSerialization(name)) {
+    return (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, props);
+  }

+  const extraStyles = {
+    borderColor: borderColor ? (_getColorObjectByAttr2 = getColorObjectByAttributeValues(colors, borderColor)) === null || _getColorObjectByAttr2 === void 0 ? void 0 : _getColorObjectByAttr2.color : undefined
+  };
+  let wrapperProps = props.wrapperProps;
+  wrapperProps = { ...props.wrapperProps,
+    style: { ...extraStyles,
+      ...((_props$wrapperProps = props.wrapperProps) === null || _props$wrapperProps === void 0 ? void 0 : _props$wrapperProps.style)
+    }
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, _extends({}, props, {
+    wrapperProps: wrapperProps
+  }));
+});
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/border/addAttributes', addAttributes);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.getSaveContent.extraProps', 'core/border/addSaveProps', border_color_addSaveProps);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/border/addEditProps', addEditProps);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockListBlock', 'core/border/with-border-color-palette-styles', withBorderColorPaletteStyles);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/utils.js
+/**
+ * WordPress dependencies
+ */

-/***/ "kmrn":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Gets the (non-undefined) item with the highest occurrence within an array
+ * Based in part on: https://stackoverflow.com/a/20762713
+ *
+ * Undefined values are always sorted to the end by `sort`, so this function
+ * returns the first element, to always prioritize real values over undefined
+ * values.
+ *
+ * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#description
+ *
+ * @param {Array<any>} inputArray Array of items to check.
+ * @return {any}                  The item with the most occurrences.
+ */

-"use strict";
-/* unused harmony export BailSignal */
-/* unused harmony export Controller */
-/* unused harmony export FrameValue */
-/* unused harmony export Interpolation */
-/* unused harmony export Spring */
-/* unused harmony export SpringContext */
-/* unused harmony export SpringRef */
-/* unused harmony export SpringValue */
-/* unused harmony export Trail */
-/* unused harmony export Transition */
-/* unused harmony export config */
-/* unused harmony export easings */
-/* unused harmony export inferTo */
-/* unused harmony export interpolate */
-/* unused harmony export to */
-/* unused harmony export update */
-/* unused harmony export useChain */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useSpring", function() { return useSpring; });
-/* unused harmony export useSpringRef */
-/* unused harmony export useSprings */
-/* unused harmony export useTrail */
-/* unused harmony export useTransition */
-/* harmony import */ var _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("nEW0");
-/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Globals", function() { return _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__["b"]; });
-
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _react_spring_animated__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("dfZa");
-/* harmony import */ var _react_spring_types_animated__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("kaUp");
-/* harmony import */ var _react_spring_types_animated__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_react_spring_types_animated__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _react_spring_types_interpolation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("v8Ku");
-/* harmony import */ var _react_spring_types_interpolation__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_react_spring_types_interpolation__WEBPACK_IMPORTED_MODULE_4__);
+function mode(inputArray) {
+  const arr = [...inputArray];
+  return arr.sort((a, b) => inputArray.filter(v => v === b).length - inputArray.filter(v => v === a).length).shift();
+}
+/**
+ * Returns the most common CSS unit in the radius values.
+ * Falls back to `px` as a default unit.
+ *
+ * @param {Object|string} values Radius values.
+ * @return {string}              Most common CSS unit in values. Default: `px`.
+ */

+function getAllUnit() {
+  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

+  if (typeof values === 'string') {
+    const [, unit] = (0,external_wp_components_namespaceObject.__experimentalParseUnit)(values);
+    return unit || 'px';
+  }

+  const allUnits = Object.values(values).map(value => {
+    const [, unit] = (0,external_wp_components_namespaceObject.__experimentalParseUnit)(value);
+    return unit;
+  });
+  return mode(allUnits) || 'px';
+}
+/**
+ * Gets the 'all' input value and unit from values data.
+ *
+ * @param {Object|string} values Radius values.
+ * @return {string}              A value + unit for the 'all' input.
+ */

+function getAllValue() {
+  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

+  /**
+   * Border radius support was originally a single pixel value.
+   *
+   * To maintain backwards compatibility treat this case as the all value.
+   */
+  if (typeof values === 'string') {
+    return values;
+  }

+  const parsedValues = Object.values(values).map(value => (0,external_wp_components_namespaceObject.__experimentalParseUnit)(value));
+  const allValues = parsedValues.map(value => value[0]);
+  const allUnits = parsedValues.map(value => value[1]);
+  const value = allValues.every(v => v === allValues[0]) ? allValues[0] : '';
+  const unit = mode(allUnits);
+  const allValue = value === 0 || value ? `${value}${unit}` : null;
+  return allValue;
+}
+/**
+ * Checks to determine if values are mixed.
+ *
+ * @param {Object} values Radius values.
+ * @return {boolean}      Whether values are mixed.
+ */

+function hasMixedValues() {
+  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const allValue = getAllValue(values);
+  const isMixed = isNaN(parseFloat(allValue));
+  return isMixed;
+}
+/**
+ * Checks to determine if values are defined.
+ *
+ * @param {Object} values Radius values.
+ * @return {boolean}      Whether values are mixed.
+ */

-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
+function hasDefinedValues(values) {
+  if (!values) {
+    return false;
+  } // A string value represents a shorthand value.

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }

-    return target;
-  };
+  if (typeof values === 'string') {
+    return true;
+  } // An object represents longhand border radius values, if any are set
+  // flag values as being defined.

-  return _extends.apply(this, arguments);
-}

-function callProp(value, ...args) {
-  return _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(value) ? value(...args) : value;
+  const filteredValues = Object.values(values).filter(value => {
+    return !!value || value === 0;
+  });
+  return !!filteredValues.length;
 }
-const matchProp = (value, key) => value === true || !!(key && value && (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(value) ? value(key) : Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(value).includes(key)));
-const resolveProp = (prop, key) => _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(prop) ? key && prop[key] : prop;
-const getDefaultProp = (props, key) => props.default === true ? props[key] : props.default ? props.default[key] : undefined;
-
-const noopTransform = value => value;

-const getDefaultProps = (props, transform = noopTransform) => {
-  let keys = DEFAULT_PROPS;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/all-input-control.js

-  if (props.default && props.default !== true) {
-    props = props.default;
-    keys = Object.keys(props);
-  }

-  const defaults = {};

-  for (const key of keys) {
-    const value = transform(props[key], key);
+/**
+ * WordPress dependencies
+ */

-    if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(value)) {
-      defaults[key] = value;
-    }
-  }

-  return defaults;
-};
-const DEFAULT_PROPS = ['config', 'onProps', 'onStart', 'onChange', 'onPause', 'onResume', 'onRest'];
-const RESERVED_PROPS = {
-  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
-};
+/**
+ * Internal dependencies
+ */

-function getForwardProps(props) {
-  const forward = {};
-  let count = 0;
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* eachProp */ "l"])(props, (value, prop) => {
-    if (!RESERVED_PROPS[prop]) {
-      forward[prop] = value;
-      count++;
-    }
-  });

-  if (count) {
-    return forward;
-  }
+function AllInputControl(_ref) {
+  let {
+    onChange,
+    values,
+    ...props
+  } = _ref;
+  const allValue = getAllValue(values);
+  const hasValues = hasDefinedValues(values);
+  const isMixed = hasValues && hasMixedValues(values);
+  const allPlaceholder = isMixed ? (0,external_wp_i18n_namespaceObject.__)('Mixed') : null;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, _extends({}, props, {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Border radius'),
+    disableUnits: isMixed,
+    isOnly: true,
+    value: allValue,
+    onChange: onChange,
+    placeholder: allPlaceholder
+  }));
 }

-function inferTo(props) {
-  const to = getForwardProps(props);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/input-controls.js

-  if (to) {
-    const out = {
-      to
-    };
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* eachProp */ "l"])(props, (val, key) => key in to || (out[key] = val));
-    return out;
-  }

-  return _extends({}, props);
-}
-function computeGoal(value) {
-  value = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(value);
-  return _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].arr(value) ? value.map(computeGoal) : Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isAnimatedString */ "t"])(value) ? _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* Globals */ "b"].createStringInterpolator({
-    range: [0, 1],
-    output: [value, value]
-  })(1) : value;
-}
-function hasProps(props) {
-  for (const _ in props) return true;

-  return false;
-}
-function isAsyncTo(to) {
-  return _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(to) || _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].arr(to) && _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(to[0]);
-}
-function detachRefs(ctrl, ref) {
-  var _ctrl$ref;
+/**
+ * WordPress dependencies
+ */

-  (_ctrl$ref = ctrl.ref) == null ? void 0 : _ctrl$ref.delete(ctrl);
-  ref == null ? void 0 : ref.delete(ctrl);
-}
-function replaceRef(ctrl, ref) {
-  if (ref && ctrl.ref !== ref) {
-    var _ctrl$ref2;

-    (_ctrl$ref2 = ctrl.ref) == null ? void 0 : _ctrl$ref2.delete(ctrl);
-    ref.add(ctrl);
-    ctrl.ref = ref;
-  }
-}
+const CORNERS = {
+  topLeft: (0,external_wp_i18n_namespaceObject.__)('Top left'),
+  topRight: (0,external_wp_i18n_namespaceObject.__)('Top right'),
+  bottomLeft: (0,external_wp_i18n_namespaceObject.__)('Bottom left'),
+  bottomRight: (0,external_wp_i18n_namespaceObject.__)('Bottom right')
+};
+function BoxInputControls(_ref) {
+  let {
+    onChange,
+    values: valuesProp,
+    ...props
+  } = _ref;

-function useChain(refs, timeSteps, timeFrame = 1000) {
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useLayoutEffect */ "A"])(() => {
-    if (timeSteps) {
-      let prevDelay = 0;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(refs, (ref, i) => {
-        const controllers = ref.current;
+  const createHandleOnChange = corner => next => {
+    if (!onChange) {
+      return;
+    }

-        if (controllers.length) {
-          let delay = timeFrame * timeSteps[i];
-          if (isNaN(delay)) delay = prevDelay;else prevDelay = delay;
-          Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(controllers, ctrl => {
-            Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(ctrl.queue, props => {
-              const memoizedDelayProp = props.delay;
+    onChange({ ...values,
+      [corner]: next ? next : undefined
+    });
+  }; // For shorthand style & backwards compatibility, handle flat string value.

-              props.delay = key => delay + callProp(memoizedDelayProp || 0, key);
-            });
-          });
-          ref.start();
-        }
-      });
-    } else {
-      let p = Promise.resolve();
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(refs, ref => {
-        const controllers = ref.current;

-        if (controllers.length) {
-          const queues = controllers.map(ctrl => {
-            const q = ctrl.queue;
-            ctrl.queue = [];
-            return q;
-          });
-          p = p.then(() => {
-            Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(controllers, (ctrl, i) => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(queues[i] || [], update => ctrl.queue.push(update)));
-            return Promise.all(ref.start());
-          });
-        }
-      });
-    }
-  });
+  const values = typeof valuesProp !== 'string' ? valuesProp : {
+    topLeft: valuesProp,
+    topRight: valuesProp,
+    bottomLeft: valuesProp,
+    bottomRight: valuesProp
+  }; // Controls are wrapped in tooltips as visible labels aren't desired here.
+
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-border-radius-control__input-controls-wrapper"
+  }, Object.entries(CORNERS).map(_ref2 => {
+    let [key, label] = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, _extends({}, props, {
+      key: key,
+      "aria-label": label,
+      value: values[key],
+      onChange: createHandleOnChange(key)
+    }));
+  }));
 }

-const config = {
-  default: {
-    tension: 170,
-    friction: 26
-  },
-  gentle: {
-    tension: 120,
-    friction: 14
-  },
-  wobbly: {
-    tension: 180,
-    friction: 12
-  },
-  stiff: {
-    tension: 210,
-    friction: 20
-  },
-  slow: {
-    tension: 280,
-    friction: 60
-  },
-  molasses: {
-    tension: 280,
-    friction: 120
-  }
-};
-const c1 = 1.70158;
-const c2 = c1 * 1.525;
-const c3 = c1 + 1;
-const c4 = 2 * Math.PI / 3;
-const c5 = 2 * Math.PI / 4.5;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js

-const bounceOut = x => {
-  const n1 = 7.5625;
-  const d1 = 2.75;

-  if (x < 1 / d1) {
-    return n1 * x * x;
-  } else if (x < 2 / d1) {
-    return n1 * (x -= 1.5 / d1) * x + 0.75;
-  } else if (x < 2.5 / d1) {
-    return n1 * (x -= 2.25 / d1) * x + 0.9375;
-  } else {
-    return n1 * (x -= 2.625 / d1) * x + 0.984375;
-  }
-};
+/**
+ * WordPress dependencies
+ */

-const easings = {
-  linear: x => x,
-  easeInQuad: x => x * x,
-  easeOutQuad: x => 1 - (1 - x) * (1 - x),
-  easeInOutQuad: x => x < 0.5 ? 2 * x * x : 1 - Math.pow(-2 * x + 2, 2) / 2,
-  easeInCubic: x => x * x * x,
-  easeOutCubic: x => 1 - Math.pow(1 - x, 3),
-  easeInOutCubic: x => x < 0.5 ? 4 * x * x * x : 1 - Math.pow(-2 * x + 2, 3) / 2,
-  easeInQuart: x => x * x * x * x,
-  easeOutQuart: x => 1 - Math.pow(1 - x, 4),
-  easeInOutQuart: x => x < 0.5 ? 8 * x * x * x * x : 1 - Math.pow(-2 * x + 2, 4) / 2,
-  easeInQuint: x => x * x * x * x * x,
-  easeOutQuint: x => 1 - Math.pow(1 - x, 5),
-  easeInOutQuint: x => x < 0.5 ? 16 * x * x * x * x * x : 1 - Math.pow(-2 * x + 2, 5) / 2,
-  easeInSine: x => 1 - Math.cos(x * Math.PI / 2),
-  easeOutSine: x => Math.sin(x * Math.PI / 2),
-  easeInOutSine: x => -(Math.cos(Math.PI * x) - 1) / 2,
-  easeInExpo: x => x === 0 ? 0 : Math.pow(2, 10 * x - 10),
-  easeOutExpo: x => x === 1 ? 1 : 1 - Math.pow(2, -10 * x),
-  easeInOutExpo: x => x === 0 ? 0 : x === 1 ? 1 : x < 0.5 ? Math.pow(2, 20 * x - 10) / 2 : (2 - Math.pow(2, -20 * x + 10)) / 2,
-  easeInCirc: x => 1 - Math.sqrt(1 - Math.pow(x, 2)),
-  easeOutCirc: x => Math.sqrt(1 - Math.pow(x - 1, 2)),
-  easeInOutCirc: x => x < 0.5 ? (1 - Math.sqrt(1 - Math.pow(2 * x, 2))) / 2 : (Math.sqrt(1 - Math.pow(-2 * x + 2, 2)) + 1) / 2,
-  easeInBack: x => c3 * x * x * x - c1 * x * x,
-  easeOutBack: x => 1 + c3 * Math.pow(x - 1, 3) + c1 * Math.pow(x - 1, 2),
-  easeInOutBack: x => x < 0.5 ? Math.pow(2 * x, 2) * ((c2 + 1) * 2 * x - c2) / 2 : (Math.pow(2 * x - 2, 2) * ((c2 + 1) * (x * 2 - 2) + c2) + 2) / 2,
-  easeInElastic: x => x === 0 ? 0 : x === 1 ? 1 : -Math.pow(2, 10 * x - 10) * Math.sin((x * 10 - 10.75) * c4),
-  easeOutElastic: x => x === 0 ? 0 : x === 1 ? 1 : Math.pow(2, -10 * x) * Math.sin((x * 10 - 0.75) * c4) + 1,
-  easeInOutElastic: x => x === 0 ? 0 : x === 1 ? 1 : x < 0.5 ? -(Math.pow(2, 20 * x - 10) * Math.sin((20 * x - 11.125) * c5)) / 2 : Math.pow(2, -20 * x + 10) * Math.sin((20 * x - 11.125) * c5) / 2 + 1,
-  easeInBounce: x => 1 - bounceOut(1 - x),
-  easeOutBounce: bounceOut,
-  easeInOutBounce: x => x < 0.5 ? (1 - bounceOut(1 - 2 * x)) / 2 : (1 + bounceOut(2 * x - 1)) / 2
-};
+const link_link = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_link = (link_link);

-const defaults = _extends({}, config.default, {
-  mass: 1,
-  damping: 1,
-  easing: easings.linear,
-  clamp: false
-});
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js

-class AnimationConfig {
-  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, defaults);
-  }

-}
-function mergeConfig(config, newConfig, defaultConfig) {
-  if (defaultConfig) {
-    defaultConfig = _extends({}, defaultConfig);
-    sanitizeConfig(defaultConfig, newConfig);
-    newConfig = _extends({}, defaultConfig, newConfig);
-  }
+/**
+ * WordPress dependencies
+ */

-  sanitizeConfig(config, newConfig);
-  Object.assign(config, newConfig);
+const linkOff = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var link_off = (linkOff);

-  for (const key in defaults) {
-    if (config[key] == null) {
-      config[key] = defaults[key];
-    }
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/linked-button.js

-  let {
-    mass,
-    frequency,
-    damping
-  } = config;

-  if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(frequency)) {
-    if (frequency < 0.01) frequency = 0.01;
-    if (damping < 0) damping = 0;
-    config.tension = Math.pow(2 * Math.PI / frequency, 2) * mass;
-    config.friction = 4 * Math.PI * damping * mass / frequency;
-  }

-  return config;
-}
+/**
+ * WordPress dependencies
+ */

-function sanitizeConfig(config, props) {
-  if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.decay)) {
-    config.duration = undefined;
-  } else {
-    const isTensionConfig = !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.tension) || !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.friction);

-    if (isTensionConfig || !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.frequency) || !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.damping) || !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.mass)) {
-      config.duration = undefined;
-      config.decay = undefined;
-    }

-    if (isTensionConfig) {
-      config.frequency = undefined;
-    }
-  }
+function LinkedButton(_ref) {
+  let {
+    isLinked,
+    ...props
+  } = _ref;
+  const label = isLinked ? (0,external_wp_i18n_namespaceObject.__)('Unlink Radii') : (0,external_wp_i18n_namespaceObject.__)('Link Radii');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Tooltip, {
+    text: label
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({}, props, {
+    className: "component-border-radius-control__linked-button",
+    isPrimary: isLinked,
+    isSecondary: !isLinked,
+    isSmall: true,
+    icon: isLinked ? library_link : link_off,
+    iconSize: 16,
+    "aria-label": label
+  })));
 }

-const emptyArray = [];
-class Animation {
-  constructor() {
-    this.changed = false;
-    this.values = emptyArray;
-    this.toValues = null;
-    this.fromValues = emptyArray;
-    this.to = void 0;
-    this.from = void 0;
-    this.config = new AnimationConfig();
-    this.immediate = false;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/index.js

-}

-function scheduleProps(callId, {
-  key,
-  props,
-  defaultProps,
-  state,
-  actions
-}) {
-  return new Promise((resolve, reject) => {
-    var _props$cancel;
+/**
+ * WordPress dependencies
+ */

-    let delay;
-    let timeout;
-    let cancel = matchProp((_props$cancel = props.cancel) != null ? _props$cancel : defaultProps == null ? void 0 : defaultProps.cancel, key);

-    if (cancel) {
-      onStart();
-    } else {
-      if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.pause)) {
-        state.paused = matchProp(props.pause, key);
-      }

-      let pause = defaultProps == null ? void 0 : defaultProps.pause;
+/**
+ * Internal dependencies
+ */

-      if (pause !== true) {
-        pause = state.paused || matchProp(pause, key);
-      }

-      delay = callProp(props.delay || 0, key);

-      if (pause) {
-        state.resumeQueue.add(onResume);
-        actions.pause();
-      } else {
-        actions.resume();
-        onResume();
-      }
-    }

-    function onPause() {
-      state.resumeQueue.add(onResume);
-      state.timeouts.delete(timeout);
-      timeout.cancel();
-      delay = timeout.time - _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].now();
-    }

-    function onResume() {
-      if (delay > 0 && !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* Globals */ "b"].skipAnimation) {
-        state.delayed = true;
-        timeout = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].setTimeout(onStart, delay);
-        state.pauseQueue.add(onPause);
-        state.timeouts.add(timeout);
-      } else {
-        onStart();
-      }
-    }

-    function onStart() {
-      if (state.delayed) {
-        state.delayed = false;
-      }
+const DEFAULT_VALUES = {
+  topLeft: null,
+  topRight: null,
+  bottomLeft: null,
+  bottomRight: null
+};
+const MIN_BORDER_RADIUS_VALUE = 0;
+const MAX_BORDER_RADIUS_VALUES = {
+  px: 100,
+  em: 20,
+  rem: 20
+};
+/**
+ * Control to display border radius options.
+ *
+ * @param {Object}   props          Component props.
+ * @param {Function} props.onChange Callback to handle onChange.
+ * @param {Object}   props.values   Border radius values.
+ *
+ * @return {WPElement}              Custom border radius control.
+ */

-      state.pauseQueue.delete(onPause);
-      state.timeouts.delete(timeout);
+function BorderRadiusControl(_ref) {
+  let {
+    onChange,
+    values
+  } = _ref;
+  const [isLinked, setIsLinked] = (0,external_wp_element_namespaceObject.useState)(!hasDefinedValues(values) || !hasMixedValues(values));
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: useSetting('spacing.units') || ['px', 'em', 'rem']
+  });
+  const unit = getAllUnit(values);
+  const unitConfig = units && units.find(item => item.value === unit);
+  const step = (unitConfig === null || unitConfig === void 0 ? void 0 : unitConfig.step) || 1;
+  const [allValue] = (0,external_wp_components_namespaceObject.__experimentalParseUnit)(getAllValue(values));

-      if (callId <= (state.cancelId || 0)) {
-        cancel = true;
-      }
+  const toggleLinked = () => setIsLinked(!isLinked);

-      try {
-        actions.start(_extends({}, props, {
-          callId,
-          cancel
-        }), resolve);
-      } catch (err) {
-        reject(err);
-      }
-    }
-  });
+  const handleSliderChange = next => {
+    onChange(next !== undefined ? `${next}${unit}` : undefined);
+  };
+
+  return (0,external_wp_element_namespaceObject.createElement)("fieldset", {
+    className: "components-border-radius-control"
+  }, (0,external_wp_element_namespaceObject.createElement)("legend", null, (0,external_wp_i18n_namespaceObject.__)('Radius')), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-border-radius-control__wrapper"
+  }, isLinked ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(AllInputControl, {
+    className: "components-border-radius-control__unit-control",
+    values: values,
+    min: MIN_BORDER_RADIUS_VALUE,
+    onChange: onChange,
+    unit: unit,
+    units: units
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    className: "components-border-radius-control__range-control",
+    value: allValue,
+    min: MIN_BORDER_RADIUS_VALUE,
+    max: MAX_BORDER_RADIUS_VALUES[unit],
+    initialPosition: 0,
+    withInputField: false,
+    onChange: handleSliderChange,
+    step: step
+  })) : (0,external_wp_element_namespaceObject.createElement)(BoxInputControls, {
+    min: MIN_BORDER_RADIUS_VALUE,
+    onChange: onChange,
+    values: values || DEFAULT_VALUES,
+    units: units
+  }), (0,external_wp_element_namespaceObject.createElement)(LinkedButton, {
+    onClick: toggleLinked,
+    isLinked: isLinked
+  })));
 }

-const getCombinedResult = (target, results) => results.length == 1 ? results[0] : results.some(result => result.cancelled) ? getCancelledResult(target.get()) : results.every(result => result.noop) ? getNoopResult(target.get()) : getFinishedResult(target.get(), results.every(result => result.finished));
-const getNoopResult = value => ({
-  value,
-  noop: true,
-  finished: true,
-  cancelled: false
-});
-const getFinishedResult = (value, finished, cancelled = false) => ({
-  value,
-  finished,
-  cancelled
-});
-const getCancelledResult = value => ({
-  value,
-  cancelled: true,
-  finished: false
-});
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border-radius.js

-function runAsync(to, props, state, target) {
-  const {
-    callId,
-    parentId,
-    onRest
-  } = props;
-  const {
-    asyncTo: prevTo,
-    promise: prevPromise
-  } = state;

-  if (!parentId && to === prevTo && !props.reset) {
-    return prevPromise;
-  }
+/**
+ * Internal dependencies
+ */
+

-  return state.promise = (async () => {
-    state.asyncId = callId;
-    state.asyncTo = to;
-    const defaultProps = getDefaultProps(props, (value, key) => key === 'onRest' ? undefined : value);
-    let preventBail;
-    let bail;
-    const bailPromise = new Promise((resolve, reject) => (preventBail = resolve, bail = reject));
+/**
+ * Inspector control panel containing the border radius related configuration.
+ *
+ * @param {Object} props Block properties.
+ *
+ * @return {WPElement} Border radius edit element.
+ */

-    const bailIfEnded = bailSignal => {
-      const bailResult = callId <= (state.cancelId || 0) && getCancelledResult(target) || callId !== state.asyncId && getFinishedResult(target, false);
+function BorderRadiusEdit(props) {
+  var _style$border;

-      if (bailResult) {
-        bailSignal.result = bailResult;
-        bail(bailSignal);
-        throw bailSignal;
+  const {
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;
+
+  const onChange = newRadius => {
+    let newStyle = { ...style,
+      border: { ...(style === null || style === void 0 ? void 0 : style.border),
+        radius: newRadius
       }
     };

-    const animate = (arg1, arg2) => {
-      const bailSignal = new BailSignal();
-      const skipAnimationSignal = new SkipAniamtionSignal();
-      return (async () => {
-        if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* Globals */ "b"].skipAnimation) {
-          stopAsync(state);
-          skipAnimationSignal.result = getFinishedResult(target, false);
-          bail(skipAnimationSignal);
-          throw skipAnimationSignal;
-        }
-
-        bailIfEnded(bailSignal);
-        const props = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(arg1) ? _extends({}, arg1) : _extends({}, arg2, {
-          to: arg1
-        });
-        props.parentId = callId;
-        Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* eachProp */ "l"])(defaultProps, (value, key) => {
-          if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props[key])) {
-            props[key] = value;
-          }
-        });
-        const result = await target.start(props);
-        bailIfEnded(bailSignal);
+    if (newRadius === undefined || newRadius === '') {
+      newStyle = cleanEmptyObject(newStyle);
+    }

-        if (state.paused) {
-          await new Promise(resume => {
-            state.resumeQueue.add(resume);
-          });
-        }
+    setAttributes({
+      style: newStyle
+    });
+  };

-        return result;
-      })();
-    };
+  return (0,external_wp_element_namespaceObject.createElement)(BorderRadiusControl, {
+    values: style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.radius,
+    onChange: onChange
+  });
+}

-    let result;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/line-solid.js

-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* Globals */ "b"].skipAnimation) {
-      stopAsync(state);
-      return getFinishedResult(target, false);
-    }

-    try {
-      let animating;
+/**
+ * WordPress dependencies
+ */

-      if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].arr(to)) {
-        animating = (async queue => {
-          for (const props of queue) {
-            await animate(props);
-          }
-        })(to);
-      } else {
-          animating = Promise.resolve(to(animate, target.stop.bind(target)));
-        }
+const lineSolid = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  width: "24",
+  height: "24",
+  fill: "none"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M5 11.25h14v1.5H5z"
+}));
+/* harmony default export */ var line_solid = (lineSolid);

-      await Promise.all([animating.then(preventBail), bailPromise]);
-      result = getFinishedResult(target.get(), true, false);
-    } catch (err) {
-      if (err instanceof BailSignal) {
-        result = err.result;
-      } else if (err instanceof SkipAniamtionSignal) {
-        result = err.result;
-      } else {
-        throw err;
-      }
-    } finally {
-      if (callId == state.asyncId) {
-        state.asyncId = parentId;
-        state.asyncTo = parentId ? prevTo : undefined;
-        state.promise = parentId ? prevPromise : undefined;
-      }
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/line-dashed.js

-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(onRest)) {
-      _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].batchedUpdates(() => {
-        onRest(result, target, target.item);
-      });
-    }

-    return result;
-  })();
-}
-function stopAsync(state, cancelId) {
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* flush */ "m"])(state.timeouts, t => t.cancel());
-  state.pauseQueue.clear();
-  state.resumeQueue.clear();
-  state.asyncId = state.asyncTo = state.promise = undefined;
-  if (cancelId) state.cancelId = cancelId;
-}
-class BailSignal 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;
-  }
+/**
+ * WordPress dependencies
+ */

-}
-class SkipAniamtionSignal extends Error {
-  constructor() {
-    super('SkipAnimationSignal');
-    this.result = void 0;
-  }
+const lineDashed = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  width: "24",
+  height: "24",
+  fill: "none"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  fillRule: "evenodd",
+  d: "M5 11.25h3v1.5H5v-1.5zm5.5 0h3v1.5h-3v-1.5zm8.5 0h-3v1.5h3v-1.5z",
+  clipRule: "evenodd"
+}));
+/* harmony default export */ var line_dashed = (lineDashed);

-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/line-dotted.js

-const isFrameValue = value => value instanceof FrameValue;
-let nextId$1 = 1;
-class FrameValue extends _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* FluidValue */ "a"] {
-  constructor(...args) {
-    super(...args);
-    this.id = nextId$1++;
-    this.key = void 0;
-    this._priority = 0;
-  }

-  get priority() {
-    return this._priority;
-  }
+/**
+ * WordPress dependencies
+ */

-  set priority(priority) {
-    if (this._priority != priority) {
-      this._priority = priority;
+const lineDotted = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  width: "24",
+  height: "24",
+  fill: "none"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var line_dotted = (lineDotted);

-      this._onPriorityChange(priority);
-    }
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-style-control/index.js

-  get() {
-    const node = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimated */ "e"])(this);
-    return node && node.getValue();
-  }

-  to(...args) {
-    return _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* Globals */ "b"].to(this, args);
-  }
+/**
+ * WordPress dependencies
+ */

-  interpolate(...args) {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* deprecateInterpolate */ "j"])();
-    return _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* Globals */ "b"].to(this, args);
-  }

-  toJSON() {
-    return this.get();
-  }

-  observerAdded(count) {
-    if (count == 1) this._attach();
-  }
+const BORDER_STYLES = [{
+  label: (0,external_wp_i18n_namespaceObject.__)('Solid'),
+  icon: line_solid,
+  value: 'solid'
+}, {
+  label: (0,external_wp_i18n_namespaceObject.__)('Dashed'),
+  icon: line_dashed,
+  value: 'dashed'
+}, {
+  label: (0,external_wp_i18n_namespaceObject.__)('Dotted'),
+  icon: line_dotted,
+  value: 'dotted'
+}];
+/**
+ * Control to display border style options.
+ *
+ * @param {Object}   props          Component props.
+ * @param {Function} props.onChange Handler for changing border style selection.
+ * @param {string}   props.value    Currently selected border style value.
+ *
+ * @return {WPElement} Custom border style segmented control.
+ */

-  observerRemoved(count) {
-    if (count == 0) this._detach();
-  }
+function BorderStyleControl(_ref) {
+  let {
+    onChange,
+    value
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("fieldset", {
+    className: "components-border-style-control"
+  }, (0,external_wp_element_namespaceObject.createElement)("legend", null, (0,external_wp_i18n_namespaceObject.__)('Style')), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-border-style-control__buttons"
+  }, BORDER_STYLES.map(borderStyle => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    key: borderStyle.value,
+    icon: borderStyle.icon,
+    isSmall: true,
+    isPressed: borderStyle.value === value,
+    onClick: () => onChange(borderStyle.value === value ? undefined : borderStyle.value),
+    "aria-label": borderStyle.label
+  }))));
+}

-  _attach() {}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border-style.js

-  _detach() {}

-  _onChange(value, idle = false) {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* callFluidObservers */ "d"])(this, {
-      type: 'change',
-      parent: this,
-      value,
-      idle
-    });
-  }
+/**
+ * Internal dependencies
+ */

-  _onPriorityChange(priority) {
-    if (!this.idle) {
-      _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* frameLoop */ "o"].sort(this);
-    }

-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* callFluidObservers */ "d"])(this, {
-      type: 'priority',
-      parent: this,
-      priority
-    });
-  }
+/**
+ * Inspector control for configuring border style property.
+ *
+ * @param {Object} props Block properties.
+ *
+ * @return {WPElement} Border style edit element.
+ */

-}
+const BorderStyleEdit = props => {
+  var _style$border;

-const $P = Symbol.for('SpringPhase');
-const HAS_ANIMATED = 1;
-const IS_ANIMATING = 2;
-const IS_PAUSED = 4;
-const hasAnimated = target => (target[$P] & HAS_ANIMATED) > 0;
-const isAnimating = target => (target[$P] & IS_ANIMATING) > 0;
-const isPaused = target => (target[$P] & IS_PAUSED) > 0;
-const setActiveBit = (target, active) => active ? target[$P] |= IS_ANIMATING | HAS_ANIMATED : target[$P] &= ~IS_ANIMATING;
-const setPausedBit = (target, paused) => paused ? target[$P] |= IS_PAUSED : target[$P] &= ~IS_PAUSED;
+  const {
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;

-class SpringValue extends FrameValue {
-  constructor(arg1, arg2) {
-    super();
-    this.key = void 0;
-    this.animation = new Animation();
-    this.queue = void 0;
-    this.defaultProps = {};
-    this._state = {
-      paused: false,
-      delayed: false,
-      pauseQueue: new Set(),
-      resumeQueue: new Set(),
-      timeouts: new Set()
+  const onChange = newBorderStyle => {
+    const newStyleAttributes = { ...style,
+      border: { ...(style === null || style === void 0 ? void 0 : style.border),
+        style: newBorderStyle
+      }
     };
-    this._pendingCalls = new Set();
-    this._lastCallId = 0;
-    this._lastToId = 0;
-    this._memoizedDuration = 0;
+    setAttributes({
+      style: cleanEmptyObject(newStyleAttributes)
+    });
+  };

-    if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(arg1) || !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(arg2)) {
-      const props = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(arg1) ? _extends({}, arg1) : _extends({}, arg2, {
-        from: arg1
-      });
+  return (0,external_wp_element_namespaceObject.createElement)(BorderStyleControl, {
+    value: style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.style,
+    onChange: onChange
+  });
+};

-      if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.default)) {
-        props.default = true;
-      }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border-width.js

-      this.start(props);
-    }
-  }

-  get idle() {
-    return !(isAnimating(this) || this._state.asyncTo) || isPaused(this);
-  }
+/**
+ * WordPress dependencies
+ */

-  get goal() {
-    return Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(this.animation.to);
-  }

-  get velocity() {
-    const node = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimated */ "e"])(this);
-    return node instanceof _react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* AnimatedValue */ "c"] ? node.lastVelocity || 0 : node.getPayload().map(node => node.lastVelocity || 0);
-  }

-  get hasAnimated() {
-    return hasAnimated(this);
-  }
+/**
+ * Internal dependencies
+ */

-  get isAnimating() {
-    return isAnimating(this);
-  }

-  get isPaused() {
-    return isPaused(this);
-  }

-  get isDelayed() {
-    return this._state.delayed;
-  }
+const MIN_BORDER_WIDTH = 0;
+/**
+ * Inspector control for configuring border width property.
+ *
+ * @param {Object} props Block properties.
+ *
+ * @return {WPElement} Border width edit element.
+ */

-  advance(dt) {
-    let idle = true;
-    let changed = false;
-    const anim = this.animation;
-    let {
-      config,
-      toValues
-    } = anim;
-    const payload = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getPayload */ "g"])(anim.to);
+const BorderWidthEdit = props => {
+  const {
+    attributes: {
+      borderColor,
+      style
+    },
+    setAttributes
+  } = props;
+  const {
+    width,
+    color: customBorderColor,
+    style: borderStyle
+  } = (style === null || style === void 0 ? void 0 : style.border) || {};
+  const [styleSelection, setStyleSelection] = (0,external_wp_element_namespaceObject.useState)();
+  const [colorSelection, setColorSelection] = (0,external_wp_element_namespaceObject.useState)(); // Temporarily track previous border color & style selections to be able to
+  // restore them when border width changes from zero value.

-    if (!payload && Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(anim.to)) {
-      toValues = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(anim.to));
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (borderStyle !== 'none') {
+      setStyleSelection(borderStyle);
+    }
+  }, [borderStyle]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (borderColor || customBorderColor) {
+      setColorSelection({
+        name: !!borderColor ? borderColor : undefined,
+        color: !!customBorderColor ? customBorderColor : undefined
+      });
     }
+  }, [borderColor, customBorderColor]);

-    anim.values.forEach((node, i) => {
-      if (node.done) return;
-      const to = node.constructor == _react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* AnimatedString */ "b"] ? 1 : payload ? payload[i].lastPosition : toValues[i];
-      let finished = anim.immediate;
-      let position = to;
+  const onChange = newWidth => {
+    let newStyle = { ...style,
+      border: { ...(style === null || style === void 0 ? void 0 : style.border),
+        width: newWidth
+      }
+    }; // Used to clear named border color attribute.

-      if (!finished) {
-        position = node.lastPosition;
+    let borderPaletteColor = borderColor;
+    const hasZeroWidth = parseFloat(newWidth) === 0; // Setting the border width explicitly to zero will also set the
+    // border style to `none` and clear border color attributes.

-        if (config.tension <= 0) {
-          node.done = true;
-          return;
-        }
+    if (hasZeroWidth) {
+      borderPaletteColor = undefined;
+      newStyle.border.color = undefined;
+      newStyle.border.style = 'none';
+    } // Restore previous border style selection if width is now not zero and
+    // border style was 'none'. This is to support changes to the UI which
+    // change the border style UI to a segmented control without a "none"
+    // option.

-        let elapsed = node.elapsedTime += dt;
-        const from = anim.fromValues[i];
-        const v0 = node.v0 != null ? node.v0 : node.v0 = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].arr(config.velocity) ? config.velocity[i] : config.velocity;
-        let velocity;

-        if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(config.duration)) {
-          let p = 1;
+    if (!hasZeroWidth && borderStyle === 'none') {
+      newStyle.border.style = styleSelection;
+    } // Restore previous border color selection if width is no longer zero
+    // and current border color is undefined.

-          if (config.duration > 0) {
-            if (this._memoizedDuration !== config.duration) {
-              this._memoizedDuration = config.duration;

-              if (node.durationProgress > 0) {
-                node.elapsedTime = config.duration * node.durationProgress;
-                elapsed = node.elapsedTime += dt;
-              }
-            }
+    if (!hasZeroWidth && borderColor === undefined) {
+      borderPaletteColor = colorSelection === null || colorSelection === void 0 ? void 0 : colorSelection.name;
+      newStyle.border.color = colorSelection === null || colorSelection === void 0 ? void 0 : colorSelection.color;
+    } // If width was reset, clean out undefined styles.

-            p = (config.progress || 0) + elapsed / this._memoizedDuration;
-            p = p > 1 ? 1 : p < 0 ? 0 : p;
-            node.durationProgress = p;
-          }

-          position = from + config.easing(p) * (to - from);
-          velocity = (position - node.lastPosition) / dt;
-          finished = p == 1;
-        } else if (config.decay) {
-            const decay = config.decay === true ? 0.998 : config.decay;
-            const e = Math.exp(-(1 - decay) * elapsed);
-            position = from + v0 / (1 - decay) * (1 - e);
-            finished = Math.abs(node.lastPosition - position) < 0.1;
-            velocity = v0 * e;
-          } else {
-              velocity = node.lastVelocity == null ? v0 : node.lastVelocity;
-              const precision = config.precision || (from == to ? 0.005 : Math.min(1, Math.abs(to - from) * 0.001));
-              const restVelocity = config.restVelocity || precision / 10;
-              const bounceFactor = config.clamp ? 0 : config.bounce;
-              const canBounce = !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(bounceFactor);
-              const isGrowing = from == to ? node.v0 > 0 : from < to;
-              let isMoving;
-              let isBouncing = false;
-              const step = 1;
-              const numSteps = Math.ceil(dt / step);
+    if (newWidth === undefined || newWidth === '') {
+      newStyle = cleanEmptyObject(newStyle);
+    }

-              for (let n = 0; n < numSteps; ++n) {
-                isMoving = Math.abs(velocity) > restVelocity;
+    setAttributes({
+      borderColor: borderPaletteColor,
+      style: newStyle
+    });
+  };

-                if (!isMoving) {
-                  finished = Math.abs(to - position) <= precision;
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: useSetting('spacing.units') || ['px', 'em', 'rem']
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+    value: width,
+    label: (0,external_wp_i18n_namespaceObject.__)('Width'),
+    min: MIN_BORDER_WIDTH,
+    onChange: onChange,
+    units: units
+  });
+};

-                  if (finished) {
-                    break;
-                  }
-                }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border.js

-                if (canBounce) {
-                  isBouncing = position == to || position > to == isGrowing;

-                  if (isBouncing) {
-                    velocity = -velocity * bounceFactor;
-                    position = to;
-                  }
-                }
+/**
+ * WordPress dependencies
+ */

-                const springForce = -config.tension * 0.000001 * (position - to);
-                const dampingForce = -config.friction * 0.001 * velocity;
-                const acceleration = (springForce + dampingForce) / config.mass;
-                velocity = velocity + acceleration * step;
-                position = position + velocity * step;
-              }
-            }

-        node.lastVelocity = velocity;

-        if (Number.isNaN(position)) {
-          console.warn(`Got NaN while animating:`, this);
-          finished = true;
-        }
-      }

-      if (payload && !payload[i].done) {
-        finished = false;
-      }
+/**
+ * Internal dependencies
+ */
+

-      if (finished) {
-        node.done = true;
-      } else {
-        idle = false;
-      }

-      if (node.setValue(position, config.round)) {
-        changed = true;
-      }
-    });
-    const node = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimated */ "e"])(this);
-    const currVal = node.getValue();

-    if (idle) {
-      const finalVal = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(anim.to);

-      if ((currVal !== finalVal || changed) && !config.decay) {
-        node.setValue(finalVal);

-        this._onChange(finalVal);
-      } else if (changed && config.decay) {
-        this._onChange(currVal);
-      }

-      this._stop();
-    } else if (changed) {
-      this._onChange(currVal);
-    }
+const BORDER_SUPPORT_KEY = '__experimentalBorder';
+function BorderPanel(props) {
+  const isDisabled = useIsBorderDisabled(props);
+  const isSupported = hasBorderSupport(props.name);
+  const isColorSupported = useSetting('border.color') && hasBorderSupport(props.name, 'color');
+  const isRadiusSupported = useSetting('border.radius') && hasBorderSupport(props.name, 'radius');
+  const isStyleSupported = useSetting('border.style') && hasBorderSupport(props.name, 'style');
+  const isWidthSupported = useSetting('border.width') && hasBorderSupport(props.name, 'width');
+
+  if (isDisabled || !isSupported) {
+    return null;
   }

-  set(value) {
-    _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].batchedUpdates(() => {
-      this._stop();
+  return (0,external_wp_element_namespaceObject.createElement)(inspector_controls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    className: "block-editor-hooks__border-controls",
+    title: (0,external_wp_i18n_namespaceObject.__)('Border'),
+    initialOpen: false
+  }, (isWidthSupported || isStyleSupported) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-hooks__border-controls-row"
+  }, isWidthSupported && (0,external_wp_element_namespaceObject.createElement)(BorderWidthEdit, props), isStyleSupported && (0,external_wp_element_namespaceObject.createElement)(BorderStyleEdit, props)), isColorSupported && (0,external_wp_element_namespaceObject.createElement)(BorderColorEdit, props), isRadiusSupported && (0,external_wp_element_namespaceObject.createElement)(BorderRadiusEdit, props)));
+}
+/**
+ * Determine whether there is block support for border properties.
+ *
+ * @param {string} blockName Block name.
+ * @param {string} feature   Border feature to check support for.
+ *
+ * @return {boolean} Whether there is support.
+ */

-      this._focus(value);
+function hasBorderSupport(blockName) {
+  let feature = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'any';

-      this._set(value);
-    });
-    return this;
+  if (external_wp_element_namespaceObject.Platform.OS !== 'web') {
+    return false;
   }

-  pause() {
-    this._update({
-      pause: true
-    });
+  const support = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockName, BORDER_SUPPORT_KEY);
+
+  if (support === true) {
+    return true;
   }

-  resume() {
-    this._update({
-      pause: false
-    });
+  if (feature === 'any') {
+    return !!(support !== null && support !== void 0 && support.color || support !== null && support !== void 0 && support.radius || support !== null && support !== void 0 && support.width || support !== null && support !== void 0 && support.style);
   }

-  finish() {
-    if (isAnimating(this)) {
-      const {
-        to,
-        config
-      } = this.animation;
-      _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].batchedUpdates(() => {
-        this._onStart();
+  return !!(support !== null && support !== void 0 && support[feature]);
+}
+/**
+ * Check whether serialization of border classes and styles should be skipped.
+ *
+ * @param {string|Object} blockType Block name or block type object.
+ *
+ * @return {boolean} Whether serialization of border properties should occur.
+ */

-        if (!config.decay) {
-          this._set(to, false);
-        }
+function shouldSkipSerialization(blockType) {
+  const support = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, BORDER_SUPPORT_KEY);
+  return support === null || support === void 0 ? void 0 : support.__experimentalSkipSerialization;
+}
+/**
+ * Determines if all border support features have been disabled.
+ *
+ * @return {boolean} If border support is completely disabled.
+ */

-        this._stop();
-      });
-    }
+const useIsBorderDisabled = () => {
+  const configs = [!useSetting('border.color'), !useSetting('border.radius'), !useSetting('border.style'), !useSetting('border.width')];
+  return configs.every(Boolean);
+};

-    return this;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradients/use-gradient.js
+/**
+ * External dependencies
+ */

-  update(props) {
-    const queue = this.queue || (this.queue = []);
-    queue.push(props);
-    return this;
-  }
+/**
+ * WordPress dependencies
+ */

-  start(to, arg2) {
-    let queue;

-    if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(to)) {
-      queue = [_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(to) ? to : _extends({}, arg2, {
-        to
-      })];
-    } else {
-      queue = this.queue || [];
-      this.queue = [];
-    }

-    return Promise.all(queue.map(props => {
-      const up = this._update(props);
+/**
+ * Internal dependencies
+ */

-      return up;
-    })).then(results => getCombinedResult(this, results));
-  }

-  stop(cancel) {
-    const {
-      to
-    } = this.animation;

-    this._focus(this.get());

-    stopAsync(this._state, cancel && this._lastCallId);
-    _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].batchedUpdates(() => this._stop(to, cancel));
-    return this;
+function __experimentalGetGradientClass(gradientSlug) {
+  if (!gradientSlug) {
+    return undefined;
   }

-  reset() {
-    this._update({
-      reset: true
-    });
-  }
+  return `has-${gradientSlug}-gradient-background`;
+}
+/**
+ * Retrieves the gradient value per slug.
+ *
+ * @param {Array}  gradients Gradient Palette
+ * @param {string} slug      Gradient slug
+ *
+ * @return {string} Gradient value.
+ */

-  eventObserved(event) {
-    if (event.type == 'change') {
-      this._start();
-    } else if (event.type == 'priority') {
-      this.priority = event.priority + 1;
+function getGradientValueBySlug(gradients, slug) {
+  const gradient = (0,external_lodash_namespaceObject.find)(gradients, ['slug', slug]);
+  return gradient && gradient.gradient;
+}
+function __experimentalGetGradientObjectByGradientValue(gradients, value) {
+  const gradient = (0,external_lodash_namespaceObject.find)(gradients, ['gradient', value]);
+  return gradient;
+}
+/**
+ * Retrieves the gradient slug per slug.
+ *
+ * @param {Array}  gradients Gradient Palette
+ * @param {string} value     Gradient value
+ * @return {string} Gradient slug.
+ */
+
+function getGradientSlugByValue(gradients, value) {
+  const gradient = __experimentalGetGradientObjectByGradientValue(gradients, value);
+
+  return gradient && gradient.slug;
+}
+function __experimentalUseGradient() {
+  let {
+    gradientAttribute = 'gradient',
+    customGradientAttribute = 'customGradient'
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const {
+    clientId
+  } = useBlockEditContext();
+  const userGradientPalette = useSetting('color.gradients.custom');
+  const themeGradientPalette = useSetting('color.gradients.theme');
+  const defaultGradientPalette = useSetting('color.gradients.default');
+  const allGradients = (0,external_wp_element_namespaceObject.useMemo)(() => [...(userGradientPalette || []), ...(themeGradientPalette || []), ...(defaultGradientPalette || [])], [userGradientPalette, themeGradientPalette, defaultGradientPalette]);
+  const {
+    gradient,
+    customGradient
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockAttributes
+    } = select(store);
+    const attributes = getBlockAttributes(clientId) || {};
+    return {
+      customGradient: attributes[customGradientAttribute],
+      gradient: attributes[gradientAttribute]
+    };
+  }, [clientId, gradientAttribute, customGradientAttribute]);
+  const {
+    updateBlockAttributes
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const setGradient = (0,external_wp_element_namespaceObject.useCallback)(newGradientValue => {
+    const slug = getGradientSlugByValue(allGradients, newGradientValue);
+
+    if (slug) {
+      updateBlockAttributes(clientId, {
+        [gradientAttribute]: slug,
+        [customGradientAttribute]: undefined
+      });
+      return;
     }
+
+    updateBlockAttributes(clientId, {
+      [gradientAttribute]: undefined,
+      [customGradientAttribute]: newGradientValue
+    });
+  }, [allGradients, clientId, updateBlockAttributes]);
+
+  const gradientClass = __experimentalGetGradientClass(gradient);
+
+  let gradientValue;
+
+  if (gradient) {
+    gradientValue = getGradientValueBySlug(allGradients, gradient);
+  } else {
+    gradientValue = customGradient;
   }

-  _prepareNode(props) {
-    const key = this.key || '';
-    let {
-      to,
-      from
-    } = props;
-    to = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(to) ? to[key] : to;
+  return {
+    gradientClass,
+    gradientValue,
+    setGradient
+  };
+}

-    if (to == null || isAsyncTo(to)) {
-      to = undefined;
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/panel-color-gradient-settings.js

-    from = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(from) ? from[key] : from;

-    if (from == null) {
-      from = undefined;
-    }

-    const range = {
-      to,
-      from
-    };
+/**
+ * External dependencies
+ */

-    if (!hasAnimated(this)) {
-      if (props.reverse) [to, from] = [from, to];
-      from = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(from);

-      if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(from)) {
-        this._set(from);
-      } else if (!Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimated */ "e"])(this)) {
-          this._set(to);
-        }
-    }
+/**
+ * WordPress dependencies
+ */

-    return range;
-  }

-  _update(_ref, isLoop) {
-    let props = _extends({}, _ref);

-    const {
-      key,
-      defaultProps
-    } = this;
-    if (props.default) Object.assign(defaultProps, getDefaultProps(props, (value, prop) => /^on/.test(prop) ? resolveProp(value, key) : value));
-    mergeActiveFn(this, props, 'onProps');
-    sendEvent(this, 'onProps', props, this);
+/**
+ * Internal dependencies
+ */

-    const range = this._prepareNode(props);

-    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 state = this._state;
-    return scheduleProps(++this._lastCallId, {
-      key,
-      props,
-      defaultProps,
-      state,
-      actions: {
-        pause: () => {
-          if (!isPaused(this)) {
-            setPausedBit(this, true);
-            Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* flushCalls */ "n"])(state.pauseQueue);
-            sendEvent(this, 'onPause', getFinishedResult(this, checkFinished(this, this.animation.to)), this);
-          }
-        },
-        resume: () => {
-          if (isPaused(this)) {
-            setPausedBit(this, false);

-            if (isAnimating(this)) {
-              this._resume();
-            }

-            Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* flushCalls */ "n"])(state.resumeQueue);
-            sendEvent(this, 'onResume', getFinishedResult(this, checkFinished(this, this.animation.to)), this);
-          }
-        },
-        start: this._merge.bind(this, range)
-      }
-    }).then(result => {
-      if (props.loop && result.finished && !(isLoop && result.noop)) {
-        const nextProps = createLoopUpdate(props);

-        if (nextProps) {
-          return this._update(nextProps, true);
-        }
-      }
+ // translators: first %s: The type of color or gradient (e.g. background, overlay...), second %s: the color name or value (e.g. red or #ff0000)

-      return result;
-    });
-  }
+const colorIndicatorAriaLabel = (0,external_wp_i18n_namespaceObject.__)('(%s: color %s)'); // translators: first %s: The type of color or gradient (e.g. background, overlay...), second %s: the color name or value (e.g. red or #ff0000)

-  _merge(range, props, resolve) {
-    if (props.cancel) {
-      this.stop(true);
-      return resolve(getCancelledResult(this));
-    }

-    const hasToProp = !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(range.to);
-    const hasFromProp = !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(range.from);
+const gradientIndicatorAriaLabel = (0,external_wp_i18n_namespaceObject.__)('(%s: gradient %s)');

-    if (hasToProp || hasFromProp) {
-      if (props.callId > this._lastToId) {
-        this._lastToId = props.callId;
-      } else {
-        return resolve(getCancelledResult(this));
-      }
-    }
+const panel_color_gradient_settings_colorsAndGradientKeys = ['colors', 'disableCustomColors', 'gradients', 'disableCustomGradients'];

-    const {
-      key,
-      defaultProps,
-      animation: anim
-    } = this;
-    const {
-      to: prevTo,
-      from: prevFrom
-    } = anim;
+const Indicators = _ref => {
+  let {
+    colors,
+    gradients,
+    settings
+  } = _ref;
+  return settings.map((_ref2, index) => {
     let {
-      to = prevTo,
-      from = prevFrom
-    } = range;
+      colorValue,
+      gradientValue,
+      label,
+      colors: availableColors,
+      gradients: availableGradients
+    } = _ref2;

-    if (hasFromProp && !hasToProp && (!props.default || _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(to))) {
-      to = from;
+    if (!colorValue && !gradientValue) {
+      return null;
     }

-    if (props.reverse) [to, from] = [from, to];
-    const hasFromChanged = !Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isEqual */ "u"])(from, prevFrom);
-
-    if (hasFromChanged) {
-      anim.from = from;
-    }
+    let ariaLabel;

-    from = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(from);
-    const hasToChanged = !Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isEqual */ "u"])(to, prevTo);
+    if (colorValue) {
+      const colorObject = getColorObjectByColorValue(availableColors || colors, colorValue);
+      ariaLabel = (0,external_wp_i18n_namespaceObject.sprintf)(colorIndicatorAriaLabel, label.toLowerCase(), colorObject && colorObject.name || colorValue);
+    } else {
+      const gradientObject = __experimentalGetGradientObjectByGradientValue(availableGradients || gradients, colorValue);

-    if (hasToChanged) {
-      this._focus(to);
+      ariaLabel = (0,external_wp_i18n_namespaceObject.sprintf)(gradientIndicatorAriaLabel, label.toLowerCase(), gradientObject && gradientObject.name || gradientValue);
     }

-    const hasAsyncTo = isAsyncTo(props.to);
-    const {
-      config
-    } = anim;
-    const {
-      decay,
-      velocity
-    } = config;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ColorIndicator, {
+      key: index,
+      colorValue: colorValue || gradientValue,
+      "aria-label": ariaLabel
+    });
+  });
+};

-    if (hasToProp || hasFromProp) {
-      config.velocity = 0;
-    }
+const PanelColorGradientSettingsInner = _ref3 => {
+  let {
+    className,
+    colors,
+    gradients,
+    disableCustomColors,
+    disableCustomGradients,
+    children,
+    settings,
+    title,
+    showTitle = true,
+    __experimentalHasMultipleOrigins,
+    __experimentalIsRenderedInSidebar,
+    enableAlpha,
+    ...props
+  } = _ref3;

-    if (props.config && !hasAsyncTo) {
-      mergeConfig(config, callProp(props.config, key), props.config !== defaultProps.config ? callProp(defaultProps.config, key) : void 0);
-    }
+  if ((0,external_lodash_namespaceObject.isEmpty)(colors) && (0,external_lodash_namespaceObject.isEmpty)(gradients) && disableCustomColors && disableCustomGradients && (0,external_lodash_namespaceObject.every)(settings, setting => (0,external_lodash_namespaceObject.isEmpty)(setting.colors) && (0,external_lodash_namespaceObject.isEmpty)(setting.gradients) && (setting.disableCustomColors === undefined || setting.disableCustomColors) && (setting.disableCustomGradients === undefined || setting.disableCustomGradients))) {
+    return null;
+  }
+
+  const titleElement = (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-panel-color-gradient-settings__panel-title"
+  }, title, (0,external_wp_element_namespaceObject.createElement)(Indicators, {
+    colors: colors,
+    gradients: gradients,
+    settings: settings
+  }));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, _extends({
+    className: classnames_default()('block-editor-panel-color-gradient-settings', className),
+    title: showTitle ? titleElement : undefined
+  }, props), (0,external_wp_element_namespaceObject.createElement)(ColorGradientSettingsDropdown, {
+    settings: settings,
+    colors,
+    gradients,
+    disableCustomColors,
+    disableCustomGradients,
+    __experimentalHasMultipleOrigins,
+    __experimentalIsRenderedInSidebar,
+    enableAlpha
+  }), !!children && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalSpacer, {
+    marginY: 4
+  }), " ", children));
+};

-    let node = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimated */ "e"])(this);
+const PanelColorGradientSettingsSingleSelect = props => {
+  const colorGradientSettings = useCommonSingleMultipleSelects();
+  colorGradientSettings.colors = useSetting('color.palette');
+  colorGradientSettings.gradients = useSetting('color.gradients');
+  return (0,external_wp_element_namespaceObject.createElement)(PanelColorGradientSettingsInner, _extends({}, colorGradientSettings, props));
+};

-    if (!node || _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(to)) {
-      return resolve(getFinishedResult(this, true));
-    }
+const PanelColorGradientSettingsMultipleSelect = props => {
+  const colorGradientSettings = useMultipleOriginColorsAndGradients();
+  return (0,external_wp_element_namespaceObject.createElement)(PanelColorGradientSettingsInner, _extends({}, colorGradientSettings, props));
+};

-    const reset = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.reset) ? hasFromProp && !props.default : !_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(from) && matchProp(props.reset, key);
-    const value = reset ? from : this.get();
-    const goal = computeGoal(to);
-    const isAnimatable = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].num(goal) || _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].arr(goal) || Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isAnimatedString */ "t"])(goal);
-    const immediate = !hasAsyncTo && (!isAnimatable || matchProp(defaultProps.immediate || props.immediate, key));
+const PanelColorGradientSettings = props => {
+  if ((0,external_lodash_namespaceObject.every)(panel_color_gradient_settings_colorsAndGradientKeys, key => props.hasOwnProperty(key))) {
+    return (0,external_wp_element_namespaceObject.createElement)(PanelColorGradientSettingsInner, props);
+  }

-    if (hasToChanged) {
-      const nodeType = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimatedType */ "f"])(to);
+  if (props.__experimentalHasMultipleOrigins) {
+    return (0,external_wp_element_namespaceObject.createElement)(PanelColorGradientSettingsMultipleSelect, props);
+  }

-      if (nodeType !== node.constructor) {
-        if (immediate) {
-          node = this._set(goal);
-        } else throw Error(`Cannot animate between ${node.constructor.name} and ${nodeType.name}, as the "to" prop suggests`);
-      }
-    }
+  return (0,external_wp_element_namespaceObject.createElement)(PanelColorGradientSettingsSingleSelect, props);
+};

-    const goalType = node.constructor;
-    let started = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(to);
-    let finished = false;
+/* harmony default export */ var panel_color_gradient_settings = (PanelColorGradientSettings);

-    if (!started) {
-      const hasValueChanged = reset || !hasAnimated(this) && hasFromChanged;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js

-      if (hasToChanged || hasValueChanged) {
-        finished = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isEqual */ "u"])(computeGoal(value), goal);
-        started = !finished;
-      }

-      if (!Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isEqual */ "u"])(anim.immediate, immediate) && !immediate || !Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isEqual */ "u"])(config.decay, decay) || !Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isEqual */ "u"])(config.velocity, velocity)) {
-        started = true;
-      }
-    }
+/**
+ * External dependencies
+ */

-    if (finished && isAnimating(this)) {
-      if (anim.changed && !reset) {
-        started = true;
-      } else if (!started) {
-          this._stop(prevTo);
-        }
-    }

-    if (!hasAsyncTo) {
-      if (started || Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(prevTo)) {
-        anim.values = node.getPayload();
-        anim.toValues = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(to) ? null : goalType == _react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* AnimatedString */ "b"] ? [1] : Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(goal);
-      }

-      if (anim.immediate != immediate) {
-        anim.immediate = immediate;
+/**
+ * WordPress dependencies
+ */

-        if (!immediate && !reset) {
-          this._set(prevTo);
-        }
-      }

-      if (started) {
-        const {
-          onRest
-        } = anim;
-        Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(ACTIVE_EVENTS, type => mergeActiveFn(this, props, type));
-        const result = getFinishedResult(this, checkFinished(this, prevTo));
-        Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* flushCalls */ "n"])(this._pendingCalls, result);

-        this._pendingCalls.add(resolve);

-        if (anim.changed) _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].batchedUpdates(() => {
-          anim.changed = !reset;
-          onRest == null ? void 0 : onRest(result, this);

-          if (reset) {
-            callProp(defaultProps.onRest, result);
-          } else {
-              anim.onStart == null ? void 0 : anim.onStart(result, this);
-            }
-        });
-      }
-    }
+k([names, a11y]);

-    if (reset) {
-      this._set(value);
-    }
+function ContrastCheckerMessage(_ref) {
+  let {
+    colordBackgroundColor,
+    colordTextColor,
+    backgroundColor,
+    textColor
+  } = _ref;
+  const msg = colordBackgroundColor.brightness() < colordTextColor.brightness() ? (0,external_wp_i18n_namespaceObject.__)('This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color.') : (0,external_wp_i18n_namespaceObject.__)('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
+  // new color combination is selected and the contrast is still insufficient.

-    if (hasAsyncTo) {
-      resolve(runAsync(props.to, props, this._state, this));
-    } else if (started) {
-        this._start();
-      } else if (isAnimating(this) && !hasToChanged) {
-          this._pendingCalls.add(resolve);
-        } else {
-            resolve(getNoopResult(value));
-          }
-  }
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('This color combination may be hard for people to read.'));
+  }, [backgroundColor, textColor]);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-contrast-checker"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Notice, {
+    spokenMessage: null,
+    status: "warning",
+    isDismissible: false
+  }, msg));
+}

-  _focus(value) {
-    const anim = this.animation;
+function ContrastChecker(_ref2) {
+  let {
+    backgroundColor,
+    fallbackBackgroundColor,
+    fallbackTextColor,
+    fontSize,
+    // font size value in pixels
+    isLargeText,
+    textColor
+  } = _ref2;

-    if (value !== anim.to) {
-      if (Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidObservers */ "p"])(this)) {
-        this._detach();
-      }
+  if (!(backgroundColor || fallbackBackgroundColor) || !(textColor || fallbackTextColor)) {
+    return null;
+  }

-      anim.to = value;
+  const colordBackgroundColor = w(backgroundColor || fallbackBackgroundColor);
+  const colordTextColor = w(textColor || fallbackTextColor);
+  const hasTransparency = colordBackgroundColor.alpha() !== 1 || colordTextColor.alpha() !== 1;

-      if (Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidObservers */ "p"])(this)) {
-        this._attach();
-      }
-    }
+  if (hasTransparency || colordTextColor.isReadable(colordBackgroundColor, {
+    level: 'AA',
+    size: isLargeText || isLargeText !== false && fontSize >= 24 ? 'large' : 'small'
+  })) {
+    return null;
   }

-  _attach() {
-    let priority = 0;
-    const {
-      to
-    } = this.animation;
+  return (0,external_wp_element_namespaceObject.createElement)(ContrastCheckerMessage, {
+    backgroundColor: backgroundColor,
+    textColor: textColor,
+    colordBackgroundColor: colordBackgroundColor,
+    colordTextColor: colordTextColor
+  });
+}

-    if (Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(to)) {
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* addFluidObserver */ "c"])(to, this);
+/* harmony default export */ var contrast_checker = (ContrastChecker);

-      if (isFrameValue(to)) {
-        priority = to.priority + 1;
-      }
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/color-panel.js

-    this.priority = priority;
-  }

-  _detach() {
-    const {
-      to
-    } = this.animation;
+/**
+ * WordPress dependencies
+ */

-    if (Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(to)) {
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* removeFluidObserver */ "x"])(to, this);
-    }
-  }

-  _set(arg, idle = true) {
-    const value = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(arg);
+/**
+ * Internal dependencies
+ */

-    if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(value)) {
-      const oldNode = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimated */ "e"])(this);

-      if (!oldNode || !Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isEqual */ "u"])(value, oldNode.getValue())) {
-        const nodeType = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimatedType */ "f"])(value);

-        if (!oldNode || oldNode.constructor != nodeType) {
-          Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* setAnimated */ "h"])(this, nodeType.create(value));
-        } else {
-          oldNode.setValue(value);
-        }

-        if (oldNode) {
-          _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].batchedUpdates(() => {
-            this._onChange(value, idle);
-          });
-        }
-      }
-    }

-    return Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimated */ "e"])(this);
-  }

-  _onStart() {
-    const anim = this.animation;
+function getComputedStyle(node) {
+  return node.ownerDocument.defaultView.getComputedStyle(node);
+}

-    if (!anim.changed) {
-      anim.changed = true;
-      sendEvent(this, 'onStart', getFinishedResult(this, checkFinished(this, anim.to)), this);
+function ColorPanel(_ref) {
+  let {
+    settings,
+    clientId,
+    enableContrastChecking = true,
+    showTitle = true
+  } = _ref;
+  const [detectedBackgroundColor, setDetectedBackgroundColor] = (0,external_wp_element_namespaceObject.useState)();
+  const [detectedColor, setDetectedColor] = (0,external_wp_element_namespaceObject.useState)();
+  const ref = useBlockRef(clientId);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!enableContrastChecking) {
+      return;
     }
-  }
-
-  _onChange(value, idle) {
-    if (!idle) {
-      this._onStart();

-      callProp(this.animation.onChange, value, this);
+    if (!ref.current) {
+      return;
     }

-    callProp(this.defaultProps.onChange, value, this);
-
-    super._onChange(value, idle);
-  }
-
-  _start() {
-    const anim = this.animation;
-    Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimated */ "e"])(this).reset(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(anim.to));
+    setDetectedColor(getComputedStyle(ref.current).color);
+    let backgroundColorNode = ref.current;
+    let backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor;

-    if (!anim.immediate) {
-      anim.fromValues = anim.values.map(node => node.lastPosition);
+    while (backgroundColor === 'rgba(0, 0, 0, 0)' && backgroundColorNode.parentNode && backgroundColorNode.parentNode.nodeType === backgroundColorNode.parentNode.ELEMENT_NODE) {
+      backgroundColorNode = backgroundColorNode.parentNode;
+      backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor;
     }

-    if (!isAnimating(this)) {
-      setActiveBit(this, true);
+    setDetectedBackgroundColor(backgroundColor);
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(inspector_controls, null, (0,external_wp_element_namespaceObject.createElement)(panel_color_gradient_settings, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Color'),
+    initialOpen: false,
+    settings: settings,
+    showTitle: showTitle,
+    __experimentalHasMultipleOrigins: true,
+    __experimentalIsRenderedInSidebar: true
+  }, enableContrastChecking && (0,external_wp_element_namespaceObject.createElement)(contrast_checker, {
+    backgroundColor: detectedBackgroundColor,
+    textColor: detectedColor
+  })));
+}

-      if (!isPaused(this)) {
-        this._resume();
-      }
-    }
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/color.js

-  _resume() {
-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* Globals */ "b"].skipAnimation) {
-      this.finish();
-    } else {
-      _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* frameLoop */ "o"].start(this);
-    }
-  }

-  _stop(goal, cancel) {
-    if (isAnimating(this)) {
-      setActiveBit(this, false);
-      const anim = this.animation;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(anim.values, node => {
-        node.done = true;
-      });

-      if (anim.toValues) {
-        anim.onChange = anim.onPause = anim.onResume = undefined;
-      }
+/**
+ * External dependencies
+ */

-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* callFluidObservers */ "d"])(this, {
-        type: 'idle',
-        parent: this
-      });
-      const result = cancel ? getCancelledResult(this.get()) : getFinishedResult(this.get(), checkFinished(this, goal != null ? goal : anim.to));
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* flushCalls */ "n"])(this._pendingCalls, result);

-      if (anim.changed) {
-        anim.changed = false;
-        sendEvent(this, 'onRest', result, this);
-      }
-    }
-  }
+/**
+ * WordPress dependencies
+ */

-}

-function checkFinished(target, to) {
-  const goal = computeGoal(to);
-  const value = computeGoal(target.get());
-  return Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isEqual */ "u"])(value, goal);
-}

-function createLoopUpdate(props, loop = props.loop, to = props.to) {
-  let loopRet = callProp(loop);

-  if (loopRet) {
-    const overrides = loopRet !== true && inferTo(loopRet);
-    const reverse = (overrides || props).reverse;
-    const reset = !overrides || overrides.reset;
-    return createUpdate(_extends({}, props, {
-      loop,
-      default: false,
-      pause: undefined,
-      to: !reverse || isAsyncTo(to) ? to : undefined,
-      from: reset ? props.from : undefined,
-      reset
-    }, overrides));
-  }
-}
-function createUpdate(props) {
-  const {
-    to,
-    from
-  } = props = inferTo(props);
-  const keys = new Set();
-  if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(to)) findDefined(to, keys);
-  if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(from)) findDefined(from, keys);
-  props.keys = keys.size ? Array.from(keys) : null;
-  return props;
-}
-function declareUpdate(props) {
-  const update = createUpdate(props);

-  if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(update.default)) {
-    update.default = getDefaultProps(update);
-  }

-  return update;
-}
+/**
+ * Internal dependencies
+ */

-function findDefined(values, keys) {
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* eachProp */ "l"])(values, (value, key) => value != null && keys.add(key));
-}

-const ACTIVE_EVENTS = ['onStart', 'onRest', 'onChange', 'onPause', 'onResume'];

-function mergeActiveFn(target, props, type) {
-  target.animation[type] = props[type] !== getDefaultProp(props, type) ? resolveProp(props[type], target.key) : undefined;
-}

-function sendEvent(target, type, ...args) {
-  var _target$animation$typ, _target$animation, _target$defaultProps$, _target$defaultProps;

-  (_target$animation$typ = (_target$animation = target.animation)[type]) == null ? void 0 : _target$animation$typ.call(_target$animation, ...args);
-  (_target$defaultProps$ = (_target$defaultProps = target.defaultProps)[type]) == null ? void 0 : _target$defaultProps$.call(_target$defaultProps, ...args);
-}

-const BATCHED_EVENTS = ['onStart', 'onChange', 'onRest'];
-let nextId = 1;
-class Controller {
-  constructor(props, flush) {
-    this.id = nextId++;
-    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 = false;
-    this._item = void 0;
-    this._state = {
-      paused: false,
-      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);
+const COLOR_SUPPORT_KEY = 'color';

-    if (flush) {
-      this._flush = flush;
-    }
+const hasColorSupport = blockType => {
+  const colorSupport = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, COLOR_SUPPORT_KEY);
+  return colorSupport && (colorSupport.link === true || colorSupport.gradient === true || colorSupport.background !== false || colorSupport.text !== false);
+};

-    if (props) {
-      this.start(_extends({
-        default: true
-      }, props));
-    }
-  }
+const color_shouldSkipSerialization = blockType => {
+  const colorSupport = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, COLOR_SUPPORT_KEY);
+  return colorSupport === null || colorSupport === void 0 ? void 0 : colorSupport.__experimentalSkipSerialization;
+};

-  get idle() {
-    return !this._state.asyncTo && Object.values(this.springs).every(spring => {
-      return spring.idle && !spring.isDelayed && !spring.isPaused;
-    });
+const hasLinkColorSupport = blockType => {
+  if (external_wp_element_namespaceObject.Platform.OS !== 'web') {
+    return false;
   }

-  get item() {
-    return this._item;
-  }
+  const colorSupport = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, COLOR_SUPPORT_KEY);
+  return (0,external_lodash_namespaceObject.isObject)(colorSupport) && !!colorSupport.link;
+};

-  set item(item) {
-    this._item = item;
-  }
+const hasGradientSupport = blockType => {
+  const colorSupport = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, COLOR_SUPPORT_KEY);
+  return (0,external_lodash_namespaceObject.isObject)(colorSupport) && !!colorSupport.gradients;
+};

-  get() {
-    const values = {};
-    this.each((spring, key) => values[key] = spring.get());
-    return values;
-  }
+const hasBackgroundColorSupport = blockType => {
+  const colorSupport = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, COLOR_SUPPORT_KEY);
+  return colorSupport && colorSupport.background !== false;
+};

-  set(values) {
-    for (const key in values) {
-      const value = values[key];
+const hasTextColorSupport = blockType => {
+  const colorSupport = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, COLOR_SUPPORT_KEY);
+  return colorSupport && colorSupport.text !== false;
+};
+/**
+ * Filters registered block settings, extending attributes to include
+ * `backgroundColor` and `textColor` attribute.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
+ */

-      if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(value)) {
-        this.springs[key].set(value);
+
+function color_addAttributes(settings) {
+  if (!hasColorSupport(settings)) {
+    return settings;
+  } // allow blocks to specify their own attribute definition with default values if needed.
+
+
+  if (!settings.attributes.backgroundColor) {
+    Object.assign(settings.attributes, {
+      backgroundColor: {
+        type: 'string'
       }
-    }
+    });
   }

-  update(props) {
-    if (props) {
-      this.queue.push(createUpdate(props));
-    }
+  if (!settings.attributes.textColor) {
+    Object.assign(settings.attributes, {
+      textColor: {
+        type: 'string'
+      }
+    });
+  }

-    return this;
+  if (hasGradientSupport(settings) && !settings.attributes.gradient) {
+    Object.assign(settings.attributes, {
+      gradient: {
+        type: 'string'
+      }
+    });
   }

-  start(props) {
-    let {
-      queue
-    } = this;
+  return settings;
+}
+/**
+ * Override props assigned to save component to inject colors classnames.
+ *
+ * @param {Object} props      Additional props applied to save element.
+ * @param {Object} blockType  Block type.
+ * @param {Object} attributes Block attributes.
+ *
+ * @return {Object} Filtered props applied to save element.
+ */

-    if (props) {
-      queue = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(props).map(createUpdate);
-    } else {
-      this.queue = [];
-    }

-    if (this._flush) {
-      return this._flush(this, queue);
-    }
+function color_addSaveProps(props, blockType, attributes) {
+  var _style$color, _style$color2, _style$color3, _style$color4, _style$elements, _style$elements$link;

-    prepareKeys(this, queue);
-    return flushUpdateQueue(this, queue);
+  if (!hasColorSupport(blockType) || color_shouldSkipSerialization(blockType)) {
+    return props;
   }

-  stop(arg, keys) {
-    if (arg !== !!arg) {
-      keys = arg;
-    }
-
-    if (keys) {
-      const springs = this.springs;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(keys), key => springs[key].stop(!!arg));
-    } else {
-      stopAsync(this._state, this._lastAsyncId);
-      this.each(spring => spring.stop(!!arg));
-    }
-
-    return this;
-  }
+  const hasGradient = hasGradientSupport(blockType); // I'd have prefered to avoid the "style" attribute usage here

-  pause(keys) {
-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(keys)) {
-      this.start({
-        pause: true
-      });
-    } else {
-      const springs = this.springs;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(keys), key => springs[key].pause());
-    }
+  const {
+    backgroundColor,
+    textColor,
+    gradient,
+    style
+  } = attributes;
+  const backgroundClass = getColorClassName('background-color', backgroundColor);

-    return this;
-  }
+  const gradientClass = __experimentalGetGradientClass(gradient);

-  resume(keys) {
-    if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(keys)) {
-      this.start({
-        pause: false
-      });
-    } else {
-      const springs = this.springs;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(keys), key => springs[key].resume());
-    }
+  const textClass = getColorClassName('color', textColor);
+  const newClassName = classnames_default()(props.className, textClass, gradientClass, {
+    // Don't apply the background class if there's a custom gradient
+    [backgroundClass]: (!hasGradient || !(style !== null && style !== void 0 && (_style$color = style.color) !== null && _style$color !== void 0 && _style$color.gradient)) && !!backgroundClass,
+    'has-text-color': textColor || (style === null || style === void 0 ? void 0 : (_style$color2 = style.color) === null || _style$color2 === void 0 ? void 0 : _style$color2.text),
+    'has-background': backgroundColor || (style === null || style === void 0 ? void 0 : (_style$color3 = style.color) === null || _style$color3 === void 0 ? void 0 : _style$color3.background) || hasGradient && (gradient || (style === null || style === void 0 ? void 0 : (_style$color4 = style.color) === null || _style$color4 === void 0 ? void 0 : _style$color4.gradient)),
+    'has-link-color': style === null || style === void 0 ? void 0 : (_style$elements = style.elements) === null || _style$elements === void 0 ? void 0 : (_style$elements$link = _style$elements.link) === null || _style$elements$link === void 0 ? void 0 : _style$elements$link.color
+  });
+  props.className = newClassName ? newClassName : undefined;
+  return props;
+}
+/**
+ * Filters registered block settings to extand the block edit wrapper
+ * to apply the desired styles and classnames properly.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
+ */

-    return this;
+function color_addEditProps(settings) {
+  if (!hasColorSupport(settings) || color_shouldSkipSerialization(settings)) {
+    return settings;
   }

-  each(iterator) {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* eachProp */ "l"])(this.springs, iterator);
-  }
+  const existingGetEditWrapperProps = settings.getEditWrapperProps;

-  _onFrame() {
-    const {
-      onStart,
-      onChange,
-      onRest
-    } = this._events;
-    const active = this._active.size > 0;
-    const changed = this._changed.size > 0;
+  settings.getEditWrapperProps = attributes => {
+    let props = {};

-    if (active && !this._started || changed && !this._started) {
-      this._started = true;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* flush */ "m"])(onStart, ([onStart, result]) => {
-        result.value = this.get();
-        onStart(result, this, this._item);
-      });
+    if (existingGetEditWrapperProps) {
+      props = existingGetEditWrapperProps(attributes);
     }

-    const idle = !active && this._started;
-    const values = changed || idle && onRest.size ? this.get() : null;
+    return color_addSaveProps(props, settings, attributes);
+  };

-    if (changed && onChange.size) {
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* flush */ "m"])(onChange, ([onChange, result]) => {
-        result.value = values;
-        onChange(result, this, this._item);
-      });
-    }
+  return settings;
+}

-    if (idle) {
-      this._started = false;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* flush */ "m"])(onRest, ([onRest, result]) => {
-        result.value = values;
-        onRest(result, this, this._item);
-      });
-    }
+const getLinkColorFromAttributeValue = (colors, value) => {
+  const attributeParsed = /var:preset\|color\|(.+)/.exec(value);
+
+  if (attributeParsed && attributeParsed[1]) {
+    return getColorObjectByAttributeValues(colors, attributeParsed[1]).color;
   }

-  eventObserved(event) {
-    if (event.type == 'change') {
-      this._changed.add(event.parent);
+  return value;
+};

-      if (!event.idle) {
-        this._active.add(event.parent);
-      }
-    } else if (event.type == 'idle') {
-      this._active.delete(event.parent);
-    } else return;
+function immutableSet(object, path, value) {
+  return (0,external_lodash_namespaceObject.setWith)(object ? (0,external_lodash_namespaceObject.clone)(object) : {}, path, value, external_lodash_namespaceObject.clone);
+}
+/**
+ * Inspector control panel containing the color related configuration
+ *
+ * @param {Object} props
+ *
+ * @return {WPElement} Color edit element.
+ */

-    _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].onFrame(this._onFrame);
-  }

-}
-function flushUpdateQueue(ctrl, queue) {
-  return Promise.all(queue.map(props => flushUpdate(ctrl, props))).then(results => getCombinedResult(ctrl, results));
-}
-async function flushUpdate(ctrl, props, isLoop) {
+function ColorEdit(props) {
+  var _style$color6, _style$color7, _style$color8, _style$elements2, _style$elements2$link, _style$elements2$link2, _style$elements3, _style$elements3$link, _style$elements3$link2;
+
   const {
-    keys,
-    to,
-    from,
-    loop,
-    onRest,
-    onResolve
-  } = props;
-  const defaults = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(props.default) && props.default;
+    name: blockName,
+    attributes
+  } = props; // Some color settings have a special handling for deprecated flags in `useSetting`,
+  // so we can't unwrap them by doing const { ... } = useSetting('color')
+  // until https://github.com/WordPress/gutenberg/issues/37094 is fixed.

-  if (loop) {
-    props.loop = false;
-  }
+  const userPalette = useSetting('color.palette.custom');
+  const themePalette = useSetting('color.palette.theme');
+  const defaultPalette = useSetting('color.palette.default');
+  const allSolids = (0,external_wp_element_namespaceObject.useMemo)(() => [...(userPalette || []), ...(themePalette || []), ...(defaultPalette || [])], [userPalette, themePalette, defaultPalette]);
+  const userGradientPalette = useSetting('color.gradients.custom');
+  const themeGradientPalette = useSetting('color.gradients.theme');
+  const defaultGradientPalette = useSetting('color.gradients.default');
+  const allGradients = (0,external_wp_element_namespaceObject.useMemo)(() => [...(userGradientPalette || []), ...(themeGradientPalette || []), ...(defaultGradientPalette || [])], [userGradientPalette, themeGradientPalette, defaultGradientPalette]);
+  const areCustomSolidsEnabled = useSetting('color.custom');
+  const areCustomGradientsEnabled = useSetting('color.customGradient');
+  const isBackgroundEnabled = useSetting('color.background');
+  const isLinkEnabled = useSetting('color.link');
+  const isTextEnabled = useSetting('color.text');
+  const solidsEnabled = areCustomSolidsEnabled || !themePalette || (themePalette === null || themePalette === void 0 ? void 0 : themePalette.length) > 0;
+  const gradientsEnabled = areCustomGradientsEnabled || !themeGradientPalette || (themeGradientPalette === null || themeGradientPalette === void 0 ? void 0 : themeGradientPalette.length) > 0; // Shouldn't be needed but right now the ColorGradientsPanel
+  // can trigger both onChangeColor and onChangeBackground
+  // synchronously causing our two callbacks to override changes
+  // from each other.

-  if (to === false) props.to = null;
-  if (from === false) props.from = null;
-  const asyncTo = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].arr(to) || _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(to) ? to : undefined;
+  const localAttributes = (0,external_wp_element_namespaceObject.useRef)(attributes);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    localAttributes.current = attributes;
+  }, [attributes]);

-  if (asyncTo) {
-    props.to = undefined;
-    props.onRest = undefined;
+  if (!hasColorSupport(blockName)) {
+    return null;
+  }

-    if (defaults) {
-      defaults.onRest = undefined;
-    }
-  } else {
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(BATCHED_EVENTS, key => {
-        const handler = props[key];
+  const hasLinkColor = hasLinkColorSupport(blockName) && isLinkEnabled && solidsEnabled;
+  const hasTextColor = hasTextColorSupport(blockName) && isTextEnabled && solidsEnabled;
+  const hasBackgroundColor = hasBackgroundColorSupport(blockName) && isBackgroundEnabled && solidsEnabled;
+  const hasGradientColor = hasGradientSupport(blockName) && gradientsEnabled;

-        if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(handler)) {
-          const queue = ctrl['_events'][key];
+  if (!hasLinkColor && !hasTextColor && !hasBackgroundColor && !hasGradientColor) {
+    return null;
+  }

-          props[key] = ({
-            finished,
-            cancelled
-          }) => {
-            const result = queue.get(handler);
+  const {
+    style,
+    textColor,
+    backgroundColor,
+    gradient
+  } = attributes;
+  let gradientValue;

-            if (result) {
-              if (!finished) result.finished = false;
-              if (cancelled) result.cancelled = true;
-            } else {
-              queue.set(handler, {
-                value: null,
-                finished: finished || false,
-                cancelled: cancelled || false
-              });
-            }
-          };
+  if (hasGradientColor && gradient) {
+    gradientValue = getGradientValueBySlug(allGradients, gradient);
+  } else if (hasGradientColor) {
+    var _style$color5;

-          if (defaults) {
-            defaults[key] = props[key];
-          }
-        }
-      });
-    }
+    gradientValue = style === null || style === void 0 ? void 0 : (_style$color5 = style.color) === null || _style$color5 === void 0 ? void 0 : _style$color5.gradient;
+  }

-  const state = ctrl['_state'];
+  const onChangeColor = name => value => {
+    var _localAttributes$curr, _localAttributes$curr2;

-  if (props.pause === !state.paused) {
-    state.paused = props.pause;
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* flushCalls */ "n"])(props.pause ? state.pauseQueue : state.resumeQueue);
-  } else if (state.paused) {
-      props.pause = true;
-    }
+    const colorObject = getColorObjectByColorValue(allSolids, value);
+    const attributeName = name + 'Color';
+    const newStyle = { ...localAttributes.current.style,
+      color: { ...((_localAttributes$curr = localAttributes.current) === null || _localAttributes$curr === void 0 ? void 0 : (_localAttributes$curr2 = _localAttributes$curr.style) === null || _localAttributes$curr2 === void 0 ? void 0 : _localAttributes$curr2.color),
+        [name]: colorObject !== null && colorObject !== void 0 && colorObject.slug ? undefined : value
+      }
+    };
+    const newNamedColor = colorObject !== null && colorObject !== void 0 && colorObject.slug ? colorObject.slug : undefined;
+    const newAttributes = {
+      style: cleanEmptyObject(newStyle),
+      [attributeName]: newNamedColor
+    };
+    props.setAttributes(newAttributes);
+    localAttributes.current = { ...localAttributes.current,
+      ...newAttributes
+    };
+  };

-  const promises = (keys || Object.keys(ctrl.springs)).map(key => ctrl.springs[key].start(props));
-  const cancel = props.cancel === true || getDefaultProp(props, 'cancel') === true;
+  const onChangeGradient = value => {
+    const slug = getGradientSlugByValue(allGradients, value);
+    let newAttributes;

-  if (asyncTo || cancel && state.asyncId) {
-    promises.push(scheduleProps(++ctrl['_lastAsyncId'], {
-      props,
-      state,
-      actions: {
-        pause: _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* noop */ "v"],
-        resume: _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* noop */ "v"],
+    if (slug) {
+      var _localAttributes$curr3, _localAttributes$curr4, _localAttributes$curr5;

-        start(props, resolve) {
-          if (cancel) {
-            stopAsync(state, ctrl['_lastAsyncId']);
-            resolve(getCancelledResult(ctrl));
-          } else {
-            props.onRest = onRest;
-            resolve(runAsync(asyncTo, props, state, ctrl));
-          }
+      const newStyle = { ...((_localAttributes$curr3 = localAttributes.current) === null || _localAttributes$curr3 === void 0 ? void 0 : _localAttributes$curr3.style),
+        color: { ...((_localAttributes$curr4 = localAttributes.current) === null || _localAttributes$curr4 === void 0 ? void 0 : (_localAttributes$curr5 = _localAttributes$curr4.style) === null || _localAttributes$curr5 === void 0 ? void 0 : _localAttributes$curr5.color),
+          gradient: undefined
         }
+      };
+      newAttributes = {
+        style: cleanEmptyObject(newStyle),
+        gradient: slug
+      };
+    } else {
+      var _localAttributes$curr6, _localAttributes$curr7, _localAttributes$curr8;

-      }
-    }));
-  }
+      const newStyle = { ...((_localAttributes$curr6 = localAttributes.current) === null || _localAttributes$curr6 === void 0 ? void 0 : _localAttributes$curr6.style),
+        color: { ...((_localAttributes$curr7 = localAttributes.current) === null || _localAttributes$curr7 === void 0 ? void 0 : (_localAttributes$curr8 = _localAttributes$curr7.style) === null || _localAttributes$curr8 === void 0 ? void 0 : _localAttributes$curr8.color),
+          gradient: value
+        }
+      };
+      newAttributes = {
+        style: cleanEmptyObject(newStyle),
+        gradient: undefined
+      };
+    }

-  if (state.paused) {
-    await new Promise(resume => {
-      state.resumeQueue.add(resume);
+    props.setAttributes(newAttributes);
+    localAttributes.current = { ...localAttributes.current,
+      ...newAttributes
+    };
+  };
+
+  const onChangeLinkColor = value => {
+    const colorObject = getColorObjectByColorValue(allSolids, value);
+    const newLinkColorValue = colorObject !== null && colorObject !== void 0 && colorObject.slug ? `var:preset|color|${colorObject.slug}` : value;
+    const newStyle = cleanEmptyObject(immutableSet(style, ['elements', 'link', 'color', 'text'], newLinkColorValue));
+    props.setAttributes({
+      style: newStyle
     });
-  }
+  };

-  const result = getCombinedResult(ctrl, await Promise.all(promises));
+  return (0,external_wp_element_namespaceObject.createElement)(ColorPanel, {
+    enableContrastChecking: // Turn on contrast checker for web only since it's not supported on mobile yet.
+    external_wp_element_namespaceObject.Platform.OS === 'web' && !gradient && !(style !== null && style !== void 0 && (_style$color6 = style.color) !== null && _style$color6 !== void 0 && _style$color6.gradient),
+    clientId: props.clientId,
+    settings: [...(hasTextColor ? [{
+      label: (0,external_wp_i18n_namespaceObject.__)('Text'),
+      onColorChange: onChangeColor('text'),
+      colorValue: getColorObjectByAttributeValues(allSolids, textColor, style === null || style === void 0 ? void 0 : (_style$color7 = style.color) === null || _style$color7 === void 0 ? void 0 : _style$color7.text).color
+    }] : []), ...(hasBackgroundColor || hasGradientColor ? [{
+      label: (0,external_wp_i18n_namespaceObject.__)('Background'),
+      onColorChange: hasBackgroundColor ? onChangeColor('background') : undefined,
+      colorValue: getColorObjectByAttributeValues(allSolids, backgroundColor, style === null || style === void 0 ? void 0 : (_style$color8 = style.color) === null || _style$color8 === void 0 ? void 0 : _style$color8.background).color,
+      gradientValue,
+      onGradientChange: hasGradientColor ? onChangeGradient : undefined
+    }] : []), ...(hasLinkColor ? [{
+      label: (0,external_wp_i18n_namespaceObject.__)('Link'),
+      onColorChange: onChangeLinkColor,
+      colorValue: getLinkColorFromAttributeValue(allSolids, style === null || style === void 0 ? void 0 : (_style$elements2 = style.elements) === null || _style$elements2 === void 0 ? void 0 : (_style$elements2$link = _style$elements2.link) === null || _style$elements2$link === void 0 ? void 0 : (_style$elements2$link2 = _style$elements2$link.color) === null || _style$elements2$link2 === void 0 ? void 0 : _style$elements2$link2.text),
+      clearable: !!(style !== null && style !== void 0 && (_style$elements3 = style.elements) !== null && _style$elements3 !== void 0 && (_style$elements3$link = _style$elements3.link) !== null && _style$elements3$link !== void 0 && (_style$elements3$link2 = _style$elements3$link.color) !== null && _style$elements3$link2 !== void 0 && _style$elements3$link2.text)
+    }] : [])]
+  });
+}
+/**
+ * This adds inline styles for color palette colors.
+ * Ideally, this is not needed and themes should load their palettes on the editor.
+ *
+ * @param {Function} BlockListBlock Original component.
+ *
+ * @return {Function} Wrapped component.
+ */

-  if (loop && result.finished && !(isLoop && result.noop)) {
-    const nextProps = createLoopUpdate(props, loop, to);
+const withColorPaletteStyles = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockListBlock => props => {
+  var _props$wrapperProps;

-    if (nextProps) {
-      prepareKeys(ctrl, [nextProps]);
-      return flushUpdate(ctrl, nextProps, true);
-    }
-  }
+  const {
+    name,
+    attributes
+  } = props;
+  const {
+    backgroundColor,
+    textColor
+  } = attributes;
+  const userPalette = useSetting('color.palette.custom') || [];
+  const themePalette = useSetting('color.palette.theme') || [];
+  const defaultPalette = useSetting('color.palette.default') || [];
+  const colors = (0,external_wp_element_namespaceObject.useMemo)(() => [...(userPalette || []), ...(themePalette || []), ...(defaultPalette || [])], [userPalette, themePalette, defaultPalette]);

-  if (onResolve) {
-    _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].batchedUpdates(() => onResolve(result, ctrl, ctrl.item));
+  if (!hasColorSupport(name) || color_shouldSkipSerialization(name)) {
+    return (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, props);
   }

-  return result;
-}
-function getSprings(ctrl, props) {
-  const springs = _extends({}, ctrl.springs);
+  const extraStyles = {};

-  if (props) {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(props), props => {
-      if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props.keys)) {
-        props = createUpdate(props);
-      }
+  if (textColor) {
+    var _getColorObjectByAttr;

-      if (!_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(props.to)) {
-        props = _extends({}, props, {
-          to: undefined
-        });
-      }
+    extraStyles.color = (_getColorObjectByAttr = getColorObjectByAttributeValues(colors, textColor)) === null || _getColorObjectByAttr === void 0 ? void 0 : _getColorObjectByAttr.color;
+  }

-      prepareSprings(springs, props, key => {
-        return createSpring(key);
-      });
-    });
+  if (backgroundColor) {
+    var _getColorObjectByAttr2;
+
+    extraStyles.backgroundColor = (_getColorObjectByAttr2 = getColorObjectByAttributeValues(colors, backgroundColor)) === null || _getColorObjectByAttr2 === void 0 ? void 0 : _getColorObjectByAttr2.color;
   }

-  setSprings(ctrl, springs);
-  return springs;
-}
-function setSprings(ctrl, springs) {
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* eachProp */ "l"])(springs, (spring, key) => {
-    if (!ctrl.springs[key]) {
-      ctrl.springs[key] = spring;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* addFluidObserver */ "c"])(spring, ctrl);
+  let wrapperProps = props.wrapperProps;
+  wrapperProps = { ...props.wrapperProps,
+    style: { ...extraStyles,
+      ...((_props$wrapperProps = props.wrapperProps) === null || _props$wrapperProps === void 0 ? void 0 : _props$wrapperProps.style)
     }
-  });
-}
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, _extends({}, props, {
+    wrapperProps: wrapperProps
+  }));
+});
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/color/addAttribute', color_addAttributes);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.getSaveContent.extraProps', 'core/color/addSaveProps', color_addSaveProps);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/color/addEditProps', color_addEditProps);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockListBlock', 'core/color/with-color-palette-styles', withColorPaletteStyles);

-function createSpring(key, observer) {
-  const spring = new SpringValue();
-  spring.key = key;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-appearance-control/index.js

-  if (observer) {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* addFluidObserver */ "c"])(spring, observer);
-  }

-  return spring;
-}
+/**
+ * WordPress dependencies
+ */

-function prepareSprings(springs, props, create) {
-  if (props.keys) {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(props.keys, key => {
-      const spring = springs[key] || (springs[key] = create(key));
-      spring['_prepareNode'](props);
-    });
-  }
-}

-function prepareKeys(ctrl, queue) {
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(queue, props => {
-    prepareSprings(ctrl.springs, props, key => {
-      return createSpring(key, ctrl);
-    });
-  });
-}

-function _objectWithoutPropertiesLoose(source, excluded) {
-  if (source == null) return {};
-  var target = {};
-  var sourceKeys = Object.keys(source);
-  var key, i;
+const FONT_STYLES = [{
+  name: (0,external_wp_i18n_namespaceObject._x)('Regular', 'font style'),
+  value: 'normal'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Italic', 'font style'),
+  value: 'italic'
+}];
+const FONT_WEIGHTS = [{
+  name: (0,external_wp_i18n_namespaceObject._x)('Thin', 'font weight'),
+  value: '100'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Extra Light', 'font weight'),
+  value: '200'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Light', 'font weight'),
+  value: '300'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Regular', 'font weight'),
+  value: '400'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Medium', 'font weight'),
+  value: '500'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Semi Bold', 'font weight'),
+  value: '600'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Bold', 'font weight'),
+  value: '700'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Extra Bold', 'font weight'),
+  value: '800'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Black', 'font weight'),
+  value: '900'
+}];
+/**
+ * Adjusts font appearance field label in case either font styles or weights
+ * are disabled.
+ *
+ * @param {boolean} hasFontStyles  Whether font styles are enabled and present.
+ * @param {boolean} hasFontWeights Whether font weights are enabled and present.
+ * @return {string} A label representing what font appearance is being edited.
+ */

-  for (i = 0; i < sourceKeys.length; i++) {
-    key = sourceKeys[i];
-    if (excluded.indexOf(key) >= 0) continue;
-    target[key] = source[key];
+const getFontAppearanceLabel = (hasFontStyles, hasFontWeights) => {
+  if (!hasFontStyles) {
+    return (0,external_wp_i18n_namespaceObject.__)('Font weight');
   }

-  return target;
-}
+  if (!hasFontWeights) {
+    return (0,external_wp_i18n_namespaceObject.__)('Font style');
+  }

-const _excluded$3 = ["children"];
-const SpringContext = _ref => {
-  let {
-    children
-  } = _ref,
-      props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
+  return (0,external_wp_i18n_namespaceObject.__)('Appearance');
+};
+/**
+ * Control to display unified font style and weight options.
+ *
+ * @param {Object} props Component props.
+ *
+ * @return {WPElement} Font appearance control.
+ */

-  const inherited = Object(react__WEBPACK_IMPORTED_MODULE_1__["useContext"])(ctx);
-  const pause = props.pause || !!inherited.pause,
-        immediate = props.immediate || !!inherited.immediate;
-  props = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useMemoOne */ "B"])(() => ({
-    pause,
-    immediate
-  }), [pause, immediate]);
+function FontAppearanceControl(props) {
   const {
-    Provider
-  } = ctx;
-  return react__WEBPACK_IMPORTED_MODULE_1__["createElement"](Provider, {
-    value: props
-  }, children);
-};
-const ctx = makeContext(SpringContext, {});
-SpringContext.Provider = ctx.Provider;
-SpringContext.Consumer = ctx.Consumer;
+    onChange,
+    hasFontStyles = true,
+    hasFontWeights = true,
+    value: {
+      fontStyle,
+      fontWeight
+    }
+  } = props;
+  const hasStylesOrWeights = hasFontStyles || hasFontWeights;
+  const label = getFontAppearanceLabel(hasFontStyles, hasFontWeights);
+  const defaultOption = {
+    key: 'default',
+    name: (0,external_wp_i18n_namespaceObject.__)('Default'),
+    style: {
+      fontStyle: undefined,
+      fontWeight: undefined
+    }
+  }; // Combines both font style and weight options into a single dropdown.

-function makeContext(target, init) {
-  Object.assign(target, react__WEBPACK_IMPORTED_MODULE_1__["createContext"](init));
-  target.Provider._context = target;
-  target.Consumer._context = target;
-  return target;
-}
+  const combineOptions = () => {
+    const combinedOptions = [defaultOption];
+    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 : (0,external_wp_i18n_namespaceObject.sprintf)(
+        /* translators: 1: Font weight name. 2: Font style name. */
+        (0,external_wp_i18n_namespaceObject.__)('%1$s %2$s'), weightName, styleName);
+        combinedOptions.push({
+          key: `${styleValue}-${weightValue}`,
+          name: optionName,
+          style: {
+            fontStyle: styleValue,
+            fontWeight: weightValue
+          }
+        });
+      });
+    });
+    return combinedOptions;
+  }; // Generates select options for font styles only.

-const SpringRef = () => {
-  const current = [];

-  const SpringRef = function SpringRef(props) {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* deprecateDirectCall */ "i"])();
-    const results = [];
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(current, (ctrl, i) => {
-      if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props)) {
-        results.push(ctrl.start());
-      } else {
-        const update = _getProps(props, ctrl, i);
+  const styleOptions = () => {
+    const combinedOptions = [defaultOption];
+    FONT_STYLES.forEach(_ref3 => {
+      let {
+        name,
+        value
+      } = _ref3;
+      combinedOptions.push({
+        key: value,
+        name,
+        style: {
+          fontStyle: value,
+          fontWeight: undefined
+        }
+      });
+    });
+    return combinedOptions;
+  }; // Generates select options for font weights only.

-        if (update) {
-          results.push(ctrl.start(update));
+
+  const weightOptions = () => {
+    const combinedOptions = [defaultOption];
+    FONT_WEIGHTS.forEach(_ref4 => {
+      let {
+        name,
+        value
+      } = _ref4;
+      combinedOptions.push({
+        key: value,
+        name,
+        style: {
+          fontStyle: undefined,
+          fontWeight: value
         }
-      }
+      });
     });
-    return results;
-  };
+    return combinedOptions;
+  }; // Map font styles and weights to select options.

-  SpringRef.current = current;

-  SpringRef.add = function (ctrl) {
-    if (!current.includes(ctrl)) {
-      current.push(ctrl);
+  const selectOptions = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (hasFontStyles && hasFontWeights) {
+      return combineOptions();
     }
-  };

-  SpringRef.delete = function (ctrl) {
-    const i = current.indexOf(ctrl);
-    if (~i) current.splice(i, 1);
-  };
+    return hasFontStyles ? styleOptions() : weightOptions();
+  }, [props.options]); // Find current selection by comparing font style & weight against options,
+  // and fall back to the Default option if there is no matching option.

-  SpringRef.pause = function () {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(current, ctrl => ctrl.pause(...arguments));
-    return this;
-  };
+  const currentSelection = selectOptions.find(option => option.style.fontStyle === fontStyle && option.style.fontWeight === fontWeight) || selectOptions[0]; // Adjusts screen reader description based on styles or weights.

-  SpringRef.resume = function () {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(current, ctrl => ctrl.resume(...arguments));
-    return this;
-  };
+  const getDescribedBy = () => {
+    if (!currentSelection) {
+      return (0,external_wp_i18n_namespaceObject.__)('No selected font appearance');
+    }

-  SpringRef.set = function (values) {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(current, ctrl => ctrl.set(values));
-  };
+    if (!hasFontStyles) {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: Currently selected font weight.
+      (0,external_wp_i18n_namespaceObject.__)('Currently selected font weight: %s'), currentSelection.name);
+    }

-  SpringRef.start = function (props) {
-    const results = [];
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(current, (ctrl, i) => {
-      if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(props)) {
-        results.push(ctrl.start());
-      } else {
-        const update = this._getProps(props, ctrl, i);
+    if (!hasFontWeights) {
+      return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: Currently selected font style.
+      (0,external_wp_i18n_namespaceObject.__)('Currently selected font style: %s'), currentSelection.name);
+    }

-        if (update) {
-          results.push(ctrl.start(update));
-        }
-      }
-    });
-    return results;
+    return (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: Currently selected font appearance.
+    (0,external_wp_i18n_namespaceObject.__)('Currently selected font appearance: %s'), currentSelection.name);
   };

-  SpringRef.stop = function () {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(current, ctrl => ctrl.stop(...arguments));
-    return this;
-  };
+  return hasStylesOrWeights && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CustomSelectControl, {
+    className: "components-font-appearance-control",
+    label: label,
+    describedBy: getDescribedBy(),
+    options: selectOptions,
+    value: currentSelection,
+    onChange: _ref5 => {
+      let {
+        selectedItem
+      } = _ref5;
+      return onChange(selectedItem.style);
+    }
+  });
+}

-  SpringRef.update = function (props) {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(current, (ctrl, i) => ctrl.update(this._getProps(props, ctrl, i)));
-    return this;
-  };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/line-height-control/utils.js
+const BASE_DEFAULT_VALUE = 1.5;
+const STEP = 0.1;
+/**
+ * There are varying value types within LineHeightControl:
+ *
+ * {undefined} Initial value. No changes from the user.
+ * {string} Input value. Value consumed/outputted by the input. Empty would be ''.
+ * {number} Block attribute type. Input value needs to be converted for attribute setting.
+ *
+ * Note: If the value is undefined, the input requires it to be an empty string ('')
+ * in order to be considered "controlled" by props (rather than internal state).
+ */

-  const _getProps = function _getProps(arg, ctrl, index) {
-    return _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(arg) ? arg(index, ctrl) : arg;
-  };
+const RESET_VALUE = '';
+/**
+ * Determines if the lineHeight attribute has been properly defined.
+ *
+ * @param {any} lineHeight The value to check.
+ *
+ * @return {boolean} Whether the lineHeight attribute is valid.
+ */

-  SpringRef._getProps = _getProps;
-  return SpringRef;
-};
+function isLineHeightDefined(lineHeight) {
+  return lineHeight !== undefined && lineHeight !== RESET_VALUE;
+}

-function useSprings(length, props, deps) {
-  const propsFn = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(props) && props;
-  if (propsFn && !deps) deps = [];
-  const ref = Object(react__WEBPACK_IMPORTED_MODULE_1__["useMemo"])(() => propsFn || arguments.length == 3 ? SpringRef() : void 0, []);
-  const layoutId = Object(react__WEBPACK_IMPORTED_MODULE_1__["useRef"])(0);
-  const forceUpdate = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useForceUpdate */ "z"])();
-  const state = Object(react__WEBPACK_IMPORTED_MODULE_1__["useMemo"])(() => ({
-    ctrls: [],
-    queue: [],
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/line-height-control/index.js

-    flush(ctrl, updates) {
-      const springs = getSprings(ctrl, updates);
-      const canFlushSync = layoutId.current > 0 && !state.queue.length && !Object.keys(springs).some(key => !ctrl.springs[key]);
-      return canFlushSync ? flushUpdateQueue(ctrl, updates) : new Promise(resolve => {
-        setSprings(ctrl, springs);
-        state.queue.push(() => {
-          resolve(flushUpdateQueue(ctrl, updates));
-        });
-        forceUpdate();
-      });
-    }

-  }), []);
-  const ctrls = Object(react__WEBPACK_IMPORTED_MODULE_1__["useRef"])([...state.ctrls]);
-  const updates = [];
-  const prevLength = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* usePrev */ "D"])(length) || 0;
-  Object(react__WEBPACK_IMPORTED_MODULE_1__["useMemo"])(() => {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(ctrls.current.slice(length, prevLength), ctrl => {
-      detachRefs(ctrl, ref);
-      ctrl.stop(true);
-    });
-    ctrls.current.length = length;
-    declareUpdates(prevLength, length);
-  }, [length]);
-  Object(react__WEBPACK_IMPORTED_MODULE_1__["useMemo"])(() => {
-    declareUpdates(0, Math.min(prevLength, length));
-  }, deps);
+/**
+ * WordPress dependencies
+ */

-  function declareUpdates(startIndex, endIndex) {
-    for (let i = startIndex; i < endIndex; i++) {
-      const ctrl = ctrls.current[i] || (ctrls.current[i] = new Controller(null, state.flush));
-      const update = propsFn ? propsFn(i, ctrl) : props[i];

-      if (update) {
-        updates[i] = declareUpdate(update);
-      }
-    }
-  }

-  const springs = ctrls.current.map((ctrl, i) => getSprings(ctrl, updates[i]));
-  const context = Object(react__WEBPACK_IMPORTED_MODULE_1__["useContext"])(SpringContext);
-  const prevContext = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* usePrev */ "D"])(context);
-  const hasContext = context !== prevContext && hasProps(context);
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useLayoutEffect */ "A"])(() => {
-    layoutId.current++;
-    state.ctrls = ctrls.current;
+/**
+ * Internal dependencies
+ */
+
+
+function LineHeightControl(_ref) {
+  let {
+    value: lineHeight,
+    onChange
+  } = _ref;
+  const isDefined = isLineHeightDefined(lineHeight);
+
+  const handleOnKeyDown = event => {
     const {
-      queue
-    } = state;
+      keyCode
+    } = event;

-    if (queue.length) {
-      state.queue = [];
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(queue, cb => cb());
+    if (keyCode === external_wp_keycodes_namespaceObject.ZERO && !isDefined) {
+      /**
+       * Prevents the onChange callback from firing, which prevents
+       * the logic from assuming the change was triggered from
+       * an input arrow CLICK.
+       */
+      event.preventDefault();
+      onChange('0');
     }
+  };

-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(ctrls.current, (ctrl, i) => {
-      ref == null ? void 0 : ref.add(ctrl);
+  const handleOnChange = nextValue => {
+    // Set the next value without modification if lineHeight has been defined
+    if (isDefined) {
+      onChange(nextValue);
+      return;
+    } // Otherwise...

-      if (hasContext) {
-        ctrl.start({
-          default: context
-        });
-      }
+    /**
+     * The following logic handles the initial up/down arrow CLICK of the
+     * input element. This is so that the next values (from an undefined value state)
+     * are more better suited for line-height rendering.
+     */

-      const update = updates[i];

-      if (update) {
-        replaceRef(ctrl, update.ref);
+    let adjustedNextValue = nextValue;

-        if (ctrl.ref) {
-          ctrl.queue.push(update);
-        } else {
-          ctrl.start(update);
-        }
-      }
-    });
-  });
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useOnce */ "C"])(() => () => {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(state.ctrls, ctrl => ctrl.stop(true));
-  });
-  const values = springs.map(x => _extends({}, x));
-  return ref ? [values, ref] : values;
-}
+    switch (nextValue) {
+      case `${STEP}`:
+        // Increment by step value
+        adjustedNextValue = BASE_DEFAULT_VALUE + STEP;
+        break;

-function useSpring(props, deps) {
-  const isFn = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(props);
-  const [[values], ref] = useSprings(1, isFn ? props : [props], isFn ? deps || [] : deps);
-  return isFn || arguments.length == 2 ? [values, ref] : values;
+      case '0':
+        // Decrement by step value
+        adjustedNextValue = BASE_DEFAULT_VALUE - STEP;
+        break;
+    }
+
+    onChange(adjustedNextValue);
+  };
+
+  const value = isDefined ? lineHeight : RESET_VALUE;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-line-height-control"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    autoComplete: "off",
+    onKeyDown: handleOnKeyDown,
+    onChange: handleOnChange,
+    label: (0,external_wp_i18n_namespaceObject.__)('Line height'),
+    placeholder: BASE_DEFAULT_VALUE,
+    step: STEP,
+    type: "number",
+    value: value,
+    min: 0
+  }));
 }

-const initSpringRef = () => SpringRef();
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/line-height.js

-const useSpringRef = () => Object(react__WEBPACK_IMPORTED_MODULE_1__["useState"])(initSpringRef)[0];

-function useTrail(length, propsArg, deps) {
-  var _passedRef;
+/**
+ * WordPress dependencies
+ */

-  const propsFn = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(propsArg) && propsArg;
-  if (propsFn && !deps) deps = [];
-  let reverse = true;
-  let passedRef = undefined;
-  const result = useSprings(length, (i, ctrl) => {
-    const props = propsFn ? propsFn(i, ctrl) : propsArg;
-    passedRef = props.ref;
-    reverse = reverse && props.reverse;
-    return props;
-  }, deps || [{}]);
-  const ref = (_passedRef = passedRef) != null ? _passedRef : result[1];
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useLayoutEffect */ "A"])(() => {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(ref.current, (ctrl, i) => {
-      const parent = ref.current[i + (reverse ? 1 : -1)];
+/**
+ * Internal dependencies
+ */

-      if (parent) {
-        ctrl.start({
-          to: parent.springs
-        });
-      } else {
-        ctrl.start();
-      }
-    });
-  }, deps);

-  if (propsFn || arguments.length == 3) {
-    ref['_getProps'] = (propsArg, ctrl, i) => {
-      const props = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(propsArg) ? propsArg(i, ctrl) : propsArg;

-      if (props) {
-        const parent = ref.current[i + (props.reverse ? 1 : -1)];
-        if (parent) props.to = parent.springs;
-        return props;
-      }
-    };

-    return result;
-  }
+const LINE_HEIGHT_SUPPORT_KEY = 'typography.lineHeight';
+/**
+ * Inspector control panel containing the line height related configuration
+ *
+ * @param {Object} props
+ *
+ * @return {WPElement} Line height edit element.
+ */

-  ref['start'] = propsArg => {
-    const results = [];
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(ref.current, (ctrl, i) => {
-      const props = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(propsArg) ? propsArg(i, ctrl) : propsArg;
-      const parent = ref.current[i + (reverse ? 1 : -1)];
+function LineHeightEdit(props) {
+  var _style$typography;

-      if (parent) {
-        results.push(ctrl.start(_extends({}, props, {
-          to: parent.springs
-        })));
-      } else {
-        results.push(ctrl.start(_extends({}, props)));
+  const {
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;
+
+  const onChange = newLineHeightValue => {
+    const newStyle = { ...style,
+      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+        lineHeight: newLineHeightValue
       }
+    };
+    setAttributes({
+      style: cleanEmptyObject(newStyle)
     });
-    return results;
   };

-  return result[0];
+  return (0,external_wp_element_namespaceObject.createElement)(LineHeightControl, {
+    value: style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.lineHeight,
+    onChange: onChange
+  });
 }
+/**
+ * Custom hook that checks if line-height settings have been disabled.
+ *
+ * @param {string} name The name of the block.
+ * @return {boolean} Whether setting is disabled.
+ */

-let TransitionPhase;
+function useIsLineHeightDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const isDisabled = !useSetting('typography.lineHeight');
+  return !(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, LINE_HEIGHT_SUPPORT_KEY) || isDisabled;
+}
+/**
+ * Checks if there is a current value set for the line height block support.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}     Whether or not the block has a line height value set.
+ */

-(function (TransitionPhase) {
-  TransitionPhase["MOUNT"] = "mount";
-  TransitionPhase["ENTER"] = "enter";
-  TransitionPhase["UPDATE"] = "update";
-  TransitionPhase["LEAVE"] = "leave";
-})(TransitionPhase || (TransitionPhase = {}));
+function hasLineHeightValue(props) {
+  var _props$attributes$sty, _props$attributes$sty2;

-function useTransition(data, props, deps) {
-  const propsFn = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(props) && props;
+  return !!((_props$attributes$sty = props.attributes.style) !== null && _props$attributes$sty !== void 0 && (_props$attributes$sty2 = _props$attributes$sty.typography) !== null && _props$attributes$sty2 !== void 0 && _props$attributes$sty2.lineHeight);
+}
+/**
+ * Resets the line height block support attribute. This can be used when
+ * disabling the line height support controls for a block via a progressive
+ * discovery panel.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.attributes    Block's attributes.
+ * @param {Object} props.setAttributes Function to set block's attributes.
+ */
+
+function resetLineHeight(_ref) {
+  let {
+    attributes = {},
+    setAttributes
+  } = _ref;
   const {
-    reset,
-    sort,
-    trail = 0,
-    expires = true,
-    exitBeforeEnter = false,
-    onDestroyed,
-    ref: propsRef,
-    config: propsConfig
-  } = propsFn ? propsFn() : props;
-  const ref = Object(react__WEBPACK_IMPORTED_MODULE_1__["useMemo"])(() => propsFn || arguments.length == 3 ? SpringRef() : void 0, []);
-  const items = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(data);
-  const transitions = [];
-  const usedTransitions = Object(react__WEBPACK_IMPORTED_MODULE_1__["useRef"])(null);
-  const prevTransitions = reset ? null : usedTransitions.current;
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useLayoutEffect */ "A"])(() => {
-    usedTransitions.current = transitions;
-  });
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useOnce */ "C"])(() => () => {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(usedTransitions.current, t => {
-      if (t.expired) {
-        clearTimeout(t.expirationId);
+    style
+  } = attributes;
+  setAttributes({
+    style: cleanEmptyObject({ ...style,
+      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+        lineHeight: undefined
       }
-
-      detachRefs(t.ctrl, ref);
-      t.ctrl.stop(true);
-    });
-  });
-  const keys = getKeys(items, propsFn ? propsFn() : props, prevTransitions);
-  const expired = reset && usedTransitions.current || [];
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useLayoutEffect */ "A"])(() => Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(expired, ({
-    ctrl,
-    item,
-    key
-  }) => {
-    detachRefs(ctrl, ref);
-    callProp(onDestroyed, item, key);
-  }));
-  const reused = [];
-  if (prevTransitions) Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(prevTransitions, (t, i) => {
-    if (t.expired) {
-      clearTimeout(t.expirationId);
-      expired.push(t);
-    } else {
-      i = reused[i] = keys.indexOf(t.key);
-      if (~i) transitions[i] = t;
-    }
-  });
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(items, (item, i) => {
-    if (!transitions[i]) {
-      transitions[i] = {
-        key: keys[i],
-        item,
-        phase: TransitionPhase.MOUNT,
-        ctrl: new Controller()
-      };
-      transitions[i].ctrl.item = item;
-    }
+    })
   });
+}

-  if (reused.length) {
-    let i = -1;
-    const {
-      leave
-    } = propsFn ? propsFn() : props;
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(reused, (keyIndex, prevIndex) => {
-      const t = prevTransitions[prevIndex];
-
-      if (~keyIndex) {
-        i = transitions.indexOf(t);
-        transitions[i] = _extends({}, t, {
-          item: items[keyIndex]
-        });
-      } else if (leave) {
-        transitions.splice(++i, 0, t);
-      }
-    });
-  }
-
-  if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(sort)) {
-    transitions.sort((a, b) => sort(a.item, b.item));
-  }
-
-  let delay = -trail;
-  const forceUpdate = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useForceUpdate */ "z"])();
-  const defaultProps = getDefaultProps(props);
-  const changes = new Map();
-  const exitingTransitions = Object(react__WEBPACK_IMPORTED_MODULE_1__["useRef"])(new Map());
-  const forceChange = Object(react__WEBPACK_IMPORTED_MODULE_1__["useRef"])(false);
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(transitions, (t, i) => {
-    const key = t.key;
-    const prevPhase = t.phase;
-    const p = propsFn ? propsFn() : props;
-    let to;
-    let phase;
-    let propsDelay = callProp(p.delay || 0, key);
-
-    if (prevPhase == TransitionPhase.MOUNT) {
-      to = p.enter;
-      phase = TransitionPhase.ENTER;
-    } else {
-      const isLeave = keys.indexOf(key) < 0;
-
-      if (prevPhase != TransitionPhase.LEAVE) {
-        if (isLeave) {
-          to = p.leave;
-          phase = TransitionPhase.LEAVE;
-        } else if (to = p.update) {
-          phase = TransitionPhase.UPDATE;
-        } else return;
-      } else if (!isLeave) {
-        to = p.enter;
-        phase = TransitionPhase.ENTER;
-      } else return;
-    }
-
-    to = callProp(to, t.item, i);
-    to = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].obj(to) ? inferTo(to) : {
-      to
-    };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/font-appearance.js

-    if (!to.config) {
-      const config = propsConfig || defaultProps.config;
-      to.config = callProp(config, t.item, i, phase);
-    }

-    delay += trail;
+/**
+ * WordPress dependencies
+ */

-    const payload = _extends({}, defaultProps, {
-      delay: propsDelay + delay,
-      ref: propsRef,
-      immediate: p.immediate,
-      reset: false
-    }, to);
+/**
+ * Internal dependencies
+ */

-    if (phase == TransitionPhase.ENTER && _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(payload.from)) {
-      const _p = propsFn ? propsFn() : props;

-      const from = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(_p.initial) || prevTransitions ? _p.from : _p.initial;
-      payload.from = callProp(from, t.item, i);
-    }

-    const {
-      onResolve
-    } = payload;

-    payload.onResolve = result => {
-      callProp(onResolve, result);
-      const transitions = usedTransitions.current;
-      const t = transitions.find(t => t.key === key);
-      if (!t) return;
+/**
+ * Key within block settings' support array indicating support for font style.
+ */

-      if (result.cancelled && t.phase != TransitionPhase.UPDATE) {
-        return;
-      }
+const FONT_STYLE_SUPPORT_KEY = 'typography.__experimentalFontStyle';
+/**
+ * Key within block settings' support array indicating support for font weight.
+ */

-      if (t.ctrl.idle) {
-        const idle = transitions.every(t => t.ctrl.idle);
+const FONT_WEIGHT_SUPPORT_KEY = 'typography.__experimentalFontWeight';
+/**
+ * Inspector control panel containing the font appearance options.
+ *
+ * @param {Object} props Block properties.
+ *
+ * @return {WPElement} Font appearance edit element.
+ */

-        if (t.phase == TransitionPhase.LEAVE) {
-          const expiry = callProp(expires, t.item);
+function FontAppearanceEdit(props) {
+  var _style$typography, _style$typography2;

-          if (expiry !== false) {
-            const expiryMs = expiry === true ? 0 : expiry;
-            t.expired = true;
+  const {
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;
+  const hasFontStyles = !useIsFontStyleDisabled(props);
+  const hasFontWeights = !useIsFontWeightDisabled(props);

-            if (!idle && expiryMs > 0) {
-              if (expiryMs <= 0x7fffffff) t.expirationId = setTimeout(forceUpdate, expiryMs);
-              return;
-            }
-          }
+  const onChange = newStyles => {
+    setAttributes({
+      style: cleanEmptyObject({ ...style,
+        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+          fontStyle: newStyles.fontStyle,
+          fontWeight: newStyles.fontWeight
         }
+      })
+    });
+  };

-        if (idle && transitions.some(t => t.expired)) {
-          exitingTransitions.current.delete(t);
+  const fontStyle = style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.fontStyle;
+  const fontWeight = style === null || style === void 0 ? void 0 : (_style$typography2 = style.typography) === null || _style$typography2 === void 0 ? void 0 : _style$typography2.fontWeight;
+  return (0,external_wp_element_namespaceObject.createElement)(FontAppearanceControl, {
+    onChange: onChange,
+    hasFontStyles: hasFontStyles,
+    hasFontWeights: hasFontWeights,
+    value: {
+      fontStyle,
+      fontWeight
+    }
+  });
+}
+/**
+ * Checks if font style support has been disabled either by not opting in for
+ * support or by failing to provide preset styles.
+ *
+ * @param {Object} props      Block properties.
+ * @param {string} props.name Name for the block type.
+ *
+ * @return {boolean} Whether font style support has been disabled.
+ */

-          if (exitBeforeEnter) {
-            forceChange.current = true;
-          }
+function useIsFontStyleDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const styleSupport = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, FONT_STYLE_SUPPORT_KEY);
+  const hasFontStyles = useSetting('typography.fontStyle');
+  return !styleSupport || !hasFontStyles;
+}
+/**
+ * Checks if font weight support has been disabled either by not opting in for
+ * support or by failing to provide preset weights.
+ *
+ * @param {Object} props      Block properties.
+ * @param {string} props.name Name for the block type.
+ *
+ * @return {boolean} Whether font weight support has been disabled.
+ */

-          forceUpdate();
-        }
-      }
-    };
+function useIsFontWeightDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const weightSupport = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, FONT_WEIGHT_SUPPORT_KEY);
+  const hasFontWeights = useSetting('typography.fontWeight');
+  return !weightSupport || !hasFontWeights;
+}
+/**
+ * Checks if font appearance support has been disabled.
+ *
+ * @param {Object} props Block properties.
+ *
+ * @return {boolean} Whether font appearance support has been disabled.
+ */

-    const springs = getSprings(t.ctrl, payload);
+function useIsFontAppearanceDisabled(props) {
+  const stylesDisabled = useIsFontStyleDisabled(props);
+  const weightsDisabled = useIsFontWeightDisabled(props);
+  return stylesDisabled && weightsDisabled;
+}
+/**
+ * Checks if there is either a font style or weight value set within the
+ * typography styles.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}     Whether or not the block has a font style or weight.
+ */

-    if (phase === TransitionPhase.LEAVE && exitBeforeEnter) {
-      exitingTransitions.current.set(t, {
-        phase,
-        springs,
-        payload
-      });
-    } else {
-      changes.set(t, {
-        phase,
-        springs,
-        payload
-      });
-    }
-  });
-  const context = Object(react__WEBPACK_IMPORTED_MODULE_1__["useContext"])(SpringContext);
-  const prevContext = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* usePrev */ "D"])(context);
-  const hasContext = context !== prevContext && hasProps(context);
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useLayoutEffect */ "A"])(() => {
-    if (hasContext) {
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(transitions, t => {
-        t.ctrl.start({
-          default: context
-        });
-      });
-    }
-  }, [context]);
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(changes, (_, t) => {
-    if (exitingTransitions.current.size) {
-      const ind = transitions.findIndex(state => state.key === t.key);
-      transitions.splice(ind, 1);
-    }
-  });
-  Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* useLayoutEffect */ "A"])(() => {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(exitingTransitions.current.size ? exitingTransitions.current : changes, ({
-      phase,
-      payload
-    }, t) => {
-      const {
-        ctrl
-      } = t;
-      t.phase = phase;
-      ref == null ? void 0 : ref.add(ctrl);
+function hasFontAppearanceValue(props) {
+  var _props$attributes$sty;

-      if (hasContext && phase == TransitionPhase.ENTER) {
-        ctrl.start({
-          default: context
-        });
+  const {
+    fontStyle,
+    fontWeight
+  } = ((_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : _props$attributes$sty.typography) || {};
+  return !!fontStyle || !!fontWeight;
+}
+/**
+ * Resets the font style and weight block support attributes. This can be used
+ * when disabling the font appearance support controls for a block via a
+ * progressive discovery panel.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.attributes    Block's attributes.
+ * @param {Object} props.setAttributes Function to set block's attributes.
+ */
+
+function resetFontAppearance(_ref) {
+  let {
+    attributes = {},
+    setAttributes
+  } = _ref;
+  const {
+    style
+  } = attributes;
+  setAttributes({
+    style: cleanEmptyObject({ ...style,
+      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+        fontStyle: undefined,
+        fontWeight: undefined
       }
+    })
+  });
+}

-      if (payload) {
-        replaceRef(ctrl, payload.ref);
-
-        if (ctrl.ref && !forceChange.current) {
-          ctrl.update(payload);
-        } else {
-          ctrl.start(payload);
-
-          if (forceChange.current) {
-            forceChange.current = false;
-          }
-        }
-      }
-    });
-  }, reset ? void 0 : deps);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-family/index.js

-  const renderTransitions = render => react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, transitions.map((t, i) => {
-    const {
-      springs
-    } = changes.get(t) || t.ctrl;
-    const elem = render(_extends({}, springs), t.item, t, i);
-    return elem && elem.type ? react__WEBPACK_IMPORTED_MODULE_1__["createElement"](elem.type, _extends({}, elem.props, {
-      key: _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].str(t.key) || _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].num(t.key) ? t.key : t.ctrl.id,
-      ref: elem.ref
-    })) : elem;
-  }));

-  return ref ? [renderTransitions, ref] : renderTransitions;
-}
-let nextKey = 1;

-function getKeys(items, {
-  key,
-  keys = key
-}, prevTransitions) {
-  if (keys === null) {
-    const reused = new Set();
-    return items.map(item => {
-      const t = prevTransitions && prevTransitions.find(t => t.item === item && t.phase !== TransitionPhase.LEAVE && !reused.has(t));
+/**
+ * External dependencies
+ */

-      if (t) {
-        reused.add(t);
-        return t.key;
-      }
+/**
+ * WordPress dependencies
+ */

-      return nextKey++;
-    });
-  }

-  return _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].und(keys) ? items : _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(keys) ? items.map(keys) : Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(keys);
-}

-const _excluded$2 = ["children"];
-function Spring(_ref) {
-  let {
-    children
-  } = _ref,
-      props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
+/**
+ * Internal dependencies
+ */

-  return children(useSpring(props));
-}

-const _excluded$1 = ["items", "children"];
-function Trail(_ref) {
+function FontFamilyControl(_ref) {
   let {
-    items,
-    children
-  } = _ref,
-      props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
+    value = '',
+    onChange,
+    fontFamilies,
+    ...props
+  } = _ref;
+  const blockLevelFontFamilies = useSetting('typography.fontFamilies');

-  const trails = useTrail(items.length, props);
-  return items.map((item, index) => {
-    const result = children(item, index);
-    return _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].fun(result) ? result(trails[index]) : result;
-  });
-}
+  if (!fontFamilies) {
+    fontFamilies = blockLevelFontFamilies;
+  }

-const _excluded = ["items", "children"];
-function Transition(_ref) {
-  let {
-    items,
-    children
-  } = _ref,
-      props = _objectWithoutPropertiesLoose(_ref, _excluded);
+  if ((0,external_lodash_namespaceObject.isEmpty)(fontFamilies)) {
+    return null;
+  }

-  return useTransition(items, props)(children);
+  const options = [{
+    value: '',
+    label: (0,external_wp_i18n_namespaceObject.__)('Default')
+  }, ...fontFamilies.map(_ref2 => {
+    let {
+      fontFamily,
+      name
+    } = _ref2;
+    return {
+      value: fontFamily,
+      label: name || fontFamily
+    };
+  })];
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, _extends({
+    label: (0,external_wp_i18n_namespaceObject.__)('Font family'),
+    options: options,
+    value: value,
+    onChange: onChange,
+    labelPosition: "top"
+  }, props));
 }

-class Interpolation extends FrameValue {
-  constructor(source, args) {
-    super();
-    this.key = void 0;
-    this.idle = true;
-    this.calc = void 0;
-    this._active = new Set();
-    this.source = source;
-    this.calc = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* createInterpolator */ "f"])(...args);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/font-family.js

-    const value = this._get();

-    const nodeType = Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimatedType */ "f"])(value);
-    Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* setAnimated */ "h"])(this, nodeType.create(value));
-  }
+/**
+ * External dependencies
+ */

-  advance(_dt) {
-    const value = this._get();
+/**
+ * WordPress dependencies
+ */

-    const oldValue = this.get();

-    if (!Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* isEqual */ "u"])(value, oldValue)) {
-      Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getAnimated */ "e"])(this).setValue(value);

-      this._onChange(value, this.idle);
-    }

-    if (!this.idle && checkIdle(this._active)) {
-      becomeIdle(this);
-    }
-  }
+/**
+ * Internal dependencies
+ */

-  _get() {
-    const inputs = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* is */ "s"].arr(this.source) ? this.source.map(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"]) : Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* getFluidValue */ "q"])(this.source));
-    return this.calc(...inputs);
-  }

-  _start() {
-    if (this.idle && !checkIdle(this._active)) {
-      this.idle = false;
-      Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getPayload */ "g"])(this), node => {
-        node.done = false;
-      });

-      if (_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* Globals */ "b"].skipAnimation) {
-        _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* raf */ "w"].batchedUpdates(() => this.advance());
-        becomeIdle(this);
-      } else {
-        _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* frameLoop */ "o"].start(this);
-      }
-    }
-  }
+const FONT_FAMILY_SUPPORT_KEY = 'typography.__experimentalFontFamily';
+/**
+ * Filters registered block settings, extending attributes to include
+ * the `fontFamily` attribute.
+ *
+ * @param {Object} settings Original block settings
+ * @return {Object}         Filtered block settings
+ */

-  _attach() {
-    let priority = 1;
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(this.source), source => {
-      if (Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(source)) {
-        Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* addFluidObserver */ "c"])(source, this);
-      }
+function font_family_addAttributes(settings) {
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, FONT_FAMILY_SUPPORT_KEY)) {
+    return settings;
+  } // Allow blocks to specify a default value if needed.

-      if (isFrameValue(source)) {
-        if (!source.idle) {
-          this._active.add(source);
-        }

-        priority = Math.max(priority, source.priority + 1);
+  if (!settings.attributes.fontFamily) {
+    Object.assign(settings.attributes, {
+      fontFamily: {
+        type: 'string'
       }
     });
-    this.priority = priority;
-
-    this._start();
   }

-  _detach() {
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(this.source), source => {
-      if (Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* hasFluidValue */ "r"])(source)) {
-        Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* removeFluidObserver */ "x"])(source, this);
-      }
-    });
+  return settings;
+}
+/**
+ * Override props assigned to save component to inject font family.
+ *
+ * @param {Object} props      Additional props applied to save element
+ * @param {Object} blockType  Block type
+ * @param {Object} attributes Block attributes
+ * @return {Object}           Filtered props applied to save element
+ */

-    this._active.clear();

-    becomeIdle(this);
+function font_family_addSaveProps(props, blockType, attributes) {
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, FONT_FAMILY_SUPPORT_KEY)) {
+    return props;
   }

-  eventObserved(event) {
-    if (event.type == 'change') {
-      if (event.idle) {
-        this.advance();
-      } else {
-        this._active.add(event.parent);
-
-        this._start();
-      }
-    } else if (event.type == 'idle') {
-        this._active.delete(event.parent);
-      } else if (event.type == 'priority') {
-          this.priority = Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* toArray */ "y"])(this.source).reduce((highest, parent) => Math.max(highest, (isFrameValue(parent) ? parent.priority : 0) + 1), 0);
-        }
+  if ((0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, 'typography.__experimentalSkipSerialization')) {
+    return props;
   }

-}
+  if (!(attributes !== null && attributes !== void 0 && attributes.fontFamily)) {
+    return props;
+  } // Use TokenList to dedupe classes.

-function isIdle(source) {
-  return source.idle !== false;
-}

-function checkIdle(active) {
-  return !active.size || Array.from(active).every(isIdle);
+  const classes = new (external_wp_tokenList_default())(props.className);
+  classes.add(`has-${(0,external_lodash_namespaceObject.kebabCase)(attributes === null || attributes === void 0 ? void 0 : attributes.fontFamily)}-font-family`);
+  const newClassName = classes.value;
+  props.className = newClassName ? newClassName : undefined;
+  return props;
 }
+/**
+ * Filters registered block settings to expand the block edit wrapper
+ * by applying the desired styles and classnames.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
+ */

-function becomeIdle(self) {
-  if (!self.idle) {
-    self.idle = true;
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* each */ "k"])(Object(_react_spring_animated__WEBPACK_IMPORTED_MODULE_2__[/* getPayload */ "g"])(self), node => {
-      node.done = true;
-    });
-    Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* callFluidObservers */ "d"])(self, {
-      type: 'idle',
-      parent: self
-    });
+
+function font_family_addEditProps(settings) {
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, FONT_FAMILY_SUPPORT_KEY)) {
+    return settings;
   }
-}

-const to = (source, ...args) => new Interpolation(source, args);
-const interpolate = (source, ...args) => (Object(_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* deprecateInterpolate */ "j"])(), new Interpolation(source, args));
+  const existingGetEditWrapperProps = settings.getEditWrapperProps;

-_react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* Globals */ "b"].assign({
-  createStringInterpolator: _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* createStringInterpolator */ "g"],
-  to: (source, args) => new Interpolation(source, args)
-});
-const update = _react_spring_shared__WEBPACK_IMPORTED_MODULE_0__[/* frameLoop */ "o"].advance;
+  settings.getEditWrapperProps = attributes => {
+    let props = {};

+    if (existingGetEditWrapperProps) {
+      props = existingGetEditWrapperProps(attributes);
+    }

+    return font_family_addSaveProps(props, settings, attributes);
+  };

+  return settings;
+}

-/***/ }),
+function FontFamilyEdit(_ref) {
+  var _find;

-/***/ "l3Sj":
-/***/ (function(module, exports) {
+  let {
+    setAttributes,
+    attributes: {
+      fontFamily
+    }
+  } = _ref;
+  const fontFamilies = useSetting('typography.fontFamilies');
+  const value = (_find = (0,external_lodash_namespaceObject.find)(fontFamilies, _ref2 => {
+    let {
+      slug
+    } = _ref2;
+    return fontFamily === slug;
+  })) === null || _find === void 0 ? void 0 : _find.fontFamily;

-(function() { module.exports = window["wp"]["i18n"]; }());
+  function onChange(newValue) {
+    const predefinedFontFamily = (0,external_lodash_namespaceObject.find)(fontFamilies, _ref3 => {
+      let {
+        fontFamily: f
+      } = _ref3;
+      return f === newValue;
+    });
+    setAttributes({
+      fontFamily: predefinedFontFamily === null || predefinedFontFamily === void 0 ? void 0 : predefinedFontFamily.slug
+    });
+  }

-/***/ }),
+  return (0,external_wp_element_namespaceObject.createElement)(FontFamilyControl, {
+    className: "block-editor-hooks-font-family-control",
+    fontFamilies: fontFamilies,
+    value: value,
+    onChange: onChange
+  });
+}
+/**
+ * Custom hook that checks if font-family functionality is disabled.
+ *
+ * @param {string} name The name of the block.
+ * @return {boolean} Whether setting is disabled.
+ */

-/***/ "lJLt":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function useIsFontFamilyDisabled(_ref4) {
+  let {
+    name
+  } = _ref4;
+  const fontFamilies = useSetting('typography.fontFamilies');
+  return !fontFamilies || fontFamilies.length === 0 || !(0,external_wp_blocks_namespaceObject.hasBlockSupport)(name, FONT_FAMILY_SUPPORT_KEY);
+}
+/**
+ * Checks if there is a current value set for the font family block support.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}     Whether or not the block has a font family value set.
+ */

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PREFERENCES_DEFAULTS; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return SETTINGS_DEFAULTS; });
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__);
+function hasFontFamilyValue(props) {
+  return !!props.attributes.fontFamily;
+}
 /**
- * WordPress dependencies
+ * Resets the font family block support attribute. This can be used when
+ * disabling the font family support controls for a block via a progressive
+ * discovery panel.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.setAttributes Function to set block's attributes.
  */

-const PREFERENCES_DEFAULTS = {
-  insertUsage: {}
-};
+function resetFontFamily(_ref5) {
+  let {
+    setAttributes
+  } = _ref5;
+  setAttributes({
+    fontFamily: undefined
+  });
+}
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/fontFamily/addAttribute', font_family_addAttributes);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.getSaveContent.extraProps', 'core/fontFamily/addSaveProps', font_family_addSaveProps);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/fontFamily/addEditProps', font_family_addEditProps);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/utils.js
 /**
- * The default editor settings
+ * External dependencies
+ */
+
+/**
+ *  Returns the font size object based on an array of named font sizes and the namedFontSize and customFontSize values.
+ * 	If namedFontSize is undefined or not found in fontSizes an object with just the size value based on customFontSize is returned.
  *
- * @typedef {Object} SETTINGS_DEFAULT
- * @property {boolean}       alignWide                              Enable/Disable Wide/Full Alignments
- * @property {boolean}       supportsLayout                         Enable/disable layouts support in container blocks.
- * @property {boolean}       imageEditing                           Image Editing settings set to false to disable.
- * @property {Array}         imageSizes                             Available image sizes
- * @property {number}        maxWidth                               Max width to constraint resizing
- * @property {boolean|Array} allowedBlockTypes                      Allowed block types
- * @property {boolean}       hasFixedToolbar                        Whether or not the editor toolbar is fixed
- * @property {boolean}       focusMode                              Whether the focus mode is enabled or not
- * @property {Array}         styles                                 Editor Styles
- * @property {boolean}       keepCaretInsideBlock                   Whether caret should move between blocks in edit mode
- * @property {string}        bodyPlaceholder                        Empty post placeholder
- * @property {string}        titlePlaceholder                       Empty title placeholder
- * @property {boolean}       codeEditingEnabled                     Whether or not the user can switch to the code editor
- * @property {boolean}       __experimentalCanUserUseUnfilteredHTML Whether the user should be able to use unfiltered HTML or the HTML should be filtered e.g., to remove elements considered insecure like iframes.
- * @property {boolean}       __experimentalBlockDirectory           Whether the user has enabled the Block Directory
- * @property {Array}         __experimentalBlockPatterns            Array of objects representing the block patterns
- * @property {Array}         __experimentalBlockPatternCategories   Array of objects representing the block pattern categories
- * @property {boolean}       __unstableGalleryWithImageBlocks       Whether the user has enabled the refactored gallery block which uses InnerBlocks
+ * @param {Array}   fontSizes               Array of font size objects containing at least the "name" and "size" values as properties.
+ * @param {?string} fontSizeAttribute       Content of the font size attribute (slug).
+ * @param {?number} customFontSizeAttribute Contents of the custom font size attribute (value).
+ *
+ * @return {?Object} If fontSizeAttribute is set and an equal slug is found in fontSizes it returns the font size object for that slug.
+ * 					 Otherwise, an object with just the size value based on customFontSize is returned.
  */

-const SETTINGS_DEFAULTS = {
-  alignWide: false,
-  supportsLayout: true,
-  // colors setting is not used anymore now defaults are passed from theme.json on the server and core has its own defaults.
-  // The setting is only kept for backward compatibility purposes.
-  colors: [{
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Black'),
-    slug: 'black',
-    color: '#000000'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Cyan bluish gray'),
-    slug: 'cyan-bluish-gray',
-    color: '#abb8c3'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('White'),
-    slug: 'white',
-    color: '#ffffff'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Pale pink'),
-    slug: 'pale-pink',
-    color: '#f78da7'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Vivid red'),
-    slug: 'vivid-red',
-    color: '#cf2e2e'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Luminous vivid orange'),
-    slug: 'luminous-vivid-orange',
-    color: '#ff6900'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Luminous vivid amber'),
-    slug: 'luminous-vivid-amber',
-    color: '#fcb900'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Light green cyan'),
-    slug: 'light-green-cyan',
-    color: '#7bdcb5'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Vivid green cyan'),
-    slug: 'vivid-green-cyan',
-    color: '#00d084'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Pale cyan blue'),
-    slug: 'pale-cyan-blue',
-    color: '#8ed1fc'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Vivid cyan blue'),
-    slug: 'vivid-cyan-blue',
-    color: '#0693e3'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Vivid purple'),
-    slug: 'vivid-purple',
-    color: '#9b51e0'
-  }],
-  // fontSizes setting is not used anymore now defaults are passed from theme.json on the server and core has its own defaults.
-  // The setting is only kept for backward compatibility purposes.
-  fontSizes: [{
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["_x"])('Small', 'font size name'),
-    size: 13,
-    slug: 'small'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["_x"])('Normal', 'font size name'),
-    size: 16,
-    slug: 'normal'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["_x"])('Medium', 'font size name'),
-    size: 20,
-    slug: 'medium'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["_x"])('Large', 'font size name'),
-    size: 36,
-    slug: 'large'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["_x"])('Huge', 'font size name'),
-    size: 42,
-    slug: 'huge'
-  }],
-  // Image default size slug.
-  imageDefaultSize: 'large',
-  imageSizes: [{
-    slug: 'thumbnail',
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Thumbnail')
-  }, {
-    slug: 'medium',
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Medium')
-  }, {
-    slug: 'large',
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Large')
-  }, {
-    slug: 'full',
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Full Size')
-  }],
-  // Allow plugin to disable Image Editor if need be
-  imageEditing: true,
-  // This is current max width of the block inner area
-  // It's used to constraint image resizing and this value could be overridden later by themes
-  maxWidth: 580,
-  // Allowed block types for the editor, defaulting to true (all supported).
-  allowedBlockTypes: true,
-  // Maximum upload size in bytes allowed for the site.
-  maxUploadFileSize: 0,
-  // List of allowed mime types and file extensions.
-  allowedMimeTypes: null,
-  __experimentalCanUserUseUnfilteredHTML: false,
-  __experimentalBlockDirectory: false,
-  __mobileEnablePageTemplates: false,
-  __experimentalBlockPatterns: [],
-  __experimentalBlockPatternCategories: [],
-  __experimentalSpotlightEntityBlocks: [],
-  __experimentalGenerateAnchors: false,
-  __unstableGalleryWithImageBlocks: false,
-  // gradients setting is not used anymore now defaults are passed from theme.json on the server and core has its own defaults.
-  // The setting is only kept for backward compatibility purposes.
-  gradients: [{
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('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(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('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(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('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(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('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(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('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(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('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(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Blush light purple'),
-    gradient: 'linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)',
-    slug: 'blush-light-purple'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('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(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('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(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('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(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Electric grass'),
-    gradient: 'linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)',
-    slug: 'electric-grass'
-  }, {
-    name: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_0__["__"])('Midnight'),
-    gradient: 'linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)',
-    slug: 'midnight'
-  }]
+const getFontSize = (fontSizes, fontSizeAttribute, customFontSizeAttribute) => {
+  if (fontSizeAttribute) {
+    const fontSizeObject = (0,external_lodash_namespaceObject.find)(fontSizes, {
+      slug: fontSizeAttribute
+    });
+
+    if (fontSizeObject) {
+      return fontSizeObject;
+    }
+  }
+
+  return {
+    size: customFontSizeAttribute
+  };
 };
+/**
+ * Returns the corresponding font size object for a given value.
+ *
+ * @param {Array}  fontSizes Array of font size objects.
+ * @param {number} value     Font size value.
+ *
+ * @return {Object} Font size object.
+ */
+
+function getFontSizeObjectByValue(fontSizes, value) {
+  const fontSizeObject = (0,external_lodash_namespaceObject.find)(fontSizes, {
+    size: value
+  });
+
+  if (fontSizeObject) {
+    return fontSizeObject;
+  }
+
+  return {
+    size: value
+  };
+}
+/**
+ * Returns a class based on fontSizeName.
+ *
+ * @param {string} fontSizeSlug Slug of the fontSize.
+ *
+ * @return {string} String with the class corresponding to the fontSize passed.
+ *                  The class is generated by appending 'has-' followed by fontSizeSlug in kebabCase and ending with '-font-size'.
+ */

+function getFontSizeClass(fontSizeSlug) {
+  if (!fontSizeSlug) {
+    return;
+  }

-/***/ }),
+  return `has-${(0,external_lodash_namespaceObject.kebabCase)(fontSizeSlug)}-font-size`;
+}

-/***/ "mdLt":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/font-size-picker.js

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);


 /**
  * WordPress dependencies
  */

+/**
+ * Internal dependencies
+ */

-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", {
-    className: "block-editor-inserter__panel-title"
-  }, title), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["Icon"], {
-    icon: icon
-  })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    className: "block-editor-inserter__panel-content"
-  }, children));
-}

-/* harmony default export */ __webpack_exports__["a"] = (InserterPanel);

+function FontSizePicker(props) {
+  const fontSizes = useSetting('typography.fontSizes');
+  const disableCustomFontSizes = !useSetting('typography.customFontSize');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FontSizePicker, _extends({}, props, {
+    fontSizes: fontSizes,
+    disableCustomFontSizes: disableCustomFontSizes
+  }));
+}

-/***/ }),
+/* harmony default export */ var font_size_picker = (FontSizePicker);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/font-size.js

-/***/ "mlss":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__);
 /**
  * WordPress dependencies
  */

-const {
-  Fill: __unstableInserterMenuExtension,
-  Slot
-} = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_0__["createSlotFill"])('__unstableInserterMenuExtension');
-__unstableInserterMenuExtension.Slot = Slot;
-/* harmony default export */ __webpack_exports__["a"] = (__unstableInserterMenuExtension);


-/***/ }),

-/***/ "nEW0":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Internal dependencies
+ */

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "w", function() { return /* reexport */ raf; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ FluidValue; });
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ react_spring_shared_esm_globals; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ addFluidObserver; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ callFluidObservers; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* binding */ colors; });
-__webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ createInterpolator; });
-__webpack_require__.d(__webpack_exports__, "g", function() { return /* binding */ createStringInterpolator; });
-__webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ defineHidden; });
-__webpack_require__.d(__webpack_exports__, "i", function() { return /* binding */ deprecateDirectCall; });
-__webpack_require__.d(__webpack_exports__, "j", function() { return /* binding */ deprecateInterpolate; });
-__webpack_require__.d(__webpack_exports__, "k", function() { return /* binding */ each; });
-__webpack_require__.d(__webpack_exports__, "l", function() { return /* binding */ eachProp; });
-__webpack_require__.d(__webpack_exports__, "m", function() { return /* binding */ flush; });
-__webpack_require__.d(__webpack_exports__, "n", function() { return /* binding */ flushCalls; });
-__webpack_require__.d(__webpack_exports__, "o", function() { return /* binding */ frameLoop; });
-__webpack_require__.d(__webpack_exports__, "p", function() { return /* binding */ getFluidObservers; });
-__webpack_require__.d(__webpack_exports__, "q", function() { return /* binding */ getFluidValue; });
-__webpack_require__.d(__webpack_exports__, "r", function() { return /* binding */ hasFluidValue; });
-__webpack_require__.d(__webpack_exports__, "s", function() { return /* binding */ is; });
-__webpack_require__.d(__webpack_exports__, "t", function() { return /* binding */ isAnimatedString; });
-__webpack_require__.d(__webpack_exports__, "u", function() { return /* binding */ isEqual; });
-__webpack_require__.d(__webpack_exports__, "v", function() { return /* binding */ noop; });
-__webpack_require__.d(__webpack_exports__, "x", function() { return /* binding */ removeFluidObserver; });
-__webpack_require__.d(__webpack_exports__, "y", function() { return /* binding */ toArray; });
-__webpack_require__.d(__webpack_exports__, "z", function() { return /* binding */ useForceUpdate; });
-__webpack_require__.d(__webpack_exports__, "A", function() { return /* binding */ useLayoutEffect; });
-__webpack_require__.d(__webpack_exports__, "B", function() { return /* binding */ useMemoOne; });
-__webpack_require__.d(__webpack_exports__, "C", function() { return /* binding */ useOnce; });
-__webpack_require__.d(__webpack_exports__, "D", function() { return /* binding */ usePrev; });
-
-// UNUSED EXPORTS: callFluidObserver, colorToRgba, hex3, hex4, hex6, hex8, hsl, hsla, isSSR, rgb, rgba, setFluidGetter
-
-// CONCATENATED MODULE: ./node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.js
-let updateQueue = makeQueue();
-const raf = fn => schedule(fn, updateQueue);
-let writeQueue = makeQueue();

-raf.write = fn => schedule(fn, writeQueue);

-let onStartQueue = makeQueue();
+const FONT_SIZE_SUPPORT_KEY = 'typography.fontSize';
+/**
+ * Filters registered block settings, extending attributes to include
+ * `fontSize` and `fontWeight` attributes.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
+ */

-raf.onStart = fn => schedule(fn, onStartQueue);
+function font_size_addAttributes(settings) {
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, FONT_SIZE_SUPPORT_KEY)) {
+    return settings;
+  } // Allow blocks to specify a default value if needed.

-let onFrameQueue = makeQueue();

-raf.onFrame = fn => schedule(fn, onFrameQueue);
+  if (!settings.attributes.fontSize) {
+    Object.assign(settings.attributes, {
+      fontSize: {
+        type: 'string'
+      }
+    });
+  }

-let onFinishQueue = makeQueue();
+  return settings;
+}
+/**
+ * Override props assigned to save component to inject font size.
+ *
+ * @param {Object} props      Additional props applied to save element.
+ * @param {Object} blockType  Block type.
+ * @param {Object} attributes Block attributes.
+ *
+ * @return {Object} Filtered props applied to save element.
+ */

-raf.onFinish = fn => schedule(fn, onFinishQueue);

-let timeouts = [];
+function font_size_addSaveProps(props, blockType, attributes) {
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, FONT_SIZE_SUPPORT_KEY)) {
+    return props;
+  }

-raf.setTimeout = (handler, ms) => {
-  let time = raf.now() + ms;
+  if ((0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, 'typography.__experimentalSkipSerialization')) {
+    return props;
+  } // Use TokenList to dedupe classes.

-  let cancel = () => {
-    let i = timeouts.findIndex(t => t.cancel == cancel);
-    if (~i) timeouts.splice(i, 1);
-    pendingCount -= ~i ? 1 : 0;
-  };

-  let timeout = {
-    time,
-    handler,
-    cancel
-  };
-  timeouts.splice(findTimeout(time), 0, timeout);
-  pendingCount += 1;
-  start();
-  return timeout;
-};
+  const classes = new (external_wp_tokenList_default())(props.className);
+  classes.add(getFontSizeClass(attributes.fontSize));
+  const newClassName = classes.value;
+  props.className = newClassName ? newClassName : undefined;
+  return props;
+}
+/**
+ * Filters registered block settings to expand the block edit wrapper
+ * by applying the desired styles and classnames.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
+ */

-let findTimeout = time => ~(~timeouts.findIndex(t => t.time > time) || ~timeouts.length);

-raf.cancel = fn => {
-  onStartQueue.delete(fn);
-  onFrameQueue.delete(fn);
-  updateQueue.delete(fn);
-  writeQueue.delete(fn);
-  onFinishQueue.delete(fn);
-};
+function font_size_addEditProps(settings) {
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, FONT_SIZE_SUPPORT_KEY)) {
+    return settings;
+  }

-raf.sync = fn => {
-  sync = true;
-  raf.batchedUpdates(fn);
-  sync = false;
-};
+  const existingGetEditWrapperProps = settings.getEditWrapperProps;

-raf.throttle = fn => {
-  let lastArgs;
+  settings.getEditWrapperProps = attributes => {
+    let props = {};

-  function queuedFn() {
-    try {
-      fn(...lastArgs);
-    } finally {
-      lastArgs = null;
+    if (existingGetEditWrapperProps) {
+      props = existingGetEditWrapperProps(attributes);
     }
-  }

-  function throttled(...args) {
-    lastArgs = args;
-    raf.onStart(queuedFn);
-  }
+    return font_size_addSaveProps(props, settings, attributes);
+  };

-  throttled.handler = fn;
+  return settings;
+}
+/**
+ * Inspector control panel containing the font size related configuration
+ *
+ * @param {Object} props
+ *
+ * @return {WPElement} Font size edit element.
+ */

-  throttled.cancel = () => {
-    onStartQueue.delete(queuedFn);
-    lastArgs = null;
+
+function FontSizeEdit(props) {
+  var _style$typography, _style$typography2;
+
+  const {
+    attributes: {
+      fontSize,
+      style
+    },
+    setAttributes
+  } = props;
+  const fontSizes = useSetting('typography.fontSizes');
+
+  const onChange = value => {
+    const fontSizeSlug = getFontSizeObjectByValue(fontSizes, value).slug;
+    setAttributes({
+      style: cleanEmptyObject({ ...style,
+        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+          fontSize: fontSizeSlug ? undefined : value
+        }
+      }),
+      fontSize: fontSizeSlug
+    });
   };

-  return throttled;
-};
+  const fontSizeObject = getFontSize(fontSizes, fontSize, style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.fontSize);
+  const fontSizeValue = (fontSizeObject === null || fontSizeObject === void 0 ? void 0 : fontSizeObject.size) || (style === null || style === void 0 ? void 0 : (_style$typography2 = style.typography) === null || _style$typography2 === void 0 ? void 0 : _style$typography2.fontSize) || fontSize;
+  return (0,external_wp_element_namespaceObject.createElement)(font_size_picker, {
+    onChange: onChange,
+    value: fontSizeValue,
+    withReset: false
+  });
+}
+/**
+ * Checks if there is a current value set for the font size block support.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}     Whether or not the block has a font size value set.
+ */

-let nativeRaf = typeof window != 'undefined' ? window.requestAnimationFrame : () => {};
+function hasFontSizeValue(props) {
+  var _style$typography3;

-raf.use = impl => nativeRaf = impl;
+  const {
+    fontSize,
+    style
+  } = props.attributes;
+  return !!fontSize || !!(style !== null && style !== void 0 && (_style$typography3 = style.typography) !== null && _style$typography3 !== void 0 && _style$typography3.fontSize);
+}
+/**
+ * Resets the font size block support attribute. This can be used when
+ * disabling the font size support controls for a block via a progressive
+ * discovery panel.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.attributes    Block's attributes.
+ * @param {Object} props.setAttributes Function to set block's attributes.
+ */

-raf.now = typeof performance != 'undefined' ? () => performance.now() : Date.now;
+function resetFontSize(_ref) {
+  let {
+    attributes = {},
+    setAttributes
+  } = _ref;
+  const {
+    style
+  } = attributes;
+  setAttributes({
+    fontSize: undefined,
+    style: cleanEmptyObject({ ...style,
+      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+        fontSize: undefined
+      }
+    })
+  });
+}
+/**
+ * Custom hook that checks if font-size settings have been disabled.
+ *
+ * @param {string} name The name of the block.
+ * @return {boolean} Whether setting is disabled.
+ */

-raf.batchedUpdates = fn => fn();
+function useIsFontSizeDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const fontSizes = useSetting('typography.fontSizes');
+  const hasFontSizes = !!(fontSizes !== null && fontSizes !== void 0 && fontSizes.length);
+  return !(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, FONT_SIZE_SUPPORT_KEY) || !hasFontSizes;
+}
+/**
+ * Add inline styles for font sizes.
+ * Ideally, this is not needed and themes load the font-size classes on the
+ * editor.
+ *
+ * @param {Function} BlockListBlock Original component.
+ *
+ * @return {Function} Wrapped component.
+ */

-raf.catch = console.error;
-raf.frameLoop = 'always';
+const withFontSizeInlineStyles = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockListBlock => props => {
+  var _style$typography4, _style$typography5;

-raf.advance = () => {
-  if (raf.frameLoop !== 'demand') {
-    console.warn('Cannot call the manual advancement of rafz whilst frameLoop is not set as demand');
-  } else {
-    react_spring_rafz_esm_update();
+  const fontSizes = useSetting('typography.fontSizes');
+  const {
+    name: blockName,
+    attributes: {
+      fontSize,
+      style
+    },
+    wrapperProps
+  } = props; // Only add inline styles if the block supports font sizes,
+  // doesn't skip serialization of font sizes,
+  // doesn't already have an inline font size,
+  // and does have a class to extract the font size from.
+
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, FONT_SIZE_SUPPORT_KEY) || (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, 'typography.__experimentalSkipSerialization') || !fontSize || style !== null && style !== void 0 && (_style$typography4 = style.typography) !== null && _style$typography4 !== void 0 && _style$typography4.fontSize) {
+    return (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, props);
   }
-};

-let ts = -1;
-let pendingCount = 0;
-let sync = false;
+  const fontSizeValue = getFontSize(fontSizes, fontSize, style === null || style === void 0 ? void 0 : (_style$typography5 = style.typography) === null || _style$typography5 === void 0 ? void 0 : _style$typography5.fontSize).size;
+  const newProps = { ...props,
+    wrapperProps: { ...wrapperProps,
+      style: {
+        fontSize: fontSizeValue,
+        ...(wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.style)
+      }
+    }
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, newProps);
+}, 'withFontSizeInlineStyles');
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/font/addAttribute', font_size_addAttributes);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.getSaveContent.extraProps', 'core/font/addSaveProps', font_size_addSaveProps);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/font/addEditProps', font_size_addEditProps);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockListBlock', 'core/font-size/with-font-size-inline-styles', withFontSizeInlineStyles);

-function schedule(fn, queue) {
-  if (sync) {
-    queue.delete(fn);
-    fn(0);
-  } else {
-    queue.add(fn);
-    start();
-  }
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-underline.js

-function start() {
-  if (ts < 0) {
-    ts = 0;

-    if (raf.frameLoop !== 'demand') {
-      nativeRaf(loop);
-    }
-  }
-}
+/**
+ * WordPress dependencies
+ */

-function stop() {
-  ts = -1;
-}
+const formatUnderline = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var format_underline = (formatUnderline);

-function loop() {
-  if (~ts) {
-    nativeRaf(loop);
-    raf.batchedUpdates(react_spring_rafz_esm_update);
-  }
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js

-function react_spring_rafz_esm_update() {
-  let prevTs = ts;
-  ts = raf.now();
-  let count = findTimeout(ts);

-  if (count) {
-    eachSafely(timeouts.splice(0, count), t => t.handler());
-    pendingCount -= count;
-  }
+/**
+ * WordPress dependencies
+ */

-  onStartQueue.flush();
-  updateQueue.flush(prevTs ? Math.min(64, ts - prevTs) : 16.667);
-  onFrameQueue.flush();
-  writeQueue.flush();
-  onFinishQueue.flush();
+const formatStrikethrough = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var format_strikethrough = (formatStrikethrough);

-  if (!pendingCount) {
-    stop();
-  }
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/text-decoration-control/index.js

-function makeQueue() {
-  let next = new Set();
-  let current = next;
-  return {
-    add(fn) {
-      pendingCount += current == next && !next.has(fn) ? 1 : 0;
-      next.add(fn);
-    },

-    delete(fn) {
-      pendingCount -= current == next && next.has(fn) ? 1 : 0;
-      return next.delete(fn);
-    },
+/**
+ * WordPress dependencies
+ */

-    flush(arg) {
-      if (current.size) {
-        next = new Set();
-        pendingCount -= current.size;
-        eachSafely(current, fn => fn(arg) && next.add(fn));
-        pendingCount += next.size;
-        current = next;
-      }
-    }

-  };
-}

-function eachSafely(values, each) {
-  values.forEach(value => {
-    try {
-      each(value);
-    } catch (e) {
-      raf.catch(e);
-    }
-  });
+const TEXT_DECORATIONS = [{
+  name: (0,external_wp_i18n_namespaceObject.__)('Underline'),
+  value: 'underline',
+  icon: format_underline
+}, {
+  name: (0,external_wp_i18n_namespaceObject.__)('Strikethrough'),
+  value: 'line-through',
+  icon: format_strikethrough
+}];
+/**
+ * Control to facilitate text decoration selections.
+ *
+ * @param {Object}   props          Component props.
+ * @param {string}   props.value    Currently selected text decoration.
+ * @param {Function} props.onChange Handles change in text decoration selection.
+ *
+ * @return {WPElement} Text decoration control.
+ */
+
+function TextDecorationControl(_ref) {
+  let {
+    value,
+    onChange
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("fieldset", {
+    className: "block-editor-text-decoration-control"
+  }, (0,external_wp_element_namespaceObject.createElement)("legend", null, (0,external_wp_i18n_namespaceObject.__)('Decoration')), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-text-decoration-control__buttons"
+  }, TEXT_DECORATIONS.map(textDecoration => {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      key: textDecoration.value,
+      icon: textDecoration.icon,
+      isSmall: true,
+      isPressed: textDecoration.value === value,
+      onClick: () => onChange(textDecoration.value === value ? undefined : textDecoration.value),
+      "aria-label": textDecoration.name
+    });
+  })));
 }

-const __raf = {
-  count() {
-    return pendingCount;
-  },
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/text-decoration.js

-  isRunning() {
-    return ts >= 0;
-  },

-  clear() {
-    ts = -1;
-    timeouts = [];
-    onStartQueue = makeQueue();
-    updateQueue = makeQueue();
-    onFrameQueue = makeQueue();
-    writeQueue = makeQueue();
-    onFinishQueue = makeQueue();
-    pendingCount = 0;
-  }
+/**
+ * WordPress dependencies
+ */

-};
+/**
+ * Internal dependencies
+ */



-// EXTERNAL MODULE: external "React"
-var external_React_ = __webpack_require__("cDcd");

-// CONCATENATED MODULE: ./node_modules/@react-spring/shared/dist/react-spring-shared.esm.js
+/**
+ * Key within block settings' supports array indicating support for text
+ * decorations e.g. settings found in `block.json`.
+ */

+const TEXT_DECORATION_SUPPORT_KEY = 'typography.__experimentalTextDecoration';
+/**
+ * Inspector control panel containing the text decoration options.
+ *
+ * @param {Object} props Block properties.
+ *
+ * @return {WPElement} Text decoration edit element.
+ */

+function TextDecorationEdit(props) {
+  var _style$typography;

+  const {
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;

+  function onChange(newDecoration) {
+    setAttributes({
+      style: cleanEmptyObject({ ...style,
+        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+          textDecoration: newDecoration
+        }
+      })
+    });
+  }

-function noop() {}
-const defineHidden = (obj, key, value) => Object.defineProperty(obj, key, {
-  value,
-  writable: true,
-  configurable: true
-});
-const is = {
-  arr: Array.isArray,
-  obj: a => !!a && a.constructor.name === 'Object',
-  fun: a => typeof a === 'function',
-  str: a => typeof a === 'string',
-  num: a => typeof a === 'number',
-  und: a => a === undefined
-};
-function isEqual(a, b) {
-  if (is.arr(a)) {
-    if (!is.arr(b) || a.length !== b.length) return false;
+  return (0,external_wp_element_namespaceObject.createElement)(TextDecorationControl, {
+    value: style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.textDecoration,
+    onChange: onChange
+  });
+}
+/**
+ * Checks if text-decoration settings have been disabled.
+ *
+ * @param {string} name Name of the block.
+ *
+ * @return {boolean} Whether or not the setting is disabled.
+ */

-    for (let i = 0; i < a.length; i++) {
-      if (a[i] !== b[i]) return false;
-    }
+function useIsTextDecorationDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const notSupported = !(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, TEXT_DECORATION_SUPPORT_KEY);
+  const hasTextDecoration = useSetting('typography.textDecoration');
+  return notSupported || !hasTextDecoration;
+}
+/**
+ * Checks if there is a current value set for the text decoration block support.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}     Whether or not the block has a text decoration set.
+ */

-    return true;
-  }
+function hasTextDecorationValue(props) {
+  var _props$attributes$sty, _props$attributes$sty2;

-  return a === b;
+  return !!((_props$attributes$sty = props.attributes.style) !== null && _props$attributes$sty !== void 0 && (_props$attributes$sty2 = _props$attributes$sty.typography) !== null && _props$attributes$sty2 !== void 0 && _props$attributes$sty2.textDecoration);
 }
-const each = (obj, fn) => obj.forEach(fn);
-function eachProp(obj, fn, ctx) {
-  if (is.arr(obj)) {
-    for (let i = 0; i < obj.length; i++) {
-      fn.call(ctx, obj[i], `${i}`);
-    }
-
-    return;
-  }
+/**
+ * Resets the text decoration block support attribute. This can be used when
+ * disabling the text decoration support controls for a block via a progressive
+ * discovery panel.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.attributes    Block's attributes.
+ * @param {Object} props.setAttributes Function to set block's attributes.
+ */

-  for (const key in obj) {
-    if (obj.hasOwnProperty(key)) {
-      fn.call(ctx, obj[key], key);
-    }
-  }
-}
-const toArray = a => is.und(a) ? [] : is.arr(a) ? a : [a];
-function flush(queue, iterator) {
-  if (queue.size) {
-    const items = Array.from(queue);
-    queue.clear();
-    each(items, iterator);
-  }
+function resetTextDecoration(_ref) {
+  let {
+    attributes = {},
+    setAttributes
+  } = _ref;
+  const {
+    style
+  } = attributes;
+  setAttributes({
+    style: cleanEmptyObject({ ...style,
+      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+        textDecoration: undefined
+      }
+    })
+  });
 }
-const flushCalls = (queue, ...args) => flush(queue, fn => fn(...args));
-const isSSR = () => typeof window === 'undefined' || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent);
-
-let createStringInterpolator$1;
-let to;
-let colors$1 = null;
-let skipAnimation = false;
-let willAdvance = noop;
-const react_spring_shared_esm_assign = globals => {
-  if (globals.to) to = globals.to;
-  if (globals.now) raf.now = globals.now;
-  if (globals.colors !== undefined) colors$1 = globals.colors;
-  if (globals.skipAnimation != null) skipAnimation = globals.skipAnimation;
-  if (globals.createStringInterpolator) createStringInterpolator$1 = globals.createStringInterpolator;
-  if (globals.requestAnimationFrame) raf.use(globals.requestAnimationFrame);
-  if (globals.batchedUpdates) raf.batchedUpdates = globals.batchedUpdates;
-  if (globals.willAdvance) willAdvance = globals.willAdvance;
-  if (globals.frameLoop) raf.frameLoop = globals.frameLoop;
-};
-
-var react_spring_shared_esm_globals = /*#__PURE__*/Object.freeze({
-  __proto__: null,
-  get createStringInterpolator () { return createStringInterpolator$1; },
-  get to () { return to; },
-  get colors () { return colors$1; },
-  get skipAnimation () { return skipAnimation; },
-  get willAdvance () { return willAdvance; },
-  assign: react_spring_shared_esm_assign
-});

-const startQueue = new Set();
-let currentFrame = [];
-let prevFrame = [];
-let priority = 0;
-const frameLoop = {
-  get idle() {
-    return !startQueue.size && !currentFrame.length;
-  },
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-uppercase.js

-  start(animation) {
-    if (priority > animation.priority) {
-      startQueue.add(animation);
-      raf.onStart(flushStartQueue);
-    } else {
-      startSafely(animation);
-      raf(advance);
-    }
-  },

-  advance,
+/**
+ * WordPress dependencies
+ */

-  sort(animation) {
-    if (priority) {
-      raf.onFrame(() => frameLoop.sort(animation));
-    } else {
-      const prevIndex = currentFrame.indexOf(animation);
+const formatUppercase = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var format_uppercase = (formatUppercase);

-      if (~prevIndex) {
-        currentFrame.splice(prevIndex, 1);
-        startUnsafely(animation);
-      }
-    }
-  },
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-lowercase.js

-  clear() {
-    currentFrame = [];
-    startQueue.clear();
-  }

-};
+/**
+ * WordPress dependencies
+ */

-function flushStartQueue() {
-  startQueue.forEach(startSafely);
-  startQueue.clear();
-  raf(advance);
-}
+const formatLowercase = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var format_lowercase = (formatLowercase);

-function startSafely(animation) {
-  if (!currentFrame.includes(animation)) startUnsafely(animation);
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-capitalize.js

-function startUnsafely(animation) {
-  currentFrame.splice(findIndex(currentFrame, other => other.priority > animation.priority), 0, animation);
-}

-function advance(dt) {
-  const nextFrame = prevFrame;
+/**
+ * WordPress dependencies
+ */

-  for (let i = 0; i < currentFrame.length; i++) {
-    const animation = currentFrame[i];
-    priority = animation.priority;
+const formatCapitalize = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var format_capitalize = (formatCapitalize);

-    if (!animation.idle) {
-      willAdvance(animation);
-      animation.advance(dt);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/text-transform-control/index.js

-      if (!animation.idle) {
-        nextFrame.push(animation);
-      }
-    }
-  }

-  priority = 0;
-  prevFrame = currentFrame;
-  prevFrame.length = 0;
-  currentFrame = nextFrame;
-  return currentFrame.length > 0;
-}
+/**
+ * WordPress dependencies
+ */

-function findIndex(arr, test) {
-  const index = arr.findIndex(test);
-  return index < 0 ? arr.length : index;
-}

-const colors = {
-  transparent: 0x00000000,
-  aliceblue: 0xf0f8ffff,
-  antiquewhite: 0xfaebd7ff,
-  aqua: 0x00ffffff,
-  aquamarine: 0x7fffd4ff,
-  azure: 0xf0ffffff,
-  beige: 0xf5f5dcff,
-  bisque: 0xffe4c4ff,
-  black: 0x000000ff,
-  blanchedalmond: 0xffebcdff,
-  blue: 0x0000ffff,
-  blueviolet: 0x8a2be2ff,
-  brown: 0xa52a2aff,
-  burlywood: 0xdeb887ff,
-  burntsienna: 0xea7e5dff,
-  cadetblue: 0x5f9ea0ff,
-  chartreuse: 0x7fff00ff,
-  chocolate: 0xd2691eff,
-  coral: 0xff7f50ff,
-  cornflowerblue: 0x6495edff,
-  cornsilk: 0xfff8dcff,
-  crimson: 0xdc143cff,
-  cyan: 0x00ffffff,
-  darkblue: 0x00008bff,
-  darkcyan: 0x008b8bff,
-  darkgoldenrod: 0xb8860bff,
-  darkgray: 0xa9a9a9ff,
-  darkgreen: 0x006400ff,
-  darkgrey: 0xa9a9a9ff,
-  darkkhaki: 0xbdb76bff,
-  darkmagenta: 0x8b008bff,
-  darkolivegreen: 0x556b2fff,
-  darkorange: 0xff8c00ff,
-  darkorchid: 0x9932ccff,
-  darkred: 0x8b0000ff,
-  darksalmon: 0xe9967aff,
-  darkseagreen: 0x8fbc8fff,
-  darkslateblue: 0x483d8bff,
-  darkslategray: 0x2f4f4fff,
-  darkslategrey: 0x2f4f4fff,
-  darkturquoise: 0x00ced1ff,
-  darkviolet: 0x9400d3ff,
-  deeppink: 0xff1493ff,
-  deepskyblue: 0x00bfffff,
-  dimgray: 0x696969ff,
-  dimgrey: 0x696969ff,
-  dodgerblue: 0x1e90ffff,
-  firebrick: 0xb22222ff,
-  floralwhite: 0xfffaf0ff,
-  forestgreen: 0x228b22ff,
-  fuchsia: 0xff00ffff,
-  gainsboro: 0xdcdcdcff,
-  ghostwhite: 0xf8f8ffff,
-  gold: 0xffd700ff,
-  goldenrod: 0xdaa520ff,
-  gray: 0x808080ff,
-  green: 0x008000ff,
-  greenyellow: 0xadff2fff,
-  grey: 0x808080ff,
-  honeydew: 0xf0fff0ff,
-  hotpink: 0xff69b4ff,
-  indianred: 0xcd5c5cff,
-  indigo: 0x4b0082ff,
-  ivory: 0xfffff0ff,
-  khaki: 0xf0e68cff,
-  lavender: 0xe6e6faff,
-  lavenderblush: 0xfff0f5ff,
-  lawngreen: 0x7cfc00ff,
-  lemonchiffon: 0xfffacdff,
-  lightblue: 0xadd8e6ff,
-  lightcoral: 0xf08080ff,
-  lightcyan: 0xe0ffffff,
-  lightgoldenrodyellow: 0xfafad2ff,
-  lightgray: 0xd3d3d3ff,
-  lightgreen: 0x90ee90ff,
-  lightgrey: 0xd3d3d3ff,
-  lightpink: 0xffb6c1ff,
-  lightsalmon: 0xffa07aff,
-  lightseagreen: 0x20b2aaff,
-  lightskyblue: 0x87cefaff,
-  lightslategray: 0x778899ff,
-  lightslategrey: 0x778899ff,
-  lightsteelblue: 0xb0c4deff,
-  lightyellow: 0xffffe0ff,
-  lime: 0x00ff00ff,
-  limegreen: 0x32cd32ff,
-  linen: 0xfaf0e6ff,
-  magenta: 0xff00ffff,
-  maroon: 0x800000ff,
-  mediumaquamarine: 0x66cdaaff,
-  mediumblue: 0x0000cdff,
-  mediumorchid: 0xba55d3ff,
-  mediumpurple: 0x9370dbff,
-  mediumseagreen: 0x3cb371ff,
-  mediumslateblue: 0x7b68eeff,
-  mediumspringgreen: 0x00fa9aff,
-  mediumturquoise: 0x48d1ccff,
-  mediumvioletred: 0xc71585ff,
-  midnightblue: 0x191970ff,
-  mintcream: 0xf5fffaff,
-  mistyrose: 0xffe4e1ff,
-  moccasin: 0xffe4b5ff,
-  navajowhite: 0xffdeadff,
-  navy: 0x000080ff,
-  oldlace: 0xfdf5e6ff,
-  olive: 0x808000ff,
-  olivedrab: 0x6b8e23ff,
-  orange: 0xffa500ff,
-  orangered: 0xff4500ff,
-  orchid: 0xda70d6ff,
-  palegoldenrod: 0xeee8aaff,
-  palegreen: 0x98fb98ff,
-  paleturquoise: 0xafeeeeff,
-  palevioletred: 0xdb7093ff,
-  papayawhip: 0xffefd5ff,
-  peachpuff: 0xffdab9ff,
-  peru: 0xcd853fff,
-  pink: 0xffc0cbff,
-  plum: 0xdda0ddff,
-  powderblue: 0xb0e0e6ff,
-  purple: 0x800080ff,
-  rebeccapurple: 0x663399ff,
-  red: 0xff0000ff,
-  rosybrown: 0xbc8f8fff,
-  royalblue: 0x4169e1ff,
-  saddlebrown: 0x8b4513ff,
-  salmon: 0xfa8072ff,
-  sandybrown: 0xf4a460ff,
-  seagreen: 0x2e8b57ff,
-  seashell: 0xfff5eeff,
-  sienna: 0xa0522dff,
-  silver: 0xc0c0c0ff,
-  skyblue: 0x87ceebff,
-  slateblue: 0x6a5acdff,
-  slategray: 0x708090ff,
-  slategrey: 0x708090ff,
-  snow: 0xfffafaff,
-  springgreen: 0x00ff7fff,
-  steelblue: 0x4682b4ff,
-  tan: 0xd2b48cff,
-  teal: 0x008080ff,
-  thistle: 0xd8bfd8ff,
-  tomato: 0xff6347ff,
-  turquoise: 0x40e0d0ff,
-  violet: 0xee82eeff,
-  wheat: 0xf5deb3ff,
-  white: 0xffffffff,
-  whitesmoke: 0xf5f5f5ff,
-  yellow: 0xffff00ff,
-  yellowgreen: 0x9acd32ff
-};

-const NUMBER = '[-+]?\\d*\\.?\\d+';
-const PERCENTAGE = NUMBER + '%';
+const TEXT_TRANSFORMS = [{
+  name: (0,external_wp_i18n_namespaceObject.__)('Uppercase'),
+  value: 'uppercase',
+  icon: format_uppercase
+}, {
+  name: (0,external_wp_i18n_namespaceObject.__)('Lowercase'),
+  value: 'lowercase',
+  icon: format_lowercase
+}, {
+  name: (0,external_wp_i18n_namespaceObject.__)('Capitalize'),
+  value: 'capitalize',
+  icon: format_capitalize
+}];
+/**
+ * Control to facilitate text transform selections.
+ *
+ * @param {Object}   props          Component props.
+ * @param {string}   props.value    Currently selected text transform.
+ * @param {Function} props.onChange Handles change in text transform selection.
+ *
+ * @return {WPElement} Text transform control.
+ */

-function call(...parts) {
-  return '\\(\\s*(' + parts.join(')\\s*,\\s*(') + ')\\s*\\)';
+function TextTransformControl(_ref) {
+  let {
+    value,
+    onChange
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("fieldset", {
+    className: "block-editor-text-transform-control"
+  }, (0,external_wp_element_namespaceObject.createElement)("legend", null, (0,external_wp_i18n_namespaceObject.__)('Letter case')), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-text-transform-control__buttons"
+  }, TEXT_TRANSFORMS.map(textTransform => {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      key: textTransform.value,
+      icon: textTransform.icon,
+      isSmall: true,
+      isPressed: value === textTransform.value,
+      "aria-label": textTransform.name,
+      onClick: () => onChange(value === textTransform.value ? undefined : textTransform.value)
+    });
+  })));
 }

-const rgb = new RegExp('rgb' + call(NUMBER, NUMBER, NUMBER));
-const rgba = new RegExp('rgba' + call(NUMBER, NUMBER, NUMBER, NUMBER));
-const hsl = new RegExp('hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE));
-const hsla = new RegExp('hsla' + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER));
-const hex3 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;
-const hex4 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;
-const hex6 = /^#([0-9a-fA-F]{6})$/;
-const hex8 = /^#([0-9a-fA-F]{8})$/;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/text-transform.js

-function normalizeColor(color) {
-  let match;

-  if (typeof color === 'number') {
-    return color >>> 0 === color && color >= 0 && color <= 0xffffffff ? color : null;
-  }
+/**
+ * WordPress dependencies
+ */

-  if (match = hex6.exec(color)) return parseInt(match[1] + 'ff', 16) >>> 0;
+/**
+ * Internal dependencies
+ */

-  if (colors$1 && colors$1[color] !== undefined) {
-    return colors$1[color];
-  }

-  if (match = rgb.exec(color)) {
-    return (parse255(match[1]) << 24 | parse255(match[2]) << 16 | parse255(match[3]) << 8 | 0x000000ff) >>> 0;
-  }

-  if (match = rgba.exec(color)) {
-    return (parse255(match[1]) << 24 | parse255(match[2]) << 16 | parse255(match[3]) << 8 | parse1(match[4])) >>> 0;
-  }

-  if (match = hex3.exec(color)) {
-    return parseInt(match[1] + match[1] + match[2] + match[2] + match[3] + match[3] + 'ff', 16) >>> 0;
-  }
+/**
+ * Key within block settings' supports array indicating support for text
+ * transforms e.g. settings found in `block.json`.
+ */

-  if (match = hex8.exec(color)) return parseInt(match[1], 16) >>> 0;
+const TEXT_TRANSFORM_SUPPORT_KEY = 'typography.__experimentalTextTransform';
+/**
+ * Inspector control panel containing the text transform options.
+ *
+ * @param {Object} props Block properties.
+ *
+ * @return {WPElement} Text transform edit element.
+ */

-  if (match = hex4.exec(color)) {
-    return parseInt(match[1] + match[1] + match[2] + match[2] + match[3] + match[3] + match[4] + match[4], 16) >>> 0;
-  }
+function TextTransformEdit(props) {
+  var _style$typography;

-  if (match = hsl.exec(color)) {
-    return (hslToRgb(parse360(match[1]), parsePercentage(match[2]), parsePercentage(match[3])) | 0x000000ff) >>> 0;
-  }
+  const {
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;

-  if (match = hsla.exec(color)) {
-    return (hslToRgb(parse360(match[1]), parsePercentage(match[2]), parsePercentage(match[3])) | parse1(match[4])) >>> 0;
+  function onChange(newTransform) {
+    setAttributes({
+      style: cleanEmptyObject({ ...style,
+        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+          textTransform: newTransform
+        }
+      })
+    });
   }

-  return null;
-}
-
-function hue2rgb(p, q, t) {
-  if (t < 0) t += 1;
-  if (t > 1) t -= 1;
-  if (t < 1 / 6) return p + (q - p) * 6 * t;
-  if (t < 1 / 2) return q;
-  if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
-  return p;
-}
-
-function hslToRgb(h, s, l) {
-  const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
-  const p = 2 * l - q;
-  const r = hue2rgb(p, q, h + 1 / 3);
-  const g = hue2rgb(p, q, h);
-  const b = hue2rgb(p, q, h - 1 / 3);
-  return Math.round(r * 255) << 24 | Math.round(g * 255) << 16 | Math.round(b * 255) << 8;
+  return (0,external_wp_element_namespaceObject.createElement)(TextTransformControl, {
+    value: style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.textTransform,
+    onChange: onChange
+  });
 }
+/**
+ * Checks if text-transform settings have been disabled.
+ *
+ * @param {string} name Name of the block.
+ *
+ * @return {boolean} Whether or not the setting is disabled.
+ */

-function parse255(str) {
-  const int = parseInt(str, 10);
-  if (int < 0) return 0;
-  if (int > 255) return 255;
-  return int;
+function useIsTextTransformDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const notSupported = !(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, TEXT_TRANSFORM_SUPPORT_KEY);
+  const hasTextTransforms = useSetting('typography.textTransform');
+  return notSupported || !hasTextTransforms;
 }
+/**
+ * Checks if there is a current value set for the text transform block support.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}     Whether or not the block has a text transform set.
+ */

-function parse360(str) {
-  const int = parseFloat(str);
-  return (int % 360 + 360) % 360 / 360;
-}
+function hasTextTransformValue(props) {
+  var _props$attributes$sty, _props$attributes$sty2;

-function parse1(str) {
-  const num = parseFloat(str);
-  if (num < 0) return 0;
-  if (num > 1) return 255;
-  return Math.round(num * 255);
+  return !!((_props$attributes$sty = props.attributes.style) !== null && _props$attributes$sty !== void 0 && (_props$attributes$sty2 = _props$attributes$sty.typography) !== null && _props$attributes$sty2 !== void 0 && _props$attributes$sty2.textTransform);
 }
+/**
+ * Resets the text transform block support attribute. This can be used when
+ * disabling the text transform support controls for a block via a progressive
+ * discovery panel.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.attributes    Block's attributes.
+ * @param {Object} props.setAttributes Function to set block's attributes.
+ */

-function parsePercentage(str) {
-  const int = parseFloat(str);
-  if (int < 0) return 0;
-  if (int > 100) return 1;
-  return int / 100;
+function resetTextTransform(_ref) {
+  let {
+    attributes = {},
+    setAttributes
+  } = _ref;
+  const {
+    style
+  } = attributes;
+  setAttributes({
+    style: cleanEmptyObject({ ...style,
+      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+        textTransform: undefined
+      }
+    })
+  });
 }

-function colorToRgba(input) {
-  let int32Color = normalizeColor(input);
-  if (int32Color === null) return input;
-  int32Color = int32Color || 0;
-  let r = (int32Color & 0xff000000) >>> 24;
-  let g = (int32Color & 0x00ff0000) >>> 16;
-  let b = (int32Color & 0x0000ff00) >>> 8;
-  let a = (int32Color & 0x000000ff) / 255;
-  return `rgba(${r}, ${g}, ${b}, ${a})`;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/letter-spacing-control/index.js

-const createInterpolator = (range, output, extrapolate) => {
-  if (is.fun(range)) {
-    return range;
-  }

-  if (is.arr(range)) {
-    return createInterpolator({
-      range,
-      output: output,
-      extrapolate
-    });
-  }
+/**
+ * WordPress dependencies
+ */

-  if (is.str(range.output[0])) {
-    return createStringInterpolator$1(range);
-  }

-  const config = range;
-  const outputRange = config.output;
-  const inputRange = config.range || [0, 1];
-  const extrapolateLeft = config.extrapolateLeft || config.extrapolate || 'extend';
-  const extrapolateRight = config.extrapolateRight || config.extrapolate || 'extend';
+/**
+ * Internal dependencies
+ */

-  const easing = config.easing || (t => t);

-  return input => {
-    const range = findRange(input, inputRange);
-    return interpolate(input, inputRange[range], inputRange[range + 1], outputRange[range], outputRange[range + 1], easing, extrapolateLeft, extrapolateRight, config.map);
-  };
-};
+/**
+ * Control for letter-spacing.
+ *
+ * @param {Object}   props                      Component props.
+ * @param {string}   props.value                Currently selected letter-spacing.
+ * @param {Function} props.onChange             Handles change in letter-spacing selection.
+ * @param {boolean}  props.__unstableInputWidth Input width to pass through to inner UnitControl.
+ *
+ * @return {WPElement}                          Letter-spacing control.
+ */

-function interpolate(input, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight, map) {
-  let result = map ? map(input) : input;
+function LetterSpacingControl(_ref) {
+  let {
+    value,
+    onChange,
+    __unstableInputWidth = '60px'
+  } = _ref;
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: useSetting('spacing.units') || ['px', 'em', 'rem'],
+    defaultValues: {
+      px: '2',
+      em: '.2',
+      rem: '.2'
+    }
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Letter-spacing'),
+    value: value,
+    __unstableInputWidth: __unstableInputWidth,
+    units: units,
+    onChange: onChange
+  });
+}

-  if (result < inputMin) {
-    if (extrapolateLeft === 'identity') return result;else if (extrapolateLeft === 'clamp') result = inputMin;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/letter-spacing.js

-  if (result > inputMax) {
-    if (extrapolateRight === 'identity') return result;else if (extrapolateRight === 'clamp') result = inputMax;
-  }

-  if (outputMin === outputMax) return outputMin;
-  if (inputMin === inputMax) return input <= inputMin ? outputMin : outputMax;
-  if (inputMin === -Infinity) result = -result;else if (inputMax === Infinity) result = result - inputMin;else result = (result - inputMin) / (inputMax - inputMin);
-  result = easing(result);
-  if (outputMin === -Infinity) result = -result;else if (outputMax === Infinity) result = result + outputMin;else result = result * (outputMax - outputMin) + outputMin;
-  return result;
-}
+/**
+ * WordPress dependencies
+ */

-function findRange(input, inputRange) {
-  for (var i = 1; i < inputRange.length - 1; ++i) if (inputRange[i] >= input) break;
+/**
+ * Internal dependencies
+ */

-  return i - 1;
-}

-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }

-    return target;
-  };
+/**
+ * Key within block settings' supports array indicating support for letter-spacing
+ * e.g. settings found in `block.json`.
+ */

-  return _extends.apply(this, arguments);
-}
+const LETTER_SPACING_SUPPORT_KEY = 'typography.__experimentalLetterSpacing';
+/**
+ * Inspector control panel containing the letter-spacing options.
+ *
+ * @param {Object} props Block properties.
+ * @return {WPElement}    Letter-spacing edit element.
+ */

-const $get = Symbol.for('FluidValue.get');
-const $observers = Symbol.for('FluidValue.observers');
+function LetterSpacingEdit(props) {
+  var _style$typography;

-const hasFluidValue = arg => Boolean(arg && arg[$get]);
+  const {
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;

-const getFluidValue = arg => arg && arg[$get] ? arg[$get]() : arg;
+  function onChange(newSpacing) {
+    setAttributes({
+      style: cleanEmptyObject({ ...style,
+        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+          letterSpacing: newSpacing
+        }
+      })
+    });
+  }

-const getFluidObservers = target => target[$observers] || null;
+  return (0,external_wp_element_namespaceObject.createElement)(LetterSpacingControl, {
+    value: style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.letterSpacing,
+    onChange: onChange,
+    __unstableInputWidth: false
+  });
+}
+/**
+ * Checks if letter-spacing settings have been disabled.
+ *
+ * @param {string} name Name of the block.
+ * @return {boolean}     Whether or not the setting is disabled.
+ */

-function callFluidObserver(observer, event) {
-  if (observer.eventObserved) {
-    observer.eventObserved(event);
-  } else {
-    observer(event);
-  }
+function useIsLetterSpacingDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const notSupported = !(0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, LETTER_SPACING_SUPPORT_KEY);
+  const hasLetterSpacing = useSetting('typography.letterSpacing');
+  return notSupported || !hasLetterSpacing;
 }
+/**
+ * Checks if there is a current value set for the letter spacing block support.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}     Whether or not the block has a letter spacing set.
+ */

-function callFluidObservers(target, event) {
-  let observers = target[$observers];
+function hasLetterSpacingValue(props) {
+  var _props$attributes$sty, _props$attributes$sty2;

-  if (observers) {
-    observers.forEach(observer => {
-      callFluidObserver(observer, event);
-    });
-  }
+  return !!((_props$attributes$sty = props.attributes.style) !== null && _props$attributes$sty !== void 0 && (_props$attributes$sty2 = _props$attributes$sty.typography) !== null && _props$attributes$sty2 !== void 0 && _props$attributes$sty2.letterSpacing);
 }
+/**
+ * Resets the letter spacing block support attribute. This can be used when
+ * disabling the letter spacing support controls for a block via a progressive
+ * discovery panel.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.attributes    Block's attributes.
+ * @param {Object} props.setAttributes Function to set block's attributes.
+ */

-class FluidValue {
-  constructor(get) {
-    this[$get] = void 0;
-    this[$observers] = void 0;
+function resetLetterSpacing(_ref) {
+  let {
+    attributes = {},
+    setAttributes
+  } = _ref;
+  const {
+    style
+  } = attributes;
+  setAttributes({
+    style: cleanEmptyObject({ ...style,
+      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
+        letterSpacing: undefined
+      }
+    })
+  });
+}

-    if (!get && !(get = this.get)) {
-      throw Error('Unknown getter');
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/typography.js

-    setFluidGetter(this, get);
-  }

-}
+/**
+ * WordPress dependencies
+ */

-const setFluidGetter = (target, get) => setHidden(target, $get, get);

-function addFluidObserver(target, observer) {
-  if (target[$get]) {
-    let observers = target[$observers];

-    if (!observers) {
-      setHidden(target, $observers, observers = new Set());
-    }
+/**
+ * Internal dependencies
+ */

-    if (!observers.has(observer)) {
-      observers.add(observer);

-      if (target.observerAdded) {
-        target.observerAdded(observers.size, observer);
-      }
-    }
-  }

-  return observer;
-}

-function removeFluidObserver(target, observer) {
-  let observers = target[$observers];

-  if (observers && observers.has(observer)) {
-    const count = observers.size - 1;

-    if (count) {
-      observers.delete(observer);
-    } else {
-      target[$observers] = null;
-    }

-    if (target.observerRemoved) {
-      target.observerRemoved(count, observer);
-    }
-  }
-}

-const setHidden = (target, key, value) => Object.defineProperty(target, key, {
-  value,
-  writable: true,
-  configurable: true
-});

-const numberRegex = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g;
-const colorRegex = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi;
-const unitRegex = new RegExp(`(${numberRegex.source})(%|[a-z]+)`, 'i');
-const rgbaRegex = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi;
-const cssVariableRegex = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;

-const variableToRgba = input => {
-  const [token, fallback] = parseCSSVariable(input);
+const TYPOGRAPHY_SUPPORT_KEY = 'typography';
+const TYPOGRAPHY_SUPPORT_KEYS = [LINE_HEIGHT_SUPPORT_KEY, FONT_SIZE_SUPPORT_KEY, FONT_STYLE_SUPPORT_KEY, FONT_WEIGHT_SUPPORT_KEY, FONT_FAMILY_SUPPORT_KEY, TEXT_DECORATION_SUPPORT_KEY, TEXT_TRANSFORM_SUPPORT_KEY, LETTER_SPACING_SUPPORT_KEY];
+function TypographyPanel(props) {
+  const {
+    clientId
+  } = props;
+  const isFontFamilyDisabled = useIsFontFamilyDisabled(props);
+  const isFontSizeDisabled = useIsFontSizeDisabled(props);
+  const isFontAppearanceDisabled = useIsFontAppearanceDisabled(props);
+  const isLineHeightDisabled = useIsLineHeightDisabled(props);
+  const isTextDecorationDisabled = useIsTextDecorationDisabled(props);
+  const isTextTransformDisabled = useIsTextTransformDisabled(props);
+  const isLetterSpacingDisabled = useIsLetterSpacingDisabled(props);
+  const hasFontStyles = !useIsFontStyleDisabled(props);
+  const hasFontWeights = !useIsFontWeightDisabled(props);
+  const isDisabled = useIsTypographyDisabled(props);
+  const isSupported = hasTypographySupport(props.name);
+  if (isDisabled || !isSupported) return null;
+  const defaultControls = (0,external_wp_blocks_namespaceObject.getBlockSupport)(props.name, [TYPOGRAPHY_SUPPORT_KEY, '__experimentalDefaultControls']);

-  if (!token || isSSR()) {
-    return input;
-  }
+  const createResetAllFilter = attribute => newAttributes => {
+    var _newAttributes$style;

-  const value = window.getComputedStyle(document.documentElement).getPropertyValue(token);
+    return { ...newAttributes,
+      style: { ...newAttributes.style,
+        typography: { ...((_newAttributes$style = newAttributes.style) === null || _newAttributes$style === void 0 ? void 0 : _newAttributes$style.typography),
+          [attribute]: undefined
+        }
+      }
+    };
+  };

-  if (value) {
-    return value.trim();
-  } else if (fallback && fallback.startsWith('--')) {
-    const _value = window.getComputedStyle(document.documentElement).getPropertyValue(fallback);
+  return (0,external_wp_element_namespaceObject.createElement)(inspector_controls, {
+    __experimentalGroup: "typography"
+  }, !isFontFamilyDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    hasValue: () => hasFontFamilyValue(props),
+    label: (0,external_wp_i18n_namespaceObject.__)('Font family'),
+    onDeselect: () => resetFontFamily(props),
+    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.fontFamily,
+    resetAllFilter: newAttributes => ({ ...newAttributes,
+      fontFamily: undefined
+    }),
+    panelId: clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(FontFamilyEdit, props)), !isFontSizeDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    hasValue: () => hasFontSizeValue(props),
+    label: (0,external_wp_i18n_namespaceObject.__)('Font size'),
+    onDeselect: () => resetFontSize(props),
+    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.fontSize,
+    resetAllFilter: newAttributes => {
+      var _newAttributes$style2;

-    if (_value) {
-      return _value;
-    } else {
-      return input;
-    }
-  } else if (fallback && cssVariableRegex.test(fallback)) {
-    return variableToRgba(fallback);
-  } else if (fallback) {
-    return fallback;
-  }
+      return { ...newAttributes,
+        fontSize: undefined,
+        style: { ...newAttributes.style,
+          typography: { ...((_newAttributes$style2 = newAttributes.style) === null || _newAttributes$style2 === void 0 ? void 0 : _newAttributes$style2.typography),
+            fontSize: undefined
+          }
+        }
+      };
+    },
+    panelId: clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(FontSizeEdit, props)), !isFontAppearanceDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    className: "single-column",
+    hasValue: () => hasFontAppearanceValue(props),
+    label: getFontAppearanceLabel(hasFontStyles, hasFontWeights),
+    onDeselect: () => resetFontAppearance(props),
+    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.fontAppearance,
+    resetAllFilter: newAttributes => {
+      var _newAttributes$style3;

-  return input;
+      return { ...newAttributes,
+        style: { ...newAttributes.style,
+          typography: { ...((_newAttributes$style3 = newAttributes.style) === null || _newAttributes$style3 === void 0 ? void 0 : _newAttributes$style3.typography),
+            fontStyle: undefined,
+            fontWeight: undefined
+          }
+        }
+      };
+    },
+    panelId: clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(FontAppearanceEdit, props)), !isLineHeightDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    className: "single-column",
+    hasValue: () => hasLineHeightValue(props),
+    label: (0,external_wp_i18n_namespaceObject.__)('Line height'),
+    onDeselect: () => resetLineHeight(props),
+    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.lineHeight,
+    resetAllFilter: createResetAllFilter('lineHeight'),
+    panelId: clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(LineHeightEdit, props)), !isTextDecorationDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    className: "single-column",
+    hasValue: () => hasTextDecorationValue(props),
+    label: (0,external_wp_i18n_namespaceObject.__)('Decoration'),
+    onDeselect: () => resetTextDecoration(props),
+    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.textDecoration,
+    resetAllFilter: createResetAllFilter('textDecoration'),
+    panelId: clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(TextDecorationEdit, props)), !isTextTransformDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    className: "single-column",
+    hasValue: () => hasTextTransformValue(props),
+    label: (0,external_wp_i18n_namespaceObject.__)('Letter case'),
+    onDeselect: () => resetTextTransform(props),
+    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.textTransform,
+    resetAllFilter: createResetAllFilter('textTransform'),
+    panelId: clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(TextTransformEdit, props)), !isLetterSpacingDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    className: "single-column",
+    hasValue: () => hasLetterSpacingValue(props),
+    label: (0,external_wp_i18n_namespaceObject.__)('Letter-spacing'),
+    onDeselect: () => resetLetterSpacing(props),
+    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.letterSpacing,
+    resetAllFilter: createResetAllFilter('letterSpacing'),
+    panelId: clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(LetterSpacingEdit, props)));
+}
+const hasTypographySupport = blockName => {
+  return TYPOGRAPHY_SUPPORT_KEYS.some(key => (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, key));
 };

-const parseCSSVariable = current => {
-  const match = cssVariableRegex.exec(current);
-  if (!match) return [,];
-  const [, token, fallback] = match;
-  return [token, fallback];
-};
+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;
+}

-let namedColorRegex;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/gap.js

-const rgbaRound = (_, p1, p2, p3, p4) => `rgba(${Math.round(p1)}, ${Math.round(p2)}, ${Math.round(p3)}, ${p4})`;

-const createStringInterpolator = config => {
-  if (!namedColorRegex) namedColorRegex = colors$1 ? new RegExp(`(${Object.keys(colors$1).join('|')})(?!\\w)`, 'g') : /^\b$/;
-  const output = config.output.map(value => {
-    return getFluidValue(value).replace(cssVariableRegex, variableToRgba).replace(colorRegex, colorToRgba).replace(namedColorRegex, colorToRgba);
-  });
-  const keyframes = output.map(value => value.match(numberRegex).map(Number));
-  const outputRanges = keyframes[0].map((_, i) => keyframes.map(values => {
-    if (!(i in values)) {
-      throw Error('The arity of each "output" value must be equal');
-    }
+/**
+ * WordPress dependencies
+ */

-    return values[i];
-  }));
-  const interpolators = outputRanges.map(output => createInterpolator(_extends({}, config, {
-    output
-  })));
-  return input => {
-    var _output$find;

-    const missingUnit = !unitRegex.test(output[0]) && ((_output$find = output.find(value => unitRegex.test(value))) == null ? void 0 : _output$find.replace(numberRegex, ''));
-    let i = 0;
-    return output[0].replace(numberRegex, () => `${interpolators[i++](input)}${missingUnit || ''}`).replace(rgbaRegex, rgbaRound);
-  };
-};

-const prefix = 'react-spring: ';

-const once = fn => {
-  const func = fn;
-  let called = false;
+/**
+ * Internal dependencies
+ */

-  if (typeof func != 'function') {
-    throw new TypeError(`${prefix}once requires a function parameter`);
-  }

-  return (...args) => {
-    if (!called) {
-      func(...args);
-      called = true;
-    }
-  };
-};

-const warnInterpolate = once(console.warn);
-function deprecateInterpolate() {
-  warnInterpolate(`${prefix}The "interpolate" function is deprecated in v9 (use "to" instead)`);
-}
-const warnDirectCall = once(console.warn);
-function deprecateDirectCall() {
-  warnDirectCall(`${prefix}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 isAnimatedString(value) {
-  return is.str(value) && (value[0] == '#' || /\d/.test(value) || !isSSR() && cssVariableRegex.test(value) || value in (colors$1 || {}));
+
+/**
+ * Determines if there is gap support.
+ *
+ * @param {string|Object} blockType Block name or Block Type object.
+ * @return {boolean}                 Whether there is support.
+ */
+
+function hasGapSupport(blockType) {
+  const support = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, SPACING_SUPPORT_KEY);
+  return !!(true === support || support !== null && support !== void 0 && support.blockGap);
 }
+/**
+ * Checks if there is a current value in the gap block support attributes.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}      Whether or not the block has a gap value set.
+ */

-const useOnce = effect => Object(external_React_["useEffect"])(effect, emptyDeps);
-const emptyDeps = [];
+function hasGapValue(props) {
+  var _props$attributes$sty, _props$attributes$sty2;

-function useForceUpdate() {
-  const update = Object(external_React_["useState"])()[1];
-  const mounted = Object(external_React_["useState"])(makeMountedRef)[0];
-  useOnce(mounted.unmount);
-  return () => {
-    if (mounted.current) {
-      update({});
-    }
-  };
+  return ((_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : (_props$attributes$sty2 = _props$attributes$sty.spacing) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.blockGap) !== undefined;
 }
+/**
+ * Resets the gap block support attribute. This can be used when disabling
+ * the gap support controls for a block via a progressive discovery panel.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.attributes    Block's attributes.
+ * @param {Object} props.setAttributes Function to set block's attributes.
+ */

-function makeMountedRef() {
-  const mounted = {
-    current: true,
-    unmount: () => () => {
-      mounted.current = false;
+function resetGap(_ref) {
+  let {
+    attributes = {},
+    setAttributes
+  } = _ref;
+  const {
+    style
+  } = attributes;
+  setAttributes({
+    style: { ...style,
+      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
+        blockGap: undefined
+      }
     }
-  };
-  return mounted;
+  });
 }
+/**
+ * Custom hook that checks if gap settings have been disabled.
+ *
+ * @param {string} name The name of the block.
+ * @return {boolean}     Whether the gap setting is disabled.
+ */

-function useMemoOne(getResult, inputs) {
-  const [initial] = Object(external_React_["useState"])(() => ({
-    inputs,
-    result: getResult()
-  }));
-  const committed = Object(external_React_["useRef"])();
-  const prevCache = committed.current;
-  let cache = prevCache;
+function useIsGapDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const isDisabled = !useSetting('spacing.blockGap');
+  return !hasGapSupport(blockName) || isDisabled;
+}
+/**
+ * Inspector control panel containing the gap related configuration
+ *
+ * @param {Object} props
+ *
+ * @return {WPElement} Gap edit element.
+ */

-  if (cache) {
-    const useCache = Boolean(inputs && cache.inputs && areInputsEqual(inputs, cache.inputs));
+function GapEdit(props) {
+  var _style$spacing;

-    if (!useCache) {
-      cache = {
-        inputs,
-        result: getResult()
-      };
-    }
-  } else {
-    cache = initial;
+  const {
+    clientId,
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: useSetting('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
+  });
+  const ref = useBlockRef(clientId);
+
+  if (useIsGapDisabled(props)) {
+    return null;
   }

-  Object(external_React_["useEffect"])(() => {
-    committed.current = cache;
+  const onChange = next => {
+    var _window;

-    if (prevCache == initial) {
-      initial.inputs = initial.result = undefined;
-    }
-  }, [cache]);
-  return cache.result;
-}
+    const newStyle = { ...style,
+      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
+        blockGap: next
+      }
+    };
+    setAttributes({
+      style: cleanEmptyObject(newStyle)
+    }); // In Safari, changing the `gap` CSS value on its own will not trigger the layout
+    // to be recalculated / re-rendered. To force the updated gap to re-render, here
+    // we replace the block's node with itself.

-function areInputsEqual(next, prev) {
-  if (next.length !== prev.length) {
-    return false;
-  }
+    const isSafari = ((_window = window) === null || _window === void 0 ? void 0 : _window.navigator.userAgent) && window.navigator.userAgent.includes('Safari') && !window.navigator.userAgent.includes('Chrome ') && !window.navigator.userAgent.includes('Chromium ');

-  for (let i = 0; i < next.length; i++) {
-    if (next[i] !== prev[i]) {
-      return false;
-    }
-  }
+    if (ref.current && isSafari) {
+      var _ref$current$parentNo;

-  return true;
-}
+      (_ref$current$parentNo = ref.current.parentNode) === null || _ref$current$parentNo === void 0 ? void 0 : _ref$current$parentNo.replaceChild(ref.current, ref.current);
+    }
+  };

-function usePrev(value) {
-  const prevRef = Object(external_React_["useRef"])();
-  Object(external_React_["useEffect"])(() => {
-    prevRef.current = value;
+  return external_wp_element_namespaceObject.Platform.select({
+    web: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Block spacing'),
+      __unstableInputWidth: "80px",
+      min: 0,
+      onChange: onChange,
+      units: units,
+      value: style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.blockGap
+    })),
+    native: null
   });
-  return prevRef.current;
 }

-const useLayoutEffect = typeof window !== 'undefined' && window.document && window.document.createElement ? external_React_["useLayoutEffect"] : external_React_["useEffect"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/margin.js


+/**
+ * WordPress dependencies
+ */


-/***/ }),

-/***/ "nQUx":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("onLe");
-/* harmony import */ var _wordpress_notices__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_notices__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("BhPs");
 /**
- * External dependencies
+ * Internal dependencies
  */

-/**
- * WordPress dependencies
- */



+/**
+ * Determines if there is margin support.
+ *
+ * @param {string|Object} blockType Block name or Block Type object.
+ *
+ * @return {boolean} Whether there is support.
+ */

+function hasMarginSupport(blockType) {
+  const support = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, SPACING_SUPPORT_KEY);
+  return !!(true === support || support !== null && support !== void 0 && support.margin);
+}
+/**
+ * Checks if there is a current value in the margin block support attributes.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}      Whether or not the block has a margin value set.
+ */

+function hasMarginValue(props) {
+  var _props$attributes$sty, _props$attributes$sty2;

+  return ((_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : (_props$attributes$sty2 = _props$attributes$sty.spacing) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.margin) !== undefined;
+}
 /**
- * Internal dependencies
+ * Resets the margin block support attributes. This can be used when disabling
+ * the margin support controls for a block via a `ToolsPanel`.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.attributes    Block's attributes.
+ * @param {Object} props.setAttributes Function to set block's attributes.
  */

+function resetMargin(_ref) {
+  let {
+    attributes = {},
+    setAttributes
+  } = _ref;
+  const {
+    style
+  } = attributes;
+  setAttributes({
+    style: cleanEmptyObject({ ...style,
+      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
+        margin: undefined
+      }
+    })
+  });
+}
+/**
+ * Custom hook that checks if margin settings have been disabled.
+ *
+ * @param {string} name The name of the block.
+ *
+ * @return {boolean} Whether margin setting is disabled.
+ */

+function useIsMarginDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const isDisabled = !useSetting('spacing.margin');
+  const isInvalid = !useIsDimensionsSupportValid(blockName, 'margin');
+  return !hasMarginSupport(blockName) || isDisabled || isInvalid;
+}
 /**
- * Retrieves the block patterns inserter state.
+ * Inspector control panel containing the margin related configuration
  *
- * @param {Function} onInsert     function called when inserter a list of blocks.
- * @param {string=}  rootClientId Insertion's root client ID.
+ * @param {Object} props Block props.
  *
- * @return {Array} Returns the patterns state. (patterns, categories, onSelect handler)
+ * @return {WPElement} Margin edit element.
  */

-const usePatternsState = (onInsert, rootClientId) => {
+function MarginEdit(props) {
+  var _style$spacing;
+
   const {
-    patternCategories,
-    patterns
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["useSelect"])(select => {
-    const {
-      __experimentalGetAllowedPatterns,
-      getSettings
-    } = select(_store__WEBPACK_IMPORTED_MODULE_6__[/* store */ "a"]);
-    return {
-      patterns: __experimentalGetAllowedPatterns(rootClientId),
-      patternCategories: getSettings().__experimentalBlockPatternCategories
+    name: blockName,
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: useSetting('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
+  });
+  const sides = useCustomSides(blockName, 'margin');
+  const splitOnAxis = sides && sides.some(side => AXIAL_SIDES.includes(side));
+
+  if (useIsMarginDisabled(props)) {
+    return null;
+  }
+
+  const onChange = next => {
+    const newStyle = { ...style,
+      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
+        margin: next
+      }
     };
-  }, [rootClientId]);
-  const {
-    createSuccessNotice
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["useDispatch"])(_wordpress_notices__WEBPACK_IMPORTED_MODULE_5__["store"]);
-  const onClickPattern = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useCallback"])((pattern, blocks) => {
-    onInsert(Object(lodash__WEBPACK_IMPORTED_MODULE_0__["map"])(blocks, block => Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["cloneBlock"])(block)), pattern.name);
-    createSuccessNotice(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["sprintf"])(
-    /* translators: %s: block pattern title. */
-    Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Block pattern "%s" inserted.'), pattern.title), {
-      type: 'snackbar'
+    setAttributes({
+      style: cleanEmptyObject(newStyle)
     });
-  }, []);
-  return [patterns, patternCategories, onClickPattern];
-};
-
-/* harmony default export */ __webpack_exports__["a"] = (usePatternsState);
+  };

+  const onChangeShowVisualizer = next => {
+    const newStyle = { ...style,
+      visualizers: {
+        margin: next
+      }
+    };
+    setAttributes({
+      style: cleanEmptyObject(newStyle)
+    });
+  };

-/***/ }),
+  return external_wp_element_namespaceObject.Platform.select({
+    web: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalBoxControl, {
+      values: style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.margin,
+      onChange: onChange,
+      onChangeShowVisualizer: onChangeShowVisualizer,
+      label: (0,external_wp_i18n_namespaceObject.__)('Margin'),
+      sides: sides,
+      units: units,
+      allowReset: false,
+      splitOnAxis: splitOnAxis
+    })),
+    native: null
+  });
+}

-/***/ "nlh6":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/padding.js

-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useBlockProps; });
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_6__);
-/* harmony import */ var _use_moving_animation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("Xkls");
-/* harmony import */ var _block__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("jBNB");
-/* harmony import */ var _use_focus_first_element__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("z+q2");
-/* harmony import */ var _use_is_hovered__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("kBLm");
-/* harmony import */ var _block_edit_context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("ur0x");
-/* harmony import */ var _use_block_class_names__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("Q2Xw");
-/* harmony import */ var _use_block_default_class_name__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("YZt4");
-/* harmony import */ var _use_block_custom_class_name__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("ERVc");
-/* harmony import */ var _use_block_moving_mode_class_names__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("+6d5");
-/* harmony import */ var _use_focus_handler__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("6jxZ");
-/* harmony import */ var _use_selected_block_event_handlers__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("felP");
-/* harmony import */ var _use_nav_mode_exit__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("JDWi");
-/* harmony import */ var _use_scroll_into_view__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("G4zt");
-/* harmony import */ var _use_block_refs__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("PKbb");
-/* harmony import */ var _use_multi_selection__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("hw9B");
-/* harmony import */ var _use_intersection_observer__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("rHRV");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("BhPs");
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -38571,567 +33338,902 @@ const usePatternsState = (onInsert, rootClientId) => {



+/**
+ * Internal dependencies
+ */
+



 /**
- * Internal dependencies
+ * Determines if there is padding support.
+ *
+ * @param {string|Object} blockType Block name or Block Type object.
+ *
+ * @return {boolean} Whether there is support.
  */

+function hasPaddingSupport(blockType) {
+  const support = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, SPACING_SUPPORT_KEY);
+  return !!(true === support || support !== null && support !== void 0 && support.padding);
+}
+/**
+ * Checks if there is a current value in the padding block support attributes.
+ *
+ * @param {Object} props Block props.
+ * @return {boolean}      Whether or not the block has a padding value set.
+ */

+function hasPaddingValue(props) {
+  var _props$attributes$sty, _props$attributes$sty2;

+  return ((_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : (_props$attributes$sty2 = _props$attributes$sty.spacing) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.padding) !== undefined;
+}
+/**
+ * Resets the padding block support attributes. This can be used when disabling
+ * the padding support controls for a block via a `ToolsPanel`.
+ *
+ * @param {Object} props               Block props.
+ * @param {Object} props.attributes    Block's attributes.
+ * @param {Object} props.setAttributes Function to set block's attributes.
+ */

+function resetPadding(_ref) {
+  let {
+    attributes = {},
+    setAttributes
+  } = _ref;
+  const {
+    style
+  } = attributes;
+  setAttributes({
+    style: cleanEmptyObject({ ...style,
+      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
+        padding: undefined
+      }
+    })
+  });
+}
+/**
+ * Custom hook that checks if padding settings have been disabled.
+ *
+ * @param {string} name The name of the block.
+ *
+ * @return {boolean} Whether padding setting is disabled.
+ */

+function useIsPaddingDisabled() {
+  let {
+    name: blockName
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const isDisabled = !useSetting('spacing.padding');
+  const isInvalid = !useIsDimensionsSupportValid(blockName, 'padding');
+  return !hasPaddingSupport(blockName) || isDisabled || isInvalid;
+}
+/**
+ * Inspector control panel containing the padding related configuration
+ *
+ * @param {Object} props
+ *
+ * @return {WPElement} Padding edit element.
+ */

+function PaddingEdit(props) {
+  var _style$spacing;

+  const {
+    name: blockName,
+    attributes: {
+      style
+    },
+    setAttributes
+  } = props;
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: useSetting('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
+  });
+  const sides = useCustomSides(blockName, 'padding');
+  const splitOnAxis = sides && sides.some(side => AXIAL_SIDES.includes(side));

+  if (useIsPaddingDisabled(props)) {
+    return null;
+  }

+  const onChange = next => {
+    const newStyle = { ...style,
+      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
+        padding: next
+      }
+    };
+    setAttributes({
+      style: cleanEmptyObject(newStyle)
+    });
+  };

+  const onChangeShowVisualizer = next => {
+    const newStyle = { ...style,
+      visualizers: {
+        padding: next
+      }
+    };
+    setAttributes({
+      style: cleanEmptyObject(newStyle)
+    });
+  };

+  return external_wp_element_namespaceObject.Platform.select({
+    web: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalBoxControl, {
+      values: style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.padding,
+      onChange: onChange,
+      onChangeShowVisualizer: onChangeShowVisualizer,
+      label: (0,external_wp_i18n_namespaceObject.__)('Padding'),
+      sides: sides,
+      units: units,
+      allowReset: false,
+      splitOnAxis: splitOnAxis
+    })),
+    native: null
+  });
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/dimensions.js


+/**
+ * WordPress dependencies
+ */




 /**
- * If the block count exceeds the threshold, we disable the reordering animation
- * to avoid laginess.
+ * Internal dependencies
  */

-const BLOCK_ANIMATION_THRESHOLD = 200;
+
+
+
+
+const SPACING_SUPPORT_KEY = 'spacing';
+const ALL_SIDES = ['top', 'right', 'bottom', 'left'];
+const AXIAL_SIDES = ['vertical', 'horizontal'];
 /**
- * This hook is used to lightly mark an element as a block element. The element
- * should be the outermost element of a block. Call this hook and pass the
- * returned props to the element to mark as a block. If you define a ref for the
- * element, it is important to pass the ref to this hook, which the hook in turn
- * will pass to the component through the props it returns. Optionally, you can
- * also pass any other props through this hook, and they will be merged and
- * returned.
+ * Inspector controls for dimensions support.
  *
- * @param {Object}  props                    Optional. Props to pass to the element. Must contain
- *                                           the ref if one is defined.
- * @param {Object}  options                  Options for internal use only.
- * @param {boolean} options.__unstableIsHtml
+ * @param {Object} props Block props.
  *
- * @return {Object} Props to pass to the element to mark as a block.
+ * @return {WPElement} Inspector controls for spacing support features.
  */

-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,
-    wrapperProps = {},
-    isAligned
-  } = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useContext"])(_block__WEBPACK_IMPORTED_MODULE_8__[/* BlockListBlockContext */ "a"]);
-  const {
-    index,
-    mode,
-    name,
-    blockApiVersion,
-    blockTitle,
-    isPartOfSelection,
-    adjustScrolling,
-    enableAnimation
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_5__["useSelect"])(select => {
-    const {
-      getBlockIndex,
-      getBlockMode,
-      getBlockName,
-      isTyping,
-      getGlobalBlockCount,
-      isBlockSelected,
-      isBlockMultiSelected,
-      isAncestorMultiSelected,
-      isFirstMultiSelectedBlock
-    } = select(_store__WEBPACK_IMPORTED_MODULE_23__[/* store */ "a"]);
-    const isSelected = isBlockSelected(clientId);
-    const isPartOfMultiSelection = isBlockMultiSelected(clientId) || isAncestorMultiSelected(clientId);
-    const blockName = getBlockName(clientId);
-    const blockType = Object(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["getBlockType"])(blockName);
-    return {
-      index: getBlockIndex(clientId),
-      mode: getBlockMode(clientId),
-      name: blockName,
-      blockApiVersion: (blockType === null || blockType === void 0 ? void 0 : blockType.apiVersion) || 1,
-      blockTitle: blockType === null || blockType === void 0 ? void 0 : blockType.title,
-      isPartOfSelection: isSelected || isPartOfMultiSelection,
-      adjustScrolling: isSelected || isFirstMultiSelectedBlock(clientId),
-      enableAnimation: !isTyping() && getGlobalBlockCount() <= BLOCK_ANIMATION_THRESHOLD
+function DimensionsPanel(props) {
+  const isGapDisabled = useIsGapDisabled(props);
+  const isPaddingDisabled = useIsPaddingDisabled(props);
+  const isMarginDisabled = useIsMarginDisabled(props);
+  const isDisabled = useIsDimensionsDisabled(props);
+  const isSupported = hasDimensionsSupport(props.name);
+
+  if (isDisabled || !isSupported) {
+    return null;
+  }
+
+  const defaultSpacingControls = (0,external_wp_blocks_namespaceObject.getBlockSupport)(props.name, [SPACING_SUPPORT_KEY, '__experimentalDefaultControls']);
+
+  const createResetAllFilter = attribute => newAttributes => {
+    var _newAttributes$style;
+
+    return { ...newAttributes,
+      style: { ...newAttributes.style,
+        spacing: { ...((_newAttributes$style = newAttributes.style) === null || _newAttributes$style === void 0 ? void 0 : _newAttributes$style.spacing),
+          [attribute]: undefined
+        }
+      }
     };
-  }, [clientId]); // translators: %s: Type of block (i.e. Text, Image etc)
+  };

-  const blockLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["sprintf"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Block: %s'), blockTitle);
-  const htmlSuffix = mode === 'html' && !__unstableIsHtml ? '-visual' : '';
-  const mergedRefs = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_4__["useMergeRefs"])([props.ref, Object(_use_focus_first_element__WEBPACK_IMPORTED_MODULE_9__[/* useFocusFirstElement */ "a"])(clientId), // Must happen after focus because we check for focus in the block.
-  Object(_use_scroll_into_view__WEBPACK_IMPORTED_MODULE_19__[/* useScrollIntoView */ "a"])(clientId), Object(_use_block_refs__WEBPACK_IMPORTED_MODULE_20__[/* useBlockRefProvider */ "c"])(clientId), Object(_use_focus_handler__WEBPACK_IMPORTED_MODULE_16__[/* useFocusHandler */ "a"])(clientId), Object(_use_multi_selection__WEBPACK_IMPORTED_MODULE_21__[/* useMultiSelection */ "a"])(clientId), Object(_use_selected_block_event_handlers__WEBPACK_IMPORTED_MODULE_17__[/* useEventHandlers */ "a"])(clientId), Object(_use_nav_mode_exit__WEBPACK_IMPORTED_MODULE_18__[/* useNavModeExit */ "a"])(clientId), Object(_use_is_hovered__WEBPACK_IMPORTED_MODULE_10__[/* useIsHovered */ "a"])(), Object(_use_intersection_observer__WEBPACK_IMPORTED_MODULE_22__[/* useIntersectionObserver */ "a"])(), Object(_use_moving_animation__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])({
-    isSelected: isPartOfSelection,
-    adjustScrolling,
-    enableAnimation,
-    triggerAnimationOnChange: index
-  })]);
-  const blockEditContext = Object(_block_edit_context__WEBPACK_IMPORTED_MODULE_11__[/* useBlockEditContext */ "c"])(); // Ensures it warns only inside the `edit` implementation for the block.
+  return (0,external_wp_element_namespaceObject.createElement)(inspector_controls, {
+    __experimentalGroup: "dimensions"
+  }, !isPaddingDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    hasValue: () => hasPaddingValue(props),
+    label: (0,external_wp_i18n_namespaceObject.__)('Padding'),
+    onDeselect: () => resetPadding(props),
+    resetAllFilter: createResetAllFilter('padding'),
+    isShownByDefault: defaultSpacingControls === null || defaultSpacingControls === void 0 ? void 0 : defaultSpacingControls.padding,
+    panelId: props.clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(PaddingEdit, props)), !isMarginDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    hasValue: () => hasMarginValue(props),
+    label: (0,external_wp_i18n_namespaceObject.__)('Margin'),
+    onDeselect: () => resetMargin(props),
+    resetAllFilter: createResetAllFilter('margin'),
+    isShownByDefault: defaultSpacingControls === null || defaultSpacingControls === void 0 ? void 0 : defaultSpacingControls.margin,
+    panelId: props.clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(MarginEdit, props)), !isGapDisabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    hasValue: () => hasGapValue(props),
+    label: (0,external_wp_i18n_namespaceObject.__)('Block spacing'),
+    onDeselect: () => resetGap(props),
+    resetAllFilter: createResetAllFilter('blockGap'),
+    isShownByDefault: defaultSpacingControls === null || defaultSpacingControls === void 0 ? void 0 : defaultSpacingControls.blockGap,
+    panelId: props.clientId
+  }, (0,external_wp_element_namespaceObject.createElement)(GapEdit, props)));
+}
+/**
+ * Determine whether there is dimensions related block support.
+ *
+ * @param {string} blockName Block name.
+ *
+ * @return {boolean} Whether there is support.
+ */

-  if (blockApiVersion < 2 && clientId === blockEditContext.clientId) {
-    typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_6___default()(`Block type "${name}" must support API version 2 or higher to work correctly with "useBlockProps" method.`) : void 0;
+function hasDimensionsSupport(blockName) {
+  if (external_wp_element_namespaceObject.Platform.OS !== 'web') {
+    return false;
   }

-  return { ...wrapperProps,
-    ...props,
-    ref: mergedRefs,
-    id: `block-${clientId}${htmlSuffix}`,
-    tabIndex: 0,
-    role: 'document',
-    'aria-label': blockLabel,
-    'data-block': clientId,
-    'data-type': name,
-    'data-title': blockTitle,
-    className: classnames__WEBPACK_IMPORTED_MODULE_0___default()( // The wp-block className is important for editor styles.
-    classnames__WEBPACK_IMPORTED_MODULE_0___default()('block-editor-block-list__block', {
-      'wp-block': !isAligned
-    }), className, props.className, wrapperProps.className, Object(_use_block_class_names__WEBPACK_IMPORTED_MODULE_12__[/* useBlockClassNames */ "a"])(clientId), Object(_use_block_default_class_name__WEBPACK_IMPORTED_MODULE_13__[/* useBlockDefaultClassName */ "a"])(clientId), Object(_use_block_custom_class_name__WEBPACK_IMPORTED_MODULE_14__[/* useBlockCustomClassName */ "a"])(clientId), Object(_use_block_moving_mode_class_names__WEBPACK_IMPORTED_MODULE_15__[/* useBlockMovingModeClassNames */ "a"])(clientId)),
-    style: { ...wrapperProps.style,
-      ...props.style
-    }
-  };
+  return hasGapSupport(blockName) || hasPaddingSupport(blockName) || hasMarginSupport(blockName);
 }
 /**
- * Call within a save function to get the props for the block wrapper.
+ * Determines whether dimensions support has been disabled.
  *
- * @param {Object} props Optional. Props to pass to the element.
+ * @param {Object} props Block properties.
+ *
+ * @return {boolean} If spacing support is completely disabled.
  */

-useBlockProps.save = _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__["__unstableGetBlockProps"];
+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);
+  return gapDisabled && paddingDisabled && marginDisabled;
+};
+/**
+ * Custom hook to retrieve which padding/margin is supported
+ * e.g. top, right, bottom or left.
+ *
+ * Sides are opted into by default. It is only if a specific side is set to
+ * false that it is omitted.
+ *
+ * @param {string} blockName Block name.
+ * @param {string} feature   The feature custom sides relate to e.g. padding or margins.
+ *
+ * @return {Object} Sides supporting custom margin.
+ */

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))

-/***/ }),
+function useCustomSides(blockName, feature) {
+  const support = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockName, SPACING_SUPPORT_KEY); // Skip when setting is boolean as theme isn't setting arbitrary sides.

-/***/ "o97j":
-/***/ (function(module, exports, __webpack_require__) {
+  if (!support || typeof support[feature] === 'boolean') {
+    return;
+  }

-"use strict";
+  return support[feature];
+}
 /**
- * Copyright (c) 2015, Facebook, Inc.
- * All rights reserved.
+ * Custom hook to determine whether the sides configured in the
+ * block support are valid. A dimension property cannot declare
+ * support for a mix of axial and individual sides.
  *
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
+ * @param {string} blockName Block name.
+ * @param {string} feature   The feature custom sides relate to e.g. padding or margins.
  *
- * @providesModule ExecutionEnvironment
+ * @return {boolean} If the feature has a valid configuration of sides.
  */

-/*jslint evil: true */
+function useIsDimensionsSupportValid(blockName, feature) {
+  const sides = useCustomSides(blockName, feature);
+
+  if (sides && sides.some(side => ALL_SIDES.includes(side)) && sides.some(side => AXIAL_SIDES.includes(side))) {
+    // eslint-disable-next-line no-console
+    console.warn(`The ${feature} support for the "${blockName}" block can not be configured to support both axial and arbitrary sides.`);
+    return false;
+  }
+
+  return true;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/style.js


-var canUseDOM = !!(
-  typeof window !== 'undefined' &&
-  window.document &&
-  window.document.createElement
-);

 /**
- * Simple, lightweight module assisting with the detection and context of
- * Worker. Helps avoid circular dependencies and allows code to reason about
- * whether or not they are in a Worker, even if they never include the main
- * `ReactWorker` dependency.
+ * External dependencies
  */
-var ExecutionEnvironment = {
-
-  canUseDOM: canUseDOM,

-  canUseWorkers: typeof Worker !== 'undefined',

-  canUseEventListeners:
-    canUseDOM && !!(window.addEventListener || window.attachEvent),
+/**
+ * WordPress dependencies
+ */

-  canUseViewport: canUseDOM && !!window.screen,

-  isInWorker: !canUseDOM // For now, this is true - might change in the future.

-};

-module.exports = ExecutionEnvironment;

+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "onLe":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["notices"]; }());

-/***/ }),

-/***/ "p3NJ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ useInnerBlocksProps; });
+const styleSupportKeys = [...TYPOGRAPHY_SUPPORT_KEYS, BORDER_SUPPORT_KEY, COLOR_SUPPORT_KEY, SPACING_SUPPORT_KEY];

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+const hasStyleSupport = blockType => styleSupportKeys.some(key => (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockType, key));

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+const VARIABLE_REFERENCE_PREFIX = 'var:';
+const VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE = '|';
+const VARIABLE_PATH_SEPARATOR_TOKEN_STYLE = '--';

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+function compileStyleValue(uncompiledValue) {
+  if ((0,external_lodash_namespaceObject.startsWith)(uncompiledValue, VARIABLE_REFERENCE_PREFIX)) {
+    const variable = uncompiledValue.slice(VARIABLE_REFERENCE_PREFIX.length).split(VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE).join(VARIABLE_PATH_SEPARATOR_TOKEN_STYLE);
+    return `var(--wp--${variable})`;
+  }

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+  return uncompiledValue;
+}
+/**
+ * Returns the inline styles to add depending on the style object
+ *
+ * @param {Object} styles Styles configuration.
+ *
+ * @return {Object} Flattened CSS variables declaration.
+ */

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+function getInlineStyles() {
+  let styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const ignoredStyles = ['spacing.blockGap'];
+  const output = {};
+  Object.keys(external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY).forEach(propKey => {
+    const path = external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY[propKey].value;
+    const subPaths = external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY[propKey].properties; // Ignore styles on elements because they are handled on the server.

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js
-var button_block_appender = __webpack_require__("I5Hl");
+    if ((0,external_lodash_namespaceObject.has)(styles, path) && 'elements' !== (0,external_lodash_namespaceObject.first)(path)) {
+      // Checking if style value is a string allows for shorthand css
+      // option and backwards compatibility for border radius support.
+      const styleValue = (0,external_lodash_namespaceObject.get)(styles, path);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js
-var block_edit_context = __webpack_require__("ur0x");
+      if (!!subPaths && !(0,external_lodash_namespaceObject.isString)(styleValue)) {
+        Object.entries(subPaths).forEach(entry => {
+          const [name, subPath] = entry;
+          const value = (0,external_lodash_namespaceObject.get)(styleValue, [subPath]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/with-client-id.js
+          if (value) {
+            output[name] = compileStyleValue(value);
+          }
+        });
+      } else if (!ignoredStyles.includes(path.join('.'))) {
+        output[propKey] = compileStyleValue((0,external_lodash_namespaceObject.get)(styles, path));
+      }
+    }
+  });
+  return output;
+}

+function compileElementsStyles(selector) {
+  let elements = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  return (0,external_lodash_namespaceObject.map)(elements, (styles, element) => {
+    const elementStyles = getInlineStyles(styles);

+    if (!(0,external_lodash_namespaceObject.isEmpty)(elementStyles)) {
+      return [`.${selector} ${external_wp_blocks_namespaceObject.__EXPERIMENTAL_ELEMENTS[element]}{`, ...(0,external_lodash_namespaceObject.map)(elementStyles, (value, property) => `\t${(0,external_lodash_namespaceObject.kebabCase)(property)}: ${value};`), '}'].join('\n');
+    }

+    return '';
+  }).join('\n');
+}
 /**
- * WordPress dependencies
+ * Filters registered block settings, extending attributes to include `style` attribute.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
  */

-/**
- * Internal dependencies
- */

+function style_addAttribute(settings) {
+  if (!hasStyleSupport(settings)) {
+    return settings;
+  } // allow blocks to specify their own attribute definition with default values if needed.

-const withClientId = Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => props => {
-  const {
-    clientId
-  } = Object(block_edit_context["c" /* useBlockEditContext */])();
-  return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, {
-    clientId: clientId
-  }));
-}, 'withClientId');
-/* harmony default export */ var with_client_id = (withClientId);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/button-block-appender.js
+  if (!settings.attributes.style) {
+    Object.assign(settings.attributes, {
+      style: {
+        type: 'object'
+      }
+    });
+  }
+
+  return settings;
+}
+/**
+ * A dictionary of paths to flag skipping block support serialization as the key,
+ * with values providing the style paths to be omitted from serialization.
+ *
+ * @constant
+ * @type {Record<string, string[]>}
+ */


+const skipSerializationPathsEdit = {
+  [`${BORDER_SUPPORT_KEY}.__experimentalSkipSerialization`]: ['border'],
+  [`${COLOR_SUPPORT_KEY}.__experimentalSkipSerialization`]: [COLOR_SUPPORT_KEY],
+  [`${TYPOGRAPHY_SUPPORT_KEY}.__experimentalSkipSerialization`]: [TYPOGRAPHY_SUPPORT_KEY],
+  [`${SPACING_SUPPORT_KEY}.__experimentalSkipSerialization`]: ['spacing']
+};
 /**
- * External dependencies
+ * A dictionary of paths to flag skipping block support serialization as the key,
+ * with values providing the style paths to be omitted from serialization.
+ *
+ * Extends the Edit skip paths to enable skipping additional paths in just
+ * the Save component. This allows a block support to be serialized within the
+ * editor, while using an alternate approach, such as server-side rendering, when
+ * the support is saved.
+ *
+ * @constant
+ * @type {Record<string, string[]>}
  */

+const skipSerializationPathsSave = { ...skipSerializationPathsEdit,
+  [`${SPACING_SUPPORT_KEY}`]: ['spacing.blockGap']
+};
 /**
- * Internal dependencies
+ * Override props assigned to save component to inject the CSS variables definition.
+ *
+ * @param {Object}                    props      Additional props applied to save element.
+ * @param {Object}                    blockType  Block type.
+ * @param {Object}                    attributes Block attributes.
+ * @param {?Record<string, string[]>} skipPaths  An object of keys and paths to skip serialization.
+ *
+ * @return {Object} Filtered props applied to save element.
  */

+function style_addSaveProps(props, blockType, attributes) {
+  let skipPaths = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : skipSerializationPathsSave;

+  if (!hasStyleSupport(blockType)) {
+    return props;
+  }

-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
-    }),
-    rootClientId: clientId,
-    showSeparator: showSeparator,
-    isFloating: isFloating,
-    onAddBlock: onAddBlock
+    style
+  } = attributes;
+  (0,external_lodash_namespaceObject.forEach)(skipPaths, (path, indicator) => {
+    if ((0,external_wp_blocks_namespaceObject.getBlockSupport)(blockType, indicator)) {
+      style = (0,external_lodash_namespaceObject.omit)(style, path);
+    }
   });
-};
-/* harmony default export */ var inner_blocks_button_block_appender = (with_client_id(ButtonBlockAppender));
+  props.style = { ...getInlineStyles(style),
+    ...props.style
+  };
+  return props;
+}
+/**
+ * Filters registered block settings to extend the block edit wrapper
+ * to apply the desired styles and classnames properly.
+ *
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object}.Filtered block settings.
+ */

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+function style_addEditProps(settings) {
+  if (!hasStyleSupport(settings)) {
+    return settings;
+  }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js
-var default_block_appender = __webpack_require__("5L8O");
+  const existingGetEditWrapperProps = settings.getEditWrapperProps;

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+  settings.getEditWrapperProps = attributes => {
+    let props = {};

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/default-block-appender.js
+    if (existingGetEditWrapperProps) {
+      props = existingGetEditWrapperProps(attributes);
+    }

+    return style_addSaveProps(props, settings, attributes, skipSerializationPathsEdit);
+  };

+  return settings;
+}
 /**
- * External dependencies
+ * Override the default edit UI to include new inspector controls for
+ * all the custom styles configs.
+ *
+ * @param {Function} BlockEdit Original component.
+ *
+ * @return {Function} Wrapped component.
  */

+const withBlockControls = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => props => {
+  const shouldDisplayControls = useDisplayBlockControls();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, shouldDisplayControls && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(ColorEdit, props), (0,external_wp_element_namespaceObject.createElement)(TypographyPanel, props), (0,external_wp_element_namespaceObject.createElement)(BorderPanel, props), (0,external_wp_element_namespaceObject.createElement)(DimensionsPanel, props)), (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props));
+}, 'withToolbarControls');
 /**
- * WordPress dependencies
+ * Override the default block element to include duotone styles.
+ *
+ * @param {Function} BlockListBlock Original component
+ * @return {Function}                Wrapped component
  */

+const withElementsStyles = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockListBlock => props => {
+  var _props$attributes$sty, _props$attributes$sty2;
+
+  const elements = (_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : _props$attributes$sty.elements;
+  const blockElementsContainerIdentifier = `wp-elements-${(0,external_wp_compose_namespaceObject.useInstanceId)(BlockListBlock)}`;
+  const styles = compileElementsStyles(blockElementsContainerIdentifier, (_props$attributes$sty2 = props.attributes.style) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.elements);
+  const element = (0,external_wp_element_namespaceObject.useContext)(BlockList.__unstableElementContext);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, elements && element && (0,external_wp_element_namespaceObject.createPortal)((0,external_wp_element_namespaceObject.createElement)("style", {
+    dangerouslySetInnerHTML: {
+      __html: styles
+    }
+  }), element), (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, _extends({}, props, {
+    className: elements ? classnames_default()(props.className, blockElementsContainerIdentifier) : props.className
+  })));
+});
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/style/addAttribute', style_addAttribute);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.getSaveContent.extraProps', 'core/style/addSaveProps', style_addSaveProps);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/style/addEditProps', style_addEditProps);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/style/with-block-controls', withBlockControls);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockListBlock', 'core/editor/with-elements-styles', withElementsStyles);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/duotone-control/index.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */




-const DefaultBlockAppender = _ref => {
+function DuotoneControl(_ref) {
   let {
-    clientId,
-    lastBlockClientId
+    colorPalette,
+    duotonePalette,
+    disableCustomColors,
+    disableCustomDuotone,
+    value,
+    onChange
   } = _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, _ref2) => {
-  let {
-    clientId
-  } = _ref2;
-  const {
-    getBlockOrder
-  } = select(store["a" /* store */]);
-  const blockClientIds = getBlockOrder(clientId);
-  return {
-    lastBlockClientId: Object(external_lodash_["last"])(blockClientIds)
-  };
-})])(DefaultBlockAppender));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    popoverProps: {
+      className: 'block-editor-duotone-control__popover',
+      headerTitle: (0,external_wp_i18n_namespaceObject.__)('Duotone'),
+      isAlternate: true
+    },
+    renderToggle: _ref2 => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref2;
+
+      const openOnArrowDown = event => {
+        if (!isOpen && event.keyCode === external_wp_keycodes_namespaceObject.DOWN) {
+          event.preventDefault();
+          onToggle();
+        }
+      };

-// EXTERNAL MODULE: external ["wp","isShallowEqual"]
-var external_wp_isShallowEqual_ = __webpack_require__("rl8x");
-var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+        showTooltip: true,
+        onClick: onToggle,
+        "aria-haspopup": "true",
+        "aria-expanded": isOpen,
+        onKeyDown: openOnArrowDown,
+        label: (0,external_wp_i18n_namespaceObject.__)('Apply duotone filter'),
+        icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DuotoneSwatch, {
+          values: value
+        })
+      });
+    },
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Duotone')
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-duotone-control__description"
+    }, (0,external_wp_i18n_namespaceObject.__)('Create a two-tone color effect without losing your original image.')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DuotonePicker, {
+      colorPalette: colorPalette,
+      duotonePalette: duotonePalette,
+      disableCustomColors: disableCustomColors,
+      disableCustomDuotone: disableCustomDuotone,
+      value: value,
+      onChange: onChange
+    }))
+  });
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/index.js + 5 modules
-var layouts = __webpack_require__("PPMp");
+/* harmony default export */ var duotone_control = (DuotoneControl);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-nested-settings-update.js
-/**
- * WordPress dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/duotone.js



 /**
- * Internal dependencies
+ * External dependencies
  */



 /**
- * This hook is a side effect which updates the block-editor store when changes
- * happen to inner block settings. The given props are transformed into a
- * settings object, and if that is different from the current settings object in
- * the block-editor store, then the store is updated with the new settings which
- * came from props.
- *
- * @param {string}            clientId                   The client ID of the block to update.
- * @param {string[]}          allowedBlocks              An array of block names which are permitted
- *                                                       in inner blocks.
- * @param {?Array}            __experimentalDefaultBlock The default block to insert: [ blockName, { blockAttributes } ].
- * @param {?Function|boolean} __experimentalDirectInsert If a default block should be inserted directly by the
- *                                                       appender.
- * @param {string}            [templateLock]             The template lock specified for the inner
- *                                                       blocks component. (e.g. "all")
- * @param {boolean}           captureToolbars            Whether or children toolbars should be shown
- *                                                       in the inner blocks component rather than on
- *                                                       the child block.
- * @param {string}            orientation                The direction in which the block
- *                                                       should face.
- * @param {Object}            layout                     The layout object for the block container.
+ * WordPress dependencies
  */

-function useNestedSettingsUpdate(clientId, allowedBlocks, __experimentalDefaultBlock, __experimentalDirectInsert, templateLock, captureToolbars, orientation, layout) {
-  const {
-    updateBlockListSettings
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const {
-    blockListSettings,
-    parentLock
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const rootClientId = select(store["a" /* store */]).getBlockRootClientId(clientId);
-    return {
-      blockListSettings: select(store["a" /* store */]).getBlockListSettings(clientId),
-      parentLock: select(store["a" /* store */]).getTemplateLock(rootClientId)
-    };
-  }, [clientId]); // Memoize as inner blocks implementors often pass a new array on every
-  // render.
-
-  const _allowedBlocks = Object(external_wp_element_["useMemo"])(() => allowedBlocks, allowedBlocks);

-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    const newSettings = {
-      allowedBlocks: _allowedBlocks,
-      templateLock: templateLock === undefined ? parentLock : templateLock
-    }; // These values are not defined for RN, so only include them if they
-    // are defined.

-    if (captureToolbars !== undefined) {
-      newSettings.__experimentalCaptureToolbars = captureToolbars;
-    } // Orientation depends on layout,
-    // ideally the separate orientation prop should be deprecated.


-    if (orientation !== undefined) {
-      newSettings.orientation = orientation;
-    } else {
-      const layoutType = Object(layouts["a" /* getLayoutType */])(layout === null || layout === void 0 ? void 0 : layout.type);
-      newSettings.orientation = layoutType.getOrientation(layout);
-    }

-    if (__experimentalDefaultBlock !== undefined) {
-      newSettings.__experimentalDefaultBlock = __experimentalDefaultBlock;
-    }
+/**
+ * Internal dependencies
+ */

-    if (__experimentalDirectInsert !== undefined) {
-      newSettings.__experimentalDirectInsert = __experimentalDirectInsert;
-    }

-    if (!external_wp_isShallowEqual_default()(blockListSettings, newSettings)) {
-      updateBlockListSettings(clientId, newSettings);
-    }
-  }, [clientId, blockListSettings, _allowedBlocks, __experimentalDefaultBlock, __experimentalDirectInsert, templateLock, parentLock, captureToolbars, orientation, updateBlockListSettings, layout]);
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-inner-block-template-sync.js
+const duotone_EMPTY_ARRAY = [];
+k([names]);
 /**
- * External dependencies
+ * Convert a list of colors to an object of R, G, and B values.
+ *
+ * @param {string[]} colors Array of RBG color strings.
+ *
+ * @return {Object} R, G, and B values.
  */

+function getValuesFromColors() {
+  let colors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  const values = {
+    r: [],
+    g: [],
+    b: [],
+    a: []
+  };
+  colors.forEach(color => {
+    const rgbColor = w(color).toRgb();
+    values.r.push(rgbColor.r / 255);
+    values.g.push(rgbColor.g / 255);
+    values.b.push(rgbColor.b / 255);
+    values.a.push(rgbColor.a);
+  });
+  return values;
+}
 /**
- * WordPress dependencies
+ * Values for the SVG `feComponentTransfer`.
+ *
+ * @typedef Values {Object}
+ * @property {number[]} r Red values.
+ * @property {number[]} g Green values.
+ * @property {number[]} b Blue values.
+ * @property {number[]} a Alpha values.
  */

+/**
+ * SVG and stylesheet needed for rendering the duotone filter.
+ *
+ * @param {Object} props          Duotone props.
+ * @param {string} props.selector Selector to apply the filter to.
+ * @param {string} props.id       Unique id for this duotone filter.
+ * @param {Values} props.values   R, G, B, and A values to filter with.
+ *
+ * @return {WPElement} Duotone element.
+ */

+function DuotoneFilter(_ref) {
+  let {
+    selector,
+    id,
+    values
+  } = _ref;
+  const stylesheet = `
+${selector} {
+	filter: url( #${id} );
+}
+`;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.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'
+    }
+  }, (0,external_wp_element_namespaceObject.createElement)("defs", null, (0,external_wp_element_namespaceObject.createElement)("filter", {
+    id: id
+  }, (0,external_wp_element_namespaceObject.createElement)("feColorMatrix", {
+    // Use sRGB instead of linearRGB so transparency looks correct.
+    colorInterpolationFilters: "sRGB",
+    type: "matrix" // Use perceptual brightness to convert to grayscale.
+    ,
+    values: " .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 "
+  }), (0,external_wp_element_namespaceObject.createElement)("feComponentTransfer", {
+    // Use sRGB instead of linearRGB to be consistent with how CSS gradients work.
+    colorInterpolationFilters: "sRGB"
+  }, (0,external_wp_element_namespaceObject.createElement)("feFuncR", {
+    type: "table",
+    tableValues: values.r.join(' ')
+  }), (0,external_wp_element_namespaceObject.createElement)("feFuncG", {
+    type: "table",
+    tableValues: values.g.join(' ')
+  }), (0,external_wp_element_namespaceObject.createElement)("feFuncB", {
+    type: "table",
+    tableValues: values.b.join(' ')
+  }), (0,external_wp_element_namespaceObject.createElement)("feFuncA", {
+    type: "table",
+    tableValues: values.a.join(' ')
+  })), (0,external_wp_element_namespaceObject.createElement)("feComposite", {
+    // Re-mask the image with the original transparency since the feColorMatrix above loses that information.
+    in2: "SourceGraphic",
+    operator: "in"
+  })))), (0,external_wp_element_namespaceObject.createElement)("style", {
+    dangerouslySetInnerHTML: {
+      __html: stylesheet
+    }
+  }));
+}

+function DuotonePanel(_ref2) {
+  var _style$color;

-/**
- * Internal dependencies
- */
+  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 = useSetting('color.duotone') || duotone_EMPTY_ARRAY;
+  const colorPalette = useSetting('color.palette') || duotone_EMPTY_ARRAY;
+  const disableCustomColors = !useSetting('color.custom');
+  const disableCustomDuotone = !useSetting('color.customDuotone') || (colorPalette === null || colorPalette === void 0 ? void 0 : colorPalette.length) === 0 && disableCustomColors;

+  if ((duotonePalette === null || duotonePalette === void 0 ? void 0 : duotonePalette.length) === 0 && disableCustomDuotone) {
+    return null;
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(block_controls, {
+    group: "block",
+    __experimentalShareWithChildBlocks: true
+  }, (0,external_wp_element_namespaceObject.createElement)(duotone_control, {
+    duotonePalette: duotonePalette,
+    colorPalette: colorPalette,
+    disableCustomDuotone: disableCustomDuotone,
+    disableCustomColors: disableCustomColors,
+    value: duotone,
+    onChange: newDuotone => {
+      const newStyle = { ...style,
+        color: { ...(style === null || style === void 0 ? void 0 : style.color),
+          duotone: newDuotone
+        }
+      };
+      setAttributes({
+        style: newStyle
+      });
+    }
+  }));
+}
 /**
- * This hook makes sure that a block's inner blocks stay in sync with the given
- * block "template". The template is a block hierarchy to which inner blocks must
- * conform. If the blocks get "out of sync" with the template and the template
- * is meant to be locked (e.g. templateLock = "all"), then we replace the inner
- * blocks with the correct value after synchronizing it with the template.
+ * Filters registered block settings, extending attributes to include
+ * the `duotone` attribute.
  *
- * @param {string}  clientId                       The block client ID.
- * @param {Object}  template                       The template to match.
- * @param {string}  templateLock                   The template lock state for the inner blocks. For
- *                                                 example, if the template lock is set to "all",
- *                                                 then the inner blocks will stay in sync with the
- *                                                 template. If not defined or set to false, then
- *                                                 the inner blocks will not be synchronized with
- *                                                 the given template.
- * @param {boolean} templateInsertUpdatesSelection Whether or not to update the
- *                                                 block-editor selection state when inner blocks
- *                                                 are replaced after template synchronization.
+ * @param {Object} settings Original block settings.
+ *
+ * @return {Object} Filtered block settings.
  */

-function useInnerBlockTemplateSync(clientId, template, templateLock, templateInsertUpdatesSelection) {
-  const {
-    getSelectedBlocksInitialCaretPosition
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    replaceInnerBlocks
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const innerBlocks = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).getBlocks(clientId), [clientId]); // Maintain a reference to the previous value so we can do a deep equality check.

-  const existingTemplate = Object(external_wp_element_["useRef"])(null);
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    // Only synchronize innerBlocks with template if innerBlocks are empty or
-    // a locking all exists directly on the block.
-    if (innerBlocks.length === 0 || templateLock === 'all') {
-      const hasTemplateChanged = !Object(external_lodash_["isEqual"])(template, existingTemplate.current);
+function addDuotoneAttributes(settings) {
+  if (!(0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, 'color.__experimentalDuotone')) {
+    return settings;
+  } // Allow blocks to specify their own attribute definition with default
+  // values if needed.

-      if (hasTemplateChanged) {
-        existingTemplate.current = template;
-        const nextBlocks = Object(external_wp_blocks_["synchronizeBlocksWithTemplate"])(innerBlocks, template);

-        if (!Object(external_lodash_["isEqual"])(nextBlocks, innerBlocks)) {
-          replaceInnerBlocks(clientId, nextBlocks, innerBlocks.length === 0 && templateInsertUpdatesSelection && nextBlocks.length !== 0, // This ensures the "initialPosition" doesn't change when applying the template
-          // If we're supposed to focus the block, we'll focus the first inner block
-          // otherwise, we won't apply any auto-focus.
-          // This ensures for instance that the focus stays in the inserter when inserting the "buttons" block.
-          getSelectedBlocksInitialCaretPosition());
-        }
+  if (!settings.attributes.style) {
+    Object.assign(settings.attributes, {
+      style: {
+        type: 'object'
       }
-    }
-  }, [innerBlocks, template, templateLock, clientId]);
-}
+    });
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/get-block-context.js
+  return settings;
+}
 /**
- * External dependencies
+ * Override the default edit UI to include toolbar controls for duotone if the
+ * block supports duotone.
+ *
+ * @param {Function} BlockEdit Original component.
+ *
+ * @return {Function} Wrapped component.
  */

+
+const withDuotoneControls = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => props => {
+  const hasDuotoneSupport = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(props.name, 'color.__experimentalDuotone');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props), hasDuotoneSupport && (0,external_wp_element_namespaceObject.createElement)(DuotonePanel, props));
+}, 'withDuotoneControls');
 /**
- * Block context cache, implemented as a WeakMap mapping block types to a
- * WeakMap mapping attributes object to context value.
+ * Function that scopes a selector with another one. This works a bit like
+ * SCSS nesting except the `&` operator isn't supported.
  *
- * @type {WeakMap<string,WeakMap<string,*>>}
+ * @example
+ * ```js
+ * const scope = '.a, .b .c';
+ * const selector = '> .x, .y';
+ * const merged = scopeSelector( scope, selector );
+ * // merged is '.a > .x, .a .y, .b .c > .x, .b .c .y'
+ * ```
+ *
+ * @param {string} scope    Selector to scope to.
+ * @param {string} selector Original selector.
+ *
+ * @return {string} Scoped selector.
  */

-const BLOCK_CONTEXT_CACHE = new WeakMap();
+function scopeSelector(scope, selector) {
+  const scopes = scope.split(',');
+  const selectors = selector.split(',');
+  const selectorsScoped = [];
+  scopes.forEach(outer => {
+    selectors.forEach(inner => {
+      selectorsScoped.push(`${outer.trim()} ${inner.trim()}`);
+    });
+  });
+  return selectorsScoped.join(', ');
+}
 /**
- * Returns a cached context object value for a given set of attributes for the
- * block type.
+ * Override the default block element to include duotone styles.
  *
- * @param {Record<string,*>} attributes Block attributes object.
- * @param {WPBlockType}      blockType  Block type settings.
+ * @param {Function} BlockListBlock Original component.
  *
- * @return {Record<string,*>} Context value.
+ * @return {Function} Wrapped component.
  */

-function getBlockContext(attributes, blockType) {
-  if (!BLOCK_CONTEXT_CACHE.has(blockType)) {
-    BLOCK_CONTEXT_CACHE.set(blockType, new WeakMap());
-  }

-  const blockTypeCache = BLOCK_CONTEXT_CACHE.get(blockType);
+const withDuotoneStyles = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockListBlock => props => {
+  var _props$attributes, _props$attributes$sty, _props$attributes$sty2;

-  if (!blockTypeCache.has(attributes)) {
-    const context = Object(external_lodash_["mapValues"])(blockType.providesContext, attributeName => attributes[attributeName]);
-    blockTypeCache.set(attributes, context);
+  const duotoneSupport = (0,external_wp_blocks_namespaceObject.getBlockSupport)(props.name, 'color.__experimentalDuotone');
+  const values = props === null || props === void 0 ? void 0 : (_props$attributes = props.attributes) === null || _props$attributes === void 0 ? void 0 : (_props$attributes$sty = _props$attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : (_props$attributes$sty2 = _props$attributes$sty.color) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.duotone;
+
+  if (!duotoneSupport || !values) {
+    return (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, props);
   }

-  return blockTypeCache.get(attributes);
-}
+  const id = `wp-duotone-${(0,external_wp_compose_namespaceObject.useInstanceId)(BlockListBlock)}`; // Extra .editor-styles-wrapper specificity is needed in the editor
+  // since we're not using inline styles to apply the filter. We need to
+  // override duotone applied by global styles and theme.json.

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js + 4 modules
-var block_list = __webpack_require__("VyCT");
+  const selectorsGroup = scopeSelector(`.editor-styles-wrapper .${id}`, duotoneSupport);
+  const className = classnames_default()(props === null || props === void 0 ? void 0 : props.className, id);
+  const element = (0,external_wp_element_namespaceObject.useContext)(BlockList.__unstableElementContext);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, element && (0,external_wp_element_namespaceObject.createPortal)((0,external_wp_element_namespaceObject.createElement)(DuotoneFilter, {
+    selector: selectorsGroup,
+    id: id,
+    values: getValuesFromColors(values)
+  }), element), (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, _extends({}, props, {
+    className: className
+  })));
+}, 'withDuotoneStyles');
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/editor/duotone/add-attributes', addDuotoneAttributes);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/editor/duotone/with-editor-controls', withDuotoneControls);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockListBlock', 'core/editor/duotone/with-styles', withDuotoneStyles);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-context/index.js
-var block_context = __webpack_require__("uoCR");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/layout.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/provider/use-block-sync.js
-var use_block_sync = __webpack_require__("JGYp");

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-on-block-drop/index.js
-var use_on_block_drop = __webpack_require__("/lNF");
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/math.js
-var math = __webpack_require__("vIlp");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-block-drop-zone/index.js
 /**
  * WordPress dependencies
  */
@@ -39139,6 +34241,10 @@ var math = __webpack_require__("vIlp");



+
+
+
+
 /**
  * Internal dependencies
  */
@@ -39146,127 +34252,262 @@ var math = __webpack_require__("vIlp");



-/** @typedef {import('../../utils/math').WPPoint} WPPoint */

-/**
- * The orientation of a block list.
- *
- * @typedef {'horizontal'|'vertical'|undefined} WPBlockListOrientation
- */

+
+const layoutBlockSupportKey = '__experimentalLayout';
+
+function LayoutPanel(_ref) {
+  let {
+    setAttributes,
+    attributes,
+    name: blockName
+  } = _ref;
+  const {
+    layout
+  } = attributes;
+  const defaultThemeLayout = useSetting('layout');
+  const themeSupportsLayout = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSettings
+    } = select(store);
+    return getSettings().supportsLayout;
+  }, []);
+  const layoutBlockSupport = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockName, layoutBlockSupportKey, {});
+  const {
+    allowSwitching,
+    allowEditing = true,
+    allowInheriting = true,
+    default: defaultBlockLayout
+  } = layoutBlockSupport;
+
+  if (!allowEditing) {
+    return null;
+  }
+
+  const usedLayout = layout || defaultBlockLayout || {};
+  const {
+    inherit = false,
+    type = 'default'
+  } = usedLayout;
+  /**
+   * `themeSupportsLayout` is only relevant to the `default/flow`
+   * layout and it should not be taken into account when other
+   * `layout` types are used.
+   */
+
+  if (type === 'default' && !themeSupportsLayout) {
+    return null;
+  }
+
+  const layoutType = getLayoutType(type);
+
+  const onChangeType = newType => setAttributes({
+    layout: {
+      type: newType
+    }
+  });
+
+  const onChangeLayout = newLayout => setAttributes({
+    layout: newLayout
+  });
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(inspector_controls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Layout')
+  }, allowInheriting && !!defaultThemeLayout && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Inherit default layout'),
+    checked: !!inherit,
+    onChange: () => setAttributes({
+      layout: {
+        inherit: !inherit
+      }
+    })
+  }), !inherit && allowSwitching && (0,external_wp_element_namespaceObject.createElement)(LayoutTypeSwitcher, {
+    type: type,
+    onChange: onChangeType
+  }), !inherit && layoutType && (0,external_wp_element_namespaceObject.createElement)(layoutType.inspectorControls, {
+    layout: usedLayout,
+    onChange: onChangeLayout,
+    layoutBlockSupport: layoutBlockSupport
+  }))), !inherit && layoutType && (0,external_wp_element_namespaceObject.createElement)(layoutType.toolBarControls, {
+    layout: usedLayout,
+    onChange: onChangeLayout,
+    layoutBlockSupport: layoutBlockSupport
+  }));
+}
+
+function LayoutTypeSwitcher(_ref2) {
+  let {
+    type,
+    onChange
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ButtonGroup, null, getLayoutTypes().map(_ref3 => {
+    let {
+      name,
+      label
+    } = _ref3;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      key: name,
+      isPressed: type === name,
+      onClick: () => onChange(name)
+    }, label);
+  }));
+}
 /**
- * Given a list of block DOM elements finds the index that a block should be dropped
- * at.
+ * Filters registered block settings, extending attributes to include `layout`.
  *
- * @param {Element[]}              elements    Array of DOM elements that represent each block in a block list.
- * @param {WPPoint}                position    The position of the item being dragged.
- * @param {WPBlockListOrientation} orientation The orientation of a block list.
+ * @param {Object} settings Original block settings.
  *
- * @return {number|undefined} The block index that's closest to the drag position.
+ * @return {Object} Filtered block settings.
  */

-function getNearestBlockIndex(elements, position, orientation) {
-  const allowedEdges = orientation === 'horizontal' ? ['left', 'right'] : ['top', 'bottom'];
-  const isRightToLeft = Object(external_wp_i18n_["isRTL"])();
-  let candidateIndex;
-  let candidateDistance;
-  elements.forEach((element, index) => {
-    const rect = element.getBoundingClientRect();
-    const [distance, edge] = Object(math["a" /* getDistanceToNearestEdge */])(position, rect, allowedEdges);

-    if (candidateDistance === undefined || distance < candidateDistance) {
-      // If the user is dropping to the trailing edge of the block
-      // add 1 to the index to represent dragging after.
-      // Take RTL languages into account where the left edge is
-      // the trailing edge.
-      const isTrailingEdge = edge === 'bottom' || !isRightToLeft && edge === 'right' || isRightToLeft && edge === 'left';
-      const offset = isTrailingEdge ? 1 : 0; // Update the currently known best candidate.
+function layout_addAttribute(settings) {
+  if ((0,external_lodash_namespaceObject.has)(settings.attributes, ['layout', 'type'])) {
+    return settings;
+  }

-      candidateDistance = distance;
-      candidateIndex = index + offset;
-    }
-  });
-  return candidateIndex;
+  if ((0,external_wp_blocks_namespaceObject.hasBlockSupport)(settings, layoutBlockSupportKey)) {
+    settings.attributes = { ...settings.attributes,
+      layout: {
+        type: 'object'
+      }
+    };
+  }
+
+  return settings;
 }
 /**
- * @typedef  {Object} WPBlockDropZoneConfig
- * @property {string} rootClientId The root client id for the block list.
+ * Override the default edit UI to include layout controls
+ *
+ * @param {Function} BlockEdit Original component.
+ *
+ * @return {Function} Wrapped component.
  */

+const withInspectorControls = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => props => {
+  const {
+    name: blockName
+  } = props;
+  const supportLayout = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, layoutBlockSupportKey);
+  return [supportLayout && (0,external_wp_element_namespaceObject.createElement)(LayoutPanel, _extends({
+    key: "layout"
+  }, props)), (0,external_wp_element_namespaceObject.createElement)(BlockEdit, _extends({
+    key: "edit"
+  }, props))];
+}, 'withInspectorControls');
 /**
- * A React hook that can be used to make a block list handle drag and drop.
+ * Override the default block element to add the layout styles.
  *
- * @param {WPBlockDropZoneConfig} dropZoneConfig configuration data for the drop zone.
+ * @param {Function} BlockListBlock Original component.
+ *
+ * @return {Function} Wrapped component.
  */

-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 {
-      getTemplateLock
-    } = select(store["a" /* store */]);
-    return getTemplateLock(targetRootClientId) === 'all';
-  }, [targetRootClientId]);
+const withLayoutStyles = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockListBlock => props => {
   const {
-    getBlockListSettings
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
+    name,
+    attributes
+  } = props;
+  const shouldRenderLayoutStyles = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(name, layoutBlockSupportKey);
+  const id = (0,external_wp_compose_namespaceObject.useInstanceId)(BlockListBlock);
+  const defaultThemeLayout = useSetting('layout') || {};
+  const element = (0,external_wp_element_namespaceObject.useContext)(BlockList.__unstableElementContext);
   const {
-    showInsertionPoint,
-    hideInsertionPoint
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const onBlockDrop = Object(use_on_block_drop["a" /* default */])(targetRootClientId, targetBlockIndex);
-  const throttled = Object(external_wp_compose_["useThrottle"])(Object(external_wp_element_["useCallback"])((event, currentTarget) => {
-    var _getBlockListSettings;
+    layout
+  } = attributes;
+  const {
+    default: defaultBlockLayout
+  } = (0,external_wp_blocks_namespaceObject.getBlockSupport)(name, layoutBlockSupportKey) || {};
+  const usedLayout = layout !== null && layout !== void 0 && layout.inherit ? defaultThemeLayout : layout || defaultBlockLayout || {};
+  const className = classnames_default()(props === null || props === void 0 ? void 0 : props.className, {
+    [`wp-container-${id}`]: shouldRenderLayoutStyles
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, shouldRenderLayoutStyles && element && (0,external_wp_element_namespaceObject.createPortal)((0,external_wp_element_namespaceObject.createElement)(LayoutStyle, {
+    selector: `.wp-container-${id}`,
+    layout: usedLayout,
+    style: attributes === null || attributes === void 0 ? void 0 : attributes.style
+  }), element), (0,external_wp_element_namespaceObject.createElement)(BlockListBlock, _extends({}, props, {
+    className: className
+  })));
+});
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/layout/addAttribute', layout_addAttribute);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockListBlock', 'core/editor/layout/with-layout-styles', withLayoutStyles);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/editor/layout/with-inspector-controls', withInspectorControls);

-    const blockElements = Array.from(currentTarget.children).filter( // Ensure the element is a block. It should have the `wp-block` class.
-    element => element.classList.contains('wp-block'));
-    const targetIndex = getNearestBlockIndex(blockElements, {
-      x: event.clientX,
-      y: event.clientY
-    }, (_getBlockListSettings = getBlockListSettings(targetRootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation);
-    setTargetBlockIndex(targetIndex === undefined ? 0 : targetIndex);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/use-border-props.js
+/**
+ * External dependencies
+ */

-    if (targetIndex !== null) {
-      showInsertionPoint(targetRootClientId, targetIndex);
-    }
-  }, []), 200);
-  return Object(external_wp_compose_["__experimentalUseDropZone"])({
-    isDisabled: isLockedAll,
-    onDrop: onBlockDrop,
+/**
+ * Internal dependencies
+ */

-    onDragOver(event) {
-      // `currentTarget` is only available while the event is being
-      // handled, so get it now and pass it to the thottled function.
-      // https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget
-      throttled(event, event.currentTarget);
-    },

-    onDragLeave() {
-      throttled.cancel();
-      hideInsertionPoint();
-      setTargetBlockIndex(null);
-    },

-    onDragEnd() {
-      throttled.cancel();
-      hideInsertionPoint();
-      setTargetBlockIndex(null);
-    }
+ // This utility is intended to assist where the serialization of the border
+// block support is being skipped for a block but the border related CSS classes
+// & styles still need to be generated so they can be applied to inner elements.
+
+const use_border_props_EMPTY_ARRAY = [];
+/**
+ * Provides the CSS class names and inline styles for a block's border support
+ * attributes.
+ *
+ * @param {Object} attributes             Block attributes.
+ * @param {string} attributes.borderColor Selected named border color.
+ * @param {Object} attributes.style       Block's styles attribute.
+ *
+ * @return {Object} Border block support derived CSS classes & styles.
+ */
+
+function getBorderClassesAndStyles(_ref) {
+  var _style$border;

+  let {
+    borderColor,
+    style
+  } = _ref;
+  const borderStyles = (style === null || style === void 0 ? void 0 : style.border) || {};
+  const borderClass = getColorClassName('border-color', borderColor);
+  const className = classnames_default()({
+    [borderClass]: !!borderClass,
+    'has-border-color': borderColor || (style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.color)
   });
+  return {
+    className: className || undefined,
+    style: getInlineStyles({
+      border: borderStyles
+    })
+  };
 }
+/**
+ * Derives the border related props for a block from its border block support
+ * attributes.
+ *
+ * Inline styles are forced for named colors to ensure these selections are
+ * reflected when themes do not load their color stylesheets in the editor.
+ *
+ * @param {Object} attributes Block attributes.
+ *
+ * @return {Object} ClassName & style props from border block support.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js
+function useBorderProps(attributes) {
+  const colors = useSetting('color.palette') || use_border_props_EMPTY_ARRAY;
+  const borderProps = getBorderClassesAndStyles(attributes); // Force inline style to apply border color when themes do not load their
+  // color stylesheets in the editor.

+  if (attributes.borderColor) {
+    const borderColorObject = getColorObjectByAttributeValues(colors, attributes.borderColor);
+    borderProps.style.borderColor = borderColorObject.color;
+  }

+  return borderProps;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/use-color-props.js
 /**
  * External dependencies
  */
@@ -39276,9 +34517,6 @@ function useBlockDropZone() {
  */


-
-
-
 /**
  * Internal dependencies
  */
@@ -39286,820 +34524,681 @@ function useBlockDropZone() {



-
-
-
-
-
-
-
+ // The code in this file has largely been lifted from the color block support
+// hook.
+//
+// This utility is intended to assist where the serialization of the colors
+// block support is being skipped for a block but the color related CSS classes
+// & styles still need to be generated so they can be applied to inner elements.

 /**
- * InnerBlocks is a component which allows a single block to have multiple blocks
- * as children. The UncontrolledInnerBlocks component is used whenever the inner
- * blocks are not controlled by another entity. In other words, it is normally
- * used for inner blocks in the post editor
+ * Provides the CSS class names and inline styles for a block's color support
+ * attributes.
  *
- * @param {Object} props The component props.
+ * @param {Object} attributes Block attributes.
+ *
+ * @return {Object} Color block support derived CSS classes & styles.
  */

-function UncontrolledInnerBlocks(props) {
+function getColorClassesAndStyles(attributes) {
+  var _style$color, _style$color2, _style$color3, _style$color4, _style$elements, _style$elements$link;
+
   const {
-    clientId,
-    allowedBlocks,
-    __experimentalDefaultBlock,
-    __experimentalDirectInsert,
-    template,
-    templateLock,
-    wrapperRef,
-    templateInsertUpdatesSelection,
-    __experimentalCaptureToolbars: captureToolbars,
-    __experimentalAppenderTagName,
-    renderAppender,
-    orientation,
-    placeholder,
-    __experimentalLayout
-  } = props;
-  useNestedSettingsUpdate(clientId, allowedBlocks, __experimentalDefaultBlock, __experimentalDirectInsert, templateLock, captureToolbars, orientation, __experimentalLayout);
-  useInnerBlockTemplateSync(clientId, template, templateLock, templateInsertUpdatesSelection);
-  const context = Object(external_wp_data_["useSelect"])(select => {
-    const block = select(store["a" /* store */]).getBlock(clientId);
-    const blockType = Object(external_wp_blocks_["getBlockType"])(block.name);
+    backgroundColor,
+    textColor,
+    gradient,
+    style
+  } = attributes; // Collect color CSS classes.

-    if (!blockType || !blockType.providesContext) {
-      return;
-    }
+  const backgroundClass = getColorClassName('background-color', backgroundColor);
+  const textClass = getColorClassName('color', textColor);

-    return getBlockContext(block.attributes, blockType);
-  }, [clientId]); // This component needs to always be synchronous as it's the one changing
-  // the async mode depending on the block selection.
+  const gradientClass = __experimentalGetGradientClass(gradient);

-  return Object(external_wp_element_["createElement"])(block_context["a" /* BlockContextProvider */], {
-    value: context
-  }, Object(external_wp_element_["createElement"])(block_list["a" /* BlockListItems */], {
-    rootClientId: clientId,
-    renderAppender: renderAppender,
-    __experimentalAppenderTagName: __experimentalAppenderTagName,
-    __experimentalLayout: __experimentalLayout,
-    wrapperRef: wrapperRef,
-    placeholder: placeholder
-  }));
-}
-/**
- * The controlled inner blocks component wraps the uncontrolled inner blocks
- * component with the blockSync hook. This keeps the innerBlocks of the block in
- * the block-editor store in sync with the blocks of the controlling entity. An
- * example of an inner block controller is a template part block, which provides
- * its own blocks from the template part entity data source.
- *
- * @param {Object} props The component props.
- */
+  const hasGradient = gradientClass || (style === null || style === void 0 ? void 0 : (_style$color = style.color) === null || _style$color === void 0 ? void 0 : _style$color.gradient); // Determine color CSS class name list.

+  const className = classnames_default()(textClass, gradientClass, {
+    // Don't apply the background class if there's a gradient.
+    [backgroundClass]: !hasGradient && !!backgroundClass,
+    'has-text-color': textColor || (style === null || style === void 0 ? void 0 : (_style$color2 = style.color) === null || _style$color2 === void 0 ? void 0 : _style$color2.text),
+    'has-background': backgroundColor || (style === null || style === void 0 ? void 0 : (_style$color3 = style.color) === null || _style$color3 === void 0 ? void 0 : _style$color3.background) || gradient || (style === null || style === void 0 ? void 0 : (_style$color4 = style.color) === null || _style$color4 === void 0 ? void 0 : _style$color4.gradient),
+    'has-link-color': style === null || style === void 0 ? void 0 : (_style$elements = style.elements) === null || _style$elements === void 0 ? void 0 : (_style$elements$link = _style$elements.link) === null || _style$elements$link === void 0 ? void 0 : _style$elements$link.color
+  }); // Collect inline styles for colors.

-function ControlledInnerBlocks(props) {
-  Object(use_block_sync["a" /* default */])(props);
-  return Object(external_wp_element_["createElement"])(UncontrolledInnerBlocks, props);
+  const colorStyles = (style === null || style === void 0 ? void 0 : style.color) || {};
+  const styleProp = getInlineStyles({
+    color: colorStyles
+  });
+  return {
+    className: className || undefined,
+    style: styleProp
+  };
 }
-
-const ForwardedInnerBlocks = Object(external_wp_element_["forwardRef"])((props, ref) => {
-  const innerBlocksProps = useInnerBlocksProps({
-    ref
-  }, props);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inner-blocks"
-  }, Object(external_wp_element_["createElement"])("div", innerBlocksProps));
-});
+const use_color_props_EMPTY_OBJECT = {};
 /**
- * This hook is used to lightly mark an element as an inner blocks wrapper
- * element. Call this hook and pass the returned props to the element to mark as
- * an inner blocks wrapper, automatically rendering inner blocks as children. If
- * you define a ref for the element, it is important to pass the ref to this
- * hook, which the hook in turn will pass to the component through the props it
- * returns. Optionally, you can also pass any other props through this hook, and
- * they will be merged and returned.
+ * Determines the color related props for a block derived from its color block
+ * support attributes.
  *
- * @param {Object} props   Optional. Props to pass to the element. Must contain
- *                         the ref if one is defined.
- * @param {Object} options Optional. Inner blocks options.
+ * Inline styles are forced for named colors to ensure these selections are
+ * reflected when themes do not load their color stylesheets in the editor.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md
+ * @param {Object} attributes Block attributes.
+ *
+ * @return {Object} ClassName & style props from colors block support.
  */

-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 */])();
-  const isSmallScreen = Object(external_wp_compose_["useViewportMatch"])('medium', '<');
-  const {
-    __experimentalCaptureToolbars,
-    hasOverlay
-  } = Object(external_wp_data_["useSelect"])(select => {
-    if (!clientId) {
-      return {};
-    }
-
-    const {
-      getBlockName,
-      isBlockSelected,
-      hasSelectedInnerBlock,
-      isNavigationMode
-    } = select(store["a" /* store */]);
-    const blockName = getBlockName(clientId);
-    const enableClickThrough = isNavigationMode() || isSmallScreen;
-    return {
-      __experimentalCaptureToolbars: select(external_wp_blocks_["store"]).hasBlockSupport(blockName, '__experimentalExposeControlsToChildren', false),
-      hasOverlay: blockName !== 'core/template' && !isBlockSelected(clientId) && !hasSelectedInnerBlock(clientId, true) && enableClickThrough
-    };
-  }, [clientId, isSmallScreen]);
-  const ref = Object(external_wp_compose_["useMergeRefs"])([props.ref, useBlockDropZone({
-    rootClientId: clientId
-  })]);
-  const innerBlocksProps = {
-    __experimentalCaptureToolbars,
-    ...options
-  };
-  const InnerBlocks = innerBlocksProps.value && innerBlocksProps.onChange ? ControlledInnerBlocks : UncontrolledInnerBlocks;
-  return { ...props,
-    ref,
-    className: classnames_default()(props.className, 'block-editor-block-list__layout', {
-      'has-overlay': hasOverlay
-    }),
-    children: clientId ? Object(external_wp_element_["createElement"])(InnerBlocks, Object(esm_extends["a" /* default */])({}, innerBlocksProps, {
-      clientId: clientId
-    })) : Object(external_wp_element_["createElement"])(block_list["a" /* BlockListItems */], options)
-  };
-}
-useInnerBlocksProps.save = external_wp_blocks_["__unstableGetInnerBlocksProps"]; // Expose default appender placeholders as components.
-
-ForwardedInnerBlocks.DefaultBlockAppender = inner_blocks_default_block_appender;
-ForwardedInnerBlocks.ButtonBlockAppender = inner_blocks_button_block_appender;
-
-ForwardedInnerBlocks.Content = () => useInnerBlocksProps.save().children;
-/**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/inner-blocks/README.md
- */
+function useColorProps(attributes) {
+  const {
+    backgroundColor,
+    textColor,
+    gradient
+  } = attributes; // Some color settings have a special handling for deprecated flags in `useSetting`,
+  // so we can't unwrap them by doing const { ... } = useSetting('color')
+  // until https://github.com/WordPress/gutenberg/issues/37094 is fixed.

+  const userPalette = useSetting('color.palette.custom') || [];
+  const themePalette = useSetting('color.palette.theme') || [];
+  const defaultPalette = useSetting('color.palette.default') || [];
+  const gradientsPerOrigin = useSetting('color.gradients') || use_color_props_EMPTY_OBJECT;
+  const colors = (0,external_wp_element_namespaceObject.useMemo)(() => [...(userPalette || []), ...(themePalette || []), ...(defaultPalette || [])], [userPalette, themePalette, defaultPalette]);
+  const gradients = (0,external_wp_element_namespaceObject.useMemo)(() => [...((gradientsPerOrigin === null || gradientsPerOrigin === void 0 ? void 0 : gradientsPerOrigin.custom) || []), ...((gradientsPerOrigin === null || gradientsPerOrigin === void 0 ? void 0 : gradientsPerOrigin.theme) || []), ...((gradientsPerOrigin === null || gradientsPerOrigin === void 0 ? void 0 : gradientsPerOrigin.default) || [])], [gradientsPerOrigin]);
+  const colorProps = getColorClassesAndStyles(attributes); // Force inline styles to apply colors when themes do not load their color
+  // stylesheets in the editor.

-/* harmony default export */ var inner_blocks = __webpack_exports__["a"] = (ForwardedInnerBlocks);
+  if (backgroundColor) {
+    const backgroundColorObject = getColorObjectByAttributeValues(colors, backgroundColor);
+    colorProps.style.backgroundColor = backgroundColorObject.color;
+  }

+  if (gradient) {
+    colorProps.style.background = getGradientValueBySlug(gradients, gradient);
+  }

-/***/ }),
+  if (textColor) {
+    const textColorObject = getColorObjectByAttributeValues(colors, textColor);
+    colorProps.style.color = textColorObject.color;
+  }

-/***/ "pOGT":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  return colorProps;
+}

-"use strict";
-/* unused harmony export getNormalizedSearchTerms */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return searchBlockItems; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return searchItems; });
-/* unused harmony export getItemSearchRank */
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/use-spacing-props.js
 /**
- * External dependencies
+ * Internal dependencies
  */
- // Default search helpers
-
-const defaultGetName = item => item.name || '';
-
-const defaultGetTitle = item => item.title;
-
-const defaultGetDescription = item => item.description || '';
-
-const defaultGetKeywords = item => item.keywords || [];
-
-const defaultGetCategory = item => item.category;
+ // This utility is intended to assist where the serialization of the spacing
+// block support is being skipped for a block but the spacing related CSS
+// styles still need to be generated so they can be applied to inner elements.

-const defaultGetCollection = () => null;
 /**
- * Sanitizes the search input string.
+ * Provides the CSS class names and inline styles for a block's spacing support
+ * attributes.
  *
- * @param {string} input The search input to normalize.
+ * @param {Object} attributes Block attributes.
  *
- * @return {string} The normalized search input.
+ * @return {Object} Spacing block support derived CSS classes & styles.
  */

+function getSpacingClassesAndStyles(attributes) {
+  const {
+    style
+  } = attributes; // Collect inline styles for spacing.

-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.
-  //  Input: "/media"
+  const spacingStyles = (style === null || style === void 0 ? void 0 : style.spacing) || {};
+  const styleProp = getInlineStyles({
+    spacing: spacingStyles
+  });
+  return {
+    style: styleProp
+  };
+}

-  input = input.replace(/^\//, ''); // Lowercase.
-  //  Input: "MEDIA"
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/use-cached-truthy.js
+/**
+ * WordPress dependencies
+ */

-  input = input.toLowerCase();
-  return input;
-}
 /**
- * Converts the search term into a list of normalized terms.
- *
- * @param {string} input The search term to normalize.
+ * Keeps an up-to-date copy of the passed value and returns it. If value becomes falsy, it will return the last truthy copy.
  *
- * @return {string[]} The normalized list of search terms.
+ * @param {any} value
+ * @return {any} value
  */

+function useCachedTruthy(value) {
+  const [cachedValue, setCachedValue] = (0,external_wp_element_namespaceObject.useState)(value);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (value) {
+      setCachedValue(value);
+    }
+  }, [value]);
+  return cachedValue;
+}

-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));
-};
-
-const removeMatchingTerms = (unmatchedTerms, unprocessedTerms) => {
-  return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["differenceWith"])(unmatchedTerms, getNormalizedSearchTerms(unprocessedTerms), (unmatchedTerm, unprocessedTerm) => unprocessedTerm.includes(unmatchedTerm));
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/index.js
+/**
+ * Internal dependencies
+ */

-const searchBlockItems = (items, categories, collections, searchInput) => {
-  const normalizedSearchTerms = getNormalizedSearchTerms(searchInput);

-  if (normalizedSearchTerms.length === 0) {
-    return items;
-  }

-  const config = {
-    getCategory: item => {
-      var _find;

-      return (_find = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["find"])(categories, {
-        slug: item.category
-      })) === null || _find === void 0 ? void 0 : _find.title;
-    },
-    getCollection: item => {
-      var _collections$item$nam;

-      return (_collections$item$nam = collections[item.name.split('/')[0]]) === null || _collections$item$nam === void 0 ? void 0 : _collections$item$nam.title;
-    }
-  };
-  return searchItems(items, searchInput, config);
-};
-/**
- * Filters an item list given a search term.
- *
- * @param {Array}  items       Item list
- * @param {string} searchInput Search input.
- * @param {Object} config      Search Config.
- *
- * @return {Array} Filtered item list.
- */

-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) {
-    return items;
-  }

-  const rankedItems = items.map(item => {
-    return [item, getItemSearchRank(item, searchInput, config)];
-  }).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.
- * The better the match, the higher the rank.
- * If the rank equals 0, it should be excluded from the results.
- *
- * @param {Object} item       Item to filter.
- * @param {string} searchTerm Search term.
- * @param {Object} config     Search Config.
- *
- * @return {number} Search Rank.
- */

-function getItemSearchRank(item, searchTerm) {
-  let config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-  const {
-    getName = defaultGetName,
-    getTitle = defaultGetTitle,
-    getDescription = defaultGetDescription,
-    getKeywords = defaultGetKeywords,
-    getCategory = defaultGetCategory,
-    getCollection = defaultGetCollection
-  } = config;
-  const name = getName(item);
-  const title = getTitle(item);
-  const description = getDescription(item);
-  const keywords = getKeywords(item);
-  const category = getCategory(item);
-  const collection = getCollection(item);
-  const normalizedSearchInput = normalizeSearchInput(searchTerm);
-  const normalizedTitle = normalizeSearchInput(title);
-  let rank = 0; // Prefers exact matches
-  // Then prefers if the beginning of the title matches the search term
-  // name, keywords, categories, collection, variations match come later.

-  if (normalizedSearchInput === normalizedTitle) {
-    rank += 30;
-  } else if (normalizedTitle.startsWith(normalizedSearchInput)) {
-    rank += 20;
-  } else {
-    const terms = [name, title, description, ...keywords, category, collection].join(' ');
-    const normalizedSearchTerms = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["words"])(normalizedSearchInput);
-    const unmatchedTerms = removeMatchingTerms(normalizedSearchTerms, terms);

-    if (unmatchedTerms.length === 0) {
-      rank += 10;
-    }
-  } // Give a better rank to "core" namespaced items.


-  if (rank !== 0 && name.startsWith('core/')) {
-    rank++;
-  }

-  return rank;
-}


-/***/ }),

-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/with-colors.js


-var LEAF_KEY, hasWeakMap;

 /**
- * Arbitrary value used as key for referencing cache object in WeakMap tree.
- *
- * @type {Object}
+ * External dependencies
  */
-LEAF_KEY = {};

 /**
- * Whether environment supports WeakMap.
- *
- * @type {boolean}
+ * WordPress dependencies
  */
-hasWeakMap = typeof WeakMap !== 'undefined';

-/**
- * Returns the first argument as the sole entry in an array.
- *
- * @param {*} value Value to return.
- *
- * @return {Array} Value returned as entry in array.
- */
-function arrayOf( value ) {
-	return [ value ];
-}

-/**
- * Returns true if the value passed is object-like, or false otherwise. A value
- * is object-like if it can support property assignment, e.g. object or array.
- *
- * @param {*} value Value to test.
- *
- * @return {boolean} Whether value is object-like.
- */
-function isObjectLike( value ) {
-	return !! value && 'object' === typeof value;
-}

 /**
- * Creates and returns a new cache object.
- *
- * @return {Object} Cache object.
+ * Internal dependencies
  */
-function createCache() {
-	var cache = {
-		clear: function() {
-			cache.head = null;
-		},
-	};

-	return cache;
-}
+

 /**
- * Returns true if entries within the two arrays are strictly equal by
- * reference from a starting index.
+ * Higher order component factory for injecting the `colorsArray` argument as
+ * the colors prop in the `withCustomColors` HOC.
  *
- * @param {Array}  a         First array.
- * @param {Array}  b         Second array.
- * @param {number} fromIndex Index from which to start comparison.
+ * @param {Array} colorsArray An array of color objects.
  *
- * @return {boolean} Whether arrays are shallowly equal.
+ * @return {Function} The higher order component.
  */
-function isShallowEqual( a, b, fromIndex ) {
-	var i;
-
-	if ( a.length !== b.length ) {
-		return false;
-	}

-	for ( i = fromIndex; i < a.length; i++ ) {
-		if ( a[ i ] !== b[ i ] ) {
-			return false;
-		}
-	}
+const withCustomColorPalette = colorsArray => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => props => (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, props, {
+  colors: colorsArray
+})), 'withCustomColorPalette');
+/**
+ * Higher order component factory for injecting the editor colors as the
+ * `colors` prop in the `withColors` HOC.
+ *
+ * @return {Function} The higher order component.
+ */

-	return true;
-}

+const withEditorColorPalette = () => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => props => {
+  // Some color settings have a special handling for deprecated flags in `useSetting`,
+  // so we can't unwrap them by doing const { ... } = useSetting('color')
+  // until https://github.com/WordPress/gutenberg/issues/37094 is fixed.
+  const userPalette = useSetting('color.palette.custom');
+  const themePalette = useSetting('color.palette.theme');
+  const defaultPalette = useSetting('color.palette.default');
+  const allColors = (0,external_wp_element_namespaceObject.useMemo)(() => [...(userPalette || []), ...(themePalette || []), ...(defaultPalette || [])], [userPalette, themePalette, defaultPalette]);
+  return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, props, {
+    colors: allColors
+  }));
+}, 'withEditorColorPalette');
 /**
- * Returns a memoized selector function. The getDependants function argument is
- * called before the memoized selector and is expected to return an immutable
- * reference or array of references on which the selector depends for computing
- * its own return value. The memoize cache is preserved only as long as those
- * dependant references remain the same. If getDependants returns a different
- * reference(s), the cache is cleared and the selector value regenerated.
+ * Helper function used with `createHigherOrderComponent` to create
+ * higher order components for managing color logic.
  *
- * @param {Function} selector      Selector function.
- * @param {Function} getDependants Dependant getter returning an immutable
- *                                 reference or array of reference used in
- *                                 cache bust consideration.
+ * @param {Array}    colorTypes       An array of color types (e.g. 'backgroundColor, borderColor).
+ * @param {Function} withColorPalette A HOC for injecting the 'colors' prop into the WrappedComponent.
  *
- * @return {Function} Memoized selector.
+ * @return {WPComponent} The component that can be used as a HOC.
  */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
-	var rootCache, getCache;
-
-	// Use object source as dependant if getter not provided
-	if ( ! getDependants ) {
-		getDependants = arrayOf;
-	}
-
-	/**
-	 * Returns the root cache. If WeakMap is supported, this is assigned to the
-	 * root WeakMap cache set, otherwise it is a shared instance of the default
-	 * cache object.
-	 *
-	 * @return {(WeakMap|Object)} Root cache object.
-	 */
-	function getRootCache() {
-		return rootCache;
-	}
-
-	/**
-	 * Returns the cache for a given dependants array. When possible, a WeakMap
-	 * will be used to create a unique cache for each set of dependants. This
-	 * is feasible due to the nature of WeakMap in allowing garbage collection
-	 * to occur on entries where the key object is no longer referenced. Since
-	 * WeakMap requires the key to be an object, this is only possible when the
-	 * dependant is object-like. The root cache is created as a hierarchy where
-	 * each top-level key is the first entry in a dependants set, the value a
-	 * WeakMap where each key is the next dependant, and so on. This continues
-	 * so long as the dependants are object-like. If no dependants are object-
-	 * like, then the cache is shared across all invocations.
-	 *
-	 * @see isObjectLike
-	 *
-	 * @param {Array} dependants Selector dependants.
-	 *
-	 * @return {Object} Cache object.
-	 */
-	function getWeakMapCache( dependants ) {
-		var caches = rootCache,
-			isUniqueByDependants = true,
-			i, dependant, map, cache;
-
-		for ( i = 0; i < dependants.length; i++ ) {
-			dependant = dependants[ i ];
-
-			// Can only compose WeakMap from object-like key.
-			if ( ! isObjectLike( dependant ) ) {
-				isUniqueByDependants = false;
-				break;
-			}
-
-			// Does current segment of cache already have a WeakMap?
-			if ( caches.has( dependant ) ) {
-				// Traverse into nested WeakMap.
-				caches = caches.get( dependant );
-			} else {
-				// Create, set, and traverse into a new one.
-				map = new WeakMap();
-				caches.set( dependant, map );
-				caches = map;
-			}
-		}
-
-		// We use an arbitrary (but consistent) object as key for the last item
-		// in the WeakMap to serve as our running cache.
-		if ( ! caches.has( LEAF_KEY ) ) {
-			cache = createCache();
-			cache.isUniqueByDependants = isUniqueByDependants;
-			caches.set( LEAF_KEY, cache );
-		}
-
-		return caches.get( LEAF_KEY );
-	}
-
-	// Assign cache handler by availability of WeakMap
-	getCache = hasWeakMap ? getWeakMapCache : getRootCache;
-
-	/**
-	 * Resets root memoization cache.
-	 */
-	function clear() {
-		rootCache = hasWeakMap ? new WeakMap() : createCache();
-	}
-
-	// eslint-disable-next-line jsdoc/check-param-names
-	/**
-	 * The augmented selector call, considering first whether dependants have
-	 * changed before passing it to underlying memoize function.
-	 *
-	 * @param {Object} source    Source object for derivation.
-	 * @param {...*}   extraArgs Additional arguments to pass to selector.
-	 *
-	 * @return {*} Selector result.
-	 */
-	function callSelector( /* source, ...extraArgs */ ) {
-		var len = arguments.length,
-			cache, node, i, args, dependants;
-
-		// Create copy of arguments (avoid leaking deoptimization).
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}
-
-		dependants = getDependants.apply( null, args );
-		cache = getCache( dependants );
-
-		// If not guaranteed uniqueness by dependants (primitive type or lack
-		// of WeakMap support), shallow compare against last dependants and, if
-		// references have changed, destroy cache to recalculate result.
-		if ( ! cache.isUniqueByDependants ) {
-			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
-				cache.clear();
-			}

-			cache.lastDependants = dependants;
-		}

-		node = cache.head;
-		while ( node ) {
-			// Check whether node arguments match arguments
-			if ( ! isShallowEqual( node.args, args, 1 ) ) {
-				node = node.next;
-				continue;
-			}
+function createColorHOC(colorTypes, withColorPalette) {
+  const colorMap = (0,external_lodash_namespaceObject.reduce)(colorTypes, (colorObject, colorType) => {
+    return { ...colorObject,
+      ...((0,external_lodash_namespaceObject.isString)(colorType) ? {
+        [colorType]: (0,external_lodash_namespaceObject.kebabCase)(colorType)
+      } : colorType)
+    };
+  }, {});
+  return (0,external_wp_compose_namespaceObject.compose)([withColorPalette, WrappedComponent => {
+    return class extends external_wp_element_namespaceObject.Component {
+      constructor(props) {
+        super(props);
+        this.setters = this.createSetters();
+        this.colorUtils = {
+          getMostReadableColor: this.getMostReadableColor.bind(this)
+        };
+        this.state = {};
+      }

-			// At this point we can assume we've found a match
+      getMostReadableColor(colorValue) {
+        const {
+          colors
+        } = this.props;
+        return getMostReadableColor(colors, colorValue);
+      }

-			// Surface matched node to head if not already
-			if ( node !== cache.head ) {
-				// Adjust siblings to point to each other.
-				node.prev.next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}
+      createSetters() {
+        return (0,external_lodash_namespaceObject.reduce)(colorMap, (settersAccumulator, colorContext, colorAttributeName) => {
+          const upperFirstColorAttributeName = (0,external_lodash_namespaceObject.upperFirst)(colorAttributeName);
+          const customColorAttributeName = `custom${upperFirstColorAttributeName}`;
+          settersAccumulator[`set${upperFirstColorAttributeName}`] = this.createSetColor(colorAttributeName, customColorAttributeName);
+          return settersAccumulator;
+        }, {});
+      }

-				node.next = cache.head;
-				node.prev = null;
-				cache.head.prev = node;
-				cache.head = node;
-			}
+      createSetColor(colorAttributeName, customColorAttributeName) {
+        return colorValue => {
+          const colorObject = getColorObjectByColorValue(this.props.colors, colorValue);
+          this.props.setAttributes({
+            [colorAttributeName]: colorObject && colorObject.slug ? colorObject.slug : undefined,
+            [customColorAttributeName]: colorObject && colorObject.slug ? undefined : colorValue
+          });
+        };
+      }

-			// Return immediately
-			return node.val;
-		}
+      static getDerivedStateFromProps(_ref, previousState) {
+        let {
+          attributes,
+          colors
+        } = _ref;
+        return (0,external_lodash_namespaceObject.reduce)(colorMap, (newState, colorContext, colorAttributeName) => {
+          const colorObject = getColorObjectByAttributeValues(colors, attributes[colorAttributeName], attributes[`custom${(0,external_lodash_namespaceObject.upperFirst)(colorAttributeName)}`]);
+          const previousColorObject = previousState[colorAttributeName];
+          const previousColor = previousColorObject === null || previousColorObject === void 0 ? void 0 : previousColorObject.color;
+          /**
+           * The "and previousColorObject" condition checks that a previous color object was already computed.
+           * At the start previousColorObject and colorValue are both equal to undefined
+           * bus as previousColorObject does not exist we should compute the object.
+           */

-		// No cached value found. Continue to insertion phase:
+          if (previousColor === colorObject.color && previousColorObject) {
+            newState[colorAttributeName] = previousColorObject;
+          } else {
+            newState[colorAttributeName] = { ...colorObject,
+              class: getColorClassName(colorContext, colorObject.slug)
+            };
+          }

-		node = {
-			// Generate the result from original function
-			val: selector.apply( null, args ),
-		};
+          return newState;
+        }, {});
+      }

-		// Avoid including the source object in the cache.
-		args[ 0 ] = null;
-		node.args = args;
+      render() {
+        return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, this.props, {
+          colors: undefined
+        }, this.state, this.setters, {
+          colorUtils: this.colorUtils
+        }));
+      }

-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
+    };
+  }]);
+}
+/**
+ * A higher-order component factory for creating a 'withCustomColors' HOC, which handles color logic
+ * for class generation color value, retrieval and color attribute setting.
+ *
+ * Use this higher-order component to work with a custom set of colors.
+ *
+ * @example
+ *
+ * ```jsx
+ * const CUSTOM_COLORS = [ { name: 'Red', slug: 'red', color: '#ff0000' }, { name: 'Blue', slug: 'blue', color: '#0000ff' } ];
+ * const withCustomColors = createCustomColorsHOC( CUSTOM_COLORS );
+ * // ...
+ * export default compose(
+ *     withCustomColors( 'backgroundColor', 'borderColor' ),
+ *     MyColorfulComponent,
+ * );
+ * ```
+ *
+ * @param {Array} colorsArray The array of color objects (name, slug, color, etc... ).
+ *
+ * @return {Function} Higher-order component.
+ */

-		// Shift existing head down list
-		if ( cache.head ) {
-			cache.head.prev = node;
-			node.next = cache.head;
-		}

-		cache.head = node;
+function createCustomColorsHOC(colorsArray) {
+  return function () {
+    const withColorPalette = withCustomColorPalette(colorsArray);

-		return node.val;
-	}
+    for (var _len = arguments.length, colorTypes = new Array(_len), _key = 0; _key < _len; _key++) {
+      colorTypes[_key] = arguments[_key];
+    }

-	callSelector.getDependants = getDependants;
-	callSelector.clear = clear;
-	clear();
+    return (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(createColorHOC(colorTypes, withColorPalette), 'withCustomColors');
+  };
+}
+/**
+ * A higher-order component, which handles color logic for class generation color value, retrieval and color attribute setting.
+ *
+ * For use with the default editor/theme color palette.
+ *
+ * @example
+ *
+ * ```jsx
+ * export default compose(
+ *     withColors( 'backgroundColor', { textColor: 'color' } ),
+ *     MyColorfulComponent,
+ * );
+ * ```
+ *
+ * @param {...(Object|string)} colorTypes The arguments can be strings or objects. If the argument is an object,
+ *                                        it should contain the color attribute name as key and the color context as value.
+ *                                        If the argument is a string the value should be the color attribute name,
+ *                                        the color context is computed by applying a kebab case transform to the value.
+ *                                        Color context represents the context/place where the color is going to be used.
+ *                                        The class name of the color is generated using 'has' followed by the color name
+ *                                        and ending with the color context all in kebab case e.g: has-green-background-color.
+ *
+ * @return {Function} Higher-order component.
+ */

-	return callSelector;
-});
+function withColors() {
+  const withColorPalette = withEditorColorPalette();

+  for (var _len2 = arguments.length, colorTypes = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+    colorTypes[_key2] = arguments[_key2];
+  }

-/***/ }),
+  return (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(createColorHOC(colorTypes, withColorPalette), 'withColors');
+}

-/***/ "pXCJ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/index.js

-"use strict";

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradients/index.js

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/with-font-sizes.js

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+/**
+ * External dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/convert-to-group-buttons/use-convert-to-group-button-props.js
 /**
  * WordPress dependencies
  */


+
 /**
  * Internal dependencies
  */


-/**
- * Contains the properties `ConvertToGroupButton` component needs.
- *
- * @typedef {Object} ConvertToGroupButtonProps
- * @property {string[]}  clientIds         An array of the selected client ids.
- * @property {boolean}   isGroupable       Indicates if the selected blocks can be grouped.
- * @property {boolean}   isUngroupable     Indicates if the selected blocks can be ungrouped.
- * @property {WPBlock[]} blocksSelection   An array of the selected blocks.
- * @property {string}    groupingBlockName The name of block used for handling grouping interactions.
- */

+const DEFAULT_FONT_SIZES = [];
 /**
- * Returns the properties `ConvertToGroupButton` component needs to work properly.
- * It is used in `BlockSettingsMenuControls` to know if `ConvertToGroupButton`
- * should be rendered, to avoid ending up with an empty MenuGroup.
+ * Higher-order component, which handles font size logic for class generation,
+ * font size value retrieval, and font size change handling.
  *
- * @return {ConvertToGroupButtonProps} Returns the properties needed by `ConvertToGroupButton`.
+ * @param {...(Object|string)} fontSizeNames The arguments should all be strings.
+ *                                           Each string contains the font size
+ *                                           attribute name e.g: 'fontSize'.
+ *
+ * @return {Function} Higher-order component.
  */

-function useConvertToGroupButtonProps() {
-  const {
-    clientIds,
-    isGroupable,
-    isUngroupable,
-    blocksSelection,
-    groupingBlockName
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _blocksSelection$;
+/* 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];
+  }

-    const {
-      getBlockRootClientId,
-      getBlocksByClientId,
-      canInsertBlockType,
-      getSelectedBlockClientIds
-    } = select(store["a" /* store */]);
-    const {
-      getGroupingBlockName
-    } = select(external_wp_blocks_["store"]);
+  /*
+   * 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.
+   * Custom font size is automatically compted by appending custom followed by the font size attribute name in with the first letter capitalized.
+   */
+  const fontSizeAttributeNames = (0,external_lodash_namespaceObject.reduce)(fontSizeNames, (fontSizeAttributeNamesAccumulator, fontSizeAttributeName) => {
+    fontSizeAttributeNamesAccumulator[fontSizeAttributeName] = `custom${(0,external_lodash_namespaceObject.upperFirst)(fontSizeAttributeName)}`;
+    return fontSizeAttributeNamesAccumulator;
+  }, {});
+  return (0,external_wp_compose_namespaceObject.createHigherOrderComponent)((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => props => {
+    const fontSizes = useSetting('typography.fontSizes') || DEFAULT_FONT_SIZES;
+    return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, props, {
+      fontSizes: fontSizes
+    }));
+  }, 'withFontSizes'), WrappedComponent => {
+    return class extends external_wp_element_namespaceObject.Component {
+      constructor(props) {
+        super(props);
+        this.setters = this.createSetters();
+        this.state = {};
+      }

-    const _clientIds = getSelectedBlockClientIds();
+      createSetters() {
+        return (0,external_lodash_namespaceObject.reduce)(fontSizeAttributeNames, (settersAccumulator, customFontSizeAttributeName, fontSizeAttributeName) => {
+          const upperFirstFontSizeAttributeName = (0,external_lodash_namespaceObject.upperFirst)(fontSizeAttributeName);
+          settersAccumulator[`set${upperFirstFontSizeAttributeName}`] = this.createSetFontSize(fontSizeAttributeName, customFontSizeAttributeName);
+          return settersAccumulator;
+        }, {});
+      }

-    const _groupingBlockName = getGroupingBlockName();
+      createSetFontSize(fontSizeAttributeName, customFontSizeAttributeName) {
+        return fontSizeValue => {
+          const fontSizeObject = (0,external_lodash_namespaceObject.find)(this.props.fontSizes, {
+            size: Number(fontSizeValue)
+          });
+          this.props.setAttributes({
+            [fontSizeAttributeName]: fontSizeObject && fontSizeObject.slug ? fontSizeObject.slug : undefined,
+            [customFontSizeAttributeName]: fontSizeObject && fontSizeObject.slug ? undefined : fontSizeValue
+          });
+        };
+      }

-    const rootClientId = !!(_clientIds !== null && _clientIds !== void 0 && _clientIds.length) ? getBlockRootClientId(_clientIds[0]) : undefined;
-    const groupingBlockAvailable = canInsertBlockType(_groupingBlockName, rootClientId);
+      static getDerivedStateFromProps(_ref, previousState) {
+        let {
+          attributes,
+          fontSizes
+        } = _ref;

-    const _blocksSelection = getBlocksByClientId(_clientIds);
+        const didAttributesChange = (customFontSizeAttributeName, fontSizeAttributeName) => {
+          if (previousState[fontSizeAttributeName]) {
+            // if new font size is name compare with the previous slug
+            if (attributes[fontSizeAttributeName]) {
+              return attributes[fontSizeAttributeName] !== previousState[fontSizeAttributeName].slug;
+            } // if font size is not named, update when the font size value changes.

-    const isSingleGroupingBlock = _blocksSelection.length === 1 && ((_blocksSelection$ = _blocksSelection[0]) === null || _blocksSelection$ === void 0 ? void 0 : _blocksSelection$.name) === _groupingBlockName; // Do we have
-    // 1. Grouping block available to be inserted?
-    // 2. One or more blocks selected
-    // (we allow single Blocks to become groups unless
-    // they are a soltiary group block themselves)

-    const _isGroupable = groupingBlockAvailable && _blocksSelection.length && !isSingleGroupingBlock; // Do we have a single Group Block selected and does that group have inner blocks?
+            return previousState[fontSizeAttributeName].size !== attributes[customFontSizeAttributeName];
+          } // in this case we need to build the font size object


-    const _isUngroupable = isSingleGroupingBlock && !!_blocksSelection[0].innerBlocks.length;
+          return true;
+        };
+
+        if (!(0,external_lodash_namespaceObject.some)(fontSizeAttributeNames, didAttributesChange)) {
+          return null;
+        }
+
+        const newState = (0,external_lodash_namespaceObject.reduce)((0,external_lodash_namespaceObject.pickBy)(fontSizeAttributeNames, didAttributesChange), (newStateAccumulator, customFontSizeAttributeName, fontSizeAttributeName) => {
+          const fontSizeAttributeValue = attributes[fontSizeAttributeName];
+          const fontSizeObject = getFontSize(fontSizes, fontSizeAttributeValue, attributes[customFontSizeAttributeName]);
+          newStateAccumulator[fontSizeAttributeName] = { ...fontSizeObject,
+            class: getFontSizeClass(fontSizeAttributeValue)
+          };
+          return newStateAccumulator;
+        }, {});
+        return { ...previousState,
+          ...newState
+        };
+      }
+
+      render() {
+        return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, this.props, {
+          fontSizes: undefined
+        }, this.state, this.setters));
+      }

-    return {
-      clientIds: _clientIds,
-      isGroupable: _isGroupable,
-      isUngroupable: _isUngroupable,
-      blocksSelection: _blocksSelection,
-      groupingBlockName: _groupingBlockName
     };
-  }, []);
-  return {
-    clientIds,
-    isGroupable,
-    isUngroupable,
-    blocksSelection,
-    groupingBlockName
-  };
-}
+  }]), 'withFontSizes');
+});
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/index.js

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/convert-to-group-buttons/index.js
+
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/align-left.js


 /**
  * WordPress dependencies
  */

+const alignLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"
+}));
+/* harmony default export */ var align_left = (alignLeft);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/align-center.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const alignCenter = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"
+}));
+/* harmony default export */ var align_center = (alignCenter);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/align-right.js


-function ConvertToGroupButton(_ref) {
-  let {
-    clientIds,
-    isGroupable,
-    isUngroupable,
-    blocksSelection,
-    groupingBlockName,
-    onClose = () => {}
-  } = _ref;
-  const {
-    replaceBlocks
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+/**
+ * WordPress dependencies
+ */

-  const onConvertToGroup = () => {
-    // Activate the `transform` on the Grouping Block which does the conversion
-    const newBlocks = Object(external_wp_blocks_["switchToBlockType"])(blocksSelection, groupingBlockName);
+const alignRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"
+}));
+/* harmony default export */ var align_right = (alignRight);

-    if (newBlocks) {
-      replaceBlocks(clientIds, newBlocks);
-    }
-  };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/alignment-control/ui.js

-  const onConvertFromGroup = () => {
-    const innerBlocks = blocksSelection[0].innerBlocks;

-    if (!innerBlocks.length) {
-      return;
-    }

-    replaceBlocks(clientIds, innerBlocks);
-  };
+/**
+ * External dependencies
+ */

-  if (!isGroupable && !isUngroupable) {
-    return null;
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+const DEFAULT_ALIGNMENT_CONTROLS = [{
+  icon: align_left,
+  title: (0,external_wp_i18n_namespaceObject.__)('Align text left'),
+  align: 'left'
+}, {
+  icon: align_center,
+  title: (0,external_wp_i18n_namespaceObject.__)('Align text center'),
+  align: 'center'
+}, {
+  icon: align_right,
+  title: (0,external_wp_i18n_namespaceObject.__)('Align text right'),
+  align: 'right'
+}];
+const ui_POPOVER_PROPS = {
+  position: 'bottom right',
+  isAlternate: true
+};
+
+function AlignmentUI(_ref) {
+  let {
+    value,
+    onChange,
+    alignmentControls = DEFAULT_ALIGNMENT_CONTROLS,
+    label = (0,external_wp_i18n_namespaceObject.__)('Align'),
+    describedBy = (0,external_wp_i18n_namespaceObject.__)('Change text alignment'),
+    isCollapsed = true,
+    isToolbar
+  } = _ref;
+
+  function applyOrUnset(align) {
+    return () => onChange(value === align ? undefined : align);
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isGroupable && Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: () => {
-      onConvertToGroup();
-      onClose();
-    }
-  }, Object(external_wp_i18n_["_x"])('Group', 'verb')), isUngroupable && Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: () => {
-      onConvertFromGroup();
-      onClose();
-    }
-  }, Object(external_wp_i18n_["_x"])('Ungroup', 'Ungrouping blocks from within a Group block back into individual blocks within the Editor ')));
+  const activeAlignment = (0,external_lodash_namespaceObject.find)(alignmentControls, control => control.align === value);
+
+  function setIcon() {
+    if (activeAlignment) return activeAlignment.icon;
+    return (0,external_wp_i18n_namespaceObject.isRTL)() ? align_right : align_left;
+  }
+
+  const UIComponent = isToolbar ? external_wp_components_namespaceObject.ToolbarGroup : external_wp_components_namespaceObject.ToolbarDropdownMenu;
+  const extraProps = isToolbar ? {
+    isCollapsed
+  } : {};
+  return (0,external_wp_element_namespaceObject.createElement)(UIComponent, _extends({
+    icon: setIcon(),
+    label: label,
+    toggleProps: {
+      describedBy
+    },
+    popoverProps: ui_POPOVER_PROPS,
+    controls: alignmentControls.map(control => {
+      const {
+        align
+      } = control;
+      const isActive = value === align;
+      return { ...control,
+        isActive,
+        role: isCollapsed ? 'menuitemradio' : undefined,
+        onClick: applyOrUnset(align)
+      };
+    })
+  }, extraProps));
 }

+/* harmony default export */ var alignment_control_ui = (AlignmentUI);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/alignment-control/index.js
+
+
+
+/**
+ * Internal dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-settings-menu-controls/index.js
+function AlignmentControl(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(alignment_control_ui, _extends({}, props, {
+    isToolbar: false
+  }));
+}
+function AlignmentToolbar(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(alignment_control_ui, _extends({}, props, {
+    isToolbar: true
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/autocompleters/block.js


 /**
@@ -40112,245 +35211,310 @@ function ConvertToGroupButton(_ref) {



+
 /**
  * Internal dependencies
  */



-const {
-  Fill,
-  Slot
-} = Object(external_wp_components_["createSlotFill"])('BlockSettingsMenuControls');

-const BlockSettingsMenuControlsSlot = _ref => {
-  let {
-    fillProps,
-    clientIds = null
-  } = _ref;
-  const {
-    selectedBlocks,
-    selectedClientIds
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlocksByClientId,
-      getSelectedBlockClientIds
-    } = select(store["a" /* store */]);
-    const ids = clientIds !== null ? clientIds : getSelectedBlockClientIds();
-    return {
-      selectedBlocks: Object(external_lodash_["map"])(Object(external_lodash_["compact"])(getBlocksByClientId(ids)), block => block.name),
-      selectedClientIds: ids
-    };
-  }, [clientIds]); // Check if current selection of blocks is Groupable or Ungroupable
-  // and pass this props down to ConvertToGroupButton.

-  const convertToGroupButtonProps = useConvertToGroupButtonProps();
-  const {
-    isGroupable,
-    isUngroupable
-  } = convertToGroupButtonProps;
-  const showConvertToGroupButton = isGroupable || isUngroupable;
-  return Object(external_wp_element_["createElement"])(Slot, {
-    fillProps: { ...fillProps,
-      selectedBlocks,
-      selectedClientIds
-    }
-  }, fills => {
-    if ((fills === null || fills === void 0 ? void 0 : fills.length) > 0 || showConvertToGroupButton) {
-      return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, fills, Object(external_wp_element_["createElement"])(ConvertToGroupButton, Object(esm_extends["a" /* default */])({}, convertToGroupButtonProps, {
-        onClose: fillProps === null || fillProps === void 0 ? void 0 : fillProps.onClose
-      })));
-    }
-  });
-};
+const block_SHOWN_BLOCK_TYPES = 9;
+/** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */
+
 /**
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/block-settings-menu-controls/README.md
+ * Creates a blocks repeater for replacing the current block with a selected block type.
  *
- * @param {Object} props Fill props.
- * @return {WPElement} Element.
+ * @return {WPCompleter} A blocks completer.
  */

+function createBlockCompleter() {
+  return {
+    name: 'blocks',
+    className: 'block-editor-autocompleters__block',
+    triggerPrefix: '/',

-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));
-}
-
-BlockSettingsMenuControls.Slot = BlockSettingsMenuControlsSlot;
-/* harmony default export */ var block_settings_menu_controls = __webpack_exports__["a"] = (BlockSettingsMenuControls);
-
+    useItems(filterValue) {
+      const {
+        rootClientId,
+        selectedBlockName
+      } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+        const {
+          getSelectedBlockClientId,
+          getBlockName,
+          getBlockInsertionPoint
+        } = select(store);
+        const selectedBlockClientId = getSelectedBlockClientId();
+        return {
+          selectedBlockName: selectedBlockClientId ? getBlockName(selectedBlockClientId) : null,
+          rootClientId: getBlockInsertionPoint().rootClientId
+        };
+      }, []);
+      const [items, categories, collections] = use_block_types_state(rootClientId, external_lodash_namespaceObject.noop);
+      const filteredItems = (0,external_wp_element_namespaceObject.useMemo)(() => {
+        const initialFilteredItems = !!filterValue.trim() ? searchBlockItems(items, categories, collections, filterValue) : (0,external_lodash_namespaceObject.orderBy)(items, ['frecency'], ['desc']);
+        return initialFilteredItems.filter(item => item.name !== selectedBlockName).slice(0, block_SHOWN_BLOCK_TYPES);
+      }, [filterValue, selectedBlockName, items, categories, collections]);
+      const options = (0,external_wp_element_namespaceObject.useMemo)(() => filteredItems.map(blockItem => {
+        const {
+          title,
+          icon,
+          isDisabled
+        } = blockItem;
+        return {
+          key: `block-${blockItem.id}`,
+          value: blockItem,
+          label: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+            key: "icon",
+            icon: icon,
+            showColors: true
+          }), title),
+          isDisabled
+        };
+      }), [filteredItems]);
+      return [options];
+    },

-/***/ }),
+    allowContext(before, after) {
+      return !(/\S/.test(before) || /\S/.test(after));
+    },

-/***/ "pY5h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    getOptionCompletion(inserterItem) {
+      const {
+        name,
+        initialAttributes,
+        innerBlocks
+      } = inserterItem;
+      return {
+        action: 'replace',
+        value: (0,external_wp_blocks_namespaceObject.createBlock)(name, initialAttributes, (0,external_wp_blocks_namespaceObject.createBlocksFromInnerBlocksTemplate)(innerBlocks))
+      };
+    }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useCommonSingleMultipleSelects; });
-/* harmony import */ var _use_setting__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("v5LD");
+  };
+}
 /**
- * Internal dependencies
+ * Creates a blocks repeater for replacing the current block with a selected block type.
+ *
+ * @return {WPCompleter} A blocks completer.
  */

-function useCommonSingleMultipleSelects() {
-  return {
-    disableCustomColors: !Object(_use_setting__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('color.custom'),
-    disableCustomGradients: !Object(_use_setting__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])('color.customGradient')
-  };
-}

+/* harmony default export */ var autocompleters_block = (createBlockCompleter());

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/autocomplete/index.js

-/***/ "plpT":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */

-const alignCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (alignCenter);
-

-/***/ }),
-
-/***/ "q3tz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockDraggableChip; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("xN+R");
-/* harmony import */ var _block_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("7SSY");


 /**
- * WordPress dependencies
+ * Internal dependencies
  */



 /**
- * Internal dependencies
+ * Shared reference to an empty array for cases where it is important to avoid
+ * returning a new array reference on every invocation.
+ *
+ * @type {Array}
  */

+const autocomplete_EMPTY_ARRAY = [];

-function BlockDraggableChip(_ref) {
+function useCompleters(_ref) {
   let {
-    count,
-    icon
+    completers = autocomplete_EMPTY_ARRAY
   } = _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", {
-    className: "block-editor-block-draggable-chip"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Flex"], {
-    justify: "center",
-    className: "block-editor-block-draggable-chip__content"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["FlexItem"], null, icon ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_block_icon__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], {
-    icon: icon
-  }) : Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["sprintf"])(
-  /* translators: %d: Number of blocks. */
-  Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__["_n"])('%d block', '%d blocks', count), count)), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["FlexItem"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_block_icon__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], {
-    icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"]
-  })))));
+  const {
+    name
+  } = useBlockEditContext();
+  return (0,external_wp_element_namespaceObject.useMemo)(() => {
+    let filteredCompleters = completers;
+
+    if (name === (0,external_wp_blocks_namespaceObject.getDefaultBlockName)() || (0,external_wp_blocks_namespaceObject.getBlockSupport)(name, '__experimentalSlashInserter', false)) {
+      filteredCompleters = filteredCompleters.concat([autocompleters_block]);
+    }
+
+    if ((0,external_wp_hooks_namespaceObject.hasFilter)('editor.Autocomplete.completers')) {
+      // Provide copies so filters may directly modify them.
+      if (filteredCompleters === completers) {
+        filteredCompleters = filteredCompleters.map(external_lodash_namespaceObject.clone);
+      }
+
+      filteredCompleters = (0,external_wp_hooks_namespaceObject.applyFilters)('editor.Autocomplete.completers', filteredCompleters, name);
+    }
+
+    return filteredCompleters;
+  }, [completers, name]);
+}
+
+function useBlockEditorAutocompleteProps(props) {
+  return (0,external_wp_components_namespaceObject.__unstableUseAutocompleteProps)({ ...props,
+    completers: useCompleters(props)
+  });
+}
+/**
+ * Wrap the default Autocomplete component with one that supports a filter hook
+ * for customizing its list of autocompleters.
+ *
+ * @type {import('react').FC}
+ */
+
+function BlockEditorAutocomplete(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Autocomplete, _extends({}, props, {
+    completers: useCompleters(props)
+  }));
 }
+/**
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/autocomplete/README.md
+ */
+

+/* harmony default export */ var autocomplete = (BlockEditorAutocomplete);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/fullscreen.js

-/***/ "qRz9":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["richText"]; }());
+/**
+ * WordPress dependencies
+ */

-/***/ }),
+const fullscreen = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_fullscreen = (fullscreen);

-/***/ "qrxh":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-full-height-alignment-control/index.js

-"use strict";

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+/**
+ * WordPress dependencies
+ */
+

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+function BlockFullHeightAlignmentControl(_ref) {
+  let {
+    isActive,
+    label = (0,external_wp_i18n_namespaceObject.__)('Toggle full height'),
+    onToggle,
+    isDisabled
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    isActive: isActive,
+    icon: library_fullscreen,
+    label: label,
+    onClick: () => onToggle(!isActive),
+    disabled: isDisabled
+  });
+}

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+/* harmony default export */ var block_full_height_alignment_control = (BlockFullHeightAlignmentControl);

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-matrix-control/index.js

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
-var plus = __webpack_require__("Q4Sy");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js + 10 modules
-var menu = __webpack_require__("xZzQ");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/search-results.js
-var search_results = __webpack_require__("Wg7J");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-insertion-point.js
-var use_insertion_point = __webpack_require__("AORF");
+function BlockAlignmentMatrixControl(props) {
+  const {
+    label = (0,external_wp_i18n_namespaceObject.__)('Change matrix alignment'),
+    onChange = external_lodash_namespaceObject.noop,
+    value = 'center',
+    isDisabled
+  } = props;
+  const icon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalAlignmentMatrixControl.Icon, {
+    value: value
+  });
+  const className = 'block-editor-block-alignment-matrix-control';
+  const popoverClassName = `${className}__popover`;
+  const isAlternate = true;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    position: "bottom right",
+    className: className,
+    popoverProps: {
+      className: popoverClassName,
+      isAlternate
+    },
+    renderToggle: _ref => {
+      let {
+        onToggle,
+        isOpen
+      } = _ref;

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-state.js
-var use_patterns_state = __webpack_require__("nQUx");
+      const openOnArrowDown = event => {
+        if (!isOpen && event.keyCode === external_wp_keycodes_namespaceObject.DOWN) {
+          event.preventDefault();
+          onToggle();
+        }
+      };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-block-types-state.js
-var use_block_types_state = __webpack_require__("+G0a");
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+        onClick: onToggle,
+        "aria-haspopup": "true",
+        "aria-expanded": isOpen,
+        onKeyDown: openOnArrowDown,
+        label: label,
+        icon: icon,
+        showTooltip: true,
+        disabled: isDisabled
+      });
+    },
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalAlignmentMatrixControl, {
+      hasFocusBorder: false,
+      onChange: onChange,
+      value: value
+    })
+  });
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+/* harmony default export */ var block_alignment_matrix_control = (BlockAlignmentMatrixControl);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/quick-inserter.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right-small.js


 /**
- * External dependencies
+ * WordPress dependencies
  */

+const chevronRightSmall = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"
+}));
+/* harmony default export */ var chevron_right_small = (chevronRightSmall);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-breadcrumb/index.js
+
+
 /**
  * WordPress dependencies
  */
@@ -40358,105 +35522,94 @@ var store = __webpack_require__("BhPs");



-
 /**
  * Internal dependencies
  */



+/**
+ * Block breadcrumb component, displaying the hierarchy of the current block selection as a breadcrumb.
+ *
+ * @param {Object} props               Component props.
+ * @param {string} props.rootLabelText Translated label for the root element of the breadcrumb trail.
+ * @return {WPElement}                 Block Breadcrumb.
+ */

-
-
-const SEARCH_THRESHOLD = 6;
-const SHOWN_BLOCK_TYPES = 6;
-const SHOWN_BLOCK_PATTERNS = 2;
-function QuickInserter(_ref) {
+function BlockBreadcrumb(_ref) {
   let {
-    onSelect,
-    rootClientId,
-    clientId,
-    isAppender
+    rootLabelText
   } = _ref;
-  const [filterValue, setFilterValue] = Object(external_wp_element_["useState"])('');
-  const [destinationRootClientId, onInsertBlocks] = Object(use_insertion_point["a" /* default */])({
-    onSelect,
-    rootClientId,
-    clientId,
-    isAppender
-  });
-  const [blockTypes] = Object(use_block_types_state["a" /* default */])(destinationRootClientId, onInsertBlocks);
-  const [patterns] = Object(use_patterns_state["a" /* default */])(onInsertBlocks, destinationRootClientId);
-  const showPatterns = patterns.length && !!filterValue;
-  const showSearch = showPatterns && patterns.length > SEARCH_THRESHOLD || blockTypes.length > SEARCH_THRESHOLD;
   const {
-    setInserterIsOpened,
-    insertionIndex
-  } = Object(external_wp_data_["useSelect"])(select => {
+    selectBlock,
+    clearSelectedBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    clientId,
+    parents,
+    hasSelection
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
-      getSettings,
-      getBlockIndex,
-      getBlockCount
-    } = select(store["a" /* store */]);
-    const index = getBlockIndex(clientId);
+      getSelectionStart,
+      getSelectedBlockClientId,
+      getBlockParents
+    } = select(store);
+    const selectedBlockClientId = getSelectedBlockClientId();
     return {
-      setInserterIsOpened: getSettings().__experimentalSetIsInserterOpened,
-      insertionIndex: index === -1 ? getBlockCount() : index
+      parents: getBlockParents(selectedBlockClientId),
+      clientId: selectedBlockClientId,
+      hasSelection: !!getSelectionStart().clientId
     };
-  }, [clientId, rootClientId]);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (setInserterIsOpened) {
-      setInserterIsOpened(false);
-    }
-  }, [setInserterIsOpened]); // When clicking Browse All select the appropriate block so as
-  // the insertion point can work as expected
+  }, []);

-  const onBrowseAll = () => {
-    setInserterIsOpened({
-      rootClientId,
-      insertionIndex,
-      filterValue
-    });
-  };
+  const rootLabel = rootLabelText || (0,external_wp_i18n_namespaceObject.__)('Document');
+  /*
+   * Disable reason: The `list` ARIA role is redundant but
+   * Safari+VoiceOver won't announce the list otherwise.
+   */

-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('block-editor-inserter__quick-inserter', {
-      'has-search': showSearch,
-      'has-expand': setInserterIsOpened
-    })
-  }, showSearch && Object(external_wp_element_["createElement"])(external_wp_components_["SearchControl"], {
-    className: "block-editor-inserter__search",
-    value: filterValue,
-    onChange: value => {
-      setFilterValue(value);
-    },
-    label: Object(external_wp_i18n_["__"])('Search for blocks and patterns'),
-    placeholder: Object(external_wp_i18n_["__"])('Search')
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__quick-inserter-results"
-  }, Object(external_wp_element_["createElement"])(search_results["a" /* default */], {
-    filterValue: filterValue,
-    onSelect: onSelect,
-    rootClientId: rootClientId,
-    clientId: clientId,
-    isAppender: isAppender,
-    maxBlockPatterns: showPatterns ? SHOWN_BLOCK_PATTERNS : 0,
-    maxBlockTypes: SHOWN_BLOCK_TYPES,
-    isDraggable: false
-  })), setInserterIsOpened && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "block-editor-inserter__quick-inserter-expand",
-    onClick: onBrowseAll,
-    "aria-label": Object(external_wp_i18n_["__"])('Browse all. This will open the main inserter panel in the editor toolbar.')
-  }, Object(external_wp_i18n_["__"])('Browse all')));
-}
+  /* eslint-disable jsx-a11y/no-redundant-roles */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/index.js

+  return (0,external_wp_element_namespaceObject.createElement)("ul", {
+    className: "block-editor-block-breadcrumb",
+    role: "list",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Block breadcrumb')
+  }, (0,external_wp_element_namespaceObject.createElement)("li", {
+    className: !hasSelection ? 'block-editor-block-breadcrumb__current' : undefined,
+    "aria-current": !hasSelection ? 'true' : undefined
+  }, hasSelection && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "block-editor-block-breadcrumb__button",
+    variant: "tertiary",
+    onClick: clearSelectedBlock
+  }, rootLabel), !hasSelection && rootLabel, !!clientId && (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: chevron_right_small,
+    className: "block-editor-block-breadcrumb__separator"
+  })), parents.map(parentClientId => (0,external_wp_element_namespaceObject.createElement)("li", {
+    key: parentClientId
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "block-editor-block-breadcrumb__button",
+    variant: "tertiary",
+    onClick: () => selectBlock(parentClientId)
+  }, (0,external_wp_element_namespaceObject.createElement)(BlockTitle, {
+    clientId: parentClientId
+  })), (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: chevron_right_small,
+    className: "block-editor-block-breadcrumb__separator"
+  }))), !!clientId && (0,external_wp_element_namespaceObject.createElement)("li", {
+    className: "block-editor-block-breadcrumb__current",
+    "aria-current": "true"
+  }, (0,external_wp_element_namespaceObject.createElement)(BlockTitle, {
+    clientId: clientId
+  })))
+  /* eslint-enable jsx-a11y/no-redundant-roles */
+  ;
+}
+
+/* harmony default export */ var block_breadcrumb = (BlockBreadcrumb);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-content-overlay/index.js

-/**
- * External dependencies
- */


 /**
@@ -40464,1199 +35617,1192 @@ function QuickInserter(_ref) {
  */


-
-
-
-
-
-
-
 /**
  * Internal dependencies
  */


+/**
+ * External dependencies
+ */


-
-const defaultRenderToggle = _ref => {
+function BlockContentOverlay(_ref) {
   let {
-    onToggle,
-    disabled,
-    isOpen,
-    blockTitle,
-    hasSingleBlockType,
-    toggleProps = {}
+    clientId,
+    tagName: TagName = 'div',
+    wrapperProps,
+    className
   } = _ref;
-  let label;
-
-  if (hasSingleBlockType) {
-    label = Object(external_wp_i18n_["sprintf"])( // translators: %s: the name of the block when there is only one
-    Object(external_wp_i18n_["_x"])('Add %s', 'directly add the only allowed block'), blockTitle);
-  } else {
-    label = Object(external_wp_i18n_["_x"])('Add block', 'Generic label for block inserter button');
-  }
-
+  const baseClassName = 'block-editor-block-content-overlay';
+  const [isOverlayActive, setIsOverlayActive] = (0,external_wp_element_namespaceObject.useState)(true);
+  const [isHovered, setIsHovered] = (0,external_wp_element_namespaceObject.useState)(false);
   const {
-    onClick,
-    ...rest
-  } = toggleProps; // Handle both onClick functions from the toggle and the parent component
-
-  function handleClick(event) {
-    if (onToggle) {
-      onToggle(event);
-    }
-
-    if (onClick) {
-      onClick(event);
-    }
-  }
+    isParentSelected,
+    hasChildSelected,
+    isDraggingBlocks,
+    isParentHighlighted
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      isBlockSelected,
+      hasSelectedInnerBlock,
+      isDraggingBlocks: _isDraggingBlocks,
+      isBlockHighlighted
+    } = select(store);
+    return {
+      isParentSelected: isBlockSelected(clientId),
+      hasChildSelected: hasSelectedInnerBlock(clientId, true),
+      isDraggingBlocks: _isDraggingBlocks(),
+      isParentHighlighted: isBlockHighlighted(clientId)
+    };
+  }, [clientId]);
+  const classes = classnames_default()(baseClassName, wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.className, className, {
+    'overlay-active': isOverlayActive,
+    'parent-highlighted': isParentHighlighted,
+    'is-dragging-blocks': isDraggingBlocks
+  });
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // Reenable when blocks are not in use.
+    if (!isParentSelected && !hasChildSelected && !isOverlayActive) {
+      setIsOverlayActive(true);
+    } // Disable if parent selected by another means (such as list view).
+    // We check hover to ensure the overlay click interaction is not taking place.
+    // Trying to click the overlay will select the parent block via its 'focusin'
+    // listener on the wrapper, so if the block is selected while hovered we will
+    // let the mouseup disable the overlay instead.

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({
-    icon: plus["a" /* default */],
-    label: label,
-    tooltipPosition: "bottom",
-    onClick: handleClick,
-    className: "block-editor-inserter__toggle",
-    "aria-haspopup": !hasSingleBlockType ? 'true' : false,
-    "aria-expanded": !hasSingleBlockType ? isOpen : false,
-    disabled: disabled
-  }, rest));
-};

-class inserter_Inserter extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.onToggle = this.onToggle.bind(this);
-    this.renderToggle = this.renderToggle.bind(this);
-    this.renderContent = this.renderContent.bind(this);
-  }
+    if (isParentSelected && !isHovered && isOverlayActive) {
+      setIsOverlayActive(false);
+    } // Ensure overlay is disabled if a child block is selected.

-  onToggle(isOpen) {
-    const {
-      onToggle
-    } = this.props; // Surface toggle callback to parent component

-    if (onToggle) {
-      onToggle(isOpen);
+    if (hasChildSelected && isOverlayActive) {
+      setIsOverlayActive(false);
     }
-  }
-  /**
-   * Render callback to display Dropdown toggle element.
-   *
-   * @param {Object}   options
-   * @param {Function} options.onToggle Callback to invoke when toggle is
-   *                                    pressed.
-   * @param {boolean}  options.isOpen   Whether dropdown is currently open.
-   *
-   * @return {WPElement} Dropdown toggle element.
-   */
+  }, [isParentSelected, hasChildSelected, isOverlayActive, isHovered]); // Disabled because the overlay div doesn't actually have a role or functionality
+  // as far as the a11y is concerned. We're just catching the first click so that
+  // the block can be selected without interacting with its contents.

+  /* eslint-disable jsx-a11y/no-static-element-interactions */

-  renderToggle(_ref2) {
-    let {
-      onToggle,
-      isOpen
-    } = _ref2;
-    const {
-      disabled,
-      blockTitle,
-      hasSingleBlockType,
-      directInsertBlock,
-      toggleProps,
-      hasItems,
-      renderToggle = defaultRenderToggle
-    } = this.props;
-    return renderToggle({
-      onToggle,
-      isOpen,
-      disabled: disabled || !hasItems,
-      blockTitle,
-      hasSingleBlockType,
-      directInsertBlock,
-      toggleProps
-    });
-  }
-  /**
-   * Render callback to display Dropdown content element.
-   *
-   * @param {Object}   options
-   * @param {Function} options.onClose Callback to invoke when dropdown is
-   *                                   closed.
-   *
-   * @return {WPElement} Dropdown content element.
-   */
+  return (0,external_wp_element_namespaceObject.createElement)(TagName, _extends({}, wrapperProps, {
+    className: classes,
+    onMouseEnter: () => setIsHovered(true),
+    onMouseLeave: () => setIsHovered(false),
+    onMouseUp: isOverlayActive ? () => setIsOverlayActive(false) : undefined
+  }), wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.children);
+}
+/* eslint-enable jsx-a11y/no-static-element-interactions */

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-style-selector/index.js

-  renderContent(_ref3) {
-    let {
-      onClose
-    } = _ref3;
-    const {
-      rootClientId,
-      clientId,
-      isAppender,
-      showInserterHelpPanel,
-      // This prop is experimental to give some time for the quick inserter to mature
-      // Feel free to make them stable after a few releases.
-      __experimentalIsQuick: isQuick
-    } = this.props;

-    if (isQuick) {
-      return Object(external_wp_element_["createElement"])(QuickInserter, {
-        onSelect: () => {
-          onClose();
-        },
-        rootClientId: rootClientId,
-        clientId: clientId,
-        isAppender: isAppender
-      });
-    }
+/**
+ * WordPress dependencies
+ */

-    return Object(external_wp_element_["createElement"])(menu["a" /* default */], {
-      onSelect: () => {
-        onClose();
-      },
-      rootClientId: rootClientId,
-      clientId: clientId,
-      isAppender: isAppender,
-      showInserterHelpPanel: showInserterHelpPanel
-    });
-  }

-  render() {
-    const {
-      position,
-      hasSingleBlockType,
-      directInsertBlock,
-      insertOnlyAllowedBlock,
-      __experimentalIsQuick: isQuick,
-      onSelectOrClose
-    } = this.props;

-    if (hasSingleBlockType || directInsertBlock !== null && directInsertBlock !== void 0 && directInsertBlock.length) {
-      return this.renderToggle({
-        onToggle: insertOnlyAllowedBlock
-      });
-    }

-    return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
-      className: "block-editor-inserter",
-      contentClassName: classnames_default()('block-editor-inserter__popover', {
-        'is-quick': isQuick
-      }),
-      position: position,
-      onToggle: this.onToggle,
-      expandOnMobile: true,
-      headerTitle: Object(external_wp_i18n_["__"])('Add a block'),
-      renderToggle: this.renderToggle,
-      renderContent: this.renderContent,
-      onClose: onSelectOrClose
-    });
-  }
+const ColorSelectorSVGIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
+  xmlns: "https://www.w3.org/2000/svg",
+  viewBox: "0 0 20 20"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.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"
+}));
+/**
+ * Color Selector Icon component.
+ *
+ * @param {Object} props           Component properties.
+ * @param {Object} props.style     Style object.
+ * @param {string} props.className Class name for component.
+ *
+ * @return {*} React Icon component.
+ */

-}

-/* harmony default export */ var inserter = __webpack_exports__["a"] = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, _ref4) => {
+const ColorSelectorIcon = _ref => {
   let {
-    clientId,
-    rootClientId
-  } = _ref4;
-  const {
-    getBlockRootClientId,
-    hasInserterItems,
-    __experimentalGetAllowedBlocks,
-    __experimentalGetDirectInsertBlock
-  } = select(store["a" /* store */]);
-  const {
-    getBlockVariations
-  } = select(external_wp_blocks_["store"]);
-  rootClientId = rootClientId || getBlockRootClientId(clientId) || undefined;
-
-  const allowedBlocks = __experimentalGetAllowedBlocks(rootClientId);
+    style,
+    className
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-library-colors-selector__icon-container"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: `${className} block-library-colors-selector__state-selection`,
+    style: style
+  }, (0,external_wp_element_namespaceObject.createElement)(ColorSelectorSVGIcon, null)));
+};
+/**
+ * Renders the Colors Selector Toolbar with the icon button.
+ *
+ * @param {Object} props                 Component properties.
+ * @param {Object} props.TextColor       Text color component that wraps icon.
+ * @param {Object} props.BackgroundColor Background color component that wraps icon.
+ *
+ * @return {*} React toggle button component.
+ */

-  const directInsertBlock = __experimentalGetDirectInsertBlock(rootClientId);

-  const hasSingleBlockType = Object(external_lodash_["size"])(allowedBlocks) === 1 && Object(external_lodash_["size"])(getBlockVariations(allowedBlocks[0].name, 'inserter')) === 0;
-  let allowedBlockType = false;
+const renderToggleComponent = _ref2 => {
+  let {
+    TextColor,
+    BackgroundColor
+  } = _ref2;
+  return _ref3 => {
+    let {
+      onToggle,
+      isOpen
+    } = _ref3;

-  if (hasSingleBlockType) {
-    allowedBlockType = allowedBlocks[0];
-  }
+    const openOnArrowDown = event => {
+      if (!isOpen && event.keyCode === external_wp_keycodes_namespaceObject.DOWN) {
+        event.preventDefault();
+        onToggle();
+      }
+    };

-  return {
-    hasItems: hasInserterItems(rootClientId),
-    hasSingleBlockType,
-    blockTitle: allowedBlockType ? allowedBlockType.title : '',
-    allowedBlockType,
-    directInsertBlock,
-    rootClientId
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+      className: "components-toolbar__control block-library-colors-selector__toggle",
+      label: (0,external_wp_i18n_namespaceObject.__)('Open Colors Selector'),
+      onClick: onToggle,
+      onKeyDown: openOnArrowDown,
+      icon: (0,external_wp_element_namespaceObject.createElement)(BackgroundColor, null, (0,external_wp_element_namespaceObject.createElement)(TextColor, null, (0,external_wp_element_namespaceObject.createElement)(ColorSelectorIcon, null)))
+    }));
   };
-}), Object(external_wp_data_["withDispatch"])((dispatch, ownProps, _ref5) => {
-  let {
-    select
-  } = _ref5;
-  return {
-    insertOnlyAllowedBlock() {
-      const {
-        rootClientId,
-        clientId,
-        isAppender,
-        hasSingleBlockType,
-        allowedBlockType,
-        directInsertBlock,
-        onSelectOrClose
-      } = ownProps;
+};
+
+const BlockColorsStyleSelector = _ref4 => {
+  let {
+    children,
+    ...other
+  } = _ref4;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    position: "bottom right",
+    className: "block-library-colors-selector",
+    contentClassName: "block-library-colors-selector__popover",
+    renderToggle: renderToggleComponent(other),
+    renderContent: () => children
+  });
+};

-      if (!hasSingleBlockType && !(directInsertBlock !== null && directInsertBlock !== void 0 && directInsertBlock.length)) {
-        return;
-      }
+/* harmony default export */ var color_style_selector = (BlockColorsStyleSelector);

-      function getInsertionIndex() {
-        const {
-          getBlockIndex,
-          getBlockSelectionEnd,
-          getBlockOrder,
-          getBlockRootClientId
-        } = select(store["a" /* store */]); // If the clientId is defined, we insert at the position of the block.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js

-        if (clientId) {
-          return getBlockIndex(clientId);
-        } // If there a selected block, we insert after the selected block.

+/**
+ * WordPress dependencies
+ */

-        const end = getBlockSelectionEnd();
+const listView = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
+}));
+/* harmony default export */ var list_view = (listView);

-        if (!isAppender && end && getBlockRootClientId(end) === rootClientId) {
-          return getBlockIndex(end) + 1;
-        } // Otherwise, we insert at the end of the current rootClientId
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/leaf.js


-        return getBlockOrder(rootClientId).length;
-      }

-      const {
-        insertBlock
-      } = dispatch(store["a" /* store */]);
-      const blockToInsert = directInsertBlock !== null && directInsertBlock !== void 0 && directInsertBlock.length ? Object(external_wp_blocks_["createBlock"])(...directInsertBlock) : Object(external_wp_blocks_["createBlock"])(allowedBlockType.name);
-      insertBlock(blockToInsert, getInsertionIndex(), rootClientId);
+/**
+ * External dependencies
+ */

-      if (onSelectOrClose) {
-        onSelectOrClose();
-      }

-      const message = Object(external_wp_i18n_["sprintf"])( // translators: %s: the name of the block that has been added
-      Object(external_wp_i18n_["__"])('%s block added'), allowedBlockType.title);
-      Object(external_wp_a11y_["speak"])(message);
-    }
+/**
+ * WordPress dependencies
+ */

-  };
-}), // 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"])(_ref6 => {
+
+/**
+ * Internal dependencies
+ */
+
+
+const AnimatedTreeGridRow = animated(external_wp_components_namespaceObject.__experimentalTreeGridRow);
+function ListViewLeaf(_ref) {
   let {
-    hasItems,
-    isAppender,
-    rootClientId,
-    clientId
-  } = _ref6;
-  return hasItems || !isAppender && !rootClientId && !clientId;
-})])(inserter_Inserter));
+    isSelected,
+    position,
+    level,
+    rowCount,
+    children,
+    className,
+    path,
+    ...props
+  } = _ref;
+  const ref = use_moving_animation({
+    isSelected,
+    adjustScrolling: false,
+    enableAnimation: true,
+    triggerAnimationOnChange: path
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(AnimatedTreeGridRow, _extends({
+    ref: ref,
+    className: classnames_default()('block-editor-list-view-leaf', className),
+    level: level,
+    positionInSet: position,
+    setSize: rowCount
+  }, props), children);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/utils.js
+/**
+ * External dependencies
+ */

-/***/ }),
+/**
+ * WordPress dependencies
+ */

-/***/ "rH4q":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+const getBlockPositionDescription = (position, siblingCount, level) => (0,external_wp_i18n_namespaceObject.sprintf)(
+/* translators: 1: The numerical position of the block. 2: The total number of blocks. 3. The level of nesting for the block. */
+(0,external_wp_i18n_namespaceObject.__)('Block %1$d of %2$d, Level %3$d'), position, siblingCount, level);
+/**
+ * Returns true if the client ID occurs within the block selection or multi-selection,
+ * or false otherwise.
+ *
+ * @param {string}          clientId               Block client ID.
+ * @param {string|string[]} selectedBlockClientIds Selected block client ID, or an array of multi-selected blocks client IDs.
+ *
+ * @return {boolean} Whether the block is in multi-selection set.
+ */
+
+const isClientIdSelected = (clientId, selectedBlockClientIds) => (0,external_lodash_namespaceObject.isArray)(selectedBlockClientIds) && selectedBlockClientIds.length ? selectedBlockClientIds.indexOf(clientId) !== -1 : selectedBlockClientIds === clientId;
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/expander.js


 /**
  * WordPress dependencies
  */

-const media = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (media);
+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
+    // https://www.w3.org/TR/wai-aria-practices/examples/treegrid/treegrid-1.html
+    //
+    // We've mimicked this by adding an icon with aria-hidden set to true to hide this from the accessibility tree.
+    // For the current tree grid implementation, please do not try to make this a button.
+    //
+    // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
+    (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "block-editor-list-view__expander",
+      onClick: event => onClick(event, {
+        forceToggle: true
+      }),
+      "aria-hidden": "true"
+    }, (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+      icon: chevron_right_small
+    }))
+  );
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/block-select-button.js

-/***/ }),

-/***/ "rHRV":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * External dependencies
+ */

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useIntersectionObserver; });
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("VyCT");
 /**
  * WordPress dependencies
  */


+
+
+
 /**
  * Internal dependencies
  */


-function useIntersectionObserver() {
-  const observer = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useContext"])(___WEBPACK_IMPORTED_MODULE_2__[/* IntersectionObserver */ "b"]);
-  return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_0__["useRefEffect"])(node => {
-    if (observer) {
-      observer.observe(node);
-      return () => {
-        observer.unobserve(node);
-      };
-    }
-  }, [observer]);
-}
-

-/***/ }),

-/***/ "rl8x":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["isShallowEqual"]; }());

-/***/ }),

-/***/ "rmEH":
-/***/ (function(module, exports) {
+function ListViewBlockSelectButton(_ref, ref) {
+  let {
+    className,
+    block: {
+      clientId
+    },
+    isSelected,
+    onClick,
+    onToggleExpanded,
+    position,
+    siblingBlockCount,
+    level,
+    tabIndex,
+    onFocus,
+    onDragStart,
+    onDragEnd,
+    draggable
+  } = _ref;
+  const blockInformation = useBlockDisplayInformation(clientId);
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ListViewBlockSelectButton);
+  const descriptionId = `list-view-block-select-button__${instanceId}`;
+  const blockPositionDescription = getBlockPositionDescription(position, siblingBlockCount, level);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: classnames_default()('block-editor-list-view-block-select-button', className),
+    onClick: onClick,
+    "aria-describedby": descriptionId,
+    ref: ref,
+    tabIndex: tabIndex,
+    onFocus: onFocus,
+    onDragStart: onDragStart,
+    onDragEnd: onDragEnd,
+    draggable: draggable
+  }, (0,external_wp_element_namespaceObject.createElement)(ListViewExpander, {
+    onClick: onToggleExpanded
+  }), (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+    icon: blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.icon,
+    showColors: true
+  }), (0,external_wp_element_namespaceObject.createElement)(BlockTitle, {
+    clientId: clientId
+  }), (blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.anchor) && (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-list-view-block-select-button__anchor"
+  }, blockInformation.anchor), isSelected && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, null, (0,external_wp_i18n_namespaceObject.__)('(selected block)'))), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-list-view-block-select-button__description",
+    id: descriptionId
+  }, blockPositionDescription));
+}

-(function() { module.exports = window["wp"]["htmlEntities"]; }());
+/* harmony default export */ var block_select_button = ((0,external_wp_element_namespaceObject.forwardRef)(ListViewBlockSelectButton));

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/block-contents.js

-/***/ "smQA":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
-/*istanbul ignore start*/

+/**
+ * External dependencies
+ */

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.default = Diff;
+/**
+ * WordPress dependencies
+ */

-/*istanbul ignore end*/
-function Diff() {}

-Diff.prototype = {
-  /*istanbul ignore start*/

-  /*istanbul ignore end*/
-  diff: function diff(oldString, newString) {
-    /*istanbul ignore start*/
-    var
-    /*istanbul ignore end*/
-    options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-    var callback = options.callback;
+/**
+ * Internal dependencies
+ */

-    if (typeof options === 'function') {
-      callback = options;
-      options = {};
-    }

-    this.options = options;
-    var self = this;

-    function done(value) {
-      if (callback) {
-        setTimeout(function () {
-          callback(undefined, value);
-        }, 0);
-        return true;
-      } else {
-        return value;
-      }
-    } // Allow subclasses to massage the input prior to running

+const ListViewBlockContents = (0,external_wp_element_namespaceObject.forwardRef)((_ref, ref) => {
+  let {
+    onClick,
+    onToggleExpanded,
+    block,
+    isSelected,
+    position,
+    siblingBlockCount,
+    level,
+    ...props
+  } = _ref;
+  const {
+    clientId
+  } = block;
+  const {
+    blockMovingClientId,
+    selectedBlockInBlockEditor
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockRootClientId,
+      hasBlockMovingClientId,
+      getSelectedBlockClientId
+    } = select(store);
+    return {
+      rootClientId: getBlockRootClientId(clientId) || '',
+      blockMovingClientId: hasBlockMovingClientId(),
+      selectedBlockInBlockEditor: getSelectedBlockClientId()
+    };
+  }, [clientId]);
+  const isBlockMoveTarget = blockMovingClientId && selectedBlockInBlockEditor === clientId;
+  const className = classnames_default()('block-editor-list-view-block-contents', {
+    'is-dropping-before': isBlockMoveTarget
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(block_draggable, {
+    clientIds: [block.clientId]
+  }, _ref2 => {
+    let {
+      draggable,
+      onDragStart,
+      onDragEnd
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(block_select_button, _extends({
+      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);

-    oldString = this.castInput(oldString);
-    newString = this.castInput(newString);
-    oldString = this.removeEmpty(this.tokenize(oldString));
-    newString = this.removeEmpty(this.tokenize(newString));
-    var newLen = newString.length,
-        oldLen = oldString.length;
-    var editLength = 1;
-    var maxEditLength = newLen + oldLen;
-    var bestPath = [{
-      newPos: -1,
-      components: []
-    }]; // Seed editLength = 0, i.e. the content starts with the same values
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/context.js
+/**
+ * WordPress dependencies
+ */

-    var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0);
+const ListViewContext = (0,external_wp_element_namespaceObject.createContext)({
+  __experimentalFeatures: false,
+  __experimentalPersistentListViewFeatures: false
+});
+const useListViewContext = () => (0,external_wp_element_namespaceObject.useContext)(ListViewContext);

-    if (bestPath[0].newPos + 1 >= newLen && oldPos + 1 >= oldLen) {
-      // Identity per the equality and tokenizer
-      return done([{
-        value: this.join(newString),
-        count: newString.length
-      }]);
-    } // Main worker method. checks all permutations of a given edit length for acceptance.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/block.js


-    function execEditLength() {
-      for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) {
-        var basePath =
-        /*istanbul ignore start*/
-        void 0
-        /*istanbul ignore end*/
-        ;
+/**
+ * External dependencies
+ */

-        var addPath = bestPath[diagonalPath - 1],
-            removePath = bestPath[diagonalPath + 1],
-            _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;
+/**
+ * WordPress dependencies
+ */

-        if (addPath) {
-          // No one else is going to attempt to use this value, clear it
-          bestPath[diagonalPath - 1] = undefined;
-        }

-        var canAdd = addPath && addPath.newPos + 1 < newLen,
-            canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen;

-        if (!canAdd && !canRemove) {
-          // If this path is a terminal then prune
-          bestPath[diagonalPath] = undefined;
-          continue;
-        } // Select the diagonal that we want to branch from. We select the prior
-        // path whose position in the new string is the farthest from the origin
-        // and does not pass the bounds of the diff graph


-        if (!canAdd || canRemove && addPath.newPos < removePath.newPos) {
-          basePath = clonePath(removePath);
-          self.pushComponent(basePath.components, undefined, true);
-        } else {
-          basePath = addPath; // No need to clone, we've pulled it from the list
+/**
+ * Internal dependencies
+ */

-          basePath.newPos++;
-          self.pushComponent(basePath.components, true, undefined);
-        }

-        _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath); // If we have hit the end of both strings, then we are done

-        if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) {
-          return done(buildValues(self, basePath.components, newString, oldString, self.useLongestToken));
-        } else {
-          // Otherwise track this path as a potential candidate and continue.
-          bestPath[diagonalPath] = basePath;
-        }
-      }

-      editLength++;
-    } // Performs the length of edit iteration. Is a bit fugly as this has to support the
-    // sync and async mode which is never fun. Loops over execEditLength until a value
-    // is produced.


-    if (callback) {
-      (function exec() {
-        setTimeout(function () {
-          // This should not happen, but we want to be safe.

-          /* istanbul ignore next */
-          if (editLength > maxEditLength) {
-            return callback();
-          }

-          if (!execEditLength()) {
-            exec();
-          }
-        }, 0);
-      })();
-    } else {
-      while (editLength <= maxEditLength) {
-        var ret = execEditLength();
+function ListViewBlock(_ref) {
+  let {
+    block,
+    isDragged,
+    isSelected,
+    isBranchSelected,
+    selectBlock,
+    position,
+    level,
+    rowCount,
+    siblingBlockCount,
+    showBlockMovers,
+    path,
+    isExpanded
+  } = _ref;
+  const cellRef = (0,external_wp_element_namespaceObject.useRef)(null);
+  const [isHovered, setIsHovered] = (0,external_wp_element_namespaceObject.useState)(false);
+  const {
+    clientId
+  } = block;
+  const {
+    toggleBlockHighlight
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    __experimentalFeatures: withExperimentalFeatures,
+    __experimentalPersistentListViewFeatures: withExperimentalPersistentListViewFeatures,
+    __experimentalHideContainerBlockActions: hideContainerBlockActions,
+    isTreeGridMounted,
+    expand,
+    collapse
+  } = useListViewContext();
+  const hasSiblings = siblingBlockCount > 0;
+  const hasRenderedMovers = showBlockMovers && hasSiblings;
+  const moverCellClassName = classnames_default()('block-editor-list-view-block__mover-cell', {
+    'is-visible': isHovered || isSelected
+  });
+  const listViewBlockSettingsClassName = classnames_default()('block-editor-list-view-block__menu-cell', {
+    'is-visible': isHovered || isSelected
+  }); // If ListView has experimental features related to the Persistent List View,
+  // only focus the selected list item on mount; otherwise the list would always
+  // try to steal the focus from the editor canvas.

-        if (ret) {
-          return ret;
-        }
-      }
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (withExperimentalPersistentListViewFeatures && !isTreeGridMounted && isSelected) {
+      cellRef.current.focus();
     }
-  },
-
-  /*istanbul ignore start*/
-
-  /*istanbul ignore end*/
-  pushComponent: function pushComponent(components, added, removed) {
-    var last = components[components.length - 1];
+  }, []);
+  const highlightBlock = withExperimentalPersistentListViewFeatures ? toggleBlockHighlight : () => {};
+  const onMouseEnter = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    setIsHovered(true);
+    highlightBlock(clientId, true);
+  }, [clientId, setIsHovered, highlightBlock]);
+  const onMouseLeave = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    setIsHovered(false);
+    highlightBlock(clientId, false);
+  }, [clientId, setIsHovered, highlightBlock]);
+  const selectEditorBlock = (0,external_wp_element_namespaceObject.useCallback)(event => {
+    event.stopPropagation();
+    selectBlock(clientId);
+  }, [clientId, selectBlock]);
+  const toggleExpanded = (0,external_wp_element_namespaceObject.useCallback)(event => {
+    event.stopPropagation();

-    if (last && last.added === added && last.removed === removed) {
-      // We need to clone here as the component clone operation is just
-      // as shallow array clone
-      components[components.length - 1] = {
-        count: last.count + 1,
-        added: added,
-        removed: removed
-      };
-    } else {
-      components.push({
-        count: 1,
-        added: added,
-        removed: removed
-      });
+    if (isExpanded === true) {
+      collapse(clientId);
+    } else if (isExpanded === false) {
+      expand(clientId);
     }
-  },
+  }, [clientId, expand, collapse, isExpanded]);
+  const showBlockActions = withExperimentalFeatures && ( //hide actions for blocks like core/widget-areas
+  !hideContainerBlockActions || hideContainerBlockActions && level > 1);
+  const hideBlockActions = withExperimentalFeatures && !showBlockActions;
+  let colSpan;

-  /*istanbul ignore start*/
+  if (hasRenderedMovers) {
+    colSpan = 2;
+  } else if (hideBlockActions) {
+    colSpan = 3;
+  }

-  /*istanbul ignore end*/
-  extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath) {
-    var newLen = newString.length,
-        oldLen = oldString.length,
-        newPos = basePath.newPos,
-        oldPos = newPos - diagonalPath,
-        commonCount = 0;
+  const classes = classnames_default()({
+    'is-selected': isSelected,
+    'is-branch-selected': withExperimentalPersistentListViewFeatures && isBranchSelected,
+    'is-dragging': isDragged,
+    'has-single-cell': hideBlockActions
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(ListViewLeaf, {
+    className: classes,
+    onMouseEnter: onMouseEnter,
+    onMouseLeave: onMouseLeave,
+    onFocus: onMouseEnter,
+    onBlur: onMouseLeave,
+    level: level,
+    position: position,
+    rowCount: rowCount,
+    path: path,
+    id: `list-view-block-${clientId}`,
+    "data-block": clientId,
+    isExpanded: isExpanded
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalTreeGridCell, {
+    className: "block-editor-list-view-block__contents-cell",
+    colSpan: colSpan,
+    ref: cellRef
+  }, _ref2 => {
+    let {
+      ref,
+      tabIndex,
+      onFocus
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-list-view-block__contents-container"
+    }, (0,external_wp_element_namespaceObject.createElement)(block_contents, {
+      block: block,
+      onClick: selectEditorBlock,
+      onToggleExpanded: toggleExpanded,
+      isSelected: isSelected,
+      position: position,
+      siblingBlockCount: siblingBlockCount,
+      level: level,
+      ref: ref,
+      tabIndex: tabIndex,
+      onFocus: onFocus
+    }));
+  }), hasRenderedMovers && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalTreeGridCell, {
+    className: moverCellClassName,
+    withoutGridItem: true
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalTreeGridItem, null, _ref3 => {
+    let {
+      ref,
+      tabIndex,
+      onFocus
+    } = _ref3;
+    return (0,external_wp_element_namespaceObject.createElement)(BlockMoverUpButton, {
+      orientation: "vertical",
+      clientIds: [clientId],
+      ref: ref,
+      tabIndex: tabIndex,
+      onFocus: onFocus
+    });
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalTreeGridItem, null, _ref4 => {
+    let {
+      ref,
+      tabIndex,
+      onFocus
+    } = _ref4;
+    return (0,external_wp_element_namespaceObject.createElement)(BlockMoverDownButton, {
+      orientation: "vertical",
+      clientIds: [clientId],
+      ref: ref,
+      tabIndex: tabIndex,
+      onFocus: onFocus
+    });
+  }))), showBlockActions && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalTreeGridCell, {
+    className: listViewBlockSettingsClassName
+  }, _ref5 => {
+    let {
+      ref,
+      tabIndex,
+      onFocus
+    } = _ref5;
+    return (0,external_wp_element_namespaceObject.createElement)(block_settings_dropdown, {
+      clientIds: [clientId],
+      icon: more_vertical,
+      toggleProps: {
+        ref,
+        className: 'block-editor-list-view-block__menu',
+        tabIndex,
+        onFocus
+      },
+      disableOpenOnArrowDown: true,
+      __experimentalSelectBlock: selectEditorBlock
+    });
+  }));
+}

-    while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(newString[newPos + 1], oldString[oldPos + 1])) {
-      newPos++;
-      oldPos++;
-      commonCount++;
-    }
+/* harmony default export */ var list_view_block = ((0,external_wp_element_namespaceObject.memo)(ListViewBlock));

-    if (commonCount) {
-      basePath.components.push({
-        count: commonCount
-      });
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/branch.js

-    basePath.newPos = newPos;
-    return oldPos;
-  },

-  /*istanbul ignore start*/
+/**
+ * External dependencies
+ */

-  /*istanbul ignore end*/
-  equals: function equals(left, right) {
-    if (this.options.comparator) {
-      return this.options.comparator(left, right);
-    } else {
-      return left === right || this.options.ignoreCase && left.toLowerCase() === right.toLowerCase();
-    }
-  },
+/**
+ * WordPress dependencies
+ */

-  /*istanbul ignore start*/

-  /*istanbul ignore end*/
-  removeEmpty: function removeEmpty(array) {
-    var ret = [];

-    for (var i = 0; i < array.length; i++) {
-      if (array[i]) {
-        ret.push(array[i]);
-      }
-    }
+/**
+ * Internal dependencies
+ */

-    return ret;
-  },

-  /*istanbul ignore start*/

-  /*istanbul ignore end*/
-  castInput: function castInput(value) {
-    return value;
-  },

-  /*istanbul ignore start*/
+/**
+ * Given a block, returns the total number of blocks in that subtree. This is used to help determine
+ * the list position of a block.
+ *
+ * When a block is collapsed, we do not count their children as part of that total. In the current drag
+ * implementation dragged blocks and their children are not counted.
+ *
+ * @param {Object} block            block tree
+ * @param {Object} expandedState    state that notes which branches are collapsed
+ * @param {Array}  draggedClientIds a list of dragged client ids
+ * @return {number} block count
+ */

-  /*istanbul ignore end*/
-  tokenize: function tokenize(value) {
-    return value.split('');
-  },
+function countBlocks(block, expandedState, draggedClientIds) {
+  var _expandedState$block$;

-  /*istanbul ignore start*/
+  const isDragged = draggedClientIds === null || draggedClientIds === void 0 ? void 0 : draggedClientIds.includes(block.clientId);

-  /*istanbul ignore end*/
-  join: function join(chars) {
-    return chars.join('');
+  if (isDragged) {
+    return 0;
   }
-};
-
-function buildValues(diff, components, newString, oldString, useLongestToken) {
-  var componentPos = 0,
-      componentLen = components.length,
-      newPos = 0,
-      oldPos = 0;
-
-  for (; componentPos < componentLen; componentPos++) {
-    var component = components[componentPos];
-
-    if (!component.removed) {
-      if (!component.added && useLongestToken) {
-        var value = newString.slice(newPos, newPos + component.count);
-        value = value.map(function (value, i) {
-          var oldValue = oldString[oldPos + i];
-          return oldValue.length > value.length ? oldValue : value;
-        });
-        component.value = diff.join(value);
-      } else {
-        component.value = diff.join(newString.slice(newPos, newPos + component.count));
-      }
-
-      newPos += component.count; // Common case
-
-      if (!component.added) {
-        oldPos += component.count;
-      }
-    } else {
-      component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));
-      oldPos += component.count; // Reverse add and remove so removes are output first to match common convention
-      // The diffing algorithm is tied to add then remove output and this is the simplest
-      // route to get the desired output with minimal overhead.
-
-      if (componentPos && components[componentPos - 1].added) {
-        var tmp = components[componentPos - 1];
-        components[componentPos - 1] = components[componentPos];
-        components[componentPos] = tmp;
-      }
-    }
-  } // Special case handle for when one terminal is ignored (i.e. whitespace).
-  // For this case we merge the terminal into the prior string and drop the change.
-  // This is only available for string mode.

+  const isExpanded = (_expandedState$block$ = expandedState[block.clientId]) !== null && _expandedState$block$ !== void 0 ? _expandedState$block$ : true;

-  var lastComponent = components[componentLen - 1];
-
-  if (componentLen > 1 && typeof lastComponent.value === 'string' && (lastComponent.added || lastComponent.removed) && diff.equals('', lastComponent.value)) {
-    components[componentLen - 2].value += lastComponent.value;
-    components.pop();
+  if (isExpanded) {
+    return 1 + block.innerBlocks.reduce(countReducer(expandedState, draggedClientIds), 0);
   }

-  return components;
-}
-
-function clonePath(path) {
-  return {
-    newPos: path.newPos,
-    components: path.components.slice(0)
-  };
+  return 1;
 }

+const countReducer = (expandedState, draggedClientIds) => (count, block) => {
+  var _expandedState$block$2;

-/***/ }),
+  const isDragged = draggedClientIds === null || draggedClientIds === void 0 ? void 0 : draggedClientIds.includes(block.clientId);

-/***/ "suLj":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (isDragged) {
+    return count;
+  }

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  const isExpanded = (_expandedState$block$2 = expandedState[block.clientId]) !== null && _expandedState$block$2 !== void 0 ? _expandedState$block$2 : true;

+  if (isExpanded && block.innerBlocks.length > 0) {
+    return count + countBlocks(block, expandedState, draggedClientIds);
+  }

-/**
- * WordPress dependencies
- */
+  return count + 1;
+};

-const justifyRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (justifyRight);
+function ListViewBranch(props) {
+  const {
+    blocks,
+    selectBlock,
+    showBlockMovers,
+    showNestedBlocks,
+    selectedClientIds,
+    level = 1,
+    path = '',
+    isBranchSelected = false,
+    listPosition = 0,
+    fixedListWindow
+  } = props;
+  const {
+    expandedState,
+    draggedClientIds,
+    __experimentalPersistentListViewFeatures
+  } = useListViewContext();
+  const filteredBlocks = (0,external_lodash_namespaceObject.compact)(blocks);
+  const blockCount = filteredBlocks.length;
+  let nextPosition = listPosition;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, filteredBlocks.map((block, index) => {
+    var _expandedState$client;

+    const {
+      clientId,
+      innerBlocks
+    } = block;

-/***/ }),
+    if (index > 0) {
+      nextPosition += countBlocks(filteredBlocks[index - 1], expandedState, draggedClientIds);
+    }

-/***/ "tI+e":
-/***/ (function(module, exports) {
+    const usesWindowing = __experimentalPersistentListViewFeatures;
+    const {
+      itemInView
+    } = fixedListWindow;
+    const blockInView = !usesWindowing || itemInView(nextPosition);
+    const position = index + 1;
+    const updatedPath = path.length > 0 ? `${path}_${position}` : `${position}`;
+    const hasNestedBlocks = showNestedBlocks && !!innerBlocks && !!innerBlocks.length;
+    const isExpanded = hasNestedBlocks ? (_expandedState$client = expandedState[clientId]) !== null && _expandedState$client !== void 0 ? _expandedState$client : true : undefined;
+    const isDragged = !!(draggedClientIds !== null && draggedClientIds !== void 0 && draggedClientIds.includes(clientId));
+    const showBlock = isDragged || blockInView; // Make updates to the selected or dragged blocks synchronous,
+    // but asynchronous for any other block.

-(function() { module.exports = window["wp"]["components"]; }());
+    const isSelected = isClientIdSelected(clientId, selectedClientIds);
+    const isSelectedBranch = isBranchSelected || isSelected && hasNestedBlocks;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_data_namespaceObject.AsyncModeProvider, {
+      key: clientId,
+      value: !isSelected
+    }, showBlock && (0,external_wp_element_namespaceObject.createElement)(list_view_block, {
+      block: block,
+      selectBlock: selectBlock,
+      isSelected: isSelected,
+      isBranchSelected: isSelectedBranch,
+      isDragged: isDragged,
+      level: level,
+      position: position,
+      rowCount: blockCount,
+      siblingBlockCount: blockCount,
+      showBlockMovers: showBlockMovers,
+      path: updatedPath,
+      isExpanded: isExpanded,
+      listPosition: nextPosition
+    }), !showBlock && (0,external_wp_element_namespaceObject.createElement)("tr", null, (0,external_wp_element_namespaceObject.createElement)("td", {
+      className: "block-editor-list-view-placeholder"
+    })), hasNestedBlocks && isExpanded && !isDragged && (0,external_wp_element_namespaceObject.createElement)(ListViewBranch, {
+      blocks: innerBlocks,
+      selectBlock: selectBlock,
+      showBlockMovers: showBlockMovers,
+      showNestedBlocks: showNestedBlocks,
+      level: level + 1,
+      path: updatedPath,
+      listPosition: nextPosition + 1,
+      fixedListWindow: fixedListWindow,
+      isBranchSelected: isSelectedBranch,
+      selectedClientIds: selectedClientIds
+    }));
+  }));
+}

-/***/ }),
+ListViewBranch.defaultProps = {
+  selectBlock: () => {}
+};
+/* harmony default export */ var branch = ((0,external_wp_element_namespaceObject.memo)(ListViewBranch));

-/***/ "tr0p":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/drop-indicator.js

-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "__experimentalGetBorderClassesAndStyles", function() { return /* reexport */ getBorderClassesAndStyles; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseBorderProps", function() { return /* reexport */ useBorderProps; });
-__webpack_require__.d(__webpack_exports__, "__experimentalGetColorClassesAndStyles", function() { return /* reexport */ getColorClassesAndStyles; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseColorProps", function() { return /* reexport */ useColorProps; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseCustomSides", function() { return /* reexport */ useCustomSides; });
-__webpack_require__.d(__webpack_exports__, "__experimentalGetSpacingClassesAndStyles", function() { return /* reexport */ getSpacingClassesAndStyles; });
-__webpack_require__.d(__webpack_exports__, "useCachedTruthy", function() { return /* reexport */ useCachedTruthy; });
-__webpack_require__.d(__webpack_exports__, "getColorClassName", function() { return /* reexport */ components["ic" /* getColorClassName */]; });
-__webpack_require__.d(__webpack_exports__, "getColorObjectByAttributeValues", function() { return /* reexport */ components["jc" /* getColorObjectByAttributeValues */]; });
-__webpack_require__.d(__webpack_exports__, "getColorObjectByColorValue", function() { return /* reexport */ components["kc" /* getColorObjectByColorValue */]; });
-__webpack_require__.d(__webpack_exports__, "createCustomColorsHOC", function() { return /* reexport */ components["hc" /* createCustomColorsHOC */]; });
-__webpack_require__.d(__webpack_exports__, "withColors", function() { return /* reexport */ components["wc" /* withColors */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalGetGradientClass", function() { return /* reexport */ components["yb" /* __experimentalGetGradientClass */]; });
-__webpack_require__.d(__webpack_exports__, "getGradientValueBySlug", function() { return /* reexport */ components["pc" /* getGradientValueBySlug */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalGetGradientObjectByGradientValue", function() { return /* reexport */ components["zb" /* __experimentalGetGradientObjectByGradientValue */]; });
-__webpack_require__.d(__webpack_exports__, "getGradientSlugByValue", function() { return /* reexport */ components["oc" /* getGradientSlugByValue */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseGradient", function() { return /* reexport */ components["Tb" /* __experimentalUseGradient */]; });
-__webpack_require__.d(__webpack_exports__, "getFontSize", function() { return /* reexport */ components["lc" /* getFontSize */]; });
-__webpack_require__.d(__webpack_exports__, "getFontSizeClass", function() { return /* reexport */ components["mc" /* getFontSizeClass */]; });
-__webpack_require__.d(__webpack_exports__, "getFontSizeObjectByValue", function() { return /* reexport */ components["nc" /* getFontSizeObjectByValue */]; });
-__webpack_require__.d(__webpack_exports__, "FontSizePicker", function() { return /* reexport */ components["I" /* FontSizePicker */]; });
-__webpack_require__.d(__webpack_exports__, "withFontSizes", function() { return /* reexport */ components["xc" /* withFontSizes */]; });
-__webpack_require__.d(__webpack_exports__, "AlignmentControl", function() { return /* reexport */ components["a" /* AlignmentControl */]; });
-__webpack_require__.d(__webpack_exports__, "AlignmentToolbar", function() { return /* reexport */ components["b" /* AlignmentToolbar */]; });
-__webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return /* reexport */ components["c" /* Autocomplete */]; });
-__webpack_require__.d(__webpack_exports__, "BlockAlignmentControl", function() { return /* reexport */ components["d" /* BlockAlignmentControl */]; });
-__webpack_require__.d(__webpack_exports__, "BlockAlignmentToolbar", function() { return /* reexport */ components["e" /* BlockAlignmentToolbar */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalBlockFullHeightAligmentControl", function() { return /* reexport */ components["nb" /* __experimentalBlockFullHeightAligmentControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalBlockAlignmentMatrixControl", function() { return /* reexport */ components["lb" /* __experimentalBlockAlignmentMatrixControl */]; });
-__webpack_require__.d(__webpack_exports__, "BlockBreadcrumb", function() { return /* reexport */ components["f" /* BlockBreadcrumb */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalBlockContentOverlay", function() { return /* reexport */ components["mb" /* __experimentalBlockContentOverlay */]; });
-__webpack_require__.d(__webpack_exports__, "BlockContextProvider", function() { return /* reexport */ components["h" /* BlockContextProvider */]; });
-__webpack_require__.d(__webpack_exports__, "BlockControls", function() { return /* reexport */ components["i" /* BlockControls */]; });
-__webpack_require__.d(__webpack_exports__, "BlockFormatControls", function() { return /* reexport */ components["m" /* BlockFormatControls */]; });
-__webpack_require__.d(__webpack_exports__, "BlockColorsStyleSelector", function() { return /* reexport */ components["g" /* BlockColorsStyleSelector */]; });
-__webpack_require__.d(__webpack_exports__, "BlockEdit", function() { return /* reexport */ components["j" /* BlockEdit */]; });
-__webpack_require__.d(__webpack_exports__, "useBlockEditContext", function() { return /* reexport */ components["rc" /* useBlockEditContext */]; });
-__webpack_require__.d(__webpack_exports__, "BlockIcon", function() { return /* reexport */ components["n" /* BlockIcon */]; });
-__webpack_require__.d(__webpack_exports__, "BlockNavigationDropdown", function() { return /* reexport */ components["r" /* BlockNavigationDropdown */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalBlockVariationPicker", function() { return /* reexport */ components["pb" /* __experimentalBlockVariationPicker */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalBlockPatternSetup", function() { return /* reexport */ components["ob" /* __experimentalBlockPatternSetup */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalBlockVariationTransforms", function() { return /* reexport */ components["qb" /* __experimentalBlockVariationTransforms */]; });
-__webpack_require__.d(__webpack_exports__, "BlockVerticalAlignmentToolbar", function() { return /* reexport */ components["A" /* BlockVerticalAlignmentToolbar */]; });
-__webpack_require__.d(__webpack_exports__, "BlockVerticalAlignmentControl", function() { return /* reexport */ components["z" /* BlockVerticalAlignmentControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalBorderRadiusControl", function() { return /* reexport */ components["rb" /* __experimentalBorderRadiusControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalBorderStyleControl", function() { return /* reexport */ components["sb" /* __experimentalBorderStyleControl */]; });
-__webpack_require__.d(__webpack_exports__, "ButtonBlockerAppender", function() { return /* reexport */ components["C" /* ButtonBlockerAppender */]; });
-__webpack_require__.d(__webpack_exports__, "ButtonBlockAppender", function() { return /* reexport */ components["B" /* ButtonBlockAppender */]; });
-__webpack_require__.d(__webpack_exports__, "ColorPalette", function() { return /* reexport */ components["D" /* ColorPalette */]; });
-__webpack_require__.d(__webpack_exports__, "ColorPaletteControl", function() { return /* reexport */ components["E" /* ColorPaletteControl */]; });
-__webpack_require__.d(__webpack_exports__, "ContrastChecker", function() { return /* reexport */ components["F" /* ContrastChecker */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalDuotoneControl", function() { return /* reexport */ components["vb" /* __experimentalDuotoneControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalFontAppearanceControl", function() { return /* reexport */ components["wb" /* __experimentalFontAppearanceControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalFontFamilyControl", function() { return /* reexport */ components["xb" /* __experimentalFontFamilyControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalLetterSpacingControl", function() { return /* reexport */ components["Fb" /* __experimentalLetterSpacingControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalTextDecorationControl", function() { return /* reexport */ components["Pb" /* __experimentalTextDecorationControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalTextTransformControl", function() { return /* reexport */ components["Qb" /* __experimentalTextTransformControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalColorGradientControl", function() { return /* reexport */ components["tb" /* __experimentalColorGradientControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalColorGradientSettingsDropdown", function() { return /* reexport */ components["ub" /* __experimentalColorGradientSettingsDropdown */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalPanelColorGradientSettings", function() { return /* reexport */ components["Mb" /* __experimentalPanelColorGradientSettings */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalImageEditor", function() { return /* reexport */ components["Bb" /* __experimentalImageEditor */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalImageEditingProvider", function() { return /* reexport */ components["Ab" /* __experimentalImageEditingProvider */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalImageSizeControl", function() { return /* reexport */ components["Cb" /* __experimentalImageSizeControl */]; });
-__webpack_require__.d(__webpack_exports__, "InnerBlocks", function() { return /* reexport */ components["J" /* InnerBlocks */]; });
-__webpack_require__.d(__webpack_exports__, "useInnerBlocksProps", function() { return /* reexport */ components["tc" /* useInnerBlocksProps */]; });
-__webpack_require__.d(__webpack_exports__, "InspectorControls", function() { return /* reexport */ components["M" /* InspectorControls */]; });
-__webpack_require__.d(__webpack_exports__, "InspectorAdvancedControls", function() { return /* reexport */ components["L" /* InspectorAdvancedControls */]; });
-__webpack_require__.d(__webpack_exports__, "JustifyToolbar", function() { return /* reexport */ components["O" /* JustifyToolbar */]; });
-__webpack_require__.d(__webpack_exports__, "JustifyContentControl", function() { return /* reexport */ components["N" /* JustifyContentControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalLinkControl", function() { return /* reexport */ components["Hb" /* __experimentalLinkControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalLinkControlSearchInput", function() { return /* reexport */ components["Ib" /* __experimentalLinkControlSearchInput */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalLinkControlSearchResults", function() { return /* reexport */ components["Kb" /* __experimentalLinkControlSearchResults */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalLinkControlSearchItem", function() { return /* reexport */ components["Jb" /* __experimentalLinkControlSearchItem */]; });
-__webpack_require__.d(__webpack_exports__, "LineHeightControl", function() { return /* reexport */ components["P" /* LineHeightControl */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalListView", function() { return /* reexport */ components["Lb" /* __experimentalListView */]; });
-__webpack_require__.d(__webpack_exports__, "MediaReplaceFlow", function() { return /* reexport */ components["R" /* MediaReplaceFlow */]; });
-__webpack_require__.d(__webpack_exports__, "MediaPlaceholder", function() { return /* reexport */ components["Q" /* MediaPlaceholder */]; });
-__webpack_require__.d(__webpack_exports__, "MediaUpload", function() { return /* reexport */ components["S" /* MediaUpload */]; });
-__webpack_require__.d(__webpack_exports__, "MediaUploadCheck", function() { return /* reexport */ components["T" /* MediaUploadCheck */]; });
-__webpack_require__.d(__webpack_exports__, "PanelColorSettings", function() { return /* reexport */ components["X" /* PanelColorSettings */]; });
-__webpack_require__.d(__webpack_exports__, "PlainText", function() { return /* reexport */ components["Y" /* PlainText */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalResponsiveBlockControl", function() { return /* reexport */ components["Ob" /* __experimentalResponsiveBlockControl */]; });
-__webpack_require__.d(__webpack_exports__, "RichText", function() { return /* reexport */ components["ab" /* RichText */]; });
-__webpack_require__.d(__webpack_exports__, "RichTextShortcut", function() { return /* reexport */ components["bb" /* RichTextShortcut */]; });
-__webpack_require__.d(__webpack_exports__, "RichTextToolbarButton", function() { return /* reexport */ components["cb" /* RichTextToolbarButton */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableRichTextInputEvent", function() { return /* reexport */ components["ac" /* __unstableRichTextInputEvent */]; });
-__webpack_require__.d(__webpack_exports__, "ToolSelector", function() { return /* reexport */ components["eb" /* ToolSelector */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUnitControl", function() { return /* reexport */ components["Rb" /* __experimentalUnitControl */]; });
-__webpack_require__.d(__webpack_exports__, "URLInput", function() { return /* reexport */ components["gb" /* URLInput */]; });
-__webpack_require__.d(__webpack_exports__, "URLInputButton", function() { return /* reexport */ components["hb" /* URLInputButton */]; });
-__webpack_require__.d(__webpack_exports__, "URLPopover", function() { return /* reexport */ components["ib" /* URLPopover */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalImageURLInputUI", function() { return /* reexport */ components["Db" /* __experimentalImageURLInputUI */]; });
-__webpack_require__.d(__webpack_exports__, "withColorContext", function() { return /* reexport */ components["vc" /* withColorContext */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableBlockSettingsMenuFirstItem", function() { return /* reexport */ components["Wb" /* __unstableBlockSettingsMenuFirstItem */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableInserterMenuExtension", function() { return /* reexport */ components["Zb" /* __unstableInserterMenuExtension */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalPreviewOptions", function() { return /* reexport */ components["Nb" /* __experimentalPreviewOptions */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseResizeCanvas", function() { return /* reexport */ components["Vb" /* __experimentalUseResizeCanvas */]; });
-__webpack_require__.d(__webpack_exports__, "BlockInspector", function() { return /* reexport */ components["o" /* BlockInspector */]; });
-__webpack_require__.d(__webpack_exports__, "BlockList", function() { return /* reexport */ components["p" /* BlockList */]; });
-__webpack_require__.d(__webpack_exports__, "useBlockProps", function() { return /* reexport */ components["sc" /* useBlockProps */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalLayoutStyle", function() { return /* reexport */ components["Eb" /* __experimentalLayoutStyle */]; });
-__webpack_require__.d(__webpack_exports__, "BlockMover", function() { return /* reexport */ components["q" /* BlockMover */]; });
-__webpack_require__.d(__webpack_exports__, "BlockPreview", function() { return /* reexport */ components["s" /* BlockPreview */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseBlockPreview", function() { return /* reexport */ components["Sb" /* __experimentalUseBlockPreview */]; });
-__webpack_require__.d(__webpack_exports__, "BlockSelectionClearer", function() { return /* reexport */ components["t" /* BlockSelectionClearer */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseBlockSelectionClearer", function() { return /* reexport */ components["bc" /* __unstableUseBlockSelectionClearer */]; });
-__webpack_require__.d(__webpack_exports__, "BlockSettingsMenu", function() { return /* reexport */ components["u" /* BlockSettingsMenu */]; });
-__webpack_require__.d(__webpack_exports__, "BlockSettingsMenuControls", function() { return /* reexport */ components["v" /* BlockSettingsMenuControls */]; });
-__webpack_require__.d(__webpack_exports__, "BlockTitle", function() { return /* reexport */ components["w" /* BlockTitle */]; });
-__webpack_require__.d(__webpack_exports__, "BlockToolbar", function() { return /* reexport */ components["x" /* BlockToolbar */]; });
-__webpack_require__.d(__webpack_exports__, "BlockTools", function() { return /* reexport */ components["y" /* BlockTools */]; });
-__webpack_require__.d(__webpack_exports__, "CopyHandler", function() { return /* reexport */ components["G" /* CopyHandler */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseClipboardHandler", function() { return /* reexport */ components["dc" /* __unstableUseClipboardHandler */]; });
-__webpack_require__.d(__webpack_exports__, "DefaultBlockAppender", function() { return /* reexport */ components["H" /* DefaultBlockAppender */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableEditorStyles", function() { return /* reexport */ components["Xb" /* __unstableEditorStyles */]; });
-__webpack_require__.d(__webpack_exports__, "Inserter", function() { return /* reexport */ components["K" /* Inserter */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalLibrary", function() { return /* reexport */ components["Gb" /* __experimentalLibrary */]; });
-__webpack_require__.d(__webpack_exports__, "BlockEditorKeyboardShortcuts", function() { return /* reexport */ components["k" /* BlockEditorKeyboardShortcuts */]; });
-__webpack_require__.d(__webpack_exports__, "MultiSelectScrollIntoView", function() { return /* reexport */ components["U" /* MultiSelectScrollIntoView */]; });
-__webpack_require__.d(__webpack_exports__, "NavigableToolbar", function() { return /* reexport */ components["V" /* NavigableToolbar */]; });
-__webpack_require__.d(__webpack_exports__, "ObserveTyping", function() { return /* reexport */ components["W" /* ObserveTyping */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseTypingObserver", function() { return /* reexport */ components["gc" /* __unstableUseTypingObserver */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseMouseMoveTypingReset", function() { return /* reexport */ components["ec" /* __unstableUseMouseMoveTypingReset */]; });
-__webpack_require__.d(__webpack_exports__, "PreserveScrollInReorder", function() { return /* reexport */ components["Z" /* PreserveScrollInReorder */]; });
-__webpack_require__.d(__webpack_exports__, "SkipToSelectedBlock", function() { return /* reexport */ components["db" /* SkipToSelectedBlock */]; });
-__webpack_require__.d(__webpack_exports__, "Typewriter", function() { return /* reexport */ components["fb" /* Typewriter */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseTypewriter", function() { return /* reexport */ components["fc" /* __unstableUseTypewriter */]; });
-__webpack_require__.d(__webpack_exports__, "Warning", function() { return /* reexport */ components["jb" /* Warning */]; });
-__webpack_require__.d(__webpack_exports__, "WritingFlow", function() { return /* reexport */ components["kb" /* WritingFlow */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseCanvasClickRedirect", function() { return /* reexport */ components["cc" /* __unstableUseCanvasClickRedirect */]; });
-__webpack_require__.d(__webpack_exports__, "useBlockDisplayInformation", function() { return /* reexport */ components["qc" /* useBlockDisplayInformation */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableIframe", function() { return /* reexport */ components["Yb" /* __unstableIframe */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseNoRecursiveRenders", function() { return /* reexport */ components["Ub" /* __experimentalUseNoRecursiveRenders */]; });
-__webpack_require__.d(__webpack_exports__, "BlockEditorProvider", function() { return /* reexport */ components["l" /* BlockEditorProvider */]; });
-__webpack_require__.d(__webpack_exports__, "useSetting", function() { return /* reexport */ components["uc" /* useSetting */]; });
-__webpack_require__.d(__webpack_exports__, "transformStyles", function() { return /* reexport */ build_module_utils["c" /* transformStyles */]; });
-__webpack_require__.d(__webpack_exports__, "validateThemeColors", function() { return /* reexport */ build_module_utils["d" /* validateThemeColors */]; });
-__webpack_require__.d(__webpack_exports__, "validateThemeGradients", function() { return /* reexport */ build_module_utils["e" /* validateThemeGradients */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalGetMatchingVariation", function() { return /* reexport */ build_module_utils["a" /* __experimentalGetMatchingVariation */]; });
-__webpack_require__.d(__webpack_exports__, "getPxFromCssUnit", function() { return /* reexport */ build_module_utils["b" /* getPxFromCssUnit */]; });
-__webpack_require__.d(__webpack_exports__, "storeConfig", function() { return /* reexport */ store["b" /* storeConfig */]; });
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store["a" /* store */]; });
-__webpack_require__.d(__webpack_exports__, "SETTINGS_DEFAULTS", function() { return /* reexport */ defaults["b" /* SETTINGS_DEFAULTS */]; });
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/compat.js
 /**
  * WordPress dependencies
  */


-
-function migrateLightBlockWrapper(settings) {
+function ListViewDropIndicator(_ref) {
+  let {
+    listViewRef,
+    blockDropTarget
+  } = _ref;
   const {
-    apiVersion = 1
-  } = settings;
-
-  if (apiVersion < 2 && Object(external_wp_blocks_["hasBlockSupport"])(settings, 'lightBlockWrapper', false)) {
-    settings.apiVersion = 2;
-  }
+    rootClientId,
+    clientId,
+    dropPosition
+  } = blockDropTarget || {};
+  const [rootBlockElement, blockElement] = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (!listViewRef.current) {
+      return [];
+    } // The rootClientId will be defined whenever dropping into inner
+    // block lists, but is undefined when dropping at the root level.

-  return settings;
-}

-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/compat/migrateLightBlockWrapper', migrateLightBlockWrapper);
+    const _rootBlockElement = rootClientId ? listViewRef.current.querySelector(`[data-block="${rootClientId}"]`) : undefined; // The clientId represents the sibling block, the dragged block will
+    // usually be inserted adjacent to it. It will be undefined when
+    // dropping a block into an empty block list.

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+    const _blockElement = clientId ? listViewRef.current.querySelector(`[data-block="${clientId}"]`) : undefined;

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+    return [_rootBlockElement, _blockElement];
+  }, [rootClientId, clientId]); // The targetElement is the element that the drop indicator will appear
+  // before or after. When dropping into an empty block list, blockElement
+  // is undefined, so the indicator will appear after the rootBlockElement.

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+  const targetElement = blockElement || rootBlockElement;
+  const getDropIndicatorIndent = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    if (!rootBlockElement) {
+      return 0;
+    } // Calculate the indent using the block icon of the root block.
+    // Using a classname selector here might be flaky and could be
+    // improved.

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js + 4 modules
-var block_controls = __webpack_require__("fOYa");
+    const targetElementRect = targetElement.getBoundingClientRect();
+    const rootBlockIconElement = rootBlockElement.querySelector('.block-editor-block-icon');
+    const rootBlockIconRect = rootBlockIconElement.getBoundingClientRect();
+    return rootBlockIconRect.right - targetElementRect.left;
+  }, [rootBlockElement, targetElement]);
+  const style = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (!targetElement) {
+      return {};
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/index.js + 4 modules
-var block_alignment_control = __webpack_require__("vtO0");
+    const indent = getDropIndicatorIndent();
+    return {
+      width: targetElement.offsetWidth - indent
+    };
+  }, [getDropIndicatorIndent, targetElement]);
+  const getAnchorRect = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    if (!targetElement) {
+      return {};
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/use-available-alignments.js
-var use_available_alignments = __webpack_require__("K/rC");
+    const ownerDocument = targetElement.ownerDocument;
+    const rect = targetElement.getBoundingClientRect();
+    const indent = getDropIndicatorIndent();
+    const anchorRect = {
+      left: rect.left + indent,
+      right: rect.right,
+      width: 0,
+      height: rect.height,
+      ownerDocument
+    };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/align.js
+    if (dropPosition === 'top') {
+      return { ...anchorRect,
+        top: rect.top,
+        bottom: rect.top
+      };
+    }

+    if (dropPosition === 'bottom' || dropPosition === 'inside') {
+      return { ...anchorRect,
+        top: rect.bottom,
+        bottom: rect.bottom
+      };
+    }

+    return {};
+  }, [targetElement, dropPosition, getDropIndicatorIndent]);

-/**
- * External dependencies
- */
+  if (!targetElement) {
+    return null;
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
+    noArrow: true,
+    animate: false,
+    getAnchorRect: getAnchorRect,
+    focusOnMount: false,
+    className: "block-editor-list-view-drop-indicator"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    style: style,
+    className: "block-editor-list-view-drop-indicator__line"
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/use-list-view-client-ids.js
 /**
  * WordPress dependencies
  */

-
-
-
 /**
  * Internal dependencies
  */


+function useListViewClientIds(blocks) {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getDraggedBlockClientIds,
+      getSelectedBlockClientIds,
+      __unstableGetClientIdsTree
+    } = select(store);
+    return {
+      selectedClientIds: getSelectedBlockClientIds(),
+      draggedClientIds: getDraggedBlockClientIds(),
+      clientIdsTree: blocks ? blocks : __unstableGetClientIdsTree()
+    };
+  }, [blocks]);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/use-list-view-drop-zone.js
 /**
- * An array which includes all possible valid alignments,
- * used to validate if an alignment is valid or not.
- *
- * @constant
- * @type {string[]}
+ * WordPress dependencies
  */

-const ALL_ALIGNMENTS = ['left', 'center', 'right', 'wide', 'full'];
-/**
- * An array which includes all wide alignments.
- * In order for this alignments to be valid they need to be supported by the block,
- * and by the theme.
- *
- * @constant
- * @type {string[]}
- */

-const WIDE_ALIGNMENTS = ['wide', 'full'];
+
 /**
- * Returns the valid alignments.
- * Takes into consideration the aligns supported by a block, if the block supports wide controls or not and if theme supports wide controls or not.
- * Exported just for testing purposes, not exported outside the module.
- *
- * @param {?boolean|string[]} blockAlign          Aligns supported by the block.
- * @param {?boolean}          hasWideBlockSupport True if block supports wide alignments. And False otherwise.
- * @param {?boolean}          hasWideEnabled      True if theme supports wide alignments. And False otherwise.
- *
- * @return {string[]} Valid alignments.
+ * Internal dependencies
  */

-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)) {
-    validAlignments = ALL_ALIGNMENTS.filter(value => blockAlign.includes(value));
-  } else if (blockAlign === true) {
-    // `true` includes all alignments...
-    validAlignments = [...ALL_ALIGNMENTS];
-  } else {
-    validAlignments = [];
-  }

-  if (!hasWideEnabled || blockAlign === true && !hasWideBlockSupport) {
-    return Object(external_lodash_["without"])(validAlignments, ...WIDE_ALIGNMENTS);
-  }

-  return validAlignments;
-}
+/** @typedef {import('../../utils/math').WPPoint} WPPoint */
+
 /**
- * Filters registered block settings, extending attributes to include `align`.
- *
- * @param {Object} settings Original block settings.
+ * The type of a drag event.
  *
- * @return {Object} Filtered block settings.
+ * @typedef {'default'|'file'|'html'} WPDragEventType
  */

-function addAttribute(settings) {
-  // allow blocks to specify their own attribute definition with default values if needed.
-  if (Object(external_lodash_["has"])(settings.attributes, ['align', 'type'])) {
-    return settings;
-  }
-
-  if (Object(external_wp_blocks_["hasBlockSupport"])(settings, 'align')) {
-    // Gracefully handle if settings.attributes is undefined.
-    settings.attributes = { ...settings.attributes,
-      align: {
-        type: 'string',
-        // Allow for '' since it is used by updateAlignment function
-        // in withToolbarControls for special cases with defined default values.
-        enum: [...ALL_ALIGNMENTS, '']
-      }
-    };
-  }
-
-  return settings;
-}
 /**
- * Override the default edit UI to include new toolbar controls for block
- * alignment, if block defines support.
- *
- * @param {Function} BlockEdit Original component.
+ * An array representing data for blocks in the DOM used by drag and drop.
  *
- * @return {Function} Wrapped component.
+ * @typedef {Object} WPListViewDropZoneBlocks
+ * @property {string}  clientId                        The client id for the block.
+ * @property {string}  rootClientId                    The root client id for the block.
+ * @property {number}  blockIndex                      The block's index.
+ * @property {Element} element                         The DOM element representing the block.
+ * @property {number}  innerBlockCount                 The number of inner blocks the block has.
+ * @property {boolean} isDraggedBlock                  Whether the block is currently being dragged.
+ * @property {boolean} canInsertDraggedBlocksAsSibling Whether the dragged block can be a sibling of this block.
+ * @property {boolean} canInsertDraggedBlocksAsChild   Whether the dragged block can be a child of this block.
  */

-const withToolbarControls = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => props => {
-  const {
-    name: blockName
-  } = props; // Compute the block valid alignments by taking into account,
-  // if the theme supports wide alignments or not and the layout's
-  // availble alignments. We do that for conditionally rendering
-  // 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(_ref => {
-    let {
-      name
-    } = _ref;
-    return name;
-  });
-
-  const updateAlignment = nextAlign => {
-    if (!nextAlign) {
-      var _blockType$attributes, _blockType$attributes2;
-
-      const blockType = Object(external_wp_blocks_["getBlockType"])(props.name);
-      const blockDefaultAlign = blockType === null || blockType === void 0 ? void 0 : (_blockType$attributes = blockType.attributes) === null || _blockType$attributes === void 0 ? void 0 : (_blockType$attributes2 = _blockType$attributes.align) === null || _blockType$attributes2 === void 0 ? void 0 : _blockType$attributes2.default;
-
-      if (blockDefaultAlign) {
-        nextAlign = '';
-      }
-    }
-
-    props.setAttributes({
-      align: nextAlign
-    });
-  };
+/**
+ * An object containing details of a drop target.
+ *
+ * @typedef {Object} WPListViewDropZoneTarget
+ * @property {string}                  blockIndex   The insertion index.
+ * @property {string}                  rootClientId The root client id for the block.
+ * @property {string|undefined}        clientId     The client id for the block.
+ * @property {'top'|'bottom'|'inside'} dropPosition The position relative to the block that the user is dropping to.
+ *                                                  'inside' refers to nesting as an inner block.
+ */

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, !!validAlignments.length && Object(external_wp_element_["createElement"])(block_controls["b" /* default */], {
-    group: "block",
-    __experimentalShareWithChildBlocks: true
-  }, Object(external_wp_element_["createElement"])(block_alignment_control["a" /* BlockAlignmentControl */], {
-    value: props.attributes.align,
-    onChange: updateAlignment,
-    controls: validAlignments
-  })), Object(external_wp_element_["createElement"])(BlockEdit, props));
-}, 'withToolbarControls');
 /**
- * Override the default block element to add alignment wrapper props.
+ * Is the point contained by the rectangle.
  *
- * @param {Function} BlockListBlock Original component.
+ * @param {WPPoint} point The point.
+ * @param {DOMRect} rect  The rectangle.
  *
- * @return {Function} Wrapped component.
+ * @return {boolean} True if the point is contained by the rectangle, false otherwise.
  */

-const withDataAlign = Object(external_wp_compose_["createHigherOrderComponent"])(BlockListBlock => props => {
-  const {
-    name,
-    attributes
-  } = props;
-  const {
-    align
-  } = attributes;
-  const blockAllowedAlignments = getValidAlignments(Object(external_wp_blocks_["getBlockSupport"])(name, 'align'), Object(external_wp_blocks_["hasBlockSupport"])(name, 'alignWide', true));
-  const validAlignments = Object(use_available_alignments["a" /* default */])(blockAllowedAlignments); // If an alignment is not assigned, there's no need to go through the
-  // effort to validate or assign its value.
+function isPointContainedByRect(point, rect) {
+  return rect.left <= point.x && rect.right >= point.x && rect.top <= point.y && rect.bottom >= point.y;
+}
+/**
+ * Determines whether the user positioning the dragged block to nest as an
+ * inner block.
+ *
+ * Presently this is determined by whether the cursor is on the right hand side
+ * of the block.
+ *
+ * @param {WPPoint} point The point representing the cursor position when dragging.
+ * @param {DOMRect} rect  The rectangle.
+ */

-  if (align === undefined) {
-    return Object(external_wp_element_["createElement"])(BlockListBlock, props);
-  }

-  let wrapperProps = props.wrapperProps;
+function isNestingGesture(point, rect) {
+  const blockCenterX = rect.left + rect.width / 2;
+  return point.x > blockCenterX;
+} // Block navigation is always a vertical list, so only allow dropping
+// to the above or below a block.

-  if (validAlignments.some(alignment => alignment.name === align)) {
-    wrapperProps = { ...wrapperProps,
-      'data-align': align
-    };
-  }

-  return Object(external_wp_element_["createElement"])(BlockListBlock, Object(esm_extends["a" /* default */])({}, props, {
-    wrapperProps: wrapperProps
-  }));
-});
+const ALLOWED_DROP_EDGES = ['top', 'bottom'];
 /**
- * Override props assigned to save component to inject alignment class name if
- * block supports it.
+ * Given blocks data and the cursor position, compute the drop target.
  *
- * @param {Object} props      Additional props applied to save element.
- * @param {Object} blockType  Block type.
- * @param {Object} attributes Block attributes.
+ * @param {WPListViewDropZoneBlocks} blocksData Data about the blocks in list view.
+ * @param {WPPoint}                  position   The point representing the cursor position when dragging.
  *
- * @return {Object} Filtered props applied to save element.
+ * @return {WPListViewDropZoneTarget} An object containing data about the drop target.
  */

-function addAssignedAlign(props, blockType, attributes) {
-  const {
-    align
-  } = attributes;
-  const blockAlign = Object(external_wp_blocks_["getBlockSupport"])(blockType, 'align');
-  const hasWideBlockSupport = Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'alignWide', true); // Compute valid alignments without taking into account if
-  // the theme supports wide alignments or not.
-  // This way changing themes does not impact the block save.
+function getListViewDropTarget(blocksData, position) {
+  let candidateEdge;
+  let candidateBlockData;
+  let candidateDistance;
+  let candidateRect;

-  const isAlignValid = getValidAlignments(blockAlign, hasWideBlockSupport).includes(align);
+  for (const blockData of blocksData) {
+    if (blockData.isDraggedBlock) {
+      continue;
+    }

-  if (isAlignValid) {
-    props.className = classnames_default()(`align${align}`, props.className);
+    const rect = blockData.element.getBoundingClientRect();
+    const [distance, edge] = getDistanceToNearestEdge(position, rect, ALLOWED_DROP_EDGES);
+    const isCursorWithinBlock = isPointContainedByRect(position, rect);
+
+    if (candidateDistance === undefined || distance < candidateDistance || isCursorWithinBlock) {
+      candidateDistance = distance;
+      const index = blocksData.indexOf(blockData);
+      const previousBlockData = blocksData[index - 1]; // If dragging near the top of a block and the preceding block
+      // is at the same level, use the preceding block as the candidate
+      // instead, as later it makes determining a nesting drop easier.
+
+      if (edge === 'top' && previousBlockData && previousBlockData.rootClientId === blockData.rootClientId && !previousBlockData.isDraggedBlock) {
+        candidateBlockData = previousBlockData;
+        candidateEdge = 'bottom';
+        candidateRect = previousBlockData.element.getBoundingClientRect();
+      } else {
+        candidateBlockData = blockData;
+        candidateEdge = edge;
+        candidateRect = rect;
+      } // If the mouse position is within the block, break early
+      // as the user would intend to drop either before or after
+      // this block.
+      //
+      // This solves an issue where some rows in the list view
+      // tree overlap slightly due to sub-pixel rendering.
+
+
+      if (isCursorWithinBlock) {
+        break;
+      }
+    }
   }

-  return props;
-}
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/align/addAttribute', addAttribute);
-Object(external_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/editor/align/with-data-align', withDataAlign);
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/editor/align/with-toolbar-controls', withToolbarControls);
-Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'core/align/addAssignedAlign', addAssignedAlign);
+  if (!candidateBlockData) {
+    return;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/lock.js
-/**
- * External dependencies
- */
+  const isDraggingBelow = candidateEdge === 'bottom'; // If the user is dragging towards the bottom of the block check whether
+  // they might be trying to nest the block as a child.
+  // If the block already has inner blocks, this should always be treated
+  // as nesting since the next block in the tree will be the first child.
+
+  if (isDraggingBelow && candidateBlockData.canInsertDraggedBlocksAsChild && (candidateBlockData.innerBlockCount > 0 || isNestingGesture(position, candidateRect))) {
+    return {
+      rootClientId: candidateBlockData.clientId,
+      blockIndex: 0,
+      dropPosition: 'inside'
+    };
+  } // If dropping as a sibling, but block cannot be inserted in
+  // this context, return early.

-/**
- * WordPress dependencies
- */

+  if (!candidateBlockData.canInsertDraggedBlocksAsSibling) {
+    return;
+  }

+  const offset = isDraggingBelow ? 1 : 0;
+  return {
+    rootClientId: candidateBlockData.rootClientId,
+    clientId: candidateBlockData.clientId,
+    blockIndex: candidateBlockData.blockIndex + offset,
+    dropPosition: candidateEdge
+  };
+}
 /**
- * Filters registered block settings, extending attributes to include `lock`.
- *
- * @param {Object} settings Original block settings.
+ * A react hook for implementing a drop zone in list view.
  *
- * @return {Object} Filtered block settings.
+ * @return {WPListViewDropZoneTarget} The drop target.
  */

-function lock_addAttribute(settings) {
-  // allow blocks to specify their own attribute definition with default values if needed.
-  if (Object(external_lodash_["has"])(settings.attributes, ['lock', 'type'])) {
-    return settings;
-  } // Gracefully handle if settings.attributes is undefined.

+function useListViewDropZone() {
+  const {
+    getBlockRootClientId,
+    getBlockIndex,
+    getBlockCount,
+    getDraggedBlockClientIds,
+    canInsertBlocks
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const [target, setTarget] = (0,external_wp_element_namespaceObject.useState)();
+  const {
+    rootClientId: targetRootClientId,
+    blockIndex: targetBlockIndex
+  } = target || {};
+  const onBlockDrop = useOnBlockDrop(targetRootClientId, targetBlockIndex);
+  const draggedBlockClientIds = getDraggedBlockClientIds();
+  const throttled = (0,external_wp_compose_namespaceObject.useThrottle)((0,external_wp_element_namespaceObject.useCallback)((event, currentTarget) => {
+    const position = {
+      x: event.clientX,
+      y: event.clientY
+    };
+    const isBlockDrag = !!(draggedBlockClientIds !== null && draggedBlockClientIds !== void 0 && draggedBlockClientIds.length);
+    const blockElements = Array.from(currentTarget.querySelectorAll('[data-block]'));
+    const blocksData = blockElements.map(blockElement => {
+      const clientId = blockElement.dataset.block;
+      const rootClientId = getBlockRootClientId(clientId);
+      return {
+        clientId,
+        rootClientId,
+        blockIndex: getBlockIndex(clientId),
+        element: blockElement,
+        isDraggedBlock: isBlockDrag ? draggedBlockClientIds.includes(clientId) : false,
+        innerBlockCount: getBlockCount(clientId),
+        canInsertDraggedBlocksAsSibling: isBlockDrag ? canInsertBlocks(draggedBlockClientIds, rootClientId) : true,
+        canInsertDraggedBlocksAsChild: isBlockDrag ? canInsertBlocks(draggedBlockClientIds, clientId) : true
+      };
+    });
+    const newTarget = getListViewDropTarget(blocksData, position);

-  settings.attributes = { ...settings.attributes,
-    lock: {
-      type: 'object'
+    if (newTarget) {
+      setTarget(newTarget);
     }
-  };
-  return settings;
-}
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/lock/addAttribute', lock_addAttribute);
+  }, [draggedBlockClientIds]), 200);
+  const ref = (0,external_wp_compose_namespaceObject.__experimentalUseDropZone)({
+    onDrop: onBlockDrop,

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+    onDragOver(event) {
+      // `currentTarget` is only available while the event is being
+      // handled, so get it now and pass it to the thottled function.
+      // https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget
+      throttled(event, event.currentTarget);
+    },

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+    onDragEnd() {
+      throttled.cancel();
+      setTarget(null);
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js
-var inspector_controls = __webpack_require__("1oY3");
+  });
+  return {
+    ref,
+    target
+  };
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/anchor.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/list-view/index.js


-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -41666,120 +36812,177 @@ var inspector_controls = __webpack_require__("1oY3");



-
-
 /**
  * Internal dependencies
  */


-/**
- * Regular expression matching invalid anchor characters for replacement.
- *
- * @type {RegExp}
- */

-const ANCHOR_REGEX = /[\s#]/g;
-/**
- * Filters registered block settings, extending attributes with anchor using ID
- * of the first node.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
- */

-function anchor_addAttribute(settings) {
-  // allow blocks to specify their own attribute definition with default values if needed.
-  if (Object(external_lodash_["has"])(settings.attributes, ['anchor', 'type'])) {
-    return settings;
-  }

-  if (Object(external_wp_blocks_["hasBlockSupport"])(settings, 'anchor')) {
-    // Gracefully handle if settings.attributes is undefined.
-    settings.attributes = { ...settings.attributes,
-      anchor: {
-        type: 'string',
-        source: 'attribute',
-        attribute: 'id',
-        selector: '*'
-      }
-    };
-  }

-  return settings;
-}
+
+
+const list_view_noop = () => {};
+
+const expanded = (state, action) => {
+  switch (action.type) {
+    case 'expand':
+      return { ...state,
+        ...{
+          [action.clientId]: true
+        }
+      };
+
+    case 'collapse':
+      return { ...state,
+        ...{
+          [action.clientId]: false
+        }
+      };
+
+    default:
+      return state;
+  }
+};
 /**
- * Override the default edit UI to include a new block inspector control for
- * assigning the anchor ID, if block supports anchor.
- *
- * @param {WPComponent} BlockEdit Original component.
+ * Wrap `ListViewRows` with `TreeGrid`. ListViewRows is a
+ * recursive component (it renders itself), so this ensures TreeGrid is only
+ * present at the very top of the navigation grid.
  *
- * @return {WPComponent} Wrapped component.
+ * @param {Object}   props                                          Components props.
+ * @param {Array}    props.blocks                                   Custom subset of block client IDs to be used instead of the default hierarchy.
+ * @param {Function} props.onSelect                                 Block selection callback.
+ * @param {boolean}  props.showNestedBlocks                         Flag to enable displaying nested blocks.
+ * @param {boolean}  props.showBlockMovers                          Flag to enable block movers
+ * @param {boolean}  props.__experimentalFeatures                   Flag to enable experimental features.
+ * @param {boolean}  props.__experimentalPersistentListViewFeatures Flag to enable features for the Persistent List View experiment.
+ * @param {boolean}  props.__experimentalHideContainerBlockActions  Flag to hide actions of top level blocks (like core/widget-area)
+ * @param {Object}   ref                                            Forwarded ref
  */

-const withInspectorControl = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => {
-  return props => {
-    const hasAnchor = Object(external_wp_blocks_["hasBlockSupport"])(props.name, 'anchor');

-    if (hasAnchor && props.isSelected) {
-      const isWeb = external_wp_element_["Platform"].OS === 'web';
-      const textControl = Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-        className: "html-anchor-control",
-        label: Object(external_wp_i18n_["__"])('HTML anchor'),
-        help: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_i18n_["__"])('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.'), isWeb && Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-          href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/page-jumps/')
-        }, Object(external_wp_i18n_["__"])('Learn more about anchors'))),
-        value: props.attributes.anchor || '',
-        placeholder: !isWeb ? Object(external_wp_i18n_["__"])('Add an anchor') : null,
-        onChange: nextValue => {
-          nextValue = nextValue.replace(ANCHOR_REGEX, '-');
-          props.setAttributes({
-            anchor: nextValue
-          });
-        },
-        autoCapitalize: "none",
-        autoComplete: "off"
-      });
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(BlockEdit, props), isWeb && Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */], {
-        __experimentalGroup: "advanced"
-      }, textControl), !isWeb && props.name === 'core/heading' && Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-        title: Object(external_wp_i18n_["__"])('Heading settings')
-      }, textControl)));
+function ListView(_ref, ref) {
+  let {
+    blocks,
+    onSelect = list_view_noop,
+    __experimentalFeatures,
+    __experimentalPersistentListViewFeatures,
+    __experimentalHideContainerBlockActions,
+    showNestedBlocks,
+    showBlockMovers,
+    ...props
+  } = _ref;
+  const {
+    clientIdsTree,
+    draggedClientIds,
+    selectedClientIds
+  } = useListViewClientIds(blocks);
+  const {
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    visibleBlockCount
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getGlobalBlockCount,
+      getClientIdsOfDescendants
+    } = select(store);
+    const draggedBlockCount = (draggedClientIds === null || draggedClientIds === void 0 ? void 0 : draggedClientIds.length) > 0 ? getClientIdsOfDescendants(draggedClientIds).length + 1 : 0;
+    return {
+      visibleBlockCount: getGlobalBlockCount() - draggedBlockCount
+    };
+  }, [draggedClientIds]);
+  const selectEditorBlock = (0,external_wp_element_namespaceObject.useCallback)(clientId => {
+    selectBlock(clientId);
+    onSelect(clientId);
+  }, [selectBlock, onSelect]);
+  const [expandedState, setExpandedState] = (0,external_wp_element_namespaceObject.useReducer)(expanded, {});
+  const {
+    ref: dropZoneRef,
+    target: blockDropTarget
+  } = useListViewDropZone();
+  const elementRef = (0,external_wp_element_namespaceObject.useRef)();
+  const treeGridRef = (0,external_wp_compose_namespaceObject.useMergeRefs)([elementRef, dropZoneRef, ref]);
+  const isMounted = (0,external_wp_element_namespaceObject.useRef)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    isMounted.current = true;
+  }, []); // List View renders a fixed number of items and relies on each having a fixed item height of 36px.
+  // If this value changes, we should also change the itemHeight value set in useFixedWindowList.
+  // See: https://github.com/WordPress/gutenberg/pull/35230 for additional context.
+
+  const [fixedListWindow] = (0,external_wp_compose_namespaceObject.__experimentalUseFixedWindowList)(elementRef, 36, visibleBlockCount, {
+    useWindowing: __experimentalPersistentListViewFeatures,
+    windowOverscan: 40
+  });
+  const expand = (0,external_wp_element_namespaceObject.useCallback)(clientId => {
+    if (!clientId) {
+      return;
     }

-    return Object(external_wp_element_["createElement"])(BlockEdit, props);
-  };
-}, 'withInspectorControl');
-/**
- * Override props assigned to save component to inject anchor ID, if block
- * supports anchor. This is only applied if the block's save result is an
- * element and not a markup string.
- *
- * @param {Object} extraProps Additional props applied to save element.
- * @param {Object} blockType  Block type.
- * @param {Object} attributes Current block attributes.
- *
- * @return {Object} Filtered props applied to save element.
- */
+    setExpandedState({
+      type: 'expand',
+      clientId
+    });
+  }, [setExpandedState]);
+  const collapse = (0,external_wp_element_namespaceObject.useCallback)(clientId => {
+    if (!clientId) {
+      return;
+    }

-function addSaveProps(extraProps, blockType, attributes) {
-  if (Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'anchor')) {
-    extraProps.id = attributes.anchor === '' ? null : attributes.anchor;
-  }
+    setExpandedState({
+      type: 'collapse',
+      clientId
+    });
+  }, [setExpandedState]);
+  const expandRow = (0,external_wp_element_namespaceObject.useCallback)(row => {
+    var _row$dataset;

-  return extraProps;
+    expand(row === null || row === void 0 ? void 0 : (_row$dataset = row.dataset) === null || _row$dataset === void 0 ? void 0 : _row$dataset.block);
+  }, [expand]);
+  const collapseRow = (0,external_wp_element_namespaceObject.useCallback)(row => {
+    var _row$dataset2;
+
+    collapse(row === null || row === void 0 ? void 0 : (_row$dataset2 = row.dataset) === null || _row$dataset2 === void 0 ? void 0 : _row$dataset2.block);
+  }, [collapse]);
+  const contextValue = (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    __experimentalFeatures,
+    __experimentalPersistentListViewFeatures,
+    __experimentalHideContainerBlockActions,
+    isTreeGridMounted: isMounted.current,
+    draggedClientIds,
+    expandedState,
+    expand,
+    collapse
+  }), [__experimentalFeatures, __experimentalPersistentListViewFeatures, __experimentalHideContainerBlockActions, isMounted.current, draggedClientIds, expandedState, expand, collapse]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_data_namespaceObject.AsyncModeProvider, {
+    value: true
+  }, (0,external_wp_element_namespaceObject.createElement)(ListViewDropIndicator, {
+    listViewRef: elementRef,
+    blockDropTarget: blockDropTarget
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalTreeGrid, {
+    className: "block-editor-list-view-tree",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Block navigation structure'),
+    ref: treeGridRef,
+    onCollapseRow: collapseRow,
+    onExpandRow: expandRow
+  }, (0,external_wp_element_namespaceObject.createElement)(ListViewContext.Provider, {
+    value: contextValue
+  }, (0,external_wp_element_namespaceObject.createElement)(branch, _extends({
+    blocks: clientIdsTree,
+    selectBlock: selectEditorBlock,
+    showNestedBlocks: showNestedBlocks,
+    showBlockMovers: showBlockMovers,
+    fixedListWindow: fixedListWindow,
+    selectedClientIds: selectedClientIds
+  }, props)))));
 }
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/anchor/attribute', anchor_addAttribute);
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/editor/anchor/with-inspector-control', withInspectorControl);
-Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'core/anchor/save-props', addSaveProps);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/custom-class-name.js
+/* harmony default export */ var components_list_view = ((0,external_wp_element_namespaceObject.forwardRef)(ListView));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-navigation/dropdown.js


-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -41789,89 +36992,89 @@ Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'cor



-
 /**
  * Internal dependencies
  */


-/**
- * Filters registered block settings, extending attributes with anchor using ID
- * of the first node.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
- */

-function custom_class_name_addAttribute(settings) {
-  if (Object(external_wp_blocks_["hasBlockSupport"])(settings, 'customClassName', true)) {
-    // Gracefully handle if settings.attributes is undefined.
-    settings.attributes = { ...settings.attributes,
-      className: {
-        type: 'string'
-      }
-    };
-  }

-  return settings;
+function BlockNavigationDropdownToggle(_ref) {
+  let {
+    isEnabled,
+    onToggle,
+    isOpen,
+    innerRef,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({}, props, {
+    ref: innerRef,
+    icon: list_view,
+    "aria-expanded": isOpen,
+    "aria-haspopup": "true",
+    onClick: isEnabled ? onToggle : undefined
+    /* translators: button label text should, if possible, be under 16 characters. */
+    ,
+    label: (0,external_wp_i18n_namespaceObject.__)('List view'),
+    className: "block-editor-block-navigation",
+    "aria-disabled": !isEnabled
+  }));
 }
-/**
- * Override the default edit UI to include a new block inspector control for
- * assigning the custom class name, if block supports custom class name.
- *
- * @param {WPComponent} BlockEdit Original component.
- *
- * @return {WPComponent} Wrapped component.
- */
-
-const custom_class_name_withInspectorControl = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => {
-  return props => {
-    const hasCustomClassName = Object(external_wp_blocks_["hasBlockSupport"])(props.name, 'customClassName', true);
-
-    if (hasCustomClassName && props.isSelected) {
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(BlockEdit, props), Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */], {
-        __experimentalGroup: "advanced"
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-        autoComplete: "off",
-        label: Object(external_wp_i18n_["__"])('Additional CSS class(es)'),
-        value: props.attributes.className || '',
-        onChange: nextValue => {
-          props.setAttributes({
-            className: nextValue !== '' ? nextValue : undefined
-          });
-        },
-        help: Object(external_wp_i18n_["__"])('Separate multiple classes with spaces.')
-      })));
-    }

-    return Object(external_wp_element_["createElement"])(BlockEdit, props);
-  };
-}, 'withInspectorControl');
-/**
- * Override props assigned to save component to inject anchor ID, if block
- * supports anchor. This is only applied if the block's save result is an
- * element and not a markup string.
- *
- * @param {Object} extraProps Additional props applied to save element.
- * @param {Object} blockType  Block type.
- * @param {Object} attributes Current block attributes.
- *
- * @return {Object} Filtered props applied to save element.
+function BlockNavigationDropdown(_ref2, ref) {
+  let {
+    isDisabled,
+    __experimentalFeatures,
+    ...props
+  } = _ref2;
+  const hasBlocks = (0,external_wp_data_namespaceObject.useSelect)(select => !!select(store).getBlockCount(), []);
+  const isEnabled = hasBlocks && !isDisabled;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    contentClassName: "block-editor-block-navigation__popover",
+    position: "bottom right",
+    renderToggle: _ref3 => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref3;
+      return (0,external_wp_element_namespaceObject.createElement)(BlockNavigationDropdownToggle, _extends({}, props, {
+        innerRef: ref,
+        isOpen: isOpen,
+        onToggle: onToggle,
+        isEnabled: isEnabled
+      }));
+    },
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-block-navigation__container"
+    }, (0,external_wp_element_namespaceObject.createElement)("p", {
+      className: "block-editor-block-navigation__label"
+    }, (0,external_wp_i18n_namespaceObject.__)('List view')), (0,external_wp_element_namespaceObject.createElement)(components_list_view, {
+      showNestedBlocks: true,
+      __experimentalFeatures: __experimentalFeatures
+    }))
+  });
+}
+
+/* harmony default export */ var dropdown = ((0,external_wp_element_namespaceObject.forwardRef)(BlockNavigationDropdown));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
+
+
+/**
+ * WordPress dependencies
  */

-function custom_class_name_addSaveProps(extraProps, blockType, attributes) {
-  if (Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'customClassName', true) && attributes.className) {
-    extraProps.className = classnames_default()(extraProps.className, attributes.className);
-  }
+const layout = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_layout = (layout);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-variation-picker/index.js

-  return extraProps;
-}
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/custom-class-name/attribute', custom_class_name_addAttribute);
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/editor/custom-class-name/with-inspector-control', custom_class_name_withInspectorControl);
-Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'core/custom-class-name/save-props', custom_class_name_addSaveProps);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/generated-class-name.js
 /**
  * External dependencies
  */
@@ -41882,68 +37085,170 @@ Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'cor



-/**
- * Override props assigned to save component to inject generated className if
- * block supports it. This is only applied if the block's save result is an
- * element and not a markup string.
- *
- * @param {Object} extraProps Additional props applied to save element.
- * @param {Object} blockType  Block type.
- *
- * @return {Object} Filtered props applied to save element.
- */

-function addGeneratedClassName(extraProps, blockType) {
-  // Adding the generated className
-  if (Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'className', true)) {
-    if (typeof extraProps.className === 'string') {
-      // We have some extra classes and want to add the default classname
-      // We use uniq to prevent duplicate classnames
-      extraProps.className = Object(external_lodash_["uniq"])([Object(external_wp_blocks_["getBlockDefaultClassName"])(blockType.name), ...extraProps.className.split(' ')]).join(' ').trim();
-    } else {
-      // There is no string in the className variable,
-      // so we just dump the default name in there
-      extraProps.className = Object(external_wp_blocks_["getBlockDefaultClassName"])(blockType.name);
-    }
-  }

-  return extraProps;
+function BlockVariationPicker(_ref) {
+  let {
+    icon = library_layout,
+    label = (0,external_wp_i18n_namespaceObject.__)('Choose variation'),
+    instructions = (0,external_wp_i18n_namespaceObject.__)('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
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
+    icon: icon,
+    label: label,
+    instructions: instructions,
+    className: classes
+  }, (0,external_wp_element_namespaceObject.createElement)("ul", {
+    className: "block-editor-block-variation-picker__variations",
+    role: "list",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Block variations')
+  }, variations.map(variation => (0,external_wp_element_namespaceObject.createElement)("li", {
+    key: variation.name
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    icon: variation.icon,
+    iconSize: 48,
+    onClick: () => onSelect(variation),
+    className: "block-editor-block-variation-picker__variation",
+    label: variation.description || variation.title
+  }), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-block-variation-picker__variation-label",
+    role: "presentation"
+  }, variation.title)))), allowSkip && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-variation-picker__skip"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "link",
+    onClick: () => onSelect()
+  }, (0,external_wp_i18n_namespaceObject.__)('Skip'))));
 }
-Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'core/generated-class-name/save-props', addGeneratedClassName);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/index.js + 4 modules
-var block_list = __webpack_require__("VyCT");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-setting/index.js
-var use_setting = __webpack_require__("v5LD");
+/* harmony default export */ var block_variation_picker = (BlockVariationPicker);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/dropdown.js
-var dropdown = __webpack_require__("dchM");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/grid.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js
-var use_multiple_origin_colors_and_gradients = __webpack_require__("0LBR");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors/utils.js
-var utils = __webpack_require__("bVpQ");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/utils.js
-var hooks_utils = __webpack_require__("715p");
+const grid = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",
+  fillRule: "evenodd",
+  clipRule: "evenodd"
+}));
+/* harmony default export */ var library_grid = (grid);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border-color.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-setup/constants.js
+const VIEWMODES = {
+  carousel: 'carousel',
+  grid: 'grid'
+};

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-setup/setup-toolbar.js


 /**
- * External dependencies
+ * WordPress dependencies
  */

+
+
 /**
- * WordPress dependencies
+ * Internal dependencies
  */



+const Actions = _ref => {
+  let {
+    onStartBlank,
+    onBlockPatternSelect
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-pattern-setup__actions"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    onClick: onStartBlank
+  }, (0,external_wp_i18n_namespaceObject.__)('Start blank')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "primary",
+    onClick: onBlockPatternSelect
+  }, (0,external_wp_i18n_namespaceObject.__)('Choose')));
+};
+
+const CarouselNavigation = _ref2 => {
+  let {
+    handlePrevious,
+    handleNext,
+    activeSlide,
+    totalSlides
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-pattern-setup__navigation"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: chevron_left,
+    label: (0,external_wp_i18n_namespaceObject.__)('Previous pattern'),
+    onClick: handlePrevious,
+    disabled: activeSlide === 0
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: chevron_right,
+    label: (0,external_wp_i18n_namespaceObject.__)('Next pattern'),
+    onClick: handleNext,
+    disabled: activeSlide === totalSlides - 1
+  }));
+};
+
+const SetupToolbar = _ref3 => {
+  let {
+    viewMode,
+    setViewMode,
+    handlePrevious,
+    handleNext,
+    activeSlide,
+    totalSlides,
+    onBlockPatternSelect,
+    onStartBlank
+  } = _ref3;
+  const isCarouselView = viewMode === VIEWMODES.carousel;
+  const displayControls = (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-pattern-setup__display-controls"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: stretch_full_width,
+    label: (0,external_wp_i18n_namespaceObject.__)('Carousel view'),
+    onClick: () => setViewMode(VIEWMODES.carousel),
+    isPressed: isCarouselView
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: library_grid,
+    label: (0,external_wp_i18n_namespaceObject.__)('Grid view'),
+    onClick: () => setViewMode(VIEWMODES.grid),
+    isPressed: viewMode === VIEWMODES.grid
+  }));
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-pattern-setup__toolbar"
+  }, isCarouselView && (0,external_wp_element_namespaceObject.createElement)(CarouselNavigation, {
+    handlePrevious: handlePrevious,
+    handleNext: handleNext,
+    activeSlide: activeSlide,
+    totalSlides: totalSlides
+  }), displayControls, isCarouselView && (0,external_wp_element_namespaceObject.createElement)(Actions, {
+    onBlockPatternSelect: onBlockPatternSelect,
+    onStartBlank: onStartBlank
+  }));
+};
+
+/* harmony default export */ var setup_toolbar = (SetupToolbar);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-setup/use-patterns-setup.js
+/**
+ * WordPress dependencies
+ */

 /**
  * Internal dependencies
@@ -41951,211 +37256,238 @@ var hooks_utils = __webpack_require__("715p");



+function usePatternsSetup(clientId, blockName, filterPatternsFn) {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockRootClientId,
+      __experimentalGetPatternsByBlockTypes,
+      __experimentalGetAllowedPatterns
+    } = select(store);
+    const rootClientId = getBlockRootClientId(clientId);
+
+    if (filterPatternsFn) {
+      return __experimentalGetAllowedPatterns(rootClientId).filter(filterPatternsFn);
+    }

+    return __experimentalGetPatternsByBlockTypes(blockName, rootClientId);
+  }, [clientId, blockName, filterPatternsFn]);
+}
+
+/* harmony default export */ var use_patterns_setup = (usePatternsSetup);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-pattern-setup/index.js


- // Defining empty array here instead of inline avoids unnecessary re-renders of
-// color control.

-const EMPTY_ARRAY = [];
 /**
- * Inspector control panel containing the border color related configuration.
- *
- * There is deliberate overlap between the colors and borders block supports
- * relating to border color. It can be argued the border color controls could
- * be included within either, or both, the colors and borders panels in the
- * inspector controls. If they share the same block attributes it should not
- * matter.
- *
- * @param {Object} props Block properties.
- *
- * @return {WPElement} Border color edit element.
+ * WordPress dependencies
  */

-function BorderColorEdit(props) {
-  const {
-    attributes: {
-      borderColor,
-      style
-    },
-    setAttributes
-  } = props;
-  const colorGradientSettings = Object(use_multiple_origin_colors_and_gradients["a" /* default */])();
-  const availableColors = colorGradientSettings.colors.reduce((colors, origin) => colors.concat(origin.colors), []);
-  const [colorValue, setColorValue] = Object(external_wp_element_["useState"])(() => {
-    var _getColorObjectByAttr, _style$border;

-    return (_getColorObjectByAttr = Object(utils["b" /* getColorObjectByAttributeValues */])(availableColors, borderColor, style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.color)) === null || _getColorObjectByAttr === void 0 ? void 0 : _getColorObjectByAttr.color;
-  });

-  const onChangeColor = value => {
-    setColorValue(value);
-    const colorObject = Object(utils["c" /* getColorObjectByColorValue */])(availableColors, value);
-    const newStyle = { ...style,
-      border: { ...(style === null || style === void 0 ? void 0 : style.border),
-        color: colorObject !== null && colorObject !== void 0 && colorObject.slug ? undefined : value
-      }
-    }; // If empty slug, ensure undefined to remove attribute.

-    const newNamedColor = colorObject !== null && colorObject !== void 0 && colorObject.slug ? colorObject.slug : undefined;
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle),
-      borderColor: newNamedColor
-    });
-  };

-  const settings = [{
-    label: Object(external_wp_i18n_["__"])('Color'),
-    onColorChange: onChangeColor,
-    colorValue,
-    clearable: false
-  }];
-  return Object(external_wp_element_["createElement"])(dropdown["a" /* default */], Object(esm_extends["a" /* default */])({
-    settings: settings,
-    disableCustomColors: true,
-    disableCustomGradients: true,
-    __experimentalHasMultipleOrigins: true,
-    __experimentalIsRenderedInSidebar: true,
-    enableAlpha: true
-  }, colorGradientSettings));
-}
+
 /**
- * Filters registered block settings, extending attributes to include
- * `borderColor` if needed.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Updated block settings.
+ * Internal dependencies
  */

-function addAttributes(settings) {
-  if (!hasBorderSupport(settings, 'color')) {
-    return settings;
-  } // Allow blocks to specify default value if needed.


-  if (settings.attributes.borderColor) {
-    return settings;
-  } // Add new borderColor attribute to block settings.


-  return { ...settings,
-    attributes: { ...settings.attributes,
-      borderColor: {
-        type: 'string'
-      }
-    }
-  };
-}
-/**
- * Override props assigned to save component to inject border color.
- *
- * @param {Object} props      Additional props applied to save element.
- * @param {Object} blockType  Block type definition.
- * @param {Object} attributes Block's attributes.
- *
- * @return {Object} Filtered props to apply to save element.
- */


-function border_color_addSaveProps(props, blockType, attributes) {
-  var _style$border2;
+const SetupContent = _ref => {
+  let {
+    viewMode,
+    activeSlide,
+    patterns,
+    onBlockPatternSelect
+  } = _ref;
+  const composite = (0,external_wp_components_namespaceObject.__unstableUseCompositeState)();
+  const containerClass = 'block-editor-block-pattern-setup__container';

-  if (!hasBorderSupport(blockType, 'color') || shouldSkipSerialization(blockType)) {
-    return props;
+  if (viewMode === VIEWMODES.carousel) {
+    const slideClass = new Map([[activeSlide, 'active-slide'], [activeSlide - 1, 'previous-slide'], [activeSlide + 1, 'next-slide']]);
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: containerClass
+    }, (0,external_wp_element_namespaceObject.createElement)("ul", {
+      className: "carousel-container"
+    }, patterns.map((pattern, index) => (0,external_wp_element_namespaceObject.createElement)(BlockPatternSlide, {
+      className: slideClass.get(index) || '',
+      key: pattern.name,
+      pattern: pattern
+    }))));
   }

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableComposite, _extends({}, composite, {
+    role: "listbox",
+    className: containerClass,
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Patterns list')
+  }), patterns.map(pattern => (0,external_wp_element_namespaceObject.createElement)(block_pattern_setup_BlockPattern, {
+    key: pattern.name,
+    pattern: pattern,
+    onSelect: onBlockPatternSelect,
+    composite: composite
+  })));
+};
+
+function block_pattern_setup_BlockPattern(_ref2) {
+  let {
+    pattern,
+    onSelect,
+    composite
+  } = _ref2;
+  const baseClassName = 'block-editor-block-pattern-setup-list';
   const {
-    borderColor,
-    style
-  } = attributes;
-  const borderColorClass = Object(utils["a" /* getColorClassName */])('border-color', borderColor);
-  const newClassName = classnames_default()(props.className, {
-    'has-border-color': borderColor || (style === null || style === void 0 ? void 0 : (_style$border2 = style.border) === null || _style$border2 === void 0 ? void 0 : _style$border2.color),
-    [borderColorClass]: !!borderColorClass
-  }); // If we are clearing the last of the previous classes in `className`
-  // set it to `undefined` to avoid rendering empty DOM attributes.
+    blocks,
+    title,
+    description,
+    viewportWidth = 700
+  } = pattern;
+  const descriptionId = (0,external_wp_compose_namespaceObject.useInstanceId)(block_pattern_setup_BlockPattern, `${baseClassName}__item-description`);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: `${baseClassName}__list-item`,
+    "aria-label": pattern.title,
+    "aria-describedby": pattern.description ? descriptionId : undefined
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableCompositeItem, _extends({
+    role: "option",
+    as: "div"
+  }, composite, {
+    className: `${baseClassName}__item`,
+    onClick: () => onSelect(blocks)
+  }), (0,external_wp_element_namespaceObject.createElement)(block_preview, {
+    blocks: blocks,
+    viewportWidth: viewportWidth
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: `${baseClassName}__item-title`
+  }, title)), !!description && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    id: descriptionId
+  }, description));
+}

-  props.className = newClassName ? newClassName : undefined;
-  return props;
+function BlockPatternSlide(_ref3) {
+  let {
+    className,
+    pattern
+  } = _ref3;
+  const {
+    blocks,
+    title,
+    description
+  } = pattern;
+  const descriptionId = (0,external_wp_compose_namespaceObject.useInstanceId)(BlockPatternSlide, 'block-editor-block-pattern-setup-list__item-description');
+  return (0,external_wp_element_namespaceObject.createElement)("li", {
+    className: `pattern-slide ${className}`,
+    "aria-label": title,
+    "aria-describedby": description ? descriptionId : undefined
+  }, (0,external_wp_element_namespaceObject.createElement)(block_preview, {
+    blocks: blocks,
+    __experimentalLive: true
+  }), !!description && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    id: descriptionId
+  }, description));
 }
-/**
- * Filters the registered block settings to apply border color styles and
- * classnames to the block edit wrapper.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
- */

+const BlockPatternSetup = _ref4 => {
+  let {
+    clientId,
+    blockName,
+    filterPatternsFn,
+    startBlankComponent,
+    onBlockPatternSelect
+  } = _ref4;
+  const [viewMode, setViewMode] = (0,external_wp_element_namespaceObject.useState)(VIEWMODES.carousel);
+  const [activeSlide, setActiveSlide] = (0,external_wp_element_namespaceObject.useState)(0);
+  const [showBlank, setShowBlank] = (0,external_wp_element_namespaceObject.useState)(false);
+  const {
+    replaceBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const patterns = use_patterns_setup(clientId, blockName, filterPatternsFn);

-function addEditProps(settings) {
-  if (!hasBorderSupport(settings, 'color') || shouldSkipSerialization(settings)) {
-    return settings;
+  if (!(patterns !== null && patterns !== void 0 && patterns.length) || showBlank) {
+    return startBlankComponent;
   }

-  const existingGetEditWrapperProps = settings.getEditWrapperProps;
-
-  settings.getEditWrapperProps = attributes => {
-    let props = {};
+  const onBlockPatternSelectDefault = blocks => {
+    const clonedBlocks = blocks.map(block => (0,external_wp_blocks_namespaceObject.cloneBlock)(block));
+    replaceBlock(clientId, clonedBlocks);
+  };

-    if (existingGetEditWrapperProps) {
-      props = existingGetEditWrapperProps(attributes);
+  const onPatternSelectCallback = onBlockPatternSelect || onBlockPatternSelectDefault;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: `block-editor-block-pattern-setup view-mode-${viewMode}`
+  }, (0,external_wp_element_namespaceObject.createElement)(setup_toolbar, {
+    viewMode: viewMode,
+    setViewMode: setViewMode,
+    activeSlide: activeSlide,
+    totalSlides: patterns.length,
+    handleNext: () => {
+      setActiveSlide(active => active + 1);
+    },
+    handlePrevious: () => {
+      setActiveSlide(active => active - 1);
+    },
+    onBlockPatternSelect: () => {
+      onPatternSelectCallback(patterns[activeSlide].blocks);
+    },
+    onStartBlank: () => {
+      setShowBlank(true);
     }
+  }), (0,external_wp_element_namespaceObject.createElement)(SetupContent, {
+    viewMode: viewMode,
+    activeSlide: activeSlide,
+    patterns: patterns,
+    onBlockPatternSelect: onPatternSelectCallback
+  }));
+};

-    return border_color_addSaveProps(props, settings, attributes);
-  };
+/* harmony default export */ var block_pattern_setup = (BlockPatternSetup);

-  return settings;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/block-variation-transforms.js
 /**
- * This adds inline styles for color palette colors.
- * Ideally, this is not needed and themes should load their palettes on the editor.
+ * External dependencies
+ */
+
+/** @typedef {import('@wordpress/blocks').WPBlockVariation} WPBlockVariation */
+
+/**
+ * Matches the provided block variations with a block's attributes. If no match
+ * or more than one matches are found it returns `undefined`. If a single match is
+ * found it returns it.
  *
- * @param {Function} BlockListBlock Original component.
+ * This is a simple implementation for now as it takes into account only the attributes
+ * of a block variation and not `InnerBlocks`.
  *
- * @return {Function} Wrapped component.
+ * @param {Object}             blockAttributes - The block attributes to try to find a match.
+ * @param {WPBlockVariation[]} variations      - A list of block variations to test for a match.
+ * @return {?WPBlockVariation} - If a match is found returns it. If not or more than one matches are found returns `undefined`.
  */

+const __experimentalGetMatchingVariation = (blockAttributes, variations) => {
+  if (!variations || !blockAttributes) return;
+  const matches = variations.filter(_ref => {
+    let {
+      attributes
+    } = _ref;
+    if (!attributes || !Object.keys(attributes).length) return false;
+    return (0,external_lodash_namespaceObject.isMatch)(blockAttributes, attributes);
+  });
+  if (matches.length !== 1) return;
+  return matches[0];
+};

-const withBorderColorPaletteStyles = Object(external_wp_compose_["createHigherOrderComponent"])(BlockListBlock => props => {
-  var _getColorObjectByAttr2, _props$wrapperProps;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-variation-transforms/index.js

-  const {
-    name,
-    attributes
-  } = props;
-  const {
-    borderColor
-  } = attributes;
-  const colors = Object(use_setting["a" /* default */])('color.palette') || EMPTY_ARRAY;

-  if (!hasBorderSupport(name, 'color') || shouldSkipSerialization(name)) {
-    return Object(external_wp_element_["createElement"])(BlockListBlock, props);
-  }
+/**
+ * WordPress dependencies
+ */
+

-  const extraStyles = {
-    borderColor: borderColor ? (_getColorObjectByAttr2 = Object(utils["b" /* getColorObjectByAttributeValues */])(colors, borderColor)) === null || _getColorObjectByAttr2 === void 0 ? void 0 : _getColorObjectByAttr2.color : undefined
-  };
-  let wrapperProps = props.wrapperProps;
-  wrapperProps = { ...props.wrapperProps,
-    style: { ...extraStyles,
-      ...((_props$wrapperProps = props.wrapperProps) === null || _props$wrapperProps === void 0 ? void 0 : _props$wrapperProps.style)
-    }
-  };
-  return Object(external_wp_element_["createElement"])(BlockListBlock, Object(esm_extends["a" /* default */])({}, props, {
-    wrapperProps: wrapperProps
-  }));
-});
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/border/addAttributes', addAttributes);
-Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'core/border/addSaveProps', border_color_addSaveProps);
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/border/addEditProps', addEditProps);
-Object(external_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/border/with-border-color-palette-styles', withBorderColorPaletteStyles);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-radius-control/index.js + 4 modules
-var border_radius_control = __webpack_require__("Wy3j");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border-radius.js


 /**
@@ -42163,93 +37495,114 @@ var border_radius_control = __webpack_require__("Wy3j");
  */


-/**
- * Inspector control panel containing the border radius related configuration.
- *
- * @param {Object} props Block properties.
- *
- * @return {WPElement} Border radius edit element.
- */

-function BorderRadiusEdit(props) {
-  var _style$border;

+function __experimentalBlockVariationTransforms(_ref) {
+  let {
+    blockClientId
+  } = _ref;
+  const [selectedValue, setSelectedValue] = (0,external_wp_element_namespaceObject.useState)();
   const {
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;
-
-  const onChange = newRadius => {
-    let newStyle = { ...style,
-      border: { ...(style === null || style === void 0 ? void 0 : style.border),
-        radius: newRadius
-      }
+    updateBlockAttributes
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    variations,
+    blockAttributes
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockVariations
+    } = select(external_wp_blocks_namespaceObject.store);
+    const {
+      getBlockName,
+      getBlockAttributes
+    } = select(store);
+    const blockName = blockClientId && getBlockName(blockClientId);
+    return {
+      variations: blockName && getBlockVariations(blockName, 'transform'),
+      blockAttributes: getBlockAttributes(blockClientId)
     };
+  }, [blockClientId]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    var _getMatchingVariation;

-    if (newRadius === undefined || newRadius === '') {
-      newStyle = Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle);
-    }
+    setSelectedValue((_getMatchingVariation = __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(_ref2 => {
+    let {
+      name,
+      title,
+      description
+    } = _ref2;
+    return {
+      value: name,
+      label: title,
+      info: description
+    };
+  });

-    setAttributes({
-      style: newStyle
+  const onSelectVariation = variationName => {
+    updateBlockAttributes(blockClientId, { ...variations.find(_ref3 => {
+        let {
+          name
+        } = _ref3;
+        return name === variationName;
+      }).attributes
     });
   };

-  return Object(external_wp_element_["createElement"])(border_radius_control["a" /* default */], {
-    values: style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.radius,
-    onChange: onChange
-  });
+  const baseClass = 'block-editor-block-variation-transforms';
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    className: baseClass,
+    label: (0,external_wp_i18n_namespaceObject.__)('Transform to variation'),
+    text: (0,external_wp_i18n_namespaceObject.__)('Transform to variation'),
+    popoverProps: {
+      position: 'bottom center',
+      className: `${baseClass}__popover`
+    },
+    icon: chevron_down,
+    toggleProps: {
+      iconPosition: 'right'
+    }
+  }, () => (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: `${baseClass}__container`
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItemsChoice, {
+    choices: selectOptions,
+    value: selectedValue,
+    onSelect: onSelectVariation
+  }))));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/border-style-control/index.js + 2 modules
-var border_style_control = __webpack_require__("2YCo");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border-style.js
+/* harmony default export */ var block_variation_transforms = (__experimentalBlockVariationTransforms);

-
-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/icons.js


 /**
- * Inspector control for configuring border style property.
- *
- * @param {Object} props Block properties.
- *
- * @return {WPElement} Border style edit element.
+ * WordPress dependencies
  */

-const BorderStyleEdit = props => {
-  var _style$border;
-
-  const {
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;
-
-  const onChange = newBorderStyle => {
-    const newStyleAttributes = { ...style,
-      border: { ...(style === null || style === void 0 ? void 0 : style.border),
-        style: newBorderStyle
-      }
-    };
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyleAttributes)
-    });
-  };
+const alignBottom = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
+  d: "M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"
+}));
+const icons_alignCenter = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
+  d: "M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"
+}));
+const alignTop = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
+  d: "M9 20h6V9H9v11zM4 4v1.5h16V4H4z"
+}));

-  return Object(external_wp_element_["createElement"])(border_style_control["a" /* default */], {
-    value: style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.style,
-    onChange: onChange
-  });
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/ui.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border-width.js


 /**
@@ -42257,964 +37610,1175 @@ const BorderStyleEdit = props => {
  */


-
 /**
  * Internal dependencies
  */


+const ui_BLOCK_ALIGNMENTS_CONTROLS = {
+  top: {
+    icon: alignTop,
+    title: (0,external_wp_i18n_namespaceObject._x)('Align top', 'Block vertical alignment setting')
+  },
+  center: {
+    icon: icons_alignCenter,
+    title: (0,external_wp_i18n_namespaceObject._x)('Align middle', 'Block vertical alignment setting')
+  },
+  bottom: {
+    icon: alignBottom,
+    title: (0,external_wp_i18n_namespaceObject._x)('Align bottom', 'Block vertical alignment setting')
+  }
+};
+const ui_DEFAULT_CONTROLS = ['top', 'center', 'bottom'];
+const ui_DEFAULT_CONTROL = 'top';
+const block_vertical_alignment_control_ui_POPOVER_PROPS = {
+  isAlternate: true
+};

-const MIN_BORDER_WIDTH = 0;
-/**
- * Inspector control for configuring border width property.
- *
- * @param {Object} props Block properties.
- *
- * @return {WPElement} Border width edit element.
- */
-
-const BorderWidthEdit = props => {
-  const {
-    attributes: {
-      borderColor,
-      style
-    },
-    setAttributes
-  } = props;
-  const {
-    width,
-    color: customBorderColor,
-    style: borderStyle
-  } = (style === null || style === void 0 ? void 0 : style.border) || {};
-  const [styleSelection, setStyleSelection] = Object(external_wp_element_["useState"])();
-  const [colorSelection, setColorSelection] = Object(external_wp_element_["useState"])(); // Temporarily track previous border color & style selections to be able to
-  // restore them when border width changes from zero value.
-
-  Object(external_wp_element_["useEffect"])(() => {
-    if (borderStyle !== 'none') {
-      setStyleSelection(borderStyle);
-    }
-  }, [borderStyle]);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (borderColor || customBorderColor) {
-      setColorSelection({
-        name: !!borderColor ? borderColor : undefined,
-        color: !!customBorderColor ? customBorderColor : undefined
-      });
-    }
-  }, [borderColor, customBorderColor]);
+function BlockVerticalAlignmentUI(_ref) {
+  let {
+    value,
+    onChange,
+    controls = ui_DEFAULT_CONTROLS,
+    isCollapsed = true,
+    isToolbar
+  } = _ref;

-  const onChange = newWidth => {
-    let newStyle = { ...style,
-      border: { ...(style === null || style === void 0 ? void 0 : style.border),
-        width: newWidth
-      }
-    }; // Used to clear named border color attribute.
+  function applyOrUnset(align) {
+    return () => onChange(value === align ? undefined : align);
+  }

-    let borderPaletteColor = borderColor;
-    const hasZeroWidth = parseFloat(newWidth) === 0; // Setting the border width explicitly to zero will also set the
-    // border style to `none` and clear border color attributes.
+  const activeAlignment = ui_BLOCK_ALIGNMENTS_CONTROLS[value];
+  const defaultAlignmentControl = ui_BLOCK_ALIGNMENTS_CONTROLS[ui_DEFAULT_CONTROL];
+  const UIComponent = isToolbar ? external_wp_components_namespaceObject.ToolbarGroup : external_wp_components_namespaceObject.ToolbarDropdownMenu;
+  const extraProps = isToolbar ? {
+    isCollapsed
+  } : {};
+  return (0,external_wp_element_namespaceObject.createElement)(UIComponent, _extends({
+    popoverProps: block_vertical_alignment_control_ui_POPOVER_PROPS,
+    icon: activeAlignment ? activeAlignment.icon : defaultAlignmentControl.icon,
+    label: (0,external_wp_i18n_namespaceObject._x)('Change vertical alignment', 'Block vertical alignment setting label'),
+    controls: controls.map(control => {
+      return { ...ui_BLOCK_ALIGNMENTS_CONTROLS[control],
+        isActive: value === control,
+        role: isCollapsed ? 'menuitemradio' : undefined,
+        onClick: applyOrUnset(control)
+      };
+    })
+  }, extraProps));
+}
+/**
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/block-vertical-alignment-toolbar/README.md
+ */

-    if (hasZeroWidth) {
-      borderPaletteColor = undefined;
-      newStyle.border.color = undefined;
-      newStyle.border.style = 'none';
-    } // Restore previous border style selection if width is now not zero and
-    // border style was 'none'. This is to support changes to the UI which
-    // change the border style UI to a segmented control without a "none"
-    // option.

+/* harmony default export */ var block_vertical_alignment_control_ui = (BlockVerticalAlignmentUI);

-    if (!hasZeroWidth && borderStyle === 'none') {
-      newStyle.border.style = styleSelection;
-    } // Restore previous border color selection if width is no longer zero
-    // and current border color is undefined.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/index.js


-    if (!hasZeroWidth && borderColor === undefined) {
-      borderPaletteColor = colorSelection === null || colorSelection === void 0 ? void 0 : colorSelection.name;
-      newStyle.border.color = colorSelection === null || colorSelection === void 0 ? void 0 : colorSelection.color;
-    } // If width was reset, clean out undefined styles.

+/**
+ * Internal dependencies
+ */

-    if (newWidth === undefined || newWidth === '') {
-      newStyle = Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle);
-    }
+function BlockVerticalAlignmentControl(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(block_vertical_alignment_control_ui, _extends({}, props, {
+    isToolbar: false
+  }));
+}
+function BlockVerticalAlignmentToolbar(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(block_vertical_alignment_control_ui, _extends({}, props, {
+    isToolbar: true
+  }));
+}

-    setAttributes({
-      borderColor: borderPaletteColor,
-      style: newStyle
-    });
-  };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/with-color-context.js

-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-    availableUnits: Object(use_setting["a" /* default */])('spacing.units') || ['px', 'em', 'rem']
-  });
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
-    value: width,
-    label: Object(external_wp_i18n_["__"])('Width'),
-    min: MIN_BORDER_WIDTH,
-    onChange: onChange,
-    units: units
-  });
-};

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/border.js

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */


-
-
 /**
  * Internal dependencies
  */


+/* harmony default export */ var with_color_context = ((0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => {
+  return props => {
+    const colorsFeature = useSetting('color.palette');
+    const disableCustomColorsFeature = !useSetting('color.custom');
+    const colors = props.colors === undefined ? colorsFeature : props.colors;
+    const disableCustomColors = props.disableCustomColors === undefined ? disableCustomColorsFeature : props.disableCustomColors;
+    const hasColorsToChoose = !(0,external_lodash_namespaceObject.isEmpty)(colors) || !disableCustomColors;
+    return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, props, {
+      colors,
+      disableCustomColors,
+      hasColorsToChoose
+    }));
+  };
+}, 'withColorContext'));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/index.js
+/**
+ * WordPress dependencies
+ */

+/**
+ * Internal dependencies
+ */


+/* harmony default export */ var color_palette = (with_color_context(external_wp_components_namespaceObject.ColorPalette));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/color-palette/control.js

-const BORDER_SUPPORT_KEY = '__experimentalBorder';
-function BorderPanel(props) {
-  const isDisabled = useIsBorderDisabled(props);
-  const isSupported = hasBorderSupport(props.name);
-  const isColorSupported = Object(use_setting["a" /* default */])('border.color') && hasBorderSupport(props.name, 'color');
-  const isRadiusSupported = Object(use_setting["a" /* default */])('border.radius') && hasBorderSupport(props.name, 'radius');
-  const isStyleSupported = Object(use_setting["a" /* default */])('border.style') && hasBorderSupport(props.name, 'style');
-  const isWidthSupported = Object(use_setting["a" /* default */])('border.width') && hasBorderSupport(props.name, 'width');

-  if (isDisabled || !isSupported) {
-    return null;
-  }

-  return Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    className: "block-editor-hooks__border-controls",
-    title: Object(external_wp_i18n_["__"])('Border'),
-    initialOpen: false
-  }, (isWidthSupported || isStyleSupported) && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-hooks__border-controls-row"
-  }, isWidthSupported && Object(external_wp_element_["createElement"])(BorderWidthEdit, props), isStyleSupported && Object(external_wp_element_["createElement"])(BorderStyleEdit, props)), isColorSupported && Object(external_wp_element_["createElement"])(BorderColorEdit, props), isRadiusSupported && Object(external_wp_element_["createElement"])(BorderRadiusEdit, props)));
-}
 /**
- * Determine whether there is block support for border properties.
- *
- * @param {string} blockName Block name.
- * @param {string} feature   Border feature to check support for.
- *
- * @return {boolean} Whether there is support.
+ * Internal dependencies
  */

-function hasBorderSupport(blockName) {
-  let feature = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'any';
+function ColorPaletteControl(_ref) {
+  let {
+    onChange,
+    value,
+    ...otherProps
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(control, _extends({}, otherProps, {
+    onColorChange: onChange,
+    colorValue: value,
+    gradients: [],
+    disableCustomGradients: true
+  }));
+}

-  if (external_wp_element_["Platform"].OS !== 'web') {
-    return false;
-  }
+;// CONCATENATED MODULE: ./node_modules/react-easy-crop/node_modules/tslib/tslib.es6.js
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+***************************************************************************** */
+/* global Reflect, Promise */
+
+var extendStatics = function(d, b) {
+    extendStatics = Object.setPrototypeOf ||
+        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
+    return extendStatics(d, b);
+};
+
+function __extends(d, b) {
+    extendStatics(d, b);
+    function __() { this.constructor = d; }
+    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+}
+
+var __assign = function() {
+    __assign = Object.assign || function __assign(t) {
+        for (var s, i = 1, n = arguments.length; i < n; i++) {
+            s = arguments[i];
+            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
+        }
+        return t;
+    }
+    return __assign.apply(this, arguments);
+}
+
+function __rest(s, e) {
+    var t = {};
+    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
+        t[p] = s[p];
+    if (s != null && typeof Object.getOwnPropertySymbols === "function")
+        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
+                t[p[i]] = s[p[i]];
+        }
+    return t;
+}
+
+function __decorate(decorators, target, key, desc) {
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
+    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
+}
+
+function __param(paramIndex, decorator) {
+    return function (target, key) { decorator(target, key, paramIndex); }
+}
+
+function __metadata(metadataKey, metadataValue) {
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
+}
+
+function __awaiter(thisArg, _arguments, P, generator) {
+    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+    return new (P || (P = Promise))(function (resolve, reject) {
+        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+        step((generator = generator.apply(thisArg, _arguments || [])).next());
+    });
+}
+
+function __generator(thisArg, body) {
+    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+    function verb(n) { return function (v) { return step([n, v]); }; }
+    function step(op) {
+        if (f) throw new TypeError("Generator is already executing.");
+        while (_) try {
+            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+            if (y = 0, t) op = [op[0] & 2, t.value];
+            switch (op[0]) {
+                case 0: case 1: t = op; break;
+                case 4: _.label++; return { value: op[1], done: false };
+                case 5: _.label++; y = op[1]; op = [0]; continue;
+                case 7: op = _.ops.pop(); _.trys.pop(); continue;
+                default:
+                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+                    if (t[2]) _.ops.pop();
+                    _.trys.pop(); continue;
+            }
+            op = body.call(thisArg, _);
+        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+    }
+}
+
+var __createBinding = Object.create ? (function(o, m, k, k2) {
+    if (k2 === undefined) k2 = k;
+    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+}) : (function(o, m, k, k2) {
+    if (k2 === undefined) k2 = k;
+    o[k2] = m[k];
+});
+
+function __exportStar(m, o) {
+    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
+}
+
+function __values(o) {
+    var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
+    if (m) return m.call(o);
+    if (o && typeof o.length === "number") return {
+        next: function () {
+            if (o && i >= o.length) o = void 0;
+            return { value: o && o[i++], done: !o };
+        }
+    };
+    throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
+}
+
+function __read(o, n) {
+    var m = typeof Symbol === "function" && o[Symbol.iterator];
+    if (!m) return o;
+    var i = m.call(o), r, ar = [], e;
+    try {
+        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
+    }
+    catch (error) { e = { error: error }; }
+    finally {
+        try {
+            if (r && !r.done && (m = i["return"])) m.call(i);
+        }
+        finally { if (e) throw e.error; }
+    }
+    return ar;
+}
+
+function __spread() {
+    for (var ar = [], i = 0; i < arguments.length; i++)
+        ar = ar.concat(__read(arguments[i]));
+    return ar;
+}
+
+function __spreadArrays() {
+    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
+    for (var r = Array(s), k = 0, i = 0; i < il; i++)
+        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
+            r[k] = a[j];
+    return r;
+};
+
+function __await(v) {
+    return this instanceof __await ? (this.v = v, this) : new __await(v);
+}
+
+function __asyncGenerator(thisArg, _arguments, generator) {
+    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
+    var g = generator.apply(thisArg, _arguments || []), i, q = [];
+    return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
+    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
+    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
+    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
+    function fulfill(value) { resume("next", value); }
+    function reject(value) { resume("throw", value); }
+    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
+}
+
+function __asyncDelegator(o) {
+    var i, p;
+    return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
+    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
+}
+
+function __asyncValues(o) {
+    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
+    var m = o[Symbol.asyncIterator], i;
+    return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
+    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
+    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
+}
+
+function __makeTemplateObject(cooked, raw) {
+    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
+    return cooked;
+};
+
+var __setModuleDefault = Object.create ? (function(o, v) {
+    Object.defineProperty(o, "default", { enumerable: true, value: v });
+}) : function(o, v) {
+    o["default"] = v;
+};
+
+function __importStar(mod) {
+    if (mod && mod.__esModule) return mod;
+    var result = {};
+    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+    __setModuleDefault(result, mod);
+    return result;
+}
+
+function __importDefault(mod) {
+    return (mod && mod.__esModule) ? mod : { default: mod };
+}
+
+function __classPrivateFieldGet(receiver, privateMap) {
+    if (!privateMap.has(receiver)) {
+        throw new TypeError("attempted to get private field on non-instance");
+    }
+    return privateMap.get(receiver);
+}
+
+function __classPrivateFieldSet(receiver, privateMap, value) {
+    if (!privateMap.has(receiver)) {
+        throw new TypeError("attempted to set private field on non-instance");
+    }
+    privateMap.set(receiver, value);
+    return value;
+}

-  const support = Object(external_wp_blocks_["getBlockSupport"])(blockName, BORDER_SUPPORT_KEY);
+// EXTERNAL MODULE: ./node_modules/normalize-wheel/index.js
+var normalize_wheel = __webpack_require__(7970);
+var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
+;// CONCATENATED MODULE: ./node_modules/react-easy-crop/index.module.js

-  if (support === true) {
-    return true;
-  }

-  if (feature === 'any') {
-    return !!(support !== null && support !== void 0 && support.color || support !== null && support !== void 0 && support.radius || support !== null && support !== void 0 && support.width || support !== null && support !== void 0 && support.style);
-  }

-  return !!(support !== null && support !== void 0 && support[feature]);
-}
-/**
- * Check whether serialization of border classes and styles should be skipped.
- *
- * @param {string|Object} blockType Block name or block type object.
- *
- * @return {boolean} Whether serialization of border properties should occur.
- */

-function shouldSkipSerialization(blockType) {
-  const support = Object(external_wp_blocks_["getBlockSupport"])(blockType, BORDER_SUPPORT_KEY);
-  return support === null || support === void 0 ? void 0 : support.__experimentalSkipSerialization;
-}
-/**
- * Determines if all border support features have been disabled.
- *
- * @return {boolean} If border support is completely disabled.
+/**
+ * Compute the dimension of the crop area based on media size,
+ * aspect ratio and optionally rotation
  */

-const useIsBorderDisabled = () => {
-  const configs = [!Object(use_setting["a" /* default */])('border.color'), !Object(use_setting["a" /* default */])('border.radius'), !Object(use_setting["a" /* default */])('border.style'), !Object(use_setting["a" /* default */])('border.width')];
-  return configs.every(Boolean);
-};
+function getCropSize(mediaWidth, mediaHeight, containerWidth, containerHeight, aspect, rotation) {
+  if (rotation === void 0) {
+    rotation = 0;
+  }
+
+  var _a = translateSize(mediaWidth, mediaHeight, rotation),
+      width = _a.width,
+      height = _a.height;
+
+  var fittingWidth = Math.min(width, containerWidth);
+  var fittingHeight = Math.min(height, containerHeight);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/gradients/use-gradient.js
-var use_gradient = __webpack_require__("Cn0l");
+  if (fittingWidth > fittingHeight * aspect) {
+    return {
+      width: fittingHeight * aspect,
+      height: fittingHeight
+    };
+  }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/colors-gradients/panel-color-gradient-settings.js
-var panel_color_gradient_settings = __webpack_require__("yU1v");
+  return {
+    width: fittingWidth,
+    height: fittingWidth / aspect
+  };
+}
+/**
+ * Ensure a new media position stays in the crop area.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js
-var contrast_checker = __webpack_require__("6c9H");
+function restrictPosition(position, mediaSize, cropSize, zoom, rotation) {
+  if (rotation === void 0) {
+    rotation = 0;
+  }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-refs.js
-var use_block_refs = __webpack_require__("PKbb");
+  var _a = translateSize(mediaSize.width, mediaSize.height, rotation),
+      width = _a.width,
+      height = _a.height;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/color-panel.js
+  return {
+    x: restrictPositionCoord(position.x, width, cropSize.width, zoom),
+    y: restrictPositionCoord(position.y, height, cropSize.height, zoom)
+  };
+}

+function restrictPositionCoord(position, mediaSize, cropSize, zoom) {
+  var maxPosition = mediaSize * zoom / 2 - cropSize / 2;
+  return Math.min(maxPosition, Math.max(position, -maxPosition));
+}

-/**
- * WordPress dependencies
+function getDistanceBetweenPoints(pointA, pointB) {
+  return Math.sqrt(Math.pow(pointA.y - pointB.y, 2) + Math.pow(pointA.x - pointB.x, 2));
+}
+function getRotationBetweenPoints(pointA, pointB) {
+  return Math.atan2(pointB.y - pointA.y, pointB.x - pointA.x) * 180 / Math.PI;
+}
+/**
+ * Compute the output cropped area of the media in percentages and pixels.
+ * x/y are the top-left coordinates on the src media
  */

+function computeCroppedArea(crop, mediaSize, cropSize, aspect, zoom, rotation, restrictPosition) {
+  if (rotation === void 0) {
+    rotation = 0;
+  }

-/**
- * Internal dependencies
- */
+  if (restrictPosition === void 0) {
+    restrictPosition = true;
+  } // if the media is rotated by the user, we cannot limit the position anymore
+  // as it might need to be negative.


+  var limitAreaFn = restrictPosition && rotation === 0 ? limitArea : noOp;
+  var croppedAreaPercentages = {
+    x: limitAreaFn(100, ((mediaSize.width - cropSize.width / zoom) / 2 - crop.x / zoom) / mediaSize.width * 100),
+    y: limitAreaFn(100, ((mediaSize.height - cropSize.height / zoom) / 2 - crop.y / zoom) / mediaSize.height * 100),
+    width: limitAreaFn(100, cropSize.width / mediaSize.width * 100 / zoom),
+    height: limitAreaFn(100, cropSize.height / mediaSize.height * 100 / zoom)
+  }; // we compute the pixels size naively

+  var widthInPixels = Math.round(limitAreaFn(mediaSize.naturalWidth, croppedAreaPercentages.width * mediaSize.naturalWidth / 100));
+  var heightInPixels = Math.round(limitAreaFn(mediaSize.naturalHeight, croppedAreaPercentages.height * mediaSize.naturalHeight / 100));
+  var isImgWiderThanHigh = mediaSize.naturalWidth >= mediaSize.naturalHeight * aspect; // then we ensure the width and height exactly match the aspect (to avoid rounding approximations)
+  // if the media is wider than high, when zoom is 0, the crop height will be equals to iamge height
+  // thus we want to compute the width from the height and aspect for accuracy.
+  // Otherwise, we compute the height from width and aspect.

+  var sizePixels = isImgWiderThanHigh ? {
+    width: Math.round(heightInPixels * aspect),
+    height: heightInPixels
+  } : {
+    width: widthInPixels,
+    height: Math.round(widthInPixels / aspect)
+  };

+  var croppedAreaPixels = __assign(__assign({}, sizePixels), {
+    x: Math.round(limitAreaFn(mediaSize.naturalWidth - sizePixels.width, croppedAreaPercentages.x * mediaSize.naturalWidth / 100)),
+    y: Math.round(limitAreaFn(mediaSize.naturalHeight - sizePixels.height, croppedAreaPercentages.y * mediaSize.naturalHeight / 100))
+  });

-function getComputedStyle(node) {
-  return node.ownerDocument.defaultView.getComputedStyle(node);
+  return {
+    croppedAreaPercentages: croppedAreaPercentages,
+    croppedAreaPixels: croppedAreaPixels
+  };
 }
+/**
+ * Ensure the returned value is between 0 and max
+ */

-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);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!enableContrastChecking) {
-      return;
-    }
-
-    if (!ref.current) {
-      return;
-    }
-
-    setDetectedColor(getComputedStyle(ref.current).color);
-    let backgroundColorNode = ref.current;
-    let backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor;
-
-    while (backgroundColor === 'rgba(0, 0, 0, 0)' && backgroundColorNode.parentNode && backgroundColorNode.parentNode.nodeType === backgroundColorNode.parentNode.ELEMENT_NODE) {
-      backgroundColorNode = backgroundColorNode.parentNode;
-      backgroundColor = getComputedStyle(backgroundColorNode).backgroundColor;
-    }
+function limitArea(max, value) {
+  return Math.min(max, Math.max(0, value));
+}

-    setDetectedBackgroundColor(backgroundColor);
-  });
-  return Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */], null, Object(external_wp_element_["createElement"])(panel_color_gradient_settings["a" /* default */], {
-    title: Object(external_wp_i18n_["__"])('Color'),
-    initialOpen: false,
-    settings: settings,
-    showTitle: showTitle,
-    __experimentalHasMultipleOrigins: true,
-    __experimentalIsRenderedInSidebar: true
-  }, enableContrastChecking && Object(external_wp_element_["createElement"])(contrast_checker["a" /* default */], {
-    backgroundColor: detectedBackgroundColor,
-    textColor: detectedColor
-  })));
+function noOp(_max, value) {
+  return value;
 }
+/**
+ * Compute the crop and zoom from the croppedAreaPixels
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/color.js

+function getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) {
+  var mediaZoom = mediaSize.width / mediaSize.naturalWidth;

+  if (cropSize) {
+    var isHeightMaxSize_1 = cropSize.height > cropSize.width;
+    return isHeightMaxSize_1 ? cropSize.height / mediaZoom / croppedAreaPixels.height : cropSize.width / mediaZoom / croppedAreaPixels.width;
+  }

-/**
- * External dependencies
+  var aspect = croppedAreaPixels.width / croppedAreaPixels.height;
+  var isHeightMaxSize = mediaSize.naturalWidth >= mediaSize.naturalHeight * aspect;
+  return isHeightMaxSize ? mediaSize.naturalHeight / croppedAreaPixels.height : mediaSize.naturalWidth / croppedAreaPixels.width;
+}
+/**
+ * Compute the crop and zoom from the croppedAreaPixels
  */


-/**
- * WordPress dependencies
+function getInitialCropFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize) {
+  var mediaZoom = mediaSize.width / mediaSize.naturalWidth;
+  var zoom = getZoomFromCroppedAreaPixels(croppedAreaPixels, mediaSize, cropSize);
+  var cropZoom = mediaZoom * zoom;
+  var crop = {
+    x: ((mediaSize.naturalWidth - croppedAreaPixels.width) / 2 - croppedAreaPixels.x) * cropZoom,
+    y: ((mediaSize.naturalHeight - croppedAreaPixels.height) / 2 - croppedAreaPixels.y) * cropZoom
+  };
+  return {
+    crop: crop,
+    zoom: zoom
+  };
+}
+/**
+ * Return the point that is the center of point a and b
  */

+function getCenter(a, b) {
+  return {
+    x: (b.x + a.x) / 2,
+    y: (b.y + a.y) / 2
+  };
+}
+/**
+ *
+ * Returns an x,y point once rotated around xMid,yMid
+ */

+function rotateAroundMidPoint(x, y, xMid, yMid, degrees) {
+  var cos = Math.cos;
+  var sin = Math.sin;
+  var radian = degrees * Math.PI / 180; // Convert to radians
+  // Subtract midpoints, so that midpoint is translated to origin
+  // and add it in the end again

+  var xr = (x - xMid) * cos(radian) - (y - yMid) * sin(radian) + xMid;
+  var yr = (x - xMid) * sin(radian) + (y - yMid) * cos(radian) + yMid;
+  return [xr, yr];
+}
+/**
+ * Returns the new bounding area of a rotated rectangle.
+ */

-
-
-/**
- * Internal dependencies
+function translateSize(width, height, rotation) {
+  var centerX = width / 2;
+  var centerY = height / 2;
+  var outerBounds = [rotateAroundMidPoint(0, 0, centerX, centerY, rotation), rotateAroundMidPoint(width, 0, centerX, centerY, rotation), rotateAroundMidPoint(width, height, centerX, centerY, rotation), rotateAroundMidPoint(0, height, centerX, centerY, rotation)];
+  var minX = Math.min.apply(Math, outerBounds.map(function (p) {
+    return p[0];
+  }));
+  var maxX = Math.max.apply(Math, outerBounds.map(function (p) {
+    return p[0];
+  }));
+  var minY = Math.min.apply(Math, outerBounds.map(function (p) {
+    return p[1];
+  }));
+  var maxY = Math.max.apply(Math, outerBounds.map(function (p) {
+    return p[1];
+  }));
+  return {
+    width: maxX - minX,
+    height: maxY - minY
+  };
+}
+/**
+ * Combine multiple class names into a single string.
  */

+function classNames() {
+  var args = [];

+  for (var _i = 0; _i < arguments.length; _i++) {
+    args[_i] = arguments[_i];
+  }

+  return args.filter(function (value) {
+    if (typeof value === 'string' && value.length > 0) {
+      return true;
+    }

+    return false;
+  }).join(' ').trim();
+}

+var css_248z = ".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";

-const COLOR_SUPPORT_KEY = 'color';
+var MIN_ZOOM = 1;
+var MAX_ZOOM = 3;

-const hasColorSupport = blockType => {
-  const colorSupport = Object(external_wp_blocks_["getBlockSupport"])(blockType, COLOR_SUPPORT_KEY);
-  return colorSupport && (colorSupport.link === true || colorSupport.gradient === true || colorSupport.background !== false || colorSupport.text !== false);
-};
+var Cropper =
+/** @class */
+function (_super) {
+  __extends(Cropper, _super);

-const color_shouldSkipSerialization = blockType => {
-  const colorSupport = Object(external_wp_blocks_["getBlockSupport"])(blockType, COLOR_SUPPORT_KEY);
-  return colorSupport === null || colorSupport === void 0 ? void 0 : colorSupport.__experimentalSkipSerialization;
-};
+  function Cropper() {
+    var _this = _super !== null && _super.apply(this, arguments) || this;

-const hasLinkColorSupport = blockType => {
-  if (external_wp_element_["Platform"].OS !== 'web') {
-    return false;
-  }
+    _this.imageRef = null;
+    _this.videoRef = null;
+    _this.containerRef = null;
+    _this.styleRef = null;
+    _this.containerRect = null;
+    _this.mediaSize = {
+      width: 0,
+      height: 0,
+      naturalWidth: 0,
+      naturalHeight: 0
+    };
+    _this.dragStartPosition = {
+      x: 0,
+      y: 0
+    };
+    _this.dragStartCrop = {
+      x: 0,
+      y: 0
+    };
+    _this.lastPinchDistance = 0;
+    _this.lastPinchRotation = 0;
+    _this.rafDragTimeout = null;
+    _this.rafPinchTimeout = null;
+    _this.wheelTimer = null;
+    _this.state = {
+      cropSize: null,
+      hasWheelJustStarted: false
+    }; // this is to prevent Safari on iOS >= 10 to zoom the page

-  const colorSupport = Object(external_wp_blocks_["getBlockSupport"])(blockType, COLOR_SUPPORT_KEY);
-  return Object(external_lodash_["isObject"])(colorSupport) && !!colorSupport.link;
-};
+    _this.preventZoomSafari = function (e) {
+      return e.preventDefault();
+    };

-const hasGradientSupport = blockType => {
-  const colorSupport = Object(external_wp_blocks_["getBlockSupport"])(blockType, COLOR_SUPPORT_KEY);
-  return Object(external_lodash_["isObject"])(colorSupport) && !!colorSupport.gradients;
-};
+    _this.cleanEvents = function () {
+      document.removeEventListener('mousemove', _this.onMouseMove);
+      document.removeEventListener('mouseup', _this.onDragStopped);
+      document.removeEventListener('touchmove', _this.onTouchMove);
+      document.removeEventListener('touchend', _this.onDragStopped);
+    };

-const hasBackgroundColorSupport = blockType => {
-  const colorSupport = Object(external_wp_blocks_["getBlockSupport"])(blockType, COLOR_SUPPORT_KEY);
-  return colorSupport && colorSupport.background !== false;
-};
+    _this.clearScrollEvent = function () {
+      if (_this.containerRef) _this.containerRef.removeEventListener('wheel', _this.onWheel);

-const hasTextColorSupport = blockType => {
-  const colorSupport = Object(external_wp_blocks_["getBlockSupport"])(blockType, COLOR_SUPPORT_KEY);
-  return colorSupport && colorSupport.text !== false;
-};
-/**
- * Filters registered block settings, extending attributes to include
- * `backgroundColor` and `textColor` attribute.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
- */
+      if (_this.wheelTimer) {
+        clearTimeout(_this.wheelTimer);
+      }
+    };

+    _this.onMediaLoad = function () {
+      _this.computeSizes();

-function color_addAttributes(settings) {
-  if (!hasColorSupport(settings)) {
-    return settings;
-  } // allow blocks to specify their own attribute definition with default values if needed.
+      _this.emitCropData();

+      _this.setInitialCrop();

-  if (!settings.attributes.backgroundColor) {
-    Object.assign(settings.attributes, {
-      backgroundColor: {
-        type: 'string'
+      if (_this.props.onMediaLoaded) {
+        _this.props.onMediaLoaded(_this.mediaSize);
       }
-    });
-  }
+    };

-  if (!settings.attributes.textColor) {
-    Object.assign(settings.attributes, {
-      textColor: {
-        type: 'string'
-      }
-    });
-  }
+    _this.setInitialCrop = function () {
+      var _a = _this.props,
+          initialCroppedAreaPixels = _a.initialCroppedAreaPixels,
+          cropSize = _a.cropSize;

-  if (hasGradientSupport(settings) && !settings.attributes.gradient) {
-    Object.assign(settings.attributes, {
-      gradient: {
-        type: 'string'
+      if (!initialCroppedAreaPixels) {
+        return;
       }
-    });
-  }
-
-  return settings;
-}
-/**
- * Override props assigned to save component to inject colors classnames.
- *
- * @param {Object} props      Additional props applied to save element.
- * @param {Object} blockType  Block type.
- * @param {Object} attributes Block attributes.
- *
- * @return {Object} Filtered props applied to save element.
- */
-
-
-function color_addSaveProps(props, blockType, attributes) {
-  var _style$color, _style$color2, _style$color3, _style$color4, _style$elements, _style$elements$link;

-  if (!hasColorSupport(blockType) || color_shouldSkipSerialization(blockType)) {
-    return props;
-  }
+      var _b = getInitialCropFromCroppedAreaPixels(initialCroppedAreaPixels, _this.mediaSize, cropSize),
+          crop = _b.crop,
+          zoom = _b.zoom;

-  const hasGradient = hasGradientSupport(blockType); // I'd have prefered to avoid the "style" attribute usage here
+      _this.props.onCropChange(crop);

-  const {
-    backgroundColor,
-    textColor,
-    gradient,
-    style
-  } = attributes;
-  const backgroundClass = Object(utils["a" /* getColorClassName */])('background-color', backgroundColor);
+      _this.props.onZoomChange && _this.props.onZoomChange(zoom);
+    };

-  const gradientClass = Object(use_gradient["a" /* __experimentalGetGradientClass */])(gradient);
+    _this.computeSizes = function () {
+      var _a, _b, _c, _d, _e, _f;

-  const textClass = Object(utils["a" /* getColorClassName */])('color', textColor);
-  const newClassName = classnames_default()(props.className, textClass, gradientClass, {
-    // Don't apply the background class if there's a custom gradient
-    [backgroundClass]: (!hasGradient || !(style !== null && style !== void 0 && (_style$color = style.color) !== null && _style$color !== void 0 && _style$color.gradient)) && !!backgroundClass,
-    'has-text-color': textColor || (style === null || style === void 0 ? void 0 : (_style$color2 = style.color) === null || _style$color2 === void 0 ? void 0 : _style$color2.text),
-    'has-background': backgroundColor || (style === null || style === void 0 ? void 0 : (_style$color3 = style.color) === null || _style$color3 === void 0 ? void 0 : _style$color3.background) || hasGradient && (gradient || (style === null || style === void 0 ? void 0 : (_style$color4 = style.color) === null || _style$color4 === void 0 ? void 0 : _style$color4.gradient)),
-    'has-link-color': style === null || style === void 0 ? void 0 : (_style$elements = style.elements) === null || _style$elements === void 0 ? void 0 : (_style$elements$link = _style$elements.link) === null || _style$elements$link === void 0 ? void 0 : _style$elements$link.color
-  });
-  props.className = newClassName ? newClassName : undefined;
-  return props;
-}
-/**
- * Filters registered block settings to extand the block edit wrapper
- * to apply the desired styles and classnames properly.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
- */
+      var mediaRef = _this.imageRef || _this.videoRef;

-function color_addEditProps(settings) {
-  if (!hasColorSupport(settings) || color_shouldSkipSerialization(settings)) {
-    return settings;
-  }
+      if (mediaRef && _this.containerRef) {
+        _this.containerRect = _this.containerRef.getBoundingClientRect();
+        _this.mediaSize = {
+          width: mediaRef.offsetWidth,
+          height: mediaRef.offsetHeight,
+          naturalWidth: ((_a = _this.imageRef) === null || _a === void 0 ? void 0 : _a.naturalWidth) || ((_b = _this.videoRef) === null || _b === void 0 ? void 0 : _b.videoWidth) || 0,
+          naturalHeight: ((_c = _this.imageRef) === null || _c === void 0 ? void 0 : _c.naturalHeight) || ((_d = _this.videoRef) === null || _d === void 0 ? void 0 : _d.videoHeight) || 0
+        };
+        var cropSize = _this.props.cropSize ? _this.props.cropSize : getCropSize(mediaRef.offsetWidth, mediaRef.offsetHeight, _this.containerRect.width, _this.containerRect.height, _this.props.aspect, _this.props.rotation);

-  const existingGetEditWrapperProps = settings.getEditWrapperProps;
+        if (((_e = _this.state.cropSize) === null || _e === void 0 ? void 0 : _e.height) !== cropSize.height || ((_f = _this.state.cropSize) === null || _f === void 0 ? void 0 : _f.width) !== cropSize.width) {
+          _this.props.onCropSizeChange && _this.props.onCropSizeChange(cropSize);
+        }

-  settings.getEditWrapperProps = attributes => {
-    let props = {};
+        _this.setState({
+          cropSize: cropSize
+        }, _this.recomputeCropPosition);
+      }
+    };

-    if (existingGetEditWrapperProps) {
-      props = existingGetEditWrapperProps(attributes);
-    }
+    _this.onMouseDown = function (e) {
+      e.preventDefault();
+      document.addEventListener('mousemove', _this.onMouseMove);
+      document.addEventListener('mouseup', _this.onDragStopped);

-    return color_addSaveProps(props, settings, attributes);
-  };
+      _this.onDragStart(Cropper.getMousePoint(e));
+    };

-  return settings;
-}
+    _this.onMouseMove = function (e) {
+      return _this.onDrag(Cropper.getMousePoint(e));
+    };

-const getLinkColorFromAttributeValue = (colors, value) => {
-  const attributeParsed = /var:preset\|color\|(.+)/.exec(value);
+    _this.onTouchStart = function (e) {
+      document.addEventListener('touchmove', _this.onTouchMove, {
+        passive: false
+      }); // iOS 11 now defaults to passive: true

-  if (attributeParsed && attributeParsed[1]) {
-    return Object(utils["b" /* getColorObjectByAttributeValues */])(colors, attributeParsed[1]).color;
-  }
+      document.addEventListener('touchend', _this.onDragStopped);

-  return value;
-};
+      if (e.touches.length === 2) {
+        _this.onPinchStart(e);
+      } else if (e.touches.length === 1) {
+        _this.onDragStart(Cropper.getTouchPoint(e.touches[0]));
+      }
+    };

-function immutableSet(object, path, value) {
-  return Object(external_lodash_["setWith"])(object ? Object(external_lodash_["clone"])(object) : {}, path, value, external_lodash_["clone"]);
-}
-/**
- * Inspector control panel containing the color related configuration
- *
- * @param {Object} props
- *
- * @return {WPElement} Color edit element.
- */
+    _this.onTouchMove = function (e) {
+      // Prevent whole page from scrolling on iOS.
+      e.preventDefault();

+      if (e.touches.length === 2) {
+        _this.onPinchMove(e);
+      } else if (e.touches.length === 1) {
+        _this.onDrag(Cropper.getTouchPoint(e.touches[0]));
+      }
+    };

-function ColorEdit(props) {
-  var _style$color6, _style$color7, _style$color8, _style$elements2, _style$elements2$link, _style$elements2$link2, _style$elements3, _style$elements3$link, _style$elements3$link2;
+    _this.onDragStart = function (_a) {
+      var _b, _c;

-  const {
-    name: blockName,
-    attributes
-  } = props; // Some color settings have a special handling for deprecated flags in `useSetting`,
-  // so we can't unwrap them by doing const { ... } = useSetting('color')
-  // until https://github.com/WordPress/gutenberg/issues/37094 is fixed.
+      var x = _a.x,
+          y = _a.y;
+      _this.dragStartPosition = {
+        x: x,
+        y: y
+      };
+      _this.dragStartCrop = __assign({}, _this.props.crop);
+      (_c = (_b = _this.props).onInteractionStart) === null || _c === void 0 ? void 0 : _c.call(_b);
+    };

-  const userPalette = Object(use_setting["a" /* default */])('color.palette.custom');
-  const themePalette = Object(use_setting["a" /* default */])('color.palette.theme');
-  const defaultPalette = Object(use_setting["a" /* default */])('color.palette.default');
-  const allSolids = Object(external_wp_element_["useMemo"])(() => [...(userPalette || []), ...(themePalette || []), ...(defaultPalette || [])], [userPalette, themePalette, defaultPalette]);
-  const userGradientPalette = Object(use_setting["a" /* default */])('color.gradients.custom');
-  const themeGradientPalette = Object(use_setting["a" /* default */])('color.gradients.theme');
-  const defaultGradientPalette = Object(use_setting["a" /* default */])('color.gradients.default');
-  const allGradients = Object(external_wp_element_["useMemo"])(() => [...(userGradientPalette || []), ...(themeGradientPalette || []), ...(defaultGradientPalette || [])], [userGradientPalette, themeGradientPalette, defaultGradientPalette]);
-  const areCustomSolidsEnabled = Object(use_setting["a" /* default */])('color.custom');
-  const areCustomGradientsEnabled = Object(use_setting["a" /* default */])('color.customGradient');
-  const isBackgroundEnabled = Object(use_setting["a" /* default */])('color.background');
-  const isLinkEnabled = Object(use_setting["a" /* default */])('color.link');
-  const isTextEnabled = Object(use_setting["a" /* default */])('color.text');
-  const solidsEnabled = areCustomSolidsEnabled || !themePalette || (themePalette === null || themePalette === void 0 ? void 0 : themePalette.length) > 0;
-  const gradientsEnabled = areCustomGradientsEnabled || !themeGradientPalette || (themeGradientPalette === null || themeGradientPalette === void 0 ? void 0 : themeGradientPalette.length) > 0; // Shouldn't be needed but right now the ColorGradientsPanel
-  // can trigger both onChangeColor and onChangeBackground
-  // synchronously causing our two callbacks to override changes
-  // from each other.
+    _this.onDrag = function (_a) {
+      var x = _a.x,
+          y = _a.y;
+      if (_this.rafDragTimeout) window.cancelAnimationFrame(_this.rafDragTimeout);
+      _this.rafDragTimeout = window.requestAnimationFrame(function () {
+        if (!_this.state.cropSize) return;
+        if (x === undefined || y === undefined) return;
+        var offsetX = x - _this.dragStartPosition.x;
+        var offsetY = y - _this.dragStartPosition.y;
+        var requestedPosition = {
+          x: _this.dragStartCrop.x + offsetX,
+          y: _this.dragStartCrop.y + offsetY
+        };
+        var newPosition = _this.props.restrictPosition ? restrictPosition(requestedPosition, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : requestedPosition;

-  const localAttributes = Object(external_wp_element_["useRef"])(attributes);
-  Object(external_wp_element_["useEffect"])(() => {
-    localAttributes.current = attributes;
-  }, [attributes]);
+        _this.props.onCropChange(newPosition);
+      });
+    };

-  if (!hasColorSupport(blockName)) {
-    return null;
-  }
+    _this.onDragStopped = function () {
+      var _a, _b;

-  const hasLinkColor = hasLinkColorSupport(blockName) && isLinkEnabled && solidsEnabled;
-  const hasTextColor = hasTextColorSupport(blockName) && isTextEnabled && solidsEnabled;
-  const hasBackgroundColor = hasBackgroundColorSupport(blockName) && isBackgroundEnabled && solidsEnabled;
-  const hasGradientColor = hasGradientSupport(blockName) && gradientsEnabled;
+      _this.cleanEvents();

-  if (!hasLinkColor && !hasTextColor && !hasBackgroundColor && !hasGradientColor) {
-    return null;
-  }
+      _this.emitCropData();

-  const {
-    style,
-    textColor,
-    backgroundColor,
-    gradient
-  } = attributes;
-  let gradientValue;
+      (_b = (_a = _this.props).onInteractionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
+    };

-  if (hasGradientColor && gradient) {
-    gradientValue = Object(use_gradient["e" /* getGradientValueBySlug */])(allGradients, gradient);
-  } else if (hasGradientColor) {
-    var _style$color5;
+    _this.onWheel = function (e) {
+      e.preventDefault();
+      var point = Cropper.getMousePoint(e);
+      var pixelY = normalize_wheel_default()(e).pixelY;
+      var newZoom = _this.props.zoom - pixelY * _this.props.zoomSpeed / 200;

-    gradientValue = style === null || style === void 0 ? void 0 : (_style$color5 = style.color) === null || _style$color5 === void 0 ? void 0 : _style$color5.gradient;
-  }
+      _this.setNewZoom(newZoom, point);

-  const onChangeColor = name => value => {
-    var _localAttributes$curr, _localAttributes$curr2;
+      if (!_this.state.hasWheelJustStarted) {
+        _this.setState({
+          hasWheelJustStarted: true
+        }, function () {
+          var _a, _b;

-    const colorObject = Object(utils["c" /* getColorObjectByColorValue */])(allSolids, value);
-    const attributeName = name + 'Color';
-    const newStyle = { ...localAttributes.current.style,
-      color: { ...((_localAttributes$curr = localAttributes.current) === null || _localAttributes$curr === void 0 ? void 0 : (_localAttributes$curr2 = _localAttributes$curr.style) === null || _localAttributes$curr2 === void 0 ? void 0 : _localAttributes$curr2.color),
-        [name]: colorObject !== null && colorObject !== void 0 && colorObject.slug ? undefined : value
+          return (_b = (_a = _this.props).onInteractionStart) === null || _b === void 0 ? void 0 : _b.call(_a);
+        });
       }
+
+      if (_this.wheelTimer) {
+        clearTimeout(_this.wheelTimer);
+      }
+
+      _this.wheelTimer = window.setTimeout(function () {
+        return _this.setState({
+          hasWheelJustStarted: false
+        }, function () {
+          var _a, _b;
+
+          return (_b = (_a = _this.props).onInteractionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
+        });
+      }, 250);
     };
-    const newNamedColor = colorObject !== null && colorObject !== void 0 && colorObject.slug ? colorObject.slug : undefined;
-    const newAttributes = {
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle),
-      [attributeName]: newNamedColor
-    };
-    props.setAttributes(newAttributes);
-    localAttributes.current = { ...localAttributes.current,
-      ...newAttributes
-    };
-  };

-  const onChangeGradient = value => {
-    const slug = Object(use_gradient["d" /* getGradientSlugByValue */])(allGradients, value);
-    let newAttributes;
+    _this.getPointOnContainer = function (_a) {
+      var x = _a.x,
+          y = _a.y;

-    if (slug) {
-      var _localAttributes$curr3, _localAttributes$curr4, _localAttributes$curr5;
+      if (!_this.containerRect) {
+        throw new Error('The Cropper is not mounted');
+      }

-      const newStyle = { ...((_localAttributes$curr3 = localAttributes.current) === null || _localAttributes$curr3 === void 0 ? void 0 : _localAttributes$curr3.style),
-        color: { ...((_localAttributes$curr4 = localAttributes.current) === null || _localAttributes$curr4 === void 0 ? void 0 : (_localAttributes$curr5 = _localAttributes$curr4.style) === null || _localAttributes$curr5 === void 0 ? void 0 : _localAttributes$curr5.color),
-          gradient: undefined
-        }
-      };
-      newAttributes = {
-        style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle),
-        gradient: slug
+      return {
+        x: _this.containerRect.width / 2 - (x - _this.containerRect.left),
+        y: _this.containerRect.height / 2 - (y - _this.containerRect.top)
       };
-    } else {
-      var _localAttributes$curr6, _localAttributes$curr7, _localAttributes$curr8;
+    };

-      const newStyle = { ...((_localAttributes$curr6 = localAttributes.current) === null || _localAttributes$curr6 === void 0 ? void 0 : _localAttributes$curr6.style),
-        color: { ...((_localAttributes$curr7 = localAttributes.current) === null || _localAttributes$curr7 === void 0 ? void 0 : (_localAttributes$curr8 = _localAttributes$curr7.style) === null || _localAttributes$curr8 === void 0 ? void 0 : _localAttributes$curr8.color),
-          gradient: value
-        }
-      };
-      newAttributes = {
-        style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle),
-        gradient: undefined
+    _this.getPointOnMedia = function (_a) {
+      var x = _a.x,
+          y = _a.y;
+      var _b = _this.props,
+          crop = _b.crop,
+          zoom = _b.zoom;
+      return {
+        x: (x + crop.x) / zoom,
+        y: (y + crop.y) / zoom
       };
-    }
-
-    props.setAttributes(newAttributes);
-    localAttributes.current = { ...localAttributes.current,
-      ...newAttributes
     };
-  };

-  const onChangeLinkColor = value => {
-    const colorObject = Object(utils["c" /* getColorObjectByColorValue */])(allSolids, value);
-    const newLinkColorValue = colorObject !== null && colorObject !== void 0 && colorObject.slug ? `var:preset|color|${colorObject.slug}` : value;
-    const newStyle = Object(hooks_utils["a" /* cleanEmptyObject */])(immutableSet(style, ['elements', 'link', 'color', 'text'], newLinkColorValue));
-    props.setAttributes({
-      style: newStyle
-    });
-  };
+    _this.setNewZoom = function (zoom, point) {
+      if (!_this.state.cropSize || !_this.props.onZoomChange) return;

-  return Object(external_wp_element_["createElement"])(ColorPanel, {
-    enableContrastChecking: // Turn on contrast checker for web only since it's not supported on mobile yet.
-    external_wp_element_["Platform"].OS === 'web' && !gradient && !(style !== null && style !== void 0 && (_style$color6 = style.color) !== null && _style$color6 !== void 0 && _style$color6.gradient),
-    clientId: props.clientId,
-    settings: [...(hasTextColor ? [{
-      label: Object(external_wp_i18n_["__"])('Text'),
-      onColorChange: onChangeColor('text'),
-      colorValue: Object(utils["b" /* getColorObjectByAttributeValues */])(allSolids, textColor, style === null || style === void 0 ? void 0 : (_style$color7 = style.color) === null || _style$color7 === void 0 ? void 0 : _style$color7.text).color
-    }] : []), ...(hasBackgroundColor || hasGradientColor ? [{
-      label: Object(external_wp_i18n_["__"])('Background'),
-      onColorChange: hasBackgroundColor ? onChangeColor('background') : undefined,
-      colorValue: Object(utils["b" /* getColorObjectByAttributeValues */])(allSolids, backgroundColor, style === null || style === void 0 ? void 0 : (_style$color8 = style.color) === null || _style$color8 === void 0 ? void 0 : _style$color8.background).color,
-      gradientValue,
-      onGradientChange: hasGradientColor ? onChangeGradient : undefined
-    }] : []), ...(hasLinkColor ? [{
-      label: Object(external_wp_i18n_["__"])('Link'),
-      onColorChange: onChangeLinkColor,
-      colorValue: getLinkColorFromAttributeValue(allSolids, style === null || style === void 0 ? void 0 : (_style$elements2 = style.elements) === null || _style$elements2 === void 0 ? void 0 : (_style$elements2$link = _style$elements2.link) === null || _style$elements2$link === void 0 ? void 0 : (_style$elements2$link2 = _style$elements2$link.color) === null || _style$elements2$link2 === void 0 ? void 0 : _style$elements2$link2.text),
-      clearable: !!(style !== null && style !== void 0 && (_style$elements3 = style.elements) !== null && _style$elements3 !== void 0 && (_style$elements3$link = _style$elements3.link) !== null && _style$elements3$link !== void 0 && (_style$elements3$link2 = _style$elements3$link.color) !== null && _style$elements3$link2 !== void 0 && _style$elements3$link2.text)
-    }] : [])]
-  });
-}
-/**
- * This adds inline styles for color palette colors.
- * Ideally, this is not needed and themes should load their palettes on the editor.
- *
- * @param {Function} BlockListBlock Original component.
- *
- * @return {Function} Wrapped component.
- */
+      var zoomPoint = _this.getPointOnContainer(point);

-const withColorPaletteStyles = Object(external_wp_compose_["createHigherOrderComponent"])(BlockListBlock => props => {
-  var _props$wrapperProps;
+      var zoomTarget = _this.getPointOnMedia(zoomPoint);

-  const {
-    name,
-    attributes
-  } = props;
-  const {
-    backgroundColor,
-    textColor
-  } = attributes;
-  const userPalette = Object(use_setting["a" /* default */])('color.palette.custom') || [];
-  const themePalette = Object(use_setting["a" /* default */])('color.palette.theme') || [];
-  const defaultPalette = Object(use_setting["a" /* default */])('color.palette.default') || [];
-  const colors = Object(external_wp_element_["useMemo"])(() => [...(userPalette || []), ...(themePalette || []), ...(defaultPalette || [])], [userPalette, themePalette, defaultPalette]);
+      var newZoom = Math.min(_this.props.maxZoom, Math.max(zoom, _this.props.minZoom));
+      var requestedPosition = {
+        x: zoomTarget.x * newZoom - zoomPoint.x,
+        y: zoomTarget.y * newZoom - zoomPoint.y
+      };
+      var newPosition = _this.props.restrictPosition ? restrictPosition(requestedPosition, _this.mediaSize, _this.state.cropSize, newZoom, _this.props.rotation) : requestedPosition;

-  if (!hasColorSupport(name) || color_shouldSkipSerialization(name)) {
-    return Object(external_wp_element_["createElement"])(BlockListBlock, props);
-  }
+      _this.props.onCropChange(newPosition);

-  const extraStyles = {};
+      _this.props.onZoomChange(newZoom);
+    };

-  if (textColor) {
-    var _getColorObjectByAttr;
+    _this.getCropData = function () {
+      if (!_this.state.cropSize) {
+        return null;
+      } // this is to ensure the crop is correctly restricted after a zoom back (https://github.com/ricardo-ch/react-easy-crop/issues/6)

-    extraStyles.color = (_getColorObjectByAttr = Object(utils["b" /* getColorObjectByAttributeValues */])(colors, textColor)) === null || _getColorObjectByAttr === void 0 ? void 0 : _getColorObjectByAttr.color;
-  }

-  if (backgroundColor) {
-    var _getColorObjectByAttr2;
+      var restrictedPosition = _this.props.restrictPosition ? restrictPosition(_this.props.crop, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : _this.props.crop;
+      return computeCroppedArea(restrictedPosition, _this.mediaSize, _this.state.cropSize, _this.getAspect(), _this.props.zoom, _this.props.rotation, _this.props.restrictPosition);
+    };

-    extraStyles.backgroundColor = (_getColorObjectByAttr2 = Object(utils["b" /* getColorObjectByAttributeValues */])(colors, backgroundColor)) === null || _getColorObjectByAttr2 === void 0 ? void 0 : _getColorObjectByAttr2.color;
-  }
+    _this.emitCropData = function () {
+      var cropData = _this.getCropData();

-  let wrapperProps = props.wrapperProps;
-  wrapperProps = { ...props.wrapperProps,
-    style: { ...extraStyles,
-      ...((_props$wrapperProps = props.wrapperProps) === null || _props$wrapperProps === void 0 ? void 0 : _props$wrapperProps.style)
-    }
-  };
-  return Object(external_wp_element_["createElement"])(BlockListBlock, Object(esm_extends["a" /* default */])({}, props, {
-    wrapperProps: wrapperProps
-  }));
-});
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/color/addAttribute', color_addAttributes);
-Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'core/color/addSaveProps', color_addSaveProps);
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/color/addEditProps', color_addEditProps);
-Object(external_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/color/with-color-palette-styles', withColorPaletteStyles);
+      if (!cropData) return;
+      var croppedAreaPercentages = cropData.croppedAreaPercentages,
+          croppedAreaPixels = cropData.croppedAreaPixels;

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-appearance-control/index.js
-var font_appearance_control = __webpack_require__("Bo0k");
+      if (_this.props.onCropComplete) {
+        _this.props.onCropComplete(croppedAreaPercentages, croppedAreaPixels);
+      }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/line-height-control/index.js + 1 modules
-var line_height_control = __webpack_require__("weEX");
+      if (_this.props.onCropAreaChange) {
+        _this.props.onCropAreaChange(croppedAreaPercentages, croppedAreaPixels);
+      }
+    };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/line-height.js
+    _this.emitCropAreaChange = function () {
+      var cropData = _this.getCropData();

+      if (!cropData) return;
+      var croppedAreaPercentages = cropData.croppedAreaPercentages,
+          croppedAreaPixels = cropData.croppedAreaPixels;

-/**
- * WordPress dependencies
- */
+      if (_this.props.onCropAreaChange) {
+        _this.props.onCropAreaChange(croppedAreaPercentages, croppedAreaPixels);
+      }
+    };

-/**
- * Internal dependencies
- */
+    _this.recomputeCropPosition = function () {
+      if (!_this.state.cropSize) return;
+      var newPosition = _this.props.restrictPosition ? restrictPosition(_this.props.crop, _this.mediaSize, _this.state.cropSize, _this.props.zoom, _this.props.rotation) : _this.props.crop;

+      _this.props.onCropChange(newPosition);

+      _this.emitCropData();
+    };

+    return _this;
+  }

-const LINE_HEIGHT_SUPPORT_KEY = 'typography.lineHeight';
-/**
- * Inspector control panel containing the line height related configuration
- *
- * @param {Object} props
- *
- * @return {WPElement} Line height edit element.
- */
+  Cropper.prototype.componentDidMount = function () {
+    window.addEventListener('resize', this.computeSizes);

-function LineHeightEdit(props) {
-  var _style$typography;
+    if (this.containerRef) {
+      this.props.zoomWithScroll && this.containerRef.addEventListener('wheel', this.onWheel, {
+        passive: false
+      });
+      this.containerRef.addEventListener('gesturestart', this.preventZoomSafari);
+      this.containerRef.addEventListener('gesturechange', this.preventZoomSafari);
+    }

-  const {
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;
+    if (!this.props.disableAutomaticStylesInjection) {
+      this.styleRef = document.createElement('style');
+      this.styleRef.setAttribute('type', 'text/css');
+      this.styleRef.innerHTML = css_248z;
+      document.head.appendChild(this.styleRef);
+    } // when rendered via SSR, the image can already be loaded and its onLoad callback will never be called

-  const onChange = newLineHeightValue => {
-    const newStyle = { ...style,
-      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-        lineHeight: newLineHeightValue
-      }
-    };
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle)
-    });
-  };

-  return Object(external_wp_element_["createElement"])(line_height_control["a" /* default */], {
-    value: style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.lineHeight,
-    onChange: onChange
-  });
-}
-/**
- * Custom hook that checks if line-height settings have been disabled.
- *
- * @param {string} name The name of the block.
- * @return {boolean} Whether setting is disabled.
- */
+    if (this.imageRef && this.imageRef.complete) {
+      this.onMediaLoad();
+    }
+  };

-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;
-}
-/**
- * Checks if there is a current value set for the line height block support.
- *
- * @param {Object} props Block props.
- * @return {boolean}     Whether or not the block has a line height value set.
- */
+  Cropper.prototype.componentWillUnmount = function () {
+    var _a;

-function hasLineHeightValue(props) {
-  var _props$attributes$sty, _props$attributes$sty2;
+    window.removeEventListener('resize', this.computeSizes);

-  return !!((_props$attributes$sty = props.attributes.style) !== null && _props$attributes$sty !== void 0 && (_props$attributes$sty2 = _props$attributes$sty.typography) !== null && _props$attributes$sty2 !== void 0 && _props$attributes$sty2.lineHeight);
-}
-/**
- * Resets the line height block support attribute. This can be used when
- * disabling the line height support controls for a block via a progressive
- * discovery panel.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.attributes    Block's attributes.
- * @param {Object} props.setAttributes Function to set block's attributes.
- */
+    if (this.containerRef) {
+      this.containerRef.removeEventListener('gesturestart', this.preventZoomSafari);
+      this.containerRef.removeEventListener('gesturechange', this.preventZoomSafari);
+    }

-function resetLineHeight(_ref) {
-  let {
-    attributes = {},
-    setAttributes
-  } = _ref;
-  const {
-    style
-  } = attributes;
-  setAttributes({
-    style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-        lineHeight: undefined
-      }
-    })
-  });
-}
+    if (this.styleRef) {
+      (_a = this.styleRef.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(this.styleRef);
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/font-appearance.js
+    this.cleanEvents();
+    this.props.zoomWithScroll && this.clearScrollEvent();
+  };

+  Cropper.prototype.componentDidUpdate = function (prevProps) {
+    var _a, _b, _c, _d, _e, _f, _g, _h, _j;

-/**
- * WordPress dependencies
- */
+    if (prevProps.rotation !== this.props.rotation) {
+      this.computeSizes();
+      this.recomputeCropPosition();
+    } else if (prevProps.aspect !== this.props.aspect) {
+      this.computeSizes();
+    } else if (prevProps.zoom !== this.props.zoom) {
+      this.recomputeCropPosition();
+    } else if (((_a = prevProps.cropSize) === null || _a === void 0 ? void 0 : _a.height) !== ((_b = this.props.cropSize) === null || _b === void 0 ? void 0 : _b.height) || ((_c = prevProps.cropSize) === null || _c === void 0 ? void 0 : _c.width) !== ((_d = this.props.cropSize) === null || _d === void 0 ? void 0 : _d.width)) {
+      this.computeSizes();
+    } else if (((_e = prevProps.crop) === null || _e === void 0 ? void 0 : _e.x) !== ((_f = this.props.crop) === null || _f === void 0 ? void 0 : _f.x) || ((_g = prevProps.crop) === null || _g === void 0 ? void 0 : _g.y) !== ((_h = this.props.crop) === null || _h === void 0 ? void 0 : _h.y)) {
+      this.emitCropAreaChange();
+    }

-/**
- * Internal dependencies
- */
+    if (prevProps.zoomWithScroll !== this.props.zoomWithScroll && this.containerRef) {
+      this.props.zoomWithScroll ? this.containerRef.addEventListener('wheel', this.onWheel, {
+        passive: false
+      }) : this.clearScrollEvent();
+    }

+    if (prevProps.video !== this.props.video) {
+      (_j = this.videoRef) === null || _j === void 0 ? void 0 : _j.load();
+    }
+  };

+  Cropper.prototype.getAspect = function () {
+    var _a = this.props,
+        cropSize = _a.cropSize,
+        aspect = _a.aspect;

+    if (cropSize) {
+      return cropSize.width / cropSize.height;
+    }

-/**
- * Key within block settings' support array indicating support for font style.
- */
+    return aspect;
+  };

-const FONT_STYLE_SUPPORT_KEY = 'typography.__experimentalFontStyle';
-/**
- * Key within block settings' support array indicating support for font weight.
- */
+  Cropper.prototype.onPinchStart = function (e) {
+    var pointA = Cropper.getTouchPoint(e.touches[0]);
+    var pointB = Cropper.getTouchPoint(e.touches[1]);
+    this.lastPinchDistance = getDistanceBetweenPoints(pointA, pointB);
+    this.lastPinchRotation = getRotationBetweenPoints(pointA, pointB);
+    this.onDragStart(getCenter(pointA, pointB));
+  };

-const FONT_WEIGHT_SUPPORT_KEY = 'typography.__experimentalFontWeight';
-/**
- * Inspector control panel containing the font appearance options.
- *
- * @param {Object} props Block properties.
- *
- * @return {WPElement} Font appearance edit element.
- */
+  Cropper.prototype.onPinchMove = function (e) {
+    var _this = this;

-function FontAppearanceEdit(props) {
-  var _style$typography, _style$typography2;
+    var pointA = Cropper.getTouchPoint(e.touches[0]);
+    var pointB = Cropper.getTouchPoint(e.touches[1]);
+    var center = getCenter(pointA, pointB);
+    this.onDrag(center);
+    if (this.rafPinchTimeout) window.cancelAnimationFrame(this.rafPinchTimeout);
+    this.rafPinchTimeout = window.requestAnimationFrame(function () {
+      var distance = getDistanceBetweenPoints(pointA, pointB);
+      var newZoom = _this.props.zoom * (distance / _this.lastPinchDistance);

-  const {
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;
-  const hasFontStyles = !useIsFontStyleDisabled(props);
-  const hasFontWeights = !useIsFontWeightDisabled(props);
+      _this.setNewZoom(newZoom, center);

-  const onChange = newStyles => {
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-          fontStyle: newStyles.fontStyle,
-          fontWeight: newStyles.fontWeight
-        }
-      })
+      _this.lastPinchDistance = distance;
+      var rotation = getRotationBetweenPoints(pointA, pointB);
+      var newRotation = _this.props.rotation + (rotation - _this.lastPinchRotation);
+      _this.props.onRotationChange && _this.props.onRotationChange(newRotation);
+      _this.lastPinchRotation = rotation;
     });
   };

-  const fontStyle = style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.fontStyle;
-  const fontWeight = style === null || style === void 0 ? void 0 : (_style$typography2 = style.typography) === null || _style$typography2 === void 0 ? void 0 : _style$typography2.fontWeight;
-  return Object(external_wp_element_["createElement"])(font_appearance_control["a" /* default */], {
-    onChange: onChange,
-    hasFontStyles: hasFontStyles,
-    hasFontWeights: hasFontWeights,
-    value: {
-      fontStyle,
-      fontWeight
-    }
-  });
-}
-/**
- * Checks if font style support has been disabled either by not opting in for
- * support or by failing to provide preset styles.
- *
- * @param {Object} props      Block properties.
- * @param {string} props.name Name for the block type.
- *
- * @return {boolean} Whether font style support has been disabled.
- */
-
-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;
-}
-/**
- * Checks if font weight support has been disabled either by not opting in for
- * support or by failing to provide preset weights.
- *
- * @param {Object} props      Block properties.
- * @param {string} props.name Name for the block type.
- *
- * @return {boolean} Whether font weight support has been disabled.
- */
-
-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;
-}
-/**
- * Checks if font appearance support has been disabled.
- *
- * @param {Object} props Block properties.
- *
- * @return {boolean} Whether font appearance support has been disabled.
- */
-
-function useIsFontAppearanceDisabled(props) {
-  const stylesDisabled = useIsFontStyleDisabled(props);
-  const weightsDisabled = useIsFontWeightDisabled(props);
-  return stylesDisabled && weightsDisabled;
-}
-/**
- * Checks if there is either a font style or weight value set within the
- * typography styles.
- *
- * @param {Object} props Block props.
- * @return {boolean}     Whether or not the block has a font style or weight.
- */
-
-function hasFontAppearanceValue(props) {
-  var _props$attributes$sty;
+  Cropper.prototype.render = function () {
+    var _this = this;

-  const {
-    fontStyle,
-    fontWeight
-  } = ((_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : _props$attributes$sty.typography) || {};
-  return !!fontStyle || !!fontWeight;
-}
-/**
- * Resets the font style and weight block support attributes. This can be used
- * when disabling the font appearance support controls for a block via a
- * progressive discovery panel.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.attributes    Block's attributes.
- * @param {Object} props.setAttributes Function to set block's attributes.
- */
+    var _a = this.props,
+        image = _a.image,
+        video = _a.video,
+        mediaProps = _a.mediaProps,
+        transform = _a.transform,
+        _b = _a.crop,
+        x = _b.x,
+        y = _b.y,
+        rotation = _a.rotation,
+        zoom = _a.zoom,
+        cropShape = _a.cropShape,
+        showGrid = _a.showGrid,
+        _c = _a.style,
+        containerStyle = _c.containerStyle,
+        cropAreaStyle = _c.cropAreaStyle,
+        mediaStyle = _c.mediaStyle,
+        _d = _a.classes,
+        containerClassName = _d.containerClassName,
+        cropAreaClassName = _d.cropAreaClassName,
+        mediaClassName = _d.mediaClassName,
+        objectFit = _a.objectFit;
+    return /*#__PURE__*/external_React_default().createElement("div", {
+      onMouseDown: this.onMouseDown,
+      onTouchStart: this.onTouchStart,
+      ref: function ref(el) {
+        return _this.containerRef = el;
+      },
+      "data-testid": "container",
+      style: containerStyle,
+      className: classNames('reactEasyCrop_Container', containerClassName)
+    }, image ? /*#__PURE__*/external_React_default().createElement("img", __assign({
+      alt: "",
+      className: classNames('reactEasyCrop_Image', objectFit === 'contain' && 'reactEasyCrop_Contain', objectFit === 'horizontal-cover' && 'reactEasyCrop_Cover_Horizontal', objectFit === 'vertical-cover' && 'reactEasyCrop_Cover_Vertical', mediaClassName)
+    }, mediaProps, {
+      src: image,
+      ref: function ref(el) {
+        return _this.imageRef = el;
+      },
+      style: __assign(__assign({}, mediaStyle), {
+        transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
+      }),
+      onLoad: this.onMediaLoad
+    })) : video && /*#__PURE__*/external_React_default().createElement("video", __assign({
+      autoPlay: true,
+      loop: true,
+      muted: true,
+      className: classNames('reactEasyCrop_Video', objectFit === 'contain' && 'reactEasyCrop_Contain', objectFit === 'horizontal-cover' && 'reactEasyCrop_Cover_Horizontal', objectFit === 'vertical-cover' && 'reactEasyCrop_Cover_Vertical', mediaClassName)
+    }, mediaProps, {
+      ref: function ref(el) {
+        return _this.videoRef = el;
+      },
+      onLoadedMetadata: this.onMediaLoad,
+      style: __assign(__assign({}, mediaStyle), {
+        transform: transform || "translate(" + x + "px, " + y + "px) rotate(" + rotation + "deg) scale(" + zoom + ")"
+      }),
+      controls: false
+    }), (Array.isArray(video) ? video : [{
+      src: video
+    }]).map(function (item) {
+      return /*#__PURE__*/external_React_default().createElement("source", __assign({
+        key: item.src
+      }, item));
+    })), this.state.cropSize && /*#__PURE__*/external_React_default().createElement("div", {
+      style: __assign(__assign({}, cropAreaStyle), {
+        width: this.state.cropSize.width,
+        height: this.state.cropSize.height
+      }),
+      "data-testid": "cropper",
+      className: classNames('reactEasyCrop_CropArea', cropShape === 'round' && 'reactEasyCrop_CropAreaRound', showGrid && 'reactEasyCrop_CropAreaGrid', cropAreaClassName)
+    }));
+  };

-function resetFontAppearance(_ref) {
-  let {
-    attributes = {},
-    setAttributes
-  } = _ref;
-  const {
-    style
-  } = attributes;
-  setAttributes({
-    style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-        fontStyle: undefined,
-        fontWeight: undefined
-      }
-    })
-  });
-}
+  Cropper.defaultProps = {
+    zoom: 1,
+    rotation: 0,
+    aspect: 4 / 3,
+    maxZoom: MAX_ZOOM,
+    minZoom: MIN_ZOOM,
+    cropShape: 'rect',
+    objectFit: 'contain',
+    showGrid: true,
+    style: {},
+    classes: {},
+    mediaProps: {},
+    zoomSpeed: 1,
+    restrictPosition: true,
+    zoomWithScroll: true
+  };

-// EXTERNAL MODULE: external ["wp","tokenList"]
-var external_wp_tokenList_ = __webpack_require__("BLeD");
-var external_wp_tokenList_default = /*#__PURE__*/__webpack_require__.n(external_wp_tokenList_);
+  Cropper.getMousePoint = function (e) {
+    return {
+      x: Number(e.clientX),
+      y: Number(e.clientY)
+    };
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-family/index.js
-var font_family = __webpack_require__("GKUk");
+  Cropper.getTouchPoint = function (touch) {
+    return {
+      x: Number(touch.clientX),
+      y: Number(touch.clientY)
+    };
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/font-family.js
+  return Cropper;
+}((external_React_default()).Component);

+/* harmony default export */ var index_module = (Cropper);

-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/constants.js
+const constants_MIN_ZOOM = 100;
+const constants_MAX_ZOOM = 300;
+const constants_POPOVER_PROPS = {
+  position: 'bottom right',
+  isAlternate: true
+};

+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/use-save-image.js
 /**
  * WordPress dependencies
  */
@@ -43222,185 +38786,251 @@ var font_family = __webpack_require__("GKUk");



-/**
- * Internal dependencies
- */
-
-

-const FONT_FAMILY_SUPPORT_KEY = 'typography.__experimentalFontFamily';
-/**
- * Filters registered block settings, extending attributes to include
- * the `fontFamily` attribute.
- *
- * @param {Object} settings Original block settings
- * @return {Object}         Filtered block settings
- */
+function useSaveImage(_ref) {
+  let {
+    crop,
+    rotation,
+    height,
+    width,
+    aspect,
+    url,
+    id,
+    onSaveImage,
+    onFinishEditing
+  } = _ref;
+  const {
+    createErrorNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const [isInProgress, setIsInProgress] = (0,external_wp_element_namespaceObject.useState)(false);
+  const cancel = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    setIsInProgress(false);
+    onFinishEditing();
+  }, [setIsInProgress, onFinishEditing]);
+  const apply = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    setIsInProgress(true);
+    let attrs = {}; // The crop script may return some very small, sub-pixel values when the image was not cropped.
+    // Crop only when the new size has changed by more than 0.1%.

-function font_family_addAttributes(settings) {
-  if (!Object(external_wp_blocks_["hasBlockSupport"])(settings, FONT_FAMILY_SUPPORT_KEY)) {
-    return settings;
-  } // Allow blocks to specify a default value if needed.
+    if (crop.width < 99.9 || crop.height < 99.9) {
+      attrs = crop;
+    }

+    if (rotation > 0) {
+      attrs.rotation = rotation;
+    }

-  if (!settings.attributes.fontFamily) {
-    Object.assign(settings.attributes, {
-      fontFamily: {
-        type: 'string'
-      }
+    attrs.src = url;
+    external_wp_apiFetch_default()({
+      path: `/wp/v2/media/${id}/edit`,
+      method: 'POST',
+      data: attrs
+    }).then(response => {
+      onSaveImage({
+        id: response.id,
+        url: response.source_url,
+        height: height && width ? width / aspect : undefined
+      });
+    }).catch(error => {
+      createErrorNotice((0,external_wp_i18n_namespaceObject.sprintf)(
+      /* translators: 1. Error message */
+      (0,external_wp_i18n_namespaceObject.__)('Could not edit image. %s'), error.message), {
+        id: 'image-editing-error',
+        type: 'snackbar'
+      });
+    }).finally(() => {
+      setIsInProgress(false);
+      onFinishEditing();
     });
-  }
-
-  return settings;
+  }, [setIsInProgress, crop, rotation, height, width, aspect, url, onSaveImage, createErrorNotice, setIsInProgress, onFinishEditing]);
+  return (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    isInProgress,
+    apply,
+    cancel
+  }), [isInProgress, apply, cancel]);
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/use-transform-image.js
 /**
- * Override props assigned to save component to inject font family.
- *
- * @param {Object} props      Additional props applied to save element
- * @param {Object} blockType  Block type
- * @param {Object} attributes Block attributes
- * @return {Object}           Filtered props applied to save element
+ * WordPress dependencies
  */


-function font_family_addSaveProps(props, blockType, attributes) {
-  if (!Object(external_wp_blocks_["hasBlockSupport"])(blockType, FONT_FAMILY_SUPPORT_KEY)) {
-    return props;
-  }
-
-  if (Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'typography.__experimentalSkipSerialization')) {
-    return props;
-  }

-  if (!(attributes !== null && attributes !== void 0 && attributes.fontFamily)) {
-    return props;
-  } // Use TokenList to dedupe classes.
+function useTransformState(_ref) {
+  let {
+    url,
+    naturalWidth,
+    naturalHeight
+  } = _ref;
+  const [editedUrl, setEditedUrl] = (0,external_wp_element_namespaceObject.useState)();
+  const [crop, setCrop] = (0,external_wp_element_namespaceObject.useState)();
+  const [position, setPosition] = (0,external_wp_element_namespaceObject.useState)({
+    x: 0,
+    y: 0
+  });
+  const [zoom, setZoom] = (0,external_wp_element_namespaceObject.useState)();
+  const [rotation, setRotation] = (0,external_wp_element_namespaceObject.useState)();
+  const [aspect, setAspect] = (0,external_wp_element_namespaceObject.useState)();
+  const [defaultAspect, setDefaultAspect] = (0,external_wp_element_namespaceObject.useState)();
+  const initializeTransformValues = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    setPosition({
+      x: 0,
+      y: 0
+    });
+    setZoom(100);
+    setRotation(0);
+    setAspect(naturalWidth / naturalHeight);
+    setDefaultAspect(naturalWidth / naturalHeight);
+  }, [naturalWidth, naturalHeight, setPosition, setZoom, setRotation, setAspect, setDefaultAspect]);
+  const rotateClockwise = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    const angle = (rotation + 90) % 360;
+    let naturalAspectRatio = naturalWidth / naturalHeight;

+    if (rotation % 180 === 90) {
+      naturalAspectRatio = naturalHeight / naturalWidth;
+    }

-  const classes = new external_wp_tokenList_default.a(props.className);
-  classes.add(`has-${Object(external_lodash_["kebabCase"])(attributes === null || attributes === void 0 ? void 0 : attributes.fontFamily)}-font-family`);
-  const newClassName = classes.value;
-  props.className = newClassName ? newClassName : undefined;
-  return props;
-}
-/**
- * Filters registered block settings to expand the block edit wrapper
- * by applying the desired styles and classnames.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
- */
+    if (angle === 0) {
+      setEditedUrl();
+      setRotation(angle);
+      setAspect(1 / aspect);
+      setPosition({
+        x: -(position.y * naturalAspectRatio),
+        y: position.x * naturalAspectRatio
+      });
+      return;
+    }

+    function editImage(event) {
+      const canvas = document.createElement('canvas');
+      let translateX = 0;
+      let translateY = 0;

-function font_family_addEditProps(settings) {
-  if (!Object(external_wp_blocks_["hasBlockSupport"])(settings, FONT_FAMILY_SUPPORT_KEY)) {
-    return settings;
-  }
+      if (angle % 180) {
+        canvas.width = event.target.height;
+        canvas.height = event.target.width;
+      } else {
+        canvas.width = event.target.width;
+        canvas.height = event.target.height;
+      }

-  const existingGetEditWrapperProps = settings.getEditWrapperProps;
+      if (angle === 90 || angle === 180) {
+        translateX = canvas.width;
+      }

-  settings.getEditWrapperProps = attributes => {
-    let props = {};
+      if (angle === 270 || angle === 180) {
+        translateY = canvas.height;
+      }

-    if (existingGetEditWrapperProps) {
-      props = existingGetEditWrapperProps(attributes);
+      const context = canvas.getContext('2d');
+      context.translate(translateX, translateY);
+      context.rotate(angle * Math.PI / 180);
+      context.drawImage(event.target, 0, 0);
+      canvas.toBlob(blob => {
+        setEditedUrl(URL.createObjectURL(blob));
+        setRotation(angle);
+        setAspect(1 / aspect);
+        setPosition({
+          x: -(position.y * naturalAspectRatio),
+          y: position.x * naturalAspectRatio
+        });
+      });
     }

-    return font_family_addSaveProps(props, settings, attributes);
-  };
+    const el = new window.Image();
+    el.src = url;
+    el.onload = editImage;
+    const imgCrossOrigin = (0,external_wp_hooks_namespaceObject.applyFilters)('media.crossOrigin', undefined, url);

-  return settings;
+    if (typeof imgCrossOrigin === 'string') {
+      el.crossOrigin = imgCrossOrigin;
+    }
+  }, [rotation, naturalWidth, naturalHeight, setEditedUrl, setRotation, setAspect, setPosition]);
+  return (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    editedUrl,
+    setEditedUrl,
+    crop,
+    setCrop,
+    position,
+    setPosition,
+    zoom,
+    setZoom,
+    rotation,
+    setRotation,
+    rotateClockwise,
+    aspect,
+    setAspect,
+    defaultAspect,
+    initializeTransformValues
+  }), [editedUrl, setEditedUrl, crop, setCrop, position, setPosition, zoom, setZoom, rotation, setRotation, rotateClockwise, aspect, setAspect, defaultAspect, initializeTransformValues]);
 }

-function FontFamilyEdit(_ref) {
-  var _find;
-
-  let {
-    setAttributes,
-    attributes: {
-      fontFamily
+function useTransformImage(imageProperties, isEditing) {
+  const transformState = useTransformState(imageProperties);
+  const {
+    initializeTransformValues
+  } = transformState;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isEditing) {
+      initializeTransformValues();
     }
-  } = _ref;
-  const fontFamilies = Object(use_setting["a" /* default */])('typography.fontFamilies');
-  const value = (_find = Object(external_lodash_["find"])(fontFamilies, _ref2 => {
-    let {
-      slug
-    } = _ref2;
-    return fontFamily === slug;
-  })) === null || _find === void 0 ? void 0 : _find.fontFamily;
+  }, [isEditing, initializeTransformValues]);
+  return transformState;
+}

-  function onChange(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
-    });
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/context.js

-  return Object(external_wp_element_["createElement"])(font_family["a" /* default */], {
-    className: "block-editor-hooks-font-family-control",
-    fontFamilies: fontFamilies,
-    value: value,
-    onChange: onChange
-  });
-}
-/**
- * Custom hook that checks if font-family functionality is disabled.
- *
- * @param {string} name The name of the block.
- * @return {boolean} Whether setting is disabled.
- */

-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);
-}
 /**
- * Checks if there is a current value set for the font family block support.
- *
- * @param {Object} props Block props.
- * @return {boolean}     Whether or not the block has a font family value set.
+ * WordPress dependencies
  */

-function hasFontFamilyValue(props) {
-  return !!props.attributes.fontFamily;
-}
 /**
- * Resets the font family block support attribute. This can be used when
- * disabling the font family support controls for a block via a progressive
- * discovery panel.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.setAttributes Function to set block's attributes.
+ * Internal dependencies
  */

-function resetFontFamily(_ref5) {
+
+
+const ImageEditingContext = (0,external_wp_element_namespaceObject.createContext)({});
+const useImageEditingContext = () => (0,external_wp_element_namespaceObject.useContext)(ImageEditingContext);
+function ImageEditingProvider(_ref) {
   let {
-    setAttributes
-  } = _ref5;
-  setAttributes({
-    fontFamily: undefined
+    id,
+    url,
+    naturalWidth,
+    naturalHeight,
+    isEditing,
+    onFinishEditing,
+    onSaveImage,
+    children
+  } = _ref;
+  const transformImage = useTransformImage({
+    url,
+    naturalWidth,
+    naturalHeight
+  }, isEditing);
+  const saveImage = useSaveImage({
+    id,
+    url,
+    onSaveImage,
+    onFinishEditing,
+    ...transformImage
   });
+  const providerValue = (0,external_wp_element_namespaceObject.useMemo)(() => ({ ...transformImage,
+    ...saveImage
+  }), [transformImage, saveImage]);
+  return (0,external_wp_element_namespaceObject.createElement)(ImageEditingContext.Provider, {
+    value: providerValue
+  }, children);
 }
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/fontFamily/addAttribute', font_family_addAttributes);
-Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'core/fontFamily/addSaveProps', font_family_addSaveProps);
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/fontFamily/addEditProps', font_family_addEditProps);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/utils.js
-var font_sizes_utils = __webpack_require__("NMUH");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/cropper.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/font-sizes/font-size-picker.js
-var font_size_picker = __webpack_require__("QP/w");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/font-size.js
+/**
+ * External dependencies
+ */


 /**
@@ -43408,575 +39038,604 @@ var font_size_picker = __webpack_require__("QP/w");
  */


-
-
 /**
  * Internal dependencies
  */



+function ImageCropper(_ref) {
+  let {
+    url,
+    width,
+    height,
+    clientWidth,
+    naturalHeight,
+    naturalWidth
+  } = _ref;
+  const {
+    isInProgress,
+    editedUrl,
+    position,
+    zoom,
+    aspect,
+    setPosition,
+    setCrop,
+    setZoom,
+    rotation
+  } = useImageEditingContext();
+  let editedHeight = height || clientWidth * naturalHeight / naturalWidth;
+
+  if (rotation % 180 === 90) {
+    editedHeight = clientWidth * naturalWidth / naturalHeight;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('wp-block-image__crop-area', {
+      'is-applying': isInProgress
+    }),
+    style: {
+      width: width || clientWidth,
+      height: editedHeight
+    }
+  }, (0,external_wp_element_namespaceObject.createElement)(index_module, {
+    image: editedUrl || url,
+    disabled: isInProgress,
+    minZoom: constants_MIN_ZOOM / 100,
+    maxZoom: constants_MAX_ZOOM / 100,
+    crop: position,
+    zoom: zoom / 100,
+    aspect: aspect,
+    onCropChange: setPosition,
+    onCropComplete: newCropPercent => {
+      setCrop(newCropPercent);
+    },
+    onZoomChange: newZoom => {
+      setZoom(newZoom * 100);
+    }
+  }), isInProgress && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js
+

-const FONT_SIZE_SUPPORT_KEY = 'typography.fontSize';
 /**
- * Filters registered block settings, extending attributes to include
- * `fontSize` and `fontWeight` attributes.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
+ * WordPress dependencies
  */

-function font_size_addAttributes(settings) {
-  if (!Object(external_wp_blocks_["hasBlockSupport"])(settings, FONT_SIZE_SUPPORT_KEY)) {
-    return settings;
-  } // Allow blocks to specify a default value if needed.
+const search = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_search = (search);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/zoom-dropdown.js

-  if (!settings.attributes.fontSize) {
-    Object.assign(settings.attributes, {
-      fontSize: {
-        type: 'string'
-      }
-    });
-  }

-  return settings;
-}
 /**
- * Override props assigned to save component to inject font size.
- *
- * @param {Object} props      Additional props applied to save element.
- * @param {Object} blockType  Block type.
- * @param {Object} attributes Block attributes.
- *
- * @return {Object} Filtered props applied to save element.
+ * WordPress dependencies
  */


-function font_size_addSaveProps(props, blockType, attributes) {
-  if (!Object(external_wp_blocks_["hasBlockSupport"])(blockType, FONT_SIZE_SUPPORT_KEY)) {
-    return props;
-  }

-  if (Object(external_wp_blocks_["hasBlockSupport"])(blockType, 'typography.__experimentalSkipSerialization')) {
-    return props;
-  } // Use TokenList to dedupe classes.
+/**
+ * Internal dependencies
+ */


-  const classes = new external_wp_tokenList_default.a(props.className);
-  classes.add(Object(font_sizes_utils["b" /* getFontSizeClass */])(attributes.fontSize));
-  const newClassName = classes.value;
-  props.className = newClassName ? newClassName : undefined;
-  return props;
+
+function ZoomDropdown() {
+  const {
+    isInProgress,
+    zoom,
+    setZoom
+  } = useImageEditingContext();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    contentClassName: "wp-block-image__zoom",
+    popoverProps: constants_POPOVER_PROPS,
+    renderToggle: _ref => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+        icon: library_search,
+        label: (0,external_wp_i18n_namespaceObject.__)('Zoom'),
+        onClick: onToggle,
+        "aria-expanded": isOpen,
+        disabled: isInProgress
+      });
+    },
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Zoom'),
+      min: constants_MIN_ZOOM,
+      max: constants_MAX_ZOOM,
+      value: Math.round(zoom),
+      onChange: setZoom
+    })
+  });
 }
-/**
- * Filters registered block settings to expand the block edit wrapper
- * by applying the desired styles and classnames.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
- */

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js

-function font_size_addEditProps(settings) {
-  if (!Object(external_wp_blocks_["hasBlockSupport"])(settings, FONT_SIZE_SUPPORT_KEY)) {
-    return settings;
-  }

-  const existingGetEditWrapperProps = settings.getEditWrapperProps;
+/**
+ * WordPress dependencies
+ */

-  settings.getEditWrapperProps = attributes => {
-    let props = {};
+const check = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
+}));
+/* harmony default export */ var library_check = (check);

-    if (existingGetEditWrapperProps) {
-      props = existingGetEditWrapperProps(attributes);
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/aspect-ratio.js

-    return font_size_addSaveProps(props, settings, attributes);
-  };

-  return settings;
-}
 /**
- * Inspector control panel containing the font size related configuration
- *
- * @param {Object} props
- *
- * @return {WPElement} Font size edit element.
+ * WordPress dependencies
  */

+const aspectRatio = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var aspect_ratio = (aspectRatio);

-function FontSizeEdit(props) {
-  var _style$typography, _style$typography2;
-
-  const {
-    attributes: {
-      fontSize,
-      style
-    },
-    setAttributes
-  } = props;
-  const fontSizes = Object(use_setting["a" /* default */])('typography.fontSizes');
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/aspect-ratio-dropdown.js

-  const onChange = value => {
-    const fontSizeSlug = Object(font_sizes_utils["c" /* getFontSizeObjectByValue */])(fontSizes, value).slug;
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-          fontSize: fontSizeSlug ? undefined : value
-        }
-      }),
-      fontSize: fontSizeSlug
-    });
-  };

-  const fontSizeObject = Object(font_sizes_utils["a" /* getFontSize */])(fontSizes, fontSize, style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.fontSize);
-  const fontSizeValue = (fontSizeObject === null || fontSizeObject === void 0 ? void 0 : fontSizeObject.size) || (style === null || style === void 0 ? void 0 : (_style$typography2 = style.typography) === null || _style$typography2 === void 0 ? void 0 : _style$typography2.fontSize) || fontSize;
-  return Object(external_wp_element_["createElement"])(font_size_picker["a" /* default */], {
-    onChange: onChange,
-    value: fontSizeValue,
-    withReset: false
-  });
-}
 /**
- * Checks if there is a current value set for the font size block support.
- *
- * @param {Object} props Block props.
- * @return {boolean}     Whether or not the block has a font size value set.
+ * WordPress dependencies
  */

-function hasFontSizeValue(props) {
-  var _style$typography3;

-  const {
-    fontSize,
-    style
-  } = props.attributes;
-  return !!fontSize || !!(style !== null && style !== void 0 && (_style$typography3 = style.typography) !== null && _style$typography3 !== void 0 && _style$typography3.fontSize);
-}
+
 /**
- * Resets the font size block support attribute. This can be used when
- * disabling the font size support controls for a block via a progressive
- * discovery panel.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.attributes    Block's attributes.
- * @param {Object} props.setAttributes Function to set block's attributes.
+ * Internal dependencies
  */

-function resetFontSize(_ref) {
+
+
+
+function AspectGroup(_ref) {
   let {
-    attributes = {},
-    setAttributes
+    aspectRatios,
+    isDisabled,
+    label,
+    onClick,
+    value
   } = _ref;
-  const {
-    style
-  } = attributes;
-  setAttributes({
-    fontSize: undefined,
-    style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-        fontSize: undefined
-      }
-    })
-  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: label
+  }, aspectRatios.map(_ref2 => {
+    let {
+      title,
+      aspect
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      key: aspect,
+      disabled: isDisabled,
+      onClick: () => {
+        onClick(aspect);
+      },
+      role: "menuitemradio",
+      isSelected: aspect === value,
+      icon: aspect === value ? library_check : undefined
+    }, title);
+  }));
 }
-/**
- * Custom hook that checks if font-size settings have been disabled.
- *
- * @param {string} name The name of the block.
- * @return {boolean} Whether setting is disabled.
- */

-function useIsFontSizeDisabled() {
+function AspectRatioDropdown(_ref3) {
   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;
+    toggleProps
+  } = _ref3;
+  const {
+    isInProgress,
+    aspect,
+    setAspect,
+    defaultAspect
+  } = useImageEditingContext();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    icon: aspect_ratio,
+    label: (0,external_wp_i18n_namespaceObject.__)('Aspect Ratio'),
+    popoverProps: constants_POPOVER_PROPS,
+    toggleProps: toggleProps,
+    className: "wp-block-image__aspect-ratio"
+  }, _ref4 => {
+    let {
+      onClose
+    } = _ref4;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(AspectGroup, {
+      isDisabled: isInProgress,
+      onClick: newAspect => {
+        setAspect(newAspect);
+        onClose();
+      },
+      value: aspect,
+      aspectRatios: [{
+        title: (0,external_wp_i18n_namespaceObject.__)('Original'),
+        aspect: defaultAspect
+      }, {
+        title: (0,external_wp_i18n_namespaceObject.__)('Square'),
+        aspect: 1
+      }]
+    }), (0,external_wp_element_namespaceObject.createElement)(AspectGroup, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Landscape'),
+      isDisabled: isInProgress,
+      onClick: newAspect => {
+        setAspect(newAspect);
+        onClose();
+      },
+      value: aspect,
+      aspectRatios: [{
+        title: (0,external_wp_i18n_namespaceObject.__)('16:10'),
+        aspect: 16 / 10
+      }, {
+        title: (0,external_wp_i18n_namespaceObject.__)('16:9'),
+        aspect: 16 / 9
+      }, {
+        title: (0,external_wp_i18n_namespaceObject.__)('4:3'),
+        aspect: 4 / 3
+      }, {
+        title: (0,external_wp_i18n_namespaceObject.__)('3:2'),
+        aspect: 3 / 2
+      }]
+    }), (0,external_wp_element_namespaceObject.createElement)(AspectGroup, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Portrait'),
+      isDisabled: isInProgress,
+      onClick: newAspect => {
+        setAspect(newAspect);
+        onClose();
+      },
+      value: aspect,
+      aspectRatios: [{
+        title: (0,external_wp_i18n_namespaceObject.__)('10:16'),
+        aspect: 10 / 16
+      }, {
+        title: (0,external_wp_i18n_namespaceObject.__)('9:16'),
+        aspect: 9 / 16
+      }, {
+        title: (0,external_wp_i18n_namespaceObject.__)('3:4'),
+        aspect: 3 / 4
+      }, {
+        title: (0,external_wp_i18n_namespaceObject.__)('2:3'),
+        aspect: 2 / 3
+      }]
+    }));
+  });
 }
-/**
- * Add inline styles for font sizes.
- * Ideally, this is not needed and themes load the font-size classes on the
- * editor.
- *
- * @param {Function} BlockListBlock Original component.
- *
- * @return {Function} Wrapped component.
- */
-
-const withFontSizeInlineStyles = Object(external_wp_compose_["createHigherOrderComponent"])(BlockListBlock => props => {
-  var _style$typography4, _style$typography5;

-  const fontSizes = Object(use_setting["a" /* default */])('typography.fontSizes');
-  const {
-    name: blockName,
-    attributes: {
-      fontSize,
-      style
-    },
-    wrapperProps
-  } = props; // Only add inline styles if the block supports font sizes,
-  // doesn't skip serialization of font sizes,
-  // doesn't already have an inline font size,
-  // and does have a class to extract the font size from.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/rotate-right.js

-  if (!Object(external_wp_blocks_["hasBlockSupport"])(blockName, FONT_SIZE_SUPPORT_KEY) || Object(external_wp_blocks_["hasBlockSupport"])(blockName, 'typography.__experimentalSkipSerialization') || !fontSize || style !== null && style !== void 0 && (_style$typography4 = style.typography) !== null && _style$typography4 !== void 0 && _style$typography4.fontSize) {
-    return Object(external_wp_element_["createElement"])(BlockListBlock, props);
-  }

-  const fontSizeValue = Object(font_sizes_utils["a" /* getFontSize */])(fontSizes, fontSize, style === null || style === void 0 ? void 0 : (_style$typography5 = style.typography) === null || _style$typography5 === void 0 ? void 0 : _style$typography5.fontSize).size;
-  const newProps = { ...props,
-    wrapperProps: { ...wrapperProps,
-      style: {
-        fontSize: fontSizeValue,
-        ...(wrapperProps === null || wrapperProps === void 0 ? void 0 : wrapperProps.style)
-      }
-    }
-  };
-  return Object(external_wp_element_["createElement"])(BlockListBlock, newProps);
-}, 'withFontSizeInlineStyles');
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/font/addAttribute', font_size_addAttributes);
-Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'core/font/addSaveProps', font_size_addSaveProps);
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/font/addEditProps', font_size_addEditProps);
-Object(external_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/font-size/with-font-size-inline-styles', withFontSizeInlineStyles);
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/text-decoration-control/index.js + 1 modules
-var text_decoration_control = __webpack_require__("kVRd");
+const rotateRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var rotate_right = (rotateRight);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/text-decoration.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/rotation-button.js


 /**
  * WordPress dependencies
  */

+
+
 /**
  * Internal dependencies
  */


+function RotationButton() {
+  const {
+    isInProgress,
+    rotateClockwise
+  } = useImageEditingContext();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    icon: rotate_right,
+    label: (0,external_wp_i18n_namespaceObject.__)('Rotate'),
+    onClick: rotateClockwise,
+    disabled: isInProgress
+  });
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/form-controls.js


 /**
- * Key within block settings' supports array indicating support for text
- * decorations e.g. settings found in `block.json`.
+ * WordPress dependencies
  */

-const TEXT_DECORATION_SUPPORT_KEY = 'typography.__experimentalTextDecoration';
+
 /**
- * Inspector control panel containing the text decoration options.
- *
- * @param {Object} props Block properties.
- *
- * @return {WPElement} Text decoration edit element.
+ * Internal dependencies
  */

-function TextDecorationEdit(props) {
-  var _style$typography;

+function FormControls() {
   const {
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;
+    isInProgress,
+    apply,
+    cancel
+  } = useImageEditingContext();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    onClick: apply,
+    disabled: isInProgress
+  }, (0,external_wp_i18n_namespaceObject.__)('Apply')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    onClick: cancel
+  }, (0,external_wp_i18n_namespaceObject.__)('Cancel')));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/index.js

-  function onChange(newDecoration) {
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-          textDecoration: newDecoration
-        }
-      })
-    });
-  }

-  return Object(external_wp_element_["createElement"])(text_decoration_control["a" /* default */], {
-    value: style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.textDecoration,
-    onChange: onChange
-  });
-}
 /**
- * Checks if text-decoration settings have been disabled.
- *
- * @param {string} name Name of the block.
- *
- * @return {boolean} Whether or not the setting is disabled.
+ * WordPress dependencies
  */

-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;
-}
 /**
- * Checks if there is a current value set for the text decoration block support.
- *
- * @param {Object} props Block props.
- * @return {boolean}     Whether or not the block has a text decoration set.
+ * Internal dependencies
  */

-function hasTextDecorationValue(props) {
-  var _props$attributes$sty, _props$attributes$sty2;

-  return !!((_props$attributes$sty = props.attributes.style) !== null && _props$attributes$sty !== void 0 && (_props$attributes$sty2 = _props$attributes$sty.typography) !== null && _props$attributes$sty2 !== void 0 && _props$attributes$sty2.textDecoration);
-}
-/**
- * Resets the text decoration block support attribute. This can be used when
- * disabling the text decoration support controls for a block via a progressive
- * discovery panel.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.attributes    Block's attributes.
- * @param {Object} props.setAttributes Function to set block's attributes.
- */

-function resetTextDecoration(_ref) {
+
+
+
+
+function ImageEditor(_ref) {
   let {
-    attributes = {},
-    setAttributes
+    url,
+    width,
+    height,
+    clientWidth,
+    naturalHeight,
+    naturalWidth
   } = _ref;
-  const {
-    style
-  } = attributes;
-  setAttributes({
-    style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-        textDecoration: undefined
-      }
-    })
-  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(ImageCropper, {
+    url: url,
+    width: width,
+    height: height,
+    clientWidth: clientWidth,
+    naturalHeight: naturalHeight,
+    naturalWidth: naturalWidth
+  }), (0,external_wp_element_namespaceObject.createElement)(block_controls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(ZoomDropdown, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, null, toggleProps => (0,external_wp_element_namespaceObject.createElement)(AspectRatioDropdown, {
+    toggleProps: toggleProps
+  })), (0,external_wp_element_namespaceObject.createElement)(RotationButton, null)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(FormControls, null))));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/text-transform-control/index.js + 3 modules
-var text_transform_control = __webpack_require__("/Hvg");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/text-transform.js
-

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-size-control/use-dimension-handler.js
 /**
  * WordPress dependencies
  */

-/**
- * Internal dependencies
- */
+function useDimensionHandler(customHeight, customWidth, defaultHeight, defaultWidth, onChange) {
+  var _ref, _ref2;

+  const [currentWidth, setCurrentWidth] = (0,external_wp_element_namespaceObject.useState)((_ref = customWidth !== null && customWidth !== void 0 ? customWidth : defaultWidth) !== null && _ref !== void 0 ? _ref : '');
+  const [currentHeight, setCurrentHeight] = (0,external_wp_element_namespaceObject.useState)((_ref2 = customHeight !== null && customHeight !== void 0 ? customHeight : defaultHeight) !== null && _ref2 !== void 0 ? _ref2 : ''); // When an image is first inserted, the default dimensions are initially
+  // undefined. This effect updates the dimensions when the default values
+  // come through.

+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (customWidth === undefined && defaultWidth !== undefined) {
+      setCurrentWidth(defaultWidth);
+    }

+    if (customHeight === undefined && defaultHeight !== undefined) {
+      setCurrentHeight(defaultHeight);
+    }
+  }, [defaultWidth, defaultHeight]); // If custom values change, it means an outsider has resized the image using some other method (eg resize box)
+  // this keeps track of these values too. We need to parse before comparing; custom values can be strings.

-/**
- * Key within block settings' supports array indicating support for text
- * transforms e.g. settings found in `block.json`.
- */
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (customWidth !== undefined && Number.parseInt(customWidth) !== Number.parseInt(currentWidth)) {
+      setCurrentWidth(customWidth);
+    }

-const TEXT_TRANSFORM_SUPPORT_KEY = 'typography.__experimentalTextTransform';
-/**
- * Inspector control panel containing the text transform options.
- *
- * @param {Object} props Block properties.
- *
- * @return {WPElement} Text transform edit element.
- */
+    if (customHeight !== undefined && Number.parseInt(customHeight) !== Number.parseInt(currentHeight)) {
+      setCurrentHeight(customHeight);
+    }
+  }, [customWidth, customHeight]);

-function TextTransformEdit(props) {
-  var _style$typography;
+  const updateDimension = (dimension, value) => {
+    if (dimension === 'width') {
+      setCurrentWidth(value);
+    } else {
+      setCurrentHeight(value);
+    }

-  const {
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;
+    onChange({
+      [dimension]: value === '' ? undefined : parseInt(value, 10)
+    });
+  };

-  function onChange(newTransform) {
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-          textTransform: newTransform
-        }
-      })
+  const updateDimensions = (nextHeight, nextWidth) => {
+    setCurrentHeight(nextHeight !== null && nextHeight !== void 0 ? nextHeight : defaultHeight);
+    setCurrentWidth(nextWidth !== null && nextWidth !== void 0 ? nextWidth : defaultWidth);
+    onChange({
+      height: nextHeight,
+      width: nextWidth
     });
-  }
+  };

-  return Object(external_wp_element_["createElement"])(text_transform_control["a" /* default */], {
-    value: style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.textTransform,
-    onChange: onChange
-  });
+  return {
+    currentHeight,
+    currentWidth,
+    updateDimension,
+    updateDimensions
+  };
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-size-control/index.js
+
+
 /**
- * Checks if text-transform settings have been disabled.
- *
- * @param {string} name Name of the block.
- *
- * @return {boolean} Whether or not the setting is disabled.
+ * External dependencies
  */

-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;
-}
 /**
- * Checks if there is a current value set for the text transform block support.
- *
- * @param {Object} props Block props.
- * @return {boolean}     Whether or not the block has a text transform set.
+ * WordPress dependencies
  */

-function hasTextTransformValue(props) {
-  var _props$attributes$sty, _props$attributes$sty2;

-  return !!((_props$attributes$sty = props.attributes.style) !== null && _props$attributes$sty !== void 0 && (_props$attributes$sty2 = _props$attributes$sty.typography) !== null && _props$attributes$sty2 !== void 0 && _props$attributes$sty2.textTransform);
-}
+
 /**
- * Resets the text transform block support attribute. This can be used when
- * disabling the text transform support controls for a block via a progressive
- * discovery panel.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.attributes    Block's attributes.
- * @param {Object} props.setAttributes Function to set block's attributes.
+ * Internal dependencies
  */

-function resetTextTransform(_ref) {
+
+const IMAGE_SIZE_PRESETS = [25, 50, 75, 100];
+function ImageSizeControl(_ref) {
   let {
-    attributes = {},
-    setAttributes
+    imageWidth,
+    imageHeight,
+    imageSizeOptions = [],
+    isResizable = true,
+    slug,
+    width,
+    height,
+    onChange,
+    onChangeImage = external_lodash_namespaceObject.noop
   } = _ref;
   const {
-    style
-  } = attributes;
-  setAttributes({
-    style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-        textTransform: undefined
-      }
-    })
-  });
+    currentHeight,
+    currentWidth,
+    updateDimension,
+    updateDimensions
+  } = useDimensionHandler(height, width, imageHeight, imageWidth, onChange);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, !(0,external_lodash_namespaceObject.isEmpty)(imageSizeOptions) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Image size'),
+    value: slug,
+    options: imageSizeOptions,
+    onChange: onChangeImage
+  }), isResizable && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-image-size-control"
+  }, (0,external_wp_element_namespaceObject.createElement)("p", {
+    className: "block-editor-image-size-control__row"
+  }, (0,external_wp_i18n_namespaceObject.__)('Image dimensions')), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-image-size-control__row"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    type: "number",
+    className: "block-editor-image-size-control__width",
+    label: (0,external_wp_i18n_namespaceObject.__)('Width'),
+    value: currentWidth,
+    min: 1,
+    onChange: value => updateDimension('width', value)
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    type: "number",
+    className: "block-editor-image-size-control__height",
+    label: (0,external_wp_i18n_namespaceObject.__)('Height'),
+    value: currentHeight,
+    min: 1,
+    onChange: value => updateDimension('height', value)
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-image-size-control__row"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ButtonGroup, {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Image size presets')
+  }, IMAGE_SIZE_PRESETS.map(scale => {
+    const scaledWidth = Math.round(imageWidth * (scale / 100));
+    const scaledHeight = Math.round(imageHeight * (scale / 100));
+    const isCurrent = currentWidth === scaledWidth && currentHeight === scaledHeight;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      key: scale,
+      isSmall: true,
+      variant: isCurrent ? 'primary' : undefined,
+      isPressed: isCurrent,
+      onClick: () => updateDimensions(scaledHeight, scaledWidth)
+    }, scale, "%");
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    isSmall: true,
+    onClick: () => updateDimensions()
+  }, (0,external_wp_i18n_namespaceObject.__)('Reset')))));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/letter-spacing-control/index.js
-var letter_spacing_control = __webpack_require__("xBDm");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/letter-spacing.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js


 /**
  * WordPress dependencies
  */

-/**
- * Internal dependencies
- */
-
+const keyboardReturn = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "-2 -2 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var keyboard_return = (keyboardReturn);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js


 /**
- * Key within block settings' supports array indicating support for letter-spacing
- * e.g. settings found in `block.json`.
+ * External dependencies
  */

-const LETTER_SPACING_SUPPORT_KEY = 'typography.__experimentalLetterSpacing';
 /**
- * Inspector control panel containing the letter-spacing options.
- *
- * @param {Object} props Block properties.
- * @return {WPElement}    Letter-spacing edit element.
+ * WordPress dependencies
  */

-function LetterSpacingEdit(props) {
-  var _style$typography;

-  const {
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;

-  function onChange(newSpacing) {
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-        typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-          letterSpacing: newSpacing
-        }
-      })
-    });
+
+const LinkControlSettingsDrawer = _ref => {
+  let {
+    value,
+    onChange = external_lodash_namespaceObject.noop,
+    settings
+  } = _ref;
+
+  if (!settings || !settings.length) {
+    return null;
   }

-  return Object(external_wp_element_["createElement"])(letter_spacing_control["a" /* default */], {
-    value: style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.letterSpacing,
-    onChange: onChange,
-    __unstableInputWidth: false
-  });
-}
-/**
- * Checks if letter-spacing settings have been disabled.
- *
- * @param {string} name Name of the block.
- * @return {boolean}     Whether or not the setting is disabled.
- */
+  const handleSettingChange = setting => newValue => {
+    onChange({ ...value,
+      [setting.id]: newValue
+    });
+  };
+
+  const theSettings = settings.map(setting => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    className: "block-editor-link-control__setting",
+    key: setting.id,
+    label: setting.title,
+    onChange: handleSettingChange(setting),
+    checked: value ? !!value[setting.id] : false
+  }));
+  return (0,external_wp_element_namespaceObject.createElement)("fieldset", {
+    className: "block-editor-link-control__settings"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    as: "legend"
+  }, (0,external_wp_i18n_namespaceObject.__)('Currently selected link settings')), theSettings);
+};
+
+/* harmony default export */ var settings_drawer = (LinkControlSettingsDrawer);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/index.js

-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;
-}
-/**
- * Checks if there is a current value set for the letter spacing block support.
- *
- * @param {Object} props Block props.
- * @return {boolean}     Whether or not the block has a letter spacing set.
- */

-function hasLetterSpacingValue(props) {
-  var _props$attributes$sty, _props$attributes$sty2;

-  return !!((_props$attributes$sty = props.attributes.style) !== null && _props$attributes$sty !== void 0 && (_props$attributes$sty2 = _props$attributes$sty.typography) !== null && _props$attributes$sty2 !== void 0 && _props$attributes$sty2.letterSpacing);
-}
 /**
- * Resets the letter spacing block support attribute. This can be used when
- * disabling the letter spacing support controls for a block via a progressive
- * discovery panel.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.attributes    Block's attributes.
- * @param {Object} props.setAttributes Function to set block's attributes.
+ * External dependencies
  */

-function resetLetterSpacing(_ref) {
-  let {
-    attributes = {},
-    setAttributes
-  } = _ref;
-  const {
-    style
-  } = attributes;
-  setAttributes({
-    style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-      typography: { ...(style === null || style === void 0 ? void 0 : style.typography),
-        letterSpacing: undefined
-      }
-    })
-  });
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/typography.js


 /**
@@ -43985,434 +39644,629 @@ function resetLetterSpacing(_ref) {



+
+
+
+
+
 /**
  * Internal dependencies
  */



+class URLInput extends external_wp_element_namespaceObject.Component {
+  constructor(props) {
+    super(props);
+    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 = props.autocompleteRef || (0,external_wp_element_namespaceObject.createRef)();
+    this.inputRef = (0,external_wp_element_namespaceObject.createRef)();
+    this.updateSuggestions = (0,external_lodash_namespaceObject.debounce)(this.updateSuggestions.bind(this), 200);
+    this.suggestionNodes = [];
+    this.isUpdatingSuggestions = false;
+    this.state = {
+      suggestions: [],
+      showSuggestions: false,
+      selectedSuggestion: null,
+      suggestionsListboxId: '',
+      suggestionOptionIdPrefix: ''
+    };
+  }
+
+  componentDidUpdate(prevProps) {
+    const {
+      showSuggestions,
+      selectedSuggestion
+    } = this.state;
+    const {
+      value,
+      __experimentalShowInitialSuggestions = false
+    } = this.props; // only have to worry about scrolling selected suggestion into view
+    // when already expanded
+
+    if (showSuggestions && selectedSuggestion !== null && this.suggestionNodes[selectedSuggestion] && !this.scrollingIntoView) {
+      this.scrollingIntoView = true;
+      lib_default()(this.suggestionNodes[selectedSuggestion], this.autocompleteRef.current, {
+        onlyScrollIfNeeded: true
+      });
+      this.props.setTimeout(() => {
+        this.scrollingIntoView = false;
+      }, 100);
+    } // Update suggestions when the value changes
+

+    if (prevProps.value !== value && !this.props.disableSuggestions && !this.isUpdatingSuggestions) {
+      if (value !== null && value !== void 0 && value.length) {
+        // If the new value is not empty we need to update with suggestions for it
+        this.updateSuggestions(value);
+      } else if (__experimentalShowInitialSuggestions) {
+        // If the new value is empty and we can show initial suggestions, then show initial suggestions
+        this.updateSuggestions();
+      }
+    }
+  }

+  componentDidMount() {
+    if (this.shouldShowInitialSuggestions()) {
+      this.updateSuggestions();
+    }
+  }

+  componentWillUnmount() {
+    var _this$suggestionsRequ, _this$suggestionsRequ2;

+    (_this$suggestionsRequ = this.suggestionsRequest) === null || _this$suggestionsRequ === void 0 ? void 0 : (_this$suggestionsRequ2 = _this$suggestionsRequ.cancel) === null || _this$suggestionsRequ2 === void 0 ? void 0 : _this$suggestionsRequ2.call(_this$suggestionsRequ);
+    delete this.suggestionsRequest;
+  }

+  bindSuggestionNode(index) {
+    return ref => {
+      this.suggestionNodes[index] = ref;
+    };
+  }

+  shouldShowInitialSuggestions() {
+    const {
+      suggestions
+    } = this.state;
+    const {
+      __experimentalShowInitialSuggestions = false,
+      value
+    } = this.props;
+    return !this.isUpdatingSuggestions && __experimentalShowInitialSuggestions && !(value && value.length) && !(suggestions && suggestions.length);
+  }

-const TYPOGRAPHY_SUPPORT_KEY = 'typography';
-const TYPOGRAPHY_SUPPORT_KEYS = [LINE_HEIGHT_SUPPORT_KEY, FONT_SIZE_SUPPORT_KEY, FONT_STYLE_SUPPORT_KEY, FONT_WEIGHT_SUPPORT_KEY, FONT_FAMILY_SUPPORT_KEY, TEXT_DECORATION_SUPPORT_KEY, TEXT_TRANSFORM_SUPPORT_KEY, LETTER_SPACING_SUPPORT_KEY];
-function TypographyPanel(props) {
-  const {
-    clientId
-  } = props;
-  const isFontFamilyDisabled = useIsFontFamilyDisabled(props);
-  const isFontSizeDisabled = useIsFontSizeDisabled(props);
-  const isFontAppearanceDisabled = useIsFontAppearanceDisabled(props);
-  const isLineHeightDisabled = useIsLineHeightDisabled(props);
-  const isTextDecorationDisabled = useIsTextDecorationDisabled(props);
-  const isTextTransformDisabled = useIsTextTransformDisabled(props);
-  const isLetterSpacingDisabled = useIsLetterSpacingDisabled(props);
-  const hasFontStyles = !useIsFontStyleDisabled(props);
-  const hasFontWeights = !useIsFontWeightDisabled(props);
-  const isDisabled = useIsTypographyDisabled(props);
-  const isSupported = hasTypographySupport(props.name);
-  if (isDisabled || !isSupported) return null;
-  const defaultControls = Object(external_wp_blocks_["getBlockSupport"])(props.name, [TYPOGRAPHY_SUPPORT_KEY, '__experimentalDefaultControls']);
+  updateSuggestions() {
+    var _value;

-  const createResetAllFilter = attribute => newAttributes => {
-    var _newAttributes$style;
+    let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
+    const {
+      __experimentalFetchLinkSuggestions: fetchLinkSuggestions,
+      __experimentalHandleURLSuggestions: handleURLSuggestions
+    } = this.props;

-    return { ...newAttributes,
-      style: { ...newAttributes.style,
-        typography: { ...((_newAttributes$style = newAttributes.style) === null || _newAttributes$style === void 0 ? void 0 : _newAttributes$style.typography),
-          [attribute]: undefined
-        }
+    if (!fetchLinkSuggestions) {
+      return;
+    } // Initial suggestions may only show if there is no value
+    // (note: this includes whitespace).
+
+
+    const isInitialSuggestions = !((_value = value) !== null && _value !== void 0 && _value.length); // Trim only now we've determined whether or not it originally had a "length"
+    // (even if that value was all whitespace).
+
+    value = value.trim(); // Allow a suggestions request if:
+    // - there are at least 2 characters in the search input (except manual searches where
+    //   search input length is not required to trigger a fetch)
+    // - this is a direct entry (eg: a URL)
+
+    if (!isInitialSuggestions && (value.length < 2 || !handleURLSuggestions && (0,external_wp_url_namespaceObject.isURL)(value))) {
+      this.setState({
+        showSuggestions: false,
+        selectedSuggestion: null,
+        loading: false
+      });
+      return;
+    }
+
+    this.isUpdatingSuggestions = true;
+    this.setState({
+      selectedSuggestion: null,
+      loading: true
+    });
+    const request = fetchLinkSuggestions(value, {
+      isInitialSuggestions
+    });
+    request.then(suggestions => {
+      // A fetch Promise doesn't have an abort option. It's mimicked by
+      // comparing the request reference in on the instance, which is
+      // reset or deleted on subsequent requests or unmounting.
+      if (this.suggestionsRequest !== request) {
+        return;
       }
-    };
-  };

-  return Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */], {
-    __experimentalGroup: "typography"
-  }, !isFontFamilyDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    hasValue: () => hasFontFamilyValue(props),
-    label: Object(external_wp_i18n_["__"])('Font family'),
-    onDeselect: () => resetFontFamily(props),
-    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.fontFamily,
-    resetAllFilter: newAttributes => ({ ...newAttributes,
-      fontFamily: undefined
-    }),
-    panelId: clientId
-  }, Object(external_wp_element_["createElement"])(FontFamilyEdit, props)), !isFontSizeDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    hasValue: () => hasFontSizeValue(props),
-    label: Object(external_wp_i18n_["__"])('Font size'),
-    onDeselect: () => resetFontSize(props),
-    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.fontSize,
-    resetAllFilter: newAttributes => {
-      var _newAttributes$style2;
+      this.setState({
+        suggestions,
+        loading: false,
+        showSuggestions: !!suggestions.length
+      });

-      return { ...newAttributes,
-        fontSize: undefined,
-        style: { ...newAttributes.style,
-          typography: { ...((_newAttributes$style2 = newAttributes.style) === null || _newAttributes$style2 === void 0 ? void 0 : _newAttributes$style2.typography),
-            fontSize: undefined
+      if (!!suggestions.length) {
+        this.props.debouncedSpeak((0,external_wp_i18n_namespaceObject.sprintf)(
+        /* translators: %s: number of results. */
+        (0,external_wp_i18n_namespaceObject._n)('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', suggestions.length), suggestions.length), 'assertive');
+      } else {
+        this.props.debouncedSpeak((0,external_wp_i18n_namespaceObject.__)('No results.'), 'assertive');
+      }
+
+      this.isUpdatingSuggestions = false;
+    }).catch(() => {
+      if (this.suggestionsRequest === request) {
+        this.setState({
+          loading: false
+        });
+        this.isUpdatingSuggestions = false;
+      }
+    }); // Note that this assignment is handled *before* the async search request
+    // as a Promise always resolves on the next tick of the event loop.
+
+    this.suggestionsRequest = request;
+  }
+
+  onChange(event) {
+    const inputValue = event.target.value;
+    this.props.onChange(inputValue);
+
+    if (!this.props.disableSuggestions) {
+      this.updateSuggestions(inputValue);
+    }
+  }
+
+  onFocus() {
+    const {
+      suggestions
+    } = this.state;
+    const {
+      disableSuggestions,
+      value
+    } = this.props; // When opening the link editor, if there's a value present, we want to load the suggestions pane with the results for this input search value
+    // Don't re-run the suggestions on focus if there are already suggestions present (prevents searching again when tabbing between the input and buttons)
+
+    if (value && !disableSuggestions && !this.isUpdatingSuggestions && !(suggestions && suggestions.length)) {
+      // Ensure the suggestions are updated with the current input value
+      this.updateSuggestions(value);
+    }
+  }
+
+  onKeyDown(event) {
+    const {
+      showSuggestions,
+      selectedSuggestion,
+      suggestions,
+      loading
+    } = this.state; // If the suggestions are not shown or loading, we shouldn't handle the arrow keys
+    // We shouldn't preventDefault to allow block arrow keys navigation
+
+    if (!showSuggestions || !suggestions.length || loading) {
+      // In the Windows version of Firefox the up and down arrows don't move the caret
+      // within an input field like they do for Mac Firefox/Chrome/Safari. This causes
+      // a form of focus trapping that is disruptive to the user experience. This disruption
+      // only happens if the caret is not in the first or last position in the text input.
+      // See: https://github.com/WordPress/gutenberg/issues/5693#issuecomment-436684747
+      switch (event.keyCode) {
+        // When UP is pressed, if the caret is at the start of the text, move it to the 0
+        // position.
+        case external_wp_keycodes_namespaceObject.UP:
+          {
+            if (0 !== event.target.selectionStart) {
+              event.preventDefault(); // Set the input caret to position 0
+
+              event.target.setSelectionRange(0, 0);
+            }
+
+            break;
+          }
+        // When DOWN is pressed, if the caret is not at the end of the text, move it to the
+        // last position.
+
+        case external_wp_keycodes_namespaceObject.DOWN:
+          {
+            if (this.props.value.length !== event.target.selectionStart) {
+              event.preventDefault(); // Set the input caret to the last position
+
+              event.target.setSelectionRange(this.props.value.length, this.props.value.length);
+            }
+
+            break;
+          }
+        // Submitting while loading should trigger onSubmit
+
+        case external_wp_keycodes_namespaceObject.ENTER:
+          {
+            if (this.props.onSubmit) {
+              this.props.onSubmit(null, event);
+            }
+
+            break;
+          }
+      }
+
+      return;
+    }
+
+    const suggestion = this.state.suggestions[this.state.selectedSuggestion];
+
+    switch (event.keyCode) {
+      case external_wp_keycodes_namespaceObject.UP:
+        {
+          event.preventDefault();
+          const previousIndex = !selectedSuggestion ? suggestions.length - 1 : selectedSuggestion - 1;
+          this.setState({
+            selectedSuggestion: previousIndex
+          });
+          break;
+        }
+
+      case external_wp_keycodes_namespaceObject.DOWN:
+        {
+          event.preventDefault();
+          const nextIndex = selectedSuggestion === null || selectedSuggestion === suggestions.length - 1 ? 0 : selectedSuggestion + 1;
+          this.setState({
+            selectedSuggestion: nextIndex
+          });
+          break;
+        }
+
+      case external_wp_keycodes_namespaceObject.TAB:
+        {
+          if (this.state.selectedSuggestion !== null) {
+            this.selectLink(suggestion); // Announce a link has been selected when tabbing away from the input field.
+
+            this.props.speak((0,external_wp_i18n_namespaceObject.__)('Link selected.'));
           }
+
+          break;
         }
-      };
-    },
-    panelId: clientId
-  }, Object(external_wp_element_["createElement"])(FontSizeEdit, props)), !isFontAppearanceDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    className: "single-column",
-    hasValue: () => hasFontAppearanceValue(props),
-    label: Object(font_appearance_control["b" /* getFontAppearanceLabel */])(hasFontStyles, hasFontWeights),
-    onDeselect: () => resetFontAppearance(props),
-    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.fontAppearance,
-    resetAllFilter: newAttributes => {
-      var _newAttributes$style3;

-      return { ...newAttributes,
-        style: { ...newAttributes.style,
-          typography: { ...((_newAttributes$style3 = newAttributes.style) === null || _newAttributes$style3 === void 0 ? void 0 : _newAttributes$style3.typography),
-            fontStyle: undefined,
-            fontWeight: undefined
+      case external_wp_keycodes_namespaceObject.ENTER:
+        {
+          if (this.state.selectedSuggestion !== null) {
+            this.selectLink(suggestion);
+
+            if (this.props.onSubmit) {
+              this.props.onSubmit(suggestion, event);
+            }
+          } else if (this.props.onSubmit) {
+            this.props.onSubmit(null, event);
           }
+
+          break;
         }
-      };
-    },
-    panelId: clientId
-  }, Object(external_wp_element_["createElement"])(FontAppearanceEdit, props)), !isLineHeightDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    className: "single-column",
-    hasValue: () => hasLineHeightValue(props),
-    label: Object(external_wp_i18n_["__"])('Line height'),
-    onDeselect: () => resetLineHeight(props),
-    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.lineHeight,
-    resetAllFilter: createResetAllFilter('lineHeight'),
-    panelId: clientId
-  }, Object(external_wp_element_["createElement"])(LineHeightEdit, props)), !isTextDecorationDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    className: "single-column",
-    hasValue: () => hasTextDecorationValue(props),
-    label: Object(external_wp_i18n_["__"])('Decoration'),
-    onDeselect: () => resetTextDecoration(props),
-    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.textDecoration,
-    resetAllFilter: createResetAllFilter('textDecoration'),
-    panelId: clientId
-  }, Object(external_wp_element_["createElement"])(TextDecorationEdit, props)), !isTextTransformDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    className: "single-column",
-    hasValue: () => hasTextTransformValue(props),
-    label: Object(external_wp_i18n_["__"])('Letter case'),
-    onDeselect: () => resetTextTransform(props),
-    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.textTransform,
-    resetAllFilter: createResetAllFilter('textTransform'),
-    panelId: clientId
-  }, Object(external_wp_element_["createElement"])(TextTransformEdit, props)), !isLetterSpacingDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    className: "single-column",
-    hasValue: () => hasLetterSpacingValue(props),
-    label: Object(external_wp_i18n_["__"])('Letter-spacing'),
-    onDeselect: () => resetLetterSpacing(props),
-    isShownByDefault: defaultControls === null || defaultControls === void 0 ? void 0 : defaultControls.letterSpacing,
-    resetAllFilter: createResetAllFilter('letterSpacing'),
-    panelId: clientId
-  }, Object(external_wp_element_["createElement"])(LetterSpacingEdit, props)));
-}
-const hasTypographySupport = blockName => {
-  return TYPOGRAPHY_SUPPORT_KEYS.some(key => Object(external_wp_blocks_["hasBlockSupport"])(blockName, key));
-};
+    }
+  }
+
+  selectLink(suggestion) {
+    this.props.onChange(suggestion.url, suggestion);
+    this.setState({
+      selectedSuggestion: null,
+      showSuggestions: false
+    });
+  }
+
+  handleOnClick(suggestion) {
+    this.selectLink(suggestion); // Move focus to the input field when a link suggestion is clicked.
+
+    this.inputRef.current.focus();
+  }
+
+  static getDerivedStateFromProps(_ref, _ref2) {
+    let {
+      value,
+      instanceId,
+      disableSuggestions,
+      __experimentalShowInitialSuggestions = false
+    } = _ref;
+    let {
+      showSuggestions
+    } = _ref2;
+    let shouldShowSuggestions = showSuggestions;
+    const hasValue = value && value.length;
+
+    if (!__experimentalShowInitialSuggestions && !hasValue) {
+      shouldShowSuggestions = false;
+    }
+
+    if (disableSuggestions === true) {
+      shouldShowSuggestions = false;
+    }
+
+    return {
+      showSuggestions: shouldShowSuggestions,
+      suggestionsListboxId: `block-editor-url-input-suggestions-${instanceId}`,
+      suggestionOptionIdPrefix: `block-editor-url-input-suggestion-${instanceId}`
+    };
+  }
+
+  render() {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, this.renderControl(), this.renderSuggestions());
+  }
+
+  renderControl() {
+    const {
+      label,
+      className,
+      isFullWidth,
+      instanceId,
+      placeholder = (0,external_wp_i18n_namespaceObject.__)('Paste URL or type to search'),
+      __experimentalRenderControl: renderControl,
+      value = ''
+    } = this.props;
+    const {
+      loading,
+      showSuggestions,
+      selectedSuggestion,
+      suggestionsListboxId,
+      suggestionOptionIdPrefix
+    } = this.state;
+    const controlProps = {
+      id: `url-input-control-${instanceId}`,
+      label,
+      className: classnames_default()('block-editor-url-input', className, {
+        'is-full-width': isFullWidth
+      })
+    };
+    const inputProps = {
+      value,
+      required: true,
+      className: 'block-editor-url-input__input',
+      type: 'text',
+      onChange: this.onChange,
+      onFocus: this.onFocus,
+      placeholder,
+      onKeyDown: this.onKeyDown,
+      role: 'combobox',
+      'aria-label': (0,external_wp_i18n_namespaceObject.__)('URL'),
+      'aria-expanded': showSuggestions,
+      'aria-autocomplete': 'list',
+      'aria-owns': suggestionsListboxId,
+      'aria-activedescendant': selectedSuggestion !== null ? `${suggestionOptionIdPrefix}-${selectedSuggestion}` : undefined,
+      ref: this.inputRef
+    };

-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;
-}
+    if (renderControl) {
+      return renderControl(controlProps, inputProps, loading);
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/gap.js
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, controlProps, (0,external_wp_element_namespaceObject.createElement)("input", inputProps), loading && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null));
+  }

+  renderSuggestions() {
+    const {
+      className,
+      __experimentalRenderSuggestions: renderSuggestions,
+      value = '',
+      __experimentalShowInitialSuggestions = false
+    } = this.props;
+    const {
+      showSuggestions,
+      suggestions,
+      selectedSuggestion,
+      suggestionsListboxId,
+      suggestionOptionIdPrefix,
+      loading
+    } = this.state;
+    const suggestionsListProps = {
+      id: suggestionsListboxId,
+      ref: this.autocompleteRef,
+      role: 'listbox'
+    };

-/**
- * WordPress dependencies
- */
+    const buildSuggestionItemProps = (suggestion, index) => {
+      return {
+        role: 'option',
+        tabIndex: '-1',
+        id: `${suggestionOptionIdPrefix}-${index}`,
+        ref: this.bindSuggestionNode(index),
+        'aria-selected': index === selectedSuggestion
+      };
+    };

+    if ((0,external_lodash_namespaceObject.isFunction)(renderSuggestions) && showSuggestions && !!suggestions.length) {
+      return renderSuggestions({
+        suggestions,
+        selectedSuggestion,
+        suggestionsListProps,
+        buildSuggestionItemProps,
+        isLoading: loading,
+        handleSuggestionClick: this.handleOnClick,
+        isInitialSuggestions: __experimentalShowInitialSuggestions && !(value && value.length)
+      });
+    }

+    if (!(0,external_lodash_namespaceObject.isFunction)(renderSuggestions) && showSuggestions && !!suggestions.length) {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
+        position: "bottom",
+        noArrow: true,
+        focusOnMount: false
+      }, (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, suggestionsListProps, {
+        className: classnames_default()('block-editor-url-input__suggestions', `${className}__suggestions`)
+      }), suggestions.map((suggestion, index) => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({}, buildSuggestionItemProps(suggestion, index), {
+        key: suggestion.id,
+        className: classnames_default()('block-editor-url-input__suggestion', {
+          'is-selected': index === selectedSuggestion
+        }),
+        onClick: () => this.handleOnClick(suggestion)
+      }), suggestion.title))));
+    }

+    return null;
+  }

+}
 /**
- * Internal dependencies
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/url-input/README.md
  */


+/* harmony default export */ var url_input = ((0,external_wp_compose_namespaceObject.compose)(external_wp_compose_namespaceObject.withSafeTimeout, external_wp_components_namespaceObject.withSpokenMessages, external_wp_compose_namespaceObject.withInstanceId, (0,external_wp_data_namespaceObject.withSelect)((select, props) => {
+  // If a link suggestions handler is already provided then
+  // bail
+  if ((0,external_lodash_namespaceObject.isFunction)(props.__experimentalFetchLinkSuggestions)) {
+    return;
+  }

+  const {
+    getSettings
+  } = select(store);
+  return {
+    __experimentalFetchLinkSuggestions: getSettings().__experimentalFetchLinkSuggestions
+  };
+}))(URLInput));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-create-button.js

-/**
- * Determines if there is gap support.
- *
- * @param {string|Object} blockType Block name or Block Type object.
- * @return {boolean}                 Whether there is support.
- */
-
-function hasGapSupport(blockType) {
-  const support = Object(external_wp_blocks_["getBlockSupport"])(blockType, SPACING_SUPPORT_KEY);
-  return !!(true === support || support !== null && support !== void 0 && support.blockGap);
-}
-/**
- * Checks if there is a current value in the gap block support attributes.
- *
- * @param {Object} props Block props.
- * @return {boolean}      Whether or not the block has a gap value set.
- */

-function hasGapValue(props) {
-  var _props$attributes$sty, _props$attributes$sty2;

-  return ((_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : (_props$attributes$sty2 = _props$attributes$sty.spacing) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.blockGap) !== undefined;
-}
 /**
- * Resets the gap block support attribute. This can be used when disabling
- * the gap support controls for a block via a progressive discovery panel.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.attributes    Block's attributes.
- * @param {Object} props.setAttributes Function to set block's attributes.
+ * External dependencies
  */

-function resetGap(_ref) {
-  let {
-    attributes = {},
-    setAttributes
-  } = _ref;
-  const {
-    style
-  } = attributes;
-  setAttributes({
-    style: { ...style,
-      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
-        blockGap: undefined
-      }
-    }
-  });
-}
-/**
- * Custom hook that checks if gap settings have been disabled.
- *
- * @param {string} name The name of the block.
- * @return {boolean}     Whether the gap setting is disabled.
- */

-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;
-}
 /**
- * Inspector control panel containing the gap related configuration
- *
- * @param {Object} props
- *
- * @return {WPElement} Gap edit element.
+ * WordPress dependencies
  */

-function GapEdit(props) {
-  var _style$spacing;

-  const {
-    clientId,
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-    availableUnits: Object(use_setting["a" /* default */])('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
-  });
-  const ref = Object(use_block_refs["b" /* __unstableUseBlockRef */])(clientId);

-  if (useIsGapDisabled(props)) {
-    return null;
-  }

-  const onChange = next => {
-    var _window;

-    const newStyle = { ...style,
-      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
-        blockGap: next
-      }
-    };
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle)
-    }); // In Safari, changing the `gap` CSS value on its own will not trigger the layout
-    // to be recalculated / re-rendered. To force the updated gap to re-render, here
-    // we replace the block's node with itself.
+const LinkControlSearchCreate = _ref => {
+  let {
+    searchTerm,
+    onClick,
+    itemProps,
+    isSelected,
+    buttonText
+  } = _ref;

-    const isSafari = ((_window = window) === null || _window === void 0 ? void 0 : _window.navigator.userAgent) && window.navigator.userAgent.includes('Safari') && !window.navigator.userAgent.includes('Chrome ') && !window.navigator.userAgent.includes('Chromium ');
+  if (!searchTerm) {
+    return null;
+  }

-    if (ref.current && isSafari) {
-      var _ref$current$parentNo;
+  let text;

-      (_ref$current$parentNo = ref.current.parentNode) === null || _ref$current$parentNo === void 0 ? void 0 : _ref$current$parentNo.replaceChild(ref.current, ref.current);
-    }
-  };
+  if (buttonText) {
+    text = (0,external_lodash_namespaceObject.isFunction)(buttonText) ? buttonText(searchTerm) : buttonText;
+  } else {
+    text = (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %s: search term. */
+    (0,external_wp_i18n_namespaceObject.__)('Create: <mark>%s</mark>'), searchTerm), {
+      mark: (0,external_wp_element_namespaceObject.createElement)("mark", null)
+    });
+  }

-  return external_wp_element_["Platform"].select({
-    web: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
-      label: Object(external_wp_i18n_["__"])('Block spacing'),
-      __unstableInputWidth: "80px",
-      min: 0,
-      onChange: onChange,
-      units: units,
-      value: style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.blockGap
-    })),
-    native: null
-  });
-}
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({}, itemProps, {
+    className: classnames_default()('block-editor-link-control__search-create block-editor-link-control__search-item', {
+      'is-selected': isSelected
+    }),
+    onClick: onClick
+  }), (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    className: "block-editor-link-control__search-item-icon",
+    icon: library_plus
+  }), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-item-header"
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-item-title"
+  }, text)));
+};
+/* harmony default export */ var search_create_button = (LinkControlSearchCreate);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/margin.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/globe.js


 /**
  * WordPress dependencies
  */

+const globe = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_globe = (globe);

-
-
-/**
- * Internal dependencies
- */
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js



 /**
- * Determines if there is margin support.
- *
- * @param {string|Object} blockType Block name or Block Type object.
- *
- * @return {boolean} Whether there is support.
+ * External dependencies
  */

-function hasMarginSupport(blockType) {
-  const support = Object(external_wp_blocks_["getBlockSupport"])(blockType, SPACING_SUPPORT_KEY);
-  return !!(true === support || support !== null && support !== void 0 && support.margin);
-}
 /**
- * Checks if there is a current value in the margin block support attributes.
- *
- * @param {Object} props Block props.
- * @return {boolean}      Whether or not the block has a margin value set.
+ * WordPress dependencies
  */

-function hasMarginValue(props) {
-  var _props$attributes$sty, _props$attributes$sty2;

-  return ((_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : (_props$attributes$sty2 = _props$attributes$sty.spacing) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.margin) !== undefined;
-}
-/**
- * Resets the margin block support attributes. This can be used when disabling
- * the margin support controls for a block via a `ToolsPanel`.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.attributes    Block's attributes.
- * @param {Object} props.setAttributes Function to set block's attributes.
- */

-function resetMargin(_ref) {
+
+
+const LinkControlSearchItem = _ref => {
   let {
-    attributes = {},
-    setAttributes
+    itemProps,
+    suggestion,
+    isSelected = false,
+    onClick,
+    isURL = false,
+    searchTerm = '',
+    shouldShowType = false
   } = _ref;
-  const {
-    style
-  } = attributes;
-  setAttributes({
-    style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
-        margin: undefined
-      }
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({}, itemProps, {
+    onClick: onClick,
+    className: classnames_default()('block-editor-link-control__search-item', {
+      'is-selected': isSelected,
+      'is-url': isURL,
+      'is-entity': !isURL
     })
-  });
-}
-/**
- * Custom hook that checks if margin settings have been disabled.
- *
- * @param {string} name The name of the block.
- *
- * @return {boolean} Whether margin setting is disabled.
- */
+  }), isURL && (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    className: "block-editor-link-control__search-item-icon",
+    icon: library_globe
+  }), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-item-header"
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-item-title"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextHighlight, {
+    text: suggestion.title,
+    highlight: searchTerm
+  })), (0,external_wp_element_namespaceObject.createElement)("span", {
+    "aria-hidden": !isURL,
+    className: "block-editor-link-control__search-item-info"
+  }, !isURL && ((0,external_wp_url_namespaceObject.filterURLForDisplay)((0,external_wp_url_namespaceObject.safeDecodeURI)(suggestion.url)) || ''), isURL && (0,external_wp_i18n_namespaceObject.__)('Press ENTER to add this link'))), shouldShowType && suggestion.type && (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-item-type"
+  }, suggestion.type === 'post_tag' ? 'tag' : suggestion.type));
+};
+/* harmony default export */ var search_item = (LinkControlSearchItem);

-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;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/constants.js
 /**
- * Inspector control panel containing the margin related configuration
- *
- * @param {Object} props Block props.
- *
- * @return {WPElement} Margin edit element.
+ * WordPress dependencies
  */
+ // Used as a unique identifier for the "Create" option within search results.
+// Used to help distinguish the "Create" suggestion within the search results in
+// order to handle it as a unique case.

-function MarginEdit(props) {
-  var _style$spacing;
-
-  const {
-    name: blockName,
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-    availableUnits: Object(use_setting["a" /* default */])('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
-  });
-  const sides = useCustomSides(blockName, 'margin');
-  const splitOnAxis = sides && sides.some(side => AXIAL_SIDES.includes(side));
-
-  if (useIsMarginDisabled(props)) {
-    return null;
-  }
-
-  const onChange = next => {
-    const newStyle = { ...style,
-      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
-        margin: next
-      }
-    };
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle)
-    });
-  };
-
-  const onChangeShowVisualizer = next => {
-    const newStyle = { ...style,
-      visualizers: {
-        margin: next
-      }
-    };
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle)
-    });
-  };
-
-  return external_wp_element_["Platform"].select({
-    web: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalBoxControl"], {
-      values: style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.margin,
-      onChange: onChange,
-      onChangeShowVisualizer: onChangeShowVisualizer,
-      label: Object(external_wp_i18n_["__"])('Margin'),
-      sides: sides,
-      units: units,
-      allowReset: false,
-      splitOnAxis: splitOnAxis
-    })),
-    native: null
-  });
-}
+const CREATE_TYPE = '__CREATE__';
+const DEFAULT_LINK_SETTINGS = [{
+  id: 'opensInNewTab',
+  title: (0,external_wp_i18n_namespaceObject.__)('Open in new tab')
+}];

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/padding.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-results.js


 /**
@@ -44420,154 +40274,137 @@ function MarginEdit(props) {
  */


-
-
 /**
- * Internal dependencies
+ * External dependencies
  */



-
 /**
- * Determines if there is padding support.
- *
- * @param {string|Object} blockType Block name or Block Type object.
- *
- * @return {boolean} Whether there is support.
+ * Internal dependencies
  */

-function hasPaddingSupport(blockType) {
-  const support = Object(external_wp_blocks_["getBlockSupport"])(blockType, SPACING_SUPPORT_KEY);
-  return !!(true === support || support !== null && support !== void 0 && support.padding);
-}
-/**
- * Checks if there is a current value in the padding block support attributes.
- *
- * @param {Object} props Block props.
- * @return {boolean}      Whether or not the block has a padding value set.
- */

-function hasPaddingValue(props) {
-  var _props$attributes$sty, _props$attributes$sty2;

-  return ((_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : (_props$attributes$sty2 = _props$attributes$sty.spacing) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.padding) !== undefined;
-}
-/**
- * Resets the padding block support attributes. This can be used when disabling
- * the padding support controls for a block via a `ToolsPanel`.
- *
- * @param {Object} props               Block props.
- * @param {Object} props.attributes    Block's attributes.
- * @param {Object} props.setAttributes Function to set block's attributes.
- */

-function resetPadding(_ref) {
+function LinkControlSearchResults(_ref) {
   let {
-    attributes = {},
-    setAttributes
+    instanceId,
+    withCreateSuggestion,
+    currentInputValue,
+    handleSuggestionClick,
+    suggestionsListProps,
+    buildSuggestionItemProps,
+    suggestions,
+    selectedSuggestion,
+    isLoading,
+    isInitialSuggestions,
+    createSuggestionButtonText,
+    suggestionsQuery
   } = _ref;
-  const {
-    style
-  } = attributes;
-  setAttributes({
-    style: Object(hooks_utils["a" /* cleanEmptyObject */])({ ...style,
-      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
-        padding: undefined
-      }
-    })
+  const resultsListClasses = classnames_default()('block-editor-link-control__search-results', {
+    'is-loading': isLoading
   });
-}
-/**
- * Custom hook that checks if padding settings have been disabled.
- *
- * @param {string} name The name of the block.
- *
- * @return {boolean} Whether padding setting is disabled.
- */
+  const directLinkEntryTypes = ['url', 'mailto', 'tel', 'internal'];
+  const isSingleDirectEntryResult = suggestions.length === 1 && directLinkEntryTypes.includes(suggestions[0].type.toLowerCase());
+  const shouldShowCreateSuggestion = withCreateSuggestion && !isSingleDirectEntryResult && !isInitialSuggestions; // If the query has a specified type, then we can skip showing them in the result. See #24839.

-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;
+  const shouldShowSuggestionsTypes = !(suggestionsQuery !== null && suggestionsQuery !== void 0 && suggestionsQuery.type); // According to guidelines aria-label should be added if the label
+  // itself is not visible.
+  // See: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/listbox_role
+
+  const searchResultsLabelId = `block-editor-link-control-search-results-label-${instanceId}`;
+  const labelText = isInitialSuggestions ? (0,external_wp_i18n_namespaceObject.__)('Recently updated') : (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: search term. */
+  (0,external_wp_i18n_namespaceObject.__)('Search results for "%s"'), currentInputValue); // VisuallyHidden rightly doesn't accept custom classNames
+  // so we conditionally render it as a wrapper to visually hide the label
+  // when that is required.
+
+  const searchResultsLabel = (0,external_wp_element_namespaceObject.createElement)(isInitialSuggestions ? external_wp_element_namespaceObject.Fragment : external_wp_components_namespaceObject.VisuallyHidden, {}, // empty props
+  (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-results-label",
+    id: searchResultsLabelId
+  }, labelText));
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-link-control__search-results-wrapper"
+  }, searchResultsLabel, (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, suggestionsListProps, {
+    className: resultsListClasses,
+    "aria-labelledby": searchResultsLabelId
+  }), suggestions.map((suggestion, index) => {
+    if (shouldShowCreateSuggestion && CREATE_TYPE === suggestion.type) {
+      return (0,external_wp_element_namespaceObject.createElement)(search_create_button, {
+        searchTerm: currentInputValue,
+        buttonText: createSuggestionButtonText,
+        onClick: () => handleSuggestionClick(suggestion) // Intentionally only using `type` here as
+        // the constant is enough to uniquely
+        // identify the single "CREATE" suggestion.
+        ,
+        key: suggestion.type,
+        itemProps: buildSuggestionItemProps(suggestion, index),
+        isSelected: index === selectedSuggestion
+      });
+    } // If we're not handling "Create" suggestions above then
+    // we don't want them in the main results so exit early
+
+
+    if (CREATE_TYPE === suggestion.type) {
+      return null;
+    }
+
+    return (0,external_wp_element_namespaceObject.createElement)(search_item, {
+      key: `${suggestion.id}-${suggestion.type}`,
+      itemProps: buildSuggestionItemProps(suggestion, index),
+      suggestion: suggestion,
+      index: index,
+      onClick: () => {
+        handleSuggestionClick(suggestion);
+      },
+      isSelected: index === selectedSuggestion,
+      isURL: directLinkEntryTypes.includes(suggestion.type.toLowerCase()),
+      searchTerm: currentInputValue,
+      shouldShowType: shouldShowSuggestionsTypes
+    });
+  })));
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/is-url-like.js
 /**
- * Inspector control panel containing the padding related configuration
- *
- * @param {Object} props
- *
- * @return {WPElement} Padding edit element.
+ * External dependencies
  */

-function PaddingEdit(props) {
-  var _style$spacing;
-
-  const {
-    name: blockName,
-    attributes: {
-      style
-    },
-    setAttributes
-  } = props;
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-    availableUnits: Object(use_setting["a" /* default */])('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
-  });
-  const sides = useCustomSides(blockName, 'padding');
-  const splitOnAxis = sides && sides.some(side => AXIAL_SIDES.includes(side));
-
-  if (useIsPaddingDisabled(props)) {
-    return null;
-  }
+/**
+ * WordPress dependencies
+ */

-  const onChange = next => {
-    const newStyle = { ...style,
-      spacing: { ...(style === null || style === void 0 ? void 0 : style.spacing),
-        padding: next
-      }
-    };
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle)
-    });
-  };

-  const onChangeShowVisualizer = next => {
-    const newStyle = { ...style,
-      visualizers: {
-        padding: next
-      }
-    };
-    setAttributes({
-      style: Object(hooks_utils["a" /* cleanEmptyObject */])(newStyle)
-    });
-  };
+/**
+ * Determines whether a given value could be a URL. Note this does not
+ * guarantee the value is a URL only that it looks like it might be one. For
+ * example, just because a string has `www.` in it doesn't make it a URL,
+ * but it does make it highly likely that it will be so in the context of
+ * creating a link it makes sense to treat it like one.
+ *
+ * @param {string} val the candidate for being URL-like (or not).
+ *
+ * @return {boolean} whether or not the value is potentially a URL.
+ */

-  return external_wp_element_["Platform"].select({
-    web: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalBoxControl"], {
-      values: style === null || style === void 0 ? void 0 : (_style$spacing = style.spacing) === null || _style$spacing === void 0 ? void 0 : _style$spacing.padding,
-      onChange: onChange,
-      onChangeShowVisualizer: onChangeShowVisualizer,
-      label: Object(external_wp_i18n_["__"])('Padding'),
-      sides: sides,
-      units: units,
-      allowReset: false,
-      splitOnAxis: splitOnAxis
-    })),
-    native: null
-  });
+function isURLLike(val) {
+  const isInternal = (0,external_lodash_namespaceObject.startsWith)(val, '#');
+  return (0,external_wp_url_namespaceObject.isURL)(val) || val && val.includes('www.') || isInternal;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/dimensions.js
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/use-search-handler.js
 /**
  * WordPress dependencies
  */



+/**
+ * External dependencies
+ */
+

 /**
  * Internal dependencies
@@ -44576,408 +40413,582 @@ function PaddingEdit(props) {



+const handleNoop = () => Promise.resolve([]);
+const handleDirectEntry = val => {
+  let type = 'URL';
+  const protocol = (0,external_wp_url_namespaceObject.getProtocol)(val) || '';

-const SPACING_SUPPORT_KEY = 'spacing';
-const ALL_SIDES = ['top', 'right', 'bottom', 'left'];
-const AXIAL_SIDES = ['vertical', 'horizontal'];
-/**
- * Inspector controls for dimensions support.
- *
- * @param {Object} props Block props.
- *
- * @return {WPElement} Inspector controls for spacing support features.
- */
+  if (protocol.includes('mailto')) {
+    type = 'mailto';
+  }

-function DimensionsPanel(props) {
-  const isGapDisabled = useIsGapDisabled(props);
-  const isPaddingDisabled = useIsPaddingDisabled(props);
-  const isMarginDisabled = useIsMarginDisabled(props);
-  const isDisabled = useIsDimensionsDisabled(props);
-  const isSupported = hasDimensionsSupport(props.name);
+  if (protocol.includes('tel')) {
+    type = 'tel';
+  }

-  if (isDisabled || !isSupported) {
-    return null;
+  if ((0,external_lodash_namespaceObject.startsWith)(val, '#')) {
+    type = 'internal';
   }

-  const defaultSpacingControls = Object(external_wp_blocks_["getBlockSupport"])(props.name, [SPACING_SUPPORT_KEY, '__experimentalDefaultControls']);
+  return Promise.resolve([{
+    id: val,
+    title: val,
+    url: type === 'URL' ? (0,external_wp_url_namespaceObject.prependHTTP)(val) : val,
+    type
+  }]);
+};

-  const createResetAllFilter = attribute => newAttributes => {
-    var _newAttributes$style;
+const handleEntitySearch = async (val, suggestionsQuery, fetchSearchSuggestions, directEntryHandler, withCreateSuggestion, withURLSuggestion) => {
+  const {
+    isInitialSuggestions
+  } = suggestionsQuery;
+  let results = await Promise.all([fetchSearchSuggestions(val, suggestionsQuery), directEntryHandler(val)]);
+  const couldBeURL = !val.includes(' '); // If it's potentially a URL search then concat on a URL search suggestion
+  // just for good measure. That way once the actual results run out we always
+  // have a URL option to fallback on.

-    return { ...newAttributes,
-      style: { ...newAttributes.style,
-        spacing: { ...((_newAttributes$style = newAttributes.style) === null || _newAttributes$style === void 0 ? void 0 : _newAttributes$style.spacing),
-          [attribute]: undefined
-        }
-      }
-    };
-  };
+  if (couldBeURL && withURLSuggestion && !isInitialSuggestions) {
+    results = results[0].concat(results[1]);
+  } else {
+    results = results[0];
+  } // If displaying initial suggestions just return plain results.

-  return Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */], {
-    __experimentalGroup: "dimensions"
-  }, !isPaddingDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    hasValue: () => hasPaddingValue(props),
-    label: Object(external_wp_i18n_["__"])('Padding'),
-    onDeselect: () => resetPadding(props),
-    resetAllFilter: createResetAllFilter('padding'),
-    isShownByDefault: defaultSpacingControls === null || defaultSpacingControls === void 0 ? void 0 : defaultSpacingControls.padding,
-    panelId: props.clientId
-  }, Object(external_wp_element_["createElement"])(PaddingEdit, props)), !isMarginDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    hasValue: () => hasMarginValue(props),
-    label: Object(external_wp_i18n_["__"])('Margin'),
-    onDeselect: () => resetMargin(props),
-    resetAllFilter: createResetAllFilter('margin'),
-    isShownByDefault: defaultSpacingControls === null || defaultSpacingControls === void 0 ? void 0 : defaultSpacingControls.margin,
-    panelId: props.clientId
-  }, Object(external_wp_element_["createElement"])(MarginEdit, props)), !isGapDisabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    hasValue: () => hasGapValue(props),
-    label: Object(external_wp_i18n_["__"])('Block spacing'),
-    onDeselect: () => resetGap(props),
-    resetAllFilter: createResetAllFilter('blockGap'),
-    isShownByDefault: defaultSpacingControls === null || defaultSpacingControls === void 0 ? void 0 : defaultSpacingControls.blockGap,
-    panelId: props.clientId
-  }, Object(external_wp_element_["createElement"])(GapEdit, props)));
-}
-/**
- * Determine whether there is dimensions related block support.
- *
- * @param {string} blockName Block name.
- *
- * @return {boolean} Whether there is support.
- */

-function hasDimensionsSupport(blockName) {
-  if (external_wp_element_["Platform"].OS !== 'web') {
-    return false;
-  }
+  if (isInitialSuggestions) {
+    return results;
+  } // Here we append a faux suggestion to represent a "CREATE" option. This
+  // is detected in the rendering of the search results and handled as a
+  // special case. This is currently necessary because the suggestions
+  // dropdown will only appear if there are valid suggestions and
+  // therefore unless the create option is a suggestion it will not
+  // display in scenarios where there are no results returned from the
+  // API. In addition promoting CREATE to a first class suggestion affords
+  // the a11y benefits afforded by `URLInput` to all suggestions (eg:
+  // keyboard handling, ARIA roles...etc).
+  //
+  // Note also that the value of the `title` and `url` properties must correspond
+  // to the text value of the `<input>`. This is because `title` is used
+  // when creating the suggestion. Similarly `url` is used when using keyboard to select
+  // the suggestion (the <form> `onSubmit` handler falls-back to `url`).

-  return hasGapSupport(blockName) || hasPaddingSupport(blockName) || hasMarginSupport(blockName);
+
+  return isURLLike(val) || !withCreateSuggestion ? results : results.concat({
+    // the `id` prop is intentionally ommitted here because it
+    // is never exposed as part of the component's public API.
+    // see: https://github.com/WordPress/gutenberg/pull/19775#discussion_r378931316.
+    title: val,
+    // must match the existing `<input>`s text value
+    url: val,
+    // must match the existing `<input>`s text value
+    type: CREATE_TYPE
+  });
+};
+
+function useSearchHandler(suggestionsQuery, allowDirectEntry, withCreateSuggestion, withURLSuggestion) {
+  const {
+    fetchSearchSuggestions
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSettings
+    } = select(store);
+    return {
+      fetchSearchSuggestions: getSettings().__experimentalFetchLinkSuggestions
+    };
+  }, []);
+  const directEntryHandler = allowDirectEntry ? handleDirectEntry : handleNoop;
+  return (0,external_wp_element_namespaceObject.useCallback)((val, _ref) => {
+    let {
+      isInitialSuggestions
+    } = _ref;
+    return isURLLike(val) ? directEntryHandler(val, {
+      isInitialSuggestions
+    }) : handleEntitySearch(val, { ...suggestionsQuery,
+      isInitialSuggestions
+    }, fetchSearchSuggestions, directEntryHandler, withCreateSuggestion, withURLSuggestion);
+  }, [directEntryHandler, fetchSearchSuggestions, withCreateSuggestion]);
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js
+
+
 /**
- * Determines whether dimensions support has been disabled.
- *
- * @param {Object} props Block properties.
- *
- * @return {boolean} If spacing support is completely disabled.
+ * External dependencies
  */

-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);
-  return gapDisabled && paddingDisabled && marginDisabled;
-};
+
 /**
- * Custom hook to retrieve which padding/margin is supported
- * e.g. top, right, bottom or left.
- *
- * Sides are opted into by default. It is only if a specific side is set to
- * false that it is omitted.
- *
- * @param {string} blockName Block name.
- * @param {string} feature   The feature custom sides relate to e.g. padding or margins.
- *
- * @return {Object} Sides supporting custom margin.
+ * WordPress dependencies
  */


-function useCustomSides(blockName, feature) {
-  const support = Object(external_wp_blocks_["getBlockSupport"])(blockName, SPACING_SUPPORT_KEY); // Skip when setting is boolean as theme isn't setting arbitrary sides.

-  if (!support || typeof support[feature] === 'boolean') {
-    return;
-  }

-  return support[feature];
-}
 /**
- * Custom hook to determine whether the sides configured in the
- * block support are valid. A dimension property cannot declare
- * support for a mix of axial and individual sides.
- *
- * @param {string} blockName Block name.
- * @param {string} feature   The feature custom sides relate to e.g. padding or margins.
- *
- * @return {boolean} If the feature has a valid configuration of sides.
+ * Internal dependencies
  */

-function useIsDimensionsSupportValid(blockName, feature) {
-  const sides = useCustomSides(blockName, feature);

-  if (sides && sides.some(side => ALL_SIDES.includes(side)) && sides.some(side => AXIAL_SIDES.includes(side))) {
-    // eslint-disable-next-line no-console
-    console.warn(`The ${feature} support for the "${blockName}" block can not be configured to support both axial and arbitrary sides.`);
-    return false;
-  }

-  return true;
-}

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-display-block-controls/index.js
-var use_display_block_controls = __webpack_require__("HgtZ");
+ // Must be a function as otherwise URLInput will default
+// to the fetchLinkSuggestions passed in block editor settings
+// which will cause an unintended http request.
+
+const noopSearchHandler = () => Promise.resolve([]);
+
+const LinkControlSearchInput = (0,external_wp_element_namespaceObject.forwardRef)((_ref, ref) => {
+  let {
+    value,
+    children,
+    currentLink = {},
+    className = null,
+    placeholder = null,
+    withCreateSuggestion = false,
+    onCreateSuggestion = external_lodash_namespaceObject.noop,
+    onChange = external_lodash_namespaceObject.noop,
+    onSelect = external_lodash_namespaceObject.noop,
+    showSuggestions = true,
+    renderSuggestions = props => (0,external_wp_element_namespaceObject.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 = (0,external_wp_compose_namespaceObject.useInstanceId)(LinkControlSearchInput);
+  const [focusedSuggestion, setFocusedSuggestion] = (0,external_wp_element_namespaceObject.useState)();
+  /**
+   * Handles the user moving between different suggestions. Does not handle
+   * choosing an individual item.
+   *
+   * @param {string} selection  the url of the selected suggestion.
+   * @param {Object} suggestion the suggestion object.
+   */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/style.js
+  const onInputChange = (selection, suggestion) => {
+    onChange(selection);
+    setFocusedSuggestion(suggestion);
+  };

+  const handleRenderSuggestions = props => renderSuggestions({ ...props,
+    instanceId,
+    withCreateSuggestion,
+    currentInputValue: value,
+    createSuggestionButtonText,
+    suggestionsQuery,
+    handleSuggestionClick: suggestion => {
+      if (props.handleSuggestionClick) {
+        props.handleSuggestionClick(suggestion);
+      }

+      onSuggestionSelected(suggestion);
+    }
+  });

-/**
- * External dependencies
- */
+  const onSuggestionSelected = async selectedSuggestion => {
+    let suggestion = selectedSuggestion;

+    if (CREATE_TYPE === selectedSuggestion.type) {
+      // Create a new page and call onSelect with the output from the onCreateSuggestion callback
+      try {
+        var _suggestion;

-/**
- * WordPress dependencies
- */
+        suggestion = await onCreateSuggestion(selectedSuggestion.title);
+
+        if ((_suggestion = suggestion) !== null && _suggestion !== void 0 && _suggestion.url) {
+          onSelect(suggestion);
+        }
+      } catch (e) {}
+
+      return;
+    }
+
+    if (allowDirectEntry || suggestion && Object.keys(suggestion).length >= 1) {
+      onSelect( // Some direct entries don't have types or IDs, and we still need to clear the previous ones.
+      { ...(0,external_lodash_namespaceObject.omit)(currentLink, 'id', 'url'),
+        ...suggestion
+      }, suggestion);
+    }
+  };

+  const inputClasses = classnames_default()(className, {
+    'has-no-label': !useLabel
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-link-control__search-input-container"
+  }, (0,external_wp_element_namespaceObject.createElement)(url_input, {
+    label: useLabel ? 'URL' : undefined,
+    className: inputClasses,
+    value: value,
+    onChange: onInputChange,
+    placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : (0,external_wp_i18n_namespaceObject.__)('Search or type url'),
+    __experimentalRenderSuggestions: showSuggestions ? handleRenderSuggestions : null,
+    __experimentalFetchLinkSuggestions: searchHandler,
+    __experimentalHandleURLSuggestions: true,
+    __experimentalShowInitialSuggestions: showInitialSuggestions,
+    onSubmit: (suggestion, event) => {
+      var _value$trim;
+
+      const hasSuggestion = suggestion || focusedSuggestion; // If there is no suggestion and the value (ie: any manually entered URL) is empty
+      // then don't allow submission otherwise we get empty links.

+      if (!hasSuggestion && !(value !== null && value !== void 0 && (_value$trim = value.trim()) !== null && _value$trim !== void 0 && _value$trim.length)) {
+        event.preventDefault();
+      } else {
+        onSuggestionSelected(hasSuggestion || {
+          url: value
+        });
+      }
+    },
+    ref: ref
+  }), children);
+});
+/* harmony default export */ var search_input = (LinkControlSearchInput);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/info.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const info = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_info = (info);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js


+/**
+ * WordPress dependencies
+ */

+const pencil = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_pencil = (pencil);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
+/**
+ * Internal dependencies
+ */

+/* harmony default export */ var library_edit = (library_pencil);

-const styleSupportKeys = [...TYPOGRAPHY_SUPPORT_KEYS, BORDER_SUPPORT_KEY, COLOR_SUPPORT_KEY, SPACING_SUPPORT_KEY];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/viewer-slot.js
+/**
+ * WordPress dependencies
+ */

-const hasStyleSupport = blockType => styleSupportKeys.some(key => Object(external_wp_blocks_["hasBlockSupport"])(blockType, key));
+const {
+  Slot: ViewerSlot,
+  Fill: ViewerFill
+} = (0,external_wp_components_namespaceObject.createSlotFill)('BlockEditorLinkControlViewer');

-const VARIABLE_REFERENCE_PREFIX = 'var:';
-const VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE = '|';
-const VARIABLE_PATH_SEPARATOR_TOKEN_STYLE = '--';
+/* harmony default export */ var viewer_slot = ((/* unused pure expression or super */ null && (ViewerSlot)));

-function compileStyleValue(uncompiledValue) {
-  if (Object(external_lodash_["startsWith"])(uncompiledValue, VARIABLE_REFERENCE_PREFIX)) {
-    const variable = uncompiledValue.slice(VARIABLE_REFERENCE_PREFIX.length).split(VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE).join(VARIABLE_PATH_SEPARATOR_TOKEN_STYLE);
-    return `var(--wp--${variable})`;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/use-rich-url-data.js
+/**
+ * Internal dependencies
+ */

-  return uncompiledValue;
-}
 /**
- * Returns the inline styles to add depending on the style object
- *
- * @param {Object} styles Styles configuration.
- *
- * @return {Object} Flattened CSS variables declaration.
+ * WordPress dependencies
  */


-function getInlineStyles() {
-  let styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  const ignoredStyles = ['spacing.blockGap'];
-  const output = {};
-  Object.keys(external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"]).forEach(propKey => {
-    const path = external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"][propKey].value;
-    const subPaths = external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"][propKey].properties; // Ignore styles on elements because they are handled on the server.

-    if (Object(external_lodash_["has"])(styles, path) && 'elements' !== Object(external_lodash_["first"])(path)) {
-      // Checking if style value is a string allows for shorthand css
-      // option and backwards compatibility for border radius support.
-      const styleValue = Object(external_lodash_["get"])(styles, path);

-      if (!!subPaths && !Object(external_lodash_["isString"])(styleValue)) {
-        Object.entries(subPaths).forEach(entry => {
-          const [name, subPath] = entry;
-          const value = Object(external_lodash_["get"])(styleValue, [subPath]);
+function use_rich_url_data_reducer(state, action) {
+  switch (action.type) {
+    case 'RESOLVED':
+      return { ...state,
+        isFetching: false,
+        richData: action.richData
+      };

-          if (value) {
-            output[name] = compileStyleValue(value);
-          }
-        });
-      } else if (!ignoredStyles.includes(path.join('.'))) {
-        output[propKey] = compileStyleValue(Object(external_lodash_["get"])(styles, path));
-      }
-    }
-  });
-  return output;
+    case 'ERROR':
+      return { ...state,
+        isFetching: false,
+        richData: null
+      };
+
+    case 'LOADING':
+      return { ...state,
+        isFetching: true
+      };
+
+    default:
+      throw new Error(`Unexpected action type ${action.type}`);
+  }
 }

-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);
+function useRemoteUrlData(url) {
+  const [state, dispatch] = (0,external_wp_element_namespaceObject.useReducer)(use_rich_url_data_reducer, {
+    richData: null,
+    isFetching: false
+  });
+  const {
+    fetchRichUrlData
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSettings
+    } = select(store);
+    return {
+      fetchRichUrlData: getSettings().__experimentalFetchRichUrlData
+    };
+  }, []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // Only make the request if we have an actual URL
+    // and the fetching util is available. In some editors
+    // there may not be such a util.
+    if (url !== null && url !== void 0 && url.length && fetchRichUrlData && typeof AbortController !== 'undefined') {
+      dispatch({
+        type: 'LOADING'
+      });
+      const controller = new window.AbortController();
+      const signal = controller.signal;
+      fetchRichUrlData(url, {
+        signal
+      }).then(urlData => {
+        dispatch({
+          type: 'RESOLVED',
+          richData: urlData
+        });
+      }).catch(() => {
+        // Avoid setting state on unmounted component
+        if (!signal.aborted) {
+          dispatch({
+            type: 'ERROR'
+          });
+        }
+      }); // Cleanup: when the URL changes the abort the current request

-    if (!Object(external_lodash_["isEmpty"])(elementStyles)) {
-      return [`.${selector} ${external_wp_blocks_["__EXPERIMENTAL_ELEMENTS"][element]}{`, ...Object(external_lodash_["map"])(elementStyles, (value, property) => `\t${Object(external_lodash_["kebabCase"])(property)}: ${value};`), '}'].join('\n');
+      return () => {
+        controller.abort();
+      };
     }
-
-    return '';
-  }).join('\n');
+  }, [url]);
+  return state;
 }
-/**
- * Filters registered block settings, extending attributes to include `style` attribute.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
- */
-

-function style_addAttribute(settings) {
-  if (!hasStyleSupport(settings)) {
-    return settings;
-  } // allow blocks to specify their own attribute definition with default values if needed.
+/* harmony default export */ var use_rich_url_data = (useRemoteUrlData);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/link-preview.js

-  if (!settings.attributes.style) {
-    Object.assign(settings.attributes, {
-      style: {
-        type: 'object'
-      }
-    });
-  }

-  return settings;
-}
 /**
- * A dictionary of paths to flag skipping block support serialization as the key,
- * with values providing the style paths to be omitted from serialization.
- *
- * @constant
- * @type {Record<string, string[]>}
+ * External dependencies
  */

-
-const skipSerializationPathsEdit = {
-  [`${BORDER_SUPPORT_KEY}.__experimentalSkipSerialization`]: ['border'],
-  [`${COLOR_SUPPORT_KEY}.__experimentalSkipSerialization`]: [COLOR_SUPPORT_KEY],
-  [`${TYPOGRAPHY_SUPPORT_KEY}.__experimentalSkipSerialization`]: [TYPOGRAPHY_SUPPORT_KEY],
-  [`${SPACING_SUPPORT_KEY}.__experimentalSkipSerialization`]: ['spacing']
-};
 /**
- * A dictionary of paths to flag skipping block support serialization as the key,
- * with values providing the style paths to be omitted from serialization.
- *
- * Extends the Edit skip paths to enable skipping additional paths in just
- * the Save component. This allows a block support to be serialized within the
- * editor, while using an alternate approach, such as server-side rendering, when
- * the support is saved.
- *
- * @constant
- * @type {Record<string, string[]>}
+ * WordPress dependencies
  */

-const skipSerializationPathsSave = { ...skipSerializationPathsEdit,
-  [`${SPACING_SUPPORT_KEY}`]: ['spacing.blockGap']
-};
+
+
+
+
+
 /**
- * Override props assigned to save component to inject the CSS variables definition.
- *
- * @param {Object}                    props      Additional props applied to save element.
- * @param {Object}                    blockType  Block type.
- * @param {Object}                    attributes Block attributes.
- * @param {?Record<string, string[]>} skipPaths  An object of keys and paths to skip serialization.
- *
- * @return {Object} Filtered props applied to save element.
+ * Internal dependencies
  */

-function style_addSaveProps(props, blockType, attributes) {
-  let skipPaths = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : skipSerializationPathsSave;

-  if (!hasStyleSupport(blockType)) {
-    return props;
-  }
+
+function LinkPreview(_ref) {
+  var _value$url;

   let {
-    style
-  } = attributes;
-  Object(external_lodash_["forEach"])(skipPaths, (path, indicator) => {
-    if (Object(external_wp_blocks_["getBlockSupport"])(blockType, indicator)) {
-      style = Object(external_lodash_["omit"])(style, path);
-    }
-  });
-  props.style = { ...getInlineStyles(style),
-    ...props.style
-  };
-  return props;
+    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 {
+    richData,
+    isFetching
+  } = use_rich_url_data(showRichPreviews); // Rich data may be an empty object so test for that.
+
+  const hasRichData = richData && Object.keys(richData).length;
+  const displayURL = value && (0,external_wp_url_namespaceObject.filterURLForDisplay)((0,external_wp_url_namespaceObject.safeDecodeURI)(value.url), 16) || '';
+  const displayTitle = (richData === null || richData === void 0 ? void 0 : richData.title) || (value === null || value === void 0 ? void 0 : value.title) || displayURL; // url can be undefined if the href attribute is unset
+
+  const isEmptyURL = !(value !== null && value !== void 0 && (_value$url = value.url) !== null && _value$url !== void 0 && _value$url.length);
+  let icon;
+
+  if (richData !== null && richData !== void 0 && richData.icon) {
+    icon = (0,external_wp_element_namespaceObject.createElement)("img", {
+      src: richData === null || richData === void 0 ? void 0 : richData.icon,
+      alt: ""
+    });
+  } else if (isEmptyURL) {
+    icon = (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+      icon: library_info,
+      size: 32
+    });
+  } else {
+    icon = (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+      icon: library_globe
+    });
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Currently selected'),
+    "aria-selected": "true",
+    className: classnames_default()('block-editor-link-control__search-item', {
+      'is-current': true,
+      'is-rich': hasRichData,
+      'is-fetching': !!isFetching,
+      'is-preview': true,
+      'is-error': isEmptyURL
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-link-control__search-item-top"
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-item-header"
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: classnames_default()('block-editor-link-control__search-item-icon', {
+      'is-image': richData === null || richData === void 0 ? void 0 : richData.icon
+    })
+  }, icon), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-item-details"
+  }, !isEmptyURL ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+    className: "block-editor-link-control__search-item-title",
+    href: value.url
+  }, (0,external_wp_dom_namespaceObject.__unstableStripHTML)(displayTitle)), (value === null || value === void 0 ? void 0 : value.url) && (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-item-info"
+  }, displayURL)) : (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-link-control__search-item-error-notice"
+  }, "Link is empty"))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: library_edit,
+    label: (0,external_wp_i18n_namespaceObject.__)('Edit'),
+    className: "block-editor-link-control__search-item-action",
+    onClick: onEditClick,
+    iconSize: 24
+  }), hasUnlinkControl && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: link_off,
+    label: (0,external_wp_i18n_namespaceObject.__)('Unlink'),
+    className: "block-editor-link-control__search-item-action block-editor-link-control__unlink",
+    onClick: onRemove,
+    iconSize: 24
+  }), (0,external_wp_element_namespaceObject.createElement)(ViewerSlot, {
+    fillProps: value
+  })), (hasRichData && ((richData === null || richData === void 0 ? void 0 : richData.image) || (richData === null || richData === void 0 ? void 0 : richData.description)) || isFetching) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-link-control__search-item-bottom"
+  }, ((richData === null || richData === void 0 ? void 0 : richData.image) || isFetching) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    "aria-hidden": !(richData !== null && richData !== void 0 && richData.image),
+    className: classnames_default()('block-editor-link-control__search-item-image', {
+      'is-placeholder': !(richData !== null && richData !== void 0 && richData.image)
+    })
+  }, (richData === null || richData === void 0 ? void 0 : richData.image) && (0,external_wp_element_namespaceObject.createElement)("img", {
+    src: richData === null || richData === void 0 ? void 0 : richData.image,
+    alt: ""
+  })), ((richData === null || richData === void 0 ? void 0 : richData.description) || isFetching) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    "aria-hidden": !(richData !== null && richData !== void 0 && richData.description),
+    className: classnames_default()('block-editor-link-control__search-item-description', {
+      'is-placeholder': !(richData !== null && richData !== void 0 && richData.description)
+    })
+  }, (richData === null || richData === void 0 ? void 0 : richData.description) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalText, {
+    truncate: true,
+    numberOfLines: "2"
+  }, richData.description))));
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/use-create-page.js
 /**
- * Filters registered block settings to extend the block edit wrapper
- * to apply the desired styles and classnames properly.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object}.Filtered block settings.
+ * WordPress dependencies
  */

-function style_addEditProps(settings) {
-  if (!hasStyleSupport(settings)) {
-    return settings;
-  }

-  const existingGetEditWrapperProps = settings.getEditWrapperProps;
+function useCreatePage(handleCreatePage) {
+  const cancelableCreateSuggestion = (0,external_wp_element_namespaceObject.useRef)();
+  const [isCreatingPage, setIsCreatingPage] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [errorMessage, setErrorMessage] = (0,external_wp_element_namespaceObject.useState)(null);

-  settings.getEditWrapperProps = attributes => {
-    let props = {};
+  const createPage = async function (suggestionTitle) {
+    setIsCreatingPage(true);
+    setErrorMessage(null);

-    if (existingGetEditWrapperProps) {
-      props = existingGetEditWrapperProps(attributes);
-    }
+    try {
+      // Make cancellable in order that we can avoid setting State
+      // if the component unmounts during the call to `createSuggestion`
+      cancelableCreateSuggestion.current = makeCancelable( // Using Promise.resolve to allow createSuggestion to return a
+      // non-Promise based value.
+      Promise.resolve(handleCreatePage(suggestionTitle)));
+      return await cancelableCreateSuggestion.current.promise;
+    } catch (error) {
+      if (error && error.isCanceled) {
+        return; // bail if canceled to avoid setting state
+      }

-    return style_addSaveProps(props, settings, attributes, skipSerializationPathsEdit);
+      setErrorMessage(error.message || (0,external_wp_i18n_namespaceObject.__)('An unknown error occurred during creation. Please try again.'));
+      throw error;
+    } finally {
+      setIsCreatingPage(false);
+    }
   };
+  /**
+   * Handles cancelling any pending Promises that have been made cancelable.
+   */

-  return settings;
-}
-/**
- * Override the default edit UI to include new inspector controls for
- * all the custom styles configs.
- *
- * @param {Function} BlockEdit Original component.
- *
- * @return {Function} Wrapped component.
- */

-const withBlockControls = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => props => {
-  const shouldDisplayControls = Object(use_display_block_controls["a" /* default */])();
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, shouldDisplayControls && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(ColorEdit, props), Object(external_wp_element_["createElement"])(TypographyPanel, props), Object(external_wp_element_["createElement"])(BorderPanel, props), Object(external_wp_element_["createElement"])(DimensionsPanel, props)), Object(external_wp_element_["createElement"])(BlockEdit, props));
-}, 'withToolbarControls');
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return () => {
+      // componentDidUnmount
+      if (cancelableCreateSuggestion.current) {
+        cancelableCreateSuggestion.current.cancel();
+      }
+    };
+  }, []);
+  return {
+    createPage,
+    isCreatingPage,
+    errorMessage
+  };
+}
 /**
- * Override the default block element to include duotone styles.
+ * Creates a wrapper around a promise which allows it to be programmatically
+ * cancelled.
+ * See: https://reactjs.org/blog/2015/12/16/ismounted-antipattern.html
  *
- * @param {Function} BlockListBlock Original component
- * @return {Function}                Wrapped component
+ * @param {Promise} promise the Promise to make cancelable
  */

-const withElementsStyles = Object(external_wp_compose_["createHigherOrderComponent"])(BlockListBlock => props => {
-  var _props$attributes$sty, _props$attributes$sty2;
+const makeCancelable = promise => {
+  let hasCanceled_ = false;
+  const wrappedPromise = new Promise((resolve, reject) => {
+    promise.then(val => hasCanceled_ ? reject({
+      isCanceled: true
+    }) : resolve(val), error => hasCanceled_ ? reject({
+      isCanceled: true
+    }) : reject(error));
+  });
+  return {
+    promise: wrappedPromise,

-  const elements = (_props$attributes$sty = props.attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : _props$attributes$sty.elements;
-  const blockElementsContainerIdentifier = `wp-elements-${Object(external_wp_compose_["useInstanceId"])(BlockListBlock)}`;
-  const styles = compileElementsStyles(blockElementsContainerIdentifier, (_props$attributes$sty2 = props.attributes.style) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.elements);
-  const element = Object(external_wp_element_["useContext"])(block_list["c" /* default */].__unstableElementContext);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, elements && element && Object(external_wp_element_["createPortal"])(Object(external_wp_element_["createElement"])("style", {
-    dangerouslySetInnerHTML: {
-      __html: styles
+    cancel() {
+      hasCanceled_ = true;
     }
-  }), element), Object(external_wp_element_["createElement"])(BlockListBlock, Object(esm_extends["a" /* default */])({}, props, {
-    className: elements ? classnames_default()(props.className, blockElementsContainerIdentifier) : props.className
-  })));
-});
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/style/addAttribute', style_addAttribute);
-Object(external_wp_hooks_["addFilter"])('blocks.getSaveContent.extraProps', 'core/style/addSaveProps', style_addSaveProps);
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/style/addEditProps', style_addEditProps);
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/style/with-block-controls', withBlockControls);
-Object(external_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/editor/with-elements-styles', withElementsStyles);
-
-// EXTERNAL MODULE: ./node_modules/colord/index.mjs
-var colord = __webpack_require__("fHnH");
-
-// EXTERNAL MODULE: ./node_modules/colord/plugins/names.mjs
-var names = __webpack_require__("abaT");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/duotone-control/index.js
-var duotone_control = __webpack_require__("1uGa");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/duotone.js
+  };
+};

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/link-control/index.js


 /**
@@ -44985,7 +40996,6 @@ var duotone_control = __webpack_require__("1uGa");
  */


-
 /**
  * WordPress dependencies
  */
@@ -44995,560 +41005,388 @@ var duotone_control = __webpack_require__("1uGa");



+
 /**
  * Internal dependencies
  */



-const duotone_EMPTY_ARRAY = [];
-Object(colord["b" /* extend */])([names["a" /* default */]]);
-/**
- * Convert a list of colors to an object of R, G, and B values.
- *
- * @param {string[]} colors Array of RBG color strings.
- *
- * @return {Object} R, G, and B values.
- */

-function getValuesFromColors() {
-  let colors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  const values = {
-    r: [],
-    g: [],
-    b: [],
-    a: []
-  };
-  colors.forEach(color => {
-    const rgbColor = Object(colord["a" /* colord */])(color).toRgb();
-    values.r.push(rgbColor.r / 255);
-    values.g.push(rgbColor.g / 255);
-    values.b.push(rgbColor.b / 255);
-    values.a.push(rgbColor.a);
-  });
-  return values;
-}
-/**
- * Values for the SVG `feComponentTransfer`.
- *
- * @typedef Values {Object}
- * @property {number[]} r Red values.
- * @property {number[]} g Green values.
- * @property {number[]} b Blue values.
- * @property {number[]} a Alpha values.
- */
+
+

 /**
- * SVG and stylesheet needed for rendering the duotone filter.
+ * Default properties associated with a link control value.
  *
- * @param {Object} props          Duotone props.
- * @param {string} props.selector Selector to apply the filter to.
- * @param {string} props.id       Unique id for this duotone filter.
- * @param {Values} props.values   R, G, B, and A values to filter with.
+ * @typedef WPLinkControlDefaultValue
  *
- * @return {WPElement} Duotone element.
+ * @property {string}   url           Link URL.
+ * @property {string=}  title         Link title.
+ * @property {boolean=} opensInNewTab Whether link should open in a new browser
+ *                                    tab. This value is only assigned if not
+ *                                    providing a custom `settings` prop.
  */

-function DuotoneFilter(_ref) {
-  let {
-    selector,
-    id,
-    values
-  } = _ref;
-  const stylesheet = `
-${selector} {
-	filter: url( #${id} );
-}
-`;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["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(external_wp_element_["createElement"])("defs", null, Object(external_wp_element_["createElement"])("filter", {
-    id: id
-  }, Object(external_wp_element_["createElement"])("feColorMatrix", {
-    // Use sRGB instead of linearRGB so transparency looks correct.
-    colorInterpolationFilters: "sRGB",
-    type: "matrix" // Use perceptual brightness to convert to grayscale.
-    ,
-    values: " .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 "
-  }), Object(external_wp_element_["createElement"])("feComponentTransfer", {
-    // Use sRGB instead of linearRGB to be consistent with how CSS gradients work.
-    colorInterpolationFilters: "sRGB"
-  }, Object(external_wp_element_["createElement"])("feFuncR", {
-    type: "table",
-    tableValues: values.r.join(' ')
-  }), Object(external_wp_element_["createElement"])("feFuncG", {
-    type: "table",
-    tableValues: values.g.join(' ')
-  }), Object(external_wp_element_["createElement"])("feFuncB", {
-    type: "table",
-    tableValues: values.b.join(' ')
-  }), Object(external_wp_element_["createElement"])("feFuncA", {
-    type: "table",
-    tableValues: values.a.join(' ')
-  })), Object(external_wp_element_["createElement"])("feComposite", {
-    // Re-mask the image with the original transparency since the feColorMatrix above loses that information.
-    in2: "SourceGraphic",
-    operator: "in"
-  })))), Object(external_wp_element_["createElement"])("style", {
-    dangerouslySetInnerHTML: {
-      __html: stylesheet
-    }
-  }));
-}
-
-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;
-  const colorPalette = Object(use_setting["a" /* default */])('color.palette') || duotone_EMPTY_ARRAY;
-  const disableCustomColors = !Object(use_setting["a" /* default */])('color.custom');
-  const disableCustomDuotone = !Object(use_setting["a" /* default */])('color.customDuotone') || (colorPalette === null || colorPalette === void 0 ? void 0 : colorPalette.length) === 0 && disableCustomColors;
-
-  if ((duotonePalette === null || duotonePalette === void 0 ? void 0 : duotonePalette.length) === 0 && disableCustomDuotone) {
-    return null;
-  }
+/* eslint-disable jsdoc/valid-types */

-  return Object(external_wp_element_["createElement"])(block_controls["b" /* default */], {
-    group: "block",
-    __experimentalShareWithChildBlocks: true
-  }, Object(external_wp_element_["createElement"])(duotone_control["a" /* default */], {
-    duotonePalette: duotonePalette,
-    colorPalette: colorPalette,
-    disableCustomDuotone: disableCustomDuotone,
-    disableCustomColors: disableCustomColors,
-    value: duotone,
-    onChange: newDuotone => {
-      const newStyle = { ...style,
-        color: { ...(style === null || style === void 0 ? void 0 : style.color),
-          duotone: newDuotone
-        }
-      };
-      setAttributes({
-        style: newStyle
-      });
-    }
-  }));
-}
 /**
- * Filters registered block settings, extending attributes to include
- * the `duotone` attribute.
- *
- * @param {Object} settings Original block settings.
+ * Custom settings values associated with a link.
  *
- * @return {Object} Filtered block settings.
+ * @typedef {{[setting:string]:any}} WPLinkControlSettingsValue
  */

+/* eslint-enable */

-function addDuotoneAttributes(settings) {
-  if (!Object(external_wp_blocks_["hasBlockSupport"])(settings, 'color.__experimentalDuotone')) {
-    return settings;
-  } // Allow blocks to specify their own attribute definition with default
-  // values if needed.
-
-
-  if (!settings.attributes.style) {
-    Object.assign(settings.attributes, {
-      style: {
-        type: 'object'
-      }
-    });
-  }
-
-  return settings;
-}
 /**
- * Override the default edit UI to include toolbar controls for duotone if the
- * block supports duotone.
+ * Custom settings values associated with a link.
  *
- * @param {Function} BlockEdit Original component.
+ * @typedef WPLinkControlSetting
  *
- * @return {Function} Wrapped component.
+ * @property {string} id    Identifier to use as property for setting value.
+ * @property {string} title Human-readable label to show in user interface.
  */

-
-const withDuotoneControls = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => props => {
-  const hasDuotoneSupport = Object(external_wp_blocks_["hasBlockSupport"])(props.name, 'color.__experimentalDuotone');
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(BlockEdit, props), hasDuotoneSupport && Object(external_wp_element_["createElement"])(DuotonePanel, props));
-}, 'withDuotoneControls');
 /**
- * Function that scopes a selector with another one. This works a bit like
- * SCSS nesting except the `&` operator isn't supported.
- *
- * @example
- * ```js
- * const scope = '.a, .b .c';
- * const selector = '> .x, .y';
- * const merged = scopeSelector( scope, selector );
- * // merged is '.a > .x, .a .y, .b .c > .x, .b .c .y'
- * ```
- *
- * @param {string} scope    Selector to scope to.
- * @param {string} selector Original selector.
+ * Properties associated with a link control value, composed as a union of the
+ * default properties and any custom settings values.
  *
- * @return {string} Scoped selector.
+ * @typedef {WPLinkControlDefaultValue&WPLinkControlSettingsValue} WPLinkControlValue
  */

-function scopeSelector(scope, selector) {
-  const scopes = scope.split(',');
-  const selectors = selector.split(',');
-  const selectorsScoped = [];
-  scopes.forEach(outer => {
-    selectors.forEach(inner => {
-      selectorsScoped.push(`${outer.trim()} ${inner.trim()}`);
-    });
-  });
-  return selectorsScoped.join(', ');
-}
+/** @typedef {(nextValue:WPLinkControlValue)=>void} WPLinkControlOnChangeProp */
+
 /**
- * Override the default block element to include duotone styles.
+ * Properties associated with a search suggestion used within the LinkControl.
  *
- * @param {Function} BlockListBlock Original component.
+ * @typedef WPLinkControlSuggestion
  *
- * @return {Function} Wrapped component.
+ * @property {string} id    Identifier to use to uniquely identify the suggestion.
+ * @property {string} type  Identifies the type of the suggestion (eg: `post`,
+ *                          `page`, `url`...etc)
+ * @property {string} title Human-readable label to show in user interface.
+ * @property {string} url   A URL for the suggestion.
  */

-
-const withDuotoneStyles = Object(external_wp_compose_["createHigherOrderComponent"])(BlockListBlock => props => {
-  var _props$attributes, _props$attributes$sty, _props$attributes$sty2;
-
-  const duotoneSupport = Object(external_wp_blocks_["getBlockSupport"])(props.name, 'color.__experimentalDuotone');
-  const values = props === null || props === void 0 ? void 0 : (_props$attributes = props.attributes) === null || _props$attributes === void 0 ? void 0 : (_props$attributes$sty = _props$attributes.style) === null || _props$attributes$sty === void 0 ? void 0 : (_props$attributes$sty2 = _props$attributes$sty.color) === null || _props$attributes$sty2 === void 0 ? void 0 : _props$attributes$sty2.duotone;
-
-  if (!duotoneSupport || !values) {
-    return Object(external_wp_element_["createElement"])(BlockListBlock, props);
-  }
-
-  const id = `wp-duotone-${Object(external_wp_compose_["useInstanceId"])(BlockListBlock)}`; // Extra .editor-styles-wrapper specificity is needed in the editor
-  // since we're not using inline styles to apply the filter. We need to
-  // override duotone applied by global styles and theme.json.
-
-  const selectorsGroup = scopeSelector(`.editor-styles-wrapper .${id}`, duotoneSupport);
-  const className = classnames_default()(props === null || props === void 0 ? void 0 : props.className, id);
-  const element = Object(external_wp_element_["useContext"])(block_list["c" /* default */].__unstableElementContext);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, element && Object(external_wp_element_["createPortal"])(Object(external_wp_element_["createElement"])(DuotoneFilter, {
-    selector: selectorsGroup,
-    id: id,
-    values: getValuesFromColors(values)
-  }), element), Object(external_wp_element_["createElement"])(BlockListBlock, Object(esm_extends["a" /* default */])({}, props, {
-    className: className
-  })));
-}, 'withDuotoneStyles');
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/editor/duotone/add-attributes', addDuotoneAttributes);
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/editor/duotone/with-editor-controls', withDuotoneControls);
-Object(external_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/editor/duotone/with-styles', withDuotoneStyles);
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/layout.js
-var block_list_layout = __webpack_require__("w8sn");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/layouts/index.js + 5 modules
-var layouts = __webpack_require__("PPMp");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/layout.js
-
-
+/** @typedef {(title:string)=>WPLinkControlSuggestion} WPLinkControlCreateSuggestionProp */

 /**
- * External dependencies
+ * @typedef WPLinkControlProps
+ *
+ * @property {(WPLinkControlSetting[])=}  settings                   An array of settings objects. Each object will used to
+ *                                                                   render a `ToggleControl` for that setting.
+ * @property {boolean=}                   forceIsEditingLink         If passed as either `true` or `false`, controls the
+ *                                                                   internal editing state of the component to respective
+ *                                                                   show or not show the URL input field.
+ * @property {WPLinkControlValue=}        value                      Current link value.
+ * @property {WPLinkControlOnChangeProp=} onChange                   Value change handler, called with the updated value if
+ *                                                                   the user selects a new link or updates settings.
+ * @property {boolean=}                   noDirectEntry              Whether to allow turning a URL-like search query directly into a link.
+ * @property {boolean=}                   showSuggestions            Whether to present suggestions when typing the URL.
+ * @property {boolean=}                   showInitialSuggestions     Whether to present initial suggestions immediately.
+ * @property {boolean=}                   withCreateSuggestion       Whether to allow creation of link value from suggestion.
+ * @property {Object=}                    suggestionsQuery           Query parameters to pass along to wp.blockEditor.__experimentalFetchLinkSuggestions.
+ * @property {boolean=}                   noURLSuggestion            Whether to add a fallback suggestion which treats the search query as a URL.
+ * @property {string|Function|undefined}  createSuggestionButtonText The text to use in the button that calls createSuggestion.
+ * @property {Function}                   renderControlBottom        Optional controls to be rendered at the bottom of the component.
  */

-
 /**
- * WordPress dependencies
+ * Renders a link control. A link control is a controlled input which maintains
+ * a value associated with a link (HTML anchor element) and relevant settings
+ * for how that link is expected to behave.
+ *
+ * @param {WPLinkControlProps} props Component props.
  */

+function LinkControl(_ref) {
+  var _currentInputValue$tr, _value$url, _value$url$trim;

+  let {
+    searchInputPlaceholder,
+    value,
+    settings = DEFAULT_LINK_SETTINGS,
+    onChange = external_lodash_namespaceObject.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;
+  }

+  const isMounting = (0,external_wp_element_namespaceObject.useRef)(true);
+  const wrapperNode = (0,external_wp_element_namespaceObject.useRef)();
+  const textInputRef = (0,external_wp_element_namespaceObject.useRef)();
+  const [internalInputValue, setInternalInputValue] = (0,external_wp_element_namespaceObject.useState)((value === null || value === void 0 ? void 0 : value.url) || '');
+  const [internalTextValue, setInternalTextValue] = (0,external_wp_element_namespaceObject.useState)((value === null || value === void 0 ? void 0 : value.title) || '');
+  const currentInputValue = propInputValue || internalInputValue;
+  const [isEditingLink, setIsEditingLink] = (0,external_wp_element_namespaceObject.useState)(forceIsEditingLink !== undefined ? forceIsEditingLink : !value || !value.url);
+  const isEndingEditWithFocus = (0,external_wp_element_namespaceObject.useRef)(false);
+  const currentInputIsEmpty = !(currentInputValue !== null && currentInputValue !== void 0 && (_currentInputValue$tr = currentInputValue.trim()) !== null && _currentInputValue$tr !== void 0 && _currentInputValue$tr.length);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (forceIsEditingLink !== undefined && forceIsEditingLink !== isEditingLink) {
+      setIsEditingLink(forceIsEditingLink);
+    }
+  }, [forceIsEditingLink]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // We don't auto focus into the Link UI on mount
+    // because otherwise using the keyboard to select text
+    // *within* the link format is not possible.
+    if (isMounting.current) {
+      isMounting.current = false;
+      return;
+    } // Unless we are mounting, we always want to focus either:
+    // - the URL input
+    // - the first focusable element in the Link UI.
+    // But in editing mode if there is a text input present then
+    // the URL input is at index 1. If not then it is at index 0.


+    const whichFocusTargetIndex = textInputRef !== null && textInputRef !== void 0 && textInputRef.current ? 1 : 0; // Scenario - when:
+    // - switching between editable and non editable LinkControl
+    // - clicking on a link
+    // ...then move focus to the *first* element to avoid focus loss
+    // and to ensure focus is *within* the Link UI.

+    const nextFocusTarget = external_wp_dom_namespaceObject.focus.focusable.find(wrapperNode.current)[whichFocusTargetIndex] || wrapperNode.current;
+    nextFocusTarget.focus();
+    isEndingEditWithFocus.current = false;
+  }, [isEditingLink]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    /**
+     * If the value's `text` property changes then sync this
+     * back up with state.
+     */
+    if (value !== null && value !== void 0 && value.title && value.title !== internalTextValue) {
+      setInternalTextValue(value.title);
+    }
+    /**
+     * Update the state value internalInputValue if the url value changes
+     * for example when clicking on another anchor
+     */

-/**
- * Internal dependencies
- */

+    if (value !== null && value !== void 0 && value.url) {
+      setInternalInputValue(value.url);
+    }
+  }, [value]);
+  /**
+   * Cancels editing state and marks that focus may need to be restored after
+   * the next render, if focus was within the wrapper when editing finished.
+   */

+  function stopEditing() {
+    var _wrapperNode$current;

+    isEndingEditWithFocus.current = !!((_wrapperNode$current = wrapperNode.current) !== null && _wrapperNode$current !== void 0 && _wrapperNode$current.contains(wrapperNode.current.ownerDocument.activeElement));
+    setIsEditingLink(false);
+  }

+  const {
+    createPage,
+    isCreatingPage,
+    errorMessage
+  } = useCreatePage(createSuggestion);

+  const handleSelectSuggestion = updatedValue => {
+    onChange({ ...updatedValue,
+      title: internalTextValue || (updatedValue === null || updatedValue === void 0 ? void 0 : updatedValue.title)
+    });
+    stopEditing();
+  };

+  const handleSubmit = () => {
+    if (currentInputValue !== (value === null || value === void 0 ? void 0 : value.url) || internalTextValue !== (value === null || value === void 0 ? void 0 : value.title)) {
+      onChange({
+        url: currentInputValue,
+        title: internalTextValue
+      });
+    }

-const layoutBlockSupportKey = '__experimentalLayout';
+    stopEditing();
+  };

-function LayoutPanel(_ref) {
-  let {
-    setAttributes,
-    attributes,
-    name: blockName
-  } = _ref;
-  const {
-    layout
-  } = attributes;
-  const defaultThemeLayout = Object(use_setting["a" /* default */])('layout');
-  const themeSupportsLayout = Object(external_wp_data_["useSelect"])(select => {
+  const handleSubmitWithEnter = event => {
     const {
-      getSettings
-    } = select(store["a" /* store */]);
-    return getSettings().supportsLayout;
-  }, []);
-  const layoutBlockSupport = Object(external_wp_blocks_["getBlockSupport"])(blockName, layoutBlockSupportKey, {});
-  const {
-    allowSwitching,
-    allowEditing = true,
-    allowInheriting = true,
-    default: defaultBlockLayout
-  } = layoutBlockSupport;
+      keyCode
+    } = event;

-  if (!allowEditing) {
-    return null;
-  }
+    if (keyCode === external_wp_keycodes_namespaceObject.ENTER && !currentInputIsEmpty // disallow submitting empty values.
+    ) {
+      event.preventDefault();
+      handleSubmit();
+    }
+  };

-  const usedLayout = layout || defaultBlockLayout || {};
-  const {
-    inherit = false,
-    type = 'default'
-  } = usedLayout;
-  /**
-   * `themeSupportsLayout` is only relevant to the `default/flow`
-   * layout and it should not be taken into account when other
-   * `layout` types are used.
-   */
+  const shownUnlinkControl = onRemove && value && !isEditingLink && !isCreatingPage;
+  const showSettingsDrawer = !!(settings !== null && settings !== void 0 && settings.length); // Only show text control once a URL value has been committed
+  // and it isn't just empty whitespace.
+  // See https://github.com/WordPress/gutenberg/pull/33849/#issuecomment-932194927.

-  if (type === 'default' && !themeSupportsLayout) {
-    return null;
-  }
+  const showTextControl = (value === null || value === void 0 ? void 0 : (_value$url = value.url) === null || _value$url === void 0 ? void 0 : (_value$url$trim = _value$url.trim()) === null || _value$url$trim === void 0 ? void 0 : _value$url$trim.length) > 0 && hasTextControl;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    tabIndex: -1,
+    ref: wrapperNode,
+    className: "block-editor-link-control"
+  }, isCreatingPage && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-link-control__loading"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null), " ", (0,external_wp_i18n_namespaceObject.__)('Creating'), "\u2026"), (isEditingLink || !value) && !isCreatingPage && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()({
+      'block-editor-link-control__search-input-wrapper': true,
+      'has-text-control': showTextControl
+    })
+  }, showTextControl && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    ref: textInputRef,
+    className: "block-editor-link-control__field block-editor-link-control__text-content",
+    label: "Text",
+    value: internalTextValue,
+    onChange: setInternalTextValue,
+    onKeyDown: handleSubmitWithEnter
+  }), (0,external_wp_element_namespaceObject.createElement)(search_input, {
+    currentLink: value,
+    className: "block-editor-link-control__field block-editor-link-control__search-input",
+    placeholder: searchInputPlaceholder,
+    value: currentInputValue,
+    withCreateSuggestion: withCreateSuggestion,
+    onCreateSuggestion: createPage,
+    onChange: setInternalInputValue,
+    onSelect: handleSelectSuggestion,
+    showInitialSuggestions: showInitialSuggestions,
+    allowDirectEntry: !noDirectEntry,
+    showSuggestions: showSuggestions,
+    suggestionsQuery: suggestionsQuery,
+    withURLSuggestion: !noURLSuggestion,
+    createSuggestionButtonText: createSuggestionButtonText,
+    useLabel: showTextControl
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-link-control__search-actions"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    onClick: handleSubmit,
+    label: (0,external_wp_i18n_namespaceObject.__)('Submit'),
+    icon: keyboard_return,
+    className: "block-editor-link-control__search-submit",
+    disabled: currentInputIsEmpty // disallow submitting empty values.

-  const layoutType = Object(layouts["a" /* getLayoutType */])(type);
+  })))), errorMessage && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Notice, {
+    className: "block-editor-link-control__search-error",
+    status: "error",
+    isDismissible: false
+  }, errorMessage)), value && !isEditingLink && !isCreatingPage && (0,external_wp_element_namespaceObject.createElement)(LinkPreview, {
+    key: value === null || value === void 0 ? void 0 : value.url // force remount when URL changes to avoid race conditions for rich previews
+    ,
+    value: value,
+    onEditClick: () => setIsEditingLink(true),
+    hasRichPreviews: hasRichPreviews,
+    hasUnlinkControl: shownUnlinkControl,
+    onRemove: onRemove
+  }), showSettingsDrawer && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-link-control__tools"
+  }, (0,external_wp_element_namespaceObject.createElement)(settings_drawer, {
+    value: value,
+    settings: settings,
+    onChange: onChange
+  })), renderControlBottom && renderControlBottom());
+}

-  const onChangeType = newType => setAttributes({
-    layout: {
-      type: newType
-    }
-  });
+LinkControl.ViewerFill = ViewerFill;
+/* harmony default export */ var link_control = (LinkControl);

-  const onChangeLayout = newLayout => setAttributes({
-    layout: newLayout
-  });
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/media.js

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(inspector_controls["b" /* default */], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Layout')
-  }, allowInheriting && !!defaultThemeLayout && Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Inherit default layout'),
-    checked: !!inherit,
-    onChange: () => setAttributes({
-      layout: {
-        inherit: !inherit
-      }
-    })
-  }), !inherit && allowSwitching && Object(external_wp_element_["createElement"])(LayoutTypeSwitcher, {
-    type: type,
-    onChange: onChangeType
-  }), !inherit && layoutType && Object(external_wp_element_["createElement"])(layoutType.inspectorControls, {
-    layout: usedLayout,
-    onChange: onChangeLayout,
-    layoutBlockSupport: layoutBlockSupport
-  }))), !inherit && layoutType && Object(external_wp_element_["createElement"])(layoutType.toolBarControls, {
-    layout: usedLayout,
-    onChange: onChangeLayout,
-    layoutBlockSupport: layoutBlockSupport
-  }));
-}

-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,
-      onClick: () => onChange(name)
-    }, label);
-  }));
-}
 /**
- * Filters registered block settings, extending attributes to include `layout`.
- *
- * @param {Object} settings Original block settings.
- *
- * @return {Object} Filtered block settings.
+ * WordPress dependencies
  */

+const media = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_media = (media);

-function layout_addAttribute(settings) {
-  if (Object(external_lodash_["has"])(settings.attributes, ['layout', 'type'])) {
-    return settings;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/upload.js

-  if (Object(external_wp_blocks_["hasBlockSupport"])(settings, layoutBlockSupportKey)) {
-    settings.attributes = { ...settings.attributes,
-      layout: {
-        type: 'object'
-      }
-    };
-  }

-  return settings;
-}
 /**
- * Override the default edit UI to include layout controls
- *
- * @param {Function} BlockEdit Original component.
- *
- * @return {Function} Wrapped component.
+ * WordPress dependencies
  */

-const withInspectorControls = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => props => {
-  const {
-    name: blockName
-  } = props;
-  const supportLayout = Object(external_wp_blocks_["hasBlockSupport"])(blockName, layoutBlockSupportKey);
-  return [supportLayout && Object(external_wp_element_["createElement"])(LayoutPanel, Object(esm_extends["a" /* default */])({
-    key: "layout"
-  }, props)), Object(external_wp_element_["createElement"])(BlockEdit, Object(esm_extends["a" /* default */])({
-    key: "edit"
-  }, props))];
-}, 'withInspectorControls');
+const upload = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_upload = (upload);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js
 /**
- * Override the default block element to add the layout styles.
- *
- * @param {Function} BlockListBlock Original component.
- *
- * @return {Function} Wrapped component.
+ * WordPress dependencies
  */

-const withLayoutStyles = Object(external_wp_compose_["createHigherOrderComponent"])(BlockListBlock => props => {
-  const {
-    name,
-    attributes
-  } = props;
-  const shouldRenderLayoutStyles = Object(external_wp_blocks_["hasBlockSupport"])(name, layoutBlockSupportKey);
-  const id = Object(external_wp_compose_["useInstanceId"])(BlockListBlock);
-  const defaultThemeLayout = Object(use_setting["a" /* default */])('layout') || {};
-  const element = Object(external_wp_element_["useContext"])(block_list["c" /* default */].__unstableElementContext);
-  const {
-    layout
-  } = attributes;
-  const {
-    default: defaultBlockLayout
-  } = Object(external_wp_blocks_["getBlockSupport"])(name, layoutBlockSupportKey) || {};
-  const usedLayout = layout !== null && layout !== void 0 && layout.inherit ? defaultThemeLayout : layout || defaultBlockLayout || {};
-  const className = classnames_default()(props === null || props === void 0 ? void 0 : props.className, {
-    [`wp-container-${id}`]: shouldRenderLayoutStyles
-  });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, shouldRenderLayoutStyles && element && Object(external_wp_element_["createPortal"])(Object(external_wp_element_["createElement"])(block_list_layout["b" /* LayoutStyle */], {
-    selector: `.wp-container-${id}`,
-    layout: usedLayout,
-    style: attributes === null || attributes === void 0 ? void 0 : attributes.style
-  }), element), Object(external_wp_element_["createElement"])(BlockListBlock, Object(esm_extends["a" /* default */])({}, props, {
-    className: className
-  })));
-});
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/layout/addAttribute', layout_addAttribute);
-Object(external_wp_hooks_["addFilter"])('editor.BlockListBlock', 'core/editor/layout/with-layout-styles', withLayoutStyles);
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/editor/layout/with-inspector-controls', withInspectorControls);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/use-border-props.js
 /**
- * External dependencies
+ * This is a placeholder for the media upload component necessary to make it possible to provide
+ * an integration with the core blocks that handle media files. By default it renders nothing but
+ * it provides a way to have it overridden with the `editor.MediaUpload` filter.
+ *
+ * @return {WPComponent} The component to be rendered.
  */

+const MediaUpload = () => null;
 /**
- * Internal dependencies
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/media-upload/README.md
  */


+/* harmony default export */ var media_upload = ((0,external_wp_components_namespaceObject.withFilters)('editor.MediaUpload')(MediaUpload));

- // This utility is intended to assist where the serialization of the border
-// block support is being skipped for a block but the border related CSS classes
-// & styles still need to be generated so they can be applied to inner elements.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js
+/**
+ * WordPress dependencies
+ */

-const use_border_props_EMPTY_ARRAY = [];
 /**
- * Provides the CSS class names and inline styles for a block's border support
- * attributes.
- *
- * @param {Object} attributes             Block attributes.
- * @param {string} attributes.borderColor Selected named border color.
- * @param {Object} attributes.style       Block's styles attribute.
- *
- * @return {Object} Border block support derived CSS classes & styles.
+ * Internal dependencies
  */

-function getBorderClassesAndStyles(_ref) {
-  var _style$border;

+function MediaUploadCheck(_ref) {
   let {
-    borderColor,
-    style
+    fallback = null,
+    children
   } = _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()({
-    [borderClass]: !!borderClass,
-    'has-border-color': borderColor || (style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.color)
-  });
-  return {
-    className: className || undefined,
-    style: getInlineStyles({
-      border: borderStyles
-    })
-  };
+  const hasUploadPermissions = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSettings
+    } = select(store);
+    return !!getSettings().mediaUpload;
+  }, []);
+  return hasUploadPermissions ? children : fallback;
 }
 /**
- * Derives the border related props for a block from its border block support
- * attributes.
- *
- * Inline styles are forced for named colors to ensure these selections are
- * reflected when themes do not load their color stylesheets in the editor.
- *
- * @param {Object} attributes Block attributes.
- *
- * @return {Object} ClassName & style props from border block support.
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/media-upload/README.md
  */

-function useBorderProps(attributes) {
-  const colors = Object(use_setting["a" /* default */])('color.palette') || use_border_props_EMPTY_ARRAY;
-  const borderProps = getBorderClassesAndStyles(attributes); // Force inline style to apply border color when themes do not load their
-  // color stylesheets in the editor.
+/* harmony default export */ var media_upload_check = (MediaUploadCheck);

-  if (attributes.borderColor) {
-    const borderColorObject = Object(utils["b" /* getColorObjectByAttributeValues */])(colors, attributes.borderColor);
-    borderProps.style.borderColor = borderColorObject.color;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-replace-flow/index.js

-  return borderProps;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/use-color-props.js
 /**
  * External dependencies
  */
@@ -45558,6 +41396,14 @@ function useBorderProps(attributes) {
  */


+
+
+
+
+
+
+
+
 /**
  * Internal dependencies
  */
@@ -45565,189 +41411,304 @@ function useBorderProps(attributes) {



- // The code in this file has largely been lifted from the color block support
-// hook.
-//
-// This utility is intended to assist where the serialization of the colors
-// block support is being skipped for a block but the color related CSS classes
-// & styles still need to be generated so they can be applied to inner elements.

-/**
- * Provides the CSS class names and inline styles for a block's color support
- * attributes.
- *
- * @param {Object} attributes Block attributes.
- *
- * @return {Object} Color block support derived CSS classes & styles.
- */

-function getColorClassesAndStyles(attributes) {
-  var _style$color, _style$color2, _style$color3, _style$color4, _style$elements, _style$elements$link;
+const MediaReplaceFlow = _ref => {
+  let {
+    mediaURL,
+    mediaId,
+    allowedTypes,
+    accept,
+    onSelect,
+    onSelectURL,
+    onFilesUpload = external_lodash_namespaceObject.noop,
+    name = (0,external_wp_i18n_namespaceObject.__)('Replace'),
+    createNotice,
+    removeNotice,
+    children
+  } = _ref;
+  const [mediaURLValue, setMediaURLValue] = (0,external_wp_element_namespaceObject.useState)(mediaURL);
+  const mediaUpload = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(store).getSettings().mediaUpload;
+  }, []);
+  const editMediaButtonRef = (0,external_wp_element_namespaceObject.createRef)();
+  const errorNoticeID = (0,external_lodash_namespaceObject.uniqueId)('block-editor/media-replace-flow/error-notice/');

-  const {
-    backgroundColor,
-    textColor,
-    gradient,
-    style
-  } = attributes; // Collect color CSS classes.
+  const onError = message => {
+    const errorElement = document.createElement('div');
+    errorElement.innerHTML = (0,external_wp_element_namespaceObject.renderToString)(message); // The default error contains some HTML that,
+    // for example, makes the filename bold.
+    // The notice, by default, accepts strings only and so
+    // we need to remove the html from the error.

-  const backgroundClass = Object(utils["a" /* getColorClassName */])('background-color', backgroundColor);
-  const textClass = Object(utils["a" /* getColorClassName */])('color', textColor);
+    const renderMsg = errorElement.textContent || errorElement.innerText || ''; // We need to set a timeout for showing the notice
+    // so that VoiceOver and possibly other screen readers
+    // can announce the error afer the toolbar button
+    // regains focus once the upload dialog closes.
+    // Otherwise VO simply skips over the notice and announces
+    // the focused element and the open menu.

-  const gradientClass = Object(use_gradient["a" /* __experimentalGetGradientClass */])(gradient);
+    setTimeout(() => {
+      createNotice('error', renderMsg, {
+        speak: true,
+        id: errorNoticeID,
+        isDismissible: true
+      });
+    }, 1000);
+  };

-  const hasGradient = gradientClass || (style === null || style === void 0 ? void 0 : (_style$color = style.color) === null || _style$color === void 0 ? void 0 : _style$color.gradient); // Determine color CSS class name list.
+  const selectMedia = media => {
+    setMediaURLValue(media.url); // Calling `onSelect` after the state update since it might unmount the component.

-  const className = classnames_default()(textClass, gradientClass, {
-    // Don't apply the background class if there's a gradient.
-    [backgroundClass]: !hasGradient && !!backgroundClass,
-    'has-text-color': textColor || (style === null || style === void 0 ? void 0 : (_style$color2 = style.color) === null || _style$color2 === void 0 ? void 0 : _style$color2.text),
-    'has-background': backgroundColor || (style === null || style === void 0 ? void 0 : (_style$color3 = style.color) === null || _style$color3 === void 0 ? void 0 : _style$color3.background) || gradient || (style === null || style === void 0 ? void 0 : (_style$color4 = style.color) === null || _style$color4 === void 0 ? void 0 : _style$color4.gradient),
-    'has-link-color': style === null || style === void 0 ? void 0 : (_style$elements = style.elements) === null || _style$elements === void 0 ? void 0 : (_style$elements$link = _style$elements.link) === null || _style$elements$link === void 0 ? void 0 : _style$elements$link.color
-  }); // Collect inline styles for colors.
+    onSelect(media);
+    (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('The media file has been replaced'));
+    removeNotice(errorNoticeID);
+  };

-  const colorStyles = (style === null || style === void 0 ? void 0 : style.color) || {};
-  const styleProp = getInlineStyles({
-    color: colorStyles
+  const selectURL = newURL => {
+    onSelectURL(newURL);
+  };
+
+  const uploadFiles = event => {
+    const files = event.target.files;
+    onFilesUpload(files);
+
+    const setMedia = _ref2 => {
+      let [media] = _ref2;
+      selectMedia(media);
+    };
+
+    mediaUpload({
+      allowedTypes,
+      filesList: files,
+      onFileChange: setMedia,
+      onError
+    });
+  };
+
+  const openOnArrowDown = event => {
+    if (event.keyCode === external_wp_keycodes_namespaceObject.DOWN) {
+      event.preventDefault();
+      event.target.click();
+    }
+  };
+
+  const POPOVER_PROPS = {
+    isAlternate: true
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    popoverProps: POPOVER_PROPS,
+    contentClassName: "block-editor-media-replace-flow__options",
+    renderToggle: _ref3 => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref3;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+        ref: editMediaButtonRef,
+        "aria-expanded": isOpen,
+        "aria-haspopup": "true",
+        onClick: onToggle,
+        onKeyDown: openOnArrowDown
+      }, name);
+    },
+    renderContent: _ref4 => {
+      let {
+        onClose
+      } = _ref4;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NavigableMenu, {
+        className: "block-editor-media-replace-flow__media-upload-menu"
+      }, (0,external_wp_element_namespaceObject.createElement)(media_upload, {
+        value: mediaId,
+        onSelect: media => selectMedia(media),
+        allowedTypes: allowedTypes,
+        render: _ref5 => {
+          let {
+            open
+          } = _ref5;
+          return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+            icon: library_media,
+            onClick: open
+          }, (0,external_wp_i18n_namespaceObject.__)('Open Media Library'));
+        }
+      }), (0,external_wp_element_namespaceObject.createElement)(media_upload_check, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FormFileUpload, {
+        onChange: event => {
+          uploadFiles(event, onClose);
+        },
+        accept: accept,
+        render: _ref6 => {
+          let {
+            openFileDialog
+          } = _ref6;
+          return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+            icon: library_upload,
+            onClick: () => {
+              openFileDialog();
+            }
+          }, (0,external_wp_i18n_namespaceObject.__)('Upload'));
+        }
+      })), children), onSelectURL && // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
+      (0,external_wp_element_namespaceObject.createElement)("form", {
+        className: "block-editor-media-flow__url-input"
+      }, (0,external_wp_element_namespaceObject.createElement)("span", {
+        className: "block-editor-media-replace-flow__image-url-label"
+      }, (0,external_wp_i18n_namespaceObject.__)('Current media URL:')), (0,external_wp_element_namespaceObject.createElement)(link_control, {
+        value: {
+          url: mediaURLValue
+        },
+        settings: [],
+        showSuggestions: false,
+        onChange: _ref7 => {
+          let {
+            url
+          } = _ref7;
+          setMediaURLValue(url);
+          selectURL(url);
+          editMediaButtonRef.current.focus();
+        }
+      })));
+    }
   });
+};
+
+/* harmony default export */ var media_replace_flow = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
+  const {
+    createNotice,
+    removeNotice
+  } = dispatch(external_wp_notices_namespaceObject.store);
   return {
-    className: className || undefined,
-    style: styleProp
+    createNotice,
+    removeNotice
   };
-}
-const EMPTY_OBJECT = {};
+}), (0,external_wp_components_namespaceObject.withFilters)('editor.MediaReplaceFlow')])(MediaReplaceFlow));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-viewer-url.js
+
+
 /**
- * Determines the color related props for a block derived from its color block
- * support attributes.
- *
- * Inline styles are forced for named colors to ensure these selections are
- * reflected when themes do not load their color stylesheets in the editor.
- *
- * @param {Object} attributes Block attributes.
- *
- * @return {Object} ClassName & style props from colors block support.
+ * External dependencies
  */

-function useColorProps(attributes) {
-  const {
-    backgroundColor,
-    textColor,
-    gradient
-  } = attributes; // Some color settings have a special handling for deprecated flags in `useSetting`,
-  // so we can't unwrap them by doing const { ... } = useSetting('color')
-  // until https://github.com/WordPress/gutenberg/issues/37094 is fixed.
+/**
+ * WordPress dependencies
+ */

-  const userPalette = Object(use_setting["a" /* default */])('color.palette.custom') || [];
-  const themePalette = Object(use_setting["a" /* default */])('color.palette.theme') || [];
-  const defaultPalette = Object(use_setting["a" /* default */])('color.palette.default') || [];
-  const gradientsPerOrigin = Object(use_setting["a" /* default */])('color.gradients') || EMPTY_OBJECT;
-  const colors = Object(external_wp_element_["useMemo"])(() => [...(userPalette || []), ...(themePalette || []), ...(defaultPalette || [])], [userPalette, themePalette, defaultPalette]);
-  const gradients = Object(external_wp_element_["useMemo"])(() => [...((gradientsPerOrigin === null || gradientsPerOrigin === void 0 ? void 0 : gradientsPerOrigin.custom) || []), ...((gradientsPerOrigin === null || gradientsPerOrigin === void 0 ? void 0 : gradientsPerOrigin.theme) || []), ...((gradientsPerOrigin === null || gradientsPerOrigin === void 0 ? void 0 : gradientsPerOrigin.default) || [])], [gradientsPerOrigin]);
-  const colorProps = getColorClassesAndStyles(attributes); // Force inline styles to apply colors when themes do not load their color
-  // stylesheets in the editor.

-  if (backgroundColor) {
-    const backgroundColorObject = Object(utils["b" /* getColorObjectByAttributeValues */])(colors, backgroundColor);
-    colorProps.style.backgroundColor = backgroundColorObject.color;
-  }

-  if (gradient) {
-    colorProps.style.background = Object(use_gradient["e" /* getGradientValueBySlug */])(gradients, gradient);
-  }
+function LinkViewerURL(_ref) {
+  let {
+    url,
+    urlLabel,
+    className
+  } = _ref;
+  const linkClassName = classnames_default()(className, 'block-editor-url-popover__link-viewer-url');

-  if (textColor) {
-    const textColorObject = Object(utils["b" /* getColorObjectByAttributeValues */])(colors, textColor);
-    colorProps.style.color = textColorObject.color;
+  if (!url) {
+    return (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: linkClassName
+    });
   }

-  return colorProps;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+    className: linkClassName,
+    href: url
+  }, urlLabel || (0,external_wp_url_namespaceObject.filterURLForDisplay)((0,external_wp_url_namespaceObject.safeDecodeURI)(url)));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/use-spacing-props.js
-/**
- * Internal dependencies
- */
- // This utility is intended to assist where the serialization of the spacing
-// block support is being skipped for a block but the spacing related CSS
-// styles still need to be generated so they can be applied to inner elements.
-
-/**
- * Provides the CSS class names and inline styles for a block's spacing support
- * attributes.
- *
- * @param {Object} attributes Block attributes.
- *
- * @return {Object} Spacing block support derived CSS classes & styles.
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-viewer.js

-function getSpacingClassesAndStyles(attributes) {
-  const {
-    style
-  } = attributes; // Collect inline styles for spacing.

-  const spacingStyles = (style === null || style === void 0 ? void 0 : style.spacing) || {};
-  const styleProp = getInlineStyles({
-    spacing: spacingStyles
-  });
-  return {
-    style: styleProp
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/use-cached-truthy.js
 /**
- * WordPress dependencies
+ * External dependencies
  */

 /**
- * Keeps an up-to-date copy of the passed value and returns it. If value becomes falsy, it will return the last truthy copy.
- *
- * @param {any} value
- * @return {any} value
+ * WordPress dependencies
  */

-function useCachedTruthy(value) {
-  const [cachedValue, setCachedValue] = Object(external_wp_element_["useState"])(value);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (value) {
-      setCachedValue(value);
-    }
-  }, [value]);
-  return cachedValue;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/index.js
+
+
 /**
  * Internal dependencies
  */


+function LinkViewer(_ref) {
+  let {
+    className,
+    linkClassName,
+    onEditLinkClick,
+    url,
+    urlLabel,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
+    className: classnames_default()('block-editor-url-popover__link-viewer', className)
+  }, props), (0,external_wp_element_namespaceObject.createElement)(LinkViewerURL, {
+    url: url,
+    urlLabel: urlLabel,
+    className: linkClassName
+  }), onEditLinkClick && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: library_edit,
+    label: (0,external_wp_i18n_namespaceObject.__)('Edit'),
+    onClick: onEditLinkClick
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/link-editor.js



+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */




+/**
+ * Internal dependencies
+ */


+function LinkEditor(_ref) {
+  let {
+    autocompleteRef,
+    className,
+    onChangeInputValue,
+    value,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("form", _extends({
+    className: classnames_default()('block-editor-url-popover__link-editor', className)
+  }, props), (0,external_wp_element_namespaceObject.createElement)(url_input, {
+    value: value,
+    onChange: onChangeInputValue,
+    autocompleteRef: autocompleteRef
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: keyboard_return,
+    label: (0,external_wp_i18n_namespaceObject.__)('Apply'),
+    type: "submit"
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/index.js



+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/index.js + 118 modules
-var components = __webpack_require__("14PQ");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/index.js + 2 modules
-var build_module_utils = __webpack_require__("BCrt");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/defaults.js
-var defaults = __webpack_require__("lJLt");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/index.js
 /**
  * Internal dependencies
  */
@@ -45755,1874 +41716,2136 @@ var defaults = __webpack_require__("lJLt");



+function URLPopover(_ref) {
+  let {
+    additionalControls,
+    children,
+    renderSettings,
+    position = 'bottom center',
+    focusOnMount = 'firstElement',
+    ...popoverProps
+  } = _ref;
+  const [isSettingsExpanded, setIsSettingsExpanded] = (0,external_wp_element_namespaceObject.useState)(false);
+  const showSettings = !!renderSettings && isSettingsExpanded;

+  const toggleSettingsVisibility = () => {
+    setIsSettingsExpanded(!isSettingsExpanded);
+  };

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, _extends({
+    className: "block-editor-url-popover",
+    focusOnMount: focusOnMount,
+    position: position
+  }, popoverProps), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-url-popover__input-container"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-url-popover__row"
+  }, children, !!renderSettings && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "block-editor-url-popover__settings-toggle",
+    icon: chevron_down,
+    label: (0,external_wp_i18n_namespaceObject.__)('Link settings'),
+    onClick: toggleSettingsVisibility,
+    "aria-expanded": isSettingsExpanded
+  })), showSettings && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-url-popover__row block-editor-url-popover__settings"
+  }, renderSettings())), additionalControls && !showSettings && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-url-popover__additional-controls"
+  }, additionalControls));
+}

+URLPopover.LinkEditor = LinkEditor;
+URLPopover.LinkViewer = LinkViewer;
+/**
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/url-popover/README.md
+ */

-/***/ }),
-
-/***/ "uoCR":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var url_popover = (URLPopover);

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockContextProvider; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/media-placeholder/index.js


 /**
- * WordPress dependencies
+ * External dependencies
  */

-/** @typedef {import('react').ReactNode} ReactNode */

 /**
- * @typedef BlockContextProviderProps
- *
- * @property {Record<string,*>} value    Context value to merge with current
- *                                       value.
- * @property {ReactNode}        children Component children.
+ * WordPress dependencies
  */

-/** @type {import('react').Context<Record<string,*>>} */

-const Context = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])({});
-/**
- * Component which merges passed value with current consumed block context.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/block-context/README.md
- *
- * @param {BlockContextProviderProps} props
- */

-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
-  }), [context, value]);
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(Context.Provider, {
-    value: nextValue,
-    children: children
-  });
-}
-/* harmony default export */ __webpack_exports__["b"] = (Context);


-/***/ }),

-/***/ "ur0x":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return DEFAULT_BLOCK_EDIT_CONTEXT; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Provider; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return useBlockEditContext; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const DEFAULT_BLOCK_EDIT_CONTEXT = {
-  name: '',
-  isSelected: false
-};
-const Context = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])(DEFAULT_BLOCK_EDIT_CONTEXT);
-const {
-  Provider
-} = Context;

-/**
- * A hook that returns the block edit context.
- *
- * @return {Object} Block edit context
- */

-function useBlockEditContext() {
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(Context);
-}


-/***/ }),

-/***/ "v5LD":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+const InsertFromURLPopover = _ref => {
+  let {
+    src,
+    onChange,
+    onSubmit,
+    onClose
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(url_popover, {
+    onClose: onClose
+  }, (0,external_wp_element_namespaceObject.createElement)("form", {
+    className: "block-editor-media-placeholder__url-input-form",
+    onSubmit: onSubmit
+  }, (0,external_wp_element_namespaceObject.createElement)("input", {
+    className: "block-editor-media-placeholder__url-input-field",
+    type: "text",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('URL'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Paste or type URL'),
+    onChange: onChange,
+    value: src
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "block-editor-media-placeholder__url-input-submit-button",
+    icon: keyboard_return,
+    label: (0,external_wp_i18n_namespaceObject.__)('Apply'),
+    type: "submit"
+  })));
+};

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useSetting; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _block_edit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("ur0x");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("BhPs");
-/**
- * External dependencies
- */
+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_namespaceObject.noop,
+    onHTMLDrop = external_lodash_namespaceObject.noop,
+    children,
+    mediaLibraryButton,
+    placeholder,
+    style
+  } = _ref2;
+  const mediaUpload = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSettings
+    } = select(store);
+    return getSettings().mediaUpload;
+  }, []);
+  const [src, setSrc] = (0,external_wp_element_namespaceObject.useState)('');
+  const [isURLInputVisible, setIsURLInputVisible] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    var _value$src;

-/**
- * WordPress dependencies
- */
+    setSrc((_value$src = value === null || value === void 0 ? void 0 : value.src) !== null && _value$src !== void 0 ? _value$src : '');
+  }, [value === null || value === void 0 ? void 0 : value.src]);
+
+  const onlyAllowsImages = () => {
+    if (!allowedTypes || allowedTypes.length === 0) {
+      return false;
+    }

+    return allowedTypes.every(allowedType => allowedType === 'image' || allowedType.startsWith('image/'));
+  };

+  const onChangeSrc = event => {
+    setSrc(event.target.value);
+  };

-/**
- * Internal dependencies
- */
+  const openURLInput = () => {
+    setIsURLInputVisible(true);
+  };

+  const closeURLInput = () => {
+    setIsURLInputVisible(false);
+  };

+  const onSubmitSrc = event => {
+    event.preventDefault();

-const blockedPaths = ['color', 'border', 'typography', 'spacing'];
-const deprecatedFlags = {
-  'color.palette': settings => settings.colors === undefined ? undefined : settings.colors,
-  'color.gradients': settings => settings.gradients === undefined ? undefined : settings.gradients,
-  'color.custom': settings => settings.disableCustomColors === undefined ? undefined : !settings.disableCustomColors,
-  'color.customGradient': settings => settings.disableCustomGradients === undefined ? undefined : !settings.disableCustomGradients,
-  'typography.fontSizes': settings => settings.fontSizes === undefined ? undefined : settings.fontSizes,
-  'typography.customFontSize': settings => settings.disableCustomFontSizes === undefined ? undefined : !settings.disableCustomFontSizes,
-  'typography.lineHeight': settings => settings.enableCustomLineHeight,
-  'spacing.units': settings => {
-    if (settings.enableCustomUnits === undefined) {
-      return;
+    if (src && onSelectURL) {
+      onSelectURL(src);
+      closeURLInput();
     }
+  };

-    if (settings.enableCustomUnits === true) {
-      return ['px', 'em', 'rem', 'vh', 'vw', '%'];
+  const onFilesUpload = files => {
+    if (!handleUpload) {
+      return onSelect(files);
     }

-    return settings.enableCustomUnits;
-  },
-  'spacing.padding': settings => settings.enableCustomSpacing
-};
-const prefixedFlags = {
-  /*
-   * These were only available in the plugin
-   * and can be removed when the minimum WordPress version
-   * for the plugin is 5.9.
-   */
-  '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',
+    onFilesPreUpload(files);
+    let setMedia;

-  /*
-   * These were part of WordPress 5.8 and we need to keep them.
-   */
-  'border.customRadius': 'border.radius',
-  'spacing.customMargin': 'spacing.margin',
-  'spacing.customPadding': 'spacing.padding',
-  'typography.customLineHeight': 'typography.lineHeight'
-};
-/**
- * Remove `custom` prefixes for flags that did not land in 5.8.
- *
- * This provides continued support for `custom` prefixed properties. It will
- * be removed once third party devs have had sufficient time to update themes,
- * plugins, etc.
- *
- * @see https://github.com/WordPress/gutenberg/pull/34485
- *
- * @param {string} path Path to desired value in settings.
- * @return {string}     The value for defined setting.
- */
+    if (multiple) {
+      if (addToGallery) {
+        // Since the setMedia function runs multiple times per upload group
+        // and is passed newMedia containing every item in its group each time, we must
+        // filter out whatever this upload group had previously returned to the
+        // gallery before adding and returning the image array with replacement newMedia
+        // values.
+        // Define an array to store urls from newMedia between subsequent function calls.
+        let lastMediaPassed = [];

-const removeCustomPrefixes = path => {
-  return prefixedFlags[path] || path;
-};
-/**
- * Hook that retrieves the editor setting.
- * It works with nested objects using by finding the value at path.
- *
- * @param {string} path The path to the setting.
- * @return {any} Returns the value defined for the setting.
- * @example
- * ```js
- * const isEnabled = useSetting( 'typography.dropCap' );
- * ```
- */
+        setMedia = newMedia => {
+          // Remove any images this upload group is responsible for (lastMediaPassed).
+          // Their replacements are contained in newMedia.
+          const filteredMedia = (value !== null && value !== void 0 ? value : []).filter(item => {
+            // 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.
+              _ref3 => {
+                let {
+                  id
+                } = _ref3;
+                return Number(id) === Number(item.id);
+              });
+            } // Compare transient images via .includes since gallery may append extra info onto the url.


-function useSetting(path) {
-  const {
-    name: blockName
-  } = Object(_block_edit__WEBPACK_IMPORTED_MODULE_3__[/* useBlockEditContext */ "c"])();
-  const setting = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__["useSelect"])(select => {
-    var _get;
+            return !lastMediaPassed.some(_ref4 => {
+              let {
+                urlSlug
+              } = _ref4;
+              return item.url.includes(urlSlug);
+            });
+          }); // Return the filtered media array along with newMedia.

-    if (blockedPaths.includes(path)) {
-      // eslint-disable-next-line no-console
-      console.warn('Top level useSetting paths are disabled. Please use a subpath to query the information needed.');
-      return undefined;
+          onSelect(filteredMedia.concat(newMedia)); // Reset lastMediaPassed and set it with ids and urls from newMedia.
+
+          lastMediaPassed = newMedia.map(media => {
+            // Add everything up to '.fileType' to compare via .includes.
+            const cutOffIndex = media.url.lastIndexOf('.');
+            const urlSlug = media.url.slice(0, cutOffIndex);
+            return {
+              id: media.id,
+              urlSlug
+            };
+          });
+        };
+      } else {
+        setMedia = onSelect;
+      }
+    } else {
+      setMedia = _ref5 => {
+        let [media] = _ref5;
+        return onSelect(media);
+      };
     }

-    const settings = select(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]).getSettings(); // 1 - Use __experimental features, if available.
-    // We cascade to the all value if the block one is not available.
+    mediaUpload({
+      allowedTypes,
+      filesList: files,
+      onFileChange: setMedia,
+      onError
+    });
+  };

-    const normalizedPath = removeCustomPrefixes(path);
-    const defaultsPath = `__experimentalFeatures.${normalizedPath}`;
-    const blockPath = `__experimentalFeatures.blocks.${blockName}.${normalizedPath}`;
-    const experimentalFeaturesResult = (_get = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["get"])(settings, blockPath)) !== null && _get !== void 0 ? _get : Object(lodash__WEBPACK_IMPORTED_MODULE_0__["get"])(settings, defaultsPath);
+  const onUpload = event => {
+    onFilesUpload(event.target.files);
+  };

-    if (experimentalFeaturesResult !== undefined) {
-      if (_wordpress_blocks__WEBPACK_IMPORTED_MODULE_2__["__EXPERIMENTAL_PATHS_WITH_MERGE"][normalizedPath]) {
-        var _ref, _experimentalFeatures;
+  const defaultRenderPlaceholder = content => {
+    let {
+      instructions,
+      title
+    } = labels;

-        return (_ref = (_experimentalFeatures = experimentalFeaturesResult.custom) !== null && _experimentalFeatures !== void 0 ? _experimentalFeatures : experimentalFeaturesResult.theme) !== null && _ref !== void 0 ? _ref : experimentalFeaturesResult.default;
+    if (!mediaUpload && !onSelectURL) {
+      instructions = (0,external_wp_i18n_namespaceObject.__)('To edit this block, you need permission to upload media.');
+    }
+
+    if (instructions === undefined || title === undefined) {
+      const typesAllowed = allowedTypes !== null && allowedTypes !== void 0 ? allowedTypes : [];
+      const [firstAllowedType] = typesAllowed;
+      const isOneType = 1 === typesAllowed.length;
+      const isAudio = isOneType && 'audio' === firstAllowedType;
+      const isImage = isOneType && 'image' === firstAllowedType;
+      const isVideo = isOneType && 'video' === firstAllowedType;
+
+      if (instructions === undefined && mediaUpload) {
+        instructions = (0,external_wp_i18n_namespaceObject.__)('Upload a media file or pick one from your media library.');
+
+        if (isAudio) {
+          instructions = (0,external_wp_i18n_namespaceObject.__)('Upload an audio file, pick one from your media library, or add one with a URL.');
+        } else if (isImage) {
+          instructions = (0,external_wp_i18n_namespaceObject.__)('Upload an image file, pick one from your media library, or add one with a URL.');
+        } else if (isVideo) {
+          instructions = (0,external_wp_i18n_namespaceObject.__)('Upload a video file, pick one from your media library, or add one with a URL.');
+        }
       }

-      return experimentalFeaturesResult;
-    } // 2 - Use deprecated settings, otherwise.
+      if (title === undefined) {
+        title = (0,external_wp_i18n_namespaceObject.__)('Media');

+        if (isAudio) {
+          title = (0,external_wp_i18n_namespaceObject.__)('Audio');
+        } else if (isImage) {
+          title = (0,external_wp_i18n_namespaceObject.__)('Image');
+        } else if (isVideo) {
+          title = (0,external_wp_i18n_namespaceObject.__)('Video');
+        }
+      }
+    }

-    const deprecatedSettingsValue = deprecatedFlags[normalizedPath] ? deprecatedFlags[normalizedPath](settings) : undefined;
+    const placeholderClassName = classnames_default()('block-editor-media-placeholder', className, {
+      'is-appender': isAppender
+    });
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
+      icon: icon,
+      label: title,
+      instructions: instructions,
+      className: placeholderClassName,
+      notices: notices,
+      onDoubleClick: onDoubleClick,
+      preview: mediaPreview,
+      style: style
+    }, content, children);
+  };

-    if (deprecatedSettingsValue !== undefined) {
-      return deprecatedSettingsValue;
-    } // 3 - Fall back for typography.dropCap:
-    // This is only necessary to support typography.dropCap.
-    // when __experimentalFeatures are not present (core without plugin).
-    // To remove when __experimentalFeatures are ported to core.
+  const renderPlaceholder = placeholder !== null && placeholder !== void 0 ? placeholder : defaultRenderPlaceholder;
+
+  const renderDropZone = () => {
+    if (disableDropZone) {
+      return null;
+    }
+
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropZone, {
+      onFilesDrop: onFilesUpload,
+      onHTMLDrop: onHTMLDrop
+    });
+  };

+  const renderCancelLink = () => {
+    return onCancel && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      className: "block-editor-media-placeholder__cancel-button",
+      title: (0,external_wp_i18n_namespaceObject.__)('Cancel'),
+      variant: "link",
+      onClick: onCancel
+    }, (0,external_wp_i18n_namespaceObject.__)('Cancel'));
+  };

-    return normalizedPath === 'typography.dropCap' ? true : undefined;
-  }, [blockName, path]);
-  return setting;
-}
+  const renderUrlSelectionUI = () => {
+    return onSelectURL && (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-media-placeholder__url-input-container"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      className: "block-editor-media-placeholder__button",
+      onClick: openURLInput,
+      isPressed: isURLInputVisible,
+      variant: "tertiary"
+    }, (0,external_wp_i18n_namespaceObject.__)('Insert from URL')), isURLInputVisible && (0,external_wp_element_namespaceObject.createElement)(InsertFromURLPopover, {
+      src: src,
+      onChange: onChangeSrc,
+      onSubmit: onSubmitSrc,
+      onClose: closeURLInput
+    }));
+  };

+  const renderMediaUploadChecked = () => {
+    const defaultButton = _ref6 => {
+      let {
+        open
+      } = _ref6;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        variant: "tertiary",
+        onClick: () => {
+          open();
+        }
+      }, (0,external_wp_i18n_namespaceObject.__)('Media Library'));
+    };

-/***/ }),
+    const libraryButton = mediaLibraryButton !== null && mediaLibraryButton !== void 0 ? mediaLibraryButton : defaultButton;
+    const uploadMediaLibraryButton = (0,external_wp_element_namespaceObject.createElement)(media_upload, {
+      addToGallery: addToGallery,
+      gallery: multiple && onlyAllowsImages(),
+      multiple: multiple,
+      onSelect: onSelect,
+      allowedTypes: allowedTypes,
+      value: Array.isArray(value) ? value.map(_ref7 => {
+        let {
+          id
+        } = _ref7;
+        return id;
+      }) : value.id,
+      render: libraryButton
+    });

-/***/ "v8Ku":
-/***/ (function(module, exports) {
+    if (mediaUpload && isAppender) {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, renderDropZone(), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FormFileUpload, {
+        onChange: onUpload,
+        accept: accept,
+        multiple: multiple,
+        render: _ref8 => {
+          let {
+            openFileDialog
+          } = _ref8;
+          const content = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+            variant: "primary",
+            className: classnames_default()('block-editor-media-placeholder__button', 'block-editor-media-placeholder__upload-button'),
+            onClick: openFileDialog
+          }, (0,external_wp_i18n_namespaceObject.__)('Upload')), uploadMediaLibraryButton, renderUrlSelectionUI(), renderCancelLink());
+          return renderPlaceholder(content);
+        }
+      }));
+    }

+    if (mediaUpload) {
+      const content = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, renderDropZone(), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FormFileUpload, {
+        variant: "primary",
+        className: classnames_default()('block-editor-media-placeholder__button', 'block-editor-media-placeholder__upload-button'),
+        onChange: onUpload,
+        accept: accept,
+        multiple: multiple
+      }, (0,external_wp_i18n_namespaceObject.__)('Upload')), uploadMediaLibraryButton, renderUrlSelectionUI(), renderCancelLink());
+      return renderPlaceholder(content);
+    }

+    return renderPlaceholder(uploadMediaLibraryButton);
+  };

-/***/ }),
+  if (dropZoneUIOnly || disableMediaButtons) {
+    if (dropZoneUIOnly) {
+      external_wp_deprecated_default()('wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop', {
+        since: '5.4',
+        alternative: 'disableMediaButtons'
+      });
+    }

-/***/ "vIlp":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    return (0,external_wp_element_namespaceObject.createElement)(media_upload_check, null, renderDropZone());
+  }

-"use strict";
-/* unused harmony export getDistanceFromPointToEdge */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getDistanceToNearestEdge; });
+  return (0,external_wp_element_namespaceObject.createElement)(media_upload_check, {
+    fallback: renderPlaceholder(renderUrlSelectionUI())
+  }, renderMediaUploadChecked());
+}
 /**
- * A string representing the name of an edge.
- *
- * @typedef {'top'|'right'|'bottom'|'left'} WPEdgeName
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/media-placeholder/README.md
  */

-/**
- * @typedef  {Object} WPPoint
- * @property {number} x The horizontal position.
- * @property {number} y The vertical position.
- */
+/* harmony default export */ var media_placeholder = ((0,external_wp_components_namespaceObject.withFilters)('editor.MediaPlaceholder')(MediaPlaceholder));

-/**
- * Given a point, a DOMRect and the name of an edge, returns the distance to
- * that edge of the rect.
- *
- * This function works for edges that are horizontal or vertical (e.g. not
- * rotated), the following terms are used so that the function works in both
- * orientations:
- *
- * - Forward, meaning the axis running horizontally when an edge is vertical
- *   and vertically when an edge is horizontal.
- * - Lateral, meaning the axis running vertically when an edge is vertical
- *   and horizontally when an edge is horizontal.
- *
- * @param {WPPoint}    point The point to measure distance from.
- * @param {DOMRect}    rect  A DOM Rect containing edge positions.
- * @param {WPEdgeName} edge  The edge to measure to.
- */
-function getDistanceFromPointToEdge(point, rect, edge) {
-  const isHorizontal = edge === 'top' || edge === 'bottom';
-  const {
-    x,
-    y
-  } = point;
-  const pointLateralPosition = isHorizontal ? x : y;
-  const pointForwardPosition = isHorizontal ? y : x;
-  const edgeStart = isHorizontal ? rect.left : rect.top;
-  const edgeEnd = isHorizontal ? rect.right : rect.bottom;
-  const edgeForwardPosition = rect[edge]; // Measure the straight line distance to the edge of the rect, when the
-  // point is adjacent to the edge.
-  // Else, if the point is positioned diagonally to the edge of the rect,
-  // measure diagonally to the nearest corner that the edge meets.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/panel-color-settings/index.js

-  let edgeLateralPosition;

-  if (pointLateralPosition >= edgeStart && pointLateralPosition <= edgeEnd) {
-    edgeLateralPosition = pointLateralPosition;
-  } else if (pointLateralPosition < edgeEnd) {
-    edgeLateralPosition = edgeStart;
-  } else {
-    edgeLateralPosition = edgeEnd;
-  }

-  return Math.sqrt((pointLateralPosition - edgeLateralPosition) ** 2 + (pointForwardPosition - edgeForwardPosition) ** 2);
-}
 /**
- * Given a point, a DOMRect and a list of allowed edges returns the name of and
- * distance to the nearest edge.
- *
- * @param {WPPoint}      point        The point to measure distance from.
- * @param {DOMRect}      rect         A DOM Rect containing edge positions.
- * @param {WPEdgeName[]} allowedEdges A list of the edges included in the
- *                                    calculation. Defaults to all edges.
- *
- * @return {[number, string]} An array where the first value is the distance
- *                              and a second is the edge name.
+ * Internal dependencies
  */

-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 => {
-    const distance = getDistanceFromPointToEdge(point, rect, edge);

-    if (candidateDistance === undefined || distance < candidateDistance) {
-      candidateDistance = distance;
-      candidateEdge = edge;
-    }
+const PanelColorSettings = _ref => {
+  let {
+    colorSettings,
+    ...props
+  } = _ref;
+  const settings = colorSettings.map(_ref2 => {
+    let {
+      value,
+      onChange,
+      ...otherSettings
+    } = _ref2;
+    return { ...otherSettings,
+      colorValue: value,
+      onColorChange: onChange
+    };
   });
-  return [candidateDistance, candidateEdge];
-}
+  return (0,external_wp_element_namespaceObject.createElement)(panel_color_gradient_settings, _extends({
+    settings: settings,
+    gradients: [],
+    disableCustomGradients: true
+  }, props));
+};

+/* harmony default export */ var panel_color_settings = (PanelColorSettings);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar/index.js

-/***/ "vSu0":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/traverse/index.js
-var traverse = __webpack_require__("eGrx");
-var traverse_default = /*#__PURE__*/__webpack_require__.n(traverse);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/parse.js
-/* eslint-disable @wordpress/no-unused-vars-before-return */
-// Adapted from https://github.com/reworkcss/css
-// because we needed to remove source map support.
-// http://www.w3.org/TR/CSS21/grammar.htm
-// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027
-const commentre = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
-/* harmony default export */ var parse = (function (css, options) {
-  options = options || {};
-  /**
-   * Positional.
-   */

-  let lineno = 1;
-  let column = 1;
-  /**
-   * Update lineno and column based on `str`.
-   */

-  function updatePosition(str) {
-    const lines = str.match(/\n/g);
+const format_toolbar_POPOVER_PROPS = {
+  position: 'bottom right',
+  isAlternate: true
+};

-    if (lines) {
-      lineno += lines.length;
+const FormatToolbar = () => {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, ['bold', 'italic', 'link'].map(format => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, {
+    name: `RichText.ToolbarControls.${format}`,
+    key: format
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, {
+    name: "RichText.ToolbarControls"
+  }, fills => {
+    if (!fills.length) {
+      return null;
     }

-    const i = str.lastIndexOf('\n'); // eslint-disable-next-line no-bitwise
+    const allProps = fills.map(_ref => {
+      let [{
+        props
+      }] = _ref;
+      return props;
+    });
+    const hasActive = allProps.some(_ref2 => {
+      let {
+        isActive
+      } = _ref2;
+      return isActive;
+    });
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, null, toggleProps => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+      icon: chevron_down
+      /* translators: button label text should, if possible, be under 16 characters. */
+      ,
+      label: (0,external_wp_i18n_namespaceObject.__)('More'),
+      toggleProps: { ...toggleProps,
+        className: classnames_default()(toggleProps.className, {
+          'is-pressed': hasActive
+        }),
+        describedBy: (0,external_wp_i18n_namespaceObject.__)('Displays more block tools')
+      },
+      controls: (0,external_lodash_namespaceObject.orderBy)(fills.map(_ref3 => {
+        let [{
+          props
+        }] = _ref3;
+        return props;
+      }), 'title'),
+      popoverProps: format_toolbar_POPOVER_PROPS
+    }));
+  }));
+};

-    column = ~i ? str.length - i : column + str.length;
-  }
-  /**
-   * Mark position and patch `node.position`.
-   */
+/* harmony default export */ var format_toolbar = (FormatToolbar);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-toolbar-container.js

-  function position() {
-    const start = {
-      line: lineno,
-      column
-    };
-    return function (node) {
-      node.position = new Position(start);
-      whitespace();
-      return node;
-    };
-  }
-  /**
-   * Store position information for a node
-   */

+/**
+ * WordPress dependencies
+ */

-  function Position(start) {
-    this.start = start;
-    this.end = {
-      line: lineno,
-      column
-    };
-    this.source = options.source;
-  }
-  /**
-   * Non-enumerable source string
-   */
+/**
+ * Internal dependencies
+ */


-  Position.prototype.content = css;
-  /**
-   * Error `msg`.
-   */

-  const errorsList = [];

-  function error(msg) {
-    const err = new Error(options.source + ':' + lineno + ':' + column + ': ' + msg);
-    err.reason = msg;
-    err.filename = options.source;
-    err.line = lineno;
-    err.column = column;
-    err.source = css;
+const FormatToolbarContainer = _ref => {
+  let {
+    inline,
+    anchorRef
+  } = _ref;

-    if (options.silent) {
-      errorsList.push(err);
-    } else {
-      throw err;
-    }
-  }
-  /**
-   * Parse stylesheet.
-   */
+  if (inline) {
+    // Render in popover
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
+      noArrow: true,
+      position: "top center",
+      focusOnMount: false,
+      anchorRef: anchorRef,
+      className: "block-editor-rich-text__inline-format-toolbar",
+      __unstableSlotName: "block-toolbar"
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-rich-text__inline-format-toolbar-group"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(format_toolbar, null))));
+  } // Render regular toolbar


-  function stylesheet() {
-    const rulesList = rules();
-    return {
-      type: 'stylesheet',
-      stylesheet: {
-        source: options.source,
-        rules: rulesList,
-        parsingErrors: errorsList
-      }
-    };
-  }
-  /**
-   * Opening brace.
-   */
+  return (0,external_wp_element_namespaceObject.createElement)(block_controls, {
+    group: "inline"
+  }, (0,external_wp_element_namespaceObject.createElement)(format_toolbar, null));
+};

+/* harmony default export */ var format_toolbar_container = (FormatToolbarContainer);

-  function open() {
-    return match(/^{\s*/);
-  }
-  /**
-   * Closing brace.
-   */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-undo-automatic-change.js
+/**
+ * WordPress dependencies
+ */


-  function close() {
-    return match(/^}/);
-  }
-  /**
-   * Parse ruleset.
-   */
+
+/**
+ * Internal dependencies
+ */


-  function rules() {
-    let node;
-    const accumulator = [];
-    whitespace();
-    comments(accumulator);
+function useUndoAutomaticChange() {
+  const {
+    didAutomaticChange,
+    getSettings
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+    function onKeyDown(event) {
+      const {
+        keyCode
+      } = event;

-    while (css.length && css.charAt(0) !== '}' && (node = atrule() || rule())) {
-      if (node !== false) {
-        accumulator.push(node);
-        comments(accumulator);
+      if (event.defaultPrevented) {
+        return;
       }
-    }

-    return accumulator;
-  }
-  /**
-   * Match `re` and return captures.
-   */
+      if (keyCode !== external_wp_keycodes_namespaceObject.DELETE && keyCode !== external_wp_keycodes_namespaceObject.BACKSPACE && keyCode !== external_wp_keycodes_namespaceObject.ESCAPE) {
+        return;
+      }

+      if (!didAutomaticChange()) {
+        return;
+      }

-  function match(re) {
-    const m = re.exec(css);
+      event.preventDefault();

-    if (!m) {
-      return;
+      getSettings().__experimentalUndo();
     }

-    const str = m[0];
-    updatePosition(str);
-    css = css.slice(str.length);
-    return m;
-  }
-  /**
-   * Parse whitespace.
-   */
+    element.addEventListener('keydown', onKeyDown);
+    return () => {
+      element.removeEventListener('keydown', onKeyDown);
+    };
+  }, []);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-caret-in-format.js
+/**
+ * WordPress dependencies
+ */

-  function whitespace() {
-    match(/^\s*/);
-  }
-  /**
-   * Parse comments;
-   */

+/**
+ * Internal dependencies
+ */

-  function comments(accumulator) {
-    let c;
-    accumulator = accumulator || []; // eslint-disable-next-line no-cond-assign

-    while (c = comment()) {
-      if (c !== false) {
-        accumulator.push(c);
+function useCaretInFormat(_ref) {
+  let {
+    value
+  } = _ref;
+  const hasActiveFormats = value.activeFormats && !!value.activeFormats.length;
+  const {
+    isCaretWithinFormattedText
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    enterFormattedText,
+    exitFormattedText
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (hasActiveFormats) {
+      if (!isCaretWithinFormattedText()) {
+        enterFormattedText();
       }
+    } else if (isCaretWithinFormattedText()) {
+      exitFormattedText();
     }
+  }, [hasActiveFormats]);
+}

-    return accumulator;
-  }
-  /**
-   * Parse comment.
-   */
-
-
-  function comment() {
-    const pos = position();
-
-    if ('/' !== css.charAt(0) || '*' !== css.charAt(1)) {
-      return;
-    }
-
-    let i = 2;
-
-    while ('' !== css.charAt(i) && ('*' !== css.charAt(i) || '/' !== css.charAt(i + 1))) {
-      ++i;
-    }
-
-    i += 2;
-
-    if ('' === css.charAt(i - 1)) {
-      return error('End of comment missing');
-    }
-
-    const str = css.slice(2, i - 2);
-    column += 2;
-    updatePosition(str);
-    css = css.slice(i);
-    column += 2;
-    return pos({
-      type: 'comment',
-      comment: str
-    });
-  }
-  /**
-   * Parse selector.
-   */
-
-
-  function selector() {
-    const m = match(/^([^{]+)/);
-
-    if (!m) {
-      return;
-    } // FIXME: Remove all comments from selectors http://ostermiller.org/findcomment.html
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-mark-persistent.js
+/**
+ * WordPress dependencies
+ */

-    return trim(m[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g, '').replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g, function (matched) {
-      return matched.replace(/,/g, '\u200C');
-    }).split(/\s*(?![^(]*\)),\s*/).map(function (s) {
-      return s.replace(/\u200C/g, ',');
-    });
-  }
-  /**
-   * Parse declaration.
-   */

+/**
+ * Internal dependencies
+ */

-  function declaration() {
-    const pos = position(); // prop

-    let prop = match(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
+function useMarkPersistent(_ref) {
+  let {
+    html,
+    value
+  } = _ref;
+  const previousText = (0,external_wp_element_namespaceObject.useRef)();
+  const hasActiveFormats = value.activeFormats && !!value.activeFormats.length;
+  const {
+    __unstableMarkLastChangeAsPersistent
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store); // Must be set synchronously to make sure it applies to the last change.

-    if (!prop) {
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    // Ignore mount.
+    if (!previousText.current) {
+      previousText.current = value.text;
       return;
-    }
+    } // Text input, so don't create an undo level for every character.
+    // Create an undo level after 1 second of no input.

-    prop = trim(prop[0]); // :

-    if (!match(/^:\s*/)) {
-      return error("property missing ':'");
-    } // val
+    if (previousText.current !== value.text) {
+      const timeout = window.setTimeout(() => {
+        __unstableMarkLastChangeAsPersistent();
+      }, 1000);
+      previousText.current = value.text;
+      return () => {
+        window.clearTimeout(timeout);
+      };
+    }

+    __unstableMarkLastChangeAsPersistent();
+  }, [html, hasActiveFormats]);
+}

-    const val = match(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/);
-    const ret = pos({
-      type: 'declaration',
-      property: prop.replace(commentre, ''),
-      value: val ? trim(val[0]).replace(commentre, '') : ''
-    }); // ;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/file-paste-handler.js
+/**
+ * WordPress dependencies
+ */

-    match(/^[;\s]*/);
-    return ret;
-  }
-  /**
-   * Parse declarations.
-   */
+function filePasteHandler(files) {
+  return files.filter(_ref => {
+    let {
+      type
+    } = _ref;
+    return /^image\/(?:jpe?g|png|gif)$/.test(type);
+  }).map(file => `<img src="${(0,external_wp_blob_namespaceObject.createBlobURL)(file)}">`).join('');
+}

+;// CONCATENATED MODULE: external ["wp","shortcode"]
+var external_wp_shortcode_namespaceObject = window["wp"]["shortcode"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/utils.js

-  function declarations() {
-    const decls = [];

-    if (!open()) {
-      return error("missing '{'");
-    }
+/**
+ * WordPress dependencies
+ */

-    comments(decls); // declarations

-    let decl; // eslint-disable-next-line no-cond-assign

-    while (decl = declaration()) {
-      if (decl !== false) {
-        decls.push(decl);
-        comments(decls);
-      }
-    }

-    if (!close()) {
-      return error("missing '}'");
-    }
+function addActiveFormats(value, activeFormats) {
+  if (activeFormats !== null && activeFormats !== void 0 && activeFormats.length) {
+    let index = value.formats.length;

-    return decls;
+    while (index--) {
+      value.formats[index] = [...activeFormats, ...(value.formats[index] || [])];
+    }
   }
-  /**
-   * Parse keyframe.
-   */
-
-
-  function keyframe() {
-    let m;
-    const vals = [];
-    const pos = position(); // eslint-disable-next-line no-cond-assign
+}
+/**
+ * Get the multiline tag based on the multiline prop.
+ *
+ * @param {?(string|boolean)} multiline The multiline prop.
+ *
+ * @return {?string} The multiline tag.
+ */

-    while (m = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/)) {
-      vals.push(m[1]);
-      match(/^,\s*/);
-    }
+function getMultilineTag(multiline) {
+  if (multiline !== true && multiline !== 'p' && multiline !== 'li') {
+    return;
+  }

-    if (!vals.length) {
-      return;
-    }
+  return multiline === true ? 'p' : multiline;
+}
+function getAllowedFormats(_ref) {
+  let {
+    allowedFormats,
+    formattingControls,
+    disableFormats
+  } = _ref;

-    return pos({
-      type: 'keyframe',
-      values: vals,
-      declarations: declarations()
-    });
+  if (disableFormats) {
+    return getAllowedFormats.EMPTY_ARRAY;
   }
-  /**
-   * Parse keyframes.
-   */
-

-  function atkeyframes() {
-    const pos = position();
-    let m = match(/^@([-\w]+)?keyframes\s*/);
+  if (!allowedFormats && !formattingControls) {
+    return;
+  }

-    if (!m) {
-      return;
-    }
+  if (allowedFormats) {
+    return allowedFormats;
+  }

-    const vendor = m[1]; // identifier
+  external_wp_deprecated_default()('wp.blockEditor.RichText formattingControls prop', {
+    since: '5.4',
+    alternative: 'allowedFormats'
+  });
+  return formattingControls.map(name => `core/${name}`);
+}
+getAllowedFormats.EMPTY_ARRAY = [];
+const isShortcode = text => (0,external_wp_shortcode_namespaceObject.regexp)('.*').test(text);
+/**
+ * Creates a link from pasted URL.
+ * Creates a paragraph block containing a link to the URL, and calls `onReplace`.
+ *
+ * @param {string}   url       The URL that could not be embedded.
+ * @param {Function} onReplace Function to call with the created fallback block.
+ */

-    m = match(/^([-\w]+)\s*/);
+function createLinkInParagraph(url, onReplace) {
+  const link = createElement("a", {
+    href: url
+  }, url);
+  onReplace(createBlock('core/paragraph', {
+    content: renderToString(link)
+  }));
+}

-    if (!m) {
-      return error('@keyframes missing name');
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/split-value.js
+/**
+ * WordPress dependencies
+ */

-    const name = m[1];
+/*
+ * Signals to the RichText owner that the block can be replaced with two blocks
+ * as a result of splitting the block by pressing enter, or with blocks as a
+ * result of splitting the block by pasting block content in the instance.
+ */

-    if (!open()) {
-      return error("@keyframes missing '{'");
-    }
+function splitValue(_ref) {
+  let {
+    value,
+    pastedBlocks = [],
+    onReplace,
+    onSplit,
+    onSplitMiddle,
+    multilineTag
+  } = _ref;

-    let frame;
-    let frames = comments(); // eslint-disable-next-line no-cond-assign
+  if (!onReplace || !onSplit) {
+    return;
+  }

-    while (frame = keyframe()) {
-      frames.push(frame);
-      frames = frames.concat(comments());
-    }
+  const blocks = [];
+  const [before, after] = (0,external_wp_richText_namespaceObject.split)(value);
+  const hasPastedBlocks = pastedBlocks.length > 0;
+  let lastPastedBlockIndex = -1; // Consider the after value to be the original it is not empty and the
+  // before value *is* empty.

-    if (!close()) {
-      return error("@keyframes missing '}'");
-    }
+  const isAfterOriginal = (0,external_wp_richText_namespaceObject.isEmpty)(before) && !(0,external_wp_richText_namespaceObject.isEmpty)(after); // Create a block with the content before the caret if there's no pasted
+  // blocks, or if there are pasted blocks and the value is not empty. We do
+  // not want a leading empty block on paste, but we do if split with e.g. the
+  // enter key.

-    return pos({
-      type: 'keyframes',
-      name,
-      vendor,
-      keyframes: frames
-    });
+  if (!hasPastedBlocks || !(0,external_wp_richText_namespaceObject.isEmpty)(before)) {
+    blocks.push(onSplit((0,external_wp_richText_namespaceObject.toHTMLString)({
+      value: before,
+      multilineTag
+    }), !isAfterOriginal));
+    lastPastedBlockIndex += 1;
   }
-  /**
-   * Parse supports.
-   */
-

-  function atsupports() {
-    const pos = position();
-    const m = match(/^@supports *([^{]+)/);
-
-    if (!m) {
-      return;
-    }
+  if (hasPastedBlocks) {
+    blocks.push(...pastedBlocks);
+    lastPastedBlockIndex += pastedBlocks.length;
+  } else if (onSplitMiddle) {
+    blocks.push(onSplitMiddle());
+  } // If there's pasted blocks, append a block with non empty content / after
+  // the caret. Otherwise, do append an empty block if there is no
+  // `onSplitMiddle` prop, but if there is and the content is empty, the
+  // middle block is enough to set focus in.

-    const supports = trim(m[1]);

-    if (!open()) {
-      return error("@supports missing '{'");
-    }
+  if (hasPastedBlocks ? !(0,external_wp_richText_namespaceObject.isEmpty)(after) : !onSplitMiddle || !(0,external_wp_richText_namespaceObject.isEmpty)(after)) {
+    blocks.push(onSplit((0,external_wp_richText_namespaceObject.toHTMLString)({
+      value: after,
+      multilineTag
+    }), isAfterOriginal));
+  } // If there are pasted blocks, set the selection to the last one. Otherwise,
+  // set the selection to the second block.

-    const style = comments().concat(rules());

-    if (!close()) {
-      return error("@supports missing '}'");
-    }
+  const indexToSelect = hasPastedBlocks ? lastPastedBlockIndex : 1; // If there are pasted blocks, move the caret to the end of the selected
+  // block Otherwise, retain the default value.

-    return pos({
-      type: 'supports',
-      supports,
-      rules: style
-    });
-  }
-  /**
-   * Parse host.
-   */
+  const initialPosition = hasPastedBlocks ? -1 : 0;
+  onReplace(blocks, indexToSelect, initialPosition);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-paste-handler.js
+/**
+ * WordPress dependencies
+ */

-  function athost() {
-    const pos = position();
-    const m = match(/^@host\s*/);

-    if (!m) {
-      return;
-    }

-    if (!open()) {
-      return error("@host missing '{'");
-    }

-    const style = comments().concat(rules());

-    if (!close()) {
-      return error("@host missing '}'");
-    }

-    return pos({
-      type: 'host',
-      rules: style
-    });
-  }
-  /**
-   * Parse media.
-   */
+/**
+ * Internal dependencies
+ */


-  function atmedia() {
-    const pos = position();
-    const m = match(/^@media *([^{]+)/);

-    if (!m) {
-      return;
-    }

-    const media = trim(m[1]);
+/** @typedef {import('@wordpress/rich-text').RichTextValue} RichTextValue */

-    if (!open()) {
-      return error("@media missing '{'");
-    }
+/**
+ * Replaces line separators with line breaks if not multiline.
+ * Replaces line breaks with line separators if multiline.
+ *
+ * @param {RichTextValue} value       Value to adjust.
+ * @param {boolean}       isMultiline Whether to adjust to multiline or not.
+ *
+ * @return {RichTextValue} Adjusted value.
+ */

-    const style = comments().concat(rules());
+function adjustLines(value, isMultiline) {
+  if (isMultiline) {
+    return (0,external_wp_richText_namespaceObject.replace)(value, /\n+/g, external_wp_richText_namespaceObject.__UNSTABLE_LINE_SEPARATOR);
+  }

-    if (!close()) {
-      return error("@media missing '}'");
-    }
+  return (0,external_wp_richText_namespaceObject.replace)(value, new RegExp(external_wp_richText_namespaceObject.__UNSTABLE_LINE_SEPARATOR, 'g'), '\n');
+}

-    return pos({
-      type: 'media',
-      media,
-      rules: style
-    });
-  }
-  /**
-   * Parse custom-media.
-   */
+function usePasteHandler(props) {
+  const propsRef = (0,external_wp_element_namespaceObject.useRef)(props);
+  propsRef.current = props;
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+    function _onPaste(event) {
+      const {
+        isSelected,
+        disableFormats,
+        onChange,
+        value,
+        formatTypes,
+        tagName,
+        onReplace,
+        onSplit,
+        onSplitMiddle,
+        __unstableEmbedURLOnPaste,
+        multilineTag,
+        preserveWhiteSpace,
+        pastePlainText
+      } = propsRef.current;

+      if (!isSelected) {
+        event.preventDefault();
+        return;
+      }

-  function atcustommedia() {
-    const pos = position();
-    const m = match(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);
+      const {
+        clipboardData
+      } = event;
+      let plainText = '';
+      let html = ''; // IE11 only supports `Text` as an argument for `getData` and will
+      // otherwise throw an invalid argument error, so we try the standard
+      // arguments first, then fallback to `Text` if they fail.

-    if (!m) {
-      return;
-    }
+      try {
+        plainText = clipboardData.getData('text/plain');
+        html = clipboardData.getData('text/html');
+      } catch (error1) {
+        try {
+          html = clipboardData.getData('Text');
+        } catch (error2) {
+          // Some browsers like UC Browser paste plain text by default and
+          // don't support clipboardData at all, so allow default
+          // behaviour.
+          return;
+        }
+      } // Remove Windows-specific metadata appended within copied HTML text.

-    return pos({
-      type: 'custom-media',
-      name: trim(m[1]),
-      media: trim(m[2])
-    });
-  }
-  /**
-   * Parse paged media.
-   */

+      html = removeWindowsFragments(html); // Strip meta tag.

-  function atpage() {
-    const pos = position();
-    const m = match(/^@page */);
+      html = removeCharsetMetaTag(html);
+      event.preventDefault(); // Allows us to ask for this information when we get a report.

-    if (!m) {
-      return;
-    }
+      window.console.log('Received HTML:\n\n', html);
+      window.console.log('Received plain text:\n\n', plainText);

-    const sel = selector() || [];
+      if (disableFormats) {
+        onChange((0,external_wp_richText_namespaceObject.insert)(value, plainText));
+        return;
+      }

-    if (!open()) {
-      return error("@page missing '{'");
-    }
+      const transformed = formatTypes.reduce((accumlator, _ref) => {
+        let {
+          __unstablePasteRule
+        } = _ref;

-    let decls = comments(); // declarations
+        // Only allow one transform.
+        if (__unstablePasteRule && accumlator === value) {
+          accumlator = __unstablePasteRule(value, {
+            html,
+            plainText
+          });
+        }

-    let decl; // eslint-disable-next-line no-cond-assign
+        return accumlator;
+      }, value);

-    while (decl = declaration()) {
-      decls.push(decl);
-      decls = decls.concat(comments());
-    }
+      if (transformed !== value) {
+        onChange(transformed);
+        return;
+      }

-    if (!close()) {
-      return error("@page missing '}'");
-    }
+      const files = [...(0,external_wp_dom_namespaceObject.getFilesFromDataTransfer)(clipboardData)];
+      const isInternal = clipboardData.getData('rich-text') === 'true'; // If the data comes from a rich text instance, we can directly use it
+      // without filtering the data. The filters are only meant for externally
+      // pasted content and remove inline styles.

-    return pos({
-      type: 'page',
-      selectors: sel,
-      declarations: decls
-    });
-  }
-  /**
-   * Parse document.
-   */
+      if (isInternal) {
+        const pastedMultilineTag = clipboardData.getData('rich-text-multi-line-tag') || undefined;
+        let pastedValue = (0,external_wp_richText_namespaceObject.create)({
+          html,
+          multilineTag: pastedMultilineTag,
+          multilineWrapperTags: pastedMultilineTag === 'li' ? ['ul', 'ol'] : undefined,
+          preserveWhiteSpace
+        });
+        pastedValue = adjustLines(pastedValue, !!multilineTag);
+        addActiveFormats(pastedValue, value.activeFormats);
+        onChange((0,external_wp_richText_namespaceObject.insert)(value, pastedValue));
+        return;
+      }

+      if (pastePlainText) {
+        onChange((0,external_wp_richText_namespaceObject.insert)(value, (0,external_wp_richText_namespaceObject.create)({
+          text: plainText
+        })));
+        return;
+      } // Only process file if no HTML is present.
+      // Note: a pasted file may have the URL as plain text.

-  function atdocument() {
-    const pos = position();
-    const m = match(/^@([-\w]+)?document *([^{]+)/);

-    if (!m) {
-      return;
-    }
+      if (files && files.length && !html) {
+        const content = (0,external_wp_blocks_namespaceObject.pasteHandler)({
+          HTML: filePasteHandler(files),
+          mode: 'BLOCKS',
+          tagName,
+          preserveWhiteSpace
+        }); // Allows us to ask for this information when we get a report.
+        // eslint-disable-next-line no-console

-    const vendor = trim(m[1]);
-    const doc = trim(m[2]);
+        window.console.log('Received items:\n\n', files);

-    if (!open()) {
-      return error("@document missing '{'");
-    }
+        if (onReplace && (0,external_wp_richText_namespaceObject.isEmpty)(value)) {
+          onReplace(content);
+        } else {
+          splitValue({
+            value,
+            pastedBlocks: content,
+            onReplace,
+            onSplit,
+            onSplitMiddle,
+            multilineTag
+          });
+        }

-    const style = comments().concat(rules());
+        return;
+      }

-    if (!close()) {
-      return error("@document missing '}'");
-    }
+      let mode = onReplace && onSplit ? 'AUTO' : 'INLINE'; // Force the blocks mode when the user is pasting
+      // on a new line & the content resembles a shortcode.
+      // Otherwise it's going to be detected as inline
+      // and the shortcode won't be replaced.

-    return pos({
-      type: 'document',
-      document: doc,
-      vendor,
-      rules: style
-    });
-  }
-  /**
-   * Parse font-face.
-   */
+      if (mode === 'AUTO' && (0,external_wp_richText_namespaceObject.isEmpty)(value) && isShortcode(plainText)) {
+        mode = 'BLOCKS';
+      }

+      if (__unstableEmbedURLOnPaste && (0,external_wp_richText_namespaceObject.isEmpty)(value) && (0,external_wp_url_namespaceObject.isURL)(plainText.trim())) {
+        mode = 'BLOCKS';
+      }

-  function atfontface() {
-    const pos = position();
-    const m = match(/^@font-face\s*/);
+      const content = (0,external_wp_blocks_namespaceObject.pasteHandler)({
+        HTML: html,
+        plainText,
+        mode,
+        tagName,
+        preserveWhiteSpace
+      });

-    if (!m) {
-      return;
-    }
+      if (typeof content === 'string') {
+        let valueToInsert = (0,external_wp_richText_namespaceObject.create)({
+          html: content
+        }); // If the content should be multiline, we should process text
+        // separated by a line break as separate lines.

-    if (!open()) {
-      return error("@font-face missing '{'");
+        valueToInsert = adjustLines(valueToInsert, !!multilineTag);
+        addActiveFormats(valueToInsert, value.activeFormats);
+        onChange((0,external_wp_richText_namespaceObject.insert)(value, valueToInsert));
+      } else if (content.length > 0) {
+        if (onReplace && (0,external_wp_richText_namespaceObject.isEmpty)(value)) {
+          onReplace(content, content.length - 1, -1);
+        } else {
+          splitValue({
+            value,
+            pastedBlocks: content,
+            onReplace,
+            onSplit,
+            onSplitMiddle,
+            multilineTag
+          });
+        }
+      }
     }

-    let decls = comments(); // declarations
+    element.addEventListener('paste', _onPaste);
+    return () => {
+      element.removeEventListener('paste', _onPaste);
+    };
+  }, []);
+}
+/**
+ * Normalizes a given string of HTML to remove the Windows specific "Fragment" comments
+ * and any preceeding and trailing whitespace.
+ *
+ * @param {string} html the html to be normalized
+ * @return {string} the normalized html
+ */

-    let decl; // eslint-disable-next-line no-cond-assign
+function removeWindowsFragments(html) {
+  const startReg = /.*<!--StartFragment-->/s;
+  const endReg = /<!--EndFragment-->.*/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
+ */

-    while (decl = declaration()) {
-      decls.push(decl);
-      decls = decls.concat(comments());
-    }

-    if (!close()) {
-      return error("@font-face missing '}'");
-    }
+function removeCharsetMetaTag(html) {
+  const metaTag = `<meta charset='utf-8'>`;

-    return pos({
-      type: 'font-face',
-      declarations: decls
-    });
+  if (html.startsWith(metaTag)) {
+    return html.slice(metaTag.length);
   }
-  /**
-   * Parse import
-   */

+  return html;
+}

-  const atimport = _compileAtrule('import');
-  /**
-   * Parse charset
-   */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-input-rules.js
+/**
+ * WordPress dependencies
+ */


-  const atcharset = _compileAtrule('charset');
-  /**
-   * Parse namespace
-   */


-  const atnamespace = _compileAtrule('namespace');
-  /**
-   * Parse non-block at-rules
-   */

+/**
+ * Internal dependencies
+ */

-  function _compileAtrule(name) {
-    const re = new RegExp('^@' + name + '\\s*([^;]+);');
-    return function () {
-      const pos = position();
-      const m = match(re);

-      if (!m) {
+function useInputRules(props) {
+  const {
+    __unstableMarkLastChangeAsPersistent,
+    __unstableMarkAutomaticChange
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const propsRef = (0,external_wp_element_namespaceObject.useRef)(props);
+  propsRef.current = props;
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+    function inputRule() {
+      const {
+        value,
+        onReplace
+      } = propsRef.current;
+
+      if (!onReplace) {
         return;
       }

-      const ret = {
-        type: name
-      };
-      ret[name] = m[1].trim();
-      return pos(ret);
-    };
-  }
-  /**
-   * Parse at rule.
-   */
-
+      const {
+        start,
+        text
+      } = value;
+      const characterBefore = text.slice(start - 1, start); // The character right before the caret must be a plain space.

-  function atrule() {
-    if (css[0] !== '@') {
-      return;
-    }
+      if (characterBefore !== ' ') {
+        return;
+      }

-    return atkeyframes() || atmedia() || atcustommedia() || atsupports() || atimport() || atcharset() || atnamespace() || atdocument() || atpage() || athost() || atfontface();
-  }
-  /**
-   * Parse rule.
-   */
+      const trimmedTextBefore = text.slice(0, start).trim();
+      const prefixTransforms = (0,external_wp_blocks_namespaceObject.getBlockTransforms)('from').filter(_ref => {
+        let {
+          type
+        } = _ref;
+        return type === 'prefix';
+      });
+      const transformation = (0,external_wp_blocks_namespaceObject.findTransform)(prefixTransforms, _ref2 => {
+        let {
+          prefix
+        } = _ref2;
+        return trimmedTextBefore === prefix;
+      });

+      if (!transformation) {
+        return;
+      }

-  function rule() {
-    const pos = position();
-    const sel = selector();
+      const content = (0,external_wp_richText_namespaceObject.toHTMLString)({
+        value: (0,external_wp_richText_namespaceObject.slice)(value, start, text.length)
+      });
+      const block = transformation.transform(content);
+      onReplace([block]);

-    if (!sel) {
-      return error('selector missing');
+      __unstableMarkAutomaticChange();
     }

-    comments();
-    return pos({
-      type: 'rule',
-      selectors: sel,
-      declarations: declarations()
-    });
-  }
-
-  return addParent(stylesheet());
-});
-/**
- * Trim `str`.
- */
-
-function trim(str) {
-  return str ? str.replace(/^\s+|\s+$/g, '') : '';
-}
-/**
- * Adds non-enumerable parent node reference to each node.
- */
-
+    function onInput(event) {
+      const {
+        inputType,
+        type
+      } = event;
+      const {
+        value,
+        onChange,
+        __unstableAllowPrefixTransformations,
+        formatTypes
+      } = propsRef.current; // Only run input rules when inserting text.

-function addParent(obj, parent) {
-  const isNode = obj && typeof obj.type === 'string';
-  const childParent = isNode ? obj : parent;
+      if (inputType !== 'insertText' && type !== 'compositionend') {
+        return;
+      }

-  for (const k in obj) {
-    const value = obj[k];
+      if (__unstableAllowPrefixTransformations && inputRule) {
+        inputRule();
+      }

-    if (Array.isArray(value)) {
-      value.forEach(function (v) {
-        addParent(v, childParent);
-      });
-    } else if (value && typeof value === 'object') {
-      addParent(value, childParent);
-    }
-  }
+      const transformed = formatTypes.reduce((accumlator, _ref3) => {
+        let {
+          __unstableInputRule
+        } = _ref3;

-  if (isNode) {
-    Object.defineProperty(obj, 'parent', {
-      configurable: true,
-      writable: true,
-      enumerable: false,
-      value: parent || null
-    });
-  }
+        if (__unstableInputRule) {
+          accumlator = __unstableInputRule(accumlator);
+        }

-  return obj;
-}
-/* eslint-enable @wordpress/no-unused-vars-before-return */
+        return accumlator;
+      }, value);

-// EXTERNAL MODULE: ./node_modules/inherits/inherits_browser.js
-var inherits_browser = __webpack_require__("P7XM");
-var inherits_browser_default = /*#__PURE__*/__webpack_require__.n(inherits_browser);
+      if (transformed !== value) {
+        __unstableMarkLastChangeAsPersistent();

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/compiler.js
-// Adapted from https://github.com/reworkcss/css
-// because we needed to remove source map support.
+        onChange({ ...transformed,
+          activeFormats: value.activeFormats
+        });

-/**
- * Expose `Compiler`.
- */
-/* harmony default export */ var stringify_compiler = (Compiler);
-/**
- * Initialize a compiler.
- */
+        __unstableMarkAutomaticChange();
+      }
+    }

-function Compiler(opts) {
-  this.options = opts || {};
+    element.addEventListener('input', onInput);
+    element.addEventListener('compositionend', onInput);
+    return () => {
+      element.removeEventListener('input', onInput);
+      element.removeEventListener('compositionend', onInput);
+    };
+  }, []);
 }
-/**
- * Emit `str`
- */
-

-Compiler.prototype.emit = function (str) {
-  return str;
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-enter.js
 /**
- * Visit `node`.
+ * WordPress dependencies
  */

-
-Compiler.prototype.visit = function (node) {
-  return this[node.type](node);
-};
 /**
- * Map visit over array of `nodes`, optionally using a `delim`
+ * WordPress dependencies
  */


-Compiler.prototype.mapVisit = function (nodes, delim) {
-  let buf = '';
-  delim = delim || '';
-
-  for (let i = 0, length = nodes.length; i < length; i++) {
-    buf += this.visit(nodes[i]);
-
-    if (delim && i < length - 1) {
-      buf += this.emit(delim);
-    }
-  }

-  return buf;
-};

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/compress.js
-// Adapted from https://github.com/reworkcss/css
-// because we needed to remove source map support.

-/**
- * External dependencies
- */

 /**
  * Internal dependencies
  */


-/**
- * Expose compiler.
- */

-/* harmony default export */ var compress = (compress_Compiler);
-/**
- * Initialize a new `Compiler`.
- */
+function useEnter(props) {
+  const {
+    __unstableMarkAutomaticChange
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const propsRef = (0,external_wp_element_namespaceObject.useRef)(props);
+  propsRef.current = props;
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+    function onKeyDown(event) {
+      if (event.defaultPrevented) {
+        return;
+      }

-function compress_Compiler(options) {
-  stringify_compiler.call(this, options);
-}
-/**
- * Inherit from `Base.prototype`.
- */
+      const {
+        removeEditorOnlyFormats,
+        value,
+        onReplace,
+        onSplit,
+        onSplitMiddle,
+        multilineTag,
+        onChange,
+        disableLineBreaks,
+        onSplitAtEnd
+      } = propsRef.current;

+      if (event.keyCode !== external_wp_keycodes_namespaceObject.ENTER) {
+        return;
+      }

-inherits_browser_default()(compress_Compiler, stringify_compiler);
-/**
- * Compile `node`.
- */
+      event.preventDefault();
+      const _value = { ...value
+      };
+      _value.formats = removeEditorOnlyFormats(value);
+      const canSplit = onReplace && onSplit;

-compress_Compiler.prototype.compile = function (node) {
-  return node.stylesheet.rules.map(this.visit, this).join('');
-};
-/**
- * Visit comment node.
- */
+      if (onReplace) {
+        const transforms = (0,external_wp_blocks_namespaceObject.getBlockTransforms)('from').filter(_ref => {
+          let {
+            type
+          } = _ref;
+          return type === 'enter';
+        });
+        const transformation = (0,external_wp_blocks_namespaceObject.findTransform)(transforms, item => {
+          return item.regExp.test(_value.text);
+        });

+        if (transformation) {
+          onReplace([transformation.transform({
+            content: _value.text
+          })]);

-compress_Compiler.prototype.comment = function (node) {
-  return this.emit('', node.position);
-};
-/**
- * Visit import node.
- */
+          __unstableMarkAutomaticChange();
+        }
+      }

+      if (multilineTag) {
+        if (event.shiftKey) {
+          if (!disableLineBreaks) {
+            onChange((0,external_wp_richText_namespaceObject.insert)(_value, '\n'));
+          }
+        } else if (canSplit && (0,external_wp_richText_namespaceObject.__unstableIsEmptyLine)(_value)) {
+          splitValue({
+            value: _value,
+            onReplace,
+            onSplit,
+            onSplitMiddle,
+            multilineTag
+          });
+        } else {
+          onChange((0,external_wp_richText_namespaceObject.__unstableInsertLineSeparator)(_value));
+        }
+      } else {
+        const {
+          text,
+          start,
+          end
+        } = _value;
+        const canSplitAtEnd = onSplitAtEnd && start === end && end === text.length;

-compress_Compiler.prototype.import = function (node) {
-  return this.emit('@import ' + node.import + ';', node.position);
-};
-/**
- * Visit media node.
- */
+        if (event.shiftKey || !canSplit && !canSplitAtEnd) {
+          if (!disableLineBreaks) {
+            onChange((0,external_wp_richText_namespaceObject.insert)(_value, '\n'));
+          }
+        } else if (!canSplit && canSplitAtEnd) {
+          onSplitAtEnd();
+        } else if (canSplit) {
+          splitValue({
+            value: _value,
+            onReplace,
+            onSplit,
+            onSplitMiddle,
+            multilineTag
+          });
+        }
+      }
+    }

+    element.addEventListener('keydown', onKeyDown);
+    return () => {
+      element.removeEventListener('keydown', onKeyDown);
+    };
+  }, []);
+}

-compress_Compiler.prototype.media = function (node) {
-  return this.emit('@media ' + node.media, node.position) + this.emit('{') + this.mapVisit(node.rules) + this.emit('}');
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-format-types.js
 /**
- * Visit document node.
+ * WordPress dependencies
  */


-compress_Compiler.prototype.document = function (node) {
-  const doc = '@' + (node.vendor || '') + 'document ' + node.document;
-  return this.emit(doc, node.position) + this.emit('{') + this.mapVisit(node.rules) + this.emit('}');
-};
 /**
- * Visit charset node.
+ * Internal dependencies
  */


-compress_Compiler.prototype.charset = function (node) {
-  return this.emit('@charset ' + node.charset + ';', node.position);
-};
+
+function formatTypesSelector(select) {
+  return select(external_wp_richText_namespaceObject.store).getFormatTypes();
+}
 /**
- * Visit namespace node.
+ * Set of all interactive content tags.
+ *
+ * @see https://html.spec.whatwg.org/multipage/dom.html#interactive-content
  */


-compress_Compiler.prototype.namespace = function (node) {
-  return this.emit('@namespace ' + node.namespace + ';', node.position);
-};
+const interactiveContentTags = new Set(['a', 'audio', 'button', 'details', 'embed', 'iframe', 'input', 'label', 'select', 'textarea', 'video']);
 /**
- * Visit supports node.
+ * This hook provides RichText with the `formatTypes` and its derived props from
+ * experimental format type settings.
+ *
+ * @param {Object}  $0                              Options
+ * @param {string}  $0.clientId                     Block client ID.
+ * @param {string}  $0.identifier                   Block attribute.
+ * @param {boolean} $0.withoutInteractiveFormatting Whether to clean the interactive formattings or not.
+ * @param {Array}   $0.allowedFormats               Allowed formats
  */

+function useFormatTypes(_ref) {
+  let {
+    clientId,
+    identifier,
+    withoutInteractiveFormatting,
+    allowedFormats
+  } = _ref;
+  const allFormatTypes = (0,external_wp_data_namespaceObject.useSelect)(formatTypesSelector, []);
+  const formatTypes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return allFormatTypes.filter(_ref2 => {
+      let {
+        name,
+        tagName
+      } = _ref2;

-compress_Compiler.prototype.supports = function (node) {
-  return this.emit('@supports ' + node.supports, node.position) + this.emit('{') + this.mapVisit(node.rules) + this.emit('}');
-};
-/**
- * Visit keyframes node.
- */
+      if (allowedFormats && !allowedFormats.includes(name)) {
+        return false;
+      }

+      if (withoutInteractiveFormatting && interactiveContentTags.has(tagName)) {
+        return false;
+      }

-compress_Compiler.prototype.keyframes = function (node) {
-  return this.emit('@' + (node.vendor || '') + 'keyframes ' + node.name, node.position) + this.emit('{') + this.mapVisit(node.keyframes) + this.emit('}');
-};
-/**
- * Visit keyframe node.
- */
+      return true;
+    });
+  }, [allFormatTypes, allowedFormats, interactiveContentTags]);
+  const keyedSelected = (0,external_wp_data_namespaceObject.useSelect)(select => formatTypes.reduce((accumulator, type) => {
+    if (type.__experimentalGetPropsForEditableTreePreparation) {
+      accumulator[type.name] = type.__experimentalGetPropsForEditableTreePreparation(select, {
+        richTextIdentifier: identifier,
+        blockClientId: clientId
+      });
+    }

+    return accumulator;
+  }, {}), [formatTypes, clientId, identifier]);
+  const dispatch = (0,external_wp_data_namespaceObject.useDispatch)();
+  const prepareHandlers = [];
+  const valueHandlers = [];
+  const changeHandlers = [];
+  const dependencies = [];
+  formatTypes.forEach(type => {
+    if (type.__experimentalCreatePrepareEditableTree) {
+      const selected = keyedSelected[type.name];

-compress_Compiler.prototype.keyframe = function (node) {
-  const decls = node.declarations;
-  return this.emit(node.values.join(','), node.position) + this.emit('{') + this.mapVisit(decls) + this.emit('}');
-};
-/**
- * Visit page node.
- */
+      const handler = type.__experimentalCreatePrepareEditableTree(selected, {
+        richTextIdentifier: identifier,
+        blockClientId: clientId
+      });

+      if (type.__experimentalCreateOnChangeEditableValue) {
+        valueHandlers.push(handler);
+      } else {
+        prepareHandlers.push(handler);
+      }

-compress_Compiler.prototype.page = function (node) {
-  const sel = node.selectors.length ? node.selectors.join(', ') : '';
-  return this.emit('@page ' + sel, node.position) + this.emit('{') + this.mapVisit(node.declarations) + this.emit('}');
-};
-/**
- * Visit font-face node.
- */
+      for (const key in selected) {
+        dependencies.push(selected[key]);
+      }
+    }

+    if (type.__experimentalCreateOnChangeEditableValue) {
+      let dispatchers = {};

-compress_Compiler.prototype['font-face'] = function (node) {
-  return this.emit('@font-face', node.position) + this.emit('{') + this.mapVisit(node.declarations) + this.emit('}');
-};
-/**
- * Visit host node.
- */
+      if (type.__experimentalGetPropsForEditableTreeChangeHandler) {
+        dispatchers = type.__experimentalGetPropsForEditableTreeChangeHandler(dispatch, {
+          richTextIdentifier: identifier,
+          blockClientId: clientId
+        });
+      }

+      changeHandlers.push(type.__experimentalCreateOnChangeEditableValue({ ...(keyedSelected[type.name] || {}),
+        ...dispatchers
+      }, {
+        richTextIdentifier: identifier,
+        blockClientId: clientId
+      }));
+    }
+  });
+  return {
+    formatTypes,
+    prepareHandlers,
+    valueHandlers,
+    changeHandlers,
+    dependencies
+  };
+}

-compress_Compiler.prototype.host = function (node) {
-  return this.emit('@host', node.position) + this.emit('{') + this.mapVisit(node.rules) + this.emit('}');
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-remove-browser-shortcuts.js
 /**
- * Visit custom-media node.
+ * WordPress dependencies
  */


-compress_Compiler.prototype['custom-media'] = function (node) {
-  return this.emit('@custom-media ' + node.name + ' ' + node.media + ';', node.position);
-};
 /**
- * Visit rule node.
+ * Hook to prevent default behaviors for key combinations otherwise handled
+ * internally by RichText.
+ *
+ * @return {import('react').RefObject} The component to be rendered.
  */

+function useRemoveBrowserShortcuts() {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    function onKeydown(event) {
+      if (external_wp_keycodes_namespaceObject.isKeyboardEvent.primary(event, 'z') || external_wp_keycodes_namespaceObject.isKeyboardEvent.primary(event, 'y') || external_wp_keycodes_namespaceObject.isKeyboardEvent.primaryShift(event, 'z')) {
+        event.preventDefault();
+      }
+    }

-compress_Compiler.prototype.rule = function (node) {
-  const decls = node.declarations;
-
-  if (!decls.length) {
-    return '';
-  }
+    node.addEventListener('keydown', onKeydown);
+    return () => {
+      node.addEventListener('keydown', onKeydown);
+    };
+  }, []);
+}

-  return this.emit(node.selectors.join(','), node.position) + this.emit('{') + this.mapVisit(decls) + this.emit('}');
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-shortcuts.js
 /**
- * Visit declaration node.
+ * WordPress dependencies
  */

+function useShortcuts(keyboardShortcuts) {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+    function onKeyDown(event) {
+      for (const keyboardShortcut of keyboardShortcuts.current) {
+        keyboardShortcut(event);
+      }
+    }

-compress_Compiler.prototype.declaration = function (node) {
-  return this.emit(node.property + ':' + node.value, node.position) + this.emit(';');
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/identity.js
-/* eslint-disable @wordpress/no-unused-vars-before-return */
-// Adapted from https://github.com/reworkcss/css
-// because we needed to remove source map support.
+    element.addEventListener('keydown', onKeyDown);
+    return () => {
+      element.removeEventListener('keydown', onKeyDown);
+    };
+  }, []);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/use-input-events.js
 /**
- * External dependencies
+ * WordPress dependencies
  */

-/**
- * Internal dependencies
- */
+function useInputEvents(inputEvents) {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+    function onInput(event) {
+      for (const keyboardShortcut of inputEvents.current) {
+        keyboardShortcut(event);
+      }
+    }
+
+    element.addEventListener('input', onInput);
+    return () => {
+      element.removeEventListener('input', onInput);
+    };
+  }, []);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/format-edit.js

-/**
- * Expose compiler.
- */

-/* harmony default export */ var identity = (identity_Compiler);
 /**
- * Initialize a new `Compiler`.
+ * WordPress dependencies
  */

-function identity_Compiler(options) {
-  options = options || {};
-  stringify_compiler.call(this, options);
-  this.indentation = options.indent;
-}
 /**
- * Inherit from `Base.prototype`.
+ * External dependencies
  */


-inherits_browser_default()(identity_Compiler, stringify_compiler);
-/**
- * Compile `node`.
- */
+function FormatEdit(_ref) {
+  let {
+    formatTypes,
+    onChange,
+    onFocus,
+    value,
+    forwardedRef
+  } = _ref;
+  return formatTypes.map(settings => {
+    const {
+      name,
+      edit: Edit
+    } = settings;

-identity_Compiler.prototype.compile = function (node) {
-  return this.stylesheet(node);
-};
-/**
- * Visit stylesheet node.
- */
+    if (!Edit) {
+      return null;
+    }

+    const activeFormat = (0,external_wp_richText_namespaceObject.getActiveFormat)(value, name);
+    let isActive = activeFormat !== undefined;
+    const activeObject = (0,external_wp_richText_namespaceObject.getActiveObject)(value);
+    const isObjectActive = activeObject !== undefined && activeObject.type === name; // Edge case: un-collapsed link formats.
+    // If there is a missing link format at either end of the selection
+    // then we shouldn't show the Edit UI because the selection has exceeded
+    // the bounds of the link format.
+    // Also if the format objects don't match then we're dealing with two separate
+    // links so we should not allow the link to be modified over the top.

-identity_Compiler.prototype.stylesheet = function (node) {
-  return this.mapVisit(node.stylesheet.rules, '\n\n');
-};
-/**
- * Visit comment node.
- */
+    if (name === 'core/link' && !(0,external_wp_richText_namespaceObject.isCollapsed)(value)) {
+      const formats = value.formats;
+      const linkFormatAtStart = (0,external_lodash_namespaceObject.find)(formats[value.start], {
+        type: 'core/link'
+      });
+      const linkFormatAtEnd = (0,external_lodash_namespaceObject.find)(formats[value.end - 1], {
+        type: 'core/link'
+      });

+      if (!linkFormatAtStart || !linkFormatAtEnd || linkFormatAtStart !== linkFormatAtEnd) {
+        isActive = false;
+      }
+    }

-identity_Compiler.prototype.comment = function (node) {
-  return this.emit(this.indent() + '/*' + node.comment + '*/', node.position);
-};
-/**
- * Visit import node.
- */
+    return (0,external_wp_element_namespaceObject.createElement)(Edit, {
+      key: name,
+      isActive: isActive,
+      activeAttributes: isActive ? activeFormat.attributes || {} : {},
+      isObjectActive: isObjectActive,
+      activeObjectAttributes: isObjectActive ? activeObject.attributes || {} : {},
+      value: value,
+      onChange: onChange,
+      onFocus: onFocus,
+      contentRef: forwardedRef
+    });
+  });
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/index.js

-identity_Compiler.prototype.import = function (node) {
-  return this.emit('@import ' + node.import + ';', node.position);
-};
-/**
- * Visit media node.
- */


-identity_Compiler.prototype.media = function (node) {
-  return this.emit('@media ' + node.media, node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(node.rules, '\n\n') + this.emit(this.indent(-1) + '\n}');
-};
 /**
- * Visit document node.
+ * External dependencies
  */


-identity_Compiler.prototype.document = function (node) {
-  const doc = '@' + (node.vendor || '') + 'document ' + node.document;
-  return this.emit(doc, node.position) + this.emit(' ' + ' {\n' + this.indent(1)) + this.mapVisit(node.rules, '\n\n') + this.emit(this.indent(-1) + '\n}');
-};
 /**
- * Visit charset node.
+ * WordPress dependencies
  */


-identity_Compiler.prototype.charset = function (node) {
-  return this.emit('@charset ' + node.charset + ';', node.position);
-};
-/**
- * Visit namespace node.
- */


-identity_Compiler.prototype.namespace = function (node) {
-  return this.emit('@namespace ' + node.namespace + ';', node.position);
-};
-/**
- * Visit supports node.
- */


-identity_Compiler.prototype.supports = function (node) {
-  return this.emit('@supports ' + node.supports, node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(node.rules, '\n\n') + this.emit(this.indent(-1) + '\n}');
-};
-/**
- * Visit keyframes node.
- */


-identity_Compiler.prototype.keyframes = function (node) {
-  return this.emit('@' + (node.vendor || '') + 'keyframes ' + node.name, node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(node.keyframes, '\n') + this.emit(this.indent(-1) + '}');
-};
+
 /**
- * Visit keyframe node.
+ * Internal dependencies
  */


-identity_Compiler.prototype.keyframe = function (node) {
-  const decls = node.declarations;
-  return this.emit(this.indent()) + this.emit(node.values.join(', '), node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(decls, '\n') + this.emit(this.indent(-1) + '\n' + this.indent() + '}\n');
-};
-/**
- * Visit page node.
- */


-identity_Compiler.prototype.page = function (node) {
-  const sel = node.selectors.length ? node.selectors.join(', ') + ' ' : '';
-  return this.emit('@page ' + sel, node.position) + this.emit('{\n') + this.emit(this.indent(1)) + this.mapVisit(node.declarations, '\n') + this.emit(this.indent(-1)) + this.emit('\n}');
-};
-/**
- * Visit font-face node.
- */


-identity_Compiler.prototype['font-face'] = function (node) {
-  return this.emit('@font-face ', node.position) + this.emit('{\n') + this.emit(this.indent(1)) + this.mapVisit(node.declarations, '\n') + this.emit(this.indent(-1)) + this.emit('\n}');
-};
-/**
- * Visit host node.
- */


-identity_Compiler.prototype.host = function (node) {
-  return this.emit('@host', node.position) + this.emit(' {\n' + this.indent(1)) + this.mapVisit(node.rules, '\n\n') + this.emit(this.indent(-1) + '\n}');
-};
-/**
- * Visit custom-media node.
- */


-identity_Compiler.prototype['custom-media'] = function (node) {
-  return this.emit('@custom-media ' + node.name + ' ' + node.media + ';', node.position);
-};
-/**
- * Visit rule node.
- */


-identity_Compiler.prototype.rule = function (node) {
-  const indent = this.indent();
-  const decls = node.declarations;

-  if (!decls.length) {
-    return '';
-  }

-  return this.emit(node.selectors.map(function (s) {
-    return indent + s;
-  }).join(',\n'), node.position) + this.emit(' {\n') + this.emit(this.indent(1)) + this.mapVisit(decls, '\n') + this.emit(this.indent(-1)) + this.emit('\n' + this.indent() + '}');
-};
-/**
- * Visit declaration node.
- */


-identity_Compiler.prototype.declaration = function (node) {
-  return this.emit(this.indent()) + this.emit(node.property + ': ' + node.value, node.position) + this.emit(';');
-};
+
+const keyboardShortcutContext = (0,external_wp_element_namespaceObject.createContext)();
+const inputEventContext = (0,external_wp_element_namespaceObject.createContext)();
 /**
- * Increase, decrease or return current indentation.
+ * Removes props used for the native version of RichText so that they are not
+ * passed to the DOM element and log warnings.
+ *
+ * @param {Object} props Props to filter.
+ *
+ * @return {Object} Filtered props.
  */

+function removeNativeProps(props) {
+  return (0,external_lodash_namespaceObject.omit)(props, ['__unstableMobileNoFocusOnMount', 'deleteEnter', 'placeholderTextColor', 'textAlign', 'selectionColor', 'tagsToEliminate', 'rootTagsToEliminate', 'disableEditingMenu', 'fontSize', 'fontFamily', 'fontWeight', 'fontStyle', 'minWidth', 'maxWidth', 'setRef']);
+}

-identity_Compiler.prototype.indent = function (level) {
-  this.level = this.level || 1;
-
-  if (null !== level) {
-    this.level += level;
-    return '';
-  }
-
-  return Array(this.level).join(this.indentation || '  ');
-};
-/* eslint-enable @wordpress/no-unused-vars-before-return */
+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 = (0,external_wp_compose_namespaceObject.useInstanceId)(RichTextWrapper);
+  identifier = identifier || instanceId;
+  props = removeNativeProps(props);
+  const anchorRef = (0,external_wp_element_namespaceObject.useRef)();
+  const {
+    clientId
+  } = useBlockEditContext();

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/ast/stringify/index.js
-// Adapted from https://github.com/reworkcss/css
-// because we needed to remove source map support.
+  const selector = select => {
+    const {
+      getSelectionStart,
+      getSelectionEnd,
+      isMultiSelecting,
+      hasMultiSelection
+    } = select(store);
+    const selectionStart = getSelectionStart();
+    const selectionEnd = getSelectionEnd();
+    let isSelected;

-/**
- * Internal dependencies
- */
+    if (originalIsSelected === undefined) {
+      isSelected = selectionStart.clientId === clientId && selectionStart.attributeKey === identifier;
+    } else if (originalIsSelected) {
+      isSelected = selectionStart.clientId === clientId;
+    }

+    return {
+      selectionStart: isSelected ? selectionStart.offset : undefined,
+      selectionEnd: isSelected ? selectionEnd.offset : undefined,
+      isSelected,
+      disabled: isMultiSelecting() || hasMultiSelection()
+    };
+  }; // This selector must run on every render so the right selection state is
+  // retreived from the store on merge.
+  // To do: fix this somehow.

-/**
- * Stringfy the given AST `node`.
- *
- * Options:
- *
- *  - `compress` space-optimized output
- *  - `sourcemap` return an object with `.code` and `.map`
- *
- * @param {Object} node
- * @param {Object} [options]
- * @return {string}
- */

-/* harmony default export */ var stringify = (function (node, options) {
-  options = options || {};
-  const compiler = options.compress ? new compress(options) : new identity(options);
-  const code = compiler.compile(node);
-  return code;
-});
+  const {
+    selectionStart,
+    selectionEnd,
+    isSelected,
+    disabled
+  } = (0,external_wp_data_namespaceObject.useSelect)(selector);
+  const {
+    selectionChange
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const multilineTag = getMultilineTag(multiline);
+  const adjustedAllowedFormats = getAllowedFormats({
+    allowedFormats,
+    formattingControls,
+    disableFormats
+  });
+  const hasFormats = !adjustedAllowedFormats || adjustedAllowedFormats.length > 0;
+  let adjustedValue = originalValue;
+  let adjustedOnChange = originalOnChange; // Handle deprecated format.

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/traverse.js
-/**
- * External dependencies
- */
+  if (Array.isArray(originalValue)) {
+    adjustedValue = external_wp_blocks_namespaceObject.children.toHTML(originalValue);

-/**
- * Internal dependencies
- */
+    adjustedOnChange = newValue => originalOnChange(external_wp_blocks_namespaceObject.children.fromDOM((0,external_wp_richText_namespaceObject.__unstableCreateElement)(document, newValue).childNodes));
+  }

+  const onSelectionChange = (0,external_wp_element_namespaceObject.useCallback)((start, end) => {
+    selectionChange(clientId, identifier, start, end);
+  }, [clientId, identifier]);
+  const {
+    formatTypes,
+    prepareHandlers,
+    valueHandlers,
+    changeHandlers,
+    dependencies
+  } = useFormatTypes({
+    clientId,
+    identifier,
+    withoutInteractiveFormatting,
+    allowedFormats: adjustedAllowedFormats
+  });

+  function addEditorOnlyFormats(value) {
+    return valueHandlers.reduce((accumulator, fn) => fn(accumulator, value.text), value.formats);
+  }

-function traverseCSS(css, callback) {
-  try {
-    const parsed = parse(css);
-    const updated = traverse_default.a.map(parsed, function (node) {
-      if (!node) {
-        return node;
+  function removeEditorOnlyFormats(value) {
+    formatTypes.forEach(formatType => {
+      // Remove formats created by prepareEditableTree, because they are editor only.
+      if (formatType.__experimentalCreatePrepareEditableTree) {
+        value = (0,external_wp_richText_namespaceObject.removeFormat)(value, formatType.name, 0, value.text.length);
       }
-
-      const updatedNode = callback(node);
-      return this.update(updatedNode);
     });
-    return stringify(updated);
-  } catch (err) {
-    // eslint-disable-next-line no-console
-    console.warn('Error while traversing the CSS: ' + err);
-    return null;
+    return value.formats;
   }
-}

-/* harmony default export */ var transform_styles_traverse = (traverseCSS);
+  function addInvisibleFormats(value) {
+    return prepareHandlers.reduce((accumulator, fn) => fn(accumulator, value.text), value.formats);
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/transforms/url-rewrite.js
-/**
- * Return `true` if the given path is http/https.
- *
- * @param {string} filePath path
- *
- * @return {boolean} is remote path.
- */
-function isRemotePath(filePath) {
-  return /^(?:https?:)?\/\//.test(filePath);
-}
-/**
- * Return `true` if the given filePath is an absolute url.
- *
- * @param {string} filePath path
- *
- * @return {boolean} is absolute path.
- */
+  const {
+    value,
+    onChange,
+    ref: richTextRef
+  } = (0,external_wp_richText_namespaceObject.__unstableUseRichText)({
+    value: adjustedValue,

+    onChange(html, _ref2) {
+      let {
+        __unstableFormats,
+        __unstableText
+      } = _ref2;
+      adjustedOnChange(html);
+      Object.values(changeHandlers).forEach(changeHandler => {
+        changeHandler(__unstableFormats, __unstableText);
+      });
+    },

-function isAbsolutePath(filePath) {
-  return /^\/(?!\/)/.test(filePath);
-}
-/**
- * Whether or not the url should be inluded.
- *
- * @param {Object} meta url meta info
- *
- * @return {boolean} is valid.
- */
+    selectionStart,
+    selectionEnd,
+    onSelectionChange,
+    placeholder,
+    __unstableIsSelected: isSelected,
+    __unstableMultilineTag: multilineTag,
+    __unstableDisableFormats: disableFormats,
+    preserveWhiteSpace,
+    __unstableDependencies: [...dependencies, tagName],
+    __unstableAfterParse: addEditorOnlyFormats,
+    __unstableBeforeSerialize: removeEditorOnlyFormats,
+    __unstableAddInvisibleFormats: addInvisibleFormats
+  });
+  const autocompleteProps = useBlockEditorAutocompleteProps({
+    onReplace,
+    completers: autocompleters,
+    record: value,
+    onChange
+  });
+  useCaretInFormat({
+    value
+  });
+  useMarkPersistent({
+    html: adjustedValue,
+    value
+  });
+  const keyboardShortcuts = (0,external_wp_element_namespaceObject.useRef)(new Set());
+  const inputEvents = (0,external_wp_element_namespaceObject.useRef)(new Set());
+
+  function onKeyDown(event) {
+    const {
+      keyCode
+    } = event;
+
+    if (event.defaultPrevented) {
+      return;
+    }
+
+    if (keyCode === external_wp_keycodes_namespaceObject.DELETE || keyCode === external_wp_keycodes_namespaceObject.BACKSPACE) {
+      const {
+        start,
+        end,
+        text
+      } = value;
+      const isReverse = keyCode === external_wp_keycodes_namespaceObject.BACKSPACE;
+      const hasActiveFormats = value.activeFormats && !!value.activeFormats.length; // Only process delete if the key press occurs at an uncollapsed edge.

+      if (!(0,external_wp_richText_namespaceObject.isCollapsed)(value) || hasActiveFormats || isReverse && start !== 0 || !isReverse && end !== text.length) {
+        return;
+      }

-function isValidURL(meta) {
-  // ignore hashes or data uris
-  if (meta.value.indexOf('data:') === 0 || meta.value.indexOf('#') === 0) {
-    return false;
-  }
+      if (onMerge) {
+        onMerge(!isReverse);
+      } // Only handle remove on Backspace. This serves dual-purpose of being
+      // an intentional user interaction distinguishing between Backspace and
+      // Delete to remove the empty field, but also to avoid merge & remove
+      // causing destruction of two fields (merge, then removed merged).

-  if (isAbsolutePath(meta.value)) {
-    return false;
-  } // do not handle the http/https urls if `includeRemote` is false

+      if (onRemove && (0,external_wp_richText_namespaceObject.isEmpty)(value) && isReverse) {
+        onRemove(!isReverse);
+      }

-  if (isRemotePath(meta.value)) {
-    return false;
+      event.preventDefault();
+    }
   }

-  return true;
-}
-/**
- * Get the absolute path of the url, relative to the basePath
- *
- * @param {string} str     the url
- * @param {string} baseURL base URL
- *
- * @return {string} the full path to the file
- */
-
+  function onFocus() {
+    anchorRef.current.focus();
+  }

-function getResourcePath(str, baseURL) {
-  return new URL(str, baseURL).toString();
-}
-/**
- * Process the single `url()` pattern
- *
- * @param {string} baseURL the base URL for relative URLs.
- *
- * @return {Promise} the Promise.
- */
+  const TagName = tagName;
+  const content = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isSelected && (0,external_wp_element_namespaceObject.createElement)(keyboardShortcutContext.Provider, {
+    value: keyboardShortcuts
+  }, (0,external_wp_element_namespaceObject.createElement)(inputEventContext.Provider, {
+    value: inputEvents
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover.__unstableSlotNameProvider, {
+    value: "__unstable-block-tools-after"
+  }, children && children({
+    value,
+    onChange,
+    onFocus
+  }), (0,external_wp_element_namespaceObject.createElement)(FormatEdit, {
+    value: value,
+    onChange: onChange,
+    onFocus: onFocus,
+    formatTypes: formatTypes,
+    forwardedRef: anchorRef
+  })))), isSelected && hasFormats && (0,external_wp_element_namespaceObject.createElement)(format_toolbar_container, {
+    inline: inlineToolbar,
+    anchorRef: anchorRef.current
+  }), (0,external_wp_element_namespaceObject.createElement)(TagName // Overridable props.
+  , _extends({
+    role: "textbox",
+    "aria-multiline": true,
+    "aria-label": placeholder
+  }, props, autocompleteProps, {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([autocompleteProps.ref, props.ref, richTextRef, useInputRules({
+      value,
+      onChange,
+      __unstableAllowPrefixTransformations,
+      formatTypes,
+      onReplace
+    }), useRemoveBrowserShortcuts(), useShortcuts(keyboardShortcuts), useInputEvents(inputEvents), useUndoAutomaticChange(), usePasteHandler({
+      isSelected,
+      disableFormats,
+      onChange,
+      value,
+      formatTypes,
+      tagName,
+      onReplace,
+      onSplit,
+      onSplitMiddle,
+      __unstableEmbedURLOnPaste,
+      multilineTag,
+      preserveWhiteSpace,
+      pastePlainText
+    }), useEnter({
+      removeEditorOnlyFormats,
+      value,
+      onReplace,
+      onSplit,
+      onSplitMiddle,
+      multilineTag,
+      onChange,
+      disableLineBreaks,
+      onSplitAtEnd
+    }), anchorRef, forwardedRef]) // Do not set the attribute if disabled.
+    ,
+    contentEditable: disabled ? undefined : true,
+    suppressContentEditableWarning: !disabled,
+    className: classnames_default()('block-editor-rich-text__editable', props.className, 'rich-text'),
+    onFocus: unstableOnFocus,
+    onKeyDown: onKeyDown
+  })));

+  if (!wrapperClassName) {
+    return content;
+  }

-function processURL(baseURL) {
-  return meta => ({ ...meta,
-    newUrl: 'url(' + meta.before + meta.quote + getResourcePath(meta.value, baseURL) + meta.quote + meta.after + ')'
+  external_wp_deprecated_default()('wp.blockEditor.RichText wrapperClassName prop', {
+    since: '5.4',
+    alternative: 'className prop or create your own wrapper div'
   });
+  const className = classnames_default()('block-editor-rich-text', wrapperClassName);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: className
+  }, content);
 }
-/**
- * Get all `url()`s, and return the meta info
- *
- * @param {string} value decl.value.
- *
- * @return {Array} the urls.
- */
-

-function getURLs(value) {
-  const reg = /url\((\s*)(['"]?)(.+?)\2(\s*)\)/g;
-  let match;
-  const URLs = [];
+const ForwardedRichTextContainer = (0,external_wp_element_namespaceObject.forwardRef)(RichTextWrapper);

-  while ((match = reg.exec(value)) !== null) {
-    const meta = {
-      source: match[0],
-      before: match[1],
-      quote: match[2],
-      value: match[3],
-      after: match[4]
-    };
+ForwardedRichTextContainer.Content = _ref3 => {
+  let {
+    value,
+    tagName: Tag,
+    multiline,
+    ...props
+  } = _ref3;

-    if (isValidURL(meta)) {
-      URLs.push(meta);
-    }
+  // Handle deprecated `children` and `node` sources.
+  if (Array.isArray(value)) {
+    value = external_wp_blocks_namespaceObject.children.toHTML(value);
   }

-  return URLs;
-}
-/**
- * Replace the raw value's `url()` segment to the new value
- *
- * @param {string} raw  the raw value.
- * @param {Array}  URLs the URLs to replace.
- *
- * @return {string} the new value.
- */
+  const MultilineTag = getMultilineTag(multiline);

+  if (!value && MultilineTag) {
+    value = `<${MultilineTag}></${MultilineTag}>`;
+  }

-function replaceURLs(raw, URLs) {
-  URLs.forEach(item => {
-    raw = raw.replace(item.source, item.newUrl);
-  });
-  return raw;
-}
+  const content = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, value);

-const rewrite = rootURL => node => {
-  if (node.type === 'declaration') {
-    const updatedURLs = getURLs(node.value).map(processURL(rootURL));
-    return { ...node,
-      value: replaceURLs(node.value, updatedURLs)
-    };
+  if (Tag) {
+    return (0,external_wp_element_namespaceObject.createElement)(Tag, (0,external_lodash_namespaceObject.omit)(props, ['format']), content);
   }

-  return node;
+  return content;
 };

-/* harmony default export */ var url_rewrite = (rewrite);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/transforms/wrap.js
-/**
- * @constant string IS_ROOT_TAG Regex to check if the selector is a root tag selector.
- */
-const IS_ROOT_TAG = /^(body|html|:root).*$/;
+ForwardedRichTextContainer.isEmpty = value => {
+  return !value || value.length === 0;
+};
 /**
- * Creates a callback to modify selectors so they only apply within a certain
- * namespace.
- *
- * @param {string}   namespace Namespace to prefix selectors with.
- * @param {string[]} ignore    Selectors to not prefix.
- *
- * @return {(node: Object) => Object} Callback to wrap selectors.
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/rich-text/README.md
  */

-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.

+/* harmony default export */ var rich_text = (ForwardedRichTextContainer);

-      {
-        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 node;
-  };
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/editable-text/index.js

-/* harmony default export */ var transforms_wrap = (wrap);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/transform-styles/index.js
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */

-
 /**
  * Internal dependencies
  */


+const EditableText = (0,external_wp_element_namespaceObject.forwardRef)((props, ref) => {
+  return (0,external_wp_element_namespaceObject.createElement)(rich_text, _extends({
+    ref: ref
+  }, props, {
+    __unstableDisableFormats: true,
+    preserveWhiteSpace: true
+  }));
+});

-
+EditableText.Content = _ref => {
+  let {
+    value = '',
+    tagName: Tag = 'div',
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(Tag, props, value);
+};
 /**
- * Applies a series of CSS rule transforms to wrap selectors inside a given class and/or rewrite URLs depending on the parameters passed.
- *
- * @param {Array}  styles           CSS rules.
- * @param {string} wrapperClassName Wrapper Class Name.
- * @return {Array} converted rules.
+ * Renders an editable text input in which text formatting is not allowed.
  */

-const transformStyles = function (styles) {
-  let wrapperClassName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
-  return Object(external_lodash_["map"])(styles, _ref => {
-    let {
-      css,
-      baseURL
-    } = _ref;
-    const transforms = [];
-
-    if (wrapperClassName) {
-      transforms.push(transforms_wrap(wrapperClassName));
-    }
-
-    if (baseURL) {
-      transforms.push(url_rewrite(baseURL));
-    }
-
-    if (transforms.length) {
-      return transform_styles_traverse(css, Object(external_wp_compose_["compose"])(transforms));
-    }
-
-    return css;
-  });
-};
-
-/* harmony default export */ var transform_styles = __webpack_exports__["a"] = (transformStyles);
-
-
-/***/ }),
-
-/***/ "vtO0":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ BlockAlignmentControl; });
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ BlockAlignmentToolbar; });
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+/* harmony default export */ var editable_text = (EditableText);

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/plain-text/index.js

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/align-none.js
+/**
+ * External dependencies
+ */


 /**
  * WordPress dependencies
  */

-const alignNone = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"
-}));
-/* harmony default export */ var align_none = (alignNone);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/position-left.js
+/**
+ * Internal dependencies
+ */


 /**
- * WordPress dependencies
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/plain-text/README.md
  */

-const positionLeft = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"
-}));
-/* harmony default export */ var position_left = (positionLeft);
+const PlainText = (0,external_wp_element_namespaceObject.forwardRef)((_ref, ref) => {
+  let {
+    __experimentalVersion,
+    ...props
+  } = _ref;
+
+  if (__experimentalVersion === 2) {
+    return (0,external_wp_element_namespaceObject.createElement)(editable_text, _extends({
+      ref: ref
+    }, props));
+  }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/position-center.js
-var position_center = __webpack_require__("EpZT");
+  const {
+    className,
+    onChange,
+    ...remainingProps
+  } = props;
+  return (0,external_wp_element_namespaceObject.createElement)(lib/* default */.Z, _extends({
+    ref: ref,
+    className: classnames_default()('block-editor-plain-text', className),
+    onChange: event => onChange(event.target.value)
+  }, remainingProps));
+});
+/* harmony default export */ var plain_text = (PlainText);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/position-right.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/label.js


 /**
  * WordPress dependencies
  */

-const positionRight = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"
-}));
-/* harmony default export */ var position_right = (positionRight);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/stretch-wide.js
-var stretch_wide = __webpack_require__("beZb");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/stretch-full-width.js
-var stretch_full_width = __webpack_require__("XNw2");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/use-available-alignments.js
-var use_available_alignments = __webpack_require__("K/rC");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/ui.js
+function ResponsiveBlockControlLabel(_ref) {
+  let {
+    property,
+    viewport,
+    desc
+  } = _ref;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ResponsiveBlockControlLabel);
+  const accessibleLabel = desc || (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: 1: property name. 2: viewport name. */
+  (0,external_wp_i18n_namespaceObject._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.'), property, viewport.label);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("span", {
+    "aria-describedby": `rbc-desc-${instanceId}`
+  }, viewport.label), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    as: "span",
+    id: `rbc-desc-${instanceId}`
+  }, accessibleLabel));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/responsive-block-control/index.js


 /**
@@ -47636,676 +43859,679 @@ var use_available_alignments = __webpack_require__("K/rC");



-
 /**
  * Internal dependencies
  */


-const BLOCK_ALIGNMENTS_CONTROLS = {
-  none: {
-    icon: align_none,
-    title: Object(external_wp_i18n_["__"])('None')
-  },
-  left: {
-    icon: position_left,
-    title: Object(external_wp_i18n_["__"])('Align left')
-  },
-  center: {
-    icon: position_center["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Align center')
-  },
-  right: {
-    icon: position_right,
-    title: Object(external_wp_i18n_["__"])('Align right')
-  },
-  wide: {
-    icon: stretch_wide["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Wide width')
-  },
-  full: {
-    icon: stretch_full_width["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Full width')
-  }
-};
-const DEFAULT_CONTROL = 'none';
-const POPOVER_PROPS = {
-  isAlternate: 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;
+function ResponsiveBlockControl(props) {
+  const {
+    title,
+    property,
+    toggleLabel,
+    onIsResponsiveChange,
+    renderDefaultControl,
+    renderResponsiveControls,
+    isResponsive = false,
+    defaultLabel = {
+      id: 'all',

-  if (!hasEnabledControls) {
-    return null;
-  }
+      /* translators: 'Label. Used to signify a layout property (eg: margin, padding) will apply uniformly to all screensizes.' */
+      label: (0,external_wp_i18n_namespaceObject.__)('All')
+    },
+    viewports = [{
+      id: 'small',
+      label: (0,external_wp_i18n_namespaceObject.__)('Small screens')
+    }, {
+      id: 'medium',
+      label: (0,external_wp_i18n_namespaceObject.__)('Medium screens')
+    }, {
+      id: 'large',
+      label: (0,external_wp_i18n_namespaceObject.__)('Large screens')
+    }]
+  } = props;

-  function onChangeAlignment(align) {
-    onChange([value, 'none'].includes(align) ? undefined : align);
+  if (!title || !property || !renderDefaultControl) {
+    return null;
   }

-  const activeAlignmentControl = BLOCK_ALIGNMENTS_CONTROLS[value];
-  const defaultAlignmentControl = BLOCK_ALIGNMENTS_CONTROLS[DEFAULT_CONTROL];
-  const UIComponent = isToolbar ? external_wp_components_["ToolbarGroup"] : external_wp_components_["ToolbarDropdownMenu"];
-  const commonProps = {
-    popoverProps: POPOVER_PROPS,
-    icon: activeAlignmentControl ? activeAlignmentControl.icon : defaultAlignmentControl.icon,
-    label: Object(external_wp_i18n_["__"])('Align'),
-    toggleProps: {
-      describedBy: Object(external_wp_i18n_["__"])('Change alignment')
-    }
-  };
-  const extraProps = isToolbar || external_wp_element_["Platform"].isNative ? {
-    isCollapsed: isToolbar ? isCollapsed : undefined,
-    controls: enabledControls.map(_ref2 => {
-      let {
-        name: controlName
-      } = _ref2;
-      return { ...BLOCK_ALIGNMENTS_CONTROLS[controlName],
-        isActive: value === controlName || !value && controlName === 'none',
-        role: isCollapsed ? 'menuitemradio' : undefined,
-        onClick: () => onChangeAlignment(controlName)
-      };
-    })
-  } : {
-    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(_ref4 => {
-        let {
-          name: controlName,
-          info
-        } = _ref4;
-        const {
-          icon,
-          title
-        } = BLOCK_ALIGNMENTS_CONTROLS[controlName]; // If no value is provided, mark as selected the `none` option.
-
-        const isSelected = controlName === value || !value && controlName === 'none';
-        return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-          key: controlName,
-          icon: icon,
-          iconPosition: "left",
-          className: classnames_default()('components-dropdown-menu__menu-item', {
-            'is-active': isSelected
-          }),
-          isSelected: isSelected,
-          onClick: () => {
-            onChangeAlignment(controlName);
-            onClose();
-          },
-          role: "menuitemradio",
-          info: info
-        }, title);
-      })));
-    }
-  };
-  return Object(external_wp_element_["createElement"])(UIComponent, Object(esm_extends["a" /* default */])({}, commonProps, extraProps));
-}
-
-/* harmony default export */ var ui = (BlockAlignmentUI);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/index.js
+  const toggleControlLabel = toggleLabel || (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: 'Toggle control label. Should the property be the same across all screen sizes or unique per screen size.'. %s property value for the control (eg: margin, padding...etc) */
+  (0,external_wp_i18n_namespaceObject.__)('Use the same %s on all screensizes.'), property);
+  /* translators: 'Help text for the responsive mode toggle control.' */

+  const toggleHelpText = (0,external_wp_i18n_namespaceObject.__)('Toggle between using the same value for all screen sizes or using a unique value per screen size.');

+  const defaultControl = renderDefaultControl((0,external_wp_element_namespaceObject.createElement)(ResponsiveBlockControlLabel, {
+    property: property,
+    viewport: defaultLabel
+  }), defaultLabel);

-/**
- * Internal dependencies
- */
+  const defaultResponsiveControls = () => {
+    return viewports.map(viewport => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, {
+      key: viewport.id
+    }, renderDefaultControl((0,external_wp_element_namespaceObject.createElement)(ResponsiveBlockControlLabel, {
+      property: property,
+      viewport: viewport
+    }), viewport)));
+  };

-function BlockAlignmentControl(props) {
-  return Object(external_wp_element_["createElement"])(ui, Object(esm_extends["a" /* default */])({}, props, {
-    isToolbar: false
-  }));
-}
-function BlockAlignmentToolbar(props) {
-  return Object(external_wp_element_["createElement"])(ui, Object(esm_extends["a" /* default */])({}, props, {
-    isToolbar: true
-  }));
+  return (0,external_wp_element_namespaceObject.createElement)("fieldset", {
+    className: "block-editor-responsive-block-control"
+  }, (0,external_wp_element_namespaceObject.createElement)("legend", {
+    className: "block-editor-responsive-block-control__title"
+  }, title), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-responsive-block-control__inner"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    className: "block-editor-responsive-block-control__toggle",
+    label: toggleControlLabel,
+    checked: !isResponsive,
+    onChange: onIsResponsiveChange,
+    help: toggleHelpText
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('block-editor-responsive-block-control__group', {
+      'is-responsive': isResponsive
+    })
+  }, !isResponsive && defaultControl, isResponsive && (renderResponsiveControls ? renderResponsiveControls(viewports) : defaultResponsiveControls()))));
 }

+/* harmony default export */ var responsive_block_control = (ResponsiveBlockControl);

-/***/ }),
-
-/***/ "w8sn":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return defaultLayout; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LayoutProvider; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return useLayout; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return LayoutStyle; });
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _layouts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("PPMp");
-
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/shortcut.js
 /**
  * WordPress dependencies
  */

-/**
- * Internal dependencies
- */
-
-
-const defaultLayout = {
-  type: 'default'
-};
-const Layout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createContext"])(defaultLayout);
-/**
- * Allows to define the layout.
- */

-const LayoutProvider = Layout.Provider;
 /**
- * React hook used to retrieve the layout config.
+ * Internal dependencies
  */

-function useLayout() {
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useContext"])(Layout);
-}
-function LayoutStyle(_ref) {
+
+function RichTextShortcut(_ref) {
   let {
-    layout = {},
-    ...props
+    character,
+    type,
+    onUse
   } = _ref;
-  const layoutType = Object(_layouts__WEBPACK_IMPORTED_MODULE_2__[/* getLayoutType */ "a"])(layout.type);
-
-  if (layoutType) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(layoutType.save, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-      layout: layout
-    }, props));
-  }
+  const keyboardShortcuts = (0,external_wp_element_namespaceObject.useContext)(keyboardShortcutContext);
+  const onUseRef = (0,external_wp_element_namespaceObject.useRef)();
+  onUseRef.current = onUse;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    function callback(event) {
+      if (external_wp_keycodes_namespaceObject.isKeyboardEvent[type](event, character)) {
+        onUseRef.current();
+        event.preventDefault();
+      }
+    }

+    keyboardShortcuts.current.add(callback);
+    return () => {
+      keyboardShortcuts.current.delete(callback);
+    };
+  }, [character, type]);
   return null;
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/toolbar-button.js

-/***/ }),
-
-/***/ "w95h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
  * WordPress dependencies
  */

-const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (close);

+function RichTextToolbarButton(_ref) {
+  let {
+    name,
+    shortcutType,
+    shortcutCharacter,
+    ...props
+  } = _ref;
+  let shortcut;
+  let fillName = 'RichText.ToolbarControls';

-/***/ }),
+  if (name) {
+    fillName += `.${name}`;
+  }

-/***/ "wC17":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (shortcutType && shortcutCharacter) {
+    shortcut = external_wp_keycodes_namespaceObject.displayShortcut[shortcutType](shortcutCharacter);
+  }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useBlockDisplayInformation; });
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("HSyU");
-/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("BhPs");
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, {
+    name: fillName
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, _extends({}, props, {
+    shortcut: shortcut
+  })));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/rich-text/input-event.js
 /**
  * WordPress dependencies
  */

-
 /**
  * Internal dependencies
  */


-/** @typedef {import('@wordpress/blocks').WPIcon} WPIcon */
-
-/**
- * Contains basic block's information for display reasons.
- *
- * @typedef {Object} WPBlockDisplayInformation
- *
- * @property {string} title       Human-readable block type label.
- * @property {WPIcon} icon        Block type icon.
- * @property {string} description A detailed block type description.
- */
-
-/**
- * Hook used to try to find a matching block variation and return
- * the appropriate information for display reasons. In order to
- * to try to find a match we need to things:
- * 1. Block's client id to extract it's current attributes.
- * 2. A block variation should have set `isActive` prop to a proper function.
- *
- * If for any reason a block variaton match cannot be found,
- * the returned information come from the Block Type.
- * If no blockType is found with the provided clientId, returns null.
- *
- * @param {string} clientId Block's client id.
- * @return {?WPBlockDisplayInformation} Block's display information, or `null` when the block or its type not found.
- */
+function __unstableRichTextInputEvent(_ref) {
+  let {
+    inputType,
+    onInput
+  } = _ref;
+  const callbacks = (0,external_wp_element_namespaceObject.useContext)(inputEventContext);
+  const onInputRef = (0,external_wp_element_namespaceObject.useRef)();
+  onInputRef.current = onInput;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    function callback(event) {
+      if (event.inputType === inputType) {
+        onInputRef.current();
+        event.preventDefault();
+      }
+    }

-function useBlockDisplayInformation(clientId) {
-  return Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_0__["useSelect"])(select => {
-    if (!clientId) return null;
-    const {
-      getBlockName,
-      getBlockAttributes
-    } = select(_store__WEBPACK_IMPORTED_MODULE_2__[/* store */ "a"]);
-    const {
-      getBlockType,
-      getActiveBlockVariation
-    } = select(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__["store"]);
-    const blockName = getBlockName(clientId);
-    const blockType = getBlockType(blockName);
-    if (!blockType) return null;
-    const attributes = getBlockAttributes(clientId);
-    const match = getActiveBlockVariation(blockName, attributes);
-    const blockTypeInfo = {
-      title: blockType.title,
-      icon: blockType.icon,
-      description: blockType.description,
-      anchor: attributes === null || attributes === void 0 ? void 0 : attributes.anchor
-    };
-    if (!match) return blockTypeInfo;
-    return {
-      title: match.title || blockType.title,
-      icon: match.icon || blockType.icon,
-      description: match.description || blockType.description
+    callbacks.current.add(callback);
+    return () => {
+      callbacks.current.delete(callback);
     };
-  }, [clientId]);
+  }, [inputType]);
+  return null;
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/tool-selector/index.js

-/***/ }),

-/***/ "wJiJ":
-/***/ (function(module, exports, __webpack_require__) {

-module.exports = __webpack_require__("1K8p");
+/**
+ * WordPress dependencies
+ */


-/***/ }),

-/***/ "weEX":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ LineHeightControl; });
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+const selectIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  width: "24",
+  height: "24",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.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"
+}));

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+function ToolSelector(props, ref) {
+  const isNavigationTool = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isNavigationMode(), []);
+  const {
+    setNavigationMode
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
+  const onSwitchMode = mode => {
+    setNavigationMode(mode === 'edit' ? false : true);
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/line-height-control/utils.js
-const BASE_DEFAULT_VALUE = 1.5;
-const STEP = 0.1;
-/**
- * There are varying value types within LineHeightControl:
- *
- * {undefined} Initial value. No changes from the user.
- * {string} Input value. Value consumed/outputted by the input. Empty would be ''.
- * {number} Block attribute type. Input value needs to be converted for attribute setting.
- *
- * Note: If the value is undefined, the input requires it to be an empty string ('')
- * in order to be considered "controlled" by props (rather than internal state).
- */
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    renderToggle: _ref => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({}, props, {
+        ref: ref,
+        icon: isNavigationTool ? selectIcon : library_edit,
+        "aria-expanded": isOpen,
+        "aria-haspopup": "true",
+        onClick: onToggle
+        /* translators: button label text should, if possible, be under 16 characters. */
+        ,
+        label: (0,external_wp_i18n_namespaceObject.__)('Tools')
+      }));
+    },
+    position: "bottom right",
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NavigableMenu, {
+      role: "menu",
+      "aria-label": (0,external_wp_i18n_namespaceObject.__)('Tools')
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItemsChoice, {
+      value: isNavigationTool ? 'select' : 'edit',
+      onSelect: onSwitchMode,
+      choices: [{
+        value: 'edit',
+        label: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+          icon: library_edit
+        }), (0,external_wp_i18n_namespaceObject.__)('Edit'))
+      }, {
+        value: 'select',
+        label: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, selectIcon, (0,external_wp_i18n_namespaceObject.__)('Select'))
+      }]
+    })), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-tool-selector__help"
+    }, (0,external_wp_i18n_namespaceObject.__)('Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.')))
+  });
+}

-const RESET_VALUE = '';
-/**
- * Determines if the lineHeight attribute has been properly defined.
- *
- * @param {any} lineHeight The value to check.
- *
- * @return {boolean} Whether the lineHeight attribute is valid.
- */
+/* harmony default export */ var tool_selector = ((0,external_wp_element_namespaceObject.forwardRef)(ToolSelector));

-function isLineHeightDefined(lineHeight) {
-  return lineHeight !== undefined && lineHeight !== RESET_VALUE;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/unit-control/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/line-height-control/index.js


 /**
  * WordPress dependencies
  */

-
-
 /**
  * Internal dependencies
  */


-function LineHeightControl(_ref) {
+function UnitControl(_ref) {
   let {
-    value: lineHeight,
-    onChange
+    units: unitsProp,
+    ...props
   } = _ref;
-  const isDefined = isLineHeightDefined(lineHeight);
-
-  const handleOnKeyDown = event => {
-    const {
-      keyCode
-    } = event;
-
-    if (keyCode === external_wp_keycodes_["ZERO"] && !isDefined) {
-      /**
-       * Prevents the onChange callback from firing, which prevents
-       * the logic from assuming the change was triggered from
-       * an input arrow CLICK.
-       */
-      event.preventDefault();
-      onChange('0');
-    }
-  };
-
-  const handleOnChange = nextValue => {
-    // Set the next value without modification if lineHeight has been defined
-    if (isDefined) {
-      onChange(nextValue);
-      return;
-    } // Otherwise...
-
-    /**
-     * The following logic handles the initial up/down arrow CLICK of the
-     * input element. This is so that the next values (from an undefined value state)
-     * are more better suited for line-height rendering.
-     */
-
-
-    let adjustedNextValue = nextValue;
-
-    switch (nextValue) {
-      case `${STEP}`:
-        // Increment by step value
-        adjustedNextValue = BASE_DEFAULT_VALUE + STEP;
-        break;
-
-      case '0':
-        // Decrement by step value
-        adjustedNextValue = BASE_DEFAULT_VALUE - STEP;
-        break;
-    }
-
-    onChange(adjustedNextValue);
-  };
-
-  const value = isDefined ? lineHeight : RESET_VALUE;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-line-height-control"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    autoComplete: "off",
-    onKeyDown: handleOnKeyDown,
-    onChange: handleOnChange,
-    label: Object(external_wp_i18n_["__"])('Line height'),
-    placeholder: BASE_DEFAULT_VALUE,
-    step: STEP,
-    type: "number",
-    value: value,
-    min: 0
-  }));
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: useSetting('spacing.units') || ['%', 'px', 'em', 'rem', 'vw'],
+    units: unitsProp
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, _extends({
+    units: units
+  }, props));
 }

-
-/***/ }),
-
-/***/ "wiT/":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("GOly");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-left.js


 /**
  * WordPress dependencies
  */

-/**
- * Internal dependencies
- */
+const arrowLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var arrow_left = (arrowLeft);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-input/button.js


+/**
+ * WordPress dependencies
+ */



-function InserterListbox(_ref) {
-  let {
-    children
-  } = _ref;
-  const compositeState = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["__unstableUseCompositeState"])({
-    shift: true,
-    wrap: 'horizontal'
-  });
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_context__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"].Provider, {
-    value: compositeState
-  }, children);
-}

-/* harmony default export */ __webpack_exports__["a"] = (InserterListbox);
+/**
+ * Internal dependencies
+ */


-/***/ }),

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+class URLInputButton extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.toggle = this.toggle.bind(this);
+    this.submitLink = this.submitLink.bind(this);
+    this.state = {
+      expanded: false
+    };
+  }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
+  toggle() {
+    this.setState({
+      expanded: !this.state.expanded
+    });
+  }

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
+  submitLink(event) {
+    event.preventDefault();
+    this.toggle();
+  }

-    return target;
-  };
+  render() {
+    const {
+      url,
+      onChange
+    } = this.props;
+    const {
+      expanded
+    } = this.state;
+    const buttonLabel = url ? (0,external_wp_i18n_namespaceObject.__)('Edit link') : (0,external_wp_i18n_namespaceObject.__)('Insert link');
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-url-input__button"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      icon: library_link,
+      label: buttonLabel,
+      onClick: this.toggle,
+      className: "components-toolbar__control",
+      isPressed: !!url
+    }), expanded && (0,external_wp_element_namespaceObject.createElement)("form", {
+      className: "block-editor-url-input__button-modal",
+      onSubmit: this.submitLink
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-url-input__button-modal-line"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      className: "block-editor-url-input__back",
+      icon: arrow_left,
+      label: (0,external_wp_i18n_namespaceObject.__)('Close'),
+      onClick: this.toggle
+    }), (0,external_wp_element_namespaceObject.createElement)(url_input, {
+      value: url || '',
+      onChange: onChange
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      icon: keyboard_return,
+      label: (0,external_wp_i18n_namespaceObject.__)('Submit'),
+      type: "submit"
+    }))));
+  }

-  return _extends.apply(this, arguments);
 }
+/**
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/url-input/README.md
+ */

-/***/ }),

-/***/ "wzfx":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var url_input_button = (URLInputButton);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js


 /**
  * WordPress dependencies
  */

-const stack = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (stack);
+/* harmony default export */ var library_close = (close_close);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/url-popover/image-url-input-ui.js

-/***/ }),
-
-/***/ "xBDm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LetterSpacingControl; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _components_use_setting__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("v5LD");

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */


+
+
+
 /**
  * Internal dependencies
  */


-/**
- * Control for letter-spacing.
- *
- * @param {Object}   props                      Component props.
- * @param {string}   props.value                Currently selected letter-spacing.
- * @param {Function} props.onChange             Handles change in letter-spacing selection.
- * @param {boolean}  props.__unstableInputWidth Input width to pass through to inner UnitControl.
- *
- * @return {WPElement}                          Letter-spacing control.
- */
+const LINK_DESTINATION_NONE = 'none';
+const LINK_DESTINATION_CUSTOM = 'custom';
+const LINK_DESTINATION_MEDIA = 'media';
+const LINK_DESTINATION_ATTACHMENT = 'attachment';
+const NEW_TAB_REL = ['noreferrer', 'noopener'];
+const icon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
+  d: "M0,0h24v24H0V0z",
+  fill: "none"
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.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"
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
+  d: "m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"
+}));

-function LetterSpacingControl(_ref) {
+const ImageURLInputUI = _ref => {
   let {
-    value,
-    onChange,
-    __unstableInputWidth = '60px'
+    linkDestination,
+    onChangeUrl,
+    url,
+    mediaType = 'image',
+    mediaUrl,
+    mediaLink,
+    linkTarget,
+    linkClass,
+    rel
   } = _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: {
-      px: '2',
-      em: '.2',
-      rem: '.2'
+  const [isOpen, setIsOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  const openLinkUI = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    setIsOpen(true);
+  });
+  const [isEditingLink, setIsEditingLink] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [urlInput, setUrlInput] = (0,external_wp_element_namespaceObject.useState)(null);
+  const autocompleteRef = (0,external_wp_element_namespaceObject.useRef)(null);
+  const startEditLink = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    if (linkDestination === LINK_DESTINATION_MEDIA || linkDestination === LINK_DESTINATION_ATTACHMENT) {
+      setUrlInput('');
     }
+
+    setIsEditingLink(true);
   });
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["__experimentalUnitControl"], {
-    label: Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Letter-spacing'),
-    value: value,
-    __unstableInputWidth: __unstableInputWidth,
-    units: units,
-    onChange: onChange
+  const stopEditLink = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    setIsEditingLink(false);
+  });
+  const closeLinkUI = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    setUrlInput(null);
+    stopEditLink();
+    setIsOpen(false);
   });
-}

+  const removeNewTabRel = currentRel => {
+    let newRel = currentRel;

-/***/ }),
+    if (currentRel !== undefined && !(0,external_lodash_namespaceObject.isEmpty)(newRel)) {
+      if (!(0,external_lodash_namespaceObject.isEmpty)(newRel)) {
+        (0,external_lodash_namespaceObject.each)(NEW_TAB_REL, relVal => {
+          const regExp = new RegExp('\\b' + relVal + '\\b', 'gi');
+          newRel = newRel.replace(regExp, '');
+        }); // Only trim if NEW_TAB_REL values was replaced.

-/***/ "xCFn":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+        if (newRel !== currentRel) {
+          newRel = newRel.trim();
+        }

-"use strict";
+        if ((0,external_lodash_namespaceObject.isEmpty)(newRel)) {
+          newRel = undefined;
+        }
+      }
+    }

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ WrappedBlockPopover; });
+    return newRel;
+  };

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+  const getUpdatedLinkTargetSettings = value => {
+    const newLinkTarget = value ? '_blank' : undefined;
+    let updatedRel;

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+    if (!newLinkTarget && !rel) {
+      updatedRel = undefined;
+    } else {
+      updatedRel = removeNewTabRel(rel);
+    }

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+    return {
+      linkTarget: newLinkTarget,
+      rel: updatedRel
+    };
+  };

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+  const onFocusOutside = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    return event => {
+      // The autocomplete suggestions list renders in a separate popover (in a portal),
+      // so onFocusOutside fails to detect that a click on a suggestion occurred in the
+      // LinkContainer. Detect clicks on autocomplete suggestions using a ref here, and
+      // return to avoid the popover being closed.
+      const autocompleteElement = autocompleteRef.current;

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+      if (autocompleteElement && autocompleteElement.contains(event.target)) {
+        return;
+      }

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+      setIsOpen(false);
+      setUrlInput(null);
+      stopEditLink();
+    };
+  });
+  const onSubmitLinkChange = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    return event => {
+      if (urlInput) {
+        var _getLinkDestinations$;

-// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
-var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");
+        // It is possible the entered URL actually matches a named link destination.
+        // This check will ensure our link destination is correct.
+        const selectedDestination = ((_getLinkDestinations$ = getLinkDestinations().find(destination => destination.url === urlInput)) === null || _getLinkDestinations$ === void 0 ? void 0 : _getLinkDestinations$.linkDestination) || LINK_DESTINATION_CUSTOM;
+        onChangeUrl({
+          href: urlInput,
+          linkDestination: selectedDestination
+        });
+      }

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+      stopEditLink();
+      setUrlInput(null);
+      event.preventDefault();
+    };
+  });
+  const onLinkRemove = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    onChangeUrl({
+      linkDestination: LINK_DESTINATION_NONE,
+      href: ''
+    });
+  });

-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
+  const getLinkDestinations = () => {
+    const linkDestinations = [{
+      linkDestination: LINK_DESTINATION_MEDIA,
+      title: (0,external_wp_i18n_namespaceObject.__)('Media File'),
+      url: mediaType === 'image' ? mediaUrl : undefined,
+      icon
+    }];

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+    if (mediaType === 'image' && mediaLink) {
+      linkDestinations.push({
+        linkDestination: LINK_DESTINATION_ATTACHMENT,
+        title: (0,external_wp_i18n_namespaceObject.__)('Attachment Page'),
+        url: mediaType === 'image' ? mediaLink : undefined,
+        icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
+          viewBox: "0 0 24 24",
+          xmlns: "http://www.w3.org/2000/svg"
+        }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
+          d: "M0 0h24v24H0V0z",
+          fill: "none"
+        }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.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"
+        }))
+      });
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/drag-handle.js
-var drag_handle = __webpack_require__("xN+R");
+    return linkDestinations;
+  };

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
+  const onSetHref = value => {
+    const linkDestinations = getLinkDestinations();
+    let linkDestinationInput;

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+    if (!value) {
+      linkDestinationInput = LINK_DESTINATION_NONE;
+    } else {
+      linkDestinationInput = ((0,external_lodash_namespaceObject.find)(linkDestinations, destination => {
+        return destination.url === value;
+      }) || {
+        linkDestination: LINK_DESTINATION_CUSTOM
+      }).linkDestination;
+    }

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+    onChangeUrl({
+      linkDestination: linkDestinationInput,
+      href: value
+    });
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-title/index.js
-var block_title = __webpack_require__("f8JO");
+  const onSetNewTab = value => {
+    const updatedLinkTarget = getUpdatedLinkTargetSettings(value);
+    onChangeUrl(updatedLinkTarget);
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-icon/index.js
-var block_icon = __webpack_require__("7SSY");
+  const onSetLinkRel = value => {
+    onChangeUrl({
+      rel: value
+    });
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");
+  const onSetLinkClass = value => {
+    onChangeUrl({
+      linkClass: value
+    });
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-draggable/index.js + 1 modules
-var block_draggable = __webpack_require__("ZAjO");
+  const advancedOptions = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Open in new tab'),
+    onChange: onSetNewTab,
+    checked: linkTarget === '_blank'
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Link Rel'),
+    value: removeNewTabRel(rel) || '',
+    onChange: onSetLinkRel
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Link CSS Class'),
+    value: linkClass || '',
+    onChange: onSetLinkClass
+  }));
+  const linkEditorValue = urlInput !== null ? urlInput : url;
+  const urlLabel = ((0,external_lodash_namespaceObject.find)(getLinkDestinations(), ['linkDestination', linkDestination]) || {}).title;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    icon: library_link,
+    className: "components-toolbar__control",
+    label: url ? (0,external_wp_i18n_namespaceObject.__)('Edit link') : (0,external_wp_i18n_namespaceObject.__)('Insert link'),
+    "aria-expanded": isOpen,
+    onClick: openLinkUI
+  }), isOpen && (0,external_wp_element_namespaceObject.createElement)(url_popover, {
+    onFocusOutside: onFocusOutside(),
+    onClose: closeLinkUI,
+    renderSettings: () => advancedOptions,
+    additionalControls: !linkEditorValue && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NavigableMenu, null, (0,external_lodash_namespaceObject.map)(getLinkDestinations(), link => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      key: link.linkDestination,
+      icon: link.icon,
+      onClick: () => {
+        setUrlInput(null);
+        onSetHref(link.url);
+        stopEditLink();
+      }
+    }, link.title)))
+  }, (!url || isEditingLink) && (0,external_wp_element_namespaceObject.createElement)(url_popover.LinkEditor, {
+    className: "block-editor-format-toolbar__link-container-content",
+    value: linkEditorValue,
+    onChangeInputValue: setUrlInput,
+    onSubmit: onSubmitLinkChange(),
+    autocompleteRef: autocompleteRef
+  }), url && !isEditingLink && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(url_popover.LinkViewer, {
+    className: "block-editor-format-toolbar__link-container-content",
+    url: url,
+    onEditLinkClick: startEditLink,
+    urlLabel: urlLabel
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: library_close,
+    label: (0,external_wp_i18n_namespaceObject.__)('Remove link'),
+    onClick: onLinkRemove
+  }))));
+};

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-block-display-information/index.js
-var use_block_display_information = __webpack_require__("wC17");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/block-selection-button.js

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/preview-options/index.js


 /**
@@ -48320,253 +44546,162 @@ var use_block_display_information = __webpack_require__("wC17");



+function PreviewOptions(_ref) {
+  let {
+    children,
+    className,
+    isEnabled = true,
+    deviceType,
+    setDeviceType
+  } = _ref;
+  const isMobile = (0,external_wp_compose_namespaceObject.useViewportMatch)('small', '<');
+  if (isMobile) return null;
+  const popoverProps = {
+    className: classnames_default()(className, 'block-editor-post-preview__dropdown-content'),
+    position: 'bottom left'
+  };
+  const toggleProps = {
+    variant: 'tertiary',
+    className: 'block-editor-post-preview__button-toggle',
+    disabled: !isEnabled,

+    /* translators: button label text should, if possible, be under 16 characters. */
+    children: (0,external_wp_i18n_namespaceObject.__)('Preview')
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    className: "block-editor-post-preview__dropdown",
+    popoverProps: popoverProps,
+    toggleProps: toggleProps,
+    icon: null
+  }, () => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    className: "block-editor-post-preview__button-resize",
+    onClick: () => setDeviceType('Desktop'),
+    icon: deviceType === 'Desktop' && library_check
+  }, (0,external_wp_i18n_namespaceObject.__)('Desktop')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    className: "block-editor-post-preview__button-resize",
+    onClick: () => setDeviceType('Tablet'),
+    icon: deviceType === 'Tablet' && library_check
+  }, (0,external_wp_i18n_namespaceObject.__)('Tablet')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    className: "block-editor-post-preview__button-resize",
+    onClick: () => setDeviceType('Mobile'),
+    icon: deviceType === 'Mobile' && library_check
+  }, (0,external_wp_i18n_namespaceObject.__)('Mobile'))), children));
+}

-
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-resize-canvas/index.js
 /**
- * Internal dependencies
+ * WordPress dependencies
  */

-
-
-
-
-
 /**
- * Block selection button component, displaying the label of the block. If the block
- * descends from a root block, a button is displayed enabling the user to select
- * the root block.
+ * Function to resize the editor window.
  *
- * @param {string} props          Component props.
- * @param {string} props.clientId Client ID of block.
+ * @param {string} deviceType Used for determining the size of the container (e.g. Desktop, Tablet, Mobile)
  *
- * @return {WPComponent} The component to be rendered.
+ * @return {Object} Inline styles to be added to resizable container.
  */

-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;
-
-    const {
-      getBlock,
-      getBlockIndex,
-      hasBlockMovingClientId,
-      getBlockListSettings
-    } = select(store["a" /* store */]);
-    const index = getBlockIndex(clientId);
-    const {
-      name,
-      attributes
-    } = getBlock(clientId);
-    const blockMovingMode = hasBlockMovingClientId();
-    return {
-      index,
-      name,
-      attributes,
-      blockMovingMode,
-      orientation: (_getBlockListSettings = getBlockListSettings(rootClientId)) === null || _getBlockListSettings === void 0 ? void 0 : _getBlockListSettings.orientation
-    };
-  }, [clientId, rootClientId]);
-  const {
-    index,
-    name,
-    attributes,
-    blockMovingMode,
-    orientation
-  } = selected;
-  const {
-    setNavigationMode,
-    removeBlock
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const ref = Object(external_wp_element_["useRef"])();
-  const blockType = Object(external_wp_blocks_["getBlockType"])(name);
-  const label = Object(external_wp_blocks_["__experimentalGetAccessibleBlockLabel"])(blockType, attributes, index + 1, orientation); // Focus the breadcrumb in navigation mode.
-
-  Object(external_wp_element_["useEffect"])(() => {
-    ref.current.focus();
-    Object(external_wp_a11y_["speak"])(label);
-  }, [label]);
-  const {
-    hasBlockMovingClientId,
-    getBlockIndex,
-    getBlockRootClientId,
-    getClientIdsOfDescendants,
-    getSelectedBlockClientId,
-    getMultiSelectedBlocksEndClientId,
-    getPreviousBlockClientId,
-    getNextBlockClientId,
-    isNavigationMode
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const {
-    selectBlock,
-    clearSelectedBlock,
-    setBlockMovingClientId,
-    moveBlockToPosition
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-
-  function onKeyDown(event) {
-    const {
-      keyCode
-    } = event;
-    const isUp = keyCode === external_wp_keycodes_["UP"];
-    const isDown = keyCode === external_wp_keycodes_["DOWN"];
-    const isLeft = keyCode === external_wp_keycodes_["LEFT"];
-    const isRight = keyCode === external_wp_keycodes_["RIGHT"];
-    const isTab = keyCode === external_wp_keycodes_["TAB"];
-    const isEscape = keyCode === external_wp_keycodes_["ESCAPE"];
-    const isEnter = keyCode === external_wp_keycodes_["ENTER"];
-    const isSpace = keyCode === external_wp_keycodes_["SPACE"];
-    const isShift = event.shiftKey;
-
-    if (keyCode === external_wp_keycodes_["BACKSPACE"] || keyCode === external_wp_keycodes_["DELETE"]) {
-      removeBlock(clientId);
-      event.preventDefault();
+function useResizeCanvas(deviceType) {
+  const [actualWidth, updateActualWidth] = (0,external_wp_element_namespaceObject.useState)(window.innerWidth);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (deviceType === 'Desktop') {
       return;
     }

-    const selectedBlockClientId = getSelectedBlockClientId();
-    const selectionEndClientId = getMultiSelectedBlocksEndClientId();
-    const selectionBeforeEndClientId = getPreviousBlockClientId(selectionEndClientId || selectedBlockClientId);
-    const selectionAfterEndClientId = getNextBlockClientId(selectionEndClientId || selectedBlockClientId);
-    const navigateUp = isTab && isShift || isUp;
-    const navigateDown = isTab && !isShift || isDown; // Move out of current nesting level (no effect if at root level).
+    const resizeListener = () => updateActualWidth(window.innerWidth);

-    const navigateOut = isLeft; // Move into next nesting level (no effect if the current block has no innerBlocks).
+    window.addEventListener('resize', resizeListener);
+    return () => {
+      window.removeEventListener('resize', resizeListener);
+    };
+  }, [deviceType]);

-    const navigateIn = isRight;
-    let focusedBlockUid;
+  const getCanvasWidth = device => {
+    let deviceWidth;

-    if (navigateUp) {
-      focusedBlockUid = selectionBeforeEndClientId;
-    } else if (navigateDown) {
-      focusedBlockUid = selectionAfterEndClientId;
-    } else if (navigateOut) {
-      var _getBlockRootClientId;
+    switch (device) {
+      case 'Tablet':
+        deviceWidth = 780;
+        break;

-      focusedBlockUid = (_getBlockRootClientId = getBlockRootClientId(selectedBlockClientId)) !== null && _getBlockRootClientId !== void 0 ? _getBlockRootClientId : selectedBlockClientId;
-    } else if (navigateIn) {
-      var _getClientIdsOfDescen;
+      case 'Mobile':
+        deviceWidth = 360;
+        break;

-      focusedBlockUid = (_getClientIdsOfDescen = getClientIdsOfDescendants([selectedBlockClientId])[0]) !== null && _getClientIdsOfDescen !== void 0 ? _getClientIdsOfDescen : selectedBlockClientId;
+      default:
+        return null;
     }

-    const startingBlockClientId = hasBlockMovingClientId();
-
-    if (isEscape && isNavigationMode()) {
-      clearSelectedBlock();
-      event.preventDefault();
-    }
+    return deviceWidth < actualWidth ? deviceWidth : actualWidth;
+  };

-    if (isEscape && startingBlockClientId && !event.defaultPrevented) {
-      setBlockMovingClientId(null);
-      event.preventDefault();
-    }
+  const marginValue = () => window.innerHeight < 800 ? 36 : 72;

-    if ((isEnter || isSpace) && startingBlockClientId) {
-      const sourceRoot = getBlockRootClientId(startingBlockClientId);
-      const destRoot = getBlockRootClientId(selectedBlockClientId);
-      const sourceBlockIndex = getBlockIndex(startingBlockClientId);
-      let destinationBlockIndex = getBlockIndex(selectedBlockClientId);
+  const contentInlineStyles = device => {
+    const height = device === 'Mobile' ? '768px' : '1024px';

-      if (sourceBlockIndex < destinationBlockIndex && sourceRoot === destRoot) {
-        destinationBlockIndex -= 1;
-      }
+    switch (device) {
+      case 'Tablet':
+      case 'Mobile':
+        return {
+          width: getCanvasWidth(device),
+          margin: marginValue() + 'px auto',
+          height,
+          borderRadius: '2px 2px 2px 2px',
+          border: '1px solid #ddd',
+          overflowY: 'auto'
+        };

-      moveBlockToPosition(startingBlockClientId, sourceRoot, destRoot, destinationBlockIndex);
-      selectBlock(startingBlockClientId);
-      setBlockMovingClientId(null);
+      default:
+        return null;
     }
+  };

-    if (navigateDown || navigateUp || navigateOut || navigateIn) {
-      if (focusedBlockUid) {
-        event.preventDefault();
-        selectBlock(focusedBlockUid);
-      } else if (isTab && selectedBlockClientId) {
-        let nextTabbable;
+  return contentInlineStyles(deviceType);
+}

-        if (navigateDown) {
-          nextTabbable = external_wp_dom_["focus"].tabbable.findNext(blockElement);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/skip-to-selected-block/index.js

-          if (!nextTabbable) {
-            nextTabbable = blockElement.ownerDocument.defaultView.frameElement;
-            nextTabbable = external_wp_dom_["focus"].tabbable.findNext(nextTabbable);
-          }
-        } else {
-          nextTabbable = external_wp_dom_["focus"].tabbable.findPrevious(blockElement);
-        }

-        if (nextTabbable) {
-          event.preventDefault();
-          nextTabbable.focus();
-          clearSelectedBlock();
-        }
-      }
-    }
-  }
+/**
+ * WordPress dependencies
+ */

-  const classNames = classnames_default()('block-editor-block-list__block-selection-button', {
-    'is-block-moving-mode': !!blockMovingMode
-  });

-  const dragHandleLabel = Object(external_wp_i18n_["__"])('Drag');

-  return Object(external_wp_element_["createElement"])("div", {
-    className: classNames
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
-    justify: "center",
-    className: "block-editor-block-list__block-selection-button__content"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(block_icon["a" /* default */], {
-    icon: blockInformation === null || blockInformation === void 0 ? void 0 : blockInformation.icon,
-    showColors: true
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(block_draggable["a" /* default */], {
-    clientIds: [clientId]
-  }, draggableProps => Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({
-    icon: drag_handle["a" /* default */],
-    className: "block-selection-button_drag-handle",
-    "aria-hidden": "true",
-    label: dragHandleLabel // Should not be able to tab to drag handle as this
-    // button can only be used with a pointer device.
-    ,
-    tabIndex: "-1"
-  }, draggableProps)))), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    ref: ref,
-    onClick: () => setNavigationMode(false),
-    onKeyDown: onKeyDown,
-    label: label,
-    className: "block-selection-button_select-button"
-  }, Object(external_wp_element_["createElement"])(block_title["a" /* default */], {
-    clientId: clientId
-  })))));
-}
+/**
+ * Internal dependencies
+ */

-/* harmony default export */ var block_selection_button = (BlockSelectionButton);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/block-contextual-toolbar.js
-var block_contextual_toolbar = __webpack_require__("JUfZ");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/index.js + 1 modules
-var inserter = __webpack_require__("qrxh");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-refs.js
-var use_block_refs = __webpack_require__("PKbb");
+const SkipToSelectedBlock = _ref => {
+  let {
+    selectedBlockClientId
+  } = _ref;
+  const ref = useBlockRef(selectedBlockClientId);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/use-popover-scroll.js
-var use_popover_scroll = __webpack_require__("2z9l");
+  const onClick = () => {
+    ref.current.focus();
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/block-popover.js
+  return selectedBlockClientId ? (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    className: "block-editor-skip-to-selected-block",
+    onClick: onClick
+  }, (0,external_wp_i18n_namespaceObject.__)('Skip to the selected block')) : null;
+};

+/* harmony default export */ var skip_to_selected_block = ((0,external_wp_data_namespaceObject.withSelect)(select => {
+  return {
+    selectedBlockClientId: select(store).getBlockSelectionStart()
+  };
+})(SkipToSelectedBlock));

-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: external ["wp","wordcount"]
+var external_wp_wordcount_namespaceObject = window["wp"]["wordcount"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/multi-selection-inspector/index.js


 /**
@@ -48577,9 +44712,6 @@ var use_popover_scroll = __webpack_require__("2z9l");



-
-
-
 /**
  * Internal dependencies
  */
@@ -48587,378 +44719,414 @@ var use_popover_scroll = __webpack_require__("2z9l");



-
-
-
-
-function selector(select) {
-  const {
-    isNavigationMode,
-    isMultiSelecting,
-    hasMultiSelection,
-    isTyping,
-    isCaretWithinFormattedText,
-    getSettings,
-    getLastMultiSelectedBlockClientId
-  } = select(store["a" /* store */]);
-  return {
-    isNavigationMode: isNavigationMode(),
-    isMultiSelecting: isMultiSelecting(),
-    isTyping: isTyping(),
-    isCaretWithinFormattedText: isCaretWithinFormattedText(),
-    hasMultiSelection: hasMultiSelection(),
-    hasFixedToolbar: getSettings().hasFixedToolbar,
-    lastClientId: getLastMultiSelectedBlockClientId()
-  };
-}
-
-function BlockPopover(_ref) {
+function MultiSelectionInspector(_ref) {
   let {
-    clientId,
-    rootClientId,
-    isValid,
-    isEmptyDefaultBlock,
-    capturingClientId,
-    __unstablePopoverSlot,
-    __unstableContentRef
+    blocks
   } = _ref;
-  const {
-    isNavigationMode,
-    isMultiSelecting,
-    isTyping,
-    isCaretWithinFormattedText,
-    hasMultiSelection,
-    hasFixedToolbar,
-    lastClientId
-  } = Object(external_wp_data_["useSelect"])(selector, []);
-  const isInsertionPointVisible = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      isBlockInsertionPointVisible,
-      getBlockInsertionPoint,
-      getBlockOrder
-    } = select(store["a" /* store */]);
-
-    if (!isBlockInsertionPointVisible()) {
-      return false;
-    }
+  const words = (0,external_wp_wordcount_namespaceObject.count)((0,external_wp_blocks_namespaceObject.serialize)(blocks), 'words');
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-multi-selection-inspector__card"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_icon, {
+    icon: library_stack,
+    showColors: true
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-multi-selection-inspector__card-content"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-multi-selection-inspector__card-title"
+  }, (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %d: number of blocks */
+  (0,external_wp_i18n_namespaceObject._n)('%d block', '%d blocks', blocks.length), blocks.length)), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-multi-selection-inspector__card-description"
+  }, (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %d: number of words */
+  (0,external_wp_i18n_namespaceObject._n)('%d word', '%d words', words), words))));
+}

-    const insertionPoint = getBlockInsertionPoint();
-    const order = getBlockOrder(insertionPoint.rootClientId);
-    return order[insertionPoint.index] === clientId;
-  }, [clientId]);
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
-  const [isToolbarForced, setIsToolbarForced] = Object(external_wp_element_["useState"])(false);
-  const [isInserterShown, setIsInserterShown] = Object(external_wp_element_["useState"])(false);
+/* harmony default export */ var multi_selection_inspector = ((0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
-    stopTyping
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]); // Controls when the side inserter on empty lines should
-  // be shown, including writing and selection modes.
-
-  const showEmptyBlockSideInserter = !isTyping && !isNavigationMode && isEmptyDefaultBlock && isValid;
-  const shouldShowBreadcrumb = isNavigationMode;
-  const shouldShowContextualToolbar = !isNavigationMode && !hasFixedToolbar && isLargeViewport && !showEmptyBlockSideInserter && !isMultiSelecting && (!isTyping || isCaretWithinFormattedText);
-  const canFocusHiddenToolbar = !isNavigationMode && !shouldShowContextualToolbar && !hasFixedToolbar && !isEmptyDefaultBlock;
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/block-editor/focus-toolbar', () => {
-    setIsToolbarForced(true);
-    stopTyping(true);
-  }, {
-    isDisabled: !canFocusHiddenToolbar
-  });
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!shouldShowContextualToolbar) {
-      setIsToolbarForced(false);
-    }
-  }, [shouldShowContextualToolbar]); // Stores the active toolbar item index so the block toolbar can return focus
-  // to it when re-mounting.
-
-  const initialToolbarItemIndexRef = Object(external_wp_element_["useRef"])();
-  const selectedElement = Object(use_block_refs["a" /* __unstableUseBlockElement */])(clientId);
-  const lastSelectedElement = Object(use_block_refs["a" /* __unstableUseBlockElement */])(lastClientId);
-  const capturingElement = Object(use_block_refs["a" /* __unstableUseBlockElement */])(capturingClientId);
-  const popoverScrollRef = Object(use_popover_scroll["a" /* usePopoverScroll */])(__unstableContentRef);
-
-  if (!shouldShowBreadcrumb && !shouldShowContextualToolbar && !isToolbarForced && !showEmptyBlockSideInserter) {
-    return null;
-  }
-
-  let node = selectedElement;
-
-  if (!node) {
-    return null;
-  }
-
-  if (capturingClientId) {
-    node = capturingElement;
-  }
-
-  let anchorRef = node;
-
-  if (hasMultiSelection) {
-    // Wait to render the popover until the bottom reference is available
-    // as well.
-    if (!lastSelectedElement) {
-      return null;
-    }
-
-    anchorRef = {
-      top: node,
-      bottom: lastSelectedElement
-    };
-  }
+    getMultiSelectedBlocks
+  } = select(store);
+  return {
+    blocks: getMultiSelectedBlocks()
+  };
+})(MultiSelectionInspector));

-  function onFocus() {
-    setIsInserterShown(true);
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/default-style-picker/index.js

-  function onBlur() {
-    setIsInserterShown(false);
-  } // Position above the anchor, pop out towards the right, and position in the
-  // left corner. For the side inserter, pop out towards the left, and
-  // position in the right corner.
-  // To do: refactor `Popover` to make this prop clearer.

+/**
+ * WordPress dependencies
+ */

-  const popoverPosition = showEmptyBlockSideInserter ? 'top left right' : 'top right left';
-  const {
-    ownerDocument
-  } = node;
-  const stickyBoundaryElement = showEmptyBlockSideInserter ? undefined : // The sticky boundary element should be the boundary at which the
-  // the block toolbar becomes sticky when the block scolls out of view.
-  // In case of an iframe, this should be the iframe boundary, otherwise
-  // the scroll container.
-  ownerDocument.defaultView.frameElement || Object(external_wp_dom_["getScrollContainer"])(node) || ownerDocument.body;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
-    ref: popoverScrollRef,
-    noArrow: true,
-    animate: false,
-    position: popoverPosition,
-    focusOnMount: false,
-    anchorRef: anchorRef,
-    className: classnames_default()('block-editor-block-list__block-popover', {
-      'is-insertion-point-visible': isInsertionPointVisible
-    }),
-    __unstableStickyBoundaryElement: stickyBoundaryElement // Render in the old slot if needed for backward compatibility,
-    // otherwise render in place (not in the the default popover slot).
-    ,
-    __unstableSlotName: __unstablePopoverSlot || null,
-    __unstableBoundaryParent: true // Observe movement for block animations (especially horizontal).
-    ,
-    __unstableObserveElement: node,
-    shouldAnchorIncludePadding: true // Used to safeguard sticky position behavior against cases where it would permanently
-    // obscure specific sections of a block.
-    ,
-    __unstableEditorCanvasWrapper: __unstableContentRef === null || __unstableContentRef === void 0 ? void 0 : __unstableContentRef.current
-  }, (shouldShowContextualToolbar || isToolbarForced) && Object(external_wp_element_["createElement"])("div", {
-    onFocus: onFocus,
-    onBlur: onBlur // While ideally it would be enough to capture the
-    // bubbling focus event from the Inserter, due to the
-    // characteristics of click focusing of `button`s in
-    // Firefox and Safari, it is not reliable.
-    //
-    // See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
-    ,
-    tabIndex: -1,
-    className: classnames_default()('block-editor-block-list__block-popover-inserter', {
-      'is-visible': isInserterShown
-    })
-  }, Object(external_wp_element_["createElement"])(inserter["a" /* default */], {
-    clientId: clientId,
-    rootClientId: rootClientId,
-    __experimentalIsQuick: true
-  })), (shouldShowContextualToolbar || isToolbarForced) && Object(external_wp_element_["createElement"])(block_contextual_toolbar["a" /* default */] // If the toolbar is being shown because of being forced
-  // it should focus the toolbar right after the mount.
-  , {
-    focusOnMount: isToolbarForced,
-    __experimentalInitialIndex: initialToolbarItemIndexRef.current,
-    __experimentalOnIndexChange: index => {
-      initialToolbarItemIndexRef.current = index;
-    } // Resets the index whenever the active block changes so
-    // this is not persisted. See https://github.com/WordPress/gutenberg/pull/25760#issuecomment-717906169
-    ,
-    key: clientId
-  }), shouldShowBreadcrumb && Object(external_wp_element_["createElement"])(block_selection_button, {
-    clientId: clientId,
-    rootClientId: rootClientId,
-    blockElement: node
-  }), showEmptyBlockSideInserter && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-list__empty-block-inserter"
-  }, Object(external_wp_element_["createElement"])(inserter["a" /* default */], {
-    position: "bottom right",
-    rootClientId: rootClientId,
-    clientId: clientId,
-    __experimentalIsQuick: true
-  })));
-}

-function wrapperSelector(select) {
-  const {
-    getSelectedBlockClientId,
-    getFirstMultiSelectedBlockClientId,
-    getBlockRootClientId,
-    getBlock,
-    getBlockParents,
-    __experimentalGetBlockListSettingsForBlocks
-  } = select(store["a" /* store */]);
-  const clientId = getSelectedBlockClientId() || getFirstMultiSelectedBlockClientId();

-  if (!clientId) {
-    return;
-  }

-  const {
-    name,
-    attributes = {},
-    isValid
-  } = getBlock(clientId) || {};
-  const blockParentsClientIds = getBlockParents(clientId); // Get Block List Settings for all ancestors of the current Block clientId

-  const parentBlockListSettings = __experimentalGetBlockListSettingsForBlocks(blockParentsClientIds); // Get the clientId of the topmost parent with the capture toolbars setting.
+/**
+ * Internal dependencies
+ */


-  const capturingClientId = Object(external_lodash_["find"])(blockParentsClientIds, parentClientId => {
-    var _parentBlockListSetti;
+function DefaultStylePicker(_ref) {
+  let {
+    blockName
+  } = _ref;
+  const {
+    preferredStyle,
+    onUpdatePreferredStyleVariations,
+    styles
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _preferredStyleVariat, _preferredStyleVariat2;

-    return (_parentBlockListSetti = parentBlockListSettings[parentClientId]) === null || _parentBlockListSetti === void 0 ? void 0 : _parentBlockListSetti.__experimentalCaptureToolbars;
+    const settings = select(store).getSettings();
+    const preferredStyleVariations = settings.__experimentalPreferredStyleVariations;
+    return {
+      preferredStyle: preferredStyleVariations === null || preferredStyleVariations === void 0 ? void 0 : (_preferredStyleVariat = preferredStyleVariations.value) === null || _preferredStyleVariat === void 0 ? void 0 : _preferredStyleVariat[blockName],
+      onUpdatePreferredStyleVariations: (_preferredStyleVariat2 = preferredStyleVariations === null || preferredStyleVariations === void 0 ? void 0 : preferredStyleVariations.onChange) !== null && _preferredStyleVariat2 !== void 0 ? _preferredStyleVariat2 : null,
+      styles: select(external_wp_blocks_namespaceObject.store).getBlockStyles(blockName)
+    };
+  }, [blockName]);
+  const selectOptions = (0,external_wp_element_namespaceObject.useMemo)(() => [{
+    label: (0,external_wp_i18n_namespaceObject.__)('Not set'),
+    value: ''
+  }, ...styles.map(_ref2 => {
+    let {
+      label,
+      name
+    } = _ref2;
+    return {
+      label,
+      value: name
+    };
+  })], [styles]);
+  const selectOnChange = (0,external_wp_element_namespaceObject.useCallback)(blockStyle => {
+    onUpdatePreferredStyleVariations(blockName, blockStyle);
+  }, [blockName, onUpdatePreferredStyleVariations]);
+  return onUpdatePreferredStyleVariations && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    options: selectOptions,
+    value: preferredStyle || '',
+    label: (0,external_wp_i18n_namespaceObject.__)('Default Style'),
+    onChange: selectOnChange
   });
-  return {
-    clientId,
-    rootClientId: getBlockRootClientId(clientId),
-    name,
-    isValid,
-    isEmptyDefaultBlock: name && Object(external_wp_blocks_["isUnmodifiedDefaultBlock"])({
-      name,
-      attributes
-    }),
-    capturingClientId
-  };
 }

-function WrappedBlockPopover(_ref2) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-inspector/index.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+
+
+
+
+
+
+const BlockInspector = _ref => {
   let {
-    __unstablePopoverSlot,
-    __unstableContentRef
-  } = _ref2;
-  const selected = Object(external_wp_data_["useSelect"])(wrapperSelector, []);
+    showNoBlockSelectedMessage = true,
+    bubblesVirtually = true
+  } = _ref;
+  const {
+    count,
+    hasBlockStyles,
+    selectedBlockName,
+    selectedBlockClientId,
+    blockType
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSelectedBlockClientId,
+      getSelectedBlockCount,
+      getBlockName
+    } = select(store);
+    const {
+      getBlockStyles
+    } = select(external_wp_blocks_namespaceObject.store);
+
+    const _selectedBlockClientId = getSelectedBlockClientId();
+
+    const _selectedBlockName = _selectedBlockClientId && getBlockName(_selectedBlockClientId);
+
+    const _blockType = _selectedBlockName && (0,external_wp_blocks_namespaceObject.getBlockType)(_selectedBlockName);
+
+    const blockStyles = _selectedBlockName && getBlockStyles(_selectedBlockName);
+
+    return {
+      count: getSelectedBlockCount(),
+      selectedBlockClientId: _selectedBlockClientId,
+      selectedBlockName: _selectedBlockName,
+      blockType: _blockType,
+      hasBlockStyles: blockStyles && blockStyles.length > 0
+    };
+  }, []);
+
+  if (count > 1) {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "block-editor-block-inspector"
+    }, (0,external_wp_element_namespaceObject.createElement)(multi_selection_inspector, null), (0,external_wp_element_namespaceObject.createElement)(inspector_controls.Slot, null), (0,external_wp_element_namespaceObject.createElement)(inspector_controls.Slot, {
+      __experimentalGroup: "typography",
+      label: (0,external_wp_i18n_namespaceObject.__)('Typography')
+    }), (0,external_wp_element_namespaceObject.createElement)(inspector_controls.Slot, {
+      __experimentalGroup: "dimensions",
+      label: (0,external_wp_i18n_namespaceObject.__)('Dimensions')
+    }), (0,external_wp_element_namespaceObject.createElement)(inspector_controls.Slot, {
+      __experimentalGroup: "border",
+      label: (0,external_wp_i18n_namespaceObject.__)('Border')
+    }));
+  }
+
+  const isSelectedBlockUnregistered = selectedBlockName === (0,external_wp_blocks_namespaceObject.getUnregisteredTypeHandlerName)();
+  /*
+   * If the selected block is of an unregistered type, avoid showing it as an actual selection
+   * because we want the user to focus on the unregistered block warning, not block settings.
+   */
+
+  if (!blockType || !selectedBlockClientId || isSelectedBlockUnregistered) {
+    if (showNoBlockSelectedMessage) {
+      return (0,external_wp_element_namespaceObject.createElement)("span", {
+        className: "block-editor-block-inspector__no-blocks"
+      }, (0,external_wp_i18n_namespaceObject.__)('No block selected.'));
+    }

-  if (!selected) {
     return null;
   }

-  const {
+  return (0,external_wp_element_namespaceObject.createElement)(BlockInspectorSingleBlock, {
+    clientId: selectedBlockClientId,
+    blockName: blockType.name,
+    hasBlockStyles: hasBlockStyles,
+    bubblesVirtually: bubblesVirtually
+  });
+};
+
+const BlockInspectorSingleBlock = _ref2 => {
+  let {
     clientId,
-    rootClientId,
-    name,
-    isValid,
-    isEmptyDefaultBlock,
-    capturingClientId
-  } = selected;
+    blockName,
+    hasBlockStyles,
+    bubblesVirtually
+  } = _ref2;
+  const blockInformation = useBlockDisplayInformation(clientId);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "block-editor-block-inspector"
+  }, (0,external_wp_element_namespaceObject.createElement)(block_card, blockInformation), (0,external_wp_element_namespaceObject.createElement)(block_variation_transforms, {
+    blockClientId: clientId
+  }), hasBlockStyles && (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Styles')
+  }, (0,external_wp_element_namespaceObject.createElement)(block_styles, {
+    clientId: clientId
+  }), (0,external_wp_blocks_namespaceObject.hasBlockSupport)(blockName, 'defaultStylePicker', true) && (0,external_wp_element_namespaceObject.createElement)(DefaultStylePicker, {
+    blockName: blockName
+  }))), (0,external_wp_element_namespaceObject.createElement)(inspector_controls.Slot, {
+    bubblesVirtually: bubblesVirtually
+  }), (0,external_wp_element_namespaceObject.createElement)(inspector_controls.Slot, {
+    __experimentalGroup: "typography",
+    bubblesVirtually: bubblesVirtually,
+    label: (0,external_wp_i18n_namespaceObject.__)('Typography')
+  }), (0,external_wp_element_namespaceObject.createElement)(inspector_controls.Slot, {
+    __experimentalGroup: "dimensions",
+    bubblesVirtually: bubblesVirtually,
+    label: (0,external_wp_i18n_namespaceObject.__)('Dimensions')
+  }), (0,external_wp_element_namespaceObject.createElement)(inspector_controls.Slot, {
+    __experimentalGroup: "border",
+    label: (0,external_wp_i18n_namespaceObject.__)('Border')
+  }), (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)(AdvancedControls, {
+    bubblesVirtually: bubblesVirtually
+  })), (0,external_wp_element_namespaceObject.createElement)(skip_to_selected_block, {
+    key: "back"
+  }));
+};

-  if (!name) {
+const AdvancedControls = _ref3 => {
+  let {
+    bubblesVirtually
+  } = _ref3;
+  const slot = (0,external_wp_components_namespaceObject.__experimentalUseSlot)(InspectorAdvancedControls.slotName);
+  const hasFills = Boolean(slot.fills && slot.fills.length);
+
+  if (!hasFills) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(BlockPopover, {
-    clientId: clientId,
-    rootClientId: rootClientId,
-    isValid: isValid,
-    isEmptyDefaultBlock: isEmptyDefaultBlock,
-    capturingClientId: capturingClientId,
-    __unstablePopoverSlot: __unstablePopoverSlot,
-    __unstableContentRef: __unstableContentRef
-  });
-}
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    className: "block-editor-block-inspector__advanced",
+    title: (0,external_wp_i18n_namespaceObject.__)('Advanced'),
+    initialOpen: false
+  }, (0,external_wp_element_namespaceObject.createElement)(inspector_controls.Slot, {
+    __experimentalGroup: "advanced",
+    bubblesVirtually: bubblesVirtually
+  }));
+};

+/* harmony default export */ var block_inspector = (BlockInspector);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-tools/index.js

-/***/ "xN+R":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */

-const dragHandle = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  width: "18",
-  height: "18",
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 18 18"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (dragHandle);


-/***/ }),

-/***/ "xTGt":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["blob"]; }());
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "xZzQ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+/**
+ * Renders block tools (the block toolbar, select/navigation mode toolbar, the
+ * insertion point and a slot for the inline rich text toolbar). Must be wrapped
+ * around the block content and editor styles wrapper or iframe.
+ *
+ * @param {Object} $0                      Props.
+ * @param {Object} $0.children             The block content and style container.
+ * @param {Object} $0.__unstableContentRef Ref holding the content scroll container.
+ */

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+function BlockTools(_ref) {
+  let {
+    children,
+    __unstableContentRef,
+    ...props
+  } = _ref;
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  const hasFixedToolbar = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getSettings().hasFixedToolbar, []);
+  const isMatch = (0,external_wp_keyboardShortcuts_namespaceObject.__unstableUseShortcutEventMatch)();
+  const {
+    getSelectedBlockClientIds,
+    getBlockRootClientId
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    duplicateBlocks,
+    removeBlocks,
+    insertAfterBlock,
+    insertBeforeBlock,
+    clearSelectedBlock,
+    moveBlocksUp,
+    moveBlocksDown
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/tips.js
+  function onKeyDown(event) {
+    if (isMatch('core/block-editor/move-up', event)) {
+      const clientIds = getSelectedBlockClientIds();

+      if (clientIds.length) {
+        event.preventDefault();
+        const rootClientId = getBlockRootClientId((0,external_lodash_namespaceObject.first)(clientIds));
+        moveBlocksUp(clientIds, rootClientId);
+      }
+    } else if (isMatch('core/block-editor/move-down', event)) {
+      const clientIds = getSelectedBlockClientIds();

-/**
- * WordPress dependencies
- */
+      if (clientIds.length) {
+        event.preventDefault();
+        const rootClientId = getBlockRootClientId((0,external_lodash_namespaceObject.first)(clientIds));
+        moveBlocksDown(clientIds, rootClientId);
+      }
+    } else if (isMatch('core/block-editor/duplicate', event)) {
+      const clientIds = getSelectedBlockClientIds();

+      if (clientIds.length) {
+        event.preventDefault();
+        duplicateBlocks(clientIds);
+      }
+    } else if (isMatch('core/block-editor/remove', event)) {
+      const clientIds = getSelectedBlockClientIds();

+      if (clientIds.length) {
+        event.preventDefault();
+        removeBlocks(clientIds);
+      }
+    } else if (isMatch('core/block-editor/insert-after', event)) {
+      const clientIds = getSelectedBlockClientIds();

-const globalTips = [Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["__"])('While writing, you can press <kbd>/</kbd> to quickly insert new blocks.'), {
-  kbd: Object(external_wp_element_["createElement"])("kbd", null)
-}), Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["__"])('Indent a list by pressing <kbd>space</kbd> at the beginning of a line.'), {
-  kbd: Object(external_wp_element_["createElement"])("kbd", null)
-}), Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["__"])('Outdent a list by pressing <kbd>backspace</kbd> at the beginning of a line.'), {
-  kbd: Object(external_wp_element_["createElement"])("kbd", null)
-}), Object(external_wp_i18n_["__"])('Drag files into the editor to automatically insert media blocks.'), Object(external_wp_i18n_["__"])("Change a block's type by pressing the block icon on the toolbar.")];
+      if (clientIds.length) {
+        event.preventDefault();
+        insertAfterBlock((0,external_lodash_namespaceObject.last)(clientIds));
+      }
+    } else if (isMatch('core/block-editor/insert-before', event)) {
+      const clientIds = getSelectedBlockClientIds();

-function Tips() {
-  const [randomIndex] = Object(external_wp_element_["useState"])( // Disable Reason: I'm not generating an HTML id.
-  // eslint-disable-next-line no-restricted-syntax
-  Math.floor(Math.random() * globalTips.length));
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Tip"], null, globalTips[randomIndex]);
-}
+      if (clientIds.length) {
+        event.preventDefault();
+        insertBeforeBlock((0,external_lodash_namespaceObject.first)(clientIds));
+      }
+    } else if (isMatch('core/block-editor/delete-multi-selection', event)) {
+      /**
+       * Check if the target element is a text area, input or
+       * event.defaultPrevented and return early. In all these
+       * cases backspace could be handled elsewhere.
+       */
+      if (['INPUT', 'TEXTAREA'].includes(event.target.nodeName) || event.defaultPrevented) {
+        return;
+      }

-/* harmony default export */ var tips = (Tips);
+      const clientIds = getSelectedBlockClientIds();
+
+      if (clientIds.length > 1) {
+        event.preventDefault();
+        removeBlocks(clientIds);
+      }
+    } else if (isMatch('core/block-editor/unselect', event)) {
+      const clientIds = getSelectedBlockClientIds();

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+      if (clientIds.length > 1) {
+        event.preventDefault();
+        clearSelectedBlock();
+        event.target.ownerDocument.defaultView.getSelection().removeAllRanges();
+      }
+    }
+  }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-card/index.js
-var block_card = __webpack_require__("GvwK");
+  return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
+    (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, props, {
+      onKeyDown: onKeyDown
+    }), (0,external_wp_element_namespaceObject.createElement)(InsertionPoint, {
+      __unstableContentRef: __unstableContentRef
+    }, (hasFixedToolbar || !isLargeViewport) && (0,external_wp_element_namespaceObject.createElement)(block_contextual_toolbar, {
+      isFixed: true
+    }), (0,external_wp_element_namespaceObject.createElement)(WrappedBlockPopover, {
+      __unstableContentRef: __unstableContentRef
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover.Slot, {
+      name: "block-toolbar",
+      ref: usePopoverScroll(__unstableContentRef)
+    }), children, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover.Slot, {
+      name: "__unstable-block-tools-after",
+      ref: usePopoverScroll(__unstableContentRef)
+    })))
+  );
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js + 2 modules
-var block_preview = __webpack_require__("REKd");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/library.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/preview-panel.js

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -48972,72 +45140,178 @@ var block_preview = __webpack_require__("REKd");



-function InserterPreviewPanel(_ref) {
-  var _hoveredItemBlockType, _hoveredItemBlockType2;
-
+function InserterLibrary(_ref) {
   let {
-    item
+    rootClientId,
+    clientId,
+    isAppender,
+    showInserterHelpPanel,
+    showMostUsedBlocks = false,
+    __experimentalInsertionIndex,
+    __experimentalFilterValue,
+    onSelect = external_lodash_namespaceObject.noop,
+    shouldFocusBlock = false
   } = _ref;
-  const {
-    name,
-    title,
-    icon,
-    description,
-    initialAttributes
-  } = item;
-  const hoveredItemBlockType = Object(external_wp_blocks_["getBlockType"])(name);
-  const isReusable = Object(external_wp_blocks_["isReusableBlock"])(item);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__preview-container"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__preview"
-  }, isReusable || hoveredItemBlockType !== null && hoveredItemBlockType !== void 0 && hoveredItemBlockType.example ? Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__preview-content"
-  }, Object(external_wp_element_["createElement"])(block_preview["a" /* default */], {
-    __experimentalPadding: 16,
-    viewportWidth: (_hoveredItemBlockType = (_hoveredItemBlockType2 = hoveredItemBlockType.example) === null || _hoveredItemBlockType2 === void 0 ? void 0 : _hoveredItemBlockType2.viewportWidth) !== null && _hoveredItemBlockType !== void 0 ? _hoveredItemBlockType : 500,
-    blocks: hoveredItemBlockType.example ? Object(external_wp_blocks_["getBlockFromExample"])(item.name, {
-      attributes: { ...hoveredItemBlockType.example.attributes,
-        ...initialAttributes
-      },
-      innerBlocks: hoveredItemBlockType.example.innerBlocks
-    }) : Object(external_wp_blocks_["createBlock"])(name, initialAttributes)
-  })) : Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__preview-content-missing"
-  }, Object(external_wp_i18n_["__"])('No Preview Available.'))), !isReusable && Object(external_wp_element_["createElement"])(block_card["a" /* default */], {
-    title: title,
-    icon: icon,
-    description: description
-  }));
+  const destinationRootClientId = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockRootClientId
+    } = select(store);
+    return rootClientId || getBlockRootClientId(clientId) || undefined;
+  }, [clientId, rootClientId]);
+  return (0,external_wp_element_namespaceObject.createElement)(menu, {
+    onSelect: onSelect,
+    rootClientId: destinationRootClientId,
+    clientId: clientId,
+    isAppender: isAppender,
+    showInserterHelpPanel: showInserterHelpPanel,
+    showMostUsedBlocks: showMostUsedBlocks,
+    __experimentalInsertionIndex: __experimentalInsertionIndex,
+    __experimentalFilterValue: __experimentalFilterValue,
+    shouldFocusBlock: shouldFocusBlock
+  });
 }

-/* harmony default export */ var preview_panel = (InserterPreviewPanel);
+/* harmony default export */ var library = (InserterLibrary);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/keyboard-shortcuts/index.js
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js + 1 modules
-var block_types_list = __webpack_require__("6ZVF");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/panel.js
-var panel = __webpack_require__("mdLt");

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-block-types-state.js
-var use_block_types_state = __webpack_require__("+G0a");
+function KeyboardShortcuts() {
+  return null;
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/index.js
-var inserter_listbox = __webpack_require__("wiT/");
+function KeyboardShortcutsRegister() {
+  // Registering the shortcuts
+  const {
+    registerShortcut
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_keyboardShortcuts_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    registerShortcut({
+      name: 'core/block-editor/duplicate',
+      category: 'block',
+      description: (0,external_wp_i18n_namespaceObject.__)('Duplicate the selected block(s).'),
+      keyCombination: {
+        modifier: 'primaryShift',
+        character: 'd'
+      }
+    });
+    registerShortcut({
+      name: 'core/block-editor/remove',
+      category: 'block',
+      description: (0,external_wp_i18n_namespaceObject.__)('Remove the selected block(s).'),
+      keyCombination: {
+        modifier: 'access',
+        character: 'z'
+      }
+    });
+    registerShortcut({
+      name: 'core/block-editor/insert-before',
+      category: 'block',
+      description: (0,external_wp_i18n_namespaceObject.__)('Insert a new block before the selected block(s).'),
+      keyCombination: {
+        modifier: 'primaryAlt',
+        character: 't'
+      }
+    });
+    registerShortcut({
+      name: 'core/block-editor/insert-after',
+      category: 'block',
+      description: (0,external_wp_i18n_namespaceObject.__)('Insert a new block after the selected block(s).'),
+      keyCombination: {
+        modifier: 'primaryAlt',
+        character: 'y'
+      }
+    });
+    registerShortcut({
+      name: 'core/block-editor/delete-multi-selection',
+      category: 'block',
+      description: (0,external_wp_i18n_namespaceObject.__)('Remove multiple selected blocks.'),
+      keyCombination: {
+        character: 'del'
+      },
+      aliases: [{
+        character: 'backspace'
+      }]
+    });
+    registerShortcut({
+      name: 'core/block-editor/select-all',
+      category: 'selection',
+      description: (0,external_wp_i18n_namespaceObject.__)('Select all text when typing. Press again to select all blocks.'),
+      keyCombination: {
+        modifier: 'primary',
+        character: 'a'
+      }
+    });
+    registerShortcut({
+      name: 'core/block-editor/unselect',
+      category: 'selection',
+      description: (0,external_wp_i18n_namespaceObject.__)('Clear selection.'),
+      keyCombination: {
+        character: 'escape'
+      }
+    });
+    registerShortcut({
+      name: 'core/block-editor/focus-toolbar',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Navigate to the nearest toolbar.'),
+      keyCombination: {
+        modifier: 'alt',
+        character: 'F10'
+      }
+    });
+    registerShortcut({
+      name: 'core/block-editor/move-up',
+      category: 'block',
+      description: (0,external_wp_i18n_namespaceObject.__)('Move the selected block(s) up.'),
+      keyCombination: {
+        modifier: 'secondary',
+        character: 't'
+      }
+    });
+    registerShortcut({
+      name: 'core/block-editor/move-down',
+      category: 'block',
+      description: (0,external_wp_i18n_namespaceObject.__)('Move the selected block(s) down.'),
+      keyCombination: {
+        modifier: 'secondary',
+        character: 'y'
+      }
+    });
+  }, [registerShortcut]);
+  return null;
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-types-tab.js
+KeyboardShortcuts.Register = KeyboardShortcutsRegister;
+/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/selection-scroll-into-view/index.js
+/**
+ * WordPress dependencies
+ */

 /**
- * External dependencies
+ * Scrolls the multi block selection end into view if not in view already. This
+ * is important to do after selection by keyboard.
+ *
+ * @deprecated
  */

+function MultiSelectScrollIntoView() {
+  external_wp_deprecated_default()('wp.blockEditor.MultiSelectScrollIntoView', {
+    hint: 'This behaviour is now built-in.'
+  });
+  return null;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/observe-typing/index.js
+
+
 /**
  * WordPress dependencies
  */
@@ -49046,211 +45320,241 @@ var inserter_listbox = __webpack_require__("wiT/");


 /**
- * Internal dependencies
+ * Internal dependencies
+ */
+
+
+/**
+ * Set of key codes upon which typing is to be initiated on a keydown event.
+ *
+ * @type {Set<number>}
+ */
+
+const KEY_DOWN_ELIGIBLE_KEY_CODES = new Set([external_wp_keycodes_namespaceObject.UP, external_wp_keycodes_namespaceObject.RIGHT, external_wp_keycodes_namespaceObject.DOWN, external_wp_keycodes_namespaceObject.LEFT, external_wp_keycodes_namespaceObject.ENTER, external_wp_keycodes_namespaceObject.BACKSPACE]);
+/**
+ * Returns true if a given keydown event can be inferred as intent to start
+ * typing, or false otherwise. A keydown is considered eligible if it is a
+ * text navigation without shift active.
+ *
+ * @param {KeyboardEvent} event Keydown event to test.
+ *
+ * @return {boolean} Whether event is eligible to start typing.
+ */
+
+function isKeyDownEligibleForStartTyping(event) {
+  const {
+    keyCode,
+    shiftKey
+  } = event;
+  return !shiftKey && KEY_DOWN_ELIGIBLE_KEY_CODES.has(keyCode);
+}
+/**
+ * Removes the `isTyping` flag when the mouse moves in the document of the given
+ * element.
  */


+function useMouseMoveTypingReset() {
+  const isTyping = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isTyping(), []);
+  const {
+    stopTyping
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    if (!isTyping) {
+      return;
+    }

+    const {
+      ownerDocument
+    } = node;
+    let lastClientX;
+    let lastClientY;
+    /**
+     * On mouse move, unset typing flag if user has moved cursor.
+     *
+     * @param {MouseEvent} event Mousemove event.
+     */

+    function stopTypingOnMouseMove(event) {
+      const {
+        clientX,
+        clientY
+      } = event; // We need to check that the mouse really moved because Safari
+      // triggers mousemove events when shift or ctrl are pressed.

+      if (lastClientX && lastClientY && (lastClientX !== clientX || lastClientY !== clientY)) {
+        stopTyping();
+      }

-const getBlockNamespace = item => item.name.split('/')[0];
+      lastClientX = clientX;
+      lastClientY = clientY;
+    }

-const MAX_SUGGESTED_ITEMS = 6;
+    ownerDocument.addEventListener('mousemove', stopTypingOnMouseMove);
+    return () => {
+      ownerDocument.removeEventListener('mousemove', stopTypingOnMouseMove);
+    };
+  }, [isTyping, stopTyping]);
+}
 /**
- * Shared reference to an empty array for cases where it is important to avoid
- * returning a new array reference on every invocation and rerendering the component.
+ * Sets and removes the `isTyping` flag based on user actions:
  *
- * @type {Array}
+ * - Sets the flag if the user types within the given element.
+ * - Removes the flag when the user selects some text, focusses a non-text
+ *   field, presses ESC or TAB, or moves the mouse in the document.
  */

-const EMPTY_ARRAY = [];
-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);
-  }, [items]);
-  const uncategorizedItems = Object(external_wp_element_["useMemo"])(() => {
-    return items.filter(item => !item.category);
-  }, [items]);
-  const itemsPerCategory = Object(external_wp_element_["useMemo"])(() => {
-    return Object(external_lodash_["flow"])(itemList => itemList.filter(item => item.category && item.category !== 'reusable'), itemList => Object(external_lodash_["groupBy"])(itemList, 'category'))(items);
-  }, [items]);
-  const itemsPerCollection = Object(external_wp_element_["useMemo"])(() => {
-    // Create a new Object to avoid mutating collection.
-    const result = { ...collections
-    };
-    Object.keys(collections).forEach(namespace => {
-      result[namespace] = items.filter(item => getBlockNamespace(item) === namespace);
+function useTypingObserver() {
+  const isTyping = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isTyping());
+  const {
+    startTyping,
+    stopTyping
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const ref1 = useMouseMoveTypingReset();
+  const ref2 = (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    const {
+      ownerDocument
+    } = node;
+    const {
+      defaultView
+    } = ownerDocument; // Listeners to stop typing should only be added when typing.
+    // Listeners to start typing should only be added when not typing.

-      if (result[namespace].length === 0) {
-        delete result[namespace];
-      }
-    });
-    return result;
-  }, [items, collections]); // Hide block preview on unmount.
+    if (isTyping) {
+      let timerId;
+      /**
+       * Stops typing when focus transitions to a non-text field element.
+       *
+       * @param {FocusEvent} event Focus event.
+       */

-  Object(external_wp_element_["useEffect"])(() => () => onHover(null), []);
-  /**
-   * The inserter contains a big number of blocks and opening it is a costful operation.
-   * The rendering is the most costful part of it, in order to improve the responsiveness
-   * of the "opening" action, these lazy lists allow us to render the inserter category per category,
-   * once all the categories are rendered, we start rendering the collections and the uncategorized block types.
-   */
+      function stopTypingOnNonTextField(event) {
+        const {
+          target
+        } = event; // Since focus to a non-text field via arrow key will trigger
+        // before the keydown event, wait until after current stack
+        // before evaluating whether typing is to be stopped. Otherwise,
+        // typing will re-start.

-  const currentlyRenderedCategories = Object(external_wp_compose_["useAsyncList"])(categories);
-  const didRenderAllCategories = categories.length === currentlyRenderedCategories.length; // Async List requires an array
+        timerId = defaultView.setTimeout(() => {
+          if (!(0,external_wp_dom_namespaceObject.isTextField)(target)) {
+            stopTyping();
+          }
+        });
+      }
+      /**
+       * Unsets typing flag if user presses Escape while typing flag is
+       * active.
+       *
+       * @param {KeyboardEvent} event Keypress or keydown event to
+       *                              interpret.
+       */

-  const collectionEntries = Object(external_wp_element_["useMemo"])(() => {
-    return Object.entries(collections);
-  }, [collections]);
-  const currentlyRenderedCollections = Object(external_wp_compose_["useAsyncList"])(didRenderAllCategories ? collectionEntries : EMPTY_ARRAY);
-  return Object(external_wp_element_["createElement"])(inserter_listbox["a" /* default */], null, Object(external_wp_element_["createElement"])("div", null, showMostUsedBlocks && !!suggestedItems.length && Object(external_wp_element_["createElement"])(panel["a" /* default */], {
-    title: Object(external_wp_i18n_["_x"])('Most used', 'blocks')
-  }, Object(external_wp_element_["createElement"])(block_types_list["a" /* default */], {
-    items: suggestedItems,
-    onSelect: onSelectItem,
-    onHover: onHover,
-    label: Object(external_wp_i18n_["_x"])('Most used', 'blocks')
-  })), Object(external_lodash_["map"])(currentlyRenderedCategories, category => {
-    const categoryItems = itemsPerCategory[category.slug];

-    if (!categoryItems || !categoryItems.length) {
-      return null;
-    }
+      function stopTypingOnEscapeKey(event) {
+        const {
+          keyCode
+        } = event;

-    return Object(external_wp_element_["createElement"])(panel["a" /* default */], {
-      key: category.slug,
-      title: category.title,
-      icon: category.icon
-    }, Object(external_wp_element_["createElement"])(block_types_list["a" /* default */], {
-      items: categoryItems,
-      onSelect: onSelectItem,
-      onHover: onHover,
-      label: category.title
-    }));
-  }), didRenderAllCategories && uncategorizedItems.length > 0 && Object(external_wp_element_["createElement"])(panel["a" /* default */], {
-    className: "block-editor-inserter__uncategorized-blocks-panel",
-    title: Object(external_wp_i18n_["__"])('Uncategorized')
-  }, Object(external_wp_element_["createElement"])(block_types_list["a" /* default */], {
-    items: uncategorizedItems,
-    onSelect: onSelectItem,
-    onHover: onHover,
-    label: Object(external_wp_i18n_["__"])('Uncategorized')
-  })), Object(external_lodash_["map"])(currentlyRenderedCollections, _ref2 => {
-    let [namespace, collection] = _ref2;
-    const collectionItems = itemsPerCollection[namespace];
+        if (keyCode === external_wp_keycodes_namespaceObject.ESCAPE || keyCode === external_wp_keycodes_namespaceObject.TAB) {
+          stopTyping();
+        }
+      }
+      /**
+       * On selection change, unset typing flag if user has made an
+       * uncollapsed (shift) selection.
+       */

-    if (!collectionItems || !collectionItems.length) {
-      return null;
-    }

-    return Object(external_wp_element_["createElement"])(panel["a" /* default */], {
-      key: namespace,
-      title: collection.title,
-      icon: collection.icon
-    }, Object(external_wp_element_["createElement"])(block_types_list["a" /* default */], {
-      items: collectionItems,
-      onSelect: onSelectItem,
-      onHover: onHover,
-      label: collection.title
-    }));
-  })));
-}
-/* harmony default export */ var block_types_tab = (BlockTypesTab);
+      function stopTypingOnSelectionUncollapse() {
+        const selection = defaultView.getSelection();
+        const isCollapsed = selection.rangeCount > 0 && selection.getRangeAt(0).collapsed;

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+        if (!isCollapsed) {
+          stopTyping();
+        }
+      }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/pattern-panel.js
+      node.addEventListener('focus', stopTypingOnNonTextField);
+      node.addEventListener('keydown', stopTypingOnEscapeKey);
+      ownerDocument.addEventListener('selectionchange', stopTypingOnSelectionUncollapse);
+      return () => {
+        defaultView.clearTimeout(timerId);
+        node.removeEventListener('focus', stopTypingOnNonTextField);
+        node.removeEventListener('keydown', stopTypingOnEscapeKey);
+        ownerDocument.removeEventListener('selectionchange', stopTypingOnSelectionUncollapse);
+      };
+    }
+    /**
+     * Handles a keypress or keydown event to infer intention to start
+     * typing.
+     *
+     * @param {KeyboardEvent} event Keypress or keydown event to interpret.
+     */


-/**
- * External dependencies
- */
+    function startTypingInTextField(event) {
+      const {
+        type,
+        target
+      } = event; // Abort early if already typing, or key press is incurred outside a
+      // text field (e.g. arrow-ing through toolbar buttons).
+      // Ignore typing if outside the current DOM container

-/**
- * WordPress dependencies
- */
+      if (!(0,external_wp_dom_namespaceObject.isTextField)(target) || !node.contains(target)) {
+        return;
+      } // Special-case keydown because certain keys do not emit a keypress
+      // event. Conversely avoid keydown as the canonical event since
+      // there are many keydown which are explicitly not targeted for
+      // typing.


+      if (type === 'keydown' && !isKeyDownEligibleForStartTyping(event)) {
+        return;
+      }

+      startTyping();
+    }

+    node.addEventListener('keypress', startTypingInTextField);
+    node.addEventListener('keydown', startTypingInTextField);
+    return () => {
+      node.removeEventListener('keypress', startTypingInTextField);
+      node.removeEventListener('keydown', startTypingInTextField);
+    };
+  }, [isTyping, startTyping, stopTyping]);
+  return (0,external_wp_compose_namespaceObject.useMergeRefs)([ref1, ref2]);
+}

-function PatternInserterPanel(_ref) {
+function ObserveTyping(_ref) {
   let {
-    selectedCategory,
-    patternCategories,
-    onClickCategory,
-    openPatternExplorer
+    children
   } = _ref;
-  const isMobile = Object(external_wp_compose_["useViewportMatch"])('medium', '<');
-
-  const categoryOptions = () => {
-    const options = [];
-    patternCategories.map(patternCategory => {
-      return options.push({
-        value: patternCategory.name,
-        label: patternCategory.label
-      });
-    });
-    return options;
-  };
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: useTypingObserver()
+  }, children);
+}
+/**
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/observe-typing/README.md
+ */

-  const onChangeSelect = selected => {
-    onClickCategory(patternCategories.find(patternCategory => selected === patternCategory.name));
-  };

-  const className = classnames_default()('block-editor-inserter__panel-header', 'block-editor-inserter__panel-header-patterns'); // In iOS-based mobile devices, the onBlur will fire when selecting an option
-  // from a Select element. To prevent closing the useDialog on iOS devices, we
-  // stop propagating the onBlur event if there is no relatedTarget, which means
-  // that the user most likely did not click on an element within the editor canvas.
+/* harmony default export */ var observe_typing = (ObserveTyping);

-  const onBlur = event => {
-    if (!(event !== null && event !== void 0 && event.relatedTarget)) {
-      event.stopPropagation();
-    }
-  };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/preserve-scroll-in-reorder/index.js
+/**
+ * WordPress dependencies
+ */

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
-    justify: "space-between",
-    align: "start",
-    gap: "4",
-    className: className
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], {
-    isBlock: true
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    className: "block-editor-inserter__panel-dropdown",
-    label: Object(external_wp_i18n_["__"])('Filter patterns'),
-    hideLabelFromVision: true,
-    value: selectedCategory.name,
-    onChange: onChangeSelect,
-    onBlur: onBlur,
-    options: categoryOptions()
-  })), !isMobile && Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    className: "block-editor-inserter__patterns-explorer-expand",
-    label: Object(external_wp_i18n_["__"])('Explore all patterns'),
-    onClick: () => openPatternExplorer()
-  }, Object(external_wp_i18n_["_x"])('Explore', 'Label for showing all block patterns'))));
+function PreserveScrollInReorder() {
+  external_wp_deprecated_default()('PreserveScrollInReorder component', {
+    since: '5.4',
+    hint: 'This behavior is now built-in the block list'
+  });
+  return null;
 }

-/* harmony default export */ var pattern_panel = (PatternInserterPanel);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-state.js
-var use_patterns_state = __webpack_require__("nQUx");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/block-patterns-list/index.js
-var block_patterns_list = __webpack_require__("Fmc1");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/sidebar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/typewriter/index.js


 /**
@@ -49259,529 +45563,384 @@ var block_patterns_list = __webpack_require__("Fmc1");



-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(_ref2 => {
-    let {
-      name,
-      label
-    } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      key: name,
-      label: label,
-      className: `${baseClassName}__categories-list__item`,
-      isPressed: selectedCategory === name,
-      onClick: () => {
-        onClickCategory(name);
-      }
-    }, label);
-  }));
-}

-function PatternsExplorerSearch(_ref3) {
-  let {
-    filterValue,
-    setFilterValue
-  } = _ref3;
-  const baseClassName = 'block-editor-block-patterns-explorer__search';
-  return Object(external_wp_element_["createElement"])("div", {
-    className: baseClassName
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SearchControl"], {
-    onChange: setFilterValue,
-    value: filterValue,
-    label: Object(external_wp_i18n_["__"])('Search for patterns'),
-    placeholder: Object(external_wp_i18n_["__"])('Search')
-  }));
-}
+/**
+ * Internal dependencies
+ */

-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
-  }, Object(external_wp_element_["createElement"])(PatternsExplorerSearch, {
-    filterValue: filterValue,
-    setFilterValue: setFilterValue
-  }), !filterValue && Object(external_wp_element_["createElement"])(PatternCategoriesList, {
-    selectedCategory: selectedCategory,
-    patternCategories: patternCategories,
-    onClickCategory: onClickCategory
-  }));
-}

-/* harmony default export */ var sidebar = (PatternExplorerSidebar);
+const isIE = window.navigator.userAgent.indexOf('Trident') !== -1;
+const arrowKeyCodes = new Set([external_wp_keycodes_namespaceObject.UP, external_wp_keycodes_namespaceObject.DOWN, external_wp_keycodes_namespaceObject.LEFT, external_wp_keycodes_namespaceObject.RIGHT]);
+const initialTriggerPercentage = 0.75;
+function useTypewriter() {
+  const hasSelectedBlock = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).hasSelectedBlock(), []);
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    if (!hasSelectedBlock) {
+      return;
+    }

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+    const {
+      ownerDocument
+    } = node;
+    const {
+      defaultView
+    } = ownerDocument;
+    let scrollResizeRafId;
+    let onKeyDownRafId;
+    let caretRect;

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/no-results.js
-var no_results = __webpack_require__("LolH");
+    function onScrollResize() {
+      if (scrollResizeRafId) {
+        return;
+      }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-insertion-point.js
-var use_insertion_point = __webpack_require__("AORF");
+      scrollResizeRafId = defaultView.requestAnimationFrame(() => {
+        computeCaretRectangle();
+        scrollResizeRafId = null;
+      });
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/search-items.js
-var search_items = __webpack_require__("pOGT");
+    function onKeyDown(event) {
+      // Ensure the any remaining request is cancelled.
+      if (onKeyDownRafId) {
+        defaultView.cancelAnimationFrame(onKeyDownRafId);
+      } // Use an animation frame for a smooth result.

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/patterns-list.js

+      onKeyDownRafId = defaultView.requestAnimationFrame(() => {
+        maintainCaretPosition(event);
+        onKeyDownRafId = null;
+      });
+    }
+    /**
+     * Maintains the scroll position after a selection change caused by a
+     * keyboard event.
+     *
+     * @param {KeyboardEvent} event Keyboard event.
+     */

-/**
- * WordPress dependencies
- */

+    function maintainCaretPosition(_ref) {
+      let {
+        keyCode
+      } = _ref;

+      if (!isSelectionEligibleForScroll()) {
+        return;
+      }

+      const currentCaretRect = (0,external_wp_dom_namespaceObject.computeCaretRect)(defaultView);

+      if (!currentCaretRect) {
+        return;
+      } // If for some reason there is no position set to be scrolled to, let
+      // this be the position to be scrolled to in the future.

-/**
- * Internal dependencies
- */

+      if (!caretRect) {
+        caretRect = currentCaretRect;
+        return;
+      } // Even though enabling the typewriter effect for arrow keys results in
+      // a pleasant experience, it may not be the case for everyone, so, for
+      // now, let's disable it.


+      if (arrowKeyCodes.has(keyCode)) {
+        // Reset the caret position to maintain.
+        caretRect = currentCaretRect;
+        return;
+      }

+      const diff = currentCaretRect.top - caretRect.top;

+      if (diff === 0) {
+        return;
+      }

+      const scrollContainer = (0,external_wp_dom_namespaceObject.getScrollContainer)(node); // The page must be scrollable.

-const INITIAL_INSERTER_RESULTS = 2;
+      if (!scrollContainer) {
+        return;
+      }

-function PatternsListHeader(_ref) {
-  let {
-    filterValue,
-    filteredBlockPatternsLength
-  } = _ref;
+      const windowScroll = scrollContainer === ownerDocument.body;
+      const scrollY = windowScroll ? defaultView.scrollY : scrollContainer.scrollTop;
+      const scrollContainerY = windowScroll ? 0 : scrollContainer.getBoundingClientRect().top;
+      const relativeScrollPosition = windowScroll ? caretRect.top / defaultView.innerHeight : (caretRect.top - scrollContainerY) / (defaultView.innerHeight - scrollContainerY); // If the scroll position is at the start, the active editable element
+      // is the last one, and the caret is positioned within the initial
+      // trigger percentage of the page, do not scroll the page.
+      // The typewriter effect should not kick in until an empty page has been
+      // filled with the initial trigger percentage or the user scrolls
+      // intentionally down.

-  if (!filterValue) {
-    return null;
-  }
+      if (scrollY === 0 && relativeScrollPosition < initialTriggerPercentage && isLastEditableNode()) {
+        // Reset the caret position to maintain.
+        caretRect = currentCaretRect;
+        return;
+      }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHeading"], {
-    level: 2,
-    lineHeight: '48px',
-    className: "block-editor-block-patterns-explorer__search-results-count"
-  }, Object(external_wp_i18n_["sprintf"])(
-  /* translators: %d: number of patterns. %s: block pattern search query */
-  Object(external_wp_i18n_["_n"])('%1$d pattern found for "%2$s"', '%1$d patterns found for "%2$s"', filteredBlockPatternsLength), filteredBlockPatternsLength, filterValue));
-}
+      const scrollContainerHeight = windowScroll ? defaultView.innerHeight : scrollContainer.clientHeight; // Abort if the target scroll position would scroll the caret out of
+      // view.

-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
-  });
-  const [allPatterns,, onSelectBlockPattern] = Object(use_patterns_state["a" /* default */])(onInsertBlocks, destinationRootClientId);
-  const registeredPatternCategories = Object(external_wp_element_["useMemo"])(() => patternCategories.map(patternCategory => patternCategory.name), [patternCategories]);
-  const filteredBlockPatterns = Object(external_wp_element_["useMemo"])(() => {
-    if (!filterValue) {
-      return allPatterns.filter(pattern => {
-        var _pattern$categories, _pattern$categories2;
+      if ( // The caret is under the lower fold.
+      caretRect.top + caretRect.height > scrollContainerY + scrollContainerHeight || // The caret is above the upper fold.
+      caretRect.top < scrollContainerY) {
+        // Reset the caret position to maintain.
+        caretRect = currentCaretRect;
+        return;
+      }

-        return selectedCategory === 'uncategorized' ? !((_pattern$categories = pattern.categories) !== null && _pattern$categories !== void 0 && _pattern$categories.length) || pattern.categories.every(category => !registeredPatternCategories.includes(category)) : (_pattern$categories2 = pattern.categories) === null || _pattern$categories2 === void 0 ? void 0 : _pattern$categories2.includes(selectedCategory);
-      });
+      if (windowScroll) {
+        defaultView.scrollBy(0, diff);
+      } else {
+        scrollContainer.scrollTop += diff;
+      }
     }
+    /**
+     * Adds a `selectionchange` listener to reset the scroll position to be
+     * maintained.
+     */

-    return Object(search_items["b" /* searchItems */])(allPatterns, filterValue);
-  }, [filterValue, selectedCategory, allPatterns]); // Announce search results on change.

-  Object(external_wp_element_["useEffect"])(() => {
-    if (!filterValue) {
-      return;
+    function addSelectionChangeListener() {
+      ownerDocument.addEventListener('selectionchange', computeCaretRectOnSelectionChange);
     }
-
-    const count = filteredBlockPatterns.length;
-    const resultsFoundMessage = Object(external_wp_i18n_["sprintf"])(
-    /* translators: %d: number of results. */
-    Object(external_wp_i18n_["_n"])('%d result found.', '%d results found.', count), count);
-    debouncedSpeak(resultsFoundMessage);
-  }, [filterValue, debouncedSpeak]);
-  const currentShownPatterns = Object(external_wp_compose_["useAsyncList"])(filteredBlockPatterns, {
-    step: INITIAL_INSERTER_RESULTS
-  });
-  const hasItems = !!(filteredBlockPatterns !== null && filteredBlockPatterns !== void 0 && filteredBlockPatterns.length);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-block-patterns-explorer__list"
-  }, hasItems && Object(external_wp_element_["createElement"])(PatternsListHeader, {
-    filterValue: filterValue,
-    filteredBlockPatternsLength: filteredBlockPatterns.length
-  }), Object(external_wp_element_["createElement"])(inserter_listbox["a" /* default */], null, !hasItems && Object(external_wp_element_["createElement"])(no_results["a" /* default */], null), hasItems && Object(external_wp_element_["createElement"])(block_patterns_list["a" /* default */], {
-    shownPatterns: currentShownPatterns,
-    blockPatterns: filteredBlockPatterns,
-    onClickPattern: onSelectBlockPattern,
-    isDraggable: false
-  })));
-}
-
-/* harmony default export */ var patterns_list = (PatternList);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/explorer.js
+    /**
+     * Resets the scroll position to be maintained during a `selectionchange`
+     * event. Also removes the listener, so it acts as a one-time listener.
+     */


-/**
- * WordPress dependencies
- */
+    function computeCaretRectOnSelectionChange() {
+      ownerDocument.removeEventListener('selectionchange', computeCaretRectOnSelectionChange);
+      computeCaretRectangle();
+    }
+    /**
+     * Resets the scroll position to be maintained.
+     */


+    function computeCaretRectangle() {
+      if (isSelectionEligibleForScroll()) {
+        caretRect = (0,external_wp_dom_namespaceObject.computeCaretRect)(defaultView);
+      }
+    }
+    /**
+     * Checks if the current situation is elegible for scroll:
+     * - There should be one and only one block selected.
+     * - The component must contain the selection.
+     * - The active element must be contenteditable.
+     */

-/**
- * Internal dependencies
- */

+    function isSelectionEligibleForScroll() {
+      return node.contains(ownerDocument.activeElement) && ownerDocument.activeElement.isContentEditable;
+    }

+    function isLastEditableNode() {
+      const editableNodes = node.querySelectorAll('[contenteditable="true"]');
+      const lastEditableNode = editableNodes[editableNodes.length - 1];
+      return lastEditableNode === ownerDocument.activeElement;
+    } // When the user scrolls or resizes, the scroll position should be
+    // reset.


-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", {
-    className: "block-editor-block-patterns-explorer"
-  }, Object(external_wp_element_["createElement"])(sidebar, {
-    selectedCategory: selectedCategory,
-    patternCategories: patternCategories,
-    onClickCategory: setSelectedCategory,
-    filterValue: filterValue,
-    setFilterValue: setFilterValue
-  }), Object(external_wp_element_["createElement"])(patterns_list, {
-    filterValue: filterValue,
-    selectedCategory: selectedCategory,
-    patternCategories: patternCategories
-  }));
+    defaultView.addEventListener('scroll', onScrollResize, true);
+    defaultView.addEventListener('resize', onScrollResize, true);
+    node.addEventListener('keydown', onKeyDown);
+    node.addEventListener('keyup', maintainCaretPosition);
+    node.addEventListener('mousedown', addSelectionChangeListener);
+    node.addEventListener('touchstart', addSelectionChangeListener);
+    return () => {
+      defaultView.removeEventListener('scroll', onScrollResize, true);
+      defaultView.removeEventListener('resize', onScrollResize, true);
+      node.removeEventListener('keydown', onKeyDown);
+      node.removeEventListener('keyup', maintainCaretPosition);
+      node.removeEventListener('mousedown', addSelectionChangeListener);
+      node.removeEventListener('touchstart', addSelectionChangeListener);
+      ownerDocument.removeEventListener('selectionchange', computeCaretRectOnSelectionChange);
+      defaultView.cancelAnimationFrame(scrollResizeRafId);
+      defaultView.cancelAnimationFrame(onKeyDownRafId);
+    };
+  }, [hasSelectedBlock]);
 }

-function PatternsExplorerModal(_ref2) {
+function Typewriter(_ref2) {
   let {
-    onModalClose,
-    ...restProps
+    children
   } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    title: Object(external_wp_i18n_["__"])('Patterns'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
-    onRequestClose: onModalClose,
-    isFullScreen: true
-  }, Object(external_wp_element_["createElement"])(PatternsExplorer, restProps));
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: useTypewriter(),
+    className: "block-editor__typewriter"
+  }, children);
 }
-
-/* harmony default export */ var explorer = (PatternsExplorerModal);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab.js
-
-
 /**
- * WordPress dependencies
+ * The exported component. The implementation of Typewriter faced technical
+ * challenges in Internet Explorer, and is simply skipped, rendering the given
+ * props children instead.
+ *
+ * @type {WPComponent}
  */


-
+const TypewriterOrIEBypass = isIE ? props => props.children : Typewriter;
 /**
- * Internal dependencies
+ * Ensures that the text selection keeps the same vertical distance from the
+ * viewport during keyboard events within this component. The vertical distance
+ * can vary. It is the last clicked or scrolled to position.
  */

+/* harmony default export */ var typewriter = (TypewriterOrIEBypass);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-canvas-click-redirect/index.js
+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */



-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;
-
-    if (!((_pattern$categories = pattern.categories) !== null && _pattern$categories !== void 0 && _pattern$categories.length)) {
-      return Infinity;
-    }
-
-    const indexedCategories = populatedCategories.reduce((accumulator, _ref2, index) => {
-      let {
-        name
-      } = _ref2;
-      accumulator[name] = index;
-      return accumulator;
-    }, {});
-    return Math.min(...pattern.categories.map(cat => indexedCategories[cat] !== undefined ? indexedCategories[cat] : Infinity));
-  }, [populatedCategories]);
-  const currentCategoryPatterns = Object(external_wp_element_["useMemo"])(() => allPatterns.filter(pattern => {
-    var _pattern$categories2;
-
-    return selectedCategory.name === 'uncategorized' ? getPatternIndex(pattern) === Infinity : (_pattern$categories2 = pattern.categories) === null || _pattern$categories2 === void 0 ? void 0 : _pattern$categories2.includes(selectedCategory.name);
-  }), [allPatterns, selectedCategory]); // Ordering the patterns is important for the async rendering.
-
-  const orderedPatterns = Object(external_wp_element_["useMemo"])(() => {
-    return currentCategoryPatterns.sort((a, b) => {
-      return getPatternIndex(a) - getPatternIndex(b);
-    });
-  }, [currentCategoryPatterns, getPatternIndex]);
-  const currentShownPatterns = Object(external_wp_compose_["useAsyncList"])(orderedPatterns);
-
-  if (!currentCategoryPatterns.length) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__panel-content"
-  }, Object(external_wp_element_["createElement"])(block_patterns_list["a" /* default */], {
-    shownPatterns: currentShownPatterns,
-    blockPatterns: currentCategoryPatterns,
-    onClickPattern: onClick,
-    label: selectedCategory.label,
-    orientation: "vertical",
-    isDraggable: true
-  }));
-}
+/**
+ * Given an element, returns true if the element is a tabbable text field, or
+ * false otherwise.
+ *
+ * @param {Element} element Element to test.
+ *
+ * @return {boolean} Whether element is a tabbable text field.
+ */

-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 => {
-    if (!pattern.categories || !pattern.categories.length) {
-      return false;
-    }
+const isTabbableTextField = (0,external_lodash_namespaceObject.overEvery)([external_wp_dom_namespaceObject.isTextField, external_wp_dom_namespaceObject.focus.tabbable.isTabbableIndex]);
+function useCanvasClickRedirect() {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(node => {
+    function onMouseDown(event) {
+      // Only handle clicks on the canvas, not the content.
+      if (event.target !== node) {
+        return;
+      }

-    return pattern.categories.some(cat => allCategories.some(category => category.name === cat));
-  }, [allCategories]); // Remove any empty categories
+      const focusableNodes = external_wp_dom_namespaceObject.focus.focusable.find(node);
+      const target = (0,external_lodash_namespaceObject.findLast)(focusableNodes, isTabbableTextField);

-  const populatedCategories = Object(external_wp_element_["useMemo"])(() => {
-    const categories = allCategories.filter(category => allPatterns.some(pattern => {
-      var _pattern$categories3;
+      if (!target) {
+        return;
+      }

-      return (_pattern$categories3 = pattern.categories) === null || _pattern$categories3 === void 0 ? void 0 : _pattern$categories3.includes(category.name);
-    })).sort((_ref4, _ref5) => {
-      let {
-        name: currentName
-      } = _ref4;
-      let {
-        name: nextName
-      } = _ref5;
+      const {
+        bottom
+      } = target.getBoundingClientRect(); // Ensure the click is below the last block.

-      if (![currentName, nextName].includes('featured')) {
-        return 0;
+      if (event.clientY < bottom) {
+        return;
       }

-      return currentName === 'featured' ? -1 : 1;
-    });
-
-    if (allPatterns.some(pattern => !hasRegisteredCategory(pattern)) && !categories.find(category => category.name === 'uncategorized')) {
-      categories.push({
-        name: 'uncategorized',
-        label: Object(external_wp_i18n_["_x"])('Uncategorized')
-      });
+      (0,external_wp_dom_namespaceObject.placeCaretAtHorizontalEdge)(target, true);
+      event.preventDefault();
     }

-    return categories;
-  }, [allPatterns, allCategories]);
-  const patternCategory = selectedCategory ? selectedCategory : populatedCategories[0];
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, !showPatternsExplorer && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(pattern_panel, {
-    selectedCategory: patternCategory,
-    patternCategories: populatedCategories,
-    onClickCategory: onClickCategory,
-    openPatternExplorer: () => setShowPatternsExplorer(true)
-  }), Object(external_wp_element_["createElement"])(BlockPatternsCategory, {
-    rootClientId: rootClientId,
-    onInsert: onInsert,
-    selectedCategory: patternCategory,
-    populatedCategories: populatedCategories
-  })), showPatternsExplorer && Object(external_wp_element_["createElement"])(explorer, {
-    initialCategory: patternCategory,
-    patternCategories: populatedCategories,
-    onModalClose: () => setShowPatternsExplorer(false)
-  }));
+    node.addEventListener('mousedown', onMouseDown);
+    return () => {
+      node.addEventListener('mousedown', onMouseDown);
+    };
+  }, []);
 }

-/* harmony default export */ var block_patterns_tab = (BlockPatternsTabs);
-
-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/reusable-blocks-tab.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/use-no-recursive-renders/index.js


 /**
  * WordPress dependencies
  */

-
-
 /**
  * Internal dependencies
  */


+const RenderedRefsContext = (0,external_wp_element_namespaceObject.createContext)({});
+/**
+ * Immutably adds an unique identifier to a set scoped for a given block type.
+ *
+ * @param {Object} renderedBlocks Rendered blocks grouped by block name
+ * @param {string} blockName      Name of the block.
+ * @param {*}      uniqueId       Any value that acts as a unique identifier for a block instance.
+ *
+ * @return {Object} The list of rendered blocks grouped by block name.
+ */

-
-
-
-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(_ref2 => {
-      let {
-        category
-      } = _ref2;
-      return category === 'reusable';
-    });
-  }, [items]);
-
-  if (filteredItems.length === 0) {
-    return Object(external_wp_element_["createElement"])(no_results["a" /* default */], null);
-  }
-
-  return Object(external_wp_element_["createElement"])(panel["a" /* default */], {
-    title: Object(external_wp_i18n_["__"])('Reusable blocks')
-  }, Object(external_wp_element_["createElement"])(block_types_list["a" /* default */], {
-    items: filteredItems,
-    onSelect: onSelectItem,
-    onHover: onHover,
-    label: Object(external_wp_i18n_["__"])('Reusable blocks')
-  }));
-} // The unwrapped component is only exported for use by unit tests.
-
+function addToBlockType(renderedBlocks, blockName, uniqueId) {
+  const result = { ...renderedBlocks,
+    [blockName]: renderedBlocks[blockName] ? new Set(renderedBlocks[blockName]) : new Set()
+  };
+  result[blockName].add(uniqueId);
+  return result;
+}
 /**
- * List of reusable blocks shown in the "Reusable" tab of the inserter.
+ * A React hook for keeping track of blocks previously rendered up in the block
+ * tree. Blocks susceptible to recursion can use this hook in their `Edit`
+ * function to prevent said recursion.
  *
- * @param {Object}   props              Component props.
- * @param {?string}  props.rootClientId Client id of block to insert into.
- * @param {Function} props.onInsert     Callback to run when item is inserted.
- * @param {Function} props.onHover      Callback to run when item is hovered.
+ * @param {*}      uniqueId  Any value that acts as a unique identifier for a block instance.
+ * @param {string} blockName Optional block name.
  *
- * @return {WPComponent} The component.
+ * @return {[boolean, Function]} A tuple of:
+ *                               - a boolean describing whether the provided id
+ *                                 has already been rendered;
+ *                               - a React context provider to be used to wrap
+ *                                 other elements.
  */


-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,
-    rootClientId: rootClientId
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__manage-reusable-blocks-container"
-  }, Object(external_wp_element_["createElement"])("a", {
-    className: "block-editor-inserter__manage-reusable-blocks",
-    href: Object(external_wp_url_["addQueryArgs"])('edit.php', {
-      post_type: 'wp_block'
-    })
-  }, Object(external_wp_i18n_["__"])('Manage Reusable blocks'))));
+function useNoRecursiveRenders(uniqueId) {
+  var _previouslyRenderedBl;
+
+  let blockName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
+  const previouslyRenderedBlocks = (0,external_wp_element_namespaceObject.useContext)(RenderedRefsContext);
+  const {
+    name
+  } = useBlockEditContext();
+  blockName = blockName || name;
+  const hasAlreadyRendered = Boolean((_previouslyRenderedBl = previouslyRenderedBlocks[blockName]) === null || _previouslyRenderedBl === void 0 ? void 0 : _previouslyRenderedBl.has(uniqueId));
+  const newRenderedBlocks = (0,external_wp_element_namespaceObject.useMemo)(() => addToBlockType(previouslyRenderedBlocks, blockName, uniqueId), [previouslyRenderedBlocks, blockName, uniqueId]);
+  const Provider = (0,external_wp_element_namespaceObject.useCallback)(_ref => {
+    let {
+      children
+    } = _ref;
+    return (0,external_wp_element_namespaceObject.createElement)(RenderedRefsContext.Provider, {
+      value: newRenderedBlocks
+    }, children);
+  }, [newRenderedBlocks]);
+  return [hasAlreadyRendered, Provider];
 }
-/* harmony default export */ var reusable_blocks_tab = (ReusableBlocksTab);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/search-results.js
-var search_results = __webpack_require__("Wg7J");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/index.js
+/*
+ * Block Creation Components
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/tabs.js


-/**
- * WordPress dependencies
- */



-const tabs_blocksTab = {
-  name: 'blocks',

-  /* translators: Blocks tab title in the block inserter. */
-  title: Object(external_wp_i18n_["__"])('Blocks')
-};
-const tabs_patternsTab = {
-  name: 'patterns',

-  /* translators: Patterns tab title in the block inserter. */
-  title: Object(external_wp_i18n_["__"])('Patterns')
-};
-const tabs_reusableBlocksTab = {
-  name: 'reusable',

-  /* translators: Reusable blocks tab title in the block inserter. */
-  title: Object(external_wp_i18n_["__"])('Reusable')
-};

-function InserterTabs(_ref) {
-  let {
-    children,
-    showPatterns = false,
-    showReusableBlocks = false,
-    onSelect
-  } = _ref;
-  const tabs = Object(external_wp_element_["useMemo"])(() => {
-    const tempTabs = [tabs_blocksTab];

-    if (showPatterns) {
-      tempTabs.push(tabs_patternsTab);
-    }

-    if (showReusableBlocks) {
-      tempTabs.push(tabs_reusableBlocksTab);
-    }

-    return tempTabs;
-  }, [tabs_blocksTab, showPatterns, tabs_patternsTab, showReusableBlocks, tabs_reusableBlocksTab]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["TabPanel"], {
-    className: "block-editor-inserter__tabs",
-    tabs: tabs,
-    onSelect: onSelect
-  }, children);
-}

-/* harmony default export */ var inserter_tabs = (InserterTabs);

-// EXTERNAL MODULE: ./node_modules/@wordpress/block-editor/build-module/store/index.js + 4 modules
-var store = __webpack_require__("BhPs");

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js


-/**
- * WordPress dependencies
- */




-/**
- * Internal dependencies
- */



@@ -49793,218 +45952,36 @@ var store = __webpack_require__("BhPs");



-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);
-  const [destinationRootClientId, onInsertBlocks, onToggleInsertionPoint] = Object(use_insertion_point["a" /* default */])({
-    rootClientId,
-    clientId,
-    isAppender,
-    insertionIndex: __experimentalInsertionIndex,
-    shouldFocusBlock
-  });
-  const {
-    showPatterns,
-    hasReusableBlocks
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _getSettings$__experi;

-    const {
-      __experimentalGetAllowedPatterns,
-      getSettings
-    } = select(store["a" /* store */]);
-    return {
-      showPatterns: !!__experimentalGetAllowedPatterns(destinationRootClientId).length,
-      hasReusableBlocks: !!((_getSettings$__experi = getSettings().__experimentalReusableBlocks) !== null && _getSettings$__experi !== void 0 && _getSettings$__experi.length)
-    };
-  }, [destinationRootClientId]);
-  const onInsert = Object(external_wp_element_["useCallback"])((blocks, meta, shouldForceFocusBlock) => {
-    onInsertBlocks(blocks, meta, shouldForceFocusBlock);
-    onSelect();
-  }, [onInsertBlocks, onSelect]);
-  const onInsertPattern = Object(external_wp_element_["useCallback"])((blocks, patternName) => {
-    onInsertBlocks(blocks, {
-      patternName
-    });
-    onSelect();
-  }, [onInsertBlocks, onSelect]);
-  const onHover = Object(external_wp_element_["useCallback"])(item => {
-    onToggleInsertionPoint(!!item);
-    setHoveredItem(item);
-  }, [onToggleInsertionPoint, setHoveredItem]);
-  const onClickPatternCategory = Object(external_wp_element_["useCallback"])(patternCategory => {
-    setSelectedPatternCategory(patternCategory);
-  }, [setSelectedPatternCategory]);
-  const blocksTab = Object(external_wp_element_["useMemo"])(() => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__block-list"
-  }, Object(external_wp_element_["createElement"])(block_types_tab, {
-    rootClientId: destinationRootClientId,
-    onInsert: onInsert,
-    onHover: onHover,
-    showMostUsedBlocks: showMostUsedBlocks
-  })), showInserterHelpPanel && Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__tips"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    as: "h2"
-  }, Object(external_wp_i18n_["__"])('A tip for using the block editor')), Object(external_wp_element_["createElement"])(tips, null))), [destinationRootClientId, onInsert, onHover, filterValue, showMostUsedBlocks, showInserterHelpPanel]);
-  const patternsTab = Object(external_wp_element_["useMemo"])(() => Object(external_wp_element_["createElement"])(block_patterns_tab, {
-    rootClientId: destinationRootClientId,
-    onInsert: onInsertPattern,
-    onClickCategory: onClickPatternCategory,
-    selectedCategory: selectedPatternCategory
-  }), [destinationRootClientId, onInsertPattern, onClickPatternCategory, selectedPatternCategory]);
-  const reusableBlocksTab = Object(external_wp_element_["useMemo"])(() => Object(external_wp_element_["createElement"])(reusable_blocks_tab, {
-    rootClientId: destinationRootClientId,
-    onInsert: onInsert,
-    onHover: onHover
-  }), [destinationRootClientId, onInsert, onHover]);
-  const getCurrentTab = Object(external_wp_element_["useCallback"])(tab => {
-    if (tab.name === 'blocks') {
-      return blocksTab;
-    } else if (tab.name === 'patterns') {
-      return patternsTab;
-    }

-    return reusableBlocksTab;
-  }, [blocksTab, patternsTab, reusableBlocksTab]);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__menu"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__main-area"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "block-editor-inserter__content"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SearchControl"], {
-    className: "block-editor-inserter__search",
-    onChange: value => {
-      if (hoveredItem) setHoveredItem(null);
-      setFilterValue(value);
-    },
-    value: filterValue,
-    label: Object(external_wp_i18n_["__"])('Search for blocks and patterns'),
-    placeholder: Object(external_wp_i18n_["__"])('Search')
-  }), !!filterValue && Object(external_wp_element_["createElement"])(search_results["a" /* default */], {
-    filterValue: filterValue,
-    onSelect: onSelect,
-    onHover: onHover,
-    rootClientId: rootClientId,
-    clientId: clientId,
-    isAppender: isAppender,
-    __experimentalInsertionIndex: __experimentalInsertionIndex,
-    showBlockDirectory: true,
-    shouldFocusBlock: shouldFocusBlock
-  }), !filterValue && (showPatterns || hasReusableBlocks) && Object(external_wp_element_["createElement"])(inserter_tabs, {
-    showPatterns: showPatterns,
-    showReusableBlocks: hasReusableBlocks
-  }, getCurrentTab), !filterValue && !showPatterns && !hasReusableBlocks && blocksTab)), showInserterHelpPanel && hoveredItem && Object(external_wp_element_["createElement"])(preview_panel, {
-    item: hoveredItem
-  }));
-}

-/* harmony default export */ var menu = __webpack_exports__["a"] = (InserterMenu);


-/***/ }),

-/***/ "xkPd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("gdqT");
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__);



-/**
- * WordPress dependencies
- */




-function InserterListboxGroup(props, ref) {
-  const [shouldSpeak, setShouldSpeak] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useState"])(false);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    if (shouldSpeak) {
-      Object(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__["speak"])(Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_2__["__"])('Use left and right arrow keys to move through blocks'));
-    }
-  }, [shouldSpeak]);
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    ref: ref,
-    role: "listbox",
-    "aria-orientation": "horizontal",
-    onFocus: () => {
-      setShouldSpeak(true);
-    },
-    onBlur: event => {
-      const focusingOutsideGroup = !event.currentTarget.contains(event.relatedTarget);

-      if (focusingOutsideGroup) {
-        setShouldSpeak(false);
-      }
-    }
-  }, props));
-}

-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])(InserterListboxGroup));


-/***/ }),

-/***/ "yU1v":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* unused harmony export PanelColorGradientSettingsInner */
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("dchM");
-/* harmony import */ var _colors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("bVpQ");
-/* harmony import */ var _gradients__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("Cn0l");
-/* harmony import */ var _use_setting__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("v5LD");
-/* harmony import */ var _use_common_single_multiple_selects__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("pY5h");
-/* harmony import */ var _use_multiple_origin_colors_and_gradients__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("0LBR");



-/**
- * External dependencies
- */


-/**
- * WordPress dependencies
- */



-/**
- * Internal dependencies
+/*
+ * Content Related Components
  */


@@ -50012,499 +45989,403 @@ function InserterListboxGroup(props, ref) {



- // translators: first %s: The type of color or gradient (e.g. background, overlay...), second %s: the color name or value (e.g. red or #ff0000)

-const colorIndicatorAriaLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('(%s: color %s)'); // translators: first %s: The type of color or gradient (e.g. background, overlay...), second %s: the color name or value (e.g. red or #ff0000)


-const gradientIndicatorAriaLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["__"])('(%s: gradient %s)');

-const colorsAndGradientKeys = ['colors', 'disableCustomColors', 'gradients', 'disableCustomGradients'];

-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;
-    }

-    let ariaLabel;

-    if (colorValue) {
-      const colorObject = Object(_colors__WEBPACK_IMPORTED_MODULE_7__[/* getColorObjectByColorValue */ "c"])(availableColors || colors, colorValue);
-      ariaLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["sprintf"])(colorIndicatorAriaLabel, label.toLowerCase(), colorObject && colorObject.name || colorValue);
-    } else {
-      const gradientObject = Object(_gradients__WEBPACK_IMPORTED_MODULE_8__[/* __experimentalGetGradientObjectByGradientValue */ "b"])(availableGradients || gradients, colorValue);

-      ariaLabel = Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_5__["sprintf"])(gradientIndicatorAriaLabel, label.toLowerCase(), gradientObject && gradientObject.name || gradientValue);
-    }

-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["ColorIndicator"], {
-      key: index,
-      colorValue: colorValue || gradientValue,
-      "aria-label": ariaLabel
-    });
-  });
-};

-const PanelColorGradientSettingsInner = _ref3 => {
-  let {
-    className,
-    colors,
-    gradients,
-    disableCustomColors,
-    disableCustomGradients,
-    children,
-    settings,
-    title,
-    showTitle = true,
-    __experimentalHasMultipleOrigins,
-    __experimentalIsRenderedInSidebar,
-    enableAlpha,
-    ...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;
-  }

-  const titleElement = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("span", {
-    className: "block-editor-panel-color-gradient-settings__panel-title"
-  }, title, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(Indicators, {
-    colors: colors,
-    gradients: gradients,
-    settings: settings
-  }));
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["PanelBody"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('block-editor-panel-color-gradient-settings', className),
-    title: showTitle ? titleElement : undefined
-  }, props), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_dropdown__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], {
-    settings: settings,
-    colors,
-    gradients,
-    disableCustomColors,
-    disableCustomGradients,
-    __experimentalHasMultipleOrigins,
-    __experimentalIsRenderedInSidebar,
-    enableAlpha
-  }), !!children && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__["__experimentalSpacer"], {
-    marginY: 4
-  }), " ", children));
-};

-const PanelColorGradientSettingsSingleSelect = props => {
-  const colorGradientSettings = Object(_use_common_single_multiple_selects__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"])();
-  colorGradientSettings.colors = Object(_use_setting__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"])('color.palette');
-  colorGradientSettings.gradients = Object(_use_setting__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"])('color.gradients');
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(PanelColorGradientSettingsInner, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, colorGradientSettings, props));
-};

-const PanelColorGradientSettingsMultipleSelect = props => {
-  const colorGradientSettings = Object(_use_multiple_origin_colors_and_gradients__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"])();
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(PanelColorGradientSettingsInner, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, colorGradientSettings, props));
-};

-const PanelColorGradientSettings = props => {
-  if (Object(lodash__WEBPACK_IMPORTED_MODULE_3__["every"])(colorsAndGradientKeys, key => props.hasOwnProperty(key))) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(PanelColorGradientSettingsInner, props);
-  }

-  if (props.__experimentalHasMultipleOrigins) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(PanelColorGradientSettingsMultipleSelect, props);
-  }

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(PanelColorGradientSettingsSingleSelect, props);
-};

-/* harmony default export */ __webpack_exports__["a"] = (PanelColorGradientSettings);


-/***/ }),

-/***/ "ywyh":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["apiFetch"]; }());

-/***/ }),

-/***/ "z+q2":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useFocusFirstElement; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1CF3");
-/* harmony import */ var _wordpress_dom__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_dom__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _utils_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("OL6h");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("BhPs");
-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
+
+
+/*
+ * State Related Components
  */




+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/theme.js
 /**
  * Internal dependencies
  */

-
-
-/** @typedef {import('@wordpress/element').RefObject} RefObject */
-
 /**
- * Returns the initial position if the block needs to be focussed, `undefined`
- * otherwise. The initial position is either 0 (start) or -1 (end).
+ * Given an array of theme colors checks colors for validity
  *
- * @param {string} clientId Block client ID.
+ * @param {Array} colors The array of theme colors
  *
- * @return {number} The initial position, either 0 (start) or -1 (end).
+ * @return {Array} The array of valid theme colors or the default colors
  */

-function useInitialPosition(clientId) {
-  return Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_3__["useSelect"])(select => {
-    const {
-      getSelectedBlocksInitialCaretPosition,
-      isMultiSelecting,
-      isNavigationMode,
-      isBlockSelected
-    } = select(_store__WEBPACK_IMPORTED_MODULE_5__[/* store */ "a"]);
+function validateThemeColors(colors) {
+  if (colors === undefined) {
+    colors = SETTINGS_DEFAULTS.colors;
+  } else {
+    const validColors = colors.filter(c => c.color);

-    if (!isBlockSelected(clientId)) {
-      return;
+    if (validColors.length === 0) {
+      colors = SETTINGS_DEFAULTS.colors;
+    } else if (validColors.length < colors.length) {
+      // Filter out invalid colors
+      colors = validColors;
     }
+  }

-    if (isMultiSelecting() || isNavigationMode()) {
-      return;
-    } // If there's no initial position, return 0 to focus the start.
-
-
-    return getSelectedBlocksInitialCaretPosition();
-  }, [clientId]);
+  return colors;
 }
 /**
- * Transitions focus to the block or inner tabbable when the block becomes
- * selected and an initial position is set.
+ * Given an array of theme gradients checks gradients for validity
  *
- * @param {string} clientId Block client ID.
+ * @param {Array} gradients The array of theme gradients
  *
- * @return {RefObject} React ref with the block element.
+ * @return {Array} The array of valid theme gradients or the default gradients
  */

+function validateThemeGradients(gradients) {
+  if (gradients === undefined) {
+    gradients = SETTINGS_DEFAULTS.gradients;
+  } else {
+    const validGradients = gradients.filter(c => c.gradient);

-function useFocusFirstElement(clientId) {
-  const ref = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useRef"])();
-  const initialPosition = useInitialPosition(clientId);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(() => {
-    if (initialPosition === undefined || initialPosition === null) {
-      return;
+    if (validGradients.length === 0) {
+      gradients = SETTINGS_DEFAULTS.gradients;
+    } else if (validGradients.length < gradients.length) {
+      // Filter out invalid gradients
+      gradients = validGradients;
     }
+  }

-    if (!ref.current) {
-      return;
-    }
+  return gradients;
+}

-    const {
-      ownerDocument
-    } = ref.current; // Do not focus the block if it already contains the active element.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/parse-css-unit-to-px.js
+/**
+ * Converts string to object { value, unit }.
+ *
+ * @param {string} cssUnit
+ * @return {Object} parsedUnit
+ */
+function parseUnit(cssUnit) {
+  const match = cssUnit === null || cssUnit === void 0 ? void 0 : cssUnit.trim().match(/^(0?[-.]?\d+)(r?e[m|x]|v[h|w|min|max]+|p[x|t|c]|[c|m]m|%|in|ch|Q|lh)$/);

-    if (ref.current.contains(ownerDocument.activeElement)) {
-      return;
-    } // Find all tabbables within node.
+  if (!isNaN(cssUnit) && !isNaN(parseFloat(cssUnit))) {
+    return {
+      value: parseFloat(cssUnit),
+      unit: 'px'
+    };
+  }

+  return match ? {
+    value: parseFloat(match[1]) || match[1],
+    unit: match[2]
+  } : {
+    value: cssUnit,
+    unit: undefined
+  };
+}
+/**
+ * Evaluate a math expression.
+ *
+ * @param {string} expression
+ * @return {number} evaluated expression.
+ */

-    const textInputs = _wordpress_dom__WEBPACK_IMPORTED_MODULE_2__["focus"].tabbable.find(ref.current).filter(node => Object(_wordpress_dom__WEBPACK_IMPORTED_MODULE_2__["isTextField"])(node)); // If reversed (e.g. merge via backspace), use the last in the set of
-    // tabbables.

-    const isReverse = -1 === initialPosition;
-    const target = (isReverse ? lodash__WEBPACK_IMPORTED_MODULE_0__["last"] : lodash__WEBPACK_IMPORTED_MODULE_0__["first"])(textInputs) || ref.current;
+function calculate(expression) {
+  return Function(`'use strict'; return (${expression})`)();
+}
+/**
+ * Calculates the css function value for the supported css functions such as max, min, clamp and calc.
+ *
+ * @param {string} functionUnitValue string should be in a particular format (for example min(12px,12px) ) no nested loops.
+ * @param {Object} options
+ * @return {string} unit containing the unit in PX.
+ */

-    if (!Object(_utils_dom__WEBPACK_IMPORTED_MODULE_4__[/* isInsideRootBlock */ "c"])(ref.current, target)) {
-      ref.current.focus();
-      return;
-    }

-    Object(_wordpress_dom__WEBPACK_IMPORTED_MODULE_2__["placeCaretAtHorizontalEdge"])(target, isReverse);
-  }, [initialPosition]);
-  return ref;
-}
+function getFunctionUnitValue(functionUnitValue, options) {
+  const functionUnit = functionUnitValue.split(/[(),]/g).filter(Boolean);
+  const units = functionUnit.slice(1).map(unit => parseUnit(getPxFromCssUnit(unit, options)).value).filter(Boolean);

+  switch (functionUnit[0]) {
+    case 'min':
+      return Math.min(...units) + 'px';

-/***/ }),
+    case 'max':
+      return Math.max(...units) + 'px';

-/***/ "zQI6":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    case 'clamp':
+      if (units.length !== 3) {
+        return null;
+      }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return useBlockSelectionClearer; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockSelectionClearer; });
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("BhPs");
+      if (units[1] < units[0]) {
+        return units[0] + 'px';
+      }

+      if (units[1] > units[2]) {
+        return units[2] + 'px';
+      }

+      return units[1] + 'px';

+    case 'calc':
+      return units[0] + 'px';
+  }
+}
 /**
- * WordPress dependencies
+ * Take a css function such as min, max, calc, clamp and returns parsedUnit
+ *
+ * How this works for the nested function is that it first replaces the inner function call.
+ * Then it tackles the outer onces.
+ * So for example: min( max(25px, 35px), 40px )
+ * in the first pass we would replace max(25px, 35px) with 35px.
+ * then we would try to evaluate min( 35px, 40px )
+ * and then finally return 35px.
+ *
+ * @param {string} cssUnit
+ * @return {Object} parsedUnit object.
  */


+function parseUnitFunction(cssUnit) {
+  while (true) {
+    const currentCssUnit = cssUnit;
+    const regExp = /(max|min|calc|clamp)\(([^()]*)\)/g;
+    const matches = regExp.exec(cssUnit) || [];
+
+    if (matches[0]) {
+      const functionUnitValue = getFunctionUnitValue(matches[0]);
+      cssUnit = cssUnit.replace(matches[0], functionUnitValue);
+    } // if the unit hasn't been modified or we have a single value break free.
+
+
+    if (cssUnit === currentCssUnit || parseFloat(cssUnit)) {
+      break;
+    }
+  }
+
+  return parseUnit(cssUnit);
+}
 /**
- * Internal dependencies
+ * Return true if we think this is a math expression.
+ *
+ * @param {string} cssUnit the cssUnit value being evaluted.
+ * @return {boolean} Whether the cssUnit is a math expression.
  */


+function isMathExpression(cssUnit) {
+  for (let i = 0; i < cssUnit.length; i++) {
+    if (['+', '-', '/', '*'].includes(cssUnit[i])) {
+      return true;
+    }
+  }
+
+  return false;
+}
 /**
- * Pass the returned ref callback to an element that should clear block
- * selection. Selection will only be cleared if the element is clicked directly,
- * not if a child element is clicked.
+ * Evaluates the math expression and return a px value.
  *
- * @return {import('react').RefCallback} Ref callback.
+ * @param {string} cssUnit the cssUnit value being evaluted.
+ * @return {string} return a converfted value to px.
  */

-function useBlockSelectionClearer() {
-  const {
-    hasSelectedBlock,
-    hasMultiSelection
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useSelect"])(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]);
-  const {
-    clearSelectedBlock
-  } = Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_2__["useDispatch"])(_store__WEBPACK_IMPORTED_MODULE_4__[/* store */ "a"]);
-  return Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_3__["useRefEffect"])(node => {
-    function onMouseDown(event) {
-      if (!hasSelectedBlock() && !hasMultiSelection()) {
-        return;
-      } // Only handle clicks on the element, not the children.

+function evalMathExpression(cssUnit) {
+  let errorFound = false; // Convert every part of the expression to px values.
+
+  const cssUnitsBits = cssUnit.split(/[+-/*/]/g).filter(Boolean);

-      if (event.target !== node) {
-        return;
-      }
+  for (const unit of cssUnitsBits) {
+    // Standardize the unit to px and extract the value.
+    const parsedUnit = parseUnit(getPxFromCssUnit(unit));

-      clearSelectedBlock();
+    if (!parseFloat(parsedUnit.value)) {
+      errorFound = true; // end early since we are dealing with a null value.
+
+      break;
     }

-    node.addEventListener('mousedown', onMouseDown);
-    return () => {
-      node.removeEventListener('mousedown', onMouseDown);
-    };
-  }, [hasSelectedBlock, hasMultiSelection, clearSelectedBlock]);
-}
-function BlockSelectionClearer(props) {
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    ref: useBlockSelectionClearer()
-  }, props));
-}
+    cssUnit = cssUnit.replace(unit, parsedUnit.value);
+  }

+  return errorFound ? null : calculate(cssUnit).toFixed(0) + 'px';
+}
+/**
+ * Convert a parsedUnit object to px value.
+ *
+ * @param {Object} parsedUnit
+ * @param {Object} options
+ * @return {string} or {null} returns the converted with in a px value format.
+ */

-/***/ }),

-/***/ "ziDm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function convertParsedUnitToPx(parsedUnit, options) {
+  const PIXELS_PER_INCH = 96;
+  const ONE_PERCENT = 0.01;
+  const defaultProperties = {
+    fontSize: 16,
+    lineHeight: 16,
+    width: 375,
+    height: 812,
+    type: 'font'
+  };
+  const setOptions = Object.assign({}, defaultProperties, options);
+  const relativeUnits = {
+    em: setOptions.fontSize,
+    rem: setOptions.fontSize,
+    vh: setOptions.height * ONE_PERCENT,
+    vw: setOptions.width * ONE_PERCENT,
+    vmin: (setOptions.width < setOptions.height ? setOptions.width : setOptions.height) * ONE_PERCENT,
+    vmax: (setOptions.width > setOptions.height ? setOptions.width : setOptions.height) * ONE_PERCENT,
+    '%': (setOptions.type === 'font' ? setOptions.fontSize : setOptions.width) * ONE_PERCENT,
+    ch: 8,
+    // The advance measure (width) of the glyph "0" of the element's font. Approximate
+    ex: 7.15625,
+    // x-height of the element's font. Approximate
+    lh: setOptions.lineHeight
+  };
+  const absoluteUnits = {
+    in: PIXELS_PER_INCH,
+    cm: PIXELS_PER_INCH / 2.54,
+    mm: PIXELS_PER_INCH / 25.4,
+    pt: PIXELS_PER_INCH / 72,
+    pc: PIXELS_PER_INCH / 6,
+    px: 1,
+    Q: PIXELS_PER_INCH / 2.54 / 40
+  };

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  if (relativeUnits[parsedUnit.unit]) {
+    return (relativeUnits[parsedUnit.unit] * parsedUnit.value).toFixed(0) + 'px';
+  }

+  if (absoluteUnits[parsedUnit.unit]) {
+    return (absoluteUnits[parsedUnit.unit] * parsedUnit.value).toFixed(0) + 'px';
+  }

+  return null;
+}
 /**
- * WordPress dependencies
+ * Returns the px value of a cssUnit.
+ *
+ * @param {string} cssUnit
+ * @param {Object} options
+ * @return {string} returns the cssUnit value in a simple px format.
  */

-const alignRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (alignRight);

+function getPxFromCssUnit(cssUnit) {
+  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

-/***/ }),
+  if (Number.isFinite(cssUnit)) {
+    return cssUnit.toFixed(0) + 'px';
+  }

-/***/ "zmSX":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (cssUnit === undefined) {
+    return null;
+  }

-"use strict";
-/* harmony import */ var _use_gradient__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("Cn0l");
-/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _use_gradient__WEBPACK_IMPORTED_MODULE_0__["a"]; });
+  let parsedUnit = parseUnit(cssUnit);

-/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _use_gradient__WEBPACK_IMPORTED_MODULE_0__["b"]; });
+  if (!parsedUnit.unit) {
+    parsedUnit = parseUnitFunction(cssUnit, options);
+  }

-/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _use_gradient__WEBPACK_IMPORTED_MODULE_0__["c"]; });
+  if (isMathExpression(cssUnit) && !parsedUnit.unit) {
+    return evalMathExpression(cssUnit);
+  }

-/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "d", function() { return _use_gradient__WEBPACK_IMPORTED_MODULE_0__["d"]; });
+  return convertParsedUnitToPx(parsedUnit, options);
+} // Use simple cache.

-/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "e", function() { return _use_gradient__WEBPACK_IMPORTED_MODULE_0__["e"]; });
+const cache = {};
+/**
+ * Returns the px value of a cssUnit. The memoized version of getPxFromCssUnit;
+ *
+ * @param {string} cssUnit
+ * @param {Object} options
+ * @return {string} returns the cssUnit value in a simple px format.
+ */

+function memoizedGetPxFromCssUnit(cssUnit) {
+  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  const hash = cssUnit + hashOptions(options);

+  if (!cache[hash]) {
+    cache[hash] = getPxFromCssUnit(cssUnit, options);
+  }

+  return cache[hash];
+}

-/***/ }),
+function hashOptions(options) {
+  let hash = '';

-/***/ "zt9T":
-/***/ (function(module, exports, __webpack_require__) {
+  if (options.hasOwnProperty('fontSize')) {
+    hash = ':' + options.width;
+  }

-"use strict";
+  if (options.hasOwnProperty('lineHeight')) {
+    hash = ':' + options.lineHeight;
+  }

+  if (options.hasOwnProperty('width')) {
+    hash = ':' + options.width;
+  }

-var util = __webpack_require__("jB5C");
+  if (options.hasOwnProperty('height')) {
+    hash = ':' + options.height;
+  }

-function scrollIntoView(elem, container, config) {
-  config = config || {};
-  // document 归一化到 window
-  if (container.nodeType === 9) {
-    container = util.getWindow(container);
+  if (options.hasOwnProperty('type')) {
+    hash = ':' + options.type;
   }

-  var allowHorizontalScroll = config.allowHorizontalScroll;
-  var onlyScrollIfNeeded = config.onlyScrollIfNeeded;
-  var alignWithTop = config.alignWithTop;
-  var alignWithLeft = config.alignWithLeft;
-  var offsetTop = config.offsetTop || 0;
-  var offsetLeft = config.offsetLeft || 0;
-  var offsetBottom = config.offsetBottom || 0;
-  var offsetRight = config.offsetRight || 0;
+  return hash;
+}

-  allowHorizontalScroll = allowHorizontalScroll === undefined ? true : allowHorizontalScroll;
+/* harmony default export */ var parse_css_unit_to_px = (memoizedGetPxFromCssUnit);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/utils/index.js
+
+
+
+
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/index.js
+/**
+ * Internal dependencies
+ */

-  var isWin = util.isWindow(container);
-  var elemOffset = util.offset(elem);
-  var eh = util.outerHeight(elem);
-  var ew = util.outerWidth(elem);
-  var containerOffset = undefined;
-  var ch = undefined;
-  var cw = undefined;
-  var containerScroll = undefined;
-  var diffTop = undefined;
-  var diffBottom = undefined;
-  var win = undefined;
-  var winScroll = undefined;
-  var ww = undefined;
-  var wh = undefined;

-  if (isWin) {
-    win = container;
-    wh = util.height(win);
-    ww = util.width(win);
-    winScroll = {
-      left: util.scrollLeft(win),
-      top: util.scrollTop(win)
-    };
-    // elem 相对 container 可视视窗的距离
-    diffTop = {
-      left: elemOffset.left - winScroll.left - offsetLeft,
-      top: elemOffset.top - winScroll.top - offsetTop
-    };
-    diffBottom = {
-      left: elemOffset.left + ew - (winScroll.left + ww) + offsetRight,
-      top: elemOffset.top + eh - (winScroll.top + wh) + offsetBottom
-    };
-    containerScroll = winScroll;
-  } else {
-    containerOffset = util.offset(container);
-    ch = container.clientHeight;
-    cw = container.clientWidth;
-    containerScroll = {
-      left: container.scrollLeft,
-      top: container.scrollTop
-    };
-    // elem 相对 container 可视视窗的距离
-    // 注意边框, offset 是边框到根节点
-    diffTop = {
-      left: elemOffset.left - (containerOffset.left + (parseFloat(util.css(container, 'borderLeftWidth')) || 0)) - offsetLeft,
-      top: elemOffset.top - (containerOffset.top + (parseFloat(util.css(container, 'borderTopWidth')) || 0)) - offsetTop
-    };
-    diffBottom = {
-      left: elemOffset.left + ew - (containerOffset.left + cw + (parseFloat(util.css(container, 'borderRightWidth')) || 0)) + offsetRight,
-      top: elemOffset.top + eh - (containerOffset.top + ch + (parseFloat(util.css(container, 'borderBottomWidth')) || 0)) + offsetBottom
-    };
-  }

-  if (diffTop.top < 0 || diffBottom.top > 0) {
-    // 强制向上
-    if (alignWithTop === true) {
-      util.scrollTop(container, containerScroll.top + diffTop.top);
-    } else if (alignWithTop === false) {
-      util.scrollTop(container, containerScroll.top + diffBottom.top);
-    } else {
-      // 自动调整
-      if (diffTop.top < 0) {
-        util.scrollTop(container, containerScroll.top + diffTop.top);
-      } else {
-        util.scrollTop(container, containerScroll.top + diffBottom.top);
-      }
-    }
-  } else {
-    if (!onlyScrollIfNeeded) {
-      alignWithTop = alignWithTop === undefined ? true : !!alignWithTop;
-      if (alignWithTop) {
-        util.scrollTop(container, containerScroll.top + diffTop.top);
-      } else {
-        util.scrollTop(container, containerScroll.top + diffBottom.top);
-      }
-    }
-  }

-  if (allowHorizontalScroll) {
-    if (diffTop.left < 0 || diffBottom.left > 0) {
-      // 强制向上
-      if (alignWithLeft === true) {
-        util.scrollLeft(container, containerScroll.left + diffTop.left);
-      } else if (alignWithLeft === false) {
-        util.scrollLeft(container, containerScroll.left + diffBottom.left);
-      } else {
-        // 自动调整
-        if (diffTop.left < 0) {
-          util.scrollLeft(container, containerScroll.left + diffTop.left);
-        } else {
-          util.scrollLeft(container, containerScroll.left + diffBottom.left);
-        }
-      }
-    } else {
-      if (!onlyScrollIfNeeded) {
-        alignWithLeft = alignWithLeft === undefined ? true : !!alignWithLeft;
-        if (alignWithLeft) {
-          util.scrollLeft(container, containerScroll.left + diffTop.left);
-        } else {
-          util.scrollLeft(container, containerScroll.left + diffBottom.left);
-        }
-      }
-    }
-  }
-}

-module.exports = scrollIntoView;

-/***/ })

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).blockEditor = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js
index 4fea7dbcb3..c076095879 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"),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=>`<img src="${Object(u.createBlobURL)(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<c.length;o++)n=c[o],t.indexOf(n)>=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)}))},I=n("7NR9");function x(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)(I.a,{clientId:c,onSwitch:n,onHoverClassName:a,itemRole:"menuitem"}))}var B=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)(M,{patterns:t,onSelect:n})))))}function M(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)(L,{key:e.name,pattern:e,onSelect:n,composite:c})))}function L(e){let{pattern:t,onSelect:n,composite:c}=e;const l="block-editor-block-switcher__preview-patterns-container",i=Object(a.useInstanceId)(L,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:B.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,I=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),B=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:I,...e},menuProps:{orientation:"both"}},e=>{let{onClose:c}=e;return B&&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)(x,{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,I=l()("block-editor-block-toolbar",C&&"is-showing-movers");return Object(r.createElement)("div",{className:I},!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]);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&&o<t?t-i:t)}}}function a(e,t){const n=Object(r.useSelect)(e=>e(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}))}},"0LBR":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("GRId"),r=n("l3Sj"),c=n("v5LD"),l=n("pY5h");function i(){const e=Object(l.a)(),t=Object(c.a)("color.palette.custom"),n=Object(c.a)("color.palette.theme"),i=Object(c.a)("color.palette.default"),a=Object(c.a)("color.defaultPalette");e.colors=Object(o.useMemo)(()=>{const e=[];return n&&n.length&&e.push({name:Object(r._x)("Theme","Indicates this palette comes from the theme."),colors:n}),a&&i&&i.length&&e.push({name:Object(r._x)("Default","Indicates this palette comes from WordPress."),colors:i}),t&&t.length&&e.push({name:Object(r._x)("Custom","Indicates this palette comes from the theme."),colors:t}),e},[i,n,t]);const s=Object(c.a)("color.gradients.custom"),u=Object(c.a)("color.gradients.theme"),d=Object(c.a)("color.gradients.default"),b=Object(c.a)("color.defaultGradients");return e.gradients=Object(o.useMemo)(()=>{const e=[];return u&&u.length&&e.push({name:Object(r._x)("Theme","Indicates this palette comes from the theme."),gradients:u}),b&&d&&d.length&&e.push({name:Object(r._x)("Default","Indicates this palette comes from WordPress."),gradients:d}),s&&s.length&&e.push({name:Object(r._x)("Custom","Indicates this palette is created by the user."),gradients:s}),e},[s,u,d]),e}},"14PQ":function(e,t,n){"use strict";n.d(t,"ic",(function(){return o.b})),n.d(t,"jc",(function(){return o.c})),n.d(t,"kc",(function(){return o.d})),n.d(t,"hc",(function(){return o.a})),n.d(t,"wc",(function(){return o.e})),n.d(t,"yb",(function(){return r.a})),n.d(t,"pc",(function(){return r.e})),n.d(t,"zb",(function(){return r.b})),n.d(t,"oc",(function(){return r.d})),n.d(t,"Tb",(function(){return r.c})),n.d(t,"lc",(function(){return c.b})),n.d(t,"mc",(function(){return c.c})),n.d(t,"nc",(function(){return c.d})),n.d(t,"I",(function(){return c.a})),n.d(t,"xc",(function(){return c.e})),n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return B})),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 L})),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 $})),n.d(t,"j",(function(){return Z.a})),n.d(t,"rc",(function(){return k.c})),n.d(t,"n",(function(){return C.a})),n.d(t,"r",(function(){return Ie})),n.d(t,"pb",(function(){return Be})),n.d(t,"ob",(function(){return We})),n.d(t,"qb",(function(){return Ye})),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,"vb",(function(){return bt.a})),n.d(t,"wb",(function(){return pt.a})),n.d(t,"xb",(function(){return mt.a})),n.d(t,"Fb",(function(){return ft.a})),n.d(t,"Pb",(function(){return ht.a})),n.d(t,"Qb",(function(){return gt.a})),n.d(t,"tb",(function(){return st.a})),n.d(t,"ub",(function(){return Ot.a})),n.d(t,"Mb",(function(){return vt.a})),n.d(t,"Bb",(function(){return rn})),n.d(t,"Ab",(function(){return Kt})),n.d(t,"Cb",(function(){return ln})),n.d(t,"J",(function(){return an.a})),n.d(t,"tc",(function(){return an.b})),n.d(t,"M",(function(){return sn.b})),n.d(t,"L",(function(){return sn.a})),n.d(t,"O",(function(){return un.b})),n.d(t,"N",(function(){return un.a})),n.d(t,"Hb",(function(){return Vn})),n.d(t,"Ib",(function(){return Tn})),n.d(t,"Kb",(function(){return En})),n.d(t,"Jb",(function(){return _n})),n.d(t,"P",(function(){return Gn.a})),n.d(t,"Lb",(function(){return Se})),n.d(t,"R",(function(){return $n})),n.d(t,"Q",(function(){return no})),n.d(t,"S",(function(){return Kn})),n.d(t,"T",(function(){return Yn})),n.d(t,"X",(function(){return oo})),n.d(t,"Y",(function(){return No})),n.d(t,"Ob",(function(){return Lo})),n.d(t,"ab",(function(){return To})),n.d(t,"bb",(function(){return Ao})),n.d(t,"cb",(function(){return Do})),n.d(t,"ac",(function(){return Fo})),n.d(t,"eb",(function(){return Ho})),n.d(t,"Rb",(function(){return Vo})),n.d(t,"gb",(function(){return On})),n.d(t,"hb",(function(){return qo})),n.d(t,"ib",(function(){return eo})),n.d(t,"Db",(function(){return Zo})),n.d(t,"vc",(function(){return it})),n.d(t,"Wb",(function(){return Xo.a})),n.d(t,"Zb",(function(){return Qo.a})),n.d(t,"Nb",(function(){return Jo})),n.d(t,"Vb",(function(){return er})),n.d(t,"o",(function(){return dr})),n.d(t,"p",(function(){return br.c})),n.d(t,"sc",(function(){return pr.a})),n.d(t,"Eb",(function(){return mr.b})),n.d(t,"q",(function(){return fr.a})),n.d(t,"s",(function(){return Te.a})),n.d(t,"Sb",(function(){return Te.b})),n.d(t,"t",(function(){return hr.a})),n.d(t,"bc",(function(){return hr.b})),n.d(t,"u",(function(){return gr.a})),n.d(t,"v",(function(){return Or.a})),n.d(t,"w",(function(){return F.a})),n.d(t,"x",(function(){return vr.a})),n.d(t,"y",(function(){return Cr})),n.d(t,"G",(function(){return Sr.a})),n.d(t,"dc",(function(){return Sr.b})),n.d(t,"H",(function(){return wr.a})),n.d(t,"Xb",(function(){return Ir.a})),n.d(t,"K",(function(){return xr.a})),n.d(t,"Gb",(function(){return Tr})),n.d(t,"k",(function(){return Rr})),n.d(t,"U",(function(){return Nr})),n.d(t,"V",(function(){return Mr.a})),n.d(t,"W",(function(){return Fr})),n.d(t,"gc",(function(){return Dr})),n.d(t,"ec",(function(){return Ar})),n.d(t,"Z",(function(){return zr})),n.d(t,"db",(function(){return nr})),n.d(t,"fb",(function(){return Ur})),n.d(t,"fc",(function(){return Gr})),n.d(t,"jb",(function(){return Wr.a})),n.d(t,"kb",(function(){return qr.a})),n.d(t,"cc",(function(){return Yr})),n.d(t,"qc",(function(){return ce.a})),n.d(t,"Yb",(function(){return $r.a})),n.d(t,"Ub",(function(){return Qr})),n.d(t,"l",(function(){return Jr.a})),n.d(t,"uc",(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 I=[];function x(e){let{completers:t=I}=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 B=function(e){return Object(i.createElement)(u.Autocomplete,Object(l.a)({},e,{completers:x(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})},M=n("RxS6");var L=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!==M.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)))},Y=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!==M.DOWN||(e.preventDefault(),o())},icon:Object(i.createElement)(n,null,Object(i.createElement)(t,null,Object(i.createElement)(K,null)))}))}};var $=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:Y(n),renderContent:()=>t})},Z=n("JRTi"),X=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(),I=b&&d>0,x=V()("block-editor-list-view-block__mover-cell",{"is-visible":h||o}),B=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]),M=Object(i.useCallback)(e=>{e.stopPropagation(),!0===m?w(O):!1===m&&C(O)},[O,C,w,m]),L=j&&(!y||y&&a>1),A=j&&!L;let D;I?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:M,isSelected:o,position:l,siblingBlockCount:d,level:a,ref:n,tabIndex:r,onFocus:c}))}),I&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.__experimentalTreeGridCell,{className:x,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})}))),L&&Object(i.createElement)(u.__experimentalTreeGridCell,{className:B},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,I=w?null===(d=p[v])||void 0===d||d:void 0,x=!(null==m||!m.includes(v)),B=x||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},B&&Object(i.createElement)(pe,{block:e,selectBlock:n,isSelected:T,isBranchSelected:P,isDragged:x,level:l,position:C,rowCount:g,siblingBlockCount:g,showBlockMovers:o,path:S,isExpanded:I,listPosition:O}),!B&&Object(i.createElement)("tr",null,Object(i.createElement)("td",{className:"block-editor-list-view-placeholder"})),w&&I&&!x&&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||a<r||u){r=a;const t=e.indexOf(l),d=e[t-1];if("top"===s&&d&&d.rootClientId===l.rootClientId&&!d.isDraggedBlock?(o=d,n="bottom",c=d.element.getBoundingClientRect()):(o=l,n=s,c=i),u)break}}if(!o)return;const l="bottom"===n;if(l&&o.canInsertDraggedBlocksAsChild&&(o.innerBlockCount>0||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),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]),I=Object(i.useRef)(!1);Object(i.useEffect)(()=>{I.current=!0},[]);const[x]=Object(Q.__experimentalUseFixedWindowList)(C,36,O,{useWindowing:c,windowOverscan:40}),B=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;B(null==e||null===(t=e.dataset)||void 0===t?void 0:t.block)},[B]),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:I.current,draggedClientIds:f,expandedState:j,expand:B,collapse:T}),[r,c,a,I.current,f,j,B,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:x,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:X.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 Ie=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}))})})),xe=n("Civd");var Be=function(e){let{icon:t=xe.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"),Me=n("b2RC");const Le="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===Le,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(Le),isPressed:b}),Object(i.createElement)(u.Button,{icon:Me.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===Le){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)(Le),[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 Ye=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 $e=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"})),Ze=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"})),Xe={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:Ze,title:Object(s._x)("Align middle","Block vertical alignment setting")},bottom:{icon:$e,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=Xe[t],d=Xe.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{...Xe[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("dchM"),vt=n("yU1v"),jt=function(e,t){return(jt=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 kt=function(){return(kt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.create;Object.create;var _t=n("cDcd"),yt=n.n(_t),Et=n("wJiJ"),Ct=n.n(Et);function St(e,t,n,o,r,c){void 0===c&&(c=0);var l=At(e,t,c),i=l.width,a=l.height,s=Math.min(i,n),u=Math.min(a,o);return s>u*r?{width:u*r,height:u}:{width:s,height:s/r}}function wt(e,t,n,o,r){void 0===r&&(r=0);var c=At(t.width,t.height,r),l=c.width,i=c.height;return{x:It(e.x,l,n.width,o),y:It(e.y,i,n.height,o)}}function It(e,t,n,o){var r=t*o/2-n/2;return Math.min(r,Math.max(e,-r))}function xt(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function Bt(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function Tt(e,t,n,o,r,c,l){void 0===c&&(c=0),void 0===l&&(l=!0);var i=l&&0===c?Pt:Rt,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:kt(kt({},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 Pt(e,t){return Math.min(e,Math.max(0,t))}function Rt(e,t){return t}function Nt(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 Mt(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 At(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 Dt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return"string"==typeof e&&e.length>0})).join(" ").trim()}var Ft=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=Nt(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:St(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=kt({},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?wt(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=Ct()(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?wt(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?Tt(n.props.restrictPosition?wt(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?wt(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}jt(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=xt(n,o),this.lastPinchRotation=Bt(n,o),this.onDragStart(Mt(n,o))},t.prototype.onPinchMove=function(e){var n=this,o=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]),c=Mt(o,r);this.onDrag(c),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=xt(o,r),t=n.props.zoom*(e/n.lastPinchDistance);n.setNewZoom(t,c),n.lastPinchDistance=e;var l=Bt(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 yt.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:m,className:Dt("reactEasyCrop_Container",O)},n?yt.a.createElement("img",kt({alt:"",className:Dt("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:kt(kt({},h),{transform:c||"translate("+i+"px, "+a+"px) rotate("+s+"deg) scale("+u+")"}),onLoad:this.onMediaLoad})):o&&yt.a.createElement("video",kt({autoPlay:!0,loop:!0,muted:!0,className:Dt("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:kt(kt({},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 yt.a.createElement("source",kt({key:e.src},e))}))),this.state.cropSize&&yt.a.createElement("div",{style:kt(kt({},f),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:Dt("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}(yt.a.Component);const zt={position:"bottom right",isAlternate:!0};var Ht=n("ywyh"),Vt=n.n(Ht),Gt=n("onLe");function Ut(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 Wt=Object(i.createContext)({}),qt=()=>Object(i.useContext)(Wt);function Kt(e){let{id:t,url:n,naturalWidth:o,naturalHeight:r,isEditing:c,onFinishEditing:l,onSaveImage:a,children:u}=e;const d=Ut({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)(Gt.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,Vt()({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)(Wt.Provider,{value:p},u)}function Yt(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}=qt();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)(Ft,{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 Zt(){const{isInProgress:e,zoom:t,setZoom:n}=qt();return Object(i.createElement)(u.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:zt,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 Qt=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 Jt(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 en(e){let{toggleProps:t}=e;const{isInProgress:n,aspect:o,setAspect:r,defaultAspect:c}=qt();return Object(i.createElement)(u.DropdownMenu,{icon:Qt,label:Object(s.__)("Aspect Ratio"),popoverProps:zt,toggleProps:t,className:"wp-block-image__aspect-ratio"},e=>{let{onClose:t}=e;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Jt,{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)(Jt,{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)(Jt,{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 tn=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 nn(){const{isInProgress:e,rotateClockwise:t}=qt();return Object(i.createElement)(u.ToolbarButton,{icon:tn,label:Object(s.__)("Rotate"),onClick:t,disabled:e})}function on(){const{isInProgress:e,apply:t,cancel:n}=qt();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 rn(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)(Yt,{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)(Zt,null),Object(i.createElement)(u.ToolbarItem,null,e=>Object(i.createElement)(en,{toggleProps:e})),Object(i.createElement)(nn,null)),Object(i.createElement)(u.ToolbarGroup,null,Object(i.createElement)(on,null))))}const cn=[25,50,75,100];function ln(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")},cn.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 an=n("p3NJ"),sn=n("1oY3"),un=n("0E5u"),dn=n("btIw"),bn=n("1CF3");var pn=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)},mn=n("9Do8"),fn=n.n(mn),hn=n("Mmq9");class gn 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,fn()(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(hn.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 M.UP:0!==e.target.selectionStart&&(e.preventDefault(),e.target.setSelectionRange(0,0));break;case M.DOWN:this.props.value.length!==e.target.selectionStart&&(e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length));break;case M.ENTER:this.props.onSubmit&&this.props.onSubmit(null,e)}return}const c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case M.UP:{e.preventDefault();const t=n?n-1:o.length-1;this.setState({selectedSuggestion:t});break}case M.DOWN:{e.preventDefault();const t=null===n||n===o.length-1?0:n+1;this.setState({selectedSuggestion:t});break}case M.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(s.__)("Link selected.")));break;case M.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 On=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}}))(gn),vn=n("Q4Sy");var jn=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: <mark>%s</mark>"),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:vn.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},kn=n("K8zD");var _n=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:kn.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"},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(hn.filterURLForDisplay)(Object(hn.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 yn=[{id:"opensInNewTab",title:Object(s.__)("Open in new tab")}];function En(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)(jn,{searchTerm:o,buttonText:f,onClick:()=>r(e),key:e.type,itemProps:a(e,t),isSelected:t===b}):"__CREATE__"===e.type?null:Object(i.createElement)(_n,{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 Cn(e){const t=Object(a.startsWith)(e,"#");return Object(hn.isURL)(e)||e&&e.includes("www.")||t}const Sn=()=>Promise.resolve([]),wn=e=>{let t="URL";const n=Object(hn.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(hn.prependHTTP)(e):e,type:t}])};function In(e,t,n,o){const{fetchSearchSuggestions:r}=Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return{fetchSearchSuggestions:t().__experimentalFetchLinkSuggestions}},[]),c=t?wn:Sn;return Object(i.useCallback)((t,l)=>{let{isInitialSuggestions:i}=l;return Cn(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||Cn(e)||!r?i:i.concat({title:e,url:e,type:"__CREATE__"})})(t,{...e,isInitialSuggestions:i},r,c,n,o)},[c,r,n])}const xn=()=>Promise.resolve([]),Bn=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)(En,e)),fetchSuggestions:h=null,allowDirectEntry:g=!0,showInitialSuggestions:O=!1,suggestionsQuery:v={},withURLSuggestion:j=!0,createSuggestionButtonText:k,useLabel:_=!1}=e;const y=In(v,g,u,j),E=m?h||y:xn,C=Object(Q.useInstanceId)(Bn),[S,w]=Object(i.useState)(),I=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){}},x=V()(c,{"has-no-label":!_});return Object(i.createElement)("div",{className:"block-editor-link-control__search-input-container"},Object(i.createElement)(On,{label:_?"URL":void 0,className:x,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),I(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?I(r||{url:n}):t.preventDefault()},ref:t}),o)});var Tn=Bn,Pn=n("FnAh"),Rn=n("B9Az"),Nn=n("Mp0b");const{Slot:Mn,Fill:Ln}=Object(u.createSlotFill)("BlockEditorLinkControlViewer");function An(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 Dn=function(e){const[t,n]=Object(i.useReducer)(An,{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 Fn(e){var t;let{value:n,onEditClick:o,hasRichPreviews:r=!1,hasUnlinkControl:c=!1,onRemove:l}=e;const a=r?null==n?void 0:n.url:null,{richData:d,isFetching:b}=Dn(a),p=d&&Object.keys(d).length,m=n&&Object(hn.filterURLForDisplay)(Object(hn.safeDecodeURI)(n.url),16)||"",f=(null==d?void 0:d.title)||(null==n?void 0:n.title)||m,h=!(null!=n&&null!==(t=n.url)&&void 0!==t&&t.length);let g;return g=null!=d&&d.icon?Object(i.createElement)("img",{src:null==d?void 0:d.icon,alt:""}):h?Object(i.createElement)(A.a,{icon:Pn.a,size:32}):Object(i.createElement)(A.a,{icon:kn.a}),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":p,"is-fetching":!!b,"is-preview":!0,"is-error":h})},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==d?void 0:d.icon})},g),Object(i.createElement)("span",{className:"block-editor-link-control__search-item-details"},h?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:n.url},Object(bn.__unstableStripHTML)(f)),(null==n?void 0:n.url)&&Object(i.createElement)("span",{className:"block-editor-link-control__search-item-info"},m)))),Object(i.createElement)(u.Button,{icon:Rn.a,label:Object(s.__)("Edit"),className:"block-editor-link-control__search-item-action",onClick:o,iconSize:24}),c&&Object(i.createElement)(u.Button,{icon:Nn.a,label:Object(s.__)("Unlink"),className:"block-editor-link-control__search-item-action block-editor-link-control__unlink",onClick:l,iconSize:24}),Object(i.createElement)(Mn,{fillProps:n})),(p&&((null==d?void 0:d.image)||(null==d?void 0:d.description))||b)&&Object(i.createElement)("div",{className:"block-editor-link-control__search-item-bottom"},((null==d?void 0:d.image)||b)&&Object(i.createElement)("div",{"aria-hidden":!(null!=d&&d.image),className:V()("block-editor-link-control__search-item-image",{"is-placeholder":!(null!=d&&d.image)})},(null==d?void 0:d.image)&&Object(i.createElement)("img",{src:null==d?void 0:d.image,alt:""})),((null==d?void 0:d.description)||b)&&Object(i.createElement)("div",{"aria-hidden":!(null!=d&&d.description),className:V()("block-editor-link-control__search-item-description",{"is-placeholder":!(null!=d&&d.description)})},(null==d?void 0:d.description)&&Object(i.createElement)(u.__experimentalText,{truncate:!0,numberOfLines:"2"},d.description))))}const zn=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 Hn(e){var t,n,o;let{searchInputPlaceholder:r,value:c,settings:l=yn,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)(),I=Object(i.useRef)(),[x,B]=Object(i.useState)((null==c?void 0:c.url)||""),[T,P]=Object(i.useState)((null==c?void 0:c.title)||""),R=v||x,[N,L]=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)),L(!1)}Object(i.useEffect)(()=>{void 0!==h&&h!==N&&L(h)},[h]),Object(i.useEffect)(()=>{if(S.current)return void(S.current=!1);const e=null!=I&&I.current?1:0;(bn.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&&B(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=zn(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:I,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!==M.ENTER||D||(e.preventDefault(),U())}}),Object(i.createElement)(Tn,{currentLink:c,className:"block-editor-link-control__field block-editor-link-control__search-input",placeholder:r,value:R,withCreateSuggestion:O,onCreateSuggestion:z,onChange:B,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:dn.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)(Fn,{key:null==c?void 0:c.url,value:c,onEditClick:()=>L(!0),hasRichPreviews:y,hasUnlinkControl:W,onRemove:b}),q&&Object(i.createElement)("div",{className:"block-editor-link-control__tools"},Object(i.createElement)(pn,{value:c,settings:l,onChange:d})),C&&C())}Hn.ViewerFill=Ln;var Vn=Hn,Gn=n("weEX"),Un=n("gdqT"),Wn=n("rH4q"),qn=n("NTP4");var Kn=Object(u.withFilters)("editor.MediaUpload")(()=>null);var Yn=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(Gt.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(Un.speak)(Object(s.__)("The media file has been replaced")),m(j)},E=e=>{e.keyCode===M.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)(Kn,{value:n,onSelect:e=>y(e),allowedTypes:o,render:e=>{let{open:t}=e;return Object(i.createElement)(u.MenuItem,{icon:Wn.a,onClick:t},Object(s.__)("Open Media Library"))}}),Object(i.createElement)(Yn,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:qn.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)(Vn,{value:{url:h},settings:[],showSuggestions:!1,onChange:e=>{let{url:t}=e;g(t),l(t),v.current.focus()}})))}})}),Zn=n("NMb1"),Xn=n.n(Zn);function Qn(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(hn.filterURLForDisplay)(Object(hn.safeDecodeURI)(t))):Object(i.createElement)("span",{className:r})}function Jn(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))}Jn.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)(On,{value:r,onChange:o,autocompleteRef:t}),Object(i.createElement)(u.Button,{icon:dn.a,label:Object(s.__)("Apply"),type:"submit"}))},Jn.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)(Qn,{url:r,urlLabel:c,className:n}),o&&Object(i.createElement)(u.Button,{icon:Rn.a,label:Object(s.__)("Edit"),onClick:o}))};var eo=Jn;const to=e=>{let{src:t,onChange:n,onSubmit:o,onClose:r}=e;return Object(i.createElement)(eo,{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:dn.a,label:Object(s.__)("Apply"),type:"submit"})))};var no=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:I=a.noop,children:x,mediaLibraryButton:B,placeholder:T,style:P}=e;const R=Object(_.useSelect)(e=>{const{getSettings:t}=e(S.a);return t().mediaUpload},[]),[N,M]=Object(i.useState)(""),[L,A]=Object(i.useState)(!1);Object(i.useEffect)(()=>{var e;M(null!==(e=null==t?void 0:t.src)&&void 0!==e?e:"")},[null==t?void 0:t.src]);const D=e=>{M(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,x)},q=()=>O?null:Object(i.createElement)(u.DropZone,{onFilesDrop:G,onHTMLDrop:I}),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")),Y=()=>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:L,variant:"tertiary"},Object(s.__)("Insert from URL")),L&&Object(i.createElement)(to,{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)(Yn,null,q())):Object(i.createElement)(Yn,{fallback:W(Y())},(()=>{const e=null!=B?B:e=>{let{open:t}=e;return Object(i.createElement)(u.Button,{variant:"tertiary",onClick:()=>{t()}},Object(s.__)("Media Library"))},o=Object(i.createElement)(Kn,{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,Y(),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,Y(),K());return W(e)}return W(o)})())}));var oo=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)(vt.a,Object(l.a)({settings:o,gradients:[],disableCustomGradients:!0},n))},ro=n("O6Fj"),co=n.n(ro),lo=n("qRz9");const io={position:"bottom right",isAlternate:!0};var ao=()=>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:io}))}));var so=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)(ao,null)))):Object(i.createElement)(W.b,{group:"inline"},Object(i.createElement)(ao,null))};function uo(){const{didAutomaticChange:e,getSettings:t}=Object(_.useSelect)(S.a);return Object(Q.useRefEffect)(n=>{function o(n){const{keyCode:o}=n;n.defaultPrevented||o!==M.DELETE&&o!==M.BACKSPACE&&o!==M.ESCAPE||e()&&(n.preventDefault(),t().__experimentalUndo())}return n.addEventListener("keydown",o),()=>{n.removeEventListener("keydown",o)}},[])}var bo=n("xTGt");function po(e){return e.filter(e=>{let{type:t}=e;return/^image\/(?:jpe?g|png|gif)$/.test(t)}).map(e=>`<img src="${Object(bo.createBlobURL)(e)}">`).join("")}var mo=n("SVSp");function fo(e,t){if(null!=t&&t.length){let n=e.formats.length;for(;n--;)e.formats[n]=[...t,...e.formats[n]||[]]}}function ho(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}function go(e){let{allowedFormats:t,formattingControls:n,disableFormats:o}=e;return o?go.EMPTY_ARRAY:t||n?t||(Xn()("wp.blockEditor.RichText formattingControls prop",{since:"5.4",alternative:"allowedFormats"}),n.map(e=>"core/"+e)):void 0}go.EMPTY_ARRAY=[];function Oo(e){let{value:t,pastedBlocks:n=[],onReplace:o,onSplit:r,onSplitMiddle:c,multilineTag:l}=e;if(!o||!r)return;const i=[],[a,s]=Object(lo.split)(t),u=n.length>0;let d=-1;const b=Object(lo.isEmpty)(a)&&!Object(lo.isEmpty)(s);u&&Object(lo.isEmpty)(a)||(i.push(r(Object(lo.toHTMLString)({value:a,multilineTag:l}),!b)),d+=1),u?(i.push(...n),d+=n.length):c&&i.push(c()),(u||c)&&Object(lo.isEmpty)(s)||i.push(r(Object(lo.toHTMLString)({value:s,multilineTag:l}),b));o(i,u?d:1,u?-1:0)}function vo(e,t){return t?Object(lo.replace)(e,/\n+/g,lo.__UNSTABLE_LINE_SEPARATOR):Object(lo.replace)(e,new RegExp(lo.__UNSTABLE_LINE_SEPARATOR,"g"),"\n")}function jo(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(/.*<!--StartFragment-->/s,"").replace(/<!--EndFragment-->.*/s,"")}(g),g=function(e){const t="<meta charset='utf-8'>";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(lo.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(bn.getFilesFromDataTransfer)(f)];if("true"===f.getData("rich-text")){const e=f.getData("rich-text-multi-line-tag")||void 0;let t=Object(lo.create)({html:g,multilineTag:e,multilineWrapperTags:"li"===e?["ul","ol"]:void 0,preserveWhiteSpace:p});return t=vo(t,!!b),fo(t,c.activeFormats),void r(Object(lo.insert)(c,t))}if(m)return void r(Object(lo.insert)(c,Object(lo.create)({text:h})));if(v&&v.length&&!g){const e=Object(j.pasteHandler)({HTML:po(v),mode:"BLOCKS",tagName:i,preserveWhiteSpace:p});return window.console.log("Received items:\n\n",v),void(a&&Object(lo.isEmpty)(c)?a(e):Oo({value:c,pastedBlocks:e,onReplace:a,onSplit:s,onSplitMiddle:u,multilineTag:b}))}let k=a&&s?"AUTO":"INLINE";var _;"AUTO"===k&&Object(lo.isEmpty)(c)&&(_=h,Object(mo.regexp)(".*").test(_))&&(k="BLOCKS"),d&&Object(lo.isEmpty)(c)&&Object(hn.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(lo.create)({html:y});e=vo(e,!!b),fo(e,c.activeFormats),r(Object(lo.insert)(c,e))}else y.length>0&&(a&&Object(lo.isEmpty)(c)?a(y,y.length-1,-1):Oo({value:c,pastedBlocks:y,onReplace:a,onSplit:s,onSplitMiddle:u,multilineTag:b}))}return e.addEventListener("paste",n),()=>{e.removeEventListener("paste",n)}},[])}function ko(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(lo.toHTMLString)({value:Object(lo.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 _o(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!==M.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(lo.insert)(b,"\n")):p&&Object(lo.__unstableIsEmptyLine)(b)?Oo({value:b,onReplace:c,onSplit:l,onSplitMiddle:i,multilineTag:a}):s(Object(lo.__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(lo.insert)(b,"\n")):!p&&r?d():p&&Oo({value:b,onReplace:c,onSplit:l,onSplitMiddle:i,multilineTag:a})}}return e.addEventListener("keydown",o),()=>{e.removeEventListener("keydown",o)}},[])}function yo(e){return e(lo.store).getFormatTypes()}const Eo=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function Co(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 So(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 wo(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(lo.getActiveFormat)(r,t);let u=void 0!==s;const d=Object(lo.getActiveObject)(r),b=void 0!==d&&d.type===t;if("core/link"===t&&!Object(lo.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 Io=Object(i.createContext)(),xo=Object(i.createContext)();const Bo=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:I,__unstableOnSplitMiddle:B,identifier:T,preserveWhiteSpace:P,__unstablePastePlainText:R,__unstableEmbedURLOnPaste:N,__unstableDisableFormats:L,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:Y}=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:$}=Object(_.useDispatch)(S.a),Z=ho(b),X=go({allowedFormats:O,formattingControls:v,disableFormats:L}),J=!X||X.length>0;let ee=c,te=s;Array.isArray(c)&&(ee=j.children.toHTML(c),te=e=>s(j.children.fromDOM(Object(lo.__unstableCreateElement)(document,e).childNodes)));const ne=Object(i.useCallback)((e,t)=>{$(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)(yo,[]),l=Object(i.useMemo)(()=>c.filter(e=>{let{name:t,tagName:n}=e;return!(r&&!r.includes(t))&&(!o||!Eo.has(n))}),[c,r,Eo]),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:X});function ae(e){return oe.forEach(t=>{t.__experimentalCreatePrepareEditableTree&&(e=Object(lo.removeFormat)(e,t.name,0,e.text.length))}),e.formats}const{value:se,onChange:ue,ref:de}=Object(lo.__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:Z,__unstableDisableFormats:L,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:x(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)(Io.Provider,{value:pe},Object(i.createElement)(xo.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)(wo,{value:se,onChange:ue,onFocus:fe,formatTypes:oe,forwardedRef:G})))),K&&J&&Object(i.createElement)(so,{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,ko({value:se,onChange:ue,__unstableAllowPrefixTransformations:F,formatTypes:oe,onReplace:h}),Object(Q.useRefEffect)(e=>{function t(e){(M.isKeyboardEvent.primary(e,"z")||M.isKeyboardEvent.primary(e,"y")||M.isKeyboardEvent.primaryShift(e,"z"))&&e.preventDefault()}return e.addEventListener("keydown",t),()=>{e.addEventListener("keydown",t)}},[]),Co(pe),So(me),uo(),jo({isSelected:K,disableFormats:L,onChange:ue,value:se,formatTypes:oe,tagName:r,onReplace:h,onSplit:w,onSplitMiddle:B,__unstableEmbedURLOnPaste:N,multilineTag:Z,preserveWhiteSpace:P,pastePlainText:R}),_o({removeEditorOnlyFormats:ae,value:se,onReplace:h,onSplit:w,onSplitMiddle:B,multilineTag:Z,onChange:ue,disableLineBreaks:A,onSplitAtEnd:I}),G,n]),contentEditable:!Y||void 0,suppressContentEditableWarning:!Y,className:V()("block-editor-rich-text__editable",z.className,"rich-text"),onFocus:D,onKeyDown:function(e){const{keyCode:t}=e;if(!e.defaultPrevented&&(t===M.DELETE||t===M.BACKSPACE)){const{start:n,end:o,text:r}=se,c=t===M.BACKSPACE,l=se.activeFormats&&!!se.activeFormats.length;if(!Object(lo.isCollapsed)(se)||l||c&&0!==n||!c&&o!==r.length)return;C&&C(!c),E&&Object(lo.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)}));Bo.Content=e=>{let{value:t,tagName:n,multiline:o,...r}=e;Array.isArray(t)&&(t=j.children.toHTML(t));const c=ho(o);!t&&c&&(t=`<${c}></${c}>`);const l=Object(i.createElement)(i.RawHTML,null,t);return n?Object(i.createElement)(n,Object(a.omit)(r,["format"]),l):l},Bo.isEmpty=e=>!e||0===e.length;var To=Bo;const Po=Object(i.forwardRef)((e,t)=>Object(i.createElement)(To,Object(l.a)({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0})));Po.Content=e=>{let{value:t="",tagName:n="div",...o}=e;return Object(i.createElement)(n,o,t)};var Ro=Po;var No=Object(i.forwardRef)((e,t)=>{let{__experimentalVersion:n,...o}=e;if(2===n)return Object(i.createElement)(Ro,Object(l.a)({ref:t},o));const{className:r,onChange:c,...a}=o;return Object(i.createElement)(co.a,Object(l.a)({ref:t,className:V()("block-editor-plain-text",r),onChange:e=>c(e.target.value)},a))});function Mo(e){let{property:t,viewport:n,desc:o}=e;const r=Object(Q.useInstanceId)(Mo),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)(Mo,{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)(Mo,{property:n,viewport:e}),e)))))))};function Ao(e){let{character:t,type:n,onUse:o}=e;const r=Object(i.useContext)(Io),c=Object(i.useRef)();return c.current=o,Object(i.useEffect)(()=>{function e(e){M.isKeyboardEvent[n](e,t)&&(c.current(),e.preventDefault())}return r.current.add(e),()=>{r.current.delete(e)}},[t,n]),null}function Do(e){let t,{name:n,shortcutType:o,shortcutCharacter:r,...c}=e,a="RichText.ToolbarControls";return n&&(a+="."+n),o&&r&&(t=M.displayShortcut[o](r)),Object(i.createElement)(u.Fill,{name:a},Object(i.createElement)(u.ToolbarButton,Object(l.a)({},c,{shortcut:t})))}function Fo(e){let{inputType:t,onInput:n}=e;const o=Object(i.useContext)(xo),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 zo=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 Ho=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?zo:Rn.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:Rn.a}),Object(s.__)("Edit"))},{value:"select",label:Object(i.createElement)(i.Fragment,null,zo,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 Vo(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 Go=n("Bpkj"),Uo=n("cjQ8");class Wo 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:Go.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:Uo.a,label:Object(s.__)("Close"),onClick:this.toggle}),Object(i.createElement)(On,{value:e||"",onChange:t}),Object(i.createElement)(u.Button,{icon:dn.a,label:Object(s.__)("Submit"),type:"submit"}))))}}var qo=Wo,Ko=n("w95h");const Yo=["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"})),Zo=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)(Yo,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=x().find(e=>e.url===v))||void 0===t?void 0:t.linkDestination)||"custom";n({href:v,linkDestination:e})}y(),j(null),e.preventDefault()}),I=Object(i.useCallback)(()=>{n({linkDestination:"none",href:""})}),x=()=>{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},B=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)(x(),["linkDestination",t])||{}).title;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.ToolbarButton,{icon:Go.a,className:"components-toolbar__control",label:o?Object(s.__)("Edit link"):Object(s.__)("Insert link"),"aria-expanded":m,onClick:h}),m&&Object(i.createElement)(eo,{onFocusOutside:S(),onClose:E,renderSettings:()=>B,additionalControls:!T&&Object(i.createElement)(u.NavigableMenu,null,Object(a.map)(x(),e=>Object(i.createElement)(u.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:()=>{j(null),(e=>{const t=x();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)(eo.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)(eo.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",url:o,onEditLinkClick:_,urlLabel:P}),Object(i.createElement)(u.Button,{icon:Ko.a,label:Object(s.__)("Remove link"),onClick:I}))))};var Xo=n("Jyyd"),Qo=n("mlss");function Jo(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 er(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<t?n:t};return(e=>{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 tr=n("PKbb");var nr=Object(_.withSelect)(e=>({selectedBlockClientId:e(S.a).getBlockSelectionStart()}))(e=>{let{selectedBlockClientId:t}=e;const n=Object(tr.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}),or=n("GvwK"),rr=n("7NR9"),cr=n("7fqt"),lr=n("wzfx");var ir=Object(_.withSelect)(e=>{const{getMultiSelectedBlocks:t}=e(S.a);return{blocks:t()}})((function(e){let{blocks:t}=e;const n=Object(cr.count)(Object(j.serialize)(t),"words");return Object(i.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(i.createElement)(C.a,{icon:lr.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 ar(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 sr=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)(or.a,c),Object(i.createElement)(Ye,{blockClientId:t}),o&&Object(i.createElement)("div",null,Object(i.createElement)(u.PanelBody,{title:Object(s.__)("Styles")},Object(i.createElement)(rr.a,{clientId:t}),Object(j.hasBlockSupport)(n,"defaultStylePicker",!0)&&Object(i.createElement)(ar,{blockName:n}))),Object(i.createElement)(sn.b.Slot,{bubblesVirtually:r}),Object(i.createElement)(sn.b.Slot,{__experimentalGroup:"typography",bubblesVirtually:r,label:Object(s.__)("Typography")}),Object(i.createElement)(sn.b.Slot,{__experimentalGroup:"dimensions",bubblesVirtually:r,label:Object(s.__)("Dimensions")}),Object(i.createElement)(sn.b.Slot,{__experimentalGroup:"border",label:Object(s.__)("Border")}),Object(i.createElement)("div",null,Object(i.createElement)(ur,{bubblesVirtually:r})),Object(i.createElement)(nr,{key:"back"}))},ur=e=>{let{bubblesVirtually:t}=e;const n=Object(u.__experimentalUseSlot)(sn.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)(sn.b.Slot,{__experimentalGroup:"advanced",bubblesVirtually:t})):null};var dr=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)(ir,null),Object(i.createElement)(sn.b.Slot,null),Object(i.createElement)(sn.b.Slot,{__experimentalGroup:"typography",label:Object(s.__)("Typography")}),Object(i.createElement)(sn.b.Slot,{__experimentalGroup:"dimensions",label:Object(s.__)("Dimensions")}),Object(i.createElement)(sn.b.Slot,{__experimentalGroup:"border",label:Object(s.__)("Border")}));const u=c===Object(j.getUnregisteredTypeHandlerName)();return a&&l&&!u?Object(i.createElement)(sr,{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},br=n("VyCT"),pr=n("nlh6"),mr=n("w8sn"),fr=n("JygI"),hr=n("zQI6"),gr=n("U1WI"),Or=n("pXCJ"),vr=n("+gtr"),jr=n("hF7m"),kr=n("PS/H"),_r=n("xCFn"),yr=n("JUfZ"),Er=n("2z9l");function Cr(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(jr.__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)){if(["INPUT","TEXTAREA"].includes(e.target.nodeName)||e.defaultPrevented)return;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)(kr.b,{__unstableContentRef:n},(c||!r)&&Object(i.createElement)(yr.a,{isFixed:!0}),Object(i.createElement)(_r.a,{__unstableContentRef:n}),Object(i.createElement)(u.Popover.Slot,{name:"block-toolbar",ref:Object(Er.a)(n)}),t,Object(i.createElement)(u.Popover.Slot,{name:"__unstable-block-tools-after",ref:Object(Er.a)(n)})))}var Sr=n("+0ps"),wr=n("5L8O"),Ir=n("KyyN"),xr=n("qrxh"),Br=n("xZzQ");var Tr=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)(Br.a,{onSelect:u,rootClientId:b,clientId:n,isAppender:o,showInserterHelpPanel:r,showMostUsedBlocks:c,__experimentalInsertionIndex:l,__experimentalFilterValue:s,shouldFocusBlock:d})};function Pr(){return null}Pr.Register=function(){const{registerShortcut:e}=Object(_.useDispatch)(jr.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 Rr=Pr;function Nr(){return Xn()("wp.blockEditor.MultiSelectScrollIntoView",{hint:"This behaviour is now built-in."}),null}var Mr=n("GkEL");const Lr=new Set([M.UP,M.RIGHT,M.DOWN,M.LEFT,M.ENTER,M.BACKSPACE]);function Ar(){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 Dr(){const e=Object(_.useSelect)(e=>e(S.a).isTyping()),{startTyping:t,stopTyping:n}=Object(_.useDispatch)(S.a),o=Ar(),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(bn.isTextField)(o)||n()})}function i(e){const{keyCode:t}=e;t!==M.ESCAPE&&t!==M.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(bn.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 Fr=function(e){let{children:t}=e;return Object(i.createElement)("div",{ref:Dr()},t)};function zr(){return Xn()("PreserveScrollInReorder component",{since:"5.4",hint:"This behavior is now built-in the block list"}),null}const Hr=-1!==window.navigator.userAgent.indexOf("Trident"),Vr=new Set([M.UP,M.DOWN,M.LEFT,M.RIGHT]);function Gr(){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(bn.computeCaretRect)(o);if(!c)return;if(!l)return void(l=c);if(Vr.has(r))return void(l=c);const i=c.top-l.top;if(0===i)return;const a=Object(bn.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<d?l=c:s?o.scrollBy(0,i):a.scrollTop+=i}function u(){n.addEventListener("selectionchange",d)}function d(){n.removeEventListener("selectionchange",d),b()}function b(){p()&&(l=Object(bn.computeCaretRect)(o))}function p(){return t.contains(n.activeElement)&&n.activeElement.isContentEditable}return o.addEventListener("scroll",i,!0),o.addEventListener("resize",i,!0),t.addEventListener("keydown",a),t.addEventListener("keyup",s),t.addEventListener("mousedown",u),t.addEventListener("touchstart",u),()=>{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 Ur=Hr?e=>e.children:function(e){let{children:t}=e;return Object(i.createElement)("div",{ref:Gr(),className:"block-editor__typewriter"},t)},Wr=n("Zzu2"),qr=n("TVFh");const Kr=Object(a.overEvery)([bn.isTextField,bn.focus.tabbable.isTabbableIndex]);function Yr(){return Object(Q.useRefEffect)(e=>{function t(t){if(t.target!==e)return;const n=bn.focus.focusable.find(e),o=Object(a.findLast)(n,Kr);if(!o)return;const{bottom:r}=o.getBoundingClientRect();t.clientY<r||(Object(bn.placeCaretAtHorizontalEdge)(o,!0),t.preventDefault())}return e.addEventListener("mousedown",t),()=>{e.addEventListener("mousedown",t)}},[])}var $r=n("hHnB");const Zr=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 Qr(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const o=Object(i.useContext)(Zr),{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)(Zr.Provider,{value:l},t)},[l]);return[c,a]}var Jr=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,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes: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:I,setNavigationMode:x,selectBlock:B}=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(){x(!0),B(t[0]),I(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")}},[]),I=Object(r.useCallback)(n?async e=>{const t=await e;t&&t[0]&&n(t[0])}:c.noop,[n]),x=Object(l.sprintf)(Object(l.__)("Remove %s"),S),B=1===y?x: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:x,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:x}),n&&Object(r.createElement)(i.MenuItem,{onClick:Object(c.flow)(o,m,I),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,I),shortcut:w.remove},B)))})})}},"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 b})),n.d(t,"e",(function(){return p}));var o=n("bVpQ"),r=n("wx14"),c=n("GRId"),l=n("YLtl"),i=n("K9lf"),a=n("v5LD");const s=e=>Object(i.createHigherOrderComponent)(t=>n=>Object(c.createElement)(t,Object(r.a)({},n,{colors:e})),"withCustomColorPalette"),u=()=>Object(i.createHigherOrderComponent)(e=>t=>{const n=Object(a.a)("color.palette.custom"),o=Object(a.a)("color.palette.theme"),l=Object(a.a)("color.palette.default"),i=Object(c.useMemo)(()=>[...n||[],...o||[],...l||[]],[n,o,l]);return Object(c.createElement)(e,Object(r.a)({},t,{colors:i}))},"withEditorColorPalette");function d(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 b(e){return function(){const t=s(e);for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return Object(i.createHigherOrderComponent)(d(o,t),"withCustomColors")}}function p(){const e=u();for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Object(i.createHigherOrderComponent)(d(n,e),"withColors")}},"6ZVF":function(e,t,n){"use strict";var o=n("GRId"),r=n("HSyU"),c=n("wx14"),l=n("TSYQ"),i=n.n(l),a=n("RxS6"),s=n("7SSY"),u=n("M+co"),d=n("j6zP");function b(){let e=arguments.length>0&&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;o<r;o+=t)n.push(e.slice(o,o+t));return n}(t,3).map((e,t)=>Object(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()<n.brightness()?Object(a.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(a.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return Object(o.useEffect)(()=>{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=[];++d<t;)a&&a[d].run();d=-1,t=s.length}a=null,u=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===l||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new m(e,t)),1!==s.length||u||i(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},"9Ma0":function(e,t,n){"use strict";n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return y}));var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("YLtl"),a=n("HSyU"),s=n("tI+e"),u=n("K9lf"),d=n("1ZqX"),b=n("l3Sj"),p=n("1iEr"),m=n("2gm7"),f=n("XgzB"),h=n("NWDH");function g(e,t,n,o,r,c,l){const i=n+1,a=e=>"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),f=t(Object(i.last)(u)),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:I,moveBlocksUp:x}=Object(d.useDispatch)(O.a),B="up"===c?x:I,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=>{B(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;n++)t[n]=arguments[n];const r=Object(i.reduce)(t,(e,t)=>(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):!d&&i?(b=r(i),a=c(i)+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.length<e.length&&(e=t)}return e}function l(e){if(void 0===e)e=r.b.gradients;else{const t=e.filter(e=>e.gradient);0===t.length?e=r.b.gradients:t.length<e.length&&(e=t)}return e}var i=n("Btt3");function a(e){const t=null==e?void 0:e.trim().match(/^(0?[-.]?\d+)(r?e[m|x]|v[h|w|min|max]+|p[x|t|c]|[c|m]m|%|in|ch|Q|lh)$/);return isNaN(e)||isNaN(parseFloat(e))?t?{value:parseFloat(t[1])||t[1],unit:t[2]}:{value:e,unit:void 0}:{value:parseFloat(e),unit:"px"}}function s(e,t){const n=e.split(/[(),]/g).filter(Boolean),o=n.slice(1).map(e=>a(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[0]?o[0]+"px":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;t<e.length;t++)if(["+","-","/","*"].includes(e[t]))return!0;return!1}function b(e){let t=!1;const n=e.split(/[+-/*/]/g).filter(Boolean);for(const o of n){const n=a(m(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 p(e,t){const n=Object.assign({},{fontSize:16,lineHeight:16,width:375,height:812,type:"font"},t),o={em:n.fontSize,rem:n.fontSize,vh:.01*n.height,vw:.01*n.width,vmin:.01*(n.width<n.height?n.width:n.height),vmax:.01*(n.width>n.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 Cn})),n.d(t,"a",(function(){return Sn}));var o={};n.r(o),n.d(o,"getBlockName",(function(){return w})),n.d(o,"isBlockValid",(function(){return I})),n.d(o,"getBlockAttributes",(function(){return x})),n.d(o,"getBlock",(function(){return B})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return T})),n.d(o,"getBlocks",(function(){return P})),n.d(o,"__unstableGetClientIdWithClientIdsTree",(function(){return R})),n.d(o,"__unstableGetClientIdsTree",(function(){return N})),n.d(o,"getClientIdsOfDescendants",(function(){return M})),n.d(o,"getClientIdsWithDescendants",(function(){return L})),n.d(o,"getGlobalBlockCount",(function(){return A})),n.d(o,"getBlocksByClientId",(function(){return D})),n.d(o,"getBlockCount",(function(){return F})),n.d(o,"getSelectionStart",(function(){return z})),n.d(o,"getSelectionEnd",(function(){return H})),n.d(o,"getBlockSelectionStart",(function(){return V})),n.d(o,"getBlockSelectionEnd",(function(){return G})),n.d(o,"getSelectedBlockCount",(function(){return U})),n.d(o,"hasSelectedBlock",(function(){return W})),n.d(o,"getSelectedBlockClientId",(function(){return q})),n.d(o,"getSelectedBlock",(function(){return K})),n.d(o,"getBlockRootClientId",(function(){return Y})),n.d(o,"getBlockParents",(function(){return $})),n.d(o,"getBlockParentsByBlockName",(function(){return Z})),n.d(o,"getBlockHierarchyRootClientId",(function(){return X})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return Q})),n.d(o,"getAdjacentBlockClientId",(function(){return J})),n.d(o,"getPreviousBlockClientId",(function(){return ee})),n.d(o,"getNextBlockClientId",(function(){return te})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return ne})),n.d(o,"getSelectedBlockClientIds",(function(){return oe})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return re})),n.d(o,"getMultiSelectedBlocks",(function(){return ce})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return le})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return ie})),n.d(o,"isFirstMultiSelectedBlock",(function(){return ae})),n.d(o,"isBlockMultiSelected",(function(){return se})),n.d(o,"isAncestorMultiSelected",(function(){return ue})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return de})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return be})),n.d(o,"getBlockOrder",(function(){return pe})),n.d(o,"getBlockIndex",(function(){return me})),n.d(o,"isBlockSelected",(function(){return fe})),n.d(o,"hasSelectedInnerBlock",(function(){return he})),n.d(o,"isBlockWithinSelection",(function(){return ge})),n.d(o,"hasMultiSelection",(function(){return Oe})),n.d(o,"isMultiSelecting",(function(){return ve})),n.d(o,"isSelectionEnabled",(function(){return je})),n.d(o,"getBlockMode",(function(){return ke})),n.d(o,"isTyping",(function(){return _e})),n.d(o,"isDraggingBlocks",(function(){return ye})),n.d(o,"getDraggedBlockClientIds",(function(){return Ee})),n.d(o,"isBlockBeingDragged",(function(){return Ce})),n.d(o,"isAncestorBeingDragged",(function(){return Se})),n.d(o,"isCaretWithinFormattedText",(function(){return we})),n.d(o,"getBlockInsertionPoint",(function(){return Ie})),n.d(o,"isBlockInsertionPointVisible",(function(){return xe})),n.d(o,"isValidTemplate",(function(){return Be})),n.d(o,"getTemplate",(function(){return Te})),n.d(o,"getTemplateLock",(function(){return Pe})),n.d(o,"canInsertBlockType",(function(){return Me})),n.d(o,"canInsertBlocks",(function(){return Le})),n.d(o,"canRemoveBlock",(function(){return Ae})),n.d(o,"canRemoveBlocks",(function(){return De})),n.d(o,"canMoveBlock",(function(){return Fe})),n.d(o,"canMoveBlocks",(function(){return ze})),n.d(o,"getInserterItems",(function(){return qe})),n.d(o,"getBlockTransformItems",(function(){return Ke})),n.d(o,"hasInserterItems",(function(){return Ye})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return $e})),n.d(o,"__experimentalGetDirectInsertBlock",(function(){return Ze})),n.d(o,"__experimentalGetParsedPattern",(function(){return Xe})),n.d(o,"__experimentalGetAllowedPatterns",(function(){return Je})),n.d(o,"__experimentalGetPatternsByBlockTypes",(function(){return et})),n.d(o,"__experimentalGetPatternTransformItems",(function(){return tt})),n.d(o,"getBlockListSettings",(function(){return nt})),n.d(o,"getSettings",(function(){return ot})),n.d(o,"isLastBlockChangePersistent",(function(){return rt})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return ct})),n.d(o,"__experimentalGetReusableBlockTitle",(function(){return lt})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return it})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return at})),n.d(o,"isNavigationMode",(function(){return ut})),n.d(o,"hasBlockMovingClientId",(function(){return dt})),n.d(o,"didAutomaticChange",(function(){return bt})),n.d(o,"isBlockHighlighted",(function(){return pt})),n.d(o,"areInnerBlocksControlled",(function(){return mt})),n.d(o,"__experimentalGetActiveBlockIdByBlockNames",(function(){return ft})),n.d(o,"wasBlockJustInserted",(function(){return ht}));var r={};n.r(r),n.d(r,"resetBlocks",(function(){return _t})),n.d(r,"validateBlocksToTemplate",(function(){return yt})),n.d(r,"resetSelection",(function(){return Et})),n.d(r,"receiveBlocks",(function(){return Ct})),n.d(r,"updateBlockAttributes",(function(){return St})),n.d(r,"updateBlock",(function(){return wt})),n.d(r,"selectBlock",(function(){return It})),n.d(r,"selectPreviousBlock",(function(){return xt})),n.d(r,"selectNextBlock",(function(){return Bt})),n.d(r,"startMultiSelect",(function(){return Tt})),n.d(r,"stopMultiSelect",(function(){return Pt})),n.d(r,"multiSelect",(function(){return Rt})),n.d(r,"clearSelectedBlock",(function(){return Nt})),n.d(r,"toggleSelection",(function(){return Mt})),n.d(r,"replaceBlocks",(function(){return At})),n.d(r,"replaceBlock",(function(){return Dt})),n.d(r,"moveBlocksDown",(function(){return zt})),n.d(r,"moveBlocksUp",(function(){return Ht})),n.d(r,"moveBlocksToPosition",(function(){return Vt})),n.d(r,"moveBlockToPosition",(function(){return Gt})),n.d(r,"insertBlock",(function(){return Ut})),n.d(r,"insertBlocks",(function(){return Wt})),n.d(r,"showInsertionPoint",(function(){return qt})),n.d(r,"hideInsertionPoint",(function(){return Kt})),n.d(r,"setTemplateValidity",(function(){return Yt})),n.d(r,"synchronizeTemplate",(function(){return $t})),n.d(r,"mergeBlocks",(function(){return Zt})),n.d(r,"removeBlocks",(function(){return Xt})),n.d(r,"removeBlock",(function(){return Qt})),n.d(r,"replaceInnerBlocks",(function(){return Jt})),n.d(r,"toggleBlockMode",(function(){return en})),n.d(r,"startTyping",(function(){return tn})),n.d(r,"stopTyping",(function(){return nn})),n.d(r,"startDraggingBlocks",(function(){return on})),n.d(r,"stopDraggingBlocks",(function(){return rn})),n.d(r,"enterFormattedText",(function(){return cn})),n.d(r,"exitFormattedText",(function(){return ln})),n.d(r,"selectionChange",(function(){return an})),n.d(r,"insertDefaultBlock",(function(){return sn})),n.d(r,"updateBlockListSettings",(function(){return un})),n.d(r,"updateSettings",(function(){return dn})),n.d(r,"__unstableSaveReusableBlock",(function(){return bn})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return pn})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return mn})),n.d(r,"__unstableMarkAutomaticChange",(function(){return fn})),n.d(r,"setNavigationMode",(function(){return hn})),n.d(r,"setBlockMovingClientId",(function(){return gn})),n.d(r,"duplicateBlocks",(function(){return On})),n.d(r,"insertBeforeBlock",(function(){return vn})),n.d(r,"insertAfterBlock",(function(){return jn})),n.d(r,"toggleBlockHighlight",(function(){return kn})),n.d(r,"flashBlock",(function(){return _n})),n.d(r,"setHasControlledInnerBlocks",(function(){return yn}));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.filter(t=>!e[t]).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<o.length;r++)!t.order[o[r]]||n.keepControlledInnerBlocks&&n.keepControlledInnerBlocks[o[r]]||(o===e&&(o=[...o]),o.push(...t.order[o[r]]));return o};if(t)switch(n.type){case"REMOVE_BLOCKS":n={...n,type:"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN",removedClientIds:o(n.clientIds)};break;case"REPLACE_BLOCKS":n={...n,type:"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN",replacedClientIds:o(n.clientIds)}}return e(t,n)},e=>(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){const e={...t,byClientId:m(n.blocks),attributes:f(n.blocks),order:d(n.blocks),parents:b(n.blocks),controlledInnerBlocks:{}},o=g(e,n.blocks);return e.tree={...o,"":{innerBlocks:n.blocks.map(e=>o[e.clientId])}},e}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}}),e=>(t,n)=>{if("SET_HAS_CONTROLLED_INNER_BLOCKS"===n.type){const o=e(t,{type:"REPLACE_INNER_BLOCKS",rootClientId:n.clientId,blocks:[]});return e(o,n)}return e(t,n)})({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("g56x"),C=n("+WrK");const S=[];function w(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 I(e,t){const n=e.blocks.byClientId[t];return!!n&&n.isValid}function x(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}function B(e,t){return e.blocks.byClientId[t]?e.blocks.tree[t]:null}const T=Object(_.a)((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:x(e,t)}:null},(e,t)=>[e.blocks.byClientId[t],e.blocks.attributes[t]]);function P(e,t){var n;const o=t&&mt(e,t)?"controlled||"+t:t||"";return(null===(n=e.blocks.tree[o])||void 0===n?void 0:n.innerBlocks)||S}const R=Object(_.a)((e,t)=>({clientId:t,innerBlocks:N(e,t)}),e=>[e.blocks.order]),N=Object(_.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(l.map)(pe(e,t),t=>R(e,t))}),e=>[e.blocks.order]),M=(e,t)=>Object(l.flatMap)(t,t=>{const n=pe(e,t);return[...n,...M(e,n)]}),L=Object(_.a)(e=>{const t=pe(e);return[...t,...M(e,t)]},e=>[e.blocks.order]),A=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]),D=Object(_.a)((e,t)=>Object(l.map)(Object(l.castArray)(t),t=>B(e,t)),(e,t)=>Object(l.map)(Object(l.castArray)(t),t=>e.blocks.tree[t]));function F(e,t){return pe(e,t).length}function z(e){return e.selection.selectionStart}function H(e){return e.selection.selectionEnd}function V(e){return e.selection.selectionStart.clientId}function G(e){return e.selection.selectionEnd.clientId}function U(e){const t=re(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function W(e){const{selectionStart:t,selectionEnd:n}=e.selection;return!!t.clientId&&t.clientId===n.clientId}function q(e){const{selectionStart:t,selectionEnd:n}=e.selection,{clientId:o}=t;return o&&o===n.clientId?o:null}function K(e){const t=q(e);return t?B(e,t):null}function Y(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]),Z=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:w(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 Q(e,t){const n=q(e),o=[...$(e,t),t],r=[...$(e,n),n];let c;const l=Math.min(o.length,r.length);for(let e=0;e<l&&o[e]===r[e];e++)c=o[e];return c}function J(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=q(e)),void 0===t&&(t=n<0?le(e):ie(e)),!t)return null;const o=Y(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 ee(e,t){return J(e,t,-1)}function te(e,t){return J(e,t,1)}function ne(e){return e.initialPosition}const oe=Object(_.a)(e=>{const{selectionStart:t,selectionEnd:n}=e.selection;if(void 0===t.clientId||void 0===n.clientId)return S;if(t.clientId===n.clientId)return[t.clientId];const o=Y(e,t.clientId);if(null===o)return S;const r=pe(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 re(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?S:oe(e)}const ce=Object(_.a)(e=>{const t=re(e);return t.length?t.map(t=>B(e,t)):S},e=>[...oe.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function le(e){return Object(l.first)(re(e))||null}function ie(e){return Object(l.last)(re(e))||null}function ae(e,t){return le(e)===t}function se(e,t){return-1!==re(e).indexOf(t)}const ue=Object(_.a)((e,t)=>{let n=t,o=!1;for(;n&&!o;)n=Y(e,n),o=se(e,n);return o},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function de(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:t.clientId||null}function be(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:n.clientId||null}function pe(e,t){return e.blocks.order[t||""]||S}function me(e,t){return pe(e,Y(e,t)).indexOf(t)}function fe(e,t){const{selectionStart:n,selectionEnd:o}=e.selection;return n.clientId===o.clientId&&n.clientId===t}function he(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(l.some)(pe(e,t),t=>fe(e,t)||se(e,t)||n&&he(e,t,n))}function ge(e,t){if(!t)return!1;const n=re(e),o=n.indexOf(t);return o>-1&&o<n.length-1}function Oe(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId!==n.clientId}function ve(e){return e.isMultiSelecting}function je(e){return e.isSelectionEnabled}function ke(e,t){return e.blocksMode[t]||"visual"}function _e(e){return e.isTyping}function ye(e){return!!e.draggedBlocks.length}function Ee(e){return e.draggedBlocks}function Ce(e,t){return e.draggedBlocks.includes(t)}function Se(e,t){if(!ye(e))return!1;const n=$(e,t);return Object(l.some)(n,t=>Ce(e,t))}function we(e){return e.isCaretWithinFormattedText}function Ie(e){let t,n;const{insertionPoint:o,selection:{selectionEnd:r}}=e;if(null!==o)return o;const{clientId:c}=r;return c?(t=Y(e,c)||void 0,n=me(e,r.clientId)+1):n=pe(e).length,{rootClientId:t,index:n}}function xe(e){return null!==e.insertionPoint}function Be(e){return e.template.isValid}function Te(e){return e.settings.template}function Pe(e,t){if(!t)return e.settings.templateLock;const n=nt(e,t);return n?n.templateLock:null}const Re=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},Ne=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}=ot(e),c=Re(r,t,!0);if(!c)return!1;const l=!!Pe(e,o);if(l)return!1;const a=nt(e,o);if(o&&void 0===a)return!1;const s=null==a?void 0:a.allowedBlocks,u=Re(s,t),d=n.parent,b=w(e,o),p=Re(d,b),m=null===u&&null===p||!0===u||!0===p;return m?Object(E.applyFilters)("blockEditor.__unstableCanInsertBlockType",m,n,o,{getBlock:B.bind(null,e),getBlockParentsByBlockName:Z.bind(null,e)}):m},Me=Object(_.a)(Ne,(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=>Me(e,w(e,t),n))}function Ae(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=x(e,t);if(null===o)return!0;const{lock:r}=o,c=!!Pe(e,n);return void 0===r||void 0===(null==r?void 0:r.remove)?!c:!(null!=r&&r.remove)}function De(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every(t=>Ae(e,t,n))}function Fe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=x(e,t);if(null===o)return;const{lock:r}=o,c="all"===Pe(e,n);return void 0===r||void 0===(null==r?void 0:r.move)?!c:!(null!=r&&r.move)}function ze(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every(t=>Fe(e,t,n))}function He(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 Ve=(e,t,n)=>!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Ne(e,t.name,n),Ge=(e,t)=>n=>{const o=`${t.id}/${n.name}`,{time:r,count:c=0}=He(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:Ue(r,c)}},Ue=(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}},We=(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)(D(e,L(e)),{name:t.name}));const{time:c,count:a=0}=He(e,o)||{},s={id:o,name:t.name,title:t.title,icon:t.icon,isDisabled:r,frecency:Ue(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}}},qe=Object(_.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=We(e,{buildScope:"inserter"}),o=/^\s*<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/,r=t=>{let n=C.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}=He(e,r)||{},a=Ue(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=>Ve(e,n,t)).map(n),l=Ne(e,"core/block",t)?st(e).map(r):[],a=c.reduce((t,n)=>{const{variations:o=[]}=n;if(o.some(e=>{let{isDefault:t}=e;return t})||t.push(n),o.length){const r=Ge(e,n);t.push(...o.map(r))}return t},[]),s=(e,t)=>{const{core:n,noncore:o}=e;return(t.name.startsWith("core/")?n:o).push(t),e},{core:u,noncore:d}=a.reduce(s,{core:[],noncore:[]}),b=[...u,...d];return[...b,...l]}),(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,st(e),Object(i.getBlockTypes)()]),Ke=Object(_.a)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=We(e,{buildScope:"transform"}),r=Object(i.getBlockTypes)().filter(t=>Ve(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)()]),Ye=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=>Ve(e,n,t));if(n)return!0;const o=Ne(e,"core/block",t)&&st(e).length>0;return o}),(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,st(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=>Ve(e,n,t))}),(e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]),Ze=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(B(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]),Qe=Object(_.a)(e=>{const t=e.settings.__experimentalBlockPatterns,{allowedBlockTypes:n}=ot(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(!Re(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]),Je=Object(_.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=Qe(e),o=Object(l.filter)(n,n=>{let{blocks:o}=n;return o.every(n=>{let{name:o}=n;return Me(e,o,t)})});return o}),(e,t)=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes,e.settings.templateLock,e.blockListSettings[t],e.blocks.byClientId[t]]),et=Object(_.a)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return S;const o=Je(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)=>[...Je.getDependants(e,t)]),tt=Object(_.a)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return S;if(t.some(t=>{let{clientId:n,innerBlocks:o}=t;return o.length||mt(e,n)}))return S;const o=Array.from(new Set(t.map(e=>{let{name:t}=e;return t})));return et(e,o,n)}),(e,t)=>[...et.getDependants(e,t)]);function nt(e,t){return e.blockListSettings[t]}function ot(e){return e.settings}function rt(e){return e.blocks.isPersistentChange}const ct=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]),lt=Object(_.a)((e,t)=>{var n;const o=Object(l.find)(st(e),e=>e.id===t);return o?null===(n=o.title)||void 0===n?void 0:n.raw:null},e=>[st(e)]);function it(e){return e.blocks.isIgnoredChange}function at(e){return e.lastBlockAttributesChange}function st(e){var t,n;return null!==(t=null==e||null===(n=e.settings)||void 0===n?void 0:n.__experimentalReusableBlocks)&&void 0!==t?t:S}function ut(e){return e.isNavigationMode}function dt(e){return e.hasBlockMovingClientId}function bt(e){return!!e.automaticChangeStatus}function pt(e,t){return e.highlightedBlock===t}function mt(e,t){return!!e.blocks.controlledInnerBlocks[t]}const ft=Object(_.a)((e,t)=>{if(!t.length)return null;const n=q(e);if(t.includes(w(e,n)))return n;const o=re(e),r=Z(e,n||o[0],t);return r?Object(l.last)(r):null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function ht(e,t,n){const{lastBlockInserted:o}=e;return o.clientId===t&&o.source===n}var gt=n("gdqT"),Ot=n("l3Sj"),vt=n("qRz9"),jt=n("NMb1"),kt=n.n(jt);const _t=e=>t=>{let{dispatch:n}=t;n({type:"RESET_BLOCKS",blocks:e}),n(yt(e))},yt=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 Et(e,t,n){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:n}}function Ct(e){return kt()('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function St(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 wt(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function It(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}const xt=e=>t=>{let{select:n,dispatch:o}=t;const r=n.getPreviousBlockClientId(e);r&&o.selectBlock(r,-1)},Bt=e=>t=>{let{select:n,dispatch:o}=t;const r=n.getNextBlockClientId(e);r&&o.selectBlock(r)};function Tt(){return{type:"START_MULTI_SELECT"}}function Pt(){return{type:"STOP_MULTI_SELECT"}}const Rt=(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(gt.speak)(Object(Ot.sprintf)(Object(Ot._n)("%s block selected.","%s blocks selected.",c),c),"assertive")};function Nt(){return{type:"CLEAR_SELECTED_BLOCK"}}function Mt(){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 At=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<t.length;e++){const n=t[e];if(!i.canInsertBlockType(n.name,s))return}a({type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n,initialPosition:o,meta:r}),a(e=>{let{select:t,dispatch:n}=e;if(t.getBlockCount()>0)return;const{__unstableHasCustomAppender:o}=t.getSettings();o||n.insertDefaultBlock()})}};function Dt(e,t){return At(e,t)}const Ft=e=>(t,n)=>o=>{let{select:r,dispatch:c}=o;r.canMoveBlocks(t,n)&&c({type:e,clientIds:Object(l.castArray)(t),rootClientId:n})},zt=Ft("MOVE_BLOCKS_DOWN"),Ht=Ft("MOVE_BLOCKS_UP"),Vt=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 Gt(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 Vt([e],t,n,o)}function Ut(e,t,n,o,r){return Wt([e],t,n,o,0,r)}const Wt=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,kt()("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 qt(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 Kt(){return{type:"HIDE_INSERTION_POINT"}}function Yt(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)},Zt=(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(vt.insert)(Object(vt.create)({html:t,multilineTag:n,multilineWrapperTags:o,preserveWhiteSpace:r}),"†",h,h);e.attributes[f]=Object(vt.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(vt.create)({html:t,multilineTag:n,multilineWrapperTags:o,preserveWhiteSpace:c}),a=i.text.indexOf("†"),s=Object(vt.remove)(i,a,a+1),b=Object(vt.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 Qt(e,t){return Xt([e],t)}function Jt(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 en(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function tn(){return{type:"START_TYPING"}}function nn(){return{type:"STOP_TYPING"}}function on(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function rn(){return{type:"STOP_DRAGGING_BLOCKS"}}function cn(){return{type:"ENTER_FORMATTED_TEXT"}}function ln(){return{type:"EXIT_FORMATTED_TEXT"}}function an(e,t,n,o){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:o}}function sn(e,t,n){const o=Object(i.getDefaultBlockName)();if(!o)return;return Ut(Object(i.createBlock)(o,e),n,t)}function un(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function dn(e){return{type:"UPDATE_SETTINGS",settings:e}}function bn(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function pn(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function mn(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}const fn=()=>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"})})},hn=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(gt.speak)(Object(Ot.__)("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(gt.speak)(Object(Ot.__)("You are currently in edit mode. To return to the navigation mode, press Escape."))}},gn=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(gt.speak)(Object(Ot.__)("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."))}},On=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))),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)}},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);return o.insertDefaultBlock({},r,c)},jn=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);return o.insertDefaultBlock({},r,c+1)};function kn(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}const _n=e=>async t=>{let{dispatch:n}=t;n(kn(e,!0)),await new Promise(e=>setTimeout(e,150)),n(kn(e,!1))};function yn(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}var En=n("AHN3");const Cn={reducer:k,selectors:o,actions:r,__experimentalUseThunks:!0},Sn=Object(c.createReduxStore)(En.a,{...Cn,persist:["preferences"]});Object(c.registerStore)(En.a,{...Cn,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._x)("Regular","font style"),value:"normal"},{name:Object(c._x)("Italic","font style"),value:"italic"}],i=[{name:Object(c._x)("Thin","font weight"),value:"100"},{name:Object(c._x)("Extra Light","font weight"),value:"200"},{name:Object(c._x)("Light","font weight"),value:"300"},{name:Object(c._x)("Regular","font weight"),value:"400"},{name:Object(c._x)("Medium","font weight"),value:"500"},{name:Object(c._x)("Semi Bold","font weight"),value:"600"},{name:Object(c._x)("Bold","font weight"),value:"700"},{name:Object(c._x)("Extra Bold","font weight"),value:"800"},{name:Object(c._x)("Black","font weight"),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;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},l=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n};t.__esModule=!0;var i=n("cDcd"),a=n("17x9"),s=n("GemG"),u=n("Rk8H"),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.textarea=null,t.onResize=function(e){t.props.onResize&&t.props.onResize(e)},t.updateLineHeight=function(){t.textarea&&t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.maxRows,o=t.async;"number"==typeof n&&this.updateLineHeight(),"number"==typeof n||o?setTimeout((function(){return e.textarea&&s(e.textarea)})):this.textarea&&s(this.textarea),this.textarea&&this.textarea.addEventListener("autosize:resized",this.onResize)},t.prototype.componentWillUnmount=function(){this.textarea&&(this.textarea.removeEventListener("autosize:resized",this.onResize),s.destroy(this.textarea))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onResize,t.maxRows),o=(t.onChange,t.style),r=(t.innerRef,t.children),a=l(t,["onResize","maxRows","onChange","style","innerRef","children"]),s=this.state.lineHeight,u=n&&s?s*n:null;return i.createElement("textarea",c({},a,{onChange:this.onChange,style:u?c({},o,{maxHeight:u}):o,ref:function(t){e.textarea=t,"function"==typeof e.props.innerRef?e.props.innerRef(t):e.props.innerRef&&(e.props.innerRef.current=t)}}),r)},t.prototype.componentDidUpdate=function(){this.textarea&&s.update(this.textarea)},t.defaultProps={rows:1,async:!1},t.propTypes={rows:a.number,maxRows:a.number,onResize:a.func,innerRef:a.any,async:a.bool},t}(i.Component);t.TextareaAutosize=i.forwardRef((function(e,t){return i.createElement(d,c({},e,{innerRef:t}))}))},Civd: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.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=c},Cn0l:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return b})),n.d(t,"c",(function(){return p}));var o=n("YLtl"),r=n("GRId"),c=n("1ZqX"),l=n("ur0x"),i=n("v5LD"),a=n("BhPs");function s(e){if(e)return`has-${e}-gradient-background`}function u(e,t){const n=Object(o.find)(e,["slug",t]);return n&&n.gradient}function d(e,t){return Object(o.find)(e,["gradient",t])}function b(e,t){const n=d(e,t);return n&&n.slug}function p(){let{gradientAttribute:e="gradient",customGradientAttribute:t="customGradient"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{clientId:n}=Object(l.c)(),o=Object(i.a)("color.gradients.custom"),d=Object(i.a)("color.gradients.theme"),p=Object(i.a)("color.gradients.default"),m=Object(r.useMemo)(()=>[...o||[],...d||[],...p||[]],[o,d,p]),{gradient:f,customGradient:h}=Object(c.useSelect)(o=>{const{getBlockAttributes:r}=o(a.a),c=r(n)||{};return{customGradient:c[t],gradient:c[e]}},[n,e,t]),{updateBlockAttributes:g}=Object(c.useDispatch)(a.a),O=Object(r.useCallback)(o=>{const r=b(m,o);g(n,r?{[e]:r,[t]:void 0}:{[e]:void 0,[t]:o})},[m,n,g]),v=s(f);let j;return j=f?u(m,f):h,{gradientClass:v,gradientValue:j,setGradient:O}}},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;
+!function(){var e={6411:function(e,t){var n,o,r;
 /*!
 	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 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<t?"hidden"===n.overflowY&&(s("scroll"),u(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(s("hidden"),u(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),l!==o){l=o;var r=c("autosize:resized");try{e.dispatchEvent(r)}catch(e){}}}}function i(e){var t=r.get(e);t&&t.destroy()}function a(e){var t=r.get(e);t&&t.update()}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((s=function(e){return e}).destroy=function(e){return e},s.update=function(e){return e}):((s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return l(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e}),t.default=s,e.exports=t.default})?o.apply(t,r):o)||(e.exports=c)},GkEL:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("NMb1"),i=n.n(l),a=n("1CF3"),s=n("hF7m");function u(e){return Array.from(e.querySelectorAll("[data-toolbar-item]"))}function d(e,t,n,o,c){const[l]=Object(r.useState)(t),[i]=Object(r.useState)(o),d=Object(r.useCallback)(()=>{!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(c.useSelect)(e=>!t||e(i.a).areInnerBlocksControlled(t),[t]),j=Object(r.useRef)({incoming:null,outgoing:[]}),k=Object(r.useRef)(!1),_=()=>{n&&(h(),t?d.batch(()=>{f(t,!0);const e=n.map(e=>Object(l.cloneBlock)(e));k.current&&(j.current.incoming=e),h(),m(t,e)}):(k.current&&(j.current.incoming=n),b(n)))},y=Object(r.useRef)(u),E=Object(r.useRef)(s);Object(r.useEffect)(()=>{y.current=u,E.current=s},[u,s]),Object(r.useEffect)(()=>{j.current.outgoing.includes(n)?Object(o.last)(j.current.outgoing)===n&&(j.current.outgoing=[]):O(t)!==n&&(j.current.outgoing=[],_(),a&&p(a.selectionStart,a.selectionEnd,a.initialPosition))},[n,t]),Object(r.useEffect)(()=>{v||(j.current.outgoing=[],_())},[v]),Object(r.useEffect)(()=>{const{getSelectionStart:e,getSelectionEnd:n,getSelectedBlocksInitialCaretPosition:o,isLastBlockChangePersistent:r,__unstableIsLastBlockChangeIgnored:c,areInnerBlocksControlled:l}=d.select(i.a);let a=O(t),s=r(),u=!1;k.current=!0;const b=d.subscribe(()=>{if(null!==t&&null===g(t))return;if(!(!t||l(t)))return;const i=r(),d=O(t),b=d!==a;if(a=d,b&&(j.current.incoming||c()))return j.current.incoming=null,void(s=i);if(b||u&&!b&&i&&!s){s=i,j.current.outgoing.push(a);(s?E.current:y.current)(a,{selection:{selectionStart:e(),selectionEnd:n(),initialPosition:o()}})}u=b});return()=>b()},[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),O=0===g,v=l(Object(c.last)(b))===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}},K8zD: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.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"}));t.a=c},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 I})),n.d(t,"b",(function(){return x}));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){var t,n;let{selector:r,layout:c,style:l}=e;const{orientation:i="horizontal"}=c,a=null!==Object(m.a)("spacing.blockGap"),s=null!==(t=null==l||null===(n=l.spacing)||void 0===n?void 0:n.blockGap)&&void 0!==t?t:"var( --wp--style--block-gap, 0.5em )",u=g[c.justifyContent]||g.left,d=v.includes(c.flexWrap)?c.flexWrap:"wrap",b=`\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t\tjustify-content: ${u};\n\t\t`,f=`\n\t\tflex-direction: column;\n\t\talign-items: ${O[c.justifyContent]||O.left};\n\t\t`;return Object(o.createElement)("style",null,`\n\t\t\t\t${p(r)} {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tgap: ${a?s:"0.5em"};\n\t\t\t\t\tflex-wrap: ${d};\n\t\t\t\t\t${"horizontal"===i?b:f}\n\t\t\t\t}\n\n\t\t\t\t${p(r,"> *")} {\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){var t,n;let{selector:r,layout:c={},style:l}=e;const{contentSize:i,wideSize:a}=c,s=null!==Object(m.a)("spacing.blockGap"),u=null!==(t=null==l||null===(n=l.spacing)||void 0===n?void 0:n.blockGap)&&void 0!==t?t:"var( --wp--style--block-gap )";let d=i||a?`\n\t\t\t\t\t${p(r,"> *")} {\n\t\t\t\t\t\tmax-width: ${null!=i?i:a};\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(r,'> [data-align="wide"]')}  {\n\t\t\t\t\t\tmax-width: ${null!=a?a:i};\n\t\t\t\t\t}\n\n\t\t\t\t\t${p(r,'> [data-align="full"]')} {\n\t\t\t\t\t\tmax-width: none;\n\t\t\t\t\t}\n\t\t\t\t`:"";return d+=`\n\t\t\t${p(r,'> [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(r,'> [data-align="right"]')} {\n\t\t\t\tfloat: right;\n\t\t\t\tmargin-left: 2em;\n\t\t\t}\n\n\t\t`,s&&(d+=`\n\t\t\t\t${p(r,"> *")} {\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(r,"> * + *")} {\n\t\t\t\t\tmargin-top: ${u};\n\t\t\t\t}\n\t\t\t`),Object(o.createElement)("style",null,d)},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 I(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return w.find(t=>t.name===e)}function x(){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),I=Object(a.useReducedMotion)(),x=c()("block-editor-block-list__insertion-point","is-"+g);const B=_&&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:B?.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:I?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:!I,initial:I?"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()(x,{"is-with-inserter":B}),style:C},Object(o.createElement)(i.__unstableMotion.div,{variants:T,className:"block-editor-block-list__insertion-point-indicator"}),B&&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";n.d(t,"b",(function(){return O}));var o=n("GRId"),r=n("YLtl"),c=n("TSYQ"),l=n.n(c),i=n("K9lf"),a=n("1ZqX"),s=n("/QNa"),u=n("tI+e"),d=n("VyCT");function b(e){let{onClick:t}=e;return Object(o.createElement)("div",{tabIndex:0,role:"button",onClick:t,onKeyPress:t},Object(o.createElement)(u.Disabled,null,Object(o.createElement)(d.c,null)))}var p=n("hHnB"),m=n("KyyN"),f=n("BhPs");let h;var g=function(e){let{viewportWidth:t,__experimentalPadding:n}=e;const[r,{width:c}]=Object(i.useResizeObserver)(),[l,{height:s}]=Object(i.useResizeObserver)(),b=Object(a.useSelect)(e=>e(f.a).getSettings().styles,[]),g=Object(o.useMemo)(()=>b?[...b,{css:"body{height:auto;overflow:hidden;}",__unstableType:"presets"}]:b,[b]);h=h||Object(i.pure)(d.c);const O=c/t;return Object(o.createElement)("div",{className:"block-editor-block-preview__container"},r,Object(o.createElement)(u.Disabled,{className:"block-editor-block-preview__content",style:{transform:`scale(${O})`,height:s*O,maxHeight:s>2e3?2e3*O:void 0}},Object(o.createElement)(p.a,{head:Object(o.createElement)(m.a,{styles:g}),contentRef:Object(i.useRefEffect)(e=>{const{ownerDocument:{documentElement:t}}=e;t.classList.add("block-editor-block-preview__content-iframe"),t.style.position="absolute",t.style.width="100%",e.style.padding=n+"px",e.style.position="relative"},[]),"aria-hidden":!0,tabIndex:-1,style:{position:"absolute",width:t,height:s,pointerEvents:"none",maxHeight:2e3}},l,Object(o.createElement)(h,{renderAppender:!1}))))};t.a=Object(o.memo)((function(e){let{blocks:t,__experimentalPadding:n=0,viewportWidth:c=1200,__experimentalLive:l=!1,__experimentalOnClick:i}=e;const u=Object(a.useSelect)(e=>e(f.a).getSettings(),[]),d=Object(o.useMemo)(()=>{const e={...u};return e.__experimentalBlockPatterns=[],e},[u]),p=Object(o.useMemo)(()=>Object(r.castArray)(t),[t]);return t&&0!==t.length?Object(o.createElement)(s.a,{value:p,settings:d},l?Object(o.createElement)(b,{onClick:i}):Object(o.createElement)(g,{viewportWidth:c,__experimentalPadding:n})):null}));function O(e){let{blocks:t,props:n={},__experimentalLayout:c}=e;const u=Object(a.useSelect)(e=>e(f.a).getSettings(),[]),b=Object(i.__experimentalUseDisabled)(),p=Object(i.useMergeRefs)([n.ref,b]),m=Object(o.useMemo)(()=>({...u,__experimentalBlockPatterns:[]}),[u]),h=Object(o.useMemo)(()=>Object(r.castArray)(t),[t]),g=Object(o.createElement)(s.a,{value:h,settings:m},Object(o.createElement)(d.a,{renderAppender:!1,__experimentalLayout:c}));return{...n,ref:p,className:l()(n.className,"block-editor-block-preview__live-content","components-disabled"),children:null!=t&&t.length?g: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="&nbsp;","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;
+*/o=[e,t],n=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))}}),l=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){l=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=null,n=null,o=null,i=function(){e.clientWidth!==n&&p()},s=function(t){window.removeEventListener("resize",i,!1),e.removeEventListener("input",p,!1),e.removeEventListener("keyup",p,!1),e.removeEventListener("autosize:destroy",s,!1),e.removeEventListener("autosize:update",p,!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",s,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",p,!1),window.addEventListener("resize",i,!1),e.addEventListener("input",p,!1),e.addEventListener("autosize:update",p,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",r.set(e,{destroy:s,update:p}),a()}function a(){var n=window.getComputedStyle(e,null);"vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),t="content-box"===n.boxSizing?-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),isNaN(t)&&(t=0),p()}function c(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(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}function d(){if(0!==e.scrollHeight){var o=u(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",n=e.clientWidth,o.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function p(){d();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(c("scroll"),d(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(c("hidden"),d(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),o!==r){o=r;var i=l("autosize:resized");try{e.dispatchEvent(i)}catch(e){}}}}function s(e){var t=r.get(e);t&&t.destroy()}function a(e){var t=r.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return i(e,t)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e}),t.default=c,e.exports=t.default},void 0===(r="function"==typeof n?n.apply(t,o):n)||(e.exports=r)},4403:function(e,t){var n;
 /*!
   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<arguments.length;t++){var o=arguments[t];if(o){var c=typeof o;if("string"===c||"number"===c)e.push(o);else if(Array.isArray(o)){if(o.length){var l=r.apply(null,o);l&&e.push(l)}}else if("object"===c)if(o.toString===Object.prototype.toString)for(var i in o)n.call(o,i)&&o[i]&&e.push(i);else e.push(o.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},TVFh:function(e,t,n){"use strict";n.d(t,"b",(function(){return E}));var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("1ZqX"),a=n("l3Sj"),s=n("K9lf"),u=n("YLtl"),d=n("BhPs"),b=n("PKbb");function p(e,t){const n="start"===t?"firstChild":"lastChild",o="start"===t?"nextSibling":"previousSibling";for(;e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[o];)e=e[o];return e}function m(e){const{isMultiSelecting:t,getMultiSelectedBlockClientIds:n,hasMultiSelection:o,getSelectedBlockClientId:r}=e(d.a);return{isMultiSelecting:t(),multiSelectedBlockClientIds:n(),hasMultiSelection:o(),selectedBlockClientId:r()}}function f(){const{isMultiSelecting:e,multiSelectedBlockClientIds:t,hasMultiSelection:n,selectedBlockClientId:o}=Object(i.useSelect)(m,[]),r=Object(b.b)(o),c=Object(b.b)(Object(u.first)(t)),l=Object(b.b)(Object(u.last)(t));return Object(s.useRefEffect)(i=>{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:I}=i,{defaultView:x}=I;if(u()){if(E){(C?m:f)(k),t.preventDefault()}return}if(y?s||(s=Object(h.computeCaretRect)(x)):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 B=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(_&&x.getSelection().isCollapsed&&Object(h.isHorizontalEdge)(l,B)&&!T){const e=j(l,B,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 x})),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.clientY<v.top)||"vertical"===i&&(t.clientX>v.right||t.clientX<v.left))return void(a()&&m());const j=c(O);0!==j?b(l,j,{__unstableWithInserter:!0}):a()&&m()}},[e,n,r,c,a,s,b,m,u])}const g="undefined"==typeof window?e=>{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 I=Object(o.createContext)(),x=Object(o.createContext)();function B(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)(I.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)(B,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)(x.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=I},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:I=!0,shouldFocusBlock:x=!0}=e;const B=Object(i.useDebounce)(a.speak,500),[T,P]=Object(m.a)({onSelect:n,rootClientId:k,clientId:_,isAppender:y,insertionIndex:E,shouldFocusBlock:x}),[R,N,M,L]=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,M,t);return void 0!==S?e.slice(0,S):e},[t,R,N,M,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);B(n)},[t,B]);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:L,onHover:j,label:Object(c.__)("Blocks"),isDraggable:I})),!!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:I}))),w&&Object(o.createElement)(d.a.Slot,{fillProps:{onSelect:L,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<c){const e=Math.max(c-50,0),n=Math.max(c-l-50,0)/e;t.current=-25*n}else t.current=0},[]),()=>{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<s&&(s=p,u=b)}return u}},t.string.push([function(t){var o=t.toLowerCase(),r="transparent"===o?"#0000":n[o];return r?new e(r).toRgb():null},"name"])}},asom:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("wx14"),r=n("GRId"),c=n("tI+e");function l(e){let{Slot:t,...n}=e;const l=Object(r.useContext)(c.__experimentalToolsPanelContext);return Object(r.createElement)(t,Object(o.a)({},n,{fillProps:l}))}},b2RC: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 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",fillRule:"evenodd",clipRule:"evenodd"}));t.a=c},bTSr: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 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"}));t.a=c},bVTw: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",width:"24",height:"24",fill:"none"},Object(o.createElement)(r.Path,{d:"M5 11.25h14v1.5H5z"}));t.a=c},bVpQ:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return u}));var o=n("YLtl"),r=n("fHnH"),c=n("abaT"),l=n("7bKH");Object(r.b)([c.a,l.a]);const i=(e,t,n)=>{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{attributes:s,clientIds:u,panelId:d}=Object(c.useSelect)(e=>{const{getBlockAttributes:t,getMultiSelectedBlockClientIds:n,getSelectedBlockClientId:o,hasMultiSelection:r}=e(l.a),c=o();if(r()){const e=n(),o=e.reduce((e,n)=>(e[n]=t(n),e),{});return{panelId:c,clientIds:e,attributes:o}}return{panelId:c,clientIds:[c],attributes:{[c]:t(c)}}},[]),{updateBlockAttributes:b}=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 t={};u.forEach(n=>{const{style:o}=s[n];let r={style:o};e.forEach(e=>{r={...r,...e(r)}}),r={...r,style:Object(i.a)(r.style)},t[n]=r}),b(u,t,!0)},key:d,panelId:d,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},dchM:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("tI+e"),a=n("hMaJ");function s(e){let t,{colors:n,gradients:c,disableCustomColors:s,disableCustomGradients:u,__experimentalHasMultipleOrigins:d,__experimentalIsRenderedInSidebar:b,enableAlpha:p,settings:m}=e;return b&&(t="bottom left"),Object(r.createElement)(i.__experimentalItemGroup,{isBordered:!0,isSeparated:!0,className:"block-editor-panel-color-gradient-settings__item-group"},m.map((e,m)=>Object(r.createElement)(i.Dropdown,{key:m,position:t,className:"block-editor-panel-color-gradient-settings__dropdown",contentClassName:"block-editor-panel-color-gradient-settings__dropdown-content",renderToggle:t=>{var n;let{isOpen:o,onToggle:c}=t;return Object(r.createElement)(i.__experimentalItem,{onClick:c,className:l()("block-editor-panel-color-gradient-settings__item",{"is-open":o})},Object(r.createElement)(i.__experimentalHStack,{justify:"flex-start"},Object(r.createElement)(i.ColorIndicator,{className:"block-editor-panel-color-gradient-settings__color-indicator",colorValue:null!==(n=e.gradientValue)&&void 0!==n?n:e.colorValue}),Object(r.createElement)(i.FlexItem,null,e.label)))},renderContent:()=>Object(r.createElement)(a.a,Object(o.a)({showTitle:!1,colors:n,gradients:c,disableCustomColors:s,disableCustomGradients:u,__experimentalHasMultipleOrigins:d,__experimentalIsRenderedInSidebar:b,enableAlpha:p},e))})))}},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<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}const O=(e,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<r.length;e++)if(r[e].node_===d){f.circular=r[e];break}}else f.isLeaf=!0,f.keys=null;f.notLeaf=!f.isLeaf,f.notRoot=!f.isRoot}h();var g=t.call(f,f.node);return void 0!==g&&f.update&&f.update(g),p.before&&p.before.call(f,f.node),m?("object"!=typeof f.node||null===f.node||f.circular||(r.push(f),h(),s(f.keys,(function(t,r){o.push(t),p.pre&&p.pre.call(f,f.node[t],t);var c=e(f.node[t]);n&&u.call(f.node,t)&&(f.node[t]=c.node),c.isLast=r==f.keys.length-1,c.isFirst=0==r,p.post&&p.post.call(f,c),o.pop()})),r.pop()),p.after&&p.after.call(f,f.node),f):f}(e).node}function c(e){if("object"==typeof e&&null!==e){var t;if(a(e))t=[];else if("[object Date]"===i(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===i(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===i(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===i(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===i(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===i(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},o=function(){};o.prototype=n,t=new o}return s(l(e),(function(n){t[n]=e[n]})),t}return e}o.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var o=e[n];if(!t||!u.call(t,o)){t=void 0;break}t=t[o]}return t},o.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var o=e[n];if(!t||!u.call(t,o))return!1;t=t[o]}return!0},o.prototype.set=function(e,t){for(var n=this.value,o=0;o<e.length-1;o++){var r=e[o];u.call(n,r)||(n[r]={}),n=n[r]}return n[e[o]]=t,t},o.prototype.map=function(e){return r(this.value,e,!0)},o.prototype.forEach=function(e){return this.value=r(this.value,e,!1),this.value},o.prototype.reduce=function(e,t){var n=1===arguments.length,o=n?this.value:t;return this.forEach((function(t){this.isRoot&&n||(o=e.call(this,o,t))})),o},o.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},o.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},o.prototype.clone=function(){var e=[],t=[];return function n(o){for(var r=0;r<e.length;r++)if(e[r]===o)return t[r];if("object"==typeof o&&null!==o){var i=c(o);return e.push(o),t.push(i),s(l(o),(function(e){i[e]=n(o[e])})),e.pop(),t.pop(),i}return o}(this.value)};var l=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function i(e){return Object.prototype.toString.call(e)}var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};s(l(o.prototype),(function(e){n[e]=function(t){var n=[].slice.call(arguments,1),r=new o(t);return r[e].apply(r,n)}}));var u=Object.hasOwnProperty||function(e,t){return t in e}},ez49:function(e,t,n){"use strict";var o,r=n("o97j");r.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""))
+*/!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var s in n)o.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},4827:function(e){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},1198:function(e,t){"use strict";function n(){}function o(e,t,n,o,r){for(var l=0,i=t.length,s=0,a=0;l<i;l++){var c=t[l];if(c.removed){if(c.value=e.join(o.slice(a,a+c.count)),a+=c.count,l&&t[l-1].added){var u=t[l-1];t[l-1]=t[l],t[l]=u}}else{if(!c.added&&r){var d=n.slice(s,s+c.count);d=d.map((function(e,t){var n=o[a+t];return n.length>e.length?n:e})),c.value=e.join(d)}else c.value=e.join(n.slice(s,s+c.count));s+=c.count,c.added||(a+=c.count)}}var p=t[i-1];return i>1&&"string"==typeof p.value&&(p.added||p.removed)&&e.equals("",p.value)&&(t[i-2].value+=p.value,t.pop()),t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=n.callback;"function"==typeof n&&(l=n,n={}),this.options=n;var i=this;function s(e){return l?(setTimeout((function(){l(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,c=e.length,u=1,d=a+c,p=[{newPos:-1,components:[]}],m=this.extractCommon(p[0],t,e,0);if(p[0].newPos+1>=a&&m+1>=c)return s([{value:this.join(t),count:t.length}]);function f(){for(var n=-1*u;n<=u;n+=2){var l=void 0,d=p[n-1],m=p[n+1],f=(m?m.newPos:0)-n;d&&(p[n-1]=void 0);var h=d&&d.newPos+1<a,g=m&&0<=f&&f<c;if(h||g){if(!h||g&&d.newPos<m.newPos?(l=r(m),i.pushComponent(l.components,void 0,!0)):((l=d).newPos++,i.pushComponent(l.components,!0,void 0)),f=i.extractCommon(l,t,e,n),l.newPos+1>=a&&f+1>=c)return s(o(i,l.components,t,e,i.useLongestToken));p[n]=l}else p[n]=void 0}u++}if(l)!function e(){setTimeout((function(){if(u>d)return l();f()||e()}),0)}();else for(;u<=d;){var h=f();if(h)return h}},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,l=n.length,i=e.newPos,s=i-o,a=0;i+1<r&&s+1<l&&this.equals(t[i+1],n[s+1]);)i++,s++,a++;return a&&e.components.push({count:a}),e.newPos=i,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},1973:function(e,t,n){"use strict";var o;t.Kx=function(e,t,n){return r.diff(e,t,n)};var r=new(((o=n(1198))&&o.__esModule?o:{default:o}).default)},1345:function(e,t,n){"use strict";var o=n(5022);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,l=n.onlyScrollIfNeeded,i=n.alignWithTop,s=n.alignWithLeft,a=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;r=void 0===r||r;var p=o.isWindow(t),m=o.offset(e),f=o.outerHeight(e),h=o.outerWidth(e),g=void 0,v=void 0,b=void 0,k=void 0,_=void 0,y=void 0,E=void 0,C=void 0,w=void 0,S=void 0;p?(E=t,S=o.height(E),w=o.width(E),C={left:o.scrollLeft(E),top:o.scrollTop(E)},_={left:m.left-C.left-c,top:m.top-C.top-a},y={left:m.left+h-(C.left+w)+d,top:m.top+f-(C.top+S)+u},k=C):(g=o.offset(t),v=t.clientHeight,b=t.clientWidth,k={left:t.scrollLeft,top:t.scrollTop},_={left:m.left-(g.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-c,top:m.top-(g.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-a},y={left:m.left+h-(g.left+b+(parseFloat(o.css(t,"borderRightWidth"))||0))+d,top:m.top+f-(g.top+v+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),_.top<0||y.top>0?!0===i?o.scrollTop(t,k.top+_.top):!1===i?o.scrollTop(t,k.top+y.top):_.top<0?o.scrollTop(t,k.top+_.top):o.scrollTop(t,k.top+y.top):l||((i=void 0===i||!!i)?o.scrollTop(t,k.top+_.top):o.scrollTop(t,k.top+y.top)),r&&(_.left<0||y.left>0?!0===s?o.scrollLeft(t,k.left+_.left):!1===s?o.scrollLeft(t,k.left+y.left):_.left<0?o.scrollLeft(t,k.left+_.left):o.scrollLeft(t,k.left+y.left):l||((s=void 0===s||!!s)?o.scrollLeft(t,k.left+_.left):o.scrollLeft(t,k.left+y.left)))}},5425:function(e,t,n){"use strict";e.exports=n(1345)},5022:function(e){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function o(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],o="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}function r(e){return o(e)}function l(e){return o(e,!0)}function i(e){var t=function(e){var t,n=void 0,o=void 0,r=e.ownerDocument,l=r.body,i=r&&r.documentElement;return n=(t=e.getBoundingClientRect()).left,o=t.top,{left:n-=i.clientLeft||l.clientLeft||0,top:o-=i.clientTop||l.clientTop||0}}(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=r(o),t.top+=l(o),t}var s=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),a=/^(top|right|bottom|left)$/;var c=void 0;function u(e,t){for(var n=0;n<e.length;n++)t(e[n])}function d(e){return"border-box"===c(e,"boxSizing")}"undefined"!=typeof window&&(c=window.getComputedStyle?function(e,t,n){var o="",r=e.ownerDocument,l=n||r.defaultView.getComputedStyle(e,null);return l&&(o=l.getPropertyValue(t)||l[t]),o}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(s.test(n)&&!a.test(t)){var o=e.style,r=o.left,l=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,o.left="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o.left=r,e.runtimeStyle.left=l}return""===n?"auto":n});var p=["margin","border","padding"];function m(e,t,n){var o={},r=e.style,l=void 0;for(l in t)t.hasOwnProperty(l)&&(o[l]=r[l],r[l]=t[l]);for(l in n.call(e),t)t.hasOwnProperty(l)&&(r[l]=o[l])}function f(e,t,n){var o=0,r=void 0,l=void 0,i=void 0;for(l=0;l<t.length;l++)if(r=t[l])for(i=0;i<n.length;i++){var s=void 0;s="border"===r?r+n[i]+"Width":r+n[i],o+=parseFloat(c(e,s))||0}return o}function h(e){return null!=e&&e==e.window}var g={};function v(e,t,n){if(h(e))return"width"===t?g.viewportWidth(e):g.viewportHeight(e);if(9===e.nodeType)return"width"===t?g.docWidth(e):g.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.offsetWidth:e.offsetHeight,l=(c(e),d(e)),i=0;(null==r||r<=0)&&(r=void 0,(null==(i=c(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===n&&(n=l?1:-1);var s=void 0!==r||l,a=r||i;if(-1===n)return s?a-f(e,["border","padding"],o):i;if(s){var u=2===n?-f(e,["border"],o):f(e,["margin"],o);return a+(1===n?0:u)}return i+f(e,p.slice(n),o)}u(["Width","Height"],(function(e){g["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],g["viewport"+e](n))},g["viewport"+e]=function(t){var n="client"+e,o=t.document,r=o.body,l=o.documentElement[n];return"CSS1Compat"===o.compatMode&&l||r&&r[n]||l}}));var b={position:"absolute",visibility:"hidden",display:"block"};function k(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=v.apply(void 0,n):m(e,b,(function(){t=v.apply(void 0,n)})),t}function _(e,t,o){var r=o;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):c(e,t);for(var l in t)t.hasOwnProperty(l)&&_(e,l,t[l])}u(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,n){return t&&k(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,o){if(void 0===o)return t&&k(t,e,-1);if(t){c(t);return d(t)&&(o+=f(t,["padding","border"],n)),_(t,e,o)}}})),e.exports=t({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return i(e);!function(e,t){"static"===_(e,"position")&&(e.style.position="relative");var n=i(e),o={},r=void 0,l=void 0;for(l in t)t.hasOwnProperty(l)&&(r=parseFloat(_(e,l))||0,o[l]=r+t[l]-n[l]);_(e,o)}(e,t)},isWindow:h,each:u,css:_,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(h(e)){if(void 0===t)return r(e);window.scrollTo(t,l(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(h(e)){if(void 0===t)return l(e);window.scrollTo(r(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},8575:function(e){"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}}},9894:function(e,t,n){var o=n(4827);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 l=e.nodeName,i=document.createElement(l);i.innerHTML="&nbsp;","TEXTAREA"===l.toUpperCase()&&i.setAttribute("rows","1");var s=o(e,"font-size");i.style.fontSize=s,i.style.padding="0px",i.style.border="0px";var a=document.body;a.appendChild(i),n=i.offsetHeight,a.removeChild(i)}return n}},7970:function(e,t,n){e.exports=n(195)},3110:function(e){"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},3812:function(e){var t,n,o,r,l,i,s,a,c,u,d,p,m,f,h,g=!1;function v(){if(!g){g=!0;var e=navigator.userAgent,v=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),b=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),m=/\b(iP[ao]d)/.exec(e),u=/Android/i.exec(e),f=/FBAN\/\w+;/i.exec(e),h=/Mobile/i.exec(e),d=!!/Win64/.exec(e),v){(t=v[1]?parseFloat(v[1]):v[5]?parseFloat(v[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var k=/(?:Trident\/(\d+.\d+))/.exec(e);i=k?parseFloat(k[1])+4:t,n=v[2]?parseFloat(v[2]):NaN,o=v[3]?parseFloat(v[3]):NaN,(r=v[4]?parseFloat(v[4]):NaN)?(v=/(?:Chrome\/(\d+\.\d+))/.exec(e),l=v&&v[1]?parseFloat(v[1]):NaN):l=NaN}else t=n=o=l=r=NaN;if(b){if(b[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);s=!_||parseFloat(_[1].replace("_","."))}else s=!1;a=!!b[2],c=!!b[3]}else s=a=c=!1}}var b={ie:function(){return v()||t},ieCompatibilityMode:function(){return v()||i>t},ie64:function(){return b.ie()&&d},firefox:function(){return v()||n},opera:function(){return v()||o},webkit:function(){return v()||r},safari:function(){return b.webkit()},chrome:function(){return v()||l},windows:function(){return v()||a},osx:function(){return v()||s},linux:function(){return v()||c},iphone:function(){return v()||p},mobile:function(){return v()||p||m||u||h},nativeApp:function(){return v()||f},android:function(){return v()||u},ipad:function(){return v()||m}};e.exports=b},7939:function(e,t,n){"use strict";var o,r=n(3110);r.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""))
 /**
  * Checks if an event is supported in the current execution environment.
  *
@@ -23,4 +23,19 @@ this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(o){if(t[
  * @return {boolean} True if the event is supported.
  * @internal
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */,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 x})),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<t.length;n++){var o=t[n][0](e);if(o)return[o,t[n][1]]}return[null,void 0]},E=function(e){return"string"==typeof e?y(e.trim(),_.string):"object"==typeof e&&null!==e?y(e,_.object):[null,void 0]},C=function(e,t){var n=g(e);return{h:n.h,s:l(n.s+100*t,0,100),l:n.l,a:n.a}},S=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},w=function(e,t){var n=g(e);return{h:n.h,s:n.s,l:l(n.l+100*t,0,100),a:n.a}},I=function(){function e(e){this.parsed=E(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return c(S(this.rgba),2)},e.prototype.isDark=function(){return S(this.rgba)<.5},e.prototype.isLight=function(){return S(this.rgba)>=.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 x({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),x(C(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),x(C(this.rgba,-e))},e.prototype.grayscale=function(){return x(C(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),x(w(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),x(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?x({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?x({h:e,s:t.s,l:t.l,a:t.a}):c(t.h)},e.prototype.isEqual=function(e){return this.toHex()===x(e).toHex()},e}(),x=function(e){return e instanceof I?e:new I(e)},B=[],T=function(e){e.forEach((function(e){B.indexOf(e)<0&&(e(I,_),B.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,I]=Object(d.b)(),x=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()})},[]),B=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)){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,x]),tabIndex:h,title:Object(i.__)("Editor canvas")}),v&&Object(r.createPortal)(Object(r.createElement)(r.Fragment,null,Object(r.createElement)("head",{ref:B},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&&I)}))},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,__experimentalIsRenderedInSidebar:d,className:b,label:p,onColorChange:m,onGradientChange:f,colorValue:h,gradientValue:g,clearable:O,showTitle:v=!0,enableAlpha:j}=e;const k=m&&(!Object(i.isEmpty)(t)||!o),_=f&&(!Object(i.isEmpty)(n)||!c),[y,E]=Object(r.useState)(g?"gradient":!!k&&"color");return k||_?Object(r.createElement)(a.BaseControl,{className:l()("block-editor-color-gradient-control",b)},Object(r.createElement)("fieldset",null,Object(r.createElement)(a.__experimentalVStack,{spacing:1},v&&Object(r.createElement)("legend",null,Object(r.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(r.createElement)(a.BaseControl.VisualLabel,null,p))),k&&_&&Object(r.createElement)(a.__experimentalToggleGroupControl,{value:y,onChange:E,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"===y||!_)&&Object(r.createElement)(a.ColorPalette,{value:h,onChange:_?e=>{m(e),f()}:m,colors:t,disableCustomColors:o,__experimentalHasMultipleOrigins:u,__experimentalIsRenderedInSidebar:d,clearable:O,enableAlpha:j}),("gradient"===y||!k)&&Object(r.createElement)(a.GradientPicker,{value:g,onChange:k?e=>{f(e),m()}:f,gradients:n,disableCustomGradients:c,__experimentalHasMultipleOrigins:u,__experimentalIsRenderedInSidebar:d,clearable:O})))):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;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function c(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],o="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}function l(e){return c(e)}function i(e){return c(e,!0)}function a(e){var t=function(e){var t,n=void 0,o=void 0,r=e.ownerDocument,c=r.body,l=r&&r.documentElement;return n=(t=e.getBoundingClientRect()).left,o=t.top,{left:n-=l.clientLeft||c.clientLeft||0,top:o-=l.clientTop||c.clientTop||0}}(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=l(o),t.top+=i(o),t}var s=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="left";var b=void 0;function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function m(e){return"border-box"===b(e,"boxSizing")}"undefined"!=typeof window&&(b=window.getComputedStyle?function(e,t,n){var o="",r=e.ownerDocument,c=n||r.defaultView.getComputedStyle(e,null);return c&&(o=c.getPropertyValue(t)||c[t]),o}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(s.test(n)&&!u.test(t)){var o=e.style,r=o[d],c=e.runtimeStyle[d];e.runtimeStyle[d]=e.currentStyle[d],o[d]="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o[d]=r,e.runtimeStyle[d]=c}return""===n?"auto":n});var f=["margin","border","padding"];function h(e,t,n){var o={},r=e.style,c=void 0;for(c in t)t.hasOwnProperty(c)&&(o[c]=r[c],r[c]=t[c]);for(c in n.call(e),t)t.hasOwnProperty(c)&&(r[c]=o[c])}function g(e,t,n){var o=0,r=void 0,c=void 0,l=void 0;for(c=0;c<t.length;c++)if(r=t[c])for(l=0;l<n.length;l++){var i=void 0;i="border"===r?r+n[l]+"Width":r+n[l],o+=parseFloat(b(e,i))||0}return o}function O(e){return null!=e&&e==e.window}var v={};function j(e,t,n){if(O(e))return"width"===t?v.viewportWidth(e):v.viewportHeight(e);if(9===e.nodeType)return"width"===t?v.docWidth(e):v.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.offsetWidth:e.offsetHeight,c=(b(e),m(e)),l=0;(null==r||r<=0)&&(r=void 0,(null==(l=b(e,t))||Number(l)<0)&&(l=e.style[t]||0),l=parseFloat(l)||0),void 0===n&&(n=c?1:-1);var i=void 0!==r||c,a=r||l;if(-1===n)return i?a-g(e,["border","padding"],o):l;if(i){var s=2===n?-g(e,["border"],o):g(e,["margin"],o);return a+(1===n?0:s)}return l+g(e,f.slice(n),o)}p(["Width","Height"],(function(e){v["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],v["viewport"+e](n))},v["viewport"+e]=function(t){var n="client"+e,o=t.document,r=o.body,c=o.documentElement[n];return"CSS1Compat"===o.compatMode&&c||r&&r[n]||c}}));var k={position:"absolute",visibility:"hidden",display:"block"};function _(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=j.apply(void 0,n):h(e,k,(function(){t=j.apply(void 0,n)})),t}function y(e,t,n){var o=n;if("object"!==(void 0===t?"undefined":r(t)))return void 0!==o?("number"==typeof o&&(o+="px"),void(e.style[t]=o)):b(e,t);for(var c in t)t.hasOwnProperty(c)&&y(e,c,t[c])}p(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);v["outer"+t]=function(t,n){return t&&_(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];v[e]=function(t,o){if(void 0===o)return t&&_(t,e,-1);if(t){b(t);return m(t)&&(o+=g(t,["padding","border"],n)),y(t,e,o)}}})),e.exports=o({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return a(e);!function(e,t){"static"===y(e,"position")&&(e.style.position="relative");var n=a(e),o={},r=void 0,c=void 0;for(c in t)t.hasOwnProperty(c)&&(r=parseFloat(y(e,c))||0,o[c]=r+t[c]-n[c]);y(e,o)}(e,t)},isWindow:O,each:p,css:y,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(O(e)){if(void 0===t)return l(e);window.scrollTo(t,i(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(O(e)){if(void 0===t)return i(e);window.scrollTo(l(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},v)},jBNB:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("YLtl"),i=n("HSyU"),a=n("tI+e"),s=n("1ZqX"),u=n("K9lf"),d=n("1CF3"),b=n("JRTi"),p=n("l3Sj"),m=n("Zzu2"),f=n("iA5R");function h(e){let{title:t,rawContent:n,renderedContent:r,action:c,actionText:l,className:i}=e;return Object(o.createElement)("div",{className:i},Object(o.createElement)("div",{className:"block-editor-block-compare__content"},Object(o.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(o.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(o.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},Object(o.createElement)(o.RawHTML,null,Object(d.safeHTML)(r)))),Object(o.createElement)("div",{className:"block-editor-block-compare__action"},Object(o.createElement)(a.Button,{variant:"secondary",tabIndex:"0",onClick:c},l)))}var g=function(e){let{block:t,onKeep:n,onConvert:r,convertor:a,convertButtonText:s}=e;const u=(d=a(t),Object(l.castArray)(d).map(e=>Object(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)})},I=n("nlh6");const x=Object(o.createContext)();function B(e){let{children:t,isHtml:n,...r}=e;return Object(o.createElement)("div",Object(I.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);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:I}=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:I});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 M=v&&!!v["data-align"];let L;if(M&&(R=Object(o.createElement)("div",{className:"wp-block","data-align":v["data-align"]},R)),h)L="html"===t?Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{style:{display:"none"}},R),Object(o.createElement)(B,{isHtml:!0},Object(o.createElement)(w,{clientId:a}))):(null==N?void 0:N.apiVersion)>1?R:Object(o.createElement)(B,v,R);else{const e=Object(i.getSaveContent)(N,g);L=Object(o.createElement)(B,{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:M},D=Object(o.useMemo)(()=>A,Object.values(A));return Object(o.createElement)(x.Provider,{value:D},Object(o.createElement)(E,{fallback:Object(o.createElement)(B,{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,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 ke}));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<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function i(e,...t){return o.s.fun(e)?e(...t):e}const a=(e,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=1.70158,_=1.525*k,y=2*Math.PI/3,E=2*Math.PI/4.5,C=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},S=l({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-k*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+k*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-_)/2:(Math.pow(2*e-2,2)*((_+1)*(2*e-2)+_)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*y),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*y)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*E)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*E)/2+1,easeInBounce:e=>1-C(1-e),easeOutBounce:C,easeInOutBounce:e=>e<.5?(1-C(1-2*e))/2:(1+C(2*e-1))/2}.linear,clamp:!1});class w{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,S)}}function I(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 x=[];class B{constructor(){this.changed=!1,this.values=x,this.toValues=null,this.fromValues=x,this.to=void 0,this.from=void 0,this.config=new w,this.immediate=!1}}function T(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&&!o.b.skipAnimation?(c.delayed=!0,m=o.w.setTimeout(O,p),c.pauseQueue.add(h),c.timeouts.add(m)):O()}function O(){c.delayed&&(c.delayed=!1),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 P=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?M(e.get()):t.every(e=>e.noop)?R(e.get()):N(e.get(),t.every(e=>e.finished)),R=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),N=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),M=e=>({value:e,cancelled:!0,finished:!1});function L(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)&&M(r)||c!==n.asyncId&&N(r,!1);if(t)throw e.result=t,m(e),e},g=(e,t)=>{const i=new D,a=new F;return(async()=>{if(o.b.skipAnimation)throw A(n),a.result=N(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 A(n),N(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=N(r.get(),!0,!1)}catch(e){if(e instanceof D)O=e.result;else{if(!(e instanceof F))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 A(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 D 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 F extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const z=e=>e instanceof V;let H=1;class V extends o.a{constructor(...e){super(...e),this.id=H++,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 G=Symbol.for("SpringPhase"),U=e=>(1&e[G])>0,W=e=>(2&e[G])>0,q=e=>(4&e[G])>0,K=(e,t)=>t?e[G]|=3:e[G]&=-3,Y=(e,t)=>t?e[G]|=4:e[G]&=-5;class $ extends V{constructor(e,t){if(super(),this.key=void 0,this.animation=new B,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!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!(W(this)||this._state.asyncTo)||q(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 U(this)}get isAnimating(){return W(this)}get isPaused(){return q(this)}get isDelayed(){return this._state.delayed}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:n<d;let f,h=!1;const g=1,O=Math.ceil(e/g);for(let e=0;e<O&&(f=Math.abs(i)>r,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(W(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=>P(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),A(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 U(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)),ne(this,n,"onProps"),oe(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 T(++this._lastCallId,{key:r,props:n,defaultProps:c,state:a,actions:{pause:()=>{q(this)||(Y(this,!0),Object(o.n)(a.pauseQueue),oe(this,"onPause",N(this,Z(this,this.animation.to)),this))},resume:()=>{q(this)&&(Y(this,!1),W(this)&&this._resume(),Object(o.n)(a.resumeQueue),oe(this,"onResume",N(this,Z(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=X(n);if(e)return this._update(e,!0)}return e})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(M(this));const r=!o.s.und(e.to),s=!o.s.und(e.from);if(r||s){if(!(t.callId>this._lastToId))return n(M(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 k=O(t.to),{config:_}=b,{decay:y,velocity:E}=_;(r||s)&&(_.velocity=0),t.config&&!k&&function(e,t,n){n&&(I(n=l({},n),t),t=l({},n,t)),I(e,t),Object.assign(e,t);for(const t in S)null==e[t]&&(e[t]=S[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)}(_,i(t.config,u),t.config!==d.config?i(d.config,u):void 0);let C=Object(c.e)(this);if(!C||o.s.und(f))return n(N(this,!0));const w=o.s.und(t.reset)?s&&!t.default:!o.s.und(g)&&a(t.reset,u),x=w?g:this.get(),B=h(f),T=o.s.num(B)||o.s.arr(B)||Object(o.t)(B),P=!k&&(!T||a(d.immediate||t.immediate,u));if(j){const e=Object(c.f)(f);if(e!==C.constructor){if(!P)throw Error(`Cannot animate between ${C.constructor.name} and ${e.name}, as the "to" prop suggests`);C=this._set(B)}}const A=C.constructor;let D=Object(o.r)(f),F=!1;if(!D){const e=w||!U(this)&&v;(j||e)&&(F=Object(o.u)(h(x),B),D=!F),(Object(o.u)(b.immediate,P)||P)&&Object(o.u)(_.decay,y)&&Object(o.u)(_.velocity,E)||(D=!0)}if(F&&W(this)&&(b.changed&&!w?D=!0:D||this._stop(p)),!k&&((D||Object(o.r)(p))&&(b.values=C.getPayload(),b.toValues=Object(o.r)(f)?null:A==c.b?[1]:Object(o.y)(B)),b.immediate!=P&&(b.immediate=P,P||w||this._set(p)),D)){const{onRest:e}=b;Object(o.k)(te,e=>ne(this,t,e));const r=N(this,Z(this,p));Object(o.n)(this._pendingCalls,r),this._pendingCalls.add(n),b.changed&&o.w.batchedUpdates(()=>{b.changed=!w,null==e||e(r,this),w?i(d.onRest,r):null==b.onStart||b.onStart(r,this)})}w&&this._set(x),k?n(L(t.to,t,this._state,this)):D?this._start():W(this)&&!j?this._pendingCalls.add(n):n(R(x))}_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),z(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,oe(this,"onStart",N(this,Z(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)),W(this)||(K(this,!0),q(this)||this._resume())}_resume(){o.b.skipAnimation?this.finish():o.o.start(this)}_stop(e,t){if(W(this)){K(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?M(this.get()):N(this.get(),Z(this,null!=e?e:n.to));Object(o.n)(this._pendingCalls,r),n.changed&&(n.changed=!1,oe(this,"onRest",r,this))}}}function Z(e,t){const n=h(t),r=h(e.get());return Object(o.u)(r,n)}function X(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 Q(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 Q(e){const{to:t,from:n}=e=f(e),r=new Set;return o.s.obj(t)&&ee(t,r),o.s.obj(n)&&ee(n,r),e.keys=r.size?Array.from(r):null,e}function J(e){const t=Q(e);return o.s.und(t.default)&&(t.default=b(t)),t}function ee(e,t){Object(o.l)(e,(e,n)=>null!=e&&t.add(n))}const te=["onStart","onRest","onChange","onPause","onResume"];function ne(e,t,n){e.animation[n]=t[n]!==u(t,n)?s(t[n],e.key):void 0}function oe(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 re=["onStart","onChange","onRest"];let ce=1;class le{constructor(e,t){this.id=ce++,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&&!e.isDelayed&&!e.isPaused)}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(Q(e)),this}start(e){let{queue:t}=this;return e?t=Object(o.y)(e).map(Q):this.queue=[],this._flush?this._flush(this,t):(be(this,t),ie(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 A(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 ie(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)(re,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(T(++t._lastAsyncId,{props:n,state:m,actions:{pause:o.v,resume:o.v,start(e,n){h?(A(m,t._lastAsyncId),n(M(t))):(e.onRest=s,n(L(p,e,m,t)))}}}));m.paused&&await new Promise(e=>{m.resumeQueue.add(e)});const g=P(t,await Promise.all(f));if(a&&g.finished&&(!r||!g.noop)){const o=X(n,a,l);if(o)return be(t,[o]),e(t,o,!0)}d&&o.w.batchedUpdates(()=>d(g,t,t.item));return g}(e,t))).then(t=>P(e,t))}function ae(e,t){const n=l({},e.springs);return t&&Object(o.k)(Object(o.y)(t),e=>{o.s.und(e.keys)&&(e=Q(e)),o.s.obj(e.to)||(e=l({},e,{to:void 0})),de(n,e,e=>ue(e))}),se(e,n),n}function se(e,t){Object(o.l)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,Object(o.c)(t,e))})}function ue(e,t){const n=new $;return n.key=e,t&&Object(o.c)(n,t),n}function de(e,t,n){t.keys&&Object(o.k)(t.keys,o=>{(e[o]||(e[o]=n(o)))._prepareNode(t)})}function be(e,t){Object(o.k)(t,t=>{de(e.springs,t,t=>ue(t,e))})}function pe(e,t){if(null==e)return{};var n,o,r={},c=Object.keys(e);for(o=0;o<c.length;o++)n=c[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}const me=["children"],fe=e=>{let{children:t}=e,n=pe(e,me);const c=Object(r.useContext)(he),l=n.pause||!!c.pause,i=n.immediate||!!c.immediate;n=Object(o.B)(()=>({pause:l,immediate:i}),[l,i]);const{Provider:a}=he;return r.createElement(a,{value:n},t)},he=(ge=fe,Oe={},Object.assign(ge,r.createContext(Oe)),ge.Provider._context=ge,ge.Consumer._context=ge,ge);var ge,Oe;fe.Provider=he.Provider,fe.Consumer=he.Consumer;const ve=()=>{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 je(e,t,n){const c=o.s.fun(t)&&t;c&&!n&&(n=[]);const i=Object(r.useMemo)(()=>c||3==arguments.length?ve():void 0,[]),a=Object(r.useRef)(0),s=Object(o.z)(),u=Object(r.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){const n=ae(e,t);return a.current>0&&!u.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?ie(e,t):new Promise(o=>{se(e,n),u.queue.push(()=>{o(ie(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<n;o++){const e=d.current[o]||(d.current[o]=new le(null,u.flush)),n=c?c(o,e):t[o];n&&(b[o]=J(n))}}Object(r.useMemo)(()=>{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)=>ae(e,b[t])),h=Object(r.useContext)(fe),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 ke(e,t){const n=o.s.fun(e),[[r],c]=je(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,c]:r}let _e;!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(_e||(_e={}));class ye extends V{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&&Ce(this._active)&&Se(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&&!Ce(this._active)&&(this.idle=!1,Object(o.k)(Object(c.g)(this),e=>{e.done=!1}),o.b.skipAnimation?(o.w.batchedUpdates(()=>this.advance()),Se(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),z(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(),Se(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,(z(t)?t.priority:0)+1),0))}}function Ee(e){return!1!==e.idle}function Ce(e){return!e.size||Array.from(e).every(Ee)}function Se(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 ye(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:[],__experimentalGenerateAnchors:!1,__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 ve})),n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return ke})),n.d(t,"d",(function(){return Oe})),n.d(t,"e",(function(){return K})),n.d(t,"f",(function(){return de})),n.d(t,"g",(function(){return Re})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return Fe})),n.d(t,"j",(function(){return Ae})),n.d(t,"k",(function(){return S})),n.d(t,"l",(function(){return w})),n.d(t,"m",(function(){return x})),n.d(t,"n",(function(){return B})),n.d(t,"o",(function(){return V})),n.d(t,"p",(function(){return ge})),n.d(t,"q",(function(){return he})),n.d(t,"r",(function(){return fe})),n.d(t,"s",(function(){return E})),n.d(t,"t",(function(){return ze})),n.d(t,"u",(function(){return C})),n.d(t,"v",(function(){return _})),n.d(t,"x",(function(){return _e})),n.d(t,"y",(function(){return I})),n.d(t,"z",(function(){return Ge})),n.d(t,"A",(function(){return Ke})),n.d(t,"B",(function(){return We})),n.d(t,"C",(function(){return He})),n.d(t,"D",(function(){return qe}));let o=v();const r=e=>f(e,o);let c=v();r.write=e=>f(e,c);let l=v();r.onStart=e=>f(e,l);let i=v();r.onFrame=e=>f(e,i);let a=v();r.onFinish=e=>f(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),p-=~e?1:0},c={time:n,handler:e,cancel:o};return s.splice(u(n),0,c),p+=1,h(),c};let u=e=>~(~s.findIndex(t=>t.time>e)||~s.length);r.cancel=e=>{l.delete(e),i.delete(e),o.delete(e),c.delete(e),a.delete(e)},r.sync=e=>{m=!0,r.batchedUpdates(e),m=!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"):O()};let b=-1,p=0,m=!1;function f(e,t){m?(t.delete(e),e(0)):(t.add(e),h())}function h(){b<0&&(b=0,"demand"!==r.frameLoop&&d(g))}function g(){~b&&(d(g),r.batchedUpdates(O))}function O(){let e=b;b=r.now();let t=u(b);t&&(j(s.splice(0,t),e=>e.handler()),p-=t),l.flush(),o.flush(e?Math.min(64,b-e):16.667),i.flush(),c.flush(),a.flush(),p||(b=-1)}function v(){let e=new Set,t=e;return{add(n){p+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(p-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,p-=t.size,j(t,t=>t(n)&&e.add(t)),p+=e.size,t=e)}}}function j(e,t){e.forEach(e=>{try{t(e)}catch(e){r.catch(e)}})}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;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const S=(e,t)=>e.forEach(t);function w(e,t,n){if(E.arr(e))for(let o=0;o<e.length;o++)t.call(n,e[o],""+o);else for(const o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o)}const I=e=>E.und(e)?[]:E.arr(e)?e:[e];function x(e,t){if(e.size){const n=Array.from(e);e.clear(),S(n,t)}}const B=(e,...t)=>x(e,e=>e(...t)),T=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let P,R,N=null,M=!1,L=_;var A=Object.freeze({__proto__:null,get createStringInterpolator(){return P},get to(){return R},get colors(){return N},get skipAnimation(){return M},get willAdvance(){return L},assign:e=>{e.to&&(R=e.to),e.now&&(r.now=e.now),void 0!==e.colors&&(N=e.colors),null!=e.skipAnimation&&(M=e.skipAnimation),e.createStringInterpolator&&(P=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 D=new Set;let F=[],z=[],H=0;const V={get idle(){return!D.size&&!F.length},start(e){H>e.priority?(D.add(e),r.onStart(G)):(U(e),r(q))},advance:q,sort(e){if(H)r.onFrame(()=>V.sort(e));else{const t=F.indexOf(e);~t&&(F.splice(t,1),W(e))}},clear(){F=[],D.clear()}};function G(){D.forEach(U),D.clear(),r(q)}function U(e){F.includes(e)||W(e)}function W(e){F.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(F,t=>t.priority>e.priority),0,e)}function q(e){const t=z;for(let n=0;n<F.length;n++){const o=F[n];H=o.priority,o.idle||(L(o),o.advance(e),o.idle||t.push(o))}return H=0,z=F,z.length=0,F=t,F.length>0}const K={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},Y="[-+]?\\d*\\.?\\d+";function $(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const Z=new RegExp("rgb"+$(Y,Y,Y)),X=new RegExp("rgba"+$(Y,Y,Y,Y)),Q=new RegExp("hsl"+$(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),J=new RegExp("hsla"+$(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Y)),ee=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{6})$/,oe=/^#([0-9a-fA-F]{8})$/;function re(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 ce(e,t,n){const o=n<.5?n*(1+t):n+t-n*t,r=2*n-o,c=re(r,o,e+1/3),l=re(r,o,e),i=re(r,o,e-1/3);return Math.round(255*c)<<24|Math.round(255*l)<<16|Math.round(255*i)<<8}function le(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 ae(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function se(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function ue(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ne.exec(e))?parseInt(t[1]+"ff",16)>>>0:N&&void 0!==N[e]?N[e]:(t=Z.exec(e))?(le(t[1])<<24|le(t[2])<<16|le(t[3])<<8|255)>>>0:(t=X.exec(e))?(le(t[1])<<24|le(t[2])<<16|le(t[3])<<8|ae(t[4]))>>>0:(t=ee.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=oe.exec(e))?parseInt(t[1],16)>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Q.exec(e))?(255|ce(ie(t[1]),se(t[2]),se(t[3])))>>>0:(t=J.exec(e))?(ce(ie(t[1]),se(t[2]),se(t[3]))|ae(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 de=(e,t,n)=>{if(E.fun(e))return e;if(E.arr(e))return de({range:e,output:t,extrapolate:n});if(E.str(e.output[0]))return P(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<t.length-1&&!(t[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(s<t){if("identity"===l)return s;"clamp"===l&&(s=t)}if(s>n){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 be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}const pe=Symbol.for("FluidValue.get"),me=Symbol.for("FluidValue.observers"),fe=e=>Boolean(e&&e[pe]),he=e=>e&&e[pe]?e[pe]():e,ge=e=>e[me]||null;function Oe(e,t){let n=e[me];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}class ve{constructor(e){if(this[pe]=void 0,this[me]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");je(this,e)}}const je=(e,t)=>ye(e,pe,t);function ke(e,t){if(e[pe]){let n=e[me];n||ye(e,me,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function _e(e,t){let n=e[me];if(n&&n.has(t)){const o=n.size-1;o?n.delete(t):e[me]=null,e.observerRemoved&&e.observerRemoved(o,t)}}const ye=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Ee=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ce=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Se=new RegExp(`(${Ee.source})(%|[a-z]+)`,"i"),we=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ie=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,xe=e=>{const[t,n]=Be(e);if(!t||T())return e;const o=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(o)return o.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Ie.test(n)?xe(n):n||e},Be=e=>{const t=Ie.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]};let Te;const Pe=(e,t,n,o,r)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(o)}, ${r})`,Re=e=>{Te||(Te=N?new RegExp(`(${Object.keys(N).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>he(e).replace(Ie,xe).replace(Ce,ue).replace(Te,ue)),n=t.map(e=>e.match(Ee).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=>de(be({},e,{output:t})));return e=>{var n;const r=!Se.test(t[0])&&(null==(n=t.find(e=>Se.test(e)))?void 0:n.replace(Ee,""));let c=0;return t[0].replace(Ee,()=>`${o[c++](e)}${r||""}`).replace(we,Pe)}},Ne="react-spring: ",Me=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(Ne+"once requires a function parameter");return(...e)=>{n||(t(...e),n=!0)}},Le=Me(console.warn);function Ae(){Le(Ne+'The "interpolate" function is deprecated in v9 (use "to" instead)')}const De=Me(console.warn);function Fe(){De(Ne+'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 ze(e){return E.str(e)&&("#"==e[0]||/\d/.test(e)||!T()&&Ie.test(e)||e in(N||{}))}const He=e=>Object(k.useEffect)(e,Ve),Ve=[];function Ge(){const e=Object(k.useState)()[1],t=Object(k.useState)(Ue)[0];return He(t.unmount),()=>{t.current&&e({})}}function Ue(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function We(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<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,c.inputs))||(c={inputs:t,result:e()})}else c=n;return Object(k.useEffect)(()=>{o.current=c,r==n&&(n.inputs=n.result=void 0)},[c]),c.result}function qe(e){const t=Object(k.useRef)();return Object(k.useEffect)(()=>{t.current=e}),t.current}const Ke="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:I={},isAligned:x}=Object(c.useContext)(d.a),{index:B,mode:T,name:P,blockApiVersion:R,blockTitle:N,isPartOfSelection:M,adjustScrolling:L,enableAnimation:A}=Object(s.useSelect)(e=>{const{getBlockIndex:t,getBlockMode:n,getBlockName:r,isTyping:c,getGlobalBlockCount:l,isBlockSelected:a,isBlockMultiSelected:s,isAncestorMultiSelected:u,isFirstMultiSelectedBlock:d}=e(S.a),b=a(o),p=s(o)||u(o),m=r(o),f=Object(i.getBlockType)(m);return{index:t(o),mode:n(o),name:m,blockApiVersion:(null==f?void 0:f.apiVersion)||1,blockTitle:null==f?void 0:f.title,isPartOfSelection:b||p,adjustScrolling:b||d(o),enableAnimation:!c()&&l()<=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:M,adjustScrolling:L,enableAnimation:A,triggerAnimationOnChange:B})]),H=Object(m.c)();return R<2&&o===H.clientId&&void 0!==e&&e.env,{...I,...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":!x}),w,t.className,I.className,Object(f.a)(o),Object(h.a)(o),Object(g.a)(o),Object(O.a)(o)),style:{...I.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 I(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||a<l){l=a,c=n+("bottom"===s||!r&&"right"===s||r&&"left"===s?1:0)}}),c}function x(){let{rootClientId:e=""}=arguments.length>0&&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=I(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 B(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)(B,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,x({rootClientId:n})]),m={__experimentalCaptureToolbars:u,...t},f=m.value&&m.onChange?T:B;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.length;o++)if(e[o]!==t[o])return!1;return!0}o={},r="undefined"!=typeof WeakMap,t.a=function(e,t){var n,a;function s(){n=r?new WeakMap:l()}function u(){var n,o,r,c,l,s=arguments.length;for(c=new Array(s),r=0;r<s;r++)c[r]=arguments[r];for(l=t.apply(null,c),(n=a(l)).isUniqueByDependants||(n.lastDependants&&!i(l,n.lastDependants,0)&&n.clear(),n.lastDependants=l),o=n.head;o;){if(i(o.args,c,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,c)},c[0]=null,o.args=c,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=c),a=r?function(e){var t,r,c,i,a,s=n,u=!0;for(t=0;t<e.length;t++){if(r=e[t],!(a=r)||"object"!=typeof a){u=!1;break}s.has(r)?s=s.get(r):(c=new WeakMap,s.set(r,c),s=c)}return s.has(o)||((i=l()).isUniqueByDependants=u,s.set(o,i)),s.get(o)}:function(){return n},u.getDependants=t,u.clear=s,s(),u}},pXCJ:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("YLtl"),l=n("tI+e"),i=n("1ZqX"),a=n("HSyU"),s=n("BhPs");var u=n("l3Sj");function d(e){let{clientIds:t,isGroupable:n,isUngroupable:o,blocksSelection:c,groupingBlockName:d,onClose:b=(()=>{})}=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},pY5h:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("v5LD");function r(){return{disableCustomColors:!Object(o.a)("color.custom"),disableCustomGradients:!Object(o.a)("color.customGradient")}}},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:n,getBlockCount:r}=e(j.a),c=n(o);return{setInserterIsOpened:t().__experimentalSetIsInserterOpened,insertionIndex:-1===c?r():c}},[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);const a=t();return!c&&a&&i(a)===n?e(a)+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;c<l;c++){var s=t[c];if(s.removed){if(s.value=e.join(o.slice(a,a+s.count)),a+=s.count,c&&t[c-1].added){var u=t[c-1];t[c-1]=t[c],t[c]=u}}else{if(!s.added&&r){var d=n.slice(i,i+s.count);d=d.map((function(e,t){var n=o[a+t];return n.length>e.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,h=p&&0<=m&&m<s;if(f||h){if(!f||h&&d.newPos<p.newPos?(o=c(p),l.pushComponent(o.components,void 0,!0)):((o=d).newPos++,l.pushComponent(o.components,!0,void 0)),m=l.extractCommon(o,t,e,n),o.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+1<r&&i+1<c&&this.equals(t[l+1],n[i+1]);)l++,i++,a++;return a&&e.components.push({count:a}),e.newPos=l,i},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},suLj: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 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"}));t.a=c},"tI+e":function(e,t){e.exports=window.wp.components},tr0p:function(e,t,n){"use strict";n.r(t),n.d(t,"__experimentalGetBorderClassesAndStyles",(function(){return St})),n.d(t,"__experimentalUseBorderProps",(function(){return wt})),n.d(t,"__experimentalGetColorClassesAndStyles",(function(){return It})),n.d(t,"__experimentalUseColorProps",(function(){return Bt})),n.d(t,"__experimentalUseCustomSides",(function(){return Ze})),n.d(t,"__experimentalGetSpacingClassesAndStyles",(function(){return Tt})),n.d(t,"useCachedTruthy",(function(){return Pt})),n.d(t,"getColorClassName",(function(){return Rt.ic})),n.d(t,"getColorObjectByAttributeValues",(function(){return Rt.jc})),n.d(t,"getColorObjectByColorValue",(function(){return Rt.kc})),n.d(t,"createCustomColorsHOC",(function(){return Rt.hc})),n.d(t,"withColors",(function(){return Rt.wc})),n.d(t,"__experimentalGetGradientClass",(function(){return Rt.yb})),n.d(t,"getGradientValueBySlug",(function(){return Rt.pc})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Rt.zb})),n.d(t,"getGradientSlugByValue",(function(){return Rt.oc})),n.d(t,"__experimentalUseGradient",(function(){return Rt.Tb})),n.d(t,"getFontSize",(function(){return Rt.lc})),n.d(t,"getFontSizeClass",(function(){return Rt.mc})),n.d(t,"getFontSizeObjectByValue",(function(){return Rt.nc})),n.d(t,"FontSizePicker",(function(){return Rt.I})),n.d(t,"withFontSizes",(function(){return Rt.xc})),n.d(t,"AlignmentControl",(function(){return Rt.a})),n.d(t,"AlignmentToolbar",(function(){return Rt.b})),n.d(t,"Autocomplete",(function(){return Rt.c})),n.d(t,"BlockAlignmentControl",(function(){return Rt.d})),n.d(t,"BlockAlignmentToolbar",(function(){return Rt.e})),n.d(t,"__experimentalBlockFullHeightAligmentControl",(function(){return Rt.nb})),n.d(t,"__experimentalBlockAlignmentMatrixControl",(function(){return Rt.lb})),n.d(t,"BlockBreadcrumb",(function(){return Rt.f})),n.d(t,"__experimentalBlockContentOverlay",(function(){return Rt.mb})),n.d(t,"BlockContextProvider",(function(){return Rt.h})),n.d(t,"BlockControls",(function(){return Rt.i})),n.d(t,"BlockFormatControls",(function(){return Rt.m})),n.d(t,"BlockColorsStyleSelector",(function(){return Rt.g})),n.d(t,"BlockEdit",(function(){return Rt.j})),n.d(t,"useBlockEditContext",(function(){return Rt.rc})),n.d(t,"BlockIcon",(function(){return Rt.n})),n.d(t,"BlockNavigationDropdown",(function(){return Rt.r})),n.d(t,"__experimentalBlockVariationPicker",(function(){return Rt.pb})),n.d(t,"__experimentalBlockPatternSetup",(function(){return Rt.ob})),n.d(t,"__experimentalBlockVariationTransforms",(function(){return Rt.qb})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Rt.A})),n.d(t,"BlockVerticalAlignmentControl",(function(){return Rt.z})),n.d(t,"__experimentalBorderRadiusControl",(function(){return Rt.rb})),n.d(t,"__experimentalBorderStyleControl",(function(){return Rt.sb})),n.d(t,"ButtonBlockerAppender",(function(){return Rt.C})),n.d(t,"ButtonBlockAppender",(function(){return Rt.B})),n.d(t,"ColorPalette",(function(){return Rt.D})),n.d(t,"ColorPaletteControl",(function(){return Rt.E})),n.d(t,"ContrastChecker",(function(){return Rt.F})),n.d(t,"__experimentalDuotoneControl",(function(){return Rt.vb})),n.d(t,"__experimentalFontAppearanceControl",(function(){return Rt.wb})),n.d(t,"__experimentalFontFamilyControl",(function(){return Rt.xb})),n.d(t,"__experimentalLetterSpacingControl",(function(){return Rt.Fb})),n.d(t,"__experimentalTextDecorationControl",(function(){return Rt.Pb})),n.d(t,"__experimentalTextTransformControl",(function(){return Rt.Qb})),n.d(t,"__experimentalColorGradientControl",(function(){return Rt.tb})),n.d(t,"__experimentalColorGradientSettingsDropdown",(function(){return Rt.ub})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return Rt.Mb})),n.d(t,"__experimentalImageEditor",(function(){return Rt.Bb})),n.d(t,"__experimentalImageEditingProvider",(function(){return Rt.Ab})),n.d(t,"__experimentalImageSizeControl",(function(){return Rt.Cb})),n.d(t,"InnerBlocks",(function(){return Rt.J})),n.d(t,"useInnerBlocksProps",(function(){return Rt.tc})),n.d(t,"InspectorControls",(function(){return Rt.M})),n.d(t,"InspectorAdvancedControls",(function(){return Rt.L})),n.d(t,"JustifyToolbar",(function(){return Rt.O})),n.d(t,"JustifyContentControl",(function(){return Rt.N})),n.d(t,"__experimentalLinkControl",(function(){return Rt.Hb})),n.d(t,"__experimentalLinkControlSearchInput",(function(){return Rt.Ib})),n.d(t,"__experimentalLinkControlSearchResults",(function(){return Rt.Kb})),n.d(t,"__experimentalLinkControlSearchItem",(function(){return Rt.Jb})),n.d(t,"LineHeightControl",(function(){return Rt.P})),n.d(t,"__experimentalListView",(function(){return Rt.Lb})),n.d(t,"MediaReplaceFlow",(function(){return Rt.R})),n.d(t,"MediaPlaceholder",(function(){return Rt.Q})),n.d(t,"MediaUpload",(function(){return Rt.S})),n.d(t,"MediaUploadCheck",(function(){return Rt.T})),n.d(t,"PanelColorSettings",(function(){return Rt.X})),n.d(t,"PlainText",(function(){return Rt.Y})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Rt.Ob})),n.d(t,"RichText",(function(){return Rt.ab})),n.d(t,"RichTextShortcut",(function(){return Rt.bb})),n.d(t,"RichTextToolbarButton",(function(){return Rt.cb})),n.d(t,"__unstableRichTextInputEvent",(function(){return Rt.ac})),n.d(t,"ToolSelector",(function(){return Rt.eb})),n.d(t,"__experimentalUnitControl",(function(){return Rt.Rb})),n.d(t,"URLInput",(function(){return Rt.gb})),n.d(t,"URLInputButton",(function(){return Rt.hb})),n.d(t,"URLPopover",(function(){return Rt.ib})),n.d(t,"__experimentalImageURLInputUI",(function(){return Rt.Db})),n.d(t,"withColorContext",(function(){return Rt.vc})),n.d(t,"__unstableBlockSettingsMenuFirstItem",(function(){return Rt.Wb})),n.d(t,"__unstableInserterMenuExtension",(function(){return Rt.Zb})),n.d(t,"__experimentalPreviewOptions",(function(){return Rt.Nb})),n.d(t,"__experimentalUseResizeCanvas",(function(){return Rt.Vb})),n.d(t,"BlockInspector",(function(){return Rt.o})),n.d(t,"BlockList",(function(){return Rt.p})),n.d(t,"useBlockProps",(function(){return Rt.sc})),n.d(t,"__experimentalLayoutStyle",(function(){return Rt.Eb})),n.d(t,"BlockMover",(function(){return Rt.q})),n.d(t,"BlockPreview",(function(){return Rt.s})),n.d(t,"__experimentalUseBlockPreview",(function(){return Rt.Sb})),n.d(t,"BlockSelectionClearer",(function(){return Rt.t})),n.d(t,"__unstableUseBlockSelectionClearer",(function(){return Rt.bc})),n.d(t,"BlockSettingsMenu",(function(){return Rt.u})),n.d(t,"BlockSettingsMenuControls",(function(){return Rt.v})),n.d(t,"BlockTitle",(function(){return Rt.w})),n.d(t,"BlockToolbar",(function(){return Rt.x})),n.d(t,"BlockTools",(function(){return Rt.y})),n.d(t,"CopyHandler",(function(){return Rt.G})),n.d(t,"__unstableUseClipboardHandler",(function(){return Rt.dc})),n.d(t,"DefaultBlockAppender",(function(){return Rt.H})),n.d(t,"__unstableEditorStyles",(function(){return Rt.Xb})),n.d(t,"Inserter",(function(){return Rt.K})),n.d(t,"__experimentalLibrary",(function(){return Rt.Gb})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return Rt.k})),n.d(t,"MultiSelectScrollIntoView",(function(){return Rt.U})),n.d(t,"NavigableToolbar",(function(){return Rt.V})),n.d(t,"ObserveTyping",(function(){return Rt.W})),n.d(t,"__unstableUseTypingObserver",(function(){return Rt.gc})),n.d(t,"__unstableUseMouseMoveTypingReset",(function(){return Rt.ec})),n.d(t,"PreserveScrollInReorder",(function(){return Rt.Z})),n.d(t,"SkipToSelectedBlock",(function(){return Rt.db})),n.d(t,"Typewriter",(function(){return Rt.fb})),n.d(t,"__unstableUseTypewriter",(function(){return Rt.fc})),n.d(t,"Warning",(function(){return Rt.jb})),n.d(t,"WritingFlow",(function(){return Rt.kb})),n.d(t,"__unstableUseCanvasClickRedirect",(function(){return Rt.cc})),n.d(t,"useBlockDisplayInformation",(function(){return Rt.qc})),n.d(t,"__unstableIframe",(function(){return Rt.Yb})),n.d(t,"__experimentalUseNoRecursiveRenders",(function(){return Rt.Ub})),n.d(t,"BlockEditorProvider",(function(){return Rt.l})),n.d(t,"useSetting",(function(){return Rt.uc})),n.d(t,"transformStyles",(function(){return Nt.c})),n.d(t,"validateThemeColors",(function(){return Nt.d})),n.d(t,"validateThemeGradients",(function(){return Nt.e})),n.d(t,"__experimentalGetMatchingVariation",(function(){return Nt.a})),n.d(t,"getPxFromCssUnit",(function(){return Nt.b})),n.d(t,"storeConfig",(function(){return Ot.b})),n.d(t,"store",(function(){return Ot.a})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Mt.b}));var o=n("HSyU"),r=n("g56x");Object(r.addFilter)("blocks.registerBlockType","core/compat/migrateLightBlockWrapper",(function(e){const{apiVersion:t=1}=e;return t<2&&Object(o.hasBlockSupport)(e,"lightBlockWrapper",!1)&&(e.apiVersion=2),e}));var c=n("wx14"),l=n("GRId"),i=n("TSYQ"),a=n.n(i),s=n("YLtl"),u=n("K9lf"),d=n("fOYa"),b=n("vtO0"),p=n("K/rC");const m=["left","center","right","wide","full"],f=["wide","full"];function h(e){let t,n=!(arguments.length>1&&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("dchM"),I=n("0LBR"),x=n("bVpQ"),B=n("715p");const T=[];function P(e){const{attributes:{borderColor:t,style:n},setAttributes:o}=e,r=Object(I.a)(),i=r.colors.reduce((e,t)=>e.concat(t.colors),[]),[a,s]=Object(l.useState)(()=>{var e,o;return null===(e=Object(x.b)(i,t,null==n||null===(o=n.border)||void 0===o?void 0:o.color))||void 0===e?void 0:e.color}),u=[{label:Object(j.__)("Color"),onColorChange:e=>{s(e);const t=Object(x.c)(i,e),r={...n,border:{...null==n?void 0:n.border,color:null!=t&&t.slug?void 0:e}},c=null!=t&&t.slug?t.slug:void 0;o({style:Object(B.a)(r),borderColor:c})},colorValue:a,clearable:!1}];return Object(l.createElement)(w.a,Object(c.a)({settings:u,disableCustomColors:!0,disableCustomGradients:!0,__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,enableAlpha:!0},r))}function R(e,t,n){var o;if(!H(t,"color")||V(t))return e;const{borderColor:r,style:c}=n,l=Object(x.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 N=Object(u.createHigherOrderComponent)(e=>t=>{var n,o;const{name:r,attributes:i}=t,{borderColor:a}=i,s=Object(S.a)("color.palette")||T;if(!H(r,"color")||V(r))return Object(l.createElement)(e,t);const u={borderColor:a?null===(n=Object(x.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 H(e,"color")?e.attributes.borderColor?e:{...e,attributes:{...e.attributes,borderColor:{type:"string"}}}:e})),Object(r.addFilter)("blocks.getSaveContent.extraProps","core/border/addSaveProps",R),Object(r.addFilter)("blocks.registerBlockType","core/border/addEditProps",(function(e){if(!H(e,"color")||V(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),R(o,e,n)},e})),Object(r.addFilter)("editor.BlockListBlock","core/border/with-border-color-palette-styles",N);var M=n("Wy3j");function L(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(l.createElement)(M.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(B.a)(t)),o({style:t})}})}var A=n("2YCo");const D=e=>{var t;const{attributes:{style:n},setAttributes:o}=e;return Object(l.createElement)(A.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(B.a)(t)})}})},F=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(B.a)(r)),o({borderColor:c,style:r})},units:b})};function z(e){const t=G(e),n=H(e.name),o=Object(S.a)("border.color")&&H(e.name,"color"),r=Object(S.a)("border.radius")&&H(e.name,"radius"),c=Object(S.a)("border.style")&&H(e.name,"style"),i=Object(S.a)("border.width")&&H(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)(F,e),c&&Object(l.createElement)(D,e)),o&&Object(l.createElement)(P,e),r&&Object(l.createElement)(L,e)))}function H(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 V(e){const t=Object(o.getBlockSupport)(e,"__experimentalBorder");return null==t?void 0:t.__experimentalSkipSerialization}const G=()=>[!Object(S.a)("border.color"),!Object(S.a)("border.radius"),!Object(S.a)("border.style"),!Object(S.a)("border.width")].every(Boolean);var U=n("Cn0l"),W=n("yU1v"),q=n("6c9H"),K=n("PKbb");function Y(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(K.b)(n);return Object(l.useEffect)(()=>{if(!o)return;if(!u.current)return;s(Y(u.current).color);let e=u.current,t=Y(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===e.parentNode.ELEMENT_NODE;)e=e.parentNode,t=Y(e).backgroundColor;i(t)}),Object(l.createElement)(k.b,null,Object(l.createElement)(W.a,{title:Object(j.__)("Color"),initialOpen:!1,settings:t,showTitle:r,__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0},o&&Object(l.createElement)(q.a,{backgroundColor:c,textColor:a})))}const Z=e=>{const t=Object(o.getBlockSupport)(e,"color");return t&&(!0===t.link||!0===t.gradient||!1!==t.background||!1!==t.text)},X=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(!Z(t)||X(t))return e;const u=Q(t),{backgroundColor:d,textColor:b,gradient:p,style:m}=n,f=Object(x.a)("background-color",d),h=Object(U.a)(p),g=Object(x.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(x.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.custom"),h=Object(S.a)("color.palette.theme"),g=Object(S.a)("color.palette.default"),O=Object(l.useMemo)(()=>[...f||[],...h||[],...g||[]],[f,h,g]),v=Object(S.a)("color.gradients.custom"),k=Object(S.a)("color.gradients.theme"),_=Object(S.a)("color.gradients.default"),y=Object(l.useMemo)(()=>[...v||[],...k||[],..._||[]],[v,k,_]),E=Object(S.a)("color.custom"),C=Object(S.a)("color.customGradient"),w=Object(S.a)("color.background"),I=Object(S.a)("color.link"),T=Object(S.a)("color.text"),P=E||!h||(null==h?void 0:h.length)>0,R=C||!k||(null==k?void 0:k.length)>0,N=Object(l.useRef)(m);if(Object(l.useEffect)(()=>{N.current=m},[m]),!Z(p))return null;const M=(e=>{if("web"!==l.Platform.OS)return!1;const t=Object(o.getBlockSupport)(e,"color");return Object(s.isObject)(t)&&!!t.link})(p)&&I&&P,L=(e=>{const t=Object(o.getBlockSupport)(e,"color");return t&&!1!==t.text})(p)&&T&&P,A=(e=>{const t=Object(o.getBlockSupport)(e,"color");return t&&!1!==t.background})(p)&&w&&P,D=Q(p)&&R;if(!(M||L||A||D))return null;const{style:F,textColor:z,backgroundColor:H,gradient:V}=m;let G;if(D&&V)G=Object(U.e)(y,V);else if(D){var W;G=null==F||null===(W=F.color)||void 0===W?void 0:W.gradient}const q=t=>n=>{var o,r;const c=Object(x.c)(O,n),l=t+"Color",i={...N.current.style,color:{...null===(o=N.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(B.a)(i),[l]:a};e.setAttributes(s),N.current={...N.current,...s}};return Object(l.createElement)($,{enableContrastChecking:!("web"!==l.Platform.OS||V||null!=F&&null!==(t=F.color)&&void 0!==t&&t.gradient),clientId:e.clientId,settings:[...L?[{label:Object(j.__)("Text"),onColorChange:q("text"),colorValue:Object(x.b)(O,z,null==F||null===(n=F.color)||void 0===n?void 0:n.text).color}]:[],...A||D?[{label:Object(j.__)("Background"),onColorChange:A?q("background"):void 0,colorValue:Object(x.b)(O,H,null==F||null===(r=F.color)||void 0===r?void 0:r.background).color,gradientValue:G,onGradientChange:D?t=>{const n=Object(U.d)(y,t);let o;if(n){var r,c,l;const e={...null===(r=N.current)||void 0===r?void 0:r.style,color:{...null===(c=N.current)||void 0===c||null===(l=c.style)||void 0===l?void 0:l.color,gradient:void 0}};o={style:Object(B.a)(e),gradient:n}}else{var i,a,s;const e={...null===(i=N.current)||void 0===i?void 0:i.style,color:{...null===(a=N.current)||void 0===a||null===(s=a.style)||void 0===s?void 0:s.color,gradient:t}};o={style:Object(B.a)(e),gradient:void 0}}e.setAttributes(o),N.current={...N.current,...o}}:void 0}]:[],...M?[{label:Object(j.__)("Link"),onColorChange:t=>{const n=Object(x.c)(O,t),o=null!=n&&n.slug?"var:preset|color|"+n.slug:t,r=Object(B.a)(function(e,t,n){return Object(s.setWith)(e?Object(s.clone)(e):{},t,n,s.clone)}(F,["elements","link","color","text"],o));e.setAttributes({style:r})},colorValue:ee(O,null==F||null===(c=F.elements)||void 0===c||null===(i=c.link)||void 0===i||null===(a=i.color)||void 0===a?void 0:a.text),clearable:!(null==F||null===(u=F.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;const{name:o,attributes:r}=t,{backgroundColor:i,textColor:a}=r,s=Object(S.a)("color.palette.custom")||[],u=Object(S.a)("color.palette.theme")||[],d=Object(S.a)("color.palette.default")||[],b=Object(l.useMemo)(()=>[...s||[],...u||[],...d||[]],[s,u,d]);if(!Z(o)||X(o))return Object(l.createElement)(e,t);const p={};var m,f;a&&(p.color=null===(m=Object(x.b)(b,a))||void 0===m?void 0:m.color);i&&(p.backgroundColor=null===(f=Object(x.b)(b,i))||void 0===f?void 0:f.color);let h=t.wrapperProps;return h={...t.wrapperProps,style:{...p,...null===(n=t.wrapperProps)||void 0===n?void 0:n.style}},Object(l.createElement)(e,Object(c.a)({},t,{wrapperProps:h}))});Object(r.addFilter)("blocks.registerBlockType","core/color/addAttribute",(function(e){return Z(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(!Z(e)||X(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(B.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(B.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(B.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(B.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 Ie(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(B.a)({...n,typography:{...null==n?void 0:n.typography,textTransform:e}})})}})}function xe(){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 Be=n("xBDm");function Te(e){var t;const{attributes:{style:n},setAttributes:o}=e;return Object(l.createElement)(Be.a,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.letterSpacing,onChange:function(e){o({style:Object(B.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=xe(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),xe(e),Pe(e)];return t.filter(Boolean).length===t.length}(e),m=Me(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(B.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(B.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(B.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(B.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(B.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)(Ie,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(B.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 Me=e=>Re.some(t=>Object(o.hasBlockSupport)(e,t));function Le(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!Le(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(K.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(B.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=!Xe(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=Ze(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(B.a)(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{margin:e}};r({style:Object(B.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=!Xe(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=Ze(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(B.a)(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{padding:e}};r({style:Object(B.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 Ye(e){const t=Ae(e),n=Ge(e),r=ze(e),c=$e(e),i=function(e){if("web"!==l.Platform.OS)return!1;return Le(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(B.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(B.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 $e=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 Ze(e,t){const n=Object(o.getBlockSupport)(e,We);if(n&&"boolean"!=typeof n[t])return n[t]}function Xe(e,t){const n=Ze(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=["spacing.blockGap"],n={};return Object.keys(o.__EXPERIMENTAL_STYLE_PROPERTY).forEach(r=>{const c=o.__EXPERIMENTAL_STYLE_PROPERTY[r].value,l=o.__EXPERIMENTAL_STYLE_PROPERTY[r].properties;if(Object(s.has)(e,c)&&"elements"!==Object(s.first)(c)){const o=Object(s.get)(e,c);l&&!Object(s.isString)(o)?Object.entries(l).forEach(e=>{const[t,r]=e,c=Object(s.get)(o,[r]);c&&(n[t]=tt(c))}):t.includes(c.join("."))||(n[r]=tt(Object(s.get)(e,c)))}}),n}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)(z,t),Object(l.createElement)(Ye,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,style:null==r?void 0:r.style}),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(x.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(x.b)(t,e.borderColor);n.style.borderColor=o.color}return n}function It(e){var t,n,o,r,c,l;const{backgroundColor:i,textColor:s,gradient:u,style:d}=e,b=Object(x.a)("background-color",i),p=Object(x.a)("color",s),m=Object(U.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)||{}})}}const xt={};function Bt(e){const{backgroundColor:t,textColor:n,gradient:o}=e,r=Object(S.a)("color.palette.custom")||[],c=Object(S.a)("color.palette.theme")||[],i=Object(S.a)("color.palette.default")||[],a=Object(S.a)("color.gradients")||xt,s=Object(l.useMemo)(()=>[...r||[],...c||[],...i||[]],[r,c,i]),u=Object(l.useMemo)(()=>[...(null==a?void 0:a.custom)||[],...(null==a?void 0:a.theme)||[],...(null==a?void 0:a.default)||[]],[a]),d=It(e);if(t){const e=Object(x.b)(s,t);d.style.backgroundColor=e.color}if(o&&(d.style.background=Object(U.e)(u,o)),n){const e=Object(x.b)(s,n);d.style.color=e.color}return d}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"),Mt=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 d}));var o=n("YLtl"),r=n("1ZqX"),c=n("HSyU"),l=n("ur0x"),i=n("BhPs");const a=["color","border","typography","spacing"],s={"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},u={"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 d(e){const{name:t}=Object(l.c)();return Object(r.useSelect)(n=>{var r;if(a.includes(e))return void console.warn("Top level useSetting paths are disabled. Please use a subpath to query the information needed.");const l=n(i.a).getSettings(),d=(e=>u[e]||e)(e),b="__experimentalFeatures."+d,p=`__experimentalFeatures.blocks.${t}.${d}`,m=null!==(r=Object(o.get)(l,p))&&void 0!==r?r:Object(o.get)(l,b);var f,h;if(void 0!==m)return c.__EXPERIMENTAL_PATHS_WITH_MERGE[d]?null!==(f=null!==(h=m.custom)&&void 0!==h?h:m.theme)&&void 0!==f?f:m.default:m;const g=s[d]?s[d](l):void 0;return void 0!==g?g:"typography.dropCap"===d||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:l<s?a:s,Math.sqrt((l-d)**2+(i-u)**2)}function r(e,t){let n,r,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["top","bottom","left","right"];return c.forEach(c=>{const l=o(e,t,c);(void 0===n||l<n)&&(n=l,r=c)}),[n,r]}n.d(t,"a",(function(){return r}))},vSu0:function(e,t,n){"use strict";var o=n("YLtl"),r=n("K9lf"),c=n("eGrx"),l=n.n(c);const i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;var a=function(e,t){t=t||{};let n=1,o=1;function r(e){const t=e.match(/\n/g);t&&(n+=t.length);const r=e.lastIndexOf("\n");o=~r?e.length-r:o+e.length}function c(){const e={line:n,column:o};return function(t){return t.position=new l(e),f(),t}}function l(e){this.start=e,this.end={line:n,column:o},this.source=t.source}l.prototype.content=e;const a=[];function u(r){const c=new Error(t.source+":"+n+":"+o+": "+r);if(c.reason=r,c.filename=t.source,c.line=n,c.column=o,c.source=e,!t.silent)throw c;a.push(c)}function d(){return m(/^{\s*/)}function b(){return m(/^}/)}function p(){let t;const n=[];for(f(),h(n);e.length&&"}"!==e.charAt(0)&&(t=S()||w());)!1!==t&&(n.push(t),h(n));return n}function m(t){const n=t.exec(e);if(!n)return;const o=n[0];return r(o),e=e.slice(o.length),n}function f(){m(/^\s*/)}function h(e){let t;for(e=e||[];t=g();)!1!==t&&e.push(t);return e}function g(){const t=c();if("/"!==e.charAt(0)||"*"!==e.charAt(1))return;let n=2;for(;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return u("End of comment missing");const l=e.slice(2,n-2);return o+=2,r(l),e=e.slice(n),o+=2,t({type:"comment",comment:l})}function O(){const e=m(/^([^{]+)/);if(e)return s(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function v(){const e=c();let t=m(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!t)return;if(t=s(t[0]),!m(/^:\s*/))return u("property missing ':'");const n=m(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),o=e({type:"declaration",property:t.replace(i,""),value:n?s(n[0]).replace(i,""):""});return m(/^[;\s]*/),o}function j(){const e=[];if(!d())return u("missing '{'");let t;for(h(e);t=v();)!1!==t&&(e.push(t),h(e));return b()?e:u("missing '}'")}function k(){let e;const t=[],n=c();for(;e=m(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),m(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:j()})}const _=C("import"),y=C("charset"),E=C("namespace");function C(e){const t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){const n=c(),o=m(t);if(!o)return;const r={type:e};return r[e]=o[1].trim(),n(r)}}function S(){if("@"===e[0])return function(){const e=c();let t=m(/^@([-\w]+)?keyframes\s*/);if(!t)return;const n=t[1];if(t=m(/^([-\w]+)\s*/),!t)return u("@keyframes missing name");const o=t[1];if(!d())return u("@keyframes missing '{'");let r,l=h();for(;r=k();)l.push(r),l=l.concat(h());return b()?e({type:"keyframes",name:o,vendor:n,keyframes:l}):u("@keyframes missing '}'")}()||function(){const e=c(),t=m(/^@media *([^{]+)/);if(!t)return;const n=s(t[1]);if(!d())return u("@media missing '{'");const o=h().concat(p());return b()?e({type:"media",media:n,rules:o}):u("@media missing '}'")}()||function(){const e=c(),t=m(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:s(t[1]),media:s(t[2])})}()||function(){const e=c(),t=m(/^@supports *([^{]+)/);if(!t)return;const n=s(t[1]);if(!d())return u("@supports missing '{'");const o=h().concat(p());return b()?e({type:"supports",supports:n,rules:o}):u("@supports missing '}'")}()||_()||y()||E()||function(){const e=c(),t=m(/^@([-\w]+)?document *([^{]+)/);if(!t)return;const n=s(t[1]),o=s(t[2]);if(!d())return u("@document missing '{'");const r=h().concat(p());return b()?e({type:"document",document:o,vendor:n,rules:r}):u("@document missing '}'")}()||function(){const e=c();if(!m(/^@page */))return;const t=O()||[];if(!d())return u("@page missing '{'");let n,o=h();for(;n=v();)o.push(n),o=o.concat(h());return b()?e({type:"page",selectors:t,declarations:o}):u("@page missing '}'")}()||function(){const e=c();if(!m(/^@host\s*/))return;if(!d())return u("@host missing '{'");const t=h().concat(p());return b()?e({type:"host",rules:t}):u("@host missing '}'")}()||function(){const e=c();if(!m(/^@font-face\s*/))return;if(!d())return u("@font-face missing '{'");let t,n=h();for(;t=v();)n.push(t),n=n.concat(h());return b()?e({type:"font-face",declarations:n}):u("@font-face missing '}'")}()}function w(){const e=c(),t=O();return t?(h(),e({type:"rule",selectors:t,declarations:j()})):u("selector missing")}return function e(t,n){const o=t&&"string"==typeof t.type,r=o?t:n;for(const n in t){const o=t[n];Array.isArray(o)?o.forEach((function(t){e(t,r)})):o&&"object"==typeof o&&e(o,r)}o&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}(function(){const e=p();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:a}}}())};function s(e){return e?e.replace(/^\s+|\s+$/g,""):""}var u=n("P7XM"),d=n.n(u),b=p;function p(e){this.options=e||{}}p.prototype.emit=function(e){return e},p.prototype.visit=function(e){return this[e.type](e)},p.prototype.mapVisit=function(e,t){let n="";t=t||"";for(let o=0,r=e.length;o<r;o++)n+=this.visit(e[o]),t&&o<r-1&&(n+=this.emit(t));return n};var m=f;function f(e){b.call(this,e)}d()(f,b),f.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},f.prototype.comment=function(e){return this.emit("",e.position)},f.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},f.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},f.prototype.document=function(e){const t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},f.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},f.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},f.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},f.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},f.prototype.keyframe=function(e){const t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},f.prototype.page=function(e){const t=e.selectors.length?e.selectors.join(", "):"";return this.emit("@page "+t,e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},f.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},f.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},f.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},f.prototype.rule=function(e){const t=e.declarations;return t.length?this.emit(e.selectors.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}"):""},f.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var h=g;function g(e){e=e||{},b.call(this,e),this.indentation=e.indent}d()(g,b),g.prototype.compile=function(e){return this.stylesheet(e)},g.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},g.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},g.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},g.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},g.prototype.document=function(e){const t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("  {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},g.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},g.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},g.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},g.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.keyframes,"\n")+this.emit(this.indent(-1)+"}")},g.prototype.keyframe=function(e){const t=e.declarations;return this.emit(this.indent())+this.emit(e.values.join(", "),e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")},g.prototype.page=function(e){const t=e.selectors.length?e.selectors.join(", ")+" ":"";return this.emit("@page "+t,e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},g.prototype["font-face"]=function(e){return this.emit("@font-face ",e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},g.prototype.host=function(e){return this.emit("@host",e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},g.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},g.prototype.rule=function(e){const t=this.indent(),n=e.declarations;return n.length?this.emit(e.selectors.map((function(e){return t+e})).join(",\n"),e.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(n,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}"):""},g.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},g.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||"  ")};var O=function(e,t){try{const r=a(e),c=l.a.map(r,(function(e){if(!e)return e;const n=t(e);return this.update(n)}));return n=c,((o=o||{}).compress?new m(o):new h(o)).compile(n)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}var n,o};function v(e){return 0!==e.value.indexOf("data:")&&0!==e.value.indexOf("#")&&(t=e.value,!/^\/(?!\/)/.test(t)&&!function(e){return/^(?:https?:)?\/\//.test(e)}(e.value));var t}function j(e,t){return new URL(e,t).toString()}var k=e=>t=>{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}=e;const c=[];return t&&c.push(y(t)),o&&c.push(k(o)),c.length?O(n,Object(r.compose)(c)):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<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return o}))},wzfx: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.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"}));t.a=c},xBDm:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("GRId"),r=n("tI+e"),c=n("l3Sj"),l=n("v5LD");function i(e){let{value:t,onChange:n,__unstableInputWidth:i="60px"}=e;const a=Object(r.__experimentalUseCustomUnits)({availableUnits:Object(l.a)("spacing.units")||["px","em","rem"],defaultValues:{px:"2",em:".2",rem:".2"}});return Object(o.createElement)(r.__experimentalUnitControl,{label:Object(c.__)("Letter-spacing"),value:t,__unstableInputWidth:i,units:a,onChange:n})}},xCFn:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var o=n("GRId"),r=n("YLtl"),c=n("TSYQ"),l=n.n(c),i=n("HSyU"),a=n("tI+e"),s=n("1ZqX"),u=n("hF7m"),d=n("K9lf"),b=n("1CF3"),p=n("wx14"),m=n("xN+R"),f=n("RxS6"),h=n("gdqT"),g=n("l3Sj"),O=n("f8JO"),v=n("7SSY"),j=n("BhPs"),k=n("ZAjO"),_=n("wC17");var y=function(e){let{clientId:t,rootClientId:n,blockElement:r}=e;const c=Object(_.a)(t),u=Object(s.useSelect)(e=>{var o;const{getBlock:r,getBlockIndex:c,hasBlockMovingClientId:l,getBlockListSettings:i}=e(j.a),a=c(t),{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:I}=Object(s.useDispatch)(j.a),x=Object(o.useRef)(),B=Object(i.getBlockType)(y),T=Object(i.__experimentalGetAccessibleBlockLabel)(B,E,d+1,S);Object(o.useEffect)(()=>{x.current.focus(),Object(h.speak)(T)},[T]);const{hasBlockMovingClientId:P,getBlockIndex:R,getBlockRootClientId:N,getClientIdsOfDescendants:M,getSelectedBlockClientId:L,getMultiSelectedBlocksEndClientId:A,getPreviousBlockClientId:D,getNextBlockClientId:F,isNavigationMode:z}=Object(s.useSelect)(j.a),{selectBlock:H,clearSelectedBlock:V,setBlockMovingClientId:G,moveBlockToPosition:U}=Object(s.useDispatch)(j.a),W=l()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!C}),q=Object(g.__)("Drag");return Object(o.createElement)("div",{className:W},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:q,tabIndex:"-1"},e)))),Object(o.createElement)(a.FlexItem,null,Object(o.createElement)(a.Button,{ref:x,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 I(t),void e.preventDefault();const m=L(),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=M([m])[0])&&void 0!==C?C:m}const S=P();if(s&&z()&&(V(),e.preventDefault()),s&&S&&!e.defaultPrevented&&(G(null),e.preventDefault()),(u||d)&&S){const e=N(S),t=N(m),n=R(S);let o=R(m);n<o&&e===t&&(o-=1),U(S,e,t,o),H(S),G(null)}if(j||v||k||_)if(y)e.preventDefault(),H(y);else if(a&&m){let t;j?(t=b.focus.tabbable.findNext(r),t||(t=r.ownerDocument.defaultView.frameElement,t=b.focus.tabbable.findNext(t))):t=b.focus.tabbable.findPrevious(r),t&&(e.preventDefault(),t.focus(),V())}},label:T,className:"block-selection-button_select-button"},Object(o.createElement)(O.a,{clientId:t})))))},E=n("JUfZ"),C=n("qrxh"),S=n("PKbb"),w=n("2z9l");function I(e){const{isNavigationMode:t,isMultiSelecting:n,hasMultiSelection:o,isTyping:r,isCaretWithinFormattedText:c,getSettings:l,getLastMultiSelectedBlockClientId:i}=e(j.a);return{isNavigationMode:t(),isMultiSelecting:n(),isTyping:r(),isCaretWithinFormattedText:c(),hasMultiSelection:o(),hasFixedToolbar:l().hasFixedToolbar,lastClientId:i()}}function x(e){let{clientId:t,rootClientId:n,isValid:r,isEmptyDefaultBlock:c,capturingClientId:i,__unstablePopoverSlot:p,__unstableContentRef:m}=e;const{isNavigationMode:f,isMultiSelecting:h,isTyping:g,isCaretWithinFormattedText:O,hasMultiSelection:v,hasFixedToolbar:k,lastClientId:_}=Object(s.useSelect)(I,[]),x=Object(s.useSelect)(e=>{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]),B=Object(d.useViewportMatch)("medium"),[T,P]=Object(o.useState)(!1),[R,N]=Object(o.useState)(!1),{stopTyping:M}=Object(s.useDispatch)(j.a),L=!g&&!f&&c&&r,A=f,D=!f&&!k&&B&&!L&&!h&&(!g||O),F=!(f||D||k||c);Object(u.useShortcut)("core/block-editor/focus-toolbar",()=>{P(!0),M(!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||L))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=L?"top left right":"top right left",{ownerDocument:Y}=W,$=L?void 0:Y.defaultView.frameElement||Object(b.getScrollContainer)(W)||Y.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":x}),__unstableStickyBoundaryElement:$,__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}),L&&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 B(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)(B,[]);if(!r)return null;const{clientId:c,rootClientId:l,name:i,isValid:a,isEmptyDefaultBlock:u,capturingClientId:d}=r;return i?Object(o.createElement)(x,{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 <kbd>/</kbd> to quickly insert new blocks."),{kbd:Object(o.createElement)("kbd",null)}),Object(o.createInterpolateElement)(Object(c.__)("Indent a list by pressing <kbd>space</kbd> at the beginning of a line."),{kbd:Object(o.createElement)("kbd",null)}),Object(o.createInterpolateElement)(Object(c.__)("Outdent a list by pressing <kbd>backspace</kbd> 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 I=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}))},x=n("gdqT"),B=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)(x.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)(B.a,null),f&&Object(o.createElement)(C.a,{shownPatterns:p,blockPatterns:b,onClickPattern:u,isDraggable:!1})))};function M(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)(I,{selectedCategory:l,patternCategories:n,onClickCategory:i,filterValue:r,setFilterValue:c}),Object(o.createElement)(N,{filterValue:r,selectedCategory:l,patternCategories:n}))}var L=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)(M,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)(L,{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)(B.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]),I=Object(o.useCallback)((e,t,n)=>{E(e,t,n),u()},[E,u]),x=Object(o.useCallback)((e,t)=>{E(e,{patternName:t}),u()},[E,u]),B=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:I,onHover:B,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,I,B,h,p,d]),N=Object(o.useMemo)(()=>Object(o.createElement)(D,{rootClientId:y,onInsert:x,onClickCategory:P,selectedCategory:k}),[y,x,P,k]),M=Object(o.useMemo)(()=>Object(o.createElement)(H,{rootClientId:y,onInsert:I,onHover:B}),[y,I,B]),L=Object(o.useCallback)(e=>"blocks"===e.name?R:"patterns"===e.name?N:M,[R,N,M]);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:B,rootClientId:t,clientId:n,isAppender:i,__experimentalInsertionIndex:s,showBlockDirectory:!0,shouldFocusBlock:f}),!h&&(S||w)&&Object(o.createElement)(q,{showPatterns:S,showReusableBlocks:w},L),!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("dchM"),d=n("bVpQ"),b=n("Cn0l"),p=n("v5LD"),m=n("pY5h"),f=n("0LBR");const h=Object(s.__)("(%s: color %s)"),g=Object(s.__)("(%s: gradient %s)"),O=["colors","disableCustomColors","gradients","disableCustomGradients"],v=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:m}=e;if(!l&&!i)return null;if(l){const e=Object(d.c)(p||t,l);c=Object(s.sprintf)(h,u.toLowerCase(),e&&e.name||l)}else{const e=Object(b.b)(m||n,l);c=Object(s.sprintf)(g,u.toLowerCase(),e&&e.name||i)}return Object(r.createElement)(a.ColorIndicator,{key:o,colorValue:l||i,"aria-label":c})})},j=e=>{let{className:t,colors:n,gradients:c,disableCustomColors:s,disableCustomGradients:d,children:b,settings:p,title:m,showTitle:f=!0,__experimentalHasMultipleOrigins:h,__experimentalIsRenderedInSidebar:g,enableAlpha:O,...j}=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 k=Object(r.createElement)("span",{className:"block-editor-panel-color-gradient-settings__panel-title"},m,Object(r.createElement)(v,{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?k:void 0},j),Object(r.createElement)(u.a,{settings:p,colors:n,gradients:c,disableCustomColors:s,disableCustomGradients:d,__experimentalHasMultipleOrigins:h,__experimentalIsRenderedInSidebar:g,enableAlpha:O}),!!b&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.__experimentalSpacer,{marginY:4})," ",b))},k=e=>{const t=Object(m.a)();return t.colors=Object(p.a)("color.palette"),t.gradients=Object(p.a)("color.gradients"),Object(r.createElement)(j,Object(o.a)({},t,e))},_=e=>{const t=Object(f.a)();return Object(r.createElement)(j,Object(o.a)({},t,e))};t.a=e=>Object(i.every)(O,t=>e.hasOwnProperty(t))?Object(r.createElement)(j,e):e.__experimentalHasMultipleOrigins?Object(r.createElement)(_,e):Object(r.createElement)(k,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
+ */,e.exports=function(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,l=n in document;if(!l){var i=document.createElement("div");i.setAttribute(n,"return;"),l="function"==typeof i[n]}return!l&&o&&"wheel"===e&&(l=document.implementation.hasFeature("Events.wheel","3.0")),l}},195:function(e,t,n){"use strict";var o=n(3812),r=n(7939);function l(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}}l.getEventType=function(){return o.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=l},5372:function(e,t,n){"use strict";var o=n(9567);function r(){}function l(){}l.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,l,i){if(i!==o){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:r};return n.PropTypes=n,n}},2652:function(e,t,n){e.exports=n(5372)()},9567:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5438: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)}),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n};t.__esModule=!0;var s=n(9196),a=n(2652),c=n(6411),u=n(9894),d="autosize:resized",p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.textarea=null,t.onResize=function(e){t.props.onResize&&t.props.onResize(e)},t.updateLineHeight=function(){t.textarea&&t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.maxRows,o=t.async;"number"==typeof n&&this.updateLineHeight(),"number"==typeof n||o?setTimeout((function(){return e.textarea&&c(e.textarea)})):this.textarea&&c(this.textarea),this.textarea&&this.textarea.addEventListener(d,this.onResize)},t.prototype.componentWillUnmount=function(){this.textarea&&(this.textarea.removeEventListener(d,this.onResize),c.destroy(this.textarea))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onResize,t.maxRows),o=(t.onChange,t.style),r=(t.innerRef,t.children),a=i(t,["onResize","maxRows","onChange","style","innerRef","children"]),c=this.state.lineHeight,u=n&&c?c*n:null;return s.createElement("textarea",l({},a,{onChange:this.onChange,style:u?l({},o,{maxHeight:u}):o,ref:function(t){e.textarea=t,"function"==typeof e.props.innerRef?e.props.innerRef(t):e.props.innerRef&&(e.props.innerRef.current=t)}}),r)},t.prototype.componentDidUpdate=function(){this.textarea&&c.update(this.textarea)},t.defaultProps={rows:1,async:!1},t.propTypes={rows:a.number,maxRows:a.number,onResize:a.func,innerRef:a.any,async:a.bool},t}(s.Component);t.TextareaAutosize=s.forwardRef((function(e,t){return s.createElement(p,l({},e,{innerRef:t}))}))},773:function(e,t,n){"use strict";var o=n(5438);t.Z=o.TextareaAutosize},3124:function(e){var t=e.exports=function(e){return new n(e)};function n(e){this.value=e}function o(e,t,n){var o=[],i=[],u=!0;return function e(d){var p=n?r(d):d,m={},f=!0,h={node:p,node_:d,path:[].concat(o),parent:i[i.length-1],parents:i,key:o.slice(-1)[0],isRoot:0===o.length,level:o.length,circular:null,update:function(e,t){h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(f=!1)},delete:function(e){delete h.parent.node[h.key],e&&(f=!1)},remove:function(e){s(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(f=!1)},keys:null,before:function(e){m.before=e},after:function(e){m.after=e},pre:function(e){m.pre=e},post:function(e){m.post=e},stop:function(){u=!1},block:function(){f=!1}};if(!u)return h;function g(){if("object"==typeof h.node&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=l(h.node)),h.isLeaf=0==h.keys.length;for(var e=0;e<i.length;e++)if(i[e].node_===d){h.circular=i[e];break}}else h.isLeaf=!0,h.keys=null;h.notLeaf=!h.isLeaf,h.notRoot=!h.isRoot}g();var v=t.call(h,h.node);return void 0!==v&&h.update&&h.update(v),m.before&&m.before.call(h,h.node),f?("object"!=typeof h.node||null===h.node||h.circular||(i.push(h),g(),a(h.keys,(function(t,r){o.push(t),m.pre&&m.pre.call(h,h.node[t],t);var l=e(h.node[t]);n&&c.call(h.node,t)&&(h.node[t]=l.node),l.isLast=r==h.keys.length-1,l.isFirst=0==r,m.post&&m.post.call(h,l),o.pop()})),i.pop()),m.after&&m.after.call(h,h.node),h):h}(e).node}function r(e){if("object"==typeof e&&null!==e){var t;if(s(e))t=[];else if("[object Date]"===i(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===i(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===i(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===i(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===i(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===i(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},o=function(){};o.prototype=n,t=new o}return a(l(e),(function(n){t[n]=e[n]})),t}return e}n.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var o=e[n];if(!t||!c.call(t,o)){t=void 0;break}t=t[o]}return t},n.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var o=e[n];if(!t||!c.call(t,o))return!1;t=t[o]}return!0},n.prototype.set=function(e,t){for(var n=this.value,o=0;o<e.length-1;o++){var r=e[o];c.call(n,r)||(n[r]={}),n=n[r]}return n[e[o]]=t,t},n.prototype.map=function(e){return o(this.value,e,!0)},n.prototype.forEach=function(e){return this.value=o(this.value,e,!1),this.value},n.prototype.reduce=function(e,t){var n=1===arguments.length,o=n?this.value:t;return this.forEach((function(t){this.isRoot&&n||(o=e.call(this,o,t))})),o},n.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},n.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},n.prototype.clone=function(){var e=[],t=[];return function n(o){for(var i=0;i<e.length;i++)if(e[i]===o)return t[i];if("object"==typeof o&&null!==o){var s=r(o);return e.push(o),t.push(s),a(l(o),(function(e){s[e]=n(o[e])})),e.pop(),t.pop(),s}return o}(this.value)};var l=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function i(e){return Object.prototype.toString.call(e)}var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};a(l(n.prototype),(function(e){t[e]=function(t){var o=[].slice.call(arguments,1),r=new n(t);return r[e].apply(r,o)}}));var c=Object.hasOwnProperty||function(e,t){return t in e}},9196:function(e){"use strict";e.exports=window.React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var l=t[o]={exports:{}};return e[o].call(l.exports,l,l.exports,n),l.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){"use strict";n.r(o),n.d(o,{AlignmentControl:function(){return Xg},AlignmentToolbar:function(){return Qg},Autocomplete:function(){return tv},BlockAlignmentControl:function(){return zo},BlockAlignmentToolbar:function(){return Vo},BlockBreadcrumb:function(){return iv},BlockColorsStyleSelector:function(){return dv},BlockContextProvider:function(){return ir},BlockControls:function(){return qn},BlockEdit:function(){return ur},BlockEditorKeyboardShortcuts:function(){return R_},BlockEditorProvider:function(){return ic},BlockFormatControls:function(){return Kn},BlockIcon:function(){return oc},BlockInspector:function(){return T_},BlockList:function(){return Mm},BlockMover:function(){return fp},BlockNavigationDropdown:function(){return Lv},BlockPreview:function(){return Tu},BlockSelectionClearer:function(){return cc},BlockSettingsMenu:function(){return rm},BlockSettingsMenuControls:function(){return em},BlockTitle:function(){return Zd},BlockToolbar:function(){return lm},BlockTools:function(){return N_},BlockVerticalAlignmentControl:function(){return nb},BlockVerticalAlignmentToolbar:function(){return ob},ButtonBlockAppender:function(){return Ud},ButtonBlockerAppender:function(){return Hd},ColorPalette:function(){return lb},ColorPaletteControl:function(){return ib},ContrastChecker:function(){return Df},CopyHandler:function(){return Gp},DefaultBlockAppender:function(){return zd},FontSizePicker:function(){return gh},InnerBlocks:function(){return xm},Inserter:function(){return Fd},InspectorAdvancedControls:function(){return Jo},InspectorControls:function(){return er},JustifyContentControl:function(){return ho},JustifyToolbar:function(){return go},LineHeightControl:function(){return Zf},MediaPlaceholder:function(){return xk},MediaReplaceFlow:function(){return Ck},MediaUpload:function(){return yk},MediaUploadCheck:function(){return Ek},MultiSelectScrollIntoView:function(){return L_},NavigableToolbar:function(){return op},ObserveTyping:function(){return F_},PanelColorSettings:function(){return Tk},PlainText:function(){return t_},PreserveScrollInReorder:function(){return z_},RichText:function(){return Zk},RichTextShortcut:function(){return r_},RichTextToolbarButton:function(){return l_},SETTINGS_DEFAULTS:function(){return v},SkipToSelectedBlock:function(){return C_},ToolSelector:function(){return a_},Typewriter:function(){return G_},URLInput:function(){return Yb},URLInputButton:function(){return p_},URLPopover:function(){return Bk},Warning:function(){return pr},WritingFlow:function(){return kc},__experimentalBlockAlignmentMatrixControl:function(){return rv},__experimentalBlockContentOverlay:function(){return sv},__experimentalBlockFullHeightAligmentControl:function(){return ov},__experimentalBlockPatternSetup:function(){return Kv},__experimentalBlockVariationPicker:function(){return Dv},__experimentalBlockVariationTransforms:function(){return Yv},__experimentalBorderRadiusControl:function(){return af},__experimentalBorderStyleControl:function(){return ff},__experimentalColorGradientControl:function(){return Fm},__experimentalColorGradientSettingsDropdown:function(){return zm},__experimentalDuotoneControl:function(){return vg},__experimentalFontAppearanceControl:function(){return Xf},__experimentalFontFamilyControl:function(){return ah},__experimentalGetBorderClassesAndStyles:function(){return Ng},__experimentalGetColorClassesAndStyles:function(){return Mg},__experimentalGetGradientClass:function(){return Ef},__experimentalGetGradientObjectByGradientValue:function(){return wf},__experimentalGetMatchingVariation:function(){return qv},__experimentalGetSpacingClassesAndStyles:function(){return Ag},__experimentalImageEditingProvider:function(){return Mb},__experimentalImageEditor:function(){return Gb},__experimentalImageSizeControl:function(){return $b},__experimentalImageURLInputUI:function(){return __},__experimentalLayoutStyle:function(){return Mo},__experimentalLetterSpacingControl:function(){return Oh},__experimentalLibrary:function(){return P_},__experimentalLinkControl:function(){return bk},__experimentalLinkControlSearchInput:function(){return ak},__experimentalLinkControlSearchItem:function(){return Zb},__experimentalLinkControlSearchResults:function(){return tk},__experimentalListView:function(){return Mv},__experimentalPanelColorGradientSettings:function(){return Lf},__experimentalPreviewOptions:function(){return y_},__experimentalResponsiveBlockControl:function(){return o_},__experimentalTextDecorationControl:function(){return Sh},__experimentalTextTransformControl:function(){return Rh},__experimentalUnitControl:function(){return c_},__experimentalUseBlockPreview:function(){return Nu},__experimentalUseBorderProps:function(){return Pg},__experimentalUseColorProps:function(){return Lg},__experimentalUseCustomSides:function(){return lg},__experimentalUseGradient:function(){return Bf},__experimentalUseNoRecursiveRenders:function(){return q_},__experimentalUseResizeCanvas:function(){return E_},__unstableBlockSettingsMenuFirstItem:function(){return Yp},__unstableEditorStyles:function(){return Su},__unstableIframe:function(){return Ec},__unstableInserterMenuExtension:function(){return Id},__unstableRichTextInputEvent:function(){return i_},__unstableUseBlockSelectionClearer:function(){return ac},__unstableUseCanvasClickRedirect:function(){return $_},__unstableUseClipboardHandler:function(){return Up},__unstableUseMouseMoveTypingReset:function(){return D_},__unstableUseTypewriter:function(){return U_},__unstableUseTypingObserver:function(){return O_},createCustomColorsHOC:function(){return Vg},getColorClassName:function(){return Wm},getColorObjectByAttributeValues:function(){return Um},getColorObjectByColorValue:function(){return Gm},getFontSize:function(){return mh},getFontSizeClass:function(){return hh},getFontSizeObjectByValue:function(){return fh},getGradientSlugByValue:function(){return Sf},getGradientValueBySlug:function(){return Cf},getPxFromCssUnit:function(){return iy},store:function(){return Fn},storeConfig:function(){return On},transformStyles:function(){return Eu},useBlockDisplayInformation:function(){return Qd},useBlockEditContext:function(){return Un},useBlockProps:function(){return ja},useCachedTruthy:function(){return Dg},useInnerBlocksProps:function(){return Im},useSetting:function(){return po},validateThemeColors:function(){return Y_},validateThemeGradients:function(){return X_},withColorContext:function(){return rb},withColors:function(){return Hg},withFontSizes:function(){return Gg}});var e={};n.r(e),n.d(e,{__experimentalGetActiveBlockIdByBlockNames:function(){return xt},__experimentalGetAllowedBlocks:function(){return at},__experimentalGetAllowedPatterns:function(){return pt},__experimentalGetBlockListSettingsForBlocks:function(){return bt},__experimentalGetDirectInsertBlock:function(){return ct},__experimentalGetLastBlockAttributeChanges:function(){return yt},__experimentalGetParsedPattern:function(){return ut},__experimentalGetPatternTransformItems:function(){return ft},__experimentalGetPatternsByBlockTypes:function(){return mt},__experimentalGetReusableBlockTitle:function(){return kt},__unstableGetBlockWithoutInnerBlocks:function(){return W},__unstableGetClientIdWithClientIdsTree:function(){return j},__unstableGetClientIdsTree:function(){return K},__unstableIsLastBlockChangeIgnored:function(){return _t},areInnerBlocksControlled:function(){return It},canInsertBlockType:function(){return qe},canInsertBlocks:function(){return Ye},canMoveBlock:function(){return Ze},canMoveBlocks:function(){return Je},canRemoveBlock:function(){return Xe},canRemoveBlocks:function(){return Qe},didAutomaticChange:function(){return St},getAdjacentBlockClientId:function(){return pe},getBlock:function(){return G},getBlockAttributes:function(){return U},getBlockCount:function(){return Z},getBlockHierarchyRootClientId:function(){return ue},getBlockIndex:function(){return Ie},getBlockInsertionPoint:function(){return He},getBlockListSettings:function(){return ht},getBlockMode:function(){return Le},getBlockName:function(){return V},getBlockOrder:function(){return Be},getBlockParents:function(){return ae},getBlockParentsByBlockName:function(){return ce},getBlockRootClientId:function(){return se},getBlockSelectionEnd:function(){return ne},getBlockSelectionStart:function(){return te},getBlockTransformItems:function(){return it},getBlocks:function(){return $},getBlocksByClientId:function(){return Q},getClientIdsOfDescendants:function(){return q},getClientIdsWithDescendants:function(){return Y},getDraggedBlockClientIds:function(){return Oe},getFirstMultiSelectedBlockClientId:function(){return ke},getGlobalBlockCount:function(){return X},getInserterItems:function(){return lt},getLastMultiSelectedBlockClientId:function(){return _e},getLowestCommonAncestorWithSelectedBlock:function(){return de},getMultiSelectedBlockClientIds:function(){return ve},getMultiSelectedBlocks:function(){return be},getMultiSelectedBlocksEndClientId:function(){return Se},getMultiSelectedBlocksStartClientId:function(){return we},getNextBlockClientId:function(){return fe},getPreviousBlockClientId:function(){return me},getSelectedBlock:function(){return ie},getSelectedBlockClientId:function(){return le},getSelectedBlockClientIds:function(){return ge},getSelectedBlockCount:function(){return oe},getSelectedBlocksInitialCaretPosition:function(){return he},getSelectionEnd:function(){return ee},getSelectionStart:function(){return J},getSettings:function(){return gt},getTemplate:function(){return We},getTemplateLock:function(){return $e},hasBlockMovingClientId:function(){return wt},hasInserterItems:function(){return st},hasMultiSelection:function(){return Pe},hasSelectedBlock:function(){return re},hasSelectedInnerBlock:function(){return Te},isAncestorBeingDragged:function(){return ze},isAncestorMultiSelected:function(){return Ce},isBlockBeingDragged:function(){return Fe},isBlockHighlighted:function(){return Bt},isBlockInsertionPointVisible:function(){return Ue},isBlockMultiSelected:function(){return Ee},isBlockSelected:function(){return xe},isBlockValid:function(){return H},isBlockWithinSelection:function(){return Ne},isCaretWithinFormattedText:function(){return Ve},isDraggingBlocks:function(){return De},isFirstMultiSelectedBlock:function(){return ye},isLastBlockChangePersistent:function(){return vt},isMultiSelecting:function(){return Me},isNavigationMode:function(){return Ct},isSelectionEnabled:function(){return Re},isTyping:function(){return Ae},isValidTemplate:function(){return Ge},wasBlockJustInserted:function(){return Tt}});var t={};n.r(t),n.d(t,{__unstableMarkAutomaticChange:function(){return In},__unstableMarkLastChangeAsPersistent:function(){return Sn},__unstableMarkNextChangeAsNotPersistent:function(){return Bn},__unstableSaveReusableBlock:function(){return wn},clearSelectedBlock:function(){return jt},duplicateBlocks:function(){return Nn},enterFormattedText:function(){return bn},exitFormattedText:function(){return kn},flashBlock:function(){return Ln},hideInsertionPoint:function(){return ln},insertAfterBlock:function(){return Mn},insertBeforeBlock:function(){return Pn},insertBlock:function(){return nn},insertBlocks:function(){return on},insertDefaultBlock:function(){return yn},mergeBlocks:function(){return cn},moveBlockToPosition:function(){return tn},moveBlocksDown:function(){return Zt},moveBlocksToPosition:function(){return en},moveBlocksUp:function(){return Jt},multiSelect:function(){return $t},receiveBlocks:function(){return Ot},removeBlock:function(){return dn},removeBlocks:function(){return un},replaceBlock:function(){return Xt},replaceBlocks:function(){return Yt},replaceInnerBlocks:function(){return pn},resetBlocks:function(){return Lt},resetSelection:function(){return Dt},selectBlock:function(){return Vt},selectNextBlock:function(){return Ut},selectPreviousBlock:function(){return Ht},selectionChange:function(){return _n},setBlockMovingClientId:function(){return Tn},setHasControlledInnerBlocks:function(){return An},setNavigationMode:function(){return xn},setTemplateValidity:function(){return sn},showInsertionPoint:function(){return rn},startDraggingBlocks:function(){return gn},startMultiSelect:function(){return Gt},startTyping:function(){return fn},stopDraggingBlocks:function(){return vn},stopMultiSelect:function(){return Wt},stopTyping:function(){return hn},synchronizeTemplate:function(){return an},toggleBlockHighlight:function(){return Rn},toggleBlockMode:function(){return mn},toggleSelection:function(){return Kt},updateBlock:function(){return zt},updateBlockAttributes:function(){return Ft},updateBlockListSettings:function(){return En},updateSettings:function(){return Cn},validateBlocksToTemplate:function(){return At}});var r=window.wp.blocks,l=window.wp.hooks;function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i.apply(this,arguments)}(0,l.addFilter)("blocks.registerBlockType","core/compat/migrateLightBlockWrapper",(function(e){const{apiVersion:t=1}=e;return t<2&&(0,r.hasBlockSupport)(e,"lightBlockWrapper",!1)&&(e.apiVersion=2),e}));var s=window.wp.element,a=n(4403),c=n.n(a),u=window.lodash,d=window.wp.compose,p=window.wp.components,m=window.wp.data;var f={default:(0,p.createSlotFill)("BlockControls"),block:(0,p.createSlotFill)("BlockControlsBlock"),inline:(0,p.createSlotFill)("BlockFormatControls"),other:(0,p.createSlotFill)("BlockControlsOther"),parent:(0,p.createSlotFill)("BlockControlsParent")},h=window.wp.i18n;const g={insertUsage:{}},v={alignWide:!1,supportsLayout:!0,colors:[{name:(0,h.__)("Black"),slug:"black",color:"#000000"},{name:(0,h.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:(0,h.__)("White"),slug:"white",color:"#ffffff"},{name:(0,h.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:(0,h.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:(0,h.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:(0,h.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:(0,h.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:(0,h.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:(0,h.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:(0,h.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:(0,h.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:(0,h._x)("Small","font size name"),size:13,slug:"small"},{name:(0,h._x)("Normal","font size name"),size:16,slug:"normal"},{name:(0,h._x)("Medium","font size name"),size:20,slug:"medium"},{name:(0,h._x)("Large","font size name"),size:36,slug:"large"},{name:(0,h._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:(0,h.__)("Thumbnail")},{slug:"medium",name:(0,h.__)("Medium")},{slug:"large",name:(0,h.__)("Large")},{slug:"full",name:(0,h.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],__experimentalSpotlightEntityBlocks:[],__experimentalGenerateAnchors:!1,__unstableGalleryWithImageBlocks:!1,gradients:[{name:(0,h.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:(0,h.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:(0,h.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:(0,h.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:(0,h.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:(0,h.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:(0,h.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:(0,h.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:(0,h.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:(0,h.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:(0,h.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:(0,h.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function b(e,t,n){return[...e.slice(0,n),...(0,u.castArray)(t),...e.slice(n)]}function k(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const r=[...e];return r.splice(t,o),b(r,e.slice(t,t+o),n)}function _(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,_(r,o))})),n}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce(((e,n)=>Object.assign(e,{[n.clientId]:t},y(n.innerBlocks,n.clientId))),{})}function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.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 C(e){return E(e,(e=>(0,u.omit)(e,"attributes")))}function w(e){return E(e,(e=>e.attributes))}function S(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&(0,u.isEqual)(e.clientIds,t.clientIds)&&function(e,t){return(0,u.isEqual)((0,u.keys)(e),(0,u.keys)(t))}(e.attributes,t.attributes)}function B(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 I(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const r=new Set([]),l=new Set;for(const t of n){let n=o?t:e.parents[t];do{if(e.controlledInnerBlocks[n]){l.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 l)t["controlled||"+n]={innerBlocks:(e.order[n]||[]).map((e=>t[e]))};return t}const x=(0,u.flow)(m.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=(0,u.mapValues)(t.attributes,((n,r)=>{const{name:l}=t.byClientId[r];return"core/block"===l&&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=B(o,n.blocks);o.tree=I(o,{...o.tree,...e},n.rootClientId?[n.rootClientId]:[""],!0);break}case"UPDATE_BLOCK":o.tree=I(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=I(o,{...o.tree,...e},n.clientIds,!1);break}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const e=B(o,n.blocks);o.tree=I(o,{...(0,u.omit)(o.tree,n.replacedClientIds.concat(n.replacedClientIds.filter((t=>!e[t])).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=I(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=I(o,(0,u.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=I(o,o.tree,e,!0);break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{const e=[n.rootClientId?n.rootClientId:""];o.tree=I(o,o.tree,e,!0);break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{const e=(0,u.keys)((0,u.omitBy)(o.attributes,((e,t)=>"core/block"!==o.byClientId[t].name||e.ref!==n.updatedId)));o.tree=I(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<o.length;r++)!t.order[o[r]]||n.keepControlledInnerBlocks&&n.keepControlledInnerBlocks[o[r]]||(o===e&&(o=[...o]),o.push(...t.order[o[r]]));return o};if(t)switch(n.type){case"REMOVE_BLOCKS":n={...n,type:"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN",removedClientIds:o(n.clientIds)};break;case"REPLACE_BLOCKS":n={...n,type:"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN",replacedClientIds:o(n.clientIds)}}return e(t,n)}),(e=>(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 l=r;return n.blocks.length&&(l=e(l,{...n,type:"INSERT_BLOCKS",index:0}),l.order={...l.order,...(0,u.reduce)(o,((e,n,o)=>(t.order[o]&&(e[o]=t.order[o]),e)),{})}),l}),(e=>(t,n)=>{if("RESET_BLOCKS"===n.type){const e={...t,byClientId:C(n.blocks),attributes:w(n.blocks),order:_(n.blocks),parents:y(n.blocks),controlledInnerBlocks:{}},o=B(e,n.blocks);return e.tree={...o,"":{innerBlocks:n.blocks.map((e=>o[e.clientId]))}},e}return e(t,n)}),(function(e){let t,n=!1;return(o,r)=>{let l=e(o,r);const i="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type||n;if(o===l&&!i){var s;n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===r.type;const e=null===(s=null==o?void 0:o.isPersistentChange)||void 0===s||s;return o.isPersistentChange===e?o:{...l,isPersistentChange:e}}return l={...l,isPersistentChange:i?!n:!S(r,t)},t=r,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===r.type,l}}),(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}}),(e=>(t,n)=>{if("SET_HAS_CONTROLLED_INNER_BLOCKS"===n.type){const o=e(t,{type:"REPLACE_INNER_BLOCKS",rootClientId:n.clientId,blocks:[]});return e(o,n)}return e(t,n)}))({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,...C(t.blocks)};case"UPDATE_BLOCK":if(!e[t.clientId])return e;const n=(0,u.omit)(t.updates,"attributes");return(0,u.isEmpty)(n)?e:{...e,[t.clientId]:{...e[t.clientId],...n}};case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?{...(0,u.omit)(e,t.replacedClientIds),...C(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return(0,u.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,...w(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]:(0,u.reduce)(t.uniqueByBlock?t.attributes[o]:t.attributes,((t,n,r)=>{var l,i;return n!==t[r]&&((t=(l=e[o])===(i=t)?{...l}: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?{...(0,u.omit)(e,t.replacedClientIds),...w(t.blocks)}:e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return(0,u.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=_(t.blocks);return{...e,...(0,u.omit)(n,""),"":((null==e?void 0:e[""])||[]).concat(n[""])}}case"INSERT_BLOCKS":{const{rootClientId:n=""}=t,o=e[n]||[],r=_(t.blocks,n),{index:l=o.length}=t;return{...e,...r,[n]:b(o,r[n],l)}}case"MOVE_BLOCKS_TO_POSITION":{const{fromRootClientId:n="",toRootClientId:o="",clientIds:r}=t,{index:l=e[o].length}=t;if(n===o){const t=e[o].indexOf(r[0]);return{...e,[o]:k(e[o],t,l,r.length)}}return{...e,[n]:(0,u.without)(e[n],...r),[o]:b(e[o],r,l)}}case"MOVE_BLOCKS_UP":{const{clientIds:n,rootClientId:o=""}=t,r=(0,u.first)(n),l=e[o];if(!l.length||r===(0,u.first)(l))return e;const i=l.indexOf(r);return{...e,[o]:k(l,i,i-1,n.length)}}case"MOVE_BLOCKS_DOWN":{const{clientIds:n,rootClientId:o=""}=t,r=(0,u.first)(n),l=(0,u.last)(n),i=e[o];if(!i.length||l===(0,u.last)(i))return e;const s=i.indexOf(r);return{...e,[o]:k(i,s,s+1,n.length)}}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{const{clientIds:n}=t;if(!t.blocks)return e;const o=_(t.blocks);return(0,u.flow)([e=>(0,u.omit)(e,t.replacedClientIds),e=>({...e,...(0,u.omit)(o,"")}),e=>(0,u.mapValues)(e,(e=>(0,u.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(0,u.flow)([e=>(0,u.omit)(e,t.removedClientIds),e=>(0,u.mapValues)(e,(e=>(0,u.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,...y(t.blocks)};case"INSERT_BLOCKS":return{...e,...y(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{...(0,u.omit)(e,t.replacedClientIds),...y(t.blocks,e[t.clientIds[0]])};case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return(0,u.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 T(){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 N,P,M=(0,m.combineReducers)({blocks:x,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:l}=o;return{selectionStart:r,selectionEnd:l};case"MULTI_SELECT":const{start:i,end:s}=o;return{selectionStart:{clientId:i},selectionEnd:{clientId:s}};case"RESET_BLOCKS":const a=null==n||null===(e=n.selectionStart)||void 0===e?void 0:e.clientId,c=null==n||null===(t=n.selectionEnd)||void 0===t?void 0:t.clientId;if(!a&&!c)return n;if(!o.blocks.some((e=>e.clientId===a)))return{selectionStart:{},selectionEnd:{}};if(!o.blocks.some((e=>e.clientId===c)))return{...n,selectionEnd:n.selectionStart}}return{selectionStart:T(n.selectionStart,o),selectionEnd:T(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;return"TOGGLE_SELECTION"===t.type?t.isSelectionEnabled: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(0,u.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":{const{clientId:n}=t;return t.settings?(0,u.isEqual)(e[n],t.settings)?e:{...e,[n]:t.settings}:e.hasOwnProperty(n)?(0,u.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;return"SET_TEMPLATE_VALIDITY"===t.type?{...e,isValid:t.isValid}:e},settings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=arguments.length>1?arguments[1]:void 0;return"UPDATE_SETTINGS"===t.type?{...e,...t.settings}:e},preferences:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,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:l}=n,i=(0,m.select)(r.store).getActiveBlockVariation(l,o);let s=null!=i&&i.name?`${l}/${i.name}`:l;const a={name:s};return"core/block"===l&&(a.ref=o.ref,s+="/"+o.ref),{...e,insertUsage:{...e.insertUsage,[s]:{time:t.time,count:e.insertUsage[s]?e.insertUsage[s].count+1:1,insert:a}}}}),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}});function R(e){return[e]}function L(){var e={clear:function(){e.head=null}};return e}function A(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}function D(e,t){var n,o;function r(){n=P?new WeakMap:L()}function l(){var n,r,l,i,s,a=arguments.length;for(i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];for(s=t.apply(null,i),(n=o(s)).isUniqueByDependants||(n.lastDependants&&!A(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),r=n.head;r;){if(A(r.args,i,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,i)},i[0]=null,r.args=i,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=R),o=P?function(e){var t,o,r,l,i,s=n,a=!0;for(t=0;t<e.length;t++){if(o=e[t],!(i=o)||"object"!=typeof i){a=!1;break}s.has(o)?s=s.get(o):(r=new WeakMap,s.set(o,r),s=r)}return s.has(N)||((l=L()).isUniqueByDependants=a,s.set(N,l)),s.get(N)}:function(){return n},l.getDependants=t,l.clear=r,r(),l}N={},P="undefined"!=typeof WeakMap;var O=window.wp.primitives;var F=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));const z=[];function V(e,t){const n=e.blocks.byClientId[t],o="core/social-link";if("web"!==s.Platform.OS&&(null==n?void 0:n.name)===o){const n=e.blocks.attributes[t],{service:r}=n;return r?`core/social-link-${r}`:o}return n?n.name:null}function H(e,t){const n=e.blocks.byClientId[t];return!!n&&n.isValid}function U(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}function G(e,t){return e.blocks.byClientId[t]?e.blocks.tree[t]:null}const W=D(((e,t)=>{const n=e.blocks.byClientId[t];return n?{...n,attributes:U(e,t)}:null}),((e,t)=>[e.blocks.byClientId[t],e.blocks.attributes[t]]));function $(e,t){var n;const o=t&&It(e,t)?"controlled||"+t:t||"";return(null===(n=e.blocks.tree[o])||void 0===n?void 0:n.innerBlocks)||z}const j=D(((e,t)=>({clientId:t,innerBlocks:K(e,t)})),(e=>[e.blocks.order])),K=D((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,u.map)(Be(e,t),(t=>j(e,t)))}),(e=>[e.blocks.order])),q=(e,t)=>(0,u.flatMap)(t,(t=>{const n=Be(e,t);return[...n,...q(e,n)]})),Y=D((e=>{const t=Be(e);return[...t,...q(e,t)]}),(e=>[e.blocks.order])),X=D(((e,t)=>{const n=Y(e);return t?(0,u.reduce)(n,((n,o)=>e.blocks.byClientId[o].name===t?n+1:n),0):n.length}),(e=>[e.blocks.order,e.blocks.byClientId])),Q=D(((e,t)=>(0,u.map)((0,u.castArray)(t),(t=>G(e,t)))),((e,t)=>(0,u.map)((0,u.castArray)(t),(t=>e.blocks.tree[t]))));function Z(e,t){return Be(e,t).length}function J(e){return e.selection.selectionStart}function ee(e){return e.selection.selectionEnd}function te(e){return e.selection.selectionStart.clientId}function ne(e){return e.selection.selectionEnd.clientId}function oe(e){const t=ve(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function re(e){const{selectionStart:t,selectionEnd:n}=e.selection;return!!t.clientId&&t.clientId===n.clientId}function le(e){const{selectionStart:t,selectionEnd:n}=e.selection,{clientId:o}=t;return o&&o===n.clientId?o:null}function ie(e){const t=le(e);return t?G(e,t):null}function se(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}const ae=D((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])),ce=D((function(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const r=ae(e,t,o);return(0,u.map)((0,u.filter)((0,u.map)(r,(t=>({id:t,name:V(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 ue(e,t){let n,o=t;do{n=o,o=e.blocks.parents[o]}while(o);return n}function de(e,t){const n=le(e),o=[...ae(e,t),t],r=[...ae(e,n),n];let l;const i=Math.min(o.length,r.length);for(let e=0;e<i&&o[e]===r[e];e++)l=o[e];return l}function pe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=le(e)),void 0===t&&(t=n<0?ke(e):_e(e)),!t)return null;const o=se(e,t);if(null===o)return null;const{order:r}=e.blocks,l=r[o],i=l.indexOf(t),s=i+1*n;return s<0||s===l.length?null:l[s]}function me(e,t){return pe(e,t,-1)}function fe(e,t){return pe(e,t,1)}function he(e){return e.initialPosition}const ge=D((e=>{const{selectionStart:t,selectionEnd:n}=e.selection;if(void 0===t.clientId||void 0===n.clientId)return z;if(t.clientId===n.clientId)return[t.clientId];const o=se(e,t.clientId);if(null===o)return z;const r=Be(e,o),l=r.indexOf(t.clientId),i=r.indexOf(n.clientId);return l>i?r.slice(i,l+1):r.slice(l,i+1)}),(e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]));function ve(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?z:ge(e)}const be=D((e=>{const t=ve(e);return t.length?t.map((t=>G(e,t))):z}),(e=>[...ge.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]));function ke(e){return(0,u.first)(ve(e))||null}function _e(e){return(0,u.last)(ve(e))||null}function ye(e,t){return ke(e)===t}function Ee(e,t){return-1!==ve(e).indexOf(t)}const Ce=D(((e,t)=>{let n=t,o=!1;for(;n&&!o;)n=se(e,n),o=Ee(e,n);return o}),(e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]));function we(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId===n.clientId?null:t.clientId||null}function Se(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||""]||z}function Ie(e,t){return Be(e,se(e,t)).indexOf(t)}function xe(e,t){const{selectionStart:n,selectionEnd:o}=e.selection;return n.clientId===o.clientId&&n.clientId===t}function Te(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,u.some)(Be(e,t),(t=>xe(e,t)||Ee(e,t)||n&&Te(e,t,n)))}function Ne(e,t){if(!t)return!1;const n=ve(e),o=n.indexOf(t);return o>-1&&o<n.length-1}function Pe(e){const{selectionStart:t,selectionEnd:n}=e.selection;return t.clientId!==n.clientId}function Me(e){return e.isMultiSelecting}function Re(e){return e.isSelectionEnabled}function Le(e,t){return e.blocksMode[t]||"visual"}function Ae(e){return e.isTyping}function De(e){return!!e.draggedBlocks.length}function Oe(e){return e.draggedBlocks}function Fe(e,t){return e.draggedBlocks.includes(t)}function ze(e,t){if(!De(e))return!1;const n=ae(e,t);return(0,u.some)(n,(t=>Fe(e,t)))}function Ve(e){return e.isCaretWithinFormattedText}function He(e){let t,n;const{insertionPoint:o,selection:{selectionEnd:r}}=e;if(null!==o)return o;const{clientId:l}=r;return l?(t=se(e,l)||void 0,n=Ie(e,r.clientId)+1):n=Be(e).length,{rootClientId:t,index:n}}function Ue(e){return null!==e.insertionPoint}function Ge(e){return e.template.isValid}function We(e){return e.settings.template}function $e(e,t){if(!t)return e.settings.templateLock;const n=ht(e,t);return n?n.templateLock:null}const je=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return(0,u.isBoolean)(e)?e:(0,u.isArray)(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n},Ke=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=(0,r.getBlockType)(t),!n)return!1;const{allowedBlockTypes:i}=gt(e),s=je(i,t,!0);if(!s)return!1;const a=!!$e(e,o);if(a)return!1;const c=ht(e,o);if(o&&void 0===c)return!1;const u=null==c?void 0:c.allowedBlocks,d=je(u,t),p=n.parent,m=V(e,o),f=je(p,m),h=null===d&&null===f||!0===d||!0===f;return h?(0,l.applyFilters)("blockEditor.__unstableCanInsertBlockType",h,n,o,{getBlock:G.bind(null,e),getBlockParentsByBlockName:ce.bind(null,e)}):h},qe=D(Ke,((e,t,n)=>[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]));function Ye(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every((t=>qe(e,V(e,t),n)))}function Xe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=U(e,t);if(null===o)return!0;const{lock:r}=o,l=!!$e(e,n);return void 0===r||void 0===(null==r?void 0:r.remove)?!l:!(null!=r&&r.remove)}function Qe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every((t=>Xe(e,t,n)))}function Ze(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=U(e,t);if(null===o)return;const{lock:r}=o,l="all"===$e(e,n);return void 0===r||void 0===(null==r?void 0:r.move)?!l:!(null!=r&&r.move)}function Je(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every((t=>Ze(e,t,n)))}function et(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 tt=(e,t,n)=>!!(0,r.hasBlockSupport)(t,"inserter",!0)&&Ke(e,t.name,n),nt=(e,t)=>n=>{const o=`${t.id}/${n.name}`,{time:r,count:l=0}=et(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:ot(r,l)}},ot=(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}},rt=(e,t)=>{let{buildScope:n="inserter"}=t;return t=>{const o=t.name;let l=!1;(0,r.hasBlockSupport)(t.name,"multiple",!0)||(l=(0,u.some)(Q(e,Y(e)),{name:t.name}));const{time:i,count:s=0}=et(e,o)||{},a={id:o,name:t.name,title:t.title,icon:t.icon,isDisabled:l,frecency:ot(i,s)};if("transform"===n)return a;const c=(0,r.getBlockVariations)(t.name,"inserter");return{...a,initialAttributes:{},description:t.description,category:t.category,keywords:t.keywords,variations:c,example:t.example,utility:1}}},lt=D((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=rt(e,{buildScope:"inserter"}),o=/^\s*<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/,l=t=>{let n=F;if("web"===s.Platform.OS){const e=("string"==typeof t.content.raw?t.content.raw:t.content).match(o);if(e){const[,,t="core/",o]=e,l=(0,r.getBlockType)(t+o);l&&(n=l.icon)}}const l=`core/block/${t.id}`,{time:i,count:a=0}=et(e,l)||{},c=ot(i,a);return{id:l,name:"core/block",initialAttributes:{ref:t.id},title:t.title.raw,icon:n,category:"reusable",keywords:[],isDisabled:!1,utility:1,frecency:c}},i=(0,r.getBlockTypes)().filter((n=>tt(e,n,t))).map(n),a=Ke(e,"core/block",t)?Et(e).map(l):[],c=i.reduce(((t,n)=>{const{variations:o=[]}=n;if(o.some((e=>{let{isDefault:t}=e;return t}))||t.push(n),o.length){const r=nt(e,n);t.push(...o.map(r))}return t}),[]),u=(e,t)=>{const{core:n,noncore:o}=e;return(t.name.startsWith("core/")?n:o).push(t),e},{core:d,noncore:p}=c.reduce(u,{core:[],noncore:[]}),m=[...d,...p];return[...m,...a]}),((e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Et(e),(0,r.getBlockTypes)()])),it=D((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const o=rt(e,{buildScope:"transform"}),l=(0,r.getBlockTypes)().filter((t=>tt(e,t,n))).map(o),i=(0,u.mapKeys)(l,(e=>{let{name:t}=e;return t})),s=(0,r.getPossibleBlockTransformations)(t).reduce(((e,t)=>(i[null==t?void 0:t.name]&&e.push(i[t.name]),e)),[]),a=(0,u.orderBy)(s,(e=>i[e.name].frecency),"desc");return a}),((e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,(0,r.getBlockTypes)()])),st=D((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=(0,u.some)((0,r.getBlockTypes)(),(n=>tt(e,n,t)));if(n)return!0;const o=Ke(e,"core/block",t)&&Et(e).length>0;return o}),((e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Et(e),(0,r.getBlockTypes)()])),at=D((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return(0,u.filter)((0,r.getBlockTypes)(),(n=>tt(e,n,t)))}),((e,t)=>[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,(0,r.getBlockTypes)()])),ct=D((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,l=null===(n=e.blockListSettings[o])||void 0===n?void 0:n.__experimentalDirectInsert;return r&&l?"function"==typeof l?l(G(e,o))?r:null:r:void 0}),((e,t)=>[e.blockListSettings[t],e.blocks.tree[t]])),ut=D(((e,t)=>{const n=e.settings.__experimentalBlockPatterns.find((e=>{let{name:n}=e;return n===t}));return n?{...n,blocks:(0,r.parse)(n.content)}:null}),(e=>[e.settings.__experimentalBlockPatterns])),dt=D((e=>{const t=e.settings.__experimentalBlockPatterns,{allowedBlockTypes:n}=gt(e),o=t.filter((e=>{let{inserter:t=!0}=e;return!!t})).map((t=>{let{name:n}=t;return ut(e,n)})),r=o.filter((e=>{let{blocks:t}=e;return((e,t)=>{if((0,u.isBoolean)(t))return t;const n=[...e];for(;n.length>0;){var o;const e=n.shift();if(!je(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)}));return r}),(e=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes])),pt=D((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=dt(e),o=(0,u.filter)(n,(n=>{let{blocks:o}=n;return o.every((n=>{let{name:o}=n;return qe(e,o,t)}))}));return o}),((e,t)=>[e.settings.__experimentalBlockPatterns,e.settings.allowedBlockTypes,e.settings.templateLock,e.blockListSettings[t],e.blocks.byClientId[t]])),mt=D((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return z;const o=pt(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)=>[...pt.getDependants(e,t)])),ft=D((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return z;if(t.some((t=>{let{clientId:n,innerBlocks:o}=t;return o.length||It(e,n)})))return z;const o=Array.from(new Set(t.map((e=>{let{name:t}=e;return t}))));return mt(e,o,n)}),((e,t)=>[...mt.getDependants(e,t)]));function ht(e,t){return e.blockListSettings[t]}function gt(e){return e.settings}function vt(e){return e.blocks.isPersistentChange}const bt=D((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])),kt=D(((e,t)=>{var n;const o=(0,u.find)(Et(e),(e=>e.id===t));return o?null===(n=o.title)||void 0===n?void 0:n.raw:null}),(e=>[Et(e)]));function _t(e){return e.blocks.isIgnoredChange}function yt(e){return e.lastBlockAttributesChange}function Et(e){var t,n;return null!==(t=null==e||null===(n=e.settings)||void 0===n?void 0:n.__experimentalReusableBlocks)&&void 0!==t?t:z}function Ct(e){return e.isNavigationMode}function wt(e){return e.hasBlockMovingClientId}function St(e){return!!e.automaticChangeStatus}function Bt(e,t){return e.highlightedBlock===t}function It(e,t){return!!e.blocks.controlledInnerBlocks[t]}const xt=D(((e,t)=>{if(!t.length)return null;const n=le(e);if(t.includes(V(e,n)))return n;const o=ve(e),r=ce(e,n||o[0],t);return r?(0,u.last)(r):null}),((e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]));function Tt(e,t,n){const{lastBlockInserted:o}=e;return o.clientId===t&&o.source===n}var Nt=window.wp.a11y,Pt=window.wp.richText,Mt=window.wp.deprecated,Rt=n.n(Mt);const Lt=e=>t=>{let{dispatch:n}=t;n({type:"RESET_BLOCKS",blocks:e}),n(At(e))},At=e=>t=>{let{select:n,dispatch:o}=t;const l=n.getTemplate(),i=n.getTemplateLock(),s=!l||"all"!==i||(0,r.doBlocksMatchTemplate)(e,l);if(s!==n.isValidTemplate())return o.setTemplateValidity(s),s};function Dt(e,t,n){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:n}}function Ot(e){return Rt()('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function Ft(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:(0,u.castArray)(e),attributes:t,uniqueByBlock:n}}function zt(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function Vt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}const Ht=e=>t=>{let{select:n,dispatch:o}=t;const r=n.getPreviousBlockClientId(e);r&&o.selectBlock(r,-1)},Ut=e=>t=>{let{select:n,dispatch:o}=t;const r=n.getNextBlockClientId(e);r&&o.selectBlock(r)};function Gt(){return{type:"START_MULTI_SELECT"}}function Wt(){return{type:"STOP_MULTI_SELECT"}}const $t=(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 l=o.getSelectedBlockCount();(0,Nt.speak)((0,h.sprintf)((0,h._n)("%s block selected.","%s blocks selected.",l),l),"assertive")};function jt(){return{type:"CLEAR_SELECTED_BLOCK"}}function Kt(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function qt(e,t){var n,o;const l=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(!(0,r.hasBlockSupport)(n,"defaultStylePicker",!0))return e;if(!l[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:i={}}=e,s=l[n];return{...e,attributes:{...i,className:`${o||""} is-style-${s}`.trim()}}}))}const Yt=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 l=>{let{select:i,dispatch:s}=l;e=(0,u.castArray)(e),t=qt((0,u.castArray)(t),i.getSettings());const a=i.getBlockRootClientId((0,u.first)(e));for(let e=0;e<t.length;e++){const n=t[e];if(!i.canInsertBlockType(n.name,a))return}s({type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n,initialPosition:o,meta:r}),s((e=>{let{select:t,dispatch:n}=e;if(t.getBlockCount()>0)return;const{__unstableHasCustomAppender:o}=t.getSettings();o||n.insertDefaultBlock()}))}};function Xt(e,t){return Yt(e,t)}const Qt=e=>(t,n)=>o=>{let{select:r,dispatch:l}=o;r.canMoveBlocks(t,n)&&l({type:e,clientIds:(0,u.castArray)(t),rootClientId:n})},Zt=Qt("MOVE_BLOCKS_DOWN"),Jt=Qt("MOVE_BLOCKS_UP"),en=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:l,dispatch:i}=r;if(l.canMoveBlocks(e,t)){if(t!==n){if(!l.canRemoveBlocks(e,t))return;if(!l.canInsertBlocks(e,n))return}i({type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:o})}}};function tn(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 en([e],t,n,o)}function nn(e,t,n,o,r){return on([e],t,n,o,0,r)}const on=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,l=arguments.length>5?arguments[5]:void 0;return i=>{let{select:s,dispatch:a}=i;(0,u.isObject)(r)&&(l=r,r=0,Rt()("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=qt((0,u.castArray)(e),s.getSettings());const c=[];for(const t of e){s.canInsertBlockType(t.name,n)&&c.push(t)}c.length&&a({type:"INSERT_BLOCKS",blocks:c,index:t,rootClientId:n,time:Date.now(),updateSelection:o,initialPosition:o?r:null,meta:l})}};function rn(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 ln(){return{type:"HIDE_INSERTION_POINT"}}function sn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}const an=()=>e=>{let{select:t,dispatch:n}=e;n({type:"SYNCHRONIZE_TEMPLATE"});const o=t.getBlocks(),l=t.getTemplate(),i=(0,r.synchronizeBlocksWithTemplate)(o,l);n.resetBlocks(i)},cn=(e,t)=>n=>{let{select:o,dispatch:l}=n;const i=[e,t];l({type:"MERGE_BLOCKS",blocks:i});const[s,a]=i,c=o.getBlock(s),d=(0,r.getBlockType)(c.name);if(d&&!d.merge)return void l.selectBlock(c.clientId);const p=o.getBlock(a),m=(0,r.getBlockType)(p.name),{clientId:f,attributeKey:h,offset:g}=o.getSelectionStart(),v=(f===s?d:m).attributes[h],b=(f===s||f===a)&&void 0!==h&&void 0!==g&&!!v;v||("number"==typeof h?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 h):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));const k=(0,r.cloneBlock)(c),_=(0,r.cloneBlock)(p);if(b){const e=f===s?k:_,t=e.attributes[h],{multiline:n,__unstableMultilineWrapperTags:o,__unstablePreserveWhiteSpace:r}=v,l=(0,Pt.insert)((0,Pt.create)({html:t,multilineTag:n,multilineWrapperTags:o,preserveWhiteSpace:r}),"†",g,g);e.attributes[h]=(0,Pt.toHTMLString)({value:l,multilineTag:n,preserveWhiteSpace:r})}const y=c.name===p.name?[_]:(0,r.switchToBlockType)(_,c.name);if(!y||!y.length)return;const E=d.merge(k.attributes,y[0].attributes);if(b){const e=(0,u.findKey)(E,(e=>"string"==typeof e&&-1!==e.indexOf("†"))),t=E[e],{multiline:n,__unstableMultilineWrapperTags:o,__unstablePreserveWhiteSpace:r}=d.attributes[e],i=(0,Pt.create)({html:t,multilineTag:n,multilineWrapperTags:o,preserveWhiteSpace:r}),s=i.text.indexOf("†"),a=(0,Pt.remove)(i,s,s+1),p=(0,Pt.toHTMLString)({value:a,multilineTag:n,preserveWhiteSpace:r});E[e]=p,l.selectionChange(c.clientId,e,s,s)}l.replaceBlocks([c.clientId,p.clientId],[{...c,attributes:{...c.attributes,...E}},...y.slice(1)],0)},un=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=(0,u.castArray)(e);const l=o.getBlockRootClientId(e[0]);o.canRemoveBlocks(e,l)&&(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 dn(e,t){return un([e],t)}function pn(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 mn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function fn(){return{type:"START_TYPING"}}function hn(){return{type:"STOP_TYPING"}}function gn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function vn(){return{type:"STOP_DRAGGING_BLOCKS"}}function bn(){return{type:"ENTER_FORMATTED_TEXT"}}function kn(){return{type:"EXIT_FORMATTED_TEXT"}}function _n(e,t,n,o){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:o}}function yn(e,t,n){const o=(0,r.getDefaultBlockName)();if(!o)return;return nn((0,r.createBlock)(o,e),n,t)}function En(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Cn(e){return{type:"UPDATE_SETTINGS",settings:e}}function wn(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Sn(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function Bn(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}const In=()=>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"})}))},xn=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?(0,Nt.speak)((0,h.__)("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.")):(0,Nt.speak)((0,h.__)("You are currently in edit mode. To return to the navigation mode, press Escape."))}},Tn=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&&(0,Nt.speak)((0,h.__)("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."))}},Nn=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n=>{let{select:o,dispatch:l}=n;if(!e||!e.length)return;const i=o.getBlocksByClientId(e);if((0,u.some)(i,(e=>!e)))return;const s=i.map((e=>e.name));if(s.some((e=>!(0,r.hasBlockSupport)(e,"multiple",!0))))return;const a=o.getBlockRootClientId(e[0]),c=o.getBlockIndex((0,u.last)((0,u.castArray)(e))),d=i.map((e=>(0,r.__experimentalCloneSanitizedBlock)(e)));return l.insertBlocks(d,c+1,a,t),d.length>1&&t&&l.multiSelect((0,u.first)(d).clientId,(0,u.last)(d).clientId),d.map((e=>e.clientId))}},Pn=e=>t=>{let{select:n,dispatch:o}=t;if(!e)return;const r=n.getBlockRootClientId(e);if(n.getTemplateLock(r))return;const l=n.getBlockIndex(e);return o.insertDefaultBlock({},r,l)},Mn=e=>t=>{let{select:n,dispatch:o}=t;if(!e)return;const r=n.getBlockRootClientId(e);if(n.getTemplateLock(r))return;const l=n.getBlockIndex(e);return o.insertDefaultBlock({},r,l+1)};function Rn(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}const Ln=e=>async t=>{let{dispatch:n}=t;n(Rn(e,!0)),await new Promise((e=>setTimeout(e,150))),n(Rn(e,!1))};function An(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}const Dn="core/block-editor",On={reducer:M,selectors:e,actions:t,__experimentalUseThunks:!0},Fn=(0,m.createReduxStore)(Dn,{...On,persist:["preferences"]});(0,m.registerStore)(Dn,{...On,persist:["preferences"]});const zn={name:"",isSelected:!1},Vn=(0,s.createContext)(zn),{Provider:Hn}=Vn;function Un(){return(0,s.useContext)(Vn)}function Gn(){const{isSelected:e,clientId:t,name:n}=Un();return(0,m.useSelect)((o=>{if(e)return!0;const{getBlockName:r,isFirstMultiSelectedBlock:l,getMultiSelectedBlockClientIds:i}=o(Fn);return!!l(t)&&i().every((e=>r(e)===n))}),[t,e,n])}function Wn(e){let{group:t="default",controls:n,children:o,__experimentalShareWithChildBlocks:l=!1}=e;const i=function(e,t){const n=Gn(),{clientId:o}=Un(),l=(0,m.useSelect)((e=>{const{getBlockName:n,hasSelectedInnerBlock:l}=e(Fn),{hasBlockSupport:i}=e(r.store);return t&&i(n(o),"__experimentalExposeControlsToChildren",!1)&&l(o)}),[t,o]);var i;return n?null===(i=f[e])||void 0===i?void 0:i.Fill:l?f.parent.Fill:null}(t,l);return i?(0,s.createElement)(p.__experimentalStyleProvider,{document:document},(0,s.createElement)(i,null,(e=>{const r=(0,u.isEmpty)(e)?null:e;return(0,s.createElement)(p.__experimentalToolbarContext.Provider,{value:r},"default"===t&&(0,s.createElement)(p.ToolbarGroup,{controls:n}),o)}))):null}function $n(e){let{group:t="default",...n}=e;const o=(0,s.useContext)(p.__experimentalToolbarContext),r=f[t].Slot,l=(0,p.__experimentalUseSlot)(r.__unstableName);return Boolean(l.fills&&l.fills.length)?"default"===t?(0,s.createElement)(r,i({},n,{bubblesVirtually:!0,fillProps:o})):(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(r,i({},n,{bubblesVirtually:!0,fillProps:o}))):null}const jn=Wn;jn.Slot=$n;const Kn=e=>(0,s.createElement)(Wn,i({group:"inline"},e));Kn.Slot=e=>(0,s.createElement)($n,i({group:"inline"},e));var qn=jn;var Yn=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"}));var Xn=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"}));var Qn=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M7 9v6h10V9H7zM5 19.8h14v-1.5H5v1.5zM5 4.3v1.5h14V4.3H5z"}));var Zn=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"}));var Jn=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"}));var eo=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"}));var to=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"}));var no=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M20 9h-7.2V4h-1.6v5H4v6h7.2v5h1.6v-5H20z"}));var oo=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"}));var ro=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"}));var lo=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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 io=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));function so(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.split(",").map((e=>`.editor-styles-wrapper ${e} ${t}`)).join(",")}const ao=["color","border","typography","spacing"],co={"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},uo={"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 po(e){const{name:t}=Un(),n=(0,m.useSelect)((n=>{var o;if(ao.includes(e))return void console.warn("Top level useSetting paths are disabled. Please use a subpath to query the information needed.");const l=n(Fn).getSettings(),i=(e=>uo[e]||e)(e),s=`__experimentalFeatures.${i}`,a=`__experimentalFeatures.blocks.${t}.${i}`,c=null!==(o=(0,u.get)(l,a))&&void 0!==o?o:(0,u.get)(l,s);var d,p;if(void 0!==c)return r.__EXPERIMENTAL_PATHS_WITH_MERGE[i]?null!==(d=null!==(p=c.custom)&&void 0!==p?p:c.theme)&&void 0!==d?d:c.default:c;const m=co[i]?co[i](l):void 0;return void 0!==m?m:"typography.dropCap"===i||void 0}),[t,e]);return n}const mo={left:to,center:no,right:oo,"space-between":ro};var fo=function(e){let{allowedControls:t=["left","center","right","space-between"],isCollapsed:n=!0,onChange:o,value:r,popoverProps:l,isToolbar:a}=e;const c=e=>{o(e===r?void 0:e)},u=r?mo[r]:mo.left,d=[{name:"left",icon:to,title:(0,h.__)("Justify items left"),isActive:"left"===r,onClick:()=>c("left")},{name:"center",icon:no,title:(0,h.__)("Justify items center"),isActive:"center"===r,onClick:()=>c("center")},{name:"right",icon:oo,title:(0,h.__)("Justify items right"),isActive:"right"===r,onClick:()=>c("right")},{name:"space-between",icon:ro,title:(0,h.__)("Space between items"),isActive:"space-between"===r,onClick:()=>c("space-between")}],m=a?p.ToolbarGroup:p.ToolbarDropdownMenu,f=a?{isCollapsed:n}:{};return(0,s.createElement)(m,i({icon:u,popoverProps:l,label:(0,h.__)("Change items justification"),controls:d.filter((e=>t.includes(e.name)))},f))};function ho(e){return(0,s.createElement)(fo,i({},e,{isToolbar:!1}))}function go(e){return(0,s.createElement)(fo,i({},e,{isToolbar:!0}))}const vo={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},bo={left:"flex-start",right:"flex-end",center:"center"},ko=["wrap","nowrap"];var _o={name:"flex",label:(0,h.__)("Flex"),inspectorControls:function(e){let{layout:t={},onChange:n}=e;const{allowOrientation:o=!0}=t;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.Flex,null,(0,s.createElement)(p.FlexItem,null,(0,s.createElement)(yo,{layout:t,onChange:n})),(0,s.createElement)(p.FlexItem,null,o&&(0,s.createElement)(Co,{layout:t,onChange:n}))),(0,s.createElement)(Eo,{layout:t,onChange:n}))},toolBarControls:function(e){let{layout:t={},onChange:n,layoutBlockSupport:o}=e;return null!=o&&o.allowSwitching?null:(0,s.createElement)(qn,{group:"block",__experimentalShareWithChildBlocks:!0},(0,s.createElement)(yo,{layout:t,onChange:n,isToolbar:!0}))},save:function(e){var t,n;let{selector:o,layout:r,style:l}=e;const{orientation:i="horizontal"}=r,a=null!==po("spacing.blockGap"),c=null!==(t=null==l||null===(n=l.spacing)||void 0===n?void 0:n.blockGap)&&void 0!==t?t:"var( --wp--style--block-gap, 0.5em )",u=vo[r.justifyContent]||vo.left,d=ko.includes(r.flexWrap)?r.flexWrap:"wrap",p=`\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t\tjustify-content: ${u};\n\t\t`,m=`\n\t\tflex-direction: column;\n\t\talign-items: ${bo[r.justifyContent]||bo.left};\n\t\t`;return(0,s.createElement)("style",null,`\n\t\t\t\t${so(o)} {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tgap: ${a?c:"0.5em"};\n\t\t\t\t\tflex-wrap: ${d};\n\t\t\t\t\t${"horizontal"===i?p:m}\n\t\t\t\t}\n\n\t\t\t\t${so(o,"> *")} {\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 yo(e){let{layout:t,onChange:n,isToolbar:o=!1}=e;const{justifyContent:r="left",orientation:l="horizontal"}=t,i=e=>{n({...t,justifyContent:e})},a=["left","center","right"];if("horizontal"===l&&a.push("space-between"),o)return(0,s.createElement)(ho,{allowedControls:a,value:r,onChange:i,popoverProps:{position:"bottom right",isAlternate:!0}});const c=[{value:"left",icon:to,label:(0,h.__)("Justify items left")},{value:"center",icon:no,label:(0,h.__)("Justify items center")},{value:"right",icon:oo,label:(0,h.__)("Justify items right")}];return"horizontal"===l&&c.push({value:"space-between",icon:ro,label:(0,h.__)("Space between items")}),(0,s.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-justification-controls"},(0,s.createElement)("legend",null,(0,h.__)("Justification")),(0,s.createElement)("div",null,c.map((e=>{let{value:t,icon:n,label:o}=e;return(0,s.createElement)(p.Button,{key:t,label:o,icon:n,isPressed:r===t,onClick:()=>i(t)})}))))}function Eo(e){let{layout:t,onChange:n}=e;const{flexWrap:o="wrap"}=t;return(0,s.createElement)(p.ToggleControl,{label:(0,h.__)("Allow to wrap to multiple lines"),onChange:e=>{n({...t,flexWrap:e?"wrap":"nowrap"})},checked:"wrap"===o})}function Co(e){let{layout:t,onChange:n}=e;const{orientation:o="horizontal"}=t;return(0,s.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-orientation-controls"},(0,s.createElement)("legend",null,(0,h.__)("Orientation")),(0,s.createElement)(p.Button,{label:"horizontal",icon:lo,isPressed:"horizontal"===o,onClick:()=>n({...t,orientation:"horizontal"})}),(0,s.createElement)(p.Button,{label:"vertical",icon:io,isPressed:"vertical"===o,onClick:()=>n({...t,orientation:"vertical"})}))}var wo=function(e){let{icon:t,size:n=24,...o}=e;return(0,s.cloneElement)(t,{width:n,height:n,...o})},So={name:"default",label:(0,h.__)("Flow"),inspectorControls:function(e){let{layout:t,onChange:n}=e;const{wideSize:o,contentSize:r}=t,l=(0,p.__experimentalUseCustomUnits)({availableUnits:po("spacing.units")||["%","px","em","rem","vw"]});return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"block-editor-hooks__layout-controls"},(0,s.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},(0,s.createElement)(p.__experimentalUnitControl,{label:(0,h.__)("Content"),labelPosition:"top",__unstableInputWidth:"80px",value:r||o||"",onChange:e=>{e=0>parseFloat(e)?"0":e,n({...t,contentSize:e})},units:l}),(0,s.createElement)(wo,{icon:Qn})),(0,s.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},(0,s.createElement)(p.__experimentalUnitControl,{label:(0,h.__)("Wide"),labelPosition:"top",__unstableInputWidth:"80px",value:o||r||"",onChange:e=>{e=0>parseFloat(e)?"0":e,n({...t,wideSize:e})},units:l}),(0,s.createElement)(wo,{icon:Jn}))),(0,s.createElement)("div",{className:"block-editor-hooks__layout-controls-reset"},(0,s.createElement)(p.Button,{variant:"secondary",isSmall:!0,disabled:!r&&!o,onClick:()=>n({contentSize:void 0,wideSize:void 0,inherit:!1})},(0,h.__)("Reset"))),(0,s.createElement)("p",{className:"block-editor-hooks__layout-controls-helptext"},(0,h.__)("Customize the width for all elements that are assigned to the center or wide columns.")))},toolBarControls:function(){return null},save:function(e){var t,n;let{selector:o,layout:r={},style:l}=e;const{contentSize:i,wideSize:a}=r,c=null!==po("spacing.blockGap"),u=null!==(t=null==l||null===(n=l.spacing)||void 0===n?void 0:n.blockGap)&&void 0!==t?t:"var( --wp--style--block-gap )";let d=i||a?`\n\t\t\t\t\t${so(o,"> *")} {\n\t\t\t\t\t\tmax-width: ${null!=i?i:a};\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${so(o,'> [data-align="wide"]')}  {\n\t\t\t\t\t\tmax-width: ${null!=a?a:i};\n\t\t\t\t\t}\n\n\t\t\t\t\t${so(o,'> [data-align="full"]')} {\n\t\t\t\t\t\tmax-width: none;\n\t\t\t\t\t}\n\t\t\t\t`:"";return d+=`\n\t\t\t${so(o,'> [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${so(o,'> [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&&(d+=`\n\t\t\t\t${so(o,"> *")} {\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${so(o,"> * + *")} {\n\t\t\t\t\tmargin-top: ${u};\n\t\t\t\t}\n\t\t\t`),(0,s.createElement)("style",null,d)},getOrientation:()=>"vertical",getAlignments(e){const t=function(e){const{contentSize:t,wideSize:n}=e,o={},r=/^(?!0)\d+(px|em|rem|vw|vh|%)?$/i;r.test(t)&&(o.none=(0,h.sprintf)((0,h.__)("Max %s wide"),t));r.test(n)&&(o.wide=(0,h.sprintf)((0,h.__)("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,r=[{name:"left"},{name:"center"},{name:"right"}];return n&&r.unshift({name:"full"}),o&&r.unshift({name:"wide",info:t.wide}),r.unshift({name:"none",info:t.none}),r}};const Bo=[So,_o];function Io(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return Bo.find((t=>t.name===e))}const xo={type:"default"},To=(0,s.createContext)(xo),No=To.Provider;function Po(){return(0,s.useContext)(To)}function Mo(e){let{layout:t={},...n}=e;const o=Io(t.type);return o?(0,s.createElement)(o.save,i({layout:t},n)):null}const Ro=["none","left","center","right","wide","full"],Lo=["wide","full"];function Ao(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ro;e.includes("none")||(e=["none",...e]);const{wideControlsEnabled:t=!1,themeSupportsLayout:n}=(0,m.useSelect)((e=>{const{getSettings:t}=e(Fn),n=t();return{wideControlsEnabled:n.alignWide,themeSupportsLayout:n.supportsLayout}}),[]),o=Po(),r=Io(null==o?void 0:o.type),l=r.getAlignments(o);if(n){const t=l.filter((t=>{let{name:n}=t;return e.includes(n)}));return 1===t.length&&"none"===t[0].name?[]:t}if("default"!==r.name)return[];const{alignments:i=Ro}=o,s=e.filter((e=>(o.alignments||t||!Lo.includes(e))&&i.includes(e))).map((e=>({name:e})));return 1===s.length&&"none"===s[0].name?[]:s}const Do={none:{icon:Yn,title:(0,h.__)("None")},left:{icon:Xn,title:(0,h.__)("Align left")},center:{icon:Qn,title:(0,h.__)("Align center")},right:{icon:Zn,title:(0,h.__)("Align right")},wide:{icon:Jn,title:(0,h.__)("Wide width")},full:{icon:eo,title:(0,h.__)("Full width")}},Oo={isAlternate:!0};var Fo=function(e){let{value:t,onChange:n,controls:o,isToolbar:r,isCollapsed:l=!0}=e;const a=Ao(o);if(!!!a.length)return null;function u(e){n([t,"none"].includes(e)?void 0:e)}const d=Do[t],m=Do.none,f=r?p.ToolbarGroup:p.ToolbarDropdownMenu,g={popoverProps:Oo,icon:d?d.icon:m.icon,label:(0,h.__)("Align"),toggleProps:{describedBy:(0,h.__)("Change alignment")}},v=r||s.Platform.isNative?{isCollapsed:r?l:void 0,controls:a.map((e=>{let{name:n}=e;return{...Do[n],isActive:t===n||!t&&"none"===n,role:l?"menuitemradio":void 0,onClick:()=>u(n)}}))}:{children:e=>{let{onClose:n}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.MenuGroup,{className:"block-editor-block-alignment-control__menu-group"},a.map((e=>{let{name:o,info:r}=e;const{icon:l,title:i}=Do[o],a=o===t||!t&&"none"===o;return(0,s.createElement)(p.MenuItem,{key:o,icon:l,iconPosition:"left",className:c()("components-dropdown-menu__menu-item",{"is-active":a}),isSelected:a,onClick:()=>{u(o),n()},role:"menuitemradio",info:r},i)}))))}};return(0,s.createElement)(f,i({},g,v))};function zo(e){return(0,s.createElement)(Fo,i({},e,{isToolbar:!1}))}function Vo(e){return(0,s.createElement)(Fo,i({},e,{isToolbar:!0}))}const Ho=["left","center","right","wide","full"],Uo=["wide","full"];function Go(e){let t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?Ho.filter((t=>e.includes(t))):!0===e?[...Ho]:[],!o||!0===e&&!n?(0,u.without)(t,...Uo):t}const Wo=(0,d.createHigherOrderComponent)((e=>t=>{const{name:n}=t,o=Ao(Go((0,r.getBlockSupport)(n,"align"),(0,r.hasBlockSupport)(n,"alignWide",!0))).map((e=>{let{name:t}=e;return t}));return(0,s.createElement)(s.Fragment,null,!!o.length&&(0,s.createElement)(qn,{group:"block",__experimentalShareWithChildBlocks:!0},(0,s.createElement)(zo,{value:t.attributes.align,onChange:e=>{if(!e){var n,o;const l=(0,r.getBlockType)(t.name);(null==l||null===(n=l.attributes)||void 0===n||null===(o=n.align)||void 0===o?void 0:o.default)&&(e="")}t.setAttributes({align:e})},controls:o})),(0,s.createElement)(e,t))}),"withToolbarControls"),$o=(0,d.createHigherOrderComponent)((e=>t=>{const{name:n,attributes:o}=t,{align:l}=o,a=Ao(Go((0,r.getBlockSupport)(n,"align"),(0,r.hasBlockSupport)(n,"alignWide",!0)));if(void 0===l)return(0,s.createElement)(e,t);let c=t.wrapperProps;return a.some((e=>e.name===l))&&(c={...c,"data-align":l}),(0,s.createElement)(e,i({},t,{wrapperProps:c}))}));(0,l.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return(0,u.has)(e.attributes,["align","type"])||(0,r.hasBlockSupport)(e,"align")&&(e.attributes={...e.attributes,align:{type:"string",enum:[...Ho,""]}}),e})),(0,l.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",$o),(0,l.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",Wo),(0,l.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){const{align:o}=n;return Go((0,r.getBlockSupport)(t,"align"),(0,r.hasBlockSupport)(t,"alignWide",!0)).includes(o)&&(e.className=c()(`align${o}`,e.className)),e})),(0,l.addFilter)("blocks.registerBlockType","core/lock/addAttribute",(function(e){return(0,u.has)(e.attributes,["lock","type"])||(e.attributes={...e.attributes,lock:{type:"object"}}),e}));window.wp.warning;var jo={default:(0,p.createSlotFill)("InspectorControls"),advanced:(0,p.createSlotFill)("InspectorAdvancedControls"),dimensions:(0,p.createSlotFill)("InspectorControlsDimensions"),typography:(0,p.createSlotFill)("InspectorControlsTypography")};function Ko(e){var t;let{__experimentalGroup:n="default",children:o}=e;const r=Gn(),l=null===(t=jo[n])||void 0===t?void 0:t.Fill;return l?r?(0,s.createElement)(p.__experimentalStyleProvider,{document:document},(0,s.createElement)(l,null,(e=>{const t=(0,u.isEmpty)(e)?null:e;return(0,s.createElement)(p.__experimentalToolsPanelContext.Provider,{value:t},o)}))):null:("undefined"!=typeof process&&process.env,null)}const qo=e=>{if(!(0,u.isObject)(e)||Array.isArray(e))return e;const t=(0,u.pickBy)((0,u.mapValues)(e,qo),u.identity);return(0,u.isEmpty)(t)?void 0:t};function Yo(e){let{children:t,group:n,label:o}=e;const{attributes:r,clientIds:l,panelId:i}=(0,m.useSelect)((e=>{const{getBlockAttributes:t,getMultiSelectedBlockClientIds:n,getSelectedBlockClientId:o,hasMultiSelection:r}=e(Fn),l=o();if(r()){const e=n(),o=e.reduce(((e,n)=>(e[n]=t(n),e)),{});return{panelId:l,clientIds:e,attributes:o}}return{panelId:l,clientIds:[l],attributes:{[l]:t(l)}}}),[]),{updateBlockAttributes:a}=(0,m.useDispatch)(Fn);return(0,s.createElement)(p.__experimentalToolsPanel,{className:`${n}-block-support-panel`,label:o,resetAll:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t={};l.forEach((n=>{const{style:o}=r[n];let l={style:o};e.forEach((e=>{l={...l,...e(l)}})),l={...l,style:qo(l.style)},t[n]=l})),a(l,t,!0)},key:i,panelId:i,hasInnerWrapper:!0,shouldRenderPlaceholderItems:!0},t)}function Xo(e){let{Slot:t,...n}=e;const o=(0,s.useContext)(p.__experimentalToolsPanelContext);return(0,s.createElement)(t,i({},n,{fillProps:o}))}function Qo(e){var t;let{__experimentalGroup:n="default",bubblesVirtually:o=!0,label:r,...l}=e;const a=null===(t=jo[n])||void 0===t?void 0:t.Slot,c=(0,p.__experimentalUseSlot)(null==a?void 0:a.__unstableName);if(!a||!c)return"undefined"!=typeof process&&process.env,null;return Boolean(c.fills&&c.fills.length)?r?(0,s.createElement)(Yo,{group:n,label:r},(0,s.createElement)(Xo,i({},l,{bubblesVirtually:o,Slot:a}))):(0,s.createElement)(a,i({},l,{bubblesVirtually:o})):null}const Zo=Ko;Zo.Slot=Qo;const Jo=e=>(0,s.createElement)(Ko,i({},e,{__experimentalGroup:"advanced"}));Jo.Slot=e=>(0,s.createElement)(Qo,i({},e,{__experimentalGroup:"advanced"})),Jo.slotName="InspectorAdvancedControls";var er=Zo;const tr=/[\s#]/g;const nr=(0,d.createHigherOrderComponent)((e=>t=>{if((0,r.hasBlockSupport)(t.name,"anchor")&&t.isSelected){const n="web"===s.Platform.OS,o=(0,s.createElement)(p.TextControl,{className:"html-anchor-control",label:(0,h.__)("HTML anchor"),help:(0,s.createElement)(s.Fragment,null,(0,h.__)("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&&(0,s.createElement)(p.ExternalLink,{href:(0,h.__)("https://wordpress.org/support/article/page-jumps/")},(0,h.__)("Learn more about anchors"))),value:t.attributes.anchor||"",placeholder:n?null:(0,h.__)("Add an anchor"),onChange:e=>{e=e.replace(tr,"-"),t.setAttributes({anchor:e})},autoCapitalize:"none",autoComplete:"off"});return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(e,t),n&&(0,s.createElement)(er,{__experimentalGroup:"advanced"},o),!n&&"core/heading"===t.name&&(0,s.createElement)(er,null,(0,s.createElement)(p.PanelBody,{title:(0,h.__)("Heading settings")},o)))}return(0,s.createElement)(e,t)}),"withInspectorControl");(0,l.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return(0,u.has)(e.attributes,["anchor","type"])||(0,r.hasBlockSupport)(e,"anchor")&&(e.attributes={...e.attributes,anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}}),e})),(0,l.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",nr),(0,l.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return(0,r.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));const or=(0,d.createHigherOrderComponent)((e=>t=>(0,r.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?(0,s.createElement)(s.Fragment,null,(0,s.createElement)(e,t),(0,s.createElement)(er,{__experimentalGroup:"advanced"},(0,s.createElement)(p.TextControl,{autoComplete:"off",label:(0,h.__)("Additional CSS class(es)"),value:t.attributes.className||"",onChange:e=>{t.setAttributes({className:""!==e?e:void 0})},help:(0,h.__)("Separate multiple classes with spaces.")}))):(0,s.createElement)(e,t)),"withInspectorControl");(0,l.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return(0,r.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes={...e.attributes,className:{type:"string"}}),e})),(0,l.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",or),(0,l.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return(0,r.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=c()(e.className,n.className)),e})),(0,l.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return(0,r.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=(0,u.uniq)([(0,r.getBlockDefaultClassName)(t.name),...e.className.split(" ")]).join(" ").trim():e.className=(0,r.getBlockDefaultClassName)(t.name)),e}));var rr=window.wp.dom;const lr=(0,s.createContext)({});function ir(e){let{value:t,children:n}=e;const o=(0,s.useContext)(lr),r=(0,s.useMemo)((()=>({...o,...t})),[o,t]);return(0,s.createElement)(lr.Provider,{value:r,children:n})}var sr=lr;const ar={};var cr=(0,p.withFilters)("editor.BlockEdit")((e=>{const{attributes:t={},name:n}=e,o=(0,r.getBlockType)(n),l=(0,s.useContext)(sr),a=(0,s.useMemo)((()=>o&&o.usesContext?(0,u.pick)(l,o.usesContext):ar),[o,l]);if(!o)return null;const d=o.edit||o.save;if(o.apiVersion>1)return(0,s.createElement)(d,i({},e,{context:a}));const p=(0,r.hasBlockSupport)(o,"className",!0)?(0,r.getBlockDefaultClassName)(n):null,m=c()(p,t.className);return(0,s.createElement)(d,i({},e,{context:a,className:m}))}));function ur(e){const{name:t,isSelected:n,clientId:o}=e,r={name:t,isSelected:n,clientId:o};return(0,s.createElement)(Hn,{value:(0,s.useMemo)((()=>r),Object.values(r))},(0,s.createElement)(cr,e))}var dr=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}));var pr=function(e){let{className:t,actions:n,children:o,secondaryActions:r}=e;return(0,s.createElement)("div",{className:c()(t,"block-editor-warning")},(0,s.createElement)("div",{className:"block-editor-warning__contents"},(0,s.createElement)("p",{className:"block-editor-warning__message"},o),(s.Children.count(n)>0||r)&&(0,s.createElement)("div",{className:"block-editor-warning__actions"},s.Children.count(n)>0&&s.Children.map(n,((e,t)=>(0,s.createElement)("span",{key:t,className:"block-editor-warning__action"},e))),r&&(0,s.createElement)(p.DropdownMenu,{className:"block-editor-warning__secondary",icon:dr,label:(0,h.__)("More options"),popoverProps:{position:"bottom left",className:"block-editor-warning__dropdown"},noIcons:!0},(()=>(0,s.createElement)(p.MenuGroup,null,r.map(((e,t)=>(0,s.createElement)(p.MenuItem,{onClick:e.onClick,key:t},e.title)))))))))},mr=n(1973);function fr(e){let{title:t,rawContent:n,renderedContent:o,action:r,actionText:l,className:i}=e;return(0,s.createElement)("div",{className:i},(0,s.createElement)("div",{className:"block-editor-block-compare__content"},(0,s.createElement)("h2",{className:"block-editor-block-compare__heading"},t),(0,s.createElement)("div",{className:"block-editor-block-compare__html"},n),(0,s.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},(0,s.createElement)(s.RawHTML,null,(0,rr.safeHTML)(o)))),(0,s.createElement)("div",{className:"block-editor-block-compare__action"},(0,s.createElement)(p.Button,{variant:"secondary",tabIndex:"0",onClick:r},l)))}var hr=function(e){let{block:t,onKeep:n,onConvert:o,convertor:l,convertButtonText:i}=e;const a=(d=l(t),(0,u.castArray)(d).map((e=>(0,r.getSaveContent)(e.name,e.attributes,e.innerBlocks))).join(""));var d;const p=(m=t.originalContent,f=a,(0,mr.Kx)(m,f).map(((e,t)=>{const n=c()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return(0,s.createElement)("span",{key:t,className:n},e.value)})));var m,f;return(0,s.createElement)("div",{className:"block-editor-block-compare__wrapper"},(0,s.createElement)(fr,{title:(0,h.__)("Current"),className:"block-editor-block-compare__current",action:n,actionText:(0,h.__)("Convert to HTML"),rawContent:t.originalContent,renderedContent:t.originalContent}),(0,s.createElement)(fr,{title:(0,h.__)("After Conversion"),className:"block-editor-block-compare__converted",action:o,actionText:i,rawContent:p,renderedContent:a}))};const gr=e=>(0,r.rawHandler)({HTML:e.originalContent});var vr=(0,d.compose)([(0,m.withSelect)(((e,t)=>{let{clientId:n}=t;return{block:e(Fn).getBlock(n)}})),(0,m.withDispatch)(((e,t)=>{let{block:n}=t;const{replaceBlock:o}=e(Fn);return{convertToClassic(){o(n.clientId,(e=>(0,r.createBlock)("core/freeform",{content:e.originalContent}))(n))},convertToHTML(){o(n.clientId,(e=>(0,r.createBlock)("core/html",{content:e.originalContent}))(n))},convertToBlocks(){o(n.clientId,gr(n))},attemptBlockRecovery(){o(n.clientId,(e=>{let{name:t,attributes:n,innerBlocks:o}=e;return(0,r.createBlock)(t,n,o)})(n))}}}))])((function(e){let{convertToHTML:t,convertToBlocks:n,convertToClassic:o,attemptBlockRecovery:l,block:i}=e;const a=!!(0,r.getBlockType)("core/html"),[c,u]=(0,s.useState)(!1),d=(0,s.useCallback)((()=>u(!0)),[]),m=(0,s.useCallback)((()=>u(!1)),[]),f=(0,s.useMemo)((()=>[{title:(0,h._x)("Resolve","imperative verb"),onClick:d},a&&{title:(0,h.__)("Convert to HTML"),onClick:t},{title:(0,h.__)("Convert to Classic Block"),onClick:o}].filter(Boolean)),[d,t,o]);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(pr,{actions:[(0,s.createElement)(p.Button,{key:"recover",onClick:l,variant:"primary"},(0,h.__)("Attempt Block Recovery"))],secondaryActions:f},(0,h.__)("This block contains unexpected or invalid content.")),c&&(0,s.createElement)(p.Modal,{title:(0,h.__)("Resolve Block"),onRequestClose:m,className:"block-editor-block-compare"},(0,s.createElement)(hr,{block:i,onKeep:t,onConvert:n,convertor:gr,convertButtonText:(0,h.__)("Convert to Blocks")})))}));const br=(0,s.createElement)(pr,{className:"block-editor-block-list__block-crash-warning"},(0,h.__)("This block has encountered an error and cannot be previewed."));var kr=()=>br;class _r extends s.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 yr=_r,Er=n(773);var Cr=function(e){let{clientId:t}=e;const[n,o]=(0,s.useState)(""),l=(0,m.useSelect)((e=>e(Fn).getBlock(t)),[t]),{updateBlock:i}=(0,m.useDispatch)(Fn);return(0,s.useEffect)((()=>{o((0,r.getBlockContent)(l))}),[l]),(0,s.createElement)(Er.Z,{className:"block-editor-block-list__block-html-textarea",value:n,onBlur:()=>{const e=(0,r.getBlockType)(l.name);if(!e)return;const s=(0,r.getBlockAttributes)(e,n,l.attributes),a=n||(0,r.getSaveContent)(e,s),c=!n||(0,r.isValidBlockContent)(e,s,a);i(t,{attributes:s,originalContent:a,isValid:c}),n||o({content:a})},onChange:e=>o(e.target.value)})};let wr=Vr();const Sr=e=>Dr(e,wr);let Br=Vr();Sr.write=e=>Dr(e,Br);let Ir=Vr();Sr.onStart=e=>Dr(e,Ir);let xr=Vr();Sr.onFrame=e=>Dr(e,xr);let Tr=Vr();Sr.onFinish=e=>Dr(e,Tr);let Nr=[];Sr.setTimeout=(e,t)=>{let n=Sr.now()+t,o=()=>{let e=Nr.findIndex((e=>e.cancel==o));~e&&Nr.splice(e,1),Lr-=~e?1:0},r={time:n,handler:e,cancel:o};return Nr.splice(Pr(n),0,r),Lr+=1,Or(),r};let Pr=e=>~(~Nr.findIndex((t=>t.time>e))||~Nr.length);Sr.cancel=e=>{Ir.delete(e),xr.delete(e),wr.delete(e),Br.delete(e),Tr.delete(e)},Sr.sync=e=>{Ar=!0,Sr.batchedUpdates(e),Ar=!1},Sr.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function o(...e){t=e,Sr.onStart(n)}return o.handler=e,o.cancel=()=>{Ir.delete(n),t=null},o};let Mr="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Sr.use=e=>Mr=e,Sr.now="undefined"!=typeof performance?()=>performance.now():Date.now,Sr.batchedUpdates=e=>e(),Sr.catch=console.error,Sr.frameLoop="always",Sr.advance=()=>{"demand"!==Sr.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):zr()};let Rr=-1,Lr=0,Ar=!1;function Dr(e,t){Ar?(t.delete(e),e(0)):(t.add(e),Or())}function Or(){Rr<0&&(Rr=0,"demand"!==Sr.frameLoop&&Mr(Fr))}function Fr(){~Rr&&(Mr(Fr),Sr.batchedUpdates(zr))}function zr(){let e=Rr;Rr=Sr.now();let t=Pr(Rr);t&&(Hr(Nr.splice(0,t),(e=>e.handler())),Lr-=t),Ir.flush(),wr.flush(e?Math.min(64,Rr-e):16.667),xr.flush(),Br.flush(),Tr.flush(),Lr||(Rr=-1)}function Vr(){let e=new Set,t=e;return{add(n){Lr+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Lr-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Lr-=t.size,Hr(t,(t=>t(n)&&e.add(t))),Lr+=e.size,t=e)}}}function Hr(e,t){e.forEach((e=>{try{t(e)}catch(e){Sr.catch(e)}}))}var Ur=n(9196),Gr=n.n(Ur);function Wr(){}const $r={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 jr(e,t){if($r.arr(e)){if(!$r.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const Kr=(e,t)=>e.forEach(t);function qr(e,t,n){if($r.arr(e))for(let o=0;o<e.length;o++)t.call(n,e[o],`${o}`);else for(const o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o)}const Yr=e=>$r.und(e)?[]:$r.arr(e)?e:[e];function Xr(e,t){if(e.size){const n=Array.from(e);e.clear(),Kr(n,t)}}const Qr=(e,...t)=>Xr(e,(e=>e(...t))),Zr=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let Jr,el,tl=null,nl=!1,ol=Wr;var rl=Object.freeze({__proto__:null,get createStringInterpolator(){return Jr},get to(){return el},get colors(){return tl},get skipAnimation(){return nl},get willAdvance(){return ol},assign:e=>{e.to&&(el=e.to),e.now&&(Sr.now=e.now),void 0!==e.colors&&(tl=e.colors),null!=e.skipAnimation&&(nl=e.skipAnimation),e.createStringInterpolator&&(Jr=e.createStringInterpolator),e.requestAnimationFrame&&Sr.use(e.requestAnimationFrame),e.batchedUpdates&&(Sr.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ol=e.willAdvance),e.frameLoop&&(Sr.frameLoop=e.frameLoop)}});const ll=new Set;let il=[],sl=[],al=0;const cl={get idle(){return!ll.size&&!il.length},start(e){al>e.priority?(ll.add(e),Sr.onStart(ul)):(dl(e),Sr(ml))},advance:ml,sort(e){if(al)Sr.onFrame((()=>cl.sort(e)));else{const t=il.indexOf(e);~t&&(il.splice(t,1),pl(e))}},clear(){il=[],ll.clear()}};function ul(){ll.forEach(dl),ll.clear(),Sr(ml)}function dl(e){il.includes(e)||pl(e)}function pl(e){il.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(il,(t=>t.priority>e.priority)),0,e)}function ml(e){const t=sl;for(let n=0;n<il.length;n++){const o=il[n];al=o.priority,o.idle||(ol(o),o.advance(e),o.idle||t.push(o))}return al=0,sl=il,sl.length=0,il=t,il.length>0}const fl="[-+]?\\d*\\.?\\d+",hl=fl+"%";function gl(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const vl=new RegExp("rgb"+gl(fl,fl,fl)),bl=new RegExp("rgba"+gl(fl,fl,fl,fl)),kl=new RegExp("hsl"+gl(fl,hl,hl)),_l=new RegExp("hsla"+gl(fl,hl,hl,fl)),yl=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,El=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Cl=/^#([0-9a-fA-F]{6})$/,wl=/^#([0-9a-fA-F]{8})$/;function Sl(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 Bl(e,t,n){const o=n<.5?n*(1+t):n+t-n*t,r=2*n-o,l=Sl(r,o,e+1/3),i=Sl(r,o,e),s=Sl(r,o,e-1/3);return Math.round(255*l)<<24|Math.round(255*i)<<16|Math.round(255*s)<<8}function Il(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function xl(e){return(parseFloat(e)%360+360)%360/360}function Tl(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Nl(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Pl(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Cl.exec(e))?parseInt(t[1]+"ff",16)>>>0:tl&&void 0!==tl[e]?tl[e]:(t=vl.exec(e))?(Il(t[1])<<24|Il(t[2])<<16|Il(t[3])<<8|255)>>>0:(t=bl.exec(e))?(Il(t[1])<<24|Il(t[2])<<16|Il(t[3])<<8|Tl(t[4]))>>>0:(t=yl.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=wl.exec(e))?parseInt(t[1],16)>>>0:(t=El.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=kl.exec(e))?(255|Bl(xl(t[1]),Nl(t[2]),Nl(t[3])))>>>0:(t=_l.exec(e))?(Bl(xl(t[1]),Nl(t[2]),Nl(t[3]))|Tl(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 Ml=(e,t,n)=>{if($r.fun(e))return e;if($r.arr(e))return Ml({range:e,output:t,extrapolate:n});if($r.str(e.output[0]))return Jr(e);const o=e,r=o.output,l=o.range||[0,1],i=o.extrapolateLeft||o.extrapolate||"extend",s=o.extrapolateRight||o.extrapolate||"extend",a=o.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,l);return function(e,t,n,o,r,l,i,s,a){let c=a?a(e):e;if(c<t){if("identity"===i)return c;"clamp"===i&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(o===r)return o;if(t===n)return e<=t?o:r;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=l(c),o===-1/0?c=-c:r===1/0?c+=o:c=c*(r-o)+o;return c}(e,l[t],l[t+1],r[t],r[t+1],a,i,s,o.map)}};function Rl(){return Rl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Rl.apply(this,arguments)}const Ll=Symbol.for("FluidValue.get"),Al=Symbol.for("FluidValue.observers"),Dl=e=>Boolean(e&&e[Ll]),Ol=e=>e&&e[Ll]?e[Ll]():e,Fl=e=>e[Al]||null;function zl(e,t){let n=e[Al];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}class Vl{constructor(e){if(this[Ll]=void 0,this[Al]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");Hl(this,e)}}const Hl=(e,t)=>Wl(e,Ll,t);function Ul(e,t){if(e[Ll]){let n=e[Al];n||Wl(e,Al,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Gl(e,t){let n=e[Al];if(n&&n.has(t)){const o=n.size-1;o?n.delete(t):e[Al]=null,e.observerRemoved&&e.observerRemoved(o,t)}}const Wl=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),$l=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,jl=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Kl=new RegExp(`(${$l.source})(%|[a-z]+)`,"i"),ql=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Yl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Xl=e=>{const[t,n]=Ql(e);if(!t||Zr())return e;const o=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(o)return o.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Yl.test(n)?Xl(n):n||e},Ql=e=>{const t=Yl.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]};let Zl;const Jl=(e,t,n,o,r)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(o)}, ${r})`,ei=e=>{Zl||(Zl=tl?new RegExp(`(${Object.keys(tl).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Ol(e).replace(Yl,Xl).replace(jl,Pl).replace(Zl,Pl))),n=t.map((e=>e.match($l).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]})))),r=o.map((t=>Ml(Rl({},e,{output:t}))));return e=>{var n;const o=!Kl.test(t[0])&&(null==(n=t.find((e=>Kl.test(e))))?void 0:n.replace($l,""));let l=0;return t[0].replace($l,(()=>`${r[l++](e)}${o||""}`)).replace(ql,Jl)}},ti="react-spring: ",ni=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${ti}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},oi=ni(console.warn);const ri=ni(console.warn);function li(e){return $r.str(e)&&("#"==e[0]||/\d/.test(e)||!Zr()&&Yl.test(e)||e in(tl||{}))}const ii=e=>(0,Ur.useEffect)(e,si),si=[];function ai(){const e=(0,Ur.useState)()[1],t=(0,Ur.useState)(ci)[0];return ii(t.unmount),()=>{t.current&&e({})}}function ci(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function ui(e){const t=(0,Ur.useRef)();return(0,Ur.useEffect)((()=>{t.current=e})),t.current}const di="undefined"!=typeof window&&window.document&&window.document.createElement?Ur.useLayoutEffect:Ur.useEffect,pi=Symbol.for("Animated:node"),mi=e=>e&&e[pi],fi=(e,t)=>{return n=e,o=pi,r=t,Object.defineProperty(n,o,{value:r,writable:!0,configurable:!0});var n,o,r},hi=e=>e&&e[pi]&&e[pi].getPayload();class gi{constructor(){this.payload=void 0,fi(this,this)}getPayload(){return this.payload||[]}}class vi extends gi{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,$r.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new vi(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return $r.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,$r.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class bi extends vi{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=Ml({output:[e,e]})}static create(e){return new bi(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if($r.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=Ml({output:[this.getValue(),e]})),this._value=0,super.reset()}}const ki={dependencies:null};class _i extends gi{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return qr(this.source,((n,o)=>{var r;(r=n)&&r[pi]===r?t[o]=n.getValue(e):Dl(n)?t[o]=Ol(n):e||(t[o]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Kr(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return qr(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){ki.dependencies&&Dl(e)&&ki.dependencies.add(e);const t=hi(e);t&&Kr(t,(e=>this.add(e)))}}class yi extends _i{constructor(e){super(e)}static create(e){return new yi(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(Ei)),!0)}}function Ei(e){return(li(e)?bi:vi).create(e)}function Ci(e){const t=mi(e);return t?t.constructor:$r.arr(e)?yi:li(e)?bi:vi}function wi(){return wi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},wi.apply(this,arguments)}const Si=(e,t)=>{const n=!$r.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,Ur.forwardRef)(((o,r)=>{const l=(0,Ur.useRef)(null),i=n&&(0,Ur.useCallback)((e=>{l.current=function(e,t){e&&($r.fun(e)?e(t):e.current=t);return t}(r,e)}),[r]),[s,a]=function(e,t){const n=new Set;ki.dependencies=n,e.style&&(e=wi({},e,{style:t.createAnimatedStyle(e.style)}));return e=new _i(e),ki.dependencies=null,[e,n]}(o,t),c=ai(),u=()=>{const e=l.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&c()},d=new Bi(u,a),p=(0,Ur.useRef)();di((()=>{const e=p.current;p.current=d,Kr(a,(e=>Ul(e,d))),e&&(Kr(e.deps,(t=>Gl(t,e))),Sr.cancel(e.update))})),(0,Ur.useEffect)(u,[]),ii((()=>()=>{const e=p.current;Kr(e.deps,(t=>Gl(t,e)))}));const m=t.getComponentProps(s.getValue());return Ur.createElement(e,wi({},m,{ref:i}))}))};class Bi{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&Sr.write(this.update)}}const Ii=Symbol.for("AnimatedComponent"),xi=e=>$r.str(e)?e:e&&$r.str(e.displayName)?e.displayName:$r.fun(e)&&e.name||null;function Ti(){return Ti=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ti.apply(this,arguments)}function Ni(e,...t){return $r.fun(e)?e(...t):e}const Pi=(e,t)=>!0===e||!!(t&&e&&($r.fun(e)?e(t):Yr(e).includes(t))),Mi=(e,t)=>$r.obj(e)?t&&e[t]:e,Ri=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Li=e=>e,Ai=(e,t=Li)=>{let n=Di;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const o={};for(const r of n){const n=t(e[r],r);$r.und(n)||(o[r]=n)}return o},Di=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Oi={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 Fi(e){const t=function(e){const t={};let n=0;if(qr(e,((e,o)=>{Oi[o]||(t[o]=e,n++)})),n)return t}(e);if(t){const n={to:t};return qr(e,((e,o)=>o in t||(n[o]=e))),n}return Ti({},e)}function zi(e){return e=Ol(e),$r.arr(e)?e.map(zi):li(e)?rl.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Vi(e){for(const t in e)return!0;return!1}function Hi(e){return $r.fun(e)||$r.arr(e)&&$r.obj(e[0])}function Ui(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function Gi(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const Wi=1.70158,$i=1.525*Wi,ji=Wi+1,Ki=2*Math.PI/3,qi=2*Math.PI/4.5,Yi=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},Xi={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>ji*e*e*e-Wi*e*e,easeOutBack:e=>1+ji*Math.pow(e-1,3)+Wi*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-$i)/2:(Math.pow(2*e-2,2)*(($i+1)*(2*e-2)+$i)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Ki),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Ki)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*qi)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*qi)/2+1,easeInBounce:e=>1-Yi(1-e),easeOutBounce:Yi,easeInOutBounce:e=>e<.5?(1-Yi(1-2*e))/2:(1+Yi(2*e-1))/2},Qi=Ti({},{tension:170,friction:26},{mass:1,damping:1,easing:Xi.linear,clamp:!1});class Zi{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,Qi)}}function Ji(e,t){if($r.und(t.decay)){const n=!$r.und(t.tension)||!$r.und(t.friction);!n&&$r.und(t.frequency)&&$r.und(t.damping)&&$r.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const es=[];class ts{constructor(){this.changed=!1,this.values=es,this.toValues=null,this.fromValues=es,this.to=void 0,this.from=void 0,this.config=new Zi,this.immediate=!1}}function ns(e,{key:t,props:n,defaultProps:o,state:r,actions:l}){return new Promise(((i,s)=>{var a;let c,u,d=Pi(null!=(a=n.cancel)?a:null==o?void 0:o.cancel,t);if(d)f();else{$r.und(n.pause)||(r.paused=Pi(n.pause,t));let e=null==o?void 0:o.pause;!0!==e&&(e=r.paused||Pi(e,t)),c=Ni(n.delay||0,t),e?(r.resumeQueue.add(m),l.pause()):(l.resume(),m())}function p(){r.resumeQueue.add(m),r.timeouts.delete(u),u.cancel(),c=u.time-Sr.now()}function m(){c>0&&!rl.skipAnimation?(r.delayed=!0,u=Sr.setTimeout(f,c),r.pauseQueue.add(p),r.timeouts.add(u)):f()}function f(){r.delayed&&(r.delayed=!1),r.pauseQueue.delete(p),r.timeouts.delete(u),e<=(r.cancelId||0)&&(d=!0);try{l.start(Ti({},n,{callId:e,cancel:d}),i)}catch(e){s(e)}}}))}const os=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?is(e.get()):t.every((e=>e.noop))?rs(e.get()):ls(e.get(),t.every((e=>e.finished))),rs=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ls=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),is=e=>({value:e,cancelled:!0,finished:!1});function ss(e,t,n,o){const{callId:r,parentId:l,onRest:i}=t,{asyncTo:s,promise:a}=n;return l||e!==s||t.reset?n.promise=(async()=>{n.asyncId=r,n.asyncTo=e;const c=Ai(t,((e,t)=>"onRest"===t?void 0:e));let u,d;const p=new Promise(((e,t)=>(u=e,d=t))),m=e=>{const t=r<=(n.cancelId||0)&&is(o)||r!==n.asyncId&&ls(o,!1);if(t)throw e.result=t,d(e),e},f=(e,t)=>{const l=new cs,i=new us;return(async()=>{if(rl.skipAnimation)throw as(n),i.result=ls(o,!1),d(i),i;m(l);const s=$r.obj(e)?Ti({},e):Ti({},t,{to:e});s.parentId=r,qr(c,((e,t)=>{$r.und(s[t])&&(s[t]=e)}));const a=await o.start(s);return m(l),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),a})()};let h;if(rl.skipAnimation)return as(n),ls(o,!1);try{let t;t=$r.arr(e)?(async e=>{for(const t of e)await f(t)})(e):Promise.resolve(e(f,o.stop.bind(o))),await Promise.all([t.then(u),p]),h=ls(o.get(),!0,!1)}catch(e){if(e instanceof cs)h=e.result;else{if(!(e instanceof us))throw e;h=e.result}}finally{r==n.asyncId&&(n.asyncId=l,n.asyncTo=l?s:void 0,n.promise=l?a:void 0)}return $r.fun(i)&&Sr.batchedUpdates((()=>{i(h,o,o.item)})),h})():a}function as(e,t){Xr(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class cs 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 us extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const ds=e=>e instanceof ms;let ps=1;class ms extends Vl{constructor(...e){super(...e),this.id=ps++,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=mi(this);return e&&e.getValue()}to(...e){return rl.to(this,e)}interpolate(...e){return oi(`${ti}The "interpolate" function is deprecated in v9 (use "to" instead)`),rl.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){zl(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||cl.sort(this),zl(this,{type:"priority",parent:this,priority:e})}}const fs=Symbol.for("SpringPhase"),hs=e=>(1&e[fs])>0,gs=e=>(2&e[fs])>0,vs=e=>(4&e[fs])>0,bs=(e,t)=>t?e[fs]|=3:e[fs]&=-3,ks=(e,t)=>t?e[fs]|=4:e[fs]&=-5;class _s extends ms{constructor(e,t){if(super(),this.key=void 0,this.animation=new ts,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!$r.und(e)||!$r.und(t)){const n=$r.obj(e)?Ti({},e):Ti({},t,{from:e});$r.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(gs(this)||this._state.asyncTo)||vs(this)}get goal(){return Ol(this.animation.to)}get velocity(){const e=mi(this);return e instanceof vi?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return hs(this)}get isAnimating(){return gs(this)}get isPaused(){return vs(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const o=this.animation;let{config:r,toValues:l}=o;const i=hi(o.to);!i&&Dl(o.to)&&(l=Yr(Ol(o.to))),o.values.forEach(((s,a)=>{if(s.done)return;const c=s.constructor==bi?1:i?i[a].lastPosition:l[a];let u=o.immediate,d=c;if(!u){if(d=s.lastPosition,r.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=o.fromValues[a],l=null!=s.v0?s.v0:s.v0=$r.arr(r.velocity)?r.velocity[a]:r.velocity;let i;if($r.und(r.duration))if(r.decay){const e=!0===r.decay?.998:r.decay,o=Math.exp(-(1-e)*t);d=n+l/(1-e)*(1-o),u=Math.abs(s.lastPosition-d)<.1,i=l*o}else{i=null==s.lastVelocity?l:s.lastVelocity;const t=r.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n))),o=r.restVelocity||t/10,a=r.clamp?0:r.bounce,p=!$r.und(a),m=n==c?s.v0>0:n<c;let f,h=!1;const g=1,v=Math.ceil(e/g);for(let e=0;e<v&&(f=Math.abs(i)>o,f||(u=Math.abs(c-d)<=t,!u));++e){p&&(h=d==c||d>c==m,h&&(i=-i*a,d=c));i+=(1e-6*-r.tension*(d-c)+.001*-r.friction*i)/r.mass*g,d+=i*g}}else{let o=1;r.duration>0&&(this._memoizedDuration!==r.duration&&(this._memoizedDuration=r.duration,s.durationProgress>0&&(s.elapsedTime=r.duration*s.durationProgress,t=s.elapsedTime+=e)),o=(r.progress||0)+t/this._memoizedDuration,o=o>1?1:o<0?0:o,s.durationProgress=o),d=n+r.easing(o)*(c-n),i=(d-s.lastPosition)/e,u=1==o}s.lastVelocity=i,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}i&&!i[a].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,r.round)&&(n=!0)}));const s=mi(this),a=s.getValue();if(t){const e=Ol(o.to);a===e&&!n||r.decay?n&&r.decay&&this._onChange(a):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(a)}set(e){return Sr.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(gs(this)){const{to:e,config:t}=this.animation;Sr.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 $r.und(e)?(n=this.queue||[],this.queue=[]):n=[$r.obj(e)?e:Ti({},t,{to:e})],Promise.all(n.map((e=>this._update(e)))).then((e=>os(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),as(this._state,e&&this._lastCallId),Sr.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:o}=e;n=$r.obj(n)?n[t]:n,(null==n||Hi(n))&&(n=void 0),o=$r.obj(o)?o[t]:o,null==o&&(o=void 0);const r={to:n,from:o};return hs(this)||(e.reverse&&([n,o]=[o,n]),o=Ol(o),$r.und(o)?mi(this)||this._set(n):this._set(o)),r}_update(e,t){let n=Ti({},e);const{key:o,defaultProps:r}=this;n.default&&Object.assign(r,Ai(n,((e,t)=>/^on/.test(t)?Mi(e,o):e))),Is(this,n,"onProps"),xs(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 i=this._state;return ns(++this._lastCallId,{key:o,props:n,defaultProps:r,state:i,actions:{pause:()=>{vs(this)||(ks(this,!0),Qr(i.pauseQueue),xs(this,"onPause",ls(this,ys(this,this.animation.to)),this))},resume:()=>{vs(this)&&(ks(this,!1),gs(this)&&this._resume(),Qr(i.resumeQueue),xs(this,"onResume",ls(this,ys(this,this.animation.to)),this))},start:this._merge.bind(this,l)}}).then((e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=Es(n);if(e)return this._update(e,!0)}return e}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(is(this));const o=!$r.und(e.to),r=!$r.und(e.from);if(o||r){if(!(t.callId>this._lastToId))return n(is(this));this._lastToId=t.callId}const{key:l,defaultProps:i,animation:s}=this,{to:a,from:c}=s;let{to:u=a,from:d=c}=e;!r||o||t.default&&!$r.und(u)||(u=d),t.reverse&&([u,d]=[d,u]);const p=!jr(d,c);p&&(s.from=d),d=Ol(d);const m=!jr(u,a);m&&this._focus(u);const f=Hi(t.to),{config:h}=s,{decay:g,velocity:v}=h;(o||r)&&(h.velocity=0),t.config&&!f&&function(e,t,n){n&&(Ji(n=Ti({},n),t),t=Ti({},n,t)),Ji(e,t),Object.assign(e,t);for(const t in Qi)null==e[t]&&(e[t]=Qi[t]);let{mass:o,frequency:r,damping:l}=e;$r.und(r)||(r<.01&&(r=.01),l<0&&(l=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*l*o/r)}(h,Ni(t.config,l),t.config!==i.config?Ni(i.config,l):void 0);let b=mi(this);if(!b||$r.und(u))return n(ls(this,!0));const k=$r.und(t.reset)?r&&!t.default:!$r.und(d)&&Pi(t.reset,l),_=k?d:this.get(),y=zi(u),E=$r.num(y)||$r.arr(y)||li(y),C=!f&&(!E||Pi(i.immediate||t.immediate,l));if(m){const e=Ci(u);if(e!==b.constructor){if(!C)throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`);b=this._set(y)}}const w=b.constructor;let S=Dl(u),B=!1;if(!S){const e=k||!hs(this)&&p;(m||e)&&(B=jr(zi(_),y),S=!B),(jr(s.immediate,C)||C)&&jr(h.decay,g)&&jr(h.velocity,v)||(S=!0)}if(B&&gs(this)&&(s.changed&&!k?S=!0:S||this._stop(a)),!f&&((S||Dl(a))&&(s.values=b.getPayload(),s.toValues=Dl(u)?null:w==bi?[1]:Yr(y)),s.immediate!=C&&(s.immediate=C,C||k||this._set(a)),S)){const{onRest:e}=s;Kr(Bs,(e=>Is(this,t,e)));const o=ls(this,ys(this,a));Qr(this._pendingCalls,o),this._pendingCalls.add(n),s.changed&&Sr.batchedUpdates((()=>{s.changed=!k,null==e||e(o,this),k?Ni(i.onRest,o):null==s.onStart||s.onStart(o,this)}))}k&&this._set(_),f?n(ss(t.to,t,this._state,this)):S?this._start():gs(this)&&!m?this._pendingCalls.add(n):n(rs(_))}_focus(e){const t=this.animation;e!==t.to&&(Fl(this)&&this._detach(),t.to=e,Fl(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Dl(t)&&(Ul(t,this),ds(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Dl(e)&&Gl(e,this)}_set(e,t=!0){const n=Ol(e);if(!$r.und(n)){const e=mi(this);if(!e||!jr(n,e.getValue())){const o=Ci(n);e&&e.constructor==o?e.setValue(n):fi(this,o.create(n)),e&&Sr.batchedUpdates((()=>{this._onChange(n,t)}))}}return mi(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,xs(this,"onStart",ls(this,ys(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ni(this.animation.onChange,e,this)),Ni(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;mi(this).reset(Ol(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),gs(this)||(bs(this,!0),vs(this)||this._resume())}_resume(){rl.skipAnimation?this.finish():cl.start(this)}_stop(e,t){if(gs(this)){bs(this,!1);const n=this.animation;Kr(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),zl(this,{type:"idle",parent:this});const o=t?is(this.get()):ls(this.get(),ys(this,null!=e?e:n.to));Qr(this._pendingCalls,o),n.changed&&(n.changed=!1,xs(this,"onRest",o,this))}}}function ys(e,t){const n=zi(t);return jr(zi(e.get()),n)}function Es(e,t=e.loop,n=e.to){let o=Ni(t);if(o){const r=!0!==o&&Fi(o),l=(r||e).reverse,i=!r||r.reset;return Cs(Ti({},e,{loop:t,default:!1,pause:void 0,to:!l||Hi(n)?n:void 0,from:i?e.from:void 0,reset:i},r))}}function Cs(e){const{to:t,from:n}=e=Fi(e),o=new Set;return $r.obj(t)&&Ss(t,o),$r.obj(n)&&Ss(n,o),e.keys=o.size?Array.from(o):null,e}function ws(e){const t=Cs(e);return $r.und(t.default)&&(t.default=Ai(t)),t}function Ss(e,t){qr(e,((e,n)=>null!=e&&t.add(n)))}const Bs=["onStart","onRest","onChange","onPause","onResume"];function Is(e,t,n){e.animation[n]=t[n]!==Ri(t,n)?Mi(t[n],e.key):void 0}function xs(e,t,...n){var o,r,l,i;null==(o=(r=e.animation)[t])||o.call(r,...n),null==(l=(i=e.defaultProps)[t])||l.call(i,...n)}const Ts=["onStart","onChange","onRest"];let Ns=1;class Ps{constructor(e,t){this.id=Ns++,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(Ti({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}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];$r.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Cs(e)),this}start(e){let{queue:t}=this;return e?t=Yr(e).map(Cs):this.queue=[],this._flush?this._flush(this,t):(Fs(this,t),Ms(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Kr(Yr(t),(t=>n[t].stop(!!e)))}else as(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if($r.und(e))this.start({pause:!0});else{const t=this.springs;Kr(Yr(e),(e=>t[e].pause()))}return this}resume(e){if($r.und(e))this.start({pause:!1});else{const t=this.springs;Kr(Yr(e),(e=>t[e].resume()))}return this}each(e){qr(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,o=this._active.size>0,r=this._changed.size>0;(o&&!this._started||r&&!this._started)&&(this._started=!0,Xr(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const l=!o&&this._started,i=r||l&&n.size?this.get():null;r&&t.size&&Xr(t,(([e,t])=>{t.value=i,e(t,this,this._item)})),l&&(this._started=!1,Xr(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)}Sr.onFrame(this._onFrame)}}function Ms(e,t){return Promise.all(t.map((t=>Rs(e,t)))).then((t=>os(e,t)))}async function Rs(e,t,n){const{keys:o,to:r,from:l,loop:i,onRest:s,onResolve:a}=t,c=$r.obj(t.default)&&t.default;i&&(t.loop=!1),!1===r&&(t.to=null),!1===l&&(t.from=null);const u=$r.arr(r)||$r.fun(r)?r:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):Kr(Ts,(n=>{const o=t[n];if($r.fun(o)){const r=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=r.get(o);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):r.set(o,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Qr(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const p=(o||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),m=!0===t.cancel||!0===Ri(t,"cancel");(u||m&&d.asyncId)&&p.push(ns(++e._lastAsyncId,{props:t,state:d,actions:{pause:Wr,resume:Wr,start(t,n){m?(as(d,e._lastAsyncId),n(is(e))):(t.onRest=s,n(ss(u,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const f=os(e,await Promise.all(p));if(i&&f.finished&&(!n||!f.noop)){const n=Es(t,i,r);if(n)return Fs(e,[n]),Rs(e,n,!0)}return a&&Sr.batchedUpdates((()=>a(f,e,e.item))),f}function Ls(e,t){const n=Ti({},e.springs);return t&&Kr(Yr(t),(e=>{$r.und(e.keys)&&(e=Cs(e)),$r.obj(e.to)||(e=Ti({},e,{to:void 0})),Os(n,e,(e=>Ds(e)))})),As(e,n),n}function As(e,t){qr(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,Ul(t,e))}))}function Ds(e,t){const n=new _s;return n.key=e,t&&Ul(n,t),n}function Os(e,t,n){t.keys&&Kr(t.keys,(o=>{(e[o]||(e[o]=n(o)))._prepareNode(t)}))}function Fs(e,t){Kr(t,(t=>{Os(e.springs,t,(t=>Ds(t,e)))}))}function zs(e,t){if(null==e)return{};var n,o,r={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}const Vs=["children"],Hs=e=>{let{children:t}=e,n=zs(e,Vs);const o=(0,Ur.useContext)(Us),r=n.pause||!!o.pause,l=n.immediate||!!o.immediate;n=function(e,t){const[n]=(0,Ur.useState)((()=>({inputs:t,result:e()}))),o=(0,Ur.useRef)(),r=o.current;let l=r;if(l){const n=Boolean(t&&l.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,l.inputs));n||(l={inputs:t,result:e()})}else l=n;return(0,Ur.useEffect)((()=>{o.current=l,r==n&&(n.inputs=n.result=void 0)}),[l]),l.result}((()=>({pause:r,immediate:l})),[r,l]);const{Provider:i}=Us;return Ur.createElement(i,{value:n},t)},Us=(Gs=Hs,Ws={},Object.assign(Gs,Ur.createContext(Ws)),Gs.Provider._context=Gs,Gs.Consumer._context=Gs,Gs);var Gs,Ws;Hs.Provider=Us.Provider,Hs.Consumer=Us.Consumer;const $s=()=>{const e=[],t=function(t){ri(`${ti}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`);const o=[];return Kr(e,((e,r)=>{if($r.und(t))o.push(e.start());else{const l=n(t,e,r);l&&o.push(e.start(l))}})),o};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 Kr(e,(e=>e.pause(...arguments))),this},t.resume=function(){return Kr(e,(e=>e.resume(...arguments))),this},t.set=function(t){Kr(e,(e=>e.set(t)))},t.start=function(t){const n=[];return Kr(e,((e,o)=>{if($r.und(t))n.push(e.start());else{const r=this._getProps(t,e,o);r&&n.push(e.start(r))}})),n},t.stop=function(){return Kr(e,(e=>e.stop(...arguments))),this},t.update=function(t){return Kr(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return $r.fun(e)?e(n,t):e};return t._getProps=n,t};function js(e,t,n){const o=$r.fun(t)&&t;o&&!n&&(n=[]);const r=(0,Ur.useMemo)((()=>o||3==arguments.length?$s():void 0),[]),l=(0,Ur.useRef)(0),i=ai(),s=(0,Ur.useMemo)((()=>({ctrls:[],queue:[],flush(e,t){const n=Ls(e,t);return l.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?Ms(e,t):new Promise((o=>{As(e,n),s.queue.push((()=>{o(Ms(e,t))})),i()}))}})),[]),a=(0,Ur.useRef)([...s.ctrls]),c=[],u=ui(e)||0;function d(e,n){for(let r=e;r<n;r++){const e=a.current[r]||(a.current[r]=new Ps(null,s.flush)),n=o?o(r,e):t[r];n&&(c[r]=ws(n))}}(0,Ur.useMemo)((()=>{Kr(a.current.slice(e,u),(e=>{Ui(e,r),e.stop(!0)})),a.current.length=e,d(u,e)}),[e]),(0,Ur.useMemo)((()=>{d(0,Math.min(u,e))}),n);const p=a.current.map(((e,t)=>Ls(e,c[t]))),m=(0,Ur.useContext)(Hs),f=ui(m),h=m!==f&&Vi(m);di((()=>{l.current++,s.ctrls=a.current;const{queue:e}=s;e.length&&(s.queue=[],Kr(e,(e=>e()))),Kr(a.current,((e,t)=>{null==r||r.add(e),h&&e.start({default:m});const n=c[t];n&&(Gi(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),ii((()=>()=>{Kr(s.ctrls,(e=>e.stop(!0)))}));const g=p.map((e=>Ti({},e)));return r?[g,r]:g}function Ks(e,t){const n=$r.fun(e),[[o],r]=js(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[o,r]:o}let qs;!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(qs||(qs={}));class Ys extends ms{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=Ml(...t);const n=this._get(),o=Ci(n);fi(this,o.create(n))}advance(e){const t=this._get();jr(t,this.get())||(mi(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Qs(this._active)&&Zs(this)}_get(){const e=$r.arr(this.source)?this.source.map(Ol):Yr(Ol(this.source));return this.calc(...e)}_start(){this.idle&&!Qs(this._active)&&(this.idle=!1,Kr(hi(this),(e=>{e.done=!1})),rl.skipAnimation?(Sr.batchedUpdates((()=>this.advance())),Zs(this)):cl.start(this))}_attach(){let e=1;Kr(Yr(this.source),(t=>{Dl(t)&&Ul(t,this),ds(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){Kr(Yr(this.source),(e=>{Dl(e)&&Gl(e,this)})),this._active.clear(),Zs(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=Yr(this.source).reduce(((e,t)=>Math.max(e,(ds(t)?t.priority:0)+1)),0))}}function Xs(e){return!1!==e.idle}function Qs(e){return!e.size||Array.from(e).every(Xs)}function Zs(e){e.idle||(e.idle=!0,Kr(hi(e),(e=>{e.done=!0})),zl(e,{type:"idle",parent:e}))}rl.assign({createStringInterpolator:ei,to:(e,t)=>new Ys(e,t)});cl.advance;var Js=window.ReactDOM;function ea(e,t){if(null==e)return{};var n,o,r={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}const ta=["style","children","scrollTop","scrollLeft"],na=/^--/;function oa(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||na.test(e)||la.hasOwnProperty(e)&&la[e]?(""+t).trim():t+"px"}const ra={};let la={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 ia=["Webkit","Ms","Moz","O"];la=Object.keys(la).reduce(((e,t)=>(ia.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),la);const sa=["x","y","z"],aa=/^(matrix|translate|scale|rotate|skew)/,ca=/^(translate)/,ua=/^(rotate|skew)/,da=(e,t)=>$r.num(e)&&0!==e?e+t:e,pa=(e,t)=>$r.arr(e)?e.every((e=>pa(e,t))):$r.num(e)?e===t:parseFloat(e)===t;class ma extends _i{constructor(e){let{x:t,y:n,z:o}=e,r=ea(e,sa);const l=[],i=[];(t||n||o)&&(l.push([t||0,n||0,o||0]),i.push((e=>[`translate3d(${e.map((e=>da(e,"px"))).join(",")})`,pa(e,0)]))),qr(r,((e,t)=>{if("transform"===t)l.push([e||""]),i.push((e=>[e,""===e]));else if(aa.test(t)){if(delete r[t],$r.und(e))return;const n=ca.test(t)?"px":ua.test(t)?"deg":"";l.push(Yr(e)),i.push("rotate3d"===t?([e,t,o,r])=>[`rotate3d(${e},${t},${o},${da(r,n)})`,pa(r,0)]:e=>[`${t}(${e.map((e=>da(e,n))).join(",")})`,pa(e,t.startsWith("scale")?1:0)])}})),l.length&&(r.transform=new fa(l,i)),super(r)}}class fa extends Vl{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 Kr(this.inputs,((n,o)=>{const r=Ol(n[0]),[l,i]=this.transforms[o]($r.arr(r)?r:n.map(Ol));e+=" "+l,t=t&&i})),t?"none":e}observerAdded(e){1==e&&Kr(this.inputs,(e=>Kr(e,(e=>Dl(e)&&Ul(e,this)))))}observerRemoved(e){0==e&&Kr(this.inputs,(e=>Kr(e,(e=>Dl(e)&&Gl(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),zl(this,e)}}const ha=["scrollTop","scrollLeft"];rl.assign({batchedUpdates:Js.unstable_batchedUpdates,createStringInterpolator:ei,colors:{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}});const ga=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new _i(e)),getComponentProps:o=(e=>e)}={})=>{const r={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:o},l=e=>{const t=xi(e)||"Anonymous";return(e=$r.str(e)?l[e]||(l[e]=Si(e,r)):e[Ii]||(e[Ii]=Si(e,r))).displayName=`Animated(${t})`,e};return qr(e,((t,n)=>{$r.arr(e)&&(n=xi(t)),l[n]=l(t)})),{animated:l}})(["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:l,scrollTop:i,scrollLeft:s}=o,a=ea(o,ta),c=Object.values(a),u=Object.keys(a).map((t=>n||e.hasAttribute(t)?t:ra[t]||(ra[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==l&&(e.textContent=l);for(let t in r)if(r.hasOwnProperty(t)){const n=oa(t,r[t]);na.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach(((t,n)=>{e.setAttribute(t,c[n])})),void 0!==i&&(e.scrollTop=i),void 0!==s&&(e.scrollLeft=s)},createAnimatedStyle:e=>new ma(e),getComponentProps:e=>ea(e,ha)}),va=ga.animated,ba=e=>e+1,ka=e=>({top:e.offsetTop,left:e.offsetLeft});var _a=function(e){let{isSelected:t,adjustScrolling:n,enableAnimation:o,triggerAnimationOnChange:r}=e;const l=(0,s.useRef)(),i=(0,d.useReducedMotion)()||!o,[a,c]=(0,s.useReducer)(ba,0),[u,p]=(0,s.useReducer)(ba,0),[m,f]=(0,s.useState)({x:0,y:0}),h=(0,s.useMemo)((()=>l.current?ka(l.current):null),[r]),g=(0,s.useMemo)((()=>{if(!n||!l.current)return()=>{};const e=(0,rr.getScrollContainer)(l.current);if(!e)return()=>{};const t=l.current.getBoundingClientRect();return()=>{const n=l.current.getBoundingClientRect().top-t.top;n&&(e.scrollTop+=n)}}),[r,n]);function v(e){let{value:n}=e,{x:o,y:r}=n;o=Math.round(o),r=Math.round(r),o===v.x&&r===v.y||(!function(e){let{x:n,y:o}=e;if(!l.current)return;const r=0===n&&0===o;l.current.style.transformOrigin=r?"":"center",l.current.style.transform=r?"":`translate3d(${n}px,${o}px,0)`,l.current.style.zIndex=!t||r?"":"1",g()}({x:o,y:r}),v.x=o,v.y=r)}return(0,s.useLayoutEffect)((()=>{a&&p()}),[a]),(0,s.useLayoutEffect)((()=>{if(!h)return;if(i)return void g();l.current.style.transform="";const e=ka(l.current);c(),f({x:Math.round(h.left-e.left),y:Math.round(h.top-e.top)})}),[r]),v.x=0,v.y=0,Ks({from:{x:m.x,y:m.y},to:{x:0,y:0},reset:a!==u,config:{mass:5,tension:2e3,friction:200},immediate:i,onChange:v}),l};const ya=".block-editor-block-list__block",Ea=".block-list-appender";function Ca(e,t){return t.closest([ya,Ea].join(","))===e}function wa(e){const t=(0,s.useRef)(),n=function(e){return(0,m.useSelect)((t=>{const{getSelectedBlocksInitialCaretPosition:n,isMultiSelecting:o,isNavigationMode:r,isBlockSelected:l}=t(Fn);if(l(e)&&!o()&&!r())return n()}),[e])}(e);return(0,s.useEffect)((()=>{if(null==n)return;if(!t.current)return;const{ownerDocument:e}=t.current;if(t.current.contains(e.activeElement))return;const o=rr.focus.tabbable.find(t.current).filter((e=>(0,rr.isTextField)(e))),r=-1===n,l=(r?u.last:u.first)(o)||t.current;Ca(t.current,l)?(0,rr.placeCaretAtHorizontalEdge)(l,r):t.current.focus()}),[n]),t}function Sa(e){if(e.defaultPrevented)return;const t="mouseover"===e.type?"add":"remove";e.preventDefault(),e.currentTarget.classList[t]("is-hovered")}function Ba(){const e=(0,m.useSelect)((e=>{const{isNavigationMode:t,getSettings:n}=e(Fn);return t()||n().outlineMode}),[]);return(0,d.useRefEffect)((t=>{if(e)return t.addEventListener("mouseout",Sa),t.addEventListener("mouseover",Sa),()=>{t.removeEventListener("mouseout",Sa),t.removeEventListener("mouseover",Sa),t.classList.remove("is-hovered")}}),[e])}function Ia(e){return(0,m.useSelect)((t=>{const{isBlockBeingDragged:n,isBlockHighlighted:o,isBlockSelected:l,isBlockMultiSelected:i,getBlockName:s,getSettings:a,hasSelectedInnerBlock:u,isTyping:d,__experimentalGetActiveBlockIdByBlockNames:p}=t(Fn),{__experimentalSpotlightEntityBlocks:m,outlineMode:f}=a(),h=n(e),g=l(e),v=s(e),b=u(e,!0),k=p(m);return c()({"is-selected":g,"is-highlighted":o(e),"is-multi-selected":i(e),"is-reusable":(0,r.isReusableBlock)((0,r.getBlockType)(v)),"is-dragging":h,"has-child-selected":b,"has-active-entity":k,"is-active-entity":k===e,"remove-outline":g&&f&&d()})}),[e])}function xa(e){return(0,m.useSelect)((t=>{const n=t(Fn).getBlockName(e),o=(0,r.getBlockType)(n);if((null==o?void 0:o.apiVersion)>1)return(0,r.getBlockDefaultClassName)(n)}),[e])}function Ta(e){return(0,m.useSelect)((t=>{const{getBlockName:n,getBlockAttributes:o}=t(Fn),l=o(e);if(null==l||!l.className)return;const i=(0,r.getBlockType)(n(e));return(null==i?void 0:i.apiVersion)>1?l.className:void 0}),[e])}function Na(e){return(0,m.useSelect)((t=>{const{hasBlockMovingClientId:n,canInsertBlockType:o,getBlockName:r,getBlockRootClientId:l,isBlockSelected:i}=t(Fn);if(!i(e))return;const s=n();return s?c()("is-block-moving-mode",{"can-insert-moving-block":o(r(s),l(e))}):void 0}),[e])}function Pa(e){const{isBlockSelected:t}=(0,m.useSelect)(Fn),{selectBlock:n,selectionChange:o}=(0,m.useDispatch)(Fn);return(0,d.useRefEffect)((r=>{function l(l){t(e)?l.target.isContentEditable||o(e):Ca(r,l.target)&&n(e)}return r.addEventListener("focusin",l),()=>{r.removeEventListener("focusin",l)}}),[t,n])}var Ma=window.wp.keycodes;function Ra(e){const t=(0,m.useSelect)((t=>t(Fn).isBlockSelected(e)),[e]),{getBlockRootClientId:n,getBlockIndex:o}=(0,m.useSelect)(Fn),{insertDefaultBlock:r,removeBlock:l}=(0,m.useDispatch)(Fn);return(0,d.useRefEffect)((i=>{if(t)return i.addEventListener("keydown",s),i.addEventListener("dragstart",a),()=>{i.removeEventListener("keydown",s),i.removeEventListener("dragstart",a)};function s(t){const{keyCode:s,target:a}=t;s!==Ma.ENTER&&s!==Ma.BACKSPACE&&s!==Ma.DELETE||a!==i||(0,rr.isTextField)(a)||(t.preventDefault(),s===Ma.ENTER?r({},n(e),o(e)+1):l(e))}function a(e){e.preventDefault()}}),[e,t,n,o,r,l])}function La(e){const{isNavigationMode:t,isBlockSelected:n}=(0,m.useSelect)(Fn),{setNavigationMode:o,selectBlock:r}=(0,m.useDispatch)(Fn);return(0,d.useRefEffect)((l=>{function i(l){t()&&!l.defaultPrevented&&(l.preventDefault(),n(e)?o(!1):r(e))}return l.addEventListener("mousedown",i),()=>{l.addEventListener("mousedown",i)}}),[e,t,n,o])}var Aa=n(5425),Da=n.n(Aa);function Oa(e){const t=(0,s.useRef)(),n=(0,m.useSelect)((t=>{const{isBlockSelected:n,getBlockSelectionEnd:o}=t(Fn);return n(e)||o()===e}),[e]);return(0,s.useEffect)((()=>{if(!n)return;const e=t.current;if(!e)return;if(e.contains(e.ownerDocument.activeElement))return;const o=(0,rr.getScrollContainer)(e)||e.ownerDocument.defaultView;o&&Da()(e,o,{onlyScrollIfNeeded:!0})}),[n]),t}const Fa=(0,s.createContext)();function za(e){let{children:t}=e;const n=(0,s.useMemo)((()=>({refs:new Map,callbacks:new Map})),[]);return(0,s.createElement)(Fa.Provider,{value:n},t)}function Va(e){const{refs:t,callbacks:n}=(0,s.useContext)(Fa),o=(0,s.useRef)();return(0,s.useLayoutEffect)((()=>(t.set(o,e),()=>{t.delete(o)})),[e]),(0,d.useRefEffect)((t=>{o.current=t,n.forEach(((n,o)=>{e===n&&o(t)}))}),[e])}function Ha(e){const{refs:t}=(0,s.useContext)(Fa),n=(0,s.useRef)();return n.current=e,(0,s.useMemo)((()=>({get current(){let e=null;for(const[o,r]of t.entries())r===n.current&&o.current&&(e=o.current);return e}})),[])}function Ua(e){const{callbacks:t}=(0,s.useContext)(Fa),n=Ha(e),[o,r]=(0,s.useState)(null);return(0,s.useLayoutEffect)((()=>{if(e)return t.set(r,e),()=>{t.delete(r)}}),[e]),n.current||o}function Ga(e,t){Array.from(e.closest(".is-root-container").querySelectorAll(".rich-text")).forEach((e=>{t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}function Wa(e){const{startMultiSelect:t,stopMultiSelect:n,multiSelect:o,selectBlock:r}=(0,m.useDispatch)(Fn),{isSelectionEnabled:l,isBlockSelected:i,getBlockParents:s,getBlockSelectionStart:a,hasMultiSelection:c}=(0,m.useSelect)(Fn);return(0,d.useRefEffect)((u=>{const{ownerDocument:d}=u,{defaultView:p}=d;let m,f;function h(t){let{isSelectionEnd:n}=t;const l=p.getSelection();if(!l.rangeCount||l.isCollapsed)return void Ga(u,!0);const i=function(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;const t=e.closest(ya);return t?t.id.slice("block-".length):void 0}(l.focusNode);if(e===i){if(r(e),n&&(Ga(u,!0),l.rangeCount)){const{commonAncestorContainer:e}=l.getRangeAt(0);m.contains(e)&&m.focus()}}else{const t=[...s(e),e],n=[...s(i),i],r=Math.min(t.length,n.length)-1;o(t[r],n[r])}}function g(){d.removeEventListener("selectionchange",h),p.removeEventListener("mouseup",g),f=p.requestAnimationFrame((()=>{h({isSelectionEnd:!0}),n()}))}function v(n){let{buttons:o}=n;1===o&&l()&&i(e)&&(m=d.activeElement,t(),d.addEventListener("selectionchange",h),p.addEventListener("mouseup",g),Ga(u,!1))}function b(t){if(l()&&0===t.button)if(t.shiftKey){const n=a(),r=s(n);if(n&&n!==e&&(null==r||!r.includes(e))){const l=[...r,n],i=[...s(e),e],a=Math.min(l.length,i.length)-1,c=l[a],d=i[a];c!==d&&(Ga(u,!1),o(c,d),t.preventDefault())}}else c()&&r(e)}return u.addEventListener("mousedown",b),u.addEventListener("mouseleave",v),()=>{u.removeEventListener("mousedown",b),u.removeEventListener("mouseleave",v),d.removeEventListener("selectionchange",h),p.removeEventListener("mouseup",g),p.cancelAnimationFrame(f)}}),[e,t,n,o,r,l,i,s])}function $a(){const e=(0,s.useContext)(Nm);return(0,d.useRefEffect)((t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}}),[e])}function ja(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{__unstableIsHtml:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{clientId:n,className:o,wrapperProps:l={},isAligned:i}=(0,s.useContext)(Ka),{index:a,mode:u,name:p,blockApiVersion:f,blockTitle:g,isPartOfSelection:v,adjustScrolling:b,enableAnimation:k}=(0,m.useSelect)((e=>{const{getBlockIndex:t,getBlockMode:o,getBlockName:l,isTyping:i,getGlobalBlockCount:s,isBlockSelected:a,isBlockMultiSelected:c,isAncestorMultiSelected:u,isFirstMultiSelectedBlock:d}=e(Fn),p=a(n),m=c(n)||u(n),f=l(n),h=(0,r.getBlockType)(f);return{index:t(n),mode:o(n),name:f,blockApiVersion:(null==h?void 0:h.apiVersion)||1,blockTitle:null==h?void 0:h.title,isPartOfSelection:p||m,adjustScrolling:p||d(n),enableAnimation:!i()&&s()<=200}}),[n]),_=(0,h.sprintf)((0,h.__)("Block: %s"),g),y="html"!==u||t?"":"-visual",E=(0,d.useMergeRefs)([e.ref,wa(n),Oa(n),Va(n),Pa(n),Wa(n),Ra(n),La(n),Ba(),$a(),_a({isSelected:v,adjustScrolling:b,enableAnimation:k,triggerAnimationOnChange:a})]),C=Un();return f<2&&n===C.clientId&&"undefined"!=typeof process&&process.env,{...l,...e,ref:E,id:`block-${n}${y}`,tabIndex:0,role:"document","aria-label":_,"data-block":n,"data-type":p,"data-title":g,className:c()(c()("block-editor-block-list__block",{"wp-block":!i}),o,e.className,l.className,Ia(n),xa(n),Ta(n),Na(n)),style:{...l.style,...e.style}}}ja.save=r.__unstableGetBlockProps;const Ka=(0,s.createContext)();function qa(e){let{children:t,isHtml:n,...o}=e;return(0,s.createElement)("div",ja(o,{__unstableIsHtml:n}),t)}const Ya=(0,m.withSelect)(((e,t)=>{let{clientId:n,rootClientId:o}=t;const{isBlockSelected:r,getBlockMode:l,isSelectionEnabled:i,getTemplateLock:s,__unstableGetBlockWithoutInnerBlocks:a,canRemoveBlock:c,canMoveBlock:u}=e(Fn),d=a(n),p=r(n),m=s(o),f=c(n,o),h=u(n,o),{name:g,attributes:v,isValid:b}=d||{};return{mode:l(n),isSelectionEnabled:i(),isLocked:!!m,canRemove:f,canMove:h,block:d,name:g,attributes:v,isValid:b,isSelected:p}})),Xa=(0,m.withDispatch)(((e,t,n)=>{let{select:o}=n;const{updateBlockAttributes:l,insertBlocks:i,mergeBlocks:s,replaceBlocks:a,toggleSelection:c,__unstableMarkLastChangeAsPersistent:u}=e(Fn);return{setAttributes(e){const{getMultiSelectedBlockClientIds:n}=o(Fn),r=n(),{clientId:i}=t,s=r.length?r:[i];l(s,e)},onInsertBlocks(e,n){const{rootClientId:o}=t;i(e,n,o)},onInsertBlocksAfter(e){const{clientId:n,rootClientId:r}=t,{getBlockIndex:l}=o(Fn),s=l(n);i(e,s+1,r)},onMerge(e){const{clientId:n}=t,{getPreviousBlockClientId:r,getNextBlockClientId:l}=o(Fn);if(e){const e=l(n);e&&s(n,e)}else{const e=r(n);e&&s(e,n)}},onReplace(e,n,o){e.length&&!(0,r.isUnmodifiedDefaultBlock)(e[e.length-1])&&u(),a([t.clientId],e,n,o)},toggleSelection(e){c(e)}}}));var Qa=(0,d.compose)(d.pure,Ya,Xa,(0,d.ifCondition)((e=>{let{block:t}=e;return!!t})),(0,p.withFilters)("editor.BlockListBlock"))((function(e){let{mode:t,isLocked:n,canRemove:o,clientId:l,isSelected:i,isSelectionEnabled:a,className:d,name:p,isValid:f,attributes:h,wrapperProps:g,setAttributes:v,onReplace:b,onInsertBlocksAfter:k,onMerge:_,toggleSelection:y}=e;const{removeBlock:E}=(0,m.useDispatch)(Fn),C=(0,s.useCallback)((()=>E(l)),[l]);let w=(0,s.createElement)(ur,{name:p,isSelected:i,attributes:h,setAttributes:v,insertBlocksAfter:n?void 0:k,onReplace:o?b:void 0,onRemove:o?C:void 0,mergeBlocks:o?_:void 0,clientId:l,isSelectionEnabled:a,toggleSelection:y});const S=(0,r.getBlockType)(p);null!=S&&S.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,S.getEditWrapperProps(h)));const B=g&&!!g["data-align"];let I;if(B&&(w=(0,s.createElement)("div",{className:"wp-block","data-align":g["data-align"]},w)),f)I="html"===t?(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{style:{display:"none"}},w),(0,s.createElement)(qa,{isHtml:!0},(0,s.createElement)(Cr,{clientId:l}))):(null==S?void 0:S.apiVersion)>1?w:(0,s.createElement)(qa,g,w);else{const e=(0,r.getSaveContent)(S,h);I=(0,s.createElement)(qa,{className:"has-warning"},(0,s.createElement)(vr,{clientId:l}),(0,s.createElement)(s.RawHTML,null,(0,rr.safeHTML)(e)))}const x={clientId:l,className:d,wrapperProps:(0,u.omit)(g,["data-align"]),isAligned:B},T=(0,s.useMemo)((()=>x),Object.values(x));return(0,s.createElement)(Ka.Provider,{value:T},(0,s.createElement)(yr,{fallback:(0,s.createElement)(qa,{className:"has-warning"},(0,s.createElement)(kr,null))},I))})),Za=window.wp.htmlEntities;var Ja=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));const ec=[(0,s.createInterpolateElement)((0,h.__)("While writing, you can press <kbd>/</kbd> to quickly insert new blocks."),{kbd:(0,s.createElement)("kbd",null)}),(0,s.createInterpolateElement)((0,h.__)("Indent a list by pressing <kbd>space</kbd> at the beginning of a line."),{kbd:(0,s.createElement)("kbd",null)}),(0,s.createInterpolateElement)((0,h.__)("Outdent a list by pressing <kbd>backspace</kbd> at the beginning of a line."),{kbd:(0,s.createElement)("kbd",null)}),(0,h.__)("Drag files into the editor to automatically insert media blocks."),(0,h.__)("Change a block's type by pressing the block icon on the toolbar.")];var tc=function(){const[e]=(0,s.useState)(Math.floor(Math.random()*ec.length));return(0,s.createElement)(p.Tip,null,ec[e])};var nc=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));var oc=(0,s.memo)((function(e){var t;let{icon:n,showColors:o=!1,className:r}=e;"block-default"===(null===(t=n)||void 0===t?void 0:t.src)&&(n={src:nc});const l=(0,s.createElement)(p.Icon,{icon:n&&n.src?n.src:n}),i=o?{backgroundColor:n&&n.background,color:n&&n.foreground}:{};return(0,s.createElement)("span",{style:i,className:c()("block-editor-block-icon",r,{"has-colors":o})},l)}));var rc=function(e){let{title:t,icon:n,description:o,blockType:r}=e;return r&&(Rt()("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),({title:t,icon:n,description:o}=r)),(0,s.createElement)("div",{className:"block-editor-block-card"},(0,s.createElement)(oc,{icon:n,showColors:!0}),(0,s.createElement)("div",{className:"block-editor-block-card__content"},(0,s.createElement)("h2",{className:"block-editor-block-card__title"},t),(0,s.createElement)("span",{className:"block-editor-block-card__description"},o)))};function lc(e){let{clientId:t=null,value:n,selection:o,onChange:l=u.noop,onInput:i=u.noop}=e;const a=(0,m.useRegistry)(),{resetBlocks:c,resetSelection:d,replaceInnerBlocks:p,setHasControlledInnerBlocks:f,__unstableMarkNextChangeAsNotPersistent:h}=a.dispatch(Fn),{getBlockName:g,getBlocks:v}=a.select(Fn),b=(0,m.useSelect)((e=>!t||e(Fn).areInnerBlocksControlled(t)),[t]),k=(0,s.useRef)({incoming:null,outgoing:[]}),_=(0,s.useRef)(!1),y=()=>{n&&(h(),t?a.batch((()=>{f(t,!0);const e=n.map((e=>(0,r.cloneBlock)(e)));_.current&&(k.current.incoming=e),h(),p(t,e)})):(_.current&&(k.current.incoming=n),c(n)))},E=(0,s.useRef)(i),C=(0,s.useRef)(l);(0,s.useEffect)((()=>{E.current=i,C.current=l}),[i,l]),(0,s.useEffect)((()=>{k.current.outgoing.includes(n)?(0,u.last)(k.current.outgoing)===n&&(k.current.outgoing=[]):v(t)!==n&&(k.current.outgoing=[],y(),o&&d(o.selectionStart,o.selectionEnd,o.initialPosition))}),[n,t]),(0,s.useEffect)((()=>{b||(k.current.outgoing=[],y())}),[b]),(0,s.useEffect)((()=>{const{getSelectionStart:e,getSelectionEnd:n,getSelectedBlocksInitialCaretPosition:o,isLastBlockChangePersistent:r,__unstableIsLastBlockChangeIgnored:l,areInnerBlocksControlled:i}=a.select(Fn);let s=v(t),c=r(),u=!1;_.current=!0;const d=a.subscribe((()=>{if(null!==t&&null===g(t))return;if(!(!t||i(t)))return;const a=r(),d=v(t),p=d!==s;if(s=d,p&&(k.current.incoming||l()))return k.current.incoming=null,void(c=a);if(p||u&&!p&&a&&!c){c=a,k.current.outgoing.push(s);(c?C.current:E.current)(s,{selection:{selectionStart:e(),selectionEnd:n(),initialPosition:o()}})}u=p}));return()=>d()}),[a,t])}var ic=(0,d.createHigherOrderComponent)((e=>(0,m.withRegistry)((t=>{let{useSubRegistry:n=!0,registry:o,...r}=t;if(!n)return(0,s.createElement)(e,i({registry:o},r));const[l,a]=(0,s.useState)(null);return(0,s.useEffect)((()=>{const e=(0,m.createRegistry)({},o);e.registerStore(Dn,On),a(e)}),[o]),l?(0,s.createElement)(m.RegistryProvider,{value:l},(0,s.createElement)(e,i({registry:l},r))):null}))),"withRegistryProvider")((function(e){const{children:t,settings:n}=e,{updateSettings:o}=(0,m.useDispatch)(Fn);return(0,s.useEffect)((()=>{o(n)}),[n]),lc(e),(0,s.createElement)(za,null,t)}));function sc(e){let{onClick:t}=e;return(0,s.createElement)("div",{tabIndex:0,role:"button",onClick:t,onKeyPress:t},(0,s.createElement)(p.Disabled,null,(0,s.createElement)(Mm,null)))}function ac(){const{hasSelectedBlock:e,hasMultiSelection:t}=(0,m.useSelect)(Fn),{clearSelectedBlock:n}=(0,m.useDispatch)(Fn);return(0,d.useRefEffect)((o=>{function r(r){(e()||t())&&r.target===o&&n()}return o.addEventListener("mousedown",r),()=>{o.removeEventListener("mousedown",r)}}),[e,t,n])}function cc(e){return(0,s.createElement)("div",i({ref:ac()},e))}function uc(e,t){const n="start"===t?"firstChild":"lastChild",o="start"===t?"nextSibling":"previousSibling";for(;e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[o];)e=e[o];return e}function dc(e){const{isMultiSelecting:t,getMultiSelectedBlockClientIds:n,hasMultiSelection:o,getSelectedBlockClientId:r}=e(Fn);return{isMultiSelecting:t(),multiSelectedBlockClientIds:n(),hasMultiSelection:o(),selectedBlockClientId:r()}}function pc(){const{isMultiSelecting:e,multiSelectedBlockClientIds:t,hasMultiSelection:n,selectedBlockClientId:o}=(0,m.useSelect)(dc,[]),r=Ha(o),l=Ha((0,u.first)(t)),i=Ha((0,u.last)(t));return(0,d.useRefEffect)((s=>{const{ownerDocument:a}=s,{defaultView:c}=a;if(!n||e){if(!o||e)return;const t=c.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(!l.current||!i.current)return;s.focus();const d=c.getSelection(),p=a.createRange(),m=uc(l.current,"start"),f=uc(i.current,"end");var h,g;h=s,g=!1,Array.from(h.querySelectorAll(".rich-text")).forEach((e=>{g?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")})),p.setStartBefore(m),p.setEndAfter(f),d.removeAllRanges(),d.addRange(p)}),[n,e,t,o])}function mc(e){const{tagName:t}=e;return"INPUT"===t||"BUTTON"===t||"SELECT"===t||"TEXTAREA"===t}function fc(e,t,n,o){let r,l=rr.focus.focusable.find(n);return t&&(l=(0,u.reverse)(l)),l=l.slice(l.indexOf(e)+1),o&&(r=e.getBoundingClientRect()),(0,u.find)(l,(function(e){if(!rr.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 hc(){const{getSelectedBlockClientId:e,getMultiSelectedBlocksStartClientId:t,getMultiSelectedBlocksEndClientId:n,getPreviousBlockClientId:o,getNextBlockClientId:r,getFirstMultiSelectedBlockClientId:l,getLastMultiSelectedBlockClientId:i,getSettings:s,hasMultiSelection:a}=(0,m.useSelect)(Fn),{multiSelect:c,selectBlock:u}=(0,m.useDispatch)(Fn);return(0,d.useRefEffect)((d=>{let p;function m(){p=null}function f(l){const i=e(),s=t(),a=n(),d=o(a||i),p=r(a||i),m=l?d:p;m&&(s===m?u(m):c(s||i,m))}function h(e){const t=l(),n=i(),o=e?t:n;o&&u(o)}function g(e,t){const n=fc(e,t,d);return!n||!function(e,t){return e.closest(ya)===t.closest(ya)}(e,n)}function v(t){const{keyCode:l,target:i}=t,c=l===Ma.UP,u=l===Ma.DOWN,m=l===Ma.LEFT,v=l===Ma.RIGHT,b=c||m,k=m||v,_=c||u,y=k||_,E=t.shiftKey,C=E||t.ctrlKey||t.altKey||t.metaKey,w=_?rr.isVerticalEdge:rr.isHorizontalEdge,{ownerDocument:S}=d,{defaultView:B}=S;if(a()){if(y){(E?f:h)(b),t.preventDefault()}return}if(_?p||(p=(0,rr.computeCaretRect)(B)):p=null,t.defaultPrevented)return;if(!y)return;if(!function(e,t,n){if((t===Ma.UP||t===Ma.DOWN)&&!n)return!0;const{tagName:o}=e;return"INPUT"!==o&&"TEXTAREA"!==o}(i,l,C))return;const I=(0,rr.isRTL)(i)?!b:b,{keepCaretInsideBlock:x}=s(),T=e();if(E){const e=n(),l=o(e||T),s=r(e||T);(b&&l||!b&&s)&&g(i,b)&&w(i,b)&&(f(b),t.preventDefault())}else if(_&&(0,rr.isVerticalEdge)(i,b)&&!x){const e=fc(i,b,d,!0);e&&((0,rr.placeCaretAtVerticalEdge)(e,b,p),t.preventDefault())}else if(k&&B.getSelection().isCollapsed&&(0,rr.isHorizontalEdge)(i,I)&&!x){const e=fc(i,I,d);(0,rr.placeCaretAtHorizontalEdge)(e,b),t.preventDefault()}}return d.addEventListener("mousedown",m),d.addEventListener("keydown",v),()=>{d.removeEventListener("mousedown",m),d.removeEventListener("keydown",v)}}),[])}var gc=window.wp.keyboardShortcuts;function vc(){const{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:n}=(0,m.useSelect)(Fn),{multiSelect:o}=(0,m.useDispatch)(Fn),r=(0,gc.__unstableUseShortcutEventMatch)();return(0,d.useRefEffect)((l=>{function i(l){if(!r("core/block-editor/select-all",l))return;if(!(0,rr.isEntirelySelected)(l.target))return;const i=t(),[s]=i,a=n(s);let c=e(a);i.length===c.length&&(c=e(n(a)));const d=(0,u.first)(c),p=(0,u.last)(c);d!==p&&(o(d,p),l.preventDefault())}return l.addEventListener("keydown",i),()=>{l.removeEventListener("keydown",i)}}),[])}function bc(){const[e,t,n]=function(){const e=(0,s.useRef)(),t=(0,s.useRef)(),n=(0,s.useRef)(),o=(0,s.useRef)(),{hasMultiSelection:r,getSelectedBlockClientId:l,getBlockCount:i}=(0,m.useSelect)(Fn),{setNavigationMode:a}=(0,m.useDispatch)(Fn),c=(0,m.useSelect)((e=>e(Fn).isNavigationMode()),[])?void 0:"0",u=(0,s.useRef)();function p(t){if(u.current)u.current=null;else if(r())e.current.focus();else if(l())o.current.focus();else{a(!0);const n=t.target.compareDocumentPosition(e.current)&t.target.DOCUMENT_POSITION_FOLLOWING?"findNext":"findPrevious";rr.focus.tabbable[n](t.target).focus()}}const f=(0,s.createElement)("div",{ref:t,tabIndex:c,onFocus:p}),h=(0,s.createElement)("div",{ref:n,tabIndex:c,onFocus:p}),g=(0,d.useRefEffect)((s=>{function c(e){if(e.defaultPrevented)return;if(e.keyCode===Ma.ESCAPE&&!r())return e.preventDefault(),void a(!0);if(e.keyCode!==Ma.TAB)return;const o=e.shiftKey,i=o?"findPrevious":"findNext";if(!r()&&!l())return void(e.target===s&&a(!0));if(mc(e.target)&&mc(rr.focus.tabbable[i](e.target)))return;const c=o?t:n;u.current=!0,c.current.focus({preventScroll:!0})}function d(e){o.current=e.target;const{ownerDocument:t}=s;e.relatedTarget||t.activeElement!==t.body||0!==i()||s.focus()}function p(o){var r;if(o.keyCode!==Ma.TAB)return;if("region"===(null===(r=o.target)||void 0===r?void 0:r.getAttribute("role")))return;if(e.current===o.target)return;const l=o.shiftKey?"findPrevious":"findNext",i=rr.focus.tabbable[l](o.target);i!==t.current&&i!==n.current||(o.preventDefault(),i.focus({preventScroll:!0}))}const{ownerDocument:m}=s,{defaultView:f}=m;return f.addEventListener("keydown",p),s.addEventListener("keydown",c),s.addEventListener("focusout",d),()=>{f.removeEventListener("keydown",p),s.removeEventListener("keydown",c),s.removeEventListener("focusout",d)}}),[]);return[f,(0,d.useMergeRefs)([e,g]),h]}(),o=(0,m.useSelect)((e=>e(Fn).hasMultiSelection()),[]);return[e,(0,d.useMergeRefs)([t,pc(),vc(),hc(),(0,d.useRefEffect)((e=>{if(e.tabIndex=-1,o)return e.setAttribute("aria-label",(0,h.__)("Multiple selected blocks")),()=>{e.removeAttribute("aria-label")}}),[o])]),n]}var kc=(0,s.forwardRef)((function(e,t){let{children:n,...o}=e;const[r,l,a]=bc();return(0,s.createElement)(s.Fragment,null,r,(0,s.createElement)("div",i({},o,{ref:(0,d.useMergeRefs)([l,t]),className:c()(o.className,"block-editor-writing-flow")}),n),a)}));const _c="editor-styles-wrapper";function yc(e){return(0,s.useMemo)((()=>{const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children)}),[e])}var Ec=(0,s.forwardRef)((function(e,t){var n,o;let{contentRef:r,children:l,head:a,tabIndex:u=0,...m}=e;const[,f]=(0,s.useReducer)((()=>({}))),[g,v]=(0,s.useState)(),[b,k]=(0,s.useState)([]),_=yc(null===(n=window.__editorAssets)||void 0===n?void 0:n.styles),y=yc(null===(o=window.__editorAssets)||void 0===o?void 0:o.scripts),E=ac(),[C,w,S]=bc(),B=(0,d.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],l={};for(const t in e)l[t]=e[t];if(e instanceof t.MouseEvent){const e=n.getBoundingClientRect();l.clientX+=e.left,l.clientY+=e.top}const i=new r(e.type,l);!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=(0,d.useRefEffect)((e=>{y.reduce(((t,n)=>t.then((()=>async function(e,t){let{id:n,src:o}=t;return new Promise(((t,r)=>{const l=e.ownerDocument.createElement("script");l.id=n,o?(l.src=o,l.onload=()=>t(),l.onerror=()=>r()):t(),e.appendChild(l)}))}(e,n)))),Promise.resolve()).finally((()=>{f()}))}),[]),x=(0,d.useMergeRefs)([r,E,w]);return(0,s.useEffect)((()=>{var e;g&&(e=g,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(`.${_c}`)||t.includes(".wp-block"))}))&&!e.getElementById(n.id)){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))}})))}),[g]),a=(0,s.createElement)(s.Fragment,null,(0,s.createElement)("style",null,"body{margin:0}"),_.map((e=>{let{tagName:t,href:n,id:o,rel:r,media:l,textContent:i}=e;const a=t.toLowerCase();return"style"===a?(0,s.createElement)(a,{id:o,key:o},i):(0,s.createElement)(a,{href:n,id:o,rel:r,media:l,key:o})})),a),(0,s.createElement)(s.Fragment,null,u>=0&&C,(0,s.createElement)("iframe",i({},m,{ref:(0,d.useMergeRefs)([t,B]),tabIndex:u,title:(0,h.__)("Editor canvas")}),g&&(0,s.createPortal)((0,s.createElement)(s.Fragment,null,(0,s.createElement)("head",{ref:I},a),(0,s.createElement)("body",{ref:x,className:c()(_c,...b)},(0,s.createElement)(p.__experimentalStyleProvider,{document:g},l))),g.documentElement)),u>=0&&S)})),Cc={grad:.9,turn:360,rad:360/(2*Math.PI)},wc=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},Sc=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},Bc=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},Ic=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},xc=function(e){return{r:Bc(e.r,0,255),g:Bc(e.g,0,255),b:Bc(e.b,0,255),a:Bc(e.a)}},Tc=function(e){return{r:Sc(e.r),g:Sc(e.g),b:Sc(e.b),a:Sc(e.a,3)}},Nc=/^#([0-9a-f]{3,8})$/i,Pc=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Mc=function(e){var t=e.r,n=e.g,o=e.b,r=e.a,l=Math.max(t,n,o),i=l-Math.min(t,n,o),s=i?l===t?(n-o)/i:l===n?2+(o-t)/i:4+(t-n)/i:0;return{h:60*(s<0?s+6:s),s:l?i/l*100:0,v:l/255*100,a:r}},Rc=function(e){var t=e.h,n=e.s,o=e.v,r=e.a;t=t/360*6,n/=100,o/=100;var l=Math.floor(t),i=o*(1-n),s=o*(1-(t-l)*n),a=o*(1-(1-t+l)*n),c=l%6;return{r:255*[o,s,i,i,a,o][c],g:255*[a,o,o,s,i,i][c],b:255*[i,i,a,o,o,s][c],a:r}},Lc=function(e){return{h:Ic(e.h),s:Bc(e.s,0,100),l:Bc(e.l,0,100),a:Bc(e.a)}},Ac=function(e){return{h:Sc(e.h),s:Sc(e.s),l:Sc(e.l),a:Sc(e.a,3)}},Dc=function(e){return Rc((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},Oc=function(e){return{h:(t=Mc(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},Fc=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,zc=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Vc=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Hc=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Uc={string:[[function(e){var t=Nc.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?Sc(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?Sc(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Vc.exec(e)||Hc.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:xc({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=Fc.exec(e)||zc.exec(e);if(!t)return null;var n,o,r=Lc({h:(n=t[1],o=t[2],void 0===o&&(o="deg"),Number(n)*(Cc[o]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return Dc(r)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,o=e.b,r=e.a,l=void 0===r?1:r;return wc(t)&&wc(n)&&wc(o)?xc({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,r=e.a,l=void 0===r?1:r;if(!wc(t)||!wc(n)||!wc(o))return null;var i=Lc({h:Number(t),s:Number(n),l:Number(o),a:Number(l)});return Dc(i)},"hsl"],[function(e){var t=e.h,n=e.s,o=e.v,r=e.a,l=void 0===r?1:r;if(!wc(t)||!wc(n)||!wc(o))return null;var i=function(e){return{h:Ic(e.h),s:Bc(e.s,0,100),v:Bc(e.v,0,100),a:Bc(e.a)}}({h:Number(t),s:Number(n),v:Number(o),a:Number(l)});return Rc(i)},"hsv"]]},Gc=function(e,t){for(var n=0;n<t.length;n++){var o=t[n][0](e);if(o)return[o,t[n][1]]}return[null,void 0]},Wc=function(e){return"string"==typeof e?Gc(e.trim(),Uc.string):"object"==typeof e&&null!==e?Gc(e,Uc.object):[null,void 0]},$c=function(e,t){var n=Oc(e);return{h:n.h,s:Bc(n.s+100*t,0,100),l:n.l,a:n.a}},jc=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Kc=function(e,t){var n=Oc(e);return{h:n.h,s:n.s,l:Bc(n.l+100*t,0,100),a:n.a}},qc=function(){function e(e){this.parsed=Wc(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return Sc(jc(this.rgba),2)},e.prototype.isDark=function(){return jc(this.rgba)<.5},e.prototype.isLight=function(){return jc(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=Tc(this.rgba)).r,n=e.g,o=e.b,l=(r=e.a)<1?Pc(Sc(255*r)):"","#"+Pc(t)+Pc(n)+Pc(o)+l;var e,t,n,o,r,l},e.prototype.toRgb=function(){return Tc(this.rgba)},e.prototype.toRgbString=function(){return t=(e=Tc(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 Ac(Oc(this.rgba))},e.prototype.toHslString=function(){return t=(e=Ac(Oc(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=Mc(this.rgba),{h:Sc(e.h),s:Sc(e.s),v:Sc(e.v),a:Sc(e.a,3)};var e},e.prototype.invert=function(){return Yc({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),Yc($c(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),Yc($c(this.rgba,-e))},e.prototype.grayscale=function(){return Yc($c(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),Yc(Kc(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),Yc(Kc(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?Yc({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Sc(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=Oc(this.rgba);return"number"==typeof e?Yc({h:e,s:t.s,l:t.l,a:t.a}):Sc(t.h)},e.prototype.isEqual=function(e){return this.toHex()===Yc(e).toHex()},e}(),Yc=function(e){return e instanceof qc?e:new qc(e)},Xc=[],Qc=function(e){e.forEach((function(e){Xc.indexOf(e)<0&&(e(qc,Uc),Xc.push(e))}))};function Zc(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 l={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var r,i,s=o[this.toHex()];if(s)return s;if(null==t?void 0:t.closest){var a=this.toRgb(),c=1/0,u="black";if(!l.length)for(var d in n)l[d]=new e(n[d]).toRgb();for(var p in n){var m=(r=a,i=l[p],Math.pow(r.r-i.r,2)+Math.pow(r.g-i.g,2)+Math.pow(r.b-i.b,2));m<c&&(c=m,u=p)}return u}},t.string.push([function(t){var o=t.toLowerCase(),r="transparent"===o?"#0000":n[o];return r?new e(r).toRgb():null},"name"])}var Jc=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},eu=function(e){return.2126*Jc(e.r)+.7152*Jc(e.g)+.0722*Jc(e.b)};function tu(e){e.prototype.luminance=function(){return e=eu(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,r,l,i,s,a,c=t instanceof e?t:new e(t);return l=this.rgba,i=c.toRgb(),n=(s=eu(l))>(a=eu(i))?(s+.05)/(a+.05):(a+.05)/(s+.05),void 0===(o=2)&&(o=0),void 0===r&&(r=Math.pow(10,o)),Math.floor(r*n)/r+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(i=void 0===(l=(n=t).size)?"normal":l,"AAA"===(r=void 0===(o=n.level)?"AA":o)&&"normal"===i?7:"AA"===r&&"large"===i?3:4.5);var n,o,r,l,i}}var nu=n(3124),ou=n.n(nu);const ru=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function lu(e,t){t=t||{};let n=1,o=1;function r(e){const t=e.match(/\n/g);t&&(n+=t.length);const r=e.lastIndexOf("\n");o=~r?e.length-r:o+e.length}function l(){const e={line:n,column:o};return function(t){return t.position=new i(e),m(),t}}function i(e){this.start=e,this.end={line:n,column:o},this.source=t.source}i.prototype.content=e;const s=[];function a(r){const l=new Error(t.source+":"+n+":"+o+": "+r);if(l.reason=r,l.filename=t.source,l.line=n,l.column=o,l.source=e,!t.silent)throw l;s.push(l)}function c(){return p(/^{\s*/)}function u(){return p(/^}/)}function d(){let t;const n=[];for(m(),f(n);e.length&&"}"!==e.charAt(0)&&(t=w()||S());)!1!==t&&(n.push(t),f(n));return n}function p(t){const n=t.exec(e);if(!n)return;const o=n[0];return r(o),e=e.slice(o.length),n}function m(){p(/^\s*/)}function f(e){let t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){const t=l();if("/"!==e.charAt(0)||"*"!==e.charAt(1))return;let n=2;for(;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return a("End of comment missing");const i=e.slice(2,n-2);return o+=2,r(i),e=e.slice(n),o+=2,t({type:"comment",comment:i})}function g(){const e=p(/^([^{]+)/);if(e)return iu(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function v(){const e=l();let t=p(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!t)return;if(t=iu(t[0]),!p(/^:\s*/))return a("property missing ':'");const n=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),o=e({type:"declaration",property:t.replace(ru,""),value:n?iu(n[0]).replace(ru,""):""});return p(/^[;\s]*/),o}function b(){const e=[];if(!c())return a("missing '{'");let t;for(f(e);t=v();)!1!==t&&(e.push(t),f(e));return u()?e:a("missing '}'")}function k(){let e;const t=[],n=l();for(;e=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),p(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:b()})}const _=C("import"),y=C("charset"),E=C("namespace");function C(e){const t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){const n=l(),o=p(t);if(!o)return;const r={type:e};return r[e]=o[1].trim(),n(r)}}function w(){if("@"===e[0])return function(){const e=l();let t=p(/^@([-\w]+)?keyframes\s*/);if(!t)return;const n=t[1];if(t=p(/^([-\w]+)\s*/),!t)return a("@keyframes missing name");const o=t[1];if(!c())return a("@keyframes missing '{'");let r,i=f();for(;r=k();)i.push(r),i=i.concat(f());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:i}):a("@keyframes missing '}'")}()||function(){const e=l(),t=p(/^@media *([^{]+)/);if(!t)return;const n=iu(t[1]);if(!c())return a("@media missing '{'");const o=f().concat(d());return u()?e({type:"media",media:n,rules:o}):a("@media missing '}'")}()||function(){const e=l(),t=p(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:iu(t[1]),media:iu(t[2])})}()||function(){const e=l(),t=p(/^@supports *([^{]+)/);if(!t)return;const n=iu(t[1]);if(!c())return a("@supports missing '{'");const o=f().concat(d());return u()?e({type:"supports",supports:n,rules:o}):a("@supports missing '}'")}()||_()||y()||E()||function(){const e=l(),t=p(/^@([-\w]+)?document *([^{]+)/);if(!t)return;const n=iu(t[1]),o=iu(t[2]);if(!c())return a("@document missing '{'");const r=f().concat(d());return u()?e({type:"document",document:o,vendor:n,rules:r}):a("@document missing '}'")}()||function(){const e=l();if(!p(/^@page */))return;const t=g()||[];if(!c())return a("@page missing '{'");let n,o=f();for(;n=v();)o.push(n),o=o.concat(f());return u()?e({type:"page",selectors:t,declarations:o}):a("@page missing '}'")}()||function(){const e=l();if(!p(/^@host\s*/))return;if(!c())return a("@host missing '{'");const t=f().concat(d());return u()?e({type:"host",rules:t}):a("@host missing '}'")}()||function(){const e=l();if(!p(/^@font-face\s*/))return;if(!c())return a("@font-face missing '{'");let t,n=f();for(;t=v();)n.push(t),n=n.concat(f());return u()?e({type:"font-face",declarations:n}):a("@font-face missing '}'")}()}function S(){const e=l(),t=g();return t?(f(),e({type:"rule",selectors:t,declarations:b()})):a("selector missing")}return su(function(){const e=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:s}}}())}function iu(e){return e?e.replace(/^\s+|\s+$/g,""):""}function su(e,t){const n=e&&"string"==typeof e.type,o=n?e:t;for(const t in e){const n=e[t];Array.isArray(n)?n.forEach((function(e){su(e,o)})):n&&"object"==typeof n&&su(n,o)}return n&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var au=n(8575),cu=n.n(au),uu=du;function du(e){this.options=e||{}}du.prototype.emit=function(e){return e},du.prototype.visit=function(e){return this[e.type](e)},du.prototype.mapVisit=function(e,t){let n="";t=t||"";for(let o=0,r=e.length;o<r;o++)n+=this.visit(e[o]),t&&o<r-1&&(n+=this.emit(t));return n};var pu=mu;function mu(e){uu.call(this,e)}cu()(mu,uu),mu.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},mu.prototype.comment=function(e){return this.emit("",e.position)},mu.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},mu.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},mu.prototype.document=function(e){const t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},mu.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},mu.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},mu.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},mu.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},mu.prototype.keyframe=function(e){const t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},mu.prototype.page=function(e){const t=e.selectors.length?e.selectors.join(", "):"";return this.emit("@page "+t,e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},mu.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},mu.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},mu.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},mu.prototype.rule=function(e){const t=e.declarations;return t.length?this.emit(e.selectors.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}"):""},mu.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var fu=hu;function hu(e){e=e||{},uu.call(this,e),this.indentation=e.indent}cu()(hu,uu),hu.prototype.compile=function(e){return this.stylesheet(e)},hu.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},hu.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},hu.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},hu.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},hu.prototype.document=function(e){const t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("  {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},hu.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},hu.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},hu.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},hu.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.keyframes,"\n")+this.emit(this.indent(-1)+"}")},hu.prototype.keyframe=function(e){const t=e.declarations;return this.emit(this.indent())+this.emit(e.values.join(", "),e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")},hu.prototype.page=function(e){const t=e.selectors.length?e.selectors.join(", ")+" ":"";return this.emit("@page "+t,e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},hu.prototype["font-face"]=function(e){return this.emit("@font-face ",e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},hu.prototype.host=function(e){return this.emit("@host",e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},hu.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},hu.prototype.rule=function(e){const t=this.indent(),n=e.declarations;return n.length?this.emit(e.selectors.map((function(e){return t+e})).join(",\n"),e.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(n,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}"):""},hu.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},hu.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||"  ")};var gu=function(e,t){try{const r=lu(e),l=ou().map(r,(function(e){if(!e)return e;const n=t(e);return this.update(n)}));return n=l,((o=o||{}).compress?new pu(o):new fu(o)).compile(n)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}var n,o};function vu(e){return 0!==e.value.indexOf("data:")&&0!==e.value.indexOf("#")&&(t=e.value,!/^\/(?!\/)/.test(t)&&!function(e){return/^(?:https?:)?\/\//.test(e)}(e.value));var t}function bu(e,t){return new URL(e,t).toString()}var ku=e=>t=>{if("declaration"===t.type){const l=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]};vu(e)&&o.push(e)}return o}(t.value).map((r=e,e=>({...e,newUrl:"url("+e.before+e.quote+bu(e.value,r)+e.quote+e.after+")"})));return{...t,value:(n=t.value,o=l,o.forEach((e=>{n=n.replace(e.source,e.newUrl)})),n)}}var n,o,r;return t};const _u=/^(body|html|:root).*$/;var yu=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(_u)?n.replace(/^(body|html|:root)/,e):e+" "+n;return"rule"===n.type?{...n,selectors:n.selectors.map(o)}:n}};var Eu=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,u.map)(e,(e=>{let{css:n,baseURL:o}=e;const r=[];return t&&r.push(yu(t)),o&&r.push(ku(o)),r.length?gu(n,(0,d.compose)(r)):n}))};const Cu=".editor-styles-wrapper";function wu(e){return(0,s.useCallback)((e=>{if(!e)return;const{ownerDocument:t}=e,{defaultView:n,body:o}=t,r=t.querySelector(Cu);let l;if(r)l=n.getComputedStyle(r,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=Yc(l);i.luminance()>.5||0===i.alpha()?o.classList.remove("is-dark-theme"):o.classList.add("is-dark-theme")}),[e])}function Su(e){let{styles:t}=e;const n=(0,s.useMemo)((()=>Eu(t,Cu)),[t]);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("style",{ref:wu(t)}),n.map(((e,t)=>(0,s.createElement)("style",{key:t},e))))}let Bu;Qc([Zc,tu]);const Iu=2e3;var xu=function(e){let{viewportWidth:t,__experimentalPadding:n}=e;const[o,{width:r}]=(0,d.useResizeObserver)(),[l,{height:i}]=(0,d.useResizeObserver)(),a=(0,m.useSelect)((e=>e(Fn).getSettings().styles),[]),c=(0,s.useMemo)((()=>a?[...a,{css:"body{height:auto;overflow:hidden;}",__unstableType:"presets"}]:a),[a]);Bu=Bu||(0,d.pure)(Mm);const u=r/t;return(0,s.createElement)("div",{className:"block-editor-block-preview__container"},o,(0,s.createElement)(p.Disabled,{className:"block-editor-block-preview__content",style:{transform:`scale(${u})`,height:i*u,maxHeight:i>Iu?Iu*u:void 0}},(0,s.createElement)(Ec,{head:(0,s.createElement)(Su,{styles:c}),contentRef:(0,d.useRefEffect)((e=>{const{ownerDocument:{documentElement:t}}=e;t.classList.add("block-editor-block-preview__content-iframe"),t.style.position="absolute",t.style.width="100%",e.style.padding=n+"px",e.style.position="relative"}),[]),"aria-hidden":!0,tabIndex:-1,style:{position:"absolute",width:t,height:i,pointerEvents:"none",maxHeight:Iu}},l,(0,s.createElement)(Bu,{renderAppender:!1}))))};var Tu=(0,s.memo)((function(e){let{blocks:t,__experimentalPadding:n=0,viewportWidth:o=1200,__experimentalLive:r=!1,__experimentalOnClick:l}=e;const i=(0,m.useSelect)((e=>e(Fn).getSettings()),[]),a=(0,s.useMemo)((()=>{const e={...i};return e.__experimentalBlockPatterns=[],e}),[i]),c=(0,s.useMemo)((()=>(0,u.castArray)(t)),[t]);return t&&0!==t.length?(0,s.createElement)(ic,{value:c,settings:a},r?(0,s.createElement)(sc,{onClick:l}):(0,s.createElement)(xu,{viewportWidth:o,__experimentalPadding:n})):null}));function Nu(e){let{blocks:t,props:n={},__experimentalLayout:o}=e;const r=(0,m.useSelect)((e=>e(Fn).getSettings()),[]),l=(0,d.__experimentalUseDisabled)(),i=(0,d.useMergeRefs)([n.ref,l]),a=(0,s.useMemo)((()=>({...r,__experimentalBlockPatterns:[]})),[r]),p=(0,s.useMemo)((()=>(0,u.castArray)(t)),[t]),f=(0,s.createElement)(ic,{value:p,settings:a},(0,s.createElement)(Lm,{renderAppender:!1,__experimentalLayout:o}));return{...n,ref:i,className:c()(n.className,"block-editor-block-preview__live-content","components-disabled"),children:null!=t&&t.length?f:null}}var Pu=function(e){var t,n;let{item:o}=e;const{name:l,title:i,icon:a,description:c,initialAttributes:u}=o,d=(0,r.getBlockType)(l),p=(0,r.isReusableBlock)(o);return(0,s.createElement)("div",{className:"block-editor-inserter__preview-container"},(0,s.createElement)("div",{className:"block-editor-inserter__preview"},p||null!=d&&d.example?(0,s.createElement)("div",{className:"block-editor-inserter__preview-content"},(0,s.createElement)(Tu,{__experimentalPadding:16,viewportWidth:null!==(t=null===(n=d.example)||void 0===n?void 0:n.viewportWidth)&&void 0!==t?t:500,blocks:d.example?(0,r.getBlockFromExample)(o.name,{attributes:{...d.example.attributes,...u},innerBlocks:d.example.innerBlocks}):(0,r.createBlock)(l,u)})):(0,s.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},(0,h.__)("No Preview Available."))),!p&&(0,s.createElement)(rc,{title:i,icon:a,description:c}))};var Mu=(0,s.createContext)();var Ru=(0,s.forwardRef)((function(e,t){let{isFirst:n,as:o,children:r,...l}=e;const a=(0,s.useContext)(Mu);return(0,s.createElement)(p.__unstableCompositeItem,i({ref:t,state:a,role:"option",focusable:!0},l),(e=>{const t={...e,tabIndex:n?0:e.tabIndex};return o?(0,s.createElement)(o,t,r):"function"==typeof r?r(t):(0,s.createElement)(p.Button,t,r)}))}));var Lu=(0,s.createElement)(O.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},(0,s.createElement)(O.Path,{d:"M5 4h2V2H5v2zm6-2v2h2V2h-2zm-6 8h2V8H5v2zm6 0h2V8h-2v2zm-6 6h2v-2H5v2zm6 0h2v-2h-2v2z"}));function Au(e){let{count:t,icon:n}=e;return(0,s.createElement)("div",{className:"block-editor-block-draggable-chip-wrapper"},(0,s.createElement)("div",{className:"block-editor-block-draggable-chip"},(0,s.createElement)(p.Flex,{justify:"center",className:"block-editor-block-draggable-chip__content"},(0,s.createElement)(p.FlexItem,null,n?(0,s.createElement)(oc,{icon:n}):(0,h.sprintf)((0,h._n)("%d block","%d blocks",t),t)),(0,s.createElement)(p.FlexItem,null,(0,s.createElement)(oc,{icon:Lu})))))}var Du=e=>{let{isEnabled:t,blocks:n,icon:o,children:r}=e;const l={type:"inserter",blocks:n};return(0,s.createElement)(p.Draggable,{__experimentalTransferDataType:"wp-blocks",transferData:l,__experimentalDragComponent:(0,s.createElement)(Au,{count:n.length,icon:o})},(e=>{let{onDraggableStart:n,onDraggableEnd:o}=e;return r({draggable:t,onDragStart:t?n:void 0,onDragEnd:t?o:void 0})}))};function Ou(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||["iPad","iPhone"].includes(t)}var Fu=(0,s.memo)((function(e){let{className:t,isFirst:n,item:o,onSelect:l,onHover:a,isDraggable:u,...d}=e;const p=(0,s.useRef)(!1),m=o.icon?{backgroundColor:o.icon.background,color:o.icon.foreground}:{},f=(0,s.useMemo)((()=>[(0,r.createBlock)(o.name,o.initialAttributes,(0,r.createBlocksFromInnerBlocksTemplate)(o.innerBlocks))]),[o.name,o.initialAttributes,o.initialAttributes]);return(0,s.createElement)(Du,{isEnabled:u&&!o.disabled,blocks:f,icon:o.icon},(e=>{let{draggable:r,onDragStart:u,onDragEnd:f}=e;return(0,s.createElement)("div",{className:"block-editor-block-types-list__list-item",draggable:r,onDragStart:e=>{p.current=!0,u&&(a(null),u(e))},onDragEnd:e=>{p.current=!1,f&&f(e)}},(0,s.createElement)(Ru,i({isFirst:n,className:c()("block-editor-block-types-list__item",t),disabled:o.isDisabled,onClick:e=>{e.preventDefault(),l(o,Ou()?e.metaKey:e.ctrlKey),a(null)},onKeyDown:e=>{const{keyCode:t}=e;t===Ma.ENTER&&(e.preventDefault(),l(o,Ou()?e.metaKey:e.ctrlKey),a(null))},onFocus:()=>{p.current||a(o)},onMouseEnter:()=>{p.current||a(o)},onMouseLeave:()=>a(null),onBlur:()=>a(null)},d),(0,s.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:m},(0,s.createElement)(oc,{icon:o.icon,showColors:!0})),(0,s.createElement)("span",{className:"block-editor-block-types-list__item-title"},o.title)))}))}));var zu=(0,s.forwardRef)((function(e,t){const[n,o]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{n&&(0,Nt.speak)((0,h.__)("Use left and right arrow keys to move through blocks"))}),[n]),(0,s.createElement)("div",i({ref:t,role:"listbox","aria-orientation":"horizontal",onFocus:()=>{o(!0)},onBlur:e=>{!e.currentTarget.contains(e.relatedTarget)&&o(!1)}},e))}));var Vu=(0,s.forwardRef)((function(e,t){const n=(0,s.useContext)(Mu);return(0,s.createElement)(p.__unstableCompositeGroup,i({state:n,role:"presentation",ref:t},e))}));var Hu=function(e){let{items:t=[],onSelect:n,onHover:o=(()=>{}),children:l,label:i,isDraggable:a=!0}=e;return(0,s.createElement)(zu,{className:"block-editor-block-types-list","aria-label":i},function(e,t){const n=[];for(let o=0,r=e.length;o<r;o+=t)n.push(e.slice(o,o+t));return n}(t,3).map(((e,t)=>(0,s.createElement)(Vu,{key:t},e.map(((e,l)=>(0,s.createElement)(Fu,{key:e.id,item:e,className:(0,r.getBlockMenuDefaultClassName)(e.id),onSelect:n,onHover:o,isDraggable:a,isFirst:0===t&&0===l})))))),l)};var Uu=function(e){let{title:t,icon:n,children:o}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"block-editor-inserter__panel-header"},(0,s.createElement)("h2",{className:"block-editor-inserter__panel-title"},t),(0,s.createElement)(p.Icon,{icon:n})),(0,s.createElement)("div",{className:"block-editor-inserter__panel-content"},o))};var Gu=(e,t)=>{const{categories:n,collections:o,items:l}=(0,m.useSelect)((t=>{const{getInserterItems:n}=t(Fn),{getCategories:o,getCollections:l}=t(r.store);return{categories:o(),collections:l(),items:n(e)}}),[e]);return[l,n,o,(0,s.useCallback)(((e,n)=>{let{name:o,initialAttributes:l,innerBlocks:i}=e;const s=(0,r.createBlock)(o,l,(0,r.createBlocksFromInnerBlocksTemplate)(i));t(s,void 0,n)}),[t])]};var Wu=function(e){let{children:t}=e;const n=(0,p.__unstableUseCompositeState)({shift:!0,wrap:"horizontal"});return(0,s.createElement)(Mu.Provider,{value:n},t)};const $u=[];var ju=function(e){let{rootClientId:t,onInsert:n,onHover:o,showMostUsedBlocks:r}=e;const[l,i,a,c]=Gu(t,n),p=(0,s.useMemo)((()=>(0,u.orderBy)(l,["frecency"],["desc"]).slice(0,6)),[l]),m=(0,s.useMemo)((()=>l.filter((e=>!e.category))),[l]),f=(0,s.useMemo)((()=>(0,u.flow)((e=>e.filter((e=>e.category&&"reusable"!==e.category))),(e=>(0,u.groupBy)(e,"category")))(l)),[l]),g=(0,s.useMemo)((()=>{const e={...a};return Object.keys(a).forEach((t=>{e[t]=l.filter((e=>(e=>e.name.split("/")[0])(e)===t)),0===e[t].length&&delete e[t]})),e}),[l,a]);(0,s.useEffect)((()=>()=>o(null)),[]);const v=(0,d.useAsyncList)(i),b=i.length===v.length,k=(0,s.useMemo)((()=>Object.entries(a)),[a]),_=(0,d.useAsyncList)(b?k:$u);return(0,s.createElement)(Wu,null,(0,s.createElement)("div",null,r&&!!p.length&&(0,s.createElement)(Uu,{title:(0,h._x)("Most used","blocks")},(0,s.createElement)(Hu,{items:p,onSelect:c,onHover:o,label:(0,h._x)("Most used","blocks")})),(0,u.map)(v,(e=>{const t=f[e.slug];return t&&t.length?(0,s.createElement)(Uu,{key:e.slug,title:e.title,icon:e.icon},(0,s.createElement)(Hu,{items:t,onSelect:c,onHover:o,label:e.title})):null})),b&&m.length>0&&(0,s.createElement)(Uu,{className:"block-editor-inserter__uncategorized-blocks-panel",title:(0,h.__)("Uncategorized")},(0,s.createElement)(Hu,{items:m,onSelect:c,onHover:o,label:(0,h.__)("Uncategorized")})),(0,u.map)(_,(e=>{let[t,n]=e;const r=g[t];return r&&r.length?(0,s.createElement)(Uu,{key:t,title:n.title,icon:n.icon},(0,s.createElement)(Hu,{items:r,onSelect:c,onHover:o,label:n.title})):null}))))};var Ku=function(e){let{selectedCategory:t,patternCategories:n,onClickCategory:o,openPatternExplorer:r}=e;const l=(0,d.useViewportMatch)("medium","<"),i=c()("block-editor-inserter__panel-header","block-editor-inserter__panel-header-patterns");return(0,s.createElement)(p.Flex,{justify:"space-between",align:"start",gap:"4",className:i},(0,s.createElement)(p.FlexItem,{isBlock:!0},(0,s.createElement)(p.SelectControl,{className:"block-editor-inserter__panel-dropdown",label:(0,h.__)("Filter patterns"),hideLabelFromVision:!0,value:t.name,onChange:e=>{o(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})()})),!l&&(0,s.createElement)(p.FlexItem,null,(0,s.createElement)(p.Button,{variant:"secondary",className:"block-editor-inserter__patterns-explorer-expand",label:(0,h.__)("Explore all patterns"),onClick:()=>r()},(0,h._x)("Explore","Label for showing all block patterns"))))},qu=window.wp.notices;var Yu=(e,t)=>{const{patternCategories:n,patterns:o}=(0,m.useSelect)((e=>{const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(Fn);return{patterns:n(t),patternCategories:o().__experimentalBlockPatternCategories}}),[t]),{createSuccessNotice:l}=(0,m.useDispatch)(qu.store),i=(0,s.useCallback)(((t,n)=>{e((0,u.map)(n,(e=>(0,r.cloneBlock)(e))),t.name),l((0,h.sprintf)((0,h.__)('Block pattern "%s" inserted.'),t.title),{type:"snackbar"})}),[]);return[o,n,i]};function Xu(e){let{isDraggable:t,pattern:n,onClick:o,composite:r}=e;const{blocks:l,viewportWidth:a}=n,c=`block-editor-block-patterns-list__item-description-${(0,d.useInstanceId)(Xu)}`;return(0,s.createElement)(Du,{isEnabled:t,blocks:l},(e=>{let{draggable:t,onDragStart:u,onDragEnd:d}=e;return(0,s.createElement)("div",{className:"block-editor-block-patterns-list__list-item","aria-label":n.title,"aria-describedby":n.description?c:void 0,draggable:t,onDragStart:u,onDragEnd:d},(0,s.createElement)(p.__unstableCompositeItem,i({role:"option",as:"div"},r,{className:"block-editor-block-patterns-list__item",onClick:()=>o(n,l)}),(0,s.createElement)(Tu,{blocks:l,viewportWidth:a}),(0,s.createElement)("div",{className:"block-editor-block-patterns-list__item-title"},n.title),!!n.description&&(0,s.createElement)(p.VisuallyHidden,{id:c},n.description)))}))}function Qu(){return(0,s.createElement)("div",{className:"block-editor-block-patterns-list__item is-placeholder"})}var Zu=function(e){let{isDraggable:t,blockPatterns:n,shownPatterns:o,onClickPattern:r,orientation:l,label:a=(0,h.__)("Block Patterns")}=e;const c=(0,p.__unstableUseCompositeState)({orientation:l});return(0,s.createElement)(p.__unstableComposite,i({},c,{role:"listbox",className:"block-editor-block-patterns-list","aria-label":a}),n.map((e=>o.includes(e)?(0,s.createElement)(Xu,{key:e.name,pattern:e,onClick:r,isDraggable:t,composite:c}):(0,s.createElement)(Qu,{key:e.name}))))};function Ju(e){let{selectedCategory:t,patternCategories:n,onClickCategory:o}=e;const r="block-editor-block-patterns-explorer__sidebar";return(0,s.createElement)("div",{className:`${r}__categories-list`},n.map((e=>{let{name:n,label:l}=e;return(0,s.createElement)(p.Button,{key:n,label:l,className:`${r}__categories-list__item`,isPressed:t===n,onClick:()=>{o(n)}},l)})))}function ed(e){let{filterValue:t,setFilterValue:n}=e;return(0,s.createElement)("div",{className:"block-editor-block-patterns-explorer__search"},(0,s.createElement)(p.SearchControl,{onChange:n,value:t,label:(0,h.__)("Search for patterns"),placeholder:(0,h.__)("Search")}))}var td=function(e){let{selectedCategory:t,patternCategories:n,onClickCategory:o,filterValue:r,setFilterValue:l}=e;return(0,s.createElement)("div",{className:"block-editor-block-patterns-explorer__sidebar"},(0,s.createElement)(ed,{filterValue:r,setFilterValue:l}),!r&&(0,s.createElement)(Ju,{selectedCategory:t,patternCategories:n,onClickCategory:o}))};var nd=function(){return(0,s.createElement)("div",{className:"block-editor-inserter__no-results"},(0,s.createElement)(wo,{className:"block-editor-inserter__no-results-icon",icon:nc}),(0,s.createElement)("p",null,(0,h.__)("No results found.")))};var od=function(e){let{rootClientId:t="",insertionIndex:n,clientId:o,isAppender:l,onSelect:i,shouldFocusBlock:a=!0}=e;const{getSelectedBlock:c}=(0,m.useSelect)(Fn),{destinationRootClientId:d,destinationIndex:p}=(0,m.useSelect)((e=>{const{getSelectedBlockClientId:r,getBlockRootClientId:i,getBlockIndex:s,getBlockOrder:a}=e(Fn),c=r();let u,d=t;return void 0!==n?u=n:o?u=s(o):!l&&c?(d=i(c),u=s(c)+1):u=a(d).length,{destinationRootClientId:d,destinationIndex:u}}),[t,n,o,l]),{replaceBlocks:f,insertBlocks:g,showInsertionPoint:v,hideInsertionPoint:b}=(0,m.useDispatch)(Fn),k=(0,s.useCallback)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=c();!l&&o&&(0,r.isUnmodifiedDefaultBlock)(o)?f(o.clientId,e,null,a||n?0:null,t):g(e,p,d,!0,a||n?0:null,t);const s=(0,h.sprintf)((0,h._n)("%d block added.","%d blocks added.",(0,u.castArray)(e).length),(0,u.castArray)(e).length);(0,Nt.speak)(s),i&&i()}),[l,c,f,g,d,p,i,a]),_=(0,s.useCallback)((e=>{e?v(d,p):b()}),[v,b,d,p]);return[d,k,_]};const rd=e=>e.name||"",ld=e=>e.title,id=e=>e.description||"",sd=e=>e.keywords||[],ad=e=>e.category,cd=()=>null;function ud(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(0,u.deburr)(e),e=e.replace(/^\//,""),e=e.toLowerCase(),e}const dd=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,u.words)(ud(e))},pd=(e,t)=>(0,u.differenceWith)(e,dd(t),((e,t)=>t.includes(e))),md=(e,t,n,o)=>{if(0===dd(o).length)return e;return fd(e,o,{getCategory:e=>{var n;return null===(n=(0,u.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}})},fd=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=dd(t);if(0===o.length)return e;const r=e.map((e=>[e,hd(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 hd(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{getName:o=rd,getTitle:r=ld,getDescription:l=id,getKeywords:i=sd,getCategory:s=ad,getCollection:a=cd}=n,c=o(e),d=r(e),p=l(e),m=i(e),f=s(e),h=a(e),g=ud(t),v=ud(d);let b=0;if(g===v)b+=30;else if(v.startsWith(g))b+=20;else{const e=[c,d,p,...m,f,h].join(" "),t=(0,u.words)(g);0===pd(t,e).length&&(b+=10)}return 0!==b&&c.startsWith("core/")&&b++,b}function gd(e){let{filterValue:t,filteredBlockPatternsLength:n}=e;return t?(0,s.createElement)(p.__experimentalHeading,{level:2,lineHeight:"48px",className:"block-editor-block-patterns-explorer__search-results-count"},(0,h.sprintf)((0,h._n)('%1$d pattern found for "%2$s"','%1$d patterns found for "%2$s"',n),n,t)):null}var vd=function(e){let{filterValue:t,selectedCategory:n,patternCategories:o}=e;const r=(0,d.useDebounce)(Nt.speak,500),[l,i]=od({shouldFocusBlock:!0}),[a,,c]=Yu(i,l),u=(0,s.useMemo)((()=>o.map((e=>e.name))),[o]),p=(0,s.useMemo)((()=>t?fd(a,t):a.filter((e=>{var t,o;return"uncategorized"===n?!(null!==(t=e.categories)&&void 0!==t&&t.length)||e.categories.every((e=>!u.includes(e))):null===(o=e.categories)||void 0===o?void 0:o.includes(n)}))),[t,n,a]);(0,s.useEffect)((()=>{if(!t)return;const e=p.length,n=(0,h.sprintf)((0,h._n)("%d result found.","%d results found.",e),e);r(n)}),[t,r]);const m=(0,d.useAsyncList)(p,{step:2}),f=!(null==p||!p.length);return(0,s.createElement)("div",{className:"block-editor-block-patterns-explorer__list"},f&&(0,s.createElement)(gd,{filterValue:t,filteredBlockPatternsLength:p.length}),(0,s.createElement)(Wu,null,!f&&(0,s.createElement)(nd,null),f&&(0,s.createElement)(Zu,{shownPatterns:m,blockPatterns:p,onClickPattern:c,isDraggable:!1})))};function bd(e){let{initialCategory:t,patternCategories:n}=e;const[o,r]=(0,s.useState)(""),[l,i]=(0,s.useState)(null==t?void 0:t.name);return(0,s.createElement)("div",{className:"block-editor-block-patterns-explorer"},(0,s.createElement)(td,{selectedCategory:l,patternCategories:n,onClickCategory:i,filterValue:o,setFilterValue:r}),(0,s.createElement)(vd,{filterValue:o,selectedCategory:l,patternCategories:n}))}var kd=function(e){let{onModalClose:t,...n}=e;return(0,s.createElement)(p.Modal,{title:(0,h.__)("Patterns"),closeLabel:(0,h.__)("Close"),onRequestClose:t,isFullScreen:!0},(0,s.createElement)(bd,n))};function _d(e){let{rootClientId:t,onInsert:n,selectedCategory:o,populatedCategories:r}=e;const[l,,i]=Yu(n,t),a=(0,s.useCallback)((e=>{var t;if(null===(t=e.categories)||void 0===t||!t.length)return 1/0;const n=r.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)))}),[r]),c=(0,s.useMemo)((()=>l.filter((e=>{var t;return"uncategorized"===o.name?a(e)===1/0:null===(t=e.categories)||void 0===t?void 0:t.includes(o.name)}))),[l,o]),u=(0,s.useMemo)((()=>c.sort(((e,t)=>a(e)-a(t)))),[c,a]),p=(0,d.useAsyncList)(u);return c.length?(0,s.createElement)("div",{className:"block-editor-inserter__panel-content"},(0,s.createElement)(Zu,{shownPatterns:p,blockPatterns:c,onClickPattern:i,label:o.label,orientation:"vertical",isDraggable:!0})):null}var yd=function(e){let{rootClientId:t,onInsert:n,onClickCategory:o,selectedCategory:r}=e;const[l,i]=(0,s.useState)(!1),[a,c]=Yu(),u=(0,s.useCallback)((e=>!(!e.categories||!e.categories.length)&&e.categories.some((e=>c.some((t=>t.name===e))))),[c]),d=(0,s.useMemo)((()=>{const e=c.filter((e=>a.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 a.some((e=>!u(e)))&&!e.find((e=>"uncategorized"===e.name))&&e.push({name:"uncategorized",label:(0,h._x)("Uncategorized")}),e}),[a,c]),p=r||d[0];return(0,s.createElement)(s.Fragment,null,!l&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Ku,{selectedCategory:p,patternCategories:d,onClickCategory:o,openPatternExplorer:()=>i(!0)}),(0,s.createElement)(_d,{rootClientId:t,onInsert:n,selectedCategory:p,populatedCategories:d})),l&&(0,s.createElement)(kd,{initialCategory:p,patternCategories:d,onModalClose:()=>i(!1)}))},Ed=window.wp.url;function Cd(e){let{onHover:t,onInsert:n,rootClientId:o}=e;const[r,,,l]=Gu(o,n),i=(0,s.useMemo)((()=>r.filter((e=>{let{category:t}=e;return"reusable"===t}))),[r]);return 0===i.length?(0,s.createElement)(nd,null):(0,s.createElement)(Uu,{title:(0,h.__)("Reusable blocks")},(0,s.createElement)(Hu,{items:i,onSelect:l,onHover:t,label:(0,h.__)("Reusable blocks")}))}var wd=function(e){let{rootClientId:t,onInsert:n,onHover:o}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Cd,{onHover:o,onInsert:n,rootClientId:t}),(0,s.createElement)("div",{className:"block-editor-inserter__manage-reusable-blocks-container"},(0,s.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:(0,Ed.addQueryArgs)("edit.php",{post_type:"wp_block"})},(0,h.__)("Manage Reusable blocks"))))};const{Fill:Sd,Slot:Bd}=(0,p.createSlotFill)("__unstableInserterMenuExtension");Sd.Slot=Bd;var Id=Sd;const xd=[];var Td=function(e){let{filterValue:t,onSelect:n,onHover:o,rootClientId:r,clientId:l,isAppender:i,__experimentalInsertionIndex:a,maxBlockPatterns:c,maxBlockTypes:m,showBlockDirectory:f=!1,isDraggable:g=!0,shouldFocusBlock:v=!0}=e;const b=(0,d.useDebounce)(Nt.speak,500),[k,_]=od({onSelect:n,rootClientId:r,clientId:l,isAppender:i,insertionIndex:a,shouldFocusBlock:v}),[y,E,C,w]=Gu(k,_),[S,,B]=Yu(_,k),I=(0,s.useMemo)((()=>{const e=md((0,u.orderBy)(y,["frecency"],["desc"]),E,C,t);return void 0!==m?e.slice(0,m):e}),[t,y,E,C,m]),x=(0,s.useMemo)((()=>{const e=fd(S,t);return void 0!==c?e.slice(0,c):e}),[t,S,c]);(0,s.useEffect)((()=>{if(!t)return;const e=I.length+x.length,n=(0,h.sprintf)((0,h._n)("%d result found.","%d results found.",e),e);b(n)}),[t,b]);const T=(0,d.useAsyncList)(I,{step:9}),N=(0,d.useAsyncList)(T.length===I.length?x:xd),P=!(0,u.isEmpty)(I)||!(0,u.isEmpty)(x);return(0,s.createElement)(Wu,null,!f&&!P&&(0,s.createElement)(nd,null),!!I.length&&(0,s.createElement)(Uu,{title:(0,s.createElement)(p.VisuallyHidden,null,(0,h.__)("Blocks"))},(0,s.createElement)(Hu,{items:T,onSelect:w,onHover:o,label:(0,h.__)("Blocks"),isDraggable:g})),!!I.length&&!!x.length&&(0,s.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"}),!!x.length&&(0,s.createElement)(Uu,{title:(0,s.createElement)(p.VisuallyHidden,null,(0,h.__)("Block Patterns"))},(0,s.createElement)("div",{className:"block-editor-inserter__quick-inserter-patterns"},(0,s.createElement)(Zu,{shownPatterns:N,blockPatterns:x,onClickPattern:B,isDraggable:g}))),f&&(0,s.createElement)(Id.Slot,{fillProps:{onSelect:w,onHover:o,filterValue:t,hasItems:P,rootClientId:k}},(e=>e.length?e:P?null:(0,s.createElement)(nd,null))))};const Nd={name:"blocks",title:(0,h.__)("Blocks")},Pd={name:"patterns",title:(0,h.__)("Patterns")},Md={name:"reusable",title:(0,h.__)("Reusable")};var Rd=function(e){let{children:t,showPatterns:n=!1,showReusableBlocks:o=!1,onSelect:r}=e;const l=(0,s.useMemo)((()=>{const e=[Nd];return n&&e.push(Pd),o&&e.push(Md),e}),[Nd,n,Pd,o,Md]);return(0,s.createElement)(p.TabPanel,{className:"block-editor-inserter__tabs",tabs:l,onSelect:r},t)};var Ld=function(e){let{rootClientId:t,clientId:n,isAppender:o,__experimentalInsertionIndex:r,onSelect:l,showInserterHelpPanel:i,showMostUsedBlocks:a,__experimentalFilterValue:c="",shouldFocusBlock:u=!0}=e;const[d,f]=(0,s.useState)(c),[g,v]=(0,s.useState)(null),[b,k]=(0,s.useState)(null),[_,y,E]=od({rootClientId:t,clientId:n,isAppender:o,insertionIndex:r,shouldFocusBlock:u}),{showPatterns:C,hasReusableBlocks:w}=(0,m.useSelect)((e=>{var t;const{__experimentalGetAllowedPatterns:n,getSettings:o}=e(Fn);return{showPatterns:!!n(_).length,hasReusableBlocks:!(null===(t=o().__experimentalReusableBlocks)||void 0===t||!t.length)}}),[_]),S=(0,s.useCallback)(((e,t,n)=>{y(e,t,n),l()}),[y,l]),B=(0,s.useCallback)(((e,t)=>{y(e,{patternName:t}),l()}),[y,l]),I=(0,s.useCallback)((e=>{E(!!e),v(e)}),[E,v]),x=(0,s.useCallback)((e=>{k(e)}),[k]),T=(0,s.useMemo)((()=>(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"block-editor-inserter__block-list"},(0,s.createElement)(ju,{rootClientId:_,onInsert:S,onHover:I,showMostUsedBlocks:a})),i&&(0,s.createElement)("div",{className:"block-editor-inserter__tips"},(0,s.createElement)(p.VisuallyHidden,{as:"h2"},(0,h.__)("A tip for using the block editor")),(0,s.createElement)(tc,null)))),[_,S,I,d,a,i]),N=(0,s.useMemo)((()=>(0,s.createElement)(yd,{rootClientId:_,onInsert:B,onClickCategory:x,selectedCategory:b})),[_,B,x,b]),P=(0,s.useMemo)((()=>(0,s.createElement)(wd,{rootClientId:_,onInsert:S,onHover:I})),[_,S,I]),M=(0,s.useCallback)((e=>"blocks"===e.name?T:"patterns"===e.name?N:P),[T,N,P]);return(0,s.createElement)("div",{className:"block-editor-inserter__menu"},(0,s.createElement)("div",{className:"block-editor-inserter__main-area"},(0,s.createElement)("div",{className:"block-editor-inserter__content"},(0,s.createElement)(p.SearchControl,{className:"block-editor-inserter__search",onChange:e=>{g&&v(null),f(e)},value:d,label:(0,h.__)("Search for blocks and patterns"),placeholder:(0,h.__)("Search")}),!!d&&(0,s.createElement)(Td,{filterValue:d,onSelect:l,onHover:I,rootClientId:t,clientId:n,isAppender:o,__experimentalInsertionIndex:r,showBlockDirectory:!0,shouldFocusBlock:u}),!d&&(C||w)&&(0,s.createElement)(Rd,{showPatterns:C,showReusableBlocks:w},M),!d&&!C&&!w&&T)),i&&g&&(0,s.createElement)(Pu,{item:g}))};function Ad(e){let{onSelect:t,rootClientId:n,clientId:o,isAppender:r}=e;const[l,i]=(0,s.useState)(""),[a,u]=od({onSelect:t,rootClientId:n,clientId:o,isAppender:r}),[d]=Gu(a,u),[f]=Yu(u,a),g=f.length&&!!l,v=g&&f.length>6||d.length>6,{setInserterIsOpened:b,insertionIndex:k}=(0,m.useSelect)((e=>{const{getSettings:t,getBlockIndex:n,getBlockCount:r}=e(Fn),l=n(o);return{setInserterIsOpened:t().__experimentalSetIsInserterOpened,insertionIndex:-1===l?r():l}}),[o,n]);(0,s.useEffect)((()=>{b&&b(!1)}),[b]);return(0,s.createElement)("div",{className:c()("block-editor-inserter__quick-inserter",{"has-search":v,"has-expand":b})},v&&(0,s.createElement)(p.SearchControl,{className:"block-editor-inserter__search",value:l,onChange:e=>{i(e)},label:(0,h.__)("Search for blocks and patterns"),placeholder:(0,h.__)("Search")}),(0,s.createElement)("div",{className:"block-editor-inserter__quick-inserter-results"},(0,s.createElement)(Td,{filterValue:l,onSelect:t,rootClientId:n,clientId:o,isAppender:r,maxBlockPatterns:g?2:0,maxBlockTypes:6,isDraggable:!1})),b&&(0,s.createElement)(p.Button,{className:"block-editor-inserter__quick-inserter-expand",onClick:()=>{b({rootClientId:n,insertionIndex:k,filterValue:l})},"aria-label":(0,h.__)("Browse all. This will open the main inserter panel in the editor toolbar.")},(0,h.__)("Browse all")))}const Dd=e=>{let t,{onToggle:n,disabled:o,isOpen:r,blockTitle:l,hasSingleBlockType:a,toggleProps:c={}}=e;t=a?(0,h.sprintf)((0,h._x)("Add %s","directly add the only allowed block"),l):(0,h._x)("Add block","Generic label for block inserter button");const{onClick:u,...d}=c;return(0,s.createElement)(p.Button,i({icon:Ja,label:t,tooltipPosition:"bottom",onClick:function(e){n&&n(e),u&&u(e)},className:"block-editor-inserter__toggle","aria-haspopup":!a&&"true","aria-expanded":!a&&r,disabled:o},d))};class Od extends s.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:l,directInsertBlock:i,toggleProps:s,hasItems:a,renderToggle:c=Dd}=this.props;return c({onToggle:t,isOpen:n,disabled:o||!a,blockTitle:r,hasSingleBlockType:l,directInsertBlock:i,toggleProps:s})}renderContent(e){let{onClose:t}=e;const{rootClientId:n,clientId:o,isAppender:r,showInserterHelpPanel:l,__experimentalIsQuick:i}=this.props;return i?(0,s.createElement)(Ad,{onSelect:()=>{t()},rootClientId:n,clientId:o,isAppender:r}):(0,s.createElement)(Ld,{onSelect:()=>{t()},rootClientId:n,clientId:o,isAppender:r,showInserterHelpPanel:l})}render(){const{position:e,hasSingleBlockType:t,directInsertBlock:n,insertOnlyAllowedBlock:o,__experimentalIsQuick:r,onSelectOrClose:l}=this.props;return t||null!=n&&n.length?this.renderToggle({onToggle:o}):(0,s.createElement)(p.Dropdown,{className:"block-editor-inserter",contentClassName:c()("block-editor-inserter__popover",{"is-quick":r}),position:e,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:(0,h.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent,onClose:l})}}var Fd=(0,d.compose)([(0,m.withSelect)(((e,t)=>{let{clientId:n,rootClientId:o}=t;const{getBlockRootClientId:l,hasInserterItems:i,__experimentalGetAllowedBlocks:s,__experimentalGetDirectInsertBlock:a}=e(Fn),{getBlockVariations:c}=e(r.store);o=o||l(n)||void 0;const d=s(o),p=a(o),m=1===(0,u.size)(d)&&0===(0,u.size)(c(d[0].name,"inserter"));let f=!1;return m&&(f=d[0]),{hasItems:i(o),hasSingleBlockType:m,blockTitle:f?f.title:"",allowedBlockType:f,directInsertBlock:p,rootClientId:o}})),(0,m.withDispatch)(((e,t,n)=>{let{select:o}=n;return{insertOnlyAllowedBlock(){const{rootClientId:n,clientId:l,isAppender:i,hasSingleBlockType:s,allowedBlockType:a,directInsertBlock:c,onSelectOrClose:u}=t;if(!(s||null!=c&&c.length))return;const{insertBlock:d}=e(Fn);d(null!=c&&c.length?(0,r.createBlock)(...c):(0,r.createBlock)(a.name),function(){const{getBlockIndex:e,getBlockSelectionEnd:t,getBlockOrder:r,getBlockRootClientId:s}=o(Fn);if(l)return e(l);const a=t();return!i&&a&&s(a)===n?e(a)+1:r(n).length}(),n),u&&u();const p=(0,h.sprintf)((0,h.__)("%s block added"),a.title);(0,Nt.speak)(p)}}})),(0,d.ifCondition)((e=>{let{hasItems:t,isAppender:n,rootClientId:o,clientId:r}=e;return t||!n&&!o&&!r}))])(Od);var zd=(0,d.compose)((0,m.withSelect)(((e,t)=>{const{getBlockCount:n,getBlockName:o,isBlockValid:l,getSettings:i,getTemplateLock:s}=e(Fn),a=!n(t.rootClientId),c=o(t.lastBlockClientId)===(0,r.getDefaultBlockName)(),u=l(t.lastBlockClientId),{bodyPlaceholder:d}=i();return{isVisible:a||!c||!u,showPrompt:a,isLocked:!!s(t.rootClientId),placeholder:d}})),(0,m.withDispatch)(((e,t)=>{const{insertDefaultBlock:n,startTyping:o}=e(Fn);return{onAppend(){const{rootClientId:e}=t;n(void 0,e),o()}}})))((function(e){let{isLocked:t,isVisible:n,onAppend:o,showPrompt:r,placeholder:l,rootClientId:i}=e;if(t||!n)return null;const a=(0,Za.decodeEntities)(l)||(0,h.__)("Type / to choose a block");return(0,s.createElement)("div",{"data-root-client-id":i||"",className:c()("block-editor-default-block-appender",{"has-visible-prompt":r})},(0,s.createElement)("p",{tabIndex:"0",contentEditable:!0,suppressContentEditableWarning:!0,role:"button","aria-label":(0,h.__)("Add block"),className:"block-editor-default-block-appender__content",onFocus:o},r?a:"\ufeff"),(0,s.createElement)(Fd,{rootClientId:i,position:"bottom right",isAppender:!0,__experimentalIsQuick:!0}))}));function Vd(e,t){let{rootClientId:n,className:o,onFocus:r,tabIndex:l}=e;return(0,s.createElement)(Fd,{position:"bottom center",rootClientId:n,__experimentalIsQuick:!0,renderToggle:e=>{let n,{onToggle:i,disabled:a,isOpen:u,blockTitle:d,hasSingleBlockType:m}=e;n=m?(0,h.sprintf)((0,h._x)("Add %s","directly add the only allowed block"),d):(0,h._x)("Add block","Generic label for block inserter button");const f=!m;let g=(0,s.createElement)(p.Button,{ref:t,onFocus:r,tabIndex:l,className:c()(o,"block-editor-button-block-appender"),onClick:i,"aria-haspopup":f?"true":void 0,"aria-expanded":f?u:void 0,disabled:a,label:n},!m&&(0,s.createElement)(p.VisuallyHidden,{as:"span"},n),(0,s.createElement)(wo,{icon:Ja}));return(f||m)&&(g=(0,s.createElement)(p.Tooltip,{text:n},g)),g},isAppender:!0})}const Hd=(0,s.forwardRef)(((e,t)=>(Rt()("wp.blockEditor.ButtonBlockerAppender",{alternative:"wp.blockEditor.ButtonBlockAppender"}),Vd(e,t))));var Ud=(0,s.forwardRef)(Vd);var Gd=(0,m.withSelect)(((e,t)=>{let{rootClientId:n}=t;const{getBlockOrder:o,canInsertBlockType:l,getTemplateLock:i,getSelectedBlockClientId:s}=e(Fn);return{isLocked:!!i(n),blockClientIds:o(n),canInsertDefaultBlock:l((0,r.getDefaultBlockName)(),n),selectedBlockClientId:s()}}))((function(e){let t,{blockClientIds:n,rootClientId:o,canInsertDefaultBlock:r,isLocked:l,renderAppender:i,className:a,selectedBlockClientId:d,tagName:p="div"}=e;if(l||!1===i)return null;if(i)t=(0,s.createElement)(i,null);else{const e=!o,l=d===o,i=d&&!n.includes(d);if(!e&&!l&&(!d||i))return null;t=r?(0,s.createElement)(zd,{rootClientId:o,lastBlockClientId:(0,u.last)(n)}):(0,s.createElement)(Ud,{rootClientId:o,className:"block-list-appender__toggle"})}return(0,s.createElement)(p,{tabIndex:-1,className:c()("block-list-appender wp-block",a),"data-block":!0},t)}));function Wd(e){return(0,d.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])}const $d=(0,s.createContext)();function jd(e){let{__unstablePopoverSlot:t,__unstableContentRef:n}=e;const{selectBlock:o}=(0,m.useDispatch)(Fn),r=(0,s.useContext)($d),l=(0,s.useRef)(),{orientation:i,previousClientId:a,nextClientId:u,rootClientId:f,isInserterShown:g}=(0,m.useSelect)((e=>{var t;const{getBlockOrder:n,getBlockListSettings:o,getBlockInsertionPoint:r,isBlockBeingDragged:l,getPreviousBlockClientId:i,getNextBlockClientId:s}=e(Fn),a=r(),c=n(a.rootClientId);if(!c.length)return{};let u=c[a.index-1],d=c[a.index];for(;l(u);)u=i(u);for(;l(d);)d=s(d);return{previousClientId:u,nextClientId:d,orientation:(null===(t=o(a.rootClientId))||void 0===t?void 0:t.orientation)||"vertical",rootClientId:a.rootClientId,isInserterShown:null==a?void 0:a.__unstableWithInserter}}),[]),v=Ua(a),b=Ua(u),k="vertical"===i,_=(0,s.useMemo)((()=>{if(!v&&!b)return{};const e=v?v.getBoundingClientRect():null,t=b?b.getBoundingClientRect():null;if(k)return{width:v?v.offsetWidth:b.offsetWidth,height:t&&e?t.top-e.bottom:0};let n=0;return e&&t&&(n=(0,h.isRTL)()?e.left-t.right:t.left-e.right),{width:n,height:v?v.offsetHeight:b.offsetHeight}}),[v,b]),y=(0,s.useCallback)((()=>{if(!v&&!b)return{};const{ownerDocument:e}=v||b,t=v?v.getBoundingClientRect():null,n=b?b.getBoundingClientRect():null;return k?(0,h.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}:(0,h.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}}),[v,b]),E=Wd(n),C=(0,d.useReducedMotion)(),w=c()("block-editor-block-list__insertion-point","is-"+i);const S=v&&b&&g,B={start:{...k?{height:0,left:"50%",right:"50%",y:0}:{width:0,top:"50%",bottom:"50%",x:0},opacity:0},rest:{...k?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:S?.4:0}},hover:{...k?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:.4}}},I={start:{scale:C?1:0},rest:{scale:1,transition:{delay:.2}}};return(0,s.createElement)(p.Popover,{ref:E,noArrow:!0,animate:!1,getAnchorRect:y,focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:t||null,key:u+"--"+f},(0,s.createElement)(p.__unstableMotion.div,{layout:!C,initial:C?"rest":"start",animate:"rest",whileHover:"hover",whileTap:"pressed",exit:"start",ref:l,tabIndex:-1,onClick:function(e){e.target===l.current&&u&&o(u,-1)},onFocus:function(e){e.target!==l.current&&(r.current=!0)},className:c()(w,{"is-with-inserter":S}),style:_},(0,s.createElement)(p.__unstableMotion.div,{variants:B,className:"block-editor-block-list__insertion-point-indicator"}),S&&(0,s.createElement)(p.__unstableMotion.div,{variants:I,className:c()("block-editor-block-list__insertion-point-inserter")},(0,s.createElement)(Fd,{position:"bottom center",clientId:u,rootClientId:f,__experimentalIsQuick:!0,onToggle:e=>{r.current=e},onSelectOrClose:()=>{r.current=!1}}))))}function Kd(e){let{children:t,__unstablePopoverSlot:n,__unstableContentRef:o}=e;const r=(0,m.useSelect)((e=>e(Fn).isBlockInsertionPointVisible()),[]);return(0,s.createElement)($d.Provider,{value:(0,s.useRef)(!1)},r&&(0,s.createElement)(jd,{__unstablePopoverSlot:n,__unstableContentRef:o}),t)}function qd(){const e=(0,s.useContext)($d),t=(0,m.useSelect)((e=>e(Fn).getSettings().hasReducedUI),[]),{getBlockListSettings:n,getBlockRootClientId:o,getBlockIndex:r,isBlockInsertionPointVisible:l,isMultiSelecting:i,getSelectedBlockClientIds:a,getTemplateLock:c}=(0,m.useSelect)(Fn),{showInsertionPoint:u,hideInsertionPoint:p}=(0,m.useDispatch)(Fn);return(0,d.useRefEffect)((o=>{if(!t)return o.addEventListener("mousemove",s),()=>{o.removeEventListener("mousemove",s)};function s(t){var o,s;if(e.current)return;if(i())return;if(!t.target.classList.contains("block-editor-block-list__layout"))return void(l()&&p());let d;if(!t.target.classList.contains("is-root-container")){d=(t.target.getAttribute("data-block")?t.target:t.target.closest("[data-block]")).getAttribute("data-block")}if(c(d))return;const m=(null===(o=n(d))||void 0===o?void 0:o.orientation)||"vertical",f=t.target.getBoundingClientRect(),h=t.clientY-f.top,g=t.clientX-f.left;let v=Array.from(t.target.children).find((e=>e.classList.contains("wp-block")&&"vertical"===m&&e.offsetTop>h||e.classList.contains("wp-block")&&"horizontal"===m&&e.offsetLeft>g));if(!v)return;if(!v.id&&(v=v.firstElementChild,!v))return;if(null===(s=v.parentElement)||void 0===s?void 0:s.closest(".block-editor-block-content-overlay.overlay-active"))return;const b=v.id.slice("block-".length);if(!b)return;if(a().includes(b))return;const k=v.getBoundingClientRect();if("horizontal"===m&&(t.clientY>k.bottom||t.clientY<k.top)||"vertical"===m&&(t.clientX>k.right||t.clientX<k.left))return void(l()&&p());const _=r(b);0!==_?u(d,_,{__unstableWithInserter:!0}):l()&&p()}}),[e,n,o,r,l,i,u,p,a])}const Yd="undefined"==typeof window?e=>{setTimeout((()=>e(Date.now())),0)}:window.requestIdleCallback||window.requestAnimationFrame,Xd="undefined"==typeof window?clearTimeout:window.cancelIdleCallback||window.cancelAnimationFrame;function Qd(e){return(0,m.useSelect)((t=>{if(!e)return null;const{getBlockName:n,getBlockAttributes:o}=t(Fn),{getBlockType:l,getActiveBlockVariation:i}=t(r.store),s=n(e),a=l(s);if(!a)return null;const c=o(e),u=i(s,c),d={title:a.title,icon:a.icon,description:a.description,anchor:null==c?void 0:c.anchor};return u?{title:u.title||a.title,icon:u.icon||a.icon,description:u.description||a.description}:d}),[e])}function Zd(e){let{clientId:t}=e;const{attributes:n,name:o,reusableBlockTitle:l}=(0,m.useSelect)((e=>{if(!t)return{};const{getBlockName:n,getBlockAttributes:o,__experimentalGetReusableBlockTitle:l}=e(Fn),i=n(t);if(!i)return{};const s=(0,r.isReusableBlock)((0,r.getBlockType)(i));return{attributes:o(t),name:i,reusableBlockTitle:s&&l(o(t).ref)}}),[t]),i=Qd(t);if(!o||!i)return null;const s=(0,r.getBlockType)(o),a=s?(0,r.__experimentalGetBlockLabel)(s,n):null,c=l||a;return c&&c!==s.title?(0,u.truncate)(c,{length:35}):i.title}var Jd=e=>{let{children:t,clientIds:n,cloneClassname:o,onDragStart:l,onDragEnd:i}=e;const{srcRootClientId:a,isDraggable:c,icon:u}=(0,m.useSelect)((e=>{var t;const{getBlockRootClientId:o,getTemplateLock:l,getBlockName:i}=e(Fn),s=o(n[0]),a=s?l(s):null,c=i(n[0]);return{srcRootClientId:s,isDraggable:"all"!==a,icon:null===(t=(0,r.getBlockType)(c))||void 0===t?void 0:t.icon}}),[n]),d=(0,s.useRef)(!1),[f,h,g]=function(){const e=(0,s.useRef)(null),t=(0,s.useRef)(null),n=(0,s.useRef)(null),o=(0,s.useRef)(null);return(0,s.useEffect)((()=>()=>{o.current&&(clearInterval(o.current),o.current=null)}),[]),[(0,s.useCallback)((r=>{e.current=r.clientY,n.current=(0,rr.getScrollContainer)(r.target),o.current=setInterval((()=>{if(n.current&&t.current){const e=n.current.scrollTop+t.current;n.current.scroll({top:e})}}),25)}),[]),(0,s.useCallback)((o=>{if(!n.current)return;const r=n.current.offsetHeight,l=e.current-n.current.offsetTop,i=o.clientY-n.current.offsetTop;if(o.clientY>l){const e=Math.max(r-l-50,0),n=Math.max(i-l-50,0)/e;t.current=25*n}else if(o.clientY<l){const e=Math.max(l-50,0),n=Math.max(l-i-50,0)/e;t.current=-25*n}else t.current=0}),[]),()=>{e.current=null,n.current=null,o.current&&(clearInterval(o.current),o.current=null)}]}(),{startDraggingBlocks:v,stopDraggingBlocks:b}=(0,m.useDispatch)(Fn);if((0,s.useEffect)((()=>()=>{d.current&&b()}),[]),!c)return t({isDraggable:!1});const k={type:"block",srcClientIds:n,srcRootClientId:a};return(0,s.createElement)(p.Draggable,{cloneClassname:o,__experimentalTransferDataType:"wp-blocks",transferData:k,onDragStart:e=>{v(n),d.current=!0,f(e),l&&l()},onDragOver:h,onDragEnd:()=>{b(),d.current=!1,g(),i&&i()},__experimentalDragComponent:(0,s.createElement)(Au,{count:n.length,icon:u})},(e=>{let{onDraggableStart:n,onDraggableEnd:o}=e;return t({draggable:!0,onDragStart:n,onDragEnd:o})}))};var ep=function(e){let{clientId:t,rootClientId:n,blockElement:o}=e;const l=Qd(t),a=(0,m.useSelect)((e=>{var o;const{getBlock:r,getBlockIndex:l,hasBlockMovingClientId:i,getBlockListSettings:s}=e(Fn),a=l(t),{name:c,attributes:u}=r(t);return{index:a,name:c,attributes:u,blockMovingMode:i(),orientation:null===(o=s(n))||void 0===o?void 0:o.orientation}}),[t,n]),{index:u,name:d,attributes:f,blockMovingMode:g,orientation:v}=a,{setNavigationMode:b,removeBlock:k}=(0,m.useDispatch)(Fn),_=(0,s.useRef)(),y=(0,r.getBlockType)(d),E=(0,r.__experimentalGetAccessibleBlockLabel)(y,f,u+1,v);(0,s.useEffect)((()=>{_.current.focus(),(0,Nt.speak)(E)}),[E]);const{hasBlockMovingClientId:C,getBlockIndex:w,getBlockRootClientId:S,getClientIdsOfDescendants:B,getSelectedBlockClientId:I,getMultiSelectedBlocksEndClientId:x,getPreviousBlockClientId:T,getNextBlockClientId:N,isNavigationMode:P}=(0,m.useSelect)(Fn),{selectBlock:M,clearSelectedBlock:R,setBlockMovingClientId:L,moveBlockToPosition:A}=(0,m.useDispatch)(Fn),D=c()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!g}),O=(0,h.__)("Drag");return(0,s.createElement)("div",{className:D},(0,s.createElement)(p.Flex,{justify:"center",className:"block-editor-block-list__block-selection-button__content"},(0,s.createElement)(p.FlexItem,null,(0,s.createElement)(oc,{icon:null==l?void 0:l.icon,showColors:!0})),(0,s.createElement)(p.FlexItem,null,(0,s.createElement)(Jd,{clientIds:[t]},(e=>(0,s.createElement)(p.Button,i({icon:Lu,className:"block-selection-button_drag-handle","aria-hidden":"true",label:O,tabIndex:"-1"},e))))),(0,s.createElement)(p.FlexItem,null,(0,s.createElement)(p.Button,{ref:_,onClick:()=>b(!1),onKeyDown:function(e){const{keyCode:n}=e,r=n===Ma.UP,l=n===Ma.DOWN,i=n===Ma.LEFT,s=n===Ma.RIGHT,a=n===Ma.TAB,c=n===Ma.ESCAPE,u=n===Ma.ENTER,d=n===Ma.SPACE,p=e.shiftKey;if(n===Ma.BACKSPACE||n===Ma.DELETE)return k(t),void e.preventDefault();const m=I(),f=x(),h=T(f||m),g=N(f||m),v=a&&p||r,b=a&&!p||l,_=i,y=s;let E;if(v)E=h;else if(b)E=g;else if(_){var D;E=null!==(D=S(m))&&void 0!==D?D:m}else if(y){var O;E=null!==(O=B([m])[0])&&void 0!==O?O:m}const F=C();if(c&&P()&&(R(),e.preventDefault()),c&&F&&!e.defaultPrevented&&(L(null),e.preventDefault()),(u||d)&&F){const e=S(F),t=S(m),n=w(F);let o=w(m);n<o&&e===t&&(o-=1),A(F,e,t,o),M(F),L(null)}if(b||v||_||y)if(E)e.preventDefault(),M(E);else if(a&&m){let t;b?(t=rr.focus.tabbable.findNext(o),t||(t=o.ownerDocument.defaultView.frameElement,t=rr.focus.tabbable.findNext(t))):t=rr.focus.tabbable.findPrevious(o),t&&(e.preventDefault(),t.focus(),R())}},label:E,className:"block-selection-button_select-button"},(0,s.createElement)(Zd,{clientId:t})))))};function tp(e){return Array.from(e.querySelectorAll("[data-toolbar-item]"))}function np(e,t,n,o,r){const[l]=(0,s.useState)(t),[i]=(0,s.useState)(o),a=(0,s.useCallback)((()=>{!function(e){const[t]=rr.focus.tabbable.find(e);t&&t.focus()}(e.current)}),[]);(0,gc.useShortcut)("core/block-editor/focus-toolbar",a),(0,s.useEffect)((()=>{l&&a()}),[n,l,a]),(0,s.useEffect)((()=>{let t=0;return i&&!l&&(t=window.requestAnimationFrame((()=>{const t=tp(e.current),n=i||0;var o;t[n]&&(o=e.current).contains(o.ownerDocument.activeElement)&&t[n].focus()}))),()=>{if(window.cancelAnimationFrame(t),!r||!e.current)return;const n=tp(e.current).findIndex((e=>0===e.tabIndex));r(n)}}),[i,l])}var op=function(e){let{children:t,focusOnMount:n,__experimentalInitialIndex:o,__experimentalOnIndexChange:r,...l}=e;const a=(0,s.useRef)(),c=function(e){const[t,n]=(0,s.useState)(!0),o=(0,s.useCallback)((()=>{const t=!rr.focus.tabbable.find(e.current).some((e=>!("toolbarItem"in e.dataset)));t||Rt()("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(t)}),[]);return(0,s.useLayoutEffect)((()=>{const t=new window.MutationObserver(o);return t.observe(e.current,{childList:!0,subtree:!0}),()=>t.disconnect()}),[t]),t}(a);return np(a,n,c,o,r),c?(0,s.createElement)(p.Toolbar,i({label:l["aria-label"],ref:a},l),t):(0,s.createElement)(p.NavigableMenu,i({orientation:"horizontal",role:"toolbar",ref:a},l),t)};var rp=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));var lp=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));var ip=(0,s.createElement)(O.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(O.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}));var sp=(0,s.createElement)(O.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(O.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));function ap(e,t,n,o,r,l,i){const s=n+1,a=e=>"up"===e?"horizontal"===i?(0,h.isRTL)()?"right":"left":"up":"down"===e?"horizontal"===i?(0,h.isRTL)()?"left":"right":"down":null;if(e>1)return function(e,t,n,o,r){const l=t+1;if(r<0&&n)return(0,h.__)("Blocks cannot be moved up as they are already at the top");if(r>0&&o)return(0,h.__)("Blocks cannot be moved down as they are already at the bottom");if(r<0&&!n)return(0,h.sprintf)((0,h._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,l);if(r>0&&!o)return(0,h.sprintf)((0,h._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,l)}(e,n,o,r,l);if(o&&r)return(0,h.sprintf)((0,h.__)("Block %s is the only block, and cannot be moved"),t);if(l>0&&!r){const e=a("down");if("down"===e)return(0,h.sprintf)((0,h.__)("Move %1$s block from position %2$d down to position %3$d"),t,s,s+1);if("left"===e)return(0,h.sprintf)((0,h.__)("Move %1$s block from position %2$d left to position %3$d"),t,s,s+1);if("right"===e)return(0,h.sprintf)((0,h.__)("Move %1$s block from position %2$d right to position %3$d"),t,s,s+1)}if(l>0&&r){const e=a("down");if("down"===e)return(0,h.sprintf)((0,h.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===e)return(0,h.sprintf)((0,h.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===e)return(0,h.sprintf)((0,h.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(l<0&&!o){const e=a("up");if("up"===e)return(0,h.sprintf)((0,h.__)("Move %1$s block from position %2$d up to position %3$d"),t,s,s-1);if("left"===e)return(0,h.sprintf)((0,h.__)("Move %1$s block from position %2$d left to position %3$d"),t,s,s-1);if("right"===e)return(0,h.sprintf)((0,h.__)("Move %1$s block from position %2$d right to position %3$d"),t,s,s-1)}if(l<0&&o){const e=a("up");if("up"===e)return(0,h.sprintf)((0,h.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===e)return(0,h.sprintf)((0,h.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===e)return(0,h.sprintf)((0,h.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}const cp=(e,t)=>"up"===e?"horizontal"===t?(0,h.isRTL)()?rp:lp:ip:"down"===e?"horizontal"===t?(0,h.isRTL)()?lp:rp:sp:null,up=(e,t)=>"up"===e?"horizontal"===t?(0,h.isRTL)()?(0,h.__)("Move right"):(0,h.__)("Move left"):(0,h.__)("Move up"):"down"===e?"horizontal"===t?(0,h.isRTL)()?(0,h.__)("Move left"):(0,h.__)("Move right"):(0,h.__)("Move down"):null,dp=(0,s.forwardRef)(((e,t)=>{let{clientIds:n,direction:o,orientation:l,...a}=e;const f=(0,d.useInstanceId)(dp),h=(0,u.castArray)(n).length,{blockType:g,isDisabled:v,rootClientId:b,isFirst:k,isLast:_,firstIndex:y,orientation:E="vertical"}=(0,m.useSelect)((e=>{const{getBlockIndex:t,getBlockRootClientId:i,getBlockOrder:s,getBlock:a,getBlockListSettings:c}=e(Fn),d=(0,u.castArray)(n),p=(0,u.first)(d),m=i(p),f=t(p),h=t((0,u.last)(d)),g=s(m),v=a(p),b=0===f,k=h===g.length-1,{orientation:_}=c(m)||{};return{blockType:v?(0,r.getBlockType)(v.name):null,isDisabled:"up"===o?b:k,rootClientId:m,firstIndex:f,isFirst:b,isLast:k,orientation:l||_}}),[n,o]),{moveBlocksDown:C,moveBlocksUp:w}=(0,m.useDispatch)(Fn),S="up"===o?w:C,B=`block-editor-block-mover-button__description-${f}`;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.Button,i({ref:t,className:c()("block-editor-block-mover-button",`is-${o}-button`),icon:cp(o,E),label:up(o,E),"aria-describedby":B},a,{onClick:v?null:e=>{S(n,b),a.onClick&&a.onClick(e)},"aria-disabled":v})),(0,s.createElement)("span",{id:B,className:"block-editor-block-mover-button__description"},ap(h,g&&g.title,y,k,_,"up"===o?-1:1,E)))})),pp=(0,s.forwardRef)(((e,t)=>(0,s.createElement)(dp,i({direction:"up",ref:t},e)))),mp=(0,s.forwardRef)(((e,t)=>(0,s.createElement)(dp,i({direction:"down",ref:t},e))));var fp=(0,m.withSelect)(((e,t)=>{var n;let{clientIds:o}=t;const{getBlock:l,getBlockIndex:i,getBlockListSettings:s,canMoveBlocks:a,getBlockOrder:c,getBlockRootClientId:d}=e(Fn),p=(0,u.castArray)(o),m=(0,u.first)(p),f=l(m),h=d((0,u.first)(p)),g=i(m),v=0===g,b=i((0,u.last)(p))===c(h).length-1;return{blockType:f?(0,r.getBlockType)(f.name):null,canMove:a(o,h),rootClientId:h,firstIndex:g,isFirst:v,isLast:b,orientation:null===(n=s(h))||void 0===n?void 0:n.orientation}}))((function(e){let{isFirst:t,isLast:n,clientIds:o,canMove:r,isHidden:l,rootClientId:a,orientation:u,hideDragHandle:d}=e;const[m,f]=(0,s.useState)(!1),g=()=>f(!0),v=()=>f(!1);if(!r||t&&n&&!a)return null;const b=(0,h.__)("Drag");return(0,s.createElement)("div",{className:c()("block-editor-block-mover",{"is-visible":m||!l,"is-horizontal":"horizontal"===u})},!d&&(0,s.createElement)(Jd,{clientIds:o,cloneClassname:"block-editor-block-mover__drag-clone"},(e=>(0,s.createElement)(p.Button,i({icon:Lu,className:"block-editor-block-mover__drag-handle","aria-hidden":"true",label:b,tabIndex:"-1"},e)))),(0,s.createElement)(p.ToolbarGroup,{className:"block-editor-block-mover__move-button-container"},(0,s.createElement)(p.ToolbarItem,{onFocus:g,onBlur:v},(e=>(0,s.createElement)(pp,i({clientIds:o},e)))),(0,s.createElement)(p.ToolbarItem,{onFocus:g,onBlur:v},(e=>(0,s.createElement)(mp,i({clientIds:o},e))))))}));const{clearTimeout:hp,setTimeout:gp}=window,vp=200;function bp(e){let{ref:t,isFocused:n,debounceTimeout:o=vp,onChange:r=u.noop}=e;const[l,i]=(0,s.useState)(!1),a=(0,s.useRef)(),c=e=>{null!=t&&t.current&&i(e),r(e)},d=()=>{const e=(null==t?void 0:t.current)&&t.current.matches(":hover");return!n&&!e},p=()=>{const e=a.current;e&&hp&&hp(e)};return(0,s.useEffect)((()=>()=>p()),[]),{showMovers:l,debouncedShowMovers:e=>{e&&e.stopPropagation(),p(),l||c(!0)},debouncedHideMovers:e=>{e&&e.stopPropagation(),p(),a.current=gp((()=>{d()&&c(!1)}),o)}}}function kp(e){let{ref:t,debounceTimeout:n=vp,onChange:o=u.noop}=e;const[r,l]=(0,s.useState)(!1),{showMovers:i,debouncedShowMovers:a,debouncedHideMovers:c}=bp({ref:t,debounceTimeout:n,isFocused:r,onChange:o}),d=(0,s.useRef)(!1),p=()=>(null==t?void 0:t.current)&&t.current.contains(t.current.ownerDocument.activeElement);return(0,s.useEffect)((()=>{const e=t.current,n=()=>{p()&&(l(!0),a())},o=()=>{p()||(l(!1),c())};return e&&!d.current&&(e.addEventListener("focus",n,!0),e.addEventListener("blur",o,!0),d.current=!0),()=>{e&&(e.removeEventListener("focus",n),e.removeEventListener("blur",o))}}),[t,d,l,a,c]),{showMovers:i,gestures:{onMouseMove:a,onMouseLeave:c}}}function _p(){const{selectBlock:e,toggleBlockHighlight:t}=(0,m.useDispatch)(Fn),{firstParentClientId:n,shouldHide:o,hasReducedUI:l}=(0,m.useSelect)((e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientId:o,getSettings:l}=e(Fn),{hasBlockSupport:i}=e(r.store),s=n(o()),a=s[s.length-1],c=t(a),u=(0,r.getBlockType)(c),d=l();return{firstParentClientId:a,shouldHide:!i(u,"__experimentalParentSelector",!0),hasReducedUI:d.hasReducedUI}}),[]),a=Qd(n),c=(0,s.useRef)(),{gestures:u}=kp({ref:c,onChange(e){e&&l||t(n,e)}});return o||void 0===n?null:(0,s.createElement)("div",i({className:"block-editor-block-parent-selector",key:n,ref:c},u),(0,s.createElement)(p.ToolbarButton,{className:"block-editor-block-parent-selector__button",onClick:()=>e(n),label:(0,h.sprintf)((0,h.__)("Select %s"),a.title),showTooltip:!0,icon:(0,s.createElement)(oc,{icon:a.icon})}))}var yp=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zm-13.5 0V4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1v11.8c0 .1-.1.1-.1.1H4.6l-.1-.1z"}));function Ep(e){let{blocks:t}=e;return(0,s.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},(0,s.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},(0,s.createElement)(p.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right",focusOnMount:!1},(0,s.createElement)("div",{className:"block-editor-block-switcher__preview"},(0,s.createElement)("div",{className:"block-editor-block-switcher__preview-title"},(0,h.__)("Preview")),(0,s.createElement)(Tu,{viewportWidth:500,blocks:t})))))}var Cp=e=>{let{className:t,possibleBlockTransformations:n,onSelect:o,blocks:l}=e;const[i,a]=(0,s.useState)();return(0,s.createElement)(p.MenuGroup,{label:(0,h.__)("Transform to"),className:t},i&&(0,s.createElement)(Ep,{blocks:(0,r.switchToBlockType)(l,i)}),n.map((e=>{const{name:t,icon:n,title:l,isDisabled:i}=e;return(0,s.createElement)(p.MenuItem,{key:t,className:(0,r.getBlockMenuDefaultClassName)(t),onClick:e=>{e.preventDefault(),o(t)},disabled:i,onMouseLeave:()=>a(null),onMouseEnter:()=>a(t)},(0,s.createElement)(oc,{icon:n,showColors:!0}),l)})))},wp=window.wp.tokenList,Sp=n.n(wp);const Bp={};function Ip(e){let{genericPreviewBlock:t,viewportWidth:n,style:o,isActive:r,onBlur:l,onHover:i,onSelect:a,styleClassName:u,itemRole:d}=e;const p=(0,s.useMemo)((()=>({...t,attributes:{...t.attributes,className:u}})),[t,u]);return(0,s.createElement)("div",{key:o.name,className:c()("block-editor-block-styles__item",{"is-active":r}),onClick:()=>a(),onKeyDown:e=>{Ma.ENTER!==e.keyCode&&Ma.SPACE!==e.keyCode||(e.preventDefault(),a())},onMouseEnter:i,onMouseLeave:l,role:d||"button",tabIndex:"0","aria-label":o.label||o.name},(0,s.createElement)("div",{className:"block-editor-block-styles__item-preview"},(0,s.createElement)(Tu,{viewportWidth:n,blocks:p})),(0,s.createElement)("div",{className:"block-editor-block-styles__item-label"},o.label||o.name))}var xp=function(e){let{clientId:t,onSwitch:n=u.noop,onHoverClassName:o=u.noop,itemRole:l}=e;const{styles:i,block:a,type:c,className:d}=(0,m.useSelect)((e=>{const{getBlock:n}=e(Fn),o=n(t);if(!o)return Bp;const l=(0,r.getBlockType)(o.name),{getBlockStyles:i}=e(r.store);return{block:o,type:l,styles:i(o.name),className:o.attributes.className||""}}),[t]),{updateBlockAttributes:p}=(0,m.useDispatch)(Fn),f=function(e,t){return(0,s.useMemo)((()=>{const n=null==t?void 0:t.example,o=null==t?void 0:t.name;return n&&o?(0,r.getBlockFromExample)(o,{attributes:n.attributes,innerBlocks:n.innerBlocks}):e?(0,r.cloneBlock)(e):void 0}),[null!=t&&t.example?null==e?void 0:e.name:e,t])}(a,c);if(!i||0===i.length)return null;const g=(0,u.find)(i,"isDefault")?i:[{name:"default",label:(0,h._x)("Default","block style"),isDefault:!0},...i],v=function(e,t){for(const n of new(Sp())(t).values()){if(-1===n.indexOf("is-style-"))continue;const t=n.substring(9),o=(0,u.find)(e,{name:t});if(o)return o}return(0,u.find)(e,"isDefault")}(g,d);return(0,s.createElement)("div",{className:"block-editor-block-styles"},g.map((e=>{var r,i;const a=function(e,t,n){const o=new(Sp())(e);return t&&o.remove("is-style-"+t.name),o.add("is-style-"+n.name),o.value}(d,v,e);return(0,s.createElement)(Ip,{genericPreviewBlock:f,viewportWidth:null!==(r=null===(i=c.example)||void 0===i?void 0:i.viewportWidth)&&void 0!==r?r:500,className:d,isActive:v===e,key:e.name,onSelect:()=>{p(t,{className:a}),o(null),n()},onBlur:()=>o(null),onHover:()=>o(a),style:e,styleClassName:a,itemRole:l})})))};function Tp(e){let{hoveredBlock:t,onSwitch:n}=e;const{name:o,clientId:l}=t,[i,a]=(0,s.useState)(),c=(0,m.useSelect)((e=>e(r.store).getBlockType(o)),[o]);return(0,s.createElement)(p.MenuGroup,{label:(0,h.__)("Styles"),className:"block-editor-block-switcher__styles__menugroup"},i&&(0,s.createElement)(Ep,{blocks:c&&c.example?(0,r.getBlockFromExample)(c.name,{attributes:{...c.example.attributes,className:i},innerBlocks:c.example.innerBlocks}):(0,r.cloneBlock)(t,{className:i})}),(0,s.createElement)(xp,{clientId:l,onSwitch:n,onHoverClassName:a,itemRole:"menuitem"}))}const Np=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set;const{clientId:o,name:r,innerBlocks:l=[]}=e;if(!n.has(o)){if(r===t)return e;for(const e of l){const o=Np(e,t,n);if(o)return o}}},Pp=(e,t)=>{const n=((e,t)=>{const n=(0,r.__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 Mp=(e,t)=>(0,s.useMemo)((()=>e.reduce(((e,n)=>{const o=((e,t)=>{const n=t.map((e=>(0,r.cloneBlock)(e))),o=new Set;for(const t of e){let e=!1;for(const r of n){const n=Np(r,t.name,o);if(n){e=!0,o.add(n.clientId),Pp(n,t);break}}if(!e)return}return n})(t,n.blocks);return o&&e.push({...n,transformedBlocks:o}),e}),[])),[e,t]);function Rp(e){let{patterns:t,onSelect:n}=e;return(0,s.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},(0,s.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},(0,s.createElement)(p.Popover,{className:"block-editor-block-switcher__preview__popover",position:"bottom right"},(0,s.createElement)("div",{className:"block-editor-block-switcher__preview"},(0,s.createElement)("div",{className:"block-editor-block-switcher__preview-title"},(0,h.__)("Preview")),(0,s.createElement)(Lp,{patterns:t,onSelect:n})))))}function Lp(e){let{patterns:t,onSelect:n}=e;const o=(0,p.__unstableUseCompositeState)();return(0,s.createElement)(p.__unstableComposite,i({},o,{role:"listbox",className:"block-editor-block-switcher__preview-patterns-container","aria-label":(0,h.__)("Patterns list")}),t.map((e=>(0,s.createElement)(Ap,{key:e.name,pattern:e,onSelect:n,composite:o}))))}function Ap(e){let{pattern:t,onSelect:n,composite:o}=e;const r="block-editor-block-switcher__preview-patterns-container",l=(0,d.useInstanceId)(Ap,`${r}-list__item-description`);return(0,s.createElement)("div",{className:`${r}-list__list-item`,"aria-label":t.title,"aria-describedby":t.description?l:void 0},(0,s.createElement)(p.__unstableCompositeItem,i({role:"option",as:"div"},o,{className:`${r}-list__item`,onClick:()=>n(t.transformedBlocks)}),(0,s.createElement)(Tu,{blocks:t.transformedBlocks,viewportWidth:t.viewportWidth||500}),(0,s.createElement)("div",{className:`${r}-list__item-title`},t.title)),!!t.description&&(0,s.createElement)(p.VisuallyHidden,{id:l},t.description))}var Dp=function(e){let{blocks:t,patterns:n,onSelect:o}=e;const[r,l]=(0,s.useState)(!1),i=Mp(n,t);return i.length?(0,s.createElement)(p.MenuGroup,{className:"block-editor-block-switcher__pattern__transforms__menugroup"},r&&(0,s.createElement)(Rp,{patterns:i,onSelect:o}),(0,s.createElement)(p.MenuItem,{onClick:e=>{e.preventDefault(),l(!r)},icon:rp},(0,h.__)("Patterns"))):null};const Op=e=>{let{clientIds:t,blocks:n}=e;const{replaceBlocks:o}=(0,m.useDispatch)(Fn),l=Qd(n[0].clientId),{possibleBlockTransformations:i,canRemove:a,hasBlockStyles:c,icon:d,blockTitle:f,patterns:g}=(0,m.useSelect)((e=>{var o;const{getBlockRootClientId:i,getBlockTransformItems:s,__experimentalGetPatternTransformItems:a}=e(Fn),{getBlockStyles:c,getBlockType:d}=e(r.store),{canRemoveBlocks:p}=e(Fn),m=i((0,u.castArray)(t)[0]),[{name:f}]=n,h=1===n.length,g=h&&c(f);let v;if(h)v=null==l?void 0:l.icon;else{var b;v=1===(0,u.uniq)(n.map((e=>{let{name:t}=e;return t}))).length?null===(b=d(f))||void 0===b?void 0:b.icon:yp}return{possibleBlockTransformations:s(n,m),canRemove:p(t,m),hasBlockStyles:!(null==g||!g.length),icon:v,blockTitle:null===(o=d(f))||void 0===o?void 0:o.title,patterns:a(n,m)}}),[t,n,null==l?void 0:l.icon]),v=1===n.length&&(0,r.isReusableBlock)(n[0]),b=1===n.length&&(0,r.isTemplatePart)(n[0]),k=!!i.length&&a,_=!(null==g||!g.length)&&a;if(!c&&!k)return(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",title:f,icon:(0,s.createElement)(oc,{icon:d,showColors:!0})}));const y=f,E=1===n.length?(0,h.sprintf)((0,h.__)("%s: Change block type or style"),f):(0,h.sprintf)((0,h._n)("Change type of %d block","Change type of %d blocks",n.length),n.length),C=c||k||_;return(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarItem,null,(e=>(0,s.createElement)(p.DropdownMenu,{className:"block-editor-block-switcher",label:y,popoverProps:{position:"bottom right",isAlternate:!0,className:"block-editor-block-switcher__popover"},icon:(0,s.createElement)(s.Fragment,null,(0,s.createElement)(oc,{icon:d,className:"block-editor-block-switcher__toggle",showColors:!0}),(v||b)&&(0,s.createElement)("span",{className:"block-editor-block-switcher__toggle-text"},(0,s.createElement)(Zd,{clientId:t}))),toggleProps:{describedBy:E,...e},menuProps:{orientation:"both"}},(e=>{let{onClose:l}=e;return C&&(0,s.createElement)("div",{className:"block-editor-block-switcher__container"},_&&(0,s.createElement)(Dp,{blocks:n,patterns:g,onSelect:e=>{(e=>{o(t,e)})(e),l()}}),k&&(0,s.createElement)(Cp,{className:"block-editor-block-switcher__transforms__menugroup",possibleBlockTransformations:i,blocks:n,onSelect:e=>{(e=>{o(t,(0,r.switchToBlockType)(n,e))})(e),l()}}),c&&(0,s.createElement)(Tp,{hoveredBlock:n[0],onSwitch:l}))})))))};var Fp=e=>{let{clientIds:t}=e;const n=(0,m.useSelect)((e=>e(Fn).getBlocksByClientId(t)),[t]);return!n.length||n.some((e=>!e))?null:(0,s.createElement)(Op,{clientIds:t,blocks:n})};var zp=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})),Vp=window.wp.blob;function Hp(){const{getBlockName:e}=(0,m.useSelect)(Fn),{getBlockType:t}=(0,m.useSelect)(r.store),{createSuccessNotice:n}=(0,m.useDispatch)(qu.store);return(0,s.useCallback)(((o,r)=>{let l="";if(1===r.length){var i;const n=r[0],s=null===(i=t(e(n)))||void 0===i?void 0:i.title;l="copy"===o?(0,h.sprintf)((0,h.__)('Copied "%s" to clipboard.'),s):(0,h.sprintf)((0,h.__)('Moved "%s" to clipboard.'),s)}else l="copy"===o?(0,h.sprintf)((0,h._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",r.length),r.length):(0,h.sprintf)((0,h._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",r.length),r.length);n(l,{type:"snackbar"})}),[])}function Up(){const{getBlocksByClientId:e,getSelectedBlockClientIds:t,hasMultiSelection:n,getSettings:o}=(0,m.useSelect)(Fn),{flashBlock:l,removeBlocks:i,replaceBlocks:s}=(0,m.useDispatch)(Fn),a=Hp();return(0,d.useRefEffect)((c=>{function u(u){const d=t();if(0===d.length)return;if(!n()){const{target:e}=u,{ownerDocument:t}=e;if("copy"===u.type||"cut"===u.type?(0,rr.documentHasUncollapsedSelection)(t):(0,rr.documentHasSelection)(t))return}if(!c.contains(u.target.ownerDocument.activeElement))return;const p=u.defaultPrevented;if(u.preventDefault(),"copy"===u.type||"cut"===u.type){1===d.length&&l(d[0]),a(u.type,d);const t=e(d),n=(0,r.serialize)(t);u.clipboardData.setData("text/plain",n),u.clipboardData.setData("text/html",n)}if("cut"===u.type)i(d);else if("paste"===u.type){if(p)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=(0,rr.getFilesFromDataTransfer)(t).filter((e=>{let{type:t}=e;return/^image\/(?:jpe?g|png|gif)$/.test(t)}));return r.length&&!o&&(o=r.map((e=>`<img src="${(0,Vp.createBlobURL)(e)}">`)).join(""),n=""),{html:o,plainText:n}}(u),l=(0,r.pasteHandler)({HTML:n,plainText:t,mode:"BLOCKS",canUserUseUnfilteredHTML:e});s(d,l,l.length-1,-1)}}return c.ownerDocument.addEventListener("copy",u),c.ownerDocument.addEventListener("cut",u),c.ownerDocument.addEventListener("paste",u),()=>{c.ownerDocument.removeEventListener("copy",u),c.ownerDocument.removeEventListener("cut",u),c.ownerDocument.removeEventListener("paste",u)}}),[])}var Gp=function(e){let{children:t}=e;return(0,s.createElement)("div",{ref:Up()},t)};function Wp(e){let{clientIds:t,children:n,__experimentalUpdateSelection:o}=e;const{canInsertBlockType:l,getBlockRootClientId:i,getBlocksByClientId:s,canMoveBlocks:a,canRemoveBlocks:c}=(0,m.useSelect)(Fn),{getDefaultBlockName:d,getGroupingBlockName:p}=(0,m.useSelect)(r.store),f=s(t),h=i(t[0]),g=(0,u.every)(f,(e=>!!e&&(0,r.hasBlockSupport)(e.name,"multiple",!0)&&l(e.name,h))),v=l(d(),h),b=a(t,h),k=c(t,h),{removeBlocks:_,replaceBlocks:y,duplicateBlocks:E,insertAfterBlock:C,insertBeforeBlock:w,flashBlock:S,setBlockMovingClientId:B,setNavigationMode:I,selectBlock:x}=(0,m.useDispatch)(Fn),T=Hp();return n({canDuplicate:g,canInsertDefaultBlock:v,canMove:b,canRemove:k,rootClientId:h,blocks:f,onDuplicate:()=>E(t,o),onRemove:()=>_(t,o),onInsertBefore(){w((0,u.first)((0,u.castArray)(t)))},onInsertAfter(){C((0,u.last)((0,u.castArray)(t)))},onMoveTo(){I(!0),x(t[0]),B(t[0])},onGroup(){if(!f.length)return;const e=p(),n=(0,r.switchToBlockType)(f,e);n&&y(t,n)},onUngroup(){if(!f.length)return;const e=f[0].innerBlocks;e.length&&y(t,e)},onCopy(){const e=f.map((e=>{let{clientId:t}=e;return t}));1===f.length&&S(e[0]),T("copy",e)}})}var $p=(0,d.compose)([(0,m.withSelect)(((e,t)=>{let{clientId:n}=t;const{getBlock:o,getBlockMode:l,getSettings:i}=e(Fn),s=o(n),a=i().codeEditingEnabled;return{mode:l(n),blockType:s?(0,r.getBlockType)(s.name):null,isCodeEditingEnabled:a}})),(0,m.withDispatch)(((e,t)=>{let{onToggle:n=u.noop,clientId:o}=t;return{onToggleMode(){e(Fn).toggleBlockMode(o),n()}}}))])((function(e){let{blockType:t,mode:n,onToggleMode:o,small:l=!1,isCodeEditingEnabled:i=!0}=e;if(!(0,r.hasBlockSupport)(t,"html",!0)||!i)return null;const a="visual"===n?(0,h.__)("Edit as HTML"):(0,h.__)("Edit visually");return(0,s.createElement)(p.MenuItem,{onClick:o},!l&&a)}));var jp=(0,d.compose)((0,m.withSelect)(((e,t)=>{let{clientId:n}=t;const o=e(Fn).getBlock(n);return{block:o,shouldRender:o&&"core/html"===o.name}})),(0,m.withDispatch)(((e,t)=>{let{block:n}=t;return{onClick:()=>e(Fn).replaceBlocks(n.clientId,(0,r.rawHandler)({HTML:(0,r.getBlockContent)(n)}))}})))((function(e){let{shouldRender:t,onClick:n,small:o}=e;if(!t)return null;const r=(0,h.__)("Convert to Blocks");return(0,s.createElement)(p.MenuItem,{onClick:n},!o&&r)}));const{Fill:Kp,Slot:qp}=(0,p.createSlotFill)("__unstableBlockSettingsMenuFirstItem");Kp.Slot=qp;var Yp=Kp;function Xp(e){let{clientIds:t,isGroupable:n,isUngroupable:o,blocksSelection:l,groupingBlockName:i,onClose:a=(()=>{})}=e;const{replaceBlocks:c}=(0,m.useDispatch)(Fn);return n||o?(0,s.createElement)(s.Fragment,null,n&&(0,s.createElement)(p.MenuItem,{onClick:()=>{(()=>{const e=(0,r.switchToBlockType)(l,i);e&&c(t,e)})(),a()}},(0,h._x)("Group","verb")),o&&(0,s.createElement)(p.MenuItem,{onClick:()=>{(()=>{const e=l[0].innerBlocks;e.length&&c(t,e)})(),a()}},(0,h._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor "))):null}const{Fill:Qp,Slot:Zp}=(0,p.createSlotFill)("BlockSettingsMenuControls");function Jp(e){let{...t}=e;return(0,s.createElement)(p.__experimentalStyleProvider,{document:document},(0,s.createElement)(Qp,t))}Jp.Slot=e=>{let{fillProps:t,clientIds:n=null}=e;const{selectedBlocks:o,selectedClientIds:l}=(0,m.useSelect)((e=>{const{getBlocksByClientId:t,getSelectedBlockClientIds:o}=e(Fn),r=null!==n?n:o();return{selectedBlocks:(0,u.map)((0,u.compact)(t(r)),(e=>e.name)),selectedClientIds:r}}),[n]),a=function(){const{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:l}=(0,m.useSelect)((e=>{var t;const{getBlockRootClientId:n,getBlocksByClientId:o,canInsertBlockType:l,getSelectedBlockClientIds:i}=e(Fn),{getGroupingBlockName:s}=e(r.store),a=i(),c=s(),u=l(c,null!=a&&a.length?n(a[0]):void 0),d=o(a),p=1===d.length&&(null===(t=d[0])||void 0===t?void 0:t.name)===c;return{clientIds:a,isGroupable:u&&d.length&&!p,isUngroupable:p&&!!d[0].innerBlocks.length,blocksSelection:d,groupingBlockName:c}}),[]);return{clientIds:e,isGroupable:t,isUngroupable:n,blocksSelection:o,groupingBlockName:l}}(),{isGroupable:c,isUngroupable:d}=a,f=c||d;return(0,s.createElement)(Zp,{fillProps:{...t,selectedBlocks:o,selectedClientIds:l}},(e=>{if((null==e?void 0:e.length)>0||f)return(0,s.createElement)(p.MenuGroup,null,e,(0,s.createElement)(Xp,i({},a,{onClose:null==t?void 0:t.onClose})))}))};var em=Jp;const tm={className:"block-editor-block-settings-menu__popover",position:"bottom right",isAlternate:!0};function nm(e){let{blocks:t,onCopy:n}=e;const o=(0,d.useCopyToClipboard)((()=>(0,r.serialize)(t)),n);return(0,s.createElement)(p.MenuItem,{ref:o},(0,h.__)("Copy"))}var om=function(e){let{clientIds:t,__experimentalSelectBlock:n,children:o,...l}=e;const a=(0,u.castArray)(t),c=a.length,d=a[0],{onlyBlock:f,title:g}=(0,m.useSelect)((e=>{var t;const{getBlockCount:n,getBlockName:o}=e(Fn),{getBlockType:l}=e(r.store);return{onlyBlock:1===n(),title:null===(t=l(o(d)))||void 0===t?void 0:t.title}}),[d]),v=(0,m.useSelect)((e=>{const{getShortcutRepresentation:t}=e(gc.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=(0,s.useCallback)(n?async e=>{const t=await e;t&&t[0]&&n(t[0])}:u.noop,[n]),k=(0,h.sprintf)((0,h.__)("Remove %s"),g),_=1===c?k:(0,h.__)("Remove blocks");return(0,s.createElement)(Wp,{clientIds:t,__experimentalUpdateSelection:!n},(e=>{let{canDuplicate:n,canInsertDefaultBlock:r,canMove:a,canRemove:m,onDuplicate:g,onInsertAfter:k,onInsertBefore:y,onRemove:E,onCopy:C,onMoveTo:w,blocks:S}=e;return(0,s.createElement)(p.DropdownMenu,i({icon:zp,label:(0,h.__)("Options"),className:"block-editor-block-settings-menu",popoverProps:tm,noIcons:!0},l),(e=>{let{onClose:l}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.MenuGroup,null,(0,s.createElement)(Yp.Slot,{fillProps:{onClose:l}}),1===c&&(0,s.createElement)(jp,{clientId:d}),(0,s.createElement)(nm,{blocks:S,onCopy:C}),n&&(0,s.createElement)(p.MenuItem,{onClick:(0,u.flow)(l,g,b),shortcut:v.duplicate},(0,h.__)("Duplicate")),r&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.MenuItem,{onClick:(0,u.flow)(l,y),shortcut:v.insertBefore},(0,h.__)("Insert before")),(0,s.createElement)(p.MenuItem,{onClick:(0,u.flow)(l,k),shortcut:v.insertAfter},(0,h.__)("Insert after"))),a&&!f&&(0,s.createElement)(p.MenuItem,{onClick:(0,u.flow)(l,w)},(0,h.__)("Move to")),1===c&&(0,s.createElement)($p,{clientId:d,onToggle:l})),(0,s.createElement)(em.Slot,{fillProps:{onClose:l},clientIds:t}),"function"==typeof o?o({onClose:l}):s.Children.map((e=>(0,s.cloneElement)(e,{onClose:l}))),m&&(0,s.createElement)(p.MenuGroup,null,(0,s.createElement)(p.MenuItem,{onClick:(0,u.flow)(l,E,b),shortcut:v.remove},_)))}))}))};var rm=function(e){let{clientIds:t,...n}=e;return(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarItem,null,(e=>(0,s.createElement)(om,i({clientIds:t,toggleProps:e},n)))))};function lm(e){let{hideDragHandle:t}=e;const{blockClientIds:n,blockClientId:o,blockType:l,hasFixedToolbar:a,hasReducedUI:u,isValid:f,isVisual:h}=(0,m.useSelect)((e=>{const{getBlockName:t,getBlockMode:n,getSelectedBlockClientIds:o,isBlockValid:l,getBlockRootClientId:i,getSettings:s}=e(Fn),a=o(),c=a[0],u=i(c),d=s();return{blockClientIds:a,blockClientId:c,blockType:c&&(0,r.getBlockType)(t(c)),hasFixedToolbar:d.hasFixedToolbar,hasReducedUI:d.hasReducedUI,rootClientId:u,isValid:a.every((e=>l(e))),isVisual:a.every((e=>"visual"===n(e)))}}),[]),{toggleBlockHighlight:g}=(0,m.useDispatch)(Fn),v=(0,s.useRef)(),{showMovers:b,gestures:k}=kp({ref:v,onChange(e){e&&u||g(o,e)}}),_=(0,d.useViewportMatch)("medium","<")||a;if(l&&!(0,r.hasBlockSupport)(l,"__experimentalToolbar",!0))return null;const y=_||b;if(0===n.length)return null;const E=f&&h,C=n.length>1,w=c()("block-editor-block-toolbar",y&&"is-showing-movers");return(0,s.createElement)("div",{className:w},!C&&!_&&(0,s.createElement)(_p,{clientIds:n}),(0,s.createElement)("div",i({ref:v},k),(E||C)&&(0,s.createElement)(p.ToolbarGroup,{className:"block-editor-block-toolbar__block-controls"},(0,s.createElement)(Fp,{clientIds:n}),(0,s.createElement)(fp,{clientIds:n,hideDragHandle:t||u}))),E&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(qn.Slot,{group:"parent",className:"block-editor-block-toolbar__slot"}),(0,s.createElement)(qn.Slot,{group:"block",className:"block-editor-block-toolbar__slot"}),(0,s.createElement)(qn.Slot,{className:"block-editor-block-toolbar__slot"}),(0,s.createElement)(qn.Slot,{group:"inline",className:"block-editor-block-toolbar__slot"}),(0,s.createElement)(qn.Slot,{group:"other",className:"block-editor-block-toolbar__slot"})),(0,s.createElement)(rm,{clientIds:n}))}var im=function(e){let{focusOnMount:t,isFixed:n,...o}=e;const{blockType:l,hasParents:a,showParentSelector:u}=(0,m.useSelect)((e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientIds:o}=e(Fn),{getBlockType:l}=e(r.store),i=o(),s=i[0],a=n(s),c=l(t(a[a.length-1]));return{blockType:s&&l(t(s)),hasParents:a.length,showParentSelector:(0,r.hasBlockSupport)(c,"__experimentalParentSelector",!0)&&i.length<=1}}),[]);if(l&&!(0,r.hasBlockSupport)(l,"__experimentalToolbar",!0))return null;const d=c()("block-editor-block-contextual-toolbar",{"has-parent":a&&u,"is-fixed":n});return(0,s.createElement)(op,i({focusOnMount:t,className:d,"aria-label":(0,h.__)("Block tools")},o),(0,s.createElement)(lm,{hideDragHandle:n}))};function sm(e){const{isNavigationMode:t,isMultiSelecting:n,hasMultiSelection:o,isTyping:r,isCaretWithinFormattedText:l,getSettings:i,getLastMultiSelectedBlockClientId:s}=e(Fn);return{isNavigationMode:t(),isMultiSelecting:n(),isTyping:r(),isCaretWithinFormattedText:l(),hasMultiSelection:o(),hasFixedToolbar:i().hasFixedToolbar,lastClientId:s()}}function am(e){let{clientId:t,rootClientId:n,isValid:o,isEmptyDefaultBlock:r,capturingClientId:l,__unstablePopoverSlot:i,__unstableContentRef:a}=e;const{isNavigationMode:u,isMultiSelecting:f,isTyping:h,isCaretWithinFormattedText:g,hasMultiSelection:v,hasFixedToolbar:b,lastClientId:k}=(0,m.useSelect)(sm,[]),_=(0,m.useSelect)((e=>{const{isBlockInsertionPointVisible:n,getBlockInsertionPoint:o,getBlockOrder:r}=e(Fn);if(!n())return!1;const l=o();return r(l.rootClientId)[l.index]===t}),[t]),y=(0,d.useViewportMatch)("medium"),[E,C]=(0,s.useState)(!1),[w,S]=(0,s.useState)(!1),{stopTyping:B}=(0,m.useDispatch)(Fn),I=!h&&!u&&r&&o,x=u,T=!u&&!b&&y&&!I&&!f&&(!h||g),N=!(u||T||b||r);(0,gc.useShortcut)("core/block-editor/focus-toolbar",(()=>{C(!0),B(!0)}),{isDisabled:!N}),(0,s.useEffect)((()=>{T||C(!1)}),[T]);const P=(0,s.useRef)(),M=Ua(t),R=Ua(k),L=Ua(l),A=Wd(a);if(!(x||T||E||I))return null;let D=M;if(!D)return null;l&&(D=L);let O=D;if(v){if(!R)return null;O={top:D,bottom:R}}const F=I?"top left right":"top right left",{ownerDocument:z}=D,V=I?void 0:z.defaultView.frameElement||(0,rr.getScrollContainer)(D)||z.body;return(0,s.createElement)(p.Popover,{ref:A,noArrow:!0,animate:!1,position:F,focusOnMount:!1,anchorRef:O,className:c()("block-editor-block-list__block-popover",{"is-insertion-point-visible":_}),__unstableStickyBoundaryElement:V,__unstableSlotName:i||null,__unstableBoundaryParent:!0,__unstableObserveElement:D,shouldAnchorIncludePadding:!0,__unstableEditorCanvasWrapper:null==a?void 0:a.current},(T||E)&&(0,s.createElement)("div",{onFocus:function(){S(!0)},onBlur:function(){S(!1)},tabIndex:-1,className:c()("block-editor-block-list__block-popover-inserter",{"is-visible":w})},(0,s.createElement)(Fd,{clientId:t,rootClientId:n,__experimentalIsQuick:!0})),(T||E)&&(0,s.createElement)(im,{focusOnMount:E,__experimentalInitialIndex:P.current,__experimentalOnIndexChange:e=>{P.current=e},key:t}),x&&(0,s.createElement)(ep,{clientId:t,rootClientId:n,blockElement:D}),I&&(0,s.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},(0,s.createElement)(Fd,{position:"bottom right",rootClientId:n,clientId:t,__experimentalIsQuick:!0})))}function cm(e){const{getSelectedBlockClientId:t,getFirstMultiSelectedBlockClientId:n,getBlockRootClientId:o,getBlock:l,getBlockParents:i,__experimentalGetBlockListSettingsForBlocks:s}=e(Fn),a=t()||n();if(!a)return;const{name:c,attributes:d={},isValid:p}=l(a)||{},m=i(a),f=s(m),h=(0,u.find)(m,(e=>{var t;return null===(t=f[e])||void 0===t?void 0:t.__experimentalCaptureToolbars}));return{clientId:a,rootClientId:o(a),name:c,isValid:p,isEmptyDefaultBlock:c&&(0,r.isUnmodifiedDefaultBlock)({name:c,attributes:d}),capturingClientId:h}}function um(e){let{__unstablePopoverSlot:t,__unstableContentRef:n}=e;const o=(0,m.useSelect)(cm,[]);if(!o)return null;const{clientId:r,rootClientId:l,name:i,isValid:a,isEmptyDefaultBlock:c,capturingClientId:u}=o;return i?(0,s.createElement)(am,{clientId:r,rootClientId:l,isValid:a,isEmptyDefaultBlock:c,capturingClientId:u,__unstablePopoverSlot:t,__unstableContentRef:n}):null}function dm(e){let{children:t}=e;const n=(0,s.useContext)($d),o=(0,s.useContext)(p.Disabled.Context);return n||o?t:(Rt()('wp.components.Popover.Slot name="block-toolbar"',{alternative:"wp.blockEditor.BlockTools"}),(0,s.createElement)(Kd,{__unstablePopoverSlot:"block-toolbar"},(0,s.createElement)(um,{__unstablePopoverSlot:"block-toolbar"}),t))}var pm=(0,d.createHigherOrderComponent)((e=>t=>{const{clientId:n}=Un();return(0,s.createElement)(e,i({},t,{clientId:n}))}),"withClientId");var mm=pm((e=>{let{clientId:t,showSeparator:n,isFloating:o,onAddBlock:r,isToggle:l}=e;return(0,s.createElement)(Ud,{className:c()({"block-list-appender__toggle":l}),rootClientId:t,showSeparator:n,isFloating:o,onAddBlock:r})}));var fm=(0,d.compose)([pm,(0,m.withSelect)(((e,t)=>{let{clientId:n}=t;const{getBlockOrder:o}=e(Fn),r=o(n);return{lastBlockClientId:(0,u.last)(r)}}))])((e=>{let{clientId:t,lastBlockClientId:n}=e;return(0,s.createElement)(zd,{rootClientId:t,lastBlockClientId:n})})),hm=window.wp.isShallowEqual,gm=n.n(hm);const vm=new WeakMap;function bm(e,t,n,o,l,i,s){return a=>{const{srcRootClientId:c,srcClientIds:u,type:d,blocks:p}=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){s();const n=p.map((e=>(0,r.cloneBlock)(e)));i(n,t,e,!0,null)}if("block"===d){const r=n(u[0]);if(c===e&&r===t)return;if(u.includes(e)||o(u).some((t=>t===e)))return;const i=c===e,s=u.length;l(u,c,e,i&&r<t?t-s:t)}}}function km(e,t){const n=(0,m.useSelect)((e=>e(Fn).getSettings().mediaUpload),[]),{canInsertBlockType:o,getBlockIndex:l,getClientIdsOfDescendants:i}=(0,m.useSelect)(Fn),{insertBlocks:s,moveBlocksToPosition:a,updateBlockAttributes:c,clearSelectedBlock:u}=(0,m.useDispatch)(Fn),d=bm(e,t,l,i,a,s,u),p=function(e,t,n,o,l,i){return s=>{if(!n)return;const a=(0,r.findTransform)((0,r.getBlockTransforms)("from"),(t=>"files"===t.type&&l(t.blockName,e)&&t.isMatch(s)));if(a){const n=a.transform(s,o);i(n,t,e)}}}(e,t,n,c,o,s),f=function(e,t,n){return o=>{const l=(0,r.pasteHandler)({HTML:o,mode:"BLOCKS"});l.length&&n(l,t,e)}}(e,t,s);return e=>{const t=(0,rr.getFilesFromDataTransfer)(e.dataTransfer),n=e.dataTransfer.getData("text/html");t.length?p(t):n?f(n):d(e)}}function _m(e,t,n){const o="top"===n||"bottom"===n,{x:r,y:l}=e,i=o?r:l,s=o?l:r,a=o?t.left:t.top,c=o?t.right:t.bottom,u=t[n];let d;return d=i>=a&&i<=c?i:i<c?a:c,Math.sqrt((i-d)**2+(s-u)**2)}function ym(e,t){let n,o,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["top","bottom","left","right"];return r.forEach((r=>{const l=_m(e,t,r);(void 0===n||l<n)&&(n=l,o=r)})),[n,o]}function Em(e,t,n){const o="horizontal"===n?["left","right"]:["top","bottom"],r=(0,h.isRTL)();let l,i;return e.forEach(((e,n)=>{const s=e.getBoundingClientRect(),[a,c]=ym(t,s,o);if(void 0===i||a<i){i=a,l=n+("bottom"===c||!r&&"right"===c||r&&"left"===c?1:0)}})),l}function Cm(){let{rootClientId:e=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[t,n]=(0,s.useState)(null),o=(0,m.useSelect)((t=>{const{getTemplateLock:n}=t(Fn);return"all"===n(e)}),[e]),{getBlockListSettings:r}=(0,m.useSelect)(Fn),{showInsertionPoint:l,hideInsertionPoint:i}=(0,m.useDispatch)(Fn),a=km(e,t),c=(0,d.useThrottle)((0,s.useCallback)(((t,o)=>{var i;const s=Em(Array.from(o.children).filter((e=>e.classList.contains("wp-block"))),{x:t.clientX,y:t.clientY},null===(i=r(e))||void 0===i?void 0:i.orientation);n(void 0===s?0:s),null!==s&&l(e,s)}),[]),200);return(0,d.__experimentalUseDropZone)({isDisabled:o,onDrop:a,onDragOver(e){c(e,e.currentTarget)},onDragLeave(){c.cancel(),i(),n(null)},onDragEnd(){c.cancel(),i(),n(null)}})}function wm(e){const{clientId:t,allowedBlocks:n,__experimentalDefaultBlock:o,__experimentalDirectInsert:l,template:i,templateLock:a,wrapperRef:c,templateInsertUpdatesSelection:d,__experimentalCaptureToolbars:p,__experimentalAppenderTagName:f,renderAppender:h,orientation:g,placeholder:v,__experimentalLayout:b}=e;!function(e,t,n,o,r,l,i,a){const{updateBlockListSettings:c}=(0,m.useDispatch)(Fn),{blockListSettings:u,parentLock:d}=(0,m.useSelect)((t=>{const n=t(Fn).getBlockRootClientId(e);return{blockListSettings:t(Fn).getBlockListSettings(e),parentLock:t(Fn).getTemplateLock(n)}}),[e]),p=(0,s.useMemo)((()=>t),t);(0,s.useLayoutEffect)((()=>{const t={allowedBlocks:p,templateLock:void 0===r?d:r};if(void 0!==l&&(t.__experimentalCaptureToolbars=l),void 0!==i)t.orientation=i;else{const e=Io(null==a?void 0:a.type);t.orientation=e.getOrientation(a)}void 0!==n&&(t.__experimentalDefaultBlock=n),void 0!==o&&(t.__experimentalDirectInsert=o),gm()(u,t)||c(e,t)}),[e,u,p,n,o,r,d,l,i,c,a])}(t,n,o,l,a,p,g,b),function(e,t,n,o){const{getSelectedBlocksInitialCaretPosition:l}=(0,m.useSelect)(Fn),{replaceInnerBlocks:i}=(0,m.useDispatch)(Fn),a=(0,m.useSelect)((t=>t(Fn).getBlocks(e)),[e]),c=(0,s.useRef)(null);(0,s.useLayoutEffect)((()=>{if((0===a.length||"all"===n)&&!(0,u.isEqual)(t,c.current)){c.current=t;const n=(0,r.synchronizeBlocksWithTemplate)(a,t);(0,u.isEqual)(n,a)||i(e,n,0===a.length&&o&&0!==n.length,l())}}),[a,t,n,e])}(t,i,a,d);const k=(0,m.useSelect)((e=>{const n=e(Fn).getBlock(t),o=(0,r.getBlockType)(n.name);if(o&&o.providesContext)return function(e,t){vm.has(t)||vm.set(t,new WeakMap);const n=vm.get(t);if(!n.has(e)){const o=(0,u.mapValues)(t.providesContext,(t=>e[t]));n.set(e,o)}return n.get(e)}(n.attributes,o)}),[t]);return(0,s.createElement)(ir,{value:k},(0,s.createElement)(Lm,{rootClientId:t,renderAppender:h,__experimentalAppenderTagName:f,__experimentalLayout:b,wrapperRef:c,placeholder:v}))}function Sm(e){return lc(e),(0,s.createElement)(wm,e)}const Bm=(0,s.forwardRef)(((e,t)=>{const n=Im({ref:t},e);return(0,s.createElement)("div",{className:"block-editor-inner-blocks"},(0,s.createElement)("div",n))}));function Im(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{clientId:n}=Un(),o=(0,d.useViewportMatch)("medium","<"),{__experimentalCaptureToolbars:l,hasOverlay:a}=(0,m.useSelect)((e=>{if(!n)return{};const{getBlockName:t,isBlockSelected:l,hasSelectedInnerBlock:i,isNavigationMode:s}=e(Fn),a=t(n),c=s()||o;return{__experimentalCaptureToolbars:e(r.store).hasBlockSupport(a,"__experimentalExposeControlsToChildren",!1),hasOverlay:"core/template"!==a&&!l(n)&&!i(n,!0)&&c}}),[n,o]),u=(0,d.useMergeRefs)([e.ref,Cm({rootClientId:n})]),p={__experimentalCaptureToolbars:l,...t},f=p.value&&p.onChange?Sm:wm;return{...e,ref:u,className:c()(e.className,"block-editor-block-list__layout",{"has-overlay":a}),children:n?(0,s.createElement)(f,i({},p,{clientId:n})):(0,s.createElement)(Lm,t)}}Im.save=r.__unstableGetInnerBlocksProps,Bm.DefaultBlockAppender=fm,Bm.ButtonBlockAppender=mm,Bm.Content=()=>Im.save().children;var xm=Bm;const Tm=(0,s.createContext)(),Nm=(0,s.createContext)();function Pm(e){let{className:t,...n}=e;const[o,r]=(0,s.useState)(),l=(0,d.useViewportMatch)("medium"),{isOutlineMode:i,isFocusMode:a,isNavigationMode:u}=(0,m.useSelect)((e=>{const{getSettings:t,isNavigationMode:n}=e(Fn),{outlineMode:o,focusMode:r}=t();return{isOutlineMode:o,isFocusMode:r,isNavigationMode:n()}}),[]),p=Im({ref:(0,d.useMergeRefs)([ac(),qd(),r]),className:c()("is-root-container",t,{"is-outline-mode":i,"is-focus-mode":a&&l,"is-navigate-mode":u})},n);return(0,s.createElement)(Tm.Provider,{value:o},(0,s.createElement)("div",p))}function Mm(e){return function(){const e=(0,m.useSelect)((e=>e(Fn).getSettings().__experimentalBlockPatterns),[]);(0,s.useEffect)((()=>{if(null==e||!e.length)return;let t,n=-1;const o=()=>{n++,n>=e.length||((0,m.select)(Fn).__experimentalGetParsedPattern(e[n].name),t=Yd(o))};return t=Yd(o),()=>Xd(t)}),[e])}(),(0,s.createElement)(dm,null,(0,s.createElement)(Hn,{value:zn},(0,s.createElement)(Pm,e)))}function Rm(e){let{placeholder:t,rootClientId:n,renderAppender:o,__experimentalAppenderTagName:r,__experimentalLayout:l=xo}=e;const[i,a]=(0,s.useState)(new Set),c=(0,s.useMemo)((()=>{const{IntersectionObserver:e}=window;if(e)return new e((e=>{a((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}))}))}),[a]),{order:u,selectedBlocks:d}=(0,m.useSelect)((e=>{const{getBlockOrder:t,getSelectedBlockClientIds:o}=e(Fn);return{order:t(n),selectedBlocks:o()}}),[n]);return(0,s.createElement)(No,{value:l},(0,s.createElement)(Nm.Provider,{value:c},u.map((e=>(0,s.createElement)(m.AsyncModeProvider,{key:e,value:!i.has(e)&&!d.includes(e)},(0,s.createElement)(Qa,{rootClientId:n,clientId:e}))))),u.length<1&&t,(0,s.createElement)(Gd,{tagName:r,rootClientId:n,renderAppender:o}))}function Lm(e){return(0,s.createElement)(m.AsyncModeProvider,{value:!1},(0,s.createElement)(Rm,e))}Mm.__unstableElementContext=Tm;const Am=["colors","disableCustomColors","gradients","disableCustomGradients"];function Dm(e){let{colors:t,gradients:n,disableCustomColors:o,disableCustomGradients:r,__experimentalHasMultipleOrigins:l,__experimentalIsRenderedInSidebar:i,className:a,label:d,onColorChange:m,onGradientChange:f,colorValue:g,gradientValue:v,clearable:b,showTitle:k=!0,enableAlpha:_}=e;const y=m&&(!(0,u.isEmpty)(t)||!o),E=f&&(!(0,u.isEmpty)(n)||!r),[C,w]=(0,s.useState)(v?"gradient":!!y&&"color");return y||E?(0,s.createElement)(p.BaseControl,{className:c()("block-editor-color-gradient-control",a)},(0,s.createElement)("fieldset",null,(0,s.createElement)(p.__experimentalVStack,{spacing:1},k&&(0,s.createElement)("legend",null,(0,s.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},(0,s.createElement)(p.BaseControl.VisualLabel,null,d))),y&&E&&(0,s.createElement)(p.__experimentalToggleGroupControl,{value:C,onChange:w,label:(0,h.__)("Select color type"),hideLabelFromVision:!0,isBlock:!0},(0,s.createElement)(p.__experimentalToggleGroupControlOption,{value:"color",label:(0,h.__)("Solid")}),(0,s.createElement)(p.__experimentalToggleGroupControlOption,{value:"gradient",label:(0,h.__)("Gradient")})),("color"===C||!E)&&(0,s.createElement)(p.ColorPalette,{value:g,onChange:E?e=>{m(e),f()}:m,colors:t,disableCustomColors:o,__experimentalHasMultipleOrigins:l,__experimentalIsRenderedInSidebar:i,clearable:b,enableAlpha:_}),("gradient"===C||!y)&&(0,s.createElement)(p.GradientPicker,{value:v,onChange:y?e=>{f(e),m()}:f,gradients:n,disableCustomGradients:r,__experimentalHasMultipleOrigins:l,__experimentalIsRenderedInSidebar:i,clearable:b})))):null}function Om(e){const t={};return t.colors=po("color.palette"),t.gradients=po("color.gradients"),t.disableCustomColors=!po("color.custom"),t.disableCustomGradients=!po("color.customGradient"),(0,s.createElement)(Dm,i({},t,e))}var Fm=function(e){return(0,u.every)(Am,(t=>e.hasOwnProperty(t)))?(0,s.createElement)(Dm,e):(0,s.createElement)(Om,e)};function zm(e){let t,{colors:n,gradients:o,disableCustomColors:r,disableCustomGradients:l,__experimentalHasMultipleOrigins:a,__experimentalIsRenderedInSidebar:u,enableAlpha:d,settings:m}=e;return u&&(t="bottom left"),(0,s.createElement)(p.__experimentalItemGroup,{isBordered:!0,isSeparated:!0,className:"block-editor-panel-color-gradient-settings__item-group"},m.map(((e,m)=>(0,s.createElement)(p.Dropdown,{key:m,position:t,className:"block-editor-panel-color-gradient-settings__dropdown",contentClassName:"block-editor-panel-color-gradient-settings__dropdown-content",renderToggle:t=>{var n;let{isOpen:o,onToggle:r}=t;return(0,s.createElement)(p.__experimentalItem,{onClick:r,className:c()("block-editor-panel-color-gradient-settings__item",{"is-open":o})},(0,s.createElement)(p.__experimentalHStack,{justify:"flex-start"},(0,s.createElement)(p.ColorIndicator,{className:"block-editor-panel-color-gradient-settings__color-indicator",colorValue:null!==(n=e.gradientValue)&&void 0!==n?n:e.colorValue}),(0,s.createElement)(p.FlexItem,null,e.label)))},renderContent:()=>(0,s.createElement)(Fm,i({showTitle:!1,colors:n,gradients:o,disableCustomColors:r,disableCustomGradients:l,__experimentalHasMultipleOrigins:a,__experimentalIsRenderedInSidebar:u,enableAlpha:d},e))}))))}function Vm(){return{disableCustomColors:!po("color.custom"),disableCustomGradients:!po("color.customGradient")}}function Hm(){const e=Vm(),t=po("color.palette.custom"),n=po("color.palette.theme"),o=po("color.palette.default"),r=po("color.defaultPalette");e.colors=(0,s.useMemo)((()=>{const e=[];return n&&n.length&&e.push({name:(0,h._x)("Theme","Indicates this palette comes from the theme."),colors:n}),r&&o&&o.length&&e.push({name:(0,h._x)("Default","Indicates this palette comes from WordPress."),colors:o}),t&&t.length&&e.push({name:(0,h._x)("Custom","Indicates this palette comes from the theme."),colors:t}),e}),[o,n,t]);const l=po("color.gradients.custom"),i=po("color.gradients.theme"),a=po("color.gradients.default"),c=po("color.defaultGradients");return e.gradients=(0,s.useMemo)((()=>{const e=[];return i&&i.length&&e.push({name:(0,h._x)("Theme","Indicates this palette comes from the theme."),gradients:i}),c&&a&&a.length&&e.push({name:(0,h._x)("Default","Indicates this palette comes from WordPress."),gradients:a}),l&&l.length&&e.push({name:(0,h._x)("Custom","Indicates this palette is created by the user."),gradients:l}),e}),[l,i,a]),e}Qc([Zc,tu]);const Um=(e,t,n)=>{if(t){const n=(0,u.find)(e,{slug:t});if(n)return n}return{color:n}},Gm=(e,t)=>(0,u.find)(e,{color:t});function Wm(e,t){if(e&&t)return`has-${(0,u.kebabCase)(t)}-${e}`}const $m=[];function jm(e){const{attributes:{borderColor:t,style:n},setAttributes:o}=e,r=Hm(),l=r.colors.reduce(((e,t)=>e.concat(t.colors)),[]),[a,c]=(0,s.useState)((()=>{var e,o;return null===(e=Um(l,t,null==n||null===(o=n.border)||void 0===o?void 0:o.color))||void 0===e?void 0:e.color})),u=[{label:(0,h.__)("Color"),onColorChange:e=>{c(e);const t=Gm(l,e),r={...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:qo(r),borderColor:i})},colorValue:a,clearable:!1}];return(0,s.createElement)(zm,i({settings:u,disableCustomColors:!0,disableCustomGradients:!0,__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,enableAlpha:!0},r))}function Km(e,t,n){var o;if(!kf(t,"color")||_f(t))return e;const{borderColor:r,style:l}=n,i=Wm("border-color",r),s=c()(e.className,{"has-border-color":r||(null==l||null===(o=l.border)||void 0===o?void 0:o.color),[i]:!!i});return e.className=s||void 0,e}const qm=(0,d.createHigherOrderComponent)((e=>t=>{var n,o;const{name:r,attributes:l}=t,{borderColor:a}=l,c=po("color.palette")||$m;if(!kf(r,"color")||_f(r))return(0,s.createElement)(e,t);const u={borderColor:a?null===(n=Um(c,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}},(0,s.createElement)(e,i({},t,{wrapperProps:d}))}));function Ym(e){return[...e].sort(((t,n)=>e.filter((e=>e===n)).length-e.filter((e=>e===t)).length)).shift()}function Xm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"==typeof e)return e;const t=Object.values(e).map((e=>(0,p.__experimentalParseUnit)(e))),n=t.map((e=>e[0])),o=t.map((e=>e[1])),r=n.every((e=>e===n[0]))?n[0]:"",l=Ym(o),i=0===r||r?`${r}${l}`:null;return i}function Qm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Xm(e),n=isNaN(parseFloat(t));return n}function Zm(e){if(!e)return!1;if("string"==typeof e)return!0;return!!Object.values(e).filter((e=>!!e||0===e)).length}function Jm(e){let{onChange:t,values:n,...o}=e;const r=Xm(n),l=Zm(n)&&Qm(n),a=l?(0,h.__)("Mixed"):null;return(0,s.createElement)(p.__experimentalUnitControl,i({},o,{"aria-label":(0,h.__)("Border radius"),disableUnits:l,isOnly:!0,value:r,onChange:t,placeholder:a}))}(0,l.addFilter)("blocks.registerBlockType","core/border/addAttributes",(function(e){return kf(e,"color")?e.attributes.borderColor?e:{...e,attributes:{...e.attributes,borderColor:{type:"string"}}}:e})),(0,l.addFilter)("blocks.getSaveContent.extraProps","core/border/addSaveProps",Km),(0,l.addFilter)("blocks.registerBlockType","core/border/addEditProps",(function(e){if(!kf(e,"color")||_f(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),Km(o,e,n)},e})),(0,l.addFilter)("editor.BlockListBlock","core/border/with-border-color-palette-styles",qm);const ef={topLeft:(0,h.__)("Top left"),topRight:(0,h.__)("Top right"),bottomLeft:(0,h.__)("Bottom left"),bottomRight:(0,h.__)("Bottom right")};function tf(e){let{onChange:t,values:n,...o}=e;const r="string"!=typeof n?n:{topLeft:n,topRight:n,bottomLeft:n,bottomRight:n};return(0,s.createElement)("div",{className:"components-border-radius-control__input-controls-wrapper"},Object.entries(ef).map((e=>{let[n,l]=e;return(0,s.createElement)(p.__experimentalUnitControl,i({},o,{key:n,"aria-label":l,value:r[n],onChange:(a=n,e=>{t&&t({...r,[a]:e||void 0})})}));var a})))}var nf=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));var of=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));function rf(e){let{isLinked:t,...n}=e;const o=t?(0,h.__)("Unlink Radii"):(0,h.__)("Link Radii");return(0,s.createElement)(p.Tooltip,{text:o},(0,s.createElement)(p.Button,i({},n,{className:"component-border-radius-control__linked-button",isPrimary:t,isSecondary:!t,isSmall:!0,icon:t?nf:of,iconSize:16,"aria-label":o})))}const lf={topLeft:null,topRight:null,bottomLeft:null,bottomRight:null},sf={px:100,em:20,rem:20};function af(e){let{onChange:t,values:n}=e;const[o,r]=(0,s.useState)(!Zm(n)||!Qm(n)),l=(0,p.__experimentalUseCustomUnits)({availableUnits:po("spacing.units")||["px","em","rem"]}),i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("string"==typeof e){const[,t]=(0,p.__experimentalParseUnit)(e);return t||"px"}const t=Object.values(e).map((e=>{const[,t]=(0,p.__experimentalParseUnit)(e);return t}));return Ym(t)||"px"}(n),a=l&&l.find((e=>e.value===i)),c=(null==a?void 0:a.step)||1,[u]=(0,p.__experimentalParseUnit)(Xm(n));return(0,s.createElement)("fieldset",{className:"components-border-radius-control"},(0,s.createElement)("legend",null,(0,h.__)("Radius")),(0,s.createElement)("div",{className:"components-border-radius-control__wrapper"},o?(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Jm,{className:"components-border-radius-control__unit-control",values:n,min:0,onChange:t,unit:i,units:l}),(0,s.createElement)(p.RangeControl,{className:"components-border-radius-control__range-control",value:u,min:0,max:sf[i],initialPosition:0,withInputField:!1,onChange:e=>{t(void 0!==e?`${e}${i}`:void 0)},step:c})):(0,s.createElement)(tf,{min:0,onChange:t,values:n||lf,units:l}),(0,s.createElement)(rf,{onClick:()=>r(!o),isLinked:o})))}function cf(e){var t;const{attributes:{style:n},setAttributes:o}=e;return(0,s.createElement)(af,{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=qo(t)),o({style:t})}})}var uf=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,s.createElement)(O.Path,{d:"M5 11.25h14v1.5H5z"}));var df=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,s.createElement)(O.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 pf=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,s.createElement)(O.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 mf=[{label:(0,h.__)("Solid"),icon:uf,value:"solid"},{label:(0,h.__)("Dashed"),icon:df,value:"dashed"},{label:(0,h.__)("Dotted"),icon:pf,value:"dotted"}];function ff(e){let{onChange:t,value:n}=e;return(0,s.createElement)("fieldset",{className:"components-border-style-control"},(0,s.createElement)("legend",null,(0,h.__)("Style")),(0,s.createElement)("div",{className:"components-border-style-control__buttons"},mf.map((e=>(0,s.createElement)(p.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})))))}const hf=e=>{var t;const{attributes:{style:n},setAttributes:o}=e;return(0,s.createElement)(ff,{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:qo(t)})}})},gf=e=>{const{attributes:{borderColor:t,style:n},setAttributes:o}=e,{width:r,color:l,style:i}=(null==n?void 0:n.border)||{},[a,c]=(0,s.useState)(),[u,d]=(0,s.useState)();(0,s.useEffect)((()=>{"none"!==i&&c(i)}),[i]),(0,s.useEffect)((()=>{(t||l)&&d({name:t||void 0,color:l||void 0})}),[t,l]);const m=(0,p.__experimentalUseCustomUnits)({availableUnits:po("spacing.units")||["px","em","rem"]});return(0,s.createElement)(p.__experimentalUnitControl,{value:r,label:(0,h.__)("Width"),min:0,onChange:e=>{let r={...n,border:{...null==n?void 0:n.border,width:e}},l=t;const s=0===parseFloat(e);s&&(l=void 0,r.border.color=void 0,r.border.style="none"),s||"none"!==i||(r.border.style=a),s||void 0!==t||(l=null==u?void 0:u.name,r.border.color=null==u?void 0:u.color),void 0!==e&&""!==e||(r=qo(r)),o({borderColor:l,style:r})},units:m})},vf="__experimentalBorder";function bf(e){const t=yf(e),n=kf(e.name),o=po("border.color")&&kf(e.name,"color"),r=po("border.radius")&&kf(e.name,"radius"),l=po("border.style")&&kf(e.name,"style"),i=po("border.width")&&kf(e.name,"width");return t||!n?null:(0,s.createElement)(er,null,(0,s.createElement)(p.PanelBody,{className:"block-editor-hooks__border-controls",title:(0,h.__)("Border"),initialOpen:!1},(i||l)&&(0,s.createElement)("div",{className:"block-editor-hooks__border-controls-row"},i&&(0,s.createElement)(gf,e),l&&(0,s.createElement)(hf,e)),o&&(0,s.createElement)(jm,e),r&&(0,s.createElement)(cf,e)))}function kf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"any";if("web"!==s.Platform.OS)return!1;const n=(0,r.getBlockSupport)(e,vf);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 _f(e){const t=(0,r.getBlockSupport)(e,vf);return null==t?void 0:t.__experimentalSkipSerialization}const yf=()=>[!po("border.color"),!po("border.radius"),!po("border.style"),!po("border.width")].every(Boolean);function Ef(e){if(e)return`has-${e}-gradient-background`}function Cf(e,t){const n=(0,u.find)(e,["slug",t]);return n&&n.gradient}function wf(e,t){return(0,u.find)(e,["gradient",t])}function Sf(e,t){const n=wf(e,t);return n&&n.slug}function Bf(){let{gradientAttribute:e="gradient",customGradientAttribute:t="customGradient"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{clientId:n}=Un(),o=po("color.gradients.custom"),r=po("color.gradients.theme"),l=po("color.gradients.default"),i=(0,s.useMemo)((()=>[...o||[],...r||[],...l||[]]),[o,r,l]),{gradient:a,customGradient:c}=(0,m.useSelect)((o=>{const{getBlockAttributes:r}=o(Fn),l=r(n)||{};return{customGradient:l[t],gradient:l[e]}}),[n,e,t]),{updateBlockAttributes:u}=(0,m.useDispatch)(Fn),d=(0,s.useCallback)((o=>{const r=Sf(i,o);u(n,r?{[e]:r,[t]:void 0}:{[e]:void 0,[t]:o})}),[i,n,u]),p=Ef(a);let f;return f=a?Cf(i,a):c,{gradientClass:p,gradientValue:f,setGradient:d}}const If=(0,h.__)("(%s: color %s)"),xf=(0,h.__)("(%s: gradient %s)"),Tf=["colors","disableCustomColors","gradients","disableCustomGradients"],Nf=e=>{let{colors:t,gradients:n,settings:o}=e;return o.map(((e,o)=>{let r,{colorValue:l,gradientValue:i,label:a,colors:c,gradients:u}=e;if(!l&&!i)return null;if(l){const e=Gm(c||t,l);r=(0,h.sprintf)(If,a.toLowerCase(),e&&e.name||l)}else{const e=wf(u||n,l);r=(0,h.sprintf)(xf,a.toLowerCase(),e&&e.name||i)}return(0,s.createElement)(p.ColorIndicator,{key:o,colorValue:l||i,"aria-label":r})}))},Pf=e=>{let{className:t,colors:n,gradients:o,disableCustomColors:r,disableCustomGradients:l,children:a,settings:d,title:m,showTitle:f=!0,__experimentalHasMultipleOrigins:h,__experimentalIsRenderedInSidebar:g,enableAlpha:v,...b}=e;if((0,u.isEmpty)(n)&&(0,u.isEmpty)(o)&&r&&l&&(0,u.every)(d,(e=>(0,u.isEmpty)(e.colors)&&(0,u.isEmpty)(e.gradients)&&(void 0===e.disableCustomColors||e.disableCustomColors)&&(void 0===e.disableCustomGradients||e.disableCustomGradients))))return null;const k=(0,s.createElement)("span",{className:"block-editor-panel-color-gradient-settings__panel-title"},m,(0,s.createElement)(Nf,{colors:n,gradients:o,settings:d}));return(0,s.createElement)(p.PanelBody,i({className:c()("block-editor-panel-color-gradient-settings",t),title:f?k:void 0},b),(0,s.createElement)(zm,{settings:d,colors:n,gradients:o,disableCustomColors:r,disableCustomGradients:l,__experimentalHasMultipleOrigins:h,__experimentalIsRenderedInSidebar:g,enableAlpha:v}),!!a&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.__experimentalSpacer,{marginY:4})," ",a))},Mf=e=>{const t=Vm();return t.colors=po("color.palette"),t.gradients=po("color.gradients"),(0,s.createElement)(Pf,i({},t,e))},Rf=e=>{const t=Hm();return(0,s.createElement)(Pf,i({},t,e))};var Lf=e=>(0,u.every)(Tf,(t=>e.hasOwnProperty(t)))?(0,s.createElement)(Pf,e):e.__experimentalHasMultipleOrigins?(0,s.createElement)(Rf,e):(0,s.createElement)(Mf,e);function Af(e){let{colordBackgroundColor:t,colordTextColor:n,backgroundColor:o,textColor:r}=e;const l=t.brightness()<n.brightness()?(0,h.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):(0,h.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return(0,s.useEffect)((()=>{(0,Nt.speak)((0,h.__)("This color combination may be hard for people to read."))}),[o,r]),(0,s.createElement)("div",{className:"block-editor-contrast-checker"},(0,s.createElement)(p.Notice,{spokenMessage:null,status:"warning",isDismissible:!1},l))}Qc([Zc,tu]);var Df=function(e){let{backgroundColor:t,fallbackBackgroundColor:n,fallbackTextColor:o,fontSize:r,isLargeText:l,textColor:i}=e;if(!t&&!n||!i&&!o)return null;const a=Yc(t||n),c=Yc(i||o);return 1!==a.alpha()||1!==c.alpha()||c.isReadable(a,{level:"AA",size:l||!1!==l&&r>=24?"large":"small"})?null:(0,s.createElement)(Af,{backgroundColor:t,textColor:i,colordBackgroundColor:a,colordTextColor:c})};function Of(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function Ff(e){let{settings:t,clientId:n,enableContrastChecking:o=!0,showTitle:r=!0}=e;const[l,i]=(0,s.useState)(),[a,c]=(0,s.useState)(),u=Ha(n);return(0,s.useEffect)((()=>{if(!o)return;if(!u.current)return;c(Of(u.current).color);let e=u.current,t=Of(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===e.parentNode.ELEMENT_NODE;)e=e.parentNode,t=Of(e).backgroundColor;i(t)})),(0,s.createElement)(er,null,(0,s.createElement)(Lf,{title:(0,h.__)("Color"),initialOpen:!1,settings:t,showTitle:r,__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0},o&&(0,s.createElement)(Df,{backgroundColor:l,textColor:a})))}const zf="color",Vf=e=>{const t=(0,r.getBlockSupport)(e,zf);return t&&(!0===t.link||!0===t.gradient||!1!==t.background||!1!==t.text)},Hf=e=>{const t=(0,r.getBlockSupport)(e,zf);return null==t?void 0:t.__experimentalSkipSerialization},Uf=e=>{const t=(0,r.getBlockSupport)(e,zf);return(0,u.isObject)(t)&&!!t.gradients};function Gf(e,t,n){var o,r,l,i,s,a;if(!Vf(t)||Hf(t))return e;const u=Uf(t),{backgroundColor:d,textColor:p,gradient:m,style:f}=n,h=Wm("background-color",d),g=Ef(m),v=Wm("color",p),b=c()(e.className,v,g,{[h]:!(u&&null!=f&&null!==(o=f.color)&&void 0!==o&&o.gradient||!h),"has-text-color":p||(null==f||null===(r=f.color)||void 0===r?void 0:r.text),"has-background":d||(null==f||null===(l=f.color)||void 0===l?void 0:l.background)||u&&(m||(null==f||null===(i=f.color)||void 0===i?void 0:i.gradient)),"has-link-color":null==f||null===(s=f.elements)||void 0===s||null===(a=s.link)||void 0===a?void 0:a.color});return e.className=b||void 0,e}const Wf=(e,t)=>{const n=/var:preset\|color\|(.+)/.exec(t);return n&&n[1]?Um(e,n[1]).color:t};function $f(e){var t,n,o,l,i,a,c,d,p;const{name:m,attributes:f}=e,g=po("color.palette.custom"),v=po("color.palette.theme"),b=po("color.palette.default"),k=(0,s.useMemo)((()=>[...g||[],...v||[],...b||[]]),[g,v,b]),_=po("color.gradients.custom"),y=po("color.gradients.theme"),E=po("color.gradients.default"),C=(0,s.useMemo)((()=>[..._||[],...y||[],...E||[]]),[_,y,E]),w=po("color.custom"),S=po("color.customGradient"),B=po("color.background"),I=po("color.link"),x=po("color.text"),T=w||!v||(null==v?void 0:v.length)>0,N=S||!y||(null==y?void 0:y.length)>0,P=(0,s.useRef)(f);if((0,s.useEffect)((()=>{P.current=f}),[f]),!Vf(m))return null;const M=(e=>{if("web"!==s.Platform.OS)return!1;const t=(0,r.getBlockSupport)(e,zf);return(0,u.isObject)(t)&&!!t.link})(m)&&I&&T,R=(e=>{const t=(0,r.getBlockSupport)(e,zf);return t&&!1!==t.text})(m)&&x&&T,L=(e=>{const t=(0,r.getBlockSupport)(e,zf);return t&&!1!==t.background})(m)&&B&&T,A=Uf(m)&&N;if(!(M||R||L||A))return null;const{style:D,textColor:O,backgroundColor:F,gradient:z}=f;let V;if(A&&z)V=Cf(C,z);else if(A){var H;V=null==D||null===(H=D.color)||void 0===H?void 0:H.gradient}const U=t=>n=>{var o,r;const l=Gm(k,n),i=t+"Color",s={...P.current.style,color:{...null===(o=P.current)||void 0===o||null===(r=o.style)||void 0===r?void 0:r.color,[t]:null!=l&&l.slug?void 0:n}},a=null!=l&&l.slug?l.slug:void 0,c={style:qo(s),[i]:a};e.setAttributes(c),P.current={...P.current,...c}};return(0,s.createElement)(Ff,{enableContrastChecking:!("web"!==s.Platform.OS||z||null!=D&&null!==(t=D.color)&&void 0!==t&&t.gradient),clientId:e.clientId,settings:[...R?[{label:(0,h.__)("Text"),onColorChange:U("text"),colorValue:Um(k,O,null==D||null===(n=D.color)||void 0===n?void 0:n.text).color}]:[],...L||A?[{label:(0,h.__)("Background"),onColorChange:L?U("background"):void 0,colorValue:Um(k,F,null==D||null===(o=D.color)||void 0===o?void 0:o.background).color,gradientValue:V,onGradientChange:A?t=>{const n=Sf(C,t);let o;if(n){var r,l,i;const e={...null===(r=P.current)||void 0===r?void 0:r.style,color:{...null===(l=P.current)||void 0===l||null===(i=l.style)||void 0===i?void 0:i.color,gradient:void 0}};o={style:qo(e),gradient:n}}else{var s,a,c;const e={...null===(s=P.current)||void 0===s?void 0:s.style,color:{...null===(a=P.current)||void 0===a||null===(c=a.style)||void 0===c?void 0:c.color,gradient:t}};o={style:qo(e),gradient:void 0}}e.setAttributes(o),P.current={...P.current,...o}}:void 0}]:[],...M?[{label:(0,h.__)("Link"),onColorChange:t=>{const n=Gm(k,t),o=null!=n&&n.slug?`var:preset|color|${n.slug}`:t,r=qo(function(e,t,n){return(0,u.setWith)(e?(0,u.clone)(e):{},t,n,u.clone)}(D,["elements","link","color","text"],o));e.setAttributes({style:r})},colorValue:Wf(k,null==D||null===(l=D.elements)||void 0===l||null===(i=l.link)||void 0===i||null===(a=i.color)||void 0===a?void 0:a.text),clearable:!(null==D||null===(c=D.elements)||void 0===c||null===(d=c.link)||void 0===d||null===(p=d.color)||void 0===p||!p.text)}]:[]]})}const jf=(0,d.createHigherOrderComponent)((e=>t=>{var n;const{name:o,attributes:r}=t,{backgroundColor:l,textColor:a}=r,c=po("color.palette.custom")||[],u=po("color.palette.theme")||[],d=po("color.palette.default")||[],p=(0,s.useMemo)((()=>[...c||[],...u||[],...d||[]]),[c,u,d]);if(!Vf(o)||Hf(o))return(0,s.createElement)(e,t);const m={};var f,h;a&&(m.color=null===(f=Um(p,a))||void 0===f?void 0:f.color);l&&(m.backgroundColor=null===(h=Um(p,l))||void 0===h?void 0:h.color);let g=t.wrapperProps;return g={...t.wrapperProps,style:{...m,...null===(n=t.wrapperProps)||void 0===n?void 0:n.style}},(0,s.createElement)(e,i({},t,{wrapperProps:g}))}));(0,l.addFilter)("blocks.registerBlockType","core/color/addAttribute",(function(e){return Vf(e)?(e.attributes.backgroundColor||Object.assign(e.attributes,{backgroundColor:{type:"string"}}),e.attributes.textColor||Object.assign(e.attributes,{textColor:{type:"string"}}),Uf(e)&&!e.attributes.gradient&&Object.assign(e.attributes,{gradient:{type:"string"}}),e):e})),(0,l.addFilter)("blocks.getSaveContent.extraProps","core/color/addSaveProps",Gf),(0,l.addFilter)("blocks.registerBlockType","core/color/addEditProps",(function(e){if(!Vf(e)||Hf(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),Gf(o,e,n)},e})),(0,l.addFilter)("editor.BlockListBlock","core/color/with-color-palette-styles",jf);const Kf=[{name:(0,h._x)("Regular","font style"),value:"normal"},{name:(0,h._x)("Italic","font style"),value:"italic"}],qf=[{name:(0,h._x)("Thin","font weight"),value:"100"},{name:(0,h._x)("Extra Light","font weight"),value:"200"},{name:(0,h._x)("Light","font weight"),value:"300"},{name:(0,h._x)("Regular","font weight"),value:"400"},{name:(0,h._x)("Medium","font weight"),value:"500"},{name:(0,h._x)("Semi Bold","font weight"),value:"600"},{name:(0,h._x)("Bold","font weight"),value:"700"},{name:(0,h._x)("Extra Bold","font weight"),value:"800"},{name:(0,h._x)("Black","font weight"),value:"900"}],Yf=(e,t)=>e?t?(0,h.__)("Appearance"):(0,h.__)("Font style"):(0,h.__)("Font weight");function Xf(e){const{onChange:t,hasFontStyles:n=!0,hasFontWeights:o=!0,value:{fontStyle:r,fontWeight:l}}=e,i=n||o,a=Yf(n,o),c={key:"default",name:(0,h.__)("Default"),style:{fontStyle:void 0,fontWeight:void 0}},u=(0,s.useMemo)((()=>n&&o?(()=>{const e=[c];return Kf.forEach((t=>{let{name:n,value:o}=t;qf.forEach((t=>{let{name:r,value:l}=t;const i="normal"===o?r:(0,h.sprintf)((0,h.__)("%1$s %2$s"),r,n);e.push({key:`${o}-${l}`,name:i,style:{fontStyle:o,fontWeight:l}})}))})),e})():n?(()=>{const e=[c];return Kf.forEach((t=>{let{name:n,value:o}=t;e.push({key:o,name:n,style:{fontStyle:o,fontWeight:void 0}})})),e})():(()=>{const e=[c];return qf.forEach((t=>{let{name:n,value:o}=t;e.push({key:o,name:n,style:{fontStyle:void 0,fontWeight:o}})})),e})()),[e.options]),d=u.find((e=>e.style.fontStyle===r&&e.style.fontWeight===l))||u[0];return i&&(0,s.createElement)(p.CustomSelectControl,{className:"components-font-appearance-control",label:a,describedBy:d?n?o?(0,h.sprintf)((0,h.__)("Currently selected font appearance: %s"),d.name):(0,h.sprintf)((0,h.__)("Currently selected font style: %s"),d.name):(0,h.sprintf)((0,h.__)("Currently selected font weight: %s"),d.name):(0,h.__)("No selected font appearance"),options:u,value:d,onChange:e=>{let{selectedItem:n}=e;return t(n.style)}})}const Qf=.1;function Zf(e){let{value:t,onChange:n}=e;const o=function(e){return void 0!==e&&""!==e}(t),r=o?t:"";return(0,s.createElement)("div",{className:"block-editor-line-height-control"},(0,s.createElement)(p.TextControl,{autoComplete:"off",onKeyDown:e=>{const{keyCode:t}=e;t!==Ma.ZERO||o||(e.preventDefault(),n("0"))},onChange:e=>{if(o)return void n(e);let t=e;switch(e){case"0.1":t=1.6;break;case"0":t=1.4}n(t)},label:(0,h.__)("Line height"),placeholder:1.5,step:Qf,type:"number",value:r,min:0}))}const Jf="typography.lineHeight";function eh(e){var t;const{attributes:{style:n},setAttributes:o}=e;return(0,s.createElement)(Zf,{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:qo(t)})}})}function th(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!po("typography.lineHeight");return!(0,r.hasBlockSupport)(e,Jf)||t}const nh="typography.__experimentalFontStyle",oh="typography.__experimentalFontWeight";function rh(e){var t,n;const{attributes:{style:o},setAttributes:r}=e,l=!lh(e),i=!ih(e),a=null==o||null===(t=o.typography)||void 0===t?void 0:t.fontStyle,c=null==o||null===(n=o.typography)||void 0===n?void 0:n.fontWeight;return(0,s.createElement)(Xf,{onChange:e=>{r({style:qo({...o,typography:{...null==o?void 0:o.typography,fontStyle:e.fontStyle,fontWeight:e.fontWeight}})})},hasFontStyles:l,hasFontWeights:i,value:{fontStyle:a,fontWeight:c}})}function lh(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,r.hasBlockSupport)(e,nh),n=po("typography.fontStyle");return!t||!n}function ih(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,r.hasBlockSupport)(e,oh),n=po("typography.fontWeight");return!t||!n}function sh(e){const t=lh(e),n=ih(e);return t&&n}function ah(e){let{value:t="",onChange:n,fontFamilies:o,...r}=e;const l=po("typography.fontFamilies");if(o||(o=l),(0,u.isEmpty)(o))return null;const a=[{value:"",label:(0,h.__)("Default")},...o.map((e=>{let{fontFamily:t,name:n}=e;return{value:t,label:n||t}}))];return(0,s.createElement)(p.SelectControl,i({label:(0,h.__)("Font family"),options:a,value:t,onChange:n,labelPosition:"top"},r))}const ch="typography.__experimentalFontFamily";function uh(e,t,n){if(!(0,r.hasBlockSupport)(t,ch))return e;if((0,r.hasBlockSupport)(t,"typography.__experimentalSkipSerialization"))return e;if(null==n||!n.fontFamily)return e;const o=new(Sp())(e.className);o.add(`has-${(0,u.kebabCase)(null==n?void 0:n.fontFamily)}-font-family`);const l=o.value;return e.className=l||void 0,e}function dh(e){var t;let{setAttributes:n,attributes:{fontFamily:o}}=e;const r=po("typography.fontFamilies"),l=null===(t=(0,u.find)(r,(e=>{let{slug:t}=e;return o===t})))||void 0===t?void 0:t.fontFamily;return(0,s.createElement)(ah,{className:"block-editor-hooks-font-family-control",fontFamilies:r,value:l,onChange:function(e){const t=(0,u.find)(r,(t=>{let{fontFamily:n}=t;return n===e}));n({fontFamily:null==t?void 0:t.slug})}})}function ph(e){let{name:t}=e;const n=po("typography.fontFamilies");return!n||0===n.length||!(0,r.hasBlockSupport)(t,ch)}(0,l.addFilter)("blocks.registerBlockType","core/fontFamily/addAttribute",(function(e){return(0,r.hasBlockSupport)(e,ch)?(e.attributes.fontFamily||Object.assign(e.attributes,{fontFamily:{type:"string"}}),e):e})),(0,l.addFilter)("blocks.getSaveContent.extraProps","core/fontFamily/addSaveProps",uh),(0,l.addFilter)("blocks.registerBlockType","core/fontFamily/addEditProps",(function(e){if(!(0,r.hasBlockSupport)(e,ch))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),uh(o,e,n)},e}));const mh=(e,t,n)=>{if(t){const n=(0,u.find)(e,{slug:t});if(n)return n}return{size:n}};function fh(e,t){const n=(0,u.find)(e,{size:t});return n||{size:t}}function hh(e){if(e)return`has-${(0,u.kebabCase)(e)}-font-size`}var gh=function(e){const t=po("typography.fontSizes"),n=!po("typography.customFontSize");return(0,s.createElement)(p.FontSizePicker,i({},e,{fontSizes:t,disableCustomFontSizes:n}))};const vh="typography.fontSize";function bh(e,t,n){if(!(0,r.hasBlockSupport)(t,vh))return e;if((0,r.hasBlockSupport)(t,"typography.__experimentalSkipSerialization"))return e;const o=new(Sp())(e.className);o.add(hh(n.fontSize));const l=o.value;return e.className=l||void 0,e}function kh(e){var t,n;const{attributes:{fontSize:o,style:r},setAttributes:l}=e,i=po("typography.fontSizes"),a=mh(i,o,null==r||null===(t=r.typography)||void 0===t?void 0:t.fontSize),c=(null==a?void 0:a.size)||(null==r||null===(n=r.typography)||void 0===n?void 0:n.fontSize)||o;return(0,s.createElement)(gh,{onChange:e=>{const t=fh(i,e).slug;l({style:qo({...r,typography:{...null==r?void 0:r.typography,fontSize:t?void 0:e}}),fontSize:t})},value:c,withReset:!1})}function _h(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=po("typography.fontSizes"),n=!(null==t||!t.length);return!(0,r.hasBlockSupport)(e,vh)||!n}const yh=(0,d.createHigherOrderComponent)((e=>t=>{var n,o;const l=po("typography.fontSizes"),{name:i,attributes:{fontSize:a,style:c},wrapperProps:u}=t;if(!(0,r.hasBlockSupport)(i,vh)||(0,r.hasBlockSupport)(i,"typography.__experimentalSkipSerialization")||!a||null!=c&&null!==(n=c.typography)&&void 0!==n&&n.fontSize)return(0,s.createElement)(e,t);const d=mh(l,a,null==c||null===(o=c.typography)||void 0===o?void 0:o.fontSize).size,p={...t,wrapperProps:{...u,style:{fontSize:d,...null==u?void 0:u.style}}};return(0,s.createElement)(e,p)}),"withFontSizeInlineStyles");(0,l.addFilter)("blocks.registerBlockType","core/font/addAttribute",(function(e){return(0,r.hasBlockSupport)(e,vh)?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e})),(0,l.addFilter)("blocks.getSaveContent.extraProps","core/font/addSaveProps",bh),(0,l.addFilter)("blocks.registerBlockType","core/font/addEditProps",(function(e){if(!(0,r.hasBlockSupport)(e,vh))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),bh(o,e,n)},e})),(0,l.addFilter)("editor.BlockListBlock","core/font-size/with-font-size-inline-styles",yh);var Eh=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z"}));var Ch=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));const wh=[{name:(0,h.__)("Underline"),value:"underline",icon:Eh},{name:(0,h.__)("Strikethrough"),value:"line-through",icon:Ch}];function Sh(e){let{value:t,onChange:n}=e;return(0,s.createElement)("fieldset",{className:"block-editor-text-decoration-control"},(0,s.createElement)("legend",null,(0,h.__)("Decoration")),(0,s.createElement)("div",{className:"block-editor-text-decoration-control__buttons"},wh.map((e=>(0,s.createElement)(p.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})))))}const Bh="typography.__experimentalTextDecoration";function Ih(e){var t;const{attributes:{style:n},setAttributes:o}=e;return(0,s.createElement)(Sh,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.textDecoration,onChange:function(e){o({style:qo({...n,typography:{...null==n?void 0:n.typography,textDecoration:e}})})}})}function xh(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!(0,r.hasBlockSupport)(e,Bh),n=po("typography.textDecoration");return t||!n}var Th=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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 Nh=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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 Ph=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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 Mh=[{name:(0,h.__)("Uppercase"),value:"uppercase",icon:Th},{name:(0,h.__)("Lowercase"),value:"lowercase",icon:Nh},{name:(0,h.__)("Capitalize"),value:"capitalize",icon:Ph}];function Rh(e){let{value:t,onChange:n}=e;return(0,s.createElement)("fieldset",{className:"block-editor-text-transform-control"},(0,s.createElement)("legend",null,(0,h.__)("Letter case")),(0,s.createElement)("div",{className:"block-editor-text-transform-control__buttons"},Mh.map((e=>(0,s.createElement)(p.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)})))))}const Lh="typography.__experimentalTextTransform";function Ah(e){var t;const{attributes:{style:n},setAttributes:o}=e;return(0,s.createElement)(Rh,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.textTransform,onChange:function(e){o({style:qo({...n,typography:{...null==n?void 0:n.typography,textTransform:e}})})}})}function Dh(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!(0,r.hasBlockSupport)(e,Lh),n=po("typography.textTransform");return t||!n}function Oh(e){let{value:t,onChange:n,__unstableInputWidth:o="60px"}=e;const r=(0,p.__experimentalUseCustomUnits)({availableUnits:po("spacing.units")||["px","em","rem"],defaultValues:{px:"2",em:".2",rem:".2"}});return(0,s.createElement)(p.__experimentalUnitControl,{label:(0,h.__)("Letter-spacing"),value:t,__unstableInputWidth:o,units:r,onChange:n})}const Fh="typography.__experimentalLetterSpacing";function zh(e){var t;const{attributes:{style:n},setAttributes:o}=e;return(0,s.createElement)(Oh,{value:null==n||null===(t=n.typography)||void 0===t?void 0:t.letterSpacing,onChange:function(e){o({style:qo({...n,typography:{...null==n?void 0:n.typography,letterSpacing:e}})})},__unstableInputWidth:!1})}function Vh(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!(0,r.hasBlockSupport)(e,Fh),n=po("typography.letterSpacing");return t||!n}const Hh="typography",Uh=[Jf,vh,nh,oh,ch,Bh,Lh,Fh];function Gh(e){const{clientId:t}=e,n=ph(e),o=_h(e),l=sh(e),i=th(e),a=xh(e),c=Dh(e),u=Vh(e),d=!lh(e),m=!ih(e),f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=[sh(e),_h(e),th(e),ph(e),xh(e),Dh(e),Vh(e)];return t.filter(Boolean).length===t.length}(e),g=Wh(e.name);if(f||!g)return null;const v=(0,r.getBlockSupport)(e.name,[Hh,"__experimentalDefaultControls"]),b=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(0,s.createElement)(er,{__experimentalGroup:"typography"},!n&&(0,s.createElement)(p.__experimentalToolsPanelItem,{hasValue:()=>function(e){return!!e.attributes.fontFamily}(e),label:(0,h.__)("Font family"),onDeselect:()=>function(e){let{setAttributes:t}=e;t({fontFamily:void 0})}(e),isShownByDefault:null==v?void 0:v.fontFamily,resetAllFilter:e=>({...e,fontFamily:void 0}),panelId:t},(0,s.createElement)(dh,e)),!o&&(0,s.createElement)(p.__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:(0,h.__)("Font size"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({fontSize:void 0,style:qo({...o,typography:{...null==o?void 0:o.typography,fontSize:void 0}})})}(e),isShownByDefault:null==v?void 0:v.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},(0,s.createElement)(kh,e)),!l&&(0,s.createElement)(p.__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:Yf(d,m),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:qo({...o,typography:{...null==o?void 0:o.typography,fontStyle:void 0,fontWeight:void 0}})})}(e),isShownByDefault:null==v?void 0:v.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},(0,s.createElement)(rh,e)),!i&&(0,s.createElement)(p.__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:(0,h.__)("Line height"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:qo({...o,typography:{...null==o?void 0:o.typography,lineHeight:void 0}})})}(e),isShownByDefault:null==v?void 0:v.lineHeight,resetAllFilter:b("lineHeight"),panelId:t},(0,s.createElement)(eh,e)),!a&&(0,s.createElement)(p.__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:(0,h.__)("Decoration"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:qo({...o,typography:{...null==o?void 0:o.typography,textDecoration:void 0}})})}(e),isShownByDefault:null==v?void 0:v.textDecoration,resetAllFilter:b("textDecoration"),panelId:t},(0,s.createElement)(Ih,e)),!c&&(0,s.createElement)(p.__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:(0,h.__)("Letter case"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:qo({...o,typography:{...null==o?void 0:o.typography,textTransform:void 0}})})}(e),isShownByDefault:null==v?void 0:v.textTransform,resetAllFilter:b("textTransform"),panelId:t},(0,s.createElement)(Ah,e)),!u&&(0,s.createElement)(p.__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:(0,h.__)("Letter-spacing"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:qo({...o,typography:{...null==o?void 0:o.typography,letterSpacing:void 0}})})}(e),isShownByDefault:null==v?void 0:v.letterSpacing,resetAllFilter:b("letterSpacing"),panelId:t},(0,s.createElement)(zh,e)))}const Wh=e=>Uh.some((t=>(0,r.hasBlockSupport)(e,t)));function $h(e){const t=(0,r.getBlockSupport)(e,eg);return!!(!0===t||null!=t&&t.blockGap)}function jh(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!po("spacing.blockGap");return!$h(e)||t}function Kh(e){var t;const{clientId:n,attributes:{style:o},setAttributes:r}=e,l=(0,p.__experimentalUseCustomUnits)({availableUnits:po("spacing.units")||["%","px","em","rem","vw"]}),i=Ha(n);if(jh(e))return null;return s.Platform.select({web:(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.__experimentalUnitControl,{label:(0,h.__)("Block spacing"),__unstableInputWidth:"80px",min:0,onChange:e=>{var t;const n={...o,spacing:{...null==o?void 0:o.spacing,blockGap:e}};r({style:qo(n)});const l=(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 s;i.current&&l&&(null===(s=i.current.parentNode)||void 0===s||s.replaceChild(i.current,i.current))},units:l,value:null==o||null===(t=o.spacing)||void 0===t?void 0:t.blockGap})),native:null})}function qh(e){const t=(0,r.getBlockSupport)(e,eg);return!!(!0===t||null!=t&&t.margin)}function Yh(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!po("spacing.margin"),n=!ig(e,"margin");return!qh(e)||t||n}function Xh(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,l=(0,p.__experimentalUseCustomUnits)({availableUnits:po("spacing.units")||["%","px","em","rem","vw"]}),i=lg(n,"margin"),a=i&&i.some((e=>ng.includes(e)));if(Yh(e))return null;return s.Platform.select({web:(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.__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:qo(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{margin:e}};r({style:qo(t)})},label:(0,h.__)("Margin"),sides:i,units:l,allowReset:!1,splitOnAxis:a})),native:null})}function Qh(e){const t=(0,r.getBlockSupport)(e,eg);return!!(!0===t||null!=t&&t.padding)}function Zh(){let{name:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=!po("spacing.padding"),n=!ig(e,"padding");return!Qh(e)||t||n}function Jh(e){var t;const{name:n,attributes:{style:o},setAttributes:r}=e,l=(0,p.__experimentalUseCustomUnits)({availableUnits:po("spacing.units")||["%","px","em","rem","vw"]}),i=lg(n,"padding"),a=i&&i.some((e=>ng.includes(e)));if(Zh(e))return null;return s.Platform.select({web:(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.__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:qo(t)})},onChangeShowVisualizer:e=>{const t={...o,visualizers:{padding:e}};r({style:qo(t)})},label:(0,h.__)("Padding"),sides:i,units:l,allowReset:!1,splitOnAxis:a})),native:null})}const eg="spacing",tg=["top","right","bottom","left"],ng=["vertical","horizontal"];function og(e){const t=jh(e),n=Zh(e),o=Yh(e),l=rg(e),i=function(e){if("web"!==s.Platform.OS)return!1;return $h(e)||Qh(e)||qh(e)}(e.name);if(l||!i)return null;const a=(0,r.getBlockSupport)(e.name,[eg,"__experimentalDefaultControls"]),c=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(0,s.createElement)(er,{__experimentalGroup:"dimensions"},!n&&(0,s.createElement)(p.__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:(0,h.__)("Padding"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:qo({...o,spacing:{...null==o?void 0:o.spacing,padding:void 0}})})}(e),resetAllFilter:c("padding"),isShownByDefault:null==a?void 0:a.padding,panelId:e.clientId},(0,s.createElement)(Jh,e)),!o&&(0,s.createElement)(p.__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:(0,h.__)("Margin"),onDeselect:()=>function(e){let{attributes:t={},setAttributes:n}=e;const{style:o}=t;n({style:qo({...o,spacing:{...null==o?void 0:o.spacing,margin:void 0}})})}(e),resetAllFilter:c("margin"),isShownByDefault:null==a?void 0:a.margin,panelId:e.clientId},(0,s.createElement)(Xh,e)),!t&&(0,s.createElement)(p.__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:(0,h.__)("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:c("blockGap"),isShownByDefault:null==a?void 0:a.blockGap,panelId:e.clientId},(0,s.createElement)(Kh,e)))}const rg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=jh(e),n=Zh(e),o=Yh(e);return t&&n&&o};function lg(e,t){const n=(0,r.getBlockSupport)(e,eg);if(n&&"boolean"!=typeof n[t])return n[t]}function ig(e,t){const n=lg(e,t);return!(n&&n.some((e=>tg.includes(e)))&&n.some((e=>ng.includes(e))))||(console.warn(`The ${t} support for the "${e}" block can not be configured to support both axial and arbitrary sides.`),!1)}const sg=[...Uh,vf,zf,eg],ag=e=>sg.some((t=>(0,r.hasBlockSupport)(e,t))),cg="var:";function ug(e){if((0,u.startsWith)(e,cg)){return`var(--wp--${e.slice(cg.length).split("|").join("--")})`}return e}function dg(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["spacing.blockGap"],n={};return Object.keys(r.__EXPERIMENTAL_STYLE_PROPERTY).forEach((o=>{const l=r.__EXPERIMENTAL_STYLE_PROPERTY[o].value,i=r.__EXPERIMENTAL_STYLE_PROPERTY[o].properties;if((0,u.has)(e,l)&&"elements"!==(0,u.first)(l)){const r=(0,u.get)(e,l);i&&!(0,u.isString)(r)?Object.entries(i).forEach((e=>{const[t,o]=e,l=(0,u.get)(r,[o]);l&&(n[t]=ug(l))})):t.includes(l.join("."))||(n[o]=ug((0,u.get)(e,l)))}})),n}const pg={"__experimentalBorder.__experimentalSkipSerialization":["border"],"color.__experimentalSkipSerialization":[zf],"typography.__experimentalSkipSerialization":[Hh],[`${eg}.__experimentalSkipSerialization`]:["spacing"]},mg={...pg,[`${eg}`]:["spacing.blockGap"]};function fg(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:mg;if(!ag(t))return e;let{style:l}=n;return(0,u.forEach)(o,((e,n)=>{(0,r.getBlockSupport)(t,n)&&(l=(0,u.omit)(l,e))})),e.style={...dg(l),...e.style},e}const hg=(0,d.createHigherOrderComponent)((e=>t=>{const n=Gn();return(0,s.createElement)(s.Fragment,null,n&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)($f,t),(0,s.createElement)(Gh,t),(0,s.createElement)(bf,t),(0,s.createElement)(og,t)),(0,s.createElement)(e,t))}),"withToolbarControls"),gg=(0,d.createHigherOrderComponent)((e=>t=>{var n,o;const l=null===(n=t.attributes.style)||void 0===n?void 0:n.elements,a=`wp-elements-${(0,d.useInstanceId)(e)}`,p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,u.map)(t,((t,n)=>{const o=dg(t);return(0,u.isEmpty)(o)?"":[`.${e} ${r.__EXPERIMENTAL_ELEMENTS[n]}{`,...(0,u.map)(o,((e,t)=>`\t${(0,u.kebabCase)(t)}: ${e};`)),"}"].join("\n")})).join("\n")}(a,null===(o=t.attributes.style)||void 0===o?void 0:o.elements),m=(0,s.useContext)(Mm.__unstableElementContext);return(0,s.createElement)(s.Fragment,null,l&&m&&(0,s.createPortal)((0,s.createElement)("style",{dangerouslySetInnerHTML:{__html:p}}),m),(0,s.createElement)(e,i({},t,{className:l?c()(t.className,a):t.className})))}));(0,l.addFilter)("blocks.registerBlockType","core/style/addAttribute",(function(e){return ag(e)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),(0,l.addFilter)("blocks.getSaveContent.extraProps","core/style/addSaveProps",fg),(0,l.addFilter)("blocks.registerBlockType","core/style/addEditProps",(function(e){if(!ag(e))return e;const t=e.getEditWrapperProps;return e.getEditWrapperProps=n=>{let o={};return t&&(o=t(n)),fg(o,e,n,pg)},e})),(0,l.addFilter)("editor.BlockEdit","core/style/with-block-controls",hg),(0,l.addFilter)("editor.BlockListBlock","core/editor/with-elements-styles",gg);var vg=function(e){let{colorPalette:t,duotonePalette:n,disableCustomColors:o,disableCustomDuotone:r,value:l,onChange:i}=e;return(0,s.createElement)(p.Dropdown,{popoverProps:{className:"block-editor-duotone-control__popover",headerTitle:(0,h.__)("Duotone"),isAlternate:!0},renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,s.createElement)(p.ToolbarButton,{showTooltip:!0,onClick:n,"aria-haspopup":"true","aria-expanded":t,onKeyDown:e=>{t||e.keyCode!==Ma.DOWN||(e.preventDefault(),n())},label:(0,h.__)("Apply duotone filter"),icon:(0,s.createElement)(p.DuotoneSwatch,{values:l})})},renderContent:()=>(0,s.createElement)(p.MenuGroup,{label:(0,h.__)("Duotone")},(0,s.createElement)("div",{className:"block-editor-duotone-control__description"},(0,h.__)("Create a two-tone color effect without losing your original image.")),(0,s.createElement)(p.DuotonePicker,{colorPalette:t,duotonePalette:n,disableCustomColors:o,disableCustomDuotone:r,value:l,onChange:i}))})};const bg=[];function kg(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t={r:[],g:[],b:[],a:[]};return e.forEach((e=>{const n=Yc(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 _g(e){let{selector:t,id:n,values:o}=e;const r=`\n${t} {\n\tfilter: url( #${n} );\n}\n`;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.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"}},(0,s.createElement)("defs",null,(0,s.createElement)("filter",{id:n},(0,s.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 "}),(0,s.createElement)("feComponentTransfer",{colorInterpolationFilters:"sRGB"},(0,s.createElement)("feFuncR",{type:"table",tableValues:o.r.join(" ")}),(0,s.createElement)("feFuncG",{type:"table",tableValues:o.g.join(" ")}),(0,s.createElement)("feFuncB",{type:"table",tableValues:o.b.join(" ")}),(0,s.createElement)("feFuncA",{type:"table",tableValues:o.a.join(" ")})),(0,s.createElement)("feComposite",{in2:"SourceGraphic",operator:"in"})))),(0,s.createElement)("style",{dangerouslySetInnerHTML:{__html:r}}))}function yg(e){var t;let{attributes:n,setAttributes:o}=e;const r=null==n?void 0:n.style,l=null==r||null===(t=r.color)||void 0===t?void 0:t.duotone,i=po("color.duotone")||bg,a=po("color.palette")||bg,c=!po("color.custom"),u=!po("color.customDuotone")||0===(null==a?void 0:a.length)&&c;return 0===(null==i?void 0:i.length)&&u?null:(0,s.createElement)(qn,{group:"block",__experimentalShareWithChildBlocks:!0},(0,s.createElement)(vg,{duotonePalette:i,colorPalette:a,disableCustomDuotone:u,disableCustomColors:c,value:l,onChange:e=>{const t={...r,color:{...null==r?void 0:r.color,duotone:e}};o({style:t})}}))}Qc([Zc]);const Eg=(0,d.createHigherOrderComponent)((e=>t=>{const n=(0,r.hasBlockSupport)(t.name,"color.__experimentalDuotone");return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(e,t),n&&(0,s.createElement)(yg,t))}),"withDuotoneControls");const Cg=(0,d.createHigherOrderComponent)((e=>t=>{var n,o,l;const a=(0,r.getBlockSupport)(t.name,"color.__experimentalDuotone"),u=null==t||null===(n=t.attributes)||void 0===n||null===(o=n.style)||void 0===o||null===(l=o.color)||void 0===l?void 0:l.duotone;if(!a||!u)return(0,s.createElement)(e,t);const p=`wp-duotone-${(0,d.useInstanceId)(e)}`,m=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 .${p}`,a),f=c()(null==t?void 0:t.className,p),h=(0,s.useContext)(Mm.__unstableElementContext);return(0,s.createElement)(s.Fragment,null,h&&(0,s.createPortal)((0,s.createElement)(_g,{selector:m,id:p,values:kg(u)}),h),(0,s.createElement)(e,i({},t,{className:f})))}),"withDuotoneStyles");(0,l.addFilter)("blocks.registerBlockType","core/editor/duotone/add-attributes",(function(e){return(0,r.hasBlockSupport)(e,"color.__experimentalDuotone")?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),(0,l.addFilter)("editor.BlockEdit","core/editor/duotone/with-editor-controls",Eg),(0,l.addFilter)("editor.BlockListBlock","core/editor/duotone/with-styles",Cg);const wg="__experimentalLayout";function Sg(e){let{setAttributes:t,attributes:n,name:o}=e;const{layout:l}=n,i=po("layout"),a=(0,m.useSelect)((e=>{const{getSettings:t}=e(Fn);return t().supportsLayout}),[]),c=(0,r.getBlockSupport)(o,wg,{}),{allowSwitching:u,allowEditing:d=!0,allowInheriting:f=!0,default:g}=c;if(!d)return null;const v=l||g||{},{inherit:b=!1,type:k="default"}=v;if("default"===k&&!a)return null;const _=Io(k),y=e=>t({layout:e});return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(er,null,(0,s.createElement)(p.PanelBody,{title:(0,h.__)("Layout")},f&&!!i&&(0,s.createElement)(p.ToggleControl,{label:(0,h.__)("Inherit default layout"),checked:!!b,onChange:()=>t({layout:{inherit:!b}})}),!b&&u&&(0,s.createElement)(Bg,{type:k,onChange:e=>t({layout:{type:e}})}),!b&&_&&(0,s.createElement)(_.inspectorControls,{layout:v,onChange:y,layoutBlockSupport:c}))),!b&&_&&(0,s.createElement)(_.toolBarControls,{layout:v,onChange:y,layoutBlockSupport:c}))}function Bg(e){let{type:t,onChange:n}=e;return(0,s.createElement)(p.ButtonGroup,null,Bo.map((e=>{let{name:o,label:r}=e;return(0,s.createElement)(p.Button,{key:o,isPressed:t===o,onClick:()=>n(o)},r)})))}const Ig=(0,d.createHigherOrderComponent)((e=>t=>{const{name:n}=t;return[(0,r.hasBlockSupport)(n,wg)&&(0,s.createElement)(Sg,i({key:"layout"},t)),(0,s.createElement)(e,i({key:"edit"},t))]}),"withInspectorControls"),xg=(0,d.createHigherOrderComponent)((e=>t=>{const{name:n,attributes:o}=t,l=(0,r.hasBlockSupport)(n,wg),a=(0,d.useInstanceId)(e),u=po("layout")||{},p=(0,s.useContext)(Mm.__unstableElementContext),{layout:m}=o,{default:f}=(0,r.getBlockSupport)(n,wg)||{},h=null!=m&&m.inherit?u:m||f||{},g=c()(null==t?void 0:t.className,{[`wp-container-${a}`]:l});return(0,s.createElement)(s.Fragment,null,l&&p&&(0,s.createPortal)((0,s.createElement)(Mo,{selector:`.wp-container-${a}`,layout:h,style:null==o?void 0:o.style}),p),(0,s.createElement)(e,i({},t,{className:g})))}));(0,l.addFilter)("blocks.registerBlockType","core/layout/addAttribute",(function(e){return(0,u.has)(e.attributes,["layout","type"])||(0,r.hasBlockSupport)(e,wg)&&(e.attributes={...e.attributes,layout:{type:"object"}}),e})),(0,l.addFilter)("editor.BlockListBlock","core/editor/layout/with-layout-styles",xg),(0,l.addFilter)("editor.BlockEdit","core/editor/layout/with-inspector-controls",Ig);const Tg=[];function Ng(e){var t;let{borderColor:n,style:o}=e;const r=(null==o?void 0:o.border)||{},l=Wm("border-color",n);return{className:c()({[l]:!!l,"has-border-color":n||(null==o||null===(t=o.border)||void 0===t?void 0:t.color)})||void 0,style:dg({border:r})}}function Pg(e){const t=po("color.palette")||Tg,n=Ng(e);if(e.borderColor){const o=Um(t,e.borderColor);n.style.borderColor=o.color}return n}function Mg(e){var t,n,o,r,l,i;const{backgroundColor:s,textColor:a,gradient:u,style:d}=e,p=Wm("background-color",s),m=Wm("color",a),f=Ef(u),h=f||(null==d||null===(t=d.color)||void 0===t?void 0:t.gradient);return{className:c()(m,f,{[p]:!h&&!!p,"has-text-color":a||(null==d||null===(n=d.color)||void 0===n?void 0:n.text),"has-background":s||(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===(l=d.elements)||void 0===l||null===(i=l.link)||void 0===i?void 0:i.color})||void 0,style:dg({color:(null==d?void 0:d.color)||{}})}}const Rg={};function Lg(e){const{backgroundColor:t,textColor:n,gradient:o}=e,r=po("color.palette.custom")||[],l=po("color.palette.theme")||[],i=po("color.palette.default")||[],a=po("color.gradients")||Rg,c=(0,s.useMemo)((()=>[...r||[],...l||[],...i||[]]),[r,l,i]),u=(0,s.useMemo)((()=>[...(null==a?void 0:a.custom)||[],...(null==a?void 0:a.theme)||[],...(null==a?void 0:a.default)||[]]),[a]),d=Mg(e);if(t){const e=Um(c,t);d.style.backgroundColor=e.color}if(o&&(d.style.background=Cf(u,o)),n){const e=Um(c,n);d.style.color=e.color}return d}function Ag(e){const{style:t}=e;return{style:dg({spacing:(null==t?void 0:t.spacing)||{}})}}function Dg(e){const[t,n]=(0,s.useState)(e);return(0,s.useEffect)((()=>{e&&n(e)}),[e]),t}const Og=e=>(0,d.createHigherOrderComponent)((t=>n=>(0,s.createElement)(t,i({},n,{colors:e}))),"withCustomColorPalette"),Fg=()=>(0,d.createHigherOrderComponent)((e=>t=>{const n=po("color.palette.custom"),o=po("color.palette.theme"),r=po("color.palette.default"),l=(0,s.useMemo)((()=>[...n||[],...o||[],...r||[]]),[n,o,r]);return(0,s.createElement)(e,i({},t,{colors:l}))}),"withEditorColorPalette");function zg(e,t){const n=(0,u.reduce)(e,((e,t)=>({...e,...(0,u.isString)(t)?{[t]:(0,u.kebabCase)(t)}:t})),{});return(0,d.compose)([t,e=>class extends s.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 function(e,t){const n=Yc(t);return(0,u.maxBy)(e,(e=>{let{color:t}=e;return n.contrast(t)})).color}(t,e)}createSetters(){return(0,u.reduce)(n,((e,t,n)=>{const o=(0,u.upperFirst)(n),r=`custom${o}`;return e[`set${o}`]=this.createSetColor(n,r),e}),{})}createSetColor(e,t){return n=>{const o=Gm(this.props.colors,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:o,colors:r}=e;return(0,u.reduce)(n,((e,n,l)=>{const i=Um(r,o[l],o[`custom${(0,u.upperFirst)(l)}`]),s=t[l];return(null==s?void 0:s.color)===i.color&&s?e[l]=s:e[l]={...i,class:Wm(n,i.slug)},e}),{})}render(){return(0,s.createElement)(e,i({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}])}function Vg(e){return function(){const t=Og(e);for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(0,d.createHigherOrderComponent)(zg(o,t),"withCustomColors")}}function Hg(){const e=Fg();for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return(0,d.createHigherOrderComponent)(zg(n,e),"withColors")}const Ug=[];var Gg=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const o=(0,u.reduce)(t,((e,t)=>(e[t]=`custom${(0,u.upperFirst)(t)}`,e)),{});return(0,d.createHigherOrderComponent)((0,d.compose)([(0,d.createHigherOrderComponent)((e=>t=>{const n=po("typography.fontSizes")||Ug;return(0,s.createElement)(e,i({},t,{fontSizes:n}))}),"withFontSizes"),e=>class extends s.Component{constructor(e){super(e),this.setters=this.createSetters(),this.state={}}createSetters(){return(0,u.reduce)(o,((e,t,n)=>(e[`set${(0,u.upperFirst)(n)}`]=this.createSetFontSize(n,t),e)),{})}createSetFontSize(e,t){return n=>{const o=(0,u.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:r}=e;const l=(e,o)=>!t[o]||(n[o]?n[o]!==t[o].slug:t[o].size!==n[e]);if(!(0,u.some)(o,l))return null;const i=(0,u.reduce)((0,u.pickBy)(o,l),((e,t,o)=>{const l=n[o],i=mh(r,l,n[t]);return e[o]={...i,class:hh(l)},e}),{});return{...t,...i}}render(){return(0,s.createElement)(e,i({},this.props,{fontSizes:void 0},this.state,this.setters))}}]),"withFontSizes")};var Wg=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));var $g=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));var jg=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));const Kg=[{icon:Wg,title:(0,h.__)("Align text left"),align:"left"},{icon:$g,title:(0,h.__)("Align text center"),align:"center"},{icon:jg,title:(0,h.__)("Align text right"),align:"right"}],qg={position:"bottom right",isAlternate:!0};var Yg=function(e){let{value:t,onChange:n,alignmentControls:o=Kg,label:r=(0,h.__)("Align"),describedBy:l=(0,h.__)("Change text alignment"),isCollapsed:a=!0,isToolbar:c}=e;function d(e){return()=>n(t===e?void 0:e)}const m=(0,u.find)(o,(e=>e.align===t)),f=c?p.ToolbarGroup:p.ToolbarDropdownMenu,g=c?{isCollapsed:a}:{};return(0,s.createElement)(f,i({icon:m?m.icon:(0,h.isRTL)()?jg:Wg,label:r,toggleProps:{describedBy:l},popoverProps:qg,controls:o.map((e=>{const{align:n}=e,o=t===n;return{...e,isActive:o,role:a?"menuitemradio":void 0,onClick:d(n)}}))},g))};function Xg(e){return(0,s.createElement)(Yg,i({},e,{isToolbar:!1}))}function Qg(e){return(0,s.createElement)(Yg,i({},e,{isToolbar:!0}))}var Zg={name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){const{rootClientId:t,selectedBlockName:n}=(0,m.useSelect)((e=>{const{getSelectedBlockClientId:t,getBlockName:n,getBlockInsertionPoint:o}=e(Fn),r=t();return{selectedBlockName:r?n(r):null,rootClientId:o().rootClientId}}),[]),[o,r,l]=Gu(t,u.noop),i=(0,s.useMemo)((()=>(e.trim()?md(o,r,l,e):(0,u.orderBy)(o,["frecency"],["desc"])).filter((e=>e.name!==n)).slice(0,9)),[e,n,o,r,l]),a=(0,s.useMemo)((()=>i.map((e=>{const{title:t,icon:n,isDisabled:o}=e;return{key:`block-${e.id}`,value:e,label:(0,s.createElement)(s.Fragment,null,(0,s.createElement)(oc,{key:"icon",icon:n,showColors:!0}),t),isDisabled:o}}))),[i]);return[a]},allowContext:(e,t)=>!(/\S/.test(e)||/\S/.test(t)),getOptionCompletion(e){const{name:t,initialAttributes:n,innerBlocks:o}=e;return{action:"replace",value:(0,r.createBlock)(t,n,(0,r.createBlocksFromInnerBlocksTemplate)(o))}}};const Jg=[];function ev(e){let{completers:t=Jg}=e;const{name:n}=Un();return(0,s.useMemo)((()=>{let e=t;return(n===(0,r.getDefaultBlockName)()||(0,r.getBlockSupport)(n,"__experimentalSlashInserter",!1))&&(e=e.concat([Zg])),(0,l.hasFilter)("editor.Autocomplete.completers")&&(e===t&&(e=e.map(u.clone)),e=(0,l.applyFilters)("editor.Autocomplete.completers",e,n)),e}),[t,n])}var tv=function(e){return(0,s.createElement)(p.Autocomplete,i({},e,{completers:ev(e)}))};var nv=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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 ov=function(e){let{isActive:t,label:n=(0,h.__)("Toggle full height"),onToggle:o,isDisabled:r}=e;return(0,s.createElement)(p.ToolbarButton,{isActive:t,icon:nv,label:n,onClick:()=>o(!t),disabled:r})};var rv=function(e){const{label:t=(0,h.__)("Change matrix alignment"),onChange:n=u.noop,value:o="center",isDisabled:r}=e,l=(0,s.createElement)(p.__experimentalAlignmentMatrixControl.Icon,{value:o}),i="block-editor-block-alignment-matrix-control",a=`${i}__popover`;return(0,s.createElement)(p.Dropdown,{position:"bottom right",className:i,popoverProps:{className:a,isAlternate:!0},renderToggle:e=>{let{onToggle:n,isOpen:o}=e;return(0,s.createElement)(p.ToolbarButton,{onClick:n,"aria-haspopup":"true","aria-expanded":o,onKeyDown:e=>{o||e.keyCode!==Ma.DOWN||(e.preventDefault(),n())},label:t,icon:l,showTooltip:!0,disabled:r})},renderContent:()=>(0,s.createElement)(p.__experimentalAlignmentMatrixControl,{hasFocusBorder:!1,onChange:n,value:o})})};var lv=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"}));var iv=function(e){let{rootLabelText:t}=e;const{selectBlock:n,clearSelectedBlock:o}=(0,m.useDispatch)(Fn),{clientId:r,parents:l,hasSelection:i}=(0,m.useSelect)((e=>{const{getSelectionStart:t,getSelectedBlockClientId:n,getBlockParents:o}=e(Fn),r=n();return{parents:o(r),clientId:r,hasSelection:!!t().clientId}}),[]),a=t||(0,h.__)("Document");return(0,s.createElement)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":(0,h.__)("Block breadcrumb")},(0,s.createElement)("li",{className:i?void 0:"block-editor-block-breadcrumb__current","aria-current":i?void 0:"true"},i&&(0,s.createElement)(p.Button,{className:"block-editor-block-breadcrumb__button",variant:"tertiary",onClick:o},a),!i&&a,!!r&&(0,s.createElement)(wo,{icon:lv,className:"block-editor-block-breadcrumb__separator"})),l.map((e=>(0,s.createElement)("li",{key:e},(0,s.createElement)(p.Button,{className:"block-editor-block-breadcrumb__button",variant:"tertiary",onClick:()=>n(e)},(0,s.createElement)(Zd,{clientId:e})),(0,s.createElement)(wo,{icon:lv,className:"block-editor-block-breadcrumb__separator"})))),!!r&&(0,s.createElement)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true"},(0,s.createElement)(Zd,{clientId:r})))};function sv(e){let{clientId:t,tagName:n="div",wrapperProps:o,className:r}=e;const[l,a]=(0,s.useState)(!0),[u,d]=(0,s.useState)(!1),{isParentSelected:p,hasChildSelected:f,isDraggingBlocks:h,isParentHighlighted:g}=(0,m.useSelect)((e=>{const{isBlockSelected:n,hasSelectedInnerBlock:o,isDraggingBlocks:r,isBlockHighlighted:l}=e(Fn);return{isParentSelected:n(t),hasChildSelected:o(t,!0),isDraggingBlocks:r(),isParentHighlighted:l(t)}}),[t]),v=c()("block-editor-block-content-overlay",null==o?void 0:o.className,r,{"overlay-active":l,"parent-highlighted":g,"is-dragging-blocks":h});return(0,s.useEffect)((()=>{p||f||l||a(!0),p&&!u&&l&&a(!1),f&&l&&a(!1)}),[p,f,l,u]),(0,s.createElement)(n,i({},o,{className:v,onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),onMouseUp:l?()=>a(!1):void 0}),null==o?void 0:o.children)}const av=()=>(0,s.createElement)(p.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 20 20"},(0,s.createElement)(p.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"})),cv=e=>{let{style:t,className:n}=e;return(0,s.createElement)("div",{className:"block-library-colors-selector__icon-container"},(0,s.createElement)("div",{className:`${n} block-library-colors-selector__state-selection`,style:t},(0,s.createElement)(av,null)))},uv=e=>{let{TextColor:t,BackgroundColor:n}=e;return e=>{let{onToggle:o,isOpen:r}=e;return(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(p.ToolbarButton,{className:"components-toolbar__control block-library-colors-selector__toggle",label:(0,h.__)("Open Colors Selector"),onClick:o,onKeyDown:e=>{r||e.keyCode!==Ma.DOWN||(e.preventDefault(),o())},icon:(0,s.createElement)(n,null,(0,s.createElement)(t,null,(0,s.createElement)(cv,null)))}))}};var dv=e=>{let{children:t,...n}=e;return(0,s.createElement)(p.Dropdown,{position:"bottom right",className:"block-library-colors-selector",contentClassName:"block-library-colors-selector__popover",renderToggle:uv(n),renderContent:()=>t})};var pv=(0,s.createElement)(O.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(O.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));const mv=va(p.__experimentalTreeGridRow);function fv(e){let{isSelected:t,position:n,level:o,rowCount:r,children:l,className:a,path:u,...d}=e;const p=_a({isSelected:t,adjustScrolling:!1,enableAnimation:!0,triggerAnimationOnChange:u});return(0,s.createElement)(mv,i({ref:p,className:c()("block-editor-list-view-leaf",a),level:o,positionInSet:n,setSize:r},d),l)}function hv(e){let{onClick:t}=e;return(0,s.createElement)("span",{className:"block-editor-list-view__expander",onClick:e=>t(e,{forceToggle:!0}),"aria-hidden":"true"},(0,s.createElement)(wo,{icon:lv}))}var gv=(0,s.forwardRef)((function e(t,n){let{className:o,block:{clientId:r},isSelected:l,onClick:i,onToggleExpanded:a,position:u,siblingBlockCount:m,level:f,tabIndex:g,onFocus:v,onDragStart:b,onDragEnd:k,draggable:_}=t;const y=Qd(r),E=`list-view-block-select-button__${(0,d.useInstanceId)(e)}`,C=((e,t,n)=>(0,h.sprintf)((0,h.__)("Block %1$d of %2$d, Level %3$d"),e,t,n))(u,m,f);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.Button,{className:c()("block-editor-list-view-block-select-button",o),onClick:i,"aria-describedby":E,ref:n,tabIndex:g,onFocus:v,onDragStart:b,onDragEnd:k,draggable:_},(0,s.createElement)(hv,{onClick:a}),(0,s.createElement)(oc,{icon:null==y?void 0:y.icon,showColors:!0}),(0,s.createElement)(Zd,{clientId:r}),(null==y?void 0:y.anchor)&&(0,s.createElement)("span",{className:"block-editor-list-view-block-select-button__anchor"},y.anchor),l&&(0,s.createElement)(p.VisuallyHidden,null,(0,h.__)("(selected block)"))),(0,s.createElement)("div",{className:"block-editor-list-view-block-select-button__description",id:E},C))}));const vv=(0,s.forwardRef)(((e,t)=>{let{onClick:n,onToggleExpanded:o,block:r,isSelected:l,position:a,siblingBlockCount:u,level:d,...p}=e;const{clientId:f}=r,{blockMovingClientId:h,selectedBlockInBlockEditor:g}=(0,m.useSelect)((e=>{const{getBlockRootClientId:t,hasBlockMovingClientId:n,getSelectedBlockClientId:o}=e(Fn);return{rootClientId:t(f)||"",blockMovingClientId:n(),selectedBlockInBlockEditor:o()}}),[f]),v=h&&g===f,b=c()("block-editor-list-view-block-contents",{"is-dropping-before":v});return(0,s.createElement)(Jd,{clientIds:[r.clientId]},(e=>{let{draggable:c,onDragStart:m,onDragEnd:f}=e;return(0,s.createElement)(gv,i({ref:t,className:b,block:r,onClick:n,onToggleExpanded:o,isSelected:l,position:a,siblingBlockCount:u,level:d,draggable:c,onDragStart:m,onDragEnd:f},p))}))}));var bv=vv;const kv=(0,s.createContext)({__experimentalFeatures:!1,__experimentalPersistentListViewFeatures:!1}),_v=()=>(0,s.useContext)(kv);var yv=(0,s.memo)((function(e){let{block:t,isDragged:n,isSelected:o,isBranchSelected:r,selectBlock:l,position:i,level:a,rowCount:u,siblingBlockCount:d,showBlockMovers:f,path:h,isExpanded:g}=e;const v=(0,s.useRef)(null),[b,k]=(0,s.useState)(!1),{clientId:_}=t,{toggleBlockHighlight:y}=(0,m.useDispatch)(Fn),{__experimentalFeatures:E,__experimentalPersistentListViewFeatures:C,__experimentalHideContainerBlockActions:w,isTreeGridMounted:S,expand:B,collapse:I}=_v(),x=f&&d>0,T=c()("block-editor-list-view-block__mover-cell",{"is-visible":b||o}),N=c()("block-editor-list-view-block__menu-cell",{"is-visible":b||o});(0,s.useEffect)((()=>{C&&!S&&o&&v.current.focus()}),[]);const P=C?y:()=>{},M=(0,s.useCallback)((()=>{k(!0),P(_,!0)}),[_,k,P]),R=(0,s.useCallback)((()=>{k(!1),P(_,!1)}),[_,k,P]),L=(0,s.useCallback)((e=>{e.stopPropagation(),l(_)}),[_,l]),A=(0,s.useCallback)((e=>{e.stopPropagation(),!0===g?I(_):!1===g&&B(_)}),[_,B,I,g]),D=E&&(!w||w&&a>1),O=E&&!D;let F;x?F=2:O&&(F=3);const z=c()({"is-selected":o,"is-branch-selected":C&&r,"is-dragging":n,"has-single-cell":O});return(0,s.createElement)(fv,{className:z,onMouseEnter:M,onMouseLeave:R,onFocus:M,onBlur:R,level:a,position:i,rowCount:u,path:h,id:`list-view-block-${_}`,"data-block":_,isExpanded:g},(0,s.createElement)(p.__experimentalTreeGridCell,{className:"block-editor-list-view-block__contents-cell",colSpan:F,ref:v},(e=>{let{ref:n,tabIndex:r,onFocus:l}=e;return(0,s.createElement)("div",{className:"block-editor-list-view-block__contents-container"},(0,s.createElement)(bv,{block:t,onClick:L,onToggleExpanded:A,isSelected:o,position:i,siblingBlockCount:d,level:a,ref:n,tabIndex:r,onFocus:l}))})),x&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.__experimentalTreeGridCell,{className:T,withoutGridItem:!0},(0,s.createElement)(p.__experimentalTreeGridItem,null,(e=>{let{ref:t,tabIndex:n,onFocus:o}=e;return(0,s.createElement)(pp,{orientation:"vertical",clientIds:[_],ref:t,tabIndex:n,onFocus:o})})),(0,s.createElement)(p.__experimentalTreeGridItem,null,(e=>{let{ref:t,tabIndex:n,onFocus:o}=e;return(0,s.createElement)(mp,{orientation:"vertical",clientIds:[_],ref:t,tabIndex:n,onFocus:o})})))),D&&(0,s.createElement)(p.__experimentalTreeGridCell,{className:N},(e=>{let{ref:t,tabIndex:n,onFocus:o}=e;return(0,s.createElement)(om,{clientIds:[_],icon:zp,toggleProps:{ref:t,className:"block-editor-list-view-block__menu",tabIndex:n,onFocus:o},disableOpenOnArrowDown:!0,__experimentalSelectBlock:L})})))}));function Ev(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(Cv(t,n),0):1}const Cv=(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+Ev(o,e,t):n+1};function wv(e){const{blocks:t,selectBlock:n,showBlockMovers:o,showNestedBlocks:r,selectedClientIds:l,level:i=1,path:a="",isBranchSelected:c=!1,listPosition:d=0,fixedListWindow:p}=e,{expandedState:f,draggedClientIds:h,__experimentalPersistentListViewFeatures:g}=_v(),v=(0,u.compact)(t),b=v.length;let k=d;return(0,s.createElement)(s.Fragment,null,v.map(((e,t)=>{var d;const{clientId:_,innerBlocks:y}=e;t>0&&(k+=Ev(v[t-1],f,h));const E=g,{itemInView:C}=p,w=!E||C(k),S=t+1,B=a.length>0?`${a}_${S}`:`${S}`,I=r&&!!y&&!!y.length,x=I?null===(d=f[_])||void 0===d||d:void 0,T=!(null==h||!h.includes(_)),N=T||w,P=((e,t)=>(0,u.isArray)(t)&&t.length?-1!==t.indexOf(e):t===e)(_,l),M=c||P&&I;return(0,s.createElement)(m.AsyncModeProvider,{key:_,value:!P},N&&(0,s.createElement)(yv,{block:e,selectBlock:n,isSelected:P,isBranchSelected:M,isDragged:T,level:i,position:S,rowCount:b,siblingBlockCount:b,showBlockMovers:o,path:B,isExpanded:x,listPosition:k}),!N&&(0,s.createElement)("tr",null,(0,s.createElement)("td",{className:"block-editor-list-view-placeholder"})),I&&x&&!T&&(0,s.createElement)(wv,{blocks:y,selectBlock:n,showBlockMovers:o,showNestedBlocks:r,level:i+1,path:B,listPosition:k+1,fixedListWindow:p,isBranchSelected:M,selectedClientIds:l}))})))}wv.defaultProps={selectBlock:()=>{}};var Sv=(0,s.memo)(wv);function Bv(e){let{listViewRef:t,blockDropTarget:n}=e;const{rootClientId:o,clientId:r,dropPosition:l}=n||{},[i,a]=(0,s.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]),c=a||i,u=(0,s.useCallback)((()=>{if(!i)return 0;const e=c.getBoundingClientRect();return i.querySelector(".block-editor-block-icon").getBoundingClientRect().right-e.left}),[i,c]),d=(0,s.useMemo)((()=>{if(!c)return{};const e=u();return{width:c.offsetWidth-e}}),[u,c]),m=(0,s.useCallback)((()=>{if(!c)return{};const e=c.ownerDocument,t=c.getBoundingClientRect(),n=u(),o={left:t.left+n,right:t.right,width:0,height:t.height,ownerDocument:e};return"top"===l?{...o,top:t.top,bottom:t.top}:"bottom"===l||"inside"===l?{...o,top:t.bottom,bottom:t.bottom}:{}}),[c,l,u]);return c?(0,s.createElement)(p.Popover,{noArrow:!0,animate:!1,getAnchorRect:m,focusOnMount:!1,className:"block-editor-list-view-drop-indicator"},(0,s.createElement)("div",{style:d,className:"block-editor-list-view-drop-indicator__line"})):null}function Iv(e,t){return t.left<=e.x&&t.right>=e.x&&t.top<=e.y&&t.bottom>=e.y}const xv=["top","bottom"];function Tv(){const{getBlockRootClientId:e,getBlockIndex:t,getBlockCount:n,getDraggedBlockClientIds:o,canInsertBlocks:r}=(0,m.useSelect)(Fn),[l,i]=(0,s.useState)(),{rootClientId:a,blockIndex:c}=l||{},u=km(a,c),p=o(),f=(0,d.useThrottle)((0,s.useCallback)(((o,l)=>{const s={x:o.clientX,y:o.clientY},a=!(null==p||!p.length),c=function(e,t){let n,o,r,l;for(const i of e){if(i.isDraggedBlock)continue;const s=i.element.getBoundingClientRect(),[a,c]=ym(t,s,xv),u=Iv(t,s);if(void 0===r||a<r||u){r=a;const t=e.indexOf(i),d=e[t-1];if("top"===c&&d&&d.rootClientId===i.rootClientId&&!d.isDraggedBlock?(o=d,n="bottom",l=d.element.getBoundingClientRect()):(o=i,n=c,l=s),u)break}}if(!o)return;const i="bottom"===n;if(i&&o.canInsertDraggedBlocksAsChild&&(o.innerBlockCount>0||function(e,t){const n=t.left+t.width/2;return e.x>n}(t,l)))return{rootClientId:o.clientId,blockIndex:0,dropPosition:"inside"};if(!o.canInsertDraggedBlocksAsSibling)return;const s=i?1:0;return{rootClientId:o.rootClientId,clientId:o.clientId,blockIndex:o.blockIndex+s,dropPosition:n}}(Array.from(l.querySelectorAll("[data-block]")).map((o=>{const l=o.dataset.block,i=e(l);return{clientId:l,rootClientId:i,blockIndex:t(l),element:o,isDraggedBlock:!!a&&p.includes(l),innerBlockCount:n(l),canInsertDraggedBlocksAsSibling:!a||r(p,i),canInsertDraggedBlocksAsChild:!a||r(p,l)}})),s);c&&i(c)}),[p]),200);return{ref:(0,d.__experimentalUseDropZone)({onDrop:u,onDragOver(e){f(e,e.currentTarget)},onDragEnd(){f.cancel(),i(null)}}),target:l}}const Nv=()=>{},Pv=(e,t)=>{switch(t.type){case"expand":return{...e,[t.clientId]:!0};case"collapse":return{...e,[t.clientId]:!1};default:return e}};var Mv=(0,s.forwardRef)((function(e,t){let{blocks:n,onSelect:o=Nv,__experimentalFeatures:r,__experimentalPersistentListViewFeatures:l,__experimentalHideContainerBlockActions:a,showNestedBlocks:c,showBlockMovers:u,...f}=e;const{clientIdsTree:g,draggedClientIds:v,selectedClientIds:b}=function(e){return(0,m.useSelect)((t=>{const{getDraggedBlockClientIds:n,getSelectedBlockClientIds:o,__unstableGetClientIdsTree:r}=t(Fn);return{selectedClientIds:o(),draggedClientIds:n(),clientIdsTree:e||r()}}),[e])}(n),{selectBlock:k}=(0,m.useDispatch)(Fn),{visibleBlockCount:_}=(0,m.useSelect)((e=>{const{getGlobalBlockCount:t,getClientIdsOfDescendants:n}=e(Fn),o=(null==v?void 0:v.length)>0?n(v).length+1:0;return{visibleBlockCount:t()-o}}),[v]),y=(0,s.useCallback)((e=>{k(e),o(e)}),[k,o]),[E,C]=(0,s.useReducer)(Pv,{}),{ref:w,target:S}=Tv(),B=(0,s.useRef)(),I=(0,d.useMergeRefs)([B,w,t]),x=(0,s.useRef)(!1);(0,s.useEffect)((()=>{x.current=!0}),[]);const[T]=(0,d.__experimentalUseFixedWindowList)(B,36,_,{useWindowing:l,windowOverscan:40}),N=(0,s.useCallback)((e=>{e&&C({type:"expand",clientId:e})}),[C]),P=(0,s.useCallback)((e=>{e&&C({type:"collapse",clientId:e})}),[C]),M=(0,s.useCallback)((e=>{var t;N(null==e||null===(t=e.dataset)||void 0===t?void 0:t.block)}),[N]),R=(0,s.useCallback)((e=>{var t;P(null==e||null===(t=e.dataset)||void 0===t?void 0:t.block)}),[P]),L=(0,s.useMemo)((()=>({__experimentalFeatures:r,__experimentalPersistentListViewFeatures:l,__experimentalHideContainerBlockActions:a,isTreeGridMounted:x.current,draggedClientIds:v,expandedState:E,expand:N,collapse:P})),[r,l,a,x.current,v,E,N,P]);return(0,s.createElement)(m.AsyncModeProvider,{value:!0},(0,s.createElement)(Bv,{listViewRef:B,blockDropTarget:S}),(0,s.createElement)(p.__experimentalTreeGrid,{className:"block-editor-list-view-tree","aria-label":(0,h.__)("Block navigation structure"),ref:I,onCollapseRow:R,onExpandRow:M},(0,s.createElement)(kv.Provider,{value:L},(0,s.createElement)(Sv,i({blocks:g,selectBlock:y,showNestedBlocks:c,showBlockMovers:u,fixedListWindow:T,selectedClientIds:b},f)))))}));function Rv(e){let{isEnabled:t,onToggle:n,isOpen:o,innerRef:r,...l}=e;return(0,s.createElement)(p.Button,i({},l,{ref:r,icon:pv,"aria-expanded":o,"aria-haspopup":"true",onClick:t?n:void 0,label:(0,h.__)("List view"),className:"block-editor-block-navigation","aria-disabled":!t}))}var Lv=(0,s.forwardRef)((function(e,t){let{isDisabled:n,__experimentalFeatures:o,...r}=e;const l=(0,m.useSelect)((e=>!!e(Fn).getBlockCount()),[])&&!n;return(0,s.createElement)(p.Dropdown,{contentClassName:"block-editor-block-navigation__popover",position:"bottom right",renderToggle:e=>{let{isOpen:n,onToggle:o}=e;return(0,s.createElement)(Rv,i({},r,{innerRef:t,isOpen:n,onToggle:o,isEnabled:l}))},renderContent:()=>(0,s.createElement)("div",{className:"block-editor-block-navigation__container"},(0,s.createElement)("p",{className:"block-editor-block-navigation__label"},(0,h.__)("List view")),(0,s.createElement)(Mv,{showNestedBlocks:!0,__experimentalFeatures:o}))})}));var Av=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));var Dv=function(e){let{icon:t=Av,label:n=(0,h.__)("Choose variation"),instructions:o=(0,h.__)("Select a variation to start with."),variations:r,onSelect:l,allowSkip:i}=e;const a=c()("block-editor-block-variation-picker",{"has-many-variations":r.length>4});return(0,s.createElement)(p.Placeholder,{icon:t,label:n,instructions:o,className:a},(0,s.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":(0,h.__)("Block variations")},r.map((e=>(0,s.createElement)("li",{key:e.name},(0,s.createElement)(p.Button,{variant:"secondary",icon:e.icon,iconSize:48,onClick:()=>l(e),className:"block-editor-block-variation-picker__variation",label:e.description||e.title}),(0,s.createElement)("span",{className:"block-editor-block-variation-picker__variation-label",role:"presentation"},e.title))))),i&&(0,s.createElement)("div",{className:"block-editor-block-variation-picker__skip"},(0,s.createElement)(p.Button,{variant:"link",onClick:()=>l()},(0,h.__)("Skip"))))};var Ov=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",fillRule:"evenodd",clipRule:"evenodd"}));const Fv="carousel",zv="grid",Vv=e=>{let{onStartBlank:t,onBlockPatternSelect:n}=e;return(0,s.createElement)("div",{className:"block-editor-block-pattern-setup__actions"},(0,s.createElement)(p.Button,{onClick:t},(0,h.__)("Start blank")),(0,s.createElement)(p.Button,{variant:"primary",onClick:n},(0,h.__)("Choose")))},Hv=e=>{let{handlePrevious:t,handleNext:n,activeSlide:o,totalSlides:r}=e;return(0,s.createElement)("div",{className:"block-editor-block-pattern-setup__navigation"},(0,s.createElement)(p.Button,{icon:lp,label:(0,h.__)("Previous pattern"),onClick:t,disabled:0===o}),(0,s.createElement)(p.Button,{icon:rp,label:(0,h.__)("Next pattern"),onClick:n,disabled:o===r-1}))};var Uv=e=>{let{viewMode:t,setViewMode:n,handlePrevious:o,handleNext:r,activeSlide:l,totalSlides:i,onBlockPatternSelect:a,onStartBlank:c}=e;const u=t===Fv,d=(0,s.createElement)("div",{className:"block-editor-block-pattern-setup__display-controls"},(0,s.createElement)(p.Button,{icon:eo,label:(0,h.__)("Carousel view"),onClick:()=>n(Fv),isPressed:u}),(0,s.createElement)(p.Button,{icon:Ov,label:(0,h.__)("Grid view"),onClick:()=>n(zv),isPressed:t===zv}));return(0,s.createElement)("div",{className:"block-editor-block-pattern-setup__toolbar"},u&&(0,s.createElement)(Hv,{handlePrevious:o,handleNext:r,activeSlide:l,totalSlides:i}),d,u&&(0,s.createElement)(Vv,{onBlockPatternSelect:a,onStartBlank:c}))};var Gv=function(e,t,n){return(0,m.useSelect)((o=>{const{getBlockRootClientId:r,__experimentalGetPatternsByBlockTypes:l,__experimentalGetAllowedPatterns:i}=o(Fn),s=r(e);return n?i(s).filter(n):l(t,s)}),[e,t,n])};const Wv=e=>{let{viewMode:t,activeSlide:n,patterns:o,onBlockPatternSelect:r}=e;const l=(0,p.__unstableUseCompositeState)(),a="block-editor-block-pattern-setup__container";if(t===Fv){const e=new Map([[n,"active-slide"],[n-1,"previous-slide"],[n+1,"next-slide"]]);return(0,s.createElement)("div",{className:a},(0,s.createElement)("ul",{className:"carousel-container"},o.map(((t,n)=>(0,s.createElement)(jv,{className:e.get(n)||"",key:t.name,pattern:t})))))}return(0,s.createElement)(p.__unstableComposite,i({},l,{role:"listbox",className:a,"aria-label":(0,h.__)("Patterns list")}),o.map((e=>(0,s.createElement)($v,{key:e.name,pattern:e,onSelect:r,composite:l}))))};function $v(e){let{pattern:t,onSelect:n,composite:o}=e;const r="block-editor-block-pattern-setup-list",{blocks:l,title:a,description:c,viewportWidth:u=700}=t,m=(0,d.useInstanceId)($v,`${r}__item-description`);return(0,s.createElement)("div",{className:`${r}__list-item`,"aria-label":t.title,"aria-describedby":t.description?m:void 0},(0,s.createElement)(p.__unstableCompositeItem,i({role:"option",as:"div"},o,{className:`${r}__item`,onClick:()=>n(l)}),(0,s.createElement)(Tu,{blocks:l,viewportWidth:u}),(0,s.createElement)("div",{className:`${r}__item-title`},a)),!!c&&(0,s.createElement)(p.VisuallyHidden,{id:m},c))}function jv(e){let{className:t,pattern:n}=e;const{blocks:o,title:r,description:l}=n,i=(0,d.useInstanceId)(jv,"block-editor-block-pattern-setup-list__item-description");return(0,s.createElement)("li",{className:`pattern-slide ${t}`,"aria-label":r,"aria-describedby":l?i:void 0},(0,s.createElement)(Tu,{blocks:o,__experimentalLive:!0}),!!l&&(0,s.createElement)(p.VisuallyHidden,{id:i},l))}var Kv=e=>{let{clientId:t,blockName:n,filterPatternsFn:o,startBlankComponent:l,onBlockPatternSelect:i}=e;const[a,c]=(0,s.useState)(Fv),[u,d]=(0,s.useState)(0),[p,f]=(0,s.useState)(!1),{replaceBlock:h}=(0,m.useDispatch)(Fn),g=Gv(t,n,o);if(null==g||!g.length||p)return l;const v=i||(e=>{const n=e.map((e=>(0,r.cloneBlock)(e)));h(t,n)});return(0,s.createElement)("div",{className:`block-editor-block-pattern-setup view-mode-${a}`},(0,s.createElement)(Uv,{viewMode:a,setViewMode:c,activeSlide:u,totalSlides:g.length,handleNext:()=>{d((e=>e+1))},handlePrevious:()=>{d((e=>e-1))},onBlockPatternSelect:()=>{v(g[u].blocks)},onStartBlank:()=>{f(!0)}}),(0,s.createElement)(Wv,{viewMode:a,activeSlide:u,patterns:g,onBlockPatternSelect:v}))};const qv=(e,t)=>{if(!t||!e)return;const n=t.filter((t=>{let{attributes:n}=t;return!(!n||!Object.keys(n).length)&&(0,u.isMatch)(e,n)}));return 1===n.length?n[0]:void 0};var Yv=function(e){let{blockClientId:t}=e;const[n,o]=(0,s.useState)(),{updateBlockAttributes:l}=(0,m.useDispatch)(Fn),{variations:i,blockAttributes:a}=(0,m.useSelect)((e=>{const{getBlockVariations:n}=e(r.store),{getBlockName:o,getBlockAttributes:l}=e(Fn),i=t&&o(t);return{variations:i&&n(i,"transform"),blockAttributes:l(t)}}),[t]);if((0,s.useEffect)((()=>{var e;o(null===(e=qv(a,i))||void 0===e?void 0:e.name)}),[a,i]),null==i||!i.length)return null;const c=i.map((e=>{let{name:t,title:n,description:o}=e;return{value:t,label:n,info:o}})),u=e=>{l(t,{...i.find((t=>{let{name:n}=t;return n===e})).attributes})},d="block-editor-block-variation-transforms";return(0,s.createElement)(p.DropdownMenu,{className:d,label:(0,h.__)("Transform to variation"),text:(0,h.__)("Transform to variation"),popoverProps:{position:"bottom center",className:`${d}__popover`},icon:sp,toggleProps:{iconPosition:"right"}},(()=>(0,s.createElement)("div",{className:`${d}__container`},(0,s.createElement)(p.MenuGroup,null,(0,s.createElement)(p.MenuItemsChoice,{choices:c,value:n,onSelect:u})))))};const Xv=(0,s.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(p.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})),Qv=(0,s.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(p.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})),Zv={top:{icon:(0,s.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(p.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})),title:(0,h._x)("Align top","Block vertical alignment setting")},center:{icon:Qv,title:(0,h._x)("Align middle","Block vertical alignment setting")},bottom:{icon:Xv,title:(0,h._x)("Align bottom","Block vertical alignment setting")}},Jv=["top","center","bottom"],eb={isAlternate:!0};var tb=function(e){let{value:t,onChange:n,controls:o=Jv,isCollapsed:r=!0,isToolbar:l}=e;const a=Zv[t],c=Zv.top,u=l?p.ToolbarGroup:p.ToolbarDropdownMenu,d=l?{isCollapsed:r}:{};return(0,s.createElement)(u,i({popoverProps:eb,icon:a?a.icon:c.icon,label:(0,h._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((e=>{return{...Zv[e],isActive:t===e,role:r?"menuitemradio":void 0,onClick:(o=e,()=>n(t===o?void 0:o))};var o}))},d))};function nb(e){return(0,s.createElement)(tb,i({},e,{isToolbar:!1}))}function ob(e){return(0,s.createElement)(tb,i({},e,{isToolbar:!0}))}var rb=(0,d.createHigherOrderComponent)((e=>t=>{const n=po("color.palette"),o=!po("color.custom"),r=void 0===t.colors?n:t.colors,l=void 0===t.disableCustomColors?o:t.disableCustomColors,a=!(0,u.isEmpty)(r)||!l;return(0,s.createElement)(e,i({},t,{colors:r,disableCustomColors:l,hasColorsToChoose:a}))}),"withColorContext"),lb=rb(p.ColorPalette);function ib(e){let{onChange:t,value:n,...o}=e;return(0,s.createElement)(Fm,i({},o,{onColorChange:t,colorValue:n,gradients:[],disableCustomGradients:!0}))}
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+***************************************************************************** */
+var sb=function(e,t){return sb=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])},sb(e,t)};var ab=function(){return ab=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ab.apply(this,arguments)};Object.create;Object.create;var cb=n(7970),ub=n.n(cb);function db(e,t,n,o,r,l){void 0===l&&(l=0);var i=Eb(e,t,l),s=i.width,a=i.height,c=Math.min(s,n),u=Math.min(a,o);return c>u*r?{width:u*r,height:u}:{width:c,height:c/r}}function pb(e,t,n,o,r){void 0===r&&(r=0);var l=Eb(t.width,t.height,r),i=l.width,s=l.height;return{x:mb(e.x,i,n.width,o),y:mb(e.y,s,n.height,o)}}function mb(e,t,n,o){var r=t*o/2-n/2;return Math.min(r,Math.max(e,-r))}function fb(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function hb(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function gb(e,t,n,o,r,l,i){void 0===l&&(l=0),void 0===i&&(i=!0);var s=i&&0===l?vb:bb,a={x:s(100,((t.width-n.width/r)/2-e.x/r)/t.width*100),y:s(100,((t.height-n.height/r)/2-e.y/r)/t.height*100),width:s(100,n.width/t.width*100/r),height:s(100,n.height/t.height*100/r)},c=Math.round(s(t.naturalWidth,a.width*t.naturalWidth/100)),u=Math.round(s(t.naturalHeight,a.height*t.naturalHeight/100)),d=t.naturalWidth>=t.naturalHeight*o?{width:Math.round(u*o),height:u}:{width:c,height:Math.round(c/o)};return{croppedAreaPercentages:a,croppedAreaPixels:ab(ab({},d),{x:Math.round(s(t.naturalWidth-d.width,a.x*t.naturalWidth/100)),y:Math.round(s(t.naturalHeight-d.height,a.y*t.naturalHeight/100))})}}function vb(e,t){return Math.min(e,Math.max(0,t))}function bb(e,t){return t}function kb(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),l=o*r;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*l,y:((t.naturalHeight-e.height)/2-e.y)*l},zoom:r}}function _b(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function yb(e,t,n,o,r){var l=Math.cos,i=Math.sin,s=r*Math.PI/180;return[(e-n)*l(s)-(t-o)*i(s)+n,(e-n)*i(s)+(t-o)*l(s)+o]}function Eb(e,t,n){var o=e/2,r=t/2,l=[yb(0,0,o,r,n),yb(e,0,o,r,n),yb(e,t,o,r,n),yb(0,t,o,r,n)],i=Math.min.apply(Math,l.map((function(e){return e[0]}))),s=Math.max.apply(Math,l.map((function(e){return e[0]}))),a=Math.min.apply(Math,l.map((function(e){return e[1]}))),c=Math.max.apply(Math,l.map((function(e){return e[1]})));return{width:s-i,height:c-a}}function Cb(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return"string"==typeof e&&e.length>0})).join(" ").trim()}var wb=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=kb(t,n.mediaSize,o),l=r.crop,i=r.zoom;n.props.onCropChange(l),n.props.onZoomChange&&n.props.onZoomChange(i)}},n.computeSizes=function(){var e,t,o,r,l,i,s=n.imageRef||n.videoRef;if(s&&n.containerRef){n.containerRect=n.containerRef.getBoundingClientRect(),n.mediaSize={width:s.offsetWidth,height:s.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:db(s.offsetWidth,s.offsetHeight,n.containerRect.width,n.containerRect.height,n.props.aspect,n.props.rotation);(null===(l=n.state.cropSize)||void 0===l?void 0:l.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,l=e.y;n.dragStartPosition={x:r,y:l},n.dragStartCrop=ab({},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,l={x:n.dragStartCrop.x+e,y:n.dragStartCrop.y+r},i=n.props.restrictPosition?pb(l,n.mediaSize,n.state.cropSize,n.props.zoom,n.props.rotation):l;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=ub()(e).pixelY,l=n.props.zoom-r*n.props.zoomSpeed/200;n.setNewZoom(l,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,l=r.crop,i=r.zoom;return{x:(t+l.x)/i,y:(o+l.y)/i}},n.setNewZoom=function(e,t){if(n.state.cropSize&&n.props.onZoomChange){var o=n.getPointOnContainer(t),r=n.getPointOnMedia(o),l=Math.min(n.props.maxZoom,Math.max(e,n.props.minZoom)),i={x:r.x*l-o.x,y:r.y*l-o.y},s=n.props.restrictPosition?pb(i,n.mediaSize,n.state.cropSize,l,n.props.rotation):i;n.props.onCropChange(s),n.props.onZoomChange(l)}},n.getCropData=function(){return n.state.cropSize?gb(n.props.restrictPosition?pb(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?pb(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}sb(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,l,i,s,a,c;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===(l=e.crop)||void 0===l?void 0:l.x)===(null===(i=this.props.crop)||void 0===i?void 0:i.x)&&(null===(s=e.crop)||void 0===s?void 0:s.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===(c=this.videoRef)||void 0===c||c.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=fb(n,o),this.lastPinchRotation=hb(n,o),this.onDragStart(_b(n,o))},t.prototype.onPinchMove=function(e){var n=this,o=t.getTouchPoint(e.touches[0]),r=t.getTouchPoint(e.touches[1]),l=_b(o,r);this.onDrag(l),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=fb(o,r),t=n.props.zoom*(e/n.lastPinchDistance);n.setNewZoom(t,l),n.lastPinchDistance=e;var i=hb(o,r),s=n.props.rotation+(i-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(s),n.lastPinchRotation=i}))},t.prototype.render=function(){var e=this,t=this.props,n=t.image,o=t.video,r=t.mediaProps,l=t.transform,i=t.crop,s=i.x,a=i.y,c=t.rotation,u=t.zoom,d=t.cropShape,p=t.showGrid,m=t.style,f=m.containerStyle,h=m.cropAreaStyle,g=m.mediaStyle,v=t.classes,b=v.containerClassName,k=v.cropAreaClassName,_=v.mediaClassName,y=t.objectFit;return Gr().createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:f,className:Cb("reactEasyCrop_Container",b)},n?Gr().createElement("img",ab({alt:"",className:Cb("reactEasyCrop_Image","contain"===y&&"reactEasyCrop_Contain","horizontal-cover"===y&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===y&&"reactEasyCrop_Cover_Vertical",_)},r,{src:n,ref:function(t){return e.imageRef=t},style:ab(ab({},g),{transform:l||"translate("+s+"px, "+a+"px) rotate("+c+"deg) scale("+u+")"}),onLoad:this.onMediaLoad})):o&&Gr().createElement("video",ab({autoPlay:!0,loop:!0,muted:!0,className:Cb("reactEasyCrop_Video","contain"===y&&"reactEasyCrop_Contain","horizontal-cover"===y&&"reactEasyCrop_Cover_Horizontal","vertical-cover"===y&&"reactEasyCrop_Cover_Vertical",_)},r,{ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:ab(ab({},g),{transform:l||"translate("+s+"px, "+a+"px) rotate("+c+"deg) scale("+u+")"}),controls:!1}),(Array.isArray(o)?o:[{src:o}]).map((function(e){return Gr().createElement("source",ab({key:e.src},e))}))),this.state.cropSize&&Gr().createElement("div",{style:ab(ab({},h),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:Cb("reactEasyCrop_CropArea","round"===d&&"reactEasyCrop_CropAreaRound",p&&"reactEasyCrop_CropAreaGrid",k)}))},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}(Gr().Component),Sb=wb;const Bb={position:"bottom right",isAlternate:!0};var Ib=window.wp.apiFetch,xb=n.n(Ib);function Tb(e,t){const n=function(e){let{url:t,naturalWidth:n,naturalHeight:o}=e;const[r,i]=(0,s.useState)(),[a,c]=(0,s.useState)(),[u,d]=(0,s.useState)({x:0,y:0}),[p,m]=(0,s.useState)(),[f,h]=(0,s.useState)(),[g,v]=(0,s.useState)(),[b,k]=(0,s.useState)(),_=(0,s.useCallback)((()=>{d({x:0,y:0}),m(100),h(0),v(n/o),k(n/o)}),[n,o,d,m,h,v,k]),y=(0,s.useCallback)((()=>{const e=(f+90)%360;let r=n/o;if(f%180==90&&(r=o/n),0===e)return i(),h(e),v(1/g),void d({x:-u.y*r,y:u.x*r});const s=new window.Image;s.src=t,s.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 s=n.getContext("2d");s.translate(o,l),s.rotate(e*Math.PI/180),s.drawImage(t.target,0,0),n.toBlob((t=>{i(URL.createObjectURL(t)),h(e),v(1/g),d({x:-u.y*r,y:u.x*r})}))};const a=(0,l.applyFilters)("media.crossOrigin",void 0,t);"string"==typeof a&&(s.crossOrigin=a)}),[f,n,o,i,h,v,d]);return(0,s.useMemo)((()=>({editedUrl:r,setEditedUrl:i,crop:a,setCrop:c,position:u,setPosition:d,zoom:p,setZoom:m,rotation:f,setRotation:h,rotateClockwise:y,aspect:g,setAspect:v,defaultAspect:b,initializeTransformValues:_})),[r,i,a,c,u,d,p,m,f,h,y,g,v,b,_])}(e),{initializeTransformValues:o}=n;return(0,s.useEffect)((()=>{t&&o()}),[t,o]),n}const Nb=(0,s.createContext)({}),Pb=()=>(0,s.useContext)(Nb);function Mb(e){let{id:t,url:n,naturalWidth:o,naturalHeight:r,isEditing:l,onFinishEditing:i,onSaveImage:a,children:c}=e;const u=Tb({url:n,naturalWidth:o,naturalHeight:r},l),d=function(e){let{crop:t,rotation:n,height:o,width:r,aspect:l,url:i,id:a,onSaveImage:c,onFinishEditing:u}=e;const{createErrorNotice:d}=(0,m.useDispatch)(qu.store),[p,f]=(0,s.useState)(!1),g=(0,s.useCallback)((()=>{f(!1),u()}),[f,u]),v=(0,s.useCallback)((()=>{f(!0);let e={};(t.width<99.9||t.height<99.9)&&(e=t),n>0&&(e.rotation=n),e.src=i,xb()({path:`/wp/v2/media/${a}/edit`,method:"POST",data:e}).then((e=>{c({id:e.id,url:e.source_url,height:o&&r?r/l:void 0})})).catch((e=>{d((0,h.sprintf)((0,h.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})})).finally((()=>{f(!1),u()}))}),[f,t,n,o,r,l,i,c,d,f,u]);return(0,s.useMemo)((()=>({isInProgress:p,apply:v,cancel:g})),[p,v,g])}({id:t,url:n,onSaveImage:a,onFinishEditing:i,...u}),p=(0,s.useMemo)((()=>({...u,...d})),[u,d]);return(0,s.createElement)(Nb.Provider,{value:p},c)}function Rb(e){let{url:t,width:n,height:o,clientWidth:r,naturalHeight:l,naturalWidth:i}=e;const{isInProgress:a,editedUrl:u,position:d,zoom:m,aspect:f,setPosition:h,setCrop:g,setZoom:v,rotation:b}=Pb();let k=o||r*l/i;return b%180==90&&(k=r*i/l),(0,s.createElement)("div",{className:c()("wp-block-image__crop-area",{"is-applying":a}),style:{width:n||r,height:k}},(0,s.createElement)(Sb,{image:u||t,disabled:a,minZoom:1,maxZoom:3,crop:d,zoom:m/100,aspect:f,onCropChange:h,onCropComplete:e=>{g(e)},onZoomChange:e=>{v(100*e)}}),a&&(0,s.createElement)(p.Spinner,null))}var Lb=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));function Ab(){const{isInProgress:e,zoom:t,setZoom:n}=Pb();return(0,s.createElement)(p.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:Bb,renderToggle:t=>{let{isOpen:n,onToggle:o}=t;return(0,s.createElement)(p.ToolbarButton,{icon:Lb,label:(0,h.__)("Zoom"),onClick:o,"aria-expanded":n,disabled:e})},renderContent:()=>(0,s.createElement)(p.RangeControl,{label:(0,h.__)("Zoom"),min:100,max:300,value:Math.round(t),onChange:n})})}var Db=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));var Ob=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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 Fb(e){let{aspectRatios:t,isDisabled:n,label:o,onClick:r,value:l}=e;return(0,s.createElement)(p.MenuGroup,{label:o},t.map((e=>{let{title:t,aspect:o}=e;return(0,s.createElement)(p.MenuItem,{key:o,disabled:n,onClick:()=>{r(o)},role:"menuitemradio",isSelected:o===l,icon:o===l?Db:void 0},t)})))}function zb(e){let{toggleProps:t}=e;const{isInProgress:n,aspect:o,setAspect:r,defaultAspect:l}=Pb();return(0,s.createElement)(p.DropdownMenu,{icon:Ob,label:(0,h.__)("Aspect Ratio"),popoverProps:Bb,toggleProps:t,className:"wp-block-image__aspect-ratio"},(e=>{let{onClose:t}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Fb,{isDisabled:n,onClick:e=>{r(e),t()},value:o,aspectRatios:[{title:(0,h.__)("Original"),aspect:l},{title:(0,h.__)("Square"),aspect:1}]}),(0,s.createElement)(Fb,{label:(0,h.__)("Landscape"),isDisabled:n,onClick:e=>{r(e),t()},value:o,aspectRatios:[{title:(0,h.__)("16:10"),aspect:1.6},{title:(0,h.__)("16:9"),aspect:16/9},{title:(0,h.__)("4:3"),aspect:4/3},{title:(0,h.__)("3:2"),aspect:1.5}]}),(0,s.createElement)(Fb,{label:(0,h.__)("Portrait"),isDisabled:n,onClick:e=>{r(e),t()},value:o,aspectRatios:[{title:(0,h.__)("10:16"),aspect:.625},{title:(0,h.__)("9:16"),aspect:9/16},{title:(0,h.__)("3:4"),aspect:3/4},{title:(0,h.__)("2:3"),aspect:2/3}]}))}))}var Vb=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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 Hb(){const{isInProgress:e,rotateClockwise:t}=Pb();return(0,s.createElement)(p.ToolbarButton,{icon:Vb,label:(0,h.__)("Rotate"),onClick:t,disabled:e})}function Ub(){const{isInProgress:e,apply:t,cancel:n}=Pb();return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.ToolbarButton,{onClick:t,disabled:e},(0,h.__)("Apply")),(0,s.createElement)(p.ToolbarButton,{onClick:n},(0,h.__)("Cancel")))}function Gb(e){let{url:t,width:n,height:o,clientWidth:r,naturalHeight:l,naturalWidth:i}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Rb,{url:t,width:n,height:o,clientWidth:r,naturalHeight:l,naturalWidth:i}),(0,s.createElement)(qn,null,(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(Ab,null),(0,s.createElement)(p.ToolbarItem,null,(e=>(0,s.createElement)(zb,{toggleProps:e}))),(0,s.createElement)(Hb,null)),(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(Ub,null))))}const Wb=[25,50,75,100];function $b(e){let{imageWidth:t,imageHeight:n,imageSizeOptions:o=[],isResizable:r=!0,slug:l,width:i,height:a,onChange:c,onChangeImage:d=u.noop}=e;const{currentHeight:m,currentWidth:f,updateDimension:g,updateDimensions:v}=function(e,t,n,o,r){var l,i;const[a,c]=(0,s.useState)(null!==(l=null!=t?t:o)&&void 0!==l?l:""),[u,d]=(0,s.useState)(null!==(i=null!=e?e:n)&&void 0!==i?i:"");return(0,s.useEffect)((()=>{void 0===t&&void 0!==o&&c(o),void 0===e&&void 0!==n&&d(n)}),[o,n]),(0,s.useEffect)((()=>{void 0!==t&&Number.parseInt(t)!==Number.parseInt(a)&&c(t),void 0!==e&&Number.parseInt(e)!==Number.parseInt(u)&&d(e)}),[t,e]),{currentHeight:u,currentWidth:a,updateDimension:(e,t)=>{"width"===e?c(t):d(t),r({[e]:""===t?void 0:parseInt(t,10)})},updateDimensions:(e,t)=>{d(null!=e?e:n),c(null!=t?t:o),r({height:e,width:t})}}}(a,i,n,t,c);return(0,s.createElement)(s.Fragment,null,!(0,u.isEmpty)(o)&&(0,s.createElement)(p.SelectControl,{label:(0,h.__)("Image size"),value:l,options:o,onChange:d}),r&&(0,s.createElement)("div",{className:"block-editor-image-size-control"},(0,s.createElement)("p",{className:"block-editor-image-size-control__row"},(0,h.__)("Image dimensions")),(0,s.createElement)("div",{className:"block-editor-image-size-control__row"},(0,s.createElement)(p.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:(0,h.__)("Width"),value:f,min:1,onChange:e=>g("width",e)}),(0,s.createElement)(p.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:(0,h.__)("Height"),value:m,min:1,onChange:e=>g("height",e)})),(0,s.createElement)("div",{className:"block-editor-image-size-control__row"},(0,s.createElement)(p.ButtonGroup,{"aria-label":(0,h.__)("Image size presets")},Wb.map((e=>{const o=Math.round(t*(e/100)),r=Math.round(n*(e/100)),l=f===o&&m===r;return(0,s.createElement)(p.Button,{key:e,isSmall:!0,variant:l?"primary":void 0,isPressed:l,onClick:()=>v(r,o)},e,"%")}))),(0,s.createElement)(p.Button,{isSmall:!0,onClick:()=>v()},(0,h.__)("Reset")))))}var jb=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,s.createElement)(O.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"}));var Kb=e=>{let{value:t,onChange:n=u.noop,settings:o}=e;if(!o||!o.length)return null;const r=e=>o=>{n({...t,[e.id]:o})},l=o.map((e=>(0,s.createElement)(p.ToggleControl,{className:"block-editor-link-control__setting",key:e.id,label:e.title,onChange:r(e),checked:!!t&&!!t[e.id]})));return(0,s.createElement)("fieldset",{className:"block-editor-link-control__settings"},(0,s.createElement)(p.VisuallyHidden,{as:"legend"},(0,h.__)("Currently selected link settings")),l)};class qb extends s.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||(0,s.createRef)(),this.inputRef=(0,s.createRef)(),this.updateSuggestions=(0,u.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,Da()(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&&(0,Ed.isURL)(t)))return void this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});this.isUpdatingSuggestions=!0,this.setState({selectedSuggestion:null,loading:!0});const l=n(t,{isInitialSuggestions:r});l.then((e=>{this.suggestionsRequest===l&&(this.setState({suggestions:e,loading:!1,showSuggestions:!!e.length}),e.length?this.props.debouncedSpeak((0,h.sprintf)((0,h._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((0,h.__)("No results."),"assertive"),this.isUpdatingSuggestions=!1)})).catch((()=>{this.suggestionsRequest===l&&(this.setState({loading:!1}),this.isUpdatingSuggestions=!1)})),this.suggestionsRequest=l}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 Ma.UP:0!==e.target.selectionStart&&(e.preventDefault(),e.target.setSelectionRange(0,0));break;case Ma.DOWN:this.props.value.length!==e.target.selectionStart&&(e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length));break;case Ma.ENTER:this.props.onSubmit&&this.props.onSubmit(null,e)}return}const l=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case Ma.UP:{e.preventDefault();const t=n?n-1:o.length-1;this.setState({selectedSuggestion:t});break}case Ma.DOWN:{e.preventDefault();const t=null===n||n===o.length-1?0:n+1;this.setState({selectedSuggestion:t});break}case Ma.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(l),this.props.speak((0,h.__)("Link selected.")));break;case Ma.ENTER:null!==this.state.selectedSuggestion?(this.selectLink(l),this.props.onSubmit&&this.props.onSubmit(l,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:l=!1}=e,{showSuggestions:i}=t,s=i;const a=n&&n.length;return l||a||(s=!1),!0===r&&(s=!1),{showSuggestions:s,suggestionsListboxId:`block-editor-url-input-suggestions-${o}`,suggestionOptionIdPrefix:`block-editor-url-input-suggestion-${o}`}}render(){return(0,s.createElement)(s.Fragment,null,this.renderControl(),this.renderSuggestions())}renderControl(){const{label:e,className:t,isFullWidth:n,instanceId:o,placeholder:r=(0,h.__)("Paste URL or type to search"),__experimentalRenderControl:l,value:i=""}=this.props,{loading:a,showSuggestions:u,selectedSuggestion:d,suggestionsListboxId:m,suggestionOptionIdPrefix:f}=this.state,g={id:`url-input-control-${o}`,label:e,className:c()("block-editor-url-input",t,{"is-full-width":n})},v={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":(0,h.__)("URL"),"aria-expanded":u,"aria-autocomplete":"list","aria-owns":m,"aria-activedescendant":null!==d?`${f}-${d}`:void 0,ref:this.inputRef};return l?l(g,v,a):(0,s.createElement)(p.BaseControl,g,(0,s.createElement)("input",v),a&&(0,s.createElement)(p.Spinner,null))}renderSuggestions(){const{className:e,__experimentalRenderSuggestions:t,value:n="",__experimentalShowInitialSuggestions:o=!1}=this.props,{showSuggestions:r,suggestions:l,selectedSuggestion:a,suggestionsListboxId:d,suggestionOptionIdPrefix:m,loading:f}=this.state,h={id:d,ref:this.autocompleteRef,role:"listbox"},g=(e,t)=>({role:"option",tabIndex:"-1",id:`${m}-${t}`,ref:this.bindSuggestionNode(t),"aria-selected":t===a});return(0,u.isFunction)(t)&&r&&l.length?t({suggestions:l,selectedSuggestion:a,suggestionsListProps:h,buildSuggestionItemProps:g,isLoading:f,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:o&&!(n&&n.length)}):!(0,u.isFunction)(t)&&r&&l.length?(0,s.createElement)(p.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},(0,s.createElement)("div",i({},h,{className:c()("block-editor-url-input__suggestions",`${e}__suggestions`)}),l.map(((e,t)=>(0,s.createElement)(p.Button,i({},g(0,t),{key:e.id,className:c()("block-editor-url-input__suggestion",{"is-selected":t===a}),onClick:()=>this.handleOnClick(e)}),e.title))))):null}}var Yb=(0,d.compose)(d.withSafeTimeout,p.withSpokenMessages,d.withInstanceId,(0,m.withSelect)(((e,t)=>{if((0,u.isFunction)(t.__experimentalFetchLinkSuggestions))return;const{getSettings:n}=e(Fn);return{__experimentalFetchLinkSuggestions:n().__experimentalFetchLinkSuggestions}})))(qb);var Xb=e=>{let t,{searchTerm:n,onClick:o,itemProps:r,isSelected:l,buttonText:a}=e;return n?(t=a?(0,u.isFunction)(a)?a(n):a:(0,s.createInterpolateElement)((0,h.sprintf)((0,h.__)("Create: <mark>%s</mark>"),n),{mark:(0,s.createElement)("mark",null)}),(0,s.createElement)(p.Button,i({},r,{className:c()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":l}),onClick:o}),(0,s.createElement)(wo,{className:"block-editor-link-control__search-item-icon",icon:Ja}),(0,s.createElement)("span",{className:"block-editor-link-control__search-item-header"},(0,s.createElement)("span",{className:"block-editor-link-control__search-item-title"},t)))):null};var Qb=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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 Zb=e=>{let{itemProps:t,suggestion:n,isSelected:o=!1,onClick:r,isURL:l=!1,searchTerm:a="",shouldShowType:u=!1}=e;return(0,s.createElement)(p.Button,i({},t,{onClick:r,className:c()("block-editor-link-control__search-item",{"is-selected":o,"is-url":l,"is-entity":!l})}),l&&(0,s.createElement)(wo,{className:"block-editor-link-control__search-item-icon",icon:Qb}),(0,s.createElement)("span",{className:"block-editor-link-control__search-item-header"},(0,s.createElement)("span",{className:"block-editor-link-control__search-item-title"},(0,s.createElement)(p.TextHighlight,{text:n.title,highlight:a})),(0,s.createElement)("span",{"aria-hidden":!l,className:"block-editor-link-control__search-item-info"},!l&&((0,Ed.filterURLForDisplay)((0,Ed.safeDecodeURI)(n.url))||""),l&&(0,h.__)("Press ENTER to add this link"))),u&&n.type&&(0,s.createElement)("span",{className:"block-editor-link-control__search-item-type"},"post_tag"===n.type?"tag":n.type))};const Jb="__CREATE__",ek=[{id:"opensInNewTab",title:(0,h.__)("Open in new tab")}];function tk(e){let{instanceId:t,withCreateSuggestion:n,currentInputValue:o,handleSuggestionClick:r,suggestionsListProps:l,buildSuggestionItemProps:a,suggestions:u,selectedSuggestion:d,isLoading:m,isInitialSuggestions:f,createSuggestionButtonText:g,suggestionsQuery:v}=e;const b=c()("block-editor-link-control__search-results",{"is-loading":m}),k=["url","mailto","tel","internal"],_=1===u.length&&k.includes(u[0].type.toLowerCase()),y=n&&!_&&!f,E=!(null!=v&&v.type),C=`block-editor-link-control-search-results-label-${t}`,w=f?(0,h.__)("Recently updated"):(0,h.sprintf)((0,h.__)('Search results for "%s"'),o),S=(0,s.createElement)(f?s.Fragment:p.VisuallyHidden,{},(0,s.createElement)("span",{className:"block-editor-link-control__search-results-label",id:C},w));return(0,s.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},S,(0,s.createElement)("div",i({},l,{className:b,"aria-labelledby":C}),u.map(((e,t)=>y&&Jb===e.type?(0,s.createElement)(Xb,{searchTerm:o,buttonText:g,onClick:()=>r(e),key:e.type,itemProps:a(e,t),isSelected:t===d}):Jb===e.type?null:(0,s.createElement)(Zb,{key:`${e.id}-${e.type}`,itemProps:a(e,t),suggestion:e,index:t,onClick:()=>{r(e)},isSelected:t===d,isURL:k.includes(e.type.toLowerCase()),searchTerm:o,shouldShowType:E})))))}function nk(e){const t=(0,u.startsWith)(e,"#");return(0,Ed.isURL)(e)||e&&e.includes("www.")||t}const ok=()=>Promise.resolve([]),rk=e=>{let t="URL";const n=(0,Ed.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),(0,u.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:e,title:e,url:"URL"===t?(0,Ed.prependHTTP)(e):e,type:t}])};function lk(e,t,n,o){const{fetchSearchSuggestions:r}=(0,m.useSelect)((e=>{const{getSettings:t}=e(Fn);return{fetchSearchSuggestions:t().__experimentalFetchLinkSuggestions}}),[]),l=t?rk:ok;return(0,s.useCallback)(((t,i)=>{let{isInitialSuggestions:s}=i;return nk(t)?l(t,{isInitialSuggestions:s}):(async(e,t,n,o,r,l)=>{const{isInitialSuggestions:i}=t;let s=await Promise.all([n(e,t),o(e)]);return s=e.includes(" ")||!l||i?s[0]:s[0].concat(s[1]),i||nk(e)||!r?s:s.concat({title:e,url:e,type:Jb})})(t,{...e,isInitialSuggestions:s},r,l,n,o)}),[l,r,n])}const ik=()=>Promise.resolve([]),sk=(0,s.forwardRef)(((e,t)=>{let{value:n,children:o,currentLink:r={},className:l=null,placeholder:i=null,withCreateSuggestion:a=!1,onCreateSuggestion:p=u.noop,onChange:m=u.noop,onSelect:f=u.noop,showSuggestions:g=!0,renderSuggestions:v=(e=>(0,s.createElement)(tk,e)),fetchSuggestions:b=null,allowDirectEntry:k=!0,showInitialSuggestions:_=!1,suggestionsQuery:y={},withURLSuggestion:E=!0,createSuggestionButtonText:C,useLabel:w=!1}=e;const S=lk(y,k,a,E),B=g?b||S:ik,I=(0,d.useInstanceId)(sk),[x,T]=(0,s.useState)(),N=async e=>{let t=e;if(Jb!==e.type)(k||t&&Object.keys(t).length>=1)&&f({...(0,u.omit)(r,"id","url"),...t},t);else try{var n;t=await p(e.title),null!==(n=t)&&void 0!==n&&n.url&&f(t)}catch(e){}},P=c()(l,{"has-no-label":!w});return(0,s.createElement)("div",{className:"block-editor-link-control__search-input-container"},(0,s.createElement)(Yb,{label:w?"URL":void 0,className:P,value:n,onChange:(e,t)=>{m(e),T(t)},placeholder:null!=i?i:(0,h.__)("Search or type url"),__experimentalRenderSuggestions:g?e=>v({...e,instanceId:I,withCreateSuggestion:a,currentInputValue:n,createSuggestionButtonText:C,suggestionsQuery:y,handleSuggestionClick:t=>{e.handleSuggestionClick&&e.handleSuggestionClick(t),N(t)}}):null,__experimentalFetchLinkSuggestions:B,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:_,onSubmit:(e,t)=>{var o;const r=e||x;r||null!=n&&null!==(o=n.trim())&&void 0!==o&&o.length?N(r||{url:n}):t.preventDefault()},ref:t}),o)}));var ak=sk;var ck=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));var uk=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));const{Slot:dk,Fill:pk}=(0,p.createSlotFill)("BlockEditorLinkControlViewer");function mk(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 fk=function(e){const[t,n]=(0,s.useReducer)(mk,{richData:null,isFetching:!1}),{fetchRichUrlData:o}=(0,m.useSelect)((e=>{const{getSettings:t}=e(Fn);return{fetchRichUrlData:t().__experimentalFetchRichUrlData}}),[]);return(0,s.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 hk(e){var t;let{value:n,onEditClick:o,hasRichPreviews:r=!1,hasUnlinkControl:l=!1,onRemove:i}=e;const a=r?null==n?void 0:n.url:null,{richData:u,isFetching:d}=fk(a),m=u&&Object.keys(u).length,f=n&&(0,Ed.filterURLForDisplay)((0,Ed.safeDecodeURI)(n.url),16)||"",g=(null==u?void 0:u.title)||(null==n?void 0:n.title)||f,v=!(null!=n&&null!==(t=n.url)&&void 0!==t&&t.length);let b;return b=null!=u&&u.icon?(0,s.createElement)("img",{src:null==u?void 0:u.icon,alt:""}):v?(0,s.createElement)(wo,{icon:ck,size:32}):(0,s.createElement)(wo,{icon:Qb}),(0,s.createElement)("div",{"aria-label":(0,h.__)("Currently selected"),"aria-selected":"true",className:c()("block-editor-link-control__search-item",{"is-current":!0,"is-rich":m,"is-fetching":!!d,"is-preview":!0,"is-error":v})},(0,s.createElement)("div",{className:"block-editor-link-control__search-item-top"},(0,s.createElement)("span",{className:"block-editor-link-control__search-item-header"},(0,s.createElement)("span",{className:c()("block-editor-link-control__search-item-icon",{"is-image":null==u?void 0:u.icon})},b),(0,s.createElement)("span",{className:"block-editor-link-control__search-item-details"},v?(0,s.createElement)("span",{className:"block-editor-link-control__search-item-error-notice"},"Link is empty"):(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},(0,rr.__unstableStripHTML)(g)),(null==n?void 0:n.url)&&(0,s.createElement)("span",{className:"block-editor-link-control__search-item-info"},f)))),(0,s.createElement)(p.Button,{icon:uk,label:(0,h.__)("Edit"),className:"block-editor-link-control__search-item-action",onClick:o,iconSize:24}),l&&(0,s.createElement)(p.Button,{icon:of,label:(0,h.__)("Unlink"),className:"block-editor-link-control__search-item-action block-editor-link-control__unlink",onClick:i,iconSize:24}),(0,s.createElement)(dk,{fillProps:n})),(m&&((null==u?void 0:u.image)||(null==u?void 0:u.description))||d)&&(0,s.createElement)("div",{className:"block-editor-link-control__search-item-bottom"},((null==u?void 0:u.image)||d)&&(0,s.createElement)("div",{"aria-hidden":!(null!=u&&u.image),className:c()("block-editor-link-control__search-item-image",{"is-placeholder":!(null!=u&&u.image)})},(null==u?void 0:u.image)&&(0,s.createElement)("img",{src:null==u?void 0:u.image,alt:""})),((null==u?void 0:u.description)||d)&&(0,s.createElement)("div",{"aria-hidden":!(null!=u&&u.description),className:c()("block-editor-link-control__search-item-description",{"is-placeholder":!(null!=u&&u.description)})},(null==u?void 0:u.description)&&(0,s.createElement)(p.__experimentalText,{truncate:!0,numberOfLines:"2"},u.description))))}const gk=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 vk(e){var t,n,o;let{searchInputPlaceholder:r,value:l,settings:i=ek,onChange:a=u.noop,onRemove:d,noDirectEntry:m=!1,showSuggestions:f=!0,showInitialSuggestions:g,forceIsEditingLink:v,createSuggestion:b,withCreateSuggestion:k,inputValue:_="",suggestionsQuery:y={},noURLSuggestion:E=!1,createSuggestionButtonText:C,hasRichPreviews:w=!1,hasTextControl:S=!1,renderControlBottom:B=null}=e;void 0===k&&b&&(k=!0);const I=(0,s.useRef)(!0),x=(0,s.useRef)(),T=(0,s.useRef)(),[N,P]=(0,s.useState)((null==l?void 0:l.url)||""),[M,R]=(0,s.useState)((null==l?void 0:l.title)||""),L=_||N,[A,D]=(0,s.useState)(void 0!==v?v:!l||!l.url),O=(0,s.useRef)(!1),F=!(null!=L&&null!==(t=L.trim())&&void 0!==t&&t.length);function z(){var e;O.current=!(null===(e=x.current)||void 0===e||!e.contains(x.current.ownerDocument.activeElement)),D(!1)}(0,s.useEffect)((()=>{void 0!==v&&v!==A&&D(v)}),[v]),(0,s.useEffect)((()=>{if(I.current)return void(I.current=!1);const e=null!=T&&T.current?1:0;(rr.focus.focusable.find(x.current)[e]||x.current).focus(),O.current=!1}),[A]),(0,s.useEffect)((()=>{null!=l&&l.title&&l.title!==M&&R(l.title),null!=l&&l.url&&P(l.url)}),[l]);const{createPage:V,isCreatingPage:H,errorMessage:U}=function(e){const t=(0,s.useRef)(),[n,o]=(0,s.useState)(!1),[r,l]=(0,s.useState)(null);return(0,s.useEffect)((()=>()=>{t.current&&t.current.cancel()}),[]),{createPage:async function(n){o(!0),l(null);try{return t.current=gk(Promise.resolve(e(n))),await t.current.promise}catch(e){if(e&&e.isCanceled)return;throw l(e.message||(0,h.__)("An unknown error occurred during creation. Please try again.")),e}finally{o(!1)}},isCreatingPage:n,errorMessage:r}}(b),G=()=>{L===(null==l?void 0:l.url)&&M===(null==l?void 0:l.title)||a({url:L,title:M}),z()},W=d&&l&&!A&&!H,$=!(null==i||!i.length),j=(null==l||null===(n=l.url)||void 0===n||null===(o=n.trim())||void 0===o?void 0:o.length)>0&&S;return(0,s.createElement)("div",{tabIndex:-1,ref:x,className:"block-editor-link-control"},H&&(0,s.createElement)("div",{className:"block-editor-link-control__loading"},(0,s.createElement)(p.Spinner,null)," ",(0,h.__)("Creating"),"…"),(A||!l)&&!H&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:c()({"block-editor-link-control__search-input-wrapper":!0,"has-text-control":j})},j&&(0,s.createElement)(p.TextControl,{ref:T,className:"block-editor-link-control__field block-editor-link-control__text-content",label:"Text",value:M,onChange:R,onKeyDown:e=>{const{keyCode:t}=e;t!==Ma.ENTER||F||(e.preventDefault(),G())}}),(0,s.createElement)(ak,{currentLink:l,className:"block-editor-link-control__field block-editor-link-control__search-input",placeholder:r,value:L,withCreateSuggestion:k,onCreateSuggestion:V,onChange:P,onSelect:e=>{a({...e,title:M||(null==e?void 0:e.title)}),z()},showInitialSuggestions:g,allowDirectEntry:!m,showSuggestions:f,suggestionsQuery:y,withURLSuggestion:!E,createSuggestionButtonText:C,useLabel:j},(0,s.createElement)("div",{className:"block-editor-link-control__search-actions"},(0,s.createElement)(p.Button,{onClick:G,label:(0,h.__)("Submit"),icon:jb,className:"block-editor-link-control__search-submit",disabled:F})))),U&&(0,s.createElement)(p.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},U)),l&&!A&&!H&&(0,s.createElement)(hk,{key:null==l?void 0:l.url,value:l,onEditClick:()=>D(!0),hasRichPreviews:w,hasUnlinkControl:W,onRemove:d}),$&&(0,s.createElement)("div",{className:"block-editor-link-control__tools"},(0,s.createElement)(Kb,{value:l,settings:i,onChange:a})),B&&B())}vk.ViewerFill=pk;var bk=vk;var kk=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));var _k=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));var yk=(0,p.withFilters)("editor.MediaUpload")((()=>null));var Ek=function(e){let{fallback:t=null,children:n}=e;const o=(0,m.useSelect)((e=>{const{getSettings:t}=e(Fn);return!!t().mediaUpload}),[]);return o?n:t};var Ck=(0,d.compose)([(0,m.withDispatch)((e=>{const{createNotice:t,removeNotice:n}=e(qu.store);return{createNotice:t,removeNotice:n}})),(0,p.withFilters)("editor.MediaReplaceFlow")])((e=>{let{mediaURL:t,mediaId:n,allowedTypes:o,accept:r,onSelect:l,onSelectURL:i,onFilesUpload:a=u.noop,name:c=(0,h.__)("Replace"),createNotice:d,removeNotice:f,children:g}=e;const[v,b]=(0,s.useState)(t),k=(0,m.useSelect)((e=>e(Fn).getSettings().mediaUpload),[]),_=(0,s.createRef)(),y=(0,u.uniqueId)("block-editor/media-replace-flow/error-notice/"),E=e=>{const t=document.createElement("div");t.innerHTML=(0,s.renderToString)(e);const n=t.textContent||t.innerText||"";setTimeout((()=>{d("error",n,{speak:!0,id:y,isDismissible:!0})}),1e3)},C=e=>{b(e.url),l(e),(0,Nt.speak)((0,h.__)("The media file has been replaced")),f(y)},w=e=>{e.keyCode===Ma.DOWN&&(e.preventDefault(),e.target.click())};return(0,s.createElement)(p.Dropdown,{popoverProps:{isAlternate:!0},contentClassName:"block-editor-media-replace-flow__options",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,s.createElement)(p.ToolbarButton,{ref:_,"aria-expanded":t,"aria-haspopup":"true",onClick:n,onKeyDown:w},c)},renderContent:e=>{let{onClose:t}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},(0,s.createElement)(yk,{value:n,onSelect:e=>C(e),allowedTypes:o,render:e=>{let{open:t}=e;return(0,s.createElement)(p.MenuItem,{icon:kk,onClick:t},(0,h.__)("Open Media Library"))}}),(0,s.createElement)(Ek,null,(0,s.createElement)(p.FormFileUpload,{onChange:e=>{(e=>{const t=e.target.files;a(t),k({allowedTypes:o,filesList:t,onFileChange:e=>{let[t]=e;C(t)},onError:E})})(e)},accept:r,render:e=>{let{openFileDialog:t}=e;return(0,s.createElement)(p.MenuItem,{icon:_k,onClick:()=>{t()}},(0,h.__)("Upload"))}})),g),i&&(0,s.createElement)("form",{className:"block-editor-media-flow__url-input"},(0,s.createElement)("span",{className:"block-editor-media-replace-flow__image-url-label"},(0,h.__)("Current media URL:")),(0,s.createElement)(bk,{value:{url:v},settings:[],showSuggestions:!1,onChange:e=>{let{url:t}=e;b(t),i(t),_.current.focus()}})))}})}));function wk(e){let{url:t,urlLabel:n,className:o}=e;const r=c()(o,"block-editor-url-popover__link-viewer-url");return t?(0,s.createElement)(p.ExternalLink,{className:r,href:t},n||(0,Ed.filterURLForDisplay)((0,Ed.safeDecodeURI)(t))):(0,s.createElement)("span",{className:r})}function Sk(e){let{additionalControls:t,children:n,renderSettings:o,position:r="bottom center",focusOnMount:l="firstElement",...a}=e;const[c,u]=(0,s.useState)(!1),d=!!o&&c;return(0,s.createElement)(p.Popover,i({className:"block-editor-url-popover",focusOnMount:l,position:r},a),(0,s.createElement)("div",{className:"block-editor-url-popover__input-container"},(0,s.createElement)("div",{className:"block-editor-url-popover__row"},n,!!o&&(0,s.createElement)(p.Button,{className:"block-editor-url-popover__settings-toggle",icon:sp,label:(0,h.__)("Link settings"),onClick:()=>{u(!c)},"aria-expanded":c})),d&&(0,s.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},o())),t&&!d&&(0,s.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}Sk.LinkEditor=function(e){let{autocompleteRef:t,className:n,onChangeInputValue:o,value:r,...l}=e;return(0,s.createElement)("form",i({className:c()("block-editor-url-popover__link-editor",n)},l),(0,s.createElement)(Yb,{value:r,onChange:o,autocompleteRef:t}),(0,s.createElement)(p.Button,{icon:jb,label:(0,h.__)("Apply"),type:"submit"}))},Sk.LinkViewer=function(e){let{className:t,linkClassName:n,onEditLinkClick:o,url:r,urlLabel:l,...a}=e;return(0,s.createElement)("div",i({className:c()("block-editor-url-popover__link-viewer",t)},a),(0,s.createElement)(wk,{url:r,urlLabel:l,className:n}),o&&(0,s.createElement)(p.Button,{icon:uk,label:(0,h.__)("Edit"),onClick:o}))};var Bk=Sk;const Ik=e=>{let{src:t,onChange:n,onSubmit:o,onClose:r}=e;return(0,s.createElement)(Bk,{onClose:r},(0,s.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:o},(0,s.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"text","aria-label":(0,h.__)("URL"),placeholder:(0,h.__)("Paste or type URL"),onChange:n,value:t}),(0,s.createElement)(p.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:jb,label:(0,h.__)("Apply"),type:"submit"})))};var xk=(0,p.withFilters)("editor.MediaPlaceholder")((function(e){let{value:t={},allowedTypes:n,className:o,icon:r,labels:l={},mediaPreview:i,notices:a,isAppender:d,accept:f,addToGallery:g,multiple:v=!1,handleUpload:b=!0,dropZoneUIOnly:k,disableDropZone:_,disableMediaButtons:y,onError:E,onSelect:C,onCancel:w,onSelectURL:S,onDoubleClick:B,onFilesPreUpload:I=u.noop,onHTMLDrop:x=u.noop,children:T,mediaLibraryButton:N,placeholder:P,style:M}=e;const R=(0,m.useSelect)((e=>{const{getSettings:t}=e(Fn);return t().mediaUpload}),[]),[L,A]=(0,s.useState)(""),[D,O]=(0,s.useState)(!1);(0,s.useEffect)((()=>{var e;A(null!==(e=null==t?void 0:t.src)&&void 0!==e?e:"")}),[null==t?void 0:t.src]);const F=e=>{A(e.target.value)},z=()=>{O(!0)},V=()=>{O(!1)},H=e=>{e.preventDefault(),L&&S&&(S(L),V())},U=e=>{if(!b)return C(e);let o;if(I(e),v)if(g){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)}))));C(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=C;else o=e=>{let[t]=e;return C(t)};R({allowedTypes:n,filesList:e,onFileChange:o,onError:E})},G=e=>{U(e.target.files)},W=null!=P?P:e=>{let{instructions:t,title:u}=l;if(R||S||(t=(0,h.__)("To edit this block, you need permission to upload media.")),void 0===t||void 0===u){const e=null!=n?n:[],[o]=e,r=1===e.length,l=r&&"audio"===o,i=r&&"image"===o,s=r&&"video"===o;void 0===t&&R&&(t=(0,h.__)("Upload a media file or pick one from your media library."),l?t=(0,h.__)("Upload an audio file, pick one from your media library, or add one with a URL."):i?t=(0,h.__)("Upload an image file, pick one from your media library, or add one with a URL."):s&&(t=(0,h.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===u&&(u=(0,h.__)("Media"),l?u=(0,h.__)("Audio"):i?u=(0,h.__)("Image"):s&&(u=(0,h.__)("Video")))}const m=c()("block-editor-media-placeholder",o,{"is-appender":d});return(0,s.createElement)(p.Placeholder,{icon:r,label:u,instructions:t,className:m,notices:a,onDoubleClick:B,preview:i,style:M},e,T)},$=()=>_?null:(0,s.createElement)(p.DropZone,{onFilesDrop:U,onHTMLDrop:x}),j=()=>w&&(0,s.createElement)(p.Button,{className:"block-editor-media-placeholder__cancel-button",title:(0,h.__)("Cancel"),variant:"link",onClick:w},(0,h.__)("Cancel")),K=()=>S&&(0,s.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},(0,s.createElement)(p.Button,{className:"block-editor-media-placeholder__button",onClick:z,isPressed:D,variant:"tertiary"},(0,h.__)("Insert from URL")),D&&(0,s.createElement)(Ik,{src:L,onChange:F,onSubmit:H,onClose:V}));return k||y?(k&&Rt()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{since:"5.4",alternative:"disableMediaButtons"}),(0,s.createElement)(Ek,null,$())):(0,s.createElement)(Ek,{fallback:W(K())},(()=>{const e=null!=N?N:e=>{let{open:t}=e;return(0,s.createElement)(p.Button,{variant:"tertiary",onClick:()=>{t()}},(0,h.__)("Media Library"))},o=(0,s.createElement)(yk,{addToGallery:g,gallery:v&&!(!n||0===n.length)&&n.every((e=>"image"===e||e.startsWith("image/"))),multiple:v,onSelect:C,allowedTypes:n,value:Array.isArray(t)?t.map((e=>{let{id:t}=e;return t})):t.id,render:e});if(R&&d)return(0,s.createElement)(s.Fragment,null,$(),(0,s.createElement)(p.FormFileUpload,{onChange:G,accept:f,multiple:v,render:e=>{let{openFileDialog:t}=e;const n=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.Button,{variant:"primary",className:c()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onClick:t},(0,h.__)("Upload")),o,K(),j());return W(n)}}));if(R){const e=(0,s.createElement)(s.Fragment,null,$(),(0,s.createElement)(p.FormFileUpload,{variant:"primary",className:c()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:G,accept:f,multiple:v},(0,h.__)("Upload")),o,K(),j());return W(e)}return W(o)})())}));var Tk=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(0,s.createElement)(Lf,i({settings:o,gradients:[],disableCustomGradients:!0},n))};const Nk={position:"bottom right",isAlternate:!0};var Pk=()=>(0,s.createElement)(s.Fragment,null,["bold","italic","link"].map((e=>(0,s.createElement)(p.Slot,{name:`RichText.ToolbarControls.${e}`,key:e}))),(0,s.createElement)(p.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(0,s.createElement)(p.ToolbarItem,null,(n=>(0,s.createElement)(p.DropdownMenu,{icon:sp,label:(0,h.__)("More"),toggleProps:{...n,className:c()(n.className,{"is-pressed":t}),describedBy:(0,h.__)("Displays more block tools")},controls:(0,u.orderBy)(e.map((e=>{let[{props:t}]=e;return t})),"title"),popoverProps:Nk})))})));var Mk=e=>{let{inline:t,anchorRef:n}=e;return t?(0,s.createElement)(p.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar",__unstableSlotName:"block-toolbar"},(0,s.createElement)("div",{className:"block-editor-rich-text__inline-format-toolbar-group"},(0,s.createElement)(p.ToolbarGroup,null,(0,s.createElement)(Pk,null)))):(0,s.createElement)(qn,{group:"inline"},(0,s.createElement)(Pk,null))};function Rk(){const{didAutomaticChange:e,getSettings:t}=(0,m.useSelect)(Fn);return(0,d.useRefEffect)((n=>{function o(n){const{keyCode:o}=n;n.defaultPrevented||o!==Ma.DELETE&&o!==Ma.BACKSPACE&&o!==Ma.ESCAPE||e()&&(n.preventDefault(),t().__experimentalUndo())}return n.addEventListener("keydown",o),()=>{n.removeEventListener("keydown",o)}}),[])}function Lk(e){return e.filter((e=>{let{type:t}=e;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((e=>`<img src="${(0,Vp.createBlobURL)(e)}">`)).join("")}var Ak=window.wp.shortcode;function Dk(e,t){if(null!=t&&t.length){let n=e.formats.length;for(;n--;)e.formats[n]=[...t,...e.formats[n]||[]]}}function Ok(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}function Fk(e){let{allowedFormats:t,formattingControls:n,disableFormats:o}=e;return o?Fk.EMPTY_ARRAY:t||n?t||(Rt()("wp.blockEditor.RichText formattingControls prop",{since:"5.4",alternative:"allowedFormats"}),n.map((e=>`core/${e}`))):void 0}Fk.EMPTY_ARRAY=[];function zk(e){let{value:t,pastedBlocks:n=[],onReplace:o,onSplit:r,onSplitMiddle:l,multilineTag:i}=e;if(!o||!r)return;const s=[],[a,c]=(0,Pt.split)(t),u=n.length>0;let d=-1;const p=(0,Pt.isEmpty)(a)&&!(0,Pt.isEmpty)(c);u&&(0,Pt.isEmpty)(a)||(s.push(r((0,Pt.toHTMLString)({value:a,multilineTag:i}),!p)),d+=1),u?(s.push(...n),d+=n.length):l&&s.push(l()),(u||l)&&(0,Pt.isEmpty)(c)||s.push(r((0,Pt.toHTMLString)({value:c,multilineTag:i}),p));o(s,u?d:1,u?-1:0)}function Vk(e,t){return t?(0,Pt.replace)(e,/\n+/g,Pt.__UNSTABLE_LINE_SEPARATOR):(0,Pt.replace)(e,new RegExp(Pt.__UNSTABLE_LINE_SEPARATOR,"g"),"\n")}function Hk(e){const t=(0,s.useRef)(e);return t.current=e,(0,d.useRefEffect)((e=>{function n(e){const{isSelected:n,disableFormats:o,onChange:l,value:i,formatTypes:s,tagName:a,onReplace:c,onSplit:u,onSplitMiddle:d,__unstableEmbedURLOnPaste:p,multilineTag:m,preserveWhiteSpace:f,pastePlainText:h}=t.current;if(!n)return void e.preventDefault();const{clipboardData:g}=e;let v="",b="";try{v=g.getData("text/plain"),b=g.getData("text/html")}catch(e){try{b=g.getData("Text")}catch(e){return}}if(b=function(e){const t=/.*<!--StartFragment-->/s,n=/<!--EndFragment-->.*/s;return e.replace(t,"").replace(n,"")}(b),b=function(e){const t="<meta charset='utf-8'>";if(e.startsWith(t))return e.slice(t.length);return e}(b),e.preventDefault(),window.console.log("Received HTML:\n\n",b),window.console.log("Received plain text:\n\n",v),o)return void l((0,Pt.insert)(i,v));const k=s.reduce(((e,t)=>{let{__unstablePasteRule:n}=t;return n&&e===i&&(e=n(i,{html:b,plainText:v})),e}),i);if(k!==i)return void l(k);const _=[...(0,rr.getFilesFromDataTransfer)(g)];if("true"===g.getData("rich-text")){const e=g.getData("rich-text-multi-line-tag")||void 0;let t=(0,Pt.create)({html:b,multilineTag:e,multilineWrapperTags:"li"===e?["ul","ol"]:void 0,preserveWhiteSpace:f});return t=Vk(t,!!m),Dk(t,i.activeFormats),void l((0,Pt.insert)(i,t))}if(h)return void l((0,Pt.insert)(i,(0,Pt.create)({text:v})));if(_&&_.length&&!b){const e=(0,r.pasteHandler)({HTML:Lk(_),mode:"BLOCKS",tagName:a,preserveWhiteSpace:f});return window.console.log("Received items:\n\n",_),void(c&&(0,Pt.isEmpty)(i)?c(e):zk({value:i,pastedBlocks:e,onReplace:c,onSplit:u,onSplitMiddle:d,multilineTag:m}))}let y=c&&u?"AUTO":"INLINE";var E;"AUTO"===y&&(0,Pt.isEmpty)(i)&&(E=v,(0,Ak.regexp)(".*").test(E))&&(y="BLOCKS"),p&&(0,Pt.isEmpty)(i)&&(0,Ed.isURL)(v.trim())&&(y="BLOCKS");const C=(0,r.pasteHandler)({HTML:b,plainText:v,mode:y,tagName:a,preserveWhiteSpace:f});if("string"==typeof C){let e=(0,Pt.create)({html:C});e=Vk(e,!!m),Dk(e,i.activeFormats),l((0,Pt.insert)(i,e))}else C.length>0&&(c&&(0,Pt.isEmpty)(i)?c(C,C.length-1,-1):zk({value:i,pastedBlocks:C,onReplace:c,onSplit:u,onSplitMiddle:d,multilineTag:m}))}return e.addEventListener("paste",n),()=>{e.removeEventListener("paste",n)}}),[])}function Uk(e){const{__unstableMarkLastChangeAsPersistent:t,__unstableMarkAutomaticChange:n}=(0,m.useDispatch)(Fn),o=(0,s.useRef)(e);return o.current=e,(0,d.useRefEffect)((e=>{function l(){const{value:e,onReplace:t}=o.current;if(!t)return;const{start:l,text:i}=e;if(" "!==i.slice(l-1,l))return;const s=i.slice(0,l).trim(),a=(0,r.getBlockTransforms)("from").filter((e=>{let{type:t}=e;return"prefix"===t})),c=(0,r.findTransform)(a,(e=>{let{prefix:t}=e;return s===t}));if(!c)return;const u=(0,Pt.toHTMLString)({value:(0,Pt.slice)(e,l,i.length)});t([c.transform(u)]),n()}function i(e){const{inputType:r,type:i}=e,{value:s,onChange:a,__unstableAllowPrefixTransformations:c,formatTypes:u}=o.current;if("insertText"!==r&&"compositionend"!==i)return;c&&l&&l();const d=u.reduce(((e,t)=>{let{__unstableInputRule:n}=t;return n&&(e=n(e)),e}),s);d!==s&&(t(),a({...d,activeFormats:s.activeFormats}),n())}return e.addEventListener("input",i),e.addEventListener("compositionend",i),()=>{e.removeEventListener("input",i),e.removeEventListener("compositionend",i)}}),[])}function Gk(e){const{__unstableMarkAutomaticChange:t}=(0,m.useDispatch)(Fn),n=(0,s.useRef)(e);return n.current=e,(0,d.useRefEffect)((e=>{function o(e){if(e.defaultPrevented)return;const{removeEditorOnlyFormats:o,value:l,onReplace:i,onSplit:s,onSplitMiddle:a,multilineTag:c,onChange:u,disableLineBreaks:d,onSplitAtEnd:p}=n.current;if(e.keyCode!==Ma.ENTER)return;e.preventDefault();const m={...l};m.formats=o(l);const f=i&&s;if(i){const e=(0,r.getBlockTransforms)("from").filter((e=>{let{type:t}=e;return"enter"===t})),n=(0,r.findTransform)(e,(e=>e.regExp.test(m.text)));n&&(i([n.transform({content:m.text})]),t())}if(c)e.shiftKey?d||u((0,Pt.insert)(m,"\n")):f&&(0,Pt.__unstableIsEmptyLine)(m)?zk({value:m,onReplace:i,onSplit:s,onSplitMiddle:a,multilineTag:c}):u((0,Pt.__unstableInsertLineSeparator)(m));else{const{text:t,start:n,end:o}=m,r=p&&n===o&&o===t.length;e.shiftKey||!f&&!r?d||u((0,Pt.insert)(m,"\n")):!f&&r?p():f&&zk({value:m,onReplace:i,onSplit:s,onSplitMiddle:a,multilineTag:c})}}return e.addEventListener("keydown",o),()=>{e.removeEventListener("keydown",o)}}),[])}function Wk(e){return e(Pt.store).getFormatTypes()}const $k=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function jk(e){return(0,d.useRefEffect)((t=>{function n(t){for(const n of e.current)n(t)}return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}}),[])}function Kk(e){return(0,d.useRefEffect)((t=>{function n(t){for(const n of e.current)n(t)}return t.addEventListener("input",n),()=>{t.removeEventListener("input",n)}}),[])}function qk(e){let{formatTypes:t,onChange:n,onFocus:o,value:r,forwardedRef:l}=e;return t.map((e=>{const{name:t,edit:i}=e;if(!i)return null;const a=(0,Pt.getActiveFormat)(r,t);let c=void 0!==a;const d=(0,Pt.getActiveObject)(r),p=void 0!==d&&d.type===t;if("core/link"===t&&!(0,Pt.isCollapsed)(r)){const e=r.formats,t=(0,u.find)(e[r.start],{type:"core/link"}),n=(0,u.find)(e[r.end-1],{type:"core/link"});t&&n&&t===n||(c=!1)}return(0,s.createElement)(i,{key:t,isActive:c,activeAttributes:c&&a.attributes||{},isObjectActive:p,activeObjectAttributes:p&&d.attributes||{},value:r,onChange:n,onFocus:o,contentRef:l})}))}const Yk=(0,s.createContext)(),Xk=(0,s.createContext)();const Qk=(0,s.forwardRef)((function e(t,n){let{children:o,tagName:l="div",value:a="",onChange:f,isSelected:h,multiline:g,inlineToolbar:v,wrapperClassName:b,autocompleters:k,onReplace:_,placeholder:y,allowedFormats:E,formattingControls:C,withoutInteractiveFormatting:w,onRemove:S,onMerge:B,onSplit:I,__unstableOnSplitAtEnd:x,__unstableOnSplitMiddle:T,identifier:N,preserveWhiteSpace:P,__unstablePastePlainText:M,__unstableEmbedURLOnPaste:R,__unstableDisableFormats:L,disableLineBreaks:A,unstableOnFocus:D,__unstableAllowPrefixTransformations:O,...F}=t;const z=(0,d.useInstanceId)(e);N=N||z,F=function(e){return(0,u.omit)(e,["__unstableMobileNoFocusOnMount","deleteEnter","placeholderTextColor","textAlign","selectionColor","tagsToEliminate","rootTagsToEliminate","disableEditingMenu","fontSize","fontFamily","fontWeight","fontStyle","minWidth","maxWidth","setRef"])}(F);const V=(0,s.useRef)(),{clientId:H}=Un(),{selectionStart:U,selectionEnd:G,isSelected:W,disabled:$}=(0,m.useSelect)((e=>{const{getSelectionStart:t,getSelectionEnd:n,isMultiSelecting:o,hasMultiSelection:r}=e(Fn),l=t(),i=n();let s;return void 0===h?s=l.clientId===H&&l.attributeKey===N:h&&(s=l.clientId===H),{selectionStart:s?l.offset:void 0,selectionEnd:s?i.offset:void 0,isSelected:s,disabled:o()||r()}})),{selectionChange:j}=(0,m.useDispatch)(Fn),K=Ok(g),q=Fk({allowedFormats:E,formattingControls:C,disableFormats:L}),Y=!q||q.length>0;let X=a,Q=f;Array.isArray(a)&&(X=r.children.toHTML(a),Q=e=>f(r.children.fromDOM((0,Pt.__unstableCreateElement)(document,e).childNodes)));const Z=(0,s.useCallback)(((e,t)=>{j(H,N,e,t)}),[H,N]),{formatTypes:J,prepareHandlers:ee,valueHandlers:te,changeHandlers:ne,dependencies:oe}=function(e){let{clientId:t,identifier:n,withoutInteractiveFormatting:o,allowedFormats:r}=e;const l=(0,m.useSelect)(Wk,[]),i=(0,s.useMemo)((()=>l.filter((e=>{let{name:t,tagName:n}=e;return!(r&&!r.includes(t)||o&&$k.has(n))}))),[l,r,$k]),a=(0,m.useSelect)((e=>i.reduce(((o,r)=>(r.__experimentalGetPropsForEditableTreePreparation&&(o[r.name]=r.__experimentalGetPropsForEditableTreePreparation(e,{richTextIdentifier:n,blockClientId:t})),o)),{})),[i,t,n]),c=(0,m.useDispatch)(),u=[],d=[],p=[],f=[];return i.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)f.push(o[e])}if(e.__experimentalCreateOnChangeEditableValue){let o={};e.__experimentalGetPropsForEditableTreeChangeHandler&&(o=e.__experimentalGetPropsForEditableTreeChangeHandler(c,{richTextIdentifier:n,blockClientId:t})),p.push(e.__experimentalCreateOnChangeEditableValue({...a[e.name]||{},...o},{richTextIdentifier:n,blockClientId:t}))}})),{formatTypes:i,prepareHandlers:u,valueHandlers:d,changeHandlers:p,dependencies:f}}({clientId:H,identifier:N,withoutInteractiveFormatting:w,allowedFormats:q});function re(e){return J.forEach((t=>{t.__experimentalCreatePrepareEditableTree&&(e=(0,Pt.removeFormat)(e,t.name,0,e.text.length))})),e.formats}const{value:le,onChange:ie,ref:se}=(0,Pt.__unstableUseRichText)({value:X,onChange(e,t){let{__unstableFormats:n,__unstableText:o}=t;Q(e),Object.values(ne).forEach((e=>{e(n,o)}))},selectionStart:U,selectionEnd:G,onSelectionChange:Z,placeholder:y,__unstableIsSelected:W,__unstableMultilineTag:K,__unstableDisableFormats:L,preserveWhiteSpace:P,__unstableDependencies:[...oe,l],__unstableAfterParse:function(e){return te.reduce(((t,n)=>n(t,e.text)),e.formats)},__unstableBeforeSerialize:re,__unstableAddInvisibleFormats:function(e){return ee.reduce(((t,n)=>n(t,e.text)),e.formats)}}),ae=function(e){return(0,p.__unstableUseAutocompleteProps)({...e,completers:ev(e)})}({onReplace:_,completers:k,record:le,onChange:ie});!function(e){let{value:t}=e;const n=t.activeFormats&&!!t.activeFormats.length,{isCaretWithinFormattedText:o}=(0,m.useSelect)(Fn),{enterFormattedText:r,exitFormattedText:l}=(0,m.useDispatch)(Fn);(0,s.useEffect)((()=>{n?o()||r():o()&&l()}),[n])}({value:le}),function(e){let{html:t,value:n}=e;const o=(0,s.useRef)(),r=n.activeFormats&&!!n.activeFormats.length,{__unstableMarkLastChangeAsPersistent:l}=(0,m.useDispatch)(Fn);(0,s.useLayoutEffect)((()=>{if(o.current){if(o.current!==n.text){const e=window.setTimeout((()=>{l()}),1e3);return o.current=n.text,()=>{window.clearTimeout(e)}}l()}else o.current=n.text}),[t,r])}({html:X,value:le});const ce=(0,s.useRef)(new Set),ue=(0,s.useRef)(new Set);function de(){V.current.focus()}const pe=l,me=(0,s.createElement)(s.Fragment,null,W&&(0,s.createElement)(Yk.Provider,{value:ce},(0,s.createElement)(Xk.Provider,{value:ue},(0,s.createElement)(p.Popover.__unstableSlotNameProvider,{value:"__unstable-block-tools-after"},o&&o({value:le,onChange:ie,onFocus:de}),(0,s.createElement)(qk,{value:le,onChange:ie,onFocus:de,formatTypes:J,forwardedRef:V})))),W&&Y&&(0,s.createElement)(Mk,{inline:v,anchorRef:V.current}),(0,s.createElement)(pe,i({role:"textbox","aria-multiline":!0,"aria-label":y},F,ae,{ref:(0,d.useMergeRefs)([ae.ref,F.ref,se,Uk({value:le,onChange:ie,__unstableAllowPrefixTransformations:O,formatTypes:J,onReplace:_}),(0,d.useRefEffect)((e=>{function t(e){(Ma.isKeyboardEvent.primary(e,"z")||Ma.isKeyboardEvent.primary(e,"y")||Ma.isKeyboardEvent.primaryShift(e,"z"))&&e.preventDefault()}return e.addEventListener("keydown",t),()=>{e.addEventListener("keydown",t)}}),[]),jk(ce),Kk(ue),Rk(),Hk({isSelected:W,disableFormats:L,onChange:ie,value:le,formatTypes:J,tagName:l,onReplace:_,onSplit:I,onSplitMiddle:T,__unstableEmbedURLOnPaste:R,multilineTag:K,preserveWhiteSpace:P,pastePlainText:M}),Gk({removeEditorOnlyFormats:re,value:le,onReplace:_,onSplit:I,onSplitMiddle:T,multilineTag:K,onChange:ie,disableLineBreaks:A,onSplitAtEnd:x}),V,n]),contentEditable:!$||void 0,suppressContentEditableWarning:!$,className:c()("block-editor-rich-text__editable",F.className,"rich-text"),onFocus:D,onKeyDown:function(e){const{keyCode:t}=e;if(!e.defaultPrevented&&(t===Ma.DELETE||t===Ma.BACKSPACE)){const{start:n,end:o,text:r}=le,l=t===Ma.BACKSPACE,i=le.activeFormats&&!!le.activeFormats.length;if(!(0,Pt.isCollapsed)(le)||i||l&&0!==n||!l&&o!==r.length)return;B&&B(!l),S&&(0,Pt.isEmpty)(le)&&l&&S(!l),e.preventDefault()}}})));if(!b)return me;Rt()("wp.blockEditor.RichText wrapperClassName prop",{since:"5.4",alternative:"className prop or create your own wrapper div"});const fe=c()("block-editor-rich-text",b);return(0,s.createElement)("div",{className:fe},me)}));Qk.Content=e=>{let{value:t,tagName:n,multiline:o,...l}=e;Array.isArray(t)&&(t=r.children.toHTML(t));const i=Ok(o);!t&&i&&(t=`<${i}></${i}>`);const a=(0,s.createElement)(s.RawHTML,null,t);return n?(0,s.createElement)(n,(0,u.omit)(l,["format"]),a):a},Qk.isEmpty=e=>!e||0===e.length;var Zk=Qk;const Jk=(0,s.forwardRef)(((e,t)=>(0,s.createElement)(Zk,i({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0}))));Jk.Content=e=>{let{value:t="",tagName:n="div",...o}=e;return(0,s.createElement)(n,o,t)};var e_=Jk;var t_=(0,s.forwardRef)(((e,t)=>{let{__experimentalVersion:n,...o}=e;if(2===n)return(0,s.createElement)(e_,i({ref:t},o));const{className:r,onChange:l,...a}=o;return(0,s.createElement)(Er.Z,i({ref:t,className:c()("block-editor-plain-text",r),onChange:e=>l(e.target.value)},a))}));function n_(e){let{property:t,viewport:n,desc:o}=e;const r=(0,d.useInstanceId)(n_),l=o||(0,h.sprintf)((0,h._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(0,s.createElement)(s.Fragment,null,(0,s.createElement)("span",{"aria-describedby":`rbc-desc-${r}`},n.label),(0,s.createElement)(p.VisuallyHidden,{as:"span",id:`rbc-desc-${r}`},l))}var o_=function(e){const{title:t,property:n,toggleLabel:o,onIsResponsiveChange:r,renderDefaultControl:l,renderResponsiveControls:i,isResponsive:a=!1,defaultLabel:u={id:"all",label:(0,h.__)("All")},viewports:d=[{id:"small",label:(0,h.__)("Small screens")},{id:"medium",label:(0,h.__)("Medium screens")},{id:"large",label:(0,h.__)("Large screens")}]}=e;if(!t||!n||!l)return null;const m=o||(0,h.sprintf)((0,h.__)("Use the same %s on all screensizes."),n),f=(0,h.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),g=l((0,s.createElement)(n_,{property:n,viewport:u}),u);return(0,s.createElement)("fieldset",{className:"block-editor-responsive-block-control"},(0,s.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),(0,s.createElement)("div",{className:"block-editor-responsive-block-control__inner"},(0,s.createElement)(p.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:m,checked:!a,onChange:r,help:f}),(0,s.createElement)("div",{className:c()("block-editor-responsive-block-control__group",{"is-responsive":a})},!a&&g,a&&(i?i(d):d.map((e=>(0,s.createElement)(s.Fragment,{key:e.id},l((0,s.createElement)(n_,{property:n,viewport:e}),e))))))))};function r_(e){let{character:t,type:n,onUse:o}=e;const r=(0,s.useContext)(Yk),l=(0,s.useRef)();return l.current=o,(0,s.useEffect)((()=>{function e(e){Ma.isKeyboardEvent[n](e,t)&&(l.current(),e.preventDefault())}return r.current.add(e),()=>{r.current.delete(e)}}),[t,n]),null}function l_(e){let t,{name:n,shortcutType:o,shortcutCharacter:r,...l}=e,a="RichText.ToolbarControls";return n&&(a+=`.${n}`),o&&r&&(t=Ma.displayShortcut[o](r)),(0,s.createElement)(p.Fill,{name:a},(0,s.createElement)(p.ToolbarButton,i({},l,{shortcut:t})))}function i_(e){let{inputType:t,onInput:n}=e;const o=(0,s.useContext)(Xk),r=(0,s.useRef)();return r.current=n,(0,s.useEffect)((()=>{function e(e){e.inputType===t&&(r.current(),e.preventDefault())}return o.current.add(e),()=>{o.current.delete(e)}}),[t]),null}const s_=(0,s.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,s.createElement)(p.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 a_=(0,s.forwardRef)((function(e,t){const n=(0,m.useSelect)((e=>e(Fn).isNavigationMode()),[]),{setNavigationMode:o}=(0,m.useDispatch)(Fn),r=e=>{o("edit"!==e)};return(0,s.createElement)(p.Dropdown,{renderToggle:o=>{let{isOpen:r,onToggle:l}=o;return(0,s.createElement)(p.Button,i({},e,{ref:t,icon:n?s_:uk,"aria-expanded":r,"aria-haspopup":"true",onClick:l,label:(0,h.__)("Tools")}))},position:"bottom right",renderContent:()=>(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.NavigableMenu,{role:"menu","aria-label":(0,h.__)("Tools")},(0,s.createElement)(p.MenuItemsChoice,{value:n?"select":"edit",onSelect:r,choices:[{value:"edit",label:(0,s.createElement)(s.Fragment,null,(0,s.createElement)(wo,{icon:uk}),(0,h.__)("Edit"))},{value:"select",label:(0,s.createElement)(s.Fragment,null,s_,(0,h.__)("Select"))}]})),(0,s.createElement)("div",{className:"block-editor-tool-selector__help"},(0,h.__)("Tools provide different interactions for selecting, navigating, and editing blocks. Toggle between select and edit by pressing Escape and Enter.")))})}));function c_(e){let{units:t,...n}=e;const o=(0,p.__experimentalUseCustomUnits)({availableUnits:po("spacing.units")||["%","px","em","rem","vw"],units:t});return(0,s.createElement)(p.__experimentalUnitControl,i({units:o},n))}var u_=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));class d_ extends s.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?(0,h.__)("Edit link"):(0,h.__)("Insert link");return(0,s.createElement)("div",{className:"block-editor-url-input__button"},(0,s.createElement)(p.Button,{icon:nf,label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!e}),n&&(0,s.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},(0,s.createElement)("div",{className:"block-editor-url-input__button-modal-line"},(0,s.createElement)(p.Button,{className:"block-editor-url-input__back",icon:u_,label:(0,h.__)("Close"),onClick:this.toggle}),(0,s.createElement)(Yb,{value:e||"",onChange:t}),(0,s.createElement)(p.Button,{icon:jb,label:(0,h.__)("Submit"),type:"submit"}))))}}var p_=d_;var m_=(0,s.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(O.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"}));const f_="none",h_="custom",g_="media",v_="attachment",b_=["noreferrer","noopener"],k_=(0,s.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(p.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),(0,s.createElement)(p.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"}),(0,s.createElement)(p.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),__=e=>{let{linkDestination:t,onChangeUrl:n,url:o,mediaType:r="image",mediaUrl:l,mediaLink:i,linkTarget:a,linkClass:c,rel:d}=e;const[m,f]=(0,s.useState)(!1),g=(0,s.useCallback)((()=>{f(!0)})),[v,b]=(0,s.useState)(!1),[k,_]=(0,s.useState)(null),y=(0,s.useRef)(null),E=(0,s.useCallback)((()=>{t!==g_&&t!==v_||_(""),b(!0)})),C=(0,s.useCallback)((()=>{b(!1)})),w=(0,s.useCallback)((()=>{_(null),C(),f(!1)})),S=e=>{let t=e;return void 0===e||(0,u.isEmpty)(t)||(0,u.isEmpty)(t)||((0,u.each)(b_,(e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),(0,u.isEmpty)(t)&&(t=void 0)),t},B=(0,s.useCallback)((()=>e=>{const t=y.current;t&&t.contains(e.target)||(f(!1),_(null),C())})),I=(0,s.useCallback)((()=>e=>{if(k){var t;const e=(null===(t=T().find((e=>e.url===k)))||void 0===t?void 0:t.linkDestination)||h_;n({href:k,linkDestination:e})}C(),_(null),e.preventDefault()})),x=(0,s.useCallback)((()=>{n({linkDestination:f_,href:""})})),T=()=>{const e=[{linkDestination:g_,title:(0,h.__)("Media File"),url:"image"===r?l:void 0,icon:k_}];return"image"===r&&i&&e.push({linkDestination:v_,title:(0,h.__)("Attachment Page"),url:"image"===r?i:void 0,icon:(0,s.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(p.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,s.createElement)(p.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},N=(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.ToggleControl,{label:(0,h.__)("Open in new tab"),onChange:e=>{const t=(e=>{const t=e?"_blank":void 0;let n;return n=t||d?S(d):void 0,{linkTarget:t,rel:n}})(e);n(t)},checked:"_blank"===a}),(0,s.createElement)(p.TextControl,{label:(0,h.__)("Link Rel"),value:S(d)||"",onChange:e=>{n({rel:e})}}),(0,s.createElement)(p.TextControl,{label:(0,h.__)("Link CSS Class"),value:c||"",onChange:e=>{n({linkClass:e})}})),P=null!==k?k:o,M=((0,u.find)(T(),["linkDestination",t])||{}).title;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.ToolbarButton,{icon:nf,className:"components-toolbar__control",label:o?(0,h.__)("Edit link"):(0,h.__)("Insert link"),"aria-expanded":m,onClick:g}),m&&(0,s.createElement)(Bk,{onFocusOutside:B(),onClose:w,renderSettings:()=>N,additionalControls:!P&&(0,s.createElement)(p.NavigableMenu,null,(0,u.map)(T(),(e=>(0,s.createElement)(p.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:()=>{_(null),(e=>{const t=T();let o;o=e?((0,u.find)(t,(t=>t.url===e))||{linkDestination:h_}).linkDestination:f_,n({linkDestination:o,href:e})})(e.url),C()}},e.title))))},(!o||v)&&(0,s.createElement)(Bk.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:P,onChangeInputValue:_,onSubmit:I(),autocompleteRef:y}),o&&!v&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Bk.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",url:o,onEditLinkClick:E,urlLabel:M}),(0,s.createElement)(p.Button,{icon:m_,label:(0,h.__)("Remove link"),onClick:x}))))};function y_(e){let{children:t,className:n,isEnabled:o=!0,deviceType:r,setDeviceType:l}=e;if((0,d.useViewportMatch)("small","<"))return null;const i={className:c()(n,"block-editor-post-preview__dropdown-content"),position:"bottom left"},a={variant:"tertiary",className:"block-editor-post-preview__button-toggle",disabled:!o,children:(0,h.__)("Preview")};return(0,s.createElement)(p.DropdownMenu,{className:"block-editor-post-preview__dropdown",popoverProps:i,toggleProps:a,icon:null},(()=>(0,s.createElement)(s.Fragment,null,(0,s.createElement)(p.MenuGroup,null,(0,s.createElement)(p.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>l("Desktop"),icon:"Desktop"===r&&Db},(0,h.__)("Desktop")),(0,s.createElement)(p.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>l("Tablet"),icon:"Tablet"===r&&Db},(0,h.__)("Tablet")),(0,s.createElement)(p.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:()=>l("Mobile"),icon:"Mobile"===r&&Db},(0,h.__)("Mobile"))),t)))}function E_(e){const[t,n]=(0,s.useState)(window.innerWidth);(0,s.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<t?n:t};return(e=>{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 C_=(0,m.withSelect)((e=>({selectedBlockClientId:e(Fn).getBlockSelectionStart()})))((e=>{let{selectedBlockClientId:t}=e;const n=Ha(t);return t?(0,s.createElement)(p.Button,{variant:"secondary",className:"block-editor-skip-to-selected-block",onClick:()=>{n.current.focus()}},(0,h.__)("Skip to the selected block")):null})),w_=window.wp.wordcount;var S_=(0,m.withSelect)((e=>{const{getMultiSelectedBlocks:t}=e(Fn);return{blocks:t()}}))((function(e){let{blocks:t}=e;const n=(0,w_.count)((0,r.serialize)(t),"words");return(0,s.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},(0,s.createElement)(oc,{icon:yp,showColors:!0}),(0,s.createElement)("div",{className:"block-editor-multi-selection-inspector__card-content"},(0,s.createElement)("div",{className:"block-editor-multi-selection-inspector__card-title"},(0,h.sprintf)((0,h._n)("%d block","%d blocks",t.length),t.length)),(0,s.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},(0,h.sprintf)((0,h._n)("%d word","%d words",n),n))))}));function B_(e){let{blockName:t}=e;const{preferredStyle:n,onUpdatePreferredStyleVariations:o,styles:l}=(0,m.useSelect)((e=>{var n,o;const l=e(Fn).getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:null==l||null===(n=l.value)||void 0===n?void 0:n[t],onUpdatePreferredStyleVariations:null!==(o=null==l?void 0:l.onChange)&&void 0!==o?o:null,styles:e(r.store).getBlockStyles(t)}}),[t]),i=(0,s.useMemo)((()=>[{label:(0,h.__)("Not set"),value:""},...l.map((e=>{let{label:t,name:n}=e;return{label:t,value:n}}))]),[l]),a=(0,s.useCallback)((e=>{o(t,e)}),[t,o]);return o&&(0,s.createElement)(p.SelectControl,{options:i,value:n||"",label:(0,h.__)("Default Style"),onChange:a})}const I_=e=>{let{clientId:t,blockName:n,hasBlockStyles:o,bubblesVirtually:l}=e;const i=Qd(t);return(0,s.createElement)("div",{className:"block-editor-block-inspector"},(0,s.createElement)(rc,i),(0,s.createElement)(Yv,{blockClientId:t}),o&&(0,s.createElement)("div",null,(0,s.createElement)(p.PanelBody,{title:(0,h.__)("Styles")},(0,s.createElement)(xp,{clientId:t}),(0,r.hasBlockSupport)(n,"defaultStylePicker",!0)&&(0,s.createElement)(B_,{blockName:n}))),(0,s.createElement)(er.Slot,{bubblesVirtually:l}),(0,s.createElement)(er.Slot,{__experimentalGroup:"typography",bubblesVirtually:l,label:(0,h.__)("Typography")}),(0,s.createElement)(er.Slot,{__experimentalGroup:"dimensions",bubblesVirtually:l,label:(0,h.__)("Dimensions")}),(0,s.createElement)(er.Slot,{__experimentalGroup:"border",label:(0,h.__)("Border")}),(0,s.createElement)("div",null,(0,s.createElement)(x_,{bubblesVirtually:l})),(0,s.createElement)(C_,{key:"back"}))},x_=e=>{let{bubblesVirtually:t}=e;const n=(0,p.__experimentalUseSlot)(Jo.slotName);return Boolean(n.fills&&n.fills.length)?(0,s.createElement)(p.PanelBody,{className:"block-editor-block-inspector__advanced",title:(0,h.__)("Advanced"),initialOpen:!1},(0,s.createElement)(er.Slot,{__experimentalGroup:"advanced",bubblesVirtually:t})):null};var T_=e=>{let{showNoBlockSelectedMessage:t=!0,bubblesVirtually:n=!0}=e;const{count:o,hasBlockStyles:l,selectedBlockName:i,selectedBlockClientId:a,blockType:c}=(0,m.useSelect)((e=>{const{getSelectedBlockClientId:t,getSelectedBlockCount:n,getBlockName:o}=e(Fn),{getBlockStyles:l}=e(r.store),i=t(),s=i&&o(i),a=s&&(0,r.getBlockType)(s),c=s&&l(s);return{count:n(),selectedBlockClientId:i,selectedBlockName:s,blockType:a,hasBlockStyles:c&&c.length>0}}),[]);if(o>1)return(0,s.createElement)("div",{className:"block-editor-block-inspector"},(0,s.createElement)(S_,null),(0,s.createElement)(er.Slot,null),(0,s.createElement)(er.Slot,{__experimentalGroup:"typography",label:(0,h.__)("Typography")}),(0,s.createElement)(er.Slot,{__experimentalGroup:"dimensions",label:(0,h.__)("Dimensions")}),(0,s.createElement)(er.Slot,{__experimentalGroup:"border",label:(0,h.__)("Border")}));const u=i===(0,r.getUnregisteredTypeHandlerName)();return c&&a&&!u?(0,s.createElement)(I_,{clientId:a,blockName:c.name,hasBlockStyles:l,bubblesVirtually:n}):t?(0,s.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},(0,h.__)("No block selected.")):null};function N_(e){let{children:t,__unstableContentRef:n,...o}=e;const r=(0,d.useViewportMatch)("medium"),l=(0,m.useSelect)((e=>e(Fn).getSettings().hasFixedToolbar),[]),a=(0,gc.__unstableUseShortcutEventMatch)(),{getSelectedBlockClientIds:c,getBlockRootClientId:f}=(0,m.useSelect)(Fn),{duplicateBlocks:h,removeBlocks:g,insertAfterBlock:v,insertBeforeBlock:b,clearSelectedBlock:k,moveBlocksUp:_,moveBlocksDown:y}=(0,m.useDispatch)(Fn);return(0,s.createElement)("div",i({},o,{onKeyDown:function(e){if(a("core/block-editor/move-up",e)){const t=c();if(t.length){e.preventDefault();const n=f((0,u.first)(t));_(t,n)}}else if(a("core/block-editor/move-down",e)){const t=c();if(t.length){e.preventDefault();const n=f((0,u.first)(t));y(t,n)}}else if(a("core/block-editor/duplicate",e)){const t=c();t.length&&(e.preventDefault(),h(t))}else if(a("core/block-editor/remove",e)){const t=c();t.length&&(e.preventDefault(),g(t))}else if(a("core/block-editor/insert-after",e)){const t=c();t.length&&(e.preventDefault(),v((0,u.last)(t)))}else if(a("core/block-editor/insert-before",e)){const t=c();t.length&&(e.preventDefault(),b((0,u.first)(t)))}else if(a("core/block-editor/delete-multi-selection",e)){if(["INPUT","TEXTAREA"].includes(e.target.nodeName)||e.defaultPrevented)return;const t=c();t.length>1&&(e.preventDefault(),g(t))}else if(a("core/block-editor/unselect",e)){c().length>1&&(e.preventDefault(),k(),e.target.ownerDocument.defaultView.getSelection().removeAllRanges())}}}),(0,s.createElement)(Kd,{__unstableContentRef:n},(l||!r)&&(0,s.createElement)(im,{isFixed:!0}),(0,s.createElement)(um,{__unstableContentRef:n}),(0,s.createElement)(p.Popover.Slot,{name:"block-toolbar",ref:Wd(n)}),t,(0,s.createElement)(p.Popover.Slot,{name:"__unstable-block-tools-after",ref:Wd(n)})))}var P_=function(e){let{rootClientId:t,clientId:n,isAppender:o,showInserterHelpPanel:r,showMostUsedBlocks:l=!1,__experimentalInsertionIndex:i,__experimentalFilterValue:a,onSelect:c=u.noop,shouldFocusBlock:d=!1}=e;const p=(0,m.useSelect)((e=>{const{getBlockRootClientId:o}=e(Fn);return t||o(n)||void 0}),[n,t]);return(0,s.createElement)(Ld,{onSelect:c,rootClientId:p,clientId:n,isAppender:o,showInserterHelpPanel:r,showMostUsedBlocks:l,__experimentalInsertionIndex:i,__experimentalFilterValue:a,shouldFocusBlock:d})};function M_(){return null}M_.Register=function(){const{registerShortcut:e}=(0,m.useDispatch)(gc.store);return(0,s.useEffect)((()=>{e({name:"core/block-editor/duplicate",category:"block",description:(0,h.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:(0,h.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:(0,h.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:(0,h.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:(0,h.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:(0,h.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:(0,h.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:(0,h.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:(0,h.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:(0,h.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})}),[e]),null};var R_=M_;function L_(){return Rt()("wp.blockEditor.MultiSelectScrollIntoView",{hint:"This behaviour is now built-in."}),null}const A_=new Set([Ma.UP,Ma.RIGHT,Ma.DOWN,Ma.LEFT,Ma.ENTER,Ma.BACKSPACE]);function D_(){const e=(0,m.useSelect)((e=>e(Fn).isTyping()),[]),{stopTyping:t}=(0,m.useDispatch)(Fn);return(0,d.useRefEffect)((n=>{if(!e)return;const{ownerDocument:o}=n;let r,l;function i(e){const{clientX:n,clientY:o}=e;r&&l&&(r!==n||l!==o)&&t(),r=n,l=o}return o.addEventListener("mousemove",i),()=>{o.removeEventListener("mousemove",i)}}),[e,t])}function O_(){const e=(0,m.useSelect)((e=>e(Fn).isTyping())),{startTyping:t,stopTyping:n}=(0,m.useDispatch)(Fn),o=D_(),r=(0,d.useRefEffect)((o=>{const{ownerDocument:r}=o,{defaultView:l}=r;if(e){let s;function a(e){const{target:t}=e;s=l.setTimeout((()=>{(0,rr.isTextField)(t)||n()}))}function c(e){const{keyCode:t}=e;t!==Ma.ESCAPE&&t!==Ma.TAB||n()}function u(){const e=l.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||n()}return o.addEventListener("focus",a),o.addEventListener("keydown",c),r.addEventListener("selectionchange",u),()=>{l.clearTimeout(s),o.removeEventListener("focus",a),o.removeEventListener("keydown",c),r.removeEventListener("selectionchange",u)}}function i(e){const{type:n,target:r}=e;(0,rr.isTextField)(r)&&o.contains(r)&&("keydown"!==n||function(e){const{keyCode:t,shiftKey:n}=e;return!n&&A_.has(t)}(e))&&t()}return o.addEventListener("keypress",i),o.addEventListener("keydown",i),()=>{o.removeEventListener("keypress",i),o.removeEventListener("keydown",i)}}),[e,t,n]);return(0,d.useMergeRefs)([o,r])}var F_=function(e){let{children:t}=e;return(0,s.createElement)("div",{ref:O_()},t)};function z_(){return Rt()("PreserveScrollInReorder component",{since:"5.4",hint:"This behavior is now built-in the block list"}),null}const V_=-1!==window.navigator.userAgent.indexOf("Trident"),H_=new Set([Ma.UP,Ma.DOWN,Ma.LEFT,Ma.RIGHT]);function U_(){const e=(0,m.useSelect)((e=>e(Fn).hasSelectedBlock()),[]);return(0,d.useRefEffect)((t=>{if(!e)return;const{ownerDocument:n}=t,{defaultView:o}=n;let r,l,i;function s(){r||(r=o.requestAnimationFrame((()=>{p(),r=null})))}function a(e){l&&o.cancelAnimationFrame(l),l=o.requestAnimationFrame((()=>{c(e),l=null}))}function c(e){let{keyCode:r}=e;if(!m())return;const l=(0,rr.computeCaretRect)(o);if(!l)return;if(!i)return void(i=l);if(H_.has(r))return void(i=l);const s=l.top-i.top;if(0===s)return;const a=(0,rr.getScrollContainer)(t);if(!a)return;const c=a===n.body,u=c?o.scrollY:a.scrollTop,d=c?0:a.getBoundingClientRect().top,p=c?i.top/o.innerHeight:(i.top-d)/(o.innerHeight-d);if(0===u&&p<.75&&function(){const e=t.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===n.activeElement}())return void(i=l);const f=c?o.innerHeight:a.clientHeight;i.top+i.height>d+f||i.top<d?i=l:c?o.scrollBy(0,s):a.scrollTop+=s}function u(){n.addEventListener("selectionchange",d)}function d(){n.removeEventListener("selectionchange",d),p()}function p(){m()&&(i=(0,rr.computeCaretRect)(o))}function m(){return t.contains(n.activeElement)&&n.activeElement.isContentEditable}return o.addEventListener("scroll",s,!0),o.addEventListener("resize",s,!0),t.addEventListener("keydown",a),t.addEventListener("keyup",c),t.addEventListener("mousedown",u),t.addEventListener("touchstart",u),()=>{o.removeEventListener("scroll",s,!0),o.removeEventListener("resize",s,!0),t.removeEventListener("keydown",a),t.removeEventListener("keyup",c),t.removeEventListener("mousedown",u),t.removeEventListener("touchstart",u),n.removeEventListener("selectionchange",d),o.cancelAnimationFrame(r),o.cancelAnimationFrame(l)}}),[e])}var G_=V_?e=>e.children:function(e){let{children:t}=e;return(0,s.createElement)("div",{ref:U_(),className:"block-editor__typewriter"},t)};const W_=(0,u.overEvery)([rr.isTextField,rr.focus.tabbable.isTabbableIndex]);function $_(){return(0,d.useRefEffect)((e=>{function t(t){if(t.target!==e)return;const n=rr.focus.focusable.find(e),o=(0,u.findLast)(n,W_);if(!o)return;const{bottom:r}=o.getBoundingClientRect();t.clientY<r||((0,rr.placeCaretAtHorizontalEdge)(o,!0),t.preventDefault())}return e.addEventListener("mousedown",t),()=>{e.addEventListener("mousedown",t)}}),[])}const j_=(0,s.createContext)({});function K_(e,t,n){const o={...e,[t]:e[t]?new Set(e[t]):new Set};return o[t].add(n),o}function q_(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const o=(0,s.useContext)(j_),{name:r}=Un();n=n||r;const l=Boolean(null===(t=o[n])||void 0===t?void 0:t.has(e)),i=(0,s.useMemo)((()=>K_(o,n,e)),[o,n,e]),a=(0,s.useCallback)((e=>{let{children:t}=e;return(0,s.createElement)(j_.Provider,{value:i},t)}),[i]);return[l,a]}function Y_(e){if(void 0===e)e=v.colors;else{const t=e.filter((e=>e.color));0===t.length?e=v.colors:t.length<e.length&&(e=t)}return e}function X_(e){if(void 0===e)e=v.gradients;else{const t=e.filter((e=>e.gradient));0===t.length?e=v.gradients:t.length<e.length&&(e=t)}return e}function Q_(e){const t=null==e?void 0:e.trim().match(/^(0?[-.]?\d+)(r?e[m|x]|v[h|w|min|max]+|p[x|t|c]|[c|m]m|%|in|ch|Q|lh)$/);return isNaN(e)||isNaN(parseFloat(e))?t?{value:parseFloat(t[1])||t[1],unit:t[2]}:{value:e,unit:void 0}:{value:parseFloat(e),unit:"px"}}function Z_(e,t){const n=e.split(/[(),]/g).filter(Boolean),o=n.slice(1).map((e=>Q_(oy(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[0]?o[0]+"px":o[1]>o[2]?o[2]+"px":o[1]+"px";case"calc":return o[0]+"px"}}function J_(e){for(;;){const t=e,n=/(max|min|calc|clamp)\(([^()]*)\)/g.exec(e)||[];if(n[0]){const t=Z_(n[0]);e=e.replace(n[0],t)}if(e===t||parseFloat(e))break}return Q_(e)}function ey(e){for(let t=0;t<e.length;t++)if(["+","-","/","*"].includes(e[t]))return!0;return!1}function ty(e){let t=!1;const n=e.split(/[+-/*/]/g).filter(Boolean);for(const o of n){const n=Q_(oy(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 ny(e,t){const n=96,o=.01,r=Object.assign({},{fontSize:16,lineHeight:16,width:375,height:812,type:"font"},t),l={em:r.fontSize,rem:r.fontSize,vh:r.height*o,vw:r.width*o,vmin:(r.width<r.height?r.width:r.height)*o,vmax:(r.width>r.height?r.width:r.height)*o,"%":("font"===r.type?r.fontSize:r.width)*o,ch:8,ex:7.15625,lh:r.lineHeight},i={in:n,cm:37.79527559055118,mm:3.7795275590551185,pt:1.3333333333333333,pc:16,px:1,Q:.9448818897637794};return l[e.unit]?(l[e.unit]*e.value).toFixed(0)+"px":i[e.unit]?(i[e.unit]*e.value).toFixed(0)+"px":null}function oy(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=Q_(e);return n.unit||(n=J_(e)),ey(e)&&!n.unit?ty(e):ny(n,t)}const ry={};function ly(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 iy=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e+ly(t);return ry[n]||(ry[n]=oy(e,t)),ry[n]}}(),(window.wp=window.wp||{}).blockEditor=o}();
\ 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 6e2f0aeaae..9a00121be9 100644
--- a/wp-includes/js/dist/block-library.js
+++ b/wp-includes/js/dist/block-library.js
@@ -1,403 +1,9 @@
-this["wp"] = this["wp"] || {}; this["wp"]["blockLibrary"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "K51g");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "+WrK":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const symbol = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (symbol);
-
-
-/***/ }),
-
-/***/ "//kF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const footer = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  fillRule: "evenodd",
-  d: "M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (footer);
-
-
-/***/ }),
-
-/***/ "1CF3":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["dom"]; }());
-
-/***/ }),
-
-/***/ "1Yn1":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (code);
-
-
-/***/ }),
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-/***/ "1ZqX":
+/***/ 3827:
 /***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "1iEr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronRight);
-
-
-/***/ }),
-
-/***/ "2gm7":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
-
-
-/***/ }),
-
-/***/ "4eJC":
-/***/ (function(module, exports, __webpack_require__) {
-
-/**
- * Memize options object.
- *
- * @typedef MemizeOptions
- *
- * @property {number} [maxSize] Maximum size of the cache.
- */
-
-/**
- * Internal cache entry.
- *
- * @typedef MemizeCacheNode
- *
- * @property {?MemizeCacheNode|undefined} [prev] Previous node.
- * @property {?MemizeCacheNode|undefined} [next] Next node.
- * @property {Array<*>}                   args   Function arguments for cache
- *                                               entry.
- * @property {*}                          val    Function result.
- */
-
-/**
- * Properties of the enhanced function for controlling cache.
- *
- * @typedef MemizeMemoizedFunction
- *
- * @property {()=>void} clear Clear the cache.
- */
-
-/**
- * Accepts a function to be memoized, and returns a new memoized function, with
- * optional options.
- *
- * @template {Function} F
- *
- * @param {F}             fn        Function to memoize.
- * @param {MemizeOptions} [options] Options object.
- *
- * @return {F & MemizeMemoizedFunction} Memoized function.
- */
-function memize( fn, options ) {
-	var size = 0;
-
-	/** @type {?MemizeCacheNode|undefined} */
-	var head;
-
-	/** @type {?MemizeCacheNode|undefined} */
-	var tail;
-
-	options = options || {};
-
-	function memoized( /* ...args */ ) {
-		var node = head,
-			len = arguments.length,
-			args, i;
-
-		searchCache: while ( node ) {
-			// Perform a shallow equality test to confirm that whether the node
-			// under test is a candidate for the arguments passed. Two arrays
-			// are shallowly equal if their length matches and each entry is
-			// strictly equal between the two sets. Avoid abstracting to a
-			// function which could incur an arguments leaking deoptimization.
-
-			// Check whether node arguments match arguments length
-			if ( node.args.length !== arguments.length ) {
-				node = node.next;
-				continue;
-			}
-
-			// Check whether node arguments match arguments values
-			for ( i = 0; i < len; i++ ) {
-				if ( node.args[ i ] !== arguments[ i ] ) {
-					node = node.next;
-					continue searchCache;
-				}
-			}
-
-			// At this point we can assume we've found a match
-
-			// Surface matched node to head if not already
-			if ( node !== head ) {
-				// As tail, shift to previous. Must only shift if not also
-				// head, since if both head and tail, there is no previous.
-				if ( node === tail ) {
-					tail = node.prev;
-				}
-
-				// Adjust siblings to point to each other. If node was tail,
-				// this also handles new tail's empty `next` assignment.
-				/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}
-
-				node.next = head;
-				node.prev = null;
-				/** @type {MemizeCacheNode} */ ( head ).prev = node;
-				head = node;
-			}
-
-			// Return immediately
-			return node.val;
-		}
-
-		// No cached value found. Continue to insertion phase:
-
-		// Create a copy of arguments (avoid leaking deoptimization)
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}
-
-		node = {
-			args: args,
-
-			// Generate the result from original function
-			val: fn.apply( null, args ),
-		};
-
-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
-
-		// Shift existing head down list
-		if ( head ) {
-			head.prev = node;
-			node.next = head;
-		} else {
-			// If no head, follows that there's no tail (at initial or reset)
-			tail = node;
-		}
-
-		// Trim tail if we're reached max size and are pending cache insertion
-		if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
-			tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
-			/** @type {MemizeCacheNode} */ ( tail ).next = null;
-		} else {
-			size++;
-		}
-
-		head = node;
-
-		return node.val;
-	}
-
-	memoized.clear = function() {
-		head = null;
-		tail = null;
-		size = 0;
-	};
-
-	if ( false ) {}
-
-	// Ignore reason: There's not a clear solution to create an intersection of
-	// the function with additional properties, where the goal is to retain the
-	// function signature of the incoming argument and add control properties
-	// on the return value.
-
-	// @ts-ignore
-	return memoized;
-}
-
-module.exports = memize;
-
-
-/***/ }),
-
-/***/ "A/WM":
-/***/ (function(module, exports, __webpack_require__) {
-
 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
   Copyright (c) 2018 Jed Watson.
   Licensed under the MIT License (MIT), see
@@ -508,106 +114,84 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
 		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
 			return classNames;
 		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
 	} else {}
 }());


 /***/ }),

-/***/ "B9Az":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js
-
-
-/**
- * WordPress dependencies
- */
-
-const pencil = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var library_pencil = (pencil);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
-/**
- * Internal dependencies
- */
-
-/* harmony default export */ var edit = __webpack_exports__["a"] = (library_pencil);
-
-
-/***/ }),
-
-/***/ "Bpkj":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
+/***/ 4403:
+/***/ (function(module, exports) {

-/**
- * WordPress dependencies
- */
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */

-const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (link);
+(function () {
+	'use strict';

+	var hasOwn = {}.hasOwnProperty;

-/***/ }),
+	function classNames() {
+		var classes = [];

-/***/ "Civd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+			var argType = typeof arg;

+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}

-/**
- * WordPress dependencies
- */
+		return classes.join(' ');
+	}

-const layout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (layout);
+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());


 /***/ }),

-/***/ "FEKF":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 5027:
+/***/ (function(module) {

 /*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
 (function (global, factory) {
 	 true ? module.exports = factory() :
-	undefined;
+	0;
 }(this, (function () { 'use strict';

 function _classCallCheck(instance, Constructor) {
@@ -1056,592 +640,908 @@ return FastAverageColor;

 /***/ }),

-/***/ "FqII":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["date"]; }());
-
-/***/ }),
+/***/ 9756:
+/***/ (function(module) {

-/***/ "G8mJ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Memize options object.
+ *
+ * @typedef MemizeOptions
+ *
+ * @property {number} [maxSize] Maximum size of the cache.
+ */

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+/**
+ * Internal cache entry.
+ *
+ * @typedef MemizeCacheNode
+ *
+ * @property {?MemizeCacheNode|undefined} [prev] Previous node.
+ * @property {?MemizeCacheNode|undefined} [next] Next node.
+ * @property {Array<*>}                   args   Function arguments for cache
+ *                                               entry.
+ * @property {*}                          val    Function result.
+ */

+/**
+ * Properties of the enhanced function for controlling cache.
+ *
+ * @typedef MemizeMemoizedFunction
+ *
+ * @property {()=>void} clear Clear the cache.
+ */

 /**
- * WordPress dependencies
+ * Accepts a function to be memoized, and returns a new memoized function, with
+ * optional options.
+ *
+ * @template {Function} F
+ *
+ * @param {F}             fn        Function to memoize.
+ * @param {MemizeOptions} [options] Options object.
+ *
+ * @return {F & MemizeMemoizedFunction} Memoized function.
  */
+function memize( fn, options ) {
+	var size = 0;

-const header = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (header);
+	/** @type {?MemizeCacheNode|undefined} */
+	var head;

+	/** @type {?MemizeCacheNode|undefined} */
+	var tail;

-/***/ }),
+	options = options || {};

-/***/ "GRId":
-/***/ (function(module, exports) {
+	function memoized( /* ...args */ ) {
+		var node = head,
+			len = arguments.length,
+			args, i;

-(function() { module.exports = window["wp"]["element"]; }());
+		searchCache: while ( node ) {
+			// Perform a shallow equality test to confirm that whether the node
+			// under test is a candidate for the arguments passed. Two arrays
+			// are shallowly equal if their length matches and each entry is
+			// strictly equal between the two sets. Avoid abstracting to a
+			// function which could incur an arguments leaking deoptimization.

-/***/ }),
+			// Check whether node arguments match arguments length
+			if ( node.args.length !== arguments.length ) {
+				node = node.next;
+				continue;
+			}

-/***/ "HSyU":
-/***/ (function(module, exports) {
+			// Check whether node arguments match arguments values
+			for ( i = 0; i < len; i++ ) {
+				if ( node.args[ i ] !== arguments[ i ] ) {
+					node = node.next;
+					continue searchCache;
+				}
+			}

-(function() { module.exports = window["wp"]["blocks"]; }());
+			// At this point we can assume we've found a match

-/***/ }),
+			// Surface matched node to head if not already
+			if ( node !== head ) {
+				// As tail, shift to previous. Must only shift if not also
+				// head, since if both head and tail, there is no previous.
+				if ( node === tail ) {
+					tail = node.prev;
+				}

-/***/ "JREk":
-/***/ (function(module, exports) {
+				// Adjust siblings to point to each other. If node was tail,
+				// this also handles new tail's empty `next` assignment.
+				/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}

-(function() { module.exports = window["wp"]["serverSideRender"]; }());
+				node.next = head;
+				node.prev = null;
+				/** @type {MemizeCacheNode} */ ( head ).prev = node;
+				head = node;
+			}

-/***/ }),
+			// Return immediately
+			return node.val;
+		}

-/***/ "K51g":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+		// No cached value found. Continue to insertion phase:

-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
+		// Create a copy of arguments (avoid leaking deoptimization)
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "__experimentalGetCoreBlocks", function() { return /* binding */ __experimentalGetCoreBlocks; });
-__webpack_require__.d(__webpack_exports__, "registerCoreBlocks", function() { return /* binding */ registerCoreBlocks; });
-__webpack_require__.d(__webpack_exports__, "__experimentalRegisterExperimentalCoreBlocks", function() { return /* binding */ __experimentalRegisterExperimentalCoreBlocks; });
+		node = {
+			args: args,

-// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/archives/index.js
-var archives_namespaceObject = {};
-__webpack_require__.r(archives_namespaceObject);
-__webpack_require__.d(archives_namespaceObject, "metadata", function() { return archives_metadata; });
-__webpack_require__.d(archives_namespaceObject, "name", function() { return archives_name; });
-__webpack_require__.d(archives_namespaceObject, "settings", function() { return archives_settings; });
+			// Generate the result from original function
+			val: fn.apply( null, args ),
+		};

-// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/audio/index.js
-var build_module_audio_namespaceObject = {};
-__webpack_require__.r(build_module_audio_namespaceObject);
-__webpack_require__.d(build_module_audio_namespaceObject, "metadata", function() { return audio_metadata; });
-__webpack_require__.d(build_module_audio_namespaceObject, "name", function() { return audio_name; });
-__webpack_require__.d(build_module_audio_namespaceObject, "settings", function() { return audio_settings; });
+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was

-// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/button/index.js
-var button_namespaceObject = {};
-__webpack_require__.r(button_namespaceObject);
-__webpack_require__.d(button_namespaceObject, "metadata", function() { return button_metadata; });
-__webpack_require__.d(button_namespaceObject, "name", function() { return button_name; });
-__webpack_require__.d(button_namespaceObject, "settings", function() { return button_settings; });
+		// Shift existing head down list
+		if ( head ) {
+			head.prev = node;
+			node.next = head;
+		} else {
+			// If no head, follows that there's no tail (at initial or reset)
+			tail = node;
+		}

-// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/buttons/index.js
-var build_module_buttons_namespaceObject = {};
-__webpack_require__.r(build_module_buttons_namespaceObject);
-__webpack_require__.d(build_module_buttons_namespaceObject, "metadata", function() { return buttons_metadata; });
-__webpack_require__.d(build_module_buttons_namespaceObject, "name", function() { return buttons_name; });
-__webpack_require__.d(build_module_buttons_namespaceObject, "settings", function() { return buttons_settings; });
+		// Trim tail if we're reached max size and are pending cache insertion
+		if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
+			tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
+			/** @type {MemizeCacheNode} */ ( tail ).next = null;
+		} else {
+			size++;
+		}

-// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
-var build_module_calendar_namespaceObject = {};
-__webpack_require__.r(build_module_calendar_namespaceObject);
-__webpack_require__.d(build_module_calendar_namespaceObject, "metadata", function() { return calendar_metadata; });
-__webpack_require__.d(build_module_calendar_namespaceObject, "name", function() { return calendar_name; });
-__webpack_require__.d(build_module_calendar_namespaceObject, "settings", function() { return calendar_settings; });
+		head = node;
+
+		return node.val;
+	}
+
+	memoized.clear = function() {
+		head = null;
+		tail = null;
+		size = 0;
+	};
+
+	if ( false ) {}
+
+	// Ignore reason: There's not a clear solution to create an intersection of
+	// the function with additional properties, where the goal is to retain the
+	// function signature of the incoming argument and add control properties
+	// on the return value.
+
+	// @ts-ignore
+	return memoized;
+}
+
+module.exports = memize;
+
+
+/***/ })
+
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
+"use strict";
+// ESM COMPAT FLAG
+__webpack_require__.r(__webpack_exports__);
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "__experimentalGetCoreBlocks": function() { return /* binding */ __experimentalGetCoreBlocks; },
+  "__experimentalRegisterExperimentalCoreBlocks": function() { return /* binding */ __experimentalRegisterExperimentalCoreBlocks; },
+  "registerCoreBlocks": function() { return /* binding */ registerCoreBlocks; }
+});
+
+// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/archives/index.js
+var archives_namespaceObject = {};
+__webpack_require__.r(archives_namespaceObject);
+__webpack_require__.d(archives_namespaceObject, {
+  "metadata": function() { return metadata; },
+  "name": function() { return archives_name; },
+  "settings": function() { return settings; }
+});
+
+// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/audio/index.js
+var build_module_audio_namespaceObject = {};
+__webpack_require__.r(build_module_audio_namespaceObject);
+__webpack_require__.d(build_module_audio_namespaceObject, {
+  "metadata": function() { return audio_metadata; },
+  "name": function() { return audio_name; },
+  "settings": function() { return audio_settings; }
+});
+
+// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/button/index.js
+var build_module_button_namespaceObject = {};
+__webpack_require__.r(build_module_button_namespaceObject);
+__webpack_require__.d(build_module_button_namespaceObject, {
+  "metadata": function() { return button_metadata; },
+  "name": function() { return button_name; },
+  "settings": function() { return button_settings; }
+});
+
+// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/buttons/index.js
+var build_module_buttons_namespaceObject = {};
+__webpack_require__.r(build_module_buttons_namespaceObject);
+__webpack_require__.d(build_module_buttons_namespaceObject, {
+  "metadata": function() { return buttons_metadata; },
+  "name": function() { return buttons_name; },
+  "settings": function() { return buttons_settings; }
+});
+
+// NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
+var build_module_calendar_namespaceObject = {};
+__webpack_require__.r(build_module_calendar_namespaceObject);
+__webpack_require__.d(build_module_calendar_namespaceObject, {
+  "metadata": function() { return calendar_metadata; },
+  "name": function() { return calendar_name; },
+  "settings": function() { return calendar_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/categories/index.js
 var categories_namespaceObject = {};
 __webpack_require__.r(categories_namespaceObject);
-__webpack_require__.d(categories_namespaceObject, "metadata", function() { return categories_metadata; });
-__webpack_require__.d(categories_namespaceObject, "name", function() { return categories_name; });
-__webpack_require__.d(categories_namespaceObject, "settings", function() { return categories_settings; });
+__webpack_require__.d(categories_namespaceObject, {
+  "metadata": function() { return categories_metadata; },
+  "name": function() { return categories_name; },
+  "settings": function() { return categories_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/freeform/index.js
 var freeform_namespaceObject = {};
 __webpack_require__.r(freeform_namespaceObject);
-__webpack_require__.d(freeform_namespaceObject, "metadata", function() { return freeform_metadata; });
-__webpack_require__.d(freeform_namespaceObject, "name", function() { return freeform_name; });
-__webpack_require__.d(freeform_namespaceObject, "settings", function() { return freeform_settings; });
+__webpack_require__.d(freeform_namespaceObject, {
+  "metadata": function() { return freeform_metadata; },
+  "name": function() { return freeform_name; },
+  "settings": function() { return freeform_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/code/index.js
-var code_namespaceObject = {};
-__webpack_require__.r(code_namespaceObject);
-__webpack_require__.d(code_namespaceObject, "metadata", function() { return code_metadata; });
-__webpack_require__.d(code_namespaceObject, "name", function() { return code_name; });
-__webpack_require__.d(code_namespaceObject, "settings", function() { return code_settings; });
+var build_module_code_namespaceObject = {};
+__webpack_require__.r(build_module_code_namespaceObject);
+__webpack_require__.d(build_module_code_namespaceObject, {
+  "metadata": function() { return code_metadata; },
+  "name": function() { return code_name; },
+  "settings": function() { return code_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/column/index.js
 var build_module_column_namespaceObject = {};
 __webpack_require__.r(build_module_column_namespaceObject);
-__webpack_require__.d(build_module_column_namespaceObject, "metadata", function() { return column_metadata; });
-__webpack_require__.d(build_module_column_namespaceObject, "name", function() { return column_name; });
-__webpack_require__.d(build_module_column_namespaceObject, "settings", function() { return column_settings; });
+__webpack_require__.d(build_module_column_namespaceObject, {
+  "metadata": function() { return column_metadata; },
+  "name": function() { return column_name; },
+  "settings": function() { return column_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/columns/index.js
 var build_module_columns_namespaceObject = {};
 __webpack_require__.r(build_module_columns_namespaceObject);
-__webpack_require__.d(build_module_columns_namespaceObject, "metadata", function() { return columns_metadata; });
-__webpack_require__.d(build_module_columns_namespaceObject, "name", function() { return columns_name; });
-__webpack_require__.d(build_module_columns_namespaceObject, "settings", function() { return columns_settings; });
+__webpack_require__.d(build_module_columns_namespaceObject, {
+  "metadata": function() { return columns_metadata; },
+  "name": function() { return columns_name; },
+  "settings": function() { return columns_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/cover/index.js
 var build_module_cover_namespaceObject = {};
 __webpack_require__.r(build_module_cover_namespaceObject);
-__webpack_require__.d(build_module_cover_namespaceObject, "metadata", function() { return cover_metadata; });
-__webpack_require__.d(build_module_cover_namespaceObject, "name", function() { return cover_name; });
-__webpack_require__.d(build_module_cover_namespaceObject, "settings", function() { return cover_settings; });
+__webpack_require__.d(build_module_cover_namespaceObject, {
+  "metadata": function() { return cover_metadata; },
+  "name": function() { return cover_name; },
+  "settings": function() { return cover_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/embed/index.js
 var embed_namespaceObject = {};
 __webpack_require__.r(embed_namespaceObject);
-__webpack_require__.d(embed_namespaceObject, "metadata", function() { return embed_metadata; });
-__webpack_require__.d(embed_namespaceObject, "name", function() { return embed_name; });
-__webpack_require__.d(embed_namespaceObject, "settings", function() { return embed_settings; });
+__webpack_require__.d(embed_namespaceObject, {
+  "metadata": function() { return embed_metadata; },
+  "name": function() { return embed_name; },
+  "settings": function() { return embed_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/file/index.js
 var build_module_file_namespaceObject = {};
 __webpack_require__.r(build_module_file_namespaceObject);
-__webpack_require__.d(build_module_file_namespaceObject, "metadata", function() { return file_metadata; });
-__webpack_require__.d(build_module_file_namespaceObject, "name", function() { return file_name; });
-__webpack_require__.d(build_module_file_namespaceObject, "settings", function() { return file_settings; });
+__webpack_require__.d(build_module_file_namespaceObject, {
+  "metadata": function() { return file_metadata; },
+  "name": function() { return file_name; },
+  "settings": function() { return file_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/gallery/index.js
 var build_module_gallery_namespaceObject = {};
 __webpack_require__.r(build_module_gallery_namespaceObject);
-__webpack_require__.d(build_module_gallery_namespaceObject, "metadata", function() { return gallery_metadata; });
-__webpack_require__.d(build_module_gallery_namespaceObject, "name", function() { return gallery_name; });
-__webpack_require__.d(build_module_gallery_namespaceObject, "settings", function() { return gallery_settings; });
+__webpack_require__.d(build_module_gallery_namespaceObject, {
+  "metadata": function() { return gallery_metadata; },
+  "name": function() { return gallery_name; },
+  "settings": function() { return gallery_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/group/index.js
-var group_namespaceObject = {};
-__webpack_require__.r(group_namespaceObject);
-__webpack_require__.d(group_namespaceObject, "metadata", function() { return group_metadata; });
-__webpack_require__.d(group_namespaceObject, "name", function() { return group_name; });
-__webpack_require__.d(group_namespaceObject, "settings", function() { return group_settings; });
+var build_module_group_namespaceObject = {};
+__webpack_require__.r(build_module_group_namespaceObject);
+__webpack_require__.d(build_module_group_namespaceObject, {
+  "metadata": function() { return group_metadata; },
+  "name": function() { return group_name; },
+  "settings": function() { return group_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/heading/index.js
 var build_module_heading_namespaceObject = {};
 __webpack_require__.r(build_module_heading_namespaceObject);
-__webpack_require__.d(build_module_heading_namespaceObject, "metadata", function() { return heading_metadata; });
-__webpack_require__.d(build_module_heading_namespaceObject, "name", function() { return heading_name; });
-__webpack_require__.d(build_module_heading_namespaceObject, "settings", function() { return heading_settings; });
+__webpack_require__.d(build_module_heading_namespaceObject, {
+  "metadata": function() { return heading_metadata; },
+  "name": function() { return heading_name; },
+  "settings": function() { return heading_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/html/index.js
 var build_module_html_namespaceObject = {};
 __webpack_require__.r(build_module_html_namespaceObject);
-__webpack_require__.d(build_module_html_namespaceObject, "metadata", function() { return html_metadata; });
-__webpack_require__.d(build_module_html_namespaceObject, "name", function() { return html_name; });
-__webpack_require__.d(build_module_html_namespaceObject, "settings", function() { return html_settings; });
+__webpack_require__.d(build_module_html_namespaceObject, {
+  "metadata": function() { return html_metadata; },
+  "name": function() { return html_name; },
+  "settings": function() { return html_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/image/index.js
 var build_module_image_namespaceObject = {};
 __webpack_require__.r(build_module_image_namespaceObject);
-__webpack_require__.d(build_module_image_namespaceObject, "metadata", function() { return image_metadata; });
-__webpack_require__.d(build_module_image_namespaceObject, "name", function() { return image_name; });
-__webpack_require__.d(build_module_image_namespaceObject, "settings", function() { return image_settings; });
+__webpack_require__.d(build_module_image_namespaceObject, {
+  "metadata": function() { return image_metadata; },
+  "name": function() { return image_name; },
+  "settings": function() { return image_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/latest-comments/index.js
 var latest_comments_namespaceObject = {};
 __webpack_require__.r(latest_comments_namespaceObject);
-__webpack_require__.d(latest_comments_namespaceObject, "metadata", function() { return latest_comments_metadata; });
-__webpack_require__.d(latest_comments_namespaceObject, "name", function() { return latest_comments_name; });
-__webpack_require__.d(latest_comments_namespaceObject, "settings", function() { return latest_comments_settings; });
+__webpack_require__.d(latest_comments_namespaceObject, {
+  "metadata": function() { return latest_comments_metadata; },
+  "name": function() { return latest_comments_name; },
+  "settings": function() { return latest_comments_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/latest-posts/index.js
 var latest_posts_namespaceObject = {};
 __webpack_require__.r(latest_posts_namespaceObject);
-__webpack_require__.d(latest_posts_namespaceObject, "metadata", function() { return latest_posts_metadata; });
-__webpack_require__.d(latest_posts_namespaceObject, "name", function() { return latest_posts_name; });
-__webpack_require__.d(latest_posts_namespaceObject, "settings", function() { return latest_posts_settings; });
+__webpack_require__.d(latest_posts_namespaceObject, {
+  "metadata": function() { return latest_posts_metadata; },
+  "name": function() { return latest_posts_name; },
+  "settings": function() { return latest_posts_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/list/index.js
 var build_module_list_namespaceObject = {};
 __webpack_require__.r(build_module_list_namespaceObject);
-__webpack_require__.d(build_module_list_namespaceObject, "metadata", function() { return list_metadata; });
-__webpack_require__.d(build_module_list_namespaceObject, "name", function() { return list_name; });
-__webpack_require__.d(build_module_list_namespaceObject, "settings", function() { return list_settings; });
+__webpack_require__.d(build_module_list_namespaceObject, {
+  "metadata": function() { return list_metadata; },
+  "name": function() { return list_name; },
+  "settings": function() { return list_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/loginout/index.js
 var loginout_namespaceObject = {};
 __webpack_require__.r(loginout_namespaceObject);
-__webpack_require__.d(loginout_namespaceObject, "metadata", function() { return loginout_metadata; });
-__webpack_require__.d(loginout_namespaceObject, "name", function() { return loginout_name; });
-__webpack_require__.d(loginout_namespaceObject, "settings", function() { return loginout_settings; });
+__webpack_require__.d(loginout_namespaceObject, {
+  "metadata": function() { return loginout_metadata; },
+  "name": function() { return loginout_name; },
+  "settings": function() { return loginout_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/media-text/index.js
 var media_text_namespaceObject = {};
 __webpack_require__.r(media_text_namespaceObject);
-__webpack_require__.d(media_text_namespaceObject, "metadata", function() { return media_text_metadata; });
-__webpack_require__.d(media_text_namespaceObject, "name", function() { return media_text_name; });
-__webpack_require__.d(media_text_namespaceObject, "settings", function() { return media_text_settings; });
+__webpack_require__.d(media_text_namespaceObject, {
+  "metadata": function() { return media_text_metadata; },
+  "name": function() { return media_text_name; },
+  "settings": function() { return media_text_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/missing/index.js
 var missing_namespaceObject = {};
 __webpack_require__.r(missing_namespaceObject);
-__webpack_require__.d(missing_namespaceObject, "metadata", function() { return missing_metadata; });
-__webpack_require__.d(missing_namespaceObject, "name", function() { return missing_name; });
-__webpack_require__.d(missing_namespaceObject, "settings", function() { return missing_settings; });
+__webpack_require__.d(missing_namespaceObject, {
+  "metadata": function() { return missing_metadata; },
+  "name": function() { return missing_name; },
+  "settings": function() { return missing_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/more/index.js
 var build_module_more_namespaceObject = {};
 __webpack_require__.r(build_module_more_namespaceObject);
-__webpack_require__.d(build_module_more_namespaceObject, "metadata", function() { return more_metadata; });
-__webpack_require__.d(build_module_more_namespaceObject, "name", function() { return more_name; });
-__webpack_require__.d(build_module_more_namespaceObject, "settings", function() { return more_settings; });
+__webpack_require__.d(build_module_more_namespaceObject, {
+  "metadata": function() { return more_metadata; },
+  "name": function() { return more_name; },
+  "settings": function() { return more_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/navigation/index.js
 var build_module_navigation_namespaceObject = {};
 __webpack_require__.r(build_module_navigation_namespaceObject);
-__webpack_require__.d(build_module_navigation_namespaceObject, "metadata", function() { return navigation_metadata; });
-__webpack_require__.d(build_module_navigation_namespaceObject, "name", function() { return navigation_name; });
-__webpack_require__.d(build_module_navigation_namespaceObject, "settings", function() { return navigation_settings; });
+__webpack_require__.d(build_module_navigation_namespaceObject, {
+  "metadata": function() { return navigation_metadata; },
+  "name": function() { return navigation_name; },
+  "settings": function() { return navigation_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/navigation-link/index.js
 var navigation_link_namespaceObject = {};
 __webpack_require__.r(navigation_link_namespaceObject);
-__webpack_require__.d(navigation_link_namespaceObject, "metadata", function() { return navigation_link_metadata; });
-__webpack_require__.d(navigation_link_namespaceObject, "name", function() { return navigation_link_name; });
-__webpack_require__.d(navigation_link_namespaceObject, "settings", function() { return navigation_link_settings; });
+__webpack_require__.d(navigation_link_namespaceObject, {
+  "metadata": function() { return navigation_link_metadata; },
+  "name": function() { return navigation_link_name; },
+  "settings": function() { return navigation_link_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/index.js
 var navigation_submenu_namespaceObject = {};
 __webpack_require__.r(navigation_submenu_namespaceObject);
-__webpack_require__.d(navigation_submenu_namespaceObject, "metadata", function() { return navigation_submenu_metadata; });
-__webpack_require__.d(navigation_submenu_namespaceObject, "name", function() { return navigation_submenu_name; });
-__webpack_require__.d(navigation_submenu_namespaceObject, "settings", function() { return navigation_submenu_settings; });
+__webpack_require__.d(navigation_submenu_namespaceObject, {
+  "metadata": function() { return navigation_submenu_metadata; },
+  "name": function() { return navigation_submenu_name; },
+  "settings": function() { return navigation_submenu_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/nextpage/index.js
 var nextpage_namespaceObject = {};
 __webpack_require__.r(nextpage_namespaceObject);
-__webpack_require__.d(nextpage_namespaceObject, "metadata", function() { return nextpage_metadata; });
-__webpack_require__.d(nextpage_namespaceObject, "name", function() { return nextpage_name; });
-__webpack_require__.d(nextpage_namespaceObject, "settings", function() { return nextpage_settings; });
+__webpack_require__.d(nextpage_namespaceObject, {
+  "metadata": function() { return nextpage_metadata; },
+  "name": function() { return nextpage_name; },
+  "settings": function() { return nextpage_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/pattern/index.js
 var pattern_namespaceObject = {};
 __webpack_require__.r(pattern_namespaceObject);
-__webpack_require__.d(pattern_namespaceObject, "metadata", function() { return pattern_metadata; });
-__webpack_require__.d(pattern_namespaceObject, "name", function() { return pattern_name; });
-__webpack_require__.d(pattern_namespaceObject, "settings", function() { return pattern_settings; });
+__webpack_require__.d(pattern_namespaceObject, {
+  "metadata": function() { return pattern_metadata; },
+  "name": function() { return pattern_name; },
+  "settings": function() { return pattern_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/page-list/index.js
 var page_list_namespaceObject = {};
 __webpack_require__.r(page_list_namespaceObject);
-__webpack_require__.d(page_list_namespaceObject, "metadata", function() { return page_list_metadata; });
-__webpack_require__.d(page_list_namespaceObject, "name", function() { return page_list_name; });
-__webpack_require__.d(page_list_namespaceObject, "settings", function() { return page_list_settings; });
+__webpack_require__.d(page_list_namespaceObject, {
+  "metadata": function() { return page_list_metadata; },
+  "name": function() { return page_list_name; },
+  "settings": function() { return page_list_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
 var build_module_paragraph_namespaceObject = {};
 __webpack_require__.r(build_module_paragraph_namespaceObject);
-__webpack_require__.d(build_module_paragraph_namespaceObject, "metadata", function() { return paragraph_metadata; });
-__webpack_require__.d(build_module_paragraph_namespaceObject, "name", function() { return paragraph_name; });
-__webpack_require__.d(build_module_paragraph_namespaceObject, "settings", function() { return paragraph_settings; });
+__webpack_require__.d(build_module_paragraph_namespaceObject, {
+  "metadata": function() { return paragraph_metadata; },
+  "name": function() { return paragraph_name; },
+  "settings": function() { return paragraph_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-author/index.js
 var build_module_post_author_namespaceObject = {};
 __webpack_require__.r(build_module_post_author_namespaceObject);
-__webpack_require__.d(build_module_post_author_namespaceObject, "metadata", function() { return post_author_metadata; });
-__webpack_require__.d(build_module_post_author_namespaceObject, "name", function() { return post_author_name; });
-__webpack_require__.d(build_module_post_author_namespaceObject, "settings", function() { return post_author_settings; });
+__webpack_require__.d(build_module_post_author_namespaceObject, {
+  "metadata": function() { return post_author_metadata; },
+  "name": function() { return post_author_name; },
+  "settings": function() { return post_author_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-comments/index.js
 var build_module_post_comments_namespaceObject = {};
 __webpack_require__.r(build_module_post_comments_namespaceObject);
-__webpack_require__.d(build_module_post_comments_namespaceObject, "metadata", function() { return post_comments_metadata; });
-__webpack_require__.d(build_module_post_comments_namespaceObject, "name", function() { return post_comments_name; });
-__webpack_require__.d(build_module_post_comments_namespaceObject, "settings", function() { return post_comments_settings; });
+__webpack_require__.d(build_module_post_comments_namespaceObject, {
+  "metadata": function() { return post_comments_metadata; },
+  "name": function() { return post_comments_name; },
+  "settings": function() { return post_comments_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-content/index.js
 var build_module_post_content_namespaceObject = {};
 __webpack_require__.r(build_module_post_content_namespaceObject);
-__webpack_require__.d(build_module_post_content_namespaceObject, "metadata", function() { return post_content_metadata; });
-__webpack_require__.d(build_module_post_content_namespaceObject, "name", function() { return post_content_name; });
-__webpack_require__.d(build_module_post_content_namespaceObject, "settings", function() { return post_content_settings; });
+__webpack_require__.d(build_module_post_content_namespaceObject, {
+  "metadata": function() { return post_content_metadata; },
+  "name": function() { return post_content_name; },
+  "settings": function() { return post_content_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-date/index.js
 var build_module_post_date_namespaceObject = {};
 __webpack_require__.r(build_module_post_date_namespaceObject);
-__webpack_require__.d(build_module_post_date_namespaceObject, "metadata", function() { return post_date_metadata; });
-__webpack_require__.d(build_module_post_date_namespaceObject, "name", function() { return post_date_name; });
-__webpack_require__.d(build_module_post_date_namespaceObject, "settings", function() { return post_date_settings; });
+__webpack_require__.d(build_module_post_date_namespaceObject, {
+  "metadata": function() { return post_date_metadata; },
+  "name": function() { return post_date_name; },
+  "settings": function() { return post_date_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-excerpt/index.js
 var build_module_post_excerpt_namespaceObject = {};
 __webpack_require__.r(build_module_post_excerpt_namespaceObject);
-__webpack_require__.d(build_module_post_excerpt_namespaceObject, "metadata", function() { return post_excerpt_metadata; });
-__webpack_require__.d(build_module_post_excerpt_namespaceObject, "name", function() { return post_excerpt_name; });
-__webpack_require__.d(build_module_post_excerpt_namespaceObject, "settings", function() { return post_excerpt_settings; });
+__webpack_require__.d(build_module_post_excerpt_namespaceObject, {
+  "metadata": function() { return post_excerpt_metadata; },
+  "name": function() { return post_excerpt_name; },
+  "settings": function() { return post_excerpt_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-featured-image/index.js
 var build_module_post_featured_image_namespaceObject = {};
 __webpack_require__.r(build_module_post_featured_image_namespaceObject);
-__webpack_require__.d(build_module_post_featured_image_namespaceObject, "metadata", function() { return post_featured_image_metadata; });
-__webpack_require__.d(build_module_post_featured_image_namespaceObject, "name", function() { return post_featured_image_name; });
-__webpack_require__.d(build_module_post_featured_image_namespaceObject, "settings", function() { return post_featured_image_settings; });
+__webpack_require__.d(build_module_post_featured_image_namespaceObject, {
+  "metadata": function() { return post_featured_image_metadata; },
+  "name": function() { return post_featured_image_name; },
+  "settings": function() { return post_featured_image_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-navigation-link/index.js
 var post_navigation_link_namespaceObject = {};
 __webpack_require__.r(post_navigation_link_namespaceObject);
-__webpack_require__.d(post_navigation_link_namespaceObject, "metadata", function() { return post_navigation_link_metadata; });
-__webpack_require__.d(post_navigation_link_namespaceObject, "name", function() { return post_navigation_link_name; });
-__webpack_require__.d(post_navigation_link_namespaceObject, "settings", function() { return post_navigation_link_settings; });
+__webpack_require__.d(post_navigation_link_namespaceObject, {
+  "metadata": function() { return post_navigation_link_metadata; },
+  "name": function() { return post_navigation_link_name; },
+  "settings": function() { return post_navigation_link_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-template/index.js
 var post_template_namespaceObject = {};
 __webpack_require__.r(post_template_namespaceObject);
-__webpack_require__.d(post_template_namespaceObject, "metadata", function() { return post_template_metadata; });
-__webpack_require__.d(post_template_namespaceObject, "name", function() { return post_template_name; });
-__webpack_require__.d(post_template_namespaceObject, "settings", function() { return post_template_settings; });
+__webpack_require__.d(post_template_namespaceObject, {
+  "metadata": function() { return post_template_metadata; },
+  "name": function() { return post_template_name; },
+  "settings": function() { return post_template_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-terms/index.js
 var post_terms_namespaceObject = {};
 __webpack_require__.r(post_terms_namespaceObject);
-__webpack_require__.d(post_terms_namespaceObject, "metadata", function() { return post_terms_metadata; });
-__webpack_require__.d(post_terms_namespaceObject, "name", function() { return post_terms_name; });
-__webpack_require__.d(post_terms_namespaceObject, "settings", function() { return post_terms_settings; });
+__webpack_require__.d(post_terms_namespaceObject, {
+  "metadata": function() { return post_terms_metadata; },
+  "name": function() { return post_terms_name; },
+  "settings": function() { return post_terms_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/post-title/index.js
 var build_module_post_title_namespaceObject = {};
 __webpack_require__.r(build_module_post_title_namespaceObject);
-__webpack_require__.d(build_module_post_title_namespaceObject, "metadata", function() { return post_title_metadata; });
-__webpack_require__.d(build_module_post_title_namespaceObject, "name", function() { return post_title_name; });
-__webpack_require__.d(build_module_post_title_namespaceObject, "settings", function() { return post_title_settings; });
+__webpack_require__.d(build_module_post_title_namespaceObject, {
+  "metadata": function() { return post_title_metadata; },
+  "name": function() { return post_title_name; },
+  "settings": function() { return post_title_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/preformatted/index.js
 var build_module_preformatted_namespaceObject = {};
 __webpack_require__.r(build_module_preformatted_namespaceObject);
-__webpack_require__.d(build_module_preformatted_namespaceObject, "metadata", function() { return preformatted_metadata; });
-__webpack_require__.d(build_module_preformatted_namespaceObject, "name", function() { return preformatted_name; });
-__webpack_require__.d(build_module_preformatted_namespaceObject, "settings", function() { return preformatted_settings; });
+__webpack_require__.d(build_module_preformatted_namespaceObject, {
+  "metadata": function() { return preformatted_metadata; },
+  "name": function() { return preformatted_name; },
+  "settings": function() { return preformatted_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/pullquote/index.js
 var build_module_pullquote_namespaceObject = {};
 __webpack_require__.r(build_module_pullquote_namespaceObject);
-__webpack_require__.d(build_module_pullquote_namespaceObject, "metadata", function() { return pullquote_metadata; });
-__webpack_require__.d(build_module_pullquote_namespaceObject, "name", function() { return pullquote_name; });
-__webpack_require__.d(build_module_pullquote_namespaceObject, "settings", function() { return pullquote_settings; });
+__webpack_require__.d(build_module_pullquote_namespaceObject, {
+  "metadata": function() { return pullquote_metadata; },
+  "name": function() { return pullquote_name; },
+  "settings": function() { return pullquote_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query/index.js
 var query_namespaceObject = {};
 __webpack_require__.r(query_namespaceObject);
-__webpack_require__.d(query_namespaceObject, "metadata", function() { return query_metadata; });
-__webpack_require__.d(query_namespaceObject, "name", function() { return query_name; });
-__webpack_require__.d(query_namespaceObject, "settings", function() { return query_settings; });
+__webpack_require__.d(query_namespaceObject, {
+  "metadata": function() { return query_metadata; },
+  "name": function() { return query_name; },
+  "settings": function() { return query_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-pagination/index.js
 var build_module_query_pagination_namespaceObject = {};
 __webpack_require__.r(build_module_query_pagination_namespaceObject);
-__webpack_require__.d(build_module_query_pagination_namespaceObject, "metadata", function() { return query_pagination_metadata; });
-__webpack_require__.d(build_module_query_pagination_namespaceObject, "name", function() { return query_pagination_name; });
-__webpack_require__.d(build_module_query_pagination_namespaceObject, "settings", function() { return query_pagination_settings; });
+__webpack_require__.d(build_module_query_pagination_namespaceObject, {
+  "metadata": function() { return query_pagination_metadata; },
+  "name": function() { return query_pagination_name; },
+  "settings": function() { return query_pagination_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-pagination-next/index.js
 var build_module_query_pagination_next_namespaceObject = {};
 __webpack_require__.r(build_module_query_pagination_next_namespaceObject);
-__webpack_require__.d(build_module_query_pagination_next_namespaceObject, "metadata", function() { return query_pagination_next_metadata; });
-__webpack_require__.d(build_module_query_pagination_next_namespaceObject, "name", function() { return query_pagination_next_name; });
-__webpack_require__.d(build_module_query_pagination_next_namespaceObject, "settings", function() { return query_pagination_next_settings; });
+__webpack_require__.d(build_module_query_pagination_next_namespaceObject, {
+  "metadata": function() { return query_pagination_next_metadata; },
+  "name": function() { return query_pagination_next_name; },
+  "settings": function() { return query_pagination_next_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-pagination-numbers/index.js
 var build_module_query_pagination_numbers_namespaceObject = {};
 __webpack_require__.r(build_module_query_pagination_numbers_namespaceObject);
-__webpack_require__.d(build_module_query_pagination_numbers_namespaceObject, "metadata", function() { return query_pagination_numbers_metadata; });
-__webpack_require__.d(build_module_query_pagination_numbers_namespaceObject, "name", function() { return query_pagination_numbers_name; });
-__webpack_require__.d(build_module_query_pagination_numbers_namespaceObject, "settings", function() { return query_pagination_numbers_settings; });
+__webpack_require__.d(build_module_query_pagination_numbers_namespaceObject, {
+  "metadata": function() { return query_pagination_numbers_metadata; },
+  "name": function() { return query_pagination_numbers_name; },
+  "settings": function() { return query_pagination_numbers_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-pagination-previous/index.js
 var build_module_query_pagination_previous_namespaceObject = {};
 __webpack_require__.r(build_module_query_pagination_previous_namespaceObject);
-__webpack_require__.d(build_module_query_pagination_previous_namespaceObject, "metadata", function() { return query_pagination_previous_metadata; });
-__webpack_require__.d(build_module_query_pagination_previous_namespaceObject, "name", function() { return query_pagination_previous_name; });
-__webpack_require__.d(build_module_query_pagination_previous_namespaceObject, "settings", function() { return query_pagination_previous_settings; });
+__webpack_require__.d(build_module_query_pagination_previous_namespaceObject, {
+  "metadata": function() { return query_pagination_previous_metadata; },
+  "name": function() { return query_pagination_previous_name; },
+  "settings": function() { return query_pagination_previous_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/query-title/index.js
 var query_title_namespaceObject = {};
 __webpack_require__.r(query_title_namespaceObject);
-__webpack_require__.d(query_title_namespaceObject, "metadata", function() { return query_title_metadata; });
-__webpack_require__.d(query_title_namespaceObject, "name", function() { return query_title_name; });
-__webpack_require__.d(query_title_namespaceObject, "settings", function() { return query_title_settings; });
+__webpack_require__.d(query_title_namespaceObject, {
+  "metadata": function() { return query_title_metadata; },
+  "name": function() { return query_title_name; },
+  "settings": function() { return query_title_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/quote/index.js
 var build_module_quote_namespaceObject = {};
 __webpack_require__.r(build_module_quote_namespaceObject);
-__webpack_require__.d(build_module_quote_namespaceObject, "metadata", function() { return quote_metadata; });
-__webpack_require__.d(build_module_quote_namespaceObject, "name", function() { return quote_name; });
-__webpack_require__.d(build_module_quote_namespaceObject, "settings", function() { return quote_settings; });
+__webpack_require__.d(build_module_quote_namespaceObject, {
+  "metadata": function() { return quote_metadata; },
+  "name": function() { return quote_name; },
+  "settings": function() { return quote_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/block/index.js
 var block_namespaceObject = {};
 __webpack_require__.r(block_namespaceObject);
-__webpack_require__.d(block_namespaceObject, "metadata", function() { return block_metadata; });
-__webpack_require__.d(block_namespaceObject, "name", function() { return block_name; });
-__webpack_require__.d(block_namespaceObject, "settings", function() { return block_settings; });
+__webpack_require__.d(block_namespaceObject, {
+  "metadata": function() { return block_metadata; },
+  "name": function() { return block_name; },
+  "settings": function() { return block_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/rss/index.js
 var build_module_rss_namespaceObject = {};
 __webpack_require__.r(build_module_rss_namespaceObject);
-__webpack_require__.d(build_module_rss_namespaceObject, "metadata", function() { return rss_metadata; });
-__webpack_require__.d(build_module_rss_namespaceObject, "name", function() { return rss_name; });
-__webpack_require__.d(build_module_rss_namespaceObject, "settings", function() { return rss_settings; });
+__webpack_require__.d(build_module_rss_namespaceObject, {
+  "metadata": function() { return rss_metadata; },
+  "name": function() { return rss_name; },
+  "settings": function() { return rss_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/search/index.js
-var search_namespaceObject = {};
-__webpack_require__.r(search_namespaceObject);
-__webpack_require__.d(search_namespaceObject, "metadata", function() { return search_metadata; });
-__webpack_require__.d(search_namespaceObject, "name", function() { return search_name; });
-__webpack_require__.d(search_namespaceObject, "settings", function() { return search_settings; });
+var build_module_search_namespaceObject = {};
+__webpack_require__.r(build_module_search_namespaceObject);
+__webpack_require__.d(build_module_search_namespaceObject, {
+  "metadata": function() { return search_metadata; },
+  "name": function() { return search_name; },
+  "settings": function() { return search_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/separator/index.js
 var build_module_separator_namespaceObject = {};
 __webpack_require__.r(build_module_separator_namespaceObject);
-__webpack_require__.d(build_module_separator_namespaceObject, "metadata", function() { return separator_metadata; });
-__webpack_require__.d(build_module_separator_namespaceObject, "name", function() { return separator_name; });
-__webpack_require__.d(build_module_separator_namespaceObject, "settings", function() { return build_module_separator_settings; });
+__webpack_require__.d(build_module_separator_namespaceObject, {
+  "metadata": function() { return separator_metadata; },
+  "name": function() { return separator_name; },
+  "settings": function() { return build_module_separator_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/shortcode/index.js
 var build_module_shortcode_namespaceObject = {};
 __webpack_require__.r(build_module_shortcode_namespaceObject);
-__webpack_require__.d(build_module_shortcode_namespaceObject, "metadata", function() { return shortcode_metadata; });
-__webpack_require__.d(build_module_shortcode_namespaceObject, "name", function() { return shortcode_name; });
-__webpack_require__.d(build_module_shortcode_namespaceObject, "settings", function() { return shortcode_settings; });
+__webpack_require__.d(build_module_shortcode_namespaceObject, {
+  "metadata": function() { return shortcode_metadata; },
+  "name": function() { return shortcode_name; },
+  "settings": function() { return shortcode_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/site-logo/index.js
 var build_module_site_logo_namespaceObject = {};
 __webpack_require__.r(build_module_site_logo_namespaceObject);
-__webpack_require__.d(build_module_site_logo_namespaceObject, "metadata", function() { return site_logo_metadata; });
-__webpack_require__.d(build_module_site_logo_namespaceObject, "name", function() { return site_logo_name; });
-__webpack_require__.d(build_module_site_logo_namespaceObject, "settings", function() { return site_logo_settings; });
+__webpack_require__.d(build_module_site_logo_namespaceObject, {
+  "metadata": function() { return site_logo_metadata; },
+  "name": function() { return site_logo_name; },
+  "settings": function() { return site_logo_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/site-tagline/index.js
 var site_tagline_namespaceObject = {};
 __webpack_require__.r(site_tagline_namespaceObject);
-__webpack_require__.d(site_tagline_namespaceObject, "metadata", function() { return site_tagline_metadata; });
-__webpack_require__.d(site_tagline_namespaceObject, "name", function() { return site_tagline_name; });
-__webpack_require__.d(site_tagline_namespaceObject, "settings", function() { return site_tagline_settings; });
+__webpack_require__.d(site_tagline_namespaceObject, {
+  "metadata": function() { return site_tagline_metadata; },
+  "name": function() { return site_tagline_name; },
+  "settings": function() { return site_tagline_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/site-title/index.js
 var site_title_namespaceObject = {};
 __webpack_require__.r(site_title_namespaceObject);
-__webpack_require__.d(site_title_namespaceObject, "metadata", function() { return site_title_metadata; });
-__webpack_require__.d(site_title_namespaceObject, "name", function() { return site_title_name; });
-__webpack_require__.d(site_title_namespaceObject, "settings", function() { return site_title_settings; });
+__webpack_require__.d(site_title_namespaceObject, {
+  "metadata": function() { return site_title_metadata; },
+  "name": function() { return site_title_name; },
+  "settings": function() { return site_title_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/social-link/index.js
 var social_link_namespaceObject = {};
 __webpack_require__.r(social_link_namespaceObject);
-__webpack_require__.d(social_link_namespaceObject, "metadata", function() { return social_link_metadata; });
-__webpack_require__.d(social_link_namespaceObject, "name", function() { return social_link_name; });
-__webpack_require__.d(social_link_namespaceObject, "settings", function() { return social_link_settings; });
+__webpack_require__.d(social_link_namespaceObject, {
+  "metadata": function() { return social_link_metadata; },
+  "name": function() { return social_link_name; },
+  "settings": function() { return social_link_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/social-links/index.js
 var social_links_namespaceObject = {};
 __webpack_require__.r(social_links_namespaceObject);
-__webpack_require__.d(social_links_namespaceObject, "metadata", function() { return social_links_metadata; });
-__webpack_require__.d(social_links_namespaceObject, "name", function() { return social_links_name; });
-__webpack_require__.d(social_links_namespaceObject, "settings", function() { return social_links_settings; });
+__webpack_require__.d(social_links_namespaceObject, {
+  "metadata": function() { return social_links_metadata; },
+  "name": function() { return social_links_name; },
+  "settings": function() { return social_links_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/spacer/index.js
 var spacer_namespaceObject = {};
 __webpack_require__.r(spacer_namespaceObject);
-__webpack_require__.d(spacer_namespaceObject, "metadata", function() { return spacer_metadata; });
-__webpack_require__.d(spacer_namespaceObject, "name", function() { return spacer_name; });
-__webpack_require__.d(spacer_namespaceObject, "settings", function() { return spacer_settings; });
+__webpack_require__.d(spacer_namespaceObject, {
+  "metadata": function() { return spacer_metadata; },
+  "name": function() { return spacer_name; },
+  "settings": function() { return spacer_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/table/index.js
 var build_module_table_namespaceObject = {};
 __webpack_require__.r(build_module_table_namespaceObject);
-__webpack_require__.d(build_module_table_namespaceObject, "metadata", function() { return table_metadata; });
-__webpack_require__.d(build_module_table_namespaceObject, "name", function() { return table_name; });
-__webpack_require__.d(build_module_table_namespaceObject, "settings", function() { return table_settings; });
+__webpack_require__.d(build_module_table_namespaceObject, {
+  "metadata": function() { return table_metadata; },
+  "name": function() { return table_name; },
+  "settings": function() { return table_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/tag-cloud/index.js
 var tag_cloud_namespaceObject = {};
 __webpack_require__.r(tag_cloud_namespaceObject);
-__webpack_require__.d(tag_cloud_namespaceObject, "metadata", function() { return tag_cloud_metadata; });
-__webpack_require__.d(tag_cloud_namespaceObject, "name", function() { return tag_cloud_name; });
-__webpack_require__.d(tag_cloud_namespaceObject, "settings", function() { return tag_cloud_settings; });
+__webpack_require__.d(tag_cloud_namespaceObject, {
+  "metadata": function() { return tag_cloud_metadata; },
+  "name": function() { return tag_cloud_name; },
+  "settings": function() { return tag_cloud_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/template-part/index.js
 var template_part_namespaceObject = {};
 __webpack_require__.r(template_part_namespaceObject);
-__webpack_require__.d(template_part_namespaceObject, "metadata", function() { return template_part_metadata; });
-__webpack_require__.d(template_part_namespaceObject, "name", function() { return template_part_name; });
-__webpack_require__.d(template_part_namespaceObject, "settings", function() { return template_part_settings; });
+__webpack_require__.d(template_part_namespaceObject, {
+  "metadata": function() { return template_part_metadata; },
+  "name": function() { return template_part_name; },
+  "settings": function() { return template_part_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/term-description/index.js
 var build_module_term_description_namespaceObject = {};
 __webpack_require__.r(build_module_term_description_namespaceObject);
-__webpack_require__.d(build_module_term_description_namespaceObject, "metadata", function() { return term_description_metadata; });
-__webpack_require__.d(build_module_term_description_namespaceObject, "name", function() { return term_description_name; });
-__webpack_require__.d(build_module_term_description_namespaceObject, "settings", function() { return term_description_settings; });
+__webpack_require__.d(build_module_term_description_namespaceObject, {
+  "metadata": function() { return term_description_metadata; },
+  "name": function() { return term_description_name; },
+  "settings": function() { return term_description_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/text-columns/index.js
 var text_columns_namespaceObject = {};
 __webpack_require__.r(text_columns_namespaceObject);
-__webpack_require__.d(text_columns_namespaceObject, "metadata", function() { return text_columns_metadata; });
-__webpack_require__.d(text_columns_namespaceObject, "name", function() { return text_columns_name; });
-__webpack_require__.d(text_columns_namespaceObject, "settings", function() { return text_columns_settings; });
+__webpack_require__.d(text_columns_namespaceObject, {
+  "metadata": function() { return text_columns_metadata; },
+  "name": function() { return text_columns_name; },
+  "settings": function() { return text_columns_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/verse/index.js
 var build_module_verse_namespaceObject = {};
 __webpack_require__.r(build_module_verse_namespaceObject);
-__webpack_require__.d(build_module_verse_namespaceObject, "metadata", function() { return verse_metadata; });
-__webpack_require__.d(build_module_verse_namespaceObject, "name", function() { return verse_name; });
-__webpack_require__.d(build_module_verse_namespaceObject, "settings", function() { return verse_settings; });
+__webpack_require__.d(build_module_verse_namespaceObject, {
+  "metadata": function() { return verse_metadata; },
+  "name": function() { return verse_name; },
+  "settings": function() { return verse_settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/block-library/build-module/video/index.js
 var build_module_video_namespaceObject = {};
 __webpack_require__.r(build_module_video_namespaceObject);
-__webpack_require__.d(build_module_video_namespaceObject, "metadata", function() { return video_metadata; });
-__webpack_require__.d(build_module_video_namespaceObject, "name", function() { return video_name; });
-__webpack_require__.d(build_module_video_namespaceObject, "settings", function() { return video_settings; });
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+__webpack_require__.d(build_module_video_namespaceObject, {
+  "metadata": function() { return video_metadata; },
+  "name": function() { return video_name; },
+  "settings": function() { return video_settings; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/archive.js
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/archive.js


 /**
  * WordPress dependencies
  */

-const archive = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const archive = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"
 }));
 /* harmony default export */ var library_archive = (archive);

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");
-
-// EXTERNAL MODULE: external ["wp","serverSideRender"]
-var external_wp_serverSideRender_ = __webpack_require__("JREk");
-var external_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_wp_serverSideRender_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/edit.js
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: external ["wp","serverSideRender"]
+var external_wp_serverSideRender_namespaceObject = window["wp"]["serverSideRender"];
+var external_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_wp_serverSideRender_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/edit.js


 /**
@@ -1660,27 +1560,27 @@ function ArchivesEdit(_ref) {
     showPostCounts,
     displayAsDropdown
   } = attributes;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Archives settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display as dropdown'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Archives settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display as dropdown'),
     checked: displayAsDropdown,
     onChange: () => setAttributes({
       displayAsDropdown: !displayAsDropdown
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show post counts'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show post counts'),
     checked: showPostCounts,
     onChange: () => setAttributes({
       showPostCounts: !showPostCounts
     })
-  }))), Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], null, Object(external_wp_element_["createElement"])(external_wp_serverSideRender_default.a, {
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, null, (0,external_wp_element_namespaceObject.createElement)((external_wp_serverSideRender_default()), {
     block: "core/archives",
     attributes: attributes
   }))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/archives/index.js
 /**
  * WordPress dependencies
  */
@@ -1689,7 +1589,7 @@ function ArchivesEdit(_ref) {
  * Internal dependencies
  */

-const archives_metadata = {
+const metadata = {
   apiVersion: 2,
   name: "core/archives",
   title: "Archives",
@@ -1715,30 +1615,30 @@ const archives_metadata = {

 const {
   name: archives_name
-} = archives_metadata;
+} = metadata;

-const archives_settings = {
+const settings = {
   icon: library_archive,
   example: {},
   edit: ArchivesEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/audio.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/audio.js


 /**
  * WordPress dependencies
  */

-const audio = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const audio = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"
 }));
 /* harmony default export */ var library_audio = (audio);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/deprecated.js


 /**
@@ -1795,13 +1695,13 @@ const audio = Object(external_wp_element_["createElement"])(external_wp_primitiv
       preload,
       src
     } = attributes;
-    return Object(external_wp_element_["createElement"])("figure", null, Object(external_wp_element_["createElement"])("audio", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", null, (0,external_wp_element_namespaceObject.createElement)("audio", {
       controls: "controls",
       src: src,
       autoPlay: autoplay,
       loop: loop,
       preload: preload
-    }), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       value: caption
     }));
@@ -1809,13 +1709,11 @@ const audio = Object(external_wp_element_["createElement"])(external_wp_primitiv

 }]);

-// EXTERNAL MODULE: external ["wp","blob"]
-var external_wp_blob_ = __webpack_require__("xTGt");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/constants.js
+;// CONCATENATED MODULE: external ["wp","blob"]
+var external_wp_blob_namespaceObject = window["wp"]["blob"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/constants.js
 const ASPECT_RATIOS = [// Common video resolutions.
 {
   ratio: '2.33',
@@ -1842,18 +1740,15 @@ const ASPECT_RATIOS = [// Common video resolutions.
 }];
 const WP_EMBED_TYPE = 'wp-embed';

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
 // EXTERNAL MODULE: ./node_modules/classnames/dedupe.js
-var dedupe = __webpack_require__("A/WM");
+var dedupe = __webpack_require__(3827);
 var dedupe_default = /*#__PURE__*/__webpack_require__.n(dedupe);
-
 // EXTERNAL MODULE: ./node_modules/memize/index.js
-var memize = __webpack_require__("4eJC");
+var memize = __webpack_require__(9756);
 var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/util.js


 /**
@@ -1933,7 +1828,7 @@ const {
 const getEmbedInfoByProvider = provider => {
   var _getBlockVariations;

-  return (_getBlockVariations = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations === void 0 ? void 0 : _getBlockVariations.find(_ref => {
+  return (_getBlockVariations = (0,external_wp_blocks_namespaceObject.getBlockVariations)(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations === void 0 ? void 0 : _getBlockVariations.find(_ref => {
     let {
       name
     } = _ref;
@@ -1963,7 +1858,7 @@ const matchesPatterns = function (url) {
 const findMoreSuitableBlock = url => {
   var _getBlockVariations2;

-  return (_getBlockVariations2 = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations2 === void 0 ? void 0 : _getBlockVariations2.find(_ref2 => {
+  return (_getBlockVariations2 = (0,external_wp_blocks_namespaceObject.getBlockVariations)(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations2 === void 0 ? void 0 : _getBlockVariations2.find(_ref2 => {
     let {
       patterns
     } = _ref2;
@@ -1975,12 +1870,12 @@ const getPhotoHtml = photo => {
   // 100% width for the preview so it fits nicely into the document, some "thumbnails" are
   // actually the full size photo. If thumbnails not found, use full image.
   const imageUrl = photo.thumbnail_url || photo.url;
-  const photoPreview = Object(external_wp_element_["createElement"])("p", null, Object(external_wp_element_["createElement"])("img", {
+  const photoPreview = (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_element_namespaceObject.createElement)("img", {
     src: imageUrl,
     alt: photo.title,
     width: "100%"
   }));
-  return Object(external_wp_element_["renderToString"])(photoPreview);
+  return (0,external_wp_element_namespaceObject.renderToString)(photoPreview);
 };
 /**
  * Creates a more suitable embed block based on the passed in props
@@ -2011,7 +1906,7 @@ const createUpgradedEmbedBlock = function (props) {
     type,
     ...restAttributes
   } = attributes;
-  if (!url || !Object(external_wp_blocks_["getBlockType"])(DEFAULT_EMBED_BLOCK)) return;
+  if (!url || !(0,external_wp_blocks_namespaceObject.getBlockType)(DEFAULT_EMBED_BLOCK)) return;
   const matchedBlock = findMoreSuitableBlock(url); // WordPress blocks can work on multiple sites, and so don't have patterns,
   // so if we're in a WordPress block, assume the user has chosen it for a WordPress URL.

@@ -2021,14 +1916,14 @@ const createUpgradedEmbedBlock = function (props) {
   const shouldCreateNewBlock = !isCurrentBlockWP && matchedBlock && (matchedBlock.attributes.providerNameSlug !== providerNameSlug || !providerNameSlug);

   if (shouldCreateNewBlock) {
-    return Object(external_wp_blocks_["createBlock"])(DEFAULT_EMBED_BLOCK, {
+    return (0,external_wp_blocks_namespaceObject.createBlock)(DEFAULT_EMBED_BLOCK, {
       url,
       ...restAttributes,
       ...matchedBlock.attributes
     });
   }

-  const wpVariation = (_getBlockVariations3 = Object(external_wp_blocks_["getBlockVariations"])(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations3 === void 0 ? void 0 : _getBlockVariations3.find(_ref3 => {
+  const wpVariation = (_getBlockVariations3 = (0,external_wp_blocks_namespaceObject.getBlockVariations)(DEFAULT_EMBED_BLOCK)) === null || _getBlockVariations3 === void 0 ? void 0 : _getBlockVariations3.find(_ref3 => {
     let {
       name
     } = _ref3;
@@ -2040,7 +1935,7 @@ const createUpgradedEmbedBlock = function (props) {
   } // This is not the WordPress embed block so transform it into one.


-  return Object(external_wp_blocks_["createBlock"])(DEFAULT_EMBED_BLOCK, {
+  return (0,external_wp_blocks_namespaceObject.createBlock)(DEFAULT_EMBED_BLOCK, {
     url,
     ...wpVariation.attributes,
     // By now we have the preview, but when the new block first renders, it
@@ -2132,12 +2027,12 @@ function getClassNames(html, existingClassNames) {
  * @param {Function} onReplace Function to call with the created fallback block.
  */

-function util_fallback(url, onReplace) {
-  const link = Object(external_wp_element_["createElement"])("a", {
+function fallback(url, onReplace) {
+  const link = (0,external_wp_element_namespaceObject.createElement)("a", {
     href: url
   }, url);
-  onReplace(Object(external_wp_blocks_["createBlock"])('core/paragraph', {
-    content: Object(external_wp_element_["renderToString"])(link)
+  onReplace((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
+    content: (0,external_wp_element_namespaceObject.renderToString)(link)
   }));
 }
 /***
@@ -2169,7 +2064,7 @@ const getAttributesFromPreview = memize_default()(function (preview, title, curr
     html,
     provider_name: providerName
   } = preview;
-  const providerNameSlug = Object(external_lodash_["kebabCase"])((providerName || title).toLowerCase());
+  const providerNameSlug = (0,external_lodash_namespaceObject.kebabCase)((providerName || title).toLowerCase());

   if (isFromWordPress(html)) {
     type = WP_EMBED_TYPE;
@@ -2184,7 +2079,7 @@ const getAttributesFromPreview = memize_default()(function (preview, title, curr
   return attributes;
 });

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/edit.js


 /**
@@ -2223,16 +2118,16 @@ function AudioEdit(_ref) {
     preload,
     src
   } = attributes;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  const mediaUpload = Object(external_wp_data_["useSelect"])(select => {
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  const mediaUpload = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     return getSettings().mediaUpload;
   }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!id && Object(external_wp_blob_["isBlobURL"])(src)) {
-      const file = Object(external_wp_blob_["getBlobByURL"])(src);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!id && (0,external_wp_blob_namespaceObject.isBlobURL)(src)) {
+      const file = (0,external_wp_blob_namespaceObject.getBlobByURL)(src);

       if (file) {
         mediaUpload({
@@ -2297,7 +2192,7 @@ function AudioEdit(_ref) {
   }

   function getAutoplayHelp(checked) {
-    return checked ? Object(external_wp_i18n_["__"])('Autoplay may cause usability issues for some users.') : null;
+    return checked ? (0,external_wp_i18n_namespaceObject.__)('Autoplay may cause usability issues for some users.') : null;
   } // const { setAttributes, isSelected, noticeUI } = this.props;


@@ -2321,8 +2216,8 @@ function AudioEdit(_ref) {
   }

   if (!src) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
-      icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
+      icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
         icon: library_audio
       }),
       onSelect: onSelectAudio,
@@ -2335,9 +2230,9 @@ function AudioEdit(_ref) {
     }));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaReplaceFlow, {
     mediaId: id,
     mediaURL: src,
     allowedTypes: ALLOWED_MEDIA_TYPES,
@@ -2345,19 +2240,19 @@ function AudioEdit(_ref) {
     onSelect: onSelectAudio,
     onSelectURL: onSelectURL,
     onError: onUploadError
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Audio settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Autoplay'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Audio settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Autoplay'),
     onChange: toggleAttribute('autoplay'),
     checked: autoplay,
     help: getAutoplayHelp
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Loop'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Loop'),
     onChange: toggleAttribute('loop'),
     checked: loop
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["_x"])('Preload', 'noun; Audio block parameter'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject._x)('Preload', 'noun; Audio block parameter'),
     value: preload || '' // `undefined` is required for the preload attribute to be unset.
     ,
     onChange: value => setAttributes({
@@ -2365,38 +2260,38 @@ function AudioEdit(_ref) {
     }),
     options: [{
       value: '',
-      label: Object(external_wp_i18n_["__"])('Browser default')
+      label: (0,external_wp_i18n_namespaceObject.__)('Browser default')
     }, {
       value: 'auto',
-      label: Object(external_wp_i18n_["__"])('Auto')
+      label: (0,external_wp_i18n_namespaceObject.__)('Auto')
     }, {
       value: 'metadata',
-      label: Object(external_wp_i18n_["__"])('Metadata')
+      label: (0,external_wp_i18n_namespaceObject.__)('Metadata')
     }, {
       value: 'none',
-      label: Object(external_wp_i18n_["_x"])('None', '"Preload" value')
+      label: (0,external_wp_i18n_namespaceObject._x)('None', '"Preload" value')
     }]
-  }))), Object(external_wp_element_["createElement"])("figure", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)("figure", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, {
     isDisabled: !isSelected
-  }, Object(external_wp_element_["createElement"])("audio", {
+  }, (0,external_wp_element_namespaceObject.createElement)("audio", {
     controls: "controls",
     src: src
-  })), (!external_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  })), (!external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) || isSelected) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     tagName: "figcaption",
-    "aria-label": Object(external_wp_i18n_["__"])('Audio caption text'),
-    placeholder: Object(external_wp_i18n_["__"])('Add caption'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Audio caption text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Add caption'),
     value: caption,
     onChange: value => setAttributes({
       caption: value
     }),
     inlineToolbar: true,
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'))
   })));
 }

-/* harmony default export */ var edit = (Object(external_wp_components_["withNotices"])(AudioEdit));
+/* harmony default export */ var edit = ((0,external_wp_components_namespaceObject.withNotices)(AudioEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/save.js


 /**
@@ -2414,25 +2309,25 @@ function save(_ref) {
     preload,
     src
   } = attributes;
-  return src && Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])("audio", {
+  return src && (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save(), (0,external_wp_element_namespaceObject.createElement)("audio", {
     controls: "controls",
     src: src,
     autoPlay: autoplay,
     loop: loop,
     preload: preload
-  }), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "figcaption",
     value: caption
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/transforms.js
 /**
  * WordPress dependencies
  */


-const transforms_transforms = {
+const transforms = {
   from: [{
     type: 'files',

@@ -2445,8 +2340,8 @@ const transforms_transforms = {
       // It's already done as part of the `componentDidMount`
       // in the audio block

-      const block = Object(external_wp_blocks_["createBlock"])('core/audio', {
-        src: Object(external_wp_blob_["createBlobURL"])(file)
+      const block = (0,external_wp_blocks_namespaceObject.createBlock)('core/audio', {
+        src: (0,external_wp_blob_namespaceObject.createBlobURL)(file)
       });
       return block;
     }
@@ -2507,9 +2402,9 @@ const transforms_transforms = {
     }
   }]
 };
-/* harmony default export */ var audio_transforms = (transforms_transforms);
+/* harmony default export */ var audio_transforms = (transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/audio/index.js
 /**
  * WordPress dependencies
  */
@@ -2588,17 +2483,27 @@ const audio_settings = {
   save: save
 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
-var library_button = __webpack_require__("oMoS");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+/**
+ * WordPress dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/clean-empty-object.js
+const button_button = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"
+}));
+/* harmony default export */ var library_button = (button_button);
+
+// EXTERNAL MODULE: ./node_modules/classnames/index.js
+var classnames = __webpack_require__(4403);
+var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/clean-empty-object.js
 /**
  * External dependencies
  */
@@ -2611,17 +2516,17 @@ var external_wp_compose_ = __webpack_require__("K9lf");
  */

 const cleanEmptyObject = object => {
-  if (!Object(external_lodash_["isObject"])(object) || Array.isArray(object)) {
+  if (!(0,external_lodash_namespaceObject.isObject)(object) || Array.isArray(object)) {
     return object;
   }

-  const cleanedNestedObjects = Object(external_lodash_["pickBy"])(Object(external_lodash_["mapValues"])(object, cleanEmptyObject), external_lodash_["identity"]);
-  return Object(external_lodash_["isEmpty"])(cleanedNestedObjects) ? undefined : cleanedNestedObjects;
+  const cleanedNestedObjects = (0,external_lodash_namespaceObject.pickBy)((0,external_lodash_namespaceObject.mapValues)(object, cleanEmptyObject), external_lodash_namespaceObject.identity);
+  return (0,external_lodash_namespaceObject.isEmpty)(cleanedNestedObjects) ? undefined : cleanedNestedObjects;
 };

 /* harmony default export */ var clean_empty_object = (cleanEmptyObject);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/migrate-font-family.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/migrate-font-family.js
 /**
  * External dependencies
  */
@@ -2640,7 +2545,7 @@ const cleanEmptyObject = object => {
  * @return {Object} The updated attributes.
  */

-/* harmony default export */ var migrate_font_family = (function (attributes) {
+/* harmony default export */ function migrate_font_family(attributes) {
   var _attributes$style, _attributes$style$typ;

   if (!(attributes !== null && attributes !== void 0 && (_attributes$style = attributes.style) !== null && _attributes$style !== void 0 && (_attributes$style$typ = _attributes$style.typography) !== null && _attributes$style$typ !== void 0 && _attributes$style$typ.fontFamily)) {
@@ -2651,16 +2556,16 @@ const cleanEmptyObject = object => {
   // we don't want to alter the original attributes.


-  const atts = Object(external_lodash_["cloneDeep"])(attributes);
+  const atts = (0,external_lodash_namespaceObject.cloneDeep)(attributes);
   const fontFamily = atts.style.typography.fontFamily.split('|').pop();
   delete atts.style.typography.fontFamily;
   atts.style = clean_empty_object(atts.style);
   return { ...atts,
     fontFamily
   };
-});
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/deprecated.js


 /**
@@ -2727,19 +2632,19 @@ const migrateCustomColorsAndGradients = attributes => {
     style.color.gradient = attributes.customGradient;
   }

-  return { ...Object(external_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor', 'customGradient']),
+  return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['customTextColor', 'customBackgroundColor', 'customGradient']),
     style
   };
 };

 const oldColorsMigration = attributes => {
-  return migrateCustomColorsAndGradients(Object(external_lodash_["omit"])({ ...attributes,
+  return migrateCustomColorsAndGradients((0,external_lodash_namespaceObject.omit)({ ...attributes,
     customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
     customBackgroundColor: attributes.color && '#' === attributes.color[0] ? attributes.color : undefined
   }, ['color', 'textColor']));
 };

-const deprecated_blockAttributes = {
+const blockAttributes = {
   url: {
     type: 'string',
     source: 'attribute',
@@ -2854,9 +2759,9 @@ const v10 = {
       return null;
     }

-    const borderProps = Object(external_wp_blockEditor_["__experimentalGetBorderClassesAndStyles"])(attributes);
-    const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
-    const spacingProps = Object(external_wp_blockEditor_["__experimentalGetSpacingClassesAndStyles"])(attributes);
+    const borderProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetBorderClassesAndStyles)(attributes);
+    const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetColorClassesAndStyles)(attributes);
+    const spacingProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetSpacingClassesAndStyles)(attributes);
     const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, borderProps.className, {
       // For backwards compatibility add style that isn't provided via
       // block support.
@@ -2873,9 +2778,9 @@ const v10 = {
       [`has-custom-width wp-block-button__width-${width}`]: width,
       [`has-custom-font-size`]: fontSize || (style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.fontSize)
     });
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className: wrapperClasses
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       className: buttonClasses,
       href: url,
@@ -2915,7 +2820,7 @@ const deprecated_deprecated = [v10, {
     reusable: false,
     __experimentalSelector: '.wp-block-button__link'
   },
-  attributes: { ...deprecated_blockAttributes,
+  attributes: { ...blockAttributes,
     linkTarget: {
       type: 'string',
       source: 'attribute',
@@ -2977,7 +2882,7 @@ const deprecated_deprecated = [v10, {
     }

     const borderRadius = style === null || style === void 0 ? void 0 : (_style$border3 = style.border) === null || _style$border3 === void 0 ? void 0 : _style$border3.radius;
-    const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
+    const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetColorClassesAndStyles)(attributes);
     const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, {
       'no-border-radius': (style === null || style === void 0 ? void 0 : (_style$border4 = style.border) === null || _style$border4 === void 0 ? void 0 : _style$border4.radius) === 0
     });
@@ -2992,9 +2897,9 @@ const deprecated_deprecated = [v10, {
       [`has-custom-width wp-block-button__width-${width}`]: width,
       [`has-custom-font-size`]: fontSize || (style === null || style === void 0 ? void 0 : (_style$typography3 = style.typography) === null || _style$typography3 === void 0 ? void 0 : _style$typography3.fontSize)
     });
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className: wrapperClasses
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       className: buttonClasses,
       href: url,
@@ -3006,7 +2911,7 @@ const deprecated_deprecated = [v10, {
     }));
   },

-  migrate: Object(external_wp_compose_["compose"])(migrate_font_family, migrateBorderRadius)
+  migrate: (0,external_wp_compose_namespaceObject.compose)(migrate_font_family, migrateBorderRadius)
 }, {
   supports: {
     anchor: true,
@@ -3018,7 +2923,7 @@ const deprecated_deprecated = [v10, {
     reusable: false,
     __experimentalSelector: '.wp-block-button__link'
   },
-  attributes: { ...deprecated_blockAttributes,
+  attributes: { ...blockAttributes,
     linkTarget: {
       type: 'string',
       source: 'attribute',
@@ -3068,7 +2973,7 @@ const deprecated_deprecated = [v10, {
       url,
       width
     } = attributes;
-    const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
+    const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetColorClassesAndStyles)(attributes);
     const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, {
       'no-border-radius': borderRadius === 0
     });
@@ -3082,9 +2987,9 @@ const deprecated_deprecated = [v10, {
     const wrapperClasses = classnames_default()(className, {
       [`has-custom-width wp-block-button__width-${width}`]: width
     });
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className: wrapperClasses
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       className: buttonClasses,
       href: url,
@@ -3096,7 +3001,7 @@ const deprecated_deprecated = [v10, {
     }));
   },

-  migrate: Object(external_wp_compose_["compose"])(migrate_font_family, migrateBorderRadius)
+  migrate: (0,external_wp_compose_namespaceObject.compose)(migrate_font_family, migrateBorderRadius)
 }, {
   supports: {
     anchor: true,
@@ -3108,7 +3013,7 @@ const deprecated_deprecated = [v10, {
     reusable: false,
     __experimentalSelector: '.wp-block-button__link'
   },
-  attributes: { ...deprecated_blockAttributes,
+  attributes: { ...blockAttributes,
     linkTarget: {
       type: 'string',
       source: 'attribute',
@@ -3158,7 +3063,7 @@ const deprecated_deprecated = [v10, {
       url,
       width
     } = attributes;
-    const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
+    const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetColorClassesAndStyles)(attributes);
     const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, {
       'no-border-radius': borderRadius === 0
     });
@@ -3172,9 +3077,9 @@ const deprecated_deprecated = [v10, {
     const wrapperClasses = classnames_default()(className, {
       [`has-custom-width wp-block-button__width-${width}`]: width
     });
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className: wrapperClasses
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       className: buttonClasses,
       href: url,
@@ -3186,7 +3091,7 @@ const deprecated_deprecated = [v10, {
     }));
   },

-  migrate: Object(external_wp_compose_["compose"])(migrate_font_family, migrateBorderRadius)
+  migrate: (0,external_wp_compose_namespaceObject.compose)(migrate_font_family, migrateBorderRadius)
 }, {
   supports: {
     align: true,
@@ -3195,7 +3100,7 @@ const deprecated_deprecated = [v10, {
       gradients: true
     }
   },
-  attributes: { ...deprecated_blockAttributes,
+  attributes: { ...blockAttributes,
     linkTarget: {
       type: 'string',
       source: 'attribute',
@@ -3246,7 +3151,7 @@ const deprecated_deprecated = [v10, {
     const buttonStyle = {
       borderRadius: borderRadius ? borderRadius + 'px' : undefined
     };
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       className: buttonClasses,
       href: url,
@@ -3264,7 +3169,7 @@ const deprecated_deprecated = [v10, {
     align: true,
     alignWide: false
   },
-  attributes: { ...deprecated_blockAttributes,
+  attributes: { ...blockAttributes,
     linkTarget: {
       type: 'string',
       source: 'attribute',
@@ -3303,7 +3208,7 @@ const deprecated_deprecated = [v10, {
     }
   },
   isEligible: attributes => !!attributes.customTextColor || !!attributes.customBackgroundColor || !!attributes.customGradient,
-  migrate: Object(external_wp_compose_["compose"])(migrateBorderRadius, migrateCustomColorsAndGradients),
+  migrate: (0,external_wp_compose_namespaceObject.compose)(migrateBorderRadius, migrateCustomColorsAndGradients),

   save(_ref8) {
     let {
@@ -3323,10 +3228,10 @@ const deprecated_deprecated = [v10, {
       title,
       url
     } = attributes;
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
-    const backgroundClass = !customGradient && Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
+    const backgroundClass = !customGradient && (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);

-    const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
+    const gradientClass = (0,external_wp_blockEditor_namespaceObject.__experimentalGetGradientClass)(gradient);

     const buttonClasses = classnames_default()('wp-block-button__link', {
       'has-text-color': textColor || customTextColor,
@@ -3345,7 +3250,7 @@ const deprecated_deprecated = [v10, {
     // if it had already been assigned, for the sake of backward-compatibility.
     // A title will no longer be assigned for new or updated button block links.

-    return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       className: buttonClasses,
       href: url,
@@ -3358,7 +3263,7 @@ const deprecated_deprecated = [v10, {
   }

 }, {
-  attributes: { ...deprecated_blockAttributes,
+  attributes: { ...blockAttributes,
     align: {
       type: 'string',
       default: 'none'
@@ -3424,8 +3329,8 @@ const deprecated_deprecated = [v10, {
       title,
       url
     } = attributes;
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
     const buttonClasses = classnames_default()('wp-block-button__link', {
       'has-text-color': textColor || customTextColor,
       [textClass]: textClass,
@@ -3436,7 +3341,7 @@ const deprecated_deprecated = [v10, {
       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       color: textClass ? undefined : customTextColor
     };
-    return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       className: buttonClasses,
       href: url,
@@ -3449,7 +3354,7 @@ const deprecated_deprecated = [v10, {
   }

 }, {
-  attributes: { ...deprecated_blockAttributes,
+  attributes: { ...blockAttributes,
     align: {
       type: 'string',
       default: 'none'
@@ -3482,8 +3387,8 @@ const deprecated_deprecated = [v10, {
       customBackgroundColor,
       customTextColor
     } = attributes;
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
     const buttonClasses = classnames_default()('wp-block-button__link', {
       'has-text-color': textColor || customTextColor,
       [textClass]: textClass,
@@ -3494,7 +3399,7 @@ const deprecated_deprecated = [v10, {
       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       color: textClass ? undefined : customTextColor
     };
-    return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       className: buttonClasses,
       href: url,
@@ -3505,7 +3410,7 @@ const deprecated_deprecated = [v10, {
   }

 }, {
-  attributes: { ...deprecated_blockAttributes,
+  attributes: { ...blockAttributes,
     color: {
       type: 'string'
     },
@@ -3535,9 +3440,9 @@ const deprecated_deprecated = [v10, {
       color: textColor
     };
     const linkClass = 'wp-block-button__link';
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: `align${align}`
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       className: linkClass,
       href: url,
@@ -3549,7 +3454,7 @@ const deprecated_deprecated = [v10, {

   migrate: oldColorsMigration
 }, {
-  attributes: { ...deprecated_blockAttributes,
+  attributes: { ...blockAttributes,
     color: {
       type: 'string'
     },
@@ -3574,12 +3479,12 @@ const deprecated_deprecated = [v10, {
       color,
       textColor
     } = attributes;
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: `align${align}`,
       style: {
         backgroundColor: color
       }
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "a",
       href: url,
       title: title,
@@ -3594,19 +3499,57 @@ const deprecated_deprecated = [v10, {
 }];
 /* harmony default export */ var button_deprecated = (deprecated_deprecated);

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }
+
+    return target;
+  };
+
+  return _extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
-var library_link = __webpack_require__("Bpkj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
-var link_off = __webpack_require__("Mp0b");
+/**
+ * WordPress dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/edit.js
+const link_link = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_link = (link_link);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const linkOff = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var link_off = (linkOff);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/edit.js



@@ -3642,12 +3585,12 @@ function WidthPanel(_ref) {
     });
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Width settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ButtonGroup"], {
-    "aria-label": Object(external_wp_i18n_["__"])('Button width')
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Width settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ButtonGroup, {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Button width')
   }, [25, 50, 75, 100].map(widthValue => {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       key: widthValue,
       isSmall: true,
       variant: widthValue === selectedWidth ? 'primary' : undefined,
@@ -3676,7 +3619,7 @@ function ButtonEdit(props) {
     url,
     width
   } = attributes;
-  const onSetLinkRel = Object(external_wp_element_["useCallback"])(value => {
+  const onSetLinkRel = (0,external_wp_element_namespaceObject.useCallback)(value => {
     setAttributes({
       rel: value
     });
@@ -3706,9 +3649,9 @@ function ButtonEdit(props) {
   }

   function onKeyDown(event) {
-    if (external_wp_keycodes_["isKeyboardEvent"].primary(event, 'k')) {
+    if (external_wp_keycodes_namespaceObject.isKeyboardEvent.primary(event, 'k')) {
       startEditing(event);
-    } else if (external_wp_keycodes_["isKeyboardEvent"].primaryShift(event, 'k')) {
+    } else if (external_wp_keycodes_namespaceObject.isKeyboardEvent.primaryShift(event, 'k')) {
       var _richTextRef$current;

       unlink();
@@ -3716,16 +3659,16 @@ function ButtonEdit(props) {
     }
   }

-  const borderProps = Object(external_wp_blockEditor_["__experimentalUseBorderProps"])(attributes);
-  const colorProps = Object(external_wp_blockEditor_["__experimentalUseColorProps"])(attributes);
-  const spacingProps = Object(external_wp_blockEditor_["__experimentalGetSpacingClassesAndStyles"])(attributes);
-  const ref = Object(external_wp_element_["useRef"])();
-  const richTextRef = Object(external_wp_element_["useRef"])();
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const borderProps = (0,external_wp_blockEditor_namespaceObject.__experimentalUseBorderProps)(attributes);
+  const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalUseColorProps)(attributes);
+  const spacingProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetSpacingClassesAndStyles)(attributes);
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const richTextRef = (0,external_wp_element_namespaceObject.useRef)();
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     ref,
     onKeyDown
   });
-  const [isEditingURL, setIsEditingURL] = Object(external_wp_element_["useState"])(false);
+  const [isEditingURL, setIsEditingURL] = (0,external_wp_element_namespaceObject.useState)(false);
   const isURLSet = !!url;
   const opensInNewTab = linkTarget === '_blank';

@@ -3743,20 +3686,20 @@ function ButtonEdit(props) {
     setIsEditingURL(false);
   }

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isSelected) {
       setIsEditingURL(false);
     }
   }, [isSelected]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, blockProps, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, blockProps, {
     className: classnames_default()(blockProps.className, {
       [`has-custom-width wp-block-button__width-${width}`]: width,
       [`has-custom-font-size`]: blockProps.style.fontSize
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     ref: richTextRef,
-    "aria-label": Object(external_wp_i18n_["__"])('Button text'),
-    placeholder: placeholder || Object(external_wp_i18n_["__"])('Add text…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Button text'),
+    placeholder: placeholder || (0,external_wp_i18n_namespaceObject.__)('Add text…'),
     value: text,
     onChange: value => setButtonText(value),
     withoutInteractiveFormatting: true,
@@ -3769,28 +3712,28 @@ function ButtonEdit(props) {
       ...colorProps.style,
       ...spacingProps.style
     },
-    onSplit: value => Object(external_wp_blocks_["createBlock"])('core/button', { ...attributes,
+    onSplit: value => (0,external_wp_blocks_namespaceObject.createBlock)('core/button', { ...attributes,
       text: value
     }),
     onReplace: onReplace,
     onMerge: mergeBlocks,
     identifier: "text"
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, !isURLSet && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  }, !isURLSet && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     name: "link",
-    icon: library_link["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Link'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primary('k'),
+    icon: library_link,
+    title: (0,external_wp_i18n_namespaceObject.__)('Link'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primary('k'),
     onClick: startEditing
-  }), isURLSet && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  }), isURLSet && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     name: "link",
-    icon: link_off["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Unlink'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primaryShift('k'),
+    icon: link_off,
+    title: (0,external_wp_i18n_namespaceObject.__)('Unlink'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primaryShift('k'),
     onClick: unlink,
     isActive: true
-  })), isSelected && (isEditingURL || isURLSet) && Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
+  })), isSelected && (isEditingURL || isURLSet) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
     position: "bottom center",
     onClose: () => {
       var _richTextRef$current2;
@@ -3800,7 +3743,7 @@ function ButtonEdit(props) {
     },
     anchorRef: ref === null || ref === void 0 ? void 0 : ref.current,
     focusOnMount: isEditingURL ? 'firstElement' : false
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLinkControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLinkControl, {
     className: "wp-block-navigation-link__inline-link-input",
     value: {
       url,
@@ -3826,13 +3769,13 @@ function ButtonEdit(props) {
       (_richTextRef$current3 = richTextRef.current) === null || _richTextRef$current3 === void 0 ? void 0 : _richTextRef$current3.focus();
     },
     forceIsEditingLink: isEditingURL
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(WidthPanel, {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(WidthPanel, {
     selectedWidth: width,
     setAttributes: setAttributes
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, {
     __experimentalGroup: "advanced"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Link rel'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Link rel'),
     value: rel || '',
     onChange: onSetLinkRel
   })));
@@ -3840,7 +3783,7 @@ function ButtonEdit(props) {

 /* harmony default export */ var button_edit = (ButtonEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/save.js


 /**
@@ -3874,9 +3817,9 @@ function save_save(_ref) {
     return null;
   }

-  const borderProps = Object(external_wp_blockEditor_["__experimentalGetBorderClassesAndStyles"])(attributes);
-  const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
-  const spacingProps = Object(external_wp_blockEditor_["__experimentalGetSpacingClassesAndStyles"])(attributes);
+  const borderProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetBorderClassesAndStyles)(attributes);
+  const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetColorClassesAndStyles)(attributes);
+  const spacingProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetSpacingClassesAndStyles)(attributes);
   const buttonClasses = classnames_default()('wp-block-button__link', colorProps.className, borderProps.className, {
     // For backwards compatibility add style that isn't provided via
     // block support.
@@ -3893,9 +3836,9 @@ function save_save(_ref) {
     [`has-custom-width wp-block-button__width-${width}`]: width,
     [`has-custom-font-size`]: fontSize || (style === null || style === void 0 ? void 0 : (_style$typography = style.typography) === null || _style$typography === void 0 ? void 0 : _style$typography.fontSize)
   });
-  return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className: wrapperClasses
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "a",
     className: buttonClasses,
     href: url,
@@ -3907,7 +3850,7 @@ function save_save(_ref) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/button/index.js
 /**
  * WordPress dependencies
  */
@@ -4020,11 +3963,11 @@ const {
 } = button_metadata;

 const button_settings = {
-  icon: library_button["a" /* default */],
+  icon: library_button,
   example: {
     attributes: {
       className: 'is-style-fill',
-      text: Object(external_wp_i18n_["__"])('Call to Action')
+      text: (0,external_wp_i18n_namespaceObject.__)('Call to Action')
     }
   },
   edit: button_edit,
@@ -4040,22 +3983,22 @@ const button_settings = {
   }
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/buttons.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/buttons.js


 /**
  * WordPress dependencies
  */

-const buttons_buttons = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const buttons = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M17 3H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5V6.2h-5v1.6zM17 13H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5v-1.5h-5v1.5z"
 }));
-/* harmony default export */ var library_buttons = (buttons_buttons);
+/* harmony default export */ var library_buttons = (buttons);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/deprecated.js


 /**
@@ -4137,12 +4080,12 @@ const buttons_deprecated_deprecated = [{
         orientation
       }
     } = _ref2;
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className: classnames_default()({
         [`is-content-justification-${contentJustification}`]: contentJustification,
         'is-vertical': orientation === 'vertical'
       })
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
   }

 }, {
@@ -4152,7 +4095,7 @@ const buttons_deprecated_deprecated = [{
   },

   save() {
-    return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+    return (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
   },

   isEligible(_ref3) {
@@ -4178,10 +4121,9 @@ const buttons_deprecated_deprecated = [{
 }];
 /* harmony default export */ var buttons_deprecated = (buttons_deprecated_deprecated);

-// EXTERNAL MODULE: external ["wp","richText"]
-var external_wp_richText_ = __webpack_require__("qRz9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/transforms.js
+;// CONCATENATED MODULE: external ["wp","richText"]
+var external_wp_richText_namespaceObject = window["wp"]["richText"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/transforms.js
 /**
  * WordPress dependencies
  */
@@ -4223,37 +4165,37 @@ const {
   editorStyle: "wp-block-buttons-editor",
   style: "wp-block-buttons"
 };
-const buttons_transforms_transforms = {
+const transforms_transforms = {
   from: [{
     type: 'block',
     isMultiBlock: true,
     blocks: ['core/button'],
     transform: buttons => // Creates the buttons block
-    Object(external_wp_blocks_["createBlock"])(transforms_name, {}, // Loop the selected buttons
+    (0,external_wp_blocks_namespaceObject.createBlock)(transforms_name, {}, // Loop the selected buttons
     buttons.map(attributes => // Create singular button in the buttons block
-    Object(external_wp_blocks_["createBlock"])('core/button', attributes)))
+    (0,external_wp_blocks_namespaceObject.createBlock)('core/button', attributes)))
   }, {
     type: 'block',
     isMultiBlock: true,
     blocks: ['core/paragraph'],
     transform: buttons => // Creates the buttons block
-    Object(external_wp_blocks_["createBlock"])(transforms_name, {}, // Loop the selected buttons
+    (0,external_wp_blocks_namespaceObject.createBlock)(transforms_name, {}, // Loop the selected buttons
     buttons.map(attributes => {
-      const element = Object(external_wp_richText_["__unstableCreateElement"])(document, attributes.content); // Remove any HTML tags
+      const element = (0,external_wp_richText_namespaceObject.__unstableCreateElement)(document, attributes.content); // Remove any HTML tags

       const text = element.innerText || ''; // Get first url

       const link = element.querySelector('a');
       const url = link === null || link === void 0 ? void 0 : link.getAttribute('href'); // Create singular button in the buttons block

-      return Object(external_wp_blocks_["createBlock"])('core/button', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/button', {
         text,
         url
       });
     })),
     isMatch: paragraphs => {
       return paragraphs.every(attributes => {
-        const element = Object(external_wp_richText_["__unstableCreateElement"])(document, attributes.content);
+        const element = (0,external_wp_richText_namespaceObject.__unstableCreateElement)(document, attributes.content);
         const text = element.innerText || '';
         const links = element.querySelectorAll('a');
         return text.length <= 30 && links.length <= 1;
@@ -4261,9 +4203,9 @@ const buttons_transforms_transforms = {
     }
   }]
 };
-/* harmony default export */ var buttons_transforms = (buttons_transforms_transforms);
+/* harmony default export */ var buttons_transforms = (transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/edit.js


 /**
@@ -4284,15 +4226,15 @@ function ButtonsEdit(_ref) {
       layout = {}
     }
   } = _ref;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  const preferredStyle = Object(external_wp_data_["useSelect"])(select => {
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  const preferredStyle = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _preferredStyleVariat;

-    const preferredStyleVariations = select(external_wp_blockEditor_["store"]).getSettings().__experimentalPreferredStyleVariations;
+    const preferredStyleVariations = select(external_wp_blockEditor_namespaceObject.store).getSettings().__experimentalPreferredStyleVariations;

     return preferredStyleVariations === null || preferredStyleVariations === void 0 ? void 0 : (_preferredStyleVariat = preferredStyleVariations.value) === null || _preferredStyleVariat === void 0 ? void 0 : _preferredStyleVariat[button_name];
   }, []);
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)(blockProps, {
     allowedBlocks: ALLOWED_BLOCKS,
     template: [[button_name, {
       className: preferredStyle && `is-style-${preferredStyle}`
@@ -4300,12 +4242,12 @@ function ButtonsEdit(_ref) {
     __experimentalLayout: layout,
     templateInsertUpdatesSelection: true
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", innerBlocksProps));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps));
 }

 /* harmony default export */ var buttons_edit = (ButtonsEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/save.js


 /**
@@ -4313,11 +4255,11 @@ function ButtonsEdit(_ref) {
  */

 function buttons_save_save() {
-  const innerBlocksProps = external_wp_blockEditor_["useInnerBlocksProps"].save(external_wp_blockEditor_["useBlockProps"].save());
-  return Object(external_wp_element_["createElement"])("div", innerBlocksProps);
+  const innerBlocksProps = external_wp_blockEditor_namespaceObject.useInnerBlocksProps.save(external_wp_blockEditor_namespaceObject.useBlockProps.save());
+  return (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/buttons/index.js
 /**
  * WordPress dependencies
  */
@@ -4371,12 +4313,12 @@ const buttons_settings = {
     innerBlocks: [{
       name: 'core/button',
       attributes: {
-        text: Object(external_wp_i18n_["__"])('Find out more')
+        text: (0,external_wp_i18n_namespaceObject.__)('Find out more')
       }
     }, {
       name: 'core/button',
       attributes: {
-        text: Object(external_wp_i18n_["__"])('Contact us')
+        text: (0,external_wp_i18n_namespaceObject.__)('Contact us')
       }
     }]
   },
@@ -4386,29 +4328,27 @@ const buttons_settings = {
   save: buttons_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/calendar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/calendar.js


 /**
  * WordPress dependencies
  */

-const calendar = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const calendar = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"
 }));
 /* harmony default export */ var library_calendar = (calendar);

-// EXTERNAL MODULE: external "moment"
-var external_moment_ = __webpack_require__("wy2R");
-var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_);
-
-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/edit.js
+;// CONCATENATED MODULE: external "moment"
+var external_moment_namespaceObject = window["moment"];
+var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","coreData"]
+var external_wp_coreData_namespaceObject = window["wp"]["coreData"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/edit.js


 /**
@@ -4442,16 +4382,16 @@ function CalendarEdit(_ref) {
   let {
     attributes
   } = _ref;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
   const {
     date,
     hasPosts,
     hasPostsResolved
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEntityRecords,
       hasFinishedResolution
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const singlePublishedPostQuery = {
       status: 'publish',
       per_page: 1
@@ -4484,13 +4424,13 @@ function CalendarEdit(_ref) {
   }, []);

   if (!hasPosts) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
       icon: library_calendar,
-      label: Object(external_wp_i18n_["__"])('Calendar')
-    }, !hasPostsResolved ? Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null) : Object(external_wp_i18n_["__"])('No published posts found.')));
+      label: (0,external_wp_i18n_namespaceObject.__)('Calendar')
+    }, !hasPostsResolved ? (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null) : (0,external_wp_i18n_namespaceObject.__)('No published posts found.')));
   }

-  return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], null, Object(external_wp_element_["createElement"])(external_wp_serverSideRender_default.a, {
+  return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, null, (0,external_wp_element_namespaceObject.createElement)((external_wp_serverSideRender_default()), {
     block: "core/calendar",
     attributes: { ...attributes,
       ...getYearMonth(date)
@@ -4498,7 +4438,7 @@ function CalendarEdit(_ref) {
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/calendar/index.js
 /**
  * WordPress dependencies
  */
@@ -4539,39 +4479,39 @@ const calendar_settings = {
   edit: CalendarEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/category.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/category.js


 /**
  * WordPress dependencies
  */

-const category_category = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const category = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",
   fillRule: "evenodd",
   clipRule: "evenodd"
 }));
-/* harmony default export */ var library_category = (category_category);
+/* harmony default export */ var library_category = (category);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pin.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pin.js


 /**
  * WordPress dependencies
  */

-const pin = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const pin = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "-2 -2 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z"
 }));
 /* harmony default export */ var library_pin = (pin);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/edit.js


 /**
@@ -4599,15 +4539,15 @@ function CategoriesEdit(_ref) {
     },
     setAttributes
   } = _ref;
-  const selectId = Object(external_wp_compose_["useInstanceId"])(CategoriesEdit, 'blocks-category-select');
+  const selectId = (0,external_wp_compose_namespaceObject.useInstanceId)(CategoriesEdit, 'blocks-category-select');
   const {
     categories,
     isRequesting
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEntityRecords,
       isResolving
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const query = {
       per_page: -1,
       hide_empty: true,
@@ -4649,12 +4589,12 @@ function CategoriesEdit(_ref) {
     [attributeName]: newValue
   });

-  const renderCategoryName = name => !name ? Object(external_wp_i18n_["__"])('(Untitled)') : Object(external_lodash_["unescape"])(name).trim();
+  const renderCategoryName = name => !name ? (0,external_wp_i18n_namespaceObject.__)('(Untitled)') : (0,external_lodash_namespaceObject.unescape)(name).trim();

   const renderCategoryList = () => {
     const parentId = showHierarchy ? 0 : null;
     const categoriesList = getCategoriesList(parentId);
-    return Object(external_wp_element_["createElement"])("ul", {
+    return (0,external_wp_element_namespaceObject.createElement)("ul", {
       className: getCategoryListClassName(0)
     }, categoriesList.map(category => renderCategoryListItem(category, 0)));
   };
@@ -4667,15 +4607,15 @@ function CategoriesEdit(_ref) {
       count,
       name
     } = category;
-    return Object(external_wp_element_["createElement"])("li", {
+    return (0,external_wp_element_namespaceObject.createElement)("li", {
       key: id
-    }, Object(external_wp_element_["createElement"])("a", {
+    }, (0,external_wp_element_namespaceObject.createElement)("a", {
       href: link,
       target: "_blank",
       rel: "noreferrer noopener"
-    }, renderCategoryName(name)), showPostCounts && Object(external_wp_element_["createElement"])("span", {
+    }, renderCategoryName(name)), showPostCounts && (0,external_wp_element_namespaceObject.createElement)("span", {
       className: "wp-block-categories__post-count"
-    }, ` (${count})`), showHierarchy && !!childCategories.length && Object(external_wp_element_["createElement"])("ul", {
+    }, ` (${count})`), showHierarchy && !!childCategories.length && (0,external_wp_element_namespaceObject.createElement)("ul", {
       className: getCategoryListClassName(level + 1)
     }, childCategories.map(childCategory => renderCategoryListItem(childCategory, level + 1))));
   };
@@ -4683,10 +4623,10 @@ function CategoriesEdit(_ref) {
   const renderCategoryDropdown = () => {
     const parentId = showHierarchy ? 0 : null;
     const categoriesList = getCategoriesList(parentId);
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
       as: "label",
       htmlFor: selectId
-    }, Object(external_wp_i18n_["__"])('Categories')), Object(external_wp_element_["createElement"])("select", {
+    }, (0,external_wp_i18n_namespaceObject.__)('Categories')), (0,external_wp_element_namespaceObject.createElement)("select", {
       id: selectId,
       className: "wp-block-categories__dropdown"
     }, categoriesList.map(category => renderCategoryDropdownItem(category, 0))));
@@ -4699,36 +4639,36 @@ function CategoriesEdit(_ref) {
       name
     } = category;
     const childCategories = getCategoriesList(id);
-    return [Object(external_wp_element_["createElement"])("option", {
+    return [(0,external_wp_element_namespaceObject.createElement)("option", {
       key: id
-    }, Object(external_lodash_["times"])(level * 3, () => '\xa0'), renderCategoryName(name), showPostCounts && ` (${count})`), showHierarchy && !!childCategories.length && childCategories.map(childCategory => renderCategoryDropdownItem(childCategory, level + 1))];
+    }, (0,external_lodash_namespaceObject.times)(level * 3, () => '\xa0'), renderCategoryName(name), showPostCounts && ` (${count})`), showHierarchy && !!childCategories.length && childCategories.map(childCategory => renderCategoryDropdownItem(childCategory, level + 1))];
   };

-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Categories settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display as dropdown'),
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Categories settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display as dropdown'),
     checked: displayAsDropdown,
     onChange: toggleAttribute('displayAsDropdown')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show post counts'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show post counts'),
     checked: showPostCounts,
     onChange: toggleAttribute('showPostCounts')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show only top level categories'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show only top level categories'),
     checked: showOnlyTopLevel,
     onChange: toggleAttribute('showOnlyTopLevel')
-  }), !showOnlyTopLevel && Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show hierarchy'),
+  }), !showOnlyTopLevel && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show hierarchy'),
     checked: showHierarchy,
     onChange: toggleAttribute('showHierarchy')
-  }))), isRequesting && Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+  }))), isRequesting && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
     icon: library_pin,
-    label: Object(external_wp_i18n_["__"])('Categories')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)), !isRequesting && (categories === null || categories === void 0 ? void 0 : categories.length) === 0 && Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('Your site does not have any posts, so there is nothing to display here at the moment.')), !isRequesting && (categories === null || categories === void 0 ? void 0 : categories.length) > 0 && (displayAsDropdown ? renderCategoryDropdown() : renderCategoryList()));
+    label: (0,external_wp_i18n_namespaceObject.__)('Categories')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null)), !isRequesting && (categories === null || categories === void 0 ? void 0 : categories.length) === 0 && (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('Your site does not have any posts, so there is nothing to display here at the moment.')), !isRequesting && (categories === null || categories === void 0 ? void 0 : categories.length) > 0 && (displayAsDropdown ? renderCategoryDropdown() : renderCategoryList()));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/categories/index.js
 /**
  * WordPress dependencies
  */
@@ -4780,22 +4720,22 @@ const categories_settings = {
   edit: CategoriesEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/classic.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/classic.js


 /**
  * WordPress dependencies
  */

-const classic = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const classic = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"
 }));
 /* harmony default export */ var library_classic = (classic);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/convert-to-blocks-button.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/convert-to-blocks-button.js


 /**
@@ -4813,20 +4753,20 @@ const ConvertToBlocksButton = _ref => {
   } = _ref;
   const {
     replaceBlocks
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const block = Object(external_wp_data_["useSelect"])(select => {
-    return select(external_wp_blockEditor_["store"]).getBlock(clientId);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const block = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(external_wp_blockEditor_namespaceObject.store).getBlock(clientId);
   }, [clientId]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    onClick: () => replaceBlocks(block.clientId, Object(external_wp_blocks_["rawHandler"])({
-      HTML: Object(external_wp_blocks_["serialize"])(block)
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    onClick: () => replaceBlocks(block.clientId, (0,external_wp_blocks_namespaceObject.rawHandler)({
+      HTML: (0,external_wp_blocks_namespaceObject.serialize)(block)
     }))
-  }, Object(external_wp_i18n_["__"])('Convert to blocks'));
+  }, (0,external_wp_i18n_namespaceObject.__)('Convert to blocks'));
 };

 /* harmony default export */ var convert_to_blocks_button = (ConvertToBlocksButton);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/edit.js


 /**
@@ -4882,9 +4822,9 @@ function ClassicEdit(_ref) {
   } = _ref;
   const {
     getMultiSelectedBlockClientIds
-  } = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]);
-  const didMount = Object(external_wp_element_["useRef"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_blockEditor_namespaceObject.store);
+  const didMount = (0,external_wp_element_namespaceObject.useRef)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!didMount.current) {
       return;
     }
@@ -4896,7 +4836,7 @@ function ClassicEdit(_ref) {
       editor.setContent(content || '');
     }
   }, [content]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     const {
       baseURL,
       suffix
@@ -4945,7 +4885,7 @@ function ClassicEdit(_ref) {
       editor.on('mousedown touchstart', () => {
         bookmark = null;
       });
-      const debouncedOnChange = Object(external_lodash_["debounce"])(() => {
+      const debouncedOnChange = (0,external_lodash_namespaceObject.debounce)(() => {
         const value = editor.getContent();

         if (value !== editor._lastChange) {
@@ -4961,12 +4901,12 @@ function ClassicEdit(_ref) {

       editor.on('remove', debouncedOnChange.cancel);
       editor.on('keydown', event => {
-        if (external_wp_keycodes_["isKeyboardEvent"].primary(event, 'z')) {
+        if (external_wp_keycodes_namespaceObject.isKeyboardEvent.primary(event, 'z')) {
           // Prevent the gutenberg undo kicking in so TinyMCE undo stack works as expected
           event.stopPropagation();
         }

-        if ((event.keyCode === external_wp_keycodes_["BACKSPACE"] || event.keyCode === external_wp_keycodes_["DELETE"]) && isTmceEmpty(editor)) {
+        if ((event.keyCode === external_wp_keycodes_namespaceObject.BACKSPACE || event.keyCode === external_wp_keycodes_namespaceObject.DELETE) && isTmceEmpty(editor)) {
           // delete the block
           onReplace([]);
           event.preventDefault();
@@ -4981,7 +4921,7 @@ function ClassicEdit(_ref) {
          * `alt+f10` shortcut to focus its toolbar.
          */

-        if (altKey && event.keyCode === external_wp_keycodes_["F10"]) {
+        if (altKey && event.keyCode === external_wp_keycodes_namespaceObject.F10) {
           event.stopPropagation();
         }
       });
@@ -5049,16 +4989,16 @@ function ClassicEdit(_ref) {
   /* eslint-disable jsx-a11y/no-static-element-interactions */


-  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, Object(external_wp_element_["createElement"])(convert_to_blocks_button, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(convert_to_blocks_button, {
     clientId: clientId
-  }))), Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])("div", {
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), (0,external_wp_element_namespaceObject.createElement)("div", {
     key: "toolbar",
     id: `toolbar-${clientId}`,
     className: "block-library-classic__toolbar",
     onClick: focus,
-    "data-placeholder": Object(external_wp_i18n_["__"])('Classic'),
+    "data-placeholder": (0,external_wp_i18n_namespaceObject.__)('Classic'),
     onKeyDown: onToolbarKeyDown
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     key: "editor",
     id: `editor-${clientId}`,
     className: "wp-block-freeform block-library-rich-text__tinymce"
@@ -5066,7 +5006,7 @@ function ClassicEdit(_ref) {
   /* eslint-enable jsx-a11y/no-static-element-interactions */
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/save.js


 /**
@@ -5080,10 +5020,10 @@ function freeform_save_save(_ref) {
   const {
     content
   } = attributes;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, content);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, content);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/freeform/index.js
 /**
  * WordPress dependencies
  */
@@ -5124,10 +5064,22 @@ const freeform_settings = {
   save: freeform_save_save
 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
-var code = __webpack_require__("1Yn1");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/edit.js
+/**
+ * WordPress dependencies
+ */
+
+const code = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"
+}));
+/* harmony default export */ var library_code = (code);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/edit.js


 /**
@@ -5141,22 +5093,22 @@ function CodeEdit(_ref) {
     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"], {
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  return (0,external_wp_element_namespaceObject.createElement)("pre", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     tagName: "code",
     value: attributes.content,
     onChange: content => setAttributes({
       content
     }),
     onRemove: onRemove,
-    placeholder: Object(external_wp_i18n_["__"])('Write code…'),
-    "aria-label": Object(external_wp_i18n_["__"])('Code'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write code…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Code'),
     preserveWhiteSpace: true,
     __unstablePastePlainText: true
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/utils.js
 /**
  * External dependencies
  */
@@ -5169,7 +5121,7 @@ function CodeEdit(_ref) {
  */

 function utils_escape(content) {
-  return Object(external_lodash_["flow"])(escapeOpeningSquareBrackets, escapeProtocolInIsolatedUrls)(content || '');
+  return (0,external_lodash_namespaceObject.flow)(escapeOpeningSquareBrackets, escapeProtocolInIsolatedUrls)(content || '');
 }
 /**
  * Returns the given content with all opening shortcode characters converted
@@ -5208,7 +5160,7 @@ function escapeProtocolInIsolatedUrls(content) {
   return content.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m, '$1&#47;&#47;$2');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/save.js


 /**
@@ -5224,13 +5176,13 @@ 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, {
+  return (0,external_wp_element_namespaceObject.createElement)("pre", external_wp_blockEditor_namespaceObject.useBlockProps.save(), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "code",
     value: utils_escape(attributes.content)
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/transforms.js
 /**
  * WordPress dependencies
  */
@@ -5239,7 +5191,7 @@ const code_transforms_transforms = {
   from: [{
     type: 'enter',
     regExp: /^```$/,
-    transform: () => Object(external_wp_blocks_["createBlock"])('core/code')
+    transform: () => (0,external_wp_blocks_namespaceObject.createBlock)('core/code')
   }, {
     type: 'block',
     blocks: ['core/html'],
@@ -5247,7 +5199,7 @@ const code_transforms_transforms = {
       let {
         content
       } = _ref;
-      return Object(external_wp_blocks_["createBlock"])('core/code', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/code', {
         content
       });
     }
@@ -5269,7 +5221,7 @@ const code_transforms_transforms = {
 };
 /* harmony default export */ var code_transforms = (code_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/code/index.js
 /**
  * WordPress dependencies
  */
@@ -5333,12 +5285,12 @@ const {
 } = code_metadata;

 const code_settings = {
-  icon: code["a" /* default */],
+  icon: library_code,
   example: {
     attributes: {
       /* eslint-disable @wordpress/i18n-no-collapsible-whitespace */
       // translators: Preserve \n markers for line breaks
-      content: Object(external_wp_i18n_["__"])('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')
+      content: (0,external_wp_i18n_namespaceObject.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')
       /* eslint-enable @wordpress/i18n-no-collapsible-whitespace */

     }
@@ -5348,22 +5300,22 @@ const code_settings = {
   save: code_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/column.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/column.js


 /**
  * WordPress dependencies
  */

-const column = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const column = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"
 }));
 /* harmony default export */ var library_column = (column);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/deprecated.js


 /**
@@ -5414,16 +5366,16 @@ const column_deprecated_deprecated = [{
     const style = {
       flexBasis: width + '%'
     };
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: wrapperClasses,
       style: style
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
   }

 }];
 /* harmony default export */ var column_deprecated = (column_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/edit.js


 /**
@@ -5453,18 +5405,18 @@ function ColumnEdit(_ref) {
   const classes = classnames_default()('block-core-columns', {
     [`is-vertically-aligned-${verticalAlignment}`]: verticalAlignment
   });
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-    availableUnits: Object(external_wp_blockEditor_["useSetting"])('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: (0,external_wp_blockEditor_namespaceObject.useSetting)('spacing.units') || ['%', 'px', 'em', 'rem', 'vw']
   });
   const {
     columnsIds,
     hasChildBlocks,
     rootClientId
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getBlockOrder,
       getBlockRootClientId
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const rootId = getBlockRootClientId(clientId);
     return {
       hasChildBlocks: getBlockOrder(clientId).length > 0,
@@ -5474,7 +5426,7 @@ function ColumnEdit(_ref) {
   }, [clientId]);
   const {
     updateBlockAttributes
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);

   const updateAlignment = value => {
     // Update own alignment.
@@ -5488,7 +5440,7 @@ function ColumnEdit(_ref) {
   };

   const widthWithUnit = Number.isFinite(width) ? width + '%' : width;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classes,
     style: widthWithUnit ? {
       flexBasis: widthWithUnit
@@ -5496,23 +5448,23 @@ function ColumnEdit(_ref) {
   });
   const columnsCount = columnsIds.length;
   const currentColumnPosition = columnsIds.indexOf(clientId) + 1;
-  const label = Object(external_wp_i18n_["sprintf"])(
+  const label = (0,external_wp_i18n_namespaceObject.sprintf)(
   /* translators: 1: Block label (i.e. "Block: Column"), 2: Position of the selected block, 3: Total number of sibling blocks of the same type */
-  Object(external_wp_i18n_["__"])('%1$s (%2$d of %3$d)'), blockProps['aria-label'], currentColumnPosition, columnsCount);
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({ ...blockProps,
+  (0,external_wp_i18n_namespaceObject.__)('%1$s (%2$d of %3$d)'), blockProps['aria-label'], currentColumnPosition, columnsCount);
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)({ ...blockProps,
     'aria-label': label
   }, {
     templateLock,
     allowedBlocks,
-    renderAppender: hasChildBlocks ? undefined : external_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender
+    renderAppender: hasChildBlocks ? undefined : external_wp_blockEditor_namespaceObject.InnerBlocks.ButtonBlockAppender
   });
-  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_blockEditor_["BlockVerticalAlignmentToolbar"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockVerticalAlignmentToolbar, {
     onChange: updateAlignment,
     value: verticalAlignment
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Column settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
-    label: Object(external_wp_i18n_["__"])('Width'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Column settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Width'),
     labelPosition: "edge",
     __unstableInputWidth: "80px",
     value: width || '',
@@ -5523,12 +5475,12 @@ function ColumnEdit(_ref) {
       });
     },
     units: units
-  }))), Object(external_wp_element_["createElement"])("div", innerBlocksProps));
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps));
 }

 /* harmony default export */ var column_edit = (ColumnEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/save.js


 /**
@@ -5568,15 +5520,15 @@ function column_save_save(_ref) {
     };
   }

-  const blockProps = external_wp_blockEditor_["useBlockProps"].save({
+  const blockProps = external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className: wrapperClasses,
     style
   });
-  const innerBlocksProps = external_wp_blockEditor_["useInnerBlocksProps"].save(blockProps);
-  return Object(external_wp_element_["createElement"])("div", innerBlocksProps);
+  const innerBlocksProps = external_wp_blockEditor_namespaceObject.useInnerBlocksProps.save(blockProps);
+  return (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/column/index.js
 /**
  * WordPress dependencies
  */
@@ -5638,22 +5590,22 @@ const column_settings = {
   deprecated: column_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/columns.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/columns.js


 /**
  * WordPress dependencies
  */

-const columns_columns = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const columns = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-4.1 1.5v10H10v-10h4.9zM5.5 17V8c0-.3.2-.5.5-.5h2.5v10H6c-.3 0-.5-.2-.5-.5zm14 0c0 .3-.2.5-.5.5h-2.6v-10H19c.3 0 .5.2.5.5v9z"
 }));
-/* harmony default export */ var library_columns = (columns_columns);
+/* harmony default export */ var library_columns = (columns);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/deprecated.js


 /**
@@ -5714,7 +5666,7 @@ const migrateCustomColors = attributes => {
     style.color.background = attributes.customBackgroundColor;
   }

-  return { ...Object(external_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor']),
+  return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['customTextColor', 'customBackgroundColor']),
     style,
     isStackedOnMobile: true
   };
@@ -5751,8 +5703,8 @@ const migrateCustomColors = attributes => {
       textColor,
       customTextColor
     } = attributes;
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
     const className = classnames_default()({
       'has-background': backgroundColor || customBackgroundColor,
       'has-text-color': textColor || customTextColor,
@@ -5764,10 +5716,10 @@ const migrateCustomColors = attributes => {
       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       color: textClass ? undefined : customTextColor
     };
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: className ? className : undefined,
       style: style
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
   }

 }, {
@@ -5812,8 +5764,8 @@ const migrateCustomColors = attributes => {
       accumulator[columnIndex].push(innerBlock);
       return accumulator;
     }, []);
-    const migratedInnerBlocks = columns.map(columnBlocks => Object(external_wp_blocks_["createBlock"])('core/column', {}, columnBlocks));
-    return [{ ...Object(external_lodash_["omit"])(attributes, ['columns']),
+    const migratedInnerBlocks = columns.map(columnBlocks => (0,external_wp_blocks_namespaceObject.createBlock)('core/column', {}, columnBlocks));
+    return [{ ...(0,external_lodash_namespaceObject.omit)(attributes, ['columns']),
       isStackedOnMobile: true
     }, migratedInnerBlocks];
   },
@@ -5825,9 +5777,9 @@ const migrateCustomColors = attributes => {
     const {
       columns
     } = attributes;
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: `has-${columns}-columns`
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
   }

 }, {
@@ -5839,7 +5791,7 @@ const migrateCustomColors = attributes => {
   },

   migrate(attributes, innerBlocks) {
-    attributes = { ...Object(external_lodash_["omit"])(attributes, ['columns']),
+    attributes = { ...(0,external_lodash_namespaceObject.omit)(attributes, ['columns']),
       isStackedOnMobile: true
     };
     return [attributes, innerBlocks];
@@ -5856,14 +5808,14 @@ const migrateCustomColors = attributes => {
     const wrapperClasses = classnames_default()(`has-${columns}-columns`, {
       [`are-vertically-aligned-${verticalAlignment}`]: verticalAlignment
     });
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: wrapperClasses
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
   }

 }]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/utils.js
 /**
  * External dependencies
  */
@@ -5909,7 +5861,7 @@ function getEffectiveColumnWidth(block, totalBlockCount) {

 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));
+  return (0,external_lodash_namespaceObject.sumBy)(blocks, block => getEffectiveColumnWidth(block, totalBlockCount));
 }
 /**
  * Returns an object of `clientId` → `width` of effective column widths.
@@ -5946,7 +5898,7 @@ function getColumnWidths(blocks) {
 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 => {
+  return (0,external_lodash_namespaceObject.mapValues)(getColumnWidths(blocks, totalBlockCount), width => {
     const newWidth = availableWidth * width / totalWidth;
     return toWidthPrecision(newWidth);
   });
@@ -5979,7 +5931,7 @@ function hasExplicitPercentColumnWidths(blocks) {
  */

 function getMappedColumnWidths(blocks, widths) {
-  return blocks.map(block => Object(external_lodash_["merge"])({}, block, {
+  return blocks.map(block => (0,external_lodash_namespaceObject.merge)({}, block, {
     attributes: {
       width: `${widths[block.clientId]}%`
     }
@@ -6031,7 +5983,7 @@ function isPercentageUnit(unit) {
   return unit === '%';
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/edit.js


 /**
@@ -6079,45 +6031,45 @@ function ColumnsEditContainer(_ref) {
   } = attributes;
   const {
     count
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     return {
-      count: select(external_wp_blockEditor_["store"]).getBlockCount(clientId)
+      count: select(external_wp_blockEditor_namespaceObject.store).getBlockCount(clientId)
     };
   }, [clientId]);
   const classes = classnames_default()({
     [`are-vertically-aligned-${verticalAlignment}`]: verticalAlignment,
     [`is-not-stacked-on-mobile`]: !isStackedOnMobile
   });
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classes
   });
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)(blockProps, {
     allowedBlocks: edit_ALLOWED_BLOCKS,
     orientation: 'horizontal',
     renderAppender: false
   });
-  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_blockEditor_["BlockVerticalAlignmentToolbar"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockVerticalAlignmentToolbar, {
     onChange: updateAlignment,
     value: verticalAlignment
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], null, Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Columns'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Columns'),
     value: count,
     onChange: value => updateColumns(count, value),
     min: 1,
     max: Math.max(6, count)
-  }), count > 6 && Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
+  }), count > 6 && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Notice, {
     status: "warning",
     isDismissible: false
-  }, Object(external_wp_i18n_["__"])('This column count exceeds the recommended amount and may cause visual breakage.')), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Stack on mobile'),
+  }, (0,external_wp_i18n_namespaceObject.__)('This column count exceeds the recommended amount and may cause visual breakage.')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Stack on mobile'),
     checked: isStackedOnMobile,
     onChange: () => setAttributes({
       isStackedOnMobile: !isStackedOnMobile
     })
-  }))), Object(external_wp_element_["createElement"])("div", innerBlocksProps));
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps));
 }

-const ColumnsEditContainerWrapper = Object(external_wp_data_["withDispatch"])((dispatch, ownProps, registry) => ({
+const ColumnsEditContainerWrapper = (0,external_wp_data_namespaceObject.withDispatch)((dispatch, ownProps, registry) => ({
   /**
    * Update all child Column blocks with a new vertical alignment setting
    * based on whatever alignment is passed in. This allows change to parent
@@ -6132,10 +6084,10 @@ const ColumnsEditContainerWrapper = Object(external_wp_data_["withDispatch"])((d
     } = ownProps;
     const {
       updateBlockAttributes
-    } = dispatch(external_wp_blockEditor_["store"]);
+    } = dispatch(external_wp_blockEditor_namespaceObject.store);
     const {
       getBlockOrder
-    } = registry.select(external_wp_blockEditor_["store"]); // Update own alignment.
+    } = registry.select(external_wp_blockEditor_namespaceObject.store); // Update own alignment.

     setAttributes({
       verticalAlignment
@@ -6162,10 +6114,10 @@ const ColumnsEditContainerWrapper = Object(external_wp_data_["withDispatch"])((d
     } = ownProps;
     const {
       replaceInnerBlocks
-    } = dispatch(external_wp_blockEditor_["store"]);
+    } = dispatch(external_wp_blockEditor_namespaceObject.store);
     const {
       getBlocks
-    } = registry.select(external_wp_blockEditor_["store"]);
+    } = registry.select(external_wp_blockEditor_namespaceObject.store);
     let innerBlocks = getBlocks(clientId);
     const hasExplicitWidths = hasExplicitPercentColumnWidths(innerBlocks); // Redistribute available width for existing inner blocks.

@@ -6178,18 +6130,18 @@ const ColumnsEditContainerWrapper = Object(external_wp_data_["withDispatch"])((d
       // constraining the available working width.

       const widths = getRedistributedColumnWidths(innerBlocks, 100 - newColumnWidth);
-      innerBlocks = [...getMappedColumnWidths(innerBlocks, widths), ...Object(external_lodash_["times"])(newColumns - previousColumns, () => {
-        return Object(external_wp_blocks_["createBlock"])('core/column', {
+      innerBlocks = [...getMappedColumnWidths(innerBlocks, widths), ...(0,external_lodash_namespaceObject.times)(newColumns - previousColumns, () => {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/column', {
           width: `${newColumnWidth}%`
         });
       })];
     } else if (isAddingColumn) {
-      innerBlocks = [...innerBlocks, ...Object(external_lodash_["times"])(newColumns - previousColumns, () => {
-        return Object(external_wp_blocks_["createBlock"])('core/column');
+      innerBlocks = [...innerBlocks, ...(0,external_lodash_namespaceObject.times)(newColumns - previousColumns, () => {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/column');
       })];
     } else {
       // The removed column will be the last of the inner blocks.
-      innerBlocks = Object(external_lodash_["dropRight"])(innerBlocks, previousColumns - newColumns);
+      innerBlocks = (0,external_lodash_namespaceObject.dropRight)(innerBlocks, previousColumns - newColumns);

       if (hasExplicitWidths) {
         // Redistribute as if block is already removed.
@@ -6213,12 +6165,12 @@ function Placeholder(_ref2) {
     blockType,
     defaultVariation,
     variations
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getBlockVariations,
       getBlockType,
       getDefaultBlockVariation
-    } = select(external_wp_blocks_["store"]);
+    } = select(external_wp_blocks_namespaceObject.store);
     return {
       blockType: getBlockType(name),
       defaultVariation: getDefaultBlockVariation(name, 'block'),
@@ -6227,11 +6179,11 @@ function Placeholder(_ref2) {
   }, [name]);
   const {
     replaceInnerBlocks
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockVariationPicker"], {
-    icon: Object(external_lodash_["get"])(blockType, ['icon', 'src']),
-    label: Object(external_lodash_["get"])(blockType, ['title']),
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBlockVariationPicker, {
+    icon: (0,external_lodash_namespaceObject.get)(blockType, ['icon', 'src']),
+    label: (0,external_lodash_namespaceObject.get)(blockType, ['title']),
     variations: variations,
     onSelect: function () {
       let nextVariation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultVariation;
@@ -6241,7 +6193,7 @@ function Placeholder(_ref2) {
       }

       if (nextVariation.innerBlocks) {
-        replaceInnerBlocks(clientId, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(nextVariation.innerBlocks), true);
+        replaceInnerBlocks(clientId, (0,external_wp_blocks_namespaceObject.createBlocksFromInnerBlocksTemplate)(nextVariation.innerBlocks), true);
       }
     },
     allowSkip: true
@@ -6252,14 +6204,14 @@ const ColumnsEdit = props => {
   const {
     clientId
   } = props;
-  const hasInnerBlocks = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).getBlocks(clientId).length > 0, [clientId]);
+  const hasInnerBlocks = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).getBlocks(clientId).length > 0, [clientId]);
   const Component = hasInnerBlocks ? ColumnsEditContainerWrapper : Placeholder;
-  return Object(external_wp_element_["createElement"])(Component, props);
+  return (0,external_wp_element_namespaceObject.createElement)(Component, props);
 };

 /* harmony default export */ var columns_edit = (ColumnsEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/save.js


 /**
@@ -6283,14 +6235,14 @@ function columns_save_save(_ref) {
     [`are-vertically-aligned-${verticalAlignment}`]: verticalAlignment,
     [`is-not-stacked-on-mobile`]: !isStackedOnMobile
   });
-  const blockProps = external_wp_blockEditor_["useBlockProps"].save({
+  const blockProps = external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className
   });
-  const innerBlocksProps = external_wp_blockEditor_["useInnerBlocksProps"].save(blockProps);
-  return Object(external_wp_element_["createElement"])("div", innerBlocksProps);
+  const innerBlocksProps = external_wp_blockEditor_namespaceObject.useInnerBlocksProps.save(blockProps);
+  return (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/variations.js


 /**
@@ -6306,16 +6258,16 @@ function columns_save_save(_ref) {
  * @type {WPBlockVariation[]}
  */

-const variations_variations = [{
+const variations = [{
   name: 'one-column-full',
-  title: Object(external_wp_i18n_["__"])('100'),
-  description: Object(external_wp_i18n_["__"])('One column'),
-  icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  title: (0,external_wp_i18n_namespaceObject.__)('100'),
+  description: (0,external_wp_i18n_namespaceObject.__)('One column'),
+  icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     width: "48",
     height: "48",
     viewBox: "0 0 48 48",
     xmlns: "http://www.w3.org/2000/svg"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     fillRule: "evenodd",
     clipRule: "evenodd",
     d: "m39.0625 14h-30.0625v20.0938h30.0625zm-30.0625-2c-1.10457 0-2 .8954-2 2v20.0938c0 1.1045.89543 2 2 2h30.0625c1.1046 0 2-.8955 2-2v-20.0938c0-1.1046-.8954-2-2-2z"
@@ -6324,14 +6276,14 @@ const variations_variations = [{
   scope: ['block']
 }, {
   name: 'two-columns-equal',
-  title: Object(external_wp_i18n_["__"])('50 / 50'),
-  description: Object(external_wp_i18n_["__"])('Two columns; equal split'),
-  icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  title: (0,external_wp_i18n_namespaceObject.__)('50 / 50'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Two columns; equal split'),
+  icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     width: "48",
     height: "48",
     viewBox: "0 0 48 48",
     xmlns: "http://www.w3.org/2000/svg"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     fillRule: "evenodd",
     clipRule: "evenodd",
     d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"
@@ -6341,14 +6293,14 @@ const variations_variations = [{
   scope: ['block']
 }, {
   name: 'two-columns-one-third-two-thirds',
-  title: Object(external_wp_i18n_["__"])('30 / 70'),
-  description: Object(external_wp_i18n_["__"])('Two columns; one-third, two-thirds split'),
-  icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  title: (0,external_wp_i18n_namespaceObject.__)('30 / 70'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Two columns; one-third, two-thirds split'),
+  icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     width: "48",
     height: "48",
     viewBox: "0 0 48 48",
     xmlns: "http://www.w3.org/2000/svg"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     fillRule: "evenodd",
     clipRule: "evenodd",
     d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"
@@ -6361,14 +6313,14 @@ const variations_variations = [{
   scope: ['block']
 }, {
   name: 'two-columns-two-thirds-one-third',
-  title: Object(external_wp_i18n_["__"])('70 / 30'),
-  description: Object(external_wp_i18n_["__"])('Two columns; two-thirds, one-third split'),
-  icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  title: (0,external_wp_i18n_namespaceObject.__)('70 / 30'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Two columns; two-thirds, one-third split'),
+  icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     width: "48",
     height: "48",
     viewBox: "0 0 48 48",
     xmlns: "http://www.w3.org/2000/svg"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     fillRule: "evenodd",
     clipRule: "evenodd",
     d: "M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"
@@ -6381,14 +6333,14 @@ const variations_variations = [{
   scope: ['block']
 }, {
   name: 'three-columns-equal',
-  title: Object(external_wp_i18n_["__"])('33 / 33 / 33'),
-  description: Object(external_wp_i18n_["__"])('Three columns; equal split'),
-  icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  title: (0,external_wp_i18n_namespaceObject.__)('33 / 33 / 33'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Three columns; equal split'),
+  icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     width: "48",
     height: "48",
     viewBox: "0 0 48 48",
     xmlns: "http://www.w3.org/2000/svg"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     fillRule: "evenodd",
     d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"
   })),
@@ -6396,14 +6348,14 @@ const variations_variations = [{
   scope: ['block']
 }, {
   name: 'three-columns-wider-center',
-  title: Object(external_wp_i18n_["__"])('25 / 50 / 25'),
-  description: Object(external_wp_i18n_["__"])('Three columns; wide center column'),
-  icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  title: (0,external_wp_i18n_namespaceObject.__)('25 / 50 / 25'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Three columns; wide center column'),
+  icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     width: "48",
     height: "48",
     viewBox: "0 0 48 48",
     xmlns: "http://www.w3.org/2000/svg"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     fillRule: "evenodd",
     d: "M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"
   })),
@@ -6416,9 +6368,9 @@ const variations_variations = [{
   }]],
   scope: ['block']
 }];
-/* harmony default export */ var columns_variations = (variations_variations);
+/* harmony default export */ var columns_variations = (variations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/transforms.js
 /**
  * WordPress dependencies
  */
@@ -6442,7 +6394,7 @@ const columns_transforms_transforms = {
         }, [[name, { ...attributes
         }, innerBlocks]]];
       });
-      return Object(external_wp_blocks_["createBlock"])('core/columns', {}, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(innerBlocksTemplate));
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/columns', {}, (0,external_wp_blocks_namespaceObject.createBlocksFromInnerBlocksTemplate)(innerBlocksTemplate));
     },
     isMatch: _ref2 => {
       let {
@@ -6505,19 +6457,19 @@ const columns_transforms_transforms = {
         innerBlocksTemplate.reverse();
       }

-      return Object(external_wp_blocks_["createBlock"])('core/columns', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/columns', {
         align,
         backgroundColor,
         textColor,
         style,
         verticalAlignment
-      }, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(innerBlocksTemplate));
+      }, (0,external_wp_blocks_namespaceObject.createBlocksFromInnerBlocksTemplate)(innerBlocksTemplate));
     }
   }]
 };
 /* harmony default export */ var columns_transforms = (columns_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/columns/index.js
 /**
  * WordPress dependencies
  */
@@ -6583,7 +6535,7 @@ const columns_settings = {
         name: 'core/paragraph',
         attributes: {
           /* translators: example text. */
-          content: Object(external_wp_i18n_["__"])('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.')
+          content: (0,external_wp_i18n_namespaceObject.__)('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.')
         }
       }, {
         name: 'core/image',
@@ -6594,7 +6546,7 @@ const columns_settings = {
         name: 'core/paragraph',
         attributes: {
           /* translators: example text. */
-          content: Object(external_wp_i18n_["__"])('Suspendisse commodo neque lacus, a dictum orci interdum et.')
+          content: (0,external_wp_i18n_namespaceObject.__)('Suspendisse commodo neque lacus, a dictum orci interdum et.')
         }
       }]
     }, {
@@ -6603,13 +6555,13 @@ const columns_settings = {
         name: 'core/paragraph',
         attributes: {
           /* translators: example text. */
-          content: Object(external_wp_i18n_["__"])('Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.')
+          content: (0,external_wp_i18n_namespaceObject.__)('Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.')
         }
       }, {
         name: 'core/paragraph',
         attributes: {
           /* translators: example text. */
-          content: Object(external_wp_i18n_["__"])('Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.')
+          content: (0,external_wp_i18n_namespaceObject.__)('Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.')
         }
       }]
     }]
@@ -6620,22 +6572,22 @@ const columns_settings = {
   transforms: columns_transforms
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cover.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cover.js


 /**
  * WordPress dependencies
  */

-const cover = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const cover = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"
 }));
 /* harmony default export */ var library_cover = (cover);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/shared.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/shared.js
 /**
  * WordPress dependencies
  */
@@ -6676,8 +6628,8 @@ function attributesFromMedia(setAttributes, dimRatio) {
       return;
     }

-    if (Object(external_wp_blob_["isBlobURL"])(media.url)) {
-      media.type = Object(external_wp_blob_["getBlobTypeByURL"])(media.url);
+    if ((0,external_wp_blob_namespaceObject.isBlobURL)(media.url)) {
+      media.type = (0,external_wp_blob_namespaceObject.getBlobTypeByURL)(media.url);
     }

     let mediaType; // for media selections originated from a file upload.
@@ -6738,7 +6690,7 @@ function getPositionClassName(contentPosition) {
   return POSITION_CLASSNAMES[contentPosition];
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/deprecated.js


 /**
@@ -6777,7 +6729,7 @@ function migrateDimRatio(attributes) {
   };
 }

-const cover_deprecated_blockAttributes = {
+const deprecated_blockAttributes = {
   url: {
     type: 'string'
   },
@@ -6807,7 +6759,7 @@ const cover_deprecated_blockAttributes = {
   }
 };
 const v7 = {
-  attributes: { ...cover_deprecated_blockAttributes,
+  attributes: { ...deprecated_blockAttributes,
     isRepeated: {
       type: 'boolean',
       default: false
@@ -6873,9 +6825,9 @@ const v7 = {
       minHeight: minHeightProp,
       minHeightUnit
     } = attributes;
-    const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
+    const overlayColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', overlayColor);

-    const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
+    const gradientClass = (0,external_wp_blockEditor_namespaceObject.__experimentalGetGradientClass)(gradient);

     const minHeight = minHeightUnit ? `${minHeightProp}${minHeightUnit}` : minHeightProp;
     const isImageBackground = IMAGE_BACKGROUND_TYPE === backgroundType;
@@ -6896,16 +6848,16 @@ const v7 = {
       [gradientClass]: !url && gradientClass,
       'has-custom-content-position': !isContentPositionCenter(contentPosition)
     }, getPositionClassName(contentPosition));
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className: classes,
       style
-    }), url && (gradient || customGradient) && dimRatio !== 0 && Object(external_wp_element_["createElement"])("span", {
+    }), url && (gradient || customGradient) && dimRatio !== 0 && (0,external_wp_element_namespaceObject.createElement)("span", {
       "aria-hidden": "true",
       className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
       style: customGradient ? {
         background: customGradient
       } : undefined
-    }), isImageBackground && isImgElement && url && Object(external_wp_element_["createElement"])("img", {
+    }), isImageBackground && isImgElement && url && (0,external_wp_element_namespaceObject.createElement)("img", {
       className: classnames_default()('wp-block-cover__image-background', id ? `wp-image-${id}` : null),
       alt: alt,
       src: url,
@@ -6914,7 +6866,7 @@ const v7 = {
       },
       "data-object-fit": "cover",
       "data-object-position": objectPosition
-    }), isVideoBackground && url && Object(external_wp_element_["createElement"])("video", {
+    }), isVideoBackground && url && (0,external_wp_element_namespaceObject.createElement)("video", {
       className: classnames_default()('wp-block-cover__video-background', 'intrinsic-ignore'),
       autoPlay: true,
       muted: true,
@@ -6926,15 +6878,15 @@ const v7 = {
       },
       "data-object-fit": "cover",
       "data-object-position": objectPosition
-    }), Object(external_wp_element_["createElement"])("div", {
+    }), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-cover__inner-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   },

   migrate: migrateDimRatio
 };
 const v6 = {
-  attributes: { ...cover_deprecated_blockAttributes,
+  attributes: { ...deprecated_blockAttributes,
     isRepeated: {
       type: 'boolean',
       default: false
@@ -6978,9 +6930,9 @@ const v6 = {
       minHeight: minHeightProp,
       minHeightUnit
     } = attributes;
-    const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
+    const overlayColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', overlayColor);

-    const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
+    const gradientClass = (0,external_wp_blockEditor_namespaceObject.__experimentalGetGradientClass)(gradient);

     const minHeight = minHeightUnit ? `${minHeightProp}${minHeightUnit}` : minHeightProp;
     const isImageBackground = IMAGE_BACKGROUND_TYPE === backgroundType;
@@ -7019,16 +6971,16 @@ const v6 = {
       [gradientClass]: !url && gradientClass,
       'has-custom-content-position': !isContentPositionCenter(contentPosition)
     }, getPositionClassName(contentPosition));
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className: classes,
       style
-    }), url && (gradient || customGradient) && dimRatio !== 0 && Object(external_wp_element_["createElement"])("span", {
+    }), url && (gradient || customGradient) && dimRatio !== 0 && (0,external_wp_element_namespaceObject.createElement)("span", {
       "aria-hidden": "true",
       className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
       style: customGradient ? {
         background: customGradient
       } : undefined
-    }), isVideoBackground && url && Object(external_wp_element_["createElement"])("video", {
+    }), isVideoBackground && url && (0,external_wp_element_namespaceObject.createElement)("video", {
       className: "wp-block-cover__video-background",
       autoPlay: true,
       muted: true,
@@ -7036,15 +6988,15 @@ const v6 = {
       playsInline: true,
       src: url,
       style: videoStyle
-    }), Object(external_wp_element_["createElement"])("div", {
+    }), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-cover__inner-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   },

   migrate: migrateDimRatio
 };
 const v5 = {
-  attributes: { ...cover_deprecated_blockAttributes,
+  attributes: { ...deprecated_blockAttributes,
     minHeight: {
       type: 'number'
     },
@@ -7075,9 +7027,9 @@ const v5 = {
       url,
       minHeight
     } = attributes;
-    const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
+    const overlayColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', overlayColor);

-    const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
+    const gradientClass = (0,external_wp_blockEditor_namespaceObject.__experimentalGetGradientClass)(gradient);

     const style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};

@@ -7100,30 +7052,30 @@ const v5 = {
       'has-background-gradient': customGradient,
       [gradientClass]: !url && gradientClass
     });
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: classes,
       style: style
-    }, url && (gradient || customGradient) && dimRatio !== 0 && Object(external_wp_element_["createElement"])("span", {
+    }, url && (gradient || customGradient) && dimRatio !== 0 && (0,external_wp_element_namespaceObject.createElement)("span", {
       "aria-hidden": "true",
       className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
       style: customGradient ? {
         background: customGradient
       } : undefined
-    }), VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_wp_element_["createElement"])("video", {
+    }), VIDEO_BACKGROUND_TYPE === backgroundType && url && (0,external_wp_element_namespaceObject.createElement)("video", {
       className: "wp-block-cover__video-background",
       autoPlay: true,
       muted: true,
       loop: true,
       src: url
-    }), Object(external_wp_element_["createElement"])("div", {
+    }), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-cover__inner-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   },

   migrate: migrateDimRatio
 };
 const v4 = {
-  attributes: { ...cover_deprecated_blockAttributes,
+  attributes: { ...deprecated_blockAttributes,
     minHeight: {
       type: 'number'
     },
@@ -7154,9 +7106,9 @@ const v4 = {
       url,
       minHeight
     } = attributes;
-    const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
+    const overlayColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', overlayColor);

-    const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
+    const gradientClass = (0,external_wp_blockEditor_namespaceObject.__experimentalGetGradientClass)(gradient);

     const style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};

@@ -7179,30 +7131,30 @@ const v4 = {
       'has-background-gradient': customGradient,
       [gradientClass]: !url && gradientClass
     });
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: classes,
       style: style
-    }, url && (gradient || customGradient) && dimRatio !== 0 && Object(external_wp_element_["createElement"])("span", {
+    }, url && (gradient || customGradient) && dimRatio !== 0 && (0,external_wp_element_namespaceObject.createElement)("span", {
       "aria-hidden": "true",
       className: classnames_default()('wp-block-cover__gradient-background', gradientClass),
       style: customGradient ? {
         background: customGradient
       } : undefined
-    }), VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_wp_element_["createElement"])("video", {
+    }), VIDEO_BACKGROUND_TYPE === backgroundType && url && (0,external_wp_element_namespaceObject.createElement)("video", {
       className: "wp-block-cover__video-background",
       autoPlay: true,
       muted: true,
       loop: true,
       src: url
-    }), Object(external_wp_element_["createElement"])("div", {
+    }), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-cover__inner-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   },

   migrate: migrateDimRatio
 };
 const v3 = {
-  attributes: { ...cover_deprecated_blockAttributes,
+  attributes: { ...deprecated_blockAttributes,
     title: {
       type: 'string',
       source: 'html',
@@ -7232,7 +7184,7 @@ const v3 = {
       title,
       url
     } = attributes;
-    const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
+    const overlayColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', overlayColor);
     const style = backgroundType === IMAGE_BACKGROUND_TYPE ? backgroundImageStyles(url) : {};

     if (!overlayColorClass) {
@@ -7248,16 +7200,16 @@ const v3 = {
       'has-parallax': hasParallax,
       [`has-${contentAlign}-content`]: contentAlign !== 'center'
     });
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: classes,
       style: style
-    }, VIDEO_BACKGROUND_TYPE === backgroundType && url && Object(external_wp_element_["createElement"])("video", {
+    }, VIDEO_BACKGROUND_TYPE === backgroundType && url && (0,external_wp_element_namespaceObject.createElement)("video", {
       className: "wp-block-cover__video-background",
       autoPlay: true,
       muted: true,
       loop: true,
       src: url
-    }), !external_wp_blockEditor_["RichText"].isEmpty(title) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(title) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "p",
       className: "wp-block-cover-text",
       value: title
@@ -7268,17 +7220,17 @@ const v3 = {
     const newAttribs = { ...attributes,
       dimRatio: !attributes.url ? 100 : attributes.dimRatio
     };
-    return [Object(external_lodash_["omit"])(newAttribs, ['title', 'contentAlign']), [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+    return [(0,external_lodash_namespaceObject.omit)(newAttribs, ['title', 'contentAlign']), [(0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
       content: attributes.title,
       align: attributes.contentAlign,
       fontSize: 'large',
-      placeholder: Object(external_wp_i18n_["__"])('Write title…')
+      placeholder: (0,external_wp_i18n_namespaceObject.__)('Write title…')
     })]];
   }

 };
 const v2 = {
-  attributes: { ...cover_deprecated_blockAttributes,
+  attributes: { ...deprecated_blockAttributes,
     title: {
       type: 'string',
       source: 'html',
@@ -7310,7 +7262,7 @@ const v2 = {
       overlayColor,
       customOverlayColor
     } = attributes;
-    const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
+    const overlayColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', overlayColor);
     const style = backgroundImageStyles(url);

     if (!overlayColorClass) {
@@ -7322,10 +7274,10 @@ const v2 = {
       'has-parallax': hasParallax,
       [`has-${contentAlign}-content`]: contentAlign !== 'center'
     }, align ? `align${align}` : null);
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: classes,
       style: style
-    }, !external_wp_blockEditor_["RichText"].isEmpty(title) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(title) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "p",
       className: "wp-block-cover-image-text",
       value: title
@@ -7336,17 +7288,17 @@ const v2 = {
     const newAttribs = { ...attributes,
       dimRatio: !attributes.url ? 100 : attributes.dimRatio
     };
-    return [Object(external_lodash_["omit"])(newAttribs, ['title', 'contentAlign', 'align']), [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+    return [(0,external_lodash_namespaceObject.omit)(newAttribs, ['title', 'contentAlign', 'align']), [(0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
       content: attributes.title,
       align: attributes.contentAlign,
       fontSize: 'large',
-      placeholder: Object(external_wp_i18n_["__"])('Write title…')
+      placeholder: (0,external_wp_i18n_namespaceObject.__)('Write title…')
     })]];
   }

 };
 const v1 = {
-  attributes: { ...cover_deprecated_blockAttributes,
+  attributes: { ...deprecated_blockAttributes,
     title: {
       type: 'string',
       source: 'html',
@@ -7380,10 +7332,10 @@ const v1 = {
       'has-background-dim': dimRatio !== 0,
       'has-parallax': hasParallax
     }, align ? `align${align}` : null);
-    return Object(external_wp_element_["createElement"])("section", {
+    return (0,external_wp_element_namespaceObject.createElement)("section", {
       className: classes,
       style: style
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "h2",
       value: title
     }));
@@ -7393,11 +7345,11 @@ const v1 = {
     const newAttribs = { ...attributes,
       dimRatio: !attributes.url ? 100 : attributes.dimRatio
     };
-    return [Object(external_lodash_["omit"])(newAttribs, ['title', 'contentAlign', 'align']), [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+    return [(0,external_lodash_namespaceObject.omit)(newAttribs, ['title', 'contentAlign', 'align']), [(0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
       content: attributes.title,
       align: attributes.contentAlign,
       fontSize: 'large',
-      placeholder: Object(external_wp_i18n_["__"])('Write title…')
+      placeholder: (0,external_wp_i18n_namespaceObject.__)('Write title…')
     })]];
   }

@@ -7405,16 +7357,15 @@ const v1 = {
 /* harmony default export */ var cover_deprecated = ([v7, v6, v5, v4, v3, v2, v1]);

 // EXTERNAL MODULE: ./node_modules/fast-average-color/dist/index.js
-var dist = __webpack_require__("FEKF");
+var dist = __webpack_require__(5027);
 var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
+;// CONCATENATED MODULE: ./node_modules/colord/index.mjs
+var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);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(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};

-// EXTERNAL MODULE: ./node_modules/colord/index.mjs
-var colord = __webpack_require__("fHnH");
-
-// EXTERNAL MODULE: ./node_modules/colord/plugins/names.mjs
-var names = __webpack_require__("abaT");
+;// CONCATENATED MODULE: ./node_modules/colord/plugins/names.mjs
+/* harmony default export */ function names(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g)}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"])}

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/edit.js



@@ -7442,22 +7393,22 @@ var names = __webpack_require__("abaT");
  */


-Object(colord["b" /* extend */])([names["a" /* default */]]);
+k([names]);
 const {
   __Visualizer: BoxControlVisualizer
-} = external_wp_components_["__experimentalBoxControl"];
+} = external_wp_components_namespaceObject.__experimentalBoxControl;

 function getInnerBlocksTemplate(attributes) {
   return [['core/paragraph', {
     align: 'center',
-    placeholder: Object(external_wp_i18n_["__"])('Write title…'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write title…'),
     ...attributes
   }]];
 }

 function retrieveFastAverageColor() {
   if (!retrieveFastAverageColor.fastAverageColor) {
-    retrieveFastAverageColor.fastAverageColor = new dist_default.a();
+    retrieveFastAverageColor.fastAverageColor = new (dist_default())();
   }

   return retrieveFastAverageColor.fastAverageColor;
@@ -7470,12 +7421,12 @@ function CoverHeightInput(_ref) {
     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 [temporaryInput, setTemporaryInput] = (0,external_wp_element_namespaceObject.useState)(null);
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(external_wp_blockEditor_namespaceObject.__experimentalUnitControl);
   const inputId = `block-cover-height-input-${instanceId}`;
   const isPx = unit === 'px';
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-    availableUnits: Object(external_wp_blockEditor_["useSetting"])('spacing.units') || ['px', 'em', 'rem', 'vw', 'vh'],
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: (0,external_wp_blockEditor_namespaceObject.useSetting)('spacing.units') || ['px', 'em', 'rem', 'vw', 'vh'],
     defaultValues: {
       px: '430',
       em: '20',
@@ -7509,10 +7460,10 @@ function CoverHeightInput(_ref) {

   const inputValue = temporaryInput !== null ? temporaryInput : value;
   const min = isPx ? COVER_MIN_HEIGHT : 0;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
-    label: Object(external_wp_i18n_["__"])('Minimum height of cover'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Minimum height of cover'),
     id: inputId
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalUnitControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalUnitControl, {
     id: inputId,
     isResetValueOnUnitChange: true,
     min: min,
@@ -7547,8 +7498,8 @@ function ResizableCover(_ref2) {
     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 */])({
+  const [isResizing, setIsResizing] = (0,external_wp_element_namespaceObject.useState)(false);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ResizableBox, _extends({
     className: classnames_default()(className, {
       'is-resizing': isResizing
     }),
@@ -7590,8 +7541,8 @@ 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"])(() => {
+  const [isDark, setIsDark] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // If opacity is lower than 50 the dominant color is the image or video color,
     // so use that color for the dark mode computation.
     if (url && dimRatio <= 50 && elementRef.current) {
@@ -7600,7 +7551,7 @@ function useCoverIsDark(url) {
       });
     }
   }, [url, url && dimRatio <= 50 && elementRef.current, setIsDark]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // If opacity is greater than 50 the dominant color is the overlay color,
     // so use that color for the dark mode computation.
     if (dimRatio > 50 || !url) {
@@ -7610,10 +7561,10 @@ function useCoverIsDark(url) {
         return;
       }

-      setIsDark(Object(colord["a" /* colord */])(overlayColor).isDark());
+      setIsDark(w(overlayColor).isDark());
     }
   }, [overlayColor, dimRatio > 50 || !url, setIsDark]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!url && !overlayColor) {
       // Reset isDark
       setIsDark(false);
@@ -7622,7 +7573,7 @@ function useCoverIsDark(url) {
   return isDark;
 }

-function edit_mediaPosition(_ref3) {
+function mediaPosition(_ref3) {
   let {
     x,
     y
@@ -7640,7 +7591,7 @@ function edit_mediaPosition(_ref3) {
  */


-const edit_isTemporaryMedia = (id, url) => !id && Object(external_wp_blob_["isBlobURL"])(url);
+const isTemporaryMedia = (id, url) => !id && (0,external_wp_blob_namespaceObject.isBlobURL)(url);

 function CoverPlaceholder(_ref4) {
   let {
@@ -7655,13 +7606,13 @@ function CoverPlaceholder(_ref4) {
     removeAllNotices,
     createErrorNotice
   } = noticeOperations;
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
-    icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
+    icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
       icon: library_cover
     }),
     labels: {
-      title: Object(external_wp_i18n_["__"])('Cover'),
-      instructions: Object(external_wp_i18n_["__"])('Drag and drop onto this block, upload, or select existing media from your library.')
+      title: (0,external_wp_i18n_namespaceObject.__)('Cover'),
+      instructions: (0,external_wp_i18n_namespaceObject.__)('Drag and drop onto this block, upload, or select existing media from your library.')
     },
     onSelect: onSelectMedia,
     accept: "image/*,video/*",
@@ -7713,12 +7664,12 @@ function CoverEdit(_ref5) {
     gradientClass,
     gradientValue,
     setGradient
-  } = Object(external_wp_blockEditor_["__experimentalUseGradient"])();
+  } = (0,external_wp_blockEditor_namespaceObject.__experimentalUseGradient)();

   const onSelectMedia = attributesFromMedia(setAttributes, dimRatio);
-  const isUploadingMedia = edit_isTemporaryMedia(id, url);
-  const [prevMinHeightValue, setPrevMinHeightValue] = Object(external_wp_element_["useState"])(minHeight);
-  const [prevMinHeightUnit, setPrevMinHeightUnit] = Object(external_wp_element_["useState"])(minHeightUnit);
+  const isUploadingMedia = isTemporaryMedia(id, url);
+  const [prevMinHeightValue, setPrevMinHeightValue] = (0,external_wp_element_namespaceObject.useState)(minHeight);
+  const [prevMinHeightUnit, setPrevMinHeightUnit] = (0,external_wp_element_namespaceObject.useState)(minHeightUnit);
   const isMinFullHeight = minHeightUnit === 'vh' && minHeight === 100;

   const toggleMinFullHeight = () => {
@@ -7762,9 +7713,9 @@ function CoverEdit(_ref5) {
     });
   };

-  const isDarkElement = Object(external_wp_element_["useRef"])();
+  const isDarkElement = (0,external_wp_element_namespaceObject.useRef)();
   const isCoverDark = useCoverIsDark(url, dimRatio, overlayColor.color, isDarkElement);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // This side-effect should not create an undo level.
     markNextChangeAsNotPersistent();
     setAttributes({
@@ -7773,7 +7724,7 @@ function CoverEdit(_ref5) {
   }, [isCoverDark]);
   const isImageBackground = IMAGE_BACKGROUND_TYPE === backgroundType;
   const isVideoBackground = VIDEO_BACKGROUND_TYPE === backgroundType;
-  const [temporaryMinHeight, setTemporaryMinHeight] = Object(external_wp_element_["useState"])(null);
+  const [temporaryMinHeight, setTemporaryMinHeight] = (0,external_wp_element_namespaceObject.useState)(null);
   const minHeightWithUnit = minHeightUnit ? `${minHeight}${minHeightUnit}` : minHeight;
   const isImgElement = !(hasParallax || isRepeated);
   const style = { ...(isImageBackground && !isImgElement ? backgroundImageStyles(url) : undefined),
@@ -7783,51 +7734,51 @@ function CoverEdit(_ref5) {
     backgroundColor: overlayColor.color
   };
   const mediaStyle = {
-    objectPosition: focalPoint && isImgElement ? edit_mediaPosition(focalPoint) : undefined
+    objectPosition: focalPoint && isImgElement ? mediaPosition(focalPoint) : undefined
   };
   const hasBackground = !!(url || overlayColor.color || gradientValue);
   const showFocalPointPicker = isVideoBackground || isImageBackground && (!hasParallax || isRepeated);

   const imperativeFocalPointPreview = value => {
     const [styleOfRef, property] = isDarkElement.current ? [isDarkElement.current.style, 'objectPosition'] : [ref.current.style, 'backgroundPosition'];
-    styleOfRef[property] = edit_mediaPosition(value);
+    styleOfRef[property] = mediaPosition(value);
   };

-  const hasInnerBlocks = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).getBlock(clientId).innerBlocks.length > 0, [clientId]);
-  const controls = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  const hasInnerBlocks = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).getBlock(clientId).innerBlocks.length > 0, [clientId]);
+  const controls = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockAlignmentMatrixControl"], {
-    label: Object(external_wp_i18n_["__"])('Change content position'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBlockAlignmentMatrixControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Change content position'),
     value: contentPosition,
     onChange: nextPosition => setAttributes({
       contentPosition: nextPosition
     }),
     isDisabled: !hasInnerBlocks
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockFullHeightAligmentControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBlockFullHeightAligmentControl, {
     isActive: isMinFullHeight,
     onToggle: toggleMinFullHeight,
     isDisabled: !hasInnerBlocks
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaReplaceFlow, {
     mediaId: id,
     mediaURL: url,
     allowedTypes: shared_ALLOWED_MEDIA_TYPES,
     accept: "image/*,video/*",
     onSelect: onSelectMedia,
-    name: !url ? Object(external_wp_i18n_["__"])('Add Media') : Object(external_wp_i18n_["__"])('Replace')
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, !!url && Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Media settings')
-  }, isImageBackground && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Fixed background'),
+    name: !url ? (0,external_wp_i18n_namespaceObject.__)('Add Media') : (0,external_wp_i18n_namespaceObject.__)('Replace')
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, !!url && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Media settings')
+  }, isImageBackground && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Fixed background'),
     checked: hasParallax,
     onChange: toggleParallax
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Repeated background'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Repeated background'),
     checked: isRepeated,
     onChange: toggleIsRepeated
-  })), showFocalPointPicker && Object(external_wp_element_["createElement"])(external_wp_components_["FocalPointPicker"], {
-    label: Object(external_wp_i18n_["__"])('Focal point picker'),
+  })), showFocalPointPicker && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FocalPointPicker, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Focal point picker'),
     url: url,
     value: focalPoint,
     onDragStart: imperativeFocalPointPreview,
@@ -7835,16 +7786,16 @@ function CoverEdit(_ref5) {
     onChange: newFocalPoint => setAttributes({
       focalPoint: newFocalPoint
     })
-  }), url && isImageBackground && isImgElement && Object(external_wp_element_["createElement"])(external_wp_components_["TextareaControl"], {
-    label: Object(external_wp_i18n_["__"])('Alt text (alternative text)'),
+  }), url && isImageBackground && isImgElement && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextareaControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Alt text (alternative text)'),
     value: alt,
     onChange: newAlt => setAttributes({
       alt: newAlt
     }),
-    help: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
+    help: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
       href: "https://www.w3.org/WAI/tutorials/images/decision-tree"
-    }, Object(external_wp_i18n_["__"])('Describe the purpose of the image')), Object(external_wp_i18n_["__"])('Leave empty if the image is purely decorative.'))
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    }, (0,external_wp_i18n_namespaceObject.__)('Describe the purpose of the image')), (0,external_wp_i18n_namespaceObject.__)('Leave empty if the image is purely decorative.'))
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "secondary",
     isSmall: true,
     className: "block-library-cover__reset-button",
@@ -7856,20 +7807,20 @@ function CoverEdit(_ref5) {
       hasParallax: undefined,
       isRepeated: undefined
     })
-  }, Object(external_wp_i18n_["__"])('Clear Media')))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalPanelColorGradientSettings"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Clear Media')))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalPanelColorGradientSettings, {
     __experimentalHasMultipleOrigins: true,
     __experimentalIsRenderedInSidebar: true,
-    title: Object(external_wp_i18n_["__"])('Overlay'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Overlay'),
     initialOpen: true,
     settings: [{
       colorValue: overlayColor.color,
       gradientValue,
       onColorChange: setOverlayColor,
       onGradientChange: setGradient,
-      label: Object(external_wp_i18n_["__"])('Color')
+      label: (0,external_wp_i18n_namespaceObject.__)('Color')
     }]
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Opacity'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Opacity'),
     value: dimRatio,
     onChange: newDimRation => setAttributes({
       dimRatio: newDimRation
@@ -7878,11 +7829,11 @@ function CoverEdit(_ref5) {
     max: 100,
     step: 10,
     required: true
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, {
     __experimentalGroup: "dimensions"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
     hasValue: () => !!minHeight,
-    label: Object(external_wp_i18n_["__"])('Minimum height'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Minimum height'),
     onDeselect: () => setAttributes({
       minHeight: undefined,
       minHeightUnit: undefined
@@ -7893,7 +7844,7 @@ function CoverEdit(_ref5) {
     }),
     isShownByDefault: true,
     panelId: clientId
-  }, Object(external_wp_element_["createElement"])(CoverHeightInput, {
+  }, (0,external_wp_element_namespaceObject.createElement)(CoverHeightInput, {
     value: temporaryMinHeight || minHeight,
     unit: minHeightUnit,
     onChange: newMinHeight => setAttributes({
@@ -7903,16 +7854,16 @@ function CoverEdit(_ref5) {
       minHeightUnit: nextUnit
     })
   }))));
-  const ref = Object(external_wp_element_["useRef"])();
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     ref
   }); // Check for fontSize support before we pass a fontSize attribute to the innerBlocks.

-  const hasFontSizes = !!((_useSetting = Object(external_wp_blockEditor_["useSetting"])('typography.fontSizes')) !== null && _useSetting !== void 0 && _useSetting.length);
+  const hasFontSizes = !!((_useSetting = (0,external_wp_blockEditor_namespaceObject.useSetting)('typography.fontSizes')) !== null && _useSetting !== void 0 && _useSetting.length);
   const innerBlocksTemplate = getInnerBlocksTemplate({
     fontSize: hasFontSizes ? 'large' : undefined
   });
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)({
     className: 'wp-block-cover__inner-container'
   }, {
     template: innerBlocksTemplate,
@@ -7922,23 +7873,23 @@ function CoverEdit(_ref5) {
   });

   if (!hasInnerBlocks && !hasBackground) {
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, controls, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, blockProps, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, controls, (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, blockProps, {
       className: classnames_default()('is-placeholder', blockProps.className)
-    }), Object(external_wp_element_["createElement"])(CoverPlaceholder, {
+    }), (0,external_wp_element_namespaceObject.createElement)(CoverPlaceholder, {
       noticeUI: noticeUI,
       onSelectMedia: onSelectMedia,
       noticeOperations: noticeOperations,
       style: {
         minHeight: temporaryMinHeight || minHeightWithUnit || undefined
       }
-    }, Object(external_wp_element_["createElement"])("div", {
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-cover__placeholder-background-options"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ColorPalette"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ColorPalette, {
       disableCustomColors: true,
       value: overlayColor.color,
       onChange: setOverlayColor,
       clearable: false
-    }))), Object(external_wp_element_["createElement"])(ResizableCover, {
+    }))), (0,external_wp_element_namespaceObject.createElement)(ResizableCover, {
       className: "block-library-cover__resize-container",
       onResizeStart: () => {
         setAttributes({
@@ -7966,16 +7917,16 @@ function CoverEdit(_ref5) {
     'is-repeated': isRepeated,
     'has-custom-content-position': !isContentPositionCenter(contentPosition)
   }, getPositionClassName(contentPosition));
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, controls, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, blockProps, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, controls, (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, blockProps, {
     className: classnames_default()(classes, blockProps.className),
     style: { ...style,
       ...blockProps.style
     },
     "data-url": url
-  }), Object(external_wp_element_["createElement"])(BoxControlVisualizer, {
+  }), (0,external_wp_element_namespaceObject.createElement)(BoxControlVisualizer, {
     values: styleAttribute === null || styleAttribute === void 0 ? void 0 : (_styleAttribute$spaci = styleAttribute.spacing) === null || _styleAttribute$spaci === void 0 ? void 0 : _styleAttribute$spaci.padding,
     showValues: styleAttribute === null || styleAttribute === void 0 ? void 0 : (_styleAttribute$visua = styleAttribute.visualizers) === null || _styleAttribute$visua === void 0 ? void 0 : _styleAttribute$visua.padding
-  }), Object(external_wp_element_["createElement"])(ResizableCover, {
+  }), (0,external_wp_element_namespaceObject.createElement)(ResizableCover, {
     className: "block-library-cover__resize-container",
     onResizeStart: () => {
       setAttributes({
@@ -7992,7 +7943,7 @@ function CoverEdit(_ref5) {
       setTemporaryMinHeight(null);
     },
     showHandle: isSelected
-  }), Object(external_wp_element_["createElement"])("span", {
+  }), (0,external_wp_element_namespaceObject.createElement)("span", {
     "aria-hidden": "true",
     className: classnames_default()(dimRatioToClass(dimRatio), {
       [overlayColor.class]: overlayColor.class
@@ -8005,13 +7956,13 @@ function CoverEdit(_ref5) {
       backgroundImage: gradientValue,
       ...bgStyle
     }
-  }), url && isImageBackground && isImgElement && Object(external_wp_element_["createElement"])("img", {
+  }), url && isImageBackground && isImgElement && (0,external_wp_element_namespaceObject.createElement)("img", {
     ref: isDarkElement,
     className: "wp-block-cover__image-background",
     alt: alt,
     src: url,
     style: mediaStyle
-  }), url && isVideoBackground && Object(external_wp_element_["createElement"])("video", {
+  }), url && isVideoBackground && (0,external_wp_element_namespaceObject.createElement)("video", {
     ref: isDarkElement,
     className: "wp-block-cover__video-background",
     autoPlay: true,
@@ -8019,28 +7970,28 @@ function CoverEdit(_ref5) {
     loop: true,
     src: url,
     style: mediaStyle
-  }), isUploadingMedia && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), Object(external_wp_element_["createElement"])(CoverPlaceholder, {
+  }), isUploadingMedia && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null), (0,external_wp_element_namespaceObject.createElement)(CoverPlaceholder, {
     disableMediaButtons: true,
     noticeUI: noticeUI,
     onSelectMedia: onSelectMedia,
     noticeOperations: noticeOperations
-  }), Object(external_wp_element_["createElement"])("div", innerBlocksProps)));
+  }), (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps)));
 }

-/* harmony default export */ var cover_edit = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withDispatch"])(dispatch => {
+/* harmony default export */ var cover_edit = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
   const {
     toggleSelection,
     __unstableMarkNextChangeAsNotPersistent
-  } = dispatch(external_wp_blockEditor_["store"]);
+  } = dispatch(external_wp_blockEditor_namespaceObject.store);
   return {
     toggleSelection,
     markNextChangeAsNotPersistent: __unstableMarkNextChangeAsNotPersistent
   };
-}), Object(external_wp_blockEditor_["withColors"])({
+}), (0,external_wp_blockEditor_namespaceObject.withColors)({
   overlayColor: 'background-color'
-}), external_wp_components_["withNotices"], external_wp_compose_["withInstanceId"]])(CoverEdit));
+}), external_wp_components_namespaceObject.withNotices, external_wp_compose_namespaceObject.withInstanceId])(CoverEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/save.js


 /**
@@ -8079,9 +8030,9 @@ function cover_save_save(_ref) {
     minHeight: minHeightProp,
     minHeightUnit
   } = attributes;
-  const overlayColorClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayColor);
+  const overlayColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', overlayColor);

-  const gradientClass = Object(external_wp_blockEditor_["__experimentalGetGradientClass"])(gradient);
+  const gradientClass = (0,external_wp_blockEditor_namespaceObject.__experimentalGetGradientClass)(gradient);

   const minHeight = minHeightUnit ? `${minHeightProp}${minHeightUnit}` : minHeightProp;
   const isImageBackground = IMAGE_BACKGROUND_TYPE === backgroundType;
@@ -8102,10 +8053,10 @@ function cover_save_save(_ref) {
     'is-repeated': isRepeated,
     'has-custom-content-position': !isContentPositionCenter(contentPosition)
   }, getPositionClassName(contentPosition));
-  return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className: classes,
     style
-  }), Object(external_wp_element_["createElement"])("span", {
+  }), (0,external_wp_element_namespaceObject.createElement)("span", {
     "aria-hidden": "true",
     className: classnames_default()(overlayColorClass, dimRatioToClass(dimRatio), 'wp-block-cover__gradient-background', gradientClass, {
       'has-background-dim': dimRatio !== undefined,
@@ -8113,7 +8064,7 @@ function cover_save_save(_ref) {
       [gradientClass]: !url && gradientClass
     }),
     style: bgStyle
-  }), isImageBackground && isImgElement && url && Object(external_wp_element_["createElement"])("img", {
+  }), isImageBackground && isImgElement && url && (0,external_wp_element_namespaceObject.createElement)("img", {
     className: classnames_default()('wp-block-cover__image-background', id ? `wp-image-${id}` : null),
     alt: alt,
     src: url,
@@ -8122,7 +8073,7 @@ function cover_save_save(_ref) {
     },
     "data-object-fit": "cover",
     "data-object-position": objectPosition
-  }), isVideoBackground && url && Object(external_wp_element_["createElement"])("video", {
+  }), isVideoBackground && url && (0,external_wp_element_namespaceObject.createElement)("video", {
     className: classnames_default()('wp-block-cover__video-background', 'intrinsic-ignore'),
     autoPlay: true,
     muted: true,
@@ -8134,12 +8085,12 @@ function cover_save_save(_ref) {
     },
     "data-object-fit": "cover",
     "data-object-position": objectPosition
-  }), Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useInnerBlocksProps"].save({
+  }), (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useInnerBlocksProps.save({
     className: 'wp-block-cover__inner-container'
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/transforms.js
 /**
  * WordPress dependencies
  */
@@ -8165,7 +8116,7 @@ const cover_transforms_transforms = {
         anchor,
         style
       } = _ref;
-      return Object(external_wp_blocks_["createBlock"])('core/cover', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/cover', {
         dimRatio: 50,
         url,
         alt,
@@ -8177,7 +8128,7 @@ const cover_transforms_transforms = {
             duotone: style === null || style === void 0 ? void 0 : (_style$color = style.color) === null || _style$color === void 0 ? void 0 : _style$color.duotone
           }
         }
-      }, [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+      }, [(0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
         content: caption,
         fontSize: 'large'
       })]);
@@ -8193,14 +8144,14 @@ const cover_transforms_transforms = {
         id,
         anchor
       } = _ref2;
-      return Object(external_wp_blocks_["createBlock"])('core/cover', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/cover', {
         dimRatio: 50,
         url: src,
         align,
         id,
         backgroundType: VIDEO_BACKGROUND_TYPE,
         anchor
-      }, [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+      }, [(0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
         content: caption,
         fontSize: 'large'
       })]);
@@ -8236,7 +8187,7 @@ const cover_transforms_transforms = {
         gradient,
         style
       } = _ref4;
-      return Object(external_wp_blocks_["createBlock"])('core/cover', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/cover', {
         align,
         anchor,
         overlayColor: backgroundColor,
@@ -8279,7 +8230,7 @@ const cover_transforms_transforms = {
         anchor,
         style
       } = _ref6;
-      return Object(external_wp_blocks_["createBlock"])('core/image', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
         caption: title,
         url,
         alt,
@@ -8322,7 +8273,7 @@ const cover_transforms_transforms = {
         id,
         anchor
       } = _ref8;
-      return Object(external_wp_blocks_["createBlock"])('core/video', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/video', {
         caption: title,
         src: url,
         id,
@@ -8334,7 +8285,7 @@ const cover_transforms_transforms = {
 };
 /* harmony default export */ var cover_transforms = (cover_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/cover/index.js
 /**
  * WordPress dependencies
  */
@@ -8456,7 +8407,7 @@ const cover_settings = {
       name: 'core/paragraph',
       attributes: {
         customFontSize: 48,
-        content: Object(external_wp_i18n_["__"])('<strong>Snow Patrol</strong>'),
+        content: (0,external_wp_i18n_namespaceObject.__)('<strong>Snow Patrol</strong>'),
         align: 'center'
       }
     }]
@@ -8467,10 +8418,29 @@ const cover_settings = {
   deprecated: cover_deprecated
 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js + 1 modules
-var library_edit = __webpack_require__("B9Az");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const pencil = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_pencil = (pencil);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
+/**
+ * Internal dependencies
+ */
+
+/* harmony default export */ var library_edit = (library_pencil);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-controls.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-controls.js


 /**
@@ -8482,7 +8452,7 @@ var library_edit = __webpack_require__("B9Az");


 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.');
+  return checked ? (0,external_wp_i18n_namespaceObject.__)('This embed will preserve its aspect ratio when the browser is resized.') : (0,external_wp_i18n_namespaceObject.__)('This embed may not preserve its aspect ratio when the browser is resized.');
 }

 const EmbedControls = _ref => {
@@ -8494,16 +8464,16 @@ const EmbedControls = _ref => {
     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"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, showEditButton && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     className: "components-toolbar__control",
-    label: Object(external_wp_i18n_["__"])('Edit URL'),
-    icon: library_edit["a" /* default */],
+    label: (0,external_wp_i18n_namespaceObject.__)('Edit URL'),
+    icon: library_edit,
     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'),
+  }))), themeSupportsResponsive && blockSupportsResponsive && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Media settings'),
     className: "blocks-responsive"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Resize for smaller devices'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Resize for smaller devices'),
     checked: allowResponsive,
     help: getResponsiveHelp,
     onChange: toggleResponsive
@@ -8512,161 +8482,161 @@ const EmbedControls = _ref => {

 /* harmony default export */ var embed_controls = (EmbedControls);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/icons.js


 /**
  * WordPress dependencies
  */

-const embedContentIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedContentIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"
 }));
-const embedAudioIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedAudioIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"
 }));
-const embedPhotoIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedPhotoIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"
 }));
-const embedVideoIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedVideoIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"
 }));
 const embedTwitterIcon = {
   foreground: '#1da1f2',
-  src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  src: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     xmlns: "http://www.w3.org/2000/svg",
     viewBox: "0 0 24 24"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["G"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.G, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     d: "M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"
   })))
 };
 const embedYouTubeIcon = {
   foreground: '#ff0000',
-  src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  src: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     viewBox: "0 0 24 24"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     d: "M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"
   }))
 };
 const embedFacebookIcon = {
   foreground: '#3b5998',
-  src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  src: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     viewBox: "0 0 24 24"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     d: "M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"
   }))
 };
-const embedInstagramIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedInstagramIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["G"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.G, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"
 })));
 const embedWordPressIcon = {
   foreground: '#0073AA',
-  src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  src: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     viewBox: "0 0 24 24"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["G"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.G, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     d: "M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"
   })))
 };
 const embedSpotifyIcon = {
   foreground: '#1db954',
-  src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  src: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     viewBox: "0 0 24 24"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"
   }))
 };
-const embedFlickrIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedFlickrIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"
 }));
 const embedVimeoIcon = {
   foreground: '#1ab7ea',
-  src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  src: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     xmlns: "http://www.w3.org/2000/svg",
     viewBox: "0 0 24 24"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["G"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.G, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     d: "M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"
   })))
 };
-const embedRedditIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedRedditIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"
 }));
 const embedTumblrIcon = {
   foreground: '#35465c',
-  src: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  src: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     viewBox: "0 0 24 24"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     d: "M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"
   }))
 };
-const embedAmazonIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedAmazonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"
 }));
-const embedAnimotoIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedAnimotoIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",
   fill: "#4bc7ee"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",
   fill: "#d4cdcb"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",
   fill: "#c3d82e"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",
   fill: "#e4ecb0"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "m.0206909 21 19.5468091-9.063 1.6621 2.8344z",
   fill: "#209dbd"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",
   fill: "#7cb3c9"
 }));
-const embedDailymotionIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedDailymotionIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",
   fill: "#333436"
 }));
-const embedPinterestIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedPinterestIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"
 }));
-const embedWolframIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const embedWolframIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   viewBox: "0 0 44 44"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M32.59521,22.001l4.31885-4.84473-6.34131-1.38379.646-6.459-5.94336,2.61035L22,6.31934l-3.27344,5.60351L12.78418,9.3125l.645,6.458L7.08643,17.15234,11.40479,21.999,7.08594,26.84375l6.34131,1.38379-.64551,6.458,5.94287-2.60938L22,37.68066l3.27344-5.60351,5.94287,2.61035-.64551-6.458,6.34277-1.38183Zm.44385,2.75244L30.772,23.97827l-1.59558-2.07391,1.97888.735Zm-8.82147,6.1579L22.75,33.424V30.88977l1.52228-2.22168ZM18.56226,13.48816,19.819,15.09534l-2.49219-.88642L15.94037,12.337Zm6.87719.00116,2.62043-1.15027-1.38654,1.86981L24.183,15.0946Zm3.59357,2.6029-1.22546,1.7381.07525-2.73486,1.44507-1.94867ZM22,29.33008l-2.16406-3.15686L22,23.23688l2.16406,2.93634Zm-4.25458-9.582-.10528-3.836,3.60986,1.284v3.73242Zm5.00458-2.552,3.60986-1.284-.10528,3.836L22.75,20.92853Zm-7.78174-1.10559-.29352-2.94263,1.44245,1.94739.07519,2.73321Zm2.30982,5.08319,3.50817,1.18164-2.16247,2.9342-3.678-1.08447Zm2.4486,7.49285L21.25,30.88977v2.53485L19.78052,30.91Zm3.48707-6.31121,3.50817-1.18164,2.33228,3.03137-3.678,1.08447Zm10.87219-4.28113-2.714,3.04529L28.16418,19.928l1.92176-2.72565ZM24.06036,12.81769l-2.06012,2.6322-2.059-2.63318L22,9.292ZM9.91455,18.07227l4.00079-.87195,1.921,2.72735-3.20794,1.19019Zm2.93024,4.565,1.9801-.73462L13.228,23.97827l-2.26838.77429Zm-1.55591,3.58819L13.701,25.4021l2.64935.78058-2.14447.67853Zm3.64868,1.977L18.19,27.17334l.08313,3.46332L14.52979,32.2793Zm10.7876,2.43549.08447-3.464,3.25165,1.03052.407,4.07684Zm4.06824-3.77478-2.14545-.68,2.65063-.781,2.41266.825Z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-loading.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-loading.js


 /**
@@ -8675,13 +8645,13 @@ const embedWolframIcon = Object(external_wp_element_["createElement"])(external_



-const EmbedLoading = () => Object(external_wp_element_["createElement"])("div", {
+const EmbedLoading = () => (0,external_wp_element_namespaceObject.createElement)("div", {
   className: "wp-block-embed is-loading"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('Embedding…')));
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('Embedding…')));

 /* harmony default export */ var embed_loading = (EmbedLoading);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-placeholder.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-placeholder.js


 /**
@@ -8702,46 +8672,46 @@ const EmbedPlaceholder = _ref => {
     fallback,
     tryAgain
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
-    icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
+    icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
       icon: icon,
       showColors: true
     }),
     label: label,
     className: "wp-block-embed",
-    instructions: Object(external_wp_i18n_["__"])('Paste a link to the content you want to display on your site.')
-  }, Object(external_wp_element_["createElement"])("form", {
+    instructions: (0,external_wp_i18n_namespaceObject.__)('Paste a link to the content you want to display on your site.')
+  }, (0,external_wp_element_namespaceObject.createElement)("form", {
     onSubmit: onSubmit
-  }, Object(external_wp_element_["createElement"])("input", {
+  }, (0,external_wp_element_namespaceObject.createElement)("input", {
     type: "url",
     value: value || '',
     className: "components-placeholder__input",
     "aria-label": label,
-    placeholder: Object(external_wp_i18n_["__"])('Enter URL to embed here…'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Enter URL to embed here…'),
     onChange: onChange
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "primary",
     type: "submit"
-  }, Object(external_wp_i18n_["_x"])('Embed', 'button label'))), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_i18n_namespaceObject._x)('Embed', 'button label'))), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "components-placeholder__learn-more"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-    href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/embeds/')
-  }, Object(external_wp_i18n_["__"])('Learn more about embeds'))), cannotEmbed && Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+    href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/embeds/')
+  }, (0,external_wp_i18n_namespaceObject.__)('Learn more about embeds'))), cannotEmbed && (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "components-placeholder__error"
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "components-placeholder__instructions"
-  }, Object(external_wp_i18n_["__"])('Sorry, this content could not be embedded.')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Sorry, this content could not be embedded.')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "secondary",
     onClick: tryAgain
-  }, Object(external_wp_i18n_["_x"])('Try again', 'button label')), ' ', Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_i18n_namespaceObject._x)('Try again', 'button label')), ' ', (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "secondary",
     onClick: fallback
-  }, Object(external_wp_i18n_["_x"])('Convert to link', 'button label'))));
+  }, (0,external_wp_i18n_namespaceObject._x)('Convert to link', 'button label'))));
 };

 /* harmony default export */ var embed_placeholder = (EmbedPlaceholder);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/wp-embed-preview.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/wp-embed-preview.js



@@ -8762,8 +8732,8 @@ function WpEmbedPreview(_ref) {
   let {
     html
   } = _ref;
-  const ref = Object(external_wp_element_["useRef"])();
-  const props = Object(external_wp_element_["useMemo"])(() => {
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const props = (0,external_wp_element_namespaceObject.useMemo)(() => {
     const doc = new window.DOMParser().parseFromString(html, 'text/html');
     const iframe = doc.querySelector('iframe');
     const iframeProps = {};
@@ -8778,7 +8748,7 @@ function WpEmbedPreview(_ref) {
     });
     return iframeProps;
   }, [html]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     const {
       ownerDocument
     } = ref.current;
@@ -8822,15 +8792,15 @@ function WpEmbedPreview(_ref) {
       defaultView.removeEventListener('message', resizeWPembeds);
     };
   }, []);
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-embed__wrapper"
-  }, Object(external_wp_element_["createElement"])("iframe", Object(esm_extends["a" /* default */])({
-    ref: Object(external_wp_compose_["useMergeRefs"])([ref, Object(external_wp_compose_["useFocusableIframe"])()]),
+  }, (0,external_wp_element_namespaceObject.createElement)("iframe", _extends({
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, (0,external_wp_compose_namespaceObject.useFocusableIframe)()]),
     title: props.title
   }, props)));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-preview.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/embed-preview.js


 /**
@@ -8857,7 +8827,7 @@ function WpEmbedPreview(_ref) {



-class embed_preview_EmbedPreview extends external_wp_element_["Component"] {
+class EmbedPreview extends external_wp_element_namespaceObject.Component {
   constructor() {
     super(...arguments);
     this.hideOverlay = this.hideOverlay.bind(this);
@@ -8913,63 +8883,63 @@ class embed_preview_EmbedPreview extends external_wp_element_["Component"] {
     const html = 'photo' === type ? getPhotoHtml(preview) : preview.html;
     const parsedHost = new URL(url).host.split('.');
     const parsedHostBaseUrl = parsedHost.splice(parsedHost.length - 2, parsedHost.length - 1).join('.');
-    const iframeTitle = Object(external_wp_i18n_["sprintf"])( // translators: %s: host providing embed content e.g: www.youtube.com
-    Object(external_wp_i18n_["__"])('Embedded content from %s'), parsedHostBaseUrl);
+    const iframeTitle = (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: host providing embed content e.g: www.youtube.com
+    (0,external_wp_i18n_namespaceObject.__)('Embedded content from %s'), parsedHostBaseUrl);
     const sandboxClassnames = dedupe_default()(type, className, 'wp-block-embed__wrapper'); // Disabled because the overlay div doesn't actually have a role or functionality
     // as far as the user is concerned. We're just catching the first click so that
     // the block can be selected without interacting with the embed preview that the overlay covers.

     /* eslint-disable jsx-a11y/no-static-element-interactions */

-    const embedWrapper = 'wp-embed' === type ? Object(external_wp_element_["createElement"])(WpEmbedPreview, {
+    const embedWrapper = 'wp-embed' === type ? (0,external_wp_element_namespaceObject.createElement)(WpEmbedPreview, {
       html: html
-    }) : Object(external_wp_element_["createElement"])("div", {
+    }) : (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-embed__wrapper"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["SandBox"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SandBox, {
       html: html,
       scripts: scripts,
       title: iframeTitle,
       type: sandboxClassnames,
       onFocus: this.hideOverlay
-    }), !interactive && Object(external_wp_element_["createElement"])("div", {
+    }), !interactive && (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "block-library-embed__interactive-overlay",
       onMouseUp: this.hideOverlay
     }));
     /* eslint-enable jsx-a11y/no-static-element-interactions */

-    return Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: dedupe_default()(className, 'wp-block-embed', {
         'is-type-video': 'video' === type
       })
-    }, previewable ? embedWrapper : Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
-      icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+    }, previewable ? embedWrapper : (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
+      icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
         icon: icon,
         showColors: true
       }),
       label: label
-    }, Object(external_wp_element_["createElement"])("p", {
+    }, (0,external_wp_element_namespaceObject.createElement)("p", {
       className: "components-placeholder__error"
-    }, Object(external_wp_element_["createElement"])("a", {
+    }, (0,external_wp_element_namespaceObject.createElement)("a", {
       href: url
-    }, url)), Object(external_wp_element_["createElement"])("p", {
+    }, url)), (0,external_wp_element_namespaceObject.createElement)("p", {
       className: "components-placeholder__error"
-    }, Object(external_wp_i18n_["sprintf"])(
+    }, (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: host providing embed content e.g: www.youtube.com */
-    Object(external_wp_i18n_["__"])("Embedded content from %s can't be previewed in the editor."), parsedHostBaseUrl))), (!external_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+    (0,external_wp_i18n_namespaceObject.__)("Embedded content from %s can't be previewed in the editor."), parsedHostBaseUrl))), (!external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) || isSelected) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
       tagName: "figcaption",
-      placeholder: Object(external_wp_i18n_["__"])('Add caption'),
+      placeholder: (0,external_wp_i18n_namespaceObject.__)('Add caption'),
       value: caption,
       onChange: onCaptionChange,
       inlineToolbar: true,
-      __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
+      __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'))
     }));
   }

 }

-/* harmony default export */ var embed_preview = (embed_preview_EmbedPreview);
+/* harmony default export */ var embed_preview = (EmbedPreview);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/edit.js


 /**
@@ -9013,24 +8983,24 @@ const EmbedEdit = props => {
     onFocus
   } = props;
   const defaultEmbedInfo = {
-    title: Object(external_wp_i18n_["_x"])('Embed', 'block title'),
+    title: (0,external_wp_i18n_namespaceObject._x)('Embed', 'block title'),
     icon: embedContentIcon
   };
   const {
     icon,
     title
   } = getEmbedInfoByProvider(providerNameSlug) || defaultEmbedInfo;
-  const [url, setURL] = Object(external_wp_element_["useState"])(attributesUrl);
-  const [isEditingURL, setIsEditingURL] = Object(external_wp_element_["useState"])(false);
+  const [url, setURL] = (0,external_wp_element_namespaceObject.useState)(attributesUrl);
+  const [isEditingURL, setIsEditingURL] = (0,external_wp_element_namespaceObject.useState)(false);
   const {
     invalidateResolution
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
   const {
     preview,
     fetching,
     themeSupportsResponsive,
     cannotEmbed
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _embedPreview$data;

     const {
@@ -9038,7 +9008,7 @@ const EmbedEdit = props => {
       isPreviewEmbedFallback,
       isRequestingEmbedPreview,
       getThemeSupports
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);

     if (!attributesUrl) {
       return {
@@ -9092,7 +9062,7 @@ const EmbedEdit = props => {
     });
   };

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!(preview !== null && preview !== void 0 && preview.html) || !cannotEmbed || fetching) {
       return;
     } // At this stage, we're not fetching the preview and know it can't be embedded,
@@ -9107,7 +9077,7 @@ const EmbedEdit = props => {
     });
   }, [preview === null || preview === void 0 ? void 0 : preview.html, attributesUrl]); // Handle incoming preview

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (preview && !isEditingURL) {
       // Even though we set attributes that get derived from the preview,
       // we don't access them directly because for the initial render,
@@ -9128,19 +9098,19 @@ const EmbedEdit = props => {
       }
     }
   }, [preview, isEditingURL]);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();

   if (fetching) {
-    return Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], blockProps, Object(external_wp_element_["createElement"])(embed_loading, null));
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.View, blockProps, (0,external_wp_element_namespaceObject.createElement)(embed_loading, null));
   } // translators: %s: type of embed e.g: "YouTube", "Twitter", etc. "Embed" is used when no specific type exists


-  const label = Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('%s URL'), title); // No preview, or we can't embed the current URL, or we've clicked the edit button.
+  const label = (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('%s URL'), title); // No preview, or we can't embed the current URL, or we've clicked the edit button.

   const showEmbedPlaceholder = !preview || cannotEmbed || isEditingURL;

   if (showEmbedPlaceholder) {
-    return Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], blockProps, Object(external_wp_element_["createElement"])(embed_placeholder, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.View, blockProps, (0,external_wp_element_namespaceObject.createElement)(embed_placeholder, {
       icon: icon,
       label: label,
       onFocus: onFocus,
@@ -9157,7 +9127,7 @@ const EmbedEdit = props => {
       value: url,
       cannotEmbed: cannotEmbed,
       onChange: event => setURL(event.target.value),
-      fallback: () => util_fallback(url, onReplace),
+      fallback: () => fallback(url, onReplace),
       tryAgain: () => {
         invalidateResolution('getEmbedPreview', [url]);
       }
@@ -9179,14 +9149,14 @@ const EmbedEdit = props => {
     className: classFromPreview
   } = getMergedAttributes();
   const className = classnames_default()(classFromPreview, props.className);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(embed_controls, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(embed_controls, {
     showEditButton: preview && !cannotEmbed,
     themeSupportsResponsive: themeSupportsResponsive,
     blockSupportsResponsive: responsive,
     allowResponsive: allowResponsive,
     toggleResponsive: toggleResponsive,
     switchBackToURLInput: () => setIsEditingURL(true)
-  }), Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], blockProps, Object(external_wp_element_["createElement"])(embed_preview, {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.View, blockProps, (0,external_wp_element_namespaceObject.createElement)(embed_preview, {
     preview: preview,
     previewable: previewable,
     className: className,
@@ -9205,7 +9175,7 @@ const EmbedEdit = props => {

 /* harmony default export */ var embed_edit = (EmbedEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/save.js


 /**
@@ -9237,19 +9207,19 @@ function embed_save_save(_ref) {
     [`is-provider-${providerNameSlug}`]: providerNameSlug,
     [`wp-block-embed-${providerNameSlug}`]: providerNameSlug
   });
-  return Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-embed__wrapper"
   }, `\n${url}\n`
   /* URL needs to be on its own line. */
-  ), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  ), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "figcaption",
     value: caption
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/transforms.js
 /**
  * WordPress dependencies
  */
@@ -9315,7 +9285,7 @@ const embed_transforms_transforms = {
       return node.nodeName === 'P' && /^\s*(https?:\/\/\S+)\s*$/i.test(node.textContent) && ((_node$textContent = node.textContent) === null || _node$textContent === void 0 ? void 0 : (_node$textContent$mat = _node$textContent.match(/https/gi)) === null || _node$textContent$mat === void 0 ? void 0 : _node$textContent$mat.length) === 1;
     },
     transform: node => {
-      return Object(external_wp_blocks_["createBlock"])(EMBED_BLOCK, {
+      return (0,external_wp_blocks_namespaceObject.createBlock)(EMBED_BLOCK, {
         url: node.textContent.trim()
       });
     }
@@ -9340,7 +9310,7 @@ const embed_transforms_transforms = {
         value += `<br />${caption}`;
       }

-      return Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
         content: value
       });
     }
@@ -9348,7 +9318,7 @@ const embed_transforms_transforms = {
 };
 /* harmony default export */ var embed_transforms = (embed_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/variations.js
 /**
  * WordPress dependencies
  */
@@ -9366,12 +9336,12 @@ const embed_transforms_transforms = {
  * @type {WPBlockVariation[]}
  */

-const embed_variations_variations = [{
+const variations_variations = [{
   name: 'twitter',
   title: 'Twitter',
   icon: embedTwitterIcon,
-  keywords: ['tweet', Object(external_wp_i18n_["__"])('social')],
-  description: Object(external_wp_i18n_["__"])('Embed a tweet.'),
+  keywords: ['tweet', (0,external_wp_i18n_namespaceObject.__)('social')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a tweet.'),
   patterns: [/^https?:\/\/(www\.)?twitter\.com\/.+/i],
   attributes: {
     providerNameSlug: 'twitter',
@@ -9381,8 +9351,8 @@ const embed_variations_variations = [{
   name: 'youtube',
   title: 'YouTube',
   icon: embedYouTubeIcon,
-  keywords: [Object(external_wp_i18n_["__"])('music'), Object(external_wp_i18n_["__"])('video')],
-  description: Object(external_wp_i18n_["__"])('Embed a YouTube video.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('music'), (0,external_wp_i18n_namespaceObject.__)('video')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a YouTube video.'),
   patterns: [/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i, /^https?:\/\/youtu\.be\/.+/i],
   attributes: {
     providerNameSlug: 'youtube',
@@ -9394,8 +9364,8 @@ const embed_variations_variations = [{
   name: 'facebook',
   title: 'Facebook',
   icon: embedFacebookIcon,
-  keywords: [Object(external_wp_i18n_["__"])('social')],
-  description: Object(external_wp_i18n_["__"])('Embed a Facebook post.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('social')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a Facebook post.'),
   scope: ['block'],
   patterns: [],
   attributes: {
@@ -9409,8 +9379,8 @@ const embed_variations_variations = [{
   name: 'instagram',
   title: 'Instagram',
   icon: embedInstagramIcon,
-  keywords: [Object(external_wp_i18n_["__"])('image'), Object(external_wp_i18n_["__"])('social')],
-  description: Object(external_wp_i18n_["__"])('Embed an Instagram post.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('image'), (0,external_wp_i18n_namespaceObject.__)('social')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed an Instagram post.'),
   scope: ['block'],
   patterns: [],
   attributes: {
@@ -9421,8 +9391,8 @@ const embed_variations_variations = [{
   name: 'wordpress',
   title: 'WordPress',
   icon: embedWordPressIcon,
-  keywords: [Object(external_wp_i18n_["__"])('post'), Object(external_wp_i18n_["__"])('blog')],
-  description: Object(external_wp_i18n_["__"])('Embed a WordPress post.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('post'), (0,external_wp_i18n_namespaceObject.__)('blog')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a WordPress post.'),
   attributes: {
     providerNameSlug: 'wordpress'
   }
@@ -9430,8 +9400,8 @@ const embed_variations_variations = [{
   name: 'soundcloud',
   title: 'SoundCloud',
   icon: embedAudioIcon,
-  keywords: [Object(external_wp_i18n_["__"])('music'), Object(external_wp_i18n_["__"])('audio')],
-  description: Object(external_wp_i18n_["__"])('Embed SoundCloud content.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('music'), (0,external_wp_i18n_namespaceObject.__)('audio')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed SoundCloud content.'),
   patterns: [/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],
   attributes: {
     providerNameSlug: 'soundcloud',
@@ -9441,8 +9411,8 @@ const embed_variations_variations = [{
   name: 'spotify',
   title: 'Spotify',
   icon: embedSpotifyIcon,
-  keywords: [Object(external_wp_i18n_["__"])('music'), Object(external_wp_i18n_["__"])('audio')],
-  description: Object(external_wp_i18n_["__"])('Embed Spotify content.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('music'), (0,external_wp_i18n_namespaceObject.__)('audio')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Spotify content.'),
   patterns: [/^https?:\/\/(open|play)\.spotify\.com\/.+/i],
   attributes: {
     providerNameSlug: 'spotify',
@@ -9452,8 +9422,8 @@ const embed_variations_variations = [{
   name: 'flickr',
   title: 'Flickr',
   icon: embedFlickrIcon,
-  keywords: [Object(external_wp_i18n_["__"])('image')],
-  description: Object(external_wp_i18n_["__"])('Embed Flickr content.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('image')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Flickr content.'),
   patterns: [/^https?:\/\/(www\.)?flickr\.com\/.+/i, /^https?:\/\/flic\.kr\/.+/i],
   attributes: {
     providerNameSlug: 'flickr',
@@ -9463,8 +9433,8 @@ const embed_variations_variations = [{
   name: 'vimeo',
   title: 'Vimeo',
   icon: embedVimeoIcon,
-  keywords: [Object(external_wp_i18n_["__"])('video')],
-  description: Object(external_wp_i18n_["__"])('Embed a Vimeo video.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('video')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a Vimeo video.'),
   patterns: [/^https?:\/\/(www\.)?vimeo\.com\/.+/i],
   attributes: {
     providerNameSlug: 'vimeo',
@@ -9474,7 +9444,7 @@ const embed_variations_variations = [{
   name: 'animoto',
   title: 'Animoto',
   icon: embedAnimotoIcon,
-  description: Object(external_wp_i18n_["__"])('Embed an Animoto video.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed an Animoto video.'),
   patterns: [/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],
   attributes: {
     providerNameSlug: 'animoto',
@@ -9484,7 +9454,7 @@ const embed_variations_variations = [{
   name: 'cloudup',
   title: 'Cloudup',
   icon: embedContentIcon,
-  description: Object(external_wp_i18n_["__"])('Embed Cloudup content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Cloudup content.'),
   patterns: [/^https?:\/\/cloudup\.com\/.+/i],
   attributes: {
     providerNameSlug: 'cloudup',
@@ -9495,7 +9465,7 @@ const embed_variations_variations = [{
   name: 'collegehumor',
   title: 'CollegeHumor',
   icon: embedVideoIcon,
-  description: Object(external_wp_i18n_["__"])('Embed CollegeHumor content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed CollegeHumor content.'),
   scope: ['block'],
   patterns: [],
   attributes: {
@@ -9506,8 +9476,8 @@ const embed_variations_variations = [{
   name: 'crowdsignal',
   title: 'Crowdsignal',
   icon: embedContentIcon,
-  keywords: ['polldaddy', Object(external_wp_i18n_["__"])('survey')],
-  description: Object(external_wp_i18n_["__"])('Embed Crowdsignal (formerly Polldaddy) content.'),
+  keywords: ['polldaddy', (0,external_wp_i18n_namespaceObject.__)('survey')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Crowdsignal (formerly Polldaddy) content.'),
   patterns: [/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i],
   attributes: {
     providerNameSlug: 'crowdsignal',
@@ -9517,8 +9487,8 @@ const embed_variations_variations = [{
   name: 'dailymotion',
   title: 'Dailymotion',
   icon: embedDailymotionIcon,
-  keywords: [Object(external_wp_i18n_["__"])('video')],
-  description: Object(external_wp_i18n_["__"])('Embed a Dailymotion video.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('video')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a Dailymotion video.'),
   patterns: [/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],
   attributes: {
     providerNameSlug: 'dailymotion',
@@ -9528,7 +9498,7 @@ const embed_variations_variations = [{
   name: 'imgur',
   title: 'Imgur',
   icon: embedPhotoIcon,
-  description: Object(external_wp_i18n_["__"])('Embed Imgur content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Imgur content.'),
   patterns: [/^https?:\/\/(.+\.)?imgur\.com\/.+/i],
   attributes: {
     providerNameSlug: 'imgur',
@@ -9538,7 +9508,7 @@ const embed_variations_variations = [{
   name: 'issuu',
   title: 'Issuu',
   icon: embedContentIcon,
-  description: Object(external_wp_i18n_["__"])('Embed Issuu content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Issuu content.'),
   patterns: [/^https?:\/\/(www\.)?issuu\.com\/.+/i],
   attributes: {
     providerNameSlug: 'issuu',
@@ -9548,7 +9518,7 @@ const embed_variations_variations = [{
   name: 'kickstarter',
   title: 'Kickstarter',
   icon: embedContentIcon,
-  description: Object(external_wp_i18n_["__"])('Embed Kickstarter content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Kickstarter content.'),
   patterns: [/^https?:\/\/(www\.)?kickstarter\.com\/.+/i, /^https?:\/\/kck\.st\/.+/i],
   attributes: {
     providerNameSlug: 'kickstarter',
@@ -9558,8 +9528,8 @@ const embed_variations_variations = [{
   name: 'mixcloud',
   title: 'Mixcloud',
   icon: embedAudioIcon,
-  keywords: [Object(external_wp_i18n_["__"])('music'), Object(external_wp_i18n_["__"])('audio')],
-  description: Object(external_wp_i18n_["__"])('Embed Mixcloud content.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('music'), (0,external_wp_i18n_namespaceObject.__)('audio')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Mixcloud content.'),
   patterns: [/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],
   attributes: {
     providerNameSlug: 'mixcloud',
@@ -9569,7 +9539,7 @@ const embed_variations_variations = [{
   name: 'reddit',
   title: 'Reddit',
   icon: embedRedditIcon,
-  description: Object(external_wp_i18n_["__"])('Embed a Reddit thread.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a Reddit thread.'),
   patterns: [/^https?:\/\/(www\.)?reddit\.com\/.+/i],
   attributes: {
     providerNameSlug: 'reddit',
@@ -9579,7 +9549,7 @@ const embed_variations_variations = [{
   name: 'reverbnation',
   title: 'ReverbNation',
   icon: embedAudioIcon,
-  description: Object(external_wp_i18n_["__"])('Embed ReverbNation content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed ReverbNation content.'),
   patterns: [/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],
   attributes: {
     providerNameSlug: 'reverbnation',
@@ -9589,7 +9559,7 @@ const embed_variations_variations = [{
   name: 'screencast',
   title: 'Screencast',
   icon: embedVideoIcon,
-  description: Object(external_wp_i18n_["__"])('Embed Screencast content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Screencast content.'),
   patterns: [/^https?:\/\/(www\.)?screencast\.com\/.+/i],
   attributes: {
     providerNameSlug: 'screencast',
@@ -9599,7 +9569,7 @@ const embed_variations_variations = [{
   name: 'scribd',
   title: 'Scribd',
   icon: embedContentIcon,
-  description: Object(external_wp_i18n_["__"])('Embed Scribd content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Scribd content.'),
   patterns: [/^https?:\/\/(www\.)?scribd\.com\/.+/i],
   attributes: {
     providerNameSlug: 'scribd',
@@ -9609,7 +9579,7 @@ const embed_variations_variations = [{
   name: 'slideshare',
   title: 'Slideshare',
   icon: embedContentIcon,
-  description: Object(external_wp_i18n_["__"])('Embed Slideshare content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Slideshare content.'),
   patterns: [/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i],
   attributes: {
     providerNameSlug: 'slideshare',
@@ -9619,7 +9589,7 @@ const embed_variations_variations = [{
   name: 'smugmug',
   title: 'SmugMug',
   icon: embedPhotoIcon,
-  description: Object(external_wp_i18n_["__"])('Embed SmugMug content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed SmugMug content.'),
   patterns: [/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],
   attributes: {
     providerNameSlug: 'smugmug',
@@ -9630,7 +9600,7 @@ const embed_variations_variations = [{
   name: 'speaker-deck',
   title: 'Speaker Deck',
   icon: embedContentIcon,
-  description: Object(external_wp_i18n_["__"])('Embed Speaker Deck content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Speaker Deck content.'),
   patterns: [/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],
   attributes: {
     providerNameSlug: 'speaker-deck',
@@ -9640,8 +9610,8 @@ const embed_variations_variations = [{
   name: 'tiktok',
   title: 'TikTok',
   icon: embedVideoIcon,
-  keywords: [Object(external_wp_i18n_["__"])('video')],
-  description: Object(external_wp_i18n_["__"])('Embed a TikTok video.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('video')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a TikTok video.'),
   patterns: [/^https?:\/\/(www\.)?tiktok\.com\/.+/i],
   attributes: {
     providerNameSlug: 'tiktok',
@@ -9651,7 +9621,7 @@ const embed_variations_variations = [{
   name: 'ted',
   title: 'TED',
   icon: embedVideoIcon,
-  description: Object(external_wp_i18n_["__"])('Embed a TED video.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a TED video.'),
   patterns: [/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],
   attributes: {
     providerNameSlug: 'ted',
@@ -9661,8 +9631,8 @@ const embed_variations_variations = [{
   name: 'tumblr',
   title: 'Tumblr',
   icon: embedTumblrIcon,
-  keywords: [Object(external_wp_i18n_["__"])('social')],
-  description: Object(external_wp_i18n_["__"])('Embed a Tumblr post.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('social')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a Tumblr post.'),
   patterns: [/^https?:\/\/(www\.)?tumblr\.com\/.+/i],
   attributes: {
     providerNameSlug: 'tumblr',
@@ -9672,8 +9642,8 @@ const embed_variations_variations = [{
   name: 'videopress',
   title: 'VideoPress',
   icon: embedVideoIcon,
-  keywords: [Object(external_wp_i18n_["__"])('video')],
-  description: Object(external_wp_i18n_["__"])('Embed a VideoPress video.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('video')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a VideoPress video.'),
   patterns: [/^https?:\/\/videopress\.com\/.+/i],
   attributes: {
     providerNameSlug: 'videopress',
@@ -9683,7 +9653,7 @@ const embed_variations_variations = [{
   name: 'wordpress-tv',
   title: 'WordPress.tv',
   icon: embedVideoIcon,
-  description: Object(external_wp_i18n_["__"])('Embed a WordPress.tv video.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed a WordPress.tv video.'),
   patterns: [/^https?:\/\/wordpress\.tv\/.+/i],
   attributes: {
     providerNameSlug: 'wordpress-tv',
@@ -9693,8 +9663,8 @@ const embed_variations_variations = [{
   name: 'amazon-kindle',
   title: 'Amazon Kindle',
   icon: embedAmazonIcon,
-  keywords: [Object(external_wp_i18n_["__"])('ebook')],
-  description: Object(external_wp_i18n_["__"])('Embed Amazon Kindle content.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('ebook')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Amazon Kindle content.'),
   patterns: [/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i, /^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],
   attributes: {
     providerNameSlug: 'amazon-kindle'
@@ -9703,8 +9673,8 @@ const embed_variations_variations = [{
   name: 'pinterest',
   title: 'Pinterest',
   icon: embedPinterestIcon,
-  keywords: [Object(external_wp_i18n_["__"])('social'), Object(external_wp_i18n_["__"])('bookmark')],
-  description: Object(external_wp_i18n_["__"])('Embed Pinterest pins, boards, and profiles.'),
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('social'), (0,external_wp_i18n_namespaceObject.__)('bookmark')],
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Pinterest pins, boards, and profiles.'),
   patterns: [/^https?:\/\/([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?\/.*/i],
   attributes: {
     providerNameSlug: 'pinterest'
@@ -9713,7 +9683,7 @@ const embed_variations_variations = [{
   name: 'wolfram-cloud',
   title: 'Wolfram Cloud',
   icon: embedWolframIcon,
-  description: Object(external_wp_i18n_["__"])('Embed Wolfram Cloud notebook content.'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Embed Wolfram Cloud notebook content.'),
   patterns: [/^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i],
   attributes: {
     providerNameSlug: 'wolfram-cloud',
@@ -9726,14 +9696,14 @@ const embed_variations_variations = [{
  *  Block by providing its attributes.
  */

-embed_variations_variations.forEach(variation => {
+variations_variations.forEach(variation => {
   if (variation.isActive) return;

   variation.isActive = (blockAttributes, variationAttributes) => blockAttributes.providerNameSlug === variationAttributes.providerNameSlug;
 });
-/* harmony default export */ var embed_variations = (embed_variations_variations);
+/* harmony default export */ var embed_variations = (variations_variations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/deprecated.js


 /**
@@ -9814,11 +9784,11 @@ const embed_deprecated_deprecated = [{
       [`is-type-${type}`]: type,
       [`is-provider-${providerNameSlug}`]: providerNameSlug
     });
-    return Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: embedClassName
     }, `\n${url}\n`
     /* URL needs to be on its own line. */
-    , !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    , !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       value: caption
     }));
@@ -9827,7 +9797,7 @@ const embed_deprecated_deprecated = [{
 }];
 /* harmony default export */ var embed_deprecated = (embed_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/embed/index.js
 /**
  * Internal dependencies
  */
@@ -9891,22 +9861,22 @@ const embed_settings = {
   deprecated: embed_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/file.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/file.js


 /**
  * WordPress dependencies
  */

-const file_file = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const file = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5z"
 }));
-/* harmony default export */ var library_file = (file_file);
+/* harmony default export */ var library_file = (file);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/deprecated.js


 /**
@@ -9976,10 +9946,10 @@ const file_deprecated_deprecated = [{
       displayPreview,
       previewHeight
     } = attributes;
-    const pdfEmbedLabel = external_wp_blockEditor_["RichText"].isEmpty(fileName) ? Object(external_wp_i18n_["__"])('PDF embed') : Object(external_wp_i18n_["sprintf"])(
+    const pdfEmbedLabel = external_wp_blockEditor_namespaceObject.RichText.isEmpty(fileName) ? (0,external_wp_i18n_namespaceObject.__)('PDF embed') : (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: filename. */
-    Object(external_wp_i18n_["__"])('Embed of %s.'), fileName);
-    return href && Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save(), displayPreview && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("object", {
+    (0,external_wp_i18n_namespaceObject.__)('Embed of %s.'), fileName);
+    return href && (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save(), displayPreview && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("object", {
       className: "wp-block-file__embed",
       data: href,
       type: "application/pdf",
@@ -9988,17 +9958,17 @@ const file_deprecated_deprecated = [{
         height: `${previewHeight}px`
       },
       "aria-label": pdfEmbedLabel
-    })), !external_wp_blockEditor_["RichText"].isEmpty(fileName) && Object(external_wp_element_["createElement"])("a", {
+    })), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(fileName) && (0,external_wp_element_namespaceObject.createElement)("a", {
       href: textLinkHref,
       target: textLinkTarget,
       rel: textLinkTarget ? 'noreferrer noopener' : undefined
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: fileName
-    })), showDownloadButton && Object(external_wp_element_["createElement"])("a", {
+    })), showDownloadButton && (0,external_wp_element_namespaceObject.createElement)("a", {
       href: href,
       className: "wp-block-file__button",
       download: true
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: downloadButtonText
     })));
   }
@@ -10006,10 +9976,9 @@ const file_deprecated_deprecated = [{
 }];
 /* harmony default export */ var file_deprecated = (file_deprecated_deprecated);

-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/inspector.js
+;// CONCATENATED MODULE: external ["wp","notices"]
+var external_wp_notices_namespaceObject = window["wp"]["notices"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/inspector.js


 /**
@@ -10043,53 +10012,53 @@ function FileBlockInspector(_ref) {
   } = hrefs;
   let linkDestinationOptions = [{
     value: href,
-    label: Object(external_wp_i18n_["__"])('URL')
+    label: (0,external_wp_i18n_namespaceObject.__)('URL')
   }];

   if (attachmentPage) {
     linkDestinationOptions = [{
       value: href,
-      label: Object(external_wp_i18n_["__"])('Media file')
+      label: (0,external_wp_i18n_namespaceObject.__)('Media file')
     }, {
       value: attachmentPage,
-      label: Object(external_wp_i18n_["__"])('Attachment page')
+      label: (0,external_wp_i18n_namespaceObject.__)('Attachment page')
     }];
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, href.endsWith('.pdf') && Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('PDF settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show inline embed'),
-    help: displayPreview ? Object(external_wp_i18n_["__"])("Note: Most phone and tablet browsers won't display embedded PDFs.") : null,
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, href.endsWith('.pdf') && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('PDF settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show inline embed'),
+    help: displayPreview ? (0,external_wp_i18n_namespaceObject.__)("Note: Most phone and tablet browsers won't display embedded PDFs.") : null,
     checked: !!displayPreview,
     onChange: changeDisplayPreview
-  }), displayPreview && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Height in pixels'),
+  }), displayPreview && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Height in pixels'),
     min: MIN_PREVIEW_HEIGHT,
     max: Math.max(MAX_PREVIEW_HEIGHT, previewHeight),
     value: previewHeight,
     onChange: changePreviewHeight
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Text link settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Link to'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Text link settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Link to'),
     value: textLinkHref,
     options: linkDestinationOptions,
     onChange: changeLinkDestinationOption
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Open in new tab'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Open in new tab'),
     checked: openInNewWindow,
     onChange: changeOpenInNewWindow
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Download button settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show download button'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Download button settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show download button'),
     checked: showDownloadButton,
     onChange: changeShowDownloadButton
   }))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/utils.js
 /**
  * Uses a combination of user agent matching and feature detection to determine whether
  * the current browser supports rendering PDFs inline.
@@ -10153,7 +10122,7 @@ const hidePdfEmbedsOnUnsupportedBrowsers = () => {
   }
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/edit.js


 /**
@@ -10190,18 +10159,18 @@ function ClipboardToolbarButton(_ref) {
   } = _ref;
   const {
     createNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const ref = Object(external_wp_compose_["useCopyToClipboard"])(text, () => {
-    createNotice('info', Object(external_wp_i18n_["__"])('Copied URL to clipboard.'), {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const ref = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(text, () => {
+    createNotice('info', (0,external_wp_i18n_namespaceObject.__)('Copied URL to clipboard.'), {
       isDismissible: true,
       type: 'snackbar'
     });
   });
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     className: "components-clipboard-toolbar-button",
     ref: ref,
     disabled: disabled
-  }, Object(external_wp_i18n_["__"])('Copy URL'));
+  }, (0,external_wp_i18n_namespaceObject.__)('Copy URL'));
 }

 function FileEdit(_ref2) {
@@ -10224,21 +10193,21 @@ function FileEdit(_ref2) {
     displayPreview,
     previewHeight
   } = attributes;
-  const [hasError, setHasError] = Object(external_wp_element_["useState"])(false);
+  const [hasError, setHasError] = (0,external_wp_element_namespaceObject.useState)(false);
   const {
     media,
     mediaUpload
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    media: id === undefined ? undefined : select(external_wp_coreData_["store"]).getMedia(id),
-    mediaUpload: select(external_wp_blockEditor_["store"]).getSettings().mediaUpload
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    media: id === undefined ? undefined : select(external_wp_coreData_namespaceObject.store).getMedia(id),
+    mediaUpload: select(external_wp_blockEditor_namespaceObject.store).getSettings().mediaUpload
   }), [id]);
   const {
     toggleSelection
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // Upload a file drag-and-dropped into the editor
-    if (Object(external_wp_blob_["isBlobURL"])(href)) {
-      const file = Object(external_wp_blob_["getBlobByURL"])(href);
+    if ((0,external_wp_blob_namespaceObject.isBlobURL)(href)) {
+      const file = (0,external_wp_blob_namespaceObject.getBlobByURL)(href);
       mediaUpload({
         filesList: [file],
         onFileChange: _ref3 => {
@@ -10250,14 +10219,14 @@ function FileEdit(_ref2) {
           noticeOperations.createErrorNotice(message);
         }
       });
-      Object(external_wp_blob_["revokeBlobURL"])(href);
+      (0,external_wp_blob_namespaceObject.revokeBlobURL)(href);
     }

     if (downloadButtonText === undefined) {
-      changeDownloadButtonText(Object(external_wp_i18n_["_x"])('Download', 'button label'));
+      changeDownloadButtonText((0,external_wp_i18n_namespaceObject._x)('Download', 'button label'));
     }
   }, []);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // Add a unique fileId to each file block
     setAttributes({
       fileId: `wp-block-file--media-${clientId}`
@@ -10333,23 +10302,23 @@ function FileEdit(_ref2) {
   }

   const attachmentPage = media && media.link;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
-    className: classnames_default()(Object(external_wp_blob_["isBlobURL"])(href) && Object(external_wp_components_["__unstableGetAnimateClassName"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
+    className: classnames_default()((0,external_wp_blob_namespaceObject.isBlobURL)(href) && (0,external_wp_components_namespaceObject.__unstableGetAnimateClassName)({
       type: 'loading'
     }), {
-      'is-transient': Object(external_wp_blob_["isBlobURL"])(href)
+      'is-transient': (0,external_wp_blob_namespaceObject.isBlobURL)(href)
     })
   });
   const displayPreviewInEditor = browserSupportsPdfs() && displayPreview;

   if (!href || hasError) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
-      icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
+      icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
         icon: library_file
       }),
       labels: {
-        title: Object(external_wp_i18n_["__"])('File'),
-        instructions: Object(external_wp_i18n_["__"])('Upload a file or pick one from your media library.')
+        title: (0,external_wp_i18n_namespaceObject.__)('File'),
+        instructions: (0,external_wp_i18n_namespaceObject.__)('Upload a file or pick one from your media library.')
       },
       onSelect: onSelectFile,
       notices: noticeUI,
@@ -10358,7 +10327,7 @@ function FileEdit(_ref2) {
     }));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(FileBlockInspector, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(FileBlockInspector, {
     hrefs: {
       href,
       textLinkHref,
@@ -10373,18 +10342,18 @@ function FileEdit(_ref2) {
     changeDisplayPreview,
     previewHeight,
     changePreviewHeight
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaReplaceFlow, {
     mediaId: id,
     mediaURL: href,
     accept: "*",
     onSelect: onSelectFile,
     onError: onUploadError
-  }), Object(external_wp_element_["createElement"])(ClipboardToolbarButton, {
+  }), (0,external_wp_element_namespaceObject.createElement)(ClipboardToolbarButton, {
     text: href,
-    disabled: Object(external_wp_blob_["isBlobURL"])(href)
-  })), Object(external_wp_element_["createElement"])("div", blockProps, displayPreviewInEditor && Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], {
+    disabled: (0,external_wp_blob_namespaceObject.isBlobURL)(href)
+  })), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, displayPreviewInEditor && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ResizableBox, {
     size: {
       height: previewHeight
     },
@@ -10405,41 +10374,41 @@ function FileEdit(_ref2) {
     onResizeStart: () => toggleSelection(false),
     onResizeStop: handleOnResizeStop,
     showHandle: isSelected
-  }, Object(external_wp_element_["createElement"])("object", {
+  }, (0,external_wp_element_namespaceObject.createElement)("object", {
     className: "wp-block-file__preview",
     data: href,
     type: "application/pdf",
-    "aria-label": Object(external_wp_i18n_["__"])('Embed of the selected PDF file.')
-  }), !isSelected && Object(external_wp_element_["createElement"])("div", {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Embed of the selected PDF file.')
+  }), !isSelected && (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-file__preview-overlay"
-  })), Object(external_wp_element_["createElement"])("div", {
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: 'wp-block-file__content-wrapper'
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     tagName: "a",
     value: fileName,
-    placeholder: Object(external_wp_i18n_["__"])('Write file name…'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write file name…'),
     withoutInteractiveFormatting: true,
     onChange: text => setAttributes({
       fileName: text
     }),
     href: textLinkHref
-  }), showDownloadButton && Object(external_wp_element_["createElement"])("div", {
+  }), showDownloadButton && (0,external_wp_element_namespaceObject.createElement)("div", {
     className: 'wp-block-file__button-richtext-wrapper'
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     tagName: "div" // must be block-level or else cursor disappears
     ,
-    "aria-label": Object(external_wp_i18n_["__"])('Download button text'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Download button text'),
     className: 'wp-block-file__button',
     value: downloadButtonText,
     withoutInteractiveFormatting: true,
-    placeholder: Object(external_wp_i18n_["__"])('Add text…'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Add text…'),
     onChange: text => changeDownloadButtonText(text)
   })))));
 }

-/* harmony default export */ var file_edit = (Object(external_wp_components_["withNotices"])(FileEdit));
+/* harmony default export */ var file_edit = ((0,external_wp_components_namespaceObject.withNotices)(FileEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/save.js


 /**
@@ -10462,10 +10431,10 @@ function file_save_save(_ref) {
     displayPreview,
     previewHeight
   } = attributes;
-  const pdfEmbedLabel = external_wp_blockEditor_["RichText"].isEmpty(fileName) ? Object(external_wp_i18n_["__"])('PDF embed') : Object(external_wp_i18n_["sprintf"])(
+  const pdfEmbedLabel = external_wp_blockEditor_namespaceObject.RichText.isEmpty(fileName) ? (0,external_wp_i18n_namespaceObject.__)('PDF embed') : (0,external_wp_i18n_namespaceObject.sprintf)(
   /* translators: %s: filename. */
-  Object(external_wp_i18n_["__"])('Embed of %s.'), fileName);
-  return href && Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save(), displayPreview && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("object", {
+  (0,external_wp_i18n_namespaceObject.__)('Embed of %s.'), fileName);
+  return href && (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save(), displayPreview && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("object", {
     className: "wp-block-file__embed",
     data: href,
     type: "application/pdf",
@@ -10474,27 +10443,26 @@ function file_save_save(_ref) {
       height: `${previewHeight}px`
     },
     "aria-label": pdfEmbedLabel
-  })), !external_wp_blockEditor_["RichText"].isEmpty(fileName) && Object(external_wp_element_["createElement"])("a", {
+  })), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(fileName) && (0,external_wp_element_namespaceObject.createElement)("a", {
     id: fileId,
     href: textLinkHref,
     target: textLinkTarget,
     rel: textLinkTarget ? 'noreferrer noopener' : undefined
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     value: fileName
-  })), showDownloadButton && Object(external_wp_element_["createElement"])("a", {
+  })), showDownloadButton && (0,external_wp_element_namespaceObject.createElement)("a", {
     href: href,
     className: "wp-block-file__button",
     download: true,
     "aria-describedby": fileId
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     value: downloadButtonText
   })));
 }

-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/transforms.js
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/transforms.js
 /**
  * External dependencies
  */
@@ -10522,9 +10490,9 @@ const file_transforms_transforms = {
     transform: files => {
       const blocks = [];
       files.forEach(file => {
-        const blobURL = Object(external_wp_blob_["createBlobURL"])(file); // File will be uploaded in componentDidMount()
+        const blobURL = (0,external_wp_blob_namespaceObject.createBlobURL)(file); // File will be uploaded in componentDidMount()

-        blocks.push(Object(external_wp_blocks_["createBlock"])('core/file', {
+        blocks.push((0,external_wp_blocks_namespaceObject.createBlock)('core/file', {
           href: blobURL,
           fileName: file.name,
           textLinkHref: blobURL
@@ -10536,7 +10504,7 @@ const file_transforms_transforms = {
     type: 'block',
     blocks: ['core/audio'],
     transform: attributes => {
-      return Object(external_wp_blocks_["createBlock"])('core/file', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/file', {
         href: attributes.src,
         fileName: attributes.caption,
         textLinkHref: attributes.src,
@@ -10548,7 +10516,7 @@ const file_transforms_transforms = {
     type: 'block',
     blocks: ['core/video'],
     transform: attributes => {
-      return Object(external_wp_blocks_["createBlock"])('core/file', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/file', {
         href: attributes.src,
         fileName: attributes.caption,
         textLinkHref: attributes.src,
@@ -10560,9 +10528,9 @@ const file_transforms_transforms = {
     type: 'block',
     blocks: ['core/image'],
     transform: attributes => {
-      return Object(external_wp_blocks_["createBlock"])('core/file', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/file', {
         href: attributes.url,
-        fileName: attributes.caption || Object(external_wp_url_["getFilename"])(attributes.url),
+        fileName: attributes.caption || (0,external_wp_url_namespaceObject.getFilename)(attributes.url),
         textLinkHref: attributes.url,
         id: attributes.id,
         anchor: attributes.anchor
@@ -10583,12 +10551,12 @@ const file_transforms_transforms = {

       const {
         getMedia
-      } = Object(external_wp_data_["select"])(external_wp_coreData_["store"]);
+      } = (0,external_wp_data_namespaceObject.select)(external_wp_coreData_namespaceObject.store);
       const media = getMedia(id);
-      return !!media && Object(external_lodash_["includes"])(media.mime_type, 'audio');
+      return !!media && (0,external_lodash_namespaceObject.includes)(media.mime_type, 'audio');
     },
     transform: attributes => {
-      return Object(external_wp_blocks_["createBlock"])('core/audio', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/audio', {
         src: attributes.href,
         caption: attributes.fileName,
         id: attributes.id,
@@ -10609,12 +10577,12 @@ const file_transforms_transforms = {

       const {
         getMedia
-      } = Object(external_wp_data_["select"])(external_wp_coreData_["store"]);
+      } = (0,external_wp_data_namespaceObject.select)(external_wp_coreData_namespaceObject.store);
       const media = getMedia(id);
-      return !!media && Object(external_lodash_["includes"])(media.mime_type, 'video');
+      return !!media && (0,external_lodash_namespaceObject.includes)(media.mime_type, 'video');
     },
     transform: attributes => {
-      return Object(external_wp_blocks_["createBlock"])('core/video', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/video', {
         src: attributes.href,
         caption: attributes.fileName,
         id: attributes.id,
@@ -10635,12 +10603,12 @@ const file_transforms_transforms = {

       const {
         getMedia
-      } = Object(external_wp_data_["select"])(external_wp_coreData_["store"]);
+      } = (0,external_wp_data_namespaceObject.select)(external_wp_coreData_namespaceObject.store);
       const media = getMedia(id);
-      return !!media && Object(external_lodash_["includes"])(media.mime_type, 'image');
+      return !!media && (0,external_lodash_namespaceObject.includes)(media.mime_type, 'image');
     },
     transform: attributes => {
-      return Object(external_wp_blocks_["createBlock"])('core/image', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
         url: attributes.href,
         caption: attributes.fileName,
         id: attributes.id,
@@ -10651,7 +10619,7 @@ const file_transforms_transforms = {
 };
 /* harmony default export */ var file_transforms = (file_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/file/index.js
 /**
  * WordPress dependencies
  */
@@ -10737,7 +10705,7 @@ const file_settings = {
   example: {
     attributes: {
       href: 'https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg',
-      fileName: Object(external_wp_i18n_["_x"])('Armstrong_Small_Step', 'Name of the file')
+      fileName: (0,external_wp_i18n_namespaceObject._x)('Armstrong_Small_Step', 'Name of the file')
     }
   },
   transforms: file_transforms,
@@ -10746,29 +10714,29 @@ const file_settings = {
   save: file_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/gallery.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/gallery.js


 /**
  * WordPress dependencies
  */

-const gallery = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const gallery = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"
 }));
 /* harmony default export */ var library_gallery = (gallery);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/constants.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/constants.js
 const LINK_DESTINATION_NONE = 'none';
 const LINK_DESTINATION_MEDIA = 'media';
 const LINK_DESTINATION_ATTACHMENT = 'attachment';
 const LINK_DESTINATION_MEDIA_WP_CORE = 'file';
 const LINK_DESTINATION_ATTACHMENT_WP_CORE = 'post';

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared.js
 /**
  * External dependencies
  */
@@ -10778,9 +10746,9 @@ function defaultColumnsNumber(imageCount) {
 }
 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']);
+  const imageProps = (0,external_lodash_namespaceObject.pick)(image, ['alt', 'id', 'link', 'caption']);
+  imageProps.url = (0,external_lodash_namespaceObject.get)(image, ['sizes', sizeSlug, 'url']) || (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', sizeSlug, 'source_url']) || image.url;
+  const fullUrl = (0,external_lodash_namespaceObject.get)(image, ['sizes', 'full', 'url']) || (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', 'full', 'source_url']);

   if (fullUrl) {
     imageProps.fullUrl = fullUrl;
@@ -10803,7 +10771,7 @@ function isGalleryV2Enabled() {
   return true;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/deprecated.js


 /**
@@ -10904,7 +10872,7 @@ function runV2Migration(attributes) {
   const imageBlocks = attributes.images.map(image => {
     return getImageBlock(image, attributes.sizeSlug, linkTo);
   });
-  return [{ ...Object(external_lodash_["omit"])(attributes, ['images', 'ids']),
+  return [{ ...(0,external_lodash_namespaceObject.omit)(attributes, ['images', 'ids']),
     linkTo,
     allowResize: false
   }, imageBlocks];
@@ -10922,7 +10890,7 @@ function runV2Migration(attributes) {


 function getImageBlock(image, sizeSlug, linkTo) {
-  return Object(external_wp_blocks_["createBlock"])('core/image', { ...(image.id && {
+  return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', { ...(image.id && {
       id: parseInt(image.id)
     }),
     url: image.url,
@@ -11024,9 +10992,9 @@ const deprecated_v6 = {
       linkTo
     } = attributes;
     const className = `columns-${columns} ${imageCrop ? 'is-cropped' : ''}`;
-    return Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className
-    }), Object(external_wp_element_["createElement"])("ul", {
+    }), (0,external_wp_element_namespaceObject.createElement)("ul", {
       className: "blocks-gallery-grid"
     }, images.map(image => {
       let href;
@@ -11041,7 +11009,7 @@ const deprecated_v6 = {
           break;
       }

-      const img = Object(external_wp_element_["createElement"])("img", {
+      const img = (0,external_wp_element_namespaceObject.createElement)("img", {
         src: image.url,
         alt: image.alt,
         "data-id": image.id,
@@ -11049,17 +11017,17 @@ const deprecated_v6 = {
         "data-link": image.link,
         className: image.id ? `wp-image-${image.id}` : null
       });
-      return Object(external_wp_element_["createElement"])("li", {
+      return (0,external_wp_element_namespaceObject.createElement)("li", {
         key: image.id || image.url,
         className: "blocks-gallery-item"
-      }, Object(external_wp_element_["createElement"])("figure", null, href ? Object(external_wp_element_["createElement"])("a", {
+      }, (0,external_wp_element_namespaceObject.createElement)("figure", null, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
         href: href
-      }, img) : img, !external_wp_blockEditor_["RichText"].isEmpty(image.caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+      }, img) : img, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(image.caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
         tagName: "figcaption",
         className: "blocks-gallery-item__caption",
         value: image.caption
       })));
-    })), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    })), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       className: "blocks-gallery-caption",
       value: caption
@@ -11193,9 +11161,9 @@ const deprecated_v5 = {
       caption,
       linkTo
     } = attributes;
-    return Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: `columns-${columns} ${imageCrop ? 'is-cropped' : ''}`
-    }, Object(external_wp_element_["createElement"])("ul", {
+    }, (0,external_wp_element_namespaceObject.createElement)("ul", {
       className: "blocks-gallery-grid"
     }, images.map(image => {
       let href;
@@ -11210,7 +11178,7 @@ const deprecated_v5 = {
           break;
       }

-      const img = Object(external_wp_element_["createElement"])("img", {
+      const img = (0,external_wp_element_namespaceObject.createElement)("img", {
         src: image.url,
         alt: image.alt,
         "data-id": image.id,
@@ -11218,17 +11186,17 @@ const deprecated_v5 = {
         "data-link": image.link,
         className: image.id ? `wp-image-${image.id}` : null
       });
-      return Object(external_wp_element_["createElement"])("li", {
+      return (0,external_wp_element_namespaceObject.createElement)("li", {
         key: image.id || image.url,
         className: "blocks-gallery-item"
-      }, Object(external_wp_element_["createElement"])("figure", null, href ? Object(external_wp_element_["createElement"])("a", {
+      }, (0,external_wp_element_namespaceObject.createElement)("figure", null, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
         href: href
-      }, img) : img, !external_wp_blockEditor_["RichText"].isEmpty(image.caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+      }, img) : img, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(image.caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
         tagName: "figcaption",
         className: "blocks-gallery-item__caption",
         value: image.caption
       })));
-    })), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    })), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       className: "blocks-gallery-caption",
       value: caption
@@ -11315,7 +11283,7 @@ const deprecated_v4 = {
     }

     return { ...attributes,
-      ids: Object(external_lodash_["map"])(attributes.ids, id => {
+      ids: (0,external_lodash_namespaceObject.map)(attributes.ids, id => {
         const parsedId = parseInt(id, 10);
         return Number.isInteger(parsedId) ? parsedId : null;
       })
@@ -11333,9 +11301,9 @@ const deprecated_v4 = {
       caption,
       linkTo
     } = attributes;
-    return Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: `columns-${columns} ${imageCrop ? 'is-cropped' : ''}`
-    }, Object(external_wp_element_["createElement"])("ul", {
+    }, (0,external_wp_element_namespaceObject.createElement)("ul", {
       className: "blocks-gallery-grid"
     }, images.map(image => {
       let href;
@@ -11350,7 +11318,7 @@ const deprecated_v4 = {
           break;
       }

-      const img = Object(external_wp_element_["createElement"])("img", {
+      const img = (0,external_wp_element_namespaceObject.createElement)("img", {
         src: image.url,
         alt: image.alt,
         "data-id": image.id,
@@ -11358,17 +11326,17 @@ const deprecated_v4 = {
         "data-link": image.link,
         className: image.id ? `wp-image-${image.id}` : null
       });
-      return Object(external_wp_element_["createElement"])("li", {
+      return (0,external_wp_element_namespaceObject.createElement)("li", {
         key: image.id || image.url,
         className: "blocks-gallery-item"
-      }, Object(external_wp_element_["createElement"])("figure", null, href ? Object(external_wp_element_["createElement"])("a", {
+      }, (0,external_wp_element_namespaceObject.createElement)("figure", null, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
         href: href
-      }, img) : img, !external_wp_blockEditor_["RichText"].isEmpty(image.caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+      }, img) : img, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(image.caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
         tagName: "figcaption",
         className: "blocks-gallery-item__caption",
         value: image.caption
       })));
-    })), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    })), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       className: "blocks-gallery-caption",
       value: caption
@@ -11447,7 +11415,7 @@ const deprecated_v3 = {
       imageCrop,
       linkTo
     } = attributes;
-    return Object(external_wp_element_["createElement"])("ul", {
+    return (0,external_wp_element_namespaceObject.createElement)("ul", {
       className: `columns-${columns} ${imageCrop ? 'is-cropped' : ''}`
     }, images.map(image => {
       let href;
@@ -11462,7 +11430,7 @@ const deprecated_v3 = {
           break;
       }

-      const img = Object(external_wp_element_["createElement"])("img", {
+      const img = (0,external_wp_element_namespaceObject.createElement)("img", {
         src: image.url,
         alt: image.alt,
         "data-id": image.id,
@@ -11470,12 +11438,12 @@ const deprecated_v3 = {
         "data-link": image.link,
         className: image.id ? `wp-image-${image.id}` : null
       });
-      return Object(external_wp_element_["createElement"])("li", {
+      return (0,external_wp_element_namespaceObject.createElement)("li", {
         key: image.id || image.url,
         className: "blocks-gallery-item"
-      }, Object(external_wp_element_["createElement"])("figure", null, href ? Object(external_wp_element_["createElement"])("a", {
+      }, (0,external_wp_element_namespaceObject.createElement)("figure", null, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
         href: href
-      }, img) : img, image.caption && image.caption.length > 0 && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+      }, img) : img, image.caption && image.caption.length > 0 && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
         tagName: "figcaption",
         value: image.caption
       })));
@@ -11545,7 +11513,7 @@ const deprecated_v2 = {
       images,
       ids
     } = _ref7;
-    return images && images.length > 0 && (!ids && images || ids && images && ids.length !== images.length || Object(external_lodash_["some"])(images, (id, index) => {
+    return images && images.length > 0 && (!ids && images || ids && images && ids.length !== images.length || (0,external_lodash_namespaceObject.some)(images, (id, index) => {
       if (!id && ids[index] !== null) {
         return true;
       }
@@ -11560,7 +11528,7 @@ const deprecated_v2 = {
     }

     return { ...attributes,
-      ids: Object(external_lodash_["map"])(attributes.images, _ref8 => {
+      ids: (0,external_lodash_namespaceObject.map)(attributes.images, _ref8 => {
         let {
           id
         } = _ref8;
@@ -11588,7 +11556,7 @@ const deprecated_v2 = {
       imageCrop,
       linkTo
     } = attributes;
-    return Object(external_wp_element_["createElement"])("ul", {
+    return (0,external_wp_element_namespaceObject.createElement)("ul", {
       className: `columns-${columns} ${imageCrop ? 'is-cropped' : ''}`
     }, images.map(image => {
       let href;
@@ -11603,19 +11571,19 @@ const deprecated_v2 = {
           break;
       }

-      const img = Object(external_wp_element_["createElement"])("img", {
+      const img = (0,external_wp_element_namespaceObject.createElement)("img", {
         src: image.url,
         alt: image.alt,
         "data-id": image.id,
         "data-link": image.link,
         className: image.id ? `wp-image-${image.id}` : null
       });
-      return Object(external_wp_element_["createElement"])("li", {
+      return (0,external_wp_element_namespaceObject.createElement)("li", {
         key: image.id || image.url,
         className: "blocks-gallery-item"
-      }, Object(external_wp_element_["createElement"])("figure", null, href ? Object(external_wp_element_["createElement"])("a", {
+      }, (0,external_wp_element_namespaceObject.createElement)("figure", null, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
         href: href
-      }, img) : img, image.caption && image.caption.length > 0 && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+      }, img) : img, image.caption && image.caption.length > 0 && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
         tagName: "figcaption",
         value: image.caption
       })));
@@ -11681,7 +11649,7 @@ const deprecated_v1 = {
       alignnone: align === 'none',
       'is-cropped': imageCrop
     });
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: className
     }, images.map(image => {
       let href;
@@ -11696,15 +11664,15 @@ const deprecated_v1 = {
           break;
       }

-      const img = Object(external_wp_element_["createElement"])("img", {
+      const img = (0,external_wp_element_namespaceObject.createElement)("img", {
         src: image.url,
         alt: image.alt,
         "data-id": image.id
       });
-      return Object(external_wp_element_["createElement"])("figure", {
+      return (0,external_wp_element_namespaceObject.createElement)("figure", {
         key: image.id || image.url,
         className: "blocks-gallery-image"
-      }, href ? Object(external_wp_element_["createElement"])("a", {
+      }, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
         href: href
       }, img) : img);
     }));
@@ -11721,10 +11689,9 @@ const deprecated_v1 = {
 };
 /* harmony default export */ var gallery_deprecated = ([deprecated_v6, deprecated_v5, deprecated_v4, deprecated_v3, deprecated_v2, deprecated_v1]);

-// EXTERNAL MODULE: external ["wp","viewport"]
-var external_wp_viewport_ = __webpack_require__("KEfo");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared-icon.js
+;// CONCATENATED MODULE: external ["wp","viewport"]
+var external_wp_viewport_namespaceObject = window["wp"]["viewport"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/shared-icon.js


 /**
@@ -11732,11 +11699,11 @@ var external_wp_viewport_ = __webpack_require__("KEfo");
  */


-const sharedIcon = Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+const sharedIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
   icon: library_gallery
 });

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/constants.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/constants.js
 const MIN_SIZE = 20;
 const constants_LINK_DESTINATION_NONE = 'none';
 const constants_LINK_DESTINATION_MEDIA = 'media';
@@ -11746,7 +11713,7 @@ const constants_NEW_TAB_REL = ['noreferrer', 'noopener'];
 const constants_ALLOWED_MEDIA_TYPES = ['image'];
 const MEDIA_ID_NO_FEATURED_IMAGE_SET = 0;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/utils.js
 /**
  * Internal dependencies
  */
@@ -11790,7 +11757,7 @@ function utils_getHrefAndDestination(image, destination) {
   return {};
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/utils.js
 /**
  * External dependencies
  */
@@ -11803,9 +11770,9 @@ function utils_getHrefAndDestination(image, destination) {
 function removeNewTabRel(currentRel) {
   let newRel = currentRel;

-  if (currentRel !== undefined && !Object(external_lodash_["isEmpty"])(newRel)) {
-    if (!Object(external_lodash_["isEmpty"])(newRel)) {
-      Object(external_lodash_["each"])(constants_NEW_TAB_REL, relVal => {
+  if (currentRel !== undefined && !(0,external_lodash_namespaceObject.isEmpty)(newRel)) {
+    if (!(0,external_lodash_namespaceObject.isEmpty)(newRel)) {
+      (0,external_lodash_namespaceObject.each)(constants_NEW_TAB_REL, relVal => {
         const regExp = new RegExp('\\b' + relVal + '\\b', 'gi');
         newRel = newRel.replace(regExp, '');
       }); // Only trim if NEW_TAB_REL values was replaced.
@@ -11814,7 +11781,7 @@ function removeNewTabRel(currentRel) {
         newRel = newRel.trim();
       }

-      if (Object(external_lodash_["isEmpty"])(newRel)) {
+      if ((0,external_lodash_namespaceObject.isEmpty)(newRel)) {
         newRel = undefined;
       }
     }
@@ -11858,7 +11825,7 @@ function getUpdatedLinkTargetSettings(value, _ref) {
  */

 function getImageSizeAttributes(image, size) {
-  const url = Object(external_lodash_["get"])(image, ['media_details', 'sizes', size, 'source_url']);
+  const url = (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', size, 'source_url']);

   if (url) {
     return {
@@ -11872,7 +11839,7 @@ function getImageSizeAttributes(image, size) {
   return {};
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/gallery.js



@@ -11890,7 +11857,7 @@ function getImageSizeAttributes(image, size) {



-const gallery_allowedBlocks = ['core/image'];
+const allowedBlocks = ['core/image'];
 const Gallery = props => {
   const {
     attributes,
@@ -11909,8 +11876,8 @@ const Gallery = props => {
   const {
     children,
     ...innerBlocksProps
-  } = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
-    allowedBlocks: gallery_allowedBlocks,
+  } = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)(blockProps, {
+    allowedBlocks,
     orientation: 'horizontal',
     renderAppender: false,
     __experimentalLayout: {
@@ -11918,7 +11885,7 @@ const Gallery = props => {
       alignments: []
     }
   });
-  const [captionFocused, setCaptionFocused] = Object(external_wp_element_["useState"])(false);
+  const [captionFocused, setCaptionFocused] = (0,external_wp_element_namespaceObject.useState)(false);

   function onFocusCaption() {
     if (!captionFocused) {
@@ -11932,35 +11899,35 @@ const Gallery = props => {
     }
   }

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isSelected) {
       setCaptionFocused(false);
     }
   }, [isSelected]);
-  return Object(external_wp_element_["createElement"])("figure", Object(esm_extends["a" /* default */])({}, innerBlocksProps, {
+  return (0,external_wp_element_namespaceObject.createElement)("figure", _extends({}, innerBlocksProps, {
     className: classnames_default()(blockProps.className, 'blocks-gallery-grid', {
       [`align${align}`]: align,
       [`columns-${columns}`]: columns !== undefined,
       [`columns-default`]: columns === undefined,
       'is-cropped': imageCrop
     })
-  }), children, Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], {
+  }), children, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.View, {
     className: "blocks-gallery-media-placeholder-wrapper",
     onClick: removeCaptionFocus
-  }, mediaPlaceholder), Object(external_wp_element_["createElement"])(RichTextVisibilityHelper, {
-    isHidden: !isSelected && external_wp_blockEditor_["RichText"].isEmpty(caption),
+  }, mediaPlaceholder), (0,external_wp_element_namespaceObject.createElement)(RichTextVisibilityHelper, {
+    isHidden: !isSelected && external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption),
     captionFocused: captionFocused,
     onFocusCaption: onFocusCaption,
     tagName: "figcaption",
     className: "blocks-gallery-caption",
-    "aria-label": Object(external_wp_i18n_["__"])('Gallery caption text'),
-    placeholder: Object(external_wp_i18n_["__"])('Write gallery caption…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Gallery caption text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write gallery caption…'),
     value: caption,
     onChange: value => setAttributes({
       caption: value
     }),
     inlineToolbar: true,
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'))
   }));
 };

@@ -11978,12 +11945,12 @@ function RichTextVisibilityHelper(_ref) {
   } = _ref;

   if (isHidden) {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], Object(esm_extends["a" /* default */])({
-      as: external_wp_blockEditor_["RichText"]
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, _extends({
+      as: external_wp_blockEditor_namespaceObject.RichText
     }, richTextProps));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, _extends({
     ref: captionRef,
     value: value,
     placeholder: placeholder,
@@ -11996,7 +11963,7 @@ function RichTextVisibilityHelper(_ref) {

 /* harmony default export */ var gallery_gallery = (Gallery);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/use-image-sizes.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/use-image-sizes.js
 /**
  * External dependencies
  */
@@ -12018,7 +11985,7 @@ function RichTextVisibilityHelper(_ref) {
  */

 function useImageSizes(images, isSelected, getSettings) {
-  return Object(external_wp_element_["useMemo"])(() => getImageSizing(), [images, isSelected]);
+  return (0,external_wp_element_namespaceObject.useMemo)(() => getImageSizing(), [images, isSelected]);

   function getImageSizing() {
     if (!images || images.length === 0) {
@@ -12037,8 +12004,8 @@ function useImageSizes(images, isSelected, getSettings) {
         }

         const sizes = imageSizes.reduce((currentSizes, size) => {
-          const defaultUrl = Object(external_lodash_["get"])(img, ['sizes', size.slug, 'url']);
-          const mediaDetailsUrl = Object(external_lodash_["get"])(img, ['media_details', 'sizes', size.slug, 'source_url']);
+          const defaultUrl = (0,external_lodash_namespaceObject.get)(img, ['sizes', size.slug, 'url']);
+          const mediaDetailsUrl = (0,external_lodash_namespaceObject.get)(img, ['media_details', 'sizes', size.slug, 'source_url']);
           return { ...currentSizes,
             [size.slug]: defaultUrl || mediaDetailsUrl
           };
@@ -12053,7 +12020,7 @@ function useImageSizes(images, isSelected, getSettings) {
       let {
         slug
       } = _ref;
-      return Object(external_lodash_["some"])(resizedImages, sizes => sizes[slug]);
+      return (0,external_lodash_namespaceObject.some)(resizedImages, sizes => sizes[slug]);
     }).map(_ref2 => {
       let {
         name,
@@ -12067,7 +12034,7 @@ function useImageSizes(images, isSelected, getSettings) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/use-short-code-transform.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/use-short-code-transform.js
 /**
  * External dependencies
  */
@@ -12088,12 +12055,12 @@ function useImageSizes(images, isSelected, getSettings) {
  */

 function useShortCodeTransform(shortCodeTransforms) {
-  const newImageData = Object(external_wp_data_["useSelect"])(select => {
+  const newImageData = (0,external_wp_data_namespaceObject.useSelect)(select => {
     if (!shortCodeTransforms || shortCodeTransforms.length === 0) {
       return;
     }

-    const getMedia = select(external_wp_coreData_["store"]).getMedia;
+    const getMedia = select(external_wp_coreData_namespaceObject.store).getMedia;
     return shortCodeTransforms.map(image => {
       const imageData = getMedia(image.id);

@@ -12116,12 +12083,12 @@ function useShortCodeTransform(shortCodeTransforms) {
     return;
   }

-  if (Object(external_lodash_["every"])(newImageData, img => img && img.url)) {
+  if ((0,external_lodash_namespaceObject.every)(newImageData, img => img && img.url)) {
     return newImageData;
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/use-get-new-images.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/use-get-new-images.js
 /**
  * WordPress dependencies
  */
@@ -12138,8 +12105,8 @@ function useShortCodeTransform(shortCodeTransforms) {
  */

 function useGetNewImages(images, imageData) {
-  const [currentImages, setCurrentImages] = Object(external_wp_element_["useState"])([]);
-  return Object(external_wp_element_["useMemo"])(() => getNewImages(), [images, imageData]);
+  const [currentImages, setCurrentImages] = (0,external_wp_element_namespaceObject.useState)([]);
+  return (0,external_wp_element_namespaceObject.useMemo)(() => getNewImages(), [images, imageData]);

   function getNewImages() {
     let imagesUpdated = false; // First lets check if any images have been deleted.
@@ -12172,7 +12139,7 @@ function useGetNewImages(images, imageData) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/use-get-media.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/use-get-media.js
 /**
  * WordPress dependencies
  */
@@ -12189,8 +12156,8 @@ function useGetNewImages(images, imageData) {
  */

 function useGetMedia(innerBlockImages) {
-  const [currentImageMedia, setCurrentImageMedia] = Object(external_wp_element_["useState"])([]);
-  const imageMedia = Object(external_wp_data_["useSelect"])(select => {
+  const [currentImageMedia, setCurrentImageMedia] = (0,external_wp_element_namespaceObject.useState)([]);
+  const imageMedia = (0,external_wp_data_namespaceObject.useSelect)(select => {
     if (!(innerBlockImages !== null && innerBlockImages !== void 0 && innerBlockImages.length)) {
       return currentImageMedia;
     }
@@ -12201,7 +12168,7 @@ function useGetMedia(innerBlockImages) {
       return currentImageMedia;
     }

-    return select(external_wp_coreData_["store"]).getMediaItems({
+    return select(external_wp_coreData_namespaceObject.store).getMediaItems({
       include: imageIds.join(','),
       per_page: -1
     });
@@ -12215,7 +12182,7 @@ function useGetMedia(innerBlockImages) {
   return currentImageMedia;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/edit.js



@@ -12256,17 +12223,17 @@ function useGetMedia(innerBlockImages) {
 const MAX_COLUMNS = 8;
 const linkOptions = [{
   value: LINK_DESTINATION_ATTACHMENT,
-  label: Object(external_wp_i18n_["__"])('Attachment Page')
+  label: (0,external_wp_i18n_namespaceObject.__)('Attachment Page')
 }, {
   value: LINK_DESTINATION_MEDIA,
-  label: Object(external_wp_i18n_["__"])('Media File')
+  label: (0,external_wp_i18n_namespaceObject.__)('Media File')
 }, {
   value: LINK_DESTINATION_NONE,
-  label: Object(external_wp_i18n_["_x"])('None', 'Media item link option')
+  label: (0,external_wp_i18n_namespaceObject._x)('None', 'Media item link option')
 }];
 const edit_ALLOWED_MEDIA_TYPES = ['image'];
-const PLACEHOLDER_TEXT = external_wp_element_["Platform"].isNative ? Object(external_wp_i18n_["__"])('ADD MEDIA') : Object(external_wp_i18n_["__"])('Drag images, upload new ones or select files from your library.');
-const MOBILE_CONTROL_PROPS_RANGE_CONTROL = external_wp_element_["Platform"].isNative ? {
+const PLACEHOLDER_TEXT = external_wp_element_namespaceObject.Platform.isNative ? (0,external_wp_i18n_namespaceObject.__)('ADD MEDIA') : (0,external_wp_i18n_namespaceObject.__)('Drag images, upload new ones or select files from your library.');
+const MOBILE_CONTROL_PROPS_RANGE_CONTROL = external_wp_element_namespaceObject.Platform.isNative ? {
   type: 'stepper'
 } : {};

@@ -12293,31 +12260,31 @@ function GalleryEdit(props) {
     __unstableMarkNextChangeAsNotPersistent,
     replaceInnerBlocks,
     updateBlockAttributes
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
   const {
     createSuccessNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
   const {
     getBlock,
     getSettings,
     preferredStyle
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _preferredStyleVariat;

-    const settings = select(external_wp_blockEditor_["store"]).getSettings();
+    const settings = select(external_wp_blockEditor_namespaceObject.store).getSettings();
     const preferredStyleVariations = settings.__experimentalPreferredStyleVariations;
     return {
-      getBlock: select(external_wp_blockEditor_["store"]).getBlock,
-      getSettings: select(external_wp_blockEditor_["store"]).getSettings,
+      getBlock: select(external_wp_blockEditor_namespaceObject.store).getBlock,
+      getSettings: select(external_wp_blockEditor_namespaceObject.store).getSettings,
       preferredStyle: preferredStyleVariations === null || preferredStyleVariations === void 0 ? void 0 : (_preferredStyleVariat = preferredStyleVariations.value) === null || _preferredStyleVariat === void 0 ? void 0 : _preferredStyleVariat['core/image']
     };
   }, []);
-  const innerBlockImages = Object(external_wp_data_["useSelect"])(select => {
+  const innerBlockImages = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _select$getBlock;

-    return (_select$getBlock = select(external_wp_blockEditor_["store"]).getBlock(clientId)) === null || _select$getBlock === void 0 ? void 0 : _select$getBlock.innerBlocks;
+    return (_select$getBlock = select(external_wp_blockEditor_namespaceObject.store).getBlock(clientId)) === null || _select$getBlock === void 0 ? void 0 : _select$getBlock.innerBlocks;
   }, [clientId]);
-  const images = Object(external_wp_element_["useMemo"])(() => innerBlockImages === null || innerBlockImages === void 0 ? void 0 : innerBlockImages.map(block => ({
+  const images = (0,external_wp_element_namespaceObject.useMemo)(() => innerBlockImages === null || innerBlockImages === void 0 ? void 0 : innerBlockImages.map(block => ({
     clientId: block.clientId,
     id: block.attributes.id,
     url: block.attributes.url,
@@ -12326,7 +12293,7 @@ function GalleryEdit(props) {
   })), [innerBlockImages]);
   const imageData = useGetMedia(innerBlockImages);
   const newImages = useGetNewImages(images, imageData);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     newImages === null || newImages === void 0 ? void 0 : newImages.forEach(newImage => {
       updateBlockAttributes(newImage.clientId, { ...buildImageAttributes(newImage.attributes),
         id: newImage.id,
@@ -12335,7 +12302,7 @@ function GalleryEdit(props) {
     });
   }, [newImages]);
   const shortCodeImages = useShortCodeTransform(shortCodeTransforms);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!shortCodeTransforms || !shortCodeImages) {
       return;
     }
@@ -12360,7 +12327,7 @@ function GalleryEdit(props) {
    */

   function buildImageAttributes(imageAttributes) {
-    const image = imageAttributes.id ? Object(external_lodash_["find"])(imageData, {
+    const image = imageAttributes.id ? (0,external_lodash_namespaceObject.find)(imageData, {
       id: imageAttributes.id
     }) : null;
     let newClassName;
@@ -12394,7 +12361,7 @@ function GalleryEdit(props) {
     const imageArray = newFileUploads ? Array.from(selectedImages).map(file => {
       if (!file.url) {
         return pickRelevantMediaFiles({
-          url: Object(external_wp_blob_["createBlobURL"])(file)
+          url: (0,external_wp_blob_namespaceObject.createBlobURL)(file)
         });
       }

@@ -12403,7 +12370,7 @@ function GalleryEdit(props) {

     if (!imageArray.every(isValidFileType)) {
       noticeOperations.removeAllNotices();
-      noticeOperations.createErrorNotice(Object(external_wp_i18n_["__"])('If uploading to a gallery all files need to be image formats'), {
+      noticeOperations.createErrorNotice((0,external_wp_i18n_namespaceObject.__)('If uploading to a gallery all files need to be image formats'), {
         id: 'gallery-upload-invalid-file'
       });
     }
@@ -12411,7 +12378,7 @@ function GalleryEdit(props) {
     const processedImages = imageArray.filter(file => file.url || isValidFileType(file)).map(file => {
       if (!file.url) {
         return pickRelevantMediaFiles({
-          url: Object(external_wp_blob_["createBlobURL"])(file)
+          url: (0,external_wp_blob_namespaceObject.createBlobURL)(file)
         });
       }

@@ -12424,14 +12391,14 @@ function GalleryEdit(props) {
     const existingImageBlocks = !newFileUploads ? innerBlockImages.filter(block => processedImages.find(img => img.id === block.attributes.id)) : innerBlockImages;
     const newImageList = processedImages.filter(img => !existingImageBlocks.find(existingImg => img.id === existingImg.attributes.id));
     const newBlocks = newImageList.map(image => {
-      return Object(external_wp_blocks_["createBlock"])('core/image', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
         id: image.id,
         url: image.url,
         caption: image.caption,
         alt: image.alt
       });
     });
-    replaceInnerBlocks(clientId, Object(external_lodash_["concat"])(existingImageBlocks, newBlocks).sort((a, b) => newOrderMap[a.attributes.id] - newOrderMap[b.attributes.id]));
+    replaceInnerBlocks(clientId, (0,external_lodash_namespaceObject.concat)(existingImageBlocks, newBlocks).sort((a, b) => newOrderMap[a.attributes.id] - newOrderMap[b.attributes.id]));
   }

   function onUploadError(message) {
@@ -12447,16 +12414,16 @@ function GalleryEdit(props) {
     const blocks = [];
     getBlock(clientId).innerBlocks.forEach(block => {
       blocks.push(block.clientId);
-      const image = block.attributes.id ? Object(external_lodash_["find"])(imageData, {
+      const image = block.attributes.id ? (0,external_lodash_namespaceObject.find)(imageData, {
         id: block.attributes.id
       }) : null;
       changedAttributes[block.clientId] = utils_getHrefAndDestination(image, value);
     });
     updateBlockAttributes(blocks, changedAttributes, true);
     const linkToText = [...linkOptions].find(linkType => linkType.value === value);
-    createSuccessNotice(Object(external_wp_i18n_["sprintf"])(
+    createSuccessNotice((0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: image size settings */
-    Object(external_wp_i18n_["__"])('All gallery image links updated to: %s'), linkToText.label), {
+    (0,external_wp_i18n_namespaceObject.__)('All gallery image links updated to: %s'), linkToText.label), {
       id: 'gallery-attributes-linkTo',
       type: 'snackbar'
     });
@@ -12475,7 +12442,7 @@ function GalleryEdit(props) {
   }

   function getImageCropHelp(checked) {
-    return checked ? Object(external_wp_i18n_["__"])('Thumbnails are cropped to align.') : Object(external_wp_i18n_["__"])('Thumbnails are not cropped.');
+    return checked ? (0,external_wp_i18n_namespaceObject.__)('Thumbnails are cropped to align.') : (0,external_wp_i18n_namespaceObject.__)('Thumbnails are not cropped.');
   }

   function toggleOpenInNewTab(openInNewTab) {
@@ -12490,7 +12457,7 @@ function GalleryEdit(props) {
       changedAttributes[block.clientId] = getUpdatedLinkTargetSettings(newLinkTarget, block.attributes);
     });
     updateBlockAttributes(blocks, changedAttributes, true);
-    const noticeText = openInNewTab ? Object(external_wp_i18n_["__"])('All gallery images updated to open in new tab') : Object(external_wp_i18n_["__"])('All gallery images updated to not open in new tab');
+    const noticeText = openInNewTab ? (0,external_wp_i18n_namespaceObject.__)('All gallery images updated to open in new tab') : (0,external_wp_i18n_namespaceObject.__)('All gallery images updated to not open in new tab');
     createSuccessNotice(noticeText, {
       id: 'gallery-attributes-openInNewTab',
       type: 'snackbar'
@@ -12505,22 +12472,22 @@ function GalleryEdit(props) {
     const blocks = [];
     getBlock(clientId).innerBlocks.forEach(block => {
       blocks.push(block.clientId);
-      const image = block.attributes.id ? Object(external_lodash_["find"])(imageData, {
+      const image = block.attributes.id ? (0,external_lodash_namespaceObject.find)(imageData, {
         id: block.attributes.id
       }) : null;
       changedAttributes[block.clientId] = getImageSizeAttributes(image, newSizeSlug);
     });
     updateBlockAttributes(blocks, changedAttributes, true);
     const imageSize = imageSizeOptions.find(size => size.value === newSizeSlug);
-    createSuccessNotice(Object(external_wp_i18n_["sprintf"])(
+    createSuccessNotice((0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: image size settings */
-    Object(external_wp_i18n_["__"])('All gallery image sizes updated to: %s'), imageSize.label), {
+    (0,external_wp_i18n_namespaceObject.__)('All gallery image sizes updated to: %s'), imageSize.label), {
       id: 'gallery-attributes-sizeSlug',
       type: 'snackbar'
     });
   }

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // linkTo attribute must be saved so blocks don't break when changing image_default_link_type in options.php
     if (!linkTo) {
       var _window, _window$wp, _window$wp$media, _window$wp$media$view, _window$wp$media$view2, _window$wp$media$view3;
@@ -12539,14 +12506,14 @@ function GalleryEdit(props) {

     return !img.id && ((_img$url = img.url) === null || _img$url === void 0 ? void 0 : _img$url.indexOf('blob:')) === 0;
   });
-  const mediaPlaceholder = Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
+  const mediaPlaceholder = (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
     addToGallery: hasImageIds,
     handleUpload: false,
     isAppender: hasImages,
     disableMediaButtons: hasImages && !isSelected || imagesUploading,
     icon: !hasImages && sharedIcon,
     labels: {
-      title: !hasImages && Object(external_wp_i18n_["__"])('Gallery'),
+      title: !hasImages && (0,external_wp_i18n_namespaceObject.__)('Gallery'),
       instructions: !hasImages && PLACEHOLDER_TEXT
     },
     onSelect: updateImages,
@@ -12557,51 +12524,51 @@ function GalleryEdit(props) {
     onError: onUploadError,
     notices: hasImages ? undefined : noticeUI
   });
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()(className, 'has-nested-images')
   });

   if (!hasImages) {
-    return Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], blockProps, mediaPlaceholder);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.View, blockProps, mediaPlaceholder);
   }

   const hasLinkTo = linkTo && linkTo !== 'none';
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Gallery settings')
-  }, images.length > 1 && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], Object(esm_extends["a" /* default */])({
-    label: Object(external_wp_i18n_["__"])('Columns'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Gallery settings')
+  }, images.length > 1 && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, _extends({
+    label: (0,external_wp_i18n_namespaceObject.__)('Columns'),
     value: columns ? columns : defaultColumnsNumber(images.length),
     onChange: setColumnsNumber,
     min: 1,
     max: Math.min(MAX_COLUMNS, images.length)
   }, MOBILE_CONTROL_PROPS_RANGE_CONTROL, {
     required: true
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Crop images'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Crop images'),
     checked: !!imageCrop,
     onChange: toggleImageCrop,
     help: getImageCropHelp
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Link to'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Link to'),
     value: linkTo,
     onChange: setLinkTo,
     options: linkOptions,
     hideCancelButton: true
-  }), hasLinkTo && Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Open in new tab'),
+  }), hasLinkTo && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Open in new tab'),
     checked: linkTarget === '_blank',
     onChange: toggleOpenInNewTab
-  }), (imageSizeOptions === null || imageSizeOptions === void 0 ? void 0 : imageSizeOptions.length) > 0 && Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Image size'),
+  }), (imageSizeOptions === null || imageSizeOptions === void 0 ? void 0 : imageSizeOptions.length) > 0 && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Image size'),
     value: sizeSlug,
     options: imageSizeOptions,
     onChange: updateImagesSize,
     hideCancelButton: true
-  }), external_wp_element_["Platform"].isWeb && !imageSizeOptions && hasImageIds && Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
+  }), external_wp_element_namespaceObject.Platform.isWeb && !imageSizeOptions && hasImageIds && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, {
     className: 'gallery-image-sizes'
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"].VisualLabel, null, Object(external_wp_i18n_["__"])('Image size')), Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl.VisualLabel, null, (0,external_wp_i18n_namespaceObject.__)('Image size')), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.View, {
     className: 'gallery-image-sizes__loading'
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), Object(external_wp_i18n_["__"])('Loading options…'))))), noticeUI, Object(external_wp_element_["createElement"])(gallery_gallery, Object(esm_extends["a" /* default */])({}, props, {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null), (0,external_wp_i18n_namespaceObject.__)('Loading options…'))))), noticeUI, (0,external_wp_element_namespaceObject.createElement)(gallery_gallery, _extends({}, props, {
     images: images,
     mediaPlaceholder: mediaPlaceholder,
     blockProps: blockProps,
@@ -12609,20 +12576,20 @@ function GalleryEdit(props) {
   })));
 }

-/* harmony default export */ var gallery_edit = (Object(external_wp_compose_["compose"])([external_wp_components_["withNotices"], Object(external_wp_viewport_["withViewportMatch"])({
+/* harmony default export */ var gallery_edit = ((0,external_wp_compose_namespaceObject.compose)([external_wp_components_namespaceObject.withNotices, (0,external_wp_viewport_namespaceObject.withViewportMatch)({
   isNarrow: '< small'
 })])(GalleryEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/shared.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/shared.js
 /**
  * External dependencies
  */

 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']);
+  const imageProps = (0,external_lodash_namespaceObject.pick)(image, ['alt', 'id', 'link', 'caption']);
+  imageProps.url = (0,external_lodash_namespaceObject.get)(image, ['sizes', sizeSlug, 'url']) || (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', sizeSlug, 'source_url']) || image.url;
+  const fullUrl = (0,external_lodash_namespaceObject.get)(image, ['sizes', 'full', 'url']) || (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', 'full', 'source_url']);

   if (fullUrl) {
     imageProps.fullUrl = fullUrl;
@@ -12631,36 +12598,72 @@ const shared_pickRelevantMediaFiles = function (image) {
   return imageProps;
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/image.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/image.js


 /**
  * WordPress dependencies
  */

-const image_image = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const image_image = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"
 }));
 /* harmony default export */ var library_image = (image_image);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
-var chevron_left = __webpack_require__("2gm7");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const chevronLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
+}));
+/* harmony default export */ var chevron_left = (chevronLeft);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
-var chevron_right = __webpack_require__("1iEr");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
+/**
+ * WordPress dependencies
+ */
+
+const chevronRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
+}));
+/* harmony default export */ var chevron_right = (chevronRight);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const closeSmall = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
+}));
+/* harmony default export */ var close_small = (closeSmall);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/constants.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/constants.js
 const v1_constants_LINK_DESTINATION_NONE = 'none';
 const v1_constants_LINK_DESTINATION_MEDIA = 'file';
 const v1_constants_LINK_DESTINATION_ATTACHMENT = 'post';

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/gallery-image.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/gallery-image.js


 /**
@@ -12689,9 +12692,9 @@ const v1_constants_LINK_DESTINATION_ATTACHMENT = 'post';



-const isTemporaryImage = (id, url) => !id && Object(external_wp_blob_["isBlobURL"])(url);
+const isTemporaryImage = (id, url) => !id && (0,external_wp_blob_namespaceObject.isBlobURL)(url);

-class gallery_image_GalleryImage extends external_wp_element_["Component"] {
+class GalleryImage extends external_wp_element_namespaceObject.Component {
   constructor() {
     super(...arguments);
     this.onSelectImage = this.onSelectImage.bind(this);
@@ -12716,7 +12719,7 @@ class gallery_image_GalleryImage extends external_wp_element_["Component"] {
   }

   onRemoveImage(event) {
-    if (this.container === this.container.ownerDocument.activeElement && this.props.isSelected && [external_wp_keycodes_["BACKSPACE"], external_wp_keycodes_["DELETE"]].indexOf(event.keyCode) !== -1) {
+    if (this.container === this.container.ownerDocument.activeElement && this.props.isSelected && [external_wp_keycodes_namespaceObject.BACKSPACE, external_wp_keycodes_namespaceObject.DELETE].indexOf(event.keyCode) !== -1) {
       event.preventDefault();
       this.props.onRemove();
     }
@@ -12768,14 +12771,14 @@ class gallery_image_GalleryImage extends external_wp_element_["Component"] {

     if (isTemporaryImage(id, url)) {
       if (alt) {
-        mediaAttributes = Object(external_lodash_["omit"])(mediaAttributes, ['alt']);
+        mediaAttributes = (0,external_lodash_namespaceObject.omit)(mediaAttributes, ['alt']);
       }
     } // If a caption text was meanwhile written by the user,
     // make sure the text is not overwritten by empty captions.


-    if (caption && !Object(external_lodash_["get"])(mediaAttributes, ['caption'])) {
-      mediaAttributes = Object(external_lodash_["omit"])(mediaAttributes, ['caption']);
+    if (caption && !(0,external_lodash_namespaceObject.get)(mediaAttributes, ['caption'])) {
+      mediaAttributes = (0,external_lodash_namespaceObject.omit)(mediaAttributes, ['caption']);
     }

     setAttributes(mediaAttributes);
@@ -12837,7 +12840,7 @@ class gallery_image_GalleryImage extends external_wp_element_["Component"] {
     // direct image selection and unfocus caption fields.

     /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
-    Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("img", {
+    (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("img", {
       src: url,
       alt: alt,
       "data-id": id,
@@ -12845,23 +12848,23 @@ class gallery_image_GalleryImage extends external_wp_element_["Component"] {
       tabIndex: "0",
       "aria-label": ariaLabel,
       ref: this.bindContainer
-    }), Object(external_wp_blob_["isBlobURL"])(url) && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null))
+    }), (0,external_wp_blob_namespaceObject.isBlobURL)(url) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null))
     /* eslint-enable jsx-a11y/no-noninteractive-element-interactions */
     ;
     const className = classnames_default()({
       'is-selected': isSelected,
-      'is-transient': Object(external_wp_blob_["isBlobURL"])(url)
+      'is-transient': (0,external_wp_blob_namespaceObject.isBlobURL)(url)
     });
     return (// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions
-      Object(external_wp_element_["createElement"])("figure", {
+      (0,external_wp_element_namespaceObject.createElement)("figure", {
         className: className,
         onClick: this.onSelectImage,
         onFocus: this.onSelectImage
-      }, !isEditing && (href ? Object(external_wp_element_["createElement"])("a", {
+      }, !isEditing && (href ? (0,external_wp_element_namespaceObject.createElement)("a", {
         href: href
-      }, img) : img), isEditing && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
+      }, img) : img), isEditing && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
         labels: {
-          title: Object(external_wp_i18n_["__"])('Edit gallery image')
+          title: (0,external_wp_i18n_namespaceObject.__)('Edit gallery image')
         },
         icon: library_image,
         onSelect: this.onSelectImageFromLibrary,
@@ -12872,36 +12875,36 @@ class gallery_image_GalleryImage extends external_wp_element_["Component"] {
           id,
           src: url
         }
-      }), Object(external_wp_element_["createElement"])(external_wp_components_["ButtonGroup"], {
+      }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ButtonGroup, {
         className: "block-library-gallery-item__inline-menu is-left"
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        icon: chevron_left["a" /* default */],
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        icon: chevron_left,
         onClick: isFirstItem ? undefined : onMoveBackward,
-        label: Object(external_wp_i18n_["__"])('Move image backward'),
+        label: (0,external_wp_i18n_namespaceObject.__)('Move image backward'),
         "aria-disabled": isFirstItem,
         disabled: !isSelected
-      }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        icon: chevron_right["a" /* default */],
+      }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        icon: chevron_right,
         onClick: isLastItem ? undefined : onMoveForward,
-        label: Object(external_wp_i18n_["__"])('Move image forward'),
+        label: (0,external_wp_i18n_namespaceObject.__)('Move image forward'),
         "aria-disabled": isLastItem,
         disabled: !isSelected
-      })), Object(external_wp_element_["createElement"])(external_wp_components_["ButtonGroup"], {
+      })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ButtonGroup, {
         className: "block-library-gallery-item__inline-menu is-right"
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        icon: library_edit["a" /* default */],
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        icon: library_edit,
         onClick: this.onEdit,
-        label: Object(external_wp_i18n_["__"])('Replace image'),
+        label: (0,external_wp_i18n_namespaceObject.__)('Replace image'),
         disabled: !isSelected
-      }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        icon: close_small["a" /* default */],
+      }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        icon: close_small,
         onClick: onRemove,
-        label: Object(external_wp_i18n_["__"])('Remove image'),
+        label: (0,external_wp_i18n_namespaceObject.__)('Remove image'),
         disabled: !isSelected
-      })), !isEditing && (isSelected || caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+      })), !isEditing && (isSelected || caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
         tagName: "figcaption",
-        "aria-label": Object(external_wp_i18n_["__"])('Image caption text'),
-        placeholder: isSelected ? Object(external_wp_i18n_["__"])('Add caption') : null,
+        "aria-label": (0,external_wp_i18n_namespaceObject.__)('Image caption text'),
+        placeholder: isSelected ? (0,external_wp_i18n_namespaceObject.__)('Add caption') : null,
         value: caption,
         onChange: newCaption => setAttributes({
           caption: newCaption
@@ -12913,26 +12916,26 @@ class gallery_image_GalleryImage extends external_wp_element_["Component"] {

 }

-/* harmony default export */ var gallery_image = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, ownProps) => {
+/* harmony default export */ var gallery_image = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)((select, ownProps) => {
   const {
     getMedia
-  } = select(external_wp_coreData_["store"]);
+  } = select(external_wp_coreData_namespaceObject.store);
   const {
     id
   } = ownProps;
   return {
     image: id ? getMedia(parseInt(id, 10)) : null
   };
-}), Object(external_wp_data_["withDispatch"])(dispatch => {
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
   const {
     __unstableMarkNextChangeAsNotPersistent
-  } = dispatch(external_wp_blockEditor_["store"]);
+  } = dispatch(external_wp_blockEditor_namespaceObject.store);
   return {
     __unstableMarkNextChangeAsNotPersistent
   };
-})])(gallery_image_GalleryImage));
+})])(GalleryImage));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/gallery.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/gallery.js



@@ -12977,22 +12980,22 @@ const gallery_Gallery = props => {
     imageCrop,
     images
   } = attributes;
-  return Object(external_wp_element_["createElement"])("figure", Object(esm_extends["a" /* default */])({}, blockProps, {
+  return (0,external_wp_element_namespaceObject.createElement)("figure", _extends({}, blockProps, {
     className: classnames_default()(blockProps.className, {
       [`align${align}`]: align,
       [`columns-${columns}`]: columns,
       'is-cropped': imageCrop
     })
-  }), Object(external_wp_element_["createElement"])("ul", {
+  }), (0,external_wp_element_namespaceObject.createElement)("ul", {
     className: "blocks-gallery-grid"
   }, images.map((img, index) => {
-    const ariaLabel = Object(external_wp_i18n_["sprintf"])(
+    const ariaLabel = (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: 1: the order number of the image. 2: the total number of images. */
-    Object(external_wp_i18n_["__"])('image %1$d of %2$d in gallery'), index + 1, images.length);
-    return Object(external_wp_element_["createElement"])("li", {
+    (0,external_wp_i18n_namespaceObject.__)('image %1$d of %2$d in gallery'), index + 1, images.length);
+    return (0,external_wp_element_namespaceObject.createElement)("li", {
       className: "blocks-gallery-item",
       key: img.id ? `${img.id}-${index}` : img.url
-    }, Object(external_wp_element_["createElement"])(gallery_image, {
+    }, (0,external_wp_element_namespaceObject.createElement)(gallery_image, {
       url: img.url,
       alt: img.alt,
       id: img.id,
@@ -13009,18 +13012,18 @@ const gallery_Gallery = props => {
       "aria-label": ariaLabel,
       sizeSlug: attributes.sizeSlug
     }));
-  })), mediaPlaceholder, Object(external_wp_element_["createElement"])(gallery_RichTextVisibilityHelper, {
-    isHidden: !isSelected && external_wp_blockEditor_["RichText"].isEmpty(caption),
+  })), mediaPlaceholder, (0,external_wp_element_namespaceObject.createElement)(gallery_RichTextVisibilityHelper, {
+    isHidden: !isSelected && external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption),
     tagName: "figcaption",
     className: "blocks-gallery-caption",
-    "aria-label": Object(external_wp_i18n_["__"])('Gallery caption text'),
-    placeholder: Object(external_wp_i18n_["__"])('Write gallery caption…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Gallery caption text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write gallery caption…'),
     value: caption,
     onChange: value => setAttributes({
       caption: value
     }),
     inlineToolbar: true,
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'))
   }));
 };

@@ -13029,14 +13032,14 @@ function gallery_RichTextVisibilityHelper(_ref) {
     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);
+  return isHidden ? (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, _extends({
+    as: external_wp_blockEditor_namespaceObject.RichText
+  }, richTextProps)) : (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, richTextProps);
 }

 /* harmony default export */ var v1_gallery = (gallery_Gallery);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/edit.js



@@ -13070,20 +13073,20 @@ function gallery_RichTextVisibilityHelper(_ref) {
 const edit_MAX_COLUMNS = 8;
 const edit_linkOptions = [{
   value: v1_constants_LINK_DESTINATION_ATTACHMENT,
-  label: Object(external_wp_i18n_["__"])('Attachment Page')
+  label: (0,external_wp_i18n_namespaceObject.__)('Attachment Page')
 }, {
   value: v1_constants_LINK_DESTINATION_MEDIA,
-  label: Object(external_wp_i18n_["__"])('Media File')
+  label: (0,external_wp_i18n_namespaceObject.__)('Media File')
 }, {
   value: v1_constants_LINK_DESTINATION_NONE,
-  label: Object(external_wp_i18n_["__"])('None')
+  label: (0,external_wp_i18n_namespaceObject.__)('None')
 }];
 const v1_edit_ALLOWED_MEDIA_TYPES = ['image'];
-const edit_PLACEHOLDER_TEXT = external_wp_element_["Platform"].select({
-  web: Object(external_wp_i18n_["__"])('Drag images, upload new ones or select files from your library.'),
-  native: Object(external_wp_i18n_["__"])('ADD MEDIA')
+const edit_PLACEHOLDER_TEXT = external_wp_element_namespaceObject.Platform.select({
+  web: (0,external_wp_i18n_namespaceObject.__)('Drag images, upload new ones or select files from your library.'),
+  native: (0,external_wp_i18n_namespaceObject.__)('ADD MEDIA')
 });
-const edit_MOBILE_CONTROL_PROPS_RANGE_CONTROL = external_wp_element_["Platform"].select({
+const edit_MOBILE_CONTROL_PROPS_RANGE_CONTROL = external_wp_element_namespaceObject.Platform.select({
   web: {},
   native: {
     type: 'stepper'
@@ -13106,36 +13109,36 @@ function edit_GalleryEdit(props) {
     linkTo,
     sizeSlug
   } = attributes;
-  const [selectedImage, setSelectedImage] = Object(external_wp_element_["useState"])();
-  const [attachmentCaptions, setAttachmentCaptions] = Object(external_wp_element_["useState"])();
+  const [selectedImage, setSelectedImage] = (0,external_wp_element_namespaceObject.useState)();
+  const [attachmentCaptions, setAttachmentCaptions] = (0,external_wp_element_namespaceObject.useState)();
   const {
     __unstableMarkNextChangeAsNotPersistent
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
   const {
     imageSizes,
     mediaUpload,
     getMedia,
     wasBlockJustInserted
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const settings = select(external_wp_blockEditor_["store"]).getSettings();
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const settings = select(external_wp_blockEditor_namespaceObject.store).getSettings();
     return {
       imageSizes: settings.imageSizes,
       mediaUpload: settings.mediaUpload,
-      getMedia: select(external_wp_coreData_["store"]).getMedia,
-      wasBlockJustInserted: select(external_wp_blockEditor_["store"]).wasBlockJustInserted(clientId, 'inserter_menu')
+      getMedia: select(external_wp_coreData_namespaceObject.store).getMedia,
+      wasBlockJustInserted: select(external_wp_blockEditor_namespaceObject.store).wasBlockJustInserted(clientId, 'inserter_menu')
     };
   });
-  const resizedImages = Object(external_wp_element_["useMemo"])(() => {
+  const resizedImages = (0,external_wp_element_namespaceObject.useMemo)(() => {
     if (isSelected) {
-      return Object(external_lodash_["reduce"])(attributes.ids, (currentResizedImages, id) => {
+      return (0,external_lodash_namespaceObject.reduce)(attributes.ids, (currentResizedImages, id) => {
         if (!id) {
           return currentResizedImages;
         }

         const image = getMedia(id);
-        const sizes = Object(external_lodash_["reduce"])(imageSizes, (currentSizes, size) => {
-          const defaultUrl = Object(external_lodash_["get"])(image, ['sizes', size.slug, 'url']);
-          const mediaDetailsUrl = Object(external_lodash_["get"])(image, ['media_details', 'sizes', size.slug, 'source_url']);
+        const sizes = (0,external_lodash_namespaceObject.reduce)(imageSizes, (currentSizes, size) => {
+          const defaultUrl = (0,external_lodash_namespaceObject.get)(image, ['sizes', size.slug, 'url']);
+          const mediaDetailsUrl = (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', size.slug, 'source_url']);
           return { ...currentSizes,
             [size.slug]: defaultUrl || mediaDetailsUrl
           };
@@ -13162,7 +13165,7 @@ 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, _ref => {
+        ids: (0,external_lodash_namespaceObject.map)(newAttrs.images, _ref => {
           let {
             id
           } = _ref;
@@ -13218,7 +13221,7 @@ function edit_GalleryEdit(props) {

   function onRemoveImage(index) {
     return () => {
-      const newImages = Object(external_lodash_["filter"])(images, (img, i) => index !== i);
+      const newImages = (0,external_lodash_namespaceObject.filter)(images, (img, i) => index !== i);
       setSelectedImage();
       setAttributes({
         images: newImages,
@@ -13231,8 +13234,8 @@ function edit_GalleryEdit(props) {
     // The image id in both the images and attachmentCaptions arrays is a
     // string, so ensure comparison works correctly by converting the
     // newImage.id to a string.
-    const newImageId = Object(external_lodash_["toString"])(newImage.id);
-    const currentImage = Object(external_lodash_["find"])(images, {
+    const newImageId = (0,external_lodash_namespaceObject.toString)(newImage.id);
+    const currentImage = (0,external_lodash_namespaceObject.find)(images, {
       id: newImageId
     });
     const currentImageCaption = currentImage ? currentImage.caption : newImage.caption;
@@ -13241,7 +13244,7 @@ function edit_GalleryEdit(props) {
       return currentImageCaption;
     }

-    const attachment = Object(external_lodash_["find"])(attachmentCaptions, {
+    const attachment = (0,external_lodash_namespaceObject.find)(attachmentCaptions, {
       id: newImageId
     }); // if the attachment caption is updated

@@ -13256,7 +13259,7 @@ function edit_GalleryEdit(props) {
     setAttachmentCaptions(newImages.map(newImage => ({
       // Store the attachmentCaption id as a string for consistency
       // with the type of the id in the images attribute.
-      id: Object(external_lodash_["toString"])(newImage.id),
+      id: (0,external_lodash_namespaceObject.toString)(newImage.id),
       caption: newImage.caption
     })));
     setAttributes({
@@ -13265,7 +13268,7 @@ function edit_GalleryEdit(props) {
         // The id value is stored in a data attribute, so when the
         // block is parsed it's converted to a string. Converting
         // to a string here ensures it's type is consistent.
-        id: Object(external_lodash_["toString"])(newImage.id)
+        id: (0,external_lodash_namespaceObject.toString)(newImage.id)
       })),
       columns: attributes.columns ? Math.min(newImages.length, attributes.columns) : attributes.columns
     });
@@ -13295,7 +13298,7 @@ function edit_GalleryEdit(props) {
   }

   function getImageCropHelp(checked) {
-    return checked ? Object(external_wp_i18n_["__"])('Thumbnails are cropped to align.') : Object(external_wp_i18n_["__"])('Thumbnails are not cropped.');
+    return checked ? (0,external_wp_i18n_namespaceObject.__)('Thumbnails are cropped to align.') : (0,external_wp_i18n_namespaceObject.__)('Thumbnails are not cropped.');
   }

   function setImageAttributes(index, newAttributes) {
@@ -13311,11 +13314,11 @@ function edit_GalleryEdit(props) {
   }

   function getImagesSizeOptions() {
-    return Object(external_lodash_["map"])(Object(external_lodash_["filter"])(imageSizes, _ref2 => {
+    return (0,external_lodash_namespaceObject.map)((0,external_lodash_namespaceObject.filter)(imageSizes, _ref2 => {
       let {
         slug
       } = _ref2;
-      return Object(external_lodash_["some"])(resizedImages, sizes => sizes[slug]);
+      return (0,external_lodash_namespaceObject.some)(resizedImages, sizes => sizes[slug]);
     }), _ref3 => {
       let {
         name,
@@ -13329,12 +13332,12 @@ function edit_GalleryEdit(props) {
   }

   function updateImagesSize(newSizeSlug) {
-    const updatedImages = Object(external_lodash_["map"])(images, image => {
+    const updatedImages = (0,external_lodash_namespaceObject.map)(images, image => {
       if (!image.id) {
         return image;
       }

-      const url = Object(external_lodash_["get"])(resizedImages, [parseInt(image.id, 10), newSizeSlug]);
+      const url = (0,external_lodash_namespaceObject.get)(resizedImages, [parseInt(image.id, 10), newSizeSlug]);
       return { ...image,
         ...(url && {
           url
@@ -13347,24 +13350,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, _ref4 => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (external_wp_element_namespaceObject.Platform.OS === 'web' && images && images.length > 0 && (0,external_lodash_namespaceObject.every)(images, _ref4 => {
       let {
         url
       } = _ref4;
-      return Object(external_wp_blob_["isBlobURL"])(url);
+      return (0,external_wp_blob_namespaceObject.isBlobURL)(url);
     })) {
-      const filesList = Object(external_lodash_["map"])(images, _ref5 => {
+      const filesList = (0,external_lodash_namespaceObject.map)(images, _ref5 => {
         let {
           url
         } = _ref5;
-        return Object(external_wp_blob_["getBlobByURL"])(url);
+        return (0,external_wp_blob_namespaceObject.getBlobByURL)(url);
       });
-      Object(external_lodash_["forEach"])(images, _ref6 => {
+      (0,external_lodash_namespaceObject.forEach)(images, _ref6 => {
         let {
           url
         } = _ref6;
-        return Object(external_wp_blob_["revokeBlobURL"])(url);
+        return (0,external_wp_blob_namespaceObject.revokeBlobURL)(url);
       });
       mediaUpload({
         filesList,
@@ -13373,13 +13376,13 @@ function edit_GalleryEdit(props) {
       });
     }
   }, []);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // Deselect images when deselecting the block
     if (!isSelected) {
       setSelectedImage();
     }
   }, [isSelected]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // linkTo attribute must be saved so blocks don't break when changing
     // image_default_link_type in options.php
     if (!linkTo) {
@@ -13394,13 +13397,13 @@ function edit_GalleryEdit(props) {
   }, [linkTo]);
   const hasImages = !!images.length;
   const hasImageIds = hasImages && images.some(image => !!image.id);
-  const mediaPlaceholder = Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
+  const mediaPlaceholder = (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
     addToGallery: hasImageIds,
     isAppender: hasImages,
     disableMediaButtons: hasImages && !isSelected,
     icon: !hasImages && sharedIcon,
     labels: {
-      title: !hasImages && Object(external_wp_i18n_["__"])('Gallery'),
+      title: !hasImages && (0,external_wp_i18n_namespaceObject.__)('Gallery'),
       instructions: !hasImages && edit_PLACEHOLDER_TEXT
     },
     onSelect: onSelectImages,
@@ -13413,42 +13416,42 @@ function edit_GalleryEdit(props) {
     onFocus: onFocus,
     autoOpenMediaUpload: !hasImages && isSelected && wasBlockJustInserted
   });
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();

   if (!hasImages) {
-    return Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], blockProps, mediaPlaceholder);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.View, blockProps, mediaPlaceholder);
   }

   const imageSizeOptions = getImagesSizeOptions();
-  const shouldShowSizeOptions = hasImages && !Object(external_lodash_["isEmpty"])(imageSizeOptions);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Gallery settings')
-  }, images.length > 1 && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], Object(esm_extends["a" /* default */])({
-    label: Object(external_wp_i18n_["__"])('Columns'),
+  const shouldShowSizeOptions = hasImages && !(0,external_lodash_namespaceObject.isEmpty)(imageSizeOptions);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Gallery settings')
+  }, images.length > 1 && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, _extends({
+    label: (0,external_wp_i18n_namespaceObject.__)('Columns'),
     value: columns,
     onChange: setColumnsNumber,
     min: 1,
     max: Math.min(edit_MAX_COLUMNS, images.length)
   }, edit_MOBILE_CONTROL_PROPS_RANGE_CONTROL, {
     required: true
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Crop images'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Crop images'),
     checked: !!imageCrop,
     onChange: toggleImageCrop,
     help: getImageCropHelp
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Link to'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Link to'),
     value: linkTo,
     onChange: setLinkTo,
     options: edit_linkOptions,
     hideCancelButton: true
-  }), shouldShowSizeOptions && Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Image size'),
+  }), shouldShowSizeOptions && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Image size'),
     value: sizeSlug,
     options: imageSizeOptions,
     onChange: updateImagesSize,
     hideCancelButton: true
-  }))), noticeUI, Object(external_wp_element_["createElement"])(v1_gallery, Object(esm_extends["a" /* default */])({}, props, {
+  }))), noticeUI, (0,external_wp_element_namespaceObject.createElement)(v1_gallery, _extends({}, props, {
     selectedImage: selectedImage,
     mediaPlaceholder: mediaPlaceholder,
     onMoveBackward: onMoveBackward,
@@ -13463,11 +13466,11 @@ function edit_GalleryEdit(props) {
   })));
 }

-/* harmony default export */ var v1_edit = (Object(external_wp_compose_["compose"])([external_wp_components_["withNotices"], Object(external_wp_viewport_["withViewportMatch"])({
+/* harmony default export */ var v1_edit = ((0,external_wp_compose_namespaceObject.compose)([external_wp_components_namespaceObject.withNotices, (0,external_wp_viewport_namespaceObject.withViewportMatch)({
   isNarrow: '< small'
 })])(edit_GalleryEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/edit-wrapper.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/edit-wrapper.js


 /**
@@ -13490,15 +13493,15 @@ function edit_GalleryEdit(props) {

 function GalleryEditWrapper(props) {
   if (!isGalleryV2Enabled()) {
-    return Object(external_wp_element_["createElement"])(v1_edit, props);
+    return (0,external_wp_element_namespaceObject.createElement)(v1_edit, props);
   }

-  return Object(external_wp_element_["createElement"])(gallery_edit, props);
+  return (0,external_wp_element_namespaceObject.createElement)(gallery_edit, props);
 }

-/* harmony default export */ var edit_wrapper = (Object(external_wp_compose_["compose"])([external_wp_components_["withNotices"]])(GalleryEditWrapper));
+/* harmony default export */ var edit_wrapper = ((0,external_wp_compose_namespaceObject.compose)([external_wp_components_namespaceObject.withNotices])(GalleryEditWrapper));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/v1/save.js


 /**
@@ -13523,9 +13526,9 @@ function saveV1(_ref) {
     linkTo
   } = attributes;
   const className = `columns-${columns} ${imageCrop ? 'is-cropped' : ''}`;
-  return Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className
-  }), Object(external_wp_element_["createElement"])("ul", {
+  }), (0,external_wp_element_namespaceObject.createElement)("ul", {
     className: "blocks-gallery-grid"
   }, images.map(image => {
     let href;
@@ -13540,7 +13543,7 @@ function saveV1(_ref) {
         break;
     }

-    const img = Object(external_wp_element_["createElement"])("img", {
+    const img = (0,external_wp_element_namespaceObject.createElement)("img", {
       src: image.url,
       alt: image.alt,
       "data-id": image.id,
@@ -13548,24 +13551,24 @@ function saveV1(_ref) {
       "data-link": image.link,
       className: image.id ? `wp-image-${image.id}` : null
     });
-    return Object(external_wp_element_["createElement"])("li", {
+    return (0,external_wp_element_namespaceObject.createElement)("li", {
       key: image.id || image.url,
       className: "blocks-gallery-item"
-    }, Object(external_wp_element_["createElement"])("figure", null, href ? Object(external_wp_element_["createElement"])("a", {
+    }, (0,external_wp_element_namespaceObject.createElement)("figure", null, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
       href: href
-    }, img) : img, !external_wp_blockEditor_["RichText"].isEmpty(image.caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, img) : img, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(image.caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       className: "blocks-gallery-item__caption",
       value: image.caption
     })));
-  })), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  })), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "figcaption",
     className: "blocks-gallery-caption",
     value: caption
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/save.js


 /**
@@ -13604,21 +13607,20 @@ function saveWithInnerBlocks(_ref) {
     [`columns-default`]: columns === undefined,
     'is-cropped': imageCrop
   });
-  const blockProps = external_wp_blockEditor_["useBlockProps"].save({
+  const blockProps = external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className
   });
-  const innerBlocksProps = external_wp_blockEditor_["useInnerBlocksProps"].save(blockProps);
-  return Object(external_wp_element_["createElement"])("figure", innerBlocksProps, innerBlocksProps.children, !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  const innerBlocksProps = external_wp_blockEditor_namespaceObject.useInnerBlocksProps.save(blockProps);
+  return (0,external_wp_element_namespaceObject.createElement)("figure", innerBlocksProps, innerBlocksProps.children, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "figcaption",
     className: "blocks-gallery-caption",
     value: caption
   }));
 }

-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/transforms.js
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/transforms.js
 /**
  * External dependencies
  */
@@ -13671,7 +13673,7 @@ function updateThirdPartyTransformToGallery(block) {
         id,
         alt
       } = _ref;
-      return Object(external_wp_blocks_["createBlock"])('core/image', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
         url,
         id: id ? parseInt(id, 10) : null,
         alt,
@@ -13687,7 +13689,7 @@ function updateThirdPartyTransformToGallery(block) {
   return block;
 }

-Object(external_wp_hooks_["addFilter"])('blocks.switchToBlockType.transformedBlock', 'core/gallery/update-third-party-transform-to', updateThirdPartyTransformToGallery);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.switchToBlockType.transformedBlock', 'core/gallery/update-third-party-transform-to', updateThirdPartyTransformToGallery);
 /**
  * Third party block plugins don't have an easy way to detect if the
  * innerBlocks version of the Gallery is running when they run a
@@ -13740,7 +13742,7 @@ function updateThirdPartyTransformFromGallery(toBlock, fromBlocks) {
   return toBlock;
 }

-Object(external_wp_hooks_["addFilter"])('blocks.switchToBlockType.transformedBlock', 'core/gallery/update-third-party-transform-from', updateThirdPartyTransformFromGallery);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.switchToBlockType.transformedBlock', 'core/gallery/update-third-party-transform-from', updateThirdPartyTransformFromGallery);
 const gallery_transforms_transforms = {
   from: [{
     type: 'block',
@@ -13753,9 +13755,9 @@ const gallery_transforms_transforms = {
         sizeSlug
       } = attributes[0]; // Loop through all the images and check if they have the same align and size.

-      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, _ref4 => {
+      align = (0,external_lodash_namespaceObject.every)(attributes, ['align', align]) ? align : undefined;
+      sizeSlug = (0,external_lodash_namespaceObject.every)(attributes, ['sizeSlug', sizeSlug]) ? sizeSlug : undefined;
+      const validImages = (0,external_lodash_namespaceObject.filter)(attributes, _ref4 => {
         let {
           url
         } = _ref4;
@@ -13764,15 +13766,15 @@ const gallery_transforms_transforms = {

       if (isGalleryV2Enabled()) {
         const innerBlocks = validImages.map(image => {
-          return Object(external_wp_blocks_["createBlock"])('core/image', image);
+          return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', image);
         });
-        return Object(external_wp_blocks_["createBlock"])('core/gallery', {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/gallery', {
           align,
           sizeSlug
         }, innerBlocks);
       }

-      return Object(external_wp_blocks_["createBlock"])('core/gallery', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/gallery', {
         images: validImages.map(_ref5 => {
           let {
             id,
@@ -13781,7 +13783,7 @@ const gallery_transforms_transforms = {
             caption
           } = _ref5;
           return {
-            id: Object(external_lodash_["toString"])(id),
+            id: (0,external_lodash_namespaceObject.toString)(id),
             url,
             alt,
             caption
@@ -13812,7 +13814,7 @@ const gallery_transforms_transforms = {

           if (!isGalleryV2Enabled()) {
             return parseShortcodeIds(ids).map(id => ({
-              id: Object(external_lodash_["toString"])(id)
+              id: (0,external_lodash_namespaceObject.toString)(id)
             }));
           }
         }
@@ -13911,20 +13913,20 @@ const gallery_transforms_transforms = {
     priority: 1,

     isMatch(files) {
-      return files.length !== 1 && Object(external_lodash_["every"])(files, file => file.type.indexOf('image/') === 0);
+      return files.length !== 1 && (0,external_lodash_namespaceObject.every)(files, file => file.type.indexOf('image/') === 0);
     },

     transform(files) {
       if (isGalleryV2Enabled()) {
-        const innerBlocks = files.map(file => Object(external_wp_blocks_["createBlock"])('core/image', {
-          url: Object(external_wp_blob_["createBlobURL"])(file)
+        const innerBlocks = files.map(file => (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
+          url: (0,external_wp_blob_namespaceObject.createBlobURL)(file)
         }));
-        return Object(external_wp_blocks_["createBlock"])('core/gallery', {}, innerBlocks);
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/gallery', {}, innerBlocks);
       }

-      const block = Object(external_wp_blocks_["createBlock"])('core/gallery', {
+      const block = (0,external_wp_blocks_namespaceObject.createBlock)('core/gallery', {
         images: files.map(file => pickRelevantMediaFiles({
-          url: Object(external_wp_blob_["createBlobURL"])(file)
+          url: (0,external_wp_blob_namespaceObject.createBlobURL)(file)
         }))
       });
       return block;
@@ -13957,7 +13959,7 @@ const gallery_transforms_transforms = {
                 linkTarget
               }
             } = _ref14;
-            return Object(external_wp_blocks_["createBlock"])('core/image', {
+            return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
               id,
               url,
               alt,
@@ -13971,7 +13973,7 @@ const gallery_transforms_transforms = {
           });
         }

-        return Object(external_wp_blocks_["createBlock"])('core/image', {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
           align
         });
       }
@@ -13983,7 +13985,7 @@ const gallery_transforms_transforms = {
             alt,
             caption
           } = _ref15;
-          return Object(external_wp_blocks_["createBlock"])('core/image', {
+          return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
             id: ids[index],
             url,
             alt,
@@ -13994,7 +13996,7 @@ const gallery_transforms_transforms = {
         });
       }

-      return Object(external_wp_blocks_["createBlock"])('core/image', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
         align
       });
     }
@@ -14002,7 +14004,7 @@ const gallery_transforms_transforms = {
 };
 /* harmony default export */ var gallery_transforms = (gallery_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/gallery/index.js
 /**
  * WordPress dependencies
  */
@@ -14155,10 +14157,22 @@ const gallery_settings = {
   deprecated: gallery_deprecated
 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/group.js
-var library_group = __webpack_require__("u6za");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/group.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const group = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"
+}));
+/* harmony default export */ var library_group = (group);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/deprecated.js


 /**
@@ -14195,7 +14209,7 @@ const migrateAttributes = attributes => {
     style.color.background = attributes.customBackgroundColor;
   }

-  return { ...Object(external_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor']),
+  return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['customTextColor', 'customBackgroundColor']),
     style
   };
 };
@@ -14233,9 +14247,9 @@ const group_deprecated_deprecated = [// Version of the block with the double div
     const {
       tagName: Tag
     } = attributes;
-    return Object(external_wp_element_["createElement"])(Tag, external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)(Tag, external_wp_blockEditor_namespaceObject.useBlockProps.save(), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-group__inner-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   }

 }, // Version of the block without global styles support
@@ -14271,8 +14285,8 @@ const group_deprecated_deprecated = [// Version of the block with the double div
       textColor,
       customTextColor
     } = attributes;
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
     const className = classnames_default()(backgroundClass, textClass, {
       'has-text-color': textColor || customTextColor,
       'has-background': backgroundColor || customBackgroundColor
@@ -14281,12 +14295,12 @@ const group_deprecated_deprecated = [// Version of the block with the double div
       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       color: textClass ? undefined : customTextColor
     };
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: className,
       style: styles
-    }, Object(external_wp_element_["createElement"])("div", {
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-group__inner-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   }

 }, // Version of the group block with a bug that made text color class not applied.
@@ -14322,8 +14336,8 @@ const group_deprecated_deprecated = [// Version of the block with the double div
       textColor,
       customTextColor
     } = attributes;
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
     const className = classnames_default()(backgroundClass, {
       'has-text-color': textColor || customTextColor,
       'has-background': backgroundColor || customBackgroundColor
@@ -14332,12 +14346,12 @@ const group_deprecated_deprecated = [// Version of the block with the double div
       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       color: textClass ? undefined : customTextColor
     };
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: className,
       style: styles
-    }, Object(external_wp_element_["createElement"])("div", {
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-group__inner-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   }

 }, // v1 of group block. Deprecated to add an inner-container div around `InnerBlocks.Content`.
@@ -14365,23 +14379,23 @@ const group_deprecated_deprecated = [// Version of the block with the double div
       backgroundColor,
       customBackgroundColor
     } = attributes;
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
     const className = classnames_default()(backgroundClass, {
       'has-background': backgroundColor || customBackgroundColor
     });
     const styles = {
       backgroundColor: backgroundClass ? undefined : customBackgroundColor
     };
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: className,
       style: styles
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
   }

 }];
 /* harmony default export */ var group_deprecated = (group_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/edit.js


 /**
@@ -14392,12 +14406,12 @@ const group_deprecated_deprecated = [// Version of the block with the double div


 const htmlElementMessages = {
-  header: Object(external_wp_i18n_["__"])('The <header> element should represent introductory content, typically a group of introductory or navigational aids.'),
-  main: Object(external_wp_i18n_["__"])('The <main> element should be used for the primary content of your document only. '),
-  section: Object(external_wp_i18n_["__"])("The <section> element should represent a standalone portion of the document that can't be better represented by another element."),
-  article: Object(external_wp_i18n_["__"])('The <article> element should represent a self contained, syndicatable portion of the document.'),
-  aside: Object(external_wp_i18n_["__"])("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),
-  footer: Object(external_wp_i18n_["__"])('The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).')
+  header: (0,external_wp_i18n_namespaceObject.__)('The <header> element should represent introductory content, typically a group of introductory or navigational aids.'),
+  main: (0,external_wp_i18n_namespaceObject.__)('The <main> element should be used for the primary content of your document only. '),
+  section: (0,external_wp_i18n_namespaceObject.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element."),
+  article: (0,external_wp_i18n_namespaceObject.__)('The <article> element should represent a self contained, syndicatable portion of the document.'),
+  aside: (0,external_wp_i18n_namespaceObject.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),
+  footer: (0,external_wp_i18n_namespaceObject.__)('The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).')
 };

 function GroupEdit(_ref) {
@@ -14409,20 +14423,20 @@ function GroupEdit(_ref) {
   const {
     hasInnerBlocks,
     themeSupportsLayout
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getSettings;

     const {
       getBlock,
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const block = getBlock(clientId);
     return {
       hasInnerBlocks: !!(block && block.innerBlocks.length),
       themeSupportsLayout: (_getSettings = getSettings()) === null || _getSettings === void 0 ? void 0 : _getSettings.supportsLayout
     };
   }, [clientId]);
-  const defaultLayout = Object(external_wp_blockEditor_["useSetting"])('layout') || {};
+  const defaultLayout = (0,external_wp_blockEditor_namespaceObject.useSetting)('layout') || {};
   const {
     tagName: TagName = 'div',
     templateLock,
@@ -14433,20 +14447,20 @@ function GroupEdit(_ref) {
     type = 'default'
   } = usedLayout;
   const layoutSupportEnabled = themeSupportsLayout || type !== 'default';
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(layoutSupportEnabled ? blockProps : {
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)(layoutSupportEnabled ? blockProps : {
     className: 'wp-block-group__inner-container'
   }, {
     templateLock,
-    renderAppender: hasInnerBlocks ? undefined : external_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender,
+    renderAppender: hasInnerBlocks ? undefined : external_wp_blockEditor_namespaceObject.InnerBlocks.ButtonBlockAppender,
     __experimentalLayout: layoutSupportEnabled ? usedLayout : undefined
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, {
     __experimentalGroup: "advanced"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('HTML element'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('HTML element'),
     options: [{
-      label: Object(external_wp_i18n_["__"])('Default (<div>)'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Default (<div>)'),
       value: 'div'
     }, {
       label: '<header>',
@@ -14472,12 +14486,12 @@ function GroupEdit(_ref) {
       tagName: value
     }),
     help: htmlElementMessages[TagName]
-  })), layoutSupportEnabled && Object(external_wp_element_["createElement"])(TagName, innerBlocksProps), !layoutSupportEnabled && Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_element_["createElement"])("div", innerBlocksProps)));
+  })), layoutSupportEnabled && (0,external_wp_element_namespaceObject.createElement)(TagName, innerBlocksProps), !layoutSupportEnabled && (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps)));
 }

 /* harmony default export */ var group_edit = (GroupEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/save.js


 /**
@@ -14490,18 +14504,18 @@ function group_save_save(_ref) {
       tagName: Tag
     }
   } = _ref;
-  return Object(external_wp_element_["createElement"])(Tag, external_wp_blockEditor_["useInnerBlocksProps"].save(external_wp_blockEditor_["useBlockProps"].save()));
+  return (0,external_wp_element_namespaceObject.createElement)(Tag, external_wp_blockEditor_namespaceObject.useInnerBlocksProps.save(external_wp_blockEditor_namespaceObject.useBlockProps.save()));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/variations.js
 /**
  * WordPress dependencies
  */

 const group_variations_variations = [{
   name: 'group-row',
-  title: Object(external_wp_i18n_["__"])('Row'),
-  description: Object(external_wp_i18n_["__"])('Blocks shown in a row.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Row'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Blocks shown in a row.'),
   attributes: {
     layout: {
       type: 'flex',
@@ -14517,7 +14531,7 @@ const group_variations_variations = [{
 }];
 /* harmony default export */ var group_variations = (group_variations_variations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/group/index.js
 /**
  * WordPress dependencies
  */
@@ -14582,7 +14596,7 @@ const {
 } = group_metadata;

 const group_settings = {
-  icon: library_group["a" /* default */],
+  icon: library_group,
   example: {
     attributes: {
       style: {
@@ -14597,42 +14611,42 @@ const group_settings = {
       attributes: {
         customTextColor: '#cf2e2e',
         fontSize: 'large',
-        content: Object(external_wp_i18n_["__"])('One.')
+        content: (0,external_wp_i18n_namespaceObject.__)('One.')
       }
     }, {
       name: 'core/paragraph',
       attributes: {
         customTextColor: '#ff6900',
         fontSize: 'large',
-        content: Object(external_wp_i18n_["__"])('Two.')
+        content: (0,external_wp_i18n_namespaceObject.__)('Two.')
       }
     }, {
       name: 'core/paragraph',
       attributes: {
         customTextColor: '#fcb900',
         fontSize: 'large',
-        content: Object(external_wp_i18n_["__"])('Three.')
+        content: (0,external_wp_i18n_namespaceObject.__)('Three.')
       }
     }, {
       name: 'core/paragraph',
       attributes: {
         customTextColor: '#00d084',
         fontSize: 'large',
-        content: Object(external_wp_i18n_["__"])('Four.')
+        content: (0,external_wp_i18n_namespaceObject.__)('Four.')
       }
     }, {
       name: 'core/paragraph',
       attributes: {
         customTextColor: '#0693e3',
         fontSize: 'large',
-        content: Object(external_wp_i18n_["__"])('Five.')
+        content: (0,external_wp_i18n_namespaceObject.__)('Five.')
       }
     }, {
       name: 'core/paragraph',
       attributes: {
         customTextColor: '#9b51e0',
         fontSize: 'large',
-        content: Object(external_wp_i18n_["__"])('Six.')
+        content: (0,external_wp_i18n_namespaceObject.__)('Six.')
       }
     }]
   },
@@ -14662,9 +14676,9 @@ const group_settings = {
         // new group block.

         const groupInnerBlocks = blocks.map(block => {
-          return Object(external_wp_blocks_["createBlock"])(block.name, block.attributes, block.innerBlocks);
+          return (0,external_wp_blocks_namespaceObject.createBlock)(block.name, block.attributes, block.innerBlocks);
         });
-        return Object(external_wp_blocks_["createBlock"])('core/group', {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/group', {
           align: widestAlignment
         }, groupInnerBlocks);
       }
@@ -14677,22 +14691,22 @@ const group_settings = {
   variations: group_variations
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/heading.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/heading.js


 /**
  * WordPress dependencies
  */

-const heading = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const heading = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"
 }));
 /* harmony default export */ var library_heading = (heading);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/deprecated.js


 /**
@@ -14738,7 +14752,7 @@ const deprecated_migrateCustomColors = attributes => {
       text: attributes.customTextColor
     }
   };
-  return { ...Object(external_lodash_["omit"])(attributes, ['customTextColor']),
+  return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['customTextColor']),
     style
   };
 };
@@ -14797,9 +14811,9 @@ const heading_deprecated_deprecated = [{
     const className = classnames_default()({
       [`has-text-align-${align}`]: align
     });
-    return Object(external_wp_element_["createElement"])(TagName, external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)(TagName, external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: content
     }));
   }
@@ -14828,13 +14842,13 @@ const heading_deprecated_deprecated = [{
       textColor
     } = attributes;
     const tagName = 'h' + level;
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
     const className = classnames_default()({
       [textClass]: textClass,
       'has-text-color': textColor || customTextColor,
       [`has-text-align-${align}`]: align
     });
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       className: className ? className : undefined,
       tagName: tagName,
       style: {
@@ -14867,12 +14881,12 @@ const heading_deprecated_deprecated = [{
       textColor
     } = attributes;
     const tagName = 'h' + level;
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
     const className = classnames_default()({
       [textClass]: textClass,
       [`has-text-align-${align}`]: align
     });
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       className: className ? className : undefined,
       tagName: tagName,
       style: {
@@ -14907,11 +14921,11 @@ const heading_deprecated_deprecated = [{
       customTextColor
     } = attributes;
     const tagName = 'h' + level;
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
     const className = classnames_default()({
       [textClass]: textClass
     });
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       className: className ? className : undefined,
       tagName: tagName,
       style: {
@@ -14925,7 +14939,7 @@ const heading_deprecated_deprecated = [{
 }];
 /* harmony default export */ var heading_deprecated = (heading_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-icon.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-icon.js


 /**
@@ -14969,18 +14983,18 @@ function HeadingLevelIcon(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     width: "24",
     height: "24",
     viewBox: "0 0 20 20",
     xmlns: "http://www.w3.org/2000/svg",
     isPressed: isPressed
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     d: levelToPath[level]
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-dropdown.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/heading-level-dropdown.js


 /**
@@ -14994,7 +15008,7 @@ function HeadingLevelIcon(_ref) {


 const HEADING_LEVELS = [1, 2, 3, 4, 5, 6];
-const heading_level_dropdown_POPOVER_PROPS = {
+const POPOVER_PROPS = {
   className: 'block-library-heading-level-dropdown'
 };
 /** @typedef {import('@wordpress/element').WPComponent} WPComponent */
@@ -15022,22 +15036,22 @@ function HeadingLevelDropdown(_ref) {
     selectedLevel,
     onChange
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarDropdownMenu"], {
-    popoverProps: heading_level_dropdown_POPOVER_PROPS,
-    icon: Object(external_wp_element_["createElement"])(HeadingLevelIcon, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarDropdownMenu, {
+    popoverProps: POPOVER_PROPS,
+    icon: (0,external_wp_element_namespaceObject.createElement)(HeadingLevelIcon, {
       level: selectedLevel
     }),
-    label: Object(external_wp_i18n_["__"])('Change heading level'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Change heading level'),
     controls: HEADING_LEVELS.map(targetLevel => {
       {
         const isActive = targetLevel === selectedLevel;
         return {
-          icon: Object(external_wp_element_["createElement"])(HeadingLevelIcon, {
+          icon: (0,external_wp_element_namespaceObject.createElement)(HeadingLevelIcon, {
             level: targetLevel,
             isPressed: isActive
           }),
-          label: Object(external_wp_i18n_["sprintf"])( // translators: %s: heading level e.g: "1", "2", "3"
-          Object(external_wp_i18n_["__"])('Heading %d'), targetLevel),
+          label: (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: heading level e.g: "1", "2", "3"
+          (0,external_wp_i18n_namespaceObject.__)('Heading %d'), targetLevel),
           isActive,

           onClick() {
@@ -15050,7 +15064,7 @@ function HeadingLevelDropdown(_ref) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/autogenerate-anchors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/autogenerate-anchors.js
 /**
  * External dependencies
  */
@@ -15086,7 +15100,7 @@ const getTextWithoutMarkup = text => {

 const getSlug = content => {
   // Get the slug.
-  return Object(external_lodash_["trim"])(Object(external_lodash_["deburr"])(getTextWithoutMarkup(content)).replace(/[^\p{L}\p{N}]+/gu, '-').toLowerCase(), '-');
+  return (0,external_lodash_namespaceObject.trim)((0,external_lodash_namespaceObject.deburr)(getTextWithoutMarkup(content)).replace(/[^\p{L}\p{N}]+/gu, '-').toLowerCase(), '-');
 };
 /**
  * Generate the anchor for a heading.
@@ -15128,7 +15142,7 @@ const setAnchor = (clientId, anchor) => {
   autogenerate_anchors_anchors[clientId] = anchor;
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/edit.js



@@ -15169,7 +15183,7 @@ function HeadingEdit(_ref) {
     anchor
   } = attributes;
   const tagName = 'h' + level;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     }),
@@ -15177,18 +15191,18 @@ function HeadingEdit(_ref) {
   });
   const {
     canGenerateAnchors
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const settings = select(external_wp_blockEditor_["store"]).getSettings();
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const settings = select(external_wp_blockEditor_namespaceObject.store).getSettings();
     return {
       canGenerateAnchors: !!settings.__experimentalGenerateAnchors
     };
   }, []);
   const {
     __unstableMarkNextChangeAsNotPersistent
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]); // Initially set anchor for headings that have content but no anchor set.
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store); // Initially set anchor for headings that have content but no anchor set.
   // This is used when transforming a block to heading, or for legacy anchors.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!canGenerateAnchors) {
       return;
     }
@@ -15219,21 +15233,21 @@ function HeadingEdit(_ref) {
     setAttributes(newAttrs);
   };

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(HeadingLevelDropdown, {
+  }, (0,external_wp_element_namespaceObject.createElement)(HeadingLevelDropdown, {
     selectedLevel: level,
     onChange: newLevel => setAttributes({
       level: newLevel
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], Object(esm_extends["a" /* default */])({
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, _extends({
     identifier: "content",
     tagName: tagName,
     value: content,
@@ -15243,13 +15257,13 @@ function HeadingEdit(_ref) {
       let block;

       if (isOriginal || value) {
-        block = Object(external_wp_blocks_["createBlock"])('core/heading', { ...attributes,
+        block = (0,external_wp_blocks_namespaceObject.createBlock)('core/heading', { ...attributes,
           content: value
         });
       } else {
         var _getDefaultBlockName;

-        block = Object(external_wp_blocks_["createBlock"])((_getDefaultBlockName = Object(external_wp_blocks_["getDefaultBlockName"])()) !== null && _getDefaultBlockName !== void 0 ? _getDefaultBlockName : 'core/heading');
+        block = (0,external_wp_blocks_namespaceObject.createBlock)((_getDefaultBlockName = (0,external_wp_blocks_namespaceObject.getDefaultBlockName)()) !== null && _getDefaultBlockName !== void 0 ? _getDefaultBlockName : 'core/heading');
       }

       if (isOriginal) {
@@ -15260,15 +15274,15 @@ function HeadingEdit(_ref) {
     },
     onReplace: onReplace,
     onRemove: () => onReplace([]),
-    "aria-label": Object(external_wp_i18n_["__"])('Heading text'),
-    placeholder: placeholder || Object(external_wp_i18n_["__"])('Heading'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Heading text'),
+    placeholder: placeholder || (0,external_wp_i18n_namespaceObject.__)('Heading'),
     textAlign: textAlign
   }, blockProps)));
 }

 /* harmony default export */ var heading_edit = (HeadingEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/save.js


 /**
@@ -15293,14 +15307,14 @@ function heading_save_save(_ref) {
   const className = classnames_default()({
     [`has-text-align-${textAlign}`]: textAlign
   });
-  return Object(external_wp_element_["createElement"])(TagName, external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)(TagName, external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     value: content
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/shared.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/shared.js
 /**
  * Given a node name string for a heading node, returns its numeric level.
  *
@@ -15312,7 +15326,7 @@ function getLevelFromHeadingNodeName(nodeName) {
   return Number(nodeName.substr(1));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/transforms.js
 /**
  * WordPress dependencies
  */
@@ -15391,7 +15405,7 @@ const heading_transforms_transforms = {
         content,
         anchor
       } = _ref;
-      return Object(external_wp_blocks_["createBlock"])(heading_transforms_name, {
+      return (0,external_wp_blocks_namespaceObject.createBlock)(heading_transforms_name, {
         content,
         anchor
       });
@@ -15419,7 +15433,7 @@ const heading_transforms_transforms = {
     },

     transform(node) {
-      const attributes = Object(external_wp_blocks_["getBlockAttributes"])(heading_transforms_name, node.outerHTML);
+      const attributes = (0,external_wp_blocks_namespaceObject.getBlockAttributes)(heading_transforms_name, node.outerHTML);
       const {
         textAlign
       } = node.style || {};
@@ -15429,7 +15443,7 @@ const heading_transforms_transforms = {
         attributes.align = textAlign;
       }

-      return Object(external_wp_blocks_["createBlock"])(heading_transforms_name, attributes);
+      return (0,external_wp_blocks_namespaceObject.createBlock)(heading_transforms_name, attributes);
     }

   }, ...[1, 2, 3, 4, 5, 6].map(level => ({
@@ -15437,7 +15451,7 @@ const heading_transforms_transforms = {
     prefix: Array(level + 1).join('#'),

     transform(content) {
-      return Object(external_wp_blocks_["createBlock"])(heading_transforms_name, {
+      return (0,external_wp_blocks_namespaceObject.createBlock)(heading_transforms_name, {
         level,
         content
       });
@@ -15448,7 +15462,7 @@ const heading_transforms_transforms = {
     regExp: new RegExp(`^/(h|H)${level}$`),

     transform(content) {
-      return Object(external_wp_blocks_["createBlock"])(heading_transforms_name, {
+      return (0,external_wp_blocks_namespaceObject.createBlock)(heading_transforms_name, {
         level,
         content
       });
@@ -15464,7 +15478,7 @@ const heading_transforms_transforms = {
         content,
         anchor
       } = _ref3;
-      return Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
         content,
         anchor
       });
@@ -15473,7 +15487,7 @@ const heading_transforms_transforms = {
 };
 /* harmony default export */ var heading_transforms = (heading_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/heading/index.js
 /**
  * External dependencies
  */
@@ -15557,7 +15571,7 @@ const heading_settings = {
   icon: library_heading,
   example: {
     attributes: {
-      content: Object(external_wp_i18n_["__"])('Code is Poetry'),
+      content: (0,external_wp_i18n_namespaceObject.__)('Code is Poetry'),
       level: 2
     }
   },
@@ -15572,11 +15586,11 @@ const heading_settings = {
         content,
         level
       } = attributes;
-      return Object(external_lodash_["isEmpty"])(content) ? Object(external_wp_i18n_["sprintf"])(
+      return (0,external_lodash_namespaceObject.isEmpty)(content) ? (0,external_wp_i18n_namespaceObject.sprintf)(
       /* translators: accessibility text. %s: heading level. */
-      Object(external_wp_i18n_["__"])('Level %s. Empty.'), level) : Object(external_wp_i18n_["sprintf"])(
+      (0,external_wp_i18n_namespaceObject.__)('Level %s. Empty.'), level) : (0,external_wp_i18n_namespaceObject.sprintf)(
       /* translators: accessibility text. 1: heading level. 2: heading content. */
-      Object(external_wp_i18n_["__"])('Level %1$s. %2$s'), level, content);
+      (0,external_wp_i18n_namespaceObject.__)('Level %1$s. %2$s'), level, content);
     }
   },

@@ -15593,22 +15607,22 @@ const heading_settings = {
   save: heading_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/html.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/html.js


 /**
  * WordPress dependencies
  */

-const html_html = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const html = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"
 }));
-/* harmony default export */ var library_html = (html_html);
+/* harmony default export */ var library_html = (html);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/edit.js


 /**
@@ -15625,8 +15639,8 @@ function HTMLEdit(_ref) {
     setAttributes,
     isSelected
   } = _ref;
-  const [isPreview, setIsPreview] = Object(external_wp_element_["useState"])();
-  const styles = Object(external_wp_data_["useSelect"])(select => {
+  const [isPreview, setIsPreview] = (0,external_wp_element_namespaceObject.useState)();
+  const styles = (0,external_wp_data_namespaceObject.useSelect)(select => {
     // Default styles used to unset some of the styles
     // that might be inherited from the editor style.
     const defaultStyles = `
@@ -15637,7 +15651,7 @@ function HTMLEdit(_ref) {
 				min-height: auto !important;
 			}
 		`;
-    return [defaultStyles, ...Object(external_wp_blockEditor_["transformStyles"])(select(external_wp_blockEditor_["store"]).getSettings().styles)];
+    return [defaultStyles, ...(0,external_wp_blockEditor_namespaceObject.transformStyles)(select(external_wp_blockEditor_namespaceObject.store).getSettings().styles)];
   }, []);

   function switchToPreview() {
@@ -15648,32 +15662,32 @@ function HTMLEdit(_ref) {
     setIsPreview(false);
   }

-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])({
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: 'block-library-html__edit'
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     className: "components-tab-button",
     isPressed: !isPreview,
     onClick: switchToHTML
-  }, Object(external_wp_element_["createElement"])("span", null, "HTML")), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  }, (0,external_wp_element_namespaceObject.createElement)("span", null, "HTML")), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     className: "components-tab-button",
     isPressed: isPreview,
     onClick: switchToPreview
-  }, Object(external_wp_element_["createElement"])("span", null, Object(external_wp_i18n_["__"])('Preview'))))), Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"].Consumer, null, isDisabled => isPreview || isDisabled ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["SandBox"], {
+  }, (0,external_wp_element_namespaceObject.createElement)("span", null, (0,external_wp_i18n_namespaceObject.__)('Preview'))))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled.Consumer, null, isDisabled => isPreview || isDisabled ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SandBox, {
     html: attributes.content,
     styles: styles
-  }), !isSelected && Object(external_wp_element_["createElement"])("div", {
+  }), !isSelected && (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-library-html__preview-overlay"
-  })) : Object(external_wp_element_["createElement"])(external_wp_blockEditor_["PlainText"], {
+  })) : (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.PlainText, {
     value: attributes.content,
     onChange: content => setAttributes({
       content
     }),
-    placeholder: Object(external_wp_i18n_["__"])('Write HTML…'),
-    "aria-label": Object(external_wp_i18n_["__"])('HTML')
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write HTML…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('HTML')
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/save.js


 /**
@@ -15684,10 +15698,10 @@ function html_save_save(_ref) {
   let {
     attributes
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, attributes.content);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, attributes.content);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/transforms.js
 /**
  * WordPress dependencies
  */
@@ -15700,7 +15714,7 @@ const html_transforms_transforms = {
       let {
         content
       } = _ref;
-      return Object(external_wp_blocks_["createBlock"])('core/html', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/html', {
         content
       });
     }
@@ -15708,7 +15722,7 @@ const html_transforms_transforms = {
 };
 /* harmony default export */ var html_transforms = (html_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/html/index.js
 /**
  * WordPress dependencies
  */
@@ -15750,7 +15764,7 @@ const html_settings = {
   icon: library_html,
   example: {
     attributes: {
-      content: '<marquee>' + Object(external_wp_i18n_["__"])('Welcome to the wonderful world of blocks…') + '</marquee>'
+      content: '<marquee>' + (0,external_wp_i18n_namespaceObject.__)('Welcome to the wonderful world of blocks…') + '</marquee>'
     }
   },
   edit: HTMLEdit,
@@ -15758,7 +15772,7 @@ const html_settings = {
   transforms: html_transforms
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/deprecated.js



@@ -15851,18 +15865,18 @@ const image_deprecated_deprecated = [{
       [`align${align}`]: align,
       'is-resized': width || height
     });
-    const image = Object(external_wp_element_["createElement"])("img", {
+    const image = (0,external_wp_element_namespaceObject.createElement)("img", {
       src: url,
       alt: alt,
       className: id ? `wp-image-${id}` : null,
       width: width,
       height: height
     });
-    return Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: classes
-    }, href ? Object(external_wp_element_["createElement"])("a", {
+    }, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
       href: href
-    }, image) : image, !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, image) : image, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       value: caption
     }));
@@ -15885,18 +15899,18 @@ const image_deprecated_deprecated = [{
       height,
       id
     } = attributes;
-    const image = Object(external_wp_element_["createElement"])("img", {
+    const image = (0,external_wp_element_namespaceObject.createElement)("img", {
       src: url,
       alt: alt,
       className: id ? `wp-image-${id}` : null,
       width: width,
       height: height
     });
-    return Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: align ? `align${align}` : null
-    }, href ? Object(external_wp_element_["createElement"])("a", {
+    }, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
       href: href
-    }, image) : image, !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, image) : image, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       value: caption
     }));
@@ -15922,7 +15936,7 @@ const image_deprecated_deprecated = [{
       width,
       height
     } : {};
-    const image = Object(external_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({
+    const image = (0,external_wp_element_namespaceObject.createElement)("img", _extends({
       src: url,
       alt: alt
     }, extraImageProps));
@@ -15938,12 +15952,12 @@ const image_deprecated_deprecated = [{
       };
     }

-    return Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: align ? `align${align}` : null,
       style: figureStyle
-    }, href ? Object(external_wp_element_["createElement"])("a", {
+    }, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
       href: href
-    }, image) : image, !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, image) : image, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       value: caption
     }));
@@ -15952,53 +15966,65 @@ const image_deprecated_deprecated = [{
 }];
 /* harmony default export */ var image_deprecated = (image_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/crop.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/crop.js


 /**
  * WordPress dependencies
  */

-const crop = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const crop = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M16.5 7.8v7H18v-7c0-1-.8-1.8-1.8-1.8h-7v1.5h7c.2 0 .3.1.3.3zm-8.7 8.7c-.1 0-.2-.1-.2-.2V2H6v4H2v1.5h4v8.8c0 1 .8 1.8 1.8 1.8h8.8v4H18v-4h4v-1.5H7.8z"
 }));
 /* harmony default export */ var library_crop = (crop);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/upload.js
-var upload = __webpack_require__("NTP4");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/upload.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/overlay-text.js
+/**
+ * WordPress dependencies
+ */
+
+const upload = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_upload = (upload);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/overlay-text.js


 /**
  * WordPress dependencies
  */

-const overlayText = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const overlayText = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z"
 }));
 /* harmony default export */ var overlay_text = (overlayText);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/use-client-width.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/use-client-width.js
 /**
  * WordPress dependencies
  */

 function useClientWidth(ref, dependencies) {
-  const [clientWidth, setClientWidth] = Object(external_wp_element_["useState"])();
+  const [clientWidth, setClientWidth] = (0,external_wp_element_namespaceObject.useState)();

   function calculateClientWidth() {
     setClientWidth(ref.current.clientWidth);
   }

-  Object(external_wp_element_["useEffect"])(calculateClientWidth, dependencies);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(calculateClientWidth, dependencies);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     const {
       defaultView
     } = ref.current.ownerDocument;
@@ -16010,7 +16036,7 @@ function useClientWidth(ref, dependencies) {
   return clientWidth;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/image.js


 /**
@@ -16077,26 +16103,26 @@ function Image(_ref) {
     context,
     clientId
   } = _ref;
-  const imageRef = Object(external_wp_element_["useRef"])();
-  const captionRef = Object(external_wp_element_["useRef"])();
-  const prevUrl = Object(external_wp_compose_["usePrevious"])(url);
+  const imageRef = (0,external_wp_element_namespaceObject.useRef)();
+  const captionRef = (0,external_wp_element_namespaceObject.useRef)();
+  const prevUrl = (0,external_wp_compose_namespaceObject.usePrevious)(url);
   const {
     allowResize = true
   } = context;
   const {
     getBlock
-  } = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_blockEditor_namespaceObject.store);
   const {
     image,
     multiImageSelection
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getMedia
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const {
       getMultiSelectedBlockClientIds,
       getBlockName
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const multiSelectedClientIds = getMultiSelectedBlockClientIds();
     return {
       image: id && isSelected ? getMedia(id) : null,
@@ -16109,14 +16135,14 @@ function Image(_ref) {
     imageSizes,
     maxWidth,
     mediaUpload
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getBlockRootClientId,
       getSettings,
       canInsertBlockType
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const rootClientId = getBlockRootClientId(clientId);
-    const settings = Object(external_lodash_["pick"])(getSettings(), ['imageEditing', 'imageSizes', 'maxWidth', 'mediaUpload']);
+    const settings = (0,external_lodash_namespaceObject.pick)(getSettings(), ['imageEditing', 'imageSizes', 'maxWidth', 'mediaUpload']);
     return { ...settings,
       canInsertCover: canInsertBlockType('core/cover', rootClientId)
     };
@@ -16124,26 +16150,26 @@ function Image(_ref) {
   const {
     replaceBlocks,
     toggleSelection
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
   const {
     createErrorNotice,
     createSuccessNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
-  const isWideAligned = Object(external_lodash_["includes"])(['wide', 'full'], align);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  const isWideAligned = (0,external_lodash_namespaceObject.includes)(['wide', 'full'], align);
   const [{
     loadedNaturalWidth,
     loadedNaturalHeight
-  }, setLoadedNaturalSize] = Object(external_wp_element_["useState"])({});
-  const [isEditingImage, setIsEditingImage] = Object(external_wp_element_["useState"])(false);
-  const [externalBlob, setExternalBlob] = Object(external_wp_element_["useState"])();
+  }, setLoadedNaturalSize] = (0,external_wp_element_namespaceObject.useState)({});
+  const [isEditingImage, setIsEditingImage] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [externalBlob, setExternalBlob] = (0,external_wp_element_namespaceObject.useState)();
   const clientWidth = useClientWidth(containerRef, [align]);
   const isResizable = allowResize && !(isWideAligned && isLargeViewport);
-  const imageSizeOptions = Object(external_lodash_["map"])(Object(external_lodash_["filter"])(imageSizes, _ref2 => {
+  const imageSizeOptions = (0,external_lodash_namespaceObject.map)((0,external_lodash_namespaceObject.filter)(imageSizes, _ref2 => {
     let {
       slug
     } = _ref2;
-    return Object(external_lodash_["get"])(image, ['media_details', 'sizes', slug, 'source_url']);
+    return (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', slug, 'source_url']);
   }), _ref3 => {
     let {
       name,
@@ -16157,7 +16183,7 @@ function Image(_ref) {
   // fail if the image host doesn't allow CORS with the domain. If it works,
   // we can enable a button in the toolbar to upload the image.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isExternalImage(id, url) || !isSelected || externalBlob) {
       return;
     }
@@ -16169,7 +16195,7 @@ function Image(_ref) {
   // when a block is mounted. Previously, the image block would remount when
   // the placeholder is removed. Maybe this behaviour could be removed.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (url && !prevUrl && isSelected) {
       captionRef.current.focus();
     }
@@ -16181,7 +16207,7 @@ function Image(_ref) {
   const {
     naturalWidth,
     naturalHeight
-  } = Object(external_wp_element_["useMemo"])(() => {
+  } = (0,external_wp_element_namespaceObject.useMemo)(() => {
     var _imageRef$current, _imageRef$current2;

     return {
@@ -16230,7 +16256,7 @@ function Image(_ref) {
   }

   function updateImage(newSizeSlug) {
-    const newUrl = Object(external_lodash_["get"])(image, ['media_details', 'sizes', newSizeSlug, 'source_url']);
+    const newUrl = (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', newSizeSlug, 'source_url']);

     if (!newUrl) {
       return null;
@@ -16252,12 +16278,12 @@ function Image(_ref) {
         let [img] = _ref4;
         onSelectImage(img);

-        if (Object(external_wp_blob_["isBlobURL"])(img.url)) {
+        if ((0,external_wp_blob_namespaceObject.isBlobURL)(img.url)) {
           return;
         }

         setExternalBlob();
-        createSuccessNotice(Object(external_wp_i18n_["__"])('Image uploaded.'), {
+        createSuccessNotice((0,external_wp_i18n_namespaceObject.__)('Image uploaded.'), {
           type: 'snackbar'
         });
       },
@@ -16283,7 +16309,7 @@ function Image(_ref) {
     });
   }

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isSelected) {
       setIsEditingImage(false);
     }
@@ -16292,15 +16318,15 @@ function Image(_ref) {
   const allowCrop = !multiImageSelection && canEditImage && !isEditingImage;

   function switchToCover() {
-    replaceBlocks(clientId, Object(external_wp_blocks_["switchToBlockType"])(getBlock(clientId), 'core/cover'));
+    replaceBlocks(clientId, (0,external_wp_blocks_namespaceObject.switchToBlockType)(getBlock(clientId), 'core/cover'));
   }

-  const controls = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  const controls = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockAlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockAlignmentControl, {
     value: align,
     onChange: updateAlignment
-  }), !multiImageSelection && !isEditingImage && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalImageURLInputUI"], {
+  }), !multiImageSelection && !isEditingImage && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalImageURLInputUI, {
     url: href || '',
     onChangeUrl: onSetHref,
     linkDestination: linkDestination,
@@ -16309,21 +16335,21 @@ function Image(_ref) {
     linkTarget: linkTarget,
     linkClass: linkClass,
     rel: rel
-  }), allowCrop && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  }), allowCrop && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     onClick: () => setIsEditingImage(true),
     icon: library_crop,
-    label: Object(external_wp_i18n_["__"])('Crop')
-  }), externalBlob && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Crop')
+  }), externalBlob && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     onClick: uploadExternal,
-    icon: upload["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Upload external image')
-  }), !multiImageSelection && canInsertCover && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+    icon: library_upload,
+    label: (0,external_wp_i18n_namespaceObject.__)('Upload external image')
+  }), !multiImageSelection && canInsertCover && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     icon: overlay_text,
-    label: Object(external_wp_i18n_["__"])('Add text over image'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Add text over image'),
     onClick: switchToCover
-  })), !multiImageSelection && !isEditingImage && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  })), !multiImageSelection && !isEditingImage && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaReplaceFlow, {
     mediaId: id,
     mediaURL: url,
     allowedTypes: constants_ALLOWED_MEDIA_TYPES,
@@ -16331,16 +16357,16 @@ function Image(_ref) {
     onSelect: onSelectImage,
     onSelectURL: onSelectURL,
     onError: onUploadError
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Image settings')
-  }, !multiImageSelection && Object(external_wp_element_["createElement"])(external_wp_components_["TextareaControl"], {
-    label: Object(external_wp_i18n_["__"])('Alt text (alternative text)'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Image settings')
+  }, !multiImageSelection && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextareaControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Alt text (alternative text)'),
     value: alt,
     onChange: updateAlt,
-    help: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
+    help: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
       href: "https://www.w3.org/WAI/tutorials/images/decision-tree"
-    }, Object(external_wp_i18n_["__"])('Describe the purpose of the image')), Object(external_wp_i18n_["__"])('Leave empty if the image is purely decorative.'))
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalImageSizeControl"], {
+    }, (0,external_wp_i18n_namespaceObject.__)('Describe the purpose of the image')), (0,external_wp_i18n_namespaceObject.__)('Leave empty if the image is purely decorative.'))
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalImageSizeControl, {
     onChangeImage: updateImage,
     onChange: value => setAttributes(value),
     slug: sizeSlug,
@@ -16350,34 +16376,34 @@ function Image(_ref) {
     isResizable: isResizable,
     imageWidth: naturalWidth,
     imageHeight: naturalHeight
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, {
     __experimentalGroup: "advanced"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Title attribute'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Title attribute'),
     value: title || '',
     onChange: onSetTitle,
-    help: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_i18n_["__"])('Describe the role of this image on the page.'), Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
+    help: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_i18n_namespaceObject.__)('Describe the role of this image on the page.'), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
       href: "https://www.w3.org/TR/html52/dom.html#the-title-attribute"
-    }, Object(external_wp_i18n_["__"])('(Note: many devices and browsers do not display this text.)')))
+    }, (0,external_wp_i18n_namespaceObject.__)('(Note: many devices and browsers do not display this text.)')))
   })));
-  const filename = Object(external_wp_url_["getFilename"])(url);
+  const filename = (0,external_wp_url_namespaceObject.getFilename)(url);
   let defaultedAlt;

   if (alt) {
     defaultedAlt = alt;
   } else if (filename) {
-    defaultedAlt = Object(external_wp_i18n_["sprintf"])(
+    defaultedAlt = (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: file name */
-    Object(external_wp_i18n_["__"])('This image has an empty alt attribute; its file name is %s'), filename);
+    (0,external_wp_i18n_namespaceObject.__)('This image has an empty alt attribute; its file name is %s'), filename);
   } else {
-    defaultedAlt = Object(external_wp_i18n_["__"])('This image has an empty alt attribute');
+    defaultedAlt = (0,external_wp_i18n_namespaceObject.__)('This image has an empty alt attribute');
   }

   let img = // Disable reason: Image itself is not meant to be interactive, but
   // should direct focus to block.

   /* eslint-disable jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events */
-  Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("img", {
+  (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("img", {
     src: temporaryURL || url,
     alt: defaultedAlt,
     onError: () => onImageError(),
@@ -16390,7 +16416,7 @@ function Image(_ref) {
       });
     },
     ref: imageRef
-  }), temporaryURL && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null))
+  }), temporaryURL && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null))
   /* eslint-enable jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events */
   ;
   let imageWidthWithinContainer;
@@ -16404,7 +16430,7 @@ function Image(_ref) {
   }

   if (canEditImage && isEditingImage) {
-    img = Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalImageEditor"], {
+    img = (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalImageEditor, {
       url: url,
       width: width,
       height: height,
@@ -16413,7 +16439,7 @@ function Image(_ref) {
       naturalWidth: naturalWidth
     });
   } else if (!isResizable || !imageWidthWithinContainer) {
-    img = Object(external_wp_element_["createElement"])("div", {
+    img = (0,external_wp_element_namespaceObject.createElement)("div", {
       style: {
         width,
         height
@@ -16444,7 +16470,7 @@ function Image(_ref) {
       // When the image is centered, show both handles.
       showRightHandle = true;
       showLeftHandle = true;
-    } else if (Object(external_wp_i18n_["isRTL"])()) {
+    } else if ((0,external_wp_i18n_namespaceObject.isRTL)()) {
       // In RTL mode the image is on the right by default.
       // Show the right handle and hide the left handle only when it is
       // aligned left. Otherwise always show the left handle.
@@ -16465,7 +16491,7 @@ function Image(_ref) {
     /* eslint-enable no-lonely-if */


-    img = Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], {
+    img = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ResizableBox, {
       size: {
         width: width !== null && width !== void 0 ? width : 'auto',
         height: height !== null && height !== void 0 ? height : 'auto'
@@ -16493,7 +16519,7 @@ function Image(_ref) {
     }, img);
   }

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalImageEditingProvider"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalImageEditingProvider, {
     id: id,
     url: url,
     naturalWidth: naturalWidth,
@@ -16502,21 +16528,21 @@ function Image(_ref) {
     onSaveImage: imageAttributes => setAttributes(imageAttributes),
     isEditing: isEditingImage,
     onFinishEditing: () => setIsEditingImage(false)
-  }, !temporaryURL && controls, img, (!external_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }, !temporaryURL && controls, img, (!external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) || isSelected) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     ref: captionRef,
     tagName: "figcaption",
-    "aria-label": Object(external_wp_i18n_["__"])('Image caption text'),
-    placeholder: Object(external_wp_i18n_["__"])('Add caption'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Image caption text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Add caption'),
     value: caption,
     onChange: value => setAttributes({
       caption: value
     }),
     inlineToolbar: true,
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'))
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/edit.js


 /**
@@ -16548,8 +16574,8 @@ function Image(_ref) {


 const edit_pickRelevantMediaFiles = (image, size) => {
-  const imageProps = Object(external_lodash_["pick"])(image, ['alt', 'id', 'link', 'caption']);
-  imageProps.url = Object(external_lodash_["get"])(image, ['sizes', size, 'url']) || Object(external_lodash_["get"])(image, ['media_details', 'sizes', size, 'source_url']) || image.url;
+  const imageProps = (0,external_lodash_namespaceObject.pick)(image, ['alt', 'id', 'link', 'caption']);
+  imageProps.url = (0,external_lodash_namespaceObject.get)(image, ['sizes', size, 'url']) || (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', size, 'source_url']) || image.url;
   return imageProps;
 };
 /**
@@ -16562,7 +16588,7 @@ const edit_pickRelevantMediaFiles = (image, size) => {
  * @return {boolean} Is the URL a Blob URL
  */

-const edit_isTemporaryImage = (id, url) => !id && Object(external_wp_blob_["isBlobURL"])(url);
+const edit_isTemporaryImage = (id, url) => !id && (0,external_wp_blob_namespaceObject.isBlobURL)(url);
 /**
  * Is the url for the image hosted externally. An externally hosted image has no
  * id and is not a blob url.
@@ -16574,7 +16600,7 @@ const edit_isTemporaryImage = (id, url) => !id && Object(external_wp_blob_["isBl
  */


-const isExternalImage = (id, url) => url && !id && !Object(external_wp_blob_["isBlobURL"])(url);
+const isExternalImage = (id, url) => url && !id && !(0,external_wp_blob_namespaceObject.isBlobURL)(url);
 /**
  * Checks if WP generated default image size. Size generation is skipped
  * when the image is smaller than the said size.
@@ -16586,7 +16612,7 @@ const isExternalImage = (id, url) => url && !id && !Object(external_wp_blob_["is
  */

 function hasDefaultSize(image, defaultSize) {
-  return Object(external_lodash_["has"])(image, ['sizes', defaultSize, 'url']) || Object(external_lodash_["has"])(image, ['media_details', 'sizes', defaultSize, 'source_url']);
+  return (0,external_lodash_namespaceObject.has)(image, ['sizes', defaultSize, 'url']) || (0,external_lodash_namespaceObject.has)(image, ['media_details', 'sizes', defaultSize, 'source_url']);
 }

 function ImageEdit(_ref) {
@@ -16612,24 +16638,24 @@ function ImageEdit(_ref) {
     height,
     sizeSlug
   } = attributes;
-  const [temporaryURL, setTemporaryURL] = Object(external_wp_element_["useState"])();
-  const altRef = Object(external_wp_element_["useRef"])();
-  Object(external_wp_element_["useEffect"])(() => {
+  const [temporaryURL, setTemporaryURL] = (0,external_wp_element_namespaceObject.useState)();
+  const altRef = (0,external_wp_element_namespaceObject.useRef)();
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     altRef.current = alt;
   }, [alt]);
-  const captionRef = Object(external_wp_element_["useRef"])();
-  Object(external_wp_element_["useEffect"])(() => {
+  const captionRef = (0,external_wp_element_namespaceObject.useRef)();
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     captionRef.current = caption;
   }, [caption]);
-  const ref = Object(external_wp_element_["useRef"])();
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
   const {
     imageDefaultSize,
     mediaUpload
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
-    return Object(external_lodash_["pick"])(getSettings(), ['imageDefaultSize', 'mediaUpload']);
+    } = select(external_wp_blockEditor_namespaceObject.store);
+    return (0,external_lodash_namespaceObject.pick)(getSettings(), ['imageDefaultSize', 'mediaUpload']);
   }, []);

   function onUploadError(message) {
@@ -16651,7 +16677,7 @@ function ImageEdit(_ref) {
       return;
     }

-    if (Object(external_wp_blob_["isBlobURL"])(media.url)) {
+    if ((0,external_wp_blob_namespaceObject.isBlobURL)(media.url)) {
       setTemporaryURL(media.url);
       return;
     }
@@ -16660,8 +16686,8 @@ function ImageEdit(_ref) {
     let mediaAttributes = edit_pickRelevantMediaFiles(media, imageDefaultSize); // If a caption text was meanwhile written by the user,
     // make sure the text is not overwritten by empty captions.

-    if (captionRef.current && !Object(external_lodash_["get"])(mediaAttributes, ['caption'])) {
-      mediaAttributes = Object(external_lodash_["omit"])(mediaAttributes, ['caption']);
+    if (captionRef.current && !(0,external_lodash_namespaceObject.get)(mediaAttributes, ['caption'])) {
+      mediaAttributes = (0,external_lodash_namespaceObject.omit)(mediaAttributes, ['caption']);
     }

     let additionalAttributes; // Reset the dimension attributes if changing to a different image.
@@ -16754,12 +16780,12 @@ function ImageEdit(_ref) {

   let isTemp = edit_isTemporaryImage(id, url); // Upload a temporary image on mount.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isTemp) {
       return;
     }

-    const file = Object(external_wp_blob_["getBlobByURL"])(url);
+    const file = (0,external_wp_blob_namespaceObject.getBlobByURL)(url);

     if (file) {
       mediaUpload({
@@ -16783,19 +16809,19 @@ function ImageEdit(_ref) {
   }, []); // If an image is temporary, revoke the Blob url when it is uploaded (and is
   // no longer temporary).

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (isTemp) {
       setTemporaryURL(url);
       return;
     }

-    Object(external_wp_blob_["revokeBlobURL"])(temporaryURL);
+    (0,external_wp_blob_namespaceObject.revokeBlobURL)(temporaryURL);
   }, [isTemp, url]);
   const isExternal = isExternalImage(id, url);
   const src = isExternal ? url : undefined;
-  const mediaPreview = !!url && Object(external_wp_element_["createElement"])("img", {
-    alt: Object(external_wp_i18n_["__"])('Edit image'),
-    title: Object(external_wp_i18n_["__"])('Edit image'),
+  const mediaPreview = !!url && (0,external_wp_element_namespaceObject.createElement)("img", {
+    alt: (0,external_wp_i18n_namespaceObject.__)('Edit image'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Edit image'),
     className: 'edit-image-preview',
     src: url
   });
@@ -16804,11 +16830,11 @@ function ImageEdit(_ref) {
     'is-resized': !!width || !!height,
     [`size-${sizeSlug}`]: sizeSlug
   });
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     ref,
     className: classes
   });
-  return Object(external_wp_element_["createElement"])("figure", blockProps, (temporaryURL || url) && Object(external_wp_element_["createElement"])(Image, {
+  return (0,external_wp_element_namespaceObject.createElement)("figure", blockProps, (temporaryURL || url) && (0,external_wp_element_namespaceObject.createElement)(Image, {
     temporaryURL: temporaryURL,
     attributes: attributes,
     setAttributes: setAttributes,
@@ -16821,13 +16847,13 @@ function ImageEdit(_ref) {
     containerRef: ref,
     context: context,
     clientId: clientId
-  }), !url && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  }), !url && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockAlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockAlignmentControl, {
     value: align,
     onChange: updateAlignment
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
-    icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
+    icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
       icon: library_image
     }),
     onSelect: onSelectImage,
@@ -16844,9 +16870,9 @@ function ImageEdit(_ref) {
     disableMediaButtons: temporaryURL || url
   }));
 }
-/* harmony default export */ var image_edit = (Object(external_wp_components_["withNotices"])(ImageEdit));
+/* harmony default export */ var image_edit = ((0,external_wp_components_namespaceObject.withNotices)(ImageEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/save.js


 /**
@@ -16878,13 +16904,13 @@ function image_save_save(_ref) {
     sizeSlug,
     title
   } = attributes;
-  const newRel = Object(external_lodash_["isEmpty"])(rel) ? undefined : rel;
+  const newRel = (0,external_lodash_namespaceObject.isEmpty)(rel) ? undefined : rel;
   const classes = classnames_default()({
     [`align${align}`]: align,
     [`size-${sizeSlug}`]: sizeSlug,
     'is-resized': width || height
   });
-  const image = Object(external_wp_element_["createElement"])("img", {
+  const image = (0,external_wp_element_namespaceObject.createElement)("img", {
     src: url,
     alt: alt,
     className: id ? `wp-image-${id}` : null,
@@ -16892,28 +16918,28 @@ function image_save_save(_ref) {
     height: height,
     title: title
   });
-  const figure = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, href ? Object(external_wp_element_["createElement"])("a", {
+  const figure = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, href ? (0,external_wp_element_namespaceObject.createElement)("a", {
     className: linkClass,
     href: href,
     target: linkTarget,
     rel: newRel
-  }, image) : image, !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }, image) : image, !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "figcaption",
     value: caption
   }));

   if ('left' === align || 'right' === align || 'center' === align) {
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save(), (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: classes
     }, figure));
   }

-  return Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className: classes
   }), figure);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/transforms.js
 /**
  * External dependencies
  */
@@ -17008,7 +17034,7 @@ const image_transforms_transforms = {
       const href = anchorElement && anchorElement.href ? anchorElement.href : undefined;
       const rel = anchorElement && anchorElement.rel ? anchorElement.rel : undefined;
       const linkClass = anchorElement && anchorElement.className ? anchorElement.className : undefined;
-      const attributes = Object(external_wp_blocks_["getBlockAttributes"])('core/image', node.outerHTML, {
+      const attributes = (0,external_wp_blocks_namespaceObject.getBlockAttributes)('core/image', node.outerHTML, {
         align,
         id,
         linkDestination,
@@ -17017,7 +17043,7 @@ const image_transforms_transforms = {
         linkClass,
         anchor
       });
-      return Object(external_wp_blocks_["createBlock"])('core/image', attributes);
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', attributes);
     }
   }, {
     // Note: when dragging and dropping multiple files onto a gallery this overrides the
@@ -17030,19 +17056,19 @@ const image_transforms_transforms = {
       if (files.some(file => file.type.indexOf('image/') === 0) && files.some(file => file.type.indexOf('image/') !== 0)) {
         const {
           createErrorNotice
-        } = Object(external_wp_data_["dispatch"])(external_wp_notices_["store"]);
-        createErrorNotice(Object(external_wp_i18n_["__"])('If uploading to a gallery all files need to be image formats'), {
+        } = (0,external_wp_data_namespaceObject.dispatch)(external_wp_notices_namespaceObject.store);
+        createErrorNotice((0,external_wp_i18n_namespaceObject.__)('If uploading to a gallery all files need to be image formats'), {
           id: 'gallery-transform-invalid-file'
         });
       }

-      return Object(external_lodash_["every"])(files, file => file.type.indexOf('image/') === 0);
+      return (0,external_lodash_namespaceObject.every)(files, file => file.type.indexOf('image/') === 0);
     },

     transform(files) {
       const blocks = files.map(file => {
-        return Object(external_wp_blocks_["createBlock"])('core/image', {
-          url: Object(external_wp_blob_["createBlobURL"])(file)
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
+          url: (0,external_wp_blob_namespaceObject.createBlobURL)(file)
         });
       });
       return blocks;
@@ -17123,7 +17149,7 @@ const image_transforms_transforms = {
 };
 /* harmony default export */ var image_transforms = (image_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/image/index.js
 /**
  * WordPress dependencies
  */
@@ -17247,7 +17273,7 @@ const image_settings = {
       sizeSlug: 'large',
       url: 'https://s.w.org/images/core/5.3/MtBlanc1.jpg',
       // translators: Caption accompanying an image of the Mont Blanc, which serves as an example for the Image block.
-      caption: Object(external_wp_i18n_["__"])('Mont Blanc appears—still, snowy, and serene.')
+      caption: (0,external_wp_i18n_namespaceObject.__)('Mont Blanc appears—still, snowy, and serene.')
     }
   },

@@ -17264,7 +17290,7 @@ const image_settings = {
       } = attributes;

       if (!url) {
-        return Object(external_wp_i18n_["__"])('Empty');
+        return (0,external_wp_i18n_namespaceObject.__)('Empty');
       }

       if (!alt) {
@@ -17289,22 +17315,22 @@ const image_settings = {
   deprecated: image_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/comment.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/comment.js


 /**
  * WordPress dependencies
  */

-const comment_comment = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const comment = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"
 }));
-/* harmony default export */ var library_comment = (comment_comment);
+/* harmony default export */ var library_comment = (comment);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/edit.js


 /**
@@ -17339,28 +17365,28 @@ function LatestComments(_ref) {
     displayDate,
     displayExcerpt
   } = attributes;
-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Latest comments settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display avatar'),
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Latest comments settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display avatar'),
     checked: displayAvatar,
     onChange: () => setAttributes({
       displayAvatar: !displayAvatar
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display date'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display date'),
     checked: displayDate,
     onChange: () => setAttributes({
       displayDate: !displayDate
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display excerpt'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display excerpt'),
     checked: displayExcerpt,
     onChange: () => setAttributes({
       displayExcerpt: !displayExcerpt
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Number of comments'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Number of comments'),
     value: commentsToShow,
     onChange: value => setAttributes({
       commentsToShow: value
@@ -17368,7 +17394,7 @@ function LatestComments(_ref) {
     min: MIN_COMMENTS,
     max: MAX_COMMENTS,
     required: true
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], null, Object(external_wp_element_["createElement"])(external_wp_serverSideRender_default.a, {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, null, (0,external_wp_element_namespaceObject.createElement)((external_wp_serverSideRender_default()), {
     block: "core/latest-comments",
     attributes: attributes // The preview uses the site's locale to make it more true to how
     // the block appears on the frontend. Setting the locale
@@ -17380,7 +17406,7 @@ function LatestComments(_ref) {
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-comments/index.js
 /**
  * WordPress dependencies
  */
@@ -17435,22 +17461,22 @@ const latest_comments_settings = {
   edit: LatestComments
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-list.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-list.js


 /**
  * WordPress dependencies
  */

-const postList = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const postList = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 11h2V9H7v2zm0 4h2v-2H7v2zm3-4h7V9h-7v2zm0 4h7v-2h-7v2z"
 }));
 /* harmony default export */ var post_list = (postList);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/deprecated.js
 /**
  * Internal dependencies
  */
@@ -17545,10 +17571,10 @@ const latest_posts_deprecated_metadata = {
   style: "wp-block-latest-posts"
 };
 const {
-  attributes: deprecated_attributes
+  attributes
 } = latest_posts_deprecated_metadata;
 /* harmony default export */ var latest_posts_deprecated = ([{
-  attributes: { ...deprecated_attributes,
+  attributes: { ...attributes,
     categories: {
       type: 'string'
     }
@@ -17574,33 +17600,46 @@ const {
   save: () => null
 }]);

-// EXTERNAL MODULE: external ["wp","date"]
-var external_wp_date_ = __webpack_require__("FqII");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/list.js
+;// CONCATENATED MODULE: external ["wp","date"]
+var external_wp_date_namespaceObject = window["wp"]["date"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/list.js


 /**
  * WordPress dependencies
  */

-const list = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const list = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"
 }));
 /* harmony default export */ var library_list = (list);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/grid.js
-var grid = __webpack_require__("b2RC");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/grid.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/constants.js
+/**
+ * WordPress dependencies
+ */
+
+const grid = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",
+  fillRule: "evenodd",
+  clipRule: "evenodd"
+}));
+/* harmony default export */ var library_grid = (grid);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/constants.js
 const MIN_EXCERPT_LENGTH = 10;
 const MAX_EXCERPT_LENGTH = 100;
 const MAX_POSTS_COLUMNS = 6;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/edit.js


 /**
@@ -17672,31 +17711,31 @@ function LatestPostsEdit(_ref) {
     defaultImageHeight,
     categoriesList,
     authorList
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEntityRecords,
       getMedia,
       getUsers
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const {
       imageSizes,
       imageDimensions
     } = getSettings();
     const catIds = categories && categories.length > 0 ? categories.map(cat => cat.id) : [];
-    const latestPostsQuery = Object(external_lodash_["pickBy"])({
+    const latestPostsQuery = (0,external_lodash_namespaceObject.pickBy)({
       categories: catIds,
       author: selectedAuthor,
       order,
       orderby: orderBy,
       per_page: postsToShow
-    }, value => !Object(external_lodash_["isUndefined"])(value));
+    }, value => !(0,external_lodash_namespaceObject.isUndefined)(value));
     const posts = getEntityRecords('postType', 'post', latestPostsQuery);
     return {
-      defaultImageWidth: Object(external_lodash_["get"])(imageDimensions, [featuredImageSizeSlug, 'width'], 0),
-      defaultImageHeight: Object(external_lodash_["get"])(imageDimensions, [featuredImageSizeSlug, 'height'], 0),
+      defaultImageWidth: (0,external_lodash_namespaceObject.get)(imageDimensions, [featuredImageSizeSlug, 'width'], 0),
+      defaultImageHeight: (0,external_lodash_namespaceObject.get)(imageDimensions, [featuredImageSizeSlug, 'height'], 0),
       imageSizeOptions: imageSizes.filter(_ref2 => {
         let {
           slug
@@ -17715,10 +17754,10 @@ function LatestPostsEdit(_ref) {
       latestPosts: !Array.isArray(posts) ? posts : posts.map(post => {
         if (!post.featured_media) return post;
         const image = getMedia(post.featured_media);
-        let url = Object(external_lodash_["get"])(image, ['media_details', 'sizes', featuredImageSizeSlug, 'source_url'], null);
+        let url = (0,external_lodash_namespaceObject.get)(image, ['media_details', 'sizes', featuredImageSizeSlug, 'source_url'], null);

         if (!url) {
-          url = Object(external_lodash_["get"])(image, 'source_url', null);
+          url = (0,external_lodash_namespaceObject.get)(image, 'source_url', null);
         }

         const featuredImageInfo = {
@@ -17752,7 +17791,7 @@ function LatestPostsEdit(_ref) {
     }); // We do nothing if the category is not selected
     // from suggestions.

-    if (Object(external_lodash_["includes"])(allCategories, null)) {
+    if ((0,external_lodash_namespaceObject.includes)(allCategories, null)) {
       return false;
     }

@@ -17762,58 +17801,58 @@ function LatestPostsEdit(_ref) {
   };

   const hasPosts = !!(latestPosts !== null && latestPosts !== void 0 && latestPosts.length);
-  const inspectorControls = Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Post content settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Post content'),
+  const inspectorControls = (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Post content settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Post content'),
     checked: displayPostContent,
     onChange: value => setAttributes({
       displayPostContent: value
     })
-  }), displayPostContent && Object(external_wp_element_["createElement"])(external_wp_components_["RadioControl"], {
-    label: Object(external_wp_i18n_["__"])('Show:'),
+  }), displayPostContent && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RadioControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show:'),
     selected: displayPostContentRadio,
     options: [{
-      label: Object(external_wp_i18n_["__"])('Excerpt'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Excerpt'),
       value: 'excerpt'
     }, {
-      label: Object(external_wp_i18n_["__"])('Full post'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Full post'),
       value: 'full_post'
     }],
     onChange: value => setAttributes({
       displayPostContentRadio: value
     })
-  }), displayPostContent && displayPostContentRadio === 'excerpt' && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Max number of words in excerpt'),
+  }), displayPostContent && displayPostContentRadio === 'excerpt' && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Max number of words in excerpt'),
     value: excerptLength,
     onChange: value => setAttributes({
       excerptLength: value
     }),
     min: MIN_EXCERPT_LENGTH,
     max: MAX_EXCERPT_LENGTH
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Post meta settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display author name'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Post meta settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display author name'),
     checked: displayAuthor,
     onChange: value => setAttributes({
       displayAuthor: value
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display post date'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display post date'),
     checked: displayPostDate,
     onChange: value => setAttributes({
       displayPostDate: value
     })
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Featured image settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display featured image'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Featured image settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display featured image'),
     checked: displayFeaturedImage,
     onChange: value => setAttributes({
       displayFeaturedImage: value
     })
-  }), displayFeaturedImage && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalImageSizeControl"], {
+  }), displayFeaturedImage && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalImageSizeControl, {
     onChange: value => {
       const newAttrs = {};

@@ -17838,24 +17877,24 @@ function LatestPostsEdit(_ref) {
       featuredImageSizeWidth: undefined,
       featuredImageSizeHeight: undefined
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, {
     className: "block-editor-image-alignment-control__row"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"].VisualLabel, null, Object(external_wp_i18n_["__"])('Image alignment')), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockAlignmentToolbar"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl.VisualLabel, null, (0,external_wp_i18n_namespaceObject.__)('Image alignment')), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockAlignmentToolbar, {
     value: featuredImageAlign,
     onChange: value => setAttributes({
       featuredImageAlign: value
     }),
     controls: ['left', 'center', 'right'],
     isCollapsed: false
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Add link to featured image'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Add link to featured image'),
     checked: addLinkToFeaturedImage,
     onChange: value => setAttributes({
       addLinkToFeaturedImage: value
     })
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Sorting and filtering')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["QueryControls"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Sorting and filtering')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.QueryControls, {
     order,
     orderBy,
     numberOfItems: postsToShow,
@@ -17876,8 +17915,8 @@ function LatestPostsEdit(_ref) {
     }),
     authorList: authorList !== null && authorList !== void 0 ? authorList : [],
     selectedAuthorId: selectedAuthor
-  }), postLayout === 'grid' && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Columns'),
+  }), postLayout === 'grid' && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Columns'),
     value: columns,
     onChange: value => setAttributes({
       columns: value
@@ -17886,7 +17925,7 @@ function LatestPostsEdit(_ref) {
     max: !hasPosts ? MAX_POSTS_COLUMNS : Math.min(MAX_POSTS_COLUMNS, latestPosts.length),
     required: true
   })));
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       'wp-block-latest-posts__list': true,
       'is-grid': postLayout === 'grid',
@@ -17897,36 +17936,36 @@ function LatestPostsEdit(_ref) {
   });

   if (!hasPosts) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, inspectorControls, Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, inspectorControls, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
       icon: library_pin,
-      label: Object(external_wp_i18n_["__"])('Latest Posts')
-    }, !Array.isArray(latestPosts) ? Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null) : Object(external_wp_i18n_["__"])('No posts found.')));
+      label: (0,external_wp_i18n_namespaceObject.__)('Latest Posts')
+    }, !Array.isArray(latestPosts) ? (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null) : (0,external_wp_i18n_namespaceObject.__)('No posts found.')));
   } // Removing posts from display should be instant.


   const displayPosts = latestPosts.length > postsToShow ? latestPosts.slice(0, postsToShow) : latestPosts;
   const layoutControls = [{
     icon: library_list,
-    title: Object(external_wp_i18n_["__"])('List view'),
+    title: (0,external_wp_i18n_namespaceObject.__)('List view'),
     onClick: () => setAttributes({
       postLayout: 'list'
     }),
     isActive: postLayout === 'list'
   }, {
-    icon: grid["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Grid view'),
+    icon: library_grid,
+    title: (0,external_wp_i18n_namespaceObject.__)('Grid view'),
     onClick: () => setAttributes({
       postLayout: 'grid'
     }),
     isActive: postLayout === 'grid'
   }];

-  const dateFormat = Object(external_wp_date_["__experimentalGetSettings"])().formats.date;
+  const dateFormat = (0,external_wp_date_namespaceObject.__experimentalGetSettings)().formats.date;

-  return Object(external_wp_element_["createElement"])("div", null, inspectorControls, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], {
+  return (0,external_wp_element_namespaceObject.createElement)("div", null, inspectorControls, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, {
     controls: layoutControls
-  })), Object(external_wp_element_["createElement"])("ul", blockProps, displayPosts.map((post, i) => {
-    const titleTrimmed = Object(external_lodash_["invoke"])(post, ['title', 'rendered', 'trim']);
+  })), (0,external_wp_element_namespaceObject.createElement)("ul", blockProps, displayPosts.map((post, i) => {
+    const titleTrimmed = (0,external_lodash_namespaceObject.invoke)(post, ['title', 'rendered', 'trim']);
     let excerpt = post.excerpt.rendered;
     const currentAuthor = authorList === null || authorList === void 0 ? void 0 : authorList.find(author => author.id === post.author);
     const excerptElement = document.createElement('div');
@@ -17943,7 +17982,7 @@ function LatestPostsEdit(_ref) {
       [`align${featuredImageAlign}`]: !!featuredImageAlign
     });
     const renderFeaturedImage = displayFeaturedImage && imageSourceUrl;
-    const featuredImage = renderFeaturedImage && Object(external_wp_element_["createElement"])("img", {
+    const featuredImage = renderFeaturedImage && (0,external_wp_element_namespaceObject.createElement)("img", {
       src: imageSourceUrl,
       alt: featuredImageAlt,
       style: {
@@ -17952,38 +17991,38 @@ function LatestPostsEdit(_ref) {
       }
     });
     const needsReadMore = excerptLength < excerpt.trim().split(' ').length && post.excerpt.raw === '';
-    const postExcerpt = needsReadMore ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, excerpt.trim().split(' ', excerptLength).join(' '), Object(external_wp_i18n_["__"])(' … '), Object(external_wp_element_["createElement"])("a", {
+    const postExcerpt = needsReadMore ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, excerpt.trim().split(' ', excerptLength).join(' '), (0,external_wp_i18n_namespaceObject.__)(' … '), (0,external_wp_element_namespaceObject.createElement)("a", {
       href: post.link,
       rel: "noopener noreferrer"
-    }, Object(external_wp_i18n_["__"])('Read more'))) : excerpt;
-    return Object(external_wp_element_["createElement"])("li", {
+    }, (0,external_wp_i18n_namespaceObject.__)('Read more'))) : excerpt;
+    return (0,external_wp_element_namespaceObject.createElement)("li", {
       key: i
-    }, renderFeaturedImage && Object(external_wp_element_["createElement"])("div", {
+    }, renderFeaturedImage && (0,external_wp_element_namespaceObject.createElement)("div", {
       className: imageClasses
-    }, addLinkToFeaturedImage ? Object(external_wp_element_["createElement"])("a", {
+    }, addLinkToFeaturedImage ? (0,external_wp_element_namespaceObject.createElement)("a", {
       href: post.link,
       rel: "noreferrer noopener"
-    }, featuredImage) : featuredImage), Object(external_wp_element_["createElement"])("a", {
+    }, featuredImage) : featuredImage), (0,external_wp_element_namespaceObject.createElement)("a", {
       href: post.link,
       rel: "noreferrer noopener"
-    }, titleTrimmed ? Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, titleTrimmed) : Object(external_wp_i18n_["__"])('(no title)')), displayAuthor && currentAuthor && Object(external_wp_element_["createElement"])("div", {
+    }, titleTrimmed ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, titleTrimmed) : (0,external_wp_i18n_namespaceObject.__)('(no title)')), displayAuthor && currentAuthor && (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-latest-posts__post-author"
-    }, Object(external_wp_i18n_["sprintf"])(
+    }, (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: byline. %s: current author. */
-    Object(external_wp_i18n_["__"])('by %s'), currentAuthor.name)), displayPostDate && post.date_gmt && Object(external_wp_element_["createElement"])("time", {
-      dateTime: Object(external_wp_date_["format"])('c', post.date_gmt),
+    (0,external_wp_i18n_namespaceObject.__)('by %s'), currentAuthor.name)), displayPostDate && post.date_gmt && (0,external_wp_element_namespaceObject.createElement)("time", {
+      dateTime: (0,external_wp_date_namespaceObject.format)('c', post.date_gmt),
       className: "wp-block-latest-posts__post-date"
-    }, Object(external_wp_date_["dateI18n"])(dateFormat, post.date_gmt)), displayPostContent && displayPostContentRadio === 'excerpt' && Object(external_wp_element_["createElement"])("div", {
+    }, (0,external_wp_date_namespaceObject.dateI18n)(dateFormat, post.date_gmt)), displayPostContent && displayPostContentRadio === 'excerpt' && (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-latest-posts__post-excerpt"
-    }, postExcerpt), displayPostContent && displayPostContentRadio === 'full_post' && Object(external_wp_element_["createElement"])("div", {
+    }, postExcerpt), displayPostContent && displayPostContentRadio === 'full_post' && (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-latest-posts__post-full-content"
-    }, Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, {
       key: "html"
     }, post.content.raw.trim())));
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/latest-posts/index.js
 /**
  * WordPress dependencies
  */
@@ -18095,7 +18134,7 @@ const latest_posts_settings = {
   deprecated: latest_posts_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/deprecated.js


 /**
@@ -18164,11 +18203,11 @@ const list_deprecated_v1 = {
       start
     } = attributes;
     const TagName = ordered ? 'ol' : 'ul';
-    return Object(external_wp_element_["createElement"])(TagName, external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)(TagName, external_wp_blockEditor_namespaceObject.useBlockProps.save({
       type,
       reversed,
       start
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: values,
       multiline: "li"
     }));
@@ -18197,127 +18236,127 @@ const list_deprecated_v1 = {

 /* harmony default export */ var list_deprecated = ([list_deprecated_v1]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-bullets-rtl.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-bullets-rtl.js


 /**
  * WordPress dependencies
  */

-const formatListBulletsRTL = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatListBulletsRTL = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"
 }));
 /* harmony default export */ var format_list_bullets_rtl = (formatListBulletsRTL);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-bullets.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-bullets.js


 /**
  * WordPress dependencies
  */

-const formatListBullets = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatListBullets = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
 }));
 /* harmony default export */ var format_list_bullets = (formatListBullets);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-numbered-rtl.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-numbered-rtl.js


 /**
  * WordPress dependencies
  */

-const formatListNumberedRTL = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatListNumberedRTL = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"
 }));
 /* harmony default export */ var format_list_numbered_rtl = (formatListNumberedRTL);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-numbered.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-list-numbered.js


 /**
  * WordPress dependencies
  */

-const formatListNumbered = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatListNumbered = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"
 }));
 /* harmony default export */ var format_list_numbered = (formatListNumbered);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-outdent-rtl.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-outdent-rtl.js


 /**
  * WordPress dependencies
  */

-const formatOutdentRTL = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatOutdentRTL = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"
 }));
 /* harmony default export */ var format_outdent_rtl = (formatOutdentRTL);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-outdent.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-outdent.js


 /**
  * WordPress dependencies
  */

-const formatOutdent = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatOutdent = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"
 }));
 /* harmony default export */ var format_outdent = (formatOutdent);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-indent-rtl.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-indent-rtl.js


 /**
  * WordPress dependencies
  */

-const formatIndentRTL = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatIndentRTL = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"
 }));
 /* harmony default export */ var format_indent_rtl = (formatIndentRTL);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-indent.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-indent.js


 /**
  * WordPress dependencies
  */

-const formatIndent = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatIndent = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"
 }));
 /* harmony default export */ var format_indent = (formatIndent);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/ordered-list-settings.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/ordered-list-settings.js


 /**
@@ -18333,10 +18372,10 @@ const OrderedListSettings = _ref => {
     reversed,
     start
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Ordered list settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Start value'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Ordered list settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Start value'),
     type: "number",
     onChange: value => {
       const int = parseInt(value, 10);
@@ -18348,8 +18387,8 @@ const OrderedListSettings = _ref => {
     },
     value: Number.isInteger(start) ? start.toString(10) : '',
     step: "1"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Reverse list numbering'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Reverse list numbering'),
     checked: reversed || false,
     onChange: value => {
       setAttributes({
@@ -18362,7 +18401,7 @@ const OrderedListSettings = _ref => {

 /* harmony default export */ var ordered_list_settings = (OrderedListSettings);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/edit.js



@@ -18405,88 +18444,88 @@ function ListEdit(_ref) {
       onChange,
       onFocus
     } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextShortcut, {
       type: "primary",
       character: "[",
       onUse: () => {
-        onChange(Object(external_wp_richText_["__unstableOutdentListItems"])(value));
+        onChange((0,external_wp_richText_namespaceObject.__unstableOutdentListItems)(value));
       }
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextShortcut, {
       type: "primary",
       character: "]",
       onUse: () => {
-        onChange(Object(external_wp_richText_["__unstableIndentListItems"])(value, {
+        onChange((0,external_wp_richText_namespaceObject.__unstableIndentListItems)(value, {
           type: tagName
         }));
       }
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextShortcut, {
       type: "primary",
       character: "m",
       onUse: () => {
-        onChange(Object(external_wp_richText_["__unstableIndentListItems"])(value, {
+        onChange((0,external_wp_richText_namespaceObject.__unstableIndentListItems)(value, {
           type: tagName
         }));
       }
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextShortcut, {
       type: "primaryShift",
       character: "m",
       onUse: () => {
-        onChange(Object(external_wp_richText_["__unstableOutdentListItems"])(value));
+        onChange((0,external_wp_richText_namespaceObject.__unstableOutdentListItems)(value));
       }
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
       group: "block"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-      icon: Object(external_wp_i18n_["isRTL"])() ? format_list_bullets_rtl : format_list_bullets,
-      title: Object(external_wp_i18n_["__"])('Unordered'),
-      describedBy: Object(external_wp_i18n_["__"])('Convert to unordered list'),
-      isActive: Object(external_wp_richText_["__unstableIsActiveListType"])(value, 'ul', tagName),
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+      icon: (0,external_wp_i18n_namespaceObject.isRTL)() ? format_list_bullets_rtl : format_list_bullets,
+      title: (0,external_wp_i18n_namespaceObject.__)('Unordered'),
+      describedBy: (0,external_wp_i18n_namespaceObject.__)('Convert to unordered list'),
+      isActive: (0,external_wp_richText_namespaceObject.__unstableIsActiveListType)(value, 'ul', tagName),
       onClick: () => {
-        onChange(Object(external_wp_richText_["__unstableChangeListType"])(value, {
+        onChange((0,external_wp_richText_namespaceObject.__unstableChangeListType)(value, {
           type: 'ul'
         }));
         onFocus();

-        if (Object(external_wp_richText_["__unstableIsListRootSelected"])(value)) {
+        if ((0,external_wp_richText_namespaceObject.__unstableIsListRootSelected)(value)) {
           setAttributes({
             ordered: false
           });
         }
       }
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-      icon: Object(external_wp_i18n_["isRTL"])() ? format_list_numbered_rtl : format_list_numbered,
-      title: Object(external_wp_i18n_["__"])('Ordered'),
-      describedBy: Object(external_wp_i18n_["__"])('Convert to ordered list'),
-      isActive: Object(external_wp_richText_["__unstableIsActiveListType"])(value, 'ol', tagName),
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+      icon: (0,external_wp_i18n_namespaceObject.isRTL)() ? format_list_numbered_rtl : format_list_numbered,
+      title: (0,external_wp_i18n_namespaceObject.__)('Ordered'),
+      describedBy: (0,external_wp_i18n_namespaceObject.__)('Convert to ordered list'),
+      isActive: (0,external_wp_richText_namespaceObject.__unstableIsActiveListType)(value, 'ol', tagName),
       onClick: () => {
-        onChange(Object(external_wp_richText_["__unstableChangeListType"])(value, {
+        onChange((0,external_wp_richText_namespaceObject.__unstableChangeListType)(value, {
           type: 'ol'
         }));
         onFocus();

-        if (Object(external_wp_richText_["__unstableIsListRootSelected"])(value)) {
+        if ((0,external_wp_richText_namespaceObject.__unstableIsListRootSelected)(value)) {
           setAttributes({
             ordered: true
           });
         }
       }
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-      icon: Object(external_wp_i18n_["isRTL"])() ? format_outdent_rtl : format_outdent,
-      title: Object(external_wp_i18n_["__"])('Outdent'),
-      describedBy: Object(external_wp_i18n_["__"])('Outdent list item'),
-      shortcut: Object(external_wp_i18n_["_x"])('Backspace', 'keyboard key'),
-      isDisabled: !Object(external_wp_richText_["__unstableCanOutdentListItems"])(value),
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+      icon: (0,external_wp_i18n_namespaceObject.isRTL)() ? format_outdent_rtl : format_outdent,
+      title: (0,external_wp_i18n_namespaceObject.__)('Outdent'),
+      describedBy: (0,external_wp_i18n_namespaceObject.__)('Outdent list item'),
+      shortcut: (0,external_wp_i18n_namespaceObject._x)('Backspace', 'keyboard key'),
+      isDisabled: !(0,external_wp_richText_namespaceObject.__unstableCanOutdentListItems)(value),
       onClick: () => {
-        onChange(Object(external_wp_richText_["__unstableOutdentListItems"])(value));
+        onChange((0,external_wp_richText_namespaceObject.__unstableOutdentListItems)(value));
         onFocus();
       }
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-      icon: Object(external_wp_i18n_["isRTL"])() ? format_indent_rtl : format_indent,
-      title: Object(external_wp_i18n_["__"])('Indent'),
-      describedBy: Object(external_wp_i18n_["__"])('Indent list item'),
-      shortcut: Object(external_wp_i18n_["_x"])('Space', 'keyboard key'),
-      isDisabled: !Object(external_wp_richText_["__unstableCanIndentListItems"])(value),
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+      icon: (0,external_wp_i18n_namespaceObject.isRTL)() ? format_indent_rtl : format_indent,
+      title: (0,external_wp_i18n_namespaceObject.__)('Indent'),
+      describedBy: (0,external_wp_i18n_namespaceObject.__)('Indent list item'),
+      shortcut: (0,external_wp_i18n_namespaceObject._x)('Space', 'keyboard key'),
+      isDisabled: !(0,external_wp_richText_namespaceObject.__unstableCanIndentListItems)(value),
       onClick: () => {
-        onChange(Object(external_wp_richText_["__unstableIndentListItems"])(value, {
+        onChange((0,external_wp_richText_namespaceObject.__unstableIndentListItems)(value, {
           type: tagName
         }));
         onFocus();
@@ -18494,10 +18533,10 @@ function ListEdit(_ref) {
     })));
   };

-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     style
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, _extends({
     identifier: "values",
     multiline: "li",
     tagName: tagName,
@@ -18505,19 +18544,19 @@ function ListEdit(_ref) {
       values: nextValues
     }),
     value: values,
-    "aria-label": Object(external_wp_i18n_["__"])('List text'),
-    placeholder: placeholder || Object(external_wp_i18n_["__"])('List'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('List text'),
+    placeholder: placeholder || (0,external_wp_i18n_namespaceObject.__)('List'),
     onMerge: mergeBlocks,
-    onSplit: value => Object(external_wp_blocks_["createBlock"])(list_name, { ...attributes,
+    onSplit: value => (0,external_wp_blocks_namespaceObject.createBlock)(list_name, { ...attributes,
       values: value
     }),
-    __unstableOnSplitMiddle: () => Object(external_wp_blocks_["createBlock"])('core/paragraph'),
+    __unstableOnSplitMiddle: () => (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'),
     onReplace: onReplace,
     onRemove: () => onReplace([]),
     start: start,
     reversed: reversed,
     type: type
-  }, blockProps), controls), ordered && Object(external_wp_element_["createElement"])(ordered_list_settings, {
+  }, blockProps), controls), ordered && (0,external_wp_element_namespaceObject.createElement)(ordered_list_settings, {
     setAttributes: setAttributes,
     ordered: ordered,
     reversed: reversed,
@@ -18526,7 +18565,7 @@ function ListEdit(_ref) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/save.js


 /**
@@ -18545,17 +18584,17 @@ function list_save_save(_ref) {
     start
   } = attributes;
   const TagName = ordered ? 'ol' : 'ul';
-  return Object(external_wp_element_["createElement"])(TagName, external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)(TagName, external_wp_blockEditor_namespaceObject.useBlockProps.save({
     type,
     reversed,
     start
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     value: values,
     multiline: "li"
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/transforms.js
 /**
  * WordPress dependencies
  */
@@ -18591,13 +18630,13 @@ const list_transforms_transforms = {
     isMultiBlock: true,
     blocks: ['core/paragraph', 'core/heading'],
     transform: blockAttributes => {
-      return Object(external_wp_blocks_["createBlock"])('core/list', {
-        values: Object(external_wp_richText_["toHTMLString"])({
-          value: Object(external_wp_richText_["join"])(blockAttributes.map(_ref2 => {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/list', {
+        values: (0,external_wp_richText_namespaceObject.toHTMLString)({
+          value: (0,external_wp_richText_namespaceObject.join)(blockAttributes.map(_ref2 => {
             let {
               content
             } = _ref2;
-            const value = Object(external_wp_richText_["create"])({
+            const value = (0,external_wp_richText_namespaceObject.create)({
               html: content
             });

@@ -18607,8 +18646,8 @@ const list_transforms_transforms = {
             // every line to a list item.


-            return Object(external_wp_richText_["replace"])(value, /\n/g, external_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]);
-          }), external_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]),
+            return (0,external_wp_richText_namespaceObject.replace)(value, /\n/g, external_wp_richText_namespaceObject.__UNSTABLE_LINE_SEPARATOR);
+          }), external_wp_richText_namespaceObject.__UNSTABLE_LINE_SEPARATOR),
           multilineTag: 'li'
         }),
         anchor: blockAttributes.anchor
@@ -18622,9 +18661,9 @@ const list_transforms_transforms = {
         value,
         anchor
       } = _ref3;
-      return Object(external_wp_blocks_["createBlock"])('core/list', {
-        values: Object(external_wp_richText_["toHTMLString"])({
-          value: Object(external_wp_richText_["create"])({
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/list', {
+        values: (0,external_wp_richText_namespaceObject.toHTMLString)({
+          value: (0,external_wp_richText_namespaceObject.create)({
             html: value,
             multilineTag: 'p'
           }),
@@ -18666,7 +18705,7 @@ const list_transforms_transforms = {
         }
       }

-      return Object(external_wp_blocks_["createBlock"])('core/list', { ...Object(external_wp_blocks_["getBlockAttributes"])('core/list', node.outerHTML),
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/list', { ...(0,external_wp_blocks_namespaceObject.getBlockAttributes)('core/list', node.outerHTML),
         ...attributes
       });
     }
@@ -18676,7 +18715,7 @@ const list_transforms_transforms = {
     prefix,

     transform(content) {
-      return Object(external_wp_blocks_["createBlock"])('core/list', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/list', {
         values: `<li>${content}</li>`
       });
     }
@@ -18686,7 +18725,7 @@ const list_transforms_transforms = {
     prefix,

     transform(content) {
-      return Object(external_wp_blocks_["createBlock"])('core/list', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/list', {
         ordered: true,
         values: `<li>${content}</li>`
       });
@@ -18700,12 +18739,12 @@ const list_transforms_transforms = {
       let {
         values
       } = _ref4;
-      return Object(external_wp_richText_["split"])(Object(external_wp_richText_["create"])({
+      return (0,external_wp_richText_namespaceObject.split)((0,external_wp_richText_namespaceObject.create)({
         html: values,
         multilineTag: 'li',
         multilineWrapperTags: ['ul', 'ol']
-      }), external_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]).map(piece => Object(external_wp_blocks_["createBlock"])('core/paragraph', {
-        content: Object(external_wp_richText_["toHTMLString"])({
+      }), external_wp_richText_namespaceObject.__UNSTABLE_LINE_SEPARATOR).map(piece => (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
+        content: (0,external_wp_richText_namespaceObject.toHTMLString)({
           value: piece
         })
       }));
@@ -18717,12 +18756,12 @@ const list_transforms_transforms = {
       let {
         values
       } = _ref5;
-      return Object(external_wp_richText_["split"])(Object(external_wp_richText_["create"])({
+      return (0,external_wp_richText_namespaceObject.split)((0,external_wp_richText_namespaceObject.create)({
         html: values,
         multilineTag: 'li',
         multilineWrapperTags: ['ul', 'ol']
-      }), external_wp_richText_["__UNSTABLE_LINE_SEPARATOR"]).map(piece => Object(external_wp_blocks_["createBlock"])('core/heading', {
-        content: Object(external_wp_richText_["toHTMLString"])({
+      }), external_wp_richText_namespaceObject.__UNSTABLE_LINE_SEPARATOR).map(piece => (0,external_wp_blocks_namespaceObject.createBlock)('core/heading', {
+        content: (0,external_wp_richText_namespaceObject.toHTMLString)({
           value: piece
         })
       }));
@@ -18735,9 +18774,9 @@ const list_transforms_transforms = {
         values,
         anchor
       } = _ref6;
-      return Object(external_wp_blocks_["createBlock"])('core/quote', {
-        value: Object(external_wp_richText_["toHTMLString"])({
-          value: Object(external_wp_richText_["create"])({
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/quote', {
+        value: (0,external_wp_richText_namespaceObject.toHTMLString)({
+          value: (0,external_wp_richText_namespaceObject.create)({
             html: values,
             multilineTag: 'li',
             multilineWrapperTags: ['ul', 'ol']
@@ -18755,9 +18794,9 @@ const list_transforms_transforms = {
         values,
         anchor
       } = _ref7;
-      return Object(external_wp_blocks_["createBlock"])('core/pullquote', {
-        value: Object(external_wp_richText_["toHTMLString"])({
-          value: Object(external_wp_richText_["create"])({
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/pullquote', {
+        value: (0,external_wp_richText_namespaceObject.toHTMLString)({
+          value: (0,external_wp_richText_namespaceObject.create)({
             html: values,
             multilineTag: 'li',
             multilineWrapperTags: ['ul', 'ol']
@@ -18771,7 +18810,7 @@ const list_transforms_transforms = {
 };
 /* harmony default export */ var list_transforms = (list_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/list/index.js
 /**
  * WordPress dependencies
  */
@@ -18878,22 +18917,22 @@ const list_settings = {
   deprecated: list_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/login.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/login.js


 /**
  * WordPress dependencies
  */

-const login = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const login = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M11 14.5l1.1 1.1 3-3 .5-.5-.6-.6-3-3-1 1 1.7 1.7H5v1.5h7.7L11 14.5zM16.8 5h-7c-1.1 0-2 .9-2 2v1.5h1.5V7c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v10c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5v-1.5H7.8V17c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2z"
 }));
 /* harmony default export */ var library_login = (login);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/loginout/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/loginout/edit.js


 /**
@@ -18911,28 +18950,28 @@ function LoginOutEdit(_ref) {
     displayLoginAsForm,
     redirectToCurrent
   } = attributes;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Login/out settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display login as form'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Login/out settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display login as form'),
     checked: displayLoginAsForm,
     onChange: () => setAttributes({
       displayLoginAsForm: !displayLoginAsForm
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Redirect to current URL'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Redirect to current URL'),
     checked: redirectToCurrent,
     onChange: () => setAttributes({
       redirectToCurrent: !redirectToCurrent
     })
-  }))), Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])({
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: 'logged-in'
-  }), Object(external_wp_element_["createElement"])("a", {
+  }), (0,external_wp_element_namespaceObject.createElement)("a", {
     href: "#login-pseudo-link"
-  }, Object(external_wp_i18n_["__"])('Log out'))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Log out'))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/loginout/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/loginout/index.js
 /**
  * WordPress dependencies
  */
@@ -18976,40 +19015,40 @@ const loginout_settings = {
   edit: LoginOutEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/media-and-text.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/media-and-text.js


 /**
  * WordPress dependencies
  */

-const mediaAndText = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const mediaAndText = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M3 18h8V6H3v12zM14 7.5V9h7V7.5h-7zm0 5.3h7v-1.5h-7v1.5zm0 3.7h7V15h-7v1.5z"
 }));
 /* harmony default export */ var media_and_text = (mediaAndText);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container-icon.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container-icon.js


 /**
  * WordPress dependencies
  */

-/* harmony default export */ var media_container_icon = (Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+/* harmony default export */ var media_container_icon = ((0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"
 })));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/media-container.js



@@ -19045,14 +19084,14 @@ function imageFillStyles(url, focalPoint) {
     backgroundPosition: focalPoint ? `${focalPoint.x * 100}% ${focalPoint.y * 100}%` : `50% 50%`
   } : {};
 }
-const ResizableBoxContainer = Object(external_wp_element_["forwardRef"])((_ref, ref) => {
+const ResizableBoxContainer = (0,external_wp_element_namespaceObject.forwardRef)((_ref, ref) => {
   let {
     isSelected,
     isStackedOnMobile,
     ...props
   } = _ref;
-  const isMobile = Object(external_wp_compose_["useViewportMatch"])('small', '<');
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], Object(esm_extends["a" /* default */])({
+  const isMobile = (0,external_wp_compose_namespaceObject.useViewportMatch)('small', '<');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ResizableBox, _extends({
     ref: ref,
     showHandle: isSelected && (!isMobile || !isStackedOnMobile)
   }, props));
@@ -19064,9 +19103,9 @@ function ToolbarEditButton(_ref2) {
     mediaUrl,
     onSelectMedia
   } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaReplaceFlow, {
     mediaId: mediaId,
     mediaURL: mediaUrl,
     allowedTypes: media_container_ALLOWED_MEDIA_TYPES,
@@ -19089,12 +19128,12 @@ function PlaceholderContainer(_ref3) {
     noticeOperations.createErrorNotice(message);
   };

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
-    icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
+    icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
       icon: media_container_icon
     }),
     labels: {
-      title: Object(external_wp_i18n_["__"])('Media area')
+      title: (0,external_wp_i18n_namespaceObject.__)('Media area')
     },
     className: className,
     onSelect: onSelectMedia,
@@ -19123,10 +19162,10 @@ function MediaContainer(props, ref) {
     onSelectMedia,
     onWidthChange
   } = props;
-  const isTemporaryMedia = !mediaId && Object(external_wp_blob_["isBlobURL"])(mediaUrl);
+  const isTemporaryMedia = !mediaId && (0,external_wp_blob_namespaceObject.isBlobURL)(mediaUrl);
   const {
     toggleSelection
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);

   if (mediaUrl) {
     const onResizeStart = () => {
@@ -19148,16 +19187,16 @@ function MediaContainer(props, ref) {
     };
     const backgroundStyles = mediaType === 'image' && imageFill ? imageFillStyles(mediaUrl, focalPoint) : {};
     const mediaTypeRenderers = {
-      image: () => Object(external_wp_element_["createElement"])("img", {
+      image: () => (0,external_wp_element_namespaceObject.createElement)("img", {
         src: mediaUrl,
         alt: mediaAlt
       }),
-      video: () => Object(external_wp_element_["createElement"])("video", {
+      video: () => (0,external_wp_element_namespaceObject.createElement)("video", {
         controls: true,
         src: mediaUrl
       })
     };
-    return Object(external_wp_element_["createElement"])(ResizableBoxContainer, {
+    return (0,external_wp_element_namespaceObject.createElement)(ResizableBoxContainer, {
       as: "figure",
       className: classnames_default()(className, 'editor-media-container__resizer', {
         'is-transient': isTemporaryMedia
@@ -19176,19 +19215,19 @@ function MediaContainer(props, ref) {
       isSelected: isSelected,
       isStackedOnMobile: isStackedOnMobile,
       ref: ref
-    }, Object(external_wp_element_["createElement"])(ToolbarEditButton, {
+    }, (0,external_wp_element_namespaceObject.createElement)(ToolbarEditButton, {
       onSelectMedia: onSelectMedia,
       mediaUrl: mediaUrl,
       mediaId: mediaId
-    }), (mediaTypeRenderers[mediaType] || external_lodash_["noop"])(), isTemporaryMedia && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), Object(external_wp_element_["createElement"])(PlaceholderContainer, props));
+    }), (mediaTypeRenderers[mediaType] || external_lodash_namespaceObject.noop)(), isTemporaryMedia && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null), (0,external_wp_element_namespaceObject.createElement)(PlaceholderContainer, props));
   }

-  return Object(external_wp_element_["createElement"])(PlaceholderContainer, props);
+  return (0,external_wp_element_namespaceObject.createElement)(PlaceholderContainer, props);
 }

-/* harmony default export */ var media_container = (Object(external_wp_components_["withNotices"])(Object(external_wp_element_["forwardRef"])(MediaContainer)));
+/* harmony default export */ var media_container = ((0,external_wp_components_namespaceObject.withNotices)((0,external_wp_element_namespaceObject.forwardRef)(MediaContainer)));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/deprecated.js


 /**
@@ -19218,7 +19257,7 @@ const media_text_deprecated_migrateCustomColors = attributes => {
       background: attributes.customBackgroundColor
     }
   };
-  return { ...Object(external_lodash_["omit"])(attributes, ['customBackgroundColor']),
+  return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['customBackgroundColor']),
     style
   };
 };
@@ -19326,15 +19365,15 @@ const baseAttributes = {
       linkTarget,
       rel
     } = attributes;
-    const newRel = Object(external_lodash_["isEmpty"])(rel) ? undefined : rel;
-    let image = Object(external_wp_element_["createElement"])("img", {
+    const newRel = (0,external_lodash_namespaceObject.isEmpty)(rel) ? undefined : rel;
+    let image = (0,external_wp_element_namespaceObject.createElement)("img", {
       src: mediaUrl,
       alt: mediaAlt,
       className: mediaId && mediaType === 'image' ? `wp-image-${mediaId}` : null
     });

     if (href) {
-      image = Object(external_wp_element_["createElement"])("a", {
+      image = (0,external_wp_element_namespaceObject.createElement)("a", {
         className: linkClass,
         href: href,
         target: linkTarget,
@@ -19344,12 +19383,12 @@ const baseAttributes = {

     const mediaTypeRenders = {
       image: () => image,
-      video: () => Object(external_wp_element_["createElement"])("video", {
+      video: () => (0,external_wp_element_namespaceObject.createElement)("video", {
         controls: true,
         src: mediaUrl
       })
     };
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
     const className = classnames_default()({
       'has-media-on-the-right': 'right' === mediaPosition,
       'has-background': backgroundClass || customBackgroundColor,
@@ -19369,15 +19408,15 @@ const baseAttributes = {
       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       gridTemplateColumns
     };
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: className,
       style: style
-    }, Object(external_wp_element_["createElement"])("figure", {
+    }, (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: "wp-block-media-text__media",
       style: backgroundStyles
-    }, (mediaTypeRenders[mediaType] || external_lodash_["noop"])()), Object(external_wp_element_["createElement"])("div", {
+    }, (mediaTypeRenders[mediaType] || external_lodash_namespaceObject.noop)()), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-media-text__content"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   }

 }, {
@@ -19422,17 +19461,17 @@ const baseAttributes = {
       focalPoint
     } = attributes;
     const mediaTypeRenders = {
-      image: () => Object(external_wp_element_["createElement"])("img", {
+      image: () => (0,external_wp_element_namespaceObject.createElement)("img", {
         src: mediaUrl,
         alt: mediaAlt,
         className: mediaId && mediaType === 'image' ? `wp-image-${mediaId}` : null
       }),
-      video: () => Object(external_wp_element_["createElement"])("video", {
+      video: () => (0,external_wp_element_namespaceObject.createElement)("video", {
         controls: true,
         src: mediaUrl
       })
     };
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
     const className = classnames_default()({
       'has-media-on-the-right': 'right' === mediaPosition,
       [backgroundClass]: backgroundClass,
@@ -19451,15 +19490,15 @@ const baseAttributes = {
       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       gridTemplateColumns
     };
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: className,
       style: style
-    }, Object(external_wp_element_["createElement"])("figure", {
+    }, (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: "wp-block-media-text__media",
       style: backgroundStyles
-    }, (mediaTypeRenders[mediaType] || external_lodash_["noop"])()), Object(external_wp_element_["createElement"])("div", {
+    }, (mediaTypeRenders[mediaType] || external_lodash_namespaceObject.noop)()), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-media-text__content"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   }

 }, {
@@ -19490,16 +19529,16 @@ const baseAttributes = {
       mediaWidth
     } = attributes;
     const mediaTypeRenders = {
-      image: () => Object(external_wp_element_["createElement"])("img", {
+      image: () => (0,external_wp_element_namespaceObject.createElement)("img", {
         src: mediaUrl,
         alt: mediaAlt
       }),
-      video: () => Object(external_wp_element_["createElement"])("video", {
+      video: () => (0,external_wp_element_namespaceObject.createElement)("video", {
         controls: true,
         src: mediaUrl
       })
     };
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
     const className = classnames_default()({
       'has-media-on-the-right': 'right' === mediaPosition,
       [backgroundClass]: backgroundClass,
@@ -19515,52 +19554,52 @@ const baseAttributes = {
       backgroundColor: backgroundClass ? undefined : customBackgroundColor,
       gridTemplateColumns
     };
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: className,
       style: style
-    }, Object(external_wp_element_["createElement"])("figure", {
+    }, (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: "wp-block-media-text__media"
-    }, (mediaTypeRenders[mediaType] || external_lodash_["noop"])()), Object(external_wp_element_["createElement"])("div", {
+    }, (mediaTypeRenders[mediaType] || external_lodash_namespaceObject.noop)()), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-media-text__content"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null)));
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null)));
   }

 }]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pull-left.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pull-left.js


 /**
  * WordPress dependencies
  */

-const pullLeft = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const pullLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"
 }));
 /* harmony default export */ var pull_left = (pullLeft);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pull-right.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pull-right.js


 /**
  * WordPress dependencies
  */

-const pullRight = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const pullRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"
 }));
 /* harmony default export */ var pull_right = (pullRight);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/constants.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/constants.js
 const DEFAULT_MEDIA_SIZE_SLUG = 'full';

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/edit.js


 /**
@@ -19591,7 +19630,7 @@ const DEFAULT_MEDIA_SIZE_SLUG = 'full';

 const TEMPLATE = [['core/paragraph', {
   fontSize: 'large',
-  placeholder: Object(external_wp_i18n_["_x"])('Content…', 'content placeholder')
+  placeholder: (0,external_wp_i18n_namespaceObject._x)('Content…', 'content placeholder')
 }]]; // this limits the resize to a safe zone to avoid making broken layouts

 const WIDTH_CONSTRAINT_PERCENTAGE = 15;
@@ -19690,8 +19729,8 @@ function MediaTextEdit(_ref2) {
     verticalAlignment
   } = attributes;
   const mediaSizeSlug = attributes.mediaSizeSlug || DEFAULT_MEDIA_SIZE_SLUG;
-  const image = Object(external_wp_data_["useSelect"])(select => mediaId && isSelected ? select(external_wp_coreData_["store"]).getMedia(mediaId) : null, [isSelected, mediaId]);
-  const refMediaContainer = Object(external_wp_element_["useRef"])();
+  const image = (0,external_wp_data_namespaceObject.useSelect)(select => mediaId && isSelected ? select(external_wp_coreData_namespaceObject.store).getMedia(mediaId) : null, [isSelected, mediaId]);
+  const refMediaContainer = (0,external_wp_element_namespaceObject.useRef)();

   const imperativeFocalPointPreview = value => {
     const {
@@ -19704,7 +19743,7 @@ function MediaTextEdit(_ref2) {
     style.backgroundPosition = `${x * 100}% ${y * 100}%`;
   };

-  const [temporaryMediaWidth, setTemporaryMediaWidth] = Object(external_wp_element_["useState"])(null);
+  const [temporaryMediaWidth, setTemporaryMediaWidth] = (0,external_wp_element_namespaceObject.useState)(null);
   const onSelectMedia = edit_attributesFromMedia({
     attributes,
     setAttributes
@@ -19751,11 +19790,11 @@ function MediaTextEdit(_ref2) {
     });
   };

-  const imageSizes = Object(external_wp_data_["useSelect"])(select => {
-    const settings = select(external_wp_blockEditor_["store"]).getSettings();
+  const imageSizes = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const settings = select(external_wp_blockEditor_namespaceObject.store).getSettings();
     return settings === null || settings === void 0 ? void 0 : settings.imageSizes;
   }, []);
-  const imageSizeOptions = Object(external_lodash_["map"])(Object(external_lodash_["filter"])(imageSizes, _ref3 => {
+  const imageSizeOptions = (0,external_lodash_namespaceObject.map)((0,external_lodash_namespaceObject.filter)(imageSizes, _ref3 => {
     let {
       slug
     } = _ref3;
@@ -19784,22 +19823,22 @@ function MediaTextEdit(_ref2) {
     });
   };

-  const mediaTextGeneralSettings = Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Media & Text settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Stack on mobile'),
+  const mediaTextGeneralSettings = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Media & Text settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Stack on mobile'),
     checked: isStackedOnMobile,
     onChange: () => setAttributes({
       isStackedOnMobile: !isStackedOnMobile
     })
-  }), mediaType === 'image' && Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Crop image to fill entire column'),
+  }), mediaType === 'image' && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Crop image to fill entire column'),
     checked: imageFill,
     onChange: () => setAttributes({
       imageFill: !imageFill
     })
-  }), imageFill && mediaUrl && mediaType === 'image' && Object(external_wp_element_["createElement"])(external_wp_components_["FocalPointPicker"], {
-    label: Object(external_wp_i18n_["__"])('Focal point picker'),
+  }), imageFill && mediaUrl && mediaType === 'image' && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FocalPointPicker, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Focal point picker'),
     url: mediaUrl,
     value: focalPoint,
     onChange: value => setAttributes({
@@ -19807,54 +19846,54 @@ function MediaTextEdit(_ref2) {
     }),
     onDragStart: imperativeFocalPointPreview,
     onDrag: imperativeFocalPointPreview
-  }), mediaType === 'image' && Object(external_wp_element_["createElement"])(external_wp_components_["TextareaControl"], {
-    label: Object(external_wp_i18n_["__"])('Alt text (alternative text)'),
+  }), mediaType === 'image' && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextareaControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Alt text (alternative text)'),
     value: mediaAlt,
     onChange: onMediaAltChange,
-    help: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
+    help: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
       href: "https://www.w3.org/WAI/tutorials/images/decision-tree"
-    }, Object(external_wp_i18n_["__"])('Describe the purpose of the image')), Object(external_wp_i18n_["__"])('Leave empty if the image is purely decorative.'))
-  }), mediaType === 'image' && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalImageSizeControl"], {
+    }, (0,external_wp_i18n_namespaceObject.__)('Describe the purpose of the image')), (0,external_wp_i18n_namespaceObject.__)('Leave empty if the image is purely decorative.'))
+  }), mediaType === 'image' && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalImageSizeControl, {
     onChangeImage: updateImage,
     slug: mediaSizeSlug,
     imageSizeOptions: imageSizeOptions,
     isResizable: false
-  }), mediaUrl && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Media width'),
+  }), mediaUrl && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Media width'),
     value: temporaryMediaWidth || mediaWidth,
     onChange: commitWidthChange,
     min: WIDTH_CONSTRAINT_PERCENTAGE,
     max: 100 - WIDTH_CONSTRAINT_PERCENTAGE
   }));
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classNames,
     style
   });
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)({
     className: 'wp-block-media-text__content'
   }, {
     template: TEMPLATE
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, mediaTextGeneralSettings), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, mediaTextGeneralSettings), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockVerticalAlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockVerticalAlignmentControl, {
     onChange: onVerticalAlignmentChange,
     value: verticalAlignment
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     icon: pull_left,
-    title: Object(external_wp_i18n_["__"])('Show media on left'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Show media on left'),
     isActive: mediaPosition === 'left',
     onClick: () => setAttributes({
       mediaPosition: 'left'
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     icon: pull_right,
-    title: Object(external_wp_i18n_["__"])('Show media on right'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Show media on right'),
     isActive: mediaPosition === 'right',
     onClick: () => setAttributes({
       mediaPosition: 'right'
     })
-  }), mediaType === 'image' && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalImageURLInputUI"], {
+  }), mediaType === 'image' && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalImageURLInputUI, {
     url: href || '',
     onChangeUrl: onSetHref,
     linkDestination: linkDestination,
@@ -19864,7 +19903,7 @@ function MediaTextEdit(_ref2) {
     linkTarget: linkTarget,
     linkClass: linkClass,
     rel: rel
-  })), Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(media_container, {
+  })), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(media_container, {
     className: "wp-block-media-text__media",
     onSelectMedia: onSelectMedia,
     onWidthChange: onWidthChange,
@@ -19880,12 +19919,12 @@ function MediaTextEdit(_ref2) {
     mediaType,
     mediaUrl,
     mediaWidth
-  }), Object(external_wp_element_["createElement"])("div", innerBlocksProps)));
+  }), (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps)));
 }

 /* harmony default export */ var media_text_edit = (MediaTextEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/save.js


 /**
@@ -19926,19 +19965,19 @@ function media_text_save_save(_ref) {
     rel
   } = attributes;
   const mediaSizeSlug = attributes.mediaSizeSlug || DEFAULT_MEDIA_SIZE_SLUG;
-  const newRel = Object(external_lodash_["isEmpty"])(rel) ? undefined : rel;
+  const newRel = (0,external_lodash_namespaceObject.isEmpty)(rel) ? undefined : rel;
   const imageClasses = classnames_default()({
     [`wp-image-${mediaId}`]: mediaId && mediaType === 'image',
     [`size-${mediaSizeSlug}`]: mediaId && mediaType === 'image'
   });
-  let image = Object(external_wp_element_["createElement"])("img", {
+  let image = (0,external_wp_element_namespaceObject.createElement)("img", {
     src: mediaUrl,
     alt: mediaAlt,
     className: imageClasses || null
   });

   if (href) {
-    image = Object(external_wp_element_["createElement"])("a", {
+    image = (0,external_wp_element_namespaceObject.createElement)("a", {
       className: linkClass,
       href: href,
       target: linkTarget,
@@ -19948,7 +19987,7 @@ function media_text_save_save(_ref) {

   const mediaTypeRenders = {
     image: () => image,
-    video: () => Object(external_wp_element_["createElement"])("video", {
+    video: () => (0,external_wp_element_namespaceObject.createElement)("video", {
       controls: true,
       src: mediaUrl
     })
@@ -19969,18 +20008,18 @@ function media_text_save_save(_ref) {
   const style = {
     gridTemplateColumns
   };
-  return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className,
     style
-  }), Object(external_wp_element_["createElement"])("figure", {
+  }), (0,external_wp_element_namespaceObject.createElement)("figure", {
     className: "wp-block-media-text__media",
     style: backgroundStyles
-  }, (mediaTypeRenders[mediaType] || external_lodash_["noop"])()), Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useInnerBlocksProps"].save({
+  }, (mediaTypeRenders[mediaType] || external_lodash_namespaceObject.noop)()), (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useInnerBlocksProps.save({
     className: 'wp-block-media-text__content'
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/transforms.js
 /**
  * WordPress dependencies
  */
@@ -19996,7 +20035,7 @@ const media_text_transforms_transforms = {
         id,
         anchor
       } = _ref;
-      return Object(external_wp_blocks_["createBlock"])('core/media-text', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/media-text', {
         mediaAlt: alt,
         mediaId: id,
         mediaUrl: url,
@@ -20013,7 +20052,7 @@ const media_text_transforms_transforms = {
         id,
         anchor
       } = _ref2;
-      return Object(external_wp_blocks_["createBlock"])('core/media-text', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/media-text', {
         mediaId: id,
         mediaUrl: src,
         mediaType: 'video',
@@ -20038,7 +20077,7 @@ const media_text_transforms_transforms = {
         mediaUrl,
         anchor
       } = _ref4;
-      return Object(external_wp_blocks_["createBlock"])('core/image', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/image', {
         alt: mediaAlt,
         id: mediaId,
         url: mediaUrl,
@@ -20061,7 +20100,7 @@ const media_text_transforms_transforms = {
         mediaUrl,
         anchor
       } = _ref6;
-      return Object(external_wp_blocks_["createBlock"])('core/video', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/video', {
         id: mediaId,
         src: mediaUrl,
         anchor
@@ -20071,7 +20110,7 @@ const media_text_transforms_transforms = {
 };
 /* harmony default export */ var media_text_transforms = (media_text_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/media-text/index.js
 /**
  * WordPress dependencies
  */
@@ -20200,12 +20239,12 @@ const media_text_settings = {
     innerBlocks: [{
       name: 'core/paragraph',
       attributes: {
-        content: Object(external_wp_i18n_["__"])('The wren<br>Earns his living<br>Noiselessly.')
+        content: (0,external_wp_i18n_namespaceObject.__)('The wren<br>Earns his living<br>Noiselessly.')
       }
     }, {
       name: 'core/paragraph',
       attributes: {
-        content: Object(external_wp_i18n_["__"])('— Kobayashi Issa (一茶)')
+        content: (0,external_wp_i18n_namespaceObject.__)('— Kobayashi Issa (一茶)')
       }
     }]
   },
@@ -20215,10 +20254,9 @@ const media_text_settings = {
   deprecated: media_text_deprecated
 };

-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/missing/edit.js
+;// CONCATENATED MODULE: external ["wp","dom"]
+var external_wp_dom_namespaceObject = window["wp"]["dom"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/missing/edit.js


 /**
@@ -20242,43 +20280,43 @@ function MissingBlockWarning(_ref) {
     originalUndelimitedContent
   } = attributes;
   const hasContent = !!originalUndelimitedContent;
-  const hasHTMLBlock = Object(external_wp_blocks_["getBlockType"])('core/html');
+  const hasHTMLBlock = (0,external_wp_blocks_namespaceObject.getBlockType)('core/html');
   const actions = [];
   let messageHTML;

   if (hasContent && hasHTMLBlock) {
-    messageHTML = Object(external_wp_i18n_["sprintf"])(
+    messageHTML = (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: block name */
-    Object(external_wp_i18n_["__"])('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'), originalName);
-    actions.push(Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    (0,external_wp_i18n_namespaceObject.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'), originalName);
+    actions.push((0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       key: "convert",
       onClick: convertToHTML,
       variant: "primary"
-    }, Object(external_wp_i18n_["__"])('Keep as HTML')));
+    }, (0,external_wp_i18n_namespaceObject.__)('Keep as HTML')));
   } else {
-    messageHTML = Object(external_wp_i18n_["sprintf"])(
+    messageHTML = (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: block name */
-    Object(external_wp_i18n_["__"])('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'), originalName);
+    (0,external_wp_i18n_namespaceObject.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'), originalName);
   }

-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])({
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: 'has-warning'
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, {
     actions: actions
-  }, messageHTML), Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, Object(external_wp_dom_["safeHTML"])(originalUndelimitedContent)));
+  }, messageHTML), (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, (0,external_wp_dom_namespaceObject.safeHTML)(originalUndelimitedContent)));
 }

-const MissingEdit = Object(external_wp_data_["withDispatch"])((dispatch, _ref2) => {
+const MissingEdit = (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref2) => {
   let {
     clientId,
     attributes
   } = _ref2;
   const {
     replaceBlock
-  } = dispatch(external_wp_blockEditor_["store"]);
+  } = dispatch(external_wp_blockEditor_namespaceObject.store);
   return {
     convertToHTML() {
-      replaceBlock(clientId, Object(external_wp_blocks_["createBlock"])('core/html', {
+      replaceBlock(clientId, (0,external_wp_blocks_namespaceObject.createBlock)('core/html', {
         content: attributes.originalUndelimitedContent
       }));
     }
@@ -20287,7 +20325,7 @@ const MissingEdit = Object(external_wp_data_["withDispatch"])((dispatch, _ref2)
 })(MissingBlockWarning);
 /* harmony default export */ var missing_edit = (MissingEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/missing/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/missing/save.js


 /**
@@ -20299,10 +20337,10 @@ function missing_save_save(_ref) {
     attributes
   } = _ref;
   // Preserve the missing block's content.
-  return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, attributes.originalContent);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, attributes.originalContent);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/missing/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/missing/index.js
 /**
  * WordPress dependencies
  */
@@ -20356,7 +20394,7 @@ const missing_settings = {
       const {
         originalName
       } = attributes;
-      const originalBlockType = originalName ? Object(external_wp_blocks_["getBlockType"])(originalName) : undefined;
+      const originalBlockType = originalName ? (0,external_wp_blocks_namespaceObject.getBlockType)(originalName) : undefined;

       if (originalBlockType) {
         return originalBlockType.settings.title || originalName;
@@ -20370,22 +20408,22 @@ const missing_settings = {
   save: missing_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more.js


 /**
  * WordPress dependencies
  */

-const more = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const more = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"
 }));
 /* harmony default export */ var library_more = (more);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/edit.js


 /**
@@ -20397,7 +20435,7 @@ const more = Object(external_wp_element_["createElement"])(external_wp_primitive



-const DEFAULT_TEXT = Object(external_wp_i18n_["__"])('Read more');
+const DEFAULT_TEXT = (0,external_wp_i18n_namespaceObject.__)('Read more');

 function MoreEdit(_ref) {
   let {
@@ -20420,12 +20458,12 @@ function MoreEdit(_ref) {
       keyCode
     } = _ref2;

-    if (keyCode === external_wp_keycodes_["ENTER"]) {
-      insertBlocksAfter([Object(external_wp_blocks_["createBlock"])(Object(external_wp_blocks_["getDefaultBlockName"])())]);
+    if (keyCode === external_wp_keycodes_namespaceObject.ENTER) {
+      insertBlocksAfter([(0,external_wp_blocks_namespaceObject.createBlock)((0,external_wp_blocks_namespaceObject.getDefaultBlockName)())]);
     }
   };

-  const getHideExcerptHelp = checked => checked ? Object(external_wp_i18n_["__"])('The excerpt is hidden.') : Object(external_wp_i18n_["__"])('The excerpt is visible.');
+  const getHideExcerptHelp = checked => checked ? (0,external_wp_i18n_namespaceObject.__)('The excerpt is hidden.') : (0,external_wp_i18n_namespaceObject.__)('The excerpt is visible.');

   const toggleHideExcerpt = () => setAttributes({
     noTeaser: !noTeaser
@@ -20434,15 +20472,15 @@ function MoreEdit(_ref) {
   const style = {
     width: `${(customText ? customText : DEFAULT_TEXT).length + 1.2}em`
   };
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Hide the excerpt on the full content page'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Hide the excerpt on the full content page'),
     checked: !!noTeaser,
     onChange: toggleHideExcerpt,
     help: getHideExcerptHelp
-  }))), Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])("div", {
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-more"
-  }, Object(external_wp_element_["createElement"])("input", {
-    "aria-label": Object(external_wp_i18n_["__"])('Read more link text'),
+  }, (0,external_wp_element_namespaceObject.createElement)("input", {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Read more link text'),
     type: "text",
     value: customText,
     placeholder: DEFAULT_TEXT,
@@ -20452,7 +20490,7 @@ function MoreEdit(_ref) {
   }))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/save.js


 /**
@@ -20473,10 +20511,10 @@ function more_save_save(_ref) {
   } = _ref;
   const moreTag = customText ? `<!--more ${customText}-->` : '<!--more-->';
   const noTeaserTag = noTeaser ? '<!--noteaser-->' : '';
-  return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, Object(external_lodash_["compact"])([moreTag, noTeaserTag]).join('\n'));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, (0,external_lodash_namespaceObject.compact)([moreTag, noTeaserTag]).join('\n'));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/transforms.js
 /**
  * WordPress dependencies
  */
@@ -20507,14 +20545,14 @@ const more_transforms_transforms = {
         attrs.noTeaser = true;
       }

-      return Object(external_wp_blocks_["createBlock"])('core/more', attrs);
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/more', attrs);
     }

   }]
 };
 /* harmony default export */ var more_transforms = (more_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/more/index.js
 /**
  * WordPress dependencies
  */
@@ -20574,25 +20612,37 @@ const more_settings = {
   save: more_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/navigation.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/navigation.js


 /**
  * WordPress dependencies
  */

-const navigation = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const navigation = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"
 }));
 /* harmony default export */ var library_navigation = (navigation);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js
-var list_view = __webpack_require__("OzlF");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-list-view-modal.js
+
+/**
+ * WordPress dependencies
+ */
+
+const listView = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
+}));
+/* harmony default export */ var list_view = (listView);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-list-view-modal.js


 /**
@@ -20610,19 +20660,19 @@ function NavigationBlockListView(_ref) {
     clientId,
     __experimentalFeatures
   } = _ref;
-  const blocks = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).__unstableGetClientIdsTree(clientId), [clientId]);
-  const listViewRef = Object(external_wp_element_["useRef"])();
-  const [minHeight, setMinHeight] = Object(external_wp_element_["useState"])(300);
-  Object(external_wp_element_["useEffect"])(() => {
+  const blocks = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).__unstableGetClientIdsTree(clientId), [clientId]);
+  const listViewRef = (0,external_wp_element_namespaceObject.useRef)();
+  const [minHeight, setMinHeight] = (0,external_wp_element_namespaceObject.useState)(300);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     var _listViewRef$current$, _listViewRef$current;

     setMinHeight((_listViewRef$current$ = listViewRef === null || listViewRef === void 0 ? void 0 : (_listViewRef$current = listViewRef.current) === null || _listViewRef$current === void 0 ? void 0 : _listViewRef$current.clientHeight) !== null && _listViewRef$current$ !== void 0 ? _listViewRef$current$ : 300);
   }, []);
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     style: {
       minHeight
     }
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalListView"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalListView, {
     ref: listViewRef,
     blocks: blocks,
     showBlockMovers: true,
@@ -20632,21 +20682,21 @@ function NavigationBlockListView(_ref) {
 }

 function useListViewModal(clientId, __experimentalFeatures) {
-  const [isModalOpen, setIsModalOpen] = Object(external_wp_element_["useState"])(false);
-  const listViewToolbarButton = Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  const [isModalOpen, setIsModalOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  const listViewToolbarButton = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     className: "components-toolbar__control",
-    label: Object(external_wp_i18n_["__"])('Open list view'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Open list view'),
     onClick: () => setIsModalOpen(true),
-    icon: list_view["a" /* default */]
+    icon: list_view
   });
-  const listViewModal = isModalOpen && Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    title: Object(external_wp_i18n_["__"])('List View'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
+  const listViewModal = isModalOpen && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    title: (0,external_wp_i18n_namespaceObject.__)('List View'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
     onRequestClose: () => {
       setIsModalOpen(false);
     },
     shouldCloseOnClickOutside: false
-  }, Object(external_wp_element_["createElement"])(NavigationBlockListView, {
+  }, (0,external_wp_element_namespaceObject.createElement)(NavigationBlockListView, {
     clientId: clientId,
     __experimentalFeatures: __experimentalFeatures
   }));
@@ -20656,14 +20706,14 @@ function useListViewModal(clientId, __experimentalFeatures) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-navigation-menu.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-navigation-menu.js
 /**
  * WordPress dependencies
  */


 function useNavigationMenu(ref) {
-  return Object(external_wp_data_["useSelect"])(select => {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _navigationMenu;

     const {
@@ -20672,7 +20722,7 @@ function useNavigationMenu(ref) {
       getEntityRecords,
       hasFinishedResolution,
       canUser
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const navigationMenuSingleArgs = ['postType', 'wp_navigation', ref];
     const rawNavigationMenu = ref ? getEntityRecord(...navigationMenuSingleArgs) : null;
     let navigationMenu = ref ? getEditedEntityRecord(...navigationMenuSingleArgs) : null; // getEditedEntityRecord will return the post regardless of status.
@@ -20706,7 +20756,7 @@ function useNavigationMenu(ref) {
   }, [ref]);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-navigation-entities.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-navigation-entities.js
 /**
  * WordPress dependencies
  */
@@ -20746,12 +20796,12 @@ function useMenuEntities() {
     menus,
     isResolvingMenus,
     hasResolvedMenus
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getMenus,
       isResolving,
       hasFinishedResolution
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const menusParameters = [{
       per_page: -1
     }];
@@ -20773,11 +20823,11 @@ function useMenuItemEntities(menuId) {
   const {
     menuItems,
     hasResolvedMenuItems
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getMenuItems,
       hasFinishedResolution
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const hasSelectedMenu = menuId !== undefined;
     const menuItemsParameters = hasSelectedMenu ? [{
       menus: menuId,
@@ -20799,12 +20849,12 @@ function usePageEntities() {
     pages,
     isResolvingPages,
     hasResolvedPages
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEntityRecords,
       isResolving,
       hasFinishedResolution
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const pagesParameters = ['postType', 'page', {
       parent: 0,
       order: 'asc',
@@ -20825,16 +20875,56 @@ function usePageEntities() {
   };
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
-var build_module_icon = __webpack_require__("iClF");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
+/**
+ * WordPress dependencies
+ */
+
+/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
+
+/**
+ * Return an SVG icon.
+ *
+ * @param {IconProps} props icon is the SVG component to render
+ *                          size is a number specifiying the icon size in pixels
+ *                          Other props will be passed to wrapped SVG component
+ *
+ * @return {JSX.Element}  Icon component
+ */
+
+function Icon(_ref) {
+  let {
+    icon,
+    size = 24,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+    width: size,
+    height: size,
+    ...props
+  });
+}
+
+/* harmony default export */ var icon = (Icon);
+
+;// CONCATENATED MODULE: external ["wp","htmlEntities"]
+var external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js

-// EXTERNAL MODULE: external ["wp","htmlEntities"]
-var external_wp_htmlEntities_ = __webpack_require__("rmEH");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js
-var library_search = __webpack_require__("cGtP");
+/**
+ * WordPress dependencies
+ */
+
+const search = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_search = (search);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/placeholder/placeholder-preview.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/placeholder/placeholder-preview.js


 /**
@@ -20851,26 +20941,26 @@ const PlaceholderPreview = _ref => {
   let {
     isLoading
   } = _ref;
-  return Object(external_wp_element_["createElement"])("ul", {
+  return (0,external_wp_element_namespaceObject.createElement)("ul", {
     className: classnames_default()('wp-block-navigation-placeholder__preview', 'wp-block-navigation__container', {
       'is-loading': isLoading
     })
-  }, Object(external_wp_element_["createElement"])("li", {
+  }, (0,external_wp_element_namespaceObject.createElement)("li", {
     className: "wp-block-navigation-item"
-  }, "\u200B"), Object(external_wp_element_["createElement"])("li", {
+  }, "\u200B"), (0,external_wp_element_namespaceObject.createElement)("li", {
     className: "wp-block-navigation-item"
-  }, "\u200B"), Object(external_wp_element_["createElement"])("li", {
+  }, "\u200B"), (0,external_wp_element_namespaceObject.createElement)("li", {
     className: "wp-block-navigation-item"
-  }, "\u200B"), Object(external_wp_element_["createElement"])("li", {
+  }, "\u200B"), (0,external_wp_element_namespaceObject.createElement)("li", {
     className: "wp-block-navigation-placeholder__preview-search-icon"
-  }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: library_search["a" /* default */]
+  }, (0,external_wp_element_namespaceObject.createElement)(icon, {
+    icon: library_search
   })));
 };

 /* harmony default export */ var placeholder_preview = (PlaceholderPreview);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/utils/create-template-part-id.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/utils/create-template-part-id.js
 /**
  * Generates a template part Id based on slug and theme inputs.
  *
@@ -20882,7 +20972,7 @@ function createTemplatePartId(theme, slug) {
   return theme && slug ? theme + '//' + slug : null;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-template-part-area-label.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-template-part-area-label.js
 /**
  * WordPress dependencies
  */
@@ -20896,7 +20986,7 @@ function createTemplatePartId(theme, slug) {


 function useTemplatePartAreaLabel(clientId) {
-  return Object(external_wp_data_["useSelect"])(select => {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
     // Use the lack of a clientId as an opportunity to bypass the rest
     // of this hook.
     if (!clientId) {
@@ -20906,7 +20996,7 @@ function useTemplatePartAreaLabel(clientId) {
     const {
       getBlock,
       getBlockParentsByBlockName
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const withAscendingResults = true;
     const parentTemplatePartClientIds = getBlockParentsByBlockName(clientId, 'core/template-part', withAscendingResults);

@@ -20923,7 +21013,7 @@ function useTemplatePartAreaLabel(clientId) {

     const {
       getEditedEntityRecord
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);

     for (const templatePartClientId of parentTemplatePartClientIds) {
       const templatePartBlock = getBlock(templatePartClientId); // The 'area' usually isn't stored on the block, but instead
@@ -20946,7 +21036,7 @@ function useTemplatePartAreaLabel(clientId) {
   }, [clientId]);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-generate-default-navigation-title.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-generate-default-navigation-title.js
 /**
  * WordPress dependencies
  */
@@ -20971,13 +21061,13 @@ const PUBLISHED_MENU_PARAMS = ['postType', 'wp_navigation', {
 function useGenerateDefaultNavigationTitle(clientId) {
   // The block will be disabled in a block preview, use this as a way of
   // avoiding the side-effects of this component for block previews.
-  const isDisabled = Object(external_wp_element_["useContext"])(external_wp_components_["Disabled"].Context); // Because we can't conditionally call hooks, pass an undefined client id
+  const isDisabled = (0,external_wp_element_namespaceObject.useContext)(external_wp_components_namespaceObject.Disabled.Context); // Because we can't conditionally call hooks, pass an undefined client id
   // arg to bypass the expensive `useTemplateArea` code. The hook will return
   // early.

   const area = useTemplatePartAreaLabel(isDisabled ? undefined : clientId);
-  const registry = Object(external_wp_data_["useRegistry"])();
-  return Object(external_wp_element_["useCallback"])(async () => {
+  const registry = (0,external_wp_data_namespaceObject.useRegistry)();
+  return (0,external_wp_element_namespaceObject.useCallback)(async () => {
     // Ensure other navigation menus have loaded so an
     // accurate name can be created.
     if (isDisabled) {
@@ -20986,11 +21076,11 @@ function useGenerateDefaultNavigationTitle(clientId) {

     const {
       getEntityRecords
-    } = registry.resolveSelect(external_wp_coreData_["store"]);
+    } = registry.resolveSelect(external_wp_coreData_namespaceObject.store);
     const [draftNavigationMenus, navigationMenus] = await Promise.all([getEntityRecords(...DRAFT_MENU_PARAMS), getEntityRecords(...PUBLISHED_MENU_PARAMS)]);
-    const title = area ? Object(external_wp_i18n_["sprintf"])( // translators: %s: the name of a menu (e.g. Header navigation).
-    Object(external_wp_i18n_["__"])('%s navigation'), area) : // translators: 'navigation' as in website navigation.
-    Object(external_wp_i18n_["__"])('Navigation'); // Determine how many menus start with the automatic title.
+    const title = area ? (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: the name of a menu (e.g. Header navigation).
+    (0,external_wp_i18n_namespaceObject.__)('%s navigation'), area) : // translators: 'navigation' as in website navigation.
+    (0,external_wp_i18n_namespaceObject.__)('Navigation'); // Determine how many menus start with the automatic title.

     const matchingMenuTitleCount = [...draftNavigationMenus, ...navigationMenus].reduce((count, menu) => {
       var _menu$title, _menu$title$raw;
@@ -21004,7 +21094,7 @@ function useGenerateDefaultNavigationTitle(clientId) {
   }, [isDisabled, area]);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-create-navigation-menu.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-create-navigation-menu.js
 /**
  * WordPress dependencies
  */
@@ -21020,11 +21110,11 @@ function useGenerateDefaultNavigationTitle(clientId) {
 function useCreateNavigationMenu(clientId) {
   const {
     saveEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
   const generateDefaultTitle = useGenerateDefaultNavigationTitle(clientId); // This callback uses data from the two placeholder steps and only creates
   // a new navigation menu when the user completes the final step.

-  return Object(external_wp_element_["useCallback"])(async function () {
+  return (0,external_wp_element_namespaceObject.useCallback)(async function () {
     let title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
     let blocks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];

@@ -21034,14 +21124,14 @@ function useCreateNavigationMenu(clientId) {

     const record = {
       title,
-      content: Object(external_wp_blocks_["serialize"])(blocks),
+      content: (0,external_wp_blocks_namespaceObject.serialize)(blocks),
       status: 'publish'
     };
     return await saveEntityRecord('postType', 'wp_navigation', record);
-  }, [external_wp_blocks_["serialize"], saveEntityRecord]);
+  }, [external_wp_blocks_namespaceObject.serialize, saveEntityRecord]);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/menu-items-to-blocks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/menu-items-to-blocks.js
 /**
  * External dependencies
  */
@@ -21067,7 +21157,7 @@ function menuItemsToBlocks(menuItems) {

   const menuTree = createDataTree(menuItems);
   const blocks = mapMenuItemsToBlocks(menuTree);
-  return Object(external_wp_hooks_["applyFilters"])('blocks.navigation.__unstableMenuItemsToBlocks', blocks, menuItems);
+  return (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.navigation.__unstableMenuItemsToBlocks', blocks, menuItems);
 }
 /**
  * A recursive function that maps menu item nodes to blocks.
@@ -21079,15 +21169,15 @@ function menuItemsToBlocks(menuItems) {
 function mapMenuItemsToBlocks(menuItems) {
   let mapping = {}; // The menuItem should be in menu_order sort order.

-  const sortedItems = Object(external_lodash_["sortBy"])(menuItems, 'menu_order');
+  const sortedItems = (0,external_lodash_namespaceObject.sortBy)(menuItems, 'menu_order');
   const innerBlocks = sortedItems.map(menuItem => {
     var _menuItem$children, _menuItem$children2;

     if (menuItem.type === 'block') {
-      const [block] = Object(external_wp_blocks_["parse"])(menuItem.content.raw);
+      const [block] = (0,external_wp_blocks_namespaceObject.parse)(menuItem.content.raw);

       if (!block) {
-        return Object(external_wp_blocks_["createBlock"])('core/freeform', {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/freeform', {
           content: menuItem.content
         });
       }
@@ -21109,7 +21199,7 @@ function mapMenuItemsToBlocks(menuItems) {
     };
     const blockType = (_menuItem$children2 = menuItem.children) !== null && _menuItem$children2 !== void 0 && _menuItem$children2.length ? 'core/navigation-submenu' : 'core/navigation-link'; // Create block with nested "innerBlocks".

-    const block = Object(external_wp_blocks_["createBlock"])(blockType, attributes, nestedBlocks); // Create mapping for menuItem -> block
+    const block = (0,external_wp_blocks_namespaceObject.createBlock)(blockType, attributes, nestedBlocks); // Create mapping for menuItem -> block

     mapping[menuItem.id] = block.clientId;
     return block;
@@ -21242,7 +21332,7 @@ function createDataTree(dataset) {
   return dataTree;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-convert-classic-menu.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-convert-classic-menu.js
 /**
  * WordPress dependencies
  */
@@ -21254,20 +21344,20 @@ function createDataTree(dataset) {


 function useConvertClassicMenu(onFinish) {
-  const [selectedMenu, setSelectedMenu] = Object(external_wp_element_["useState"])();
-  const [isAwaitingMenuItemResolution, setIsAwaitingMenuItemResolution] = Object(external_wp_element_["useState"])(false);
-  const [menuName, setMenuName] = Object(external_wp_element_["useState"])('');
+  const [selectedMenu, setSelectedMenu] = (0,external_wp_element_namespaceObject.useState)();
+  const [isAwaitingMenuItemResolution, setIsAwaitingMenuItemResolution] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [menuName, setMenuName] = (0,external_wp_element_namespaceObject.useState)('');
   const {
     menuItems,
     hasResolvedMenuItems
   } = useNavigationEntities(selectedMenu);
-  const createFromMenu = Object(external_wp_element_["useCallback"])(name => {
+  const createFromMenu = (0,external_wp_element_namespaceObject.useCallback)(name => {
     const {
       innerBlocks: blocks
     } = menuItemsToBlocks(menuItems);
     onFinish(blocks, name);
   }, [menuItems, menuItemsToBlocks, onFinish]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // If the user selected a menu but we had to wait for menu items to
     // finish resolving, then create the block once resolution finishes.
     if (isAwaitingMenuItemResolution && hasResolvedMenuItems) {
@@ -21275,7 +21365,7 @@ function useConvertClassicMenu(onFinish) {
       setIsAwaitingMenuItemResolution(false);
     }
   }, [isAwaitingMenuItemResolution, hasResolvedMenuItems, menuName]);
-  return Object(external_wp_element_["useCallback"])((id, name) => {
+  return (0,external_wp_element_namespaceObject.useCallback)((id, name) => {
     setSelectedMenu(id); // If we have menu items, create the block right away.

     if (hasResolvedMenuItems) {
@@ -21290,7 +21380,7 @@ function useConvertClassicMenu(onFinish) {
   }, [hasResolvedMenuItems, createFromMenu]);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/placeholder/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/placeholder/index.js


 /**
@@ -21325,8 +21415,8 @@ const ExistingMenusDropdown = _ref => {
     iconPosition: 'right',
     className: 'wp-block-navigation-placeholder__actions__dropdown'
   };
-  return Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    text: Object(external_wp_i18n_["__"])('Select menu'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    text: (0,external_wp_i18n_namespaceObject.__)('Select menu'),
     icon: null,
     toggleProps: toggleProps,
     popoverProps: {
@@ -21336,26 +21426,26 @@ const ExistingMenusDropdown = _ref => {
     let {
       onClose
     } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-      label: Object(external_wp_i18n_["__"])('Menus')
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Menus')
     }, canSwitchNavigationMenu && (navigationMenus === null || navigationMenus === void 0 ? void 0 : navigationMenus.map(menu => {
-      return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
         onClick: () => {
           onFinish(menu);
         },
         onClose: onClose,
         key: menu.id
-      }, Object(external_wp_htmlEntities_["decodeEntities"])(menu.title.rendered));
-    }))), showClassicMenus && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-      label: Object(external_wp_i18n_["__"])('Classic Menus')
+      }, (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(menu.title.rendered));
+    }))), showClassicMenus && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Classic Menus')
     }, menus === null || menus === void 0 ? void 0 : menus.map(menu => {
-      return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
         onClick: () => {
           onCreateFromMenu(menu.id, menu.name);
         },
         onClose: onClose,
         key: menu.id
-      }, Object(external_wp_htmlEntities_["decodeEntities"])(menu.name));
+      }, (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(menu.name));
     })));
   });
 };
@@ -21396,45 +21486,57 @@ function NavigationPlaceholder(_ref3) {
   };

   const onCreateAllPages = () => {
-    const block = [Object(external_wp_blocks_["createBlock"])('core/page-list')];
+    const block = [(0,external_wp_blocks_namespaceObject.createBlock)('core/page-list')];
     onFinishMenuCreation(block);
   };

   const {
     navigationMenus
   } = useNavigationMenu();
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, (!hasResolvedNavigationMenus || isStillLoading) && Object(external_wp_element_["createElement"])(placeholder_preview, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (!hasResolvedNavigationMenus || isStillLoading) && (0,external_wp_element_namespaceObject.createElement)(placeholder_preview, {
     isLoading: true
-  }), hasResolvedNavigationMenus && !isStillLoading && Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+  }), hasResolvedNavigationMenus && !isStillLoading && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
     className: "wp-block-navigation-placeholder"
-  }, Object(external_wp_element_["createElement"])(placeholder_preview, null), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)(placeholder_preview, null), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-navigation-placeholder__controls"
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-navigation-placeholder__actions"
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-navigation-placeholder__actions__indicator"
-  }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
+  }, (0,external_wp_element_namespaceObject.createElement)(icon, {
     icon: library_navigation
-  }), ' ', Object(external_wp_i18n_["__"])('Navigation')), Object(external_wp_element_["createElement"])("hr", null), hasMenus || navigationMenus !== null && navigationMenus !== void 0 && navigationMenus.length ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(ExistingMenusDropdown, {
+  }), ' ', (0,external_wp_i18n_namespaceObject.__)('Navigation')), (0,external_wp_element_namespaceObject.createElement)("hr", null), hasMenus || navigationMenus !== null && navigationMenus !== void 0 && navigationMenus.length ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(ExistingMenusDropdown, {
     canSwitchNavigationMenu: canSwitchNavigationMenu,
     navigationMenus: navigationMenus,
     onFinish: onFinish,
     menus: menus,
     onCreateFromMenu: convertClassicMenu,
     showClassicMenus: canUserCreateNavigation
-  }), Object(external_wp_element_["createElement"])("hr", null)) : undefined, canUserCreateNavigation && hasPages ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }), (0,external_wp_element_namespaceObject.createElement)("hr", null)) : undefined, canUserCreateNavigation && hasPages ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "tertiary",
     onClick: onCreateAllPages
-  }, Object(external_wp_i18n_["__"])('Add all pages')), Object(external_wp_element_["createElement"])("hr", null)) : undefined, canUserCreateNavigation && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Add all pages')), (0,external_wp_element_namespaceObject.createElement)("hr", null)) : undefined, canUserCreateNavigation && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "tertiary",
     onClick: onCreateEmptyMenu
-  }, Object(external_wp_i18n_["__"])('Start empty'))))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Start empty'))))));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
-var library_close = __webpack_require__("w95h");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/responsive-wrapper.js
+
+/**
+ * WordPress dependencies
+ */
+
+const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_close = (close_close);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/responsive-wrapper.js


 /**
@@ -21478,15 +21580,15 @@ function ResponsiveWrapper(_ref) {
     ...(isOpen && {
       role: 'dialog',
       'aria-modal': true,
-      'aria-label': Object(external_wp_i18n_["__"])('Menu')
+      'aria-label': (0,external_wp_i18n_namespaceObject.__)('Menu')
     })
   };
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, !isOpen && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, !isOpen && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     "aria-haspopup": "true",
-    "aria-label": Object(external_wp_i18n_["__"])('Open menu'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Open menu'),
     className: openButtonClasses,
     onClick: () => onToggle(true)
-  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
     xmlns: "http://www.w3.org/2000/svg",
     viewBox: "0 0 24 24",
     width: "24",
@@ -21494,36 +21596,36 @@ function ResponsiveWrapper(_ref) {
     role: "img",
     "aria-hidden": "true",
     focusable: "false"
-  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
     x: "4",
     y: "7.5",
     width: "16",
     height: "1.5"
-  }), Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
     x: "4",
     y: "15",
     width: "16",
     height: "1.5"
-  }))), Object(external_wp_element_["createElement"])("div", {
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: responsiveContainerClasses,
     style: styles,
     id: modalId
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-navigation__responsive-close",
     tabIndex: "-1"
-  }, Object(external_wp_element_["createElement"])("div", dialogProps, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", dialogProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     className: "wp-block-navigation__responsive-container-close",
-    "aria-label": Object(external_wp_i18n_["__"])('Close menu'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Close menu'),
     onClick: () => onToggle(false)
-  }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: library_close["a" /* default */]
-  })), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)(icon, {
+    icon: library_close
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-navigation__responsive-container-content",
     id: `${modalId}-content`
   }, children)))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/inner-blocks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/inner-blocks.js


 /**
@@ -21556,14 +21658,14 @@ function NavigationInnerBlocks(_ref) {
     isImmediateParentOfSelectedBlock,
     selectedBlockHasDescendants,
     isSelected
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getClientIdsOfDescen;

     const {
       getClientIdsOfDescendants,
       hasSelectedInnerBlock,
       getSelectedBlockClientId
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const selectedBlockId = getSelectedBlockClientId();
     return {
       isImmediateParentOfSelectedBlock: hasSelectedInnerBlock(clientId, false),
@@ -21573,8 +21675,8 @@ function NavigationInnerBlocks(_ref) {
       isSelected: selectedBlockId === clientId
     };
   }, [clientId]);
-  const [blocks, onInput, onChange] = Object(external_wp_coreData_["useEntityBlockEditor"])('postType', 'wp_navigation');
-  const shouldDirectInsert = Object(external_wp_element_["useMemo"])(() => blocks.every(_ref2 => {
+  const [blocks, onInput, onChange] = (0,external_wp_coreData_namespaceObject.useEntityBlockEditor)('postType', 'wp_navigation');
+  const shouldDirectInsert = (0,external_wp_element_namespaceObject.useMemo)(() => blocks.every(_ref2 => {
     let {
       name
     } = _ref2;
@@ -21585,8 +21687,8 @@ function NavigationInnerBlocks(_ref) {

   const parentOrChildHasSelection = isSelected || isImmediateParentOfSelectedBlock && !selectedBlockHasDescendants;
   const appender = isVisible && parentOrChildHasSelection ? undefined : false;
-  const placeholder = Object(external_wp_element_["useMemo"])(() => Object(external_wp_element_["createElement"])(placeholder_preview, null), []);
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({
+  const placeholder = (0,external_wp_element_namespaceObject.useMemo)(() => (0,external_wp_element_namespaceObject.createElement)(placeholder_preview, null), []);
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)({
     className: 'wp-block-navigation__container'
   }, {
     value: blocks,
@@ -21604,14 +21706,14 @@ function NavigationInnerBlocks(_ref) {
     __experimentalLayout: LAYOUT,
     placeholder: !isVisible || hasCustomPlaceholder ? undefined : placeholder
   });
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockContentOverlay"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBlockContentOverlay, {
     clientId: clientId,
     tagName: 'div',
     wrapperProps: innerBlocksProps
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/navigation-menu-selector.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/navigation-menu-selector.js


 /**
@@ -21644,7 +21746,7 @@ function NavigationMenuSelector(_ref) {
   const {
     navigationMenus
   } = useNavigationMenu();
-  const ref = Object(external_wp_coreData_["useEntityId"])('postType', 'wp_navigation');
+  const ref = (0,external_wp_coreData_namespaceObject.useEntityId)('postType', 'wp_navigation');
   const createNavigationMenu = useCreateNavigationMenu(clientId);

   const onFinishMenuCreation = async function (blocks) {
@@ -21659,9 +21761,9 @@ function NavigationMenuSelector(_ref) {
   };

   const convertClassicMenuToBlocks = useConvertClassicMenu(onFinishMenuCreation);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Menus')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItemsChoice"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Menus')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItemsChoice, {
     value: ref,
     onSelect: selectedId => onSelect(navigationMenus.find(post => post.id === selectedId)),
     choices: navigationMenus.map(_ref2 => {
@@ -21669,36 +21771,36 @@ function NavigationMenuSelector(_ref) {
         id,
         title
       } = _ref2;
-      const label = Object(external_wp_htmlEntities_["decodeEntities"])(title.rendered);
+      const label = (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(title.rendered);
       return {
         value: id,
         label,
-        'aria-label': Object(external_wp_i18n_["sprintf"])(
+        'aria-label': (0,external_wp_i18n_namespaceObject.sprintf)(
         /* translators: %s: The name of a menu. */
-        Object(external_wp_i18n_["__"])("Switch to '%s'"), label)
+        (0,external_wp_i18n_namespaceObject.__)("Switch to '%s'"), label)
       };
     })
-  })), canUserCreateNavigation && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, hasClassicMenus && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Classic Menus')
+  })), canUserCreateNavigation && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, hasClassicMenus && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Classic Menus')
   }, classicMenus.map(menu => {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
       onClick: () => {
         convertClassicMenuToBlocks(menu.id, menu.name);
       },
       key: menu.id
-    }, Object(external_wp_htmlEntities_["decodeEntities"])(menu.name));
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Tools')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+    }, (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(menu.name));
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Tools')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
     onClick: onCreateNew
-  }, Object(external_wp_i18n_["__"])('Create new menu')), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    href: Object(external_wp_url_["addQueryArgs"])('edit.php', {
+  }, (0,external_wp_i18n_namespaceObject.__)('Create new menu')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    href: (0,external_wp_url_namespaceObject.addQueryArgs)('edit.php', {
       post_type: 'wp_navigation'
     })
-  }, Object(external_wp_i18n_["__"])('Manage menus')))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Manage menus')))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/navigation-menu-name-control.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/navigation-menu-name-control.js


 /**
@@ -21708,15 +21810,15 @@ function NavigationMenuSelector(_ref) {


 function NavigationMenuNameControl() {
-  const [title, updateTitle] = Object(external_wp_coreData_["useEntityProp"])('postType', 'wp_navigation', 'title');
-  return Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Menu name'),
+  const [title, updateTitle] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', 'wp_navigation', 'title');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Menu name'),
     value: title,
     onChange: updateTitle
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/unsaved-inner-blocks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/unsaved-inner-blocks.js


 /**
@@ -21754,16 +21856,16 @@ function UnsavedInnerBlocks(_ref) {
   } = _ref;
   // The block will be disabled in a block preview, use this as a way of
   // avoiding the side-effects of this component for block previews.
-  const isDisabled = Object(external_wp_element_["useContext"])(external_wp_components_["Disabled"].Context);
-  const savingLock = Object(external_wp_element_["useRef"])(false);
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
+  const isDisabled = (0,external_wp_element_namespaceObject.useContext)(external_wp_components_namespaceObject.Disabled.Context);
+  const savingLock = (0,external_wp_element_namespaceObject.useRef)(false);
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)(blockProps, {
     renderAppender: hasSelection ? undefined : false
   });
   const {
     isSaving,
     draftNavigationMenus,
     hasResolvedDraftNavigationMenus
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     if (isDisabled) {
       return EMPTY_OBJECT;
     }
@@ -21772,7 +21874,7 @@ function UnsavedInnerBlocks(_ref) {
       getEntityRecords,
       hasFinishedResolution,
       isSavingEntityRecord
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     return {
       isSaving: isSavingEntityRecord('postType', 'wp_navigation'),
       draftNavigationMenus: getEntityRecords(...unsaved_inner_blocks_DRAFT_MENU_PARAMS),
@@ -21785,7 +21887,7 @@ function UnsavedInnerBlocks(_ref) {
   } = useNavigationMenu();
   const createNavigationMenu = useCreateNavigationMenu(clientId); // Automatically save the uncontrolled blocks.

-  Object(external_wp_element_["useEffect"])(async () => {
+  (0,external_wp_element_namespaceObject.useEffect)(async () => {
     // The block will be disabled when used in a BlockPreview.
     // In this case avoid automatic creation of a wp_navigation post.
     // Otherwise the user will be spammed with lots of menus!
@@ -21807,16 +21909,16 @@ function UnsavedInnerBlocks(_ref) {
     onSave(menu);
     savingLock.current = false;
   }, [isDisabled, isSaving, hasResolvedDraftNavigationMenus, hasResolvedNavigationMenus, draftNavigationMenus, navigationMenus, hasSelection, createNavigationMenu, blocks]);
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-navigation__unsaved-changes"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, {
     className: classnames_default()('wp-block-navigation__unsaved-changes-overlay', {
       'is-saving': hasSelection
     })
-  }, Object(external_wp_element_["createElement"])("div", innerBlocksProps)), hasSelection && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null));
+  }, (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps)), hasSelection && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/navigation-menu-delete-control.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/navigation-menu-delete-control.js


 /**
@@ -21831,33 +21933,33 @@ function NavigationMenuDeleteControl(_ref) {
   let {
     onDelete
   } = _ref;
-  const [isConfirmModalVisible, setIsConfirmModalVisible] = Object(external_wp_element_["useState"])(false);
-  const id = Object(external_wp_coreData_["useEntityId"])('postType', 'wp_navigation');
-  const [title] = Object(external_wp_coreData_["useEntityProp"])('postType', 'wp_navigation', 'title');
+  const [isConfirmModalVisible, setIsConfirmModalVisible] = (0,external_wp_element_namespaceObject.useState)(false);
+  const id = (0,external_wp_coreData_namespaceObject.useEntityId)('postType', 'wp_navigation');
+  const [title] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', 'wp_navigation', 'title');
   const {
     deleteEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     className: "wp-block-navigation-delete-menu-button",
     variant: "secondary",
     isDestructive: true,
     onClick: () => {
       setIsConfirmModalVisible(true);
     }
-  }, Object(external_wp_i18n_["__"])('Delete menu')), isConfirmModalVisible && Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    title: Object(external_wp_i18n_["sprintf"])(
+  }, (0,external_wp_i18n_namespaceObject.__)('Delete menu')), isConfirmModalVisible && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    title: (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: the name of a menu to delete */
-    Object(external_wp_i18n_["__"])('Delete %s'), title),
-    closeLabel: Object(external_wp_i18n_["__"])('Cancel'),
+    (0,external_wp_i18n_namespaceObject.__)('Delete %s'), title),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Cancel'),
     onRequestClose: () => setIsConfirmModalVisible(false)
-  }, Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('Are you sure you want to delete this navigation menu?')), Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
+  }, (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('Are you sure you want to delete this navigation menu?')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
     justify: "flex-end"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "secondary",
     onClick: () => {
       setIsConfirmModalVisible(false);
     }
-  }, Object(external_wp_i18n_["__"])('Cancel'))), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Cancel'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "primary",
     onClick: () => {
       deleteEntityRecord('postType', 'wp_navigation', id, {
@@ -21865,10 +21967,10 @@ function NavigationMenuDeleteControl(_ref) {
       });
       onDelete();
     }
-  }, Object(external_wp_i18n_["__"])('Confirm'))))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Confirm'))))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-navigation-notice.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-navigation-notice.js
 /**
  * WordPress dependencies
  */
@@ -21881,11 +21983,11 @@ function useNavigationNotice() {
     name,
     message
   } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  const noticeRef = Object(external_wp_element_["useRef"])();
+  const noticeRef = (0,external_wp_element_namespaceObject.useRef)();
   const {
     createWarningNotice,
     removeNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);

   const showNotice = () => {
     if (noticeRef.current) {
@@ -21913,7 +22015,7 @@ function useNavigationNotice() {

 /* harmony default export */ var use_navigation_notice = (useNavigationNotice);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/index.js


 /**
@@ -22006,15 +22108,15 @@ function Navigation(_ref) {
     } = {}
   } = attributes;
   let areaMenu,
-      setAreaMenu = external_lodash_["noop"]; // Navigation areas are deprecated and on their way out. Let's not perform
+      setAreaMenu = external_lodash_namespaceObject.noop; // Navigation areas are deprecated and on their way out. Let's not perform
   // the request unless we're in an environment where the endpoint exists.

   if (false) {}

   const navigationAreaMenu = areaMenu === 0 ? undefined : areaMenu;
   const ref = navigationArea ? navigationAreaMenu : attributes.ref;
-  const registry = Object(external_wp_data_["useRegistry"])();
-  const setRef = Object(external_wp_element_["useCallback"])(postId => {
+  const registry = (0,external_wp_data_namespaceObject.useRegistry)();
+  const setRef = (0,external_wp_element_namespaceObject.useCallback)(postId => {
     setAttributes({
       ref: postId
     });
@@ -22023,7 +22125,7 @@ function Navigation(_ref) {
       setAreaMenu(postId);
     }
   }, [navigationArea]);
-  const [hasAlreadyRendered, RecursionProvider] = Object(external_wp_blockEditor_["__experimentalUseNoRecursiveRenders"])(`navigationMenu/${ref}`); // Preload classic menus, so that they don't suddenly pop-in when viewing
+  const [hasAlreadyRendered, RecursionProvider] = (0,external_wp_blockEditor_namespaceObject.__experimentalUseNoRecursiveRenders)(`navigationMenu/${ref}`); // Preload classic menus, so that they don't suddenly pop-in when viewing
   // the Select Menu dropdown.

   useNavigationEntities();
@@ -22031,12 +22133,12 @@ function Navigation(_ref) {
     hasUncontrolledInnerBlocks,
     uncontrolledInnerBlocks,
     isInnerBlockSelected
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getBlock,
       getBlocks,
       hasSelectedInnerBlock
-    } = select(external_wp_blockEditor_["store"]); // This relies on the fact that `getBlock` won't return controlled
+    } = select(external_wp_blockEditor_namespaceObject.store); // This relies on the fact that `getBlock` won't return controlled
     // inner blocks, while `getBlocks` does. It might be more stable to
     // introduce a selector like `getUncontrolledInnerBlocks`, just in
     // case `getBlock` is fixed.
@@ -22059,11 +22161,11 @@ function Navigation(_ref) {
     replaceInnerBlocks,
     selectBlock,
     __unstableMarkNextChangeAsNotPersistent
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const [hasSavedUnsavedInnerBlocks, setHasSavedUnsavedInnerBlocks] = Object(external_wp_element_["useState"])(false);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const [hasSavedUnsavedInnerBlocks, setHasSavedUnsavedInnerBlocks] = (0,external_wp_element_namespaceObject.useState)(false);
   const isWithinUnassignedArea = !!navigationArea && !ref;
-  const [isPlaceholderShown, setIsPlaceholderShown] = Object(external_wp_element_["useState"])(!hasUncontrolledInnerBlocks || isWithinUnassignedArea);
-  const [isResponsiveMenuOpen, setResponsiveMenuVisibility] = Object(external_wp_element_["useState"])(false);
+  const [isPlaceholderShown, setIsPlaceholderShown] = (0,external_wp_element_namespaceObject.useState)(!hasUncontrolledInnerBlocks || isWithinUnassignedArea);
+  const [isResponsiveMenuOpen, setResponsiveMenuVisibility] = (0,external_wp_element_namespaceObject.useState)(false);
   const {
     isNavigationMenuResolved,
     isNavigationMenuMissing,
@@ -22078,14 +22180,14 @@ function Navigation(_ref) {
     canUserCreateNavigation,
     hasResolvedCanUserCreateNavigation
   } = useNavigationMenu(ref);
-  const navRef = Object(external_wp_element_["useRef"])();
+  const navRef = (0,external_wp_element_namespaceObject.useRef)();
   const isDraftNavigationMenu = (navigationMenu === null || navigationMenu === void 0 ? void 0 : navigationMenu.status) === 'draft';
   const {
     listViewToolbarButton,
     listViewModal
   } = useListViewModal(clientId);
   const isEntityAvailable = !isNavigationMenuMissing && isNavigationMenuResolved;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     ref: navRef,
     className: classnames_default()(className, {
       'items-justified-right': justifyContent === 'right',
@@ -22096,9 +22198,9 @@ function Navigation(_ref) {
       'no-wrap': flexWrap === 'nowrap',
       'is-responsive': 'never' !== overlayMenu,
       'has-text-color': !!textColor.color || !!(textColor !== null && textColor !== void 0 && textColor.class),
-      [Object(external_wp_blockEditor_["getColorClassName"])('color', textColor === null || textColor === void 0 ? void 0 : textColor.slug)]: !!(textColor !== null && textColor !== void 0 && textColor.slug),
+      [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor === null || textColor === void 0 ? void 0 : textColor.slug)]: !!(textColor !== null && textColor !== void 0 && textColor.slug),
       'has-background': !!backgroundColor.color || backgroundColor.class,
-      [Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.slug)]: !!(backgroundColor !== null && backgroundColor !== void 0 && backgroundColor.slug)
+      [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.slug)]: !!(backgroundColor !== null && backgroundColor !== void 0 && backgroundColor.slug)
     }),
     style: {
       color: !(textColor !== null && textColor !== void 0 && textColor.slug) && (textColor === null || textColor === void 0 ? void 0 : textColor.color),
@@ -22107,23 +22209,23 @@ function Navigation(_ref) {
   });
   const overlayClassnames = classnames_default()({
     'has-text-color': !!overlayTextColor.color || !!(overlayTextColor !== null && overlayTextColor !== void 0 && overlayTextColor.class),
-    [Object(external_wp_blockEditor_["getColorClassName"])('color', overlayTextColor === null || overlayTextColor === void 0 ? void 0 : overlayTextColor.slug)]: !!(overlayTextColor !== null && overlayTextColor !== void 0 && overlayTextColor.slug),
+    [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', overlayTextColor === null || overlayTextColor === void 0 ? void 0 : overlayTextColor.slug)]: !!(overlayTextColor !== null && overlayTextColor !== void 0 && overlayTextColor.slug),
     'has-background': !!overlayBackgroundColor.color || (overlayBackgroundColor === null || overlayBackgroundColor === void 0 ? void 0 : overlayBackgroundColor.class),
-    [Object(external_wp_blockEditor_["getColorClassName"])('background-color', overlayBackgroundColor === null || overlayBackgroundColor === void 0 ? void 0 : overlayBackgroundColor.slug)]: !!(overlayBackgroundColor !== null && overlayBackgroundColor !== void 0 && overlayBackgroundColor.slug)
+    [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', overlayBackgroundColor === null || overlayBackgroundColor === void 0 ? void 0 : overlayBackgroundColor.slug)]: !!(overlayBackgroundColor !== null && overlayBackgroundColor !== void 0 && overlayBackgroundColor.slug)
   });
   const overlayStyles = {
     color: !(overlayTextColor !== null && overlayTextColor !== void 0 && overlayTextColor.slug) && (overlayTextColor === null || overlayTextColor === void 0 ? void 0 : overlayTextColor.color),
     backgroundColor: !(overlayBackgroundColor !== null && overlayBackgroundColor !== void 0 && overlayBackgroundColor.slug) && (overlayBackgroundColor === null || overlayBackgroundColor === void 0 ? void 0 : overlayBackgroundColor.color) && overlayBackgroundColor.color
   }; // Turn on contrast checker for web only since it's not supported on mobile yet.

-  const enableContrastChecking = external_wp_element_["Platform"].OS === 'web';
-  const [detectedBackgroundColor, setDetectedBackgroundColor] = Object(external_wp_element_["useState"])();
-  const [detectedColor, setDetectedColor] = Object(external_wp_element_["useState"])();
-  const [detectedOverlayBackgroundColor, setDetectedOverlayBackgroundColor] = Object(external_wp_element_["useState"])();
-  const [detectedOverlayColor, setDetectedOverlayColor] = Object(external_wp_element_["useState"])(); // Spacer block needs orientation from context. This is a patch until
+  const enableContrastChecking = external_wp_element_namespaceObject.Platform.OS === 'web';
+  const [detectedBackgroundColor, setDetectedBackgroundColor] = (0,external_wp_element_namespaceObject.useState)();
+  const [detectedColor, setDetectedColor] = (0,external_wp_element_namespaceObject.useState)();
+  const [detectedOverlayBackgroundColor, setDetectedOverlayBackgroundColor] = (0,external_wp_element_namespaceObject.useState)();
+  const [detectedOverlayColor, setDetectedOverlayColor] = (0,external_wp_element_namespaceObject.useState)(); // Spacer block needs orientation from context. This is a patch until
   // https://github.com/WordPress/gutenberg/issues/36197 is addressed.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (orientation) {
       __unstableMarkNextChangeAsNotPersistent();

@@ -22132,7 +22234,7 @@ function Navigation(_ref) {
       });
     }
   }, [orientation]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     var _navRef$current;

     if (!enableContrastChecking) {
@@ -22147,18 +22249,18 @@ function Navigation(_ref) {
     }
   }); // Hide the placeholder if an navigation menu entity has loaded.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     setIsPlaceholderShown(!isEntityAvailable);
   }, [isEntityAvailable]);
   const [showCantEditNotice, hideCantEditNotice] = use_navigation_notice({
     name: 'block-library/core/navigation/permissions/update',
-    message: Object(external_wp_i18n_["__"])('You do not have permission to edit this Menu. Any changes made will not be saved.')
+    message: (0,external_wp_i18n_namespaceObject.__)('You do not have permission to edit this Menu. Any changes made will not be saved.')
   });
   const [showCantCreateNotice, hideCantCreateNotice] = use_navigation_notice({
     name: 'block-library/core/navigation/permissions/create',
-    message: Object(external_wp_i18n_["__"])('You do not have permission to create Navigation Menus.')
+    message: (0,external_wp_i18n_namespaceObject.__)('You do not have permission to create Navigation Menus.')
   });
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isSelected && !isInnerBlockSelected) {
       hideCantEditNotice();
       hideCantCreateNotice();
@@ -22174,7 +22276,7 @@ function Navigation(_ref) {
       }
     }
   }, [isSelected, isInnerBlockSelected, canUserUpdateNavigationEntity, hasResolvedCanUserUpdateNavigationEntity, canUserCreateNavigation, hasResolvedCanUserCreateNavigation, ref]);
-  const startWithEmptyMenu = Object(external_wp_element_["useCallback"])(() => {
+  const startWithEmptyMenu = (0,external_wp_element_namespaceObject.useCallback)(() => {
     registry.batch(() => {
       if (navigationArea) {
         setAreaMenu(0);
@@ -22199,7 +22301,7 @@ function Navigation(_ref) {
   const hasUnsavedBlocks = hasUncontrolledInnerBlocks && !isEntityAvailable;

   if (hasUnsavedBlocks) {
-    return Object(external_wp_element_["createElement"])("nav", blockProps, Object(external_wp_element_["createElement"])(ResponsiveWrapper, {
+    return (0,external_wp_element_namespaceObject.createElement)("nav", blockProps, (0,external_wp_element_namespaceObject.createElement)(ResponsiveWrapper, {
       id: clientId,
       onToggle: setResponsiveMenuVisibility,
       isOpen: isResponsiveMenuOpen,
@@ -22207,7 +22309,7 @@ function Navigation(_ref) {
       isHiddenByDefault: 'always' === overlayMenu,
       classNames: overlayClassnames,
       styles: overlayStyles
-    }, Object(external_wp_element_["createElement"])(UnsavedInnerBlocks, {
+    }, (0,external_wp_element_namespaceObject.createElement)(UnsavedInnerBlocks, {
       blockProps: blockProps,
       blocks: uncontrolledInnerBlocks,
       clientId: clientId,
@@ -22226,30 +22328,30 @@ function Navigation(_ref) {


   if (ref && isNavigationMenuMissing) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('Navigation menu has been deleted or is unavailable. '), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('Navigation menu has been deleted or is unavailable. '), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       onClick: startWithEmptyMenu,
       variant: "link"
-    }, Object(external_wp_i18n_["__"])('Create a new menu?'))));
+    }, (0,external_wp_i18n_namespaceObject.__)('Create a new menu?'))));
   }

   if (isEntityAvailable && hasAlreadyRendered) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('Block cannot be rendered inside itself.')));
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('Block cannot be rendered inside itself.')));
   }

   const PlaceholderComponent = CustomPlaceholder ? CustomPlaceholder : NavigationPlaceholder;
-  return Object(external_wp_element_["createElement"])(external_wp_coreData_["EntityProvider"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_coreData_namespaceObject.EntityProvider, {
     kind: "postType",
     type: "wp_navigation",
     id: ref
-  }, Object(external_wp_element_["createElement"])(RecursionProvider, null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, !isDraftNavigationMenu && isEntityAvailable && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarDropdownMenu"], {
-    label: Object(external_wp_i18n_["__"])('Select Menu'),
-    text: Object(external_wp_i18n_["__"])('Select Menu'),
+  }, (0,external_wp_element_namespaceObject.createElement)(RecursionProvider, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, !isDraftNavigationMenu && isEntityAvailable && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarDropdownMenu, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Select Menu'),
+    text: (0,external_wp_i18n_namespaceObject.__)('Select Menu'),
     icon: null
   }, _ref2 => {
     let {
       onClose
     } = _ref2;
-    return Object(external_wp_element_["createElement"])(NavigationMenuSelector, {
+    return (0,external_wp_element_namespaceObject.createElement)(NavigationMenuSelector, {
       clientId: clientId,
       onSelect: _ref3 => {
         let {
@@ -22261,75 +22363,75 @@ function Navigation(_ref) {
       onCreateNew: startWithEmptyMenu,
       canUserCreateNavigation: canUserCreateNavigation
     });
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, listViewToolbarButton)), listViewModal, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, hasSubmenuIndicatorSetting && Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Display')
-  }, Object(external_wp_element_["createElement"])("h3", null, Object(external_wp_i18n_["__"])('Overlay Menu')), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControl"], {
-    label: Object(external_wp_i18n_["__"])('Configure overlay menu'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, listViewToolbarButton)), listViewModal, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, hasSubmenuIndicatorSetting && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Display')
+  }, (0,external_wp_element_namespaceObject.createElement)("h3", null, (0,external_wp_i18n_namespaceObject.__)('Overlay Menu')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Configure overlay menu'),
     value: overlayMenu,
-    help: Object(external_wp_i18n_["__"])('Collapses the navigation options in a menu icon opening an overlay.'),
+    help: (0,external_wp_i18n_namespaceObject.__)('Collapses the navigation options in a menu icon opening an overlay.'),
     onChange: value => setAttributes({
       overlayMenu: value
     }),
     isBlock: true,
     hideLabelFromVision: true
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
     value: "never",
-    label: Object(external_wp_i18n_["__"])('Off')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Off')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
     value: "mobile",
-    label: Object(external_wp_i18n_["__"])('Mobile')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Mobile')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
     value: "always",
-    label: Object(external_wp_i18n_["__"])('Always')
-  })), Object(external_wp_element_["createElement"])("h3", null, Object(external_wp_i18n_["__"])('Submenus')), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Always')
+  })), (0,external_wp_element_namespaceObject.createElement)("h3", null, (0,external_wp_i18n_namespaceObject.__)('Submenus')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
     checked: openSubmenusOnClick,
     onChange: value => {
       setAttributes({
         openSubmenusOnClick: value
       });
     },
-    label: Object(external_wp_i18n_["__"])('Open on click')
-  }), !attributes.openSubmenusOnClick && Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Open on click')
+  }), !attributes.openSubmenusOnClick && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
     checked: showSubmenuIcon,
     onChange: value => {
       setAttributes({
         showSubmenuIcon: value
       });
     },
-    label: Object(external_wp_i18n_["__"])('Show icons')
-  })), hasColorSettings && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["PanelColorSettings"], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show icons')
+  })), hasColorSettings && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.PanelColorSettings, {
     __experimentalHasMultipleOrigins: true,
     __experimentalIsRenderedInSidebar: true,
-    title: Object(external_wp_i18n_["__"])('Color'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Color'),
     initialOpen: false,
     colorSettings: [{
       value: textColor.color,
       onChange: setTextColor,
-      label: Object(external_wp_i18n_["__"])('Text')
+      label: (0,external_wp_i18n_namespaceObject.__)('Text')
     }, {
       value: backgroundColor.color,
       onChange: setBackgroundColor,
-      label: Object(external_wp_i18n_["__"])('Background')
+      label: (0,external_wp_i18n_namespaceObject.__)('Background')
     }, {
       value: overlayTextColor.color,
       onChange: setOverlayTextColor,
-      label: Object(external_wp_i18n_["__"])('Submenu & overlay text')
+      label: (0,external_wp_i18n_namespaceObject.__)('Submenu & overlay text')
     }, {
       value: overlayBackgroundColor.color,
       onChange: setOverlayBackgroundColor,
-      label: Object(external_wp_i18n_["__"])('Submenu & overlay background')
+      label: (0,external_wp_i18n_namespaceObject.__)('Submenu & overlay background')
     }]
-  }, enableContrastChecking && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ContrastChecker"], {
+  }, enableContrastChecking && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ContrastChecker, {
     backgroundColor: detectedBackgroundColor,
     textColor: detectedColor
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ContrastChecker"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ContrastChecker, {
     backgroundColor: detectedOverlayBackgroundColor,
     textColor: detectedOverlayColor
-  })))), isEntityAvailable && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
+  })))), isEntityAvailable && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, {
     __experimentalGroup: "advanced"
-  }, hasResolvedCanUserUpdateNavigationEntity && canUserUpdateNavigationEntity && Object(external_wp_element_["createElement"])(NavigationMenuNameControl, null), hasResolvedCanUserDeleteNavigationEntity && canUserDeleteNavigationEntity && Object(external_wp_element_["createElement"])(NavigationMenuDeleteControl, {
+  }, hasResolvedCanUserUpdateNavigationEntity && canUserUpdateNavigationEntity && (0,external_wp_element_namespaceObject.createElement)(NavigationMenuNameControl, null), hasResolvedCanUserDeleteNavigationEntity && canUserDeleteNavigationEntity && (0,external_wp_element_namespaceObject.createElement)(NavigationMenuDeleteControl, {
     onDelete: startWithEmptyMenu
-  })), Object(external_wp_element_["createElement"])("nav", blockProps, isPlaceholderShown && Object(external_wp_element_["createElement"])(PlaceholderComponent, {
+  })), (0,external_wp_element_namespaceObject.createElement)("nav", blockProps, isPlaceholderShown && (0,external_wp_element_namespaceObject.createElement)(PlaceholderComponent, {
     onFinish: post => {
       setIsPlaceholderShown(false);

@@ -22343,9 +22445,9 @@ function Navigation(_ref) {
     hasResolvedNavigationMenus: hasResolvedNavigationMenus,
     clientId: clientId,
     canUserCreateNavigation: canUserCreateNavigation
-  }), !hasResolvedCanUserCreateNavigation || !isEntityAvailable && !isPlaceholderShown && Object(external_wp_element_["createElement"])(placeholder_preview, {
+  }), !hasResolvedCanUserCreateNavigation || !isEntityAvailable && !isPlaceholderShown && (0,external_wp_element_namespaceObject.createElement)(placeholder_preview, {
     isLoading: true
-  }), !isPlaceholderShown && Object(external_wp_element_["createElement"])(ResponsiveWrapper, {
+  }), !isPlaceholderShown && (0,external_wp_element_namespaceObject.createElement)(ResponsiveWrapper, {
     id: clientId,
     onToggle: setResponsiveMenuVisibility,
     isOpen: isResponsiveMenuOpen,
@@ -22353,7 +22455,7 @@ function Navigation(_ref) {
     isHiddenByDefault: 'always' === overlayMenu,
     classNames: overlayClassnames,
     styles: overlayStyles
-  }, isEntityAvailable && Object(external_wp_element_["createElement"])(NavigationInnerBlocks, {
+  }, isEntityAvailable && (0,external_wp_element_namespaceObject.createElement)(NavigationInnerBlocks, {
     isVisible: !isPlaceholderShown,
     clientId: clientId,
     appender: CustomAppender,
@@ -22362,7 +22464,7 @@ function Navigation(_ref) {
   })))));
 }

-/* harmony default export */ var navigation_edit = (Object(external_wp_blockEditor_["withColors"])({
+/* harmony default export */ var navigation_edit = ((0,external_wp_blockEditor_namespaceObject.withColors)({
   textColor: 'color'
 }, {
   backgroundColor: 'color'
@@ -22372,7 +22474,7 @@ function Navigation(_ref) {
   overlayTextColor: 'color'
 })(Navigation));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/save.js


 /**
@@ -22391,10 +22493,10 @@ function navigation_save_save(_ref) {
     return;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/deprecated.js


 /**
@@ -22542,7 +22644,7 @@ const navigation_deprecated_v6 = {
   },

   save() {
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
   },

   isEligible: _ref2 => {
@@ -22638,7 +22740,7 @@ const navigation_deprecated_v5 = {
   },

   save() {
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
   },

   isEligible: _ref3 => {
@@ -22648,7 +22750,7 @@ const navigation_deprecated_v5 = {
     } = _ref3;
     return !!itemsJustification || !!orientation;
   },
-  migrate: Object(external_wp_compose_["compose"])(migrateIdToRef, deprecated_migrateWithLayout)
+  migrate: (0,external_wp_compose_namespaceObject.compose)(migrateIdToRef, deprecated_migrateWithLayout)
 };
 const navigation_deprecated_v4 = {
   attributes: {
@@ -22729,10 +22831,10 @@ const navigation_deprecated_v4 = {
   },

   save() {
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
   },

-  migrate: Object(external_wp_compose_["compose"])(migrateIdToRef, deprecated_migrateWithLayout, migrate_font_family),
+  migrate: (0,external_wp_compose_namespaceObject.compose)(migrateIdToRef, deprecated_migrateWithLayout, migrate_font_family),

   isEligible(_ref4) {
     var _style$typography;
@@ -22755,7 +22857,7 @@ const migrateIsResponsive = function (attributes) {
 const migrateTypographyPresets = function (attributes) {
   return { ...attributes,
     style: { ...attributes.style,
-      typography: Object(external_lodash_["mapValues"])(attributes.style.typography, (value, key) => {
+      typography: (0,external_lodash_namespaceObject.mapValues)(attributes.style.typography, (value, key) => {
         const prefix = TYPOGRAPHY_PRESET_DEPRECATION_MAP[key];

         if (prefix && value.startsWith(prefix)) {
@@ -22850,10 +22952,10 @@ const navigation_deprecated_deprecated = [navigation_deprecated_v6, navigation_d
     return attributes.isResponsive;
   },

-  migrate: Object(external_wp_compose_["compose"])(migrateIdToRef, deprecated_migrateWithLayout, migrate_font_family, migrateIsResponsive),
+  migrate: (0,external_wp_compose_namespaceObject.compose)(migrateIdToRef, deprecated_migrateWithLayout, migrate_font_family, migrateIsResponsive),

   save() {
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
   }

 }, {
@@ -22902,7 +23004,7 @@ const navigation_deprecated_deprecated = [navigation_deprecated_v6, navigation_d
   },

   save() {
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
   },

   isEligible(attributes) {
@@ -22921,7 +23023,7 @@ const navigation_deprecated_deprecated = [navigation_deprecated_v6, navigation_d
     return false;
   },

-  migrate: Object(external_wp_compose_["compose"])(migrateIdToRef, deprecated_migrateWithLayout, migrate_font_family, migrateTypographyPresets)
+  migrate: (0,external_wp_compose_namespaceObject.compose)(migrateIdToRef, deprecated_migrateWithLayout, migrate_font_family, migrateTypographyPresets)
 }, {
   attributes: {
     className: {
@@ -22963,21 +23065,21 @@ const navigation_deprecated_deprecated = [navigation_deprecated_v6, navigation_d
     html: false,
     inserter: true
   },
-  migrate: Object(external_wp_compose_["compose"])(migrateIdToRef, attributes => {
-    return { ...Object(external_lodash_["omit"])(attributes, ['rgbTextColor', 'rgbBackgroundColor']),
+  migrate: (0,external_wp_compose_namespaceObject.compose)(migrateIdToRef, attributes => {
+    return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['rgbTextColor', 'rgbBackgroundColor']),
       customTextColor: attributes.textColor ? undefined : attributes.rgbTextColor,
       customBackgroundColor: attributes.backgroundColor ? undefined : attributes.rgbBackgroundColor
     };
   }),

   save() {
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
   }

 }];
 /* harmony default export */ var navigation_deprecated = (navigation_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/index.js
 /**
  * WordPress dependencies
  */
@@ -23107,21 +23209,21 @@ const navigation_settings = {
       name: 'core/navigation-link',
       attributes: {
         // translators: 'Home' as in a website's home page.
-        label: Object(external_wp_i18n_["__"])('Home'),
+        label: (0,external_wp_i18n_namespaceObject.__)('Home'),
         url: 'https://make.wordpress.org/'
       }
     }, {
       name: 'core/navigation-link',
       attributes: {
         // translators: 'About' as in a website's about page.
-        label: Object(external_wp_i18n_["__"])('About'),
+        label: (0,external_wp_i18n_namespaceObject.__)('About'),
         url: 'https://make.wordpress.org/'
       }
     }, {
       name: 'core/navigation-link',
       attributes: {
         // translators: 'Contact' as in a website's contact page.
-        label: Object(external_wp_i18n_["__"])('Contact'),
+        label: (0,external_wp_i18n_namespaceObject.__)('Contact'),
         url: 'https://make.wordpress.org/'
       }
     }]
@@ -23131,37 +23233,37 @@ const navigation_settings = {
   deprecated: navigation_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/custom-link.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/custom-link.js


 /**
  * WordPress dependencies
  */

-const customLink = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const customLink = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "https://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.5 14.5h-1V16h1c2.2 0 4-1.8 4-4s-1.8-4-4-4h-1v1.5h1c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5zm-4 1.5v-1.5h-1C6.1 14.5 5 13.4 5 12s1.1-2.5 2.5-2.5h1V8h-1c-2.2 0-4 1.8-4 4s1.8 4 4 4h1zm-1-3.2h5v-1.5h-5v1.5zM18 4H9c-1.1 0-2 .9-2 2v.5h1.5V6c0-.3.2-.5.5-.5h9c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5v-.5H7v.5c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"
 }));
 /* harmony default export */ var custom_link = (customLink);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/add-submenu.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/add-submenu.js


 /**
  * WordPress dependencies
  */

-const addSubmenu = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const addSubmenu = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"
 }));
 /* harmony default export */ var add_submenu = (addSubmenu);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/edit.js


 /**
@@ -23252,8 +23354,8 @@ const MAX_NESTING = 5;
  */

 const useIsDraggingWithin = elementRef => {
-  const [isDraggingWithin, setIsDraggingWithin] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
+  const [isDraggingWithin, setIsDraggingWithin] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     const {
       ownerDocument
     } = elementRef.current;
@@ -23452,7 +23554,7 @@ const updateNavigationLinkBlockAttributes = function () {
   const normalizedTitle = title.replace(/http(s?):\/\//gi, '');
   const normalizedURL = url.replace(/http(s?):\/\//gi, '');
   const escapeTitle = title !== '' && normalizedTitle !== normalizedURL && originalLabel !== title;
-  const label = escapeTitle ? Object(external_lodash_["escape"])(title) : originalLabel || Object(external_lodash_["escape"])(normalizedURL); // In https://github.com/WordPress/gutenberg/pull/24670 we decided to use "tag" in favor of "post_tag"
+  const label = escapeTitle ? (0,external_lodash_namespaceObject.escape)(title) : originalLabel || (0,external_lodash_namespaceObject.escape)(normalizedURL); // In https://github.com/WordPress/gutenberg/pull/24670 we decided to use "tag" in favor of "post_tag"

   const type = newType === 'post_tag' ? 'tag' : newType.replace('-', '_');
   const isBuiltInType = ['post', 'page', 'tag', 'category'].indexOf(type) > -1;
@@ -23460,7 +23562,7 @@ const updateNavigationLinkBlockAttributes = function () {
   const kind = isCustomLink ? 'custom' : newKind;
   setAttributes({ // Passed `url` may already be encoded. To prevent double encoding, decodeURI is executed to revert to the original string.
     ...(url && {
-      url: encodeURI(Object(external_wp_url_["safeDecodeURI"])(url))
+      url: encodeURI((0,external_wp_url_namespaceObject.safeDecodeURI)(url))
     }),
     ...(label && {
       label
@@ -23506,18 +23608,18 @@ function LinkControlTransforms(_ref) {
     transforms,
     replace
   } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "link-control-transform"
-  }, Object(external_wp_element_["createElement"])("h3", {
+  }, (0,external_wp_element_namespaceObject.createElement)("h3", {
     className: "link-control-transform__subheading"
-  }, Object(external_wp_i18n_["__"])('Transform')), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_i18n_namespaceObject.__)('Transform')), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "link-control-transform__items"
   }, transforms.map((item, index) => {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       key: `transform-${index}`,
-      onClick: () => replace(block.clientId, Object(external_wp_blocks_["switchToBlockType"])(block, item.name)),
+      onClick: () => replace(block.clientId, (0,external_wp_blocks_namespaceObject.switchToBlockType)(block, item.name)),
       className: "link-control-transform__item"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
       icon: item.icon
     }), item.title);
   })));
@@ -23552,18 +23654,18 @@ function NavigationLinkEdit(_ref2) {
   };
   const {
     saveEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
   const {
     replaceBlock,
     __unstableMarkNextChangeAsNotPersistent
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const [isLinkOpen, setIsLinkOpen] = Object(external_wp_element_["useState"])(false);
-  const listItemRef = Object(external_wp_element_["useRef"])(null);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const [isLinkOpen, setIsLinkOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  const listItemRef = (0,external_wp_element_namespaceObject.useRef)(null);
   const isDraggingWithin = useIsDraggingWithin(listItemRef);

-  const itemLabelPlaceholder = Object(external_wp_i18n_["__"])('Add link…');
+  const itemLabelPlaceholder = (0,external_wp_i18n_namespaceObject.__)('Add link…');

-  const ref = Object(external_wp_element_["useRef"])();
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
   const {
     innerBlocks,
     isAtMaxNesting,
@@ -23574,7 +23676,7 @@ function NavigationLinkEdit(_ref2) {
     userCanCreatePosts,
     thisBlock,
     blockTransforms
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getClientIdsOfDescen;

     const {
@@ -23587,7 +23689,7 @@ function NavigationLinkEdit(_ref2) {
       getSelectedBlockClientId,
       getBlockParentsByBlockName,
       getBlockTransformItems
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const selectedBlockId = getSelectedBlockClientId();
     const descendants = getClientIdsOfDescendants([clientId]).length;
     return {
@@ -23598,13 +23700,13 @@ function NavigationLinkEdit(_ref2) {
       isImmediateParentOfSelectedBlock: hasSelectedInnerBlock(clientId, false),
       hasDescendants: !!descendants,
       selectedBlockHasDescendants: !!((_getClientIdsOfDescen = getClientIdsOfDescendants([selectedBlockId])) !== null && _getClientIdsOfDescen !== void 0 && _getClientIdsOfDescen.length),
-      userCanCreatePages: select(external_wp_coreData_["store"]).canUser('create', 'pages'),
-      userCanCreatePosts: select(external_wp_coreData_["store"]).canUser('create', 'posts'),
+      userCanCreatePages: select(external_wp_coreData_namespaceObject.store).canUser('create', 'pages'),
+      userCanCreatePosts: select(external_wp_coreData_namespaceObject.store).canUser('create', 'posts'),
       thisBlock: getBlock(clientId),
       blockTransforms: getBlockTransformItems([getBlock(clientId)], getBlockRootClientId(clientId))
     };
   }, [clientId]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // This side-effect should not create an undo level as those should
     // only be created via user interactions. Mark this change as
     // not persistent to avoid undo level creation.
@@ -23620,7 +23722,7 @@ function NavigationLinkEdit(_ref2) {
    */

   function transformToSubmenu() {
-    const newSubmenu = Object(external_wp_blocks_["createBlock"])('core/navigation-submenu', attributes, innerBlocks);
+    const newSubmenu = (0,external_wp_blocks_namespaceObject.createBlock)('core/navigation-submenu', attributes, innerBlocks);
     replaceBlock(clientId, newSubmenu);
   }

@@ -23628,7 +23730,7 @@ function NavigationLinkEdit(_ref2) {
   const featuredTransforms = blockTransforms.filter(item => {
     return featuredBlocks.includes(item.name);
   });
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // Show the LinkControl on mount if the URL is empty
     // ( When adding a new menu item)
     // This can't be done in the useState call because it conflicts
@@ -23647,21 +23749,21 @@ function NavigationLinkEdit(_ref2) {
    * when selecting a suggestion in the link popover, we force close on block unselection.
    */

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isSelected) {
       setIsLinkOpen(false);
     }
   }, [isSelected]); // If the LinkControl popover is open and the URL has changed, close the LinkControl and focus the label text.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (isLinkOpen && url) {
       // Does this look like a URL and have something TLD-ish?
-      if (Object(external_wp_url_["isURL"])(Object(external_wp_url_["prependHTTP"])(label)) && /^.+\.[a-z]+/.test(label)) {
+      if ((0,external_wp_url_namespaceObject.isURL)((0,external_wp_url_namespaceObject.prependHTTP)(label)) && /^.+\.[a-z]+/.test(label)) {
         // Focus and select the label text.
         selectLabelText();
       } else {
         // Focus it (but do not select).
-        Object(external_wp_dom_["placeCaretAtHorizontalEdge"])(ref.current, true);
+        (0,external_wp_dom_namespaceObject.placeCaretAtHorizontalEdge)(ref.current, true);
       }
     }
   }, [url]);
@@ -23733,12 +23835,12 @@ function NavigationLinkEdit(_ref2) {
   } = getColors(context, !isTopLevelLink);

   function onKeyDown(event) {
-    if (external_wp_keycodes_["isKeyboardEvent"].primary(event, 'k') || !url && event.keyCode === external_wp_keycodes_["ENTER"]) {
+    if (external_wp_keycodes_namespaceObject.isKeyboardEvent.primary(event, 'k') || !url && event.keyCode === external_wp_keycodes_namespaceObject.ENTER) {
       setIsLinkOpen(true);
     }
   }

-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     ref: listItemRef,
     className: classnames_default()('wp-block-navigation-item', {
       'is-editing': isSelected || isParentOfSelectedBlock,
@@ -23746,9 +23848,9 @@ function NavigationLinkEdit(_ref2) {
       'has-link': !!url,
       'has-child': hasDescendants,
       'has-text-color': !!textColor || !!customTextColor,
-      [Object(external_wp_blockEditor_["getColorClassName"])('color', textColor)]: !!textColor,
+      [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor)]: !!textColor,
       'has-background': !!backgroundColor || customBackgroundColor,
-      [Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor)]: !!backgroundColor
+      [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor)]: !!backgroundColor
     }),
     style: {
       color: !textColor && customTextColor,
@@ -23769,77 +23871,77 @@ function NavigationLinkEdit(_ref2) {
   switch (type) {
     case 'post':
       /* translators: label for missing post in navigation link block */
-      missingText = Object(external_wp_i18n_["__"])('Select post');
+      missingText = (0,external_wp_i18n_namespaceObject.__)('Select post');
       break;

     case 'page':
       /* translators: label for missing page in navigation link block */
-      missingText = Object(external_wp_i18n_["__"])('Select page');
+      missingText = (0,external_wp_i18n_namespaceObject.__)('Select page');
       break;

     case 'category':
       /* translators: label for missing category in navigation link block */
-      missingText = Object(external_wp_i18n_["__"])('Select category');
+      missingText = (0,external_wp_i18n_namespaceObject.__)('Select category');
       break;

     case 'tag':
       /* translators: label for missing tag in navigation link block */
-      missingText = Object(external_wp_i18n_["__"])('Select tag');
+      missingText = (0,external_wp_i18n_namespaceObject.__)('Select tag');
       break;

     default:
       /* translators: label for missing values in navigation link block */
-      missingText = Object(external_wp_i18n_["__"])('Add link');
+      missingText = (0,external_wp_i18n_namespaceObject.__)('Add link');
   }

-  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, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     name: "link",
-    icon: library_link["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Link'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primary('k'),
+    icon: library_link,
+    title: (0,external_wp_i18n_namespaceObject.__)('Link'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primary('k'),
     onClick: () => setIsLinkOpen(true)
-  }), !isAtMaxNesting && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  }), !isAtMaxNesting && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     name: "submenu",
     icon: add_submenu,
-    title: Object(external_wp_i18n_["__"])('Add submenu'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Add submenu'),
     onClick: transformToSubmenu
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Link settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextareaControl"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Link settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextareaControl, {
     value: description || '',
     onChange: descriptionValue => {
       setAttributes({
         description: descriptionValue
       });
     },
-    label: Object(external_wp_i18n_["__"])('Description'),
-    help: Object(external_wp_i18n_["__"])('The description will be displayed in the menu if the current theme supports it.')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Description'),
+    help: (0,external_wp_i18n_namespaceObject.__)('The description will be displayed in the menu if the current theme supports it.')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
     value: title || '',
     onChange: titleValue => {
       setAttributes({
         title: titleValue
       });
     },
-    label: Object(external_wp_i18n_["__"])('Link title'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Link title'),
     autoComplete: "off"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
     value: rel || '',
     onChange: relValue => {
       setAttributes({
         rel: relValue
       });
     },
-    label: Object(external_wp_i18n_["__"])('Link rel'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Link rel'),
     autoComplete: "off"
-  }))), Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])("a", {
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)("a", {
     className: classes
-  }, !url ? Object(external_wp_element_["createElement"])("div", {
+  }, !url ? (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-navigation-link__placeholder-text"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Tooltip"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Tooltip, {
     position: "top center",
-    text: Object(external_wp_i18n_["__"])('This item is missing a link')
-  }, Object(external_wp_element_["createElement"])("span", null, missingText))) : Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+    text: (0,external_wp_i18n_namespaceObject.__)('This item is missing a link')
+  }, (0,external_wp_element_namespaceObject.createElement)("span", null, missingText))) : (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     ref: ref,
     identifier: "label",
     className: "wp-block-navigation-item__label",
@@ -23849,8 +23951,8 @@ function NavigationLinkEdit(_ref2) {
     }),
     onMerge: mergeBlocks,
     onReplace: onReplace,
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/navigation-link')),
-    "aria-label": Object(external_wp_i18n_["__"])('Navigation link text'),
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/navigation-link')),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Navigation link text'),
     placeholder: itemLabelPlaceholder,
     withoutInteractiveFormatting: true,
     allowedFormats: ['core/bold', 'core/italic', 'core/image', 'core/strikethrough'],
@@ -23859,11 +23961,11 @@ function NavigationLinkEdit(_ref2) {
         setIsLinkOpen(true);
       }
     }
-  }), isLinkOpen && Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
+  }), isLinkOpen && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
     position: "bottom center",
     onClose: () => setIsLinkOpen(false),
     anchorRef: listItemRef.current
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLinkControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLinkControl, {
     hasTextControl: true,
     className: "wp-block-navigation-link__inline-link-input",
     value: link,
@@ -23875,14 +23977,14 @@ function NavigationLinkEdit(_ref2) {

       if (type === 'post') {
         /* translators: %s: search term. */
-        format = Object(external_wp_i18n_["__"])('Create draft post: <mark>%s</mark>');
+        format = (0,external_wp_i18n_namespaceObject.__)('Create draft post: <mark>%s</mark>');
       } else {
         /* translators: %s: search term. */
-        format = Object(external_wp_i18n_["__"])('Create draft page: <mark>%s</mark>');
+        format = (0,external_wp_i18n_namespaceObject.__)('Create draft page: <mark>%s</mark>');
       }

-      return Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["sprintf"])(format, searchTerm), {
-        mark: Object(external_wp_element_["createElement"])("mark", null)
+      return (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.sprintf)(format, searchTerm), {
+        mark: (0,external_wp_element_namespaceObject.createElement)("mark", null)
       });
     },
     noDirectEntry: !!type,
@@ -23890,7 +23992,7 @@ function NavigationLinkEdit(_ref2) {
     suggestionsQuery: getSuggestionsQuery(type, kind),
     onChange: updatedValue => updateNavigationLinkBlockAttributes(updatedValue, setAttributes, attributes),
     onRemove: removeLink,
-    renderControlBottom: !url ? () => Object(external_wp_element_["createElement"])(LinkControlTransforms, {
+    renderControlBottom: !url ? () => (0,external_wp_element_namespaceObject.createElement)(LinkControlTransforms, {
       block: thisBlock,
       transforms: featuredTransforms,
       replace: replaceBlock
@@ -23898,7 +24000,7 @@ function NavigationLinkEdit(_ref2) {
   })))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/save.js


 /**
@@ -23906,70 +24008,70 @@ function NavigationLinkEdit(_ref2) {
  */

 function navigation_link_save_save() {
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-title.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-title.js


 /**
  * WordPress dependencies
  */

-const postTitle = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const postTitle = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 14.5h16V16H4zM4 18.5h9V20H4zM4 4h3c2 0 3 .86 3 2.583 0 .891-.253 1.554-.76 1.988-.505.435-1.24.652-2.204.652H5.542V12H4V4zm2.855 4c.53 0 .924-.114 1.18-.343.266-.228.398-.579.398-1.051 0-.473-.132-.82-.397-1.04-.265-.229-.67-.343-1.217-.343H5.542V8h1.313z"
 }));
 /* harmony default export */ var post_title = (postTitle);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/page.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/page.js


 /**
  * WordPress dependencies
  */

-const page_page = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const page = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M7 5.5h10a.5.5 0 01.5.5v12a.5.5 0 01-.5.5H7a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM17 4H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V6a2 2 0 00-2-2zm-1 3.75H8v1.5h8v-1.5zM8 11h8v1.5H8V11zm6 3.25H8v1.5h6v-1.5z"
 }));
-/* harmony default export */ var library_page = (page_page);
+/* harmony default export */ var library_page = (page);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/tag.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/tag.js


 /**
  * WordPress dependencies
  */

-const tag_tag = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const tag = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M20.1 11.2l-6.7-6.7c-.1-.1-.3-.2-.5-.2H5c-.4-.1-.8.3-.8.7v7.8c0 .2.1.4.2.5l6.7 6.7c.2.2.5.4.7.5s.6.2.9.2c.3 0 .6-.1.9-.2.3-.1.5-.3.8-.5l5.6-5.6c.4-.4.7-1 .7-1.6.1-.6-.2-1.2-.6-1.6zM19 13.4L13.4 19c-.1.1-.2.1-.3.2-.2.1-.4.1-.6 0-.1 0-.2-.1-.3-.2l-6.5-6.5V5.8h6.8l6.5 6.5c.2.2.2.4.2.6 0 .1 0 .3-.2.5zM9 8c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z"
 }));
-/* harmony default export */ var library_tag = (tag_tag);
+/* harmony default export */ var library_tag = (tag);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/custom-post-type.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/custom-post-type.js


 /**
  * WordPress dependencies
  */

-const customPostType = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const customPostType = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z"
 }));
 /* harmony default export */ var custom_post_type = (customPostType);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/fallback-variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/fallback-variations.js
 /**
  * WordPress dependencies
  */
@@ -23982,14 +24084,14 @@ const customPostType = Object(external_wp_element_["createElement"])(external_wp
 const fallbackVariations = [{
   name: 'link',
   isDefault: true,
-  title: Object(external_wp_i18n_["__"])('Custom Link'),
-  description: Object(external_wp_i18n_["__"])('A link to a custom URL.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Custom Link'),
+  description: (0,external_wp_i18n_namespaceObject.__)('A link to a custom URL.'),
   attributes: {}
 }, {
   name: 'post',
   icon: post_title,
-  title: Object(external_wp_i18n_["__"])('Post Link'),
-  description: Object(external_wp_i18n_["__"])('A link to a post.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Post Link'),
+  description: (0,external_wp_i18n_namespaceObject.__)('A link to a post.'),
   attributes: {
     type: 'post',
     kind: 'post-type'
@@ -23997,8 +24099,8 @@ const fallbackVariations = [{
 }, {
   name: 'page',
   icon: library_page,
-  title: Object(external_wp_i18n_["__"])('Page Link'),
-  description: Object(external_wp_i18n_["__"])('A link to a page.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Page Link'),
+  description: (0,external_wp_i18n_namespaceObject.__)('A link to a page.'),
   attributes: {
     type: 'page',
     kind: 'post-type'
@@ -24006,8 +24108,8 @@ const fallbackVariations = [{
 }, {
   name: 'category',
   icon: library_category,
-  title: Object(external_wp_i18n_["__"])('Category Link'),
-  description: Object(external_wp_i18n_["__"])('A link to a category.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Category Link'),
+  description: (0,external_wp_i18n_namespaceObject.__)('A link to a category.'),
   attributes: {
     type: 'category',
     kind: 'taxonomy'
@@ -24015,8 +24117,8 @@ const fallbackVariations = [{
 }, {
   name: 'tag',
   icon: library_tag,
-  title: Object(external_wp_i18n_["__"])('Tag Link'),
-  description: Object(external_wp_i18n_["__"])('A link to a tag.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Tag Link'),
+  description: (0,external_wp_i18n_namespaceObject.__)('A link to a tag.'),
   attributes: {
     type: 'tag',
     kind: 'taxonomy'
@@ -24035,7 +24137,7 @@ fallbackVariations.forEach(variation => {
 });
 /* harmony default export */ var fallback_variations = (fallbackVariations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/hooks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/hooks.js
 /**
  * WordPress dependencies
  */
@@ -24102,7 +24204,7 @@ function enhanceNavigationLinkVariations(settings, name) {
   return settings;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/transforms.js
 /**
  * WordPress dependencies
  */
@@ -24112,66 +24214,66 @@ const navigation_link_transforms_transforms = {
     type: 'block',
     blocks: ['core/site-logo'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/navigation-link');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/navigation-link');
     }
   }, {
     type: 'block',
     blocks: ['core/spacer'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/navigation-link');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/navigation-link');
     }
   }, {
     type: 'block',
     blocks: ['core/home-link'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/navigation-link');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/navigation-link');
     }
   }, {
     type: 'block',
     blocks: ['core/social-links'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/navigation-link');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/navigation-link');
     }
   }, {
     type: 'block',
     blocks: ['core/search'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/navigation-link');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/navigation-link');
     }
   }],
   to: [{
     type: 'block',
     blocks: ['core/navigation-submenu'],
-    transform: (attributes, innerBlocks) => Object(external_wp_blocks_["createBlock"])('core/navigation-submenu', attributes, innerBlocks)
+    transform: (attributes, innerBlocks) => (0,external_wp_blocks_namespaceObject.createBlock)('core/navigation-submenu', attributes, innerBlocks)
   }, {
     type: 'block',
     blocks: ['core/spacer'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/spacer');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/spacer');
     }
   }, {
     type: 'block',
     blocks: ['core/site-logo'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/site-logo');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/site-logo');
     }
   }, {
     type: 'block',
     blocks: ['core/home-link'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/home-link');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/home-link');
     }
   }, {
     type: 'block',
     blocks: ['core/social-links'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/social-links');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/social-links');
     }
   }, {
     type: 'block',
     blocks: ['core/search'],
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/search', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/search', {
         showLabel: false,
         buttonUseIcon: true,
         buttonPosition: 'button-inside'
@@ -24181,7 +24283,7 @@ const navigation_link_transforms_transforms = {
 };
 /* harmony default export */ var navigation_link_transforms = (navigation_link_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/index.js


 /**
@@ -24275,7 +24377,7 @@ const navigation_link_settings = {
   save: navigation_link_save_save,
   example: {
     attributes: {
-      label: Object(external_wp_i18n_["_x"])('Example Link', 'navigation link preview example'),
+      label: (0,external_wp_i18n_namespaceObject._x)('Example Link', 'navigation link preview example'),
       url: 'https://example.com'
     }
   },
@@ -24321,37 +24423,36 @@ const navigation_link_settings = {
     },

     save() {
-      return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
     }

   }],
   transforms: navigation_link_transforms
 }; // importing this file includes side effects. This is whitelisted in block-library/package.json under sideEffects

-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/navigation-link', enhanceNavigationLinkVariations);
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/navigation-link', enhanceNavigationLinkVariations);

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/icons.js
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/icons.js


 /**
  * WordPress dependencies
  */

-const ItemSubmenuIcon = () => Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const ItemSubmenuIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   width: "12",
   height: "12",
   viewBox: "0 0 12 12",
   fill: "none"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M1.50002 4L6.00002 8L10.5 4",
   strokeWidth: "1.5"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/edit.js


 /**
@@ -24444,8 +24545,8 @@ const edit_MAX_NESTING = 5;
  */

 const edit_useIsDraggingWithin = elementRef => {
-  const [isDraggingWithin, setIsDraggingWithin] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
+  const [isDraggingWithin, setIsDraggingWithin] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     const {
       ownerDocument
     } = elementRef.current;
@@ -24643,7 +24744,7 @@ const edit_updateNavigationLinkBlockAttributes = function () {
   const normalizedTitle = title.replace(/http(s?):\/\//gi, '');
   const normalizedURL = url.replace(/http(s?):\/\//gi, '');
   const escapeTitle = title !== '' && normalizedTitle !== normalizedURL && originalLabel !== title;
-  const label = escapeTitle ? Object(external_lodash_["escape"])(title) : originalLabel || Object(external_lodash_["escape"])(normalizedURL); // In https://github.com/WordPress/gutenberg/pull/24670 we decided to use "tag" in favor of "post_tag"
+  const label = escapeTitle ? (0,external_lodash_namespaceObject.escape)(title) : originalLabel || (0,external_lodash_namespaceObject.escape)(normalizedURL); // In https://github.com/WordPress/gutenberg/pull/24670 we decided to use "tag" in favor of "post_tag"

   const type = newType === 'post_tag' ? 'tag' : newType.replace('-', '_');
   const isBuiltInType = ['post', 'page', 'tag', 'category'].indexOf(type) > -1;
@@ -24651,7 +24752,7 @@ const edit_updateNavigationLinkBlockAttributes = function () {
   const kind = isCustomLink ? 'custom' : newKind;
   setAttributes({ // Passed `url` may already be encoded. To prevent double encoding, decodeURI is executed to revert to the original string.
     ...(url && {
-      url: encodeURI(Object(external_wp_url_["safeDecodeURI"])(url))
+      url: encodeURI((0,external_wp_url_namespaceObject.safeDecodeURI)(url))
     }),
     ...(label && {
       label
@@ -24700,17 +24801,17 @@ function NavigationSubmenuEdit(_ref) {
   } = context;
   const {
     saveEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
   const {
     __unstableMarkNextChangeAsNotPersistent
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const [isLinkOpen, setIsLinkOpen] = Object(external_wp_element_["useState"])(false);
-  const listItemRef = Object(external_wp_element_["useRef"])(null);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const [isLinkOpen, setIsLinkOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  const listItemRef = (0,external_wp_element_namespaceObject.useRef)(null);
   const isDraggingWithin = edit_useIsDraggingWithin(listItemRef);

-  const itemLabelPlaceholder = Object(external_wp_i18n_["__"])('Add text…');
+  const itemLabelPlaceholder = (0,external_wp_i18n_namespaceObject.__)('Add text…');

-  const ref = Object(external_wp_element_["useRef"])();
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
   const {
     isAtMaxNesting,
     isTopLevelItem,
@@ -24720,7 +24821,7 @@ function NavigationSubmenuEdit(_ref) {
     selectedBlockHasDescendants,
     userCanCreatePages,
     userCanCreatePosts
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getClientIdsOfDescen;

     const {
@@ -24728,7 +24829,7 @@ function NavigationSubmenuEdit(_ref) {
       hasSelectedInnerBlock,
       getSelectedBlockClientId,
       getBlockParentsByBlockName
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const selectedBlockId = getSelectedBlockClientId();
     const descendants = getClientIdsOfDescendants([clientId]).length;
     return {
@@ -24738,21 +24839,21 @@ function NavigationSubmenuEdit(_ref) {
       isImmediateParentOfSelectedBlock: hasSelectedInnerBlock(clientId, false),
       hasDescendants: !!descendants,
       selectedBlockHasDescendants: !!((_getClientIdsOfDescen = getClientIdsOfDescendants([selectedBlockId])) !== null && _getClientIdsOfDescen !== void 0 && _getClientIdsOfDescen.length),
-      userCanCreatePages: select(external_wp_coreData_["store"]).canUser('create', 'pages'),
-      userCanCreatePosts: select(external_wp_coreData_["store"]).canUser('create', 'posts')
+      userCanCreatePages: select(external_wp_coreData_namespaceObject.store).canUser('create', 'pages'),
+      userCanCreatePosts: select(external_wp_coreData_namespaceObject.store).canUser('create', 'posts')
     };
   }, [clientId]); // Show the LinkControl on mount if the URL is empty
   // ( When adding a new menu item)
   // This can't be done in the useState call because it conflicts
   // with the autofocus behavior of the BlockListBlock component.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!openSubmenusOnClick && !url) {
       setIsLinkOpen(true);
     }
   }, []); // Store the colors from context as attributes for rendering

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // This side-effect should not create an undo level as those should
     // only be created via user interactions. Mark this change as
     // not persistent to avoid undo level creation.
@@ -24768,21 +24869,21 @@ function NavigationSubmenuEdit(_ref) {
    * when selecting a suggestion in the link popover, we force close on block unselection.
    */

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isSelected) {
       setIsLinkOpen(false);
     }
   }, [isSelected]); // If the LinkControl popover is open and the URL has changed, close the LinkControl and focus the label text.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (isLinkOpen && url) {
       // Does this look like a URL and have something TLD-ish?
-      if (Object(external_wp_url_["isURL"])(Object(external_wp_url_["prependHTTP"])(label)) && /^.+\.[a-z]+/.test(label)) {
+      if ((0,external_wp_url_namespaceObject.isURL)((0,external_wp_url_namespaceObject.prependHTTP)(label)) && /^.+\.[a-z]+/.test(label)) {
         // Focus and select the label text.
         selectLabelText();
       } else {
         // Focus it (but do not select).
-        Object(external_wp_dom_["placeCaretAtHorizontalEdge"])(ref.current, true);
+        (0,external_wp_dom_namespaceObject.placeCaretAtHorizontalEdge)(ref.current, true);
       }
     }
   }, [url]);
@@ -24837,12 +24938,12 @@ function NavigationSubmenuEdit(_ref) {
   } = edit_getColors(context, !isTopLevelItem);

   function onKeyDown(event) {
-    if (external_wp_keycodes_["isKeyboardEvent"].primary(event, 'k')) {
+    if (external_wp_keycodes_namespaceObject.isKeyboardEvent.primary(event, 'k')) {
       setIsLinkOpen(true);
     }
   }

-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     ref: listItemRef,
     className: classnames_default()('wp-block-navigation-item', {
       'is-editing': isSelected || isParentOfSelectedBlock,
@@ -24850,9 +24951,9 @@ function NavigationSubmenuEdit(_ref) {
       'has-link': !!url,
       'has-child': hasDescendants,
       'has-text-color': !!textColor || !!customTextColor,
-      [Object(external_wp_blockEditor_["getColorClassName"])('color', textColor)]: !!textColor,
+      [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor)]: !!textColor,
       'has-background': !!backgroundColor || customBackgroundColor,
-      [Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor)]: !!backgroundColor,
+      [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor)]: !!backgroundColor,
       'open-on-click': openSubmenusOnClick
     }),
     style: {
@@ -24865,10 +24966,10 @@ function NavigationSubmenuEdit(_ref) {
   const innerBlocksColors = edit_getColors(context, true);

   if (isAtMaxNesting) {
-    Object(external_lodash_["pull"])(navigation_submenu_edit_ALLOWED_BLOCKS, 'core/navigation-submenu');
+    (0,external_lodash_namespaceObject.pull)(navigation_submenu_edit_ALLOWED_BLOCKS, 'core/navigation-submenu');
   }

-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)({
     className: classnames_default()('wp-block-navigation__submenu-container', {
       'is-parent-of-selected-block': isParentOfSelectedBlock,
       'has-text-color': !!(innerBlocksColors.textColor || innerBlocksColors.customTextColor),
@@ -24889,47 +24990,47 @@ function NavigationSubmenuEdit(_ref) {
     // see: https://github.com/WordPress/gutenberg/pull/34615.
     __experimentalCaptureToolbars: true,
     renderAppender: isSelected || isImmediateParentOfSelectedBlock && !selectedBlockHasDescendants || // Show the appender while dragging to allow inserting element between item and the appender.
-    hasDescendants ? external_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender : false
+    hasDescendants ? external_wp_blockEditor_namespaceObject.InnerBlocks.ButtonBlockAppender : false
   });
   const ParentElement = openSubmenusOnClick ? 'button' : 'a';
-  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, !openSubmenusOnClick && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, !openSubmenusOnClick && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     name: "link",
-    icon: library_link["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Link'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primary('k'),
+    icon: library_link,
+    title: (0,external_wp_i18n_namespaceObject.__)('Link'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primary('k'),
     onClick: () => setIsLinkOpen(true)
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Link settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextareaControl"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Link settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextareaControl, {
     value: description || '',
     onChange: descriptionValue => {
       setAttributes({
         description: descriptionValue
       });
     },
-    label: Object(external_wp_i18n_["__"])('Description'),
-    help: Object(external_wp_i18n_["__"])('The description will be displayed in the menu if the current theme supports it.')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Description'),
+    help: (0,external_wp_i18n_namespaceObject.__)('The description will be displayed in the menu if the current theme supports it.')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
     value: title || '',
     onChange: titleValue => {
       setAttributes({
         title: titleValue
       });
     },
-    label: Object(external_wp_i18n_["__"])('Link title'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Link title'),
     autoComplete: "off"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
     value: rel || '',
     onChange: relValue => {
       setAttributes({
         rel: relValue
       });
     },
-    label: Object(external_wp_i18n_["__"])('Link rel'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Link rel'),
     autoComplete: "off"
-  }))), Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(ParentElement, {
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(ParentElement, {
     className: "wp-block-navigation-item__content"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     ref: ref,
     identifier: "label",
     className: "wp-block-navigation-item__label",
@@ -24939,7 +25040,7 @@ function NavigationSubmenuEdit(_ref) {
     }),
     onMerge: mergeBlocks,
     onReplace: onReplace,
-    "aria-label": Object(external_wp_i18n_["__"])('Navigation link text'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Navigation link text'),
     placeholder: itemLabelPlaceholder,
     withoutInteractiveFormatting: true,
     allowedFormats: ['core/bold', 'core/italic', 'core/image', 'core/strikethrough'],
@@ -24948,11 +25049,11 @@ function NavigationSubmenuEdit(_ref) {
         setIsLinkOpen(true);
       }
     }
-  }), !openSubmenusOnClick && isLinkOpen && Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
+  }), !openSubmenusOnClick && isLinkOpen && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
     position: "bottom center",
     onClose: () => setIsLinkOpen(false),
     anchorRef: listItemRef.current
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLinkControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLinkControl, {
     className: "wp-block-navigation-link__inline-link-input",
     value: link,
     showInitialSuggestions: true,
@@ -24963,14 +25064,14 @@ function NavigationSubmenuEdit(_ref) {

       if (type === 'post') {
         /* translators: %s: search term. */
-        format = Object(external_wp_i18n_["__"])('Create draft post: <mark>%s</mark>');
+        format = (0,external_wp_i18n_namespaceObject.__)('Create draft post: <mark>%s</mark>');
       } else {
         /* translators: %s: search term. */
-        format = Object(external_wp_i18n_["__"])('Create draft page: <mark>%s</mark>');
+        format = (0,external_wp_i18n_namespaceObject.__)('Create draft page: <mark>%s</mark>');
       }

-      return Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["sprintf"])(format, searchTerm), {
-        mark: Object(external_wp_element_["createElement"])("mark", null)
+      return (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.sprintf)(format, searchTerm), {
+        mark: (0,external_wp_element_namespaceObject.createElement)("mark", null)
       });
     },
     noDirectEntry: !!type,
@@ -24981,14 +25082,14 @@ function NavigationSubmenuEdit(_ref) {
       setAttributes({
         url: ''
       });
-      Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('Link removed.'), 'assertive');
+      (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('Link removed.'), 'assertive');
     }
-  })), (showSubmenuIcon || openSubmenusOnClick) && Object(external_wp_element_["createElement"])("span", {
+  })), (showSubmenuIcon || openSubmenusOnClick) && (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "wp-block-navigation__submenu-icon"
-  }, Object(external_wp_element_["createElement"])(ItemSubmenuIcon, null))), Object(external_wp_element_["createElement"])("div", innerBlocksProps)));
+  }, (0,external_wp_element_namespaceObject.createElement)(ItemSubmenuIcon, null))), (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps)));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/save.js


 /**
@@ -24996,10 +25097,10 @@ function NavigationSubmenuEdit(_ref) {
  */

 function navigation_submenu_save_save() {
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/transforms.js
 /**
  * WordPress dependencies
  */
@@ -25013,7 +25114,7 @@ const navigation_submenu_transforms_transforms = {

       return (block === null || block === void 0 ? void 0 : (_block$innerBlocks = block.innerBlocks) === null || _block$innerBlocks === void 0 ? void 0 : _block$innerBlocks.length) === 0;
     },
-    transform: attributes => Object(external_wp_blocks_["createBlock"])('core/navigation-link', attributes)
+    transform: attributes => (0,external_wp_blocks_namespaceObject.createBlock)('core/navigation-link', attributes)
   }, {
     type: 'block',
     blocks: ['core/spacer'],
@@ -25023,7 +25124,7 @@ const navigation_submenu_transforms_transforms = {
       return (block === null || block === void 0 ? void 0 : (_block$innerBlocks2 = block.innerBlocks) === null || _block$innerBlocks2 === void 0 ? void 0 : _block$innerBlocks2.length) === 0;
     },
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/spacer');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/spacer');
     }
   }, {
     type: 'block',
@@ -25034,7 +25135,7 @@ const navigation_submenu_transforms_transforms = {
       return (block === null || block === void 0 ? void 0 : (_block$innerBlocks3 = block.innerBlocks) === null || _block$innerBlocks3 === void 0 ? void 0 : _block$innerBlocks3.length) === 0;
     },
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/site-logo');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/site-logo');
     }
   }, {
     type: 'block',
@@ -25045,7 +25146,7 @@ const navigation_submenu_transforms_transforms = {
       return (block === null || block === void 0 ? void 0 : (_block$innerBlocks4 = block.innerBlocks) === null || _block$innerBlocks4 === void 0 ? void 0 : _block$innerBlocks4.length) === 0;
     },
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/home-link');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/home-link');
     }
   }, {
     type: 'block',
@@ -25056,7 +25157,7 @@ const navigation_submenu_transforms_transforms = {
       return (block === null || block === void 0 ? void 0 : (_block$innerBlocks5 = block.innerBlocks) === null || _block$innerBlocks5 === void 0 ? void 0 : _block$innerBlocks5.length) === 0;
     },
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/social-links');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/social-links');
     }
   }, {
     type: 'block',
@@ -25067,13 +25168,13 @@ const navigation_submenu_transforms_transforms = {
       return (block === null || block === void 0 ? void 0 : (_block$innerBlocks6 = block.innerBlocks) === null || _block$innerBlocks6 === void 0 ? void 0 : _block$innerBlocks6.length) === 0;
     },
     transform: () => {
-      return Object(external_wp_blocks_["createBlock"])('core/search');
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/search');
     }
   }]
 };
 /* harmony default export */ var navigation_submenu_transforms = (navigation_submenu_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-submenu/index.js
 /**
  * WordPress dependencies
  */
@@ -25151,22 +25252,22 @@ const navigation_submenu_settings = {
   transforms: navigation_submenu_transforms
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/page-break.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/page-break.js


 /**
  * WordPress dependencies
  */

-const pageBreak = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const pageBreak = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M7.8 6c0-.7.6-1.2 1.2-1.2h6c.7 0 1.2.6 1.2 1.2v3h1.5V6c0-1.5-1.2-2.8-2.8-2.8H9C7.5 3.2 6.2 4.5 6.2 6v3h1.5V6zm8.4 11c0 .7-.6 1.2-1.2 1.2H9c-.7 0-1.2-.6-1.2-1.2v-3H6.2v3c0 1.5 1.2 2.8 2.8 2.8h6c1.5 0 2.8-1.2 2.8-2.8v-3h-1.5v3zM4 11v1h16v-1H4z"
 }));
 /* harmony default export */ var page_break = (pageBreak);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/edit.js


 /**
@@ -25175,12 +25276,12 @@ const pageBreak = Object(external_wp_element_["createElement"])(external_wp_prim


 function NextPageEdit() {
-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-nextpage"
-  }, Object(external_wp_element_["createElement"])("span", null, Object(external_wp_i18n_["__"])('Page break'))));
+  }, (0,external_wp_element_namespaceObject.createElement)("span", null, (0,external_wp_i18n_namespaceObject.__)('Page break'))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/save.js


 /**
@@ -25188,10 +25289,10 @@ function NextPageEdit() {
  */

 function nextpage_save_save() {
-  return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, '<!--nextpage-->');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, '<!--nextpage-->');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/transforms.js
 /**
  * WordPress dependencies
  */
@@ -25207,14 +25308,14 @@ const nextpage_transforms_transforms = {
     isMatch: node => node.dataset && node.dataset.block === 'core/nextpage',

     transform() {
-      return Object(external_wp_blocks_["createBlock"])('core/nextpage', {});
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/nextpage', {});
     }

   }]
 };
 /* harmony default export */ var nextpage_transforms = (nextpage_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/nextpage/index.js
 /**
  * WordPress dependencies
  */
@@ -25254,7 +25355,7 @@ const nextpage_settings = {
   save: nextpage_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pattern/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pattern/edit.js


 /**
@@ -25269,29 +25370,29 @@ const PatternEdit = _ref => {
     attributes,
     clientId
   } = _ref;
-  const selectedPattern = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).__experimentalGetParsedPattern(attributes.slug), [attributes.slug]);
+  const selectedPattern = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).__experimentalGetParsedPattern(attributes.slug), [attributes.slug]);
   const {
     replaceBlocks,
     __unstableMarkNextChangeAsNotPersistent
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]); // Run this effect when the component loads.
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store); // Run this effect when the component loads.
   // This adds the Pattern's contents to the post.
   // This change won't be saved.
   // It will continue to pull from the pattern file unless changes are made to its respective template part.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (selectedPattern !== null && selectedPattern !== void 0 && selectedPattern.blocks) {
       __unstableMarkNextChangeAsNotPersistent();

       replaceBlocks(clientId, selectedPattern.blocks);
     }
   }, [selectedPattern === null || selectedPattern === void 0 ? void 0 : selectedPattern.blocks]);
-  const props = Object(external_wp_blockEditor_["useBlockProps"])();
-  return Object(external_wp_element_["createElement"])("div", props);
+  const props = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  return (0,external_wp_element_namespaceObject.createElement)("div", props);
 };

 /* harmony default export */ var pattern_edit = (PatternEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pattern/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pattern/index.js
 /**
  * Internal dependencies
  */
@@ -25321,22 +25422,22 @@ const pattern_settings = {
   edit: pattern_edit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pages.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pages.js


 /**
  * WordPress dependencies
  */

-const pages_pages = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const pages = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z"
 }));
-/* harmony default export */ var library_pages = (pages_pages);
+/* harmony default export */ var library_pages = (pages);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/page-list/convert-to-links-modal.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/page-list/convert-to-links-modal.js


 /**
@@ -25427,11 +25528,11 @@ function ConvertToLinksModal(_ref3) {
   const {
     pages,
     pagesFinished
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEntityRecords,
       hasFinishedResolution
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const query = ['postType', 'page', {
       per_page: MAX_PAGE_COUNT,
       _fields: PAGE_FIELDS,
@@ -25448,53 +25549,53 @@ function ConvertToLinksModal(_ref3) {
   }, [clientId]);
   const {
     replaceBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
     onRequestClose: onClose,
-    title: Object(external_wp_i18n_["__"])('Convert to links'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Convert to links'),
     className: 'wp-block-page-list-modal',
     aria: {
       describedby: 'wp-block-page-list-modal__description'
     }
-  }, Object(external_wp_element_["createElement"])("p", {
+  }, (0,external_wp_element_namespaceObject.createElement)("p", {
     id: 'wp-block-page-list-modal__description'
-  }, Object(external_wp_i18n_["__"])('To edit this navigation menu, convert it to single page links. This allows you to add, re-order, remove items, or edit their labels.')), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])("Note: if you add new pages to your site, you'll need to add them to your navigation menu.")), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_i18n_namespaceObject.__)('To edit this navigation menu, convert it to single page links. This allows you to add, re-order, remove items, or edit their labels.')), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)("Note: if you add new pages to your site, you'll need to add them to your navigation menu.")), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-page-list-modal-buttons"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "tertiary",
     onClick: onClose
-  }, Object(external_wp_i18n_["__"])('Cancel')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Cancel')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "primary",
     disabled: !pagesFinished,
     onClick: convertSelectedBlockToNavigationLinks({
       pages,
       replaceBlock,
       clientId,
-      createBlock: external_wp_blocks_["createBlock"]
+      createBlock: external_wp_blocks_namespaceObject.createBlock
     })
-  }, Object(external_wp_i18n_["__"])('Convert'))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Convert'))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/icons.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation-link/icons.js


 /**
  * WordPress dependencies
  */

-const icons_ItemSubmenuIcon = () => Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const icons_ItemSubmenuIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   width: "12",
   height: "12",
   viewBox: "0 0 12 12",
   fill: "none"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M1.50002 4L6.00002 8L10.5 4",
   strokeWidth: "1.5"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/page-list/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/page-list/edit.js


 /**
@@ -25535,45 +25636,45 @@ function PageListEdit(_ref) {
   } = usePageData();
   const isNavigationChild = ('showSubmenuIcon' in context);
   const allowConvertToLinks = isNavigationChild && totalPages <= edit_MAX_PAGE_COUNT;
-  const [isOpen, setOpen] = Object(external_wp_element_["useState"])(false);
+  const [isOpen, setOpen] = (0,external_wp_element_namespaceObject.useState)(false);

   const openModal = () => setOpen(true);

   const closeModal = () => setOpen(false);

-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()('wp-block-page-list', {
       'has-text-color': !!context.textColor,
-      [Object(external_wp_blockEditor_["getColorClassName"])('color', context.textColor)]: !!context.textColor,
+      [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', context.textColor)]: !!context.textColor,
       'has-background': !!context.backgroundColor,
-      [Object(external_wp_blockEditor_["getColorClassName"])('background-color', context.backgroundColor)]: !!context.backgroundColor
+      [(0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', context.backgroundColor)]: !!context.backgroundColor
     }),
     style: { ...((_context$style = context.style) === null || _context$style === void 0 ? void 0 : _context$style.color)
     }
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, allowConvertToLinks && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, allowConvertToLinks && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    title: Object(external_wp_i18n_["__"])('Edit'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Edit'),
     onClick: openModal
-  }, Object(external_wp_i18n_["__"])('Edit'))), allowConvertToLinks && isOpen && Object(external_wp_element_["createElement"])(ConvertToLinksModal, {
+  }, (0,external_wp_i18n_namespaceObject.__)('Edit'))), allowConvertToLinks && isOpen && (0,external_wp_element_namespaceObject.createElement)(ConvertToLinksModal, {
     onClose: closeModal,
     clientId: clientId
-  }), !hasResolvedPages && Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null))), hasResolvedPages && totalPages === null && Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
+  }), !hasResolvedPages && (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null))), hasResolvedPages && totalPages === null && (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Notice, {
     status: 'warning',
     isDismissible: false
-  }, Object(external_wp_i18n_["__"])('Page List: Cannot retrieve Pages.')))), totalPages === 0 && Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Page List: Cannot retrieve Pages.')))), totalPages === 0 && (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Notice, {
     status: 'info',
     isDismissible: false
-  }, Object(external_wp_i18n_["__"])('Page List: Cannot retrieve Pages.'))), totalPages > 0 && Object(external_wp_element_["createElement"])("ul", blockProps, Object(external_wp_element_["createElement"])(edit_PageItems, {
+  }, (0,external_wp_i18n_namespaceObject.__)('Page List: Cannot retrieve Pages.'))), totalPages > 0 && (0,external_wp_element_namespaceObject.createElement)("ul", blockProps, (0,external_wp_element_namespaceObject.createElement)(PageItems, {
     context: context,
     pagesByParentId: pagesByParentId
   })));
 }

 function useFrontPageId() {
-  return Object(external_wp_data_["useSelect"])(select => {
-    const site = select(external_wp_coreData_["store"]).getEntityRecord('root', 'site');
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const site = select(external_wp_coreData_namespaceObject.store).getEntityRecord('root', 'site');
     return (site === null || site === void 0 ? void 0 : site.show_on_front) === 'page' && (site === null || site === void 0 ? void 0 : site.page_on_front);
   }, []);
 }
@@ -25582,11 +25683,11 @@ function usePageData() {
   const {
     pages,
     hasResolvedPages
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEntityRecords,
       hasFinishedResolution
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     return {
       pages: getEntityRecords('postType', 'page', {
         orderby: 'menu_order',
@@ -25602,13 +25703,13 @@ function usePageData() {
       }])
     };
   }, []);
-  return Object(external_wp_element_["useMemo"])(() => {
+  return (0,external_wp_element_namespaceObject.useMemo)(() => {
     var _pages$length;

     // TODO: Once the REST API supports passing multiple values to
     // 'orderby', this can be removed.
     // https://core.trac.wordpress.org/ticket/39037
-    const sortedPages = Object(external_lodash_["sortBy"])(pages, ['menu_order', 'title.rendered']);
+    const sortedPages = (0,external_lodash_namespaceObject.sortBy)(pages, ['menu_order', 'title.rendered']);
     const pagesByParentId = sortedPages.reduce((accumulator, page) => {
       const {
         parent
@@ -25630,7 +25731,7 @@ function usePageData() {
   }, [pages, hasResolvedPages]);
 }

-const edit_PageItems = Object(external_wp_element_["memo"])(function PageItems(_ref2) {
+const PageItems = (0,external_wp_element_namespaceObject.memo)(function PageItems(_ref2) {
   let {
     context,
     pagesByParentId,
@@ -25649,7 +25750,7 @@ const edit_PageItems = Object(external_wp_element_["memo"])(function PageItems(_

     const hasChildren = pagesByParentId.has(page.id);
     const isNavigationChild = ('showSubmenuIcon' in context);
-    return Object(external_wp_element_["createElement"])("li", {
+    return (0,external_wp_element_namespaceObject.createElement)("li", {
       key: page.id,
       className: classnames_default()('wp-block-pages-list__item', {
         'has-child': hasChildren,
@@ -25658,18 +25759,18 @@ const edit_PageItems = Object(external_wp_element_["memo"])(function PageItems(_
         'open-on-hover-click': !context.openSubmenusOnClick && context.showSubmenuIcon,
         'menu-item-home': page.id === frontPageId
       })
-    }, hasChildren && context.openSubmenusOnClick ? Object(external_wp_element_["createElement"])(ItemSubmenuToggle, {
+    }, hasChildren && context.openSubmenusOnClick ? (0,external_wp_element_namespaceObject.createElement)(ItemSubmenuToggle, {
       title: (_page$title = page.title) === null || _page$title === void 0 ? void 0 : _page$title.rendered
-    }) : Object(external_wp_element_["createElement"])("a", {
+    }) : (0,external_wp_element_namespaceObject.createElement)("a", {
       className: classnames_default()('wp-block-pages-list__item__link', {
         'wp-block-navigation-item__content': isNavigationChild
       }),
       href: page.link
-    }, (_page$title2 = page.title) === null || _page$title2 === void 0 ? void 0 : _page$title2.rendered), hasChildren && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, !context.openSubmenusOnClick && context.showSubmenuIcon && Object(external_wp_element_["createElement"])(ItemSubmenuToggle, null), Object(external_wp_element_["createElement"])("ul", {
+    }, (_page$title2 = page.title) === null || _page$title2 === void 0 ? void 0 : _page$title2.rendered), hasChildren && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, !context.openSubmenusOnClick && context.showSubmenuIcon && (0,external_wp_element_namespaceObject.createElement)(ItemSubmenuToggle, null), (0,external_wp_element_namespaceObject.createElement)("ul", {
       className: classnames_default()('submenu-container', {
         'wp-block-navigation__submenu-container': isNavigationChild
       })
-    }, Object(external_wp_element_["createElement"])(PageItems, {
+    }, (0,external_wp_element_namespaceObject.createElement)(PageItems, {
       context: context,
       pagesByParentId: pagesByParentId,
       parentId: page.id,
@@ -25682,15 +25783,15 @@ function ItemSubmenuToggle(_ref3) {
   let {
     title
   } = _ref3;
-  return Object(external_wp_element_["createElement"])("button", {
+  return (0,external_wp_element_namespaceObject.createElement)("button", {
     className: "wp-block-navigation-item__content wp-block-navigation-submenu__toggle",
     "aria-expanded": "false"
-  }, title, Object(external_wp_element_["createElement"])("span", {
+  }, title, (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "wp-block-page-list__submenu-icon wp-block-navigation__submenu-icon"
-  }, Object(external_wp_element_["createElement"])(icons_ItemSubmenuIcon, null)));
+  }, (0,external_wp_element_namespaceObject.createElement)(icons_ItemSubmenuIcon, null)));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/page-list/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/page-list/index.js
 /**
  * WordPress dependencies
  */
@@ -25727,22 +25828,22 @@ const page_list_settings = {
   edit: PageListEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/paragraph.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/paragraph.js


 /**
  * WordPress dependencies
  */

-const paragraph = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const paragraph = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"
 }));
 /* harmony default export */ var library_paragraph = (paragraph);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/deprecated.js


 /**
@@ -25819,14 +25920,14 @@ const migrateCustomColorsAndFontSizes = attributes => {
     };
   }

-  return { ...Object(external_lodash_["omit"])(attributes, ['customTextColor', 'customBackgroundColor', 'customFontSize']),
+  return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['customTextColor', 'customBackgroundColor', 'customFontSize']),
     style
   };
 };

 const paragraph_deprecated_deprecated = [{
   supports,
-  attributes: { ...Object(external_lodash_["omit"])(paragraph_deprecated_blockAttributes, ['style']),
+  attributes: { ...(0,external_lodash_namespaceObject.omit)(paragraph_deprecated_blockAttributes, ['style']),
     customTextColor: {
       type: 'string'
     },
@@ -25855,9 +25956,9 @@ const paragraph_deprecated_deprecated = [{
       customFontSize,
       direction
     } = attributes;
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
-    const fontSizeClass = Object(external_wp_blockEditor_["getFontSizeClass"])(fontSize);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
+    const fontSizeClass = (0,external_wp_blockEditor_namespaceObject.getFontSizeClass)(fontSize);
     const className = classnames_default()({
       'has-text-color': textColor || customTextColor,
       'has-background': backgroundColor || customBackgroundColor,
@@ -25872,7 +25973,7 @@ const paragraph_deprecated_deprecated = [{
       color: textClass ? undefined : customTextColor,
       fontSize: fontSizeClass ? undefined : customFontSize
     };
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "p",
       style: styles,
       className: className ? className : undefined,
@@ -25883,7 +25984,7 @@ const paragraph_deprecated_deprecated = [{

 }, {
   supports,
-  attributes: { ...Object(external_lodash_["omit"])(paragraph_deprecated_blockAttributes, ['style']),
+  attributes: { ...(0,external_lodash_namespaceObject.omit)(paragraph_deprecated_blockAttributes, ['style']),
     customTextColor: {
       type: 'string'
     },
@@ -25912,9 +26013,9 @@ const paragraph_deprecated_deprecated = [{
       customFontSize,
       direction
     } = attributes;
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
-    const fontSizeClass = Object(external_wp_blockEditor_["getFontSizeClass"])(fontSize);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
+    const fontSizeClass = (0,external_wp_blockEditor_namespaceObject.getFontSizeClass)(fontSize);
     const className = classnames_default()({
       'has-text-color': textColor || customTextColor,
       'has-background': backgroundColor || customBackgroundColor,
@@ -25929,7 +26030,7 @@ const paragraph_deprecated_deprecated = [{
       fontSize: fontSizeClass ? undefined : customFontSize,
       textAlign: align
     };
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "p",
       style: styles,
       className: className ? className : undefined,
@@ -25940,7 +26041,7 @@ const paragraph_deprecated_deprecated = [{

 }, {
   supports,
-  attributes: { ...Object(external_lodash_["omit"])(paragraph_deprecated_blockAttributes, ['style']),
+  attributes: { ...(0,external_lodash_namespaceObject.omit)(paragraph_deprecated_blockAttributes, ['style']),
     customTextColor: {
       type: 'string'
     },
@@ -25972,8 +26073,8 @@ const paragraph_deprecated_deprecated = [{
       fontSize,
       customFontSize
     } = attributes;
-    const textClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const textClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
     const fontSizeClass = fontSize && `is-${fontSize}-text`;
     const className = classnames_default()({
       [`align${width}`]: width,
@@ -25989,7 +26090,7 @@ const paragraph_deprecated_deprecated = [{
       fontSize: fontSizeClass ? undefined : customFontSize,
       textAlign: align
     };
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "p",
       style: styles,
       className: className ? className : undefined,
@@ -25999,7 +26100,7 @@ const paragraph_deprecated_deprecated = [{

 }, {
   supports,
-  attributes: Object(external_lodash_["omit"])({ ...paragraph_deprecated_blockAttributes,
+  attributes: (0,external_lodash_namespaceObject.omit)({ ...paragraph_deprecated_blockAttributes,
     fontSize: {
       type: 'number'
     }
@@ -26029,15 +26130,15 @@ const paragraph_deprecated_deprecated = [{
       fontSize,
       textAlign: align
     };
-    return Object(external_wp_element_["createElement"])("p", {
+    return (0,external_wp_element_namespaceObject.createElement)("p", {
       style: styles,
       className: className ? className : undefined
     }, content);
   },

   migrate(attributes) {
-    return migrateCustomColorsAndFontSizes(Object(external_lodash_["omit"])({ ...attributes,
-      customFontSize: Object(external_lodash_["isFinite"])(attributes.fontSize) ? attributes.fontSize : undefined,
+    return migrateCustomColorsAndFontSizes((0,external_lodash_namespaceObject.omit)({ ...attributes,
+      customFontSize: (0,external_lodash_namespaceObject.isFinite)(attributes.fontSize) ? attributes.fontSize : undefined,
       customTextColor: attributes.textColor && '#' === attributes.textColor[0] ? attributes.textColor : undefined,
       customBackgroundColor: attributes.backgroundColor && '#' === attributes.backgroundColor[0] ? attributes.backgroundColor : undefined
     }), ['fontSize', 'textColor', 'backgroundColor', 'style']);
@@ -26057,7 +26158,7 @@ const paragraph_deprecated_deprecated = [{
     let {
       attributes
     } = _ref5;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, attributes.content);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, attributes.content);
   },

   migrate(attributes) {
@@ -26067,22 +26168,22 @@ const paragraph_deprecated_deprecated = [{
 }];
 /* harmony default export */ var paragraph_deprecated = (paragraph_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-ltr.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-ltr.js


 /**
  * WordPress dependencies
  */

-const formatLtr = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatLtr = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "-2 -2 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"
 }));
 /* harmony default export */ var format_ltr = (formatLtr);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/edit.js



@@ -26106,10 +26207,10 @@ function ParagraphRTLControl(_ref) {
     direction,
     setDirection
   } = _ref;
-  return Object(external_wp_i18n_["isRTL"])() && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarDropdownMenu"], {
+  return (0,external_wp_i18n_namespaceObject.isRTL)() && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarDropdownMenu, {
     controls: [{
       icon: format_ltr,
-      title: Object(external_wp_i18n_["_x"])('Left to right', 'editor button'),
+      title: (0,external_wp_i18n_namespaceObject._x)('Left to right', 'editor button'),
       isActive: direction === 'ltr',

       onClick() {
@@ -26136,8 +26237,8 @@ function ParagraphBlock(_ref2) {
     dropCap,
     placeholder
   } = attributes;
-  const isDropCapFeatureEnabled = Object(external_wp_blockEditor_["useSetting"])('typography.dropCap');
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const isDropCapFeatureEnabled = (0,external_wp_blockEditor_namespaceObject.useSetting)('typography.dropCap');
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       'has-drop-cap': dropCap,
       [`has-text-align-${align}`]: align
@@ -26146,28 +26247,28 @@ function ParagraphBlock(_ref2) {
       direction
     }
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: align,
     onChange: newAlign => setAttributes({
       align: newAlign
     })
-  }), Object(external_wp_element_["createElement"])(ParagraphRTLControl, {
+  }), (0,external_wp_element_namespaceObject.createElement)(ParagraphRTLControl, {
     direction: direction,
     setDirection: newDirection => setAttributes({
       direction: newDirection
     })
-  })), isDropCapFeatureEnabled && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Text settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Drop cap'),
+  })), isDropCapFeatureEnabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Text settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Drop cap'),
     checked: !!dropCap,
     onChange: () => setAttributes({
       dropCap: !dropCap
     }),
-    help: dropCap ? Object(external_wp_i18n_["__"])('Showing large initial letter.') : Object(external_wp_i18n_["__"])('Toggle to show a large initial letter.')
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], Object(esm_extends["a" /* default */])({
+    help: dropCap ? (0,external_wp_i18n_namespaceObject.__)('Showing large initial letter.') : (0,external_wp_i18n_namespaceObject.__)('Toggle to show a large initial letter.')
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, _extends({
     identifier: "content",
     tagName: "p"
   }, blockProps, {
@@ -26184,7 +26285,7 @@ function ParagraphBlock(_ref2) {
         };
       }

-      const block = Object(external_wp_blocks_["createBlock"])(paragraph_edit_name, newAttributes);
+      const block = (0,external_wp_blocks_namespaceObject.createBlock)(paragraph_edit_name, newAttributes);

       if (isOriginal) {
         block.clientId = clientId;
@@ -26195,9 +26296,9 @@ function ParagraphBlock(_ref2) {
     onMerge: mergeBlocks,
     onReplace: onReplace,
     onRemove: onRemove,
-    "aria-label": content ? Object(external_wp_i18n_["__"])('Paragraph block') : Object(external_wp_i18n_["__"])('Empty block; start writing or type forward slash to choose a block'),
+    "aria-label": content ? (0,external_wp_i18n_namespaceObject.__)('Paragraph block') : (0,external_wp_i18n_namespaceObject.__)('Empty block; start writing or type forward slash to choose a block'),
     "data-empty": content ? false : true,
-    placeholder: placeholder || Object(external_wp_i18n_["__"])('Type / to choose a block'),
+    placeholder: placeholder || (0,external_wp_i18n_namespaceObject.__)('Type / to choose a block'),
     __unstableEmbedURLOnPaste: true,
     __unstableAllowPrefixTransformations: true
   })));
@@ -26205,7 +26306,7 @@ function ParagraphBlock(_ref2) {

 /* harmony default export */ var paragraph_edit = (ParagraphBlock);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/save.js


 /**
@@ -26231,15 +26332,15 @@ function paragraph_save_save(_ref) {
     'has-drop-cap': dropCap,
     [`has-text-align-${align}`]: align
   });
-  return Object(external_wp_element_["createElement"])("p", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("p", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className,
     dir: direction
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     value: content
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/transforms.js
 /**
  * WordPress dependencies
  */
@@ -26324,7 +26425,7 @@ const paragraph_transforms_transforms = {
     },

     transform(node) {
-      const attributes = Object(external_wp_blocks_["getBlockAttributes"])(paragraph_transforms_name, node.outerHTML);
+      const attributes = (0,external_wp_blocks_namespaceObject.getBlockAttributes)(paragraph_transforms_name, node.outerHTML);
       const {
         textAlign
       } = node.style || {};
@@ -26333,14 +26434,14 @@ const paragraph_transforms_transforms = {
         attributes.align = textAlign;
       }

-      return Object(external_wp_blocks_["createBlock"])(paragraph_transforms_name, attributes);
+      return (0,external_wp_blocks_namespaceObject.createBlock)(paragraph_transforms_name, attributes);
     }

   }]
 };
 /* harmony default export */ var paragraph_transforms = (paragraph_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/paragraph/index.js
 /**
  * External dependencies
  */
@@ -26421,7 +26522,7 @@ const paragraph_settings = {
   icon: library_paragraph,
   example: {
     attributes: {
-      content: Object(external_wp_i18n_["__"])('In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.'),
+      content: (0,external_wp_i18n_namespaceObject.__)('In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.'),
       style: {
         typography: {
           fontSize: 28
@@ -26440,7 +26541,7 @@ const paragraph_settings = {
       const {
         content
       } = attributes;
-      return Object(external_lodash_["isEmpty"])(content) ? Object(external_wp_i18n_["__"])('Empty') : content;
+      return (0,external_lodash_namespaceObject.isEmpty)(content) ? (0,external_wp_i18n_namespaceObject.__)('Empty') : content;
     }
   },

@@ -26457,7 +26558,7 @@ const paragraph_settings = {
   save: paragraph_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-author/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-author/edit.js


 /**
@@ -26491,14 +26592,14 @@ function PostAuthorEdit(_ref) {
     authorId,
     authorDetails,
     authors
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getEditedEntityRecor;

     const {
       getEditedEntityRecord,
       getUser,
       getUsers
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);

     const _authorId = (_getEditedEntityRecor = getEditedEntityRecord('postType', postType, postId)) === null || _getEditedEntityRecor === void 0 ? void 0 : _getEditedEntityRecor.author;

@@ -26512,7 +26613,7 @@ function PostAuthorEdit(_ref) {
   }, [postType, postId]);
   const {
     editEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
   const {
     textAlign,
     showAvatar,
@@ -26522,7 +26623,7 @@ function PostAuthorEdit(_ref) {
   const avatarSizes = [];

   if (authorDetails) {
-    Object(external_lodash_["forEach"])(authorDetails.avatar_urls, (url, size) => {
+    (0,external_lodash_namespaceObject.forEach)(authorDetails.avatar_urls, (url, size) => {
       avatarSizes.push({
         value: size,
         label: `${size} x ${size}`
@@ -26530,15 +26631,15 @@ function PostAuthorEdit(_ref) {
     });
   }

-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     })
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Author Settings')
-  }, !isDescendentOfQueryLoop && !!(authors !== null && authors !== void 0 && authors.length) && Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Author'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Author Settings')
+  }, !isDescendentOfQueryLoop && !!(authors !== null && authors !== void 0 && authors.length) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Author'),
     value: authorId,
     options: authors.map(_ref2 => {
       let {
@@ -26555,14 +26656,14 @@ function PostAuthorEdit(_ref) {
         author: nextAuthorId
       });
     }
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show avatar'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show avatar'),
     checked: showAvatar,
     onChange: () => setAttributes({
       showAvatar: !showAvatar
     })
-  }), showAvatar && Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Avatar size'),
+  }), showAvatar && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Avatar size'),
     value: attributes.avatarSize,
     options: avatarSizes,
     onChange: size => {
@@ -26570,65 +26671,65 @@ function PostAuthorEdit(_ref) {
         avatarSize: Number(size)
       });
     }
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show bio'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show bio'),
     checked: showBio,
     onChange: () => setAttributes({
       showBio: !showBio
     })
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])("div", blockProps, showAvatar && authorDetails && Object(external_wp_element_["createElement"])("div", {
+  })), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, showAvatar && authorDetails && (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-post-author__avatar"
-  }, Object(external_wp_element_["createElement"])("img", {
+  }, (0,external_wp_element_namespaceObject.createElement)("img", {
     width: attributes.avatarSize,
     src: authorDetails.avatar_urls[attributes.avatarSize],
     alt: authorDetails.name
-  })), Object(external_wp_element_["createElement"])("div", {
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-post-author__content"
-  }, (!external_wp_blockEditor_["RichText"].isEmpty(byline) || isSelected) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }, (!external_wp_blockEditor_namespaceObject.RichText.isEmpty(byline) || isSelected) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     className: "wp-block-post-author__byline",
     multiline: false,
-    "aria-label": Object(external_wp_i18n_["__"])('Post author byline text'),
-    placeholder: Object(external_wp_i18n_["__"])('Write byline…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Post author byline text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write byline…'),
     value: byline,
     onChange: value => setAttributes({
       byline: value
     })
-  }), Object(external_wp_element_["createElement"])("p", {
+  }), (0,external_wp_element_namespaceObject.createElement)("p", {
     className: "wp-block-post-author__name"
-  }, (authorDetails === null || authorDetails === void 0 ? void 0 : authorDetails.name) || Object(external_wp_i18n_["__"])('Post Author')), showBio && Object(external_wp_element_["createElement"])("p", {
+  }, (authorDetails === null || authorDetails === void 0 ? void 0 : authorDetails.name) || (0,external_wp_i18n_namespaceObject.__)('Post Author')), showBio && (0,external_wp_element_namespaceObject.createElement)("p", {
     className: "wp-block-post-author__bio"
   }, authorDetails === null || authorDetails === void 0 ? void 0 : authorDetails.description))));
 }

 /* harmony default export */ var post_author_edit = (PostAuthorEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-author.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-author.js


 /**
  * WordPress dependencies
  */

-const postAuthor = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const postAuthor = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z",
   fillRule: "evenodd",
   clipRule: "evenodd"
 }));
 /* harmony default export */ var post_author = (postAuthor);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-author/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-author/index.js
 /**
  * Internal dependencies
  */
@@ -26700,22 +26801,22 @@ const post_author_settings = {
   edit: post_author_edit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-comments.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-comments.js


 /**
  * WordPress dependencies
  */

-const postComments = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const postComments = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"
 }));
 /* harmony default export */ var post_comments = (postComments);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-comments/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-comments/edit.js


 /**
@@ -26736,15 +26837,15 @@ function PostCommentsDisplay(_ref) {
   let {
     postId
   } = _ref;
-  return Object(external_wp_data_["useSelect"])(select => {
-    const comments = select(external_wp_coreData_["store"]).getEntityRecords('root', 'comment', {
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const comments = select(external_wp_coreData_namespaceObject.store).getEntityRecords('root', 'comment', {
       post: postId
     }); // TODO: "No Comments" placeholder should be editable.

-    return comments && comments.length ? comments.map(comment => Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], {
+    return comments && comments.length ? comments.map(comment => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, {
       className: "wp-block-post-comments__comment",
       key: comment.id
-    }, comment.content.rendered)) : Object(external_wp_i18n_["__"])('No comments.');
+    }, comment.content.rendered)) : (0,external_wp_i18n_namespaceObject.__)('No comments.');
   }, [postId]);
 }

@@ -26761,31 +26862,31 @@ function PostCommentsEdit(_ref2) {
   const {
     textAlign
   } = attributes;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     })
   });

   if (!postType || !postId) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('Post comments block: no post found.')));
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('Post comments block: no post found.')));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(PostCommentsDisplay, {
+  })), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(PostCommentsDisplay, {
     postId: postId
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-comments/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-comments/index.js
 /**
  * WordPress dependencies
  */
@@ -26838,22 +26939,22 @@ const post_comments_settings = {
   edit: PostCommentsEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-content.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-content.js


 /**
  * WordPress dependencies
  */

-const postContent = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const postContent = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "https://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 20h16v-1.5H4V20zm0-4.8h16v-1.5H4v1.5zm0-6.4v1.5h16V8.8H4zM16 4H4v1.5h12V4z"
 }));
 /* harmony default export */ var post_content = (postContent);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/hooks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/utils/hooks.js
 /**
  * WordPress dependencies
  */
@@ -26868,13 +26969,13 @@ const postContent = Object(external_wp_element_["createElement"])(external_wp_pr
  */

 function useCanEditEntity(kind, name, recordId) {
-  return Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).canUserEditEntityRecord(kind, name, recordId), [kind, name, recordId]);
+  return (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).canUserEditEntityRecord(kind, name, recordId), [kind, name, recordId]);
 }
 /* harmony default export */ var hooks = ({
   useCanEditEntity
 });

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-content/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-content/edit.js


 /**
@@ -26897,9 +26998,9 @@ function ReadOnlyContent(_ref) {
     postType,
     postId
   } = _ref;
-  const [,, content] = Object(external_wp_coreData_["useEntityProp"])('postType', postType, 'content', postId);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  return content !== null && content !== void 0 && content.protected && !userCanEdit ? Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('This content is password protected.'))) : Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], {
+  const [,, content] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', postType, 'content', postId);
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  return content !== null && content !== void 0 && content.protected && !userCanEdit ? (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('This content is password protected.'))) : (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, {
     key: "html"
   }, content === null || content === void 0 ? void 0 : content.rendered));
 }
@@ -26913,20 +27014,20 @@ function EditableContent(_ref2) {
     postType,
     postId
   } = context;
-  const themeSupportsLayout = Object(external_wp_data_["useSelect"])(select => {
+  const themeSupportsLayout = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getSettings;

     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     return (_getSettings = getSettings()) === null || _getSettings === void 0 ? void 0 : _getSettings.supportsLayout;
   }, []);
-  const defaultLayout = Object(external_wp_blockEditor_["useSetting"])('layout') || {};
+  const defaultLayout = (0,external_wp_blockEditor_namespaceObject.useSetting)('layout') || {};
   const usedLayout = !!layout && layout.inherit ? defaultLayout : layout;
-  const [blocks, onInput, onChange] = Object(external_wp_coreData_["useEntityBlockEditor"])('postType', postType, {
+  const [blocks, onInput, onChange] = (0,external_wp_coreData_namespaceObject.useEntityBlockEditor)('postType', postType, {
     id: postId
   });
-  const props = Object(external_wp_blockEditor_["useInnerBlocksProps"])(Object(external_wp_blockEditor_["useBlockProps"])({
+  const props = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)((0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: 'entry-content'
   }), {
     value: blocks,
@@ -26934,7 +27035,7 @@ function EditableContent(_ref2) {
     onChange,
     __experimentalLayout: themeSupportsLayout ? usedLayout : undefined
   });
-  return Object(external_wp_element_["createElement"])("div", props);
+  return (0,external_wp_element_namespaceObject.createElement)("div", props);
 }

 function Content(props) {
@@ -26948,7 +27049,7 @@ function Content(props) {
   const isDescendentOfQueryLoop = Number.isFinite(queryId);
   const userCanEdit = useCanEditEntity('postType', postType, postId);
   const isEditable = userCanEdit && !isDescendentOfQueryLoop;
-  return isEditable ? Object(external_wp_element_["createElement"])(EditableContent, props) : Object(external_wp_element_["createElement"])(ReadOnlyContent, {
+  return isEditable ? (0,external_wp_element_namespaceObject.createElement)(EditableContent, props) : (0,external_wp_element_namespaceObject.createElement)(ReadOnlyContent, {
     userCanEdit: userCanEdit,
     postType: postType,
     postId: postId
@@ -26956,13 +27057,13 @@ function Content(props) {
 }

 function edit_Placeholder() {
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('Post Content')));
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('Post Content')));
 }

 function RecursionError() {
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('Block cannot be rendered inside itself.')));
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('Block cannot be rendered inside itself.')));
 }

 function PostContentEdit(_ref3) {
@@ -26977,19 +27078,19 @@ function PostContentEdit(_ref3) {
   const {
     layout = {}
   } = attributes;
-  const [hasAlreadyRendered, RecursionProvider] = Object(external_wp_blockEditor_["__experimentalUseNoRecursiveRenders"])(contextPostId);
+  const [hasAlreadyRendered, RecursionProvider] = (0,external_wp_blockEditor_namespaceObject.__experimentalUseNoRecursiveRenders)(contextPostId);

   if (contextPostId && contextPostType && hasAlreadyRendered) {
-    return Object(external_wp_element_["createElement"])(RecursionError, null);
+    return (0,external_wp_element_namespaceObject.createElement)(RecursionError, null);
   }

-  return Object(external_wp_element_["createElement"])(RecursionProvider, null, contextPostId && contextPostType ? Object(external_wp_element_["createElement"])(Content, {
+  return (0,external_wp_element_namespaceObject.createElement)(RecursionProvider, null, contextPostId && contextPostType ? (0,external_wp_element_namespaceObject.createElement)(Content, {
     context: context,
     layout: layout
-  }) : Object(external_wp_element_["createElement"])(edit_Placeholder, null));
+  }) : (0,external_wp_element_namespaceObject.createElement)(edit_Placeholder, null));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-content/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-content/index.js
 /**
  * WordPress dependencies
  */
@@ -27023,24 +27124,24 @@ const post_content_settings = {
   edit: PostContentEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-date.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-date.js


 /**
  * WordPress dependencies
  */

-const post_date_postDate = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const postDate = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"
 }));
-/* harmony default export */ var post_date = (post_date_postDate);
+/* harmony default export */ var post_date = (postDate);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-date/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-date/edit.js


 /**
@@ -27074,10 +27175,10 @@ function PostDateEdit(_ref) {
     setAttributes
   } = _ref;
   const isDescendentOfQueryLoop = Number.isFinite(queryId);
-  const [siteFormat] = Object(external_wp_coreData_["useEntityProp"])('root', 'site', 'date_format');
-  const [date, setDate] = Object(external_wp_coreData_["useEntityProp"])('postType', postType, 'date', postId);
+  const [siteFormat] = (0,external_wp_coreData_namespaceObject.useEntityProp)('root', 'site', 'date_format');
+  const [date, setDate] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', postType, 'date', postId);

-  const settings = Object(external_wp_date_["__experimentalGetSettings"])(); // To know if the current time format is a 12 hour time, look for "a".
+  const settings = (0,external_wp_date_namespaceObject.__experimentalGetSettings)(); // To know if the current time format is a 12 hour time, look for "a".
   // Also make sure this "a" is not escaped by a "/".


@@ -27087,41 +27188,41 @@ function PostDateEdit(_ref) {
   );
   const formatOptions = Object.values(settings.formats).map(formatOption => ({
     key: formatOption,
-    name: Object(external_wp_date_["dateI18n"])(formatOption, date)
+    name: (0,external_wp_date_namespaceObject.dateI18n)(formatOption, date)
   }));
   const resolvedFormat = format || siteFormat || settings.formats.date;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     })
   });
-  const timeRef = Object(external_wp_element_["useRef"])();
-  let postDate = date ? Object(external_wp_element_["createElement"])("time", {
-    dateTime: Object(external_wp_date_["dateI18n"])('c', date),
+  const timeRef = (0,external_wp_element_namespaceObject.useRef)();
+  let postDate = date ? (0,external_wp_element_namespaceObject.createElement)("time", {
+    dateTime: (0,external_wp_date_namespaceObject.dateI18n)('c', date),
     ref: timeRef
-  }, Object(external_wp_date_["dateI18n"])(resolvedFormat, date)) : Object(external_wp_i18n_["__"])('Post Date');
+  }, (0,external_wp_date_namespaceObject.dateI18n)(resolvedFormat, date)) : (0,external_wp_i18n_namespaceObject.__)('Post Date');

   if (isLink && date) {
-    postDate = Object(external_wp_element_["createElement"])("a", {
+    postDate = (0,external_wp_element_namespaceObject.createElement)("a", {
       href: "#post-date-pseudo-link",
       onClick: event => event.preventDefault()
     }, postDate);
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  }), date && !isDescendentOfQueryLoop && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
+  }), date && !isDescendentOfQueryLoop && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
     popoverProps: {
       anchorRef: timeRef.current
     },
-    renderContent: () => Object(external_wp_element_["createElement"])(external_wp_components_["DateTimePicker"], {
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DateTimePicker, {
       currentDate: date,
       onChange: setDate,
       is12Hour: is12Hour
@@ -27133,25 +27234,25 @@ function PostDateEdit(_ref) {
       } = _ref2;

       const openOnArrowDown = event => {
-        if (!isOpen && event.keyCode === external_wp_keycodes_["DOWN"]) {
+        if (!isOpen && event.keyCode === external_wp_keycodes_namespaceObject.DOWN) {
           event.preventDefault();
           onToggle();
         }
       };

-      return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
         "aria-expanded": isOpen,
-        icon: library_edit["a" /* default */],
-        title: Object(external_wp_i18n_["__"])('Change Date'),
+        icon: library_edit,
+        title: (0,external_wp_i18n_namespaceObject.__)('Change Date'),
         onClick: onToggle,
         onKeyDown: openOnArrowDown
       });
     }
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Format settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["CustomSelectControl"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Format settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CustomSelectControl, {
     hideLabelFromVision: true,
-    label: Object(external_wp_i18n_["__"])('Date Format'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Date Format'),
     options: formatOptions,
     onChange: _ref3 => {
       let {
@@ -27162,19 +27263,19 @@ function PostDateEdit(_ref) {
       });
     },
     value: formatOptions.find(option => option.key === resolvedFormat)
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Link settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["sprintf"])( // translators: %s: Name of the post type e.g: "post".
-    Object(external_wp_i18n_["__"])('Link to %s'), postType),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Link settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: Name of the post type e.g: "post".
+    (0,external_wp_i18n_namespaceObject.__)('Link to %s'), postType),
     onChange: () => setAttributes({
       isLink: !isLink
     }),
     checked: isLink
-  }))), Object(external_wp_element_["createElement"])("div", blockProps, postDate));
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, postDate));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-date/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-date/deprecated.js
 /**
  * Internal dependencies
  */
@@ -27236,7 +27337,7 @@ const post_date_deprecated_v1 = {

 /* harmony default export */ var post_date_deprecated = ([post_date_deprecated_v1]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-date/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-date/index.js
 /**
  * WordPress dependencies
  */
@@ -27297,22 +27398,22 @@ const post_date_settings = {
   deprecated: post_date_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-excerpt.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-excerpt.js


 /**
  * WordPress dependencies
  */

-const post_excerpt_postExcerpt = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const postExcerpt = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.75 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.395.395 0 00.199-.166c.05-.083.114-.253.114-.584V7.2H8.8V4h3.95v5.333zM7.95 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.394.394 0 00.198-.166c.05-.083.115-.253.115-.584V7.2H4V4h3.95v5.333zM13 20H4v-1.5h9V20zM20 16H4v-1.5h16V16z"
 }));
-/* harmony default export */ var post_excerpt = (post_excerpt_postExcerpt);
+/* harmony default export */ var post_excerpt = (postExcerpt);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-excerpt/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-excerpt/edit.js


 /**
@@ -27354,8 +27455,8 @@ function PostExcerptEditor(_ref) {
   const [rawExcerpt, setExcerpt, {
     rendered: renderedExcerpt,
     protected: isProtected
-  } = {}] = Object(external_wp_coreData_["useEntityProp"])('postType', postType, 'excerpt', postId);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  } = {}] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', postType, 'excerpt', postId);
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     })
@@ -27366,58 +27467,58 @@ function PostExcerptEditor(_ref) {
    * excerpt has been produced from the content.
    */

-  const strippedRenderedExcerpt = Object(external_wp_element_["useMemo"])(() => {
+  const strippedRenderedExcerpt = (0,external_wp_element_namespaceObject.useMemo)(() => {
     if (!renderedExcerpt) return '';
     const document = new window.DOMParser().parseFromString(renderedExcerpt, 'text/html');
     return document.body.textContent || document.body.innerText || '';
   }, [renderedExcerpt]);

   if (!postType || !postId) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_i18n_["__"])('Post Excerpt'));
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_i18n_namespaceObject.__)('Post Excerpt'));
   }

   if (isProtected && !userCanEdit) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('There is no excerpt because this is a protected post.')));
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('There is no excerpt because this is a protected post.')));
   }

-  const readMoreLink = Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  const readMoreLink = (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     className: "wp-block-post-excerpt__more-link",
     tagName: "a",
-    "aria-label": Object(external_wp_i18n_["__"])('"Read more" link text'),
-    placeholder: Object(external_wp_i18n_["__"])('Add "read more" link text'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('"Read more" link text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Add "read more" link text'),
     value: moreText,
     onChange: newMoreText => setAttributes({
       moreText: newMoreText
     }),
     withoutInteractiveFormatting: true
   });
-  const excerptContent = isEditable ? Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  const excerptContent = isEditable ? (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     className: !showMoreOnNewLine && 'wp-block-post-excerpt__excerpt is-inline',
-    "aria-label": Object(external_wp_i18n_["__"])('Post excerpt text'),
-    value: rawExcerpt || strippedRenderedExcerpt || (isSelected ? '' : Object(external_wp_i18n_["__"])('No post excerpt found')),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Post excerpt text'),
+    value: rawExcerpt || strippedRenderedExcerpt || (isSelected ? '' : (0,external_wp_i18n_namespaceObject.__)('No post excerpt found')),
     onChange: setExcerpt
-  }) : renderedExcerpt && Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], null, Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], {
+  }) : renderedExcerpt && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, {
     key: "html"
-  }, renderedExcerpt)) || Object(external_wp_i18n_["__"])('No post excerpt found');
-  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_blockEditor_["AlignmentToolbar"], {
+  }, renderedExcerpt)) || (0,external_wp_i18n_namespaceObject.__)('No post excerpt found');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentToolbar, {
     value: textAlign,
     onChange: newAlign => setAttributes({
       textAlign: newAlign
     })
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Post Excerpt Settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show link on new line'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Post Excerpt Settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show link on new line'),
     checked: showMoreOnNewLine,
     onChange: newShowMoreOnNewLine => setAttributes({
       showMoreOnNewLine: newShowMoreOnNewLine
     })
-  }))), Object(external_wp_element_["createElement"])("div", blockProps, excerptContent, !showMoreOnNewLine && ' ', showMoreOnNewLine ? Object(external_wp_element_["createElement"])("p", {
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, excerptContent, !showMoreOnNewLine && ' ', showMoreOnNewLine ? (0,external_wp_element_namespaceObject.createElement)("p", {
     className: "wp-block-post-excerpt__more-text"
   }, readMoreLink) : readMoreLink));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-excerpt/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-excerpt/index.js
 /**
  * WordPress dependencies
  */
@@ -27481,22 +27582,22 @@ const post_excerpt_settings = {
   edit: PostExcerptEditor
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-featured-image.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-featured-image.js


 /**
  * WordPress dependencies
  */

-const postFeaturedImage = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const postFeaturedImage = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"
 }));
 /* harmony default export */ var post_featured_image = (postFeaturedImage);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-featured-image/dimension-controls.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-featured-image/dimension-controls.js


 /**
@@ -27505,21 +27606,21 @@ const postFeaturedImage = Object(external_wp_element_["createElement"])(external



-const SCALE_OPTIONS = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
+const SCALE_OPTIONS = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
   value: "cover",
-  label: Object(external_wp_i18n_["_x"])('Cover', 'Scale option for Image dimension control')
-}), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
+  label: (0,external_wp_i18n_namespaceObject._x)('Cover', 'Scale option for Image dimension control')
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
   value: "contain",
-  label: Object(external_wp_i18n_["_x"])('Contain', 'Scale option for Image dimension control')
-}), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
+  label: (0,external_wp_i18n_namespaceObject._x)('Contain', 'Scale option for Image dimension control')
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
   value: "fill",
-  label: Object(external_wp_i18n_["_x"])('Fill', 'Scale option for Image dimension control')
+  label: (0,external_wp_i18n_namespaceObject._x)('Fill', 'Scale option for Image dimension control')
 }));
 const DEFAULT_SCALE = 'cover';
 const scaleHelp = {
-  cover: Object(external_wp_i18n_["__"])('Image is scaled and cropped to fill the entire space without being distorted.'),
-  contain: Object(external_wp_i18n_["__"])('Image is scaled to fill the space without clipping nor distorting.'),
-  fill: Object(external_wp_i18n_["__"])('Image will be stretched and distorted to completely fill the space.')
+  cover: (0,external_wp_i18n_namespaceObject.__)('Image is scaled and cropped to fill the entire space without being distorted.'),
+  contain: (0,external_wp_i18n_namespaceObject.__)('Image is scaled to fill the space without clipping nor distorting.'),
+  fill: (0,external_wp_i18n_namespaceObject.__)('Image will be stretched and distorted to completely fill the space.')
 };

 const DimensionControls = _ref => {
@@ -27533,8 +27634,8 @@ const DimensionControls = _ref => {
     setAttributes
   } = _ref;
   const defaultUnits = ['px', '%', 'vw', 'em', 'rem'];
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-    availableUnits: Object(external_wp_blockEditor_["useSetting"])('spacing.units') || defaultUnits
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: (0,external_wp_blockEditor_namespaceObject.useSetting)('spacing.units') || defaultUnits
   });

   const onDimensionChange = (dimension, nextValue) => {
@@ -27551,14 +27652,14 @@ const DimensionControls = _ref => {
     });
   };

-  const scaleLabel = Object(external_wp_i18n_["_x"])('Scale', 'Image scaling options');
+  const scaleLabel = (0,external_wp_i18n_namespaceObject._x)('Scale', 'Image scaling options');

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, {
     __experimentalGroup: "dimensions"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
     className: "single-column",
     hasValue: () => !!height,
-    label: Object(external_wp_i18n_["__"])('Height'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Height'),
     onDeselect: () => setAttributes({
       height: undefined
     }),
@@ -27567,17 +27668,17 @@ const DimensionControls = _ref => {
     }),
     isShownByDefault: true,
     panelId: clientId
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
-    label: Object(external_wp_i18n_["__"])('Height'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Height'),
     labelPosition: "top",
     value: height || '',
     min: 0,
     onChange: nextHeight => onDimensionChange('height', nextHeight),
     units: units
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
     className: "single-column",
     hasValue: () => !!width,
-    label: Object(external_wp_i18n_["__"])('Width'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Width'),
     onDeselect: () => setAttributes({
       width: undefined
     }),
@@ -27586,14 +27687,14 @@ const DimensionControls = _ref => {
     }),
     isShownByDefault: true,
     panelId: clientId
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
-    label: Object(external_wp_i18n_["__"])('Width'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Width'),
     labelPosition: "top",
     value: width || '',
     min: 0,
     onChange: nextWidth => onDimensionChange('width', nextWidth),
     units: units
-  })), !!height && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
+  })), !!height && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
     hasValue: () => !!scale && scale !== DEFAULT_SCALE,
     label: scaleLabel,
     onDeselect: () => setAttributes({
@@ -27604,7 +27705,7 @@ const DimensionControls = _ref => {
     }),
     isShownByDefault: true,
     panelId: clientId
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControl, {
     label: scaleLabel,
     value: scale,
     help: scaleHelp[scale],
@@ -27617,7 +27718,7 @@ const DimensionControls = _ref => {

 /* harmony default export */ var dimension_controls = (DimensionControls);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-featured-image/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-featured-image/edit.js


 /**
@@ -27636,18 +27737,18 @@ const DimensionControls = _ref => {
  */


-const placeholderIllustration = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const placeholderIllustration = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   className: "components-placeholder__illustration",
   fill: "none",
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 60 60",
   preserveAspectRatio: "none"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   vectorEffect: "non-scaling-stroke",
   d: "M60 60 0 0"
 }));
 const post_featured_image_edit_ALLOWED_MEDIA_TYPES = ['image'];
-const placeholderChip = Object(external_wp_element_["createElement"])("div", {
+const placeholderChip = (0,external_wp_element_namespaceObject.createElement)("div", {
   className: "wp-block-post-featured-image__placeholder"
 }, placeholderIllustration);

@@ -27669,11 +27770,11 @@ function PostFeaturedImageDisplay(_ref) {
     width,
     scale
   } = attributes;
-  const [featuredImage, setFeaturedImage] = Object(external_wp_coreData_["useEntityProp"])('postType', postType, 'featured_media', postId);
-  const media = Object(external_wp_data_["useSelect"])(select => featuredImage && select(external_wp_coreData_["store"]).getMedia(featuredImage, {
+  const [featuredImage, setFeaturedImage] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', postType, 'featured_media', postId);
+  const media = (0,external_wp_data_namespaceObject.useSelect)(select => featuredImage && select(external_wp_coreData_namespaceObject.store).getMedia(featuredImage, {
     context: 'view'
   }), [featuredImage]);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     style: {
       width,
       height
@@ -27681,7 +27782,7 @@ function PostFeaturedImageDisplay(_ref) {
   });

   const placeholder = content => {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
       className: "block-editor-media-placeholder"
     }, placeholderIllustration, content);
   };
@@ -27694,7 +27795,7 @@ function PostFeaturedImageDisplay(_ref) {

   const {
     createErrorNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);

   const onUploadError = message => {
     createErrorNotice(message[2], {
@@ -27705,13 +27806,13 @@ function PostFeaturedImageDisplay(_ref) {
   let image;

   if (!featuredImage && isDescendentOfQueryLoop) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, placeholderChip);
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, placeholderChip);
   }

-  const label = Object(external_wp_i18n_["__"])('Add a featured image');
+  const label = (0,external_wp_i18n_namespaceObject.__)('Add a featured image');

   if (!featuredImage) {
-    image = Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
+    image = (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
       onSelect: onSelectImage,
       accept: "image/*",
       allowedTypes: post_featured_image_edit_ALLOWED_MEDIA_TYPES,
@@ -27721,8 +27822,8 @@ function PostFeaturedImageDisplay(_ref) {
         let {
           open
         } = _ref2;
-        return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-          icon: upload["a" /* default */],
+        return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+          icon: library_upload,
           variant: "primary",
           label: label,
           showTooltip: true,
@@ -27735,9 +27836,9 @@ function PostFeaturedImageDisplay(_ref) {
     });
   } else {
     // We have a Featured image so show a Placeholder if is loading.
-    image = !media ? placeholderChip : Object(external_wp_element_["createElement"])("img", {
+    image = !media ? placeholderChip : (0,external_wp_element_namespaceObject.createElement)("img", {
       src: media.source_url,
-      alt: media.alt_text || Object(external_wp_i18n_["__"])('Featured image'),
+      alt: media.alt_text || (0,external_wp_i18n_namespaceObject.__)('Featured image'),
       style: {
         height,
         objectFit: height && scale
@@ -27745,44 +27846,44 @@ function PostFeaturedImageDisplay(_ref) {
     });
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(dimension_controls, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(dimension_controls, {
     clientId: clientId,
     attributes: attributes,
     setAttributes: setAttributes
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Link settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["sprintf"])( // translators: %s: Name of the post type e.g: "post".
-    Object(external_wp_i18n_["__"])('Link to %s'), postType),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Link settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: Name of the post type e.g: "post".
+    (0,external_wp_i18n_namespaceObject.__)('Link to %s'), postType),
     onChange: () => setAttributes({
       isLink: !isLink
     }),
     checked: isLink
-  }))), !!media && !isDescendentOfQueryLoop && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  }))), !!media && !isDescendentOfQueryLoop && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaReplaceFlow, {
     mediaId: featuredImage,
     mediaURL: media.source_url,
     allowedTypes: post_featured_image_edit_ALLOWED_MEDIA_TYPES,
     accept: "image/*",
     onSelect: onSelectImage,
     onError: onUploadError
-  })), Object(external_wp_element_["createElement"])("figure", blockProps, image));
+  })), (0,external_wp_element_namespaceObject.createElement)("figure", blockProps, image));
 }

 function PostFeaturedImageEdit(props) {
   var _props$context;

-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();

   if (!((_props$context = props.context) !== null && _props$context !== void 0 && _props$context.postId)) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, placeholderChip);
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, placeholderChip);
   }

-  return Object(external_wp_element_["createElement"])(PostFeaturedImageDisplay, props);
+  return (0,external_wp_element_namespaceObject.createElement)(PostFeaturedImageDisplay, props);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-featured-image/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-featured-image/index.js
 /**
  * WordPress dependencies
  */
@@ -27841,7 +27942,7 @@ const post_featured_image_settings = {
   edit: PostFeaturedImageEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-navigation-link/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-navigation-link/edit.js


 /**
@@ -27867,40 +27968,40 @@ function PostNavigationLinkEdit(_ref) {
     setAttributes
   } = _ref;
   const isNext = type === 'next';
-  let placeholder = isNext ? Object(external_wp_i18n_["__"])('Next') : Object(external_wp_i18n_["__"])('Previous');
+  let placeholder = isNext ? (0,external_wp_i18n_namespaceObject.__)('Next') : (0,external_wp_i18n_namespaceObject.__)('Previous');

   if (showTitle) {
     /* translators: Label before for next and previous post. There is a space after the colon. */
-    placeholder = isNext ? Object(external_wp_i18n_["__"])('Next: ') : Object(external_wp_i18n_["__"])('Previous: ');
+    placeholder = isNext ? (0,external_wp_i18n_namespaceObject.__)('Next: ') : (0,external_wp_i18n_namespaceObject.__)('Previous: ');
   }

-  const ariaLabel = isNext ? Object(external_wp_i18n_["__"])('Next post') : Object(external_wp_i18n_["__"])('Previous post');
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const ariaLabel = isNext ? (0,external_wp_i18n_namespaceObject.__)('Next post') : (0,external_wp_i18n_namespaceObject.__)('Previous post');
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     })
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display the title as a link'),
-    help: Object(external_wp_i18n_["__"])('If you have entered a custom label, it will be prepended before the title.'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display the title as a link'),
+    help: (0,external_wp_i18n_namespaceObject.__)('If you have entered a custom label, it will be prepended before the title.'),
     checked: !!showTitle,
     onChange: () => setAttributes({
       showTitle: !showTitle
     })
-  }), showTitle && Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Include the label as part of the link'),
+  }), showTitle && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Include the label as part of the link'),
     checked: !!linkLabel,
     onChange: () => setAttributes({
       linkLabel: !linkLabel
     })
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentToolbar"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentToolbar, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  })), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     tagName: "a",
     "aria-label": ariaLabel,
     placeholder: placeholder,
@@ -27909,43 +28010,43 @@ function PostNavigationLinkEdit(_ref) {
     onChange: newLabel => setAttributes({
       label: newLabel
     })
-  }), showTitle && Object(external_wp_element_["createElement"])("a", {
+  }), showTitle && (0,external_wp_element_namespaceObject.createElement)("a", {
     href: "#post-navigation-pseudo-link",
     onClick: event => event.preventDefault()
-  }, Object(external_wp_i18n_["__"])('An example title'))));
+  }, (0,external_wp_i18n_namespaceObject.__)('An example title'))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/next.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/next.js


 /**
  * WordPress dependencies
  */

-const next = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const next = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"
 }));
 /* harmony default export */ var library_next = (next);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/previous.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/previous.js


 /**
  * WordPress dependencies
  */

-const previous = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const previous = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"
 }));
 /* harmony default export */ var library_previous = (previous);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-navigation-link/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-navigation-link/variations.js
 /**
  * WordPress dependencies
  */
@@ -27954,8 +28055,8 @@ const previous = Object(external_wp_element_["createElement"])(external_wp_primi
 const post_navigation_link_variations_variations = [{
   isDefault: true,
   name: 'post-next',
-  title: Object(external_wp_i18n_["__"])('Next post'),
-  description: Object(external_wp_i18n_["__"])('Displays the post link that follows the current post.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Next post'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Displays the post link that follows the current post.'),
   icon: library_next,
   attributes: {
     type: 'next'
@@ -27963,8 +28064,8 @@ const post_navigation_link_variations_variations = [{
   scope: ['inserter', 'transform']
 }, {
   name: 'post-previous',
-  title: Object(external_wp_i18n_["__"])('Previous post'),
-  description: Object(external_wp_i18n_["__"])('Displays the post link that precedes the current post.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Previous post'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Displays the post link that precedes the current post.'),
   icon: library_previous,
   attributes: {
     type: 'previous'
@@ -27984,7 +28085,7 @@ post_navigation_link_variations_variations.forEach(variation => {
 });
 /* harmony default export */ var post_navigation_link_variations = (post_navigation_link_variations_variations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-navigation-link/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-navigation-link/index.js
 /**
  * Internal dependencies
  */
@@ -28042,10 +28143,22 @@ const post_navigation_link_settings = {
   variations: post_navigation_link_variations
 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
-var library_layout = __webpack_require__("Civd");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-template/edit.js
+/**
+ * WordPress dependencies
+ */
+
+const layout = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_layout = (layout);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-template/edit.js



@@ -28066,10 +28179,10 @@ var library_layout = __webpack_require__("Civd");
 const edit_TEMPLATE = [['core/post-title'], ['core/post-date'], ['core/post-excerpt']];

 function PostTemplateInnerBlocks() {
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({}, {
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)({}, {
     template: edit_TEMPLATE
   });
-  return Object(external_wp_element_["createElement"])("li", innerBlocksProps);
+  return (0,external_wp_element_namespaceObject.createElement)("li", innerBlocksProps);
 }

 function PostTemplateBlockPreview(_ref) {
@@ -28079,7 +28192,7 @@ function PostTemplateBlockPreview(_ref) {
     isHidden,
     setActiveBlockContextId
   } = _ref;
-  const blockPreviewProps = Object(external_wp_blockEditor_["__experimentalUseBlockPreview"])({
+  const blockPreviewProps = (0,external_wp_blockEditor_namespaceObject.__experimentalUseBlockPreview)({
     blocks
   });

@@ -28090,7 +28203,7 @@ function PostTemplateBlockPreview(_ref) {
   const style = {
     display: isHidden ? 'none' : undefined
   };
-  return Object(external_wp_element_["createElement"])("li", Object(esm_extends["a" /* default */])({}, blockPreviewProps, {
+  return (0,external_wp_element_namespaceObject.createElement)("li", _extends({}, blockPreviewProps, {
     tabIndex: 0 // eslint-disable-next-line jsx-a11y/no-noninteractive-element-to-interactive-role
     ,
     role: "button",
@@ -28100,7 +28213,7 @@ function PostTemplateBlockPreview(_ref) {
   }));
 }

-const MemoizedPostTemplateBlockPreview = Object(external_wp_element_["memo"])(PostTemplateBlockPreview);
+const MemoizedPostTemplateBlockPreview = (0,external_wp_element_namespaceObject.memo)(PostTemplateBlockPreview);
 function PostTemplateEdit(_ref2) {
   let {
     clientId,
@@ -28132,17 +28245,17 @@ function PostTemplateEdit(_ref2) {
   const [{
     page
   }] = queryContext;
-  const [activeBlockContextId, setActiveBlockContextId] = Object(external_wp_element_["useState"])();
+  const [activeBlockContextId, setActiveBlockContextId] = (0,external_wp_element_namespaceObject.useState)();
   const {
     posts,
     blocks
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEntityRecords
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const {
       getBlocks
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const query = {
       offset: perPage ? perPage * (page - 1) + offset : 0,
       categories: categoryIds,
@@ -28188,12 +28301,12 @@ function PostTemplateEdit(_ref2) {
       blocks: getBlocks(clientId)
     };
   }, [perPage, page, offset, categoryIds, tagIds, order, orderBy, clientId, author, search, postType, exclude, sticky, inherit, templateSlug]);
-  const blockContexts = Object(external_wp_element_["useMemo"])(() => posts === null || posts === void 0 ? void 0 : posts.map(post => ({
+  const blockContexts = (0,external_wp_element_namespaceObject.useMemo)(() => posts === null || posts === void 0 ? void 0 : posts.map(post => ({
     postType: post.type,
     postId: post.id
   })), [posts]);
   const hasLayoutFlex = layoutType === 'flex' && columns > 1;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       'is-flex-container': hasLayoutFlex,
       [`columns-${columns}`]: hasLayoutFlex
@@ -28201,24 +28314,24 @@ function PostTemplateEdit(_ref2) {
   });

   if (!posts) {
-    return Object(external_wp_element_["createElement"])("p", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null));
+    return (0,external_wp_element_namespaceObject.createElement)("p", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null));
   }

   if (!posts.length) {
-    return Object(external_wp_element_["createElement"])("p", blockProps, " ", Object(external_wp_i18n_["__"])('No results found.'));
+    return (0,external_wp_element_namespaceObject.createElement)("p", blockProps, " ", (0,external_wp_i18n_namespaceObject.__)('No results found.'));
   } // To avoid flicker when switching active block contexts, a preview is rendered
   // for each block context, but the preview for the active block context is hidden.
   // This ensures that when it is displayed again, the cached rendering of the
   // block preview is used, instead of having to re-render the preview from scratch.


-  return Object(external_wp_element_["createElement"])("ul", blockProps, blockContexts && blockContexts.map(blockContext => {
+  return (0,external_wp_element_namespaceObject.createElement)("ul", blockProps, blockContexts && blockContexts.map(blockContext => {
     var _blockContexts$, _blockContexts$2;

-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockContextProvider"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockContextProvider, {
       key: blockContext.postId,
       value: blockContext
-    }, blockContext.postId === (activeBlockContextId || ((_blockContexts$ = blockContexts[0]) === null || _blockContexts$ === void 0 ? void 0 : _blockContexts$.postId)) ? Object(external_wp_element_["createElement"])(PostTemplateInnerBlocks, null) : null, Object(external_wp_element_["createElement"])(MemoizedPostTemplateBlockPreview, {
+    }, blockContext.postId === (activeBlockContextId || ((_blockContexts$ = blockContexts[0]) === null || _blockContexts$ === void 0 ? void 0 : _blockContexts$.postId)) ? (0,external_wp_element_namespaceObject.createElement)(PostTemplateInnerBlocks, null) : null, (0,external_wp_element_namespaceObject.createElement)(MemoizedPostTemplateBlockPreview, {
       blocks: blocks,
       blockContextId: blockContext.postId,
       setActiveBlockContextId: setActiveBlockContextId,
@@ -28227,7 +28340,7 @@ function PostTemplateEdit(_ref2) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-template/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-template/save.js


 /**
@@ -28235,10 +28348,10 @@ function PostTemplateEdit(_ref2) {
  */

 function PostTemplateSave() {
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-template/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-template/index.js
 /**
  * WordPress dependencies
  */
@@ -28274,12 +28387,12 @@ const {
 } = post_template_metadata;

 const post_template_settings = {
-  icon: library_layout["a" /* default */],
+  icon: library_layout,
   edit: PostTemplateEdit,
   save: PostTemplateSave
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-terms/use-post-terms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-terms/use-post-terms.js
 /**
  * WordPress dependencies
  */
@@ -28297,8 +28410,8 @@ function usePostTerms(_ref) {
     rest_base: restBase,
     slug
   } = term;
-  const [termIds] = Object(external_wp_coreData_["useEntityProp"])('postType', postType, restBase, postId);
-  return Object(external_wp_data_["useSelect"])(select => {
+  const [termIds] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', postType, restBase, postId);
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _term$visibility;

     const visible = term === null || term === void 0 ? void 0 : (_term$visibility = term.visibility) === null || _term$visibility === void 0 ? void 0 : _term$visibility.publicly_queryable;
@@ -28329,7 +28442,7 @@ function usePostTerms(_ref) {
     const {
       getEntityRecords,
       isResolving
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const taxonomyArgs = ['taxonomy', slug, {
       include: termIds,
       context: 'view'
@@ -28346,7 +28459,7 @@ function usePostTerms(_ref) {
   }, [termIds, term === null || term === void 0 ? void 0 : (_term$visibility2 = term.visibility) === null || _term$visibility2 === void 0 ? void 0 : _term$visibility2.publicly_queryable]);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-terms/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-terms/edit.js


 /**
@@ -28384,13 +28497,13 @@ function PostTermsEdit(_ref) {
     postId,
     postType
   } = context;
-  const selectedTerm = Object(external_wp_data_["useSelect"])(select => {
+  const selectedTerm = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _taxonomy$visibility;

     if (!term) return {};
     const {
       getTaxonomy
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const taxonomy = getTaxonomy(term);
     return taxonomy !== null && taxonomy !== void 0 && (_taxonomy$visibility = taxonomy.visibility) !== null && _taxonomy$visibility !== void 0 && _taxonomy$visibility.publicly_queryable ? taxonomy : {};
   }, [term]);
@@ -28404,7 +28517,7 @@ function PostTermsEdit(_ref) {
     term: selectedTerm
   });
   const hasPost = postId && postType;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign,
       [`taxonomy-${term}`]: term
@@ -28412,55 +28525,55 @@ function PostTermsEdit(_ref) {
   });

   if (!hasPost || !term) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_i18n_["__"])('Post Terms'));
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_i18n_namespaceObject.__)('Post Terms'));
   }

-  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_blockEditor_["AlignmentToolbar"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentToolbar, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, {
     __experimentalGroup: "advanced"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
     autoComplete: "off",
-    label: Object(external_wp_i18n_["__"])('Separator'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Separator'),
     value: separator || '',
     onChange: nextValue => {
       setAttributes({
         separator: nextValue
       });
     },
-    help: Object(external_wp_i18n_["__"])('Enter character(s) used to separate terms.')
-  })), Object(external_wp_element_["createElement"])("div", blockProps, isLoading && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), !isLoading && hasPostTerms && postTerms.map(postTerm => Object(external_wp_element_["createElement"])("a", {
+    help: (0,external_wp_i18n_namespaceObject.__)('Enter character(s) used to separate terms.')
+  })), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, isLoading && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null), !isLoading && hasPostTerms && postTerms.map(postTerm => (0,external_wp_element_namespaceObject.createElement)("a", {
     key: postTerm.id,
     href: postTerm.link,
     onClick: event => event.preventDefault()
-  }, postTerm.name)).reduce((prev, curr) => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, prev, Object(external_wp_element_["createElement"])("span", {
+  }, postTerm.name)).reduce((prev, curr) => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, prev, (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "wp-block-post-terms__separator"
-  }, separator || ' '), curr)), !isLoading && !hasPostTerms && ((selectedTerm === null || selectedTerm === void 0 ? void 0 : (_selectedTerm$labels = selectedTerm.labels) === null || _selectedTerm$labels === void 0 ? void 0 : _selectedTerm$labels.no_terms) || Object(external_wp_i18n_["__"])('Term items not found.'))));
+  }, separator || ' '), curr)), !isLoading && !hasPostTerms && ((selectedTerm === null || selectedTerm === void 0 ? void 0 : (_selectedTerm$labels = selectedTerm.labels) === null || _selectedTerm$labels === void 0 ? void 0 : _selectedTerm$labels.no_terms) || (0,external_wp_i18n_namespaceObject.__)('Term items not found.'))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-categories.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/post-categories.js


 /**
  * WordPress dependencies
  */

-const postCategories = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const postCategories = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z",
   fillRule: "evenodd",
   clipRule: "evenodd"
 }));
 /* harmony default export */ var post_categories = (postCategories);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-terms/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-terms/variations.js
 /**
  * WordPress dependencies
  */
@@ -28468,8 +28581,8 @@ const postCategories = Object(external_wp_element_["createElement"])(external_wp

 const post_terms_variations_variations = [{
   name: 'category',
-  title: Object(external_wp_i18n_["__"])('Post Categories'),
-  description: Object(external_wp_i18n_["__"])("Display a post's categories."),
+  title: (0,external_wp_i18n_namespaceObject.__)('Post Categories'),
+  description: (0,external_wp_i18n_namespaceObject.__)("Display a post's categories."),
   icon: post_categories,
   isDefault: true,
   attributes: {
@@ -28478,8 +28591,8 @@ const post_terms_variations_variations = [{
   isActive: blockAttributes => blockAttributes.term === 'category'
 }, {
   name: 'post_tag',
-  title: Object(external_wp_i18n_["__"])('Post Tags'),
-  description: Object(external_wp_i18n_["__"])("Display a post's tags."),
+  title: (0,external_wp_i18n_namespaceObject.__)('Post Tags'),
+  description: (0,external_wp_i18n_namespaceObject.__)("Display a post's tags."),
   icon: post_categories,
   attributes: {
     term: 'post_tag'
@@ -28488,7 +28601,7 @@ const post_terms_variations_variations = [{
 }];
 /* harmony default export */ var post_terms_variations = (post_terms_variations_variations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-terms/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-terms/index.js
 /**
  * Internal dependencies
  */
@@ -28543,7 +28656,7 @@ const post_terms_settings = {
   edit: PostTermsEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-title/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-title/edit.js



@@ -28585,77 +28698,77 @@ function PostTitleEdit(_ref) {
   const TagName = 0 === level ? 'p' : 'h' + level;
   const isDescendentOfQueryLoop = Number.isFinite(queryId);
   const userCanEdit = useCanEditEntity('postType', postType, postId);
-  const [rawTitle = '', setTitle, fullTitle] = Object(external_wp_coreData_["useEntityProp"])('postType', postType, 'title', postId);
-  const [link] = Object(external_wp_coreData_["useEntityProp"])('postType', postType, 'link', postId);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const [rawTitle = '', setTitle, fullTitle] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', postType, 'title', postId);
+  const [link] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', postType, 'link', postId);
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     })
   });
-  let titleElement = Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_i18n_["__"])('Post Title'));
+  let titleElement = (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_i18n_namespaceObject.__)('Post Title'));

   if (postType && postId) {
-    titleElement = userCanEdit && !isDescendentOfQueryLoop ? Object(external_wp_element_["createElement"])(external_wp_blockEditor_["PlainText"], Object(esm_extends["a" /* default */])({
+    titleElement = userCanEdit && !isDescendentOfQueryLoop ? (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.PlainText, _extends({
       tagName: TagName,
-      placeholder: Object(external_wp_i18n_["__"])('No Title'),
+      placeholder: (0,external_wp_i18n_namespaceObject.__)('No Title'),
       value: rawTitle,
       onChange: setTitle,
       __experimentalVersion: 2
-    }, blockProps)) : Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], {
+    }, blockProps)) : (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, {
       key: "html"
     }, fullTitle === null || fullTitle === void 0 ? void 0 : fullTitle.rendered));
   }

   if (isLink && postType && postId) {
-    titleElement = userCanEdit && !isDescendentOfQueryLoop ? Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["PlainText"], {
+    titleElement = userCanEdit && !isDescendentOfQueryLoop ? (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.PlainText, {
       tagName: "a",
       href: link,
       target: linkTarget,
       rel: rel,
-      placeholder: !rawTitle.length ? Object(external_wp_i18n_["__"])('No Title') : null,
+      placeholder: !rawTitle.length ? (0,external_wp_i18n_namespaceObject.__)('No Title') : null,
       value: rawTitle,
       onChange: setTitle,
       __experimentalVersion: 2
-    })) : Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_element_["createElement"])("a", {
+    })) : (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_element_namespaceObject.createElement)("a", {
       href: link,
       target: linkTarget,
       rel: rel,
       onClick: event => event.preventDefault()
-    }, Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, {
       key: "html"
     }, fullTitle === null || fullTitle === void 0 ? void 0 : fullTitle.rendered)));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(HeadingLevelDropdown, {
+  }, (0,external_wp_element_namespaceObject.createElement)(HeadingLevelDropdown, {
     selectedLevel: level,
     onChange: newLevel => setAttributes({
       level: newLevel
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Link settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Make title a link'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Link settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Make title a link'),
     onChange: () => setAttributes({
       isLink: !isLink
     }),
     checked: isLink
-  }), isLink && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Open in new tab'),
+  }), isLink && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Open in new tab'),
     onChange: value => setAttributes({
       linkTarget: value ? '_blank' : '_self'
     }),
     checked: linkTarget === '_blank'
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Link rel'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Link rel'),
     value: rel,
     onChange: newRel => setAttributes({
       rel: newRel
@@ -28663,7 +28776,7 @@ function PostTitleEdit(_ref) {
   })))), titleElement);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-title/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-title/deprecated.js
 /**
  * Internal dependencies
  */
@@ -28738,7 +28851,7 @@ const post_title_deprecated_v1 = {

 /* harmony default export */ var post_title_deprecated = ([post_title_deprecated_v1]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-title/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/post-title/index.js
 /**
  * WordPress dependencies
  */
@@ -28816,22 +28929,22 @@ const post_title_settings = {
   deprecated: post_title_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/preformatted.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/preformatted.js


 /**
  * WordPress dependencies
  */

-const preformatted = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const preformatted = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"
 }));
 /* harmony default export */ var library_preformatted = (preformatted);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/edit.js



@@ -28851,10 +28964,10 @@ function PreformattedEdit(_ref) {
   const {
     content
   } = attributes;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     style
   });
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, _extends({
     tagName: "pre",
     identifier: "content",
     preserveWhiteSpace: true,
@@ -28865,15 +28978,15 @@ function PreformattedEdit(_ref) {
       });
     },
     onRemove: onRemove,
-    "aria-label": Object(external_wp_i18n_["__"])('Preformatted text'),
-    placeholder: Object(external_wp_i18n_["__"])('Write preformatted text…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Preformatted text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write preformatted text…'),
     onMerge: mergeBlocks
   }, blockProps, {
     __unstablePastePlainText: true
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/save.js


 /**
@@ -28887,12 +29000,12 @@ function preformatted_save_save(_ref) {
   const {
     content
   } = attributes;
-  return Object(external_wp_element_["createElement"])("pre", external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  return (0,external_wp_element_namespaceObject.createElement)("pre", external_wp_blockEditor_namespaceObject.useBlockProps.save(), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     value: content
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/transforms.js
 /**
  * WordPress dependencies
  */
@@ -28906,7 +29019,7 @@ const preformatted_transforms_transforms = {
         content,
         anchor
       } = _ref;
-      return Object(external_wp_blocks_["createBlock"])('core/preformatted', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/preformatted', {
         content,
         anchor
       });
@@ -28928,16 +29041,16 @@ const preformatted_transforms_transforms = {
   to: [{
     type: 'block',
     blocks: ['core/paragraph'],
-    transform: attributes => Object(external_wp_blocks_["createBlock"])('core/paragraph', attributes)
+    transform: attributes => (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', attributes)
   }, {
     type: 'block',
     blocks: ['core/code'],
-    transform: attributes => Object(external_wp_blocks_["createBlock"])('core/code', attributes)
+    transform: attributes => (0,external_wp_blocks_namespaceObject.createBlock)('core/code', attributes)
   }]
 };
 /* harmony default export */ var preformatted_transforms = (preformatted_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/preformatted/index.js
 /**
  * WordPress dependencies
  */
@@ -28996,7 +29109,7 @@ const preformatted_settings = {
     attributes: {
       /* eslint-disable @wordpress/i18n-no-collapsible-whitespace */
       // translators: Sample content for the Preformatted block. Can be replaced with a more locale-adequate work.
-      content: Object(external_wp_i18n_["__"])('EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;')
+      content: (0,external_wp_i18n_namespaceObject.__)('EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;')
       /* eslint-enable @wordpress/i18n-no-collapsible-whitespace */

     }
@@ -29013,25 +29126,25 @@ const preformatted_settings = {

 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pullquote.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pullquote.js


 /**
  * WordPress dependencies
  */

-const pullquote = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const pullquote = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"
 }));
 /* harmony default export */ var library_pullquote = (pullquote);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/shared.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/shared.js
 const SOLID_COLOR_CLASS = `is-style-solid-color`;

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/deprecated.js


 /**
@@ -29107,11 +29220,11 @@ const pullquote_deprecated_deprecated = [{
       citation,
       className
     } = attributes;
-    const isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS);
+    const isSolidColorStyle = (0,external_lodash_namespaceObject.includes)(className, SOLID_COLOR_CLASS);
     let figureClasses, figureStyles; // Is solid color style

     if (isSolidColorStyle) {
-      const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', mainColor);
+      const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', mainColor);
       figureClasses = classnames_default()({
         'has-background': backgroundClass || customMainColor,
         [backgroundClass]: backgroundClass
@@ -29125,7 +29238,7 @@ const pullquote_deprecated_deprecated = [{
       };
     }

-    const blockquoteTextColorClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
+    const blockquoteTextColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
     const blockquoteClasses = classnames_default()({
       'has-text-color': textColor || customTextColor,
       [blockquoteTextColorClass]: blockquoteTextColorClass
@@ -29133,16 +29246,16 @@ const pullquote_deprecated_deprecated = [{
     const blockquoteStyles = blockquoteTextColorClass ? undefined : {
       color: customTextColor
     };
-    return Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className: figureClasses,
       style: figureStyles
-    }), Object(external_wp_element_["createElement"])("blockquote", {
+    }), (0,external_wp_element_namespaceObject.createElement)("blockquote", {
       className: blockquoteClasses,
       style: blockquoteStyles
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: value,
       multiline: true
-    }), !external_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "cite",
       value: citation
     })));
@@ -29156,7 +29269,7 @@ const pullquote_deprecated_deprecated = [{
       customTextColor,
       ...attributes
     } = _ref2;
-    const isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS);
+    const isSolidColorStyle = (0,external_lodash_namespaceObject.includes)(className, SOLID_COLOR_CLASS);
     let style;

     if (customMainColor) {
@@ -29219,11 +29332,11 @@ const pullquote_deprecated_deprecated = [{
       className,
       figureStyle
     } = attributes;
-    const isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS);
+    const isSolidColorStyle = (0,external_lodash_namespaceObject.includes)(className, SOLID_COLOR_CLASS);
     let figureClasses, figureStyles; // Is solid color style

     if (isSolidColorStyle) {
-      const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', mainColor);
+      const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', mainColor);
       figureClasses = classnames_default()({
         'has-background': backgroundClass || customMainColor,
         [backgroundClass]: backgroundClass
@@ -29248,23 +29361,23 @@ const pullquote_deprecated_deprecated = [{
       };
     }

-    const blockquoteTextColorClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
+    const blockquoteTextColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
     const blockquoteClasses = (textColor || customTextColor) && classnames_default()('has-text-color', {
       [blockquoteTextColorClass]: blockquoteTextColorClass
     });
     const blockquoteStyles = blockquoteTextColorClass ? undefined : {
       color: customTextColor
     };
-    return Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: figureClasses,
       style: figureStyles
-    }, Object(external_wp_element_["createElement"])("blockquote", {
+    }, (0,external_wp_element_namespaceObject.createElement)("blockquote", {
       className: blockquoteClasses,
       style: blockquoteStyles
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: value,
       multiline: true
-    }), !external_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "cite",
       value: citation
     })));
@@ -29279,7 +29392,7 @@ const pullquote_deprecated_deprecated = [{
       customTextColor,
       ...attributes
     } = _ref4;
-    const isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS);
+    const isSolidColorStyle = (0,external_lodash_namespaceObject.includes)(className, SOLID_COLOR_CLASS);
     let style;

     if (customMainColor) {
@@ -29352,11 +29465,11 @@ const pullquote_deprecated_deprecated = [{
       citation,
       className
     } = attributes;
-    const isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS);
+    const isSolidColorStyle = (0,external_lodash_namespaceObject.includes)(className, SOLID_COLOR_CLASS);
     let figureClass, figureStyles; // Is solid color style

     if (isSolidColorStyle) {
-      figureClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', mainColor);
+      figureClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', mainColor);

       if (!figureClass) {
         figureStyles = {
@@ -29370,30 +29483,30 @@ const pullquote_deprecated_deprecated = [{
       }; // Is normal style and a named color is being used, we need to retrieve the color value to set the style,
       // as there is no expectation that themes create classes that set border colors.
     } else if (mainColor) {
-      const colors = Object(external_lodash_["get"])(Object(external_wp_data_["select"])(external_wp_blockEditor_["store"]).getSettings(), ['colors'], []);
-      const colorObject = Object(external_wp_blockEditor_["getColorObjectByAttributeValues"])(colors, mainColor);
+      const colors = (0,external_lodash_namespaceObject.get)((0,external_wp_data_namespaceObject.select)(external_wp_blockEditor_namespaceObject.store).getSettings(), ['colors'], []);
+      const colorObject = (0,external_wp_blockEditor_namespaceObject.getColorObjectByAttributeValues)(colors, mainColor);
       figureStyles = {
         borderColor: colorObject.color
       };
     }

-    const blockquoteTextColorClass = Object(external_wp_blockEditor_["getColorClassName"])('color', textColor);
+    const blockquoteTextColorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', textColor);
     const blockquoteClasses = textColor || customTextColor ? classnames_default()('has-text-color', {
       [blockquoteTextColorClass]: blockquoteTextColorClass
     }) : undefined;
     const blockquoteStyle = blockquoteTextColorClass ? undefined : {
       color: customTextColor
     };
-    return Object(external_wp_element_["createElement"])("figure", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", {
       className: figureClass,
       style: figureStyles
-    }, Object(external_wp_element_["createElement"])("blockquote", {
+    }, (0,external_wp_element_namespaceObject.createElement)("blockquote", {
       className: blockquoteClasses,
       style: blockquoteStyle
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: value,
       multiline: true
-    }), !external_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "cite",
       value: citation
     })));
@@ -29407,7 +29520,7 @@ const pullquote_deprecated_deprecated = [{
       customTextColor,
       ...attributes
     } = _ref6;
-    const isSolidColorStyle = Object(external_lodash_["includes"])(className, SOLID_COLOR_CLASS);
+    const isSolidColorStyle = (0,external_lodash_namespaceObject.includes)(className, SOLID_COLOR_CLASS);
     let style = {};

     if (customMainColor) {
@@ -29457,10 +29570,10 @@ const pullquote_deprecated_deprecated = [{
       value,
       citation
     } = attributes;
-    return Object(external_wp_element_["createElement"])("blockquote", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)("blockquote", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: value,
       multiline: true
-    }), !external_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "cite",
       value: citation
     }));
@@ -29488,12 +29601,12 @@ const pullquote_deprecated_deprecated = [{
       citation,
       align
     } = attributes;
-    return Object(external_wp_element_["createElement"])("blockquote", {
+    return (0,external_wp_element_namespaceObject.createElement)("blockquote", {
       className: `align${align}`
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: value,
       multiline: true
-    }), !external_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "footer",
       value: citation
     }));
@@ -29502,13 +29615,13 @@ const pullquote_deprecated_deprecated = [{
 }];
 /* harmony default export */ var pullquote_deprecated = (pullquote_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/figure.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/figure.js
 const Figure = 'figure';

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/blockquote.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/blockquote.js
 const BlockQuote = 'blockquote';

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/edit.js


 /**
@@ -29544,51 +29657,51 @@ function PullQuoteEdit(_ref) {
     citation,
     value
   } = attributes;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     })
   });
-  const shouldShowCitation = !external_wp_blockEditor_["RichText"].isEmpty(citation) || isSelected;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  const shouldShowCitation = !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) || isSelected;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])(Figure, blockProps, Object(external_wp_element_["createElement"])(BlockQuote, null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(Figure, blockProps, (0,external_wp_element_namespaceObject.createElement)(BlockQuote, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     identifier: "value",
     multiline: true,
     value: value,
     onChange: nextValue => setAttributes({
       value: nextValue
     }),
-    "aria-label": Object(external_wp_i18n_["__"])('Pullquote text'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Pullquote text'),
     placeholder: // translators: placeholder text used for the quote
-    Object(external_wp_i18n_["__"])('Add quote'),
+    (0,external_wp_i18n_namespaceObject.__)('Add quote'),
     textAlign: "center"
-  }), shouldShowCitation && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }), shouldShowCitation && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     identifier: "citation",
     value: citation,
-    "aria-label": Object(external_wp_i18n_["__"])('Pullquote citation text'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Pullquote citation text'),
     placeholder: // translators: placeholder text used for the citation
-    Object(external_wp_i18n_["__"])('Add citation'),
+    (0,external_wp_i18n_namespaceObject.__)('Add citation'),
     onChange: nextCitation => setAttributes({
       citation: nextCitation
     }),
     className: "wp-block-pullquote__citation",
     __unstableMobileNoFocusOnMount: true,
     textAlign: "center",
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'))
   }))));
 }

 /* harmony default export */ var pullquote_edit = (PullQuoteEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/save.js


 /**
@@ -29609,21 +29722,21 @@ function pullquote_save_save(_ref) {
     citation,
     value
   } = attributes;
-  const shouldShowCitation = !external_wp_blockEditor_["RichText"].isEmpty(citation);
-  return Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save({
+  const shouldShowCitation = !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation);
+  return (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     })
-  }), Object(external_wp_element_["createElement"])("blockquote", null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), (0,external_wp_element_namespaceObject.createElement)("blockquote", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     value: value,
     multiline: true
-  }), shouldShowCitation && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), shouldShowCitation && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "cite",
     value: citation
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/transforms.js
 /**
  * WordPress dependencies
  */
@@ -29635,13 +29748,13 @@ const pullquote_transforms_transforms = {
     isMultiBlock: true,
     blocks: ['core/paragraph'],
     transform: attributes => {
-      return Object(external_wp_blocks_["createBlock"])('core/pullquote', {
-        value: Object(external_wp_richText_["toHTMLString"])({
-          value: Object(external_wp_richText_["join"])(attributes.map(_ref => {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/pullquote', {
+        value: (0,external_wp_richText_namespaceObject.toHTMLString)({
+          value: (0,external_wp_richText_namespaceObject.join)(attributes.map(_ref => {
             let {
               content
             } = _ref;
-            return Object(external_wp_richText_["create"])({
+            return (0,external_wp_richText_namespaceObject.create)({
               html: content
             });
           }), '\u2028'),
@@ -29658,7 +29771,7 @@ const pullquote_transforms_transforms = {
         content,
         anchor
       } = _ref2;
-      return Object(external_wp_blocks_["createBlock"])('core/pullquote', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/pullquote', {
         value: `<p>${content}</p>`,
         anchor
       });
@@ -29675,24 +29788,24 @@ const pullquote_transforms_transforms = {
       const paragraphs = [];

       if (value && value !== '<p></p>') {
-        paragraphs.push(...Object(external_wp_richText_["split"])(Object(external_wp_richText_["create"])({
+        paragraphs.push(...(0,external_wp_richText_namespaceObject.split)((0,external_wp_richText_namespaceObject.create)({
           html: value,
           multilineTag: 'p'
-        }), '\u2028').map(piece => Object(external_wp_blocks_["createBlock"])('core/paragraph', {
-          content: Object(external_wp_richText_["toHTMLString"])({
+        }), '\u2028').map(piece => (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
+          content: (0,external_wp_richText_namespaceObject.toHTMLString)({
             value: piece
           })
         })));
       }

       if (citation && citation !== '<p></p>') {
-        paragraphs.push(Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+        paragraphs.push((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
           content: citation
         }));
       }

       if (paragraphs.length === 0) {
-        return Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
           content: ''
         });
       }
@@ -29713,17 +29826,17 @@ const pullquote_transforms_transforms = {
       // content of the resulting heading. A nonexistent citation
       // will result in an empty heading.
       if (value === '<p></p>') {
-        return Object(external_wp_blocks_["createBlock"])('core/heading', {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/heading', {
           content: citation
         });
       }

-      const pieces = Object(external_wp_richText_["split"])(Object(external_wp_richText_["create"])({
+      const pieces = (0,external_wp_richText_namespaceObject.split)((0,external_wp_richText_namespaceObject.create)({
         html: value,
         multilineTag: 'p'
       }), '\u2028');
-      const headingBlock = Object(external_wp_blocks_["createBlock"])('core/heading', {
-        content: Object(external_wp_richText_["toHTMLString"])({
+      const headingBlock = (0,external_wp_blocks_namespaceObject.createBlock)('core/heading', {
+        content: (0,external_wp_richText_namespaceObject.toHTMLString)({
           value: pieces[0]
         })
       });
@@ -29733,10 +29846,10 @@ const pullquote_transforms_transforms = {
       }

       const quotePieces = pieces.slice(1);
-      const pullquoteBlock = Object(external_wp_blocks_["createBlock"])('core/pullquote', { ...attrs,
+      const pullquoteBlock = (0,external_wp_blocks_namespaceObject.createBlock)('core/pullquote', { ...attrs,
         citation,
-        value: Object(external_wp_richText_["toHTMLString"])({
-          value: quotePieces.length ? Object(external_wp_richText_["join"])(pieces.slice(1), '\u2028') : Object(external_wp_richText_["create"])(),
+        value: (0,external_wp_richText_namespaceObject.toHTMLString)({
+          value: quotePieces.length ? (0,external_wp_richText_namespaceObject.join)(pieces.slice(1), '\u2028') : (0,external_wp_richText_namespaceObject.create)(),
           multilineTag: 'p'
         })
       });
@@ -29746,7 +29859,7 @@ const pullquote_transforms_transforms = {
 };
 /* harmony default export */ var pullquote_transforms = (pullquote_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/pullquote/index.js
 /**
  * WordPress dependencies
  */
@@ -29825,8 +29938,8 @@ const pullquote_settings = {
   example: {
     attributes: {
       value: '<p>' + // translators: Quote serving as example for the Pullquote block. Attributed to Matt Mullenweg.
-      Object(external_wp_i18n_["__"])('One of the hardest things to do in technology is disrupt yourself.') + '</p>',
-      citation: Object(external_wp_i18n_["__"])('Matt Mullenweg')
+      (0,external_wp_i18n_namespaceObject.__)('One of the hardest things to do in technology is disrupt yourself.') + '</p>',
+      citation: (0,external_wp_i18n_namespaceObject.__)('Matt Mullenweg')
     }
   },
   transforms: pullquote_transforms,
@@ -29835,25 +29948,37 @@ const pullquote_settings = {
   deprecated: pullquote_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/loop.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/loop.js


 /**
  * WordPress dependencies
  */

-const loop_loop = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const loop = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"
 }));
-/* harmony default export */ var library_loop = (loop_loop);
+/* harmony default export */ var library_loop = (loop);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/settings.js
+
+
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/settings.js
-var library_settings = __webpack_require__("mi6C");
+const settings_settings = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"
+}));
+/* harmony default export */ var library_settings = (settings_settings);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/edit/query-toolbar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/edit/query-toolbar.js


 /**
@@ -29872,38 +29997,38 @@ function QueryToolbar(_ref) {
     setQuery,
     setDisplayLayout
   } = _ref;
-  const maxPageInputId = Object(external_wp_compose_["useInstanceId"])(QueryToolbar, 'blocks-query-pagination-max-page-input');
+  const maxPageInputId = (0,external_wp_compose_namespaceObject.useInstanceId)(QueryToolbar, 'blocks-query-pagination-max-page-input');
   const displayLayoutControls = [{
     icon: library_list,
-    title: Object(external_wp_i18n_["__"])('List view'),
+    title: (0,external_wp_i18n_namespaceObject.__)('List view'),
     onClick: () => setDisplayLayout({
       type: 'list'
     }),
     isActive: (displayLayout === null || displayLayout === void 0 ? void 0 : displayLayout.type) === 'list'
   }, {
-    icon: grid["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Grid view'),
+    icon: library_grid,
+    title: (0,external_wp_i18n_namespaceObject.__)('Grid view'),
     onClick: () => setDisplayLayout({
       type: 'flex',
       columns: (displayLayout === null || displayLayout === void 0 ? void 0 : displayLayout.columns) || 3
     }),
     isActive: (displayLayout === null || displayLayout === void 0 ? void 0 : displayLayout.type) === 'flex'
   }];
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, !query.inherit && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, !query.inherit && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
     contentClassName: "block-library-query-toolbar__popover",
     renderToggle: _ref2 => {
       let {
         onToggle
       } = _ref2;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-        icon: library_settings["a" /* default */],
-        label: Object(external_wp_i18n_["__"])('Display settings'),
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+        icon: library_settings,
+        label: (0,external_wp_i18n_namespaceObject.__)('Display settings'),
         onClick: onToggle
       });
     },
-    renderContent: () => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNumberControl"], {
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNumberControl, {
       __unstableInputWidth: "60px",
-      label: Object(external_wp_i18n_["__"])('Items per Page'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Items per Page'),
       labelPosition: "edge",
       min: 1,
       max: 100,
@@ -29919,9 +30044,9 @@ function QueryToolbar(_ref) {
       step: "1",
       value: query.perPage,
       isDragEnabled: false
-    })), Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNumberControl"], {
+    })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNumberControl, {
       __unstableInputWidth: "60px",
-      label: Object(external_wp_i18n_["__"])('Offset'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Offset'),
       labelPosition: "edge",
       min: 0,
       max: 100,
@@ -29937,13 +30062,13 @@ function QueryToolbar(_ref) {
       step: "1",
       value: query.offset,
       isDragEnabled: false
-    })), Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
+    })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, {
       id: maxPageInputId,
-      help: Object(external_wp_i18n_["__"])('Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).')
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNumberControl"], {
+      help: (0,external_wp_i18n_namespaceObject.__)('Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).')
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNumberControl, {
       id: maxPageInputId,
       __unstableInputWidth: "60px",
-      label: Object(external_wp_i18n_["__"])('Max page to show'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Max page to show'),
       labelPosition: "edge",
       min: 0,
       onChange: value => {
@@ -29959,12 +30084,12 @@ function QueryToolbar(_ref) {
       value: query.pages,
       isDragEnabled: false
     })))
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, {
     controls: displayLayoutControls
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/utils.js
 /**
  * WordPress dependencies
  */
@@ -30038,12 +30163,12 @@ const getTermsInfo = terms => {
 const usePostTypes = () => {
   const {
     postTypes
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getPostTypes;

     const {
       getPostTypes
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const excludedPostTypes = ['attachment'];
     const filteredPostTypes = (_getPostTypes = getPostTypes({
       per_page: -1
@@ -30058,14 +30183,14 @@ const usePostTypes = () => {
       postTypes: filteredPostTypes
     };
   }, []);
-  const postTypesTaxonomiesMap = Object(external_wp_element_["useMemo"])(() => {
+  const postTypesTaxonomiesMap = (0,external_wp_element_namespaceObject.useMemo)(() => {
     if (!(postTypes !== null && postTypes !== void 0 && postTypes.length)) return;
     return postTypes.reduce((accumulator, type) => {
       accumulator[type.slug] = type.taxonomies;
       return accumulator;
     }, {});
   }, [postTypes]);
-  const postTypesSelectOptions = Object(external_wp_element_["useMemo"])(() => (postTypes || []).map(_ref2 => {
+  const postTypesSelectOptions = (0,external_wp_element_namespaceObject.useMemo)(() => (postTypes || []).map(_ref2 => {
     let {
       labels,
       slug
@@ -30106,7 +30231,7 @@ const getFirstQueryClientIdFromBlocks = blocks => {
   }
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/constants.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/constants.js
 const MAX_FETCHED_TERMS = 100;
 const DEFAULTS_POSTS_PER_PAGE = 3;
 /* harmony default export */ var constants = ({
@@ -30114,7 +30239,7 @@ const DEFAULTS_POSTS_PER_PAGE = 3;
   DEFAULTS_POSTS_PER_PAGE
 });

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/edit/query-inspector-controls.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/edit/query-inspector-controls.js


 /**
@@ -30138,13 +30263,13 @@ const DEFAULTS_POSTS_PER_PAGE = 3;


 const stickyOptions = [{
-  label: Object(external_wp_i18n_["__"])('Include'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Include'),
   value: ''
 }, {
-  label: Object(external_wp_i18n_["__"])('Exclude'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Exclude'),
   value: 'exclude'
 }, {
-  label: Object(external_wp_i18n_["__"])('Only'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Only'),
   value: 'only'
 }]; // Helper function to get the term id based on user input in terms `FormTokenField`.

@@ -30192,9 +30317,9 @@ function QueryInspectorControls(_ref) {
     sticky,
     inherit
   } = query;
-  const [showCategories, setShowCategories] = Object(external_wp_element_["useState"])(true);
-  const [showTags, setShowTags] = Object(external_wp_element_["useState"])(true);
-  const [showSticky, setShowSticky] = Object(external_wp_element_["useState"])(postType === 'post');
+  const [showCategories, setShowCategories] = (0,external_wp_element_namespaceObject.useState)(true);
+  const [showTags, setShowTags] = (0,external_wp_element_namespaceObject.useState)(true);
+  const [showSticky, setShowSticky] = (0,external_wp_element_namespaceObject.useState)(postType === 'post');
   const {
     postTypesTaxonomiesMap,
     postTypesSelectOptions
@@ -30203,10 +30328,10 @@ function QueryInspectorControls(_ref) {
     authorList,
     categories,
     tags
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEntityRecords
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const termsQuery = {
       per_page: MAX_FETCHED_TERMS
     };
@@ -30223,13 +30348,13 @@ function QueryInspectorControls(_ref) {
       })
     };
   }, []);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!postTypesTaxonomiesMap) return;
     const postTypeTaxonomies = postTypesTaxonomiesMap[postType];
     setShowCategories(postTypeTaxonomies.includes('category'));
     setShowTags(postTypeTaxonomies.includes('post_tag'));
   }, [postType, postTypesTaxonomiesMap]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     setShowSticky(postType === 'post');
   }, [postType]);

@@ -30267,15 +30392,15 @@ function QueryInspectorControls(_ref) {

   const onCategoriesChange = onTermsChange(categories, 'categoryIds');
   const onTagsChange = onTermsChange(tags, 'tagIds');
-  const [querySearch, setQuerySearch] = Object(external_wp_element_["useState"])(query.search);
-  const onChangeDebounced = Object(external_wp_element_["useCallback"])(Object(external_lodash_["debounce"])(() => {
+  const [querySearch, setQuerySearch] = (0,external_wp_element_namespaceObject.useState)(query.search);
+  const onChangeDebounced = (0,external_wp_element_namespaceObject.useCallback)((0,external_lodash_namespaceObject.debounce)(() => {
     if (query.search !== querySearch) {
       setQuery({
         search: querySearch
       });
     }
   }, 250), [querySearch, query.search]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     onChangeDebounced();
     return onChangeDebounced.cancel;
   }, [querySearch, onChangeDebounced]); // Returns only the existing term ids (categories/tags) in proper
@@ -30308,33 +30433,33 @@ function QueryInspectorControls(_ref) {
     }, []);
   };

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Inherit query from template'),
-    help: Object(external_wp_i18n_["__"])('Toggle to use the global query context that is set with the current template, such as an archive or search. Disable to customize the settings independently.'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Inherit query from template'),
+    help: (0,external_wp_i18n_namespaceObject.__)('Toggle to use the global query context that is set with the current template, such as an archive or search. Disable to customize the settings independently.'),
     checked: !!inherit,
     onChange: value => setQuery({
       inherit: !!value
     })
-  }), !inherit && Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
+  }), !inherit && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
     options: postTypesSelectOptions,
     value: postType,
-    label: Object(external_wp_i18n_["__"])('Post Type'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Post Type'),
     onChange: onPostTypeChange,
-    help: Object(external_wp_i18n_["__"])('WordPress contains different types of content and they are divided into collections called "Post Types". By default there are a few different ones such as blog posts and pages, but plugins could add more.')
-  }), (displayLayout === null || displayLayout === void 0 ? void 0 : displayLayout.type) === 'flex' && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Columns'),
+    help: (0,external_wp_i18n_namespaceObject.__)('WordPress contains different types of content and they are divided into collections called "Post Types". By default there are a few different ones such as blog posts and pages, but plugins could add more.')
+  }), (displayLayout === null || displayLayout === void 0 ? void 0 : displayLayout.type) === 'flex' && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Columns'),
     value: displayLayout.columns,
     onChange: value => setDisplayLayout({
       columns: value
     }),
     min: 2,
     max: Math.max(6, displayLayout.columns)
-  }), displayLayout.columns > 6 && Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
+  }), displayLayout.columns > 6 && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Notice, {
     status: "warning",
     isDismissible: false
-  }, Object(external_wp_i18n_["__"])('This column count exceeds the recommended amount and may cause visual breakage.'))), !inherit && Object(external_wp_element_["createElement"])(external_wp_components_["QueryControls"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('This column count exceeds the recommended amount and may cause visual breakage.'))), !inherit && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.QueryControls, {
     order,
     orderBy,
     onOrderChange: value => setQuery({
@@ -30343,40 +30468,40 @@ function QueryInspectorControls(_ref) {
     onOrderByChange: value => setQuery({
       orderBy: value
     })
-  }), showSticky && Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Sticky posts'),
+  }), showSticky && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Sticky posts'),
     options: stickyOptions,
     value: sticky,
     onChange: value => setQuery({
       sticky: value
     }),
-    help: Object(external_wp_i18n_["__"])('Blog posts can be "stickied", a feature that places them at the top of the front page of posts, keeping it there until new sticky posts are published.')
-  })), !inherit && Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Filters')
-  }, showCategories && (categories === null || categories === void 0 ? void 0 : (_categories$terms = categories.terms) === null || _categories$terms === void 0 ? void 0 : _categories$terms.length) > 0 && Object(external_wp_element_["createElement"])(external_wp_components_["FormTokenField"], {
-    label: Object(external_wp_i18n_["__"])('Categories'),
+    help: (0,external_wp_i18n_namespaceObject.__)('Blog posts can be "stickied", a feature that places them at the top of the front page of posts, keeping it there until new sticky posts are published.')
+  })), !inherit && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Filters')
+  }, showCategories && (categories === null || categories === void 0 ? void 0 : (_categories$terms = categories.terms) === null || _categories$terms === void 0 ? void 0 : _categories$terms.length) > 0 && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FormTokenField, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Categories'),
     value: getExistingTermsFormTokenValue('category'),
     suggestions: categories.names,
     onChange: onCategoriesChange
-  }), showTags && (tags === null || tags === void 0 ? void 0 : (_tags$terms = tags.terms) === null || _tags$terms === void 0 ? void 0 : _tags$terms.length) > 0 && Object(external_wp_element_["createElement"])(external_wp_components_["FormTokenField"], {
-    label: Object(external_wp_i18n_["__"])('Tags'),
+  }), showTags && (tags === null || tags === void 0 ? void 0 : (_tags$terms = tags.terms) === null || _tags$terms === void 0 ? void 0 : _tags$terms.length) > 0 && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FormTokenField, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Tags'),
     value: getExistingTermsFormTokenValue('post_tag'),
     suggestions: tags.names,
     onChange: onTagsChange
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["QueryControls"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.QueryControls, {
     selectedAuthorId,
     authorList,
     onAuthorChange: value => setQuery({
       author: value !== '' ? +value : undefined
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Keyword'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Keyword'),
     value: querySearch,
     onChange: setQuerySearch
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/edit/query-placeholder.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/edit/query-placeholder.js


 /**
@@ -30400,12 +30525,12 @@ const QueryPlaceholder = _ref => {
     defaultVariation,
     scopeVariations,
     allVariations
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getBlockVariations,
       getBlockType,
       getDefaultBlockVariation
-    } = select(external_wp_blocks_["store"]);
+    } = select(external_wp_blocks_namespaceObject.store);
     return {
       blockType: getBlockType(name),
       defaultVariation: getDefaultBlockVariation(name, 'block'),
@@ -30415,12 +30540,12 @@ const QueryPlaceholder = _ref => {
   }, [name]);
   const {
     replaceInnerBlocks
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  const matchingVariation = Object(external_wp_blockEditor_["__experimentalGetMatchingVariation"])(attributes, allVariations);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  const matchingVariation = (0,external_wp_blockEditor_namespaceObject.__experimentalGetMatchingVariation)(attributes, allVariations);
   const icon = (matchingVariation === null || matchingVariation === void 0 ? void 0 : matchingVariation.icon) || (blockType === null || blockType === void 0 ? void 0 : (_blockType$icon = blockType.icon) === null || _blockType$icon === void 0 ? void 0 : _blockType$icon.src);
   const label = (matchingVariation === null || matchingVariation === void 0 ? void 0 : matchingVariation.title) || (blockType === null || blockType === void 0 ? void 0 : blockType.title);
-  return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockVariationPicker"], {
+  return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBlockVariationPicker, {
     icon: icon,
     label: label,
     variations: scopeVariations,
@@ -30432,7 +30557,7 @@ const QueryPlaceholder = _ref => {
       }

       if (nextVariation.innerBlocks) {
-        replaceInnerBlocks(clientId, Object(external_wp_blocks_["createBlocksFromInnerBlocksTemplate"])(nextVariation.innerBlocks), false);
+        replaceInnerBlocks(clientId, (0,external_wp_blocks_namespaceObject.createBlocksFromInnerBlocksTemplate)(nextVariation.innerBlocks), false);
       }
     }
   }));
@@ -30440,7 +30565,7 @@ const QueryPlaceholder = _ref => {

 /* harmony default export */ var query_placeholder = (QueryPlaceholder);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/edit/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/edit/index.js


 /**
@@ -30477,33 +30602,33 @@ function QueryContent(_ref) {
   } = attributes;
   const {
     __unstableMarkNextChangeAsNotPersistent
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(QueryContent);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(QueryContent);
   const {
     themeSupportsLayout
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getSettings;

     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     return {
       themeSupportsLayout: (_getSettings = getSettings()) === null || _getSettings === void 0 ? void 0 : _getSettings.supportsLayout
     };
   }, []);
-  const defaultLayout = Object(external_wp_blockEditor_["useSetting"])('layout') || {};
+  const defaultLayout = (0,external_wp_blockEditor_namespaceObject.useSetting)('layout') || {};
   const usedLayout = !!layout && layout.inherit ? defaultLayout : layout;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)(blockProps, {
     template: query_edit_TEMPLATE,
     __experimentalLayout: themeSupportsLayout ? usedLayout : undefined
   });
   const {
     postsPerPage
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     return {
       postsPerPage: +getSettings().postsPerPage || DEFAULTS_POSTS_PER_PAGE
     };
@@ -30516,7 +30641,7 @@ function QueryContent(_ref) {
   // because updates are batched after the render and changes in different query properties
   // would cause to overide previous wanted changes.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     const newQuery = {};

     if (!query.perPage && postsPerPage) {
@@ -30531,7 +30656,7 @@ function QueryContent(_ref) {
   }, [query.perPage]); // We need this for multi-query block pagination.
   // Query parameters for each block are scoped to their ID.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!queryId) {
       __unstableMarkNextChangeAsNotPersistent();

@@ -30553,20 +30678,20 @@ function QueryContent(_ref) {
     }
   });

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(QueryInspectorControls, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(QueryInspectorControls, {
     attributes: attributes,
     setQuery: updateQuery,
     setDisplayLayout: updateDisplayLayout
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(QueryToolbar, {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(QueryToolbar, {
     attributes: attributes,
     setQuery: updateQuery,
     setDisplayLayout: updateDisplayLayout
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, {
     __experimentalGroup: "advanced"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('HTML element'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('HTML element'),
     options: [{
-      label: Object(external_wp_i18n_["__"])('Default (<div>)'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Default (<div>)'),
       value: 'div'
     }, {
       label: '<main>',
@@ -30582,7 +30707,7 @@ function QueryContent(_ref) {
     onChange: value => setAttributes({
       tagName: value
     })
-  })), Object(external_wp_element_["createElement"])(TagName, innerBlocksProps));
+  })), (0,external_wp_element_namespaceObject.createElement)(TagName, innerBlocksProps));
 }

 function QueryPatternSetup(props) {
@@ -30590,14 +30715,14 @@ function QueryPatternSetup(props) {
     clientId,
     name: blockName
   } = props;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
   const {
     replaceBlock,
     selectBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);

   const onBlockPatternSelect = blocks => {
-    const clonedBlocks = blocks.map(block => Object(external_wp_blocks_["cloneBlock"])(block));
+    const clonedBlocks = blocks.map(block => (0,external_wp_blocks_namespaceObject.cloneBlock)(block));
     const firstQueryClientId = getFirstQueryClientIdFromBlocks(clonedBlocks);
     replaceBlock(clientId, clonedBlocks);

@@ -30608,10 +30733,10 @@ function QueryPatternSetup(props) {
   // or if no matched patterns are found.


-  return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockPatternSetup"], {
+  return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBlockPatternSetup, {
     blockName: blockName,
     clientId: clientId,
-    startBlankComponent: Object(external_wp_element_["createElement"])(query_placeholder, props),
+    startBlankComponent: (0,external_wp_element_namespaceObject.createElement)(query_placeholder, props),
     onBlockPatternSelect: onBlockPatternSelect
   }));
 }
@@ -30620,14 +30745,14 @@ const QueryEdit = props => {
   const {
     clientId
   } = props;
-  const hasInnerBlocks = Object(external_wp_data_["useSelect"])(select => !!select(external_wp_blockEditor_["store"]).getBlocks(clientId).length, [clientId]);
+  const hasInnerBlocks = (0,external_wp_data_namespaceObject.useSelect)(select => !!select(external_wp_blockEditor_namespaceObject.store).getBlocks(clientId).length, [clientId]);
   const Component = hasInnerBlocks ? QueryContent : QueryPatternSetup;
-  return Object(external_wp_element_["createElement"])(Component, props);
+  return (0,external_wp_element_namespaceObject.createElement)(Component, props);
 };

 /* harmony default export */ var query_edit = (QueryEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/save.js


 /**
@@ -30640,44 +30765,44 @@ function QuerySave(_ref) {
       tagName: Tag = 'div'
     }
   } = _ref;
-  const blockProps = external_wp_blockEditor_["useBlockProps"].save();
-  const innerBlocksProps = external_wp_blockEditor_["useInnerBlocksProps"].save(blockProps);
-  return Object(external_wp_element_["createElement"])(Tag, innerBlocksProps);
+  const blockProps = external_wp_blockEditor_namespaceObject.useBlockProps.save();
+  const innerBlocksProps = external_wp_blockEditor_namespaceObject.useInnerBlocksProps.save(blockProps);
+  return (0,external_wp_element_namespaceObject.createElement)(Tag, innerBlocksProps);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/icons.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/icons.js


 /**
  * WordPress dependencies
  */

-const titleDate = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const titleDate = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 48 48"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z"
 }));
-const titleExcerpt = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const titleExcerpt = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 48 48"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z"
 }));
-const titleDateExcerpt = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const titleDateExcerpt = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 48 48"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z"
 }));
-const imageDateTitle = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const imageDateTitle = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 48 48"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/variations.js
 /**
  * WordPress dependencies
  */
@@ -30707,8 +30832,8 @@ const QUERY_DEFAULT_ATTRIBUTES = {
 };
 const query_variations_variations = [{
   name: 'posts-list',
-  title: Object(external_wp_i18n_["__"])('Posts List'),
-  description: Object(external_wp_i18n_["__"])('Display a list of your most recent posts, excluding sticky posts.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Posts List'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Display a list of your most recent posts, excluding sticky posts.'),
   icon: post_list,
   attributes: {
     query: {
@@ -30729,7 +30854,7 @@ const query_variations_variations = [{
   scope: ['inserter']
 }, {
   name: 'title-date',
-  title: Object(external_wp_i18n_["__"])('Title & Date'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Title & Date'),
   icon: titleDate,
   attributes: { ...QUERY_DEFAULT_ATTRIBUTES
   },
@@ -30737,7 +30862,7 @@ const query_variations_variations = [{
   scope: ['block']
 }, {
   name: 'title-excerpt',
-  title: Object(external_wp_i18n_["__"])('Title & Excerpt'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Title & Excerpt'),
   icon: titleExcerpt,
   attributes: { ...QUERY_DEFAULT_ATTRIBUTES
   },
@@ -30745,7 +30870,7 @@ const query_variations_variations = [{
   scope: ['block']
 }, {
   name: 'title-date-excerpt',
-  title: Object(external_wp_i18n_["__"])('Title, Date, & Excerpt'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Title, Date, & Excerpt'),
   icon: titleDateExcerpt,
   attributes: { ...QUERY_DEFAULT_ATTRIBUTES
   },
@@ -30753,7 +30878,7 @@ const query_variations_variations = [{
   scope: ['block']
 }, {
   name: 'image-date-title',
-  title: Object(external_wp_i18n_["__"])('Image, Date, & Title'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Image, Date, & Title'),
   icon: imageDateTitle,
   attributes: { ...QUERY_DEFAULT_ATTRIBUTES
   },
@@ -30762,7 +30887,7 @@ const query_variations_variations = [{
 }];
 /* harmony default export */ var query_variations = (query_variations_variations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/deprecated.js


 /**
@@ -30810,19 +30935,19 @@ const query_deprecated_deprecated = [// Version with NO wrapper `div` element.
   },

   migrate(attributes) {
-    return { ...Object(external_lodash_["omit"])(attributes, ['layout']),
+    return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['layout']),
       displayLayout: attributes.layout
     };
   },

   save() {
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
   }

 }];
 /* harmony default export */ var query_deprecated = (query_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/hooks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/hooks.js



@@ -30844,14 +30969,14 @@ const CreateNewPostLink = _ref => {
     } = {}
   } = _ref;
   if (!postType) return null;
-  const newPostUrl = Object(external_wp_url_["addQueryArgs"])('post-new.php', {
+  const newPostUrl = (0,external_wp_url_namespaceObject.addQueryArgs)('post-new.php', {
     post_type: postType
   });
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-query__create-new-link"
-  }, Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["__"])('<a>Create a new post</a> for this feed.'), // eslint-disable-next-line jsx-a11y/anchor-has-content
+  }, (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.__)('<a>Create a new post</a> for this feed.'), // eslint-disable-next-line jsx-a11y/anchor-has-content
   {
-    a: Object(external_wp_element_["createElement"])("a", {
+    a: (0,external_wp_element_namespaceObject.createElement)("a", {
       href: newPostUrl
     })
   }));
@@ -30864,25 +30989,25 @@ const CreateNewPostLink = _ref => {
  */


-const queryTopInspectorControls = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => props => {
+const queryTopInspectorControls = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => props => {
   const {
     name,
     isSelected
   } = props;

   if (name !== 'core/query' || !isSelected) {
-    return Object(external_wp_element_["createElement"])(BlockEdit, Object(esm_extends["a" /* default */])({
+    return (0,external_wp_element_namespaceObject.createElement)(BlockEdit, _extends({
       key: "edit"
     }, props));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(CreateNewPostLink, props)), Object(external_wp_element_["createElement"])(BlockEdit, Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(CreateNewPostLink, props)), (0,external_wp_element_namespaceObject.createElement)(BlockEdit, _extends({
     key: "edit"
   }, props)));
 }, 'withInspectorControls');
 /* harmony default export */ var query_hooks = (queryTopInspectorControls);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query/index.js
 /**
  * WordPress dependencies
  */
@@ -30966,33 +31091,33 @@ const query_settings = {
 }; // Importing this file includes side effects and is whitelisted
 // in block-library/package.json under `sideEffects`.

-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/query', query_hooks);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/query', query_hooks);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/query-pagination.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/query-pagination.js


 /**
  * WordPress dependencies
  */

-const queryPagination = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const queryPagination = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
   x: "4",
   y: "10.5",
   width: "6",
   height: "3",
   rx: "1.5",
   fill: "#000"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
   x: "12",
   y: "10.5",
   width: "3",
   height: "3",
   rx: "1.5",
   fill: "#000"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
   x: "17",
   y: "10.5",
   width: "3",
@@ -31002,7 +31127,7 @@ const queryPagination = Object(external_wp_element_["createElement"])(external_w
 }));
 /* harmony default export */ var query_pagination = (queryPagination);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/query-pagination-arrow-controls.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/query-pagination-arrow-controls.js


 /**
@@ -31015,25 +31140,25 @@ function QueryPaginationArrowControls(_ref) {
     value,
     onChange
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControl"], {
-    label: Object(external_wp_i18n_["__"])('Arrow'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Arrow'),
     value: value,
     onChange: onChange,
-    help: Object(external_wp_i18n_["__"])('A decorative arrow appended to the next and previous page link.'),
+    help: (0,external_wp_i18n_namespaceObject.__)('A decorative arrow appended to the next and previous page link.'),
     isBlock: true
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
     value: "none",
-    label: Object(external_wp_i18n_["_x"])('None', 'Arrow option for Query Pagination Next/Previous blocks')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
+    label: (0,external_wp_i18n_namespaceObject._x)('None', 'Arrow option for Query Pagination Next/Previous blocks')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
     value: "arrow",
-    label: Object(external_wp_i18n_["_x"])('Arrow', 'Arrow option for Query Pagination Next/Previous blocks')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
+    label: (0,external_wp_i18n_namespaceObject._x)('Arrow', 'Arrow option for Query Pagination Next/Previous blocks')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
     value: "chevron",
-    label: Object(external_wp_i18n_["_x"])('Chevron', 'Arrow option for Query Pagination Next/Previous blocks')
+    label: (0,external_wp_i18n_namespaceObject._x)('Chevron', 'Arrow option for Query Pagination Next/Previous blocks')
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/edit.js


 /**
@@ -31052,7 +31177,7 @@ function QueryPaginationArrowControls(_ref) {
 const query_pagination_edit_TEMPLATE = [['core/query-pagination-previous'], ['core/query-pagination-numbers'], ['core/query-pagination-next']];

 const getDefaultBlockLayout = blockTypeOrName => {
-  const layoutBlockSupportConfig = Object(external_wp_blocks_["getBlockSupport"])(blockTypeOrName, '__experimentalLayout');
+  const layoutBlockSupportConfig = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockTypeOrName, '__experimentalLayout');
   return layoutBlockSupportConfig === null || layoutBlockSupportConfig === void 0 ? void 0 : layoutBlockSupportConfig.default;
 };

@@ -31067,10 +31192,10 @@ function QueryPaginationEdit(_ref) {
     name
   } = _ref;
   const usedLayout = layout || getDefaultBlockLayout(name);
-  const hasNextPreviousBlocks = Object(external_wp_data_["useSelect"])(select => {
+  const hasNextPreviousBlocks = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getBlocks
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const innerBlocks = getBlocks(clientId);
     /**
      * Show the `paginationArrow` control only if a
@@ -31081,25 +31206,25 @@ function QueryPaginationEdit(_ref) {
       return ['core/query-pagination-next', 'core/query-pagination-previous'].includes(innerBlock.name);
     });
   }, []);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)(blockProps, {
     template: query_pagination_edit_TEMPLATE,
     allowedBlocks: ['core/query-pagination-previous', 'core/query-pagination-numbers', 'core/query-pagination-next'],
     __experimentalLayout: usedLayout
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, hasNextPreviousBlocks && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Settings')
-  }, Object(external_wp_element_["createElement"])(QueryPaginationArrowControls, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, hasNextPreviousBlocks && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(QueryPaginationArrowControls, {
     value: paginationArrow,
     onChange: value => {
       setAttributes({
         paginationArrow: value
       });
     }
-  }))), Object(external_wp_element_["createElement"])("div", innerBlocksProps));
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/save.js


 /**
@@ -31107,10 +31232,10 @@ function QueryPaginationEdit(_ref) {
  */

 function query_pagination_save_save() {
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/deprecated.js


 /**
@@ -31120,13 +31245,13 @@ function query_pagination_save_save() {
 const query_pagination_deprecated_deprecated = [// Version with wrapper `div` element.
 {
   save() {
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save(), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
   }

 }];
 /* harmony default export */ var query_pagination_deprecated = (query_pagination_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination/index.js
 /**
  * WordPress dependencies
  */
@@ -31186,38 +31311,38 @@ const query_pagination_settings = {
   deprecated: query_pagination_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/query-pagination-next.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/query-pagination-next.js


 /**
  * WordPress dependencies
  */

-const queryPaginationNext = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const queryPaginationNext = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
   x: "6",
   y: "10.5",
   width: "3",
   height: "3",
   rx: "1.5",
   fill: "#000"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
   x: "11",
   y: "10.5",
   width: "3",
   height: "3",
   rx: "1.5",
   fill: "#000"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M16.5 9.5L19 12l-2.5 2.5",
   stroke: "#1E1E1E",
   strokeWidth: "1.5"
 }));
 /* harmony default export */ var query_pagination_next = (queryPaginationNext);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-next/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-next/edit.js



@@ -31242,24 +31367,24 @@ function QueryPaginationNextEdit(_ref) {
     }
   } = _ref;
   const displayArrow = arrowMap[paginationArrow];
-  return Object(external_wp_element_["createElement"])("a", Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)("a", _extends({
     href: "#pagination-next-pseudo-link",
     onClick: event => event.preventDefault()
-  }, Object(external_wp_blockEditor_["useBlockProps"])()), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["PlainText"], {
+  }, (0,external_wp_blockEditor_namespaceObject.useBlockProps)()), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.PlainText, {
     __experimentalVersion: 2,
     tagName: "span",
-    "aria-label": Object(external_wp_i18n_["__"])('Next page link'),
-    placeholder: Object(external_wp_i18n_["__"])('Next Page'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Next page link'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Next Page'),
     value: label,
     onChange: newLabel => setAttributes({
       label: newLabel
     })
-  }), displayArrow && Object(external_wp_element_["createElement"])("span", {
+  }), displayArrow && (0,external_wp_element_namespaceObject.createElement)("span", {
     className: `wp-block-query-pagination-next-arrow is-arrow-${paginationArrow}`
   }, displayArrow));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-next/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-next/index.js
 /**
  * WordPress dependencies
  */
@@ -31312,33 +31437,33 @@ const query_pagination_next_settings = {
   edit: QueryPaginationNextEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/query-pagination-numbers.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/query-pagination-numbers.js


 /**
  * WordPress dependencies
  */

-const queryPaginationNumbers = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const queryPaginationNumbers = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
   x: "4",
   y: "10.5",
   width: "6",
   height: "3",
   rx: "1.5",
   fill: "#000"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M13.5 14v-4l-1.5.5",
   stroke: "#1E1E1E"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19.266 9.805c-.473-.611-1.22-.51-1.702-.367a3.854 3.854 0 00-.718.307l.13 1.082c.192-.17.47-.422.782-.515.34-.1.578.025.668.141.21.27-.034.835-.16 1.055-.49.85-.93 1.594-1.45 2.492H19.5v-1h-.914c.277-.574.814-1.443.914-2.106.052-.343.02-.762-.234-1.09z",
   fill: "#1E1E1E"
 }));
 /* harmony default export */ var query_pagination_numbers = (queryPaginationNumbers);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-numbers/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-numbers/edit.js


 /**
@@ -31349,19 +31474,19 @@ const queryPaginationNumbers = Object(external_wp_element_["createElement"])(ext
 const createPaginationItem = function (content) {
   let Tag = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'a';
   let extraClass = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
-  return Object(external_wp_element_["createElement"])(Tag, {
+  return (0,external_wp_element_namespaceObject.createElement)(Tag, {
     className: `page-numbers ${extraClass}`
   }, content);
 };

-const previewPaginationNumbers = () => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, createPaginationItem(1), createPaginationItem(2), createPaginationItem(3, 'span', 'current'), createPaginationItem(4), createPaginationItem(5), createPaginationItem('...', 'span', 'dots'), createPaginationItem(8));
+const previewPaginationNumbers = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, createPaginationItem(1), createPaginationItem(2), createPaginationItem(3, 'span', 'current'), createPaginationItem(4), createPaginationItem(5), createPaginationItem('...', 'span', 'dots'), createPaginationItem(8));

 function QueryPaginationNumbersEdit() {
   const paginationNumbers = previewPaginationNumbers();
-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), paginationNumbers);
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), paginationNumbers);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-numbers/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-numbers/index.js
 /**
  * WordPress dependencies
  */
@@ -31395,17 +31520,17 @@ const query_pagination_numbers_settings = {
   edit: QueryPaginationNumbersEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/query-pagination-previous.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/query-pagination-previous.js


 /**
  * WordPress dependencies
  */

-const queryPaginationPrevious = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const queryPaginationPrevious = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
   x: "18",
   y: "13.5",
   width: "3",
@@ -31413,7 +31538,7 @@ const queryPaginationPrevious = Object(external_wp_element_["createElement"])(ex
   rx: "1.5",
   transform: "rotate(-180 18 13.5)",
   fill: "#000"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
   x: "13",
   y: "13.5",
   width: "3",
@@ -31421,14 +31546,14 @@ const queryPaginationPrevious = Object(external_wp_element_["createElement"])(ex
   rx: "1.5",
   transform: "rotate(-180 13 13.5)",
   fill: "#000"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M7.5 14.5L5 12l2.5-2.5",
   stroke: "#1E1E1E",
   strokeWidth: "1.5"
 }));
 /* harmony default export */ var query_pagination_previous = (queryPaginationPrevious);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-previous/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-previous/edit.js



@@ -31453,16 +31578,16 @@ function QueryPaginationPreviousEdit(_ref) {
     }
   } = _ref;
   const displayArrow = edit_arrowMap[paginationArrow];
-  return Object(external_wp_element_["createElement"])("a", Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)("a", _extends({
     href: "#pagination-previous-pseudo-link",
     onClick: event => event.preventDefault()
-  }, Object(external_wp_blockEditor_["useBlockProps"])()), displayArrow && Object(external_wp_element_["createElement"])("span", {
+  }, (0,external_wp_blockEditor_namespaceObject.useBlockProps)()), displayArrow && (0,external_wp_element_namespaceObject.createElement)("span", {
     className: `wp-block-query-pagination-previous-arrow is-arrow-${paginationArrow}`
-  }, displayArrow), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["PlainText"], {
+  }, displayArrow), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.PlainText, {
     __experimentalVersion: 2,
     tagName: "span",
-    "aria-label": Object(external_wp_i18n_["__"])('Previous page link'),
-    placeholder: Object(external_wp_i18n_["__"])('Previous Page'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Previous page link'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Previous Page'),
     value: label,
     onChange: newLabel => setAttributes({
       label: newLabel
@@ -31470,7 +31595,7 @@ function QueryPaginationPreviousEdit(_ref) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-previous/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-pagination-previous/index.js
 /**
  * WordPress dependencies
  */
@@ -31523,7 +31648,7 @@ const query_pagination_previous_settings = {
   edit: QueryPaginationPreviousEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-title/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-title/edit.js


 /**
@@ -31553,7 +31678,7 @@ function QueryTitleEdit(_ref) {
     setAttributes
   } = _ref;
   const TagName = `h${level}`;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign,
       'wp-block-query-title__placeholder': type === 'archive'
@@ -31562,23 +31687,23 @@ function QueryTitleEdit(_ref) {
   // block variations like `Search Title`.

   if (!SUPPORTED_TYPES.includes(type)) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('Provided type is not supported.')));
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('Provided type is not supported.')));
   }

   let titleElement;

   if (type === 'archive') {
-    titleElement = Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_i18n_["__"])('Archive title'));
+    titleElement = (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_i18n_namespaceObject.__)('Archive title'));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(HeadingLevelDropdown, {
+  }, (0,external_wp_element_namespaceObject.createElement)(HeadingLevelDropdown, {
     selectedLevel: level,
     onChange: newLevel => setAttributes({
       level: newLevel
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
@@ -31588,27 +31713,27 @@ function QueryTitleEdit(_ref) {
   })), titleElement);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/archive-title.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/archive-title.js


 /**
  * WordPress dependencies
  */

-const archiveTitle = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const archiveTitle = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   stroke: "#1E1E1E",
   strokeWidth: "1.5",
   d: "M4 19.25h9M4 15.25h16"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",
   fill: "#1E1E1E"
 }));
 /* harmony default export */ var archive_title = (archiveTitle);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-title/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-title/variations.js
 /**
  * WordPress dependencies
  */
@@ -31617,8 +31742,8 @@ const archiveTitle = Object(external_wp_element_["createElement"])(external_wp_p
 const query_title_variations_variations = [{
   isDefault: true,
   name: 'archive-title',
-  title: Object(external_wp_i18n_["__"])('Archive Title'),
-  description: Object(external_wp_i18n_["__"])('Display the archive title based on the queried object.'),
+  title: (0,external_wp_i18n_namespaceObject.__)('Archive Title'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Display the archive title based on the queried object.'),
   icon: archive_title,
   attributes: {
     type: 'archive'
@@ -31638,7 +31763,7 @@ query_title_variations_variations.forEach(variation => {
 });
 /* harmony default export */ var query_title_variations = (query_title_variations_variations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-title/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-title/deprecated.js
 /**
  * Internal dependencies
  */
@@ -31699,7 +31824,7 @@ const query_title_deprecated_v1 = {

 /* harmony default export */ var query_title_deprecated = ([query_title_deprecated_v1]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-title/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/query-title/index.js
 /**
  * Internal dependencies
  */
@@ -31761,22 +31886,22 @@ const query_title_settings = {
   deprecated: query_title_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/quote.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/quote.js


 /**
  * WordPress dependencies
  */

-const quote = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const quote = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"
 }));
 /* harmony default export */ var library_quote = (quote);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/deprecated.js


 /**
@@ -31818,14 +31943,14 @@ const quote_deprecated_deprecated = [{
       value,
       citation
     } = attributes;
-    return Object(external_wp_element_["createElement"])("blockquote", {
+    return (0,external_wp_element_namespaceObject.createElement)("blockquote", {
       style: {
         textAlign: align ? align : null
       }
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       multiline: true,
       value: value
-    }), !external_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "cite",
       value: citation
     }));
@@ -31841,7 +31966,7 @@ const quote_deprecated_deprecated = [{

   migrate(attributes) {
     if (attributes.style === 2) {
-      return { ...Object(external_lodash_["omit"])(attributes, ['style']),
+      return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['style']),
         className: attributes.className ? attributes.className + ' is-style-large' : 'is-style-large'
       };
     }
@@ -31859,15 +31984,15 @@ const quote_deprecated_deprecated = [{
       citation,
       style
     } = attributes;
-    return Object(external_wp_element_["createElement"])("blockquote", {
+    return (0,external_wp_element_namespaceObject.createElement)("blockquote", {
       className: style === 2 ? 'is-large' : '',
       style: {
         textAlign: align ? align : null
       }
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       multiline: true,
       value: value
-    }), !external_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "cite",
       value: citation
     }));
@@ -31889,7 +32014,7 @@ const quote_deprecated_deprecated = [{

   migrate(attributes) {
     if (!isNaN(parseInt(attributes.style))) {
-      return { ...Object(external_lodash_["omit"])(attributes, ['style'])
+      return { ...(0,external_lodash_namespaceObject.omit)(attributes, ['style'])
       };
     }

@@ -31906,15 +32031,15 @@ const quote_deprecated_deprecated = [{
       citation,
       style
     } = attributes;
-    return Object(external_wp_element_["createElement"])("blockquote", {
+    return (0,external_wp_element_namespaceObject.createElement)("blockquote", {
       className: `blocks-quote-style-${style}`,
       style: {
         textAlign: align ? align : null
       }
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       multiline: true,
       value: value
-    }), !external_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "footer",
       value: citation
     }));
@@ -31923,7 +32048,7 @@ const quote_deprecated_deprecated = [{
 }];
 /* harmony default export */ var quote_deprecated = (quote_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/edit.js


 /**
@@ -31939,7 +32064,7 @@ const quote_deprecated_deprecated = [{



-const isWebPlatform = external_wp_element_["Platform"].OS === 'web';
+const isWebPlatform = external_wp_element_namespaceObject.Platform.OS === 'web';
 function QuoteEdit(_ref) {
   let {
     attributes,
@@ -31956,22 +32081,22 @@ function QuoteEdit(_ref) {
     value,
     citation
   } = attributes;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()(className, {
       [`has-text-align-${align}`]: align
     }),
     style
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: align,
     onChange: nextAlign => {
       setAttributes({
         align: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["BlockQuotation"], blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BlockQuotation, blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     identifier: "value",
     multiline: true,
     value: value,
@@ -31986,16 +32111,16 @@ function QuoteEdit(_ref) {
         onReplace([]);
       }
     },
-    "aria-label": Object(external_wp_i18n_["__"])('Quote text'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Quote text'),
     placeholder: // translators: placeholder text used for the quote
-    Object(external_wp_i18n_["__"])('Add quote'),
+    (0,external_wp_i18n_namespaceObject.__)('Add quote'),
     onReplace: onReplace,
-    onSplit: piece => Object(external_wp_blocks_["createBlock"])('core/quote', { ...attributes,
+    onSplit: piece => (0,external_wp_blocks_namespaceObject.createBlock)('core/quote', { ...attributes,
       value: piece
     }),
-    __unstableOnSplitMiddle: () => Object(external_wp_blocks_["createBlock"])('core/paragraph'),
+    __unstableOnSplitMiddle: () => (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'),
     textAlign: align
-  }), (!external_wp_blockEditor_["RichText"].isEmpty(citation) || isSelected) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }), (!external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) || isSelected) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     identifier: "citation",
     tagName: isWebPlatform ? 'cite' : undefined,
     style: {
@@ -32006,16 +32131,16 @@ function QuoteEdit(_ref) {
       citation: nextCitation
     }),
     __unstableMobileNoFocusOnMount: true,
-    "aria-label": Object(external_wp_i18n_["__"])('Quote citation text'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Quote citation text'),
     placeholder: // translators: placeholder text used for the citation
-    Object(external_wp_i18n_["__"])('Add citation'),
+    (0,external_wp_i18n_namespaceObject.__)('Add citation'),
     className: "wp-block-quote__citation",
     textAlign: align,
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'))
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/save.js


 /**
@@ -32039,18 +32164,18 @@ function quote_save_save(_ref) {
   const className = classnames_default()({
     [`has-text-align-${align}`]: align
   });
-  return Object(external_wp_element_["createElement"])("blockquote", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("blockquote", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     multiline: true,
     value: value
-  }), !external_wp_blockEditor_["RichText"].isEmpty(citation) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(citation) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "cite",
     value: citation
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/transforms.js
 /**
  * WordPress dependencies
  */
@@ -32062,13 +32187,13 @@ const quote_transforms_transforms = {
     isMultiBlock: true,
     blocks: ['core/paragraph'],
     transform: attributes => {
-      return Object(external_wp_blocks_["createBlock"])('core/quote', {
-        value: Object(external_wp_richText_["toHTMLString"])({
-          value: Object(external_wp_richText_["join"])(attributes.map(_ref => {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/quote', {
+        value: (0,external_wp_richText_namespaceObject.toHTMLString)({
+          value: (0,external_wp_richText_namespaceObject.join)(attributes.map(_ref => {
             let {
               content
             } = _ref;
-            return Object(external_wp_richText_["create"])({
+            return (0,external_wp_richText_namespaceObject.create)({
               html: content
             });
           }), '\u2028'),
@@ -32085,7 +32210,7 @@ const quote_transforms_transforms = {
         content,
         anchor
       } = _ref2;
-      return Object(external_wp_blocks_["createBlock"])('core/quote', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/quote', {
         value: `<p>${content}</p>`,
         anchor
       });
@@ -32099,7 +32224,7 @@ const quote_transforms_transforms = {
         citation,
         anchor
       } = _ref3;
-      return Object(external_wp_blocks_["createBlock"])('core/quote', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/quote', {
         value,
         citation,
         anchor
@@ -32109,7 +32234,7 @@ const quote_transforms_transforms = {
     type: 'prefix',
     prefix: '>',
     transform: content => {
-      return Object(external_wp_blocks_["createBlock"])('core/quote', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/quote', {
         value: `<p>${content}</p>`
       });
     }
@@ -32165,24 +32290,24 @@ const quote_transforms_transforms = {
       const paragraphs = [];

       if (value && value !== '<p></p>') {
-        paragraphs.push(...Object(external_wp_richText_["split"])(Object(external_wp_richText_["create"])({
+        paragraphs.push(...(0,external_wp_richText_namespaceObject.split)((0,external_wp_richText_namespaceObject.create)({
           html: value,
           multilineTag: 'p'
-        }), '\u2028').map(piece => Object(external_wp_blocks_["createBlock"])('core/paragraph', {
-          content: Object(external_wp_richText_["toHTMLString"])({
+        }), '\u2028').map(piece => (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
+          content: (0,external_wp_richText_namespaceObject.toHTMLString)({
             value: piece
           })
         })));
       }

       if (citation && citation !== '<p></p>') {
-        paragraphs.push(Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+        paragraphs.push((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
           content: citation
         }));
       }

       if (paragraphs.length === 0) {
-        return Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
           content: ''
         });
       }
@@ -32203,17 +32328,17 @@ const quote_transforms_transforms = {
       // content of the resulting heading. A nonexistent citation
       // will result in an empty heading.
       if (value === '<p></p>') {
-        return Object(external_wp_blocks_["createBlock"])('core/heading', {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/heading', {
           content: citation
         });
       }

-      const pieces = Object(external_wp_richText_["split"])(Object(external_wp_richText_["create"])({
+      const pieces = (0,external_wp_richText_namespaceObject.split)((0,external_wp_richText_namespaceObject.create)({
         html: value,
         multilineTag: 'p'
       }), '\u2028');
-      const headingBlock = Object(external_wp_blocks_["createBlock"])('core/heading', {
-        content: Object(external_wp_richText_["toHTMLString"])({
+      const headingBlock = (0,external_wp_blocks_namespaceObject.createBlock)('core/heading', {
+        content: (0,external_wp_richText_namespaceObject.toHTMLString)({
           value: pieces[0]
         })
       });
@@ -32223,10 +32348,10 @@ const quote_transforms_transforms = {
       }

       const quotePieces = pieces.slice(1);
-      const quoteBlock = Object(external_wp_blocks_["createBlock"])('core/quote', { ...attrs,
+      const quoteBlock = (0,external_wp_blocks_namespaceObject.createBlock)('core/quote', { ...attrs,
         citation,
-        value: Object(external_wp_richText_["toHTMLString"])({
-          value: quotePieces.length ? Object(external_wp_richText_["join"])(pieces.slice(1), '\u2028') : Object(external_wp_richText_["create"])(),
+        value: (0,external_wp_richText_namespaceObject.toHTMLString)({
+          value: quotePieces.length ? (0,external_wp_richText_namespaceObject.join)(pieces.slice(1), '\u2028') : (0,external_wp_richText_namespaceObject.create)(),
           multilineTag: 'p'
         })
       });
@@ -32241,7 +32366,7 @@ const quote_transforms_transforms = {
         citation,
         anchor
       } = _ref7;
-      return Object(external_wp_blocks_["createBlock"])('core/pullquote', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/pullquote', {
         value,
         citation,
         anchor
@@ -32251,7 +32376,7 @@ const quote_transforms_transforms = {
 };
 /* harmony default export */ var quote_transforms = (quote_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/quote/index.js
 /**
  * WordPress dependencies
  */
@@ -32331,7 +32456,7 @@ const quote_settings = {
   icon: library_quote,
   example: {
     attributes: {
-      value: '<p>' + Object(external_wp_i18n_["__"])('In quoting others, we cite ourselves.') + '</p>',
+      value: '<p>' + (0,external_wp_i18n_namespaceObject.__)('In quoting others, we cite ourselves.') + '</p>',
       citation: 'Julio Cortázar',
       className: 'is-style-large'
     }
@@ -32367,28 +32492,39 @@ const quote_settings = {
   deprecated: quote_deprecated
 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol.js
-var symbol = __webpack_require__("+WrK");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol.js

-// EXTERNAL MODULE: external ["wp","reusableBlocks"]
-var external_wp_reusableBlocks_ = __webpack_require__("diJD");

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/ungroup.js
+/**
+ * WordPress dependencies
+ */
+
+const symbol = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_symbol = (symbol);
+
+;// CONCATENATED MODULE: external ["wp","reusableBlocks"]
+var external_wp_reusableBlocks_namespaceObject = window["wp"]["reusableBlocks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/ungroup.js


 /**
  * WordPress dependencies
  */

-const ungroup = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const ungroup = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"
 }));
 /* harmony default export */ var library_ungroup = (ungroup);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/edit.js


 /**
@@ -32408,13 +32544,13 @@ function ReusableBlockEdit(_ref) {
     },
     clientId
   } = _ref;
-  const [hasAlreadyRendered, RecursionProvider] = Object(external_wp_blockEditor_["__experimentalUseNoRecursiveRenders"])(ref);
+  const [hasAlreadyRendered, RecursionProvider] = (0,external_wp_blockEditor_namespaceObject.__experimentalUseNoRecursiveRenders)(ref);
   const {
     isMissing,
     hasResolved
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const persistedBlock = select(external_wp_coreData_["store"]).getEntityRecord('postType', 'wp_block', ref);
-    const hasResolvedBlock = select(external_wp_coreData_["store"]).hasFinishedResolution('getEntityRecord', ['postType', 'wp_block', ref]);
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const persistedBlock = select(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', 'wp_block', ref);
+    const hasResolvedBlock = select(external_wp_coreData_namespaceObject.store).hasFinishedResolution('getEntityRecord', ['postType', 'wp_block', ref]);
     return {
       hasResolved: hasResolvedBlock,
       isMissing: hasResolvedBlock && !persistedBlock
@@ -32422,48 +32558,48 @@ function ReusableBlockEdit(_ref) {
   }, [ref, clientId]);
   const {
     __experimentalConvertBlockToStatic: convertBlockToStatic
-  } = Object(external_wp_data_["useDispatch"])(external_wp_reusableBlocks_["store"]);
-  const [blocks, onInput, onChange] = Object(external_wp_coreData_["useEntityBlockEditor"])('postType', 'wp_block', {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_reusableBlocks_namespaceObject.store);
+  const [blocks, onInput, onChange] = (0,external_wp_coreData_namespaceObject.useEntityBlockEditor)('postType', 'wp_block', {
     id: ref
   });
-  const [title, setTitle] = Object(external_wp_coreData_["useEntityProp"])('postType', 'wp_block', 'title', ref);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({}, {
+  const [title, setTitle] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', 'wp_block', 'title', ref);
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)({}, {
     value: blocks,
     onInput,
     onChange,
-    renderAppender: blocks !== null && blocks !== void 0 && blocks.length ? undefined : external_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender
+    renderAppender: blocks !== null && blocks !== void 0 && blocks.length ? undefined : external_wp_blockEditor_namespaceObject.InnerBlocks.ButtonBlockAppender
   });

   if (hasAlreadyRendered) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('Block cannot be rendered inside itself.')));
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('Block cannot be rendered inside itself.')));
   }

   if (isMissing) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('Block has been deleted or is unavailable.')));
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('Block has been deleted or is unavailable.')));
   }

   if (!hasResolved) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)));
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null)));
   }

-  return Object(external_wp_element_["createElement"])(RecursionProvider, null, Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  return (0,external_wp_element_namespaceObject.createElement)(RecursionProvider, null, (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     onClick: () => convertBlockToStatic(clientId),
-    label: Object(external_wp_i18n_["__"])('Convert to regular blocks'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Convert to regular blocks'),
     icon: library_ungroup,
     showTooltip: true
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], null, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Name'),
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Name'),
     value: title,
     onChange: setTitle
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockContentOverlay"], {
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBlockContentOverlay, {
     clientId: clientId,
     wrapperProps: innerBlocksProps,
     className: "block-library-block__reusable-block-container"
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/block/index.js
 /**
  * WordPress dependencies
  */
@@ -32498,25 +32634,25 @@ const {

 const block_settings = {
   edit: ReusableBlockEdit,
-  icon: symbol["a" /* default */]
+  icon: library_symbol
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/rss.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/rss.js


 /**
  * WordPress dependencies
  */

-const rss = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const rss = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"
 }));
 /* harmony default export */ var library_rss = (rss);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/rss/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/rss/edit.js


 /**
@@ -32535,7 +32671,7 @@ function RSSEdit(_ref) {
     attributes,
     setAttributes
   } = _ref;
-  const [isEditing, setIsEditing] = Object(external_wp_element_["useState"])(!attributes.feedURL);
+  const [isEditing, setIsEditing] = (0,external_wp_element_namespaceObject.useState)(!attributes.feedURL);
   const {
     blockLayout,
     columns,
@@ -32564,53 +32700,53 @@ function RSSEdit(_ref) {
     }
   }

-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();

   if (isEditing) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
       icon: library_rss,
       label: "RSS"
-    }, Object(external_wp_element_["createElement"])("form", {
+    }, (0,external_wp_element_namespaceObject.createElement)("form", {
       onSubmit: onSubmitURL,
       className: "wp-block-rss__placeholder-form"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-      placeholder: Object(external_wp_i18n_["__"])('Enter URL here…'),
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+      placeholder: (0,external_wp_i18n_namespaceObject.__)('Enter URL here…'),
       value: feedURL,
       onChange: value => setAttributes({
         feedURL: value
       }),
       className: "wp-block-rss__placeholder-input"
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       variant: "primary",
       type: "submit"
-    }, Object(external_wp_i18n_["__"])('Use URL')))));
+    }, (0,external_wp_i18n_namespaceObject.__)('Use URL')))));
   }

   const toolbarControls = [{
-    icon: library_edit["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Edit RSS URL'),
+    icon: library_edit,
+    title: (0,external_wp_i18n_namespaceObject.__)('Edit RSS URL'),
     onClick: () => setIsEditing(true)
   }, {
     icon: library_list,
-    title: Object(external_wp_i18n_["__"])('List view'),
+    title: (0,external_wp_i18n_namespaceObject.__)('List view'),
     onClick: () => setAttributes({
       blockLayout: 'list'
     }),
     isActive: blockLayout === 'list'
   }, {
-    icon: grid["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Grid view'),
+    icon: library_grid,
+    title: (0,external_wp_i18n_namespaceObject.__)('Grid view'),
     onClick: () => setAttributes({
       blockLayout: 'grid'
     }),
     isActive: blockLayout === 'grid'
   }];
-  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"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, {
     controls: toolbarControls
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('RSS settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Number of items'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('RSS settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Number of items'),
     value: itemsToShow,
     onChange: value => setAttributes({
       itemsToShow: value
@@ -32618,20 +32754,20 @@ function RSSEdit(_ref) {
     min: DEFAULT_MIN_ITEMS,
     max: DEFAULT_MAX_ITEMS,
     required: true
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display author'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display author'),
     checked: displayAuthor,
     onChange: toggleAttribute('displayAuthor')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display date'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display date'),
     checked: displayDate,
     onChange: toggleAttribute('displayDate')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Display excerpt'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Display excerpt'),
     checked: displayExcerpt,
     onChange: toggleAttribute('displayExcerpt')
-  }), displayExcerpt && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Max number of words in excerpt'),
+  }), displayExcerpt && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Max number of words in excerpt'),
     value: excerptLength,
     onChange: value => setAttributes({
       excerptLength: value
@@ -32639,8 +32775,8 @@ function RSSEdit(_ref) {
     min: 10,
     max: 100,
     required: true
-  }), blockLayout === 'grid' && Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Columns'),
+  }), blockLayout === 'grid' && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Columns'),
     value: columns,
     onChange: value => setAttributes({
       columns: value
@@ -32648,13 +32784,13 @@ function RSSEdit(_ref) {
     min: 2,
     max: 6,
     required: true
-  }))), Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], null, Object(external_wp_element_["createElement"])(external_wp_serverSideRender_default.a, {
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, null, (0,external_wp_element_namespaceObject.createElement)((external_wp_serverSideRender_default()), {
     block: "core/rss",
     attributes: attributes
   }))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/rss/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/rss/index.js
 /**
  * WordPress dependencies
  */
@@ -32727,17 +32863,17 @@ const rss_settings = {
   edit: RSSEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/icons.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/icons.js


 /**
  * WordPress dependencies
  */

-const buttonOnly = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const buttonOnly = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "7",
   y: "10",
   width: "10",
@@ -32745,10 +32881,10 @@ const buttonOnly = Object(external_wp_element_["createElement"])(external_wp_com
   rx: "1",
   fill: "currentColor"
 }));
-const buttonOutside = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const buttonOutside = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "4.75",
   y: "15.25",
   width: "6.5",
@@ -32757,7 +32893,7 @@ const buttonOutside = Object(external_wp_element_["createElement"])(external_wp_
   stroke: "currentColor",
   strokeWidth: "1.5",
   fill: "none"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "16",
   y: "10",
   width: "4",
@@ -32765,10 +32901,10 @@ const buttonOutside = Object(external_wp_element_["createElement"])(external_wp_
   rx: "1",
   fill: "currentColor"
 }));
-const buttonInside = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const buttonInside = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "4.75",
   y: "15.25",
   width: "6.5",
@@ -32777,7 +32913,7 @@ const buttonInside = Object(external_wp_element_["createElement"])(external_wp_c
   stroke: "currentColor",
   strokeWidth: "1.5",
   fill: "none"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "14",
   y: "10",
   width: "4",
@@ -32785,10 +32921,10 @@ const buttonInside = Object(external_wp_element_["createElement"])(external_wp_c
   rx: "1",
   fill: "currentColor"
 }));
-const noButton = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const noButton = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "4.75",
   y: "15.25",
   width: "6.5",
@@ -32798,10 +32934,10 @@ const noButton = Object(external_wp_element_["createElement"])(external_wp_compo
   fill: "none",
   strokeWidth: "1.5"
 }));
-const buttonWithIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const buttonWithIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "4.75",
   y: "7.75",
   width: "14.5",
@@ -32810,17 +32946,17 @@ const buttonWithIcon = Object(external_wp_element_["createElement"])(external_wp
   stroke: "currentColor",
   fill: "none",
   strokeWidth: "1.5"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "8",
   y: "11",
   width: "8",
   height: "2",
   fill: "currentColor"
 }));
-const toggleLabel = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const toggleLabel = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "4.75",
   y: "17.25",
   width: "5.5",
@@ -32829,7 +32965,7 @@ const toggleLabel = Object(external_wp_element_["createElement"])(external_wp_co
   stroke: "currentColor",
   fill: "none",
   strokeWidth: "1.5"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "4",
   y: "7",
   width: "10",
@@ -32837,7 +32973,7 @@ const toggleLabel = Object(external_wp_element_["createElement"])(external_wp_co
   fill: "currentColor"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/utils.js
 /**
  * Constants
  */
@@ -32857,7 +32993,7 @@ function utils_isPercentageUnit(unit) {
   return unit === '%';
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/edit.js


 /**
@@ -32907,19 +33043,19 @@ function SearchEdit(_ref) {
     buttonUseIcon,
     style
   } = attributes;
-  const insertedInNavigationBlock = Object(external_wp_data_["useSelect"])(select => {
+  const insertedInNavigationBlock = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getBlockParentsByBlo;

     const {
       getBlockParentsByBlockName,
       wasBlockJustInserted
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     return !!((_getBlockParentsByBlo = getBlockParentsByBlockName(clientId, 'core/navigation')) !== null && _getBlockParentsByBlo !== void 0 && _getBlockParentsByBlo.length) && wasBlockJustInserted(clientId);
   }, [clientId]);
   const {
     __unstableMarkNextChangeAsNotPersistent
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!insertedInNavigationBlock) return; // This side-effect should not create an undo level.

     __unstableMarkNextChangeAsNotPersistent();
@@ -32932,7 +33068,7 @@ function SearchEdit(_ref) {
   }, [insertedInNavigationBlock]);
   const borderRadius = style === null || style === void 0 ? void 0 : (_style$border = style.border) === null || _style$border === void 0 ? void 0 : _style$border.radius;
   const borderColor = style === null || style === void 0 ? void 0 : (_style$border2 = style.border) === null || _style$border2 === void 0 ? void 0 : _style$border2.color;
-  const borderProps = Object(external_wp_blockEditor_["__experimentalUseBorderProps"])(attributes); // Check for old deprecated numerical border radius. Done as a separate
+  const borderProps = (0,external_wp_blockEditor_namespaceObject.__experimentalUseBorderProps)(attributes); // Check for old deprecated numerical border radius. Done as a separate
   // check so that a borderRadius style won't overwrite the longhand
   // per-corner styles.

@@ -32940,14 +33076,14 @@ function SearchEdit(_ref) {
     borderProps.style.borderRadius = `${borderRadius}px`;
   }

-  const colorProps = Object(external_wp_blockEditor_["__experimentalUseColorProps"])(attributes);
-  const unitControlInstanceId = Object(external_wp_compose_["useInstanceId"])(external_wp_blockEditor_["__experimentalUnitControl"]);
+  const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalUseColorProps)(attributes);
+  const unitControlInstanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(external_wp_blockEditor_namespaceObject.__experimentalUnitControl);
   const unitControlInputId = `wp-block-search__width-${unitControlInstanceId}`;
   const isButtonPositionInside = 'button-inside' === buttonPosition;
   const isButtonPositionOutside = 'button-outside' === buttonPosition;
   const hasNoButton = 'no-button' === buttonPosition;
   const hasOnlyButton = 'button-only' === buttonPosition;
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
     availableUnits: ['%', 'px'],
     defaultValues: {
       '%': PC_WIDTH_DEFAULT,
@@ -32961,7 +33097,7 @@ function SearchEdit(_ref) {

   const buttonPositionControls = [{
     role: 'menuitemradio',
-    title: Object(external_wp_i18n_["__"])('Button outside'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Button outside'),
     isActive: buttonPosition === 'button-outside',
     icon: buttonOutside,
     onClick: () => {
@@ -32971,7 +33107,7 @@ function SearchEdit(_ref) {
     }
   }, {
     role: 'menuitemradio',
-    title: Object(external_wp_i18n_["__"])('Button inside'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Button inside'),
     isActive: buttonPosition === 'button-inside',
     icon: buttonInside,
     onClick: () => {
@@ -32981,7 +33117,7 @@ function SearchEdit(_ref) {
     }
   }, {
     role: 'menuitemradio',
-    title: Object(external_wp_i18n_["__"])('No button'),
+    title: (0,external_wp_i18n_namespaceObject.__)('No button'),
     isActive: buttonPosition === 'no-button',
     icon: noButton,
     onClick: () => {
@@ -33024,14 +33160,14 @@ function SearchEdit(_ref) {
     const textFieldStyles = isButtonPositionInside ? {
       borderRadius
     } : borderProps.style;
-    return Object(external_wp_element_["createElement"])("input", {
+    return (0,external_wp_element_namespaceObject.createElement)("input", {
       className: textFieldClasses,
       style: textFieldStyles,
-      "aria-label": Object(external_wp_i18n_["__"])('Optional placeholder text') // We hide the placeholder field's placeholder when there is a value. This
+      "aria-label": (0,external_wp_i18n_namespaceObject.__)('Optional placeholder text') // We hide the placeholder field's placeholder when there is a value. This
       // stops screen readers from reading the placeholder field's placeholder
       // which is confusing.
       ,
-      placeholder: placeholder ? undefined : Object(external_wp_i18n_["__"])('Optional placeholder…'),
+      placeholder: placeholder ? undefined : (0,external_wp_i18n_namespaceObject.__)('Optional placeholder…'),
       value: placeholder,
       onChange: event => setAttributes({
         placeholder: event.target.value
@@ -33047,17 +33183,17 @@ function SearchEdit(_ref) {
         borderRadius
       } : borderProps.style)
     };
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, buttonUseIcon && Object(external_wp_element_["createElement"])("button", {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, buttonUseIcon && (0,external_wp_element_namespaceObject.createElement)("button", {
       type: "button",
       className: buttonClasses,
       style: buttonStyles
-    }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: library_search["a" /* default */]
-    })), !buttonUseIcon && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(icon, {
+      icon: library_search
+    })), !buttonUseIcon && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
       className: buttonClasses,
       style: buttonStyles,
-      "aria-label": Object(external_wp_i18n_["__"])('Button text'),
-      placeholder: Object(external_wp_i18n_["__"])('Add button text…'),
+      "aria-label": (0,external_wp_i18n_namespaceObject.__)('Button text'),
+      placeholder: (0,external_wp_i18n_namespaceObject.__)('Add button text…'),
       withoutInteractiveFormatting: true,
       value: buttonText,
       onChange: html => setAttributes({
@@ -33066,8 +33202,8 @@ function SearchEdit(_ref) {
     }));
   };

-  const controls = 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, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    title: Object(external_wp_i18n_["__"])('Toggle search label'),
+  const controls = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Toggle search label'),
     icon: toggleLabel,
     onClick: () => {
       setAttributes({
@@ -33075,12 +33211,12 @@ function SearchEdit(_ref) {
       });
     },
     className: showLabel ? 'is-pressed' : undefined
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarDropdownMenu"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarDropdownMenu, {
     icon: getButtonPositionIcon(),
-    label: Object(external_wp_i18n_["__"])('Change button position'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Change button position'),
     controls: buttonPositionControls
-  }), !hasNoButton && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    title: Object(external_wp_i18n_["__"])('Use button with icon'),
+  }), !hasNoButton && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Use button with icon'),
     icon: buttonWithIcon,
     onClick: () => {
       setAttributes({
@@ -33088,12 +33224,12 @@ function SearchEdit(_ref) {
       });
     },
     className: buttonUseIcon ? 'is-pressed' : undefined
-  }))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Display Settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
-    label: Object(external_wp_i18n_["__"])('Width'),
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Display Settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Width'),
     id: unitControlInputId
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalUnitControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalUnitControl, {
     id: unitControlInputId,
     min: `${MIN_WIDTH}${MIN_WIDTH_UNIT}`,
     onChange: newWidth => {
@@ -33114,14 +33250,14 @@ function SearchEdit(_ref) {
     value: `${width}${widthUnit}`,
     unit: widthUnit,
     units: units
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ButtonGroup"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ButtonGroup, {
     className: "wp-block-search__components-button-group",
-    "aria-label": Object(external_wp_i18n_["__"])('Percentage Width')
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Percentage Width')
   }, [25, 50, 75, 100].map(widthValue => {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       key: widthValue,
       isSmall: true,
-      variant: `${widthValue}%` === `${width}${widthUnit}` ? 'primary' : undefined,
+      variant: `${widthValue}%` === `${width}${widthUnit}` ? 0 : undefined,
       onClick: () => setAttributes({
         width: widthValue,
         widthUnit: '%'
@@ -33170,19 +33306,19 @@ function SearchEdit(_ref) {
     return styles;
   };

-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: getBlockClassNames()
   });
-  return Object(external_wp_element_["createElement"])("div", blockProps, controls, showLabel && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, controls, showLabel && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     className: "wp-block-search__label",
-    "aria-label": Object(external_wp_i18n_["__"])('Label text'),
-    placeholder: Object(external_wp_i18n_["__"])('Add label…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Label text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Add label…'),
     withoutInteractiveFormatting: true,
     value: label,
     onChange: html => setAttributes({
       label: html
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ResizableBox, {
     size: {
       width: `${width}${widthUnit}`
     },
@@ -33204,10 +33340,10 @@ function SearchEdit(_ref) {
       toggleSelection(true);
     },
     showHandle: isSelected
-  }, (isButtonPositionInside || isButtonPositionOutside) && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, renderTextField(), renderButton()), hasOnlyButton && renderButton(), hasNoButton && renderTextField()));
+  }, (isButtonPositionInside || isButtonPositionOutside) && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, renderTextField(), renderButton()), hasOnlyButton && renderButton(), hasNoButton && renderTextField()));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/variations.js
 /**
  * WordPress dependencies
  */
@@ -33216,13 +33352,13 @@ const search_variations_variations = [{
   name: 'default',
   isDefault: true,
   attributes: {
-    buttonText: Object(external_wp_i18n_["__"])('Search'),
-    label: Object(external_wp_i18n_["__"])('Search')
+    buttonText: (0,external_wp_i18n_namespaceObject.__)('Search'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Search')
   }
 }];
 /* harmony default export */ var search_variations = (search_variations_variations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/search/index.js
 /**
  * WordPress dependencies
  */
@@ -33295,28 +33431,28 @@ const {
 } = search_metadata;

 const search_settings = {
-  icon: library_search["a" /* default */],
+  icon: library_search,
   example: {},
   variations: search_variations,
   edit: SearchEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/separator.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/separator.js


 /**
  * WordPress dependencies
  */

-const separator_separator = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const separator = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"
 }));
-/* harmony default export */ var library_separator = (separator_separator);
+/* harmony default export */ var library_separator = (separator);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/separator-settings.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/separator-settings.js


 /**
@@ -33330,21 +33466,21 @@ const SeparatorSettings = _ref => {
     color,
     setColor
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["PanelColorSettings"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.PanelColorSettings, {
     __experimentalHasMultipleOrigins: true,
     __experimentalIsRenderedInSidebar: true,
-    title: Object(external_wp_i18n_["__"])('Color'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Color'),
     colorSettings: [{
       value: color.color,
       onChange: setColor,
-      label: Object(external_wp_i18n_["__"])('Color')
+      label: (0,external_wp_i18n_namespaceObject.__)('Color')
     }]
   }));
 };

 /* harmony default export */ var separator_settings = (SeparatorSettings);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/edit.js


 /**
@@ -33369,7 +33505,7 @@ function SeparatorEdit(_ref) {
     setColor,
     className
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["HorizontalRule"], Object(external_wp_blockEditor_["useBlockProps"])({
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.HorizontalRule, (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()(className, {
       'has-background': color.color,
       [color.class]: color.class
@@ -33378,17 +33514,17 @@ function SeparatorEdit(_ref) {
       backgroundColor: color.color,
       color: color.color
     }
-  })), Object(external_wp_element_["createElement"])(separator_settings, {
+  })), (0,external_wp_element_namespaceObject.createElement)(separator_settings, {
     color: color,
     setColor: setColor
   }));
 }

-/* harmony default export */ var separator_edit = (Object(external_wp_blockEditor_["withColors"])('color', {
+/* harmony default export */ var separator_edit = ((0,external_wp_blockEditor_namespaceObject.withColors)('color', {
   textColor: 'color'
 })(SeparatorEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/save.js


 /**
@@ -33410,10 +33546,10 @@ function separatorSave(_ref) {
   } = attributes; // the hr support changing color using border-color, since border-color
   // is not yet supported in the color palette, we use background-color

-  const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', color); // the dots styles uses text for the dots, to change those dots color is
+  const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', color); // the dots styles uses text for the dots, to change those dots color is
   // using color, not backgroundColor

-  const colorClass = Object(external_wp_blockEditor_["getColorClassName"])('color', color);
+  const colorClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', color);
   const className = classnames_default()({
     'has-text-color has-background': color || customColor,
     [backgroundClass]: backgroundClass,
@@ -33423,13 +33559,13 @@ function separatorSave(_ref) {
     backgroundColor: backgroundClass ? undefined : customColor,
     color: colorClass ? undefined : customColor
   };
-  return Object(external_wp_element_["createElement"])("hr", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("hr", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className,
     style
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/transforms.js
 /**
  * WordPress dependencies
  */
@@ -33438,7 +33574,7 @@ const separator_transforms_transforms = {
   from: [{
     type: 'enter',
     regExp: /^-{3,}$/,
-    transform: () => Object(external_wp_blocks_["createBlock"])('core/separator')
+    transform: () => (0,external_wp_blocks_namespaceObject.createBlock)('core/separator')
   }, {
     type: 'raw',
     selector: 'hr',
@@ -33449,7 +33585,7 @@ const separator_transforms_transforms = {
 };
 /* harmony default export */ var separator_transforms = (separator_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/separator/index.js
 /**
  * WordPress dependencies
  */
@@ -33512,22 +33648,22 @@ const build_module_separator_settings = {
   save: separatorSave
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/shortcode.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/shortcode.js


 /**
  * WordPress dependencies
  */

-const shortcode = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const shortcode = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"
 }));
 /* harmony default export */ var library_shortcode = (shortcode);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/edit.js


 /**
@@ -33542,28 +33678,28 @@ function ShortcodeEdit(_ref) {
     attributes,
     setAttributes
   } = _ref;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(ShortcodeEdit);
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ShortcodeEdit);
   const inputId = `blocks-shortcode-input-${instanceId}`;
-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])({
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: 'components-placeholder'
-  }), Object(external_wp_element_["createElement"])("label", {
+  }), (0,external_wp_element_namespaceObject.createElement)("label", {
     htmlFor: inputId,
     className: "components-placeholder__label"
-  }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
+  }, (0,external_wp_element_namespaceObject.createElement)(icon, {
     icon: library_shortcode
-  }), Object(external_wp_i18n_["__"])('Shortcode')), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["PlainText"], {
+  }), (0,external_wp_i18n_namespaceObject.__)('Shortcode')), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.PlainText, {
     className: "blocks-shortcode__textarea",
     id: inputId,
     value: attributes.text,
-    "aria-label": Object(external_wp_i18n_["__"])('Shortcode text'),
-    placeholder: Object(external_wp_i18n_["__"])('Write shortcode here…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Shortcode text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write shortcode here…'),
     onChange: text => setAttributes({
       text
     })
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/save.js


 /**
@@ -33574,13 +33710,12 @@ function shortcode_save_save(_ref) {
   let {
     attributes
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, attributes.text);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, attributes.text);
 }

-// EXTERNAL MODULE: external ["wp","autop"]
-var external_wp_autop_ = __webpack_require__("UuzZ");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/transforms.js
+;// CONCATENATED MODULE: external ["wp","autop"]
+var external_wp_autop_namespaceObject = window["wp"]["autop"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/transforms.js
 /**
  * WordPress dependencies
  */
@@ -33603,7 +33738,7 @@ const shortcode_transforms_transforms = {
           let {
             content
           } = _ref;
-          return Object(external_wp_autop_["removep"])(Object(external_wp_autop_["autop"])(content));
+          return (0,external_wp_autop_namespaceObject.removep)((0,external_wp_autop_namespaceObject.autop)(content));
         }
       }
     },
@@ -33612,7 +33747,7 @@ const shortcode_transforms_transforms = {
 };
 /* harmony default export */ var shortcode_transforms = (shortcode_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/shortcode/index.js
 /**
  * WordPress dependencies
  */
@@ -33655,22 +33790,22 @@ const shortcode_settings = {
   save: shortcode_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/site-logo.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/site-logo.js


 /**
  * WordPress dependencies
  */

-const siteLogo = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const siteLogo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 1.5c4.1 0 7.5 3.4 7.5 7.5v.1c-1.4-.8-3.3-1.7-3.4-1.8-.2-.1-.5-.1-.8.1l-2.9 2.1L9 11.3c-.2-.1-.4 0-.6.1l-3.7 2.2c-.1-.5-.2-1-.2-1.5 0-4.2 3.4-7.6 7.5-7.6zm0 15c-3.1 0-5.7-1.9-6.9-4.5l3.7-2.2 3.5 1.2c.2.1.5 0 .7-.1l2.9-2.1c.8.4 2.5 1.2 3.5 1.9-.9 3.3-3.9 5.8-7.4 5.8z"
 }));
 /* harmony default export */ var site_logo = (siteLogo);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-logo/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-logo/edit.js


 /**
@@ -33729,35 +33864,35 @@ const SiteLogo = _ref => {
     canUserEdit
   } = _ref;
   const clientWidth = useClientWidth(containerRef, [align]);
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
-  const isWideAligned = Object(external_lodash_["includes"])(['wide', 'full'], align);
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  const isWideAligned = (0,external_lodash_namespaceObject.includes)(['wide', 'full'], align);
   const isResizable = !isWideAligned && isLargeViewport;
   const [{
     naturalWidth,
     naturalHeight
-  }, setNaturalSize] = Object(external_wp_element_["useState"])({});
-  const [isEditingImage, setIsEditingImage] = Object(external_wp_element_["useState"])(false);
+  }, setNaturalSize] = (0,external_wp_element_namespaceObject.useState)({});
+  const [isEditingImage, setIsEditingImage] = (0,external_wp_element_namespaceObject.useState)(false);
   const {
     toggleSelection
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
   const classes = classnames_default()('custom-logo-link', {
-    'is-transient': Object(external_wp_blob_["isBlobURL"])(logoUrl)
+    'is-transient': (0,external_wp_blob_namespaceObject.isBlobURL)(logoUrl)
   });
   const {
     imageEditing,
     maxWidth,
     title
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
-    const siteEntities = select(external_wp_coreData_["store"]).getEditedEntityRecord('root', 'site');
+    } = select(external_wp_blockEditor_namespaceObject.store);
+    const siteEntities = select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord('root', 'site');
     return {
       title: siteEntities.title,
-      ...Object(external_lodash_["pick"])(getSettings(), ['imageEditing', 'maxWidth'])
+      ...(0,external_lodash_namespaceObject.pick)(getSettings(), ['imageEditing', 'maxWidth'])
     };
   }, []);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // Turn the `Use as site icon` toggle off if it is on but the logo and icon have
     // fallen out of sync. This can happen if the toggle is saved in the `on` position,
     // but changes are later made to the site icon in the Customizer.
@@ -33767,7 +33902,7 @@ const SiteLogo = _ref => {
       });
     }
   }, []);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isSelected) {
       setIsEditingImage(false);
     }
@@ -33781,12 +33916,12 @@ const SiteLogo = _ref => {
     toggleSelection(true);
   }

-  const img = Object(external_wp_element_["createElement"])("img", {
+  const img = (0,external_wp_element_namespaceObject.createElement)("img", {
     className: "custom-logo",
     src: logoUrl,
     alt: alt,
     onLoad: event => {
-      setNaturalSize(Object(external_lodash_["pick"])(event.target, ['naturalWidth', 'naturalHeight']));
+      setNaturalSize((0,external_lodash_namespaceObject.pick)(event.target, ['naturalWidth', 'naturalHeight']));
     }
   });
   let imgWrapper = img; // Disable reason: Image itself is not meant to be interactive, but
@@ -33795,7 +33930,7 @@ const SiteLogo = _ref => {
   if (isLink) {
     imgWrapper =
     /* eslint-disable jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events */
-    Object(external_wp_element_["createElement"])("a", {
+    (0,external_wp_element_namespaceObject.createElement)("a", {
       href: siteUrl,
       className: classes,
       rel: "home",
@@ -33814,7 +33949,7 @@ const SiteLogo = _ref => {
   }

   if (!isResizable || !imageWidthWithinContainer) {
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       style: {
         width,
         height
@@ -33849,7 +33984,7 @@ const SiteLogo = _ref => {
     // When the image is centered, show both handles.
     showRightHandle = true;
     showLeftHandle = true;
-  } else if (Object(external_wp_i18n_["isRTL"])()) {
+  } else if ((0,external_wp_i18n_namespaceObject.isRTL)()) {
     // In RTL mode the image is on the right by default.
     // Show the right handle and hide the left handle only when it is
     // aligned left. Otherwise always show the left handle.
@@ -33871,7 +34006,7 @@ const SiteLogo = _ref => {


   const canEditImage = logoId && naturalWidth && naturalHeight && imageEditing;
-  const imgEdit = canEditImage && isEditingImage ? Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalImageEditingProvider"], {
+  const imgEdit = canEditImage && isEditingImage ? (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalImageEditingProvider, {
     id: logoId,
     url: logoUrl,
     naturalWidth: naturalWidth,
@@ -33882,14 +34017,14 @@ const SiteLogo = _ref => {
     },
     isEditing: isEditingImage,
     onFinishEditing: () => setIsEditingImage(false)
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalImageEditor"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalImageEditor, {
     url: logoUrl,
     width: currentWidth,
     height: currentHeight,
     clientWidth: clientWidth,
     naturalHeight: naturalHeight,
     naturalWidth: naturalWidth
-  })) : Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], {
+  })) : (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ResizableBox, {
     size: {
       width: currentWidth,
       height: currentHeight
@@ -33915,18 +34050,18 @@ const SiteLogo = _ref => {
       });
     }
   }, imgWrapper);
-  const syncSiteIconHelpText = Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["__"])('Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. To use a custom icon that is different from your site logo, use the <a>Site Icon settings</a>.'), {
+  const syncSiteIconHelpText = (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.__)('Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. To use a custom icon that is different from your site logo, use the <a>Site Icon settings</a>.'), {
     a: // eslint-disable-next-line jsx-a11y/anchor-has-content
-    Object(external_wp_element_["createElement"])("a", {
+    (0,external_wp_element_namespaceObject.createElement)("a", {
       href: siteUrl + '/wp-admin/customize.php?autofocus[section]=title_tagline',
       target: "_blank",
       rel: "noopener noreferrer"
     })
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Image width'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Image width'),
     onChange: newWidth => setAttributes({
       width: newWidth
     }),
@@ -33935,20 +34070,20 @@ const SiteLogo = _ref => {
     initialPosition: Math.min(defaultWidth, maxWidthBuffer),
     value: width || '',
     disabled: !isResizable
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Link image to home'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Link image to home'),
     onChange: () => setAttributes({
       isLink: !isLink
     }),
     checked: isLink
-  }), isLink && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Open in new tab'),
+  }), isLink && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Open in new tab'),
     onChange: value => setAttributes({
       linkTarget: value ? '_blank' : '_self'
     }),
     checked: linkTarget === '_blank'
-  })), canUserEdit && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Use as site icon'),
+  })), canUserEdit && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Use as site icon'),
     onChange: value => {
       setAttributes({
         shouldSyncIcon: value
@@ -33957,12 +34092,12 @@ const SiteLogo = _ref => {
     },
     checked: !!shouldSyncIcon,
     help: syncSiteIconHelpText
-  })))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  })))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, canEditImage && !isEditingImage && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  }, canEditImage && !isEditingImage && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     onClick: () => setIsEditingImage(true),
     icon: library_crop,
-    label: Object(external_wp_i18n_["__"])('Crop')
+    label: (0,external_wp_i18n_namespaceObject.__)('Crop')
   })), imgEdit);
 };

@@ -33977,8 +34112,8 @@ function LogoEdit(_ref2) {
     width,
     shouldSyncIcon
   } = attributes;
-  const [logoUrl, setLogoUrl] = Object(external_wp_element_["useState"])();
-  const ref = Object(external_wp_element_["useRef"])();
+  const [logoUrl, setLogoUrl] = (0,external_wp_element_namespaceObject.useState)();
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
   const {
     siteLogoId,
     canUserEdit,
@@ -33986,12 +34121,12 @@ function LogoEdit(_ref2) {
     siteIconId,
     mediaItemData,
     isRequestingMediaItem
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       canUser,
       getEntityRecord,
       getEditedEntityRecord
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const siteSettings = getEditedEntityRecord('root', 'site');
     const siteData = getEntityRecord('root', '__unstableBase');

@@ -34005,11 +34140,11 @@ function LogoEdit(_ref2) {

     const _siteIconId = siteSettings === null || siteSettings === void 0 ? void 0 : siteSettings.site_icon;

-    const mediaItem = _siteLogoId && select(external_wp_coreData_["store"]).getMedia(_siteLogoId, {
+    const mediaItem = _siteLogoId && select(external_wp_coreData_namespaceObject.store).getMedia(_siteLogoId, {
       context: 'view'
     });

-    const _isRequestingMediaItem = _siteLogoId && !select(external_wp_coreData_["store"]).hasFinishedResolution('getMedia', [_siteLogoId, {
+    const _isRequestingMediaItem = _siteLogoId && !select(external_wp_coreData_namespaceObject.store).hasFinishedResolution('getMedia', [_siteLogoId, {
       context: 'view'
     }]);

@@ -34028,7 +34163,7 @@ function LogoEdit(_ref2) {
   }, []);
   const {
     editEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);

   const setLogo = function (newValue) {
     let shouldForceSync = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
@@ -34102,7 +34237,7 @@ function LogoEdit(_ref2) {

   const {
     createErrorNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);

   const onUploadError = message => {
     createErrorNotice(message[2], {
@@ -34110,26 +34245,26 @@ function LogoEdit(_ref2) {
     });
   };

-  const controls = canUserEdit && logoUrl && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  const controls = canUserEdit && logoUrl && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaReplaceFlow, {
     mediaURL: logoUrl,
     allowedTypes: site_logo_edit_ALLOWED_MEDIA_TYPES,
     accept: ACCEPT_MEDIA_STRING,
     onSelect: onSelectLogo,
     onError: onUploadError
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
     onClick: onRemoveLogo
-  }, Object(external_wp_i18n_["__"])('Reset'))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Reset'))));
   let logoImage;
   const isLoading = siteLogoId === undefined || isRequestingMediaItem;

   if (isLoading) {
-    logoImage = Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null);
+    logoImage = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null);
   }

   if (!!logoUrl) {
-    logoImage = Object(external_wp_element_["createElement"])(SiteLogo, {
+    logoImage = (0,external_wp_element_namespaceObject.createElement)(SiteLogo, {
       alt: alt,
       attributes: attributes,
       className: className,
@@ -34148,15 +34283,15 @@ function LogoEdit(_ref2) {

   const placeholder = content => {
     const placeholderClassName = classnames_default()('block-editor-media-placeholder', className);
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
       className: placeholderClassName,
       preview: logoImage
-    }, Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
       className: "components-placeholder__illustration",
       fill: "none",
       xmlns: "http://www.w3.org/2000/svg",
       viewBox: "0 0 60 60"
-    }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
       vectorEffect: "non-scaling-stroke",
       d: "m61 32.622-13.555-9.137-15.888 9.859a5 5 0 0 1-5.386-.073l-9.095-5.989L1 37.5"
     })), content);
@@ -34165,18 +34300,18 @@ function LogoEdit(_ref2) {
   const classes = classnames_default()(className, {
     'is-default-size': !width
   });
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     ref,
     className: classes
   });

-  const label = Object(external_wp_i18n_["__"])('Add a site logo');
+  const label = (0,external_wp_i18n_namespaceObject.__)('Add a site logo');

-  return Object(external_wp_element_["createElement"])("div", blockProps, controls, !!logoUrl && logoImage, !logoUrl && !canUserEdit && Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+  return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, controls, !!logoUrl && logoImage, !logoUrl && !canUserEdit && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
     className: "site-logo_placeholder"
-  }, isLoading && Object(external_wp_element_["createElement"])("span", {
+  }, isLoading && (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "components-placeholder__preview"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null))), !logoUrl && canUserEdit && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null))), !logoUrl && canUserEdit && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
     onSelect: onInitialSelectLogo,
     accept: ACCEPT_MEDIA_STRING,
     allowedTypes: site_logo_edit_ALLOWED_MEDIA_TYPES,
@@ -34186,8 +34321,8 @@ function LogoEdit(_ref2) {
       let {
         open
       } = _ref3;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        icon: upload["a" /* default */],
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        icon: library_upload,
         variant: "primary",
         label: label,
         showTooltip: true,
@@ -34200,7 +34335,7 @@ function LogoEdit(_ref2) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-logo/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-logo/index.js
 /**
  * WordPress dependencies
  */
@@ -34270,7 +34405,7 @@ const site_logo_settings = {
   edit: LogoEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-tagline/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-tagline/edit.js



@@ -34294,38 +34429,38 @@ function SiteTaglineEdit(_ref) {
   const {
     textAlign
   } = attributes;
-  const [siteTagline, setSiteTagline] = Object(external_wp_coreData_["useEntityProp"])('root', 'site', 'description');
+  const [siteTagline, setSiteTagline] = (0,external_wp_coreData_namespaceObject.useEntityProp)('root', 'site', 'description');
   const {
     canUserEdit,
     readOnlySiteTagLine
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       canUser,
       getEntityRecord
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const siteData = getEntityRecord('root', '__unstableBase');
     return {
       canUserEdit: canUser('update', 'settings'),
       readOnlySiteTagLine: siteData === null || siteData === void 0 ? void 0 : siteData.description
     };
   }, []);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign,
       'wp-block-site-tagline__placeholder': !canUserEdit && !readOnlySiteTagLine
     })
   });
-  const siteTaglineContent = canUserEdit ? Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], Object(esm_extends["a" /* default */])({
+  const siteTaglineContent = canUserEdit ? (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, _extends({
     allowedFormats: [],
     onChange: setSiteTagline,
-    "aria-label": Object(external_wp_i18n_["__"])('Site tagline text'),
-    placeholder: Object(external_wp_i18n_["__"])('Write site tagline…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Site tagline text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write site tagline…'),
     tagName: "p",
     value: siteTagline
-  }, blockProps)) : Object(external_wp_element_["createElement"])("p", blockProps, readOnlySiteTagLine || Object(external_wp_i18n_["__"])('Site Tagline placeholder'));
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  }, blockProps)) : (0,external_wp_element_namespaceObject.createElement)("p", blockProps, readOnlySiteTagLine || (0,external_wp_i18n_namespaceObject.__)('Site Tagline placeholder'));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     onChange: newAlign => setAttributes({
       textAlign: newAlign
     }),
@@ -34333,25 +34468,25 @@ function SiteTaglineEdit(_ref) {
   })), siteTaglineContent);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-tagline/icon.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-tagline/icon.js


 /**
  * WordPress dependencies
  */

-/* harmony default export */ var site_tagline_icon = (Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+/* harmony default export */ var site_tagline_icon = ((0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   width: "24",
   height: "24"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   fill: "none",
   d: "M0 0h24v24H0z"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M4 9h16v2H4V9zm0 4h10v2H4v-2z"
 })));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-tagline/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-tagline/deprecated.js
 /**
  * Internal dependencies
  */
@@ -34410,7 +34545,7 @@ const site_tagline_deprecated_v1 = {

 /* harmony default export */ var site_tagline_deprecated = ([site_tagline_deprecated_v1]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-tagline/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-tagline/index.js
 /**
  * Internal dependencies
  */
@@ -34465,22 +34600,22 @@ const site_tagline_settings = {
   deprecated: site_tagline_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/map-marker.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/map-marker.js


 /**
  * WordPress dependencies
  */

-const mapMarker = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const mapMarker = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "https://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"
 }));
 /* harmony default export */ var map_marker = (mapMarker);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/edit/level-icon.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/edit/level-icon.js


 /**
@@ -34502,18 +34637,18 @@ function LevelIcon(_ref) {
     5: 'M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z',
     6: 'M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z'
   };
-  return Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
     width: "20",
     height: "20",
     viewBox: "0 0 20 20",
     xmlns: "http://www.w3.org/2000/svg",
     isPressed: isPressed
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
     d: levelToPath[level]
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/edit/level-toolbar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/edit/level-toolbar.js


 /**
@@ -34534,26 +34669,26 @@ function LevelControl(_ref) {
   const allControls = [1, 2, 3, 4, 5, 6, 0].map(currentLevel => {
     const isActive = currentLevel === level;
     return {
-      icon: Object(external_wp_element_["createElement"])(LevelIcon, {
+      icon: (0,external_wp_element_namespaceObject.createElement)(LevelIcon, {
         level: currentLevel,
         isPressed: isActive
       }),
-      title: currentLevel === 0 ? Object(external_wp_i18n_["__"])('Paragraph') : // translators: %s: heading level e.g: "1", "2", "3"
-      Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Heading %d'), currentLevel),
+      title: currentLevel === 0 ? (0,external_wp_i18n_namespaceObject.__)('Paragraph') : // translators: %s: heading level e.g: "1", "2", "3"
+      (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Heading %d'), currentLevel),
       isActive,
       onClick: () => onChange(currentLevel)
     };
   });
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarDropdownMenu"], {
-    label: Object(external_wp_i18n_["__"])('Change heading level'),
-    icon: Object(external_wp_element_["createElement"])(LevelIcon, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarDropdownMenu, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Change heading level'),
+    icon: (0,external_wp_element_namespaceObject.createElement)(LevelIcon, {
       level: level
     }),
     controls: allControls
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/edit/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/edit/index.js


 /**
@@ -34588,66 +34723,66 @@ function SiteTitleEdit(_ref) {
     isLink,
     linkTarget
   } = attributes;
-  const [title, setTitle] = Object(external_wp_coreData_["useEntityProp"])('root', 'site', 'title');
+  const [title, setTitle] = (0,external_wp_coreData_namespaceObject.useEntityProp)('root', 'site', 'title');
   const {
     canUserEdit,
     readOnlyTitle
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       canUser,
       getEntityRecord
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const siteData = getEntityRecord('root', '__unstableBase');
     return {
       canUserEdit: canUser('update', 'settings'),
-      readOnlyTitle: Object(external_wp_htmlEntities_["decodeEntities"])(siteData === null || siteData === void 0 ? void 0 : siteData.name)
+      readOnlyTitle: (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(siteData === null || siteData === void 0 ? void 0 : siteData.name)
     };
   }, []);
   const TagName = level === 0 ? 'p' : `h${level}`;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign,
       'wp-block-site-title__placeholder': !canUserEdit && !readOnlyTitle
     })
   });
-  const siteTitleContent = canUserEdit ? Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  const siteTitleContent = canUserEdit ? (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     tagName: isLink ? 'a' : 'span',
     href: isLink ? '#site-title-pseudo-link' : undefined,
-    "aria-label": Object(external_wp_i18n_["__"])('Site title text'),
-    placeholder: Object(external_wp_i18n_["__"])('Write site title…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Site title text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write site title…'),
     value: title,
     onChange: setTitle,
     allowedFormats: [],
     disableLineBreaks: true,
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])(Object(external_wp_blocks_["getDefaultBlockName"])()))
-  })) : Object(external_wp_element_["createElement"])(TagName, blockProps, isLink ? Object(external_wp_element_["createElement"])("a", {
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)((0,external_wp_blocks_namespaceObject.getDefaultBlockName)()))
+  })) : (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, isLink ? (0,external_wp_element_namespaceObject.createElement)("a", {
     href: "#site-title-pseudo-link",
     onClick: event => event.preventDefault()
-  }, readOnlyTitle || Object(external_wp_i18n_["__"])('Site Title placeholder')) : Object(external_wp_element_["createElement"])("span", null, title || readOnlyTitle));
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  }, readOnlyTitle || (0,external_wp_i18n_namespaceObject.__)('Site Title placeholder')) : (0,external_wp_element_namespaceObject.createElement)("span", null, title || readOnlyTitle));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(LevelControl, {
+  }, (0,external_wp_element_namespaceObject.createElement)(LevelControl, {
     level: level,
     onChange: newLevel => setAttributes({
       level: newLevel
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Link settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Make title link to home'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Link settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Make title link to home'),
     onChange: () => setAttributes({
       isLink: !isLink
     }),
     checked: isLink
-  }), isLink && Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Open in new tab'),
+  }), isLink && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Open in new tab'),
     onChange: value => setAttributes({
       linkTarget: value ? '_blank' : '_self'
     }),
@@ -34655,7 +34790,7 @@ function SiteTitleEdit(_ref) {
   }))), siteTitleContent);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/deprecated.js
 /**
  * Internal dependencies
  */
@@ -34727,7 +34862,7 @@ const site_title_deprecated_v1 = {

 /* harmony default export */ var site_title_deprecated = ([site_title_deprecated_v1]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/site-title/index.js
 /**
  * WordPress dependencies
  */
@@ -34805,705 +34940,717 @@ const site_title_settings = {
   deprecated: site_title_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/share.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/share.js


 /**
  * WordPress dependencies
  */

-const share = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const share = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"
 }));
 /* harmony default export */ var library_share = (share);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
-var keyboard_return = __webpack_require__("btIw");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/wordpress.js
+
+/**
+ * WordPress dependencies
+ */
+
+const keyboardReturn = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "-2 -2 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var keyboard_return = (keyboardReturn);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/wordpress.js


 /**
  * WordPress dependencies
  */

-const WordPressIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const WordPressIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/fivehundredpx.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/fivehundredpx.js


 /**
  * WordPress dependencies
  */

-const FivehundredpxIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const FivehundredpxIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/amazon.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/amazon.js


 /**
  * WordPress dependencies
  */

-const AmazonIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const AmazonIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/bandcamp.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/bandcamp.js


 /**
  * WordPress dependencies
  */

-const BandcampIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const BandcampIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/behance.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/behance.js


 /**
  * WordPress dependencies
  */

-const BehanceIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const BehanceIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/chain.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/chain.js


 /**
  * WordPress dependencies
  */

-const ChainIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const ChainIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/codepen.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/codepen.js


 /**
  * WordPress dependencies
  */

-const CodepenIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const CodepenIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/deviantart.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/deviantart.js


 /**
  * WordPress dependencies
  */

-const DeviantArtIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const DeviantArtIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/dribbble.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/dribbble.js


 /**
  * WordPress dependencies
  */

-const DribbbleIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const DribbbleIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/dropbox.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/dropbox.js


 /**
  * WordPress dependencies
  */

-const DropboxIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const DropboxIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/etsy.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/etsy.js


 /**
  * WordPress dependencies
  */

-const EtsyIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const EtsyIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/facebook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/facebook.js


 /**
  * WordPress dependencies
  */

-const FacebookIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const FacebookIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/feed.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/feed.js


 /**
  * WordPress dependencies
  */

-const FeedIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const FeedIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/flickr.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/flickr.js


 /**
  * WordPress dependencies
  */

-const FlickrIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const FlickrIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/foursquare.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/foursquare.js


 /**
  * WordPress dependencies
  */

-const FoursquareIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const FoursquareIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/goodreads.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/goodreads.js


 /**
  * WordPress dependencies
  */

-const GoodreadsIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const GoodreadsIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/google.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/google.js


 /**
  * WordPress dependencies
  */

-const GoogleIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const GoogleIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/github.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/github.js


 /**
  * WordPress dependencies
  */

-const GitHubIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const GitHubIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/instagram.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/instagram.js


 /**
  * WordPress dependencies
  */

-const InstagramIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const InstagramIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/lastfm.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/lastfm.js


 /**
  * WordPress dependencies
  */

-const LastfmIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const LastfmIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M 12.0002 1.5 C 6.2006 1.5 1.5 6.2011 1.5 11.9998 C 1.5 17.799 6.2006 22.5 12.0002 22.5 C 17.799 22.5 22.5 17.799 22.5 11.9998 C 22.5 6.2011 17.799 1.5 12.0002 1.5 Z M 16.1974 16.2204 C 14.8164 16.2152 13.9346 15.587 13.3345 14.1859 L 13.1816 13.8451 L 11.8541 10.8101 C 11.4271 9.7688 10.3526 9.0712 9.1801 9.0712 C 7.5695 9.0712 6.2593 10.3851 6.2593 12.001 C 6.2593 13.6165 7.5695 14.9303 9.1801 14.9303 C 10.272 14.9303 11.2651 14.3275 11.772 13.3567 C 11.7893 13.3235 11.8239 13.302 11.863 13.3038 C 11.9007 13.3054 11.9353 13.3288 11.9504 13.3632 L 12.4865 14.6046 C 12.5016 14.639 12.4956 14.6778 12.4723 14.7069 C 11.6605 15.6995 10.4602 16.2683 9.1801 16.2683 C 6.8331 16.2683 4.9234 14.3536 4.9234 12.001 C 4.9234 9.6468 6.833 7.732 9.1801 7.732 C 10.9572 7.732 12.3909 8.6907 13.1138 10.3636 C 13.1206 10.3802 13.8412 12.0708 14.4744 13.5191 C 14.8486 14.374 15.1462 14.896 16.1288 14.9292 C 17.0663 14.9613 17.7538 14.4122 17.7538 13.6485 C 17.7538 12.9691 17.3321 12.8004 16.3803 12.4822 C 14.7365 11.9398 13.845 11.3861 13.845 10.0182 C 13.845 8.6809 14.7667 7.8162 16.192 7.8162 C 17.1288 7.8162 17.8155 8.2287 18.2921 9.0768 C 18.305 9.1006 18.3079 9.1281 18.3004 9.1542 C 18.2929 9.1803 18.2748 9.2021 18.2507 9.2138 L 17.3614 9.669 C 17.3178 9.692 17.2643 9.6781 17.2356 9.6385 C 16.9329 9.2135 16.5956 9.0251 16.1423 9.0251 C 15.5512 9.0251 15.122 9.429 15.122 9.9865 C 15.122 10.6738 15.6529 10.8414 16.5339 11.1192 C 16.6491 11.1558 16.7696 11.194 16.8939 11.2343 C 18.2763 11.6865 19.0768 12.2311 19.0768 13.6836 C 19.0769 15.1297 17.8389 16.2204 16.1974 16.2204 Z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/linkedin.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/linkedin.js


 /**
  * WordPress dependencies
  */

-const LinkedInIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const LinkedInIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/mail.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/mail.js


 /**
  * WordPress dependencies
  */

-const MailIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const MailIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/mastodon.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/mastodon.js


 /**
  * WordPress dependencies
  */

-const MastodonIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const MastodonIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/meetup.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/meetup.js


 /**
  * WordPress dependencies
  */

-const MeetupIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const MeetupIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/medium.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/medium.js


 /**
  * WordPress dependencies
  */

-const MediumIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const MediumIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/patreon.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/patreon.js


 /**
  * WordPress dependencies
  */

-const PatreonIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const PatreonIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 569 546",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Circle"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Circle, {
   cx: "363",
   cy: "205",
   r: "205"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Rect"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Rect, {
   width: "100",
   height: "546",
   x: "0",
   y: "0"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/pinterest.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/pinterest.js


 /**
  * WordPress dependencies
  */

-const PinterestIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const PinterestIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/pocket.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/pocket.js


 /**
  * WordPress dependencies
  */

-const PocketIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const PocketIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/reddit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/reddit.js


 /**
  * WordPress dependencies
  */

-const RedditIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const RedditIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/skype.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/skype.js


 /**
  * WordPress dependencies
  */

-const SkypeIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const SkypeIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/snapchat.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/snapchat.js


 /**
  * WordPress dependencies
  */

-const SnapchatIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const SnapchatIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/soundcloud.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/soundcloud.js


 /**
  * WordPress dependencies
  */

-const SoundCloudIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const SoundCloudIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/spotify.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/spotify.js


 /**
  * WordPress dependencies
  */

-const SpotifyIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const SpotifyIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/telegram.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/telegram.js


 /**
  * WordPress dependencies
  */

-const TelegramIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const TelegramIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 128 128",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/tiktok.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/tiktok.js


 /**
  * WordPress dependencies
  */

-const TiktokIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const TiktokIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 32 32",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/tumblr.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/tumblr.js


 /**
  * WordPress dependencies
  */

-const TumblrIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const TumblrIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/twitch.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/twitch.js


 /**
  * WordPress dependencies
  */

-const TwitchIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const TwitchIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/twitter.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/twitter.js


 /**
  * WordPress dependencies
  */

-const TwitterIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const TwitterIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/vimeo.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/vimeo.js


 /**
  * WordPress dependencies
  */

-const VimeoIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const VimeoIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/vk.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/vk.js


 /**
  * WordPress dependencies
  */

-const VkIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const VkIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/yelp.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/yelp.js


 /**
  * WordPress dependencies
  */

-const YelpIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const YelpIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/youtube.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/icons/youtube.js


 /**
  * WordPress dependencies
  */

-const YouTubeIcon = () => Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const YouTubeIcon = () => (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   width: "24",
   height: "24",
   viewBox: "0 0 24 24",
   version: "1.1"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/variations.js
 /**
  * Internal dependencies
  */
@@ -35818,7 +35965,7 @@ social_link_variations_variations.forEach(variation => {
 });
 /* harmony default export */ var social_link_variations = (social_link_variations_variations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/social-list.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/social-list.js
 /**
  * External dependencies
  */
@@ -35843,7 +35990,7 @@ social_link_variations_variations.forEach(variation => {
  */

 const getIconBySite = name => {
-  const variation = Object(external_lodash_["find"])(social_link_variations, {
+  const variation = (0,external_lodash_namespaceObject.find)(social_link_variations, {
     name
   });
   return variation ? variation.icon : ChainIcon;
@@ -35857,13 +36004,13 @@ const getIconBySite = name => {
  */

 const getNameBySite = name => {
-  const variation = Object(external_lodash_["find"])(social_link_variations, {
+  const variation = (0,external_lodash_namespaceObject.find)(social_link_variations, {
     name
   });
-  return variation ? variation.title : Object(external_wp_i18n_["__"])('Social Icon');
+  return variation ? variation.title : (0,external_wp_i18n_namespaceObject.__)('Social Icon');
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/edit.js


 /**
@@ -35892,27 +36039,27 @@ const SocialLinkURLPopover = _ref => {
     setPopover,
     anchorRef
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["URLPopover"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.URLPopover, {
     anchorRef: anchorRef === null || anchorRef === void 0 ? void 0 : anchorRef.current,
     onClose: () => setPopover(false)
-  }, Object(external_wp_element_["createElement"])("form", {
+  }, (0,external_wp_element_namespaceObject.createElement)("form", {
     className: "block-editor-url-popover__link-editor",
     onSubmit: event => {
       event.preventDefault();
       setPopover(false);
     }
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-editor-url-input"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["URLInput"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.URLInput, {
     value: url,
     onChange: nextURL => setAttributes({
       url: nextURL
     }),
-    placeholder: Object(external_wp_i18n_["__"])('Enter address'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Enter address'),
     disableSuggestions: true
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: keyboard_return["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Apply'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: keyboard_return,
+    label: (0,external_wp_i18n_namespaceObject.__)('Apply'),
     type: "submit"
   })));
 };
@@ -35933,36 +36080,36 @@ const SocialLinkEdit = _ref2 => {
     iconColorValue,
     iconBackgroundColorValue
   } = context;
-  const [showURLPopover, setPopover] = Object(external_wp_element_["useState"])(false);
+  const [showURLPopover, setPopover] = (0,external_wp_element_namespaceObject.useState)(false);
   const classes = classnames_default()('wp-social-link', 'wp-social-link-' + service, {
     'wp-social-link__is-incomplete': !url
   });
-  const ref = Object(external_wp_element_["useRef"])();
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
   const IconComponent = getIconBySite(service);
   const socialLinkName = getNameBySite(service);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classes,
     style: {
       color: iconColorValue,
       backgroundColor: iconBackgroundColorValue
     }
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["sprintf"])(
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: name of the social service. */
-    Object(external_wp_i18n_["__"])('%s label'), socialLinkName),
+    (0,external_wp_i18n_namespaceObject.__)('%s label'), socialLinkName),
     initialOpen: false
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Link label'),
-    help: Object(external_wp_i18n_["__"])('Briefly describe the link to help screen reader users.'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Link label'),
+    help: (0,external_wp_i18n_namespaceObject.__)('Briefly describe the link to help screen reader users.'),
     value: label,
     onChange: value => setAttributes({
       label: value
     })
-  })))), Object(external_wp_element_["createElement"])("li", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  })))), (0,external_wp_element_namespaceObject.createElement)("li", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     ref: ref,
     onClick: () => setPopover(true)
-  }, Object(external_wp_element_["createElement"])(IconComponent, null), isSelected && showURLPopover && Object(external_wp_element_["createElement"])(SocialLinkURLPopover, {
+  }, (0,external_wp_element_namespaceObject.createElement)(IconComponent, null), isSelected && showURLPopover && (0,external_wp_element_namespaceObject.createElement)(SocialLinkURLPopover, {
     url: url,
     setAttributes: setAttributes,
     setPopover: setPopover,
@@ -35972,7 +36119,7 @@ const SocialLinkEdit = _ref2 => {

 /* harmony default export */ var social_link_edit = (SocialLinkEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-link/index.js
 /**
  * WordPress dependencies
  */
@@ -36019,7 +36166,7 @@ const social_link_settings = {
   variations: social_link_variations
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/deprecated.js


 /**
@@ -36132,18 +36279,30 @@ const social_links_deprecated_deprecated = [// V1. Remove CSS variable use for c
       '--wp--social-links--icon-color': iconColorValue,
       '--wp--social-links--icon-background-color': iconBackgroundColorValue
     };
-    return Object(external_wp_element_["createElement"])("ul", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("ul", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className,
       style
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
   }
 }];
 /* harmony default export */ var social_links_deprecated = (social_links_deprecated_deprecated);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
-var check = __webpack_require__("RMJe");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const check = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
+}));
+/* harmony default export */ var library_check = (check);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/edit.js


 /**
@@ -36162,21 +36321,21 @@ var check = __webpack_require__("RMJe");

 const social_links_edit_ALLOWED_BLOCKS = ['core/social-link'];
 const sizeOptions = [{
-  name: Object(external_wp_i18n_["__"])('Small'),
+  name: (0,external_wp_i18n_namespaceObject.__)('Small'),
   value: 'has-small-icon-size'
 }, {
-  name: Object(external_wp_i18n_["__"])('Normal'),
+  name: (0,external_wp_i18n_namespaceObject.__)('Normal'),
   value: 'has-normal-icon-size'
 }, {
-  name: Object(external_wp_i18n_["__"])('Large'),
+  name: (0,external_wp_i18n_namespaceObject.__)('Large'),
   value: 'has-large-icon-size'
 }, {
-  name: Object(external_wp_i18n_["__"])('Huge'),
+  name: (0,external_wp_i18n_namespaceObject.__)('Huge'),
   value: 'has-huge-icon-size'
 }];

 const edit_getDefaultBlockLayout = blockTypeOrName => {
-  const layoutBlockSupportConfig = Object(external_wp_blocks_["getBlockSupport"])(blockTypeOrName, '__experimentalLayout');
+  const layoutBlockSupportConfig = (0,external_wp_blocks_namespaceObject.getBlockSupport)(blockTypeOrName, '__experimentalLayout');
   return layoutBlockSupportConfig === null || layoutBlockSupportConfig === void 0 ? void 0 : layoutBlockSupportConfig.default;
 };

@@ -36203,7 +36362,7 @@ function SocialLinksEdit(props) {
   const usedLayout = layout || edit_getDefaultBlockLayout(name); // Remove icon background color if logos only style selected.

   const logosOnly = ((_attributes$className = attributes.className) === null || _attributes$className === void 0 ? void 0 : _attributes$className.indexOf('is-style-logos-only')) >= 0;
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (logosOnly) {
       setAttributes({
         iconBackgroundColor: undefined,
@@ -36212,32 +36371,32 @@ function SocialLinksEdit(props) {
       });
     }
   }, [logosOnly, setAttributes]);
-  const SocialPlaceholder = Object(external_wp_element_["createElement"])("li", {
+  const SocialPlaceholder = (0,external_wp_element_namespaceObject.createElement)("li", {
     className: "wp-block-social-links__social-placeholder"
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-social-link"
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-social-links__social-placeholder-icons"
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-social-link wp-social-link-twitter"
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-social-link wp-social-link-facebook"
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-social-link wp-social-link-instagram"
   })));
-  const SelectedSocialPlaceholder = Object(external_wp_element_["createElement"])("li", {
+  const SelectedSocialPlaceholder = (0,external_wp_element_namespaceObject.createElement)("li", {
     className: "wp-block-social-links__social-prompt"
-  }, Object(external_wp_i18n_["__"])('Click plus to add')); // Fallback color values are used maintain selections in case switching
+  }, (0,external_wp_i18n_namespaceObject.__)('Click plus to add')); // Fallback color values are used maintain selections in case switching
   // themes and named colors in palette do not match.

   const className = classnames_default()(size, {
     'has-icon-color': iconColor.color || iconColorValue,
     'has-icon-background-color': iconBackgroundColor.color || iconBackgroundColorValue
   });
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className
   });
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)(blockProps, {
     allowedBlocks: social_links_edit_ALLOWED_BLOCKS,
     placeholder: isSelected ? SelectedSocialPlaceholder : SocialPlaceholder,
     templateLock: false,
@@ -36247,20 +36406,20 @@ function SocialLinksEdit(props) {
   const POPOVER_PROPS = {
     position: 'bottom right'
   };
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarDropdownMenu"], {
-    label: Object(external_wp_i18n_["__"])('Size'),
-    text: Object(external_wp_i18n_["__"])('Size'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarDropdownMenu, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Size'),
+    text: (0,external_wp_i18n_namespaceObject.__)('Size'),
     icon: null,
     popoverProps: POPOVER_PROPS
   }, _ref => {
     let {
       onClose
     } = _ref;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, sizeOptions.map(entry => {
-      return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-        icon: (size === entry.value || !size && entry.value === 'has-normal-icon-size') && check["a" /* default */],
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, sizeOptions.map(entry => {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+        icon: (size === entry.value || !size && entry.value === 'has-normal-icon-size') && library_check,
         isSelected: size === entry.value,
         key: entry.value,
         onClick: () => {
@@ -36272,18 +36431,18 @@ function SocialLinksEdit(props) {
         role: "menuitemradio"
       }, entry.name);
     }));
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Link settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Open links in new tab'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Link settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Open links in new tab'),
     checked: openInNewTab,
     onChange: () => setAttributes({
       openInNewTab: !openInNewTab
     })
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["PanelColorSettings"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.PanelColorSettings, {
     __experimentalHasMultipleOrigins: true,
     __experimentalIsRenderedInSidebar: true,
-    title: Object(external_wp_i18n_["__"])('Color'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Color'),
     colorSettings: [{
       // Use custom attribute as fallback to prevent loss of named color selection when
       // switching themes to a new theme that does not have a matching named color.
@@ -36294,7 +36453,7 @@ function SocialLinksEdit(props) {
           iconColorValue: colorValue
         });
       },
-      label: Object(external_wp_i18n_["__"])('Icon color')
+      label: (0,external_wp_i18n_namespaceObject.__)('Icon color')
     }, !logosOnly && {
       // Use custom attribute as fallback to prevent loss of named color selection when
       // switching themes to a new theme that does not have a matching named color.
@@ -36305,21 +36464,21 @@ function SocialLinksEdit(props) {
           iconBackgroundColorValue: colorValue
         });
       },
-      label: Object(external_wp_i18n_["__"])('Icon background')
+      label: (0,external_wp_i18n_namespaceObject.__)('Icon background')
     }]
-  }), !logosOnly && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ContrastChecker"], {
+  }), !logosOnly && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ContrastChecker, {
     textColor: iconColorValue,
     backgroundColor: iconBackgroundColorValue,
     isLargeText: false
-  })), Object(external_wp_element_["createElement"])("ul", innerBlocksProps));
+  })), (0,external_wp_element_namespaceObject.createElement)("ul", innerBlocksProps));
 }
 const iconColorAttributes = {
   iconColor: 'icon-color',
   iconBackgroundColor: 'icon-background-color'
 };
-/* harmony default export */ var social_links_edit = (Object(external_wp_blockEditor_["withColors"])(iconColorAttributes)(SocialLinksEdit));
+/* harmony default export */ var social_links_edit = ((0,external_wp_blockEditor_namespaceObject.withColors)(iconColorAttributes)(SocialLinksEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/save.js


 /**
@@ -36343,14 +36502,14 @@ function social_links_save_save(props) {
     'has-icon-color': iconColorValue,
     'has-icon-background-color': iconBackgroundColorValue
   });
-  const blockProps = external_wp_blockEditor_["useBlockProps"].save({
+  const blockProps = external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className
   });
-  const innerBlocksProps = external_wp_blockEditor_["useInnerBlocksProps"].save(blockProps);
-  return Object(external_wp_element_["createElement"])("ul", innerBlocksProps);
+  const innerBlocksProps = external_wp_blockEditor_namespaceObject.useInnerBlocksProps.save(blockProps);
+  return (0,external_wp_element_namespaceObject.createElement)("ul", innerBlocksProps);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/social-links/index.js
 /**
  * WordPress dependencies
  */
@@ -36468,22 +36627,22 @@ const social_links_settings = {
   deprecated: social_links_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/resize-corner-n-e.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/resize-corner-n-e.js


 /**
  * WordPress dependencies
  */

-const resizeCornerNE = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const resizeCornerNE = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"
 }));
 /* harmony default export */ var resize_corner_n_e = (resizeCornerNE);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/deprecated.js


 /**
@@ -36516,7 +36675,7 @@ const spacer_deprecated_deprecated = [{
     let {
       attributes
     } = _ref;
-    return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       style: {
         height: attributes.height,
         width: attributes.width
@@ -36528,7 +36687,7 @@ const spacer_deprecated_deprecated = [{
 }];
 /* harmony default export */ var spacer_deprecated = (spacer_deprecated_deprecated);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/controls.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/controls.js


 /**
@@ -36554,13 +36713,13 @@ function DimensionInput(_ref) {
     isResizing,
     value = ''
   } = _ref;
-  const [temporaryInput, setTemporaryInput] = Object(external_wp_element_["useState"])(null);
-  const inputId = Object(external_wp_compose_["useInstanceId"])(external_wp_components_["__experimentalUnitControl"], 'block-spacer-height-input'); // In most contexts the spacer size cannot meaningfully be set to a
+  const [temporaryInput, setTemporaryInput] = (0,external_wp_element_namespaceObject.useState)(null);
+  const inputId = (0,external_wp_compose_namespaceObject.useInstanceId)(external_wp_components_namespaceObject.__experimentalUnitControl, 'block-spacer-height-input'); // In most contexts the spacer size cannot meaningfully be set to a
   // percentage, since this is relative to the parent container. This
   // unit is disabled from the UI.

-  const availableUnitSettings = (_ref2 = Object(external_wp_blockEditor_["useSetting"])('spacing.units') || undefined) === null || _ref2 === void 0 ? void 0 : _ref2.filter(availableUnit => availableUnit !== '%');
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
+  const availableUnitSettings = (_ref2 = (0,external_wp_blockEditor_namespaceObject.useSetting)('spacing.units') || undefined) === null || _ref2 === void 0 ? void 0 : _ref2.filter(availableUnit => availableUnit !== '%');
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
     availableUnits: availableUnitSettings || ['px', 'em', 'rem', 'vw', 'vh'],
     defaultValues: {
       px: '100',
@@ -36583,10 +36742,10 @@ function DimensionInput(_ref) {
   };

   const inputValue = temporaryInput !== null ? temporaryInput : value;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, {
     label: label,
     id: inputId
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
     id: inputId,
     isResetValueOnUnitChange: true,
     min: 0,
@@ -36611,17 +36770,17 @@ function SpacerControls(_ref3) {
     width,
     isResizing
   } = _ref3;
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Spacer settings')
-  }, orientation === 'horizontal' && Object(external_wp_element_["createElement"])(DimensionInput, {
-    label: Object(external_wp_i18n_["__"])('Width'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Spacer settings')
+  }, orientation === 'horizontal' && (0,external_wp_element_namespaceObject.createElement)(DimensionInput, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Width'),
     value: width,
     onChange: nextWidth => setAttributes({
       width: nextWidth
     }),
     isResizing: isResizing
-  }), orientation !== 'horizontal' && Object(external_wp_element_["createElement"])(DimensionInput, {
-    label: Object(external_wp_i18n_["__"])('Height'),
+  }), orientation !== 'horizontal' && (0,external_wp_element_namespaceObject.createElement)(DimensionInput, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Height'),
     value: height,
     onChange: nextHeight => setAttributes({
       height: nextHeight
@@ -36630,7 +36789,7 @@ function SpacerControls(_ref3) {
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/edit.js



@@ -36676,7 +36835,7 @@ const ResizableSpacer = _ref => {
     return `${getCurrentSize(elt)}px`;
   };

-  return Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ResizableBox, _extends({
     className: classnames_default()('block-library-spacer__resize-container', {
       'resize-horizontal': orientation === 'horizontal',
       'is-resizing': isResizing,
@@ -36725,9 +36884,9 @@ const SpacerEdit = _ref2 => {
     height,
     width
   } = attributes;
-  const [isResizing, setIsResizing] = Object(external_wp_element_["useState"])(false);
-  const [temporaryHeight, setTemporaryHeight] = Object(external_wp_element_["useState"])(null);
-  const [temporaryWidth, setTemporaryWidth] = Object(external_wp_element_["useState"])(null);
+  const [isResizing, setIsResizing] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [temporaryHeight, setTemporaryHeight] = (0,external_wp_element_namespaceObject.useState)(null);
+  const [temporaryWidth, setTemporaryWidth] = (0,external_wp_element_namespaceObject.useState)(null);

   const handleOnVerticalResizeStop = newHeight => {
     onResizeStop();
@@ -36752,7 +36911,7 @@ const SpacerEdit = _ref2 => {

   const resizableBoxWithOrientation = blockOrientation => {
     if (blockOrientation === 'horizontal') {
-      return Object(external_wp_element_["createElement"])(ResizableSpacer, {
+      return (0,external_wp_element_namespaceObject.createElement)(ResizableSpacer, {
         minWidth: MIN_SPACER_SIZE,
         enable: {
           top: false,
@@ -36774,7 +36933,7 @@ const SpacerEdit = _ref2 => {
       });
     }

-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(ResizableSpacer, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(ResizableSpacer, {
       enable: {
         top: false,
         right: false,
@@ -36795,7 +36954,7 @@ const SpacerEdit = _ref2 => {
     }));
   };

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (orientation === 'horizontal' && !width) {
       setAttributes({
         height: '0px',
@@ -36803,9 +36962,9 @@ const SpacerEdit = _ref2 => {
       });
     }
   }, []);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_primitives_["View"], Object(external_wp_blockEditor_["useBlockProps"])({
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.View, (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     style
-  }), resizableBoxWithOrientation(orientation)), Object(external_wp_element_["createElement"])(SpacerControls, {
+  }), resizableBoxWithOrientation(orientation)), (0,external_wp_element_namespaceObject.createElement)(SpacerControls, {
     setAttributes: setAttributes,
     height: temporaryHeight || height,
     width: temporaryWidth || width,
@@ -36814,17 +36973,17 @@ const SpacerEdit = _ref2 => {
   }));
 };

-/* harmony default export */ var spacer_edit = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withDispatch"])(dispatch => {
+/* harmony default export */ var spacer_edit = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
   const {
     toggleSelection
-  } = dispatch(external_wp_blockEditor_["store"]);
+  } = dispatch(external_wp_blockEditor_namespaceObject.store);
   return {
     onResizeStart: () => toggleSelection(false),
     onResizeStop: () => toggleSelection(true)
   };
-}), external_wp_compose_["withInstanceId"]])(SpacerEdit));
+}), external_wp_compose_namespaceObject.withInstanceId])(SpacerEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/save.js


 /**
@@ -36838,7 +36997,7 @@ function spacer_save_save(_ref) {
       width
     }
   } = _ref;
-  return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     style: {
       height,
       width
@@ -36847,7 +37006,7 @@ function spacer_save_save(_ref) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/spacer/index.js
 /**
  * WordPress dependencies
  */
@@ -36893,22 +37052,22 @@ const spacer_settings = {
   deprecated: spacer_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/block-table.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/block-table.js


 /**
  * WordPress dependencies
  */

-const blockTable = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const blockTable = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"
 }));
 /* harmony default export */ var block_table = (blockTable);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/deprecated.js


 /**
@@ -37077,12 +37236,12 @@ const table_deprecated_deprecated = [// Deprecation migrating table block to use
       return null;
     }

-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
     const classes = classnames_default()(backgroundClass, {
       'has-fixed-layout': hasFixedLayout,
       'has-background': !!backgroundClass
     });
-    const hasCaption = !external_wp_blockEditor_["RichText"].isEmpty(caption);
+    const hasCaption = !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption);

     const Section = _ref2 => {
       let {
@@ -37095,11 +37254,11 @@ const table_deprecated_deprecated = [// Deprecation migrating table block to use
       }

       const Tag = `t${type}`;
-      return Object(external_wp_element_["createElement"])(Tag, null, rows.map((_ref3, rowIndex) => {
+      return (0,external_wp_element_namespaceObject.createElement)(Tag, null, rows.map((_ref3, rowIndex) => {
         let {
           cells
         } = _ref3;
-        return Object(external_wp_element_["createElement"])("tr", {
+        return (0,external_wp_element_namespaceObject.createElement)("tr", {
           key: rowIndex
         }, cells.map((_ref4, cellIndex) => {
           let {
@@ -37111,7 +37270,7 @@ const table_deprecated_deprecated = [// Deprecation migrating table block to use
           const cellClasses = classnames_default()({
             [`has-text-align-${align}`]: align
           });
-          return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+          return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
             className: cellClasses ? cellClasses : undefined,
             "data-align": align,
             tagName: tag,
@@ -37123,18 +37282,18 @@ const table_deprecated_deprecated = [// Deprecation migrating table block to use
       }));
     };

-    return Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])("table", {
+    return (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save(), (0,external_wp_element_namespaceObject.createElement)("table", {
       className: classes === '' ? undefined : classes
-    }, Object(external_wp_element_["createElement"])(Section, {
+    }, (0,external_wp_element_namespaceObject.createElement)(Section, {
       type: "head",
       rows: head
-    }), Object(external_wp_element_["createElement"])(Section, {
+    }), (0,external_wp_element_namespaceObject.createElement)(Section, {
       type: "body",
       rows: body
-    }), Object(external_wp_element_["createElement"])(Section, {
+    }), (0,external_wp_element_namespaceObject.createElement)(Section, {
       type: "foot",
       rows: foot
-    })), hasCaption && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    })), hasCaption && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "figcaption",
       value: caption
     }));
@@ -37273,7 +37432,7 @@ const table_deprecated_deprecated = [// Deprecation migrating table block to use
       return null;
     }

-    const backgroundClass = Object(external_wp_blockEditor_["getColorClassName"])('background-color', backgroundColor);
+    const backgroundClass = (0,external_wp_blockEditor_namespaceObject.getColorClassName)('background-color', backgroundColor);
     const classes = classnames_default()(backgroundClass, {
       'has-fixed-layout': hasFixedLayout,
       'has-background': !!backgroundClass
@@ -37290,11 +37449,11 @@ const table_deprecated_deprecated = [// Deprecation migrating table block to use
       }

       const Tag = `t${type}`;
-      return Object(external_wp_element_["createElement"])(Tag, null, rows.map((_ref7, rowIndex) => {
+      return (0,external_wp_element_namespaceObject.createElement)(Tag, null, rows.map((_ref7, rowIndex) => {
         let {
           cells
         } = _ref7;
-        return Object(external_wp_element_["createElement"])("tr", {
+        return (0,external_wp_element_namespaceObject.createElement)("tr", {
           key: rowIndex
         }, cells.map((_ref8, cellIndex) => {
           let {
@@ -37302,7 +37461,7 @@ const table_deprecated_deprecated = [// Deprecation migrating table block to use
             tag,
             scope
           } = _ref8;
-          return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+          return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
             tagName: tag,
             value: content,
             key: cellIndex,
@@ -37312,15 +37471,15 @@ const table_deprecated_deprecated = [// Deprecation migrating table block to use
       }));
     };

-    return Object(external_wp_element_["createElement"])("table", {
+    return (0,external_wp_element_namespaceObject.createElement)("table", {
       className: classes
-    }, Object(external_wp_element_["createElement"])(Section, {
+    }, (0,external_wp_element_namespaceObject.createElement)(Section, {
       type: "head",
       rows: head
-    }), Object(external_wp_element_["createElement"])(Section, {
+    }), (0,external_wp_element_namespaceObject.createElement)(Section, {
       type: "body",
       rows: body
-    }), Object(external_wp_element_["createElement"])(Section, {
+    }), (0,external_wp_element_namespaceObject.createElement)(Section, {
       type: "foot",
       rows: foot
     }));
@@ -37329,121 +37488,157 @@ const table_deprecated_deprecated = [// Deprecation migrating table block to use
 }];
 /* harmony default export */ var table_deprecated = (table_deprecated_deprecated);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-left.js
-var align_left = __webpack_require__("fPbg");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/align-left.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const alignLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"
+}));
+/* harmony default export */ var align_left = (alignLeft);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/align-center.js
+

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-center.js
-var align_center = __webpack_require__("plpT");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/align-right.js
-var align_right = __webpack_require__("ziDm");
+const alignCenter = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"
+}));
+/* harmony default export */ var align_center = (alignCenter);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-row-before.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/align-right.js


 /**
  * WordPress dependencies
  */

-const tableRowBefore = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const alignRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"
+}));
+/* harmony default export */ var align_right = (alignRight);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-row-before.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const tableRowBefore = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "-2 -2 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"
 }));
 /* harmony default export */ var table_row_before = (tableRowBefore);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-row-after.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-row-after.js


 /**
  * WordPress dependencies
  */

-const tableRowAfter = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const tableRowAfter = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "-2 -2 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"
 }));
 /* harmony default export */ var table_row_after = (tableRowAfter);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-row-delete.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-row-delete.js


 /**
  * WordPress dependencies
  */

-const tableRowDelete = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const tableRowDelete = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "-2 -2 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"
 }));
 /* harmony default export */ var table_row_delete = (tableRowDelete);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-column-before.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-column-before.js


 /**
  * WordPress dependencies
  */

-const tableColumnBefore = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const tableColumnBefore = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "-2 -2 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"
 }));
 /* harmony default export */ var table_column_before = (tableColumnBefore);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-column-after.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-column-after.js


 /**
  * WordPress dependencies
  */

-const tableColumnAfter = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const tableColumnAfter = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "-2 -2 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"
 }));
 /* harmony default export */ var table_column_after = (tableColumnAfter);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-column-delete.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table-column-delete.js


 /**
  * WordPress dependencies
  */

-const tableColumnDelete = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const tableColumnDelete = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "-2 -2 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"
 }));
 /* harmony default export */ var table_column_delete = (tableColumnDelete);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/table.js


 /**
  * WordPress dependencies
  */

-const table = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const table = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"
 }));
 /* harmony default export */ var library_table = (table);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/state.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/state.js
 /**
  * External dependencies
  */
@@ -37465,8 +37660,8 @@ function createTable(_ref) {
     columnCount
   } = _ref;
   return {
-    body: Object(external_lodash_["times"])(rowCount, () => ({
-      cells: Object(external_lodash_["times"])(columnCount, () => ({
+    body: (0,external_lodash_namespaceObject.times)(rowCount, () => ({
+      cells: (0,external_lodash_namespaceObject.times)(columnCount, () => ({
         content: '',
         tag: 'td'
       }))
@@ -37510,7 +37705,7 @@ function getCellAttribute(state, cellLocation, attributeName) {
     rowIndex,
     columnIndex
   } = cellLocation;
-  return Object(external_lodash_["get"])(state, [sectionName, rowIndex, 'cells', columnIndex, attributeName]);
+  return (0,external_lodash_namespaceObject.get)(state, [sectionName, rowIndex, 'cells', columnIndex, attributeName]);
 }
 /**
  * Returns updated cell attributes after applying the `updateCell` function to the selection.
@@ -37527,12 +37722,12 @@ function updateSelectedCell(state, selection, updateCell) {
     return state;
   }

-  const tableSections = Object(external_lodash_["pick"])(state, ['head', 'body', 'foot']);
+  const tableSections = (0,external_lodash_namespaceObject.pick)(state, ['head', 'body', 'foot']);
   const {
     sectionName: selectionSectionName,
     rowIndex: selectionRowIndex
   } = selection;
-  return Object(external_lodash_["mapValues"])(tableSections, (section, sectionName) => {
+  return (0,external_lodash_namespaceObject.mapValues)(tableSections, (section, sectionName) => {
     if (selectionSectionName && selectionSectionName !== sectionName) {
       return section;
     }
@@ -37601,7 +37796,7 @@ function insertRow(state, _ref2) {
     columnCount
   } = _ref2;
   const firstRow = getFirstRow(state);
-  const cellCount = columnCount === undefined ? Object(external_lodash_["get"])(firstRow, ['cells', 'length']) : columnCount; // Bail early if the function cannot determine how many cells to add.
+  const cellCount = columnCount === undefined ? (0,external_lodash_namespaceObject.get)(firstRow, ['cells', 'length']) : columnCount; // Bail early if the function cannot determine how many cells to add.

   if (!cellCount) {
     return state;
@@ -37609,9 +37804,9 @@ function insertRow(state, _ref2) {

   return {
     [sectionName]: [...state[sectionName].slice(0, rowIndex), {
-      cells: Object(external_lodash_["times"])(cellCount, index => {
-        const firstCellInColumn = Object(external_lodash_["get"])(firstRow, ['cells', index], {});
-        const inheritedAttributes = Object(external_lodash_["pick"])(firstCellInColumn, INHERITED_COLUMN_ATTRIBUTES);
+      cells: (0,external_lodash_namespaceObject.times)(cellCount, index => {
+        const firstCellInColumn = (0,external_lodash_namespaceObject.get)(firstRow, ['cells', index], {});
+        const inheritedAttributes = (0,external_lodash_namespaceObject.pick)(firstCellInColumn, INHERITED_COLUMN_ATTRIBUTES);
         return { ...inheritedAttributes,
           content: '',
           tag: sectionName === 'head' ? 'th' : 'td'
@@ -37654,8 +37849,8 @@ function insertColumn(state, _ref4) {
   let {
     columnIndex
   } = _ref4;
-  const tableSections = Object(external_lodash_["pick"])(state, ['head', 'body', 'foot']);
-  return Object(external_lodash_["mapValues"])(tableSections, (section, sectionName) => {
+  const tableSections = (0,external_lodash_namespaceObject.pick)(state, ['head', 'body', 'foot']);
+  return (0,external_lodash_namespaceObject.mapValues)(tableSections, (section, sectionName) => {
     // Bail early if the table section is empty.
     if (isEmptyTableSection(section)) {
       return section;
@@ -37691,8 +37886,8 @@ function deleteColumn(state, _ref5) {
   let {
     columnIndex
   } = _ref5;
-  const tableSections = Object(external_lodash_["pick"])(state, ['head', 'body', 'foot']);
-  return Object(external_lodash_["mapValues"])(tableSections, section => {
+  const tableSections = (0,external_lodash_namespaceObject.pick)(state, ['head', 'body', 'foot']);
+  return (0,external_lodash_namespaceObject.mapValues)(tableSections, section => {
     // Bail early if the table section is empty.
     if (isEmptyTableSection(section)) {
       return section;
@@ -37721,7 +37916,7 @@ function toggleSection(state, sectionName) {
   } // Get the length of the first row of the body to use when creating the header.


-  const columnCount = Object(external_lodash_["get"])(state, ['body', 0, 'cells', 'length'], 1); // Section doesn't exist, insert an empty row to create the section.
+  const columnCount = (0,external_lodash_namespaceObject.get)(state, ['body', 0, 'cells', 'length'], 1); // Section doesn't exist, insert an empty row to create the section.

   return insertRow(state, {
     sectionName,
@@ -37738,7 +37933,7 @@ function toggleSection(state, sectionName) {
  */

 function isEmptyTableSection(section) {
-  return !section || !section.length || Object(external_lodash_["every"])(section, isEmptyRow);
+  return !section || !section.length || (0,external_lodash_namespaceObject.every)(section, isEmptyRow);
 }
 /**
  * Determines whether a table row is empty.
@@ -37752,7 +37947,7 @@ function isEmptyRow(row) {
   return !(row.cells && row.cells.length);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/edit.js


 /**
@@ -37775,26 +37970,26 @@ function isEmptyRow(row) {


 const ALIGNMENT_CONTROLS = [{
-  icon: align_left["a" /* default */],
-  title: Object(external_wp_i18n_["__"])('Align column left'),
+  icon: align_left,
+  title: (0,external_wp_i18n_namespaceObject.__)('Align column left'),
   align: 'left'
 }, {
-  icon: align_center["a" /* default */],
-  title: Object(external_wp_i18n_["__"])('Align column center'),
+  icon: align_center,
+  title: (0,external_wp_i18n_namespaceObject.__)('Align column center'),
   align: 'center'
 }, {
-  icon: align_right["a" /* default */],
-  title: Object(external_wp_i18n_["__"])('Align column right'),
+  icon: align_right,
+  title: (0,external_wp_i18n_namespaceObject.__)('Align column right'),
   align: 'right'
 }];
 const cellAriaLabel = {
-  head: Object(external_wp_i18n_["__"])('Header cell text'),
-  body: Object(external_wp_i18n_["__"])('Body cell text'),
-  foot: Object(external_wp_i18n_["__"])('Footer cell text')
+  head: (0,external_wp_i18n_namespaceObject.__)('Header cell text'),
+  body: (0,external_wp_i18n_namespaceObject.__)('Body cell text'),
+  foot: (0,external_wp_i18n_namespaceObject.__)('Footer cell text')
 };
-const edit_placeholder = {
-  head: Object(external_wp_i18n_["__"])('Header label'),
-  foot: Object(external_wp_i18n_["__"])('Footer label')
+const placeholder = {
+  head: (0,external_wp_i18n_namespaceObject.__)('Header label'),
+  foot: (0,external_wp_i18n_namespaceObject.__)('Footer label')
 };

 function TSection(_ref) {
@@ -37803,7 +37998,7 @@ function TSection(_ref) {
     ...props
   } = _ref;
   const TagName = `t${name}`;
-  return Object(external_wp_element_["createElement"])(TagName, props);
+  return (0,external_wp_element_namespaceObject.createElement)(TagName, props);
 }

 function TableEdit(_ref2) {
@@ -37819,11 +38014,11 @@ function TableEdit(_ref2) {
     head,
     foot
   } = attributes;
-  const [initialRowCount, setInitialRowCount] = Object(external_wp_element_["useState"])(2);
-  const [initialColumnCount, setInitialColumnCount] = Object(external_wp_element_["useState"])(2);
-  const [selectedCell, setSelectedCell] = Object(external_wp_element_["useState"])();
-  const colorProps = Object(external_wp_blockEditor_["__experimentalUseColorProps"])(attributes);
-  const borderProps = Object(external_wp_blockEditor_["__experimentalUseBorderProps"])(attributes);
+  const [initialRowCount, setInitialRowCount] = (0,external_wp_element_namespaceObject.useState)(2);
+  const [initialColumnCount, setInitialColumnCount] = (0,external_wp_element_namespaceObject.useState)(2);
+  const [selectedCell, setSelectedCell] = (0,external_wp_element_namespaceObject.useState)();
+  const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalUseColorProps)(attributes);
+  const borderProps = (0,external_wp_blockEditor_namespaceObject.__experimentalUseBorderProps)(attributes);
   /**
    * Updates the initial column count used for table creation.
    *
@@ -38066,7 +38261,7 @@ function TableEdit(_ref2) {
     }));
   }

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isSelected) {
       setSelectedCell();
     }
@@ -38074,43 +38269,43 @@ function TableEdit(_ref2) {
   const sections = ['head', 'body', 'foot'].filter(name => !isEmptyTableSection(attributes[name]));
   const tableControls = [{
     icon: table_row_before,
-    title: Object(external_wp_i18n_["__"])('Insert row before'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Insert row before'),
     isDisabled: !selectedCell,
     onClick: onInsertRowBefore
   }, {
     icon: table_row_after,
-    title: Object(external_wp_i18n_["__"])('Insert row after'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Insert row after'),
     isDisabled: !selectedCell,
     onClick: onInsertRowAfter
   }, {
     icon: table_row_delete,
-    title: Object(external_wp_i18n_["__"])('Delete row'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Delete row'),
     isDisabled: !selectedCell,
     onClick: onDeleteRow
   }, {
     icon: table_column_before,
-    title: Object(external_wp_i18n_["__"])('Insert column before'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Insert column before'),
     isDisabled: !selectedCell,
     onClick: onInsertColumnBefore
   }, {
     icon: table_column_after,
-    title: Object(external_wp_i18n_["__"])('Insert column after'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Insert column after'),
     isDisabled: !selectedCell,
     onClick: onInsertColumnAfter
   }, {
     icon: table_column_delete,
-    title: Object(external_wp_i18n_["__"])('Delete column'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Delete column'),
     isDisabled: !selectedCell,
     onClick: onDeleteColumn
   }];
-  const renderedSections = ['head', 'body', 'foot'].map(name => Object(external_wp_element_["createElement"])(TSection, {
+  const renderedSections = ['head', 'body', 'foot'].map(name => (0,external_wp_element_namespaceObject.createElement)(TSection, {
     name: name,
     key: name
   }, attributes[name].map((_ref3, rowIndex) => {
     let {
       cells
     } = _ref3;
-    return Object(external_wp_element_["createElement"])("tr", {
+    return (0,external_wp_element_namespaceObject.createElement)("tr", {
       key: rowIndex
     }, cells.map((_ref4, columnIndex) => {
       let {
@@ -38119,7 +38314,7 @@ function TableEdit(_ref2) {
         scope,
         align
       } = _ref4;
-      return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
         tagName: CellTag,
         key: columnIndex,
         className: classnames_default()({
@@ -38137,92 +38332,92 @@ function TableEdit(_ref2) {
           });
         },
         "aria-label": cellAriaLabel[name],
-        placeholder: edit_placeholder[name]
+        placeholder: placeholder[name]
       });
     }));
   })));
   const isEmpty = !sections.length;
-  return Object(external_wp_element_["createElement"])("figure", Object(external_wp_blockEditor_["useBlockProps"])(), !isEmpty && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)("figure", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), !isEmpty && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
-    label: Object(external_wp_i18n_["__"])('Change column alignment'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Change column alignment'),
     alignmentControls: ALIGNMENT_CONTROLS,
     value: getCellAlignment(),
     onChange: nextAlign => onChangeColumnAlignment(nextAlign)
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarDropdownMenu"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarDropdownMenu, {
     hasArrowIndicator: true,
     icon: library_table,
-    label: Object(external_wp_i18n_["__"])('Edit table'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Edit table'),
     controls: tableControls
-  }))), !isEmpty && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Table settings'),
+  }))), !isEmpty && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Table settings'),
     className: "blocks-table-settings"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Fixed width table cells'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Fixed width table cells'),
     checked: !!hasFixedLayout,
     onChange: onChangeFixedLayout
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Header section'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Header section'),
     checked: !!(head && head.length),
     onChange: onToggleHeaderSection
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Footer section'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Footer section'),
     checked: !!(foot && foot.length),
     onChange: onToggleFooterSection
-  }))), !isEmpty && Object(external_wp_element_["createElement"])("table", {
+  }))), !isEmpty && (0,external_wp_element_namespaceObject.createElement)("table", {
     className: classnames_default()(colorProps.className, borderProps.className, {
       'has-fixed-layout': hasFixedLayout
     }),
     style: { ...colorProps.style,
       ...borderProps.style
     }
-  }, renderedSections), !isEmpty && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }, renderedSections), !isEmpty && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     tagName: "figcaption",
-    "aria-label": Object(external_wp_i18n_["__"])('Table caption text'),
-    placeholder: Object(external_wp_i18n_["__"])('Add caption'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Table caption text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Add caption'),
     value: caption,
     onChange: value => setAttributes({
       caption: value
     }) // Deselect the selected table cell when the caption is focused.
     ,
     unstableOnFocus: () => setSelectedCell(),
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
-  }), isEmpty && Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
-    label: Object(external_wp_i18n_["__"])('Table'),
-    icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'))
+  }), isEmpty && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Table'),
+    icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
       icon: block_table,
       showColors: true
     }),
-    instructions: Object(external_wp_i18n_["__"])('Insert a table for sharing data.')
-  }, Object(external_wp_element_["createElement"])("form", {
+    instructions: (0,external_wp_i18n_namespaceObject.__)('Insert a table for sharing data.')
+  }, (0,external_wp_element_namespaceObject.createElement)("form", {
     className: "blocks-table__placeholder-form",
     onSubmit: onCreateTable
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
     type: "number",
-    label: Object(external_wp_i18n_["__"])('Column count'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Column count'),
     value: initialColumnCount,
     onChange: onChangeInitialColumnCount,
     min: "1",
     className: "blocks-table__placeholder-input"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
     type: "number",
-    label: Object(external_wp_i18n_["__"])('Row count'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Row count'),
     value: initialRowCount,
     onChange: onChangeInitialRowCount,
     min: "1",
     className: "blocks-table__placeholder-input"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     className: "blocks-table__placeholder-button",
     variant: "primary",
     type: "submit"
-  }, Object(external_wp_i18n_["__"])('Create Table')))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Create Table')))));
 }

 /* harmony default export */ var table_edit = (TableEdit);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/save.js


 /**
@@ -38251,12 +38446,12 @@ function table_save_save(_ref) {
     return null;
   }

-  const colorProps = Object(external_wp_blockEditor_["__experimentalGetColorClassesAndStyles"])(attributes);
-  const borderProps = Object(external_wp_blockEditor_["__experimentalGetBorderClassesAndStyles"])(attributes);
+  const colorProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetColorClassesAndStyles)(attributes);
+  const borderProps = (0,external_wp_blockEditor_namespaceObject.__experimentalGetBorderClassesAndStyles)(attributes);
   const classes = classnames_default()(colorProps.className, borderProps.className, {
     'has-fixed-layout': hasFixedLayout
   });
-  const hasCaption = !external_wp_blockEditor_["RichText"].isEmpty(caption);
+  const hasCaption = !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption);

   const Section = _ref2 => {
     let {
@@ -38269,11 +38464,11 @@ function table_save_save(_ref) {
     }

     const Tag = `t${type}`;
-    return Object(external_wp_element_["createElement"])(Tag, null, rows.map((_ref3, rowIndex) => {
+    return (0,external_wp_element_namespaceObject.createElement)(Tag, null, rows.map((_ref3, rowIndex) => {
       let {
         cells
       } = _ref3;
-      return Object(external_wp_element_["createElement"])("tr", {
+      return (0,external_wp_element_namespaceObject.createElement)("tr", {
         key: rowIndex
       }, cells.map((_ref4, cellIndex) => {
         let {
@@ -38285,7 +38480,7 @@ function table_save_save(_ref) {
         const cellClasses = classnames_default()({
           [`has-text-align-${align}`]: align
         });
-        return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+        return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
           className: cellClasses ? cellClasses : undefined,
           "data-align": align,
           tagName: tag,
@@ -38297,27 +38492,27 @@ function table_save_save(_ref) {
     }));
   };

-  return Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save(), Object(external_wp_element_["createElement"])("table", {
+  return (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save(), (0,external_wp_element_namespaceObject.createElement)("table", {
     className: classes === '' ? undefined : classes,
     style: { ...colorProps.style,
       ...borderProps.style
     }
-  }, Object(external_wp_element_["createElement"])(Section, {
+  }, (0,external_wp_element_namespaceObject.createElement)(Section, {
     type: "head",
     rows: head
-  }), Object(external_wp_element_["createElement"])(Section, {
+  }), (0,external_wp_element_namespaceObject.createElement)(Section, {
     type: "body",
     rows: body
-  }), Object(external_wp_element_["createElement"])(Section, {
+  }), (0,external_wp_element_namespaceObject.createElement)(Section, {
     type: "foot",
     rows: foot
-  })), hasCaption && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  })), hasCaption && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "figcaption",
     value: caption
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/transforms.js
 const tableContentPasteSchema = _ref => {
   let {
     phrasingContentSchema
@@ -38368,7 +38563,7 @@ const table_transforms_transforms = {
 };
 /* harmony default export */ var table_transforms = (table_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/table/index.js
 /**
  * WordPress dependencies
  */
@@ -38553,13 +38748,13 @@ const table_settings = {
     attributes: {
       head: [{
         cells: [{
-          content: Object(external_wp_i18n_["__"])('Version'),
+          content: (0,external_wp_i18n_namespaceObject.__)('Version'),
           tag: 'th'
         }, {
-          content: Object(external_wp_i18n_["__"])('Jazz Musician'),
+          content: (0,external_wp_i18n_namespaceObject.__)('Jazz Musician'),
           tag: 'th'
         }, {
-          content: Object(external_wp_i18n_["__"])('Release Date'),
+          content: (0,external_wp_i18n_namespaceObject.__)('Release Date'),
           tag: 'th'
         }]
       }],
@@ -38571,7 +38766,7 @@ const table_settings = {
           content: 'Jaco Pastorius',
           tag: 'td'
         }, {
-          content: Object(external_wp_i18n_["__"])('May 7, 2019'),
+          content: (0,external_wp_i18n_namespaceObject.__)('May 7, 2019'),
           tag: 'td'
         }]
       }, {
@@ -38582,7 +38777,7 @@ const table_settings = {
           content: 'Betty Carter',
           tag: 'td'
         }, {
-          content: Object(external_wp_i18n_["__"])('February 21, 2019'),
+          content: (0,external_wp_i18n_namespaceObject.__)('February 21, 2019'),
           tag: 'td'
         }]
       }, {
@@ -38593,7 +38788,7 @@ const table_settings = {
           content: 'Bebo Valdés',
           tag: 'td'
         }, {
-          content: Object(external_wp_i18n_["__"])('December 6, 2018'),
+          content: (0,external_wp_i18n_namespaceObject.__)('December 6, 2018'),
           tag: 'td'
         }]
       }]
@@ -38605,7 +38800,7 @@ const table_settings = {
   deprecated: table_deprecated
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/tag-cloud/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/tag-cloud/edit.js


 /**
@@ -38651,11 +38846,11 @@ function TagCloudEdit(_ref) {

   const getTaxonomyOptions = () => {
     const selectOption = {
-      label: Object(external_wp_i18n_["__"])('- Select -'),
+      label: (0,external_wp_i18n_namespaceObject.__)('- Select -'),
       value: '',
       disabled: true
     };
-    const taxonomyOptions = Object(external_lodash_["map"])(Object(external_lodash_["filter"])(taxonomies, 'show_cloud'), item => {
+    const taxonomyOptions = (0,external_lodash_namespaceObject.map)((0,external_lodash_namespaceObject.filter)(taxonomies, 'show_cloud'), item => {
       return {
         value: item.slug,
         label: item.name
@@ -38664,23 +38859,23 @@ function TagCloudEdit(_ref) {
     return [selectOption, ...taxonomyOptions];
   };

-  const inspectorControls = Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Tag Cloud settings')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Taxonomy'),
+  const inspectorControls = (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Tag Cloud settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Taxonomy'),
     options: getTaxonomyOptions(),
     value: taxonomy,
     onChange: selectedTaxonomy => setAttributes({
       taxonomy: selectedTaxonomy
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Show post counts'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Show post counts'),
     checked: showTagCounts,
     onChange: () => setAttributes({
       showTagCounts: !showTagCounts
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Number of tags'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Number of tags'),
     value: numberOfTags,
     onChange: value => setAttributes({
       numberOfTags: value
@@ -38689,22 +38884,22 @@ function TagCloudEdit(_ref) {
     max: MAX_TAGS,
     required: true
   })));
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, inspectorControls, Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])(), Object(external_wp_element_["createElement"])(external_wp_serverSideRender_default.a, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, inspectorControls, (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)(), (0,external_wp_element_namespaceObject.createElement)((external_wp_serverSideRender_default()), {
     key: "tag-cloud",
     block: "core/tag-cloud",
     attributes: attributes
   })));
 }

-/* harmony default export */ var tag_cloud_edit = (Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var tag_cloud_edit = ((0,external_wp_data_namespaceObject.withSelect)(select => {
   return {
-    taxonomies: select(external_wp_coreData_["store"]).getTaxonomies({
+    taxonomies: select(external_wp_coreData_namespaceObject.store).getTaxonomies({
       per_page: -1
     })
   };
 })(TagCloudEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/tag-cloud/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/tag-cloud/index.js
 /**
  * WordPress dependencies
  */
@@ -38753,10 +38948,22 @@ const tag_cloud_settings = {
   edit: tag_cloud_edit
 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol-filled.js
-var symbol_filled = __webpack_require__("OE6V");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol-filled.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/selection/template-part-previews.js
+
+/**
+ * WordPress dependencies
+ */
+
+const symbolFilled = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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-17.6 1L10 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"
+}));
+/* harmony default export */ var symbol_filled = (symbolFilled);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/selection/template-part-previews.js



@@ -38785,12 +38992,12 @@ var symbol_filled = __webpack_require__("OE6V");


 function getAreaGroupTitle(areaLabel) {
-  return Object(external_wp_i18n_["sprintf"])( // Translators: %s for the area the template part is assigned to (Header, Footer, General, etc.)
-  Object(external_wp_i18n_["__"])('Area: %s'), areaLabel);
+  return (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s for the area the template part is assigned to (Header, Footer, General, etc.)
+  (0,external_wp_i18n_namespaceObject.__)('Area: %s'), areaLabel);
 }

 function PreviewPlaceholder() {
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-template-part__selection-preview-item is-placeholder",
     tabIndex: 0
   });
@@ -38813,38 +39020,38 @@ function TemplatePartItem(_ref) {
   // The fallback prevents an error in the parse function while saving.

   const content = templatePart.content.raw || '';
-  const blocks = Object(external_wp_element_["useMemo"])(() => Object(external_wp_blocks_["parse"])(content), [content]);
+  const blocks = (0,external_wp_element_namespaceObject.useMemo)(() => (0,external_wp_blocks_namespaceObject.parse)(content), [content]);
   const {
     createSuccessNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const onClick = Object(external_wp_element_["useCallback"])(() => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const onClick = (0,external_wp_element_namespaceObject.useCallback)(() => {
     setAttributes({
       slug,
       theme,
       area: undefined
     });
-    createSuccessNotice(Object(external_wp_i18n_["sprintf"])(
+    createSuccessNotice((0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: template part title. */
-    Object(external_wp_i18n_["__"])('Template Part "%s" inserted.'), title || slug), {
+    (0,external_wp_i18n_namespaceObject.__)('Template Part "%s" inserted.'), title || slug), {
       type: 'snackbar'
     });
     onClose();
   }, [slug, theme]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__unstableCompositeItem"], Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableCompositeItem, _extends({
     as: "div",
     className: "wp-block-template-part__selection-preview-item",
     role: "option",
     onClick: onClick,
     onKeyDown: event => {
-      if (external_wp_keycodes_["ENTER"] === event.keyCode || external_wp_keycodes_["SPACE"] === event.keyCode) {
+      if (external_wp_keycodes_namespaceObject.ENTER === event.keyCode || external_wp_keycodes_namespaceObject.SPACE === event.keyCode) {
         onClick();
       }
     },
     tabIndex: 0,
     "aria-label": title || slug
-  }, composite), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockPreview"], {
+  }, composite), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockPreview, {
     blocks: blocks
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-template-part__selection-preview-item-title"
   }, title || slug));
 }
@@ -38855,13 +39062,13 @@ function PanelGroup(_ref2) {
     icon,
     children
   } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-template-part__selection-panel-group-header"
-  }, Object(external_wp_element_["createElement"])("span", {
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "wp-block-template-part__selection-panel-group-title"
-  }, title), Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
+  }, title), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
     icon: icon
-  })), Object(external_wp_element_["createElement"])("div", {
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-template-part__selection-panel-group-content"
   }, children));
 }
@@ -38878,38 +39085,38 @@ function TemplatePartsByArea(_ref3) {
   const {
     templatePartsByArea,
     templatePartsToShow
-  } = Object(external_wp_element_["useMemo"])(() => {
+  } = (0,external_wp_element_namespaceObject.useMemo)(() => {
     const _templatePartsToShow = templateParts.filter(templatePart => 'uncategorized' === area || templatePart.area === area) || [];

-    const _templatePartsByArea = Object.values(Object(external_lodash_["groupBy"])(_templatePartsToShow, 'area'));
+    const _templatePartsByArea = Object.values((0,external_lodash_namespaceObject.groupBy)(_templatePartsToShow, 'area'));

-    const orderedTemplatePartsToShow = Object(external_lodash_["flatten"])(_templatePartsToShow);
+    const orderedTemplatePartsToShow = (0,external_lodash_namespaceObject.flatten)(_templatePartsToShow);
     return {
       templatePartsByArea: _templatePartsByArea,
       templatePartsToShow: orderedTemplatePartsToShow
     };
   }, [templateParts, area]);
-  const currentShownTPs = Object(external_wp_compose_["useAsyncList"])(templatePartsToShow);
+  const currentShownTPs = (0,external_wp_compose_namespaceObject.useAsyncList)(templatePartsToShow);

   if (!templatePartsToShow.length) {
-    return Object(external_wp_element_["createElement"])(PanelGroup, {
+    return (0,external_wp_element_namespaceObject.createElement)(PanelGroup, {
       title: getAreaGroupTitle(labelsByArea[area] || labelsByArea.uncategorized)
-    }, Object(external_wp_i18n_["sprintf"])( // Translators: %s for the template part variation ("Header", "Footer", "Template Part").
-    Object(external_wp_i18n_["__"])('There is no other %s available. If you are looking for another type of template part, try searching for it using the input above.'), area && area !== 'uncategorized' ? labelsByArea[area] || area : Object(external_wp_i18n_["__"])('Template Part')));
+    }, (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s for the template part variation ("Header", "Footer", "Template Part").
+    (0,external_wp_i18n_namespaceObject.__)('There is no other %s available. If you are looking for another type of template part, try searching for it using the input above.'), area && area !== 'uncategorized' ? labelsByArea[area] || area : (0,external_wp_i18n_namespaceObject.__)('Template Part')));
   }

   return templatePartsByArea.map(templatePartList => {
-    return Object(external_wp_element_["createElement"])(PanelGroup, {
+    return (0,external_wp_element_namespaceObject.createElement)(PanelGroup, {
       key: templatePartList[0].area,
       title: getAreaGroupTitle(labelsByArea[templatePartList[0].area] || labelsByArea.uncategorized)
     }, templatePartList.map(templatePart => {
-      return currentShownTPs.includes(templatePart) ? Object(external_wp_element_["createElement"])(TemplatePartItem, {
+      return currentShownTPs.includes(templatePart) ? (0,external_wp_element_namespaceObject.createElement)(TemplatePartItem, {
         key: templatePart.id,
         templatePart: templatePart,
         setAttributes: setAttributes,
         onClose: onClose,
         composite: composite
-      }) : Object(external_wp_element_["createElement"])(PreviewPlaceholder, {
+      }) : (0,external_wp_element_namespaceObject.createElement)(PreviewPlaceholder, {
         key: templatePart.id
       });
     }));
@@ -38928,10 +39135,10 @@ function TemplatePartSearchResults(_ref4) {
   const {
     filteredTPs,
     groupedResults
-  } = Object(external_wp_element_["useMemo"])(() => {
+  } = (0,external_wp_element_namespaceObject.useMemo)(() => {
     // Filter based on value.
     // Remove diacritics and convert to lowercase to normalize.
-    const normalizedFilterValue = Object(external_lodash_["deburr"])(filterValue).toLowerCase();
+    const normalizedFilterValue = (0,external_lodash_namespaceObject.deburr)(filterValue).toLowerCase();
     const searchResults = templateParts.filter(_ref5 => {
       let {
         title: {
@@ -38939,15 +39146,15 @@ function TemplatePartSearchResults(_ref4) {
         },
         area
       } = _ref5;
-      return Object(external_lodash_["deburr"])(title).toLowerCase().includes(normalizedFilterValue) || // Since diacritics can be used in theme names, remove them for the comparison.
-      Object(external_lodash_["deburr"])(labelsByArea[area]).toLowerCase().includes(normalizedFilterValue);
+      return (0,external_lodash_namespaceObject.deburr)(title).toLowerCase().includes(normalizedFilterValue) || // Since diacritics can be used in theme names, remove them for the comparison.
+      (0,external_lodash_namespaceObject.deburr)(labelsByArea[area]).toLowerCase().includes(normalizedFilterValue);
     }); // Order based on value location.

     searchResults.sort((a, b) => {
       // First prioritize index found in title.
       // Deburr for diacritics.
-      const indexInTitleA = Object(external_lodash_["deburr"])(a.title.rendered).toLowerCase().indexOf(normalizedFilterValue);
-      const indexInTitleB = Object(external_lodash_["deburr"])(b.title.rendered).toLowerCase().indexOf(normalizedFilterValue);
+      const indexInTitleA = (0,external_lodash_namespaceObject.deburr)(a.title.rendered).toLowerCase().indexOf(normalizedFilterValue);
+      const indexInTitleB = (0,external_lodash_namespaceObject.deburr)(b.title.rendered).toLowerCase().indexOf(normalizedFilterValue);

       if (indexInTitleA !== -1 && indexInTitleB !== -1) {
         return indexInTitleA - indexInTitleB;
@@ -38958,7 +39165,7 @@ function TemplatePartSearchResults(_ref4) {
       } // Second prioritize index found in area.


-      return Object(external_lodash_["deburr"])(labelsByArea[a.area]).toLowerCase().indexOf(normalizedFilterValue) - Object(external_lodash_["deburr"])(labelsByArea[b.area]).toLowerCase().indexOf(normalizedFilterValue);
+      return (0,external_lodash_namespaceObject.deburr)(labelsByArea[a.area]).toLowerCase().indexOf(normalizedFilterValue) - (0,external_lodash_namespaceObject.deburr)(labelsByArea[b.area]).toLowerCase().indexOf(normalizedFilterValue);
     }); // Group filtered results together if their neighbors share the same area.
     // This helps not show redundant panel groups side by side in the results.

@@ -38977,17 +39184,17 @@ function TemplatePartSearchResults(_ref4) {
       groupedResults: _groupedResults
     };
   }, [filterValue, templateParts]);
-  const currentShownTPs = Object(external_wp_compose_["useAsyncList"])(filteredTPs);
-  return groupedResults.map(group => Object(external_wp_element_["createElement"])(PanelGroup, {
+  const currentShownTPs = (0,external_wp_compose_namespaceObject.useAsyncList)(filteredTPs);
+  return groupedResults.map(group => (0,external_wp_element_namespaceObject.createElement)(PanelGroup, {
     key: group[0].id,
     title: getAreaGroupTitle(labelsByArea[group[0].area] || labelsByArea.uncategorized)
-  }, group.map(templatePart => currentShownTPs.includes(templatePart) ? Object(external_wp_element_["createElement"])(TemplatePartItem, {
+  }, group.map(templatePart => currentShownTPs.includes(templatePart) ? (0,external_wp_element_namespaceObject.createElement)(TemplatePartItem, {
     key: templatePart.id,
     templatePart: templatePart,
     setAttributes: setAttributes,
     onClose: onClose,
     composite: composite
-  }) : Object(external_wp_element_["createElement"])(PreviewPlaceholder, {
+  }) : (0,external_wp_element_namespaceObject.createElement)(PreviewPlaceholder, {
     key: templatePart.id
   }))));
 }
@@ -39000,12 +39207,12 @@ function TemplatePartPreviews(_ref6) {
     area,
     templatePartId
   } = _ref6;
-  const composite = Object(external_wp_components_["__unstableUseCompositeState"])();
+  const composite = (0,external_wp_components_namespaceObject.__unstableUseCompositeState)();
   const {
     templateParts,
     labelsByArea
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const _templateParts = (select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_template_part', {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const _templateParts = (select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_template_part', {
       per_page: -1
     }) || []).filter(templatePart => createTemplatePartId(templatePart.theme, templatePart.slug) !== templatePartId); // FIXME: @wordpress/block-library should not depend on @wordpress/editor.
     // Blocks can be loaded into a *non-post* block editor.
@@ -39025,14 +39232,14 @@ function TemplatePartPreviews(_ref6) {
   }, []);

   if (!templateParts || !templateParts.length) {
-    return Object(external_wp_element_["createElement"])(PanelGroup, null, Object(external_wp_i18n_["__"])('There are no existing template parts to select.'));
+    return (0,external_wp_element_namespaceObject.createElement)(PanelGroup, null, (0,external_wp_i18n_namespaceObject.__)('There are no existing template parts to select.'));
   }

   if (filterValue) {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["__unstableComposite"], Object(esm_extends["a" /* default */])({}, composite, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableComposite, _extends({}, composite, {
       role: "listbox",
-      "aria-label": Object(external_wp_i18n_["__"])('List of template parts')
-    }), Object(external_wp_element_["createElement"])(TemplatePartSearchResults, {
+      "aria-label": (0,external_wp_i18n_namespaceObject.__)('List of template parts')
+    }), (0,external_wp_element_namespaceObject.createElement)(TemplatePartSearchResults, {
       templateParts: templateParts,
       setAttributes: setAttributes,
       filterValue: filterValue,
@@ -39042,10 +39249,10 @@ function TemplatePartPreviews(_ref6) {
     }));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["__unstableComposite"], Object(esm_extends["a" /* default */])({}, composite, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableComposite, _extends({}, composite, {
     role: "listbox",
-    "aria-label": Object(external_wp_i18n_["__"])('List of template parts')
-  }), Object(external_wp_element_["createElement"])(TemplatePartsByArea, {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('List of template parts')
+  }), (0,external_wp_element_namespaceObject.createElement)(TemplatePartsByArea, {
     templateParts: templateParts,
     setAttributes: setAttributes,
     onClose: onClose,
@@ -39055,7 +39262,7 @@ function TemplatePartPreviews(_ref6) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/selection/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/selection/index.js


 /**
@@ -39075,14 +39282,14 @@ function TemplatePartSelection(_ref) {
     area,
     templatePartId = null
   } = _ref;
-  const [filterValue, setFilterValue] = Object(external_wp_element_["useState"])('');
-  return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(external_wp_components_["SearchControl"], {
+  const [filterValue, setFilterValue] = (0,external_wp_element_namespaceObject.useState)('');
+  return (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SearchControl, {
     value: filterValue,
     onChange: setFilterValue,
     className: "wp-block-template-part__selection-preview-search-form"
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-template-part__selection-preview-container"
-  }, Object(external_wp_element_["createElement"])(TemplatePartPreviews, {
+  }, (0,external_wp_element_namespaceObject.createElement)(TemplatePartPreviews, {
     setAttributes: setAttributes,
     filterValue: filterValue,
     onClose: onClose,
@@ -39091,7 +39298,7 @@ function TemplatePartSelection(_ref) {
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/placeholder/patterns-setup.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/placeholder/patterns-setup.js


 /**
@@ -39113,9 +39320,9 @@ function PatternsSetup(_ref) {
   const blockNameWithArea = area ? `core/template-part/${area}` : 'core/template-part'; // Restructure onCreate to set the blocks on local state.
   // Add modal to confirm title and trigger onCreate.

-  const [title, setTitle] = Object(external_wp_element_["useState"])(Object(external_wp_i18n_["__"])('Untitled Template Part'));
-  const [startingBlocks, setStartingBlocks] = Object(external_wp_element_["useState"])([]);
-  const [isTitleStep, setIsTitleStep] = Object(external_wp_element_["useState"])(false);
+  const [title, setTitle] = (0,external_wp_element_namespaceObject.useState)((0,external_wp_i18n_namespaceObject.__)('Untitled Template Part'));
+  const [startingBlocks, setStartingBlocks] = (0,external_wp_element_namespaceObject.useState)([]);
+  const [isTitleStep, setIsTitleStep] = (0,external_wp_element_namespaceObject.useState)(false);

   const selectPattern = selectedPattern => {
     setStartingBlocks(selectedPattern);
@@ -39127,9 +39334,9 @@ function PatternsSetup(_ref) {
     onCreate(startingBlocks, title);
   };

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockPatternSetup"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBlockPatternSetup, {
     clientId: clientId,
-    startBlankComponent: Object(external_wp_element_["createElement"])(StartBlankComponent, {
+    startBlankComponent: (0,external_wp_element_namespaceObject.createElement)(StartBlankComponent, {
       setTitleStep: setIsTitleStep,
       areaLabel: areaLabel,
       areaIcon: areaIcon
@@ -39140,30 +39347,30 @@ function PatternsSetup(_ref) {

       return pattern === null || pattern === void 0 ? void 0 : (_pattern$blockTypes = pattern.blockTypes) === null || _pattern$blockTypes === void 0 ? void 0 : (_pattern$blockTypes$s = _pattern$blockTypes.some) === null || _pattern$blockTypes$s === void 0 ? void 0 : _pattern$blockTypes$s.call(_pattern$blockTypes, blockType => blockType === blockNameWithArea);
     }
-  }), isTitleStep && Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    title: Object(external_wp_i18n_["sprintf"])( // Translators: %s as template part area title ("Header", "Footer", etc.).
-    Object(external_wp_i18n_["__"])('Name and create your new %s'), areaLabel.toLowerCase()),
-    closeLabel: Object(external_wp_i18n_["__"])('Cancel'),
+  }), isTitleStep && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    title: (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s as template part area title ("Header", "Footer", etc.).
+    (0,external_wp_i18n_namespaceObject.__)('Name and create your new %s'), areaLabel.toLowerCase()),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Cancel'),
     onRequestClose: resetPlaceholder,
     overlayClassName: "wp-block-template-part__placeholder-create-new__title-form"
-  }, Object(external_wp_element_["createElement"])("form", {
+  }, (0,external_wp_element_namespaceObject.createElement)("form", {
     onSubmit: submitForCreation
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Name'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Name'),
     value: title,
     onChange: setTitle
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
     className: "wp-block-template-part__placeholder-create-new__title-form-actions",
     justify: "flex-end"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "secondary",
     onClick: resetPlaceholder
-  }, Object(external_wp_i18n_["__"])('Cancel'))), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Cancel'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "primary",
     type: "submit",
     disabled: !title.length,
     "aria-disabled": !title.length
-  }, Object(external_wp_i18n_["__"])('Create')))))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Create')))))));
 }

 function StartBlankComponent(_ref2) {
@@ -39172,18 +39379,18 @@ function StartBlankComponent(_ref2) {
     areaLabel,
     areaIcon
   } = _ref2;
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     setTitleStep(true);
   }, []);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
     label: areaLabel,
     icon: areaIcon,
-    instructions: Object(external_wp_i18n_["sprintf"])( // Translators: %s as template part area title ("Header", "Footer", "Template Part", etc.).
-    Object(external_wp_i18n_["__"])('Creating your new %s…'), areaLabel.toLowerCase())
+    instructions: (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s as template part area title ("Header", "Footer", "Template Part", etc.).
+    (0,external_wp_i18n_namespaceObject.__)('Creating your new %s…'), areaLabel.toLowerCase())
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/placeholder/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/placeholder/index.js


 /**
@@ -39220,39 +39427,39 @@ function TemplatePartPlaceholder(_ref) {
   } = _ref;
   const {
     saveEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  const [step, setStep] = Object(external_wp_element_["useState"])(PLACEHOLDER_STEPS.initial);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const [step, setStep] = (0,external_wp_element_namespaceObject.useState)(PLACEHOLDER_STEPS.initial);
   const {
     areaIcon,
     areaLabel
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     // FIXME: @wordpress/block-library should not depend on @wordpress/editor.
     // Blocks can be loaded into a *non-post* block editor.
     // eslint-disable-next-line @wordpress/data-no-store-string-literals
     const definedAreas = select('core/editor').__experimentalGetDefaultTemplatePartAreas();

-    const selectedArea = Object(external_lodash_["find"])(definedAreas, {
+    const selectedArea = (0,external_lodash_namespaceObject.find)(definedAreas, {
       area
     });
-    const defaultArea = Object(external_lodash_["find"])(definedAreas, {
+    const defaultArea = (0,external_lodash_namespaceObject.find)(definedAreas, {
       area: 'uncategorized'
     });
     return {
       areaIcon: (selectedArea === null || selectedArea === void 0 ? void 0 : selectedArea.icon) || (defaultArea === null || defaultArea === void 0 ? void 0 : defaultArea.icon),
-      areaLabel: (selectedArea === null || selectedArea === void 0 ? void 0 : selectedArea.label) || Object(external_wp_i18n_["__"])('Template Part')
+      areaLabel: (selectedArea === null || selectedArea === void 0 ? void 0 : selectedArea.label) || (0,external_wp_i18n_namespaceObject.__)('Template Part')
     };
   }, [area]);
-  const onCreate = Object(external_wp_element_["useCallback"])(async function () {
+  const onCreate = (0,external_wp_element_namespaceObject.useCallback)(async function () {
     let startingBlocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-    let title = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Object(external_wp_i18n_["__"])('Untitled Template Part');
+    let title = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (0,external_wp_i18n_namespaceObject.__)('Untitled Template Part');
     // If we have `area` set from block attributes, means an exposed
     // block variation was inserted. So add this prop to the template
     // part entity on creation. Afterwards remove `area` value from
     // block attributes.
     const record = {
       title,
-      slug: Object(external_lodash_["kebabCase"])(title),
-      content: Object(external_wp_blocks_["serialize"])(startingBlocks),
+      slug: (0,external_lodash_namespaceObject.kebabCase)(title),
+      content: (0,external_wp_blocks_namespaceObject.serialize)(startingBlocks),
       // `area` is filterable on the server and defaults to `UNCATEGORIZED`
       // if provided value is not allowed.
       area
@@ -39264,13 +39471,13 @@ function TemplatePartPlaceholder(_ref) {
       area: undefined
     });
   }, [setAttributes, area]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, step === PLACEHOLDER_STEPS.initial && Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, step === PLACEHOLDER_STEPS.initial && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
     icon: areaIcon,
     label: areaLabel,
-    instructions: enableSelection ? Object(external_wp_i18n_["sprintf"])( // Translators: %s as template part area title ("Header", "Footer", etc.).
-    Object(external_wp_i18n_["__"])('Choose an existing %s or create a new one.'), areaLabel.toLowerCase()) : Object(external_wp_i18n_["sprintf"])( // Translators: %s as template part area title ("Header", "Footer", etc.).
-    Object(external_wp_i18n_["__"])('Create a new %s.'), areaLabel.toLowerCase())
-  }, !hasResolvedReplacements ? Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null) : Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
+    instructions: enableSelection ? (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s as template part area title ("Header", "Footer", etc.).
+    (0,external_wp_i18n_namespaceObject.__)('Choose an existing %s or create a new one.'), areaLabel.toLowerCase()) : (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s as template part area title ("Header", "Footer", etc.).
+    (0,external_wp_i18n_namespaceObject.__)('Create a new %s.'), areaLabel.toLowerCase())
+  }, !hasResolvedReplacements ? (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null) : (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
     contentClassName: "wp-block-template-part__placeholder-preview-dropdown-content",
     position: "bottom right left",
     renderToggle: _ref2 => {
@@ -39278,27 +39485,27 @@ function TemplatePartPlaceholder(_ref) {
         isOpen,
         onToggle
       } = _ref2;
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, enableSelection && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, enableSelection && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
         variant: "primary",
         onClick: onToggle,
         "aria-expanded": isOpen
-      }, Object(external_wp_i18n_["__"])('Choose existing')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+      }, (0,external_wp_i18n_namespaceObject.__)('Choose existing')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
         variant: enableSelection ? 'tertiary' : 'primary',
         onClick: () => setStep(PLACEHOLDER_STEPS.patterns)
-      }, Object(external_wp_i18n_["sprintf"])( // Translators: %s as template part area title ("Header", "Footer", etc.).
-      Object(external_wp_i18n_["__"])('New %s'), areaLabel.toLowerCase())));
+      }, (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s as template part area title ("Header", "Footer", etc.).
+      (0,external_wp_i18n_namespaceObject.__)('New %s'), areaLabel.toLowerCase())));
     },
     renderContent: _ref3 => {
       let {
         onClose
       } = _ref3;
-      return Object(external_wp_element_["createElement"])(TemplatePartSelection, {
+      return (0,external_wp_element_namespaceObject.createElement)(TemplatePartSelection, {
         setAttributes: setAttributes,
         onClose: onClose,
         area: area
       });
     }
-  })), step === PLACEHOLDER_STEPS.patterns && Object(external_wp_element_["createElement"])(PatternsSetup, {
+  })), step === PLACEHOLDER_STEPS.patterns && (0,external_wp_element_namespaceObject.createElement)(PatternsSetup, {
     area: area,
     areaLabel: areaLabel,
     areaIcon: areaIcon,
@@ -39308,7 +39515,7 @@ function TemplatePartPlaceholder(_ref) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/advanced-controls.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/advanced-controls.js


 /**
@@ -39327,11 +39534,11 @@ function TemplatePartAdvancedControls(_ref) {
     templatePartId,
     defaultWrapper
   } = _ref;
-  const [area, setArea] = Object(external_wp_coreData_["useEntityProp"])('postType', 'wp_template_part', 'area', templatePartId);
-  const [title, setTitle] = Object(external_wp_coreData_["useEntityProp"])('postType', 'wp_template_part', 'title', templatePartId);
+  const [area, setArea] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', 'wp_template_part', 'area', templatePartId);
+  const [title, setTitle] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', 'wp_template_part', 'title', templatePartId);
   const {
     areaOptions
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     // FIXME: @wordpress/block-library should not depend on @wordpress/editor.
     // Blocks can be loaded into a *non-post* block editor.
     // eslint-disable-next-line @wordpress/data-no-store-string-literals
@@ -39350,27 +39557,27 @@ function TemplatePartAdvancedControls(_ref) {
       })
     };
   }, []);
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, {
     __experimentalGroup: "advanced"
-  }, isEntityAvailable && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Title'),
+  }, isEntityAvailable && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Title'),
     value: title,
     onChange: value => {
       setTitle(value);
     },
     onFocus: event => event.target.select()
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Area'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Area'),
     labelPosition: "top",
     options: areaOptions,
     value: area,
     onChange: setArea
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('HTML element'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('HTML element'),
     options: [{
-      label: Object(external_wp_i18n_["sprintf"])(
+      label: (0,external_wp_i18n_namespaceObject.sprintf)(
       /* translators: %s: HTML tag based on area. */
-      Object(external_wp_i18n_["__"])('Default based on area (%s)'), `<${defaultWrapper}>`),
+      (0,external_wp_i18n_namespaceObject.__)('Default based on area (%s)'), `<${defaultWrapper}>`),
       value: ''
     }, {
       label: '<header>',
@@ -39401,7 +39608,7 @@ function TemplatePartAdvancedControls(_ref) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/inner-blocks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/inner-blocks.js


 /**
@@ -39419,34 +39626,34 @@ function TemplatePartInnerBlocks(_ref) {
     blockProps,
     clientId
   } = _ref;
-  const themeSupportsLayout = Object(external_wp_data_["useSelect"])(select => {
+  const themeSupportsLayout = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getSettings;

     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     return (_getSettings = getSettings()) === null || _getSettings === void 0 ? void 0 : _getSettings.supportsLayout;
   }, []);
-  const defaultLayout = Object(external_wp_blockEditor_["useSetting"])('layout') || {};
+  const defaultLayout = (0,external_wp_blockEditor_namespaceObject.useSetting)('layout') || {};
   const usedLayout = !!layout && layout.inherit ? defaultLayout : layout;
-  const [blocks, onInput, onChange] = Object(external_wp_coreData_["useEntityBlockEditor"])('postType', 'wp_template_part', {
+  const [blocks, onInput, onChange] = (0,external_wp_coreData_namespaceObject.useEntityBlockEditor)('postType', 'wp_template_part', {
     id
   });
-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])(blockProps, {
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)(blockProps, {
     value: blocks,
     onInput,
     onChange,
-    renderAppender: hasInnerBlocks ? undefined : external_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender,
+    renderAppender: hasInnerBlocks ? undefined : external_wp_blockEditor_namespaceObject.InnerBlocks.ButtonBlockAppender,
     __experimentalLayout: themeSupportsLayout ? usedLayout : undefined
   });
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBlockContentOverlay"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBlockContentOverlay, {
     clientId: clientId,
     tagName: tagName,
     wrapperProps: innerBlocksProps
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/index.js


 /**
@@ -39484,7 +39691,7 @@ function TemplatePartEdit(_ref) {
     layout = {}
   } = attributes;
   const templatePartId = createTemplatePartId(theme, slug);
-  const [hasAlreadyRendered, RecursionProvider] = Object(external_wp_blockEditor_["__experimentalUseNoRecursiveRenders"])(templatePartId); // Set the postId block attribute if it did not exist,
+  const [hasAlreadyRendered, RecursionProvider] = (0,external_wp_blockEditor_namespaceObject.__experimentalUseNoRecursiveRenders)(templatePartId); // Set the postId block attribute if it did not exist,
   // but wait until the inner blocks have loaded to allow
   // new edits to trigger this.

@@ -39496,17 +39703,17 @@ function TemplatePartEdit(_ref) {
     area,
     enableSelection,
     hasResolvedReplacements
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _select$__experimenta;

     const {
       getEditedEntityRecord,
       getEntityRecords,
       hasFinishedResolution
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const {
       getBlocks
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const getEntityArgs = ['postType', 'wp_template_part', templatePartId];
     const entityRecord = templatePartId ? getEditedEntityRecord(...getEntityArgs) : null;

@@ -39533,44 +39740,44 @@ function TemplatePartEdit(_ref) {
     return {
       innerBlocks: getBlocks(clientId),
       isResolved: hasResolvedEntity,
-      isMissing: hasResolvedEntity && Object(external_lodash_["isEmpty"])(entityRecord),
+      isMissing: hasResolvedEntity && (0,external_lodash_namespaceObject.isEmpty)(entityRecord),
       defaultWrapper: defaultWrapperElement || 'div',
       area: _area,
       enableSelection: _enableSelection,
       hasResolvedReplacements: hasFinishedResolution('getEntityRecords', availableReplacementArgs)
     };
   }, [templatePartId, clientId]);
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])();
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)();
   const isPlaceholder = !slug;
   const isEntityAvailable = !isPlaceholder && !isMissing && isResolved;
   const TagName = tagName || defaultWrapper; // We don't want to render a missing state if we have any inner blocks.
   // A new template part is automatically created if we have any inner blocks but no entity.

   if (innerBlocks.length === 0 && (slug && !theme || slug && isMissing)) {
-    return Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["sprintf"])(
+    return (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: Template part slug */
-    Object(external_wp_i18n_["__"])('Template part has been deleted or is unavailable: %s'), slug)));
+    (0,external_wp_i18n_namespaceObject.__)('Template part has been deleted or is unavailable: %s'), slug)));
   }

   if (isEntityAvailable && hasAlreadyRendered) {
-    return Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], null, Object(external_wp_i18n_["__"])('Block cannot be rendered inside itself.')));
+    return (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, null, (0,external_wp_i18n_namespaceObject.__)('Block cannot be rendered inside itself.')));
   }

-  return Object(external_wp_element_["createElement"])(RecursionProvider, null, Object(external_wp_element_["createElement"])(TemplatePartAdvancedControls, {
+  return (0,external_wp_element_namespaceObject.createElement)(RecursionProvider, null, (0,external_wp_element_namespaceObject.createElement)(TemplatePartAdvancedControls, {
     tagName: tagName,
     setAttributes: setAttributes,
     isEntityAvailable: isEntityAvailable,
     templatePartId: templatePartId,
     defaultWrapper: defaultWrapper
-  }), isPlaceholder && Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_element_["createElement"])(TemplatePartPlaceholder, {
+  }), isPlaceholder && (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_element_namespaceObject.createElement)(TemplatePartPlaceholder, {
     area: attributes.area,
     clientId: clientId,
     setAttributes: setAttributes,
     enableSelection: enableSelection,
     hasResolvedReplacements: hasResolvedReplacements
-  })), isEntityAvailable && enableSelection && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], {
+  })), isEntityAvailable && enableSelection && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, {
     className: "wp-block-template-part__block-control-group"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
     className: "wp-block-template-part__preview-dropdown-button",
     contentClassName: "wp-block-template-part__preview-dropdown-content",
     position: "bottom right left",
@@ -39579,42 +39786,79 @@ function TemplatePartEdit(_ref) {
         isOpen,
         onToggle
       } = _ref3;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
         "aria-expanded": isOpen,
         onClick: onToggle
-      }, Object(external_wp_i18n_["__"])('Replace'));
+      }, (0,external_wp_i18n_namespaceObject.__)('Replace'));
     },
     renderContent: _ref4 => {
       let {
         onClose
       } = _ref4;
-      return Object(external_wp_element_["createElement"])(TemplatePartSelection, {
+      return (0,external_wp_element_namespaceObject.createElement)(TemplatePartSelection, {
         setAttributes: setAttributes,
         onClose: onClose,
         area: area,
         templatePartId: templatePartId
       });
     }
-  }))), isEntityAvailable && Object(external_wp_element_["createElement"])(TemplatePartInnerBlocks, {
+  }))), isEntityAvailable && (0,external_wp_element_namespaceObject.createElement)(TemplatePartInnerBlocks, {
     clientId: clientId,
     tagName: TagName,
     blockProps: blockProps,
     postId: templatePartId,
     hasInnerBlocks: innerBlocks.length > 0,
     layout: layout
-  }), !isPlaceholder && !isResolved && Object(external_wp_element_["createElement"])(TagName, blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)));
+  }), !isPlaceholder && !isResolved && (0,external_wp_element_namespaceObject.createElement)(TagName, blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null)));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/header.js
-var header = __webpack_require__("G8mJ");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/header.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/footer.js
-var footer = __webpack_require__("//kF");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/sidebar.js
-var sidebar = __webpack_require__("rvQu");
+/**
+ * WordPress dependencies
+ */
+
+const header = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_header = (header);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/footer.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const footer = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  fillRule: "evenodd",
+  d: "M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_footer = (footer);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/sidebar.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/fallback-variations.js
+/**
+ * WordPress dependencies
+ */
+
+const sidebar = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_sidebar = (sidebar);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/fallback-variations.js
 /**
  * WordPress dependencies
  */
@@ -39624,18 +39868,18 @@ var sidebar = __webpack_require__("rvQu");

 const fallback_variations_fallbackVariations = [{
   name: 'header',
-  icon: header["a" /* default */],
-  title: Object(external_wp_i18n_["__"])('Header'),
-  description: Object(external_wp_i18n_["__"])('The Header template defines a page area that typically contains a title, logo, and main navigation.'),
+  icon: library_header,
+  title: (0,external_wp_i18n_namespaceObject.__)('Header'),
+  description: (0,external_wp_i18n_namespaceObject.__)('The Header template defines a page area that typically contains a title, logo, and main navigation.'),
   attributes: {
     area: 'header'
   },
   scope: ['inserter']
 }, {
   name: 'footer',
-  icon: footer["a" /* default */],
-  title: Object(external_wp_i18n_["__"])('Footer'),
-  description: Object(external_wp_i18n_["__"])('The Footer template defines a page area that typically contains site credits, social links, or any other combination of blocks.'),
+  icon: library_footer,
+  title: (0,external_wp_i18n_namespaceObject.__)('Footer'),
+  description: (0,external_wp_i18n_namespaceObject.__)('The Footer template defines a page area that typically contains site credits, social links, or any other combination of blocks.'),
   attributes: {
     area: 'footer'
   },
@@ -39656,13 +39900,13 @@ fallback_variations_fallbackVariations.forEach(variation => {
     // by checking the entity's `area` property.

     if (!slug) return false;
-    const entity = Object(external_wp_data_["select"])(external_wp_coreData_["store"]).getEntityRecord('postType', 'wp_template_part', `${theme}//${slug}`);
+    const entity = (0,external_wp_data_namespaceObject.select)(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', 'wp_template_part', `${theme}//${slug}`);
     return (entity === null || entity === void 0 ? void 0 : entity.area) === variationAttributes.area;
   };
 });
 /* harmony default export */ var template_part_fallback_variations = (fallback_variations_fallbackVariations);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/variations.js
 /**
  * WordPress dependencies
  */
@@ -39677,14 +39921,14 @@ fallback_variations_fallbackVariations.forEach(variation => {

 function getTemplatePartIcon(iconName) {
   if ('header' === iconName) {
-    return header["a" /* default */];
+    return library_header;
   } else if ('footer' === iconName) {
-    return footer["a" /* default */];
+    return library_footer;
   } else if ('sidebar' === iconName) {
-    return sidebar["a" /* default */];
+    return library_sidebar;
   }

-  return symbol_filled["a" /* default */];
+  return symbol_filled;
 }

 function enhanceTemplatePartVariations(settings, name) {
@@ -39713,7 +39957,7 @@ function enhanceTemplatePartVariations(settings, name) {
       // by checking the entity's `area` property.

       if (!slug) return false;
-      const entity = Object(external_wp_data_["select"])(external_wp_coreData_["store"]).getEntityRecord('postType', 'wp_template_part', `${theme}//${slug}`);
+      const entity = (0,external_wp_data_namespaceObject.select)(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', 'wp_template_part', `${theme}//${slug}`);
       return (entity === null || entity === void 0 ? void 0 : entity.area) === variationAttributes.area;
     };

@@ -39735,7 +39979,7 @@ function enhanceTemplatePartVariations(settings, name) {
   return settings;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/index.js
 /**
  * External dependencies
  */
@@ -39787,7 +40031,7 @@ const {
 } = template_part_metadata;

 const template_part_settings = {
-  icon: symbol_filled["a" /* default */],
+  icon: symbol_filled,
   __experimentalLabel: _ref => {
     var _entity$title;

@@ -39802,21 +40046,21 @@ const template_part_settings = {
       return;
     }

-    const entity = Object(external_wp_data_["select"])(external_wp_coreData_["store"]).getEntityRecord('postType', 'wp_template_part', theme + '//' + slug);
+    const entity = (0,external_wp_data_namespaceObject.select)(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', 'wp_template_part', theme + '//' + slug);

     if (!entity) {
       return;
     }

-    return Object(external_lodash_["startCase"])(((_entity$title = entity.title) === null || _entity$title === void 0 ? void 0 : _entity$title.rendered) || entity.slug);
+    return (0,external_lodash_namespaceObject.startCase)(((_entity$title = entity.title) === null || _entity$title === void 0 ? void 0 : _entity$title.rendered) || entity.slug);
   },
   edit: TemplatePartEdit
 }; // Importing this file includes side effects. This is whitelisted in block-library/package.json under sideEffects

-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/template-part', enhanceTemplatePartVariations); // Prevent adding template parts inside post templates.
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/template-part', enhanceTemplatePartVariations); // Prevent adding template parts inside post templates.

 const DISALLOWED_PARENTS = ['core/post-template', 'core/post-content'];
-Object(external_wp_hooks_["addFilter"])('blockEditor.__unstableCanInsertBlockType', 'removeTemplatePartsFromPostTemplates', (can, blockType, rootClientId, _ref2) => {
+(0,external_wp_hooks_namespaceObject.addFilter)('blockEditor.__unstableCanInsertBlockType', 'removeTemplatePartsFromPostTemplates', (can, blockType, rootClientId, _ref2) => {
   let {
     getBlock,
     getBlockParentsByBlockName
@@ -39839,27 +40083,27 @@ Object(external_wp_hooks_["addFilter"])('blockEditor.__unstableCanInsertBlockTyp
   return true;
 });

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/term-description.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/term-description.js


 /**
  * WordPress dependencies
  */

-const term_description_tag = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const term_description_tag = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   stroke: "#1E1E1E",
   strokeWidth: "1.5",
   d: "M9 19.25h6M4 19.25h4M12 15.25h8M4 15.25h7"
-}), Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",
   fill: "#1E1E1E"
 }));
 /* harmony default export */ var term_description = (term_description_tag);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/term-description/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/term-description/edit.js


 /**
@@ -39881,27 +40125,27 @@ function TermDescriptionEdit(_ref) {
   const {
     textAlign
   } = attributes;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     }),
     style: mergedStyle
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["AlignmentControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentControl, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])("div", {
+  })), (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-term-description__placeholder"
-  }, Object(external_wp_element_["createElement"])("span", null, Object(external_wp_i18n_["__"])('Term Description')))));
+  }, (0,external_wp_element_namespaceObject.createElement)("span", null, (0,external_wp_i18n_namespaceObject.__)('Term Description')))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/term-description/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/term-description/index.js
 /**
  * WordPress dependencies
  */
@@ -39948,11 +40192,10 @@ const term_description_settings = {
   edit: TermDescriptionEdit
 };

-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/edit.js
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/edit.js


 /**
@@ -39981,14 +40224,14 @@ function TextColumnsEdit(_ref) {
     since: '5.3',
     alternative: 'the Columns block'
   });
-  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_blockEditor_["BlockAlignmentToolbar"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockAlignmentToolbar, {
     value: width,
     onChange: nextWidth => setAttributes({
       width: nextWidth
     }),
     controls: ['center', 'wide', 'full']
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], null, Object(external_wp_element_["createElement"])(external_wp_components_["RangeControl"], {
-    label: Object(external_wp_i18n_["__"])('Columns'),
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.RangeControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Columns'),
     value: columns,
     onChange: value => setAttributes({
       columns: value
@@ -39996,15 +40239,15 @@ function TextColumnsEdit(_ref) {
     min: 2,
     max: 4,
     required: true
-  }))), Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])({
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: `align${width} columns-${columns}`
-  }), Object(external_lodash_["times"])(columns, index => {
-    return Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_lodash_namespaceObject.times)(columns, index => {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "wp-block-column",
       key: `column-${index}`
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
       tagName: "p",
-      value: Object(external_lodash_["get"])(content, [index, 'children']),
+      value: (0,external_lodash_namespaceObject.get)(content, [index, 'children']),
       onChange: nextContent => {
         setAttributes({
           content: [...content.slice(0, index), {
@@ -40012,14 +40255,14 @@ function TextColumnsEdit(_ref) {
           }, ...content.slice(index + 1)]
         });
       },
-      "aria-label": Object(external_wp_i18n_["sprintf"])( // translators: %d: column index (starting with 1)
-      Object(external_wp_i18n_["__"])('Column %d text'), index + 1),
-      placeholder: Object(external_wp_i18n_["__"])('New Column')
+      "aria-label": (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %d: column index (starting with 1)
+      (0,external_wp_i18n_namespaceObject.__)('Column %d text'), index + 1),
+      placeholder: (0,external_wp_i18n_namespaceObject.__)('New Column')
     }));
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/save.js


 /**
@@ -40040,18 +40283,18 @@ function text_columns_save_save(_ref) {
     content,
     columns
   } = attributes;
-  return Object(external_wp_element_["createElement"])("div", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("div", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className: `align${width} columns-${columns}`
-  }), Object(external_lodash_["times"])(columns, index => Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_lodash_namespaceObject.times)(columns, index => (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-column",
     key: `column-${index}`
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "p",
-    value: Object(external_lodash_["get"])(content, [index, 'children'])
+    value: (0,external_lodash_namespaceObject.get)(content, [index, 'children'])
   }))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/transforms.js
 /**
  * WordPress dependencies
  */
@@ -40067,7 +40310,7 @@ const text_columns_transforms_transforms = {
         content,
         width
       } = _ref;
-      return Object(external_wp_blocks_["createBlock"])('core/columns', {
+      return (0,external_wp_blocks_namespaceObject.createBlock)('core/columns', {
         align: 'wide' === width || 'full' === width ? width : undefined,
         className,
         columns
@@ -40075,7 +40318,7 @@ const text_columns_transforms_transforms = {
         let {
           children
         } = _ref2;
-        return Object(external_wp_blocks_["createBlock"])('core/column', {}, [Object(external_wp_blocks_["createBlock"])('core/paragraph', {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/column', {}, [(0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {
           content: children
         })]);
       }));
@@ -40084,7 +40327,7 @@ const text_columns_transforms_transforms = {
 };
 /* harmony default export */ var text_columns_transforms = (text_columns_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/text-columns/index.js
 /**
  * Internal dependencies
  */
@@ -40149,22 +40392,22 @@ const text_columns_settings = {
   save: text_columns_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/verse.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/verse.js


 /**
  * WordPress dependencies
  */

-const verse = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const verse = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"
 }));
 /* harmony default export */ var library_verse = (verse);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/deprecated.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/deprecated.js


 /**
@@ -40202,7 +40445,7 @@ const verse_deprecated_v1 = {
       textAlign,
       content
     } = attributes;
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       tagName: "pre",
       style: {
         textAlign
@@ -40252,9 +40495,9 @@ const verse_deprecated_v2 = {
     const className = classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     });
-    return Object(external_wp_element_["createElement"])("pre", external_wp_blockEditor_["useBlockProps"].save({
+    return (0,external_wp_element_namespaceObject.createElement)("pre", external_wp_blockEditor_namespaceObject.useBlockProps.save({
       className
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
       value: content
     }));
   },
@@ -40282,7 +40525,7 @@ const verse_deprecated_v2 = {

 /* harmony default export */ var verse_deprecated = ([verse_deprecated_v2, verse_deprecated_v1]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/edit.js



@@ -40308,20 +40551,20 @@ function VerseEdit(_ref) {
     textAlign,
     content
   } = attributes;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       [`has-text-align-${textAlign}`]: textAlign
     }),
     style
   });
-  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_blockEditor_["AlignmentToolbar"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.AlignmentToolbar, {
     value: textAlign,
     onChange: nextAlign => {
       setAttributes({
         textAlign: nextAlign
       });
     }
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], Object(esm_extends["a" /* default */])({
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, _extends({
     tagName: "pre",
     identifier: "content",
     preserveWhiteSpace: true,
@@ -40331,8 +40574,8 @@ function VerseEdit(_ref) {
         content: nextContent
       });
     },
-    "aria-label": Object(external_wp_i18n_["__"])('Verse text'),
-    placeholder: Object(external_wp_i18n_["__"])('Write verse…'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Verse text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Write verse…'),
     onRemove: onRemove,
     onMerge: mergeBlocks,
     textAlign: textAlign
@@ -40341,7 +40584,7 @@ function VerseEdit(_ref) {
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/save.js


 /**
@@ -40364,14 +40607,14 @@ function verse_save_save(_ref) {
   const className = classnames_default()({
     [`has-text-align-${textAlign}`]: textAlign
   });
-  return Object(external_wp_element_["createElement"])("pre", external_wp_blockEditor_["useBlockProps"].save({
+  return (0,external_wp_element_namespaceObject.createElement)("pre", external_wp_blockEditor_namespaceObject.useBlockProps.save({
     className
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     value: content
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/transforms.js
 /**
  * WordPress dependencies
  */
@@ -40380,17 +40623,17 @@ const verse_transforms_transforms = {
   from: [{
     type: 'block',
     blocks: ['core/paragraph'],
-    transform: attributes => Object(external_wp_blocks_["createBlock"])('core/verse', attributes)
+    transform: attributes => (0,external_wp_blocks_namespaceObject.createBlock)('core/verse', attributes)
   }],
   to: [{
     type: 'block',
     blocks: ['core/paragraph'],
-    transform: attributes => Object(external_wp_blocks_["createBlock"])('core/paragraph', attributes)
+    transform: attributes => (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', attributes)
   }]
 };
 /* harmony default export */ var verse_transforms = (verse_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/verse/index.js
 /**
  * WordPress dependencies
  */
@@ -40461,7 +40704,7 @@ const verse_settings = {
     attributes: {
       /* eslint-disable @wordpress/i18n-no-collapsible-whitespace */
       // translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work.
-      content: Object(external_wp_i18n_["__"])('WHAT was he doing, the great god Pan,\n	Down in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n    With the dragon-fly on the river.')
+      content: (0,external_wp_i18n_namespaceObject.__)('WHAT was he doing, the great god Pan,\n	Down in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n    With the dragon-fly on the river.')
       /* eslint-enable @wordpress/i18n-no-collapsible-whitespace */

     }
@@ -40479,22 +40722,22 @@ const verse_settings = {
   save: verse_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/video.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/video.js


 /**
  * WordPress dependencies
  */

-const video = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const video = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
 }));
 /* harmony default export */ var library_video = (video);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit-common-settings.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit-common-settings.js


 /**
@@ -40505,13 +40748,13 @@ const video = Object(external_wp_element_["createElement"])(external_wp_primitiv

 const options = [{
   value: 'auto',
-  label: Object(external_wp_i18n_["__"])('Auto')
+  label: (0,external_wp_i18n_namespaceObject.__)('Auto')
 }, {
   value: 'metadata',
-  label: Object(external_wp_i18n_["__"])('Metadata')
+  label: (0,external_wp_i18n_namespaceObject.__)('Metadata')
 }, {
   value: 'none',
-  label: Object(external_wp_i18n_["_x"])('None', 'Preload value')
+  label: (0,external_wp_i18n_namespaceObject._x)('None', 'Preload value')
 }];

 const VideoSettings = _ref => {
@@ -40528,15 +40771,15 @@ const VideoSettings = _ref => {
     preload
   } = attributes;

-  const autoPlayHelpText = Object(external_wp_i18n_["__"])('Autoplay may cause usability issues for some users.');
+  const autoPlayHelpText = (0,external_wp_i18n_namespaceObject.__)('Autoplay may cause usability issues for some users.');

-  const getAutoplayHelp = external_wp_element_["Platform"].select({
-    web: Object(external_wp_element_["useCallback"])(checked => {
+  const getAutoplayHelp = external_wp_element_namespaceObject.Platform.select({
+    web: (0,external_wp_element_namespaceObject.useCallback)(checked => {
       return checked ? autoPlayHelpText : null;
     }, []),
     native: autoPlayHelpText
   });
-  const toggleFactory = Object(external_wp_element_["useMemo"])(() => {
+  const toggleFactory = (0,external_wp_element_namespaceObject.useMemo)(() => {
     const toggleAttribute = attribute => {
       return newValue => {
         setAttributes({
@@ -40553,34 +40796,34 @@ const VideoSettings = _ref => {
       playsInline: toggleAttribute('playsInline')
     };
   }, []);
-  const onChangePreload = Object(external_wp_element_["useCallback"])(value => {
+  const onChangePreload = (0,external_wp_element_namespaceObject.useCallback)(value => {
     setAttributes({
       preload: value
     });
   }, []);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Autoplay'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Autoplay'),
     onChange: toggleFactory.autoplay,
     checked: autoplay,
     help: getAutoplayHelp
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Loop'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Loop'),
     onChange: toggleFactory.loop,
     checked: loop
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Muted'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Muted'),
     onChange: toggleFactory.muted,
     checked: muted
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Playback controls'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Playback controls'),
     onChange: toggleFactory.controls,
     checked: controls
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    label: Object(external_wp_i18n_["__"])('Play inline'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Play inline'),
     onChange: toggleFactory.playsInline,
     checked: playsInline
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Preload'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Preload'),
     value: preload,
     onChange: onChangePreload,
     options: options,
@@ -40590,10 +40833,22 @@ const VideoSettings = _ref => {

 /* harmony default export */ var edit_common_settings = (VideoSettings);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/media.js
-var library_media = __webpack_require__("rH4q");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/media.js
+
+
+/**
+ * WordPress dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/tracks-editor.js
+const media = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_media = (media);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/tracks-editor.js


 /**
@@ -40609,28 +40864,28 @@ var library_media = __webpack_require__("rH4q");
 const ALLOWED_TYPES = ['text/vtt'];
 const DEFAULT_KIND = 'subtitles';
 const KIND_OPTIONS = [{
-  label: Object(external_wp_i18n_["__"])('Subtitles'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Subtitles'),
   value: 'subtitles'
 }, {
-  label: Object(external_wp_i18n_["__"])('Captions'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Captions'),
   value: 'captions'
 }, {
-  label: Object(external_wp_i18n_["__"])('Descriptions'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Descriptions'),
   value: 'descriptions'
 }, {
-  label: Object(external_wp_i18n_["__"])('Chapters'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Chapters'),
   value: 'chapters'
 }, {
-  label: Object(external_wp_i18n_["__"])('Metadata'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Metadata'),
   value: 'metadata'
 }];
-const captionIcon = Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+const captionIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
   width: "18",
   height: "14",
   viewBox: "0 0 18 14",
   role: "img",
   fill: "none"
-}, Object(external_wp_element_["createElement"])(external_wp_components_["Rect"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Rect, {
   x: "0.75",
   y: "0.75",
   width: "16.5",
@@ -40639,11 +40894,11 @@ const captionIcon = Object(external_wp_element_["createElement"])(external_wp_co
   stroke: "black",
   strokeWidth: "1.5",
   fill: "none"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M3 7H15",
   stroke: "black",
   strokeWidth: "1.5"
-}), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+}), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
   d: "M3 10L15 10",
   stroke: "black",
   strokeWidth: "1.5"
@@ -40657,26 +40912,26 @@ function TrackList(_ref) {
   let content;

   if (tracks.length === 0) {
-    content = Object(external_wp_element_["createElement"])("p", {
+    content = (0,external_wp_element_namespaceObject.createElement)("p", {
       className: "block-library-video-tracks-editor__tracks-informative-message"
-    }, Object(external_wp_i18n_["__"])('Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.'));
+    }, (0,external_wp_i18n_namespaceObject.__)('Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.'));
   } else {
     content = tracks.map((track, index) => {
-      return Object(external_wp_element_["createElement"])("div", {
+      return (0,external_wp_element_namespaceObject.createElement)("div", {
         key: index,
         className: "block-library-video-tracks-editor__track-list-track"
-      }, Object(external_wp_element_["createElement"])("span", null, track.label, " "), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+      }, (0,external_wp_element_namespaceObject.createElement)("span", null, track.label, " "), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
         variant: "tertiary",
         onClick: () => onEditPress(index),
-        "aria-label": Object(external_wp_i18n_["sprintf"])(
+        "aria-label": (0,external_wp_i18n_namespaceObject.sprintf)(
         /* translators: %s: Label of the video text track e.g: "French subtitles" */
-        Object(external_wp_i18n_["__"])('Edit %s'), track.label)
-      }, Object(external_wp_i18n_["__"])('Edit')));
+        (0,external_wp_i18n_namespaceObject.__)('Edit %s'), track.label)
+      }, (0,external_wp_i18n_namespaceObject.__)('Edit')));
     });
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Text tracks'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Text tracks'),
     className: "block-library-video-tracks-editor__track-list"
   }, content);
 }
@@ -40694,14 +40949,14 @@ function SingleTrackEditor(_ref2) {
     srcLang = '',
     kind = DEFAULT_KIND
   } = track;
-  const fileName = src.startsWith('blob:') ? '' : Object(external_wp_url_["getFilename"])(src) || '';
-  return Object(external_wp_element_["createElement"])(external_wp_components_["NavigableMenu"], null, Object(external_wp_element_["createElement"])("div", {
+  const fileName = src.startsWith('blob:') ? '' : (0,external_wp_url_namespaceObject.getFilename)(src) || '';
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NavigableMenu, null, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-library-video-tracks-editor__single-track-editor"
-  }, Object(external_wp_element_["createElement"])("span", {
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
     className: "block-library-video-tracks-editor__single-track-editor-edit-track-label"
-  }, Object(external_wp_i18n_["__"])('Edit track')), Object(external_wp_element_["createElement"])("span", null, Object(external_wp_i18n_["__"])('File'), ": ", Object(external_wp_element_["createElement"])("b", null, fileName)), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_i18n_namespaceObject.__)('Edit track')), (0,external_wp_element_namespaceObject.createElement)("span", null, (0,external_wp_i18n_namespaceObject.__)('File'), ": ", (0,external_wp_element_namespaceObject.createElement)("b", null, fileName)), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-library-video-tracks-editor__single-track-editor-label-language"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"]
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl
   /* eslint-disable jsx-a11y/no-autofocus */
   , {
     autoFocus: true
@@ -40710,36 +40965,36 @@ function SingleTrackEditor(_ref2) {
     onChange: newLabel => onChange({ ...track,
       label: newLabel
     }),
-    label: Object(external_wp_i18n_["__"])('Label'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Label'),
     value: label,
-    help: Object(external_wp_i18n_["__"])('Title of track')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
+    help: (0,external_wp_i18n_namespaceObject.__)('Title of track')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
     onChange: newSrcLang => onChange({ ...track,
       srcLang: newSrcLang
     }),
-    label: Object(external_wp_i18n_["__"])('Source language'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Source language'),
     value: srcLang,
-    help: Object(external_wp_i18n_["__"])('Language tag (en, fr, etc.)')
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
+    help: (0,external_wp_i18n_namespaceObject.__)('Language tag (en, fr, etc.)')
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
     className: "block-library-video-tracks-editor__single-track-editor-kind-select",
     options: KIND_OPTIONS,
     value: kind,
-    label: Object(external_wp_i18n_["__"])('Kind'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Kind'),
     onChange: newKind => {
       onChange({ ...track,
         kind: newKind
       });
     }
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "block-library-video-tracks-editor__single-track-editor-buttons-container"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "secondary",
     onClick: () => {
       const changes = {};
       let hasChanges = false;

       if (label === '') {
-        changes.label = Object(external_wp_i18n_["__"])('English');
+        changes.label = (0,external_wp_i18n_namespaceObject.__)('English');
         hasChanges = true;
       }

@@ -40761,11 +41016,11 @@ function SingleTrackEditor(_ref2) {

       onClose();
     }
-  }, Object(external_wp_i18n_["__"])('Close')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Close')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     isDestructive: true,
     variant: "link",
     onClick: onRemove
-  }, Object(external_wp_i18n_["__"])('Remove track')))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Remove track')))));
 }

 function TracksEditor(_ref3) {
@@ -40773,24 +41028,24 @@ function TracksEditor(_ref3) {
     tracks = [],
     onChange
   } = _ref3;
-  const mediaUpload = Object(external_wp_data_["useSelect"])(select => {
-    return select(external_wp_blockEditor_["store"]).getSettings().mediaUpload;
+  const mediaUpload = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(external_wp_blockEditor_namespaceObject.store).getSettings().mediaUpload;
   }, []);
-  const [trackBeingEdited, setTrackBeingEdited] = Object(external_wp_element_["useState"])(null);
+  const [trackBeingEdited, setTrackBeingEdited] = (0,external_wp_element_namespaceObject.useState)(null);

   if (!mediaUpload) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
     contentClassName: "block-library-video-tracks-editor",
     renderToggle: _ref4 => {
       let {
         isOpen,
         onToggle
       } = _ref4;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-        label: Object(external_wp_i18n_["__"])('Text tracks'),
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+        label: (0,external_wp_i18n_namespaceObject.__)('Text tracks'),
         showTooltip: true,
         "aria-expanded": isOpen,
         "aria-haspopup": "true",
@@ -40802,7 +41057,7 @@ function TracksEditor(_ref3) {
       let {} = _ref5;

       if (trackBeingEdited !== null) {
-        return Object(external_wp_element_["createElement"])(SingleTrackEditor, {
+        return (0,external_wp_element_namespaceObject.createElement)(SingleTrackEditor, {
           track: tracks[trackBeingEdited],
           onChange: newTrack => {
             const newTracks = [...tracks];
@@ -40817,13 +41072,13 @@ function TracksEditor(_ref3) {
         });
       }

-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["NavigableMenu"], null, Object(external_wp_element_["createElement"])(TrackList, {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NavigableMenu, null, (0,external_wp_element_namespaceObject.createElement)(TrackList, {
         tracks: tracks,
         onEditPress: setTrackBeingEdited
-      }), Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
+      }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
         className: "block-library-video-tracks-editor__add-tracks-container",
-        label: Object(external_wp_i18n_["__"])('Add tracks')
-      }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUpload"], {
+        label: (0,external_wp_i18n_namespaceObject.__)('Add tracks')
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUpload, {
         onSelect: _ref6 => {
           let {
             url
@@ -40839,12 +41094,12 @@ function TracksEditor(_ref3) {
           let {
             open
           } = _ref7;
-          return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-            icon: library_media["a" /* default */],
+          return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+            icon: library_media,
             onClick: open
-          }, Object(external_wp_i18n_["__"])('Open Media Library'));
+          }, (0,external_wp_i18n_namespaceObject.__)('Open Media Library'));
         }
-      }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUploadCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["FormFileUpload"], {
+      }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUploadCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FormFileUpload, {
         onChange: event => {
           const files = event.target.files;
           const trackIndex = tracks.length;
@@ -40874,19 +41129,19 @@ function TracksEditor(_ref3) {
           let {
             openFileDialog
           } = _ref9;
-          return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-            icon: upload["a" /* default */],
+          return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+            icon: library_upload,
             onClick: () => {
               openFileDialog();
             }
-          }, Object(external_wp_i18n_["__"])('Upload'));
+          }, (0,external_wp_i18n_namespaceObject.__)('Upload'));
         }
       })))));
     }
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/tracks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/tracks.js


 function Tracks(_ref) {
@@ -40894,13 +41149,13 @@ function Tracks(_ref) {
     tracks = []
   } = _ref;
   return tracks.map(track => {
-    return Object(external_wp_element_["createElement"])("track", Object(esm_extends["a" /* default */])({
+    return (0,external_wp_element_namespaceObject.createElement)("track", _extends({
       key: track.src
     }, track));
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/edit.js


 /**
@@ -40942,9 +41197,9 @@ function VideoEdit(_ref) {
     onReplace,
     noticeOperations
   } = _ref;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(VideoEdit);
-  const videoPlayer = Object(external_wp_element_["useRef"])();
-  const posterImageButton = Object(external_wp_element_["useRef"])();
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(VideoEdit);
+  const videoPlayer = (0,external_wp_element_namespaceObject.useRef)();
+  const posterImageButton = (0,external_wp_element_namespaceObject.useRef)();
   const {
     id,
     caption,
@@ -40953,11 +41208,11 @@ function VideoEdit(_ref) {
     src,
     tracks
   } = attributes;
-  const isTemporaryVideo = !id && Object(external_wp_blob_["isBlobURL"])(src);
-  const mediaUpload = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).getSettings().mediaUpload);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!id && Object(external_wp_blob_["isBlobURL"])(src)) {
-      const file = Object(external_wp_blob_["getBlobByURL"])(src);
+  const isTemporaryVideo = !id && (0,external_wp_blob_namespaceObject.isBlobURL)(src);
+  const mediaUpload = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).getSettings().mediaUpload);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!id && (0,external_wp_blob_namespaceObject.isBlobURL)(src)) {
+      const file = (0,external_wp_blob_namespaceObject.getBlobByURL)(src);

       if (file) {
         mediaUpload({
@@ -40978,7 +41233,7 @@ function VideoEdit(_ref) {
       }
     }
   }, []);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // Placeholder may be rendered.
     if (videoPlayer.current) {
       videoPlayer.current.load();
@@ -41039,13 +41294,13 @@ function VideoEdit(_ref) {
   const classes = classnames_default()(className, {
     'is-transient': isTemporaryVideo
   });
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classes
   });

   if (!src) {
-    return Object(external_wp_element_["createElement"])("div", blockProps, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaPlaceholder"], {
-      icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+    return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaPlaceholder, {
+      icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
         icon: library_video
       }),
       onSelect: onSelectVideo,
@@ -41073,18 +41328,18 @@ function VideoEdit(_ref) {
   }

   const videoPosterDescription = `video-block__poster-image-description-${instanceId}`;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "block"
-  }, Object(external_wp_element_["createElement"])(TracksEditor, {
+  }, (0,external_wp_element_namespaceObject.createElement)(TracksEditor, {
     tracks: tracks,
     onChange: newTracks => {
       setAttributes({
         tracks: newTracks
       });
     }
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaReplaceFlow"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaReplaceFlow, {
     mediaId: id,
     mediaURL: src,
     allowedTypes: video_edit_ALLOWED_MEDIA_TYPES,
@@ -41092,61 +41347,61 @@ function VideoEdit(_ref) {
     onSelect: onSelectVideo,
     onSelectURL: onSelectURL,
     onError: onUploadError
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Video settings')
-  }, Object(external_wp_element_["createElement"])(edit_common_settings, {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Video settings')
+  }, (0,external_wp_element_namespaceObject.createElement)(edit_common_settings, {
     setAttributes: setAttributes,
     attributes: attributes
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUploadCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUploadCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, {
     className: "editor-video-poster-control"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"].VisualLabel, null, Object(external_wp_i18n_["__"])('Poster image')), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUpload"], {
-    title: Object(external_wp_i18n_["__"])('Select poster image'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl.VisualLabel, null, (0,external_wp_i18n_namespaceObject.__)('Poster image')), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUpload, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Select poster image'),
     onSelect: onSelectPoster,
     allowedTypes: VIDEO_POSTER_ALLOWED_MEDIA_TYPES,
     render: _ref3 => {
       let {
         open
       } = _ref3;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
         variant: "primary",
         onClick: open,
         ref: posterImageButton,
         "aria-describedby": videoPosterDescription
-      }, !poster ? Object(external_wp_i18n_["__"])('Select') : Object(external_wp_i18n_["__"])('Replace'));
+      }, !poster ? (0,external_wp_i18n_namespaceObject.__)('Select') : (0,external_wp_i18n_namespaceObject.__)('Replace'));
     }
-  }), Object(external_wp_element_["createElement"])("p", {
+  }), (0,external_wp_element_namespaceObject.createElement)("p", {
     id: videoPosterDescription,
     hidden: true
-  }, poster ? Object(external_wp_i18n_["sprintf"])(
+  }, poster ? (0,external_wp_i18n_namespaceObject.sprintf)(
   /* translators: %s: poster image URL. */
-  Object(external_wp_i18n_["__"])('The current poster image url is %s'), poster) : Object(external_wp_i18n_["__"])('There is no poster image currently selected')), !!poster && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  (0,external_wp_i18n_namespaceObject.__)('The current poster image url is %s'), poster) : (0,external_wp_i18n_namespaceObject.__)('There is no poster image currently selected')), !!poster && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     onClick: onRemovePoster,
     variant: "tertiary"
-  }, Object(external_wp_i18n_["__"])('Remove')))))), Object(external_wp_element_["createElement"])("figure", blockProps, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Remove')))))), (0,external_wp_element_namespaceObject.createElement)("figure", blockProps, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, {
     isDisabled: !isSelected
-  }, Object(external_wp_element_["createElement"])("video", {
+  }, (0,external_wp_element_namespaceObject.createElement)("video", {
     controls: controls,
     poster: poster,
     src: src,
     ref: videoPlayer
-  }, Object(external_wp_element_["createElement"])(Tracks, {
+  }, (0,external_wp_element_namespaceObject.createElement)(Tracks, {
     tracks: tracks
-  }))), isTemporaryVideo && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), (!external_wp_blockEditor_["RichText"].isEmpty(caption) || isSelected) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  }))), isTemporaryVideo && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null), (!external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) || isSelected) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     tagName: "figcaption",
-    "aria-label": Object(external_wp_i18n_["__"])('Video caption text'),
-    placeholder: Object(external_wp_i18n_["__"])('Add caption'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Video caption text'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Add caption'),
     value: caption,
     onChange: value => setAttributes({
       caption: value
     }),
     inlineToolbar: true,
-    __unstableOnSplitAtEnd: () => insertBlocksAfter(Object(external_wp_blocks_["createBlock"])('core/paragraph'))
+    __unstableOnSplitAtEnd: () => insertBlocksAfter((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph'))
   })));
 }

-/* harmony default export */ var video_edit = (Object(external_wp_components_["withNotices"])(VideoEdit));
+/* harmony default export */ var video_edit = ((0,external_wp_components_namespaceObject.withNotices)(VideoEdit));

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/save.js


 /**
@@ -41174,7 +41429,7 @@ function video_save_save(_ref) {
     playsInline,
     tracks
   } = attributes;
-  return Object(external_wp_element_["createElement"])("figure", external_wp_blockEditor_["useBlockProps"].save(), src && Object(external_wp_element_["createElement"])("video", {
+  return (0,external_wp_element_namespaceObject.createElement)("figure", external_wp_blockEditor_namespaceObject.useBlockProps.save(), src && (0,external_wp_element_namespaceObject.createElement)("video", {
     autoPlay: autoplay,
     controls: controls,
     loop: loop,
@@ -41183,15 +41438,15 @@ function video_save_save(_ref) {
     preload: preload !== 'metadata' ? preload : undefined,
     src: src,
     playsInline: playsInline
-  }, Object(external_wp_element_["createElement"])(Tracks, {
+  }, (0,external_wp_element_namespaceObject.createElement)(Tracks, {
     tracks: tracks
-  })), !external_wp_blockEditor_["RichText"].isEmpty(caption) && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  })), !external_wp_blockEditor_namespaceObject.RichText.isEmpty(caption) && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "figcaption",
     value: caption
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/transforms.js
 /**
  * WordPress dependencies
  */
@@ -41210,8 +41465,8 @@ const video_transforms_transforms = {
       // It's already done as part of the `componentDidMount`
       // in the video block

-      const block = Object(external_wp_blocks_["createBlock"])('core/video', {
-        src: Object(external_wp_blob_["createBlobURL"])(file)
+      const block = (0,external_wp_blocks_namespaceObject.createBlock)('core/video', {
+        src: (0,external_wp_blob_namespaceObject.createBlobURL)(file)
       });
       return block;
     }
@@ -41285,7 +41540,7 @@ const video_transforms_transforms = {
 };
 /* harmony default export */ var video_transforms = (video_transforms_transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/video/index.js
 /**
  * WordPress dependencies
  */
@@ -41390,7 +41645,7 @@ const video_settings = {
     attributes: {
       src: 'https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm',
       // translators: Caption accompanying a video of the wood thrush singing, which serves as an example for the Video block.
-      caption: Object(external_wp_i18n_["__"])('Wood thrush singing in Central Park, NYC.')
+      caption: (0,external_wp_i18n_namespaceObject.__)('Wood thrush singing in Central Park, NYC.')
     }
   },
   transforms: video_transforms,
@@ -41398,7 +41653,7 @@ const video_settings = {
   save: video_save_save
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/index.js
 /**
  * WordPress dependencies
  */
@@ -41508,7 +41763,7 @@ const registerBlock = block => {
     settings,
     name
   } = block;
-  Object(external_wp_blocks_["registerBlockType"])({
+  (0,external_wp_blocks_namespaceObject.registerBlockType)({
     name,
     ...metadata
   }, settings);
@@ -41528,8 +41783,8 @@ const registerBlock = block => {
 const __experimentalGetCoreBlocks = () => [// Common blocks are grouped at the top to prioritize their display
 // in various contexts — like the inserter and auto-complete components.
 build_module_paragraph_namespaceObject, build_module_image_namespaceObject, build_module_heading_namespaceObject, build_module_gallery_namespaceObject, build_module_list_namespaceObject, build_module_quote_namespaceObject, // Register all remaining core blocks.
-archives_namespaceObject, build_module_audio_namespaceObject, button_namespaceObject, build_module_buttons_namespaceObject, build_module_calendar_namespaceObject, categories_namespaceObject, window.wp && window.wp.oldEditor ? freeform_namespaceObject : null, // Only add the classic block in WP Context
-code_namespaceObject, build_module_column_namespaceObject, build_module_columns_namespaceObject, build_module_cover_namespaceObject, embed_namespaceObject, build_module_file_namespaceObject, group_namespaceObject, build_module_html_namespaceObject, latest_comments_namespaceObject, latest_posts_namespaceObject, media_text_namespaceObject, missing_namespaceObject, build_module_more_namespaceObject, nextpage_namespaceObject, page_list_namespaceObject, pattern_namespaceObject, build_module_preformatted_namespaceObject, build_module_pullquote_namespaceObject, block_namespaceObject, build_module_rss_namespaceObject, search_namespaceObject, build_module_separator_namespaceObject, build_module_shortcode_namespaceObject, social_link_namespaceObject, social_links_namespaceObject, spacer_namespaceObject, build_module_table_namespaceObject, // tableOfContents,
+archives_namespaceObject, build_module_audio_namespaceObject, build_module_button_namespaceObject, build_module_buttons_namespaceObject, build_module_calendar_namespaceObject, categories_namespaceObject, window.wp && window.wp.oldEditor ? freeform_namespaceObject : null, // Only add the classic block in WP Context
+build_module_code_namespaceObject, build_module_column_namespaceObject, build_module_columns_namespaceObject, build_module_cover_namespaceObject, embed_namespaceObject, build_module_file_namespaceObject, build_module_group_namespaceObject, build_module_html_namespaceObject, latest_comments_namespaceObject, latest_posts_namespaceObject, media_text_namespaceObject, missing_namespaceObject, build_module_more_namespaceObject, nextpage_namespaceObject, page_list_namespaceObject, pattern_namespaceObject, build_module_preformatted_namespaceObject, build_module_pullquote_namespaceObject, block_namespaceObject, build_module_rss_namespaceObject, build_module_search_namespaceObject, build_module_separator_namespaceObject, build_module_shortcode_namespaceObject, social_link_namespaceObject, social_links_namespaceObject, spacer_namespaceObject, build_module_table_namespaceObject, // tableOfContents,
 tag_cloud_namespaceObject, text_columns_namespaceObject, build_module_verse_namespaceObject, build_module_video_namespaceObject, // theme blocks
 build_module_navigation_namespaceObject, navigation_link_namespaceObject, navigation_submenu_namespaceObject, build_module_site_logo_namespaceObject, site_title_namespaceObject, site_tagline_namespaceObject, query_namespaceObject, template_part_namespaceObject, build_module_post_title_namespaceObject, build_module_post_excerpt_namespaceObject, build_module_post_featured_image_namespaceObject, build_module_post_content_namespaceObject, build_module_post_author_namespaceObject, build_module_post_date_namespaceObject, post_terms_namespaceObject, post_navigation_link_namespaceObject, post_template_namespaceObject, build_module_query_pagination_namespaceObject, build_module_query_pagination_next_namespaceObject, build_module_query_pagination_numbers_namespaceObject, build_module_query_pagination_previous_namespaceObject, build_module_post_comments_namespaceObject, loginout_namespaceObject, build_module_term_description_namespaceObject, query_title_namespaceObject];
 /**
@@ -41548,14 +41803,14 @@ build_module_navigation_namespaceObject, navigation_link_namespaceObject, naviga
 const registerCoreBlocks = function () {
   let blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : __experimentalGetCoreBlocks();
   blocks.forEach(registerBlock);
-  Object(external_wp_blocks_["setDefaultBlockName"])(paragraph_name);
+  (0,external_wp_blocks_namespaceObject.setDefaultBlockName)(paragraph_name);

   if (window.wp && window.wp.oldEditor) {
-    Object(external_wp_blocks_["setFreeformContentHandlerName"])(freeform_name);
+    (0,external_wp_blocks_namespaceObject.setFreeformContentHandlerName)(freeform_name);
   }

-  Object(external_wp_blocks_["setUnregisteredTypeHandlerName"])(missing_name);
-  Object(external_wp_blocks_["setGroupingBlockName"])(group_name);
+  (0,external_wp_blocks_namespaceObject.setUnregisteredTypeHandlerName)(missing_name);
+  (0,external_wp_blocks_namespaceObject.setGroupingBlockName)(group_name);
 };
 /**
  * Function to register experimental core blocks depending on editor settings.
@@ -41569,753 +41824,9 @@ const registerCoreBlocks = function () {
  * ```
  */

-const __experimentalRegisterExperimentalCoreBlocks =  false ? undefined : undefined;
-
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "KEfo":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["viewport"]; }());
-
-/***/ }),
-
-/***/ "Mmq9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["url"]; }());
-
-/***/ }),
-
-/***/ "Mp0b":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (linkOff);
-
-
-/***/ }),
+const __experimentalRegisterExperimentalCoreBlocks =  false ? 0 : undefined;

-/***/ "NMb1":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["deprecated"]; }());
-
-/***/ }),
-
-/***/ "NTP4":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const upload = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (upload);
-
-
-/***/ }),
-
-/***/ "OE6V":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const symbolFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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-17.6 1L10 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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (symbolFilled);
-
-
-/***/ }),
-
-/***/ "OzlF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const listView = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (listView);
-
-
-/***/ }),
-
-/***/ "RMJe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (check);
-
-
-/***/ }),
-
-/***/ "RxS6":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["keycodes"]; }());
-
-/***/ }),
-
-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */
-
-(function () {
-	'use strict';
-
-	var hasOwn = {}.hasOwnProperty;
-
-	function classNames() {
-		var classes = [];
-
-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
-
-			var argType = typeof arg;
-
-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
-
-		return classes.join(' ');
-	}
-
-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());
-
-
-/***/ }),
-
-/***/ "Tqx9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["primitives"]; }());
-
-/***/ }),
-
-/***/ "UuzZ":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["autop"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "abaT":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony default export */ __webpack_exports__["a"] = (function(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g)}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"])});
-
-
-/***/ }),
-
-/***/ "axFQ":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blockEditor"]; }());
-
-/***/ }),
-
-/***/ "b2RC":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const grid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",
-  fillRule: "evenodd",
-  clipRule: "evenodd"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (grid);
-
-
-/***/ }),
-
-/***/ "bWcr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (closeSmall);
-
-
-/***/ }),
-
-/***/ "btIw":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "-2 -2 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
-
-
-/***/ }),
-
-/***/ "cGtP":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const search = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (search);
-
-
-/***/ }),
-
-/***/ "diJD":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["reusableBlocks"]; }());
-
-/***/ }),
-
-/***/ "fHnH":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* unused harmony export Colord */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return w; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return k; });
-/* unused harmony export getFormat */
-/* unused harmony export random */
-var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);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(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};
-
-
-/***/ }),
-
-/***/ "fPbg":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const alignLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (alignLeft);
-
-
-/***/ }),
-
-/***/ "g56x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["hooks"]; }());
-
-/***/ }),
-
-/***/ "gdqT":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["a11y"]; }());
-
-/***/ }),
-
-/***/ "iClF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * WordPress dependencies
- */
-
-/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
-
-/**
- * Return an SVG icon.
- *
- * @param {IconProps} props icon is the SVG component to render
- *                          size is a number specifiying the icon size in pixels
- *                          Other props will be passed to wrapped SVG component
- *
- * @return {JSX.Element}  Icon component
- */
-
-function Icon(_ref) {
-  let {
-    icon,
-    size = 24,
-    ...props
-  } = _ref;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
-    width: size,
-    height: size,
-    ...props
-  });
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (Icon);
-
-
-/***/ }),
-
-/***/ "jZUy":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["coreData"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "mi6C":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const settings = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (settings);
-
-
-/***/ }),
-
-/***/ "oMoS":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const button = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (button);
-
-
-/***/ }),
-
-/***/ "onLe":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["notices"]; }());
-
-/***/ }),
-
-/***/ "plpT":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const alignCenter = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (alignCenter);
-
-
-/***/ }),
-
-/***/ "qRz9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["richText"]; }());
-
-/***/ }),
-
-/***/ "rH4q":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const media = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (media);
-
-
-/***/ }),
-
-/***/ "rmEH":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["htmlEntities"]; }());
-
-/***/ }),
-
-/***/ "rvQu":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const sidebar = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (sidebar);
-
-
-/***/ }),
-
-/***/ "tI+e":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["components"]; }());
-
-/***/ }),
-
-/***/ "u6za":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const group = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (group);
-
-
-/***/ }),
-
-/***/ "w95h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (close);
-
-
-/***/ }),
-
-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
-
-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
-
-    return target;
-  };
-
-  return _extends.apply(this, arguments);
-}
-
-/***/ }),
-
-/***/ "wy2R":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["moment"]; }());
-
-/***/ }),
-
-/***/ "xTGt":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blob"]; }());
-
-/***/ }),
-
-/***/ "ziDm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const alignRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (alignRight);
-
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).blockLibrary = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/block-library.min.js b/wp-includes/js/dist/block-library.min.js
index 650922a8d1..f012f70b52 100644
--- a/wp-includes/js/dist/block-library.min.js
+++ b/wp-includes/js/dist/block-library.min.js
@@ -1,14 +1,14 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.blockLibrary=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="K51g")}({"+WrK":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},"//kF":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},"1CF3":function(e,t){e.exports=window.wp.dom},"1Yn1":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));t.a=a},"1ZqX":function(e,t){e.exports=window.wp.data},"1iEr":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},"2gm7":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},"4eJC":function(e,t,n){e.exports=function(e,t){var n,o,r=0;function a(){var a,l,c=n,i=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(l=0;l<i;l++)if(c.args[l]!==arguments[l]){c=c.next;continue e}return c!==n&&(c===o&&(o=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=n,c.prev=null,n.prev=c,n=c),c.val}c=c.next}for(a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return c={args:a,val:e.apply(null,a)},n?(n.prev=c,c.next=n):o=c,r===t.maxSize?(o=o.prev).next=null:r++,n=c,c.val}return t=t||{},a.clear=function(){n=null,o=null,r=0},a}},"A/WM":function(e,t,n){var o;
+!function(){var e={3827:function(e,t){var n;
 /*!
   Copyright (c) 2018 Jed Watson.
   Licensed under the MIT License (MIT), see
   http://jedwatson.github.io/classnames
-*/!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,o=0;o<n;++o)r(e,t[o])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var o=/\s+/;function r(e,r){if(r){var a=typeof r;"string"===a?function(e,t){for(var n=t.split(o),r=n.length,a=0;a<r;++a)e[n[a]]=!0}(e,r):Array.isArray(r)?t(e,r):"object"===a?function(e,t){if(t.toString===Object.prototype.toString)for(var o in t)n.call(t,o)&&(e[o]=!!t[o]);else e[t.toString()]=!0}(e,r):"number"===a&&function(e,t){e[t]=!0}(e,r)}}return function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];var a=new e;t(a,o);var l=[];for(var c in a)a[c]&&l.push(c);return l.join(" ")}}();e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},B9Az:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");var a=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=a},Bpkj:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},Civd:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},FEKF:function(e,t,n){
-/*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
-e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==c.return||c.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}return function(){function n(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n)}var o,r,a;return o=n,(r=[{key:"getColorAsync",value:function(e,t,n){e.complete?t.call(e,this.getColor(e,n),n&&n.data):this._bindImageEvents(e,t,n)}},{key:"getColor",value:function(e,t){t=t||{};var n=this._getDefaultColor(t),o=this._getOriginalSize(e),r=this._prepareSizeAndPosition(o,t),a=null,l=n;if(!(r.srcWidth&&r.srcHeight&&r.destWidth&&r.destHeight))return this._prepareResult(n,new Error("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))return this._prepareResult(n,new Error("FastAverageColor: Canvas Context 2D is not supported in this browser."));this._canvas.width=r.destWidth,this._canvas.height=r.destHeight;try{this._ctx.clearRect(0,0,r.destWidth,r.destHeight),this._ctx.drawImage(e,r.srcLeft,r.srcTop,r.srcWidth,r.srcHeight,0,0,r.destWidth,r.destHeight);var c=this._ctx.getImageData(0,0,r.destWidth,r.destHeight).data;l=this.getColorFromArray4(c,t)}catch(e){a=e}return this._prepareResult(l,a)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};var n=e.length;if(n<4)return this._getDefaultColor(t);var o=n-n%4,r=4*(t.step||1),a="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeof this[a])throw new Error("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));return this[a](e,o,r)}},{key:"destroy",value:function(){delete this._canvas,delete this._ctx}},{key:"_getDefaultColor",value:function(e){return this._getOption(e,"defaultColor",[255,255,255,255])}},{key:"_getOption",value:function(e,t,n){return void 0===e[t]?n:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){var n,o=this._getOption(t,"left",0),r=this._getOption(t,"top",0),a=this._getOption(t,"width",e.width),l=this._getOption(t,"height",e.height),c=a,i=l;return"precision"===t.mode||(a>l?(n=a/l,c=100,i=Math.round(c/n)):(n=l/a,i=100,c=Math.round(i/n)),(c>a||i>l||c<10||i<10)&&(c=a,i=l)),{srcLeft:o,srcTop:r,srcWidth:a,srcHeight:l,destWidth:c,destHeight:i}}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,l=0,c=0,i=0;i<t;i+=n){var s=e[i+3];o+=e[i]*s,r+=e[i+1]*s,a+=e[i+2]*s,l+=s,c++}return l?[Math.round(o/l),Math.round(r/l),Math.round(a/l),Math.round(l/c)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,l=0,c=0,i=0;i<t;i+=n){var s=e[i],u=e[i+1],m=e[i+2],d=e[i+3];o+=s*s*d,r+=u*u*d,a+=m*m*d,l+=d,c++}return l?[Math.round(Math.sqrt(o/l)),Math.round(Math.sqrt(r/l)),Math.round(Math.sqrt(a/l)),Math.round(l/c)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,n,o){for(var r={},a=0;a<n;a+=o){var l=e[a],c=e[a+1],i=e[a+2],s=e[a+3],u=Math.round(l/24)+","+Math.round(c/24)+","+Math.round(i/24);r[u]?r[u]=[r[u][0]+l*s,r[u][1]+c*s,r[u][2]+i*s,r[u][3]+s,r[u][4]+1]:r[u]=[l*s,c*s,i*s,s,1]}var m=t(Object.keys(r).map((function(e){return r[e]})).sort((function(e,t){var n=e[4],o=t[4];return n>o?-1:n===o?0:1}))[0],5),d=m[0],b=m[1],p=m[2],g=m[3],h=m[4];return g?[Math.round(d/g),Math.round(b/g),Math.round(p/g),Math.round(g/h)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var o=this,r=(n=n||{})&&n.data,a=this._getDefaultColor(n),l=function(){s(),t.call(e,o.getColor(e,n),r)},c=function(){s(),t.call(e,o._prepareResult(a,new Error("Image error")),r)},i=function(){s(),t.call(e,o._prepareResult(a,new Error("Image abort")),r)},s=function(){e.removeEventListener("load",l),e.removeEventListener("error",c),e.removeEventListener("abort",i)};e.addEventListener("load",l),e.addEventListener("error",c),e.addEventListener("abort",i)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),o=[].concat(n,e[3]/255),r=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+o.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:r,isLight:!r}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(o.prototype,r),a&&e(o,a),n}()}()},FqII:function(e,t){e.exports=window.wp.date},G8mJ:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},JREk:function(e,t){e.exports=window.wp.serverSideRender},K51g:function(e,t,n){"use strict";n.r(t),n.d(t,"__experimentalGetCoreBlocks",(function(){return Lp})),n.d(t,"registerCoreBlocks",(function(){return Vp})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return Hp}));var o={};n.r(o),n.d(o,"metadata",(function(){return xe})),n.d(o,"name",(function(){return Se})),n.d(o,"settings",(function(){return Be}));var r={};n.r(r),n.d(r,"metadata",(function(){return Je})),n.d(r,"name",(function(){return Qe})),n.d(r,"settings",(function(){return Ye}));var a={};n.r(a),n.d(a,"metadata",(function(){return vt})),n.d(a,"name",(function(){return Ot})),n.d(a,"settings",(function(){return jt}));var l={};n.r(l),n.d(l,"metadata",(function(){return St})),n.d(l,"name",(function(){return Bt})),n.d(l,"settings",(function(){return Tt}));var c={};n.r(c),n.d(c,"metadata",(function(){return Rt})),n.d(c,"name",(function(){return Lt})),n.d(c,"settings",(function(){return Vt}));var i={};n.r(i),n.d(i,"metadata",(function(){return Ft})),n.d(i,"name",(function(){return Dt})),n.d(i,"settings",(function(){return Gt}));var s={};n.r(s),n.d(s,"metadata",(function(){return $t})),n.d(s,"name",(function(){return Zt})),n.d(s,"settings",(function(){return Kt}));var u={};n.r(u),n.d(u,"metadata",(function(){return en})),n.d(u,"name",(function(){return tn})),n.d(u,"settings",(function(){return nn}));var m={};n.r(m),n.d(m,"metadata",(function(){return ln})),n.d(m,"name",(function(){return cn})),n.d(m,"settings",(function(){return sn}));var d={};n.r(d),n.d(d,"metadata",(function(){return En})),n.d(d,"name",(function(){return Cn})),n.d(d,"settings",(function(){return xn}));var b={};n.r(b),n.d(b,"metadata",(function(){return Yn})),n.d(b,"name",(function(){return Xn})),n.d(b,"settings",(function(){return eo}));var p={};n.r(p),n.d(p,"metadata",(function(){return Lo})),n.d(p,"name",(function(){return Vo})),n.d(p,"settings",(function(){return Ho}));var g={};n.r(g),n.d(g,"metadata",(function(){return Yo})),n.d(g,"name",(function(){return Xo})),n.d(g,"settings",(function(){return er}));var h={};n.r(h),n.d(h,"metadata",(function(){return Ar})),n.d(h,"name",(function(){return Fr})),n.d(h,"settings",(function(){return Dr}));var v={};n.r(v),n.d(v,"metadata",(function(){return Kr})),n.d(v,"name",(function(){return Jr})),n.d(v,"settings",(function(){return Qr}));var O={};n.r(O),n.d(O,"metadata",(function(){return ha})),n.d(O,"name",(function(){return va})),n.d(O,"settings",(function(){return Oa}));var j={};n.r(j),n.d(j,"metadata",(function(){return fa})),n.d(j,"name",(function(){return _a})),n.d(j,"settings",(function(){return ka}));var y={};n.r(y),n.d(y,"metadata",(function(){return Ra})),n.d(y,"name",(function(){return La})),n.d(y,"settings",(function(){return Va}));var f={};n.r(f),n.d(f,"metadata",(function(){return Aa})),n.d(f,"name",(function(){return Fa})),n.d(f,"settings",(function(){return Da}));var _={};n.r(_),n.d(_,"metadata",(function(){return Qa})),n.d(_,"name",(function(){return Ya})),n.d(_,"settings",(function(){return Xa}));var k={};n.r(k),n.d(k,"metadata",(function(){return dl})),n.d(k,"name",(function(){return bl})),n.d(k,"settings",(function(){return pl}));var w={};n.r(w),n.d(w,"metadata",(function(){return hl})),n.d(w,"name",(function(){return vl})),n.d(w,"settings",(function(){return Ol}));var E={};n.r(E),n.d(E,"metadata",(function(){return Ll})),n.d(E,"name",(function(){return Vl})),n.d(E,"settings",(function(){return Hl}));var C={};n.r(C),n.d(C,"metadata",(function(){return Dl})),n.d(C,"name",(function(){return Gl})),n.d(C,"settings",(function(){return Ul}));var x={};n.r(x),n.d(x,"metadata",(function(){return Zl})),n.d(x,"name",(function(){return Kl})),n.d(x,"settings",(function(){return Jl}));var S={};n.r(S),n.d(S,"metadata",(function(){return Hc})),n.d(S,"name",(function(){return Ac})),n.d(S,"settings",(function(){return Fc}));var B={};n.r(B),n.d(B,"metadata",(function(){return ni})),n.d(B,"name",(function(){return oi})),n.d(B,"settings",(function(){return ri}));var T={};n.r(T),n.d(T,"metadata",(function(){return bi})),n.d(T,"name",(function(){return pi})),n.d(T,"settings",(function(){return gi}));var N={};n.r(N),n.d(N,"metadata",(function(){return Oi})),n.d(N,"name",(function(){return ji})),n.d(N,"settings",(function(){return yi}));var z={};n.r(z),n.d(z,"metadata",(function(){return _i})),n.d(z,"name",(function(){return ki})),n.d(z,"settings",(function(){return wi}));var P={};n.r(P),n.d(P,"metadata",(function(){return zi})),n.d(P,"name",(function(){return Pi})),n.d(P,"settings",(function(){return Ii}));var I={};n.r(I),n.d(I,"metadata",(function(){return qi})),n.d(I,"name",(function(){return Wi})),n.d(I,"settings",(function(){return $i}));var M={};n.r(M),n.d(M,"metadata",(function(){return Ji})),n.d(M,"name",(function(){return Qi})),n.d(M,"settings",(function(){return Yi}));var R={};n.r(R),n.d(R,"metadata",(function(){return ts})),n.d(R,"name",(function(){return ns})),n.d(R,"settings",(function(){return os}));var L={};n.r(L),n.d(L,"metadata",(function(){return ms})),n.d(L,"name",(function(){return ds})),n.d(L,"settings",(function(){return bs}));var V={};n.r(V),n.d(V,"metadata",(function(){return hs})),n.d(V,"name",(function(){return vs})),n.d(V,"settings",(function(){return Os}));var H={};n.r(H),n.d(H,"metadata",(function(){return ys})),n.d(H,"name",(function(){return fs})),n.d(H,"settings",(function(){return _s}));var A={};n.r(A),n.d(A,"metadata",(function(){return Ns})),n.d(A,"name",(function(){return zs})),n.d(A,"settings",(function(){return Ps}));var F={};n.r(F),n.d(F,"metadata",(function(){return Vs})),n.d(F,"name",(function(){return Hs})),n.d(F,"settings",(function(){return As}));var D={};n.r(D),n.d(D,"metadata",(function(){return qs})),n.d(D,"name",(function(){return Ws})),n.d(D,"settings",(function(){return $s}));var G={};n.r(G),n.d(G,"metadata",(function(){return Js})),n.d(G,"name",(function(){return Qs})),n.d(G,"settings",(function(){return Ys}));var U={};n.r(U),n.d(U,"metadata",(function(){return eu})),n.d(U,"name",(function(){return tu})),n.d(U,"settings",(function(){return nu}));var q={};n.r(q),n.d(q,"metadata",(function(){return au})),n.d(q,"name",(function(){return lu})),n.d(q,"settings",(function(){return cu}));var W={};n.r(W),n.d(W,"metadata",(function(){return pu})),n.d(W,"name",(function(){return gu})),n.d(W,"settings",(function(){return hu}));var $={};n.r($),n.d($,"metadata",(function(){return Lu})),n.d($,"name",(function(){return Vu})),n.d($,"settings",(function(){return Hu}));var Z={};n.r(Z),n.d(Z,"metadata",(function(){return Uu})),n.d(Z,"name",(function(){return qu})),n.d(Z,"settings",(function(){return Wu}));var K={};n.r(K),n.d(K,"metadata",(function(){return Ku})),n.d(K,"name",(function(){return Ju})),n.d(K,"settings",(function(){return Qu}));var J={};n.r(J),n.d(J,"metadata",(function(){return em})),n.d(J,"name",(function(){return tm})),n.d(J,"settings",(function(){return nm}));var Q={};n.r(Q),n.d(Q,"metadata",(function(){return am})),n.d(Q,"name",(function(){return lm})),n.d(Q,"settings",(function(){return cm}));var Y={};n.r(Y),n.d(Y,"metadata",(function(){return bm})),n.d(Y,"name",(function(){return pm})),n.d(Y,"settings",(function(){return gm}));var X={};n.r(X),n.d(X,"metadata",(function(){return fm})),n.d(X,"name",(function(){return _m})),n.d(X,"settings",(function(){return km}));var ee={};n.r(ee),n.d(ee,"metadata",(function(){return xm})),n.d(ee,"name",(function(){return Sm})),n.d(ee,"settings",(function(){return Bm}));var te={};n.r(te),n.d(te,"metadata",(function(){return Nm})),n.d(te,"name",(function(){return zm})),n.d(te,"settings",(function(){return Pm}));var ne={};n.r(ne),n.d(ne,"metadata",(function(){return Fm})),n.d(ne,"name",(function(){return Dm})),n.d(ne,"settings",(function(){return Gm}));var oe={};n.r(oe),n.d(oe,"metadata",(function(){return Zm})),n.d(oe,"name",(function(){return Km})),n.d(oe,"settings",(function(){return Jm}));var re={};n.r(re),n.d(re,"metadata",(function(){return ed})),n.d(re,"name",(function(){return td})),n.d(re,"settings",(function(){return nd}));var ae={};n.r(ae),n.d(ae,"metadata",(function(){return ld})),n.d(ae,"name",(function(){return cd})),n.d(ae,"settings",(function(){return id}));var le={};n.r(le),n.d(le,"metadata",(function(){return md})),n.d(le,"name",(function(){return dd})),n.d(le,"settings",(function(){return bd}));var ce={};n.r(ce),n.d(ce,"metadata",(function(){return Od})),n.d(ce,"name",(function(){return jd})),n.d(ce,"settings",(function(){return yd}));var ie={};n.r(ie),n.d(ie,"metadata",(function(){return Sd})),n.d(ie,"name",(function(){return Bd})),n.d(ie,"settings",(function(){return Td}));var se={};n.r(se),n.d(se,"metadata",(function(){return Rd})),n.d(se,"name",(function(){return Ld})),n.d(se,"settings",(function(){return Vd}));var ue={};n.r(ue),n.d(ue,"metadata",(function(){return Wd})),n.d(ue,"name",(function(){return $d})),n.d(ue,"settings",(function(){return Zd}));var me={};n.r(me),n.d(me,"metadata",(function(){return _b})),n.d(me,"name",(function(){return kb})),n.d(me,"settings",(function(){return wb}));var de={};n.r(de),n.d(de,"metadata",(function(){return Cb})),n.d(de,"name",(function(){return xb})),n.d(de,"settings",(function(){return Sb}));var be={};n.r(be),n.d(be,"metadata",(function(){return Jb})),n.d(be,"name",(function(){return Qb})),n.d(be,"settings",(function(){return Yb}));var pe={};n.r(pe),n.d(pe,"metadata",(function(){return tp})),n.d(pe,"name",(function(){return np})),n.d(pe,"settings",(function(){return op}));var ge={};n.r(ge),n.d(ge,"metadata",(function(){return cp})),n.d(ge,"name",(function(){return ip})),n.d(ge,"settings",(function(){return sp}));var he={};n.r(he),n.d(he,"metadata",(function(){return bp})),n.d(he,"name",(function(){return pp})),n.d(he,"settings",(function(){return gp}));var ve={};n.r(ve),n.d(ve,"metadata",(function(){return Pp})),n.d(ve,"name",(function(){return Ip})),n.d(ve,"settings",(function(){return Mp}));var Oe=n("HSyU"),je=n("GRId"),ye=n("Tqx9");var fe=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"})),_e=n("tI+e"),ke=n("l3Sj"),we=n("axFQ"),Ee=n("JREk"),Ce=n.n(Ee);const xe={apiVersion:2,name:"core/archives",title:"Archives",category:"widgets",description:"Display a monthly archive of your posts.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-archives-editor"},{name:Se}=xe,Be={icon:fe,example:{},edit:function(e){let{attributes:t,setAttributes:n}=e;const{showPostCounts:o,displayAsDropdown:r}=t;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Archives settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display as dropdown"),checked:r,onChange:()=>n({displayAsDropdown:!r})}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show post counts"),checked:o,onChange:()=>n({showPostCounts:!o})}))),Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)(_e.Disabled,null,Object(je.createElement)(Ce.a,{block:"core/archives",attributes:t}))))}};var Te=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})),Ne=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save(e){let{attributes:t}=e;const{autoplay:n,caption:o,loop:r,preload:a,src:l}=t;return Object(je.createElement)("figure",null,Object(je.createElement)("audio",{controls:"controls",src:l,autoPlay:n,loop:r,preload:a}),!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:o}))}}],ze=n("xTGt"),Pe=n("1ZqX");const Ie=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}];var Me=n("YLtl"),Re=n("A/WM"),Le=n.n(Re),Ve=n("4eJC"),He=n.n(Ve);const{name:Ae}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"},Fe=e=>{var t;return null===(t=Object(Oe.getBlockVariations)(Ae))||void 0===t?void 0:t.find(t=>{let{patterns:n}=t;return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some(t=>e.match(t))}(e,n)})},De=e=>e&&e.includes('class="wp-embedded-content"'),Ge=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{preview:o,attributes:r={}}=e,{url:a,providerNameSlug:l,type:c,...i}=r;if(!a||!Object(Oe.getBlockType)(Ae))return;const s=Fe(a),u="wordpress"===l||"wp-embed"===c,m=!u&&s&&(s.attributes.providerNameSlug!==l||!l);if(m)return Object(Oe.createBlock)(Ae,{url:a,...i,...s.attributes});const d=null===(t=Object(Oe.getBlockVariations)(Ae))||void 0===t?void 0:t.find(e=>{let{name:t}=e;return"wordpress"===t});return d&&o&&De(o.html)&&!u?Object(Oe.createBlock)(Ae,{url:a,...d.attributes,...n}):void 0},Ue=e=>{if(!e)return e;const t=Ie.reduce((e,t)=>{let{className:n}=t;return e[n]=!1,e},{"wp-has-aspect-ratio":!1});return Le()(e,t)};function qe(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return Ue(t);const o=document.implementation.createHTMLDocument("");o.body.innerHTML=e;const r=o.body.querySelector("iframe");if(r&&r.height&&r.width){const e=(r.width/r.height).toFixed(2);for(let n=0;n<Ie.length;n++){const o=Ie[n];if(e>=o.ratio){return e-o.ratio>.1?Ue(t):Le()(Ue(t),o.className,"wp-has-aspect-ratio")}}}return t}const We=He()((function(e,t,n,o){let r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};const a={};let{type:l="rich"}=e;const{html:c,provider_name:i}=e,s=Object(Me.kebabCase)((i||t).toLowerCase());return De(c)&&(l="wp-embed"),(c||"photo"===l)&&(a.type=l,a.providerNameSlug=s),a.className=qe(c,n,o&&r),a})),$e=["audio"];var Ze=Object(_e.withNotices)((function(e){let{attributes:t,noticeOperations:n,setAttributes:o,onReplace:r,isSelected:a,noticeUI:l,insertBlocksAfter:c}=e;const{id:i,autoplay:s,caption:u,loop:m,preload:d,src:b}=t,p=Object(we.useBlockProps)(),g=Object(Pe.useSelect)(e=>{const{getSettings:t}=e(we.store);return t().mediaUpload},[]);function h(e){return t=>{o({[e]:t})}}function v(e){if(e!==b){const t=Ge({attributes:{url:e}});if(void 0!==t)return void r(t);o({src:e,id:void 0})}}function O(e){n.removeAllNotices(),n.createErrorNotice(e)}function j(e){e&&e.url?o({src:e.url,id:e.id}):o({src:void 0,id:void 0})}return Object(je.useEffect)(()=>{if(!i&&Object(ze.isBlobURL)(b)){const e=Object(ze.getBlobByURL)(b);e&&g({filesList:[e],onFileChange:e=>{let[{id:t,url:n}]=e;o({id:t,src:n})},onError:e=>{o({src:void 0,id:void 0}),n.createErrorNotice(e)},allowedTypes:$e})}},[]),b?Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:i,mediaURL:b,allowedTypes:$e,accept:"audio/*",onSelect:j,onSelectURL:v,onError:O})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Audio settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Autoplay"),onChange:h("autoplay"),checked:s,help:function(e){return e?Object(ke.__)("Autoplay may cause usability issues for some users."):null}}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Loop"),onChange:h("loop"),checked:m}),Object(je.createElement)(_e.SelectControl,{label:Object(ke._x)("Preload","noun; Audio block parameter"),value:d||"",onChange:e=>o({preload:e||void 0}),options:[{value:"",label:Object(ke.__)("Browser default")},{value:"auto",label:Object(ke.__)("Auto")},{value:"metadata",label:Object(ke.__)("Metadata")},{value:"none",label:Object(ke._x)("None",'"Preload" value')}]}))),Object(je.createElement)("figure",p,Object(je.createElement)(_e.Disabled,{isDisabled:!a},Object(je.createElement)("audio",{controls:"controls",src:b})),(!we.RichText.isEmpty(u)||a)&&Object(je.createElement)(we.RichText,{tagName:"figcaption","aria-label":Object(ke.__)("Audio caption text"),placeholder:Object(ke.__)("Add caption"),value:u,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>c(Object(Oe.createBlock)("core/paragraph"))}))):Object(je.createElement)("div",p,Object(je.createElement)(we.MediaPlaceholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:Te}),onSelect:j,onSelectURL:v,accept:"audio/*",allowedTypes:$e,value:t,notices:l,onError:O}))}));var Ke={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("audio/"),transform(e){const t=e[0];return Object(Oe.createBlock)("core/audio",{src:Object(ze.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:e=>{let{named:{src:t,mp3:n,m4a:o,ogg:r,wav:a,wma:l}}=e;return t||n||o||r||a||l}},loop:{type:"string",shortcode:e=>{let{named:{loop:t}}=e;return t}},autoplay:{type:"string",shortcode:e=>{let{named:{autoplay:t}}=e;return t}},preload:{type:"string",shortcode:e=>{let{named:{preload:t}}=e;return t}}}}]};const Je={apiVersion:2,name:"core/audio",title:"Audio",category:"media",description:"Embed a simple audio player.",keywords:["music","sound","podcast","recording"],textdomain:"default",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"},{name:Qe}=Je,Ye={icon:Te,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"}},transforms:Ke,deprecated:Ne,edit:Ze,save:function(e){let{attributes:t}=e;const{autoplay:n,caption:o,loop:r,preload:a,src:l}=t;return l&&Object(je.createElement)("figure",we.useBlockProps.save(),Object(je.createElement)("audio",{controls:"controls",src:l,autoPlay:n,loop:r,preload:a}),!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:o}))}};var Xe=n("oMoS"),et=n("TSYQ"),tt=n.n(et),nt=n("K9lf");const ot=e=>{if(!Object(Me.isObject)(e)||Array.isArray(e))return e;const t=Object(Me.pickBy)(Object(Me.mapValues)(e,ot),Me.identity);return Object(Me.isEmpty)(t)?void 0:t};var rt=ot,at=function(e){var t,n;if(null==e||null===(t=e.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.fontFamily)return e;const o=Object(Me.cloneDeep)(e),r=o.style.typography.fontFamily.split("|").pop();return delete o.style.typography.fontFamily,o.style=rt(o.style),{...o,fontFamily:r}};const lt=e=>{var t,n,o;const{borderRadius:r,...a}=e,l=[r,null===(t=a.style)||void 0===t||null===(n=t.border)||void 0===n?void 0:n.radius].find(e=>"number"==typeof e&&0!==e);return l?{...a,style:{...a.style,border:{...null===(o=a.style)||void 0===o?void 0:o.border,radius:l+"px"}}}:a},ct=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customGradient)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customGradient&&(t.color.gradient=e.customGradient),{...Object(Me.omit)(e,["customTextColor","customBackgroundColor","customGradient"]),style:t}},it=e=>ct(Object(Me.omit)({...e,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0},["color","textColor"])),st={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"}};var ut=[{attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:".wp-block-button__link"},save(e){var t,n;let{attributes:o,className:r}=e;const{fontSize:a,linkTarget:l,rel:c,style:i,text:s,title:u,url:m,width:d}=o;if(!s)return null;const b=Object(we.__experimentalGetBorderClassesAndStyles)(o),p=Object(we.__experimentalGetColorClassesAndStyles)(o),g=Object(we.__experimentalGetSpacingClassesAndStyles)(o),h=tt()("wp-block-button__link",p.className,b.className,{"no-border-radius":0===(null==i||null===(t=i.border)||void 0===t?void 0:t.radius)}),v={...b.style,...p.style,...g.style},O=tt()(r,{["has-custom-width wp-block-button__width-"+d]:d,"has-custom-font-size":a||(null==i||null===(n=i.typography)||void 0===n?void 0:n.fontSize)});return Object(je.createElement)("div",we.useBlockProps.save({className:O}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:h,href:m,title:u,style:v,value:s,target:l,rel:c}))},migrate:at,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},isEligible(e){var t;let{style:n}=e;return"number"==typeof(null==n||null===(t=n.border)||void 0===t?void 0:t.radius)},save(e){var t,n,o;let{attributes:r,className:a}=e;const{fontSize:l,linkTarget:c,rel:i,style:s,text:u,title:m,url:d,width:b}=r;if(!u)return null;const p=null==s||null===(t=s.border)||void 0===t?void 0:t.radius,g=Object(we.__experimentalGetColorClassesAndStyles)(r),h=tt()("wp-block-button__link",g.className,{"no-border-radius":0===(null==s||null===(n=s.border)||void 0===n?void 0:n.radius)}),v={borderRadius:p||void 0,...g.style},O=tt()(a,{["has-custom-width wp-block-button__width-"+b]:b,"has-custom-font-size":l||(null==s||null===(o=s.typography)||void 0===o?void 0:o.fontSize)});return Object(je.createElement)("div",we.useBlockProps.save({className:O}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:h,href:d,title:m,style:v,value:u,target:c,rel:i}))},migrate:Object(nt.compose)(at,lt)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save(e){let{attributes:t,className:n}=e;const{borderRadius:o,linkTarget:r,rel:a,text:l,title:c,url:i,width:s}=t,u=Object(we.__experimentalGetColorClassesAndStyles)(t),m=tt()("wp-block-button__link",u.className,{"no-border-radius":0===o}),d={borderRadius:o?o+"px":void 0,...u.style},b=tt()(n,{["has-custom-width wp-block-button__width-"+s]:s});return Object(je.createElement)("div",we.useBlockProps.save({className:b}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:m,href:i,title:c,style:d,value:l,target:r,rel:a}))},migrate:Object(nt.compose)(at,lt)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save(e){let{attributes:t,className:n}=e;const{borderRadius:o,linkTarget:r,rel:a,text:l,title:c,url:i,width:s}=t,u=Object(we.__experimentalGetColorClassesAndStyles)(t),m=tt()("wp-block-button__link",u.className,{"no-border-radius":0===o}),d={borderRadius:o?o+"px":void 0,...u.style},b=tt()(n,{["has-custom-width wp-block-button__width-"+s]:s});return Object(je.createElement)("div",we.useBlockProps.save({className:b}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:m,href:i,title:c,style:d,value:l,target:r,rel:a}))},migrate:Object(nt.compose)(at,lt)},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},save(e){let{attributes:t}=e;const{borderRadius:n,linkTarget:o,rel:r,text:a,title:l,url:c}=t,i=tt()("wp-block-button__link",{"no-border-radius":0===n}),s={borderRadius:n?n+"px":void 0};return Object(je.createElement)(we.RichText.Content,{tagName:"a",className:i,href:c,title:l,style:s,value:a,target:o,rel:r})},migrate:lt},{supports:{align:!0,alignWide:!1},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},customGradient:{type:"string"},gradient:{type:"string"}},isEligible:e=>!!e.customTextColor||!!e.customBackgroundColor||!!e.customGradient,migrate:Object(nt.compose)(lt,ct),save(e){let{attributes:t}=e;const{backgroundColor:n,borderRadius:o,customBackgroundColor:r,customTextColor:a,customGradient:l,linkTarget:c,gradient:i,rel:s,text:u,textColor:m,title:d,url:b}=t,p=Object(we.getColorClassName)("color",m),g=!l&&Object(we.getColorClassName)("background-color",n),h=Object(we.__experimentalGetGradientClass)(i),v=tt()("wp-block-button__link",{"has-text-color":m||a,[p]:p,"has-background":n||r||l||i,[g]:g,"no-border-radius":0===o,[h]:h}),O={background:l||void 0,backgroundColor:g||l||i?void 0:r,color:p?void 0:a,borderRadius:o?o+"px":void 0};return Object(je.createElement)("div",null,Object(je.createElement)(we.RichText.Content,{tagName:"a",className:v,href:b,title:d,style:O,value:u,target:c,rel:s}))}},{attributes:{...st,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}},isEligible:e=>e.className&&e.className.includes("is-style-squared"),migrate(e){let t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),lt(ct({...e,className:t||void 0,borderRadius:0}))},save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,customTextColor:r,linkTarget:a,rel:l,text:c,textColor:i,title:s,url:u}=t,m=Object(we.getColorClassName)("color",i),d=Object(we.getColorClassName)("background-color",n),b=tt()("wp-block-button__link",{"has-text-color":i||r,[m]:m,"has-background":n||o,[d]:d}),p={backgroundColor:d?void 0:o,color:m?void 0:r};return Object(je.createElement)("div",null,Object(je.createElement)(we.RichText.Content,{tagName:"a",className:b,href:u,title:s,style:p,value:c,target:a,rel:l}))}},{attributes:{...st,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},migrate:it,save(e){let{attributes:t}=e;const{url:n,text:o,title:r,backgroundColor:a,textColor:l,customBackgroundColor:c,customTextColor:i}=t,s=Object(we.getColorClassName)("color",l),u=Object(we.getColorClassName)("background-color",a),m=tt()("wp-block-button__link",{"has-text-color":l||i,[s]:s,"has-background":a||c,[u]:u}),d={backgroundColor:u?void 0:c,color:s?void 0:i};return Object(je.createElement)("div",null,Object(je.createElement)(we.RichText.Content,{tagName:"a",className:m,href:n,title:r,style:d,value:o}))}},{attributes:{...st,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save(e){let{attributes:t}=e;const{url:n,text:o,title:r,align:a,color:l,textColor:c}=t,i={backgroundColor:l,color:c};return Object(je.createElement)("div",{className:"align"+a},Object(je.createElement)(we.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:r,style:i,value:o}))},migrate:it},{attributes:{...st,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save(e){let{attributes:t}=e;const{url:n,text:o,title:r,align:a,color:l,textColor:c}=t;return Object(je.createElement)("div",{className:"align"+a,style:{backgroundColor:l}},Object(je.createElement)(we.RichText.Content,{tagName:"a",href:n,title:r,style:{color:c},value:o}))},migrate:it}],mt=n("wx14"),dt=n("RxS6"),bt=n("Bpkj"),pt=n("Mp0b");function gt(e){let{selectedWidth:t,setAttributes:n}=e;return Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Width settings")},Object(je.createElement)(_e.ButtonGroup,{"aria-label":Object(ke.__)("Button width")},[25,50,75,100].map(e=>Object(je.createElement)(_e.Button,{key:e,isSmall:!0,variant:e===t?"primary":void 0,onClick:()=>{var o;n({width:t===(o=e)?void 0:o})}},e,"%"))))}var ht=function(e){var t;const{attributes:n,setAttributes:o,className:r,isSelected:a,onReplace:l,mergeBlocks:c}=e,{linkTarget:i,placeholder:s,rel:u,style:m,text:d,url:b,width:p}=n,g=Object(je.useCallback)(e=>{o({rel:e})},[o]),h=Object(we.__experimentalUseBorderProps)(n),v=Object(we.__experimentalUseColorProps)(n),O=Object(we.__experimentalGetSpacingClassesAndStyles)(n),j=Object(je.useRef)(),y=Object(je.useRef)(),f=Object(we.useBlockProps)({ref:j,onKeyDown:function(e){if(dt.isKeyboardEvent.primary(e,"k"))C(e);else if(dt.isKeyboardEvent.primaryShift(e,"k")){var t;x(),null===(t=y.current)||void 0===t||t.focus()}}}),[_,k]=Object(je.useState)(!1),w=!!b,E="_blank"===i;function C(e){e.preventDefault(),k(!0)}function x(){o({url:void 0,linkTarget:void 0,rel:void 0}),k(!1)}return Object(je.useEffect)(()=>{a||k(!1)},[a]),Object(je.createElement)(je.Fragment,null,Object(je.createElement)("div",Object(mt.a)({},f,{className:tt()(f.className,{["has-custom-width wp-block-button__width-"+p]:p,"has-custom-font-size":f.style.fontSize})}),Object(je.createElement)(we.RichText,{ref:y,"aria-label":Object(ke.__)("Button text"),placeholder:s||Object(ke.__)("Add text…"),value:d,onChange:e=>{o({text:e.replace(/<\/?a[^>]*>/g,"")})},withoutInteractiveFormatting:!0,className:tt()(r,"wp-block-button__link",v.className,h.className,{"no-border-radius":0===(null==m||null===(t=m.border)||void 0===t?void 0:t.radius)}),style:{...h.style,...v.style,...O.style},onSplit:e=>Object(Oe.createBlock)("core/button",{...n,text:e}),onReplace:l,onMerge:c,identifier:"text"})),Object(je.createElement)(we.BlockControls,{group:"block"},!w&&Object(je.createElement)(_e.ToolbarButton,{name:"link",icon:bt.a,title:Object(ke.__)("Link"),shortcut:dt.displayShortcut.primary("k"),onClick:C}),w&&Object(je.createElement)(_e.ToolbarButton,{name:"link",icon:pt.a,title:Object(ke.__)("Unlink"),shortcut:dt.displayShortcut.primaryShift("k"),onClick:x,isActive:!0})),a&&(_||w)&&Object(je.createElement)(_e.Popover,{position:"bottom center",onClose:()=>{var e;k(!1),null===(e=y.current)||void 0===e||e.focus()},anchorRef:null==j?void 0:j.current,focusOnMount:!!_&&"firstElement"},Object(je.createElement)(we.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:b,opensInNewTab:E},onChange:e=>{let{url:t="",opensInNewTab:n}=e;o({url:t}),E!==n&&function(e){const t=e?"_blank":void 0;let n=u;t&&!u?n="noreferrer noopener":t||"noreferrer noopener"!==u||(n=void 0),o({linkTarget:t,rel:n})}(n)},onRemove:()=>{var e;x(),null===(e=y.current)||void 0===e||e.focus()},forceIsEditingLink:_})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(gt,{selectedWidth:p,setAttributes:o})),Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"advanced"},Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Link rel"),value:u||"",onChange:g})))};const vt={apiVersion:2,name:"core/button",title:"Button",category:"design",parent:["core/buttons"],description:"Prompt visitors to take action with a button-style link.",keywords:["link"],textdomain:"default",attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:".wp-block-button__link"},styles:[{name:"fill",label:"Fill",isDefault:!0},{name:"outline",label:"Outline"}],editorStyle:"wp-block-button-editor",style:"wp-block-button"},{name:Ot}=vt,jt={icon:Xe.a,example:{attributes:{className:"is-style-fill",text:Object(ke.__)("Call to Action")}},edit:ht,save:function(e){var t,n;let{attributes:o,className:r}=e;const{fontSize:a,linkTarget:l,rel:c,style:i,text:s,title:u,url:m,width:d}=o;if(!s)return null;const b=Object(we.__experimentalGetBorderClassesAndStyles)(o),p=Object(we.__experimentalGetColorClassesAndStyles)(o),g=Object(we.__experimentalGetSpacingClassesAndStyles)(o),h=tt()("wp-block-button__link",p.className,b.className,{"no-border-radius":0===(null==i||null===(t=i.border)||void 0===t?void 0:t.radius)}),v={...b.style,...p.style,...g.style},O=tt()(r,{["has-custom-width wp-block-button__width-"+d]:d,"has-custom-font-size":a||(null==i||null===(n=i.typography)||void 0===n?void 0:n.fontSize)});return Object(je.createElement)("div",we.useBlockProps.save({className:O}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:h,href:m,title:u,style:v,value:s,target:l,rel:c}))},deprecated:ut,merge:(e,t)=>{let{text:n=""}=t;return{...e,text:(e.text||"")+n}}};var yt=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M17 3H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5V6.2h-5v1.6zM17 13H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5v-1.5h-5v1.5z"}));const ft=e=>{if(e.layout)return e;const{contentJustification:t,orientation:n,...o}=e;return(t||n)&&Object.assign(o,{layout:{type:"flex",...t&&{justifyContent:t},...n&&{orientation:n}}}),o};var _t=[{attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}}},isEligible:e=>{let{contentJustification:t,orientation:n}=e;return!!t||!!n},migrate:ft,save(e){let{attributes:{contentJustification:t,orientation:n}}=e;return Object(je.createElement)("div",we.useBlockProps.save({className:tt()({["is-content-justification-"+t]:t,"is-vertical":"vertical"===n})}),Object(je.createElement)(we.InnerBlocks.Content,null))}},{supports:{align:["center","left","right"],anchor:!0},save:()=>Object(je.createElement)("div",null,Object(je.createElement)(we.InnerBlocks.Content,null)),isEligible(e){let{align:t}=e;return t&&["center","left","right"].includes(t)},migrate:e=>ft({...e,align:void 0,contentJustification:e.align})}],kt=n("qRz9");const{name:wt}={apiVersion:2,name:"core/buttons",title:"Buttons",category:"design",description:"Prompt visitors to take action with a group of button-style links.",keywords:["link"],textdomain:"default",supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"};var Et={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:e=>Object(Oe.createBlock)(wt,{},e.map(e=>Object(Oe.createBlock)("core/button",e)))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(Oe.createBlock)(wt,{},e.map(e=>{const t=Object(kt.__unstableCreateElement)(document,e.content),n=t.innerText||"",o=t.querySelector("a"),r=null==o?void 0:o.getAttribute("href");return Object(Oe.createBlock)("core/button",{text:n,url:r})})),isMatch:e=>e.every(e=>{const t=Object(kt.__unstableCreateElement)(document,e.content),n=t.innerText||"",o=t.querySelectorAll("a");return n.length<=30&&o.length<=1})}]};const Ct=[Ot];var xt=function(e){let{attributes:{layout:t={}}}=e;const n=Object(we.useBlockProps)(),o=Object(Pe.useSelect)(e=>{var t;const n=e(we.store).getSettings().__experimentalPreferredStyleVariations;return null==n||null===(t=n.value)||void 0===t?void 0:t[Ot]},[]),r=Object(we.useInnerBlocksProps)(n,{allowedBlocks:Ct,template:[[Ot,{className:o&&"is-style-"+o}]],__experimentalLayout:t,templateInsertUpdatesSelection:!0});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)("div",r))};const St={apiVersion:2,name:"core/buttons",title:"Buttons",category:"design",description:"Prompt visitors to take action with a group of button-style links.",keywords:["link"],textdomain:"default",supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"},{name:Bt}=St,Tt={icon:yt,example:{innerBlocks:[{name:"core/button",attributes:{text:Object(ke.__)("Find out more")}},{name:"core/button",attributes:{text:Object(ke.__)("Contact us")}}]},deprecated:_t,transforms:Et,edit:xt,save:function(){const e=we.useInnerBlocksProps.save(we.useBlockProps.save());return Object(je.createElement)("div",e)}};var Nt=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),zt=n("wy2R"),Pt=n.n(zt),It=n("jZUy");const Mt=He()(e=>{if(!e)return{};const t=Pt()(e);return{year:t.year(),month:t.month()+1}});const Rt={apiVersion:2,name:"core/calendar",title:"Calendar",category:"widgets",description:"A calendar of your site’s posts.",keywords:["posts","archive"],textdomain:"default",attributes:{month:{type:"integer"},year:{type:"integer"}},supports:{align:!0},style:"wp-block-calendar"},{name:Lt}=Rt,Vt={icon:Nt,example:{},edit:function(e){let{attributes:t}=e;const n=Object(we.useBlockProps)(),{date:o,hasPosts:r,hasPostsResolved:a}=Object(Pe.useSelect)(e=>{const{getEntityRecords:t,hasFinishedResolution:n}=e(It.store),o={status:"publish",per_page:1},r=t("postType","post",o),a=n("getEntityRecords",["postType","post",o]);let l;const c=e("core/editor");if(c){"post"===c.getEditedPostAttribute("type")&&(l=c.getEditedPostAttribute("date"))}return{date:l,hasPostsResolved:a,hasPosts:a&&1===(null==r?void 0:r.length)}},[]);return r?Object(je.createElement)("div",n,Object(je.createElement)(_e.Disabled,null,Object(je.createElement)(Ce.a,{block:"core/calendar",attributes:{...t,...Mt(o)}}))):Object(je.createElement)("div",n,Object(je.createElement)(_e.Placeholder,{icon:Nt,label:Object(ke.__)("Calendar")},a?Object(ke.__)("No published posts found."):Object(je.createElement)(_e.Spinner,null)))}};var Ht=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"}));var At=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(je.createElement)(ye.Path,{d:"M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z"}));const Ft={apiVersion:2,name:"core/categories",title:"Categories",category:"widgets",description:"Display a list of all categories.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1},showOnlyTopLevel:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-categories-editor",style:"wp-block-categories"},{name:Dt}=Ft,Gt={icon:Ht,example:{},edit:function e(t){let{attributes:{displayAsDropdown:n,showHierarchy:o,showPostCounts:r,showOnlyTopLevel:a},setAttributes:l}=t;const c=Object(nt.useInstanceId)(e,"blocks-category-select"),{categories:i,isRequesting:s}=Object(Pe.useSelect)(e=>{const{getEntityRecords:t,isResolving:n}=e(It.store),o={per_page:-1,hide_empty:!0,context:"view"};return a&&(o.parent=0),{categories:t("taxonomy","category",o),isRequesting:n("getEntityRecords",["taxonomy","category",o])}},[a]),u=e=>null!=i&&i.length?null===e?i:i.filter(t=>{let{parent:n}=t;return n===e}):[],m=e=>"wp-block-categories__list wp-block-categories__list-level-"+e,d=e=>t=>l({[e]:t}),b=e=>e?Object(Me.unescape)(e).trim():Object(ke.__)("(Untitled)"),p=(e,t)=>{const n=u(e.id),{id:a,link:l,count:c,name:i}=e;return Object(je.createElement)("li",{key:a},Object(je.createElement)("a",{href:l,target:"_blank",rel:"noreferrer noopener"},b(i)),r&&Object(je.createElement)("span",{className:"wp-block-categories__post-count"},` (${c})`),o&&!!n.length&&Object(je.createElement)("ul",{className:m(t+1)},n.map(e=>p(e,t+1))))},g=(e,t)=>{const{id:n,count:a,name:l}=e,c=u(n);return[Object(je.createElement)("option",{key:n},Object(Me.times)(3*t,()=>" "),b(l),r&&` (${a})`),o&&!!c.length&&c.map(e=>g(e,t+1))]};return Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Categories settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display as dropdown"),checked:n,onChange:d("displayAsDropdown")}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show post counts"),checked:r,onChange:d("showPostCounts")}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show only top level categories"),checked:a,onChange:d("showOnlyTopLevel")}),!a&&Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show hierarchy"),checked:o,onChange:d("showHierarchy")}))),s&&Object(je.createElement)(_e.Placeholder,{icon:At,label:Object(ke.__)("Categories")},Object(je.createElement)(_e.Spinner,null)),!s&&0===(null==i?void 0:i.length)&&Object(je.createElement)("p",null,Object(ke.__)("Your site does not have any posts, so there is nothing to display here at the moment.")),!s&&(null==i?void 0:i.length)>0&&(n?(()=>{const e=u(o?0:null);return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.VisuallyHidden,{as:"label",htmlFor:c},Object(ke.__)("Categories")),Object(je.createElement)("select",{id:c,className:"wp-block-categories__dropdown"},e.map(e=>g(e,0))))})():(()=>{const e=u(o?0:null);return Object(je.createElement)("ul",{className:m(0)},e.map(e=>p(e,0)))})()))}};var Ut=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"}));var qt=e=>{let{clientId:t}=e;const{replaceBlocks:n}=Object(Pe.useDispatch)(we.store),o=Object(Pe.useSelect)(e=>e(we.store).getBlock(t),[t]);return Object(je.createElement)(_e.ToolbarButton,{onClick:()=>n(o.clientId,Object(Oe.rawHandler)({HTML:Object(Oe.serialize)(o)}))},Object(ke.__)("Convert to blocks"))};const{wp:Wt}=window;const $t={apiVersion:2,name:"core/freeform",title:"Classic",category:"text",description:"Use the classic WordPress editor.",textdomain:"default",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},editorStyle:"wp-block-freeform-editor"},{name:Zt}=$t,Kt={icon:Ut,edit:function(e){let{clientId:t,attributes:{content:n},setAttributes:o,onReplace:r}=e;const{getMultiSelectedBlockClientIds:a}=Object(Pe.useSelect)(we.store),l=Object(je.useRef)(!1);return Object(je.useEffect)(()=>{if(!l.current)return;const e=window.tinymce.get("editor-"+t);(null==e?void 0:e.getContent())!==n&&e.setContent(n||"")},[n]),Object(je.useEffect)(()=>{const{baseURL:e,suffix:c}=window.wpEditorL10n.tinymce;function i(e){let t;n&&e.on("loadContent",()=>e.setContent(n)),e.on("blur",()=>{var n;t=e.selection.getBookmark(2,!0);const r=document.querySelector(".interface-interface-skeleton__content"),l=r.scrollTop;return null!==(n=a())&&void 0!==n&&n.length||o({content:e.getContent()}),e.once("focus",()=>{t&&(e.selection.moveToBookmark(t),r.scrollTop!==l&&(r.scrollTop=l))}),!1}),e.on("mousedown touchstart",()=>{t=null});const l=Object(Me.debounce)(()=>{const t=e.getContent();t!==e._lastChange&&(e._lastChange=t,o({content:t}))},250);e.on("Paste Change input Undo Redo",l),e.on("remove",l.cancel),e.on("keydown",t=>{dt.isKeyboardEvent.primary(t,"z")&&t.stopPropagation(),t.keyCode!==dt.BACKSPACE&&t.keyCode!==dt.DELETE||!function(e){const t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(r([]),t.preventDefault(),t.stopImmediatePropagation());const{altKey:n}=t;n&&t.keyCode===dt.F10&&t.stopPropagation()}),e.on("init",()=>{const t=e.getBody();t.ownerDocument.activeElement===t&&(t.blur(),e.focus())})}function s(){const{settings:e}=window.wpEditorL10n.tinymce;Wt.oldEditor.initialize("editor-"+t,{tinymce:{...e,inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-"+t,setup:i}})}function u(){"complete"===document.readyState&&s()}return l.current=!0,window.tinymce.EditorManager.overrideDefaults({base_url:e,suffix:c}),"complete"===document.readyState?s():document.addEventListener("readystatechange",u),()=>{document.removeEventListener("readystatechange",u),Wt.oldEditor.remove("editor-"+t)}},[]),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,null,Object(je.createElement)(qt,{clientId:t}))),Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)("div",{key:"toolbar",id:"toolbar-"+t,className:"block-library-classic__toolbar",onClick:function(){const e=window.tinymce.get("editor-"+t);e&&e.focus()},"data-placeholder":Object(ke.__)("Classic"),onKeyDown:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}}),Object(je.createElement)("div",{key:"editor",id:"editor-"+t,className:"wp-block-freeform block-library-rich-text__tinymce"})))},save:function(e){let{attributes:t}=e;const{content:n}=t;return Object(je.createElement)(je.RawHTML,null,n)}};var Jt=n("1Yn1");function Qt(e){return e.replace(/\[/g,"&#91;")}function Yt(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1&#47;&#47;$2")}var Xt={from:[{type:"enter",regExp:/^```$/,transform:()=>Object(Oe.createBlock)("core/code")},{type:"block",blocks:["core/html"],transform:e=>{let{content:t}=e;return Object(Oe.createBlock)("core/code",{content:t})}},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName,schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]};const en={apiVersion:2,name:"core/code",title:"Code",category:"text",description:"Display code snippets that respect your spacing and tabs.",textdomain:"default",attributes:{content:{type:"string",source:"html",selector:"code"}},supports:{anchor:!0,__experimentalSelector:".wp-block-code > code",typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:["top","bottom"],padding:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{text:!0,background:!0,gradients:!0}},style:"wp-block-code"},{name:tn}=en,nn={icon:Jt.a,example:{attributes:{content:Object(ke.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},transforms:Xt,edit:function(e){let{attributes:t,setAttributes:n,onRemove:o}=e;const r=Object(we.useBlockProps)();return Object(je.createElement)("pre",r,Object(je.createElement)(we.RichText,{tagName:"code",value:t.content,onChange:e=>n({content:e}),onRemove:o,placeholder:Object(ke.__)("Write code…"),"aria-label":Object(ke.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0}))},save:function(e){let{attributes:t}=e;return Object(je.createElement)("pre",we.useBlockProps.save(),Object(je.createElement)(we.RichText.Content,{tagName:"code",value:(n=t.content,Object(Me.flow)(Qt,Yt)(n||""))}));var n}};var on=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"}));var rn=[{attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},isEligible(e){let{width:t}=e;return isFinite(t)},migrate:e=>({...e,width:e.width+"%"}),save(e){let{attributes:t}=e;const{verticalAlignment:n,width:o}=t,r=tt()({["is-vertically-aligned-"+n]:n}),a={flexBasis:o+"%"};return Object(je.createElement)("div",{className:r,style:a},Object(je.createElement)(we.InnerBlocks.Content,null))}}];var an=function(e){let{attributes:{verticalAlignment:t,width:n,templateLock:o=!1,allowedBlocks:r},setAttributes:a,clientId:l}=e;const c=tt()("block-core-columns",{["is-vertically-aligned-"+t]:t}),i=Object(_e.__experimentalUseCustomUnits)({availableUnits:Object(we.useSetting)("spacing.units")||["%","px","em","rem","vw"]}),{columnsIds:s,hasChildBlocks:u,rootClientId:m}=Object(Pe.useSelect)(e=>{const{getBlockOrder:t,getBlockRootClientId:n}=e(we.store),o=n(l);return{hasChildBlocks:t(l).length>0,rootClientId:o,columnsIds:t(o)}},[l]),{updateBlockAttributes:d}=Object(Pe.useDispatch)(we.store),b=Number.isFinite(n)?n+"%":n,p=Object(we.useBlockProps)({className:c,style:b?{flexBasis:b}:void 0}),g=s.length,h=s.indexOf(l)+1,v=Object(ke.sprintf)(Object(ke.__)("%1$s (%2$d of %3$d)"),p["aria-label"],h,g),O=Object(we.useInnerBlocksProps)({...p,"aria-label":v},{templateLock:o,allowedBlocks:r,renderAppender:u?void 0:we.InnerBlocks.ButtonBlockAppender});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(we.BlockVerticalAlignmentToolbar,{onChange:e=>{a({verticalAlignment:e}),d(m,{verticalAlignment:null})},value:t})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Column settings")},Object(je.createElement)(_e.__experimentalUnitControl,{label:Object(ke.__)("Width"),labelPosition:"edge",__unstableInputWidth:"80px",value:n||"",onChange:e=>{e=0>parseFloat(e)?"0":e,a({width:e})},units:i}))),Object(je.createElement)("div",O))};const ln={apiVersion:2,name:"core/column",title:"Column",category:"text",parent:["core/columns"],description:"A single column within a columns block.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},width:{type:"string"},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}}}},{name:cn}=ln,sn={icon:on,edit:an,save:function(e){let{attributes:t}=e;const{verticalAlignment:n,width:o}=t,r=tt()({["is-vertically-aligned-"+n]:n});let a;if(o&&/\d/.test(o)){let e=Number.isFinite(o)?o+"%":o;if(!Number.isFinite(o)&&null!=o&&o.endsWith("%")){const t=1e12;e=Math.round(Number.parseFloat(o)*t)/t+"%"}a={flexBasis:e}}const l=we.useBlockProps.save({className:r,style:a}),c=we.useInnerBlocksProps.save(l);return Object(je.createElement)("div",c)},deprecated:rn};var un=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-4.1 1.5v10H10v-10h4.9zM5.5 17V8c0-.3.2-.5.5-.5h2.5v10H6c-.3 0-.5-.2-.5-.5zm14 0c0 .3-.2.5-.5.5h-2.6v-10H19c.3 0 .5.2.5.5v9z"}));function mn(e){let t,{doc:n}=mn;n||(n=document.implementation.createHTMLDocument(""),mn.doc=n),n.body.innerHTML=e;for(const e of n.body.firstChild.classList)if(t=e.match(/^layout-column-(\d+)$/))return Number(t[1])-1}var dn=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>{if(!e.customTextColor&&!e.customBackgroundColor)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),{...Object(Me.omit)(e,["customTextColor","customBackgroundColor"]),style:t,isStackedOnMobile:!0}},save(e){let{attributes:t}=e;const{verticalAlignment:n,backgroundColor:o,customBackgroundColor:r,textColor:a,customTextColor:l}=t,c=Object(we.getColorClassName)("background-color",o),i=Object(we.getColorClassName)("color",a),s=tt()({"has-background":o||r,"has-text-color":a||l,[c]:c,[i]:i,["are-vertically-aligned-"+n]:n}),u={backgroundColor:c?void 0:r,color:i?void 0:l};return Object(je.createElement)("div",{className:s||void 0,style:u},Object(je.createElement)(we.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},isEligible:(e,t)=>!!t.some(e=>/layout-column-\d+/.test(e.originalContent))&&t.some(e=>void 0!==mn(e.originalContent)),migrate(e,t){const n=t.reduce((e,t)=>{const{originalContent:n}=t;let o=mn(n);return void 0===o&&(o=0),e[o]||(e[o]=[]),e[o].push(t),e},[]).map(e=>Object(Oe.createBlock)("core/column",{},e));return[{...Object(Me.omit)(e,["columns"]),isStackedOnMobile:!0},n]},save(e){let{attributes:t}=e;const{columns:n}=t;return Object(je.createElement)("div",{className:`has-${n}-columns`},Object(je.createElement)(we.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:(e,t)=>[e={...Object(Me.omit)(e,["columns"]),isStackedOnMobile:!0},t],save(e){let{attributes:t}=e;const{verticalAlignment:n,columns:o}=t,r=tt()(`has-${o}-columns`,{["are-vertically-aligned-"+n]:n});return Object(je.createElement)("div",{className:r},Object(je.createElement)(we.InnerBlocks.Content,null))}}];const bn=e=>{const t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function pn(e,t){const{width:n=100/t}=e.attributes;return bn(n)}function gn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(Me.sumBy)(e,e=>pn(e,t))}function hn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((e,n)=>{const o=pn(n,t);return Object.assign(e,{[n.clientId]:o})},{})}function vn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length;const o=gn(e,n);return Object(Me.mapValues)(hn(e,n),e=>bn(t*e/o))}function On(e,t){return e.map(e=>Object(Me.merge)({},e,{attributes:{width:t[e.clientId]+"%"}}))}const jn=["core/column"];const yn=Object(Pe.withDispatch)((e,t,n)=>({updateAlignment(o){const{clientId:r,setAttributes:a}=t,{updateBlockAttributes:l}=e(we.store),{getBlockOrder:c}=n.select(we.store);a({verticalAlignment:o});c(r).forEach(e=>{l(e,{verticalAlignment:o})})},updateColumns(o,r){const{clientId:a}=t,{replaceInnerBlocks:l}=e(we.store),{getBlocks:c}=n.select(we.store);let i=c(a);const s=i.every(e=>{var t;const n=e.attributes.width;return Number.isFinite(null!=n&&null!==(t=n.endsWith)&&void 0!==t&&t.call(n,"%")?parseFloat(n):n)});const u=r>o;if(u&&s){const e=bn(100/r);i=[...On(i,vn(i,100-e)),...Object(Me.times)(r-o,()=>Object(Oe.createBlock)("core/column",{width:e+"%"}))]}else if(u)i=[...i,...Object(Me.times)(r-o,()=>Object(Oe.createBlock)("core/column"))];else if(i=Object(Me.dropRight)(i,o-r),s){i=On(i,vn(i,100))}l(a,i)}}))((function(e){let{attributes:t,setAttributes:n,updateAlignment:o,updateColumns:r,clientId:a}=e;const{isStackedOnMobile:l,verticalAlignment:c}=t,{count:i}=Object(Pe.useSelect)(e=>({count:e(we.store).getBlockCount(a)}),[a]),s=tt()({["are-vertically-aligned-"+c]:c,"is-not-stacked-on-mobile":!l}),u=Object(we.useBlockProps)({className:s}),m=Object(we.useInnerBlocksProps)(u,{allowedBlocks:jn,orientation:"horizontal",renderAppender:!1});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(we.BlockVerticalAlignmentToolbar,{onChange:o,value:c})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,null,Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Columns"),value:i,onChange:e=>r(i,e),min:1,max:Math.max(6,i)}),i>6&&Object(je.createElement)(_e.Notice,{status:"warning",isDismissible:!1},Object(ke.__)("This column count exceeds the recommended amount and may cause visual breakage.")),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Stack on mobile"),checked:l,onChange:()=>n({isStackedOnMobile:!l})}))),Object(je.createElement)("div",m))}));function fn(e){let{clientId:t,name:n,setAttributes:o}=e;const{blockType:r,defaultVariation:a,variations:l}=Object(Pe.useSelect)(e=>{const{getBlockVariations:t,getBlockType:o,getDefaultBlockVariation:r}=e(Oe.store);return{blockType:o(n),defaultVariation:r(n,"block"),variations:t(n,"block")}},[n]),{replaceInnerBlocks:c}=Object(Pe.useDispatch)(we.store),i=Object(we.useBlockProps)();return Object(je.createElement)("div",i,Object(je.createElement)(we.__experimentalBlockVariationPicker,{icon:Object(Me.get)(r,["icon","src"]),label:Object(Me.get)(r,["title"]),variations:l,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;e.attributes&&o(e.attributes),e.innerBlocks&&c(t,Object(Oe.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)},allowSkip:!0}))}var _n=e=>{const{clientId:t}=e,n=Object(Pe.useSelect)(e=>e(we.store).getBlocks(t).length>0,[t])?yn:fn;return Object(je.createElement)(n,e)};var kn=[{name:"one-column-full",title:Object(ke.__)("100"),description:Object(ke.__)("One column"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m39.0625 14h-30.0625v20.0938h30.0625zm-30.0625-2c-1.10457 0-2 .8954-2 2v20.0938c0 1.1045.89543 2 2 2h30.0625c1.1046 0 2-.8955 2-2v-20.0938c0-1.1046-.8954-2-2-2z"})),innerBlocks:[["core/column"]],scope:["block"]},{name:"two-columns-equal",title:Object(ke.__)("50 / 50"),description:Object(ke.__)("Two columns; equal split"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:Object(ke.__)("30 / 70"),description:Object(ke.__)("Two columns; one-third, two-thirds split"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:"33.33%"}],["core/column",{width:"66.66%"}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:Object(ke.__)("70 / 30"),description:Object(ke.__)("Two columns; two-thirds, one-third split"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:"66.66%"}],["core/column",{width:"33.33%"}]],scope:["block"]},{name:"three-columns-equal",title:Object(ke.__)("33 / 33 / 33"),description:Object(ke.__)("Three columns; equal split"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:Object(ke.__)("25 / 50 / 25"),description:Object(ke.__)("Three columns; wide center column"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:"25%"}],["core/column",{width:"50%"}],["core/column",{width:"25%"}]],scope:["block"]}];var wn={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:e=>{const t=+(100/e.length).toFixed(2),n=e.map(e=>{let{name:n,attributes:o,innerBlocks:r}=e;return["core/column",{width:t+"%"},[[n,{...o},r]]]});return Object(Oe.createBlock)("core/columns",{},Object(Oe.createBlocksFromInnerBlocksTemplate)(n))},isMatch:e=>{let{length:t}=e;return t&&t<=6}},{type:"block",blocks:["core/media-text"],priority:1,transform:(e,t)=>{const{align:n,backgroundColor:o,textColor:r,style:a,mediaAlt:l,mediaId:c,mediaPosition:i,mediaSizeSlug:s,mediaType:u,mediaUrl:m,mediaWidth:d,verticalAlignment:b}=e;let p;if("image"!==u&&u)p=["core/video",{id:c,src:m}];else{p=["core/image",{...{id:c,alt:l,url:m,sizeSlug:s},...{href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel}}]}const g=[["core/column",{width:d+"%"},[p]],["core/column",{width:100-d+"%"},t]];return"right"===i&&g.reverse(),Object(Oe.createBlock)("core/columns",{align:n,backgroundColor:o,textColor:r,style:a,verticalAlignment:b},Object(Oe.createBlocksFromInnerBlocksTemplate)(g))}}]};const En={apiVersion:2,name:"core/columns",title:"Columns",category:"design",description:"Display content in multiple columns, with blocks added to each column.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},isStackedOnMobile:{type:"boolean",default:!0}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{margin:["top","bottom"],padding:!0,__experimentalDefaultControls:{padding:!0}}},editorStyle:"wp-block-columns-editor",style:"wp-block-columns"},{name:Cn}=En,xn={icon:un,variations:kn,example:{viewportWidth:600,innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(ke.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:Object(ke.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(ke.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:Object(ke.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:dn,edit:_n,save:function(e){let{attributes:t}=e;const{isStackedOnMobile:n,verticalAlignment:o}=t,r=tt()({["are-vertically-aligned-"+o]:o,"is-not-stacked-on-mobile":!n}),a=we.useBlockProps.save({className:r}),l=we.useInnerBlocksProps.save(a);return Object(je.createElement)("div",l)},transforms:wn};var Sn=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.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-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"}));const Bn={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"};function Tn(e){return e?{backgroundImage:`url(${e})`}:{}}const Nn=["image","video"];function zn(e){return 50===e||void 0===!e?null:"has-background-dim-"+10*Math.round(e/10)}function Pn(e){return!e||"center center"===e||"center"===e}function In(e){return Pn(e)?"":Bn[e]}function Mn(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function Rn(e){return{...e,dimRatio:e.url?e.dimRatio:100}}const Ln={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}};var Vn=[{attributes:{...Ln,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,contentPosition:r,customGradient:a,customOverlayColor:l,dimRatio:c,focalPoint:i,hasParallax:s,isRepeated:u,overlayColor:m,url:d,alt:b,id:p,minHeight:g,minHeightUnit:h}=t,v=Object(we.getColorClassName)("background-color",m),O=Object(we.__experimentalGetGradientClass)(o),j=h?`${g}${h}`:g,y="image"===n,f="video"===n,_=!(s||u),k={...y&&!_?Tn(d):{},backgroundColor:v?void 0:l,background:a&&!d?a:void 0,minHeight:j||void 0},w=i&&_?`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`:void 0,E=tt()(Mn(c),v,{"has-background-dim":0!==c,"has-parallax":s,"is-repeated":u,"has-background-gradient":o||a,[O]:!d&&O,"has-custom-content-position":!Pn(r)},In(r));return Object(je.createElement)("div",we.useBlockProps.save({className:E,style:k}),d&&(o||a)&&0!==c&&Object(je.createElement)("span",{"aria-hidden":"true",className:tt()("wp-block-cover__gradient-background",O),style:a?{background:a}:void 0}),y&&_&&d&&Object(je.createElement)("img",{className:tt()("wp-block-cover__image-background",p?"wp-image-"+p:null),alt:b,src:d,style:{objectPosition:w},"data-object-fit":"cover","data-object-position":w}),f&&d&&Object(je.createElement)("video",{className:tt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:w},"data-object-fit":"cover","data-object-position":w}),Object(je.createElement)("div",{className:"wp-block-cover__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))},migrate:Rn},{attributes:{...Ln,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,contentPosition:r,customGradient:a,customOverlayColor:l,dimRatio:c,focalPoint:i,hasParallax:s,isRepeated:u,overlayColor:m,url:d,minHeight:b,minHeightUnit:p}=t,g=Object(we.getColorClassName)("background-color",m),h=Object(we.__experimentalGetGradientClass)(o),v=p?`${b}${p}`:b,O="image"===n,j="video"===n,y=O?Tn(d):{},f={};let _;g||(y.backgroundColor=l),a&&!d&&(y.background=a),y.minHeight=v||void 0,i&&(_=`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`,O&&!s&&(y.backgroundPosition=_),j&&(f.objectPosition=_));const k=tt()(Mn(c),g,{"has-background-dim":0!==c,"has-parallax":s,"is-repeated":u,"has-background-gradient":o||a,[h]:!d&&h,"has-custom-content-position":!Pn(r)},In(r));return Object(je.createElement)("div",we.useBlockProps.save({className:k,style:y}),d&&(o||a)&&0!==c&&Object(je.createElement)("span",{"aria-hidden":"true",className:tt()("wp-block-cover__gradient-background",h),style:a?{background:a}:void 0}),j&&d&&Object(je.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:f}),Object(je.createElement)("div",{className:"wp-block-cover__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))},migrate:Rn},{attributes:{...Ln,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:c,hasParallax:i,overlayColor:s,url:u,minHeight:m}=t,d=Object(we.getColorClassName)("background-color",s),b=Object(we.__experimentalGetGradientClass)(o),p="image"===n?Tn(u):{};d||(p.backgroundColor=a),c&&!i&&(p.backgroundPosition=`${Math.round(100*c.x)}% ${Math.round(100*c.y)}%`),r&&!u&&(p.background=r),p.minHeight=m||void 0;const g=tt()(Mn(l),d,{"has-background-dim":0!==l,"has-parallax":i,"has-background-gradient":r,[b]:!u&&b});return Object(je.createElement)("div",{className:g,style:p},u&&(o||r)&&0!==l&&Object(je.createElement)("span",{"aria-hidden":"true",className:tt()("wp-block-cover__gradient-background",b),style:r?{background:r}:void 0}),"video"===n&&u&&Object(je.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(je.createElement)("div",{className:"wp-block-cover__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))},migrate:Rn},{attributes:{...Ln,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:c,hasParallax:i,overlayColor:s,url:u,minHeight:m}=t,d=Object(we.getColorClassName)("background-color",s),b=Object(we.__experimentalGetGradientClass)(o),p="image"===n?Tn(u):{};d||(p.backgroundColor=a),c&&!i&&(p.backgroundPosition=`${100*c.x}% ${100*c.y}%`),r&&!u&&(p.background=r),p.minHeight=m||void 0;const g=tt()(Mn(l),d,{"has-background-dim":0!==l,"has-parallax":i,"has-background-gradient":r,[b]:!u&&b});return Object(je.createElement)("div",{className:g,style:p},u&&(o||r)&&0!==l&&Object(je.createElement)("span",{"aria-hidden":"true",className:tt()("wp-block-cover__gradient-background",b),style:r?{background:r}:void 0}),"video"===n&&u&&Object(je.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(je.createElement)("div",{className:"wp-block-cover__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))},migrate:Rn},{attributes:{...Ln,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,contentAlign:o,customOverlayColor:r,dimRatio:a,focalPoint:l,hasParallax:c,overlayColor:i,title:s,url:u}=t,m=Object(we.getColorClassName)("background-color",i),d="image"===n?Tn(u):{};m||(d.backgroundColor=r),l&&!c&&(d.backgroundPosition=`${100*l.x}% ${100*l.y}%`);const b=tt()(Mn(a),m,{"has-background-dim":0!==a,"has-parallax":c,[`has-${o}-content`]:"center"!==o});return Object(je.createElement)("div",{className:b,style:d},"video"===n&&u&&Object(je.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!we.RichText.isEmpty(s)&&Object(je.createElement)(we.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[Object(Me.omit)(t,["title","contentAlign"]),[Object(Oe.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(ke.__)("Write title…")})]]}},{attributes:{...Ln,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}},supports:{className:!1},save(e){let{attributes:t}=e;const{url:n,title:o,hasParallax:r,dimRatio:a,align:l,contentAlign:c,overlayColor:i,customOverlayColor:s}=t,u=Object(we.getColorClassName)("background-color",i),m=Tn(n);u||(m.backgroundColor=s);const d=tt()("wp-block-cover-image",Mn(a),u,{"has-background-dim":0!==a,"has-parallax":r,[`has-${c}-content`]:"center"!==c},l?"align"+l:null);return Object(je.createElement)("div",{className:d,style:m},!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:o}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[Object(Me.omit)(t,["title","contentAlign","align"]),[Object(Oe.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(ke.__)("Write title…")})]]}},{attributes:{...Ln,title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}},supports:{className:!1},save(e){let{attributes:t}=e;const{url:n,title:o,hasParallax:r,dimRatio:a,align:l}=t,c=Tn(n),i=tt()("wp-block-cover-image",Mn(a),{"has-background-dim":0!==a,"has-parallax":r},l?"align"+l:null);return Object(je.createElement)("section",{className:i,style:c},Object(je.createElement)(we.RichText.Content,{tagName:"h2",value:o}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[Object(Me.omit)(t,["title","contentAlign","align"]),[Object(Oe.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(ke.__)("Write title…")})]]}}],Hn=n("FEKF"),An=n.n(Hn),Fn=n("fHnH"),Dn=n("abaT");Object(Fn.b)([Dn.a]);const{__Visualizer:Gn}=_e.__experimentalBoxControl;function Un(){return Un.fastAverageColor||(Un.fastAverageColor=new An.a),Un.fastAverageColor}function qn(e){let{onChange:t,onUnitChange:n,unit:o="px",value:r=""}=e;const[a,l]=Object(je.useState)(null),c="block-cover-height-input-"+Object(nt.useInstanceId)(we.__experimentalUnitControl),i="px"===o,s=Object(_e.__experimentalUseCustomUnits)({availableUnits:Object(we.useSetting)("spacing.units")||["px","em","rem","vw","vh"],defaultValues:{px:"430",em:"20",rem:"20",vw:"20",vh:"50"}}),u=null!==a?a:r,m=i?50:0;return Object(je.createElement)(_e.BaseControl,{label:Object(ke.__)("Minimum height of cover"),id:c},Object(je.createElement)(we.__experimentalUnitControl,{id:c,isResetValueOnUnitChange:!0,min:m,onBlur:()=>{null!==a&&l(null)},onChange:e=>{const o=""!==e?parseFloat(e):void 0;isNaN(o)&&void 0!==o?l(e):(l(null),t(o),void 0===o&&n())},onUnitChange:n,style:{maxWidth:80},unit:o,units:s,value:u}))}const Wn={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function $n(e){let{className:t,onResizeStart:n,onResize:o,onResizeStop:r,...a}=e;const[l,c]=Object(je.useState)(!1);return Object(je.createElement)(_e.ResizableBox,Object(mt.a)({className:tt()(t,{"is-resizing":l}),enable:Wn,onResizeStart:(e,t,r)=>{n(r.clientHeight),o(r.clientHeight)},onResize:(e,t,n)=>{o(n.clientHeight),l||c(!0)},onResizeStop:(e,t,n)=>{r(n.clientHeight),c(!1)}},a))}function Zn(e){let{x:t,y:n}=e;return`${Math.round(100*t)}% ${Math.round(100*n)}%`}function Kn(e){let{disableMediaButtons:t=!1,children:n,noticeUI:o,noticeOperations:r,onSelectMedia:a,style:l}=e;const{removeAllNotices:c,createErrorNotice:i}=r;return Object(je.createElement)(we.MediaPlaceholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:Sn}),labels:{title:Object(ke.__)("Cover"),instructions:Object(ke.__)("Drag and drop onto this block, upload, or select existing media from your library.")},onSelect:a,accept:"image/*,video/*",allowedTypes:Nn,notices:o,disableMediaButtons:t,onError:e=>{c(),i(e)},style:l},n)}var Jn=Object(nt.compose)([Object(Pe.withDispatch)(e=>{const{toggleSelection:t,__unstableMarkNextChangeAsNotPersistent:n}=e(we.store);return{toggleSelection:t,markNextChangeAsNotPersistent:n}}),Object(we.withColors)({overlayColor:"background-color"}),_e.withNotices,nt.withInstanceId])((function(e){var t,n,o;let{attributes:r,clientId:a,isSelected:l,noticeUI:c,noticeOperations:i,overlayColor:s,setAttributes:u,setOverlayColor:m,toggleSelection:d,markNextChangeAsNotPersistent:b}=e;const{contentPosition:p,id:g,backgroundType:h,dimRatio:v,focalPoint:O,hasParallax:j,isDark:y,isRepeated:f,minHeight:_,minHeightUnit:k,style:w,url:E,alt:C,allowedBlocks:x,templateLock:S}=r,{gradientClass:B,gradientValue:T,setGradient:N}=Object(we.__experimentalUseGradient)(),z=function(e,t){return n=>{if(!n||!n.url)return void e({url:void 0,id:void 0});let o;if(Object(ze.isBlobURL)(n.url)&&(n.type=Object(ze.getBlobTypeByURL)(n.url)),n.media_type)o="image"===n.media_type?"image":"video";else{if("image"!==n.type&&"video"!==n.type)return;o=n.type}e({dimRatio:100===t?50:t,url:n.url,id:n.id,alt:null==n?void 0:n.alt,backgroundType:o,..."video"===o?{focalPoint:void 0,hasParallax:void 0}:{}})}}(u,v),P=((e,t)=>!e&&Object(ze.isBlobURL)(t))(g,E),[I,M]=Object(je.useState)(_),[R,L]=Object(je.useState)(k),V="vh"===k&&100===_,H=Object(je.useRef)(),A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;const[r,a]=Object(je.useState)(!1);return Object(je.useEffect)(()=>{e&&t<=50&&o.current&&Un().getColorAsync(o.current,e=>{a(e.isDark)})},[e,e&&t<=50&&o.current,a]),Object(je.useEffect)(()=>{if(t>50||!e){if(!n)return void a(!0);a(Object(Fn.a)(n).isDark())}},[n,t>50||!e,a]),Object(je.useEffect)(()=>{e||n||a(!1)},[!e&&!n,a]),r}(E,v,s.color,H);Object(je.useEffect)(()=>{b(),u({isDark:A})},[A]);const F="image"===h,D="video"===h,[G,U]=Object(je.useState)(null),q=k?`${_}${k}`:_,W=!(j||f),$={...F&&!W?Tn(E):void 0,minHeight:G||q||void 0},Z={backgroundColor:s.color},K={objectPosition:O&&W?Zn(O):void 0},J=!!(E||s.color||T),Q=D||F&&(!j||f),Y=e=>{const[t,n]=H.current?[H.current.style,"objectPosition"]:[te.current.style,"backgroundPosition"];t[n]=Zn(e)},X=Object(Pe.useSelect)(e=>e(we.store).getBlock(a).innerBlocks.length>0,[a]),ee=Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.__experimentalBlockAlignmentMatrixControl,{label:Object(ke.__)("Change content position"),value:p,onChange:e=>u({contentPosition:e}),isDisabled:!X}),Object(je.createElement)(we.__experimentalBlockFullHeightAligmentControl,{isActive:V,onToggle:()=>V?u("vh"===R&&100===I?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:I,minHeightUnit:R}):(M(_),L(k),u({minHeight:100,minHeightUnit:"vh"})),isDisabled:!X})),Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:g,mediaURL:E,allowedTypes:Nn,accept:"image/*,video/*",onSelect:z,name:E?Object(ke.__)("Replace"):Object(ke.__)("Add Media")})),Object(je.createElement)(we.InspectorControls,null,!!E&&Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Media settings")},F&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Fixed background"),checked:j,onChange:()=>{u({hasParallax:!j,...j?{}:{focalPoint:void 0}})}}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Repeated background"),checked:f,onChange:()=>{u({isRepeated:!f})}})),Q&&Object(je.createElement)(_e.FocalPointPicker,{label:Object(ke.__)("Focal point picker"),url:E,value:O,onDragStart:Y,onDrag:Y,onChange:e=>u({focalPoint:e})}),E&&F&&W&&Object(je.createElement)(_e.TextareaControl,{label:Object(ke.__)("Alt text (alternative text)"),value:C,onChange:e=>u({alt:e}),help:Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(ke.__)("Describe the purpose of the image")),Object(ke.__)("Leave empty if the image is purely decorative."))}),Object(je.createElement)(_e.PanelRow,null,Object(je.createElement)(_e.Button,{variant:"secondary",isSmall:!0,className:"block-library-cover__reset-button",onClick:()=>u({url:void 0,id:void 0,backgroundType:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})},Object(ke.__)("Clear Media")))),Object(je.createElement)(we.__experimentalPanelColorGradientSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:Object(ke.__)("Overlay"),initialOpen:!0,settings:[{colorValue:s.color,gradientValue:T,onColorChange:m,onGradientChange:N,label:Object(ke.__)("Color")}]},Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Opacity"),value:v,onChange:e=>u({dimRatio:e}),min:0,max:100,step:10,required:!0}))),Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"dimensions"},Object(je.createElement)(_e.__experimentalToolsPanelItem,{hasValue:()=>!!_,label:Object(ke.__)("Minimum height"),onDeselect:()=>u({minHeight:void 0,minHeightUnit:void 0}),resetAllFilter:()=>({minHeight:void 0,minHeightUnit:void 0}),isShownByDefault:!0,panelId:a},Object(je.createElement)(qn,{value:G||_,unit:k,onChange:e=>u({minHeight:e}),onUnitChange:e=>u({minHeightUnit:e})})))),te=Object(je.useRef)(),ne=Object(we.useBlockProps)({ref:te}),oe=function(e){return[["core/paragraph",{align:"center",placeholder:Object(ke.__)("Write title…"),...e}]]}({fontSize:!(null===(t=Object(we.useSetting)("typography.fontSizes"))||void 0===t||!t.length)?"large":void 0}),re=Object(we.useInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:oe,templateInsertUpdatesSelection:!0,allowedBlocks:x,templateLock:S});if(!X&&!J)return Object(je.createElement)(je.Fragment,null,ee,Object(je.createElement)("div",Object(mt.a)({},ne,{className:tt()("is-placeholder",ne.className)}),Object(je.createElement)(Kn,{noticeUI:c,onSelectMedia:z,noticeOperations:i,style:{minHeight:G||q||void 0}},Object(je.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(je.createElement)(we.ColorPalette,{disableCustomColors:!0,value:s.color,onChange:m,clearable:!1}))),Object(je.createElement)($n,{className:"block-library-cover__resize-container",onResizeStart:()=>{u({minHeightUnit:"px"}),d(!1)},onResize:U,onResizeStop:e=>{d(!0),u({minHeight:e}),U(null)},showHandle:l})));const ae=tt()({"is-dark-theme":y,"is-light":!y,"is-transient":P,"has-parallax":j,"is-repeated":f,"has-custom-content-position":!Pn(p)},In(p));return Object(je.createElement)(je.Fragment,null,ee,Object(je.createElement)("div",Object(mt.a)({},ne,{className:tt()(ae,ne.className),style:{...$,...ne.style},"data-url":E}),Object(je.createElement)(Gn,{values:null==w||null===(n=w.spacing)||void 0===n?void 0:n.padding,showValues:null==w||null===(o=w.visualizers)||void 0===o?void 0:o.padding}),Object(je.createElement)($n,{className:"block-library-cover__resize-container",onResizeStart:()=>{u({minHeightUnit:"px"}),d(!1)},onResize:U,onResizeStop:e=>{d(!0),u({minHeight:e}),U(null)},showHandle:l}),Object(je.createElement)("span",{"aria-hidden":"true",className:tt()(zn(v),{[s.class]:s.class},"wp-block-cover__gradient-background",B,{"has-background-dim":void 0!==v,"has-background-gradient":T,[B]:!E&&B}),style:{backgroundImage:T,...Z}}),E&&F&&W&&Object(je.createElement)("img",{ref:H,className:"wp-block-cover__image-background",alt:C,src:E,style:K}),E&&D&&Object(je.createElement)("video",{ref:H,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:E,style:K}),P&&Object(je.createElement)(_e.Spinner,null),Object(je.createElement)(Kn,{disableMediaButtons:!0,noticeUI:c,onSelectMedia:z,noticeOperations:i}),Object(je.createElement)("div",re)))}));var Qn={from:[{type:"block",blocks:["core/image"],transform:e=>{var t;let{caption:n,url:o,alt:r,align:a,id:l,anchor:c,style:i}=e;return Object(Oe.createBlock)("core/cover",{dimRatio:50,url:o,alt:r,align:a,id:l,anchor:c,style:{color:{duotone:null==i||null===(t=i.color)||void 0===t?void 0:t.duotone}}},[Object(Oe.createBlock)("core/paragraph",{content:n,fontSize:"large"})])}},{type:"block",blocks:["core/video"],transform:e=>{let{caption:t,src:n,align:o,id:r,anchor:a}=e;return Object(Oe.createBlock)("core/cover",{dimRatio:50,url:n,align:o,id:r,backgroundType:"video",anchor:a},[Object(Oe.createBlock)("core/paragraph",{content:t,fontSize:"large"})])}},{type:"block",blocks:["core/group"],isMatch:e=>{var t,n;let{backgroundColor:o,gradient:r,style:a}=e;return o||(null==a||null===(t=a.color)||void 0===t?void 0:t.background)||(null==a||null===(n=a.color)||void 0===n?void 0:n.gradient)||r},transform:(e,t)=>{var n,o;let{align:r,anchor:a,backgroundColor:l,gradient:c,style:i}=e;return Object(Oe.createBlock)("core/cover",{align:r,anchor:a,overlayColor:l,customOverlayColor:null==i||null===(n=i.color)||void 0===n?void 0:n.background,gradient:c,customGradient:null==i||null===(o=i.color)||void 0===o?void 0:o.gradient},t)}}],to:[{type:"block",blocks:["core/image"],isMatch:e=>{let{backgroundType:t,url:n,overlayColor:o,customOverlayColor:r,gradient:a,customGradient:l}=e;return n?"image"===t:!(o||r||a||l)},transform:e=>{var t;let{title:n,url:o,alt:r,align:a,id:l,anchor:c,style:i}=e;return Object(Oe.createBlock)("core/image",{caption:n,url:o,alt:r,align:a,id:l,anchor:c,style:{color:{duotone:null==i||null===(t=i.color)||void 0===t?void 0:t.duotone}}})}},{type:"block",blocks:["core/video"],isMatch:e=>{let{backgroundType:t,url:n,overlayColor:o,customOverlayColor:r,gradient:a,customGradient:l}=e;return n?"video"===t:!(o||r||a||l)},transform:e=>{let{title:t,url:n,align:o,id:r,anchor:a}=e;return Object(Oe.createBlock)("core/video",{caption:t,src:n,id:r,align:o,anchor:a})}}]};const Yn={apiVersion:2,name:"core/cover",title:"Cover",category:"media",description:"Add an image or video with a text overlay — great for headers.",textdomain:"default",attributes:{url:{type:"string"},id:{type:"number"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:100},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},isDark:{type:"boolean",default:!0},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},editorStyle:"wp-block-cover-editor",style:"wp-block-cover"},{name:Xn}=Yn,eo={icon:Sn,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(ke.__)("<strong>Snow Patrol</strong>"),align:"center"}}]},transforms:Qn,save:function(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,contentPosition:r,customGradient:a,customOverlayColor:l,dimRatio:c,focalPoint:i,hasParallax:s,isDark:u,isRepeated:m,overlayColor:d,url:b,alt:p,id:g,minHeight:h,minHeightUnit:v}=t,O=Object(we.getColorClassName)("background-color",d),j=Object(we.__experimentalGetGradientClass)(o),y=v?`${h}${v}`:h,f="image"===n,_="video"===n,k=!(s||m),w={...f&&!k?Tn(b):{},minHeight:y||void 0},E={backgroundColor:O?void 0:l,background:a||void 0},C=i&&k?`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`:void 0,x=tt()({"is-light":!u,"has-parallax":s,"is-repeated":m,"has-custom-content-position":!Pn(r)},In(r));return Object(je.createElement)("div",we.useBlockProps.save({className:x,style:w}),Object(je.createElement)("span",{"aria-hidden":"true",className:tt()(O,zn(c),"wp-block-cover__gradient-background",j,{"has-background-dim":void 0!==c,"has-background-gradient":o||a,[j]:!b&&j}),style:E}),f&&k&&b&&Object(je.createElement)("img",{className:tt()("wp-block-cover__image-background",g?"wp-image-"+g:null),alt:p,src:b,style:{objectPosition:C},"data-object-fit":"cover","data-object-position":C}),_&&b&&Object(je.createElement)("video",{className:tt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:b,style:{objectPosition:C},"data-object-fit":"cover","data-object-position":C}),Object(je.createElement)("div",we.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})))},edit:Jn,deprecated:Vn};var to=n("B9Az");function no(e){return e?Object(ke.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(ke.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var oo=e=>{let{blockSupportsResponsive:t,showEditButton:n,themeSupportsResponsive:o,allowResponsive:r,toggleResponsive:a,switchBackToURLInput:l}=e;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,null,n&&Object(je.createElement)(_e.ToolbarButton,{className:"components-toolbar__control",label:Object(ke.__)("Edit URL"),icon:to.a,onClick:l}))),o&&t&&Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Media settings"),className:"blocks-responsive"},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Resize for smaller devices"),checked:r,help:no,onChange:a}))))};const ro=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),ao=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})),lo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),co=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})),io={foreground:"#1da1f2",src:Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.G,null,Object(je.createElement)(_e.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},so={foreground:"#ff0000",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},uo={foreground:"#3b5998",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},mo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.G,null,Object(je.createElement)(_e.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),bo={foreground:"#0073AA",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.G,null,Object(je.createElement)(_e.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},po={foreground:"#1db954",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},go=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),ho={foreground:"#1ab7ea",src:Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.G,null,Object(je.createElement)(_e.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},vo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),Oo={foreground:"#35465c",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"}))},jo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(je.createElement)(_e.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(je.createElement)(_e.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),yo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),Object(je.createElement)(_e.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),Object(je.createElement)(_e.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),Object(je.createElement)(_e.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),Object(je.createElement)(_e.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),Object(je.createElement)(_e.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),fo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",fill:"#333436"})),_o=Object(je.createElement)(_e.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(_e.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"})),ko=Object(je.createElement)(_e.SVG,{viewBox:"0 0 44 44"},Object(je.createElement)(_e.Path,{d:"M32.59521,22.001l4.31885-4.84473-6.34131-1.38379.646-6.459-5.94336,2.61035L22,6.31934l-3.27344,5.60351L12.78418,9.3125l.645,6.458L7.08643,17.15234,11.40479,21.999,7.08594,26.84375l6.34131,1.38379-.64551,6.458,5.94287-2.60938L22,37.68066l3.27344-5.60351,5.94287,2.61035-.64551-6.458,6.34277-1.38183Zm.44385,2.75244L30.772,23.97827l-1.59558-2.07391,1.97888.735Zm-8.82147,6.1579L22.75,33.424V30.88977l1.52228-2.22168ZM18.56226,13.48816,19.819,15.09534l-2.49219-.88642L15.94037,12.337Zm6.87719.00116,2.62043-1.15027-1.38654,1.86981L24.183,15.0946Zm3.59357,2.6029-1.22546,1.7381.07525-2.73486,1.44507-1.94867ZM22,29.33008l-2.16406-3.15686L22,23.23688l2.16406,2.93634Zm-4.25458-9.582-.10528-3.836,3.60986,1.284v3.73242Zm5.00458-2.552,3.60986-1.284-.10528,3.836L22.75,20.92853Zm-7.78174-1.10559-.29352-2.94263,1.44245,1.94739.07519,2.73321Zm2.30982,5.08319,3.50817,1.18164-2.16247,2.9342-3.678-1.08447Zm2.4486,7.49285L21.25,30.88977v2.53485L19.78052,30.91Zm3.48707-6.31121,3.50817-1.18164,2.33228,3.03137-3.678,1.08447Zm10.87219-4.28113-2.714,3.04529L28.16418,19.928l1.92176-2.72565ZM24.06036,12.81769l-2.06012,2.6322-2.059-2.63318L22,9.292ZM9.91455,18.07227l4.00079-.87195,1.921,2.72735-3.20794,1.19019Zm2.93024,4.565,1.9801-.73462L13.228,23.97827l-2.26838.77429Zm-1.55591,3.58819L13.701,25.4021l2.64935.78058-2.14447.67853Zm3.64868,1.977L18.19,27.17334l.08313,3.46332L14.52979,32.2793Zm10.7876,2.43549.08447-3.464,3.25165,1.03052.407,4.07684Zm4.06824-3.77478-2.14545-.68,2.65063-.781,2.41266.825Z"}));var wo=()=>Object(je.createElement)("div",{className:"wp-block-embed is-loading"},Object(je.createElement)(_e.Spinner,null),Object(je.createElement)("p",null,Object(ke.__)("Embedding…")));var Eo=e=>{let{icon:t,label:n,value:o,onSubmit:r,onChange:a,cannotEmbed:l,fallback:c,tryAgain:i}=e;return Object(je.createElement)(_e.Placeholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed",instructions:Object(ke.__)("Paste a link to the content you want to display on your site.")},Object(je.createElement)("form",{onSubmit:r},Object(je.createElement)("input",{type:"url",value:o||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(ke.__)("Enter URL to embed here…"),onChange:a}),Object(je.createElement)(_e.Button,{variant:"primary",type:"submit"},Object(ke._x)("Embed","button label"))),Object(je.createElement)("div",{className:"components-placeholder__learn-more"},Object(je.createElement)(_e.ExternalLink,{href:Object(ke.__)("https://wordpress.org/support/article/embeds/")},Object(ke.__)("Learn more about embeds"))),l&&Object(je.createElement)("div",{className:"components-placeholder__error"},Object(je.createElement)("div",{className:"components-placeholder__instructions"},Object(ke.__)("Sorry, this content could not be embedded.")),Object(je.createElement)(_e.Button,{variant:"secondary",onClick:i},Object(ke._x)("Try again","button label"))," ",Object(je.createElement)(_e.Button,{variant:"secondary",onClick:c},Object(ke._x)("Convert to link","button label"))))};const Co={class:"className",frameborder:"frameBorder",marginheight:"marginHeight",marginwidth:"marginWidth"};function xo(e){let{html:t}=e;const n=Object(je.useRef)(),o=Object(je.useMemo)(()=>{const e=(new window.DOMParser).parseFromString(t,"text/html").querySelector("iframe"),n={};return e?(Array.from(e.attributes).forEach(e=>{let{name:t,value:o}=e;"style"!==t&&(n[Co[t]||t]=o)}),n):n},[t]);return Object(je.useEffect)(()=>{const{ownerDocument:e}=n.current,{defaultView:t}=e;function r(e){let{data:{secret:t,message:r,value:a}={}}=e;"height"===r&&t===o["data-secret"]&&(n.current.height=a)}return t.addEventListener("message",r),()=>{t.removeEventListener("message",r)}},[]),Object(je.createElement)("div",{className:"wp-block-embed__wrapper"},Object(je.createElement)("iframe",Object(mt.a)({ref:Object(nt.useMergeRefs)([n,Object(nt.useFocusableIframe)()]),title:o.title},o)))}class So extends je.Component{constructor(){super(...arguments),this.hideOverlay=this.hideOverlay.bind(this),this.state={interactive:!1}}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}hideOverlay(){this.setState({interactive:!0})}render(){const{preview:e,previewable:t,url:n,type:o,caption:r,onCaptionChange:a,isSelected:l,className:c,icon:i,label:s,insertBlocksAfter:u}=this.props,{scripts:m}=e,{interactive:d}=this.state,b="photo"===o?(e=>{const t=e.thumbnail_url||e.url,n=Object(je.createElement)("p",null,Object(je.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(je.renderToString)(n)})(e):e.html,p=new URL(n).host.split("."),g=p.splice(p.length-2,p.length-1).join("."),h=Object(ke.sprintf)(Object(ke.__)("Embedded content from %s"),g),v=Le()(o,c,"wp-block-embed__wrapper"),O="wp-embed"===o?Object(je.createElement)(xo,{html:b}):Object(je.createElement)("div",{className:"wp-block-embed__wrapper"},Object(je.createElement)(_e.SandBox,{html:b,scripts:m,title:h,type:v,onFocus:this.hideOverlay}),!d&&Object(je.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(je.createElement)("figure",{className:Le()(c,"wp-block-embed",{"is-type-video":"video"===o})},t?O:Object(je.createElement)(_e.Placeholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:i,showColors:!0}),label:s},Object(je.createElement)("p",{className:"components-placeholder__error"},Object(je.createElement)("a",{href:n},n)),Object(je.createElement)("p",{className:"components-placeholder__error"},Object(ke.sprintf)(Object(ke.__)("Embedded content from %s can't be previewed in the editor."),g))),(!we.RichText.isEmpty(r)||l)&&Object(je.createElement)(we.RichText,{tagName:"figcaption",placeholder:Object(ke.__)("Add caption"),value:r,onChange:a,inlineToolbar:!0,__unstableOnSplitAtEnd:()=>u(Object(Oe.createBlock)("core/paragraph"))}))}}var Bo=So;var To=e=>{const{attributes:{providerNameSlug:t,previewable:n,responsive:o,url:r},attributes:a,isSelected:l,onReplace:c,setAttributes:i,insertBlocksAfter:s,onFocus:u}=e,m={title:Object(ke._x)("Embed","block title"),icon:ro},{icon:d,title:b}=(p=t,(null===(g=Object(Oe.getBlockVariations)(Ae))||void 0===g?void 0:g.find(e=>{let{name:t}=e;return t===p}))||m);var p,g;const[h,v]=Object(je.useState)(r),[O,j]=Object(je.useState)(!1),{invalidateResolution:y}=Object(Pe.useDispatch)(It.store),{preview:f,fetching:_,themeSupportsResponsive:k,cannotEmbed:w}=Object(Pe.useSelect)(e=>{var t;const{getEmbedPreview:n,isPreviewEmbedFallback:o,isRequestingEmbedPreview:a,getThemeSupports:l}=e(It.store);if(!r)return{fetching:!1,cannotEmbed:!1};const c=n(r),i=o(r),s=!1===(null==c?void 0:c.html)&&void 0===(null==c?void 0:c.type),u=404===(null==c||null===(t=c.data)||void 0===t?void 0:t.status),m=!!c&&!s&&!u;return{preview:m?c:void 0,fetching:a(r),themeSupportsResponsive:l()["responsive-embeds"],cannotEmbed:!m||i}},[r]),E=()=>{const{allowResponsive:e,className:t}=a;return{...a,...We(f,b,t,o,e)}};Object(je.useEffect)(()=>{if(null==f||!f.html||!w||_)return;const e=r.replace(/\/$/,"");v(e),j(!1),i({url:e})},[null==f?void 0:f.html,r]),Object(je.useEffect)(()=>{if(f&&!O&&(i(E()),c)){const t=Ge(e,E());t&&c(t)}},[f,O]);const C=Object(we.useBlockProps)();if(_)return Object(je.createElement)(ye.View,C,Object(je.createElement)(wo,null));const x=Object(ke.sprintf)(Object(ke.__)("%s URL"),b);if(!f||w||O)return Object(je.createElement)(ye.View,C,Object(je.createElement)(Eo,{icon:d,label:x,onFocus:u,onSubmit:e=>{e&&e.preventDefault(),j(!1),i({url:h})},value:h,cannotEmbed:w,onChange:e=>v(e.target.value),fallback:()=>function(e,t){const n=Object(je.createElement)("a",{href:e},e);t(Object(Oe.createBlock)("core/paragraph",{content:Object(je.renderToString)(n)}))}(h,c),tryAgain:()=>{y("getEmbedPreview",[h])}}));const{caption:S,type:B,allowResponsive:T,className:N}=E(),z=tt()(N,e.className);return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(oo,{showEditButton:f&&!w,themeSupportsResponsive:k,blockSupportsResponsive:o,allowResponsive:T,toggleResponsive:()=>{const{allowResponsive:e,className:t}=a,{html:n}=f,r=!e;i({allowResponsive:r,className:qe(n,t,o&&r)})},switchBackToURLInput:()=>j(!0)}),Object(je.createElement)(ye.View,C,Object(je.createElement)(Bo,{preview:f,previewable:n,className:z,url:h,type:B,caption:S,onCaptionChange:e=>i({caption:e}),isSelected:l,icon:d,label:x,insertBlocksAfter:s})))};const{name:No}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var zo={from:[{type:"raw",isMatch:e=>{var t,n;return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&&1===(null===(t=e.textContent)||void 0===t||null===(n=t.match(/https/gi))||void 0===n?void 0:n.length)},transform:e=>Object(Oe.createBlock)(No,{url:e.textContent.trim()})}],to:[{type:"block",blocks:["core/paragraph"],isMatch:e=>{let{url:t}=e;return!!t},transform:e=>{let{url:t,caption:n}=e,o=`<a href="${t}">${t}</a>`;return null!=n&&n.trim()&&(o+="<br />"+n),Object(Oe.createBlock)("core/paragraph",{content:o})}}]};const Po=[{name:"twitter",title:"Twitter",icon:io,keywords:["tweet",Object(ke.__)("social")],description:Object(ke.__)("Embed a tweet."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:"YouTube",icon:so,keywords:[Object(ke.__)("music"),Object(ke.__)("video")],description:Object(ke.__)("Embed a YouTube video."),patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i],attributes:{providerNameSlug:"youtube",responsive:!0}},{name:"facebook",title:"Facebook",icon:uo,keywords:[Object(ke.__)("social")],description:Object(ke.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:"Instagram",icon:mo,keywords:[Object(ke.__)("image"),Object(ke.__)("social")],description:Object(ke.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:"WordPress",icon:bo,keywords:[Object(ke.__)("post"),Object(ke.__)("blog")],description:Object(ke.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:"SoundCloud",icon:ao,keywords:[Object(ke.__)("music"),Object(ke.__)("audio")],description:Object(ke.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:"Spotify",icon:po,keywords:[Object(ke.__)("music"),Object(ke.__)("audio")],description:Object(ke.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:"Flickr",icon:go,keywords:[Object(ke.__)("image")],description:Object(ke.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:"Vimeo",icon:ho,keywords:[Object(ke.__)("video")],description:Object(ke.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:"Animoto",icon:yo,description:Object(ke.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:"Cloudup",icon:ro,description:Object(ke.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:"CollegeHumor",icon:co,description:Object(ke.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:"Crowdsignal",icon:ro,keywords:["polldaddy",Object(ke.__)("survey")],description:Object(ke.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:"Dailymotion",icon:fo,keywords:[Object(ke.__)("video")],description:Object(ke.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:"Imgur",icon:lo,description:Object(ke.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:"Issuu",icon:ro,description:Object(ke.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:"Kickstarter",icon:ro,description:Object(ke.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"mixcloud",title:"Mixcloud",icon:ao,keywords:[Object(ke.__)("music"),Object(ke.__)("audio")],description:Object(ke.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"reddit",title:"Reddit",icon:vo,description:Object(ke.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:"ReverbNation",icon:ao,description:Object(ke.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"screencast",title:"Screencast",icon:co,description:Object(ke.__)("Embed Screencast content."),patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i],attributes:{providerNameSlug:"screencast",responsive:!0}},{name:"scribd",title:"Scribd",icon:ro,description:Object(ke.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"slideshare",title:"Slideshare",icon:ro,description:Object(ke.__)("Embed Slideshare content."),patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i],attributes:{providerNameSlug:"slideshare",responsive:!0}},{name:"smugmug",title:"SmugMug",icon:lo,description:Object(ke.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:"Speaker Deck",icon:ro,description:Object(ke.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:"TikTok",icon:co,keywords:[Object(ke.__)("video")],description:Object(ke.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:"TED",icon:co,description:Object(ke.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:"Tumblr",icon:Oo,keywords:[Object(ke.__)("social")],description:Object(ke.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:"VideoPress",icon:co,keywords:[Object(ke.__)("video")],description:Object(ke.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:"WordPress.tv",icon:co,description:Object(ke.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:"Amazon Kindle",icon:jo,keywords:[Object(ke.__)("ebook")],description:Object(ke.__)("Embed Amazon Kindle content."),patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],attributes:{providerNameSlug:"amazon-kindle"}},{name:"pinterest",title:"Pinterest",icon:_o,keywords:[Object(ke.__)("social"),Object(ke.__)("bookmark")],description:Object(ke.__)("Embed Pinterest pins, boards, and profiles."),patterns:[/^https?:\/\/([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?\/.*/i],attributes:{providerNameSlug:"pinterest"}},{name:"wolfram-cloud",title:"Wolfram Cloud",icon:ko,description:Object(ke.__)("Embed Wolfram Cloud notebook content."),patterns:[/^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i],attributes:{providerNameSlug:"wolfram-cloud",responsive:!0}}];Po.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.providerNameSlug===t.providerNameSlug)});var Io=Po;const{attributes:Mo}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var Ro=[{attributes:Mo,save(e){let{attributes:{url:t,caption:n,type:o,providerNameSlug:r}}=e;if(!t)return null;const a=tt()("wp-block-embed",{["is-type-"+o]:o,["is-provider-"+r]:r});return Object(je.createElement)("figure",{className:a},`\n${t}\n`,!we.RichText.isEmpty(n)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:n}))}}];const Lo={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"},{name:Vo}=Lo,Ho={icon:ro,edit:To,save:function(e){let{attributes:t}=e;const{url:n,caption:o,type:r,providerNameSlug:a}=t;if(!n)return null;const l=Le()("wp-block-embed",{["is-type-"+r]:r,["is-provider-"+a]:a,["wp-block-embed-"+a]:a});return Object(je.createElement)("figure",we.useBlockProps.save({className:l}),Object(je.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${n}\n`),!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:o}))},transforms:zo,variations:Io,deprecated:Ro};var Ao=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5z"}));var Fo=[{attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},save(e){let{attributes:t}=e;const{href:n,fileName:o,textLinkHref:r,textLinkTarget:a,showDownloadButton:l,downloadButtonText:c,displayPreview:i,previewHeight:s}=t,u=we.RichText.isEmpty(o)?Object(ke.__)("PDF embed"):Object(ke.sprintf)(Object(ke.__)("Embed of %s."),o);return n&&Object(je.createElement)("div",we.useBlockProps.save(),i&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)("object",{className:"wp-block-file__embed",data:n,type:"application/pdf",style:{width:"100%",height:s+"px"},"aria-label":u})),!we.RichText.isEmpty(o)&&Object(je.createElement)("a",{href:r,target:a,rel:a?"noreferrer noopener":void 0},Object(je.createElement)(we.RichText.Content,{value:o})),l&&Object(je.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(je.createElement)(we.RichText.Content,{value:c})))}}],Do=n("onLe");function Go(e){let{hrefs:t,openInNewWindow:n,showDownloadButton:o,changeLinkDestinationOption:r,changeOpenInNewWindow:a,changeShowDownloadButton:l,displayPreview:c,changeDisplayPreview:i,previewHeight:s,changePreviewHeight:u}=e;const{href:m,textLinkHref:d,attachmentPage:b}=t;let p=[{value:m,label:Object(ke.__)("URL")}];return b&&(p=[{value:m,label:Object(ke.__)("Media file")},{value:b,label:Object(ke.__)("Attachment page")}]),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,m.endsWith(".pdf")&&Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("PDF settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show inline embed"),help:c?Object(ke.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!c,onChange:i}),c&&Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Height in pixels"),min:Wo,max:Math.max($o,s),value:s,onChange:u})),Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Text link settings")},Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Link to"),value:d,options:p,onChange:r}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Open in new tab"),checked:n,onChange:a})),Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Download button settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show download button"),checked:o,onChange:l}))))}const Uo=()=>!(window.navigator.userAgent.indexOf("Mobi")>-1)&&(!(window.navigator.userAgent.indexOf("Android")>-1)&&(!(window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2)&&!((window.ActiveXObject||"ActiveXObject"in window)&&!qo("AcroPDF.PDF")&&!qo("PDF.PdfCtrl")))),qo=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t},Wo=200,$o=2e3;function Zo(e){let{text:t,disabled:n}=e;const{createNotice:o}=Object(Pe.useDispatch)(Do.store),r=Object(nt.useCopyToClipboard)(t,()=>{o("info",Object(ke.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})});return Object(je.createElement)(_e.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:r,disabled:n},Object(ke.__)("Copy URL"))}var Ko=Object(_e.withNotices)((function(e){let{attributes:t,isSelected:n,setAttributes:o,noticeUI:r,noticeOperations:a,clientId:l}=e;const{id:c,fileName:i,href:s,textLinkHref:u,textLinkTarget:m,showDownloadButton:d,downloadButtonText:b,displayPreview:p,previewHeight:g}=t,[h,v]=Object(je.useState)(!1),{media:O,mediaUpload:j}=Object(Pe.useSelect)(e=>({media:void 0===c?void 0:e(It.store).getMedia(c),mediaUpload:e(we.store).getSettings().mediaUpload}),[c]),{toggleSelection:y}=Object(Pe.useDispatch)(we.store);function f(e){if(e&&e.url){v(!1);const t=e.url.endsWith(".pdf");o({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id,displayPreview:!!t||void 0,previewHeight:t?600:void 0})}}function _(e){v(!0),a.removeAllNotices(),a.createErrorNotice(e)}function k(e){o({downloadButtonText:e.replace(/<\/?a[^>]*>/g,"")})}Object(je.useEffect)(()=>{if(Object(ze.isBlobURL)(s)){const e=Object(ze.getBlobByURL)(s);j({filesList:[e],onFileChange:e=>{let[t]=e;return f(t)},onError:e=>{v(!0),a.createErrorNotice(e)}}),Object(ze.revokeBlobURL)(s)}void 0===b&&k(Object(ke._x)("Download","button label"))},[]),Object(je.useEffect)(()=>{o({fileId:"wp-block-file--media-"+l})},[l]);const w=O&&O.link,E=Object(we.useBlockProps)({className:tt()(Object(ze.isBlobURL)(s)&&Object(_e.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":Object(ze.isBlobURL)(s)})}),C=Uo()&&p;return!s||h?Object(je.createElement)("div",E,Object(je.createElement)(we.MediaPlaceholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:Ao}),labels:{title:Object(ke.__)("File"),instructions:Object(ke.__)("Upload a file or pick one from your media library.")},onSelect:f,notices:r,onError:_,accept:"*"})):Object(je.createElement)(je.Fragment,null,Object(je.createElement)(Go,{hrefs:{href:s,textLinkHref:u,attachmentPage:w},openInNewWindow:!!m,showDownloadButton:d,changeLinkDestinationOption:function(e){o({textLinkHref:e})},changeOpenInNewWindow:function(e){o({textLinkTarget:!!e&&"_blank"})},changeShowDownloadButton:function(e){o({showDownloadButton:e})},displayPreview:p,changeDisplayPreview:function(e){o({displayPreview:e})},previewHeight:g,changePreviewHeight:function(e){const t=Math.max(parseInt(e,10),Wo);o({previewHeight:t})}}),Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:c,mediaURL:s,accept:"*",onSelect:f,onError:_}),Object(je.createElement)(Zo,{text:s,disabled:Object(ze.isBlobURL)(s)})),Object(je.createElement)("div",E,C&&Object(je.createElement)(_e.ResizableBox,{size:{height:g},minHeight:Wo,maxHeight:$o,minWidth:"100%",grid:[10,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=>y(!1),onResizeStop:function(e,t,n,r){y(!0);const a=parseInt(g+r.height,10);o({previewHeight:a})},showHandle:n},Object(je.createElement)("object",{className:"wp-block-file__preview",data:s,type:"application/pdf","aria-label":Object(ke.__)("Embed of the selected PDF file.")}),!n&&Object(je.createElement)("div",{className:"wp-block-file__preview-overlay"})),Object(je.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(je.createElement)(we.RichText,{tagName:"a",value:i,placeholder:Object(ke.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:e=>o({fileName:e}),href:u}),d&&Object(je.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(je.createElement)(we.RichText,{tagName:"div","aria-label":Object(ke.__)("Download button text"),className:"wp-block-file__button",value:b,withoutInteractiveFormatting:!0,placeholder:Object(ke.__)("Add text…"),onChange:e=>k(e)})))))}));var Jo=n("Mmq9");var Qo={from:[{type:"files",isMatch:e=>e.length>0,priority:15,transform:e=>{const t=[];return e.forEach(e=>{const n=Object(ze.createBlobURL)(e);t.push(Object(Oe.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:e=>Object(Oe.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],transform:e=>Object(Oe.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],transform:e=>Object(Oe.createBlock)("core/file",{href:e.url,fileName:e.caption||Object(Jo.getFilename)(e.url),textLinkHref:e.url,id:e.id,anchor:e.anchor})}],to:[{type:"block",blocks:["core/audio"],isMatch:e=>{let{id:t}=e;if(!t)return!1;const{getMedia:n}=Object(Pe.select)(It.store),o=n(t);return!!o&&Object(Me.includes)(o.mime_type,"audio")},transform:e=>Object(Oe.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],isMatch:e=>{let{id:t}=e;if(!t)return!1;const{getMedia:n}=Object(Pe.select)(It.store),o=n(t);return!!o&&Object(Me.includes)(o.mime_type,"video")},transform:e=>Object(Oe.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],isMatch:e=>{let{id:t}=e;if(!t)return!1;const{getMedia:n}=Object(Pe.select)(It.store),o=n(t);return!!o&&Object(Me.includes)(o.mime_type,"image")},transform:e=>Object(Oe.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}]};const Yo={apiVersion:2,name:"core/file",title:"File",category:"media",description:"Add a link to a downloadable file.",keywords:["document","pdf","download"],textdomain:"default",attributes:{id:{type:"number"},href:{type:"string"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},viewScript:"file:./view.min.js",editorStyle:"wp-block-file-editor",style:"wp-block-file"},{name:Xo}=Yo,er={icon:Ao,example:{attributes:{href:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg",fileName:Object(ke._x)("Armstrong_Small_Step","Name of the file")}},transforms:Qo,deprecated:Fo,edit:Ko,save:function(e){let{attributes:t}=e;const{href:n,fileId:o,fileName:r,textLinkHref:a,textLinkTarget:l,showDownloadButton:c,downloadButtonText:i,displayPreview:s,previewHeight:u}=t,m=we.RichText.isEmpty(r)?Object(ke.__)("PDF embed"):Object(ke.sprintf)(Object(ke.__)("Embed of %s."),r);return n&&Object(je.createElement)("div",we.useBlockProps.save(),s&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)("object",{className:"wp-block-file__embed",data:n,type:"application/pdf",style:{width:"100%",height:u+"px"},"aria-label":m})),!we.RichText.isEmpty(r)&&Object(je.createElement)("a",{id:o,href:a,target:l,rel:l?"noreferrer noopener":void 0},Object(je.createElement)(we.RichText.Content,{value:r})),c&&Object(je.createElement)("a",{href:n,className:"wp-block-file__button",download:!0,"aria-describedby":o},Object(je.createElement)(we.RichText.Content,{value:i})))}};var tr=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"}));const nr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large";const n=Object(Me.pick)(e,["alt","id","link","caption"]);n.url=Object(Me.get)(e,["sizes",t,"url"])||Object(Me.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=Object(Me.get)(e,["sizes","full","url"])||Object(Me.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};function or(e){var t;return Math.min(3,null==e||null===(t=e.images)||void 0===t?void 0:t.length)}function rr(e,t){switch(t){case"file":return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:"media"};case"post":return{href:null==e?void 0:e.link,linkDestination:"attachment"};case"media":return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:"media"};case"attachment":return{href:null==e?void 0:e.link,linkDestination:"attachment"};case"none":return{href:void 0,linkDestination:"none"}}return{}}function ar(e){let t=e.linkTo?e.linkTo:"none";"post"===t?t="attachment":"file"===t&&(t="media");const n=e.images.map(n=>function(e,t,n){return Object(Oe.createBlock)("core/image",{...e.id&&{id:parseInt(e.id)},url:e.url,alt:e.alt,caption:e.caption,sizeSlug:t,...rr(e,n)})}(n,e.sizeSlug,t));return[{...Object(Me.omit)(e,["images","ids"]),linkTo:t,allowResize:!1},n]}var lr=[{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"}},supports:{anchor:!0,align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,caption:a,linkTo:l}=t,c=`columns-${o} ${r?"is-cropped":""}`;return Object(je.createElement)("figure",we.useBlockProps.save({className:c}),Object(je.createElement)("ul",{className:"blocks-gallery-grid"},n.map(e=>{let t;switch(l){case"file":t=e.fullUrl||e.url;break;case"post":t=e.link}const n=Object(je.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,!we.RichText.isEmpty(e.caption)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!we.RichText.isEmpty(a)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},migrate:e=>ar(e)},{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0},isEligible(e){let{linkTo:t}=e;return!t||"attachment"===t||"media"===t},migrate:e=>ar(e),save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,caption:a,linkTo:l}=t;return Object(je.createElement)("figure",{className:`columns-${o} ${r?"is-cropped":""}`},Object(je.createElement)("ul",{className:"blocks-gallery-grid"},n.map(e=>{let t;switch(l){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(je.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,!we.RichText.isEmpty(e.caption)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!we.RichText.isEmpty(a)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible(e){let{ids:t}=e;return t&&t.some(e=>"string"==typeof e)},migrate:e=>ar(e),save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,caption:a,linkTo:l}=t;return Object(je.createElement)("figure",{className:`columns-${o} ${r?"is-cropped":""}`},Object(je.createElement)("ul",{className:"blocks-gallery-grid"},n.map(e=>{let t;switch(l){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(je.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,!we.RichText.isEmpty(e.caption)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!we.RichText.isEmpty(a)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,linkTo:a}=t;return Object(je.createElement)("ul",{className:`columns-${o} ${r?"is-cropped":""}`},n.map(e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(je.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},migrate:e=>ar(e)},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible(e){let{images:t,ids:n}=e;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(Me.some)(t,(e,t)=>!e&&null!==n[t]||parseInt(e,10)!==n[t]))},migrate:e=>ar(e),supports:{align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,linkTo:a}=t;return Object(je.createElement)("ul",{className:`columns-${o} ${r?"is-cropped":""}`},n.map(e=>{let t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}const n=Object(je.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:e.caption})))}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),align:r,imageCrop:a,linkTo:l}=t,c=tt()("columns-"+o,{alignnone:"none"===r,"is-cropped":a});return Object(je.createElement)("div",{className:c},n.map(e=>{let t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}const n=Object(je.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(je.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(je.createElement)("a",{href:t},n):n)}))},migrate:e=>ar(e)}],cr=n("KEfo");const ir=Object(je.createElement)(we.BlockIcon,{icon:tr}),sr=["noreferrer","noopener"],ur=["image"];function mr(e,t){switch(t){case"file":case"media":return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:"media"};case"post":case"attachment":return{href:null==e?void 0:e.link,linkDestination:"attachment"};case"none":return{href:void 0,linkDestination:"none"}}return{}}function dr(e,t){let{rel:n}=t;const o=e?"_blank":void 0;let r;return r=o||n?function(e){let t=e;return void 0===e||Object(Me.isEmpty)(t)||Object(Me.isEmpty)(t)||(Object(Me.each)(sr,e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")}),t!==e&&(t=t.trim()),Object(Me.isEmpty)(t)&&(t=void 0)),t}(n):void 0,{linkTarget:o,rel:r}}const br=["core/image"];function pr(e){let{isHidden:t,captionFocused:n,onFocusCaption:o,className:r,value:a,placeholder:l,tagName:c,captionRef:i,...s}=e;return t?Object(je.createElement)(_e.VisuallyHidden,Object(mt.a)({as:we.RichText},s)):Object(je.createElement)(we.RichText,Object(mt.a)({ref:i,value:a,placeholder:l,className:r,tagName:c,isSelected:n,onClick:o},s))}var gr=e=>{const{attributes:t,isSelected:n,setAttributes:o,mediaPlaceholder:r,insertBlocksAfter:a,blockProps:l}=e,{align:c,columns:i,caption:s,imageCrop:u}=t,{children:m,...d}=Object(we.useInnerBlocksProps)(l,{allowedBlocks:br,orientation:"horizontal",renderAppender:!1,__experimentalLayout:{type:"default",alignments:[]}}),[b,p]=Object(je.useState)(!1);return Object(je.useEffect)(()=>{n||p(!1)},[n]),Object(je.createElement)("figure",Object(mt.a)({},d,{className:tt()(l.className,"blocks-gallery-grid",{["align"+c]:c,["columns-"+i]:void 0!==i,"columns-default":void 0===i,"is-cropped":u})}),m,Object(je.createElement)(ye.View,{className:"blocks-gallery-media-placeholder-wrapper",onClick:function(){b&&p(!1)}},r),Object(je.createElement)(pr,{isHidden:!n&&we.RichText.isEmpty(s),captionFocused:b,onFocusCaption:function(){b||p(!0)},tagName:"figcaption",className:"blocks-gallery-caption","aria-label":Object(ke.__)("Gallery caption text"),placeholder:Object(ke.__)("Write gallery caption…"),value:s,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>a(Object(Oe.createBlock)("core/paragraph"))}))};function hr(e,t,n){return Object(je.useMemo)(()=>function(){if(!e||0===e.length)return;const{imageSizes:o}=n();let r={};t&&(r=e.reduce((e,t)=>{if(!t.id)return e;const n=o.reduce((e,n)=>{const o=Object(Me.get)(t,["sizes",n.slug,"url"]),r=Object(Me.get)(t,["media_details","sizes",n.slug,"source_url"]);return{...e,[n.slug]:o||r}},{});return{...e,[parseInt(t.id,10)]:n}},{}));return o.filter(e=>{let{slug:t}=e;return Object(Me.some)(r,e=>e[t])}).map(e=>{let{name:t,slug:n}=e;return{value:n,label:t}})}(),[e,t])}function vr(e,t){const[n,o]=Object(je.useState)([]);return Object(je.useMemo)(()=>function(){let r=!1;const a=n.filter(t=>e.find(e=>t.clientId===e.clientId));a.length<n.length&&(r=!0);e.forEach(e=>{e.fromSavedContent&&!a.find(t=>t.id===e.id)&&(r=!0,a.push(e))});const l=e.filter(e=>!a.find(t=>e.clientId&&t.clientId===e.clientId)&&(null==t?void 0:t.find(t=>t.id===e.id))&&!e.fromSavedConent);(r||(null==l?void 0:l.length)>0)&&o([...a,...l]);return l.length>0?l:null}(),[e,t])}const Or=[{value:"attachment",label:Object(ke.__)("Attachment Page")},{value:"media",label:Object(ke.__)("Media File")},{value:"none",label:Object(ke._x)("None","Media item link option")}],jr=["image"],yr=je.Platform.isNative?Object(ke.__)("ADD MEDIA"):Object(ke.__)("Drag images, upload new ones or select files from your library."),fr=je.Platform.isNative?{type:"stepper"}:{};var _r=Object(nt.compose)([_e.withNotices,Object(cr.withViewportMatch)({isNarrow:"< small"})])((function(e){const{setAttributes:t,attributes:n,className:o,clientId:r,noticeOperations:a,isSelected:l,noticeUI:c,insertBlocksAfter:i}=e,{columns:s,imageCrop:u,linkTarget:m,linkTo:d,shortCodeTransforms:b,sizeSlug:p}=n,{__unstableMarkNextChangeAsNotPersistent:g,replaceInnerBlocks:h,updateBlockAttributes:v}=Object(Pe.useDispatch)(we.store),{createSuccessNotice:O}=Object(Pe.useDispatch)(Do.store),{getBlock:j,getSettings:y,preferredStyle:f}=Object(Pe.useSelect)(e=>{var t;const n=e(we.store).getSettings().__experimentalPreferredStyleVariations;return{getBlock:e(we.store).getBlock,getSettings:e(we.store).getSettings,preferredStyle:null==n||null===(t=n.value)||void 0===t?void 0:t["core/image"]}},[]),_=Object(Pe.useSelect)(e=>{var t;return null===(t=e(we.store).getBlock(r))||void 0===t?void 0:t.innerBlocks},[r]),k=Object(je.useMemo)(()=>null==_?void 0:_.map(e=>({clientId:e.clientId,id:e.attributes.id,url:e.attributes.url,attributes:e.attributes,fromSavedContent:Boolean(e.originalContent)})),[_]),w=function(e){const[t,n]=Object(je.useState)([]),o=Object(Pe.useSelect)(n=>{if(null==e||!e.length)return t;const o=e.map(e=>e.attributes.id).filter(e=>void 0!==e);return 0===o.length?t:n(It.store).getMediaItems({include:o.join(","),per_page:-1})},[e]);return(null==o?void 0:o.length)!==(null==t?void 0:t.length)||null!=o&&o.some(e=>!t.find(t=>t.id===e.id))?(n(o),o):t}(_),E=vr(k,w);Object(je.useEffect)(()=>{null==E||E.forEach(e=>{v(e.clientId,{...S(e.attributes),id:e.id,align:void 0})})},[E]);const C=function(e){const t=Object(Pe.useSelect)(t=>{if(!e||0===e.length)return;const n=t(It.store).getMedia;return e.map(e=>{const t=n(e.id);if(t)return{id:t.id,type:"image",url:t.source_url,mime:t.mime_type,alt:t.alt_text,link:t.link}})},[e]);if(t)return Object(Me.every)(t,e=>e&&e.url)?t:void 0}(b);Object(je.useEffect)(()=>{b&&C&&(T(C),t({shortCodeTransforms:void 0}))},[b,C]);const x=hr(w,l,y);function S(e){const t=e.id?Object(Me.find)(w,{id:e.id}):null;let o;return o=e.className&&""!==e.className?e.className:f?"is-style-"+f:void 0,{...nr(e,p),...mr(t,d),...dr(m,n),className:o,sizeSlug:p}}function B(e){var t;return jr.some(t=>{var n;return 0===(null===(n=e.type)||void 0===n?void 0:n.indexOf(t))})||0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))}function T(e){const t="[object FileList]"===Object.prototype.toString.call(e),n=t?Array.from(e).map(e=>e.url?e:nr({url:Object(ze.createBlobURL)(e)})):e;n.every(B)||(a.removeAllNotices(),a.createErrorNotice(Object(ke.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-upload-invalid-file"}));const o=n.filter(e=>e.url||B(e)).map(e=>e.url?e:nr({url:Object(ze.createBlobURL)(e)})),l=o.reduce((e,t,n)=>(e[t.id]=n,e),{}),c=t?_:_.filter(e=>o.find(t=>t.id===e.attributes.id)),i=o.filter(e=>!c.find(t=>e.id===t.attributes.id)).map(e=>Object(Oe.createBlock)("core/image",{id:e.id,url:e.url,caption:e.caption,alt:e.alt}));h(r,Object(Me.concat)(c,i).sort((e,t)=>l[e.attributes.id]-l[t.attributes.id]))}Object(je.useEffect)(()=>{var e,n,o,r,a,l;d||(g(),t({linkTo:(null===(e=window)||void 0===e||null===(n=e.wp)||void 0===n||null===(o=n.media)||void 0===o||null===(r=o.view)||void 0===r||null===(a=r.settings)||void 0===a||null===(l=a.defaultProps)||void 0===l?void 0:l.link)||"none"}))},[d]);const N=!!k.length,z=N&&k.some(e=>!!e.id),P=k.some(e=>{var t;return!e.id&&0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))}),I=Object(je.createElement)(we.MediaPlaceholder,{addToGallery:z,handleUpload:!1,isAppender:N,disableMediaButtons:N&&!l||P,icon:!N&&ir,labels:{title:!N&&Object(ke.__)("Gallery"),instructions:!N&&yr},onSelect:T,accept:"image/*",allowedTypes:jr,multiple:!0,value:z?k:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:N?void 0:c}),M=Object(we.useBlockProps)({className:tt()(o,"has-nested-images")});if(!N)return Object(je.createElement)(ye.View,M,I);const R=d&&"none"!==d;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Gallery settings")},k.length>1&&Object(je.createElement)(_e.RangeControl,Object(mt.a)({label:Object(ke.__)("Columns"),value:s||(L=k.length,L?Math.min(3,L):3),onChange:function(e){t({columns:e})},min:1,max:Math.min(8,k.length)},fr,{required:!0})),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Crop images"),checked:!!u,onChange:function(){t({imageCrop:!u})},help:function(e){return e?Object(ke.__)("Thumbnails are cropped to align."):Object(ke.__)("Thumbnails are not cropped.")}}),Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Link to"),value:d,onChange:function(e){t({linkTo:e});const n={},o=[];j(r).innerBlocks.forEach(t=>{o.push(t.clientId);const r=t.attributes.id?Object(Me.find)(w,{id:t.attributes.id}):null;n[t.clientId]=mr(r,e)}),v(o,n,!0);const a=[...Or].find(t=>t.value===e);O(Object(ke.sprintf)(Object(ke.__)("All gallery image links updated to: %s"),a.label),{id:"gallery-attributes-linkTo",type:"snackbar"})},options:Or,hideCancelButton:!0}),R&&Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Open in new tab"),checked:"_blank"===m,onChange:function(e){const n=e?"_blank":void 0;t({linkTarget:n});const o={},a=[];j(r).innerBlocks.forEach(e=>{a.push(e.clientId),o[e.clientId]=dr(n,e.attributes)}),v(a,o,!0);const l=e?Object(ke.__)("All gallery images updated to open in new tab"):Object(ke.__)("All gallery images updated to not open in new tab");O(l,{id:"gallery-attributes-openInNewTab",type:"snackbar"})}}),(null==x?void 0:x.length)>0&&Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Image size"),value:p,options:x,onChange:function(e){t({sizeSlug:e});const n={},o=[];j(r).innerBlocks.forEach(t=>{o.push(t.clientId);const r=t.attributes.id?Object(Me.find)(w,{id:t.attributes.id}):null;n[t.clientId]=function(e,t){const n=Object(Me.get)(e,["media_details","sizes",t,"source_url"]);return n?{url:n,width:void 0,height:void 0,sizeSlug:t}:{}}(r,e)}),v(o,n,!0);const a=x.find(t=>t.value===e);O(Object(ke.sprintf)(Object(ke.__)("All gallery image sizes updated to: %s"),a.label),{id:"gallery-attributes-sizeSlug",type:"snackbar"})},hideCancelButton:!0}),je.Platform.isWeb&&!x&&z&&Object(je.createElement)(_e.BaseControl,{className:"gallery-image-sizes"},Object(je.createElement)(_e.BaseControl.VisualLabel,null,Object(ke.__)("Image size")),Object(je.createElement)(ye.View,{className:"gallery-image-sizes__loading"},Object(je.createElement)(_e.Spinner,null),Object(ke.__)("Loading options…"))))),c,Object(je.createElement)(gr,Object(mt.a)({},e,{images:k,mediaPlaceholder:I,blockProps:M,insertBlocksAfter:i})));var L}));const kr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large";const n=Object(Me.pick)(e,["alt","id","link","caption"]);n.url=Object(Me.get)(e,["sizes",t,"url"])||Object(Me.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=Object(Me.get)(e,["sizes","full","url"])||Object(Me.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};var wr=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),Er=n("2gm7"),Cr=n("1iEr"),xr=n("bWcr");class Sr extends je.Component{constructor(){super(...arguments),this.onSelectImage=this.onSelectImage.bind(this),this.onRemoveImage=this.onRemoveImage.bind(this),this.bindContainer=this.bindContainer.bind(this),this.onEdit=this.onEdit.bind(this),this.onSelectImageFromLibrary=this.onSelectImageFromLibrary.bind(this),this.onSelectCustomURL=this.onSelectCustomURL.bind(this),this.state={isEditing:!1}}bindContainer(e){this.container=e}onSelectImage(){this.props.isSelected||this.props.onSelect()}onRemoveImage(e){this.container===this.container.ownerDocument.activeElement&&this.props.isSelected&&-1!==[dt.BACKSPACE,dt.DELETE].indexOf(e.keyCode)&&(e.preventDefault(),this.props.onRemove())}onEdit(){this.setState({isEditing:!0})}componentDidUpdate(){const{image:e,url:t,__unstableMarkNextChangeAsNotPersistent:n}=this.props;e&&!t&&(n(),this.props.setAttributes({url:e.source_url,alt:e.alt_text}))}deselectOnBlur(){this.props.onDeselect()}onSelectImageFromLibrary(e){const{setAttributes:t,id:n,url:o,alt:r,caption:a,sizeSlug:l}=this.props;if(!e||!e.url)return;let c=kr(e,l);((e,t)=>!e&&Object(ze.isBlobURL)(t))(n,o)&&r&&(c=Object(Me.omit)(c,["alt"])),a&&!Object(Me.get)(c,["caption"])&&(c=Object(Me.omit)(c,["caption"])),t(c),this.setState({isEditing:!1})}onSelectCustomURL(e){const{setAttributes:t,url:n}=this.props;e!==n&&(t({url:e,id:void 0}),this.setState({isEditing:!1}))}render(){const{url:e,alt:t,id:n,linkTo:o,link:r,isFirstItem:a,isLastItem:l,isSelected:c,caption:i,onRemove:s,onMoveForward:u,onMoveBackward:m,setAttributes:d,"aria-label":b}=this.props,{isEditing:p}=this.state;let g;switch(o){case"file":g=e;break;case"post":g=r}const h=Object(je.createElement)(je.Fragment,null,Object(je.createElement)("img",{src:e,alt:t,"data-id":n,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":b,ref:this.bindContainer}),Object(ze.isBlobURL)(e)&&Object(je.createElement)(_e.Spinner,null)),v=tt()({"is-selected":c,"is-transient":Object(ze.isBlobURL)(e)});return Object(je.createElement)("figure",{className:v,onClick:this.onSelectImage,onFocus:this.onSelectImage},!p&&(g?Object(je.createElement)("a",{href:g},h):h),p&&Object(je.createElement)(we.MediaPlaceholder,{labels:{title:Object(ke.__)("Edit gallery image")},icon:wr,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:n,src:e}}),Object(je.createElement)(_e.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},Object(je.createElement)(_e.Button,{icon:Er.a,onClick:a?void 0:m,label:Object(ke.__)("Move image backward"),"aria-disabled":a,disabled:!c}),Object(je.createElement)(_e.Button,{icon:Cr.a,onClick:l?void 0:u,label:Object(ke.__)("Move image forward"),"aria-disabled":l,disabled:!c})),Object(je.createElement)(_e.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},Object(je.createElement)(_e.Button,{icon:to.a,onClick:this.onEdit,label:Object(ke.__)("Replace image"),disabled:!c}),Object(je.createElement)(_e.Button,{icon:xr.a,onClick:s,label:Object(ke.__)("Remove image"),disabled:!c})),!p&&(c||i)&&Object(je.createElement)(we.RichText,{tagName:"figcaption","aria-label":Object(ke.__)("Image caption text"),placeholder:c?Object(ke.__)("Add caption"):null,value:i,onChange:e=>d({caption:e}),inlineToolbar:!0}))}}var Br=Object(nt.compose)([Object(Pe.withSelect)((e,t)=>{const{getMedia:n}=e(It.store),{id:o}=t;return{image:o?n(parseInt(o,10)):null}}),Object(Pe.withDispatch)(e=>{const{__unstableMarkNextChangeAsNotPersistent:t}=e(we.store);return{__unstableMarkNextChangeAsNotPersistent:t}})])(Sr);function Tr(e){let{isHidden:t,...n}=e;return t?Object(je.createElement)(_e.VisuallyHidden,Object(mt.a)({as:we.RichText},n)):Object(je.createElement)(we.RichText,n)}var Nr=e=>{const{attributes:t,isSelected:n,setAttributes:o,selectedImage:r,mediaPlaceholder:a,onMoveBackward:l,onMoveForward:c,onRemoveImage:i,onSelectImage:s,onDeselectImage:u,onSetImageAttributes:m,insertBlocksAfter:d,blockProps:b}=e,{align:p,columns:g=or(t),caption:h,imageCrop:v,images:O}=t;return Object(je.createElement)("figure",Object(mt.a)({},b,{className:tt()(b.className,{["align"+p]:p,["columns-"+g]:g,"is-cropped":v})}),Object(je.createElement)("ul",{className:"blocks-gallery-grid"},O.map((e,o)=>{const a=Object(ke.sprintf)(Object(ke.__)("image %1$d of %2$d in gallery"),o+1,O.length);return Object(je.createElement)("li",{className:"blocks-gallery-item",key:e.id?`${e.id}-${o}`:e.url},Object(je.createElement)(Br,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===o,isLastItem:o+1===O.length,isSelected:n&&r===o,onMoveBackward:l(o),onMoveForward:c(o),onRemove:i(o),onSelect:s(o),onDeselect:u(o),setAttributes:e=>m(o,e),caption:e.caption,"aria-label":a,sizeSlug:t.sizeSlug}))})),a,Object(je.createElement)(Tr,{isHidden:!n&&we.RichText.isEmpty(h),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":Object(ke.__)("Gallery caption text"),placeholder:Object(ke.__)("Write gallery caption…"),value:h,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>d(Object(Oe.createBlock)("core/paragraph"))}))};const zr=[{value:"post",label:Object(ke.__)("Attachment Page")},{value:"file",label:Object(ke.__)("Media File")},{value:"none",label:Object(ke.__)("None")}],Pr=["image"],Ir=je.Platform.select({web:Object(ke.__)("Drag images, upload new ones or select files from your library."),native:Object(ke.__)("ADD MEDIA")}),Mr=je.Platform.select({web:{},native:{type:"stepper"}});Object(nt.compose)([_e.withNotices,Object(cr.withViewportMatch)({isNarrow:"< small"})])((function(e){const{attributes:t,clientId:n,isSelected:o,noticeUI:r,noticeOperations:a,onFocus:l}=e,{columns:c=or(t),imageCrop:i,images:s,linkTo:u,sizeSlug:m}=t,[d,b]=Object(je.useState)(),[p,g]=Object(je.useState)(),{__unstableMarkNextChangeAsNotPersistent:h}=Object(Pe.useDispatch)(we.store),{imageSizes:v,mediaUpload:O,getMedia:j,wasBlockJustInserted:y}=Object(Pe.useSelect)(e=>{const t=e(we.store).getSettings();return{imageSizes:t.imageSizes,mediaUpload:t.mediaUpload,getMedia:e(It.store).getMedia,wasBlockJustInserted:e(we.store).wasBlockJustInserted(n,"inserter_menu")}}),f=Object(je.useMemo)(()=>o?Object(Me.reduce)(t.ids,(e,t)=>{if(!t)return e;const n=j(t),o=Object(Me.reduce)(v,(e,t)=>{const o=Object(Me.get)(n,["sizes",t.slug,"url"]),r=Object(Me.get)(n,["media_details","sizes",t.slug,"source_url"]);return{...e,[t.slug]:o||r}},{});return{...e,[parseInt(t,10)]:o}},{}):{},[o,t.ids,v]);function _(t){if(t.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');t.images&&(t={...t,ids:Object(Me.map)(t.images,e=>{let{id:t}=e;return parseInt(t,10)})}),e.setAttributes(t)}function k(e,t){const n=[...s];n.splice(t,1,s[e]),n.splice(e,1,s[t]),b(t),_({images:n})}function w(e){const t=Object(Me.toString)(e.id),n=Object(Me.find)(s,{id:t}),o=n?n.caption:e.caption;if(!p)return o;const r=Object(Me.find)(p,{id:t});return r&&r.caption!==e.caption?e.caption:o}function E(e){g(e.map(e=>({id:Object(Me.toString)(e.id),caption:e.caption}))),_({images:e.map(e=>({...kr(e,m),caption:w(e),id:Object(Me.toString)(e.id)})),columns:t.columns?Math.min(e.length,t.columns):t.columns})}Object(je.useEffect)(()=>{if("web"===je.Platform.OS&&s&&s.length>0&&Object(Me.every)(s,e=>{let{url:t}=e;return Object(ze.isBlobURL)(t)})){const e=Object(Me.map)(s,e=>{let{url:t}=e;return Object(ze.getBlobByURL)(t)});Object(Me.forEach)(s,e=>{let{url:t}=e;return Object(ze.revokeBlobURL)(t)}),O({filesList:e,onFileChange:E,allowedTypes:["image"]})}},[]),Object(je.useEffect)(()=>{o||b()},[o]),Object(je.useEffect)(()=>{var e,t,n,o,r,a;u||(h(),_({linkTo:(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t||null===(n=t.media)||void 0===n||null===(o=n.view)||void 0===o||null===(r=o.settings)||void 0===r||null===(a=r.defaultProps)||void 0===a?void 0:a.link)||"none"}))},[u]);const C=!!s.length,x=C&&s.some(e=>!!e.id),S=Object(je.createElement)(we.MediaPlaceholder,{addToGallery:x,isAppender:C,disableMediaButtons:C&&!o,icon:!C&&ir,labels:{title:!C&&Object(ke.__)("Gallery"),instructions:!C&&Ir},onSelect:E,accept:"image/*",allowedTypes:Pr,multiple:!0,value:x?s:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:C?void 0:r,onFocus:l,autoOpenMediaUpload:!C&&o&&y}),B=Object(we.useBlockProps)();if(!C)return Object(je.createElement)(ye.View,B,S);const T=Object(Me.map)(Object(Me.filter)(v,e=>{let{slug:t}=e;return Object(Me.some)(f,e=>e[t])}),e=>{let{name:t,slug:n}=e;return{value:n,label:t}}),N=C&&!Object(Me.isEmpty)(T);return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Gallery settings")},s.length>1&&Object(je.createElement)(_e.RangeControl,Object(mt.a)({label:Object(ke.__)("Columns"),value:c,onChange:function(e){_({columns:e})},min:1,max:Math.min(8,s.length)},Mr,{required:!0})),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Crop images"),checked:!!i,onChange:function(){_({imageCrop:!i})},help:function(e){return e?Object(ke.__)("Thumbnails are cropped to align."):Object(ke.__)("Thumbnails are not cropped.")}}),Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Link to"),value:u,onChange:function(e){_({linkTo:e})},options:zr,hideCancelButton:!0}),N&&Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Image size"),value:m,options:T,onChange:function(e){_({images:Object(Me.map)(s,t=>{if(!t.id)return t;const n=Object(Me.get)(f,[parseInt(t.id,10),e]);return{...t,...n&&{url:n}}}),sizeSlug:e})},hideCancelButton:!0}))),r,Object(je.createElement)(Nr,Object(mt.a)({},e,{selectedImage:d,mediaPlaceholder:S,onMoveBackward:function(e){return()=>{0!==e&&k(e,e-1)}},onMoveForward:function(e){return()=>{e!==s.length-1&&k(e,e+1)}},onRemoveImage:function(e){return()=>{const n=Object(Me.filter)(s,(t,n)=>e!==n);b(),_({images:n,columns:t.columns?Math.min(n.length,t.columns):t.columns})}},onSelectImage:function(e){return()=>{b(e)}},onDeselectImage:function(){return()=>{b()}},onSetImageAttributes:function(e,t){s[e]&&_({images:[...s.slice(0,e),{...s[e],...t},...s.slice(e+1)]})},blockProps:B,onFocusGalleryCaption:function(){b()}})))}));var Rr=Object(nt.compose)([_e.withNotices])((function(e){return Object(je.createElement)(_r,e)}));var Lr=n("g56x");const Vr=e=>e?e.split(",").map(e=>parseInt(e,10)):[];Object(Lr.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-to",(function(e){var t;if("core/gallery"===e.name&&(null===(t=e.attributes)||void 0===t?void 0:t.images.length)>0){const t=e.attributes.images.map(t=>{let{url:n,id:o,alt:r}=t;return Object(Oe.createBlock)("core/image",{url:n,id:o?parseInt(o,10):null,alt:r,sizeSlug:e.attributes.sizeSlug,linkDestination:e.attributes.linkDestination})});delete e.attributes.ids,delete e.attributes.images,e.innerBlocks=t}return e})),Object(Lr.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-from",(function(e,t){const n=(Array.isArray(t)?t:[t]).find(t=>{var n;return"core/gallery"===t.name&&t.innerBlocks.length>0&&!(null!==(n=t.attributes.images)&&void 0!==n&&n.length)>0&&!e.name.includes("core/")});if(n){const e=n.innerBlocks.map(e=>{let{attributes:{url:t,id:n,alt:o}}=e;return{url:t,id:n?parseInt(n,10):null,alt:o}}),t=e.map(e=>{let{id:t}=e;return t});n.attributes.images=e,n.attributes.ids=t}return e}));var Hr={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t,sizeSlug:n}=e[0];t=Object(Me.every)(e,["align",t])?t:void 0,n=Object(Me.every)(e,["sizeSlug",n])?n:void 0;const o=Object(Me.filter)(e,e=>{let{url:t}=e;return t});{const e=o.map(e=>Object(Oe.createBlock)("core/image",e));return Object(Oe.createBlock)("core/gallery",{align:t,sizeSlug:n},e)}}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:e=>{let{named:{ids:t}}=e}},ids:{type:"array",shortcode:e=>{let{named:{ids:t}}=e}},shortCodeTransforms:{type:"array",shortcode:e=>{let{named:{ids:t}}=e;return Vr(t).map(e=>({id:parseInt(e)}))}},columns:{type:"number",shortcode:e=>{let{named:{columns:t="3"}}=e;return parseInt(t,10)}},linkTo:{type:"string",shortcode:e=>{let{named:{link:t}}=e;switch(t){case"post":return"attachment";case"file":return"media";default:return"none"}}}},isMatch(e){let{named:t}=e;return void 0!==t.ids}},{type:"files",priority:1,isMatch:e=>1!==e.length&&Object(Me.every)(e,e=>0===e.type.indexOf("image/")),transform(e){{const t=e.map(e=>Object(Oe.createBlock)("core/image",{url:Object(ze.createBlobURL)(e)}));return Object(Oe.createBlock)("core/gallery",{},t)}}}],to:[{type:"block",blocks:["core/image"],transform:(e,t)=>{let{align:n,images:o,ids:r,sizeSlug:a}=e;return t.length>0?t.map(e=>{let{attributes:{id:t,url:o,alt:r,caption:a,sizeSlug:l,linkDestination:c,href:i,linkTarget:s}}=e;return Object(Oe.createBlock)("core/image",{id:t,url:o,alt:r,caption:a,sizeSlug:l,align:n,linkDestination:c,href:i,linkTarget:s})}):Object(Oe.createBlock)("core/image",{align:n})}}]};const Ar={apiVersion:2,name:"core/gallery",title:"Gallery",category:"media",description:"Display multiple images in a rich gallery.",keywords:["images","photos"],textdomain:"default",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},shortCodeTransforms:{type:"array",default:[],items:{type:"object"}},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},fixedHeight:{type:"boolean",default:!0},linkTarget:{type:"string"},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"},allowResize:{type:"boolean",default:!1}},providesContext:{allowResize:"allowResize",imageCrop:"imageCrop",fixedHeight:"fixedHeight"},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},{name:Fr}=Ar,Dr={icon:tr,example:{attributes:{columns:2},innerBlocks:[{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}}]},transforms:Hr,edit:Rr,save:function(e){let{attributes:t}=e;const{caption:n,columns:o,imageCrop:r}=t,a=tt()("has-nested-images",{["columns-"+o]:void 0!==o,"columns-default":void 0===o,"is-cropped":r}),l=we.useBlockProps.save({className:a}),c=we.useInnerBlocksProps.save(l);return Object(je.createElement)("figure",c,c.children,!we.RichText.isEmpty(n)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:n}))},deprecated:lr};var Gr=n("u6za");const Ur=e=>{if(e.tagName||(e={...e,tagName:"div"}),!e.customTextColor&&!e.customBackgroundColor)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),{...Object(Me.omit)(e,["customTextColor","customBackgroundColor"]),style:t}};var qr=[{attributes:{tagName:{type:"string",default:"div"},templateLock:{type:"string"}},supports:{align:["wide","full"],anchor:!0,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{radius:!0}},save(e){let{attributes:t}=e;const{tagName:n}=t;return Object(je.createElement)(n,we.useBlockProps.save(),Object(je.createElement)("div",{className:"wp-block-group__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:Ur,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,textColor:r,customTextColor:a}=t,l=Object(we.getColorClassName)("background-color",n),c=Object(we.getColorClassName)("color",r),i=tt()(l,c,{"has-text-color":r||a,"has-background":n||o}),s={backgroundColor:l?void 0:o,color:c?void 0:a};return Object(je.createElement)("div",{className:i,style:s},Object(je.createElement)("div",{className:"wp-block-group__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:Ur,supports:{align:["wide","full"],anchor:!0,html:!1},save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,textColor:r,customTextColor:a}=t,l=Object(we.getColorClassName)("background-color",n),c=Object(we.getColorClassName)("color",r),i=tt()(l,{"has-text-color":r||a,"has-background":n||o}),s={backgroundColor:l?void 0:o,color:c?void 0:a};return Object(je.createElement)("div",{className:i,style:s},Object(je.createElement)("div",{className:"wp-block-group__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:Ur,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o}=t,r=Object(we.getColorClassName)("background-color",n),a=tt()(r,{"has-background":n||o}),l={backgroundColor:r?void 0:o};return Object(je.createElement)("div",{className:a,style:l},Object(je.createElement)(we.InnerBlocks.Content,null))}}];const Wr={header:Object(ke.__)("The <header> element should represent introductory content, typically a group of introductory or navigational aids."),main:Object(ke.__)("The <main> element should be used for the primary content of your document only. "),section:Object(ke.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element."),article:Object(ke.__)("The <article> element should represent a self contained, syndicatable portion of the document."),aside:Object(ke.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),footer:Object(ke.__)("The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).")};var $r=function(e){let{attributes:t,setAttributes:n,clientId:o}=e;const{hasInnerBlocks:r,themeSupportsLayout:a}=Object(Pe.useSelect)(e=>{var t;const{getBlock:n,getSettings:r}=e(we.store),a=n(o);return{hasInnerBlocks:!(!a||!a.innerBlocks.length),themeSupportsLayout:null===(t=r())||void 0===t?void 0:t.supportsLayout}},[o]),l=Object(we.useSetting)("layout")||{},{tagName:c="div",templateLock:i,layout:s={}}=t,u=s&&s.inherit?l:s,{type:m="default"}=u,d=a||"default"!==m,b=Object(we.useBlockProps)(),p=Object(we.useInnerBlocksProps)(d?b:{className:"wp-block-group__inner-container"},{templateLock:i,renderAppender:r?void 0:we.InnerBlocks.ButtonBlockAppender,__experimentalLayout:d?u:void 0});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"advanced"},Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("HTML element"),options:[{label:Object(ke.__)("Default (<div>)"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}],value:c,onChange:e=>n({tagName:e}),help:Wr[c]})),d&&Object(je.createElement)(c,p),!d&&Object(je.createElement)(c,b,Object(je.createElement)("div",p)))};var Zr=[{name:"group-row",title:Object(ke.__)("Row"),description:Object(ke.__)("Blocks shown in a row."),attributes:{layout:{type:"flex",allowOrientation:!1}},scope:["inserter"],isActive:e=>{var t;return"flex"===(null===(t=e.layout)||void 0===t?void 0:t.type)}}];const Kr={apiVersion:2,name:"core/group",title:"Group",category:"design",description:"Combine blocks into a group.",keywords:["container","wrapper","row","section"],textdomain:"default",attributes:{tagName:{type:"string",default:"div"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{align:["wide","full"],anchor:!0,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},__experimentalLayout:!0},editorStyle:"wp-block-group-editor",style:"wp-block-group"},{name:Jr}=Kr,Qr={icon:Gr.a,example:{attributes:{style:{color:{text:"#000000",background:"#ffffff"}}},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:Object(ke.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:Object(ke.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:Object(ke.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:Object(ke.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:Object(ke.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:Object(ke.__)("Six.")}}]},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(1===e.length&&"core/group"===e[0].name)return;const t=["wide","full"],n=e.reduce((e,n)=>{const{align:o}=n.attributes;return t.indexOf(o)>t.indexOf(e)?o:e},void 0),o=e.map(e=>Object(Oe.createBlock)(e.name,e.attributes,e.innerBlocks));return Object(Oe.createBlock)("core/group",{align:n},o)}}]},edit:$r,save:function(e){let{attributes:{tagName:t}}=e;return Object(je.createElement)(t,we.useInnerBlocksProps.save(we.useBlockProps.save()))},deprecated:qr,variations:Zr};var Yr=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"}));const Xr={className:!1,anchor:!0},ea={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},ta=e=>{if(!e.customTextColor)return e;const t={color:{text:e.customTextColor}};return{...Object(Me.omit)(e,["customTextColor"]),style:t}},na=["left","right","center"],oa=e=>{const{align:t,...n}=e;return na.includes(t)?{...n,textAlign:t}:e};var ra=[{supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},fontSize:!0,lineHeight:!0,__experimentalSelector:{"core/heading/h1":"h1","core/heading/h2":"h2","core/heading/h3":"h3","core/heading/h4":"h4","core/heading/h5":"h5","core/heading/h6":"h6"},__unstablePasteTextInline:!0},attributes:ea,isEligible:e=>{let{align:t}=e;return na.includes(t)},migrate:oa,save(e){let{attributes:t}=e;const{align:n,content:o,level:r}=t,a="h"+r,l=tt()({["has-text-align-"+n]:n});return Object(je.createElement)(a,we.useBlockProps.save({className:l}),Object(je.createElement)(we.RichText.Content,{value:o}))}},{supports:Xr,attributes:{...ea,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>ta(oa(e)),save(e){let{attributes:t}=e;const{align:n,content:o,customTextColor:r,level:a,textColor:l}=t,c="h"+a,i=Object(we.getColorClassName)("color",l),s=tt()({[i]:i,"has-text-color":l||r,["has-text-align-"+n]:n});return Object(je.createElement)(we.RichText.Content,{className:s||void 0,tagName:c,style:{color:i?void 0:r},value:o})}},{attributes:{...ea,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>ta(oa(e)),save(e){let{attributes:t}=e;const{align:n,content:o,customTextColor:r,level:a,textColor:l}=t,c="h"+a,i=Object(we.getColorClassName)("color",l),s=tt()({[i]:i,["has-text-align-"+n]:n});return Object(je.createElement)(we.RichText.Content,{className:s||void 0,tagName:c,style:{color:i?void 0:r},value:o})},supports:Xr},{supports:Xr,attributes:{...ea,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>ta(oa(e)),save(e){let{attributes:t}=e;const{align:n,level:o,content:r,textColor:a,customTextColor:l}=t,c="h"+o,i=Object(we.getColorClassName)("color",a),s=tt()({[i]:i});return Object(je.createElement)(we.RichText.Content,{className:s||void 0,tagName:c,style:{textAlign:n,color:i?void 0:l},value:r})}}];function aa(e){let{level:t,isPressed:n=!1}=e;const o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?Object(je.createElement)(_e.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},Object(je.createElement)(_e.Path,{d:o[t]})):null}const la=[1,2,3,4,5,6],ca={className:"block-library-heading-level-dropdown"};function ia(e){let{selectedLevel:t,onChange:n}=e;return Object(je.createElement)(_e.ToolbarDropdownMenu,{popoverProps:ca,icon:Object(je.createElement)(aa,{level:t}),label:Object(ke.__)("Change heading level"),controls:la.map(e=>{{const o=e===t;return{icon:Object(je.createElement)(aa,{level:e,isPressed:o}),label:Object(ke.sprintf)(Object(ke.__)("Heading %d"),e),isActive:o,onClick(){n(e)}}}})})}const sa={},ua=e=>Object(Me.trim)(Object(Me.deburr)((e=>{const t=document.createElement("div");return t.innerHTML=e,t.innerText})(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase(),"-"),ma=(e,t)=>{const n=ua(t);if(""===n)return null;delete sa[e];let o=n,r=0;for(;Object.values(sa).includes(o);)r+=1,o=n+"-"+r;return o},da=(e,t)=>{sa[e]=t};var ba=function(e){let{attributes:t,setAttributes:n,mergeBlocks:o,onReplace:r,style:a,clientId:l}=e;const{textAlign:c,content:i,level:s,placeholder:u,anchor:m}=t,d="h"+s,b=Object(we.useBlockProps)({className:tt()({["has-text-align-"+c]:c}),style:a}),{canGenerateAnchors:p}=Object(Pe.useSelect)(e=>({canGenerateAnchors:!!e(we.store).getSettings().__experimentalGenerateAnchors}),[]),{__unstableMarkNextChangeAsNotPersistent:g}=Object(Pe.useDispatch)(we.store);return Object(je.useEffect)(()=>{if(p)return!m&&i&&(g(),n({anchor:ma(l,i)})),da(l,m),()=>da(l,null)},[m,i,l,p]),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(ia,{selectedLevel:s,onChange:e=>n({level:e})}),Object(je.createElement)(we.AlignmentControl,{value:c,onChange:e=>{n({textAlign:e})}})),Object(je.createElement)(we.RichText,Object(mt.a)({identifier:"content",tagName:d,value:i,onChange:e=>{const t={content:e};!p||m&&e&&ma(l,i)!==m||(t.anchor=ma(l,e)),n(t)},onMerge:o,onSplit:(e,n)=>{let o;var r;n||e?o=Object(Oe.createBlock)("core/heading",{...t,content:e}):o=Object(Oe.createBlock)(null!==(r=Object(Oe.getDefaultBlockName)())&&void 0!==r?r:"core/heading");return n&&(o.clientId=l),o},onReplace:r,onRemove:()=>r([]),"aria-label":Object(ke.__)("Heading text"),placeholder:u||Object(ke.__)("Heading"),textAlign:c},b)))};const{name:pa}={apiVersion:2,name:"core/heading",title:"Heading",category:"text",description:"Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",keywords:["title","subtitle"],textdomain:"default",attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",__experimentalRole:"content"},level:{type:"number",default:2},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"};var ga={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map(e=>{let{content:t,anchor:n}=e;return Object(Oe.createBlock)(pa,{content:t,anchor:n})})},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:e=>{let{phrasingContentSchema:t,isPaste:n}=e;const o={children:t,attributes:n?[]:["style","id"]};return{h1:o,h2:o,h3:o,h4:o,h5:o,h6:o}},transform(e){const t=Object(Oe.getBlockAttributes)(pa,e.outerHTML),{textAlign:n}=e.style||{};var o;return t.level=(o=e.nodeName,Number(o.substr(1))),"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),Object(Oe.createBlock)(pa,t)}},...[1,2,3,4,5,6].map(e=>({type:"prefix",prefix:Array(e+1).join("#"),transform:t=>Object(Oe.createBlock)(pa,{level:e,content:t})})),...[1,2,3,4,5,6].map(e=>({type:"enter",regExp:new RegExp(`^/(h|H)${e}$`),transform:t=>Object(Oe.createBlock)(pa,{level:e,content:t})}))],to:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map(e=>{let{content:t,anchor:n}=e;return Object(Oe.createBlock)("core/paragraph",{content:t,anchor:n})})}]};const ha={apiVersion:2,name:"core/heading",title:"Heading",category:"text",description:"Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",keywords:["title","subtitle"],textdomain:"default",attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",__experimentalRole:"content"},level:{type:"number",default:2},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"},{name:va}=ha,Oa={icon:Yr,example:{attributes:{content:Object(ke.__)("Code is Poetry"),level:2}},__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n){const{content:t,level:n}=e;return Object(Me.isEmpty)(t)?Object(ke.sprintf)(Object(ke.__)("Level %s. Empty."),n):Object(ke.sprintf)(Object(ke.__)("Level %1$s. %2$s"),n,t)}},transforms:ga,deprecated:ra,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:ba,save:function(e){let{attributes:t}=e;const{textAlign:n,content:o,level:r}=t,a="h"+r,l=tt()({["has-text-align-"+n]:n});return Object(je.createElement)(a,we.useBlockProps.save({className:l}),Object(je.createElement)(we.RichText.Content,{value:o}))}};var ja=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"}));var ya={from:[{type:"block",blocks:["core/code"],transform:e=>{let{content:t}=e;return Object(Oe.createBlock)("core/html",{content:t})}}]};const fa={apiVersion:2,name:"core/html",title:"Custom HTML",category:"widgets",description:"Add custom HTML code and preview it as you edit.",keywords:["embed"],textdomain:"default",attributes:{content:{type:"string",source:"html"}},supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-html-editor"},{name:_a}=fa,ka={icon:ja,example:{attributes:{content:"<marquee>"+Object(ke.__)("Welcome to the wonderful world of blocks…")+"</marquee>"}},edit:function(e){let{attributes:t,setAttributes:n,isSelected:o}=e;const[r,a]=Object(je.useState)(),l=Object(Pe.useSelect)(e=>["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t",...Object(we.transformStyles)(e(we.store).getSettings().styles)],[]);return Object(je.createElement)("div",Object(we.useBlockProps)({className:"block-library-html__edit"}),Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,null,Object(je.createElement)(_e.ToolbarButton,{className:"components-tab-button",isPressed:!r,onClick:function(){a(!1)}},Object(je.createElement)("span",null,"HTML")),Object(je.createElement)(_e.ToolbarButton,{className:"components-tab-button",isPressed:r,onClick:function(){a(!0)}},Object(je.createElement)("span",null,Object(ke.__)("Preview"))))),Object(je.createElement)(_e.Disabled.Consumer,null,e=>r||e?Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.SandBox,{html:t.content,styles:l}),!o&&Object(je.createElement)("div",{className:"block-library-html__preview-overlay"})):Object(je.createElement)(we.PlainText,{value:t.content,onChange:e=>n({content:e}),placeholder:Object(ke.__)("Write HTML…"),"aria-label":Object(ke.__)("HTML")})))},save:function(e){let{attributes:t}=e;return Object(je.createElement)(je.RawHTML,null,t.content)},transforms:ya},wa={align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}};var Ea=[{attributes:wa,save(e){let{attributes:t}=e;const{url:n,alt:o,caption:r,align:a,href:l,width:c,height:i,id:s}=t,u=tt()({["align"+a]:a,"is-resized":c||i}),m=Object(je.createElement)("img",{src:n,alt:o,className:s?"wp-image-"+s:null,width:c,height:i});return Object(je.createElement)("figure",{className:u},l?Object(je.createElement)("a",{href:l},m):m,!we.RichText.isEmpty(r)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:r}))}},{attributes:wa,save(e){let{attributes:t}=e;const{url:n,alt:o,caption:r,align:a,href:l,width:c,height:i,id:s}=t,u=Object(je.createElement)("img",{src:n,alt:o,className:s?"wp-image-"+s:null,width:c,height:i});return Object(je.createElement)("figure",{className:a?"align"+a:null},l?Object(je.createElement)("a",{href:l},u):u,!we.RichText.isEmpty(r)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:r}))}},{attributes:wa,save(e){let{attributes:t}=e;const{url:n,alt:o,caption:r,align:a,href:l,width:c,height:i}=t,s=c||i?{width:c,height:i}:{},u=Object(je.createElement)("img",Object(mt.a)({src:n,alt:o},s));let m={};return c?m={width:c}:"left"!==a&&"right"!==a||(m={maxWidth:"50%"}),Object(je.createElement)("figure",{className:a?"align"+a:null,style:m},l?Object(je.createElement)("a",{href:l},u):u,!we.RichText.isEmpty(r)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:r}))}}];var Ca=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M16.5 7.8v7H18v-7c0-1-.8-1.8-1.8-1.8h-7v1.5h7c.2 0 .3.1.3.3zm-8.7 8.7c-.1 0-.2-.1-.2-.2V2H6v4H2v1.5h4v8.8c0 1 .8 1.8 1.8 1.8h8.8v4H18v-4h4v-1.5H7.8z"})),xa=n("NTP4");var Sa=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z"}));function Ba(e,t){const[n,o]=Object(je.useState)();function r(){o(e.current.clientWidth)}return Object(je.useEffect)(r,t),Object(je.useEffect)(()=>{const{defaultView:t}=e.current.ownerDocument;return t.addEventListener("resize",r),()=>{t.removeEventListener("resize",r)}},[]),n}function Ta(e){var t;let{temporaryURL:n,attributes:{url:o="",alt:r,caption:a,align:l,id:c,href:i,rel:s,linkClass:u,linkDestination:m,title:d,width:b,height:p,linkTarget:g,sizeSlug:h},setAttributes:v,isSelected:O,insertBlocksAfter:j,onReplace:y,onSelectImage:f,onSelectURL:_,onUploadError:k,containerRef:w,context:E,clientId:C}=e;const x=Object(je.useRef)(),S=Object(je.useRef)(),B=Object(nt.usePrevious)(o),{allowResize:T=!0}=E,{getBlock:N}=Object(Pe.useSelect)(we.store),{image:z,multiImageSelection:P}=Object(Pe.useSelect)(e=>{const{getMedia:t}=e(It.store),{getMultiSelectedBlockClientIds:n,getBlockName:o}=e(we.store),r=n();return{image:c&&O?t(c):null,multiImageSelection:r.length&&r.every(e=>"core/image"===o(e))}},[c,O]),{canInsertCover:I,imageEditing:M,imageSizes:R,maxWidth:L,mediaUpload:V}=Object(Pe.useSelect)(e=>{const{getBlockRootClientId:t,getSettings:n,canInsertBlockType:o}=e(we.store),r=t(C);return{...Object(Me.pick)(n(),["imageEditing","imageSizes","maxWidth","mediaUpload"]),canInsertCover:o("core/cover",r)}},[C]),{replaceBlocks:H,toggleSelection:A}=Object(Pe.useDispatch)(we.store),{createErrorNotice:F,createSuccessNotice:D}=Object(Pe.useDispatch)(Do.store),G=Object(nt.useViewportMatch)("medium"),U=Object(Me.includes)(["wide","full"],l),[{loadedNaturalWidth:q,loadedNaturalHeight:W},$]=Object(je.useState)({}),[Z,K]=Object(je.useState)(!1),[J,Q]=Object(je.useState)(),Y=Ba(w,[l]),X=T&&!(U&&G),ee=Object(Me.map)(Object(Me.filter)(R,e=>{let{slug:t}=e;return Object(Me.get)(z,["media_details","sizes",t,"source_url"])}),e=>{let{name:t,slug:n}=e;return{value:n,label:t}});Object(je.useEffect)(()=>{Na(c,o)&&O&&!J&&window.fetch(o).then(e=>e.blob()).then(e=>Q(e)).catch(()=>{})},[c,o,O,J]),Object(je.useEffect)(()=>{o&&!B&&O&&S.current.focus()},[o,B]);const{naturalWidth:te,naturalHeight:ne}=Object(je.useMemo)(()=>{var e,t;return{naturalWidth:(null===(e=x.current)||void 0===e?void 0:e.naturalWidth)||q||void 0,naturalHeight:(null===(t=x.current)||void 0===t?void 0:t.naturalHeight)||W||void 0}},[q,W,null===(t=x.current)||void 0===t?void 0:t.complete]);Object(je.useEffect)(()=>{O||K(!1)},[O]);const oe=c&&te&&ne&&M,re=!P&&oe&&!Z;const ae=Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.BlockAlignmentControl,{value:l,onChange:function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};v({...t,align:e})}}),!P&&!Z&&Object(je.createElement)(we.__experimentalImageURLInputUI,{url:i||"",onChangeUrl:function(e){v(e)},linkDestination:m,mediaUrl:z&&z.source_url||o,mediaLink:z&&z.link,linkTarget:g,linkClass:u,rel:s}),re&&Object(je.createElement)(_e.ToolbarButton,{onClick:()=>K(!0),icon:Ca,label:Object(ke.__)("Crop")}),J&&Object(je.createElement)(_e.ToolbarButton,{onClick:function(){V({filesList:[J],onFileChange(e){let[t]=e;f(t),Object(ze.isBlobURL)(t.url)||(Q(),D(Object(ke.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:ur,onError(e){F(e,{type:"snackbar"})}})},icon:xa.a,label:Object(ke.__)("Upload external image")}),!P&&I&&Object(je.createElement)(_e.ToolbarButton,{icon:Sa,label:Object(ke.__)("Add text over image"),onClick:function(){H(C,Object(Oe.switchToBlockType)(N(C),"core/cover"))}})),!P&&!Z&&Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:c,mediaURL:o,allowedTypes:ur,accept:"image/*",onSelect:f,onSelectURL:_,onError:k})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Image settings")},!P&&Object(je.createElement)(_e.TextareaControl,{label:Object(ke.__)("Alt text (alternative text)"),value:r,onChange:function(e){v({alt:e})},help:Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(ke.__)("Describe the purpose of the image")),Object(ke.__)("Leave empty if the image is purely decorative."))}),Object(je.createElement)(we.__experimentalImageSizeControl,{onChangeImage:function(e){const t=Object(Me.get)(z,["media_details","sizes",e,"source_url"]);if(!t)return null;v({url:t,width:void 0,height:void 0,sizeSlug:e})},onChange:e=>v(e),slug:h,width:b,height:p,imageSizeOptions:ee,isResizable:X,imageWidth:te,imageHeight:ne}))),Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"advanced"},Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Title attribute"),value:d||"",onChange:function(e){v({title:e})},help:Object(je.createElement)(je.Fragment,null,Object(ke.__)("Describe the role of this image on the page."),Object(je.createElement)(_e.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(ke.__)("(Note: many devices and browsers do not display this text.)")))}))),le=Object(Jo.getFilename)(o);let ce;ce=r||(le?Object(ke.sprintf)(Object(ke.__)("This image has an empty alt attribute; its file name is %s"),le):Object(ke.__)("This image has an empty alt attribute"));let ie,se,ue=Object(je.createElement)(je.Fragment,null,Object(je.createElement)("img",{src:n||o,alt:ce,onError:()=>function(){const e=Ge({attributes:{url:o}});void 0!==e&&y(e)}(),onLoad:e=>{var t,n;$({loadedNaturalWidth:null===(t=e.target)||void 0===t?void 0:t.naturalWidth,loadedNaturalHeight:null===(n=e.target)||void 0===n?void 0:n.naturalHeight})},ref:x}),n&&Object(je.createElement)(_e.Spinner,null));if(Y&&te&&ne){const e=te>Y,t=ne/te;ie=e?Y:te,se=e?Y*t:ne}if(oe&&Z)ue=Object(je.createElement)(we.__experimentalImageEditor,{url:o,width:b,height:p,clientWidth:Y,naturalHeight:ne,naturalWidth:te});else if(X&&ie){const e=b||ie,t=p||se,n=te/ne,o=te<ne?20:20*n,r=ne<te?20:20/n,a=2.5*L;let c=!1,i=!1;"center"===l?(c=!0,i=!0):Object(ke.isRTL)()?"left"===l?c=!0:i=!0:"right"===l?i=!0:c=!0,ue=Object(je.createElement)(_e.ResizableBox,{size:{width:null!=b?b:"auto",height:null!=p?p:"auto"},showHandle:O,minWidth:o,maxWidth:a,minHeight:r,maxHeight:a/n,lockAspectRatio:!0,enable:{top:!1,right:c,bottom:!0,left:i},onResizeStart:function(){A(!1)},onResizeStop:(n,o,r,a)=>{A(!0),v({width:parseInt(e+a.width,10),height:parseInt(t+a.height,10)})}},ue)}else ue=Object(je.createElement)("div",{style:{width:b,height:p}},ue);return Object(je.createElement)(we.__experimentalImageEditingProvider,{id:c,url:o,naturalWidth:te,naturalHeight:ne,clientWidth:Y,onSaveImage:e=>v(e),isEditing:Z,onFinishEditing:()=>K(!1)},!n&&ae,ue,(!we.RichText.isEmpty(a)||O)&&Object(je.createElement)(we.RichText,{ref:S,tagName:"figcaption","aria-label":Object(ke.__)("Image caption text"),placeholder:Object(ke.__)("Add caption"),value:a,onChange:e=>v({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>j(Object(Oe.createBlock)("core/paragraph"))}))}const Na=(e,t)=>t&&!e&&!Object(ze.isBlobURL)(t);var za=Object(_e.withNotices)((function(e){let{attributes:t,setAttributes:n,isSelected:o,className:r,noticeUI:a,insertBlocksAfter:l,noticeOperations:c,onReplace:i,context:s,clientId:u}=e;const{url:m="",alt:d,caption:b,align:p,id:g,width:h,height:v,sizeSlug:O}=t,[j,y]=Object(je.useState)(),f=Object(je.useRef)();Object(je.useEffect)(()=>{f.current=d},[d]);const _=Object(je.useRef)();Object(je.useEffect)(()=>{_.current=b},[b]);const k=Object(je.useRef)(),{imageDefaultSize:w,mediaUpload:E}=Object(Pe.useSelect)(e=>{const{getSettings:t}=e(we.store);return Object(Me.pick)(t(),["imageDefaultSize","mediaUpload"])},[]);function C(e){c.removeAllNotices(),c.createErrorNotice(e)}function x(e){var o,r,a,l,c;if(!e||!e.url)return void n({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0});if(Object(ze.isBlobURL)(e.url))return void y(e.url);y();let i,s=((e,t)=>{const n=Object(Me.pick)(e,["alt","id","link","caption"]);return n.url=Object(Me.get)(e,["sizes",t,"url"])||Object(Me.get)(e,["media_details","sizes",t,"source_url"])||e.url,n})(e,w);var u,d;_.current&&!Object(Me.get)(s,["caption"])&&(s=Object(Me.omit)(s,["caption"])),i=e.id&&e.id===g?{url:m}:{width:void 0,height:void 0,sizeSlug:(u=e,d=w,Object(Me.has)(u,["sizes",d,"url"])||Object(Me.has)(u,["media_details","sizes",d,"source_url"])?w:"full")};let b,p=t.linkDestination;if(!p)switch((null===(o=wp)||void 0===o||null===(r=o.media)||void 0===r||null===(a=r.view)||void 0===a||null===(l=a.settings)||void 0===l||null===(c=l.defaultProps)||void 0===c?void 0:c.link)||"none"){case"file":case"media":p="media";break;case"post":case"attachment":p="attachment";break;case"custom":p="custom";break;case"none":p="none"}switch(p){case"media":b=e.url;break;case"attachment":b=e.link}s.href=b,n({...s,...i,linkDestination:p})}function S(e){e!==m&&n({url:e,id:void 0,width:void 0,height:void 0,sizeSlug:w})}let B=((e,t)=>!e&&Object(ze.isBlobURL)(t))(g,m);Object(je.useEffect)(()=>{if(!B)return;const e=Object(ze.getBlobByURL)(m);e&&E({filesList:[e],onFileChange:e=>{let[t]=e;x(t)},allowedTypes:ur,onError:e=>{B=!1,c.createErrorNotice(e),n({src:void 0,id:void 0,url:void 0})}})},[]),Object(je.useEffect)(()=>{B?y(m):Object(ze.revokeBlobURL)(j)},[B,m]);const T=Na(g,m)?m:void 0,N=!!m&&Object(je.createElement)("img",{alt:Object(ke.__)("Edit image"),title:Object(ke.__)("Edit image"),className:"edit-image-preview",src:m}),z=tt()(r,{"is-transient":j,"is-resized":!!h||!!v,["size-"+O]:O}),P=Object(we.useBlockProps)({ref:k,className:z});return Object(je.createElement)("figure",P,(j||m)&&Object(je.createElement)(Ta,{temporaryURL:j,attributes:t,setAttributes:n,isSelected:o,insertBlocksAfter:l,onReplace:i,onSelectImage:x,onSelectURL:S,onUploadError:C,containerRef:k,context:s,clientId:u}),!m&&Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.BlockAlignmentControl,{value:p,onChange:function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};n({...t,align:e})}})),Object(je.createElement)(we.MediaPlaceholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:wr}),onSelect:x,onSelectURL:S,notices:a,onError:C,accept:"image/*",allowedTypes:ur,value:{id:g,src:T},mediaPreview:N,disableMediaButtons:j||m}))}));function Pa(e,t){const{body:n}=document.implementation.createHTMLDocument("");n.innerHTML=e;const{firstElementChild:o}=n;if(o&&"A"===o.nodeName)return o.getAttribute(t)||void 0}const Ia={img:{attributes:["src","alt","title"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}};var Ma={from:[{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&!!e.querySelector("img"),schema:e=>{let{phrasingContentSchema:t}=e;return{figure:{require:["img"],children:{...Ia,a:{attributes:["href","rel","target"],children:Ia},figcaption:{children:t}}}}},transform:e=>{const t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),o=""===e.id?void 0:e.id,r=n?n[1]:void 0,a=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),l=a?Number(a[1]):void 0,c=e.querySelector("a"),i=c&&c.href?"custom":void 0,s=c&&c.href?c.href:void 0,u=c&&c.rel?c.rel:void 0,m=c&&c.className?c.className:void 0,d=Object(Oe.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:l,linkDestination:i,href:s,rel:u,linkClass:m,anchor:o});return Object(Oe.createBlock)("core/image",d)}},{type:"files",isMatch(e){if(e.some(e=>0===e.type.indexOf("image/"))&&e.some(e=>0!==e.type.indexOf("image/"))){const{createErrorNotice:e}=Object(Pe.dispatch)(Do.store);e(Object(ke.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-transform-invalid-file"})}return Object(Me.every)(e,e=>0===e.type.indexOf("image/"))},transform:e=>e.map(e=>Object(Oe.createBlock)("core/image",{url:Object(ze.createBlobURL)(e)}))},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:function(e,t){let{shortcode:n}=t;const{body:o}=document.implementation.createHTMLDocument("");o.innerHTML=n.content;let r=o.querySelector("img");for(;r&&r.parentNode&&r.parentNode!==o;)r=r.parentNode;return r&&r.parentNode.removeChild(r),o.innerHTML.trim()}},href:{shortcode:(e,t)=>{let{shortcode:n}=t;return Pa(n.content,"href")}},rel:{shortcode:(e,t)=>{let{shortcode:n}=t;return Pa(n.content,"rel")}},linkClass:{shortcode:(e,t)=>{let{shortcode:n}=t;return Pa(n.content,"class")}},id:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:e=>{let{named:{align:t="alignnone"}}=e;return t.replace("align","")}}}}]};const Ra={apiVersion:2,name:"core/image",title:"Image",category:"media",usesContext:["allowResize","imageCrop","fixedHeight"],description:"Insert an image to make a visual statement.",keywords:["img","photo","picture"],textdomain:"default",attributes:{align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},title:{type:"string",source:"attribute",selector:"img",attribute:"title"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1},__experimentalBorder:{radius:!0}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"rounded",label:"Rounded"}],editorStyle:"wp-block-image-editor",style:"wp-block-image"},{name:La}=Ra,Va={icon:wr,example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(ke.__)("Mont Blanc appears—still, snowy, and serene.")}},__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n){const{caption:t,alt:n,url:o}=e;return o?n?n+(t?". "+t:""):t||"":Object(ke.__)("Empty")}},getEditWrapperProps:e=>({"data-align":e.align}),transforms:Ma,edit:za,save:function(e){let{attributes:t}=e;const{url:n,alt:o,caption:r,align:a,href:l,rel:c,linkClass:i,width:s,height:u,id:m,linkTarget:d,sizeSlug:b,title:p}=t,g=Object(Me.isEmpty)(c)?void 0:c,h=tt()({["align"+a]:a,["size-"+b]:b,"is-resized":s||u}),v=Object(je.createElement)("img",{src:n,alt:o,className:m?"wp-image-"+m:null,width:s,height:u,title:p}),O=Object(je.createElement)(je.Fragment,null,l?Object(je.createElement)("a",{className:i,href:l,target:d,rel:g},v):v,!we.RichText.isEmpty(r)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:r}));return"left"===a||"right"===a||"center"===a?Object(je.createElement)("div",we.useBlockProps.save(),Object(je.createElement)("figure",{className:h},O)):Object(je.createElement)("figure",we.useBlockProps.save({className:h}),O)},deprecated:Ea};var Ha=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"}));const Aa={apiVersion:2,name:"core/latest-comments",title:"Latest Comments",category:"widgets",description:"Display a list of your most recent comments.",keywords:["recent comments"],textdomain:"default",attributes:{commentsToShow:{type:"number",default:5,minimum:1,maximum:100},displayAvatar:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-comments-editor",style:"wp-block-latest-comments"},{name:Fa}=Aa,Da={icon:Ha,example:{},edit:function(e){let{attributes:t,setAttributes:n}=e;const{commentsToShow:o,displayAvatar:r,displayDate:a,displayExcerpt:l}=t;return Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Latest comments settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display avatar"),checked:r,onChange:()=>n({displayAvatar:!r})}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display date"),checked:a,onChange:()=>n({displayDate:!a})}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display excerpt"),checked:l,onChange:()=>n({displayExcerpt:!l})}),Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Number of comments"),value:o,onChange:e=>n({commentsToShow:e}),min:1,max:100,required:!0}))),Object(je.createElement)(_e.Disabled,null,Object(je.createElement)(Ce.a,{block:"core/latest-comments",attributes:t,urlQueryArgs:{_locale:"site"}})))}};var Ga=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 11h2V9H7v2zm0 4h2v-2H7v2zm3-4h7V9h-7v2zm0 4h7v-2h-7v2z"}));const{attributes:Ua}={apiVersion:2,name:"core/latest-posts",title:"Latest Posts",category:"widgets",description:"Display a list of your most recent posts.",keywords:["recent posts"],textdomain:"default",attributes:{categories:{type:"array",items:{type:"object"}},selectedAuthor:{type:"number"},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayAuthor:{type:"boolean",default:!1},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null},addLinkToFeaturedImage:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-posts-editor",style:"wp-block-latest-posts"};var qa=[{attributes:{...Ua,categories:{type:"string"}},supports:{align:!0,html:!1},migrate:e=>({...e,categories:[{id:Number(e.categories)}]}),isEligible:e=>{let{categories:t}=e;return t&&"string"==typeof t},save:()=>null}],Wa=n("FqII");var $a=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})),Za=n("b2RC");const Ka={per_page:-1,context:"view"},Ja={per_page:-1,has_published_posts:["post"],context:"view"};const Qa={apiVersion:2,name:"core/latest-posts",title:"Latest Posts",category:"widgets",description:"Display a list of your most recent posts.",keywords:["recent posts"],textdomain:"default",attributes:{categories:{type:"array",items:{type:"object"}},selectedAuthor:{type:"number"},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayAuthor:{type:"boolean",default:!1},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null},addLinkToFeaturedImage:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-posts-editor",style:"wp-block-latest-posts"},{name:Ya}=Qa,Xa={icon:Ga,example:{},edit:function(e){var t;let{attributes:n,setAttributes:o}=e;const{postsToShow:r,order:a,orderBy:l,categories:c,selectedAuthor:i,displayFeaturedImage:s,displayPostContentRadio:u,displayPostContent:m,displayPostDate:d,displayAuthor:b,postLayout:p,columns:g,excerptLength:h,featuredImageAlign:v,featuredImageSizeSlug:O,featuredImageSizeWidth:j,featuredImageSizeHeight:y,addLinkToFeaturedImage:f}=n,{imageSizeOptions:_,latestPosts:k,defaultImageWidth:w,defaultImageHeight:E,categoriesList:C,authorList:x}=Object(Pe.useSelect)(e=>{const{getEntityRecords:t,getMedia:n,getUsers:o}=e(It.store),{getSettings:s}=e(we.store),{imageSizes:u,imageDimensions:m}=s(),d=c&&c.length>0?c.map(e=>e.id):[],b=t("postType","post",Object(Me.pickBy)({categories:d,author:i,order:a,orderby:l,per_page:r},e=>!Object(Me.isUndefined)(e)));return{defaultImageWidth:Object(Me.get)(m,[O,"width"],0),defaultImageHeight:Object(Me.get)(m,[O,"height"],0),imageSizeOptions:u.filter(e=>{let{slug:t}=e;return"full"!==t}).map(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}),latestPosts:Array.isArray(b)?b.map(e=>{if(!e.featured_media)return e;const t=n(e.featured_media);let o=Object(Me.get)(t,["media_details","sizes",O,"source_url"],null);o||(o=Object(Me.get)(t,"source_url",null));const r={url:o,alt:null==t?void 0:t.alt_text};return{...e,featuredImageInfo:r}}):b,categoriesList:t("taxonomy","category",Ka),authorList:o(Ja)}},[O,r,a,l,c,i]),S=null!==(t=null==C?void 0:C.reduce((e,t)=>({...e,[t.name]:t}),{}))&&void 0!==t?t:{},B=!(null==k||!k.length),T=Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Post content settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Post content"),checked:m,onChange:e=>o({displayPostContent:e})}),m&&Object(je.createElement)(_e.RadioControl,{label:Object(ke.__)("Show:"),selected:u,options:[{label:Object(ke.__)("Excerpt"),value:"excerpt"},{label:Object(ke.__)("Full post"),value:"full_post"}],onChange:e=>o({displayPostContentRadio:e})}),m&&"excerpt"===u&&Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Max number of words in excerpt"),value:h,onChange:e=>o({excerptLength:e}),min:10,max:100})),Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Post meta settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display author name"),checked:b,onChange:e=>o({displayAuthor:e})}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display post date"),checked:d,onChange:e=>o({displayPostDate:e})})),Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Featured image settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display featured image"),checked:s,onChange:e=>o({displayFeaturedImage:e})}),s&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.__experimentalImageSizeControl,{onChange:e=>{const t={};e.hasOwnProperty("width")&&(t.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(t.featuredImageSizeHeight=e.height),o(t)},slug:O,width:j,height:y,imageWidth:w,imageHeight:E,imageSizeOptions:_,onChangeImage:e=>o({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}),Object(je.createElement)(_e.BaseControl,{className:"block-editor-image-alignment-control__row"},Object(je.createElement)(_e.BaseControl.VisualLabel,null,Object(ke.__)("Image alignment")),Object(je.createElement)(we.BlockAlignmentToolbar,{value:v,onChange:e=>o({featuredImageAlign:e}),controls:["left","center","right"],isCollapsed:!1})),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Add link to featured image"),checked:f,onChange:e=>o({addLinkToFeaturedImage:e})}))),Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Sorting and filtering")},Object(je.createElement)(_e.QueryControls,{order:a,orderBy:l,numberOfItems:r,onOrderChange:e=>o({order:e}),onOrderByChange:e=>o({orderBy:e}),onNumberOfItemsChange:e=>o({postsToShow:e}),categorySuggestions:S,onCategoryChange:e=>{if(e.some(e=>"string"==typeof e&&!S[e]))return;const t=e.map(e=>"string"==typeof e?S[e]:e);if(Object(Me.includes)(t,null))return!1;o({categories:t})},selectedCategories:c,onAuthorChange:e=>o({selectedAuthor:""!==e?Number(e):void 0}),authorList:null!=x?x:[],selectedAuthorId:i}),"grid"===p&&Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Columns"),value:g,onChange:e=>o({columns:e}),min:2,max:B?Math.min(6,k.length):6,required:!0}))),N=Object(we.useBlockProps)({className:tt()({"wp-block-latest-posts__list":!0,"is-grid":"grid"===p,"has-dates":d,"has-author":b,["columns-"+g]:"grid"===p})});if(!B)return Object(je.createElement)("div",N,T,Object(je.createElement)(_e.Placeholder,{icon:At,label:Object(ke.__)("Latest Posts")},Array.isArray(k)?Object(ke.__)("No posts found."):Object(je.createElement)(_e.Spinner,null)));const z=k.length>r?k.slice(0,r):k,P=[{icon:$a,title:Object(ke.__)("List view"),onClick:()=>o({postLayout:"list"}),isActive:"list"===p},{icon:Za.a,title:Object(ke.__)("Grid view"),onClick:()=>o({postLayout:"grid"}),isActive:"grid"===p}],I=Object(Wa.__experimentalGetSettings)().formats.date;return Object(je.createElement)("div",null,T,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,{controls:P})),Object(je.createElement)("ul",N,z.map((e,t)=>{const n=Object(Me.invoke)(e,["title","rendered","trim"]);let o=e.excerpt.rendered;const r=null==x?void 0:x.find(t=>t.id===e.author),a=document.createElement("div");a.innerHTML=o,o=a.textContent||a.innerText||"";const{featuredImageInfo:{url:l,alt:c}={}}=e,i=tt()({"wp-block-latest-posts__featured-image":!0,["align"+v]:!!v}),p=s&&l,g=p&&Object(je.createElement)("img",{src:l,alt:c,style:{maxWidth:j,maxHeight:y}}),O=h<o.trim().split(" ").length&&""===e.excerpt.raw?Object(je.createElement)(je.Fragment,null,o.trim().split(" ",h).join(" "),Object(ke.__)(" … "),Object(je.createElement)("a",{href:e.link,rel:"noopener noreferrer"},Object(ke.__)("Read more"))):o;return Object(je.createElement)("li",{key:t},p&&Object(je.createElement)("div",{className:i},f?Object(je.createElement)("a",{href:e.link,rel:"noreferrer noopener"},g):g),Object(je.createElement)("a",{href:e.link,rel:"noreferrer noopener"},n?Object(je.createElement)(je.RawHTML,null,n):Object(ke.__)("(no title)")),b&&r&&Object(je.createElement)("div",{className:"wp-block-latest-posts__post-author"},Object(ke.sprintf)(Object(ke.__)("by %s"),r.name)),d&&e.date_gmt&&Object(je.createElement)("time",{dateTime:Object(Wa.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},Object(Wa.dateI18n)(I,e.date_gmt)),m&&"excerpt"===u&&Object(je.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},O),m&&"full_post"===u&&Object(je.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},Object(je.createElement)(je.RawHTML,{key:"html"},e.content.raw.trim())))})))},deprecated:qa};var el=[{attributes:{ordered:{type:"boolean",default:!1,__experimentalRole:"content"},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:"",__experimentalRole:"content"},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"},placeholder:{type:"string"}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,__experimentalFontFamily:!0},color:{gradients:!0,link:!0},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul",__experimentalSlashInserter:!0},save(e){let{attributes:t}=e;const{ordered:n,values:o,type:r,reversed:a,start:l}=t,c=n?"ol":"ul";return Object(je.createElement)(c,we.useBlockProps.save({type:r,reversed:a,start:l}),Object(je.createElement)(we.RichText.Content,{value:o,multiline:"li"}))},migrate:at,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];var tl=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}));var nl=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));var ol=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"}));var rl=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"}));var al=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"}));var ll=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"}));var cl=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"}));var il=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"}));var sl=e=>{let{setAttributes:t,reversed:n,start:o}=e;return Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Ordered list settings")},Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Start value"),type:"number",onChange:e=>{const n=parseInt(e,10);t({start:isNaN(n)?void 0:n})},value:Number.isInteger(o)?o.toString(10):"",step:"1"}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Reverse list numbering"),checked:n||!1,onChange:e=>{t({reversed:e||void 0})}})))};function ul(e){let{phrasingContentSchema:t}=e;const n={...t,ul:{},ol:{attributes:["type","start","reversed"]}};return["ul","ol"].forEach(e=>{n[e].children={li:{children:n}}}),n}var ml={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph","core/heading"],transform:e=>Object(Oe.createBlock)("core/list",{values:Object(kt.toHTMLString)({value:Object(kt.join)(e.map(t=>{let{content:n}=t;const o=Object(kt.create)({html:n});return e.length>1?o:Object(kt.replace)(o,/\n/g,kt.__UNSTABLE_LINE_SEPARATOR)}),kt.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"}),anchor:e.anchor})},{type:"block",blocks:["core/quote","core/pullquote"],transform:e=>{let{value:t,anchor:n}=e;return Object(Oe.createBlock)("core/list",{values:Object(kt.toHTMLString)({value:Object(kt.create)({html:t,multilineTag:"p"}),multilineTag:"li"}),anchor:n})}},{type:"raw",selector:"ol,ul",schema:e=>({ol:ul(e).ol,ul:ul(e).ul}),transform(e){const t={ordered:"OL"===e.nodeName,anchor:""===e.id?void 0:e.id};if(t.ordered){const n=e.getAttribute("type");n&&(t.type=n),null!==e.getAttribute("reversed")&&(t.reversed=!0);const o=parseInt(e.getAttribute("start"),10);isNaN(o)||1===o&&!t.reversed||(t.start=o)}return Object(Oe.createBlock)("core/list",{...Object(Oe.getBlockAttributes)("core/list",e.outerHTML),...t})}},...["*","-"].map(e=>({type:"prefix",prefix:e,transform:e=>Object(Oe.createBlock)("core/list",{values:`<li>${e}</li>`})})),...["1.","1)"].map(e=>({type:"prefix",prefix:e,transform:e=>Object(Oe.createBlock)("core/list",{ordered:!0,values:`<li>${e}</li>`})}))],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{values:t}=e;return Object(kt.split)(Object(kt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),kt.__UNSTABLE_LINE_SEPARATOR).map(e=>Object(Oe.createBlock)("core/paragraph",{content:Object(kt.toHTMLString)({value:e})}))}},{type:"block",blocks:["core/heading"],transform:e=>{let{values:t}=e;return Object(kt.split)(Object(kt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),kt.__UNSTABLE_LINE_SEPARATOR).map(e=>Object(Oe.createBlock)("core/heading",{content:Object(kt.toHTMLString)({value:e})}))}},{type:"block",blocks:["core/quote"],transform:e=>{let{values:t,anchor:n}=e;return Object(Oe.createBlock)("core/quote",{value:Object(kt.toHTMLString)({value:Object(kt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:n})}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{values:t,anchor:n}=e;return Object(Oe.createBlock)("core/pullquote",{value:Object(kt.toHTMLString)({value:Object(kt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:n})}}]};const dl={apiVersion:2,name:"core/list",title:"List",category:"text",description:"Create a bulleted or numbered list.",keywords:["bullet list","ordered list","numbered list"],textdomain:"default",attributes:{ordered:{type:"boolean",default:!1,__experimentalRole:"content"},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:"",__experimentalRole:"content"},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"},placeholder:{type:"string"}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,__experimentalFontFamily:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul",__experimentalSlashInserter:!0},editorStyle:"wp-block-list-editor",style:"wp-block-list"},{name:bl}=dl,pl={icon:$a,example:{attributes:{values:"<li>Alice.</li><li>The White Rabbit.</li><li>The Cheshire Cat.</li><li>The Mad Hatter.</li><li>The Queen of Hearts.</li>"}},transforms:ml,merge(e,t){const{values:n}=t;return n&&"<li></li>"!==n?{...e,values:e.values+n}:e},edit:function(e){let{attributes:t,setAttributes:n,mergeBlocks:o,onReplace:r,style:a}=e;const{ordered:l,values:c,type:i,reversed:s,start:u,placeholder:m}=t,d=l?"ol":"ul",b=Object(we.useBlockProps)({style:a});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.RichText,Object(mt.a)({identifier:"values",multiline:"li",tagName:d,onChange:e=>n({values:e}),value:c,"aria-label":Object(ke.__)("List text"),placeholder:m||Object(ke.__)("List"),onMerge:o,onSplit:e=>Object(Oe.createBlock)(bl,{...t,values:e}),__unstableOnSplitMiddle:()=>Object(Oe.createBlock)("core/paragraph"),onReplace:r,onRemove:()=>r([]),start:u,reversed:s,type:i},b),e=>{let{value:t,onChange:o,onFocus:r}=e;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.RichTextShortcut,{type:"primary",character:"[",onUse:()=>{o(Object(kt.__unstableOutdentListItems)(t))}}),Object(je.createElement)(we.RichTextShortcut,{type:"primary",character:"]",onUse:()=>{o(Object(kt.__unstableIndentListItems)(t,{type:d}))}}),Object(je.createElement)(we.RichTextShortcut,{type:"primary",character:"m",onUse:()=>{o(Object(kt.__unstableIndentListItems)(t,{type:d}))}}),Object(je.createElement)(we.RichTextShortcut,{type:"primaryShift",character:"m",onUse:()=>{o(Object(kt.__unstableOutdentListItems)(t))}}),Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(_e.ToolbarButton,{icon:Object(ke.isRTL)()?tl:nl,title:Object(ke.__)("Unordered"),describedBy:Object(ke.__)("Convert to unordered list"),isActive:Object(kt.__unstableIsActiveListType)(t,"ul",d),onClick:()=>{o(Object(kt.__unstableChangeListType)(t,{type:"ul"})),r(),Object(kt.__unstableIsListRootSelected)(t)&&n({ordered:!1})}}),Object(je.createElement)(_e.ToolbarButton,{icon:Object(ke.isRTL)()?ol:rl,title:Object(ke.__)("Ordered"),describedBy:Object(ke.__)("Convert to ordered list"),isActive:Object(kt.__unstableIsActiveListType)(t,"ol",d),onClick:()=>{o(Object(kt.__unstableChangeListType)(t,{type:"ol"})),r(),Object(kt.__unstableIsListRootSelected)(t)&&n({ordered:!0})}}),Object(je.createElement)(_e.ToolbarButton,{icon:Object(ke.isRTL)()?al:ll,title:Object(ke.__)("Outdent"),describedBy:Object(ke.__)("Outdent list item"),shortcut:Object(ke._x)("Backspace","keyboard key"),isDisabled:!Object(kt.__unstableCanOutdentListItems)(t),onClick:()=>{o(Object(kt.__unstableOutdentListItems)(t)),r()}}),Object(je.createElement)(_e.ToolbarButton,{icon:Object(ke.isRTL)()?cl:il,title:Object(ke.__)("Indent"),describedBy:Object(ke.__)("Indent list item"),shortcut:Object(ke._x)("Space","keyboard key"),isDisabled:!Object(kt.__unstableCanIndentListItems)(t),onClick:()=>{o(Object(kt.__unstableIndentListItems)(t,{type:d})),r()}})))}),l&&Object(je.createElement)(sl,{setAttributes:n,ordered:l,reversed:s,start:u,placeholder:m}))},save:function(e){let{attributes:t}=e;const{ordered:n,values:o,type:r,reversed:a,start:l}=t,c=n?"ol":"ul";return Object(je.createElement)(c,we.useBlockProps.save({type:r,reversed:a,start:l}),Object(je.createElement)(we.RichText.Content,{value:o,multiline:"li"}))},deprecated:el};var gl=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M11 14.5l1.1 1.1 3-3 .5-.5-.6-.6-3-3-1 1 1.7 1.7H5v1.5h7.7L11 14.5zM16.8 5h-7c-1.1 0-2 .9-2 2v1.5h1.5V7c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v10c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5v-1.5H7.8V17c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2z"}));const hl={apiVersion:2,name:"core/loginout",title:"Login/out",category:"theme",description:"Show login & logout links.",keywords:["login","logout","form"],textdomain:"default",attributes:{displayLoginAsForm:{type:"boolean",default:!1},redirectToCurrent:{type:"boolean",default:!0}},supports:{className:!0,typography:{fontSize:!1}}},{name:vl}=hl,Ol={icon:gl,edit:function(e){let{attributes:t,setAttributes:n}=e;const{displayLoginAsForm:o,redirectToCurrent:r}=t;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Login/out settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display login as form"),checked:o,onChange:()=>n({displayLoginAsForm:!o})}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Redirect to current URL"),checked:r,onChange:()=>n({redirectToCurrent:!r})}))),Object(je.createElement)("div",Object(we.useBlockProps)({className:"logged-in"}),Object(je.createElement)("a",{href:"#login-pseudo-link"},Object(ke.__)("Log out"))))}};var jl=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M3 18h8V6H3v12zM14 7.5V9h7V7.5h-7zm0 5.3h7v-1.5h-7v1.5zm0 3.7h7V15h-7v1.5z"})),yl=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(je.createElement)(_e.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(je.createElement)(_e.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"}));const fl=["image","video"];function _l(e,t){return e?{backgroundImage:`url(${e})`,backgroundPosition:t?`${100*t.x}% ${100*t.y}%`:"50% 50%"}:{}}const kl=Object(je.forwardRef)((e,t)=>{let{isSelected:n,isStackedOnMobile:o,...r}=e;const a=Object(nt.useViewportMatch)("small","<");return Object(je.createElement)(_e.ResizableBox,Object(mt.a)({ref:t,showHandle:n&&(!a||!o)},r))});function wl(e){let{mediaId:t,mediaUrl:n,onSelectMedia:o}=e;return Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:t,mediaURL:n,allowedTypes:fl,accept:"image/*,video/*",onSelect:o}))}function El(e){let{className:t,noticeOperations:n,noticeUI:o,mediaUrl:r,onSelectMedia:a}=e;return Object(je.createElement)(we.MediaPlaceholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:yl}),labels:{title:Object(ke.__)("Media area")},className:t,onSelect:a,accept:"image/*,video/*",allowedTypes:fl,notices:o,onError:e=>{n.removeAllNotices(),n.createErrorNotice(e)},disableMediaButtons:r})}var Cl=Object(_e.withNotices)(Object(je.forwardRef)((function(e,t){const{className:n,commitWidthChange:o,focalPoint:r,imageFill:a,isSelected:l,isStackedOnMobile:c,mediaAlt:i,mediaId:s,mediaPosition:u,mediaType:m,mediaUrl:d,mediaWidth:b,onSelectMedia:p,onWidthChange:g}=e,h=!s&&Object(ze.isBlobURL)(d),{toggleSelection:v}=Object(Pe.useDispatch)(we.store);if(d){const O=()=>{v(!1)},j=(e,t,n)=>{g(parseInt(n.style.width))},y=(e,t,n)=>{v(!0),o(parseInt(n.style.width))},f={right:"left"===u,left:"right"===u},_="image"===m&&a?_l(d,r):{},k={image:()=>Object(je.createElement)("img",{src:d,alt:i}),video:()=>Object(je.createElement)("video",{controls:!0,src:d})};return Object(je.createElement)(kl,{as:"figure",className:tt()(n,"editor-media-container__resizer",{"is-transient":h}),style:_,size:{width:b+"%"},minWidth:"10%",maxWidth:"100%",enable:f,onResizeStart:O,onResize:j,onResizeStop:y,axis:"x",isSelected:l,isStackedOnMobile:c,ref:t},Object(je.createElement)(wl,{onSelectMedia:p,mediaUrl:d,mediaId:s}),(k[m]||Me.noop)(),h&&Object(je.createElement)(_e.Spinner,null),Object(je.createElement)(El,e))}return Object(je.createElement)(El,e)})));const xl=e=>{if(!e.customBackgroundColor)return e;const t={color:{background:e.customBackgroundColor}};return{...Object(Me.omit)(e,["customBackgroundColor"]),style:t}},Sl={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!0}};var Bl=[{attributes:{...Sl,customBackgroundColor:{type:"string"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}},migrate:xl,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,isStackedOnMobile:r,mediaAlt:a,mediaPosition:l,mediaType:c,mediaUrl:i,mediaWidth:s,mediaId:u,verticalAlignment:m,imageFill:d,focalPoint:b,linkClass:p,href:g,linkTarget:h,rel:v}=t,O=Object(Me.isEmpty)(v)?void 0:v;let j=Object(je.createElement)("img",{src:i,alt:a,className:u&&"image"===c?"wp-image-"+u:null});g&&(j=Object(je.createElement)("a",{className:p,href:g,target:h,rel:O},j));const y={image:()=>j,video:()=>Object(je.createElement)("video",{controls:!0,src:i})},f=Object(we.getColorClassName)("background-color",n),_=tt()({"has-media-on-the-right":"right"===l,"has-background":f||o,[f]:f,"is-stacked-on-mobile":r,["is-vertically-aligned-"+m]:m,"is-image-fill":d}),k=d?_l(i,b):{};let w;50!==s&&(w="right"===l?`auto ${s}%`:s+"% auto");const E={backgroundColor:f?void 0:o,gridTemplateColumns:w};return Object(je.createElement)("div",{className:_,style:E},Object(je.createElement)("figure",{className:"wp-block-media-text__media",style:k},(y[c]||Me.noop)()),Object(je.createElement)("div",{className:"wp-block-media-text__content"},Object(je.createElement)(we.InnerBlocks.Content,null)))}},{attributes:{...Sl,customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}},migrate:xl,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,isStackedOnMobile:r,mediaAlt:a,mediaPosition:l,mediaType:c,mediaUrl:i,mediaWidth:s,mediaId:u,verticalAlignment:m,imageFill:d,focalPoint:b}=t,p={image:()=>Object(je.createElement)("img",{src:i,alt:a,className:u&&"image"===c?"wp-image-"+u:null}),video:()=>Object(je.createElement)("video",{controls:!0,src:i})},g=Object(we.getColorClassName)("background-color",n),h=tt()({"has-media-on-the-right":"right"===l,[g]:g,"is-stacked-on-mobile":r,["is-vertically-aligned-"+m]:m,"is-image-fill":d}),v=d?_l(i,b):{};let O;50!==s&&(O="right"===l?`auto ${s}%`:s+"% auto");const j={backgroundColor:g?void 0:o,gridTemplateColumns:O};return Object(je.createElement)("div",{className:h,style:j},Object(je.createElement)("figure",{className:"wp-block-media-text__media",style:v},(p[c]||Me.noop)()),Object(je.createElement)("div",{className:"wp-block-media-text__content"},Object(je.createElement)(we.InnerBlocks.Content,null)))}},{attributes:{...Sl,customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"}},save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,isStackedOnMobile:r,mediaAlt:a,mediaPosition:l,mediaType:c,mediaUrl:i,mediaWidth:s}=t,u={image:()=>Object(je.createElement)("img",{src:i,alt:a}),video:()=>Object(je.createElement)("video",{controls:!0,src:i})},m=Object(we.getColorClassName)("background-color",n),d=tt()({"has-media-on-the-right":"right"===l,[m]:m,"is-stacked-on-mobile":r});let b;50!==s&&(b="right"===l?`auto ${s}%`:s+"% auto");const p={backgroundColor:m?void 0:o,gridTemplateColumns:b};return Object(je.createElement)("div",{className:d,style:p},Object(je.createElement)("figure",{className:"wp-block-media-text__media"},(u[c]||Me.noop)()),Object(je.createElement)("div",{className:"wp-block-media-text__content"},Object(je.createElement)(we.InnerBlocks.Content,null)))}}];var Tl=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"}));var Nl=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"}));const zl=[["core/paragraph",{fontSize:"large",placeholder:Object(ke._x)("Content…","content placeholder")}]],Pl=e=>Math.max(15,Math.min(e,85));function Il(e,t){var n,o,r;return null==e||null===(n=e.media_details)||void 0===n||null===(o=n.sizes)||void 0===o||null===(r=o[t])||void 0===r?void 0:r.source_url}var Ml=function(e){let{attributes:t,isSelected:n,setAttributes:o}=e;const{focalPoint:r,href:a,imageFill:l,isStackedOnMobile:c,linkClass:i,linkDestination:s,linkTarget:u,mediaAlt:m,mediaId:d,mediaPosition:b,mediaType:p,mediaUrl:g,mediaWidth:h,rel:v,verticalAlignment:O}=t,j=t.mediaSizeSlug||"full",y=Object(Pe.useSelect)(e=>d&&n?e(It.store).getMedia(d):null,[n,d]),f=Object(je.useRef)(),_=e=>{const{style:t}=f.current.resizable,{x:n,y:o}=e;t.backgroundPosition=`${100*n}% ${100*o}%`},[k,w]=Object(je.useState)(null),E=function(e){let{attributes:{linkDestination:t,href:n},setAttributes:o}=e;return e=>{let r,a;var l,c,i,s,u;(r=e.media_type?"image"===e.media_type?"image":"video":e.type,"image"===r)&&(a=(null===(l=e.sizes)||void 0===l||null===(c=l.large)||void 0===c?void 0:c.url)||(null===(i=e.media_details)||void 0===i||null===(s=i.sizes)||void 0===s||null===(u=s.large)||void 0===u?void 0:u.source_url));let m=n;"media"===t&&(m=e.url),"attachment"===t&&(m=e.link),o({mediaAlt:e.alt,mediaId:e.id,mediaType:r,mediaUrl:a||e.url,mediaLink:e.link||void 0,href:m,focalPoint:void 0})}}({attributes:t,setAttributes:o}),C=e=>{o({mediaWidth:Pl(e)}),w(Pl(e))},x=tt()({"has-media-on-the-right":"right"===b,"is-selected":n,"is-stacked-on-mobile":c,["is-vertically-aligned-"+O]:O,"is-image-fill":l}),S=(k||h)+"%",B="right"===b?"1fr "+S:S+" 1fr",T={gridTemplateColumns:B,msGridColumns:B},N=Object(Pe.useSelect)(e=>{const t=e(we.store).getSettings();return null==t?void 0:t.imageSizes},[]),z=Object(Me.map)(Object(Me.filter)(N,e=>{let{slug:t}=e;return Il(y,t)}),e=>{let{name:t,slug:n}=e;return{value:n,label:t}}),P=Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Media & Text settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Stack on mobile"),checked:c,onChange:()=>o({isStackedOnMobile:!c})}),"image"===p&&Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Crop image to fill entire column"),checked:l,onChange:()=>o({imageFill:!l})}),l&&g&&"image"===p&&Object(je.createElement)(_e.FocalPointPicker,{label:Object(ke.__)("Focal point picker"),url:g,value:r,onChange:e=>o({focalPoint:e}),onDragStart:_,onDrag:_}),"image"===p&&Object(je.createElement)(_e.TextareaControl,{label:Object(ke.__)("Alt text (alternative text)"),value:m,onChange:e=>{o({mediaAlt:e})},help:Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(ke.__)("Describe the purpose of the image")),Object(ke.__)("Leave empty if the image is purely decorative."))}),"image"===p&&Object(je.createElement)(we.__experimentalImageSizeControl,{onChangeImage:e=>{const t=Il(y,e);if(!t)return null;o({mediaUrl:t,mediaSizeSlug:e})},slug:j,imageSizeOptions:z,isResizable:!1}),g&&Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Media width"),value:k||h,onChange:C,min:15,max:85})),I=Object(we.useBlockProps)({className:x,style:T}),M=Object(we.useInnerBlocksProps)({className:"wp-block-media-text__content"},{template:zl});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,P),Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.BlockVerticalAlignmentControl,{onChange:e=>{o({verticalAlignment:e})},value:O}),Object(je.createElement)(_e.ToolbarButton,{icon:Tl,title:Object(ke.__)("Show media on left"),isActive:"left"===b,onClick:()=>o({mediaPosition:"left"})}),Object(je.createElement)(_e.ToolbarButton,{icon:Nl,title:Object(ke.__)("Show media on right"),isActive:"right"===b,onClick:()=>o({mediaPosition:"right"})}),"image"===p&&Object(je.createElement)(we.__experimentalImageURLInputUI,{url:a||"",onChangeUrl:e=>{o(e)},linkDestination:s,mediaType:p,mediaUrl:y&&y.source_url,mediaLink:y&&y.link,linkTarget:u,linkClass:i,rel:v})),Object(je.createElement)("div",I,Object(je.createElement)(Cl,{className:"wp-block-media-text__media",onSelectMedia:E,onWidthChange:e=>{w(Pl(e))},commitWidthChange:C,ref:f,focalPoint:r,imageFill:l,isSelected:n,isStackedOnMobile:c,mediaAlt:m,mediaId:d,mediaPosition:b,mediaType:p,mediaUrl:g,mediaWidth:h}),Object(je.createElement)("div",M)))};var Rl={from:[{type:"block",blocks:["core/image"],transform:e=>{let{alt:t,url:n,id:o,anchor:r}=e;return Object(Oe.createBlock)("core/media-text",{mediaAlt:t,mediaId:o,mediaUrl:n,mediaType:"image",anchor:r})}},{type:"block",blocks:["core/video"],transform:e=>{let{src:t,id:n,anchor:o}=e;return Object(Oe.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video",anchor:o})}}],to:[{type:"block",blocks:["core/image"],isMatch:e=>{let{mediaType:t,mediaUrl:n}=e;return!n||"image"===t},transform:e=>{let{mediaAlt:t,mediaId:n,mediaUrl:o,anchor:r}=e;return Object(Oe.createBlock)("core/image",{alt:t,id:n,url:o,anchor:r})}},{type:"block",blocks:["core/video"],isMatch:e=>{let{mediaType:t,mediaUrl:n}=e;return!n||"video"===t},transform:e=>{let{mediaId:t,mediaUrl:n,anchor:o}=e;return Object(Oe.createBlock)("core/video",{id:t,src:n,anchor:o})}}]};const Ll={apiVersion:2,name:"core/media-text",title:"Media & Text",category:"media",description:"Set media and words side-by-side for a richer layout.",keywords:["image","video"],textdomain:"default",attributes:{align:{type:"string",default:"wide"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},mediaSizeSlug:{type:"string"},isStackedOnMobile:{type:"boolean",default:!0},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-media-text-editor",style:"wp-block-media-text"},{name:Vl}=Ll,Hl={icon:jl,example:{viewportWidth:601,attributes:{mediaType:"image",mediaUrl:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(ke.__)("The wren<br>Earns his living<br>Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(ke.__)("— Kobayashi Issa (一茶)")}}]},transforms:Rl,edit:Ml,save:function(e){let{attributes:t}=e;const{isStackedOnMobile:n,mediaAlt:o,mediaPosition:r,mediaType:a,mediaUrl:l,mediaWidth:c,mediaId:i,verticalAlignment:s,imageFill:u,focalPoint:m,linkClass:d,href:b,linkTarget:p,rel:g}=t,h=t.mediaSizeSlug||"full",v=Object(Me.isEmpty)(g)?void 0:g,O=tt()({["wp-image-"+i]:i&&"image"===a,["size-"+h]:i&&"image"===a});let j=Object(je.createElement)("img",{src:l,alt:o,className:O||null});b&&(j=Object(je.createElement)("a",{className:d,href:b,target:p,rel:v},j));const y={image:()=>j,video:()=>Object(je.createElement)("video",{controls:!0,src:l})},f=tt()({"has-media-on-the-right":"right"===r,"is-stacked-on-mobile":n,["is-vertically-aligned-"+s]:s,"is-image-fill":u}),_=u?_l(l,m):{};let k;50!==c&&(k="right"===r?`auto ${c}%`:c+"% auto");const w={gridTemplateColumns:k};return Object(je.createElement)("div",we.useBlockProps.save({className:f,style:w}),Object(je.createElement)("figure",{className:"wp-block-media-text__media",style:_},(y[a]||Me.noop)()),Object(je.createElement)("div",we.useInnerBlocksProps.save({className:"wp-block-media-text__content"})))},deprecated:Bl};var Al=n("1CF3");var Fl=Object(Pe.withDispatch)((e,t)=>{let{clientId:n,attributes:o}=t;const{replaceBlock:r}=e(we.store);return{convertToHTML(){r(n,Object(Oe.createBlock)("core/html",{content:o.originalUndelimitedContent}))}}})((function(e){let{attributes:t,convertToHTML:n}=e;const{originalName:o,originalUndelimitedContent:r}=t,a=!!r,l=Object(Oe.getBlockType)("core/html"),c=[];let i;return a&&l?(i=Object(ke.sprintf)(Object(ke.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),c.push(Object(je.createElement)(_e.Button,{key:"convert",onClick:n,variant:"primary"},Object(ke.__)("Keep as HTML")))):i=Object(ke.sprintf)(Object(ke.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),Object(je.createElement)("div",Object(we.useBlockProps)({className:"has-warning"}),Object(je.createElement)(we.Warning,{actions:c},i),Object(je.createElement)(je.RawHTML,null,Object(Al.safeHTML)(r)))}));const Dl={apiVersion:2,name:"core/missing",title:"Unsupported",category:"text",description:"Your site doesn’t include support for this block.",textdomain:"default",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1}},{name:Gl}=Dl,Ul={name:Gl,__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n){const{originalName:t}=e,n=t?Object(Oe.getBlockType)(t):void 0;return n?n.settings.title||t:""}},edit:Fl,save:function(e){let{attributes:t}=e;return Object(je.createElement)(je.RawHTML,null,t.originalContent)}};var ql=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"}));const Wl=Object(ke.__)("Read more");var $l={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:e=>e.dataset&&"core/more"===e.dataset.block,transform(e){const{customText:t,noTeaser:n}=e.dataset,o={};return t&&(o.customText=t),""===n&&(o.noTeaser=!0),Object(Oe.createBlock)("core/more",o)}}]};const Zl={apiVersion:2,name:"core/more",title:"More",category:"design",description:"Content before this block will be shown in the excerpt on your archives page.",keywords:["read more"],textdomain:"default",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1},editorStyle:"wp-block-more-editor"},{name:Kl}=Zl,Jl={icon:ql,example:{},__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n)return e.customText},transforms:$l,edit:function(e){let{attributes:{customText:t,noTeaser:n},insertBlocksAfter:o,setAttributes:r}=e;const a={width:(t||Wl).length+1.2+"em"};return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,null,Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:()=>r({noTeaser:!n}),help:e=>e?Object(ke.__)("The excerpt is hidden."):Object(ke.__)("The excerpt is visible.")}))),Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)("div",{className:"wp-block-more"},Object(je.createElement)("input",{"aria-label":Object(ke.__)("Read more link text"),type:"text",value:t,placeholder:Wl,onChange:e=>{r({customText:""!==e.target.value?e.target.value:void 0})},onKeyDown:e=>{let{keyCode:t}=e;t===dt.ENTER&&o([Object(Oe.createBlock)(Object(Oe.getDefaultBlockName)())])},style:a}))))},save:function(e){let{attributes:{customText:t,noTeaser:n}}=e;const o=t?`\x3c!--more ${t}--\x3e`:"\x3c!--more--\x3e",r=n?"\x3c!--noteaser--\x3e":"";return Object(je.createElement)(je.RawHTML,null,Object(Me.compact)([o,r]).join("\n"))}};var Ql=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})),Yl=n("OzlF");function Xl(e){let{clientId:t,__experimentalFeatures:n}=e;const o=Object(Pe.useSelect)(e=>e(we.store).__unstableGetClientIdsTree(t),[t]),r=Object(je.useRef)(),[a,l]=Object(je.useState)(300);return Object(je.useEffect)(()=>{var e,t;l(null!==(e=null==r||null===(t=r.current)||void 0===t?void 0:t.clientHeight)&&void 0!==e?e:300)},[]),Object(je.createElement)("div",{style:{minHeight:a}},Object(je.createElement)(we.__experimentalListView,{ref:r,blocks:o,showBlockMovers:!0,showNestedBlocks:!0,__experimentalFeatures:n}))}function ec(e){return Object(Pe.useSelect)(t=>{var n;const{getEntityRecord:o,getEditedEntityRecord:r,getEntityRecords:a,hasFinishedResolution:l,canUser:c}=t(It.store),i=["postType","wp_navigation",e],s=e?o(...i):null;let u=e?r(...i):null;"publish"!==(null===(n=u)||void 0===n?void 0:n.status)&&(u=null);const m=!!e&&l("getEditedEntityRecord",i),d=["postType","wp_navigation",{per_page:-1,status:"publish"}],b=a(...d),p=e?(null==b?void 0:b.length)>1:(null==b?void 0:b.length)>0;return{isNavigationMenuResolved:m,isNavigationMenuMissing:!e||m&&!s,canSwitchNavigationMenu:p,hasResolvedNavigationMenus:l("getEntityRecords",d),navigationMenu:u,navigationMenus:b,canUserUpdateNavigationEntity:e?c("update","navigation",e):void 0,hasResolvedCanUserUpdateNavigationEntity:l("canUser",["update","navigation",e]),canUserDeleteNavigationEntity:e?c("delete","navigation",e):void 0,hasResolvedCanUserDeleteNavigationEntity:l("canUser",["delete","navigation",e]),canUserCreateNavigation:c("create","navigation"),hasResolvedCanUserCreateNavigation:l("canUser",["create","navigation"])}},[e])}function tc(e){return{...rc(),...nc(),...oc(e)}}function nc(){const{menus:e,isResolvingMenus:t,hasResolvedMenus:n}=Object(Pe.useSelect)(e=>{const{getMenus:t,isResolving:n,hasFinishedResolution:o}=e(It.store),r=[{per_page:-1}];return{menus:t(...r),isResolvingMenus:n("getMenus",r),hasResolvedMenus:o("getMenus",r)}},[]);return{menus:e,isResolvingMenus:t,hasResolvedMenus:n,hasMenus:!(!n||null==e||!e.length)}}function oc(e){const{menuItems:t,hasResolvedMenuItems:n}=Object(Pe.useSelect)(t=>{const{getMenuItems:n,hasFinishedResolution:o}=t(It.store),r=void 0!==e,a=r?[{menus:e,per_page:-1}]:void 0;return{menuItems:r?n(...a):void 0,hasResolvedMenuItems:!!r&&o("getMenuItems",a)}},[e]);return{menuItems:t,hasResolvedMenuItems:n}}function rc(){const{pages:e,isResolvingPages:t,hasResolvedPages:n}=Object(Pe.useSelect)(e=>{const{getEntityRecords:t,isResolving:n,hasFinishedResolution:o}=e(It.store),r=["postType","page",{parent:0,order:"asc",orderby:"id",per_page:-1}];return{pages:t(...r)||null,isResolvingPages:n("getEntityRecords",r),hasResolvedPages:o("getEntityRecords",r)}},[]);return{pages:e,isResolvingPages:t,hasResolvedPages:n,hasPages:!(!n||null==e||!e.length)}}var ac=n("iClF"),lc=n("rmEH"),cc=n("cGtP");var ic=e=>{let{isLoading:t}=e;return Object(je.createElement)("ul",{className:tt()("wp-block-navigation-placeholder__preview","wp-block-navigation__container",{"is-loading":t})},Object(je.createElement)("li",{className:"wp-block-navigation-item"},"​"),Object(je.createElement)("li",{className:"wp-block-navigation-item"},"​"),Object(je.createElement)("li",{className:"wp-block-navigation-item"},"​"),Object(je.createElement)("li",{className:"wp-block-navigation-placeholder__preview-search-icon"},Object(je.createElement)(ac.a,{icon:cc.a})))};function sc(e,t){return e&&t?e+"//"+t:null}const uc=["postType","wp_navigation",{status:"draft",per_page:-1}],mc=["postType","wp_navigation",{per_page:-1,status:"publish"}];function dc(e){const t=Object(je.useContext)(_e.Disabled.Context),n=function(e){return Object(Pe.useSelect)(t=>{if(!e)return;const{getBlock:n,getBlockParentsByBlockName:o}=t(we.store),r=o(e,"core/template-part",!0);if(null==r||!r.length)return;const a=t("core/editor").__experimentalGetDefaultTemplatePartAreas(),{getEditedEntityRecord:l}=t(It.store);for(const e of r){const t=n(e),{theme:o,slug:r}=t.attributes,i=l("postType","wp_template_part",sc(o,r));var c;if(null!=i&&i.area)return null===(c=a.find(e=>"uncategorized"!==e.area&&e.area===i.area))||void 0===c?void 0:c.label}},[e])}(t?void 0:e),o=Object(Pe.useRegistry)();return Object(je.useCallback)(async()=>{if(t)return"";const{getEntityRecords:e}=o.resolveSelect(It.store),[r,a]=await Promise.all([e(...uc),e(...mc)]),l=n?Object(ke.sprintf)(Object(ke.__)("%s navigation"),n):Object(ke.__)("Navigation"),c=[...r,...a].reduce((e,t)=>{var n,o;return null!=t&&null!==(n=t.title)&&void 0!==n&&null!==(o=n.raw)&&void 0!==o&&o.startsWith(l)?e+1:e},0);return(c>0?`${l} ${c+1}`:l)||""},[t,n])}function bc(e){const{saveEntityRecord:t}=Object(Pe.useDispatch)(It.store),n=dc(e);return Object(je.useCallback)((async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e||(e=await n());const r={title:e,content:Object(Oe.serialize)(o),status:"publish"};return await t("postType","wp_navigation",r)}),[Oe.serialize,t])}function pc(e){if(!e)return null;const t=function e(t){let n={};const o=Object(Me.sortBy)(t,"menu_order");return{innerBlocks:o.map(t=>{var o,r;if("block"===t.type){const[e]=Object(Oe.parse)(t.content.raw);return e||Object(Oe.createBlock)("core/freeform",{content:t.content})}const a=function(e){var t;let{title:n,xfn:o,classes:r,attr_title:a,object:l,object_id:c,description:i,url:s,type:u,target:m}=e;l&&"post_tag"===l&&(l="tag");return{label:(null==n?void 0:n.rendered)||"",...(null===(t=l)||void 0===t?void 0:t.length)&&{type:l},kind:(null==u?void 0:u.replace("_","-"))||"custom",url:s||"",...(null==o?void 0:o.length)&&o.join(" ").trim()&&{rel:o.join(" ").trim()},...(null==r?void 0:r.length)&&r.join(" ").trim()&&{className:r.join(" ").trim()},...(null==a?void 0:a.length)&&{title:a},...c&&"custom"!==l&&{id:c},...(null==i?void 0:i.length)&&{description:i},..."_blank"===m&&{opensInNewTab:!0}}}(t),{innerBlocks:l=[],mapping:c={}}=null!==(o=t.children)&&void 0!==o&&o.length?e(t.children):{};n={...n,...c};const i=null!==(r=t.children)&&void 0!==r&&r.length?"core/navigation-submenu":"core/navigation-link",s=Object(Oe.createBlock)(i,a,l);return n[t.id]=s.clientId,s}),mapping:n}}(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"parent";const o=Object.create(null),r=[];for(const a of e)o[a[t]]={...a,children:[]},a[n]?(o[a[n]]=o[a[n]]||{},o[a[n]].children=o[a[n]].children||[],o[a[n]].children.push(o[a[t]])):r.push(o[a[t]]);return r}(e));return Object(Lr.applyFilters)("blocks.navigation.__unstableMenuItemsToBlocks",t,e)}function gc(e){const[t,n]=Object(je.useState)(),[o,r]=Object(je.useState)(!1),[a,l]=Object(je.useState)(""),{menuItems:c,hasResolvedMenuItems:i}=tc(t),s=Object(je.useCallback)(t=>{const{innerBlocks:n}=pc(c);e(n,t)},[c,pc,e]);return Object(je.useEffect)(()=>{o&&i&&(s(a),r(!1))},[o,i,a]),Object(je.useCallback)((e,t)=>{n(e),i?s(t):(r(!0),l(t))},[i,s])}const hc=e=>{let{canSwitchNavigationMenu:t,navigationMenus:n,onFinish:o,menus:r,onCreateFromMenu:a,showClassicMenus:l=!1}=e;return Object(je.createElement)(_e.DropdownMenu,{text:Object(ke.__)("Select menu"),icon:null,toggleProps:{variant:"tertiary",iconPosition:"right",className:"wp-block-navigation-placeholder__actions__dropdown"},popoverProps:{isAlternate:!0}},e=>{let{onClose:c}=e;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.MenuGroup,{label:Object(ke.__)("Menus")},t&&(null==n?void 0:n.map(e=>Object(je.createElement)(_e.MenuItem,{onClick:()=>{o(e)},onClose:c,key:e.id},Object(lc.decodeEntities)(e.title.rendered))))),l&&Object(je.createElement)(_e.MenuGroup,{label:Object(ke.__)("Classic Menus")},null==r?void 0:r.map(e=>Object(je.createElement)(_e.MenuItem,{onClick:()=>{a(e.id,e.name)},onClose:c,key:e.id},Object(lc.decodeEntities)(e.name)))))})};function vc(e){let{clientId:t,onFinish:n,canSwitchNavigationMenu:o,hasResolvedNavigationMenus:r,canUserCreateNavigation:a=!1}=e;const l=bc(t),c=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!a)return;const o=await l(t,e);n(o,e)},i=gc(c),{isResolvingPages:s,menus:u,isResolvingMenus:m,hasPages:d,hasMenus:b}=tc(),p=s||m,{navigationMenus:g}=ec();return Object(je.createElement)(je.Fragment,null,(!r||p)&&Object(je.createElement)(ic,{isLoading:!0}),r&&!p&&Object(je.createElement)(_e.Placeholder,{className:"wp-block-navigation-placeholder"},Object(je.createElement)(ic,null),Object(je.createElement)("div",{className:"wp-block-navigation-placeholder__controls"},Object(je.createElement)("div",{className:"wp-block-navigation-placeholder__actions"},Object(je.createElement)("div",{className:"wp-block-navigation-placeholder__actions__indicator"},Object(je.createElement)(ac.a,{icon:Ql})," ",Object(ke.__)("Navigation")),Object(je.createElement)("hr",null),b||null!=g&&g.length?Object(je.createElement)(je.Fragment,null,Object(je.createElement)(hc,{canSwitchNavigationMenu:o,navigationMenus:g,onFinish:n,menus:u,onCreateFromMenu:i,showClassicMenus:a}),Object(je.createElement)("hr",null)):void 0,a&&d?Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.Button,{variant:"tertiary",onClick:()=>{const e=[Object(Oe.createBlock)("core/page-list")];c(e)}},Object(ke.__)("Add all pages")),Object(je.createElement)("hr",null)):void 0,a&&Object(je.createElement)(_e.Button,{variant:"tertiary",onClick:()=>{c([])}},Object(ke.__)("Start empty"))))))}var Oc=n("w95h");function jc(e){let{children:t,id:n,isOpen:o,isResponsive:r,onToggle:a,isHiddenByDefault:l,classNames:c,styles:i}=e;if(!r)return t;const s=tt()("wp-block-navigation__responsive-container",c,{"is-menu-open":o,"hidden-by-default":l}),u=tt()("wp-block-navigation__responsive-container-open",{"always-shown":l}),m=n+"-modal",d={className:"wp-block-navigation__responsive-dialog",...o&&{role:"dialog","aria-modal":!0,"aria-label":Object(ke.__)("Menu")}};return Object(je.createElement)(je.Fragment,null,!o&&Object(je.createElement)(_e.Button,{"aria-haspopup":"true","aria-label":Object(ke.__)("Open menu"),className:u,onClick:()=>a(!0)},Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img","aria-hidden":"true",focusable:"false"},Object(je.createElement)(ye.Rect,{x:"4",y:"7.5",width:"16",height:"1.5"}),Object(je.createElement)(ye.Rect,{x:"4",y:"15",width:"16",height:"1.5"}))),Object(je.createElement)("div",{className:s,style:i,id:m},Object(je.createElement)("div",{className:"wp-block-navigation__responsive-close",tabIndex:"-1"},Object(je.createElement)("div",d,Object(je.createElement)(_e.Button,{className:"wp-block-navigation__responsive-container-close","aria-label":Object(ke.__)("Close menu"),onClick:()=>a(!1)},Object(je.createElement)(ac.a,{icon:Oc.a})),Object(je.createElement)("div",{className:"wp-block-navigation__responsive-container-content",id:m+"-content"},t)))))}const yc=["core/navigation-link","core/search","core/social-links","core/page-list","core/spacer","core/home-link","core/site-title","core/site-logo","core/navigation-submenu"],fc=["core/navigation-link"],_c={type:"default",alignments:[]};function kc(e){let{isVisible:t,clientId:n,appender:o,hasCustomPlaceholder:r,orientation:a}=e;const{isImmediateParentOfSelectedBlock:l,selectedBlockHasDescendants:c,isSelected:i}=Object(Pe.useSelect)(e=>{var t;const{getClientIdsOfDescendants:o,hasSelectedInnerBlock:r,getSelectedBlockClientId:a}=e(we.store),l=a();return{isImmediateParentOfSelectedBlock:r(n,!1),selectedBlockHasDescendants:!(null===(t=o([l]))||void 0===t||!t.length),isSelected:l===n}},[n]),[s,u,m]=Object(It.useEntityBlockEditor)("postType","wp_navigation"),d=Object(je.useMemo)(()=>s.every(e=>{let{name:t}=e;return"core/navigation-link"===t||"core/navigation-submenu"===t||"core/page-list"===t}),[s]),b=!(!t||!(i||l&&!c))&&void 0,p=Object(je.useMemo)(()=>Object(je.createElement)(ic,null),[]),g=Object(we.useInnerBlocksProps)({className:"wp-block-navigation__container"},{value:s,onInput:u,onChange:m,allowedBlocks:yc,__experimentalDefaultBlock:fc,__experimentalDirectInsert:d,orientation:a,renderAppender:o||b,templateLock:!1,__experimentalLayout:_c,placeholder:!t||r?void 0:p});return Object(je.createElement)(we.__experimentalBlockContentOverlay,{clientId:n,tagName:"div",wrapperProps:g})}function wc(e){let{clientId:t,onSelect:n,onCreateNew:o,canUserCreateNavigation:r=!1}=e;const{menus:a,hasMenus:l}=tc(),{navigationMenus:c}=ec(),i=Object(It.useEntityId)("postType","wp_navigation"),s=bc(t),u=gc((async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!r)return;const o=await s(t,e);n(o)}));return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.MenuGroup,{label:Object(ke.__)("Menus")},Object(je.createElement)(_e.MenuItemsChoice,{value:i,onSelect:e=>n(c.find(t=>t.id===e)),choices:c.map(e=>{let{id:t,title:n}=e;const o=Object(lc.decodeEntities)(n.rendered);return{value:t,label:o,"aria-label":Object(ke.sprintf)(Object(ke.__)("Switch to '%s'"),o)}})})),r&&Object(je.createElement)(je.Fragment,null,l&&Object(je.createElement)(_e.MenuGroup,{label:Object(ke.__)("Classic Menus")},a.map(e=>Object(je.createElement)(_e.MenuItem,{onClick:()=>{u(e.id,e.name)},key:e.id},Object(lc.decodeEntities)(e.name)))),Object(je.createElement)(_e.MenuGroup,{label:Object(ke.__)("Tools")},Object(je.createElement)(_e.MenuItem,{onClick:o},Object(ke.__)("Create new menu")),Object(je.createElement)(_e.MenuItem,{href:Object(Jo.addQueryArgs)("edit.php",{post_type:"wp_navigation"})},Object(ke.__)("Manage menus")))))}function Ec(){const[e,t]=Object(It.useEntityProp)("postType","wp_navigation","title");return Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Menu name"),value:e,onChange:t})}const Cc={},xc=["postType","wp_navigation",{status:"draft",per_page:-1}];function Sc(e){let{blockProps:t,blocks:n,clientId:o,hasSavedUnsavedInnerBlocks:r,onSave:a,hasSelection:l}=e;const c=Object(je.useContext)(_e.Disabled.Context),i=Object(je.useRef)(!1),s=Object(we.useInnerBlocksProps)(t,{renderAppender:!!l&&void 0}),{isSaving:u,draftNavigationMenus:m,hasResolvedDraftNavigationMenus:d}=Object(Pe.useSelect)(e=>{if(c)return Cc;const{getEntityRecords:t,hasFinishedResolution:n,isSavingEntityRecord:o}=e(It.store);return{isSaving:o("postType","wp_navigation"),draftNavigationMenus:t(...xc),hasResolvedDraftNavigationMenus:n("getEntityRecords",xc)}},[c]),{hasResolvedNavigationMenus:b,navigationMenus:p}=ec(),g=bc(o);return Object(je.useEffect)(async()=>{if(c||r||u||i.current||!d||!b||!l)return;i.current=!0;const e=await g(null,n);a(e),i.current=!1},[c,u,d,b,m,p,l,g,n]),Object(je.createElement)("div",{className:"wp-block-navigation__unsaved-changes"},Object(je.createElement)(_e.Disabled,{className:tt()("wp-block-navigation__unsaved-changes-overlay",{"is-saving":l})},Object(je.createElement)("div",s)),l&&Object(je.createElement)(_e.Spinner,null))}function Bc(e){let{onDelete:t}=e;const[n,o]=Object(je.useState)(!1),r=Object(It.useEntityId)("postType","wp_navigation"),[a]=Object(It.useEntityProp)("postType","wp_navigation","title"),{deleteEntityRecord:l}=Object(Pe.useDispatch)(It.store);return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.Button,{className:"wp-block-navigation-delete-menu-button",variant:"secondary",isDestructive:!0,onClick:()=>{o(!0)}},Object(ke.__)("Delete menu")),n&&Object(je.createElement)(_e.Modal,{title:Object(ke.sprintf)(Object(ke.__)("Delete %s"),a),closeLabel:Object(ke.__)("Cancel"),onRequestClose:()=>o(!1)},Object(je.createElement)("p",null,Object(ke.__)("Are you sure you want to delete this navigation menu?")),Object(je.createElement)(_e.Flex,{justify:"flex-end"},Object(je.createElement)(_e.FlexItem,null,Object(je.createElement)(_e.Button,{variant:"secondary",onClick:()=>{o(!1)}},Object(ke.__)("Cancel"))),Object(je.createElement)(_e.FlexItem,null,Object(je.createElement)(_e.Button,{variant:"primary",onClick:()=>{l("postType","wp_navigation",r,{force:!0}),t()}},Object(ke.__)("Confirm"))))))}var Tc=function(){let{name:e,message:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=Object(je.useRef)(),{createWarningNotice:o,removeNotice:r}=Object(Pe.useDispatch)(Do.store),a=()=>{n.current||(n.current=e,o(t,{id:n.current,type:"snackbar"}))},l=()=>{n.current&&(r(n.current),n.current=null)};return[a,l]};const Nc=[];function zc(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function Pc(e,t,n){if(!e)return;t(zc(e).color);let o=e,r=zc(o).backgroundColor;for(;"rgba(0, 0, 0, 0)"===r&&o.parentNode&&o.parentNode.nodeType===o.parentNode.ELEMENT_NODE;)o=o.parentNode,r=zc(o).backgroundColor;n(r)}var Ic=Object(we.withColors)({textColor:"color"},{backgroundColor:"color"},{overlayBackgroundColor:"color"},{overlayTextColor:"color"})((function(e){let{attributes:t,setAttributes:n,clientId:o,isSelected:r,className:a,backgroundColor:l,setBackgroundColor:c,textColor:i,setTextColor:s,overlayBackgroundColor:u,setOverlayBackgroundColor:m,overlayTextColor:d,setOverlayTextColor:b,context:{navigationArea:p},hasSubmenuIndicatorSetting:g=!0,hasColorSettings:h=!0,customPlaceholder:v=null,customAppender:O=null}=e;const{openSubmenusOnClick:j,overlayMenu:y,showSubmenuIcon:f,layout:{justifyContent:_,orientation:k="horizontal",flexWrap:w="wrap"}={}}=t;let E=Me.noop;const C=p?void 0:t.ref,x=Object(Pe.useRegistry)(),S=Object(je.useCallback)(e=>{n({ref:e}),p&&E(e)},[p]),[B,T]=Object(we.__experimentalUseNoRecursiveRenders)("navigationMenu/"+C);tc();const{hasUncontrolledInnerBlocks:N,uncontrolledInnerBlocks:z,isInnerBlockSelected:P}=Object(Pe.useSelect)(e=>{const{getBlock:t,getBlocks:n,hasSelectedInnerBlock:r}=e(we.store),a=t(o).innerBlocks,l=null==a?void 0:a.length,c=l?Nc:n(o);return{hasSubmenus:!!(l?a:c).find(e=>"core/navigation-submenu"===e.name),hasUncontrolledInnerBlocks:l,uncontrolledInnerBlocks:a,isInnerBlockSelected:r(o,!0)}},[o]),{replaceInnerBlocks:I,selectBlock:M,__unstableMarkNextChangeAsNotPersistent:R}=Object(Pe.useDispatch)(we.store),[L,V]=Object(je.useState)(!1),H=!!p&&!C,[A,F]=Object(je.useState)(!N||H),[D,G]=Object(je.useState)(!1),{isNavigationMenuResolved:U,isNavigationMenuMissing:q,canSwitchNavigationMenu:W,hasResolvedNavigationMenus:$,navigationMenus:Z,navigationMenu:K,canUserUpdateNavigationEntity:J,hasResolvedCanUserUpdateNavigationEntity:Q,canUserDeleteNavigationEntity:Y,hasResolvedCanUserDeleteNavigationEntity:X,canUserCreateNavigation:ee,hasResolvedCanUserCreateNavigation:te}=ec(C),ne=Object(je.useRef)(),oe="draft"===(null==K?void 0:K.status),{listViewToolbarButton:re,listViewModal:ae}=function(e,t){const[n,o]=Object(je.useState)(!1);return{listViewToolbarButton:Object(je.createElement)(_e.ToolbarButton,{className:"components-toolbar__control",label:Object(ke.__)("Open list view"),onClick:()=>o(!0),icon:Yl.a}),listViewModal:n&&Object(je.createElement)(_e.Modal,{title:Object(ke.__)("List View"),closeLabel:Object(ke.__)("Close"),onRequestClose:()=>{o(!1)},shouldCloseOnClickOutside:!1},Object(je.createElement)(Xl,{clientId:e,__experimentalFeatures:t}))}}(o),le=!q&&U,ce=Object(we.useBlockProps)({ref:ne,className:tt()(a,{"items-justified-right":"right"===_,"items-justified-space-between":"space-between"===_,"items-justified-left":"left"===_,"items-justified-center":"center"===_,"is-vertical":"vertical"===k,"no-wrap":"nowrap"===w,"is-responsive":"never"!==y,"has-text-color":!!i.color||!(null==i||!i.class),[Object(we.getColorClassName)("color",null==i?void 0:i.slug)]:!(null==i||!i.slug),"has-background":!!l.color||l.class,[Object(we.getColorClassName)("background-color",null==l?void 0:l.slug)]:!(null==l||!l.slug)}),style:{color:!(null!=i&&i.slug)&&(null==i?void 0:i.color),backgroundColor:!(null!=l&&l.slug)&&(null==l?void 0:l.color)}}),ie=tt()({"has-text-color":!!d.color||!(null==d||!d.class),[Object(we.getColorClassName)("color",null==d?void 0:d.slug)]:!(null==d||!d.slug),"has-background":!!u.color||(null==u?void 0:u.class),[Object(we.getColorClassName)("background-color",null==u?void 0:u.slug)]:!(null==u||!u.slug)}),se={color:!(null!=d&&d.slug)&&(null==d?void 0:d.color),backgroundColor:!(null!=u&&u.slug)&&(null==u?void 0:u.color)&&u.color},ue="web"===je.Platform.OS,[me,de]=Object(je.useState)(),[be,pe]=Object(je.useState)(),[ge,he]=Object(je.useState)(),[ve,Oe]=Object(je.useState)();Object(je.useEffect)(()=>{k&&(R(),n({orientation:k}))},[k]),Object(je.useEffect)(()=>{var e;if(!ue)return;Pc(ne.current,pe,de);const t=null===(e=ne.current)||void 0===e?void 0:e.querySelector('[data-type="core/navigation-link"] [data-type="core/navigation-link"]');t&&Pc(t,Oe,he)}),Object(je.useEffect)(()=>{F(!le)},[le]);const[ye,fe]=Tc({name:"block-library/core/navigation/permissions/update",message:Object(ke.__)("You do not have permission to edit this Menu. Any changes made will not be saved.")}),[Ee,Ce]=Tc({name:"block-library/core/navigation/permissions/create",message:Object(ke.__)("You do not have permission to create Navigation Menus.")});Object(je.useEffect)(()=>{r||P||(fe(),Ce()),(r||P)&&(Q&&!J&&ye(),C||!te||ee||Ee())},[r,P,J,Q,ee,te,C]);const xe=Object(je.useCallback)(()=>{x.batch(()=>{p&&E(0),n({ref:void 0}),C||I(o,[]),F(!0)})},[o,C]);if(N&&!le)return Object(je.createElement)("nav",ce,Object(je.createElement)(jc,{id:o,onToggle:G,isOpen:D,isResponsive:"never"!==y,isHiddenByDefault:"always"===y,classNames:ie,styles:se},Object(je.createElement)(Sc,{blockProps:ce,blocks:z,clientId:o,navigationMenus:Z,hasSelection:r||P,hasSavedUnsavedInnerBlocks:L,onSave:e=>{V(!0),S(e.id)}})));if(C&&q)return Object(je.createElement)("div",ce,Object(je.createElement)(we.Warning,null,Object(ke.__)("Navigation menu has been deleted or is unavailable. "),Object(je.createElement)(_e.Button,{onClick:xe,variant:"link"},Object(ke.__)("Create a new menu?"))));if(le&&B)return Object(je.createElement)("div",ce,Object(je.createElement)(we.Warning,null,Object(ke.__)("Block cannot be rendered inside itself.")));const Se=v||vc;return Object(je.createElement)(It.EntityProvider,{kind:"postType",type:"wp_navigation",id:C},Object(je.createElement)(T,null,Object(je.createElement)(we.BlockControls,null,!oe&&le&&Object(je.createElement)(_e.ToolbarGroup,null,Object(je.createElement)(_e.ToolbarDropdownMenu,{label:Object(ke.__)("Select Menu"),text:Object(ke.__)("Select Menu"),icon:null},e=>{let{onClose:t}=e;return Object(je.createElement)(wc,{clientId:o,onSelect:e=>{let{id:n}=e;S(n),t()},onCreateNew:xe,canUserCreateNavigation:ee})})),Object(je.createElement)(_e.ToolbarGroup,null,re)),ae,Object(je.createElement)(we.InspectorControls,null,g&&Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Display")},Object(je.createElement)("h3",null,Object(ke.__)("Overlay Menu")),Object(je.createElement)(_e.__experimentalToggleGroupControl,{label:Object(ke.__)("Configure overlay menu"),value:y,help:Object(ke.__)("Collapses the navigation options in a menu icon opening an overlay."),onChange:e=>n({overlayMenu:e}),isBlock:!0,hideLabelFromVision:!0},Object(je.createElement)(_e.__experimentalToggleGroupControlOption,{value:"never",label:Object(ke.__)("Off")}),Object(je.createElement)(_e.__experimentalToggleGroupControlOption,{value:"mobile",label:Object(ke.__)("Mobile")}),Object(je.createElement)(_e.__experimentalToggleGroupControlOption,{value:"always",label:Object(ke.__)("Always")})),Object(je.createElement)("h3",null,Object(ke.__)("Submenus")),Object(je.createElement)(_e.ToggleControl,{checked:j,onChange:e=>{n({openSubmenusOnClick:e})},label:Object(ke.__)("Open on click")}),!t.openSubmenusOnClick&&Object(je.createElement)(_e.ToggleControl,{checked:f,onChange:e=>{n({showSubmenuIcon:e})},label:Object(ke.__)("Show icons")})),h&&Object(je.createElement)(we.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:Object(ke.__)("Color"),initialOpen:!1,colorSettings:[{value:i.color,onChange:s,label:Object(ke.__)("Text")},{value:l.color,onChange:c,label:Object(ke.__)("Background")},{value:d.color,onChange:b,label:Object(ke.__)("Submenu & overlay text")},{value:u.color,onChange:m,label:Object(ke.__)("Submenu & overlay background")}]},ue&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.ContrastChecker,{backgroundColor:me,textColor:be}),Object(je.createElement)(we.ContrastChecker,{backgroundColor:ge,textColor:ve})))),le&&Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"advanced"},Q&&J&&Object(je.createElement)(Ec,null),X&&Y&&Object(je.createElement)(Bc,{onDelete:xe})),Object(je.createElement)("nav",ce,A&&Object(je.createElement)(Se,{onFinish:e=>{F(!1),e&&S(e.id),M(o)},canSwitchNavigationMenu:W,hasResolvedNavigationMenus:$,clientId:o,canUserCreateNavigation:ee}),!te||!le&&!A&&Object(je.createElement)(ic,{isLoading:!0}),!A&&Object(je.createElement)(jc,{id:o,onToggle:G,isOpen:D,isResponsive:"never"!==y,isHiddenByDefault:"always"===y,classNames:ie,styles:se},le&&Object(je.createElement)(kc,{isVisible:!A,clientId:o,appender:O,hasCustomPlaceholder:!!v,orientation:k})))))}));const Mc={fontStyle:"var:preset|font-style|",fontWeight:"var:preset|font-weight|",textDecoration:"var:preset|text-decoration|",textTransform:"var:preset|text-transform|"},Rc=e=>{let{navigationMenuId:t,...n}=e;return{...n,ref:t}},Lc=e=>{if(e.layout)return e;const{itemsJustification:t,orientation:n,...o}=e;return(t||n)&&Object.assign(o,{layout:{type:"flex",...t&&{justifyContent:t},...n&&{orientation:n}}}),o};var Vc=[{attributes:{navigationMenuId:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},overlayMenu:{type:"string",default:"mobile"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{blockGap:!0,units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},save:()=>Object(je.createElement)(we.InnerBlocks.Content,null),isEligible:e=>{let{navigationMenuId:t}=e;return!!t},migrate:Rc},{attributes:{navigationMenuId:{type:"number"},orientation:{type:"string",default:"horizontal"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},overlayMenu:{type:"string",default:"never"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{blockGap:!0,units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}}},save:()=>Object(je.createElement)(we.InnerBlocks.Content,null),isEligible:e=>{let{itemsJustification:t,orientation:n}=e;return!!t||!!n},migrate:Object(nt.compose)(Rc,Lc)},{attributes:{orientation:{type:"string",default:"horizontal"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},overlayMenu:{type:"string",default:"never"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0},spacing:{blockGap:!0,units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}}},save:()=>Object(je.createElement)(we.InnerBlocks.Content,null),migrate:Object(nt.compose)(Rc,Lc,at),isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}},{attributes:{orientation:{type:"string",default:"horizontal"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},isResponsive:{type:"boolean",default:"false"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0}},isEligible:e=>e.isResponsive,migrate:Object(nt.compose)(Rc,Lc,at,(function(e){return delete e.isResponsive,{...e,overlayMenu:"mobile"}})),save:()=>Object(je.createElement)(we.InnerBlocks.Content,null)},{attributes:{orientation:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,fontSize:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,color:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0},save:()=>Object(je.createElement)(we.InnerBlocks.Content,null),isEligible(e){if(!e.style||!e.style.typography)return!1;for(const t in Mc){const n=e.style.typography[t];if(n&&n.startsWith(Mc[t]))return!0}return!1},migrate:Object(nt.compose)(Rc,Lc,at,(function(e){return{...e,style:{...e.style,typography:Object(Me.mapValues)(e.style.typography,(e,t)=>{const n=Mc[t];if(n&&e.startsWith(n)){const o=e.slice(n.length);return"textDecoration"===t&&"strikethrough"===o?"line-through":o}return e})}}}))},{attributes:{className:{type:"string"},textColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean"}},isEligible:e=>e.rgbTextColor||e.rgbBackgroundColor,supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},migrate:Object(nt.compose)(Rc,e=>({...Object(Me.omit)(e,["rgbTextColor","rgbBackgroundColor"]),customTextColor:e.textColor?void 0:e.rgbTextColor,customBackgroundColor:e.backgroundColor?void 0:e.rgbBackgroundColor})),save:()=>Object(je.createElement)(we.InnerBlocks.Content,null)}];const Hc={apiVersion:2,name:"core/navigation",title:"Navigation",category:"theme",description:"A collection of blocks that allow visitors to get around your site.",keywords:["menu","navigation","links"],textdomain:"default",attributes:{ref:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},overlayMenu:{type:"string",default:"mobile"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},usesContext:["navigationArea"],providesContext:{textColor:"textColor",customTextColor:"customTextColor",backgroundColor:"backgroundColor",customBackgroundColor:"customBackgroundColor",overlayTextColor:"overlayTextColor",customOverlayTextColor:"customOverlayTextColor",overlayBackgroundColor:"overlayBackgroundColor",customOverlayBackgroundColor:"customOverlayBackgroundColor",fontSize:"fontSize",customFontSize:"customFontSize",showSubmenuIcon:"showSubmenuIcon",openSubmenusOnClick:"openSubmenusOnClick",style:"style",orientation:"orientation"},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{units:["px","em","rem","vh","vw"]},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},viewScript:"file:./view.min.js",editorStyle:"wp-block-navigation-editor",style:"wp-block-navigation"},{name:Ac}=Hc,Fc={icon:Ql,example:{innerBlocks:[{name:"core/navigation-link",attributes:{label:Object(ke.__)("Home"),url:"https://make.wordpress.org/"}},{name:"core/navigation-link",attributes:{label:Object(ke.__)("About"),url:"https://make.wordpress.org/"}},{name:"core/navigation-link",attributes:{label:Object(ke.__)("Contact"),url:"https://make.wordpress.org/"}}]},edit:Ic,save:function(e){let{attributes:t}=e;if(!t.ref)return Object(je.createElement)(we.InnerBlocks.Content,null)},deprecated:Vc};var Dc=Object(je.createElement)(ye.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M12.5 14.5h-1V16h1c2.2 0 4-1.8 4-4s-1.8-4-4-4h-1v1.5h1c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5zm-4 1.5v-1.5h-1C6.1 14.5 5 13.4 5 12s1.1-2.5 2.5-2.5h1V8h-1c-2.2 0-4 1.8-4 4s1.8 4 4 4h1zm-1-3.2h5v-1.5h-5v1.5zM18 4H9c-1.1 0-2 .9-2 2v.5h1.5V6c0-.3.2-.5.5-.5h9c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5v-.5H7v.5c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"}));var Gc=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"}));const{name:Uc}={apiVersion:2,name:"core/navigation-link",title:"Custom Link",category:"design",parent:["core/navigation"],description:"Add a page, link, or another item to your navigation.",textdomain:"default",attributes:{label:{type:"string"},type:{type:"string"},description:{type:"string"},rel:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"},title:{type:"string"},kind:{type:"string"},isTopLevelLink:{type:"boolean"}},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","style"],supports:{reusable:!1,html:!1,__experimentalSlashInserter:!0},editorStyle:"wp-block-navigation-link-editor",style:"wp-block-navigation-link"};function qc(e,t){switch(e){case"post":case"page":return{type:"post",subtype:e};case"category":return{type:"term",subtype:"category"};case"tag":return{type:"term",subtype:"post_tag"};case"post_format":return{type:"post-format"};default:return"taxonomy"===t?{type:"term",subtype:e}:"post-type"===t?{type:"post",subtype:e}:{}}}function Wc(e){const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body.textContent||""}function $c(e){let{block:t,transforms:n,replace:o}=e;return Object(je.createElement)("div",{className:"link-control-transform"},Object(je.createElement)("h3",{className:"link-control-transform__subheading"},Object(ke.__)("Transform")),Object(je.createElement)("div",{className:"link-control-transform__items"},n.map((e,n)=>Object(je.createElement)(_e.Button,{key:"transform-"+n,onClick:()=>o(t.clientId,Object(Oe.switchToBlockType)(t,e.name)),className:"link-control-transform__item"},Object(je.createElement)(we.BlockIcon,{icon:e.icon}),e.title))))}var Zc=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M4 14.5h16V16H4zM4 18.5h9V20H4zM4 4h3c2 0 3 .86 3 2.583 0 .891-.253 1.554-.76 1.988-.505.435-1.24.652-2.204.652H5.542V12H4V4zm2.855 4c.53 0 .924-.114 1.18-.343.266-.228.398-.579.398-1.051 0-.473-.132-.82-.397-1.04-.265-.229-.67-.343-1.217-.343H5.542V8h1.313z"}));var Kc=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M7 5.5h10a.5.5 0 01.5.5v12a.5.5 0 01-.5.5H7a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM17 4H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V6a2 2 0 00-2-2zm-1 3.75H8v1.5h8v-1.5zM8 11h8v1.5H8V11zm6 3.25H8v1.5h6v-1.5z"}));var Jc=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M20.1 11.2l-6.7-6.7c-.1-.1-.3-.2-.5-.2H5c-.4-.1-.8.3-.8.7v7.8c0 .2.1.4.2.5l6.7 6.7c.2.2.5.4.7.5s.6.2.9.2c.3 0 .6-.1.9-.2.3-.1.5-.3.8-.5l5.6-5.6c.4-.4.7-1 .7-1.6.1-.6-.2-1.2-.6-1.6zM19 13.4L13.4 19c-.1.1-.2.1-.3.2-.2.1-.4.1-.6 0-.1 0-.2-.1-.3-.2l-6.5-6.5V5.8h6.8l6.5 6.5c.2.2.2.4.2.6 0 .1 0 .3-.2.5zM9 8c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z"}));var Qc=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z"}));const Yc=[{name:"link",isDefault:!0,title:Object(ke.__)("Custom Link"),description:Object(ke.__)("A link to a custom URL."),attributes:{}},{name:"post",icon:Zc,title:Object(ke.__)("Post Link"),description:Object(ke.__)("A link to a post."),attributes:{type:"post",kind:"post-type"}},{name:"page",icon:Kc,title:Object(ke.__)("Page Link"),description:Object(ke.__)("A link to a page."),attributes:{type:"page",kind:"post-type"}},{name:"category",icon:Ht,title:Object(ke.__)("Category Link"),description:Object(ke.__)("A link to a category."),attributes:{type:"category",kind:"taxonomy"}},{name:"tag",icon:Jc,title:Object(ke.__)("Tag Link"),description:Object(ke.__)("A link to a tag."),attributes:{type:"tag",kind:"taxonomy"}}];Yc.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)});var Xc=Yc;function ei(e){switch(e){case"post":return Zc;case"page":return Kc;case"tag":return Jc;case"category":return Ht;default:return Qc}}var ti={from:[{type:"block",blocks:["core/site-logo"],transform:()=>Object(Oe.createBlock)("core/navigation-link")},{type:"block",blocks:["core/spacer"],transform:()=>Object(Oe.createBlock)("core/navigation-link")},{type:"block",blocks:["core/home-link"],transform:()=>Object(Oe.createBlock)("core/navigation-link")},{type:"block",blocks:["core/social-links"],transform:()=>Object(Oe.createBlock)("core/navigation-link")},{type:"block",blocks:["core/search"],transform:()=>Object(Oe.createBlock)("core/navigation-link")}],to:[{type:"block",blocks:["core/navigation-submenu"],transform:(e,t)=>Object(Oe.createBlock)("core/navigation-submenu",e,t)},{type:"block",blocks:["core/spacer"],transform:()=>Object(Oe.createBlock)("core/spacer")},{type:"block",blocks:["core/site-logo"],transform:()=>Object(Oe.createBlock)("core/site-logo")},{type:"block",blocks:["core/home-link"],transform:()=>Object(Oe.createBlock)("core/home-link")},{type:"block",blocks:["core/social-links"],transform:()=>Object(Oe.createBlock)("core/social-links")},{type:"block",blocks:["core/search"],transform:()=>Object(Oe.createBlock)("core/search",{showLabel:!1,buttonUseIcon:!0,buttonPosition:"button-inside"})}]};const ni={apiVersion:2,name:"core/navigation-link",title:"Custom Link",category:"design",parent:["core/navigation"],description:"Add a page, link, or another item to your navigation.",textdomain:"default",attributes:{label:{type:"string"},type:{type:"string"},description:{type:"string"},rel:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"},title:{type:"string"},kind:{type:"string"},isTopLevelLink:{type:"boolean"}},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","style"],supports:{reusable:!1,html:!1,__experimentalSlashInserter:!0},editorStyle:"wp-block-navigation-link-editor",style:"wp-block-navigation-link"},{name:oi}=ni,ri={icon:Dc,__experimentalLabel:e=>{let{label:t}=e;return t},merge(e,t){let{label:n=""}=t;return{...e,label:e.label+n}},edit:function(e){let{attributes:t,isSelected:n,setAttributes:o,insertBlocksAfter:r,mergeBlocks:a,onReplace:l,context:c,clientId:i}=e;const{label:s,type:u,opensInNewTab:m,url:d,description:b,rel:p,title:g,kind:h}=t,v={url:d,opensInNewTab:m,title:s&&Wc(s)},{saveEntityRecord:O}=Object(Pe.useDispatch)(It.store),{replaceBlock:j,__unstableMarkNextChangeAsNotPersistent:y}=Object(Pe.useDispatch)(we.store),[f,_]=Object(je.useState)(!1),k=Object(je.useRef)(null),w=(e=>{const[t,n]=Object(je.useState)(!1);return Object(je.useEffect)(()=>{const{ownerDocument:t}=e.current;function o(e){a(e)}function r(){n(!1)}function a(t){e.current.contains(t.target)?n(!0):n(!1)}return t.addEventListener("dragstart",o),t.addEventListener("dragend",r),t.addEventListener("dragenter",a),()=>{t.removeEventListener("dragstart",o),t.removeEventListener("dragend",r),t.removeEventListener("dragenter",a)}},[]),t})(k),E=Object(ke.__)("Add link…"),C=Object(je.useRef)(),{innerBlocks:x,isAtMaxNesting:S,isTopLevelLink:B,isParentOfSelectedBlock:T,hasDescendants:N,userCanCreatePages:z,userCanCreatePosts:P,thisBlock:I,blockTransforms:M}=Object(Pe.useSelect)(e=>{var t;const{getBlock:n,getBlocks:o,getBlockName:r,getBlockRootClientId:a,getClientIdsOfDescendants:l,hasSelectedInnerBlock:c,getSelectedBlockClientId:s,getBlockParentsByBlockName:u,getBlockTransformItems:m}=e(we.store),d=s(),b=l([i]).length;return{innerBlocks:o(i),isAtMaxNesting:u(i,[Uc,"core/navigation-submenu"]).length>=5,isTopLevelLink:"core/navigation"===r(a(i)),isParentOfSelectedBlock:c(i,!0),isImmediateParentOfSelectedBlock:c(i,!1),hasDescendants:!!b,selectedBlockHasDescendants:!(null===(t=l([d]))||void 0===t||!t.length),userCanCreatePages:e(It.store).canUser("create","pages"),userCanCreatePosts:e(It.store).canUser("create","posts"),thisBlock:n(i),blockTransforms:m([n(i)],a(i))}},[i]);function R(){const e=Object(Oe.createBlock)("core/navigation-submenu",t,x);j(i,e)}Object(je.useEffect)(()=>{y(),o({isTopLevelLink:B})},[B]);const L=["core/site-logo","core/social-links","core/search"],V=M.filter(e=>L.includes(e.name));Object(je.useEffect)(()=>{d||_(!0),N&&R()},[]),Object(je.useEffect)(()=>{n||_(!1)},[n]),Object(je.useEffect)(()=>{f&&d&&(Object(Jo.isURL)(Object(Jo.prependHTTP)(s))&&/^.+\.[a-z]+/.test(s)?function(){C.current.focus();const{ownerDocument:e}=C.current,{defaultView:t}=e,n=t.getSelection(),o=e.createRange();o.selectNodeContents(C.current),n.removeAllRanges(),n.addRange(o)}():Object(Al.placeCaretAtHorizontalEdge)(C.current,!0))},[d]);let H=!1;u&&"page"!==u?"post"===u&&(H=P):H=z;const{textColor:A,customTextColor:F,backgroundColor:D,customBackgroundColor:G}=function(e,t){var n,o;const{textColor:r,customTextColor:a,backgroundColor:l,customBackgroundColor:c,overlayTextColor:i,customOverlayTextColor:s,overlayBackgroundColor:u,customOverlayBackgroundColor:m,style:d}=e,b={};return t&&s?b.customTextColor=s:t&&i?b.textColor=i:a?b.customTextColor=a:r?b.textColor=r:null!=d&&null!==(n=d.color)&&void 0!==n&&n.text&&(b.customTextColor=d.color.text),t&&m?b.customBackgroundColor=m:t&&u?b.backgroundColor=u:c?b.customBackgroundColor=c:l?b.backgroundColor=l:null!=d&&null!==(o=d.color)&&void 0!==o&&o.background&&(b.customTextColor=d.color.background),b}(c,!B),U=Object(we.useBlockProps)({ref:k,className:tt()("wp-block-navigation-item",{"is-editing":n||T,"is-dragging-within":w,"has-link":!!d,"has-child":N,"has-text-color":!!A||!!F,[Object(we.getColorClassName)("color",A)]:!!A,"has-background":!!D||G,[Object(we.getColorClassName)("background-color",D)]:!!D}),style:{color:!A&&F,backgroundColor:!D&&G},onKeyDown:function(e){(dt.isKeyboardEvent.primary(e,"k")||!d&&e.keyCode===dt.ENTER)&&_(!0)}});d||(U.onClick=()=>_(!0));const q=tt()("wp-block-navigation-item__content",{"wp-block-navigation-link__placeholder":!d});let W="";switch(u){case"post":W=Object(ke.__)("Select post");break;case"page":W=Object(ke.__)("Select page");break;case"category":W=Object(ke.__)("Select category");break;case"tag":W=Object(ke.__)("Select tag");break;default:W=Object(ke.__)("Add link")}return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,null,Object(je.createElement)(_e.ToolbarButton,{name:"link",icon:bt.a,title:Object(ke.__)("Link"),shortcut:dt.displayShortcut.primary("k"),onClick:()=>_(!0)}),!S&&Object(je.createElement)(_e.ToolbarButton,{name:"submenu",icon:Gc,title:Object(ke.__)("Add submenu"),onClick:R}))),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Link settings")},Object(je.createElement)(_e.TextareaControl,{value:b||"",onChange:e=>{o({description:e})},label:Object(ke.__)("Description"),help:Object(ke.__)("The description will be displayed in the menu if the current theme supports it.")}),Object(je.createElement)(_e.TextControl,{value:g||"",onChange:e=>{o({title:e})},label:Object(ke.__)("Link title"),autoComplete:"off"}),Object(je.createElement)(_e.TextControl,{value:p||"",onChange:e=>{o({rel:e})},label:Object(ke.__)("Link rel"),autoComplete:"off"}))),Object(je.createElement)("div",U,Object(je.createElement)("a",{className:q},d?Object(je.createElement)(we.RichText,{ref:C,identifier:"label",className:"wp-block-navigation-item__label",value:s,onChange:e=>o({label:e}),onMerge:a,onReplace:l,__unstableOnSplitAtEnd:()=>r(Object(Oe.createBlock)("core/navigation-link")),"aria-label":Object(ke.__)("Navigation link text"),placeholder:E,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"],onClick:()=>{d||_(!0)}}):Object(je.createElement)("div",{className:"wp-block-navigation-link__placeholder-text"},Object(je.createElement)(_e.Tooltip,{position:"top center",text:Object(ke.__)("This item is missing a link")},Object(je.createElement)("span",null,W))),f&&Object(je.createElement)(_e.Popover,{position:"bottom center",onClose:()=>_(!1),anchorRef:k.current},Object(je.createElement)(we.__experimentalLinkControl,{hasTextControl:!0,className:"wp-block-navigation-link__inline-link-input",value:v,showInitialSuggestions:!0,withCreateSuggestion:H,createSuggestion:async function(e){const t=u||"page",n=await O("postType",t,{title:e,status:"draft"});return{id:n.id,type:t,title:n.title.rendered,url:n.link,kind:"post-type"}},createSuggestionButtonText:e=>{let t;return t="post"===u?Object(ke.__)("Create draft post: <mark>%s</mark>"):Object(ke.__)("Create draft page: <mark>%s</mark>"),Object(je.createInterpolateElement)(Object(ke.sprintf)(t,e),{mark:Object(je.createElement)("mark",null)})},noDirectEntry:!!u,noURLSuggestion:!!u,suggestionsQuery:qc(u,h),onChange:e=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{label:o="",kind:r="",type:a=""}=n,{title:l="",url:c="",opensInNewTab:i,id:s,kind:u=r,type:m=a}=e,d=l.replace(/http(s?):\/\//gi,""),b=c.replace(/http(s?):\/\//gi,""),p=""!==l&&d!==b&&o!==l,g=p?Object(Me.escape)(l):o||Object(Me.escape)(b),h="post_tag"===m?"tag":m.replace("-","_"),v=["post","page","tag","category"].indexOf(h)>-1,O=!u&&!v||"custom"===u,j=O?"custom":u;t({...c&&{url:encodeURI(Object(Jo.safeDecodeURI)(c))},...g&&{label:g},...void 0!==i&&{opensInNewTab:i},...s&&Number.isInteger(s)&&{id:s},...j&&{kind:j},...h&&"URL"!==h&&{type:h}})}(e,o,t),onRemove:function(){o({url:"",label:"",id:"",kind:"",type:""}),_(!1)},renderControlBottom:d?null:()=>Object(je.createElement)($c,{block:I,transforms:V,replace:j})})))))},save:function(){return Object(je.createElement)(we.InnerBlocks.Content,null)},example:{attributes:{label:Object(ke._x)("Example Link","navigation link preview example"),url:"https://example.com"}},deprecated:[{isEligible:e=>e.nofollow,attributes:{label:{type:"string"},type:{type:"string"},nofollow:{type:"boolean"},description:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"}},migrate(e){let{nofollow:t,...n}=e;return{rel:t?"nofollow":"",...n}},save:()=>Object(je.createElement)(we.InnerBlocks.Content,null)}],transforms:ti};Object(Lr.addFilter)("blocks.registerBlockType","core/navigation-link",(function(e,t){if("core/navigation-link"!==t)return e;if(!e.variations)return{...e,variations:Xc};if(e.variations){const t=(e,t)=>e.type===t.type,n=e.variations.map(e=>({...e,...!e.icon&&{icon:ei(e.name)},...!e.isActive&&{isActive:t}}));return{...e,variations:n}}return e}));var ai=n("gdqT");const li=()=>Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},Object(je.createElement)(_e.Path,{d:"M1.50002 4L6.00002 8L10.5 4",strokeWidth:"1.5"})),{name:ci}={apiVersion:2,name:"core/navigation-submenu",title:"Submenu",category:"design",parent:["core/navigation"],description:"Add a submenu to your navigation.",textdomain:"default",attributes:{label:{type:"string"},type:{type:"string"},description:{type:"string"},rel:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"},title:{type:"string"},kind:{type:"string"},isTopLevelItem:{type:"boolean"}},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","openSubmenusOnClick","style"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-navigation-submenu-editor",style:"wp-block-navigation-submenu"},ii=["core/navigation-link","core/navigation-submenu"],si=["core/navigation-link"];function ui(e,t){switch(e){case"post":case"page":return{type:"post",subtype:e};case"category":return{type:"term",subtype:"category"};case"tag":return{type:"term",subtype:"post_tag"};case"post_format":return{type:"post-format"};default:return"taxonomy"===t?{type:"term",subtype:e}:"post-type"===t?{type:"post",subtype:e}:{}}}function mi(e,t){var n,o;const{textColor:r,customTextColor:a,backgroundColor:l,customBackgroundColor:c,overlayTextColor:i,customOverlayTextColor:s,overlayBackgroundColor:u,customOverlayBackgroundColor:m,style:d}=e,b={};return t&&s?b.customTextColor=s:t&&i?b.textColor=i:a?b.customTextColor=a:r?b.textColor=r:null!=d&&null!==(n=d.color)&&void 0!==n&&n.text&&(b.customTextColor=d.color.text),t&&m?b.customBackgroundColor=m:t&&u?b.backgroundColor=u:c?b.customBackgroundColor=c:l?b.backgroundColor=l:null!=d&&null!==(o=d.color)&&void 0!==o&&o.background&&(b.customTextColor=d.color.background),b}var di={to:[{type:"block",blocks:["core/navigation-link"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:e=>Object(Oe.createBlock)("core/navigation-link",e)},{type:"block",blocks:["core/spacer"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>Object(Oe.createBlock)("core/spacer")},{type:"block",blocks:["core/site-logo"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>Object(Oe.createBlock)("core/site-logo")},{type:"block",blocks:["core/home-link"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>Object(Oe.createBlock)("core/home-link")},{type:"block",blocks:["core/social-links"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>Object(Oe.createBlock)("core/social-links")},{type:"block",blocks:["core/search"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>Object(Oe.createBlock)("core/search")}]};const bi={apiVersion:2,name:"core/navigation-submenu",title:"Submenu",category:"design",parent:["core/navigation"],description:"Add a submenu to your navigation.",textdomain:"default",attributes:{label:{type:"string"},type:{type:"string"},description:{type:"string"},rel:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"},title:{type:"string"},kind:{type:"string"},isTopLevelItem:{type:"boolean"}},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","openSubmenusOnClick","style"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-navigation-submenu-editor",style:"wp-block-navigation-submenu"},{name:pi}=bi,gi={icon:Gc,__experimentalLabel:e=>{let{label:t}=e;return t},edit:function(e){let{attributes:t,isSelected:n,setAttributes:o,mergeBlocks:r,onReplace:a,context:l,clientId:c}=e;const{label:i,type:s,opensInNewTab:u,url:m,description:d,rel:b,title:p,kind:g}=t,h={url:m,opensInNewTab:u},{showSubmenuIcon:v,openSubmenusOnClick:O}=l,{saveEntityRecord:j}=Object(Pe.useDispatch)(It.store),{__unstableMarkNextChangeAsNotPersistent:y}=Object(Pe.useDispatch)(we.store),[f,_]=Object(je.useState)(!1),k=Object(je.useRef)(null),w=(e=>{const[t,n]=Object(je.useState)(!1);return Object(je.useEffect)(()=>{const{ownerDocument:t}=e.current;function o(e){a(e)}function r(){n(!1)}function a(t){e.current.contains(t.target)?n(!0):n(!1)}return t.addEventListener("dragstart",o),t.addEventListener("dragend",r),t.addEventListener("dragenter",a),()=>{t.removeEventListener("dragstart",o),t.removeEventListener("dragend",r),t.removeEventListener("dragenter",a)}},[]),t})(k),E=Object(ke.__)("Add text…"),C=Object(je.useRef)(),{isAtMaxNesting:x,isTopLevelItem:S,isParentOfSelectedBlock:B,isImmediateParentOfSelectedBlock:T,hasDescendants:N,selectedBlockHasDescendants:z,userCanCreatePages:P,userCanCreatePosts:I}=Object(Pe.useSelect)(e=>{var t;const{getClientIdsOfDescendants:n,hasSelectedInnerBlock:o,getSelectedBlockClientId:r,getBlockParentsByBlockName:a}=e(we.store),l=r(),i=n([c]).length;return{isAtMaxNesting:a(c,ci).length>=5,isTopLevelItem:0===a(c,ci).length,isParentOfSelectedBlock:o(c,!0),isImmediateParentOfSelectedBlock:o(c,!1),hasDescendants:!!i,selectedBlockHasDescendants:!(null===(t=n([l]))||void 0===t||!t.length),userCanCreatePages:e(It.store).canUser("create","pages"),userCanCreatePosts:e(It.store).canUser("create","posts")}},[c]);Object(je.useEffect)(()=>{O||m||_(!0)},[]),Object(je.useEffect)(()=>{y(),o({isTopLevelItem:S})},[S]),Object(je.useEffect)(()=>{n||_(!1)},[n]),Object(je.useEffect)(()=>{f&&m&&(Object(Jo.isURL)(Object(Jo.prependHTTP)(i))&&/^.+\.[a-z]+/.test(i)?function(){C.current.focus();const{ownerDocument:e}=C.current,{defaultView:t}=e,n=t.getSelection(),o=e.createRange();o.selectNodeContents(C.current),n.removeAllRanges(),n.addRange(o)}():Object(Al.placeCaretAtHorizontalEdge)(C.current,!0))},[m]);let M=!1;s&&"page"!==s?"post"===s&&(M=I):M=P;const{textColor:R,customTextColor:L,backgroundColor:V,customBackgroundColor:H}=mi(l,!S),A=Object(we.useBlockProps)({ref:k,className:tt()("wp-block-navigation-item",{"is-editing":n||B,"is-dragging-within":w,"has-link":!!m,"has-child":N,"has-text-color":!!R||!!L,[Object(we.getColorClassName)("color",R)]:!!R,"has-background":!!V||H,[Object(we.getColorClassName)("background-color",V)]:!!V,"open-on-click":O}),style:{color:!R&&L,backgroundColor:!V&&H},onKeyDown:function(e){dt.isKeyboardEvent.primary(e,"k")&&_(!0)}}),F=mi(l,!0);x&&Object(Me.pull)(ii,"core/navigation-submenu");const D=Object(we.useInnerBlocksProps)({className:tt()("wp-block-navigation__submenu-container",{"is-parent-of-selected-block":B,"has-text-color":!(!F.textColor&&!F.customTextColor),[`has-${F.textColor}-color`]:!!F.textColor,"has-background":!(!F.backgroundColor&&!F.customBackgroundColor),[`has-${F.backgroundColor}-background-color`]:!!F.backgroundColor}),style:{color:F.customTextColor,backgroundColor:F.customBackgroundColor}},{allowedBlocks:ii,__experimentalDefaultBlock:si,__experimentalDirectInsert:!0,__experimentalCaptureToolbars:!0,renderAppender:!!(n||T&&!z||N)&&we.InnerBlocks.ButtonBlockAppender}),G=O?"button":"a";return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,null,!O&&Object(je.createElement)(_e.ToolbarButton,{name:"link",icon:bt.a,title:Object(ke.__)("Link"),shortcut:dt.displayShortcut.primary("k"),onClick:()=>_(!0)}))),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Link settings")},Object(je.createElement)(_e.TextareaControl,{value:d||"",onChange:e=>{o({description:e})},label:Object(ke.__)("Description"),help:Object(ke.__)("The description will be displayed in the menu if the current theme supports it.")}),Object(je.createElement)(_e.TextControl,{value:p||"",onChange:e=>{o({title:e})},label:Object(ke.__)("Link title"),autoComplete:"off"}),Object(je.createElement)(_e.TextControl,{value:b||"",onChange:e=>{o({rel:e})},label:Object(ke.__)("Link rel"),autoComplete:"off"}))),Object(je.createElement)("div",A,Object(je.createElement)(G,{className:"wp-block-navigation-item__content"},Object(je.createElement)(we.RichText,{ref:C,identifier:"label",className:"wp-block-navigation-item__label",value:i,onChange:e=>o({label:e}),onMerge:r,onReplace:a,"aria-label":Object(ke.__)("Navigation link text"),placeholder:E,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"],onClick:()=>{O||m||_(!0)}}),!O&&f&&Object(je.createElement)(_e.Popover,{position:"bottom center",onClose:()=>_(!1),anchorRef:k.current},Object(je.createElement)(we.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:h,showInitialSuggestions:!0,withCreateSuggestion:M,createSuggestion:async function(e){const t=s||"page",n=await j("postType",t,{title:e,status:"draft"});return{id:n.id,type:t,title:n.title.rendered,url:n.link,kind:"post-type"}},createSuggestionButtonText:e=>{let t;return t="post"===s?Object(ke.__)("Create draft post: <mark>%s</mark>"):Object(ke.__)("Create draft page: <mark>%s</mark>"),Object(je.createInterpolateElement)(Object(ke.sprintf)(t,e),{mark:Object(je.createElement)("mark",null)})},noDirectEntry:!!s,noURLSuggestion:!!s,suggestionsQuery:ui(s,g),onChange:e=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{label:o="",kind:r="",type:a=""}=n,{title:l="",url:c="",opensInNewTab:i,id:s,kind:u=r,type:m=a}=e,d=l.replace(/http(s?):\/\//gi,""),b=c.replace(/http(s?):\/\//gi,""),p=""!==l&&d!==b&&o!==l,g=p?Object(Me.escape)(l):o||Object(Me.escape)(b),h="post_tag"===m?"tag":m.replace("-","_"),v=["post","page","tag","category"].indexOf(h)>-1,O=!u&&!v||"custom"===u,j=O?"custom":u;t({...c&&{url:encodeURI(Object(Jo.safeDecodeURI)(c))},...g&&{label:g},...void 0!==i&&{opensInNewTab:i},...s&&Number.isInteger(s)&&{id:s},...j&&{kind:j},...h&&"URL"!==h&&{type:h}})}(e,o,t),onRemove:()=>{o({url:""}),Object(ai.speak)(Object(ke.__)("Link removed."),"assertive")}})),(v||O)&&Object(je.createElement)("span",{className:"wp-block-navigation__submenu-icon"},Object(je.createElement)(li,null))),Object(je.createElement)("div",D)))},save:function(){return Object(je.createElement)(we.InnerBlocks.Content,null)},transforms:di};var hi=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M7.8 6c0-.7.6-1.2 1.2-1.2h6c.7 0 1.2.6 1.2 1.2v3h1.5V6c0-1.5-1.2-2.8-2.8-2.8H9C7.5 3.2 6.2 4.5 6.2 6v3h1.5V6zm8.4 11c0 .7-.6 1.2-1.2 1.2H9c-.7 0-1.2-.6-1.2-1.2v-3H6.2v3c0 1.5 1.2 2.8 2.8 2.8h6c1.5 0 2.8-1.2 2.8-2.8v-3h-1.5v3zM4 11v1h16v-1H4z"}));var vi={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:e=>e.dataset&&"core/nextpage"===e.dataset.block,transform:()=>Object(Oe.createBlock)("core/nextpage",{})}]};const Oi={apiVersion:2,name:"core/nextpage",title:"Page Break",category:"design",description:"Separate your content into a multi-page experience.",keywords:["next page","pagination"],parent:["core/post-content"],textdomain:"default",supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-nextpage-editor"},{name:ji}=Oi,yi={icon:hi,example:{},transforms:vi,edit:function(){return Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)("div",{className:"wp-block-nextpage"},Object(je.createElement)("span",null,Object(ke.__)("Page break"))))},save:function(){return Object(je.createElement)(je.RawHTML,null,"\x3c!--nextpage--\x3e")}};var fi=e=>{let{attributes:t,clientId:n}=e;const o=Object(Pe.useSelect)(e=>e(we.store).__experimentalGetParsedPattern(t.slug),[t.slug]),{replaceBlocks:r,__unstableMarkNextChangeAsNotPersistent:a}=Object(Pe.useDispatch)(we.store);Object(je.useEffect)(()=>{null!=o&&o.blocks&&(a(),r(n,o.blocks))},[null==o?void 0:o.blocks]);const l=Object(we.useBlockProps)();return Object(je.createElement)("div",l)};const _i={apiVersion:2,name:"core/pattern",title:"Pattern",category:"theme",description:"Show a block pattern.",supports:{html:!1,inserter:!1},textdomain:"default",attributes:{slug:{type:"string"}}},{name:ki}=_i,wi={edit:fi};var Ei=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z"}));const Ci=["id","title","link","type","parent"],xi=e=>{let{pages:t,clientId:n,replaceBlock:o,createBlock:r}=e;return()=>{if(!t)return;const e={},a=[];t.forEach(t=>{var n,o;let{id:l,title:c,link:i,type:s,parent:u}=t;const m=null!==(n=null===(o=e[l])||void 0===o?void 0:o.innerBlocks)&&void 0!==n?n:[];if(e[l]=r("core/navigation-link",{id:l,label:c.rendered,url:i,type:s,kind:"post-type"},m),u){e[u]||(e[u]={innerBlocks:[]});e[u].innerBlocks.push(e[l])}else a.push(e[l])});const l=e=>{e.forEach((e,t,n)=>{const{attributes:o,innerBlocks:a}=e;if(0!==a.length){l(a);const e=r("core/navigation-submenu",o,a);n[t]=e}})};l(a),o(n,a)}};function Si(e){let{onClose:t,clientId:n}=e;const{pages:o,pagesFinished:r}=Object(Pe.useSelect)(e=>{const{getEntityRecords:t,hasFinishedResolution:n}=e(It.store),o=["postType","page",{per_page:100,_fields:Ci,orderby:"menu_order",order:"asc"}];return{pages:t(...o),pagesFinished:n("getEntityRecords",o)}},[n]),{replaceBlock:a}=Object(Pe.useDispatch)(we.store);return Object(je.createElement)(_e.Modal,{closeLabel:Object(ke.__)("Close"),onRequestClose:t,title:Object(ke.__)("Convert to links"),className:"wp-block-page-list-modal",aria:{describedby:"wp-block-page-list-modal__description"}},Object(je.createElement)("p",{id:"wp-block-page-list-modal__description"},Object(ke.__)("To edit this navigation menu, convert it to single page links. This allows you to add, re-order, remove items, or edit their labels.")),Object(je.createElement)("p",null,Object(ke.__)("Note: if you add new pages to your site, you'll need to add them to your navigation menu.")),Object(je.createElement)("div",{className:"wp-block-page-list-modal-buttons"},Object(je.createElement)(_e.Button,{variant:"tertiary",onClick:t},Object(ke.__)("Cancel")),Object(je.createElement)(_e.Button,{variant:"primary",disabled:!r,onClick:xi({pages:o,replaceBlock:a,clientId:n,createBlock:Oe.createBlock})},Object(ke.__)("Convert"))))}const Bi=()=>Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},Object(je.createElement)(_e.Path,{d:"M1.50002 4L6.00002 8L10.5 4",strokeWidth:"1.5"}));const Ti=Object(je.memo)((function e(t){let{context:n,pagesByParentId:o,parentId:r=0,depth:a=0}=t;const l=o.get(r),c=Object(Pe.useSelect)(e=>{const t=e(It.store).getEntityRecord("root","site");return"page"===(null==t?void 0:t.show_on_front)&&(null==t?void 0:t.page_on_front)},[]);return null!=l&&l.length?l.map(t=>{var r,l;const i=o.has(t.id),s="showSubmenuIcon"in n;return Object(je.createElement)("li",{key:t.id,className:tt()("wp-block-pages-list__item",{"has-child":i,"wp-block-navigation-item":s,"open-on-click":n.openSubmenusOnClick,"open-on-hover-click":!n.openSubmenusOnClick&&n.showSubmenuIcon,"menu-item-home":t.id===c})},i&&n.openSubmenusOnClick?Object(je.createElement)(Ni,{title:null===(r=t.title)||void 0===r?void 0:r.rendered}):Object(je.createElement)("a",{className:tt()("wp-block-pages-list__item__link",{"wp-block-navigation-item__content":s}),href:t.link},null===(l=t.title)||void 0===l?void 0:l.rendered),i&&Object(je.createElement)(je.Fragment,null,!n.openSubmenusOnClick&&n.showSubmenuIcon&&Object(je.createElement)(Ni,null),Object(je.createElement)("ul",{className:tt()("submenu-container",{"wp-block-navigation__submenu-container":s})},Object(je.createElement)(e,{context:n,pagesByParentId:o,parentId:t.id,depth:a+1}))))}):[]}));function Ni(e){let{title:t}=e;return Object(je.createElement)("button",{className:"wp-block-navigation-item__content wp-block-navigation-submenu__toggle","aria-expanded":"false"},t,Object(je.createElement)("span",{className:"wp-block-page-list__submenu-icon wp-block-navigation__submenu-icon"},Object(je.createElement)(Bi,null)))}const zi={apiVersion:2,name:"core/page-list",title:"Page List",category:"widgets",description:"Display a list of all pages.",keywords:["menu","navigation"],textdomain:"default",attributes:{},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","style","openSubmenusOnClick"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-page-list-editor",style:"wp-block-page-list"},{name:Pi}=zi,Ii={icon:Ei,example:{},edit:function(e){var t;let{context:n,clientId:o}=e;const{pagesByParentId:r,totalPages:a,hasResolvedPages:l}=function(){const{pages:e,hasResolvedPages:t}=Object(Pe.useSelect)(e=>{const{getEntityRecords:t,hasFinishedResolution:n}=e(It.store);return{pages:t("postType","page",{orderby:"menu_order",order:"asc",_fields:["id","link","parent","title","menu_order"],per_page:-1}),hasResolvedPages:n("getEntityRecords",["postType","page",{orderby:"menu_order",order:"asc",_fields:["id","link","parent","title","menu_order"],per_page:-1}])}},[]);return Object(je.useMemo)(()=>{var n;return{pagesByParentId:Object(Me.sortBy)(e,["menu_order","title.rendered"]).reduce((e,t)=>{const{parent:n}=t;return e.has(n)?e.get(n).push(t):e.set(n,[t]),e},new Map),hasResolvedPages:t,totalPages:null!==(n=null==e?void 0:e.length)&&void 0!==n?n:null}},[e,t])}(),c="showSubmenuIcon"in n&&a<=100,[i,s]=Object(je.useState)(!1),u=Object(we.useBlockProps)({className:tt()("wp-block-page-list",{"has-text-color":!!n.textColor,[Object(we.getColorClassName)("color",n.textColor)]:!!n.textColor,"has-background":!!n.backgroundColor,[Object(we.getColorClassName)("background-color",n.backgroundColor)]:!!n.backgroundColor}),style:{...null===(t=n.style)||void 0===t?void 0:t.color}});return Object(je.createElement)(je.Fragment,null,c&&Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(_e.ToolbarButton,{title:Object(ke.__)("Edit"),onClick:()=>s(!0)},Object(ke.__)("Edit"))),c&&i&&Object(je.createElement)(Si,{onClose:()=>s(!1),clientId:o}),!l&&Object(je.createElement)("div",u,Object(je.createElement)(_e.Placeholder,null,Object(je.createElement)(_e.Spinner,null))),l&&null===a&&Object(je.createElement)("div",u,Object(je.createElement)("div",u,Object(je.createElement)(_e.Notice,{status:"warning",isDismissible:!1},Object(ke.__)("Page List: Cannot retrieve Pages.")))),0===a&&Object(je.createElement)("div",u,Object(je.createElement)(_e.Notice,{status:"info",isDismissible:!1},Object(ke.__)("Page List: Cannot retrieve Pages."))),a>0&&Object(je.createElement)("ul",u,Object(je.createElement)(Ti,{context:n,pagesByParentId:r})))}};var Mi=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"}));const Ri={className:!1},Li={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]},style:{type:"object"}},Vi=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customFontSize)return e;const t={};return(e.customTextColor||e.customBackgroundColor)&&(t.color={}),e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customFontSize&&(t.typography={fontSize:e.customFontSize}),{...Object(Me.omit)(e,["customTextColor","customBackgroundColor","customFontSize"]),style:t}};var Hi=[{supports:Ri,attributes:{...Object(Me.omit)(Li,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:Vi,save(e){let{attributes:t}=e;const{align:n,content:o,dropCap:r,backgroundColor:a,textColor:l,customBackgroundColor:c,customTextColor:i,fontSize:s,customFontSize:u,direction:m}=t,d=Object(we.getColorClassName)("color",l),b=Object(we.getColorClassName)("background-color",a),p=Object(we.getFontSizeClass)(s),g=tt()({"has-text-color":l||i,"has-background":a||c,"has-drop-cap":r,["has-text-align-"+n]:n,[p]:p,[d]:d,[b]:b}),h={backgroundColor:b?void 0:c,color:d?void 0:i,fontSize:p?void 0:u};return Object(je.createElement)(we.RichText.Content,{tagName:"p",style:h,className:g||void 0,value:o,dir:m})}},{supports:Ri,attributes:{...Object(Me.omit)(Li,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:Vi,save(e){let{attributes:t}=e;const{align:n,content:o,dropCap:r,backgroundColor:a,textColor:l,customBackgroundColor:c,customTextColor:i,fontSize:s,customFontSize:u,direction:m}=t,d=Object(we.getColorClassName)("color",l),b=Object(we.getColorClassName)("background-color",a),p=Object(we.getFontSizeClass)(s),g=tt()({"has-text-color":l||i,"has-background":a||c,"has-drop-cap":r,[p]:p,[d]:d,[b]:b}),h={backgroundColor:b?void 0:c,color:d?void 0:i,fontSize:p?void 0:u,textAlign:n};return Object(je.createElement)(we.RichText.Content,{tagName:"p",style:h,className:g||void 0,value:o,dir:m})}},{supports:Ri,attributes:{...Object(Me.omit)(Li,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}},migrate:Vi,save(e){let{attributes:t}=e;const{width:n,align:o,content:r,dropCap:a,backgroundColor:l,textColor:c,customBackgroundColor:i,customTextColor:s,fontSize:u,customFontSize:m}=t,d=Object(we.getColorClassName)("color",c),b=Object(we.getColorClassName)("background-color",l),p=u&&`is-${u}-text`,g=tt()({["align"+n]:n,"has-background":l||i,"has-drop-cap":a,[p]:p,[d]:d,[b]:b}),h={backgroundColor:b?void 0:i,color:d?void 0:s,fontSize:p?void 0:m,textAlign:o};return Object(je.createElement)(we.RichText.Content,{tagName:"p",style:h,className:g||void 0,value:r})}},{supports:Ri,attributes:Object(Me.omit)({...Li,fontSize:{type:"number"}},["style"]),save(e){let{attributes:t}=e;const{width:n,align:o,content:r,dropCap:a,backgroundColor:l,textColor:c,fontSize:i}=t,s=tt()({["align"+n]:n,"has-background":l,"has-drop-cap":a}),u={backgroundColor:l,color:c,fontSize:i,textAlign:o};return Object(je.createElement)("p",{style:u,className:s||void 0},r)},migrate:e=>Vi(Object(Me.omit)({...e,customFontSize:Object(Me.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0}))},{supports:Ri,attributes:{...Li,content:{type:"string",source:"html",default:""}},save(e){let{attributes:t}=e;return Object(je.createElement)(je.RawHTML,null,t.content)},migrate:e=>e}];var Ai=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(je.createElement)(ye.Path,{d:"M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"}));function Fi(e){let{direction:t,setDirection:n}=e;return Object(ke.isRTL)()&&Object(je.createElement)(_e.ToolbarDropdownMenu,{controls:[{icon:Ai,title:Object(ke._x)("Left to right","editor button"),isActive:"ltr"===t,onClick(){n("ltr"===t?void 0:"ltr")}}]})}var Di=function(e){let{attributes:t,mergeBlocks:n,onReplace:o,onRemove:r,setAttributes:a,clientId:l}=e;const{align:c,content:i,direction:s,dropCap:u,placeholder:m}=t,d=Object(we.useSetting)("typography.dropCap"),b=Object(we.useBlockProps)({className:tt()({"has-drop-cap":u,["has-text-align-"+c]:c}),style:{direction:s}});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.AlignmentControl,{value:c,onChange:e=>a({align:e})}),Object(je.createElement)(Fi,{direction:s,setDirection:e=>a({direction:e})})),d&&Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Text settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Drop cap"),checked:!!u,onChange:()=>a({dropCap:!u}),help:u?Object(ke.__)("Showing large initial letter."):Object(ke.__)("Toggle to show a large initial letter.")}))),Object(je.createElement)(we.RichText,Object(mt.a)({identifier:"content",tagName:"p"},b,{value:i,onChange:e=>a({content:e}),onSplit:(e,n)=>{let o;(n||e)&&(o={...t,content:e});const r=Object(Oe.createBlock)("core/paragraph",o);return n&&(r.clientId=l),r},onMerge:n,onReplace:o,onRemove:r,"aria-label":i?Object(ke.__)("Paragraph block"):Object(ke.__)("Empty block; start writing or type forward slash to choose a block"),"data-empty":!i,placeholder:m||Object(ke.__)("Type / to choose a block"),__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0})))};const{name:Gi}={apiVersion:2,name:"core/paragraph",title:"Paragraph",category:"text",description:"Start with the building block of all narrative.",keywords:["text"],textdomain:"default",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:"",__experimentalRole:"content"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}},supports:{anchor:!0,className:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"};var Ui={from:[{type:"raw",priority:20,selector:"p",schema:e=>{let{phrasingContentSchema:t,isPaste:n}=e;return{p:{children:t,attributes:n?[]:["style","id"]}}},transform(e){const t=Object(Oe.getBlockAttributes)(Gi,e.outerHTML),{textAlign:n}=e.style||{};return"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),Object(Oe.createBlock)(Gi,t)}}]};const qi={apiVersion:2,name:"core/paragraph",title:"Paragraph",category:"text",description:"Start with the building block of all narrative.",keywords:["text"],textdomain:"default",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:"",__experimentalRole:"content"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}},supports:{anchor:!0,className:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"},{name:Wi}=qi,$i={icon:Mi,example:{attributes:{content:Object(ke.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing."),style:{typography:{fontSize:28}},dropCap:!0}},__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n){const{content:t}=e;return Object(Me.isEmpty)(t)?Object(ke.__)("Empty"):t}},transforms:Ui,deprecated:Hi,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:Di,save:function(e){let{attributes:t}=e;const{align:n,content:o,dropCap:r,direction:a}=t,l=tt()({"has-drop-cap":r,["has-text-align-"+n]:n});return Object(je.createElement)("p",we.useBlockProps.save({className:l,dir:a}),Object(je.createElement)(we.RichText.Content,{value:o}))}};var Zi=function(e){let{isSelected:t,context:{postType:n,postId:o,queryId:r},attributes:a,setAttributes:l}=e;const c=Number.isFinite(r),{authorId:i,authorDetails:s,authors:u}=Object(Pe.useSelect)(e=>{var t;const{getEditedEntityRecord:r,getUser:a,getUsers:l}=e(It.store),c=null===(t=r("postType",n,o))||void 0===t?void 0:t.author;return{authorId:c,authorDetails:c?a(c):null,authors:l({who:"authors"})}},[n,o]),{editEntityRecord:m}=Object(Pe.useDispatch)(It.store),{textAlign:d,showAvatar:b,showBio:p,byline:g}=a,h=[];s&&Object(Me.forEach)(s.avatar_urls,(e,t)=>{h.push({value:t,label:`${t} x ${t}`})});const v=Object(we.useBlockProps)({className:tt()({["has-text-align-"+d]:d})});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Author Settings")},!c&&!(null==u||!u.length)&&Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Author"),value:i,options:u.map(e=>{let{id:t,name:n}=e;return{value:t,label:n}}),onChange:e=>{m("postType",n,o,{author:e})}}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show avatar"),checked:b,onChange:()=>l({showAvatar:!b})}),b&&Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Avatar size"),value:a.avatarSize,options:h,onChange:e=>{l({avatarSize:Number(e)})}}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show bio"),checked:p,onChange:()=>l({showBio:!p})}))),Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.AlignmentControl,{value:d,onChange:e=>{l({textAlign:e})}})),Object(je.createElement)("div",v,b&&s&&Object(je.createElement)("div",{className:"wp-block-post-author__avatar"},Object(je.createElement)("img",{width:a.avatarSize,src:s.avatar_urls[a.avatarSize],alt:s.name})),Object(je.createElement)("div",{className:"wp-block-post-author__content"},(!we.RichText.isEmpty(g)||t)&&Object(je.createElement)(we.RichText,{className:"wp-block-post-author__byline",multiline:!1,"aria-label":Object(ke.__)("Post author byline text"),placeholder:Object(ke.__)("Write byline…"),value:g,onChange:e=>l({byline:e})}),Object(je.createElement)("p",{className:"wp-block-post-author__name"},(null==s?void 0:s.name)||Object(ke.__)("Post Author")),p&&Object(je.createElement)("p",{className:"wp-block-post-author__bio"},null==s?void 0:s.description))))};var Ki=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z",fillRule:"evenodd",clipRule:"evenodd"}));const Ji={apiVersion:2,name:"core/post-author",title:"Post Author",category:"theme",description:"Add the author of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},avatarSize:{type:"number",default:48},showAvatar:{type:"boolean",default:!0},showBio:{type:"boolean"},byline:{type:"string"}},usesContext:["postType","postId","queryId"],supports:{html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDuotone:".wp-block-post-author__avatar img"}},editorStyle:"wp-block-post-author-editor",style:"wp-block-post-author"},{name:Qi}=Ji,Yi={icon:Ki,edit:Zi};var Xi=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"}));function es(e){let{postId:t}=e;return Object(Pe.useSelect)(e=>{const n=e(It.store).getEntityRecords("root","comment",{post:t});return n&&n.length?n.map(e=>Object(je.createElement)(je.RawHTML,{className:"wp-block-post-comments__comment",key:e.id},e.content.rendered)):Object(ke.__)("No comments.")},[t])}const ts={apiVersion:2,name:"core/post-comments",title:"Post Comments",category:"theme",description:"Display a post's comments.",textdomain:"default",attributes:{textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,align:["wide","full"],typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0}},style:["wp-block-post-comments","wp-block-buttons","wp-block-button"]},{name:ns}=ts,os={icon:Xi,edit:function(e){let{attributes:t,setAttributes:n,context:o}=e;const{postType:r,postId:a}=o,{textAlign:l}=t,c=Object(we.useBlockProps)({className:tt()({["has-text-align-"+l]:l})});return r&&a?Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.AlignmentControl,{value:l,onChange:e=>{n({textAlign:e})}})),Object(je.createElement)("div",c,Object(je.createElement)(es,{postId:a}))):Object(je.createElement)("div",c,Object(je.createElement)(we.Warning,null,Object(ke.__)("Post comments block: no post found.")))}};var rs=Object(je.createElement)(ye.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M4 20h16v-1.5H4V20zm0-4.8h16v-1.5H4v1.5zm0-6.4v1.5h16V8.8H4zM16 4H4v1.5h12V4z"}));function as(e,t,n){return Object(Pe.useSelect)(o=>o(It.store).canUserEditEntityRecord(e,t,n),[e,t,n])}function ls(e){let{userCanEdit:t,postType:n,postId:o}=e;const[,,r]=Object(It.useEntityProp)("postType",n,"content",o),a=Object(we.useBlockProps)();return null!=r&&r.protected&&!t?Object(je.createElement)("div",a,Object(je.createElement)(we.Warning,null,Object(ke.__)("This content is password protected."))):Object(je.createElement)("div",a,Object(je.createElement)(je.RawHTML,{key:"html"},null==r?void 0:r.rendered))}function cs(e){let{layout:t,context:n={}}=e;const{postType:o,postId:r}=n,a=Object(Pe.useSelect)(e=>{var t;const{getSettings:n}=e(we.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout},[]),l=Object(we.useSetting)("layout")||{},c=t&&t.inherit?l:t,[i,s,u]=Object(It.useEntityBlockEditor)("postType",o,{id:r}),m=Object(we.useInnerBlocksProps)(Object(we.useBlockProps)({className:"entry-content"}),{value:i,onInput:s,onChange:u,__experimentalLayout:a?c:void 0});return Object(je.createElement)("div",m)}function is(e){const{context:{queryId:t,postType:n,postId:o}={}}=e,r=Number.isFinite(t),a=as("postType",n,o);return a&&!r?Object(je.createElement)(cs,e):Object(je.createElement)(ls,{userCanEdit:a,postType:n,postId:o})}function ss(){const e=Object(we.useBlockProps)();return Object(je.createElement)("div",e,Object(je.createElement)("p",null,Object(ke.__)("Post Content")))}function us(){const e=Object(we.useBlockProps)();return Object(je.createElement)("div",e,Object(je.createElement)(we.Warning,null,Object(ke.__)("Block cannot be rendered inside itself.")))}const ms={apiVersion:2,name:"core/post-content",title:"Post Content",category:"theme",description:"Displays the contents of a post or page.",textdomain:"default",usesContext:["postId","postType","queryId"],supports:{align:["wide","full"],html:!1,__experimentalLayout:!0},editorStyle:"wp-block-post-content-editor"},{name:ds}=ms,bs={icon:rs,edit:function(e){let{context:t,attributes:n}=e;const{postId:o,postType:r}=t,{layout:a={}}=n,[l,c]=Object(we.__experimentalUseNoRecursiveRenders)(o);return o&&r&&l?Object(je.createElement)(us,null):Object(je.createElement)(c,null,o&&r?Object(je.createElement)(is,{context:t,layout:a}):Object(je.createElement)(ss,null))}};var ps=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z"}),Object(je.createElement)(ye.Path,{d:"M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"}));var gs=[{attributes:{textAlign:{type:"string"},format:{type:"string"},isLink:{type:"boolean",default:!1}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:at,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const hs={apiVersion:2,name:"core/post-date",title:"Post Date",category:"theme",description:"Add the date of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},format:{type:"string"},isLink:{type:"boolean",default:!1}},usesContext:["postId","postType","queryId"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:vs}=hs,Os={icon:ps,edit:function(e){let{attributes:{textAlign:t,format:n,isLink:o},context:{postId:r,postType:a,queryId:l},setAttributes:c}=e;const i=Number.isFinite(l),[s]=Object(It.useEntityProp)("root","site","date_format"),[u,m]=Object(It.useEntityProp)("postType",a,"date",r),d=Object(Wa.__experimentalGetSettings)(),b=/a(?!\\)/i.test(d.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join("")),p=Object.values(d.formats).map(e=>({key:e,name:Object(Wa.dateI18n)(e,u)})),g=n||s||d.formats.date,h=Object(we.useBlockProps)({className:tt()({["has-text-align-"+t]:t})}),v=Object(je.useRef)();let O=u?Object(je.createElement)("time",{dateTime:Object(Wa.dateI18n)("c",u),ref:v},Object(Wa.dateI18n)(g,u)):Object(ke.__)("Post Date");return o&&u&&(O=Object(je.createElement)("a",{href:"#post-date-pseudo-link",onClick:e=>e.preventDefault()},O)),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.AlignmentControl,{value:t,onChange:e=>{c({textAlign:e})}}),u&&!i&&Object(je.createElement)(_e.ToolbarGroup,null,Object(je.createElement)(_e.Dropdown,{popoverProps:{anchorRef:v.current},renderContent:()=>Object(je.createElement)(_e.DateTimePicker,{currentDate:u,onChange:m,is12Hour:b}),renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(je.createElement)(_e.ToolbarButton,{"aria-expanded":t,icon:to.a,title:Object(ke.__)("Change Date"),onClick:n,onKeyDown:e=>{t||e.keyCode!==dt.DOWN||(e.preventDefault(),n())}})}}))),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Format settings")},Object(je.createElement)(_e.CustomSelectControl,{hideLabelFromVision:!0,label:Object(ke.__)("Date Format"),options:p,onChange:e=>{let{selectedItem:t}=e;return c({format:t.key})},value:p.find(e=>e.key===g)})),Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Link settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.sprintf)(Object(ke.__)("Link to %s"),a),onChange:()=>c({isLink:!o}),checked:o}))),Object(je.createElement)("div",h,O))},deprecated:gs};var js=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M12.75 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.395.395 0 00.199-.166c.05-.083.114-.253.114-.584V7.2H8.8V4h3.95v5.333zM7.95 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.394.394 0 00.198-.166c.05-.083.115-.253.115-.584V7.2H4V4h3.95v5.333zM13 20H4v-1.5h9V20zM20 16H4v-1.5h16V16z"}));const ys={apiVersion:2,name:"core/post-excerpt",title:"Post Excerpt",category:"theme",description:"Display a post's excerpt.",textdomain:"default",attributes:{textAlign:{type:"string"},moreText:{type:"string"},showMoreOnNewLine:{type:"boolean",default:!0}},usesContext:["postId","postType","queryId"],supports:{html:!1,color:{gradients:!0,link:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}},editorStyle:"wp-block-post-excerpt-editor",style:"wp-block-post-excerpt"},{name:fs}=ys,_s={icon:js,edit:function(e){let{attributes:{textAlign:t,moreText:n,showMoreOnNewLine:o},setAttributes:r,isSelected:a,context:{postId:l,postType:c,queryId:i}}=e;const s=Number.isFinite(i),u=as("postType",c,l),m=u&&!s,[d,b,{rendered:p,protected:g}={}]=Object(It.useEntityProp)("postType",c,"excerpt",l),h=Object(we.useBlockProps)({className:tt()({["has-text-align-"+t]:t})}),v=Object(je.useMemo)(()=>{if(!p)return"";const e=(new window.DOMParser).parseFromString(p,"text/html");return e.body.textContent||e.body.innerText||""},[p]);if(!c||!l)return Object(je.createElement)("div",h,Object(ke.__)("Post Excerpt"));if(g&&!u)return Object(je.createElement)("div",h,Object(je.createElement)(we.Warning,null,Object(ke.__)("There is no excerpt because this is a protected post.")));const O=Object(je.createElement)(we.RichText,{className:"wp-block-post-excerpt__more-link",tagName:"a","aria-label":Object(ke.__)('"Read more" link text'),placeholder:Object(ke.__)('Add "read more" link text'),value:n,onChange:e=>r({moreText:e}),withoutInteractiveFormatting:!0}),j=m?Object(je.createElement)(we.RichText,{className:!o&&"wp-block-post-excerpt__excerpt is-inline","aria-label":Object(ke.__)("Post excerpt text"),value:d||v||(a?"":Object(ke.__)("No post excerpt found")),onChange:b}):p&&Object(je.createElement)(_e.Disabled,null,Object(je.createElement)(je.RawHTML,{key:"html"},p))||Object(ke.__)("No post excerpt found");return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(we.AlignmentToolbar,{value:t,onChange:e=>r({textAlign:e})})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Post Excerpt Settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show link on new line"),checked:o,onChange:e=>r({showMoreOnNewLine:e})}))),Object(je.createElement)("div",h,j,!o&&" ",o?Object(je.createElement)("p",{className:"wp-block-post-excerpt__more-text"},O):O))}};var ks=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"}));const ws=Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.__experimentalToggleGroupControlOption,{value:"cover",label:Object(ke._x)("Cover","Scale option for Image dimension control")}),Object(je.createElement)(_e.__experimentalToggleGroupControlOption,{value:"contain",label:Object(ke._x)("Contain","Scale option for Image dimension control")}),Object(je.createElement)(_e.__experimentalToggleGroupControlOption,{value:"fill",label:Object(ke._x)("Fill","Scale option for Image dimension control")})),Es={cover:Object(ke.__)("Image is scaled and cropped to fill the entire space without being distorted."),contain:Object(ke.__)("Image is scaled to fill the space without clipping nor distorting."),fill:Object(ke.__)("Image will be stretched and distorted to completely fill the space.")};var Cs=e=>{let{clientId:t,attributes:{width:n,height:o,scale:r},setAttributes:a}=e;const l=Object(_e.__experimentalUseCustomUnits)({availableUnits:Object(we.useSetting)("spacing.units")||["px","%","vw","em","rem"]}),c=(e,t)=>{const n=parseFloat(t);isNaN(n)&&t||a({[e]:n<0?"0":t})},i=Object(ke._x)("Scale","Image scaling options");return Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"dimensions"},Object(je.createElement)(_e.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>!!o,label:Object(ke.__)("Height"),onDeselect:()=>a({height:void 0}),resetAllFilter:()=>({height:void 0}),isShownByDefault:!0,panelId:t},Object(je.createElement)(_e.__experimentalUnitControl,{label:Object(ke.__)("Height"),labelPosition:"top",value:o||"",min:0,onChange:e=>c("height",e),units:l})),Object(je.createElement)(_e.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>!!n,label:Object(ke.__)("Width"),onDeselect:()=>a({width:void 0}),resetAllFilter:()=>({width:void 0}),isShownByDefault:!0,panelId:t},Object(je.createElement)(_e.__experimentalUnitControl,{label:Object(ke.__)("Width"),labelPosition:"top",value:n||"",min:0,onChange:e=>c("width",e),units:l})),!!o&&Object(je.createElement)(_e.__experimentalToolsPanelItem,{hasValue:()=>!!r&&"cover"!==r,label:i,onDeselect:()=>a({scale:"cover"}),resetAllFilter:()=>({scale:"cover"}),isShownByDefault:!0,panelId:t},Object(je.createElement)(_e.__experimentalToggleGroupControl,{label:i,value:r,help:Es[r],onChange:e=>a({scale:e}),isBlock:!0},ws)))};const xs=Object(je.createElement)(ye.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none"},Object(je.createElement)(ye.Path,{vectorEffect:"non-scaling-stroke",d:"M60 60 0 0"})),Ss=["image"],Bs=Object(je.createElement)("div",{className:"wp-block-post-featured-image__placeholder"},xs);function Ts(e){let{clientId:t,attributes:n,setAttributes:o,context:{postId:r,postType:a,queryId:l}}=e;const c=Number.isFinite(l),{isLink:i,height:s,width:u,scale:m}=n,[d,b]=Object(It.useEntityProp)("postType",a,"featured_media",r),p=Object(Pe.useSelect)(e=>d&&e(It.store).getMedia(d,{context:"view"}),[d]),g=Object(we.useBlockProps)({style:{width:u,height:s}}),h=e=>Object(je.createElement)(_e.Placeholder,{className:"block-editor-media-placeholder"},xs,e),v=e=>{null!=e&&e.id&&b(e.id)},{createErrorNotice:O}=Object(Pe.useDispatch)(Do.store),j=e=>{O(e[2],{type:"snackbar"})};let y;if(!d&&c)return Object(je.createElement)("div",g,Bs);const f=Object(ke.__)("Add a featured image");return y=d?p?Object(je.createElement)("img",{src:p.source_url,alt:p.alt_text||Object(ke.__)("Featured image"),style:{height:s,objectFit:s&&m}}):Bs:Object(je.createElement)(we.MediaPlaceholder,{onSelect:v,accept:"image/*",allowedTypes:Ss,onError:j,placeholder:h,mediaLibraryButton:e=>{let{open:t}=e;return Object(je.createElement)(_e.Button,{icon:xa.a,variant:"primary",label:f,showTooltip:!0,tooltipPosition:"top center",onClick:()=>{t()}})}}),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(Cs,{clientId:t,attributes:n,setAttributes:o}),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Link settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.sprintf)(Object(ke.__)("Link to %s"),a),onChange:()=>o({isLink:!i}),checked:i}))),!!p&&!c&&Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:d,mediaURL:p.source_url,allowedTypes:Ss,accept:"image/*",onSelect:v,onError:j})),Object(je.createElement)("figure",g,y))}const Ns={apiVersion:2,name:"core/post-featured-image",title:"Post Featured Image",category:"theme",description:"Display a post's featured image.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!1},width:{type:"string"},height:{type:"string"},scale:{type:"string",default:"cover"}},usesContext:["postId","postType","queryId"],supports:{align:["left","right","center","wide","full"],color:{__experimentalDuotone:"img",text:!1,background:!1},html:!1,spacing:{margin:!0,padding:!0}},editorStyle:"wp-block-post-featured-image-editor",style:"wp-block-post-featured-image"},{name:zs}=Ns,Ps={icon:ks,edit:function(e){var t;const n=Object(we.useBlockProps)();return null!==(t=e.context)&&void 0!==t&&t.postId?Object(je.createElement)(Ts,e):Object(je.createElement)("div",n,Bs)}};var Is=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"}));var Ms=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"}));const Rs=[{isDefault:!0,name:"post-next",title:Object(ke.__)("Next post"),description:Object(ke.__)("Displays the post link that follows the current post."),icon:Is,attributes:{type:"next"},scope:["inserter","transform"]},{name:"post-previous",title:Object(ke.__)("Previous post"),description:Object(ke.__)("Displays the post link that precedes the current post."),icon:Ms,attributes:{type:"previous"},scope:["inserter","transform"]}];Rs.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)});var Ls=Rs;const Vs={apiVersion:2,name:"core/post-navigation-link",title:"Post Navigation Link",category:"theme",description:"Displays the next or previous post link that is adjacent to the current post.",textdomain:"default",attributes:{textAlign:{type:"string"},type:{type:"string",default:"next"},label:{type:"string"},showTitle:{type:"boolean",default:!1},linkLabel:{type:"boolean",default:!1}},supports:{reusable:!1,html:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:Hs}=Vs,As={edit:function(e){let{attributes:{type:t,label:n,showTitle:o,textAlign:r,linkLabel:a},setAttributes:l}=e;const c="next"===t;let i=c?Object(ke.__)("Next"):Object(ke.__)("Previous");o&&(i=c?Object(ke.__)("Next: "):Object(ke.__)("Previous: "));const s=c?Object(ke.__)("Next post"):Object(ke.__)("Previous post"),u=Object(we.useBlockProps)({className:tt()({["has-text-align-"+r]:r})});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,null,Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display the title as a link"),help:Object(ke.__)("If you have entered a custom label, it will be prepended before the title."),checked:!!o,onChange:()=>l({showTitle:!o})}),o&&Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Include the label as part of the link"),checked:!!a,onChange:()=>l({linkLabel:!a})}))),Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(we.AlignmentToolbar,{value:r,onChange:e=>{l({textAlign:e})}})),Object(je.createElement)("div",u,Object(je.createElement)(we.RichText,{tagName:"a","aria-label":s,placeholder:i,value:n,allowedFormats:["core/bold","core/italic"],onChange:e=>l({label:e})}),o&&Object(je.createElement)("a",{href:"#post-navigation-pseudo-link",onClick:e=>e.preventDefault()},Object(ke.__)("An example title"))))},variations:Ls};var Fs=n("Civd");const Ds=[["core/post-title"],["core/post-date"],["core/post-excerpt"]];function Gs(){const e=Object(we.useInnerBlocksProps)({},{template:Ds});return Object(je.createElement)("li",e)}const Us=Object(je.memo)((function(e){let{blocks:t,blockContextId:n,isHidden:o,setActiveBlockContextId:r}=e;const a=Object(we.__experimentalUseBlockPreview)({blocks:t}),l=()=>{r(n)},c={display:o?"none":void 0};return Object(je.createElement)("li",Object(mt.a)({},a,{tabIndex:0,role:"button",onClick:l,onKeyPress:l,style:c}))}));const qs={apiVersion:2,name:"core/post-template",title:"Post Template",category:"design",parent:["core/query"],description:"Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.",textdomain:"default",usesContext:["queryId","query","queryContext","displayLayout","templateSlug"],supports:{reusable:!1,html:!1,align:!0,__experimentalLayout:{allowEditing:!1}},style:"wp-block-post-template",editorStyle:"wp-block-post-template-editor"},{name:Ws}=qs,$s={icon:Fs.a,edit:function(e){let{clientId:t,context:{query:{perPage:n,offset:o,categoryIds:r=[],postType:a,tagIds:l=[],order:c,orderBy:i,author:s,search:u,exclude:m,sticky:d,inherit:b}={},queryContext:p=[{page:1}],templateSlug:g,displayLayout:{type:h="flex",columns:v=1}={}}}=e;const[{page:O}]=p,[j,y]=Object(je.useState)(),{posts:f,blocks:_}=Object(Pe.useSelect)(e=>{const{getEntityRecords:p}=e(It.store),{getBlocks:h}=e(we.store),v={offset:n?n*(O-1)+o:0,categories:r,tags:l,order:c,orderby:i};return n&&(v.per_page=n),s&&(v.author=s),u&&(v.search=u),null!=m&&m.length&&(v.exclude=m),d&&(v.sticky="only"===d),b&&null!=g&&g.startsWith("archive-")&&(v.postType=g.replace("archive-",""),a=v.postType),{posts:p("postType",a,v),blocks:h(t)}},[n,O,o,r,l,c,i,t,s,u,a,m,d,b,g]),k=Object(je.useMemo)(()=>null==f?void 0:f.map(e=>({postType:e.type,postId:e.id})),[f]),w="flex"===h&&v>1,E=Object(we.useBlockProps)({className:tt()({"is-flex-container":w,["columns-"+v]:w})});return f?f.length?Object(je.createElement)("ul",E,k&&k.map(e=>{var t,n;return Object(je.createElement)(we.BlockContextProvider,{key:e.postId,value:e},e.postId===(j||(null===(t=k[0])||void 0===t?void 0:t.postId))?Object(je.createElement)(Gs,null):null,Object(je.createElement)(Us,{blocks:_,blockContextId:e.postId,setActiveBlockContextId:y,isHidden:e.postId===(j||(null===(n=k[0])||void 0===n?void 0:n.postId))}))})):Object(je.createElement)("p",E," ",Object(ke.__)("No results found.")):Object(je.createElement)("p",E,Object(je.createElement)(_e.Spinner,null))},save:function(){return Object(je.createElement)(we.InnerBlocks.Content,null)}};var Zs=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z",fillRule:"evenodd",clipRule:"evenodd"}));var Ks=[{name:"category",title:Object(ke.__)("Post Categories"),description:Object(ke.__)("Display a post's categories."),icon:Zs,isDefault:!0,attributes:{term:"category"},isActive:e=>"category"===e.term},{name:"post_tag",title:Object(ke.__)("Post Tags"),description:Object(ke.__)("Display a post's tags."),icon:Zs,attributes:{term:"post_tag"},isActive:e=>"post_tag"===e.term}];const Js={apiVersion:2,name:"core/post-terms",title:"Post Terms",category:"theme",description:"Post terms.",textdomain:"default",attributes:{term:{type:"string"},textAlign:{type:"string"},separator:{type:"string",default:", "}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{lineHeight:!0,fontSize:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}},style:"wp-block-post-terms"},{name:Qs}=Js,Ys={variations:Ks,edit:function(e){var t;let{attributes:n,context:o,setAttributes:r}=e;const{term:a,textAlign:l,separator:c}=n,{postId:i,postType:s}=o,u=Object(Pe.useSelect)(e=>{var t;if(!a)return{};const{getTaxonomy:n}=e(It.store),o=n(a);return null!=o&&null!==(t=o.visibility)&&void 0!==t&&t.publicly_queryable?o:{}},[a]),{postTerms:m,hasPostTerms:d,isLoading:b}=function(e){var t;let{postId:n,postType:o,term:r}=e;const{rest_base:a,slug:l}=r,[c]=Object(It.useEntityProp)("postType",o,a,n);return Object(Pe.useSelect)(e=>{var t;if(!(null==r||null===(t=r.visibility)||void 0===t?void 0:t.publicly_queryable))return{postTerms:[],_isLoading:!1,hasPostTerms:!1};var n;if(!c)return{isLoading:null==r||null===(n=r.postTerms)||void 0===n?void 0:n.includes(o)};if(!c.length)return{isLoading:!1};const{getEntityRecords:a,isResolving:i}=e(It.store),s=["taxonomy",l,{include:c,context:"view"}],u=a(...s);return{postTerms:u,isLoading:i("getEntityRecords",s),hasPostTerms:!(null==u||!u.length)}},[c,null==r||null===(t=r.visibility)||void 0===t?void 0:t.publicly_queryable])}({postId:i,postType:s,term:u}),p=i&&s,g=Object(we.useBlockProps)({className:tt()({["has-text-align-"+l]:l,["taxonomy-"+a]:a})});return p&&a?Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(we.AlignmentToolbar,{value:l,onChange:e=>{r({textAlign:e})}})),Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"advanced"},Object(je.createElement)(_e.TextControl,{autoComplete:"off",label:Object(ke.__)("Separator"),value:c||"",onChange:e=>{r({separator:e})},help:Object(ke.__)("Enter character(s) used to separate terms.")})),Object(je.createElement)("div",g,b&&Object(je.createElement)(_e.Spinner,null),!b&&d&&m.map(e=>Object(je.createElement)("a",{key:e.id,href:e.link,onClick:e=>e.preventDefault()},e.name)).reduce((e,t)=>Object(je.createElement)(je.Fragment,null,e,Object(je.createElement)("span",{className:"wp-block-post-terms__separator"},c||" "),t)),!b&&!d&&((null==u||null===(t=u.labels)||void 0===t?void 0:t.no_terms)||Object(ke.__)("Term items not found.")))):Object(je.createElement)("div",g,Object(ke.__)("Post Terms"))}};var Xs=[{attributes:{textAlign:{type:"string"},level:{type:"number",default:2},isLink:{type:"boolean",default:!1},rel:{type:"string",attribute:"rel",default:""},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0}},save:()=>null,migrate:at,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const eu={apiVersion:2,name:"core/post-title",title:"Post Title",category:"theme",description:"Displays the title of a post, page, or any other content-type.",textdomain:"default",usesContext:["postId","postType","queryId"],attributes:{textAlign:{type:"string"},level:{type:"number",default:2},isLink:{type:"boolean",default:!1},rel:{type:"string",attribute:"rel",default:""},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}}},style:"wp-block-post-title"},{name:tu}=eu,nu={icon:Zc,edit:function(e){let{attributes:{level:t,textAlign:n,isLink:o,rel:r,linkTarget:a},setAttributes:l,context:{postType:c,postId:i,queryId:s}}=e;const u=0===t?"p":"h"+t,m=Number.isFinite(s),d=as("postType",c,i),[b="",p,g]=Object(It.useEntityProp)("postType",c,"title",i),[h]=Object(It.useEntityProp)("postType",c,"link",i),v=Object(we.useBlockProps)({className:tt()({["has-text-align-"+n]:n})});let O=Object(je.createElement)(u,v,Object(ke.__)("Post Title"));return c&&i&&(O=d&&!m?Object(je.createElement)(we.PlainText,Object(mt.a)({tagName:u,placeholder:Object(ke.__)("No Title"),value:b,onChange:p,__experimentalVersion:2},v)):Object(je.createElement)(u,v,Object(je.createElement)(je.RawHTML,{key:"html"},null==g?void 0:g.rendered))),o&&c&&i&&(O=d&&!m?Object(je.createElement)(u,v,Object(je.createElement)(we.PlainText,{tagName:"a",href:h,target:a,rel:r,placeholder:b.length?null:Object(ke.__)("No Title"),value:b,onChange:p,__experimentalVersion:2})):Object(je.createElement)(u,v,Object(je.createElement)("a",{href:h,target:a,rel:r,onClick:e=>e.preventDefault()},Object(je.createElement)(je.RawHTML,{key:"html"},null==g?void 0:g.rendered)))),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(ia,{selectedLevel:t,onChange:e=>l({level:e})}),Object(je.createElement)(we.AlignmentControl,{value:n,onChange:e=>{l({textAlign:e})}})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Link settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Make title a link"),onChange:()=>l({isLink:!o}),checked:o}),o&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Open in new tab"),onChange:e=>l({linkTarget:e?"_blank":"_self"}),checked:"_blank"===a}),Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Link rel"),value:r,onChange:e=>l({rel:e})})))),O)},deprecated:Xs};var ou=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"}));var ru={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:e=>{let{content:t,anchor:n}=e;return Object(Oe.createBlock)("core/preformatted",{content:t,anchor:n})}},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName),schema:e=>{let{phrasingContentSchema:t}=e;return{pre:{children:t}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>Object(Oe.createBlock)("core/paragraph",e)},{type:"block",blocks:["core/code"],transform:e=>Object(Oe.createBlock)("core/code",e)}]};const au={apiVersion:2,name:"core/preformatted",title:"Preformatted",category:"text",description:"Add text that respects your spacing and tabs, and also allows styling.",textdomain:"default",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0,__experimentalRole:"content"}},supports:{anchor:!0,color:{gradients:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}},style:"wp-block-preformatted"},{name:lu}=au,cu={icon:ou,example:{attributes:{content:Object(ke.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;")}},transforms:ru,edit:function(e){let{attributes:t,mergeBlocks:n,setAttributes:o,onRemove:r,style:a}=e;const{content:l}=t,c=Object(we.useBlockProps)({style:a});return Object(je.createElement)(we.RichText,Object(mt.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:l,onChange:e=>{o({content:e})},onRemove:r,"aria-label":Object(ke.__)("Preformatted text"),placeholder:Object(ke.__)("Write preformatted text…"),onMerge:n},c,{__unstablePastePlainText:!0}))},save:function(e){let{attributes:t}=e;const{content:n}=t;return Object(je.createElement)("pre",we.useBlockProps.save(),Object(je.createElement)(we.RichText.Content,{value:n}))},merge:(e,t)=>({content:e.content+t.content})};var iu=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"}));const su={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}};function uu(e){if(!e)return;const t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}var mu=[{attributes:{...su},save(e){let{attributes:t}=e;const{mainColor:n,customMainColor:o,customTextColor:r,textColor:a,value:l,citation:c,className:i}=t;let s,u;if(Object(Me.includes)(i,"is-style-solid-color")){const e=Object(we.getColorClassName)("background-color",n);s=tt()({"has-background":e||o,[e]:e}),u={backgroundColor:e?void 0:o}}else o&&(u={borderColor:o});const m=Object(we.getColorClassName)("color",a),d=tt()({"has-text-color":a||r,[m]:m}),b=m?void 0:{color:r};return Object(je.createElement)("figure",we.useBlockProps.save({className:s,style:u}),Object(je.createElement)("blockquote",{className:d,style:b},Object(je.createElement)(we.RichText.Content,{value:l,multiline:!0}),!we.RichText.isEmpty(c)&&Object(je.createElement)(we.RichText.Content,{tagName:"cite",value:c})))},migrate(e){let{className:t,mainColor:n,customMainColor:o,customTextColor:r,...a}=e;const l=Object(Me.includes)(t,"is-style-solid-color");let c;return o&&(c=l?{color:{background:o}}:{border:{color:o}}),r&&c&&(c.color={...c.color,text:r}),{className:t,backgroundColor:l?n:void 0,borderColor:l?void 0:n,textAlign:l?"left":void 0,style:c,...a}}},{attributes:{...su,figureStyle:{source:"attribute",selector:"figure",attribute:"style"}},save(e){let{attributes:t}=e;const{mainColor:n,customMainColor:o,textColor:r,customTextColor:a,value:l,citation:c,className:i,figureStyle:s}=t;let u,m;if(Object(Me.includes)(i,"is-style-solid-color")){const e=Object(we.getColorClassName)("background-color",n);u=tt()({"has-background":e||o,[e]:e}),m={backgroundColor:e?void 0:o}}else if(o)m={borderColor:o};else if(n){m={borderColor:uu(s)}}const d=Object(we.getColorClassName)("color",r),b=(r||a)&&tt()("has-text-color",{[d]:d}),p=d?void 0:{color:a};return Object(je.createElement)("figure",{className:u,style:m},Object(je.createElement)("blockquote",{className:b,style:p},Object(je.createElement)(we.RichText.Content,{value:l,multiline:!0}),!we.RichText.isEmpty(c)&&Object(je.createElement)(we.RichText.Content,{tagName:"cite",value:c})))},migrate(e){let{className:t,figureStyle:n,mainColor:o,customMainColor:r,customTextColor:a,...l}=e;const c=Object(Me.includes)(t,"is-style-solid-color");let i;if(r&&(i=c?{color:{background:r}}:{border:{color:r}}),a&&i&&(i.color={...i.color,text:a}),!c&&o&&n){const e=uu(n);if(e)return{...l,className:t,style:{border:{color:e}}}}return{className:t,backgroundColor:c?o:void 0,borderColor:c?void 0:o,textAlign:c?"left":void 0,style:i,...l}}},{attributes:su,save(e){let{attributes:t}=e;const{mainColor:n,customMainColor:o,textColor:r,customTextColor:a,value:l,citation:c,className:i}=t;let s,u;if(Object(Me.includes)(i,"is-style-solid-color"))s=Object(we.getColorClassName)("background-color",n),s||(u={backgroundColor:o});else if(o)u={borderColor:o};else if(n){const e=Object(Me.get)(Object(Pe.select)(we.store).getSettings(),["colors"],[]);u={borderColor:Object(we.getColorObjectByAttributeValues)(e,n).color}}const m=Object(we.getColorClassName)("color",r),d=r||a?tt()("has-text-color",{[m]:m}):void 0,b=m?void 0:{color:a};return Object(je.createElement)("figure",{className:s,style:u},Object(je.createElement)("blockquote",{className:d,style:b},Object(je.createElement)(we.RichText.Content,{value:l,multiline:!0}),!we.RichText.isEmpty(c)&&Object(je.createElement)(we.RichText.Content,{tagName:"cite",value:c})))},migrate(e){let{className:t,mainColor:n,customMainColor:o,customTextColor:r,...a}=e;const l=Object(Me.includes)(t,"is-style-solid-color");let c={};return o&&(c=l?{color:{background:o}}:{border:{color:o}}),r&&c&&(c.color={...c.color,text:r}),{className:t,backgroundColor:l?n:void 0,borderColor:l?void 0:n,textAlign:l?"left":void 0,style:c,...a}}},{attributes:{...su},save(e){let{attributes:t}=e;const{value:n,citation:o}=t;return Object(je.createElement)("blockquote",null,Object(je.createElement)(we.RichText.Content,{value:n,multiline:!0}),!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"cite",value:o}))}},{attributes:{...su,citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}},save(e){let{attributes:t}=e;const{value:n,citation:o,align:r}=t;return Object(je.createElement)("blockquote",{className:"align"+r},Object(je.createElement)(we.RichText.Content,{value:n,multiline:!0}),!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"footer",value:o}))}}];var du=function(e){let{attributes:t,setAttributes:n,isSelected:o,insertBlocksAfter:r}=e;const{textAlign:a,citation:l,value:c}=t,i=Object(we.useBlockProps)({className:tt()({["has-text-align-"+a]:a})}),s=!we.RichText.isEmpty(l)||o;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.AlignmentControl,{value:a,onChange:e=>{n({textAlign:e})}})),Object(je.createElement)("figure",i,Object(je.createElement)("blockquote",null,Object(je.createElement)(we.RichText,{identifier:"value",multiline:!0,value:c,onChange:e=>n({value:e}),"aria-label":Object(ke.__)("Pullquote text"),placeholder:Object(ke.__)("Add quote"),textAlign:"center"}),s&&Object(je.createElement)(we.RichText,{identifier:"citation",value:l,"aria-label":Object(ke.__)("Pullquote citation text"),placeholder:Object(ke.__)("Add citation"),onChange:e=>n({citation:e}),className:"wp-block-pullquote__citation",__unstableMobileNoFocusOnMount:!0,textAlign:"center",__unstableOnSplitAtEnd:()=>r(Object(Oe.createBlock)("core/paragraph"))}))))};var bu={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(Oe.createBlock)("core/pullquote",{value:Object(kt.toHTMLString)({value:Object(kt.join)(e.map(e=>{let{content:t}=e;return Object(kt.create)({html:t})}),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:e=>{let{content:t,anchor:n}=e;return Object(Oe.createBlock)("core/pullquote",{value:`<p>${t}</p>`,anchor:n})}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{value:t,citation:n}=e;const o=[];return t&&"<p></p>"!==t&&o.push(...Object(kt.split)(Object(kt.create)({html:t,multilineTag:"p"}),"\u2028").map(e=>Object(Oe.createBlock)("core/paragraph",{content:Object(kt.toHTMLString)({value:e})}))),n&&"<p></p>"!==n&&o.push(Object(Oe.createBlock)("core/paragraph",{content:n})),0===o.length?Object(Oe.createBlock)("core/paragraph",{content:""}):o}},{type:"block",blocks:["core/heading"],transform:e=>{let{value:t,citation:n,...o}=e;if("<p></p>"===t)return Object(Oe.createBlock)("core/heading",{content:n});const r=Object(kt.split)(Object(kt.create)({html:t,multilineTag:"p"}),"\u2028"),a=Object(Oe.createBlock)("core/heading",{content:Object(kt.toHTMLString)({value:r[0]})});if(!n&&1===r.length)return a;const l=r.slice(1);return[a,Object(Oe.createBlock)("core/pullquote",{...o,citation:n,value:Object(kt.toHTMLString)({value:l.length?Object(kt.join)(r.slice(1),"\u2028"):Object(kt.create)(),multilineTag:"p"})})]}}]};const pu={apiVersion:2,name:"core/pullquote",title:"Pullquote",category:"text",description:"Give special visual emphasis to a quote from your text.",textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},textAlign:{type:"string"}},supports:{anchor:!0,align:["left","right","wide","full"],color:{gradients:!0,background:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0}},editorStyle:"wp-block-pullquote-editor",style:"wp-block-pullquote"},{name:gu}=pu,hu={icon:iu,example:{attributes:{value:"<p>"+Object(ke.__)("One of the hardest things to do in technology is disrupt yourself.")+"</p>",citation:Object(ke.__)("Matt Mullenweg")}},transforms:bu,edit:du,save:function(e){let{attributes:t}=e;const{textAlign:n,citation:o,value:r}=t,a=!we.RichText.isEmpty(o);return Object(je.createElement)("figure",we.useBlockProps.save({className:tt()({["has-text-align-"+n]:n})}),Object(je.createElement)("blockquote",null,Object(je.createElement)(we.RichText.Content,{value:r,multiline:!0}),a&&Object(je.createElement)(we.RichText.Content,{tagName:"cite",value:o})))},deprecated:mu};var vu=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"})),Ou=n("mi6C");function ju(e){let{attributes:{query:t,displayLayout:n},setQuery:o,setDisplayLayout:r}=e;const a=Object(nt.useInstanceId)(ju,"blocks-query-pagination-max-page-input"),l=[{icon:$a,title:Object(ke.__)("List view"),onClick:()=>r({type:"list"}),isActive:"list"===(null==n?void 0:n.type)},{icon:Za.a,title:Object(ke.__)("Grid view"),onClick:()=>r({type:"flex",columns:(null==n?void 0:n.columns)||3}),isActive:"flex"===(null==n?void 0:n.type)}];return Object(je.createElement)(je.Fragment,null,!t.inherit&&Object(je.createElement)(_e.ToolbarGroup,null,Object(je.createElement)(_e.Dropdown,{contentClassName:"block-library-query-toolbar__popover",renderToggle:e=>{let{onToggle:t}=e;return Object(je.createElement)(_e.ToolbarButton,{icon:Ou.a,label:Object(ke.__)("Display settings"),onClick:t})},renderContent:()=>Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.BaseControl,null,Object(je.createElement)(_e.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(ke.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{isNaN(e)||e<1||e>100||o({perPage:e})},step:"1",value:t.perPage,isDragEnabled:!1})),Object(je.createElement)(_e.BaseControl,null,Object(je.createElement)(_e.__experimentalNumberControl,{__unstableInputWidth:"60px",label:Object(ke.__)("Offset"),labelPosition:"edge",min:0,max:100,onChange:e=>{isNaN(e)||e<0||e>100||o({offset:e})},step:"1",value:t.offset,isDragEnabled:!1})),Object(je.createElement)(_e.BaseControl,{id:a,help:Object(ke.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).")},Object(je.createElement)(_e.__experimentalNumberControl,{id:a,__unstableInputWidth:"60px",label:Object(ke.__)("Max page to show"),labelPosition:"edge",min:0,onChange:e=>{isNaN(e)||e<0||o({pages:e})},step:"1",value:t.pages,isDragEnabled:!1})))})),Object(je.createElement)(_e.ToolbarGroup,{controls:l}))}const yu=e=>{const t=null==e?void 0:e.reduce((e,t)=>{const{mapById:n,mapByName:o,names:r}=e;return n[t.id]=t,o[t.name]=t,r.push(t.name),e},{mapById:{},mapByName:{},names:[]});return{terms:e,...t}};const fu=[{label:Object(ke.__)("Include"),value:""},{label:Object(ke.__)("Exclude"),value:"exclude"},{label:Object(ke.__)("Only"),value:"only"}];function _u(e){var t,n;let{attributes:{query:o,displayLayout:r},setQuery:a,setDisplayLayout:l}=e;const{order:c,orderBy:i,author:s,postType:u,sticky:m,inherit:d}=o,[b,p]=Object(je.useState)(!0),[g,h]=Object(je.useState)(!0),[v,O]=Object(je.useState)("post"===u),{postTypesTaxonomiesMap:j,postTypesSelectOptions:y}=(()=>{const{postTypes:e}=Object(Pe.useSelect)(e=>{var t;const{getPostTypes:n}=e(It.store),o=["attachment"];return{postTypes:null===(t=n({per_page:-1}))||void 0===t?void 0:t.filter(e=>{let{viewable:t,slug:n}=e;return t&&!o.includes(n)})}},[]);return{postTypesTaxonomiesMap:Object(je.useMemo)(()=>{if(null!=e&&e.length)return e.reduce((e,t)=>(e[t.slug]=t.taxonomies,e),{})},[e]),postTypesSelectOptions:Object(je.useMemo)(()=>(e||[]).map(e=>{let{labels:t,slug:n}=e;return{label:t.singular_name,value:n}}),[e])}})(),{authorList:f,categories:_,tags:k}=Object(Pe.useSelect)(e=>{const{getEntityRecords:t}=e(It.store),n={per_page:100},o=t("taxonomy","category",n),r=t("taxonomy","post_tag",n);return{categories:yu(o),tags:yu(r),authorList:t("root","user",{per_page:-1})}},[]);Object(je.useEffect)(()=>{if(!j)return;const e=j[u];p(e.includes("category")),h(e.includes("post_tag"))},[u,j]),Object(je.useEffect)(()=>{O("post"===u)},[u]);const w=(e,t)=>n=>{const o=Array.from(n.reduce((t,n)=>{const o=((e,t)=>{var n;const o=(null==t?void 0:t.id)||(null===(n=e[t])||void 0===n?void 0:n.id);if(o)return o;const r=t.toLocaleLowerCase();for(const t in e)if(t.toLocaleLowerCase()===r)return e[t].id})(e.mapByName,n);return o&&t.add(o),t},new Set));a({[t]:o})},E=w(_,"categoryIds"),C=w(k,"tagIds"),[x,S]=Object(je.useState)(o.search),B=Object(je.useCallback)(Object(Me.debounce)(()=>{o.search!==x&&a({search:x})},250),[x,o.search]);Object(je.useEffect)(()=>(B(),B.cancel),[x,B]);const T=e=>{const t={category:{queryProp:"categoryIds",terms:_},post_tag:{queryProp:"tagIds",terms:k}}[e];return(o[t.queryProp]||[]).reduce((e,n)=>{const o=t.terms.mapById[n];return o&&e.push({id:n,value:o.name}),e},[])};return Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Inherit query from template"),help:Object(ke.__)("Toggle to use the global query context that is set with the current template, such as an archive or search. Disable to customize the settings independently."),checked:!!d,onChange:e=>a({inherit:!!e})}),!d&&Object(je.createElement)(_e.SelectControl,{options:y,value:u,label:Object(ke.__)("Post Type"),onChange:e=>{const t={postType:e};j[e].includes("category")||(t.categoryIds=[]),j[e].includes("post_tag")||(t.tagIds=[]),"post"!==e&&(t.sticky=""),a(t)},help:Object(ke.__)('WordPress contains different types of content and they are divided into collections called "Post Types". By default there are a few different ones such as blog posts and pages, but plugins could add more.')}),"flex"===(null==r?void 0:r.type)&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Columns"),value:r.columns,onChange:e=>l({columns:e}),min:2,max:Math.max(6,r.columns)}),r.columns>6&&Object(je.createElement)(_e.Notice,{status:"warning",isDismissible:!1},Object(ke.__)("This column count exceeds the recommended amount and may cause visual breakage."))),!d&&Object(je.createElement)(_e.QueryControls,{order:c,orderBy:i,onOrderChange:e=>a({order:e}),onOrderByChange:e=>a({orderBy:e})}),v&&Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Sticky posts"),options:fu,value:m,onChange:e=>a({sticky:e}),help:Object(ke.__)('Blog posts can be "stickied", a feature that places them at the top of the front page of posts, keeping it there until new sticky posts are published.')})),!d&&Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Filters")},b&&(null==_||null===(t=_.terms)||void 0===t?void 0:t.length)>0&&Object(je.createElement)(_e.FormTokenField,{label:Object(ke.__)("Categories"),value:T("category"),suggestions:_.names,onChange:E}),g&&(null==k||null===(n=k.terms)||void 0===n?void 0:n.length)>0&&Object(je.createElement)(_e.FormTokenField,{label:Object(ke.__)("Tags"),value:T("post_tag"),suggestions:k.names,onChange:C}),Object(je.createElement)(_e.QueryControls,{selectedAuthorId:s,authorList:f,onAuthorChange:e=>a({author:""!==e?+e:void 0})}),Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Keyword"),value:x,onChange:S})))}var ku=e=>{var t;let{clientId:n,name:o,attributes:r,setAttributes:a}=e;const{blockType:l,defaultVariation:c,scopeVariations:i,allVariations:s}=Object(Pe.useSelect)(e=>{const{getBlockVariations:t,getBlockType:n,getDefaultBlockVariation:r}=e(Oe.store);return{blockType:n(o),defaultVariation:r(o,"block"),scopeVariations:t(o,"block"),allVariations:t(o)}},[o]),{replaceInnerBlocks:u}=Object(Pe.useDispatch)(we.store),m=Object(we.useBlockProps)(),d=Object(we.__experimentalGetMatchingVariation)(r,s),b=(null==d?void 0:d.icon)||(null==l||null===(t=l.icon)||void 0===t?void 0:t.src),p=(null==d?void 0:d.title)||(null==l?void 0:l.title);return Object(je.createElement)("div",m,Object(je.createElement)(we.__experimentalBlockVariationPicker,{icon:b,label:p,variations:i,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;e.attributes&&a(e.attributes),e.innerBlocks&&u(n,Object(Oe.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!1)}}))};const wu=[["core/post-template"]];function Eu(e){let{attributes:t,setAttributes:n}=e;const{queryId:o,query:r,displayLayout:a,tagName:l="div",layout:c={}}=t,{__unstableMarkNextChangeAsNotPersistent:i}=Object(Pe.useDispatch)(we.store),s=Object(nt.useInstanceId)(Eu),{themeSupportsLayout:u}=Object(Pe.useSelect)(e=>{var t;const{getSettings:n}=e(we.store);return{themeSupportsLayout:null===(t=n())||void 0===t?void 0:t.supportsLayout}},[]),m=Object(we.useSetting)("layout")||{},d=c&&c.inherit?m:c,b=Object(we.useBlockProps)(),p=Object(we.useInnerBlocksProps)(b,{template:wu,__experimentalLayout:u?d:void 0}),{postsPerPage:g}=Object(Pe.useSelect)(e=>{const{getSettings:t}=e(we.store);return{postsPerPage:+t().postsPerPage||3}},[]);Object(je.useEffect)(()=>{const e={};!r.perPage&&g&&(e.perPage=g),Object.keys(e).length&&(i(),h(e))},[r.perPage]),Object(je.useEffect)(()=>{o||(i(),n({queryId:s}))},[o,s]);const h=e=>n({query:{...r,...e}}),v=e=>n({displayLayout:{...a,...e}});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_u,{attributes:t,setQuery:h,setDisplayLayout:v}),Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(ju,{attributes:t,setQuery:h,setDisplayLayout:v})),Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"advanced"},Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("HTML element"),options:[{label:Object(ke.__)("Default (<div>)"),value:"div"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:l,onChange:e=>n({tagName:e})})),Object(je.createElement)(l,p))}function Cu(e){const{clientId:t,name:n}=e,o=Object(we.useBlockProps)(),{replaceBlock:r,selectBlock:a}=Object(Pe.useDispatch)(we.store);return Object(je.createElement)("div",o,Object(je.createElement)(we.__experimentalBlockPatternSetup,{blockName:n,clientId:t,startBlankComponent:Object(je.createElement)(ku,e),onBlockPatternSelect:e=>{const n=e.map(e=>Object(Oe.cloneBlock)(e)),o=(e=>{const t=[...e];for(;t.length>0;){var n;const e=t.shift();if("core/query"===e.name)return e.clientId;null===(n=e.innerBlocks)||void 0===n||n.forEach(e=>{t.push(e)})}})(n);r(t,n),o&&a(o)}}))}var xu=e=>{const{clientId:t}=e,n=Object(Pe.useSelect)(e=>!!e(we.store).getBlocks(t).length,[t])?Eu:Cu;return Object(je.createElement)(n,e)};const Su=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(je.createElement)(_e.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z"})),Bu=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(je.createElement)(_e.Path,{d:"M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z"})),Tu=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(je.createElement)(_e.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z"})),Nu=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Object(je.createElement)(_e.Path,{d:"M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z"})),zu={query:{perPage:3,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!1}};var Pu=[{name:"posts-list",title:Object(ke.__)("Posts List"),description:Object(ke.__)("Display a list of your most recent posts, excluding sticky posts."),icon:Ga,attributes:{query:{perPage:4,pages:1,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},scope:["inserter"]},{name:"title-date",title:Object(ke.__)("Title & Date"),icon:Su,attributes:{...zu},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-date"]]],["core/query-pagination"]],scope:["block"]},{name:"title-excerpt",title:Object(ke.__)("Title & Excerpt"),icon:Bu,attributes:{...zu},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-excerpt"]]],["core/query-pagination"]],scope:["block"]},{name:"title-date-excerpt",title:Object(ke.__)("Title, Date, & Excerpt"),icon:Tu,attributes:{...zu},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-date"],["core/post-excerpt"]]],["core/query-pagination"]],scope:["block"]},{name:"image-date-title",title:Object(ke.__)("Image, Date, & Title"),icon:Nu,attributes:{...zu},innerBlocks:[["core/post-template",{},[["core/post-featured-image"],["core/post-date"],["core/post-title"]]],["core/query-pagination"]],scope:["block"]}];var Iu=[{attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},layout:{type:"object",default:{type:"list"}}},supports:{html:!1},migrate:e=>({...Object(Me.omit)(e,["layout"]),displayLayout:e.layout}),save:()=>Object(je.createElement)(we.InnerBlocks.Content,null)}];const Mu=e=>{let{attributes:{query:{postType:t}={}}={}}=e;if(!t)return null;const n=Object(Jo.addQueryArgs)("post-new.php",{post_type:t});return Object(je.createElement)("div",{className:"wp-block-query__create-new-link"},Object(je.createInterpolateElement)(Object(ke.__)("<a>Create a new post</a> for this feed."),{a:Object(je.createElement)("a",{href:n})}))};var Ru=Object(nt.createHigherOrderComponent)(e=>t=>{const{name:n,isSelected:o}=t;return"core/query"===n&&o?Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(Mu,t)),Object(je.createElement)(e,Object(mt.a)({key:"edit"},t))):Object(je.createElement)(e,Object(mt.a)({key:"edit"},t))},"withInspectorControls");const Lu={apiVersion:2,name:"core/query",title:"Query Loop",category:"theme",description:"An advanced block that allows displaying post types based on different query parameters and visual configurations.",textdomain:"default",attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},tagName:{type:"string",default:"div"},displayLayout:{type:"object",default:{type:"list"}}},providesContext:{queryId:"queryId",query:"query",displayLayout:"displayLayout"},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},__experimentalLayout:!0},editorStyle:"wp-block-query-editor"},{name:Vu}=Lu,Hu={icon:vu,edit:xu,save:function(e){let{attributes:{tagName:t="div"}}=e;const n=we.useBlockProps.save(),o=we.useInnerBlocksProps.save(n);return Object(je.createElement)(t,o)},variations:Pu,deprecated:Iu};Object(Lr.addFilter)("editor.BlockEdit","core/query",Ru);var Au=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(je.createElement)(ye.Rect,{x:"12",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(je.createElement)(ye.Rect,{x:"17",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}));function Fu(e){let{value:t,onChange:n}=e;return Object(je.createElement)(_e.__experimentalToggleGroupControl,{label:Object(ke.__)("Arrow"),value:t,onChange:n,help:Object(ke.__)("A decorative arrow appended to the next and previous page link."),isBlock:!0},Object(je.createElement)(_e.__experimentalToggleGroupControlOption,{value:"none",label:Object(ke._x)("None","Arrow option for Query Pagination Next/Previous blocks")}),Object(je.createElement)(_e.__experimentalToggleGroupControlOption,{value:"arrow",label:Object(ke._x)("Arrow","Arrow option for Query Pagination Next/Previous blocks")}),Object(je.createElement)(_e.__experimentalToggleGroupControlOption,{value:"chevron",label:Object(ke._x)("Chevron","Arrow option for Query Pagination Next/Previous blocks")}))}const Du=[["core/query-pagination-previous"],["core/query-pagination-numbers"],["core/query-pagination-next"]];var Gu=[{save:()=>Object(je.createElement)("div",we.useBlockProps.save(),Object(je.createElement)(we.InnerBlocks.Content,null))}];const Uu={apiVersion:2,name:"core/query-pagination",title:"Pagination",category:"design",parent:["core/query"],description:"Displays a paginated navigation to next/previous set of posts, when applicable.",textdomain:"default",attributes:{paginationArrow:{type:"string",default:"none"}},usesContext:["queryId","query"],providesContext:{paginationArrow:"paginationArrow"},supports:{align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-query-pagination-editor",style:"wp-block-query-pagination"},{name:qu}=Uu,Wu={icon:Au,edit:function(e){let{attributes:{paginationArrow:t,layout:n},setAttributes:o,clientId:r,name:a}=e;const l=n||(e=>{const t=Object(Oe.getBlockSupport)(e,"__experimentalLayout");return null==t?void 0:t.default})(a),c=Object(Pe.useSelect)(e=>{const{getBlocks:t}=e(we.store),n=t(r);return null==n?void 0:n.find(e=>["core/query-pagination-next","core/query-pagination-previous"].includes(e.name))},[]),i=Object(we.useBlockProps)(),s=Object(we.useInnerBlocksProps)(i,{template:Du,allowedBlocks:["core/query-pagination-previous","core/query-pagination-numbers","core/query-pagination-next"],__experimentalLayout:l});return Object(je.createElement)(je.Fragment,null,c&&Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Settings")},Object(je.createElement)(Fu,{value:t,onChange:e=>{o({paginationArrow:e})}}))),Object(je.createElement)("div",s))},save:function(){return Object(je.createElement)(we.InnerBlocks.Content,null)},deprecated:Gu};var $u=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Rect,{x:"6",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(je.createElement)(ye.Rect,{x:"11",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),Object(je.createElement)(ye.Path,{d:"M16.5 9.5L19 12l-2.5 2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const Zu={none:"",arrow:"→",chevron:"»"};const Ku={apiVersion:2,name:"core/query-pagination-next",title:"Next Page",category:"design",parent:["core/query-pagination"],description:"Displays the next posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query","paginationArrow"],supports:{reusable:!1,html:!1,color:{gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:Ju}=Ku,Qu={icon:$u,edit:function(e){let{attributes:{label:t},setAttributes:n,context:{paginationArrow:o}}=e;const r=Zu[o];return Object(je.createElement)("a",Object(mt.a)({href:"#pagination-next-pseudo-link",onClick:e=>e.preventDefault()},Object(we.useBlockProps)()),Object(je.createElement)(we.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":Object(ke.__)("Next page link"),placeholder:Object(ke.__)("Next Page"),value:t,onChange:e=>n({label:e})}),r&&Object(je.createElement)("span",{className:"wp-block-query-pagination-next-arrow is-arrow-"+o},r))}};var Yu=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),Object(je.createElement)(ye.Path,{d:"M13.5 14v-4l-1.5.5",stroke:"#1E1E1E"}),Object(je.createElement)(ye.Path,{d:"M19.266 9.805c-.473-.611-1.22-.51-1.702-.367a3.854 3.854 0 00-.718.307l.13 1.082c.192-.17.47-.422.782-.515.34-.1.578.025.668.141.21.27-.034.835-.16 1.055-.49.85-.93 1.594-1.45 2.492H19.5v-1h-.914c.277-.574.814-1.443.914-2.106.052-.343.02-.762-.234-1.09z",fill:"#1E1E1E"}));const Xu=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(je.createElement)(t,{className:"page-numbers "+n},e)};const em={apiVersion:2,name:"core/query-pagination-numbers",title:"Page Numbers",category:"design",parent:["core/query-pagination"],description:"Displays a list of page numbers for pagination",textdomain:"default",usesContext:["queryId","query"],supports:{reusable:!1,html:!1},editorStyle:"query-pagination-numbers-editor"},{name:tm}=em,nm={icon:Yu,edit:function(){const e=Object(je.createElement)(je.Fragment,null,Xu(1),Xu(2),Xu(3,"span","current"),Xu(4),Xu(5),Xu("...","span","dots"),Xu(8));return Object(je.createElement)("div",Object(we.useBlockProps)(),e)}};var om=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Rect,{x:"18",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 18 13.5)",fill:"#000"}),Object(je.createElement)(ye.Rect,{x:"13",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 13 13.5)",fill:"#000"}),Object(je.createElement)(ye.Path,{d:"M7.5 14.5L5 12l2.5-2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const rm={none:"",arrow:"←",chevron:"«"};const am={apiVersion:2,name:"core/query-pagination-previous",title:"Previous Page",category:"design",parent:["core/query-pagination"],description:"Displays the previous posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query","paginationArrow"],supports:{reusable:!1,html:!1,color:{gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:lm}=am,cm={icon:om,edit:function(e){let{attributes:{label:t},setAttributes:n,context:{paginationArrow:o}}=e;const r=rm[o];return Object(je.createElement)("a",Object(mt.a)({href:"#pagination-previous-pseudo-link",onClick:e=>e.preventDefault()},Object(we.useBlockProps)()),r&&Object(je.createElement)("span",{className:"wp-block-query-pagination-previous-arrow is-arrow-"+o},r),Object(je.createElement)(we.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":Object(ke.__)("Previous page link"),placeholder:Object(ke.__)("Previous Page"),value:t,onChange:e=>n({label:e})}))}},im=["archive"];var sm=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M4 19.25h9M4 15.25h16"}),Object(je.createElement)(ye.Path,{d:"M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",fill:"#1E1E1E"}));const um=[{isDefault:!0,name:"archive-title",title:Object(ke.__)("Archive Title"),description:Object(ke.__)("Display the archive title based on the queried object."),icon:sm,attributes:{type:"archive"},scope:["inserter"]}];um.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)});var mm=um;var dm=[{attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},save:()=>null,migrate:at,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const bm={apiVersion:2,name:"core/query-title",title:"Query Title",category:"theme",description:"Display the query title.",textdomain:"default",attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}}},editorStyle:"wp-block-query-title-editor"},{name:pm}=bm,gm={edit:function(e){let{attributes:{type:t,level:n,textAlign:o},setAttributes:r}=e;const a="h"+n,l=Object(we.useBlockProps)({className:tt()({["has-text-align-"+o]:o,"wp-block-query-title__placeholder":"archive"===t})});if(!im.includes(t))return Object(je.createElement)("div",l,Object(je.createElement)(we.Warning,null,Object(ke.__)("Provided type is not supported.")));let c;return"archive"===t&&(c=Object(je.createElement)(a,l,Object(ke.__)("Archive title"))),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(ia,{selectedLevel:n,onChange:e=>r({level:e})}),Object(je.createElement)(we.AlignmentControl,{value:o,onChange:e=>{r({textAlign:e})}})),c)},variations:mm,deprecated:dm};var hm=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"}));const vm={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}};var Om=[{attributes:vm,save(e){let{attributes:t}=e;const{align:n,value:o,citation:r}=t;return Object(je.createElement)("blockquote",{style:{textAlign:n||null}},Object(je.createElement)(we.RichText.Content,{multiline:!0,value:o}),!we.RichText.isEmpty(r)&&Object(je.createElement)(we.RichText.Content,{tagName:"cite",value:r}))}},{attributes:{...vm,style:{type:"number",default:1}},migrate:e=>2===e.style?{...Object(Me.omit)(e,["style"]),className:e.className?e.className+" is-style-large":"is-style-large"}:e,save(e){let{attributes:t}=e;const{align:n,value:o,citation:r,style:a}=t;return Object(je.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},Object(je.createElement)(we.RichText.Content,{multiline:!0,value:o}),!we.RichText.isEmpty(r)&&Object(je.createElement)(we.RichText.Content,{tagName:"cite",value:r}))}},{attributes:{...vm,citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}},migrate:e=>isNaN(parseInt(e.style))?e:{...Object(Me.omit)(e,["style"])},save(e){let{attributes:t}=e;const{align:n,value:o,citation:r,style:a}=t;return Object(je.createElement)("blockquote",{className:"blocks-quote-style-"+a,style:{textAlign:n||null}},Object(je.createElement)(we.RichText.Content,{multiline:!0,value:o}),!we.RichText.isEmpty(r)&&Object(je.createElement)(we.RichText.Content,{tagName:"footer",value:r}))}}];const jm="web"===je.Platform.OS;var ym={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(Oe.createBlock)("core/quote",{value:Object(kt.toHTMLString)({value:Object(kt.join)(e.map(e=>{let{content:t}=e;return Object(kt.create)({html:t})}),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:e=>{let{content:t,anchor:n}=e;return Object(Oe.createBlock)("core/quote",{value:`<p>${t}</p>`,anchor:n})}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:n,anchor:o}=e;return Object(Oe.createBlock)("core/quote",{value:t,citation:n,anchor:o})}},{type:"prefix",prefix:">",transform:e=>Object(Oe.createBlock)("core/quote",{value:`<p>${e}</p>`})},{type:"raw",isMatch:e=>{const t=(()=>{let e=!1;return t=>"P"===t.nodeName||(e||"CITE"!==t.nodeName?void 0:(e=!0,!0))})();return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(t)},schema:e=>{let{phrasingContentSchema:t}=e;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{value:t,citation:n}=e;const o=[];return t&&"<p></p>"!==t&&o.push(...Object(kt.split)(Object(kt.create)({html:t,multilineTag:"p"}),"\u2028").map(e=>Object(Oe.createBlock)("core/paragraph",{content:Object(kt.toHTMLString)({value:e})}))),n&&"<p></p>"!==n&&o.push(Object(Oe.createBlock)("core/paragraph",{content:n})),0===o.length?Object(Oe.createBlock)("core/paragraph",{content:""}):o}},{type:"block",blocks:["core/heading"],transform:e=>{let{value:t,citation:n,...o}=e;if("<p></p>"===t)return Object(Oe.createBlock)("core/heading",{content:n});const r=Object(kt.split)(Object(kt.create)({html:t,multilineTag:"p"}),"\u2028"),a=Object(Oe.createBlock)("core/heading",{content:Object(kt.toHTMLString)({value:r[0]})});if(!n&&1===r.length)return a;const l=r.slice(1);return[a,Object(Oe.createBlock)("core/quote",{...o,citation:n,value:Object(kt.toHTMLString)({value:l.length?Object(kt.join)(r.slice(1),"\u2028"):Object(kt.create)(),multilineTag:"p"})})]}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:n,anchor:o}=e;return Object(Oe.createBlock)("core/pullquote",{value:t,citation:n,anchor:o})}}]};const fm={apiVersion:2,name:"core/quote",title:"Quote",category:"text",description:'Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar',keywords:["blockquote","cite"],textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:"",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},align:{type:"string"}},supports:{anchor:!0,__experimentalSlashInserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"plain",label:"Plain"},{name:"large",label:"Large"}],editorStyle:"wp-block-quote-editor",style:"wp-block-quote"},{name:_m}=fm,km={icon:hm,example:{attributes:{value:"<p>"+Object(ke.__)("In quoting others, we cite ourselves.")+"</p>",citation:"Julio Cortázar",className:"is-style-large"}},transforms:ym,edit:function(e){let{attributes:t,setAttributes:n,isSelected:o,mergeBlocks:r,onReplace:a,className:l,insertBlocksAfter:c,style:i}=e;const{align:s,value:u,citation:m}=t,d=Object(we.useBlockProps)({className:tt()(l,{["has-text-align-"+s]:s}),style:i});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.AlignmentControl,{value:s,onChange:e=>{n({align:e})}})),Object(je.createElement)(_e.BlockQuotation,d,Object(je.createElement)(we.RichText,{identifier:"value",multiline:!0,value:u,onChange:e=>n({value:e}),onMerge:r,onRemove:e=>{const t=!m||0===m.length;!e&&t&&a([])},"aria-label":Object(ke.__)("Quote text"),placeholder:Object(ke.__)("Add quote"),onReplace:a,onSplit:e=>Object(Oe.createBlock)("core/quote",{...t,value:e}),__unstableOnSplitMiddle:()=>Object(Oe.createBlock)("core/paragraph"),textAlign:s}),(!we.RichText.isEmpty(m)||o)&&Object(je.createElement)(we.RichText,{identifier:"citation",tagName:jm?"cite":void 0,style:{display:"block"},value:m,onChange:e=>n({citation:e}),__unstableMobileNoFocusOnMount:!0,"aria-label":Object(ke.__)("Quote citation text"),placeholder:Object(ke.__)("Add citation"),className:"wp-block-quote__citation",textAlign:s,__unstableOnSplitAtEnd:()=>c(Object(Oe.createBlock)("core/paragraph"))})))},save:function(e){let{attributes:t}=e;const{align:n,value:o,citation:r}=t,a=tt()({["has-text-align-"+n]:n});return Object(je.createElement)("blockquote",we.useBlockProps.save({className:a}),Object(je.createElement)(we.RichText.Content,{multiline:!0,value:o}),!we.RichText.isEmpty(r)&&Object(je.createElement)(we.RichText.Content,{tagName:"cite",value:r}))},merge(e,t){let{value:n,citation:o}=t;return o||(o=e.citation),n&&"<p></p>"!==n?{...e,value:e.value+n,citation:o}:{...e,citation:o}},deprecated:Om};var wm=n("+WrK"),Em=n("diJD");var Cm=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"}));const xm={apiVersion:2,name:"core/block",title:"Reusable block",category:"reusable",description:"Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used.",textdomain:"default",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"},{name:Sm}=xm,Bm={edit:function(e){let{attributes:{ref:t},clientId:n}=e;const[o,r]=Object(we.__experimentalUseNoRecursiveRenders)(t),{isMissing:a,hasResolved:l}=Object(Pe.useSelect)(e=>{const n=e(It.store).getEntityRecord("postType","wp_block",t),o=e(It.store).hasFinishedResolution("getEntityRecord",["postType","wp_block",t]);return{hasResolved:o,isMissing:o&&!n}},[t,n]),{__experimentalConvertBlockToStatic:c}=Object(Pe.useDispatch)(Em.store),[i,s,u]=Object(It.useEntityBlockEditor)("postType","wp_block",{id:t}),[m,d]=Object(It.useEntityProp)("postType","wp_block","title",t),b=Object(we.useBlockProps)(),p=Object(we.useInnerBlocksProps)({},{value:i,onInput:s,onChange:u,renderAppender:null!=i&&i.length?void 0:we.InnerBlocks.ButtonBlockAppender});return o?Object(je.createElement)("div",b,Object(je.createElement)(we.Warning,null,Object(ke.__)("Block cannot be rendered inside itself."))):a?Object(je.createElement)("div",b,Object(je.createElement)(we.Warning,null,Object(ke.__)("Block has been deleted or is unavailable."))):l?Object(je.createElement)(r,null,Object(je.createElement)("div",b,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,null,Object(je.createElement)(_e.ToolbarButton,{onClick:()=>c(n),label:Object(ke.__)("Convert to regular blocks"),icon:Cm,showTooltip:!0}))),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,null,Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Name"),value:m,onChange:d}))),Object(je.createElement)(we.__experimentalBlockContentOverlay,{clientId:n,wrapperProps:p,className:"block-library-block__reusable-block-container"}))):Object(je.createElement)("div",b,Object(je.createElement)(_e.Placeholder,null,Object(je.createElement)(_e.Spinner,null)))},icon:wm.a};var Tm=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"}));const Nm={apiVersion:2,name:"core/rss",title:"RSS",category:"widgets",description:"Display entries from any RSS or Atom feed.",keywords:["atom","feed"],textdomain:"default",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"},{name:zm}=Nm,Pm={icon:Tm,example:{attributes:{feedURL:"https://wordpress.org"}},edit:function(e){let{attributes:t,setAttributes:n}=e;const[o,r]=Object(je.useState)(!t.feedURL),{blockLayout:a,columns:l,displayAuthor:c,displayDate:i,displayExcerpt:s,excerptLength:u,feedURL:m,itemsToShow:d}=t;function b(e){return()=>{const o=t[e];n({[e]:!o})}}const p=Object(we.useBlockProps)();if(o)return Object(je.createElement)("div",p,Object(je.createElement)(_e.Placeholder,{icon:Tm,label:"RSS"},Object(je.createElement)("form",{onSubmit:function(e){e.preventDefault(),m&&r(!1)},className:"wp-block-rss__placeholder-form"},Object(je.createElement)(_e.TextControl,{placeholder:Object(ke.__)("Enter URL here…"),value:m,onChange:e=>n({feedURL:e}),className:"wp-block-rss__placeholder-input"}),Object(je.createElement)(_e.Button,{variant:"primary",type:"submit"},Object(ke.__)("Use URL")))));const g=[{icon:to.a,title:Object(ke.__)("Edit RSS URL"),onClick:()=>r(!0)},{icon:$a,title:Object(ke.__)("List view"),onClick:()=>n({blockLayout:"list"}),isActive:"list"===a},{icon:Za.a,title:Object(ke.__)("Grid view"),onClick:()=>n({blockLayout:"grid"}),isActive:"grid"===a}];return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,{controls:g})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("RSS settings")},Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Number of items"),value:d,onChange:e=>n({itemsToShow:e}),min:1,max:10,required:!0}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display author"),checked:c,onChange:b("displayAuthor")}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display date"),checked:i,onChange:b("displayDate")}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display excerpt"),checked:s,onChange:b("displayExcerpt")}),s&&Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Max number of words in excerpt"),value:u,onChange:e=>n({excerptLength:e}),min:10,max:100,required:!0}),"grid"===a&&Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Columns"),value:l,onChange:e=>n({columns:e}),min:2,max:6,required:!0}))),Object(je.createElement)("div",p,Object(je.createElement)(_e.Disabled,null,Object(je.createElement)(Ce.a,{block:"core/rss",attributes:t}))))}},Im=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"})),Mm=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),Object(je.createElement)(_e.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),Rm=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),Object(je.createElement)(_e.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),Lm=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"})),Vm=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(je.createElement)(_e.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"})),Hm=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.Rect,{x:"4.75",y:"17.25",width:"5.5",height:"14.5",transform:"rotate(-90 4.75 17.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(je.createElement)(_e.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"}));var Am=[{name:"default",isDefault:!0,attributes:{buttonText:Object(ke.__)("Search"),label:Object(ke.__)("Search")}}];const Fm={apiVersion:2,name:"core/search",title:"Search",category:"widgets",description:"Help visitors find your content.",keywords:["find"],textdomain:"default",attributes:{label:{type:"string",__experimentalRole:"content"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:"",__experimentalRole:"content"},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string",__experimentalRole:"content"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],color:{gradients:!0,__experimentalSkipSerialization:!0},__experimentalBorder:{color:!0,radius:!0,__experimentalSkipSerialization:!0},html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"},{name:Dm}=Fm,Gm={icon:cc.a,example:{},variations:Am,edit:function(e){var t,n;let{className:o,attributes:r,setAttributes:a,toggleSelection:l,isSelected:c,clientId:i}=e;const{label:s,showLabel:u,placeholder:m,width:d,widthUnit:b,align:p,buttonText:g,buttonPosition:h,buttonUseIcon:v,style:O}=r,j=Object(Pe.useSelect)(e=>{var t;const{getBlockParentsByBlockName:n,wasBlockJustInserted:o}=e(we.store);return!(null===(t=n(i,"core/navigation"))||void 0===t||!t.length)&&o(i)},[i]),{__unstableMarkNextChangeAsNotPersistent:y}=Object(Pe.useDispatch)(we.store);Object(je.useEffect)(()=>{j&&(y(),a({showLabel:!1,buttonUseIcon:!0,buttonPosition:"button-inside"}))},[j]);const f=null==O||null===(t=O.border)||void 0===t?void 0:t.radius,_=null==O||null===(n=O.border)||void 0===n?void 0:n.color,k=Object(we.__experimentalUseBorderProps)(r);"number"==typeof f&&(k.style.borderRadius=f+"px");const w=Object(we.__experimentalUseColorProps)(r),E="wp-block-search__width-"+Object(nt.useInstanceId)(we.__experimentalUnitControl),C="button-inside"===h,x="button-outside"===h,S="no-button"===h,B="button-only"===h,T=Object(_e.__experimentalUseCustomUnits)({availableUnits:["%","px"],defaultValues:{"%":50,px:350}}),N=[{role:"menuitemradio",title:Object(ke.__)("Button outside"),isActive:"button-outside"===h,icon:Mm,onClick:()=>{a({buttonPosition:"button-outside"})}},{role:"menuitemradio",title:Object(ke.__)("Button inside"),isActive:"button-inside"===h,icon:Rm,onClick:()=>{a({buttonPosition:"button-inside"})}},{role:"menuitemradio",title:Object(ke.__)("No button"),isActive:"no-button"===h,icon:Lm,onClick:()=>{a({buttonPosition:"no-button"})}}],z=()=>{const e=tt()("wp-block-search__input",C?void 0:k.className),t=C?{borderRadius:f}:k.style;return Object(je.createElement)("input",{className:e,style:t,"aria-label":Object(ke.__)("Optional placeholder text"),placeholder:m?void 0:Object(ke.__)("Optional placeholder…"),value:m,onChange:e=>a({placeholder:e.target.value})})},P=()=>{const e=tt()("wp-block-search__button",w.className,C?void 0:k.className,v?"has-icon":void 0),t={...w.style,...C?{borderRadius:f}:k.style};return Object(je.createElement)(je.Fragment,null,v&&Object(je.createElement)("button",{type:"button",className:e,style:t},Object(je.createElement)(ac.a,{icon:cc.a})),!v&&Object(je.createElement)(we.RichText,{className:e,style:t,"aria-label":Object(ke.__)("Button text"),placeholder:Object(ke.__)("Add button text…"),withoutInteractiveFormatting:!0,value:g,onChange:e=>a({buttonText:e})}))},I=Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,null,Object(je.createElement)(_e.ToolbarButton,{title:Object(ke.__)("Toggle search label"),icon:Hm,onClick:()=>{a({showLabel:!u})},className:u?"is-pressed":void 0}),Object(je.createElement)(_e.ToolbarDropdownMenu,{icon:(()=>{switch(h){case"button-inside":return Rm;case"button-outside":return Mm;case"no-button":return Lm;case"button-only":return Im}})(),label:Object(ke.__)("Change button position"),controls:N}),!S&&Object(je.createElement)(_e.ToolbarButton,{title:Object(ke.__)("Use button with icon"),icon:Vm,onClick:()=>{a({buttonUseIcon:!v})},className:v?"is-pressed":void 0}))),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Display Settings")},Object(je.createElement)(_e.BaseControl,{label:Object(ke.__)("Width"),id:E},Object(je.createElement)(we.__experimentalUnitControl,{id:E,min:"220px",onChange:e=>{const t="%"===b&&parseInt(e,10)>100?100:e;a({width:parseInt(t,10)})},onUnitChange:e=>{a({width:"%"===e?50:350,widthUnit:e})},style:{maxWidth:80},value:`${d}${b}`,unit:b,units:T}),Object(je.createElement)(_e.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":Object(ke.__)("Percentage Width")},[25,50,75,100].map(e=>Object(je.createElement)(_e.Button,{key:e,isSmall:!0,variant:e+"%"==`${d}${b}`?"primary":void 0,onClick:()=>a({width:e,widthUnit:"%"})},e,"%"))))))),M=e=>e?`calc(${e} + 4px)`:void 0,R=Object(we.useBlockProps)({className:tt()(o,C?void 0:k.className,C?"wp-block-search__button-inside":void 0,x?"wp-block-search__button-outside":void 0,S?"wp-block-search__no-button":void 0,B?"wp-block-search__button-only":void 0,v||S?void 0:"wp-block-search__text-button",v&&!S?"wp-block-search__icon-button":void 0)});return Object(je.createElement)("div",R,I,u&&Object(je.createElement)(we.RichText,{className:"wp-block-search__label","aria-label":Object(ke.__)("Label text"),placeholder:Object(ke.__)("Add label…"),withoutInteractiveFormatting:!0,value:s,onChange:e=>a({label:e})}),Object(je.createElement)(_e.ResizableBox,{size:{width:`${d}${b}`},className:tt()("wp-block-search__inside-wrapper",C?k.className:void 0),style:(()=>{const e={borderColor:_},t=0!==parseInt(f,10);if(C&&t){if("object"==typeof f){const{topLeft:t,topRight:n,bottomLeft:o,bottomRight:r}=f;return{borderTopLeftRadius:M(t),borderTopRightRadius:M(n),borderBottomLeftRadius:M(o),borderBottomRightRadius:M(r),...e}}const t=Number.isInteger(f)?f+"px":f;e.borderRadius=`calc(${t} + 4px)`}return e})(),minWidth:220,enable:B?{}:{right:"right"!==p,left:"right"===p},onResizeStart:(e,t,n)=>{a({width:parseInt(n.offsetWidth,10),widthUnit:"px"}),l(!1)},onResizeStop:(e,t,n,o)=>{a({width:parseInt(d+o.width,10)}),l(!0)},showHandle:c},(C||x)&&Object(je.createElement)(je.Fragment,null,z(),P()),B&&P(),S&&z()))}};var Um=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"}));var qm=e=>{let{color:t,setColor:n}=e;return Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(we.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:Object(ke.__)("Color"),colorSettings:[{value:t.color,onChange:n,label:Object(ke.__)("Color")}]}))};var Wm=Object(we.withColors)("color",{textColor:"color"})((function(e){let{color:t,setColor:n,className:o}=e;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.HorizontalRule,Object(we.useBlockProps)({className:tt()(o,{"has-background":t.color,[t.class]:t.class}),style:{backgroundColor:t.color,color:t.color}})),Object(je.createElement)(qm,{color:t,setColor:n}))}));var $m={from:[{type:"enter",regExp:/^-{3,}$/,transform:()=>Object(Oe.createBlock)("core/separator")},{type:"raw",selector:"hr",schema:{hr:{}}}]};const Zm={apiVersion:2,name:"core/separator",title:"Separator",category:"design",description:"Create a break between ideas or sections with a horizontal separator.",keywords:["horizontal-line","hr","divider"],textdomain:"default",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"wide",label:"Wide Line"},{name:"dots",label:"Dots"}],editorStyle:"wp-block-separator-editor",style:"wp-block-separator"},{name:Km}=Zm,Jm={icon:Um,example:{attributes:{customColor:"#065174",className:"is-style-wide"}},transforms:$m,edit:Wm,save:function(e){let{attributes:t}=e;const{color:n,customColor:o}=t,r=Object(we.getColorClassName)("background-color",n),a=Object(we.getColorClassName)("color",n),l=tt()({"has-text-color has-background":n||o,[r]:r,[a]:a}),c={backgroundColor:r?void 0:o,color:a?void 0:o};return Object(je.createElement)("hr",we.useBlockProps.save({className:l,style:c}))}};var Qm=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"}));var Ym=n("UuzZ");var Xm={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:(e,t)=>{let{content:n}=t;return Object(Ym.removep)(Object(Ym.autop)(n))}}},priority:20}]};const ed={apiVersion:2,name:"core/shortcode",title:"Shortcode",category:"widgets",description:"Insert additional custom elements with a WordPress shortcode.",textdomain:"default",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"},{name:td}=ed,nd={icon:Qm,transforms:Xm,edit:function e(t){let{attributes:n,setAttributes:o}=t;const r="blocks-shortcode-input-"+Object(nt.useInstanceId)(e);return Object(je.createElement)("div",Object(we.useBlockProps)({className:"components-placeholder"}),Object(je.createElement)("label",{htmlFor:r,className:"components-placeholder__label"},Object(je.createElement)(ac.a,{icon:Qm}),Object(ke.__)("Shortcode")),Object(je.createElement)(we.PlainText,{className:"blocks-shortcode__textarea",id:r,value:n.text,"aria-label":Object(ke.__)("Shortcode text"),placeholder:Object(ke.__)("Write shortcode here…"),onChange:e=>o({text:e})}))},save:function(e){let{attributes:t}=e;return Object(je.createElement)(je.RawHTML,null,t.text)}};var od=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 1.5c4.1 0 7.5 3.4 7.5 7.5v.1c-1.4-.8-3.3-1.7-3.4-1.8-.2-.1-.5-.1-.8.1l-2.9 2.1L9 11.3c-.2-.1-.4 0-.6.1l-3.7 2.2c-.1-.5-.2-1-.2-1.5 0-4.2 3.4-7.6 7.5-7.6zm0 15c-3.1 0-5.7-1.9-6.9-4.5l3.7-2.2 3.5 1.2c.2.1.5 0 .7-.1l2.9-2.1c.8.4 2.5 1.2 3.5 1.9-.9 3.3-3.9 5.8-7.4 5.8z"}));const rd=["image"],ad=e=>{let{alt:t,attributes:{align:n,width:o,height:r,isLink:a,linkTarget:l,shouldSyncIcon:c},containerRef:i,isSelected:s,setAttributes:u,setLogo:m,logoUrl:d,siteUrl:b,logoId:p,iconId:g,setIcon:h,canUserEdit:v}=e;const O=Ba(i,[n]),j=Object(nt.useViewportMatch)("medium"),y=!Object(Me.includes)(["wide","full"],n)&&j,[{naturalWidth:f,naturalHeight:_},k]=Object(je.useState)({}),[w,E]=Object(je.useState)(!1),{toggleSelection:C}=Object(Pe.useDispatch)(we.store),x=tt()("custom-logo-link",{"is-transient":Object(ze.isBlobURL)(d)}),{imageEditing:S,maxWidth:B,title:T}=Object(Pe.useSelect)(e=>{const{getSettings:t}=e(we.store);return{title:e(It.store).getEditedEntityRecord("root","site").title,...Object(Me.pick)(t(),["imageEditing","maxWidth"])}},[]);Object(je.useEffect)(()=>{c&&p!==g&&u({shouldSyncIcon:!1})},[]),Object(je.useEffect)(()=>{s||E(!1)},[s]);const N=Object(je.createElement)("img",{className:"custom-logo",src:d,alt:t,onLoad:e=>{k(Object(Me.pick)(e.target,["naturalWidth","naturalHeight"]))}});let z,P=N;if(a&&(P=Object(je.createElement)("a",{href:b,className:x,rel:"home",title:T,onClick:e=>e.preventDefault()},N)),O&&f&&_){z=f>O?O:f}if(!y||!z)return Object(je.createElement)("div",{style:{width:o,height:r}},P);const I=o||120,M=f/_,R=I/M,L=f<_?20:Math.ceil(20*M),V=_<f?20:Math.ceil(20/M),H=2.5*B;let A=!1,F=!1;"center"===n?(A=!0,F=!0):Object(ke.isRTL)()?"left"===n?A=!0:F=!0:"right"===n?F=!0:A=!0;const D=p&&f&&_&&S,G=D&&w?Object(je.createElement)(we.__experimentalImageEditingProvider,{id:p,url:d,naturalWidth:f,naturalHeight:_,clientWidth:O,onSaveImage:e=>{m(e.id)},isEditing:w,onFinishEditing:()=>E(!1)},Object(je.createElement)(we.__experimentalImageEditor,{url:d,width:I,height:R,clientWidth:O,naturalHeight:_,naturalWidth:f})):Object(je.createElement)(_e.ResizableBox,{size:{width:I,height:R},showHandle:s,minWidth:L,maxWidth:H,minHeight:V,maxHeight:H/M,lockAspectRatio:!0,enable:{top:!1,right:A,bottom:!0,left:F},onResizeStart:function(){C(!1)},onResizeStop:(e,t,n,o)=>{C(!0),u({width:parseInt(I+o.width,10),height:parseInt(R+o.height,10)})}},P),U=Object(je.createInterpolateElement)(Object(ke.__)("Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. To use a custom icon that is different from your site logo, use the <a>Site Icon settings</a>."),{a:Object(je.createElement)("a",{href:b+"/wp-admin/customize.php?autofocus[section]=title_tagline",target:"_blank",rel:"noopener noreferrer"})});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Settings")},Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Image width"),onChange:e=>u({width:e}),min:L,max:H,initialPosition:Math.min(120,H),value:o||"",disabled:!y}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Link image to home"),onChange:()=>u({isLink:!a}),checked:a}),a&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Open in new tab"),onChange:e=>u({linkTarget:e?"_blank":"_self"}),checked:"_blank"===l})),v&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Use as site icon"),onChange:e=>{u({shouldSyncIcon:e}),h(e?p:void 0)},checked:!!c,help:U})))),Object(je.createElement)(we.BlockControls,{group:"block"},D&&!w&&Object(je.createElement)(_e.ToolbarButton,{onClick:()=>E(!0),icon:Ca,label:Object(ke.__)("Crop")})),G)};const ld={apiVersion:2,name:"core/site-logo",title:"Site Logo",category:"theme",description:"Display a graphic to represent this site. Update the block, and the changes apply everywhere it’s used. This is different than the site icon, which is the smaller image visible in your dashboard, browser tabs, etc used to help others recognize this site.",textdomain:"default",attributes:{width:{type:"number"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"},shouldSyncIcon:{type:"boolean"}},example:{viewportWidth:500,attributes:{width:350,className:"block-editor-block-types-list__site-logo-example"}},supports:{html:!1,align:!0,alignWide:!1,color:{__experimentalDuotone:"img",text:!1,background:!1}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"rounded",label:"Rounded"}],editorStyle:"wp-block-site-logo-editor",style:"wp-block-site-logo"},{name:cd}=ld,id={icon:od,edit:function(e){let{attributes:t,className:n,setAttributes:o,isSelected:r}=e;const{width:a,shouldSyncIcon:l}=t,[c,i]=Object(je.useState)(),s=Object(je.useRef)(),{siteLogoId:u,canUserEdit:m,url:d,siteIconId:b,mediaItemData:p,isRequestingMediaItem:g}=Object(Pe.useSelect)(e=>{const{canUser:t,getEntityRecord:n,getEditedEntityRecord:o}=e(It.store),r=o("root","site"),a=n("root","__unstableBase"),l=null==r?void 0:r.site_logo,c=null==a?void 0:a.site_logo,i=t("update","settings"),s=i?l:c,u=null==r?void 0:r.site_icon,m=s&&e(It.store).getMedia(s,{context:"view"}),d=s&&!e(It.store).hasFinishedResolution("getMedia",[s,{context:"view"}]);return{siteLogoId:s,canUserEdit:i,url:null==a?void 0:a.url,mediaItemData:m&&{id:m.id,url:m.source_url,alt:m.alt_text},isRequestingMediaItem:d,siteIconId:u}},[]),{editEntityRecord:h}=Object(Pe.useDispatch)(It.store),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(l||t)&&O(e),h("root","site",void 0,{site_logo:e})},O=e=>h("root","site",void 0,{site_icon:e});let j=null;p&&(j=p.alt,c!==p.url&&i(p.url));const y=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return!e.id&&e.url?(v(void 0),void i(e.url)):void v(e.id,t)},{createErrorNotice:f}=Object(Pe.useDispatch)(Do.store),_=e=>{f(e[2],{type:"snackbar"})},k=m&&c&&Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaURL:c,allowedTypes:rd,accept:"image/*",onSelect:y,onError:_},Object(je.createElement)(_e.MenuItem,{onClick:()=>{v(null),i(void 0),o({width:void 0})}},Object(ke.__)("Reset"))));let w;const E=void 0===u||g;E&&(w=Object(je.createElement)(_e.Spinner,null)),c&&(w=Object(je.createElement)(ad,{alt:j,attributes:t,className:n,containerRef:s,isSelected:r,setAttributes:o,logoUrl:c,setLogo:v,logoId:(null==p?void 0:p.id)||u,siteUrl:d,setIcon:O,iconId:b,canUserEdit:m}));const C=tt()(n,{"is-default-size":!a}),x=Object(we.useBlockProps)({ref:s,className:C}),S=Object(ke.__)("Add a site logo");return Object(je.createElement)("div",x,k,!!c&&w,!c&&!m&&Object(je.createElement)(_e.Placeholder,{className:"site-logo_placeholder"},E&&Object(je.createElement)("span",{className:"components-placeholder__preview"},Object(je.createElement)(_e.Spinner,null))),!c&&m&&Object(je.createElement)(we.MediaPlaceholder,{onSelect:e=>{if(void 0===l){const t=!b;return o({shouldSyncIcon:t}),void y(e,t)}y(e)},accept:"image/*",allowedTypes:rd,onError:_,placeholder:e=>{const t=tt()("block-editor-media-placeholder",n);return Object(je.createElement)(_e.Placeholder,{className:t,preview:w},Object(je.createElement)(ye.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},Object(je.createElement)(ye.Path,{vectorEffect:"non-scaling-stroke",d:"m61 32.622-13.555-9.137-15.888 9.859a5 5 0 0 1-5.386-.073l-9.095-5.989L1 37.5"})),e)},mediaLibraryButton:e=>{let{open:t}=e;return Object(je.createElement)(_e.Button,{icon:xa.a,variant:"primary",label:S,showTooltip:!0,tooltipPosition:"top center",onClick:()=>{t()}})}}))}};var sd=Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(je.createElement)(_e.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(je.createElement)(_e.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"}));var ud=[{attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:at,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const md={apiVersion:2,name:"core/site-tagline",title:"Site Tagline",category:"theme",description:"Describe in a few words what the website is about. The tagline can be used in search results or when sharing on social networks even if it's not displayed in the theme design.",keywords:["description"],textdomain:"default",attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}},editorStyle:"wp-block-site-tagline-editor"},{name:dd}=md,bd={icon:sd,edit:function(e){let{attributes:t,setAttributes:n}=e;const{textAlign:o}=t,[r,a]=Object(It.useEntityProp)("root","site","description"),{canUserEdit:l,readOnlySiteTagLine:c}=Object(Pe.useSelect)(e=>{const{canUser:t,getEntityRecord:n}=e(It.store),o=n("root","__unstableBase");return{canUserEdit:t("update","settings"),readOnlySiteTagLine:null==o?void 0:o.description}},[]),i=Object(we.useBlockProps)({className:tt()({["has-text-align-"+o]:o,"wp-block-site-tagline__placeholder":!l&&!c})}),s=l?Object(je.createElement)(we.RichText,Object(mt.a)({allowedFormats:[],onChange:a,"aria-label":Object(ke.__)("Site tagline text"),placeholder:Object(ke.__)("Write site tagline…"),tagName:"p",value:r},i)):Object(je.createElement)("p",i,c||Object(ke.__)("Site Tagline placeholder"));return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.AlignmentControl,{onChange:e=>n({textAlign:e}),value:o})),s)},deprecated:ud};var pd=Object(je.createElement)(ye.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"}));function gd(e){let{level:t,isPressed:n=!1}=e;if(0===t)return Mi;return Object(je.createElement)(_e.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},Object(je.createElement)(_e.Path,{d:{1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"}[t]}))}function hd(e){let{level:t,onChange:n}=e;const o=[1,2,3,4,5,6,0].map(e=>{const o=e===t;return{icon:Object(je.createElement)(gd,{level:e,isPressed:o}),title:0===e?Object(ke.__)("Paragraph"):Object(ke.sprintf)(Object(ke.__)("Heading %d"),e),isActive:o,onClick:()=>n(e)}});return Object(je.createElement)(_e.ToolbarDropdownMenu,{label:Object(ke.__)("Change heading level"),icon:Object(je.createElement)(gd,{level:t}),controls:o})}var vd=[{attributes:{level:{type:"number",default:1},textAlign:{type:"string"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:at,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const Od={apiVersion:2,name:"core/site-title",title:"Site Title",category:"theme",description:"Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.",textdomain:"default",attributes:{level:{type:"number",default:1},textAlign:{type:"string"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},example:{viewportWidth:500},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,lineHeight:!0,fontAppearance:!0,letterSpacing:!0,textTransform:!0}}},editorStyle:"wp-block-site-title-editor"},{name:jd}=Od,yd={icon:pd,edit:function(e){let{attributes:t,setAttributes:n,insertBlocksAfter:o}=e;const{level:r,textAlign:a,isLink:l,linkTarget:c}=t,[i,s]=Object(It.useEntityProp)("root","site","title"),{canUserEdit:u,readOnlyTitle:m}=Object(Pe.useSelect)(e=>{const{canUser:t,getEntityRecord:n}=e(It.store),o=n("root","__unstableBase");return{canUserEdit:t("update","settings"),readOnlyTitle:Object(lc.decodeEntities)(null==o?void 0:o.name)}},[]),d=0===r?"p":"h"+r,b=Object(we.useBlockProps)({className:tt()({["has-text-align-"+a]:a,"wp-block-site-title__placeholder":!u&&!m})}),p=u?Object(je.createElement)(d,b,Object(je.createElement)(we.RichText,{tagName:l?"a":"span",href:l?"#site-title-pseudo-link":void 0,"aria-label":Object(ke.__)("Site title text"),placeholder:Object(ke.__)("Write site title…"),value:i,onChange:s,allowedFormats:[],disableLineBreaks:!0,__unstableOnSplitAtEnd:()=>o(Object(Oe.createBlock)(Object(Oe.getDefaultBlockName)()))})):Object(je.createElement)(d,b,l?Object(je.createElement)("a",{href:"#site-title-pseudo-link",onClick:e=>e.preventDefault()},m||Object(ke.__)("Site Title placeholder")):Object(je.createElement)("span",null,i||m));return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(hd,{level:r,onChange:e=>n({level:e})}),Object(je.createElement)(we.AlignmentControl,{value:a,onChange:e=>{n({textAlign:e})}})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Link settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Make title link to home"),onChange:()=>n({isLink:!l}),checked:l}),l&&Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Open in new tab"),onChange:e=>n({linkTarget:e?"_blank":"_self"}),checked:"_blank"===c}))),p)},deprecated:vd};var fd=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})),_d=n("btIw");const kd=()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"})),wd=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))},{name:"chain",attributes:{service:"chain"},title:"Link",icon:kd},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))},{name:"google",attributes:{service:"google"},title:"Google",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))},{name:"github",attributes:{service:"github"},title:"GitHub",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M 12.0002 1.5 C 6.2006 1.5 1.5 6.2011 1.5 11.9998 C 1.5 17.799 6.2006 22.5 12.0002 22.5 C 17.799 22.5 22.5 17.799 22.5 11.9998 C 22.5 6.2011 17.799 1.5 12.0002 1.5 Z M 16.1974 16.2204 C 14.8164 16.2152 13.9346 15.587 13.3345 14.1859 L 13.1816 13.8451 L 11.8541 10.8101 C 11.4271 9.7688 10.3526 9.0712 9.1801 9.0712 C 7.5695 9.0712 6.2593 10.3851 6.2593 12.001 C 6.2593 13.6165 7.5695 14.9303 9.1801 14.9303 C 10.272 14.9303 11.2651 14.3275 11.772 13.3567 C 11.7893 13.3235 11.8239 13.302 11.863 13.3038 C 11.9007 13.3054 11.9353 13.3288 11.9504 13.3632 L 12.4865 14.6046 C 12.5016 14.639 12.4956 14.6778 12.4723 14.7069 C 11.6605 15.6995 10.4602 16.2683 9.1801 16.2683 C 6.8331 16.2683 4.9234 14.3536 4.9234 12.001 C 4.9234 9.6468 6.833 7.732 9.1801 7.732 C 10.9572 7.732 12.3909 8.6907 13.1138 10.3636 C 13.1206 10.3802 13.8412 12.0708 14.4744 13.5191 C 14.8486 14.374 15.1462 14.896 16.1288 14.9292 C 17.0663 14.9613 17.7538 14.4122 17.7538 13.6485 C 17.7538 12.9691 17.3321 12.8004 16.3803 12.4822 C 14.7365 11.9398 13.845 11.3861 13.845 10.0182 C 13.845 8.6809 14.7667 7.8162 16.192 7.8162 C 17.1288 7.8162 17.8155 8.2287 18.2921 9.0768 C 18.305 9.1006 18.3079 9.1281 18.3004 9.1542 C 18.2929 9.1803 18.2748 9.2021 18.2507 9.2138 L 17.3614 9.669 C 17.3178 9.692 17.2643 9.6781 17.2356 9.6385 C 16.9329 9.2135 16.5956 9.0251 16.1423 9.0251 C 15.5512 9.0251 15.122 9.429 15.122 9.9865 C 15.122 10.6738 15.6529 10.8414 16.5339 11.1192 C 16.6491 11.1558 16.7696 11.194 16.8939 11.2343 C 18.2763 11.6865 19.0768 12.2311 19.0768 13.6836 C 19.0769 15.1297 17.8389 16.2204 16.1974 16.2204 Z"}))},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))},{name:"mail",attributes:{service:"mail"},title:"Mail",keywords:["email","e-mail"],icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))},{name:"patreon",attributes:{service:"patreon"},title:"Patreon",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 569 546",version:"1.1"},Object(je.createElement)(ye.Circle,{cx:"363",cy:"205",r:"205"}),Object(je.createElement)(ye.Rect,{width:"100",height:"546",x:"0",y:"0"}))},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))},{name:"telegram",attributes:{service:"telegram"},title:"Telegram",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 128 128",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z"}))},{name:"tiktok",attributes:{service:"tiktok"},title:"TikTok",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 32 32",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z"}))},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))},{name:"vk",attributes:{service:"vk"},title:"VK",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:()=>Object(je.createElement)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(ye.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}];wd.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.service===t.service)});var Ed=wd;const Cd=e=>{let{url:t,setAttributes:n,setPopover:o,anchorRef:r}=e;return Object(je.createElement)(we.URLPopover,{anchorRef:null==r?void 0:r.current,onClose:()=>o(!1)},Object(je.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:e=>{e.preventDefault(),o(!1)}},Object(je.createElement)("div",{className:"block-editor-url-input"},Object(je.createElement)(we.URLInput,{value:t,onChange:e=>n({url:e}),placeholder:Object(ke.__)("Enter address"),disableSuggestions:!0})),Object(je.createElement)(_e.Button,{icon:_d.a,label:Object(ke.__)("Apply"),type:"submit"})))};var xd=e=>{let{attributes:t,context:n,isSelected:o,setAttributes:r}=e;const{url:a,service:l,label:c}=t,{iconColorValue:i,iconBackgroundColorValue:s}=n,[u,m]=Object(je.useState)(!1),d=tt()("wp-social-link","wp-social-link-"+l,{"wp-social-link__is-incomplete":!a}),b=Object(je.useRef)(),p=(e=>{const t=Object(Me.find)(Ed,{name:e});return t?t.icon:kd})(l),g=(e=>{const t=Object(Me.find)(Ed,{name:e});return t?t.title:Object(ke.__)("Social Icon")})(l),h=Object(we.useBlockProps)({className:d,style:{color:i,backgroundColor:s}});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.sprintf)(Object(ke.__)("%s label"),g),initialOpen:!1},Object(je.createElement)(_e.PanelRow,null,Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Link label"),help:Object(ke.__)("Briefly describe the link to help screen reader users."),value:c,onChange:e=>r({label:e})})))),Object(je.createElement)("li",h,Object(je.createElement)(_e.Button,{ref:b,onClick:()=>m(!0)},Object(je.createElement)(p,null),o&&u&&Object(je.createElement)(Cd,{url:a,setAttributes:r,setPopover:m,anchorRef:b}))))};const Sd={apiVersion:2,name:"core/social-link",title:"Social Icon",category:"widgets",parent:["core/social-links"],description:"Display an icon linking to a social media profile or website.",textdomain:"default",attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}},usesContext:["openInNewTab","iconColorValue","iconBackgroundColorValue"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-social-link-editor"},{name:Bd}=Sd,Td={icon:fd,edit:xd,variations:Ed};var Nd=[{attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab"},supports:{align:["left","center","right"],anchor:!0},migrate:e=>{var t,n;if(e.layout)return e;const{className:o}=e,r=new RegExp("\\bitems-justified-[^ ]*[ ]?\\b","g"),a={...e,className:null==o?void 0:o.replace(r,"").trim()},l=null==o||null===(t=o.match(r))||void 0===t||null===(n=t[0])||void 0===n?void 0:n.trim();return l&&Object.assign(a,{layout:{type:"flex",justifyContent:l.slice("items-justified-".length)}}),a},save:e=>{const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=tt()(r,{"has-icon-color":n,"has-icon-background-color":t,["items-justified-"+o]:o}),l={"--wp--social-links--icon-color":n,"--wp--social-links--icon-background-color":t};return Object(je.createElement)("ul",we.useBlockProps.save({className:a,style:l}),Object(je.createElement)(we.InnerBlocks.Content,null))}}],zd=n("RMJe");const Pd=["core/social-link"],Id=[{name:Object(ke.__)("Small"),value:"has-small-icon-size"},{name:Object(ke.__)("Normal"),value:"has-normal-icon-size"},{name:Object(ke.__)("Large"),value:"has-large-icon-size"},{name:Object(ke.__)("Huge"),value:"has-huge-icon-size"}];var Md=Object(we.withColors)({iconColor:"icon-color",iconBackgroundColor:"icon-background-color"})((function(e){var t;const{name:n,attributes:o,iconBackgroundColor:r,iconColor:a,isSelected:l,setAttributes:c,setIconBackgroundColor:i,setIconColor:s}=e,{iconBackgroundColorValue:u,iconColorValue:m,openInNewTab:d,size:b,layout:p}=o,g=p||(e=>{const t=Object(Oe.getBlockSupport)(e,"__experimentalLayout");return null==t?void 0:t.default})(n),h=(null===(t=o.className)||void 0===t?void 0:t.indexOf("is-style-logos-only"))>=0;Object(je.useEffect)(()=>{h&&c({iconBackgroundColor:void 0,customIconBackgroundColor:void 0,iconBackgroundColorValue:void 0})},[h,c]);const v=Object(je.createElement)("li",{className:"wp-block-social-links__social-placeholder"},Object(je.createElement)("div",{className:"wp-social-link"}),Object(je.createElement)("div",{className:"wp-block-social-links__social-placeholder-icons"},Object(je.createElement)("div",{className:"wp-social-link wp-social-link-twitter"}),Object(je.createElement)("div",{className:"wp-social-link wp-social-link-facebook"}),Object(je.createElement)("div",{className:"wp-social-link wp-social-link-instagram"}))),O=Object(je.createElement)("li",{className:"wp-block-social-links__social-prompt"},Object(ke.__)("Click plus to add")),j=tt()(b,{"has-icon-color":a.color||m,"has-icon-background-color":r.color||u}),y=Object(we.useBlockProps)({className:j}),f=Object(we.useInnerBlocksProps)(y,{allowedBlocks:Pd,placeholder:l?O:v,templateLock:!1,__experimentalAppenderTagName:"li",__experimentalLayout:g});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(_e.ToolbarDropdownMenu,{label:Object(ke.__)("Size"),text:Object(ke.__)("Size"),icon:null,popoverProps:{position:"bottom right"}},e=>{let{onClose:t}=e;return Object(je.createElement)(_e.MenuGroup,null,Id.map(e=>Object(je.createElement)(_e.MenuItem,{icon:(b===e.value||!b&&"has-normal-icon-size"===e.value)&&zd.a,isSelected:b===e.value,key:e.value,onClick:()=>{c({size:e.value})},onClose:t,role:"menuitemradio"},e.name)))})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Link settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Open links in new tab"),checked:d,onChange:()=>c({openInNewTab:!d})})),Object(je.createElement)(we.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:Object(ke.__)("Color"),colorSettings:[{value:a.color||m,onChange:e=>{s(e),c({iconColorValue:e})},label:Object(ke.__)("Icon color")},!h&&{value:r.color||u,onChange:e=>{i(e),c({iconBackgroundColorValue:e})},label:Object(ke.__)("Icon background")}]}),!h&&Object(je.createElement)(we.ContrastChecker,{textColor:m,backgroundColor:u,isLargeText:!1})),Object(je.createElement)("ul",f))}));const Rd={apiVersion:2,name:"core/social-links",title:"Social Icons",category:"widgets",description:"Display icons linking to your social media profiles or websites.",keywords:["links"],textdomain:"default",attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab",iconColorValue:"iconColorValue",iconBackgroundColorValue:"iconBackgroundColorValue"},supports:{align:["left","center","right"],anchor:!0,__experimentalExposeControlsToChildren:!0,__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}},spacing:{blockGap:!0,margin:["top","bottom"],units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"logos-only",label:"Logos Only"},{name:"pill-shape",label:"Pill Shape"}],editorStyle:"wp-block-social-links-editor",style:"wp-block-social-links"},{name:Ld}=Rd,Vd={example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},icon:fd,edit:Md,save:function(e){const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,size:o}}=e,r=tt()(o,{"has-icon-color":n,"has-icon-background-color":t}),a=we.useBlockProps.save({className:r}),l=we.useInnerBlocksProps.save(a);return Object(je.createElement)("ul",l)},deprecated:Nd};var Hd=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"}));var Ad=[{attributes:{height:{type:"number",default:100},width:{type:"number"}},migrate(e){const{height:t,width:n}=e;return{...e,width:void 0!==n?n+"px":void 0,height:void 0!==t?t+"px":void 0}},save(e){let{attributes:t}=e;return Object(je.createElement)("div",we.useBlockProps.save({style:{height:t.height,width:t.width},"aria-hidden":!0}))}}];function Fd(e){var t;let{label:n,onChange:o,isResizing:r,value:a=""}=e;const[l,c]=Object(je.useState)(null),i=Object(nt.useInstanceId)(_e.__experimentalUnitControl,"block-spacer-height-input"),s=null===(t=Object(we.useSetting)("spacing.units")||void 0)||void 0===t?void 0:t.filter(e=>"%"!==e),u=Object(_e.__experimentalUseCustomUnits)({availableUnits:s||["px","em","rem","vw","vh"],defaultValues:{px:"100",em:"10",rem:"10",vw:"10",vh:"25"}}),m=null!==l?l:a;return Object(je.createElement)(_e.BaseControl,{label:n,id:i},Object(je.createElement)(_e.__experimentalUnitControl,{id:i,isResetValueOnUnitChange:!0,min:0,max:Gd,onBlur:()=>{null!==l&&c(null)},onChange:e=>{c(null),o(e)},style:{maxWidth:80},value:m,units:u,unit:r?"px":void 0}))}function Dd(e){let{setAttributes:t,orientation:n,height:o,width:r,isResizing:a}=e;return Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Spacer settings")},"horizontal"===n&&Object(je.createElement)(Fd,{label:Object(ke.__)("Width"),value:r,onChange:e=>t({width:e}),isResizing:a}),"horizontal"!==n&&Object(je.createElement)(Fd,{label:Object(ke.__)("Height"),value:o,onChange:e=>t({height:e}),isResizing:a})))}const Gd=500,Ud=e=>{let{orientation:t,onResizeStart:n,onResize:o,onResizeStop:r,isSelected:a,isResizing:l,setIsResizing:c,...i}=e;const s=e=>"horizontal"===t?e.clientWidth:e.clientHeight,u=e=>s(e)+"px";return Object(je.createElement)(_e.ResizableBox,Object(mt.a)({className:tt()("block-library-spacer__resize-container",{"resize-horizontal":"horizontal"===t,"is-resizing":l,"is-selected":a}),onResizeStart:(e,t,r)=>{const a=u(r);n(a),o(a)},onResize:(e,t,n)=>{o(u(n)),l||c(!0)},onResizeStop:(e,t,n)=>{const o=Math.min(Gd,s(n));r(o+"px"),c(!1)},__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"horizontal"===t?"x":"y",position:"corner",isVisible:l},showHandle:a},i))};var qd=Object(nt.compose)([Object(Pe.withDispatch)(e=>{const{toggleSelection:t}=e(we.store);return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}}),nt.withInstanceId])(e=>{let{attributes:t,isSelected:n,setAttributes:o,onResizeStart:r,onResizeStop:a,context:l}=e;const{orientation:c}=l,{height:i,width:s}=t,[u,m]=Object(je.useState)(!1),[d,b]=Object(je.useState)(null),[p,g]=Object(je.useState)(null),h=e=>{a(),o({height:e}),b(null)},v=e=>{a(),o({width:e}),g(null)},O={height:"horizontal"===c?24:d||i||void 0,width:"horizontal"===c&&(p||s)||void 0};return Object(je.useEffect)(()=>{"horizontal"!==c||s||o({height:"0px",width:"72px"})},[]),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(ye.View,Object(we.useBlockProps)({style:O}),"horizontal"===(j=c)?Object(je.createElement)(Ud,{minWidth:1,enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:j,onResizeStart:r,onResize:g,onResizeStop:v,isSelected:n,isResizing:u,setIsResizing:m}):Object(je.createElement)(je.Fragment,null,Object(je.createElement)(Ud,{enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:j,onResizeStart:r,onResize:b,onResizeStop:h,isSelected:n,isResizing:u,setIsResizing:m}))),Object(je.createElement)(Dd,{setAttributes:o,height:d||i,width:p||s,orientation:c,isResizing:u}));var j});const Wd={apiVersion:2,name:"core/spacer",title:"Spacer",category:"design",description:"Add white space between blocks and customize its height.",textdomain:"default",attributes:{height:{type:"string",default:"100px"},width:{type:"string"}},usesContext:["orientation"],supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"},{name:$d}=Wd,Zd={icon:Hd,edit:qd,save:function(e){let{attributes:{height:t,width:n}}=e;return Object(je.createElement)("div",we.useBlockProps.save({style:{height:t,width:n},"aria-hidden":!0}))},deprecated:Ad};var Kd=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"}));const Jd={"subtle-light-gray":"#f3f4f5","subtle-pale-green":"#e9fbe5","subtle-pale-blue":"#e7f5fe","subtle-pale-pink":"#fcf0ef"};var Qd=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,__experimentalSelector:".wp-block-table > table"},save:e=>{let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,backgroundColor:l,caption:c}=t;if(!o.length&&!r.length&&!a.length)return null;const i=Object(we.getColorClassName)("background-color",l),s=tt()(i,{"has-fixed-layout":n,"has-background":!!i}),u=!we.RichText.isEmpty(c),m=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o="t"+t;return Object(je.createElement)(o,null,n.map((e,t)=>{let{cells:n}=e;return Object(je.createElement)("tr",{key:t},n.map((e,t)=>{let{content:n,tag:o,scope:r,align:a}=e;const l=tt()({["has-text-align-"+a]:a});return Object(je.createElement)(we.RichText.Content,{className:l||void 0,"data-align":a,tagName:o,value:n,key:t,scope:"th"===o?r:void 0})}))}))};return Object(je.createElement)("figure",we.useBlockProps.save(),Object(je.createElement)("table",{className:""===s?void 0:s},Object(je.createElement)(m,{type:"head",rows:o}),Object(je.createElement)(m,{type:"body",rows:r}),Object(je.createElement)(m,{type:"foot",rows:a})),u&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:c}))},isEligible:e=>e.backgroundColor&&!e.style,migrate:e=>({...e,backgroundColor:void 0,style:{color:{background:Jd[e.backgroundColor]}}})},{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save(e){let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,backgroundColor:l}=t;if(!o.length&&!r.length&&!a.length)return null;const c=Object(we.getColorClassName)("background-color",l),i=tt()(c,{"has-fixed-layout":n,"has-background":!!c}),s=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o="t"+t;return Object(je.createElement)(o,null,n.map((e,t)=>{let{cells:n}=e;return Object(je.createElement)("tr",{key:t},n.map((e,t)=>{let{content:n,tag:o,scope:r}=e;return Object(je.createElement)(we.RichText.Content,{tagName:o,value:n,key:t,scope:"th"===o?r:void 0})}))}))};return Object(je.createElement)("table",{className:i},Object(je.createElement)(s,{type:"head",rows:o}),Object(je.createElement)(s,{type:"body",rows:r}),Object(je.createElement)(s,{type:"foot",rows:a}))}}],Yd=n("fPbg"),Xd=n("plpT"),eb=n("ziDm");var tb=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(je.createElement)(ye.Path,{d:"M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"}));var nb=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(je.createElement)(ye.Path,{d:"M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"}));var ob=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(je.createElement)(ye.Path,{d:"M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"}));var rb=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(je.createElement)(ye.Path,{d:"M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"}));var ab=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(je.createElement)(ye.Path,{d:"M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"}));var lb=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(je.createElement)(ye.Path,{d:"M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"}));var cb=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));const ib=["align"];function sb(e,t,n){if(!t)return e;const o=Object(Me.pick)(e,["head","body","foot"]),{sectionName:r,rowIndex:a}=t;return Object(Me.mapValues)(o,(e,o)=>r&&r!==o?e:e.map((e,r)=>a&&a!==r?e:{cells:e.cells.map((e,a)=>function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:o,columnIndex:a,rowIndex:r},t)?n(e):e)}))}function ub(e,t){let{sectionName:n,rowIndex:o,columnCount:r}=t;const a=function(e){return bb(e.head)?bb(e.body)?bb(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),l=void 0===r?Object(Me.get)(a,["cells","length"]):r;return l?{[n]:[...e[n].slice(0,o),{cells:Object(Me.times)(l,e=>{const t=Object(Me.get)(a,["cells",e],{});return{...Object(Me.pick)(t,ib),content:"",tag:"head"===n?"th":"td"}})},...e[n].slice(o)]}:e}function mb(e,t){let{columnIndex:n}=t;const o=Object(Me.pick)(e,["head","body","foot"]);return Object(Me.mapValues)(o,(e,t)=>bb(e)?e:e.map(e=>pb(e)||e.cells.length<n?e:{cells:[...e.cells.slice(0,n),{content:"",tag:"head"===t?"th":"td"},...e.cells.slice(n)]}))}function db(e,t){if(!bb(e[t]))return{[t]:[]};return ub(e,{sectionName:t,rowIndex:0,columnCount:Object(Me.get)(e,["body",0,"cells","length"],1)})}function bb(e){return!e||!e.length||Object(Me.every)(e,pb)}function pb(e){return!(e.cells&&e.cells.length)}const gb=[{icon:Yd.a,title:Object(ke.__)("Align column left"),align:"left"},{icon:Xd.a,title:Object(ke.__)("Align column center"),align:"center"},{icon:eb.a,title:Object(ke.__)("Align column right"),align:"right"}],hb={head:Object(ke.__)("Header cell text"),body:Object(ke.__)("Body cell text"),foot:Object(ke.__)("Footer cell text")},vb={head:Object(ke.__)("Header label"),foot:Object(ke.__)("Footer label")};function Ob(e){let{name:t,...n}=e;const o="t"+t;return Object(je.createElement)(o,n)}var jb=function(e){let{attributes:t,setAttributes:n,insertBlocksAfter:o,isSelected:r}=e;const{hasFixedLayout:a,caption:l,head:c,foot:i}=t,[s,u]=Object(je.useState)(2),[m,d]=Object(je.useState)(2),[b,p]=Object(je.useState)(),g=Object(we.__experimentalUseColorProps)(t),h=Object(we.__experimentalUseBorderProps)(t);function v(e){b&&n(sb(t,b,t=>({...t,content:e})))}function O(e){if(!b)return;const{sectionName:o,rowIndex:r}=b,a=r+e;n(ub(t,{sectionName:o,rowIndex:a})),p({sectionName:o,rowIndex:a,columnIndex:0,type:"cell"})}function j(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!b)return;const{columnIndex:o}=b,r=o+e;n(mb(t,{columnIndex:r})),p({rowIndex:0,columnIndex:r,type:"cell"})}Object(je.useEffect)(()=>{r||p()},[r]);const y=["head","body","foot"].filter(e=>!bb(t[e])),f=[{icon:tb,title:Object(ke.__)("Insert row before"),isDisabled:!b,onClick:function(){O(0)}},{icon:nb,title:Object(ke.__)("Insert row after"),isDisabled:!b,onClick:function(){O(1)}},{icon:ob,title:Object(ke.__)("Delete row"),isDisabled:!b,onClick:function(){if(!b)return;const{sectionName:e,rowIndex:o}=b;p(),n(function(e,t){let{sectionName:n,rowIndex:o}=t;return{[n]:e[n].filter((e,t)=>t!==o)}}(t,{sectionName:e,rowIndex:o}))}},{icon:rb,title:Object(ke.__)("Insert column before"),isDisabled:!b,onClick:function(){j(0)}},{icon:ab,title:Object(ke.__)("Insert column after"),isDisabled:!b,onClick:function(){j(1)}},{icon:lb,title:Object(ke.__)("Delete column"),isDisabled:!b,onClick:function(){if(!b)return;const{sectionName:e,columnIndex:o}=b;p(),n(function(e,t){let{columnIndex:n}=t;const o=Object(Me.pick)(e,["head","body","foot"]);return Object(Me.mapValues)(o,e=>bb(e)?e:e.map(e=>({cells:e.cells.length>=n?e.cells.filter((e,t)=>t!==n):e.cells})).filter(e=>e.cells.length))}(t,{sectionName:e,columnIndex:o}))}}],_=["head","body","foot"].map(e=>Object(je.createElement)(Ob,{name:e,key:e},t[e].map((t,n)=>{let{cells:o}=t;return Object(je.createElement)("tr",{key:n},o.map((t,o)=>{let{content:r,tag:a,scope:l,align:c}=t;return Object(je.createElement)(we.RichText,{tagName:a,key:o,className:tt()({["has-text-align-"+c]:c},"wp-block-table__cell-content"),scope:"th"===a?l:void 0,value:r,onChange:v,unstableOnFocus:()=>{p({sectionName:e,rowIndex:n,columnIndex:o,type:"cell"})},"aria-label":hb[e],placeholder:vb[e]})}))}))),k=!y.length;return Object(je.createElement)("figure",Object(we.useBlockProps)(),!k&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.AlignmentControl,{label:Object(ke.__)("Change column alignment"),alignmentControls:gb,value:function(){if(b)return function(e,t,n){const{sectionName:o,rowIndex:r,columnIndex:a}=t;return Object(Me.get)(e,[o,r,"cells",a,n])}(t,b,"align")}(),onChange:e=>function(e){if(!b)return;const o={type:"column",columnIndex:b.columnIndex},r=sb(t,o,t=>({...t,align:e}));n(r)}(e)})),Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(_e.ToolbarDropdownMenu,{hasArrowIndicator:!0,icon:cb,label:Object(ke.__)("Edit table"),controls:f}))),!k&&Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Table settings"),className:"blocks-table-settings"},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Fixed width table cells"),checked:!!a,onChange:function(){n({hasFixedLayout:!a})}}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Header section"),checked:!(!c||!c.length),onChange:function(){n(db(t,"head"))}}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Footer section"),checked:!(!i||!i.length),onChange:function(){n(db(t,"foot"))}}))),!k&&Object(je.createElement)("table",{className:tt()(g.className,h.className,{"has-fixed-layout":a}),style:{...g.style,...h.style}},_),!k&&Object(je.createElement)(we.RichText,{tagName:"figcaption","aria-label":Object(ke.__)("Table caption text"),placeholder:Object(ke.__)("Add caption"),value:l,onChange:e=>n({caption:e}),unstableOnFocus:()=>p(),__unstableOnSplitAtEnd:()=>o(Object(Oe.createBlock)("core/paragraph"))}),k&&Object(je.createElement)(_e.Placeholder,{label:Object(ke.__)("Table"),icon:Object(je.createElement)(we.BlockIcon,{icon:Kd,showColors:!0}),instructions:Object(ke.__)("Insert a table for sharing data.")},Object(je.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(e){e.preventDefault(),n(function(e){let{rowCount:t,columnCount:n}=e;return{body:Object(Me.times)(t,()=>({cells:Object(Me.times)(n,()=>({content:"",tag:"td"}))}))}}({rowCount:parseInt(s,10)||2,columnCount:parseInt(m,10)||2}))}},Object(je.createElement)(_e.TextControl,{type:"number",label:Object(ke.__)("Column count"),value:m,onChange:function(e){d(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(je.createElement)(_e.TextControl,{type:"number",label:Object(ke.__)("Row count"),value:s,onChange:function(e){u(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(je.createElement)(_e.Button,{className:"blocks-table__placeholder-button",variant:"primary",type:"submit"},Object(ke.__)("Create Table")))))};const yb=e=>{let{phrasingContentSchema:t}=e;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}};var fb={from:[{type:"raw",selector:"table",schema:e=>({table:{children:{thead:{allowEmpty:!0,children:yb(e)},tfoot:{allowEmpty:!0,children:yb(e)},tbody:{allowEmpty:!0,children:yb(e)}}}})}]};const _b={apiVersion:2,name:"core/table",title:"Table",category:"text",description:"Create structured content in rows and columns to display information.",textdomain:"default",attributes:{hasFixedLayout:{type:"boolean",default:!1},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{__experimentalSkipSerialization:!0,color:!0,style:!0,width:!0},__experimentalSelector:".wp-block-table > table"},styles:[{name:"regular",label:"Default",isDefault:!0},{name:"stripes",label:"Stripes"}],editorStyle:"wp-block-table-editor",style:"wp-block-table"},{name:kb}=_b,wb={icon:Kd,example:{attributes:{head:[{cells:[{content:Object(ke.__)("Version"),tag:"th"},{content:Object(ke.__)("Jazz Musician"),tag:"th"},{content:Object(ke.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(ke.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(ke.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(ke.__)("December 6, 2018"),tag:"td"}]}]}},transforms:fb,edit:jb,save:function(e){let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,caption:l}=t;if(!o.length&&!r.length&&!a.length)return null;const c=Object(we.__experimentalGetColorClassesAndStyles)(t),i=Object(we.__experimentalGetBorderClassesAndStyles)(t),s=tt()(c.className,i.className,{"has-fixed-layout":n}),u=!we.RichText.isEmpty(l),m=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o="t"+t;return Object(je.createElement)(o,null,n.map((e,t)=>{let{cells:n}=e;return Object(je.createElement)("tr",{key:t},n.map((e,t)=>{let{content:n,tag:o,scope:r,align:a}=e;const l=tt()({["has-text-align-"+a]:a});return Object(je.createElement)(we.RichText.Content,{className:l||void 0,"data-align":a,tagName:o,value:n,key:t,scope:"th"===o?r:void 0})}))}))};return Object(je.createElement)("figure",we.useBlockProps.save(),Object(je.createElement)("table",{className:""===s?void 0:s,style:{...c.style,...i.style}},Object(je.createElement)(m,{type:"head",rows:o}),Object(je.createElement)(m,{type:"body",rows:r}),Object(je.createElement)(m,{type:"foot",rows:a})),u&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:l}))},deprecated:Qd};var Eb=Object(Pe.withSelect)(e=>({taxonomies:e(It.store).getTaxonomies({per_page:-1})}))((function(e){let{attributes:t,setAttributes:n,taxonomies:o}=e;const{taxonomy:r,showTagCounts:a,numberOfTags:l}=t,c=Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Tag Cloud settings")},Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Taxonomy"),options:[{label:Object(ke.__)("- Select -"),value:"",disabled:!0},...Object(Me.map)(Object(Me.filter)(o,"show_cloud"),e=>({value:e.slug,label:e.name}))],value:r,onChange:e=>n({taxonomy:e})}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show post counts"),checked:a,onChange:()=>n({showTagCounts:!a})}),Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Number of tags"),value:l,onChange:e=>n({numberOfTags:e}),min:1,max:100,required:!0})));return Object(je.createElement)(je.Fragment,null,c,Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)(Ce.a,{key:"tag-cloud",block:"core/tag-cloud",attributes:t})))}));const Cb={apiVersion:2,name:"core/tag-cloud",title:"Tag Cloud",category:"widgets",description:"A cloud of your most used tags.",textdomain:"default",attributes:{numberOfTags:{type:"number",default:45,minimum:1,maximum:100},taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0},editorStyle:"wp-block-tag-cloud-editor"},{name:xb}=Cb,Sb={icon:Jc,example:{},edit:Eb};var Bb=n("OE6V");function Tb(e){return Object(ke.sprintf)(Object(ke.__)("Area: %s"),e)}function Nb(){return Object(je.createElement)("div",{className:"wp-block-template-part__selection-preview-item is-placeholder",tabIndex:0})}function zb(e){let{templatePart:t,setAttributes:n,onClose:o,composite:r}=e;const{slug:a,theme:l,title:{rendered:c}}=t,i=t.content.raw||"",s=Object(je.useMemo)(()=>Object(Oe.parse)(i),[i]),{createSuccessNotice:u}=Object(Pe.useDispatch)(Do.store),m=Object(je.useCallback)(()=>{n({slug:a,theme:l,area:void 0}),u(Object(ke.sprintf)(Object(ke.__)('Template Part "%s" inserted.'),c||a),{type:"snackbar"}),o()},[a,l]);return Object(je.createElement)(_e.__unstableCompositeItem,Object(mt.a)({as:"div",className:"wp-block-template-part__selection-preview-item",role:"option",onClick:m,onKeyDown:e=>{dt.ENTER!==e.keyCode&&dt.SPACE!==e.keyCode||m()},tabIndex:0,"aria-label":c||a},r),Object(je.createElement)(we.BlockPreview,{blocks:s}),Object(je.createElement)("div",{className:"wp-block-template-part__selection-preview-item-title"},c||a))}function Pb(e){let{title:t,icon:n,children:o}=e;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)("div",{className:"wp-block-template-part__selection-panel-group-header"},Object(je.createElement)("span",{className:"wp-block-template-part__selection-panel-group-title"},t),Object(je.createElement)(_e.Icon,{icon:n})),Object(je.createElement)("div",{className:"wp-block-template-part__selection-panel-group-content"},o))}function Ib(e){let{templateParts:t,setAttributes:n,onClose:o,composite:r,area:a="uncategorized",labelsByArea:l}=e;const{templatePartsByArea:c,templatePartsToShow:i}=Object(je.useMemo)(()=>{const e=t.filter(e=>"uncategorized"===a||e.area===a)||[];return{templatePartsByArea:Object.values(Object(Me.groupBy)(e,"area")),templatePartsToShow:Object(Me.flatten)(e)}},[t,a]),s=Object(nt.useAsyncList)(i);return i.length?c.map(e=>Object(je.createElement)(Pb,{key:e[0].area,title:Tb(l[e[0].area]||l.uncategorized)},e.map(e=>s.includes(e)?Object(je.createElement)(zb,{key:e.id,templatePart:e,setAttributes:n,onClose:o,composite:r}):Object(je.createElement)(Nb,{key:e.id})))):Object(je.createElement)(Pb,{title:Tb(l[a]||l.uncategorized)},Object(ke.sprintf)(Object(ke.__)("There is no other %s available. If you are looking for another type of template part, try searching for it using the input above."),a&&"uncategorized"!==a?l[a]||a:Object(ke.__)("Template Part")))}function Mb(e){let{templateParts:t,setAttributes:n,filterValue:o,onClose:r,composite:a,labelsByArea:l}=e;const{filteredTPs:c,groupedResults:i}=Object(je.useMemo)(()=>{const e=Object(Me.deburr)(o).toLowerCase(),n=t.filter(t=>{let{title:{rendered:n},area:o}=t;return Object(Me.deburr)(n).toLowerCase().includes(e)||Object(Me.deburr)(l[o]).toLowerCase().includes(e)});n.sort((t,n)=>{const o=Object(Me.deburr)(t.title.rendered).toLowerCase().indexOf(e),r=Object(Me.deburr)(n.title.rendered).toLowerCase().indexOf(e);return-1!==o&&-1!==r?o-r:-1!==o?-1:-1!==r?1:Object(Me.deburr)(l[t.area]).toLowerCase().indexOf(e)-Object(Me.deburr)(l[n.area]).toLowerCase().indexOf(e)});const r=[];for(let e=0;e<n.length;e++)0!==e&&n[e].area===n[e-1].area?r[r.length-1].push(n[e]):r.push([n[e]]);return{filteredTPs:n,groupedResults:r}},[o,t]),s=Object(nt.useAsyncList)(c);return i.map(e=>Object(je.createElement)(Pb,{key:e[0].id,title:Tb(l[e[0].area]||l.uncategorized)},e.map(e=>s.includes(e)?Object(je.createElement)(zb,{key:e.id,templatePart:e,setAttributes:n,onClose:r,composite:a}):Object(je.createElement)(Nb,{key:e.id}))))}function Rb(e){let{setAttributes:t,filterValue:n,onClose:o,area:r,templatePartId:a}=e;const l=Object(_e.__unstableUseCompositeState)(),{templateParts:c,labelsByArea:i}=Object(Pe.useSelect)(e=>{const t=(e(It.store).getEntityRecords("postType","wp_template_part",{per_page:-1})||[]).filter(e=>sc(e.theme,e.slug)!==a),n=e("core/editor").__experimentalGetDefaultTemplatePartAreas(),o={};return n.forEach(e=>{o[e.area]=e.label}),{templateParts:t,labelsByArea:o}},[]);return c&&c.length?n?Object(je.createElement)(_e.__unstableComposite,Object(mt.a)({},l,{role:"listbox","aria-label":Object(ke.__)("List of template parts")}),Object(je.createElement)(Mb,{templateParts:c,setAttributes:t,filterValue:n,onClose:o,composite:l,labelsByArea:i})):Object(je.createElement)(_e.__unstableComposite,Object(mt.a)({},l,{role:"listbox","aria-label":Object(ke.__)("List of template parts")}),Object(je.createElement)(Ib,{templateParts:c,setAttributes:t,onClose:o,composite:l,area:r,labelsByArea:i})):Object(je.createElement)(Pb,null,Object(ke.__)("There are no existing template parts to select."))}function Lb(e){let{setAttributes:t,onClose:n,area:o,templatePartId:r=null}=e;const[a,l]=Object(je.useState)("");return Object(je.createElement)("div",null,Object(je.createElement)(_e.SearchControl,{value:a,onChange:l,className:"wp-block-template-part__selection-preview-search-form"}),Object(je.createElement)("div",{className:"wp-block-template-part__selection-preview-container"},Object(je.createElement)(Rb,{setAttributes:t,filterValue:a,onClose:n,area:o,templatePartId:r})))}function Vb(e){let{area:t,areaLabel:n,areaIcon:o,clientId:r,onCreate:a,resetPlaceholder:l}=e;const c=t?"core/template-part/"+t:"core/template-part",[i,s]=Object(je.useState)(Object(ke.__)("Untitled Template Part")),[u,m]=Object(je.useState)([]),[d,b]=Object(je.useState)(!1);return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.__experimentalBlockPatternSetup,{clientId:r,startBlankComponent:Object(je.createElement)(Hb,{setTitleStep:b,areaLabel:n,areaIcon:o}),onBlockPatternSelect:e=>{m(e),b(!0)},filterPatternsFn: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=>e===c)}}),d&&Object(je.createElement)(_e.Modal,{title:Object(ke.sprintf)(Object(ke.__)("Name and create your new %s"),n.toLowerCase()),closeLabel:Object(ke.__)("Cancel"),onRequestClose:l,overlayClassName:"wp-block-template-part__placeholder-create-new__title-form"},Object(je.createElement)("form",{onSubmit:e=>{e.preventDefault(),a(u,i)}},Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Name"),value:i,onChange:s}),Object(je.createElement)(_e.Flex,{className:"wp-block-template-part__placeholder-create-new__title-form-actions",justify:"flex-end"},Object(je.createElement)(_e.FlexItem,null,Object(je.createElement)(_e.Button,{variant:"secondary",onClick:l},Object(ke.__)("Cancel"))),Object(je.createElement)(_e.FlexItem,null,Object(je.createElement)(_e.Button,{variant:"primary",type:"submit",disabled:!i.length,"aria-disabled":!i.length},Object(ke.__)("Create")))))))}function Hb(e){let{setTitleStep:t,areaLabel:n,areaIcon:o}=e;return Object(je.useEffect)(()=>{t(!0)},[]),Object(je.createElement)(_e.Placeholder,{label:n,icon:o,instructions:Object(ke.sprintf)(Object(ke.__)("Creating your new %s…"),n.toLowerCase())})}const Ab=1,Fb=2;function Db(e){let{area:t,clientId:n,setAttributes:o,enableSelection:r,hasResolvedReplacements:a}=e;const{saveEntityRecord:l}=Object(Pe.useDispatch)(It.store),[c,i]=Object(je.useState)(Ab),{areaIcon:s,areaLabel:u}=Object(Pe.useSelect)(e=>{const n=e("core/editor").__experimentalGetDefaultTemplatePartAreas(),o=Object(Me.find)(n,{area:t}),r=Object(Me.find)(n,{area:"uncategorized"});return{areaIcon:(null==o?void 0:o.icon)||(null==r?void 0:r.icon),areaLabel:(null==o?void 0:o.label)||Object(ke.__)("Template Part")}},[t]),m=Object(je.useCallback)((async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(ke.__)("Untitled Template Part");const r={title:n,slug:Object(Me.kebabCase)(n),content:Object(Oe.serialize)(e),area:t},a=await l("postType","wp_template_part",r);o({slug:a.slug,theme:a.theme,area:void 0})}),[o,t]);return Object(je.createElement)(je.Fragment,null,c===Ab&&Object(je.createElement)(_e.Placeholder,{icon:s,label:u,instructions:r?Object(ke.sprintf)(Object(ke.__)("Choose an existing %s or create a new one."),u.toLowerCase()):Object(ke.sprintf)(Object(ke.__)("Create a new %s."),u.toLowerCase())},a?Object(je.createElement)(_e.Dropdown,{contentClassName:"wp-block-template-part__placeholder-preview-dropdown-content",position:"bottom right left",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(je.createElement)(je.Fragment,null,r&&Object(je.createElement)(_e.Button,{variant:"primary",onClick:n,"aria-expanded":t},Object(ke.__)("Choose existing")),Object(je.createElement)(_e.Button,{variant:r?"tertiary":"primary",onClick:()=>i(Fb)},Object(ke.sprintf)(Object(ke.__)("New %s"),u.toLowerCase())))},renderContent:e=>{let{onClose:n}=e;return Object(je.createElement)(Lb,{setAttributes:o,onClose:n,area:t})}}):Object(je.createElement)(_e.Spinner,null)),c===Fb&&Object(je.createElement)(Vb,{area:t,areaLabel:u,areaIcon:s,onCreate:m,clientId:n,resetPlaceholder:()=>i(Ab)}))}function Gb(e){let{tagName:t,setAttributes:n,isEntityAvailable:o,templatePartId:r,defaultWrapper:a}=e;const[l,c]=Object(It.useEntityProp)("postType","wp_template_part","area",r),[i,s]=Object(It.useEntityProp)("postType","wp_template_part","title",r),{areaOptions:u}=Object(Pe.useSelect)(e=>({areaOptions:e("core/editor").__experimentalGetDefaultTemplatePartAreas().map(e=>{let{label:t,area:n}=e;return{label:t,value:n}})}),[]);return Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"advanced"},o&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Title"),value:i,onChange:e=>{s(e)},onFocus:e=>e.target.select()}),Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Area"),labelPosition:"top",options:u,value:l,onChange:c})),Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("HTML element"),options:[{label:Object(ke.sprintf)(Object(ke.__)("Default based on area (%s)"),`<${a}>`),value:""},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"},{label:"<div>",value:"div"}],value:t||"",onChange:e=>n({tagName:e})}))}function Ub(e){let{postId:t,hasInnerBlocks:n,layout:o,tagName:r,blockProps:a,clientId:l}=e;const c=Object(Pe.useSelect)(e=>{var t;const{getSettings:n}=e(we.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout},[]),i=Object(we.useSetting)("layout")||{},s=o&&o.inherit?i:o,[u,m,d]=Object(It.useEntityBlockEditor)("postType","wp_template_part",{id:t}),b=Object(we.useInnerBlocksProps)(a,{value:u,onInput:m,onChange:d,renderAppender:n?void 0:we.InnerBlocks.ButtonBlockAppender,__experimentalLayout:c?s:void 0});return Object(je.createElement)(we.__experimentalBlockContentOverlay,{clientId:l,tagName:r,wrapperProps:b})}var qb=n("G8mJ"),Wb=n("//kF"),$b=n("rvQu");const Zb=[{name:"header",icon:qb.a,title:Object(ke.__)("Header"),description:Object(ke.__)("The Header template defines a page area that typically contains a title, logo, and main navigation."),attributes:{area:"header"},scope:["inserter"]},{name:"footer",icon:Wb.a,title:Object(ke.__)("Footer"),description:Object(ke.__)("The Footer template defines a page area that typically contains site credits, social links, or any other combination of blocks."),attributes:{area:"footer"},scope:["inserter"]}];Zb.forEach(e=>{e.isActive||(e.isActive=(e,t)=>{const{area:n,theme:o,slug:r}=e;if(n)return n===t.area;if(!r)return!1;const a=Object(Pe.select)(It.store).getEntityRecord("postType","wp_template_part",`${o}//${r}`);return(null==a?void 0:a.area)===t.area})});var Kb=Zb;const Jb={apiVersion:2,name:"core/template-part",title:"Template Part",category:"theme",description:"Edit the different global regions of your site, like the header, footer, sidebar, or create your own.",textdomain:"default",attributes:{slug:{type:"string"},theme:{type:"string"},tagName:{type:"string"},area:{type:"string"}},supports:{align:!0,html:!1,reusable:!1},editorStyle:"wp-block-template-part-editor"},{name:Qb}=Jb,Yb={icon:Bb.a,__experimentalLabel:e=>{var t;let{slug:n,theme:o}=e;if(!n)return;const r=Object(Pe.select)(It.store).getEntityRecord("postType","wp_template_part",o+"//"+n);return r?Object(Me.startCase)((null===(t=r.title)||void 0===t?void 0:t.rendered)||r.slug):void 0},edit:function(e){let{attributes:t,setAttributes:n,clientId:o}=e;const{slug:r,theme:a,tagName:l,layout:c={}}=t,i=sc(a,r),[s,u]=Object(we.__experimentalUseNoRecursiveRenders)(i),{isResolved:m,innerBlocks:d,isMissing:b,defaultWrapper:p,area:g,enableSelection:h,hasResolvedReplacements:v}=Object(Pe.useSelect)(e=>{var n;const{getEditedEntityRecord:r,getEntityRecords:a,hasFinishedResolution:l}=e(It.store),{getBlocks:c}=e(we.store),s=["postType","wp_template_part",i],u=i?r(...s):null,m=(null==u?void 0:u.area)||t.area,d=["postType","wp_template_part",m&&"uncategorized"!==m&&{area:m}],b=a(...d),p=i?(null==b?void 0:b.length)>1:(null==b?void 0:b.length)>0,g=!!i&&l("getEditedEntityRecord",s),h=null===(n=e("core/editor").__experimentalGetDefaultTemplatePartAreas().find(e=>{let{area:t}=e;return t===m}))||void 0===n?void 0:n.area_tag;return{innerBlocks:c(o),isResolved:g,isMissing:g&&Object(Me.isEmpty)(u),defaultWrapper:h||"div",area:m,enableSelection:p,hasResolvedReplacements:l("getEntityRecords",d)}},[i,o]),O=Object(we.useBlockProps)(),j=!r,y=!j&&!b&&m,f=l||p;return 0===d.length&&(r&&!a||r&&b)?Object(je.createElement)(f,O,Object(je.createElement)(we.Warning,null,Object(ke.sprintf)(Object(ke.__)("Template part has been deleted or is unavailable: %s"),r))):y&&s?Object(je.createElement)(f,O,Object(je.createElement)(we.Warning,null,Object(ke.__)("Block cannot be rendered inside itself."))):Object(je.createElement)(u,null,Object(je.createElement)(Gb,{tagName:l,setAttributes:n,isEntityAvailable:y,templatePartId:i,defaultWrapper:p}),j&&Object(je.createElement)(f,O,Object(je.createElement)(Db,{area:t.area,clientId:o,setAttributes:n,enableSelection:h,hasResolvedReplacements:v})),y&&h&&Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,{className:"wp-block-template-part__block-control-group"},Object(je.createElement)(_e.Dropdown,{className:"wp-block-template-part__preview-dropdown-button",contentClassName:"wp-block-template-part__preview-dropdown-content",position:"bottom right left",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(je.createElement)(_e.ToolbarButton,{"aria-expanded":t,onClick:n},Object(ke.__)("Replace"))},renderContent:e=>{let{onClose:t}=e;return Object(je.createElement)(Lb,{setAttributes:n,onClose:t,area:g,templatePartId:i})}}))),y&&Object(je.createElement)(Ub,{clientId:o,tagName:f,blockProps:O,postId:i,hasInnerBlocks:d.length>0,layout:c}),!j&&!m&&Object(je.createElement)(f,O,Object(je.createElement)(_e.Spinner,null)))}};Object(Lr.addFilter)("blocks.registerBlockType","core/template-part",(function(e,t){if("core/template-part"!==t)return e;if(!e.variations||!e.variations.length)return{...e,variations:Kb};if(e.variations){const t=(e,t)=>{const{area:n,theme:o,slug:r}=e;if(n)return n===t.area;if(!r)return!1;const a=Object(Pe.select)(It.store).getEntityRecord("postType","wp_template_part",`${o}//${r}`);return(null==a?void 0:a.area)===t.area},n=e.variations.map(e=>{return{...e,...!e.isActive&&{isActive:t},..."string"==typeof e.icon&&{icon:(n=e.icon,"header"===n?qb.a:"footer"===n?Wb.a:"sidebar"===n?$b.a:Bb.a)}};var n});return{...e,variations:n}}return e}));const Xb=["core/post-template","core/post-content"];Object(Lr.addFilter)("blockEditor.__unstableCanInsertBlockType","removeTemplatePartsFromPostTemplates",(e,t,n,o)=>{let{getBlock:r,getBlockParentsByBlockName:a}=o;if("core/template-part"!==t.name)return e;for(const e of Xb){var l;if((null===(l=r(n))||void 0===l?void 0:l.name)===e||a(n,e).length)return!1}return!0});var ep=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M9 19.25h6M4 19.25h4M12 15.25h8M4 15.25h7"}),Object(je.createElement)(ye.Path,{d:"M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",fill:"#1E1E1E"}));const tp={apiVersion:2,name:"core/term-description",title:"Term Description",category:"theme",description:"Display the description of categories, tags and custom taxonomies when viewing an archive.",textdomain:"default",attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalDefaultControls:{fontSize:!0}}},editorStyle:"wp-block-term-description-editor"},{name:np}=tp,op={icon:ep,edit:function(e){let{attributes:t,setAttributes:n,mergedStyle:o}=e;const{textAlign:r}=t,a=Object(we.useBlockProps)({className:tt()({["has-text-align-"+r]:r}),style:o});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.AlignmentControl,{value:r,onChange:e=>{n({textAlign:e})}})),Object(je.createElement)("div",a,Object(je.createElement)("div",{className:"wp-block-term-description__placeholder"},Object(je.createElement)("span",null,Object(ke.__)("Term Description")))))}};var rp=n("NMb1"),ap=n.n(rp);var lp={to:[{type:"block",blocks:["core/columns"],transform:e=>{let{className:t,columns:n,content:o,width:r}=e;return Object(Oe.createBlock)("core/columns",{align:"wide"===r||"full"===r?r:void 0,className:t,columns:n},o.map(e=>{let{children:t}=e;return Object(Oe.createBlock)("core/column",{},[Object(Oe.createBlock)("core/paragraph",{content:t})])}))}}]};const cp={apiVersion:2,name:"core/text-columns",title:"Text Columns (deprecated)",icon:"columns",category:"design",description:"This block is deprecated. Please use the Columns block instead.",textdomain:"default",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},supports:{inserter:!1},editorStyle:"wp-block-text-columns-editor",style:"wp-block-text-columns"},{name:ip}=cp,sp={transforms:lp,getEditWrapperProps(e){const{width:t}=e;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){let{attributes:t,setAttributes:n}=e;const{width:o,content:r,columns:a}=t;return ap()("The Text Columns block",{since:"5.3",alternative:"the Columns block"}),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(we.BlockAlignmentToolbar,{value:o,onChange:e=>n({width:e}),controls:["center","wide","full"]})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,null,Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Columns"),value:a,onChange:e=>n({columns:e}),min:2,max:4,required:!0}))),Object(je.createElement)("div",Object(we.useBlockProps)({className:`align${o} columns-${a}`}),Object(Me.times)(a,e=>Object(je.createElement)("div",{className:"wp-block-column",key:"column-"+e},Object(je.createElement)(we.RichText,{tagName:"p",value:Object(Me.get)(r,[e,"children"]),onChange:t=>{n({content:[...r.slice(0,e),{children:t},...r.slice(e+1)]})},"aria-label":Object(ke.sprintf)(Object(ke.__)("Column %d text"),e+1),placeholder:Object(ke.__)("New Column")})))))},save:function(e){let{attributes:t}=e;const{width:n,content:o,columns:r}=t;return Object(je.createElement)("div",we.useBlockProps.save({className:`align${n} columns-${r}`}),Object(Me.times)(r,e=>Object(je.createElement)("div",{className:"wp-block-column",key:"column-"+e},Object(je.createElement)(we.RichText.Content,{tagName:"p",value:Object(Me.get)(o,[e,"children"])}))))}};var up=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"}));var mp=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0,__experimentalRole:"content"},textAlign:{type:"string"}},supports:{anchor:!0,color:{gradients:!0,link:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},spacing:{padding:!0}},save(e){let{attributes:t}=e;const{textAlign:n,content:o}=t,r=tt()({["has-text-align-"+n]:n});return Object(je.createElement)("pre",we.useBlockProps.save({className:r}),Object(je.createElement)(we.RichText.Content,{value:o}))},migrate:at,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}},{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save(e){let{attributes:t}=e;const{textAlign:n,content:o}=t;return Object(je.createElement)(we.RichText.Content,{tagName:"pre",style:{textAlign:n},value:o})}}];var dp={from:[{type:"block",blocks:["core/paragraph"],transform:e=>Object(Oe.createBlock)("core/verse",e)}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>Object(Oe.createBlock)("core/paragraph",e)}]};const bp={apiVersion:2,name:"core/verse",title:"Verse",category:"text",description:"Insert poetry. Use special spacing formats. Or quote song lyrics.",keywords:["poetry","poem"],textdomain:"default",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0,__experimentalRole:"content"},textAlign:{type:"string"}},supports:{anchor:!0,color:{gradients:!0,link:!0},typography:{fontSize:!0,__experimentalFontFamily:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}},spacing:{padding:!0}},style:"wp-block-verse",editorStyle:"wp-block-verse-editor"},{name:pp}=bp,gp={icon:up,example:{attributes:{content:Object(ke.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n    With the dragon-fly on the river.")}},transforms:dp,deprecated:mp,merge:(e,t)=>({content:e.content+t.content}),edit:function(e){let{attributes:t,setAttributes:n,mergeBlocks:o,onRemove:r,style:a}=e;const{textAlign:l,content:c}=t,i=Object(we.useBlockProps)({className:tt()({["has-text-align-"+l]:l}),style:a});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(we.AlignmentToolbar,{value:l,onChange:e=>{n({textAlign:e})}})),Object(je.createElement)(we.RichText,Object(mt.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:c,onChange:e=>{n({content:e})},"aria-label":Object(ke.__)("Verse text"),placeholder:Object(ke.__)("Write verse…"),onRemove:r,onMerge:o,textAlign:l},i,{__unstablePastePlainText:!0})))},save:function(e){let{attributes:t}=e;const{textAlign:n,content:o}=t,r=tt()({["has-text-align-"+n]:n});return Object(je.createElement)("pre",we.useBlockProps.save({className:r}),Object(je.createElement)(we.RichText.Content,{value:o}))}};var hp=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.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"}));const vp=[{value:"auto",label:Object(ke.__)("Auto")},{value:"metadata",label:Object(ke.__)("Metadata")},{value:"none",label:Object(ke._x)("None","Preload value")}];var Op=e=>{let{setAttributes:t,attributes:n}=e;const{autoplay:o,controls:r,loop:a,muted:l,playsInline:c,preload:i}=n,s=Object(ke.__)("Autoplay may cause usability issues for some users."),u=je.Platform.select({web:Object(je.useCallback)(e=>e?s:null,[]),native:s}),m=Object(je.useMemo)(()=>{const e=e=>n=>{t({[e]:n})};return{autoplay:e("autoplay"),loop:e("loop"),muted:e("muted"),controls:e("controls"),playsInline:e("playsInline")}},[]),d=Object(je.useCallback)(e=>{t({preload:e})},[]);return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Autoplay"),onChange:m.autoplay,checked:o,help:u}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Loop"),onChange:m.loop,checked:a}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Muted"),onChange:m.muted,checked:l}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Playback controls"),onChange:m.controls,checked:r}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Play inline"),onChange:m.playsInline,checked:c}),Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Preload"),value:i,onChange:d,options:vp,hideCancelButton:!0}))},jp=n("rH4q");const yp=["text/vtt"],fp="subtitles",_p=[{label:Object(ke.__)("Subtitles"),value:"subtitles"},{label:Object(ke.__)("Captions"),value:"captions"},{label:Object(ke.__)("Descriptions"),value:"descriptions"},{label:Object(ke.__)("Chapters"),value:"chapters"},{label:Object(ke.__)("Metadata"),value:"metadata"}],kp=Object(je.createElement)(_e.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},Object(je.createElement)(_e.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),Object(je.createElement)(_e.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),Object(je.createElement)(_e.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"}));function Ep(e){let t,{tracks:n,onEditPress:o}=e;return t=0===n.length?Object(je.createElement)("p",{className:"block-library-video-tracks-editor__tracks-informative-message"},Object(ke.__)("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.")):n.map((e,t)=>Object(je.createElement)("div",{key:t,className:"block-library-video-tracks-editor__track-list-track"},Object(je.createElement)("span",null,e.label," "),Object(je.createElement)(_e.Button,{variant:"tertiary",onClick:()=>o(t),"aria-label":Object(ke.sprintf)(Object(ke.__)("Edit %s"),e.label)},Object(ke.__)("Edit")))),Object(je.createElement)(_e.MenuGroup,{label:Object(ke.__)("Text tracks"),className:"block-library-video-tracks-editor__track-list"},t)}function Cp(e){let{track:t,onChange:n,onClose:o,onRemove:r}=e;const{src:a="",label:l="",srcLang:c="",kind:i=fp}=t,s=a.startsWith("blob:")?"":Object(Jo.getFilename)(a)||"";return Object(je.createElement)(_e.NavigableMenu,null,Object(je.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor"},Object(je.createElement)("span",{className:"block-library-video-tracks-editor__single-track-editor-edit-track-label"},Object(ke.__)("Edit track")),Object(je.createElement)("span",null,Object(ke.__)("File"),": ",Object(je.createElement)("b",null,s)),Object(je.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-label-language"},Object(je.createElement)(_e.TextControl,{autoFocus:!0,onChange:e=>n({...t,label:e}),label:Object(ke.__)("Label"),value:l,help:Object(ke.__)("Title of track")}),Object(je.createElement)(_e.TextControl,{onChange:e=>n({...t,srcLang:e}),label:Object(ke.__)("Source language"),value:c,help:Object(ke.__)("Language tag (en, fr, etc.)")})),Object(je.createElement)(_e.SelectControl,{className:"block-library-video-tracks-editor__single-track-editor-kind-select",options:_p,value:i,label:Object(ke.__)("Kind"),onChange:e=>{n({...t,kind:e})}}),Object(je.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-buttons-container"},Object(je.createElement)(_e.Button,{variant:"secondary",onClick:()=>{const e={};let r=!1;""===l&&(e.label=Object(ke.__)("English"),r=!0),""===c&&(e.srcLang="en",r=!0),void 0===t.kind&&(e.kind=fp,r=!0),r&&n({...t,...e}),o()}},Object(ke.__)("Close")),Object(je.createElement)(_e.Button,{isDestructive:!0,variant:"link",onClick:r},Object(ke.__)("Remove track")))))}function xp(e){let{tracks:t=[],onChange:n}=e;const o=Object(Pe.useSelect)(e=>e(we.store).getSettings().mediaUpload,[]),[r,a]=Object(je.useState)(null);return o?Object(je.createElement)(_e.Dropdown,{contentClassName:"block-library-video-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(je.createElement)(_e.ToolbarButton,{label:Object(ke.__)("Text tracks"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:kp})},renderContent:e=>{let{}=e;return null!==r?Object(je.createElement)(Cp,{track:t[r],onChange:e=>{const o=[...t];o[r]=e,n(o)},onClose:()=>a(null),onRemove:()=>{n(t.filter((e,t)=>t!==r)),a(null)}}):Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.NavigableMenu,null,Object(je.createElement)(Ep,{tracks:t,onEditPress:a}),Object(je.createElement)(_e.MenuGroup,{className:"block-library-video-tracks-editor__add-tracks-container",label:Object(ke.__)("Add tracks")},Object(je.createElement)(we.MediaUpload,{onSelect:e=>{let{url:o}=e;const r=t.length;n([...t,{src:o}]),a(r)},allowedTypes:yp,render:e=>{let{open:t}=e;return Object(je.createElement)(_e.MenuItem,{icon:jp.a,onClick:t},Object(ke.__)("Open Media Library"))}}),Object(je.createElement)(we.MediaUploadCheck,null,Object(je.createElement)(_e.FormFileUpload,{onChange:e=>{const r=e.target.files,l=t.length;o({allowedTypes:yp,filesList:r,onFileChange:e=>{let[{url:o}]=e;const r=[...t];r[l]||(r[l]={}),r[l]={...t[l],src:o},n(r),a(l)}})},accept:".vtt,text/vtt",render:e=>{let{openFileDialog:t}=e;return Object(je.createElement)(_e.MenuItem,{icon:xa.a,onClick:()=>{t()}},Object(ke.__)("Upload"))}})))))}}):null}function Sp(e){let{tracks:t=[]}=e;return t.map(e=>Object(je.createElement)("track",Object(mt.a)({key:e.src},e)))}const Bp=["video"],Tp=["image"];var Np=Object(_e.withNotices)((function e(t){let{isSelected:n,noticeUI:o,attributes:r,className:a,setAttributes:l,insertBlocksAfter:c,onReplace:i,noticeOperations:s}=t;const u=Object(nt.useInstanceId)(e),m=Object(je.useRef)(),d=Object(je.useRef)(),{id:b,caption:p,controls:g,poster:h,src:v,tracks:O}=r,j=!b&&Object(ze.isBlobURL)(v),y=Object(Pe.useSelect)(e=>e(we.store).getSettings().mediaUpload);function f(e){var t,n;e&&e.url?l({src:e.url,id:e.id,poster:(null===(t=e.image)||void 0===t?void 0:t.src)!==e.icon?null===(n=e.image)||void 0===n?void 0:n.src:void 0}):l({src:void 0,id:void 0,poster:void 0})}function _(e){if(e!==v){const t=Ge({attributes:{url:e}});if(void 0!==t)return void i(t);l({src:e,id:void 0,poster:void 0})}}function k(e){s.removeAllNotices(),s.createErrorNotice(e)}Object(je.useEffect)(()=>{if(!b&&Object(ze.isBlobURL)(v)){const e=Object(ze.getBlobByURL)(v);e&&y({filesList:[e],onFileChange:e=>{let[{url:t}]=e;l({src:t})},onError:e=>{s.createErrorNotice(e)},allowedTypes:Bp})}},[]),Object(je.useEffect)(()=>{m.current&&m.current.load()},[h]);const w=tt()(a,{"is-transient":j}),E=Object(we.useBlockProps)({className:w});if(!v)return Object(je.createElement)("div",E,Object(je.createElement)(we.MediaPlaceholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:hp}),onSelect:f,onSelectURL:_,accept:"video/*",allowedTypes:Bp,value:r,notices:o,onError:k}));const C="video-block__poster-image-description-"+u;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(xp,{tracks:O,onChange:e=>{l({tracks:e})}})),Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:b,mediaURL:v,allowedTypes:Bp,accept:"video/*",onSelect:f,onSelectURL:_,onError:k})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Video settings")},Object(je.createElement)(Op,{setAttributes:l,attributes:r}),Object(je.createElement)(we.MediaUploadCheck,null,Object(je.createElement)(_e.BaseControl,{className:"editor-video-poster-control"},Object(je.createElement)(_e.BaseControl.VisualLabel,null,Object(ke.__)("Poster image")),Object(je.createElement)(we.MediaUpload,{title:Object(ke.__)("Select poster image"),onSelect:function(e){l({poster:e.url})},allowedTypes:Tp,render:e=>{let{open:t}=e;return Object(je.createElement)(_e.Button,{variant:"primary",onClick:t,ref:d,"aria-describedby":C},h?Object(ke.__)("Replace"):Object(ke.__)("Select"))}}),Object(je.createElement)("p",{id:C,hidden:!0},h?Object(ke.sprintf)(Object(ke.__)("The current poster image url is %s"),h):Object(ke.__)("There is no poster image currently selected")),!!h&&Object(je.createElement)(_e.Button,{onClick:function(){l({poster:void 0}),d.current.focus()},variant:"tertiary"},Object(ke.__)("Remove")))))),Object(je.createElement)("figure",E,Object(je.createElement)(_e.Disabled,{isDisabled:!n},Object(je.createElement)("video",{controls:g,poster:h,src:v,ref:m},Object(je.createElement)(Sp,{tracks:O}))),j&&Object(je.createElement)(_e.Spinner,null),(!we.RichText.isEmpty(p)||n)&&Object(je.createElement)(we.RichText,{tagName:"figcaption","aria-label":Object(ke.__)("Video caption text"),placeholder:Object(ke.__)("Add caption"),value:p,onChange:e=>l({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>c(Object(Oe.createBlock)("core/paragraph"))})))}));var zp={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("video/"),transform(e){const t=e[0];return Object(Oe.createBlock)("core/video",{src:Object(ze.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:e=>{let{named:{src:t,mp4:n,m4v:o,webm:r,ogv:a,flv:l}}=e;return t||n||o||r||a||l}},poster:{type:"string",shortcode:e=>{let{named:{poster:t}}=e;return t}},loop:{type:"string",shortcode:e=>{let{named:{loop:t}}=e;return t}},autoplay:{type:"string",shortcode:e=>{let{named:{autoplay:t}}=e;return t}},preload:{type:"string",shortcode:e=>{let{named:{preload:t}}=e;return t}}}}]};const Pp={apiVersion:2,name:"core/video",title:"Video",category:"media",description:"Embed a video from your media library or upload a new one.",keywords:["movie"],textdomain:"default",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"},tracks:{type:"array",items:{type:"object"},default:[]}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-video-editor",style:"wp-block-video"},{name:Ip}=Pp,Mp={icon:hp,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm",caption:Object(ke.__)("Wood thrush singing in Central Park, NYC.")}},transforms:zp,edit:Np,save:function(e){let{attributes:t}=e;const{autoplay:n,caption:o,controls:r,loop:a,muted:l,poster:c,preload:i,src:s,playsInline:u,tracks:m}=t;return Object(je.createElement)("figure",we.useBlockProps.save(),s&&Object(je.createElement)("video",{autoPlay:n,controls:r,loop:a,muted:l,poster:c,preload:"metadata"!==i?i:void 0,src:s,playsInline:u},Object(je.createElement)(Sp,{tracks:m})),!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:o}))}},Rp=e=>{if(!e)return;const{metadata:t,settings:n,name:o}=e;Object(Oe.registerBlockType)({name:o,...t},n)},Lp=()=>[I,y,O,h,k,X,o,r,a,l,c,i,window.wp&&window.wp.oldEditor?s:null,u,m,d,b,p,g,v,j,f,_,E,C,x,N,P,z,q,W,ee,te,ne,oe,re,ie,se,ue,me,de,ge,he,ve,S,B,T,ae,ce,le,$,be,U,H,A,L,M,V,G,F,D,Z,K,J,Q,R,w,pe,Y],Vp=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lp();e.forEach(Rp),Object(Oe.setDefaultBlockName)(Wi),window.wp&&window.wp.oldEditor&&Object(Oe.setFreeformContentHandlerName)(Zt),Object(Oe.setUnregisteredTypeHandlerName)(Gl),Object(Oe.setGroupingBlockName)(Jr)},Hp=void 0},K9lf:function(e,t){e.exports=window.wp.compose},KEfo:function(e,t){e.exports=window.wp.viewport},Mmq9:function(e,t){e.exports=window.wp.url},Mp0b:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},NMb1:function(e,t){e.exports=window.wp.deprecated},NTP4:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},OE6V:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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-17.6 1L10 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=a},OzlF:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},RMJe:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,n){var o;
+*/!function(){"use strict";var o=function(){function e(){}function t(e,t){for(var n=t.length,o=0;o<n;++o)r(e,t[o])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var o=/\s+/;function r(e,r){if(r){var a=typeof r;"string"===a?function(e,t){for(var n=t.split(o),r=n.length,a=0;a<r;++a)e[n[a]]=!0}(e,r):Array.isArray(r)?t(e,r):"object"===a?function(e,t){if(t.toString===Object.prototype.toString)for(var o in t)n.call(t,o)&&(e[o]=!!t[o]);else e[t.toString()]=!0}(e,r):"number"===a&&function(e,t){e[t]=!0}(e,r)}}return function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];var a=new e;t(a,o);var l=[];for(var i in a)a[i]&&l.push(i);return l.join(" ")}}();e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},4403:function(e,t){var n;
 /*!
   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<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var l=r.apply(null,o);l&&e.push(l)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var c in o)n.call(o,c)&&o[c]&&e.push(c);else e.push(o.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},UuzZ:function(e,t){e.exports=window.wp.autop},YLtl:function(e,t){e.exports=window.lodash},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 a={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var r,l,c=o[this.toHex()];if(c)return c;if(null==t?void 0:t.closest){var i=this.toRgb(),s=1/0,u="black";if(!a.length)for(var m in n)a[m]=new e(n[m]).toRgb();for(var d in n){var b=(r=i,l=a[d],Math.pow(r.r-l.r,2)+Math.pow(r.g-l.g,2)+Math.pow(r.b-l.b,2));b<s&&(s=b,u=d)}return u}},t.string.push([function(t){var o=t.toLowerCase(),r="transparent"===o?"#0000":n[o];return r?new e(r).toRgb():null},"name"])}},axFQ:function(e,t){e.exports=window.wp.blockEditor},b2RC:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",fillRule:"evenodd",clipRule:"evenodd"}));t.a=a},bWcr:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=a},btIw:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},cGtP:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},diJD:function(e,t){e.exports=window.wp.reusableBlocks},fHnH:function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return N}));var o={grad:.9,turn:360,rad:360/(2*Math.PI)},r=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},a=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},c=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},i=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:a(e.r),g:a(e.g),b:a(e.b),a:a(e.a,3)}},u=/^#([0-9a-f]{3,8})$/i,m=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},d=function(e){var t=e.r,n=e.g,o=e.b,r=e.a,a=Math.max(t,n,o),l=a-Math.min(t,n,o),c=l?a===t?(n-o)/l:a===n?2+(o-t)/l:4+(t-n)/l:0;return{h:60*(c<0?c+6:c),s:a?l/a*100:0,v:a/255*100,a:r}},b=function(e){var t=e.h,n=e.s,o=e.v,r=e.a;t=t/360*6,n/=100,o/=100;var a=Math.floor(t),l=o*(1-n),c=o*(1-(t-a)*n),i=o*(1-(1-t+a)*n),s=a%6;return{r:255*[o,c,l,l,i,o][s],g:255*[i,o,o,c,l,l][s],b:255*[l,l,i,o,o,c][s],a:r}},p=function(e){return{h:c(e.h),s:l(e.s,0,100),l:l(e.l,0,100),a:l(e.a)}},g=function(e){return{h:a(e.h),s:a(e.s),l:a(e.l),a:a(e.a,3)}},h=function(e){return b((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},v=function(e){return{h:(t=d(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,j=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,f=/^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?a(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?a(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=y.exec(e)||f.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:i({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)||j.exec(e);if(!t)return null;var n,r,a=p({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(a)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,o=e.b,a=e.a,l=void 0===a?1:a;return r(t)&&r(n)&&r(o)?i({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,a=e.a,l=void 0===a?1:a;if(!r(t)||!r(n)||!r(o))return null;var c=p({h:Number(t),s:Number(n),l:Number(o),a:Number(l)});return h(c)},"hsl"],[function(e){var t=e.h,n=e.s,o=e.v,a=e.a,i=void 0===a?1:a;if(!r(t)||!r(n)||!r(o))return null;var s=function(e){return{h:c(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(i)});return b(s)},"hsv"]]},k=function(e,t){for(var n=0;n<t.length;n++){var o=t[n][0](e);if(o)return[o,t[n][1]]}return[null,void 0]},w=function(e){return"string"==typeof e?k(e.trim(),_.string):"object"==typeof e&&null!==e?k(e,_.object):[null,void 0]},E=function(e,t){var n=v(e);return{h:n.h,s:l(n.s+100*t,0,100),l:n.l,a:n.a}},C=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},x=function(e,t){var n=v(e);return{h:n.h,s:n.s,l:l(n.l+100*t,0,100),a:n.a}},S=function(){function e(e){this.parsed=w(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return a(C(this.rgba),2)},e.prototype.isDark=function(){return C(this.rgba)<.5},e.prototype.isLight=function(){return C(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=s(this.rgba)).r,n=e.g,o=e.b,l=(r=e.a)<1?m(a(255*r)):"","#"+m(t)+m(n)+m(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 g(v(this.rgba))},e.prototype.toHslString=function(){return t=(e=g(v(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=d(this.rgba),{h:a(e.h),s:a(e.s),v:a(e.v),a:a(e.a,3)};var e},e.prototype.invert=function(){return B({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),B(E(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),B(E(this.rgba,-e))},e.prototype.grayscale=function(){return B(E(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),B(x(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),B(x(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?B({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):a(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=v(this.rgba);return"number"==typeof e?B({h:e,s:t.s,l:t.l,a:t.a}):a(t.h)},e.prototype.isEqual=function(e){return this.toHex()===B(e).toHex()},e}(),B=function(e){return e instanceof S?e:new S(e)},T=[],N=function(e){e.forEach((function(e){T.indexOf(e)<0&&(e(S,_),T.push(e))}))}},fPbg:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},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 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})}},jZUy:function(e,t){e.exports=window.wp.coreData},l3Sj:function(e,t){e.exports=window.wp.i18n},mi6C:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));t.a=a},oMoS:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"}));t.a=a},onLe:function(e,t){e.exports=window.wp.notices},plpT:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},qRz9:function(e,t){e.exports=window.wp.richText},rH4q:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},rmEH:function(e,t){e.exports=window.wp.htmlEntities},rvQu:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},"tI+e":function(e,t){e.exports=window.wp.components},u6za:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));t.a=a},w95h:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a},wx14:function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return o}))},wy2R:function(e,t){e.exports=window.moment},xTGt:function(e,t){e.exports=window.wp.blob},ziDm:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=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=a}});
\ No newline at end of file
+*/!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var l=r.apply(null,n);l&&e.push(l)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var i in n)o.call(n,i)&&n[i]&&e.push(i);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},5027:function(e){
+/*! Fast Average Color | © 2019 Denis Seleznev | MIT License | https://github.com/hcodes/fast-average-color/ */
+e.exports=function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function n(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}function o(e,t){return r(e)||a(e,t)||l()}function r(e){if(Array.isArray(e))return e}function a(e,t){var n=[],o=!0,r=!1,a=void 0;try{for(var l,i=e[Symbol.iterator]();!(o=(l=i.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(r)throw a}}return n}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}return function(){function t(){e(this,t)}return n(t,[{key:"getColorAsync",value:function(e,t,n){e.complete?t.call(e,this.getColor(e,n),n&&n.data):this._bindImageEvents(e,t,n)}},{key:"getColor",value:function(e,t){t=t||{};var n=this._getDefaultColor(t),o=this._getOriginalSize(e),r=this._prepareSizeAndPosition(o,t),a=null,l=n;if(!(r.srcWidth&&r.srcHeight&&r.destWidth&&r.destHeight))return this._prepareResult(n,new Error("FastAverageColor: Incorrect sizes."));if(!this._ctx&&(this._canvas=this._makeCanvas(),this._ctx=this._canvas.getContext&&this._canvas.getContext("2d"),!this._ctx))return this._prepareResult(n,new Error("FastAverageColor: Canvas Context 2D is not supported in this browser."));this._canvas.width=r.destWidth,this._canvas.height=r.destHeight;try{this._ctx.clearRect(0,0,r.destWidth,r.destHeight),this._ctx.drawImage(e,r.srcLeft,r.srcTop,r.srcWidth,r.srcHeight,0,0,r.destWidth,r.destHeight);var i=this._ctx.getImageData(0,0,r.destWidth,r.destHeight).data;l=this.getColorFromArray4(i,t)}catch(e){a=e}return this._prepareResult(l,a)}},{key:"getColorFromArray4",value:function(e,t){t=t||{};var n=4,o=e.length;if(o<n)return this._getDefaultColor(t);var r=o-o%n,a=(t.step||1)*n,l="_"+(t.algorithm||"sqrt")+"Algorithm";if("function"!=typeof this[l])throw new Error("FastAverageColor: ".concat(t.algorithm," is unknown algorithm."));return this[l](e,r,a)}},{key:"destroy",value:function(){delete this._canvas,delete this._ctx}},{key:"_getDefaultColor",value:function(e){return this._getOption(e,"defaultColor",[255,255,255,255])}},{key:"_getOption",value:function(e,t,n){return void 0===e[t]?n:e[t]}},{key:"_prepareSizeAndPosition",value:function(e,t){var n=this._getOption(t,"left",0),o=this._getOption(t,"top",0),r=this._getOption(t,"width",e.width),a=this._getOption(t,"height",e.height),l=r,i=a;if("precision"===t.mode)return{srcLeft:n,srcTop:o,srcWidth:r,srcHeight:a,destWidth:l,destHeight:i};var s,c=100,u=10;return r>a?(s=r/a,l=c,i=Math.round(l/s)):(s=a/r,i=c,l=Math.round(i/s)),(l>r||i>a||l<u||i<u)&&(l=r,i=a),{srcLeft:n,srcTop:o,srcWidth:r,srcHeight:a,destWidth:l,destHeight:i}}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,l=0,i=0,s=0;s<t;s+=n){var c=e[s+3];o+=e[s]*c,r+=e[s+1]*c,a+=e[s+2]*c,l+=c,i++}return l?[Math.round(o/l),Math.round(r/l),Math.round(a/l),Math.round(l/i)]:[0,0,0,0]}},{key:"_sqrtAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,l=0,i=0,s=0;s<t;s+=n){var c=e[s],u=e[s+1],m=e[s+2],d=e[s+3];o+=c*c*d,r+=u*u*d,a+=m*m*d,l+=d,i++}return l?[Math.round(Math.sqrt(o/l)),Math.round(Math.sqrt(r/l)),Math.round(Math.sqrt(a/l)),Math.round(l/i)]:[0,0,0,0]}},{key:"_dominantAlgorithm",value:function(e,t,n){for(var r={},a=24,l=0;l<t;l+=n){var i=e[l],s=e[l+1],c=e[l+2],u=e[l+3],m=Math.round(i/a)+","+Math.round(s/a)+","+Math.round(c/a);r[m]?r[m]=[r[m][0]+i*u,r[m][1]+s*u,r[m][2]+c*u,r[m][3]+u,r[m][4]+1]:r[m]=[i*u,s*u,c*u,u,1]}var d=Object.keys(r).map((function(e){return r[e]})).sort((function(e,t){var n=e[4],o=t[4];return n>o?-1:n===o?0:1})),p=o(d[0],5),g=p[0],h=p[1],v=p[2],b=p[3],y=p[4];return b?[Math.round(g/b),Math.round(h/b),Math.round(v/b),Math.round(b/y)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var o=this,r=(n=n||{})&&n.data,a=this._getDefaultColor(n),l=function(){c(),t.call(e,o.getColor(e,n),r)},i=function(){c(),t.call(e,o._prepareResult(a,new Error("Image error")),r)},s=function(){c(),t.call(e,o._prepareResult(a,new Error("Image abort")),r)},c=function(){e.removeEventListener("load",l),e.removeEventListener("error",i),e.removeEventListener("abort",s)};e.addEventListener("load",l),e.addEventListener("error",i),e.addEventListener("abort",s)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),o=[].concat(n,e[3]/255),r=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+o.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:r,isLight:!r}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}]),t}()}()},9756:function(e){e.exports=function(e,t){var n,o,r=0;function a(){var a,l,i=n,s=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(l=0;l<s;l++)if(i.args[l]!==arguments[l]){i=i.next;continue e}return i!==n&&(i===o&&(o=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=n,i.prev=null,n.prev=i,n=i),i.val}i=i.next}for(a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return i={args:a,val:e.apply(null,a)},n?(n.prev=i,i.next=n):o=i,r===t.maxSize?(o=o.prev).next=null:r++,n=i,i.val}return t=t||{},a.clear=function(){n=null,o=null,r=0},a}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){"use strict";n.r(o),n.d(o,{__experimentalGetCoreBlocks:function(){return Tv},__experimentalRegisterExperimentalCoreBlocks:function(){return zv},registerCoreBlocks:function(){return Nv}});var e={};n.r(e),n.d(e,{metadata:function(){return Se},name:function(){return Be},settings:function(){return Te}});var t={};n.r(t),n.d(t,{metadata:function(){return Je},name:function(){return Ye},settings:function(){return Xe}});var r={};n.r(r),n.d(r,{metadata:function(){return kt},name:function(){return wt},settings:function(){return Et}});var a={};n.r(a),n.d(a,{metadata:function(){return Rt},name:function(){return Lt},settings:function(){return Vt}});var l={};n.r(l),n.d(l,{metadata:function(){return Ut},name:function(){return Ot},settings:function(){return qt}});var i={};n.r(i),n.d(i,{metadata:function(){return jt},name:function(){return Zt},settings:function(){return Kt}});var s={};n.r(s),n.d(s,{metadata:function(){return Xt},name:function(){return en},settings:function(){return tn}});var c={};n.r(c),n.d(c,{metadata:function(){return ln},name:function(){return sn},settings:function(){return cn}});var u={};n.r(u),n.d(u,{metadata:function(){return gn},name:function(){return hn},settings:function(){return vn}});var m={};n.r(m),n.d(m,{metadata:function(){return Mn},name:function(){return Rn},settings:function(){return Ln}});var d={};n.r(d),n.d(d,{metadata:function(){return Uo},name:function(){return Oo},settings:function(){return qo}});var p={};n.r(p),n.d(p,{metadata:function(){return Sr},name:function(){return Br},settings:function(){return Tr}});var g={};n.r(g),n.d(g,{metadata:function(){return Or},name:function(){return qr},settings:function(){return $r}});var h={};n.r(h),n.d(h,{metadata:function(){return Ja},name:function(){return Ya},settings:function(){return Xa}});var v={};n.r(v),n.d(v,{metadata:function(){return sl},name:function(){return cl},settings:function(){return ul}});var b={};n.r(b),n.d(b,{metadata:function(){return Pl},name:function(){return Il},settings:function(){return Ml}});var y={};n.r(y),n.d(y,{metadata:function(){return Vl},name:function(){return Hl},settings:function(){return Al}});var f={};n.r(f),n.d(f,{metadata:function(){return Xl},name:function(){return ei},settings:function(){return ti}});var _={};n.r(_),n.d(_,{metadata:function(){return oi},name:function(){return ri},settings:function(){return ai}});var k={};n.r(k),n.d(k,{metadata:function(){return gi},name:function(){return hi},settings:function(){return vi}});var w={};n.r(w),n.d(w,{metadata:function(){return Pi},name:function(){return Ii},settings:function(){return Mi}});var E={};n.r(E),n.d(E,{metadata:function(){return Li},name:function(){return Vi},settings:function(){return Hi}});var C={};n.r(C),n.d(C,{metadata:function(){return os},name:function(){return rs},settings:function(){return as}});var x={};n.r(x),n.d(x,{metadata:function(){return cs},name:function(){return us},settings:function(){return ms}});var S={};n.r(S),n.d(S,{metadata:function(){return hs},name:function(){return vs},settings:function(){return bs}});var B={};n.r(B),n.d(B,{metadata:function(){return sc},name:function(){return cc},settings:function(){return uc}});var T={};n.r(T),n.d(T,{metadata:function(){return Sc},name:function(){return Bc},settings:function(){return Tc}});var N={};n.r(N),n.d(N,{metadata:function(){return Ac},name:function(){return Fc},settings:function(){return Dc}});var z={};n.r(z),n.d(z,{metadata:function(){return Oc},name:function(){return qc},settings:function(){return $c}});var P={};n.r(P),n.d(P,{metadata:function(){return jc},name:function(){return Zc},settings:function(){return Kc}});var I={};n.r(I),n.d(I,{metadata:function(){return ou},name:function(){return ru},settings:function(){return au}});var M={};n.r(M),n.d(M,{metadata:function(){return yu},name:function(){return fu},settings:function(){return _u}});var R={};n.r(R),n.d(R,{metadata:function(){return Eu},name:function(){return Cu},settings:function(){return xu}});var L={};n.r(L),n.d(L,{metadata:function(){return Tu},name:function(){return Nu},settings:function(){return zu}});var V={};n.r(V),n.d(V,{metadata:function(){return Au},name:function(){return Fu},settings:function(){return Du}});var H={};n.r(H),n.d(H,{metadata:function(){return Ou},name:function(){return qu},settings:function(){return $u}});var A={};n.r(A),n.d(A,{metadata:function(){return ju},name:function(){return Zu},settings:function(){return Ku}});var F={};n.r(F),n.d(F,{metadata:function(){return am},name:function(){return lm},settings:function(){return im}});var D={};n.r(D),n.d(D,{metadata:function(){return dm},name:function(){return pm},settings:function(){return gm}});var G={};n.r(G),n.d(G,{metadata:function(){return fm},name:function(){return _m},settings:function(){return km}});var U={};n.r(U),n.d(U,{metadata:function(){return xm},name:function(){return Sm},settings:function(){return Bm}});var O={};n.r(O),n.d(O,{metadata:function(){return Nm},name:function(){return zm},settings:function(){return Pm}});var q={};n.r(q),n.d(q,{metadata:function(){return Lm},name:function(){return Vm},settings:function(){return Hm}});var $={};n.r($),n.d($,{metadata:function(){return jm},name:function(){return Zm},settings:function(){return Km}});var W={};n.r(W),n.d(W,{metadata:function(){return bd},name:function(){return yd},settings:function(){return fd}});var j={};n.r(j),n.d(j,{metadata:function(){return Cd},name:function(){return xd},settings:function(){return Sd}});var Z={};n.r(Z),n.d(Z,{metadata:function(){return Nd},name:function(){return zd},settings:function(){return Pd}});var K={};n.r(K),n.d(K,{metadata:function(){return Rd},name:function(){return Ld},settings:function(){return Vd}});var Q={};n.r(Q),n.d(Q,{metadata:function(){return Fd},name:function(){return Dd},settings:function(){return Gd}});var J={};n.r(J),n.d(J,{metadata:function(){return jd},name:function(){return Zd},settings:function(){return Kd}});var Y={};n.r(Y),n.d(Y,{metadata:function(){return op},name:function(){return rp},settings:function(){return ap}});var X={};n.r(X),n.d(X,{metadata:function(){return cp},name:function(){return up},settings:function(){return mp}});var ee={};n.r(ee),n.d(ee,{metadata:function(){return pp},name:function(){return gp},settings:function(){return hp}});var te={};n.r(te),n.d(te,{metadata:function(){return Cp},name:function(){return xp},settings:function(){return Sp}});var ne={};n.r(ne),n.d(ne,{metadata:function(){return Pp},name:function(){return Ip},settings:function(){return Mp}});var oe={};n.r(oe),n.d(oe,{metadata:function(){return Hp},name:function(){return Ap},settings:function(){return Fp}});var re={};n.r(re),n.d(re,{metadata:function(){return qp},name:function(){return $p},settings:function(){return Wp}});var ae={};n.r(ae),n.d(ae,{metadata:function(){return Kp},name:function(){return Qp},settings:function(){return Jp}});var le={};n.r(le),n.d(le,{metadata:function(){return ng},name:function(){return og},settings:function(){return rg}});var ie={};n.r(ie),n.d(ie,{metadata:function(){return dg},name:function(){return pg},settings:function(){return gg}});var se={};n.r(se),n.d(se,{metadata:function(){return kg},name:function(){return wg},settings:function(){return Eg}});var ce={};n.r(ce),n.d(ce,{metadata:function(){return Ig},name:function(){return Mg},settings:function(){return Rg}});var ue={};n.r(ue),n.d(ue,{metadata:function(){return ch},name:function(){return uh},settings:function(){return mh}});var me={};n.r(me),n.d(me,{metadata:function(){return ph},name:function(){return gh},settings:function(){return hh}});var de={};n.r(de),n.d(de,{metadata:function(){return Hh},name:function(){return Ah},settings:function(){return Fh}});var pe={};n.r(pe),n.d(pe,{metadata:function(){return Uh},name:function(){return Oh},settings:function(){return qh}});var ge={};n.r(ge),n.d(ge,{metadata:function(){return Kh},name:function(){return Qh},settings:function(){return Jh}});var he={};n.r(he),n.d(he,{metadata:function(){return rv},name:function(){return av},settings:function(){return lv}});var ve={};n.r(ve),n.d(ve,{metadata:function(){return Cv},name:function(){return xv},settings:function(){return Sv}});var be=window.wp.blocks,ye=window.wp.element,fe=window.wp.primitives;var _e=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"})),ke=window.wp.components,we=window.wp.i18n,Ee=window.wp.blockEditor,Ce=window.wp.serverSideRender,xe=n.n(Ce);const Se={apiVersion:2,name:"core/archives",title:"Archives",category:"widgets",description:"Display a monthly archive of your posts.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-archives-editor"},{name:Be}=Se,Te={icon:_e,example:{},edit:function(e){let{attributes:t,setAttributes:n}=e;const{showPostCounts:o,displayAsDropdown:r}=t;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Archives settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display as dropdown"),checked:r,onChange:()=>n({displayAsDropdown:!r})}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show post counts"),checked:o,onChange:()=>n({showPostCounts:!o})}))),(0,ye.createElement)("div",(0,Ee.useBlockProps)(),(0,ye.createElement)(ke.Disabled,null,(0,ye.createElement)(xe(),{block:"core/archives",attributes:t}))))}};var Ne=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})),ze=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save(e){let{attributes:t}=e;const{autoplay:n,caption:o,loop:r,preload:a,src:l}=t;return(0,ye.createElement)("figure",null,(0,ye.createElement)("audio",{controls:"controls",src:l,autoPlay:n,loop:r,preload:a}),!Ee.RichText.isEmpty(o)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:o}))}}],Pe=window.wp.blob,Ie=window.wp.data;const Me=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],Re="wp-embed";var Le=window.lodash,Ve=n(3827),He=n.n(Ve),Ae=n(9756),Fe=n.n(Ae);const{name:De}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"},Ge=e=>{var t;return null===(t=(0,be.getBlockVariations)(De))||void 0===t?void 0:t.find((t=>{let{patterns:n}=t;return function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some((t=>e.match(t)))}(e,n)}))},Ue=e=>e&&e.includes('class="wp-embedded-content"'),Oe=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{preview:o,attributes:r={}}=e,{url:a,providerNameSlug:l,type:i,...s}=r;if(!a||!(0,be.getBlockType)(De))return;const c=Ge(a),u="wordpress"===l||i===Re,m=!u&&c&&(c.attributes.providerNameSlug!==l||!l);if(m)return(0,be.createBlock)(De,{url:a,...s,...c.attributes});const d=null===(t=(0,be.getBlockVariations)(De))||void 0===t?void 0:t.find((e=>{let{name:t}=e;return"wordpress"===t}));return d&&o&&Ue(o.html)&&!u?(0,be.createBlock)(De,{url:a,...d.attributes,...n}):void 0},qe=e=>{if(!e)return e;const t=Me.reduce(((e,t)=>{let{className:n}=t;return e[n]=!1,e}),{"wp-has-aspect-ratio":!1});return He()(e,t)};function $e(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return qe(t);const o=document.implementation.createHTMLDocument("");o.body.innerHTML=e;const r=o.body.querySelector("iframe");if(r&&r.height&&r.width){const e=(r.width/r.height).toFixed(2);for(let n=0;n<Me.length;n++){const o=Me[n];if(e>=o.ratio){return e-o.ratio>.1?qe(t):He()(qe(t),o.className,"wp-has-aspect-ratio")}}}return t}const We=Fe()((function(e,t,n,o){let r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};const a={};let{type:l="rich"}=e;const{html:i,provider_name:s}=e,c=(0,Le.kebabCase)((s||t).toLowerCase());return Ue(i)&&(l=Re),(i||"photo"===l)&&(a.type=l,a.providerNameSlug=c),a.className=$e(i,n,o&&r),a})),je=["audio"];var Ze=(0,ke.withNotices)((function(e){let{attributes:t,noticeOperations:n,setAttributes:o,onReplace:r,isSelected:a,noticeUI:l,insertBlocksAfter:i}=e;const{id:s,autoplay:c,caption:u,loop:m,preload:d,src:p}=t,g=(0,Ee.useBlockProps)(),h=(0,Ie.useSelect)((e=>{const{getSettings:t}=e(Ee.store);return t().mediaUpload}),[]);function v(e){return t=>{o({[e]:t})}}function b(e){if(e!==p){const t=Oe({attributes:{url:e}});if(void 0!==t)return void r(t);o({src:e,id:void 0})}}function y(e){n.removeAllNotices(),n.createErrorNotice(e)}function f(e){e&&e.url?o({src:e.url,id:e.id}):o({src:void 0,id:void 0})}return(0,ye.useEffect)((()=>{if(!s&&(0,Pe.isBlobURL)(p)){const e=(0,Pe.getBlobByURL)(p);e&&h({filesList:[e],onFileChange:e=>{let[{id:t,url:n}]=e;o({id:t,src:n})},onError:e=>{o({src:void 0,id:void 0}),n.createErrorNotice(e)},allowedTypes:je})}}),[]),p?(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(Ee.MediaReplaceFlow,{mediaId:s,mediaURL:p,allowedTypes:je,accept:"audio/*",onSelect:f,onSelectURL:b,onError:y})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Audio settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Autoplay"),onChange:v("autoplay"),checked:c,help:function(e){return e?(0,we.__)("Autoplay may cause usability issues for some users."):null}}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Loop"),onChange:v("loop"),checked:m}),(0,ye.createElement)(ke.SelectControl,{label:(0,we._x)("Preload","noun; Audio block parameter"),value:d||"",onChange:e=>o({preload:e||void 0}),options:[{value:"",label:(0,we.__)("Browser default")},{value:"auto",label:(0,we.__)("Auto")},{value:"metadata",label:(0,we.__)("Metadata")},{value:"none",label:(0,we._x)("None",'"Preload" value')}]}))),(0,ye.createElement)("figure",g,(0,ye.createElement)(ke.Disabled,{isDisabled:!a},(0,ye.createElement)("audio",{controls:"controls",src:p})),(!Ee.RichText.isEmpty(u)||a)&&(0,ye.createElement)(Ee.RichText,{tagName:"figcaption","aria-label":(0,we.__)("Audio caption text"),placeholder:(0,we.__)("Add caption"),value:u,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>i((0,be.createBlock)("core/paragraph"))}))):(0,ye.createElement)("div",g,(0,ye.createElement)(Ee.MediaPlaceholder,{icon:(0,ye.createElement)(Ee.BlockIcon,{icon:Ne}),onSelect:f,onSelectURL:b,accept:"audio/*",allowedTypes:je,value:t,notices:l,onError:y}))}));const Ke={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("audio/"),transform(e){const t=e[0];return(0,be.createBlock)("core/audio",{src:(0,Pe.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:e=>{let{named:{src:t,mp3:n,m4a:o,ogg:r,wav:a,wma:l}}=e;return t||n||o||r||a||l}},loop:{type:"string",shortcode:e=>{let{named:{loop:t}}=e;return t}},autoplay:{type:"string",shortcode:e=>{let{named:{autoplay:t}}=e;return t}},preload:{type:"string",shortcode:e=>{let{named:{preload:t}}=e;return t}}}}]};var Qe=Ke;const Je={apiVersion:2,name:"core/audio",title:"Audio",category:"media",description:"Embed a simple audio player.",keywords:["music","sound","podcast","recording"],textdomain:"default",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"},{name:Ye}=Je,Xe={icon:Ne,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"}},transforms:Qe,deprecated:ze,edit:Ze,save:function(e){let{attributes:t}=e;const{autoplay:n,caption:o,loop:r,preload:a,src:l}=t;return l&&(0,ye.createElement)("figure",Ee.useBlockProps.save(),(0,ye.createElement)("audio",{controls:"controls",src:l,autoPlay:n,loop:r,preload:a}),!Ee.RichText.isEmpty(o)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:o}))}};var et=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"})),tt=n(4403),nt=n.n(tt),ot=window.wp.compose;const rt=e=>{if(!(0,Le.isObject)(e)||Array.isArray(e))return e;const t=(0,Le.pickBy)((0,Le.mapValues)(e,rt),Le.identity);return(0,Le.isEmpty)(t)?void 0:t};var at=rt;function lt(e){var t,n;if(null==e||null===(t=e.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.fontFamily)return e;const o=(0,Le.cloneDeep)(e),r=o.style.typography.fontFamily.split("|").pop();return delete o.style.typography.fontFamily,o.style=at(o.style),{...o,fontFamily:r}}const it=e=>{var t,n,o;const{borderRadius:r,...a}=e,l=[r,null===(t=a.style)||void 0===t||null===(n=t.border)||void 0===n?void 0:n.radius].find((e=>"number"==typeof e&&0!==e));return l?{...a,style:{...a.style,border:{...null===(o=a.style)||void 0===o?void 0:o.border,radius:`${l}px`}}}:a},st=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customGradient)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customGradient&&(t.color.gradient=e.customGradient),{...(0,Le.omit)(e,["customTextColor","customBackgroundColor","customGradient"]),style:t}},ct=e=>st((0,Le.omit)({...e,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0},["color","textColor"])),ut={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"}},mt={attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:".wp-block-button__link"},save(e){var t,n;let{attributes:o,className:r}=e;const{fontSize:a,linkTarget:l,rel:i,style:s,text:c,title:u,url:m,width:d}=o;if(!c)return null;const p=(0,Ee.__experimentalGetBorderClassesAndStyles)(o),g=(0,Ee.__experimentalGetColorClassesAndStyles)(o),h=(0,Ee.__experimentalGetSpacingClassesAndStyles)(o),v=nt()("wp-block-button__link",g.className,p.className,{"no-border-radius":0===(null==s||null===(t=s.border)||void 0===t?void 0:t.radius)}),b={...p.style,...g.style,...h.style},y=nt()(r,{[`has-custom-width wp-block-button__width-${d}`]:d,"has-custom-font-size":a||(null==s||null===(n=s.typography)||void 0===n?void 0:n.fontSize)});return(0,ye.createElement)("div",Ee.useBlockProps.save({className:y}),(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:v,href:m,title:u,style:b,value:c,target:l,rel:i}))},migrate:lt,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}},dt=[mt,{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...ut,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},isEligible(e){var t;let{style:n}=e;return"number"==typeof(null==n||null===(t=n.border)||void 0===t?void 0:t.radius)},save(e){var t,n,o;let{attributes:r,className:a}=e;const{fontSize:l,linkTarget:i,rel:s,style:c,text:u,title:m,url:d,width:p}=r;if(!u)return null;const g=null==c||null===(t=c.border)||void 0===t?void 0:t.radius,h=(0,Ee.__experimentalGetColorClassesAndStyles)(r),v=nt()("wp-block-button__link",h.className,{"no-border-radius":0===(null==c||null===(n=c.border)||void 0===n?void 0:n.radius)}),b={borderRadius:g||void 0,...h.style},y=nt()(a,{[`has-custom-width wp-block-button__width-${p}`]:p,"has-custom-font-size":l||(null==c||null===(o=c.typography)||void 0===o?void 0:o.fontSize)});return(0,ye.createElement)("div",Ee.useBlockProps.save({className:y}),(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:v,href:d,title:m,style:b,value:u,target:i,rel:s}))},migrate:(0,ot.compose)(lt,it)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...ut,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save(e){let{attributes:t,className:n}=e;const{borderRadius:o,linkTarget:r,rel:a,text:l,title:i,url:s,width:c}=t,u=(0,Ee.__experimentalGetColorClassesAndStyles)(t),m=nt()("wp-block-button__link",u.className,{"no-border-radius":0===o}),d={borderRadius:o?o+"px":void 0,...u.style},p=nt()(n,{[`has-custom-width wp-block-button__width-${c}`]:c});return(0,ye.createElement)("div",Ee.useBlockProps.save({className:p}),(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:m,href:s,title:i,style:d,value:l,target:r,rel:a}))},migrate:(0,ot.compose)(lt,it)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...ut,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save(e){let{attributes:t,className:n}=e;const{borderRadius:o,linkTarget:r,rel:a,text:l,title:i,url:s,width:c}=t,u=(0,Ee.__experimentalGetColorClassesAndStyles)(t),m=nt()("wp-block-button__link",u.className,{"no-border-radius":0===o}),d={borderRadius:o?o+"px":void 0,...u.style},p=nt()(n,{[`has-custom-width wp-block-button__width-${c}`]:c});return(0,ye.createElement)("div",Ee.useBlockProps.save({className:p}),(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:m,href:s,title:i,style:d,value:l,target:r,rel:a}))},migrate:(0,ot.compose)(lt,it)},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...ut,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},save(e){let{attributes:t}=e;const{borderRadius:n,linkTarget:o,rel:r,text:a,title:l,url:i}=t,s=nt()("wp-block-button__link",{"no-border-radius":0===n}),c={borderRadius:n?n+"px":void 0};return(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:s,href:i,title:l,style:c,value:a,target:o,rel:r})},migrate:it},{supports:{align:!0,alignWide:!1},attributes:{...ut,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},customGradient:{type:"string"},gradient:{type:"string"}},isEligible:e=>!!e.customTextColor||!!e.customBackgroundColor||!!e.customGradient,migrate:(0,ot.compose)(it,st),save(e){let{attributes:t}=e;const{backgroundColor:n,borderRadius:o,customBackgroundColor:r,customTextColor:a,customGradient:l,linkTarget:i,gradient:s,rel:c,text:u,textColor:m,title:d,url:p}=t,g=(0,Ee.getColorClassName)("color",m),h=!l&&(0,Ee.getColorClassName)("background-color",n),v=(0,Ee.__experimentalGetGradientClass)(s),b=nt()("wp-block-button__link",{"has-text-color":m||a,[g]:g,"has-background":n||r||l||s,[h]:h,"no-border-radius":0===o,[v]:v}),y={background:l||void 0,backgroundColor:h||l||s?void 0:r,color:g?void 0:a,borderRadius:o?o+"px":void 0};return(0,ye.createElement)("div",null,(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:b,href:p,title:d,style:y,value:u,target:i,rel:c}))}},{attributes:{...ut,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}},isEligible:e=>e.className&&e.className.includes("is-style-squared"),migrate(e){let t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),it(st({...e,className:t||void 0,borderRadius:0}))},save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,customTextColor:r,linkTarget:a,rel:l,text:i,textColor:s,title:c,url:u}=t,m=(0,Ee.getColorClassName)("color",s),d=(0,Ee.getColorClassName)("background-color",n),p=nt()("wp-block-button__link",{"has-text-color":s||r,[m]:m,"has-background":n||o,[d]:d}),g={backgroundColor:d?void 0:o,color:m?void 0:r};return(0,ye.createElement)("div",null,(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:p,href:u,title:c,style:g,value:i,target:a,rel:l}))}},{attributes:{...ut,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},migrate:ct,save(e){let{attributes:t}=e;const{url:n,text:o,title:r,backgroundColor:a,textColor:l,customBackgroundColor:i,customTextColor:s}=t,c=(0,Ee.getColorClassName)("color",l),u=(0,Ee.getColorClassName)("background-color",a),m=nt()("wp-block-button__link",{"has-text-color":l||s,[c]:c,"has-background":a||i,[u]:u}),d={backgroundColor:u?void 0:i,color:c?void 0:s};return(0,ye.createElement)("div",null,(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:m,href:n,title:r,style:d,value:o}))}},{attributes:{...ut,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save(e){let{attributes:t}=e;const{url:n,text:o,title:r,align:a,color:l,textColor:i}=t,s={backgroundColor:l,color:i};return(0,ye.createElement)("div",{className:`align${a}`},(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:r,style:s,value:o}))},migrate:ct},{attributes:{...ut,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save(e){let{attributes:t}=e;const{url:n,text:o,title:r,align:a,color:l,textColor:i}=t;return(0,ye.createElement)("div",{className:`align${a}`,style:{backgroundColor:l}},(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",href:n,title:r,style:{color:i},value:o}))},migrate:ct}];var pt=dt;function gt(){return gt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},gt.apply(this,arguments)}var ht=window.wp.keycodes;var vt=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.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"}));var bt=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.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"}));const yt="noreferrer noopener";function ft(e){let{selectedWidth:t,setAttributes:n}=e;return(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Width settings")},(0,ye.createElement)(ke.ButtonGroup,{"aria-label":(0,we.__)("Button width")},[25,50,75,100].map((e=>(0,ye.createElement)(ke.Button,{key:e,isSmall:!0,variant:e===t?"primary":void 0,onClick:()=>{var o;n({width:t===(o=e)?void 0:o})}},e,"%")))))}var _t=function(e){var t;const{attributes:n,setAttributes:o,className:r,isSelected:a,onReplace:l,mergeBlocks:i}=e,{linkTarget:s,placeholder:c,rel:u,style:m,text:d,url:p,width:g}=n,h=(0,ye.useCallback)((e=>{o({rel:e})}),[o]),v=(0,Ee.__experimentalUseBorderProps)(n),b=(0,Ee.__experimentalUseColorProps)(n),y=(0,Ee.__experimentalGetSpacingClassesAndStyles)(n),f=(0,ye.useRef)(),_=(0,ye.useRef)(),k=(0,Ee.useBlockProps)({ref:f,onKeyDown:function(e){if(ht.isKeyboardEvent.primary(e,"k"))S(e);else if(ht.isKeyboardEvent.primaryShift(e,"k")){var t;B(),null===(t=_.current)||void 0===t||t.focus()}}}),[w,E]=(0,ye.useState)(!1),C=!!p,x="_blank"===s;function S(e){e.preventDefault(),E(!0)}function B(){o({url:void 0,linkTarget:void 0,rel:void 0}),E(!1)}return(0,ye.useEffect)((()=>{a||E(!1)}),[a]),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)("div",gt({},k,{className:nt()(k.className,{[`has-custom-width wp-block-button__width-${g}`]:g,"has-custom-font-size":k.style.fontSize})}),(0,ye.createElement)(Ee.RichText,{ref:_,"aria-label":(0,we.__)("Button text"),placeholder:c||(0,we.__)("Add text…"),value:d,onChange:e=>{o({text:e.replace(/<\/?a[^>]*>/g,"")})},withoutInteractiveFormatting:!0,className:nt()(r,"wp-block-button__link",b.className,v.className,{"no-border-radius":0===(null==m||null===(t=m.border)||void 0===t?void 0:t.radius)}),style:{...v.style,...b.style,...y.style},onSplit:e=>(0,be.createBlock)("core/button",{...n,text:e}),onReplace:l,onMerge:i,identifier:"text"})),(0,ye.createElement)(Ee.BlockControls,{group:"block"},!C&&(0,ye.createElement)(ke.ToolbarButton,{name:"link",icon:vt,title:(0,we.__)("Link"),shortcut:ht.displayShortcut.primary("k"),onClick:S}),C&&(0,ye.createElement)(ke.ToolbarButton,{name:"link",icon:bt,title:(0,we.__)("Unlink"),shortcut:ht.displayShortcut.primaryShift("k"),onClick:B,isActive:!0})),a&&(w||C)&&(0,ye.createElement)(ke.Popover,{position:"bottom center",onClose:()=>{var e;E(!1),null===(e=_.current)||void 0===e||e.focus()},anchorRef:null==f?void 0:f.current,focusOnMount:!!w&&"firstElement"},(0,ye.createElement)(Ee.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:p,opensInNewTab:x},onChange:e=>{let{url:t="",opensInNewTab:n}=e;o({url:t}),x!==n&&function(e){const t=e?"_blank":void 0;let n=u;t&&!u?n=yt:t||u!==yt||(n=void 0),o({linkTarget:t,rel:n})}(n)},onRemove:()=>{var e;B(),null===(e=_.current)||void 0===e||e.focus()},forceIsEditingLink:w})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ft,{selectedWidth:g,setAttributes:o})),(0,ye.createElement)(Ee.InspectorControls,{__experimentalGroup:"advanced"},(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Link rel"),value:u||"",onChange:h})))};const kt={apiVersion:2,name:"core/button",title:"Button",category:"design",parent:["core/buttons"],description:"Prompt visitors to take action with a button-style link.",keywords:["link"],textdomain:"default",attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:".wp-block-button__link"},styles:[{name:"fill",label:"Fill",isDefault:!0},{name:"outline",label:"Outline"}],editorStyle:"wp-block-button-editor",style:"wp-block-button"},{name:wt}=kt,Et={icon:et,example:{attributes:{className:"is-style-fill",text:(0,we.__)("Call to Action")}},edit:_t,save:function(e){var t,n;let{attributes:o,className:r}=e;const{fontSize:a,linkTarget:l,rel:i,style:s,text:c,title:u,url:m,width:d}=o;if(!c)return null;const p=(0,Ee.__experimentalGetBorderClassesAndStyles)(o),g=(0,Ee.__experimentalGetColorClassesAndStyles)(o),h=(0,Ee.__experimentalGetSpacingClassesAndStyles)(o),v=nt()("wp-block-button__link",g.className,p.className,{"no-border-radius":0===(null==s||null===(t=s.border)||void 0===t?void 0:t.radius)}),b={...p.style,...g.style,...h.style},y=nt()(r,{[`has-custom-width wp-block-button__width-${d}`]:d,"has-custom-font-size":a||(null==s||null===(n=s.typography)||void 0===n?void 0:n.fontSize)});return(0,ye.createElement)("div",Ee.useBlockProps.save({className:y}),(0,ye.createElement)(Ee.RichText.Content,{tagName:"a",className:v,href:m,title:u,style:b,value:c,target:l,rel:i}))},deprecated:pt,merge:(e,t)=>{let{text:n=""}=t;return{...e,text:(e.text||"")+n}}};var Ct=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M17 3H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5V6.2h-5v1.6zM17 13H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5v-1.5h-5v1.5z"}));const xt=e=>{if(e.layout)return e;const{contentJustification:t,orientation:n,...o}=e;return(t||n)&&Object.assign(o,{layout:{type:"flex",...t&&{justifyContent:t},...n&&{orientation:n}}}),o},St=[{attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}}},isEligible:e=>{let{contentJustification:t,orientation:n}=e;return!!t||!!n},migrate:xt,save(e){let{attributes:{contentJustification:t,orientation:n}}=e;return(0,ye.createElement)("div",Ee.useBlockProps.save({className:nt()({[`is-content-justification-${t}`]:t,"is-vertical":"vertical"===n})}),(0,ye.createElement)(Ee.InnerBlocks.Content,null))}},{supports:{align:["center","left","right"],anchor:!0},save:()=>(0,ye.createElement)("div",null,(0,ye.createElement)(Ee.InnerBlocks.Content,null)),isEligible(e){let{align:t}=e;return t&&["center","left","right"].includes(t)},migrate:e=>xt({...e,align:void 0,contentJustification:e.align})}];var Bt=St,Tt=window.wp.richText;const{name:Nt}={apiVersion:2,name:"core/buttons",title:"Buttons",category:"design",description:"Prompt visitors to take action with a group of button-style links.",keywords:["link"],textdomain:"default",supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"},zt={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:e=>(0,be.createBlock)(Nt,{},e.map((e=>(0,be.createBlock)("core/button",e))))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>(0,be.createBlock)(Nt,{},e.map((e=>{const t=(0,Tt.__unstableCreateElement)(document,e.content),n=t.innerText||"",o=t.querySelector("a"),r=null==o?void 0:o.getAttribute("href");return(0,be.createBlock)("core/button",{text:n,url:r})}))),isMatch:e=>e.every((e=>{const t=(0,Tt.__unstableCreateElement)(document,e.content),n=t.innerText||"",o=t.querySelectorAll("a");return n.length<=30&&o.length<=1}))}]};var Pt=zt;const It=[wt];var Mt=function(e){let{attributes:{layout:t={}}}=e;const n=(0,Ee.useBlockProps)(),o=(0,Ie.useSelect)((e=>{var t;const n=e(Ee.store).getSettings().__experimentalPreferredStyleVariations;return null==n||null===(t=n.value)||void 0===t?void 0:t[wt]}),[]),r=(0,Ee.useInnerBlocksProps)(n,{allowedBlocks:It,template:[[wt,{className:o&&`is-style-${o}`}]],__experimentalLayout:t,templateInsertUpdatesSelection:!0});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)("div",r))};const Rt={apiVersion:2,name:"core/buttons",title:"Buttons",category:"design",description:"Prompt visitors to take action with a group of button-style links.",keywords:["link"],textdomain:"default",supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"},{name:Lt}=Rt,Vt={icon:Ct,example:{innerBlocks:[{name:"core/button",attributes:{text:(0,we.__)("Find out more")}},{name:"core/button",attributes:{text:(0,we.__)("Contact us")}}]},deprecated:Bt,transforms:Pt,edit:Mt,save:function(){const e=Ee.useInnerBlocksProps.save(Ee.useBlockProps.save());return(0,ye.createElement)("div",e)}};var Ht=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),At=window.moment,Ft=n.n(At),Dt=window.wp.coreData;const Gt=Fe()((e=>{if(!e)return{};const t=Ft()(e);return{year:t.year(),month:t.month()+1}}));const Ut={apiVersion:2,name:"core/calendar",title:"Calendar",category:"widgets",description:"A calendar of your site’s posts.",keywords:["posts","archive"],textdomain:"default",attributes:{month:{type:"integer"},year:{type:"integer"}},supports:{align:!0},style:"wp-block-calendar"},{name:Ot}=Ut,qt={icon:Ht,example:{},edit:function(e){let{attributes:t}=e;const n=(0,Ee.useBlockProps)(),{date:o,hasPosts:r,hasPostsResolved:a}=(0,Ie.useSelect)((e=>{const{getEntityRecords:t,hasFinishedResolution:n}=e(Dt.store),o={status:"publish",per_page:1},r=t("postType","post",o),a=n("getEntityRecords",["postType","post",o]);let l;const i=e("core/editor");if(i){"post"===i.getEditedPostAttribute("type")&&(l=i.getEditedPostAttribute("date"))}return{date:l,hasPostsResolved:a,hasPosts:a&&1===(null==r?void 0:r.length)}}),[]);return r?(0,ye.createElement)("div",n,(0,ye.createElement)(ke.Disabled,null,(0,ye.createElement)(xe(),{block:"core/calendar",attributes:{...t,...Gt(o)}}))):(0,ye.createElement)("div",n,(0,ye.createElement)(ke.Placeholder,{icon:Ht,label:(0,we.__)("Calendar")},a?(0,we.__)("No published posts found."):(0,ye.createElement)(ke.Spinner,null)))}};var $t=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"}));var Wt=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ye.createElement)(fe.Path,{d:"M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z"}));const jt={apiVersion:2,name:"core/categories",title:"Categories",category:"widgets",description:"Display a list of all categories.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1},showOnlyTopLevel:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-categories-editor",style:"wp-block-categories"},{name:Zt}=jt,Kt={icon:$t,example:{},edit:function e(t){let{attributes:{displayAsDropdown:n,showHierarchy:o,showPostCounts:r,showOnlyTopLevel:a},setAttributes:l}=t;const i=(0,ot.useInstanceId)(e,"blocks-category-select"),{categories:s,isRequesting:c}=(0,Ie.useSelect)((e=>{const{getEntityRecords:t,isResolving:n}=e(Dt.store),o={per_page:-1,hide_empty:!0,context:"view"};return a&&(o.parent=0),{categories:t("taxonomy","category",o),isRequesting:n("getEntityRecords",["taxonomy","category",o])}}),[a]),u=e=>null!=s&&s.length?null===e?s:s.filter((t=>{let{parent:n}=t;return n===e})):[],m=e=>`wp-block-categories__list wp-block-categories__list-level-${e}`,d=e=>t=>l({[e]:t}),p=e=>e?(0,Le.unescape)(e).trim():(0,we.__)("(Untitled)"),g=(e,t)=>{const n=u(e.id),{id:a,link:l,count:i,name:s}=e;return(0,ye.createElement)("li",{key:a},(0,ye.createElement)("a",{href:l,target:"_blank",rel:"noreferrer noopener"},p(s)),r&&(0,ye.createElement)("span",{className:"wp-block-categories__post-count"},` (${i})`),o&&!!n.length&&(0,ye.createElement)("ul",{className:m(t+1)},n.map((e=>g(e,t+1)))))},h=(e,t)=>{const{id:n,count:a,name:l}=e,i=u(n);return[(0,ye.createElement)("option",{key:n},(0,Le.times)(3*t,(()=>" ")),p(l),r&&` (${a})`),o&&!!i.length&&i.map((e=>h(e,t+1)))]};return(0,ye.createElement)("div",(0,Ee.useBlockProps)(),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Categories settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display as dropdown"),checked:n,onChange:d("displayAsDropdown")}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show post counts"),checked:r,onChange:d("showPostCounts")}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show only top level categories"),checked:a,onChange:d("showOnlyTopLevel")}),!a&&(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show hierarchy"),checked:o,onChange:d("showHierarchy")}))),c&&(0,ye.createElement)(ke.Placeholder,{icon:Wt,label:(0,we.__)("Categories")},(0,ye.createElement)(ke.Spinner,null)),!c&&0===(null==s?void 0:s.length)&&(0,ye.createElement)("p",null,(0,we.__)("Your site does not have any posts, so there is nothing to display here at the moment.")),!c&&(null==s?void 0:s.length)>0&&(n?(()=>{const e=u(o?0:null);return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.VisuallyHidden,{as:"label",htmlFor:i},(0,we.__)("Categories")),(0,ye.createElement)("select",{id:i,className:"wp-block-categories__dropdown"},e.map((e=>h(e,0)))))})():(()=>{const e=u(o?0:null);return(0,ye.createElement)("ul",{className:m(0)},e.map((e=>g(e,0))))})()))}};var Qt=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"}));var Jt=e=>{let{clientId:t}=e;const{replaceBlocks:n}=(0,Ie.useDispatch)(Ee.store),o=(0,Ie.useSelect)((e=>e(Ee.store).getBlock(t)),[t]);return(0,ye.createElement)(ke.ToolbarButton,{onClick:()=>n(o.clientId,(0,be.rawHandler)({HTML:(0,be.serialize)(o)}))},(0,we.__)("Convert to blocks"))};const{wp:Yt}=window;const Xt={apiVersion:2,name:"core/freeform",title:"Classic",category:"text",description:"Use the classic WordPress editor.",textdomain:"default",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},editorStyle:"wp-block-freeform-editor"},{name:en}=Xt,tn={icon:Qt,edit:function(e){let{clientId:t,attributes:{content:n},setAttributes:o,onReplace:r}=e;const{getMultiSelectedBlockClientIds:a}=(0,Ie.useSelect)(Ee.store),l=(0,ye.useRef)(!1);return(0,ye.useEffect)((()=>{if(!l.current)return;const e=window.tinymce.get(`editor-${t}`);(null==e?void 0:e.getContent())!==n&&e.setContent(n||"")}),[n]),(0,ye.useEffect)((()=>{const{baseURL:e,suffix:i}=window.wpEditorL10n.tinymce;function s(e){let t;n&&e.on("loadContent",(()=>e.setContent(n))),e.on("blur",(()=>{var n;t=e.selection.getBookmark(2,!0);const r=document.querySelector(".interface-interface-skeleton__content"),l=r.scrollTop;return null!==(n=a())&&void 0!==n&&n.length||o({content:e.getContent()}),e.once("focus",(()=>{t&&(e.selection.moveToBookmark(t),r.scrollTop!==l&&(r.scrollTop=l))})),!1})),e.on("mousedown touchstart",(()=>{t=null}));const l=(0,Le.debounce)((()=>{const t=e.getContent();t!==e._lastChange&&(e._lastChange=t,o({content:t}))}),250);e.on("Paste Change input Undo Redo",l),e.on("remove",l.cancel),e.on("keydown",(t=>{ht.isKeyboardEvent.primary(t,"z")&&t.stopPropagation(),t.keyCode!==ht.BACKSPACE&&t.keyCode!==ht.DELETE||!function(e){const t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(r([]),t.preventDefault(),t.stopImmediatePropagation());const{altKey:n}=t;n&&t.keyCode===ht.F10&&t.stopPropagation()})),e.on("init",(()=>{const t=e.getBody();t.ownerDocument.activeElement===t&&(t.blur(),e.focus())}))}function c(){const{settings:e}=window.wpEditorL10n.tinymce;Yt.oldEditor.initialize(`editor-${t}`,{tinymce:{...e,inline:!0,content_css:!1,fixed_toolbar_container:`#toolbar-${t}`,setup:s}})}function u(){"complete"===document.readyState&&c()}return l.current=!0,window.tinymce.EditorManager.overrideDefaults({base_url:e,suffix:i}),"complete"===document.readyState?c():document.addEventListener("readystatechange",u),()=>{document.removeEventListener("readystatechange",u),Yt.oldEditor.remove(`editor-${t}`)}}),[]),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,null,(0,ye.createElement)(Jt,{clientId:t}))),(0,ye.createElement)("div",(0,Ee.useBlockProps)(),(0,ye.createElement)("div",{key:"toolbar",id:`toolbar-${t}`,className:"block-library-classic__toolbar",onClick:function(){const e=window.tinymce.get(`editor-${t}`);e&&e.focus()},"data-placeholder":(0,we.__)("Classic"),onKeyDown:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}}),(0,ye.createElement)("div",{key:"editor",id:`editor-${t}`,className:"wp-block-freeform block-library-rich-text__tinymce"})))},save:function(e){let{attributes:t}=e;const{content:n}=t;return(0,ye.createElement)(ye.RawHTML,null,n)}};var nn=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));function on(e){return e.replace(/\[/g,"&#91;")}function rn(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1&#47;&#47;$2")}var an={from:[{type:"enter",regExp:/^```$/,transform:()=>(0,be.createBlock)("core/code")},{type:"block",blocks:["core/html"],transform:e=>{let{content:t}=e;return(0,be.createBlock)("core/code",{content:t})}},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName,schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]};const ln={apiVersion:2,name:"core/code",title:"Code",category:"text",description:"Display code snippets that respect your spacing and tabs.",textdomain:"default",attributes:{content:{type:"string",source:"html",selector:"code"}},supports:{anchor:!0,__experimentalSelector:".wp-block-code > code",typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:["top","bottom"],padding:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{text:!0,background:!0,gradients:!0}},style:"wp-block-code"},{name:sn}=ln,cn={icon:nn,example:{attributes:{content:(0,we.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},transforms:an,edit:function(e){let{attributes:t,setAttributes:n,onRemove:o}=e;const r=(0,Ee.useBlockProps)();return(0,ye.createElement)("pre",r,(0,ye.createElement)(Ee.RichText,{tagName:"code",value:t.content,onChange:e=>n({content:e}),onRemove:o,placeholder:(0,we.__)("Write code…"),"aria-label":(0,we.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0}))},save:function(e){let{attributes:t}=e;return(0,ye.createElement)("pre",Ee.useBlockProps.save(),(0,ye.createElement)(Ee.RichText.Content,{tagName:"code",value:(n=t.content,(0,Le.flow)(on,rn)(n||""))}));var n}};var un=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"}));const mn=[{attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},isEligible(e){let{width:t}=e;return isFinite(t)},migrate:e=>({...e,width:`${e.width}%`}),save(e){let{attributes:t}=e;const{verticalAlignment:n,width:o}=t,r=nt()({[`is-vertically-aligned-${n}`]:n}),a={flexBasis:o+"%"};return(0,ye.createElement)("div",{className:r,style:a},(0,ye.createElement)(Ee.InnerBlocks.Content,null))}}];var dn=mn;var pn=function(e){let{attributes:{verticalAlignment:t,width:n,templateLock:o=!1,allowedBlocks:r},setAttributes:a,clientId:l}=e;const i=nt()("block-core-columns",{[`is-vertically-aligned-${t}`]:t}),s=(0,ke.__experimentalUseCustomUnits)({availableUnits:(0,Ee.useSetting)("spacing.units")||["%","px","em","rem","vw"]}),{columnsIds:c,hasChildBlocks:u,rootClientId:m}=(0,Ie.useSelect)((e=>{const{getBlockOrder:t,getBlockRootClientId:n}=e(Ee.store),o=n(l);return{hasChildBlocks:t(l).length>0,rootClientId:o,columnsIds:t(o)}}),[l]),{updateBlockAttributes:d}=(0,Ie.useDispatch)(Ee.store),p=Number.isFinite(n)?n+"%":n,g=(0,Ee.useBlockProps)({className:i,style:p?{flexBasis:p}:void 0}),h=c.length,v=c.indexOf(l)+1,b=(0,we.sprintf)((0,we.__)("%1$s (%2$d of %3$d)"),g["aria-label"],v,h),y=(0,Ee.useInnerBlocksProps)({...g,"aria-label":b},{templateLock:o,allowedBlocks:r,renderAppender:u?void 0:Ee.InnerBlocks.ButtonBlockAppender});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(Ee.BlockVerticalAlignmentToolbar,{onChange:e=>{a({verticalAlignment:e}),d(m,{verticalAlignment:null})},value:t})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Column settings")},(0,ye.createElement)(ke.__experimentalUnitControl,{label:(0,we.__)("Width"),labelPosition:"edge",__unstableInputWidth:"80px",value:n||"",onChange:e=>{e=0>parseFloat(e)?"0":e,a({width:e})},units:s}))),(0,ye.createElement)("div",y))};const gn={apiVersion:2,name:"core/column",title:"Column",category:"text",parent:["core/columns"],description:"A single column within a columns block.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},width:{type:"string"},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}}}},{name:hn}=gn,vn={icon:un,edit:pn,save:function(e){let{attributes:t}=e;const{verticalAlignment:n,width:o}=t,r=nt()({[`is-vertically-aligned-${n}`]:n});let a;if(o&&/\d/.test(o)){let e=Number.isFinite(o)?o+"%":o;if(!Number.isFinite(o)&&null!=o&&o.endsWith("%")){const t=1e12;e=Math.round(Number.parseFloat(o)*t)/t+"%"}a={flexBasis:e}}const l=Ee.useBlockProps.save({className:r,style:a}),i=Ee.useInnerBlocksProps.save(l);return(0,ye.createElement)("div",i)},deprecated:dn};var bn=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-4.1 1.5v10H10v-10h4.9zM5.5 17V8c0-.3.2-.5.5-.5h2.5v10H6c-.3 0-.5-.2-.5-.5zm14 0c0 .3-.2.5-.5.5h-2.6v-10H19c.3 0 .5.2.5.5v9z"}));function yn(e){let t,{doc:n}=yn;n||(n=document.implementation.createHTMLDocument(""),yn.doc=n),n.body.innerHTML=e;for(const e of n.body.firstChild.classList)if(t=e.match(/^layout-column-(\d+)$/))return Number(t[1])-1}var fn=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>{if(!e.customTextColor&&!e.customBackgroundColor)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),{...(0,Le.omit)(e,["customTextColor","customBackgroundColor"]),style:t,isStackedOnMobile:!0}},save(e){let{attributes:t}=e;const{verticalAlignment:n,backgroundColor:o,customBackgroundColor:r,textColor:a,customTextColor:l}=t,i=(0,Ee.getColorClassName)("background-color",o),s=(0,Ee.getColorClassName)("color",a),c=nt()({"has-background":o||r,"has-text-color":a||l,[i]:i,[s]:s,[`are-vertically-aligned-${n}`]:n}),u={backgroundColor:i?void 0:r,color:s?void 0:l};return(0,ye.createElement)("div",{className:c||void 0,style:u},(0,ye.createElement)(Ee.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},isEligible:(e,t)=>!!t.some((e=>/layout-column-\d+/.test(e.originalContent)))&&t.some((e=>void 0!==yn(e.originalContent))),migrate(e,t){const n=t.reduce(((e,t)=>{const{originalContent:n}=t;let o=yn(n);return void 0===o&&(o=0),e[o]||(e[o]=[]),e[o].push(t),e}),[]).map((e=>(0,be.createBlock)("core/column",{},e)));return[{...(0,Le.omit)(e,["columns"]),isStackedOnMobile:!0},n]},save(e){let{attributes:t}=e;const{columns:n}=t;return(0,ye.createElement)("div",{className:`has-${n}-columns`},(0,ye.createElement)(Ee.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:(e,t)=>[e={...(0,Le.omit)(e,["columns"]),isStackedOnMobile:!0},t],save(e){let{attributes:t}=e;const{verticalAlignment:n,columns:o}=t,r=nt()(`has-${o}-columns`,{[`are-vertically-aligned-${n}`]:n});return(0,ye.createElement)("div",{className:r},(0,ye.createElement)(Ee.InnerBlocks.Content,null))}}];const _n=e=>{const t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function kn(e,t){const{width:n=100/t}=e.attributes;return _n(n)}function wn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return(0,Le.sumBy)(e,(e=>kn(e,t)))}function En(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce(((e,n)=>{const o=kn(n,t);return Object.assign(e,{[n.clientId]:o})}),{})}function Cn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length;const o=wn(e,n);return(0,Le.mapValues)(En(e,n),(e=>_n(t*e/o)))}function xn(e,t){return e.map((e=>(0,Le.merge)({},e,{attributes:{width:`${t[e.clientId]}%`}})))}const Sn=["core/column"];const Bn=(0,Ie.withDispatch)(((e,t,n)=>({updateAlignment(o){const{clientId:r,setAttributes:a}=t,{updateBlockAttributes:l}=e(Ee.store),{getBlockOrder:i}=n.select(Ee.store);a({verticalAlignment:o});i(r).forEach((e=>{l(e,{verticalAlignment:o})}))},updateColumns(o,r){const{clientId:a}=t,{replaceInnerBlocks:l}=e(Ee.store),{getBlocks:i}=n.select(Ee.store);let s=i(a);const c=s.every((e=>{var t;const n=e.attributes.width;return Number.isFinite(null!=n&&null!==(t=n.endsWith)&&void 0!==t&&t.call(n,"%")?parseFloat(n):n)}));const u=r>o;if(u&&c){const e=_n(100/r);s=[...xn(s,Cn(s,100-e)),...(0,Le.times)(r-o,(()=>(0,be.createBlock)("core/column",{width:`${e}%`})))]}else if(u)s=[...s,...(0,Le.times)(r-o,(()=>(0,be.createBlock)("core/column")))];else if(s=(0,Le.dropRight)(s,o-r),c){s=xn(s,Cn(s,100))}l(a,s)}})))((function(e){let{attributes:t,setAttributes:n,updateAlignment:o,updateColumns:r,clientId:a}=e;const{isStackedOnMobile:l,verticalAlignment:i}=t,{count:s}=(0,Ie.useSelect)((e=>({count:e(Ee.store).getBlockCount(a)})),[a]),c=nt()({[`are-vertically-aligned-${i}`]:i,"is-not-stacked-on-mobile":!l}),u=(0,Ee.useBlockProps)({className:c}),m=(0,Ee.useInnerBlocksProps)(u,{allowedBlocks:Sn,orientation:"horizontal",renderAppender:!1});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(Ee.BlockVerticalAlignmentToolbar,{onChange:o,value:i})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,null,(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Columns"),value:s,onChange:e=>r(s,e),min:1,max:Math.max(6,s)}),s>6&&(0,ye.createElement)(ke.Notice,{status:"warning",isDismissible:!1},(0,we.__)("This column count exceeds the recommended amount and may cause visual breakage.")),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Stack on mobile"),checked:l,onChange:()=>n({isStackedOnMobile:!l})}))),(0,ye.createElement)("div",m))}));function Tn(e){let{clientId:t,name:n,setAttributes:o}=e;const{blockType:r,defaultVariation:a,variations:l}=(0,Ie.useSelect)((e=>{const{getBlockVariations:t,getBlockType:o,getDefaultBlockVariation:r}=e(be.store);return{blockType:o(n),defaultVariation:r(n,"block"),variations:t(n,"block")}}),[n]),{replaceInnerBlocks:i}=(0,Ie.useDispatch)(Ee.store),s=(0,Ee.useBlockProps)();return(0,ye.createElement)("div",s,(0,ye.createElement)(Ee.__experimentalBlockVariationPicker,{icon:(0,Le.get)(r,["icon","src"]),label:(0,Le.get)(r,["title"]),variations:l,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;e.attributes&&o(e.attributes),e.innerBlocks&&i(t,(0,be.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)},allowSkip:!0}))}var Nn=e=>{const{clientId:t}=e,n=(0,Ie.useSelect)((e=>e(Ee.store).getBlocks(t).length>0),[t])?Bn:Tn;return(0,ye.createElement)(n,e)};var zn=[{name:"one-column-full",title:(0,we.__)("100"),description:(0,we.__)("One column"),icon:(0,ye.createElement)(ke.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m39.0625 14h-30.0625v20.0938h30.0625zm-30.0625-2c-1.10457 0-2 .8954-2 2v20.0938c0 1.1045.89543 2 2 2h30.0625c1.1046 0 2-.8955 2-2v-20.0938c0-1.1046-.8954-2-2-2z"})),innerBlocks:[["core/column"]],scope:["block"]},{name:"two-columns-equal",title:(0,we.__)("50 / 50"),description:(0,we.__)("Two columns; equal split"),icon:(0,ye.createElement)(ke.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:(0,we.__)("30 / 70"),description:(0,we.__)("Two columns; one-third, two-thirds split"),icon:(0,ye.createElement)(ke.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:"33.33%"}],["core/column",{width:"66.66%"}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:(0,we.__)("70 / 30"),description:(0,we.__)("Two columns; two-thirds, one-third split"),icon:(0,ye.createElement)(ke.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:"66.66%"}],["core/column",{width:"33.33%"}]],scope:["block"]},{name:"three-columns-equal",title:(0,we.__)("33 / 33 / 33"),description:(0,we.__)("Three columns; equal split"),icon:(0,ye.createElement)(ke.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:(0,we.__)("25 / 50 / 25"),description:(0,we.__)("Three columns; wide center column"),icon:(0,ye.createElement)(ke.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:"25%"}],["core/column",{width:"50%"}],["core/column",{width:"25%"}]],scope:["block"]}];const Pn={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:e=>{const t=+(100/e.length).toFixed(2),n=e.map((e=>{let{name:n,attributes:o,innerBlocks:r}=e;return["core/column",{width:`${t}%`},[[n,{...o},r]]]}));return(0,be.createBlock)("core/columns",{},(0,be.createBlocksFromInnerBlocksTemplate)(n))},isMatch:e=>{let{length:t}=e;return t&&t<=6}},{type:"block",blocks:["core/media-text"],priority:1,transform:(e,t)=>{const{align:n,backgroundColor:o,textColor:r,style:a,mediaAlt:l,mediaId:i,mediaPosition:s,mediaSizeSlug:c,mediaType:u,mediaUrl:m,mediaWidth:d,verticalAlignment:p}=e;let g;if("image"!==u&&u)g=["core/video",{id:i,src:m}];else{g=["core/image",{...{id:i,alt:l,url:m,sizeSlug:c},...{href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel}}]}const h=[["core/column",{width:`${d}%`},[g]],["core/column",{width:100-d+"%"},t]];return"right"===s&&h.reverse(),(0,be.createBlock)("core/columns",{align:n,backgroundColor:o,textColor:r,style:a,verticalAlignment:p},(0,be.createBlocksFromInnerBlocksTemplate)(h))}}]};var In=Pn;const Mn={apiVersion:2,name:"core/columns",title:"Columns",category:"design",description:"Display content in multiple columns, with blocks added to each column.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},isStackedOnMobile:{type:"boolean",default:!0}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{margin:["top","bottom"],padding:!0,__experimentalDefaultControls:{padding:!0}}},editorStyle:"wp-block-columns-editor",style:"wp-block-columns"},{name:Rn}=Mn,Ln={icon:bn,variations:zn,example:{viewportWidth:600,innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,we.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:(0,we.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,we.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:(0,we.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:fn,edit:Nn,save:function(e){let{attributes:t}=e;const{isStackedOnMobile:n,verticalAlignment:o}=t,r=nt()({[`are-vertically-aligned-${o}`]:o,"is-not-stacked-on-mobile":!n}),a=Ee.useBlockProps.save({className:r}),l=Ee.useInnerBlocksProps.save(a);return(0,ye.createElement)("div",l)},transforms:In};var Vn=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.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-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"}));const Hn={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"},An="image",Fn="video";function Dn(e){return e?{backgroundImage:`url(${e})`}:{}}const Gn=["image","video"];function Un(e){return 50===e||void 0===!e?null:"has-background-dim-"+10*Math.round(e/10)}function On(e){return!e||"center center"===e||"center"===e}function qn(e){return On(e)?"":Hn[e]}function $n(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function Wn(e){return{...e,dimRatio:e.url?e.dimRatio:100}}const jn={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},Zn={attributes:{...jn,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,contentPosition:r,customGradient:a,customOverlayColor:l,dimRatio:i,focalPoint:s,hasParallax:c,isRepeated:u,overlayColor:m,url:d,alt:p,id:g,minHeight:h,minHeightUnit:v}=t,b=(0,Ee.getColorClassName)("background-color",m),y=(0,Ee.__experimentalGetGradientClass)(o),f=v?`${h}${v}`:h,_=An===n,k=Fn===n,w=!(c||u),E={..._&&!w?Dn(d):{},backgroundColor:b?void 0:l,background:a&&!d?a:void 0,minHeight:f||void 0},C=s&&w?`${Math.round(100*s.x)}% ${Math.round(100*s.y)}%`:void 0,x=nt()($n(i),b,{"has-background-dim":0!==i,"has-parallax":c,"is-repeated":u,"has-background-gradient":o||a,[y]:!d&&y,"has-custom-content-position":!On(r)},qn(r));return(0,ye.createElement)("div",Ee.useBlockProps.save({className:x,style:E}),d&&(o||a)&&0!==i&&(0,ye.createElement)("span",{"aria-hidden":"true",className:nt()("wp-block-cover__gradient-background",y),style:a?{background:a}:void 0}),_&&w&&d&&(0,ye.createElement)("img",{className:nt()("wp-block-cover__image-background",g?`wp-image-${g}`:null),alt:p,src:d,style:{objectPosition:C},"data-object-fit":"cover","data-object-position":C}),k&&d&&(0,ye.createElement)("video",{className:nt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:C},"data-object-fit":"cover","data-object-position":C}),(0,ye.createElement)("div",{className:"wp-block-cover__inner-container"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))},migrate:Wn},Kn={attributes:{...jn,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,contentPosition:r,customGradient:a,customOverlayColor:l,dimRatio:i,focalPoint:s,hasParallax:c,isRepeated:u,overlayColor:m,url:d,minHeight:p,minHeightUnit:g}=t,h=(0,Ee.getColorClassName)("background-color",m),v=(0,Ee.__experimentalGetGradientClass)(o),b=g?`${p}${g}`:p,y=An===n,f=Fn===n,_=y?Dn(d):{},k={};let w;h||(_.backgroundColor=l),a&&!d&&(_.background=a),_.minHeight=b||void 0,s&&(w=`${Math.round(100*s.x)}% ${Math.round(100*s.y)}%`,y&&!c&&(_.backgroundPosition=w),f&&(k.objectPosition=w));const E=nt()($n(i),h,{"has-background-dim":0!==i,"has-parallax":c,"is-repeated":u,"has-background-gradient":o||a,[v]:!d&&v,"has-custom-content-position":!On(r)},qn(r));return(0,ye.createElement)("div",Ee.useBlockProps.save({className:E,style:_}),d&&(o||a)&&0!==i&&(0,ye.createElement)("span",{"aria-hidden":"true",className:nt()("wp-block-cover__gradient-background",v),style:a?{background:a}:void 0}),f&&d&&(0,ye.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:k}),(0,ye.createElement)("div",{className:"wp-block-cover__inner-container"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))},migrate:Wn},Qn={attributes:{...jn,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:i,hasParallax:s,overlayColor:c,url:u,minHeight:m}=t,d=(0,Ee.getColorClassName)("background-color",c),p=(0,Ee.__experimentalGetGradientClass)(o),g=n===An?Dn(u):{};d||(g.backgroundColor=a),i&&!s&&(g.backgroundPosition=`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`),r&&!u&&(g.background=r),g.minHeight=m||void 0;const h=nt()($n(l),d,{"has-background-dim":0!==l,"has-parallax":s,"has-background-gradient":r,[p]:!u&&p});return(0,ye.createElement)("div",{className:h,style:g},u&&(o||r)&&0!==l&&(0,ye.createElement)("span",{"aria-hidden":"true",className:nt()("wp-block-cover__gradient-background",p),style:r?{background:r}:void 0}),Fn===n&&u&&(0,ye.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),(0,ye.createElement)("div",{className:"wp-block-cover__inner-container"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))},migrate:Wn},Jn={attributes:{...jn,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:i,hasParallax:s,overlayColor:c,url:u,minHeight:m}=t,d=(0,Ee.getColorClassName)("background-color",c),p=(0,Ee.__experimentalGetGradientClass)(o),g=n===An?Dn(u):{};d||(g.backgroundColor=a),i&&!s&&(g.backgroundPosition=`${100*i.x}% ${100*i.y}%`),r&&!u&&(g.background=r),g.minHeight=m||void 0;const h=nt()($n(l),d,{"has-background-dim":0!==l,"has-parallax":s,"has-background-gradient":r,[p]:!u&&p});return(0,ye.createElement)("div",{className:h,style:g},u&&(o||r)&&0!==l&&(0,ye.createElement)("span",{"aria-hidden":"true",className:nt()("wp-block-cover__gradient-background",p),style:r?{background:r}:void 0}),Fn===n&&u&&(0,ye.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),(0,ye.createElement)("div",{className:"wp-block-cover__inner-container"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))},migrate:Wn},Yn={attributes:{...jn,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,contentAlign:o,customOverlayColor:r,dimRatio:a,focalPoint:l,hasParallax:i,overlayColor:s,title:c,url:u}=t,m=(0,Ee.getColorClassName)("background-color",s),d=n===An?Dn(u):{};m||(d.backgroundColor=r),l&&!i&&(d.backgroundPosition=`${100*l.x}% ${100*l.y}%`);const p=nt()($n(a),m,{"has-background-dim":0!==a,"has-parallax":i,[`has-${o}-content`]:"center"!==o});return(0,ye.createElement)("div",{className:p,style:d},Fn===n&&u&&(0,ye.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!Ee.RichText.isEmpty(c)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:c}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[(0,Le.omit)(t,["title","contentAlign"]),[(0,be.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:(0,we.__)("Write title…")})]]}},Xn={attributes:{...jn,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}},supports:{className:!1},save(e){let{attributes:t}=e;const{url:n,title:o,hasParallax:r,dimRatio:a,align:l,contentAlign:i,overlayColor:s,customOverlayColor:c}=t,u=(0,Ee.getColorClassName)("background-color",s),m=Dn(n);u||(m.backgroundColor=c);const d=nt()("wp-block-cover-image",$n(a),u,{"has-background-dim":0!==a,"has-parallax":r,[`has-${i}-content`]:"center"!==i},l?`align${l}`:null);return(0,ye.createElement)("div",{className:d,style:m},!Ee.RichText.isEmpty(o)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:o}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[(0,Le.omit)(t,["title","contentAlign","align"]),[(0,be.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:(0,we.__)("Write title…")})]]}},eo={attributes:{...jn,title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}},supports:{className:!1},save(e){let{attributes:t}=e;const{url:n,title:o,hasParallax:r,dimRatio:a,align:l}=t,i=Dn(n),s=nt()("wp-block-cover-image",$n(a),{"has-background-dim":0!==a,"has-parallax":r},l?`align${l}`:null);return(0,ye.createElement)("section",{className:s,style:i},(0,ye.createElement)(Ee.RichText.Content,{tagName:"h2",value:o}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[(0,Le.omit)(t,["title","contentAlign","align"]),[(0,be.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:(0,we.__)("Write title…")})]]}};var to=[Zn,Kn,Qn,Jn,Yn,Xn,eo],no=n(5027),oo=n.n(no),ro={grad:.9,turn:360,rad:360/(2*Math.PI)},ao=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},lo=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},io=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},so=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},co=function(e){return{r:io(e.r,0,255),g:io(e.g,0,255),b:io(e.b,0,255),a:io(e.a)}},uo=function(e){return{r:lo(e.r),g:lo(e.g),b:lo(e.b),a:lo(e.a,3)}},mo=/^#([0-9a-f]{3,8})$/i,po=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},go=function(e){var t=e.r,n=e.g,o=e.b,r=e.a,a=Math.max(t,n,o),l=a-Math.min(t,n,o),i=l?a===t?(n-o)/l:a===n?2+(o-t)/l:4+(t-n)/l:0;return{h:60*(i<0?i+6:i),s:a?l/a*100:0,v:a/255*100,a:r}},ho=function(e){var t=e.h,n=e.s,o=e.v,r=e.a;t=t/360*6,n/=100,o/=100;var a=Math.floor(t),l=o*(1-n),i=o*(1-(t-a)*n),s=o*(1-(1-t+a)*n),c=a%6;return{r:255*[o,i,l,l,s,o][c],g:255*[s,o,o,i,l,l][c],b:255*[l,l,s,o,o,i][c],a:r}},vo=function(e){return{h:so(e.h),s:io(e.s,0,100),l:io(e.l,0,100),a:io(e.a)}},bo=function(e){return{h:lo(e.h),s:lo(e.s),l:lo(e.l),a:lo(e.a,3)}},yo=function(e){return ho((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},fo=function(e){return{h:(t=go(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,ko=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,wo=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Eo=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Co={string:[[function(e){var t=mo.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?lo(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?lo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=wo.exec(e)||Eo.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:co({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)||ko.exec(e);if(!t)return null;var n,o,r=vo({h:(n=t[1],o=t[2],void 0===o&&(o="deg"),Number(n)*(ro[o]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return yo(r)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,o=e.b,r=e.a,a=void 0===r?1:r;return ao(t)&&ao(n)&&ao(o)?co({r:Number(t),g:Number(n),b:Number(o),a:Number(a)}):null},"rgb"],[function(e){var t=e.h,n=e.s,o=e.l,r=e.a,a=void 0===r?1:r;if(!ao(t)||!ao(n)||!ao(o))return null;var l=vo({h:Number(t),s:Number(n),l:Number(o),a:Number(a)});return yo(l)},"hsl"],[function(e){var t=e.h,n=e.s,o=e.v,r=e.a,a=void 0===r?1:r;if(!ao(t)||!ao(n)||!ao(o))return null;var l=function(e){return{h:so(e.h),s:io(e.s,0,100),v:io(e.v,0,100),a:io(e.a)}}({h:Number(t),s:Number(n),v:Number(o),a:Number(a)});return ho(l)},"hsv"]]},xo=function(e,t){for(var n=0;n<t.length;n++){var o=t[n][0](e);if(o)return[o,t[n][1]]}return[null,void 0]},So=function(e){return"string"==typeof e?xo(e.trim(),Co.string):"object"==typeof e&&null!==e?xo(e,Co.object):[null,void 0]},Bo=function(e,t){var n=fo(e);return{h:n.h,s:io(n.s+100*t,0,100),l:n.l,a:n.a}},To=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},No=function(e,t){var n=fo(e);return{h:n.h,s:n.s,l:io(n.l+100*t,0,100),a:n.a}},zo=function(){function e(e){this.parsed=So(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return lo(To(this.rgba),2)},e.prototype.isDark=function(){return To(this.rgba)<.5},e.prototype.isLight=function(){return To(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=uo(this.rgba)).r,n=e.g,o=e.b,a=(r=e.a)<1?po(lo(255*r)):"","#"+po(t)+po(n)+po(o)+a;var e,t,n,o,r,a},e.prototype.toRgb=function(){return uo(this.rgba)},e.prototype.toRgbString=function(){return t=(e=uo(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 bo(fo(this.rgba))},e.prototype.toHslString=function(){return t=(e=bo(fo(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=go(this.rgba),{h:lo(e.h),s:lo(e.s),v:lo(e.v),a:lo(e.a,3)};var e},e.prototype.invert=function(){return Po({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),Po(Bo(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),Po(Bo(this.rgba,-e))},e.prototype.grayscale=function(){return Po(Bo(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),Po(No(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),Po(No(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?Po({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):lo(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=fo(this.rgba);return"number"==typeof e?Po({h:e,s:t.s,l:t.l,a:t.a}):lo(t.h)},e.prototype.isEqual=function(e){return this.toHex()===Po(e).toHex()},e}(),Po=function(e){return e instanceof zo?e:new zo(e)},Io=[];!function(e){e.forEach((function(e){Io.indexOf(e)<0&&(e(zo,Co),Io.push(e))}))}([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 a={};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 s=this.toRgb(),c=1/0,u="black";if(!a.length)for(var m in n)a[m]=new e(n[m]).toRgb();for(var d in n){var p=(r=s,l=a[d],Math.pow(r.r-l.r,2)+Math.pow(r.g-l.g,2)+Math.pow(r.b-l.b,2));p<c&&(c=p,u=d)}return u}},t.string.push([function(t){var o=t.toLowerCase(),r="transparent"===o?"#0000":n[o];return r?new e(r).toRgb():null},"name"])}]);const{__Visualizer:Mo}=ke.__experimentalBoxControl;function Ro(){return Ro.fastAverageColor||(Ro.fastAverageColor=new(oo())),Ro.fastAverageColor}function Lo(e){let{onChange:t,onUnitChange:n,unit:o="px",value:r=""}=e;const[a,l]=(0,ye.useState)(null),i=`block-cover-height-input-${(0,ot.useInstanceId)(Ee.__experimentalUnitControl)}`,s="px"===o,c=(0,ke.__experimentalUseCustomUnits)({availableUnits:(0,Ee.useSetting)("spacing.units")||["px","em","rem","vw","vh"],defaultValues:{px:"430",em:"20",rem:"20",vw:"20",vh:"50"}}),u=null!==a?a:r,m=s?50:0;return(0,ye.createElement)(ke.BaseControl,{label:(0,we.__)("Minimum height of cover"),id:i},(0,ye.createElement)(Ee.__experimentalUnitControl,{id:i,isResetValueOnUnitChange:!0,min:m,onBlur:()=>{null!==a&&l(null)},onChange:e=>{const o=""!==e?parseFloat(e):void 0;isNaN(o)&&void 0!==o?l(e):(l(null),t(o),void 0===o&&n())},onUnitChange:n,style:{maxWidth:80},unit:o,units:c,value:u}))}const Vo={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function Ho(e){let{className:t,onResizeStart:n,onResize:o,onResizeStop:r,...a}=e;const[l,i]=(0,ye.useState)(!1);return(0,ye.createElement)(ke.ResizableBox,gt({className:nt()(t,{"is-resizing":l}),enable:Vo,onResizeStart:(e,t,r)=>{n(r.clientHeight),o(r.clientHeight)},onResize:(e,t,n)=>{o(n.clientHeight),l||i(!0)},onResizeStop:(e,t,n)=>{r(n.clientHeight),i(!1)}},a))}function Ao(e){let{x:t,y:n}=e;return`${Math.round(100*t)}% ${Math.round(100*n)}%`}function Fo(e){let{disableMediaButtons:t=!1,children:n,noticeUI:o,noticeOperations:r,onSelectMedia:a,style:l}=e;const{removeAllNotices:i,createErrorNotice:s}=r;return(0,ye.createElement)(Ee.MediaPlaceholder,{icon:(0,ye.createElement)(Ee.BlockIcon,{icon:Vn}),labels:{title:(0,we.__)("Cover"),instructions:(0,we.__)("Drag and drop onto this block, upload, or select existing media from your library.")},onSelect:a,accept:"image/*,video/*",allowedTypes:Gn,notices:o,disableMediaButtons:t,onError:e=>{i(),s(e)},style:l},n)}var Do=(0,ot.compose)([(0,Ie.withDispatch)((e=>{const{toggleSelection:t,__unstableMarkNextChangeAsNotPersistent:n}=e(Ee.store);return{toggleSelection:t,markNextChangeAsNotPersistent:n}})),(0,Ee.withColors)({overlayColor:"background-color"}),ke.withNotices,ot.withInstanceId])((function(e){var t,n,o;let{attributes:r,clientId:a,isSelected:l,noticeUI:i,noticeOperations:s,overlayColor:c,setAttributes:u,setOverlayColor:m,toggleSelection:d,markNextChangeAsNotPersistent:p}=e;const{contentPosition:g,id:h,backgroundType:v,dimRatio:b,focalPoint:y,hasParallax:f,isDark:_,isRepeated:k,minHeight:w,minHeightUnit:E,style:C,url:x,alt:S,allowedBlocks:B,templateLock:T}=r,{gradientClass:N,gradientValue:z,setGradient:P}=(0,Ee.__experimentalUseGradient)(),I=function(e,t){return n=>{if(!n||!n.url)return void e({url:void 0,id:void 0});let o;if((0,Pe.isBlobURL)(n.url)&&(n.type=(0,Pe.getBlobTypeByURL)(n.url)),n.media_type)o=n.media_type===An?An:Fn;else{if(n.type!==An&&n.type!==Fn)return;o=n.type}e({dimRatio:100===t?50:t,url:n.url,id:n.id,alt:null==n?void 0:n.alt,backgroundType:o,...o===Fn?{focalPoint:void 0,hasParallax:void 0}:{}})}}(u,b),M=((e,t)=>!e&&(0,Pe.isBlobURL)(t))(h,x),[R,L]=(0,ye.useState)(w),[V,H]=(0,ye.useState)(E),A="vh"===E&&100===w,F=(0,ye.useRef)(),D=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;const[r,a]=(0,ye.useState)(!1);return(0,ye.useEffect)((()=>{e&&t<=50&&o.current&&Ro().getColorAsync(o.current,(e=>{a(e.isDark)}))}),[e,e&&t<=50&&o.current,a]),(0,ye.useEffect)((()=>{if(t>50||!e){if(!n)return void a(!0);a(Po(n).isDark())}}),[n,t>50||!e,a]),(0,ye.useEffect)((()=>{e||n||a(!1)}),[!e&&!n,a]),r}(x,b,c.color,F);(0,ye.useEffect)((()=>{p(),u({isDark:D})}),[D]);const G=An===v,U=Fn===v,[O,q]=(0,ye.useState)(null),$=E?`${w}${E}`:w,W=!(f||k),j={...G&&!W?Dn(x):void 0,minHeight:O||$||void 0},Z={backgroundColor:c.color},K={objectPosition:y&&W?Ao(y):void 0},Q=!!(x||c.color||z),J=U||G&&(!f||k),Y=e=>{const[t,n]=F.current?[F.current.style,"objectPosition"]:[te.current.style,"backgroundPosition"];t[n]=Ao(e)},X=(0,Ie.useSelect)((e=>e(Ee.store).getBlock(a).innerBlocks.length>0),[a]),ee=(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.__experimentalBlockAlignmentMatrixControl,{label:(0,we.__)("Change content position"),value:g,onChange:e=>u({contentPosition:e}),isDisabled:!X}),(0,ye.createElement)(Ee.__experimentalBlockFullHeightAligmentControl,{isActive:A,onToggle:()=>A?u("vh"===V&&100===R?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:R,minHeightUnit:V}):(L(w),H(E),u({minHeight:100,minHeightUnit:"vh"})),isDisabled:!X})),(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(Ee.MediaReplaceFlow,{mediaId:h,mediaURL:x,allowedTypes:Gn,accept:"image/*,video/*",onSelect:I,name:x?(0,we.__)("Replace"):(0,we.__)("Add Media")})),(0,ye.createElement)(Ee.InspectorControls,null,!!x&&(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Media settings")},G&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Fixed background"),checked:f,onChange:()=>{u({hasParallax:!f,...f?{}:{focalPoint:void 0}})}}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Repeated background"),checked:k,onChange:()=>{u({isRepeated:!k})}})),J&&(0,ye.createElement)(ke.FocalPointPicker,{label:(0,we.__)("Focal point picker"),url:x,value:y,onDragStart:Y,onDrag:Y,onChange:e=>u({focalPoint:e})}),x&&G&&W&&(0,ye.createElement)(ke.TextareaControl,{label:(0,we.__)("Alt text (alternative text)"),value:S,onChange:e=>u({alt:e}),help:(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,we.__)("Describe the purpose of the image")),(0,we.__)("Leave empty if the image is purely decorative."))}),(0,ye.createElement)(ke.PanelRow,null,(0,ye.createElement)(ke.Button,{variant:"secondary",isSmall:!0,className:"block-library-cover__reset-button",onClick:()=>u({url:void 0,id:void 0,backgroundType:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})},(0,we.__)("Clear Media")))),(0,ye.createElement)(Ee.__experimentalPanelColorGradientSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:(0,we.__)("Overlay"),initialOpen:!0,settings:[{colorValue:c.color,gradientValue:z,onColorChange:m,onGradientChange:P,label:(0,we.__)("Color")}]},(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Opacity"),value:b,onChange:e=>u({dimRatio:e}),min:0,max:100,step:10,required:!0}))),(0,ye.createElement)(Ee.InspectorControls,{__experimentalGroup:"dimensions"},(0,ye.createElement)(ke.__experimentalToolsPanelItem,{hasValue:()=>!!w,label:(0,we.__)("Minimum height"),onDeselect:()=>u({minHeight:void 0,minHeightUnit:void 0}),resetAllFilter:()=>({minHeight:void 0,minHeightUnit:void 0}),isShownByDefault:!0,panelId:a},(0,ye.createElement)(Lo,{value:O||w,unit:E,onChange:e=>u({minHeight:e}),onUnitChange:e=>u({minHeightUnit:e})})))),te=(0,ye.useRef)(),ne=(0,Ee.useBlockProps)({ref:te}),oe=function(e){return[["core/paragraph",{align:"center",placeholder:(0,we.__)("Write title…"),...e}]]}({fontSize:!(null===(t=(0,Ee.useSetting)("typography.fontSizes"))||void 0===t||!t.length)?"large":void 0}),re=(0,Ee.useInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:oe,templateInsertUpdatesSelection:!0,allowedBlocks:B,templateLock:T});if(!X&&!Q)return(0,ye.createElement)(ye.Fragment,null,ee,(0,ye.createElement)("div",gt({},ne,{className:nt()("is-placeholder",ne.className)}),(0,ye.createElement)(Fo,{noticeUI:i,onSelectMedia:I,noticeOperations:s,style:{minHeight:O||$||void 0}},(0,ye.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},(0,ye.createElement)(Ee.ColorPalette,{disableCustomColors:!0,value:c.color,onChange:m,clearable:!1}))),(0,ye.createElement)(Ho,{className:"block-library-cover__resize-container",onResizeStart:()=>{u({minHeightUnit:"px"}),d(!1)},onResize:q,onResizeStop:e=>{d(!0),u({minHeight:e}),q(null)},showHandle:l})));const ae=nt()({"is-dark-theme":_,"is-light":!_,"is-transient":M,"has-parallax":f,"is-repeated":k,"has-custom-content-position":!On(g)},qn(g));return(0,ye.createElement)(ye.Fragment,null,ee,(0,ye.createElement)("div",gt({},ne,{className:nt()(ae,ne.className),style:{...j,...ne.style},"data-url":x}),(0,ye.createElement)(Mo,{values:null==C||null===(n=C.spacing)||void 0===n?void 0:n.padding,showValues:null==C||null===(o=C.visualizers)||void 0===o?void 0:o.padding}),(0,ye.createElement)(Ho,{className:"block-library-cover__resize-container",onResizeStart:()=>{u({minHeightUnit:"px"}),d(!1)},onResize:q,onResizeStop:e=>{d(!0),u({minHeight:e}),q(null)},showHandle:l}),(0,ye.createElement)("span",{"aria-hidden":"true",className:nt()(Un(b),{[c.class]:c.class},"wp-block-cover__gradient-background",N,{"has-background-dim":void 0!==b,"has-background-gradient":z,[N]:!x&&N}),style:{backgroundImage:z,...Z}}),x&&G&&W&&(0,ye.createElement)("img",{ref:F,className:"wp-block-cover__image-background",alt:S,src:x,style:K}),x&&U&&(0,ye.createElement)("video",{ref:F,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:x,style:K}),M&&(0,ye.createElement)(ke.Spinner,null),(0,ye.createElement)(Fo,{disableMediaButtons:!0,noticeUI:i,onSelectMedia:I,noticeOperations:s}),(0,ye.createElement)("div",re)))}));var Go={from:[{type:"block",blocks:["core/image"],transform:e=>{var t;let{caption:n,url:o,alt:r,align:a,id:l,anchor:i,style:s}=e;return(0,be.createBlock)("core/cover",{dimRatio:50,url:o,alt:r,align:a,id:l,anchor:i,style:{color:{duotone:null==s||null===(t=s.color)||void 0===t?void 0:t.duotone}}},[(0,be.createBlock)("core/paragraph",{content:n,fontSize:"large"})])}},{type:"block",blocks:["core/video"],transform:e=>{let{caption:t,src:n,align:o,id:r,anchor:a}=e;return(0,be.createBlock)("core/cover",{dimRatio:50,url:n,align:o,id:r,backgroundType:Fn,anchor:a},[(0,be.createBlock)("core/paragraph",{content:t,fontSize:"large"})])}},{type:"block",blocks:["core/group"],isMatch:e=>{var t,n;let{backgroundColor:o,gradient:r,style:a}=e;return o||(null==a||null===(t=a.color)||void 0===t?void 0:t.background)||(null==a||null===(n=a.color)||void 0===n?void 0:n.gradient)||r},transform:(e,t)=>{var n,o;let{align:r,anchor:a,backgroundColor:l,gradient:i,style:s}=e;return(0,be.createBlock)("core/cover",{align:r,anchor:a,overlayColor:l,customOverlayColor:null==s||null===(n=s.color)||void 0===n?void 0:n.background,gradient:i,customGradient:null==s||null===(o=s.color)||void 0===o?void 0:o.gradient},t)}}],to:[{type:"block",blocks:["core/image"],isMatch:e=>{let{backgroundType:t,url:n,overlayColor:o,customOverlayColor:r,gradient:a,customGradient:l}=e;return n?t===An:!(o||r||a||l)},transform:e=>{var t;let{title:n,url:o,alt:r,align:a,id:l,anchor:i,style:s}=e;return(0,be.createBlock)("core/image",{caption:n,url:o,alt:r,align:a,id:l,anchor:i,style:{color:{duotone:null==s||null===(t=s.color)||void 0===t?void 0:t.duotone}}})}},{type:"block",blocks:["core/video"],isMatch:e=>{let{backgroundType:t,url:n,overlayColor:o,customOverlayColor:r,gradient:a,customGradient:l}=e;return n?t===Fn:!(o||r||a||l)},transform:e=>{let{title:t,url:n,align:o,id:r,anchor:a}=e;return(0,be.createBlock)("core/video",{caption:t,src:n,id:r,align:o,anchor:a})}}]};const Uo={apiVersion:2,name:"core/cover",title:"Cover",category:"media",description:"Add an image or video with a text overlay — great for headers.",textdomain:"default",attributes:{url:{type:"string"},id:{type:"number"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:100},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},isDark:{type:"boolean",default:!0},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},editorStyle:"wp-block-cover-editor",style:"wp-block-cover"},{name:Oo}=Uo,qo={icon:Vn,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:(0,we.__)("<strong>Snow Patrol</strong>"),align:"center"}}]},transforms:Go,save:function(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,contentPosition:r,customGradient:a,customOverlayColor:l,dimRatio:i,focalPoint:s,hasParallax:c,isDark:u,isRepeated:m,overlayColor:d,url:p,alt:g,id:h,minHeight:v,minHeightUnit:b}=t,y=(0,Ee.getColorClassName)("background-color",d),f=(0,Ee.__experimentalGetGradientClass)(o),_=b?`${v}${b}`:v,k=An===n,w=Fn===n,E=!(c||m),C={...k&&!E?Dn(p):{},minHeight:_||void 0},x={backgroundColor:y?void 0:l,background:a||void 0},S=s&&E?`${Math.round(100*s.x)}% ${Math.round(100*s.y)}%`:void 0,B=nt()({"is-light":!u,"has-parallax":c,"is-repeated":m,"has-custom-content-position":!On(r)},qn(r));return(0,ye.createElement)("div",Ee.useBlockProps.save({className:B,style:C}),(0,ye.createElement)("span",{"aria-hidden":"true",className:nt()(y,Un(i),"wp-block-cover__gradient-background",f,{"has-background-dim":void 0!==i,"has-background-gradient":o||a,[f]:!p&&f}),style:x}),k&&E&&p&&(0,ye.createElement)("img",{className:nt()("wp-block-cover__image-background",h?`wp-image-${h}`:null),alt:g,src:p,style:{objectPosition:S},"data-object-fit":"cover","data-object-position":S}),w&&p&&(0,ye.createElement)("video",{className:nt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:p,style:{objectPosition:S},"data-object-fit":"cover","data-object-position":S}),(0,ye.createElement)("div",Ee.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})))},edit:Do,deprecated:to};var $o=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.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"}));function Wo(e){return e?(0,we.__)("This embed will preserve its aspect ratio when the browser is resized."):(0,we.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var jo=e=>{let{blockSupportsResponsive:t,showEditButton:n,themeSupportsResponsive:o,allowResponsive:r,toggleResponsive:a,switchBackToURLInput:l}=e;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,null,n&&(0,ye.createElement)(ke.ToolbarButton,{className:"components-toolbar__control",label:(0,we.__)("Edit URL"),icon:$o,onClick:l}))),o&&t&&(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Media settings"),className:"blocks-responsive"},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Resize for smaller devices"),checked:r,help:Wo,onChange:a}))))};const Zo=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),Ko=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})),Qo=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),Jo=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(ke.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})),Yo={foreground:"#1da1f2",src:(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(ke.G,null,(0,ye.createElement)(ke.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},Xo={foreground:"#ff0000",src:(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},er={foreground:"#3b5998",src:(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},tr=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.G,null,(0,ye.createElement)(ke.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),nr={foreground:"#0073AA",src:(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.G,null,(0,ye.createElement)(ke.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},or={foreground:"#1db954",src:(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},rr=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),ar={foreground:"#1ab7ea",src:(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(ke.G,null,(0,ye.createElement)(ke.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},lr=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),ir={foreground:"#35465c",src:(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"}))},sr=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),(0,ye.createElement)(ke.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),(0,ye.createElement)(ke.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),cr=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),(0,ye.createElement)(ke.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),(0,ye.createElement)(ke.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),(0,ye.createElement)(ke.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),(0,ye.createElement)(ke.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),(0,ye.createElement)(ke.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),ur=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",fill:"#333436"})),mr=(0,ye.createElement)(ke.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(ke.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"})),dr=(0,ye.createElement)(ke.SVG,{viewBox:"0 0 44 44"},(0,ye.createElement)(ke.Path,{d:"M32.59521,22.001l4.31885-4.84473-6.34131-1.38379.646-6.459-5.94336,2.61035L22,6.31934l-3.27344,5.60351L12.78418,9.3125l.645,6.458L7.08643,17.15234,11.40479,21.999,7.08594,26.84375l6.34131,1.38379-.64551,6.458,5.94287-2.60938L22,37.68066l3.27344-5.60351,5.94287,2.61035-.64551-6.458,6.34277-1.38183Zm.44385,2.75244L30.772,23.97827l-1.59558-2.07391,1.97888.735Zm-8.82147,6.1579L22.75,33.424V30.88977l1.52228-2.22168ZM18.56226,13.48816,19.819,15.09534l-2.49219-.88642L15.94037,12.337Zm6.87719.00116,2.62043-1.15027-1.38654,1.86981L24.183,15.0946Zm3.59357,2.6029-1.22546,1.7381.07525-2.73486,1.44507-1.94867ZM22,29.33008l-2.16406-3.15686L22,23.23688l2.16406,2.93634Zm-4.25458-9.582-.10528-3.836,3.60986,1.284v3.73242Zm5.00458-2.552,3.60986-1.284-.10528,3.836L22.75,20.92853Zm-7.78174-1.10559-.29352-2.94263,1.44245,1.94739.07519,2.73321Zm2.30982,5.08319,3.50817,1.18164-2.16247,2.9342-3.678-1.08447Zm2.4486,7.49285L21.25,30.88977v2.53485L19.78052,30.91Zm3.48707-6.31121,3.50817-1.18164,2.33228,3.03137-3.678,1.08447Zm10.87219-4.28113-2.714,3.04529L28.16418,19.928l1.92176-2.72565ZM24.06036,12.81769l-2.06012,2.6322-2.059-2.63318L22,9.292ZM9.91455,18.07227l4.00079-.87195,1.921,2.72735-3.20794,1.19019Zm2.93024,4.565,1.9801-.73462L13.228,23.97827l-2.26838.77429Zm-1.55591,3.58819L13.701,25.4021l2.64935.78058-2.14447.67853Zm3.64868,1.977L18.19,27.17334l.08313,3.46332L14.52979,32.2793Zm10.7876,2.43549.08447-3.464,3.25165,1.03052.407,4.07684Zm4.06824-3.77478-2.14545-.68,2.65063-.781,2.41266.825Z"}));var pr=()=>(0,ye.createElement)("div",{className:"wp-block-embed is-loading"},(0,ye.createElement)(ke.Spinner,null),(0,ye.createElement)("p",null,(0,we.__)("Embedding…")));var gr=e=>{let{icon:t,label:n,value:o,onSubmit:r,onChange:a,cannotEmbed:l,fallback:i,tryAgain:s}=e;return(0,ye.createElement)(ke.Placeholder,{icon:(0,ye.createElement)(Ee.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed",instructions:(0,we.__)("Paste a link to the content you want to display on your site.")},(0,ye.createElement)("form",{onSubmit:r},(0,ye.createElement)("input",{type:"url",value:o||"",className:"components-placeholder__input","aria-label":n,placeholder:(0,we.__)("Enter URL to embed here…"),onChange:a}),(0,ye.createElement)(ke.Button,{variant:"primary",type:"submit"},(0,we._x)("Embed","button label"))),(0,ye.createElement)("div",{className:"components-placeholder__learn-more"},(0,ye.createElement)(ke.ExternalLink,{href:(0,we.__)("https://wordpress.org/support/article/embeds/")},(0,we.__)("Learn more about embeds"))),l&&(0,ye.createElement)("div",{className:"components-placeholder__error"},(0,ye.createElement)("div",{className:"components-placeholder__instructions"},(0,we.__)("Sorry, this content could not be embedded.")),(0,ye.createElement)(ke.Button,{variant:"secondary",onClick:s},(0,we._x)("Try again","button label"))," ",(0,ye.createElement)(ke.Button,{variant:"secondary",onClick:i},(0,we._x)("Convert to link","button label"))))};const hr={class:"className",frameborder:"frameBorder",marginheight:"marginHeight",marginwidth:"marginWidth"};function vr(e){let{html:t}=e;const n=(0,ye.useRef)(),o=(0,ye.useMemo)((()=>{const e=(new window.DOMParser).parseFromString(t,"text/html").querySelector("iframe"),n={};return e?(Array.from(e.attributes).forEach((e=>{let{name:t,value:o}=e;"style"!==t&&(n[hr[t]||t]=o)})),n):n}),[t]);return(0,ye.useEffect)((()=>{const{ownerDocument:e}=n.current,{defaultView:t}=e;function r(e){let{data:{secret:t,message:r,value:a}={}}=e;"height"===r&&t===o["data-secret"]&&(n.current.height=a)}return t.addEventListener("message",r),()=>{t.removeEventListener("message",r)}}),[]),(0,ye.createElement)("div",{className:"wp-block-embed__wrapper"},(0,ye.createElement)("iframe",gt({ref:(0,ot.useMergeRefs)([n,(0,ot.useFocusableIframe)()]),title:o.title},o)))}class br extends ye.Component{constructor(){super(...arguments),this.hideOverlay=this.hideOverlay.bind(this),this.state={interactive:!1}}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}hideOverlay(){this.setState({interactive:!0})}render(){const{preview:e,previewable:t,url:n,type:o,caption:r,onCaptionChange:a,isSelected:l,className:i,icon:s,label:c,insertBlocksAfter:u}=this.props,{scripts:m}=e,{interactive:d}=this.state,p="photo"===o?(e=>{const t=e.thumbnail_url||e.url,n=(0,ye.createElement)("p",null,(0,ye.createElement)("img",{src:t,alt:e.title,width:"100%"}));return(0,ye.renderToString)(n)})(e):e.html,g=new URL(n).host.split("."),h=g.splice(g.length-2,g.length-1).join("."),v=(0,we.sprintf)((0,we.__)("Embedded content from %s"),h),b=He()(o,i,"wp-block-embed__wrapper"),y="wp-embed"===o?(0,ye.createElement)(vr,{html:p}):(0,ye.createElement)("div",{className:"wp-block-embed__wrapper"},(0,ye.createElement)(ke.SandBox,{html:p,scripts:m,title:v,type:b,onFocus:this.hideOverlay}),!d&&(0,ye.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return(0,ye.createElement)("figure",{className:He()(i,"wp-block-embed",{"is-type-video":"video"===o})},t?y:(0,ye.createElement)(ke.Placeholder,{icon:(0,ye.createElement)(Ee.BlockIcon,{icon:s,showColors:!0}),label:c},(0,ye.createElement)("p",{className:"components-placeholder__error"},(0,ye.createElement)("a",{href:n},n)),(0,ye.createElement)("p",{className:"components-placeholder__error"},(0,we.sprintf)((0,we.__)("Embedded content from %s can't be previewed in the editor."),h))),(!Ee.RichText.isEmpty(r)||l)&&(0,ye.createElement)(Ee.RichText,{tagName:"figcaption",placeholder:(0,we.__)("Add caption"),value:r,onChange:a,inlineToolbar:!0,__unstableOnSplitAtEnd:()=>u((0,be.createBlock)("core/paragraph"))}))}}var yr=br;var fr=e=>{const{attributes:{providerNameSlug:t,previewable:n,responsive:o,url:r},attributes:a,isSelected:l,onReplace:i,setAttributes:s,insertBlocksAfter:c,onFocus:u}=e,m={title:(0,we._x)("Embed","block title"),icon:Zo},{icon:d,title:p}=(g=t,(null===(h=(0,be.getBlockVariations)(De))||void 0===h?void 0:h.find((e=>{let{name:t}=e;return t===g})))||m);var g,h;const[v,b]=(0,ye.useState)(r),[y,f]=(0,ye.useState)(!1),{invalidateResolution:_}=(0,Ie.useDispatch)(Dt.store),{preview:k,fetching:w,themeSupportsResponsive:E,cannotEmbed:C}=(0,Ie.useSelect)((e=>{var t;const{getEmbedPreview:n,isPreviewEmbedFallback:o,isRequestingEmbedPreview:a,getThemeSupports:l}=e(Dt.store);if(!r)return{fetching:!1,cannotEmbed:!1};const i=n(r),s=o(r),c=!1===(null==i?void 0:i.html)&&void 0===(null==i?void 0:i.type),u=404===(null==i||null===(t=i.data)||void 0===t?void 0:t.status),m=!!i&&!c&&!u;return{preview:m?i:void 0,fetching:a(r),themeSupportsResponsive:l()["responsive-embeds"],cannotEmbed:!m||s}}),[r]),x=()=>{const{allowResponsive:e,className:t}=a;return{...a,...We(k,p,t,o,e)}};(0,ye.useEffect)((()=>{if(null==k||!k.html||!C||w)return;const e=r.replace(/\/$/,"");b(e),f(!1),s({url:e})}),[null==k?void 0:k.html,r]),(0,ye.useEffect)((()=>{if(k&&!y&&(s(x()),i)){const t=Oe(e,x());t&&i(t)}}),[k,y]);const S=(0,Ee.useBlockProps)();if(w)return(0,ye.createElement)(fe.View,S,(0,ye.createElement)(pr,null));const B=(0,we.sprintf)((0,we.__)("%s URL"),p);if(!k||C||y)return(0,ye.createElement)(fe.View,S,(0,ye.createElement)(gr,{icon:d,label:B,onFocus:u,onSubmit:e=>{e&&e.preventDefault(),f(!1),s({url:v})},value:v,cannotEmbed:C,onChange:e=>b(e.target.value),fallback:()=>function(e,t){const n=(0,ye.createElement)("a",{href:e},e);t((0,be.createBlock)("core/paragraph",{content:(0,ye.renderToString)(n)}))}(v,i),tryAgain:()=>{_("getEmbedPreview",[v])}}));const{caption:T,type:N,allowResponsive:z,className:P}=x(),I=nt()(P,e.className);return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(jo,{showEditButton:k&&!C,themeSupportsResponsive:E,blockSupportsResponsive:o,allowResponsive:z,toggleResponsive:()=>{const{allowResponsive:e,className:t}=a,{html:n}=k,r=!e;s({allowResponsive:r,className:$e(n,t,o&&r)})},switchBackToURLInput:()=>f(!0)}),(0,ye.createElement)(fe.View,S,(0,ye.createElement)(yr,{preview:k,previewable:n,className:I,url:v,type:N,caption:T,onCaptionChange:e=>s({caption:e}),isSelected:l,icon:d,label:B,insertBlocksAfter:c})))};const{name:_r}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var kr={from:[{type:"raw",isMatch:e=>{var t,n;return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&&1===(null===(t=e.textContent)||void 0===t||null===(n=t.match(/https/gi))||void 0===n?void 0:n.length)},transform:e=>(0,be.createBlock)(_r,{url:e.textContent.trim()})}],to:[{type:"block",blocks:["core/paragraph"],isMatch:e=>{let{url:t}=e;return!!t},transform:e=>{let{url:t,caption:n}=e,o=`<a href="${t}">${t}</a>`;return null!=n&&n.trim()&&(o+=`<br />${n}`),(0,be.createBlock)("core/paragraph",{content:o})}}]};const wr=[{name:"twitter",title:"Twitter",icon:Yo,keywords:["tweet",(0,we.__)("social")],description:(0,we.__)("Embed a tweet."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:"YouTube",icon:Xo,keywords:[(0,we.__)("music"),(0,we.__)("video")],description:(0,we.__)("Embed a YouTube video."),patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i],attributes:{providerNameSlug:"youtube",responsive:!0}},{name:"facebook",title:"Facebook",icon:er,keywords:[(0,we.__)("social")],description:(0,we.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:"Instagram",icon:tr,keywords:[(0,we.__)("image"),(0,we.__)("social")],description:(0,we.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:"WordPress",icon:nr,keywords:[(0,we.__)("post"),(0,we.__)("blog")],description:(0,we.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:"SoundCloud",icon:Ko,keywords:[(0,we.__)("music"),(0,we.__)("audio")],description:(0,we.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:"Spotify",icon:or,keywords:[(0,we.__)("music"),(0,we.__)("audio")],description:(0,we.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:"Flickr",icon:rr,keywords:[(0,we.__)("image")],description:(0,we.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:"Vimeo",icon:ar,keywords:[(0,we.__)("video")],description:(0,we.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:"Animoto",icon:cr,description:(0,we.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:"Cloudup",icon:Zo,description:(0,we.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:"CollegeHumor",icon:Jo,description:(0,we.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:"Crowdsignal",icon:Zo,keywords:["polldaddy",(0,we.__)("survey")],description:(0,we.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:"Dailymotion",icon:ur,keywords:[(0,we.__)("video")],description:(0,we.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:"Imgur",icon:Qo,description:(0,we.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:"Issuu",icon:Zo,description:(0,we.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:"Kickstarter",icon:Zo,description:(0,we.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"mixcloud",title:"Mixcloud",icon:Ko,keywords:[(0,we.__)("music"),(0,we.__)("audio")],description:(0,we.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"reddit",title:"Reddit",icon:lr,description:(0,we.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:"ReverbNation",icon:Ko,description:(0,we.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"screencast",title:"Screencast",icon:Jo,description:(0,we.__)("Embed Screencast content."),patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i],attributes:{providerNameSlug:"screencast",responsive:!0}},{name:"scribd",title:"Scribd",icon:Zo,description:(0,we.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"slideshare",title:"Slideshare",icon:Zo,description:(0,we.__)("Embed Slideshare content."),patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i],attributes:{providerNameSlug:"slideshare",responsive:!0}},{name:"smugmug",title:"SmugMug",icon:Qo,description:(0,we.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:"Speaker Deck",icon:Zo,description:(0,we.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:"TikTok",icon:Jo,keywords:[(0,we.__)("video")],description:(0,we.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:"TED",icon:Jo,description:(0,we.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:"Tumblr",icon:ir,keywords:[(0,we.__)("social")],description:(0,we.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:"VideoPress",icon:Jo,keywords:[(0,we.__)("video")],description:(0,we.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:"WordPress.tv",icon:Jo,description:(0,we.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:"Amazon Kindle",icon:sr,keywords:[(0,we.__)("ebook")],description:(0,we.__)("Embed Amazon Kindle content."),patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],attributes:{providerNameSlug:"amazon-kindle"}},{name:"pinterest",title:"Pinterest",icon:mr,keywords:[(0,we.__)("social"),(0,we.__)("bookmark")],description:(0,we.__)("Embed Pinterest pins, boards, and profiles."),patterns:[/^https?:\/\/([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?\/.*/i],attributes:{providerNameSlug:"pinterest"}},{name:"wolfram-cloud",title:"Wolfram Cloud",icon:dr,description:(0,we.__)("Embed Wolfram Cloud notebook content."),patterns:[/^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i],attributes:{providerNameSlug:"wolfram-cloud",responsive:!0}}];wr.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.providerNameSlug===t.providerNameSlug)}));var Er=wr;const{attributes:Cr}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var xr=[{attributes:Cr,save(e){let{attributes:{url:t,caption:n,type:o,providerNameSlug:r}}=e;if(!t)return null;const a=nt()("wp-block-embed",{[`is-type-${o}`]:o,[`is-provider-${r}`]:r});return(0,ye.createElement)("figure",{className:a},`\n${t}\n`,!Ee.RichText.isEmpty(n)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:n}))}}];const Sr={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"},{name:Br}=Sr,Tr={icon:Zo,edit:fr,save:function(e){let{attributes:t}=e;const{url:n,caption:o,type:r,providerNameSlug:a}=t;if(!n)return null;const l=He()("wp-block-embed",{[`is-type-${r}`]:r,[`is-provider-${a}`]:a,[`wp-block-embed-${a}`]:a});return(0,ye.createElement)("figure",Ee.useBlockProps.save({className:l}),(0,ye.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${n}\n`),!Ee.RichText.isEmpty(o)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:o}))},transforms:kr,variations:Er,deprecated:xr};var Nr=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5z"}));const zr=[{attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},save(e){let{attributes:t}=e;const{href:n,fileName:o,textLinkHref:r,textLinkTarget:a,showDownloadButton:l,downloadButtonText:i,displayPreview:s,previewHeight:c}=t,u=Ee.RichText.isEmpty(o)?(0,we.__)("PDF embed"):(0,we.sprintf)((0,we.__)("Embed of %s."),o);return n&&(0,ye.createElement)("div",Ee.useBlockProps.save(),s&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)("object",{className:"wp-block-file__embed",data:n,type:"application/pdf",style:{width:"100%",height:`${c}px`},"aria-label":u})),!Ee.RichText.isEmpty(o)&&(0,ye.createElement)("a",{href:r,target:a,rel:a?"noreferrer noopener":void 0},(0,ye.createElement)(Ee.RichText.Content,{value:o})),l&&(0,ye.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},(0,ye.createElement)(Ee.RichText.Content,{value:i})))}}];var Pr=zr,Ir=window.wp.notices;function Mr(e){let{hrefs:t,openInNewWindow:n,showDownloadButton:o,changeLinkDestinationOption:r,changeOpenInNewWindow:a,changeShowDownloadButton:l,displayPreview:i,changeDisplayPreview:s,previewHeight:c,changePreviewHeight:u}=e;const{href:m,textLinkHref:d,attachmentPage:p}=t;let g=[{value:m,label:(0,we.__)("URL")}];return p&&(g=[{value:m,label:(0,we.__)("Media file")},{value:p,label:(0,we.__)("Attachment page")}]),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,m.endsWith(".pdf")&&(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("PDF settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show inline embed"),help:i?(0,we.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!i,onChange:s}),i&&(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Height in pixels"),min:Vr,max:Math.max(Hr,c),value:c,onChange:u})),(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Text link settings")},(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Link to"),value:d,options:g,onChange:r}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Open in new tab"),checked:n,onChange:a})),(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Download button settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show download button"),checked:o,onChange:l}))))}const Rr=()=>!(window.navigator.userAgent.indexOf("Mobi")>-1)&&(!(window.navigator.userAgent.indexOf("Android")>-1)&&(!(window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2)&&!((window.ActiveXObject||"ActiveXObject"in window)&&!Lr("AcroPDF.PDF")&&!Lr("PDF.PdfCtrl")))),Lr=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t},Vr=200,Hr=2e3;function Ar(e){let{text:t,disabled:n}=e;const{createNotice:o}=(0,Ie.useDispatch)(Ir.store),r=(0,ot.useCopyToClipboard)(t,(()=>{o("info",(0,we.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})}));return(0,ye.createElement)(ke.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:r,disabled:n},(0,we.__)("Copy URL"))}var Fr=(0,ke.withNotices)((function(e){let{attributes:t,isSelected:n,setAttributes:o,noticeUI:r,noticeOperations:a,clientId:l}=e;const{id:i,fileName:s,href:c,textLinkHref:u,textLinkTarget:m,showDownloadButton:d,downloadButtonText:p,displayPreview:g,previewHeight:h}=t,[v,b]=(0,ye.useState)(!1),{media:y,mediaUpload:f}=(0,Ie.useSelect)((e=>({media:void 0===i?void 0:e(Dt.store).getMedia(i),mediaUpload:e(Ee.store).getSettings().mediaUpload})),[i]),{toggleSelection:_}=(0,Ie.useDispatch)(Ee.store);function k(e){if(e&&e.url){b(!1);const t=e.url.endsWith(".pdf");o({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id,displayPreview:!!t||void 0,previewHeight:t?600:void 0})}}function w(e){b(!0),a.removeAllNotices(),a.createErrorNotice(e)}function E(e){o({downloadButtonText:e.replace(/<\/?a[^>]*>/g,"")})}(0,ye.useEffect)((()=>{if((0,Pe.isBlobURL)(c)){const e=(0,Pe.getBlobByURL)(c);f({filesList:[e],onFileChange:e=>{let[t]=e;return k(t)},onError:e=>{b(!0),a.createErrorNotice(e)}}),(0,Pe.revokeBlobURL)(c)}void 0===p&&E((0,we._x)("Download","button label"))}),[]),(0,ye.useEffect)((()=>{o({fileId:`wp-block-file--media-${l}`})}),[l]);const C=y&&y.link,x=(0,Ee.useBlockProps)({className:nt()((0,Pe.isBlobURL)(c)&&(0,ke.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":(0,Pe.isBlobURL)(c)})}),S=Rr()&&g;return!c||v?(0,ye.createElement)("div",x,(0,ye.createElement)(Ee.MediaPlaceholder,{icon:(0,ye.createElement)(Ee.BlockIcon,{icon:Nr}),labels:{title:(0,we.__)("File"),instructions:(0,we.__)("Upload a file or pick one from your media library.")},onSelect:k,notices:r,onError:w,accept:"*"})):(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Mr,{hrefs:{href:c,textLinkHref:u,attachmentPage:C},openInNewWindow:!!m,showDownloadButton:d,changeLinkDestinationOption:function(e){o({textLinkHref:e})},changeOpenInNewWindow:function(e){o({textLinkTarget:!!e&&"_blank"})},changeShowDownloadButton:function(e){o({showDownloadButton:e})},displayPreview:g,changeDisplayPreview:function(e){o({displayPreview:e})},previewHeight:h,changePreviewHeight:function(e){const t=Math.max(parseInt(e,10),Vr);o({previewHeight:t})}}),(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(Ee.MediaReplaceFlow,{mediaId:i,mediaURL:c,accept:"*",onSelect:k,onError:w}),(0,ye.createElement)(Ar,{text:c,disabled:(0,Pe.isBlobURL)(c)})),(0,ye.createElement)("div",x,S&&(0,ye.createElement)(ke.ResizableBox,{size:{height:h},minHeight:Vr,maxHeight:Hr,minWidth:"100%",grid:[10,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=>_(!1),onResizeStop:function(e,t,n,r){_(!0);const a=parseInt(h+r.height,10);o({previewHeight:a})},showHandle:n},(0,ye.createElement)("object",{className:"wp-block-file__preview",data:c,type:"application/pdf","aria-label":(0,we.__)("Embed of the selected PDF file.")}),!n&&(0,ye.createElement)("div",{className:"wp-block-file__preview-overlay"})),(0,ye.createElement)("div",{className:"wp-block-file__content-wrapper"},(0,ye.createElement)(Ee.RichText,{tagName:"a",value:s,placeholder:(0,we.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:e=>o({fileName:e}),href:u}),d&&(0,ye.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},(0,ye.createElement)(Ee.RichText,{tagName:"div","aria-label":(0,we.__)("Download button text"),className:"wp-block-file__button",value:p,withoutInteractiveFormatting:!0,placeholder:(0,we.__)("Add text…"),onChange:e=>E(e)})))))}));var Dr=window.wp.url;const Gr={from:[{type:"files",isMatch:e=>e.length>0,priority:15,transform:e=>{const t=[];return e.forEach((e=>{const n=(0,Pe.createBlobURL)(e);t.push((0,be.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))})),t}},{type:"block",blocks:["core/audio"],transform:e=>(0,be.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],transform:e=>(0,be.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],transform:e=>(0,be.createBlock)("core/file",{href:e.url,fileName:e.caption||(0,Dr.getFilename)(e.url),textLinkHref:e.url,id:e.id,anchor:e.anchor})}],to:[{type:"block",blocks:["core/audio"],isMatch:e=>{let{id:t}=e;if(!t)return!1;const{getMedia:n}=(0,Ie.select)(Dt.store),o=n(t);return!!o&&(0,Le.includes)(o.mime_type,"audio")},transform:e=>(0,be.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],isMatch:e=>{let{id:t}=e;if(!t)return!1;const{getMedia:n}=(0,Ie.select)(Dt.store),o=n(t);return!!o&&(0,Le.includes)(o.mime_type,"video")},transform:e=>(0,be.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],isMatch:e=>{let{id:t}=e;if(!t)return!1;const{getMedia:n}=(0,Ie.select)(Dt.store),o=n(t);return!!o&&(0,Le.includes)(o.mime_type,"image")},transform:e=>(0,be.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}]};var Ur=Gr;const Or={apiVersion:2,name:"core/file",title:"File",category:"media",description:"Add a link to a downloadable file.",keywords:["document","pdf","download"],textdomain:"default",attributes:{id:{type:"number"},href:{type:"string"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},viewScript:"file:./view.min.js",editorStyle:"wp-block-file-editor",style:"wp-block-file"},{name:qr}=Or,$r={icon:Nr,example:{attributes:{href:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg",fileName:(0,we._x)("Armstrong_Small_Step","Name of the file")}},transforms:Ur,deprecated:Pr,edit:Fr,save:function(e){let{attributes:t}=e;const{href:n,fileId:o,fileName:r,textLinkHref:a,textLinkTarget:l,showDownloadButton:i,downloadButtonText:s,displayPreview:c,previewHeight:u}=t,m=Ee.RichText.isEmpty(r)?(0,we.__)("PDF embed"):(0,we.sprintf)((0,we.__)("Embed of %s."),r);return n&&(0,ye.createElement)("div",Ee.useBlockProps.save(),c&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)("object",{className:"wp-block-file__embed",data:n,type:"application/pdf",style:{width:"100%",height:`${u}px`},"aria-label":m})),!Ee.RichText.isEmpty(r)&&(0,ye.createElement)("a",{id:o,href:a,target:l,rel:l?"noreferrer noopener":void 0},(0,ye.createElement)(Ee.RichText.Content,{value:r})),i&&(0,ye.createElement)("a",{href:n,className:"wp-block-file__button",download:!0,"aria-describedby":o},(0,ye.createElement)(Ee.RichText.Content,{value:s})))}};var Wr=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"}));const jr="none",Zr="media",Kr="attachment";const Qr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large";const n=(0,Le.pick)(e,["alt","id","link","caption"]);n.url=(0,Le.get)(e,["sizes",t,"url"])||(0,Le.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=(0,Le.get)(e,["sizes","full","url"])||(0,Le.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};const Jr="file",Yr="post";function Xr(e){var t;return Math.min(3,null==e||null===(t=e.images)||void 0===t?void 0:t.length)}function ea(e,t){switch(t){case Jr:return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:Zr};case Yr:return{href:null==e?void 0:e.link,linkDestination:Kr};case Zr:return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:Zr};case Kr:return{href:null==e?void 0:e.link,linkDestination:Kr};case jr:return{href:void 0,linkDestination:jr}}return{}}function ta(e){let t=e.linkTo?e.linkTo:"none";"post"===t?t="attachment":"file"===t&&(t="media");const n=e.images.map((n=>function(e,t,n){return(0,be.createBlock)("core/image",{...e.id&&{id:parseInt(e.id)},url:e.url,alt:e.alt,caption:e.caption,sizeSlug:t,...ea(e,n)})}(n,e.sizeSlug,t)));return[{...(0,Le.omit)(e,["images","ids"]),linkTo:t,allowResize:!1},n]}const na={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"}},supports:{anchor:!0,align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=Xr(t),imageCrop:r,caption:a,linkTo:l}=t,i=`columns-${o} ${r?"is-cropped":""}`;return(0,ye.createElement)("figure",Ee.useBlockProps.save({className:i}),(0,ye.createElement)("ul",{className:"blocks-gallery-grid"},n.map((e=>{let t;switch(l){case Jr:t=e.fullUrl||e.url;break;case Yr:t=e.link}const n=(0,ye.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,ye.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,ye.createElement)("figure",null,t?(0,ye.createElement)("a",{href:t},n):n,!Ee.RichText.isEmpty(e.caption)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Ee.RichText.isEmpty(a)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},migrate:e=>ta(e)},oa={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0},isEligible(e){let{linkTo:t}=e;return!t||"attachment"===t||"media"===t},migrate:e=>ta(e),save(e){let{attributes:t}=e;const{images:n,columns:o=Xr(t),imageCrop:r,caption:a,linkTo:l}=t;return(0,ye.createElement)("figure",{className:`columns-${o} ${r?"is-cropped":""}`},(0,ye.createElement)("ul",{className:"blocks-gallery-grid"},n.map((e=>{let t;switch(l){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=(0,ye.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,ye.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,ye.createElement)("figure",null,t?(0,ye.createElement)("a",{href:t},n):n,!Ee.RichText.isEmpty(e.caption)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Ee.RichText.isEmpty(a)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},ra={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible(e){let{ids:t}=e;return t&&t.some((e=>"string"==typeof e))},migrate:e=>ta(e),save(e){let{attributes:t}=e;const{images:n,columns:o=Xr(t),imageCrop:r,caption:a,linkTo:l}=t;return(0,ye.createElement)("figure",{className:`columns-${o} ${r?"is-cropped":""}`},(0,ye.createElement)("ul",{className:"blocks-gallery-grid"},n.map((e=>{let t;switch(l){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=(0,ye.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,ye.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,ye.createElement)("figure",null,t?(0,ye.createElement)("a",{href:t},n):n,!Ee.RichText.isEmpty(e.caption)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Ee.RichText.isEmpty(a)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},aa={attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=Xr(t),imageCrop:r,linkTo:a}=t;return(0,ye.createElement)("ul",{className:`columns-${o} ${r?"is-cropped":""}`},n.map((e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=(0,ye.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,ye.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,ye.createElement)("figure",null,t?(0,ye.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:e.caption})))})))},migrate:e=>ta(e)},la={attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible(e){let{images:t,ids:n}=e;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||(0,Le.some)(t,((e,t)=>!e&&null!==n[t]||parseInt(e,10)!==n[t])))},migrate:e=>ta(e),supports:{align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=Xr(t),imageCrop:r,linkTo:a}=t;return(0,ye.createElement)("ul",{className:`columns-${o} ${r?"is-cropped":""}`},n.map((e=>{let t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}const n=(0,ye.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,ye.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},(0,ye.createElement)("figure",null,t?(0,ye.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},ia={attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=Xr(t),align:r,imageCrop:a,linkTo:l}=t,i=nt()(`columns-${o}`,{alignnone:"none"===r,"is-cropped":a});return(0,ye.createElement)("div",{className:i},n.map((e=>{let t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}const n=(0,ye.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return(0,ye.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?(0,ye.createElement)("a",{href:t},n):n)})))},migrate:e=>ta(e)};var sa=[na,oa,ra,aa,la,ia],ca=window.wp.viewport;const ua=(0,ye.createElement)(Ee.BlockIcon,{icon:Wr}),ma=20,da="none",pa="media",ga="attachment",ha="custom",va=["noreferrer","noopener"],ba=["image"];function ya(e,t){switch(t){case"file":case Zr:return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:pa};case"post":case Kr:return{href:null==e?void 0:e.link,linkDestination:ga};case jr:return{href:void 0,linkDestination:da}}return{}}function fa(e,t){let{rel:n}=t;const o=e?"_blank":void 0;let r;return r=o||n?function(e){let t=e;return void 0===e||(0,Le.isEmpty)(t)||(0,Le.isEmpty)(t)||((0,Le.each)(va,(e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),(0,Le.isEmpty)(t)&&(t=void 0)),t}(n):void 0,{linkTarget:o,rel:r}}const _a=["core/image"];function ka(e){let{isHidden:t,captionFocused:n,onFocusCaption:o,className:r,value:a,placeholder:l,tagName:i,captionRef:s,...c}=e;return t?(0,ye.createElement)(ke.VisuallyHidden,gt({as:Ee.RichText},c)):(0,ye.createElement)(Ee.RichText,gt({ref:s,value:a,placeholder:l,className:r,tagName:i,isSelected:n,onClick:o},c))}var wa=e=>{const{attributes:t,isSelected:n,setAttributes:o,mediaPlaceholder:r,insertBlocksAfter:a,blockProps:l}=e,{align:i,columns:s,caption:c,imageCrop:u}=t,{children:m,...d}=(0,Ee.useInnerBlocksProps)(l,{allowedBlocks:_a,orientation:"horizontal",renderAppender:!1,__experimentalLayout:{type:"default",alignments:[]}}),[p,g]=(0,ye.useState)(!1);return(0,ye.useEffect)((()=>{n||g(!1)}),[n]),(0,ye.createElement)("figure",gt({},d,{className:nt()(l.className,"blocks-gallery-grid",{[`align${i}`]:i,[`columns-${s}`]:void 0!==s,"columns-default":void 0===s,"is-cropped":u})}),m,(0,ye.createElement)(fe.View,{className:"blocks-gallery-media-placeholder-wrapper",onClick:function(){p&&g(!1)}},r),(0,ye.createElement)(ka,{isHidden:!n&&Ee.RichText.isEmpty(c),captionFocused:p,onFocusCaption:function(){p||g(!0)},tagName:"figcaption",className:"blocks-gallery-caption","aria-label":(0,we.__)("Gallery caption text"),placeholder:(0,we.__)("Write gallery caption…"),value:c,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>a((0,be.createBlock)("core/paragraph"))}))};function Ea(e,t,n){return(0,ye.useMemo)((()=>function(){if(!e||0===e.length)return;const{imageSizes:o}=n();let r={};t&&(r=e.reduce(((e,t)=>{if(!t.id)return e;const n=o.reduce(((e,n)=>{const o=(0,Le.get)(t,["sizes",n.slug,"url"]),r=(0,Le.get)(t,["media_details","sizes",n.slug,"source_url"]);return{...e,[n.slug]:o||r}}),{});return{...e,[parseInt(t.id,10)]:n}}),{}));return o.filter((e=>{let{slug:t}=e;return(0,Le.some)(r,(e=>e[t]))})).map((e=>{let{name:t,slug:n}=e;return{value:n,label:t}}))}()),[e,t])}function Ca(e,t){const[n,o]=(0,ye.useState)([]);return(0,ye.useMemo)((()=>function(){let r=!1;const a=n.filter((t=>e.find((e=>t.clientId===e.clientId))));a.length<n.length&&(r=!0);e.forEach((e=>{e.fromSavedContent&&!a.find((t=>t.id===e.id))&&(r=!0,a.push(e))}));const l=e.filter((e=>!a.find((t=>e.clientId&&t.clientId===e.clientId))&&(null==t?void 0:t.find((t=>t.id===e.id)))&&!e.fromSavedConent));(r||(null==l?void 0:l.length)>0)&&o([...a,...l]);return l.length>0?l:null}()),[e,t])}const xa=[{value:Kr,label:(0,we.__)("Attachment Page")},{value:Zr,label:(0,we.__)("Media File")},{value:jr,label:(0,we._x)("None","Media item link option")}],Sa=["image"],Ba=ye.Platform.isNative?(0,we.__)("ADD MEDIA"):(0,we.__)("Drag images, upload new ones or select files from your library."),Ta=ye.Platform.isNative?{type:"stepper"}:{};var Na=(0,ot.compose)([ke.withNotices,(0,ca.withViewportMatch)({isNarrow:"< small"})])((function(e){const{setAttributes:t,attributes:n,className:o,clientId:r,noticeOperations:a,isSelected:l,noticeUI:i,insertBlocksAfter:s}=e,{columns:c,imageCrop:u,linkTarget:m,linkTo:d,shortCodeTransforms:p,sizeSlug:g}=n,{__unstableMarkNextChangeAsNotPersistent:h,replaceInnerBlocks:v,updateBlockAttributes:b}=(0,Ie.useDispatch)(Ee.store),{createSuccessNotice:y}=(0,Ie.useDispatch)(Ir.store),{getBlock:f,getSettings:_,preferredStyle:k}=(0,Ie.useSelect)((e=>{var t;const n=e(Ee.store).getSettings().__experimentalPreferredStyleVariations;return{getBlock:e(Ee.store).getBlock,getSettings:e(Ee.store).getSettings,preferredStyle:null==n||null===(t=n.value)||void 0===t?void 0:t["core/image"]}}),[]),w=(0,Ie.useSelect)((e=>{var t;return null===(t=e(Ee.store).getBlock(r))||void 0===t?void 0:t.innerBlocks}),[r]),E=(0,ye.useMemo)((()=>null==w?void 0:w.map((e=>({clientId:e.clientId,id:e.attributes.id,url:e.attributes.url,attributes:e.attributes,fromSavedContent:Boolean(e.originalContent)})))),[w]),C=function(e){const[t,n]=(0,ye.useState)([]),o=(0,Ie.useSelect)((n=>{if(null==e||!e.length)return t;const o=e.map((e=>e.attributes.id)).filter((e=>void 0!==e));return 0===o.length?t:n(Dt.store).getMediaItems({include:o.join(","),per_page:-1})}),[e]);return(null==o?void 0:o.length)!==(null==t?void 0:t.length)||null!=o&&o.some((e=>!t.find((t=>t.id===e.id))))?(n(o),o):t}(w),x=Ca(E,C);(0,ye.useEffect)((()=>{null==x||x.forEach((e=>{b(e.clientId,{...T(e.attributes),id:e.id,align:void 0})}))}),[x]);const S=function(e){const t=(0,Ie.useSelect)((t=>{if(!e||0===e.length)return;const n=t(Dt.store).getMedia;return e.map((e=>{const t=n(e.id);if(t)return{id:t.id,type:"image",url:t.source_url,mime:t.mime_type,alt:t.alt_text,link:t.link}}))}),[e]);if(t)return(0,Le.every)(t,(e=>e&&e.url))?t:void 0}(p);(0,ye.useEffect)((()=>{p&&S&&(z(S),t({shortCodeTransforms:void 0}))}),[p,S]);const B=Ea(C,l,_);function T(e){const t=e.id?(0,Le.find)(C,{id:e.id}):null;let o;return o=e.className&&""!==e.className?e.className:k?`is-style-${k}`:void 0,{...Qr(e,g),...ya(t,d),...fa(m,n),className:o,sizeSlug:g}}function N(e){var t;return Sa.some((t=>{var n;return 0===(null===(n=e.type)||void 0===n?void 0:n.indexOf(t))}))||0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))}function z(e){const t="[object FileList]"===Object.prototype.toString.call(e),n=t?Array.from(e).map((e=>e.url?e:Qr({url:(0,Pe.createBlobURL)(e)}))):e;n.every(N)||(a.removeAllNotices(),a.createErrorNotice((0,we.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-upload-invalid-file"}));const o=n.filter((e=>e.url||N(e))).map((e=>e.url?e:Qr({url:(0,Pe.createBlobURL)(e)}))),l=o.reduce(((e,t,n)=>(e[t.id]=n,e)),{}),i=t?w:w.filter((e=>o.find((t=>t.id===e.attributes.id)))),s=o.filter((e=>!i.find((t=>e.id===t.attributes.id)))).map((e=>(0,be.createBlock)("core/image",{id:e.id,url:e.url,caption:e.caption,alt:e.alt})));v(r,(0,Le.concat)(i,s).sort(((e,t)=>l[e.attributes.id]-l[t.attributes.id])))}(0,ye.useEffect)((()=>{var e,n,o,r,a,l;d||(h(),t({linkTo:(null===(e=window)||void 0===e||null===(n=e.wp)||void 0===n||null===(o=n.media)||void 0===o||null===(r=o.view)||void 0===r||null===(a=r.settings)||void 0===a||null===(l=a.defaultProps)||void 0===l?void 0:l.link)||jr}))}),[d]);const P=!!E.length,I=P&&E.some((e=>!!e.id)),M=E.some((e=>{var t;return!e.id&&0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))})),R=(0,ye.createElement)(Ee.MediaPlaceholder,{addToGallery:I,handleUpload:!1,isAppender:P,disableMediaButtons:P&&!l||M,icon:!P&&ua,labels:{title:!P&&(0,we.__)("Gallery"),instructions:!P&&Ba},onSelect:z,accept:"image/*",allowedTypes:Sa,multiple:!0,value:I?E:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:P?void 0:i}),L=(0,Ee.useBlockProps)({className:nt()(o,"has-nested-images")});if(!P)return(0,ye.createElement)(fe.View,L,R);const V=d&&"none"!==d;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Gallery settings")},E.length>1&&(0,ye.createElement)(ke.RangeControl,gt({label:(0,we.__)("Columns"),value:c||(H=E.length,H?Math.min(3,H):3),onChange:function(e){t({columns:e})},min:1,max:Math.min(8,E.length)},Ta,{required:!0})),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Crop images"),checked:!!u,onChange:function(){t({imageCrop:!u})},help:function(e){return e?(0,we.__)("Thumbnails are cropped to align."):(0,we.__)("Thumbnails are not cropped.")}}),(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Link to"),value:d,onChange:function(e){t({linkTo:e});const n={},o=[];f(r).innerBlocks.forEach((t=>{o.push(t.clientId);const r=t.attributes.id?(0,Le.find)(C,{id:t.attributes.id}):null;n[t.clientId]=ya(r,e)})),b(o,n,!0);const a=[...xa].find((t=>t.value===e));y((0,we.sprintf)((0,we.__)("All gallery image links updated to: %s"),a.label),{id:"gallery-attributes-linkTo",type:"snackbar"})},options:xa,hideCancelButton:!0}),V&&(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Open in new tab"),checked:"_blank"===m,onChange:function(e){const n=e?"_blank":void 0;t({linkTarget:n});const o={},a=[];f(r).innerBlocks.forEach((e=>{a.push(e.clientId),o[e.clientId]=fa(n,e.attributes)})),b(a,o,!0);const l=e?(0,we.__)("All gallery images updated to open in new tab"):(0,we.__)("All gallery images updated to not open in new tab");y(l,{id:"gallery-attributes-openInNewTab",type:"snackbar"})}}),(null==B?void 0:B.length)>0&&(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Image size"),value:g,options:B,onChange:function(e){t({sizeSlug:e});const n={},o=[];f(r).innerBlocks.forEach((t=>{o.push(t.clientId);const r=t.attributes.id?(0,Le.find)(C,{id:t.attributes.id}):null;n[t.clientId]=function(e,t){const n=(0,Le.get)(e,["media_details","sizes",t,"source_url"]);return n?{url:n,width:void 0,height:void 0,sizeSlug:t}:{}}(r,e)})),b(o,n,!0);const a=B.find((t=>t.value===e));y((0,we.sprintf)((0,we.__)("All gallery image sizes updated to: %s"),a.label),{id:"gallery-attributes-sizeSlug",type:"snackbar"})},hideCancelButton:!0}),ye.Platform.isWeb&&!B&&I&&(0,ye.createElement)(ke.BaseControl,{className:"gallery-image-sizes"},(0,ye.createElement)(ke.BaseControl.VisualLabel,null,(0,we.__)("Image size")),(0,ye.createElement)(fe.View,{className:"gallery-image-sizes__loading"},(0,ye.createElement)(ke.Spinner,null),(0,we.__)("Loading options…"))))),i,(0,ye.createElement)(wa,gt({},e,{images:E,mediaPlaceholder:R,blockProps:L,insertBlocksAfter:s})));var H}));const za=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large";const n=(0,Le.pick)(e,["alt","id","link","caption"]);n.url=(0,Le.get)(e,["sizes",t,"url"])||(0,Le.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=(0,Le.get)(e,["sizes","full","url"])||(0,Le.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};var Pa=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));var Ia=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));var Ma=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));var Ra=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));const La="none",Va="file",Ha="post";class Aa extends ye.Component{constructor(){super(...arguments),this.onSelectImage=this.onSelectImage.bind(this),this.onRemoveImage=this.onRemoveImage.bind(this),this.bindContainer=this.bindContainer.bind(this),this.onEdit=this.onEdit.bind(this),this.onSelectImageFromLibrary=this.onSelectImageFromLibrary.bind(this),this.onSelectCustomURL=this.onSelectCustomURL.bind(this),this.state={isEditing:!1}}bindContainer(e){this.container=e}onSelectImage(){this.props.isSelected||this.props.onSelect()}onRemoveImage(e){this.container===this.container.ownerDocument.activeElement&&this.props.isSelected&&-1!==[ht.BACKSPACE,ht.DELETE].indexOf(e.keyCode)&&(e.preventDefault(),this.props.onRemove())}onEdit(){this.setState({isEditing:!0})}componentDidUpdate(){const{image:e,url:t,__unstableMarkNextChangeAsNotPersistent:n}=this.props;e&&!t&&(n(),this.props.setAttributes({url:e.source_url,alt:e.alt_text}))}deselectOnBlur(){this.props.onDeselect()}onSelectImageFromLibrary(e){const{setAttributes:t,id:n,url:o,alt:r,caption:a,sizeSlug:l}=this.props;if(!e||!e.url)return;let i=za(e,l);((e,t)=>!e&&(0,Pe.isBlobURL)(t))(n,o)&&r&&(i=(0,Le.omit)(i,["alt"])),a&&!(0,Le.get)(i,["caption"])&&(i=(0,Le.omit)(i,["caption"])),t(i),this.setState({isEditing:!1})}onSelectCustomURL(e){const{setAttributes:t,url:n}=this.props;e!==n&&(t({url:e,id:void 0}),this.setState({isEditing:!1}))}render(){const{url:e,alt:t,id:n,linkTo:o,link:r,isFirstItem:a,isLastItem:l,isSelected:i,caption:s,onRemove:c,onMoveForward:u,onMoveBackward:m,setAttributes:d,"aria-label":p}=this.props,{isEditing:g}=this.state;let h;switch(o){case Va:h=e;break;case Ha:h=r}const v=(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)("img",{src:e,alt:t,"data-id":n,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":p,ref:this.bindContainer}),(0,Pe.isBlobURL)(e)&&(0,ye.createElement)(ke.Spinner,null)),b=nt()({"is-selected":i,"is-transient":(0,Pe.isBlobURL)(e)});return(0,ye.createElement)("figure",{className:b,onClick:this.onSelectImage,onFocus:this.onSelectImage},!g&&(h?(0,ye.createElement)("a",{href:h},v):v),g&&(0,ye.createElement)(Ee.MediaPlaceholder,{labels:{title:(0,we.__)("Edit gallery image")},icon:Pa,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:n,src:e}}),(0,ye.createElement)(ke.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},(0,ye.createElement)(ke.Button,{icon:Ia,onClick:a?void 0:m,label:(0,we.__)("Move image backward"),"aria-disabled":a,disabled:!i}),(0,ye.createElement)(ke.Button,{icon:Ma,onClick:l?void 0:u,label:(0,we.__)("Move image forward"),"aria-disabled":l,disabled:!i})),(0,ye.createElement)(ke.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},(0,ye.createElement)(ke.Button,{icon:$o,onClick:this.onEdit,label:(0,we.__)("Replace image"),disabled:!i}),(0,ye.createElement)(ke.Button,{icon:Ra,onClick:c,label:(0,we.__)("Remove image"),disabled:!i})),!g&&(i||s)&&(0,ye.createElement)(Ee.RichText,{tagName:"figcaption","aria-label":(0,we.__)("Image caption text"),placeholder:i?(0,we.__)("Add caption"):null,value:s,onChange:e=>d({caption:e}),inlineToolbar:!0}))}}var Fa=(0,ot.compose)([(0,Ie.withSelect)(((e,t)=>{const{getMedia:n}=e(Dt.store),{id:o}=t;return{image:o?n(parseInt(o,10)):null}})),(0,Ie.withDispatch)((e=>{const{__unstableMarkNextChangeAsNotPersistent:t}=e(Ee.store);return{__unstableMarkNextChangeAsNotPersistent:t}}))])(Aa);function Da(e){let{isHidden:t,...n}=e;return t?(0,ye.createElement)(ke.VisuallyHidden,gt({as:Ee.RichText},n)):(0,ye.createElement)(Ee.RichText,n)}var Ga=e=>{const{attributes:t,isSelected:n,setAttributes:o,selectedImage:r,mediaPlaceholder:a,onMoveBackward:l,onMoveForward:i,onRemoveImage:s,onSelectImage:c,onDeselectImage:u,onSetImageAttributes:m,insertBlocksAfter:d,blockProps:p}=e,{align:g,columns:h=Xr(t),caption:v,imageCrop:b,images:y}=t;return(0,ye.createElement)("figure",gt({},p,{className:nt()(p.className,{[`align${g}`]:g,[`columns-${h}`]:h,"is-cropped":b})}),(0,ye.createElement)("ul",{className:"blocks-gallery-grid"},y.map(((e,o)=>{const a=(0,we.sprintf)((0,we.__)("image %1$d of %2$d in gallery"),o+1,y.length);return(0,ye.createElement)("li",{className:"blocks-gallery-item",key:e.id?`${e.id}-${o}`:e.url},(0,ye.createElement)(Fa,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===o,isLastItem:o+1===y.length,isSelected:n&&r===o,onMoveBackward:l(o),onMoveForward:i(o),onRemove:s(o),onSelect:c(o),onDeselect:u(o),setAttributes:e=>m(o,e),caption:e.caption,"aria-label":a,sizeSlug:t.sizeSlug}))}))),a,(0,ye.createElement)(Da,{isHidden:!n&&Ee.RichText.isEmpty(v),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":(0,we.__)("Gallery caption text"),placeholder:(0,we.__)("Write gallery caption…"),value:v,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>d((0,be.createBlock)("core/paragraph"))}))};const Ua=[{value:Ha,label:(0,we.__)("Attachment Page")},{value:Va,label:(0,we.__)("Media File")},{value:La,label:(0,we.__)("None")}],Oa=["image"],qa=ye.Platform.select({web:(0,we.__)("Drag images, upload new ones or select files from your library."),native:(0,we.__)("ADD MEDIA")}),$a=ye.Platform.select({web:{},native:{type:"stepper"}});(0,ot.compose)([ke.withNotices,(0,ca.withViewportMatch)({isNarrow:"< small"})])((function(e){const{attributes:t,clientId:n,isSelected:o,noticeUI:r,noticeOperations:a,onFocus:l}=e,{columns:i=Xr(t),imageCrop:s,images:c,linkTo:u,sizeSlug:m}=t,[d,p]=(0,ye.useState)(),[g,h]=(0,ye.useState)(),{__unstableMarkNextChangeAsNotPersistent:v}=(0,Ie.useDispatch)(Ee.store),{imageSizes:b,mediaUpload:y,getMedia:f,wasBlockJustInserted:_}=(0,Ie.useSelect)((e=>{const t=e(Ee.store).getSettings();return{imageSizes:t.imageSizes,mediaUpload:t.mediaUpload,getMedia:e(Dt.store).getMedia,wasBlockJustInserted:e(Ee.store).wasBlockJustInserted(n,"inserter_menu")}})),k=(0,ye.useMemo)((()=>o?(0,Le.reduce)(t.ids,((e,t)=>{if(!t)return e;const n=f(t),o=(0,Le.reduce)(b,((e,t)=>{const o=(0,Le.get)(n,["sizes",t.slug,"url"]),r=(0,Le.get)(n,["media_details","sizes",t.slug,"source_url"]);return{...e,[t.slug]:o||r}}),{});return{...e,[parseInt(t,10)]:o}}),{}):{}),[o,t.ids,b]);function w(t){if(t.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');t.images&&(t={...t,ids:(0,Le.map)(t.images,(e=>{let{id:t}=e;return parseInt(t,10)}))}),e.setAttributes(t)}function E(e,t){const n=[...c];n.splice(t,1,c[e]),n.splice(e,1,c[t]),p(t),w({images:n})}function C(e){const t=(0,Le.toString)(e.id),n=(0,Le.find)(c,{id:t}),o=n?n.caption:e.caption;if(!g)return o;const r=(0,Le.find)(g,{id:t});return r&&r.caption!==e.caption?e.caption:o}function x(e){h(e.map((e=>({id:(0,Le.toString)(e.id),caption:e.caption})))),w({images:e.map((e=>({...za(e,m),caption:C(e),id:(0,Le.toString)(e.id)}))),columns:t.columns?Math.min(e.length,t.columns):t.columns})}(0,ye.useEffect)((()=>{if("web"===ye.Platform.OS&&c&&c.length>0&&(0,Le.every)(c,(e=>{let{url:t}=e;return(0,Pe.isBlobURL)(t)}))){const e=(0,Le.map)(c,(e=>{let{url:t}=e;return(0,Pe.getBlobByURL)(t)}));(0,Le.forEach)(c,(e=>{let{url:t}=e;return(0,Pe.revokeBlobURL)(t)})),y({filesList:e,onFileChange:x,allowedTypes:["image"]})}}),[]),(0,ye.useEffect)((()=>{o||p()}),[o]),(0,ye.useEffect)((()=>{var e,t,n,o,r,a;u||(v(),w({linkTo:(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t||null===(n=t.media)||void 0===n||null===(o=n.view)||void 0===o||null===(r=o.settings)||void 0===r||null===(a=r.defaultProps)||void 0===a?void 0:a.link)||La}))}),[u]);const S=!!c.length,B=S&&c.some((e=>!!e.id)),T=(0,ye.createElement)(Ee.MediaPlaceholder,{addToGallery:B,isAppender:S,disableMediaButtons:S&&!o,icon:!S&&ua,labels:{title:!S&&(0,we.__)("Gallery"),instructions:!S&&qa},onSelect:x,accept:"image/*",allowedTypes:Oa,multiple:!0,value:B?c:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:S?void 0:r,onFocus:l,autoOpenMediaUpload:!S&&o&&_}),N=(0,Ee.useBlockProps)();if(!S)return(0,ye.createElement)(fe.View,N,T);const z=(0,Le.map)((0,Le.filter)(b,(e=>{let{slug:t}=e;return(0,Le.some)(k,(e=>e[t]))})),(e=>{let{name:t,slug:n}=e;return{value:n,label:t}})),P=S&&!(0,Le.isEmpty)(z);return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Gallery settings")},c.length>1&&(0,ye.createElement)(ke.RangeControl,gt({label:(0,we.__)("Columns"),value:i,onChange:function(e){w({columns:e})},min:1,max:Math.min(8,c.length)},$a,{required:!0})),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Crop images"),checked:!!s,onChange:function(){w({imageCrop:!s})},help:function(e){return e?(0,we.__)("Thumbnails are cropped to align."):(0,we.__)("Thumbnails are not cropped.")}}),(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Link to"),value:u,onChange:function(e){w({linkTo:e})},options:Ua,hideCancelButton:!0}),P&&(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Image size"),value:m,options:z,onChange:function(e){w({images:(0,Le.map)(c,(t=>{if(!t.id)return t;const n=(0,Le.get)(k,[parseInt(t.id,10),e]);return{...t,...n&&{url:n}}})),sizeSlug:e})},hideCancelButton:!0}))),r,(0,ye.createElement)(Ga,gt({},e,{selectedImage:d,mediaPlaceholder:T,onMoveBackward:function(e){return()=>{0!==e&&E(e,e-1)}},onMoveForward:function(e){return()=>{e!==c.length-1&&E(e,e+1)}},onRemoveImage:function(e){return()=>{const n=(0,Le.filter)(c,((t,n)=>e!==n));p(),w({images:n,columns:t.columns?Math.min(n.length,t.columns):t.columns})}},onSelectImage:function(e){return()=>{p(e)}},onDeselectImage:function(){return()=>{p()}},onSetImageAttributes:function(e,t){c[e]&&w({images:[...c.slice(0,e),{...c[e],...t},...c.slice(e+1)]})},blockProps:N,onFocusGalleryCaption:function(){p()}})))}));var Wa=(0,ot.compose)([ke.withNotices])((function(e){return(0,ye.createElement)(Na,e)}));var ja=window.wp.hooks;const Za=e=>e?e.split(",").map((e=>parseInt(e,10))):[];(0,ja.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-to",(function(e){var t;if("core/gallery"===e.name&&(null===(t=e.attributes)||void 0===t?void 0:t.images.length)>0){const t=e.attributes.images.map((t=>{let{url:n,id:o,alt:r}=t;return(0,be.createBlock)("core/image",{url:n,id:o?parseInt(o,10):null,alt:r,sizeSlug:e.attributes.sizeSlug,linkDestination:e.attributes.linkDestination})}));delete e.attributes.ids,delete e.attributes.images,e.innerBlocks=t}return e})),(0,ja.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-from",(function(e,t){const n=(Array.isArray(t)?t:[t]).find((t=>{var n;return"core/gallery"===t.name&&t.innerBlocks.length>0&&!(null!==(n=t.attributes.images)&&void 0!==n&&n.length)>0&&!e.name.includes("core/")}));if(n){const e=n.innerBlocks.map((e=>{let{attributes:{url:t,id:n,alt:o}}=e;return{url:t,id:n?parseInt(n,10):null,alt:o}})),t=e.map((e=>{let{id:t}=e;return t}));n.attributes.images=e,n.attributes.ids=t}return e}));const Ka={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t,sizeSlug:n}=e[0];t=(0,Le.every)(e,["align",t])?t:void 0,n=(0,Le.every)(e,["sizeSlug",n])?n:void 0;const o=(0,Le.filter)(e,(e=>{let{url:t}=e;return t}));{const e=o.map((e=>(0,be.createBlock)("core/image",e)));return(0,be.createBlock)("core/gallery",{align:t,sizeSlug:n},e)}}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:e=>{let{named:{ids:t}}=e}},ids:{type:"array",shortcode:e=>{let{named:{ids:t}}=e}},shortCodeTransforms:{type:"array",shortcode:e=>{let{named:{ids:t}}=e;return Za(t).map((e=>({id:parseInt(e)})))}},columns:{type:"number",shortcode:e=>{let{named:{columns:t="3"}}=e;return parseInt(t,10)}},linkTo:{type:"string",shortcode:e=>{let{named:{link:t}}=e;switch(t){case"post":return Kr;case"file":return Zr;default:return jr}}}},isMatch(e){let{named:t}=e;return void 0!==t.ids}},{type:"files",priority:1,isMatch:e=>1!==e.length&&(0,Le.every)(e,(e=>0===e.type.indexOf("image/"))),transform(e){{const t=e.map((e=>(0,be.createBlock)("core/image",{url:(0,Pe.createBlobURL)(e)})));return(0,be.createBlock)("core/gallery",{},t)}}}],to:[{type:"block",blocks:["core/image"],transform:(e,t)=>{let{align:n,images:o,ids:r,sizeSlug:a}=e;return t.length>0?t.map((e=>{let{attributes:{id:t,url:o,alt:r,caption:a,sizeSlug:l,linkDestination:i,href:s,linkTarget:c}}=e;return(0,be.createBlock)("core/image",{id:t,url:o,alt:r,caption:a,sizeSlug:l,align:n,linkDestination:i,href:s,linkTarget:c})})):(0,be.createBlock)("core/image",{align:n})}}]};var Qa=Ka;const Ja={apiVersion:2,name:"core/gallery",title:"Gallery",category:"media",description:"Display multiple images in a rich gallery.",keywords:["images","photos"],textdomain:"default",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},shortCodeTransforms:{type:"array",default:[],items:{type:"object"}},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},fixedHeight:{type:"boolean",default:!0},linkTarget:{type:"string"},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"},allowResize:{type:"boolean",default:!1}},providesContext:{allowResize:"allowResize",imageCrop:"imageCrop",fixedHeight:"fixedHeight"},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},{name:Ya}=Ja,Xa={icon:Wr,example:{attributes:{columns:2},innerBlocks:[{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}}]},transforms:Qa,edit:Wa,save:function(e){let{attributes:t}=e;const{caption:n,columns:o,imageCrop:r}=t,a=nt()("has-nested-images",{[`columns-${o}`]:void 0!==o,"columns-default":void 0===o,"is-cropped":r}),l=Ee.useBlockProps.save({className:a}),i=Ee.useInnerBlocksProps.save(l);return(0,ye.createElement)("figure",i,i.children,!Ee.RichText.isEmpty(n)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:n}))},deprecated:sa};var el=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));const tl=e=>{if(e.tagName||(e={...e,tagName:"div"}),!e.customTextColor&&!e.customBackgroundColor)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),{...(0,Le.omit)(e,["customTextColor","customBackgroundColor"]),style:t}},nl=[{attributes:{tagName:{type:"string",default:"div"},templateLock:{type:"string"}},supports:{align:["wide","full"],anchor:!0,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{radius:!0}},save(e){let{attributes:t}=e;const{tagName:n}=t;return(0,ye.createElement)(n,Ee.useBlockProps.save(),(0,ye.createElement)("div",{className:"wp-block-group__inner-container"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:tl,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,textColor:r,customTextColor:a}=t,l=(0,Ee.getColorClassName)("background-color",n),i=(0,Ee.getColorClassName)("color",r),s=nt()(l,i,{"has-text-color":r||a,"has-background":n||o}),c={backgroundColor:l?void 0:o,color:i?void 0:a};return(0,ye.createElement)("div",{className:s,style:c},(0,ye.createElement)("div",{className:"wp-block-group__inner-container"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:tl,supports:{align:["wide","full"],anchor:!0,html:!1},save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,textColor:r,customTextColor:a}=t,l=(0,Ee.getColorClassName)("background-color",n),i=(0,Ee.getColorClassName)("color",r),s=nt()(l,{"has-text-color":r||a,"has-background":n||o}),c={backgroundColor:l?void 0:o,color:i?void 0:a};return(0,ye.createElement)("div",{className:s,style:c},(0,ye.createElement)("div",{className:"wp-block-group__inner-container"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:tl,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o}=t,r=(0,Ee.getColorClassName)("background-color",n),a=nt()(r,{"has-background":n||o}),l={backgroundColor:r?void 0:o};return(0,ye.createElement)("div",{className:a,style:l},(0,ye.createElement)(Ee.InnerBlocks.Content,null))}}];var ol=nl;const rl={header:(0,we.__)("The <header> element should represent introductory content, typically a group of introductory or navigational aids."),main:(0,we.__)("The <main> element should be used for the primary content of your document only. "),section:(0,we.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element."),article:(0,we.__)("The <article> element should represent a self contained, syndicatable portion of the document."),aside:(0,we.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),footer:(0,we.__)("The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).")};var al=function(e){let{attributes:t,setAttributes:n,clientId:o}=e;const{hasInnerBlocks:r,themeSupportsLayout:a}=(0,Ie.useSelect)((e=>{var t;const{getBlock:n,getSettings:r}=e(Ee.store),a=n(o);return{hasInnerBlocks:!(!a||!a.innerBlocks.length),themeSupportsLayout:null===(t=r())||void 0===t?void 0:t.supportsLayout}}),[o]),l=(0,Ee.useSetting)("layout")||{},{tagName:i="div",templateLock:s,layout:c={}}=t,u=c&&c.inherit?l:c,{type:m="default"}=u,d=a||"default"!==m,p=(0,Ee.useBlockProps)(),g=(0,Ee.useInnerBlocksProps)(d?p:{className:"wp-block-group__inner-container"},{templateLock:s,renderAppender:r?void 0:Ee.InnerBlocks.ButtonBlockAppender,__experimentalLayout:d?u:void 0});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,{__experimentalGroup:"advanced"},(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("HTML element"),options:[{label:(0,we.__)("Default (<div>)"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}],value:i,onChange:e=>n({tagName:e}),help:rl[i]})),d&&(0,ye.createElement)(i,g),!d&&(0,ye.createElement)(i,p,(0,ye.createElement)("div",g)))};const ll=[{name:"group-row",title:(0,we.__)("Row"),description:(0,we.__)("Blocks shown in a row."),attributes:{layout:{type:"flex",allowOrientation:!1}},scope:["inserter"],isActive:e=>{var t;return"flex"===(null===(t=e.layout)||void 0===t?void 0:t.type)}}];var il=ll;const sl={apiVersion:2,name:"core/group",title:"Group",category:"design",description:"Combine blocks into a group.",keywords:["container","wrapper","row","section"],textdomain:"default",attributes:{tagName:{type:"string",default:"div"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{align:["wide","full"],anchor:!0,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},__experimentalLayout:!0},editorStyle:"wp-block-group-editor",style:"wp-block-group"},{name:cl}=sl,ul={icon:el,example:{attributes:{style:{color:{text:"#000000",background:"#ffffff"}}},innerBlocks:[{name:"core/paragraph",attributes:{customTextColor:"#cf2e2e",fontSize:"large",content:(0,we.__)("One.")}},{name:"core/paragraph",attributes:{customTextColor:"#ff6900",fontSize:"large",content:(0,we.__)("Two.")}},{name:"core/paragraph",attributes:{customTextColor:"#fcb900",fontSize:"large",content:(0,we.__)("Three.")}},{name:"core/paragraph",attributes:{customTextColor:"#00d084",fontSize:"large",content:(0,we.__)("Four.")}},{name:"core/paragraph",attributes:{customTextColor:"#0693e3",fontSize:"large",content:(0,we.__)("Five.")}},{name:"core/paragraph",attributes:{customTextColor:"#9b51e0",fontSize:"large",content:(0,we.__)("Six.")}}]},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){if(1===e.length&&"core/group"===e[0].name)return;const t=["wide","full"],n=e.reduce(((e,n)=>{const{align:o}=n.attributes;return t.indexOf(o)>t.indexOf(e)?o:e}),void 0),o=e.map((e=>(0,be.createBlock)(e.name,e.attributes,e.innerBlocks)));return(0,be.createBlock)("core/group",{align:n},o)}}]},edit:al,save:function(e){let{attributes:{tagName:t}}=e;return(0,ye.createElement)(t,Ee.useInnerBlocksProps.save(Ee.useBlockProps.save()))},deprecated:ol,variations:il};var ml=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"}));const dl={className:!1,anchor:!0},pl={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},gl=e=>{if(!e.customTextColor)return e;const t={color:{text:e.customTextColor}};return{...(0,Le.omit)(e,["customTextColor"]),style:t}},hl=["left","right","center"],vl=e=>{const{align:t,...n}=e;return hl.includes(t)?{...n,textAlign:t}:e},bl=[{supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},fontSize:!0,lineHeight:!0,__experimentalSelector:{"core/heading/h1":"h1","core/heading/h2":"h2","core/heading/h3":"h3","core/heading/h4":"h4","core/heading/h5":"h5","core/heading/h6":"h6"},__unstablePasteTextInline:!0},attributes:pl,isEligible:e=>{let{align:t}=e;return hl.includes(t)},migrate:vl,save(e){let{attributes:t}=e;const{align:n,content:o,level:r}=t,a="h"+r,l=nt()({[`has-text-align-${n}`]:n});return(0,ye.createElement)(a,Ee.useBlockProps.save({className:l}),(0,ye.createElement)(Ee.RichText.Content,{value:o}))}},{supports:dl,attributes:{...pl,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>gl(vl(e)),save(e){let{attributes:t}=e;const{align:n,content:o,customTextColor:r,level:a,textColor:l}=t,i="h"+a,s=(0,Ee.getColorClassName)("color",l),c=nt()({[s]:s,"has-text-color":l||r,[`has-text-align-${n}`]:n});return(0,ye.createElement)(Ee.RichText.Content,{className:c||void 0,tagName:i,style:{color:s?void 0:r},value:o})}},{attributes:{...pl,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>gl(vl(e)),save(e){let{attributes:t}=e;const{align:n,content:o,customTextColor:r,level:a,textColor:l}=t,i="h"+a,s=(0,Ee.getColorClassName)("color",l),c=nt()({[s]:s,[`has-text-align-${n}`]:n});return(0,ye.createElement)(Ee.RichText.Content,{className:c||void 0,tagName:i,style:{color:s?void 0:r},value:o})},supports:dl},{supports:dl,attributes:{...pl,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>gl(vl(e)),save(e){let{attributes:t}=e;const{align:n,level:o,content:r,textColor:a,customTextColor:l}=t,i="h"+o,s=(0,Ee.getColorClassName)("color",a),c=nt()({[s]:s});return(0,ye.createElement)(Ee.RichText.Content,{className:c||void 0,tagName:i,style:{textAlign:n,color:s?void 0:l},value:r})}}];var yl=bl;function fl(e){let{level:t,isPressed:n=!1}=e;const o={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return o.hasOwnProperty(t)?(0,ye.createElement)(ke.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},(0,ye.createElement)(ke.Path,{d:o[t]})):null}const _l=[1,2,3,4,5,6],kl={className:"block-library-heading-level-dropdown"};function wl(e){let{selectedLevel:t,onChange:n}=e;return(0,ye.createElement)(ke.ToolbarDropdownMenu,{popoverProps:kl,icon:(0,ye.createElement)(fl,{level:t}),label:(0,we.__)("Change heading level"),controls:_l.map((e=>{{const o=e===t;return{icon:(0,ye.createElement)(fl,{level:e,isPressed:o}),label:(0,we.sprintf)((0,we.__)("Heading %d"),e),isActive:o,onClick(){n(e)}}}}))})}const El={},Cl=e=>(0,Le.trim)((0,Le.deburr)((e=>{const t=document.createElement("div");return t.innerHTML=e,t.innerText})(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase(),"-"),xl=(e,t)=>{const n=Cl(t);if(""===n)return null;delete El[e];let o=n,r=0;for(;Object.values(El).includes(o);)r+=1,o=n+"-"+r;return o},Sl=(e,t)=>{El[e]=t};var Bl=function(e){let{attributes:t,setAttributes:n,mergeBlocks:o,onReplace:r,style:a,clientId:l}=e;const{textAlign:i,content:s,level:c,placeholder:u,anchor:m}=t,d="h"+c,p=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${i}`]:i}),style:a}),{canGenerateAnchors:g}=(0,Ie.useSelect)((e=>({canGenerateAnchors:!!e(Ee.store).getSettings().__experimentalGenerateAnchors})),[]),{__unstableMarkNextChangeAsNotPersistent:h}=(0,Ie.useDispatch)(Ee.store);return(0,ye.useEffect)((()=>{if(g)return!m&&s&&(h(),n({anchor:xl(l,s)})),Sl(l,m),()=>Sl(l,null)}),[m,s,l,g]),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(wl,{selectedLevel:c,onChange:e=>n({level:e})}),(0,ye.createElement)(Ee.AlignmentControl,{value:i,onChange:e=>{n({textAlign:e})}})),(0,ye.createElement)(Ee.RichText,gt({identifier:"content",tagName:d,value:s,onChange:e=>{const t={content:e};!g||m&&e&&xl(l,s)!==m||(t.anchor=xl(l,e)),n(t)},onMerge:o,onSplit:(e,n)=>{let o;var r;n||e?o=(0,be.createBlock)("core/heading",{...t,content:e}):o=(0,be.createBlock)(null!==(r=(0,be.getDefaultBlockName)())&&void 0!==r?r:"core/heading");return n&&(o.clientId=l),o},onReplace:r,onRemove:()=>r([]),"aria-label":(0,we.__)("Heading text"),placeholder:u||(0,we.__)("Heading"),textAlign:i},p)))};const{name:Tl}={apiVersion:2,name:"core/heading",title:"Heading",category:"text",description:"Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",keywords:["title","subtitle"],textdomain:"default",attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",__experimentalRole:"content"},level:{type:"number",default:2},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"},Nl={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((e=>{let{content:t,anchor:n}=e;return(0,be.createBlock)(Tl,{content:t,anchor:n})}))},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:e=>{let{phrasingContentSchema:t,isPaste:n}=e;const o={children:t,attributes:n?[]:["style","id"]};return{h1:o,h2:o,h3:o,h4:o,h5:o,h6:o}},transform(e){const t=(0,be.getBlockAttributes)(Tl,e.outerHTML),{textAlign:n}=e.style||{};var o;return t.level=(o=e.nodeName,Number(o.substr(1))),"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),(0,be.createBlock)(Tl,t)}},...[1,2,3,4,5,6].map((e=>({type:"prefix",prefix:Array(e+1).join("#"),transform:t=>(0,be.createBlock)(Tl,{level:e,content:t})}))),...[1,2,3,4,5,6].map((e=>({type:"enter",regExp:new RegExp(`^/(h|H)${e}$`),transform:t=>(0,be.createBlock)(Tl,{level:e,content:t})})))],to:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map((e=>{let{content:t,anchor:n}=e;return(0,be.createBlock)("core/paragraph",{content:t,anchor:n})}))}]};var zl=Nl;const Pl={apiVersion:2,name:"core/heading",title:"Heading",category:"text",description:"Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",keywords:["title","subtitle"],textdomain:"default",attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",__experimentalRole:"content"},level:{type:"number",default:2},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"},{name:Il}=Pl,Ml={icon:ml,example:{attributes:{content:(0,we.__)("Code is Poetry"),level:2}},__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n){const{content:t,level:n}=e;return(0,Le.isEmpty)(t)?(0,we.sprintf)((0,we.__)("Level %s. Empty."),n):(0,we.sprintf)((0,we.__)("Level %1$s. %2$s"),n,t)}},transforms:zl,deprecated:yl,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:Bl,save:function(e){let{attributes:t}=e;const{textAlign:n,content:o,level:r}=t,a="h"+r,l=nt()({[`has-text-align-${n}`]:n});return(0,ye.createElement)(a,Ee.useBlockProps.save({className:l}),(0,ye.createElement)(Ee.RichText.Content,{value:o}))}};var Rl=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"}));var Ll={from:[{type:"block",blocks:["core/code"],transform:e=>{let{content:t}=e;return(0,be.createBlock)("core/html",{content:t})}}]};const Vl={apiVersion:2,name:"core/html",title:"Custom HTML",category:"widgets",description:"Add custom HTML code and preview it as you edit.",keywords:["embed"],textdomain:"default",attributes:{content:{type:"string",source:"html"}},supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-html-editor"},{name:Hl}=Vl,Al={icon:Rl,example:{attributes:{content:"<marquee>"+(0,we.__)("Welcome to the wonderful world of blocks…")+"</marquee>"}},edit:function(e){let{attributes:t,setAttributes:n,isSelected:o}=e;const[r,a]=(0,ye.useState)(),l=(0,Ie.useSelect)((e=>["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t",...(0,Ee.transformStyles)(e(Ee.store).getSettings().styles)]),[]);return(0,ye.createElement)("div",(0,Ee.useBlockProps)({className:"block-library-html__edit"}),(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,null,(0,ye.createElement)(ke.ToolbarButton,{className:"components-tab-button",isPressed:!r,onClick:function(){a(!1)}},(0,ye.createElement)("span",null,"HTML")),(0,ye.createElement)(ke.ToolbarButton,{className:"components-tab-button",isPressed:r,onClick:function(){a(!0)}},(0,ye.createElement)("span",null,(0,we.__)("Preview"))))),(0,ye.createElement)(ke.Disabled.Consumer,null,(e=>r||e?(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.SandBox,{html:t.content,styles:l}),!o&&(0,ye.createElement)("div",{className:"block-library-html__preview-overlay"})):(0,ye.createElement)(Ee.PlainText,{value:t.content,onChange:e=>n({content:e}),placeholder:(0,we.__)("Write HTML…"),"aria-label":(0,we.__)("HTML")}))))},save:function(e){let{attributes:t}=e;return(0,ye.createElement)(ye.RawHTML,null,t.content)},transforms:Ll},Fl={align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},Dl=[{attributes:Fl,save(e){let{attributes:t}=e;const{url:n,alt:o,caption:r,align:a,href:l,width:i,height:s,id:c}=t,u=nt()({[`align${a}`]:a,"is-resized":i||s}),m=(0,ye.createElement)("img",{src:n,alt:o,className:c?`wp-image-${c}`:null,width:i,height:s});return(0,ye.createElement)("figure",{className:u},l?(0,ye.createElement)("a",{href:l},m):m,!Ee.RichText.isEmpty(r)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:r}))}},{attributes:Fl,save(e){let{attributes:t}=e;const{url:n,alt:o,caption:r,align:a,href:l,width:i,height:s,id:c}=t,u=(0,ye.createElement)("img",{src:n,alt:o,className:c?`wp-image-${c}`:null,width:i,height:s});return(0,ye.createElement)("figure",{className:a?`align${a}`:null},l?(0,ye.createElement)("a",{href:l},u):u,!Ee.RichText.isEmpty(r)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:r}))}},{attributes:Fl,save(e){let{attributes:t}=e;const{url:n,alt:o,caption:r,align:a,href:l,width:i,height:s}=t,c=i||s?{width:i,height:s}:{},u=(0,ye.createElement)("img",gt({src:n,alt:o},c));let m={};return i?m={width:i}:"left"!==a&&"right"!==a||(m={maxWidth:"50%"}),(0,ye.createElement)("figure",{className:a?`align${a}`:null,style:m},l?(0,ye.createElement)("a",{href:l},u):u,!Ee.RichText.isEmpty(r)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:r}))}}];var Gl=Dl;var Ul=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M16.5 7.8v7H18v-7c0-1-.8-1.8-1.8-1.8h-7v1.5h7c.2 0 .3.1.3.3zm-8.7 8.7c-.1 0-.2-.1-.2-.2V2H6v4H2v1.5h4v8.8c0 1 .8 1.8 1.8 1.8h8.8v4H18v-4h4v-1.5H7.8z"}));var Ol=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));var ql=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z"}));function $l(e,t){const[n,o]=(0,ye.useState)();function r(){o(e.current.clientWidth)}return(0,ye.useEffect)(r,t),(0,ye.useEffect)((()=>{const{defaultView:t}=e.current.ownerDocument;return t.addEventListener("resize",r),()=>{t.removeEventListener("resize",r)}}),[]),n}function Wl(e){var t;let{temporaryURL:n,attributes:{url:o="",alt:r,caption:a,align:l,id:i,href:s,rel:c,linkClass:u,linkDestination:m,title:d,width:p,height:g,linkTarget:h,sizeSlug:v},setAttributes:b,isSelected:y,insertBlocksAfter:f,onReplace:_,onSelectImage:k,onSelectURL:w,onUploadError:E,containerRef:C,context:x,clientId:S}=e;const B=(0,ye.useRef)(),T=(0,ye.useRef)(),N=(0,ot.usePrevious)(o),{allowResize:z=!0}=x,{getBlock:P}=(0,Ie.useSelect)(Ee.store),{image:I,multiImageSelection:M}=(0,Ie.useSelect)((e=>{const{getMedia:t}=e(Dt.store),{getMultiSelectedBlockClientIds:n,getBlockName:o}=e(Ee.store),r=n();return{image:i&&y?t(i):null,multiImageSelection:r.length&&r.every((e=>"core/image"===o(e)))}}),[i,y]),{canInsertCover:R,imageEditing:L,imageSizes:V,maxWidth:H,mediaUpload:A}=(0,Ie.useSelect)((e=>{const{getBlockRootClientId:t,getSettings:n,canInsertBlockType:o}=e(Ee.store),r=t(S);return{...(0,Le.pick)(n(),["imageEditing","imageSizes","maxWidth","mediaUpload"]),canInsertCover:o("core/cover",r)}}),[S]),{replaceBlocks:F,toggleSelection:D}=(0,Ie.useDispatch)(Ee.store),{createErrorNotice:G,createSuccessNotice:U}=(0,Ie.useDispatch)(Ir.store),O=(0,ot.useViewportMatch)("medium"),q=(0,Le.includes)(["wide","full"],l),[{loadedNaturalWidth:$,loadedNaturalHeight:W},j]=(0,ye.useState)({}),[Z,K]=(0,ye.useState)(!1),[Q,J]=(0,ye.useState)(),Y=$l(C,[l]),X=z&&!(q&&O),ee=(0,Le.map)((0,Le.filter)(V,(e=>{let{slug:t}=e;return(0,Le.get)(I,["media_details","sizes",t,"source_url"])})),(e=>{let{name:t,slug:n}=e;return{value:n,label:t}}));(0,ye.useEffect)((()=>{jl(i,o)&&y&&!Q&&window.fetch(o).then((e=>e.blob())).then((e=>J(e))).catch((()=>{}))}),[i,o,y,Q]),(0,ye.useEffect)((()=>{o&&!N&&y&&T.current.focus()}),[o,N]);const{naturalWidth:te,naturalHeight:ne}=(0,ye.useMemo)((()=>{var e,t;return{naturalWidth:(null===(e=B.current)||void 0===e?void 0:e.naturalWidth)||$||void 0,naturalHeight:(null===(t=B.current)||void 0===t?void 0:t.naturalHeight)||W||void 0}}),[$,W,null===(t=B.current)||void 0===t?void 0:t.complete]);(0,ye.useEffect)((()=>{y||K(!1)}),[y]);const oe=i&&te&&ne&&L,re=!M&&oe&&!Z;const ae=(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.BlockAlignmentControl,{value:l,onChange:function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};b({...t,align:e})}}),!M&&!Z&&(0,ye.createElement)(Ee.__experimentalImageURLInputUI,{url:s||"",onChangeUrl:function(e){b(e)},linkDestination:m,mediaUrl:I&&I.source_url||o,mediaLink:I&&I.link,linkTarget:h,linkClass:u,rel:c}),re&&(0,ye.createElement)(ke.ToolbarButton,{onClick:()=>K(!0),icon:Ul,label:(0,we.__)("Crop")}),Q&&(0,ye.createElement)(ke.ToolbarButton,{onClick:function(){A({filesList:[Q],onFileChange(e){let[t]=e;k(t),(0,Pe.isBlobURL)(t.url)||(J(),U((0,we.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:ba,onError(e){G(e,{type:"snackbar"})}})},icon:Ol,label:(0,we.__)("Upload external image")}),!M&&R&&(0,ye.createElement)(ke.ToolbarButton,{icon:ql,label:(0,we.__)("Add text over image"),onClick:function(){F(S,(0,be.switchToBlockType)(P(S),"core/cover"))}})),!M&&!Z&&(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(Ee.MediaReplaceFlow,{mediaId:i,mediaURL:o,allowedTypes:ba,accept:"image/*",onSelect:k,onSelectURL:w,onError:E})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Image settings")},!M&&(0,ye.createElement)(ke.TextareaControl,{label:(0,we.__)("Alt text (alternative text)"),value:r,onChange:function(e){b({alt:e})},help:(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,we.__)("Describe the purpose of the image")),(0,we.__)("Leave empty if the image is purely decorative."))}),(0,ye.createElement)(Ee.__experimentalImageSizeControl,{onChangeImage:function(e){const t=(0,Le.get)(I,["media_details","sizes",e,"source_url"]);if(!t)return null;b({url:t,width:void 0,height:void 0,sizeSlug:e})},onChange:e=>b(e),slug:v,width:p,height:g,imageSizeOptions:ee,isResizable:X,imageWidth:te,imageHeight:ne}))),(0,ye.createElement)(Ee.InspectorControls,{__experimentalGroup:"advanced"},(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Title attribute"),value:d||"",onChange:function(e){b({title:e})},help:(0,ye.createElement)(ye.Fragment,null,(0,we.__)("Describe the role of this image on the page."),(0,ye.createElement)(ke.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},(0,we.__)("(Note: many devices and browsers do not display this text.)")))}))),le=(0,Dr.getFilename)(o);let ie;ie=r||(le?(0,we.sprintf)((0,we.__)("This image has an empty alt attribute; its file name is %s"),le):(0,we.__)("This image has an empty alt attribute"));let se,ce,ue=(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)("img",{src:n||o,alt:ie,onError:()=>function(){const e=Oe({attributes:{url:o}});void 0!==e&&_(e)}(),onLoad:e=>{var t,n;j({loadedNaturalWidth:null===(t=e.target)||void 0===t?void 0:t.naturalWidth,loadedNaturalHeight:null===(n=e.target)||void 0===n?void 0:n.naturalHeight})},ref:B}),n&&(0,ye.createElement)(ke.Spinner,null));if(Y&&te&&ne){const e=te>Y,t=ne/te;se=e?Y:te,ce=e?Y*t:ne}if(oe&&Z)ue=(0,ye.createElement)(Ee.__experimentalImageEditor,{url:o,width:p,height:g,clientWidth:Y,naturalHeight:ne,naturalWidth:te});else if(X&&se){const e=p||se,t=g||ce,n=te/ne,o=te<ne?ma:ma*n,r=ne<te?ma:ma/n,a=2.5*H;let i=!1,s=!1;"center"===l?(i=!0,s=!0):(0,we.isRTL)()?"left"===l?i=!0:s=!0:"right"===l?s=!0:i=!0,ue=(0,ye.createElement)(ke.ResizableBox,{size:{width:null!=p?p:"auto",height:null!=g?g:"auto"},showHandle:y,minWidth:o,maxWidth:a,minHeight:r,maxHeight:a/n,lockAspectRatio:!0,enable:{top:!1,right:i,bottom:!0,left:s},onResizeStart:function(){D(!1)},onResizeStop:(n,o,r,a)=>{D(!0),b({width:parseInt(e+a.width,10),height:parseInt(t+a.height,10)})}},ue)}else ue=(0,ye.createElement)("div",{style:{width:p,height:g}},ue);return(0,ye.createElement)(Ee.__experimentalImageEditingProvider,{id:i,url:o,naturalWidth:te,naturalHeight:ne,clientWidth:Y,onSaveImage:e=>b(e),isEditing:Z,onFinishEditing:()=>K(!1)},!n&&ae,ue,(!Ee.RichText.isEmpty(a)||y)&&(0,ye.createElement)(Ee.RichText,{ref:T,tagName:"figcaption","aria-label":(0,we.__)("Image caption text"),placeholder:(0,we.__)("Add caption"),value:a,onChange:e=>b({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>f((0,be.createBlock)("core/paragraph"))}))}const jl=(e,t)=>t&&!e&&!(0,Pe.isBlobURL)(t);var Zl=(0,ke.withNotices)((function(e){let{attributes:t,setAttributes:n,isSelected:o,className:r,noticeUI:a,insertBlocksAfter:l,noticeOperations:i,onReplace:s,context:c,clientId:u}=e;const{url:m="",alt:d,caption:p,align:g,id:h,width:v,height:b,sizeSlug:y}=t,[f,_]=(0,ye.useState)(),k=(0,ye.useRef)();(0,ye.useEffect)((()=>{k.current=d}),[d]);const w=(0,ye.useRef)();(0,ye.useEffect)((()=>{w.current=p}),[p]);const E=(0,ye.useRef)(),{imageDefaultSize:C,mediaUpload:x}=(0,Ie.useSelect)((e=>{const{getSettings:t}=e(Ee.store);return(0,Le.pick)(t(),["imageDefaultSize","mediaUpload"])}),[]);function S(e){i.removeAllNotices(),i.createErrorNotice(e)}function B(e){var o,r,a,l,i;if(!e||!e.url)return void n({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0});if((0,Pe.isBlobURL)(e.url))return void _(e.url);_();let s,c=((e,t)=>{const n=(0,Le.pick)(e,["alt","id","link","caption"]);return n.url=(0,Le.get)(e,["sizes",t,"url"])||(0,Le.get)(e,["media_details","sizes",t,"source_url"])||e.url,n})(e,C);var u,d;w.current&&!(0,Le.get)(c,["caption"])&&(c=(0,Le.omit)(c,["caption"])),s=e.id&&e.id===h?{url:m}:{width:void 0,height:void 0,sizeSlug:(u=e,d=C,(0,Le.has)(u,["sizes",d,"url"])||(0,Le.has)(u,["media_details","sizes",d,"source_url"])?C:"full")};let p,g=t.linkDestination;if(!g)switch((null===(o=wp)||void 0===o||null===(r=o.media)||void 0===r||null===(a=r.view)||void 0===a||null===(l=a.settings)||void 0===l||null===(i=l.defaultProps)||void 0===i?void 0:i.link)||da){case"file":case pa:g=pa;break;case"post":case ga:g=ga;break;case ha:g=ha;break;case da:g=da}switch(g){case pa:p=e.url;break;case ga:p=e.link}c.href=p,n({...c,...s,linkDestination:g})}function T(e){e!==m&&n({url:e,id:void 0,width:void 0,height:void 0,sizeSlug:C})}let N=((e,t)=>!e&&(0,Pe.isBlobURL)(t))(h,m);(0,ye.useEffect)((()=>{if(!N)return;const e=(0,Pe.getBlobByURL)(m);e&&x({filesList:[e],onFileChange:e=>{let[t]=e;B(t)},allowedTypes:ba,onError:e=>{N=!1,i.createErrorNotice(e),n({src:void 0,id:void 0,url:void 0})}})}),[]),(0,ye.useEffect)((()=>{N?_(m):(0,Pe.revokeBlobURL)(f)}),[N,m]);const z=jl(h,m)?m:void 0,P=!!m&&(0,ye.createElement)("img",{alt:(0,we.__)("Edit image"),title:(0,we.__)("Edit image"),className:"edit-image-preview",src:m}),I=nt()(r,{"is-transient":f,"is-resized":!!v||!!b,[`size-${y}`]:y}),M=(0,Ee.useBlockProps)({ref:E,className:I});return(0,ye.createElement)("figure",M,(f||m)&&(0,ye.createElement)(Wl,{temporaryURL:f,attributes:t,setAttributes:n,isSelected:o,insertBlocksAfter:l,onReplace:s,onSelectImage:B,onSelectURL:T,onUploadError:S,containerRef:E,context:c,clientId:u}),!m&&(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.BlockAlignmentControl,{value:g,onChange:function(e){const t=["wide","full"].includes(e)?{width:void 0,height:void 0}:{};n({...t,align:e})}})),(0,ye.createElement)(Ee.MediaPlaceholder,{icon:(0,ye.createElement)(Ee.BlockIcon,{icon:Pa}),onSelect:B,onSelectURL:T,notices:a,onError:S,accept:"image/*",allowedTypes:ba,value:{id:h,src:z},mediaPreview:P,disableMediaButtons:f||m}))}));function Kl(e,t){const{body:n}=document.implementation.createHTMLDocument("");n.innerHTML=e;const{firstElementChild:o}=n;if(o&&"A"===o.nodeName)return o.getAttribute(t)||void 0}const Ql={img:{attributes:["src","alt","title"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},Jl={from:[{type:"raw",isMatch:e=>"FIGURE"===e.nodeName&&!!e.querySelector("img"),schema:e=>{let{phrasingContentSchema:t}=e;return{figure:{require:["img"],children:{...Ql,a:{attributes:["href","rel","target"],children:Ql},figcaption:{children:t}}}}},transform:e=>{const t=e.className+" "+e.querySelector("img").className,n=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),o=""===e.id?void 0:e.id,r=n?n[1]:void 0,a=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),l=a?Number(a[1]):void 0,i=e.querySelector("a"),s=i&&i.href?"custom":void 0,c=i&&i.href?i.href:void 0,u=i&&i.rel?i.rel:void 0,m=i&&i.className?i.className:void 0,d=(0,be.getBlockAttributes)("core/image",e.outerHTML,{align:r,id:l,linkDestination:s,href:c,rel:u,linkClass:m,anchor:o});return(0,be.createBlock)("core/image",d)}},{type:"files",isMatch(e){if(e.some((e=>0===e.type.indexOf("image/")))&&e.some((e=>0!==e.type.indexOf("image/")))){const{createErrorNotice:e}=(0,Ie.dispatch)(Ir.store);e((0,we.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-transform-invalid-file"})}return(0,Le.every)(e,(e=>0===e.type.indexOf("image/")))},transform(e){const t=e.map((e=>(0,be.createBlock)("core/image",{url:(0,Pe.createBlobURL)(e)})));return t}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:function(e,t){let{shortcode:n}=t;const{body:o}=document.implementation.createHTMLDocument("");o.innerHTML=n.content;let r=o.querySelector("img");for(;r&&r.parentNode&&r.parentNode!==o;)r=r.parentNode;return r&&r.parentNode.removeChild(r),o.innerHTML.trim()}},href:{shortcode:(e,t)=>{let{shortcode:n}=t;return Kl(n.content,"href")}},rel:{shortcode:(e,t)=>{let{shortcode:n}=t;return Kl(n.content,"rel")}},linkClass:{shortcode:(e,t)=>{let{shortcode:n}=t;return Kl(n.content,"class")}},id:{type:"number",shortcode:e=>{let{named:{id:t}}=e;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:e=>{let{named:{align:t="alignnone"}}=e;return t.replace("align","")}}}}]};var Yl=Jl;const Xl={apiVersion:2,name:"core/image",title:"Image",category:"media",usesContext:["allowResize","imageCrop","fixedHeight"],description:"Insert an image to make a visual statement.",keywords:["img","photo","picture"],textdomain:"default",attributes:{align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},title:{type:"string",source:"attribute",selector:"img",attribute:"title"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1},__experimentalBorder:{radius:!0}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"rounded",label:"Rounded"}],editorStyle:"wp-block-image-editor",style:"wp-block-image"},{name:ei}=Xl,ti={icon:Pa,example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:(0,we.__)("Mont Blanc appears—still, snowy, and serene.")}},__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n){const{caption:t,alt:n,url:o}=e;return o?n?n+(t?". "+t:""):t||"":(0,we.__)("Empty")}},getEditWrapperProps:e=>({"data-align":e.align}),transforms:Yl,edit:Zl,save:function(e){let{attributes:t}=e;const{url:n,alt:o,caption:r,align:a,href:l,rel:i,linkClass:s,width:c,height:u,id:m,linkTarget:d,sizeSlug:p,title:g}=t,h=(0,Le.isEmpty)(i)?void 0:i,v=nt()({[`align${a}`]:a,[`size-${p}`]:p,"is-resized":c||u}),b=(0,ye.createElement)("img",{src:n,alt:o,className:m?`wp-image-${m}`:null,width:c,height:u,title:g}),y=(0,ye.createElement)(ye.Fragment,null,l?(0,ye.createElement)("a",{className:s,href:l,target:d,rel:h},b):b,!Ee.RichText.isEmpty(r)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:r}));return"left"===a||"right"===a||"center"===a?(0,ye.createElement)("div",Ee.useBlockProps.save(),(0,ye.createElement)("figure",{className:v},y)):(0,ye.createElement)("figure",Ee.useBlockProps.save({className:v}),y)},deprecated:Gl};var ni=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"}));const oi={apiVersion:2,name:"core/latest-comments",title:"Latest Comments",category:"widgets",description:"Display a list of your most recent comments.",keywords:["recent comments"],textdomain:"default",attributes:{commentsToShow:{type:"number",default:5,minimum:1,maximum:100},displayAvatar:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-comments-editor",style:"wp-block-latest-comments"},{name:ri}=oi,ai={icon:ni,example:{},edit:function(e){let{attributes:t,setAttributes:n}=e;const{commentsToShow:o,displayAvatar:r,displayDate:a,displayExcerpt:l}=t;return(0,ye.createElement)("div",(0,Ee.useBlockProps)(),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Latest comments settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display avatar"),checked:r,onChange:()=>n({displayAvatar:!r})}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display date"),checked:a,onChange:()=>n({displayDate:!a})}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display excerpt"),checked:l,onChange:()=>n({displayExcerpt:!l})}),(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Number of comments"),value:o,onChange:e=>n({commentsToShow:e}),min:1,max:100,required:!0}))),(0,ye.createElement)(ke.Disabled,null,(0,ye.createElement)(xe(),{block:"core/latest-comments",attributes:t,urlQueryArgs:{_locale:"site"}})))}};var li=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 11h2V9H7v2zm0 4h2v-2H7v2zm3-4h7V9h-7v2zm0 4h7v-2h-7v2z"}));const{attributes:ii}={apiVersion:2,name:"core/latest-posts",title:"Latest Posts",category:"widgets",description:"Display a list of your most recent posts.",keywords:["recent posts"],textdomain:"default",attributes:{categories:{type:"array",items:{type:"object"}},selectedAuthor:{type:"number"},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayAuthor:{type:"boolean",default:!1},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null},addLinkToFeaturedImage:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-posts-editor",style:"wp-block-latest-posts"};var si=[{attributes:{...ii,categories:{type:"string"}},supports:{align:!0,html:!1},migrate:e=>({...e,categories:[{id:Number(e.categories)}]}),isEligible:e=>{let{categories:t}=e;return t&&"string"==typeof t},save:()=>null}],ci=window.wp.date;var ui=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"}));var mi=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",fillRule:"evenodd",clipRule:"evenodd"}));const di={per_page:-1,context:"view"},pi={per_page:-1,has_published_posts:["post"],context:"view"};const gi={apiVersion:2,name:"core/latest-posts",title:"Latest Posts",category:"widgets",description:"Display a list of your most recent posts.",keywords:["recent posts"],textdomain:"default",attributes:{categories:{type:"array",items:{type:"object"}},selectedAuthor:{type:"number"},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayAuthor:{type:"boolean",default:!1},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null},addLinkToFeaturedImage:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-posts-editor",style:"wp-block-latest-posts"},{name:hi}=gi,vi={icon:li,example:{},edit:function(e){var t;let{attributes:n,setAttributes:o}=e;const{postsToShow:r,order:a,orderBy:l,categories:i,selectedAuthor:s,displayFeaturedImage:c,displayPostContentRadio:u,displayPostContent:m,displayPostDate:d,displayAuthor:p,postLayout:g,columns:h,excerptLength:v,featuredImageAlign:b,featuredImageSizeSlug:y,featuredImageSizeWidth:f,featuredImageSizeHeight:_,addLinkToFeaturedImage:k}=n,{imageSizeOptions:w,latestPosts:E,defaultImageWidth:C,defaultImageHeight:x,categoriesList:S,authorList:B}=(0,Ie.useSelect)((e=>{const{getEntityRecords:t,getMedia:n,getUsers:o}=e(Dt.store),{getSettings:c}=e(Ee.store),{imageSizes:u,imageDimensions:m}=c(),d=i&&i.length>0?i.map((e=>e.id)):[],p=t("postType","post",(0,Le.pickBy)({categories:d,author:s,order:a,orderby:l,per_page:r},(e=>!(0,Le.isUndefined)(e))));return{defaultImageWidth:(0,Le.get)(m,[y,"width"],0),defaultImageHeight:(0,Le.get)(m,[y,"height"],0),imageSizeOptions:u.filter((e=>{let{slug:t}=e;return"full"!==t})).map((e=>{let{name:t,slug:n}=e;return{value:n,label:t}})),latestPosts:Array.isArray(p)?p.map((e=>{if(!e.featured_media)return e;const t=n(e.featured_media);let o=(0,Le.get)(t,["media_details","sizes",y,"source_url"],null);o||(o=(0,Le.get)(t,"source_url",null));const r={url:o,alt:null==t?void 0:t.alt_text};return{...e,featuredImageInfo:r}})):p,categoriesList:t("taxonomy","category",di),authorList:o(pi)}}),[y,r,a,l,i,s]),T=null!==(t=null==S?void 0:S.reduce(((e,t)=>({...e,[t.name]:t})),{}))&&void 0!==t?t:{},N=!(null==E||!E.length),z=(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Post content settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Post content"),checked:m,onChange:e=>o({displayPostContent:e})}),m&&(0,ye.createElement)(ke.RadioControl,{label:(0,we.__)("Show:"),selected:u,options:[{label:(0,we.__)("Excerpt"),value:"excerpt"},{label:(0,we.__)("Full post"),value:"full_post"}],onChange:e=>o({displayPostContentRadio:e})}),m&&"excerpt"===u&&(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Max number of words in excerpt"),value:v,onChange:e=>o({excerptLength:e}),min:10,max:100})),(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Post meta settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display author name"),checked:p,onChange:e=>o({displayAuthor:e})}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display post date"),checked:d,onChange:e=>o({displayPostDate:e})})),(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Featured image settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display featured image"),checked:c,onChange:e=>o({displayFeaturedImage:e})}),c&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.__experimentalImageSizeControl,{onChange:e=>{const t={};e.hasOwnProperty("width")&&(t.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(t.featuredImageSizeHeight=e.height),o(t)},slug:y,width:f,height:_,imageWidth:C,imageHeight:x,imageSizeOptions:w,onChangeImage:e=>o({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}),(0,ye.createElement)(ke.BaseControl,{className:"block-editor-image-alignment-control__row"},(0,ye.createElement)(ke.BaseControl.VisualLabel,null,(0,we.__)("Image alignment")),(0,ye.createElement)(Ee.BlockAlignmentToolbar,{value:b,onChange:e=>o({featuredImageAlign:e}),controls:["left","center","right"],isCollapsed:!1})),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Add link to featured image"),checked:k,onChange:e=>o({addLinkToFeaturedImage:e})}))),(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Sorting and filtering")},(0,ye.createElement)(ke.QueryControls,{order:a,orderBy:l,numberOfItems:r,onOrderChange:e=>o({order:e}),onOrderByChange:e=>o({orderBy:e}),onNumberOfItemsChange:e=>o({postsToShow:e}),categorySuggestions:T,onCategoryChange:e=>{if(e.some((e=>"string"==typeof e&&!T[e])))return;const t=e.map((e=>"string"==typeof e?T[e]:e));if((0,Le.includes)(t,null))return!1;o({categories:t})},selectedCategories:i,onAuthorChange:e=>o({selectedAuthor:""!==e?Number(e):void 0}),authorList:null!=B?B:[],selectedAuthorId:s}),"grid"===g&&(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Columns"),value:h,onChange:e=>o({columns:e}),min:2,max:N?Math.min(6,E.length):6,required:!0}))),P=(0,Ee.useBlockProps)({className:nt()({"wp-block-latest-posts__list":!0,"is-grid":"grid"===g,"has-dates":d,"has-author":p,[`columns-${h}`]:"grid"===g})});if(!N)return(0,ye.createElement)("div",P,z,(0,ye.createElement)(ke.Placeholder,{icon:Wt,label:(0,we.__)("Latest Posts")},Array.isArray(E)?(0,we.__)("No posts found."):(0,ye.createElement)(ke.Spinner,null)));const I=E.length>r?E.slice(0,r):E,M=[{icon:ui,title:(0,we.__)("List view"),onClick:()=>o({postLayout:"list"}),isActive:"list"===g},{icon:mi,title:(0,we.__)("Grid view"),onClick:()=>o({postLayout:"grid"}),isActive:"grid"===g}],R=(0,ci.__experimentalGetSettings)().formats.date;return(0,ye.createElement)("div",null,z,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,{controls:M})),(0,ye.createElement)("ul",P,I.map(((e,t)=>{const n=(0,Le.invoke)(e,["title","rendered","trim"]);let o=e.excerpt.rendered;const r=null==B?void 0:B.find((t=>t.id===e.author)),a=document.createElement("div");a.innerHTML=o,o=a.textContent||a.innerText||"";const{featuredImageInfo:{url:l,alt:i}={}}=e,s=nt()({"wp-block-latest-posts__featured-image":!0,[`align${b}`]:!!b}),g=c&&l,h=g&&(0,ye.createElement)("img",{src:l,alt:i,style:{maxWidth:f,maxHeight:_}}),y=v<o.trim().split(" ").length&&""===e.excerpt.raw?(0,ye.createElement)(ye.Fragment,null,o.trim().split(" ",v).join(" "),(0,we.__)(" … "),(0,ye.createElement)("a",{href:e.link,rel:"noopener noreferrer"},(0,we.__)("Read more"))):o;return(0,ye.createElement)("li",{key:t},g&&(0,ye.createElement)("div",{className:s},k?(0,ye.createElement)("a",{href:e.link,rel:"noreferrer noopener"},h):h),(0,ye.createElement)("a",{href:e.link,rel:"noreferrer noopener"},n?(0,ye.createElement)(ye.RawHTML,null,n):(0,we.__)("(no title)")),p&&r&&(0,ye.createElement)("div",{className:"wp-block-latest-posts__post-author"},(0,we.sprintf)((0,we.__)("by %s"),r.name)),d&&e.date_gmt&&(0,ye.createElement)("time",{dateTime:(0,ci.format)("c",e.date_gmt),className:"wp-block-latest-posts__post-date"},(0,ci.dateI18n)(R,e.date_gmt)),m&&"excerpt"===u&&(0,ye.createElement)("div",{className:"wp-block-latest-posts__post-excerpt"},y),m&&"full_post"===u&&(0,ye.createElement)("div",{className:"wp-block-latest-posts__post-full-content"},(0,ye.createElement)(ye.RawHTML,{key:"html"},e.content.raw.trim())))}))))},deprecated:si},bi={attributes:{ordered:{type:"boolean",default:!1,__experimentalRole:"content"},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:"",__experimentalRole:"content"},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"},placeholder:{type:"string"}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,__experimentalFontFamily:!0},color:{gradients:!0,link:!0},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul",__experimentalSlashInserter:!0},save(e){let{attributes:t}=e;const{ordered:n,values:o,type:r,reversed:a,start:l}=t,i=n?"ol":"ul";return(0,ye.createElement)(i,Ee.useBlockProps.save({type:r,reversed:a,start:l}),(0,ye.createElement)(Ee.RichText.Content,{value:o,multiline:"li"}))},migrate:lt,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}};var yi=[bi];var fi=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}));var _i=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));var ki=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"}));var wi=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"}));var Ei=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"}));var Ci=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"}));var xi=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"}));var Si=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"}));var Bi=e=>{let{setAttributes:t,reversed:n,start:o}=e;return(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Ordered list settings")},(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Start value"),type:"number",onChange:e=>{const n=parseInt(e,10);t({start:isNaN(n)?void 0:n})},value:Number.isInteger(o)?o.toString(10):"",step:"1"}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Reverse list numbering"),checked:n||!1,onChange:e=>{t({reversed:e||void 0})}})))};function Ti(e){let{phrasingContentSchema:t}=e;const n={...t,ul:{},ol:{attributes:["type","start","reversed"]}};return["ul","ol"].forEach((e=>{n[e].children={li:{children:n}}})),n}const Ni={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph","core/heading"],transform:e=>(0,be.createBlock)("core/list",{values:(0,Tt.toHTMLString)({value:(0,Tt.join)(e.map((t=>{let{content:n}=t;const o=(0,Tt.create)({html:n});return e.length>1?o:(0,Tt.replace)(o,/\n/g,Tt.__UNSTABLE_LINE_SEPARATOR)})),Tt.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"}),anchor:e.anchor})},{type:"block",blocks:["core/quote","core/pullquote"],transform:e=>{let{value:t,anchor:n}=e;return(0,be.createBlock)("core/list",{values:(0,Tt.toHTMLString)({value:(0,Tt.create)({html:t,multilineTag:"p"}),multilineTag:"li"}),anchor:n})}},{type:"raw",selector:"ol,ul",schema:e=>({ol:Ti(e).ol,ul:Ti(e).ul}),transform(e){const t={ordered:"OL"===e.nodeName,anchor:""===e.id?void 0:e.id};if(t.ordered){const n=e.getAttribute("type");n&&(t.type=n),null!==e.getAttribute("reversed")&&(t.reversed=!0);const o=parseInt(e.getAttribute("start"),10);isNaN(o)||1===o&&!t.reversed||(t.start=o)}return(0,be.createBlock)("core/list",{...(0,be.getBlockAttributes)("core/list",e.outerHTML),...t})}},...["*","-"].map((e=>({type:"prefix",prefix:e,transform:e=>(0,be.createBlock)("core/list",{values:`<li>${e}</li>`})}))),...["1.","1)"].map((e=>({type:"prefix",prefix:e,transform:e=>(0,be.createBlock)("core/list",{ordered:!0,values:`<li>${e}</li>`})})))],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{values:t}=e;return(0,Tt.split)((0,Tt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),Tt.__UNSTABLE_LINE_SEPARATOR).map((e=>(0,be.createBlock)("core/paragraph",{content:(0,Tt.toHTMLString)({value:e})})))}},{type:"block",blocks:["core/heading"],transform:e=>{let{values:t}=e;return(0,Tt.split)((0,Tt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),Tt.__UNSTABLE_LINE_SEPARATOR).map((e=>(0,be.createBlock)("core/heading",{content:(0,Tt.toHTMLString)({value:e})})))}},{type:"block",blocks:["core/quote"],transform:e=>{let{values:t,anchor:n}=e;return(0,be.createBlock)("core/quote",{value:(0,Tt.toHTMLString)({value:(0,Tt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:n})}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{values:t,anchor:n}=e;return(0,be.createBlock)("core/pullquote",{value:(0,Tt.toHTMLString)({value:(0,Tt.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:n})}}]};var zi=Ni;const Pi={apiVersion:2,name:"core/list",title:"List",category:"text",description:"Create a bulleted or numbered list.",keywords:["bullet list","ordered list","numbered list"],textdomain:"default",attributes:{ordered:{type:"boolean",default:!1,__experimentalRole:"content"},values:{type:"string",source:"html",selector:"ol,ul",multiline:"li",__unstableMultilineWrapperTags:["ol","ul"],default:"",__experimentalRole:"content"},type:{type:"string"},start:{type:"number"},reversed:{type:"boolean"},placeholder:{type:"string"}},supports:{anchor:!0,className:!1,typography:{fontSize:!0,__experimentalFontFamily:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0},__unstablePasteTextInline:!0,__experimentalSelector:"ol,ul",__experimentalSlashInserter:!0},editorStyle:"wp-block-list-editor",style:"wp-block-list"},{name:Ii}=Pi,Mi={icon:ui,example:{attributes:{values:"<li>Alice.</li><li>The White Rabbit.</li><li>The Cheshire Cat.</li><li>The Mad Hatter.</li><li>The Queen of Hearts.</li>"}},transforms:zi,merge(e,t){const{values:n}=t;return n&&"<li></li>"!==n?{...e,values:e.values+n}:e},edit:function(e){let{attributes:t,setAttributes:n,mergeBlocks:o,onReplace:r,style:a}=e;const{ordered:l,values:i,type:s,reversed:c,start:u,placeholder:m}=t,d=l?"ol":"ul",p=(0,Ee.useBlockProps)({style:a});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.RichText,gt({identifier:"values",multiline:"li",tagName:d,onChange:e=>n({values:e}),value:i,"aria-label":(0,we.__)("List text"),placeholder:m||(0,we.__)("List"),onMerge:o,onSplit:e=>(0,be.createBlock)(Ii,{...t,values:e}),__unstableOnSplitMiddle:()=>(0,be.createBlock)("core/paragraph"),onReplace:r,onRemove:()=>r([]),start:u,reversed:c,type:s},p),(e=>{let{value:t,onChange:o,onFocus:r}=e;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.RichTextShortcut,{type:"primary",character:"[",onUse:()=>{o((0,Tt.__unstableOutdentListItems)(t))}}),(0,ye.createElement)(Ee.RichTextShortcut,{type:"primary",character:"]",onUse:()=>{o((0,Tt.__unstableIndentListItems)(t,{type:d}))}}),(0,ye.createElement)(Ee.RichTextShortcut,{type:"primary",character:"m",onUse:()=>{o((0,Tt.__unstableIndentListItems)(t,{type:d}))}}),(0,ye.createElement)(Ee.RichTextShortcut,{type:"primaryShift",character:"m",onUse:()=>{o((0,Tt.__unstableOutdentListItems)(t))}}),(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(ke.ToolbarButton,{icon:(0,we.isRTL)()?fi:_i,title:(0,we.__)("Unordered"),describedBy:(0,we.__)("Convert to unordered list"),isActive:(0,Tt.__unstableIsActiveListType)(t,"ul",d),onClick:()=>{o((0,Tt.__unstableChangeListType)(t,{type:"ul"})),r(),(0,Tt.__unstableIsListRootSelected)(t)&&n({ordered:!1})}}),(0,ye.createElement)(ke.ToolbarButton,{icon:(0,we.isRTL)()?ki:wi,title:(0,we.__)("Ordered"),describedBy:(0,we.__)("Convert to ordered list"),isActive:(0,Tt.__unstableIsActiveListType)(t,"ol",d),onClick:()=>{o((0,Tt.__unstableChangeListType)(t,{type:"ol"})),r(),(0,Tt.__unstableIsListRootSelected)(t)&&n({ordered:!0})}}),(0,ye.createElement)(ke.ToolbarButton,{icon:(0,we.isRTL)()?Ei:Ci,title:(0,we.__)("Outdent"),describedBy:(0,we.__)("Outdent list item"),shortcut:(0,we._x)("Backspace","keyboard key"),isDisabled:!(0,Tt.__unstableCanOutdentListItems)(t),onClick:()=>{o((0,Tt.__unstableOutdentListItems)(t)),r()}}),(0,ye.createElement)(ke.ToolbarButton,{icon:(0,we.isRTL)()?xi:Si,title:(0,we.__)("Indent"),describedBy:(0,we.__)("Indent list item"),shortcut:(0,we._x)("Space","keyboard key"),isDisabled:!(0,Tt.__unstableCanIndentListItems)(t),onClick:()=>{o((0,Tt.__unstableIndentListItems)(t,{type:d})),r()}})))})),l&&(0,ye.createElement)(Bi,{setAttributes:n,ordered:l,reversed:c,start:u,placeholder:m}))},save:function(e){let{attributes:t}=e;const{ordered:n,values:o,type:r,reversed:a,start:l}=t,i=n?"ol":"ul";return(0,ye.createElement)(i,Ee.useBlockProps.save({type:r,reversed:a,start:l}),(0,ye.createElement)(Ee.RichText.Content,{value:o,multiline:"li"}))},deprecated:yi};var Ri=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M11 14.5l1.1 1.1 3-3 .5-.5-.6-.6-3-3-1 1 1.7 1.7H5v1.5h7.7L11 14.5zM16.8 5h-7c-1.1 0-2 .9-2 2v1.5h1.5V7c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v10c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5v-1.5H7.8V17c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2z"}));const Li={apiVersion:2,name:"core/loginout",title:"Login/out",category:"theme",description:"Show login & logout links.",keywords:["login","logout","form"],textdomain:"default",attributes:{displayLoginAsForm:{type:"boolean",default:!1},redirectToCurrent:{type:"boolean",default:!0}},supports:{className:!0,typography:{fontSize:!1}}},{name:Vi}=Li,Hi={icon:Ri,edit:function(e){let{attributes:t,setAttributes:n}=e;const{displayLoginAsForm:o,redirectToCurrent:r}=t;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Login/out settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display login as form"),checked:o,onChange:()=>n({displayLoginAsForm:!o})}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Redirect to current URL"),checked:r,onChange:()=>n({redirectToCurrent:!r})}))),(0,ye.createElement)("div",(0,Ee.useBlockProps)({className:"logged-in"}),(0,ye.createElement)("a",{href:"#login-pseudo-link"},(0,we.__)("Log out"))))}};var Ai=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M3 18h8V6H3v12zM14 7.5V9h7V7.5h-7zm0 5.3h7v-1.5h-7v1.5zm0 3.7h7V15h-7v1.5z"})),Fi=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),(0,ye.createElement)(ke.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),(0,ye.createElement)(ke.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"}));const Di=["image","video"];function Gi(e,t){return e?{backgroundImage:`url(${e})`,backgroundPosition:t?`${100*t.x}% ${100*t.y}%`:"50% 50%"}:{}}const Ui=(0,ye.forwardRef)(((e,t)=>{let{isSelected:n,isStackedOnMobile:o,...r}=e;const a=(0,ot.useViewportMatch)("small","<");return(0,ye.createElement)(ke.ResizableBox,gt({ref:t,showHandle:n&&(!a||!o)},r))}));function Oi(e){let{mediaId:t,mediaUrl:n,onSelectMedia:o}=e;return(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(Ee.MediaReplaceFlow,{mediaId:t,mediaURL:n,allowedTypes:Di,accept:"image/*,video/*",onSelect:o}))}function qi(e){let{className:t,noticeOperations:n,noticeUI:o,mediaUrl:r,onSelectMedia:a}=e;return(0,ye.createElement)(Ee.MediaPlaceholder,{icon:(0,ye.createElement)(Ee.BlockIcon,{icon:Fi}),labels:{title:(0,we.__)("Media area")},className:t,onSelect:a,accept:"image/*,video/*",allowedTypes:Di,notices:o,onError:e=>{n.removeAllNotices(),n.createErrorNotice(e)},disableMediaButtons:r})}var $i=(0,ke.withNotices)((0,ye.forwardRef)((function(e,t){const{className:n,commitWidthChange:o,focalPoint:r,imageFill:a,isSelected:l,isStackedOnMobile:i,mediaAlt:s,mediaId:c,mediaPosition:u,mediaType:m,mediaUrl:d,mediaWidth:p,onSelectMedia:g,onWidthChange:h}=e,v=!c&&(0,Pe.isBlobURL)(d),{toggleSelection:b}=(0,Ie.useDispatch)(Ee.store);if(d){const y=()=>{b(!1)},f=(e,t,n)=>{h(parseInt(n.style.width))},_=(e,t,n)=>{b(!0),o(parseInt(n.style.width))},k={right:"left"===u,left:"right"===u},w="image"===m&&a?Gi(d,r):{},E={image:()=>(0,ye.createElement)("img",{src:d,alt:s}),video:()=>(0,ye.createElement)("video",{controls:!0,src:d})};return(0,ye.createElement)(Ui,{as:"figure",className:nt()(n,"editor-media-container__resizer",{"is-transient":v}),style:w,size:{width:p+"%"},minWidth:"10%",maxWidth:"100%",enable:k,onResizeStart:y,onResize:f,onResizeStop:_,axis:"x",isSelected:l,isStackedOnMobile:i,ref:t},(0,ye.createElement)(Oi,{onSelectMedia:g,mediaUrl:d,mediaId:c}),(E[m]||Le.noop)(),v&&(0,ye.createElement)(ke.Spinner,null),(0,ye.createElement)(qi,e))}return(0,ye.createElement)(qi,e)})));const Wi=e=>{if(!e.customBackgroundColor)return e;const t={color:{background:e.customBackgroundColor}};return{...(0,Le.omit)(e,["customBackgroundColor"]),style:t}},ji={align:{type:"string",default:"wide"},backgroundColor:{type:"string"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},isStackedOnMobile:{type:"boolean",default:!0}};var Zi=[{attributes:{...ji,customBackgroundColor:{type:"string"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}},migrate:Wi,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,isStackedOnMobile:r,mediaAlt:a,mediaPosition:l,mediaType:i,mediaUrl:s,mediaWidth:c,mediaId:u,verticalAlignment:m,imageFill:d,focalPoint:p,linkClass:g,href:h,linkTarget:v,rel:b}=t,y=(0,Le.isEmpty)(b)?void 0:b;let f=(0,ye.createElement)("img",{src:s,alt:a,className:u&&"image"===i?`wp-image-${u}`:null});h&&(f=(0,ye.createElement)("a",{className:g,href:h,target:v,rel:y},f));const _={image:()=>f,video:()=>(0,ye.createElement)("video",{controls:!0,src:s})},k=(0,Ee.getColorClassName)("background-color",n),w=nt()({"has-media-on-the-right":"right"===l,"has-background":k||o,[k]:k,"is-stacked-on-mobile":r,[`is-vertically-aligned-${m}`]:m,"is-image-fill":d}),E=d?Gi(s,p):{};let C;50!==c&&(C="right"===l?`auto ${c}%`:`${c}% auto`);const x={backgroundColor:k?void 0:o,gridTemplateColumns:C};return(0,ye.createElement)("div",{className:w,style:x},(0,ye.createElement)("figure",{className:"wp-block-media-text__media",style:E},(_[i]||Le.noop)()),(0,ye.createElement)("div",{className:"wp-block-media-text__content"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))}},{attributes:{...ji,customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}},migrate:Wi,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,isStackedOnMobile:r,mediaAlt:a,mediaPosition:l,mediaType:i,mediaUrl:s,mediaWidth:c,mediaId:u,verticalAlignment:m,imageFill:d,focalPoint:p}=t,g={image:()=>(0,ye.createElement)("img",{src:s,alt:a,className:u&&"image"===i?`wp-image-${u}`:null}),video:()=>(0,ye.createElement)("video",{controls:!0,src:s})},h=(0,Ee.getColorClassName)("background-color",n),v=nt()({"has-media-on-the-right":"right"===l,[h]:h,"is-stacked-on-mobile":r,[`is-vertically-aligned-${m}`]:m,"is-image-fill":d}),b=d?Gi(s,p):{};let y;50!==c&&(y="right"===l?`auto ${c}%`:`${c}% auto`);const f={backgroundColor:h?void 0:o,gridTemplateColumns:y};return(0,ye.createElement)("div",{className:v,style:f},(0,ye.createElement)("figure",{className:"wp-block-media-text__media",style:b},(g[i]||Le.noop)()),(0,ye.createElement)("div",{className:"wp-block-media-text__content"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))}},{attributes:{...ji,customBackgroundColor:{type:"string"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"}},save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,isStackedOnMobile:r,mediaAlt:a,mediaPosition:l,mediaType:i,mediaUrl:s,mediaWidth:c}=t,u={image:()=>(0,ye.createElement)("img",{src:s,alt:a}),video:()=>(0,ye.createElement)("video",{controls:!0,src:s})},m=(0,Ee.getColorClassName)("background-color",n),d=nt()({"has-media-on-the-right":"right"===l,[m]:m,"is-stacked-on-mobile":r});let p;50!==c&&(p="right"===l?`auto ${c}%`:`${c}% auto`);const g={backgroundColor:m?void 0:o,gridTemplateColumns:p};return(0,ye.createElement)("div",{className:d,style:g},(0,ye.createElement)("figure",{className:"wp-block-media-text__media"},(u[i]||Le.noop)()),(0,ye.createElement)("div",{className:"wp-block-media-text__content"},(0,ye.createElement)(Ee.InnerBlocks.Content,null)))}}];var Ki=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"}));var Qi=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"}));const Ji="full",Yi=[["core/paragraph",{fontSize:"large",placeholder:(0,we._x)("Content…","content placeholder")}]],Xi=e=>Math.max(15,Math.min(e,85));function es(e,t){var n,o,r;return null==e||null===(n=e.media_details)||void 0===n||null===(o=n.sizes)||void 0===o||null===(r=o[t])||void 0===r?void 0:r.source_url}var ts=function(e){let{attributes:t,isSelected:n,setAttributes:o}=e;const{focalPoint:r,href:a,imageFill:l,isStackedOnMobile:i,linkClass:s,linkDestination:c,linkTarget:u,mediaAlt:m,mediaId:d,mediaPosition:p,mediaType:g,mediaUrl:h,mediaWidth:v,rel:b,verticalAlignment:y}=t,f=t.mediaSizeSlug||Ji,_=(0,Ie.useSelect)((e=>d&&n?e(Dt.store).getMedia(d):null),[n,d]),k=(0,ye.useRef)(),w=e=>{const{style:t}=k.current.resizable,{x:n,y:o}=e;t.backgroundPosition=`${100*n}% ${100*o}%`},[E,C]=(0,ye.useState)(null),x=function(e){let{attributes:{linkDestination:t,href:n},setAttributes:o}=e;return e=>{let r,a;var l,i,s,c,u;r=e.media_type?"image"===e.media_type?"image":"video":e.type,"image"===r&&(a=(null===(l=e.sizes)||void 0===l||null===(i=l.large)||void 0===i?void 0:i.url)||(null===(s=e.media_details)||void 0===s||null===(c=s.sizes)||void 0===c||null===(u=c.large)||void 0===u?void 0:u.source_url));let m=n;"media"===t&&(m=e.url),"attachment"===t&&(m=e.link),o({mediaAlt:e.alt,mediaId:e.id,mediaType:r,mediaUrl:a||e.url,mediaLink:e.link||void 0,href:m,focalPoint:void 0})}}({attributes:t,setAttributes:o}),S=e=>{o({mediaWidth:Xi(e)}),C(Xi(e))},B=nt()({"has-media-on-the-right":"right"===p,"is-selected":n,"is-stacked-on-mobile":i,[`is-vertically-aligned-${y}`]:y,"is-image-fill":l}),T=`${E||v}%`,N="right"===p?`1fr ${T}`:`${T} 1fr`,z={gridTemplateColumns:N,msGridColumns:N},P=(0,Ie.useSelect)((e=>{const t=e(Ee.store).getSettings();return null==t?void 0:t.imageSizes}),[]),I=(0,Le.map)((0,Le.filter)(P,(e=>{let{slug:t}=e;return es(_,t)})),(e=>{let{name:t,slug:n}=e;return{value:n,label:t}})),M=(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Media & Text settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Stack on mobile"),checked:i,onChange:()=>o({isStackedOnMobile:!i})}),"image"===g&&(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Crop image to fill entire column"),checked:l,onChange:()=>o({imageFill:!l})}),l&&h&&"image"===g&&(0,ye.createElement)(ke.FocalPointPicker,{label:(0,we.__)("Focal point picker"),url:h,value:r,onChange:e=>o({focalPoint:e}),onDragStart:w,onDrag:w}),"image"===g&&(0,ye.createElement)(ke.TextareaControl,{label:(0,we.__)("Alt text (alternative text)"),value:m,onChange:e=>{o({mediaAlt:e})},help:(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,we.__)("Describe the purpose of the image")),(0,we.__)("Leave empty if the image is purely decorative."))}),"image"===g&&(0,ye.createElement)(Ee.__experimentalImageSizeControl,{onChangeImage:e=>{const t=es(_,e);if(!t)return null;o({mediaUrl:t,mediaSizeSlug:e})},slug:f,imageSizeOptions:I,isResizable:!1}),h&&(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Media width"),value:E||v,onChange:S,min:15,max:85})),R=(0,Ee.useBlockProps)({className:B,style:z}),L=(0,Ee.useInnerBlocksProps)({className:"wp-block-media-text__content"},{template:Yi});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,M),(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.BlockVerticalAlignmentControl,{onChange:e=>{o({verticalAlignment:e})},value:y}),(0,ye.createElement)(ke.ToolbarButton,{icon:Ki,title:(0,we.__)("Show media on left"),isActive:"left"===p,onClick:()=>o({mediaPosition:"left"})}),(0,ye.createElement)(ke.ToolbarButton,{icon:Qi,title:(0,we.__)("Show media on right"),isActive:"right"===p,onClick:()=>o({mediaPosition:"right"})}),"image"===g&&(0,ye.createElement)(Ee.__experimentalImageURLInputUI,{url:a||"",onChangeUrl:e=>{o(e)},linkDestination:c,mediaType:g,mediaUrl:_&&_.source_url,mediaLink:_&&_.link,linkTarget:u,linkClass:s,rel:b})),(0,ye.createElement)("div",R,(0,ye.createElement)($i,{className:"wp-block-media-text__media",onSelectMedia:x,onWidthChange:e=>{C(Xi(e))},commitWidthChange:S,ref:k,focalPoint:r,imageFill:l,isSelected:n,isStackedOnMobile:i,mediaAlt:m,mediaId:d,mediaPosition:p,mediaType:g,mediaUrl:h,mediaWidth:v}),(0,ye.createElement)("div",L)))};var ns={from:[{type:"block",blocks:["core/image"],transform:e=>{let{alt:t,url:n,id:o,anchor:r}=e;return(0,be.createBlock)("core/media-text",{mediaAlt:t,mediaId:o,mediaUrl:n,mediaType:"image",anchor:r})}},{type:"block",blocks:["core/video"],transform:e=>{let{src:t,id:n,anchor:o}=e;return(0,be.createBlock)("core/media-text",{mediaId:n,mediaUrl:t,mediaType:"video",anchor:o})}}],to:[{type:"block",blocks:["core/image"],isMatch:e=>{let{mediaType:t,mediaUrl:n}=e;return!n||"image"===t},transform:e=>{let{mediaAlt:t,mediaId:n,mediaUrl:o,anchor:r}=e;return(0,be.createBlock)("core/image",{alt:t,id:n,url:o,anchor:r})}},{type:"block",blocks:["core/video"],isMatch:e=>{let{mediaType:t,mediaUrl:n}=e;return!n||"video"===t},transform:e=>{let{mediaId:t,mediaUrl:n,anchor:o}=e;return(0,be.createBlock)("core/video",{id:t,src:n,anchor:o})}}]};const os={apiVersion:2,name:"core/media-text",title:"Media & Text",category:"media",description:"Set media and words side-by-side for a richer layout.",keywords:["image","video"],textdomain:"default",attributes:{align:{type:"string",default:"wide"},mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaPosition:{type:"string",default:"left"},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaLink:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure a",attribute:"target"},href:{type:"string",source:"attribute",selector:"figure a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure a",attribute:"class"},mediaType:{type:"string"},mediaWidth:{type:"number",default:50},mediaSizeSlug:{type:"string"},isStackedOnMobile:{type:"boolean",default:!0},verticalAlignment:{type:"string"},imageFill:{type:"boolean"},focalPoint:{type:"object"}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0}},editorStyle:"wp-block-media-text-editor",style:"wp-block-media-text"},{name:rs}=os,as={icon:Ai,example:{viewportWidth:601,attributes:{mediaType:"image",mediaUrl:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{content:(0,we.__)("The wren<br>Earns his living<br>Noiselessly.")}},{name:"core/paragraph",attributes:{content:(0,we.__)("— Kobayashi Issa (一茶)")}}]},transforms:ns,edit:ts,save:function(e){let{attributes:t}=e;const{isStackedOnMobile:n,mediaAlt:o,mediaPosition:r,mediaType:a,mediaUrl:l,mediaWidth:i,mediaId:s,verticalAlignment:c,imageFill:u,focalPoint:m,linkClass:d,href:p,linkTarget:g,rel:h}=t,v=t.mediaSizeSlug||Ji,b=(0,Le.isEmpty)(h)?void 0:h,y=nt()({[`wp-image-${s}`]:s&&"image"===a,[`size-${v}`]:s&&"image"===a});let f=(0,ye.createElement)("img",{src:l,alt:o,className:y||null});p&&(f=(0,ye.createElement)("a",{className:d,href:p,target:g,rel:b},f));const _={image:()=>f,video:()=>(0,ye.createElement)("video",{controls:!0,src:l})},k=nt()({"has-media-on-the-right":"right"===r,"is-stacked-on-mobile":n,[`is-vertically-aligned-${c}`]:c,"is-image-fill":u}),w=u?Gi(l,m):{};let E;50!==i&&(E="right"===r?`auto ${i}%`:`${i}% auto`);const C={gridTemplateColumns:E};return(0,ye.createElement)("div",Ee.useBlockProps.save({className:k,style:C}),(0,ye.createElement)("figure",{className:"wp-block-media-text__media",style:w},(_[a]||Le.noop)()),(0,ye.createElement)("div",Ee.useInnerBlocksProps.save({className:"wp-block-media-text__content"})))},deprecated:Zi};var ls=window.wp.dom;const is=(0,Ie.withDispatch)(((e,t)=>{let{clientId:n,attributes:o}=t;const{replaceBlock:r}=e(Ee.store);return{convertToHTML(){r(n,(0,be.createBlock)("core/html",{content:o.originalUndelimitedContent}))}}}))((function(e){let{attributes:t,convertToHTML:n}=e;const{originalName:o,originalUndelimitedContent:r}=t,a=!!r,l=(0,be.getBlockType)("core/html"),i=[];let s;return a&&l?(s=(0,we.sprintf)((0,we.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),o),i.push((0,ye.createElement)(ke.Button,{key:"convert",onClick:n,variant:"primary"},(0,we.__)("Keep as HTML")))):s=(0,we.sprintf)((0,we.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),o),(0,ye.createElement)("div",(0,Ee.useBlockProps)({className:"has-warning"}),(0,ye.createElement)(Ee.Warning,{actions:i},s),(0,ye.createElement)(ye.RawHTML,null,(0,ls.safeHTML)(r)))}));var ss=is;const cs={apiVersion:2,name:"core/missing",title:"Unsupported",category:"text",description:"Your site doesn’t include support for this block.",textdomain:"default",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1}},{name:us}=cs,ms={name:us,__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n){const{originalName:t}=e,n=t?(0,be.getBlockType)(t):void 0;return n?n.settings.title||t:""}},edit:ss,save:function(e){let{attributes:t}=e;return(0,ye.createElement)(ye.RawHTML,null,t.originalContent)}};var ds=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"}));const ps=(0,we.__)("Read more");var gs={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:e=>e.dataset&&"core/more"===e.dataset.block,transform(e){const{customText:t,noTeaser:n}=e.dataset,o={};return t&&(o.customText=t),""===n&&(o.noTeaser=!0),(0,be.createBlock)("core/more",o)}}]};const hs={apiVersion:2,name:"core/more",title:"More",category:"design",description:"Content before this block will be shown in the excerpt on your archives page.",keywords:["read more"],textdomain:"default",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1},editorStyle:"wp-block-more-editor"},{name:vs}=hs,bs={icon:ds,example:{},__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n)return e.customText},transforms:gs,edit:function(e){let{attributes:{customText:t,noTeaser:n},insertBlocksAfter:o,setAttributes:r}=e;const a={width:`${(t||ps).length+1.2}em`};return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,null,(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:()=>r({noTeaser:!n}),help:e=>e?(0,we.__)("The excerpt is hidden."):(0,we.__)("The excerpt is visible.")}))),(0,ye.createElement)("div",(0,Ee.useBlockProps)(),(0,ye.createElement)("div",{className:"wp-block-more"},(0,ye.createElement)("input",{"aria-label":(0,we.__)("Read more link text"),type:"text",value:t,placeholder:ps,onChange:e=>{r({customText:""!==e.target.value?e.target.value:void 0})},onKeyDown:e=>{let{keyCode:t}=e;t===ht.ENTER&&o([(0,be.createBlock)((0,be.getDefaultBlockName)())])},style:a}))))},save:function(e){let{attributes:{customText:t,noTeaser:n}}=e;const o=t?`\x3c!--more ${t}--\x3e`:"\x3c!--more--\x3e",r=n?"\x3c!--noteaser--\x3e":"";return(0,ye.createElement)(ye.RawHTML,null,(0,Le.compact)([o,r]).join("\n"))}};var ys=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"}));var fs=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));function _s(e){let{clientId:t,__experimentalFeatures:n}=e;const o=(0,Ie.useSelect)((e=>e(Ee.store).__unstableGetClientIdsTree(t)),[t]),r=(0,ye.useRef)(),[a,l]=(0,ye.useState)(300);return(0,ye.useEffect)((()=>{var e,t;l(null!==(e=null==r||null===(t=r.current)||void 0===t?void 0:t.clientHeight)&&void 0!==e?e:300)}),[]),(0,ye.createElement)("div",{style:{minHeight:a}},(0,ye.createElement)(Ee.__experimentalListView,{ref:r,blocks:o,showBlockMovers:!0,showNestedBlocks:!0,__experimentalFeatures:n}))}function ks(e){return(0,Ie.useSelect)((t=>{var n;const{getEntityRecord:o,getEditedEntityRecord:r,getEntityRecords:a,hasFinishedResolution:l,canUser:i}=t(Dt.store),s=["postType","wp_navigation",e],c=e?o(...s):null;let u=e?r(...s):null;"publish"!==(null===(n=u)||void 0===n?void 0:n.status)&&(u=null);const m=!!e&&l("getEditedEntityRecord",s),d=["postType","wp_navigation",{per_page:-1,status:"publish"}],p=a(...d),g=e?(null==p?void 0:p.length)>1:(null==p?void 0:p.length)>0;return{isNavigationMenuResolved:m,isNavigationMenuMissing:!e||m&&!c,canSwitchNavigationMenu:g,hasResolvedNavigationMenus:l("getEntityRecords",d),navigationMenu:u,navigationMenus:p,canUserUpdateNavigationEntity:e?i("update","navigation",e):void 0,hasResolvedCanUserUpdateNavigationEntity:l("canUser",["update","navigation",e]),canUserDeleteNavigationEntity:e?i("delete","navigation",e):void 0,hasResolvedCanUserDeleteNavigationEntity:l("canUser",["delete","navigation",e]),canUserCreateNavigation:i("create","navigation"),hasResolvedCanUserCreateNavigation:l("canUser",["create","navigation"])}}),[e])}function ws(e){return{...xs(),...Es(),...Cs(e)}}function Es(){const{menus:e,isResolvingMenus:t,hasResolvedMenus:n}=(0,Ie.useSelect)((e=>{const{getMenus:t,isResolving:n,hasFinishedResolution:o}=e(Dt.store),r=[{per_page:-1}];return{menus:t(...r),isResolvingMenus:n("getMenus",r),hasResolvedMenus:o("getMenus",r)}}),[]);return{menus:e,isResolvingMenus:t,hasResolvedMenus:n,hasMenus:!(!n||null==e||!e.length)}}function Cs(e){const{menuItems:t,hasResolvedMenuItems:n}=(0,Ie.useSelect)((t=>{const{getMenuItems:n,hasFinishedResolution:o}=t(Dt.store),r=void 0!==e,a=r?[{menus:e,per_page:-1}]:void 0;return{menuItems:r?n(...a):void 0,hasResolvedMenuItems:!!r&&o("getMenuItems",a)}}),[e]);return{menuItems:t,hasResolvedMenuItems:n}}function xs(){const{pages:e,isResolvingPages:t,hasResolvedPages:n}=(0,Ie.useSelect)((e=>{const{getEntityRecords:t,isResolving:n,hasFinishedResolution:o}=e(Dt.store),r=["postType","page",{parent:0,order:"asc",orderby:"id",per_page:-1}];return{pages:t(...r)||null,isResolvingPages:n("getEntityRecords",r),hasResolvedPages:o("getEntityRecords",r)}}),[]);return{pages:e,isResolvingPages:t,hasResolvedPages:n,hasPages:!(!n||null==e||!e.length)}}var Ss=function(e){let{icon:t,size:n=24,...o}=e;return(0,ye.cloneElement)(t,{width:n,height:n,...o})},Bs=window.wp.htmlEntities;var Ts=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.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"}));var Ns=e=>{let{isLoading:t}=e;return(0,ye.createElement)("ul",{className:nt()("wp-block-navigation-placeholder__preview","wp-block-navigation__container",{"is-loading":t})},(0,ye.createElement)("li",{className:"wp-block-navigation-item"},"​"),(0,ye.createElement)("li",{className:"wp-block-navigation-item"},"​"),(0,ye.createElement)("li",{className:"wp-block-navigation-item"},"​"),(0,ye.createElement)("li",{className:"wp-block-navigation-placeholder__preview-search-icon"},(0,ye.createElement)(Ss,{icon:Ts})))};function zs(e,t){return e&&t?e+"//"+t:null}const Ps=["postType","wp_navigation",{status:"draft",per_page:-1}],Is=["postType","wp_navigation",{per_page:-1,status:"publish"}];function Ms(e){const t=(0,ye.useContext)(ke.Disabled.Context),n=function(e){return(0,Ie.useSelect)((t=>{if(!e)return;const{getBlock:n,getBlockParentsByBlockName:o}=t(Ee.store),r=o(e,"core/template-part",!0);if(null==r||!r.length)return;const a=t("core/editor").__experimentalGetDefaultTemplatePartAreas(),{getEditedEntityRecord:l}=t(Dt.store);for(const e of r){const t=n(e),{theme:o,slug:r}=t.attributes,s=l("postType","wp_template_part",zs(o,r));var i;if(null!=s&&s.area)return null===(i=a.find((e=>"uncategorized"!==e.area&&e.area===s.area)))||void 0===i?void 0:i.label}}),[e])}(t?void 0:e),o=(0,Ie.useRegistry)();return(0,ye.useCallback)((async()=>{if(t)return"";const{getEntityRecords:e}=o.resolveSelect(Dt.store),[r,a]=await Promise.all([e(...Ps),e(...Is)]),l=n?(0,we.sprintf)((0,we.__)("%s navigation"),n):(0,we.__)("Navigation"),i=[...r,...a].reduce(((e,t)=>{var n,o;return null!=t&&null!==(n=t.title)&&void 0!==n&&null!==(o=n.raw)&&void 0!==o&&o.startsWith(l)?e+1:e}),0);return(i>0?`${l} ${i+1}`:l)||""}),[t,n])}function Rs(e){const{saveEntityRecord:t}=(0,Ie.useDispatch)(Dt.store),n=Ms(e);return(0,ye.useCallback)((async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e||(e=await n());const r={title:e,content:(0,be.serialize)(o),status:"publish"};return await t("postType","wp_navigation",r)}),[be.serialize,t])}function Ls(e){if(!e)return null;const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"parent";const o=Object.create(null),r=[];for(const a of e)o[a[t]]={...a,children:[]},a[n]?(o[a[n]]=o[a[n]]||{},o[a[n]].children=o[a[n]].children||[],o[a[n]].children.push(o[a[t]])):r.push(o[a[t]]);return r}(e),n=Vs(t);return(0,ja.applyFilters)("blocks.navigation.__unstableMenuItemsToBlocks",n,e)}function Vs(e){let t={};const n=(0,Le.sortBy)(e,"menu_order").map((e=>{var n,o;if("block"===e.type){const[t]=(0,be.parse)(e.content.raw);return t||(0,be.createBlock)("core/freeform",{content:e.content})}const r=function(e){var t;let{title:n,xfn:o,classes:r,attr_title:a,object:l,object_id:i,description:s,url:c,type:u,target:m}=e;l&&"post_tag"===l&&(l="tag");return{label:(null==n?void 0:n.rendered)||"",...(null===(t=l)||void 0===t?void 0:t.length)&&{type:l},kind:(null==u?void 0:u.replace("_","-"))||"custom",url:c||"",...(null==o?void 0:o.length)&&o.join(" ").trim()&&{rel:o.join(" ").trim()},...(null==r?void 0:r.length)&&r.join(" ").trim()&&{className:r.join(" ").trim()},...(null==a?void 0:a.length)&&{title:a},...i&&"custom"!==l&&{id:i},...(null==s?void 0:s.length)&&{description:s},..."_blank"===m&&{opensInNewTab:!0}}}(e),{innerBlocks:a=[],mapping:l={}}=null!==(n=e.children)&&void 0!==n&&n.length?Vs(e.children):{};t={...t,...l};const i=null!==(o=e.children)&&void 0!==o&&o.length?"core/navigation-submenu":"core/navigation-link",s=(0,be.createBlock)(i,r,a);return t[e.id]=s.clientId,s}));return{innerBlocks:n,mapping:t}}function Hs(e){const[t,n]=(0,ye.useState)(),[o,r]=(0,ye.useState)(!1),[a,l]=(0,ye.useState)(""),{menuItems:i,hasResolvedMenuItems:s}=ws(t),c=(0,ye.useCallback)((t=>{const{innerBlocks:n}=Ls(i);e(n,t)}),[i,Ls,e]);return(0,ye.useEffect)((()=>{o&&s&&(c(a),r(!1))}),[o,s,a]),(0,ye.useCallback)(((e,t)=>{n(e),s?c(t):(r(!0),l(t))}),[s,c])}const As=e=>{let{canSwitchNavigationMenu:t,navigationMenus:n,onFinish:o,menus:r,onCreateFromMenu:a,showClassicMenus:l=!1}=e;return(0,ye.createElement)(ke.DropdownMenu,{text:(0,we.__)("Select menu"),icon:null,toggleProps:{variant:"tertiary",iconPosition:"right",className:"wp-block-navigation-placeholder__actions__dropdown"},popoverProps:{isAlternate:!0}},(e=>{let{onClose:i}=e;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.MenuGroup,{label:(0,we.__)("Menus")},t&&(null==n?void 0:n.map((e=>(0,ye.createElement)(ke.MenuItem,{onClick:()=>{o(e)},onClose:i,key:e.id},(0,Bs.decodeEntities)(e.title.rendered)))))),l&&(0,ye.createElement)(ke.MenuGroup,{label:(0,we.__)("Classic Menus")},null==r?void 0:r.map((e=>(0,ye.createElement)(ke.MenuItem,{onClick:()=>{a(e.id,e.name)},onClose:i,key:e.id},(0,Bs.decodeEntities)(e.name))))))}))};function Fs(e){let{clientId:t,onFinish:n,canSwitchNavigationMenu:o,hasResolvedNavigationMenus:r,canUserCreateNavigation:a=!1}=e;const l=Rs(t),i=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!a)return;const o=await l(t,e);n(o,e)},s=Hs(i),{isResolvingPages:c,menus:u,isResolvingMenus:m,hasPages:d,hasMenus:p}=ws(),g=c||m,{navigationMenus:h}=ks();return(0,ye.createElement)(ye.Fragment,null,(!r||g)&&(0,ye.createElement)(Ns,{isLoading:!0}),r&&!g&&(0,ye.createElement)(ke.Placeholder,{className:"wp-block-navigation-placeholder"},(0,ye.createElement)(Ns,null),(0,ye.createElement)("div",{className:"wp-block-navigation-placeholder__controls"},(0,ye.createElement)("div",{className:"wp-block-navigation-placeholder__actions"},(0,ye.createElement)("div",{className:"wp-block-navigation-placeholder__actions__indicator"},(0,ye.createElement)(Ss,{icon:ys})," ",(0,we.__)("Navigation")),(0,ye.createElement)("hr",null),p||null!=h&&h.length?(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(As,{canSwitchNavigationMenu:o,navigationMenus:h,onFinish:n,menus:u,onCreateFromMenu:s,showClassicMenus:a}),(0,ye.createElement)("hr",null)):void 0,a&&d?(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.Button,{variant:"tertiary",onClick:()=>{const e=[(0,be.createBlock)("core/page-list")];i(e)}},(0,we.__)("Add all pages")),(0,ye.createElement)("hr",null)):void 0,a&&(0,ye.createElement)(ke.Button,{variant:"tertiary",onClick:()=>{i([])}},(0,we.__)("Start empty"))))))}var Ds=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.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"}));function Gs(e){let{children:t,id:n,isOpen:o,isResponsive:r,onToggle:a,isHiddenByDefault:l,classNames:i,styles:s}=e;if(!r)return t;const c=nt()("wp-block-navigation__responsive-container",i,{"is-menu-open":o,"hidden-by-default":l}),u=nt()("wp-block-navigation__responsive-container-open",{"always-shown":l}),m=`${n}-modal`,d={className:"wp-block-navigation__responsive-dialog",...o&&{role:"dialog","aria-modal":!0,"aria-label":(0,we.__)("Menu")}};return(0,ye.createElement)(ye.Fragment,null,!o&&(0,ye.createElement)(ke.Button,{"aria-haspopup":"true","aria-label":(0,we.__)("Open menu"),className:u,onClick:()=>a(!0)},(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",role:"img","aria-hidden":"true",focusable:"false"},(0,ye.createElement)(fe.Rect,{x:"4",y:"7.5",width:"16",height:"1.5"}),(0,ye.createElement)(fe.Rect,{x:"4",y:"15",width:"16",height:"1.5"}))),(0,ye.createElement)("div",{className:c,style:s,id:m},(0,ye.createElement)("div",{className:"wp-block-navigation__responsive-close",tabIndex:"-1"},(0,ye.createElement)("div",d,(0,ye.createElement)(ke.Button,{className:"wp-block-navigation__responsive-container-close","aria-label":(0,we.__)("Close menu"),onClick:()=>a(!1)},(0,ye.createElement)(Ss,{icon:Ds})),(0,ye.createElement)("div",{className:"wp-block-navigation__responsive-container-content",id:`${m}-content`},t)))))}const Us=["core/navigation-link","core/search","core/social-links","core/page-list","core/spacer","core/home-link","core/site-title","core/site-logo","core/navigation-submenu"],Os=["core/navigation-link"],qs={type:"default",alignments:[]};function $s(e){let{isVisible:t,clientId:n,appender:o,hasCustomPlaceholder:r,orientation:a}=e;const{isImmediateParentOfSelectedBlock:l,selectedBlockHasDescendants:i,isSelected:s}=(0,Ie.useSelect)((e=>{var t;const{getClientIdsOfDescendants:o,hasSelectedInnerBlock:r,getSelectedBlockClientId:a}=e(Ee.store),l=a();return{isImmediateParentOfSelectedBlock:r(n,!1),selectedBlockHasDescendants:!(null===(t=o([l]))||void 0===t||!t.length),isSelected:l===n}}),[n]),[c,u,m]=(0,Dt.useEntityBlockEditor)("postType","wp_navigation"),d=(0,ye.useMemo)((()=>c.every((e=>{let{name:t}=e;return"core/navigation-link"===t||"core/navigation-submenu"===t||"core/page-list"===t}))),[c]),p=!(!t||!(s||l&&!i))&&void 0,g=(0,ye.useMemo)((()=>(0,ye.createElement)(Ns,null)),[]),h=(0,Ee.useInnerBlocksProps)({className:"wp-block-navigation__container"},{value:c,onInput:u,onChange:m,allowedBlocks:Us,__experimentalDefaultBlock:Os,__experimentalDirectInsert:d,orientation:a,renderAppender:o||p,templateLock:!1,__experimentalLayout:qs,placeholder:!t||r?void 0:g});return(0,ye.createElement)(Ee.__experimentalBlockContentOverlay,{clientId:n,tagName:"div",wrapperProps:h})}function Ws(e){let{clientId:t,onSelect:n,onCreateNew:o,canUserCreateNavigation:r=!1}=e;const{menus:a,hasMenus:l}=ws(),{navigationMenus:i}=ks(),s=(0,Dt.useEntityId)("postType","wp_navigation"),c=Rs(t),u=Hs((async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!r)return;const o=await c(t,e);n(o)}));return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.MenuGroup,{label:(0,we.__)("Menus")},(0,ye.createElement)(ke.MenuItemsChoice,{value:s,onSelect:e=>n(i.find((t=>t.id===e))),choices:i.map((e=>{let{id:t,title:n}=e;const o=(0,Bs.decodeEntities)(n.rendered);return{value:t,label:o,"aria-label":(0,we.sprintf)((0,we.__)("Switch to '%s'"),o)}}))})),r&&(0,ye.createElement)(ye.Fragment,null,l&&(0,ye.createElement)(ke.MenuGroup,{label:(0,we.__)("Classic Menus")},a.map((e=>(0,ye.createElement)(ke.MenuItem,{onClick:()=>{u(e.id,e.name)},key:e.id},(0,Bs.decodeEntities)(e.name))))),(0,ye.createElement)(ke.MenuGroup,{label:(0,we.__)("Tools")},(0,ye.createElement)(ke.MenuItem,{onClick:o},(0,we.__)("Create new menu")),(0,ye.createElement)(ke.MenuItem,{href:(0,Dr.addQueryArgs)("edit.php",{post_type:"wp_navigation"})},(0,we.__)("Manage menus")))))}function js(){const[e,t]=(0,Dt.useEntityProp)("postType","wp_navigation","title");return(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Menu name"),value:e,onChange:t})}const Zs={},Ks=["postType","wp_navigation",{status:"draft",per_page:-1}];function Qs(e){let{blockProps:t,blocks:n,clientId:o,hasSavedUnsavedInnerBlocks:r,onSave:a,hasSelection:l}=e;const i=(0,ye.useContext)(ke.Disabled.Context),s=(0,ye.useRef)(!1),c=(0,Ee.useInnerBlocksProps)(t,{renderAppender:!!l&&void 0}),{isSaving:u,draftNavigationMenus:m,hasResolvedDraftNavigationMenus:d}=(0,Ie.useSelect)((e=>{if(i)return Zs;const{getEntityRecords:t,hasFinishedResolution:n,isSavingEntityRecord:o}=e(Dt.store);return{isSaving:o("postType","wp_navigation"),draftNavigationMenus:t(...Ks),hasResolvedDraftNavigationMenus:n("getEntityRecords",Ks)}}),[i]),{hasResolvedNavigationMenus:p,navigationMenus:g}=ks(),h=Rs(o);return(0,ye.useEffect)((async()=>{if(i||r||u||s.current||!d||!p||!l)return;s.current=!0;const e=await h(null,n);a(e),s.current=!1}),[i,u,d,p,m,g,l,h,n]),(0,ye.createElement)("div",{className:"wp-block-navigation__unsaved-changes"},(0,ye.createElement)(ke.Disabled,{className:nt()("wp-block-navigation__unsaved-changes-overlay",{"is-saving":l})},(0,ye.createElement)("div",c)),l&&(0,ye.createElement)(ke.Spinner,null))}function Js(e){let{onDelete:t}=e;const[n,o]=(0,ye.useState)(!1),r=(0,Dt.useEntityId)("postType","wp_navigation"),[a]=(0,Dt.useEntityProp)("postType","wp_navigation","title"),{deleteEntityRecord:l}=(0,Ie.useDispatch)(Dt.store);return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.Button,{className:"wp-block-navigation-delete-menu-button",variant:"secondary",isDestructive:!0,onClick:()=>{o(!0)}},(0,we.__)("Delete menu")),n&&(0,ye.createElement)(ke.Modal,{title:(0,we.sprintf)((0,we.__)("Delete %s"),a),closeLabel:(0,we.__)("Cancel"),onRequestClose:()=>o(!1)},(0,ye.createElement)("p",null,(0,we.__)("Are you sure you want to delete this navigation menu?")),(0,ye.createElement)(ke.Flex,{justify:"flex-end"},(0,ye.createElement)(ke.FlexItem,null,(0,ye.createElement)(ke.Button,{variant:"secondary",onClick:()=>{o(!1)}},(0,we.__)("Cancel"))),(0,ye.createElement)(ke.FlexItem,null,(0,ye.createElement)(ke.Button,{variant:"primary",onClick:()=>{l("postType","wp_navigation",r,{force:!0}),t()}},(0,we.__)("Confirm"))))))}var Ys=function(){let{name:e,message:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(0,ye.useRef)(),{createWarningNotice:o,removeNotice:r}=(0,Ie.useDispatch)(Ir.store),a=()=>{n.current||(n.current=e,o(t,{id:n.current,type:"snackbar"}))},l=()=>{n.current&&(r(n.current),n.current=null)};return[a,l]};const Xs=[];function ec(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function tc(e,t,n){if(!e)return;t(ec(e).color);let o=e,r=ec(o).backgroundColor;for(;"rgba(0, 0, 0, 0)"===r&&o.parentNode&&o.parentNode.nodeType===o.parentNode.ELEMENT_NODE;)o=o.parentNode,r=ec(o).backgroundColor;n(r)}var nc=(0,Ee.withColors)({textColor:"color"},{backgroundColor:"color"},{overlayBackgroundColor:"color"},{overlayTextColor:"color"})((function(e){let{attributes:t,setAttributes:n,clientId:o,isSelected:r,className:a,backgroundColor:l,setBackgroundColor:i,textColor:s,setTextColor:c,overlayBackgroundColor:u,setOverlayBackgroundColor:m,overlayTextColor:d,setOverlayTextColor:p,context:{navigationArea:g},hasSubmenuIndicatorSetting:h=!0,hasColorSettings:v=!0,customPlaceholder:b=null,customAppender:y=null}=e;const{openSubmenusOnClick:f,overlayMenu:_,showSubmenuIcon:k,layout:{justifyContent:w,orientation:E="horizontal",flexWrap:C="wrap"}={}}=t;let x=Le.noop;const S=g?undefined:t.ref,B=(0,Ie.useRegistry)(),T=(0,ye.useCallback)((e=>{n({ref:e}),g&&x(e)}),[g]),[N,z]=(0,Ee.__experimentalUseNoRecursiveRenders)(`navigationMenu/${S}`);ws();const{hasUncontrolledInnerBlocks:P,uncontrolledInnerBlocks:I,isInnerBlockSelected:M}=(0,Ie.useSelect)((e=>{const{getBlock:t,getBlocks:n,hasSelectedInnerBlock:r}=e(Ee.store),a=t(o).innerBlocks,l=null==a?void 0:a.length,i=l?Xs:n(o);return{hasSubmenus:!!(l?a:i).find((e=>"core/navigation-submenu"===e.name)),hasUncontrolledInnerBlocks:l,uncontrolledInnerBlocks:a,isInnerBlockSelected:r(o,!0)}}),[o]),{replaceInnerBlocks:R,selectBlock:L,__unstableMarkNextChangeAsNotPersistent:V}=(0,Ie.useDispatch)(Ee.store),[H,A]=(0,ye.useState)(!1),F=!!g&&!S,[D,G]=(0,ye.useState)(!P||F),[U,O]=(0,ye.useState)(!1),{isNavigationMenuResolved:q,isNavigationMenuMissing:$,canSwitchNavigationMenu:W,hasResolvedNavigationMenus:j,navigationMenus:Z,navigationMenu:K,canUserUpdateNavigationEntity:Q,hasResolvedCanUserUpdateNavigationEntity:J,canUserDeleteNavigationEntity:Y,hasResolvedCanUserDeleteNavigationEntity:X,canUserCreateNavigation:ee,hasResolvedCanUserCreateNavigation:te}=ks(S),ne=(0,ye.useRef)(),oe="draft"===(null==K?void 0:K.status),{listViewToolbarButton:re,listViewModal:ae}=function(e,t){const[n,o]=(0,ye.useState)(!1);return{listViewToolbarButton:(0,ye.createElement)(ke.ToolbarButton,{className:"components-toolbar__control",label:(0,we.__)("Open list view"),onClick:()=>o(!0),icon:fs}),listViewModal:n&&(0,ye.createElement)(ke.Modal,{title:(0,we.__)("List View"),closeLabel:(0,we.__)("Close"),onRequestClose:()=>{o(!1)},shouldCloseOnClickOutside:!1},(0,ye.createElement)(_s,{clientId:e,__experimentalFeatures:t}))}}(o),le=!$&&q,ie=(0,Ee.useBlockProps)({ref:ne,className:nt()(a,{"items-justified-right":"right"===w,"items-justified-space-between":"space-between"===w,"items-justified-left":"left"===w,"items-justified-center":"center"===w,"is-vertical":"vertical"===E,"no-wrap":"nowrap"===C,"is-responsive":"never"!==_,"has-text-color":!!s.color||!(null==s||!s.class),[(0,Ee.getColorClassName)("color",null==s?void 0:s.slug)]:!(null==s||!s.slug),"has-background":!!l.color||l.class,[(0,Ee.getColorClassName)("background-color",null==l?void 0:l.slug)]:!(null==l||!l.slug)}),style:{color:!(null!=s&&s.slug)&&(null==s?void 0:s.color),backgroundColor:!(null!=l&&l.slug)&&(null==l?void 0:l.color)}}),se=nt()({"has-text-color":!!d.color||!(null==d||!d.class),[(0,Ee.getColorClassName)("color",null==d?void 0:d.slug)]:!(null==d||!d.slug),"has-background":!!u.color||(null==u?void 0:u.class),[(0,Ee.getColorClassName)("background-color",null==u?void 0:u.slug)]:!(null==u||!u.slug)}),ce={color:!(null!=d&&d.slug)&&(null==d?void 0:d.color),backgroundColor:!(null!=u&&u.slug)&&(null==u?void 0:u.color)&&u.color},ue="web"===ye.Platform.OS,[me,de]=(0,ye.useState)(),[pe,ge]=(0,ye.useState)(),[he,ve]=(0,ye.useState)(),[be,fe]=(0,ye.useState)();(0,ye.useEffect)((()=>{E&&(V(),n({orientation:E}))}),[E]),(0,ye.useEffect)((()=>{var e;if(!ue)return;tc(ne.current,ge,de);const t=null===(e=ne.current)||void 0===e?void 0:e.querySelector('[data-type="core/navigation-link"] [data-type="core/navigation-link"]');t&&tc(t,fe,ve)})),(0,ye.useEffect)((()=>{G(!le)}),[le]);const[_e,Ce]=Ys({name:"block-library/core/navigation/permissions/update",message:(0,we.__)("You do not have permission to edit this Menu. Any changes made will not be saved.")}),[xe,Se]=Ys({name:"block-library/core/navigation/permissions/create",message:(0,we.__)("You do not have permission to create Navigation Menus.")});(0,ye.useEffect)((()=>{r||M||(Ce(),Se()),(r||M)&&(J&&!Q&&_e(),S||!te||ee||xe())}),[r,M,Q,J,ee,te,S]);const Be=(0,ye.useCallback)((()=>{B.batch((()=>{g&&x(0),n({ref:void 0}),S||R(o,[]),G(!0)}))}),[o,S]);if(P&&!le)return(0,ye.createElement)("nav",ie,(0,ye.createElement)(Gs,{id:o,onToggle:O,isOpen:U,isResponsive:"never"!==_,isHiddenByDefault:"always"===_,classNames:se,styles:ce},(0,ye.createElement)(Qs,{blockProps:ie,blocks:I,clientId:o,navigationMenus:Z,hasSelection:r||M,hasSavedUnsavedInnerBlocks:H,onSave:e=>{A(!0),T(e.id)}})));if(S&&$)return(0,ye.createElement)("div",ie,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("Navigation menu has been deleted or is unavailable. "),(0,ye.createElement)(ke.Button,{onClick:Be,variant:"link"},(0,we.__)("Create a new menu?"))));if(le&&N)return(0,ye.createElement)("div",ie,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("Block cannot be rendered inside itself.")));const Te=b||Fs;return(0,ye.createElement)(Dt.EntityProvider,{kind:"postType",type:"wp_navigation",id:S},(0,ye.createElement)(z,null,(0,ye.createElement)(Ee.BlockControls,null,!oe&&le&&(0,ye.createElement)(ke.ToolbarGroup,null,(0,ye.createElement)(ke.ToolbarDropdownMenu,{label:(0,we.__)("Select Menu"),text:(0,we.__)("Select Menu"),icon:null},(e=>{let{onClose:t}=e;return(0,ye.createElement)(Ws,{clientId:o,onSelect:e=>{let{id:n}=e;T(n),t()},onCreateNew:Be,canUserCreateNavigation:ee})}))),(0,ye.createElement)(ke.ToolbarGroup,null,re)),ae,(0,ye.createElement)(Ee.InspectorControls,null,h&&(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Display")},(0,ye.createElement)("h3",null,(0,we.__)("Overlay Menu")),(0,ye.createElement)(ke.__experimentalToggleGroupControl,{label:(0,we.__)("Configure overlay menu"),value:_,help:(0,we.__)("Collapses the navigation options in a menu icon opening an overlay."),onChange:e=>n({overlayMenu:e}),isBlock:!0,hideLabelFromVision:!0},(0,ye.createElement)(ke.__experimentalToggleGroupControlOption,{value:"never",label:(0,we.__)("Off")}),(0,ye.createElement)(ke.__experimentalToggleGroupControlOption,{value:"mobile",label:(0,we.__)("Mobile")}),(0,ye.createElement)(ke.__experimentalToggleGroupControlOption,{value:"always",label:(0,we.__)("Always")})),(0,ye.createElement)("h3",null,(0,we.__)("Submenus")),(0,ye.createElement)(ke.ToggleControl,{checked:f,onChange:e=>{n({openSubmenusOnClick:e})},label:(0,we.__)("Open on click")}),!t.openSubmenusOnClick&&(0,ye.createElement)(ke.ToggleControl,{checked:k,onChange:e=>{n({showSubmenuIcon:e})},label:(0,we.__)("Show icons")})),v&&(0,ye.createElement)(Ee.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:(0,we.__)("Color"),initialOpen:!1,colorSettings:[{value:s.color,onChange:c,label:(0,we.__)("Text")},{value:l.color,onChange:i,label:(0,we.__)("Background")},{value:d.color,onChange:p,label:(0,we.__)("Submenu & overlay text")},{value:u.color,onChange:m,label:(0,we.__)("Submenu & overlay background")}]},ue&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.ContrastChecker,{backgroundColor:me,textColor:pe}),(0,ye.createElement)(Ee.ContrastChecker,{backgroundColor:he,textColor:be})))),le&&(0,ye.createElement)(Ee.InspectorControls,{__experimentalGroup:"advanced"},J&&Q&&(0,ye.createElement)(js,null),X&&Y&&(0,ye.createElement)(Js,{onDelete:Be})),(0,ye.createElement)("nav",ie,D&&(0,ye.createElement)(Te,{onFinish:e=>{G(!1),e&&T(e.id),L(o)},canSwitchNavigationMenu:W,hasResolvedNavigationMenus:j,clientId:o,canUserCreateNavigation:ee}),!te||!le&&!D&&(0,ye.createElement)(Ns,{isLoading:!0}),!D&&(0,ye.createElement)(Gs,{id:o,onToggle:O,isOpen:U,isResponsive:"never"!==_,isHiddenByDefault:"always"===_,classNames:se,styles:ce},le&&(0,ye.createElement)($s,{isVisible:!D,clientId:o,appender:y,hasCustomPlaceholder:!!b,orientation:E})))))}));const oc={fontStyle:"var:preset|font-style|",fontWeight:"var:preset|font-weight|",textDecoration:"var:preset|text-decoration|",textTransform:"var:preset|text-transform|"},rc=e=>{let{navigationMenuId:t,...n}=e;return{...n,ref:t}},ac=e=>{if(e.layout)return e;const{itemsJustification:t,orientation:n,...o}=e;return(t||n)&&Object.assign(o,{layout:{type:"flex",...t&&{justifyContent:t},...n&&{orientation:n}}}),o},lc=[{attributes:{navigationMenuId:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},overlayMenu:{type:"string",default:"mobile"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{blockGap:!0,units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},save:()=>(0,ye.createElement)(Ee.InnerBlocks.Content,null),isEligible:e=>{let{navigationMenuId:t}=e;return!!t},migrate:rc},{attributes:{navigationMenuId:{type:"number"},orientation:{type:"string",default:"horizontal"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},overlayMenu:{type:"string",default:"never"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{blockGap:!0,units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}}},save:()=>(0,ye.createElement)(Ee.InnerBlocks.Content,null),isEligible:e=>{let{itemsJustification:t,orientation:n}=e;return!!t||!!n},migrate:(0,ot.compose)(rc,ac)},{attributes:{orientation:{type:"string",default:"horizontal"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},overlayMenu:{type:"string",default:"never"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0},spacing:{blockGap:!0,units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}}},save:()=>(0,ye.createElement)(Ee.InnerBlocks.Content,null),migrate:(0,ot.compose)(rc,ac,lt),isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}},{attributes:{orientation:{type:"string",default:"horizontal"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},isResponsive:{type:"boolean",default:"false"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0}},isEligible:e=>e.isResponsive,migrate:(0,ot.compose)(rc,ac,lt,(function(e){return delete e.isResponsive,{...e,overlayMenu:"mobile"}})),save:()=>(0,ye.createElement)(Ee.InnerBlocks.Content,null)},{attributes:{orientation:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0}},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,fontSize:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,color:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0},save:()=>(0,ye.createElement)(Ee.InnerBlocks.Content,null),isEligible(e){if(!e.style||!e.style.typography)return!1;for(const t in oc){const n=e.style.typography[t];if(n&&n.startsWith(oc[t]))return!0}return!1},migrate:(0,ot.compose)(rc,ac,lt,(function(e){return{...e,style:{...e.style,typography:(0,Le.mapValues)(e.style.typography,((e,t)=>{const n=oc[t];if(n&&e.startsWith(n)){const o=e.slice(n.length);return"textDecoration"===t&&"strikethrough"===o?"line-through":o}return e}))}}}))},{attributes:{className:{type:"string"},textColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"},itemsJustification:{type:"string"},showSubmenuIcon:{type:"boolean"}},isEligible:e=>e.rgbTextColor||e.rgbBackgroundColor,supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0},migrate:(0,ot.compose)(rc,(e=>({...(0,Le.omit)(e,["rgbTextColor","rgbBackgroundColor"]),customTextColor:e.textColor?void 0:e.rgbTextColor,customBackgroundColor:e.backgroundColor?void 0:e.rgbBackgroundColor}))),save:()=>(0,ye.createElement)(Ee.InnerBlocks.Content,null)}];var ic=lc;const sc={apiVersion:2,name:"core/navigation",title:"Navigation",category:"theme",description:"A collection of blocks that allow visitors to get around your site.",keywords:["menu","navigation","links"],textdomain:"default",attributes:{ref:{type:"number"},textColor:{type:"string"},customTextColor:{type:"string"},rgbTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},rgbBackgroundColor:{type:"string"},showSubmenuIcon:{type:"boolean",default:!0},openSubmenusOnClick:{type:"boolean",default:!1},overlayMenu:{type:"string",default:"mobile"},__unstableLocation:{type:"string"},overlayBackgroundColor:{type:"string"},customOverlayBackgroundColor:{type:"string"},overlayTextColor:{type:"string"},customOverlayTextColor:{type:"string"}},usesContext:["navigationArea"],providesContext:{textColor:"textColor",customTextColor:"customTextColor",backgroundColor:"backgroundColor",customBackgroundColor:"customBackgroundColor",overlayTextColor:"overlayTextColor",customOverlayTextColor:"customOverlayTextColor",overlayBackgroundColor:"overlayBackgroundColor",customOverlayBackgroundColor:"customOverlayBackgroundColor",fontSize:"fontSize",customFontSize:"customFontSize",showSubmenuIcon:"showSubmenuIcon",openSubmenusOnClick:"openSubmenusOnClick",style:"style",orientation:"orientation"},supports:{align:["wide","full"],anchor:!0,html:!1,inserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalTextTransform:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{units:["px","em","rem","vh","vw"]},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},viewScript:"file:./view.min.js",editorStyle:"wp-block-navigation-editor",style:"wp-block-navigation"},{name:cc}=sc,uc={icon:ys,example:{innerBlocks:[{name:"core/navigation-link",attributes:{label:(0,we.__)("Home"),url:"https://make.wordpress.org/"}},{name:"core/navigation-link",attributes:{label:(0,we.__)("About"),url:"https://make.wordpress.org/"}},{name:"core/navigation-link",attributes:{label:(0,we.__)("Contact"),url:"https://make.wordpress.org/"}}]},edit:nc,save:function(e){let{attributes:t}=e;if(!t.ref)return(0,ye.createElement)(Ee.InnerBlocks.Content,null)},deprecated:ic};var mc=(0,ye.createElement)(fe.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M12.5 14.5h-1V16h1c2.2 0 4-1.8 4-4s-1.8-4-4-4h-1v1.5h1c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5zm-4 1.5v-1.5h-1C6.1 14.5 5 13.4 5 12s1.1-2.5 2.5-2.5h1V8h-1c-2.2 0-4 1.8-4 4s1.8 4 4 4h1zm-1-3.2h5v-1.5h-5v1.5zM18 4H9c-1.1 0-2 .9-2 2v.5h1.5V6c0-.3.2-.5.5-.5h9c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5v-.5H7v.5c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"}));var dc=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"}));const{name:pc}={apiVersion:2,name:"core/navigation-link",title:"Custom Link",category:"design",parent:["core/navigation"],description:"Add a page, link, or another item to your navigation.",textdomain:"default",attributes:{label:{type:"string"},type:{type:"string"},description:{type:"string"},rel:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"},title:{type:"string"},kind:{type:"string"},isTopLevelLink:{type:"boolean"}},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","style"],supports:{reusable:!1,html:!1,__experimentalSlashInserter:!0},editorStyle:"wp-block-navigation-link-editor",style:"wp-block-navigation-link"};function gc(e,t){switch(e){case"post":case"page":return{type:"post",subtype:e};case"category":return{type:"term",subtype:"category"};case"tag":return{type:"term",subtype:"post_tag"};case"post_format":return{type:"post-format"};default:return"taxonomy"===t?{type:"term",subtype:e}:"post-type"===t?{type:"post",subtype:e}:{}}}function hc(e){const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body.textContent||""}function vc(e){let{block:t,transforms:n,replace:o}=e;return(0,ye.createElement)("div",{className:"link-control-transform"},(0,ye.createElement)("h3",{className:"link-control-transform__subheading"},(0,we.__)("Transform")),(0,ye.createElement)("div",{className:"link-control-transform__items"},n.map(((e,n)=>(0,ye.createElement)(ke.Button,{key:`transform-${n}`,onClick:()=>o(t.clientId,(0,be.switchToBlockType)(t,e.name)),className:"link-control-transform__item"},(0,ye.createElement)(Ee.BlockIcon,{icon:e.icon}),e.title)))))}var bc=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M4 14.5h16V16H4zM4 18.5h9V20H4zM4 4h3c2 0 3 .86 3 2.583 0 .891-.253 1.554-.76 1.988-.505.435-1.24.652-2.204.652H5.542V12H4V4zm2.855 4c.53 0 .924-.114 1.18-.343.266-.228.398-.579.398-1.051 0-.473-.132-.82-.397-1.04-.265-.229-.67-.343-1.217-.343H5.542V8h1.313z"}));var yc=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M7 5.5h10a.5.5 0 01.5.5v12a.5.5 0 01-.5.5H7a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM17 4H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V6a2 2 0 00-2-2zm-1 3.75H8v1.5h8v-1.5zM8 11h8v1.5H8V11zm6 3.25H8v1.5h6v-1.5z"}));var fc=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M20.1 11.2l-6.7-6.7c-.1-.1-.3-.2-.5-.2H5c-.4-.1-.8.3-.8.7v7.8c0 .2.1.4.2.5l6.7 6.7c.2.2.5.4.7.5s.6.2.9.2c.3 0 .6-.1.9-.2.3-.1.5-.3.8-.5l5.6-5.6c.4-.4.7-1 .7-1.6.1-.6-.2-1.2-.6-1.6zM19 13.4L13.4 19c-.1.1-.2.1-.3.2-.2.1-.4.1-.6 0-.1 0-.2-.1-.3-.2l-6.5-6.5V5.8h6.8l6.5 6.5c.2.2.2.4.2.6 0 .1 0 .3-.2.5zM9 8c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1z"}));var _c=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z"}));const kc=[{name:"link",isDefault:!0,title:(0,we.__)("Custom Link"),description:(0,we.__)("A link to a custom URL."),attributes:{}},{name:"post",icon:bc,title:(0,we.__)("Post Link"),description:(0,we.__)("A link to a post."),attributes:{type:"post",kind:"post-type"}},{name:"page",icon:yc,title:(0,we.__)("Page Link"),description:(0,we.__)("A link to a page."),attributes:{type:"page",kind:"post-type"}},{name:"category",icon:$t,title:(0,we.__)("Category Link"),description:(0,we.__)("A link to a category."),attributes:{type:"category",kind:"taxonomy"}},{name:"tag",icon:fc,title:(0,we.__)("Tag Link"),description:(0,we.__)("A link to a tag."),attributes:{type:"tag",kind:"taxonomy"}}];kc.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)}));var wc=kc;function Ec(e){switch(e){case"post":return bc;case"page":return yc;case"tag":return fc;case"category":return $t;default:return _c}}const Cc={from:[{type:"block",blocks:["core/site-logo"],transform:()=>(0,be.createBlock)("core/navigation-link")},{type:"block",blocks:["core/spacer"],transform:()=>(0,be.createBlock)("core/navigation-link")},{type:"block",blocks:["core/home-link"],transform:()=>(0,be.createBlock)("core/navigation-link")},{type:"block",blocks:["core/social-links"],transform:()=>(0,be.createBlock)("core/navigation-link")},{type:"block",blocks:["core/search"],transform:()=>(0,be.createBlock)("core/navigation-link")}],to:[{type:"block",blocks:["core/navigation-submenu"],transform:(e,t)=>(0,be.createBlock)("core/navigation-submenu",e,t)},{type:"block",blocks:["core/spacer"],transform:()=>(0,be.createBlock)("core/spacer")},{type:"block",blocks:["core/site-logo"],transform:()=>(0,be.createBlock)("core/site-logo")},{type:"block",blocks:["core/home-link"],transform:()=>(0,be.createBlock)("core/home-link")},{type:"block",blocks:["core/social-links"],transform:()=>(0,be.createBlock)("core/social-links")},{type:"block",blocks:["core/search"],transform:()=>(0,be.createBlock)("core/search",{showLabel:!1,buttonUseIcon:!0,buttonPosition:"button-inside"})}]};var xc=Cc;const Sc={apiVersion:2,name:"core/navigation-link",title:"Custom Link",category:"design",parent:["core/navigation"],description:"Add a page, link, or another item to your navigation.",textdomain:"default",attributes:{label:{type:"string"},type:{type:"string"},description:{type:"string"},rel:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"},title:{type:"string"},kind:{type:"string"},isTopLevelLink:{type:"boolean"}},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","style"],supports:{reusable:!1,html:!1,__experimentalSlashInserter:!0},editorStyle:"wp-block-navigation-link-editor",style:"wp-block-navigation-link"},{name:Bc}=Sc,Tc={icon:mc,__experimentalLabel:e=>{let{label:t}=e;return t},merge(e,t){let{label:n=""}=t;return{...e,label:e.label+n}},edit:function(e){let{attributes:t,isSelected:n,setAttributes:o,insertBlocksAfter:r,mergeBlocks:a,onReplace:l,context:i,clientId:s}=e;const{label:c,type:u,opensInNewTab:m,url:d,description:p,rel:g,title:h,kind:v}=t,b={url:d,opensInNewTab:m,title:c&&hc(c)},{saveEntityRecord:y}=(0,Ie.useDispatch)(Dt.store),{replaceBlock:f,__unstableMarkNextChangeAsNotPersistent:_}=(0,Ie.useDispatch)(Ee.store),[k,w]=(0,ye.useState)(!1),E=(0,ye.useRef)(null),C=(e=>{const[t,n]=(0,ye.useState)(!1);return(0,ye.useEffect)((()=>{const{ownerDocument:t}=e.current;function o(e){a(e)}function r(){n(!1)}function a(t){e.current.contains(t.target)?n(!0):n(!1)}return t.addEventListener("dragstart",o),t.addEventListener("dragend",r),t.addEventListener("dragenter",a),()=>{t.removeEventListener("dragstart",o),t.removeEventListener("dragend",r),t.removeEventListener("dragenter",a)}}),[]),t})(E),x=(0,we.__)("Add link…"),S=(0,ye.useRef)(),{innerBlocks:B,isAtMaxNesting:T,isTopLevelLink:N,isParentOfSelectedBlock:z,hasDescendants:P,userCanCreatePages:I,userCanCreatePosts:M,thisBlock:R,blockTransforms:L}=(0,Ie.useSelect)((e=>{var t;const{getBlock:n,getBlocks:o,getBlockName:r,getBlockRootClientId:a,getClientIdsOfDescendants:l,hasSelectedInnerBlock:i,getSelectedBlockClientId:c,getBlockParentsByBlockName:u,getBlockTransformItems:m}=e(Ee.store),d=c(),p=l([s]).length;return{innerBlocks:o(s),isAtMaxNesting:u(s,[pc,"core/navigation-submenu"]).length>=5,isTopLevelLink:"core/navigation"===r(a(s)),isParentOfSelectedBlock:i(s,!0),isImmediateParentOfSelectedBlock:i(s,!1),hasDescendants:!!p,selectedBlockHasDescendants:!(null===(t=l([d]))||void 0===t||!t.length),userCanCreatePages:e(Dt.store).canUser("create","pages"),userCanCreatePosts:e(Dt.store).canUser("create","posts"),thisBlock:n(s),blockTransforms:m([n(s)],a(s))}}),[s]);function V(){const e=(0,be.createBlock)("core/navigation-submenu",t,B);f(s,e)}(0,ye.useEffect)((()=>{_(),o({isTopLevelLink:N})}),[N]);const H=["core/site-logo","core/social-links","core/search"],A=L.filter((e=>H.includes(e.name)));(0,ye.useEffect)((()=>{d||w(!0),P&&V()}),[]),(0,ye.useEffect)((()=>{n||w(!1)}),[n]),(0,ye.useEffect)((()=>{k&&d&&((0,Dr.isURL)((0,Dr.prependHTTP)(c))&&/^.+\.[a-z]+/.test(c)?function(){S.current.focus();const{ownerDocument:e}=S.current,{defaultView:t}=e,n=t.getSelection(),o=e.createRange();o.selectNodeContents(S.current),n.removeAllRanges(),n.addRange(o)}():(0,ls.placeCaretAtHorizontalEdge)(S.current,!0))}),[d]);let F=!1;u&&"page"!==u?"post"===u&&(F=M):F=I;const{textColor:D,customTextColor:G,backgroundColor:U,customBackgroundColor:O}=function(e,t){var n,o;const{textColor:r,customTextColor:a,backgroundColor:l,customBackgroundColor:i,overlayTextColor:s,customOverlayTextColor:c,overlayBackgroundColor:u,customOverlayBackgroundColor:m,style:d}=e,p={};return t&&c?p.customTextColor=c:t&&s?p.textColor=s:a?p.customTextColor=a:r?p.textColor=r:null!=d&&null!==(n=d.color)&&void 0!==n&&n.text&&(p.customTextColor=d.color.text),t&&m?p.customBackgroundColor=m:t&&u?p.backgroundColor=u:i?p.customBackgroundColor=i:l?p.backgroundColor=l:null!=d&&null!==(o=d.color)&&void 0!==o&&o.background&&(p.customTextColor=d.color.background),p}(i,!N),q=(0,Ee.useBlockProps)({ref:E,className:nt()("wp-block-navigation-item",{"is-editing":n||z,"is-dragging-within":C,"has-link":!!d,"has-child":P,"has-text-color":!!D||!!G,[(0,Ee.getColorClassName)("color",D)]:!!D,"has-background":!!U||O,[(0,Ee.getColorClassName)("background-color",U)]:!!U}),style:{color:!D&&G,backgroundColor:!U&&O},onKeyDown:function(e){(ht.isKeyboardEvent.primary(e,"k")||!d&&e.keyCode===ht.ENTER)&&w(!0)}});d||(q.onClick=()=>w(!0));const $=nt()("wp-block-navigation-item__content",{"wp-block-navigation-link__placeholder":!d});let W="";switch(u){case"post":W=(0,we.__)("Select post");break;case"page":W=(0,we.__)("Select page");break;case"category":W=(0,we.__)("Select category");break;case"tag":W=(0,we.__)("Select tag");break;default:W=(0,we.__)("Add link")}return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,null,(0,ye.createElement)(ke.ToolbarButton,{name:"link",icon:vt,title:(0,we.__)("Link"),shortcut:ht.displayShortcut.primary("k"),onClick:()=>w(!0)}),!T&&(0,ye.createElement)(ke.ToolbarButton,{name:"submenu",icon:dc,title:(0,we.__)("Add submenu"),onClick:V}))),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Link settings")},(0,ye.createElement)(ke.TextareaControl,{value:p||"",onChange:e=>{o({description:e})},label:(0,we.__)("Description"),help:(0,we.__)("The description will be displayed in the menu if the current theme supports it.")}),(0,ye.createElement)(ke.TextControl,{value:h||"",onChange:e=>{o({title:e})},label:(0,we.__)("Link title"),autoComplete:"off"}),(0,ye.createElement)(ke.TextControl,{value:g||"",onChange:e=>{o({rel:e})},label:(0,we.__)("Link rel"),autoComplete:"off"}))),(0,ye.createElement)("div",q,(0,ye.createElement)("a",{className:$},d?(0,ye.createElement)(Ee.RichText,{ref:S,identifier:"label",className:"wp-block-navigation-item__label",value:c,onChange:e=>o({label:e}),onMerge:a,onReplace:l,__unstableOnSplitAtEnd:()=>r((0,be.createBlock)("core/navigation-link")),"aria-label":(0,we.__)("Navigation link text"),placeholder:x,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"],onClick:()=>{d||w(!0)}}):(0,ye.createElement)("div",{className:"wp-block-navigation-link__placeholder-text"},(0,ye.createElement)(ke.Tooltip,{position:"top center",text:(0,we.__)("This item is missing a link")},(0,ye.createElement)("span",null,W))),k&&(0,ye.createElement)(ke.Popover,{position:"bottom center",onClose:()=>w(!1),anchorRef:E.current},(0,ye.createElement)(Ee.__experimentalLinkControl,{hasTextControl:!0,className:"wp-block-navigation-link__inline-link-input",value:b,showInitialSuggestions:!0,withCreateSuggestion:F,createSuggestion:async function(e){const t=u||"page",n=await y("postType",t,{title:e,status:"draft"});return{id:n.id,type:t,title:n.title.rendered,url:n.link,kind:"post-type"}},createSuggestionButtonText:e=>{let t;return t="post"===u?(0,we.__)("Create draft post: <mark>%s</mark>"):(0,we.__)("Create draft page: <mark>%s</mark>"),(0,ye.createInterpolateElement)((0,we.sprintf)(t,e),{mark:(0,ye.createElement)("mark",null)})},noDirectEntry:!!u,noURLSuggestion:!!u,suggestionsQuery:gc(u,v),onChange:e=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{label:o="",kind:r="",type:a=""}=n,{title:l="",url:i="",opensInNewTab:s,id:c,kind:u=r,type:m=a}=e,d=l.replace(/http(s?):\/\//gi,""),p=i.replace(/http(s?):\/\//gi,""),g=""!==l&&d!==p&&o!==l?(0,Le.escape)(l):o||(0,Le.escape)(p),h="post_tag"===m?"tag":m.replace("-","_"),v=["post","page","tag","category"].indexOf(h)>-1,b=!u&&!v||"custom"===u?"custom":u;t({...i&&{url:encodeURI((0,Dr.safeDecodeURI)(i))},...g&&{label:g},...void 0!==s&&{opensInNewTab:s},...c&&Number.isInteger(c)&&{id:c},...b&&{kind:b},...h&&"URL"!==h&&{type:h}})}(e,o,t),onRemove:function(){o({url:"",label:"",id:"",kind:"",type:""}),w(!1)},renderControlBottom:d?null:()=>(0,ye.createElement)(vc,{block:R,transforms:A,replace:f})})))))},save:function(){return(0,ye.createElement)(Ee.InnerBlocks.Content,null)},example:{attributes:{label:(0,we._x)("Example Link","navigation link preview example"),url:"https://example.com"}},deprecated:[{isEligible:e=>e.nofollow,attributes:{label:{type:"string"},type:{type:"string"},nofollow:{type:"boolean"},description:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"}},migrate(e){let{nofollow:t,...n}=e;return{rel:t?"nofollow":"",...n}},save:()=>(0,ye.createElement)(Ee.InnerBlocks.Content,null)}],transforms:xc};(0,ja.addFilter)("blocks.registerBlockType","core/navigation-link",(function(e,t){if("core/navigation-link"!==t)return e;if(!e.variations)return{...e,variations:wc};if(e.variations){const t=(e,t)=>e.type===t.type,n=e.variations.map((e=>({...e,...!e.icon&&{icon:Ec(e.name)},...!e.isActive&&{isActive:t}})));return{...e,variations:n}}return e}));var Nc=window.wp.a11y;const zc=()=>(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},(0,ye.createElement)(ke.Path,{d:"M1.50002 4L6.00002 8L10.5 4",strokeWidth:"1.5"})),{name:Pc}={apiVersion:2,name:"core/navigation-submenu",title:"Submenu",category:"design",parent:["core/navigation"],description:"Add a submenu to your navigation.",textdomain:"default",attributes:{label:{type:"string"},type:{type:"string"},description:{type:"string"},rel:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"},title:{type:"string"},kind:{type:"string"},isTopLevelItem:{type:"boolean"}},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","openSubmenusOnClick","style"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-navigation-submenu-editor",style:"wp-block-navigation-submenu"},Ic=["core/navigation-link","core/navigation-submenu"],Mc=["core/navigation-link"];function Rc(e,t){switch(e){case"post":case"page":return{type:"post",subtype:e};case"category":return{type:"term",subtype:"category"};case"tag":return{type:"term",subtype:"post_tag"};case"post_format":return{type:"post-format"};default:return"taxonomy"===t?{type:"term",subtype:e}:"post-type"===t?{type:"post",subtype:e}:{}}}function Lc(e,t){var n,o;const{textColor:r,customTextColor:a,backgroundColor:l,customBackgroundColor:i,overlayTextColor:s,customOverlayTextColor:c,overlayBackgroundColor:u,customOverlayBackgroundColor:m,style:d}=e,p={};return t&&c?p.customTextColor=c:t&&s?p.textColor=s:a?p.customTextColor=a:r?p.textColor=r:null!=d&&null!==(n=d.color)&&void 0!==n&&n.text&&(p.customTextColor=d.color.text),t&&m?p.customBackgroundColor=m:t&&u?p.backgroundColor=u:i?p.customBackgroundColor=i:l?p.backgroundColor=l:null!=d&&null!==(o=d.color)&&void 0!==o&&o.background&&(p.customTextColor=d.color.background),p}const Vc={to:[{type:"block",blocks:["core/navigation-link"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:e=>(0,be.createBlock)("core/navigation-link",e)},{type:"block",blocks:["core/spacer"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>(0,be.createBlock)("core/spacer")},{type:"block",blocks:["core/site-logo"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>(0,be.createBlock)("core/site-logo")},{type:"block",blocks:["core/home-link"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>(0,be.createBlock)("core/home-link")},{type:"block",blocks:["core/social-links"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>(0,be.createBlock)("core/social-links")},{type:"block",blocks:["core/search"],isMatch:(e,t)=>{var n;return 0===(null==t||null===(n=t.innerBlocks)||void 0===n?void 0:n.length)},transform:()=>(0,be.createBlock)("core/search")}]};var Hc=Vc;const Ac={apiVersion:2,name:"core/navigation-submenu",title:"Submenu",category:"design",parent:["core/navigation"],description:"Add a submenu to your navigation.",textdomain:"default",attributes:{label:{type:"string"},type:{type:"string"},description:{type:"string"},rel:{type:"string"},id:{type:"number"},opensInNewTab:{type:"boolean",default:!1},url:{type:"string"},title:{type:"string"},kind:{type:"string"},isTopLevelItem:{type:"boolean"}},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","openSubmenusOnClick","style"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-navigation-submenu-editor",style:"wp-block-navigation-submenu"},{name:Fc}=Ac,Dc={icon:dc,__experimentalLabel:e=>{let{label:t}=e;return t},edit:function(e){let{attributes:t,isSelected:n,setAttributes:o,mergeBlocks:r,onReplace:a,context:l,clientId:i}=e;const{label:s,type:c,opensInNewTab:u,url:m,description:d,rel:p,title:g,kind:h}=t,v={url:m,opensInNewTab:u},{showSubmenuIcon:b,openSubmenusOnClick:y}=l,{saveEntityRecord:f}=(0,Ie.useDispatch)(Dt.store),{__unstableMarkNextChangeAsNotPersistent:_}=(0,Ie.useDispatch)(Ee.store),[k,w]=(0,ye.useState)(!1),E=(0,ye.useRef)(null),C=(e=>{const[t,n]=(0,ye.useState)(!1);return(0,ye.useEffect)((()=>{const{ownerDocument:t}=e.current;function o(e){a(e)}function r(){n(!1)}function a(t){e.current.contains(t.target)?n(!0):n(!1)}return t.addEventListener("dragstart",o),t.addEventListener("dragend",r),t.addEventListener("dragenter",a),()=>{t.removeEventListener("dragstart",o),t.removeEventListener("dragend",r),t.removeEventListener("dragenter",a)}}),[]),t})(E),x=(0,we.__)("Add text…"),S=(0,ye.useRef)(),{isAtMaxNesting:B,isTopLevelItem:T,isParentOfSelectedBlock:N,isImmediateParentOfSelectedBlock:z,hasDescendants:P,selectedBlockHasDescendants:I,userCanCreatePages:M,userCanCreatePosts:R}=(0,Ie.useSelect)((e=>{var t;const{getClientIdsOfDescendants:n,hasSelectedInnerBlock:o,getSelectedBlockClientId:r,getBlockParentsByBlockName:a}=e(Ee.store),l=r(),s=n([i]).length;return{isAtMaxNesting:a(i,Pc).length>=5,isTopLevelItem:0===a(i,Pc).length,isParentOfSelectedBlock:o(i,!0),isImmediateParentOfSelectedBlock:o(i,!1),hasDescendants:!!s,selectedBlockHasDescendants:!(null===(t=n([l]))||void 0===t||!t.length),userCanCreatePages:e(Dt.store).canUser("create","pages"),userCanCreatePosts:e(Dt.store).canUser("create","posts")}}),[i]);(0,ye.useEffect)((()=>{y||m||w(!0)}),[]),(0,ye.useEffect)((()=>{_(),o({isTopLevelItem:T})}),[T]),(0,ye.useEffect)((()=>{n||w(!1)}),[n]),(0,ye.useEffect)((()=>{k&&m&&((0,Dr.isURL)((0,Dr.prependHTTP)(s))&&/^.+\.[a-z]+/.test(s)?function(){S.current.focus();const{ownerDocument:e}=S.current,{defaultView:t}=e,n=t.getSelection(),o=e.createRange();o.selectNodeContents(S.current),n.removeAllRanges(),n.addRange(o)}():(0,ls.placeCaretAtHorizontalEdge)(S.current,!0))}),[m]);let L=!1;c&&"page"!==c?"post"===c&&(L=R):L=M;const{textColor:V,customTextColor:H,backgroundColor:A,customBackgroundColor:F}=Lc(l,!T),D=(0,Ee.useBlockProps)({ref:E,className:nt()("wp-block-navigation-item",{"is-editing":n||N,"is-dragging-within":C,"has-link":!!m,"has-child":P,"has-text-color":!!V||!!H,[(0,Ee.getColorClassName)("color",V)]:!!V,"has-background":!!A||F,[(0,Ee.getColorClassName)("background-color",A)]:!!A,"open-on-click":y}),style:{color:!V&&H,backgroundColor:!A&&F},onKeyDown:function(e){ht.isKeyboardEvent.primary(e,"k")&&w(!0)}}),G=Lc(l,!0);B&&(0,Le.pull)(Ic,"core/navigation-submenu");const U=(0,Ee.useInnerBlocksProps)({className:nt()("wp-block-navigation__submenu-container",{"is-parent-of-selected-block":N,"has-text-color":!(!G.textColor&&!G.customTextColor),[`has-${G.textColor}-color`]:!!G.textColor,"has-background":!(!G.backgroundColor&&!G.customBackgroundColor),[`has-${G.backgroundColor}-background-color`]:!!G.backgroundColor}),style:{color:G.customTextColor,backgroundColor:G.customBackgroundColor}},{allowedBlocks:Ic,__experimentalDefaultBlock:Mc,__experimentalDirectInsert:!0,__experimentalCaptureToolbars:!0,renderAppender:!!(n||z&&!I||P)&&Ee.InnerBlocks.ButtonBlockAppender}),O=y?"button":"a";return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,null,!y&&(0,ye.createElement)(ke.ToolbarButton,{name:"link",icon:vt,title:(0,we.__)("Link"),shortcut:ht.displayShortcut.primary("k"),onClick:()=>w(!0)}))),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Link settings")},(0,ye.createElement)(ke.TextareaControl,{value:d||"",onChange:e=>{o({description:e})},label:(0,we.__)("Description"),help:(0,we.__)("The description will be displayed in the menu if the current theme supports it.")}),(0,ye.createElement)(ke.TextControl,{value:g||"",onChange:e=>{o({title:e})},label:(0,we.__)("Link title"),autoComplete:"off"}),(0,ye.createElement)(ke.TextControl,{value:p||"",onChange:e=>{o({rel:e})},label:(0,we.__)("Link rel"),autoComplete:"off"}))),(0,ye.createElement)("div",D,(0,ye.createElement)(O,{className:"wp-block-navigation-item__content"},(0,ye.createElement)(Ee.RichText,{ref:S,identifier:"label",className:"wp-block-navigation-item__label",value:s,onChange:e=>o({label:e}),onMerge:r,onReplace:a,"aria-label":(0,we.__)("Navigation link text"),placeholder:x,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"],onClick:()=>{y||m||w(!0)}}),!y&&k&&(0,ye.createElement)(ke.Popover,{position:"bottom center",onClose:()=>w(!1),anchorRef:E.current},(0,ye.createElement)(Ee.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:v,showInitialSuggestions:!0,withCreateSuggestion:L,createSuggestion:async function(e){const t=c||"page",n=await f("postType",t,{title:e,status:"draft"});return{id:n.id,type:t,title:n.title.rendered,url:n.link,kind:"post-type"}},createSuggestionButtonText:e=>{let t;return t="post"===c?(0,we.__)("Create draft post: <mark>%s</mark>"):(0,we.__)("Create draft page: <mark>%s</mark>"),(0,ye.createInterpolateElement)((0,we.sprintf)(t,e),{mark:(0,ye.createElement)("mark",null)})},noDirectEntry:!!c,noURLSuggestion:!!c,suggestionsQuery:Rc(c,h),onChange:e=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{label:o="",kind:r="",type:a=""}=n,{title:l="",url:i="",opensInNewTab:s,id:c,kind:u=r,type:m=a}=e,d=l.replace(/http(s?):\/\//gi,""),p=i.replace(/http(s?):\/\//gi,""),g=""!==l&&d!==p&&o!==l?(0,Le.escape)(l):o||(0,Le.escape)(p),h="post_tag"===m?"tag":m.replace("-","_"),v=["post","page","tag","category"].indexOf(h)>-1,b=!u&&!v||"custom"===u?"custom":u;t({...i&&{url:encodeURI((0,Dr.safeDecodeURI)(i))},...g&&{label:g},...void 0!==s&&{opensInNewTab:s},...c&&Number.isInteger(c)&&{id:c},...b&&{kind:b},...h&&"URL"!==h&&{type:h}})}(e,o,t),onRemove:()=>{o({url:""}),(0,Nc.speak)((0,we.__)("Link removed."),"assertive")}})),(b||y)&&(0,ye.createElement)("span",{className:"wp-block-navigation__submenu-icon"},(0,ye.createElement)(zc,null))),(0,ye.createElement)("div",U)))},save:function(){return(0,ye.createElement)(Ee.InnerBlocks.Content,null)},transforms:Hc};var Gc=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M7.8 6c0-.7.6-1.2 1.2-1.2h6c.7 0 1.2.6 1.2 1.2v3h1.5V6c0-1.5-1.2-2.8-2.8-2.8H9C7.5 3.2 6.2 4.5 6.2 6v3h1.5V6zm8.4 11c0 .7-.6 1.2-1.2 1.2H9c-.7 0-1.2-.6-1.2-1.2v-3H6.2v3c0 1.5 1.2 2.8 2.8 2.8h6c1.5 0 2.8-1.2 2.8-2.8v-3h-1.5v3zM4 11v1h16v-1H4z"}));var Uc={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:e=>e.dataset&&"core/nextpage"===e.dataset.block,transform:()=>(0,be.createBlock)("core/nextpage",{})}]};const Oc={apiVersion:2,name:"core/nextpage",title:"Page Break",category:"design",description:"Separate your content into a multi-page experience.",keywords:["next page","pagination"],parent:["core/post-content"],textdomain:"default",supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-nextpage-editor"},{name:qc}=Oc,$c={icon:Gc,example:{},transforms:Uc,edit:function(){return(0,ye.createElement)("div",(0,Ee.useBlockProps)(),(0,ye.createElement)("div",{className:"wp-block-nextpage"},(0,ye.createElement)("span",null,(0,we.__)("Page break"))))},save:function(){return(0,ye.createElement)(ye.RawHTML,null,"\x3c!--nextpage--\x3e")}};var Wc=e=>{let{attributes:t,clientId:n}=e;const o=(0,Ie.useSelect)((e=>e(Ee.store).__experimentalGetParsedPattern(t.slug)),[t.slug]),{replaceBlocks:r,__unstableMarkNextChangeAsNotPersistent:a}=(0,Ie.useDispatch)(Ee.store);(0,ye.useEffect)((()=>{null!=o&&o.blocks&&(a(),r(n,o.blocks))}),[null==o?void 0:o.blocks]);const l=(0,Ee.useBlockProps)();return(0,ye.createElement)("div",l)};const jc={apiVersion:2,name:"core/pattern",title:"Pattern",category:"theme",description:"Show a block pattern.",supports:{html:!1,inserter:!1},textdomain:"default",attributes:{slug:{type:"string"}}},{name:Zc}=jc,Kc={edit:Wc};var Qc=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M7 13.8h6v-1.5H7v1.5zM18 16V4c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2zM5.5 16V4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zM7 10.5h8V9H7v1.5zm0-3.3h8V5.8H7v1.4zM20.2 6v13c0 .7-.6 1.2-1.2 1.2H8v1.5h11c1.5 0 2.7-1.2 2.7-2.8V6h-1.5z"}));const Jc=["id","title","link","type","parent"],Yc=e=>{let{pages:t,clientId:n,replaceBlock:o,createBlock:r}=e;return()=>{if(!t)return;const e={},a=[];t.forEach((t=>{var n,o;let{id:l,title:i,link:s,type:c,parent:u}=t;const m=null!==(n=null===(o=e[l])||void 0===o?void 0:o.innerBlocks)&&void 0!==n?n:[];if(e[l]=r("core/navigation-link",{id:l,label:i.rendered,url:s,type:c,kind:"post-type"},m),u){e[u]||(e[u]={innerBlocks:[]});e[u].innerBlocks.push(e[l])}else a.push(e[l])}));const l=e=>{e.forEach(((e,t,n)=>{const{attributes:o,innerBlocks:a}=e;if(0!==a.length){l(a);const e=r("core/navigation-submenu",o,a);n[t]=e}}))};l(a),o(n,a)}};function Xc(e){let{onClose:t,clientId:n}=e;const{pages:o,pagesFinished:r}=(0,Ie.useSelect)((e=>{const{getEntityRecords:t,hasFinishedResolution:n}=e(Dt.store),o=["postType","page",{per_page:100,_fields:Jc,orderby:"menu_order",order:"asc"}];return{pages:t(...o),pagesFinished:n("getEntityRecords",o)}}),[n]),{replaceBlock:a}=(0,Ie.useDispatch)(Ee.store);return(0,ye.createElement)(ke.Modal,{closeLabel:(0,we.__)("Close"),onRequestClose:t,title:(0,we.__)("Convert to links"),className:"wp-block-page-list-modal",aria:{describedby:"wp-block-page-list-modal__description"}},(0,ye.createElement)("p",{id:"wp-block-page-list-modal__description"},(0,we.__)("To edit this navigation menu, convert it to single page links. This allows you to add, re-order, remove items, or edit their labels.")),(0,ye.createElement)("p",null,(0,we.__)("Note: if you add new pages to your site, you'll need to add them to your navigation menu.")),(0,ye.createElement)("div",{className:"wp-block-page-list-modal-buttons"},(0,ye.createElement)(ke.Button,{variant:"tertiary",onClick:t},(0,we.__)("Cancel")),(0,ye.createElement)(ke.Button,{variant:"primary",disabled:!r,onClick:Yc({pages:o,replaceBlock:a,clientId:n,createBlock:be.createBlock})},(0,we.__)("Convert"))))}const eu=()=>(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},(0,ye.createElement)(ke.Path,{d:"M1.50002 4L6.00002 8L10.5 4",strokeWidth:"1.5"}));const tu=(0,ye.memo)((function e(t){let{context:n,pagesByParentId:o,parentId:r=0,depth:a=0}=t;const l=o.get(r),i=(0,Ie.useSelect)((e=>{const t=e(Dt.store).getEntityRecord("root","site");return"page"===(null==t?void 0:t.show_on_front)&&(null==t?void 0:t.page_on_front)}),[]);return null!=l&&l.length?l.map((t=>{var r,l;const s=o.has(t.id),c="showSubmenuIcon"in n;return(0,ye.createElement)("li",{key:t.id,className:nt()("wp-block-pages-list__item",{"has-child":s,"wp-block-navigation-item":c,"open-on-click":n.openSubmenusOnClick,"open-on-hover-click":!n.openSubmenusOnClick&&n.showSubmenuIcon,"menu-item-home":t.id===i})},s&&n.openSubmenusOnClick?(0,ye.createElement)(nu,{title:null===(r=t.title)||void 0===r?void 0:r.rendered}):(0,ye.createElement)("a",{className:nt()("wp-block-pages-list__item__link",{"wp-block-navigation-item__content":c}),href:t.link},null===(l=t.title)||void 0===l?void 0:l.rendered),s&&(0,ye.createElement)(ye.Fragment,null,!n.openSubmenusOnClick&&n.showSubmenuIcon&&(0,ye.createElement)(nu,null),(0,ye.createElement)("ul",{className:nt()("submenu-container",{"wp-block-navigation__submenu-container":c})},(0,ye.createElement)(e,{context:n,pagesByParentId:o,parentId:t.id,depth:a+1}))))})):[]}));function nu(e){let{title:t}=e;return(0,ye.createElement)("button",{className:"wp-block-navigation-item__content wp-block-navigation-submenu__toggle","aria-expanded":"false"},t,(0,ye.createElement)("span",{className:"wp-block-page-list__submenu-icon wp-block-navigation__submenu-icon"},(0,ye.createElement)(eu,null)))}const ou={apiVersion:2,name:"core/page-list",title:"Page List",category:"widgets",description:"Display a list of all pages.",keywords:["menu","navigation"],textdomain:"default",attributes:{},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","overlayTextColor","customOverlayTextColor","overlayBackgroundColor","customOverlayBackgroundColor","fontSize","customFontSize","showSubmenuIcon","style","openSubmenusOnClick"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-page-list-editor",style:"wp-block-page-list"},{name:ru}=ou,au={icon:Qc,example:{},edit:function(e){var t;let{context:n,clientId:o}=e;const{pagesByParentId:r,totalPages:a,hasResolvedPages:l}=function(){const{pages:e,hasResolvedPages:t}=(0,Ie.useSelect)((e=>{const{getEntityRecords:t,hasFinishedResolution:n}=e(Dt.store);return{pages:t("postType","page",{orderby:"menu_order",order:"asc",_fields:["id","link","parent","title","menu_order"],per_page:-1}),hasResolvedPages:n("getEntityRecords",["postType","page",{orderby:"menu_order",order:"asc",_fields:["id","link","parent","title","menu_order"],per_page:-1}])}}),[]);return(0,ye.useMemo)((()=>{var n;const o=(0,Le.sortBy)(e,["menu_order","title.rendered"]).reduce(((e,t)=>{const{parent:n}=t;return e.has(n)?e.get(n).push(t):e.set(n,[t]),e}),new Map);return{pagesByParentId:o,hasResolvedPages:t,totalPages:null!==(n=null==e?void 0:e.length)&&void 0!==n?n:null}}),[e,t])}(),i="showSubmenuIcon"in n&&a<=100,[s,c]=(0,ye.useState)(!1),u=(0,Ee.useBlockProps)({className:nt()("wp-block-page-list",{"has-text-color":!!n.textColor,[(0,Ee.getColorClassName)("color",n.textColor)]:!!n.textColor,"has-background":!!n.backgroundColor,[(0,Ee.getColorClassName)("background-color",n.backgroundColor)]:!!n.backgroundColor}),style:{...null===(t=n.style)||void 0===t?void 0:t.color}});return(0,ye.createElement)(ye.Fragment,null,i&&(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(ke.ToolbarButton,{title:(0,we.__)("Edit"),onClick:()=>c(!0)},(0,we.__)("Edit"))),i&&s&&(0,ye.createElement)(Xc,{onClose:()=>c(!1),clientId:o}),!l&&(0,ye.createElement)("div",u,(0,ye.createElement)(ke.Placeholder,null,(0,ye.createElement)(ke.Spinner,null))),l&&null===a&&(0,ye.createElement)("div",u,(0,ye.createElement)("div",u,(0,ye.createElement)(ke.Notice,{status:"warning",isDismissible:!1},(0,we.__)("Page List: Cannot retrieve Pages.")))),0===a&&(0,ye.createElement)("div",u,(0,ye.createElement)(ke.Notice,{status:"info",isDismissible:!1},(0,we.__)("Page List: Cannot retrieve Pages."))),a>0&&(0,ye.createElement)("ul",u,(0,ye.createElement)(tu,{context:n,pagesByParentId:r})))}};var lu=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M18.3 4H9.9v-.1l-.9.2c-2.3.4-4 2.4-4 4.8s1.7 4.4 4 4.8l.7.1V20h1.5V5.5h2.9V20h1.5V5.5h2.7V4z"}));const iu={className:!1},su={align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:""},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]},style:{type:"object"}},cu=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customFontSize)return e;const t={};return(e.customTextColor||e.customBackgroundColor)&&(t.color={}),e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customFontSize&&(t.typography={fontSize:e.customFontSize}),{...(0,Le.omit)(e,["customTextColor","customBackgroundColor","customFontSize"]),style:t}},uu=[{supports:iu,attributes:{...(0,Le.omit)(su,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:cu,save(e){let{attributes:t}=e;const{align:n,content:o,dropCap:r,backgroundColor:a,textColor:l,customBackgroundColor:i,customTextColor:s,fontSize:c,customFontSize:u,direction:m}=t,d=(0,Ee.getColorClassName)("color",l),p=(0,Ee.getColorClassName)("background-color",a),g=(0,Ee.getFontSizeClass)(c),h=nt()({"has-text-color":l||s,"has-background":a||i,"has-drop-cap":r,[`has-text-align-${n}`]:n,[g]:g,[d]:d,[p]:p}),v={backgroundColor:p?void 0:i,color:d?void 0:s,fontSize:g?void 0:u};return(0,ye.createElement)(Ee.RichText.Content,{tagName:"p",style:v,className:h||void 0,value:o,dir:m})}},{supports:iu,attributes:{...(0,Le.omit)(su,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"}},migrate:cu,save(e){let{attributes:t}=e;const{align:n,content:o,dropCap:r,backgroundColor:a,textColor:l,customBackgroundColor:i,customTextColor:s,fontSize:c,customFontSize:u,direction:m}=t,d=(0,Ee.getColorClassName)("color",l),p=(0,Ee.getColorClassName)("background-color",a),g=(0,Ee.getFontSizeClass)(c),h=nt()({"has-text-color":l||s,"has-background":a||i,"has-drop-cap":r,[g]:g,[d]:d,[p]:p}),v={backgroundColor:p?void 0:i,color:d?void 0:s,fontSize:g?void 0:u,textAlign:n};return(0,ye.createElement)(Ee.RichText.Content,{tagName:"p",style:v,className:h||void 0,value:o,dir:m})}},{supports:iu,attributes:{...(0,Le.omit)(su,["style"]),customTextColor:{type:"string"},customBackgroundColor:{type:"string"},customFontSize:{type:"number"},width:{type:"string"}},migrate:cu,save(e){let{attributes:t}=e;const{width:n,align:o,content:r,dropCap:a,backgroundColor:l,textColor:i,customBackgroundColor:s,customTextColor:c,fontSize:u,customFontSize:m}=t,d=(0,Ee.getColorClassName)("color",i),p=(0,Ee.getColorClassName)("background-color",l),g=u&&`is-${u}-text`,h=nt()({[`align${n}`]:n,"has-background":l||s,"has-drop-cap":a,[g]:g,[d]:d,[p]:p}),v={backgroundColor:p?void 0:s,color:d?void 0:c,fontSize:g?void 0:m,textAlign:o};return(0,ye.createElement)(Ee.RichText.Content,{tagName:"p",style:v,className:h||void 0,value:r})}},{supports:iu,attributes:(0,Le.omit)({...su,fontSize:{type:"number"}},["style"]),save(e){let{attributes:t}=e;const{width:n,align:o,content:r,dropCap:a,backgroundColor:l,textColor:i,fontSize:s}=t,c=nt()({[`align${n}`]:n,"has-background":l,"has-drop-cap":a}),u={backgroundColor:l,color:i,fontSize:s,textAlign:o};return(0,ye.createElement)("p",{style:u,className:c||void 0},r)},migrate:e=>cu((0,Le.omit)({...e,customFontSize:(0,Le.isFinite)(e.fontSize)?e.fontSize:void 0,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.backgroundColor&&"#"===e.backgroundColor[0]?e.backgroundColor:void 0}))},{supports:iu,attributes:{...su,content:{type:"string",source:"html",default:""}},save(e){let{attributes:t}=e;return(0,ye.createElement)(ye.RawHTML,null,t.content)},migrate:e=>e}];var mu=uu;var du=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ye.createElement)(fe.Path,{d:"M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"}));function pu(e){let{direction:t,setDirection:n}=e;return(0,we.isRTL)()&&(0,ye.createElement)(ke.ToolbarDropdownMenu,{controls:[{icon:du,title:(0,we._x)("Left to right","editor button"),isActive:"ltr"===t,onClick(){n("ltr"===t?void 0:"ltr")}}]})}var gu=function(e){let{attributes:t,mergeBlocks:n,onReplace:o,onRemove:r,setAttributes:a,clientId:l}=e;const{align:i,content:s,direction:c,dropCap:u,placeholder:m}=t,d=(0,Ee.useSetting)("typography.dropCap"),p=(0,Ee.useBlockProps)({className:nt()({"has-drop-cap":u,[`has-text-align-${i}`]:i}),style:{direction:c}});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.AlignmentControl,{value:i,onChange:e=>a({align:e})}),(0,ye.createElement)(pu,{direction:c,setDirection:e=>a({direction:e})})),d&&(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Text settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Drop cap"),checked:!!u,onChange:()=>a({dropCap:!u}),help:u?(0,we.__)("Showing large initial letter."):(0,we.__)("Toggle to show a large initial letter.")}))),(0,ye.createElement)(Ee.RichText,gt({identifier:"content",tagName:"p"},p,{value:s,onChange:e=>a({content:e}),onSplit:(e,n)=>{let o;(n||e)&&(o={...t,content:e});const r=(0,be.createBlock)("core/paragraph",o);return n&&(r.clientId=l),r},onMerge:n,onReplace:o,onRemove:r,"aria-label":s?(0,we.__)("Paragraph block"):(0,we.__)("Empty block; start writing or type forward slash to choose a block"),"data-empty":!s,placeholder:m||(0,we.__)("Type / to choose a block"),__unstableEmbedURLOnPaste:!0,__unstableAllowPrefixTransformations:!0})))};const{name:hu}={apiVersion:2,name:"core/paragraph",title:"Paragraph",category:"text",description:"Start with the building block of all narrative.",keywords:["text"],textdomain:"default",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:"",__experimentalRole:"content"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}},supports:{anchor:!0,className:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"},vu={from:[{type:"raw",priority:20,selector:"p",schema:e=>{let{phrasingContentSchema:t,isPaste:n}=e;return{p:{children:t,attributes:n?[]:["style","id"]}}},transform(e){const t=(0,be.getBlockAttributes)(hu,e.outerHTML),{textAlign:n}=e.style||{};return"left"!==n&&"center"!==n&&"right"!==n||(t.align=n),(0,be.createBlock)(hu,t)}}]};var bu=vu;const yu={apiVersion:2,name:"core/paragraph",title:"Paragraph",category:"text",description:"Start with the building block of all narrative.",keywords:["text"],textdomain:"default",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p",default:"",__experimentalRole:"content"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},direction:{type:"string",enum:["ltr","rtl"]}},supports:{anchor:!0,className:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalSelector:"p",__unstablePasteTextInline:!0},editorStyle:"wp-block-paragraph-editor",style:"wp-block-paragraph"},{name:fu}=yu,_u={icon:lu,example:{attributes:{content:(0,we.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing."),style:{typography:{fontSize:28}},dropCap:!0}},__experimentalLabel(e,t){let{context:n}=t;if("accessibility"===n){const{content:t}=e;return(0,Le.isEmpty)(t)?(0,we.__)("Empty"):t}},transforms:bu,deprecated:mu,merge:(e,t)=>({content:(e.content||"")+(t.content||"")}),edit:gu,save:function(e){let{attributes:t}=e;const{align:n,content:o,dropCap:r,direction:a}=t,l=nt()({"has-drop-cap":r,[`has-text-align-${n}`]:n});return(0,ye.createElement)("p",Ee.useBlockProps.save({className:l,dir:a}),(0,ye.createElement)(Ee.RichText.Content,{value:o}))}};var ku=function(e){let{isSelected:t,context:{postType:n,postId:o,queryId:r},attributes:a,setAttributes:l}=e;const i=Number.isFinite(r),{authorId:s,authorDetails:c,authors:u}=(0,Ie.useSelect)((e=>{var t;const{getEditedEntityRecord:r,getUser:a,getUsers:l}=e(Dt.store),i=null===(t=r("postType",n,o))||void 0===t?void 0:t.author;return{authorId:i,authorDetails:i?a(i):null,authors:l({who:"authors"})}}),[n,o]),{editEntityRecord:m}=(0,Ie.useDispatch)(Dt.store),{textAlign:d,showAvatar:p,showBio:g,byline:h}=a,v=[];c&&(0,Le.forEach)(c.avatar_urls,((e,t)=>{v.push({value:t,label:`${t} x ${t}`})}));const b=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${d}`]:d})});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Author Settings")},!i&&!(null==u||!u.length)&&(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Author"),value:s,options:u.map((e=>{let{id:t,name:n}=e;return{value:t,label:n}})),onChange:e=>{m("postType",n,o,{author:e})}}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show avatar"),checked:p,onChange:()=>l({showAvatar:!p})}),p&&(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Avatar size"),value:a.avatarSize,options:v,onChange:e=>{l({avatarSize:Number(e)})}}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show bio"),checked:g,onChange:()=>l({showBio:!g})}))),(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.AlignmentControl,{value:d,onChange:e=>{l({textAlign:e})}})),(0,ye.createElement)("div",b,p&&c&&(0,ye.createElement)("div",{className:"wp-block-post-author__avatar"},(0,ye.createElement)("img",{width:a.avatarSize,src:c.avatar_urls[a.avatarSize],alt:c.name})),(0,ye.createElement)("div",{className:"wp-block-post-author__content"},(!Ee.RichText.isEmpty(h)||t)&&(0,ye.createElement)(Ee.RichText,{className:"wp-block-post-author__byline",multiline:!1,"aria-label":(0,we.__)("Post author byline text"),placeholder:(0,we.__)("Write byline…"),value:h,onChange:e=>l({byline:e})}),(0,ye.createElement)("p",{className:"wp-block-post-author__name"},(null==c?void 0:c.name)||(0,we.__)("Post Author")),g&&(0,ye.createElement)("p",{className:"wp-block-post-author__bio"},null==c?void 0:c.description))))};var wu=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z",fillRule:"evenodd",clipRule:"evenodd"}));const Eu={apiVersion:2,name:"core/post-author",title:"Post Author",category:"theme",description:"Add the author of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},avatarSize:{type:"number",default:48},showAvatar:{type:"boolean",default:!0},showBio:{type:"boolean"},byline:{type:"string"}},usesContext:["postType","postId","queryId"],supports:{html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDuotone:".wp-block-post-author__avatar img"}},editorStyle:"wp-block-post-author-editor",style:"wp-block-post-author"},{name:Cu}=Eu,xu={icon:wu,edit:ku};var Su=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"}));function Bu(e){let{postId:t}=e;return(0,Ie.useSelect)((e=>{const n=e(Dt.store).getEntityRecords("root","comment",{post:t});return n&&n.length?n.map((e=>(0,ye.createElement)(ye.RawHTML,{className:"wp-block-post-comments__comment",key:e.id},e.content.rendered))):(0,we.__)("No comments.")}),[t])}const Tu={apiVersion:2,name:"core/post-comments",title:"Post Comments",category:"theme",description:"Display a post's comments.",textdomain:"default",attributes:{textAlign:{type:"string"}},usesContext:["postId","postType"],supports:{html:!1,align:["wide","full"],typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0}},style:["wp-block-post-comments","wp-block-buttons","wp-block-button"]},{name:Nu}=Tu,zu={icon:Su,edit:function(e){let{attributes:t,setAttributes:n,context:o}=e;const{postType:r,postId:a}=o,{textAlign:l}=t,i=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${l}`]:l})});return r&&a?(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.AlignmentControl,{value:l,onChange:e=>{n({textAlign:e})}})),(0,ye.createElement)("div",i,(0,ye.createElement)(Bu,{postId:a}))):(0,ye.createElement)("div",i,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("Post comments block: no post found.")))}};var Pu=(0,ye.createElement)(fe.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M4 20h16v-1.5H4V20zm0-4.8h16v-1.5H4v1.5zm0-6.4v1.5h16V8.8H4zM16 4H4v1.5h12V4z"}));function Iu(e,t,n){return(0,Ie.useSelect)((o=>o(Dt.store).canUserEditEntityRecord(e,t,n)),[e,t,n])}function Mu(e){let{userCanEdit:t,postType:n,postId:o}=e;const[,,r]=(0,Dt.useEntityProp)("postType",n,"content",o),a=(0,Ee.useBlockProps)();return null!=r&&r.protected&&!t?(0,ye.createElement)("div",a,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("This content is password protected."))):(0,ye.createElement)("div",a,(0,ye.createElement)(ye.RawHTML,{key:"html"},null==r?void 0:r.rendered))}function Ru(e){let{layout:t,context:n={}}=e;const{postType:o,postId:r}=n,a=(0,Ie.useSelect)((e=>{var t;const{getSettings:n}=e(Ee.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout}),[]),l=(0,Ee.useSetting)("layout")||{},i=t&&t.inherit?l:t,[s,c,u]=(0,Dt.useEntityBlockEditor)("postType",o,{id:r}),m=(0,Ee.useInnerBlocksProps)((0,Ee.useBlockProps)({className:"entry-content"}),{value:s,onInput:c,onChange:u,__experimentalLayout:a?i:void 0});return(0,ye.createElement)("div",m)}function Lu(e){const{context:{queryId:t,postType:n,postId:o}={}}=e,r=Number.isFinite(t),a=Iu("postType",n,o);return a&&!r?(0,ye.createElement)(Ru,e):(0,ye.createElement)(Mu,{userCanEdit:a,postType:n,postId:o})}function Vu(){const e=(0,Ee.useBlockProps)();return(0,ye.createElement)("div",e,(0,ye.createElement)("p",null,(0,we.__)("Post Content")))}function Hu(){const e=(0,Ee.useBlockProps)();return(0,ye.createElement)("div",e,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("Block cannot be rendered inside itself.")))}const Au={apiVersion:2,name:"core/post-content",title:"Post Content",category:"theme",description:"Displays the contents of a post or page.",textdomain:"default",usesContext:["postId","postType","queryId"],supports:{align:["wide","full"],html:!1,__experimentalLayout:!0},editorStyle:"wp-block-post-content-editor"},{name:Fu}=Au,Du={icon:Pu,edit:function(e){let{context:t,attributes:n}=e;const{postId:o,postType:r}=t,{layout:a={}}=n,[l,i]=(0,Ee.__experimentalUseNoRecursiveRenders)(o);return o&&r&&l?(0,ye.createElement)(Hu,null):(0,ye.createElement)(i,null,o&&r?(0,ye.createElement)(Lu,{context:t,layout:a}):(0,ye.createElement)(Vu,null))}};var Gu=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z"}),(0,ye.createElement)(fe.Path,{d:"M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"}));var Uu=[{attributes:{textAlign:{type:"string"},format:{type:"string"},isLink:{type:"boolean",default:!1}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:lt,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const Ou={apiVersion:2,name:"core/post-date",title:"Post Date",category:"theme",description:"Add the date of this post.",textdomain:"default",attributes:{textAlign:{type:"string"},format:{type:"string"},isLink:{type:"boolean",default:!1}},usesContext:["postId","postType","queryId"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:qu}=Ou,$u={icon:Gu,edit:function(e){let{attributes:{textAlign:t,format:n,isLink:o},context:{postId:r,postType:a,queryId:l},setAttributes:i}=e;const s=Number.isFinite(l),[c]=(0,Dt.useEntityProp)("root","site","date_format"),[u,m]=(0,Dt.useEntityProp)("postType",a,"date",r),d=(0,ci.__experimentalGetSettings)(),p=/a(?!\\)/i.test(d.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join("")),g=Object.values(d.formats).map((e=>({key:e,name:(0,ci.dateI18n)(e,u)}))),h=n||c||d.formats.date,v=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${t}`]:t})}),b=(0,ye.useRef)();let y=u?(0,ye.createElement)("time",{dateTime:(0,ci.dateI18n)("c",u),ref:b},(0,ci.dateI18n)(h,u)):(0,we.__)("Post Date");return o&&u&&(y=(0,ye.createElement)("a",{href:"#post-date-pseudo-link",onClick:e=>e.preventDefault()},y)),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.AlignmentControl,{value:t,onChange:e=>{i({textAlign:e})}}),u&&!s&&(0,ye.createElement)(ke.ToolbarGroup,null,(0,ye.createElement)(ke.Dropdown,{popoverProps:{anchorRef:b.current},renderContent:()=>(0,ye.createElement)(ke.DateTimePicker,{currentDate:u,onChange:m,is12Hour:p}),renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,ye.createElement)(ke.ToolbarButton,{"aria-expanded":t,icon:$o,title:(0,we.__)("Change Date"),onClick:n,onKeyDown:e=>{t||e.keyCode!==ht.DOWN||(e.preventDefault(),n())}})}}))),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Format settings")},(0,ye.createElement)(ke.CustomSelectControl,{hideLabelFromVision:!0,label:(0,we.__)("Date Format"),options:g,onChange:e=>{let{selectedItem:t}=e;return i({format:t.key})},value:g.find((e=>e.key===h))})),(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Link settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.sprintf)((0,we.__)("Link to %s"),a),onChange:()=>i({isLink:!o}),checked:o}))),(0,ye.createElement)("div",v,y))},deprecated:Uu};var Wu=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M12.75 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.395.395 0 00.199-.166c.05-.083.114-.253.114-.584V7.2H8.8V4h3.95v5.333zM7.95 9.333c0 .521-.102.977-.327 1.354-.23.386-.555.628-.893.774-.545.234-1.183.227-1.544.222l-.12-.001v-1.5h.123c.414.001.715.002.948-.099a.394.394 0 00.198-.166c.05-.083.115-.253.115-.584V7.2H4V4h3.95v5.333zM13 20H4v-1.5h9V20zM20 16H4v-1.5h16V16z"}));const ju={apiVersion:2,name:"core/post-excerpt",title:"Post Excerpt",category:"theme",description:"Display a post's excerpt.",textdomain:"default",attributes:{textAlign:{type:"string"},moreText:{type:"string"},showMoreOnNewLine:{type:"boolean",default:!0}},usesContext:["postId","postType","queryId"],supports:{html:!1,color:{gradients:!0,link:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}},editorStyle:"wp-block-post-excerpt-editor",style:"wp-block-post-excerpt"},{name:Zu}=ju,Ku={icon:Wu,edit:function(e){let{attributes:{textAlign:t,moreText:n,showMoreOnNewLine:o},setAttributes:r,isSelected:a,context:{postId:l,postType:i,queryId:s}}=e;const c=Number.isFinite(s),u=Iu("postType",i,l),m=u&&!c,[d,p,{rendered:g,protected:h}={}]=(0,Dt.useEntityProp)("postType",i,"excerpt",l),v=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${t}`]:t})}),b=(0,ye.useMemo)((()=>{if(!g)return"";const e=(new window.DOMParser).parseFromString(g,"text/html");return e.body.textContent||e.body.innerText||""}),[g]);if(!i||!l)return(0,ye.createElement)("div",v,(0,we.__)("Post Excerpt"));if(h&&!u)return(0,ye.createElement)("div",v,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("There is no excerpt because this is a protected post.")));const y=(0,ye.createElement)(Ee.RichText,{className:"wp-block-post-excerpt__more-link",tagName:"a","aria-label":(0,we.__)('"Read more" link text'),placeholder:(0,we.__)('Add "read more" link text'),value:n,onChange:e=>r({moreText:e}),withoutInteractiveFormatting:!0}),f=m?(0,ye.createElement)(Ee.RichText,{className:!o&&"wp-block-post-excerpt__excerpt is-inline","aria-label":(0,we.__)("Post excerpt text"),value:d||b||(a?"":(0,we.__)("No post excerpt found")),onChange:p}):g&&(0,ye.createElement)(ke.Disabled,null,(0,ye.createElement)(ye.RawHTML,{key:"html"},g))||(0,we.__)("No post excerpt found");return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(Ee.AlignmentToolbar,{value:t,onChange:e=>r({textAlign:e})})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Post Excerpt Settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show link on new line"),checked:o,onChange:e=>r({showMoreOnNewLine:e})}))),(0,ye.createElement)("div",v,f,!o&&" ",o?(0,ye.createElement)("p",{className:"wp-block-post-excerpt__more-text"},y):y))}};var Qu=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"}));const Ju=(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.__experimentalToggleGroupControlOption,{value:"cover",label:(0,we._x)("Cover","Scale option for Image dimension control")}),(0,ye.createElement)(ke.__experimentalToggleGroupControlOption,{value:"contain",label:(0,we._x)("Contain","Scale option for Image dimension control")}),(0,ye.createElement)(ke.__experimentalToggleGroupControlOption,{value:"fill",label:(0,we._x)("Fill","Scale option for Image dimension control")})),Yu="cover",Xu={cover:(0,we.__)("Image is scaled and cropped to fill the entire space without being distorted."),contain:(0,we.__)("Image is scaled to fill the space without clipping nor distorting."),fill:(0,we.__)("Image will be stretched and distorted to completely fill the space.")};var em=e=>{let{clientId:t,attributes:{width:n,height:o,scale:r},setAttributes:a}=e;const l=(0,ke.__experimentalUseCustomUnits)({availableUnits:(0,Ee.useSetting)("spacing.units")||["px","%","vw","em","rem"]}),i=(e,t)=>{const n=parseFloat(t);isNaN(n)&&t||a({[e]:n<0?"0":t})},s=(0,we._x)("Scale","Image scaling options");return(0,ye.createElement)(Ee.InspectorControls,{__experimentalGroup:"dimensions"},(0,ye.createElement)(ke.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>!!o,label:(0,we.__)("Height"),onDeselect:()=>a({height:void 0}),resetAllFilter:()=>({height:void 0}),isShownByDefault:!0,panelId:t},(0,ye.createElement)(ke.__experimentalUnitControl,{label:(0,we.__)("Height"),labelPosition:"top",value:o||"",min:0,onChange:e=>i("height",e),units:l})),(0,ye.createElement)(ke.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>!!n,label:(0,we.__)("Width"),onDeselect:()=>a({width:void 0}),resetAllFilter:()=>({width:void 0}),isShownByDefault:!0,panelId:t},(0,ye.createElement)(ke.__experimentalUnitControl,{label:(0,we.__)("Width"),labelPosition:"top",value:n||"",min:0,onChange:e=>i("width",e),units:l})),!!o&&(0,ye.createElement)(ke.__experimentalToolsPanelItem,{hasValue:()=>!!r&&r!==Yu,label:s,onDeselect:()=>a({scale:Yu}),resetAllFilter:()=>({scale:Yu}),isShownByDefault:!0,panelId:t},(0,ye.createElement)(ke.__experimentalToggleGroupControl,{label:s,value:r,help:Xu[r],onChange:e=>a({scale:e}),isBlock:!0},Ju)))};const tm=(0,ye.createElement)(fe.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none"},(0,ye.createElement)(fe.Path,{vectorEffect:"non-scaling-stroke",d:"M60 60 0 0"})),nm=["image"],om=(0,ye.createElement)("div",{className:"wp-block-post-featured-image__placeholder"},tm);function rm(e){let{clientId:t,attributes:n,setAttributes:o,context:{postId:r,postType:a,queryId:l}}=e;const i=Number.isFinite(l),{isLink:s,height:c,width:u,scale:m}=n,[d,p]=(0,Dt.useEntityProp)("postType",a,"featured_media",r),g=(0,Ie.useSelect)((e=>d&&e(Dt.store).getMedia(d,{context:"view"})),[d]),h=(0,Ee.useBlockProps)({style:{width:u,height:c}}),v=e=>(0,ye.createElement)(ke.Placeholder,{className:"block-editor-media-placeholder"},tm,e),b=e=>{null!=e&&e.id&&p(e.id)},{createErrorNotice:y}=(0,Ie.useDispatch)(Ir.store),f=e=>{y(e[2],{type:"snackbar"})};let _;if(!d&&i)return(0,ye.createElement)("div",h,om);const k=(0,we.__)("Add a featured image");return _=d?g?(0,ye.createElement)("img",{src:g.source_url,alt:g.alt_text||(0,we.__)("Featured image"),style:{height:c,objectFit:c&&m}}):om:(0,ye.createElement)(Ee.MediaPlaceholder,{onSelect:b,accept:"image/*",allowedTypes:nm,onError:f,placeholder:v,mediaLibraryButton:e=>{let{open:t}=e;return(0,ye.createElement)(ke.Button,{icon:Ol,variant:"primary",label:k,showTooltip:!0,tooltipPosition:"top center",onClick:()=>{t()}})}}),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(em,{clientId:t,attributes:n,setAttributes:o}),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Link settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.sprintf)((0,we.__)("Link to %s"),a),onChange:()=>o({isLink:!s}),checked:s}))),!!g&&!i&&(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(Ee.MediaReplaceFlow,{mediaId:d,mediaURL:g.source_url,allowedTypes:nm,accept:"image/*",onSelect:b,onError:f})),(0,ye.createElement)("figure",h,_))}const am={apiVersion:2,name:"core/post-featured-image",title:"Post Featured Image",category:"theme",description:"Display a post's featured image.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!1},width:{type:"string"},height:{type:"string"},scale:{type:"string",default:"cover"}},usesContext:["postId","postType","queryId"],supports:{align:["left","right","center","wide","full"],color:{__experimentalDuotone:"img",text:!1,background:!1},html:!1,spacing:{margin:!0,padding:!0}},editorStyle:"wp-block-post-featured-image-editor",style:"wp-block-post-featured-image"},{name:lm}=am,im={icon:Qu,edit:function(e){var t;const n=(0,Ee.useBlockProps)();return null!==(t=e.context)&&void 0!==t&&t.postId?(0,ye.createElement)(rm,e):(0,ye.createElement)("div",n,om)}};var sm=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"}));var cm=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"}));const um=[{isDefault:!0,name:"post-next",title:(0,we.__)("Next post"),description:(0,we.__)("Displays the post link that follows the current post."),icon:sm,attributes:{type:"next"},scope:["inserter","transform"]},{name:"post-previous",title:(0,we.__)("Previous post"),description:(0,we.__)("Displays the post link that precedes the current post."),icon:cm,attributes:{type:"previous"},scope:["inserter","transform"]}];um.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)}));var mm=um;const dm={apiVersion:2,name:"core/post-navigation-link",title:"Post Navigation Link",category:"theme",description:"Displays the next or previous post link that is adjacent to the current post.",textdomain:"default",attributes:{textAlign:{type:"string"},type:{type:"string",default:"next"},label:{type:"string"},showTitle:{type:"boolean",default:!1},linkLabel:{type:"boolean",default:!1}},supports:{reusable:!1,html:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:pm}=dm,gm={edit:function(e){let{attributes:{type:t,label:n,showTitle:o,textAlign:r,linkLabel:a},setAttributes:l}=e;const i="next"===t;let s=i?(0,we.__)("Next"):(0,we.__)("Previous");o&&(s=i?(0,we.__)("Next: "):(0,we.__)("Previous: "));const c=i?(0,we.__)("Next post"):(0,we.__)("Previous post"),u=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${r}`]:r})});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,null,(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display the title as a link"),help:(0,we.__)("If you have entered a custom label, it will be prepended before the title."),checked:!!o,onChange:()=>l({showTitle:!o})}),o&&(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Include the label as part of the link"),checked:!!a,onChange:()=>l({linkLabel:!a})}))),(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(Ee.AlignmentToolbar,{value:r,onChange:e=>{l({textAlign:e})}})),(0,ye.createElement)("div",u,(0,ye.createElement)(Ee.RichText,{tagName:"a","aria-label":c,placeholder:s,value:n,allowedFormats:["core/bold","core/italic"],onChange:e=>l({label:e})}),o&&(0,ye.createElement)("a",{href:"#post-navigation-pseudo-link",onClick:e=>e.preventDefault()},(0,we.__)("An example title"))))},variations:mm};var hm=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));const vm=[["core/post-title"],["core/post-date"],["core/post-excerpt"]];function bm(){const e=(0,Ee.useInnerBlocksProps)({},{template:vm});return(0,ye.createElement)("li",e)}const ym=(0,ye.memo)((function(e){let{blocks:t,blockContextId:n,isHidden:o,setActiveBlockContextId:r}=e;const a=(0,Ee.__experimentalUseBlockPreview)({blocks:t}),l=()=>{r(n)},i={display:o?"none":void 0};return(0,ye.createElement)("li",gt({},a,{tabIndex:0,role:"button",onClick:l,onKeyPress:l,style:i}))}));const fm={apiVersion:2,name:"core/post-template",title:"Post Template",category:"design",parent:["core/query"],description:"Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.",textdomain:"default",usesContext:["queryId","query","queryContext","displayLayout","templateSlug"],supports:{reusable:!1,html:!1,align:!0,__experimentalLayout:{allowEditing:!1}},style:"wp-block-post-template",editorStyle:"wp-block-post-template-editor"},{name:_m}=fm,km={icon:hm,edit:function(e){let{clientId:t,context:{query:{perPage:n,offset:o,categoryIds:r=[],postType:a,tagIds:l=[],order:i,orderBy:s,author:c,search:u,exclude:m,sticky:d,inherit:p}={},queryContext:g=[{page:1}],templateSlug:h,displayLayout:{type:v="flex",columns:b=1}={}}}=e;const[{page:y}]=g,[f,_]=(0,ye.useState)(),{posts:k,blocks:w}=(0,Ie.useSelect)((e=>{const{getEntityRecords:g}=e(Dt.store),{getBlocks:v}=e(Ee.store),b={offset:n?n*(y-1)+o:0,categories:r,tags:l,order:i,orderby:s};return n&&(b.per_page=n),c&&(b.author=c),u&&(b.search=u),null!=m&&m.length&&(b.exclude=m),d&&(b.sticky="only"===d),p&&null!=h&&h.startsWith("archive-")&&(b.postType=h.replace("archive-",""),a=b.postType),{posts:g("postType",a,b),blocks:v(t)}}),[n,y,o,r,l,i,s,t,c,u,a,m,d,p,h]),E=(0,ye.useMemo)((()=>null==k?void 0:k.map((e=>({postType:e.type,postId:e.id})))),[k]),C="flex"===v&&b>1,x=(0,Ee.useBlockProps)({className:nt()({"is-flex-container":C,[`columns-${b}`]:C})});return k?k.length?(0,ye.createElement)("ul",x,E&&E.map((e=>{var t,n;return(0,ye.createElement)(Ee.BlockContextProvider,{key:e.postId,value:e},e.postId===(f||(null===(t=E[0])||void 0===t?void 0:t.postId))?(0,ye.createElement)(bm,null):null,(0,ye.createElement)(ym,{blocks:w,blockContextId:e.postId,setActiveBlockContextId:_,isHidden:e.postId===(f||(null===(n=E[0])||void 0===n?void 0:n.postId))}))}))):(0,ye.createElement)("p",x," ",(0,we.__)("No results found.")):(0,ye.createElement)("p",x,(0,ye.createElement)(ke.Spinner,null))},save:function(){return(0,ye.createElement)(Ee.InnerBlocks.Content,null)}};var wm=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z",fillRule:"evenodd",clipRule:"evenodd"}));const Em=[{name:"category",title:(0,we.__)("Post Categories"),description:(0,we.__)("Display a post's categories."),icon:wm,isDefault:!0,attributes:{term:"category"},isActive:e=>"category"===e.term},{name:"post_tag",title:(0,we.__)("Post Tags"),description:(0,we.__)("Display a post's tags."),icon:wm,attributes:{term:"post_tag"},isActive:e=>"post_tag"===e.term}];var Cm=Em;const xm={apiVersion:2,name:"core/post-terms",title:"Post Terms",category:"theme",description:"Post terms.",textdomain:"default",attributes:{term:{type:"string"},textAlign:{type:"string"},separator:{type:"string",default:", "}},usesContext:["postId","postType"],supports:{html:!1,color:{gradients:!0,link:!0},typography:{lineHeight:!0,fontSize:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}},style:"wp-block-post-terms"},{name:Sm}=xm,Bm={variations:Cm,edit:function(e){var t;let{attributes:n,context:o,setAttributes:r}=e;const{term:a,textAlign:l,separator:i}=n,{postId:s,postType:c}=o,u=(0,Ie.useSelect)((e=>{var t;if(!a)return{};const{getTaxonomy:n}=e(Dt.store),o=n(a);return null!=o&&null!==(t=o.visibility)&&void 0!==t&&t.publicly_queryable?o:{}}),[a]),{postTerms:m,hasPostTerms:d,isLoading:p}=function(e){var t;let{postId:n,postType:o,term:r}=e;const{rest_base:a,slug:l}=r,[i]=(0,Dt.useEntityProp)("postType",o,a,n);return(0,Ie.useSelect)((e=>{var t,n;if(!(null==r||null===(t=r.visibility)||void 0===t?void 0:t.publicly_queryable))return{postTerms:[],_isLoading:!1,hasPostTerms:!1};if(!i)return{isLoading:null==r||null===(n=r.postTerms)||void 0===n?void 0:n.includes(o)};if(!i.length)return{isLoading:!1};const{getEntityRecords:a,isResolving:s}=e(Dt.store),c=["taxonomy",l,{include:i,context:"view"}],u=a(...c);return{postTerms:u,isLoading:s("getEntityRecords",c),hasPostTerms:!(null==u||!u.length)}}),[i,null==r||null===(t=r.visibility)||void 0===t?void 0:t.publicly_queryable])}({postId:s,postType:c,term:u}),g=s&&c,h=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${l}`]:l,[`taxonomy-${a}`]:a})});return g&&a?(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(Ee.AlignmentToolbar,{value:l,onChange:e=>{r({textAlign:e})}})),(0,ye.createElement)(Ee.InspectorControls,{__experimentalGroup:"advanced"},(0,ye.createElement)(ke.TextControl,{autoComplete:"off",label:(0,we.__)("Separator"),value:i||"",onChange:e=>{r({separator:e})},help:(0,we.__)("Enter character(s) used to separate terms.")})),(0,ye.createElement)("div",h,p&&(0,ye.createElement)(ke.Spinner,null),!p&&d&&m.map((e=>(0,ye.createElement)("a",{key:e.id,href:e.link,onClick:e=>e.preventDefault()},e.name))).reduce(((e,t)=>(0,ye.createElement)(ye.Fragment,null,e,(0,ye.createElement)("span",{className:"wp-block-post-terms__separator"},i||" "),t))),!p&&!d&&((null==u||null===(t=u.labels)||void 0===t?void 0:t.no_terms)||(0,we.__)("Term items not found.")))):(0,ye.createElement)("div",h,(0,we.__)("Post Terms"))}};var Tm=[{attributes:{textAlign:{type:"string"},level:{type:"number",default:2},isLink:{type:"boolean",default:!1},rel:{type:"string",attribute:"rel",default:""},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0}},save:()=>null,migrate:lt,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const Nm={apiVersion:2,name:"core/post-title",title:"Post Title",category:"theme",description:"Displays the title of a post, page, or any other content-type.",textdomain:"default",usesContext:["postId","postType","queryId"],attributes:{textAlign:{type:"string"},level:{type:"number",default:2},isLink:{type:"boolean",default:!1},rel:{type:"string",attribute:"rel",default:""},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}}},style:"wp-block-post-title"},{name:zm}=Nm,Pm={icon:bc,edit:function(e){let{attributes:{level:t,textAlign:n,isLink:o,rel:r,linkTarget:a},setAttributes:l,context:{postType:i,postId:s,queryId:c}}=e;const u=0===t?"p":"h"+t,m=Number.isFinite(c),d=Iu("postType",i,s),[p="",g,h]=(0,Dt.useEntityProp)("postType",i,"title",s),[v]=(0,Dt.useEntityProp)("postType",i,"link",s),b=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${n}`]:n})});let y=(0,ye.createElement)(u,b,(0,we.__)("Post Title"));return i&&s&&(y=d&&!m?(0,ye.createElement)(Ee.PlainText,gt({tagName:u,placeholder:(0,we.__)("No Title"),value:p,onChange:g,__experimentalVersion:2},b)):(0,ye.createElement)(u,b,(0,ye.createElement)(ye.RawHTML,{key:"html"},null==h?void 0:h.rendered))),o&&i&&s&&(y=d&&!m?(0,ye.createElement)(u,b,(0,ye.createElement)(Ee.PlainText,{tagName:"a",href:v,target:a,rel:r,placeholder:p.length?null:(0,we.__)("No Title"),value:p,onChange:g,__experimentalVersion:2})):(0,ye.createElement)(u,b,(0,ye.createElement)("a",{href:v,target:a,rel:r,onClick:e=>e.preventDefault()},(0,ye.createElement)(ye.RawHTML,{key:"html"},null==h?void 0:h.rendered)))),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(wl,{selectedLevel:t,onChange:e=>l({level:e})}),(0,ye.createElement)(Ee.AlignmentControl,{value:n,onChange:e=>{l({textAlign:e})}})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Link settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Make title a link"),onChange:()=>l({isLink:!o}),checked:o}),o&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Open in new tab"),onChange:e=>l({linkTarget:e?"_blank":"_self"}),checked:"_blank"===a}),(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Link rel"),value:r,onChange:e=>l({rel:e})})))),y)},deprecated:Tm};var Im=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"}));const Mm={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:e=>{let{content:t,anchor:n}=e;return(0,be.createBlock)("core/preformatted",{content:t,anchor:n})}},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName),schema:e=>{let{phrasingContentSchema:t}=e;return{pre:{children:t}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>(0,be.createBlock)("core/paragraph",e)},{type:"block",blocks:["core/code"],transform:e=>(0,be.createBlock)("core/code",e)}]};var Rm=Mm;const Lm={apiVersion:2,name:"core/preformatted",title:"Preformatted",category:"text",description:"Add text that respects your spacing and tabs, and also allows styling.",textdomain:"default",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0,__experimentalRole:"content"}},supports:{anchor:!0,color:{gradients:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}},style:"wp-block-preformatted"},{name:Vm}=Lm,Hm={icon:Im,example:{attributes:{content:(0,we.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;")}},transforms:Rm,edit:function(e){let{attributes:t,mergeBlocks:n,setAttributes:o,onRemove:r,style:a}=e;const{content:l}=t,i=(0,Ee.useBlockProps)({style:a});return(0,ye.createElement)(Ee.RichText,gt({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:l,onChange:e=>{o({content:e})},onRemove:r,"aria-label":(0,we.__)("Preformatted text"),placeholder:(0,we.__)("Write preformatted text…"),onMerge:n},i,{__unstablePastePlainText:!0}))},save:function(e){let{attributes:t}=e;const{content:n}=t;return(0,ye.createElement)("pre",Ee.useBlockProps.save(),(0,ye.createElement)(Ee.RichText.Content,{value:n}))},merge:(e,t)=>({content:e.content+t.content})};var Am=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"}));const Fm="is-style-solid-color",Dm={value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}};function Gm(e){if(!e)return;const t=e.match(/border-color:([^;]+)[;]?/);return t&&t[1]?t[1]:void 0}const Um=[{attributes:{...Dm},save(e){let{attributes:t}=e;const{mainColor:n,customMainColor:o,customTextColor:r,textColor:a,value:l,citation:i,className:s}=t;let c,u;if((0,Le.includes)(s,Fm)){const e=(0,Ee.getColorClassName)("background-color",n);c=nt()({"has-background":e||o,[e]:e}),u={backgroundColor:e?void 0:o}}else o&&(u={borderColor:o});const m=(0,Ee.getColorClassName)("color",a),d=nt()({"has-text-color":a||r,[m]:m}),p=m?void 0:{color:r};return(0,ye.createElement)("figure",Ee.useBlockProps.save({className:c,style:u}),(0,ye.createElement)("blockquote",{className:d,style:p},(0,ye.createElement)(Ee.RichText.Content,{value:l,multiline:!0}),!Ee.RichText.isEmpty(i)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"cite",value:i})))},migrate(e){let{className:t,mainColor:n,customMainColor:o,customTextColor:r,...a}=e;const l=(0,Le.includes)(t,Fm);let i;return o&&(i=l?{color:{background:o}}:{border:{color:o}}),r&&i&&(i.color={...i.color,text:r}),{className:t,backgroundColor:l?n:void 0,borderColor:l?void 0:n,textAlign:l?"left":void 0,style:i,...a}}},{attributes:{...Dm,figureStyle:{source:"attribute",selector:"figure",attribute:"style"}},save(e){let{attributes:t}=e;const{mainColor:n,customMainColor:o,textColor:r,customTextColor:a,value:l,citation:i,className:s,figureStyle:c}=t;let u,m;if((0,Le.includes)(s,Fm)){const e=(0,Ee.getColorClassName)("background-color",n);u=nt()({"has-background":e||o,[e]:e}),m={backgroundColor:e?void 0:o}}else if(o)m={borderColor:o};else if(n){m={borderColor:Gm(c)}}const d=(0,Ee.getColorClassName)("color",r),p=(r||a)&&nt()("has-text-color",{[d]:d}),g=d?void 0:{color:a};return(0,ye.createElement)("figure",{className:u,style:m},(0,ye.createElement)("blockquote",{className:p,style:g},(0,ye.createElement)(Ee.RichText.Content,{value:l,multiline:!0}),!Ee.RichText.isEmpty(i)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"cite",value:i})))},migrate(e){let{className:t,figureStyle:n,mainColor:o,customMainColor:r,customTextColor:a,...l}=e;const i=(0,Le.includes)(t,Fm);let s;if(r&&(s=i?{color:{background:r}}:{border:{color:r}}),a&&s&&(s.color={...s.color,text:a}),!i&&o&&n){const e=Gm(n);if(e)return{...l,className:t,style:{border:{color:e}}}}return{className:t,backgroundColor:i?o:void 0,borderColor:i?void 0:o,textAlign:i?"left":void 0,style:s,...l}}},{attributes:Dm,save(e){let{attributes:t}=e;const{mainColor:n,customMainColor:o,textColor:r,customTextColor:a,value:l,citation:i,className:s}=t;let c,u;if((0,Le.includes)(s,Fm))c=(0,Ee.getColorClassName)("background-color",n),c||(u={backgroundColor:o});else if(o)u={borderColor:o};else if(n){const e=(0,Le.get)((0,Ie.select)(Ee.store).getSettings(),["colors"],[]);u={borderColor:(0,Ee.getColorObjectByAttributeValues)(e,n).color}}const m=(0,Ee.getColorClassName)("color",r),d=r||a?nt()("has-text-color",{[m]:m}):void 0,p=m?void 0:{color:a};return(0,ye.createElement)("figure",{className:c,style:u},(0,ye.createElement)("blockquote",{className:d,style:p},(0,ye.createElement)(Ee.RichText.Content,{value:l,multiline:!0}),!Ee.RichText.isEmpty(i)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"cite",value:i})))},migrate(e){let{className:t,mainColor:n,customMainColor:o,customTextColor:r,...a}=e;const l=(0,Le.includes)(t,Fm);let i={};return o&&(i=l?{color:{background:o}}:{border:{color:o}}),r&&i&&(i.color={...i.color,text:r}),{className:t,backgroundColor:l?n:void 0,borderColor:l?void 0:n,textAlign:l?"left":void 0,style:i,...a}}},{attributes:{...Dm},save(e){let{attributes:t}=e;const{value:n,citation:o}=t;return(0,ye.createElement)("blockquote",null,(0,ye.createElement)(Ee.RichText.Content,{value:n,multiline:!0}),!Ee.RichText.isEmpty(o)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"cite",value:o}))}},{attributes:{...Dm,citation:{type:"string",source:"html",selector:"footer"},align:{type:"string",default:"none"}},save(e){let{attributes:t}=e;const{value:n,citation:o,align:r}=t;return(0,ye.createElement)("blockquote",{className:`align${r}`},(0,ye.createElement)(Ee.RichText.Content,{value:n,multiline:!0}),!Ee.RichText.isEmpty(o)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"footer",value:o}))}}];var Om=Um;var qm=function(e){let{attributes:t,setAttributes:n,isSelected:o,insertBlocksAfter:r}=e;const{textAlign:a,citation:l,value:i}=t,s=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${a}`]:a})}),c=!Ee.RichText.isEmpty(l)||o;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.AlignmentControl,{value:a,onChange:e=>{n({textAlign:e})}})),(0,ye.createElement)("figure",s,(0,ye.createElement)("blockquote",null,(0,ye.createElement)(Ee.RichText,{identifier:"value",multiline:!0,value:i,onChange:e=>n({value:e}),"aria-label":(0,we.__)("Pullquote text"),placeholder:(0,we.__)("Add quote"),textAlign:"center"}),c&&(0,ye.createElement)(Ee.RichText,{identifier:"citation",value:l,"aria-label":(0,we.__)("Pullquote citation text"),placeholder:(0,we.__)("Add citation"),onChange:e=>n({citation:e}),className:"wp-block-pullquote__citation",__unstableMobileNoFocusOnMount:!0,textAlign:"center",__unstableOnSplitAtEnd:()=>r((0,be.createBlock)("core/paragraph"))}))))};const $m={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>(0,be.createBlock)("core/pullquote",{value:(0,Tt.toHTMLString)({value:(0,Tt.join)(e.map((e=>{let{content:t}=e;return(0,Tt.create)({html:t})})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:e=>{let{content:t,anchor:n}=e;return(0,be.createBlock)("core/pullquote",{value:`<p>${t}</p>`,anchor:n})}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{value:t,citation:n}=e;const o=[];return t&&"<p></p>"!==t&&o.push(...(0,Tt.split)((0,Tt.create)({html:t,multilineTag:"p"}),"\u2028").map((e=>(0,be.createBlock)("core/paragraph",{content:(0,Tt.toHTMLString)({value:e})})))),n&&"<p></p>"!==n&&o.push((0,be.createBlock)("core/paragraph",{content:n})),0===o.length?(0,be.createBlock)("core/paragraph",{content:""}):o}},{type:"block",blocks:["core/heading"],transform:e=>{let{value:t,citation:n,...o}=e;if("<p></p>"===t)return(0,be.createBlock)("core/heading",{content:n});const r=(0,Tt.split)((0,Tt.create)({html:t,multilineTag:"p"}),"\u2028"),a=(0,be.createBlock)("core/heading",{content:(0,Tt.toHTMLString)({value:r[0]})});if(!n&&1===r.length)return a;const l=r.slice(1);return[a,(0,be.createBlock)("core/pullquote",{...o,citation:n,value:(0,Tt.toHTMLString)({value:l.length?(0,Tt.join)(r.slice(1),"\u2028"):(0,Tt.create)(),multilineTag:"p"})})]}}]};var Wm=$m;const jm={apiVersion:2,name:"core/pullquote",title:"Pullquote",category:"text",description:"Give special visual emphasis to a quote from your text.",textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},textAlign:{type:"string"}},supports:{anchor:!0,align:["left","right","wide","full"],color:{gradients:!0,background:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0}},editorStyle:"wp-block-pullquote-editor",style:"wp-block-pullquote"},{name:Zm}=jm,Km={icon:Am,example:{attributes:{value:"<p>"+(0,we.__)("One of the hardest things to do in technology is disrupt yourself.")+"</p>",citation:(0,we.__)("Matt Mullenweg")}},transforms:Wm,edit:qm,save:function(e){let{attributes:t}=e;const{textAlign:n,citation:o,value:r}=t,a=!Ee.RichText.isEmpty(o);return(0,ye.createElement)("figure",Ee.useBlockProps.save({className:nt()({[`has-text-align-${n}`]:n})}),(0,ye.createElement)("blockquote",null,(0,ye.createElement)(Ee.RichText.Content,{value:r,multiline:!0}),a&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"cite",value:o})))},deprecated:Om};var Qm=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"}));var Jm=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));function Ym(e){let{attributes:{query:t,displayLayout:n},setQuery:o,setDisplayLayout:r}=e;const a=(0,ot.useInstanceId)(Ym,"blocks-query-pagination-max-page-input"),l=[{icon:ui,title:(0,we.__)("List view"),onClick:()=>r({type:"list"}),isActive:"list"===(null==n?void 0:n.type)},{icon:mi,title:(0,we.__)("Grid view"),onClick:()=>r({type:"flex",columns:(null==n?void 0:n.columns)||3}),isActive:"flex"===(null==n?void 0:n.type)}];return(0,ye.createElement)(ye.Fragment,null,!t.inherit&&(0,ye.createElement)(ke.ToolbarGroup,null,(0,ye.createElement)(ke.Dropdown,{contentClassName:"block-library-query-toolbar__popover",renderToggle:e=>{let{onToggle:t}=e;return(0,ye.createElement)(ke.ToolbarButton,{icon:Jm,label:(0,we.__)("Display settings"),onClick:t})},renderContent:()=>(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.BaseControl,null,(0,ye.createElement)(ke.__experimentalNumberControl,{__unstableInputWidth:"60px",label:(0,we.__)("Items per Page"),labelPosition:"edge",min:1,max:100,onChange:e=>{isNaN(e)||e<1||e>100||o({perPage:e})},step:"1",value:t.perPage,isDragEnabled:!1})),(0,ye.createElement)(ke.BaseControl,null,(0,ye.createElement)(ke.__experimentalNumberControl,{__unstableInputWidth:"60px",label:(0,we.__)("Offset"),labelPosition:"edge",min:0,max:100,onChange:e=>{isNaN(e)||e<0||e>100||o({offset:e})},step:"1",value:t.offset,isDragEnabled:!1})),(0,ye.createElement)(ke.BaseControl,{id:a,help:(0,we.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).")},(0,ye.createElement)(ke.__experimentalNumberControl,{id:a,__unstableInputWidth:"60px",label:(0,we.__)("Max page to show"),labelPosition:"edge",min:0,onChange:e=>{isNaN(e)||e<0||o({pages:e})},step:"1",value:t.pages,isDragEnabled:!1})))})),(0,ye.createElement)(ke.ToolbarGroup,{controls:l}))}const Xm=e=>{const t=null==e?void 0:e.reduce(((e,t)=>{const{mapById:n,mapByName:o,names:r}=e;return n[t.id]=t,o[t.name]=t,r.push(t.name),e}),{mapById:{},mapByName:{},names:[]});return{terms:e,...t}};const ed=[{label:(0,we.__)("Include"),value:""},{label:(0,we.__)("Exclude"),value:"exclude"},{label:(0,we.__)("Only"),value:"only"}];function td(e){var t,n;let{attributes:{query:o,displayLayout:r},setQuery:a,setDisplayLayout:l}=e;const{order:i,orderBy:s,author:c,postType:u,sticky:m,inherit:d}=o,[p,g]=(0,ye.useState)(!0),[h,v]=(0,ye.useState)(!0),[b,y]=(0,ye.useState)("post"===u),{postTypesTaxonomiesMap:f,postTypesSelectOptions:_}=(()=>{const{postTypes:e}=(0,Ie.useSelect)((e=>{var t;const{getPostTypes:n}=e(Dt.store),o=["attachment"];return{postTypes:null===(t=n({per_page:-1}))||void 0===t?void 0:t.filter((e=>{let{viewable:t,slug:n}=e;return t&&!o.includes(n)}))}}),[]);return{postTypesTaxonomiesMap:(0,ye.useMemo)((()=>{if(null!=e&&e.length)return e.reduce(((e,t)=>(e[t.slug]=t.taxonomies,e)),{})}),[e]),postTypesSelectOptions:(0,ye.useMemo)((()=>(e||[]).map((e=>{let{labels:t,slug:n}=e;return{label:t.singular_name,value:n}}))),[e])}})(),{authorList:k,categories:w,tags:E}=(0,Ie.useSelect)((e=>{const{getEntityRecords:t}=e(Dt.store),n={per_page:100},o=t("taxonomy","category",n),r=t("taxonomy","post_tag",n);return{categories:Xm(o),tags:Xm(r),authorList:t("root","user",{per_page:-1})}}),[]);(0,ye.useEffect)((()=>{if(!f)return;const e=f[u];g(e.includes("category")),v(e.includes("post_tag"))}),[u,f]),(0,ye.useEffect)((()=>{y("post"===u)}),[u]);const C=(e,t)=>n=>{const o=Array.from(n.reduce(((t,n)=>{const o=((e,t)=>{var n;const o=(null==t?void 0:t.id)||(null===(n=e[t])||void 0===n?void 0:n.id);if(o)return o;const r=t.toLocaleLowerCase();for(const t in e)if(t.toLocaleLowerCase()===r)return e[t].id})(e.mapByName,n);return o&&t.add(o),t}),new Set));a({[t]:o})},x=C(w,"categoryIds"),S=C(E,"tagIds"),[B,T]=(0,ye.useState)(o.search),N=(0,ye.useCallback)((0,Le.debounce)((()=>{o.search!==B&&a({search:B})}),250),[B,o.search]);(0,ye.useEffect)((()=>(N(),N.cancel)),[B,N]);const z=e=>{const t={category:{queryProp:"categoryIds",terms:w},post_tag:{queryProp:"tagIds",terms:E}}[e];return(o[t.queryProp]||[]).reduce(((e,n)=>{const o=t.terms.mapById[n];return o&&e.push({id:n,value:o.name}),e}),[])};return(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Inherit query from template"),help:(0,we.__)("Toggle to use the global query context that is set with the current template, such as an archive or search. Disable to customize the settings independently."),checked:!!d,onChange:e=>a({inherit:!!e})}),!d&&(0,ye.createElement)(ke.SelectControl,{options:_,value:u,label:(0,we.__)("Post Type"),onChange:e=>{const t={postType:e};f[e].includes("category")||(t.categoryIds=[]),f[e].includes("post_tag")||(t.tagIds=[]),"post"!==e&&(t.sticky=""),a(t)},help:(0,we.__)('WordPress contains different types of content and they are divided into collections called "Post Types". By default there are a few different ones such as blog posts and pages, but plugins could add more.')}),"flex"===(null==r?void 0:r.type)&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Columns"),value:r.columns,onChange:e=>l({columns:e}),min:2,max:Math.max(6,r.columns)}),r.columns>6&&(0,ye.createElement)(ke.Notice,{status:"warning",isDismissible:!1},(0,we.__)("This column count exceeds the recommended amount and may cause visual breakage."))),!d&&(0,ye.createElement)(ke.QueryControls,{order:i,orderBy:s,onOrderChange:e=>a({order:e}),onOrderByChange:e=>a({orderBy:e})}),b&&(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Sticky posts"),options:ed,value:m,onChange:e=>a({sticky:e}),help:(0,we.__)('Blog posts can be "stickied", a feature that places them at the top of the front page of posts, keeping it there until new sticky posts are published.')})),!d&&(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Filters")},p&&(null==w||null===(t=w.terms)||void 0===t?void 0:t.length)>0&&(0,ye.createElement)(ke.FormTokenField,{label:(0,we.__)("Categories"),value:z("category"),suggestions:w.names,onChange:x}),h&&(null==E||null===(n=E.terms)||void 0===n?void 0:n.length)>0&&(0,ye.createElement)(ke.FormTokenField,{label:(0,we.__)("Tags"),value:z("post_tag"),suggestions:E.names,onChange:S}),(0,ye.createElement)(ke.QueryControls,{selectedAuthorId:c,authorList:k,onAuthorChange:e=>a({author:""!==e?+e:void 0})}),(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Keyword"),value:B,onChange:T})))}var nd=e=>{var t;let{clientId:n,name:o,attributes:r,setAttributes:a}=e;const{blockType:l,defaultVariation:i,scopeVariations:s,allVariations:c}=(0,Ie.useSelect)((e=>{const{getBlockVariations:t,getBlockType:n,getDefaultBlockVariation:r}=e(be.store);return{blockType:n(o),defaultVariation:r(o,"block"),scopeVariations:t(o,"block"),allVariations:t(o)}}),[o]),{replaceInnerBlocks:u}=(0,Ie.useDispatch)(Ee.store),m=(0,Ee.useBlockProps)(),d=(0,Ee.__experimentalGetMatchingVariation)(r,c),p=(null==d?void 0:d.icon)||(null==l||null===(t=l.icon)||void 0===t?void 0:t.src),g=(null==d?void 0:d.title)||(null==l?void 0:l.title);return(0,ye.createElement)("div",m,(0,ye.createElement)(Ee.__experimentalBlockVariationPicker,{icon:p,label:g,variations:s,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;e.attributes&&a(e.attributes),e.innerBlocks&&u(n,(0,be.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!1)}}))};const od=[["core/post-template"]];function rd(e){let{attributes:t,setAttributes:n}=e;const{queryId:o,query:r,displayLayout:a,tagName:l="div",layout:i={}}=t,{__unstableMarkNextChangeAsNotPersistent:s}=(0,Ie.useDispatch)(Ee.store),c=(0,ot.useInstanceId)(rd),{themeSupportsLayout:u}=(0,Ie.useSelect)((e=>{var t;const{getSettings:n}=e(Ee.store);return{themeSupportsLayout:null===(t=n())||void 0===t?void 0:t.supportsLayout}}),[]),m=(0,Ee.useSetting)("layout")||{},d=i&&i.inherit?m:i,p=(0,Ee.useBlockProps)(),g=(0,Ee.useInnerBlocksProps)(p,{template:od,__experimentalLayout:u?d:void 0}),{postsPerPage:h}=(0,Ie.useSelect)((e=>{const{getSettings:t}=e(Ee.store);return{postsPerPage:+t().postsPerPage||3}}),[]);(0,ye.useEffect)((()=>{const e={};!r.perPage&&h&&(e.perPage=h),Object.keys(e).length&&(s(),v(e))}),[r.perPage]),(0,ye.useEffect)((()=>{o||(s(),n({queryId:c}))}),[o,c]);const v=e=>n({query:{...r,...e}}),b=e=>n({displayLayout:{...a,...e}});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(td,{attributes:t,setQuery:v,setDisplayLayout:b}),(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(Ym,{attributes:t,setQuery:v,setDisplayLayout:b})),(0,ye.createElement)(Ee.InspectorControls,{__experimentalGroup:"advanced"},(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("HTML element"),options:[{label:(0,we.__)("Default (<div>)"),value:"div"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}],value:l,onChange:e=>n({tagName:e})})),(0,ye.createElement)(l,g))}function ad(e){const{clientId:t,name:n}=e,o=(0,Ee.useBlockProps)(),{replaceBlock:r,selectBlock:a}=(0,Ie.useDispatch)(Ee.store);return(0,ye.createElement)("div",o,(0,ye.createElement)(Ee.__experimentalBlockPatternSetup,{blockName:n,clientId:t,startBlankComponent:(0,ye.createElement)(nd,e),onBlockPatternSelect:e=>{const n=e.map((e=>(0,be.cloneBlock)(e))),o=(e=>{const t=[...e];for(;t.length>0;){var n;const e=t.shift();if("core/query"===e.name)return e.clientId;null===(n=e.innerBlocks)||void 0===n||n.forEach((e=>{t.push(e)}))}})(n);r(t,n),o&&a(o)}}))}var ld=e=>{const{clientId:t}=e,n=(0,Ie.useSelect)((e=>!!e(Ee.store).getBlocks(t).length),[t])?rd:ad;return(0,ye.createElement)(n,e)};const id=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,ye.createElement)(ke.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zM7 26h12v1H7v-1zm34-5H7v3h34v-3zM7 38h12v1H7v-1zm34-5H7v3h34v-3z"})),sd=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,ye.createElement)(ke.Path,{d:"M41 9H7v3h34V9zm-4 5H7v1h30v-1zm4 3H7v1h34v-1zM7 20h30v1H7v-1zm0 12h30v1H7v-1zm34 3H7v1h34v-1zM7 38h30v1H7v-1zm34-11H7v3h34v-3z"})),cd=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,ye.createElement)(ke.Path,{d:"M41 9H7v3h34V9zm-22 5H7v1h12v-1zm22 3H7v1h34v-1zM7 20h34v1H7v-1zm0 12h12v1H7v-1zm34 3H7v1h34v-1zM7 38h34v1H7v-1zm34-11H7v3h34v-3z"})),ud=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},(0,ye.createElement)(ke.Path,{d:"M7 9h34v6H7V9zm12 8H7v1h12v-1zm18 3H7v1h30v-1zm0 18H7v1h30v-1zM7 35h12v1H7v-1zm34-8H7v6h34v-6z"})),md={query:{perPage:3,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!1}};var dd=[{name:"posts-list",title:(0,we.__)("Posts List"),description:(0,we.__)("Display a list of your most recent posts, excluding sticky posts."),icon:li,attributes:{query:{perPage:4,pages:1,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",sticky:"exclude",inherit:!1}},scope:["inserter"]},{name:"title-date",title:(0,we.__)("Title & Date"),icon:id,attributes:{...md},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-date"]]],["core/query-pagination"]],scope:["block"]},{name:"title-excerpt",title:(0,we.__)("Title & Excerpt"),icon:sd,attributes:{...md},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-excerpt"]]],["core/query-pagination"]],scope:["block"]},{name:"title-date-excerpt",title:(0,we.__)("Title, Date, & Excerpt"),icon:cd,attributes:{...md},innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-date"],["core/post-excerpt"]]],["core/query-pagination"]],scope:["block"]},{name:"image-date-title",title:(0,we.__)("Image, Date, & Title"),icon:ud,attributes:{...md},innerBlocks:[["core/post-template",{},[["core/post-featured-image"],["core/post-date"],["core/post-title"]]],["core/query-pagination"]],scope:["block"]}];const pd=[{attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},layout:{type:"object",default:{type:"list"}}},supports:{html:!1},migrate:e=>({...(0,Le.omit)(e,["layout"]),displayLayout:e.layout}),save:()=>(0,ye.createElement)(Ee.InnerBlocks.Content,null)}];var gd=pd;const hd=e=>{let{attributes:{query:{postType:t}={}}={}}=e;if(!t)return null;const n=(0,Dr.addQueryArgs)("post-new.php",{post_type:t});return(0,ye.createElement)("div",{className:"wp-block-query__create-new-link"},(0,ye.createInterpolateElement)((0,we.__)("<a>Create a new post</a> for this feed."),{a:(0,ye.createElement)("a",{href:n})}))};var vd=(0,ot.createHigherOrderComponent)((e=>t=>{const{name:n,isSelected:o}=t;return"core/query"===n&&o?(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(hd,t)),(0,ye.createElement)(e,gt({key:"edit"},t))):(0,ye.createElement)(e,gt({key:"edit"},t))}),"withInspectorControls");const bd={apiVersion:2,name:"core/query",title:"Query Loop",category:"theme",description:"An advanced block that allows displaying post types based on different query parameters and visual configurations.",textdomain:"default",attributes:{queryId:{type:"number"},query:{type:"object",default:{perPage:null,pages:0,offset:0,postType:"post",categoryIds:[],tagIds:[],order:"desc",orderBy:"date",author:"",search:"",exclude:[],sticky:"",inherit:!0}},tagName:{type:"string",default:"div"},displayLayout:{type:"object",default:{type:"list"}}},providesContext:{queryId:"queryId",query:"query",displayLayout:"displayLayout"},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},__experimentalLayout:!0},editorStyle:"wp-block-query-editor"},{name:yd}=bd,fd={icon:Qm,edit:ld,save:function(e){let{attributes:{tagName:t="div"}}=e;const n=Ee.useBlockProps.save(),o=Ee.useInnerBlocksProps.save(n);return(0,ye.createElement)(t,o)},variations:dd,deprecated:gd};(0,ja.addFilter)("editor.BlockEdit","core/query",vd);var _d=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),(0,ye.createElement)(fe.Rect,{x:"12",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),(0,ye.createElement)(fe.Rect,{x:"17",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}));function kd(e){let{value:t,onChange:n}=e;return(0,ye.createElement)(ke.__experimentalToggleGroupControl,{label:(0,we.__)("Arrow"),value:t,onChange:n,help:(0,we.__)("A decorative arrow appended to the next and previous page link."),isBlock:!0},(0,ye.createElement)(ke.__experimentalToggleGroupControlOption,{value:"none",label:(0,we._x)("None","Arrow option for Query Pagination Next/Previous blocks")}),(0,ye.createElement)(ke.__experimentalToggleGroupControlOption,{value:"arrow",label:(0,we._x)("Arrow","Arrow option for Query Pagination Next/Previous blocks")}),(0,ye.createElement)(ke.__experimentalToggleGroupControlOption,{value:"chevron",label:(0,we._x)("Chevron","Arrow option for Query Pagination Next/Previous blocks")}))}const wd=[["core/query-pagination-previous"],["core/query-pagination-numbers"],["core/query-pagination-next"]];var Ed=[{save:()=>(0,ye.createElement)("div",Ee.useBlockProps.save(),(0,ye.createElement)(Ee.InnerBlocks.Content,null))}];const Cd={apiVersion:2,name:"core/query-pagination",title:"Pagination",category:"design",parent:["core/query"],description:"Displays a paginated navigation to next/previous set of posts, when applicable.",textdomain:"default",attributes:{paginationArrow:{type:"string",default:"none"}},usesContext:["queryId","query"],providesContext:{paginationArrow:"paginationArrow"},supports:{align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-query-pagination-editor",style:"wp-block-query-pagination"},{name:xd}=Cd,Sd={icon:_d,edit:function(e){let{attributes:{paginationArrow:t,layout:n},setAttributes:o,clientId:r,name:a}=e;const l=n||(e=>{const t=(0,be.getBlockSupport)(e,"__experimentalLayout");return null==t?void 0:t.default})(a),i=(0,Ie.useSelect)((e=>{const{getBlocks:t}=e(Ee.store),n=t(r);return null==n?void 0:n.find((e=>["core/query-pagination-next","core/query-pagination-previous"].includes(e.name)))}),[]),s=(0,Ee.useBlockProps)(),c=(0,Ee.useInnerBlocksProps)(s,{template:wd,allowedBlocks:["core/query-pagination-previous","core/query-pagination-numbers","core/query-pagination-next"],__experimentalLayout:l});return(0,ye.createElement)(ye.Fragment,null,i&&(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Settings")},(0,ye.createElement)(kd,{value:t,onChange:e=>{o({paginationArrow:e})}}))),(0,ye.createElement)("div",c))},save:function(){return(0,ye.createElement)(Ee.InnerBlocks.Content,null)},deprecated:Ed};var Bd=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Rect,{x:"6",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),(0,ye.createElement)(fe.Rect,{x:"11",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"#000"}),(0,ye.createElement)(fe.Path,{d:"M16.5 9.5L19 12l-2.5 2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const Td={none:"",arrow:"→",chevron:"»"};const Nd={apiVersion:2,name:"core/query-pagination-next",title:"Next Page",category:"design",parent:["core/query-pagination"],description:"Displays the next posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query","paginationArrow"],supports:{reusable:!1,html:!1,color:{gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:zd}=Nd,Pd={icon:Bd,edit:function(e){let{attributes:{label:t},setAttributes:n,context:{paginationArrow:o}}=e;const r=Td[o];return(0,ye.createElement)("a",gt({href:"#pagination-next-pseudo-link",onClick:e=>e.preventDefault()},(0,Ee.useBlockProps)()),(0,ye.createElement)(Ee.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,we.__)("Next page link"),placeholder:(0,we.__)("Next Page"),value:t,onChange:e=>n({label:e})}),r&&(0,ye.createElement)("span",{className:`wp-block-query-pagination-next-arrow is-arrow-${o}`},r))}};var Id=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Rect,{x:"4",y:"10.5",width:"6",height:"3",rx:"1.5",fill:"#000"}),(0,ye.createElement)(fe.Path,{d:"M13.5 14v-4l-1.5.5",stroke:"#1E1E1E"}),(0,ye.createElement)(fe.Path,{d:"M19.266 9.805c-.473-.611-1.22-.51-1.702-.367a3.854 3.854 0 00-.718.307l.13 1.082c.192-.17.47-.422.782-.515.34-.1.578.025.668.141.21.27-.034.835-.16 1.055-.49.85-.93 1.594-1.45 2.492H19.5v-1h-.914c.277-.574.814-1.443.914-2.106.052-.343.02-.762-.234-1.09z",fill:"#1E1E1E"}));const Md=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,ye.createElement)(t,{className:`page-numbers ${n}`},e)};const Rd={apiVersion:2,name:"core/query-pagination-numbers",title:"Page Numbers",category:"design",parent:["core/query-pagination"],description:"Displays a list of page numbers for pagination",textdomain:"default",usesContext:["queryId","query"],supports:{reusable:!1,html:!1},editorStyle:"query-pagination-numbers-editor"},{name:Ld}=Rd,Vd={icon:Id,edit:function(){const e=(0,ye.createElement)(ye.Fragment,null,Md(1),Md(2),Md(3,"span","current"),Md(4),Md(5),Md("...","span","dots"),Md(8));return(0,ye.createElement)("div",(0,Ee.useBlockProps)(),e)}};var Hd=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Rect,{x:"18",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 18 13.5)",fill:"#000"}),(0,ye.createElement)(fe.Rect,{x:"13",y:"13.5",width:"3",height:"3",rx:"1.5",transform:"rotate(-180 13 13.5)",fill:"#000"}),(0,ye.createElement)(fe.Path,{d:"M7.5 14.5L5 12l2.5-2.5",stroke:"#1E1E1E",strokeWidth:"1.5"}));const Ad={none:"",arrow:"←",chevron:"«"};const Fd={apiVersion:2,name:"core/query-pagination-previous",title:"Previous Page",category:"design",parent:["core/query-pagination"],description:"Displays the previous posts page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["queryId","query","paginationArrow"],supports:{reusable:!1,html:!1,color:{gradients:!0,text:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}},{name:Dd}=Fd,Gd={icon:Hd,edit:function(e){let{attributes:{label:t},setAttributes:n,context:{paginationArrow:o}}=e;const r=Ad[o];return(0,ye.createElement)("a",gt({href:"#pagination-previous-pseudo-link",onClick:e=>e.preventDefault()},(0,Ee.useBlockProps)()),r&&(0,ye.createElement)("span",{className:`wp-block-query-pagination-previous-arrow is-arrow-${o}`},r),(0,ye.createElement)(Ee.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,we.__)("Previous page link"),placeholder:(0,we.__)("Previous Page"),value:t,onChange:e=>n({label:e})}))}},Ud=["archive"];var Od=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M4 19.25h9M4 15.25h16"}),(0,ye.createElement)(fe.Path,{d:"M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",fill:"#1E1E1E"}));const qd=[{isDefault:!0,name:"archive-title",title:(0,we.__)("Archive Title"),description:(0,we.__)("Display the archive title based on the queried object."),icon:Od,attributes:{type:"archive"},scope:["inserter"]}];qd.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.type===t.type)}));var $d=qd;var Wd=[{attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0}},save:()=>null,migrate:lt,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const jd={apiVersion:2,name:"core/query-title",title:"Query Title",category:"theme",description:"Display the query title.",textdomain:"default",attributes:{type:{type:"string"},textAlign:{type:"string"},level:{type:"number",default:1}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}}},editorStyle:"wp-block-query-title-editor"},{name:Zd}=jd,Kd={edit:function(e){let{attributes:{type:t,level:n,textAlign:o},setAttributes:r}=e;const a=`h${n}`,l=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${o}`]:o,"wp-block-query-title__placeholder":"archive"===t})});if(!Ud.includes(t))return(0,ye.createElement)("div",l,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("Provided type is not supported.")));let i;return"archive"===t&&(i=(0,ye.createElement)(a,l,(0,we.__)("Archive title"))),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(wl,{selectedLevel:n,onChange:e=>r({level:e})}),(0,ye.createElement)(Ee.AlignmentControl,{value:o,onChange:e=>{r({textAlign:e})}})),i)},variations:$d,deprecated:Wd};var Qd=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"}));const Jd={value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:""},citation:{type:"string",source:"html",selector:"cite",default:""},align:{type:"string"}},Yd=[{attributes:Jd,save(e){let{attributes:t}=e;const{align:n,value:o,citation:r}=t;return(0,ye.createElement)("blockquote",{style:{textAlign:n||null}},(0,ye.createElement)(Ee.RichText.Content,{multiline:!0,value:o}),!Ee.RichText.isEmpty(r)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"cite",value:r}))}},{attributes:{...Jd,style:{type:"number",default:1}},migrate:e=>2===e.style?{...(0,Le.omit)(e,["style"]),className:e.className?e.className+" is-style-large":"is-style-large"}:e,save(e){let{attributes:t}=e;const{align:n,value:o,citation:r,style:a}=t;return(0,ye.createElement)("blockquote",{className:2===a?"is-large":"",style:{textAlign:n||null}},(0,ye.createElement)(Ee.RichText.Content,{multiline:!0,value:o}),!Ee.RichText.isEmpty(r)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"cite",value:r}))}},{attributes:{...Jd,citation:{type:"string",source:"html",selector:"footer",default:""},style:{type:"number",default:1}},migrate:e=>isNaN(parseInt(e.style))?e:{...(0,Le.omit)(e,["style"])},save(e){let{attributes:t}=e;const{align:n,value:o,citation:r,style:a}=t;return(0,ye.createElement)("blockquote",{className:`blocks-quote-style-${a}`,style:{textAlign:n||null}},(0,ye.createElement)(Ee.RichText.Content,{multiline:!0,value:o}),!Ee.RichText.isEmpty(r)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"footer",value:r}))}}];var Xd=Yd;const ep="web"===ye.Platform.OS;const tp={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>(0,be.createBlock)("core/quote",{value:(0,Tt.toHTMLString)({value:(0,Tt.join)(e.map((e=>{let{content:t}=e;return(0,Tt.create)({html:t})})),"\u2028"),multilineTag:"p"}),anchor:e.anchor})},{type:"block",blocks:["core/heading"],transform:e=>{let{content:t,anchor:n}=e;return(0,be.createBlock)("core/quote",{value:`<p>${t}</p>`,anchor:n})}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:n,anchor:o}=e;return(0,be.createBlock)("core/quote",{value:t,citation:n,anchor:o})}},{type:"prefix",prefix:">",transform:e=>(0,be.createBlock)("core/quote",{value:`<p>${e}</p>`})},{type:"raw",isMatch:e=>{const t=(()=>{let e=!1;return t=>"P"===t.nodeName||(e||"CITE"!==t.nodeName?void 0:(e=!0,!0))})();return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(t)},schema:e=>{let{phrasingContentSchema:t}=e;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{value:t,citation:n}=e;const o=[];return t&&"<p></p>"!==t&&o.push(...(0,Tt.split)((0,Tt.create)({html:t,multilineTag:"p"}),"\u2028").map((e=>(0,be.createBlock)("core/paragraph",{content:(0,Tt.toHTMLString)({value:e})})))),n&&"<p></p>"!==n&&o.push((0,be.createBlock)("core/paragraph",{content:n})),0===o.length?(0,be.createBlock)("core/paragraph",{content:""}):o}},{type:"block",blocks:["core/heading"],transform:e=>{let{value:t,citation:n,...o}=e;if("<p></p>"===t)return(0,be.createBlock)("core/heading",{content:n});const r=(0,Tt.split)((0,Tt.create)({html:t,multilineTag:"p"}),"\u2028"),a=(0,be.createBlock)("core/heading",{content:(0,Tt.toHTMLString)({value:r[0]})});if(!n&&1===r.length)return a;const l=r.slice(1);return[a,(0,be.createBlock)("core/quote",{...o,citation:n,value:(0,Tt.toHTMLString)({value:l.length?(0,Tt.join)(r.slice(1),"\u2028"):(0,Tt.create)(),multilineTag:"p"})})]}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:n,anchor:o}=e;return(0,be.createBlock)("core/pullquote",{value:t,citation:n,anchor:o})}}]};var np=tp;const op={apiVersion:2,name:"core/quote",title:"Quote",category:"text",description:'Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar',keywords:["blockquote","cite"],textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:"",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},align:{type:"string"}},supports:{anchor:!0,__experimentalSlashInserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"plain",label:"Plain"},{name:"large",label:"Large"}],editorStyle:"wp-block-quote-editor",style:"wp-block-quote"},{name:rp}=op,ap={icon:Qd,example:{attributes:{value:"<p>"+(0,we.__)("In quoting others, we cite ourselves.")+"</p>",citation:"Julio Cortázar",className:"is-style-large"}},transforms:np,edit:function(e){let{attributes:t,setAttributes:n,isSelected:o,mergeBlocks:r,onReplace:a,className:l,insertBlocksAfter:i,style:s}=e;const{align:c,value:u,citation:m}=t,d=(0,Ee.useBlockProps)({className:nt()(l,{[`has-text-align-${c}`]:c}),style:s});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.AlignmentControl,{value:c,onChange:e=>{n({align:e})}})),(0,ye.createElement)(ke.BlockQuotation,d,(0,ye.createElement)(Ee.RichText,{identifier:"value",multiline:!0,value:u,onChange:e=>n({value:e}),onMerge:r,onRemove:e=>{const t=!m||0===m.length;!e&&t&&a([])},"aria-label":(0,we.__)("Quote text"),placeholder:(0,we.__)("Add quote"),onReplace:a,onSplit:e=>(0,be.createBlock)("core/quote",{...t,value:e}),__unstableOnSplitMiddle:()=>(0,be.createBlock)("core/paragraph"),textAlign:c}),(!Ee.RichText.isEmpty(m)||o)&&(0,ye.createElement)(Ee.RichText,{identifier:"citation",tagName:ep?"cite":void 0,style:{display:"block"},value:m,onChange:e=>n({citation:e}),__unstableMobileNoFocusOnMount:!0,"aria-label":(0,we.__)("Quote citation text"),placeholder:(0,we.__)("Add citation"),className:"wp-block-quote__citation",textAlign:c,__unstableOnSplitAtEnd:()=>i((0,be.createBlock)("core/paragraph"))})))},save:function(e){let{attributes:t}=e;const{align:n,value:o,citation:r}=t,a=nt()({[`has-text-align-${n}`]:n});return(0,ye.createElement)("blockquote",Ee.useBlockProps.save({className:a}),(0,ye.createElement)(Ee.RichText.Content,{multiline:!0,value:o}),!Ee.RichText.isEmpty(r)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"cite",value:r}))},merge(e,t){let{value:n,citation:o}=t;return o||(o=e.citation),n&&"<p></p>"!==n?{...e,value:e.value+n,citation:o}:{...e,citation:o}},deprecated:Xd};var lp=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.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"})),ip=window.wp.reusableBlocks;var sp=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"}));const cp={apiVersion:2,name:"core/block",title:"Reusable block",category:"reusable",description:"Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used.",textdomain:"default",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"},{name:up}=cp,mp={edit:function(e){let{attributes:{ref:t},clientId:n}=e;const[o,r]=(0,Ee.__experimentalUseNoRecursiveRenders)(t),{isMissing:a,hasResolved:l}=(0,Ie.useSelect)((e=>{const n=e(Dt.store).getEntityRecord("postType","wp_block",t),o=e(Dt.store).hasFinishedResolution("getEntityRecord",["postType","wp_block",t]);return{hasResolved:o,isMissing:o&&!n}}),[t,n]),{__experimentalConvertBlockToStatic:i}=(0,Ie.useDispatch)(ip.store),[s,c,u]=(0,Dt.useEntityBlockEditor)("postType","wp_block",{id:t}),[m,d]=(0,Dt.useEntityProp)("postType","wp_block","title",t),p=(0,Ee.useBlockProps)(),g=(0,Ee.useInnerBlocksProps)({},{value:s,onInput:c,onChange:u,renderAppender:null!=s&&s.length?void 0:Ee.InnerBlocks.ButtonBlockAppender});return o?(0,ye.createElement)("div",p,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("Block cannot be rendered inside itself."))):a?(0,ye.createElement)("div",p,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("Block has been deleted or is unavailable."))):l?(0,ye.createElement)(r,null,(0,ye.createElement)("div",p,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,null,(0,ye.createElement)(ke.ToolbarButton,{onClick:()=>i(n),label:(0,we.__)("Convert to regular blocks"),icon:sp,showTooltip:!0}))),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,null,(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Name"),value:m,onChange:d}))),(0,ye.createElement)(Ee.__experimentalBlockContentOverlay,{clientId:n,wrapperProps:g,className:"block-library-block__reusable-block-container"}))):(0,ye.createElement)("div",p,(0,ye.createElement)(ke.Placeholder,null,(0,ye.createElement)(ke.Spinner,null)))},icon:lp};var dp=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"}));const pp={apiVersion:2,name:"core/rss",title:"RSS",category:"widgets",description:"Display entries from any RSS or Atom feed.",keywords:["atom","feed"],textdomain:"default",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"},{name:gp}=pp,hp={icon:dp,example:{attributes:{feedURL:"https://wordpress.org"}},edit:function(e){let{attributes:t,setAttributes:n}=e;const[o,r]=(0,ye.useState)(!t.feedURL),{blockLayout:a,columns:l,displayAuthor:i,displayDate:s,displayExcerpt:c,excerptLength:u,feedURL:m,itemsToShow:d}=t;function p(e){return()=>{const o=t[e];n({[e]:!o})}}const g=(0,Ee.useBlockProps)();if(o)return(0,ye.createElement)("div",g,(0,ye.createElement)(ke.Placeholder,{icon:dp,label:"RSS"},(0,ye.createElement)("form",{onSubmit:function(e){e.preventDefault(),m&&r(!1)},className:"wp-block-rss__placeholder-form"},(0,ye.createElement)(ke.TextControl,{placeholder:(0,we.__)("Enter URL here…"),value:m,onChange:e=>n({feedURL:e}),className:"wp-block-rss__placeholder-input"}),(0,ye.createElement)(ke.Button,{variant:"primary",type:"submit"},(0,we.__)("Use URL")))));const h=[{icon:$o,title:(0,we.__)("Edit RSS URL"),onClick:()=>r(!0)},{icon:ui,title:(0,we.__)("List view"),onClick:()=>n({blockLayout:"list"}),isActive:"list"===a},{icon:mi,title:(0,we.__)("Grid view"),onClick:()=>n({blockLayout:"grid"}),isActive:"grid"===a}];return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,{controls:h})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("RSS settings")},(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Number of items"),value:d,onChange:e=>n({itemsToShow:e}),min:1,max:10,required:!0}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display author"),checked:i,onChange:p("displayAuthor")}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display date"),checked:s,onChange:p("displayDate")}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Display excerpt"),checked:c,onChange:p("displayExcerpt")}),c&&(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Max number of words in excerpt"),value:u,onChange:e=>n({excerptLength:e}),min:10,max:100,required:!0}),"grid"===a&&(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Columns"),value:l,onChange:e=>n({columns:e}),min:2,max:6,required:!0}))),(0,ye.createElement)("div",g,(0,ye.createElement)(ke.Disabled,null,(0,ye.createElement)(xe(),{block:"core/rss",attributes:t}))))}},vp=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"})),bp=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ye.createElement)(ke.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),yp=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ye.createElement)(ke.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),fp=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"})),_p=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,ye.createElement)(ke.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"})),kp=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(ke.Rect,{x:"4.75",y:"17.25",width:"5.5",height:"14.5",transform:"rotate(-90 4.75 17.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,ye.createElement)(ke.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"}));var Ep=[{name:"default",isDefault:!0,attributes:{buttonText:(0,we.__)("Search"),label:(0,we.__)("Search")}}];const Cp={apiVersion:2,name:"core/search",title:"Search",category:"widgets",description:"Help visitors find your content.",keywords:["find"],textdomain:"default",attributes:{label:{type:"string",__experimentalRole:"content"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:"",__experimentalRole:"content"},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string",__experimentalRole:"content"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],color:{gradients:!0,__experimentalSkipSerialization:!0},__experimentalBorder:{color:!0,radius:!0,__experimentalSkipSerialization:!0},html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"},{name:xp}=Cp,Sp={icon:Ts,example:{},variations:Ep,edit:function(e){var t,n;let{className:o,attributes:r,setAttributes:a,toggleSelection:l,isSelected:i,clientId:s}=e;const{label:c,showLabel:u,placeholder:m,width:d,widthUnit:p,align:g,buttonText:h,buttonPosition:v,buttonUseIcon:b,style:y}=r,f=(0,Ie.useSelect)((e=>{var t;const{getBlockParentsByBlockName:n,wasBlockJustInserted:o}=e(Ee.store);return!(null===(t=n(s,"core/navigation"))||void 0===t||!t.length)&&o(s)}),[s]),{__unstableMarkNextChangeAsNotPersistent:_}=(0,Ie.useDispatch)(Ee.store);(0,ye.useEffect)((()=>{f&&(_(),a({showLabel:!1,buttonUseIcon:!0,buttonPosition:"button-inside"}))}),[f]);const k=null==y||null===(t=y.border)||void 0===t?void 0:t.radius,w=null==y||null===(n=y.border)||void 0===n?void 0:n.color,E=(0,Ee.__experimentalUseBorderProps)(r);"number"==typeof k&&(E.style.borderRadius=`${k}px`);const C=(0,Ee.__experimentalUseColorProps)(r),x=`wp-block-search__width-${(0,ot.useInstanceId)(Ee.__experimentalUnitControl)}`,S="button-inside"===v,B="button-outside"===v,T="no-button"===v,N="button-only"===v,z=(0,ke.__experimentalUseCustomUnits)({availableUnits:["%","px"],defaultValues:{"%":50,px:350}}),P=[{role:"menuitemradio",title:(0,we.__)("Button outside"),isActive:"button-outside"===v,icon:bp,onClick:()=>{a({buttonPosition:"button-outside"})}},{role:"menuitemradio",title:(0,we.__)("Button inside"),isActive:"button-inside"===v,icon:yp,onClick:()=>{a({buttonPosition:"button-inside"})}},{role:"menuitemradio",title:(0,we.__)("No button"),isActive:"no-button"===v,icon:fp,onClick:()=>{a({buttonPosition:"no-button"})}}],I=()=>{const e=nt()("wp-block-search__input",S?void 0:E.className),t=S?{borderRadius:k}:E.style;return(0,ye.createElement)("input",{className:e,style:t,"aria-label":(0,we.__)("Optional placeholder text"),placeholder:m?void 0:(0,we.__)("Optional placeholder…"),value:m,onChange:e=>a({placeholder:e.target.value})})},M=()=>{const e=nt()("wp-block-search__button",C.className,S?void 0:E.className,b?"has-icon":void 0),t={...C.style,...S?{borderRadius:k}:E.style};return(0,ye.createElement)(ye.Fragment,null,b&&(0,ye.createElement)("button",{type:"button",className:e,style:t},(0,ye.createElement)(Ss,{icon:Ts})),!b&&(0,ye.createElement)(Ee.RichText,{className:e,style:t,"aria-label":(0,we.__)("Button text"),placeholder:(0,we.__)("Add button text…"),withoutInteractiveFormatting:!0,value:h,onChange:e=>a({buttonText:e})}))},R=(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,null,(0,ye.createElement)(ke.ToolbarButton,{title:(0,we.__)("Toggle search label"),icon:kp,onClick:()=>{a({showLabel:!u})},className:u?"is-pressed":void 0}),(0,ye.createElement)(ke.ToolbarDropdownMenu,{icon:(()=>{switch(v){case"button-inside":return yp;case"button-outside":return bp;case"no-button":return fp;case"button-only":return vp}})(),label:(0,we.__)("Change button position"),controls:P}),!T&&(0,ye.createElement)(ke.ToolbarButton,{title:(0,we.__)("Use button with icon"),icon:_p,onClick:()=>{a({buttonUseIcon:!b})},className:b?"is-pressed":void 0}))),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Display Settings")},(0,ye.createElement)(ke.BaseControl,{label:(0,we.__)("Width"),id:x},(0,ye.createElement)(Ee.__experimentalUnitControl,{id:x,min:"220px",onChange:e=>{const t="%"===p&&parseInt(e,10)>100?100:e;a({width:parseInt(t,10)})},onUnitChange:e=>{a({width:"%"===e?50:350,widthUnit:e})},style:{maxWidth:80},value:`${d}${p}`,unit:p,units:z}),(0,ye.createElement)(ke.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":(0,we.__)("Percentage Width")},[25,50,75,100].map((e=>(0,ye.createElement)(ke.Button,{key:e,isSmall:!0,variant:`${e}%`==`${d}${p}`?0:void 0,onClick:()=>a({width:e,widthUnit:"%"})},e,"%")))))))),L=e=>e?`calc(${e} + 4px)`:void 0,V=(0,Ee.useBlockProps)({className:nt()(o,S?void 0:E.className,S?"wp-block-search__button-inside":void 0,B?"wp-block-search__button-outside":void 0,T?"wp-block-search__no-button":void 0,N?"wp-block-search__button-only":void 0,b||T?void 0:"wp-block-search__text-button",b&&!T?"wp-block-search__icon-button":void 0)});return(0,ye.createElement)("div",V,R,u&&(0,ye.createElement)(Ee.RichText,{className:"wp-block-search__label","aria-label":(0,we.__)("Label text"),placeholder:(0,we.__)("Add label…"),withoutInteractiveFormatting:!0,value:c,onChange:e=>a({label:e})}),(0,ye.createElement)(ke.ResizableBox,{size:{width:`${d}${p}`},className:nt()("wp-block-search__inside-wrapper",S?E.className:void 0),style:(()=>{const e={borderColor:w},t=0!==parseInt(k,10);if(S&&t){if("object"==typeof k){const{topLeft:t,topRight:n,bottomLeft:o,bottomRight:r}=k;return{borderTopLeftRadius:L(t),borderTopRightRadius:L(n),borderBottomLeftRadius:L(o),borderBottomRightRadius:L(r),...e}}const t=Number.isInteger(k)?`${k}px`:k;e.borderRadius=`calc(${t} + 4px)`}return e})(),minWidth:220,enable:N?{}:{right:"right"!==g,left:"right"===g},onResizeStart:(e,t,n)=>{a({width:parseInt(n.offsetWidth,10),widthUnit:"px"}),l(!1)},onResizeStop:(e,t,n,o)=>{a({width:parseInt(d+o.width,10)}),l(!0)},showHandle:i},(S||B)&&(0,ye.createElement)(ye.Fragment,null,I(),M()),N&&M(),T&&I()))}};var Bp=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"}));var Tp=e=>{let{color:t,setColor:n}=e;return(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(Ee.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:(0,we.__)("Color"),colorSettings:[{value:t.color,onChange:n,label:(0,we.__)("Color")}]}))};var Np=(0,Ee.withColors)("color",{textColor:"color"})((function(e){let{color:t,setColor:n,className:o}=e;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.HorizontalRule,(0,Ee.useBlockProps)({className:nt()(o,{"has-background":t.color,[t.class]:t.class}),style:{backgroundColor:t.color,color:t.color}})),(0,ye.createElement)(Tp,{color:t,setColor:n}))}));var zp={from:[{type:"enter",regExp:/^-{3,}$/,transform:()=>(0,be.createBlock)("core/separator")},{type:"raw",selector:"hr",schema:{hr:{}}}]};const Pp={apiVersion:2,name:"core/separator",title:"Separator",category:"design",description:"Create a break between ideas or sections with a horizontal separator.",keywords:["horizontal-line","hr","divider"],textdomain:"default",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"wide",label:"Wide Line"},{name:"dots",label:"Dots"}],editorStyle:"wp-block-separator-editor",style:"wp-block-separator"},{name:Ip}=Pp,Mp={icon:Bp,example:{attributes:{customColor:"#065174",className:"is-style-wide"}},transforms:zp,edit:Np,save:function(e){let{attributes:t}=e;const{color:n,customColor:o}=t,r=(0,Ee.getColorClassName)("background-color",n),a=(0,Ee.getColorClassName)("color",n),l=nt()({"has-text-color has-background":n||o,[r]:r,[a]:a}),i={backgroundColor:r?void 0:o,color:a?void 0:o};return(0,ye.createElement)("hr",Ee.useBlockProps.save({className:l,style:i}))}};var Rp=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"}));var Lp=window.wp.autop;var Vp={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:(e,t)=>{let{content:n}=t;return(0,Lp.removep)((0,Lp.autop)(n))}}},priority:20}]};const Hp={apiVersion:2,name:"core/shortcode",title:"Shortcode",category:"widgets",description:"Insert additional custom elements with a WordPress shortcode.",textdomain:"default",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"},{name:Ap}=Hp,Fp={icon:Rp,transforms:Vp,edit:function e(t){let{attributes:n,setAttributes:o}=t;const r=`blocks-shortcode-input-${(0,ot.useInstanceId)(e)}`;return(0,ye.createElement)("div",(0,Ee.useBlockProps)({className:"components-placeholder"}),(0,ye.createElement)("label",{htmlFor:r,className:"components-placeholder__label"},(0,ye.createElement)(Ss,{icon:Rp}),(0,we.__)("Shortcode")),(0,ye.createElement)(Ee.PlainText,{className:"blocks-shortcode__textarea",id:r,value:n.text,"aria-label":(0,we.__)("Shortcode text"),placeholder:(0,we.__)("Write shortcode here…"),onChange:e=>o({text:e})}))},save:function(e){let{attributes:t}=e;return(0,ye.createElement)(ye.RawHTML,null,t.text)}};var Dp=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 1.5c4.1 0 7.5 3.4 7.5 7.5v.1c-1.4-.8-3.3-1.7-3.4-1.8-.2-.1-.5-.1-.8.1l-2.9 2.1L9 11.3c-.2-.1-.4 0-.6.1l-3.7 2.2c-.1-.5-.2-1-.2-1.5 0-4.2 3.4-7.6 7.5-7.6zm0 15c-3.1 0-5.7-1.9-6.9-4.5l3.7-2.2 3.5 1.2c.2.1.5 0 .7-.1l2.9-2.1c.8.4 2.5 1.2 3.5 1.9-.9 3.3-3.9 5.8-7.4 5.8z"}));const Gp=["image"],Up="image/*",Op=e=>{let{alt:t,attributes:{align:n,width:o,height:r,isLink:a,linkTarget:l,shouldSyncIcon:i},containerRef:s,isSelected:c,setAttributes:u,setLogo:m,logoUrl:d,siteUrl:p,logoId:g,iconId:h,setIcon:v,canUserEdit:b}=e;const y=$l(s,[n]),f=(0,ot.useViewportMatch)("medium"),_=!(0,Le.includes)(["wide","full"],n)&&f,[{naturalWidth:k,naturalHeight:w},E]=(0,ye.useState)({}),[C,x]=(0,ye.useState)(!1),{toggleSelection:S}=(0,Ie.useDispatch)(Ee.store),B=nt()("custom-logo-link",{"is-transient":(0,Pe.isBlobURL)(d)}),{imageEditing:T,maxWidth:N,title:z}=(0,Ie.useSelect)((e=>{const{getSettings:t}=e(Ee.store);return{title:e(Dt.store).getEditedEntityRecord("root","site").title,...(0,Le.pick)(t(),["imageEditing","maxWidth"])}}),[]);(0,ye.useEffect)((()=>{i&&g!==h&&u({shouldSyncIcon:!1})}),[]),(0,ye.useEffect)((()=>{c||x(!1)}),[c]);const P=(0,ye.createElement)("img",{className:"custom-logo",src:d,alt:t,onLoad:e=>{E((0,Le.pick)(e.target,["naturalWidth","naturalHeight"]))}});let I,M=P;if(a&&(M=(0,ye.createElement)("a",{href:p,className:B,rel:"home",title:z,onClick:e=>e.preventDefault()},P)),y&&k&&w){I=k>y?y:k}if(!_||!I)return(0,ye.createElement)("div",{style:{width:o,height:r}},M);const R=o||120,L=k/w,V=R/L,H=k<w?ma:Math.ceil(ma*L),A=w<k?ma:Math.ceil(ma/L),F=2.5*N;let D=!1,G=!1;"center"===n?(D=!0,G=!0):(0,we.isRTL)()?"left"===n?D=!0:G=!0:"right"===n?G=!0:D=!0;const U=g&&k&&w&&T,O=U&&C?(0,ye.createElement)(Ee.__experimentalImageEditingProvider,{id:g,url:d,naturalWidth:k,naturalHeight:w,clientWidth:y,onSaveImage:e=>{m(e.id)},isEditing:C,onFinishEditing:()=>x(!1)},(0,ye.createElement)(Ee.__experimentalImageEditor,{url:d,width:R,height:V,clientWidth:y,naturalHeight:w,naturalWidth:k})):(0,ye.createElement)(ke.ResizableBox,{size:{width:R,height:V},showHandle:c,minWidth:H,maxWidth:F,minHeight:A,maxHeight:F/L,lockAspectRatio:!0,enable:{top:!1,right:D,bottom:!0,left:G},onResizeStart:function(){S(!1)},onResizeStop:(e,t,n,o)=>{S(!0),u({width:parseInt(R+o.width,10),height:parseInt(V+o.height,10)})}},M),q=(0,ye.createInterpolateElement)((0,we.__)("Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. To use a custom icon that is different from your site logo, use the <a>Site Icon settings</a>."),{a:(0,ye.createElement)("a",{href:p+"/wp-admin/customize.php?autofocus[section]=title_tagline",target:"_blank",rel:"noopener noreferrer"})});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Settings")},(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Image width"),onChange:e=>u({width:e}),min:H,max:F,initialPosition:Math.min(120,F),value:o||"",disabled:!_}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Link image to home"),onChange:()=>u({isLink:!a}),checked:a}),a&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Open in new tab"),onChange:e=>u({linkTarget:e?"_blank":"_self"}),checked:"_blank"===l})),b&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Use as site icon"),onChange:e=>{u({shouldSyncIcon:e}),v(e?g:void 0)},checked:!!i,help:q})))),(0,ye.createElement)(Ee.BlockControls,{group:"block"},U&&!C&&(0,ye.createElement)(ke.ToolbarButton,{onClick:()=>x(!0),icon:Ul,label:(0,we.__)("Crop")})),O)};const qp={apiVersion:2,name:"core/site-logo",title:"Site Logo",category:"theme",description:"Display a graphic to represent this site. Update the block, and the changes apply everywhere it’s used. This is different than the site icon, which is the smaller image visible in your dashboard, browser tabs, etc used to help others recognize this site.",textdomain:"default",attributes:{width:{type:"number"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"},shouldSyncIcon:{type:"boolean"}},example:{viewportWidth:500,attributes:{width:350,className:"block-editor-block-types-list__site-logo-example"}},supports:{html:!1,align:!0,alignWide:!1,color:{__experimentalDuotone:"img",text:!1,background:!1}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"rounded",label:"Rounded"}],editorStyle:"wp-block-site-logo-editor",style:"wp-block-site-logo"},{name:$p}=qp,Wp={icon:Dp,edit:function(e){let{attributes:t,className:n,setAttributes:o,isSelected:r}=e;const{width:a,shouldSyncIcon:l}=t,[i,s]=(0,ye.useState)(),c=(0,ye.useRef)(),{siteLogoId:u,canUserEdit:m,url:d,siteIconId:p,mediaItemData:g,isRequestingMediaItem:h}=(0,Ie.useSelect)((e=>{const{canUser:t,getEntityRecord:n,getEditedEntityRecord:o}=e(Dt.store),r=o("root","site"),a=n("root","__unstableBase"),l=null==r?void 0:r.site_logo,i=null==a?void 0:a.site_logo,s=t("update","settings"),c=s?l:i,u=null==r?void 0:r.site_icon,m=c&&e(Dt.store).getMedia(c,{context:"view"}),d=c&&!e(Dt.store).hasFinishedResolution("getMedia",[c,{context:"view"}]);return{siteLogoId:c,canUserEdit:s,url:null==a?void 0:a.url,mediaItemData:m&&{id:m.id,url:m.source_url,alt:m.alt_text},isRequestingMediaItem:d,siteIconId:u}}),[]),{editEntityRecord:v}=(0,Ie.useDispatch)(Dt.store),b=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(l||t)&&y(e),v("root","site",void 0,{site_logo:e})},y=e=>v("root","site",void 0,{site_icon:e});let f=null;g&&(f=g.alt,i!==g.url&&s(g.url));const _=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return!e.id&&e.url?(b(void 0),void s(e.url)):void b(e.id,t)},{createErrorNotice:k}=(0,Ie.useDispatch)(Ir.store),w=e=>{k(e[2],{type:"snackbar"})},E=m&&i&&(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(Ee.MediaReplaceFlow,{mediaURL:i,allowedTypes:Gp,accept:Up,onSelect:_,onError:w},(0,ye.createElement)(ke.MenuItem,{onClick:()=>{b(null),s(void 0),o({width:void 0})}},(0,we.__)("Reset"))));let C;const x=void 0===u||h;x&&(C=(0,ye.createElement)(ke.Spinner,null)),i&&(C=(0,ye.createElement)(Op,{alt:f,attributes:t,className:n,containerRef:c,isSelected:r,setAttributes:o,logoUrl:i,setLogo:b,logoId:(null==g?void 0:g.id)||u,siteUrl:d,setIcon:y,iconId:p,canUserEdit:m}));const S=nt()(n,{"is-default-size":!a}),B=(0,Ee.useBlockProps)({ref:c,className:S}),T=(0,we.__)("Add a site logo");return(0,ye.createElement)("div",B,E,!!i&&C,!i&&!m&&(0,ye.createElement)(ke.Placeholder,{className:"site-logo_placeholder"},x&&(0,ye.createElement)("span",{className:"components-placeholder__preview"},(0,ye.createElement)(ke.Spinner,null))),!i&&m&&(0,ye.createElement)(Ee.MediaPlaceholder,{onSelect:e=>{if(void 0===l){const t=!p;return o({shouldSyncIcon:t}),void _(e,t)}_(e)},accept:Up,allowedTypes:Gp,onError:w,placeholder:e=>{const t=nt()("block-editor-media-placeholder",n);return(0,ye.createElement)(ke.Placeholder,{className:t,preview:C},(0,ye.createElement)(fe.SVG,{className:"components-placeholder__illustration",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},(0,ye.createElement)(fe.Path,{vectorEffect:"non-scaling-stroke",d:"m61 32.622-13.555-9.137-15.888 9.859a5 5 0 0 1-5.386-.073l-9.095-5.989L1 37.5"})),e)},mediaLibraryButton:e=>{let{open:t}=e;return(0,ye.createElement)(ke.Button,{icon:Ol,variant:"primary",label:T,showTooltip:!0,tooltipPosition:"top center",onClick:()=>{t()}})}}))}};var jp=(0,ye.createElement)(ke.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},(0,ye.createElement)(ke.Path,{fill:"none",d:"M0 0h24v24H0z"}),(0,ye.createElement)(ke.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"}));var Zp=[{attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:lt,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const Kp={apiVersion:2,name:"core/site-tagline",title:"Site Tagline",category:"theme",description:"Describe in a few words what the website is about. The tagline can be used in search results or when sharing on social networks even if it's not displayed in the theme design.",keywords:["description"],textdomain:"default",attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}}},editorStyle:"wp-block-site-tagline-editor"},{name:Qp}=Kp,Jp={icon:jp,edit:function(e){let{attributes:t,setAttributes:n}=e;const{textAlign:o}=t,[r,a]=(0,Dt.useEntityProp)("root","site","description"),{canUserEdit:l,readOnlySiteTagLine:i}=(0,Ie.useSelect)((e=>{const{canUser:t,getEntityRecord:n}=e(Dt.store),o=n("root","__unstableBase");return{canUserEdit:t("update","settings"),readOnlySiteTagLine:null==o?void 0:o.description}}),[]),s=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${o}`]:o,"wp-block-site-tagline__placeholder":!l&&!i})}),c=l?(0,ye.createElement)(Ee.RichText,gt({allowedFormats:[],onChange:a,"aria-label":(0,we.__)("Site tagline text"),placeholder:(0,we.__)("Write site tagline…"),tagName:"p",value:r},s)):(0,ye.createElement)("p",s,i||(0,we.__)("Site Tagline placeholder"));return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.AlignmentControl,{onChange:e=>n({textAlign:e}),value:o})),c)},deprecated:Zp};var Yp=(0,ye.createElement)(fe.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"}));function Xp(e){let{level:t,isPressed:n=!1}=e;if(0===t)return lu;return(0,ye.createElement)(ke.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:n},(0,ye.createElement)(ke.Path,{d:{1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"}[t]}))}function eg(e){let{level:t,onChange:n}=e;const o=[1,2,3,4,5,6,0].map((e=>{const o=e===t;return{icon:(0,ye.createElement)(Xp,{level:e,isPressed:o}),title:0===e?(0,we.__)("Paragraph"):(0,we.sprintf)((0,we.__)("Heading %d"),e),isActive:o,onClick:()=>n(e)}}));return(0,ye.createElement)(ke.ToolbarDropdownMenu,{label:(0,we.__)("Change heading level"),icon:(0,ye.createElement)(Xp,{level:t}),controls:o})}var tg=[{attributes:{level:{type:"number",default:1},textAlign:{type:"string"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0}},save:()=>null,migrate:lt,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}}];const ng={apiVersion:2,name:"core/site-title",title:"Site Title",category:"theme",description:"Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.",textdomain:"default",attributes:{level:{type:"number",default:1},textAlign:{type:"string"},isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},example:{viewportWidth:500},supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,margin:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextTransform:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,lineHeight:!0,fontAppearance:!0,letterSpacing:!0,textTransform:!0}}},editorStyle:"wp-block-site-title-editor"},{name:og}=ng,rg={icon:Yp,edit:function(e){let{attributes:t,setAttributes:n,insertBlocksAfter:o}=e;const{level:r,textAlign:a,isLink:l,linkTarget:i}=t,[s,c]=(0,Dt.useEntityProp)("root","site","title"),{canUserEdit:u,readOnlyTitle:m}=(0,Ie.useSelect)((e=>{const{canUser:t,getEntityRecord:n}=e(Dt.store),o=n("root","__unstableBase");return{canUserEdit:t("update","settings"),readOnlyTitle:(0,Bs.decodeEntities)(null==o?void 0:o.name)}}),[]),d=0===r?"p":`h${r}`,p=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${a}`]:a,"wp-block-site-title__placeholder":!u&&!m})}),g=u?(0,ye.createElement)(d,p,(0,ye.createElement)(Ee.RichText,{tagName:l?"a":"span",href:l?"#site-title-pseudo-link":void 0,"aria-label":(0,we.__)("Site title text"),placeholder:(0,we.__)("Write site title…"),value:s,onChange:c,allowedFormats:[],disableLineBreaks:!0,__unstableOnSplitAtEnd:()=>o((0,be.createBlock)((0,be.getDefaultBlockName)()))})):(0,ye.createElement)(d,p,l?(0,ye.createElement)("a",{href:"#site-title-pseudo-link",onClick:e=>e.preventDefault()},m||(0,we.__)("Site Title placeholder")):(0,ye.createElement)("span",null,s||m));return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(eg,{level:r,onChange:e=>n({level:e})}),(0,ye.createElement)(Ee.AlignmentControl,{value:a,onChange:e=>{n({textAlign:e})}})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Link settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Make title link to home"),onChange:()=>n({isLink:!l}),checked:l}),l&&(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Open in new tab"),onChange:e=>n({linkTarget:e?"_blank":"_self"}),checked:"_blank"===i}))),g)},deprecated:tg};var ag=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"}));var lg=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ye.createElement)(fe.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"}));const ig=()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"})),sg=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))},{name:"chain",attributes:{service:"chain"},title:"Link",icon:ig},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))},{name:"google",attributes:{service:"google"},title:"Google",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))},{name:"github",attributes:{service:"github"},title:"GitHub",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M 12.0002 1.5 C 6.2006 1.5 1.5 6.2011 1.5 11.9998 C 1.5 17.799 6.2006 22.5 12.0002 22.5 C 17.799 22.5 22.5 17.799 22.5 11.9998 C 22.5 6.2011 17.799 1.5 12.0002 1.5 Z M 16.1974 16.2204 C 14.8164 16.2152 13.9346 15.587 13.3345 14.1859 L 13.1816 13.8451 L 11.8541 10.8101 C 11.4271 9.7688 10.3526 9.0712 9.1801 9.0712 C 7.5695 9.0712 6.2593 10.3851 6.2593 12.001 C 6.2593 13.6165 7.5695 14.9303 9.1801 14.9303 C 10.272 14.9303 11.2651 14.3275 11.772 13.3567 C 11.7893 13.3235 11.8239 13.302 11.863 13.3038 C 11.9007 13.3054 11.9353 13.3288 11.9504 13.3632 L 12.4865 14.6046 C 12.5016 14.639 12.4956 14.6778 12.4723 14.7069 C 11.6605 15.6995 10.4602 16.2683 9.1801 16.2683 C 6.8331 16.2683 4.9234 14.3536 4.9234 12.001 C 4.9234 9.6468 6.833 7.732 9.1801 7.732 C 10.9572 7.732 12.3909 8.6907 13.1138 10.3636 C 13.1206 10.3802 13.8412 12.0708 14.4744 13.5191 C 14.8486 14.374 15.1462 14.896 16.1288 14.9292 C 17.0663 14.9613 17.7538 14.4122 17.7538 13.6485 C 17.7538 12.9691 17.3321 12.8004 16.3803 12.4822 C 14.7365 11.9398 13.845 11.3861 13.845 10.0182 C 13.845 8.6809 14.7667 7.8162 16.192 7.8162 C 17.1288 7.8162 17.8155 8.2287 18.2921 9.0768 C 18.305 9.1006 18.3079 9.1281 18.3004 9.1542 C 18.2929 9.1803 18.2748 9.2021 18.2507 9.2138 L 17.3614 9.669 C 17.3178 9.692 17.2643 9.6781 17.2356 9.6385 C 16.9329 9.2135 16.5956 9.0251 16.1423 9.0251 C 15.5512 9.0251 15.122 9.429 15.122 9.9865 C 15.122 10.6738 15.6529 10.8414 16.5339 11.1192 C 16.6491 11.1558 16.7696 11.194 16.8939 11.2343 C 18.2763 11.6865 19.0768 12.2311 19.0768 13.6836 C 19.0769 15.1297 17.8389 16.2204 16.1974 16.2204 Z"}))},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))},{name:"mail",attributes:{service:"mail"},title:"Mail",keywords:["email","e-mail"],icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))},{name:"patreon",attributes:{service:"patreon"},title:"Patreon",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 569 546",version:"1.1"},(0,ye.createElement)(fe.Circle,{cx:"363",cy:"205",r:"205"}),(0,ye.createElement)(fe.Rect,{width:"100",height:"546",x:"0",y:"0"}))},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))},{name:"telegram",attributes:{service:"telegram"},title:"Telegram",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 128 128",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z"}))},{name:"tiktok",attributes:{service:"tiktok"},title:"TikTok",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 32 32",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z"}))},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))},{name:"vk",attributes:{service:"vk"},title:"VK",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:()=>(0,ye.createElement)(fe.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},(0,ye.createElement)(fe.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}];sg.forEach((e=>{e.isActive||(e.isActive=(e,t)=>e.service===t.service)}));var cg=sg;const ug=e=>{let{url:t,setAttributes:n,setPopover:o,anchorRef:r}=e;return(0,ye.createElement)(Ee.URLPopover,{anchorRef:null==r?void 0:r.current,onClose:()=>o(!1)},(0,ye.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:e=>{e.preventDefault(),o(!1)}},(0,ye.createElement)("div",{className:"block-editor-url-input"},(0,ye.createElement)(Ee.URLInput,{value:t,onChange:e=>n({url:e}),placeholder:(0,we.__)("Enter address"),disableSuggestions:!0})),(0,ye.createElement)(ke.Button,{icon:lg,label:(0,we.__)("Apply"),type:"submit"})))};var mg=e=>{let{attributes:t,context:n,isSelected:o,setAttributes:r}=e;const{url:a,service:l,label:i}=t,{iconColorValue:s,iconBackgroundColorValue:c}=n,[u,m]=(0,ye.useState)(!1),d=nt()("wp-social-link","wp-social-link-"+l,{"wp-social-link__is-incomplete":!a}),p=(0,ye.useRef)(),g=(e=>{const t=(0,Le.find)(cg,{name:e});return t?t.icon:ig})(l),h=(e=>{const t=(0,Le.find)(cg,{name:e});return t?t.title:(0,we.__)("Social Icon")})(l),v=(0,Ee.useBlockProps)({className:d,style:{color:s,backgroundColor:c}});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.sprintf)((0,we.__)("%s label"),h),initialOpen:!1},(0,ye.createElement)(ke.PanelRow,null,(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Link label"),help:(0,we.__)("Briefly describe the link to help screen reader users."),value:i,onChange:e=>r({label:e})})))),(0,ye.createElement)("li",v,(0,ye.createElement)(ke.Button,{ref:p,onClick:()=>m(!0)},(0,ye.createElement)(g,null),o&&u&&(0,ye.createElement)(ug,{url:a,setAttributes:r,setPopover:m,anchorRef:p}))))};const dg={apiVersion:2,name:"core/social-link",title:"Social Icon",category:"widgets",parent:["core/social-links"],description:"Display an icon linking to a social media profile or website.",textdomain:"default",attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}},usesContext:["openInNewTab","iconColorValue","iconBackgroundColorValue"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-social-link-editor"},{name:pg}=dg,gg={icon:ag,edit:mg,variations:cg},hg=[{attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab"},supports:{align:["left","center","right"],anchor:!0},migrate:e=>{var t,n;if(e.layout)return e;const{className:o}=e,r="items-justified-",a=new RegExp(`\\b${r}[^ ]*[ ]?\\b`,"g"),l={...e,className:null==o?void 0:o.replace(a,"").trim()},i=null==o||null===(t=o.match(a))||void 0===t||null===(n=t[0])||void 0===n?void 0:n.trim();return i&&Object.assign(l,{layout:{type:"flex",justifyContent:i.slice(r.length)}}),l},save:e=>{const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,itemsJustification:o,size:r}}=e,a=nt()(r,{"has-icon-color":n,"has-icon-background-color":t,[`items-justified-${o}`]:o}),l={"--wp--social-links--icon-color":n,"--wp--social-links--icon-background-color":t};return(0,ye.createElement)("ul",Ee.useBlockProps.save({className:a,style:l}),(0,ye.createElement)(Ee.InnerBlocks.Content,null))}}];var vg=hg;var bg=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));const yg=["core/social-link"],fg=[{name:(0,we.__)("Small"),value:"has-small-icon-size"},{name:(0,we.__)("Normal"),value:"has-normal-icon-size"},{name:(0,we.__)("Large"),value:"has-large-icon-size"},{name:(0,we.__)("Huge"),value:"has-huge-icon-size"}];var _g=(0,Ee.withColors)({iconColor:"icon-color",iconBackgroundColor:"icon-background-color"})((function(e){var t;const{name:n,attributes:o,iconBackgroundColor:r,iconColor:a,isSelected:l,setAttributes:i,setIconBackgroundColor:s,setIconColor:c}=e,{iconBackgroundColorValue:u,iconColorValue:m,openInNewTab:d,size:p,layout:g}=o,h=g||(e=>{const t=(0,be.getBlockSupport)(e,"__experimentalLayout");return null==t?void 0:t.default})(n),v=(null===(t=o.className)||void 0===t?void 0:t.indexOf("is-style-logos-only"))>=0;(0,ye.useEffect)((()=>{v&&i({iconBackgroundColor:void 0,customIconBackgroundColor:void 0,iconBackgroundColorValue:void 0})}),[v,i]);const b=(0,ye.createElement)("li",{className:"wp-block-social-links__social-placeholder"},(0,ye.createElement)("div",{className:"wp-social-link"}),(0,ye.createElement)("div",{className:"wp-block-social-links__social-placeholder-icons"},(0,ye.createElement)("div",{className:"wp-social-link wp-social-link-twitter"}),(0,ye.createElement)("div",{className:"wp-social-link wp-social-link-facebook"}),(0,ye.createElement)("div",{className:"wp-social-link wp-social-link-instagram"}))),y=(0,ye.createElement)("li",{className:"wp-block-social-links__social-prompt"},(0,we.__)("Click plus to add")),f=nt()(p,{"has-icon-color":a.color||m,"has-icon-background-color":r.color||u}),_=(0,Ee.useBlockProps)({className:f}),k=(0,Ee.useInnerBlocksProps)(_,{allowedBlocks:yg,placeholder:l?y:b,templateLock:!1,__experimentalAppenderTagName:"li",__experimentalLayout:h});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(ke.ToolbarDropdownMenu,{label:(0,we.__)("Size"),text:(0,we.__)("Size"),icon:null,popoverProps:{position:"bottom right"}},(e=>{let{onClose:t}=e;return(0,ye.createElement)(ke.MenuGroup,null,fg.map((e=>(0,ye.createElement)(ke.MenuItem,{icon:(p===e.value||!p&&"has-normal-icon-size"===e.value)&&bg,isSelected:p===e.value,key:e.value,onClick:()=>{i({size:e.value})},onClose:t,role:"menuitemradio"},e.name))))}))),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Link settings")},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Open links in new tab"),checked:d,onChange:()=>i({openInNewTab:!d})})),(0,ye.createElement)(Ee.PanelColorSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:(0,we.__)("Color"),colorSettings:[{value:a.color||m,onChange:e=>{c(e),i({iconColorValue:e})},label:(0,we.__)("Icon color")},!v&&{value:r.color||u,onChange:e=>{s(e),i({iconBackgroundColorValue:e})},label:(0,we.__)("Icon background")}]}),!v&&(0,ye.createElement)(Ee.ContrastChecker,{textColor:m,backgroundColor:u,isLargeText:!1})),(0,ye.createElement)("ul",k))}));const kg={apiVersion:2,name:"core/social-links",title:"Social Icons",category:"widgets",description:"Display icons linking to your social media profiles or websites.",keywords:["links"],textdomain:"default",attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab",iconColorValue:"iconColorValue",iconBackgroundColorValue:"iconBackgroundColorValue"},supports:{align:["left","center","right"],anchor:!0,__experimentalExposeControlsToChildren:!0,__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}},spacing:{blockGap:!0,margin:["top","bottom"],units:["px","em","rem","vh","vw"],__experimentalDefaultControls:{blockGap:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"logos-only",label:"Logos Only"},{name:"pill-shape",label:"Pill Shape"}],editorStyle:"wp-block-social-links-editor",style:"wp-block-social-links"},{name:wg}=kg,Eg={example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},icon:ag,edit:_g,save:function(e){const{attributes:{iconBackgroundColorValue:t,iconColorValue:n,size:o}}=e,r=nt()(o,{"has-icon-color":n,"has-icon-background-color":t}),a=Ee.useBlockProps.save({className:r}),l=Ee.useInnerBlocksProps.save(a);return(0,ye.createElement)("ul",l)},deprecated:vg};var Cg=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"}));const xg=[{attributes:{height:{type:"number",default:100},width:{type:"number"}},migrate(e){const{height:t,width:n}=e;return{...e,width:void 0!==n?`${n}px`:void 0,height:void 0!==t?`${t}px`:void 0}},save(e){let{attributes:t}=e;return(0,ye.createElement)("div",Ee.useBlockProps.save({style:{height:t.height,width:t.width},"aria-hidden":!0}))}}];var Sg=xg;function Bg(e){var t;let{label:n,onChange:o,isResizing:r,value:a=""}=e;const[l,i]=(0,ye.useState)(null),s=(0,ot.useInstanceId)(ke.__experimentalUnitControl,"block-spacer-height-input"),c=null===(t=(0,Ee.useSetting)("spacing.units")||void 0)||void 0===t?void 0:t.filter((e=>"%"!==e)),u=(0,ke.__experimentalUseCustomUnits)({availableUnits:c||["px","em","rem","vw","vh"],defaultValues:{px:"100",em:"10",rem:"10",vw:"10",vh:"25"}}),m=null!==l?l:a;return(0,ye.createElement)(ke.BaseControl,{label:n,id:s},(0,ye.createElement)(ke.__experimentalUnitControl,{id:s,isResetValueOnUnitChange:!0,min:0,max:Ng,onBlur:()=>{null!==l&&i(null)},onChange:e=>{i(null),o(e)},style:{maxWidth:80},value:m,units:u,unit:r?"px":void 0}))}function Tg(e){let{setAttributes:t,orientation:n,height:o,width:r,isResizing:a}=e;return(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Spacer settings")},"horizontal"===n&&(0,ye.createElement)(Bg,{label:(0,we.__)("Width"),value:r,onChange:e=>t({width:e}),isResizing:a}),"horizontal"!==n&&(0,ye.createElement)(Bg,{label:(0,we.__)("Height"),value:o,onChange:e=>t({height:e}),isResizing:a})))}const Ng=500,zg=e=>{let{orientation:t,onResizeStart:n,onResize:o,onResizeStop:r,isSelected:a,isResizing:l,setIsResizing:i,...s}=e;const c=e=>"horizontal"===t?e.clientWidth:e.clientHeight,u=e=>`${c(e)}px`;return(0,ye.createElement)(ke.ResizableBox,gt({className:nt()("block-library-spacer__resize-container",{"resize-horizontal":"horizontal"===t,"is-resizing":l,"is-selected":a}),onResizeStart:(e,t,r)=>{const a=u(r);n(a),o(a)},onResize:(e,t,n)=>{o(u(n)),l||i(!0)},onResizeStop:(e,t,n)=>{const o=Math.min(Ng,c(n));r(`${o}px`),i(!1)},__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"horizontal"===t?"x":"y",position:"corner",isVisible:l},showHandle:a},s))};var Pg=(0,ot.compose)([(0,Ie.withDispatch)((e=>{const{toggleSelection:t}=e(Ee.store);return{onResizeStart:()=>t(!1),onResizeStop:()=>t(!0)}})),ot.withInstanceId])((e=>{let{attributes:t,isSelected:n,setAttributes:o,onResizeStart:r,onResizeStop:a,context:l}=e;const{orientation:i}=l,{height:s,width:c}=t,[u,m]=(0,ye.useState)(!1),[d,p]=(0,ye.useState)(null),[g,h]=(0,ye.useState)(null),v=e=>{a(),o({height:e}),p(null)},b=e=>{a(),o({width:e}),h(null)},y={height:"horizontal"===i?24:d||s||void 0,width:"horizontal"===i&&(g||c)||void 0};return(0,ye.useEffect)((()=>{"horizontal"!==i||c||o({height:"0px",width:"72px"})}),[]),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(fe.View,(0,Ee.useBlockProps)({style:y}),"horizontal"===(f=i)?(0,ye.createElement)(zg,{minWidth:1,enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:f,onResizeStart:r,onResize:h,onResizeStop:b,isSelected:n,isResizing:u,setIsResizing:m}):(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(zg,{enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},orientation:f,onResizeStart:r,onResize:p,onResizeStop:v,isSelected:n,isResizing:u,setIsResizing:m}))),(0,ye.createElement)(Tg,{setAttributes:o,height:d||s,width:g||c,orientation:i,isResizing:u}));var f}));const Ig={apiVersion:2,name:"core/spacer",title:"Spacer",category:"design",description:"Add white space between blocks and customize its height.",textdomain:"default",attributes:{height:{type:"string",default:"100px"},width:{type:"string"}},usesContext:["orientation"],supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"},{name:Mg}=Ig,Rg={icon:Cg,edit:Pg,save:function(e){let{attributes:{height:t,width:n}}=e;return(0,ye.createElement)("div",Ee.useBlockProps.save({style:{height:t,width:n},"aria-hidden":!0}))},deprecated:Sg};var Lg=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"}));const Vg={"subtle-light-gray":"#f3f4f5","subtle-pale-green":"#e9fbe5","subtle-pale-blue":"#e7f5fe","subtle-pale-pink":"#fcf0ef"},Hg=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,__experimentalSelector:".wp-block-table > table"},save:e=>{let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,backgroundColor:l,caption:i}=t;if(!o.length&&!r.length&&!a.length)return null;const s=(0,Ee.getColorClassName)("background-color",l),c=nt()(s,{"has-fixed-layout":n,"has-background":!!s}),u=!Ee.RichText.isEmpty(i),m=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o=`t${t}`;return(0,ye.createElement)(o,null,n.map(((e,t)=>{let{cells:n}=e;return(0,ye.createElement)("tr",{key:t},n.map(((e,t)=>{let{content:n,tag:o,scope:r,align:a}=e;const l=nt()({[`has-text-align-${a}`]:a});return(0,ye.createElement)(Ee.RichText.Content,{className:l||void 0,"data-align":a,tagName:o,value:n,key:t,scope:"th"===o?r:void 0})})))})))};return(0,ye.createElement)("figure",Ee.useBlockProps.save(),(0,ye.createElement)("table",{className:""===c?void 0:c},(0,ye.createElement)(m,{type:"head",rows:o}),(0,ye.createElement)(m,{type:"body",rows:r}),(0,ye.createElement)(m,{type:"foot",rows:a})),u&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:i}))},isEligible:e=>e.backgroundColor&&!e.style,migrate:e=>({...e,backgroundColor:void 0,style:{color:{background:Vg[e.backgroundColor]}}})},{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save(e){let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,backgroundColor:l}=t;if(!o.length&&!r.length&&!a.length)return null;const i=(0,Ee.getColorClassName)("background-color",l),s=nt()(i,{"has-fixed-layout":n,"has-background":!!i}),c=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o=`t${t}`;return(0,ye.createElement)(o,null,n.map(((e,t)=>{let{cells:n}=e;return(0,ye.createElement)("tr",{key:t},n.map(((e,t)=>{let{content:n,tag:o,scope:r}=e;return(0,ye.createElement)(Ee.RichText.Content,{tagName:o,value:n,key:t,scope:"th"===o?r:void 0})})))})))};return(0,ye.createElement)("table",{className:s},(0,ye.createElement)(c,{type:"head",rows:o}),(0,ye.createElement)(c,{type:"body",rows:r}),(0,ye.createElement)(c,{type:"foot",rows:a}))}}];var Ag=Hg;var Fg=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));var Dg=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));var Gg=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));var Ug=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ye.createElement)(fe.Path,{d:"M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"}));var Og=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ye.createElement)(fe.Path,{d:"M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"}));var qg=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ye.createElement)(fe.Path,{d:"M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"}));var $g=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ye.createElement)(fe.Path,{d:"M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"}));var Wg=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ye.createElement)(fe.Path,{d:"M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"}));var jg=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ye.createElement)(fe.Path,{d:"M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"}));var Zg=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));const Kg=["align"];function Qg(e,t,n){if(!t)return e;const o=(0,Le.pick)(e,["head","body","foot"]),{sectionName:r,rowIndex:a}=t;return(0,Le.mapValues)(o,((e,o)=>r&&r!==o?e:e.map(((e,r)=>a&&a!==r?e:{cells:e.cells.map(((e,a)=>function(e,t){if(!e||!t)return!1;switch(t.type){case"column":return"column"===t.type&&e.columnIndex===t.columnIndex;case"cell":return"cell"===t.type&&e.sectionName===t.sectionName&&e.columnIndex===t.columnIndex&&e.rowIndex===t.rowIndex}}({sectionName:o,columnIndex:a,rowIndex:r},t)?n(e):e))}))))}function Jg(e,t){let{sectionName:n,rowIndex:o,columnCount:r}=t;const a=function(e){return eh(e.head)?eh(e.body)?eh(e.foot)?void 0:e.foot[0]:e.body[0]:e.head[0]}(e),l=void 0===r?(0,Le.get)(a,["cells","length"]):r;return l?{[n]:[...e[n].slice(0,o),{cells:(0,Le.times)(l,(e=>{const t=(0,Le.get)(a,["cells",e],{});return{...(0,Le.pick)(t,Kg),content:"",tag:"head"===n?"th":"td"}}))},...e[n].slice(o)]}:e}function Yg(e,t){let{columnIndex:n}=t;const o=(0,Le.pick)(e,["head","body","foot"]);return(0,Le.mapValues)(o,((e,t)=>eh(e)?e:e.map((e=>th(e)||e.cells.length<n?e:{cells:[...e.cells.slice(0,n),{content:"",tag:"head"===t?"th":"td"},...e.cells.slice(n)]}))))}function Xg(e,t){if(!eh(e[t]))return{[t]:[]};return Jg(e,{sectionName:t,rowIndex:0,columnCount:(0,Le.get)(e,["body",0,"cells","length"],1)})}function eh(e){return!e||!e.length||(0,Le.every)(e,th)}function th(e){return!(e.cells&&e.cells.length)}const nh=[{icon:Fg,title:(0,we.__)("Align column left"),align:"left"},{icon:Dg,title:(0,we.__)("Align column center"),align:"center"},{icon:Gg,title:(0,we.__)("Align column right"),align:"right"}],oh={head:(0,we.__)("Header cell text"),body:(0,we.__)("Body cell text"),foot:(0,we.__)("Footer cell text")},rh={head:(0,we.__)("Header label"),foot:(0,we.__)("Footer label")};function ah(e){let{name:t,...n}=e;const o=`t${t}`;return(0,ye.createElement)(o,n)}var lh=function(e){let{attributes:t,setAttributes:n,insertBlocksAfter:o,isSelected:r}=e;const{hasFixedLayout:a,caption:l,head:i,foot:s}=t,[c,u]=(0,ye.useState)(2),[m,d]=(0,ye.useState)(2),[p,g]=(0,ye.useState)(),h=(0,Ee.__experimentalUseColorProps)(t),v=(0,Ee.__experimentalUseBorderProps)(t);function b(e){p&&n(Qg(t,p,(t=>({...t,content:e}))))}function y(e){if(!p)return;const{sectionName:o,rowIndex:r}=p,a=r+e;n(Jg(t,{sectionName:o,rowIndex:a})),g({sectionName:o,rowIndex:a,columnIndex:0,type:"cell"})}function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!p)return;const{columnIndex:o}=p,r=o+e;n(Yg(t,{columnIndex:r})),g({rowIndex:0,columnIndex:r,type:"cell"})}(0,ye.useEffect)((()=>{r||g()}),[r]);const _=["head","body","foot"].filter((e=>!eh(t[e]))),k=[{icon:Ug,title:(0,we.__)("Insert row before"),isDisabled:!p,onClick:function(){y(0)}},{icon:Og,title:(0,we.__)("Insert row after"),isDisabled:!p,onClick:function(){y(1)}},{icon:qg,title:(0,we.__)("Delete row"),isDisabled:!p,onClick:function(){if(!p)return;const{sectionName:e,rowIndex:o}=p;g(),n(function(e,t){let{sectionName:n,rowIndex:o}=t;return{[n]:e[n].filter(((e,t)=>t!==o))}}(t,{sectionName:e,rowIndex:o}))}},{icon:$g,title:(0,we.__)("Insert column before"),isDisabled:!p,onClick:function(){f(0)}},{icon:Wg,title:(0,we.__)("Insert column after"),isDisabled:!p,onClick:function(){f(1)}},{icon:jg,title:(0,we.__)("Delete column"),isDisabled:!p,onClick:function(){if(!p)return;const{sectionName:e,columnIndex:o}=p;g(),n(function(e,t){let{columnIndex:n}=t;const o=(0,Le.pick)(e,["head","body","foot"]);return(0,Le.mapValues)(o,(e=>eh(e)?e:e.map((e=>({cells:e.cells.length>=n?e.cells.filter(((e,t)=>t!==n)):e.cells}))).filter((e=>e.cells.length))))}(t,{sectionName:e,columnIndex:o}))}}],w=["head","body","foot"].map((e=>(0,ye.createElement)(ah,{name:e,key:e},t[e].map(((t,n)=>{let{cells:o}=t;return(0,ye.createElement)("tr",{key:n},o.map(((t,o)=>{let{content:r,tag:a,scope:l,align:i}=t;return(0,ye.createElement)(Ee.RichText,{tagName:a,key:o,className:nt()({[`has-text-align-${i}`]:i},"wp-block-table__cell-content"),scope:"th"===a?l:void 0,value:r,onChange:b,unstableOnFocus:()=>{g({sectionName:e,rowIndex:n,columnIndex:o,type:"cell"})},"aria-label":oh[e],placeholder:rh[e]})})))}))))),E=!_.length;return(0,ye.createElement)("figure",(0,Ee.useBlockProps)(),!E&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.AlignmentControl,{label:(0,we.__)("Change column alignment"),alignmentControls:nh,value:function(){if(p)return function(e,t,n){const{sectionName:o,rowIndex:r,columnIndex:a}=t;return(0,Le.get)(e,[o,r,"cells",a,n])}(t,p,"align")}(),onChange:e=>function(e){if(!p)return;const o={type:"column",columnIndex:p.columnIndex},r=Qg(t,o,(t=>({...t,align:e})));n(r)}(e)})),(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(ke.ToolbarDropdownMenu,{hasArrowIndicator:!0,icon:Zg,label:(0,we.__)("Edit table"),controls:k}))),!E&&(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Table settings"),className:"blocks-table-settings"},(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Fixed width table cells"),checked:!!a,onChange:function(){n({hasFixedLayout:!a})}}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Header section"),checked:!(!i||!i.length),onChange:function(){n(Xg(t,"head"))}}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Footer section"),checked:!(!s||!s.length),onChange:function(){n(Xg(t,"foot"))}}))),!E&&(0,ye.createElement)("table",{className:nt()(h.className,v.className,{"has-fixed-layout":a}),style:{...h.style,...v.style}},w),!E&&(0,ye.createElement)(Ee.RichText,{tagName:"figcaption","aria-label":(0,we.__)("Table caption text"),placeholder:(0,we.__)("Add caption"),value:l,onChange:e=>n({caption:e}),unstableOnFocus:()=>g(),__unstableOnSplitAtEnd:()=>o((0,be.createBlock)("core/paragraph"))}),E&&(0,ye.createElement)(ke.Placeholder,{label:(0,we.__)("Table"),icon:(0,ye.createElement)(Ee.BlockIcon,{icon:Lg,showColors:!0}),instructions:(0,we.__)("Insert a table for sharing data.")},(0,ye.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(e){e.preventDefault(),n(function(e){let{rowCount:t,columnCount:n}=e;return{body:(0,Le.times)(t,(()=>({cells:(0,Le.times)(n,(()=>({content:"",tag:"td"})))})))}}({rowCount:parseInt(c,10)||2,columnCount:parseInt(m,10)||2}))}},(0,ye.createElement)(ke.TextControl,{type:"number",label:(0,we.__)("Column count"),value:m,onChange:function(e){d(e)},min:"1",className:"blocks-table__placeholder-input"}),(0,ye.createElement)(ke.TextControl,{type:"number",label:(0,we.__)("Row count"),value:c,onChange:function(e){u(e)},min:"1",className:"blocks-table__placeholder-input"}),(0,ye.createElement)(ke.Button,{className:"blocks-table__placeholder-button",variant:"primary",type:"submit"},(0,we.__)("Create Table")))))};const ih=e=>{let{phrasingContentSchema:t}=e;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}};var sh={from:[{type:"raw",selector:"table",schema:e=>({table:{children:{thead:{allowEmpty:!0,children:ih(e)},tfoot:{allowEmpty:!0,children:ih(e)},tbody:{allowEmpty:!0,children:ih(e)}}}})}]};const ch={apiVersion:2,name:"core/table",title:"Table",category:"text",description:"Create structured content in rows and columns to display information.",textdomain:"default",attributes:{hasFixedLayout:{type:"boolean",default:!1},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{__experimentalSkipSerialization:!0,color:!0,style:!0,width:!0},__experimentalSelector:".wp-block-table > table"},styles:[{name:"regular",label:"Default",isDefault:!0},{name:"stripes",label:"Stripes"}],editorStyle:"wp-block-table-editor",style:"wp-block-table"},{name:uh}=ch,mh={icon:Lg,example:{attributes:{head:[{cells:[{content:(0,we.__)("Version"),tag:"th"},{content:(0,we.__)("Jazz Musician"),tag:"th"},{content:(0,we.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:(0,we.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:(0,we.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:(0,we.__)("December 6, 2018"),tag:"td"}]}]}},transforms:sh,edit:lh,save:function(e){let{attributes:t}=e;const{hasFixedLayout:n,head:o,body:r,foot:a,caption:l}=t;if(!o.length&&!r.length&&!a.length)return null;const i=(0,Ee.__experimentalGetColorClassesAndStyles)(t),s=(0,Ee.__experimentalGetBorderClassesAndStyles)(t),c=nt()(i.className,s.className,{"has-fixed-layout":n}),u=!Ee.RichText.isEmpty(l),m=e=>{let{type:t,rows:n}=e;if(!n.length)return null;const o=`t${t}`;return(0,ye.createElement)(o,null,n.map(((e,t)=>{let{cells:n}=e;return(0,ye.createElement)("tr",{key:t},n.map(((e,t)=>{let{content:n,tag:o,scope:r,align:a}=e;const l=nt()({[`has-text-align-${a}`]:a});return(0,ye.createElement)(Ee.RichText.Content,{className:l||void 0,"data-align":a,tagName:o,value:n,key:t,scope:"th"===o?r:void 0})})))})))};return(0,ye.createElement)("figure",Ee.useBlockProps.save(),(0,ye.createElement)("table",{className:""===c?void 0:c,style:{...i.style,...s.style}},(0,ye.createElement)(m,{type:"head",rows:o}),(0,ye.createElement)(m,{type:"body",rows:r}),(0,ye.createElement)(m,{type:"foot",rows:a})),u&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:l}))},deprecated:Ag};var dh=(0,Ie.withSelect)((e=>({taxonomies:e(Dt.store).getTaxonomies({per_page:-1})})))((function(e){let{attributes:t,setAttributes:n,taxonomies:o}=e;const{taxonomy:r,showTagCounts:a,numberOfTags:l}=t,i=(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Tag Cloud settings")},(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Taxonomy"),options:[{label:(0,we.__)("- Select -"),value:"",disabled:!0},...(0,Le.map)((0,Le.filter)(o,"show_cloud"),(e=>({value:e.slug,label:e.name})))],value:r,onChange:e=>n({taxonomy:e})}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Show post counts"),checked:a,onChange:()=>n({showTagCounts:!a})}),(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Number of tags"),value:l,onChange:e=>n({numberOfTags:e}),min:1,max:100,required:!0})));return(0,ye.createElement)(ye.Fragment,null,i,(0,ye.createElement)("div",(0,Ee.useBlockProps)(),(0,ye.createElement)(xe(),{key:"tag-cloud",block:"core/tag-cloud",attributes:t})))}));const ph={apiVersion:2,name:"core/tag-cloud",title:"Tag Cloud",category:"widgets",description:"A cloud of your most used tags.",textdomain:"default",attributes:{numberOfTags:{type:"number",default:45,minimum:1,maximum:100},taxonomy:{type:"string",default:"post_tag"},showTagCounts:{type:"boolean",default:!1}},supports:{html:!1,align:!0},editorStyle:"wp-block-tag-cloud-editor"},{name:gh}=ph,hh={icon:fc,example:{},edit:dh};var vh=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.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-17.6 1L10 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"}));function bh(e){return(0,we.sprintf)((0,we.__)("Area: %s"),e)}function yh(){return(0,ye.createElement)("div",{className:"wp-block-template-part__selection-preview-item is-placeholder",tabIndex:0})}function fh(e){let{templatePart:t,setAttributes:n,onClose:o,composite:r}=e;const{slug:a,theme:l,title:{rendered:i}}=t,s=t.content.raw||"",c=(0,ye.useMemo)((()=>(0,be.parse)(s)),[s]),{createSuccessNotice:u}=(0,Ie.useDispatch)(Ir.store),m=(0,ye.useCallback)((()=>{n({slug:a,theme:l,area:void 0}),u((0,we.sprintf)((0,we.__)('Template Part "%s" inserted.'),i||a),{type:"snackbar"}),o()}),[a,l]);return(0,ye.createElement)(ke.__unstableCompositeItem,gt({as:"div",className:"wp-block-template-part__selection-preview-item",role:"option",onClick:m,onKeyDown:e=>{ht.ENTER!==e.keyCode&&ht.SPACE!==e.keyCode||m()},tabIndex:0,"aria-label":i||a},r),(0,ye.createElement)(Ee.BlockPreview,{blocks:c}),(0,ye.createElement)("div",{className:"wp-block-template-part__selection-preview-item-title"},i||a))}function _h(e){let{title:t,icon:n,children:o}=e;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)("div",{className:"wp-block-template-part__selection-panel-group-header"},(0,ye.createElement)("span",{className:"wp-block-template-part__selection-panel-group-title"},t),(0,ye.createElement)(ke.Icon,{icon:n})),(0,ye.createElement)("div",{className:"wp-block-template-part__selection-panel-group-content"},o))}function kh(e){let{templateParts:t,setAttributes:n,onClose:o,composite:r,area:a="uncategorized",labelsByArea:l}=e;const{templatePartsByArea:i,templatePartsToShow:s}=(0,ye.useMemo)((()=>{const e=t.filter((e=>"uncategorized"===a||e.area===a))||[];return{templatePartsByArea:Object.values((0,Le.groupBy)(e,"area")),templatePartsToShow:(0,Le.flatten)(e)}}),[t,a]),c=(0,ot.useAsyncList)(s);return s.length?i.map((e=>(0,ye.createElement)(_h,{key:e[0].area,title:bh(l[e[0].area]||l.uncategorized)},e.map((e=>c.includes(e)?(0,ye.createElement)(fh,{key:e.id,templatePart:e,setAttributes:n,onClose:o,composite:r}):(0,ye.createElement)(yh,{key:e.id})))))):(0,ye.createElement)(_h,{title:bh(l[a]||l.uncategorized)},(0,we.sprintf)((0,we.__)("There is no other %s available. If you are looking for another type of template part, try searching for it using the input above."),a&&"uncategorized"!==a?l[a]||a:(0,we.__)("Template Part")))}function wh(e){let{templateParts:t,setAttributes:n,filterValue:o,onClose:r,composite:a,labelsByArea:l}=e;const{filteredTPs:i,groupedResults:s}=(0,ye.useMemo)((()=>{const e=(0,Le.deburr)(o).toLowerCase(),n=t.filter((t=>{let{title:{rendered:n},area:o}=t;return(0,Le.deburr)(n).toLowerCase().includes(e)||(0,Le.deburr)(l[o]).toLowerCase().includes(e)}));n.sort(((t,n)=>{const o=(0,Le.deburr)(t.title.rendered).toLowerCase().indexOf(e),r=(0,Le.deburr)(n.title.rendered).toLowerCase().indexOf(e);return-1!==o&&-1!==r?o-r:-1!==o?-1:-1!==r?1:(0,Le.deburr)(l[t.area]).toLowerCase().indexOf(e)-(0,Le.deburr)(l[n.area]).toLowerCase().indexOf(e)}));const r=[];for(let e=0;e<n.length;e++)0!==e&&n[e].area===n[e-1].area?r[r.length-1].push(n[e]):r.push([n[e]]);return{filteredTPs:n,groupedResults:r}}),[o,t]),c=(0,ot.useAsyncList)(i);return s.map((e=>(0,ye.createElement)(_h,{key:e[0].id,title:bh(l[e[0].area]||l.uncategorized)},e.map((e=>c.includes(e)?(0,ye.createElement)(fh,{key:e.id,templatePart:e,setAttributes:n,onClose:r,composite:a}):(0,ye.createElement)(yh,{key:e.id}))))))}function Eh(e){let{setAttributes:t,filterValue:n,onClose:o,area:r,templatePartId:a}=e;const l=(0,ke.__unstableUseCompositeState)(),{templateParts:i,labelsByArea:s}=(0,Ie.useSelect)((e=>{const t=(e(Dt.store).getEntityRecords("postType","wp_template_part",{per_page:-1})||[]).filter((e=>zs(e.theme,e.slug)!==a)),n=e("core/editor").__experimentalGetDefaultTemplatePartAreas(),o={};return n.forEach((e=>{o[e.area]=e.label})),{templateParts:t,labelsByArea:o}}),[]);return i&&i.length?n?(0,ye.createElement)(ke.__unstableComposite,gt({},l,{role:"listbox","aria-label":(0,we.__)("List of template parts")}),(0,ye.createElement)(wh,{templateParts:i,setAttributes:t,filterValue:n,onClose:o,composite:l,labelsByArea:s})):(0,ye.createElement)(ke.__unstableComposite,gt({},l,{role:"listbox","aria-label":(0,we.__)("List of template parts")}),(0,ye.createElement)(kh,{templateParts:i,setAttributes:t,onClose:o,composite:l,area:r,labelsByArea:s})):(0,ye.createElement)(_h,null,(0,we.__)("There are no existing template parts to select."))}function Ch(e){let{setAttributes:t,onClose:n,area:o,templatePartId:r=null}=e;const[a,l]=(0,ye.useState)("");return(0,ye.createElement)("div",null,(0,ye.createElement)(ke.SearchControl,{value:a,onChange:l,className:"wp-block-template-part__selection-preview-search-form"}),(0,ye.createElement)("div",{className:"wp-block-template-part__selection-preview-container"},(0,ye.createElement)(Eh,{setAttributes:t,filterValue:a,onClose:n,area:o,templatePartId:r})))}function xh(e){let{area:t,areaLabel:n,areaIcon:o,clientId:r,onCreate:a,resetPlaceholder:l}=e;const i=t?`core/template-part/${t}`:"core/template-part",[s,c]=(0,ye.useState)((0,we.__)("Untitled Template Part")),[u,m]=(0,ye.useState)([]),[d,p]=(0,ye.useState)(!1);return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.__experimentalBlockPatternSetup,{clientId:r,startBlankComponent:(0,ye.createElement)(Sh,{setTitleStep:p,areaLabel:n,areaIcon:o}),onBlockPatternSelect:e=>{m(e),p(!0)},filterPatternsFn: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=>e===i))}}),d&&(0,ye.createElement)(ke.Modal,{title:(0,we.sprintf)((0,we.__)("Name and create your new %s"),n.toLowerCase()),closeLabel:(0,we.__)("Cancel"),onRequestClose:l,overlayClassName:"wp-block-template-part__placeholder-create-new__title-form"},(0,ye.createElement)("form",{onSubmit:e=>{e.preventDefault(),a(u,s)}},(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Name"),value:s,onChange:c}),(0,ye.createElement)(ke.Flex,{className:"wp-block-template-part__placeholder-create-new__title-form-actions",justify:"flex-end"},(0,ye.createElement)(ke.FlexItem,null,(0,ye.createElement)(ke.Button,{variant:"secondary",onClick:l},(0,we.__)("Cancel"))),(0,ye.createElement)(ke.FlexItem,null,(0,ye.createElement)(ke.Button,{variant:"primary",type:"submit",disabled:!s.length,"aria-disabled":!s.length},(0,we.__)("Create")))))))}function Sh(e){let{setTitleStep:t,areaLabel:n,areaIcon:o}=e;return(0,ye.useEffect)((()=>{t(!0)}),[]),(0,ye.createElement)(ke.Placeholder,{label:n,icon:o,instructions:(0,we.sprintf)((0,we.__)("Creating your new %s…"),n.toLowerCase())})}const Bh=1,Th=2;function Nh(e){let{area:t,clientId:n,setAttributes:o,enableSelection:r,hasResolvedReplacements:a}=e;const{saveEntityRecord:l}=(0,Ie.useDispatch)(Dt.store),[i,s]=(0,ye.useState)(Bh),{areaIcon:c,areaLabel:u}=(0,Ie.useSelect)((e=>{const n=e("core/editor").__experimentalGetDefaultTemplatePartAreas(),o=(0,Le.find)(n,{area:t}),r=(0,Le.find)(n,{area:"uncategorized"});return{areaIcon:(null==o?void 0:o.icon)||(null==r?void 0:r.icon),areaLabel:(null==o?void 0:o.label)||(0,we.__)("Template Part")}}),[t]),m=(0,ye.useCallback)((async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,we.__)("Untitled Template Part");const r={title:n,slug:(0,Le.kebabCase)(n),content:(0,be.serialize)(e),area:t},a=await l("postType","wp_template_part",r);o({slug:a.slug,theme:a.theme,area:void 0})}),[o,t]);return(0,ye.createElement)(ye.Fragment,null,i===Bh&&(0,ye.createElement)(ke.Placeholder,{icon:c,label:u,instructions:r?(0,we.sprintf)((0,we.__)("Choose an existing %s or create a new one."),u.toLowerCase()):(0,we.sprintf)((0,we.__)("Create a new %s."),u.toLowerCase())},a?(0,ye.createElement)(ke.Dropdown,{contentClassName:"wp-block-template-part__placeholder-preview-dropdown-content",position:"bottom right left",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,ye.createElement)(ye.Fragment,null,r&&(0,ye.createElement)(ke.Button,{variant:"primary",onClick:n,"aria-expanded":t},(0,we.__)("Choose existing")),(0,ye.createElement)(ke.Button,{variant:r?"tertiary":"primary",onClick:()=>s(Th)},(0,we.sprintf)((0,we.__)("New %s"),u.toLowerCase())))},renderContent:e=>{let{onClose:n}=e;return(0,ye.createElement)(Ch,{setAttributes:o,onClose:n,area:t})}}):(0,ye.createElement)(ke.Spinner,null)),i===Th&&(0,ye.createElement)(xh,{area:t,areaLabel:u,areaIcon:c,onCreate:m,clientId:n,resetPlaceholder:()=>s(Bh)}))}function zh(e){let{tagName:t,setAttributes:n,isEntityAvailable:o,templatePartId:r,defaultWrapper:a}=e;const[l,i]=(0,Dt.useEntityProp)("postType","wp_template_part","area",r),[s,c]=(0,Dt.useEntityProp)("postType","wp_template_part","title",r),{areaOptions:u}=(0,Ie.useSelect)((e=>({areaOptions:e("core/editor").__experimentalGetDefaultTemplatePartAreas().map((e=>{let{label:t,area:n}=e;return{label:t,value:n}}))})),[]);return(0,ye.createElement)(Ee.InspectorControls,{__experimentalGroup:"advanced"},o&&(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.TextControl,{label:(0,we.__)("Title"),value:s,onChange:e=>{c(e)},onFocus:e=>e.target.select()}),(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Area"),labelPosition:"top",options:u,value:l,onChange:i})),(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("HTML element"),options:[{label:(0,we.sprintf)((0,we.__)("Default based on area (%s)"),`<${a}>`),value:""},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"},{label:"<div>",value:"div"}],value:t||"",onChange:e=>n({tagName:e})}))}function Ph(e){let{postId:t,hasInnerBlocks:n,layout:o,tagName:r,blockProps:a,clientId:l}=e;const i=(0,Ie.useSelect)((e=>{var t;const{getSettings:n}=e(Ee.store);return null===(t=n())||void 0===t?void 0:t.supportsLayout}),[]),s=(0,Ee.useSetting)("layout")||{},c=o&&o.inherit?s:o,[u,m,d]=(0,Dt.useEntityBlockEditor)("postType","wp_template_part",{id:t}),p=(0,Ee.useInnerBlocksProps)(a,{value:u,onInput:m,onChange:d,renderAppender:n?void 0:Ee.InnerBlocks.ButtonBlockAppender,__experimentalLayout:i?c:void 0});return(0,ye.createElement)(Ee.__experimentalBlockContentOverlay,{clientId:l,tagName:r,wrapperProps:p})}var Ih=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));var Mh=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));var Rh=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));const Lh=[{name:"header",icon:Ih,title:(0,we.__)("Header"),description:(0,we.__)("The Header template defines a page area that typically contains a title, logo, and main navigation."),attributes:{area:"header"},scope:["inserter"]},{name:"footer",icon:Mh,title:(0,we.__)("Footer"),description:(0,we.__)("The Footer template defines a page area that typically contains site credits, social links, or any other combination of blocks."),attributes:{area:"footer"},scope:["inserter"]}];Lh.forEach((e=>{e.isActive||(e.isActive=(e,t)=>{const{area:n,theme:o,slug:r}=e;if(n)return n===t.area;if(!r)return!1;const a=(0,Ie.select)(Dt.store).getEntityRecord("postType","wp_template_part",`${o}//${r}`);return(null==a?void 0:a.area)===t.area})}));var Vh=Lh;const Hh={apiVersion:2,name:"core/template-part",title:"Template Part",category:"theme",description:"Edit the different global regions of your site, like the header, footer, sidebar, or create your own.",textdomain:"default",attributes:{slug:{type:"string"},theme:{type:"string"},tagName:{type:"string"},area:{type:"string"}},supports:{align:!0,html:!1,reusable:!1},editorStyle:"wp-block-template-part-editor"},{name:Ah}=Hh,Fh={icon:vh,__experimentalLabel:e=>{var t;let{slug:n,theme:o}=e;if(!n)return;const r=(0,Ie.select)(Dt.store).getEntityRecord("postType","wp_template_part",o+"//"+n);return r?(0,Le.startCase)((null===(t=r.title)||void 0===t?void 0:t.rendered)||r.slug):void 0},edit:function(e){let{attributes:t,setAttributes:n,clientId:o}=e;const{slug:r,theme:a,tagName:l,layout:i={}}=t,s=zs(a,r),[c,u]=(0,Ee.__experimentalUseNoRecursiveRenders)(s),{isResolved:m,innerBlocks:d,isMissing:p,defaultWrapper:g,area:h,enableSelection:v,hasResolvedReplacements:b}=(0,Ie.useSelect)((e=>{var n;const{getEditedEntityRecord:r,getEntityRecords:a,hasFinishedResolution:l}=e(Dt.store),{getBlocks:i}=e(Ee.store),c=["postType","wp_template_part",s],u=s?r(...c):null,m=(null==u?void 0:u.area)||t.area,d=["postType","wp_template_part",m&&"uncategorized"!==m&&{area:m}],p=a(...d),g=s?(null==p?void 0:p.length)>1:(null==p?void 0:p.length)>0,h=!!s&&l("getEditedEntityRecord",c),v=null===(n=e("core/editor").__experimentalGetDefaultTemplatePartAreas().find((e=>{let{area:t}=e;return t===m})))||void 0===n?void 0:n.area_tag;return{innerBlocks:i(o),isResolved:h,isMissing:h&&(0,Le.isEmpty)(u),defaultWrapper:v||"div",area:m,enableSelection:g,hasResolvedReplacements:l("getEntityRecords",d)}}),[s,o]),y=(0,Ee.useBlockProps)(),f=!r,_=!f&&!p&&m,k=l||g;return 0===d.length&&(r&&!a||r&&p)?(0,ye.createElement)(k,y,(0,ye.createElement)(Ee.Warning,null,(0,we.sprintf)((0,we.__)("Template part has been deleted or is unavailable: %s"),r))):_&&c?(0,ye.createElement)(k,y,(0,ye.createElement)(Ee.Warning,null,(0,we.__)("Block cannot be rendered inside itself."))):(0,ye.createElement)(u,null,(0,ye.createElement)(zh,{tagName:l,setAttributes:n,isEntityAvailable:_,templatePartId:s,defaultWrapper:g}),f&&(0,ye.createElement)(k,y,(0,ye.createElement)(Nh,{area:t.area,clientId:o,setAttributes:n,enableSelection:v,hasResolvedReplacements:b})),_&&v&&(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(ke.ToolbarGroup,{className:"wp-block-template-part__block-control-group"},(0,ye.createElement)(ke.Dropdown,{className:"wp-block-template-part__preview-dropdown-button",contentClassName:"wp-block-template-part__preview-dropdown-content",position:"bottom right left",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,ye.createElement)(ke.ToolbarButton,{"aria-expanded":t,onClick:n},(0,we.__)("Replace"))},renderContent:e=>{let{onClose:t}=e;return(0,ye.createElement)(Ch,{setAttributes:n,onClose:t,area:h,templatePartId:s})}}))),_&&(0,ye.createElement)(Ph,{clientId:o,tagName:k,blockProps:y,postId:s,hasInnerBlocks:d.length>0,layout:i}),!f&&!m&&(0,ye.createElement)(k,y,(0,ye.createElement)(ke.Spinner,null)))}};(0,ja.addFilter)("blocks.registerBlockType","core/template-part",(function(e,t){if("core/template-part"!==t)return e;if(!e.variations||!e.variations.length)return{...e,variations:Vh};if(e.variations){const t=(e,t)=>{const{area:n,theme:o,slug:r}=e;if(n)return n===t.area;if(!r)return!1;const a=(0,Ie.select)(Dt.store).getEntityRecord("postType","wp_template_part",`${o}//${r}`);return(null==a?void 0:a.area)===t.area},n=e.variations.map((e=>{return{...e,...!e.isActive&&{isActive:t},..."string"==typeof e.icon&&{icon:(n=e.icon,"header"===n?Ih:"footer"===n?Mh:"sidebar"===n?Rh:vh)}};var n}));return{...e,variations:n}}return e}));const Dh=["core/post-template","core/post-content"];(0,ja.addFilter)("blockEditor.__unstableCanInsertBlockType","removeTemplatePartsFromPostTemplates",((e,t,n,o)=>{let{getBlock:r,getBlockParentsByBlockName:a}=o;if("core/template-part"!==t.name)return e;for(const e of Dh){var l;if((null===(l=r(n))||void 0===l?void 0:l.name)===e||a(n,e).length)return!1}return!0}));var Gh=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.Path,{stroke:"#1E1E1E",strokeWidth:"1.5",d:"M9 19.25h6M4 19.25h4M12 15.25h8M4 15.25h7"}),(0,ye.createElement)(fe.Path,{d:"M8.994 10.103H6.08L5.417 12H4l2.846-8h1.383l2.845 8H9.657l-.663-1.897zm-.457-1.28l-.994-2.857-1.006 2.857h2z",fill:"#1E1E1E"}));const Uh={apiVersion:2,name:"core/term-description",title:"Term Description",category:"theme",description:"Display the description of categories, tags and custom taxonomies when viewing an archive.",textdomain:"default",attributes:{textAlign:{type:"string"}},supports:{align:["wide","full"],html:!1,color:{link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalDefaultControls:{fontSize:!0}}},editorStyle:"wp-block-term-description-editor"},{name:Oh}=Uh,qh={icon:Gh,edit:function(e){let{attributes:t,setAttributes:n,mergedStyle:o}=e;const{textAlign:r}=t,a=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${r}`]:r}),style:o});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(Ee.AlignmentControl,{value:r,onChange:e=>{n({textAlign:e})}})),(0,ye.createElement)("div",a,(0,ye.createElement)("div",{className:"wp-block-term-description__placeholder"},(0,ye.createElement)("span",null,(0,we.__)("Term Description")))))}};var $h=window.wp.deprecated,Wh=n.n($h);const jh={to:[{type:"block",blocks:["core/columns"],transform:e=>{let{className:t,columns:n,content:o,width:r}=e;return(0,be.createBlock)("core/columns",{align:"wide"===r||"full"===r?r:void 0,className:t,columns:n},o.map((e=>{let{children:t}=e;return(0,be.createBlock)("core/column",{},[(0,be.createBlock)("core/paragraph",{content:t})])})))}}]};var Zh=jh;const Kh={apiVersion:2,name:"core/text-columns",title:"Text Columns (deprecated)",icon:"columns",category:"design",description:"This block is deprecated. Please use the Columns block instead.",textdomain:"default",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},supports:{inserter:!1},editorStyle:"wp-block-text-columns-editor",style:"wp-block-text-columns"},{name:Qh}=Kh,Jh={transforms:Zh,getEditWrapperProps(e){const{width:t}=e;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){let{attributes:t,setAttributes:n}=e;const{width:o,content:r,columns:a}=t;return Wh()("The Text Columns block",{since:"5.3",alternative:"the Columns block"}),(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(Ee.BlockAlignmentToolbar,{value:o,onChange:e=>n({width:e}),controls:["center","wide","full"]})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,null,(0,ye.createElement)(ke.RangeControl,{label:(0,we.__)("Columns"),value:a,onChange:e=>n({columns:e}),min:2,max:4,required:!0}))),(0,ye.createElement)("div",(0,Ee.useBlockProps)({className:`align${o} columns-${a}`}),(0,Le.times)(a,(e=>(0,ye.createElement)("div",{className:"wp-block-column",key:`column-${e}`},(0,ye.createElement)(Ee.RichText,{tagName:"p",value:(0,Le.get)(r,[e,"children"]),onChange:t=>{n({content:[...r.slice(0,e),{children:t},...r.slice(e+1)]})},"aria-label":(0,we.sprintf)((0,we.__)("Column %d text"),e+1),placeholder:(0,we.__)("New Column")}))))))},save:function(e){let{attributes:t}=e;const{width:n,content:o,columns:r}=t;return(0,ye.createElement)("div",Ee.useBlockProps.save({className:`align${n} columns-${r}`}),(0,Le.times)(r,(e=>(0,ye.createElement)("div",{className:"wp-block-column",key:`column-${e}`},(0,ye.createElement)(Ee.RichText.Content,{tagName:"p",value:(0,Le.get)(o,[e,"children"])})))))}};var Yh=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"}));const Xh={attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save(e){let{attributes:t}=e;const{textAlign:n,content:o}=t;return(0,ye.createElement)(Ee.RichText.Content,{tagName:"pre",style:{textAlign:n},value:o})}},ev={attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0,__experimentalRole:"content"},textAlign:{type:"string"}},supports:{anchor:!0,color:{gradients:!0,link:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},spacing:{padding:!0}},save(e){let{attributes:t}=e;const{textAlign:n,content:o}=t,r=nt()({[`has-text-align-${n}`]:n});return(0,ye.createElement)("pre",Ee.useBlockProps.save({className:r}),(0,ye.createElement)(Ee.RichText.Content,{value:o}))},migrate:lt,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}};var tv=[ev,Xh];const nv={from:[{type:"block",blocks:["core/paragraph"],transform:e=>(0,be.createBlock)("core/verse",e)}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>(0,be.createBlock)("core/paragraph",e)}]};var ov=nv;const rv={apiVersion:2,name:"core/verse",title:"Verse",category:"text",description:"Insert poetry. Use special spacing formats. Or quote song lyrics.",keywords:["poetry","poem"],textdomain:"default",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0,__experimentalRole:"content"},textAlign:{type:"string"}},supports:{anchor:!0,color:{gradients:!0,link:!0},typography:{fontSize:!0,__experimentalFontFamily:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}},spacing:{padding:!0}},style:"wp-block-verse",editorStyle:"wp-block-verse-editor"},{name:av}=rv,lv={icon:Yh,example:{attributes:{content:(0,we.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n    With the dragon-fly on the river.")}},transforms:ov,deprecated:tv,merge:(e,t)=>({content:e.content+t.content}),edit:function(e){let{attributes:t,setAttributes:n,mergeBlocks:o,onRemove:r,style:a}=e;const{textAlign:l,content:i}=t,s=(0,Ee.useBlockProps)({className:nt()({[`has-text-align-${l}`]:l}),style:a});return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,null,(0,ye.createElement)(Ee.AlignmentToolbar,{value:l,onChange:e=>{n({textAlign:e})}})),(0,ye.createElement)(Ee.RichText,gt({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:i,onChange:e=>{n({content:e})},"aria-label":(0,we.__)("Verse text"),placeholder:(0,we.__)("Write verse…"),onRemove:r,onMerge:o,textAlign:l},s,{__unstablePastePlainText:!0})))},save:function(e){let{attributes:t}=e;const{textAlign:n,content:o}=t,r=nt()({[`has-text-align-${n}`]:n});return(0,ye.createElement)("pre",Ee.useBlockProps.save({className:r}),(0,ye.createElement)(Ee.RichText.Content,{value:o}))}};var iv=(0,ye.createElement)(fe.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ye.createElement)(fe.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"}));const sv=[{value:"auto",label:(0,we.__)("Auto")},{value:"metadata",label:(0,we.__)("Metadata")},{value:"none",label:(0,we._x)("None","Preload value")}];var cv=e=>{let{setAttributes:t,attributes:n}=e;const{autoplay:o,controls:r,loop:a,muted:l,playsInline:i,preload:s}=n,c=(0,we.__)("Autoplay may cause usability issues for some users."),u=ye.Platform.select({web:(0,ye.useCallback)((e=>e?c:null),[]),native:c}),m=(0,ye.useMemo)((()=>{const e=e=>n=>{t({[e]:n})};return{autoplay:e("autoplay"),loop:e("loop"),muted:e("muted"),controls:e("controls"),playsInline:e("playsInline")}}),[]),d=(0,ye.useCallback)((e=>{t({preload:e})}),[]);return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Autoplay"),onChange:m.autoplay,checked:o,help:u}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Loop"),onChange:m.loop,checked:a}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Muted"),onChange:m.muted,checked:l}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Playback controls"),onChange:m.controls,checked:r}),(0,ye.createElement)(ke.ToggleControl,{label:(0,we.__)("Play inline"),onChange:m.playsInline,checked:i}),(0,ye.createElement)(ke.SelectControl,{label:(0,we.__)("Preload"),value:s,onChange:d,options:sv,hideCancelButton:!0}))};var uv=(0,ye.createElement)(fe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ye.createElement)(fe.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"}));const mv=["text/vtt"],dv="subtitles",pv=[{label:(0,we.__)("Subtitles"),value:"subtitles"},{label:(0,we.__)("Captions"),value:"captions"},{label:(0,we.__)("Descriptions"),value:"descriptions"},{label:(0,we.__)("Chapters"),value:"chapters"},{label:(0,we.__)("Metadata"),value:"metadata"}],gv=(0,ye.createElement)(ke.SVG,{width:"18",height:"14",viewBox:"0 0 18 14",role:"img",fill:"none"},(0,ye.createElement)(ke.Rect,{x:"0.75",y:"0.75",width:"16.5",height:"12.5",rx:"1.25",stroke:"black",strokeWidth:"1.5",fill:"none"}),(0,ye.createElement)(ke.Path,{d:"M3 7H15",stroke:"black",strokeWidth:"1.5"}),(0,ye.createElement)(ke.Path,{d:"M3 10L15 10",stroke:"black",strokeWidth:"1.5"}));function hv(e){let t,{tracks:n,onEditPress:o}=e;return t=0===n.length?(0,ye.createElement)("p",{className:"block-library-video-tracks-editor__tracks-informative-message"},(0,we.__)("Tracks can be subtitles, captions, chapters, or descriptions. They help make your content more accessible to a wider range of users.")):n.map(((e,t)=>(0,ye.createElement)("div",{key:t,className:"block-library-video-tracks-editor__track-list-track"},(0,ye.createElement)("span",null,e.label," "),(0,ye.createElement)(ke.Button,{variant:"tertiary",onClick:()=>o(t),"aria-label":(0,we.sprintf)((0,we.__)("Edit %s"),e.label)},(0,we.__)("Edit"))))),(0,ye.createElement)(ke.MenuGroup,{label:(0,we.__)("Text tracks"),className:"block-library-video-tracks-editor__track-list"},t)}function vv(e){let{track:t,onChange:n,onClose:o,onRemove:r}=e;const{src:a="",label:l="",srcLang:i="",kind:s=dv}=t,c=a.startsWith("blob:")?"":(0,Dr.getFilename)(a)||"";return(0,ye.createElement)(ke.NavigableMenu,null,(0,ye.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor"},(0,ye.createElement)("span",{className:"block-library-video-tracks-editor__single-track-editor-edit-track-label"},(0,we.__)("Edit track")),(0,ye.createElement)("span",null,(0,we.__)("File"),": ",(0,ye.createElement)("b",null,c)),(0,ye.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-label-language"},(0,ye.createElement)(ke.TextControl,{autoFocus:!0,onChange:e=>n({...t,label:e}),label:(0,we.__)("Label"),value:l,help:(0,we.__)("Title of track")}),(0,ye.createElement)(ke.TextControl,{onChange:e=>n({...t,srcLang:e}),label:(0,we.__)("Source language"),value:i,help:(0,we.__)("Language tag (en, fr, etc.)")})),(0,ye.createElement)(ke.SelectControl,{className:"block-library-video-tracks-editor__single-track-editor-kind-select",options:pv,value:s,label:(0,we.__)("Kind"),onChange:e=>{n({...t,kind:e})}}),(0,ye.createElement)("div",{className:"block-library-video-tracks-editor__single-track-editor-buttons-container"},(0,ye.createElement)(ke.Button,{variant:"secondary",onClick:()=>{const e={};let r=!1;""===l&&(e.label=(0,we.__)("English"),r=!0),""===i&&(e.srcLang="en",r=!0),void 0===t.kind&&(e.kind=dv,r=!0),r&&n({...t,...e}),o()}},(0,we.__)("Close")),(0,ye.createElement)(ke.Button,{isDestructive:!0,variant:"link",onClick:r},(0,we.__)("Remove track")))))}function bv(e){let{tracks:t=[],onChange:n}=e;const o=(0,Ie.useSelect)((e=>e(Ee.store).getSettings().mediaUpload),[]),[r,a]=(0,ye.useState)(null);return o?(0,ye.createElement)(ke.Dropdown,{contentClassName:"block-library-video-tracks-editor",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,ye.createElement)(ke.ToolbarButton,{label:(0,we.__)("Text tracks"),showTooltip:!0,"aria-expanded":t,"aria-haspopup":"true",onClick:n,icon:gv})},renderContent:e=>{let{}=e;return null!==r?(0,ye.createElement)(vv,{track:t[r],onChange:e=>{const o=[...t];o[r]=e,n(o)},onClose:()=>a(null),onRemove:()=>{n(t.filter(((e,t)=>t!==r))),a(null)}}):(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(ke.NavigableMenu,null,(0,ye.createElement)(hv,{tracks:t,onEditPress:a}),(0,ye.createElement)(ke.MenuGroup,{className:"block-library-video-tracks-editor__add-tracks-container",label:(0,we.__)("Add tracks")},(0,ye.createElement)(Ee.MediaUpload,{onSelect:e=>{let{url:o}=e;const r=t.length;n([...t,{src:o}]),a(r)},allowedTypes:mv,render:e=>{let{open:t}=e;return(0,ye.createElement)(ke.MenuItem,{icon:uv,onClick:t},(0,we.__)("Open Media Library"))}}),(0,ye.createElement)(Ee.MediaUploadCheck,null,(0,ye.createElement)(ke.FormFileUpload,{onChange:e=>{const r=e.target.files,l=t.length;o({allowedTypes:mv,filesList:r,onFileChange:e=>{let[{url:o}]=e;const r=[...t];r[l]||(r[l]={}),r[l]={...t[l],src:o},n(r),a(l)}})},accept:".vtt,text/vtt",render:e=>{let{openFileDialog:t}=e;return(0,ye.createElement)(ke.MenuItem,{icon:Ol,onClick:()=>{t()}},(0,we.__)("Upload"))}})))))}}):null}function yv(e){let{tracks:t=[]}=e;return t.map((e=>(0,ye.createElement)("track",gt({key:e.src},e))))}const fv=["video"],_v=["image"];var kv=(0,ke.withNotices)((function e(t){let{isSelected:n,noticeUI:o,attributes:r,className:a,setAttributes:l,insertBlocksAfter:i,onReplace:s,noticeOperations:c}=t;const u=(0,ot.useInstanceId)(e),m=(0,ye.useRef)(),d=(0,ye.useRef)(),{id:p,caption:g,controls:h,poster:v,src:b,tracks:y}=r,f=!p&&(0,Pe.isBlobURL)(b),_=(0,Ie.useSelect)((e=>e(Ee.store).getSettings().mediaUpload));function k(e){var t,n;e&&e.url?l({src:e.url,id:e.id,poster:(null===(t=e.image)||void 0===t?void 0:t.src)!==e.icon?null===(n=e.image)||void 0===n?void 0:n.src:void 0}):l({src:void 0,id:void 0,poster:void 0})}function w(e){if(e!==b){const t=Oe({attributes:{url:e}});if(void 0!==t)return void s(t);l({src:e,id:void 0,poster:void 0})}}function E(e){c.removeAllNotices(),c.createErrorNotice(e)}(0,ye.useEffect)((()=>{if(!p&&(0,Pe.isBlobURL)(b)){const e=(0,Pe.getBlobByURL)(b);e&&_({filesList:[e],onFileChange:e=>{let[{url:t}]=e;l({src:t})},onError:e=>{c.createErrorNotice(e)},allowedTypes:fv})}}),[]),(0,ye.useEffect)((()=>{m.current&&m.current.load()}),[v]);const C=nt()(a,{"is-transient":f}),x=(0,Ee.useBlockProps)({className:C});if(!b)return(0,ye.createElement)("div",x,(0,ye.createElement)(Ee.MediaPlaceholder,{icon:(0,ye.createElement)(Ee.BlockIcon,{icon:iv}),onSelect:k,onSelectURL:w,accept:"video/*",allowedTypes:fv,value:r,notices:o,onError:E}));const S=`video-block__poster-image-description-${u}`;return(0,ye.createElement)(ye.Fragment,null,(0,ye.createElement)(Ee.BlockControls,{group:"block"},(0,ye.createElement)(bv,{tracks:y,onChange:e=>{l({tracks:e})}})),(0,ye.createElement)(Ee.BlockControls,{group:"other"},(0,ye.createElement)(Ee.MediaReplaceFlow,{mediaId:p,mediaURL:b,allowedTypes:fv,accept:"video/*",onSelect:k,onSelectURL:w,onError:E})),(0,ye.createElement)(Ee.InspectorControls,null,(0,ye.createElement)(ke.PanelBody,{title:(0,we.__)("Video settings")},(0,ye.createElement)(cv,{setAttributes:l,attributes:r}),(0,ye.createElement)(Ee.MediaUploadCheck,null,(0,ye.createElement)(ke.BaseControl,{className:"editor-video-poster-control"},(0,ye.createElement)(ke.BaseControl.VisualLabel,null,(0,we.__)("Poster image")),(0,ye.createElement)(Ee.MediaUpload,{title:(0,we.__)("Select poster image"),onSelect:function(e){l({poster:e.url})},allowedTypes:_v,render:e=>{let{open:t}=e;return(0,ye.createElement)(ke.Button,{variant:"primary",onClick:t,ref:d,"aria-describedby":S},v?(0,we.__)("Replace"):(0,we.__)("Select"))}}),(0,ye.createElement)("p",{id:S,hidden:!0},v?(0,we.sprintf)((0,we.__)("The current poster image url is %s"),v):(0,we.__)("There is no poster image currently selected")),!!v&&(0,ye.createElement)(ke.Button,{onClick:function(){l({poster:void 0}),d.current.focus()},variant:"tertiary"},(0,we.__)("Remove")))))),(0,ye.createElement)("figure",x,(0,ye.createElement)(ke.Disabled,{isDisabled:!n},(0,ye.createElement)("video",{controls:h,poster:v,src:b,ref:m},(0,ye.createElement)(yv,{tracks:y}))),f&&(0,ye.createElement)(ke.Spinner,null),(!Ee.RichText.isEmpty(g)||n)&&(0,ye.createElement)(Ee.RichText,{tagName:"figcaption","aria-label":(0,we.__)("Video caption text"),placeholder:(0,we.__)("Add caption"),value:g,onChange:e=>l({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>i((0,be.createBlock)("core/paragraph"))})))}));const wv={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("video/"),transform(e){const t=e[0];return(0,be.createBlock)("core/video",{src:(0,Pe.createBlobURL)(t)})}},{type:"shortcode",tag:"video",attributes:{src:{type:"string",shortcode:e=>{let{named:{src:t,mp4:n,m4v:o,webm:r,ogv:a,flv:l}}=e;return t||n||o||r||a||l}},poster:{type:"string",shortcode:e=>{let{named:{poster:t}}=e;return t}},loop:{type:"string",shortcode:e=>{let{named:{loop:t}}=e;return t}},autoplay:{type:"string",shortcode:e=>{let{named:{autoplay:t}}=e;return t}},preload:{type:"string",shortcode:e=>{let{named:{preload:t}}=e;return t}}}}]};var Ev=wv;const Cv={apiVersion:2,name:"core/video",title:"Video",category:"media",description:"Embed a video from your media library or upload a new one.",keywords:["movie"],textdomain:"default",attributes:{autoplay:{type:"boolean",source:"attribute",selector:"video",attribute:"autoplay"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",source:"attribute",selector:"video",attribute:"controls",default:!0},id:{type:"number"},loop:{type:"boolean",source:"attribute",selector:"video",attribute:"loop"},muted:{type:"boolean",source:"attribute",selector:"video",attribute:"muted"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},preload:{type:"string",source:"attribute",selector:"video",attribute:"preload",default:"metadata"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},playsInline:{type:"boolean",source:"attribute",selector:"video",attribute:"playsinline"},tracks:{type:"array",items:{type:"object"},default:[]}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-video-editor",style:"wp-block-video"},{name:xv}=Cv,Sv={icon:iv,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm",caption:(0,we.__)("Wood thrush singing in Central Park, NYC.")}},transforms:Ev,edit:kv,save:function(e){let{attributes:t}=e;const{autoplay:n,caption:o,controls:r,loop:a,muted:l,poster:i,preload:s,src:c,playsInline:u,tracks:m}=t;return(0,ye.createElement)("figure",Ee.useBlockProps.save(),c&&(0,ye.createElement)("video",{autoPlay:n,controls:r,loop:a,muted:l,poster:i,preload:"metadata"!==s?s:void 0,src:c,playsInline:u},(0,ye.createElement)(yv,{tracks:m})),!Ee.RichText.isEmpty(o)&&(0,ye.createElement)(Ee.RichText.Content,{tagName:"figcaption",value:o}))}},Bv=e=>{if(!e)return;const{metadata:t,settings:n,name:o}=e;(0,be.registerBlockType)({name:o,...t},n)},Tv=()=>[M,f,b,h,w,Y,e,t,r,a,l,i,window.wp&&window.wp.oldEditor?s:null,c,u,m,d,p,g,v,y,_,k,C,x,S,z,I,P,q,$,X,ee,te,ne,oe,ie,se,ce,ue,me,ge,he,ve,B,T,N,re,le,ae,W,de,O,A,F,V,R,H,U,D,G,j,Z,K,Q,L,E,pe,J],Nv=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tv();e.forEach(Bv),(0,be.setDefaultBlockName)(fu),window.wp&&window.wp.oldEditor&&(0,be.setFreeformContentHandlerName)(en),(0,be.setUnregisteredTypeHandlerName)(us),(0,be.setGroupingBlockName)(cl)},zv=void 0}(),(window.wp=window.wp||{}).blockLibrary=o}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/block-serialization-default-parser.js b/wp-includes/js/dist/block-serialization-default-parser.js
index 324c95f176..e0cfbab3f6 100644
--- a/wp-includes/js/dist/block-serialization-default-parser.js
+++ b/wp-includes/js/dist/block-serialization-default-parser.js
@@ -1,98 +1,43 @@
-this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "SiJt");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "SiJt":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 __webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */   "parse": function() { return /* binding */ parse; }
+/* harmony export */ });
 let document;
 let offset;
 let output;
@@ -457,7 +402,6 @@ function addBlockFromStack(endOffset) {
   output.push(block);
 }

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).blockSerializationDefaultParser = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/block-serialization-default-parser.min.js b/wp-includes/js/dist/block-serialization-default-parser.min.js
index 4b5e0e2557..fd9b3fd8db 100644
--- a/wp-includes/js/dist/block-serialization-default-parser.min.js
+++ b/wp-includes/js/dist/block-serialization-default-parser.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)e.d(r,o,function(t){return n[t]}.bind(null,o));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s="SiJt")}({SiJt:function(n,t,e){"use strict";let r,o,u,s;e.r(t),e.d(t,"parse",(function(){return f}));const l=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function c(n,t,e,r,o){return{blockName:n,attrs:t,innerBlocks:e,innerHTML:r,innerContent:o}}function i(n){return c(null,{},[],n,[n])}const f=n=>{r=n,o=0,u=[],s=[],l.lastIndex=0;do{}while(p());return u};function p(){const n=function(){const n=l.exec(r);if(null===n)return["no-more-tokens"];const t=n.index,[e,o,u,s,c,,i]=n,f=e.length,p=!!o,a=!!i,b=(u||"core/")+s,k=!!c,d=k?function(n){try{return JSON.parse(n)}catch(n){return null}}(c):{};if(a)return["void-block",b,d,t,f];if(p)return["block-closer",b,null,t,f];return["block-opener",b,d,t,f]}(),[t,e,f,p,d]=n,h=s.length,v=p>o?o:null;switch(t){case"no-more-tokens":if(0===h)return a(),!1;if(1===h)return k(),!1;for(;0<s.length;)k();return!1;case"void-block":return 0===h?(null!==v&&u.push(i(r.substr(v,p-v))),u.push(c(e,f,[],"",[])),o=p+d,!0):(b(c(e,f,[],"",[]),p,d),o=p+d,!0);case"block-opener":return s.push(function(n,t,e,r,o){return{block:n,tokenStart:t,tokenLength:e,prevOffset:r||t+e,leadingHtmlStart:o}}(c(e,f,[],"",[]),p,d,p+d,v)),o=p+d,!0;case"block-closer":if(0===h)return a(),!1;if(1===h)return k(p),o=p+d,!0;const n=s.pop(),t=r.substr(n.prevOffset,p-n.prevOffset);return n.block.innerHTML+=t,n.block.innerContent.push(t),n.prevOffset=p+d,b(n.block,n.tokenStart,n.tokenLength,p+d),o=p+d,!0;default:return a(),!1}}function a(n){const t=n||r.length-o;0!==t&&u.push(i(r.substr(o,t)))}function b(n,t,e,o){const u=s[s.length-1];u.block.innerBlocks.push(n);const l=r.substr(u.prevOffset,t-u.prevOffset);l&&(u.block.innerHTML+=l,u.block.innerContent.push(l)),u.block.innerContent.push(null),u.prevOffset=o||t+e}function k(n){const{block:t,leadingHtmlStart:e,prevOffset:o,tokenStart:l}=s.pop(),c=n?r.substr(o,n-o):r.substr(o);c&&(t.innerHTML+=c,t.innerContent.push(c)),null!==e&&u.push(i(r.substr(e,l-e))),u.push(t)}}});
\ No newline at end of file
+!function(){"use strict";var n={d:function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r:function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}},t={};let e,r,o,u;n.r(t),n.d(t,{parse:function(){return i}});const s=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(n,t,e,r,o){return{blockName:n,attrs:t,innerBlocks:e,innerHTML:r,innerContent:o}}function c(n){return l(null,{},[],n,[n])}const i=n=>{e=n,r=0,o=[],u=[],s.lastIndex=0;do{}while(f());return o};function f(){const n=function(){const n=s.exec(e);if(null===n)return["no-more-tokens"];const t=n.index,[r,o,u,l,c,,i]=n,f=r.length,p=!!o,a=!!i,b=(u||"core/")+l,k=!!c,h=k?function(n){try{return JSON.parse(n)}catch(n){return null}}(c):{};if(a)return["void-block",b,h,t,f];if(p)return["block-closer",b,null,t,f];return["block-opener",b,h,t,f]}(),[t,i,f,k,h]=n,d=u.length,g=k>r?r:null;switch(t){case"no-more-tokens":if(0===d)return p(),!1;if(1===d)return b(),!1;for(;0<u.length;)b();return!1;case"void-block":return 0===d?(null!==g&&o.push(c(e.substr(g,k-g))),o.push(l(i,f,[],"",[])),r=k+h,!0):(a(l(i,f,[],"",[]),k,h),r=k+h,!0);case"block-opener":return u.push(function(n,t,e,r,o){return{block:n,tokenStart:t,tokenLength:e,prevOffset:r||t+e,leadingHtmlStart:o}}(l(i,f,[],"",[]),k,h,k+h,g)),r=k+h,!0;case"block-closer":if(0===d)return p(),!1;if(1===d)return b(k),r=k+h,!0;const n=u.pop(),t=e.substr(n.prevOffset,k-n.prevOffset);return n.block.innerHTML+=t,n.block.innerContent.push(t),n.prevOffset=k+h,a(n.block,n.tokenStart,n.tokenLength,k+h),r=k+h,!0;default:return p(),!1}}function p(n){const t=n||e.length-r;0!==t&&o.push(c(e.substr(r,t)))}function a(n,t,r,o){const s=u[u.length-1];s.block.innerBlocks.push(n);const l=e.substr(s.prevOffset,t-s.prevOffset);l&&(s.block.innerHTML+=l,s.block.innerContent.push(l)),s.block.innerContent.push(null),s.prevOffset=o||t+r}function b(n){const{block:t,leadingHtmlStart:r,prevOffset:s,tokenStart:l}=u.pop(),i=n?e.substr(s,n-s):e.substr(s);i&&(t.innerHTML+=i,t.innerContent.push(i)),null!==r&&o.push(c(e.substr(r,l-r))),o.push(t)}(window.wp=window.wp||{}).blockSerializationDefaultParser=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/blocks.js b/wp-includes/js/dist/blocks.js
index 7dae7fb240..bdcf304d16 100644
--- a/wp-includes/js/dist/blocks.js
+++ b/wp-includes/js/dist/blocks.js
@@ -1,8805 +1,1008 @@
-this["wp"] = this["wp"] || {}; this["wp"]["blocks"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "0ATp");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "0ATp":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
-__webpack_require__.d(__webpack_exports__, "createBlock", function() { return /* reexport */ createBlock; });
-__webpack_require__.d(__webpack_exports__, "createBlocksFromInnerBlocksTemplate", function() { return /* reexport */ createBlocksFromInnerBlocksTemplate; });
-__webpack_require__.d(__webpack_exports__, "cloneBlock", function() { return /* reexport */ cloneBlock; });
-__webpack_require__.d(__webpack_exports__, "__experimentalCloneSanitizedBlock", function() { return /* reexport */ __experimentalCloneSanitizedBlock; });
-__webpack_require__.d(__webpack_exports__, "getPossibleBlockTransformations", function() { return /* reexport */ getPossibleBlockTransformations; });
-__webpack_require__.d(__webpack_exports__, "switchToBlockType", function() { return /* reexport */ switchToBlockType; });
-__webpack_require__.d(__webpack_exports__, "getBlockTransforms", function() { return /* reexport */ getBlockTransforms; });
-__webpack_require__.d(__webpack_exports__, "findTransform", function() { return /* reexport */ findTransform; });
-__webpack_require__.d(__webpack_exports__, "getBlockFromExample", function() { return /* reexport */ getBlockFromExample; });
-__webpack_require__.d(__webpack_exports__, "parse", function() { return /* reexport */ parser_parse; });
-__webpack_require__.d(__webpack_exports__, "getBlockAttributes", function() { return /* reexport */ getBlockAttributes; });
-__webpack_require__.d(__webpack_exports__, "parseWithAttributeSchema", function() { return /* reexport */ parseWithAttributeSchema; });
-__webpack_require__.d(__webpack_exports__, "pasteHandler", function() { return /* reexport */ pasteHandler; });
-__webpack_require__.d(__webpack_exports__, "rawHandler", function() { return /* reexport */ rawHandler; });
-__webpack_require__.d(__webpack_exports__, "getPhrasingContentSchema", function() { return /* reexport */ deprecatedGetPhrasingContentSchema; });
-__webpack_require__.d(__webpack_exports__, "serialize", function() { return /* reexport */ serialize; });
-__webpack_require__.d(__webpack_exports__, "getBlockContent", function() { return /* reexport */ getBlockInnerHTML; });
-__webpack_require__.d(__webpack_exports__, "getBlockDefaultClassName", function() { return /* reexport */ getBlockDefaultClassName; });
-__webpack_require__.d(__webpack_exports__, "getBlockMenuDefaultClassName", function() { return /* reexport */ getBlockMenuDefaultClassName; });
-__webpack_require__.d(__webpack_exports__, "getSaveElement", function() { return /* reexport */ getSaveElement; });
-__webpack_require__.d(__webpack_exports__, "getSaveContent", function() { return /* reexport */ getSaveContent; });
-__webpack_require__.d(__webpack_exports__, "__unstableGetBlockProps", function() { return /* reexport */ getBlockProps; });
-__webpack_require__.d(__webpack_exports__, "__unstableGetInnerBlocksProps", function() { return /* reexport */ getInnerBlocksProps; });
-__webpack_require__.d(__webpack_exports__, "__unstableSerializeAndClean", function() { return /* reexport */ __unstableSerializeAndClean; });
-__webpack_require__.d(__webpack_exports__, "isValidBlockContent", function() { return /* reexport */ isValidBlockContent; });
-__webpack_require__.d(__webpack_exports__, "getCategories", function() { return /* reexport */ categories_getCategories; });
-__webpack_require__.d(__webpack_exports__, "setCategories", function() { return /* reexport */ categories_setCategories; });
-__webpack_require__.d(__webpack_exports__, "updateCategory", function() { return /* reexport */ categories_updateCategory; });
-__webpack_require__.d(__webpack_exports__, "registerBlockType", function() { return /* reexport */ registerBlockType; });
-__webpack_require__.d(__webpack_exports__, "registerBlockCollection", function() { return /* reexport */ registerBlockCollection; });
-__webpack_require__.d(__webpack_exports__, "unregisterBlockType", function() { return /* reexport */ unregisterBlockType; });
-__webpack_require__.d(__webpack_exports__, "setFreeformContentHandlerName", function() { return /* reexport */ setFreeformContentHandlerName; });
-__webpack_require__.d(__webpack_exports__, "getFreeformContentHandlerName", function() { return /* reexport */ getFreeformContentHandlerName; });
-__webpack_require__.d(__webpack_exports__, "setUnregisteredTypeHandlerName", function() { return /* reexport */ setUnregisteredTypeHandlerName; });
-__webpack_require__.d(__webpack_exports__, "getUnregisteredTypeHandlerName", function() { return /* reexport */ getUnregisteredTypeHandlerName; });
-__webpack_require__.d(__webpack_exports__, "setDefaultBlockName", function() { return /* reexport */ setDefaultBlockName; });
-__webpack_require__.d(__webpack_exports__, "getDefaultBlockName", function() { return /* reexport */ registration_getDefaultBlockName; });
-__webpack_require__.d(__webpack_exports__, "setGroupingBlockName", function() { return /* reexport */ setGroupingBlockName; });
-__webpack_require__.d(__webpack_exports__, "getGroupingBlockName", function() { return /* reexport */ registration_getGroupingBlockName; });
-__webpack_require__.d(__webpack_exports__, "getBlockType", function() { return /* reexport */ registration_getBlockType; });
-__webpack_require__.d(__webpack_exports__, "getBlockTypes", function() { return /* reexport */ registration_getBlockTypes; });
-__webpack_require__.d(__webpack_exports__, "getBlockSupport", function() { return /* reexport */ registration_getBlockSupport; });
-__webpack_require__.d(__webpack_exports__, "hasBlockSupport", function() { return /* reexport */ registration_hasBlockSupport; });
-__webpack_require__.d(__webpack_exports__, "getBlockVariations", function() { return /* reexport */ registration_getBlockVariations; });
-__webpack_require__.d(__webpack_exports__, "isReusableBlock", function() { return /* reexport */ isReusableBlock; });
-__webpack_require__.d(__webpack_exports__, "isTemplatePart", function() { return /* reexport */ isTemplatePart; });
-__webpack_require__.d(__webpack_exports__, "getChildBlockNames", function() { return /* reexport */ registration_getChildBlockNames; });
-__webpack_require__.d(__webpack_exports__, "hasChildBlocks", function() { return /* reexport */ registration_hasChildBlocks; });
-__webpack_require__.d(__webpack_exports__, "hasChildBlocksWithInserterSupport", function() { return /* reexport */ registration_hasChildBlocksWithInserterSupport; });
-__webpack_require__.d(__webpack_exports__, "unstable__bootstrapServerSideBlockDefinitions", function() { return /* reexport */ unstable__bootstrapServerSideBlockDefinitions; });
-__webpack_require__.d(__webpack_exports__, "registerBlockStyle", function() { return /* reexport */ registerBlockStyle; });
-__webpack_require__.d(__webpack_exports__, "unregisterBlockStyle", function() { return /* reexport */ unregisterBlockStyle; });
-__webpack_require__.d(__webpack_exports__, "registerBlockVariation", function() { return /* reexport */ registerBlockVariation; });
-__webpack_require__.d(__webpack_exports__, "unregisterBlockVariation", function() { return /* reexport */ unregisterBlockVariation; });
-__webpack_require__.d(__webpack_exports__, "isUnmodifiedDefaultBlock", function() { return /* reexport */ isUnmodifiedDefaultBlock; });
-__webpack_require__.d(__webpack_exports__, "normalizeIconObject", function() { return /* reexport */ normalizeIconObject; });
-__webpack_require__.d(__webpack_exports__, "isValidIcon", function() { return /* reexport */ isValidIcon; });
-__webpack_require__.d(__webpack_exports__, "__experimentalGetBlockLabel", function() { return /* reexport */ getBlockLabel; });
-__webpack_require__.d(__webpack_exports__, "__experimentalGetAccessibleBlockLabel", function() { return /* reexport */ getAccessibleBlockLabel; });
-__webpack_require__.d(__webpack_exports__, "__experimentalSanitizeBlockAttributes", function() { return /* reexport */ __experimentalSanitizeBlockAttributes; });
-__webpack_require__.d(__webpack_exports__, "__experimentalGetBlockAttributesNamesByRole", function() { return /* reexport */ __experimentalGetBlockAttributesNamesByRole; });
-__webpack_require__.d(__webpack_exports__, "doBlocksMatchTemplate", function() { return /* reexport */ doBlocksMatchTemplate; });
-__webpack_require__.d(__webpack_exports__, "synchronizeBlocksWithTemplate", function() { return /* reexport */ synchronizeBlocksWithTemplate; });
-__webpack_require__.d(__webpack_exports__, "children", function() { return /* reexport */ api_children; });
-__webpack_require__.d(__webpack_exports__, "node", function() { return /* reexport */ api_node; });
-__webpack_require__.d(__webpack_exports__, "__EXPERIMENTAL_STYLE_PROPERTY", function() { return /* reexport */ __EXPERIMENTAL_STYLE_PROPERTY; });
-__webpack_require__.d(__webpack_exports__, "__EXPERIMENTAL_ELEMENTS", function() { return /* reexport */ __EXPERIMENTAL_ELEMENTS; });
-__webpack_require__.d(__webpack_exports__, "__EXPERIMENTAL_PATHS_WITH_MERGE", function() { return /* reexport */ __EXPERIMENTAL_PATHS_WITH_MERGE; });
-__webpack_require__.d(__webpack_exports__, "withBlockContentContext", function() { return /* reexport */ withBlockContentContext; });
-
-// NAMESPACE OBJECT: ./node_modules/@wordpress/blocks/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetUnprocessedBlockTypes", function() { return __experimentalGetUnprocessedBlockTypes; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockTypes", function() { return getBlockTypes; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockType", function() { return getBlockType; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockStyles", function() { return getBlockStyles; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockVariations", function() { return getBlockVariations; });
-__webpack_require__.d(selectors_namespaceObject, "getActiveBlockVariation", function() { return getActiveBlockVariation; });
-__webpack_require__.d(selectors_namespaceObject, "getDefaultBlockVariation", function() { return getDefaultBlockVariation; });
-__webpack_require__.d(selectors_namespaceObject, "getCategories", function() { return getCategories; });
-__webpack_require__.d(selectors_namespaceObject, "getCollections", function() { return getCollections; });
-__webpack_require__.d(selectors_namespaceObject, "getDefaultBlockName", function() { return getDefaultBlockName; });
-__webpack_require__.d(selectors_namespaceObject, "getFreeformFallbackBlockName", function() { return getFreeformFallbackBlockName; });
-__webpack_require__.d(selectors_namespaceObject, "getUnregisteredFallbackBlockName", function() { return getUnregisteredFallbackBlockName; });
-__webpack_require__.d(selectors_namespaceObject, "getGroupingBlockName", function() { return getGroupingBlockName; });
-__webpack_require__.d(selectors_namespaceObject, "getChildBlockNames", function() { return getChildBlockNames; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockSupport", function() { return getBlockSupport; });
-__webpack_require__.d(selectors_namespaceObject, "hasBlockSupport", function() { return hasBlockSupport; });
-__webpack_require__.d(selectors_namespaceObject, "isMatchingSearchTerm", function() { return isMatchingSearchTerm; });
-__webpack_require__.d(selectors_namespaceObject, "hasChildBlocks", function() { return hasChildBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "hasChildBlocksWithInserterSupport", function() { return hasChildBlocksWithInserterSupport; });
-
-// NAMESPACE OBJECT: ./node_modules/@wordpress/blocks/build-module/store/actions.js
-var actions_namespaceObject = {};
-__webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "addBlockTypes", function() { return addBlockTypes; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalRegisterBlockType", function() { return __experimentalRegisterBlockType; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalReapplyBlockTypeFilters", function() { return __experimentalReapplyBlockTypeFilters; });
-__webpack_require__.d(actions_namespaceObject, "removeBlockTypes", function() { return removeBlockTypes; });
-__webpack_require__.d(actions_namespaceObject, "addBlockStyles", function() { return addBlockStyles; });
-__webpack_require__.d(actions_namespaceObject, "removeBlockStyles", function() { return removeBlockStyles; });
-__webpack_require__.d(actions_namespaceObject, "addBlockVariations", function() { return addBlockVariations; });
-__webpack_require__.d(actions_namespaceObject, "removeBlockVariations", function() { return removeBlockVariations; });
-__webpack_require__.d(actions_namespaceObject, "setDefaultBlockName", function() { return actions_setDefaultBlockName; });
-__webpack_require__.d(actions_namespaceObject, "setFreeformFallbackBlockName", function() { return setFreeformFallbackBlockName; });
-__webpack_require__.d(actions_namespaceObject, "setUnregisteredFallbackBlockName", function() { return setUnregisteredFallbackBlockName; });
-__webpack_require__.d(actions_namespaceObject, "setGroupingBlockName", function() { return actions_setGroupingBlockName; });
-__webpack_require__.d(actions_namespaceObject, "setCategories", function() { return setCategories; });
-__webpack_require__.d(actions_namespaceObject, "updateCategory", function() { return updateCategory; });
-__webpack_require__.d(actions_namespaceObject, "addBlockCollection", function() { return addBlockCollection; });
-__webpack_require__.d(actions_namespaceObject, "removeBlockCollection", function() { return removeBlockCollection; });
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/reducer.js
-/**
- * External dependencies
- */
+/***/ 7308:
+/***/ (function(module, exports, __webpack_require__) {

+var __WEBPACK_AMD_DEFINE_RESULT__;;/*! showdown v 1.9.1 - 02-11-2019 */
+(function(){
 /**
- * WordPress dependencies
+ * Created by Tivie on 13-07-2015.
  */

+function getDefaultOpts (simple) {
+  'use strict';

+  var defaultOptions = {
+    omitExtraWLInCodeBlocks: {
+      defaultValue: false,
+      describe: 'Omit the default extra whiteline added to code blocks',
+      type: 'boolean'
+    },
+    noHeaderId: {
+      defaultValue: false,
+      describe: 'Turn on/off generated header id',
+      type: 'boolean'
+    },
+    prefixHeaderId: {
+      defaultValue: false,
+      describe: 'Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic \'section-\' prefix',
+      type: 'string'
+    },
+    rawPrefixHeaderId: {
+      defaultValue: false,
+      describe: 'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',
+      type: 'boolean'
+    },
+    ghCompatibleHeaderId: {
+      defaultValue: false,
+      describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',
+      type: 'boolean'
+    },
+    rawHeaderId: {
+      defaultValue: false,
+      describe: 'Remove only spaces, \' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',
+      type: 'boolean'
+    },
+    headerLevelStart: {
+      defaultValue: false,
+      describe: 'The header blocks level start',
+      type: 'integer'
+    },
+    parseImgDimensions: {
+      defaultValue: false,
+      describe: 'Turn on/off image dimension parsing',
+      type: 'boolean'
+    },
+    simplifiedAutoLink: {
+      defaultValue: false,
+      describe: 'Turn on/off GFM autolink style',
+      type: 'boolean'
+    },
+    excludeTrailingPunctuationFromURLs: {
+      defaultValue: false,
+      describe: 'Excludes trailing punctuation from links generated with autoLinking',
+      type: 'boolean'
+    },
+    literalMidWordUnderscores: {
+      defaultValue: false,
+      describe: 'Parse midword underscores as literal underscores',
+      type: 'boolean'
+    },
+    literalMidWordAsterisks: {
+      defaultValue: false,
+      describe: 'Parse midword asterisks as literal asterisks',
+      type: 'boolean'
+    },
+    strikethrough: {
+      defaultValue: false,
+      describe: 'Turn on/off strikethrough support',
+      type: 'boolean'
+    },
+    tables: {
+      defaultValue: false,
+      describe: 'Turn on/off tables support',
+      type: 'boolean'
+    },
+    tablesHeaderId: {
+      defaultValue: false,
+      describe: 'Add an id to table headers',
+      type: 'boolean'
+    },
+    ghCodeBlocks: {
+      defaultValue: true,
+      describe: 'Turn on/off GFM fenced code blocks support',
+      type: 'boolean'
+    },
+    tasklists: {
+      defaultValue: false,
+      describe: 'Turn on/off GFM tasklist support',
+      type: 'boolean'
+    },
+    smoothLivePreview: {
+      defaultValue: false,
+      describe: 'Prevents weird effects in live previews due to incomplete input',
+      type: 'boolean'
+    },
+    smartIndentationFix: {
+      defaultValue: false,
+      description: 'Tries to smartly fix indentation in es6 strings',
+      type: 'boolean'
+    },
+    disableForced4SpacesIndentedSublists: {
+      defaultValue: false,
+      description: 'Disables the requirement of indenting nested sublists by 4 spaces',
+      type: 'boolean'
+    },
+    simpleLineBreaks: {
+      defaultValue: false,
+      description: 'Parses simple line breaks as <br> (GFM Style)',
+      type: 'boolean'
+    },
+    requireSpaceBeforeHeadingText: {
+      defaultValue: false,
+      description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',
+      type: 'boolean'
+    },
+    ghMentions: {
+      defaultValue: false,
+      description: 'Enables github @mentions',
+      type: 'boolean'
+    },
+    ghMentionsLink: {
+      defaultValue: 'https://github.com/{u}',
+      description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',
+      type: 'string'
+    },
+    encodeEmails: {
+      defaultValue: true,
+      description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',
+      type: 'boolean'
+    },
+    openLinksInNewWindow: {
+      defaultValue: false,
+      description: 'Open all links in new windows',
+      type: 'boolean'
+    },
+    backslashEscapesHTMLTags: {
+      defaultValue: false,
+      description: 'Support for HTML Tag escaping. ex: \<div>foo\</div>',
+      type: 'boolean'
+    },
+    emoji: {
+      defaultValue: false,
+      description: 'Enable emoji support. Ex: `this is a :smile: emoji`',
+      type: 'boolean'
+    },
+    underline: {
+      defaultValue: false,
+      description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`',
+      type: 'boolean'
+    },
+    completeHTMLDocument: {
+      defaultValue: false,
+      description: 'Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags',
+      type: 'boolean'
+    },
+    metadata: {
+      defaultValue: false,
+      description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',
+      type: 'boolean'
+    },
+    splitAdjacentBlockquotes: {
+      defaultValue: false,
+      description: 'Split adjacent blockquote blocks',
+      type: 'boolean'
+    }
+  };
+  if (simple === false) {
+    return JSON.parse(JSON.stringify(defaultOptions));
+  }
+  var ret = {};
+  for (var opt in defaultOptions) {
+    if (defaultOptions.hasOwnProperty(opt)) {
+      ret[opt] = defaultOptions[opt].defaultValue;
+    }
+  }
+  return ret;
+}

+function allOptionsOn () {
+  'use strict';
+  var options = getDefaultOpts(true),
+      ret = {};
+  for (var opt in options) {
+    if (options.hasOwnProperty(opt)) {
+      ret[opt] = true;
+    }
+  }
+  return ret;
+}
+
 /**
- * @typedef {Object} WPBlockCategory
- *
- * @property {string} slug  Unique category slug.
- * @property {string} title Category label, for display in user interface.
- */
-
-/**
- * Default set of categories.
- *
- * @type {WPBlockCategory[]}
+ * Created by Tivie on 06-01-2015.
  */

-const DEFAULT_CATEGORIES = [{
-  slug: 'text',
-  title: Object(external_wp_i18n_["__"])('Text')
-}, {
-  slug: 'media',
-  title: Object(external_wp_i18n_["__"])('Media')
-}, {
-  slug: 'design',
-  title: Object(external_wp_i18n_["__"])('Design')
-}, {
-  slug: 'widgets',
-  title: Object(external_wp_i18n_["__"])('Widgets')
-}, {
-  slug: 'theme',
-  title: Object(external_wp_i18n_["__"])('Theme')
-}, {
-  slug: 'embed',
-  title: Object(external_wp_i18n_["__"])('Embeds')
-}, {
-  slug: 'reusable',
-  title: Object(external_wp_i18n_["__"])('Reusable blocks')
-}];
-/**
- * Reducer managing the unprocessed block types in a form passed when registering the by block.
- * It's for internal use only. It allows recomputing the processed block types on-demand after block type filters
- * get added or removed.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */
+// Private properties
+var showdown = {},
+    parsers = {},
+    extensions = {},
+    globalOptions = getDefaultOpts(true),
+    setFlavor = 'vanilla',
+    flavor = {
+      github: {
+        omitExtraWLInCodeBlocks:              true,
+        simplifiedAutoLink:                   true,
+        excludeTrailingPunctuationFromURLs:   true,
+        literalMidWordUnderscores:            true,
+        strikethrough:                        true,
+        tables:                               true,
+        tablesHeaderId:                       true,
+        ghCodeBlocks:                         true,
+        tasklists:                            true,
+        disableForced4SpacesIndentedSublists: true,
+        simpleLineBreaks:                     true,
+        requireSpaceBeforeHeadingText:        true,
+        ghCompatibleHeaderId:                 true,
+        ghMentions:                           true,
+        backslashEscapesHTMLTags:             true,
+        emoji:                                true,
+        splitAdjacentBlockquotes:             true
+      },
+      original: {
+        noHeaderId:                           true,
+        ghCodeBlocks:                         false
+      },
+      ghost: {
+        omitExtraWLInCodeBlocks:              true,
+        parseImgDimensions:                   true,
+        simplifiedAutoLink:                   true,
+        excludeTrailingPunctuationFromURLs:   true,
+        literalMidWordUnderscores:            true,
+        strikethrough:                        true,
+        tables:                               true,
+        tablesHeaderId:                       true,
+        ghCodeBlocks:                         true,
+        tasklists:                            true,
+        smoothLivePreview:                    true,
+        simpleLineBreaks:                     true,
+        requireSpaceBeforeHeadingText:        true,
+        ghMentions:                           false,
+        encodeEmails:                         true
+      },
+      vanilla: getDefaultOpts(true),
+      allOn: allOptionsOn()
+    };

-function reducer_unprocessedBlockTypes() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+/**
+ * helper namespace
+ * @type {{}}
+ */
+showdown.helper = {};

-  switch (action.type) {
-    case 'ADD_UNPROCESSED_BLOCK_TYPE':
-      return { ...state,
-        [action.blockType.name]: action.blockType
-      };
+/**
+ * TODO LEGACY SUPPORT CODE
+ * @type {{}}
+ */
+showdown.extensions = {};

-    case 'REMOVE_BLOCK_TYPES':
-      return Object(external_lodash_["omit"])(state, action.names);
-  }
+/**
+ * Set a global option
+ * @static
+ * @param {string} key
+ * @param {*} value
+ * @returns {showdown}
+ */
+showdown.setOption = function (key, value) {
+  'use strict';
+  globalOptions[key] = value;
+  return this;
+};

-  return state;
-}
 /**
- * Reducer managing the processed block types with all filters applied.
- * The state is derived from the `unprocessedBlockTypes` reducer.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
+ * Get a global option
+ * @static
+ * @param {string} key
+ * @returns {*}
  */
+showdown.getOption = function (key) {
+  'use strict';
+  return globalOptions[key];
+};

-function reducer_blockTypes() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+/**
+ * Get the global options
+ * @static
+ * @returns {{}}
+ */
+showdown.getOptions = function () {
+  'use strict';
+  return globalOptions;
+};

-  switch (action.type) {
-    case 'ADD_BLOCK_TYPES':
-      return { ...state,
-        ...Object(external_lodash_["keyBy"])(action.blockTypes, 'name')
-      };
+/**
+ * Reset global options to the default values
+ * @static
+ */
+showdown.resetOptions = function () {
+  'use strict';
+  globalOptions = getDefaultOpts(true);
+};

-    case 'REMOVE_BLOCK_TYPES':
-      return Object(external_lodash_["omit"])(state, action.names);
+/**
+ * Set the flavor showdown should use as default
+ * @param {string} name
+ */
+showdown.setFlavor = function (name) {
+  'use strict';
+  if (!flavor.hasOwnProperty(name)) {
+    throw Error(name + ' flavor was not found');
+  }
+  showdown.resetOptions();
+  var preset = flavor[name];
+  setFlavor = name;
+  for (var option in preset) {
+    if (preset.hasOwnProperty(option)) {
+      globalOptions[option] = preset[option];
+    }
   }
+};

-  return state;
-}
 /**
- * Reducer managing the block style variations.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
+ * Get the currently set flavor
+ * @returns {string}
  */
+showdown.getFlavor = function () {
+  'use strict';
+  return setFlavor;
+};

-function blockStyles() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
-
-  switch (action.type) {
-    case 'ADD_BLOCK_TYPES':
-      return { ...state,
-        ...Object(external_lodash_["mapValues"])(Object(external_lodash_["keyBy"])(action.blockTypes, 'name'), blockType => {
-          return Object(external_lodash_["uniqBy"])([...Object(external_lodash_["get"])(blockType, ['styles'], []).map(style => ({ ...style,
-            source: 'block'
-          })), ...Object(external_lodash_["get"])(state, [blockType.name], []).filter(_ref => {
-            let {
-              source
-            } = _ref;
-            return 'block' !== source;
-          })], style => style.name);
-        })
-      };
+/**
+ * Get the options of a specified flavor. Returns undefined if the flavor was not found
+ * @param {string} name Name of the flavor
+ * @returns {{}|undefined}
+ */
+showdown.getFlavorOptions = function (name) {
+  'use strict';
+  if (flavor.hasOwnProperty(name)) {
+    return flavor[name];
+  }
+};

-    case 'ADD_BLOCK_STYLES':
-      return { ...state,
-        [action.blockName]: Object(external_lodash_["uniqBy"])([...Object(external_lodash_["get"])(state, [action.blockName], []), ...action.styles], style => style.name)
-      };
+/**
+ * Get the default options
+ * @static
+ * @param {boolean} [simple=true]
+ * @returns {{}}
+ */
+showdown.getDefaultOptions = function (simple) {
+  'use strict';
+  return getDefaultOpts(simple);
+};

-    case 'REMOVE_BLOCK_STYLES':
-      return { ...state,
-        [action.blockName]: Object(external_lodash_["filter"])(Object(external_lodash_["get"])(state, [action.blockName], []), style => action.styleNames.indexOf(style.name) === -1)
-      };
+/**
+ * Get or set a subParser
+ *
+ * subParser(name)       - Get a registered subParser
+ * subParser(name, func) - Register a subParser
+ * @static
+ * @param {string} name
+ * @param {function} [func]
+ * @returns {*}
+ */
+showdown.subParser = function (name, func) {
+  'use strict';
+  if (showdown.helper.isString(name)) {
+    if (typeof func !== 'undefined') {
+      parsers[name] = func;
+    } else {
+      if (parsers.hasOwnProperty(name)) {
+        return parsers[name];
+      } else {
+        throw Error('SubParser named ' + name + ' not registered!');
+      }
+    }
   }
+};

-  return state;
-}
 /**
- * Reducer managing the block variations.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
+ * Gets or registers an extension
+ * @static
+ * @param {string} name
+ * @param {object|function=} ext
+ * @returns {*}
  */
+showdown.extension = function (name, ext) {
+  'use strict';

-function blockVariations() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+  if (!showdown.helper.isString(name)) {
+    throw Error('Extension \'name\' must be a string');
+  }

-  switch (action.type) {
-    case 'ADD_BLOCK_TYPES':
-      return { ...state,
-        ...Object(external_lodash_["mapValues"])(Object(external_lodash_["keyBy"])(action.blockTypes, 'name'), blockType => {
-          return Object(external_lodash_["uniqBy"])([...Object(external_lodash_["get"])(blockType, ['variations'], []).map(variation => ({ ...variation,
-            source: 'block'
-          })), ...Object(external_lodash_["get"])(state, [blockType.name], []).filter(_ref2 => {
-            let {
-              source
-            } = _ref2;
-            return 'block' !== source;
-          })], variation => variation.name);
-        })
-      };
+  name = showdown.helper.stdExtName(name);

-    case 'ADD_BLOCK_VARIATIONS':
-      return { ...state,
-        [action.blockName]: Object(external_lodash_["uniqBy"])([...Object(external_lodash_["get"])(state, [action.blockName], []), ...action.variations], variation => variation.name)
-      };
+  // Getter
+  if (showdown.helper.isUndefined(ext)) {
+    if (!extensions.hasOwnProperty(name)) {
+      throw Error('Extension named ' + name + ' is not registered!');
+    }
+    return extensions[name];

-    case 'REMOVE_BLOCK_VARIATIONS':
-      return { ...state,
-        [action.blockName]: Object(external_lodash_["filter"])(Object(external_lodash_["get"])(state, [action.blockName], []), variation => action.variationNames.indexOf(variation.name) === -1)
-      };
+    // Setter
+  } else {
+    // Expand extension if it's wrapped in a function
+    if (typeof ext === 'function') {
+      ext = ext();
+    }
+
+    // Ensure extension is an array
+    if (!showdown.helper.isArray(ext)) {
+      ext = [ext];
+    }
+
+    var validExtension = validate(ext, name);
+
+    if (validExtension.valid) {
+      extensions[name] = ext;
+    } else {
+      throw Error(validExtension.error);
+    }
   }
+};

-  return state;
-}
 /**
- * Higher-order Reducer creating a reducer keeping track of given block name.
- *
- * @param {string} setActionType Action type.
- *
- * @return {Function} Reducer.
+ * Gets all extensions registered
+ * @returns {{}}
  */
+showdown.getAllExtensions = function () {
+  'use strict';
+  return extensions;
+};

-function createBlockNameSetterReducer(setActionType) {
-  return function () {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-    let action = arguments.length > 1 ? arguments[1] : undefined;
+/**
+ * Remove an extension
+ * @param {string} name
+ */
+showdown.removeExtension = function (name) {
+  'use strict';
+  delete extensions[name];
+};

-    switch (action.type) {
-      case 'REMOVE_BLOCK_TYPES':
-        if (action.names.indexOf(state) !== -1) {
-          return null;
-        }
+/**
+ * Removes all extensions
+ */
+showdown.resetExtensions = function () {
+  'use strict';
+  extensions = {};
+};

-        return state;
+/**
+ * Validate extension
+ * @param {array} extension
+ * @param {string} name
+ * @returns {{valid: boolean, error: string}}
+ */
+function validate (extension, name) {
+  'use strict';

-      case setActionType:
-        return action.name || null;
+  var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',
+      ret = {
+        valid: true,
+        error: ''
+      };
+
+  if (!showdown.helper.isArray(extension)) {
+    extension = [extension];
+  }
+
+  for (var i = 0; i < extension.length; ++i) {
+    var baseMsg = errMsg + ' sub-extension ' + i + ': ',
+        ext = extension[i];
+    if (typeof ext !== 'object') {
+      ret.valid = false;
+      ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';
+      return ret;
     }

-    return state;
-  };
-}
-const reducer_defaultBlockName = createBlockNameSetterReducer('SET_DEFAULT_BLOCK_NAME');
-const freeformFallbackBlockName = createBlockNameSetterReducer('SET_FREEFORM_FALLBACK_BLOCK_NAME');
-const unregisteredFallbackBlockName = createBlockNameSetterReducer('SET_UNREGISTERED_FALLBACK_BLOCK_NAME');
-const groupingBlockName = createBlockNameSetterReducer('SET_GROUPING_BLOCK_NAME');
-/**
- * Reducer managing the categories
- *
- * @param {WPBlockCategory[]} state  Current state.
- * @param {Object}            action Dispatched action.
- *
- * @return {WPBlockCategory[]} Updated state.
- */
+    if (!showdown.helper.isString(ext.type)) {
+      ret.valid = false;
+      ret.error = baseMsg + 'property "type" must be a string, but ' + typeof ext.type + ' given';
+      return ret;
+    }

-function reducer_categories() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_CATEGORIES;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+    var type = ext.type = ext.type.toLowerCase();

-  switch (action.type) {
-    case 'SET_CATEGORIES':
-      return action.categories || [];
+    // normalize extension type
+    if (type === 'language') {
+      type = ext.type = 'lang';
+    }

-    case 'UPDATE_CATEGORY':
-      {
-        if (!action.category || Object(external_lodash_["isEmpty"])(action.category)) {
-          return state;
-        }
+    if (type === 'html') {
+      type = ext.type = 'output';
+    }

-        const categoryToChange = Object(external_lodash_["find"])(state, ['slug', action.slug]);
+    if (type !== 'lang' && type !== 'output' && type !== 'listener') {
+      ret.valid = false;
+      ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: "lang/language", "output/html" or "listener"';
+      return ret;
+    }

-        if (categoryToChange) {
-          return Object(external_lodash_["map"])(state, category => {
-            if (category.slug === action.slug) {
-              return { ...category,
-                ...action.category
-              };
-            }
+    if (type === 'listener') {
+      if (showdown.helper.isUndefined(ext.listeners)) {
+        ret.valid = false;
+        ret.error = baseMsg + '. Extensions of type "listener" must have a property called "listeners"';
+        return ret;
+      }
+    } else {
+      if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {
+        ret.valid = false;
+        ret.error = baseMsg + type + ' extensions must define either a "regex" property or a "filter" method';
+        return ret;
+      }
+    }

-            return category;
-          });
+    if (ext.listeners) {
+      if (typeof ext.listeners !== 'object') {
+        ret.valid = false;
+        ret.error = baseMsg + '"listeners" property must be an object but ' + typeof ext.listeners + ' given';
+        return ret;
+      }
+      for (var ln in ext.listeners) {
+        if (ext.listeners.hasOwnProperty(ln)) {
+          if (typeof ext.listeners[ln] !== 'function') {
+            ret.valid = false;
+            ret.error = baseMsg + '"listeners" property must be an hash of [event name]: [callback]. listeners.' + ln +
+              ' must be a function but ' + typeof ext.listeners[ln] + ' given';
+            return ret;
+          }
         }
       }
-  }
+    }

-  return state;
+    if (ext.filter) {
+      if (typeof ext.filter !== 'function') {
+        ret.valid = false;
+        ret.error = baseMsg + '"filter" must be a function, but ' + typeof ext.filter + ' given';
+        return ret;
+      }
+    } else if (ext.regex) {
+      if (showdown.helper.isString(ext.regex)) {
+        ext.regex = new RegExp(ext.regex, 'g');
+      }
+      if (!(ext.regex instanceof RegExp)) {
+        ret.valid = false;
+        ret.error = baseMsg + '"regex" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';
+        return ret;
+      }
+      if (showdown.helper.isUndefined(ext.replace)) {
+        ret.valid = false;
+        ret.error = baseMsg + '"regex" extensions must implement a replace string or function';
+        return ret;
+      }
+    }
+  }
+  return ret;
 }
-function collections() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;

-  switch (action.type) {
-    case 'ADD_BLOCK_COLLECTION':
-      return { ...state,
-        [action.namespace]: {
-          title: action.title,
-          icon: action.icon
-        }
-      };
+/**
+ * Validate extension
+ * @param {object} ext
+ * @returns {boolean}
+ */
+showdown.validateExtension = function (ext) {
+  'use strict';

-    case 'REMOVE_BLOCK_COLLECTION':
-      return Object(external_lodash_["omit"])(state, action.namespace);
+  var validateExtension = validate(ext, null);
+  if (!validateExtension.valid) {
+    console.warn(validateExtension.error);
+    return false;
   }
+  return true;
+};
+
+/**
+ * showdownjs helper functions
+ */

-  return state;
+if (!showdown.hasOwnProperty('helper')) {
+  showdown.helper = {};
 }
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  unprocessedBlockTypes: reducer_unprocessedBlockTypes,
-  blockTypes: reducer_blockTypes,
-  blockStyles,
-  blockVariations,
-  defaultBlockName: reducer_defaultBlockName,
-  freeformFallbackBlockName,
-  unregisteredFallbackBlockName,
-  groupingBlockName,
-  categories: reducer_categories,
-  collections
-}));
-
-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");

-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/selectors.js
 /**
- * External dependencies
+ * Check if var is string
+ * @static
+ * @param {string} a
+ * @returns {boolean}
  */
-
-
-/** @typedef {import('../api/registration').WPBlockVariation} WPBlockVariation */
-
-/** @typedef {import('../api/registration').WPBlockVariationScope} WPBlockVariationScope */
-
-/** @typedef {import('./reducer').WPBlockCategory} WPBlockCategory */
+showdown.helper.isString = function (a) {
+  'use strict';
+  return (typeof a === 'string' || a instanceof String);
+};

 /**
- * Given a block name or block type object, returns the corresponding
- * normalized block type object.
- *
- * @param {Object}          state      Blocks state.
- * @param {(string|Object)} nameOrType Block name or type object
- *
- * @return {Object} Block type object.
+ * Check if var is a function
+ * @static
+ * @param {*} a
+ * @returns {boolean}
  */
+showdown.helper.isFunction = function (a) {
+  'use strict';
+  var getType = {};
+  return a && getType.toString.call(a) === '[object Function]';
+};

-const getNormalizedBlockType = (state, nameOrType) => 'string' === typeof nameOrType ? getBlockType(state, nameOrType) : nameOrType;
 /**
- * Returns all the unprocessed block types as passed during the registration.
- *
- * @param {Object} state Data state.
- *
- * @return {Array} Unprocessed block types.
+ * isArray helper function
+ * @static
+ * @param {*} a
+ * @returns {boolean}
  */
+showdown.helper.isArray = function (a) {
+  'use strict';
+  return Array.isArray(a);
+};

-
-function __experimentalGetUnprocessedBlockTypes(state) {
-  return state.unprocessedBlockTypes;
-}
 /**
- * Returns all the available block types.
- *
- * @param {Object} state Data state.
- *
- * @return {Array} Block Types.
+ * Check if value is undefined
+ * @static
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
  */
+showdown.helper.isUndefined = function (value) {
+  'use strict';
+  return typeof value === 'undefined';
+};

-const getBlockTypes = Object(rememo["a" /* default */])(state => Object.values(state.blockTypes), state => [state.blockTypes]);
 /**
- * Returns a block type by name.
- *
- * @param {Object} state Data state.
- * @param {string} name  Block type name.
- *
- * @return {Object?} Block Type.
+ * ForEach helper function
+ * Iterates over Arrays and Objects (own properties only)
+ * @static
+ * @param {*} obj
+ * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object
  */
+showdown.helper.forEach = function (obj, callback) {
+  'use strict';
+  // check if obj is defined
+  if (showdown.helper.isUndefined(obj)) {
+    throw new Error('obj param is required');
+  }
+
+  if (showdown.helper.isUndefined(callback)) {
+    throw new Error('callback param is required');
+  }
+
+  if (!showdown.helper.isFunction(callback)) {
+    throw new Error('callback param must be a function/closure');
+  }
+
+  if (typeof obj.forEach === 'function') {
+    obj.forEach(callback);
+  } else if (showdown.helper.isArray(obj)) {
+    for (var i = 0; i < obj.length; i++) {
+      callback(obj[i], i, obj);
+    }
+  } else if (typeof (obj) === 'object') {
+    for (var prop in obj) {
+      if (obj.hasOwnProperty(prop)) {
+        callback(obj[prop], prop, obj);
+      }
+    }
+  } else {
+    throw new Error('obj does not seem to be an array or an iterable object');
+  }
+};

-function getBlockType(state, name) {
-  return state.blockTypes[name];
-}
 /**
- * Returns block styles by block name.
- *
- * @param {Object} state Data state.
- * @param {string} name  Block type name.
- *
- * @return {Array?} Block Styles.
+ * Standardidize extension name
+ * @static
+ * @param {string} s extension name
+ * @returns {string}
  */
+showdown.helper.stdExtName = function (s) {
+  'use strict';
+  return s.replace(/[_?*+\/\\.^-]/g, '').replace(/\s/g, '').toLowerCase();
+};

-function getBlockStyles(state, name) {
-  return state.blockStyles[name];
+function escapeCharactersCallback (wholeMatch, m1) {
+  'use strict';
+  var charCodeToEscape = m1.charCodeAt(0);
+  return '¨E' + charCodeToEscape + 'E';
 }
+
 /**
- * Returns block variations by block name.
- *
- * @param {Object}                state     Data state.
- * @param {string}                blockName Block type name.
- * @param {WPBlockVariationScope} [scope]   Block variation scope name.
- *
- * @return {(WPBlockVariation[]|void)} Block variations.
+ * Callback used to escape characters when passing through String.replace
+ * @static
+ * @param {string} wholeMatch
+ * @param {string} m1
+ * @returns {string}
  */
+showdown.helper.escapeCharactersCallback = escapeCharactersCallback;

-const getBlockVariations = Object(rememo["a" /* default */])((state, blockName, scope) => {
-  const variations = state.blockVariations[blockName];
+/**
+ * Escape characters in a string
+ * @static
+ * @param {string} text
+ * @param {string} charsToEscape
+ * @param {boolean} afterBackslash
+ * @returns {XML|string|void|*}
+ */
+showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {
+  'use strict';
+  // First we have to escape the escape characters so that
+  // we can build a character class out of them
+  var regexString = '([' + charsToEscape.replace(/([\[\]\\])/g, '\\$1') + '])';

-  if (!variations || !scope) {
-    return variations;
+  if (afterBackslash) {
+    regexString = '\\\\' + regexString;
   }

-  return variations.filter(variation => {
-    // For backward compatibility reasons, variation's scope defaults to
-    // `block` and `inserter` when not set.
-    return (variation.scope || ['block', 'inserter']).includes(scope);
-  });
-}, (state, blockName) => [state.blockVariations[blockName]]);
+  var regex = new RegExp(regexString, 'g');
+  text = text.replace(regex, escapeCharactersCallback);
+
+  return text;
+};
+
 /**
- * Returns the active block variation for a given block based on its attributes.
- * Variations are determined by their `isActive` property.
- * Which is either an array of block attribute keys or a function.
- *
- * In case of an array of block attribute keys, the `attributes` are compared
- * to the variation's attributes using strict equality check.
- *
- * In case of function type, the function should accept a block's attributes
- * and the variation's attributes and determines if a variation is active.
- * A function that accepts a block's attributes and the variation's attributes and determines if a variation is active.
- *
- * @param {Object}                state      Data state.
- * @param {string}                blockName  Name of block (example: “core/columns”).
- * @param {Object}                attributes Block attributes used to determine active variation.
- * @param {WPBlockVariationScope} [scope]    Block variation scope name.
- *
- * @return {(WPBlockVariation|undefined)} Active block variation.
+ * Unescape HTML entities
+ * @param txt
+ * @returns {string}
  */
+showdown.helper.unescapeHTMLEntities = function (txt) {
+  'use strict';

-function getActiveBlockVariation(state, blockName, attributes, scope) {
-  const variations = getBlockVariations(state, blockName, scope);
-  const match = variations === null || variations === void 0 ? void 0 : variations.find(variation => {
-    var _variation$isActive;
+  return txt
+    .replace(/&quot;/g, '"')
+    .replace(/&lt;/g, '<')
+    .replace(/&gt;/g, '>')
+    .replace(/&amp;/g, '&');
+};

-    if (Array.isArray(variation.isActive)) {
-      const blockType = getBlockType(state, blockName);
-      const attributeKeys = Object.keys((blockType === null || blockType === void 0 ? void 0 : blockType.attributes) || {});
-      const definedAttributes = variation.isActive.filter(attribute => attributeKeys.includes(attribute));
+var rgxFindMatchPos = function (str, left, right, flags) {
+  'use strict';
+  var f = flags || '',
+      g = f.indexOf('g') > -1,
+      x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),
+      l = new RegExp(left, f.replace(/g/g, '')),
+      pos = [],
+      t, s, m, start, end;

-      if (definedAttributes.length === 0) {
-        return false;
+  do {
+    t = 0;
+    while ((m = x.exec(str))) {
+      if (l.test(m[0])) {
+        if (!(t++)) {
+          s = x.lastIndex;
+          start = s - m[0].length;
+        }
+      } else if (t) {
+        if (!--t) {
+          end = m.index + m[0].length;
+          var obj = {
+            left: {start: start, end: s},
+            match: {start: s, end: m.index},
+            right: {start: m.index, end: end},
+            wholeMatch: {start: start, end: end}
+          };
+          pos.push(obj);
+          if (!g) {
+            return pos;
+          }
+        }
       }
-
-      return definedAttributes.every(attribute => attributes[attribute] === variation.attributes[attribute]);
     }
+  } while (t && (x.lastIndex = s));

-    return (_variation$isActive = variation.isActive) === null || _variation$isActive === void 0 ? void 0 : _variation$isActive.call(variation, attributes, variation.attributes);
-  });
-  return match;
-}
-/**
- * Returns the default block variation for the given block type.
- * When there are multiple variations annotated as the default one,
- * the last added item is picked. This simplifies registering overrides.
- * When there is no default variation set, it returns the first item.
- *
- * @param {Object}                state     Data state.
- * @param {string}                blockName Block type name.
- * @param {WPBlockVariationScope} [scope]   Block variation scope name.
- *
- * @return {?WPBlockVariation} The default block variation.
- */
+  return pos;
+};

-function getDefaultBlockVariation(state, blockName, scope) {
-  const variations = getBlockVariations(state, blockName, scope);
-  return Object(external_lodash_["findLast"])(variations, 'isDefault') || Object(external_lodash_["first"])(variations);
-}
 /**
- * Returns all the available categories.
+ * matchRecursiveRegExp
  *
- * @param {Object} state Data state.
+ * (c) 2007 Steven Levithan <stevenlevithan.com>
+ * MIT License
  *
- * @return {WPBlockCategory[]} Categories list.
- */
-
-function getCategories(state) {
-  return state.categories;
-}
-/**
- * Returns all the available collections.
- *
- * @param {Object} state Data state.
+ * Accepts a string to search, a left and right format delimiter
+ * as regex patterns, and optional regex flags. Returns an array
+ * of matches, allowing nested instances of left/right delimiters.
+ * Use the "g" flag to return all matches, otherwise only the
+ * first is returned. Be careful to ensure that the left and
+ * right format delimiters produce mutually exclusive matches.
+ * Backreferences are not supported within the right delimiter
+ * due to how it is internally combined with the left delimiter.
+ * When matching strings whose format delimiters are unbalanced
+ * to the left or right, the output is intentionally as a
+ * conventional regex library with recursion support would
+ * produce, e.g. "<<x>" and "<x>>" both produce ["x"] when using
+ * "<" and ">" as the delimiters (both strings contain a single,
+ * balanced instance of "<x>").
  *
- * @return {Object} Collections list.
+ * examples:
+ * matchRecursiveRegExp("test", "\\(", "\\)")
+ * returns: []
+ * matchRecursiveRegExp("<t<<e>><s>>t<>", "<", ">", "g")
+ * returns: ["t<<e>><s>", ""]
+ * matchRecursiveRegExp("<div id=\"x\">test</div>", "<div\\b[^>]*>", "</div>", "gi")
+ * returns: ["test"]
  */
+showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {
+  'use strict';

-function getCollections(state) {
-  return state.collections;
-}
-/**
- * Returns the name of the default block name.
- *
- * @param {Object} state Data state.
- *
- * @return {string?} Default block name.
- */
+  var matchPos = rgxFindMatchPos (str, left, right, flags),
+      results = [];

-function getDefaultBlockName(state) {
-  return state.defaultBlockName;
-}
-/**
- * Returns the name of the block for handling non-block content.
- *
- * @param {Object} state Data state.
- *
- * @return {string?} Name of the block for handling non-block content.
- */
+  for (var i = 0; i < matchPos.length; ++i) {
+    results.push([
+      str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),
+      str.slice(matchPos[i].match.start, matchPos[i].match.end),
+      str.slice(matchPos[i].left.start, matchPos[i].left.end),
+      str.slice(matchPos[i].right.start, matchPos[i].right.end)
+    ]);
+  }
+  return results;
+};

-function getFreeformFallbackBlockName(state) {
-  return state.freeformFallbackBlockName;
-}
 /**
- * Returns the name of the block for handling unregistered blocks.
- *
- * @param {Object} state Data state.
  *
- * @return {string?} Name of the block for handling unregistered blocks.
+ * @param {string} str
+ * @param {string|function} replacement
+ * @param {string} left
+ * @param {string} right
+ * @param {string} flags
+ * @returns {string}
  */
+showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {
+  'use strict';
+
+  if (!showdown.helper.isFunction(replacement)) {
+    var repStr = replacement;
+    replacement = function () {
+      return repStr;
+    };
+  }
+
+  var matchPos = rgxFindMatchPos(str, left, right, flags),
+      finalStr = str,
+      lng = matchPos.length;
+
+  if (lng > 0) {
+    var bits = [];
+    if (matchPos[0].wholeMatch.start !== 0) {
+      bits.push(str.slice(0, matchPos[0].wholeMatch.start));
+    }
+    for (var i = 0; i < lng; ++i) {
+      bits.push(
+        replacement(
+          str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),
+          str.slice(matchPos[i].match.start, matchPos[i].match.end),
+          str.slice(matchPos[i].left.start, matchPos[i].left.end),
+          str.slice(matchPos[i].right.start, matchPos[i].right.end)
+        )
+      );
+      if (i < lng - 1) {
+        bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));
+      }
+    }
+    if (matchPos[lng - 1].wholeMatch.end < str.length) {
+      bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));
+    }
+    finalStr = bits.join('');
+  }
+  return finalStr;
+};

-function getUnregisteredFallbackBlockName(state) {
-  return state.unregisteredFallbackBlockName;
-}
 /**
- * Returns the name of the block for handling unregistered blocks.
- *
- * @param {Object} state Data state.
+ * Returns the index within the passed String object of the first occurrence of the specified regex,
+ * starting the search at fromIndex. Returns -1 if the value is not found.
  *
- * @return {string?} Name of the block for handling unregistered blocks.
+ * @param {string} str string to search
+ * @param {RegExp} regex Regular expression to search
+ * @param {int} [fromIndex = 0] Index to start the search
+ * @returns {Number}
+ * @throws InvalidArgumentError
  */
+showdown.helper.regexIndexOf = function (str, regex, fromIndex) {
+  'use strict';
+  if (!showdown.helper.isString(str)) {
+    throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';
+  }
+  if (regex instanceof RegExp === false) {
+    throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';
+  }
+  var indexOf = str.substring(fromIndex || 0).search(regex);
+  return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;
+};

-function getGroupingBlockName(state) {
-  return state.groupingBlockName;
-}
 /**
- * Returns an array with the child blocks of a given block.
- *
- * @param {Object} state     Data state.
- * @param {string} blockName Block type name.
- *
- * @return {Array} Array of child block names.
+ * Splits the passed string object at the defined index, and returns an array composed of the two substrings
+ * @param {string} str string to split
+ * @param {int} index index to split string at
+ * @returns {[string,string]}
+ * @throws InvalidArgumentError
  */
+showdown.helper.splitAtIndex = function (str, index) {
+  'use strict';
+  if (!showdown.helper.isString(str)) {
+    throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';
+  }
+  return [str.substring(0, index), str.substring(index)];
+};

-const getChildBlockNames = Object(rememo["a" /* default */])((state, blockName) => {
-  return Object(external_lodash_["map"])(Object(external_lodash_["filter"])(state.blockTypes, blockType => {
-    return Object(external_lodash_["includes"])(blockType.parent, blockName);
-  }), _ref => {
-    let {
-      name
-    } = _ref;
-    return name;
-  });
-}, state => [state.blockTypes]);
 /**
- * Returns the block support value for a feature, if defined.
+ * Obfuscate an e-mail address through the use of Character Entities,
+ * transforming ASCII characters into their equivalent decimal or hex entities.
  *
- * @param {Object}          state           Data state.
- * @param {(string|Object)} nameOrType      Block name or type object
- * @param {Array|string}    feature         Feature to retrieve
- * @param {*}               defaultSupports Default value to return if not
- *                                          explicitly defined
+ * Since it has a random component, subsequent calls to this function produce different results
  *
- * @return {?*} Block support value
+ * @param {string} mail
+ * @returns {string}
  */
+showdown.helper.encodeEmailAddress = function (mail) {
+  'use strict';
+  var encode = [
+    function (ch) {
+      return '&#' + ch.charCodeAt(0) + ';';
+    },
+    function (ch) {
+      return '&#x' + ch.charCodeAt(0).toString(16) + ';';
+    },
+    function (ch) {
+      return ch;
+    }
+  ];

-const getBlockSupport = (state, nameOrType, feature, defaultSupports) => {
-  const blockType = getNormalizedBlockType(state, nameOrType);
-
-  if (!(blockType !== null && blockType !== void 0 && blockType.supports)) {
-    return defaultSupports;
-  }
+  mail = mail.replace(/./g, function (ch) {
+    if (ch === '@') {
+      // this *must* be encoded. I insist.
+      ch = encode[Math.floor(Math.random() * 2)](ch);
+    } else {
+      var r = Math.random();
+      // roughly 10% raw, 45% hex, 45% dec
+      ch = (
+        r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)
+      );
+    }
+    return ch;
+  });

-  return Object(external_lodash_["get"])(blockType.supports, feature, defaultSupports);
+  return mail;
 };
+
 /**
- * Returns true if the block defines support for a feature, or false otherwise.
- *
- * @param {Object}          state           Data state.
- * @param {(string|Object)} nameOrType      Block name or type object.
- * @param {string}          feature         Feature to test.
- * @param {boolean}         defaultSupports Whether feature is supported by
- *                                          default if not explicitly defined.
  *
- * @return {boolean} Whether block supports feature.
+ * @param str
+ * @param targetLength
+ * @param padString
+ * @returns {string}
  */
+showdown.helper.padEnd = function padEnd (str, targetLength, padString) {
+  'use strict';
+  /*jshint bitwise: false*/
+  // eslint-disable-next-line space-infix-ops
+  targetLength = targetLength>>0; //floor if number or convert non-number to 0;
+  /*jshint bitwise: true*/
+  padString = String(padString || ' ');
+  if (str.length > targetLength) {
+    return String(str);
+  } else {
+    targetLength = targetLength - str.length;
+    if (targetLength > padString.length) {
+      padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed
+    }
+    return String(str) + padString.slice(0,targetLength);
+  }
+};

-function hasBlockSupport(state, nameOrType, feature, defaultSupports) {
-  return !!getBlockSupport(state, nameOrType, feature, defaultSupports);
-}
 /**
- * Returns true if the block type by the given name or object value matches a
- * search term, or false otherwise.
- *
- * @param {Object}          state      Blocks state.
- * @param {(string|Object)} nameOrType Block name or type object.
- * @param {string}          searchTerm Search term by which to filter.
- *
- * @return {Object[]} Whether block type matches search term.
+ * POLYFILLS
  */
-
-function isMatchingSearchTerm(state, nameOrType, searchTerm) {
-  const blockType = getNormalizedBlockType(state, nameOrType);
-  const getNormalizedSearchTerm = Object(external_lodash_["flow"])([// Disregard diacritics.
-  //  Input: "média"
-  external_lodash_["deburr"], // Lowercase.
-  //  Input: "MEDIA"
-  term => term.toLowerCase(), // Strip leading and trailing whitespace.
-  //  Input: " media "
-  term => term.trim()]);
-  const normalizedSearchTerm = getNormalizedSearchTerm(searchTerm);
-  const isSearchMatch = Object(external_lodash_["flow"])([getNormalizedSearchTerm, normalizedCandidate => Object(external_lodash_["includes"])(normalizedCandidate, normalizedSearchTerm)]);
-  return isSearchMatch(blockType.title) || Object(external_lodash_["some"])(blockType.keywords, isSearchMatch) || isSearchMatch(blockType.category);
-}
-/**
- * Returns a boolean indicating if a block has child blocks or not.
- *
- * @param {Object} state     Data state.
- * @param {string} blockName Block type name.
- *
- * @return {boolean} True if a block contains child blocks and false otherwise.
- */
-
-const hasChildBlocks = (state, blockName) => {
-  return getChildBlockNames(state, blockName).length > 0;
-};
-/**
- * Returns a boolean indicating if a block has at least one child block with inserter support.
- *
- * @param {Object} state     Data state.
- * @param {string} blockName Block type name.
- *
- * @return {boolean} True if a block contains at least one child blocks with inserter support
- *                   and false otherwise.
- */
-
-const hasChildBlocksWithInserterSupport = (state, blockName) => {
-  return Object(external_lodash_["some"])(getChildBlockNames(state, blockName), childBlockName => {
-    return hasBlockSupport(state, childBlockName, 'inserter', true);
-  });
-};
-
-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/constants.js
-const STORE_NAME = 'core/blocks';
-
-// EXTERNAL MODULE: ./node_modules/colord/index.mjs
-var colord = __webpack_require__("fHnH");
-
-// EXTERNAL MODULE: ./node_modules/colord/plugins/names.mjs
-var plugins_names = __webpack_require__("abaT");
-
-// EXTERNAL MODULE: ./node_modules/colord/plugins/a11y.mjs
-var a11y = __webpack_require__("7bKH");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/constants.js
-const BLOCK_ICON_DEFAULT = 'block-default';
-/**
- * Array of valid keys in a block type settings deprecation object.
- *
- * @type {string[]}
- */
-
-const DEPRECATED_ENTRY_KEYS = ['attributes', 'supports', 'save', 'migrate', 'isEligible', 'apiVersion'];
-const __EXPERIMENTAL_STYLE_PROPERTY = {
-  //kept for back-compatibility purposes.
-  '--wp--style--color--link': {
-    value: ['color', 'link'],
-    support: ['color', 'link']
-  },
-  background: {
-    value: ['color', 'gradient'],
-    support: ['color', 'gradients']
-  },
-  backgroundColor: {
-    value: ['color', 'background'],
-    support: ['color', 'background'],
-    requiresOptOut: true
-  },
-  borderColor: {
-    value: ['border', 'color'],
-    support: ['__experimentalBorder', 'color']
-  },
-  borderRadius: {
-    value: ['border', 'radius'],
-    support: ['__experimentalBorder', 'radius'],
-    properties: {
-      borderTopLeftRadius: 'topLeft',
-      borderTopRightRadius: 'topRight',
-      borderBottomLeftRadius: 'bottomLeft',
-      borderBottomRightRadius: 'bottomRight'
-    }
-  },
-  borderStyle: {
-    value: ['border', 'style'],
-    support: ['__experimentalBorder', 'style']
-  },
-  borderWidth: {
-    value: ['border', 'width'],
-    support: ['__experimentalBorder', 'width']
-  },
-  color: {
-    value: ['color', 'text'],
-    support: ['color', 'text'],
-    requiresOptOut: true
-  },
-  linkColor: {
-    value: ['elements', 'link', 'color', 'text'],
-    support: ['color', 'link']
-  },
-  fontFamily: {
-    value: ['typography', 'fontFamily'],
-    support: ['typography', '__experimentalFontFamily']
-  },
-  fontSize: {
-    value: ['typography', 'fontSize'],
-    support: ['typography', 'fontSize']
-  },
-  fontStyle: {
-    value: ['typography', 'fontStyle'],
-    support: ['typography', '__experimentalFontStyle']
-  },
-  fontWeight: {
-    value: ['typography', 'fontWeight'],
-    support: ['typography', '__experimentalFontWeight']
-  },
-  lineHeight: {
-    value: ['typography', 'lineHeight'],
-    support: ['typography', 'lineHeight']
-  },
-  margin: {
-    value: ['spacing', 'margin'],
-    support: ['spacing', 'margin'],
-    properties: {
-      marginTop: 'top',
-      marginRight: 'right',
-      marginBottom: 'bottom',
-      marginLeft: 'left'
-    }
-  },
-  padding: {
-    value: ['spacing', 'padding'],
-    support: ['spacing', 'padding'],
-    properties: {
-      paddingTop: 'top',
-      paddingRight: 'right',
-      paddingBottom: 'bottom',
-      paddingLeft: 'left'
+// use this instead of builtin is undefined for IE8 compatibility
+if (typeof console === 'undefined') {
+  console = {
+    warn: function (msg) {
+      'use strict';
+      alert(msg);
+    },
+    log: function (msg) {
+      'use strict';
+      alert(msg);
+    },
+    error: function (msg) {
+      'use strict';
+      throw msg;
     }
-  },
-  textDecoration: {
-    value: ['typography', 'textDecoration'],
-    support: ['typography', '__experimentalTextDecoration']
-  },
-  textTransform: {
-    value: ['typography', 'textTransform'],
-    support: ['typography', '__experimentalTextTransform']
-  },
-  letterSpacing: {
-    value: ['typography', 'letterSpacing'],
-    support: ['typography', '__experimentalLetterSpacing']
-  },
-  '--wp--style--block-gap': {
-    value: ['spacing', 'blockGap'],
-    support: ['spacing', 'blockGap']
-  }
-};
-const __EXPERIMENTAL_ELEMENTS = {
-  link: 'a',
-  h1: 'h1',
-  h2: 'h2',
-  h3: 'h3',
-  h4: 'h4',
-  h5: 'h5',
-  h6: 'h6'
-};
-const __EXPERIMENTAL_PATHS_WITH_MERGE = {
-  'color.duotone': true,
-  'color.gradients': true,
-  'color.palette': true,
-  'typography.fontFamilies': true,
-  'typography.fontSizes': true
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/registration.js
-/* eslint no-console: [ 'error', { allow: [ 'error', 'warn' ] } ] */
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
+  };
+}

 /**
- * Internal dependencies
+ * Common regexes.
+ * We declare some common regexes to improve performance
  */
-
-const i18nBlockSchema = {
-  title: "block title",
-  description: "block description",
-  keywords: ["block keyword"],
-  styles: [{
-    label: "block style label"
-  }],
-  variations: [{
-    title: "block variation title",
-    description: "block variation description",
-    keywords: ["block variation keyword"]
-  }]
+showdown.helper.regexes = {
+  asteriskDashAndColon: /([*_:~])/g
 };

-
-/**
- * An icon type definition. One of a Dashicon slug, an element,
- * or a component.
- *
- * @typedef {(string|WPElement|WPComponent)} WPIcon
- *
- * @see https://developer.wordpress.org/resource/dashicons/
- */
-
 /**
- * Render behavior of a block type icon; one of a Dashicon slug, an element,
- * or a component.
- *
- * @typedef {WPIcon} WPBlockTypeIconRender
- */
-
-/**
- * An object describing a normalized block type icon.
- *
- * @typedef {Object} WPBlockTypeIconDescriptor
- *
- * @property {WPBlockTypeIconRender} src         Render behavior of the icon,
- *                                               one of a Dashicon slug, an
- *                                               element, or a component.
- * @property {string}                background  Optimal background hex string
- *                                               color when displaying icon.
- * @property {string}                foreground  Optimal foreground hex string
- *                                               color when displaying icon.
- * @property {string}                shadowColor Optimal shadow hex string
- *                                               color when displaying icon.
- */
-
-/**
- * Value to use to render the icon for a block type in an editor interface,
- * either a Dashicon slug, an element, a component, or an object describing
- * the icon.
- *
- * @typedef {(WPBlockTypeIconDescriptor|WPBlockTypeIconRender)} WPBlockTypeIcon
- */
-
-/**
- * Named block variation scopes.
- *
- * @typedef {'block'|'inserter'|'transform'} WPBlockVariationScope
- */
-
-/**
- * An object describing a variation defined for the block type.
- *
- * @typedef {Object} WPBlockVariation
- *
- * @property {string}                  name          The unique and machine-readable name.
- * @property {string}                  title         A human-readable variation title.
- * @property {string}                  [description] A detailed variation description.
- * @property {string}                  [category]    Block type category classification,
- *                                                   used in search interfaces to arrange
- *                                                   block types by category.
- * @property {WPIcon}                  [icon]        An icon helping to visualize the variation.
- * @property {boolean}                 [isDefault]   Indicates whether the current variation is
- *                                                   the default one. Defaults to `false`.
- * @property {Object}                  [attributes]  Values which override block attributes.
- * @property {Array[]}                 [innerBlocks] Initial configuration of nested blocks.
- * @property {Object}                  [example]     Example provides structured data for
- *                                                   the block preview. You can set to
- *                                                   `undefined` to disable the preview shown
- *                                                   for the block type.
- * @property {WPBlockVariationScope[]} [scope]       The list of scopes where the variation
- *                                                   is applicable. When not provided, it
- *                                                   assumes all available scopes.
- * @property {string[]}                [keywords]    An array of terms (which can be translated)
- *                                                   that help users discover the variation
- *                                                   while searching.
- * @property {Function|string[]}       [isActive]    This can be a function or an array of block attributes.
- *                                                   Function that accepts a block's attributes and the
- *                                                   variation's attributes and determines if a variation is active.
- *                                                   This function doesn't try to find a match dynamically based
- *                                                   on all block's attributes, as in many cases some attributes are irrelevant.
- *                                                   An example would be for `embed` block where we only care
- *                                                   about `providerNameSlug` attribute's value.
- *                                                   We can also use a `string[]` to tell which attributes
- *                                                   should be compared as a shorthand. Each attributes will
- *                                                   be matched and the variation will be active if all of them are matching.
- */
-
-/**
- * Defined behavior of a block type.
- *
- * @typedef {Object} WPBlockType
- *
- * @property {string}             name          Block type's namespaced name.
- * @property {string}             title         Human-readable block type label.
- * @property {string}             [description] A detailed block type description.
- * @property {string}             [category]    Block type category classification,
- *                                              used in search interfaces to arrange
- *                                              block types by category.
- * @property {WPBlockTypeIcon}    [icon]        Block type icon.
- * @property {string[]}           [keywords]    Additional keywords to produce block
- *                                              type as result in search interfaces.
- * @property {Object}             [attributes]  Block type attributes.
- * @property {WPComponent}        [save]        Optional component describing
- *                                              serialized markup structure of a
- *                                              block type.
- * @property {WPComponent}        edit          Component rendering an element to
- *                                              manipulate the attributes of a block
- *                                              in the context of an editor.
- * @property {WPBlockVariation[]} [variations]  The list of block variations.
- * @property {Object}             [example]     Example provides structured data for
- *                                              the block preview. When not defined
- *                                              then no preview is shown.
- */
-
-const serverSideBlockDefinitions = {};
-/**
- * Sets the server side block definition of blocks.
- *
- * @param {Object} definitions Server-side block definitions
- */
-// eslint-disable-next-line camelcase
-
-function unstable__bootstrapServerSideBlockDefinitions(definitions) {
-  for (const blockName of Object.keys(definitions)) {
-    // Don't overwrite if already set. It covers the case when metadata
-    // was initialized from the server.
-    if (serverSideBlockDefinitions[blockName]) {
-      // We still need to polyfill `apiVersion` for WordPress version
-      // lower than 5.7. If it isn't present in the definition shared
-      // from the server, we try to fallback to the definition passed.
-      // @see https://github.com/WordPress/gutenberg/pull/29279
-      if (serverSideBlockDefinitions[blockName].apiVersion === undefined && definitions[blockName].apiVersion) {
-        serverSideBlockDefinitions[blockName].apiVersion = definitions[blockName].apiVersion;
-      }
-
-      continue;
-    }
-
-    serverSideBlockDefinitions[blockName] = Object(external_lodash_["mapKeys"])(Object(external_lodash_["pickBy"])(definitions[blockName], value => !Object(external_lodash_["isNil"])(value)), (value, key) => Object(external_lodash_["camelCase"])(key));
-  }
-}
-/**
- * Gets block settings from metadata loaded from `block.json` file.
- *
- * @param {Object} metadata            Block metadata loaded from `block.json`.
- * @param {string} metadata.textdomain Textdomain to use with translations.
- *
- * @return {Object} Block settings.
- */
-
-function getBlockSettingsFromMetadata(_ref) {
-  let {
-    textdomain,
-    ...metadata
-  } = _ref;
-  const allowedFields = ['apiVersion', 'title', 'category', 'parent', 'icon', 'description', 'keywords', 'attributes', 'providesContext', 'usesContext', 'supports', 'styles', 'example', 'variations'];
-  const settings = Object(external_lodash_["pick"])(metadata, allowedFields);
-
-  if (textdomain) {
-    Object.keys(i18nBlockSchema).forEach(key => {
-      if (!settings[key]) {
-        return;
-      }
-
-      settings[key] = translateBlockSettingUsingI18nSchema(i18nBlockSchema[key], settings[key], textdomain);
-    });
-  }
-
-  return settings;
-}
-/**
- * Registers a new block provided a unique name and an object defining its
- * behavior. Once registered, the block is made available as an option to any
- * editor interface where blocks are implemented.
- *
- * @param {string|Object} blockNameOrMetadata Block type name or its metadata.
- * @param {Object}        settings            Block settings.
- *
- * @return {?WPBlockType} The block, if it has been successfully registered;
- *                    otherwise `undefined`.
- */
-
-
-function registerBlockType(blockNameOrMetadata, settings) {
-  const name = Object(external_lodash_["isObject"])(blockNameOrMetadata) ? blockNameOrMetadata.name : blockNameOrMetadata;
-
-  if (typeof name !== 'string') {
-    console.error('Block names must be strings.');
-    return;
-  }
-
-  if (!/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(name)) {
-    console.error('Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block');
-    return;
-  }
-
-  if (Object(external_wp_data_["select"])(store).getBlockType(name)) {
-    console.error('Block "' + name + '" is already registered.');
-    return;
-  }
-
-  if (Object(external_lodash_["isObject"])(blockNameOrMetadata)) {
-    unstable__bootstrapServerSideBlockDefinitions({
-      [name]: getBlockSettingsFromMetadata(blockNameOrMetadata)
-    });
-  }
-
-  const blockType = {
-    name,
-    icon: BLOCK_ICON_DEFAULT,
-    keywords: [],
-    attributes: {},
-    providesContext: {},
-    usesContext: [],
-    supports: {},
-    styles: [],
-    variations: [],
-    save: () => null,
-    ...(serverSideBlockDefinitions === null || serverSideBlockDefinitions === void 0 ? void 0 : serverSideBlockDefinitions[name]),
-    ...settings
-  };
-
-  Object(external_wp_data_["dispatch"])(store).__experimentalRegisterBlockType(blockType);
-
-  return Object(external_wp_data_["select"])(store).getBlockType(name);
-}
-/**
- * Translates block settings provided with metadata using the i18n schema.
- *
- * @param {string|string[]|Object[]} i18nSchema   I18n schema for the block setting.
- * @param {string|string[]|Object[]} settingValue Value for the block setting.
- * @param {string}                   textdomain   Textdomain to use with translations.
- *
- * @return {string|string[]|Object[]} Translated setting.
- */
-
-function translateBlockSettingUsingI18nSchema(i18nSchema, settingValue, textdomain) {
-  if (Object(external_lodash_["isString"])(i18nSchema) && Object(external_lodash_["isString"])(settingValue)) {
-    // eslint-disable-next-line @wordpress/i18n-no-variables, @wordpress/i18n-text-domain
-    return Object(external_wp_i18n_["_x"])(settingValue, i18nSchema, textdomain);
-  }
-
-  if (Object(external_lodash_["isArray"])(i18nSchema) && !Object(external_lodash_["isEmpty"])(i18nSchema) && Object(external_lodash_["isArray"])(settingValue)) {
-    return settingValue.map(value => translateBlockSettingUsingI18nSchema(i18nSchema[0], value, textdomain));
-  }
-
-  if (Object(external_lodash_["isObject"])(i18nSchema) && !Object(external_lodash_["isEmpty"])(i18nSchema) && Object(external_lodash_["isObject"])(settingValue)) {
-    return Object.keys(settingValue).reduce((accumulator, key) => {
-      if (!i18nSchema[key]) {
-        accumulator[key] = settingValue[key];
-        return accumulator;
-      }
-
-      accumulator[key] = translateBlockSettingUsingI18nSchema(i18nSchema[key], settingValue[key], textdomain);
-      return accumulator;
-    }, {});
-  }
-
-  return settingValue;
-}
-/**
- * Registers a new block collection to group blocks in the same namespace in the inserter.
- *
- * @param {string} namespace       The namespace to group blocks by in the inserter; corresponds to the block namespace.
- * @param {Object} settings        The block collection settings.
- * @param {string} settings.title  The title to display in the block inserter.
- * @param {Object} [settings.icon] The icon to display in the block inserter.
- */
-
-
-function registerBlockCollection(namespace, _ref2) {
-  let {
-    title,
-    icon
-  } = _ref2;
-  Object(external_wp_data_["dispatch"])(store).addBlockCollection(namespace, title, icon);
-}
-/**
- * Unregisters a block collection
- *
- * @param {string} namespace The namespace to group blocks by in the inserter; corresponds to the block namespace
- *
- */
-
-function unregisterBlockCollection(namespace) {
-  Object(external_wp_data_["dispatch"])(store).removeBlockCollection(namespace);
-}
-/**
- * Unregisters a block.
- *
- * @param {string} name Block name.
- *
- * @return {?WPBlockType} The previous block value, if it has been successfully
- *                    unregistered; otherwise `undefined`.
- */
-
-function unregisterBlockType(name) {
-  const oldBlock = Object(external_wp_data_["select"])(store).getBlockType(name);
-
-  if (!oldBlock) {
-    console.error('Block "' + name + '" is not registered.');
-    return;
-  }
-
-  Object(external_wp_data_["dispatch"])(store).removeBlockTypes(name);
-  return oldBlock;
-}
-/**
- * Assigns name of block for handling non-block content.
- *
- * @param {string} blockName Block name.
- */
-
-function setFreeformContentHandlerName(blockName) {
-  Object(external_wp_data_["dispatch"])(store).setFreeformFallbackBlockName(blockName);
-}
-/**
- * Retrieves name of block handling non-block content, or undefined if no
- * handler has been defined.
- *
- * @return {?string} Block name.
- */
-
-function getFreeformContentHandlerName() {
-  return Object(external_wp_data_["select"])(store).getFreeformFallbackBlockName();
-}
-/**
- * Retrieves name of block used for handling grouping interactions.
- *
- * @return {?string} Block name.
- */
-
-function registration_getGroupingBlockName() {
-  return Object(external_wp_data_["select"])(store).getGroupingBlockName();
-}
-/**
- * Assigns name of block handling unregistered block types.
- *
- * @param {string} blockName Block name.
- */
-
-function setUnregisteredTypeHandlerName(blockName) {
-  Object(external_wp_data_["dispatch"])(store).setUnregisteredFallbackBlockName(blockName);
-}
-/**
- * Retrieves name of block handling unregistered block types, or undefined if no
- * handler has been defined.
- *
- * @return {?string} Block name.
- */
-
-function getUnregisteredTypeHandlerName() {
-  return Object(external_wp_data_["select"])(store).getUnregisteredFallbackBlockName();
-}
-/**
- * Assigns the default block name.
- *
- * @param {string} name Block name.
- */
-
-function setDefaultBlockName(name) {
-  Object(external_wp_data_["dispatch"])(store).setDefaultBlockName(name);
-}
-/**
- * Assigns name of block for handling block grouping interactions.
- *
- * @param {string} name Block name.
- */
-
-function setGroupingBlockName(name) {
-  Object(external_wp_data_["dispatch"])(store).setGroupingBlockName(name);
-}
-/**
- * Retrieves the default block name.
- *
- * @return {?string} Block name.
- */
-
-function registration_getDefaultBlockName() {
-  return Object(external_wp_data_["select"])(store).getDefaultBlockName();
-}
-/**
- * Returns a registered block type.
- *
- * @param {string} name Block name.
- *
- * @return {?Object} Block type.
- */
-
-function registration_getBlockType(name) {
-  var _select;
-
-  return (_select = Object(external_wp_data_["select"])(store)) === null || _select === void 0 ? void 0 : _select.getBlockType(name);
-}
-/**
- * Returns all registered blocks.
- *
- * @return {Array} Block settings.
- */
-
-function registration_getBlockTypes() {
-  return Object(external_wp_data_["select"])(store).getBlockTypes();
-}
-/**
- * Returns the block support value for a feature, if defined.
- *
- * @param {(string|Object)} nameOrType      Block name or type object
- * @param {string}          feature         Feature to retrieve
- * @param {*}               defaultSupports Default value to return if not
- *                                          explicitly defined
- *
- * @return {?*} Block support value
- */
-
-function registration_getBlockSupport(nameOrType, feature, defaultSupports) {
-  return Object(external_wp_data_["select"])(store).getBlockSupport(nameOrType, feature, defaultSupports);
-}
-/**
- * Returns true if the block defines support for a feature, or false otherwise.
- *
- * @param {(string|Object)} nameOrType      Block name or type object.
- * @param {string}          feature         Feature to test.
- * @param {boolean}         defaultSupports Whether feature is supported by
- *                                          default if not explicitly defined.
- *
- * @return {boolean} Whether block supports feature.
- */
-
-function registration_hasBlockSupport(nameOrType, feature, defaultSupports) {
-  return Object(external_wp_data_["select"])(store).hasBlockSupport(nameOrType, feature, defaultSupports);
-}
-/**
- * Determines whether or not the given block is a reusable block. This is a
- * special block type that is used to point to a global block stored via the
- * API.
- *
- * @param {Object} blockOrType Block or Block Type to test.
- *
- * @return {boolean} Whether the given block is a reusable block.
- */
-
-function isReusableBlock(blockOrType) {
-  return (blockOrType === null || blockOrType === void 0 ? void 0 : blockOrType.name) === 'core/block';
-}
-/**
- * Determines whether or not the given block is a template part. This is a
- * special block type that allows composing a page template out of reusable
- * design elements.
- *
- * @param {Object} blockOrType Block or Block Type to test.
- *
- * @return {boolean} Whether the given block is a template part.
- */
-
-function isTemplatePart(blockOrType) {
-  return blockOrType.name === 'core/template-part';
-}
-/**
- * Returns an array with the child blocks of a given block.
- *
- * @param {string} blockName Name of block (example: “latest-posts”).
- *
- * @return {Array} Array of child block names.
- */
-
-const registration_getChildBlockNames = blockName => {
-  return Object(external_wp_data_["select"])(store).getChildBlockNames(blockName);
-};
-/**
- * Returns a boolean indicating if a block has child blocks or not.
- *
- * @param {string} blockName Name of block (example: “latest-posts”).
- *
- * @return {boolean} True if a block contains child blocks and false otherwise.
- */
-
-const registration_hasChildBlocks = blockName => {
-  return Object(external_wp_data_["select"])(store).hasChildBlocks(blockName);
-};
-/**
- * Returns a boolean indicating if a block has at least one child block with inserter support.
- *
- * @param {string} blockName Block type name.
- *
- * @return {boolean} True if a block contains at least one child blocks with inserter support
- *                   and false otherwise.
- */
-
-const registration_hasChildBlocksWithInserterSupport = blockName => {
-  return Object(external_wp_data_["select"])(store).hasChildBlocksWithInserterSupport(blockName);
-};
-/**
- * Registers a new block style variation for the given block.
- *
- * @param {string} blockName      Name of block (example: “core/latest-posts”).
- * @param {Object} styleVariation Object containing `name` which is the class name applied to the block and `label` which identifies the variation to the user.
- */
-
-const registerBlockStyle = (blockName, styleVariation) => {
-  Object(external_wp_data_["dispatch"])(store).addBlockStyles(blockName, styleVariation);
-};
-/**
- * Unregisters a block style variation for the given block.
- *
- * @param {string} blockName          Name of block (example: “core/latest-posts”).
- * @param {string} styleVariationName Name of class applied to the block.
- */
-
-const unregisterBlockStyle = (blockName, styleVariationName) => {
-  Object(external_wp_data_["dispatch"])(store).removeBlockStyles(blockName, styleVariationName);
-};
-/**
- * Returns an array with the variations of a given block type.
- *
- * @param {string}                blockName Name of block (example: “core/columns”).
- * @param {WPBlockVariationScope} [scope]   Block variation scope name.
- *
- * @return {(WPBlockVariation[]|void)} Block variations.
- */
-
-const registration_getBlockVariations = (blockName, scope) => {
-  return Object(external_wp_data_["select"])(store).getBlockVariations(blockName, scope);
-};
-/**
- * Registers a new block variation for the given block type.
- *
- * @param {string}           blockName Name of the block (example: “core/columns”).
- * @param {WPBlockVariation} variation Object describing a block variation.
- */
-
-const registerBlockVariation = (blockName, variation) => {
-  Object(external_wp_data_["dispatch"])(store).addBlockVariations(blockName, variation);
-};
-/**
- * Unregisters a block variation defined for the given block type.
- *
- * @param {string} blockName     Name of the block (example: “core/columns”).
- * @param {string} variationName Name of the variation defined for the block.
- */
-
-const unregisterBlockVariation = (blockName, variationName) => {
-  Object(external_wp_data_["dispatch"])(store).removeBlockVariations(blockName, variationName);
-};
-
-// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules
-var v4 = __webpack_require__("7Cbv");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/factory.js
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * Returns a block object given its type and attributes.
- *
- * @param {string} name        Block name.
- * @param {Object} attributes  Block attributes.
- * @param {?Array} innerBlocks Nested blocks.
- *
- * @return {Object} Block object.
- */
-
-function createBlock(name) {
-  let attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  let innerBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
-
-  const sanitizedAttributes = __experimentalSanitizeBlockAttributes(name, attributes);
-
-  const clientId = Object(v4["a" /* default */])(); // Blocks are stored with a unique ID, the assigned type name, the block
-  // attributes, and their inner blocks.
-
-  return {
-    clientId,
-    name,
-    isValid: true,
-    attributes: sanitizedAttributes,
-    innerBlocks
-  };
-}
-/**
- * Given an array of InnerBlocks templates or Block Objects,
- * returns an array of created Blocks from them.
- * It handles the case of having InnerBlocks as Blocks by
- * converting them to the proper format to continue recursively.
- *
- * @param {Array} innerBlocksOrTemplate Nested blocks or InnerBlocks templates.
- *
- * @return {Object[]} Array of Block objects.
- */
-
-function createBlocksFromInnerBlocksTemplate() {
-  let innerBlocksOrTemplate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  return innerBlocksOrTemplate.map(innerBlock => {
-    const innerBlockTemplate = Array.isArray(innerBlock) ? innerBlock : [innerBlock.name, innerBlock.attributes, innerBlock.innerBlocks];
-    const [name, attributes, innerBlocks = []] = innerBlockTemplate;
-    return createBlock(name, attributes, createBlocksFromInnerBlocksTemplate(innerBlocks));
-  });
-}
-/**
- * Given a block object, returns a copy of the block object while sanitizing its attributes,
- * optionally merging new attributes and/or replacing its inner blocks.
- *
- * @param {Object} block           Block instance.
- * @param {Object} mergeAttributes Block attributes.
- * @param {?Array} newInnerBlocks  Nested blocks.
- *
- * @return {Object} A cloned block.
- */
-
-function __experimentalCloneSanitizedBlock(block) {
-  let mergeAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  let newInnerBlocks = arguments.length > 2 ? arguments[2] : undefined;
-  const clientId = Object(v4["a" /* default */])();
-
-  const sanitizedAttributes = __experimentalSanitizeBlockAttributes(block.name, { ...block.attributes,
-    ...mergeAttributes
-  });
-
-  return { ...block,
-    clientId,
-    attributes: sanitizedAttributes,
-    innerBlocks: newInnerBlocks || block.innerBlocks.map(innerBlock => __experimentalCloneSanitizedBlock(innerBlock))
-  };
-}
-/**
- * Given a block object, returns a copy of the block object,
- * optionally merging new attributes and/or replacing its inner blocks.
- *
- * @param {Object} block           Block instance.
- * @param {Object} mergeAttributes Block attributes.
- * @param {?Array} newInnerBlocks  Nested blocks.
- *
- * @return {Object} A cloned block.
- */
-
-function cloneBlock(block) {
-  let mergeAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  let newInnerBlocks = arguments.length > 2 ? arguments[2] : undefined;
-  const clientId = Object(v4["a" /* default */])();
-  return { ...block,
-    clientId,
-    attributes: { ...block.attributes,
-      ...mergeAttributes
-    },
-    innerBlocks: newInnerBlocks || block.innerBlocks.map(innerBlock => cloneBlock(innerBlock))
-  };
-}
-/**
- * Returns a boolean indicating whether a transform is possible based on
- * various bits of context.
- *
- * @param {Object} transform The transform object to validate.
- * @param {string} direction Is this a 'from' or 'to' transform.
- * @param {Array}  blocks    The blocks to transform from.
- *
- * @return {boolean} Is the transform possible?
- */
-
-const isPossibleTransformForSource = (transform, direction, blocks) => {
-  if (Object(external_lodash_["isEmpty"])(blocks)) {
-    return false;
-  } // If multiple blocks are selected, only multi block transforms
-  // or wildcard transforms are allowed.
-
-
-  const isMultiBlock = blocks.length > 1;
-  const firstBlockName = Object(external_lodash_["first"])(blocks).name;
-  const isValidForMultiBlocks = isWildcardBlockTransform(transform) || !isMultiBlock || transform.isMultiBlock;
-
-  if (!isValidForMultiBlocks) {
-    return false;
-  } // Check non-wildcard transforms to ensure that transform is valid
-  // for a block selection of multiple blocks of different types
-
-
-  if (!isWildcardBlockTransform(transform) && !Object(external_lodash_["every"])(blocks, {
-    name: firstBlockName
-  })) {
-    return false;
-  } // Only consider 'block' type transforms as valid.
-
-
-  const isBlockType = transform.type === 'block';
-
-  if (!isBlockType) {
-    return false;
-  } // Check if the transform's block name matches the source block (or is a wildcard)
-  // only if this is a transform 'from'.
-
-
-  const sourceBlock = Object(external_lodash_["first"])(blocks);
-  const hasMatchingName = direction !== 'from' || transform.blocks.indexOf(sourceBlock.name) !== -1 || isWildcardBlockTransform(transform);
-
-  if (!hasMatchingName) {
-    return false;
-  } // Don't allow single Grouping blocks to be transformed into
-  // a Grouping block.
-
-
-  if (!isMultiBlock && isContainerGroupBlock(sourceBlock.name) && isContainerGroupBlock(transform.blockName)) {
-    return false;
-  } // If the transform has a `isMatch` function specified, check that it returns true.
-
-
-  if (Object(external_lodash_["isFunction"])(transform.isMatch)) {
-    const attributes = transform.isMultiBlock ? blocks.map(block => block.attributes) : sourceBlock.attributes;
-    const block = transform.isMultiBlock ? blocks : sourceBlock;
-
-    if (!transform.isMatch(attributes, block)) {
-      return false;
-    }
-  }
-
-  if (transform.usingMobileTransformations && isWildcardBlockTransform(transform) && !isContainerGroupBlock(sourceBlock.name)) {
-    return false;
-  }
-
-  return true;
-};
-/**
- * Returns block types that the 'blocks' can be transformed into, based on
- * 'from' transforms on other blocks.
- *
- * @param {Array} blocks The blocks to transform from.
- *
- * @return {Array} Block types that the blocks can be transformed into.
- */
-
-
-const getBlockTypesForPossibleFromTransforms = blocks => {
-  if (Object(external_lodash_["isEmpty"])(blocks)) {
-    return [];
-  }
-
-  const allBlockTypes = registration_getBlockTypes(); // filter all blocks to find those with a 'from' transform.
-
-  const blockTypesWithPossibleFromTransforms = Object(external_lodash_["filter"])(allBlockTypes, blockType => {
-    const fromTransforms = getBlockTransforms('from', blockType.name);
-    return !!findTransform(fromTransforms, transform => {
-      return isPossibleTransformForSource(transform, 'from', blocks);
-    });
-  });
-  return blockTypesWithPossibleFromTransforms;
-};
-/**
- * Returns block types that the 'blocks' can be transformed into, based on
- * the source block's own 'to' transforms.
- *
- * @param {Array} blocks The blocks to transform from.
- *
- * @return {Array} Block types that the source can be transformed into.
- */
-
-
-const getBlockTypesForPossibleToTransforms = blocks => {
-  if (Object(external_lodash_["isEmpty"])(blocks)) {
-    return [];
-  }
-
-  const sourceBlock = Object(external_lodash_["first"])(blocks);
-  const blockType = registration_getBlockType(sourceBlock.name);
-  const transformsTo = blockType ? getBlockTransforms('to', blockType.name) : []; // filter all 'to' transforms to find those that are possible.
-
-  const possibleTransforms = Object(external_lodash_["filter"])(transformsTo, transform => {
-    return transform && isPossibleTransformForSource(transform, 'to', blocks);
-  }); // Build a list of block names using the possible 'to' transforms.
-
-  const blockNames = Object(external_lodash_["flatMap"])(possibleTransforms, transformation => transformation.blocks); // Map block names to block types.
-
-  return blockNames.map(name => registration_getBlockType(name));
-};
-/**
- * Determines whether transform is a "block" type
- * and if so whether it is a "wildcard" transform
- * ie: targets "any" block type
- *
- * @param {Object} t the Block transform object
- *
- * @return {boolean} whether transform is a wildcard transform
- */
-
-
-const isWildcardBlockTransform = t => t && t.type === 'block' && Array.isArray(t.blocks) && t.blocks.includes('*');
-/**
- * Determines whether the given Block is the core Block which
- * acts as a container Block for other Blocks as part of the
- * Grouping mechanics
- *
- * @param {string} name the name of the Block to test against
- *
- * @return {boolean} whether or not the Block is the container Block type
- */
-
-const isContainerGroupBlock = name => name === registration_getGroupingBlockName();
-/**
- * Returns an array of block types that the set of blocks received as argument
- * can be transformed into.
- *
- * @param {Array} blocks Blocks array.
- *
- * @return {Array} Block types that the blocks argument can be transformed to.
- */
-
-function getPossibleBlockTransformations(blocks) {
-  if (Object(external_lodash_["isEmpty"])(blocks)) {
-    return [];
-  }
-
-  const blockTypesForFromTransforms = getBlockTypesForPossibleFromTransforms(blocks);
-  const blockTypesForToTransforms = getBlockTypesForPossibleToTransforms(blocks);
-  return Object(external_lodash_["uniq"])([...blockTypesForFromTransforms, ...blockTypesForToTransforms]);
-}
-/**
- * Given an array of transforms, returns the highest-priority transform where
- * the predicate function returns a truthy value. A higher-priority transform
- * is one with a lower priority value (i.e. first in priority order). Returns
- * null if the transforms set is empty or the predicate function returns a
- * falsey value for all entries.
- *
- * @param {Object[]} transforms Transforms to search.
- * @param {Function} predicate  Function returning true on matching transform.
- *
- * @return {?Object} Highest-priority transform candidate.
- */
-
-function findTransform(transforms, predicate) {
-  // The hooks library already has built-in mechanisms for managing priority
-  // queue, so leverage via locally-defined instance.
-  const hooks = Object(external_wp_hooks_["createHooks"])();
-
-  for (let i = 0; i < transforms.length; i++) {
-    const candidate = transforms[i];
-
-    if (predicate(candidate)) {
-      hooks.addFilter('transform', 'transform/' + i.toString(), result => result ? result : candidate, candidate.priority);
-    }
-  } // Filter name is arbitrarily chosen but consistent with above aggregation.
-
-
-  return hooks.applyFilters('transform', null);
-}
-/**
- * Returns normal block transforms for a given transform direction, optionally
- * for a specific block by name, or an empty array if there are no transforms.
- * If no block name is provided, returns transforms for all blocks. A normal
- * transform object includes `blockName` as a property.
- *
- * @param {string}        direction       Transform direction ("to", "from").
- * @param {string|Object} blockTypeOrName Block type or name.
- *
- * @return {Array} Block transforms for direction.
- */
-
-function getBlockTransforms(direction, blockTypeOrName) {
-  // When retrieving transforms for all block types, recurse into self.
-  if (blockTypeOrName === undefined) {
-    return Object(external_lodash_["flatMap"])(registration_getBlockTypes(), _ref => {
-      let {
-        name
-      } = _ref;
-      return getBlockTransforms(direction, name);
-    });
-  } // Validate that block type exists and has array of direction.
-
-
-  const blockType = normalizeBlockType(blockTypeOrName);
-  const {
-    name: blockName,
-    transforms
-  } = blockType || {};
-
-  if (!transforms || !Array.isArray(transforms[direction])) {
-    return [];
-  }
-
-  const usingMobileTransformations = transforms.supportedMobileTransforms && Array.isArray(transforms.supportedMobileTransforms);
-  const filteredTransforms = usingMobileTransformations ? Object(external_lodash_["filter"])(transforms[direction], t => {
-    if (t.type === 'raw') {
-      return true;
-    }
-
-    if (!t.blocks || !t.blocks.length) {
-      return false;
-    }
-
-    if (isWildcardBlockTransform(t)) {
-      return true;
-    }
-
-    return Object(external_lodash_["every"])(t.blocks, transformBlockName => transforms.supportedMobileTransforms.includes(transformBlockName));
-  }) : transforms[direction]; // Map transforms to normal form.
-
-  return filteredTransforms.map(transform => ({ ...transform,
-    blockName,
-    usingMobileTransformations
-  }));
-}
-/**
- * Switch one or more blocks into one or more blocks of the new block type.
- *
- * @param {Array|Object} blocks Blocks array or block object.
- * @param {string}       name   Block name.
- *
- * @return {?Array} Array of blocks or null.
- */
-
-function switchToBlockType(blocks, name) {
-  const blocksArray = Object(external_lodash_["castArray"])(blocks);
-  const isMultiBlock = blocksArray.length > 1;
-  const firstBlock = blocksArray[0];
-  const sourceName = firstBlock.name; // Find the right transformation by giving priority to the "to"
-  // transformation.
-
-  const transformationsFrom = getBlockTransforms('from', name);
-  const transformationsTo = getBlockTransforms('to', sourceName);
-  const transformation = findTransform(transformationsTo, t => t.type === 'block' && (isWildcardBlockTransform(t) || t.blocks.indexOf(name) !== -1) && (!isMultiBlock || t.isMultiBlock)) || findTransform(transformationsFrom, t => t.type === 'block' && (isWildcardBlockTransform(t) || t.blocks.indexOf(sourceName) !== -1) && (!isMultiBlock || t.isMultiBlock)); // Stop if there is no valid transformation.
-
-  if (!transformation) {
-    return null;
-  }
-
-  let transformationResults;
-
-  if (transformation.isMultiBlock) {
-    if (Object(external_lodash_["has"])(transformation, '__experimentalConvert')) {
-      transformationResults = transformation.__experimentalConvert(blocksArray);
-    } else {
-      transformationResults = transformation.transform(blocksArray.map(currentBlock => currentBlock.attributes), blocksArray.map(currentBlock => currentBlock.innerBlocks));
-    }
-  } else if (Object(external_lodash_["has"])(transformation, '__experimentalConvert')) {
-    transformationResults = transformation.__experimentalConvert(firstBlock);
-  } else {
-    transformationResults = transformation.transform(firstBlock.attributes, firstBlock.innerBlocks);
-  } // Ensure that the transformation function returned an object or an array
-  // of objects.
-
-
-  if (!Object(external_lodash_["isObjectLike"])(transformationResults)) {
-    return null;
-  } // If the transformation function returned a single object, we want to work
-  // with an array instead.
-
-
-  transformationResults = Object(external_lodash_["castArray"])(transformationResults); // Ensure that every block object returned by the transformation has a
-  // valid block type.
-
-  if (transformationResults.some(result => !registration_getBlockType(result.name))) {
-    return null;
-  }
-
-  const hasSwitchedBlock = Object(external_lodash_["some"])(transformationResults, result => result.name === name); // Ensure that at least one block object returned by the transformation has
-  // the expected "destination" block type.
-
-  if (!hasSwitchedBlock) {
-    return null;
-  }
-
-  const ret = transformationResults.map(result => {
-    /**
-     * Filters an individual transform result from block transformation.
-     * All of the original blocks are passed, since transformations are
-     * many-to-many, not one-to-one.
-     *
-     * @param {Object}   transformedBlock The transformed block.
-     * @param {Object[]} blocks           Original blocks transformed.
-     */
-    return Object(external_wp_hooks_["applyFilters"])('blocks.switchToBlockType.transformedBlock', result, blocks);
-  });
-  return ret;
-}
-/**
- * Create a block object from the example API.
- *
- * @param {string} name
- * @param {Object} example
- *
- * @return {Object} block.
- */
-
-const getBlockFromExample = (name, example) => {
-  return createBlock(name, example.attributes, Object(external_lodash_["map"])(example.innerBlocks, innerBlock => getBlockFromExample(innerBlock.name, innerBlock)));
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/utils.js
-/**
- * External dependencies
- */
-
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-Object(colord["b" /* extend */])([plugins_names["a" /* default */], a11y["a" /* default */]]);
-/**
- * Array of icon colors containing a color to be used if the icon color
- * was not explicitly set but the icon background color was.
- *
- * @type {Object}
- */
-
-const ICON_COLORS = ['#191e23', '#f8f9f9'];
-/**
- * Determines whether the block is a default block
- * and its attributes are equal to the default attributes
- * which means the block is unmodified.
- *
- * @param {WPBlock} block Block Object
- *
- * @return {boolean} Whether the block is an unmodified default block
- */
-
-function isUnmodifiedDefaultBlock(block) {
-  const defaultBlockName = registration_getDefaultBlockName();
-
-  if (block.name !== defaultBlockName) {
-    return false;
-  } // Cache a created default block if no cache exists or the default block
-  // name changed.
-
-
-  if (!isUnmodifiedDefaultBlock.block || isUnmodifiedDefaultBlock.block.name !== defaultBlockName) {
-    isUnmodifiedDefaultBlock.block = createBlock(defaultBlockName);
-  }
-
-  const newDefaultBlock = isUnmodifiedDefaultBlock.block;
-  const blockType = registration_getBlockType(defaultBlockName);
-  return Object(external_lodash_["every"])(blockType === null || blockType === void 0 ? void 0 : blockType.attributes, (value, key) => newDefaultBlock.attributes[key] === block.attributes[key]);
-}
-/**
- * Function that checks if the parameter is a valid icon.
- *
- * @param {*} icon Parameter to be checked.
- *
- * @return {boolean} True if the parameter is a valid icon and false otherwise.
- */
-
-function isValidIcon(icon) {
-  return !!icon && (Object(external_lodash_["isString"])(icon) || Object(external_wp_element_["isValidElement"])(icon) || Object(external_lodash_["isFunction"])(icon) || icon instanceof external_wp_element_["Component"]);
-}
-/**
- * Function that receives an icon as set by the blocks during the registration
- * and returns a new icon object that is normalized so we can rely on just on possible icon structure
- * in the codebase.
- *
- * @param {WPBlockTypeIconRender} icon Render behavior of a block type icon;
- *                                     one of a Dashicon slug, an element, or a
- *                                     component.
- *
- * @return {WPBlockTypeIconDescriptor} Object describing the icon.
- */
-
-function normalizeIconObject(icon) {
-  icon = icon || BLOCK_ICON_DEFAULT;
-
-  if (isValidIcon(icon)) {
-    return {
-      src: icon
-    };
-  }
-
-  if (Object(external_lodash_["has"])(icon, ['background'])) {
-    const colordBgColor = Object(colord["a" /* colord */])(icon.background);
-    return { ...icon,
-      foreground: icon.foreground ? icon.foreground : Object(external_lodash_["maxBy"])(ICON_COLORS, iconColor => colordBgColor.contrast(iconColor)),
-      shadowColor: colordBgColor.alpha(0.3).toRgbString()
-    };
-  }
-
-  return icon;
-}
-/**
- * Normalizes block type passed as param. When string is passed then
- * it converts it to the matching block type object.
- * It passes the original object otherwise.
- *
- * @param {string|Object} blockTypeOrName Block type or name.
- *
- * @return {?Object} Block type.
- */
-
-function normalizeBlockType(blockTypeOrName) {
-  if (Object(external_lodash_["isString"])(blockTypeOrName)) {
-    return registration_getBlockType(blockTypeOrName);
-  }
-
-  return blockTypeOrName;
-}
-/**
- * Get the label for the block, usually this is either the block title,
- * or the value of the block's `label` function when that's specified.
- *
- * @param {Object} blockType  The block type.
- * @param {Object} attributes The values of the block's attributes.
- * @param {Object} context    The intended use for the label.
- *
- * @return {string} The block label.
- */
-
-function getBlockLabel(blockType, attributes) {
-  let context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'visual';
-  const {
-    __experimentalLabel: getLabel,
-    title
-  } = blockType;
-  const label = getLabel && getLabel(attributes, {
-    context
-  });
-
-  if (!label) {
-    return title;
-  } // Strip any HTML (i.e. RichText formatting) before returning.
-
-
-  return Object(external_wp_dom_["__unstableStripHTML"])(label);
-}
-/**
- * Get a label for the block for use by screenreaders, this is more descriptive
- * than the visual label and includes the block title and the value of the
- * `getLabel` function if it's specified.
- *
- * @param {Object}  blockType              The block type.
- * @param {Object}  attributes             The values of the block's attributes.
- * @param {?number} position               The position of the block in the block list.
- * @param {string}  [direction='vertical'] The direction of the block layout.
- *
- * @return {string} The block label.
- */
-
-function getAccessibleBlockLabel(blockType, attributes, position) {
-  let direction = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'vertical';
-  // `title` is already localized, `label` is a user-supplied value.
-  const title = blockType === null || blockType === void 0 ? void 0 : blockType.title;
-  const label = blockType ? getBlockLabel(blockType, attributes, 'accessibility') : '';
-  const hasPosition = position !== undefined; // getBlockLabel returns the block title as a fallback when there's no label,
-  // if it did return the title, this function needs to avoid adding the
-  // title twice within the accessible label. Use this `hasLabel` boolean to
-  // handle that.
-
-  const hasLabel = label && label !== title;
-
-  if (hasPosition && direction === 'vertical') {
-    if (hasLabel) {
-      return Object(external_wp_i18n_["sprintf"])(
-      /* translators: accessibility text. 1: The block title. 2: The block row number. 3: The block label.. */
-      Object(external_wp_i18n_["__"])('%1$s Block. Row %2$d. %3$s'), title, position, label);
-    }
-
-    return Object(external_wp_i18n_["sprintf"])(
-    /* translators: accessibility text. 1: The block title. 2: The block row number. */
-    Object(external_wp_i18n_["__"])('%1$s Block. Row %2$d'), title, position);
-  } else if (hasPosition && direction === 'horizontal') {
-    if (hasLabel) {
-      return Object(external_wp_i18n_["sprintf"])(
-      /* translators: accessibility text. 1: The block title. 2: The block column number. 3: The block label.. */
-      Object(external_wp_i18n_["__"])('%1$s Block. Column %2$d. %3$s'), title, position, label);
-    }
-
-    return Object(external_wp_i18n_["sprintf"])(
-    /* translators: accessibility text. 1: The block title. 2: The block column number. */
-    Object(external_wp_i18n_["__"])('%1$s Block. Column %2$d'), title, position);
-  }
-
-  if (hasLabel) {
-    return Object(external_wp_i18n_["sprintf"])(
-    /* translators: accessibility text. %1: The block title. %2: The block label. */
-    Object(external_wp_i18n_["__"])('%1$s Block. %2$s'), title, label);
-  }
-
-  return Object(external_wp_i18n_["sprintf"])(
-  /* translators: accessibility text. %s: The block title. */
-  Object(external_wp_i18n_["__"])('%s Block'), title);
-}
-/**
- * Ensure attributes contains only values defined by block type, and merge
- * default values for missing attributes.
- *
- * @param {string} name       The block's name.
- * @param {Object} attributes The block's attributes.
- * @return {Object} The sanitized attributes.
- */
-
-function __experimentalSanitizeBlockAttributes(name, attributes) {
-  // Get the type definition associated with a registered block.
-  const blockType = registration_getBlockType(name);
-
-  if (undefined === blockType) {
-    throw new Error(`Block type '${name}' is not registered.`);
-  }
-
-  return Object(external_lodash_["reduce"])(blockType.attributes, (accumulator, schema, key) => {
-    const value = attributes[key];
-
-    if (undefined !== value) {
-      accumulator[key] = value;
-    } else if (schema.hasOwnProperty('default')) {
-      accumulator[key] = schema.default;
-    }
-
-    if (['node', 'children'].indexOf(schema.source) !== -1) {
-      // Ensure value passed is always an array, which we're expecting in
-      // the RichText component to handle the deprecated value.
-      if (typeof accumulator[key] === 'string') {
-        accumulator[key] = [accumulator[key]];
-      } else if (!Array.isArray(accumulator[key])) {
-        accumulator[key] = [];
-      }
-    }
-
-    return accumulator;
-  }, {});
-}
-/**
- * Filter block attributes by `role` and return their names.
- *
- * @param {string} name Block attribute's name.
- * @param {string} role The role of a block attribute.
- *
- * @return {string[]} The attribute names that have the provided role.
- */
-
-function __experimentalGetBlockAttributesNamesByRole(name, role) {
-  var _getBlockType;
-
-  const attributes = (_getBlockType = registration_getBlockType(name)) === null || _getBlockType === void 0 ? void 0 : _getBlockType.attributes;
-  if (!attributes) return [];
-  const attributesNames = Object.keys(attributes);
-  if (!role) return attributesNames;
-  return attributesNames.filter(attributeName => {
-    var _attributes$attribute;
-
-    return ((_attributes$attribute = attributes[attributeName]) === null || _attributes$attribute === void 0 ? void 0 : _attributes$attribute.__experimentalRole) === role;
-  });
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/actions.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-/** @typedef {import('../api/registration').WPBlockVariation} WPBlockVariation */
-
-const {
-  error,
-  warn
-} = window.console;
-/**
- * Mapping of legacy category slugs to their latest normal values, used to
- * accommodate updates of the default set of block categories.
- *
- * @type {Record<string,string>}
- */
-
-const LEGACY_CATEGORY_MAPPING = {
-  common: 'text',
-  formatting: 'text',
-  layout: 'design'
-};
-/**
- * Takes the unprocessed block type data and applies all the existing filters for the registered block type.
- * Next, it validates all the settings and performs additional processing to the block type definition.
- *
- * @param {WPBlockType} blockType Unprocessed block type settings.
- *
- * @return {?WPBlockType} The block, if it has been successfully registered; otherwise `undefined`.
- */
-
-function processBlockType(blockType) {
-  const {
-    name
-  } = blockType;
-  const settings = Object(external_wp_hooks_["applyFilters"])('blocks.registerBlockType', { ...blockType
-  }, name);
-
-  if (settings.deprecated) {
-    settings.deprecated = settings.deprecated.map(deprecation => Object(external_lodash_["pick"])( // Only keep valid deprecation keys.
-    Object(external_wp_hooks_["applyFilters"])('blocks.registerBlockType', // Merge deprecation keys with pre-filter settings
-    // so that filters that depend on specific keys being
-    // present don't fail.
-    { // Omit deprecation keys here so that deprecations
-      // can opt out of specific keys like "supports".
-      ...Object(external_lodash_["omit"])(blockType, DEPRECATED_ENTRY_KEYS),
-      ...deprecation
-    }, name), DEPRECATED_ENTRY_KEYS));
-  }
-
-  if (!Object(external_lodash_["isPlainObject"])(settings)) {
-    error('Block settings must be a valid object.');
-    return;
-  }
-
-  if (!Object(external_lodash_["isFunction"])(settings.save)) {
-    error('The "save" property must be a valid function.');
-    return;
-  }
-
-  if ('edit' in settings && !Object(external_lodash_["isFunction"])(settings.edit)) {
-    error('The "edit" property must be a valid function.');
-    return;
-  } // Canonicalize legacy categories to equivalent fallback.
-
-
-  if (LEGACY_CATEGORY_MAPPING.hasOwnProperty(settings.category)) {
-    settings.category = LEGACY_CATEGORY_MAPPING[settings.category];
-  }
-
-  if ('category' in settings && !Object(external_lodash_["some"])(Object(external_wp_data_["select"])(STORE_NAME).getCategories(), {
-    slug: settings.category
-  })) {
-    warn('The block "' + name + '" is registered with an invalid category "' + settings.category + '".');
-    delete settings.category;
-  }
-
-  if (!('title' in settings) || settings.title === '') {
-    error('The block "' + name + '" must have a title.');
-    return;
-  }
-
-  if (typeof settings.title !== 'string') {
-    error('Block titles must be strings.');
-    return;
-  }
-
-  settings.icon = normalizeIconObject(settings.icon);
-
-  if (!isValidIcon(settings.icon.src)) {
-    error('The icon passed is invalid. ' + 'The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional');
-    return;
-  }
-
-  return settings;
-}
-/**
- * Returns an action object used in signalling that block types have been added.
- *
- * @param {Array|Object} blockTypes Block types received.
- *
- * @return {Object} Action object.
- */
-
-
-function addBlockTypes(blockTypes) {
-  return {
-    type: 'ADD_BLOCK_TYPES',
-    blockTypes: Object(external_lodash_["castArray"])(blockTypes)
-  };
-}
-/**
- * Yields action objects signaling that the passed block type's settings should be stored in the state.
- *
- * @param {WPBlockType} blockType Unprocessed block type settings.
- *
- * @yield {Object} Action object.
- */
-
-function* __experimentalRegisterBlockType(blockType) {
-  yield {
-    type: 'ADD_UNPROCESSED_BLOCK_TYPE',
-    blockType
-  };
-  const processedBlockType = processBlockType(blockType);
-
-  if (!processedBlockType) {
-    return;
-  }
-
-  yield addBlockTypes(processedBlockType);
-}
-/**
- * Yields an action object signaling that all block types should be computed again.
- * It uses stored unprocessed block types and all the most recent list of registered filters.
- *
- * It addresses the issue where third party block filters get registered after third party blocks. A sample sequence:
- *   1. Filter A.
- *   2. Block B.
- *   3. Block C.
- *   4. Filter D.
- *   5. Filter E.
- *   6. Block F.
- *   7. Filter G.
- * In this scenario some filters would not get applied for all blocks because they are registered too late.
- *
- * @yield {Object} Action object.
- */
-
-function* __experimentalReapplyBlockTypeFilters() {
-  const unprocessedBlockTypes = Object(external_wp_data_["select"])(STORE_NAME).__experimentalGetUnprocessedBlockTypes();
-
-  const processedBlockTypes = Object.keys(unprocessedBlockTypes).reduce((accumulator, blockName) => {
-    const result = processBlockType(unprocessedBlockTypes[blockName]);
-
-    if (result) {
-      accumulator.push(result);
-    }
-
-    return accumulator;
-  }, []);
-
-  if (!processedBlockTypes.length) {
-    return;
-  }
-
-  yield addBlockTypes(processedBlockTypes);
-}
-/**
- * Returns an action object used to remove a registered block type.
- *
- * @param {string|Array} names Block name.
- *
- * @return {Object} Action object.
- */
-
-function removeBlockTypes(names) {
-  return {
-    type: 'REMOVE_BLOCK_TYPES',
-    names: Object(external_lodash_["castArray"])(names)
-  };
-}
-/**
- * Returns an action object used in signalling that new block styles have been added.
- *
- * @param {string}       blockName Block name.
- * @param {Array|Object} styles    Block styles.
- *
- * @return {Object} Action object.
- */
-
-function addBlockStyles(blockName, styles) {
-  return {
-    type: 'ADD_BLOCK_STYLES',
-    styles: Object(external_lodash_["castArray"])(styles),
-    blockName
-  };
-}
-/**
- * Returns an action object used in signalling that block styles have been removed.
- *
- * @param {string}       blockName  Block name.
- * @param {Array|string} styleNames Block style names.
- *
- * @return {Object} Action object.
- */
-
-function removeBlockStyles(blockName, styleNames) {
-  return {
-    type: 'REMOVE_BLOCK_STYLES',
-    styleNames: Object(external_lodash_["castArray"])(styleNames),
-    blockName
-  };
-}
-/**
- * Returns an action object used in signalling that new block variations have been added.
- *
- * @param {string}                              blockName  Block name.
- * @param {WPBlockVariation|WPBlockVariation[]} variations Block variations.
- *
- * @return {Object} Action object.
- */
-
-function addBlockVariations(blockName, variations) {
-  return {
-    type: 'ADD_BLOCK_VARIATIONS',
-    variations: Object(external_lodash_["castArray"])(variations),
-    blockName
-  };
-}
-/**
- * Returns an action object used in signalling that block variations have been removed.
- *
- * @param {string}          blockName      Block name.
- * @param {string|string[]} variationNames Block variation names.
- *
- * @return {Object} Action object.
- */
-
-function removeBlockVariations(blockName, variationNames) {
-  return {
-    type: 'REMOVE_BLOCK_VARIATIONS',
-    variationNames: Object(external_lodash_["castArray"])(variationNames),
-    blockName
-  };
-}
-/**
- * Returns an action object used to set the default block name.
- *
- * @param {string} name Block name.
- *
- * @return {Object} Action object.
- */
-
-function actions_setDefaultBlockName(name) {
-  return {
-    type: 'SET_DEFAULT_BLOCK_NAME',
-    name
-  };
-}
-/**
- * Returns an action object used to set the name of the block used as a fallback
- * for non-block content.
- *
- * @param {string} name Block name.
- *
- * @return {Object} Action object.
- */
-
-function setFreeformFallbackBlockName(name) {
-  return {
-    type: 'SET_FREEFORM_FALLBACK_BLOCK_NAME',
-    name
-  };
-}
-/**
- * Returns an action object used to set the name of the block used as a fallback
- * for unregistered blocks.
- *
- * @param {string} name Block name.
- *
- * @return {Object} Action object.
- */
-
-function setUnregisteredFallbackBlockName(name) {
-  return {
-    type: 'SET_UNREGISTERED_FALLBACK_BLOCK_NAME',
-    name
-  };
-}
-/**
- * Returns an action object used to set the name of the block used
- * when grouping other blocks
- * eg: in "Group/Ungroup" interactions
- *
- * @param {string} name Block name.
- *
- * @return {Object} Action object.
- */
-
-function actions_setGroupingBlockName(name) {
-  return {
-    type: 'SET_GROUPING_BLOCK_NAME',
-    name
-  };
-}
-/**
- * Returns an action object used to set block categories.
- *
- * @param {Object[]} categories Block categories.
- *
- * @return {Object} Action object.
- */
-
-function setCategories(categories) {
-  return {
-    type: 'SET_CATEGORIES',
-    categories
-  };
-}
-/**
- * Returns an action object used to update a category.
- *
- * @param {string} slug     Block category slug.
- * @param {Object} category Object containing the category properties that should be updated.
- *
- * @return {Object} Action object.
- */
-
-function updateCategory(slug, category) {
-  return {
-    type: 'UPDATE_CATEGORY',
-    slug,
-    category
-  };
-}
-/**
- * Returns an action object used to add block collections
- *
- * @param {string} namespace The namespace of the blocks to put in the collection
- * @param {string} title     The title to display in the block inserter
- * @param {Object} icon      (optional) The icon to display in the block inserter
- *
- * @return {Object} Action object.
- */
-
-function addBlockCollection(namespace, title, icon) {
-  return {
-    type: 'ADD_BLOCK_COLLECTION',
-    namespace,
-    title,
-    icon
-  };
-}
-/**
- * Returns an action object used to remove block collections
- *
- * @param {string} namespace The namespace of the blocks to put in the collection
- *
- * @return {Object} Action object.
- */
-
-function removeBlockCollection(namespace) {
-  return {
-    type: 'REMOVE_BLOCK_COLLECTION',
-    namespace
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/index.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-/**
- * Store definition for the blocks namespace.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
- *
- * @type {Object}
- */
-
-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
-  reducer: reducer,
-  selectors: selectors_namespaceObject,
-  actions: actions_namespaceObject
-});
-Object(external_wp_data_["register"])(store);
-
-// EXTERNAL MODULE: external ["wp","blockSerializationDefaultParser"]
-var external_wp_blockSerializationDefaultParser_ = __webpack_require__("ouCq");
-
-// EXTERNAL MODULE: external ["wp","autop"]
-var external_wp_autop_ = __webpack_require__("UuzZ");
-
-// EXTERNAL MODULE: external ["wp","isShallowEqual"]
-var external_wp_isShallowEqual_ = __webpack_require__("rl8x");
-var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/serializer.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * @typedef {Object} WPBlockSerializationOptions Serialization Options.
- *
- * @property {boolean} isInnerBlocks Whether we are serializing inner blocks.
- */
-
-/**
- * Returns the block's default classname from its name.
- *
- * @param {string} blockName The block name.
- *
- * @return {string} The block's default class.
- */
-
-function getBlockDefaultClassName(blockName) {
-  // Generated HTML classes for blocks follow the `wp-block-{name}` nomenclature.
-  // Blocks provided by WordPress drop the prefixes 'core/' or 'core-' (historically used in 'core-embed/').
-  const className = 'wp-block-' + blockName.replace(/\//, '-').replace(/^core-/, '');
-  return Object(external_wp_hooks_["applyFilters"])('blocks.getBlockDefaultClassName', className, blockName);
-}
-/**
- * Returns the block's default menu item classname from its name.
- *
- * @param {string} blockName The block name.
- *
- * @return {string} The block's default menu item class.
- */
-
-function getBlockMenuDefaultClassName(blockName) {
-  // Generated HTML classes for blocks follow the `editor-block-list-item-{name}` nomenclature.
-  // Blocks provided by WordPress drop the prefixes 'core/' or 'core-' (historically used in 'core-embed/').
-  const className = 'editor-block-list-item-' + blockName.replace(/\//, '-').replace(/^core-/, '');
-  return Object(external_wp_hooks_["applyFilters"])('blocks.getBlockMenuDefaultClassName', className, blockName);
-}
-const blockPropsProvider = {};
-const innerBlocksPropsProvider = {};
-/**
- * Call within a save function to get the props for the block wrapper.
- *
- * @param {Object} props Optional. Props to pass to the element.
- */
-
-function getBlockProps() {
-  let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  const {
-    blockType,
-    attributes
-  } = blockPropsProvider;
-  return Object(external_wp_hooks_["applyFilters"])('blocks.getSaveContent.extraProps', { ...props
-  }, blockType, attributes);
-}
-/**
- * Call within a save function to get the props for the inner blocks wrapper.
- *
- * @param {Object} props Optional. Props to pass to the element.
- */
-
-function getInnerBlocksProps() {
-  let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  const {
-    innerBlocks
-  } = innerBlocksPropsProvider; // Value is an array of blocks, so defer to block serializer
-
-  const html = serialize(innerBlocks, {
-    isInnerBlocks: true
-  }); // Use special-cased raw HTML tag to avoid default escaping.
-
-  const children = Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, html);
-  return { ...props,
-    children
-  };
-}
-/**
- * Given a block type containing a save render implementation and attributes, returns the
- * enhanced element to be saved or string when raw HTML expected.
- *
- * @param {string|Object} blockTypeOrName Block type or name.
- * @param {Object}        attributes      Block attributes.
- * @param {?Array}        innerBlocks     Nested blocks.
- *
- * @return {Object|string} Save element or raw HTML string.
- */
-
-function getSaveElement(blockTypeOrName, attributes) {
-  let innerBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
-  const blockType = normalizeBlockType(blockTypeOrName);
-  let {
-    save
-  } = blockType; // Component classes are unsupported for save since serialization must
-  // occur synchronously. For improved interoperability with higher-order
-  // components which often return component class, emulate basic support.
-
-  if (save.prototype instanceof external_wp_element_["Component"]) {
-    const instance = new save({
-      attributes
-    });
-    save = instance.render.bind(instance);
-  }
-
-  blockPropsProvider.blockType = blockType;
-  blockPropsProvider.attributes = attributes;
-  innerBlocksPropsProvider.innerBlocks = innerBlocks;
-  let element = save({
-    attributes,
-    innerBlocks
-  });
-
-  if (Object(external_lodash_["isObject"])(element) && Object(external_wp_hooks_["hasFilter"])('blocks.getSaveContent.extraProps') && !(blockType.apiVersion > 1)) {
-    /**
-     * Filters the props applied to the block save result element.
-     *
-     * @param {Object}  props      Props applied to save element.
-     * @param {WPBlock} blockType  Block type definition.
-     * @param {Object}  attributes Block attributes.
-     */
-    const props = Object(external_wp_hooks_["applyFilters"])('blocks.getSaveContent.extraProps', { ...element.props
-    }, blockType, attributes);
-
-    if (!external_wp_isShallowEqual_default()(props, element.props)) {
-      element = Object(external_wp_element_["cloneElement"])(element, props);
-    }
-  }
-  /**
-   * Filters the save result of a block during serialization.
-   *
-   * @param {WPElement} element    Block save result.
-   * @param {WPBlock}   blockType  Block type definition.
-   * @param {Object}    attributes Block attributes.
-   */
-
-
-  return Object(external_wp_hooks_["applyFilters"])('blocks.getSaveElement', element, blockType, attributes);
-}
-/**
- * Given a block type containing a save render implementation and attributes, returns the
- * static markup to be saved.
- *
- * @param {string|Object} blockTypeOrName Block type or name.
- * @param {Object}        attributes      Block attributes.
- * @param {?Array}        innerBlocks     Nested blocks.
- *
- * @return {string} Save content.
- */
-
-function getSaveContent(blockTypeOrName, attributes, innerBlocks) {
-  const blockType = normalizeBlockType(blockTypeOrName);
-  return Object(external_wp_element_["renderToString"])(getSaveElement(blockType, attributes, innerBlocks));
-}
-/**
- * Returns attributes which are to be saved and serialized into the block
- * comment delimiter.
- *
- * When a block exists in memory it contains as its attributes both those
- * parsed the block comment delimiter _and_ those which matched from the
- * contents of the block.
- *
- * This function returns only those attributes which are needed to persist and
- * which cannot be matched from the block content.
- *
- * @param {Object<string,*>} blockType  Block type.
- * @param {Object<string,*>} attributes Attributes from in-memory block data.
- *
- * @return {Object<string,*>} Subset of attributes for comment serialization.
- */
-
-function getCommentAttributes(blockType, attributes) {
-  return Object(external_lodash_["reduce"])(blockType.attributes, (accumulator, attributeSchema, key) => {
-    const value = attributes[key]; // Ignore undefined values.
-
-    if (undefined === value) {
-      return accumulator;
-    } // Ignore all attributes but the ones with an "undefined" source
-    // "undefined" source refers to attributes saved in the block comment.
-
-
-    if (attributeSchema.source !== undefined) {
-      return accumulator;
-    } // Ignore default value.
-
-
-    if ('default' in attributeSchema && attributeSchema.default === value) {
-      return accumulator;
-    } // Otherwise, include in comment set.
-
-
-    accumulator[key] = value;
-    return accumulator;
-  }, {});
-}
-/**
- * Given an attributes object, returns a string in the serialized attributes
- * format prepared for post content.
- *
- * @param {Object} attributes Attributes object.
- *
- * @return {string} Serialized attributes.
- */
-
-function serializeAttributes(attributes) {
-  return JSON.stringify(attributes) // Don't break HTML comments.
-  .replace(/--/g, '\\u002d\\u002d') // Don't break non-standard-compliant tools.
-  .replace(/</g, '\\u003c').replace(/>/g, '\\u003e').replace(/&/g, '\\u0026') // Bypass server stripslashes behavior which would unescape stringify's
-  // escaping of quotation mark.
-  //
-  // See: https://developer.wordpress.org/reference/functions/wp_kses_stripslashes/
-  .replace(/\\"/g, '\\u0022');
-}
-/**
- * Given a block object, returns the Block's Inner HTML markup.
- *
- * @param {Object} block Block instance.
- *
- * @return {string} HTML.
- */
-
-function getBlockInnerHTML(block) {
-  // If block was parsed as invalid or encounters an error while generating
-  // save content, use original content instead to avoid content loss. If a
-  // block contains nested content, exempt it from this condition because we
-  // otherwise have no access to its original content and content loss would
-  // still occur.
-  let saveContent = block.originalContent;
-
-  if (block.isValid || block.innerBlocks.length) {
-    try {
-      saveContent = getSaveContent(block.name, block.attributes, block.innerBlocks);
-    } catch (error) {}
-  }
-
-  return saveContent;
-}
-/**
- * Returns the content of a block, including comment delimiters.
- *
- * @param {string} rawBlockName Block name.
- * @param {Object} attributes   Block attributes.
- * @param {string} content      Block save content.
- *
- * @return {string} Comment-delimited block content.
- */
-
-function getCommentDelimitedContent(rawBlockName, attributes, content) {
-  const serializedAttributes = !Object(external_lodash_["isEmpty"])(attributes) ? serializeAttributes(attributes) + ' ' : ''; // Strip core blocks of their namespace prefix.
-
-  const blockName = Object(external_lodash_["startsWith"])(rawBlockName, 'core/') ? rawBlockName.slice(5) : rawBlockName; // @todo make the `wp:` prefix potentially configurable.
-
-  if (!content) {
-    return `<!-- wp:${blockName} ${serializedAttributes}/-->`;
-  }
-
-  return `<!-- wp:${blockName} ${serializedAttributes}-->\n` + content + `\n<!-- /wp:${blockName} -->`;
-}
-/**
- * Returns the content of a block, including comment delimiters, determining
- * serialized attributes and content form from the current state of the block.
- *
- * @param {Object}                      block   Block instance.
- * @param {WPBlockSerializationOptions} options Serialization options.
- *
- * @return {string} Serialized block.
- */
-
-function serializeBlock(block) {
-  let {
-    isInnerBlocks = false
-  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  const blockName = block.name;
-  const saveContent = getBlockInnerHTML(block);
-
-  if (blockName === getUnregisteredTypeHandlerName() || !isInnerBlocks && blockName === getFreeformContentHandlerName()) {
-    return saveContent;
-  }
-
-  const blockType = registration_getBlockType(blockName);
-  const saveAttributes = getCommentAttributes(blockType, block.attributes);
-  return getCommentDelimitedContent(blockName, saveAttributes, saveContent);
-}
-function __unstableSerializeAndClean(blocks) {
-  // A single unmodified default block is assumed to
-  // be equivalent to an empty post.
-  if (blocks.length === 1 && isUnmodifiedDefaultBlock(blocks[0])) {
-    blocks = [];
-  }
-
-  let content = serialize(blocks); // For compatibility, treat a post consisting of a
-  // single freeform block as legacy content and apply
-  // pre-block-editor removep'd content formatting.
-
-  if (blocks.length === 1 && blocks[0].name === getFreeformContentHandlerName()) {
-    content = Object(external_wp_autop_["removep"])(content);
-  }
-
-  return content;
-}
-/**
- * Takes a block or set of blocks and returns the serialized post content.
- *
- * @param {Array}                       blocks  Block(s) to serialize.
- * @param {WPBlockSerializationOptions} options Serialization options.
- *
- * @return {string} The post content.
- */
-
-function serialize(blocks, options) {
-  return Object(external_lodash_["castArray"])(blocks).map(block => serializeBlock(block, options)).join('\n\n');
-}
-
-// CONCATENATED MODULE: ./node_modules/simple-html-tokenizer/dist/es6/index.js
-/**
- * generated from https://raw.githubusercontent.com/w3c/html/26b5126f96f736f796b9e29718138919dd513744/entities.json
- * do not edit
- */
-var namedCharRefs = {
-    Aacute: "Á", aacute: "á", Abreve: "Ă", abreve: "ă", ac: "∾", acd: "∿", acE: "∾̳", Acirc: "Â", acirc: "â", acute: "´", Acy: "А", acy: "а", AElig: "Æ", aelig: "æ", af: "\u2061", Afr: "𝔄", afr: "𝔞", Agrave: "À", agrave: "à", alefsym: "ℵ", aleph: "ℵ", Alpha: "Α", alpha: "α", Amacr: "Ā", amacr: "ā", amalg: "⨿", amp: "&", AMP: "&", andand: "⩕", And: "⩓", and: "∧", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", ange: "⦤", angle: "∠", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angmsd: "∡", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angst: "Å", angzarr: "⍼", Aogon: "Ą", aogon: "ą", Aopf: "𝔸", aopf: "𝕒", apacir: "⩯", ap: "≈", apE: "⩰", ape: "≊", apid: "≋", apos: "'", ApplyFunction: "\u2061", approx: "≈", approxeq: "≊", Aring: "Å", aring: "å", Ascr: "𝒜", ascr: "𝒶", Assign: "≔", ast: "*", asymp: "≈", asympeq: "≍", Atilde: "Ã", atilde: "ã", Auml: "Ä", auml: "ä", awconint: "∳", awint: "⨑", backcong: "≌", backepsilon: "϶", backprime: "‵", backsim: "∽", backsimeq: "⋍", Backslash: "∖", Barv: "⫧", barvee: "⊽", barwed: "⌅", Barwed: "⌆", barwedge: "⌅", bbrk: "⎵", bbrktbrk: "⎶", bcong: "≌", Bcy: "Б", bcy: "б", bdquo: "„", becaus: "∵", because: "∵", Because: "∵", bemptyv: "⦰", bepsi: "϶", bernou: "ℬ", Bernoullis: "ℬ", Beta: "Β", beta: "β", beth: "ℶ", between: "≬", Bfr: "𝔅", bfr: "𝔟", bigcap: "⋂", bigcirc: "◯", bigcup: "⋃", bigodot: "⨀", bigoplus: "⨁", bigotimes: "⨂", bigsqcup: "⨆", bigstar: "★", bigtriangledown: "▽", bigtriangleup: "△", biguplus: "⨄", bigvee: "⋁", bigwedge: "⋀", bkarow: "⤍", blacklozenge: "⧫", blacksquare: "▪", blacktriangle: "▴", blacktriangledown: "▾", blacktriangleleft: "◂", blacktriangleright: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bNot: "⫭", bnot: "⌐", Bopf: "𝔹", bopf: "𝕓", bot: "⊥", bottom: "⊥", bowtie: "⋈", boxbox: "⧉", boxdl: "┐", boxdL: "╕", boxDl: "╖", boxDL: "╗", boxdr: "┌", boxdR: "╒", boxDr: "╓", boxDR: "╔", boxh: "─", boxH: "═", boxhd: "┬", boxHd: "╤", boxhD: "╥", boxHD: "╦", boxhu: "┴", boxHu: "╧", boxhU: "╨", boxHU: "╩", boxminus: "⊟", boxplus: "⊞", boxtimes: "⊠", boxul: "┘", boxuL: "╛", boxUl: "╜", boxUL: "╝", boxur: "└", boxuR: "╘", boxUr: "╙", boxUR: "╚", boxv: "│", boxV: "║", boxvh: "┼", boxvH: "╪", boxVh: "╫", boxVH: "╬", boxvl: "┤", boxvL: "╡", boxVl: "╢", boxVL: "╣", boxvr: "├", boxvR: "╞", boxVr: "╟", boxVR: "╠", bprime: "‵", breve: "˘", Breve: "˘", brvbar: "¦", bscr: "𝒷", Bscr: "ℬ", bsemi: "⁏", bsim: "∽", bsime: "⋍", bsolb: "⧅", bsol: "\\", bsolhsub: "⟈", bull: "•", bullet: "•", bump: "≎", bumpE: "⪮", bumpe: "≏", Bumpeq: "≎", bumpeq: "≏", Cacute: "Ć", cacute: "ć", capand: "⩄", capbrcup: "⩉", capcap: "⩋", cap: "∩", Cap: "⋒", capcup: "⩇", capdot: "⩀", CapitalDifferentialD: "ⅅ", caps: "∩︀", caret: "⁁", caron: "ˇ", Cayleys: "ℭ", ccaps: "⩍", Ccaron: "Č", ccaron: "č", Ccedil: "Ç", ccedil: "ç", Ccirc: "Ĉ", ccirc: "ĉ", Cconint: "∰", ccups: "⩌", ccupssm: "⩐", Cdot: "Ċ", cdot: "ċ", cedil: "¸", Cedilla: "¸", cemptyv: "⦲", cent: "¢", centerdot: "·", CenterDot: "·", cfr: "𝔠", Cfr: "ℭ", CHcy: "Ч", chcy: "ч", check: "✓", checkmark: "✓", Chi: "Χ", chi: "χ", circ: "ˆ", circeq: "≗", circlearrowleft: "↺", circlearrowright: "↻", circledast: "⊛", circledcirc: "⊚", circleddash: "⊝", CircleDot: "⊙", circledR: "®", circledS: "Ⓢ", CircleMinus: "⊖", CirclePlus: "⊕", CircleTimes: "⊗", cir: "○", cirE: "⧃", cire: "≗", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", ClockwiseContourIntegral: "∲", CloseCurlyDoubleQuote: "”", CloseCurlyQuote: "’", clubs: "♣", clubsuit: "♣", colon: ":", Colon: "∷", Colone: "⩴", colone: "≔", coloneq: "≔", comma: ",", commat: "@", comp: "∁", compfn: "∘", complement: "∁", complexes: "ℂ", cong: "≅", congdot: "⩭", Congruent: "≡", conint: "∮", Conint: "∯", ContourIntegral: "∮", copf: "𝕔", Copf: "ℂ", coprod: "∐", Coproduct: "∐", copy: "©", COPY: "©", copysr: "℗", CounterClockwiseContourIntegral: "∳", crarr: "↵", cross: "✗", Cross: "⨯", Cscr: "𝒞", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", cuesc: "⋟", cularr: "↶", cularrp: "⤽", cupbrcap: "⩈", cupcap: "⩆", CupCap: "≍", cup: "∪", Cup: "⋓", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curarrm: "⤼", curlyeqprec: "⋞", curlyeqsucc: "⋟", curlyvee: "⋎", curlywedge: "⋏", curren: "¤", curvearrowleft: "↶", curvearrowright: "↷", cuvee: "⋎", cuwed: "⋏", cwconint: "∲", cwint: "∱", cylcty: "⌭", dagger: "†", Dagger: "‡", daleth: "ℸ", darr: "↓", Darr: "↡", dArr: "⇓", dash: "‐", Dashv: "⫤", dashv: "⊣", dbkarow: "⤏", dblac: "˝", Dcaron: "Ď", dcaron: "ď", Dcy: "Д", dcy: "д", ddagger: "‡", ddarr: "⇊", DD: "ⅅ", dd: "ⅆ", DDotrahd: "⤑", ddotseq: "⩷", deg: "°", Del: "∇", Delta: "Δ", delta: "δ", demptyv: "⦱", dfisht: "⥿", Dfr: "𝔇", dfr: "𝔡", dHar: "⥥", dharl: "⇃", dharr: "⇂", DiacriticalAcute: "´", DiacriticalDot: "˙", DiacriticalDoubleAcute: "˝", DiacriticalGrave: "`", DiacriticalTilde: "˜", diam: "⋄", diamond: "⋄", Diamond: "⋄", diamondsuit: "♦", diams: "♦", die: "¨", DifferentialD: "ⅆ", digamma: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", DJcy: "Ђ", djcy: "ђ", dlcorn: "⌞", dlcrop: "⌍", dollar: "$", Dopf: "𝔻", dopf: "𝕕", Dot: "¨", dot: "˙", DotDot: "⃜", doteq: "≐", doteqdot: "≑", DotEqual: "≐", dotminus: "∸", dotplus: "∔", dotsquare: "⊡", doublebarwedge: "⌆", DoubleContourIntegral: "∯", DoubleDot: "¨", DoubleDownArrow: "⇓", DoubleLeftArrow: "⇐", DoubleLeftRightArrow: "⇔", DoubleLeftTee: "⫤", DoubleLongLeftArrow: "⟸", DoubleLongLeftRightArrow: "⟺", DoubleLongRightArrow: "⟹", DoubleRightArrow: "⇒", DoubleRightTee: "⊨", DoubleUpArrow: "⇑", DoubleUpDownArrow: "⇕", DoubleVerticalBar: "∥", DownArrowBar: "⤓", downarrow: "↓", DownArrow: "↓", Downarrow: "⇓", DownArrowUpArrow: "⇵", DownBreve: "̑", downdownarrows: "⇊", downharpoonleft: "⇃", downharpoonright: "⇂", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVectorBar: "⥖", DownLeftVector: "↽", DownRightTeeVector: "⥟", DownRightVectorBar: "⥗", DownRightVector: "⇁", DownTeeArrow: "↧", DownTee: "⊤", drbkarow: "⤐", drcorn: "⌟", drcrop: "⌌", Dscr: "𝒟", dscr: "𝒹", DScy: "Ѕ", dscy: "ѕ", dsol: "⧶", Dstrok: "Đ", dstrok: "đ", dtdot: "⋱", dtri: "▿", dtrif: "▾", duarr: "⇵", duhar: "⥯", dwangle: "⦦", DZcy: "Џ", dzcy: "џ", dzigrarr: "⟿", Eacute: "É", eacute: "é", easter: "⩮", Ecaron: "Ě", ecaron: "ě", Ecirc: "Ê", ecirc: "ê", ecir: "≖", ecolon: "≕", Ecy: "Э", ecy: "э", eDDot: "⩷", Edot: "Ė", edot: "ė", eDot: "≑", ee: "ⅇ", efDot: "≒", Efr: "𝔈", efr: "𝔢", eg: "⪚", Egrave: "È", egrave: "è", egs: "⪖", egsdot: "⪘", el: "⪙", Element: "∈", elinters: "⏧", ell: "ℓ", els: "⪕", elsdot: "⪗", Emacr: "Ē", emacr: "ē", empty: "∅", emptyset: "∅", EmptySmallSquare: "◻", emptyv: "∅", EmptyVerySmallSquare: "▫", emsp13: " ", emsp14: " ", emsp: " ", ENG: "Ŋ", eng: "ŋ", ensp: " ", Eogon: "Ę", eogon: "ę", Eopf: "𝔼", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", Epsilon: "Ε", epsilon: "ε", epsiv: "ϵ", eqcirc: "≖", eqcolon: "≕", eqsim: "≂", eqslantgtr: "⪖", eqslantless: "⪕", Equal: "⩵", equals: "=", EqualTilde: "≂", equest: "≟", Equilibrium: "⇌", equiv: "≡", equivDD: "⩸", eqvparsl: "⧥", erarr: "⥱", erDot: "≓", escr: "ℯ", Escr: "ℰ", esdot: "≐", Esim: "⩳", esim: "≂", Eta: "Η", eta: "η", ETH: "Ð", eth: "ð", Euml: "Ë", euml: "ë", euro: "€", excl: "!", exist: "∃", Exists: "∃", expectation: "ℰ", exponentiale: "ⅇ", ExponentialE: "ⅇ", fallingdotseq: "≒", Fcy: "Ф", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", Ffr: "𝔉", ffr: "𝔣", filig: "fi", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", Fopf: "𝔽", fopf: "𝕗", forall: "∀", ForAll: "∀", fork: "⋔", forkv: "⫙", Fouriertrf: "ℱ", fpartint: "⨍", frac12: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", fscr: "𝒻", Fscr: "ℱ", gacute: "ǵ", Gamma: "Γ", gamma: "γ", Gammad: "Ϝ", gammad: "ϝ", gap: "⪆", Gbreve: "Ğ", gbreve: "ğ", Gcedil: "Ģ", Gcirc: "Ĝ", gcirc: "ĝ", Gcy: "Г", gcy: "г", Gdot: "Ġ", gdot: "ġ", ge: "≥", gE: "≧", gEl: "⪌", gel: "⋛", geq: "≥", geqq: "≧", geqslant: "⩾", gescc: "⪩", ges: "⩾", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", Gfr: "𝔊", gfr: "𝔤", gg: "≫", Gg: "⋙", ggg: "⋙", gimel: "ℷ", GJcy: "Ѓ", gjcy: "ѓ", gla: "⪥", gl: "≷", glE: "⪒", glj: "⪤", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gnE: "≩", gneq: "⪈", gneqq: "≩", gnsim: "⋧", Gopf: "𝔾", gopf: "𝕘", grave: "`", GreaterEqual: "≥", GreaterEqualLess: "⋛", GreaterFullEqual: "≧", GreaterGreater: "⪢", GreaterLess: "≷", GreaterSlantEqual: "⩾", GreaterTilde: "≳", Gscr: "𝒢", gscr: "ℊ", gsim: "≳", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gt: ">", GT: ">", Gt: "≫", gtdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrapprox: "⪆", gtrarr: "⥸", gtrdot: "⋗", gtreqless: "⋛", gtreqqless: "⪌", gtrless: "≷", gtrsim: "≳", gvertneqq: "≩︀", gvnE: "≩︀", Hacek: "ˇ", hairsp: " ", half: "½", hamilt: "ℋ", HARDcy: "Ъ", hardcy: "ъ", harrcir: "⥈", harr: "↔", hArr: "⇔", harrw: "↭", Hat: "^", hbar: "ℏ", Hcirc: "Ĥ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", hercon: "⊹", hfr: "𝔥", Hfr: "ℌ", HilbertSpace: "ℋ", hksearow: "⤥", hkswarow: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", hookrightarrow: "↪", hopf: "𝕙", Hopf: "ℍ", horbar: "―", HorizontalLine: "─", hscr: "𝒽", Hscr: "ℋ", hslash: "ℏ", Hstrok: "Ħ", hstrok: "ħ", HumpDownHump: "≎", HumpEqual: "≏", hybull: "⁃", hyphen: "‐", Iacute: "Í", iacute: "í", ic: "\u2063", Icirc: "Î", icirc: "î", Icy: "И", icy: "и", Idot: "İ", IEcy: "Е", iecy: "е", iexcl: "¡", iff: "⇔", ifr: "𝔦", Ifr: "ℑ", Igrave: "Ì", igrave: "ì", ii: "ⅈ", iiiint: "⨌", iiint: "∭", iinfin: "⧜", iiota: "℩", IJlig: "IJ", ijlig: "ij", Imacr: "Ī", imacr: "ī", image: "ℑ", ImaginaryI: "ⅈ", imagline: "ℐ", imagpart: "ℑ", imath: "ı", Im: "ℑ", imof: "⊷", imped: "Ƶ", Implies: "⇒", incare: "℅", in: "∈", infin: "∞", infintie: "⧝", inodot: "ı", intcal: "⊺", int: "∫", Int: "∬", integers: "ℤ", Integral: "∫", intercal: "⊺", Intersection: "⋂", intlarhk: "⨗", intprod: "⨼", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", IOcy: "Ё", iocy: "ё", Iogon: "Į", iogon: "į", Iopf: "𝕀", iopf: "𝕚", Iota: "Ι", iota: "ι", iprod: "⨼", iquest: "¿", iscr: "𝒾", Iscr: "ℐ", isin: "∈", isindot: "⋵", isinE: "⋹", isins: "⋴", isinsv: "⋳", isinv: "∈", it: "\u2062", Itilde: "Ĩ", itilde: "ĩ", Iukcy: "І", iukcy: "і", Iuml: "Ï", iuml: "ï", Jcirc: "Ĵ", jcirc: "ĵ", Jcy: "Й", jcy: "й", Jfr: "𝔍", jfr: "𝔧", jmath: "ȷ", Jopf: "𝕁", jopf: "𝕛", Jscr: "𝒥", jscr: "𝒿", Jsercy: "Ј", jsercy: "ј", Jukcy: "Є", jukcy: "є", Kappa: "Κ", kappa: "κ", kappav: "ϰ", Kcedil: "Ķ", kcedil: "ķ", Kcy: "К", kcy: "к", Kfr: "𝔎", kfr: "𝔨", kgreen: "ĸ", KHcy: "Х", khcy: "х", KJcy: "Ќ", kjcy: "ќ", Kopf: "𝕂", kopf: "𝕜", Kscr: "𝒦", kscr: "𝓀", lAarr: "⇚", Lacute: "Ĺ", lacute: "ĺ", laemptyv: "⦴", lagran: "ℒ", Lambda: "Λ", lambda: "λ", lang: "⟨", Lang: "⟪", langd: "⦑", langle: "⟨", lap: "⪅", Laplacetrf: "ℒ", laquo: "«", larrb: "⇤", larrbfs: "⤟", larr: "←", Larr: "↞", lArr: "⇐", larrfs: "⤝", larrhk: "↩", larrlp: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", latail: "⤙", lAtail: "⤛", lat: "⪫", late: "⪭", lates: "⪭︀", lbarr: "⤌", lBarr: "⤎", lbbrk: "❲", lbrace: "{", lbrack: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", Lcaron: "Ľ", lcaron: "ľ", Lcedil: "Ļ", lcedil: "ļ", lceil: "⌈", lcub: "{", Lcy: "Л", lcy: "л", ldca: "⤶", ldquo: "“", ldquor: "„", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", lE: "≦", LeftAngleBracket: "⟨", LeftArrowBar: "⇤", leftarrow: "←", LeftArrow: "←", Leftarrow: "⇐", LeftArrowRightArrow: "⇆", leftarrowtail: "↢", LeftCeiling: "⌈", LeftDoubleBracket: "⟦", LeftDownTeeVector: "⥡", LeftDownVectorBar: "⥙", LeftDownVector: "⇃", LeftFloor: "⌊", leftharpoondown: "↽", leftharpoonup: "↼", leftleftarrows: "⇇", leftrightarrow: "↔", LeftRightArrow: "↔", Leftrightarrow: "⇔", leftrightarrows: "⇆", leftrightharpoons: "⇋", leftrightsquigarrow: "↭", LeftRightVector: "⥎", LeftTeeArrow: "↤", LeftTee: "⊣", LeftTeeVector: "⥚", leftthreetimes: "⋋", LeftTriangleBar: "⧏", LeftTriangle: "⊲", LeftTriangleEqual: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVectorBar: "⥘", LeftUpVector: "↿", LeftVectorBar: "⥒", LeftVector: "↼", lEg: "⪋", leg: "⋚", leq: "≤", leqq: "≦", leqslant: "⩽", lescc: "⪨", les: "⩽", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessapprox: "⪅", lessdot: "⋖", lesseqgtr: "⋚", lesseqqgtr: "⪋", LessEqualGreater: "⋚", LessFullEqual: "≦", LessGreater: "≶", lessgtr: "≶", LessLess: "⪡", lesssim: "≲", LessSlantEqual: "⩽", LessTilde: "≲", lfisht: "⥼", lfloor: "⌊", Lfr: "𝔏", lfr: "𝔩", lg: "≶", lgE: "⪑", lHar: "⥢", lhard: "↽", lharu: "↼", lharul: "⥪", lhblk: "▄", LJcy: "Љ", ljcy: "љ", llarr: "⇇", ll: "≪", Ll: "⋘", llcorner: "⌞", Lleftarrow: "⇚", llhard: "⥫", lltri: "◺", Lmidot: "Ŀ", lmidot: "ŀ", lmoustache: "⎰", lmoust: "⎰", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lnE: "≨", lneq: "⪇", lneqq: "≨", lnsim: "⋦", loang: "⟬", loarr: "⇽", lobrk: "⟦", longleftarrow: "⟵", LongLeftArrow: "⟵", Longleftarrow: "⟸", longleftrightarrow: "⟷", LongLeftRightArrow: "⟷", Longleftrightarrow: "⟺", longmapsto: "⟼", longrightarrow: "⟶", LongRightArrow: "⟶", Longrightarrow: "⟹", looparrowleft: "↫", looparrowright: "↬", lopar: "⦅", Lopf: "𝕃", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", lowbar: "_", LowerLeftArrow: "↙", LowerRightArrow: "↘", loz: "◊", lozenge: "◊", lozf: "⧫", lpar: "(", lparlt: "⦓", lrarr: "⇆", lrcorner: "⌟", lrhar: "⇋", lrhard: "⥭", lrm: "\u200e", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", Lscr: "ℒ", lsh: "↰", Lsh: "↰", lsim: "≲", lsime: "⪍", lsimg: "⪏", lsqb: "[", lsquo: "‘", lsquor: "‚", Lstrok: "Ł", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", lt: "<", LT: "<", Lt: "≪", ltdot: "⋖", lthree: "⋋", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltri: "◃", ltrie: "⊴", ltrif: "◂", ltrPar: "⦖", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", macr: "¯", male: "♂", malt: "✠", maltese: "✠", Map: "⤅", map: "↦", mapsto: "↦", mapstodown: "↧", mapstoleft: "↤", mapstoup: "↥", marker: "▮", mcomma: "⨩", Mcy: "М", mcy: "м", mdash: "—", mDDot: "∺", measuredangle: "∡", MediumSpace: " ", Mellintrf: "ℳ", Mfr: "𝔐", mfr: "𝔪", mho: "℧", micro: "µ", midast: "*", midcir: "⫰", mid: "∣", middot: "·", minusb: "⊟", minus: "−", minusd: "∸", minusdu: "⨪", MinusPlus: "∓", mlcp: "⫛", mldr: "…", mnplus: "∓", models: "⊧", Mopf: "𝕄", mopf: "𝕞", mp: "∓", mscr: "𝓂", Mscr: "ℳ", mstpos: "∾", Mu: "Μ", mu: "μ", multimap: "⊸", mumap: "⊸", nabla: "∇", Nacute: "Ń", nacute: "ń", nang: "∠⃒", nap: "≉", napE: "⩰̸", napid: "≋̸", napos: "ʼn", napprox: "≉", natural: "♮", naturals: "ℕ", natur: "♮", nbsp: " ", nbump: "≎̸", nbumpe: "≏̸", ncap: "⩃", Ncaron: "Ň", ncaron: "ň", Ncedil: "Ņ", ncedil: "ņ", ncong: "≇", ncongdot: "⩭̸", ncup: "⩂", Ncy: "Н", ncy: "н", ndash: "–", nearhk: "⤤", nearr: "↗", neArr: "⇗", nearrow: "↗", ne: "≠", nedot: "≐̸", NegativeMediumSpace: "​", NegativeThickSpace: "​", NegativeThinSpace: "​", NegativeVeryThinSpace: "​", nequiv: "≢", nesear: "⤨", nesim: "≂̸", NestedGreaterGreater: "≫", NestedLessLess: "≪", NewLine: "\u000a", nexist: "∄", nexists: "∄", Nfr: "𝔑", nfr: "𝔫", ngE: "≧̸", nge: "≱", ngeq: "≱", ngeqq: "≧̸", ngeqslant: "⩾̸", nges: "⩾̸", nGg: "⋙̸", ngsim: "≵", nGt: "≫⃒", ngt: "≯", ngtr: "≯", nGtv: "≫̸", nharr: "↮", nhArr: "⇎", nhpar: "⫲", ni: "∋", nis: "⋼", nisd: "⋺", niv: "∋", NJcy: "Њ", njcy: "њ", nlarr: "↚", nlArr: "⇍", nldr: "‥", nlE: "≦̸", nle: "≰", nleftarrow: "↚", nLeftarrow: "⇍", nleftrightarrow: "↮", nLeftrightarrow: "⇎", nleq: "≰", nleqq: "≦̸", nleqslant: "⩽̸", nles: "⩽̸", nless: "≮", nLl: "⋘̸", nlsim: "≴", nLt: "≪⃒", nlt: "≮", nltri: "⋪", nltrie: "⋬", nLtv: "≪̸", nmid: "∤", NoBreak: "\u2060", NonBreakingSpace: " ", nopf: "𝕟", Nopf: "ℕ", Not: "⫬", not: "¬", NotCongruent: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", NotElement: "∉", NotEqual: "≠", NotEqualTilde: "≂̸", NotExists: "∄", NotGreater: "≯", NotGreaterEqual: "≱", NotGreaterFullEqual: "≧̸", NotGreaterGreater: "≫̸", NotGreaterLess: "≹", NotGreaterSlantEqual: "⩾̸", NotGreaterTilde: "≵", NotHumpDownHump: "≎̸", NotHumpEqual: "≏̸", notin: "∉", notindot: "⋵̸", notinE: "⋹̸", notinva: "∉", notinvb: "⋷", notinvc: "⋶", NotLeftTriangleBar: "⧏̸", NotLeftTriangle: "⋪", NotLeftTriangleEqual: "⋬", NotLess: "≮", NotLessEqual: "≰", NotLessGreater: "≸", NotLessLess: "≪̸", NotLessSlantEqual: "⩽̸", NotLessTilde: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", notni: "∌", notniva: "∌", notnivb: "⋾", notnivc: "⋽", NotPrecedes: "⊀", NotPrecedesEqual: "⪯̸", NotPrecedesSlantEqual: "⋠", NotReverseElement: "∌", NotRightTriangleBar: "⧐̸", NotRightTriangle: "⋫", NotRightTriangleEqual: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", NotSubset: "⊂⃒", NotSubsetEqual: "⊈", NotSucceeds: "⊁", NotSucceedsEqual: "⪰̸", NotSucceedsSlantEqual: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", NotSupersetEqual: "⊉", NotTilde: "≁", NotTildeEqual: "≄", NotTildeFullEqual: "≇", NotTildeTilde: "≉", NotVerticalBar: "∤", nparallel: "∦", npar: "∦", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", npr: "⊀", nprcue: "⋠", nprec: "⊀", npreceq: "⪯̸", npre: "⪯̸", nrarrc: "⤳̸", nrarr: "↛", nrArr: "⇏", nrarrw: "↝̸", nrightarrow: "↛", nRightarrow: "⇏", nrtri: "⋫", nrtrie: "⋭", nsc: "⊁", nsccue: "⋡", nsce: "⪰̸", Nscr: "𝒩", nscr: "𝓃", nshortmid: "∤", nshortparallel: "∦", nsim: "≁", nsime: "≄", nsimeq: "≄", nsmid: "∤", nspar: "∦", nsqsube: "⋢", nsqsupe: "⋣", nsub: "⊄", nsubE: "⫅̸", nsube: "⊈", nsubset: "⊂⃒", nsubseteq: "⊈", nsubseteqq: "⫅̸", nsucc: "⊁", nsucceq: "⪰̸", nsup: "⊅", nsupE: "⫆̸", nsupe: "⊉", nsupset: "⊃⃒", nsupseteq: "⊉", nsupseteqq: "⫆̸", ntgl: "≹", Ntilde: "Ñ", ntilde: "ñ", ntlg: "≸", ntriangleleft: "⋪", ntrianglelefteq: "⋬", ntriangleright: "⋫", ntrianglerighteq: "⋭", Nu: "Ν", nu: "ν", num: "#", numero: "№", numsp: " ", nvap: "≍⃒", nvdash: "⊬", nvDash: "⊭", nVdash: "⊮", nVDash: "⊯", nvge: "≥⃒", nvgt: ">⃒", nvHarr: "⤄", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwarhk: "⤣", nwarr: "↖", nwArr: "⇖", nwarrow: "↖", nwnear: "⤧", Oacute: "Ó", oacute: "ó", oast: "⊛", Ocirc: "Ô", ocirc: "ô", ocir: "⊚", Ocy: "О", ocy: "о", odash: "⊝", Odblac: "Ő", odblac: "ő", odiv: "⨸", odot: "⊙", odsold: "⦼", OElig: "Œ", oelig: "œ", ofcir: "⦿", Ofr: "𝔒", ofr: "𝔬", ogon: "˛", Ograve: "Ò", ograve: "ò", ogt: "⧁", ohbar: "⦵", ohm: "Ω", oint: "∮", olarr: "↺", olcir: "⦾", olcross: "⦻", oline: "‾", olt: "⧀", Omacr: "Ō", omacr: "ō", Omega: "Ω", omega: "ω", Omicron: "Ο", omicron: "ο", omid: "⦶", ominus: "⊖", Oopf: "𝕆", oopf: "𝕠", opar: "⦷", OpenCurlyDoubleQuote: "“", OpenCurlyQuote: "‘", operp: "⦹", oplus: "⊕", orarr: "↻", Or: "⩔", or: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oS: "Ⓢ", Oscr: "𝒪", oscr: "ℴ", Oslash: "Ø", oslash: "ø", osol: "⊘", Otilde: "Õ", otilde: "õ", otimesas: "⨶", Otimes: "⨷", otimes: "⊗", Ouml: "Ö", ouml: "ö", ovbar: "⌽", OverBar: "‾", OverBrace: "⏞", OverBracket: "⎴", OverParenthesis: "⏜", para: "¶", parallel: "∥", par: "∥", parsim: "⫳", parsl: "⫽", part: "∂", PartialD: "∂", Pcy: "П", pcy: "п", percnt: "%", period: ".", permil: "‰", perp: "⊥", pertenk: "‱", Pfr: "𝔓", pfr: "𝔭", Phi: "Φ", phi: "φ", phiv: "ϕ", phmmat: "ℳ", phone: "☎", Pi: "Π", pi: "π", pitchfork: "⋔", piv: "ϖ", planck: "ℏ", planckh: "ℎ", plankv: "ℏ", plusacir: "⨣", plusb: "⊞", pluscir: "⨢", plus: "+", plusdo: "∔", plusdu: "⨥", pluse: "⩲", PlusMinus: "±", plusmn: "±", plussim: "⨦", plustwo: "⨧", pm: "±", Poincareplane: "ℌ", pointint: "⨕", popf: "𝕡", Popf: "ℙ", pound: "£", prap: "⪷", Pr: "⪻", pr: "≺", prcue: "≼", precapprox: "⪷", prec: "≺", preccurlyeq: "≼", Precedes: "≺", PrecedesEqual: "⪯", PrecedesSlantEqual: "≼", PrecedesTilde: "≾", preceq: "⪯", precnapprox: "⪹", precneqq: "⪵", precnsim: "⋨", pre: "⪯", prE: "⪳", precsim: "≾", prime: "′", Prime: "″", primes: "ℙ", prnap: "⪹", prnE: "⪵", prnsim: "⋨", prod: "∏", Product: "∏", profalar: "⌮", profline: "⌒", profsurf: "⌓", prop: "∝", Proportional: "∝", Proportion: "∷", propto: "∝", prsim: "≾", prurel: "⊰", Pscr: "𝒫", pscr: "𝓅", Psi: "Ψ", psi: "ψ", puncsp: " ", Qfr: "𝔔", qfr: "𝔮", qint: "⨌", qopf: "𝕢", Qopf: "ℚ", qprime: "⁗", Qscr: "𝒬", qscr: "𝓆", quaternions: "ℍ", quatint: "⨖", quest: "?", questeq: "≟", quot: "\"", QUOT: "\"", rAarr: "⇛", race: "∽̱", Racute: "Ŕ", racute: "ŕ", radic: "√", raemptyv: "⦳", rang: "⟩", Rang: "⟫", rangd: "⦒", range: "⦥", rangle: "⟩", raquo: "»", rarrap: "⥵", rarrb: "⇥", rarrbfs: "⤠", rarrc: "⤳", rarr: "→", Rarr: "↠", rArr: "⇒", rarrfs: "⤞", rarrhk: "↪", rarrlp: "↬", rarrpl: "⥅", rarrsim: "⥴", Rarrtl: "⤖", rarrtl: "↣", rarrw: "↝", ratail: "⤚", rAtail: "⤜", ratio: "∶", rationals: "ℚ", rbarr: "⤍", rBarr: "⤏", RBarr: "⤐", rbbrk: "❳", rbrace: "}", rbrack: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", Rcaron: "Ř", rcaron: "ř", Rcedil: "Ŗ", rcedil: "ŗ", rceil: "⌉", rcub: "}", Rcy: "Р", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdquo: "”", rdquor: "”", rdsh: "↳", real: "ℜ", realine: "ℛ", realpart: "ℜ", reals: "ℝ", Re: "ℜ", rect: "▭", reg: "®", REG: "®", ReverseElement: "∋", ReverseEquilibrium: "⇋", ReverseUpEquilibrium: "⥯", rfisht: "⥽", rfloor: "⌋", rfr: "𝔯", Rfr: "ℜ", rHar: "⥤", rhard: "⇁", rharu: "⇀", rharul: "⥬", Rho: "Ρ", rho: "ρ", rhov: "ϱ", RightAngleBracket: "⟩", RightArrowBar: "⇥", rightarrow: "→", RightArrow: "→", Rightarrow: "⇒", RightArrowLeftArrow: "⇄", rightarrowtail: "↣", RightCeiling: "⌉", RightDoubleBracket: "⟧", RightDownTeeVector: "⥝", RightDownVectorBar: "⥕", RightDownVector: "⇂", RightFloor: "⌋", rightharpoondown: "⇁", rightharpoonup: "⇀", rightleftarrows: "⇄", rightleftharpoons: "⇌", rightrightarrows: "⇉", rightsquigarrow: "↝", RightTeeArrow: "↦", RightTee: "⊢", RightTeeVector: "⥛", rightthreetimes: "⋌", RightTriangleBar: "⧐", RightTriangle: "⊳", RightTriangleEqual: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVectorBar: "⥔", RightUpVector: "↾", RightVectorBar: "⥓", RightVector: "⇀", ring: "˚", risingdotseq: "≓", rlarr: "⇄", rlhar: "⇌", rlm: "\u200f", rmoustache: "⎱", rmoust: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", robrk: "⟧", ropar: "⦆", ropf: "𝕣", Ropf: "ℝ", roplus: "⨮", rotimes: "⨵", RoundImplies: "⥰", rpar: ")", rpargt: "⦔", rppolint: "⨒", rrarr: "⇉", Rrightarrow: "⇛", rsaquo: "›", rscr: "𝓇", Rscr: "ℛ", rsh: "↱", Rsh: "↱", rsqb: "]", rsquo: "’", rsquor: "’", rthree: "⋌", rtimes: "⋊", rtri: "▹", rtrie: "⊵", rtrif: "▸", rtriltri: "⧎", RuleDelayed: "⧴", ruluhar: "⥨", rx: "℞", Sacute: "Ś", sacute: "ś", sbquo: "‚", scap: "⪸", Scaron: "Š", scaron: "š", Sc: "⪼", sc: "≻", sccue: "≽", sce: "⪰", scE: "⪴", Scedil: "Ş", scedil: "ş", Scirc: "Ŝ", scirc: "ŝ", scnap: "⪺", scnE: "⪶", scnsim: "⋩", scpolint: "⨓", scsim: "≿", Scy: "С", scy: "с", sdotb: "⊡", sdot: "⋅", sdote: "⩦", searhk: "⤥", searr: "↘", seArr: "⇘", searrow: "↘", sect: "§", semi: ";", seswar: "⤩", setminus: "∖", setmn: "∖", sext: "✶", Sfr: "𝔖", sfr: "𝔰", sfrown: "⌢", sharp: "♯", SHCHcy: "Щ", shchcy: "щ", SHcy: "Ш", shcy: "ш", ShortDownArrow: "↓", ShortLeftArrow: "←", shortmid: "∣", shortparallel: "∥", ShortRightArrow: "→", ShortUpArrow: "↑", shy: "\u00ad", Sigma: "Σ", sigma: "σ", sigmaf: "ς", sigmav: "ς", sim: "∼", simdot: "⩪", sime: "≃", simeq: "≃", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", slarr: "←", SmallCircle: "∘", smallsetminus: "∖", smashp: "⨳", smeparsl: "⧤", smid: "∣", smile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", SOFTcy: "Ь", softcy: "ь", solbar: "⌿", solb: "⧄", sol: "/", Sopf: "𝕊", sopf: "𝕤", spades: "♠", spadesuit: "♠", spar: "∥", sqcap: "⊓", sqcaps: "⊓︀", sqcup: "⊔", sqcups: "⊔︀", Sqrt: "√", sqsub: "⊏", sqsube: "⊑", sqsubset: "⊏", sqsubseteq: "⊑", sqsup: "⊐", sqsupe: "⊒", sqsupset: "⊐", sqsupseteq: "⊒", square: "□", Square: "□", SquareIntersection: "⊓", SquareSubset: "⊏", SquareSubsetEqual: "⊑", SquareSuperset: "⊐", SquareSupersetEqual: "⊒", SquareUnion: "⊔", squarf: "▪", squ: "□", squf: "▪", srarr: "→", Sscr: "𝒮", sscr: "𝓈", ssetmn: "∖", ssmile: "⌣", sstarf: "⋆", Star: "⋆", star: "☆", starf: "★", straightepsilon: "ϵ", straightphi: "ϕ", strns: "¯", sub: "⊂", Sub: "⋐", subdot: "⪽", subE: "⫅", sube: "⊆", subedot: "⫃", submult: "⫁", subnE: "⫋", subne: "⊊", subplus: "⪿", subrarr: "⥹", subset: "⊂", Subset: "⋐", subseteq: "⊆", subseteqq: "⫅", SubsetEqual: "⊆", subsetneq: "⊊", subsetneqq: "⫋", subsim: "⫇", subsub: "⫕", subsup: "⫓", succapprox: "⪸", succ: "≻", succcurlyeq: "≽", Succeeds: "≻", SucceedsEqual: "⪰", SucceedsSlantEqual: "≽", SucceedsTilde: "≿", succeq: "⪰", succnapprox: "⪺", succneqq: "⪶", succnsim: "⋩", succsim: "≿", SuchThat: "∋", sum: "∑", Sum: "∑", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", sup: "⊃", Sup: "⋑", supdot: "⪾", supdsub: "⫘", supE: "⫆", supe: "⊇", supedot: "⫄", Superset: "⊃", SupersetEqual: "⊇", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supne: "⊋", supplus: "⫀", supset: "⊃", Supset: "⋑", supseteq: "⊇", supseteqq: "⫆", supsetneq: "⊋", supsetneqq: "⫌", supsim: "⫈", supsub: "⫔", supsup: "⫖", swarhk: "⤦", swarr: "↙", swArr: "⇙", swarrow: "↙", swnwar: "⤪", szlig: "ß", Tab: "\u0009", target: "⌖", Tau: "Τ", tau: "τ", tbrk: "⎴", Tcaron: "Ť", tcaron: "ť", Tcedil: "Ţ", tcedil: "ţ", Tcy: "Т", tcy: "т", tdot: "⃛", telrec: "⌕", Tfr: "𝔗", tfr: "𝔱", there4: "∴", therefore: "∴", Therefore: "∴", Theta: "Θ", theta: "θ", thetasym: "ϑ", thetav: "ϑ", thickapprox: "≈", thicksim: "∼", ThickSpace: "  ", ThinSpace: " ", thinsp: " ", thkap: "≈", thksim: "∼", THORN: "Þ", thorn: "þ", tilde: "˜", Tilde: "∼", TildeEqual: "≃", TildeFullEqual: "≅", TildeTilde: "≈", timesbar: "⨱", timesb: "⊠", times: "×", timesd: "⨰", tint: "∭", toea: "⤨", topbot: "⌶", topcir: "⫱", top: "⊤", Topf: "𝕋", topf: "𝕥", topfork: "⫚", tosa: "⤩", tprime: "‴", trade: "™", TRADE: "™", triangle: "▵", triangledown: "▿", triangleleft: "◃", trianglelefteq: "⊴", triangleq: "≜", triangleright: "▹", trianglerighteq: "⊵", tridot: "◬", trie: "≜", triminus: "⨺", TripleDot: "⃛", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", Tscr: "𝒯", tscr: "𝓉", TScy: "Ц", tscy: "ц", TSHcy: "Ћ", tshcy: "ћ", Tstrok: "Ŧ", tstrok: "ŧ", twixt: "≬", twoheadleftarrow: "↞", twoheadrightarrow: "↠", Uacute: "Ú", uacute: "ú", uarr: "↑", Uarr: "↟", uArr: "⇑", Uarrocir: "⥉", Ubrcy: "Ў", ubrcy: "ў", Ubreve: "Ŭ", ubreve: "ŭ", Ucirc: "Û", ucirc: "û", Ucy: "У", ucy: "у", udarr: "⇅", Udblac: "Ű", udblac: "ű", udhar: "⥮", ufisht: "⥾", Ufr: "𝔘", ufr: "𝔲", Ugrave: "Ù", ugrave: "ù", uHar: "⥣", uharl: "↿", uharr: "↾", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", Umacr: "Ū", umacr: "ū", uml: "¨", UnderBar: "_", UnderBrace: "⏟", UnderBracket: "⎵", UnderParenthesis: "⏝", Union: "⋃", UnionPlus: "⊎", Uogon: "Ų", uogon: "ų", Uopf: "𝕌", uopf: "𝕦", UpArrowBar: "⤒", uparrow: "↑", UpArrow: "↑", Uparrow: "⇑", UpArrowDownArrow: "⇅", updownarrow: "↕", UpDownArrow: "↕", Updownarrow: "⇕", UpEquilibrium: "⥮", upharpoonleft: "↿", upharpoonright: "↾", uplus: "⊎", UpperLeftArrow: "↖", UpperRightArrow: "↗", upsi: "υ", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", upsilon: "υ", UpTeeArrow: "↥", UpTee: "⊥", upuparrows: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", Uring: "Ů", uring: "ů", urtri: "◹", Uscr: "𝒰", uscr: "𝓊", utdot: "⋰", Utilde: "Ũ", utilde: "ũ", utri: "▵", utrif: "▴", uuarr: "⇈", Uuml: "Ü", uuml: "ü", uwangle: "⦧", vangrt: "⦜", varepsilon: "ϵ", varkappa: "ϰ", varnothing: "∅", varphi: "ϕ", varpi: "ϖ", varpropto: "∝", varr: "↕", vArr: "⇕", varrho: "ϱ", varsigma: "ς", varsubsetneq: "⊊︀", varsubsetneqq: "⫋︀", varsupsetneq: "⊋︀", varsupsetneqq: "⫌︀", vartheta: "ϑ", vartriangleleft: "⊲", vartriangleright: "⊳", vBar: "⫨", Vbar: "⫫", vBarv: "⫩", Vcy: "В", vcy: "в", vdash: "⊢", vDash: "⊨", Vdash: "⊩", VDash: "⊫", Vdashl: "⫦", veebar: "⊻", vee: "∨", Vee: "⋁", veeeq: "≚", vellip: "⋮", verbar: "|", Verbar: "‖", vert: "|", Vert: "‖", VerticalBar: "∣", VerticalLine: "|", VerticalSeparator: "❘", VerticalTilde: "≀", VeryThinSpace: " ", Vfr: "𝔙", vfr: "𝔳", vltri: "⊲", vnsub: "⊂⃒", vnsup: "⊃⃒", Vopf: "𝕍", vopf: "𝕧", vprop: "∝", vrtri: "⊳", Vscr: "𝒱", vscr: "𝓋", vsubnE: "⫋︀", vsubne: "⊊︀", vsupnE: "⫌︀", vsupne: "⊋︀", Vvdash: "⊪", vzigzag: "⦚", Wcirc: "Ŵ", wcirc: "ŵ", wedbar: "⩟", wedge: "∧", Wedge: "⋀", wedgeq: "≙", weierp: "℘", Wfr: "𝔚", wfr: "𝔴", Wopf: "𝕎", wopf: "𝕨", wp: "℘", wr: "≀", wreath: "≀", Wscr: "𝒲", wscr: "𝓌", xcap: "⋂", xcirc: "◯", xcup: "⋃", xdtri: "▽", Xfr: "𝔛", xfr: "𝔵", xharr: "⟷", xhArr: "⟺", Xi: "Ξ", xi: "ξ", xlarr: "⟵", xlArr: "⟸", xmap: "⟼", xnis: "⋻", xodot: "⨀", Xopf: "𝕏", xopf: "𝕩", xoplus: "⨁", xotime: "⨂", xrarr: "⟶", xrArr: "⟹", Xscr: "𝒳", xscr: "𝓍", xsqcup: "⨆", xuplus: "⨄", xutri: "△", xvee: "⋁", xwedge: "⋀", Yacute: "Ý", yacute: "ý", YAcy: "Я", yacy: "я", Ycirc: "Ŷ", ycirc: "ŷ", Ycy: "Ы", ycy: "ы", yen: "¥", Yfr: "𝔜", yfr: "𝔶", YIcy: "Ї", yicy: "ї", Yopf: "𝕐", yopf: "𝕪", Yscr: "𝒴", yscr: "𝓎", YUcy: "Ю", yucy: "ю", yuml: "ÿ", Yuml: "Ÿ", Zacute: "Ź", zacute: "ź", Zcaron: "Ž", zcaron: "ž", Zcy: "З", zcy: "з", Zdot: "Ż", zdot: "ż", zeetrf: "ℨ", ZeroWidthSpace: "​", Zeta: "Ζ", zeta: "ζ", zfr: "𝔷", Zfr: "ℨ", ZHcy: "Ж", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", Zopf: "ℤ", Zscr: "𝒵", zscr: "𝓏", zwj: "\u200d", zwnj: "\u200c"
-};
-
-var HEXCHARCODE = /^#[xX]([A-Fa-f0-9]+)$/;
-var CHARCODE = /^#([0-9]+)$/;
-var NAMED = /^([A-Za-z0-9]+)$/;
-var EntityParser = /** @class */ (function () {
-    function EntityParser(named) {
-        this.named = named;
-    }
-    EntityParser.prototype.parse = function (entity) {
-        if (!entity) {
-            return;
-        }
-        var matches = entity.match(HEXCHARCODE);
-        if (matches) {
-            return String.fromCharCode(parseInt(matches[1], 16));
-        }
-        matches = entity.match(CHARCODE);
-        if (matches) {
-            return String.fromCharCode(parseInt(matches[1], 10));
-        }
-        matches = entity.match(NAMED);
-        if (matches) {
-            return this.named[matches[1]];
-        }
-    };
-    return EntityParser;
-}());
-
-var WSP = /[\t\n\f ]/;
-var ALPHA = /[A-Za-z]/;
-var CRLF = /\r\n?/g;
-function isSpace(char) {
-    return WSP.test(char);
-}
-function isAlpha(char) {
-    return ALPHA.test(char);
-}
-function preprocessInput(input) {
-    return input.replace(CRLF, '\n');
-}
-
-var EventedTokenizer = /** @class */ (function () {
-    function EventedTokenizer(delegate, entityParser, mode) {
-        if (mode === void 0) { mode = 'precompile'; }
-        this.delegate = delegate;
-        this.entityParser = entityParser;
-        this.mode = mode;
-        this.state = "beforeData" /* beforeData */;
-        this.line = -1;
-        this.column = -1;
-        this.input = '';
-        this.index = -1;
-        this.tagNameBuffer = '';
-        this.states = {
-            beforeData: function () {
-                var char = this.peek();
-                if (char === '<' && !this.isIgnoredEndTag()) {
-                    this.transitionTo("tagOpen" /* tagOpen */);
-                    this.markTagStart();
-                    this.consume();
-                }
-                else {
-                    if (this.mode === 'precompile' && char === '\n') {
-                        var tag = this.tagNameBuffer.toLowerCase();
-                        if (tag === 'pre' || tag === 'textarea') {
-                            this.consume();
-                        }
-                    }
-                    this.transitionTo("data" /* data */);
-                    this.delegate.beginData();
-                }
-            },
-            data: function () {
-                var char = this.peek();
-                var tag = this.tagNameBuffer;
-                if (char === '<' && !this.isIgnoredEndTag()) {
-                    this.delegate.finishData();
-                    this.transitionTo("tagOpen" /* tagOpen */);
-                    this.markTagStart();
-                    this.consume();
-                }
-                else if (char === '&' && tag !== 'script' && tag !== 'style') {
-                    this.consume();
-                    this.delegate.appendToData(this.consumeCharRef() || '&');
-                }
-                else {
-                    this.consume();
-                    this.delegate.appendToData(char);
-                }
-            },
-            tagOpen: function () {
-                var char = this.consume();
-                if (char === '!') {
-                    this.transitionTo("markupDeclarationOpen" /* markupDeclarationOpen */);
-                }
-                else if (char === '/') {
-                    this.transitionTo("endTagOpen" /* endTagOpen */);
-                }
-                else if (char === '@' || char === ':' || isAlpha(char)) {
-                    this.transitionTo("tagName" /* tagName */);
-                    this.tagNameBuffer = '';
-                    this.delegate.beginStartTag();
-                    this.appendToTagName(char);
-                }
-            },
-            markupDeclarationOpen: function () {
-                var char = this.consume();
-                if (char === '-' && this.peek() === '-') {
-                    this.consume();
-                    this.transitionTo("commentStart" /* commentStart */);
-                    this.delegate.beginComment();
-                }
-                else {
-                    var maybeDoctype = char.toUpperCase() + this.input.substring(this.index, this.index + 6).toUpperCase();
-                    if (maybeDoctype === 'DOCTYPE') {
-                        this.consume();
-                        this.consume();
-                        this.consume();
-                        this.consume();
-                        this.consume();
-                        this.consume();
-                        this.transitionTo("doctype" /* doctype */);
-                        if (this.delegate.beginDoctype)
-                            this.delegate.beginDoctype();
-                    }
-                }
-            },
-            doctype: function () {
-                var char = this.consume();
-                if (isSpace(char)) {
-                    this.transitionTo("beforeDoctypeName" /* beforeDoctypeName */);
-                }
-            },
-            beforeDoctypeName: function () {
-                var char = this.consume();
-                if (isSpace(char)) {
-                    return;
-                }
-                else {
-                    this.transitionTo("doctypeName" /* doctypeName */);
-                    if (this.delegate.appendToDoctypeName)
-                        this.delegate.appendToDoctypeName(char.toLowerCase());
-                }
-            },
-            doctypeName: function () {
-                var char = this.consume();
-                if (isSpace(char)) {
-                    this.transitionTo("afterDoctypeName" /* afterDoctypeName */);
-                }
-                else if (char === '>') {
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    if (this.delegate.appendToDoctypeName)
-                        this.delegate.appendToDoctypeName(char.toLowerCase());
-                }
-            },
-            afterDoctypeName: function () {
-                var char = this.consume();
-                if (isSpace(char)) {
-                    return;
-                }
-                else if (char === '>') {
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    var nextSixChars = char.toUpperCase() + this.input.substring(this.index, this.index + 5).toUpperCase();
-                    var isPublic = nextSixChars.toUpperCase() === 'PUBLIC';
-                    var isSystem = nextSixChars.toUpperCase() === 'SYSTEM';
-                    if (isPublic || isSystem) {
-                        this.consume();
-                        this.consume();
-                        this.consume();
-                        this.consume();
-                        this.consume();
-                        this.consume();
-                    }
-                    if (isPublic) {
-                        this.transitionTo("afterDoctypePublicKeyword" /* afterDoctypePublicKeyword */);
-                    }
-                    else if (isSystem) {
-                        this.transitionTo("afterDoctypeSystemKeyword" /* afterDoctypeSystemKeyword */);
-                    }
-                }
-            },
-            afterDoctypePublicKeyword: function () {
-                var char = this.peek();
-                if (isSpace(char)) {
-                    this.transitionTo("beforeDoctypePublicIdentifier" /* beforeDoctypePublicIdentifier */);
-                    this.consume();
-                }
-                else if (char === '"') {
-                    this.transitionTo("doctypePublicIdentifierDoubleQuoted" /* doctypePublicIdentifierDoubleQuoted */);
-                    this.consume();
-                }
-                else if (char === "'") {
-                    this.transitionTo("doctypePublicIdentifierSingleQuoted" /* doctypePublicIdentifierSingleQuoted */);
-                    this.consume();
-                }
-                else if (char === '>') {
-                    this.consume();
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-            },
-            doctypePublicIdentifierDoubleQuoted: function () {
-                var char = this.consume();
-                if (char === '"') {
-                    this.transitionTo("afterDoctypePublicIdentifier" /* afterDoctypePublicIdentifier */);
-                }
-                else if (char === '>') {
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    if (this.delegate.appendToDoctypePublicIdentifier)
-                        this.delegate.appendToDoctypePublicIdentifier(char);
-                }
-            },
-            doctypePublicIdentifierSingleQuoted: function () {
-                var char = this.consume();
-                if (char === "'") {
-                    this.transitionTo("afterDoctypePublicIdentifier" /* afterDoctypePublicIdentifier */);
-                }
-                else if (char === '>') {
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    if (this.delegate.appendToDoctypePublicIdentifier)
-                        this.delegate.appendToDoctypePublicIdentifier(char);
-                }
-            },
-            afterDoctypePublicIdentifier: function () {
-                var char = this.consume();
-                if (isSpace(char)) {
-                    this.transitionTo("betweenDoctypePublicAndSystemIdentifiers" /* betweenDoctypePublicAndSystemIdentifiers */);
-                }
-                else if (char === '>') {
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else if (char === '"') {
-                    this.transitionTo("doctypeSystemIdentifierDoubleQuoted" /* doctypeSystemIdentifierDoubleQuoted */);
-                }
-                else if (char === "'") {
-                    this.transitionTo("doctypeSystemIdentifierSingleQuoted" /* doctypeSystemIdentifierSingleQuoted */);
-                }
-            },
-            betweenDoctypePublicAndSystemIdentifiers: function () {
-                var char = this.consume();
-                if (isSpace(char)) {
-                    return;
-                }
-                else if (char === '>') {
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else if (char === '"') {
-                    this.transitionTo("doctypeSystemIdentifierDoubleQuoted" /* doctypeSystemIdentifierDoubleQuoted */);
-                }
-                else if (char === "'") {
-                    this.transitionTo("doctypeSystemIdentifierSingleQuoted" /* doctypeSystemIdentifierSingleQuoted */);
-                }
-            },
-            doctypeSystemIdentifierDoubleQuoted: function () {
-                var char = this.consume();
-                if (char === '"') {
-                    this.transitionTo("afterDoctypeSystemIdentifier" /* afterDoctypeSystemIdentifier */);
-                }
-                else if (char === '>') {
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    if (this.delegate.appendToDoctypeSystemIdentifier)
-                        this.delegate.appendToDoctypeSystemIdentifier(char);
-                }
-            },
-            doctypeSystemIdentifierSingleQuoted: function () {
-                var char = this.consume();
-                if (char === "'") {
-                    this.transitionTo("afterDoctypeSystemIdentifier" /* afterDoctypeSystemIdentifier */);
-                }
-                else if (char === '>') {
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    if (this.delegate.appendToDoctypeSystemIdentifier)
-                        this.delegate.appendToDoctypeSystemIdentifier(char);
-                }
-            },
-            afterDoctypeSystemIdentifier: function () {
-                var char = this.consume();
-                if (isSpace(char)) {
-                    return;
-                }
-                else if (char === '>') {
-                    if (this.delegate.endDoctype)
-                        this.delegate.endDoctype();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-            },
-            commentStart: function () {
-                var char = this.consume();
-                if (char === '-') {
-                    this.transitionTo("commentStartDash" /* commentStartDash */);
-                }
-                else if (char === '>') {
-                    this.delegate.finishComment();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    this.delegate.appendToCommentData(char);
-                    this.transitionTo("comment" /* comment */);
-                }
-            },
-            commentStartDash: function () {
-                var char = this.consume();
-                if (char === '-') {
-                    this.transitionTo("commentEnd" /* commentEnd */);
-                }
-                else if (char === '>') {
-                    this.delegate.finishComment();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    this.delegate.appendToCommentData('-');
-                    this.transitionTo("comment" /* comment */);
-                }
-            },
-            comment: function () {
-                var char = this.consume();
-                if (char === '-') {
-                    this.transitionTo("commentEndDash" /* commentEndDash */);
-                }
-                else {
-                    this.delegate.appendToCommentData(char);
-                }
-            },
-            commentEndDash: function () {
-                var char = this.consume();
-                if (char === '-') {
-                    this.transitionTo("commentEnd" /* commentEnd */);
-                }
-                else {
-                    this.delegate.appendToCommentData('-' + char);
-                    this.transitionTo("comment" /* comment */);
-                }
-            },
-            commentEnd: function () {
-                var char = this.consume();
-                if (char === '>') {
-                    this.delegate.finishComment();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    this.delegate.appendToCommentData('--' + char);
-                    this.transitionTo("comment" /* comment */);
-                }
-            },
-            tagName: function () {
-                var char = this.consume();
-                if (isSpace(char)) {
-                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
-                }
-                else if (char === '/') {
-                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
-                }
-                else if (char === '>') {
-                    this.delegate.finishTag();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    this.appendToTagName(char);
-                }
-            },
-            endTagName: function () {
-                var char = this.consume();
-                if (isSpace(char)) {
-                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
-                    this.tagNameBuffer = '';
-                }
-                else if (char === '/') {
-                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
-                    this.tagNameBuffer = '';
-                }
-                else if (char === '>') {
-                    this.delegate.finishTag();
-                    this.transitionTo("beforeData" /* beforeData */);
-                    this.tagNameBuffer = '';
-                }
-                else {
-                    this.appendToTagName(char);
-                }
-            },
-            beforeAttributeName: function () {
-                var char = this.peek();
-                if (isSpace(char)) {
-                    this.consume();
-                    return;
-                }
-                else if (char === '/') {
-                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
-                    this.consume();
-                }
-                else if (char === '>') {
-                    this.consume();
-                    this.delegate.finishTag();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else if (char === '=') {
-                    this.delegate.reportSyntaxError('attribute name cannot start with equals sign');
-                    this.transitionTo("attributeName" /* attributeName */);
-                    this.delegate.beginAttribute();
-                    this.consume();
-                    this.delegate.appendToAttributeName(char);
-                }
-                else {
-                    this.transitionTo("attributeName" /* attributeName */);
-                    this.delegate.beginAttribute();
-                }
-            },
-            attributeName: function () {
-                var char = this.peek();
-                if (isSpace(char)) {
-                    this.transitionTo("afterAttributeName" /* afterAttributeName */);
-                    this.consume();
-                }
-                else if (char === '/') {
-                    this.delegate.beginAttributeValue(false);
-                    this.delegate.finishAttributeValue();
-                    this.consume();
-                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
-                }
-                else if (char === '=') {
-                    this.transitionTo("beforeAttributeValue" /* beforeAttributeValue */);
-                    this.consume();
-                }
-                else if (char === '>') {
-                    this.delegate.beginAttributeValue(false);
-                    this.delegate.finishAttributeValue();
-                    this.consume();
-                    this.delegate.finishTag();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else if (char === '"' || char === "'" || char === '<') {
-                    this.delegate.reportSyntaxError(char + ' is not a valid character within attribute names');
-                    this.consume();
-                    this.delegate.appendToAttributeName(char);
-                }
-                else {
-                    this.consume();
-                    this.delegate.appendToAttributeName(char);
-                }
-            },
-            afterAttributeName: function () {
-                var char = this.peek();
-                if (isSpace(char)) {
-                    this.consume();
-                    return;
-                }
-                else if (char === '/') {
-                    this.delegate.beginAttributeValue(false);
-                    this.delegate.finishAttributeValue();
-                    this.consume();
-                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
-                }
-                else if (char === '=') {
-                    this.consume();
-                    this.transitionTo("beforeAttributeValue" /* beforeAttributeValue */);
-                }
-                else if (char === '>') {
-                    this.delegate.beginAttributeValue(false);
-                    this.delegate.finishAttributeValue();
-                    this.consume();
-                    this.delegate.finishTag();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    this.delegate.beginAttributeValue(false);
-                    this.delegate.finishAttributeValue();
-                    this.transitionTo("attributeName" /* attributeName */);
-                    this.delegate.beginAttribute();
-                    this.consume();
-                    this.delegate.appendToAttributeName(char);
-                }
-            },
-            beforeAttributeValue: function () {
-                var char = this.peek();
-                if (isSpace(char)) {
-                    this.consume();
-                }
-                else if (char === '"') {
-                    this.transitionTo("attributeValueDoubleQuoted" /* attributeValueDoubleQuoted */);
-                    this.delegate.beginAttributeValue(true);
-                    this.consume();
-                }
-                else if (char === "'") {
-                    this.transitionTo("attributeValueSingleQuoted" /* attributeValueSingleQuoted */);
-                    this.delegate.beginAttributeValue(true);
-                    this.consume();
-                }
-                else if (char === '>') {
-                    this.delegate.beginAttributeValue(false);
-                    this.delegate.finishAttributeValue();
-                    this.consume();
-                    this.delegate.finishTag();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    this.transitionTo("attributeValueUnquoted" /* attributeValueUnquoted */);
-                    this.delegate.beginAttributeValue(false);
-                    this.consume();
-                    this.delegate.appendToAttributeValue(char);
-                }
-            },
-            attributeValueDoubleQuoted: function () {
-                var char = this.consume();
-                if (char === '"') {
-                    this.delegate.finishAttributeValue();
-                    this.transitionTo("afterAttributeValueQuoted" /* afterAttributeValueQuoted */);
-                }
-                else if (char === '&') {
-                    this.delegate.appendToAttributeValue(this.consumeCharRef() || '&');
-                }
-                else {
-                    this.delegate.appendToAttributeValue(char);
-                }
-            },
-            attributeValueSingleQuoted: function () {
-                var char = this.consume();
-                if (char === "'") {
-                    this.delegate.finishAttributeValue();
-                    this.transitionTo("afterAttributeValueQuoted" /* afterAttributeValueQuoted */);
-                }
-                else if (char === '&') {
-                    this.delegate.appendToAttributeValue(this.consumeCharRef() || '&');
-                }
-                else {
-                    this.delegate.appendToAttributeValue(char);
-                }
-            },
-            attributeValueUnquoted: function () {
-                var char = this.peek();
-                if (isSpace(char)) {
-                    this.delegate.finishAttributeValue();
-                    this.consume();
-                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
-                }
-                else if (char === '/') {
-                    this.delegate.finishAttributeValue();
-                    this.consume();
-                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
-                }
-                else if (char === '&') {
-                    this.consume();
-                    this.delegate.appendToAttributeValue(this.consumeCharRef() || '&');
-                }
-                else if (char === '>') {
-                    this.delegate.finishAttributeValue();
-                    this.consume();
-                    this.delegate.finishTag();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    this.consume();
-                    this.delegate.appendToAttributeValue(char);
-                }
-            },
-            afterAttributeValueQuoted: function () {
-                var char = this.peek();
-                if (isSpace(char)) {
-                    this.consume();
-                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
-                }
-                else if (char === '/') {
-                    this.consume();
-                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
-                }
-                else if (char === '>') {
-                    this.consume();
-                    this.delegate.finishTag();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
-                }
-            },
-            selfClosingStartTag: function () {
-                var char = this.peek();
-                if (char === '>') {
-                    this.consume();
-                    this.delegate.markTagAsSelfClosing();
-                    this.delegate.finishTag();
-                    this.transitionTo("beforeData" /* beforeData */);
-                }
-                else {
-                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
-                }
-            },
-            endTagOpen: function () {
-                var char = this.consume();
-                if (char === '@' || char === ':' || isAlpha(char)) {
-                    this.transitionTo("endTagName" /* endTagName */);
-                    this.tagNameBuffer = '';
-                    this.delegate.beginEndTag();
-                    this.appendToTagName(char);
-                }
-            }
-        };
-        this.reset();
-    }
-    EventedTokenizer.prototype.reset = function () {
-        this.transitionTo("beforeData" /* beforeData */);
-        this.input = '';
-        this.tagNameBuffer = '';
-        this.index = 0;
-        this.line = 1;
-        this.column = 0;
-        this.delegate.reset();
-    };
-    EventedTokenizer.prototype.transitionTo = function (state) {
-        this.state = state;
-    };
-    EventedTokenizer.prototype.tokenize = function (input) {
-        this.reset();
-        this.tokenizePart(input);
-        this.tokenizeEOF();
-    };
-    EventedTokenizer.prototype.tokenizePart = function (input) {
-        this.input += preprocessInput(input);
-        while (this.index < this.input.length) {
-            var handler = this.states[this.state];
-            if (handler !== undefined) {
-                handler.call(this);
-            }
-            else {
-                throw new Error("unhandled state " + this.state);
-            }
-        }
-    };
-    EventedTokenizer.prototype.tokenizeEOF = function () {
-        this.flushData();
-    };
-    EventedTokenizer.prototype.flushData = function () {
-        if (this.state === 'data') {
-            this.delegate.finishData();
-            this.transitionTo("beforeData" /* beforeData */);
-        }
-    };
-    EventedTokenizer.prototype.peek = function () {
-        return this.input.charAt(this.index);
-    };
-    EventedTokenizer.prototype.consume = function () {
-        var char = this.peek();
-        this.index++;
-        if (char === '\n') {
-            this.line++;
-            this.column = 0;
-        }
-        else {
-            this.column++;
-        }
-        return char;
-    };
-    EventedTokenizer.prototype.consumeCharRef = function () {
-        var endIndex = this.input.indexOf(';', this.index);
-        if (endIndex === -1) {
-            return;
-        }
-        var entity = this.input.slice(this.index, endIndex);
-        var chars = this.entityParser.parse(entity);
-        if (chars) {
-            var count = entity.length;
-            // consume the entity chars
-            while (count) {
-                this.consume();
-                count--;
-            }
-            // consume the `;`
-            this.consume();
-            return chars;
-        }
-    };
-    EventedTokenizer.prototype.markTagStart = function () {
-        this.delegate.tagOpen();
-    };
-    EventedTokenizer.prototype.appendToTagName = function (char) {
-        this.tagNameBuffer += char;
-        this.delegate.appendToTagName(char);
-    };
-    EventedTokenizer.prototype.isIgnoredEndTag = function () {
-        var tag = this.tagNameBuffer;
-        return (tag === 'title' && this.input.substring(this.index, this.index + 8) !== '</title>') ||
-            (tag === 'style' && this.input.substring(this.index, this.index + 8) !== '</style>') ||
-            (tag === 'script' && this.input.substring(this.index, this.index + 9) !== '</script>');
-    };
-    return EventedTokenizer;
-}());
-
-var Tokenizer = /** @class */ (function () {
-    function Tokenizer(entityParser, options) {
-        if (options === void 0) { options = {}; }
-        this.options = options;
-        this.token = null;
-        this.startLine = 1;
-        this.startColumn = 0;
-        this.tokens = [];
-        this.tokenizer = new EventedTokenizer(this, entityParser, options.mode);
-        this._currentAttribute = undefined;
-    }
-    Tokenizer.prototype.tokenize = function (input) {
-        this.tokens = [];
-        this.tokenizer.tokenize(input);
-        return this.tokens;
-    };
-    Tokenizer.prototype.tokenizePart = function (input) {
-        this.tokens = [];
-        this.tokenizer.tokenizePart(input);
-        return this.tokens;
-    };
-    Tokenizer.prototype.tokenizeEOF = function () {
-        this.tokens = [];
-        this.tokenizer.tokenizeEOF();
-        return this.tokens[0];
-    };
-    Tokenizer.prototype.reset = function () {
-        this.token = null;
-        this.startLine = 1;
-        this.startColumn = 0;
-    };
-    Tokenizer.prototype.current = function () {
-        var token = this.token;
-        if (token === null) {
-            throw new Error('token was unexpectedly null');
-        }
-        if (arguments.length === 0) {
-            return token;
-        }
-        for (var i = 0; i < arguments.length; i++) {
-            if (token.type === arguments[i]) {
-                return token;
-            }
-        }
-        throw new Error("token type was unexpectedly " + token.type);
-    };
-    Tokenizer.prototype.push = function (token) {
-        this.token = token;
-        this.tokens.push(token);
-    };
-    Tokenizer.prototype.currentAttribute = function () {
-        return this._currentAttribute;
-    };
-    Tokenizer.prototype.addLocInfo = function () {
-        if (this.options.loc) {
-            this.current().loc = {
-                start: {
-                    line: this.startLine,
-                    column: this.startColumn
-                },
-                end: {
-                    line: this.tokenizer.line,
-                    column: this.tokenizer.column
-                }
-            };
-        }
-        this.startLine = this.tokenizer.line;
-        this.startColumn = this.tokenizer.column;
-    };
-    // Data
-    Tokenizer.prototype.beginDoctype = function () {
-        this.push({
-            type: "Doctype" /* Doctype */,
-            name: '',
-        });
-    };
-    Tokenizer.prototype.appendToDoctypeName = function (char) {
-        this.current("Doctype" /* Doctype */).name += char;
-    };
-    Tokenizer.prototype.appendToDoctypePublicIdentifier = function (char) {
-        var doctype = this.current("Doctype" /* Doctype */);
-        if (doctype.publicIdentifier === undefined) {
-            doctype.publicIdentifier = char;
-        }
-        else {
-            doctype.publicIdentifier += char;
-        }
-    };
-    Tokenizer.prototype.appendToDoctypeSystemIdentifier = function (char) {
-        var doctype = this.current("Doctype" /* Doctype */);
-        if (doctype.systemIdentifier === undefined) {
-            doctype.systemIdentifier = char;
-        }
-        else {
-            doctype.systemIdentifier += char;
-        }
-    };
-    Tokenizer.prototype.endDoctype = function () {
-        this.addLocInfo();
-    };
-    Tokenizer.prototype.beginData = function () {
-        this.push({
-            type: "Chars" /* Chars */,
-            chars: ''
-        });
-    };
-    Tokenizer.prototype.appendToData = function (char) {
-        this.current("Chars" /* Chars */).chars += char;
-    };
-    Tokenizer.prototype.finishData = function () {
-        this.addLocInfo();
-    };
-    // Comment
-    Tokenizer.prototype.beginComment = function () {
-        this.push({
-            type: "Comment" /* Comment */,
-            chars: ''
-        });
-    };
-    Tokenizer.prototype.appendToCommentData = function (char) {
-        this.current("Comment" /* Comment */).chars += char;
-    };
-    Tokenizer.prototype.finishComment = function () {
-        this.addLocInfo();
-    };
-    // Tags - basic
-    Tokenizer.prototype.tagOpen = function () { };
-    Tokenizer.prototype.beginStartTag = function () {
-        this.push({
-            type: "StartTag" /* StartTag */,
-            tagName: '',
-            attributes: [],
-            selfClosing: false
-        });
-    };
-    Tokenizer.prototype.beginEndTag = function () {
-        this.push({
-            type: "EndTag" /* EndTag */,
-            tagName: ''
-        });
-    };
-    Tokenizer.prototype.finishTag = function () {
-        this.addLocInfo();
-    };
-    Tokenizer.prototype.markTagAsSelfClosing = function () {
-        this.current("StartTag" /* StartTag */).selfClosing = true;
-    };
-    // Tags - name
-    Tokenizer.prototype.appendToTagName = function (char) {
-        this.current("StartTag" /* StartTag */, "EndTag" /* EndTag */).tagName += char;
-    };
-    // Tags - attributes
-    Tokenizer.prototype.beginAttribute = function () {
-        this._currentAttribute = ['', '', false];
-    };
-    Tokenizer.prototype.appendToAttributeName = function (char) {
-        this.currentAttribute()[0] += char;
-    };
-    Tokenizer.prototype.beginAttributeValue = function (isQuoted) {
-        this.currentAttribute()[2] = isQuoted;
-    };
-    Tokenizer.prototype.appendToAttributeValue = function (char) {
-        this.currentAttribute()[1] += char;
-    };
-    Tokenizer.prototype.finishAttributeValue = function () {
-        this.current("StartTag" /* StartTag */).attributes.push(this._currentAttribute);
-    };
-    Tokenizer.prototype.reportSyntaxError = function (message) {
-        this.current().syntaxError = message;
-    };
-    return Tokenizer;
-}());
-
-function tokenize(input, options) {
-    var tokenizer = new Tokenizer(new EntityParser(namedCharRefs), options);
-    return tokenizer.tokenize(input);
-}
-
-
-
-// EXTERNAL MODULE: external ["wp","htmlEntities"]
-var external_wp_htmlEntities_ = __webpack_require__("rmEH");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/validation/logger.js
-function createLogger() {
-  /**
-   * Creates a log handler with block validation prefix.
-   *
-   * @param {Function} logger Original logger function.
-   *
-   * @return {Function} Augmented logger function.
-   */
-  function createLogHandler(logger) {
-    let log = function (message) {
-      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-        args[_key - 1] = arguments[_key];
-      }
-
-      return logger('Block validation: ' + message, ...args);
-    }; // In test environments, pre-process string substitutions to improve
-    // readability of error messages. We'd prefer to avoid pulling in this
-    // dependency in runtime environments, and it can be dropped by a combo
-    // of Webpack env substitution + UglifyJS dead code elimination.
-
-
-    if (false) {}
-
-    return log;
-  }
-
-  return {
-    // eslint-disable-next-line no-console
-    error: createLogHandler(console.error),
-    // eslint-disable-next-line no-console
-    warning: createLogHandler(console.warn),
-
-    getItems() {
-      return [];
-    }
-
-  };
-}
-function createQueuedLogger() {
-  /**
-   * The list of enqueued log actions to print.
-   *
-   * @type {Array}
-   */
-  const queue = [];
-  const logger = createLogger();
-  return {
-    error() {
-      for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-        args[_key2] = arguments[_key2];
-      }
-
-      queue.push({
-        log: logger.error,
-        args
-      });
-    },
-
-    warning() {
-      for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
-        args[_key3] = arguments[_key3];
-      }
-
-      queue.push({
-        log: logger.warning,
-        args
-      });
-    },
-
-    getItems() {
-      return queue;
-    }
-
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/validation/index.js
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-/**
- * Globally matches any consecutive whitespace
- *
- * @type {RegExp}
- */
-
-const REGEXP_WHITESPACE = /[\t\n\r\v\f ]+/g;
-/**
- * Matches a string containing only whitespace
- *
- * @type {RegExp}
- */
-
-const REGEXP_ONLY_WHITESPACE = /^[\t\n\r\v\f ]*$/;
-/**
- * Matches a CSS URL type value
- *
- * @type {RegExp}
- */
-
-const REGEXP_STYLE_URL_TYPE = /^url\s*\(['"\s]*(.*?)['"\s]*\)$/;
-/**
- * Boolean attributes are attributes whose presence as being assigned is
- * meaningful, even if only empty.
- *
- * See: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes
- * Extracted from: https://html.spec.whatwg.org/multipage/indices.html#attributes-3
- *
- * Object.keys( Array.from( document.querySelectorAll( '#attributes-1 > tbody > tr' ) )
- *     .filter( ( tr ) => tr.lastChild.textContent.indexOf( 'Boolean attribute' ) !== -1 )
- *     .reduce( ( result, tr ) => Object.assign( result, {
- *         [ tr.firstChild.textContent.trim() ]: true
- *     } ), {} ) ).sort();
- *
- * @type {Array}
- */
-
-const BOOLEAN_ATTRIBUTES = ['allowfullscreen', 'allowpaymentrequest', 'allowusermedia', 'async', 'autofocus', 'autoplay', 'checked', 'controls', 'default', 'defer', 'disabled', 'download', 'formnovalidate', 'hidden', 'ismap', 'itemscope', 'loop', 'multiple', 'muted', 'nomodule', 'novalidate', 'open', 'playsinline', 'readonly', 'required', 'reversed', 'selected', 'typemustmatch'];
-/**
- * Enumerated attributes are attributes which must be of a specific value form.
- * Like boolean attributes, these are meaningful if specified, even if not of a
- * valid enumerated value.
- *
- * See: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#enumerated-attribute
- * Extracted from: https://html.spec.whatwg.org/multipage/indices.html#attributes-3
- *
- * Object.keys( Array.from( document.querySelectorAll( '#attributes-1 > tbody > tr' ) )
- *     .filter( ( tr ) => /^("(.+?)";?\s*)+/.test( tr.lastChild.textContent.trim() ) )
- *     .reduce( ( result, tr ) => Object.assign( result, {
- *         [ tr.firstChild.textContent.trim() ]: true
- *     } ), {} ) ).sort();
- *
- * @type {Array}
- */
-
-const ENUMERATED_ATTRIBUTES = ['autocapitalize', 'autocomplete', 'charset', 'contenteditable', 'crossorigin', 'decoding', 'dir', 'draggable', 'enctype', 'formenctype', 'formmethod', 'http-equiv', 'inputmode', 'kind', 'method', 'preload', 'scope', 'shape', 'spellcheck', 'translate', 'type', 'wrap'];
-/**
- * Meaningful attributes are those who cannot be safely ignored when omitted in
- * one HTML markup string and not another.
- *
- * @type {Array}
- */
-
-const MEANINGFUL_ATTRIBUTES = [...BOOLEAN_ATTRIBUTES, ...ENUMERATED_ATTRIBUTES];
-/**
- * Array of functions which receive a text string on which to apply normalizing
- * behavior for consideration in text token equivalence, carefully ordered from
- * least-to-most expensive operations.
- *
- * @type {Array}
- */
-
-const TEXT_NORMALIZATIONS = [external_lodash_["identity"], getTextWithCollapsedWhitespace];
-/**
- * Regular expression matching a named character reference. In lieu of bundling
- * a full set of references, the pattern covers the minimal necessary to test
- * positively against the full set.
- *
- * "The ampersand must be followed by one of the names given in the named
- * character references section, using the same case."
- *
- * Tested aginst "12.5 Named character references":
- *
- * ```
- * const references = Array.from( document.querySelectorAll(
- *     '#named-character-references-table tr[id^=entity-] td:first-child'
- * ) ).map( ( code ) => code.textContent )
- * references.every( ( reference ) => /^[\da-z]+$/i.test( reference ) )
- * ```
- *
- * @see https://html.spec.whatwg.org/multipage/syntax.html#character-references
- * @see https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references
- *
- * @type {RegExp}
- */
-
-const REGEXP_NAMED_CHARACTER_REFERENCE = /^[\da-z]+$/i;
-/**
- * Regular expression matching a decimal character reference.
- *
- * "The ampersand must be followed by a U+0023 NUMBER SIGN character (#),
- * followed by one or more ASCII digits, representing a base-ten integer"
- *
- * @see https://html.spec.whatwg.org/multipage/syntax.html#character-references
- *
- * @type {RegExp}
- */
-
-const REGEXP_DECIMAL_CHARACTER_REFERENCE = /^#\d+$/;
-/**
- * Regular expression matching a hexadecimal character reference.
- *
- * "The ampersand must be followed by a U+0023 NUMBER SIGN character (#), which
- * must be followed by either a U+0078 LATIN SMALL LETTER X character (x) or a
- * U+0058 LATIN CAPITAL LETTER X character (X), which must then be followed by
- * one or more ASCII hex digits, representing a hexadecimal integer"
- *
- * @see https://html.spec.whatwg.org/multipage/syntax.html#character-references
- *
- * @type {RegExp}
- */
-
-const REGEXP_HEXADECIMAL_CHARACTER_REFERENCE = /^#x[\da-f]+$/i;
-/**
- * Returns true if the given string is a valid character reference segment, or
- * false otherwise. The text should be stripped of `&` and `;` demarcations.
- *
- * @param {string} text Text to test.
- *
- * @return {boolean} Whether text is valid character reference.
- */
-
-function isValidCharacterReference(text) {
-  return REGEXP_NAMED_CHARACTER_REFERENCE.test(text) || REGEXP_DECIMAL_CHARACTER_REFERENCE.test(text) || REGEXP_HEXADECIMAL_CHARACTER_REFERENCE.test(text);
-}
-/**
- * Subsitute EntityParser class for `simple-html-tokenizer` which uses the
- * implementation of `decodeEntities` from `html-entities`, in order to avoid
- * bundling a massive named character reference.
- *
- * @see https://github.com/tildeio/simple-html-tokenizer/tree/HEAD/src/entity-parser.ts
- */
-
-class validation_DecodeEntityParser {
-  /**
-   * Returns a substitute string for an entity string sequence between `&`
-   * and `;`, or undefined if no substitution should occur.
-   *
-   * @param {string} entity Entity fragment discovered in HTML.
-   *
-   * @return {?string} Entity substitute value.
-   */
-  parse(entity) {
-    if (isValidCharacterReference(entity)) {
-      return Object(external_wp_htmlEntities_["decodeEntities"])('&' + entity + ';');
-    }
-  }
-
-}
-/**
- * Given a specified string, returns an array of strings split by consecutive
- * whitespace, ignoring leading or trailing whitespace.
- *
- * @param {string} text Original text.
- *
- * @return {string[]} Text pieces split on whitespace.
- */
-
-function getTextPiecesSplitOnWhitespace(text) {
-  return text.trim().split(REGEXP_WHITESPACE);
-}
-/**
- * Given a specified string, returns a new trimmed string where all consecutive
- * whitespace is collapsed to a single space.
- *
- * @param {string} text Original text.
- *
- * @return {string} Trimmed text with consecutive whitespace collapsed.
- */
-
-function getTextWithCollapsedWhitespace(text) {
-  // This is an overly simplified whitespace comparison. The specification is
-  // more prescriptive of whitespace behavior in inline and block contexts.
-  //
-  // See: https://medium.com/@patrickbrosset/when-does-white-space-matter-in-html-b90e8a7cdd33
-  return getTextPiecesSplitOnWhitespace(text).join(' ');
-}
-/**
- * Returns attribute pairs of the given StartTag token, including only pairs
- * where the value is non-empty or the attribute is a boolean attribute, an
- * enumerated attribute, or a custom data- attribute.
- *
- * @see MEANINGFUL_ATTRIBUTES
- *
- * @param {Object} token StartTag token.
- *
- * @return {Array[]} Attribute pairs.
- */
-
-function getMeaningfulAttributePairs(token) {
-  return token.attributes.filter(pair => {
-    const [key, value] = pair;
-    return value || key.indexOf('data-') === 0 || Object(external_lodash_["includes"])(MEANINGFUL_ATTRIBUTES, key);
-  });
-}
-/**
- * Returns true if two text tokens (with `chars` property) are equivalent, or
- * false otherwise.
- *
- * @param {Object} actual   Actual token.
- * @param {Object} expected Expected token.
- * @param {Object} logger   Validation logger object.
- *
- * @return {boolean} Whether two text tokens are equivalent.
- */
-
-function isEquivalentTextTokens(actual, expected) {
-  let logger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createLogger();
-  // This function is intentionally written as syntactically "ugly" as a hot
-  // path optimization. Text is progressively normalized in order from least-
-  // to-most operationally expensive, until the earliest point at which text
-  // can be confidently inferred as being equal.
-  let actualChars = actual.chars;
-  let expectedChars = expected.chars;
-
-  for (let i = 0; i < TEXT_NORMALIZATIONS.length; i++) {
-    const normalize = TEXT_NORMALIZATIONS[i];
-    actualChars = normalize(actualChars);
-    expectedChars = normalize(expectedChars);
-
-    if (actualChars === expectedChars) {
-      return true;
-    }
-  }
-
-  logger.warning('Expected text `%s`, saw `%s`.', expected.chars, actual.chars);
-  return false;
-}
-/**
- * Given a CSS length value, returns a normalized CSS length value for strict equality
- * comparison.
- *
- * @param {string} value CSS length value.
- *
- * @return {string} Normalized CSS length value.
- */
-
-function getNormalizedLength(value) {
-  if (0 === parseFloat(value)) {
-    return '0';
-  } // Normalize strings with floats to always include a leading zero.
-
-
-  if (value.indexOf('.') === 0) {
-    return '0' + value;
-  }
-
-  return value;
-}
-/**
- * Given a style value, returns a normalized style value for strict equality
- * comparison.
- *
- * @param {string} value Style value.
- *
- * @return {string} Normalized style value.
- */
-
-function getNormalizedStyleValue(value) {
-  const textPieces = getTextPiecesSplitOnWhitespace(value);
-  const normalizedPieces = textPieces.map(getNormalizedLength);
-  const result = normalizedPieces.join(' ');
-  return result // Normalize URL type to omit whitespace or quotes
-  .replace(REGEXP_STYLE_URL_TYPE, 'url($1)');
-}
-/**
- * Given a style attribute string, returns an object of style properties.
- *
- * @param {string} text Style attribute.
- *
- * @return {Object} Style properties.
- */
-
-function getStyleProperties(text) {
-  const pairs = text // Trim ending semicolon (avoid including in split)
-  .replace(/;?\s*$/, '') // Split on property assignment
-  .split(';') // For each property assignment...
-  .map(style => {
-    // ...split further into key-value pairs
-    const [key, ...valueParts] = style.split(':');
-    const value = valueParts.join(':');
-    return [key.trim(), getNormalizedStyleValue(value.trim())];
-  });
-  return Object(external_lodash_["fromPairs"])(pairs);
-}
-/**
- * Attribute-specific equality handlers
- *
- * @type {Object}
- */
-
-const isEqualAttributesOfName = {
-  class: (actual, expected) => {
-    // Class matches if members are the same, even if out of order or
-    // superfluous whitespace between.
-    return !Object(external_lodash_["xor"])(...[actual, expected].map(getTextPiecesSplitOnWhitespace)).length;
-  },
-  style: (actual, expected) => {
-    return Object(external_lodash_["isEqual"])(...[actual, expected].map(getStyleProperties));
-  },
-  // For each boolean attribute, mere presence of attribute in both is enough
-  // to assume equivalence.
-  ...Object(external_lodash_["fromPairs"])(BOOLEAN_ATTRIBUTES.map(attribute => [attribute, external_lodash_["stubTrue"]]))
-};
-/**
- * Given two sets of attribute tuples, returns true if the attribute sets are
- * equivalent.
- *
- * @param {Array[]} actual   Actual attributes tuples.
- * @param {Array[]} expected Expected attributes tuples.
- * @param {Object}  logger   Validation logger object.
- *
- * @return {boolean} Whether attributes are equivalent.
- */
-
-function isEqualTagAttributePairs(actual, expected) {
-  let logger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createLogger();
-
-  // Attributes is tokenized as tuples. Their lengths should match. This also
-  // avoids us needing to check both attributes sets, since if A has any keys
-  // which do not exist in B, we know the sets to be different.
-  if (actual.length !== expected.length) {
-    logger.warning('Expected attributes %o, instead saw %o.', expected, actual);
-    return false;
-  } // Attributes are not guaranteed to occur in the same order. For validating
-  // actual attributes, first convert the set of expected attribute values to
-  // an object, for lookup by key.
-
-
-  const expectedAttributes = {};
-
-  for (let i = 0; i < expected.length; i++) {
-    expectedAttributes[expected[i][0].toLowerCase()] = expected[i][1];
-  }
-
-  for (let i = 0; i < actual.length; i++) {
-    const [name, actualValue] = actual[i];
-    const nameLower = name.toLowerCase(); // As noted above, if missing member in B, assume different
-
-    if (!expectedAttributes.hasOwnProperty(nameLower)) {
-      logger.warning('Encountered unexpected attribute `%s`.', name);
-      return false;
-    }
-
-    const expectedValue = expectedAttributes[nameLower];
-    const isEqualAttributes = isEqualAttributesOfName[nameLower];
-
-    if (isEqualAttributes) {
-      // Defer custom attribute equality handling
-      if (!isEqualAttributes(actualValue, expectedValue)) {
-        logger.warning('Expected attribute `%s` of value `%s`, saw `%s`.', name, expectedValue, actualValue);
-        return false;
-      }
-    } else if (actualValue !== expectedValue) {
-      // Otherwise strict inequality should bail
-      logger.warning('Expected attribute `%s` of value `%s`, saw `%s`.', name, expectedValue, actualValue);
-      return false;
-    }
-  }
-
-  return true;
-}
-/**
- * Token-type-specific equality handlers
- *
- * @type {Object}
- */
-
-const isEqualTokensOfType = {
-  StartTag: function (actual, expected) {
-    let logger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createLogger();
-
-    if (actual.tagName !== expected.tagName && // Optimization: Use short-circuit evaluation to defer case-
-    // insensitive check on the assumption that the majority case will
-    // have exactly equal tag names.
-    actual.tagName.toLowerCase() !== expected.tagName.toLowerCase()) {
-      logger.warning('Expected tag name `%s`, instead saw `%s`.', expected.tagName, actual.tagName);
-      return false;
-    }
-
-    return isEqualTagAttributePairs(...[actual, expected].map(getMeaningfulAttributePairs), logger);
-  },
-  Chars: isEquivalentTextTokens,
-  Comment: isEquivalentTextTokens
-};
-/**
- * Given an array of tokens, returns the first token which is not purely
- * whitespace.
- *
- * Mutates the tokens array.
- *
- * @param {Object[]} tokens Set of tokens to search.
- *
- * @return {Object} Next non-whitespace token.
- */
-
-function getNextNonWhitespaceToken(tokens) {
-  let token;
-
-  while (token = tokens.shift()) {
-    if (token.type !== 'Chars') {
-      return token;
-    }
-
-    if (!REGEXP_ONLY_WHITESPACE.test(token.chars)) {
-      return token;
-    }
-  }
-}
-/**
- * Tokenize an HTML string, gracefully handling any errors thrown during
- * underlying tokenization.
- *
- * @param {string} html   HTML string to tokenize.
- * @param {Object} logger Validation logger object.
- *
- * @return {Object[]|null} Array of valid tokenized HTML elements, or null on error
- */
-
-function getHTMLTokens(html) {
-  let logger = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : createLogger();
-
-  try {
-    return new Tokenizer(new validation_DecodeEntityParser()).tokenize(html);
-  } catch (e) {
-    logger.warning('Malformed HTML detected: %s', html);
-  }
-
-  return null;
-}
-/**
- * Returns true if the next HTML token closes the current token.
- *
- * @param {Object}           currentToken Current token to compare with.
- * @param {Object|undefined} nextToken    Next token to compare against.
- *
- * @return {boolean} true if `nextToken` closes `currentToken`, false otherwise
- */
-
-
-function isClosedByToken(currentToken, nextToken) {
-  // Ensure this is a self closed token
-  if (!currentToken.selfClosing) {
-    return false;
-  } // Check token names and determine if nextToken is the closing tag for currentToken
-
-
-  if (nextToken && nextToken.tagName === currentToken.tagName && nextToken.type === 'EndTag') {
-    return true;
-  }
-
-  return false;
-}
-/**
- * Returns true if the given HTML strings are effectively equivalent, or
- * false otherwise. Invalid HTML is not considered equivalent, even if the
- * strings directly match.
- *
- * @param {string} actual   Actual HTML string.
- * @param {string} expected Expected HTML string.
- * @param {Object} logger   Validation logger object.
- *
- * @return {boolean} Whether HTML strings are equivalent.
- */
-
-function isEquivalentHTML(actual, expected) {
-  let logger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createLogger();
-
-  // Short-circuit if markup is identical.
-  if (actual === expected) {
-    return true;
-  } // Tokenize input content and reserialized save content
-
-
-  const [actualTokens, expectedTokens] = [actual, expected].map(html => getHTMLTokens(html, logger)); // If either is malformed then stop comparing - the strings are not equivalent
-
-  if (!actualTokens || !expectedTokens) {
-    return false;
-  }
-
-  let actualToken, expectedToken;
-
-  while (actualToken = getNextNonWhitespaceToken(actualTokens)) {
-    expectedToken = getNextNonWhitespaceToken(expectedTokens); // Inequal if exhausted all expected tokens
-
-    if (!expectedToken) {
-      logger.warning('Expected end of content, instead saw %o.', actualToken);
-      return false;
-    } // Inequal if next non-whitespace token of each set are not same type
-
-
-    if (actualToken.type !== expectedToken.type) {
-      logger.warning('Expected token of type `%s` (%o), instead saw `%s` (%o).', expectedToken.type, expectedToken, actualToken.type, actualToken);
-      return false;
-    } // Defer custom token type equality handling, otherwise continue and
-    // assume as equal
-
-
-    const isEqualTokens = isEqualTokensOfType[actualToken.type];
-
-    if (isEqualTokens && !isEqualTokens(actualToken, expectedToken, logger)) {
-      return false;
-    } // Peek at the next tokens (actual and expected) to see if they close
-    // a self-closing tag
-
-
-    if (isClosedByToken(actualToken, expectedTokens[0])) {
-      // Consume the next expected token that closes the current actual
-      // self-closing token
-      getNextNonWhitespaceToken(expectedTokens);
-    } else if (isClosedByToken(expectedToken, actualTokens[0])) {
-      // Consume the next actual token that closes the current expected
-      // self-closing token
-      getNextNonWhitespaceToken(actualTokens);
-    }
-  }
-
-  if (expectedToken = getNextNonWhitespaceToken(expectedTokens)) {
-    // If any non-whitespace tokens remain in expected token set, this
-    // indicates inequality
-    logger.warning('Expected %o, instead saw end of content.', expectedToken);
-    return false;
-  }
-
-  return true;
-}
-/**
- * Returns an object with `isValid` property set to `true` if the parsed block
- * is valid given the input content. A block is considered valid if, when serialized
- * with assumed attributes, the content matches the original value. If block is
- * invalid, this function returns all validations issues as well.
- *
- * @param {string|Object} blockTypeOrName      Block type.
- * @param {Object}        attributes           Parsed block attributes.
- * @param {string}        originalBlockContent Original block content.
- * @param {Object}        logger               Validation logger object.
- *
- * @return {Object} Whether block is valid and contains validation messages.
- */
-
-/**
- * Returns an object with `isValid` property set to `true` if the parsed block
- * is valid given the input content. A block is considered valid if, when serialized
- * with assumed attributes, the content matches the original value. If block is
- * invalid, this function returns all validations issues as well.
- *
- * @param {import('../parser').WPBlock}           block           block object.
- * @param {import('../registration').WPBlockType} blockTypeOrName Block type or name.
- *
- * @return {[boolean,Object]} validation results.
- */
-
-function validateBlock(block, blockTypeOrName) {
-  const isFallbackBlock = block.name === getFreeformContentHandlerName() || block.name === getUnregisteredTypeHandlerName(); // Shortcut to avoid costly validation.
-
-  if (isFallbackBlock) {
-    return [true];
-  }
-
-  const logger = createQueuedLogger();
-  const blockType = normalizeBlockType(blockTypeOrName);
-  let generatedBlockContent;
-
-  try {
-    generatedBlockContent = getSaveContent(blockType, block.attributes);
-  } catch (error) {
-    logger.error('Block validation failed because an error occurred while generating block content:\n\n%s', error.toString());
-    return [false, logger.getItems()];
-  }
-
-  const isValid = isEquivalentHTML(block.originalContent, generatedBlockContent, logger);
-
-  if (!isValid) {
-    logger.error('Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s', blockType.name, blockType, generatedBlockContent, block.originalContent);
-  }
-
-  return [isValid, logger.getItems()];
-}
-/**
- * Returns true if the parsed block is valid given the input content. A block
- * is considered valid if, when serialized with assumed attributes, the content
- * matches the original value.
- *
- * Logs to console in development environments when invalid.
- *
- * @param {string|Object} blockTypeOrName      Block type.
- * @param {Object}        attributes           Parsed block attributes.
- * @param {string}        originalBlockContent Original block content.
- *
- * @return {boolean} Whether block is valid.
- */
-
-function isValidBlockContent(blockTypeOrName, attributes, originalBlockContent) {
-  const blockType = normalizeBlockType(blockTypeOrName);
-  const block = {
-    name: blockType.name,
-    attributes,
-    innerBlocks: [],
-    originalContent: originalBlockContent
-  };
-  const [isValid] = validateBlock(block, blockType);
-  return isValid;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/convert-legacy-block.js
-/**
- * Convert legacy blocks to their canonical form. This function is used
- * both in the parser level for previous content and to convert such blocks
- * used in Custom Post Types templates.
- *
- * @param {string} name       The block's name
- * @param {Object} attributes The block's attributes
- *
- * @return {[string, Object]} The block's name and attributes, changed accordingly if a match was found
- */
-function convertLegacyBlockNameAndAttributes(name, attributes) {
-  const newAttributes = { ...attributes
-  }; // Convert 'core/cover-image' block in existing content to 'core/cover'.
-
-  if ('core/cover-image' === name) {
-    name = 'core/cover';
-  } // Convert 'core/text' blocks in existing content to 'core/paragraph'.
-
-
-  if ('core/text' === name || 'core/cover-text' === name) {
-    name = 'core/paragraph';
-  } // Convert derivative blocks such as 'core/social-link-wordpress' to the
-  // canonical form 'core/social-link'.
-
-
-  if (name && name.indexOf('core/social-link-') === 0) {
-    // Capture `social-link-wordpress` into `{"service":"wordpress"}`
-    newAttributes.service = name.substring(17);
-    name = 'core/social-link';
-  } // Convert derivative blocks such as 'core-embed/instagram' to the
-  // canonical form 'core/embed'.
-
-
-  if (name && name.indexOf('core-embed/') === 0) {
-    // Capture `core-embed/instagram` into `{"providerNameSlug":"instagram"}`
-    const providerSlug = name.substring(11);
-    const deprecated = {
-      speaker: 'speaker-deck',
-      polldaddy: 'crowdsignal'
-    };
-    newAttributes.providerNameSlug = providerSlug in deprecated ? deprecated[providerSlug] : providerSlug; // this is needed as the `responsive` attribute was passed
-    // in a different way before the refactoring to block variations
-
-    if (!['amazon-kindle', 'wordpress'].includes(providerSlug)) {
-      newAttributes.responsive = true;
-    }
-
-    name = 'core/embed';
-  } // Convert 'core/query-loop' blocks in existing content to 'core/post-template'.
-  // TODO: Remove this check when WordPress 5.9 is released.
-
-
-  if (name === 'core/query-loop') {
-    name = 'core/post-template';
-  } // Convert Post Comment blocks in existing content to Comment blocks.
-  // TODO: Remove these checks when WordPress 6.0 is released.
-
-
-  if (name === 'core/post-comment-author') {
-    name = 'core/comment-author-name';
-  }
-
-  if (name === 'core/post-comment-content') {
-    name = 'core/comment-content';
-  }
-
-  if (name === 'core/post-comment-date') {
-    name = 'core/comment-date';
-  }
-
-  return [name, newAttributes];
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/serialize-raw-block.js
-/**
- * Internal dependencies
- */
-
-/**
- * Serializes a block node into the native HTML-comment-powered block format.
- * CAVEAT: This function is intended for reserializing blocks as parsed by
- * valid parsers and skips any validation steps. This is NOT a generic
- * serialization function for in-memory blocks. For most purposes, see the
- * following functions available in the `@wordpress/blocks` package:
- *
- * @see serializeBlock
- * @see serialize
- *
- * For more on the format of block nodes as returned by valid parsers:
- *
- * @see `@wordpress/block-serialization-default-parser` package
- * @see `@wordpress/block-serialization-spec-parser` package
- *
- * @param {import(".").WPRawBlock} rawBlock                   A block node as returned by a valid parser.
- * @param {?Object}                options                    Serialization options.
- * @param {?boolean}               options.isCommentDelimited Whether to output HTML comments around blocks.
- *
- * @return {string} An HTML string representing a block.
- */
-
-function serializeRawBlock(rawBlock) {
-  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  const {
-    isCommentDelimited = true
-  } = options;
-  const {
-    blockName,
-    attrs = {},
-    innerBlocks = [],
-    innerContent = []
-  } = rawBlock;
-  let childIndex = 0;
-  const content = innerContent.map(item => // `null` denotes a nested block, otherwise we have an HTML fragment.
-  item !== null ? item : serializeRawBlock(innerBlocks[childIndex++], options)).join('\n').replace(/\n+/g, '\n').trim();
-  return isCommentDelimited ? getCommentDelimitedContent(blockName, attrs, content) : content;
-}
-
-// CONCATENATED MODULE: ./node_modules/hpq/es/get-path.js
-/**
- * Given object and string of dot-delimited path segments, returns value at
- * path or undefined if path cannot be resolved.
- *
- * @param  {Object} object Lookup object
- * @param  {string} path   Path to resolve
- * @return {?*}            Resolved value
- */
-function getPath(object, path) {
-  var segments = path.split('.');
-  var segment;
-
-  while (segment = segments.shift()) {
-    if (!(segment in object)) {
-      return;
-    }
-
-    object = object[segment];
-  }
-
-  return object;
-}
-// CONCATENATED MODULE: ./node_modules/hpq/es/index.js
-/**
- * Internal dependencies
- */
-
-/**
- * Function returning a DOM document created by `createHTMLDocument`. The same
- * document is returned between invocations.
- *
- * @return {Document} DOM document.
- */
-
-var getDocument = function () {
-  var doc;
-  return function () {
-    if (!doc) {
-      doc = document.implementation.createHTMLDocument('');
-    }
-
-    return doc;
-  };
-}();
-/**
- * Given a markup string or DOM element, creates an object aligning with the
- * shape of the matchers object, or the value returned by the matcher.
- *
- * @param  {(string|Element)}  source   Source content
- * @param  {(Object|Function)} matchers Matcher function or object of matchers
- * @return {(Object|*)}                 Matched value(s), shaped by object
- */
-
-
-function parse(source, matchers) {
-  if (!matchers) {
-    return;
-  } // Coerce to element
-
-
-  if ('string' === typeof source) {
-    var doc = getDocument();
-    doc.body.innerHTML = source;
-    source = doc.body;
-  } // Return singular value
-
-
-  if ('function' === typeof matchers) {
-    return matchers(source);
-  } // Bail if we can't handle matchers
-
-
-  if (Object !== matchers.constructor) {
-    return;
-  } // Shape result by matcher object
-
-
-  return Object.keys(matchers).reduce(function (memo, key) {
-    memo[key] = parse(source, matchers[key]);
-    return memo;
-  }, {});
-}
-/**
- * Generates a function which matches node of type selector, returning an
- * attribute by property if the attribute exists. If no selector is passed,
- * returns property of the query element.
- *
- * @param  {?string} selector Optional selector
- * @param  {string}  name     Property name
- * @return {*}                Property value
- */
-
-function prop(selector, name) {
-  if (1 === arguments.length) {
-    name = selector;
-    selector = undefined;
-  }
-
-  return function (node) {
-    var match = node;
-
-    if (selector) {
-      match = node.querySelector(selector);
-    }
-
-    if (match) {
-      return getPath(match, name);
-    }
-  };
-}
-/**
- * Generates a function which matches node of type selector, returning an
- * attribute by name if the attribute exists. If no selector is passed,
- * returns attribute of the query element.
- *
- * @param  {?string} selector Optional selector
- * @param  {string}  name     Attribute name
- * @return {?string}          Attribute value
- */
-
-function attr(selector, name) {
-  if (1 === arguments.length) {
-    name = selector;
-    selector = undefined;
-  }
-
-  return function (node) {
-    var attributes = prop(selector, 'attributes')(node);
-
-    if (attributes && attributes.hasOwnProperty(name)) {
-      return attributes[name].value;
-    }
-  };
-}
-/**
- * Convenience for `prop( selector, 'innerHTML' )`.
- *
- * @see prop()
- *
- * @param  {?string} selector Optional selector
- * @return {string}           Inner HTML
- */
-
-function es_html(selector) {
-  return prop(selector, 'innerHTML');
-}
-/**
- * Convenience for `prop( selector, 'textContent' )`.
- *
- * @see prop()
- *
- * @param  {?string} selector Optional selector
- * @return {string}           Text content
- */
-
-function es_text(selector) {
-  return prop(selector, 'textContent');
-}
-/**
- * Creates a new matching context by first finding elements matching selector
- * using querySelectorAll before then running another `parse` on `matchers`
- * scoped to the matched elements.
- *
- * @see parse()
- *
- * @param  {string}            selector Selector to match
- * @param  {(Object|Function)} matchers Matcher function or object of matchers
- * @return {Array.<*,Object>}           Array of matched value(s)
- */
-
-function query(selector, matchers) {
-  return function (node) {
-    var matches = node.querySelectorAll(selector);
-    return [].map.call(matches, function (match) {
-      return parse(match, matchers);
-    });
-  };
-}
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/matchers.js
-/**
- * External dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-function matchers_html(selector, multilineTag) {
-  return domNode => {
-    let match = domNode;
-
-    if (selector) {
-      match = domNode.querySelector(selector);
-    }
-
-    if (!match) {
-      return '';
-    }
-
-    if (multilineTag) {
-      let value = '';
-      const length = match.children.length;
-
-      for (let index = 0; index < length; index++) {
-        const child = match.children[index];
-
-        if (child.nodeName.toLowerCase() !== multilineTag) {
-          continue;
-        }
-
-        value += child.outerHTML;
-      }
-
-      return value;
-    }
-
-    return match.innerHTML;
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/node.js
-/**
- * Internal dependencies
- */
-
-/**
- * A representation of a single node within a block's rich text value. If
- * representing a text node, the value is simply a string of the node value.
- * As representing an element node, it is an object of:
- *
- * 1. `type` (string): Tag name.
- * 2. `props` (object): Attributes and children array of WPBlockNode.
- *
- * @typedef {string|Object} WPBlockNode
- */
-
-/**
- * Given a single node and a node type (e.g. `'br'`), returns true if the node
- * corresponds to that type, false otherwise.
- *
- * @param {WPBlockNode} node Block node to test
- * @param {string}      type Node to type to test against.
- *
- * @return {boolean} Whether node is of intended type.
- */
-
-function isNodeOfType(node, type) {
-  return node && node.type === type;
-}
-/**
- * Given an object implementing the NamedNodeMap interface, returns a plain
- * object equivalent value of name, value key-value pairs.
- *
- * @see https://dom.spec.whatwg.org/#interface-namednodemap
- *
- * @param {NamedNodeMap} nodeMap NamedNodeMap to convert to object.
- *
- * @return {Object} Object equivalent value of NamedNodeMap.
- */
-
-
-function getNamedNodeMapAsObject(nodeMap) {
-  const result = {};
-
-  for (let i = 0; i < nodeMap.length; i++) {
-    const {
-      name,
-      value
-    } = nodeMap[i];
-    result[name] = value;
-  }
-
-  return result;
-}
-/**
- * Given a DOM Element or Text node, returns an equivalent block node. Throws
- * if passed any node type other than element or text.
- *
- * @throws {TypeError} If non-element/text node is passed.
- *
- * @param {Node} domNode DOM node to convert.
- *
- * @return {WPBlockNode} Block node equivalent to DOM node.
- */
-
-function fromDOM(domNode) {
-  if (domNode.nodeType === domNode.TEXT_NODE) {
-    return domNode.nodeValue;
-  }
-
-  if (domNode.nodeType !== domNode.ELEMENT_NODE) {
-    throw new TypeError('A block node can only be created from a node of type text or ' + 'element.');
-  }
-
-  return {
-    type: domNode.nodeName.toLowerCase(),
-    props: { ...getNamedNodeMapAsObject(domNode.attributes),
-      children: children_fromDOM(domNode.childNodes)
-    }
-  };
-}
-/**
- * Given a block node, returns its HTML string representation.
- *
- * @param {WPBlockNode} node Block node to convert to string.
- *
- * @return {string} String HTML representation of block node.
- */
-
-function toHTML(node) {
-  return children_toHTML([node]);
-}
-/**
- * Given a selector, returns an hpq matcher generating a WPBlockNode value
- * matching the selector result.
- *
- * @param {string} selector DOM selector.
- *
- * @return {Function} hpq matcher.
- */
-
-function node_matcher(selector) {
-  return domNode => {
-    let match = domNode;
-
-    if (selector) {
-      match = domNode.querySelector(selector);
-    }
-
-    try {
-      return fromDOM(match);
-    } catch (error) {
-      return null;
-    }
-  };
-}
-/**
- * Object of utility functions used in managing block attribute values of
- * source `node`.
- *
- * @see https://github.com/WordPress/gutenberg/pull/10439
- *
- * @deprecated since 4.0. The `node` source should not be used, and can be
- *             replaced by the `html` source.
- *
- * @private
- */
-
-/* harmony default export */ var api_node = ({
-  isNodeOfType,
-  fromDOM,
-  toHTML,
-  matcher: node_matcher
-});
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/children.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-/**
- * A representation of a block's rich text value.
- *
- * @typedef {WPBlockNode[]} WPBlockChildren
- */
-
-/**
- * Given block children, returns a serialize-capable WordPress element.
- *
- * @param {WPBlockChildren} children Block children object to convert.
- *
- * @return {WPElement} A serialize-capable element.
- */
-
-function getSerializeCapableElement(children) {
-  // The fact that block children are compatible with the element serializer is
-  // merely an implementation detail that currently serves to be true, but
-  // should not be mistaken as being a guarantee on the external API. The
-  // public API only offers guarantees to work with strings (toHTML) and DOM
-  // elements (fromDOM), and should provide utilities to manipulate the value
-  // rather than expect consumers to inspect or construct its shape (concat).
-  return children;
-}
-/**
- * Given block children, returns an array of block nodes.
- *
- * @param {WPBlockChildren} children Block children object to convert.
- *
- * @return {Array<WPBlockNode>} An array of individual block nodes.
- */
-
-function getChildrenArray(children) {
-  // The fact that block children are compatible with the element serializer
-  // is merely an implementation detail that currently serves to be true, but
-  // should not be mistaken as being a guarantee on the external API.
-  return children;
-}
-/**
- * Given two or more block nodes, returns a new block node representing a
- * concatenation of its values.
- *
- * @param {...WPBlockChildren} blockNodes Block nodes to concatenate.
- *
- * @return {WPBlockChildren} Concatenated block node.
- */
-
-
-function concat() {
-  const result = [];
-
-  for (let i = 0; i < arguments.length; i++) {
-    const blockNode = Object(external_lodash_["castArray"])(i < 0 || arguments.length <= i ? undefined : arguments[i]);
-
-    for (let j = 0; j < blockNode.length; j++) {
-      const child = blockNode[j];
-      const canConcatToPreviousString = typeof child === 'string' && typeof result[result.length - 1] === 'string';
-
-      if (canConcatToPreviousString) {
-        result[result.length - 1] += child;
-      } else {
-        result.push(child);
-      }
-    }
-  }
-
-  return result;
-}
-/**
- * Given an iterable set of DOM nodes, returns equivalent block children.
- * Ignores any non-element/text nodes included in set.
- *
- * @param {Iterable.<Node>} domNodes Iterable set of DOM nodes to convert.
- *
- * @return {WPBlockChildren} Block children equivalent to DOM nodes.
- */
-
-function children_fromDOM(domNodes) {
-  const result = [];
-
-  for (let i = 0; i < domNodes.length; i++) {
-    try {
-      result.push(fromDOM(domNodes[i]));
-    } catch (error) {// Simply ignore if DOM node could not be converted.
-    }
-  }
-
-  return result;
-}
-/**
- * Given a block node, returns its HTML string representation.
- *
- * @param {WPBlockChildren} children Block node(s) to convert to string.
- *
- * @return {string} String HTML representation of block node.
- */
-
-function children_toHTML(children) {
-  const element = getSerializeCapableElement(children);
-  return Object(external_wp_element_["renderToString"])(element);
-}
-/**
- * Given a selector, returns an hpq matcher generating a WPBlockChildren value
- * matching the selector result.
- *
- * @param {string} selector DOM selector.
- *
- * @return {Function} hpq matcher.
- */
-
-function children_matcher(selector) {
-  return domNode => {
-    let match = domNode;
-
-    if (selector) {
-      match = domNode.querySelector(selector);
-    }
-
-    if (match) {
-      return children_fromDOM(match.childNodes);
-    }
-
-    return [];
-  };
-}
-/**
- * Object of utility functions used in managing block attribute values of
- * source `children`.
- *
- * @see https://github.com/WordPress/gutenberg/pull/10439
- *
- * @deprecated since 4.0. The `children` source should not be used, and can be
- *             replaced by the `html` source.
- *
- * @private
- */
-
-/* harmony default export */ var api_children = ({
-  concat,
-  getChildrenArray,
-  fromDOM: children_fromDOM,
-  toHTML: children_toHTML,
-  matcher: children_matcher
-});
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/get-block-attributes.js
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * Higher-order hpq matcher which enhances an attribute matcher to return true
- * or false depending on whether the original matcher returns undefined. This
- * is useful for boolean attributes (e.g. disabled) whose attribute values may
- * be technically falsey (empty string), though their mere presence should be
- * enough to infer as true.
- *
- * @param {Function} matcher Original hpq matcher.
- *
- * @return {Function} Enhanced hpq matcher.
- */
-
-const toBooleanAttributeMatcher = matcher => Object(external_lodash_["flow"])([matcher, // Expected values from `attr( 'disabled' )`:
-//
-// <input>
-// - Value:       `undefined`
-// - Transformed: `false`
-//
-// <input disabled>
-// - Value:       `''`
-// - Transformed: `true`
-//
-// <input disabled="disabled">
-// - Value:       `'disabled'`
-// - Transformed: `true`
-value => value !== undefined]);
-/**
- * Returns true if value is of the given JSON schema type, or false otherwise.
- *
- * @see http://json-schema.org/latest/json-schema-validation.html#rfc.section.6.25
- *
- * @param {*}      value Value to test.
- * @param {string} type  Type to test.
- *
- * @return {boolean} Whether value is of type.
- */
-
-function isOfType(value, type) {
-  switch (type) {
-    case 'string':
-      return typeof value === 'string';
-
-    case 'boolean':
-      return typeof value === 'boolean';
-
-    case 'object':
-      return !!value && value.constructor === Object;
-
-    case 'null':
-      return value === null;
-
-    case 'array':
-      return Array.isArray(value);
-
-    case 'integer':
-    case 'number':
-      return typeof value === 'number';
-  }
-
-  return true;
-}
-/**
- * Returns true if value is of an array of given JSON schema types, or false
- * otherwise.
- *
- * @see http://json-schema.org/latest/json-schema-validation.html#rfc.section.6.25
- *
- * @param {*}        value Value to test.
- * @param {string[]} types Types to test.
- *
- * @return {boolean} Whether value is of types.
- */
-
-function isOfTypes(value, types) {
-  return types.some(type => isOfType(value, type));
-}
-/**
- * Given an attribute key, an attribute's schema, a block's raw content and the
- * commentAttributes returns the attribute value depending on its source
- * definition of the given attribute key.
- *
- * @param {string} attributeKey      Attribute key.
- * @param {Object} attributeSchema   Attribute's schema.
- * @param {string} innerHTML         Block's raw content.
- * @param {Object} commentAttributes Block's comment attributes.
- *
- * @return {*} Attribute value.
- */
-
-function getBlockAttribute(attributeKey, attributeSchema, innerHTML, commentAttributes) {
-  const {
-    type,
-    enum: enumSet
-  } = attributeSchema;
-  let value;
-
-  switch (attributeSchema.source) {
-    // An undefined source means that it's an attribute serialized to the
-    // block's "comment".
-    case undefined:
-      value = commentAttributes ? commentAttributes[attributeKey] : undefined;
-      break;
-
-    case 'attribute':
-    case 'property':
-    case 'html':
-    case 'text':
-    case 'children':
-    case 'node':
-    case 'query':
-    case 'tag':
-      value = parseWithAttributeSchema(innerHTML, attributeSchema);
-      break;
-  }
-
-  if (!isValidByType(value, type) || !isValidByEnum(value, enumSet)) {
-    // Reject the value if it is not valid. Reverting to the undefined
-    // value ensures the default is respected, if applicable.
-    value = undefined;
-  }
-
-  if (value === undefined) {
-    return attributeSchema.default;
-  }
-
-  return value;
-}
-/**
- * Returns true if value is valid per the given block attribute schema type
- * definition, or false otherwise.
- *
- * @see https://json-schema.org/latest/json-schema-validation.html#rfc.section.6.1.1
- *
- * @param {*}                       value Value to test.
- * @param {?(Array<string>|string)} type  Block attribute schema type.
- *
- * @return {boolean} Whether value is valid.
- */
-
-function isValidByType(value, type) {
-  return type === undefined || isOfTypes(value, Object(external_lodash_["castArray"])(type));
-}
-/**
- * Returns true if value is valid per the given block attribute schema enum
- * definition, or false otherwise.
- *
- * @see https://json-schema.org/latest/json-schema-validation.html#rfc.section.6.1.2
- *
- * @param {*}      value   Value to test.
- * @param {?Array} enumSet Block attribute schema enum.
- *
- * @return {boolean} Whether value is valid.
- */
-
-function isValidByEnum(value, enumSet) {
-  return !Array.isArray(enumSet) || enumSet.includes(value);
-}
-/**
- * Returns an hpq matcher given a source object.
- *
- * @param {Object} sourceConfig Attribute Source object.
- *
- * @return {Function} A hpq Matcher.
- */
-
-function matcherFromSource(sourceConfig) {
-  switch (sourceConfig.source) {
-    case 'attribute':
-      let matcher = attr(sourceConfig.selector, sourceConfig.attribute);
-
-      if (sourceConfig.type === 'boolean') {
-        matcher = toBooleanAttributeMatcher(matcher);
-      }
-
-      return matcher;
-
-    case 'html':
-      return matchers_html(sourceConfig.selector, sourceConfig.multiline);
-
-    case 'text':
-      return es_text(sourceConfig.selector);
-
-    case 'children':
-      return children_matcher(sourceConfig.selector);
-
-    case 'node':
-      return node_matcher(sourceConfig.selector);
-
-    case 'query':
-      const subMatchers = Object(external_lodash_["mapValues"])(sourceConfig.query, matcherFromSource);
-      return query(sourceConfig.selector, subMatchers);
-
-    case 'tag':
-      return Object(external_lodash_["flow"])([prop(sourceConfig.selector, 'nodeName'), nodeName => nodeName ? nodeName.toLowerCase() : undefined]);
-
-    default:
-      // eslint-disable-next-line no-console
-      console.error(`Unknown source type "${sourceConfig.source}"`);
-  }
-}
-/**
- * Given a block's raw content and an attribute's schema returns the attribute's
- * value depending on its source.
- *
- * @param {string} innerHTML       Block's raw content.
- * @param {Object} attributeSchema Attribute's schema.
- *
- * @return {*} Attribute value.
- */
-
-function parseWithAttributeSchema(innerHTML, attributeSchema) {
-  return parse(innerHTML, matcherFromSource(attributeSchema));
-}
-/**
- * Returns the block attributes of a registered block node given its type.
- *
- * @param {string|Object} blockTypeOrName Block type or name.
- * @param {string}        innerHTML       Raw block content.
- * @param {?Object}       attributes      Known block attributes (from delimiters).
- *
- * @return {Object} All block attributes.
- */
-
-function getBlockAttributes(blockTypeOrName, innerHTML) {
-  let attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-  const blockType = normalizeBlockType(blockTypeOrName);
-  const blockAttributes = Object(external_lodash_["mapValues"])(blockType.attributes, (attributeSchema, attributeKey) => {
-    return getBlockAttribute(attributeKey, attributeSchema, innerHTML, attributes);
-  });
-  return Object(external_wp_hooks_["applyFilters"])('blocks.getBlockAttributes', blockAttributes, blockType, innerHTML, attributes);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/fix-custom-classname.js
-/**
- * External dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-
-/**
- * Given an HTML string, returns an array of class names assigned to the root
- * element in the markup.
- *
- * @param {string} innerHTML Markup string from which to extract classes.
- *
- * @return {string[]} Array of class names assigned to the root element.
- */
-
-function getHTMLRootElementClasses(innerHTML) {
-  innerHTML = `<div data-custom-class-name>${innerHTML}</div>`;
-  const parsed = parseWithAttributeSchema(innerHTML, {
-    type: 'string',
-    source: 'attribute',
-    selector: '[data-custom-class-name] > *',
-    attribute: 'class'
-  });
-  return parsed ? parsed.trim().split(/\s+/) : [];
-}
-/**
- * Given a parsed set of block attributes, if the block supports custom class
- * names and an unknown class (per the block's serialization behavior) is
- * found, the unknown classes are treated as custom classes. This prevents the
- * block from being considered as invalid.
- *
- * @param {Object} blockAttributes Original block attributes.
- * @param {Object} blockType       Block type settings.
- * @param {string} innerHTML       Original block markup.
- *
- * @return {Object} Filtered block attributes.
- */
-
-function fixCustomClassname(blockAttributes, blockType, innerHTML) {
-  if (registration_hasBlockSupport(blockType, 'customClassName', true)) {
-    // To determine difference, serialize block given the known set of
-    // attributes, with the exception of `className`. This will determine
-    // the default set of classes. From there, any difference in innerHTML
-    // can be considered as custom classes.
-    const attributesSansClassName = Object(external_lodash_["omit"])(blockAttributes, ['className']);
-    const serialized = getSaveContent(blockType, attributesSansClassName);
-    const defaultClasses = getHTMLRootElementClasses(serialized);
-    const actualClasses = getHTMLRootElementClasses(innerHTML);
-    const customClasses = Object(external_lodash_["difference"])(actualClasses, defaultClasses);
-
-    if (customClasses.length) {
-      blockAttributes.className = customClasses.join(' ');
-    } else if (serialized) {
-      delete blockAttributes.className;
-    }
-  }
-
-  return blockAttributes;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/apply-built-in-validation-fixes.js
-/**
- * Internal dependencies
- */
-
-/**
- * Attempts to fix block invalidation by applying build-in validation fixes
- * like moving all extra classNames to the className attribute.
- *
- * @param {WPBlock}                               block     block object.
- * @param {import('../registration').WPBlockType} blockType Block type. This is normalize not necessary and
- *                                                          can be inferred from the block name,
- *                                                          but it's here for performance reasons.
- *
- * @return {WPBlock} Fixed block object
- */
-
-function applyBuiltInValidationFixes(block, blockType) {
-  const updatedBlockAttributes = fixCustomClassname(block.attributes, blockType, block.originalContent);
-  return { ...block,
-    attributes: updatedBlockAttributes
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/apply-block-deprecated-versions.js
-/**
- * External dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-/**
- * Given a block object, returns a new copy of the block with any applicable
- * deprecated migrations applied, or the original block if it was both valid
- * and no eligible migrations exist.
- *
- * @param {import(".").WPBlock}                   block     Parsed and invalid block object.
- * @param {import(".").WPRawBlock}                rawBlock  Raw block object.
- * @param {import('../registration').WPBlockType} blockType Block type. This is normalize not necessary and
- *                                                          can be inferred from the block name,
- *                                                          but it's here for performance reasons.
- *
- * @return {import(".").WPBlock} Migrated block object.
- */
-
-function applyBlockDeprecatedVersions(block, rawBlock, blockType) {
-  const parsedAttributes = rawBlock.attrs;
-  const {
-    deprecated: deprecatedDefinitions
-  } = blockType; // Bail early if there are no registered deprecations to be handled.
-
-  if (!deprecatedDefinitions || !deprecatedDefinitions.length) {
-    return block;
-  } // By design, blocks lack any sort of version tracking. Instead, to process
-  // outdated content the system operates a queue out of all the defined
-  // attribute shapes and tries each definition until the input produces a
-  // valid result. This mechanism seeks to avoid polluting the user-space with
-  // machine-specific code. An invalid block is thus a block that could not be
-  // matched successfully with any of the registered deprecation definitions.
-
-
-  for (let i = 0; i < deprecatedDefinitions.length; i++) {
-    // A block can opt into a migration even if the block is valid by
-    // defining `isEligible` on its deprecation. If the block is both valid
-    // and does not opt to migrate, skip.
-    const {
-      isEligible = external_lodash_["stubFalse"]
-    } = deprecatedDefinitions[i];
-
-    if (block.isValid && !isEligible(parsedAttributes, block.innerBlocks)) {
-      continue;
-    } // Block type properties which could impact either serialization or
-    // parsing are not considered in the deprecated block type by default,
-    // and must be explicitly provided.
-
-
-    const deprecatedBlockType = Object.assign(Object(external_lodash_["omit"])(blockType, DEPRECATED_ENTRY_KEYS), deprecatedDefinitions[i]);
-    let migratedBlock = { ...block,
-      attributes: getBlockAttributes(deprecatedBlockType, block.originalContent, parsedAttributes)
-    }; // Ignore the deprecation if it produces a block which is not valid.
-
-    let [isValid] = validateBlock(migratedBlock, deprecatedBlockType); // If the migrated block is not valid intiailly, try the built-in fixes.
-
-    if (!isValid) {
-      migratedBlock = applyBuiltInValidationFixes(migratedBlock, deprecatedBlockType);
-      [isValid] = validateBlock(migratedBlock, deprecatedBlockType);
-    } // An invalid block does not imply incorrect HTML but the fact block
-    // source information could be lost on reserialization.
-
-
-    if (!isValid) {
-      continue;
-    }
-
-    let migratedInnerBlocks = migratedBlock.innerBlocks;
-    let migratedAttributes = migratedBlock.attributes; // A block may provide custom behavior to assign new attributes and/or
-    // inner blocks.
-
-    const {
-      migrate
-    } = deprecatedBlockType;
-
-    if (migrate) {
-      [migratedAttributes = parsedAttributes, migratedInnerBlocks = block.innerBlocks] = Object(external_lodash_["castArray"])(migrate(migratedAttributes, block.innerBlocks));
-    }
-
-    block = { ...block,
-      attributes: migratedAttributes,
-      innerBlocks: migratedInnerBlocks,
-      isValid: true,
-      validationIssues: []
-    };
-  }
-
-  return block;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/index.js
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-
-
-
-
-/**
- * The raw structure of a block includes its attributes, inner
- * blocks, and inner HTML. It is important to distinguish inner blocks from
- * the HTML content of the block as only the latter is relevant for block
- * validation and edit operations.
- *
- * @typedef WPRawBlock
- *
- * @property {string=}         blockName    Block name
- * @property {Object=}         attrs        Block raw or comment attributes.
- * @property {string}          innerHTML    HTML content of the block.
- * @property {(string|null)[]} innerContent Content without inner blocks.
- * @property {WPRawBlock[]}    innerBlocks  Inner Blocks.
- */
-
-/**
- * Fully parsed block object.
- *
- * @typedef WPBlock
- *
- * @property {string}    name             Block name
- * @property {Object }   attributes       Block raw or comment attributes.
- * @property {WPBlock[]} innerBlocks      Inner Blocks.
- * @property {string}    originalContent  Original content of the block before validation fixes.
- * @property {boolean}   isValid          Whether the block is valid.
- * @property {Object[]}  validationIssues Validation issues.
- */
-
-/**
- * Convert legacy blocks to their canonical form. This function is used
- * both in the parser level for previous content and to convert such blocks
- * used in Custom Post Types templates.
- *
- * @param {WPRawBlock} rawBlock
- *
- * @return {WPRawBlock} The block's name and attributes, changed accordingly if a match was found
- */
-
-function convertLegacyBlocks(rawBlock) {
-  const [correctName, correctedAttributes] = convertLegacyBlockNameAndAttributes(rawBlock.blockName, rawBlock.attrs);
-  return { ...rawBlock,
-    blockName: correctName,
-    attrs: correctedAttributes
-  };
-}
-/**
- * Normalize the raw block by applying the fallback block name if none given,
- * sanitize the parsed HTML...
- *
- * @param {WPRawBlock} rawBlock The raw block object.
- *
- * @return {WPRawBlock} The normalized block object.
- */
-
-
-function normalizeRawBlock(rawBlock) {
-  const fallbackBlockName = getFreeformContentHandlerName(); // If the grammar parsing don't produce any block name, use the freeform block.
-
-  const rawBlockName = rawBlock.blockName || getFreeformContentHandlerName();
-  const rawAttributes = rawBlock.attrs || {};
-  const rawInnerBlocks = rawBlock.innerBlocks || [];
-  let rawInnerHTML = rawBlock.innerHTML.trim(); // Fallback content may be upgraded from classic content expecting implicit
-  // automatic paragraphs, so preserve them. Assumes wpautop is idempotent,
-  // meaning there are no negative consequences to repeated autop calls.
-
-  if (rawBlockName === fallbackBlockName) {
-    rawInnerHTML = Object(external_wp_autop_["autop"])(rawInnerHTML).trim();
-  }
-
-  return { ...rawBlock,
-    blockName: rawBlockName,
-    attrs: rawAttributes,
-    innerHTML: rawInnerHTML,
-    innerBlocks: rawInnerBlocks
-  };
-}
-/**
- * Uses the "unregistered blockType" to create a block object.
- *
- * @param {WPRawBlock} rawBlock block.
- *
- * @return {WPRawBlock} The unregistered block object.
- */
-
-function createMissingBlockType(rawBlock) {
-  const unregisteredFallbackBlock = getUnregisteredTypeHandlerName() || getFreeformContentHandlerName(); // Preserve undelimited content for use by the unregistered type
-  // handler. A block node's `innerHTML` isn't enough, as that field only
-  // carries the block's own HTML and not its nested blocks.
-
-  const originalUndelimitedContent = serializeRawBlock(rawBlock, {
-    isCommentDelimited: false
-  }); // Preserve full block content for use by the unregistered type
-  // handler, block boundaries included.
-
-  const originalContent = serializeRawBlock(rawBlock, {
-    isCommentDelimited: true
-  });
-  return {
-    blockName: unregisteredFallbackBlock,
-    attrs: {
-      originalName: rawBlock.blockName,
-      originalContent,
-      originalUndelimitedContent
-    },
-    innerHTML: rawBlock.blockName ? originalContent : rawBlock.innerHTML,
-    innerBlocks: rawBlock.innerBlocks,
-    innerContent: rawBlock.innerContent
-  };
-}
-/**
- * Given a raw block returned by grammar parsing, returns a fully parsed block.
- *
- * @param {WPRawBlock} rawBlock The raw block object.
- *
- * @return {WPBlock} Fully parsed block.
- */
-
-
-function parseRawBlock(rawBlock) {
-  let normalizedBlock = normalizeRawBlock(rawBlock); // During the lifecycle of the project, we renamed some old blocks
-  // and transformed others to new blocks. To avoid breaking existing content,
-  // we added this function to properly parse the old content.
-
-  normalizedBlock = convertLegacyBlocks(normalizedBlock); // Try finding the type for known block name.
-
-  let blockType = registration_getBlockType(normalizedBlock.blockName); // If not blockType is found for the specified name, fallback to the "unregistedBlockType".
-
-  if (!blockType) {
-    normalizedBlock = createMissingBlockType(normalizedBlock);
-    blockType = registration_getBlockType(normalizedBlock.blockName);
-  } // If it's an empty freeform block or there's no blockType (no missing block handler)
-  // Then, just ignore the block.
-  // It might be a good idea to throw a warning here.
-  // TODO: I'm unsure about the unregisteredFallbackBlock check,
-  // it might ignore some dynamic unregistered third party blocks wrongly.
-
-
-  const isFallbackBlock = normalizedBlock.blockName === getFreeformContentHandlerName() || normalizedBlock.blockName === getUnregisteredTypeHandlerName();
-
-  if (!blockType || !normalizedBlock.innerHTML && isFallbackBlock) {
-    return;
-  } // Parse inner blocks recursively.
-
-
-  const parsedInnerBlocks = normalizedBlock.innerBlocks.map(parseRawBlock) // See https://github.com/WordPress/gutenberg/pull/17164.
-  .filter(innerBlock => !!innerBlock); // Get the fully parsed block.
-
-  let parsedBlock = createBlock(normalizedBlock.blockName, getBlockAttributes(blockType, normalizedBlock.innerHTML, normalizedBlock.attrs), parsedInnerBlocks);
-  parsedBlock.originalContent = normalizedBlock.innerHTML; // Attempt to validate the block.
-
-  let [isValid, validationIssues] = validateBlock(parsedBlock, blockType); // If the block is invalid, attempt some built-in fixes
-  // like custom classNames handling.
-
-  if (!isValid) {
-    parsedBlock = applyBuiltInValidationFixes(parsedBlock, blockType); // Attempt to validate the block once again after the built-in fixes.
-
-    [isValid, validationIssues] = validateBlock(parsedBlock, blockType);
-  }
-
-  parsedBlock.isValid = isValid;
-  parsedBlock.validationIssues = validationIssues; // Run the block deprecation and migrations.
-  // This is performed on both invalid and valid blocks because
-  // migration using the `migrate` functions should run even
-  // if the output is deemed valid.
-
-  parsedBlock = applyBlockDeprecatedVersions(parsedBlock, normalizedBlock, blockType);
-
-  if (validationIssues && validationIssues.length > 0) {
-    if (parsedBlock.isValid) {
-      /* eslint-disable no-console */
-      console.groupCollapsed('Updated Block: %s', blockType.name);
-      console.info('Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s', blockType.name, blockType, getSaveContent(blockType, parsedBlock.attributes), parsedBlock.originalContent);
-      console.groupEnd();
-      /* eslint-enable no-console */
-    } else {
-      validationIssues.forEach(_ref => {
-        let {
-          log,
-          args
-        } = _ref;
-        return log(...args);
-      });
-    }
-  }
-
-  return parsedBlock;
-}
-/**
- * Utilizes an optimized token-driven parser based on the Gutenberg grammar spec
- * defined through a parsing expression grammar to take advantage of the regular
- * cadence provided by block delimiters -- composed syntactically through HTML
- * comments -- which, given a general HTML document as an input, returns a block
- * list array representation.
- *
- * This is a recursive-descent parser that scans linearly once through the input
- * document. Instead of directly recursing it utilizes a trampoline mechanism to
- * prevent stack overflow. This initial pass is mainly interested in separating
- * and isolating the blocks serialized in the document and manifestly not in the
- * content within the blocks.
- *
- * @see
- * https://developer.wordpress.org/block-editor/packages/packages-block-serialization-default-parser/
- *
- * @param {string} content The post content.
- *
- * @return {Array} Block list.
- */
-
-function parser_parse(content) {
-  return Object(external_wp_blockSerializationDefaultParser_["parse"])(content).reduce((accumulator, rawBlock) => {
-    const block = parseRawBlock(rawBlock);
-
-    if (block) {
-      accumulator.push(block);
-    }
-
-    return accumulator;
-  }, []);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/get-raw-transforms.js
-/**
- * External dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-function getRawTransforms() {
-  return Object(external_lodash_["filter"])(getBlockTransforms('from'), {
-    type: 'raw'
-  }).map(transform => {
-    return transform.isMatch ? transform : { ...transform,
-      isMatch: node => transform.selector && node.matches(transform.selector)
-    };
-  });
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/html-to-blocks.js
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * Converts HTML directly to blocks. Looks for a matching transform for each
- * top-level tag. The HTML should be filtered to not have any text between
- * top-level tags and formatted in a way that blocks can handle the HTML.
- *
- * @param {string} html HTML to convert.
- *
- * @return {Array} An array of blocks.
- */
-
-function htmlToBlocks(html) {
-  const doc = document.implementation.createHTMLDocument('');
-  doc.body.innerHTML = html;
-  return Array.from(doc.body.children).flatMap(node => {
-    const rawTransform = findTransform(getRawTransforms(), _ref => {
-      let {
-        isMatch
-      } = _ref;
-      return isMatch(node);
-    });
-
-    if (!rawTransform) {
-      return createBlock( // Should not be hardcoded.
-      'core/html', getBlockAttributes('core/html', node.outerHTML));
-    }
-
-    const {
-      transform,
-      blockName
-    } = rawTransform;
-
-    if (transform) {
-      return transform(node);
-    }
-
-    return createBlock(blockName, getBlockAttributes(blockName, node.outerHTML));
-  });
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/normalise-blocks.js
-/**
- * WordPress dependencies
- */
-
-function normaliseBlocks(HTML) {
-  const decuDoc = document.implementation.createHTMLDocument('');
-  const accuDoc = document.implementation.createHTMLDocument('');
-  const decu = decuDoc.body;
-  const accu = accuDoc.body;
-  decu.innerHTML = HTML;
-
-  while (decu.firstChild) {
-    const node = decu.firstChild; // Text nodes: wrap in a paragraph, or append to previous.
-
-    if (node.nodeType === node.TEXT_NODE) {
-      if (Object(external_wp_dom_["isEmpty"])(node)) {
-        decu.removeChild(node);
-      } else {
-        if (!accu.lastChild || accu.lastChild.nodeName !== 'P') {
-          accu.appendChild(accuDoc.createElement('P'));
-        }
-
-        accu.lastChild.appendChild(node);
-      } // Element nodes.
-
-    } else if (node.nodeType === node.ELEMENT_NODE) {
-      // BR nodes: create a new paragraph on double, or append to previous.
-      if (node.nodeName === 'BR') {
-        if (node.nextSibling && node.nextSibling.nodeName === 'BR') {
-          accu.appendChild(accuDoc.createElement('P'));
-          decu.removeChild(node.nextSibling);
-        } // Don't append to an empty paragraph.
-
-
-        if (accu.lastChild && accu.lastChild.nodeName === 'P' && accu.lastChild.hasChildNodes()) {
-          accu.lastChild.appendChild(node);
-        } else {
-          decu.removeChild(node);
-        }
-      } else if (node.nodeName === 'P') {
-        // Only append non-empty paragraph nodes.
-        if (Object(external_wp_dom_["isEmpty"])(node)) {
-          decu.removeChild(node);
-        } else {
-          accu.appendChild(node);
-        }
-      } else if (Object(external_wp_dom_["isPhrasingContent"])(node)) {
-        if (!accu.lastChild || accu.lastChild.nodeName !== 'P') {
-          accu.appendChild(accuDoc.createElement('P'));
-        }
-
-        accu.lastChild.appendChild(node);
-      } else {
-        accu.appendChild(node);
-      }
-    } else {
-      decu.removeChild(node);
-    }
-  }
-
-  return accu.innerHTML;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/special-comment-converter.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Looks for `<!--nextpage-->` and `<!--more-->` comments, as well as the
- * `<!--more Some text-->` variant and its `<!--noteaser-->` companion,
- * and replaces them with a custom element representing a future block.
- *
- * The custom element is a way to bypass the rest of the `raw-handling`
- * transforms, which would eliminate other kinds of node with which to carry
- * `<!--more-->`'s data: nodes with `data` attributes, empty paragraphs, etc.
- *
- * The custom element is then expected to be recognized by any registered
- * block's `raw` transform.
- *
- * @param {Node}     node The node to be processed.
- * @param {Document} doc  The document of the node.
- * @return {void}
- */
-
-function specialCommentConverter(node, doc) {
-  if (node.nodeType !== node.COMMENT_NODE) {
-    return;
-  }
-
-  if (node.nodeValue === 'nextpage') {
-    Object(external_wp_dom_["replace"])(node, createNextpage(doc));
-    return;
-  }
-
-  if (node.nodeValue.indexOf('more') === 0) {
-    // Grab any custom text in the comment.
-    const customText = node.nodeValue.slice(4).trim();
-    /*
-     * When a `<!--more-->` comment is found, we need to look for any
-     * `<!--noteaser-->` sibling, but it may not be a direct sibling
-     * (whitespace typically lies in between)
-     */
-
-    let sibling = node;
-    let noTeaser = false;
-
-    while (sibling = sibling.nextSibling) {
-      if (sibling.nodeType === sibling.COMMENT_NODE && sibling.nodeValue === 'noteaser') {
-        noTeaser = true;
-        Object(external_wp_dom_["remove"])(sibling);
-        break;
-      }
-    }
-
-    Object(external_wp_dom_["replace"])(node, createMore(customText, noTeaser, doc));
-  }
-}
-
-function createMore(customText, noTeaser, doc) {
-  const node = doc.createElement('wp-block');
-  node.dataset.block = 'core/more';
-
-  if (customText) {
-    node.dataset.customText = customText;
-  }
-
-  if (noTeaser) {
-    // "Boolean" data attribute
-    node.dataset.noTeaser = '';
-  }
-
-  return node;
-}
-
-function createNextpage(doc) {
-  const node = doc.createElement('wp-block');
-  node.dataset.block = 'core/nextpage';
-  return node;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/comment-remover.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Looks for comments, and removes them.
- *
- * @param {Node} node The node to be processed.
- * @return {void}
- */
-
-function commentRemover(node) {
-  if (node.nodeType === node.COMMENT_NODE) {
-    Object(external_wp_dom_["remove"])(node);
-  }
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/is-inline-content.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Checks if the given node should be considered inline content, optionally
- * depending on a context tag.
- *
- * @param {Node}   node       Node name.
- * @param {string} contextTag Tag name.
- *
- * @return {boolean} True if the node is inline content, false if nohe.
- */
-
-function isInline(node, contextTag) {
-  if (Object(external_wp_dom_["isTextContent"])(node)) {
-    return true;
-  }
-
-  if (!contextTag) {
-    return false;
-  }
-
-  const tag = node.nodeName.toLowerCase();
-  const inlineAllowedTagGroups = [['ul', 'li', 'ol'], ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']];
-  return inlineAllowedTagGroups.some(tagGroup => Object(external_lodash_["difference"])([tag, contextTag], tagGroup).length === 0);
-}
-
-function deepCheck(nodes, contextTag) {
-  return nodes.every(node => isInline(node, contextTag) && deepCheck(Array.from(node.children), contextTag));
-}
-
-function isDoubleBR(node) {
-  return node.nodeName === 'BR' && node.previousSibling && node.previousSibling.nodeName === 'BR';
-}
-
-function isInlineContent(HTML, contextTag) {
-  const doc = document.implementation.createHTMLDocument('');
-  doc.body.innerHTML = HTML;
-  const nodes = Array.from(doc.body.children);
-  return !nodes.some(isDoubleBR) && deepCheck(nodes, contextTag);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content-reducer.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-function phrasingContentReducer(node, doc) {
-  // In jsdom-jscore, 'node.style' can be null.
-  // TODO: Explore fixing this by patching jsdom-jscore.
-  if (node.nodeName === 'SPAN' && node.style) {
-    const {
-      fontWeight,
-      fontStyle,
-      textDecorationLine,
-      textDecoration,
-      verticalAlign
-    } = node.style;
-
-    if (fontWeight === 'bold' || fontWeight === '700') {
-      Object(external_wp_dom_["wrap"])(doc.createElement('strong'), node);
-    }
-
-    if (fontStyle === 'italic') {
-      Object(external_wp_dom_["wrap"])(doc.createElement('em'), node);
-    } // Some DOM implementations (Safari, JSDom) don't support
-    // style.textDecorationLine, so we check style.textDecoration as a
-    // fallback.
-
-
-    if (textDecorationLine === 'line-through' || Object(external_lodash_["includes"])(textDecoration, 'line-through')) {
-      Object(external_wp_dom_["wrap"])(doc.createElement('s'), node);
-    }
-
-    if (verticalAlign === 'super') {
-      Object(external_wp_dom_["wrap"])(doc.createElement('sup'), node);
-    } else if (verticalAlign === 'sub') {
-      Object(external_wp_dom_["wrap"])(doc.createElement('sub'), node);
-    }
-  } else if (node.nodeName === 'B') {
-    node = Object(external_wp_dom_["replaceTag"])(node, 'strong');
-  } else if (node.nodeName === 'I') {
-    node = Object(external_wp_dom_["replaceTag"])(node, 'em');
-  } else if (node.nodeName === 'A') {
-    // In jsdom-jscore, 'node.target' can be null.
-    // TODO: Explore fixing this by patching jsdom-jscore.
-    if (node.target && node.target.toLowerCase() === '_blank') {
-      node.rel = 'noreferrer noopener';
-    } else {
-      node.removeAttribute('target');
-      node.removeAttribute('rel');
-    } // Saves anchor elements name attribute as id
-
-
-    if (node.name && !node.id) {
-      node.id = node.name;
-    } // Keeps id only if there is an internal link pointing to it
-
-
-    if (node.id && !node.ownerDocument.querySelector(`[href="#${node.id}"]`)) {
-      node.removeAttribute('id');
-    }
-  }
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/head-remover.js
-function headRemover(node) {
-  if (node.nodeName !== 'SCRIPT' && node.nodeName !== 'NOSCRIPT' && node.nodeName !== 'TEMPLATE' && node.nodeName !== 'STYLE') {
-    return;
-  }
-
-  node.parentNode.removeChild(node);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-converter.js
-/**
- * Browser dependencies
- */
-const {
-  parseInt: ms_list_converter_parseInt
-} = window;
-
-function isList(node) {
-  return node.nodeName === 'OL' || node.nodeName === 'UL';
-}
-
-function msListConverter(node, doc) {
-  if (node.nodeName !== 'P') {
-    return;
-  }
-
-  const style = node.getAttribute('style');
-
-  if (!style) {
-    return;
-  } // Quick check.
-
-
-  if (style.indexOf('mso-list') === -1) {
-    return;
-  }
-
-  const matches = /mso-list\s*:[^;]+level([0-9]+)/i.exec(style);
-
-  if (!matches) {
-    return;
-  }
-
-  let level = ms_list_converter_parseInt(matches[1], 10) - 1 || 0;
-  const prevNode = node.previousElementSibling; // Add new list if no previous.
-
-  if (!prevNode || !isList(prevNode)) {
-    // See https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-type.
-    const type = node.textContent.trim().slice(0, 1);
-    const isNumeric = /[1iIaA]/.test(type);
-    const newListNode = doc.createElement(isNumeric ? 'ol' : 'ul');
-
-    if (isNumeric) {
-      newListNode.setAttribute('type', type);
-    }
-
-    node.parentNode.insertBefore(newListNode, node);
-  }
-
-  const listNode = node.previousElementSibling;
-  const listType = listNode.nodeName;
-  const listItem = doc.createElement('li');
-  let receivingNode = listNode; // Remove the first span with list info.
-
-  node.removeChild(node.firstElementChild); // Add content.
-
-  while (node.firstChild) {
-    listItem.appendChild(node.firstChild);
-  } // Change pointer depending on indentation level.
-
-
-  while (level--) {
-    receivingNode = receivingNode.lastElementChild || receivingNode; // If it's a list, move pointer to the last item.
-
-    if (isList(receivingNode)) {
-      receivingNode = receivingNode.lastElementChild || receivingNode;
-    }
-  } // Make sure we append to a list.
-
-
-  if (!isList(receivingNode)) {
-    receivingNode = receivingNode.appendChild(doc.createElement(listType));
-  } // Append the list item to the list.
-
-
-  receivingNode.appendChild(listItem); // Remove the wrapper paragraph.
-
-  node.parentNode.removeChild(node);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/list-reducer.js
-/**
- * WordPress dependencies
- */
-
-
-function list_reducer_isList(node) {
-  return node.nodeName === 'OL' || node.nodeName === 'UL';
-}
-
-function shallowTextContent(element) {
-  return Array.from(element.childNodes).map(_ref => {
-    let {
-      nodeValue = ''
-    } = _ref;
-    return nodeValue;
-  }).join('');
-}
-
-function listReducer(node) {
-  if (!list_reducer_isList(node)) {
-    return;
-  }
-
-  const list = node;
-  const prevElement = node.previousElementSibling; // Merge with previous list if:
-  // * There is a previous list of the same type.
-  // * There is only one list item.
-
-  if (prevElement && prevElement.nodeName === node.nodeName && list.children.length === 1) {
-    // Move all child nodes, including any text nodes, if any.
-    while (list.firstChild) {
-      prevElement.appendChild(list.firstChild);
-    }
-
-    list.parentNode.removeChild(list);
-  }
-
-  const parentElement = node.parentNode; // Nested list with empty parent item.
-
-  if (parentElement && parentElement.nodeName === 'LI' && parentElement.children.length === 1 && !/\S/.test(shallowTextContent(parentElement))) {
-    const parentListItem = parentElement;
-    const prevListItem = parentListItem.previousElementSibling;
-    const parentList = parentListItem.parentNode;
-
-    if (prevListItem) {
-      prevListItem.appendChild(list);
-      parentList.removeChild(parentListItem);
-    } else {
-      parentList.parentNode.insertBefore(list, parentList);
-      parentList.parentNode.removeChild(parentList);
-    }
-  } // Invalid: OL/UL > OL/UL.
-
-
-  if (parentElement && list_reducer_isList(parentElement)) {
-    const prevListItem = node.previousElementSibling;
-
-    if (prevListItem) {
-      prevListItem.appendChild(node);
-    } else {
-      Object(external_wp_dom_["unwrap"])(node);
-    }
-  }
-}
-
-// EXTERNAL MODULE: external ["wp","blob"]
-var external_wp_blob_ = __webpack_require__("xTGt");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Browser dependencies
- */
-
-const {
-  atob,
-  File
-} = window;
-function imageCorrector(node) {
-  if (node.nodeName !== 'IMG') {
-    return;
-  }
-
-  if (node.src.indexOf('file:') === 0) {
-    node.src = '';
-  } // This piece cannot be tested outside a browser env.
-
-
-  if (node.src.indexOf('data:') === 0) {
-    const [properties, data] = node.src.split(',');
-    const [type] = properties.slice(5).split(';');
-
-    if (!data || !type) {
-      node.src = '';
-      return;
-    }
-
-    let decoded; // Can throw DOMException!
-
-    try {
-      decoded = atob(data);
-    } catch (e) {
-      node.src = '';
-      return;
-    }
-
-    const uint8Array = new Uint8Array(decoded.length);
-
-    for (let i = 0; i < uint8Array.length; i++) {
-      uint8Array[i] = decoded.charCodeAt(i);
-    }
-
-    const name = type.replace('/', '.');
-    const file = new File([uint8Array], name, {
-      type
-    });
-    node.src = Object(external_wp_blob_["createBlobURL"])(file);
-  } // Remove trackers and hardly visible images.
-
-
-  if (node.height === 1 || node.width === 1) {
-    node.parentNode.removeChild(node);
-  }
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/blockquote-normaliser.js
-/**
- * Internal dependencies
- */
-
-function blockquoteNormaliser(node) {
-  if (node.nodeName !== 'BLOCKQUOTE') {
-    return;
-  }
-
-  node.innerHTML = normaliseBlocks(node.innerHTML);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/figure-content-reducer.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Whether or not the given node is figure content.
- *
- * @param {Node}   node   The node to check.
- * @param {Object} schema The schema to use.
- *
- * @return {boolean} True if figure content, false if not.
- */
-
-function isFigureContent(node, schema) {
-  const tag = node.nodeName.toLowerCase(); // We are looking for tags that can be a child of the figure tag, excluding
-  // `figcaption` and any phrasing content.
-
-  if (tag === 'figcaption' || Object(external_wp_dom_["isTextContent"])(node)) {
-    return false;
-  }
-
-  return Object(external_lodash_["has"])(schema, ['figure', 'children', tag]);
-}
-/**
- * Whether or not the given node can have an anchor.
- *
- * @param {Node}   node   The node to check.
- * @param {Object} schema The schema to use.
- *
- * @return {boolean} True if it can, false if not.
- */
-
-
-function canHaveAnchor(node, schema) {
-  const tag = node.nodeName.toLowerCase();
-  return Object(external_lodash_["has"])(schema, ['figure', 'children', 'a', 'children', tag]);
-}
-/**
- * Wraps the given element in a figure element.
- *
- * @param {Element} element       The element to wrap.
- * @param {Element} beforeElement The element before which to place the figure.
- */
-
-
-function wrapFigureContent(element) {
-  let beforeElement = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : element;
-  const figure = element.ownerDocument.createElement('figure');
-  beforeElement.parentNode.insertBefore(figure, beforeElement);
-  figure.appendChild(element);
-}
-/**
- * This filter takes figure content out of paragraphs, wraps it in a figure
- * element, and moves any anchors with it if needed.
- *
- * @param {Node}     node   The node to filter.
- * @param {Document} doc    The document of the node.
- * @param {Object}   schema The schema to use.
- *
- * @return {void}
- */
-
-
-function figureContentReducer(node, doc, schema) {
-  if (!isFigureContent(node, schema)) {
-    return;
-  }
-
-  let nodeToInsert = node;
-  const parentNode = node.parentNode; // If the figure content can have an anchor and its parent is an anchor with
-  // only the figure content, take the anchor out instead of just the content.
-
-  if (canHaveAnchor(node, schema) && parentNode.nodeName === 'A' && parentNode.childNodes.length === 1) {
-    nodeToInsert = node.parentNode;
-  }
-
-  const wrapper = nodeToInsert.closest('p,div'); // If wrapped in a paragraph or div, only extract if it's aligned or if
-  // there is no text content.
-  // Otherwise, if directly at the root, wrap in a figure element.
-
-  if (wrapper) {
-    // In jsdom-jscore, 'node.classList' can be undefined.
-    // In this case, default to extract as it offers a better UI experience on mobile.
-    if (!node.classList) {
-      wrapFigureContent(nodeToInsert, wrapper);
-    } else if (node.classList.contains('alignright') || node.classList.contains('alignleft') || node.classList.contains('aligncenter') || !wrapper.textContent.trim()) {
-      wrapFigureContent(nodeToInsert, wrapper);
-    }
-  } else if (nodeToInsert.parentNode.nodeName === 'BODY') {
-    wrapFigureContent(nodeToInsert);
-  }
-}
-
-// EXTERNAL MODULE: external ["wp","shortcode"]
-var external_wp_shortcode_ = __webpack_require__("SVSp");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-function segmentHTMLToShortcodeBlock(HTML) {
-  let lastIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
-  let excludedBlockNames = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
-  // Get all matches.
-  const transformsFrom = getBlockTransforms('from');
-  const transformation = findTransform(transformsFrom, transform => excludedBlockNames.indexOf(transform.blockName) === -1 && transform.type === 'shortcode' && Object(external_lodash_["some"])(Object(external_lodash_["castArray"])(transform.tag), tag => Object(external_wp_shortcode_["regexp"])(tag).test(HTML)));
-
-  if (!transformation) {
-    return [HTML];
-  }
-
-  const transformTags = Object(external_lodash_["castArray"])(transformation.tag);
-  const transformTag = Object(external_lodash_["find"])(transformTags, tag => Object(external_wp_shortcode_["regexp"])(tag).test(HTML));
-  let match;
-  const previousIndex = lastIndex;
-
-  if (match = Object(external_wp_shortcode_["next"])(transformTag, HTML, lastIndex)) {
-    lastIndex = match.index + match.content.length;
-    const beforeHTML = HTML.substr(0, match.index);
-    const afterHTML = HTML.substr(lastIndex); // If the shortcode content does not contain HTML and the shortcode is
-    // not on a new line (or in paragraph from Markdown converter),
-    // consider the shortcode as inline text, and thus skip conversion for
-    // this segment.
-
-    if (!Object(external_lodash_["includes"])(match.shortcode.content || '', '<') && !(/(\n|<p>)\s*$/.test(beforeHTML) && /^\s*(\n|<\/p>)/.test(afterHTML))) {
-      return segmentHTMLToShortcodeBlock(HTML, lastIndex);
-    } // If a transformation's `isMatch` predicate fails for the inbound
-    // shortcode, try again by excluding the current block type.
-    //
-    // This is the only call to `segmentHTMLToShortcodeBlock` that should
-    // ever carry over `excludedBlockNames`. Other calls in the module
-    // should skip that argument as a way to reset the exclusion state, so
-    // that one `isMatch` fail in an HTML fragment doesn't prevent any
-    // valid matches in subsequent fragments.
-
-
-    if (transformation.isMatch && !transformation.isMatch(match.shortcode.attrs)) {
-      return segmentHTMLToShortcodeBlock(HTML, previousIndex, [...excludedBlockNames, transformation.blockName]);
-    }
-
-    const attributes = Object(external_lodash_["mapValues"])(Object(external_lodash_["pickBy"])(transformation.attributes, schema => schema.shortcode), // Passing all of `match` as second argument is intentionally broad
-    // but shouldn't be too relied upon.
-    //
-    // See: https://github.com/WordPress/gutenberg/pull/3610#discussion_r152546926
-    schema => schema.shortcode(match.shortcode.attrs, match));
-    const transformationBlockType = { ...registration_getBlockType(transformation.blockName),
-      attributes: transformation.attributes
-    };
-    let block = createBlock(transformation.blockName, getBlockAttributes(transformationBlockType, match.shortcode.content, attributes));
-    block.originalContent = match.shortcode.content; // Applying the built-in fixes can enhance the attributes with missing content like "className".
-
-    block = applyBuiltInValidationFixes(block, transformationBlockType);
-    return [...segmentHTMLToShortcodeBlock(beforeHTML), block, ...segmentHTMLToShortcodeBlock(afterHTML)];
-  }
-
-  return [HTML];
-}
-
-/* harmony default export */ var shortcode_converter = (segmentHTMLToShortcodeBlock);
-
-// EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js
-var showdown = __webpack_require__("M55E");
-var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js
-/**
- * External dependencies
- */
- // Reuse the same showdown converter.
-
-const converter = new showdown_default.a.Converter({
-  noHeaderId: true,
-  tables: true,
-  literalMidWordUnderscores: true,
-  omitExtraWLInCodeBlocks: true,
-  simpleLineBreaks: true,
-  strikethrough: true
-});
-/**
- * Corrects the Slack Markdown variant of the code block.
- * If uncorrected, it will be converted to inline code.
- *
- * @see https://get.slack.help/hc/en-us/articles/202288908-how-can-i-add-formatting-to-my-messages-#code-blocks
- *
- * @param {string} text The potential Markdown text to correct.
- *
- * @return {string} The corrected Markdown.
- */
-
-function slackMarkdownVariantCorrector(text) {
-  return text.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/, (match, p1, p2, p3) => `${p1}\n${p2}\n${p3}`);
-}
-/**
- * Converts a piece of text into HTML based on any Markdown present.
- * Also decodes any encoded HTML.
- *
- * @param {string} text The plain text to convert.
- *
- * @return {string} HTML.
- */
-
-
-function markdownConverter(text) {
-  return converter.makeHtml(slackMarkdownVariantCorrector(text));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/iframe-remover.js
-/**
- * Removes iframes.
- *
- * @param {Node} node The node to check.
- *
- * @return {void}
- */
-function iframeRemover(node) {
-  if (node.nodeName === 'IFRAME') {
-    const text = node.ownerDocument.createTextNode(node.src);
-    node.parentNode.replaceChild(text, node);
-  }
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/google-docs-uid-remover.js
-/**
- * WordPress dependencies
- */
-
-function googleDocsUIdRemover(node) {
-  if (!node.id || node.id.indexOf('docs-internal-guid-') !== 0) {
-    return;
-  }
-
-  Object(external_wp_dom_["unwrap"])(node);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/utils.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-function getBlockContentSchemaFromTransforms(transforms, context) {
-  const phrasingContentSchema = Object(external_wp_dom_["getPhrasingContentSchema"])(context);
-  const schemaArgs = {
-    phrasingContentSchema,
-    isPaste: context === 'paste'
-  };
-  const schemas = transforms.map(_ref => {
-    let {
-      isMatch,
-      blockName,
-      schema
-    } = _ref;
-    const hasAnchorSupport = registration_hasBlockSupport(blockName, 'anchor');
-    schema = Object(external_lodash_["isFunction"])(schema) ? schema(schemaArgs) : schema; // If the block does not has anchor support and the transform does not
-    // provides an isMatch we can return the schema right away.
-
-    if (!hasAnchorSupport && !isMatch) {
-      return schema;
-    }
-
-    return Object(external_lodash_["mapValues"])(schema, value => {
-      let attributes = value.attributes || []; // If the block supports the "anchor" functionality, it needs to keep its ID attribute.
-
-      if (hasAnchorSupport) {
-        attributes = [...attributes, 'id'];
-      }
-
-      return { ...value,
-        attributes,
-        isMatch: isMatch ? isMatch : undefined
-      };
-    });
-  });
-  return Object(external_lodash_["mergeWith"])({}, ...schemas, (objValue, srcValue, key) => {
-    switch (key) {
-      case 'children':
-        {
-          if (objValue === '*' || srcValue === '*') {
-            return '*';
-          }
-
-          return { ...objValue,
-            ...srcValue
-          };
-        }
-
-      case 'attributes':
-      case 'require':
-        {
-          return [...(objValue || []), ...(srcValue || [])];
-        }
-
-      case 'isMatch':
-        {
-          // If one of the values being merge is undefined (matches everything),
-          // the result of the merge will be undefined.
-          if (!objValue || !srcValue) {
-            return undefined;
-          } // When merging two isMatch functions, the result is a new function
-          // that returns if one of the source functions returns true.
-
-
-          return function () {
-            return objValue(...arguments) || srcValue(...arguments);
-          };
-        }
-    }
-  });
-}
-/**
- * Gets the block content schema, which is extracted and merged from all
- * registered blocks with raw transfroms.
- *
- * @param {string} context Set to "paste" when in paste context, where the
- *                         schema is more strict.
- *
- * @return {Object} A complete block content schema.
- */
-
-function getBlockContentSchema(context) {
-  return getBlockContentSchemaFromTransforms(getRawTransforms(), context);
-}
-/**
- * Checks whether HTML can be considered plain text. That is, it does not contain
- * any elements that are not line breaks.
- *
- * @param {string} HTML The HTML to check.
- *
- * @return {boolean} Whether the HTML can be considered plain text.
- */
-
-function isPlain(HTML) {
-  return !/<(?!br[ />])/i.test(HTML);
-}
-/**
- * Given node filters, deeply filters and mutates a NodeList.
- *
- * @param {NodeList} nodeList The nodeList to filter.
- * @param {Array}    filters  An array of functions that can mutate with the provided node.
- * @param {Document} doc      The document of the nodeList.
- * @param {Object}   schema   The schema to use.
- */
-
-function deepFilterNodeList(nodeList, filters, doc, schema) {
-  Array.from(nodeList).forEach(node => {
-    deepFilterNodeList(node.childNodes, filters, doc, schema);
-    filters.forEach(item => {
-      // Make sure the node is still attached to the document.
-      if (!doc.contains(node)) {
-        return;
-      }
-
-      item(node, doc, schema);
-    });
-  });
-}
-/**
- * Given node filters, deeply filters HTML tags.
- * Filters from the deepest nodes to the top.
- *
- * @param {string} HTML    The HTML to filter.
- * @param {Array}  filters An array of functions that can mutate with the provided node.
- * @param {Object} schema  The schema to use.
- *
- * @return {string} The filtered HTML.
- */
-
-function deepFilterHTML(HTML) {
-  let filters = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
-  let schema = arguments.length > 2 ? arguments[2] : undefined;
-  const doc = document.implementation.createHTMLDocument('');
-  doc.body.innerHTML = HTML;
-  deepFilterNodeList(doc.body.childNodes, filters, doc, schema);
-  return doc.body.innerHTML;
-}
-/**
- * Gets a sibling within text-level context.
- *
- * @param {Element} node  The subject node.
- * @param {string}  which "next" or "previous".
- */
-
-function getSibling(node, which) {
-  const sibling = node[`${which}Sibling`];
-
-  if (sibling && Object(external_wp_dom_["isPhrasingContent"])(sibling)) {
-    return sibling;
-  }
-
-  const {
-    parentNode
-  } = node;
-
-  if (!parentNode || !Object(external_wp_dom_["isPhrasingContent"])(parentNode)) {
-    return;
-  }
-
-  return getSibling(parentNode, which);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/html-formatting-remover.js
-/**
- * Internal dependencies
- */
-
-
-function isFormattingSpace(character) {
-  return character === ' ' || character === '\r' || character === '\n' || character === '\t';
-}
-/**
- * Removes spacing that formats HTML.
- *
- * @see https://www.w3.org/TR/css-text-3/#white-space-processing
- *
- * @param {Node} node The node to be processed.
- * @return {void}
- */
-
-
-function htmlFormattingRemover(node) {
-  if (node.nodeType !== node.TEXT_NODE) {
-    return;
-  } // Ignore pre content. Note that this does not use Element#closest due to
-  // a combination of (a) node may not be Element and (b) node.parentElement
-  // does not have full support in all browsers (Internet Exporer).
-  //
-  // See: https://developer.mozilla.org/en-US/docs/Web/API/Node/parentElement#Browser_compatibility
-
-  /** @type {Node?} */
-
-
-  let parent = node;
-
-  while (parent = parent.parentNode) {
-    if (parent.nodeType === parent.ELEMENT_NODE && parent.nodeName === 'PRE') {
-      return;
-    }
-  } // First, replace any sequence of HTML formatting space with a single space.
-
-
-  let newData = node.data.replace(/[ \r\n\t]+/g, ' '); // Remove the leading space if the text element is at the start of a block,
-  // is preceded by a line break element, or has a space in the previous
-  // node.
-
-  if (newData[0] === ' ') {
-    const previousSibling = getSibling(node, 'previous');
-
-    if (!previousSibling || previousSibling.nodeName === 'BR' || previousSibling.textContent.slice(-1) === ' ') {
-      newData = newData.slice(1);
-    }
-  } // Remove the trailing space if the text element is at the end of a block,
-  // is succeded by a line break element, or has a space in the next text
-  // node.
-
-
-  if (newData[newData.length - 1] === ' ') {
-    const nextSibling = getSibling(node, 'next');
-
-    if (!nextSibling || nextSibling.nodeName === 'BR' || nextSibling.nodeType === nextSibling.TEXT_NODE && isFormattingSpace(nextSibling.textContent[0])) {
-      newData = newData.slice(0, -1);
-    }
-  } // If there's no data left, remove the node, so `previousSibling` stays
-  // accurate. Otherwise, update the node data.
-
-
-  if (!newData) {
-    node.parentNode.removeChild(node);
-  } else {
-    node.data = newData;
-  }
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/br-remover.js
-/**
- * Internal dependencies
- */
-
-/**
- * Removes trailing br elements from text-level content.
- *
- * @param {Element} node Node to check.
- */
-
-function brRemover(node) {
-  if (node.nodeName !== 'BR') {
-    return;
-  }
-
-  if (getSibling(node, 'next')) {
-    return;
-  }
-
-  node.parentNode.removeChild(node);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/empty-paragraph-remover.js
-/**
- * Removes empty paragraph elements.
- *
- * @param {Element} node Node to check.
- */
-function emptyParagraphRemover(node) {
-  if (node.nodeName !== 'P') {
-    return;
-  }
-
-  if (node.hasChildNodes()) {
-    return;
-  }
-
-  node.parentNode.removeChild(node);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/paste-handler.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/**
- * Browser dependencies
- */
-
-const {
-  console: paste_handler_console
-} = window;
-/**
- * Filters HTML to only contain phrasing content.
- *
- * @param {string}  HTML               The HTML to filter.
- * @param {boolean} preserveWhiteSpace Whether or not to preserve consequent white space.
- *
- * @return {string} HTML only containing phrasing content.
- */
-
-function filterInlineHTML(HTML, preserveWhiteSpace) {
-  HTML = deepFilterHTML(HTML, [googleDocsUIdRemover, phrasingContentReducer, commentRemover]);
-  HTML = Object(external_wp_dom_["removeInvalidHTML"])(HTML, Object(external_wp_dom_["getPhrasingContentSchema"])('paste'), {
-    inline: true
-  });
-
-  if (!preserveWhiteSpace) {
-    HTML = deepFilterHTML(HTML, [htmlFormattingRemover, brRemover]);
-  } // Allows us to ask for this information when we get a report.
-
-
-  paste_handler_console.log('Processed inline HTML:\n\n', HTML);
-  return HTML;
-}
-/**
- * Converts an HTML string to known blocks. Strips everything else.
- *
- * @param {Object}  options
- * @param {string}  [options.HTML]               The HTML to convert.
- * @param {string}  [options.plainText]          Plain text version.
- * @param {string}  [options.mode]               Handle content as blocks or inline content.
- *                                               * 'AUTO': Decide based on the content passed.
- *                                               * 'INLINE': Always handle as inline content, and return string.
- *                                               * 'BLOCKS': Always handle as blocks, and return array of blocks.
- * @param {Array}   [options.tagName]            The tag into which content will be inserted.
- * @param {boolean} [options.preserveWhiteSpace] Whether or not to preserve consequent white space.
- *
- * @return {Array|string} A list of blocks or a string, depending on `handlerMode`.
- */
-
-
-function pasteHandler(_ref) {
-  let {
-    HTML = '',
-    plainText = '',
-    mode = 'AUTO',
-    tagName,
-    preserveWhiteSpace
-  } = _ref;
-  // First of all, strip any meta tags.
-  HTML = HTML.replace(/<meta[^>]+>/g, ''); // Strip Windows markers.
-
-  HTML = HTML.replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i, '');
-  HTML = HTML.replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i, ''); // If we detect block delimiters in HTML, parse entirely as blocks.
-
-  if (mode !== 'INLINE') {
-    // Check plain text if there is no HTML.
-    const content = HTML ? HTML : plainText;
-
-    if (content.indexOf('<!-- wp:') !== -1) {
-      return parser_parse(content);
-    }
-  } // Normalize unicode to use composed characters.
-  // This is unsupported in IE 11 but it's a nice-to-have feature, not mandatory.
-  // Not normalizing the content will only affect older browsers and won't
-  // entirely break the app.
-  // See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
-  // See: https://core.trac.wordpress.org/ticket/30130
-  // See: https://github.com/WordPress/gutenberg/pull/6983#pullrequestreview-125151075
-
-
-  if (String.prototype.normalize) {
-    HTML = HTML.normalize();
-  } // Parse Markdown (and encoded HTML) if:
-  // * There is a plain text version.
-  // * There is no HTML version, or it has no formatting.
-
-
-  if (plainText && (!HTML || isPlain(HTML))) {
-    HTML = plainText; // The markdown converter (Showdown) trims whitespace.
-
-    if (!/^\s+$/.test(plainText)) {
-      HTML = markdownConverter(HTML);
-    } // Switch to inline mode if:
-    // * The current mode is AUTO.
-    // * The original plain text had no line breaks.
-    // * The original plain text was not an HTML paragraph.
-    // * The converted text is just a paragraph.
-
-
-    if (mode === 'AUTO' && plainText.indexOf('\n') === -1 && plainText.indexOf('<p>') !== 0 && HTML.indexOf('<p>') === 0) {
-      mode = 'INLINE';
-    }
-  }
-
-  if (mode === 'INLINE') {
-    return filterInlineHTML(HTML, preserveWhiteSpace);
-  } // An array of HTML strings and block objects. The blocks replace matched
-  // shortcodes.
-
-
-  const pieces = shortcode_converter(HTML); // The call to shortcodeConverter will always return more than one element
-  // if shortcodes are matched. The reason is when shortcodes are matched
-  // empty HTML strings are included.
-
-  const hasShortcodes = pieces.length > 1;
-
-  if (mode === 'AUTO' && !hasShortcodes && isInlineContent(HTML, tagName)) {
-    return filterInlineHTML(HTML, preserveWhiteSpace);
-  }
-
-  const phrasingContentSchema = Object(external_wp_dom_["getPhrasingContentSchema"])('paste');
-  const blockContentSchema = getBlockContentSchema('paste');
-  const blocks = Object(external_lodash_["compact"])(Object(external_lodash_["flatMap"])(pieces, piece => {
-    // Already a block from shortcode.
-    if (typeof piece !== 'string') {
-      return piece;
-    }
-
-    const filters = [googleDocsUIdRemover, msListConverter, headRemover, listReducer, imageCorrector, phrasingContentReducer, specialCommentConverter, commentRemover, iframeRemover, figureContentReducer, blockquoteNormaliser];
-    const schema = { ...blockContentSchema,
-      // Keep top-level phrasing content, normalised by `normaliseBlocks`.
-      ...phrasingContentSchema
-    };
-    piece = deepFilterHTML(piece, filters, blockContentSchema);
-    piece = Object(external_wp_dom_["removeInvalidHTML"])(piece, schema);
-    piece = normaliseBlocks(piece);
-    piece = deepFilterHTML(piece, [htmlFormattingRemover, brRemover, emptyParagraphRemover], blockContentSchema); // Allows us to ask for this information when we get a report.
-
-    paste_handler_console.log('Processed HTML piece:\n\n', piece);
-    return htmlToBlocks(piece);
-  })); // If we're allowed to return inline content, and there is only one
-  // inlineable block, and the original plain text content does not have any
-  // line breaks, then treat it as inline paste.
-
-  if (mode === 'AUTO' && blocks.length === 1 && registration_hasBlockSupport(blocks[0].name, '__unstablePasteTextInline', false)) {
-    // Don't catch line breaks at the start or end.
-    const trimmedPlainText = plainText.replace(/^[\n]+|[\n]+$/g, '');
-
-    if (trimmedPlainText !== '' && trimmedPlainText.indexOf('\n') === -1) {
-      return Object(external_wp_dom_["removeInvalidHTML"])(getBlockInnerHTML(blocks[0]), phrasingContentSchema);
-    }
-  }
-
-  return blocks;
-}
-
-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/index.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-
-
-
-
-
-function deprecatedGetPhrasingContentSchema(context) {
-  external_wp_deprecated_default()('wp.blocks.getPhrasingContentSchema', {
-    since: '5.6',
-    alternative: 'wp.dom.getPhrasingContentSchema'
-  });
-  return Object(external_wp_dom_["getPhrasingContentSchema"])(context);
-}
-/**
- * Converts an HTML string to known blocks.
- *
- * @param {Object} $1
- * @param {string} $1.HTML The HTML to convert.
- *
- * @return {Array} A list of blocks.
- */
-
-function rawHandler(_ref) {
-  let {
-    HTML = ''
-  } = _ref;
-
-  // If we detect block delimiters, parse entirely as blocks.
-  if (HTML.indexOf('<!-- wp:') !== -1) {
-    return parser_parse(HTML);
-  } // An array of HTML strings and block objects. The blocks replace matched
-  // shortcodes.
-
-
-  const pieces = shortcode_converter(HTML);
-  const blockContentSchema = getBlockContentSchema();
-  return Object(external_lodash_["compact"])(Object(external_lodash_["flatMap"])(pieces, piece => {
-    // Already a block from shortcode.
-    if (typeof piece !== 'string') {
-      return piece;
-    } // These filters are essential for some blocks to be able to transform
-    // from raw HTML. These filters move around some content or add
-    // additional tags, they do not remove any content.
-
-
-    const filters = [// Needed to adjust invalid lists.
-    listReducer, // Needed to create more and nextpage blocks.
-    specialCommentConverter, // Needed to create media blocks.
-    figureContentReducer, // Needed to create the quote block, which cannot handle text
-    // without wrapper paragraphs.
-    blockquoteNormaliser];
-    piece = deepFilterHTML(piece, filters, blockContentSchema);
-    piece = normaliseBlocks(piece);
-    return htmlToBlocks(piece);
-  }));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/categories.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-/** @typedef {import('../store/reducer').WPBlockCategory} WPBlockCategory */
-
-/**
- * Returns all the block categories.
- *
- * @return {WPBlockCategory[]} Block categories.
- */
-
-function categories_getCategories() {
-  return Object(external_wp_data_["select"])(store).getCategories();
-}
-/**
- * Sets the block categories.
- *
- * @param {WPBlockCategory[]} categories Block categories.
- */
-
-function categories_setCategories(categories) {
-  Object(external_wp_data_["dispatch"])(store).setCategories(categories);
-}
-/**
- * Updates a category.
- *
- * @param {string}          slug     Block category slug.
- * @param {WPBlockCategory} category Object containing the category properties
- *                                   that should be updated.
- */
-
-function categories_updateCategory(slug, category) {
-  Object(external_wp_data_["dispatch"])(store).updateCategory(slug, category);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/templates.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-/**
- * Checks whether a list of blocks matches a template by comparing the block names.
- *
- * @param {Array} blocks   Block list.
- * @param {Array} template Block template.
- *
- * @return {boolean} Whether the list of blocks matches a templates.
- */
-
-function doBlocksMatchTemplate() {
-  let blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  let template = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
-  return blocks.length === template.length && Object(external_lodash_["every"])(template, (_ref, index) => {
-    let [name,, innerBlocksTemplate] = _ref;
-    const block = blocks[index];
-    return name === block.name && doBlocksMatchTemplate(block.innerBlocks, innerBlocksTemplate);
-  });
-}
-/**
- * Synchronize a block list with a block template.
- *
- * Synchronizing a block list with a block template means that we loop over the blocks
- * keep the block as is if it matches the block at the same position in the template
- * (If it has the same name) and if doesn't match, we create a new block based on the template.
- * Extra blocks not present in the template are removed.
- *
- * @param {Array} blocks   Block list.
- * @param {Array} template Block template.
- *
- * @return {Array} Updated Block list.
- */
-
-function synchronizeBlocksWithTemplate() {
-  let blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  let template = arguments.length > 1 ? arguments[1] : undefined;
-
-  // If no template is provided, return blocks unmodified.
-  if (!template) {
-    return blocks;
-  }
-
-  return Object(external_lodash_["map"])(template, (_ref2, index) => {
-    let [name, attributes, innerBlocksTemplate] = _ref2;
-    const block = blocks[index];
-
-    if (block && block.name === name) {
-      const innerBlocks = synchronizeBlocksWithTemplate(block.innerBlocks, innerBlocksTemplate);
-      return { ...block,
-        innerBlocks
-      };
-    } // To support old templates that were using the "children" format
-    // for the attributes using "html" strings now, we normalize the template attributes
-    // before creating the blocks.
-
-
-    const blockType = registration_getBlockType(name);
-
-    const isHTMLAttribute = attributeDefinition => Object(external_lodash_["get"])(attributeDefinition, ['source']) === 'html';
-
-    const isQueryAttribute = attributeDefinition => Object(external_lodash_["get"])(attributeDefinition, ['source']) === 'query';
-
-    const normalizeAttributes = (schema, values) => {
-      return Object(external_lodash_["mapValues"])(values, (value, key) => {
-        return normalizeAttribute(schema[key], value);
-      });
-    };
-
-    const normalizeAttribute = (definition, value) => {
-      if (isHTMLAttribute(definition) && Object(external_lodash_["isArray"])(value)) {
-        // Introduce a deprecated call at this point
-        // When we're confident that "children" format should be removed from the templates.
-        return Object(external_wp_element_["renderToString"])(value);
-      }
-
-      if (isQueryAttribute(definition) && value) {
-        return value.map(subValues => {
-          return normalizeAttributes(definition.query, subValues);
-        });
-      }
-
-      return value;
-    };
-
-    const normalizedAttributes = normalizeAttributes(Object(external_lodash_["get"])(blockType, ['attributes'], {}), attributes);
-    const [blockName, blockAttributes] = convertLegacyBlockNameAndAttributes(name, normalizedAttributes);
-    return createBlock(blockName, blockAttributes, synchronizeBlocksWithTemplate([], innerBlocksTemplate));
-  });
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/index.js
-// The blocktype is the most important concept within the block API. It defines
-// all aspects of the block configuration and its interfaces, including `edit`
-// and `save`. The transforms specification allows converting one blocktype to
-// another through formulas defined by either the source or the destination.
-// Switching a blocktype is to be considered a one-way operation implying a
-// transformation in the opposite way has to be handled explicitly.
- // The block tree is composed of a collection of block nodes. Blocks contained
-// within other blocks are called inner blocks. An important design
-// consideration is that inner blocks are -- conceptually -- not part of the
-// territory established by the parent block that contains them.
-//
-// This has multiple practical implications: when parsing, we can safely dispose
-// of any block boundary found within a block from the innerHTML property when
-// transfering to state. Not doing so would have a compounding effect on memory
-// and uncertainty over the source of truth. This can be illustrated in how,
-// given a tree of `n` nested blocks, the entry node would have to contain the
-// actual content of each block while each subsequent block node in the state
-// tree would replicate the entire chain `n-1`, meaning the extreme end node
-// would have been replicated `n` times as the tree is traversed and would
-// generate uncertainty as to which one is to hold the current value of the
-// block. For composition, it also means inner blocks can effectively be child
-// components whose mechanisms can be shielded from the `edit` implementation
-// and just passed along.
-
-
- // While block transformations account for a specific surface of the API, there
-// are also raw transformations which handle arbitrary sources not made out of
-// blocks but producing block basaed on various heursitics. This includes
-// pasting rich text or HTML data.
-
- // The process of serialization aims to deflate the internal memory of the block
-// editor and its state representation back into an HTML valid string. This
-// process restores the document integrity and inserts invisible delimiters
-// around each block with HTML comment boundaries which can contain any extra
-// attributes needed to operate with the block later on.
-
- // Validation is the process of comparing a block source with its output before
-// there is any user input or interaction with a block. When this operation
-// fails -- for whatever reason -- the block is to be considered invalid. As
-// part of validating a block the system will attempt to run the source against
-// any provided deprecation definitions.
-//
-// Worth emphasizing that validation is not a case of whether the markup is
-// merely HTML spec-compliant but about how the editor knows to create such
-// markup and that its inability to create an identical result can be a strong
-// indicator of potential data loss (the invalidation is then a protective
-// measure).
-//
-// The invalidation process can also be deconstructed in phases: 1) validate the
-// block exists; 2) validate the source matches the output; 3) validate the
-// source matches deprecated outputs; 4) work through the significance of
-// differences. These are stacked in a way that favors performance and optimizes
-// for the majority of cases. That is to say, the evaluation logic can become
-// more sophisticated the further down it goes in the process as the cost is
-// accounted for. The first logic checks have to be extremely efficient since
-// they will be run for all valid and invalid blocks alike. However, once a
-// block is detected as invalid -- failing the three first steps -- it is
-// adequate to spend more time determining validity before throwing a conflict.
-
-
- // Blocks are inherently indifferent about where the data they operate with ends
-// up being saved. For example, all blocks can have a static and dynamic aspect
-// to them depending on the needs. The static nature of a block is the `save()`
-// definition that is meant to be serialized into HTML and which can be left
-// void. Any block can also register a `render_callback` on the server, which
-// makes its output dynamic either in part or in its totality.
-//
-// Child blocks are defined as a relationship that builds on top of the inner
-// blocks mechanism. A child block is a block node of a particular type that can
-// only exist within the inner block boundaries of a specific parent type. This
-// allows block authors to compose specific blocks that are not meant to be used
-// outside of a specified parent block context. Thus, child blocks extend the
-// concept of inner blocks to support a more direct relationship between sets of
-// blocks. The addition of parent–child would be a subset of the inner block
-// functionality under the premise that certain blocks only make sense as
-// children of another block.
-
-
- // Templates are, in a general sense, a basic collection of block nodes with any
-// given set of predefined attributes that are supplied as the initial state of
-// an inner blocks group. These nodes can, in turn, contain any number of nested
-// blocks within their definition. Templates allow both to specify a default
-// state for an editor session or a default set of blocks for any inner block
-// implementation within a specific block.
-
-
-
-
-
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/block-content-provider/index.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-const {
-  Consumer,
-  Provider
-} = Object(external_wp_element_["createContext"])(() => {});
-/**
- * An internal block component used in block content serialization to inject
- * nested block content within the `save` implementation of the ancestor
- * component in which it is nested. The component provides a pre-bound
- * `BlockContent` component via context, which is used by the developer-facing
- * `InnerBlocks.Content` component to render block content.
- *
- * @example
- *
- * ```jsx
- * <BlockContentProvider innerBlocks={ innerBlocks }>
- * 	{ blockSaveElement }
- * </BlockContentProvider>
- * ```
- *
- * @param {Object}    props             Component props.
- * @param {WPElement} props.children    Block save result.
- * @param {Array}     props.innerBlocks Block(s) to serialize.
- *
- * @return {WPComponent} Element with BlockContent injected via context.
- */
-
-const BlockContentProvider = _ref => {
-  let {
-    children,
-    innerBlocks
-  } = _ref;
-
-  const BlockContent = () => {
-    // Value is an array of blocks, so defer to block serializer
-    const html = serialize(innerBlocks, {
-      isInnerBlocks: true
-    }); // Use special-cased raw HTML tag to avoid default escaping
-
-    return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, html);
-  };
-
-  return Object(external_wp_element_["createElement"])(Provider, {
-    value: BlockContent
-  }, children);
-};
-/**
- * A Higher Order Component used to inject BlockContent using context to the
- * wrapped component.
- *
- * @return {WPComponent} Enhanced component with injected BlockContent as prop.
- */
-
-
-const withBlockContentContext = Object(external_wp_compose_["createHigherOrderComponent"])(OriginalComponent => {
-  return props => Object(external_wp_element_["createElement"])(Consumer, null, context => Object(external_wp_element_["createElement"])(OriginalComponent, Object(esm_extends["a" /* default */])({}, props, {
-    BlockContent: context
-  })));
-}, 'withBlockContentContext');
-/* harmony default export */ var block_content_provider = (BlockContentProvider);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/index.js
-// A "block" is the abstract term used to describe units of markup that,
-// when composed together, form the content or layout of a page.
-// The API for blocks is exposed via `wp.blocks`.
-//
-// Supported blocks are registered by calling `registerBlockType`. Once registered,
-// the block is made available as an option to the editor interface.
-//
-// Blocks are inferred from the HTML source of a post through a parsing mechanism
-// and then stored as objects in state, from which it is then rendered for editing.
-
-
-
-
-
-/***/ }),
-
-/***/ "1CF3":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["dom"]; }());
-
-/***/ }),
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "7Cbv":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
-// Unique ID creation requires a high quality random # generator. In the browser we therefore
-// require the crypto API and do not support built-in fallback to lower quality random number
-// generators (like Math.random()).
-var getRandomValues;
-var rnds8 = new Uint8Array(16);
-function rng() {
-  // lazy load so that environments that need to polyfill have a chance to do so
-  if (!getRandomValues) {
-    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
-    // find the complete implementation of crypto (msCrypto) on IE11.
-    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
-
-    if (!getRandomValues) {
-      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
-    }
-  }
-
-  return getRandomValues(rnds8);
-}
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
-/* harmony default export */ var regex = (/^(?:[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);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
-
-
-function validate(uuid) {
-  return typeof uuid === 'string' && regex.test(uuid);
-}
-
-/* harmony default export */ var esm_browser_validate = (validate);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
-
-/**
- * Convert array of 16 byte values to UUID string format of the form:
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
- */
-
-var byteToHex = [];
-
-for (var stringify_i = 0; stringify_i < 256; ++stringify_i) {
-  byteToHex.push((stringify_i + 0x100).toString(16).substr(1));
-}
-
-function stringify(arr) {
-  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
-  // Note: Be careful editing this code!  It's been tuned for performance
-  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
-  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
-  // of the following:
-  // - One or more input array values don't map to a hex octet (leading to
-  // "undefined" in the uuid)
-  // - Invalid input values for the RFC `version` or `variant` fields
-
-  if (!esm_browser_validate(uuid)) {
-    throw TypeError('Stringified UUID is invalid');
-  }
-
-  return uuid;
-}
-
-/* harmony default export */ var esm_browser_stringify = (stringify);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
-
-
-
-function v4(options, buf, offset) {
-  options = options || {};
-  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
-
-  rnds[6] = rnds[6] & 0x0f | 0x40;
-  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
-
-  if (buf) {
-    offset = offset || 0;
-
-    for (var i = 0; i < 16; ++i) {
-      buf[offset + i] = rnds[i];
-    }
-
-    return buf;
-  }
-
-  return esm_browser_stringify(rnds);
-}
-
-/* harmony default export */ var esm_browser_v4 = __webpack_exports__["a"] = (v4);
-
-/***/ }),
-
-/***/ "7bKH":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-var o=function(o){var t=o/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},t=function(t){return.2126*o(t.r)+.7152*o(t.g)+.0722*o(t.b)};/* harmony default export */ __webpack_exports__["a"] = (function(o){o.prototype.luminance=function(){return o=t(this.rgba),void 0===(r=2)&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*o)/n+0;var o,r,n},o.prototype.contrast=function(r){void 0===r&&(r="#FFF");var n,a,i,e,v,u,d,c=r instanceof o?r:new o(r);return e=this.rgba,v=c.toRgb(),u=t(e),d=t(v),n=u>d?(u+.05)/(d+.05):(d+.05)/(u+.05),void 0===(a=2)&&(a=0),void 0===i&&(i=Math.pow(10,a)),Math.floor(i*n)/i+0},o.prototype.isReadable=function(o,t){return void 0===o&&(o="#FFF"),void 0===t&&(t={}),this.contrast(o)>=(e=void 0===(i=(r=t).size)?"normal":i,"AAA"===(a=void 0===(n=r.level)?"AA":n)&&"normal"===e?7:"AA"===a&&"large"===e?3:4.5);var r,n,a,i,e}});
-
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "M55E":
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_RESULT__;;/*! showdown v 1.9.1 - 02-11-2019 */
-(function(){
-/**
- * Created by Tivie on 13-07-2015.
- */
-
-function getDefaultOpts (simple) {
-  'use strict';
-
-  var defaultOptions = {
-    omitExtraWLInCodeBlocks: {
-      defaultValue: false,
-      describe: 'Omit the default extra whiteline added to code blocks',
-      type: 'boolean'
-    },
-    noHeaderId: {
-      defaultValue: false,
-      describe: 'Turn on/off generated header id',
-      type: 'boolean'
-    },
-    prefixHeaderId: {
-      defaultValue: false,
-      describe: 'Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic \'section-\' prefix',
-      type: 'string'
-    },
-    rawPrefixHeaderId: {
-      defaultValue: false,
-      describe: 'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',
-      type: 'boolean'
-    },
-    ghCompatibleHeaderId: {
-      defaultValue: false,
-      describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',
-      type: 'boolean'
-    },
-    rawHeaderId: {
-      defaultValue: false,
-      describe: 'Remove only spaces, \' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',
-      type: 'boolean'
-    },
-    headerLevelStart: {
-      defaultValue: false,
-      describe: 'The header blocks level start',
-      type: 'integer'
-    },
-    parseImgDimensions: {
-      defaultValue: false,
-      describe: 'Turn on/off image dimension parsing',
-      type: 'boolean'
-    },
-    simplifiedAutoLink: {
-      defaultValue: false,
-      describe: 'Turn on/off GFM autolink style',
-      type: 'boolean'
-    },
-    excludeTrailingPunctuationFromURLs: {
-      defaultValue: false,
-      describe: 'Excludes trailing punctuation from links generated with autoLinking',
-      type: 'boolean'
-    },
-    literalMidWordUnderscores: {
-      defaultValue: false,
-      describe: 'Parse midword underscores as literal underscores',
-      type: 'boolean'
-    },
-    literalMidWordAsterisks: {
-      defaultValue: false,
-      describe: 'Parse midword asterisks as literal asterisks',
-      type: 'boolean'
-    },
-    strikethrough: {
-      defaultValue: false,
-      describe: 'Turn on/off strikethrough support',
-      type: 'boolean'
-    },
-    tables: {
-      defaultValue: false,
-      describe: 'Turn on/off tables support',
-      type: 'boolean'
-    },
-    tablesHeaderId: {
-      defaultValue: false,
-      describe: 'Add an id to table headers',
-      type: 'boolean'
-    },
-    ghCodeBlocks: {
-      defaultValue: true,
-      describe: 'Turn on/off GFM fenced code blocks support',
-      type: 'boolean'
-    },
-    tasklists: {
-      defaultValue: false,
-      describe: 'Turn on/off GFM tasklist support',
-      type: 'boolean'
-    },
-    smoothLivePreview: {
-      defaultValue: false,
-      describe: 'Prevents weird effects in live previews due to incomplete input',
-      type: 'boolean'
-    },
-    smartIndentationFix: {
-      defaultValue: false,
-      description: 'Tries to smartly fix indentation in es6 strings',
-      type: 'boolean'
-    },
-    disableForced4SpacesIndentedSublists: {
-      defaultValue: false,
-      description: 'Disables the requirement of indenting nested sublists by 4 spaces',
-      type: 'boolean'
-    },
-    simpleLineBreaks: {
-      defaultValue: false,
-      description: 'Parses simple line breaks as <br> (GFM Style)',
-      type: 'boolean'
-    },
-    requireSpaceBeforeHeadingText: {
-      defaultValue: false,
-      description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',
-      type: 'boolean'
-    },
-    ghMentions: {
-      defaultValue: false,
-      description: 'Enables github @mentions',
-      type: 'boolean'
-    },
-    ghMentionsLink: {
-      defaultValue: 'https://github.com/{u}',
-      description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',
-      type: 'string'
-    },
-    encodeEmails: {
-      defaultValue: true,
-      description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',
-      type: 'boolean'
-    },
-    openLinksInNewWindow: {
-      defaultValue: false,
-      description: 'Open all links in new windows',
-      type: 'boolean'
-    },
-    backslashEscapesHTMLTags: {
-      defaultValue: false,
-      description: 'Support for HTML Tag escaping. ex: \<div>foo\</div>',
-      type: 'boolean'
-    },
-    emoji: {
-      defaultValue: false,
-      description: 'Enable emoji support. Ex: `this is a :smile: emoji`',
-      type: 'boolean'
-    },
-    underline: {
-      defaultValue: false,
-      description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`',
-      type: 'boolean'
-    },
-    completeHTMLDocument: {
-      defaultValue: false,
-      description: 'Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags',
-      type: 'boolean'
-    },
-    metadata: {
-      defaultValue: false,
-      description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',
-      type: 'boolean'
-    },
-    splitAdjacentBlockquotes: {
-      defaultValue: false,
-      description: 'Split adjacent blockquote blocks',
-      type: 'boolean'
-    }
-  };
-  if (simple === false) {
-    return JSON.parse(JSON.stringify(defaultOptions));
-  }
-  var ret = {};
-  for (var opt in defaultOptions) {
-    if (defaultOptions.hasOwnProperty(opt)) {
-      ret[opt] = defaultOptions[opt].defaultValue;
-    }
-  }
-  return ret;
-}
-
-function allOptionsOn () {
-  'use strict';
-  var options = getDefaultOpts(true),
-      ret = {};
-  for (var opt in options) {
-    if (options.hasOwnProperty(opt)) {
-      ret[opt] = true;
-    }
-  }
-  return ret;
-}
-
-/**
- * Created by Tivie on 06-01-2015.
- */
-
-// Private properties
-var showdown = {},
-    parsers = {},
-    extensions = {},
-    globalOptions = getDefaultOpts(true),
-    setFlavor = 'vanilla',
-    flavor = {
-      github: {
-        omitExtraWLInCodeBlocks:              true,
-        simplifiedAutoLink:                   true,
-        excludeTrailingPunctuationFromURLs:   true,
-        literalMidWordUnderscores:            true,
-        strikethrough:                        true,
-        tables:                               true,
-        tablesHeaderId:                       true,
-        ghCodeBlocks:                         true,
-        tasklists:                            true,
-        disableForced4SpacesIndentedSublists: true,
-        simpleLineBreaks:                     true,
-        requireSpaceBeforeHeadingText:        true,
-        ghCompatibleHeaderId:                 true,
-        ghMentions:                           true,
-        backslashEscapesHTMLTags:             true,
-        emoji:                                true,
-        splitAdjacentBlockquotes:             true
-      },
-      original: {
-        noHeaderId:                           true,
-        ghCodeBlocks:                         false
-      },
-      ghost: {
-        omitExtraWLInCodeBlocks:              true,
-        parseImgDimensions:                   true,
-        simplifiedAutoLink:                   true,
-        excludeTrailingPunctuationFromURLs:   true,
-        literalMidWordUnderscores:            true,
-        strikethrough:                        true,
-        tables:                               true,
-        tablesHeaderId:                       true,
-        ghCodeBlocks:                         true,
-        tasklists:                            true,
-        smoothLivePreview:                    true,
-        simpleLineBreaks:                     true,
-        requireSpaceBeforeHeadingText:        true,
-        ghMentions:                           false,
-        encodeEmails:                         true
-      },
-      vanilla: getDefaultOpts(true),
-      allOn: allOptionsOn()
-    };
-
-/**
- * helper namespace
- * @type {{}}
- */
-showdown.helper = {};
-
-/**
- * TODO LEGACY SUPPORT CODE
- * @type {{}}
- */
-showdown.extensions = {};
-
-/**
- * Set a global option
- * @static
- * @param {string} key
- * @param {*} value
- * @returns {showdown}
- */
-showdown.setOption = function (key, value) {
-  'use strict';
-  globalOptions[key] = value;
-  return this;
-};
-
-/**
- * Get a global option
- * @static
- * @param {string} key
- * @returns {*}
- */
-showdown.getOption = function (key) {
-  'use strict';
-  return globalOptions[key];
-};
-
-/**
- * Get the global options
- * @static
- * @returns {{}}
- */
-showdown.getOptions = function () {
-  'use strict';
-  return globalOptions;
-};
-
-/**
- * Reset global options to the default values
- * @static
- */
-showdown.resetOptions = function () {
-  'use strict';
-  globalOptions = getDefaultOpts(true);
-};
-
-/**
- * Set the flavor showdown should use as default
- * @param {string} name
- */
-showdown.setFlavor = function (name) {
-  'use strict';
-  if (!flavor.hasOwnProperty(name)) {
-    throw Error(name + ' flavor was not found');
-  }
-  showdown.resetOptions();
-  var preset = flavor[name];
-  setFlavor = name;
-  for (var option in preset) {
-    if (preset.hasOwnProperty(option)) {
-      globalOptions[option] = preset[option];
-    }
-  }
-};
-
-/**
- * Get the currently set flavor
- * @returns {string}
- */
-showdown.getFlavor = function () {
-  'use strict';
-  return setFlavor;
-};
-
-/**
- * Get the options of a specified flavor. Returns undefined if the flavor was not found
- * @param {string} name Name of the flavor
- * @returns {{}|undefined}
- */
-showdown.getFlavorOptions = function (name) {
-  'use strict';
-  if (flavor.hasOwnProperty(name)) {
-    return flavor[name];
-  }
-};
-
-/**
- * Get the default options
- * @static
- * @param {boolean} [simple=true]
- * @returns {{}}
- */
-showdown.getDefaultOptions = function (simple) {
-  'use strict';
-  return getDefaultOpts(simple);
-};
-
-/**
- * Get or set a subParser
- *
- * subParser(name)       - Get a registered subParser
- * subParser(name, func) - Register a subParser
- * @static
- * @param {string} name
- * @param {function} [func]
- * @returns {*}
- */
-showdown.subParser = function (name, func) {
-  'use strict';
-  if (showdown.helper.isString(name)) {
-    if (typeof func !== 'undefined') {
-      parsers[name] = func;
-    } else {
-      if (parsers.hasOwnProperty(name)) {
-        return parsers[name];
-      } else {
-        throw Error('SubParser named ' + name + ' not registered!');
-      }
-    }
-  }
-};
-
-/**
- * Gets or registers an extension
- * @static
- * @param {string} name
- * @param {object|function=} ext
- * @returns {*}
- */
-showdown.extension = function (name, ext) {
-  'use strict';
-
-  if (!showdown.helper.isString(name)) {
-    throw Error('Extension \'name\' must be a string');
-  }
-
-  name = showdown.helper.stdExtName(name);
-
-  // Getter
-  if (showdown.helper.isUndefined(ext)) {
-    if (!extensions.hasOwnProperty(name)) {
-      throw Error('Extension named ' + name + ' is not registered!');
-    }
-    return extensions[name];
-
-    // Setter
-  } else {
-    // Expand extension if it's wrapped in a function
-    if (typeof ext === 'function') {
-      ext = ext();
-    }
-
-    // Ensure extension is an array
-    if (!showdown.helper.isArray(ext)) {
-      ext = [ext];
-    }
-
-    var validExtension = validate(ext, name);
-
-    if (validExtension.valid) {
-      extensions[name] = ext;
-    } else {
-      throw Error(validExtension.error);
-    }
-  }
-};
-
-/**
- * Gets all extensions registered
- * @returns {{}}
- */
-showdown.getAllExtensions = function () {
-  'use strict';
-  return extensions;
-};
-
-/**
- * Remove an extension
- * @param {string} name
- */
-showdown.removeExtension = function (name) {
-  'use strict';
-  delete extensions[name];
-};
-
-/**
- * Removes all extensions
- */
-showdown.resetExtensions = function () {
-  'use strict';
-  extensions = {};
-};
-
-/**
- * Validate extension
- * @param {array} extension
- * @param {string} name
- * @returns {{valid: boolean, error: string}}
- */
-function validate (extension, name) {
-  'use strict';
-
-  var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',
-      ret = {
-        valid: true,
-        error: ''
-      };
-
-  if (!showdown.helper.isArray(extension)) {
-    extension = [extension];
-  }
-
-  for (var i = 0; i < extension.length; ++i) {
-    var baseMsg = errMsg + ' sub-extension ' + i + ': ',
-        ext = extension[i];
-    if (typeof ext !== 'object') {
-      ret.valid = false;
-      ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';
-      return ret;
-    }
-
-    if (!showdown.helper.isString(ext.type)) {
-      ret.valid = false;
-      ret.error = baseMsg + 'property "type" must be a string, but ' + typeof ext.type + ' given';
-      return ret;
-    }
-
-    var type = ext.type = ext.type.toLowerCase();
-
-    // normalize extension type
-    if (type === 'language') {
-      type = ext.type = 'lang';
-    }
-
-    if (type === 'html') {
-      type = ext.type = 'output';
-    }
-
-    if (type !== 'lang' && type !== 'output' && type !== 'listener') {
-      ret.valid = false;
-      ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: "lang/language", "output/html" or "listener"';
-      return ret;
-    }
-
-    if (type === 'listener') {
-      if (showdown.helper.isUndefined(ext.listeners)) {
-        ret.valid = false;
-        ret.error = baseMsg + '. Extensions of type "listener" must have a property called "listeners"';
-        return ret;
-      }
-    } else {
-      if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {
-        ret.valid = false;
-        ret.error = baseMsg + type + ' extensions must define either a "regex" property or a "filter" method';
-        return ret;
-      }
-    }
-
-    if (ext.listeners) {
-      if (typeof ext.listeners !== 'object') {
-        ret.valid = false;
-        ret.error = baseMsg + '"listeners" property must be an object but ' + typeof ext.listeners + ' given';
-        return ret;
-      }
-      for (var ln in ext.listeners) {
-        if (ext.listeners.hasOwnProperty(ln)) {
-          if (typeof ext.listeners[ln] !== 'function') {
-            ret.valid = false;
-            ret.error = baseMsg + '"listeners" property must be an hash of [event name]: [callback]. listeners.' + ln +
-              ' must be a function but ' + typeof ext.listeners[ln] + ' given';
-            return ret;
-          }
-        }
-      }
-    }
-
-    if (ext.filter) {
-      if (typeof ext.filter !== 'function') {
-        ret.valid = false;
-        ret.error = baseMsg + '"filter" must be a function, but ' + typeof ext.filter + ' given';
-        return ret;
-      }
-    } else if (ext.regex) {
-      if (showdown.helper.isString(ext.regex)) {
-        ext.regex = new RegExp(ext.regex, 'g');
-      }
-      if (!(ext.regex instanceof RegExp)) {
-        ret.valid = false;
-        ret.error = baseMsg + '"regex" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';
-        return ret;
-      }
-      if (showdown.helper.isUndefined(ext.replace)) {
-        ret.valid = false;
-        ret.error = baseMsg + '"regex" extensions must implement a replace string or function';
-        return ret;
-      }
-    }
-  }
-  return ret;
-}
-
-/**
- * Validate extension
- * @param {object} ext
- * @returns {boolean}
- */
-showdown.validateExtension = function (ext) {
-  'use strict';
-
-  var validateExtension = validate(ext, null);
-  if (!validateExtension.valid) {
-    console.warn(validateExtension.error);
-    return false;
-  }
-  return true;
-};
-
-/**
- * showdownjs helper functions
- */
-
-if (!showdown.hasOwnProperty('helper')) {
-  showdown.helper = {};
-}
-
-/**
- * Check if var is string
- * @static
- * @param {string} a
- * @returns {boolean}
- */
-showdown.helper.isString = function (a) {
-  'use strict';
-  return (typeof a === 'string' || a instanceof String);
-};
-
-/**
- * Check if var is a function
- * @static
- * @param {*} a
- * @returns {boolean}
- */
-showdown.helper.isFunction = function (a) {
-  'use strict';
-  var getType = {};
-  return a && getType.toString.call(a) === '[object Function]';
-};
-
-/**
- * isArray helper function
- * @static
- * @param {*} a
- * @returns {boolean}
- */
-showdown.helper.isArray = function (a) {
-  'use strict';
-  return Array.isArray(a);
-};
-
-/**
- * Check if value is undefined
- * @static
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
- */
-showdown.helper.isUndefined = function (value) {
-  'use strict';
-  return typeof value === 'undefined';
-};
-
-/**
- * ForEach helper function
- * Iterates over Arrays and Objects (own properties only)
- * @static
- * @param {*} obj
- * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object
- */
-showdown.helper.forEach = function (obj, callback) {
-  'use strict';
-  // check if obj is defined
-  if (showdown.helper.isUndefined(obj)) {
-    throw new Error('obj param is required');
-  }
-
-  if (showdown.helper.isUndefined(callback)) {
-    throw new Error('callback param is required');
-  }
-
-  if (!showdown.helper.isFunction(callback)) {
-    throw new Error('callback param must be a function/closure');
-  }
-
-  if (typeof obj.forEach === 'function') {
-    obj.forEach(callback);
-  } else if (showdown.helper.isArray(obj)) {
-    for (var i = 0; i < obj.length; i++) {
-      callback(obj[i], i, obj);
-    }
-  } else if (typeof (obj) === 'object') {
-    for (var prop in obj) {
-      if (obj.hasOwnProperty(prop)) {
-        callback(obj[prop], prop, obj);
-      }
-    }
-  } else {
-    throw new Error('obj does not seem to be an array or an iterable object');
-  }
-};
-
-/**
- * Standardidize extension name
- * @static
- * @param {string} s extension name
- * @returns {string}
- */
-showdown.helper.stdExtName = function (s) {
-  'use strict';
-  return s.replace(/[_?*+\/\\.^-]/g, '').replace(/\s/g, '').toLowerCase();
-};
-
-function escapeCharactersCallback (wholeMatch, m1) {
-  'use strict';
-  var charCodeToEscape = m1.charCodeAt(0);
-  return '¨E' + charCodeToEscape + 'E';
-}
-
-/**
- * Callback used to escape characters when passing through String.replace
- * @static
- * @param {string} wholeMatch
- * @param {string} m1
- * @returns {string}
- */
-showdown.helper.escapeCharactersCallback = escapeCharactersCallback;
-
-/**
- * Escape characters in a string
- * @static
- * @param {string} text
- * @param {string} charsToEscape
- * @param {boolean} afterBackslash
- * @returns {XML|string|void|*}
- */
-showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {
-  'use strict';
-  // First we have to escape the escape characters so that
-  // we can build a character class out of them
-  var regexString = '([' + charsToEscape.replace(/([\[\]\\])/g, '\\$1') + '])';
-
-  if (afterBackslash) {
-    regexString = '\\\\' + regexString;
-  }
-
-  var regex = new RegExp(regexString, 'g');
-  text = text.replace(regex, escapeCharactersCallback);
-
-  return text;
-};
-
-/**
- * Unescape HTML entities
- * @param txt
- * @returns {string}
- */
-showdown.helper.unescapeHTMLEntities = function (txt) {
-  'use strict';
-
-  return txt
-    .replace(/&quot;/g, '"')
-    .replace(/&lt;/g, '<')
-    .replace(/&gt;/g, '>')
-    .replace(/&amp;/g, '&');
-};
-
-var rgxFindMatchPos = function (str, left, right, flags) {
-  'use strict';
-  var f = flags || '',
-      g = f.indexOf('g') > -1,
-      x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),
-      l = new RegExp(left, f.replace(/g/g, '')),
-      pos = [],
-      t, s, m, start, end;
-
-  do {
-    t = 0;
-    while ((m = x.exec(str))) {
-      if (l.test(m[0])) {
-        if (!(t++)) {
-          s = x.lastIndex;
-          start = s - m[0].length;
-        }
-      } else if (t) {
-        if (!--t) {
-          end = m.index + m[0].length;
-          var obj = {
-            left: {start: start, end: s},
-            match: {start: s, end: m.index},
-            right: {start: m.index, end: end},
-            wholeMatch: {start: start, end: end}
-          };
-          pos.push(obj);
-          if (!g) {
-            return pos;
-          }
-        }
-      }
-    }
-  } while (t && (x.lastIndex = s));
-
-  return pos;
-};
-
-/**
- * matchRecursiveRegExp
- *
- * (c) 2007 Steven Levithan <stevenlevithan.com>
- * MIT License
- *
- * Accepts a string to search, a left and right format delimiter
- * as regex patterns, and optional regex flags. Returns an array
- * of matches, allowing nested instances of left/right delimiters.
- * Use the "g" flag to return all matches, otherwise only the
- * first is returned. Be careful to ensure that the left and
- * right format delimiters produce mutually exclusive matches.
- * Backreferences are not supported within the right delimiter
- * due to how it is internally combined with the left delimiter.
- * When matching strings whose format delimiters are unbalanced
- * to the left or right, the output is intentionally as a
- * conventional regex library with recursion support would
- * produce, e.g. "<<x>" and "<x>>" both produce ["x"] when using
- * "<" and ">" as the delimiters (both strings contain a single,
- * balanced instance of "<x>").
- *
- * examples:
- * matchRecursiveRegExp("test", "\\(", "\\)")
- * returns: []
- * matchRecursiveRegExp("<t<<e>><s>>t<>", "<", ">", "g")
- * returns: ["t<<e>><s>", ""]
- * matchRecursiveRegExp("<div id=\"x\">test</div>", "<div\\b[^>]*>", "</div>", "gi")
- * returns: ["test"]
- */
-showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {
-  'use strict';
-
-  var matchPos = rgxFindMatchPos (str, left, right, flags),
-      results = [];
-
-  for (var i = 0; i < matchPos.length; ++i) {
-    results.push([
-      str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),
-      str.slice(matchPos[i].match.start, matchPos[i].match.end),
-      str.slice(matchPos[i].left.start, matchPos[i].left.end),
-      str.slice(matchPos[i].right.start, matchPos[i].right.end)
-    ]);
-  }
-  return results;
-};
-
-/**
- *
- * @param {string} str
- * @param {string|function} replacement
- * @param {string} left
- * @param {string} right
- * @param {string} flags
- * @returns {string}
- */
-showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {
-  'use strict';
-
-  if (!showdown.helper.isFunction(replacement)) {
-    var repStr = replacement;
-    replacement = function () {
-      return repStr;
-    };
-  }
-
-  var matchPos = rgxFindMatchPos(str, left, right, flags),
-      finalStr = str,
-      lng = matchPos.length;
-
-  if (lng > 0) {
-    var bits = [];
-    if (matchPos[0].wholeMatch.start !== 0) {
-      bits.push(str.slice(0, matchPos[0].wholeMatch.start));
-    }
-    for (var i = 0; i < lng; ++i) {
-      bits.push(
-        replacement(
-          str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),
-          str.slice(matchPos[i].match.start, matchPos[i].match.end),
-          str.slice(matchPos[i].left.start, matchPos[i].left.end),
-          str.slice(matchPos[i].right.start, matchPos[i].right.end)
-        )
-      );
-      if (i < lng - 1) {
-        bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));
-      }
-    }
-    if (matchPos[lng - 1].wholeMatch.end < str.length) {
-      bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));
-    }
-    finalStr = bits.join('');
-  }
-  return finalStr;
-};
-
-/**
- * Returns the index within the passed String object of the first occurrence of the specified regex,
- * starting the search at fromIndex. Returns -1 if the value is not found.
- *
- * @param {string} str string to search
- * @param {RegExp} regex Regular expression to search
- * @param {int} [fromIndex = 0] Index to start the search
- * @returns {Number}
- * @throws InvalidArgumentError
- */
-showdown.helper.regexIndexOf = function (str, regex, fromIndex) {
-  'use strict';
-  if (!showdown.helper.isString(str)) {
-    throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';
-  }
-  if (regex instanceof RegExp === false) {
-    throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';
-  }
-  var indexOf = str.substring(fromIndex || 0).search(regex);
-  return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;
-};
-
-/**
- * Splits the passed string object at the defined index, and returns an array composed of the two substrings
- * @param {string} str string to split
- * @param {int} index index to split string at
- * @returns {[string,string]}
- * @throws InvalidArgumentError
- */
-showdown.helper.splitAtIndex = function (str, index) {
-  'use strict';
-  if (!showdown.helper.isString(str)) {
-    throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';
-  }
-  return [str.substring(0, index), str.substring(index)];
-};
-
-/**
- * Obfuscate an e-mail address through the use of Character Entities,
- * transforming ASCII characters into their equivalent decimal or hex entities.
- *
- * Since it has a random component, subsequent calls to this function produce different results
- *
- * @param {string} mail
- * @returns {string}
- */
-showdown.helper.encodeEmailAddress = function (mail) {
-  'use strict';
-  var encode = [
-    function (ch) {
-      return '&#' + ch.charCodeAt(0) + ';';
-    },
-    function (ch) {
-      return '&#x' + ch.charCodeAt(0).toString(16) + ';';
-    },
-    function (ch) {
-      return ch;
-    }
-  ];
-
-  mail = mail.replace(/./g, function (ch) {
-    if (ch === '@') {
-      // this *must* be encoded. I insist.
-      ch = encode[Math.floor(Math.random() * 2)](ch);
-    } else {
-      var r = Math.random();
-      // roughly 10% raw, 45% hex, 45% dec
-      ch = (
-        r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)
-      );
-    }
-    return ch;
-  });
-
-  return mail;
-};
-
-/**
- *
- * @param str
- * @param targetLength
- * @param padString
- * @returns {string}
- */
-showdown.helper.padEnd = function padEnd (str, targetLength, padString) {
-  'use strict';
-  /*jshint bitwise: false*/
-  // eslint-disable-next-line space-infix-ops
-  targetLength = targetLength>>0; //floor if number or convert non-number to 0;
-  /*jshint bitwise: true*/
-  padString = String(padString || ' ');
-  if (str.length > targetLength) {
-    return String(str);
-  } else {
-    targetLength = targetLength - str.length;
-    if (targetLength > padString.length) {
-      padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed
-    }
-    return String(str) + padString.slice(0,targetLength);
-  }
-};
-
-/**
- * POLYFILLS
- */
-// use this instead of builtin is undefined for IE8 compatibility
-if (typeof console === 'undefined') {
-  console = {
-    warn: function (msg) {
-      'use strict';
-      alert(msg);
-    },
-    log: function (msg) {
-      'use strict';
-      alert(msg);
-    },
-    error: function (msg) {
-      'use strict';
-      throw msg;
-    }
-  };
-}
-
-/**
- * Common regexes.
- * We declare some common regexes to improve performance
- */
-showdown.helper.regexes = {
-  asteriskDashAndColon: /([*_:~])/g
-};
-
-/**
- * EMOJIS LIST
+ * EMOJIS LIST
  */
 showdown.helper.emojis = {
   '+1':'\ud83d\udc4d',
@@ -9976,3346 +2179,10873 @@ showdown.helper.emojis = {
   'zipper_mouth_face':'\ud83e\udd10',
   'zzz':'\ud83d\udca4',

-  /* special emojis :P */
-  'octocat':  '<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',
-  'showdown': '<span style="font-family: \'Anonymous Pro\', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;">S</span>'
+  /* special emojis :P */
+  'octocat':  '<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',
+  'showdown': '<span style="font-family: \'Anonymous Pro\', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;">S</span>'
+};
+
+/**
+ * Created by Estevao on 31-05-2015.
+ */
+
+/**
+ * Showdown Converter class
+ * @class
+ * @param {object} [converterOptions]
+ * @returns {Converter}
+ */
+showdown.Converter = function (converterOptions) {
+  'use strict';
+
+  var
+      /**
+       * Options used by this converter
+       * @private
+       * @type {{}}
+       */
+      options = {},
+
+      /**
+       * Language extensions used by this converter
+       * @private
+       * @type {Array}
+       */
+      langExtensions = [],
+
+      /**
+       * Output modifiers extensions used by this converter
+       * @private
+       * @type {Array}
+       */
+      outputModifiers = [],
+
+      /**
+       * Event listeners
+       * @private
+       * @type {{}}
+       */
+      listeners = {},
+
+      /**
+       * The flavor set in this converter
+       */
+      setConvFlavor = setFlavor,
+
+      /**
+       * Metadata of the document
+       * @type {{parsed: {}, raw: string, format: string}}
+       */
+      metadata = {
+        parsed: {},
+        raw: '',
+        format: ''
+      };
+
+  _constructor();
+
+  /**
+   * Converter constructor
+   * @private
+   */
+  function _constructor () {
+    converterOptions = converterOptions || {};
+
+    for (var gOpt in globalOptions) {
+      if (globalOptions.hasOwnProperty(gOpt)) {
+        options[gOpt] = globalOptions[gOpt];
+      }
+    }
+
+    // Merge options
+    if (typeof converterOptions === 'object') {
+      for (var opt in converterOptions) {
+        if (converterOptions.hasOwnProperty(opt)) {
+          options[opt] = converterOptions[opt];
+        }
+      }
+    } else {
+      throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +
+      ' was passed instead.');
+    }
+
+    if (options.extensions) {
+      showdown.helper.forEach(options.extensions, _parseExtension);
+    }
+  }
+
+  /**
+   * Parse extension
+   * @param {*} ext
+   * @param {string} [name='']
+   * @private
+   */
+  function _parseExtension (ext, name) {
+
+    name = name || null;
+    // If it's a string, the extension was previously loaded
+    if (showdown.helper.isString(ext)) {
+      ext = showdown.helper.stdExtName(ext);
+      name = ext;
+
+      // LEGACY_SUPPORT CODE
+      if (showdown.extensions[ext]) {
+        console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +
+          'Please inform the developer that the extension should be updated!');
+        legacyExtensionLoading(showdown.extensions[ext], ext);
+        return;
+        // END LEGACY SUPPORT CODE
+
+      } else if (!showdown.helper.isUndefined(extensions[ext])) {
+        ext = extensions[ext];
+
+      } else {
+        throw Error('Extension "' + ext + '" could not be loaded. It was either not found or is not a valid extension.');
+      }
+    }
+
+    if (typeof ext === 'function') {
+      ext = ext();
+    }
+
+    if (!showdown.helper.isArray(ext)) {
+      ext = [ext];
+    }
+
+    var validExt = validate(ext, name);
+    if (!validExt.valid) {
+      throw Error(validExt.error);
+    }
+
+    for (var i = 0; i < ext.length; ++i) {
+      switch (ext[i].type) {
+
+        case 'lang':
+          langExtensions.push(ext[i]);
+          break;
+
+        case 'output':
+          outputModifiers.push(ext[i]);
+          break;
+      }
+      if (ext[i].hasOwnProperty('listeners')) {
+        for (var ln in ext[i].listeners) {
+          if (ext[i].listeners.hasOwnProperty(ln)) {
+            listen(ln, ext[i].listeners[ln]);
+          }
+        }
+      }
+    }
+
+  }
+
+  /**
+   * LEGACY_SUPPORT
+   * @param {*} ext
+   * @param {string} name
+   */
+  function legacyExtensionLoading (ext, name) {
+    if (typeof ext === 'function') {
+      ext = ext(new showdown.Converter());
+    }
+    if (!showdown.helper.isArray(ext)) {
+      ext = [ext];
+    }
+    var valid = validate(ext, name);
+
+    if (!valid.valid) {
+      throw Error(valid.error);
+    }
+
+    for (var i = 0; i < ext.length; ++i) {
+      switch (ext[i].type) {
+        case 'lang':
+          langExtensions.push(ext[i]);
+          break;
+        case 'output':
+          outputModifiers.push(ext[i]);
+          break;
+        default:// should never reach here
+          throw Error('Extension loader error: Type unrecognized!!!');
+      }
+    }
+  }
+
+  /**
+   * Listen to an event
+   * @param {string} name
+   * @param {function} callback
+   */
+  function listen (name, callback) {
+    if (!showdown.helper.isString(name)) {
+      throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');
+    }
+
+    if (typeof callback !== 'function') {
+      throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');
+    }
+
+    if (!listeners.hasOwnProperty(name)) {
+      listeners[name] = [];
+    }
+    listeners[name].push(callback);
+  }
+
+  function rTrimInputText (text) {
+    var rsp = text.match(/^\s*/)[0].length,
+        rgx = new RegExp('^\\s{0,' + rsp + '}', 'gm');
+    return text.replace(rgx, '');
+  }
+
+  /**
+   * Dispatch an event
+   * @private
+   * @param {string} evtName Event name
+   * @param {string} text Text
+   * @param {{}} options Converter Options
+   * @param {{}} globals
+   * @returns {string}
+   */
+  this._dispatch = function dispatch (evtName, text, options, globals) {
+    if (listeners.hasOwnProperty(evtName)) {
+      for (var ei = 0; ei < listeners[evtName].length; ++ei) {
+        var nText = listeners[evtName][ei](evtName, text, this, options, globals);
+        if (nText && typeof nText !== 'undefined') {
+          text = nText;
+        }
+      }
+    }
+    return text;
+  };
+
+  /**
+   * Listen to an event
+   * @param {string} name
+   * @param {function} callback
+   * @returns {showdown.Converter}
+   */
+  this.listen = function (name, callback) {
+    listen(name, callback);
+    return this;
+  };
+
+  /**
+   * Converts a markdown string into HTML
+   * @param {string} text
+   * @returns {*}
+   */
+  this.makeHtml = function (text) {
+    //check if text is not falsy
+    if (!text) {
+      return text;
+    }
+
+    var globals = {
+      gHtmlBlocks:     [],
+      gHtmlMdBlocks:   [],
+      gHtmlSpans:      [],
+      gUrls:           {},
+      gTitles:         {},
+      gDimensions:     {},
+      gListLevel:      0,
+      hashLinkCounts:  {},
+      langExtensions:  langExtensions,
+      outputModifiers: outputModifiers,
+      converter:       this,
+      ghCodeBlocks:    [],
+      metadata: {
+        parsed: {},
+        raw: '',
+        format: ''
+      }
+    };
+
+    // This lets us use ¨ trema as an escape char to avoid md5 hashes
+    // The choice of character is arbitrary; anything that isn't
+    // magic in Markdown will work.
+    text = text.replace(/¨/g, '¨T');
+
+    // Replace $ with ¨D
+    // RegExp interprets $ as a special character
+    // when it's in a replacement string
+    text = text.replace(/\$/g, '¨D');
+
+    // Standardize line endings
+    text = text.replace(/\r\n/g, '\n'); // DOS to Unix
+    text = text.replace(/\r/g, '\n'); // Mac to Unix
+
+    // Stardardize line spaces
+    text = text.replace(/\u00A0/g, '&nbsp;');
+
+    if (options.smartIndentationFix) {
+      text = rTrimInputText(text);
+    }
+
+    // Make sure text begins and ends with a couple of newlines:
+    text = '\n\n' + text + '\n\n';
+
+    // detab
+    text = showdown.subParser('detab')(text, options, globals);
+
+    /**
+     * Strip any lines consisting only of spaces and tabs.
+     * This makes subsequent regexs easier to write, because we can
+     * match consecutive blank lines with /\n+/ instead of something
+     * contorted like /[ \t]*\n+/
+     */
+    text = text.replace(/^[ \t]+$/mg, '');
+
+    //run languageExtensions
+    showdown.helper.forEach(langExtensions, function (ext) {
+      text = showdown.subParser('runExtension')(ext, text, options, globals);
+    });
+
+    // run the sub parsers
+    text = showdown.subParser('metadata')(text, options, globals);
+    text = showdown.subParser('hashPreCodeTags')(text, options, globals);
+    text = showdown.subParser('githubCodeBlocks')(text, options, globals);
+    text = showdown.subParser('hashHTMLBlocks')(text, options, globals);
+    text = showdown.subParser('hashCodeTags')(text, options, globals);
+    text = showdown.subParser('stripLinkDefinitions')(text, options, globals);
+    text = showdown.subParser('blockGamut')(text, options, globals);
+    text = showdown.subParser('unhashHTMLSpans')(text, options, globals);
+    text = showdown.subParser('unescapeSpecialChars')(text, options, globals);
+
+    // attacklab: Restore dollar signs
+    text = text.replace(/¨D/g, '$$');
+
+    // attacklab: Restore tremas
+    text = text.replace(/¨T/g, '¨');
+
+    // render a complete html document instead of a partial if the option is enabled
+    text = showdown.subParser('completeHTMLDocument')(text, options, globals);
+
+    // Run output modifiers
+    showdown.helper.forEach(outputModifiers, function (ext) {
+      text = showdown.subParser('runExtension')(ext, text, options, globals);
+    });
+
+    // update metadata
+    metadata = globals.metadata;
+    return text;
+  };
+
+  /**
+   * Converts an HTML string into a markdown string
+   * @param src
+   * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.
+   * @returns {string}
+   */
+  this.makeMarkdown = this.makeMd = function (src, HTMLParser) {
+
+    // replace \r\n with \n
+    src = src.replace(/\r\n/g, '\n');
+    src = src.replace(/\r/g, '\n'); // old macs
+
+    // due to an edge case, we need to find this: > <
+    // to prevent removing of non silent white spaces
+    // ex: <em>this is</em> <strong>sparta</strong>
+    src = src.replace(/>[ \t]+</, '>¨NBSP;<');
+
+    if (!HTMLParser) {
+      if (window && window.document) {
+        HTMLParser = window.document;
+      } else {
+        throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');
+      }
+    }
+
+    var doc = HTMLParser.createElement('div');
+    doc.innerHTML = src;
+
+    var globals = {
+      preList: substitutePreCodeTags(doc)
+    };
+
+    // remove all newlines and collapse spaces
+    clean(doc);
+
+    // some stuff, like accidental reference links must now be escaped
+    // TODO
+    // doc.innerHTML = doc.innerHTML.replace(/\[[\S\t ]]/);
+
+    var nodes = doc.childNodes,
+        mdDoc = '';
+
+    for (var i = 0; i < nodes.length; i++) {
+      mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);
+    }
+
+    function clean (node) {
+      for (var n = 0; n < node.childNodes.length; ++n) {
+        var child = node.childNodes[n];
+        if (child.nodeType === 3) {
+          if (!/\S/.test(child.nodeValue)) {
+            node.removeChild(child);
+            --n;
+          } else {
+            child.nodeValue = child.nodeValue.split('\n').join(' ');
+            child.nodeValue = child.nodeValue.replace(/(\s)+/g, '$1');
+          }
+        } else if (child.nodeType === 1) {
+          clean(child);
+        }
+      }
+    }
+
+    // find all pre tags and replace contents with placeholder
+    // we need this so that we can remove all indentation from html
+    // to ease up parsing
+    function substitutePreCodeTags (doc) {
+
+      var pres = doc.querySelectorAll('pre'),
+          presPH = [];
+
+      for (var i = 0; i < pres.length; ++i) {
+
+        if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {
+          var content = pres[i].firstChild.innerHTML.trim(),
+              language = pres[i].firstChild.getAttribute('data-language') || '';
+
+          // if data-language attribute is not defined, then we look for class language-*
+          if (language === '') {
+            var classes = pres[i].firstChild.className.split(' ');
+            for (var c = 0; c < classes.length; ++c) {
+              var matches = classes[c].match(/^language-(.+)$/);
+              if (matches !== null) {
+                language = matches[1];
+                break;
+              }
+            }
+          }
+
+          // unescape html entities in content
+          content = showdown.helper.unescapeHTMLEntities(content);
+
+          presPH.push(content);
+          pres[i].outerHTML = '<precode language="' + language + '" precodenum="' + i.toString() + '"></precode>';
+        } else {
+          presPH.push(pres[i].innerHTML);
+          pres[i].innerHTML = '';
+          pres[i].setAttribute('prenum', i.toString());
+        }
+      }
+      return presPH;
+    }
+
+    return mdDoc;
+  };
+
+  /**
+   * Set an option of this Converter instance
+   * @param {string} key
+   * @param {*} value
+   */
+  this.setOption = function (key, value) {
+    options[key] = value;
+  };
+
+  /**
+   * Get the option of this Converter instance
+   * @param {string} key
+   * @returns {*}
+   */
+  this.getOption = function (key) {
+    return options[key];
+  };
+
+  /**
+   * Get the options of this Converter instance
+   * @returns {{}}
+   */
+  this.getOptions = function () {
+    return options;
+  };
+
+  /**
+   * Add extension to THIS converter
+   * @param {{}} extension
+   * @param {string} [name=null]
+   */
+  this.addExtension = function (extension, name) {
+    name = name || null;
+    _parseExtension(extension, name);
+  };
+
+  /**
+   * Use a global registered extension with THIS converter
+   * @param {string} extensionName Name of the previously registered extension
+   */
+  this.useExtension = function (extensionName) {
+    _parseExtension(extensionName);
+  };
+
+  /**
+   * Set the flavor THIS converter should use
+   * @param {string} name
+   */
+  this.setFlavor = function (name) {
+    if (!flavor.hasOwnProperty(name)) {
+      throw Error(name + ' flavor was not found');
+    }
+    var preset = flavor[name];
+    setConvFlavor = name;
+    for (var option in preset) {
+      if (preset.hasOwnProperty(option)) {
+        options[option] = preset[option];
+      }
+    }
+  };
+
+  /**
+   * Get the currently set flavor of this converter
+   * @returns {string}
+   */
+  this.getFlavor = function () {
+    return setConvFlavor;
+  };
+
+  /**
+   * Remove an extension from THIS converter.
+   * Note: This is a costly operation. It's better to initialize a new converter
+   * and specify the extensions you wish to use
+   * @param {Array} extension
+   */
+  this.removeExtension = function (extension) {
+    if (!showdown.helper.isArray(extension)) {
+      extension = [extension];
+    }
+    for (var a = 0; a < extension.length; ++a) {
+      var ext = extension[a];
+      for (var i = 0; i < langExtensions.length; ++i) {
+        if (langExtensions[i] === ext) {
+          langExtensions[i].splice(i, 1);
+        }
+      }
+      for (var ii = 0; ii < outputModifiers.length; ++i) {
+        if (outputModifiers[ii] === ext) {
+          outputModifiers[ii].splice(i, 1);
+        }
+      }
+    }
+  };
+
+  /**
+   * Get all extension of THIS converter
+   * @returns {{language: Array, output: Array}}
+   */
+  this.getAllExtensions = function () {
+    return {
+      language: langExtensions,
+      output: outputModifiers
+    };
+  };
+
+  /**
+   * Get the metadata of the previously parsed document
+   * @param raw
+   * @returns {string|{}}
+   */
+  this.getMetadata = function (raw) {
+    if (raw) {
+      return metadata.raw;
+    } else {
+      return metadata.parsed;
+    }
+  };
+
+  /**
+   * Get the metadata format of the previously parsed document
+   * @returns {string}
+   */
+  this.getMetadataFormat = function () {
+    return metadata.format;
+  };
+
+  /**
+   * Private: set a single key, value metadata pair
+   * @param {string} key
+   * @param {string} value
+   */
+  this._setMetadataPair = function (key, value) {
+    metadata.parsed[key] = value;
+  };
+
+  /**
+   * Private: set metadata format
+   * @param {string} format
+   */
+  this._setMetadataFormat = function (format) {
+    metadata.format = format;
+  };
+
+  /**
+   * Private: set metadata raw text
+   * @param {string} raw
+   */
+  this._setMetadataRaw = function (raw) {
+    metadata.raw = raw;
+  };
+};
+
+/**
+ * Turn Markdown link shortcuts into XHTML <a> tags.
+ */
+showdown.subParser('anchors', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('anchors.before', text, options, globals);
+
+  var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {
+    if (showdown.helper.isUndefined(title)) {
+      title = '';
+    }
+    linkId = linkId.toLowerCase();
+
+    // Special case for explicit empty url
+    if (wholeMatch.search(/\(<?\s*>? ?(['"].*['"])?\)$/m) > -1) {
+      url = '';
+    } else if (!url) {
+      if (!linkId) {
+        // lower-case and turn embedded newlines into spaces
+        linkId = linkText.toLowerCase().replace(/ ?\n/g, ' ');
+      }
+      url = '#' + linkId;
+
+      if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {
+        url = globals.gUrls[linkId];
+        if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {
+          title = globals.gTitles[linkId];
+        }
+      } else {
+        return wholeMatch;
+      }
+    }
+
+    //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance
+    url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
+
+    var result = '<a href="' + url + '"';
+
+    if (title !== '' && title !== null) {
+      title = title.replace(/"/g, '&quot;');
+      //title = showdown.helper.escapeCharacters(title, '*_', false); // replaced line to improve performance
+      title = title.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
+      result += ' title="' + title + '"';
+    }
+
+    // optionLinksInNewWindow only applies
+    // to external links. Hash links (#) open in same page
+    if (options.openLinksInNewWindow && !/^#/.test(url)) {
+      // escaped _
+      result += ' rel="noopener noreferrer" target="¨E95Eblank"';
+    }
+
+    result += '>' + linkText + '</a>';
+
+    return result;
+  };
+
+  // First, handle reference-style links: [link text] [id]
+  text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g, writeAnchorTag);
+
+  // Next, inline-style links: [link text](url "optional title")
+  // cases with crazy urls like ./image/cat1).png
+  text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,
+    writeAnchorTag);
+
+  // normal cases
+  text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,
+    writeAnchorTag);
+
+  // handle reference-style shortcuts: [link text]
+  // These must come last in case you've also got [link test][1]
+  // or [link test](/foo)
+  text = text.replace(/\[([^\[\]]+)]()()()()()/g, writeAnchorTag);
+
+  // Lastly handle GithubMentions if option is enabled
+  if (options.ghMentions) {
+    text = text.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi, function (wm, st, escape, mentions, username) {
+      if (escape === '\\') {
+        return st + mentions;
+      }
+
+      //check if options.ghMentionsLink is a string
+      if (!showdown.helper.isString(options.ghMentionsLink)) {
+        throw new Error('ghMentionsLink option must be a string');
+      }
+      var lnk = options.ghMentionsLink.replace(/\{u}/g, username),
+          target = '';
+      if (options.openLinksInNewWindow) {
+        target = ' rel="noopener noreferrer" target="¨E95Eblank"';
+      }
+      return st + '<a href="' + lnk + '"' + target + '>' + mentions + '</a>';
+    });
+  }
+
+  text = globals.converter._dispatch('anchors.after', text, options, globals);
+  return text;
+});
+
+// url allowed chars [a-z\d_.~:/?#[]@!$&'()*+,;=-]
+
+var simpleURLRegex  = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,
+    simpleURLRegex2 = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,
+    delimUrlRegex   = /()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,
+    simpleMailRegex = /(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,
+    delimMailRegex  = /<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,
+
+    replaceLink = function (options) {
+      'use strict';
+      return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {
+        link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
+        var lnkTxt = link,
+            append = '',
+            target = '',
+            lmc    = leadingMagicChars || '',
+            tmc    = trailingMagicChars || '';
+        if (/^www\./i.test(link)) {
+          link = link.replace(/^www\./i, 'http://www.');
+        }
+        if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {
+          append = trailingPunctuation;
+        }
+        if (options.openLinksInNewWindow) {
+          target = ' rel="noopener noreferrer" target="¨E95Eblank"';
+        }
+        return lmc + '<a href="' + link + '"' + target + '>' + lnkTxt + '</a>' + append + tmc;
+      };
+    },
+
+    replaceMail = function (options, globals) {
+      'use strict';
+      return function (wholeMatch, b, mail) {
+        var href = 'mailto:';
+        b = b || '';
+        mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);
+        if (options.encodeEmails) {
+          href = showdown.helper.encodeEmailAddress(href + mail);
+          mail = showdown.helper.encodeEmailAddress(mail);
+        } else {
+          href = href + mail;
+        }
+        return b + '<a href="' + href + '">' + mail + '</a>';
+      };
+    };
+
+showdown.subParser('autoLinks', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('autoLinks.before', text, options, globals);
+
+  text = text.replace(delimUrlRegex, replaceLink(options));
+  text = text.replace(delimMailRegex, replaceMail(options, globals));
+
+  text = globals.converter._dispatch('autoLinks.after', text, options, globals);
+
+  return text;
+});
+
+showdown.subParser('simplifiedAutoLinks', function (text, options, globals) {
+  'use strict';
+
+  if (!options.simplifiedAutoLink) {
+    return text;
+  }
+
+  text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);
+
+  if (options.excludeTrailingPunctuationFromURLs) {
+    text = text.replace(simpleURLRegex2, replaceLink(options));
+  } else {
+    text = text.replace(simpleURLRegex, replaceLink(options));
+  }
+  text = text.replace(simpleMailRegex, replaceMail(options, globals));
+
+  text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);
+
+  return text;
+});
+
+/**
+ * These are all the transformations that form block-level
+ * tags like paragraphs, headers, and list items.
+ */
+showdown.subParser('blockGamut', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('blockGamut.before', text, options, globals);
+
+  // we parse blockquotes first so that we can have headings and hrs
+  // inside blockquotes
+  text = showdown.subParser('blockQuotes')(text, options, globals);
+  text = showdown.subParser('headers')(text, options, globals);
+
+  // Do Horizontal Rules:
+  text = showdown.subParser('horizontalRule')(text, options, globals);
+
+  text = showdown.subParser('lists')(text, options, globals);
+  text = showdown.subParser('codeBlocks')(text, options, globals);
+  text = showdown.subParser('tables')(text, options, globals);
+
+  // We already ran _HashHTMLBlocks() before, in Markdown(), but that
+  // was to escape raw HTML in the original Markdown source. This time,
+  // we're escaping the markup we've just created, so that we don't wrap
+  // <p> tags around block-level tags.
+  text = showdown.subParser('hashHTMLBlocks')(text, options, globals);
+  text = showdown.subParser('paragraphs')(text, options, globals);
+
+  text = globals.converter._dispatch('blockGamut.after', text, options, globals);
+
+  return text;
+});
+
+showdown.subParser('blockQuotes', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('blockQuotes.before', text, options, globals);
+
+  // add a couple extra lines after the text and endtext mark
+  text = text + '\n\n';
+
+  var rgx = /(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;
+
+  if (options.splitAdjacentBlockquotes) {
+    rgx = /^ {0,3}>[\s\S]*?(?:\n\n)/gm;
+  }
+
+  text = text.replace(rgx, function (bq) {
+    // attacklab: hack around Konqueror 3.5.4 bug:
+    // "----------bug".replace(/^-/g,"") == "bug"
+    bq = bq.replace(/^[ \t]*>[ \t]?/gm, ''); // trim one level of quoting
+
+    // attacklab: clean up hack
+    bq = bq.replace(/¨0/g, '');
+
+    bq = bq.replace(/^[ \t]+$/gm, ''); // trim whitespace-only lines
+    bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);
+    bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse
+
+    bq = bq.replace(/(^|\n)/g, '$1  ');
+    // These leading spaces screw with <pre> content, so we need to fix that:
+    bq = bq.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm, function (wholeMatch, m1) {
+      var pre = m1;
+      // attacklab: hack around Konqueror 3.5.4 bug:
+      pre = pre.replace(/^  /mg, '¨0');
+      pre = pre.replace(/¨0/g, '');
+      return pre;
+    });
+
+    return showdown.subParser('hashBlock')('<blockquote>\n' + bq + '\n</blockquote>', options, globals);
+  });
+
+  text = globals.converter._dispatch('blockQuotes.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Process Markdown `<pre><code>` blocks.
+ */
+showdown.subParser('codeBlocks', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('codeBlocks.before', text, options, globals);
+
+  // sentinel workarounds for lack of \A and \Z, safari\khtml bug
+  text += '¨0';
+
+  var pattern = /(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;
+  text = text.replace(pattern, function (wholeMatch, m1, m2) {
+    var codeblock = m1,
+        nextChar = m2,
+        end = '\n';
+
+    codeblock = showdown.subParser('outdent')(codeblock, options, globals);
+    codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);
+    codeblock = showdown.subParser('detab')(codeblock, options, globals);
+    codeblock = codeblock.replace(/^\n+/g, ''); // trim leading newlines
+    codeblock = codeblock.replace(/\n+$/g, ''); // trim trailing newlines
+
+    if (options.omitExtraWLInCodeBlocks) {
+      end = '';
+    }
+
+    codeblock = '<pre><code>' + codeblock + end + '</code></pre>';
+
+    return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;
+  });
+
+  // strip sentinel
+  text = text.replace(/¨0/, '');
+
+  text = globals.converter._dispatch('codeBlocks.after', text, options, globals);
+  return text;
+});
+
+/**
+ *
+ *   *  Backtick quotes are used for <code></code> spans.
+ *
+ *   *  You can use multiple backticks as the delimiters if you want to
+ *     include literal backticks in the code span. So, this input:
+ *
+ *         Just type ``foo `bar` baz`` at the prompt.
+ *
+ *       Will translate to:
+ *
+ *         <p>Just type <code>foo `bar` baz</code> at the prompt.</p>
+ *
+ *    There's no arbitrary limit to the number of backticks you
+ *    can use as delimters. If you need three consecutive backticks
+ *    in your code, use four for delimiters, etc.
+ *
+ *  *  You can use spaces to get literal backticks at the edges:
+ *
+ *         ... type `` `bar` `` ...
+ *
+ *       Turns to:
+ *
+ *         ... type <code>`bar`</code> ...
+ */
+showdown.subParser('codeSpans', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('codeSpans.before', text, options, globals);
+
+  if (typeof text === 'undefined') {
+    text = '';
+  }
+  text = text.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,
+    function (wholeMatch, m1, m2, m3) {
+      var c = m3;
+      c = c.replace(/^([ \t]*)/g, '');	// leading whitespace
+      c = c.replace(/[ \t]*$/g, '');	// trailing whitespace
+      c = showdown.subParser('encodeCode')(c, options, globals);
+      c = m1 + '<code>' + c + '</code>';
+      c = showdown.subParser('hashHTMLSpans')(c, options, globals);
+      return c;
+    }
+  );
+
+  text = globals.converter._dispatch('codeSpans.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Create a full HTML document from the processed markdown
+ */
+showdown.subParser('completeHTMLDocument', function (text, options, globals) {
+  'use strict';
+
+  if (!options.completeHTMLDocument) {
+    return text;
+  }
+
+  text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);
+
+  var doctype = 'html',
+      doctypeParsed = '<!DOCTYPE HTML>\n',
+      title = '',
+      charset = '<meta charset="utf-8">\n',
+      lang = '',
+      metadata = '';
+
+  if (typeof globals.metadata.parsed.doctype !== 'undefined') {
+    doctypeParsed = '<!DOCTYPE ' +  globals.metadata.parsed.doctype + '>\n';
+    doctype = globals.metadata.parsed.doctype.toString().toLowerCase();
+    if (doctype === 'html' || doctype === 'html5') {
+      charset = '<meta charset="utf-8">';
+    }
+  }
+
+  for (var meta in globals.metadata.parsed) {
+    if (globals.metadata.parsed.hasOwnProperty(meta)) {
+      switch (meta.toLowerCase()) {
+        case 'doctype':
+          break;
+
+        case 'title':
+          title = '<title>' +  globals.metadata.parsed.title + '</title>\n';
+          break;
+
+        case 'charset':
+          if (doctype === 'html' || doctype === 'html5') {
+            charset = '<meta charset="' + globals.metadata.parsed.charset + '">\n';
+          } else {
+            charset = '<meta name="charset" content="' + globals.metadata.parsed.charset + '">\n';
+          }
+          break;
+
+        case 'language':
+        case 'lang':
+          lang = ' lang="' + globals.metadata.parsed[meta] + '"';
+          metadata += '<meta name="' + meta + '" content="' + globals.metadata.parsed[meta] + '">\n';
+          break;
+
+        default:
+          metadata += '<meta name="' + meta + '" content="' + globals.metadata.parsed[meta] + '">\n';
+      }
+    }
+  }
+
+  text = doctypeParsed + '<html' + lang + '>\n<head>\n' + title + charset + metadata + '</head>\n<body>\n' + text.trim() + '\n</body>\n</html>';
+
+  text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Convert all tabs to spaces
+ */
+showdown.subParser('detab', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('detab.before', text, options, globals);
+
+  // expand first n-1 tabs
+  text = text.replace(/\t(?=\t)/g, '    '); // g_tab_width
+
+  // replace the nth with two sentinels
+  text = text.replace(/\t/g, '¨A¨B');
+
+  // use the sentinel to anchor our regex so it doesn't explode
+  text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {
+    var leadingText = m1,
+        numSpaces = 4 - leadingText.length % 4;  // g_tab_width
+
+    // there *must* be a better way to do this:
+    for (var i = 0; i < numSpaces; i++) {
+      leadingText += ' ';
+    }
+
+    return leadingText;
+  });
+
+  // clean up sentinels
+  text = text.replace(/¨A/g, '    ');  // g_tab_width
+  text = text.replace(/¨B/g, '');
+
+  text = globals.converter._dispatch('detab.after', text, options, globals);
+  return text;
+});
+
+showdown.subParser('ellipsis', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('ellipsis.before', text, options, globals);
+
+  text = text.replace(/\.\.\./g, '…');
+
+  text = globals.converter._dispatch('ellipsis.after', text, options, globals);
+
+  return text;
+});
+
+/**
+ * Turn emoji codes into emojis
+ *
+ * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis
+ */
+showdown.subParser('emoji', function (text, options, globals) {
+  'use strict';
+
+  if (!options.emoji) {
+    return text;
+  }
+
+  text = globals.converter._dispatch('emoji.before', text, options, globals);
+
+  var emojiRgx = /:([\S]+?):/g;
+
+  text = text.replace(emojiRgx, function (wm, emojiCode) {
+    if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {
+      return showdown.helper.emojis[emojiCode];
+    }
+    return wm;
+  });
+
+  text = globals.converter._dispatch('emoji.after', text, options, globals);
+
+  return text;
+});
+
+/**
+ * Smart processing for ampersands and angle brackets that need to be encoded.
+ */
+showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);
+
+  // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:
+  // http://bumppo.net/projects/amputator/
+  text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g, '&amp;');
+
+  // Encode naked <'s
+  text = text.replace(/<(?![a-z\/?$!])/gi, '&lt;');
+
+  // Encode <
+  text = text.replace(/</g, '&lt;');
+
+  // Encode >
+  text = text.replace(/>/g, '&gt;');
+
+  text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Returns the string, with after processing the following backslash escape sequences.
+ *
+ * attacklab: The polite way to do this is with the new escapeCharacters() function:
+ *
+ *    text = escapeCharacters(text,"\\",true);
+ *    text = escapeCharacters(text,"`*_{}[]()>#+-.!",true);
+ *
+ * ...but we're sidestepping its use of the (slow) RegExp constructor
+ * as an optimization for Firefox.  This function gets called a LOT.
+ */
+showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);
+
+  text = text.replace(/\\(\\)/g, showdown.helper.escapeCharactersCallback);
+  text = text.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);
+
+  text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Encode/escape certain characters inside Markdown code runs.
+ * The point is that in code, these characters are literals,
+ * and lose their special Markdown meanings.
+ */
+showdown.subParser('encodeCode', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('encodeCode.before', text, options, globals);
+
+  // Encode all ampersands; HTML entities are not
+  // entities within a Markdown code span.
+  text = text
+    .replace(/&/g, '&amp;')
+  // Do the angle bracket song and dance:
+    .replace(/</g, '&lt;')
+    .replace(/>/g, '&gt;')
+  // Now, escape characters that are magic in Markdown:
+    .replace(/([*_{}\[\]\\=~-])/g, showdown.helper.escapeCharactersCallback);
+
+  text = globals.converter._dispatch('encodeCode.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Within tags -- meaning between < and > -- encode [\ ` * _ ~ =] so they
+ * don't conflict with their use in Markdown for code, italics and strong.
+ */
+showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);
+
+  // Build a regex to find HTML tags.
+  var tags     = /<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,
+      comments = /<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;
+
+  text = text.replace(tags, function (wholeMatch) {
+    return wholeMatch
+      .replace(/(.)<\/?code>(?=.)/g, '$1`')
+      .replace(/([\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);
+  });
+
+  text = text.replace(comments, function (wholeMatch) {
+    return wholeMatch
+      .replace(/([\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);
+  });
+
+  text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Handle github codeblocks prior to running HashHTML so that
+ * HTML contained within the codeblock gets escaped properly
+ * Example:
+ * ```ruby
+ *     def hello_world(x)
+ *       puts "Hello, #{x}"
+ *     end
+ * ```
+ */
+showdown.subParser('githubCodeBlocks', function (text, options, globals) {
+  'use strict';
+
+  // early exit if option is not enabled
+  if (!options.ghCodeBlocks) {
+    return text;
+  }
+
+  text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);
+
+  text += '¨0';
+
+  text = text.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g, function (wholeMatch, delim, language, codeblock) {
+    var end = (options.omitExtraWLInCodeBlocks) ? '' : '\n';
+
+    // First parse the github code block
+    codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);
+    codeblock = showdown.subParser('detab')(codeblock, options, globals);
+    codeblock = codeblock.replace(/^\n+/g, ''); // trim leading newlines
+    codeblock = codeblock.replace(/\n+$/g, ''); // trim trailing whitespace
+
+    codeblock = '<pre><code' + (language ? ' class="' + language + ' language-' + language + '"' : '') + '>' + codeblock + end + '</code></pre>';
+
+    codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);
+
+    // Since GHCodeblocks can be false positives, we need to
+    // store the primitive text and the parsed text in a global var,
+    // and then return a token
+    return '\n\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\n\n';
+  });
+
+  // attacklab: strip sentinel
+  text = text.replace(/¨0/, '');
+
+  return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);
+});
+
+showdown.subParser('hashBlock', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('hashBlock.before', text, options, globals);
+  text = text.replace(/(^\n+|\n+$)/g, '');
+  text = '\n\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\n\n';
+  text = globals.converter._dispatch('hashBlock.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Hash and escape <code> elements that should not be parsed as markdown
+ */
+showdown.subParser('hashCodeTags', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);
+
+  var repFunc = function (wholeMatch, match, left, right) {
+    var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;
+    return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';
+  };
+
+  // Hash naked <code>
+  text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '<code\\b[^>]*>', '</code>', 'gim');
+
+  text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);
+  return text;
+});
+
+showdown.subParser('hashElement', function (text, options, globals) {
+  'use strict';
+
+  return function (wholeMatch, m1) {
+    var blockText = m1;
+
+    // Undo double lines
+    blockText = blockText.replace(/\n\n/g, '\n');
+    blockText = blockText.replace(/^\n/, '');
+
+    // strip trailing blank lines
+    blockText = blockText.replace(/\n+$/g, '');
+
+    // Replace the element text with a marker ("¨KxK" where x is its key)
+    blockText = '\n\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\n\n';
+
+    return blockText;
+  };
+});
+
+showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);
+
+  var blockTags = [
+        'pre',
+        'div',
+        'h1',
+        'h2',
+        'h3',
+        'h4',
+        'h5',
+        'h6',
+        'blockquote',
+        'table',
+        'dl',
+        'ol',
+        'ul',
+        'script',
+        'noscript',
+        'form',
+        'fieldset',
+        'iframe',
+        'math',
+        'style',
+        'section',
+        'header',
+        'footer',
+        'nav',
+        'article',
+        'aside',
+        'address',
+        'audio',
+        'canvas',
+        'figure',
+        'hgroup',
+        'output',
+        'video',
+        'p'
+      ],
+      repFunc = function (wholeMatch, match, left, right) {
+        var txt = wholeMatch;
+        // check if this html element is marked as markdown
+        // if so, it's contents should be parsed as markdown
+        if (left.search(/\bmarkdown\b/) !== -1) {
+          txt = left + globals.converter.makeHtml(match) + right;
+        }
+        return '\n\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\n\n';
+      };
+
+  if (options.backslashEscapesHTMLTags) {
+    // encode backslash escaped HTML tags
+    text = text.replace(/\\<(\/?[^>]+?)>/g, function (wm, inside) {
+      return '&lt;' + inside + '&gt;';
+    });
+  }
+
+  // hash HTML Blocks
+  for (var i = 0; i < blockTags.length; ++i) {
+
+    var opTagPos,
+        rgx1     = new RegExp('^ {0,3}(<' + blockTags[i] + '\\b[^>]*>)', 'im'),
+        patLeft  = '<' + blockTags[i] + '\\b[^>]*>',
+        patRight = '</' + blockTags[i] + '>';
+    // 1. Look for the first position of the first opening HTML tag in the text
+    while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {
+
+      // if the HTML tag is \ escaped, we need to escape it and break
+
+
+      //2. Split the text in that position
+      var subTexts = showdown.helper.splitAtIndex(text, opTagPos),
+          //3. Match recursively
+          newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');
+
+      // prevent an infinite loop
+      if (newSubText1 === subTexts[1]) {
+        break;
+      }
+      text = subTexts[0].concat(newSubText1);
+    }
+  }
+  // HR SPECIAL CASE
+  text = text.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,
+    showdown.subParser('hashElement')(text, options, globals));
+
+  // Special case for standalone HTML comments
+  text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {
+    return '\n\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\n\n';
+  }, '^ {0,3}<!--', '-->', 'gm');
+
+  // PHP and ASP-style processor instructions (<?...?> and <%...%>)
+  text = text.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,
+    showdown.subParser('hashElement')(text, options, globals));
+
+  text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Hash span elements that should not be parsed as markdown
+ */
+showdown.subParser('hashHTMLSpans', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);
+
+  function hashHTMLSpan (html) {
+    return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';
+  }
+
+  // Hash Self Closing tags
+  text = text.replace(/<[^>]+?\/>/gi, function (wm) {
+    return hashHTMLSpan(wm);
+  });
+
+  // Hash tags without properties
+  text = text.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g, function (wm) {
+    return hashHTMLSpan(wm);
+  });
+
+  // Hash tags with properties
+  text = text.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g, function (wm) {
+    return hashHTMLSpan(wm);
+  });
+
+  // Hash self closing tags without />
+  text = text.replace(/<[^>]+?>/gi, function (wm) {
+    return hashHTMLSpan(wm);
+  });
+
+  /*showdown.helper.matchRecursiveRegExp(text, '<code\\b[^>]*>', '</code>', 'gi');*/
+
+  text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Unhash HTML spans
+ */
+showdown.subParser('unhashHTMLSpans', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);
+
+  for (var i = 0; i < globals.gHtmlSpans.length; ++i) {
+    var repText = globals.gHtmlSpans[i],
+        // limiter to prevent infinite loop (assume 10 as limit for recurse)
+        limit = 0;
+
+    while (/¨C(\d+)C/.test(repText)) {
+      var num = RegExp.$1;
+      repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);
+      if (limit === 10) {
+        console.error('maximum nesting of 10 spans reached!!!');
+        break;
+      }
+      ++limit;
+    }
+    text = text.replace('¨C' + i + 'C', repText);
+  }
+
+  text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Hash and escape <pre><code> elements that should not be parsed as markdown
+ */
+showdown.subParser('hashPreCodeTags', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);
+
+  var repFunc = function (wholeMatch, match, left, right) {
+    // encode html entities
+    var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;
+    return '\n\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\n\n';
+  };
+
+  // Hash <pre><code>
+  text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>', '^ {0,3}</code>\\s*</pre>', 'gim');
+
+  text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);
+  return text;
+});
+
+showdown.subParser('headers', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('headers.before', text, options, globals);
+
+  var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),
+
+      // Set text-style headers:
+      //	Header 1
+      //	========
+      //
+      //	Header 2
+      //	--------
+      //
+      setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \t]*\n={2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n=+[ \t]*\n+/gm,
+      setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n-+[ \t]*\n+/gm;
+
+  text = text.replace(setextRegexH1, function (wholeMatch, m1) {
+
+    var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),
+        hID = (options.noHeaderId) ? '' : ' id="' + headerId(m1) + '"',
+        hLevel = headerLevelStart,
+        hashBlock = '<h' + hLevel + hID + '>' + spanGamut + '</h' + hLevel + '>';
+    return showdown.subParser('hashBlock')(hashBlock, options, globals);
+  });
+
+  text = text.replace(setextRegexH2, function (matchFound, m1) {
+    var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),
+        hID = (options.noHeaderId) ? '' : ' id="' + headerId(m1) + '"',
+        hLevel = headerLevelStart + 1,
+        hashBlock = '<h' + hLevel + hID + '>' + spanGamut + '</h' + hLevel + '>';
+    return showdown.subParser('hashBlock')(hashBlock, options, globals);
+  });
+
+  // atx-style headers:
+  //  # Header 1
+  //  ## Header 2
+  //  ## Header 2 with closing hashes ##
+  //  ...
+  //  ###### Header 6
+  //
+  var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm : /^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;
+
+  text = text.replace(atxStyle, function (wholeMatch, m1, m2) {
+    var hText = m2;
+    if (options.customizedHeaderId) {
+      hText = m2.replace(/\s?\{([^{]+?)}\s*$/, '');
+    }
+
+    var span = showdown.subParser('spanGamut')(hText, options, globals),
+        hID = (options.noHeaderId) ? '' : ' id="' + headerId(m2) + '"',
+        hLevel = headerLevelStart - 1 + m1.length,
+        header = '<h' + hLevel + hID + '>' + span + '</h' + hLevel + '>';
+
+    return showdown.subParser('hashBlock')(header, options, globals);
+  });
+
+  function headerId (m) {
+    var title,
+        prefix;
+
+    // It is separate from other options to allow combining prefix and customized
+    if (options.customizedHeaderId) {
+      var match = m.match(/\{([^{]+?)}\s*$/);
+      if (match && match[1]) {
+        m = match[1];
+      }
+    }
+
+    title = m;
+
+    // Prefix id to prevent causing inadvertent pre-existing style matches.
+    if (showdown.helper.isString(options.prefixHeaderId)) {
+      prefix = options.prefixHeaderId;
+    } else if (options.prefixHeaderId === true) {
+      prefix = 'section-';
+    } else {
+      prefix = '';
+    }
+
+    if (!options.rawPrefixHeaderId) {
+      title = prefix + title;
+    }
+
+    if (options.ghCompatibleHeaderId) {
+      title = title
+        .replace(/ /g, '-')
+        // replace previously escaped chars (&, ¨ and $)
+        .replace(/&amp;/g, '')
+        .replace(/¨T/g, '')
+        .replace(/¨D/g, '')
+        // replace rest of the chars (&~$ are repeated as they might have been escaped)
+        // borrowed from github's redcarpet (some they should produce similar results)
+        .replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g, '')
+        .toLowerCase();
+    } else if (options.rawHeaderId) {
+      title = title
+        .replace(/ /g, '-')
+        // replace previously escaped chars (&, ¨ and $)
+        .replace(/&amp;/g, '&')
+        .replace(/¨T/g, '¨')
+        .replace(/¨D/g, '$')
+        // replace " and '
+        .replace(/["']/g, '-')
+        .toLowerCase();
+    } else {
+      title = title
+        .replace(/[^\w]/g, '')
+        .toLowerCase();
+    }
+
+    if (options.rawPrefixHeaderId) {
+      title = prefix + title;
+    }
+
+    if (globals.hashLinkCounts[title]) {
+      title = title + '-' + (globals.hashLinkCounts[title]++);
+    } else {
+      globals.hashLinkCounts[title] = 1;
+    }
+    return title;
+  }
+
+  text = globals.converter._dispatch('headers.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Turn Markdown link shortcuts into XHTML <a> tags.
+ */
+showdown.subParser('horizontalRule', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('horizontalRule.before', text, options, globals);
+
+  var key = showdown.subParser('hashBlock')('<hr />', options, globals);
+  text = text.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm, key);
+  text = text.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm, key);
+  text = text.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm, key);
+
+  text = globals.converter._dispatch('horizontalRule.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Turn Markdown image shortcuts into <img> tags.
+ */
+showdown.subParser('images', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('images.before', text, options, globals);
+
+  var inlineRegExp      = /!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,
+      crazyRegExp       = /!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,
+      base64RegExp      = /!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,
+      referenceRegExp   = /!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,
+      refShortcutRegExp = /!\[([^\[\]]+)]()()()()()/g;
+
+  function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {
+    url = url.replace(/\s/g, '');
+    return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);
+  }
+
+  function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {
+
+    var gUrls   = globals.gUrls,
+        gTitles = globals.gTitles,
+        gDims   = globals.gDimensions;
+
+    linkId = linkId.toLowerCase();
+
+    if (!title) {
+      title = '';
+    }
+    // Special case for explicit empty url
+    if (wholeMatch.search(/\(<?\s*>? ?(['"].*['"])?\)$/m) > -1) {
+      url = '';
+
+    } else if (url === '' || url === null) {
+      if (linkId === '' || linkId === null) {
+        // lower-case and turn embedded newlines into spaces
+        linkId = altText.toLowerCase().replace(/ ?\n/g, ' ');
+      }
+      url = '#' + linkId;
+
+      if (!showdown.helper.isUndefined(gUrls[linkId])) {
+        url = gUrls[linkId];
+        if (!showdown.helper.isUndefined(gTitles[linkId])) {
+          title = gTitles[linkId];
+        }
+        if (!showdown.helper.isUndefined(gDims[linkId])) {
+          width = gDims[linkId].width;
+          height = gDims[linkId].height;
+        }
+      } else {
+        return wholeMatch;
+      }
+    }
+
+    altText = altText
+      .replace(/"/g, '&quot;')
+    //altText = showdown.helper.escapeCharacters(altText, '*_', false);
+      .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
+    //url = showdown.helper.escapeCharacters(url, '*_', false);
+    url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
+    var result = '<img src="' + url + '" alt="' + altText + '"';
+
+    if (title && showdown.helper.isString(title)) {
+      title = title
+        .replace(/"/g, '&quot;')
+      //title = showdown.helper.escapeCharacters(title, '*_', false);
+        .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
+      result += ' title="' + title + '"';
+    }
+
+    if (width && height) {
+      width  = (width === '*') ? 'auto' : width;
+      height = (height === '*') ? 'auto' : height;
+
+      result += ' width="' + width + '"';
+      result += ' height="' + height + '"';
+    }
+
+    result += ' />';
+
+    return result;
+  }
+
+  // First, handle reference-style labeled images: ![alt text][id]
+  text = text.replace(referenceRegExp, writeImageTag);
+
+  // Next, handle inline images:  ![alt text](url =<width>x<height> "optional title")
+
+  // base64 encoded images
+  text = text.replace(base64RegExp, writeImageTagBase64);
+
+  // cases with crazy urls like ./image/cat1).png
+  text = text.replace(crazyRegExp, writeImageTag);
+
+  // normal cases
+  text = text.replace(inlineRegExp, writeImageTag);
+
+  // handle reference-style shortcuts: ![img text]
+  text = text.replace(refShortcutRegExp, writeImageTag);
+
+  text = globals.converter._dispatch('images.after', text, options, globals);
+  return text;
+});
+
+showdown.subParser('italicsAndBold', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);
+
+  // it's faster to have 3 separate regexes for each case than have just one
+  // because of backtracing, in some cases, it could lead to an exponential effect
+  // called "catastrophic backtrace". Ominous!
+
+  function parseInside (txt, left, right) {
+    /*
+    if (options.simplifiedAutoLink) {
+      txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);
+    }
+    */
+    return left + txt + right;
+  }
+
+  // Parse underscores
+  if (options.literalMidWordUnderscores) {
+    text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) {
+      return parseInside (txt, '<strong><em>', '</em></strong>');
+    });
+    text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) {
+      return parseInside (txt, '<strong>', '</strong>');
+    });
+    text = text.replace(/\b_(\S[\s\S]*?)_\b/g, function (wm, txt) {
+      return parseInside (txt, '<em>', '</em>');
+    });
+  } else {
+    text = text.replace(/___(\S[\s\S]*?)___/g, function (wm, m) {
+      return (/\S$/.test(m)) ? parseInside (m, '<strong><em>', '</em></strong>') : wm;
+    });
+    text = text.replace(/__(\S[\s\S]*?)__/g, function (wm, m) {
+      return (/\S$/.test(m)) ? parseInside (m, '<strong>', '</strong>') : wm;
+    });
+    text = text.replace(/_([^\s_][\s\S]*?)_/g, function (wm, m) {
+      // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)
+      return (/\S$/.test(m)) ? parseInside (m, '<em>', '</em>') : wm;
+    });
+  }
+
+  // Now parse asterisks
+  if (options.literalMidWordAsterisks) {
+    text = text.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g, function (wm, lead, txt) {
+      return parseInside (txt, lead + '<strong><em>', '</em></strong>');
+    });
+    text = text.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g, function (wm, lead, txt) {
+      return parseInside (txt, lead + '<strong>', '</strong>');
+    });
+    text = text.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g, function (wm, lead, txt) {
+      return parseInside (txt, lead + '<em>', '</em>');
+    });
+  } else {
+    text = text.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g, function (wm, m) {
+      return (/\S$/.test(m)) ? parseInside (m, '<strong><em>', '</em></strong>') : wm;
+    });
+    text = text.replace(/\*\*(\S[\s\S]*?)\*\*/g, function (wm, m) {
+      return (/\S$/.test(m)) ? parseInside (m, '<strong>', '</strong>') : wm;
+    });
+    text = text.replace(/\*([^\s*][\s\S]*?)\*/g, function (wm, m) {
+      // !/^\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)
+      return (/\S$/.test(m)) ? parseInside (m, '<em>', '</em>') : wm;
+    });
+  }
+
+
+  text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Form HTML ordered (numbered) and unordered (bulleted) lists.
+ */
+showdown.subParser('lists', function (text, options, globals) {
+  'use strict';
+
+  /**
+   * Process the contents of a single ordered or unordered list, splitting it
+   * into individual list items.
+   * @param {string} listStr
+   * @param {boolean} trimTrailing
+   * @returns {string}
+   */
+  function processListItems (listStr, trimTrailing) {
+    // The $g_list_level global keeps track of when we're inside a list.
+    // Each time we enter a list, we increment it; when we leave a list,
+    // we decrement. If it's zero, we're not in a list anymore.
+    //
+    // We do this because when we're not inside a list, we want to treat
+    // something like this:
+    //
+    //    I recommend upgrading to version
+    //    8. Oops, now this line is treated
+    //    as a sub-list.
+    //
+    // As a single paragraph, despite the fact that the second line starts
+    // with a digit-period-space sequence.
+    //
+    // Whereas when we're inside a list (or sub-list), that line will be
+    // treated as the start of a sub-list. What a kludge, huh? This is
+    // an aspect of Markdown's syntax that's hard to parse perfectly
+    // without resorting to mind-reading. Perhaps the solution is to
+    // change the syntax rules such that sub-lists must start with a
+    // starting cardinal number; e.g. "1." or "a.".
+    globals.gListLevel++;
+
+    // trim trailing blank lines:
+    listStr = listStr.replace(/\n{2,}$/, '\n');
+
+    // attacklab: add sentinel to emulate \z
+    listStr += '¨0';
+
+    var rgx = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,
+        isParagraphed = (/\n[ \t]*\n(?!¨0)/.test(listStr));
+
+    // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,
+    // which is a syntax breaking change
+    // activating this option reverts to old behavior
+    if (options.disableForced4SpacesIndentedSublists) {
+      rgx = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm;
+    }
+
+    listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {
+      checked = (checked && checked.trim() !== '');
+
+      var item = showdown.subParser('outdent')(m4, options, globals),
+          bulletStyle = '';
+
+      // Support for github tasklists
+      if (taskbtn && options.tasklists) {
+        bulletStyle = ' class="task-list-item" style="list-style-type: none;"';
+        item = item.replace(/^[ \t]*\[(x|X| )?]/m, function () {
+          var otp = '<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';
+          if (checked) {
+            otp += ' checked';
+          }
+          otp += '>';
+          return otp;
+        });
+      }
+
+      // ISSUE #312
+      // This input: - - - a
+      // causes trouble to the parser, since it interprets it as:
+      // <ul><li><li><li>a</li></li></li></ul>
+      // instead of:
+      // <ul><li>- - a</li></ul>
+      // So, to prevent it, we will put a marker (¨A)in the beginning of the line
+      // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser
+      item = item.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g, function (wm2) {
+        return '¨A' + wm2;
+      });
+
+      // m1 - Leading line or
+      // Has a double return (multi paragraph) or
+      // Has sublist
+      if (m1 || (item.search(/\n{2,}/) > -1)) {
+        item = showdown.subParser('githubCodeBlocks')(item, options, globals);
+        item = showdown.subParser('blockGamut')(item, options, globals);
+      } else {
+        // Recursion for sub-lists:
+        item = showdown.subParser('lists')(item, options, globals);
+        item = item.replace(/\n$/, ''); // chomp(item)
+        item = showdown.subParser('hashHTMLBlocks')(item, options, globals);
+
+        // Colapse double linebreaks
+        item = item.replace(/\n\n+/g, '\n\n');
+        if (isParagraphed) {
+          item = showdown.subParser('paragraphs')(item, options, globals);
+        } else {
+          item = showdown.subParser('spanGamut')(item, options, globals);
+        }
+      }
+
+      // now we need to remove the marker (¨A)
+      item = item.replace('¨A', '');
+      // we can finally wrap the line in list item tags
+      item =  '<li' + bulletStyle + '>' + item + '</li>\n';
+
+      return item;
+    });
+
+    // attacklab: strip sentinel
+    listStr = listStr.replace(/¨0/g, '');
+
+    globals.gListLevel--;
+
+    if (trimTrailing) {
+      listStr = listStr.replace(/\s+$/, '');
+    }
+
+    return listStr;
+  }
+
+  function styleStartNumber (list, listType) {
+    // check if ol and starts by a number different than 1
+    if (listType === 'ol') {
+      var res = list.match(/^ *(\d+)\./);
+      if (res && res[1] !== '1') {
+        return ' start="' + res[1] + '"';
+      }
+    }
+    return '';
+  }
+
+  /**
+   * Check and parse consecutive lists (better fix for issue #142)
+   * @param {string} list
+   * @param {string} listType
+   * @param {boolean} trimTrailing
+   * @returns {string}
+   */
+  function parseConsecutiveLists (list, listType, trimTrailing) {
+    // check if we caught 2 or more consecutive lists by mistake
+    // we use the counterRgx, meaning if listType is UL we look for OL and vice versa
+    var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\d+\.[ \t]/gm : /^ {0,3}\d+\.[ \t]/gm,
+        ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \t]/gm : /^ {0,3}[*+-][ \t]/gm,
+        counterRxg = (listType === 'ul') ? olRgx : ulRgx,
+        result = '';
+
+    if (list.search(counterRxg) !== -1) {
+      (function parseCL (txt) {
+        var pos = txt.search(counterRxg),
+            style = styleStartNumber(list, listType);
+        if (pos !== -1) {
+          // slice
+          result += '\n\n<' + listType + style + '>\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '</' + listType + '>\n';
+
+          // invert counterType and listType
+          listType = (listType === 'ul') ? 'ol' : 'ul';
+          counterRxg = (listType === 'ul') ? olRgx : ulRgx;
+
+          //recurse
+          parseCL(txt.slice(pos));
+        } else {
+          result += '\n\n<' + listType + style + '>\n' + processListItems(txt, !!trimTrailing) + '</' + listType + '>\n';
+        }
+      })(list);
+    } else {
+      var style = styleStartNumber(list, listType);
+      result = '\n\n<' + listType + style + '>\n' + processListItems(list, !!trimTrailing) + '</' + listType + '>\n';
+    }
+
+    return result;
+  }
+
+  /** Start of list parsing **/
+  text = globals.converter._dispatch('lists.before', text, options, globals);
+  // add sentinel to hack around khtml/safari bug:
+  // http://bugs.webkit.org/show_bug.cgi?id=11231
+  text += '¨0';
+
+  if (globals.gListLevel) {
+    text = text.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,
+      function (wholeMatch, list, m2) {
+        var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';
+        return parseConsecutiveLists(list, listType, true);
+      }
+    );
+  } else {
+    text = text.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,
+      function (wholeMatch, m1, list, m3) {
+        var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';
+        return parseConsecutiveLists(list, listType, false);
+      }
+    );
+  }
+
+  // strip sentinel
+  text = text.replace(/¨0/, '');
+  text = globals.converter._dispatch('lists.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Parse metadata at the top of the document
+ */
+showdown.subParser('metadata', function (text, options, globals) {
+  'use strict';
+
+  if (!options.metadata) {
+    return text;
+  }
+
+  text = globals.converter._dispatch('metadata.before', text, options, globals);
+
+  function parseMetadataContents (content) {
+    // raw is raw so it's not changed in any way
+    globals.metadata.raw = content;
+
+    // escape chars forbidden in html attributes
+    // double quotes
+    content = content
+      // ampersand first
+      .replace(/&/g, '&amp;')
+      // double quotes
+      .replace(/"/g, '&quot;');
+
+    content = content.replace(/\n {4}/g, ' ');
+    content.replace(/^([\S ]+): +([\s\S]+?)$/gm, function (wm, key, value) {
+      globals.metadata.parsed[key] = value;
+      return '';
+    });
+  }
+
+  text = text.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/, function (wholematch, format, content) {
+    parseMetadataContents(content);
+    return '¨M';
+  });
+
+  text = text.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/, function (wholematch, format, content) {
+    if (format) {
+      globals.metadata.format = format;
+    }
+    parseMetadataContents(content);
+    return '¨M';
+  });
+
+  text = text.replace(/¨M/g, '');
+
+  text = globals.converter._dispatch('metadata.after', text, options, globals);
+  return text;
+});
+
+/**
+ * Remove one level of line-leading tabs or spaces
+ */
+showdown.subParser('outdent', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('outdent.before', text, options, globals);
+
+  // attacklab: hack around Konqueror 3.5.4 bug:
+  // "----------bug".replace(/^-/g,"") == "bug"
+  text = text.replace(/^(\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width
+
+  // attacklab: clean up hack
+  text = text.replace(/¨0/g, '');
+
+  text = globals.converter._dispatch('outdent.after', text, options, globals);
+  return text;
+});
+
+/**
+ *
+ */
+showdown.subParser('paragraphs', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('paragraphs.before', text, options, globals);
+  // Strip leading and trailing lines:
+  text = text.replace(/^\n+/g, '');
+  text = text.replace(/\n+$/g, '');
+
+  var grafs = text.split(/\n{2,}/g),
+      grafsOut = [],
+      end = grafs.length; // Wrap <p> tags
+
+  for (var i = 0; i < end; i++) {
+    var str = grafs[i];
+    // if this is an HTML marker, copy it
+    if (str.search(/¨(K|G)(\d+)\1/g) >= 0) {
+      grafsOut.push(str);
+
+    // test for presence of characters to prevent empty lines being parsed
+    // as paragraphs (resulting in undesired extra empty paragraphs)
+    } else if (str.search(/\S/) >= 0) {
+      str = showdown.subParser('spanGamut')(str, options, globals);
+      str = str.replace(/^([ \t]*)/g, '<p>');
+      str += '</p>';
+      grafsOut.push(str);
+    }
+  }
+
+  /** Unhashify HTML blocks */
+  end = grafsOut.length;
+  for (i = 0; i < end; i++) {
+    var blockText = '',
+        grafsOutIt = grafsOut[i],
+        codeFlag = false;
+    // if this is a marker for an html block...
+    // use RegExp.test instead of string.search because of QML bug
+    while (/¨(K|G)(\d+)\1/.test(grafsOutIt)) {
+      var delim = RegExp.$1,
+          num   = RegExp.$2;
+
+      if (delim === 'K') {
+        blockText = globals.gHtmlBlocks[num];
+      } else {
+        // we need to check if ghBlock is a false positive
+        if (codeFlag) {
+          // use encoded version of all text
+          blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);
+        } else {
+          blockText = globals.ghCodeBlocks[num].codeblock;
+        }
+      }
+      blockText = blockText.replace(/\$/g, '$$$$'); // Escape any dollar signs
+
+      grafsOutIt = grafsOutIt.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/, blockText);
+      // Check if grafsOutIt is a pre->code
+      if (/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(grafsOutIt)) {
+        codeFlag = true;
+      }
+    }
+    grafsOut[i] = grafsOutIt;
+  }
+  text = grafsOut.join('\n');
+  // Strip leading and trailing lines:
+  text = text.replace(/^\n+/g, '');
+  text = text.replace(/\n+$/g, '');
+  return globals.converter._dispatch('paragraphs.after', text, options, globals);
+});
+
+/**
+ * Run extension
+ */
+showdown.subParser('runExtension', function (ext, text, options, globals) {
+  'use strict';
+
+  if (ext.filter) {
+    text = ext.filter(text, globals.converter, options);
+
+  } else if (ext.regex) {
+    // TODO remove this when old extension loading mechanism is deprecated
+    var re = ext.regex;
+    if (!(re instanceof RegExp)) {
+      re = new RegExp(re, 'g');
+    }
+    text = text.replace(re, ext.replace);
+  }
+
+  return text;
+});
+
+/**
+ * These are all the transformations that occur *within* block-level
+ * tags like paragraphs, headers, and list items.
+ */
+showdown.subParser('spanGamut', function (text, options, globals) {
+  'use strict';
+
+  text = globals.converter._dispatch('spanGamut.before', text, options, globals);
+  text = showdown.subParser('codeSpans')(text, options, globals);
+  text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);
+  text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);
+
+  // Process anchor and image tags. Images must come first,
+  // because ![foo][f] looks like an anchor.
+  text = showdown.subParser('images')(text, options, globals);
+  text = showdown.subParser('anchors')(text, options, globals);
+
+  // Make links out of things like `<http://example.com/>`
+  // Must come after anchors, because you can use < and >
+  // delimiters in inline links like [this](<url>).
+  text = showdown.subParser('autoLinks')(text, options, globals);
+  text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);
+  text = showdown.subParser('emoji')(text, options, globals);
+  text = showdown.subParser('underline')(text, options, globals);
+  text = showdown.subParser('italicsAndBold')(text, options, globals);
+  text = showdown.subParser('strikethrough')(text, options, globals);
+  text = showdown.subParser('ellipsis')(text, options, globals);
+
+  // we need to hash HTML tags inside spans
+  text = showdown.subParser('hashHTMLSpans')(text, options, globals);
+
+  // now we encode amps and angles
+  text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);
+
+  // Do hard breaks
+  if (options.simpleLineBreaks) {
+    // GFM style hard breaks
+    // only add line breaks if the text does not contain a block (special case for lists)
+    if (!/\n\n¨K/.test(text)) {
+      text = text.replace(/\n+/g, '<br />\n');
+    }
+  } else {
+    // Vanilla hard breaks
+    text = text.replace(/  +\n/g, '<br />\n');
+  }
+
+  text = globals.converter._dispatch('spanGamut.after', text, options, globals);
+  return text;
+});
+
+showdown.subParser('strikethrough', function (text, options, globals) {
+  'use strict';
+
+  function parseInside (txt) {
+    if (options.simplifiedAutoLink) {
+      txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);
+    }
+    return '<del>' + txt + '</del>';
+  }
+
+  if (options.strikethrough) {
+    text = globals.converter._dispatch('strikethrough.before', text, options, globals);
+    text = text.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });
+    text = globals.converter._dispatch('strikethrough.after', text, options, globals);
+  }
+
+  return text;
+});
+
+/**
+ * Strips link definitions from text, stores the URLs and titles in
+ * hash references.
+ * Link defs are in the form: ^[id]: url "optional title"
+ */
+showdown.subParser('stripLinkDefinitions', function (text, options, globals) {
+  'use strict';
+
+  var regex       = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,
+      base64Regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;
+
+  // attacklab: sentinel workarounds for lack of \A and \Z, safari\khtml bug
+  text += '¨0';
+
+  var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {
+    linkId = linkId.toLowerCase();
+    if (url.match(/^data:.+?\/.+?;base64,/)) {
+      // remove newlines
+      globals.gUrls[linkId] = url.replace(/\s/g, '');
+    } else {
+      globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals);  // Link IDs are case-insensitive
+    }
+
+    if (blankLines) {
+      // Oops, found blank lines, so it's not a title.
+      // Put back the parenthetical statement we stole.
+      return blankLines + title;
+
+    } else {
+      if (title) {
+        globals.gTitles[linkId] = title.replace(/"|'/g, '&quot;');
+      }
+      if (options.parseImgDimensions && width && height) {
+        globals.gDimensions[linkId] = {
+          width:  width,
+          height: height
+        };
+      }
+    }
+    // Completely remove the definition from the text
+    return '';
+  };
+
+  // first we try to find base64 link references
+  text = text.replace(base64Regex, replaceFunc);
+
+  text = text.replace(regex, replaceFunc);
+
+  // attacklab: strip sentinel
+  text = text.replace(/¨0/, '');
+
+  return text;
+});
+
+showdown.subParser('tables', function (text, options, globals) {
+  'use strict';
+
+  if (!options.tables) {
+    return text;
+  }
+
+  var tableRgx       = /^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,
+      //singeColTblRgx = /^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n(?: {0,3}\|.+\|\n)+(?:\n\n|¨0)/gm;
+      singeColTblRgx = /^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;
+
+  function parseStyles (sLine) {
+    if (/^:[ \t]*--*$/.test(sLine)) {
+      return ' style="text-align:left;"';
+    } else if (/^--*[ \t]*:[ \t]*$/.test(sLine)) {
+      return ' style="text-align:right;"';
+    } else if (/^:[ \t]*--*[ \t]*:$/.test(sLine)) {
+      return ' style="text-align:center;"';
+    } else {
+      return '';
+    }
+  }
+
+  function parseHeaders (header, style) {
+    var id = '';
+    header = header.trim();
+    // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility
+    if (options.tablesHeaderId || options.tableHeaderId) {
+      id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"';
+    }
+    header = showdown.subParser('spanGamut')(header, options, globals);
+
+    return '<th' + id + style + '>' + header + '</th>\n';
+  }
+
+  function parseCells (cell, style) {
+    var subText = showdown.subParser('spanGamut')(cell, options, globals);
+    return '<td' + style + '>' + subText + '</td>\n';
+  }
+
+  function buildTable (headers, cells) {
+    var tb = '<table>\n<thead>\n<tr>\n',
+        tblLgn = headers.length;
+
+    for (var i = 0; i < tblLgn; ++i) {
+      tb += headers[i];
+    }
+    tb += '</tr>\n</thead>\n<tbody>\n';
+
+    for (i = 0; i < cells.length; ++i) {
+      tb += '<tr>\n';
+      for (var ii = 0; ii < tblLgn; ++ii) {
+        tb += cells[i][ii];
+      }
+      tb += '</tr>\n';
+    }
+    tb += '</tbody>\n</table>\n';
+    return tb;
+  }
+
+  function parseTable (rawTable) {
+    var i, tableLines = rawTable.split('\n');
+
+    for (i = 0; i < tableLines.length; ++i) {
+      // strip wrong first and last column if wrapped tables are used
+      if (/^ {0,3}\|/.test(tableLines[i])) {
+        tableLines[i] = tableLines[i].replace(/^ {0,3}\|/, '');
+      }
+      if (/\|[ \t]*$/.test(tableLines[i])) {
+        tableLines[i] = tableLines[i].replace(/\|[ \t]*$/, '');
+      }
+      // parse code spans first, but we only support one line code spans
+      tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);
+    }
+
+    var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),
+        rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),
+        rawCells = [],
+        headers = [],
+        styles = [],
+        cells = [];
+
+    tableLines.shift();
+    tableLines.shift();
+
+    for (i = 0; i < tableLines.length; ++i) {
+      if (tableLines[i].trim() === '') {
+        continue;
+      }
+      rawCells.push(
+        tableLines[i]
+          .split('|')
+          .map(function (s) {
+            return s.trim();
+          })
+      );
+    }
+
+    if (rawHeaders.length < rawStyles.length) {
+      return rawTable;
+    }
+
+    for (i = 0; i < rawStyles.length; ++i) {
+      styles.push(parseStyles(rawStyles[i]));
+    }
+
+    for (i = 0; i < rawHeaders.length; ++i) {
+      if (showdown.helper.isUndefined(styles[i])) {
+        styles[i] = '';
+      }
+      headers.push(parseHeaders(rawHeaders[i], styles[i]));
+    }
+
+    for (i = 0; i < rawCells.length; ++i) {
+      var row = [];
+      for (var ii = 0; ii < headers.length; ++ii) {
+        if (showdown.helper.isUndefined(rawCells[i][ii])) {
+
+        }
+        row.push(parseCells(rawCells[i][ii], styles[ii]));
+      }
+      cells.push(row);
+    }
+
+    return buildTable(headers, cells);
+  }
+
+  text = globals.converter._dispatch('tables.before', text, options, globals);
+
+  // find escaped pipe characters
+  text = text.replace(/\\(\|)/g, showdown.helper.escapeCharactersCallback);
+
+  // parse multi column tables
+  text = text.replace(tableRgx, parseTable);
+
+  // parse one column tables
+  text = text.replace(singeColTblRgx, parseTable);
+
+  text = globals.converter._dispatch('tables.after', text, options, globals);
+
+  return text;
+});
+
+showdown.subParser('underline', function (text, options, globals) {
+  'use strict';
+
+  if (!options.underline) {
+    return text;
+  }
+
+  text = globals.converter._dispatch('underline.before', text, options, globals);
+
+  if (options.literalMidWordUnderscores) {
+    text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) {
+      return '<u>' + txt + '</u>';
+    });
+    text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) {
+      return '<u>' + txt + '</u>';
+    });
+  } else {
+    text = text.replace(/___(\S[\s\S]*?)___/g, function (wm, m) {
+      return (/\S$/.test(m)) ? '<u>' + m + '</u>' : wm;
+    });
+    text = text.replace(/__(\S[\s\S]*?)__/g, function (wm, m) {
+      return (/\S$/.test(m)) ? '<u>' + m + '</u>' : wm;
+    });
+  }
+
+  // escape remaining underscores to prevent them being parsed by italic and bold
+  text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);
+
+  text = globals.converter._dispatch('underline.after', text, options, globals);
+
+  return text;
+});
+
+/**
+ * Swap back in all the special characters we've hidden.
+ */
+showdown.subParser('unescapeSpecialChars', function (text, options, globals) {
+  'use strict';
+  text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);
+
+  text = text.replace(/¨E(\d+)E/g, function (wholeMatch, m1) {
+    var charCodeToReplace = parseInt(m1);
+    return String.fromCharCode(charCodeToReplace);
+  });
+
+  text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);
+  return text;
+});
+
+showdown.subParser('makeMarkdown.blockquote', function (node, globals) {
+  'use strict';
+
+  var txt = '';
+  if (node.hasChildNodes()) {
+    var children = node.childNodes,
+        childrenLength = children.length;
+
+    for (var i = 0; i < childrenLength; ++i) {
+      var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);
+
+      if (innerTxt === '') {
+        continue;
+      }
+      txt += innerTxt;
+    }
+  }
+  // cleanup
+  txt = txt.trim();
+  txt = '> ' + txt.split('\n').join('\n> ');
+  return txt;
+});
+
+showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {
+  'use strict';
+
+  var lang = node.getAttribute('language'),
+      num  = node.getAttribute('precodenum');
+  return '```' + lang + '\n' + globals.preList[num] + '\n```';
+});
+
+showdown.subParser('makeMarkdown.codeSpan', function (node) {
+  'use strict';
+
+  return '`' + node.innerHTML + '`';
+});
+
+showdown.subParser('makeMarkdown.emphasis', function (node, globals) {
+  'use strict';
+
+  var txt = '';
+  if (node.hasChildNodes()) {
+    txt += '*';
+    var children = node.childNodes,
+        childrenLength = children.length;
+    for (var i = 0; i < childrenLength; ++i) {
+      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
+    }
+    txt += '*';
+  }
+  return txt;
+});
+
+showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {
+  'use strict';
+
+  var headerMark = new Array(headerLevel + 1).join('#'),
+      txt = '';
+
+  if (node.hasChildNodes()) {
+    txt = headerMark + ' ';
+    var children = node.childNodes,
+        childrenLength = children.length;
+
+    for (var i = 0; i < childrenLength; ++i) {
+      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
+    }
+  }
+  return txt;
+});
+
+showdown.subParser('makeMarkdown.hr', function () {
+  'use strict';
+
+  return '---';
+});
+
+showdown.subParser('makeMarkdown.image', function (node) {
+  'use strict';
+
+  var txt = '';
+  if (node.hasAttribute('src')) {
+    txt += '![' + node.getAttribute('alt') + '](';
+    txt += '<' + node.getAttribute('src') + '>';
+    if (node.hasAttribute('width') && node.hasAttribute('height')) {
+      txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');
+    }
+
+    if (node.hasAttribute('title')) {
+      txt += ' "' + node.getAttribute('title') + '"';
+    }
+    txt += ')';
+  }
+  return txt;
+});
+
+showdown.subParser('makeMarkdown.links', function (node, globals) {
+  'use strict';
+
+  var txt = '';
+  if (node.hasChildNodes() && node.hasAttribute('href')) {
+    var children = node.childNodes,
+        childrenLength = children.length;
+    txt = '[';
+    for (var i = 0; i < childrenLength; ++i) {
+      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
+    }
+    txt += '](';
+    txt += '<' + node.getAttribute('href') + '>';
+    if (node.hasAttribute('title')) {
+      txt += ' "' + node.getAttribute('title') + '"';
+    }
+    txt += ')';
+  }
+  return txt;
+});
+
+showdown.subParser('makeMarkdown.list', function (node, globals, type) {
+  'use strict';
+
+  var txt = '';
+  if (!node.hasChildNodes()) {
+    return '';
+  }
+  var listItems       = node.childNodes,
+      listItemsLenght = listItems.length,
+      listNum = node.getAttribute('start') || 1;
+
+  for (var i = 0; i < listItemsLenght; ++i) {
+    if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {
+      continue;
+    }
+
+    // define the bullet to use in list
+    var bullet = '';
+    if (type === 'ol') {
+      bullet = listNum.toString() + '. ';
+    } else {
+      bullet = '- ';
+    }
+
+    // parse list item
+    txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);
+    ++listNum;
+  }
+
+  // add comment at the end to prevent consecutive lists to be parsed as one
+  txt += '\n<!-- -->\n';
+  return txt.trim();
+});
+
+showdown.subParser('makeMarkdown.listItem', function (node, globals) {
+  'use strict';
+
+  var listItemTxt = '';
+
+  var children = node.childNodes,
+      childrenLenght = children.length;
+
+  for (var i = 0; i < childrenLenght; ++i) {
+    listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);
+  }
+  // if it's only one liner, we need to add a newline at the end
+  if (!/\n$/.test(listItemTxt)) {
+    listItemTxt += '\n';
+  } else {
+    // it's multiparagraph, so we need to indent
+    listItemTxt = listItemTxt
+      .split('\n')
+      .join('\n    ')
+      .replace(/^ {4}$/gm, '')
+      .replace(/\n\n+/g, '\n\n');
+  }
+
+  return listItemTxt;
+});
+
+
+
+showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {
+  'use strict';
+
+  spansOnly = spansOnly || false;
+
+  var txt = '';
+
+  // edge case of text without wrapper paragraph
+  if (node.nodeType === 3) {
+    return showdown.subParser('makeMarkdown.txt')(node, globals);
+  }
+
+  // HTML comment
+  if (node.nodeType === 8) {
+    return '<!--' + node.data + '-->\n\n';
+  }
+
+  // process only node elements
+  if (node.nodeType !== 1) {
+    return '';
+  }
+
+  var tagName = node.tagName.toLowerCase();
+
+  switch (tagName) {
+
+    //
+    // BLOCKS
+    //
+    case 'h1':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\n\n'; }
+      break;
+    case 'h2':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\n\n'; }
+      break;
+    case 'h3':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\n\n'; }
+      break;
+    case 'h4':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\n\n'; }
+      break;
+    case 'h5':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\n\n'; }
+      break;
+    case 'h6':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\n\n'; }
+      break;
+
+    case 'p':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\n\n'; }
+      break;
+
+    case 'blockquote':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\n\n'; }
+      break;
+
+    case 'hr':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\n\n'; }
+      break;
+
+    case 'ol':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\n\n'; }
+      break;
+
+    case 'ul':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\n\n'; }
+      break;
+
+    case 'precode':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\n\n'; }
+      break;
+
+    case 'pre':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\n\n'; }
+      break;
+
+    case 'table':
+      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\n\n'; }
+      break;
+
+    //
+    // SPANS
+    //
+    case 'code':
+      txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);
+      break;
+
+    case 'em':
+    case 'i':
+      txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);
+      break;
+
+    case 'strong':
+    case 'b':
+      txt = showdown.subParser('makeMarkdown.strong')(node, globals);
+      break;
+
+    case 'del':
+      txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);
+      break;
+
+    case 'a':
+      txt = showdown.subParser('makeMarkdown.links')(node, globals);
+      break;
+
+    case 'img':
+      txt = showdown.subParser('makeMarkdown.image')(node, globals);
+      break;
+
+    default:
+      txt = node.outerHTML + '\n\n';
+  }
+
+  // common normalization
+  // TODO eventually
+
+  return txt;
+});
+
+showdown.subParser('makeMarkdown.paragraph', function (node, globals) {
+  'use strict';
+
+  var txt = '';
+  if (node.hasChildNodes()) {
+    var children = node.childNodes,
+        childrenLength = children.length;
+    for (var i = 0; i < childrenLength; ++i) {
+      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
+    }
+  }
+
+  // some text normalization
+  txt = txt.trim();
+
+  return txt;
+});
+
+showdown.subParser('makeMarkdown.pre', function (node, globals) {
+  'use strict';
+
+  var num  = node.getAttribute('prenum');
+  return '<pre>' + globals.preList[num] + '</pre>';
+});
+
+showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {
+  'use strict';
+
+  var txt = '';
+  if (node.hasChildNodes()) {
+    txt += '~~';
+    var children = node.childNodes,
+        childrenLength = children.length;
+    for (var i = 0; i < childrenLength; ++i) {
+      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
+    }
+    txt += '~~';
+  }
+  return txt;
+});
+
+showdown.subParser('makeMarkdown.strong', function (node, globals) {
+  'use strict';
+
+  var txt = '';
+  if (node.hasChildNodes()) {
+    txt += '**';
+    var children = node.childNodes,
+        childrenLength = children.length;
+    for (var i = 0; i < childrenLength; ++i) {
+      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
+    }
+    txt += '**';
+  }
+  return txt;
+});
+
+showdown.subParser('makeMarkdown.table', function (node, globals) {
+  'use strict';
+
+  var txt = '',
+      tableArray = [[], []],
+      headings   = node.querySelectorAll('thead>tr>th'),
+      rows       = node.querySelectorAll('tbody>tr'),
+      i, ii;
+  for (i = 0; i < headings.length; ++i) {
+    var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),
+        allign = '---';
+
+    if (headings[i].hasAttribute('style')) {
+      var style = headings[i].getAttribute('style').toLowerCase().replace(/\s/g, '');
+      switch (style) {
+        case 'text-align:left;':
+          allign = ':---';
+          break;
+        case 'text-align:right;':
+          allign = '---:';
+          break;
+        case 'text-align:center;':
+          allign = ':---:';
+          break;
+      }
+    }
+    tableArray[0][i] = headContent.trim();
+    tableArray[1][i] = allign;
+  }
+
+  for (i = 0; i < rows.length; ++i) {
+    var r = tableArray.push([]) - 1,
+        cols = rows[i].getElementsByTagName('td');
+
+    for (ii = 0; ii < headings.length; ++ii) {
+      var cellContent = ' ';
+      if (typeof cols[ii] !== 'undefined') {
+        cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);
+      }
+      tableArray[r].push(cellContent);
+    }
+  }
+
+  var cellSpacesCount = 3;
+  for (i = 0; i < tableArray.length; ++i) {
+    for (ii = 0; ii < tableArray[i].length; ++ii) {
+      var strLen = tableArray[i][ii].length;
+      if (strLen > cellSpacesCount) {
+        cellSpacesCount = strLen;
+      }
+    }
+  }
+
+  for (i = 0; i < tableArray.length; ++i) {
+    for (ii = 0; ii < tableArray[i].length; ++ii) {
+      if (i === 1) {
+        if (tableArray[i][ii].slice(-1) === ':') {
+          tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';
+        } else {
+          tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');
+        }
+      } else {
+        tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);
+      }
+    }
+    txt += '| ' + tableArray[i].join(' | ') + ' |\n';
+  }
+
+  return txt.trim();
+});
+
+showdown.subParser('makeMarkdown.tableCell', function (node, globals) {
+  'use strict';
+
+  var txt = '';
+  if (!node.hasChildNodes()) {
+    return '';
+  }
+  var children = node.childNodes,
+      childrenLength = children.length;
+
+  for (var i = 0; i < childrenLength; ++i) {
+    txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);
+  }
+  return txt.trim();
+});
+
+showdown.subParser('makeMarkdown.txt', function (node) {
+  'use strict';
+
+  var txt = node.nodeValue;
+
+  // multiple spaces are collapsed
+  txt = txt.replace(/ +/g, ' ');
+
+  // replace the custom ¨NBSP; with a space
+  txt = txt.replace(/¨NBSP;/g, ' ');
+
+  // ", <, > and & should replace escaped html entities
+  txt = showdown.helper.unescapeHTMLEntities(txt);
+
+  // escape markdown magic characters
+  // emphasis, strong and strikethrough - can appear everywhere
+  // we also escape pipe (|) because of tables
+  // and escape ` because of code blocks and spans
+  txt = txt.replace(/([*_~|`])/g, '\\$1');
+
+  // escape > because of blockquotes
+  txt = txt.replace(/^(\s*)>/g, '\\$1>');
+
+  // hash character, only troublesome at the beginning of a line because of headers
+  txt = txt.replace(/^#/gm, '\\#');
+
+  // horizontal rules
+  txt = txt.replace(/^(\s*)([-=]{3,})(\s*)$/, '$1\\$2$3');
+
+  // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer
+  txt = txt.replace(/^( {0,3}\d+)\./gm, '$1\\.');
+
+  // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)
+  txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\$2');
+
+  // images and links, ] followed by ( is problematic, so we escape it
+  txt = txt.replace(/]([\s]*)\(/g, '\\]$1\\(');
+
+  // reference URIs must also be escaped
+  txt = txt.replace(/^ {0,3}\[([\S \t]*?)]:/gm, '\\[$1]:');
+
+  return txt;
+});
+
+var root = this;
+
+// AMD Loader
+if (true) {
+  !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+    'use strict';
+    return showdown;
+  }).call(exports, __webpack_require__, exports, module),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+
+// CommonJS/nodeJS Loader
+} else {}
+}).call(this);
+
+
+
+
+/***/ })
+
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
+"use strict";
+// ESM COMPAT FLAG
+__webpack_require__.r(__webpack_exports__);
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "__EXPERIMENTAL_ELEMENTS": function() { return /* reexport */ __EXPERIMENTAL_ELEMENTS; },
+  "__EXPERIMENTAL_PATHS_WITH_MERGE": function() { return /* reexport */ __EXPERIMENTAL_PATHS_WITH_MERGE; },
+  "__EXPERIMENTAL_STYLE_PROPERTY": function() { return /* reexport */ __EXPERIMENTAL_STYLE_PROPERTY; },
+  "__experimentalCloneSanitizedBlock": function() { return /* reexport */ __experimentalCloneSanitizedBlock; },
+  "__experimentalGetAccessibleBlockLabel": function() { return /* reexport */ getAccessibleBlockLabel; },
+  "__experimentalGetBlockAttributesNamesByRole": function() { return /* reexport */ __experimentalGetBlockAttributesNamesByRole; },
+  "__experimentalGetBlockLabel": function() { return /* reexport */ getBlockLabel; },
+  "__experimentalSanitizeBlockAttributes": function() { return /* reexport */ __experimentalSanitizeBlockAttributes; },
+  "__unstableGetBlockProps": function() { return /* reexport */ getBlockProps; },
+  "__unstableGetInnerBlocksProps": function() { return /* reexport */ getInnerBlocksProps; },
+  "__unstableSerializeAndClean": function() { return /* reexport */ __unstableSerializeAndClean; },
+  "children": function() { return /* reexport */ children; },
+  "cloneBlock": function() { return /* reexport */ cloneBlock; },
+  "createBlock": function() { return /* reexport */ createBlock; },
+  "createBlocksFromInnerBlocksTemplate": function() { return /* reexport */ createBlocksFromInnerBlocksTemplate; },
+  "doBlocksMatchTemplate": function() { return /* reexport */ doBlocksMatchTemplate; },
+  "findTransform": function() { return /* reexport */ findTransform; },
+  "getBlockAttributes": function() { return /* reexport */ getBlockAttributes; },
+  "getBlockContent": function() { return /* reexport */ getBlockInnerHTML; },
+  "getBlockDefaultClassName": function() { return /* reexport */ getBlockDefaultClassName; },
+  "getBlockFromExample": function() { return /* reexport */ getBlockFromExample; },
+  "getBlockMenuDefaultClassName": function() { return /* reexport */ getBlockMenuDefaultClassName; },
+  "getBlockSupport": function() { return /* reexport */ registration_getBlockSupport; },
+  "getBlockTransforms": function() { return /* reexport */ getBlockTransforms; },
+  "getBlockType": function() { return /* reexport */ registration_getBlockType; },
+  "getBlockTypes": function() { return /* reexport */ registration_getBlockTypes; },
+  "getBlockVariations": function() { return /* reexport */ registration_getBlockVariations; },
+  "getCategories": function() { return /* reexport */ categories_getCategories; },
+  "getChildBlockNames": function() { return /* reexport */ registration_getChildBlockNames; },
+  "getDefaultBlockName": function() { return /* reexport */ registration_getDefaultBlockName; },
+  "getFreeformContentHandlerName": function() { return /* reexport */ getFreeformContentHandlerName; },
+  "getGroupingBlockName": function() { return /* reexport */ registration_getGroupingBlockName; },
+  "getPhrasingContentSchema": function() { return /* reexport */ deprecatedGetPhrasingContentSchema; },
+  "getPossibleBlockTransformations": function() { return /* reexport */ getPossibleBlockTransformations; },
+  "getSaveContent": function() { return /* reexport */ getSaveContent; },
+  "getSaveElement": function() { return /* reexport */ getSaveElement; },
+  "getUnregisteredTypeHandlerName": function() { return /* reexport */ getUnregisteredTypeHandlerName; },
+  "hasBlockSupport": function() { return /* reexport */ registration_hasBlockSupport; },
+  "hasChildBlocks": function() { return /* reexport */ registration_hasChildBlocks; },
+  "hasChildBlocksWithInserterSupport": function() { return /* reexport */ registration_hasChildBlocksWithInserterSupport; },
+  "isReusableBlock": function() { return /* reexport */ isReusableBlock; },
+  "isTemplatePart": function() { return /* reexport */ isTemplatePart; },
+  "isUnmodifiedDefaultBlock": function() { return /* reexport */ isUnmodifiedDefaultBlock; },
+  "isValidBlockContent": function() { return /* reexport */ isValidBlockContent; },
+  "isValidIcon": function() { return /* reexport */ isValidIcon; },
+  "node": function() { return /* reexport */ node; },
+  "normalizeIconObject": function() { return /* reexport */ normalizeIconObject; },
+  "parse": function() { return /* reexport */ parser_parse; },
+  "parseWithAttributeSchema": function() { return /* reexport */ parseWithAttributeSchema; },
+  "pasteHandler": function() { return /* reexport */ pasteHandler; },
+  "rawHandler": function() { return /* reexport */ rawHandler; },
+  "registerBlockCollection": function() { return /* reexport */ registerBlockCollection; },
+  "registerBlockStyle": function() { return /* reexport */ registerBlockStyle; },
+  "registerBlockType": function() { return /* reexport */ registerBlockType; },
+  "registerBlockVariation": function() { return /* reexport */ registerBlockVariation; },
+  "serialize": function() { return /* reexport */ serializer_serialize; },
+  "setCategories": function() { return /* reexport */ categories_setCategories; },
+  "setDefaultBlockName": function() { return /* reexport */ setDefaultBlockName; },
+  "setFreeformContentHandlerName": function() { return /* reexport */ setFreeformContentHandlerName; },
+  "setGroupingBlockName": function() { return /* reexport */ setGroupingBlockName; },
+  "setUnregisteredTypeHandlerName": function() { return /* reexport */ setUnregisteredTypeHandlerName; },
+  "store": function() { return /* reexport */ store; },
+  "switchToBlockType": function() { return /* reexport */ switchToBlockType; },
+  "synchronizeBlocksWithTemplate": function() { return /* reexport */ synchronizeBlocksWithTemplate; },
+  "unregisterBlockStyle": function() { return /* reexport */ unregisterBlockStyle; },
+  "unregisterBlockType": function() { return /* reexport */ unregisterBlockType; },
+  "unregisterBlockVariation": function() { return /* reexport */ unregisterBlockVariation; },
+  "unstable__bootstrapServerSideBlockDefinitions": function() { return /* reexport */ unstable__bootstrapServerSideBlockDefinitions; },
+  "updateCategory": function() { return /* reexport */ categories_updateCategory; },
+  "withBlockContentContext": function() { return /* reexport */ withBlockContentContext; }
+});
+
+// NAMESPACE OBJECT: ./node_modules/@wordpress/blocks/build-module/store/selectors.js
+var selectors_namespaceObject = {};
+__webpack_require__.r(selectors_namespaceObject);
+__webpack_require__.d(selectors_namespaceObject, {
+  "__experimentalGetUnprocessedBlockTypes": function() { return __experimentalGetUnprocessedBlockTypes; },
+  "getActiveBlockVariation": function() { return getActiveBlockVariation; },
+  "getBlockStyles": function() { return getBlockStyles; },
+  "getBlockSupport": function() { return getBlockSupport; },
+  "getBlockType": function() { return getBlockType; },
+  "getBlockTypes": function() { return getBlockTypes; },
+  "getBlockVariations": function() { return getBlockVariations; },
+  "getCategories": function() { return getCategories; },
+  "getChildBlockNames": function() { return getChildBlockNames; },
+  "getCollections": function() { return getCollections; },
+  "getDefaultBlockName": function() { return getDefaultBlockName; },
+  "getDefaultBlockVariation": function() { return getDefaultBlockVariation; },
+  "getFreeformFallbackBlockName": function() { return getFreeformFallbackBlockName; },
+  "getGroupingBlockName": function() { return getGroupingBlockName; },
+  "getUnregisteredFallbackBlockName": function() { return getUnregisteredFallbackBlockName; },
+  "hasBlockSupport": function() { return hasBlockSupport; },
+  "hasChildBlocks": function() { return hasChildBlocks; },
+  "hasChildBlocksWithInserterSupport": function() { return hasChildBlocksWithInserterSupport; },
+  "isMatchingSearchTerm": function() { return isMatchingSearchTerm; }
+});
+
+// NAMESPACE OBJECT: ./node_modules/@wordpress/blocks/build-module/store/actions.js
+var actions_namespaceObject = {};
+__webpack_require__.r(actions_namespaceObject);
+__webpack_require__.d(actions_namespaceObject, {
+  "__experimentalReapplyBlockTypeFilters": function() { return __experimentalReapplyBlockTypeFilters; },
+  "__experimentalRegisterBlockType": function() { return __experimentalRegisterBlockType; },
+  "addBlockCollection": function() { return addBlockCollection; },
+  "addBlockStyles": function() { return addBlockStyles; },
+  "addBlockTypes": function() { return addBlockTypes; },
+  "addBlockVariations": function() { return addBlockVariations; },
+  "removeBlockCollection": function() { return removeBlockCollection; },
+  "removeBlockStyles": function() { return removeBlockStyles; },
+  "removeBlockTypes": function() { return removeBlockTypes; },
+  "removeBlockVariations": function() { return removeBlockVariations; },
+  "setCategories": function() { return setCategories; },
+  "setDefaultBlockName": function() { return actions_setDefaultBlockName; },
+  "setFreeformFallbackBlockName": function() { return setFreeformFallbackBlockName; },
+  "setGroupingBlockName": function() { return actions_setGroupingBlockName; },
+  "setUnregisteredFallbackBlockName": function() { return setUnregisteredFallbackBlockName; },
+  "updateCategory": function() { return updateCategory; }
+});
+
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/reducer.js
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+/**
+ * @typedef {Object} WPBlockCategory
+ *
+ * @property {string} slug  Unique category slug.
+ * @property {string} title Category label, for display in user interface.
+ */
+
+/**
+ * Default set of categories.
+ *
+ * @type {WPBlockCategory[]}
+ */
+
+const DEFAULT_CATEGORIES = [{
+  slug: 'text',
+  title: (0,external_wp_i18n_namespaceObject.__)('Text')
+}, {
+  slug: 'media',
+  title: (0,external_wp_i18n_namespaceObject.__)('Media')
+}, {
+  slug: 'design',
+  title: (0,external_wp_i18n_namespaceObject.__)('Design')
+}, {
+  slug: 'widgets',
+  title: (0,external_wp_i18n_namespaceObject.__)('Widgets')
+}, {
+  slug: 'theme',
+  title: (0,external_wp_i18n_namespaceObject.__)('Theme')
+}, {
+  slug: 'embed',
+  title: (0,external_wp_i18n_namespaceObject.__)('Embeds')
+}, {
+  slug: 'reusable',
+  title: (0,external_wp_i18n_namespaceObject.__)('Reusable blocks')
+}];
+/**
+ * Reducer managing the unprocessed block types in a form passed when registering the by block.
+ * It's for internal use only. It allows recomputing the processed block types on-demand after block type filters
+ * get added or removed.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
+ */
+
+function unprocessedBlockTypes() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'ADD_UNPROCESSED_BLOCK_TYPE':
+      return { ...state,
+        [action.blockType.name]: action.blockType
+      };
+
+    case 'REMOVE_BLOCK_TYPES':
+      return (0,external_lodash_namespaceObject.omit)(state, action.names);
+  }
+
+  return state;
+}
+/**
+ * Reducer managing the processed block types with all filters applied.
+ * The state is derived from the `unprocessedBlockTypes` reducer.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
+ */
+
+function blockTypes() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'ADD_BLOCK_TYPES':
+      return { ...state,
+        ...(0,external_lodash_namespaceObject.keyBy)(action.blockTypes, 'name')
+      };
+
+    case 'REMOVE_BLOCK_TYPES':
+      return (0,external_lodash_namespaceObject.omit)(state, action.names);
+  }
+
+  return state;
+}
+/**
+ * Reducer managing the block style variations.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
+ */
+
+function blockStyles() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'ADD_BLOCK_TYPES':
+      return { ...state,
+        ...(0,external_lodash_namespaceObject.mapValues)((0,external_lodash_namespaceObject.keyBy)(action.blockTypes, 'name'), blockType => {
+          return (0,external_lodash_namespaceObject.uniqBy)([...(0,external_lodash_namespaceObject.get)(blockType, ['styles'], []).map(style => ({ ...style,
+            source: 'block'
+          })), ...(0,external_lodash_namespaceObject.get)(state, [blockType.name], []).filter(_ref => {
+            let {
+              source
+            } = _ref;
+            return 'block' !== source;
+          })], style => style.name);
+        })
+      };
+
+    case 'ADD_BLOCK_STYLES':
+      return { ...state,
+        [action.blockName]: (0,external_lodash_namespaceObject.uniqBy)([...(0,external_lodash_namespaceObject.get)(state, [action.blockName], []), ...action.styles], style => style.name)
+      };
+
+    case 'REMOVE_BLOCK_STYLES':
+      return { ...state,
+        [action.blockName]: (0,external_lodash_namespaceObject.filter)((0,external_lodash_namespaceObject.get)(state, [action.blockName], []), style => action.styleNames.indexOf(style.name) === -1)
+      };
+  }
+
+  return state;
+}
+/**
+ * Reducer managing the block variations.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
+ */
+
+function blockVariations() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'ADD_BLOCK_TYPES':
+      return { ...state,
+        ...(0,external_lodash_namespaceObject.mapValues)((0,external_lodash_namespaceObject.keyBy)(action.blockTypes, 'name'), blockType => {
+          return (0,external_lodash_namespaceObject.uniqBy)([...(0,external_lodash_namespaceObject.get)(blockType, ['variations'], []).map(variation => ({ ...variation,
+            source: 'block'
+          })), ...(0,external_lodash_namespaceObject.get)(state, [blockType.name], []).filter(_ref2 => {
+            let {
+              source
+            } = _ref2;
+            return 'block' !== source;
+          })], variation => variation.name);
+        })
+      };
+
+    case 'ADD_BLOCK_VARIATIONS':
+      return { ...state,
+        [action.blockName]: (0,external_lodash_namespaceObject.uniqBy)([...(0,external_lodash_namespaceObject.get)(state, [action.blockName], []), ...action.variations], variation => variation.name)
+      };
+
+    case 'REMOVE_BLOCK_VARIATIONS':
+      return { ...state,
+        [action.blockName]: (0,external_lodash_namespaceObject.filter)((0,external_lodash_namespaceObject.get)(state, [action.blockName], []), variation => action.variationNames.indexOf(variation.name) === -1)
+      };
+  }
+
+  return state;
+}
+/**
+ * Higher-order Reducer creating a reducer keeping track of given block name.
+ *
+ * @param {string} setActionType Action type.
+ *
+ * @return {Function} Reducer.
+ */
+
+function createBlockNameSetterReducer(setActionType) {
+  return function () {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+    let action = arguments.length > 1 ? arguments[1] : undefined;
+
+    switch (action.type) {
+      case 'REMOVE_BLOCK_TYPES':
+        if (action.names.indexOf(state) !== -1) {
+          return null;
+        }
+
+        return state;
+
+      case setActionType:
+        return action.name || null;
+    }
+
+    return state;
+  };
+}
+const defaultBlockName = createBlockNameSetterReducer('SET_DEFAULT_BLOCK_NAME');
+const freeformFallbackBlockName = createBlockNameSetterReducer('SET_FREEFORM_FALLBACK_BLOCK_NAME');
+const unregisteredFallbackBlockName = createBlockNameSetterReducer('SET_UNREGISTERED_FALLBACK_BLOCK_NAME');
+const groupingBlockName = createBlockNameSetterReducer('SET_GROUPING_BLOCK_NAME');
+/**
+ * Reducer managing the categories
+ *
+ * @param {WPBlockCategory[]} state  Current state.
+ * @param {Object}            action Dispatched action.
+ *
+ * @return {WPBlockCategory[]} Updated state.
+ */
+
+function categories() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_CATEGORIES;
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'SET_CATEGORIES':
+      return action.categories || [];
+
+    case 'UPDATE_CATEGORY':
+      {
+        if (!action.category || (0,external_lodash_namespaceObject.isEmpty)(action.category)) {
+          return state;
+        }
+
+        const categoryToChange = (0,external_lodash_namespaceObject.find)(state, ['slug', action.slug]);
+
+        if (categoryToChange) {
+          return (0,external_lodash_namespaceObject.map)(state, category => {
+            if (category.slug === action.slug) {
+              return { ...category,
+                ...action.category
+              };
+            }
+
+            return category;
+          });
+        }
+      }
+  }
+
+  return state;
+}
+function collections() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'ADD_BLOCK_COLLECTION':
+      return { ...state,
+        [action.namespace]: {
+          title: action.title,
+          icon: action.icon
+        }
+      };
+
+    case 'REMOVE_BLOCK_COLLECTION':
+      return (0,external_lodash_namespaceObject.omit)(state, action.namespace);
+  }
+
+  return state;
+}
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  unprocessedBlockTypes,
+  blockTypes,
+  blockStyles,
+  blockVariations,
+  defaultBlockName,
+  freeformFallbackBlockName,
+  unregisteredFallbackBlockName,
+  groupingBlockName,
+  categories,
+  collections
+}));
+
+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js
+
+
+var LEAF_KEY, hasWeakMap;
+
+/**
+ * Arbitrary value used as key for referencing cache object in WeakMap tree.
+ *
+ * @type {Object}
+ */
+LEAF_KEY = {};
+
+/**
+ * Whether environment supports WeakMap.
+ *
+ * @type {boolean}
+ */
+hasWeakMap = typeof WeakMap !== 'undefined';
+
+/**
+ * Returns the first argument as the sole entry in an array.
+ *
+ * @param {*} value Value to return.
+ *
+ * @return {Array} Value returned as entry in array.
+ */
+function arrayOf( value ) {
+	return [ value ];
+}
+
+/**
+ * Returns true if the value passed is object-like, or false otherwise. A value
+ * is object-like if it can support property assignment, e.g. object or array.
+ *
+ * @param {*} value Value to test.
+ *
+ * @return {boolean} Whether value is object-like.
+ */
+function isObjectLike( value ) {
+	return !! value && 'object' === typeof value;
+}
+
+/**
+ * Creates and returns a new cache object.
+ *
+ * @return {Object} Cache object.
+ */
+function createCache() {
+	var cache = {
+		clear: function() {
+			cache.head = null;
+		},
+	};
+
+	return cache;
+}
+
+/**
+ * Returns true if entries within the two arrays are strictly equal by
+ * reference from a starting index.
+ *
+ * @param {Array}  a         First array.
+ * @param {Array}  b         Second array.
+ * @param {number} fromIndex Index from which to start comparison.
+ *
+ * @return {boolean} Whether arrays are shallowly equal.
+ */
+function isShallowEqual( a, b, fromIndex ) {
+	var i;
+
+	if ( a.length !== b.length ) {
+		return false;
+	}
+
+	for ( i = fromIndex; i < a.length; i++ ) {
+		if ( a[ i ] !== b[ i ] ) {
+			return false;
+		}
+	}
+
+	return true;
+}
+
+/**
+ * Returns a memoized selector function. The getDependants function argument is
+ * called before the memoized selector and is expected to return an immutable
+ * reference or array of references on which the selector depends for computing
+ * its own return value. The memoize cache is preserved only as long as those
+ * dependant references remain the same. If getDependants returns a different
+ * reference(s), the cache is cleared and the selector value regenerated.
+ *
+ * @param {Function} selector      Selector function.
+ * @param {Function} getDependants Dependant getter returning an immutable
+ *                                 reference or array of reference used in
+ *                                 cache bust consideration.
+ *
+ * @return {Function} Memoized selector.
+ */
+/* harmony default export */ function rememo(selector, getDependants ) {
+	var rootCache, getCache;
+
+	// Use object source as dependant if getter not provided
+	if ( ! getDependants ) {
+		getDependants = arrayOf;
+	}
+
+	/**
+	 * Returns the root cache. If WeakMap is supported, this is assigned to the
+	 * root WeakMap cache set, otherwise it is a shared instance of the default
+	 * cache object.
+	 *
+	 * @return {(WeakMap|Object)} Root cache object.
+	 */
+	function getRootCache() {
+		return rootCache;
+	}
+
+	/**
+	 * Returns the cache for a given dependants array. When possible, a WeakMap
+	 * will be used to create a unique cache for each set of dependants. This
+	 * is feasible due to the nature of WeakMap in allowing garbage collection
+	 * to occur on entries where the key object is no longer referenced. Since
+	 * WeakMap requires the key to be an object, this is only possible when the
+	 * dependant is object-like. The root cache is created as a hierarchy where
+	 * each top-level key is the first entry in a dependants set, the value a
+	 * WeakMap where each key is the next dependant, and so on. This continues
+	 * so long as the dependants are object-like. If no dependants are object-
+	 * like, then the cache is shared across all invocations.
+	 *
+	 * @see isObjectLike
+	 *
+	 * @param {Array} dependants Selector dependants.
+	 *
+	 * @return {Object} Cache object.
+	 */
+	function getWeakMapCache( dependants ) {
+		var caches = rootCache,
+			isUniqueByDependants = true,
+			i, dependant, map, cache;
+
+		for ( i = 0; i < dependants.length; i++ ) {
+			dependant = dependants[ i ];
+
+			// Can only compose WeakMap from object-like key.
+			if ( ! isObjectLike( dependant ) ) {
+				isUniqueByDependants = false;
+				break;
+			}
+
+			// Does current segment of cache already have a WeakMap?
+			if ( caches.has( dependant ) ) {
+				// Traverse into nested WeakMap.
+				caches = caches.get( dependant );
+			} else {
+				// Create, set, and traverse into a new one.
+				map = new WeakMap();
+				caches.set( dependant, map );
+				caches = map;
+			}
+		}
+
+		// We use an arbitrary (but consistent) object as key for the last item
+		// in the WeakMap to serve as our running cache.
+		if ( ! caches.has( LEAF_KEY ) ) {
+			cache = createCache();
+			cache.isUniqueByDependants = isUniqueByDependants;
+			caches.set( LEAF_KEY, cache );
+		}
+
+		return caches.get( LEAF_KEY );
+	}
+
+	// Assign cache handler by availability of WeakMap
+	getCache = hasWeakMap ? getWeakMapCache : getRootCache;
+
+	/**
+	 * Resets root memoization cache.
+	 */
+	function clear() {
+		rootCache = hasWeakMap ? new WeakMap() : createCache();
+	}
+
+	// eslint-disable-next-line jsdoc/check-param-names
+	/**
+	 * The augmented selector call, considering first whether dependants have
+	 * changed before passing it to underlying memoize function.
+	 *
+	 * @param {Object} source    Source object for derivation.
+	 * @param {...*}   extraArgs Additional arguments to pass to selector.
+	 *
+	 * @return {*} Selector result.
+	 */
+	function callSelector( /* source, ...extraArgs */ ) {
+		var len = arguments.length,
+			cache, node, i, args, dependants;
+
+		// Create copy of arguments (avoid leaking deoptimization).
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}
+
+		dependants = getDependants.apply( null, args );
+		cache = getCache( dependants );
+
+		// If not guaranteed uniqueness by dependants (primitive type or lack
+		// of WeakMap support), shallow compare against last dependants and, if
+		// references have changed, destroy cache to recalculate result.
+		if ( ! cache.isUniqueByDependants ) {
+			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
+				cache.clear();
+			}
+
+			cache.lastDependants = dependants;
+		}
+
+		node = cache.head;
+		while ( node ) {
+			// Check whether node arguments match arguments
+			if ( ! isShallowEqual( node.args, args, 1 ) ) {
+				node = node.next;
+				continue;
+			}
+
+			// At this point we can assume we've found a match
+
+			// Surface matched node to head if not already
+			if ( node !== cache.head ) {
+				// Adjust siblings to point to each other.
+				node.prev.next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}
+
+				node.next = cache.head;
+				node.prev = null;
+				cache.head.prev = node;
+				cache.head = node;
+			}
+
+			// Return immediately
+			return node.val;
+		}
+
+		// No cached value found. Continue to insertion phase:
+
+		node = {
+			// Generate the result from original function
+			val: selector.apply( null, args ),
+		};
+
+		// Avoid including the source object in the cache.
+		args[ 0 ] = null;
+		node.args = args;
+
+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was
+
+		// Shift existing head down list
+		if ( cache.head ) {
+			cache.head.prev = node;
+			node.next = cache.head;
+		}
+
+		cache.head = node;
+
+		return node.val;
+	}
+
+	callSelector.getDependants = getDependants;
+	callSelector.clear = clear;
+	clear();
+
+	return callSelector;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/selectors.js
+/**
+ * External dependencies
+ */
+
+
+/** @typedef {import('../api/registration').WPBlockVariation} WPBlockVariation */
+
+/** @typedef {import('../api/registration').WPBlockVariationScope} WPBlockVariationScope */
+
+/** @typedef {import('./reducer').WPBlockCategory} WPBlockCategory */
+
+/**
+ * Given a block name or block type object, returns the corresponding
+ * normalized block type object.
+ *
+ * @param {Object}          state      Blocks state.
+ * @param {(string|Object)} nameOrType Block name or type object
+ *
+ * @return {Object} Block type object.
+ */
+
+const getNormalizedBlockType = (state, nameOrType) => 'string' === typeof nameOrType ? getBlockType(state, nameOrType) : nameOrType;
+/**
+ * Returns all the unprocessed block types as passed during the registration.
+ *
+ * @param {Object} state Data state.
+ *
+ * @return {Array} Unprocessed block types.
+ */
+
+
+function __experimentalGetUnprocessedBlockTypes(state) {
+  return state.unprocessedBlockTypes;
+}
+/**
+ * Returns all the available block types.
+ *
+ * @param {Object} state Data state.
+ *
+ * @return {Array} Block Types.
+ */
+
+const getBlockTypes = rememo(state => Object.values(state.blockTypes), state => [state.blockTypes]);
+/**
+ * Returns a block type by name.
+ *
+ * @param {Object} state Data state.
+ * @param {string} name  Block type name.
+ *
+ * @return {Object?} Block Type.
+ */
+
+function getBlockType(state, name) {
+  return state.blockTypes[name];
+}
+/**
+ * Returns block styles by block name.
+ *
+ * @param {Object} state Data state.
+ * @param {string} name  Block type name.
+ *
+ * @return {Array?} Block Styles.
+ */
+
+function getBlockStyles(state, name) {
+  return state.blockStyles[name];
+}
+/**
+ * Returns block variations by block name.
+ *
+ * @param {Object}                state     Data state.
+ * @param {string}                blockName Block type name.
+ * @param {WPBlockVariationScope} [scope]   Block variation scope name.
+ *
+ * @return {(WPBlockVariation[]|void)} Block variations.
+ */
+
+const getBlockVariations = rememo((state, blockName, scope) => {
+  const variations = state.blockVariations[blockName];
+
+  if (!variations || !scope) {
+    return variations;
+  }
+
+  return variations.filter(variation => {
+    // For backward compatibility reasons, variation's scope defaults to
+    // `block` and `inserter` when not set.
+    return (variation.scope || ['block', 'inserter']).includes(scope);
+  });
+}, (state, blockName) => [state.blockVariations[blockName]]);
+/**
+ * Returns the active block variation for a given block based on its attributes.
+ * Variations are determined by their `isActive` property.
+ * Which is either an array of block attribute keys or a function.
+ *
+ * In case of an array of block attribute keys, the `attributes` are compared
+ * to the variation's attributes using strict equality check.
+ *
+ * In case of function type, the function should accept a block's attributes
+ * and the variation's attributes and determines if a variation is active.
+ * A function that accepts a block's attributes and the variation's attributes and determines if a variation is active.
+ *
+ * @param {Object}                state      Data state.
+ * @param {string}                blockName  Name of block (example: “core/columns”).
+ * @param {Object}                attributes Block attributes used to determine active variation.
+ * @param {WPBlockVariationScope} [scope]    Block variation scope name.
+ *
+ * @return {(WPBlockVariation|undefined)} Active block variation.
+ */
+
+function getActiveBlockVariation(state, blockName, attributes, scope) {
+  const variations = getBlockVariations(state, blockName, scope);
+  const match = variations === null || variations === void 0 ? void 0 : variations.find(variation => {
+    var _variation$isActive;
+
+    if (Array.isArray(variation.isActive)) {
+      const blockType = getBlockType(state, blockName);
+      const attributeKeys = Object.keys((blockType === null || blockType === void 0 ? void 0 : blockType.attributes) || {});
+      const definedAttributes = variation.isActive.filter(attribute => attributeKeys.includes(attribute));
+
+      if (definedAttributes.length === 0) {
+        return false;
+      }
+
+      return definedAttributes.every(attribute => attributes[attribute] === variation.attributes[attribute]);
+    }
+
+    return (_variation$isActive = variation.isActive) === null || _variation$isActive === void 0 ? void 0 : _variation$isActive.call(variation, attributes, variation.attributes);
+  });
+  return match;
+}
+/**
+ * Returns the default block variation for the given block type.
+ * When there are multiple variations annotated as the default one,
+ * the last added item is picked. This simplifies registering overrides.
+ * When there is no default variation set, it returns the first item.
+ *
+ * @param {Object}                state     Data state.
+ * @param {string}                blockName Block type name.
+ * @param {WPBlockVariationScope} [scope]   Block variation scope name.
+ *
+ * @return {?WPBlockVariation} The default block variation.
+ */
+
+function getDefaultBlockVariation(state, blockName, scope) {
+  const variations = getBlockVariations(state, blockName, scope);
+  return (0,external_lodash_namespaceObject.findLast)(variations, 'isDefault') || (0,external_lodash_namespaceObject.first)(variations);
+}
+/**
+ * Returns all the available categories.
+ *
+ * @param {Object} state Data state.
+ *
+ * @return {WPBlockCategory[]} Categories list.
+ */
+
+function getCategories(state) {
+  return state.categories;
+}
+/**
+ * Returns all the available collections.
+ *
+ * @param {Object} state Data state.
+ *
+ * @return {Object} Collections list.
+ */
+
+function getCollections(state) {
+  return state.collections;
+}
+/**
+ * Returns the name of the default block name.
+ *
+ * @param {Object} state Data state.
+ *
+ * @return {string?} Default block name.
+ */
+
+function getDefaultBlockName(state) {
+  return state.defaultBlockName;
+}
+/**
+ * Returns the name of the block for handling non-block content.
+ *
+ * @param {Object} state Data state.
+ *
+ * @return {string?} Name of the block for handling non-block content.
+ */
+
+function getFreeformFallbackBlockName(state) {
+  return state.freeformFallbackBlockName;
+}
+/**
+ * Returns the name of the block for handling unregistered blocks.
+ *
+ * @param {Object} state Data state.
+ *
+ * @return {string?} Name of the block for handling unregistered blocks.
+ */
+
+function getUnregisteredFallbackBlockName(state) {
+  return state.unregisteredFallbackBlockName;
+}
+/**
+ * Returns the name of the block for handling unregistered blocks.
+ *
+ * @param {Object} state Data state.
+ *
+ * @return {string?} Name of the block for handling unregistered blocks.
+ */
+
+function getGroupingBlockName(state) {
+  return state.groupingBlockName;
+}
+/**
+ * Returns an array with the child blocks of a given block.
+ *
+ * @param {Object} state     Data state.
+ * @param {string} blockName Block type name.
+ *
+ * @return {Array} Array of child block names.
+ */
+
+const getChildBlockNames = rememo((state, blockName) => {
+  return (0,external_lodash_namespaceObject.map)((0,external_lodash_namespaceObject.filter)(state.blockTypes, blockType => {
+    return (0,external_lodash_namespaceObject.includes)(blockType.parent, blockName);
+  }), _ref => {
+    let {
+      name
+    } = _ref;
+    return name;
+  });
+}, state => [state.blockTypes]);
+/**
+ * Returns the block support value for a feature, if defined.
+ *
+ * @param {Object}          state           Data state.
+ * @param {(string|Object)} nameOrType      Block name or type object
+ * @param {Array|string}    feature         Feature to retrieve
+ * @param {*}               defaultSupports Default value to return if not
+ *                                          explicitly defined
+ *
+ * @return {?*} Block support value
+ */
+
+const getBlockSupport = (state, nameOrType, feature, defaultSupports) => {
+  const blockType = getNormalizedBlockType(state, nameOrType);
+
+  if (!(blockType !== null && blockType !== void 0 && blockType.supports)) {
+    return defaultSupports;
+  }
+
+  return (0,external_lodash_namespaceObject.get)(blockType.supports, feature, defaultSupports);
+};
+/**
+ * Returns true if the block defines support for a feature, or false otherwise.
+ *
+ * @param {Object}          state           Data state.
+ * @param {(string|Object)} nameOrType      Block name or type object.
+ * @param {string}          feature         Feature to test.
+ * @param {boolean}         defaultSupports Whether feature is supported by
+ *                                          default if not explicitly defined.
+ *
+ * @return {boolean} Whether block supports feature.
+ */
+
+function hasBlockSupport(state, nameOrType, feature, defaultSupports) {
+  return !!getBlockSupport(state, nameOrType, feature, defaultSupports);
+}
+/**
+ * Returns true if the block type by the given name or object value matches a
+ * search term, or false otherwise.
+ *
+ * @param {Object}          state      Blocks state.
+ * @param {(string|Object)} nameOrType Block name or type object.
+ * @param {string}          searchTerm Search term by which to filter.
+ *
+ * @return {Object[]} Whether block type matches search term.
+ */
+
+function isMatchingSearchTerm(state, nameOrType, searchTerm) {
+  const blockType = getNormalizedBlockType(state, nameOrType);
+  const getNormalizedSearchTerm = (0,external_lodash_namespaceObject.flow)([// Disregard diacritics.
+  //  Input: "média"
+  external_lodash_namespaceObject.deburr, // Lowercase.
+  //  Input: "MEDIA"
+  term => term.toLowerCase(), // Strip leading and trailing whitespace.
+  //  Input: " media "
+  term => term.trim()]);
+  const normalizedSearchTerm = getNormalizedSearchTerm(searchTerm);
+  const isSearchMatch = (0,external_lodash_namespaceObject.flow)([getNormalizedSearchTerm, normalizedCandidate => (0,external_lodash_namespaceObject.includes)(normalizedCandidate, normalizedSearchTerm)]);
+  return isSearchMatch(blockType.title) || (0,external_lodash_namespaceObject.some)(blockType.keywords, isSearchMatch) || isSearchMatch(blockType.category);
+}
+/**
+ * Returns a boolean indicating if a block has child blocks or not.
+ *
+ * @param {Object} state     Data state.
+ * @param {string} blockName Block type name.
+ *
+ * @return {boolean} True if a block contains child blocks and false otherwise.
+ */
+
+const hasChildBlocks = (state, blockName) => {
+  return getChildBlockNames(state, blockName).length > 0;
+};
+/**
+ * Returns a boolean indicating if a block has at least one child block with inserter support.
+ *
+ * @param {Object} state     Data state.
+ * @param {string} blockName Block type name.
+ *
+ * @return {boolean} True if a block contains at least one child blocks with inserter support
+ *                   and false otherwise.
+ */
+
+const hasChildBlocksWithInserterSupport = (state, blockName) => {
+  return (0,external_lodash_namespaceObject.some)(getChildBlockNames(state, blockName), childBlockName => {
+    return hasBlockSupport(state, childBlockName, 'inserter', true);
+  });
+};
+
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/constants.js
+const STORE_NAME = 'core/blocks';
+
+;// CONCATENATED MODULE: ./node_modules/colord/index.mjs
+var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);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(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};
+
+;// CONCATENATED MODULE: ./node_modules/colord/plugins/names.mjs
+/* harmony default export */ function names(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g)}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"])}
+
+;// CONCATENATED MODULE: ./node_modules/colord/plugins/a11y.mjs
+var a11y_o=function(o){var t=o/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},a11y_t=function(t){return.2126*a11y_o(t.r)+.7152*a11y_o(t.g)+.0722*a11y_o(t.b)};/* harmony default export */ function a11y(o){o.prototype.luminance=function(){return o=a11y_t(this.rgba),void 0===(r=2)&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*o)/n+0;var o,r,n},o.prototype.contrast=function(r){void 0===r&&(r="#FFF");var n,a,i,e,v,u,d,c=r instanceof o?r:new o(r);return e=this.rgba,v=c.toRgb(),u=a11y_t(e),d=a11y_t(v),n=u>d?(u+.05)/(d+.05):(d+.05)/(u+.05),void 0===(a=2)&&(a=0),void 0===i&&(i=Math.pow(10,a)),Math.floor(i*n)/i+0},o.prototype.isReadable=function(o,t){return void 0===o&&(o="#FFF"),void 0===t&&(t={}),this.contrast(o)>=(e=void 0===(i=(r=t).size)?"normal":i,"AAA"===(a=void 0===(n=r.level)?"AA":n)&&"normal"===e?7:"AA"===a&&"large"===e?3:4.5);var r,n,a,i,e}}
+
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","dom"]
+var external_wp_dom_namespaceObject = window["wp"]["dom"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/constants.js
+const BLOCK_ICON_DEFAULT = 'block-default';
+/**
+ * Array of valid keys in a block type settings deprecation object.
+ *
+ * @type {string[]}
+ */
+
+const DEPRECATED_ENTRY_KEYS = ['attributes', 'supports', 'save', 'migrate', 'isEligible', 'apiVersion'];
+const __EXPERIMENTAL_STYLE_PROPERTY = {
+  //kept for back-compatibility purposes.
+  '--wp--style--color--link': {
+    value: ['color', 'link'],
+    support: ['color', 'link']
+  },
+  background: {
+    value: ['color', 'gradient'],
+    support: ['color', 'gradients']
+  },
+  backgroundColor: {
+    value: ['color', 'background'],
+    support: ['color', 'background'],
+    requiresOptOut: true
+  },
+  borderColor: {
+    value: ['border', 'color'],
+    support: ['__experimentalBorder', 'color']
+  },
+  borderRadius: {
+    value: ['border', 'radius'],
+    support: ['__experimentalBorder', 'radius'],
+    properties: {
+      borderTopLeftRadius: 'topLeft',
+      borderTopRightRadius: 'topRight',
+      borderBottomLeftRadius: 'bottomLeft',
+      borderBottomRightRadius: 'bottomRight'
+    }
+  },
+  borderStyle: {
+    value: ['border', 'style'],
+    support: ['__experimentalBorder', 'style']
+  },
+  borderWidth: {
+    value: ['border', 'width'],
+    support: ['__experimentalBorder', 'width']
+  },
+  color: {
+    value: ['color', 'text'],
+    support: ['color', 'text'],
+    requiresOptOut: true
+  },
+  linkColor: {
+    value: ['elements', 'link', 'color', 'text'],
+    support: ['color', 'link']
+  },
+  fontFamily: {
+    value: ['typography', 'fontFamily'],
+    support: ['typography', '__experimentalFontFamily']
+  },
+  fontSize: {
+    value: ['typography', 'fontSize'],
+    support: ['typography', 'fontSize']
+  },
+  fontStyle: {
+    value: ['typography', 'fontStyle'],
+    support: ['typography', '__experimentalFontStyle']
+  },
+  fontWeight: {
+    value: ['typography', 'fontWeight'],
+    support: ['typography', '__experimentalFontWeight']
+  },
+  lineHeight: {
+    value: ['typography', 'lineHeight'],
+    support: ['typography', 'lineHeight']
+  },
+  margin: {
+    value: ['spacing', 'margin'],
+    support: ['spacing', 'margin'],
+    properties: {
+      marginTop: 'top',
+      marginRight: 'right',
+      marginBottom: 'bottom',
+      marginLeft: 'left'
+    }
+  },
+  padding: {
+    value: ['spacing', 'padding'],
+    support: ['spacing', 'padding'],
+    properties: {
+      paddingTop: 'top',
+      paddingRight: 'right',
+      paddingBottom: 'bottom',
+      paddingLeft: 'left'
+    }
+  },
+  textDecoration: {
+    value: ['typography', 'textDecoration'],
+    support: ['typography', '__experimentalTextDecoration']
+  },
+  textTransform: {
+    value: ['typography', 'textTransform'],
+    support: ['typography', '__experimentalTextTransform']
+  },
+  letterSpacing: {
+    value: ['typography', 'letterSpacing'],
+    support: ['typography', '__experimentalLetterSpacing']
+  },
+  '--wp--style--block-gap': {
+    value: ['spacing', 'blockGap'],
+    support: ['spacing', 'blockGap']
+  }
+};
+const __EXPERIMENTAL_ELEMENTS = {
+  link: 'a',
+  h1: 'h1',
+  h2: 'h2',
+  h3: 'h3',
+  h4: 'h4',
+  h5: 'h5',
+  h6: 'h6'
+};
+const __EXPERIMENTAL_PATHS_WITH_MERGE = {
+  'color.duotone': true,
+  'color.gradients': true,
+  'color.palette': true,
+  'typography.fontFamilies': true,
+  'typography.fontSizes': true
+};
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/registration.js
+/* eslint no-console: [ 'error', { allow: [ 'error', 'warn' ] } ] */
+
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */
+
+const i18nBlockSchema = {
+  title: "block title",
+  description: "block description",
+  keywords: ["block keyword"],
+  styles: [{
+    label: "block style label"
+  }],
+  variations: [{
+    title: "block variation title",
+    description: "block variation description",
+    keywords: ["block variation keyword"]
+  }]
+};
+
+
+/**
+ * An icon type definition. One of a Dashicon slug, an element,
+ * or a component.
+ *
+ * @typedef {(string|WPElement|WPComponent)} WPIcon
+ *
+ * @see https://developer.wordpress.org/resource/dashicons/
+ */
+
+/**
+ * Render behavior of a block type icon; one of a Dashicon slug, an element,
+ * or a component.
+ *
+ * @typedef {WPIcon} WPBlockTypeIconRender
+ */
+
+/**
+ * An object describing a normalized block type icon.
+ *
+ * @typedef {Object} WPBlockTypeIconDescriptor
+ *
+ * @property {WPBlockTypeIconRender} src         Render behavior of the icon,
+ *                                               one of a Dashicon slug, an
+ *                                               element, or a component.
+ * @property {string}                background  Optimal background hex string
+ *                                               color when displaying icon.
+ * @property {string}                foreground  Optimal foreground hex string
+ *                                               color when displaying icon.
+ * @property {string}                shadowColor Optimal shadow hex string
+ *                                               color when displaying icon.
+ */
+
+/**
+ * Value to use to render the icon for a block type in an editor interface,
+ * either a Dashicon slug, an element, a component, or an object describing
+ * the icon.
+ *
+ * @typedef {(WPBlockTypeIconDescriptor|WPBlockTypeIconRender)} WPBlockTypeIcon
+ */
+
+/**
+ * Named block variation scopes.
+ *
+ * @typedef {'block'|'inserter'|'transform'} WPBlockVariationScope
+ */
+
+/**
+ * An object describing a variation defined for the block type.
+ *
+ * @typedef {Object} WPBlockVariation
+ *
+ * @property {string}                  name          The unique and machine-readable name.
+ * @property {string}                  title         A human-readable variation title.
+ * @property {string}                  [description] A detailed variation description.
+ * @property {string}                  [category]    Block type category classification,
+ *                                                   used in search interfaces to arrange
+ *                                                   block types by category.
+ * @property {WPIcon}                  [icon]        An icon helping to visualize the variation.
+ * @property {boolean}                 [isDefault]   Indicates whether the current variation is
+ *                                                   the default one. Defaults to `false`.
+ * @property {Object}                  [attributes]  Values which override block attributes.
+ * @property {Array[]}                 [innerBlocks] Initial configuration of nested blocks.
+ * @property {Object}                  [example]     Example provides structured data for
+ *                                                   the block preview. You can set to
+ *                                                   `undefined` to disable the preview shown
+ *                                                   for the block type.
+ * @property {WPBlockVariationScope[]} [scope]       The list of scopes where the variation
+ *                                                   is applicable. When not provided, it
+ *                                                   assumes all available scopes.
+ * @property {string[]}                [keywords]    An array of terms (which can be translated)
+ *                                                   that help users discover the variation
+ *                                                   while searching.
+ * @property {Function|string[]}       [isActive]    This can be a function or an array of block attributes.
+ *                                                   Function that accepts a block's attributes and the
+ *                                                   variation's attributes and determines if a variation is active.
+ *                                                   This function doesn't try to find a match dynamically based
+ *                                                   on all block's attributes, as in many cases some attributes are irrelevant.
+ *                                                   An example would be for `embed` block where we only care
+ *                                                   about `providerNameSlug` attribute's value.
+ *                                                   We can also use a `string[]` to tell which attributes
+ *                                                   should be compared as a shorthand. Each attributes will
+ *                                                   be matched and the variation will be active if all of them are matching.
+ */
+
+/**
+ * Defined behavior of a block type.
+ *
+ * @typedef {Object} WPBlockType
+ *
+ * @property {string}             name          Block type's namespaced name.
+ * @property {string}             title         Human-readable block type label.
+ * @property {string}             [description] A detailed block type description.
+ * @property {string}             [category]    Block type category classification,
+ *                                              used in search interfaces to arrange
+ *                                              block types by category.
+ * @property {WPBlockTypeIcon}    [icon]        Block type icon.
+ * @property {string[]}           [keywords]    Additional keywords to produce block
+ *                                              type as result in search interfaces.
+ * @property {Object}             [attributes]  Block type attributes.
+ * @property {WPComponent}        [save]        Optional component describing
+ *                                              serialized markup structure of a
+ *                                              block type.
+ * @property {WPComponent}        edit          Component rendering an element to
+ *                                              manipulate the attributes of a block
+ *                                              in the context of an editor.
+ * @property {WPBlockVariation[]} [variations]  The list of block variations.
+ * @property {Object}             [example]     Example provides structured data for
+ *                                              the block preview. When not defined
+ *                                              then no preview is shown.
+ */
+
+const serverSideBlockDefinitions = {};
+/**
+ * Sets the server side block definition of blocks.
+ *
+ * @param {Object} definitions Server-side block definitions
+ */
+// eslint-disable-next-line camelcase
+
+function unstable__bootstrapServerSideBlockDefinitions(definitions) {
+  for (const blockName of Object.keys(definitions)) {
+    // Don't overwrite if already set. It covers the case when metadata
+    // was initialized from the server.
+    if (serverSideBlockDefinitions[blockName]) {
+      // We still need to polyfill `apiVersion` for WordPress version
+      // lower than 5.7. If it isn't present in the definition shared
+      // from the server, we try to fallback to the definition passed.
+      // @see https://github.com/WordPress/gutenberg/pull/29279
+      if (serverSideBlockDefinitions[blockName].apiVersion === undefined && definitions[blockName].apiVersion) {
+        serverSideBlockDefinitions[blockName].apiVersion = definitions[blockName].apiVersion;
+      }
+
+      continue;
+    }
+
+    serverSideBlockDefinitions[blockName] = (0,external_lodash_namespaceObject.mapKeys)((0,external_lodash_namespaceObject.pickBy)(definitions[blockName], value => !(0,external_lodash_namespaceObject.isNil)(value)), (value, key) => (0,external_lodash_namespaceObject.camelCase)(key));
+  }
+}
+/**
+ * Gets block settings from metadata loaded from `block.json` file.
+ *
+ * @param {Object} metadata            Block metadata loaded from `block.json`.
+ * @param {string} metadata.textdomain Textdomain to use with translations.
+ *
+ * @return {Object} Block settings.
+ */
+
+function getBlockSettingsFromMetadata(_ref) {
+  let {
+    textdomain,
+    ...metadata
+  } = _ref;
+  const allowedFields = ['apiVersion', 'title', 'category', 'parent', 'icon', 'description', 'keywords', 'attributes', 'providesContext', 'usesContext', 'supports', 'styles', 'example', 'variations'];
+  const settings = (0,external_lodash_namespaceObject.pick)(metadata, allowedFields);
+
+  if (textdomain) {
+    Object.keys(i18nBlockSchema).forEach(key => {
+      if (!settings[key]) {
+        return;
+      }
+
+      settings[key] = translateBlockSettingUsingI18nSchema(i18nBlockSchema[key], settings[key], textdomain);
+    });
+  }
+
+  return settings;
+}
+/**
+ * Registers a new block provided a unique name and an object defining its
+ * behavior. Once registered, the block is made available as an option to any
+ * editor interface where blocks are implemented.
+ *
+ * @param {string|Object} blockNameOrMetadata Block type name or its metadata.
+ * @param {Object}        settings            Block settings.
+ *
+ * @return {?WPBlockType} The block, if it has been successfully registered;
+ *                    otherwise `undefined`.
+ */
+
+
+function registerBlockType(blockNameOrMetadata, settings) {
+  const name = (0,external_lodash_namespaceObject.isObject)(blockNameOrMetadata) ? blockNameOrMetadata.name : blockNameOrMetadata;
+
+  if (typeof name !== 'string') {
+    console.error('Block names must be strings.');
+    return;
+  }
+
+  if (!/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(name)) {
+    console.error('Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block');
+    return;
+  }
+
+  if ((0,external_wp_data_namespaceObject.select)(store).getBlockType(name)) {
+    console.error('Block "' + name + '" is already registered.');
+    return;
+  }
+
+  if ((0,external_lodash_namespaceObject.isObject)(blockNameOrMetadata)) {
+    unstable__bootstrapServerSideBlockDefinitions({
+      [name]: getBlockSettingsFromMetadata(blockNameOrMetadata)
+    });
+  }
+
+  const blockType = {
+    name,
+    icon: BLOCK_ICON_DEFAULT,
+    keywords: [],
+    attributes: {},
+    providesContext: {},
+    usesContext: [],
+    supports: {},
+    styles: [],
+    variations: [],
+    save: () => null,
+    ...(serverSideBlockDefinitions === null || serverSideBlockDefinitions === void 0 ? void 0 : serverSideBlockDefinitions[name]),
+    ...settings
+  };
+
+  (0,external_wp_data_namespaceObject.dispatch)(store).__experimentalRegisterBlockType(blockType);
+
+  return (0,external_wp_data_namespaceObject.select)(store).getBlockType(name);
+}
+/**
+ * Translates block settings provided with metadata using the i18n schema.
+ *
+ * @param {string|string[]|Object[]} i18nSchema   I18n schema for the block setting.
+ * @param {string|string[]|Object[]} settingValue Value for the block setting.
+ * @param {string}                   textdomain   Textdomain to use with translations.
+ *
+ * @return {string|string[]|Object[]} Translated setting.
+ */
+
+function translateBlockSettingUsingI18nSchema(i18nSchema, settingValue, textdomain) {
+  if ((0,external_lodash_namespaceObject.isString)(i18nSchema) && (0,external_lodash_namespaceObject.isString)(settingValue)) {
+    // eslint-disable-next-line @wordpress/i18n-no-variables, @wordpress/i18n-text-domain
+    return (0,external_wp_i18n_namespaceObject._x)(settingValue, i18nSchema, textdomain);
+  }
+
+  if ((0,external_lodash_namespaceObject.isArray)(i18nSchema) && !(0,external_lodash_namespaceObject.isEmpty)(i18nSchema) && (0,external_lodash_namespaceObject.isArray)(settingValue)) {
+    return settingValue.map(value => translateBlockSettingUsingI18nSchema(i18nSchema[0], value, textdomain));
+  }
+
+  if ((0,external_lodash_namespaceObject.isObject)(i18nSchema) && !(0,external_lodash_namespaceObject.isEmpty)(i18nSchema) && (0,external_lodash_namespaceObject.isObject)(settingValue)) {
+    return Object.keys(settingValue).reduce((accumulator, key) => {
+      if (!i18nSchema[key]) {
+        accumulator[key] = settingValue[key];
+        return accumulator;
+      }
+
+      accumulator[key] = translateBlockSettingUsingI18nSchema(i18nSchema[key], settingValue[key], textdomain);
+      return accumulator;
+    }, {});
+  }
+
+  return settingValue;
+}
+/**
+ * Registers a new block collection to group blocks in the same namespace in the inserter.
+ *
+ * @param {string} namespace       The namespace to group blocks by in the inserter; corresponds to the block namespace.
+ * @param {Object} settings        The block collection settings.
+ * @param {string} settings.title  The title to display in the block inserter.
+ * @param {Object} [settings.icon] The icon to display in the block inserter.
+ */
+
+
+function registerBlockCollection(namespace, _ref2) {
+  let {
+    title,
+    icon
+  } = _ref2;
+  (0,external_wp_data_namespaceObject.dispatch)(store).addBlockCollection(namespace, title, icon);
+}
+/**
+ * Unregisters a block collection
+ *
+ * @param {string} namespace The namespace to group blocks by in the inserter; corresponds to the block namespace
+ *
+ */
+
+function unregisterBlockCollection(namespace) {
+  dispatch(blocksStore).removeBlockCollection(namespace);
+}
+/**
+ * Unregisters a block.
+ *
+ * @param {string} name Block name.
+ *
+ * @return {?WPBlockType} The previous block value, if it has been successfully
+ *                    unregistered; otherwise `undefined`.
+ */
+
+function unregisterBlockType(name) {
+  const oldBlock = (0,external_wp_data_namespaceObject.select)(store).getBlockType(name);
+
+  if (!oldBlock) {
+    console.error('Block "' + name + '" is not registered.');
+    return;
+  }
+
+  (0,external_wp_data_namespaceObject.dispatch)(store).removeBlockTypes(name);
+  return oldBlock;
+}
+/**
+ * Assigns name of block for handling non-block content.
+ *
+ * @param {string} blockName Block name.
+ */
+
+function setFreeformContentHandlerName(blockName) {
+  (0,external_wp_data_namespaceObject.dispatch)(store).setFreeformFallbackBlockName(blockName);
+}
+/**
+ * Retrieves name of block handling non-block content, or undefined if no
+ * handler has been defined.
+ *
+ * @return {?string} Block name.
+ */
+
+function getFreeformContentHandlerName() {
+  return (0,external_wp_data_namespaceObject.select)(store).getFreeformFallbackBlockName();
+}
+/**
+ * Retrieves name of block used for handling grouping interactions.
+ *
+ * @return {?string} Block name.
+ */
+
+function registration_getGroupingBlockName() {
+  return (0,external_wp_data_namespaceObject.select)(store).getGroupingBlockName();
+}
+/**
+ * Assigns name of block handling unregistered block types.
+ *
+ * @param {string} blockName Block name.
+ */
+
+function setUnregisteredTypeHandlerName(blockName) {
+  (0,external_wp_data_namespaceObject.dispatch)(store).setUnregisteredFallbackBlockName(blockName);
+}
+/**
+ * Retrieves name of block handling unregistered block types, or undefined if no
+ * handler has been defined.
+ *
+ * @return {?string} Block name.
+ */
+
+function getUnregisteredTypeHandlerName() {
+  return (0,external_wp_data_namespaceObject.select)(store).getUnregisteredFallbackBlockName();
+}
+/**
+ * Assigns the default block name.
+ *
+ * @param {string} name Block name.
+ */
+
+function setDefaultBlockName(name) {
+  (0,external_wp_data_namespaceObject.dispatch)(store).setDefaultBlockName(name);
+}
+/**
+ * Assigns name of block for handling block grouping interactions.
+ *
+ * @param {string} name Block name.
+ */
+
+function setGroupingBlockName(name) {
+  (0,external_wp_data_namespaceObject.dispatch)(store).setGroupingBlockName(name);
+}
+/**
+ * Retrieves the default block name.
+ *
+ * @return {?string} Block name.
+ */
+
+function registration_getDefaultBlockName() {
+  return (0,external_wp_data_namespaceObject.select)(store).getDefaultBlockName();
+}
+/**
+ * Returns a registered block type.
+ *
+ * @param {string} name Block name.
+ *
+ * @return {?Object} Block type.
+ */
+
+function registration_getBlockType(name) {
+  var _select;
+
+  return (_select = (0,external_wp_data_namespaceObject.select)(store)) === null || _select === void 0 ? void 0 : _select.getBlockType(name);
+}
+/**
+ * Returns all registered blocks.
+ *
+ * @return {Array} Block settings.
+ */
+
+function registration_getBlockTypes() {
+  return (0,external_wp_data_namespaceObject.select)(store).getBlockTypes();
+}
+/**
+ * Returns the block support value for a feature, if defined.
+ *
+ * @param {(string|Object)} nameOrType      Block name or type object
+ * @param {string}          feature         Feature to retrieve
+ * @param {*}               defaultSupports Default value to return if not
+ *                                          explicitly defined
+ *
+ * @return {?*} Block support value
+ */
+
+function registration_getBlockSupport(nameOrType, feature, defaultSupports) {
+  return (0,external_wp_data_namespaceObject.select)(store).getBlockSupport(nameOrType, feature, defaultSupports);
+}
+/**
+ * Returns true if the block defines support for a feature, or false otherwise.
+ *
+ * @param {(string|Object)} nameOrType      Block name or type object.
+ * @param {string}          feature         Feature to test.
+ * @param {boolean}         defaultSupports Whether feature is supported by
+ *                                          default if not explicitly defined.
+ *
+ * @return {boolean} Whether block supports feature.
+ */
+
+function registration_hasBlockSupport(nameOrType, feature, defaultSupports) {
+  return (0,external_wp_data_namespaceObject.select)(store).hasBlockSupport(nameOrType, feature, defaultSupports);
+}
+/**
+ * Determines whether or not the given block is a reusable block. This is a
+ * special block type that is used to point to a global block stored via the
+ * API.
+ *
+ * @param {Object} blockOrType Block or Block Type to test.
+ *
+ * @return {boolean} Whether the given block is a reusable block.
+ */
+
+function isReusableBlock(blockOrType) {
+  return (blockOrType === null || blockOrType === void 0 ? void 0 : blockOrType.name) === 'core/block';
+}
+/**
+ * Determines whether or not the given block is a template part. This is a
+ * special block type that allows composing a page template out of reusable
+ * design elements.
+ *
+ * @param {Object} blockOrType Block or Block Type to test.
+ *
+ * @return {boolean} Whether the given block is a template part.
+ */
+
+function isTemplatePart(blockOrType) {
+  return blockOrType.name === 'core/template-part';
+}
+/**
+ * Returns an array with the child blocks of a given block.
+ *
+ * @param {string} blockName Name of block (example: “latest-posts”).
+ *
+ * @return {Array} Array of child block names.
+ */
+
+const registration_getChildBlockNames = blockName => {
+  return (0,external_wp_data_namespaceObject.select)(store).getChildBlockNames(blockName);
+};
+/**
+ * Returns a boolean indicating if a block has child blocks or not.
+ *
+ * @param {string} blockName Name of block (example: “latest-posts”).
+ *
+ * @return {boolean} True if a block contains child blocks and false otherwise.
+ */
+
+const registration_hasChildBlocks = blockName => {
+  return (0,external_wp_data_namespaceObject.select)(store).hasChildBlocks(blockName);
+};
+/**
+ * Returns a boolean indicating if a block has at least one child block with inserter support.
+ *
+ * @param {string} blockName Block type name.
+ *
+ * @return {boolean} True if a block contains at least one child blocks with inserter support
+ *                   and false otherwise.
+ */
+
+const registration_hasChildBlocksWithInserterSupport = blockName => {
+  return (0,external_wp_data_namespaceObject.select)(store).hasChildBlocksWithInserterSupport(blockName);
+};
+/**
+ * Registers a new block style variation for the given block.
+ *
+ * @param {string} blockName      Name of block (example: “core/latest-posts”).
+ * @param {Object} styleVariation Object containing `name` which is the class name applied to the block and `label` which identifies the variation to the user.
+ */
+
+const registerBlockStyle = (blockName, styleVariation) => {
+  (0,external_wp_data_namespaceObject.dispatch)(store).addBlockStyles(blockName, styleVariation);
+};
+/**
+ * Unregisters a block style variation for the given block.
+ *
+ * @param {string} blockName          Name of block (example: “core/latest-posts”).
+ * @param {string} styleVariationName Name of class applied to the block.
+ */
+
+const unregisterBlockStyle = (blockName, styleVariationName) => {
+  (0,external_wp_data_namespaceObject.dispatch)(store).removeBlockStyles(blockName, styleVariationName);
+};
+/**
+ * Returns an array with the variations of a given block type.
+ *
+ * @param {string}                blockName Name of block (example: “core/columns”).
+ * @param {WPBlockVariationScope} [scope]   Block variation scope name.
+ *
+ * @return {(WPBlockVariation[]|void)} Block variations.
+ */
+
+const registration_getBlockVariations = (blockName, scope) => {
+  return (0,external_wp_data_namespaceObject.select)(store).getBlockVariations(blockName, scope);
+};
+/**
+ * Registers a new block variation for the given block type.
+ *
+ * @param {string}           blockName Name of the block (example: “core/columns”).
+ * @param {WPBlockVariation} variation Object describing a block variation.
+ */
+
+const registerBlockVariation = (blockName, variation) => {
+  (0,external_wp_data_namespaceObject.dispatch)(store).addBlockVariations(blockName, variation);
+};
+/**
+ * Unregisters a block variation defined for the given block type.
+ *
+ * @param {string} blockName     Name of the block (example: “core/columns”).
+ * @param {string} variationName Name of the variation defined for the block.
+ */
+
+const unregisterBlockVariation = (blockName, variationName) => {
+  (0,external_wp_data_namespaceObject.dispatch)(store).removeBlockVariations(blockName, variationName);
+};
+
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
+// Unique ID creation requires a high quality random # generator. In the browser we therefore
+// require the crypto API and do not support built-in fallback to lower quality random number
+// generators (like Math.random()).
+var getRandomValues;
+var rnds8 = new Uint8Array(16);
+function rng() {
+  // lazy load so that environments that need to polyfill have a chance to do so
+  if (!getRandomValues) {
+    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
+    // find the complete implementation of crypto (msCrypto) on IE11.
+    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
+
+    if (!getRandomValues) {
+      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
+    }
+  }
+
+  return getRandomValues(rnds8);
+}
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
+/* harmony default export */ var regex = (/^(?:[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);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
+
+
+function validate(uuid) {
+  return typeof uuid === 'string' && regex.test(uuid);
+}
+
+/* harmony default export */ var esm_browser_validate = (validate);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
+
+/**
+ * Convert array of 16 byte values to UUID string format of the form:
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
+ */
+
+var byteToHex = [];
+
+for (var stringify_i = 0; stringify_i < 256; ++stringify_i) {
+  byteToHex.push((stringify_i + 0x100).toString(16).substr(1));
+}
+
+function stringify(arr) {
+  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
+  // Note: Be careful editing this code!  It's been tuned for performance
+  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
+  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
+  // of the following:
+  // - One or more input array values don't map to a hex octet (leading to
+  // "undefined" in the uuid)
+  // - Invalid input values for the RFC `version` or `variant` fields
+
+  if (!esm_browser_validate(uuid)) {
+    throw TypeError('Stringified UUID is invalid');
+  }
+
+  return uuid;
+}
+
+/* harmony default export */ var esm_browser_stringify = (stringify);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
+
+
+
+function v4(options, buf, offset) {
+  options = options || {};
+  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
+
+  rnds[6] = rnds[6] & 0x0f | 0x40;
+  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
+
+  if (buf) {
+    offset = offset || 0;
+
+    for (var i = 0; i < 16; ++i) {
+      buf[offset + i] = rnds[i];
+    }
+
+    return buf;
+  }
+
+  return esm_browser_stringify(rnds);
+}
+
+/* harmony default export */ var esm_browser_v4 = (v4);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/factory.js
+/**
+ * External dependencies
+ */
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+/**
+ * Returns a block object given its type and attributes.
+ *
+ * @param {string} name        Block name.
+ * @param {Object} attributes  Block attributes.
+ * @param {?Array} innerBlocks Nested blocks.
+ *
+ * @return {Object} Block object.
+ */
+
+function createBlock(name) {
+  let attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  let innerBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
+
+  const sanitizedAttributes = __experimentalSanitizeBlockAttributes(name, attributes);
+
+  const clientId = esm_browser_v4(); // Blocks are stored with a unique ID, the assigned type name, the block
+  // attributes, and their inner blocks.
+
+  return {
+    clientId,
+    name,
+    isValid: true,
+    attributes: sanitizedAttributes,
+    innerBlocks
+  };
+}
+/**
+ * Given an array of InnerBlocks templates or Block Objects,
+ * returns an array of created Blocks from them.
+ * It handles the case of having InnerBlocks as Blocks by
+ * converting them to the proper format to continue recursively.
+ *
+ * @param {Array} innerBlocksOrTemplate Nested blocks or InnerBlocks templates.
+ *
+ * @return {Object[]} Array of Block objects.
+ */
+
+function createBlocksFromInnerBlocksTemplate() {
+  let innerBlocksOrTemplate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  return innerBlocksOrTemplate.map(innerBlock => {
+    const innerBlockTemplate = Array.isArray(innerBlock) ? innerBlock : [innerBlock.name, innerBlock.attributes, innerBlock.innerBlocks];
+    const [name, attributes, innerBlocks = []] = innerBlockTemplate;
+    return createBlock(name, attributes, createBlocksFromInnerBlocksTemplate(innerBlocks));
+  });
+}
+/**
+ * Given a block object, returns a copy of the block object while sanitizing its attributes,
+ * optionally merging new attributes and/or replacing its inner blocks.
+ *
+ * @param {Object} block           Block instance.
+ * @param {Object} mergeAttributes Block attributes.
+ * @param {?Array} newInnerBlocks  Nested blocks.
+ *
+ * @return {Object} A cloned block.
+ */
+
+function __experimentalCloneSanitizedBlock(block) {
+  let mergeAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  let newInnerBlocks = arguments.length > 2 ? arguments[2] : undefined;
+  const clientId = esm_browser_v4();
+
+  const sanitizedAttributes = __experimentalSanitizeBlockAttributes(block.name, { ...block.attributes,
+    ...mergeAttributes
+  });
+
+  return { ...block,
+    clientId,
+    attributes: sanitizedAttributes,
+    innerBlocks: newInnerBlocks || block.innerBlocks.map(innerBlock => __experimentalCloneSanitizedBlock(innerBlock))
+  };
+}
+/**
+ * Given a block object, returns a copy of the block object,
+ * optionally merging new attributes and/or replacing its inner blocks.
+ *
+ * @param {Object} block           Block instance.
+ * @param {Object} mergeAttributes Block attributes.
+ * @param {?Array} newInnerBlocks  Nested blocks.
+ *
+ * @return {Object} A cloned block.
+ */
+
+function cloneBlock(block) {
+  let mergeAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  let newInnerBlocks = arguments.length > 2 ? arguments[2] : undefined;
+  const clientId = esm_browser_v4();
+  return { ...block,
+    clientId,
+    attributes: { ...block.attributes,
+      ...mergeAttributes
+    },
+    innerBlocks: newInnerBlocks || block.innerBlocks.map(innerBlock => cloneBlock(innerBlock))
+  };
+}
+/**
+ * Returns a boolean indicating whether a transform is possible based on
+ * various bits of context.
+ *
+ * @param {Object} transform The transform object to validate.
+ * @param {string} direction Is this a 'from' or 'to' transform.
+ * @param {Array}  blocks    The blocks to transform from.
+ *
+ * @return {boolean} Is the transform possible?
+ */
+
+const isPossibleTransformForSource = (transform, direction, blocks) => {
+  if ((0,external_lodash_namespaceObject.isEmpty)(blocks)) {
+    return false;
+  } // If multiple blocks are selected, only multi block transforms
+  // or wildcard transforms are allowed.
+
+
+  const isMultiBlock = blocks.length > 1;
+  const firstBlockName = (0,external_lodash_namespaceObject.first)(blocks).name;
+  const isValidForMultiBlocks = isWildcardBlockTransform(transform) || !isMultiBlock || transform.isMultiBlock;
+
+  if (!isValidForMultiBlocks) {
+    return false;
+  } // Check non-wildcard transforms to ensure that transform is valid
+  // for a block selection of multiple blocks of different types
+
+
+  if (!isWildcardBlockTransform(transform) && !(0,external_lodash_namespaceObject.every)(blocks, {
+    name: firstBlockName
+  })) {
+    return false;
+  } // Only consider 'block' type transforms as valid.
+
+
+  const isBlockType = transform.type === 'block';
+
+  if (!isBlockType) {
+    return false;
+  } // Check if the transform's block name matches the source block (or is a wildcard)
+  // only if this is a transform 'from'.
+
+
+  const sourceBlock = (0,external_lodash_namespaceObject.first)(blocks);
+  const hasMatchingName = direction !== 'from' || transform.blocks.indexOf(sourceBlock.name) !== -1 || isWildcardBlockTransform(transform);
+
+  if (!hasMatchingName) {
+    return false;
+  } // Don't allow single Grouping blocks to be transformed into
+  // a Grouping block.
+
+
+  if (!isMultiBlock && isContainerGroupBlock(sourceBlock.name) && isContainerGroupBlock(transform.blockName)) {
+    return false;
+  } // If the transform has a `isMatch` function specified, check that it returns true.
+
+
+  if ((0,external_lodash_namespaceObject.isFunction)(transform.isMatch)) {
+    const attributes = transform.isMultiBlock ? blocks.map(block => block.attributes) : sourceBlock.attributes;
+    const block = transform.isMultiBlock ? blocks : sourceBlock;
+
+    if (!transform.isMatch(attributes, block)) {
+      return false;
+    }
+  }
+
+  if (transform.usingMobileTransformations && isWildcardBlockTransform(transform) && !isContainerGroupBlock(sourceBlock.name)) {
+    return false;
+  }
+
+  return true;
+};
+/**
+ * Returns block types that the 'blocks' can be transformed into, based on
+ * 'from' transforms on other blocks.
+ *
+ * @param {Array} blocks The blocks to transform from.
+ *
+ * @return {Array} Block types that the blocks can be transformed into.
+ */
+
+
+const getBlockTypesForPossibleFromTransforms = blocks => {
+  if ((0,external_lodash_namespaceObject.isEmpty)(blocks)) {
+    return [];
+  }
+
+  const allBlockTypes = registration_getBlockTypes(); // filter all blocks to find those with a 'from' transform.
+
+  const blockTypesWithPossibleFromTransforms = (0,external_lodash_namespaceObject.filter)(allBlockTypes, blockType => {
+    const fromTransforms = getBlockTransforms('from', blockType.name);
+    return !!findTransform(fromTransforms, transform => {
+      return isPossibleTransformForSource(transform, 'from', blocks);
+    });
+  });
+  return blockTypesWithPossibleFromTransforms;
+};
+/**
+ * Returns block types that the 'blocks' can be transformed into, based on
+ * the source block's own 'to' transforms.
+ *
+ * @param {Array} blocks The blocks to transform from.
+ *
+ * @return {Array} Block types that the source can be transformed into.
+ */
+
+
+const getBlockTypesForPossibleToTransforms = blocks => {
+  if ((0,external_lodash_namespaceObject.isEmpty)(blocks)) {
+    return [];
+  }
+
+  const sourceBlock = (0,external_lodash_namespaceObject.first)(blocks);
+  const blockType = registration_getBlockType(sourceBlock.name);
+  const transformsTo = blockType ? getBlockTransforms('to', blockType.name) : []; // filter all 'to' transforms to find those that are possible.
+
+  const possibleTransforms = (0,external_lodash_namespaceObject.filter)(transformsTo, transform => {
+    return transform && isPossibleTransformForSource(transform, 'to', blocks);
+  }); // Build a list of block names using the possible 'to' transforms.
+
+  const blockNames = (0,external_lodash_namespaceObject.flatMap)(possibleTransforms, transformation => transformation.blocks); // Map block names to block types.
+
+  return blockNames.map(name => registration_getBlockType(name));
+};
+/**
+ * Determines whether transform is a "block" type
+ * and if so whether it is a "wildcard" transform
+ * ie: targets "any" block type
+ *
+ * @param {Object} t the Block transform object
+ *
+ * @return {boolean} whether transform is a wildcard transform
+ */
+
+
+const isWildcardBlockTransform = t => t && t.type === 'block' && Array.isArray(t.blocks) && t.blocks.includes('*');
+/**
+ * Determines whether the given Block is the core Block which
+ * acts as a container Block for other Blocks as part of the
+ * Grouping mechanics
+ *
+ * @param {string} name the name of the Block to test against
+ *
+ * @return {boolean} whether or not the Block is the container Block type
+ */
+
+const isContainerGroupBlock = name => name === registration_getGroupingBlockName();
+/**
+ * Returns an array of block types that the set of blocks received as argument
+ * can be transformed into.
+ *
+ * @param {Array} blocks Blocks array.
+ *
+ * @return {Array} Block types that the blocks argument can be transformed to.
+ */
+
+function getPossibleBlockTransformations(blocks) {
+  if ((0,external_lodash_namespaceObject.isEmpty)(blocks)) {
+    return [];
+  }
+
+  const blockTypesForFromTransforms = getBlockTypesForPossibleFromTransforms(blocks);
+  const blockTypesForToTransforms = getBlockTypesForPossibleToTransforms(blocks);
+  return (0,external_lodash_namespaceObject.uniq)([...blockTypesForFromTransforms, ...blockTypesForToTransforms]);
+}
+/**
+ * Given an array of transforms, returns the highest-priority transform where
+ * the predicate function returns a truthy value. A higher-priority transform
+ * is one with a lower priority value (i.e. first in priority order). Returns
+ * null if the transforms set is empty or the predicate function returns a
+ * falsey value for all entries.
+ *
+ * @param {Object[]} transforms Transforms to search.
+ * @param {Function} predicate  Function returning true on matching transform.
+ *
+ * @return {?Object} Highest-priority transform candidate.
+ */
+
+function findTransform(transforms, predicate) {
+  // The hooks library already has built-in mechanisms for managing priority
+  // queue, so leverage via locally-defined instance.
+  const hooks = (0,external_wp_hooks_namespaceObject.createHooks)();
+
+  for (let i = 0; i < transforms.length; i++) {
+    const candidate = transforms[i];
+
+    if (predicate(candidate)) {
+      hooks.addFilter('transform', 'transform/' + i.toString(), result => result ? result : candidate, candidate.priority);
+    }
+  } // Filter name is arbitrarily chosen but consistent with above aggregation.
+
+
+  return hooks.applyFilters('transform', null);
+}
+/**
+ * Returns normal block transforms for a given transform direction, optionally
+ * for a specific block by name, or an empty array if there are no transforms.
+ * If no block name is provided, returns transforms for all blocks. A normal
+ * transform object includes `blockName` as a property.
+ *
+ * @param {string}        direction       Transform direction ("to", "from").
+ * @param {string|Object} blockTypeOrName Block type or name.
+ *
+ * @return {Array} Block transforms for direction.
+ */
+
+function getBlockTransforms(direction, blockTypeOrName) {
+  // When retrieving transforms for all block types, recurse into self.
+  if (blockTypeOrName === undefined) {
+    return (0,external_lodash_namespaceObject.flatMap)(registration_getBlockTypes(), _ref => {
+      let {
+        name
+      } = _ref;
+      return getBlockTransforms(direction, name);
+    });
+  } // Validate that block type exists and has array of direction.
+
+
+  const blockType = normalizeBlockType(blockTypeOrName);
+  const {
+    name: blockName,
+    transforms
+  } = blockType || {};
+
+  if (!transforms || !Array.isArray(transforms[direction])) {
+    return [];
+  }
+
+  const usingMobileTransformations = transforms.supportedMobileTransforms && Array.isArray(transforms.supportedMobileTransforms);
+  const filteredTransforms = usingMobileTransformations ? (0,external_lodash_namespaceObject.filter)(transforms[direction], t => {
+    if (t.type === 'raw') {
+      return true;
+    }
+
+    if (!t.blocks || !t.blocks.length) {
+      return false;
+    }
+
+    if (isWildcardBlockTransform(t)) {
+      return true;
+    }
+
+    return (0,external_lodash_namespaceObject.every)(t.blocks, transformBlockName => transforms.supportedMobileTransforms.includes(transformBlockName));
+  }) : transforms[direction]; // Map transforms to normal form.
+
+  return filteredTransforms.map(transform => ({ ...transform,
+    blockName,
+    usingMobileTransformations
+  }));
+}
+/**
+ * Switch one or more blocks into one or more blocks of the new block type.
+ *
+ * @param {Array|Object} blocks Blocks array or block object.
+ * @param {string}       name   Block name.
+ *
+ * @return {?Array} Array of blocks or null.
+ */
+
+function switchToBlockType(blocks, name) {
+  const blocksArray = (0,external_lodash_namespaceObject.castArray)(blocks);
+  const isMultiBlock = blocksArray.length > 1;
+  const firstBlock = blocksArray[0];
+  const sourceName = firstBlock.name; // Find the right transformation by giving priority to the "to"
+  // transformation.
+
+  const transformationsFrom = getBlockTransforms('from', name);
+  const transformationsTo = getBlockTransforms('to', sourceName);
+  const transformation = findTransform(transformationsTo, t => t.type === 'block' && (isWildcardBlockTransform(t) || t.blocks.indexOf(name) !== -1) && (!isMultiBlock || t.isMultiBlock)) || findTransform(transformationsFrom, t => t.type === 'block' && (isWildcardBlockTransform(t) || t.blocks.indexOf(sourceName) !== -1) && (!isMultiBlock || t.isMultiBlock)); // Stop if there is no valid transformation.
+
+  if (!transformation) {
+    return null;
+  }
+
+  let transformationResults;
+
+  if (transformation.isMultiBlock) {
+    if ((0,external_lodash_namespaceObject.has)(transformation, '__experimentalConvert')) {
+      transformationResults = transformation.__experimentalConvert(blocksArray);
+    } else {
+      transformationResults = transformation.transform(blocksArray.map(currentBlock => currentBlock.attributes), blocksArray.map(currentBlock => currentBlock.innerBlocks));
+    }
+  } else if ((0,external_lodash_namespaceObject.has)(transformation, '__experimentalConvert')) {
+    transformationResults = transformation.__experimentalConvert(firstBlock);
+  } else {
+    transformationResults = transformation.transform(firstBlock.attributes, firstBlock.innerBlocks);
+  } // Ensure that the transformation function returned an object or an array
+  // of objects.
+
+
+  if (!(0,external_lodash_namespaceObject.isObjectLike)(transformationResults)) {
+    return null;
+  } // If the transformation function returned a single object, we want to work
+  // with an array instead.
+
+
+  transformationResults = (0,external_lodash_namespaceObject.castArray)(transformationResults); // Ensure that every block object returned by the transformation has a
+  // valid block type.
+
+  if (transformationResults.some(result => !registration_getBlockType(result.name))) {
+    return null;
+  }
+
+  const hasSwitchedBlock = (0,external_lodash_namespaceObject.some)(transformationResults, result => result.name === name); // Ensure that at least one block object returned by the transformation has
+  // the expected "destination" block type.
+
+  if (!hasSwitchedBlock) {
+    return null;
+  }
+
+  const ret = transformationResults.map(result => {
+    /**
+     * Filters an individual transform result from block transformation.
+     * All of the original blocks are passed, since transformations are
+     * many-to-many, not one-to-one.
+     *
+     * @param {Object}   transformedBlock The transformed block.
+     * @param {Object[]} blocks           Original blocks transformed.
+     */
+    return (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.switchToBlockType.transformedBlock', result, blocks);
+  });
+  return ret;
+}
+/**
+ * Create a block object from the example API.
+ *
+ * @param {string} name
+ * @param {Object} example
+ *
+ * @return {Object} block.
+ */
+
+const getBlockFromExample = (name, example) => {
+  return createBlock(name, example.attributes, (0,external_lodash_namespaceObject.map)(example.innerBlocks, innerBlock => getBlockFromExample(innerBlock.name, innerBlock)));
+};
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/utils.js
+/**
+ * External dependencies
+ */
+
+
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+k([names, a11y]);
+/**
+ * Array of icon colors containing a color to be used if the icon color
+ * was not explicitly set but the icon background color was.
+ *
+ * @type {Object}
+ */
+
+const ICON_COLORS = ['#191e23', '#f8f9f9'];
+/**
+ * Determines whether the block is a default block
+ * and its attributes are equal to the default attributes
+ * which means the block is unmodified.
+ *
+ * @param {WPBlock} block Block Object
+ *
+ * @return {boolean} Whether the block is an unmodified default block
+ */
+
+function isUnmodifiedDefaultBlock(block) {
+  const defaultBlockName = registration_getDefaultBlockName();
+
+  if (block.name !== defaultBlockName) {
+    return false;
+  } // Cache a created default block if no cache exists or the default block
+  // name changed.
+
+
+  if (!isUnmodifiedDefaultBlock.block || isUnmodifiedDefaultBlock.block.name !== defaultBlockName) {
+    isUnmodifiedDefaultBlock.block = createBlock(defaultBlockName);
+  }
+
+  const newDefaultBlock = isUnmodifiedDefaultBlock.block;
+  const blockType = registration_getBlockType(defaultBlockName);
+  return (0,external_lodash_namespaceObject.every)(blockType === null || blockType === void 0 ? void 0 : blockType.attributes, (value, key) => newDefaultBlock.attributes[key] === block.attributes[key]);
+}
+/**
+ * Function that checks if the parameter is a valid icon.
+ *
+ * @param {*} icon Parameter to be checked.
+ *
+ * @return {boolean} True if the parameter is a valid icon and false otherwise.
+ */
+
+function isValidIcon(icon) {
+  return !!icon && ((0,external_lodash_namespaceObject.isString)(icon) || (0,external_wp_element_namespaceObject.isValidElement)(icon) || (0,external_lodash_namespaceObject.isFunction)(icon) || icon instanceof external_wp_element_namespaceObject.Component);
+}
+/**
+ * Function that receives an icon as set by the blocks during the registration
+ * and returns a new icon object that is normalized so we can rely on just on possible icon structure
+ * in the codebase.
+ *
+ * @param {WPBlockTypeIconRender} icon Render behavior of a block type icon;
+ *                                     one of a Dashicon slug, an element, or a
+ *                                     component.
+ *
+ * @return {WPBlockTypeIconDescriptor} Object describing the icon.
+ */
+
+function normalizeIconObject(icon) {
+  icon = icon || BLOCK_ICON_DEFAULT;
+
+  if (isValidIcon(icon)) {
+    return {
+      src: icon
+    };
+  }
+
+  if ((0,external_lodash_namespaceObject.has)(icon, ['background'])) {
+    const colordBgColor = w(icon.background);
+    return { ...icon,
+      foreground: icon.foreground ? icon.foreground : (0,external_lodash_namespaceObject.maxBy)(ICON_COLORS, iconColor => colordBgColor.contrast(iconColor)),
+      shadowColor: colordBgColor.alpha(0.3).toRgbString()
+    };
+  }
+
+  return icon;
+}
+/**
+ * Normalizes block type passed as param. When string is passed then
+ * it converts it to the matching block type object.
+ * It passes the original object otherwise.
+ *
+ * @param {string|Object} blockTypeOrName Block type or name.
+ *
+ * @return {?Object} Block type.
+ */
+
+function normalizeBlockType(blockTypeOrName) {
+  if ((0,external_lodash_namespaceObject.isString)(blockTypeOrName)) {
+    return registration_getBlockType(blockTypeOrName);
+  }
+
+  return blockTypeOrName;
+}
+/**
+ * Get the label for the block, usually this is either the block title,
+ * or the value of the block's `label` function when that's specified.
+ *
+ * @param {Object} blockType  The block type.
+ * @param {Object} attributes The values of the block's attributes.
+ * @param {Object} context    The intended use for the label.
+ *
+ * @return {string} The block label.
+ */
+
+function getBlockLabel(blockType, attributes) {
+  let context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'visual';
+  const {
+    __experimentalLabel: getLabel,
+    title
+  } = blockType;
+  const label = getLabel && getLabel(attributes, {
+    context
+  });
+
+  if (!label) {
+    return title;
+  } // Strip any HTML (i.e. RichText formatting) before returning.
+
+
+  return (0,external_wp_dom_namespaceObject.__unstableStripHTML)(label);
+}
+/**
+ * Get a label for the block for use by screenreaders, this is more descriptive
+ * than the visual label and includes the block title and the value of the
+ * `getLabel` function if it's specified.
+ *
+ * @param {Object}  blockType              The block type.
+ * @param {Object}  attributes             The values of the block's attributes.
+ * @param {?number} position               The position of the block in the block list.
+ * @param {string}  [direction='vertical'] The direction of the block layout.
+ *
+ * @return {string} The block label.
+ */
+
+function getAccessibleBlockLabel(blockType, attributes, position) {
+  let direction = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'vertical';
+  // `title` is already localized, `label` is a user-supplied value.
+  const title = blockType === null || blockType === void 0 ? void 0 : blockType.title;
+  const label = blockType ? getBlockLabel(blockType, attributes, 'accessibility') : '';
+  const hasPosition = position !== undefined; // getBlockLabel returns the block title as a fallback when there's no label,
+  // if it did return the title, this function needs to avoid adding the
+  // title twice within the accessible label. Use this `hasLabel` boolean to
+  // handle that.
+
+  const hasLabel = label && label !== title;
+
+  if (hasPosition && direction === 'vertical') {
+    if (hasLabel) {
+      return (0,external_wp_i18n_namespaceObject.sprintf)(
+      /* translators: accessibility text. 1: The block title. 2: The block row number. 3: The block label.. */
+      (0,external_wp_i18n_namespaceObject.__)('%1$s Block. Row %2$d. %3$s'), title, position, label);
+    }
+
+    return (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: accessibility text. 1: The block title. 2: The block row number. */
+    (0,external_wp_i18n_namespaceObject.__)('%1$s Block. Row %2$d'), title, position);
+  } else if (hasPosition && direction === 'horizontal') {
+    if (hasLabel) {
+      return (0,external_wp_i18n_namespaceObject.sprintf)(
+      /* translators: accessibility text. 1: The block title. 2: The block column number. 3: The block label.. */
+      (0,external_wp_i18n_namespaceObject.__)('%1$s Block. Column %2$d. %3$s'), title, position, label);
+    }
+
+    return (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: accessibility text. 1: The block title. 2: The block column number. */
+    (0,external_wp_i18n_namespaceObject.__)('%1$s Block. Column %2$d'), title, position);
+  }
+
+  if (hasLabel) {
+    return (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: accessibility text. %1: The block title. %2: The block label. */
+    (0,external_wp_i18n_namespaceObject.__)('%1$s Block. %2$s'), title, label);
+  }
+
+  return (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: accessibility text. %s: The block title. */
+  (0,external_wp_i18n_namespaceObject.__)('%s Block'), title);
+}
+/**
+ * Ensure attributes contains only values defined by block type, and merge
+ * default values for missing attributes.
+ *
+ * @param {string} name       The block's name.
+ * @param {Object} attributes The block's attributes.
+ * @return {Object} The sanitized attributes.
+ */
+
+function __experimentalSanitizeBlockAttributes(name, attributes) {
+  // Get the type definition associated with a registered block.
+  const blockType = registration_getBlockType(name);
+
+  if (undefined === blockType) {
+    throw new Error(`Block type '${name}' is not registered.`);
+  }
+
+  return (0,external_lodash_namespaceObject.reduce)(blockType.attributes, (accumulator, schema, key) => {
+    const value = attributes[key];
+
+    if (undefined !== value) {
+      accumulator[key] = value;
+    } else if (schema.hasOwnProperty('default')) {
+      accumulator[key] = schema.default;
+    }
+
+    if (['node', 'children'].indexOf(schema.source) !== -1) {
+      // Ensure value passed is always an array, which we're expecting in
+      // the RichText component to handle the deprecated value.
+      if (typeof accumulator[key] === 'string') {
+        accumulator[key] = [accumulator[key]];
+      } else if (!Array.isArray(accumulator[key])) {
+        accumulator[key] = [];
+      }
+    }
+
+    return accumulator;
+  }, {});
+}
+/**
+ * Filter block attributes by `role` and return their names.
+ *
+ * @param {string} name Block attribute's name.
+ * @param {string} role The role of a block attribute.
+ *
+ * @return {string[]} The attribute names that have the provided role.
+ */
+
+function __experimentalGetBlockAttributesNamesByRole(name, role) {
+  var _getBlockType;
+
+  const attributes = (_getBlockType = registration_getBlockType(name)) === null || _getBlockType === void 0 ? void 0 : _getBlockType.attributes;
+  if (!attributes) return [];
+  const attributesNames = Object.keys(attributes);
+  if (!role) return attributesNames;
+  return attributesNames.filter(attributeName => {
+    var _attributes$attribute;
+
+    return ((_attributes$attribute = attributes[attributeName]) === null || _attributes$attribute === void 0 ? void 0 : _attributes$attribute.__experimentalRole) === role;
+  });
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/actions.js
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+/** @typedef {import('../api/registration').WPBlockVariation} WPBlockVariation */
+
+const {
+  error,
+  warn
+} = window.console;
+/**
+ * Mapping of legacy category slugs to their latest normal values, used to
+ * accommodate updates of the default set of block categories.
+ *
+ * @type {Record<string,string>}
+ */
+
+const LEGACY_CATEGORY_MAPPING = {
+  common: 'text',
+  formatting: 'text',
+  layout: 'design'
+};
+/**
+ * Takes the unprocessed block type data and applies all the existing filters for the registered block type.
+ * Next, it validates all the settings and performs additional processing to the block type definition.
+ *
+ * @param {WPBlockType} blockType Unprocessed block type settings.
+ *
+ * @return {?WPBlockType} The block, if it has been successfully registered; otherwise `undefined`.
+ */
+
+function processBlockType(blockType) {
+  const {
+    name
+  } = blockType;
+  const settings = (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.registerBlockType', { ...blockType
+  }, name);
+
+  if (settings.deprecated) {
+    settings.deprecated = settings.deprecated.map(deprecation => (0,external_lodash_namespaceObject.pick)( // Only keep valid deprecation keys.
+    (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.registerBlockType', // Merge deprecation keys with pre-filter settings
+    // so that filters that depend on specific keys being
+    // present don't fail.
+    { // Omit deprecation keys here so that deprecations
+      // can opt out of specific keys like "supports".
+      ...(0,external_lodash_namespaceObject.omit)(blockType, DEPRECATED_ENTRY_KEYS),
+      ...deprecation
+    }, name), DEPRECATED_ENTRY_KEYS));
+  }
+
+  if (!(0,external_lodash_namespaceObject.isPlainObject)(settings)) {
+    error('Block settings must be a valid object.');
+    return;
+  }
+
+  if (!(0,external_lodash_namespaceObject.isFunction)(settings.save)) {
+    error('The "save" property must be a valid function.');
+    return;
+  }
+
+  if ('edit' in settings && !(0,external_lodash_namespaceObject.isFunction)(settings.edit)) {
+    error('The "edit" property must be a valid function.');
+    return;
+  } // Canonicalize legacy categories to equivalent fallback.
+
+
+  if (LEGACY_CATEGORY_MAPPING.hasOwnProperty(settings.category)) {
+    settings.category = LEGACY_CATEGORY_MAPPING[settings.category];
+  }
+
+  if ('category' in settings && !(0,external_lodash_namespaceObject.some)((0,external_wp_data_namespaceObject.select)(STORE_NAME).getCategories(), {
+    slug: settings.category
+  })) {
+    warn('The block "' + name + '" is registered with an invalid category "' + settings.category + '".');
+    delete settings.category;
+  }
+
+  if (!('title' in settings) || settings.title === '') {
+    error('The block "' + name + '" must have a title.');
+    return;
+  }
+
+  if (typeof settings.title !== 'string') {
+    error('Block titles must be strings.');
+    return;
+  }
+
+  settings.icon = normalizeIconObject(settings.icon);
+
+  if (!isValidIcon(settings.icon.src)) {
+    error('The icon passed is invalid. ' + 'The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional');
+    return;
+  }
+
+  return settings;
+}
+/**
+ * Returns an action object used in signalling that block types have been added.
+ *
+ * @param {Array|Object} blockTypes Block types received.
+ *
+ * @return {Object} Action object.
+ */
+
+
+function addBlockTypes(blockTypes) {
+  return {
+    type: 'ADD_BLOCK_TYPES',
+    blockTypes: (0,external_lodash_namespaceObject.castArray)(blockTypes)
+  };
+}
+/**
+ * Yields action objects signaling that the passed block type's settings should be stored in the state.
+ *
+ * @param {WPBlockType} blockType Unprocessed block type settings.
+ *
+ * @yield {Object} Action object.
+ */
+
+function* __experimentalRegisterBlockType(blockType) {
+  yield {
+    type: 'ADD_UNPROCESSED_BLOCK_TYPE',
+    blockType
+  };
+  const processedBlockType = processBlockType(blockType);
+
+  if (!processedBlockType) {
+    return;
+  }
+
+  yield addBlockTypes(processedBlockType);
+}
+/**
+ * Yields an action object signaling that all block types should be computed again.
+ * It uses stored unprocessed block types and all the most recent list of registered filters.
+ *
+ * It addresses the issue where third party block filters get registered after third party blocks. A sample sequence:
+ *   1. Filter A.
+ *   2. Block B.
+ *   3. Block C.
+ *   4. Filter D.
+ *   5. Filter E.
+ *   6. Block F.
+ *   7. Filter G.
+ * In this scenario some filters would not get applied for all blocks because they are registered too late.
+ *
+ * @yield {Object} Action object.
+ */
+
+function* __experimentalReapplyBlockTypeFilters() {
+  const unprocessedBlockTypes = (0,external_wp_data_namespaceObject.select)(STORE_NAME).__experimentalGetUnprocessedBlockTypes();
+
+  const processedBlockTypes = Object.keys(unprocessedBlockTypes).reduce((accumulator, blockName) => {
+    const result = processBlockType(unprocessedBlockTypes[blockName]);
+
+    if (result) {
+      accumulator.push(result);
+    }
+
+    return accumulator;
+  }, []);
+
+  if (!processedBlockTypes.length) {
+    return;
+  }
+
+  yield addBlockTypes(processedBlockTypes);
+}
+/**
+ * Returns an action object used to remove a registered block type.
+ *
+ * @param {string|Array} names Block name.
+ *
+ * @return {Object} Action object.
+ */
+
+function removeBlockTypes(names) {
+  return {
+    type: 'REMOVE_BLOCK_TYPES',
+    names: (0,external_lodash_namespaceObject.castArray)(names)
+  };
+}
+/**
+ * Returns an action object used in signalling that new block styles have been added.
+ *
+ * @param {string}       blockName Block name.
+ * @param {Array|Object} styles    Block styles.
+ *
+ * @return {Object} Action object.
+ */
+
+function addBlockStyles(blockName, styles) {
+  return {
+    type: 'ADD_BLOCK_STYLES',
+    styles: (0,external_lodash_namespaceObject.castArray)(styles),
+    blockName
+  };
+}
+/**
+ * Returns an action object used in signalling that block styles have been removed.
+ *
+ * @param {string}       blockName  Block name.
+ * @param {Array|string} styleNames Block style names.
+ *
+ * @return {Object} Action object.
+ */
+
+function removeBlockStyles(blockName, styleNames) {
+  return {
+    type: 'REMOVE_BLOCK_STYLES',
+    styleNames: (0,external_lodash_namespaceObject.castArray)(styleNames),
+    blockName
+  };
+}
+/**
+ * Returns an action object used in signalling that new block variations have been added.
+ *
+ * @param {string}                              blockName  Block name.
+ * @param {WPBlockVariation|WPBlockVariation[]} variations Block variations.
+ *
+ * @return {Object} Action object.
+ */
+
+function addBlockVariations(blockName, variations) {
+  return {
+    type: 'ADD_BLOCK_VARIATIONS',
+    variations: (0,external_lodash_namespaceObject.castArray)(variations),
+    blockName
+  };
+}
+/**
+ * Returns an action object used in signalling that block variations have been removed.
+ *
+ * @param {string}          blockName      Block name.
+ * @param {string|string[]} variationNames Block variation names.
+ *
+ * @return {Object} Action object.
+ */
+
+function removeBlockVariations(blockName, variationNames) {
+  return {
+    type: 'REMOVE_BLOCK_VARIATIONS',
+    variationNames: (0,external_lodash_namespaceObject.castArray)(variationNames),
+    blockName
+  };
+}
+/**
+ * Returns an action object used to set the default block name.
+ *
+ * @param {string} name Block name.
+ *
+ * @return {Object} Action object.
+ */
+
+function actions_setDefaultBlockName(name) {
+  return {
+    type: 'SET_DEFAULT_BLOCK_NAME',
+    name
+  };
+}
+/**
+ * Returns an action object used to set the name of the block used as a fallback
+ * for non-block content.
+ *
+ * @param {string} name Block name.
+ *
+ * @return {Object} Action object.
+ */
+
+function setFreeformFallbackBlockName(name) {
+  return {
+    type: 'SET_FREEFORM_FALLBACK_BLOCK_NAME',
+    name
+  };
+}
+/**
+ * Returns an action object used to set the name of the block used as a fallback
+ * for unregistered blocks.
+ *
+ * @param {string} name Block name.
+ *
+ * @return {Object} Action object.
+ */
+
+function setUnregisteredFallbackBlockName(name) {
+  return {
+    type: 'SET_UNREGISTERED_FALLBACK_BLOCK_NAME',
+    name
+  };
+}
+/**
+ * Returns an action object used to set the name of the block used
+ * when grouping other blocks
+ * eg: in "Group/Ungroup" interactions
+ *
+ * @param {string} name Block name.
+ *
+ * @return {Object} Action object.
+ */
+
+function actions_setGroupingBlockName(name) {
+  return {
+    type: 'SET_GROUPING_BLOCK_NAME',
+    name
+  };
+}
+/**
+ * Returns an action object used to set block categories.
+ *
+ * @param {Object[]} categories Block categories.
+ *
+ * @return {Object} Action object.
+ */
+
+function setCategories(categories) {
+  return {
+    type: 'SET_CATEGORIES',
+    categories
+  };
+}
+/**
+ * Returns an action object used to update a category.
+ *
+ * @param {string} slug     Block category slug.
+ * @param {Object} category Object containing the category properties that should be updated.
+ *
+ * @return {Object} Action object.
+ */
+
+function updateCategory(slug, category) {
+  return {
+    type: 'UPDATE_CATEGORY',
+    slug,
+    category
+  };
+}
+/**
+ * Returns an action object used to add block collections
+ *
+ * @param {string} namespace The namespace of the blocks to put in the collection
+ * @param {string} title     The title to display in the block inserter
+ * @param {Object} icon      (optional) The icon to display in the block inserter
+ *
+ * @return {Object} Action object.
+ */
+
+function addBlockCollection(namespace, title, icon) {
+  return {
+    type: 'ADD_BLOCK_COLLECTION',
+    namespace,
+    title,
+    icon
+  };
+}
+/**
+ * Returns an action object used to remove block collections
+ *
+ * @param {string} namespace The namespace of the blocks to put in the collection
+ *
+ * @return {Object} Action object.
+ */
+
+function removeBlockCollection(namespace) {
+  return {
+    type: 'REMOVE_BLOCK_COLLECTION',
+    namespace
+  };
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/index.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+/**
+ * Store definition for the blocks namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
+ */
+
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
+  reducer: reducer,
+  selectors: selectors_namespaceObject,
+  actions: actions_namespaceObject
+});
+(0,external_wp_data_namespaceObject.register)(store);
+
+;// CONCATENATED MODULE: external ["wp","blockSerializationDefaultParser"]
+var external_wp_blockSerializationDefaultParser_namespaceObject = window["wp"]["blockSerializationDefaultParser"];
+;// CONCATENATED MODULE: external ["wp","autop"]
+var external_wp_autop_namespaceObject = window["wp"]["autop"];
+;// CONCATENATED MODULE: external ["wp","isShallowEqual"]
+var external_wp_isShallowEqual_namespaceObject = window["wp"]["isShallowEqual"];
+var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/serializer.js
+
+
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+/**
+ * @typedef {Object} WPBlockSerializationOptions Serialization Options.
+ *
+ * @property {boolean} isInnerBlocks Whether we are serializing inner blocks.
+ */
+
+/**
+ * Returns the block's default classname from its name.
+ *
+ * @param {string} blockName The block name.
+ *
+ * @return {string} The block's default class.
+ */
+
+function getBlockDefaultClassName(blockName) {
+  // Generated HTML classes for blocks follow the `wp-block-{name}` nomenclature.
+  // Blocks provided by WordPress drop the prefixes 'core/' or 'core-' (historically used in 'core-embed/').
+  const className = 'wp-block-' + blockName.replace(/\//, '-').replace(/^core-/, '');
+  return (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.getBlockDefaultClassName', className, blockName);
+}
+/**
+ * Returns the block's default menu item classname from its name.
+ *
+ * @param {string} blockName The block name.
+ *
+ * @return {string} The block's default menu item class.
+ */
+
+function getBlockMenuDefaultClassName(blockName) {
+  // Generated HTML classes for blocks follow the `editor-block-list-item-{name}` nomenclature.
+  // Blocks provided by WordPress drop the prefixes 'core/' or 'core-' (historically used in 'core-embed/').
+  const className = 'editor-block-list-item-' + blockName.replace(/\//, '-').replace(/^core-/, '');
+  return (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.getBlockMenuDefaultClassName', className, blockName);
+}
+const blockPropsProvider = {};
+const innerBlocksPropsProvider = {};
+/**
+ * Call within a save function to get the props for the block wrapper.
+ *
+ * @param {Object} props Optional. Props to pass to the element.
+ */
+
+function getBlockProps() {
+  let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const {
+    blockType,
+    attributes
+  } = blockPropsProvider;
+  return (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.getSaveContent.extraProps', { ...props
+  }, blockType, attributes);
+}
+/**
+ * Call within a save function to get the props for the inner blocks wrapper.
+ *
+ * @param {Object} props Optional. Props to pass to the element.
+ */
+
+function getInnerBlocksProps() {
+  let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const {
+    innerBlocks
+  } = innerBlocksPropsProvider; // Value is an array of blocks, so defer to block serializer
+
+  const html = serializer_serialize(innerBlocks, {
+    isInnerBlocks: true
+  }); // Use special-cased raw HTML tag to avoid default escaping.
+
+  const children = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, html);
+  return { ...props,
+    children
+  };
+}
+/**
+ * Given a block type containing a save render implementation and attributes, returns the
+ * enhanced element to be saved or string when raw HTML expected.
+ *
+ * @param {string|Object} blockTypeOrName Block type or name.
+ * @param {Object}        attributes      Block attributes.
+ * @param {?Array}        innerBlocks     Nested blocks.
+ *
+ * @return {Object|string} Save element or raw HTML string.
+ */
+
+function getSaveElement(blockTypeOrName, attributes) {
+  let innerBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
+  const blockType = normalizeBlockType(blockTypeOrName);
+  let {
+    save
+  } = blockType; // Component classes are unsupported for save since serialization must
+  // occur synchronously. For improved interoperability with higher-order
+  // components which often return component class, emulate basic support.
+
+  if (save.prototype instanceof external_wp_element_namespaceObject.Component) {
+    const instance = new save({
+      attributes
+    });
+    save = instance.render.bind(instance);
+  }
+
+  blockPropsProvider.blockType = blockType;
+  blockPropsProvider.attributes = attributes;
+  innerBlocksPropsProvider.innerBlocks = innerBlocks;
+  let element = save({
+    attributes,
+    innerBlocks
+  });
+
+  if ((0,external_lodash_namespaceObject.isObject)(element) && (0,external_wp_hooks_namespaceObject.hasFilter)('blocks.getSaveContent.extraProps') && !(blockType.apiVersion > 1)) {
+    /**
+     * Filters the props applied to the block save result element.
+     *
+     * @param {Object}  props      Props applied to save element.
+     * @param {WPBlock} blockType  Block type definition.
+     * @param {Object}  attributes Block attributes.
+     */
+    const props = (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.getSaveContent.extraProps', { ...element.props
+    }, blockType, attributes);
+
+    if (!external_wp_isShallowEqual_default()(props, element.props)) {
+      element = (0,external_wp_element_namespaceObject.cloneElement)(element, props);
+    }
+  }
+  /**
+   * Filters the save result of a block during serialization.
+   *
+   * @param {WPElement} element    Block save result.
+   * @param {WPBlock}   blockType  Block type definition.
+   * @param {Object}    attributes Block attributes.
+   */
+
+
+  return (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.getSaveElement', element, blockType, attributes);
+}
+/**
+ * Given a block type containing a save render implementation and attributes, returns the
+ * static markup to be saved.
+ *
+ * @param {string|Object} blockTypeOrName Block type or name.
+ * @param {Object}        attributes      Block attributes.
+ * @param {?Array}        innerBlocks     Nested blocks.
+ *
+ * @return {string} Save content.
+ */
+
+function getSaveContent(blockTypeOrName, attributes, innerBlocks) {
+  const blockType = normalizeBlockType(blockTypeOrName);
+  return (0,external_wp_element_namespaceObject.renderToString)(getSaveElement(blockType, attributes, innerBlocks));
+}
+/**
+ * Returns attributes which are to be saved and serialized into the block
+ * comment delimiter.
+ *
+ * When a block exists in memory it contains as its attributes both those
+ * parsed the block comment delimiter _and_ those which matched from the
+ * contents of the block.
+ *
+ * This function returns only those attributes which are needed to persist and
+ * which cannot be matched from the block content.
+ *
+ * @param {Object<string,*>} blockType  Block type.
+ * @param {Object<string,*>} attributes Attributes from in-memory block data.
+ *
+ * @return {Object<string,*>} Subset of attributes for comment serialization.
+ */
+
+function getCommentAttributes(blockType, attributes) {
+  return (0,external_lodash_namespaceObject.reduce)(blockType.attributes, (accumulator, attributeSchema, key) => {
+    const value = attributes[key]; // Ignore undefined values.
+
+    if (undefined === value) {
+      return accumulator;
+    } // Ignore all attributes but the ones with an "undefined" source
+    // "undefined" source refers to attributes saved in the block comment.
+
+
+    if (attributeSchema.source !== undefined) {
+      return accumulator;
+    } // Ignore default value.
+
+
+    if ('default' in attributeSchema && attributeSchema.default === value) {
+      return accumulator;
+    } // Otherwise, include in comment set.
+
+
+    accumulator[key] = value;
+    return accumulator;
+  }, {});
+}
+/**
+ * Given an attributes object, returns a string in the serialized attributes
+ * format prepared for post content.
+ *
+ * @param {Object} attributes Attributes object.
+ *
+ * @return {string} Serialized attributes.
+ */
+
+function serializeAttributes(attributes) {
+  return JSON.stringify(attributes) // Don't break HTML comments.
+  .replace(/--/g, '\\u002d\\u002d') // Don't break non-standard-compliant tools.
+  .replace(/</g, '\\u003c').replace(/>/g, '\\u003e').replace(/&/g, '\\u0026') // Bypass server stripslashes behavior which would unescape stringify's
+  // escaping of quotation mark.
+  //
+  // See: https://developer.wordpress.org/reference/functions/wp_kses_stripslashes/
+  .replace(/\\"/g, '\\u0022');
+}
+/**
+ * Given a block object, returns the Block's Inner HTML markup.
+ *
+ * @param {Object} block Block instance.
+ *
+ * @return {string} HTML.
+ */
+
+function getBlockInnerHTML(block) {
+  // If block was parsed as invalid or encounters an error while generating
+  // save content, use original content instead to avoid content loss. If a
+  // block contains nested content, exempt it from this condition because we
+  // otherwise have no access to its original content and content loss would
+  // still occur.
+  let saveContent = block.originalContent;
+
+  if (block.isValid || block.innerBlocks.length) {
+    try {
+      saveContent = getSaveContent(block.name, block.attributes, block.innerBlocks);
+    } catch (error) {}
+  }
+
+  return saveContent;
+}
+/**
+ * Returns the content of a block, including comment delimiters.
+ *
+ * @param {string} rawBlockName Block name.
+ * @param {Object} attributes   Block attributes.
+ * @param {string} content      Block save content.
+ *
+ * @return {string} Comment-delimited block content.
+ */
+
+function getCommentDelimitedContent(rawBlockName, attributes, content) {
+  const serializedAttributes = !(0,external_lodash_namespaceObject.isEmpty)(attributes) ? serializeAttributes(attributes) + ' ' : ''; // Strip core blocks of their namespace prefix.
+
+  const blockName = (0,external_lodash_namespaceObject.startsWith)(rawBlockName, 'core/') ? rawBlockName.slice(5) : rawBlockName; // @todo make the `wp:` prefix potentially configurable.
+
+  if (!content) {
+    return `<!-- wp:${blockName} ${serializedAttributes}/-->`;
+  }
+
+  return `<!-- wp:${blockName} ${serializedAttributes}-->\n` + content + `\n<!-- /wp:${blockName} -->`;
+}
+/**
+ * Returns the content of a block, including comment delimiters, determining
+ * serialized attributes and content form from the current state of the block.
+ *
+ * @param {Object}                      block   Block instance.
+ * @param {WPBlockSerializationOptions} options Serialization options.
+ *
+ * @return {string} Serialized block.
+ */
+
+function serializeBlock(block) {
+  let {
+    isInnerBlocks = false
+  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  const blockName = block.name;
+  const saveContent = getBlockInnerHTML(block);
+
+  if (blockName === getUnregisteredTypeHandlerName() || !isInnerBlocks && blockName === getFreeformContentHandlerName()) {
+    return saveContent;
+  }
+
+  const blockType = registration_getBlockType(blockName);
+  const saveAttributes = getCommentAttributes(blockType, block.attributes);
+  return getCommentDelimitedContent(blockName, saveAttributes, saveContent);
+}
+function __unstableSerializeAndClean(blocks) {
+  // A single unmodified default block is assumed to
+  // be equivalent to an empty post.
+  if (blocks.length === 1 && isUnmodifiedDefaultBlock(blocks[0])) {
+    blocks = [];
+  }
+
+  let content = serializer_serialize(blocks); // For compatibility, treat a post consisting of a
+  // single freeform block as legacy content and apply
+  // pre-block-editor removep'd content formatting.
+
+  if (blocks.length === 1 && blocks[0].name === getFreeformContentHandlerName()) {
+    content = (0,external_wp_autop_namespaceObject.removep)(content);
+  }
+
+  return content;
+}
+/**
+ * Takes a block or set of blocks and returns the serialized post content.
+ *
+ * @param {Array}                       blocks  Block(s) to serialize.
+ * @param {WPBlockSerializationOptions} options Serialization options.
+ *
+ * @return {string} The post content.
+ */
+
+function serializer_serialize(blocks, options) {
+  return (0,external_lodash_namespaceObject.castArray)(blocks).map(block => serializeBlock(block, options)).join('\n\n');
+}
+
+;// CONCATENATED MODULE: ./node_modules/simple-html-tokenizer/dist/es6/index.js
+/**
+ * generated from https://raw.githubusercontent.com/w3c/html/26b5126f96f736f796b9e29718138919dd513744/entities.json
+ * do not edit
+ */
+var namedCharRefs = {
+    Aacute: "Á", aacute: "á", Abreve: "Ă", abreve: "ă", ac: "∾", acd: "∿", acE: "∾̳", Acirc: "Â", acirc: "â", acute: "´", Acy: "А", acy: "а", AElig: "Æ", aelig: "æ", af: "\u2061", Afr: "𝔄", afr: "𝔞", Agrave: "À", agrave: "à", alefsym: "ℵ", aleph: "ℵ", Alpha: "Α", alpha: "α", Amacr: "Ā", amacr: "ā", amalg: "⨿", amp: "&", AMP: "&", andand: "⩕", And: "⩓", and: "∧", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", ange: "⦤", angle: "∠", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angmsd: "∡", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angst: "Å", angzarr: "⍼", Aogon: "Ą", aogon: "ą", Aopf: "𝔸", aopf: "𝕒", apacir: "⩯", ap: "≈", apE: "⩰", ape: "≊", apid: "≋", apos: "'", ApplyFunction: "\u2061", approx: "≈", approxeq: "≊", Aring: "Å", aring: "å", Ascr: "𝒜", ascr: "𝒶", Assign: "≔", ast: "*", asymp: "≈", asympeq: "≍", Atilde: "Ã", atilde: "ã", Auml: "Ä", auml: "ä", awconint: "∳", awint: "⨑", backcong: "≌", backepsilon: "϶", backprime: "‵", backsim: "∽", backsimeq: "⋍", Backslash: "∖", Barv: "⫧", barvee: "⊽", barwed: "⌅", Barwed: "⌆", barwedge: "⌅", bbrk: "⎵", bbrktbrk: "⎶", bcong: "≌", Bcy: "Б", bcy: "б", bdquo: "„", becaus: "∵", because: "∵", Because: "∵", bemptyv: "⦰", bepsi: "϶", bernou: "ℬ", Bernoullis: "ℬ", Beta: "Β", beta: "β", beth: "ℶ", between: "≬", Bfr: "𝔅", bfr: "𝔟", bigcap: "⋂", bigcirc: "◯", bigcup: "⋃", bigodot: "⨀", bigoplus: "⨁", bigotimes: "⨂", bigsqcup: "⨆", bigstar: "★", bigtriangledown: "▽", bigtriangleup: "△", biguplus: "⨄", bigvee: "⋁", bigwedge: "⋀", bkarow: "⤍", blacklozenge: "⧫", blacksquare: "▪", blacktriangle: "▴", blacktriangledown: "▾", blacktriangleleft: "◂", blacktriangleright: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bNot: "⫭", bnot: "⌐", Bopf: "𝔹", bopf: "𝕓", bot: "⊥", bottom: "⊥", bowtie: "⋈", boxbox: "⧉", boxdl: "┐", boxdL: "╕", boxDl: "╖", boxDL: "╗", boxdr: "┌", boxdR: "╒", boxDr: "╓", boxDR: "╔", boxh: "─", boxH: "═", boxhd: "┬", boxHd: "╤", boxhD: "╥", boxHD: "╦", boxhu: "┴", boxHu: "╧", boxhU: "╨", boxHU: "╩", boxminus: "⊟", boxplus: "⊞", boxtimes: "⊠", boxul: "┘", boxuL: "╛", boxUl: "╜", boxUL: "╝", boxur: "└", boxuR: "╘", boxUr: "╙", boxUR: "╚", boxv: "│", boxV: "║", boxvh: "┼", boxvH: "╪", boxVh: "╫", boxVH: "╬", boxvl: "┤", boxvL: "╡", boxVl: "╢", boxVL: "╣", boxvr: "├", boxvR: "╞", boxVr: "╟", boxVR: "╠", bprime: "‵", breve: "˘", Breve: "˘", brvbar: "¦", bscr: "𝒷", Bscr: "ℬ", bsemi: "⁏", bsim: "∽", bsime: "⋍", bsolb: "⧅", bsol: "\\", bsolhsub: "⟈", bull: "•", bullet: "•", bump: "≎", bumpE: "⪮", bumpe: "≏", Bumpeq: "≎", bumpeq: "≏", Cacute: "Ć", cacute: "ć", capand: "⩄", capbrcup: "⩉", capcap: "⩋", cap: "∩", Cap: "⋒", capcup: "⩇", capdot: "⩀", CapitalDifferentialD: "ⅅ", caps: "∩︀", caret: "⁁", caron: "ˇ", Cayleys: "ℭ", ccaps: "⩍", Ccaron: "Č", ccaron: "č", Ccedil: "Ç", ccedil: "ç", Ccirc: "Ĉ", ccirc: "ĉ", Cconint: "∰", ccups: "⩌", ccupssm: "⩐", Cdot: "Ċ", cdot: "ċ", cedil: "¸", Cedilla: "¸", cemptyv: "⦲", cent: "¢", centerdot: "·", CenterDot: "·", cfr: "𝔠", Cfr: "ℭ", CHcy: "Ч", chcy: "ч", check: "✓", checkmark: "✓", Chi: "Χ", chi: "χ", circ: "ˆ", circeq: "≗", circlearrowleft: "↺", circlearrowright: "↻", circledast: "⊛", circledcirc: "⊚", circleddash: "⊝", CircleDot: "⊙", circledR: "®", circledS: "Ⓢ", CircleMinus: "⊖", CirclePlus: "⊕", CircleTimes: "⊗", cir: "○", cirE: "⧃", cire: "≗", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", ClockwiseContourIntegral: "∲", CloseCurlyDoubleQuote: "”", CloseCurlyQuote: "’", clubs: "♣", clubsuit: "♣", colon: ":", Colon: "∷", Colone: "⩴", colone: "≔", coloneq: "≔", comma: ",", commat: "@", comp: "∁", compfn: "∘", complement: "∁", complexes: "ℂ", cong: "≅", congdot: "⩭", Congruent: "≡", conint: "∮", Conint: "∯", ContourIntegral: "∮", copf: "𝕔", Copf: "ℂ", coprod: "∐", Coproduct: "∐", copy: "©", COPY: "©", copysr: "℗", CounterClockwiseContourIntegral: "∳", crarr: "↵", cross: "✗", Cross: "⨯", Cscr: "𝒞", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", cuesc: "⋟", cularr: "↶", cularrp: "⤽", cupbrcap: "⩈", cupcap: "⩆", CupCap: "≍", cup: "∪", Cup: "⋓", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curarrm: "⤼", curlyeqprec: "⋞", curlyeqsucc: "⋟", curlyvee: "⋎", curlywedge: "⋏", curren: "¤", curvearrowleft: "↶", curvearrowright: "↷", cuvee: "⋎", cuwed: "⋏", cwconint: "∲", cwint: "∱", cylcty: "⌭", dagger: "†", Dagger: "‡", daleth: "ℸ", darr: "↓", Darr: "↡", dArr: "⇓", dash: "‐", Dashv: "⫤", dashv: "⊣", dbkarow: "⤏", dblac: "˝", Dcaron: "Ď", dcaron: "ď", Dcy: "Д", dcy: "д", ddagger: "‡", ddarr: "⇊", DD: "ⅅ", dd: "ⅆ", DDotrahd: "⤑", ddotseq: "⩷", deg: "°", Del: "∇", Delta: "Δ", delta: "δ", demptyv: "⦱", dfisht: "⥿", Dfr: "𝔇", dfr: "𝔡", dHar: "⥥", dharl: "⇃", dharr: "⇂", DiacriticalAcute: "´", DiacriticalDot: "˙", DiacriticalDoubleAcute: "˝", DiacriticalGrave: "`", DiacriticalTilde: "˜", diam: "⋄", diamond: "⋄", Diamond: "⋄", diamondsuit: "♦", diams: "♦", die: "¨", DifferentialD: "ⅆ", digamma: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", DJcy: "Ђ", djcy: "ђ", dlcorn: "⌞", dlcrop: "⌍", dollar: "$", Dopf: "𝔻", dopf: "𝕕", Dot: "¨", dot: "˙", DotDot: "⃜", doteq: "≐", doteqdot: "≑", DotEqual: "≐", dotminus: "∸", dotplus: "∔", dotsquare: "⊡", doublebarwedge: "⌆", DoubleContourIntegral: "∯", DoubleDot: "¨", DoubleDownArrow: "⇓", DoubleLeftArrow: "⇐", DoubleLeftRightArrow: "⇔", DoubleLeftTee: "⫤", DoubleLongLeftArrow: "⟸", DoubleLongLeftRightArrow: "⟺", DoubleLongRightArrow: "⟹", DoubleRightArrow: "⇒", DoubleRightTee: "⊨", DoubleUpArrow: "⇑", DoubleUpDownArrow: "⇕", DoubleVerticalBar: "∥", DownArrowBar: "⤓", downarrow: "↓", DownArrow: "↓", Downarrow: "⇓", DownArrowUpArrow: "⇵", DownBreve: "̑", downdownarrows: "⇊", downharpoonleft: "⇃", downharpoonright: "⇂", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVectorBar: "⥖", DownLeftVector: "↽", DownRightTeeVector: "⥟", DownRightVectorBar: "⥗", DownRightVector: "⇁", DownTeeArrow: "↧", DownTee: "⊤", drbkarow: "⤐", drcorn: "⌟", drcrop: "⌌", Dscr: "𝒟", dscr: "𝒹", DScy: "Ѕ", dscy: "ѕ", dsol: "⧶", Dstrok: "Đ", dstrok: "đ", dtdot: "⋱", dtri: "▿", dtrif: "▾", duarr: "⇵", duhar: "⥯", dwangle: "⦦", DZcy: "Џ", dzcy: "џ", dzigrarr: "⟿", Eacute: "É", eacute: "é", easter: "⩮", Ecaron: "Ě", ecaron: "ě", Ecirc: "Ê", ecirc: "ê", ecir: "≖", ecolon: "≕", Ecy: "Э", ecy: "э", eDDot: "⩷", Edot: "Ė", edot: "ė", eDot: "≑", ee: "ⅇ", efDot: "≒", Efr: "𝔈", efr: "𝔢", eg: "⪚", Egrave: "È", egrave: "è", egs: "⪖", egsdot: "⪘", el: "⪙", Element: "∈", elinters: "⏧", ell: "ℓ", els: "⪕", elsdot: "⪗", Emacr: "Ē", emacr: "ē", empty: "∅", emptyset: "∅", EmptySmallSquare: "◻", emptyv: "∅", EmptyVerySmallSquare: "▫", emsp13: " ", emsp14: " ", emsp: " ", ENG: "Ŋ", eng: "ŋ", ensp: " ", Eogon: "Ę", eogon: "ę", Eopf: "𝔼", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", Epsilon: "Ε", epsilon: "ε", epsiv: "ϵ", eqcirc: "≖", eqcolon: "≕", eqsim: "≂", eqslantgtr: "⪖", eqslantless: "⪕", Equal: "⩵", equals: "=", EqualTilde: "≂", equest: "≟", Equilibrium: "⇌", equiv: "≡", equivDD: "⩸", eqvparsl: "⧥", erarr: "⥱", erDot: "≓", escr: "ℯ", Escr: "ℰ", esdot: "≐", Esim: "⩳", esim: "≂", Eta: "Η", eta: "η", ETH: "Ð", eth: "ð", Euml: "Ë", euml: "ë", euro: "€", excl: "!", exist: "∃", Exists: "∃", expectation: "ℰ", exponentiale: "ⅇ", ExponentialE: "ⅇ", fallingdotseq: "≒", Fcy: "Ф", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", Ffr: "𝔉", ffr: "𝔣", filig: "fi", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", Fopf: "𝔽", fopf: "𝕗", forall: "∀", ForAll: "∀", fork: "⋔", forkv: "⫙", Fouriertrf: "ℱ", fpartint: "⨍", frac12: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", fscr: "𝒻", Fscr: "ℱ", gacute: "ǵ", Gamma: "Γ", gamma: "γ", Gammad: "Ϝ", gammad: "ϝ", gap: "⪆", Gbreve: "Ğ", gbreve: "ğ", Gcedil: "Ģ", Gcirc: "Ĝ", gcirc: "ĝ", Gcy: "Г", gcy: "г", Gdot: "Ġ", gdot: "ġ", ge: "≥", gE: "≧", gEl: "⪌", gel: "⋛", geq: "≥", geqq: "≧", geqslant: "⩾", gescc: "⪩", ges: "⩾", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", Gfr: "𝔊", gfr: "𝔤", gg: "≫", Gg: "⋙", ggg: "⋙", gimel: "ℷ", GJcy: "Ѓ", gjcy: "ѓ", gla: "⪥", gl: "≷", glE: "⪒", glj: "⪤", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gnE: "≩", gneq: "⪈", gneqq: "≩", gnsim: "⋧", Gopf: "𝔾", gopf: "𝕘", grave: "`", GreaterEqual: "≥", GreaterEqualLess: "⋛", GreaterFullEqual: "≧", GreaterGreater: "⪢", GreaterLess: "≷", GreaterSlantEqual: "⩾", GreaterTilde: "≳", Gscr: "𝒢", gscr: "ℊ", gsim: "≳", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gt: ">", GT: ">", Gt: "≫", gtdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrapprox: "⪆", gtrarr: "⥸", gtrdot: "⋗", gtreqless: "⋛", gtreqqless: "⪌", gtrless: "≷", gtrsim: "≳", gvertneqq: "≩︀", gvnE: "≩︀", Hacek: "ˇ", hairsp: " ", half: "½", hamilt: "ℋ", HARDcy: "Ъ", hardcy: "ъ", harrcir: "⥈", harr: "↔", hArr: "⇔", harrw: "↭", Hat: "^", hbar: "ℏ", Hcirc: "Ĥ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", hercon: "⊹", hfr: "𝔥", Hfr: "ℌ", HilbertSpace: "ℋ", hksearow: "⤥", hkswarow: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", hookrightarrow: "↪", hopf: "𝕙", Hopf: "ℍ", horbar: "―", HorizontalLine: "─", hscr: "𝒽", Hscr: "ℋ", hslash: "ℏ", Hstrok: "Ħ", hstrok: "ħ", HumpDownHump: "≎", HumpEqual: "≏", hybull: "⁃", hyphen: "‐", Iacute: "Í", iacute: "í", ic: "\u2063", Icirc: "Î", icirc: "î", Icy: "И", icy: "и", Idot: "İ", IEcy: "Е", iecy: "е", iexcl: "¡", iff: "⇔", ifr: "𝔦", Ifr: "ℑ", Igrave: "Ì", igrave: "ì", ii: "ⅈ", iiiint: "⨌", iiint: "∭", iinfin: "⧜", iiota: "℩", IJlig: "IJ", ijlig: "ij", Imacr: "Ī", imacr: "ī", image: "ℑ", ImaginaryI: "ⅈ", imagline: "ℐ", imagpart: "ℑ", imath: "ı", Im: "ℑ", imof: "⊷", imped: "Ƶ", Implies: "⇒", incare: "℅", in: "∈", infin: "∞", infintie: "⧝", inodot: "ı", intcal: "⊺", int: "∫", Int: "∬", integers: "ℤ", Integral: "∫", intercal: "⊺", Intersection: "⋂", intlarhk: "⨗", intprod: "⨼", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", IOcy: "Ё", iocy: "ё", Iogon: "Į", iogon: "į", Iopf: "𝕀", iopf: "𝕚", Iota: "Ι", iota: "ι", iprod: "⨼", iquest: "¿", iscr: "𝒾", Iscr: "ℐ", isin: "∈", isindot: "⋵", isinE: "⋹", isins: "⋴", isinsv: "⋳", isinv: "∈", it: "\u2062", Itilde: "Ĩ", itilde: "ĩ", Iukcy: "І", iukcy: "і", Iuml: "Ï", iuml: "ï", Jcirc: "Ĵ", jcirc: "ĵ", Jcy: "Й", jcy: "й", Jfr: "𝔍", jfr: "𝔧", jmath: "ȷ", Jopf: "𝕁", jopf: "𝕛", Jscr: "𝒥", jscr: "𝒿", Jsercy: "Ј", jsercy: "ј", Jukcy: "Є", jukcy: "є", Kappa: "Κ", kappa: "κ", kappav: "ϰ", Kcedil: "Ķ", kcedil: "ķ", Kcy: "К", kcy: "к", Kfr: "𝔎", kfr: "𝔨", kgreen: "ĸ", KHcy: "Х", khcy: "х", KJcy: "Ќ", kjcy: "ќ", Kopf: "𝕂", kopf: "𝕜", Kscr: "𝒦", kscr: "𝓀", lAarr: "⇚", Lacute: "Ĺ", lacute: "ĺ", laemptyv: "⦴", lagran: "ℒ", Lambda: "Λ", lambda: "λ", lang: "⟨", Lang: "⟪", langd: "⦑", langle: "⟨", lap: "⪅", Laplacetrf: "ℒ", laquo: "«", larrb: "⇤", larrbfs: "⤟", larr: "←", Larr: "↞", lArr: "⇐", larrfs: "⤝", larrhk: "↩", larrlp: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", latail: "⤙", lAtail: "⤛", lat: "⪫", late: "⪭", lates: "⪭︀", lbarr: "⤌", lBarr: "⤎", lbbrk: "❲", lbrace: "{", lbrack: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", Lcaron: "Ľ", lcaron: "ľ", Lcedil: "Ļ", lcedil: "ļ", lceil: "⌈", lcub: "{", Lcy: "Л", lcy: "л", ldca: "⤶", ldquo: "“", ldquor: "„", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", lE: "≦", LeftAngleBracket: "⟨", LeftArrowBar: "⇤", leftarrow: "←", LeftArrow: "←", Leftarrow: "⇐", LeftArrowRightArrow: "⇆", leftarrowtail: "↢", LeftCeiling: "⌈", LeftDoubleBracket: "⟦", LeftDownTeeVector: "⥡", LeftDownVectorBar: "⥙", LeftDownVector: "⇃", LeftFloor: "⌊", leftharpoondown: "↽", leftharpoonup: "↼", leftleftarrows: "⇇", leftrightarrow: "↔", LeftRightArrow: "↔", Leftrightarrow: "⇔", leftrightarrows: "⇆", leftrightharpoons: "⇋", leftrightsquigarrow: "↭", LeftRightVector: "⥎", LeftTeeArrow: "↤", LeftTee: "⊣", LeftTeeVector: "⥚", leftthreetimes: "⋋", LeftTriangleBar: "⧏", LeftTriangle: "⊲", LeftTriangleEqual: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVectorBar: "⥘", LeftUpVector: "↿", LeftVectorBar: "⥒", LeftVector: "↼", lEg: "⪋", leg: "⋚", leq: "≤", leqq: "≦", leqslant: "⩽", lescc: "⪨", les: "⩽", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessapprox: "⪅", lessdot: "⋖", lesseqgtr: "⋚", lesseqqgtr: "⪋", LessEqualGreater: "⋚", LessFullEqual: "≦", LessGreater: "≶", lessgtr: "≶", LessLess: "⪡", lesssim: "≲", LessSlantEqual: "⩽", LessTilde: "≲", lfisht: "⥼", lfloor: "⌊", Lfr: "𝔏", lfr: "𝔩", lg: "≶", lgE: "⪑", lHar: "⥢", lhard: "↽", lharu: "↼", lharul: "⥪", lhblk: "▄", LJcy: "Љ", ljcy: "љ", llarr: "⇇", ll: "≪", Ll: "⋘", llcorner: "⌞", Lleftarrow: "⇚", llhard: "⥫", lltri: "◺", Lmidot: "Ŀ", lmidot: "ŀ", lmoustache: "⎰", lmoust: "⎰", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lnE: "≨", lneq: "⪇", lneqq: "≨", lnsim: "⋦", loang: "⟬", loarr: "⇽", lobrk: "⟦", longleftarrow: "⟵", LongLeftArrow: "⟵", Longleftarrow: "⟸", longleftrightarrow: "⟷", LongLeftRightArrow: "⟷", Longleftrightarrow: "⟺", longmapsto: "⟼", longrightarrow: "⟶", LongRightArrow: "⟶", Longrightarrow: "⟹", looparrowleft: "↫", looparrowright: "↬", lopar: "⦅", Lopf: "𝕃", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", lowbar: "_", LowerLeftArrow: "↙", LowerRightArrow: "↘", loz: "◊", lozenge: "◊", lozf: "⧫", lpar: "(", lparlt: "⦓", lrarr: "⇆", lrcorner: "⌟", lrhar: "⇋", lrhard: "⥭", lrm: "\u200e", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", Lscr: "ℒ", lsh: "↰", Lsh: "↰", lsim: "≲", lsime: "⪍", lsimg: "⪏", lsqb: "[", lsquo: "‘", lsquor: "‚", Lstrok: "Ł", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", lt: "<", LT: "<", Lt: "≪", ltdot: "⋖", lthree: "⋋", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltri: "◃", ltrie: "⊴", ltrif: "◂", ltrPar: "⦖", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", macr: "¯", male: "♂", malt: "✠", maltese: "✠", Map: "⤅", map: "↦", mapsto: "↦", mapstodown: "↧", mapstoleft: "↤", mapstoup: "↥", marker: "▮", mcomma: "⨩", Mcy: "М", mcy: "м", mdash: "—", mDDot: "∺", measuredangle: "∡", MediumSpace: " ", Mellintrf: "ℳ", Mfr: "𝔐", mfr: "𝔪", mho: "℧", micro: "µ", midast: "*", midcir: "⫰", mid: "∣", middot: "·", minusb: "⊟", minus: "−", minusd: "∸", minusdu: "⨪", MinusPlus: "∓", mlcp: "⫛", mldr: "…", mnplus: "∓", models: "⊧", Mopf: "𝕄", mopf: "𝕞", mp: "∓", mscr: "𝓂", Mscr: "ℳ", mstpos: "∾", Mu: "Μ", mu: "μ", multimap: "⊸", mumap: "⊸", nabla: "∇", Nacute: "Ń", nacute: "ń", nang: "∠⃒", nap: "≉", napE: "⩰̸", napid: "≋̸", napos: "ʼn", napprox: "≉", natural: "♮", naturals: "ℕ", natur: "♮", nbsp: " ", nbump: "≎̸", nbumpe: "≏̸", ncap: "⩃", Ncaron: "Ň", ncaron: "ň", Ncedil: "Ņ", ncedil: "ņ", ncong: "≇", ncongdot: "⩭̸", ncup: "⩂", Ncy: "Н", ncy: "н", ndash: "–", nearhk: "⤤", nearr: "↗", neArr: "⇗", nearrow: "↗", ne: "≠", nedot: "≐̸", NegativeMediumSpace: "​", NegativeThickSpace: "​", NegativeThinSpace: "​", NegativeVeryThinSpace: "​", nequiv: "≢", nesear: "⤨", nesim: "≂̸", NestedGreaterGreater: "≫", NestedLessLess: "≪", NewLine: "\u000a", nexist: "∄", nexists: "∄", Nfr: "𝔑", nfr: "𝔫", ngE: "≧̸", nge: "≱", ngeq: "≱", ngeqq: "≧̸", ngeqslant: "⩾̸", nges: "⩾̸", nGg: "⋙̸", ngsim: "≵", nGt: "≫⃒", ngt: "≯", ngtr: "≯", nGtv: "≫̸", nharr: "↮", nhArr: "⇎", nhpar: "⫲", ni: "∋", nis: "⋼", nisd: "⋺", niv: "∋", NJcy: "Њ", njcy: "њ", nlarr: "↚", nlArr: "⇍", nldr: "‥", nlE: "≦̸", nle: "≰", nleftarrow: "↚", nLeftarrow: "⇍", nleftrightarrow: "↮", nLeftrightarrow: "⇎", nleq: "≰", nleqq: "≦̸", nleqslant: "⩽̸", nles: "⩽̸", nless: "≮", nLl: "⋘̸", nlsim: "≴", nLt: "≪⃒", nlt: "≮", nltri: "⋪", nltrie: "⋬", nLtv: "≪̸", nmid: "∤", NoBreak: "\u2060", NonBreakingSpace: " ", nopf: "𝕟", Nopf: "ℕ", Not: "⫬", not: "¬", NotCongruent: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", NotElement: "∉", NotEqual: "≠", NotEqualTilde: "≂̸", NotExists: "∄", NotGreater: "≯", NotGreaterEqual: "≱", NotGreaterFullEqual: "≧̸", NotGreaterGreater: "≫̸", NotGreaterLess: "≹", NotGreaterSlantEqual: "⩾̸", NotGreaterTilde: "≵", NotHumpDownHump: "≎̸", NotHumpEqual: "≏̸", notin: "∉", notindot: "⋵̸", notinE: "⋹̸", notinva: "∉", notinvb: "⋷", notinvc: "⋶", NotLeftTriangleBar: "⧏̸", NotLeftTriangle: "⋪", NotLeftTriangleEqual: "⋬", NotLess: "≮", NotLessEqual: "≰", NotLessGreater: "≸", NotLessLess: "≪̸", NotLessSlantEqual: "⩽̸", NotLessTilde: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", notni: "∌", notniva: "∌", notnivb: "⋾", notnivc: "⋽", NotPrecedes: "⊀", NotPrecedesEqual: "⪯̸", NotPrecedesSlantEqual: "⋠", NotReverseElement: "∌", NotRightTriangleBar: "⧐̸", NotRightTriangle: "⋫", NotRightTriangleEqual: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", NotSubset: "⊂⃒", NotSubsetEqual: "⊈", NotSucceeds: "⊁", NotSucceedsEqual: "⪰̸", NotSucceedsSlantEqual: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", NotSupersetEqual: "⊉", NotTilde: "≁", NotTildeEqual: "≄", NotTildeFullEqual: "≇", NotTildeTilde: "≉", NotVerticalBar: "∤", nparallel: "∦", npar: "∦", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", npr: "⊀", nprcue: "⋠", nprec: "⊀", npreceq: "⪯̸", npre: "⪯̸", nrarrc: "⤳̸", nrarr: "↛", nrArr: "⇏", nrarrw: "↝̸", nrightarrow: "↛", nRightarrow: "⇏", nrtri: "⋫", nrtrie: "⋭", nsc: "⊁", nsccue: "⋡", nsce: "⪰̸", Nscr: "𝒩", nscr: "𝓃", nshortmid: "∤", nshortparallel: "∦", nsim: "≁", nsime: "≄", nsimeq: "≄", nsmid: "∤", nspar: "∦", nsqsube: "⋢", nsqsupe: "⋣", nsub: "⊄", nsubE: "⫅̸", nsube: "⊈", nsubset: "⊂⃒", nsubseteq: "⊈", nsubseteqq: "⫅̸", nsucc: "⊁", nsucceq: "⪰̸", nsup: "⊅", nsupE: "⫆̸", nsupe: "⊉", nsupset: "⊃⃒", nsupseteq: "⊉", nsupseteqq: "⫆̸", ntgl: "≹", Ntilde: "Ñ", ntilde: "ñ", ntlg: "≸", ntriangleleft: "⋪", ntrianglelefteq: "⋬", ntriangleright: "⋫", ntrianglerighteq: "⋭", Nu: "Ν", nu: "ν", num: "#", numero: "№", numsp: " ", nvap: "≍⃒", nvdash: "⊬", nvDash: "⊭", nVdash: "⊮", nVDash: "⊯", nvge: "≥⃒", nvgt: ">⃒", nvHarr: "⤄", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwarhk: "⤣", nwarr: "↖", nwArr: "⇖", nwarrow: "↖", nwnear: "⤧", Oacute: "Ó", oacute: "ó", oast: "⊛", Ocirc: "Ô", ocirc: "ô", ocir: "⊚", Ocy: "О", ocy: "о", odash: "⊝", Odblac: "Ő", odblac: "ő", odiv: "⨸", odot: "⊙", odsold: "⦼", OElig: "Œ", oelig: "œ", ofcir: "⦿", Ofr: "𝔒", ofr: "𝔬", ogon: "˛", Ograve: "Ò", ograve: "ò", ogt: "⧁", ohbar: "⦵", ohm: "Ω", oint: "∮", olarr: "↺", olcir: "⦾", olcross: "⦻", oline: "‾", olt: "⧀", Omacr: "Ō", omacr: "ō", Omega: "Ω", omega: "ω", Omicron: "Ο", omicron: "ο", omid: "⦶", ominus: "⊖", Oopf: "𝕆", oopf: "𝕠", opar: "⦷", OpenCurlyDoubleQuote: "“", OpenCurlyQuote: "‘", operp: "⦹", oplus: "⊕", orarr: "↻", Or: "⩔", or: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oS: "Ⓢ", Oscr: "𝒪", oscr: "ℴ", Oslash: "Ø", oslash: "ø", osol: "⊘", Otilde: "Õ", otilde: "õ", otimesas: "⨶", Otimes: "⨷", otimes: "⊗", Ouml: "Ö", ouml: "ö", ovbar: "⌽", OverBar: "‾", OverBrace: "⏞", OverBracket: "⎴", OverParenthesis: "⏜", para: "¶", parallel: "∥", par: "∥", parsim: "⫳", parsl: "⫽", part: "∂", PartialD: "∂", Pcy: "П", pcy: "п", percnt: "%", period: ".", permil: "‰", perp: "⊥", pertenk: "‱", Pfr: "𝔓", pfr: "𝔭", Phi: "Φ", phi: "φ", phiv: "ϕ", phmmat: "ℳ", phone: "☎", Pi: "Π", pi: "π", pitchfork: "⋔", piv: "ϖ", planck: "ℏ", planckh: "ℎ", plankv: "ℏ", plusacir: "⨣", plusb: "⊞", pluscir: "⨢", plus: "+", plusdo: "∔", plusdu: "⨥", pluse: "⩲", PlusMinus: "±", plusmn: "±", plussim: "⨦", plustwo: "⨧", pm: "±", Poincareplane: "ℌ", pointint: "⨕", popf: "𝕡", Popf: "ℙ", pound: "£", prap: "⪷", Pr: "⪻", pr: "≺", prcue: "≼", precapprox: "⪷", prec: "≺", preccurlyeq: "≼", Precedes: "≺", PrecedesEqual: "⪯", PrecedesSlantEqual: "≼", PrecedesTilde: "≾", preceq: "⪯", precnapprox: "⪹", precneqq: "⪵", precnsim: "⋨", pre: "⪯", prE: "⪳", precsim: "≾", prime: "′", Prime: "″", primes: "ℙ", prnap: "⪹", prnE: "⪵", prnsim: "⋨", prod: "∏", Product: "∏", profalar: "⌮", profline: "⌒", profsurf: "⌓", prop: "∝", Proportional: "∝", Proportion: "∷", propto: "∝", prsim: "≾", prurel: "⊰", Pscr: "𝒫", pscr: "𝓅", Psi: "Ψ", psi: "ψ", puncsp: " ", Qfr: "𝔔", qfr: "𝔮", qint: "⨌", qopf: "𝕢", Qopf: "ℚ", qprime: "⁗", Qscr: "𝒬", qscr: "𝓆", quaternions: "ℍ", quatint: "⨖", quest: "?", questeq: "≟", quot: "\"", QUOT: "\"", rAarr: "⇛", race: "∽̱", Racute: "Ŕ", racute: "ŕ", radic: "√", raemptyv: "⦳", rang: "⟩", Rang: "⟫", rangd: "⦒", range: "⦥", rangle: "⟩", raquo: "»", rarrap: "⥵", rarrb: "⇥", rarrbfs: "⤠", rarrc: "⤳", rarr: "→", Rarr: "↠", rArr: "⇒", rarrfs: "⤞", rarrhk: "↪", rarrlp: "↬", rarrpl: "⥅", rarrsim: "⥴", Rarrtl: "⤖", rarrtl: "↣", rarrw: "↝", ratail: "⤚", rAtail: "⤜", ratio: "∶", rationals: "ℚ", rbarr: "⤍", rBarr: "⤏", RBarr: "⤐", rbbrk: "❳", rbrace: "}", rbrack: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", Rcaron: "Ř", rcaron: "ř", Rcedil: "Ŗ", rcedil: "ŗ", rceil: "⌉", rcub: "}", Rcy: "Р", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdquo: "”", rdquor: "”", rdsh: "↳", real: "ℜ", realine: "ℛ", realpart: "ℜ", reals: "ℝ", Re: "ℜ", rect: "▭", reg: "®", REG: "®", ReverseElement: "∋", ReverseEquilibrium: "⇋", ReverseUpEquilibrium: "⥯", rfisht: "⥽", rfloor: "⌋", rfr: "𝔯", Rfr: "ℜ", rHar: "⥤", rhard: "⇁", rharu: "⇀", rharul: "⥬", Rho: "Ρ", rho: "ρ", rhov: "ϱ", RightAngleBracket: "⟩", RightArrowBar: "⇥", rightarrow: "→", RightArrow: "→", Rightarrow: "⇒", RightArrowLeftArrow: "⇄", rightarrowtail: "↣", RightCeiling: "⌉", RightDoubleBracket: "⟧", RightDownTeeVector: "⥝", RightDownVectorBar: "⥕", RightDownVector: "⇂", RightFloor: "⌋", rightharpoondown: "⇁", rightharpoonup: "⇀", rightleftarrows: "⇄", rightleftharpoons: "⇌", rightrightarrows: "⇉", rightsquigarrow: "↝", RightTeeArrow: "↦", RightTee: "⊢", RightTeeVector: "⥛", rightthreetimes: "⋌", RightTriangleBar: "⧐", RightTriangle: "⊳", RightTriangleEqual: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVectorBar: "⥔", RightUpVector: "↾", RightVectorBar: "⥓", RightVector: "⇀", ring: "˚", risingdotseq: "≓", rlarr: "⇄", rlhar: "⇌", rlm: "\u200f", rmoustache: "⎱", rmoust: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", robrk: "⟧", ropar: "⦆", ropf: "𝕣", Ropf: "ℝ", roplus: "⨮", rotimes: "⨵", RoundImplies: "⥰", rpar: ")", rpargt: "⦔", rppolint: "⨒", rrarr: "⇉", Rrightarrow: "⇛", rsaquo: "›", rscr: "𝓇", Rscr: "ℛ", rsh: "↱", Rsh: "↱", rsqb: "]", rsquo: "’", rsquor: "’", rthree: "⋌", rtimes: "⋊", rtri: "▹", rtrie: "⊵", rtrif: "▸", rtriltri: "⧎", RuleDelayed: "⧴", ruluhar: "⥨", rx: "℞", Sacute: "Ś", sacute: "ś", sbquo: "‚", scap: "⪸", Scaron: "Š", scaron: "š", Sc: "⪼", sc: "≻", sccue: "≽", sce: "⪰", scE: "⪴", Scedil: "Ş", scedil: "ş", Scirc: "Ŝ", scirc: "ŝ", scnap: "⪺", scnE: "⪶", scnsim: "⋩", scpolint: "⨓", scsim: "≿", Scy: "С", scy: "с", sdotb: "⊡", sdot: "⋅", sdote: "⩦", searhk: "⤥", searr: "↘", seArr: "⇘", searrow: "↘", sect: "§", semi: ";", seswar: "⤩", setminus: "∖", setmn: "∖", sext: "✶", Sfr: "𝔖", sfr: "𝔰", sfrown: "⌢", sharp: "♯", SHCHcy: "Щ", shchcy: "щ", SHcy: "Ш", shcy: "ш", ShortDownArrow: "↓", ShortLeftArrow: "←", shortmid: "∣", shortparallel: "∥", ShortRightArrow: "→", ShortUpArrow: "↑", shy: "\u00ad", Sigma: "Σ", sigma: "σ", sigmaf: "ς", sigmav: "ς", sim: "∼", simdot: "⩪", sime: "≃", simeq: "≃", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", slarr: "←", SmallCircle: "∘", smallsetminus: "∖", smashp: "⨳", smeparsl: "⧤", smid: "∣", smile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", SOFTcy: "Ь", softcy: "ь", solbar: "⌿", solb: "⧄", sol: "/", Sopf: "𝕊", sopf: "𝕤", spades: "♠", spadesuit: "♠", spar: "∥", sqcap: "⊓", sqcaps: "⊓︀", sqcup: "⊔", sqcups: "⊔︀", Sqrt: "√", sqsub: "⊏", sqsube: "⊑", sqsubset: "⊏", sqsubseteq: "⊑", sqsup: "⊐", sqsupe: "⊒", sqsupset: "⊐", sqsupseteq: "⊒", square: "□", Square: "□", SquareIntersection: "⊓", SquareSubset: "⊏", SquareSubsetEqual: "⊑", SquareSuperset: "⊐", SquareSupersetEqual: "⊒", SquareUnion: "⊔", squarf: "▪", squ: "□", squf: "▪", srarr: "→", Sscr: "𝒮", sscr: "𝓈", ssetmn: "∖", ssmile: "⌣", sstarf: "⋆", Star: "⋆", star: "☆", starf: "★", straightepsilon: "ϵ", straightphi: "ϕ", strns: "¯", sub: "⊂", Sub: "⋐", subdot: "⪽", subE: "⫅", sube: "⊆", subedot: "⫃", submult: "⫁", subnE: "⫋", subne: "⊊", subplus: "⪿", subrarr: "⥹", subset: "⊂", Subset: "⋐", subseteq: "⊆", subseteqq: "⫅", SubsetEqual: "⊆", subsetneq: "⊊", subsetneqq: "⫋", subsim: "⫇", subsub: "⫕", subsup: "⫓", succapprox: "⪸", succ: "≻", succcurlyeq: "≽", Succeeds: "≻", SucceedsEqual: "⪰", SucceedsSlantEqual: "≽", SucceedsTilde: "≿", succeq: "⪰", succnapprox: "⪺", succneqq: "⪶", succnsim: "⋩", succsim: "≿", SuchThat: "∋", sum: "∑", Sum: "∑", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", sup: "⊃", Sup: "⋑", supdot: "⪾", supdsub: "⫘", supE: "⫆", supe: "⊇", supedot: "⫄", Superset: "⊃", SupersetEqual: "⊇", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supne: "⊋", supplus: "⫀", supset: "⊃", Supset: "⋑", supseteq: "⊇", supseteqq: "⫆", supsetneq: "⊋", supsetneqq: "⫌", supsim: "⫈", supsub: "⫔", supsup: "⫖", swarhk: "⤦", swarr: "↙", swArr: "⇙", swarrow: "↙", swnwar: "⤪", szlig: "ß", Tab: "\u0009", target: "⌖", Tau: "Τ", tau: "τ", tbrk: "⎴", Tcaron: "Ť", tcaron: "ť", Tcedil: "Ţ", tcedil: "ţ", Tcy: "Т", tcy: "т", tdot: "⃛", telrec: "⌕", Tfr: "𝔗", tfr: "𝔱", there4: "∴", therefore: "∴", Therefore: "∴", Theta: "Θ", theta: "θ", thetasym: "ϑ", thetav: "ϑ", thickapprox: "≈", thicksim: "∼", ThickSpace: "  ", ThinSpace: " ", thinsp: " ", thkap: "≈", thksim: "∼", THORN: "Þ", thorn: "þ", tilde: "˜", Tilde: "∼", TildeEqual: "≃", TildeFullEqual: "≅", TildeTilde: "≈", timesbar: "⨱", timesb: "⊠", times: "×", timesd: "⨰", tint: "∭", toea: "⤨", topbot: "⌶", topcir: "⫱", top: "⊤", Topf: "𝕋", topf: "𝕥", topfork: "⫚", tosa: "⤩", tprime: "‴", trade: "™", TRADE: "™", triangle: "▵", triangledown: "▿", triangleleft: "◃", trianglelefteq: "⊴", triangleq: "≜", triangleright: "▹", trianglerighteq: "⊵", tridot: "◬", trie: "≜", triminus: "⨺", TripleDot: "⃛", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", Tscr: "𝒯", tscr: "𝓉", TScy: "Ц", tscy: "ц", TSHcy: "Ћ", tshcy: "ћ", Tstrok: "Ŧ", tstrok: "ŧ", twixt: "≬", twoheadleftarrow: "↞", twoheadrightarrow: "↠", Uacute: "Ú", uacute: "ú", uarr: "↑", Uarr: "↟", uArr: "⇑", Uarrocir: "⥉", Ubrcy: "Ў", ubrcy: "ў", Ubreve: "Ŭ", ubreve: "ŭ", Ucirc: "Û", ucirc: "û", Ucy: "У", ucy: "у", udarr: "⇅", Udblac: "Ű", udblac: "ű", udhar: "⥮", ufisht: "⥾", Ufr: "𝔘", ufr: "𝔲", Ugrave: "Ù", ugrave: "ù", uHar: "⥣", uharl: "↿", uharr: "↾", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", Umacr: "Ū", umacr: "ū", uml: "¨", UnderBar: "_", UnderBrace: "⏟", UnderBracket: "⎵", UnderParenthesis: "⏝", Union: "⋃", UnionPlus: "⊎", Uogon: "Ų", uogon: "ų", Uopf: "𝕌", uopf: "𝕦", UpArrowBar: "⤒", uparrow: "↑", UpArrow: "↑", Uparrow: "⇑", UpArrowDownArrow: "⇅", updownarrow: "↕", UpDownArrow: "↕", Updownarrow: "⇕", UpEquilibrium: "⥮", upharpoonleft: "↿", upharpoonright: "↾", uplus: "⊎", UpperLeftArrow: "↖", UpperRightArrow: "↗", upsi: "υ", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", upsilon: "υ", UpTeeArrow: "↥", UpTee: "⊥", upuparrows: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", Uring: "Ů", uring: "ů", urtri: "◹", Uscr: "𝒰", uscr: "𝓊", utdot: "⋰", Utilde: "Ũ", utilde: "ũ", utri: "▵", utrif: "▴", uuarr: "⇈", Uuml: "Ü", uuml: "ü", uwangle: "⦧", vangrt: "⦜", varepsilon: "ϵ", varkappa: "ϰ", varnothing: "∅", varphi: "ϕ", varpi: "ϖ", varpropto: "∝", varr: "↕", vArr: "⇕", varrho: "ϱ", varsigma: "ς", varsubsetneq: "⊊︀", varsubsetneqq: "⫋︀", varsupsetneq: "⊋︀", varsupsetneqq: "⫌︀", vartheta: "ϑ", vartriangleleft: "⊲", vartriangleright: "⊳", vBar: "⫨", Vbar: "⫫", vBarv: "⫩", Vcy: "В", vcy: "в", vdash: "⊢", vDash: "⊨", Vdash: "⊩", VDash: "⊫", Vdashl: "⫦", veebar: "⊻", vee: "∨", Vee: "⋁", veeeq: "≚", vellip: "⋮", verbar: "|", Verbar: "‖", vert: "|", Vert: "‖", VerticalBar: "∣", VerticalLine: "|", VerticalSeparator: "❘", VerticalTilde: "≀", VeryThinSpace: " ", Vfr: "𝔙", vfr: "𝔳", vltri: "⊲", vnsub: "⊂⃒", vnsup: "⊃⃒", Vopf: "𝕍", vopf: "𝕧", vprop: "∝", vrtri: "⊳", Vscr: "𝒱", vscr: "𝓋", vsubnE: "⫋︀", vsubne: "⊊︀", vsupnE: "⫌︀", vsupne: "⊋︀", Vvdash: "⊪", vzigzag: "⦚", Wcirc: "Ŵ", wcirc: "ŵ", wedbar: "⩟", wedge: "∧", Wedge: "⋀", wedgeq: "≙", weierp: "℘", Wfr: "𝔚", wfr: "𝔴", Wopf: "𝕎", wopf: "𝕨", wp: "℘", wr: "≀", wreath: "≀", Wscr: "𝒲", wscr: "𝓌", xcap: "⋂", xcirc: "◯", xcup: "⋃", xdtri: "▽", Xfr: "𝔛", xfr: "𝔵", xharr: "⟷", xhArr: "⟺", Xi: "Ξ", xi: "ξ", xlarr: "⟵", xlArr: "⟸", xmap: "⟼", xnis: "⋻", xodot: "⨀", Xopf: "𝕏", xopf: "𝕩", xoplus: "⨁", xotime: "⨂", xrarr: "⟶", xrArr: "⟹", Xscr: "𝒳", xscr: "𝓍", xsqcup: "⨆", xuplus: "⨄", xutri: "△", xvee: "⋁", xwedge: "⋀", Yacute: "Ý", yacute: "ý", YAcy: "Я", yacy: "я", Ycirc: "Ŷ", ycirc: "ŷ", Ycy: "Ы", ycy: "ы", yen: "¥", Yfr: "𝔜", yfr: "𝔶", YIcy: "Ї", yicy: "ї", Yopf: "𝕐", yopf: "𝕪", Yscr: "𝒴", yscr: "𝓎", YUcy: "Ю", yucy: "ю", yuml: "ÿ", Yuml: "Ÿ", Zacute: "Ź", zacute: "ź", Zcaron: "Ž", zcaron: "ž", Zcy: "З", zcy: "з", Zdot: "Ż", zdot: "ż", zeetrf: "ℨ", ZeroWidthSpace: "​", Zeta: "Ζ", zeta: "ζ", zfr: "𝔷", Zfr: "ℨ", ZHcy: "Ж", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", Zopf: "ℤ", Zscr: "𝒵", zscr: "𝓏", zwj: "\u200d", zwnj: "\u200c"
+};
+
+var HEXCHARCODE = /^#[xX]([A-Fa-f0-9]+)$/;
+var CHARCODE = /^#([0-9]+)$/;
+var NAMED = /^([A-Za-z0-9]+)$/;
+var EntityParser = /** @class */ (function () {
+    function EntityParser(named) {
+        this.named = named;
+    }
+    EntityParser.prototype.parse = function (entity) {
+        if (!entity) {
+            return;
+        }
+        var matches = entity.match(HEXCHARCODE);
+        if (matches) {
+            return String.fromCharCode(parseInt(matches[1], 16));
+        }
+        matches = entity.match(CHARCODE);
+        if (matches) {
+            return String.fromCharCode(parseInt(matches[1], 10));
+        }
+        matches = entity.match(NAMED);
+        if (matches) {
+            return this.named[matches[1]];
+        }
+    };
+    return EntityParser;
+}());
+
+var WSP = /[\t\n\f ]/;
+var ALPHA = /[A-Za-z]/;
+var CRLF = /\r\n?/g;
+function isSpace(char) {
+    return WSP.test(char);
+}
+function isAlpha(char) {
+    return ALPHA.test(char);
+}
+function preprocessInput(input) {
+    return input.replace(CRLF, '\n');
+}
+
+var EventedTokenizer = /** @class */ (function () {
+    function EventedTokenizer(delegate, entityParser, mode) {
+        if (mode === void 0) { mode = 'precompile'; }
+        this.delegate = delegate;
+        this.entityParser = entityParser;
+        this.mode = mode;
+        this.state = "beforeData" /* beforeData */;
+        this.line = -1;
+        this.column = -1;
+        this.input = '';
+        this.index = -1;
+        this.tagNameBuffer = '';
+        this.states = {
+            beforeData: function () {
+                var char = this.peek();
+                if (char === '<' && !this.isIgnoredEndTag()) {
+                    this.transitionTo("tagOpen" /* tagOpen */);
+                    this.markTagStart();
+                    this.consume();
+                }
+                else {
+                    if (this.mode === 'precompile' && char === '\n') {
+                        var tag = this.tagNameBuffer.toLowerCase();
+                        if (tag === 'pre' || tag === 'textarea') {
+                            this.consume();
+                        }
+                    }
+                    this.transitionTo("data" /* data */);
+                    this.delegate.beginData();
+                }
+            },
+            data: function () {
+                var char = this.peek();
+                var tag = this.tagNameBuffer;
+                if (char === '<' && !this.isIgnoredEndTag()) {
+                    this.delegate.finishData();
+                    this.transitionTo("tagOpen" /* tagOpen */);
+                    this.markTagStart();
+                    this.consume();
+                }
+                else if (char === '&' && tag !== 'script' && tag !== 'style') {
+                    this.consume();
+                    this.delegate.appendToData(this.consumeCharRef() || '&');
+                }
+                else {
+                    this.consume();
+                    this.delegate.appendToData(char);
+                }
+            },
+            tagOpen: function () {
+                var char = this.consume();
+                if (char === '!') {
+                    this.transitionTo("markupDeclarationOpen" /* markupDeclarationOpen */);
+                }
+                else if (char === '/') {
+                    this.transitionTo("endTagOpen" /* endTagOpen */);
+                }
+                else if (char === '@' || char === ':' || isAlpha(char)) {
+                    this.transitionTo("tagName" /* tagName */);
+                    this.tagNameBuffer = '';
+                    this.delegate.beginStartTag();
+                    this.appendToTagName(char);
+                }
+            },
+            markupDeclarationOpen: function () {
+                var char = this.consume();
+                if (char === '-' && this.peek() === '-') {
+                    this.consume();
+                    this.transitionTo("commentStart" /* commentStart */);
+                    this.delegate.beginComment();
+                }
+                else {
+                    var maybeDoctype = char.toUpperCase() + this.input.substring(this.index, this.index + 6).toUpperCase();
+                    if (maybeDoctype === 'DOCTYPE') {
+                        this.consume();
+                        this.consume();
+                        this.consume();
+                        this.consume();
+                        this.consume();
+                        this.consume();
+                        this.transitionTo("doctype" /* doctype */);
+                        if (this.delegate.beginDoctype)
+                            this.delegate.beginDoctype();
+                    }
+                }
+            },
+            doctype: function () {
+                var char = this.consume();
+                if (isSpace(char)) {
+                    this.transitionTo("beforeDoctypeName" /* beforeDoctypeName */);
+                }
+            },
+            beforeDoctypeName: function () {
+                var char = this.consume();
+                if (isSpace(char)) {
+                    return;
+                }
+                else {
+                    this.transitionTo("doctypeName" /* doctypeName */);
+                    if (this.delegate.appendToDoctypeName)
+                        this.delegate.appendToDoctypeName(char.toLowerCase());
+                }
+            },
+            doctypeName: function () {
+                var char = this.consume();
+                if (isSpace(char)) {
+                    this.transitionTo("afterDoctypeName" /* afterDoctypeName */);
+                }
+                else if (char === '>') {
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    if (this.delegate.appendToDoctypeName)
+                        this.delegate.appendToDoctypeName(char.toLowerCase());
+                }
+            },
+            afterDoctypeName: function () {
+                var char = this.consume();
+                if (isSpace(char)) {
+                    return;
+                }
+                else if (char === '>') {
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    var nextSixChars = char.toUpperCase() + this.input.substring(this.index, this.index + 5).toUpperCase();
+                    var isPublic = nextSixChars.toUpperCase() === 'PUBLIC';
+                    var isSystem = nextSixChars.toUpperCase() === 'SYSTEM';
+                    if (isPublic || isSystem) {
+                        this.consume();
+                        this.consume();
+                        this.consume();
+                        this.consume();
+                        this.consume();
+                        this.consume();
+                    }
+                    if (isPublic) {
+                        this.transitionTo("afterDoctypePublicKeyword" /* afterDoctypePublicKeyword */);
+                    }
+                    else if (isSystem) {
+                        this.transitionTo("afterDoctypeSystemKeyword" /* afterDoctypeSystemKeyword */);
+                    }
+                }
+            },
+            afterDoctypePublicKeyword: function () {
+                var char = this.peek();
+                if (isSpace(char)) {
+                    this.transitionTo("beforeDoctypePublicIdentifier" /* beforeDoctypePublicIdentifier */);
+                    this.consume();
+                }
+                else if (char === '"') {
+                    this.transitionTo("doctypePublicIdentifierDoubleQuoted" /* doctypePublicIdentifierDoubleQuoted */);
+                    this.consume();
+                }
+                else if (char === "'") {
+                    this.transitionTo("doctypePublicIdentifierSingleQuoted" /* doctypePublicIdentifierSingleQuoted */);
+                    this.consume();
+                }
+                else if (char === '>') {
+                    this.consume();
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+            },
+            doctypePublicIdentifierDoubleQuoted: function () {
+                var char = this.consume();
+                if (char === '"') {
+                    this.transitionTo("afterDoctypePublicIdentifier" /* afterDoctypePublicIdentifier */);
+                }
+                else if (char === '>') {
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    if (this.delegate.appendToDoctypePublicIdentifier)
+                        this.delegate.appendToDoctypePublicIdentifier(char);
+                }
+            },
+            doctypePublicIdentifierSingleQuoted: function () {
+                var char = this.consume();
+                if (char === "'") {
+                    this.transitionTo("afterDoctypePublicIdentifier" /* afterDoctypePublicIdentifier */);
+                }
+                else if (char === '>') {
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    if (this.delegate.appendToDoctypePublicIdentifier)
+                        this.delegate.appendToDoctypePublicIdentifier(char);
+                }
+            },
+            afterDoctypePublicIdentifier: function () {
+                var char = this.consume();
+                if (isSpace(char)) {
+                    this.transitionTo("betweenDoctypePublicAndSystemIdentifiers" /* betweenDoctypePublicAndSystemIdentifiers */);
+                }
+                else if (char === '>') {
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else if (char === '"') {
+                    this.transitionTo("doctypeSystemIdentifierDoubleQuoted" /* doctypeSystemIdentifierDoubleQuoted */);
+                }
+                else if (char === "'") {
+                    this.transitionTo("doctypeSystemIdentifierSingleQuoted" /* doctypeSystemIdentifierSingleQuoted */);
+                }
+            },
+            betweenDoctypePublicAndSystemIdentifiers: function () {
+                var char = this.consume();
+                if (isSpace(char)) {
+                    return;
+                }
+                else if (char === '>') {
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else if (char === '"') {
+                    this.transitionTo("doctypeSystemIdentifierDoubleQuoted" /* doctypeSystemIdentifierDoubleQuoted */);
+                }
+                else if (char === "'") {
+                    this.transitionTo("doctypeSystemIdentifierSingleQuoted" /* doctypeSystemIdentifierSingleQuoted */);
+                }
+            },
+            doctypeSystemIdentifierDoubleQuoted: function () {
+                var char = this.consume();
+                if (char === '"') {
+                    this.transitionTo("afterDoctypeSystemIdentifier" /* afterDoctypeSystemIdentifier */);
+                }
+                else if (char === '>') {
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    if (this.delegate.appendToDoctypeSystemIdentifier)
+                        this.delegate.appendToDoctypeSystemIdentifier(char);
+                }
+            },
+            doctypeSystemIdentifierSingleQuoted: function () {
+                var char = this.consume();
+                if (char === "'") {
+                    this.transitionTo("afterDoctypeSystemIdentifier" /* afterDoctypeSystemIdentifier */);
+                }
+                else if (char === '>') {
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    if (this.delegate.appendToDoctypeSystemIdentifier)
+                        this.delegate.appendToDoctypeSystemIdentifier(char);
+                }
+            },
+            afterDoctypeSystemIdentifier: function () {
+                var char = this.consume();
+                if (isSpace(char)) {
+                    return;
+                }
+                else if (char === '>') {
+                    if (this.delegate.endDoctype)
+                        this.delegate.endDoctype();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+            },
+            commentStart: function () {
+                var char = this.consume();
+                if (char === '-') {
+                    this.transitionTo("commentStartDash" /* commentStartDash */);
+                }
+                else if (char === '>') {
+                    this.delegate.finishComment();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    this.delegate.appendToCommentData(char);
+                    this.transitionTo("comment" /* comment */);
+                }
+            },
+            commentStartDash: function () {
+                var char = this.consume();
+                if (char === '-') {
+                    this.transitionTo("commentEnd" /* commentEnd */);
+                }
+                else if (char === '>') {
+                    this.delegate.finishComment();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    this.delegate.appendToCommentData('-');
+                    this.transitionTo("comment" /* comment */);
+                }
+            },
+            comment: function () {
+                var char = this.consume();
+                if (char === '-') {
+                    this.transitionTo("commentEndDash" /* commentEndDash */);
+                }
+                else {
+                    this.delegate.appendToCommentData(char);
+                }
+            },
+            commentEndDash: function () {
+                var char = this.consume();
+                if (char === '-') {
+                    this.transitionTo("commentEnd" /* commentEnd */);
+                }
+                else {
+                    this.delegate.appendToCommentData('-' + char);
+                    this.transitionTo("comment" /* comment */);
+                }
+            },
+            commentEnd: function () {
+                var char = this.consume();
+                if (char === '>') {
+                    this.delegate.finishComment();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    this.delegate.appendToCommentData('--' + char);
+                    this.transitionTo("comment" /* comment */);
+                }
+            },
+            tagName: function () {
+                var char = this.consume();
+                if (isSpace(char)) {
+                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
+                }
+                else if (char === '/') {
+                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
+                }
+                else if (char === '>') {
+                    this.delegate.finishTag();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    this.appendToTagName(char);
+                }
+            },
+            endTagName: function () {
+                var char = this.consume();
+                if (isSpace(char)) {
+                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
+                    this.tagNameBuffer = '';
+                }
+                else if (char === '/') {
+                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
+                    this.tagNameBuffer = '';
+                }
+                else if (char === '>') {
+                    this.delegate.finishTag();
+                    this.transitionTo("beforeData" /* beforeData */);
+                    this.tagNameBuffer = '';
+                }
+                else {
+                    this.appendToTagName(char);
+                }
+            },
+            beforeAttributeName: function () {
+                var char = this.peek();
+                if (isSpace(char)) {
+                    this.consume();
+                    return;
+                }
+                else if (char === '/') {
+                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
+                    this.consume();
+                }
+                else if (char === '>') {
+                    this.consume();
+                    this.delegate.finishTag();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else if (char === '=') {
+                    this.delegate.reportSyntaxError('attribute name cannot start with equals sign');
+                    this.transitionTo("attributeName" /* attributeName */);
+                    this.delegate.beginAttribute();
+                    this.consume();
+                    this.delegate.appendToAttributeName(char);
+                }
+                else {
+                    this.transitionTo("attributeName" /* attributeName */);
+                    this.delegate.beginAttribute();
+                }
+            },
+            attributeName: function () {
+                var char = this.peek();
+                if (isSpace(char)) {
+                    this.transitionTo("afterAttributeName" /* afterAttributeName */);
+                    this.consume();
+                }
+                else if (char === '/') {
+                    this.delegate.beginAttributeValue(false);
+                    this.delegate.finishAttributeValue();
+                    this.consume();
+                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
+                }
+                else if (char === '=') {
+                    this.transitionTo("beforeAttributeValue" /* beforeAttributeValue */);
+                    this.consume();
+                }
+                else if (char === '>') {
+                    this.delegate.beginAttributeValue(false);
+                    this.delegate.finishAttributeValue();
+                    this.consume();
+                    this.delegate.finishTag();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else if (char === '"' || char === "'" || char === '<') {
+                    this.delegate.reportSyntaxError(char + ' is not a valid character within attribute names');
+                    this.consume();
+                    this.delegate.appendToAttributeName(char);
+                }
+                else {
+                    this.consume();
+                    this.delegate.appendToAttributeName(char);
+                }
+            },
+            afterAttributeName: function () {
+                var char = this.peek();
+                if (isSpace(char)) {
+                    this.consume();
+                    return;
+                }
+                else if (char === '/') {
+                    this.delegate.beginAttributeValue(false);
+                    this.delegate.finishAttributeValue();
+                    this.consume();
+                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
+                }
+                else if (char === '=') {
+                    this.consume();
+                    this.transitionTo("beforeAttributeValue" /* beforeAttributeValue */);
+                }
+                else if (char === '>') {
+                    this.delegate.beginAttributeValue(false);
+                    this.delegate.finishAttributeValue();
+                    this.consume();
+                    this.delegate.finishTag();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    this.delegate.beginAttributeValue(false);
+                    this.delegate.finishAttributeValue();
+                    this.transitionTo("attributeName" /* attributeName */);
+                    this.delegate.beginAttribute();
+                    this.consume();
+                    this.delegate.appendToAttributeName(char);
+                }
+            },
+            beforeAttributeValue: function () {
+                var char = this.peek();
+                if (isSpace(char)) {
+                    this.consume();
+                }
+                else if (char === '"') {
+                    this.transitionTo("attributeValueDoubleQuoted" /* attributeValueDoubleQuoted */);
+                    this.delegate.beginAttributeValue(true);
+                    this.consume();
+                }
+                else if (char === "'") {
+                    this.transitionTo("attributeValueSingleQuoted" /* attributeValueSingleQuoted */);
+                    this.delegate.beginAttributeValue(true);
+                    this.consume();
+                }
+                else if (char === '>') {
+                    this.delegate.beginAttributeValue(false);
+                    this.delegate.finishAttributeValue();
+                    this.consume();
+                    this.delegate.finishTag();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    this.transitionTo("attributeValueUnquoted" /* attributeValueUnquoted */);
+                    this.delegate.beginAttributeValue(false);
+                    this.consume();
+                    this.delegate.appendToAttributeValue(char);
+                }
+            },
+            attributeValueDoubleQuoted: function () {
+                var char = this.consume();
+                if (char === '"') {
+                    this.delegate.finishAttributeValue();
+                    this.transitionTo("afterAttributeValueQuoted" /* afterAttributeValueQuoted */);
+                }
+                else if (char === '&') {
+                    this.delegate.appendToAttributeValue(this.consumeCharRef() || '&');
+                }
+                else {
+                    this.delegate.appendToAttributeValue(char);
+                }
+            },
+            attributeValueSingleQuoted: function () {
+                var char = this.consume();
+                if (char === "'") {
+                    this.delegate.finishAttributeValue();
+                    this.transitionTo("afterAttributeValueQuoted" /* afterAttributeValueQuoted */);
+                }
+                else if (char === '&') {
+                    this.delegate.appendToAttributeValue(this.consumeCharRef() || '&');
+                }
+                else {
+                    this.delegate.appendToAttributeValue(char);
+                }
+            },
+            attributeValueUnquoted: function () {
+                var char = this.peek();
+                if (isSpace(char)) {
+                    this.delegate.finishAttributeValue();
+                    this.consume();
+                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
+                }
+                else if (char === '/') {
+                    this.delegate.finishAttributeValue();
+                    this.consume();
+                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
+                }
+                else if (char === '&') {
+                    this.consume();
+                    this.delegate.appendToAttributeValue(this.consumeCharRef() || '&');
+                }
+                else if (char === '>') {
+                    this.delegate.finishAttributeValue();
+                    this.consume();
+                    this.delegate.finishTag();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    this.consume();
+                    this.delegate.appendToAttributeValue(char);
+                }
+            },
+            afterAttributeValueQuoted: function () {
+                var char = this.peek();
+                if (isSpace(char)) {
+                    this.consume();
+                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
+                }
+                else if (char === '/') {
+                    this.consume();
+                    this.transitionTo("selfClosingStartTag" /* selfClosingStartTag */);
+                }
+                else if (char === '>') {
+                    this.consume();
+                    this.delegate.finishTag();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
+                }
+            },
+            selfClosingStartTag: function () {
+                var char = this.peek();
+                if (char === '>') {
+                    this.consume();
+                    this.delegate.markTagAsSelfClosing();
+                    this.delegate.finishTag();
+                    this.transitionTo("beforeData" /* beforeData */);
+                }
+                else {
+                    this.transitionTo("beforeAttributeName" /* beforeAttributeName */);
+                }
+            },
+            endTagOpen: function () {
+                var char = this.consume();
+                if (char === '@' || char === ':' || isAlpha(char)) {
+                    this.transitionTo("endTagName" /* endTagName */);
+                    this.tagNameBuffer = '';
+                    this.delegate.beginEndTag();
+                    this.appendToTagName(char);
+                }
+            }
+        };
+        this.reset();
+    }
+    EventedTokenizer.prototype.reset = function () {
+        this.transitionTo("beforeData" /* beforeData */);
+        this.input = '';
+        this.tagNameBuffer = '';
+        this.index = 0;
+        this.line = 1;
+        this.column = 0;
+        this.delegate.reset();
+    };
+    EventedTokenizer.prototype.transitionTo = function (state) {
+        this.state = state;
+    };
+    EventedTokenizer.prototype.tokenize = function (input) {
+        this.reset();
+        this.tokenizePart(input);
+        this.tokenizeEOF();
+    };
+    EventedTokenizer.prototype.tokenizePart = function (input) {
+        this.input += preprocessInput(input);
+        while (this.index < this.input.length) {
+            var handler = this.states[this.state];
+            if (handler !== undefined) {
+                handler.call(this);
+            }
+            else {
+                throw new Error("unhandled state " + this.state);
+            }
+        }
+    };
+    EventedTokenizer.prototype.tokenizeEOF = function () {
+        this.flushData();
+    };
+    EventedTokenizer.prototype.flushData = function () {
+        if (this.state === 'data') {
+            this.delegate.finishData();
+            this.transitionTo("beforeData" /* beforeData */);
+        }
+    };
+    EventedTokenizer.prototype.peek = function () {
+        return this.input.charAt(this.index);
+    };
+    EventedTokenizer.prototype.consume = function () {
+        var char = this.peek();
+        this.index++;
+        if (char === '\n') {
+            this.line++;
+            this.column = 0;
+        }
+        else {
+            this.column++;
+        }
+        return char;
+    };
+    EventedTokenizer.prototype.consumeCharRef = function () {
+        var endIndex = this.input.indexOf(';', this.index);
+        if (endIndex === -1) {
+            return;
+        }
+        var entity = this.input.slice(this.index, endIndex);
+        var chars = this.entityParser.parse(entity);
+        if (chars) {
+            var count = entity.length;
+            // consume the entity chars
+            while (count) {
+                this.consume();
+                count--;
+            }
+            // consume the `;`
+            this.consume();
+            return chars;
+        }
+    };
+    EventedTokenizer.prototype.markTagStart = function () {
+        this.delegate.tagOpen();
+    };
+    EventedTokenizer.prototype.appendToTagName = function (char) {
+        this.tagNameBuffer += char;
+        this.delegate.appendToTagName(char);
+    };
+    EventedTokenizer.prototype.isIgnoredEndTag = function () {
+        var tag = this.tagNameBuffer;
+        return (tag === 'title' && this.input.substring(this.index, this.index + 8) !== '</title>') ||
+            (tag === 'style' && this.input.substring(this.index, this.index + 8) !== '</style>') ||
+            (tag === 'script' && this.input.substring(this.index, this.index + 9) !== '</script>');
+    };
+    return EventedTokenizer;
+}());
+
+var Tokenizer = /** @class */ (function () {
+    function Tokenizer(entityParser, options) {
+        if (options === void 0) { options = {}; }
+        this.options = options;
+        this.token = null;
+        this.startLine = 1;
+        this.startColumn = 0;
+        this.tokens = [];
+        this.tokenizer = new EventedTokenizer(this, entityParser, options.mode);
+        this._currentAttribute = undefined;
+    }
+    Tokenizer.prototype.tokenize = function (input) {
+        this.tokens = [];
+        this.tokenizer.tokenize(input);
+        return this.tokens;
+    };
+    Tokenizer.prototype.tokenizePart = function (input) {
+        this.tokens = [];
+        this.tokenizer.tokenizePart(input);
+        return this.tokens;
+    };
+    Tokenizer.prototype.tokenizeEOF = function () {
+        this.tokens = [];
+        this.tokenizer.tokenizeEOF();
+        return this.tokens[0];
+    };
+    Tokenizer.prototype.reset = function () {
+        this.token = null;
+        this.startLine = 1;
+        this.startColumn = 0;
+    };
+    Tokenizer.prototype.current = function () {
+        var token = this.token;
+        if (token === null) {
+            throw new Error('token was unexpectedly null');
+        }
+        if (arguments.length === 0) {
+            return token;
+        }
+        for (var i = 0; i < arguments.length; i++) {
+            if (token.type === arguments[i]) {
+                return token;
+            }
+        }
+        throw new Error("token type was unexpectedly " + token.type);
+    };
+    Tokenizer.prototype.push = function (token) {
+        this.token = token;
+        this.tokens.push(token);
+    };
+    Tokenizer.prototype.currentAttribute = function () {
+        return this._currentAttribute;
+    };
+    Tokenizer.prototype.addLocInfo = function () {
+        if (this.options.loc) {
+            this.current().loc = {
+                start: {
+                    line: this.startLine,
+                    column: this.startColumn
+                },
+                end: {
+                    line: this.tokenizer.line,
+                    column: this.tokenizer.column
+                }
+            };
+        }
+        this.startLine = this.tokenizer.line;
+        this.startColumn = this.tokenizer.column;
+    };
+    // Data
+    Tokenizer.prototype.beginDoctype = function () {
+        this.push({
+            type: "Doctype" /* Doctype */,
+            name: '',
+        });
+    };
+    Tokenizer.prototype.appendToDoctypeName = function (char) {
+        this.current("Doctype" /* Doctype */).name += char;
+    };
+    Tokenizer.prototype.appendToDoctypePublicIdentifier = function (char) {
+        var doctype = this.current("Doctype" /* Doctype */);
+        if (doctype.publicIdentifier === undefined) {
+            doctype.publicIdentifier = char;
+        }
+        else {
+            doctype.publicIdentifier += char;
+        }
+    };
+    Tokenizer.prototype.appendToDoctypeSystemIdentifier = function (char) {
+        var doctype = this.current("Doctype" /* Doctype */);
+        if (doctype.systemIdentifier === undefined) {
+            doctype.systemIdentifier = char;
+        }
+        else {
+            doctype.systemIdentifier += char;
+        }
+    };
+    Tokenizer.prototype.endDoctype = function () {
+        this.addLocInfo();
+    };
+    Tokenizer.prototype.beginData = function () {
+        this.push({
+            type: "Chars" /* Chars */,
+            chars: ''
+        });
+    };
+    Tokenizer.prototype.appendToData = function (char) {
+        this.current("Chars" /* Chars */).chars += char;
+    };
+    Tokenizer.prototype.finishData = function () {
+        this.addLocInfo();
+    };
+    // Comment
+    Tokenizer.prototype.beginComment = function () {
+        this.push({
+            type: "Comment" /* Comment */,
+            chars: ''
+        });
+    };
+    Tokenizer.prototype.appendToCommentData = function (char) {
+        this.current("Comment" /* Comment */).chars += char;
+    };
+    Tokenizer.prototype.finishComment = function () {
+        this.addLocInfo();
+    };
+    // Tags - basic
+    Tokenizer.prototype.tagOpen = function () { };
+    Tokenizer.prototype.beginStartTag = function () {
+        this.push({
+            type: "StartTag" /* StartTag */,
+            tagName: '',
+            attributes: [],
+            selfClosing: false
+        });
+    };
+    Tokenizer.prototype.beginEndTag = function () {
+        this.push({
+            type: "EndTag" /* EndTag */,
+            tagName: ''
+        });
+    };
+    Tokenizer.prototype.finishTag = function () {
+        this.addLocInfo();
+    };
+    Tokenizer.prototype.markTagAsSelfClosing = function () {
+        this.current("StartTag" /* StartTag */).selfClosing = true;
+    };
+    // Tags - name
+    Tokenizer.prototype.appendToTagName = function (char) {
+        this.current("StartTag" /* StartTag */, "EndTag" /* EndTag */).tagName += char;
+    };
+    // Tags - attributes
+    Tokenizer.prototype.beginAttribute = function () {
+        this._currentAttribute = ['', '', false];
+    };
+    Tokenizer.prototype.appendToAttributeName = function (char) {
+        this.currentAttribute()[0] += char;
+    };
+    Tokenizer.prototype.beginAttributeValue = function (isQuoted) {
+        this.currentAttribute()[2] = isQuoted;
+    };
+    Tokenizer.prototype.appendToAttributeValue = function (char) {
+        this.currentAttribute()[1] += char;
+    };
+    Tokenizer.prototype.finishAttributeValue = function () {
+        this.current("StartTag" /* StartTag */).attributes.push(this._currentAttribute);
+    };
+    Tokenizer.prototype.reportSyntaxError = function (message) {
+        this.current().syntaxError = message;
+    };
+    return Tokenizer;
+}());
+
+function tokenize(input, options) {
+    var tokenizer = new Tokenizer(new EntityParser(namedCharRefs), options);
+    return tokenizer.tokenize(input);
+}
+
+
+
+;// CONCATENATED MODULE: external ["wp","htmlEntities"]
+var external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/validation/logger.js
+function createLogger() {
+  /**
+   * Creates a log handler with block validation prefix.
+   *
+   * @param {Function} logger Original logger function.
+   *
+   * @return {Function} Augmented logger function.
+   */
+  function createLogHandler(logger) {
+    let log = function (message) {
+      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+        args[_key - 1] = arguments[_key];
+      }
+
+      return logger('Block validation: ' + message, ...args);
+    }; // In test environments, pre-process string substitutions to improve
+    // readability of error messages. We'd prefer to avoid pulling in this
+    // dependency in runtime environments, and it can be dropped by a combo
+    // of Webpack env substitution + UglifyJS dead code elimination.
+
+
+    if (false) {}
+
+    return log;
+  }
+
+  return {
+    // eslint-disable-next-line no-console
+    error: createLogHandler(console.error),
+    // eslint-disable-next-line no-console
+    warning: createLogHandler(console.warn),
+
+    getItems() {
+      return [];
+    }
+
+  };
+}
+function createQueuedLogger() {
+  /**
+   * The list of enqueued log actions to print.
+   *
+   * @type {Array}
+   */
+  const queue = [];
+  const logger = createLogger();
+  return {
+    error() {
+      for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+        args[_key2] = arguments[_key2];
+      }
+
+      queue.push({
+        log: logger.error,
+        args
+      });
+    },
+
+    warning() {
+      for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
+        args[_key3] = arguments[_key3];
+      }
+
+      queue.push({
+        log: logger.warning,
+        args
+      });
+    },
+
+    getItems() {
+      return queue;
+    }
+
+  };
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/validation/index.js
+/**
+ * External dependencies
+ */
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+/**
+ * Globally matches any consecutive whitespace
+ *
+ * @type {RegExp}
+ */
+
+const REGEXP_WHITESPACE = /[\t\n\r\v\f ]+/g;
+/**
+ * Matches a string containing only whitespace
+ *
+ * @type {RegExp}
+ */
+
+const REGEXP_ONLY_WHITESPACE = /^[\t\n\r\v\f ]*$/;
+/**
+ * Matches a CSS URL type value
+ *
+ * @type {RegExp}
+ */
+
+const REGEXP_STYLE_URL_TYPE = /^url\s*\(['"\s]*(.*?)['"\s]*\)$/;
+/**
+ * Boolean attributes are attributes whose presence as being assigned is
+ * meaningful, even if only empty.
+ *
+ * See: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#boolean-attributes
+ * Extracted from: https://html.spec.whatwg.org/multipage/indices.html#attributes-3
+ *
+ * Object.keys( Array.from( document.querySelectorAll( '#attributes-1 > tbody > tr' ) )
+ *     .filter( ( tr ) => tr.lastChild.textContent.indexOf( 'Boolean attribute' ) !== -1 )
+ *     .reduce( ( result, tr ) => Object.assign( result, {
+ *         [ tr.firstChild.textContent.trim() ]: true
+ *     } ), {} ) ).sort();
+ *
+ * @type {Array}
+ */
+
+const BOOLEAN_ATTRIBUTES = ['allowfullscreen', 'allowpaymentrequest', 'allowusermedia', 'async', 'autofocus', 'autoplay', 'checked', 'controls', 'default', 'defer', 'disabled', 'download', 'formnovalidate', 'hidden', 'ismap', 'itemscope', 'loop', 'multiple', 'muted', 'nomodule', 'novalidate', 'open', 'playsinline', 'readonly', 'required', 'reversed', 'selected', 'typemustmatch'];
+/**
+ * Enumerated attributes are attributes which must be of a specific value form.
+ * Like boolean attributes, these are meaningful if specified, even if not of a
+ * valid enumerated value.
+ *
+ * See: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#enumerated-attribute
+ * Extracted from: https://html.spec.whatwg.org/multipage/indices.html#attributes-3
+ *
+ * Object.keys( Array.from( document.querySelectorAll( '#attributes-1 > tbody > tr' ) )
+ *     .filter( ( tr ) => /^("(.+?)";?\s*)+/.test( tr.lastChild.textContent.trim() ) )
+ *     .reduce( ( result, tr ) => Object.assign( result, {
+ *         [ tr.firstChild.textContent.trim() ]: true
+ *     } ), {} ) ).sort();
+ *
+ * @type {Array}
+ */
+
+const ENUMERATED_ATTRIBUTES = ['autocapitalize', 'autocomplete', 'charset', 'contenteditable', 'crossorigin', 'decoding', 'dir', 'draggable', 'enctype', 'formenctype', 'formmethod', 'http-equiv', 'inputmode', 'kind', 'method', 'preload', 'scope', 'shape', 'spellcheck', 'translate', 'type', 'wrap'];
+/**
+ * Meaningful attributes are those who cannot be safely ignored when omitted in
+ * one HTML markup string and not another.
+ *
+ * @type {Array}
+ */
+
+const MEANINGFUL_ATTRIBUTES = [...BOOLEAN_ATTRIBUTES, ...ENUMERATED_ATTRIBUTES];
+/**
+ * Array of functions which receive a text string on which to apply normalizing
+ * behavior for consideration in text token equivalence, carefully ordered from
+ * least-to-most expensive operations.
+ *
+ * @type {Array}
+ */
+
+const TEXT_NORMALIZATIONS = [external_lodash_namespaceObject.identity, getTextWithCollapsedWhitespace];
+/**
+ * Regular expression matching a named character reference. In lieu of bundling
+ * a full set of references, the pattern covers the minimal necessary to test
+ * positively against the full set.
+ *
+ * "The ampersand must be followed by one of the names given in the named
+ * character references section, using the same case."
+ *
+ * Tested aginst "12.5 Named character references":
+ *
+ * ```
+ * const references = Array.from( document.querySelectorAll(
+ *     '#named-character-references-table tr[id^=entity-] td:first-child'
+ * ) ).map( ( code ) => code.textContent )
+ * references.every( ( reference ) => /^[\da-z]+$/i.test( reference ) )
+ * ```
+ *
+ * @see https://html.spec.whatwg.org/multipage/syntax.html#character-references
+ * @see https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references
+ *
+ * @type {RegExp}
+ */
+
+const REGEXP_NAMED_CHARACTER_REFERENCE = /^[\da-z]+$/i;
+/**
+ * Regular expression matching a decimal character reference.
+ *
+ * "The ampersand must be followed by a U+0023 NUMBER SIGN character (#),
+ * followed by one or more ASCII digits, representing a base-ten integer"
+ *
+ * @see https://html.spec.whatwg.org/multipage/syntax.html#character-references
+ *
+ * @type {RegExp}
+ */
+
+const REGEXP_DECIMAL_CHARACTER_REFERENCE = /^#\d+$/;
+/**
+ * Regular expression matching a hexadecimal character reference.
+ *
+ * "The ampersand must be followed by a U+0023 NUMBER SIGN character (#), which
+ * must be followed by either a U+0078 LATIN SMALL LETTER X character (x) or a
+ * U+0058 LATIN CAPITAL LETTER X character (X), which must then be followed by
+ * one or more ASCII hex digits, representing a hexadecimal integer"
+ *
+ * @see https://html.spec.whatwg.org/multipage/syntax.html#character-references
+ *
+ * @type {RegExp}
+ */
+
+const REGEXP_HEXADECIMAL_CHARACTER_REFERENCE = /^#x[\da-f]+$/i;
+/**
+ * Returns true if the given string is a valid character reference segment, or
+ * false otherwise. The text should be stripped of `&` and `;` demarcations.
+ *
+ * @param {string} text Text to test.
+ *
+ * @return {boolean} Whether text is valid character reference.
+ */
+
+function isValidCharacterReference(text) {
+  return REGEXP_NAMED_CHARACTER_REFERENCE.test(text) || REGEXP_DECIMAL_CHARACTER_REFERENCE.test(text) || REGEXP_HEXADECIMAL_CHARACTER_REFERENCE.test(text);
+}
+/**
+ * Subsitute EntityParser class for `simple-html-tokenizer` which uses the
+ * implementation of `decodeEntities` from `html-entities`, in order to avoid
+ * bundling a massive named character reference.
+ *
+ * @see https://github.com/tildeio/simple-html-tokenizer/tree/HEAD/src/entity-parser.ts
+ */
+
+class DecodeEntityParser {
+  /**
+   * Returns a substitute string for an entity string sequence between `&`
+   * and `;`, or undefined if no substitution should occur.
+   *
+   * @param {string} entity Entity fragment discovered in HTML.
+   *
+   * @return {?string} Entity substitute value.
+   */
+  parse(entity) {
+    if (isValidCharacterReference(entity)) {
+      return (0,external_wp_htmlEntities_namespaceObject.decodeEntities)('&' + entity + ';');
+    }
+  }
+
+}
+/**
+ * Given a specified string, returns an array of strings split by consecutive
+ * whitespace, ignoring leading or trailing whitespace.
+ *
+ * @param {string} text Original text.
+ *
+ * @return {string[]} Text pieces split on whitespace.
+ */
+
+function getTextPiecesSplitOnWhitespace(text) {
+  return text.trim().split(REGEXP_WHITESPACE);
+}
+/**
+ * Given a specified string, returns a new trimmed string where all consecutive
+ * whitespace is collapsed to a single space.
+ *
+ * @param {string} text Original text.
+ *
+ * @return {string} Trimmed text with consecutive whitespace collapsed.
+ */
+
+function getTextWithCollapsedWhitespace(text) {
+  // This is an overly simplified whitespace comparison. The specification is
+  // more prescriptive of whitespace behavior in inline and block contexts.
+  //
+  // See: https://medium.com/@patrickbrosset/when-does-white-space-matter-in-html-b90e8a7cdd33
+  return getTextPiecesSplitOnWhitespace(text).join(' ');
+}
+/**
+ * Returns attribute pairs of the given StartTag token, including only pairs
+ * where the value is non-empty or the attribute is a boolean attribute, an
+ * enumerated attribute, or a custom data- attribute.
+ *
+ * @see MEANINGFUL_ATTRIBUTES
+ *
+ * @param {Object} token StartTag token.
+ *
+ * @return {Array[]} Attribute pairs.
+ */
+
+function getMeaningfulAttributePairs(token) {
+  return token.attributes.filter(pair => {
+    const [key, value] = pair;
+    return value || key.indexOf('data-') === 0 || (0,external_lodash_namespaceObject.includes)(MEANINGFUL_ATTRIBUTES, key);
+  });
+}
+/**
+ * Returns true if two text tokens (with `chars` property) are equivalent, or
+ * false otherwise.
+ *
+ * @param {Object} actual   Actual token.
+ * @param {Object} expected Expected token.
+ * @param {Object} logger   Validation logger object.
+ *
+ * @return {boolean} Whether two text tokens are equivalent.
+ */
+
+function isEquivalentTextTokens(actual, expected) {
+  let logger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createLogger();
+  // This function is intentionally written as syntactically "ugly" as a hot
+  // path optimization. Text is progressively normalized in order from least-
+  // to-most operationally expensive, until the earliest point at which text
+  // can be confidently inferred as being equal.
+  let actualChars = actual.chars;
+  let expectedChars = expected.chars;
+
+  for (let i = 0; i < TEXT_NORMALIZATIONS.length; i++) {
+    const normalize = TEXT_NORMALIZATIONS[i];
+    actualChars = normalize(actualChars);
+    expectedChars = normalize(expectedChars);
+
+    if (actualChars === expectedChars) {
+      return true;
+    }
+  }
+
+  logger.warning('Expected text `%s`, saw `%s`.', expected.chars, actual.chars);
+  return false;
+}
+/**
+ * Given a CSS length value, returns a normalized CSS length value for strict equality
+ * comparison.
+ *
+ * @param {string} value CSS length value.
+ *
+ * @return {string} Normalized CSS length value.
+ */
+
+function getNormalizedLength(value) {
+  if (0 === parseFloat(value)) {
+    return '0';
+  } // Normalize strings with floats to always include a leading zero.
+
+
+  if (value.indexOf('.') === 0) {
+    return '0' + value;
+  }
+
+  return value;
+}
+/**
+ * Given a style value, returns a normalized style value for strict equality
+ * comparison.
+ *
+ * @param {string} value Style value.
+ *
+ * @return {string} Normalized style value.
+ */
+
+function getNormalizedStyleValue(value) {
+  const textPieces = getTextPiecesSplitOnWhitespace(value);
+  const normalizedPieces = textPieces.map(getNormalizedLength);
+  const result = normalizedPieces.join(' ');
+  return result // Normalize URL type to omit whitespace or quotes
+  .replace(REGEXP_STYLE_URL_TYPE, 'url($1)');
+}
+/**
+ * Given a style attribute string, returns an object of style properties.
+ *
+ * @param {string} text Style attribute.
+ *
+ * @return {Object} Style properties.
+ */
+
+function getStyleProperties(text) {
+  const pairs = text // Trim ending semicolon (avoid including in split)
+  .replace(/;?\s*$/, '') // Split on property assignment
+  .split(';') // For each property assignment...
+  .map(style => {
+    // ...split further into key-value pairs
+    const [key, ...valueParts] = style.split(':');
+    const value = valueParts.join(':');
+    return [key.trim(), getNormalizedStyleValue(value.trim())];
+  });
+  return (0,external_lodash_namespaceObject.fromPairs)(pairs);
+}
+/**
+ * Attribute-specific equality handlers
+ *
+ * @type {Object}
+ */
+
+const isEqualAttributesOfName = {
+  class: (actual, expected) => {
+    // Class matches if members are the same, even if out of order or
+    // superfluous whitespace between.
+    return !(0,external_lodash_namespaceObject.xor)(...[actual, expected].map(getTextPiecesSplitOnWhitespace)).length;
+  },
+  style: (actual, expected) => {
+    return (0,external_lodash_namespaceObject.isEqual)(...[actual, expected].map(getStyleProperties));
+  },
+  // For each boolean attribute, mere presence of attribute in both is enough
+  // to assume equivalence.
+  ...(0,external_lodash_namespaceObject.fromPairs)(BOOLEAN_ATTRIBUTES.map(attribute => [attribute, external_lodash_namespaceObject.stubTrue]))
+};
+/**
+ * Given two sets of attribute tuples, returns true if the attribute sets are
+ * equivalent.
+ *
+ * @param {Array[]} actual   Actual attributes tuples.
+ * @param {Array[]} expected Expected attributes tuples.
+ * @param {Object}  logger   Validation logger object.
+ *
+ * @return {boolean} Whether attributes are equivalent.
+ */
+
+function isEqualTagAttributePairs(actual, expected) {
+  let logger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createLogger();
+
+  // Attributes is tokenized as tuples. Their lengths should match. This also
+  // avoids us needing to check both attributes sets, since if A has any keys
+  // which do not exist in B, we know the sets to be different.
+  if (actual.length !== expected.length) {
+    logger.warning('Expected attributes %o, instead saw %o.', expected, actual);
+    return false;
+  } // Attributes are not guaranteed to occur in the same order. For validating
+  // actual attributes, first convert the set of expected attribute values to
+  // an object, for lookup by key.
+
+
+  const expectedAttributes = {};
+
+  for (let i = 0; i < expected.length; i++) {
+    expectedAttributes[expected[i][0].toLowerCase()] = expected[i][1];
+  }
+
+  for (let i = 0; i < actual.length; i++) {
+    const [name, actualValue] = actual[i];
+    const nameLower = name.toLowerCase(); // As noted above, if missing member in B, assume different
+
+    if (!expectedAttributes.hasOwnProperty(nameLower)) {
+      logger.warning('Encountered unexpected attribute `%s`.', name);
+      return false;
+    }
+
+    const expectedValue = expectedAttributes[nameLower];
+    const isEqualAttributes = isEqualAttributesOfName[nameLower];
+
+    if (isEqualAttributes) {
+      // Defer custom attribute equality handling
+      if (!isEqualAttributes(actualValue, expectedValue)) {
+        logger.warning('Expected attribute `%s` of value `%s`, saw `%s`.', name, expectedValue, actualValue);
+        return false;
+      }
+    } else if (actualValue !== expectedValue) {
+      // Otherwise strict inequality should bail
+      logger.warning('Expected attribute `%s` of value `%s`, saw `%s`.', name, expectedValue, actualValue);
+      return false;
+    }
+  }
+
+  return true;
+}
+/**
+ * Token-type-specific equality handlers
+ *
+ * @type {Object}
+ */
+
+const isEqualTokensOfType = {
+  StartTag: function (actual, expected) {
+    let logger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createLogger();
+
+    if (actual.tagName !== expected.tagName && // Optimization: Use short-circuit evaluation to defer case-
+    // insensitive check on the assumption that the majority case will
+    // have exactly equal tag names.
+    actual.tagName.toLowerCase() !== expected.tagName.toLowerCase()) {
+      logger.warning('Expected tag name `%s`, instead saw `%s`.', expected.tagName, actual.tagName);
+      return false;
+    }
+
+    return isEqualTagAttributePairs(...[actual, expected].map(getMeaningfulAttributePairs), logger);
+  },
+  Chars: isEquivalentTextTokens,
+  Comment: isEquivalentTextTokens
 };
-
 /**
- * Created by Estevao on 31-05-2015.
+ * Given an array of tokens, returns the first token which is not purely
+ * whitespace.
+ *
+ * Mutates the tokens array.
+ *
+ * @param {Object[]} tokens Set of tokens to search.
+ *
+ * @return {Object} Next non-whitespace token.
  */

+function getNextNonWhitespaceToken(tokens) {
+  let token;
+
+  while (token = tokens.shift()) {
+    if (token.type !== 'Chars') {
+      return token;
+    }
+
+    if (!REGEXP_ONLY_WHITESPACE.test(token.chars)) {
+      return token;
+    }
+  }
+}
 /**
- * Showdown Converter class
- * @class
- * @param {object} [converterOptions]
- * @returns {Converter}
+ * Tokenize an HTML string, gracefully handling any errors thrown during
+ * underlying tokenization.
+ *
+ * @param {string} html   HTML string to tokenize.
+ * @param {Object} logger Validation logger object.
+ *
+ * @return {Object[]|null} Array of valid tokenized HTML elements, or null on error
  */
-showdown.Converter = function (converterOptions) {
-  'use strict';

-  var
-      /**
-       * Options used by this converter
-       * @private
-       * @type {{}}
-       */
-      options = {},
+function getHTMLTokens(html) {
+  let logger = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : createLogger();

-      /**
-       * Language extensions used by this converter
-       * @private
-       * @type {Array}
-       */
-      langExtensions = [],
+  try {
+    return new Tokenizer(new DecodeEntityParser()).tokenize(html);
+  } catch (e) {
+    logger.warning('Malformed HTML detected: %s', html);
+  }

-      /**
-       * Output modifiers extensions used by this converter
-       * @private
-       * @type {Array}
-       */
-      outputModifiers = [],
+  return null;
+}
+/**
+ * Returns true if the next HTML token closes the current token.
+ *
+ * @param {Object}           currentToken Current token to compare with.
+ * @param {Object|undefined} nextToken    Next token to compare against.
+ *
+ * @return {boolean} true if `nextToken` closes `currentToken`, false otherwise
+ */

-      /**
-       * Event listeners
-       * @private
-       * @type {{}}
-       */
-      listeners = {},

-      /**
-       * The flavor set in this converter
-       */
-      setConvFlavor = setFlavor,
+function isClosedByToken(currentToken, nextToken) {
+  // Ensure this is a self closed token
+  if (!currentToken.selfClosing) {
+    return false;
+  } // Check token names and determine if nextToken is the closing tag for currentToken

-      /**
-       * Metadata of the document
-       * @type {{parsed: {}, raw: string, format: string}}
-       */
-      metadata = {
-        parsed: {},
-        raw: '',
-        format: ''
-      };

-  _constructor();
+  if (nextToken && nextToken.tagName === currentToken.tagName && nextToken.type === 'EndTag') {
+    return true;
+  }

-  /**
-   * Converter constructor
-   * @private
-   */
-  function _constructor () {
-    converterOptions = converterOptions || {};
+  return false;
+}
+/**
+ * Returns true if the given HTML strings are effectively equivalent, or
+ * false otherwise. Invalid HTML is not considered equivalent, even if the
+ * strings directly match.
+ *
+ * @param {string} actual   Actual HTML string.
+ * @param {string} expected Expected HTML string.
+ * @param {Object} logger   Validation logger object.
+ *
+ * @return {boolean} Whether HTML strings are equivalent.
+ */

-    for (var gOpt in globalOptions) {
-      if (globalOptions.hasOwnProperty(gOpt)) {
-        options[gOpt] = globalOptions[gOpt];
-      }
+function isEquivalentHTML(actual, expected) {
+  let logger = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : createLogger();
+
+  // Short-circuit if markup is identical.
+  if (actual === expected) {
+    return true;
+  } // Tokenize input content and reserialized save content
+
+
+  const [actualTokens, expectedTokens] = [actual, expected].map(html => getHTMLTokens(html, logger)); // If either is malformed then stop comparing - the strings are not equivalent
+
+  if (!actualTokens || !expectedTokens) {
+    return false;
+  }
+
+  let actualToken, expectedToken;
+
+  while (actualToken = getNextNonWhitespaceToken(actualTokens)) {
+    expectedToken = getNextNonWhitespaceToken(expectedTokens); // Inequal if exhausted all expected tokens
+
+    if (!expectedToken) {
+      logger.warning('Expected end of content, instead saw %o.', actualToken);
+      return false;
+    } // Inequal if next non-whitespace token of each set are not same type
+
+
+    if (actualToken.type !== expectedToken.type) {
+      logger.warning('Expected token of type `%s` (%o), instead saw `%s` (%o).', expectedToken.type, expectedToken, actualToken.type, actualToken);
+      return false;
+    } // Defer custom token type equality handling, otherwise continue and
+    // assume as equal
+
+
+    const isEqualTokens = isEqualTokensOfType[actualToken.type];
+
+    if (isEqualTokens && !isEqualTokens(actualToken, expectedToken, logger)) {
+      return false;
+    } // Peek at the next tokens (actual and expected) to see if they close
+    // a self-closing tag
+
+
+    if (isClosedByToken(actualToken, expectedTokens[0])) {
+      // Consume the next expected token that closes the current actual
+      // self-closing token
+      getNextNonWhitespaceToken(expectedTokens);
+    } else if (isClosedByToken(expectedToken, actualTokens[0])) {
+      // Consume the next actual token that closes the current expected
+      // self-closing token
+      getNextNonWhitespaceToken(actualTokens);
     }
+  }
+
+  if (expectedToken = getNextNonWhitespaceToken(expectedTokens)) {
+    // If any non-whitespace tokens remain in expected token set, this
+    // indicates inequality
+    logger.warning('Expected %o, instead saw end of content.', expectedToken);
+    return false;
+  }
+
+  return true;
+}
+/**
+ * Returns an object with `isValid` property set to `true` if the parsed block
+ * is valid given the input content. A block is considered valid if, when serialized
+ * with assumed attributes, the content matches the original value. If block is
+ * invalid, this function returns all validations issues as well.
+ *
+ * @param {string|Object} blockTypeOrName      Block type.
+ * @param {Object}        attributes           Parsed block attributes.
+ * @param {string}        originalBlockContent Original block content.
+ * @param {Object}        logger               Validation logger object.
+ *
+ * @return {Object} Whether block is valid and contains validation messages.
+ */
+
+/**
+ * Returns an object with `isValid` property set to `true` if the parsed block
+ * is valid given the input content. A block is considered valid if, when serialized
+ * with assumed attributes, the content matches the original value. If block is
+ * invalid, this function returns all validations issues as well.
+ *
+ * @param {import('../parser').WPBlock}           block           block object.
+ * @param {import('../registration').WPBlockType} blockTypeOrName Block type or name.
+ *
+ * @return {[boolean,Object]} validation results.
+ */
+
+function validateBlock(block, blockTypeOrName) {
+  const isFallbackBlock = block.name === getFreeformContentHandlerName() || block.name === getUnregisteredTypeHandlerName(); // Shortcut to avoid costly validation.
+
+  if (isFallbackBlock) {
+    return [true];
+  }
+
+  const logger = createQueuedLogger();
+  const blockType = normalizeBlockType(blockTypeOrName);
+  let generatedBlockContent;
+
+  try {
+    generatedBlockContent = getSaveContent(blockType, block.attributes);
+  } catch (error) {
+    logger.error('Block validation failed because an error occurred while generating block content:\n\n%s', error.toString());
+    return [false, logger.getItems()];
+  }
+
+  const isValid = isEquivalentHTML(block.originalContent, generatedBlockContent, logger);
+
+  if (!isValid) {
+    logger.error('Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s', blockType.name, blockType, generatedBlockContent, block.originalContent);
+  }
+
+  return [isValid, logger.getItems()];
+}
+/**
+ * Returns true if the parsed block is valid given the input content. A block
+ * is considered valid if, when serialized with assumed attributes, the content
+ * matches the original value.
+ *
+ * Logs to console in development environments when invalid.
+ *
+ * @param {string|Object} blockTypeOrName      Block type.
+ * @param {Object}        attributes           Parsed block attributes.
+ * @param {string}        originalBlockContent Original block content.
+ *
+ * @return {boolean} Whether block is valid.
+ */

-    // Merge options
-    if (typeof converterOptions === 'object') {
-      for (var opt in converterOptions) {
-        if (converterOptions.hasOwnProperty(opt)) {
-          options[opt] = converterOptions[opt];
-        }
-      }
-    } else {
-      throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +
-      ' was passed instead.');
-    }
+function isValidBlockContent(blockTypeOrName, attributes, originalBlockContent) {
+  const blockType = normalizeBlockType(blockTypeOrName);
+  const block = {
+    name: blockType.name,
+    attributes,
+    innerBlocks: [],
+    originalContent: originalBlockContent
+  };
+  const [isValid] = validateBlock(block, blockType);
+  return isValid;
+}

-    if (options.extensions) {
-      showdown.helper.forEach(options.extensions, _parseExtension);
-    }
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/convert-legacy-block.js
+/**
+ * Convert legacy blocks to their canonical form. This function is used
+ * both in the parser level for previous content and to convert such blocks
+ * used in Custom Post Types templates.
+ *
+ * @param {string} name       The block's name
+ * @param {Object} attributes The block's attributes
+ *
+ * @return {[string, Object]} The block's name and attributes, changed accordingly if a match was found
+ */
+function convertLegacyBlockNameAndAttributes(name, attributes) {
+  const newAttributes = { ...attributes
+  }; // Convert 'core/cover-image' block in existing content to 'core/cover'.

-  /**
-   * Parse extension
-   * @param {*} ext
-   * @param {string} [name='']
-   * @private
-   */
-  function _parseExtension (ext, name) {
+  if ('core/cover-image' === name) {
+    name = 'core/cover';
+  } // Convert 'core/text' blocks in existing content to 'core/paragraph'.

-    name = name || null;
-    // If it's a string, the extension was previously loaded
-    if (showdown.helper.isString(ext)) {
-      ext = showdown.helper.stdExtName(ext);
-      name = ext;

-      // LEGACY_SUPPORT CODE
-      if (showdown.extensions[ext]) {
-        console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +
-          'Please inform the developer that the extension should be updated!');
-        legacyExtensionLoading(showdown.extensions[ext], ext);
-        return;
-        // END LEGACY SUPPORT CODE
+  if ('core/text' === name || 'core/cover-text' === name) {
+    name = 'core/paragraph';
+  } // Convert derivative blocks such as 'core/social-link-wordpress' to the
+  // canonical form 'core/social-link'.

-      } else if (!showdown.helper.isUndefined(extensions[ext])) {
-        ext = extensions[ext];

-      } else {
-        throw Error('Extension "' + ext + '" could not be loaded. It was either not found or is not a valid extension.');
-      }
-    }
+  if (name && name.indexOf('core/social-link-') === 0) {
+    // Capture `social-link-wordpress` into `{"service":"wordpress"}`
+    newAttributes.service = name.substring(17);
+    name = 'core/social-link';
+  } // Convert derivative blocks such as 'core-embed/instagram' to the
+  // canonical form 'core/embed'.

-    if (typeof ext === 'function') {
-      ext = ext();
-    }

-    if (!showdown.helper.isArray(ext)) {
-      ext = [ext];
-    }
+  if (name && name.indexOf('core-embed/') === 0) {
+    // Capture `core-embed/instagram` into `{"providerNameSlug":"instagram"}`
+    const providerSlug = name.substring(11);
+    const deprecated = {
+      speaker: 'speaker-deck',
+      polldaddy: 'crowdsignal'
+    };
+    newAttributes.providerNameSlug = providerSlug in deprecated ? deprecated[providerSlug] : providerSlug; // this is needed as the `responsive` attribute was passed
+    // in a different way before the refactoring to block variations

-    var validExt = validate(ext, name);
-    if (!validExt.valid) {
-      throw Error(validExt.error);
+    if (!['amazon-kindle', 'wordpress'].includes(providerSlug)) {
+      newAttributes.responsive = true;
     }

-    for (var i = 0; i < ext.length; ++i) {
-      switch (ext[i].type) {
+    name = 'core/embed';
+  } // Convert 'core/query-loop' blocks in existing content to 'core/post-template'.
+  // TODO: Remove this check when WordPress 5.9 is released.

-        case 'lang':
-          langExtensions.push(ext[i]);
-          break;

-        case 'output':
-          outputModifiers.push(ext[i]);
-          break;
-      }
-      if (ext[i].hasOwnProperty('listeners')) {
-        for (var ln in ext[i].listeners) {
-          if (ext[i].listeners.hasOwnProperty(ln)) {
-            listen(ln, ext[i].listeners[ln]);
-          }
-        }
-      }
-    }
+  if (name === 'core/query-loop') {
+    name = 'core/post-template';
+  } // Convert Post Comment blocks in existing content to Comment blocks.
+  // TODO: Remove these checks when WordPress 6.0 is released.

-  }

-  /**
-   * LEGACY_SUPPORT
-   * @param {*} ext
-   * @param {string} name
-   */
-  function legacyExtensionLoading (ext, name) {
-    if (typeof ext === 'function') {
-      ext = ext(new showdown.Converter());
-    }
-    if (!showdown.helper.isArray(ext)) {
-      ext = [ext];
-    }
-    var valid = validate(ext, name);
+  if (name === 'core/post-comment-author') {
+    name = 'core/comment-author-name';
+  }

-    if (!valid.valid) {
-      throw Error(valid.error);
-    }
+  if (name === 'core/post-comment-content') {
+    name = 'core/comment-content';
+  }

-    for (var i = 0; i < ext.length; ++i) {
-      switch (ext[i].type) {
-        case 'lang':
-          langExtensions.push(ext[i]);
-          break;
-        case 'output':
-          outputModifiers.push(ext[i]);
-          break;
-        default:// should never reach here
-          throw Error('Extension loader error: Type unrecognized!!!');
-      }
-    }
+  if (name === 'core/post-comment-date') {
+    name = 'core/comment-date';
   }

-  /**
-   * Listen to an event
-   * @param {string} name
-   * @param {function} callback
-   */
-  function listen (name, callback) {
-    if (!showdown.helper.isString(name)) {
-      throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');
-    }
+  return [name, newAttributes];
+}

-    if (typeof callback !== 'function') {
-      throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/serialize-raw-block.js
+/**
+ * Internal dependencies
+ */

-    if (!listeners.hasOwnProperty(name)) {
-      listeners[name] = [];
-    }
-    listeners[name].push(callback);
-  }
+/**
+ * Serializes a block node into the native HTML-comment-powered block format.
+ * CAVEAT: This function is intended for reserializing blocks as parsed by
+ * valid parsers and skips any validation steps. This is NOT a generic
+ * serialization function for in-memory blocks. For most purposes, see the
+ * following functions available in the `@wordpress/blocks` package:
+ *
+ * @see serializeBlock
+ * @see serialize
+ *
+ * For more on the format of block nodes as returned by valid parsers:
+ *
+ * @see `@wordpress/block-serialization-default-parser` package
+ * @see `@wordpress/block-serialization-spec-parser` package
+ *
+ * @param {import(".").WPRawBlock} rawBlock                   A block node as returned by a valid parser.
+ * @param {?Object}                options                    Serialization options.
+ * @param {?boolean}               options.isCommentDelimited Whether to output HTML comments around blocks.
+ *
+ * @return {string} An HTML string representing a block.
+ */

-  function rTrimInputText (text) {
-    var rsp = text.match(/^\s*/)[0].length,
-        rgx = new RegExp('^\\s{0,' + rsp + '}', 'gm');
-    return text.replace(rgx, '');
-  }
+function serializeRawBlock(rawBlock) {
+  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  const {
+    isCommentDelimited = true
+  } = options;
+  const {
+    blockName,
+    attrs = {},
+    innerBlocks = [],
+    innerContent = []
+  } = rawBlock;
+  let childIndex = 0;
+  const content = innerContent.map(item => // `null` denotes a nested block, otherwise we have an HTML fragment.
+  item !== null ? item : serializeRawBlock(innerBlocks[childIndex++], options)).join('\n').replace(/\n+/g, '\n').trim();
+  return isCommentDelimited ? getCommentDelimitedContent(blockName, attrs, content) : content;
+}

-  /**
-   * Dispatch an event
-   * @private
-   * @param {string} evtName Event name
-   * @param {string} text Text
-   * @param {{}} options Converter Options
-   * @param {{}} globals
-   * @returns {string}
-   */
-  this._dispatch = function dispatch (evtName, text, options, globals) {
-    if (listeners.hasOwnProperty(evtName)) {
-      for (var ei = 0; ei < listeners[evtName].length; ++ei) {
-        var nText = listeners[evtName][ei](evtName, text, this, options, globals);
-        if (nText && typeof nText !== 'undefined') {
-          text = nText;
-        }
-      }
+;// CONCATENATED MODULE: ./node_modules/hpq/es/get-path.js
+/**
+ * Given object and string of dot-delimited path segments, returns value at
+ * path or undefined if path cannot be resolved.
+ *
+ * @param  {Object} object Lookup object
+ * @param  {string} path   Path to resolve
+ * @return {?*}            Resolved value
+ */
+function getPath(object, path) {
+  var segments = path.split('.');
+  var segment;
+
+  while (segment = segments.shift()) {
+    if (!(segment in object)) {
+      return;
     }
-    return text;
-  };

-  /**
-   * Listen to an event
-   * @param {string} name
-   * @param {function} callback
-   * @returns {showdown.Converter}
-   */
-  this.listen = function (name, callback) {
-    listen(name, callback);
-    return this;
-  };
+    object = object[segment];
+  }

-  /**
-   * Converts a markdown string into HTML
-   * @param {string} text
-   * @returns {*}
-   */
-  this.makeHtml = function (text) {
-    //check if text is not falsy
-    if (!text) {
-      return text;
-    }
+  return object;
+}
+;// CONCATENATED MODULE: ./node_modules/hpq/es/index.js
+/**
+ * Internal dependencies
+ */

-    var globals = {
-      gHtmlBlocks:     [],
-      gHtmlMdBlocks:   [],
-      gHtmlSpans:      [],
-      gUrls:           {},
-      gTitles:         {},
-      gDimensions:     {},
-      gListLevel:      0,
-      hashLinkCounts:  {},
-      langExtensions:  langExtensions,
-      outputModifiers: outputModifiers,
-      converter:       this,
-      ghCodeBlocks:    [],
-      metadata: {
-        parsed: {},
-        raw: '',
-        format: ''
-      }
-    };
+/**
+ * Function returning a DOM document created by `createHTMLDocument`. The same
+ * document is returned between invocations.
+ *
+ * @return {Document} DOM document.
+ */

-    // This lets us use ¨ trema as an escape char to avoid md5 hashes
-    // The choice of character is arbitrary; anything that isn't
-    // magic in Markdown will work.
-    text = text.replace(/¨/g, '¨T');
+var getDocument = function () {
+  var doc;
+  return function () {
+    if (!doc) {
+      doc = document.implementation.createHTMLDocument('');
+    }

-    // Replace $ with ¨D
-    // RegExp interprets $ as a special character
-    // when it's in a replacement string
-    text = text.replace(/\$/g, '¨D');
+    return doc;
+  };
+}();
+/**
+ * Given a markup string or DOM element, creates an object aligning with the
+ * shape of the matchers object, or the value returned by the matcher.
+ *
+ * @param  {(string|Element)}  source   Source content
+ * @param  {(Object|Function)} matchers Matcher function or object of matchers
+ * @return {(Object|*)}                 Matched value(s), shaped by object
+ */

-    // Standardize line endings
-    text = text.replace(/\r\n/g, '\n'); // DOS to Unix
-    text = text.replace(/\r/g, '\n'); // Mac to Unix

-    // Stardardize line spaces
-    text = text.replace(/\u00A0/g, '&nbsp;');
+function parse(source, matchers) {
+  if (!matchers) {
+    return;
+  } // Coerce to element

-    if (options.smartIndentationFix) {
-      text = rTrimInputText(text);
-    }

-    // Make sure text begins and ends with a couple of newlines:
-    text = '\n\n' + text + '\n\n';
+  if ('string' === typeof source) {
+    var doc = getDocument();
+    doc.body.innerHTML = source;
+    source = doc.body;
+  } // Return singular value

-    // detab
-    text = showdown.subParser('detab')(text, options, globals);

-    /**
-     * Strip any lines consisting only of spaces and tabs.
-     * This makes subsequent regexs easier to write, because we can
-     * match consecutive blank lines with /\n+/ instead of something
-     * contorted like /[ \t]*\n+/
-     */
-    text = text.replace(/^[ \t]+$/mg, '');
+  if ('function' === typeof matchers) {
+    return matchers(source);
+  } // Bail if we can't handle matchers

-    //run languageExtensions
-    showdown.helper.forEach(langExtensions, function (ext) {
-      text = showdown.subParser('runExtension')(ext, text, options, globals);
-    });

-    // run the sub parsers
-    text = showdown.subParser('metadata')(text, options, globals);
-    text = showdown.subParser('hashPreCodeTags')(text, options, globals);
-    text = showdown.subParser('githubCodeBlocks')(text, options, globals);
-    text = showdown.subParser('hashHTMLBlocks')(text, options, globals);
-    text = showdown.subParser('hashCodeTags')(text, options, globals);
-    text = showdown.subParser('stripLinkDefinitions')(text, options, globals);
-    text = showdown.subParser('blockGamut')(text, options, globals);
-    text = showdown.subParser('unhashHTMLSpans')(text, options, globals);
-    text = showdown.subParser('unescapeSpecialChars')(text, options, globals);
+  if (Object !== matchers.constructor) {
+    return;
+  } // Shape result by matcher object

-    // attacklab: Restore dollar signs
-    text = text.replace(/¨D/g, '$$');

-    // attacklab: Restore tremas
-    text = text.replace(/¨T/g, '¨');
+  return Object.keys(matchers).reduce(function (memo, key) {
+    memo[key] = parse(source, matchers[key]);
+    return memo;
+  }, {});
+}
+/**
+ * Generates a function which matches node of type selector, returning an
+ * attribute by property if the attribute exists. If no selector is passed,
+ * returns property of the query element.
+ *
+ * @param  {?string} selector Optional selector
+ * @param  {string}  name     Property name
+ * @return {*}                Property value
+ */

-    // render a complete html document instead of a partial if the option is enabled
-    text = showdown.subParser('completeHTMLDocument')(text, options, globals);
+function prop(selector, name) {
+  if (1 === arguments.length) {
+    name = selector;
+    selector = undefined;
+  }

-    // Run output modifiers
-    showdown.helper.forEach(outputModifiers, function (ext) {
-      text = showdown.subParser('runExtension')(ext, text, options, globals);
-    });
+  return function (node) {
+    var match = node;

-    // update metadata
-    metadata = globals.metadata;
-    return text;
-  };
+    if (selector) {
+      match = node.querySelector(selector);
+    }

-  /**
-   * Converts an HTML string into a markdown string
-   * @param src
-   * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.
-   * @returns {string}
-   */
-  this.makeMarkdown = this.makeMd = function (src, HTMLParser) {
+    if (match) {
+      return getPath(match, name);
+    }
+  };
+}
+/**
+ * Generates a function which matches node of type selector, returning an
+ * attribute by name if the attribute exists. If no selector is passed,
+ * returns attribute of the query element.
+ *
+ * @param  {?string} selector Optional selector
+ * @param  {string}  name     Attribute name
+ * @return {?string}          Attribute value
+ */

-    // replace \r\n with \n
-    src = src.replace(/\r\n/g, '\n');
-    src = src.replace(/\r/g, '\n'); // old macs
+function attr(selector, name) {
+  if (1 === arguments.length) {
+    name = selector;
+    selector = undefined;
+  }

-    // due to an edge case, we need to find this: > <
-    // to prevent removing of non silent white spaces
-    // ex: <em>this is</em> <strong>sparta</strong>
-    src = src.replace(/>[ \t]+</, '>¨NBSP;<');
+  return function (node) {
+    var attributes = prop(selector, 'attributes')(node);

-    if (!HTMLParser) {
-      if (window && window.document) {
-        HTMLParser = window.document;
-      } else {
-        throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');
-      }
+    if (attributes && attributes.hasOwnProperty(name)) {
+      return attributes[name].value;
     }
+  };
+}
+/**
+ * Convenience for `prop( selector, 'innerHTML' )`.
+ *
+ * @see prop()
+ *
+ * @param  {?string} selector Optional selector
+ * @return {string}           Inner HTML
+ */

-    var doc = HTMLParser.createElement('div');
-    doc.innerHTML = src;
+function html(selector) {
+  return prop(selector, 'innerHTML');
+}
+/**
+ * Convenience for `prop( selector, 'textContent' )`.
+ *
+ * @see prop()
+ *
+ * @param  {?string} selector Optional selector
+ * @return {string}           Text content
+ */
+
+function es_text(selector) {
+  return prop(selector, 'textContent');
+}
+/**
+ * Creates a new matching context by first finding elements matching selector
+ * using querySelectorAll before then running another `parse` on `matchers`
+ * scoped to the matched elements.
+ *
+ * @see parse()
+ *
+ * @param  {string}            selector Selector to match
+ * @param  {(Object|Function)} matchers Matcher function or object of matchers
+ * @return {Array.<*,Object>}           Array of matched value(s)
+ */
+
+function query(selector, matchers) {
+  return function (node) {
+    var matches = node.querySelectorAll(selector);
+    return [].map.call(matches, function (match) {
+      return parse(match, matchers);
+    });
+  };
+}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/matchers.js
+/**
+ * External dependencies
+ */

-    var globals = {
-      preList: substitutePreCodeTags(doc)
-    };
+/**
+ * Internal dependencies
+ */

-    // remove all newlines and collapse spaces
-    clean(doc);

-    // some stuff, like accidental reference links must now be escaped
-    // TODO
-    // doc.innerHTML = doc.innerHTML.replace(/\[[\S\t ]]/);

-    var nodes = doc.childNodes,
-        mdDoc = '';
+function matchers_html(selector, multilineTag) {
+  return domNode => {
+    let match = domNode;

-    for (var i = 0; i < nodes.length; i++) {
-      mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);
+    if (selector) {
+      match = domNode.querySelector(selector);
     }

-    function clean (node) {
-      for (var n = 0; n < node.childNodes.length; ++n) {
-        var child = node.childNodes[n];
-        if (child.nodeType === 3) {
-          if (!/\S/.test(child.nodeValue)) {
-            node.removeChild(child);
-            --n;
-          } else {
-            child.nodeValue = child.nodeValue.split('\n').join(' ');
-            child.nodeValue = child.nodeValue.replace(/(\s)+/g, '$1');
-          }
-        } else if (child.nodeType === 1) {
-          clean(child);
-        }
-      }
+    if (!match) {
+      return '';
     }

-    // find all pre tags and replace contents with placeholder
-    // we need this so that we can remove all indentation from html
-    // to ease up parsing
-    function substitutePreCodeTags (doc) {
-
-      var pres = doc.querySelectorAll('pre'),
-          presPH = [];
-
-      for (var i = 0; i < pres.length; ++i) {
-
-        if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {
-          var content = pres[i].firstChild.innerHTML.trim(),
-              language = pres[i].firstChild.getAttribute('data-language') || '';
-
-          // if data-language attribute is not defined, then we look for class language-*
-          if (language === '') {
-            var classes = pres[i].firstChild.className.split(' ');
-            for (var c = 0; c < classes.length; ++c) {
-              var matches = classes[c].match(/^language-(.+)$/);
-              if (matches !== null) {
-                language = matches[1];
-                break;
-              }
-            }
-          }
+    if (multilineTag) {
+      let value = '';
+      const length = match.children.length;

-          // unescape html entities in content
-          content = showdown.helper.unescapeHTMLEntities(content);
+      for (let index = 0; index < length; index++) {
+        const child = match.children[index];

-          presPH.push(content);
-          pres[i].outerHTML = '<precode language="' + language + '" precodenum="' + i.toString() + '"></precode>';
-        } else {
-          presPH.push(pres[i].innerHTML);
-          pres[i].innerHTML = '';
-          pres[i].setAttribute('prenum', i.toString());
+        if (child.nodeName.toLowerCase() !== multilineTag) {
+          continue;
         }
+
+        value += child.outerHTML;
       }
-      return presPH;
+
+      return value;
     }

-    return mdDoc;
+    return match.innerHTML;
   };
+}

-  /**
-   * Set an option of this Converter instance
-   * @param {string} key
-   * @param {*} value
-   */
-  this.setOption = function (key, value) {
-    options[key] = value;
-  };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/node.js
+/**
+ * Internal dependencies
+ */

-  /**
-   * Get the option of this Converter instance
-   * @param {string} key
-   * @returns {*}
-   */
-  this.getOption = function (key) {
-    return options[key];
-  };
+/**
+ * A representation of a single node within a block's rich text value. If
+ * representing a text node, the value is simply a string of the node value.
+ * As representing an element node, it is an object of:
+ *
+ * 1. `type` (string): Tag name.
+ * 2. `props` (object): Attributes and children array of WPBlockNode.
+ *
+ * @typedef {string|Object} WPBlockNode
+ */

-  /**
-   * Get the options of this Converter instance
-   * @returns {{}}
-   */
-  this.getOptions = function () {
-    return options;
-  };
+/**
+ * Given a single node and a node type (e.g. `'br'`), returns true if the node
+ * corresponds to that type, false otherwise.
+ *
+ * @param {WPBlockNode} node Block node to test
+ * @param {string}      type Node to type to test against.
+ *
+ * @return {boolean} Whether node is of intended type.
+ */

-  /**
-   * Add extension to THIS converter
-   * @param {{}} extension
-   * @param {string} [name=null]
-   */
-  this.addExtension = function (extension, name) {
-    name = name || null;
-    _parseExtension(extension, name);
-  };
+function isNodeOfType(node, type) {
+  return node && node.type === type;
+}
+/**
+ * Given an object implementing the NamedNodeMap interface, returns a plain
+ * object equivalent value of name, value key-value pairs.
+ *
+ * @see https://dom.spec.whatwg.org/#interface-namednodemap
+ *
+ * @param {NamedNodeMap} nodeMap NamedNodeMap to convert to object.
+ *
+ * @return {Object} Object equivalent value of NamedNodeMap.
+ */

-  /**
-   * Use a global registered extension with THIS converter
-   * @param {string} extensionName Name of the previously registered extension
-   */
-  this.useExtension = function (extensionName) {
-    _parseExtension(extensionName);
-  };

-  /**
-   * Set the flavor THIS converter should use
-   * @param {string} name
-   */
-  this.setFlavor = function (name) {
-    if (!flavor.hasOwnProperty(name)) {
-      throw Error(name + ' flavor was not found');
-    }
-    var preset = flavor[name];
-    setConvFlavor = name;
-    for (var option in preset) {
-      if (preset.hasOwnProperty(option)) {
-        options[option] = preset[option];
-      }
-    }
-  };
+function getNamedNodeMapAsObject(nodeMap) {
+  const result = {};

-  /**
-   * Get the currently set flavor of this converter
-   * @returns {string}
-   */
-  this.getFlavor = function () {
-    return setConvFlavor;
-  };
+  for (let i = 0; i < nodeMap.length; i++) {
+    const {
+      name,
+      value
+    } = nodeMap[i];
+    result[name] = value;
+  }

-  /**
-   * Remove an extension from THIS converter.
-   * Note: This is a costly operation. It's better to initialize a new converter
-   * and specify the extensions you wish to use
-   * @param {Array} extension
-   */
-  this.removeExtension = function (extension) {
-    if (!showdown.helper.isArray(extension)) {
-      extension = [extension];
-    }
-    for (var a = 0; a < extension.length; ++a) {
-      var ext = extension[a];
-      for (var i = 0; i < langExtensions.length; ++i) {
-        if (langExtensions[i] === ext) {
-          langExtensions[i].splice(i, 1);
-        }
-      }
-      for (var ii = 0; ii < outputModifiers.length; ++i) {
-        if (outputModifiers[ii] === ext) {
-          outputModifiers[ii].splice(i, 1);
-        }
-      }
+  return result;
+}
+/**
+ * Given a DOM Element or Text node, returns an equivalent block node. Throws
+ * if passed any node type other than element or text.
+ *
+ * @throws {TypeError} If non-element/text node is passed.
+ *
+ * @param {Node} domNode DOM node to convert.
+ *
+ * @return {WPBlockNode} Block node equivalent to DOM node.
+ */
+
+function fromDOM(domNode) {
+  if (domNode.nodeType === domNode.TEXT_NODE) {
+    return domNode.nodeValue;
+  }
+
+  if (domNode.nodeType !== domNode.ELEMENT_NODE) {
+    throw new TypeError('A block node can only be created from a node of type text or ' + 'element.');
+  }
+
+  return {
+    type: domNode.nodeName.toLowerCase(),
+    props: { ...getNamedNodeMapAsObject(domNode.attributes),
+      children: children_fromDOM(domNode.childNodes)
     }
   };
+}
+/**
+ * Given a block node, returns its HTML string representation.
+ *
+ * @param {WPBlockNode} node Block node to convert to string.
+ *
+ * @return {string} String HTML representation of block node.
+ */
+
+function toHTML(node) {
+  return children_toHTML([node]);
+}
+/**
+ * Given a selector, returns an hpq matcher generating a WPBlockNode value
+ * matching the selector result.
+ *
+ * @param {string} selector DOM selector.
+ *
+ * @return {Function} hpq matcher.
+ */

-  /**
-   * Get all extension of THIS converter
-   * @returns {{language: Array, output: Array}}
-   */
-  this.getAllExtensions = function () {
-    return {
-      language: langExtensions,
-      output: outputModifiers
-    };
-  };
+function node_matcher(selector) {
+  return domNode => {
+    let match = domNode;

-  /**
-   * Get the metadata of the previously parsed document
-   * @param raw
-   * @returns {string|{}}
-   */
-  this.getMetadata = function (raw) {
-    if (raw) {
-      return metadata.raw;
-    } else {
-      return metadata.parsed;
+    if (selector) {
+      match = domNode.querySelector(selector);
     }
-  };

-  /**
-   * Get the metadata format of the previously parsed document
-   * @returns {string}
-   */
-  this.getMetadataFormat = function () {
-    return metadata.format;
+    try {
+      return fromDOM(match);
+    } catch (error) {
+      return null;
+    }
   };
+}
+/**
+ * Object of utility functions used in managing block attribute values of
+ * source `node`.
+ *
+ * @see https://github.com/WordPress/gutenberg/pull/10439
+ *
+ * @deprecated since 4.0. The `node` source should not be used, and can be
+ *             replaced by the `html` source.
+ *
+ * @private
+ */

-  /**
-   * Private: set a single key, value metadata pair
-   * @param {string} key
-   * @param {string} value
-   */
-  this._setMetadataPair = function (key, value) {
-    metadata.parsed[key] = value;
-  };
+/* harmony default export */ var node = ({
+  isNodeOfType,
+  fromDOM,
+  toHTML,
+  matcher: node_matcher
+});

-  /**
-   * Private: set metadata format
-   * @param {string} format
-   */
-  this._setMetadataFormat = function (format) {
-    metadata.format = format;
-  };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/children.js
+/**
+ * External dependencies
+ */

-  /**
-   * Private: set metadata raw text
-   * @param {string} raw
-   */
-  this._setMetadataRaw = function (raw) {
-    metadata.raw = raw;
-  };
-};
-
 /**
- * Turn Markdown link shortcuts into XHTML <a> tags.
+ * WordPress dependencies
  */
-showdown.subParser('anchors', function (text, options, globals) {
-  'use strict';

-  text = globals.converter._dispatch('anchors.before', text, options, globals);

-  var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {
-    if (showdown.helper.isUndefined(title)) {
-      title = '';
-    }
-    linkId = linkId.toLowerCase();
+/**
+ * Internal dependencies
+ */

-    // Special case for explicit empty url
-    if (wholeMatch.search(/\(<?\s*>? ?(['"].*['"])?\)$/m) > -1) {
-      url = '';
-    } else if (!url) {
-      if (!linkId) {
-        // lower-case and turn embedded newlines into spaces
-        linkId = linkText.toLowerCase().replace(/ ?\n/g, ' ');
-      }
-      url = '#' + linkId;

-      if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {
-        url = globals.gUrls[linkId];
-        if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {
-          title = globals.gTitles[linkId];
-        }
+/**
+ * A representation of a block's rich text value.
+ *
+ * @typedef {WPBlockNode[]} WPBlockChildren
+ */
+
+/**
+ * Given block children, returns a serialize-capable WordPress element.
+ *
+ * @param {WPBlockChildren} children Block children object to convert.
+ *
+ * @return {WPElement} A serialize-capable element.
+ */
+
+function getSerializeCapableElement(children) {
+  // The fact that block children are compatible with the element serializer is
+  // merely an implementation detail that currently serves to be true, but
+  // should not be mistaken as being a guarantee on the external API. The
+  // public API only offers guarantees to work with strings (toHTML) and DOM
+  // elements (fromDOM), and should provide utilities to manipulate the value
+  // rather than expect consumers to inspect or construct its shape (concat).
+  return children;
+}
+/**
+ * Given block children, returns an array of block nodes.
+ *
+ * @param {WPBlockChildren} children Block children object to convert.
+ *
+ * @return {Array<WPBlockNode>} An array of individual block nodes.
+ */
+
+function getChildrenArray(children) {
+  // The fact that block children are compatible with the element serializer
+  // is merely an implementation detail that currently serves to be true, but
+  // should not be mistaken as being a guarantee on the external API.
+  return children;
+}
+/**
+ * Given two or more block nodes, returns a new block node representing a
+ * concatenation of its values.
+ *
+ * @param {...WPBlockChildren} blockNodes Block nodes to concatenate.
+ *
+ * @return {WPBlockChildren} Concatenated block node.
+ */
+
+
+function concat() {
+  const result = [];
+
+  for (let i = 0; i < arguments.length; i++) {
+    const blockNode = (0,external_lodash_namespaceObject.castArray)(i < 0 || arguments.length <= i ? undefined : arguments[i]);
+
+    for (let j = 0; j < blockNode.length; j++) {
+      const child = blockNode[j];
+      const canConcatToPreviousString = typeof child === 'string' && typeof result[result.length - 1] === 'string';
+
+      if (canConcatToPreviousString) {
+        result[result.length - 1] += child;
       } else {
-        return wholeMatch;
+        result.push(child);
       }
     }
+  }

-    //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance
-    url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
+  return result;
+}
+/**
+ * Given an iterable set of DOM nodes, returns equivalent block children.
+ * Ignores any non-element/text nodes included in set.
+ *
+ * @param {Iterable.<Node>} domNodes Iterable set of DOM nodes to convert.
+ *
+ * @return {WPBlockChildren} Block children equivalent to DOM nodes.
+ */

-    var result = '<a href="' + url + '"';
+function children_fromDOM(domNodes) {
+  const result = [];

-    if (title !== '' && title !== null) {
-      title = title.replace(/"/g, '&quot;');
-      //title = showdown.helper.escapeCharacters(title, '*_', false); // replaced line to improve performance
-      title = title.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
-      result += ' title="' + title + '"';
+  for (let i = 0; i < domNodes.length; i++) {
+    try {
+      result.push(fromDOM(domNodes[i]));
+    } catch (error) {// Simply ignore if DOM node could not be converted.
     }
+  }

-    // optionLinksInNewWindow only applies
-    // to external links. Hash links (#) open in same page
-    if (options.openLinksInNewWindow && !/^#/.test(url)) {
-      // escaped _
-      result += ' rel="noopener noreferrer" target="¨E95Eblank"';
+  return result;
+}
+/**
+ * Given a block node, returns its HTML string representation.
+ *
+ * @param {WPBlockChildren} children Block node(s) to convert to string.
+ *
+ * @return {string} String HTML representation of block node.
+ */
+
+function children_toHTML(children) {
+  const element = getSerializeCapableElement(children);
+  return (0,external_wp_element_namespaceObject.renderToString)(element);
+}
+/**
+ * Given a selector, returns an hpq matcher generating a WPBlockChildren value
+ * matching the selector result.
+ *
+ * @param {string} selector DOM selector.
+ *
+ * @return {Function} hpq matcher.
+ */
+
+function children_matcher(selector) {
+  return domNode => {
+    let match = domNode;
+
+    if (selector) {
+      match = domNode.querySelector(selector);
+    }
+
+    if (match) {
+      return children_fromDOM(match.childNodes);
     }

-    result += '>' + linkText + '</a>';
+    return [];
+  };
+}
+/**
+ * Object of utility functions used in managing block attribute values of
+ * source `children`.
+ *
+ * @see https://github.com/WordPress/gutenberg/pull/10439
+ *
+ * @deprecated since 4.0. The `children` source should not be used, and can be
+ *             replaced by the `html` source.
+ *
+ * @private
+ */
+
+/* harmony default export */ var children = ({
+  concat,
+  getChildrenArray,
+  fromDOM: children_fromDOM,
+  toHTML: children_toHTML,
+  matcher: children_matcher
+});
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/get-block-attributes.js
+/**
+ * External dependencies
+ */

-    return result;
-  };

-  // First, handle reference-style links: [link text] [id]
-  text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g, writeAnchorTag);
+/**
+ * WordPress dependencies
+ */

-  // Next, inline-style links: [link text](url "optional title")
-  // cases with crazy urls like ./image/cat1).png
-  text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,
-    writeAnchorTag);

-  // normal cases
-  text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,
-    writeAnchorTag);
+/**
+ * Internal dependencies
+ */

-  // handle reference-style shortcuts: [link text]
-  // These must come last in case you've also got [link test][1]
-  // or [link test](/foo)
-  text = text.replace(/\[([^\[\]]+)]()()()()()/g, writeAnchorTag);

-  // Lastly handle GithubMentions if option is enabled
-  if (options.ghMentions) {
-    text = text.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi, function (wm, st, escape, mentions, username) {
-      if (escape === '\\') {
-        return st + mentions;
-      }

-      //check if options.ghMentionsLink is a string
-      if (!showdown.helper.isString(options.ghMentionsLink)) {
-        throw new Error('ghMentionsLink option must be a string');
-      }
-      var lnk = options.ghMentionsLink.replace(/\{u}/g, username),
-          target = '';
-      if (options.openLinksInNewWindow) {
-        target = ' rel="noopener noreferrer" target="¨E95Eblank"';
-      }
-      return st + '<a href="' + lnk + '"' + target + '>' + mentions + '</a>';
-    });
-  }
+/**
+ * Higher-order hpq matcher which enhances an attribute matcher to return true
+ * or false depending on whether the original matcher returns undefined. This
+ * is useful for boolean attributes (e.g. disabled) whose attribute values may
+ * be technically falsey (empty string), though their mere presence should be
+ * enough to infer as true.
+ *
+ * @param {Function} matcher Original hpq matcher.
+ *
+ * @return {Function} Enhanced hpq matcher.
+ */

-  text = globals.converter._dispatch('anchors.after', text, options, globals);
-  return text;
-});
-
-// url allowed chars [a-z\d_.~:/?#[]@!$&'()*+,;=-]
+const toBooleanAttributeMatcher = matcher => (0,external_lodash_namespaceObject.flow)([matcher, // Expected values from `attr( 'disabled' )`:
+//
+// <input>
+// - Value:       `undefined`
+// - Transformed: `false`
+//
+// <input disabled>
+// - Value:       `''`
+// - Transformed: `true`
+//
+// <input disabled="disabled">
+// - Value:       `'disabled'`
+// - Transformed: `true`
+value => value !== undefined]);
+/**
+ * Returns true if value is of the given JSON schema type, or false otherwise.
+ *
+ * @see http://json-schema.org/latest/json-schema-validation.html#rfc.section.6.25
+ *
+ * @param {*}      value Value to test.
+ * @param {string} type  Type to test.
+ *
+ * @return {boolean} Whether value is of type.
+ */

-var simpleURLRegex  = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,
-    simpleURLRegex2 = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,
-    delimUrlRegex   = /()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,
-    simpleMailRegex = /(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,
-    delimMailRegex  = /<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,
+function isOfType(value, type) {
+  switch (type) {
+    case 'string':
+      return typeof value === 'string';

-    replaceLink = function (options) {
-      'use strict';
-      return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {
-        link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
-        var lnkTxt = link,
-            append = '',
-            target = '',
-            lmc    = leadingMagicChars || '',
-            tmc    = trailingMagicChars || '';
-        if (/^www\./i.test(link)) {
-          link = link.replace(/^www\./i, 'http://www.');
-        }
-        if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {
-          append = trailingPunctuation;
-        }
-        if (options.openLinksInNewWindow) {
-          target = ' rel="noopener noreferrer" target="¨E95Eblank"';
-        }
-        return lmc + '<a href="' + link + '"' + target + '>' + lnkTxt + '</a>' + append + tmc;
-      };
-    },
+    case 'boolean':
+      return typeof value === 'boolean';

-    replaceMail = function (options, globals) {
-      'use strict';
-      return function (wholeMatch, b, mail) {
-        var href = 'mailto:';
-        b = b || '';
-        mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);
-        if (options.encodeEmails) {
-          href = showdown.helper.encodeEmailAddress(href + mail);
-          mail = showdown.helper.encodeEmailAddress(mail);
-        } else {
-          href = href + mail;
-        }
-        return b + '<a href="' + href + '">' + mail + '</a>';
-      };
-    };
+    case 'object':
+      return !!value && value.constructor === Object;

-showdown.subParser('autoLinks', function (text, options, globals) {
-  'use strict';
+    case 'null':
+      return value === null;

-  text = globals.converter._dispatch('autoLinks.before', text, options, globals);
+    case 'array':
+      return Array.isArray(value);

-  text = text.replace(delimUrlRegex, replaceLink(options));
-  text = text.replace(delimMailRegex, replaceMail(options, globals));
+    case 'integer':
+    case 'number':
+      return typeof value === 'number';
+  }

-  text = globals.converter._dispatch('autoLinks.after', text, options, globals);
+  return true;
+}
+/**
+ * Returns true if value is of an array of given JSON schema types, or false
+ * otherwise.
+ *
+ * @see http://json-schema.org/latest/json-schema-validation.html#rfc.section.6.25
+ *
+ * @param {*}        value Value to test.
+ * @param {string[]} types Types to test.
+ *
+ * @return {boolean} Whether value is of types.
+ */

-  return text;
-});
+function isOfTypes(value, types) {
+  return types.some(type => isOfType(value, type));
+}
+/**
+ * Given an attribute key, an attribute's schema, a block's raw content and the
+ * commentAttributes returns the attribute value depending on its source
+ * definition of the given attribute key.
+ *
+ * @param {string} attributeKey      Attribute key.
+ * @param {Object} attributeSchema   Attribute's schema.
+ * @param {string} innerHTML         Block's raw content.
+ * @param {Object} commentAttributes Block's comment attributes.
+ *
+ * @return {*} Attribute value.
+ */

-showdown.subParser('simplifiedAutoLinks', function (text, options, globals) {
-  'use strict';
+function getBlockAttribute(attributeKey, attributeSchema, innerHTML, commentAttributes) {
+  const {
+    type,
+    enum: enumSet
+  } = attributeSchema;
+  let value;

-  if (!options.simplifiedAutoLink) {
-    return text;
+  switch (attributeSchema.source) {
+    // An undefined source means that it's an attribute serialized to the
+    // block's "comment".
+    case undefined:
+      value = commentAttributes ? commentAttributes[attributeKey] : undefined;
+      break;
+
+    case 'attribute':
+    case 'property':
+    case 'html':
+    case 'text':
+    case 'children':
+    case 'node':
+    case 'query':
+    case 'tag':
+      value = parseWithAttributeSchema(innerHTML, attributeSchema);
+      break;
   }

-  text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);
+  if (!isValidByType(value, type) || !isValidByEnum(value, enumSet)) {
+    // Reject the value if it is not valid. Reverting to the undefined
+    // value ensures the default is respected, if applicable.
+    value = undefined;
+  }

-  if (options.excludeTrailingPunctuationFromURLs) {
-    text = text.replace(simpleURLRegex2, replaceLink(options));
-  } else {
-    text = text.replace(simpleURLRegex, replaceLink(options));
+  if (value === undefined) {
+    return attributeSchema.default;
   }
-  text = text.replace(simpleMailRegex, replaceMail(options, globals));

-  text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);
+  return value;
+}
+/**
+ * Returns true if value is valid per the given block attribute schema type
+ * definition, or false otherwise.
+ *
+ * @see https://json-schema.org/latest/json-schema-validation.html#rfc.section.6.1.1
+ *
+ * @param {*}                       value Value to test.
+ * @param {?(Array<string>|string)} type  Block attribute schema type.
+ *
+ * @return {boolean} Whether value is valid.
+ */

-  return text;
-});
-
+function isValidByType(value, type) {
+  return type === undefined || isOfTypes(value, (0,external_lodash_namespaceObject.castArray)(type));
+}
 /**
- * These are all the transformations that form block-level
- * tags like paragraphs, headers, and list items.
+ * Returns true if value is valid per the given block attribute schema enum
+ * definition, or false otherwise.
+ *
+ * @see https://json-schema.org/latest/json-schema-validation.html#rfc.section.6.1.2
+ *
+ * @param {*}      value   Value to test.
+ * @param {?Array} enumSet Block attribute schema enum.
+ *
+ * @return {boolean} Whether value is valid.
+ */
+
+function isValidByEnum(value, enumSet) {
+  return !Array.isArray(enumSet) || enumSet.includes(value);
+}
+/**
+ * Returns an hpq matcher given a source object.
+ *
+ * @param {Object} sourceConfig Attribute Source object.
+ *
+ * @return {Function} A hpq Matcher.
  */
-showdown.subParser('blockGamut', function (text, options, globals) {
-  'use strict';
-
-  text = globals.converter._dispatch('blockGamut.before', text, options, globals);

-  // we parse blockquotes first so that we can have headings and hrs
-  // inside blockquotes
-  text = showdown.subParser('blockQuotes')(text, options, globals);
-  text = showdown.subParser('headers')(text, options, globals);
+function matcherFromSource(sourceConfig) {
+  switch (sourceConfig.source) {
+    case 'attribute':
+      let matcher = attr(sourceConfig.selector, sourceConfig.attribute);

-  // Do Horizontal Rules:
-  text = showdown.subParser('horizontalRule')(text, options, globals);
+      if (sourceConfig.type === 'boolean') {
+        matcher = toBooleanAttributeMatcher(matcher);
+      }

-  text = showdown.subParser('lists')(text, options, globals);
-  text = showdown.subParser('codeBlocks')(text, options, globals);
-  text = showdown.subParser('tables')(text, options, globals);
+      return matcher;

-  // We already ran _HashHTMLBlocks() before, in Markdown(), but that
-  // was to escape raw HTML in the original Markdown source. This time,
-  // we're escaping the markup we've just created, so that we don't wrap
-  // <p> tags around block-level tags.
-  text = showdown.subParser('hashHTMLBlocks')(text, options, globals);
-  text = showdown.subParser('paragraphs')(text, options, globals);
+    case 'html':
+      return matchers_html(sourceConfig.selector, sourceConfig.multiline);

-  text = globals.converter._dispatch('blockGamut.after', text, options, globals);
+    case 'text':
+      return es_text(sourceConfig.selector);

-  return text;
-});
-
-showdown.subParser('blockQuotes', function (text, options, globals) {
-  'use strict';
+    case 'children':
+      return children_matcher(sourceConfig.selector);

-  text = globals.converter._dispatch('blockQuotes.before', text, options, globals);
+    case 'node':
+      return node_matcher(sourceConfig.selector);

-  // add a couple extra lines after the text and endtext mark
-  text = text + '\n\n';
+    case 'query':
+      const subMatchers = (0,external_lodash_namespaceObject.mapValues)(sourceConfig.query, matcherFromSource);
+      return query(sourceConfig.selector, subMatchers);

-  var rgx = /(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;
+    case 'tag':
+      return (0,external_lodash_namespaceObject.flow)([prop(sourceConfig.selector, 'nodeName'), nodeName => nodeName ? nodeName.toLowerCase() : undefined]);

-  if (options.splitAdjacentBlockquotes) {
-    rgx = /^ {0,3}>[\s\S]*?(?:\n\n)/gm;
+    default:
+      // eslint-disable-next-line no-console
+      console.error(`Unknown source type "${sourceConfig.source}"`);
   }
+}
+/**
+ * Given a block's raw content and an attribute's schema returns the attribute's
+ * value depending on its source.
+ *
+ * @param {string} innerHTML       Block's raw content.
+ * @param {Object} attributeSchema Attribute's schema.
+ *
+ * @return {*} Attribute value.
+ */

-  text = text.replace(rgx, function (bq) {
-    // attacklab: hack around Konqueror 3.5.4 bug:
-    // "----------bug".replace(/^-/g,"") == "bug"
-    bq = bq.replace(/^[ \t]*>[ \t]?/gm, ''); // trim one level of quoting
-
-    // attacklab: clean up hack
-    bq = bq.replace(/¨0/g, '');
-
-    bq = bq.replace(/^[ \t]+$/gm, ''); // trim whitespace-only lines
-    bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);
-    bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse
-
-    bq = bq.replace(/(^|\n)/g, '$1  ');
-    // These leading spaces screw with <pre> content, so we need to fix that:
-    bq = bq.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm, function (wholeMatch, m1) {
-      var pre = m1;
-      // attacklab: hack around Konqueror 3.5.4 bug:
-      pre = pre.replace(/^  /mg, '¨0');
-      pre = pre.replace(/¨0/g, '');
-      return pre;
-    });
+function parseWithAttributeSchema(innerHTML, attributeSchema) {
+  return parse(innerHTML, matcherFromSource(attributeSchema));
+}
+/**
+ * Returns the block attributes of a registered block node given its type.
+ *
+ * @param {string|Object} blockTypeOrName Block type or name.
+ * @param {string}        innerHTML       Raw block content.
+ * @param {?Object}       attributes      Known block attributes (from delimiters).
+ *
+ * @return {Object} All block attributes.
+ */

-    return showdown.subParser('hashBlock')('<blockquote>\n' + bq + '\n</blockquote>', options, globals);
+function getBlockAttributes(blockTypeOrName, innerHTML) {
+  let attributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
+  const blockType = normalizeBlockType(blockTypeOrName);
+  const blockAttributes = (0,external_lodash_namespaceObject.mapValues)(blockType.attributes, (attributeSchema, attributeKey) => {
+    return getBlockAttribute(attributeKey, attributeSchema, innerHTML, attributes);
   });
+  return (0,external_wp_hooks_namespaceObject.applyFilters)('blocks.getBlockAttributes', blockAttributes, blockType, innerHTML, attributes);
+}

-  text = globals.converter._dispatch('blockQuotes.after', text, options, globals);
-  return text;
-});
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/fix-custom-classname.js
 /**
- * Process Markdown `<pre><code>` blocks.
+ * External dependencies
  */
-showdown.subParser('codeBlocks', function (text, options, globals) {
-  'use strict';
-
-  text = globals.converter._dispatch('codeBlocks.before', text, options, globals);
-
-  // sentinel workarounds for lack of \A and \Z, safari\khtml bug
-  text += '¨0';
-
-  var pattern = /(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;
-  text = text.replace(pattern, function (wholeMatch, m1, m2) {
-    var codeblock = m1,
-        nextChar = m2,
-        end = '\n';
-
-    codeblock = showdown.subParser('outdent')(codeblock, options, globals);
-    codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);
-    codeblock = showdown.subParser('detab')(codeblock, options, globals);
-    codeblock = codeblock.replace(/^\n+/g, ''); // trim leading newlines
-    codeblock = codeblock.replace(/\n+$/g, ''); // trim trailing newlines

-    if (options.omitExtraWLInCodeBlocks) {
-      end = '';
-    }
+/**
+ * Internal dependencies
+ */

-    codeblock = '<pre><code>' + codeblock + end + '</code></pre>';

-    return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;
-  });

-  // strip sentinel
-  text = text.replace(/¨0/, '');

-  text = globals.converter._dispatch('codeBlocks.after', text, options, globals);
-  return text;
-});
-
 /**
+ * Given an HTML string, returns an array of class names assigned to the root
+ * element in the markup.
  *
- *   *  Backtick quotes are used for <code></code> spans.
- *
- *   *  You can use multiple backticks as the delimiters if you want to
- *     include literal backticks in the code span. So, this input:
- *
- *         Just type ``foo `bar` baz`` at the prompt.
- *
- *       Will translate to:
- *
- *         <p>Just type <code>foo `bar` baz</code> at the prompt.</p>
+ * @param {string} innerHTML Markup string from which to extract classes.
  *
- *    There's no arbitrary limit to the number of backticks you
- *    can use as delimters. If you need three consecutive backticks
- *    in your code, use four for delimiters, etc.
+ * @return {string[]} Array of class names assigned to the root element.
+ */
+
+function getHTMLRootElementClasses(innerHTML) {
+  innerHTML = `<div data-custom-class-name>${innerHTML}</div>`;
+  const parsed = parseWithAttributeSchema(innerHTML, {
+    type: 'string',
+    source: 'attribute',
+    selector: '[data-custom-class-name] > *',
+    attribute: 'class'
+  });
+  return parsed ? parsed.trim().split(/\s+/) : [];
+}
+/**
+ * Given a parsed set of block attributes, if the block supports custom class
+ * names and an unknown class (per the block's serialization behavior) is
+ * found, the unknown classes are treated as custom classes. This prevents the
+ * block from being considered as invalid.
  *
- *  *  You can use spaces to get literal backticks at the edges:
+ * @param {Object} blockAttributes Original block attributes.
+ * @param {Object} blockType       Block type settings.
+ * @param {string} innerHTML       Original block markup.
  *
- *         ... type `` `bar` `` ...
+ * @return {Object} Filtered block attributes.
+ */
+
+function fixCustomClassname(blockAttributes, blockType, innerHTML) {
+  if (registration_hasBlockSupport(blockType, 'customClassName', true)) {
+    // To determine difference, serialize block given the known set of
+    // attributes, with the exception of `className`. This will determine
+    // the default set of classes. From there, any difference in innerHTML
+    // can be considered as custom classes.
+    const attributesSansClassName = (0,external_lodash_namespaceObject.omit)(blockAttributes, ['className']);
+    const serialized = getSaveContent(blockType, attributesSansClassName);
+    const defaultClasses = getHTMLRootElementClasses(serialized);
+    const actualClasses = getHTMLRootElementClasses(innerHTML);
+    const customClasses = (0,external_lodash_namespaceObject.difference)(actualClasses, defaultClasses);
+
+    if (customClasses.length) {
+      blockAttributes.className = customClasses.join(' ');
+    } else if (serialized) {
+      delete blockAttributes.className;
+    }
+  }
+
+  return blockAttributes;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/apply-built-in-validation-fixes.js
+/**
+ * Internal dependencies
+ */
+
+/**
+ * Attempts to fix block invalidation by applying build-in validation fixes
+ * like moving all extra classNames to the className attribute.
  *
- *       Turns to:
+ * @param {WPBlock}                               block     block object.
+ * @param {import('../registration').WPBlockType} blockType Block type. This is normalize not necessary and
+ *                                                          can be inferred from the block name,
+ *                                                          but it's here for performance reasons.
  *
- *         ... type <code>`bar`</code> ...
+ * @return {WPBlock} Fixed block object
  */
-showdown.subParser('codeSpans', function (text, options, globals) {
-  'use strict';

-  text = globals.converter._dispatch('codeSpans.before', text, options, globals);
+function applyBuiltInValidationFixes(block, blockType) {
+  const updatedBlockAttributes = fixCustomClassname(block.attributes, blockType, block.originalContent);
+  return { ...block,
+    attributes: updatedBlockAttributes
+  };
+}

-  if (typeof text === 'undefined') {
-    text = '';
-  }
-  text = text.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,
-    function (wholeMatch, m1, m2, m3) {
-      var c = m3;
-      c = c.replace(/^([ \t]*)/g, '');	// leading whitespace
-      c = c.replace(/[ \t]*$/g, '');	// trailing whitespace
-      c = showdown.subParser('encodeCode')(c, options, globals);
-      c = m1 + '<code>' + c + '</code>';
-      c = showdown.subParser('hashHTMLSpans')(c, options, globals);
-      return c;
-    }
-  );
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/apply-block-deprecated-versions.js
+/**
+ * External dependencies
+ */

-  text = globals.converter._dispatch('codeSpans.after', text, options, globals);
-  return text;
-});
-
 /**
- * Create a full HTML document from the processed markdown
+ * Internal dependencies
  */
-showdown.subParser('completeHTMLDocument', function (text, options, globals) {
-  'use strict';

-  if (!options.completeHTMLDocument) {
-    return text;
-  }

-  text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);

-  var doctype = 'html',
-      doctypeParsed = '<!DOCTYPE HTML>\n',
-      title = '',
-      charset = '<meta charset="utf-8">\n',
-      lang = '',
-      metadata = '';

-  if (typeof globals.metadata.parsed.doctype !== 'undefined') {
-    doctypeParsed = '<!DOCTYPE ' +  globals.metadata.parsed.doctype + '>\n';
-    doctype = globals.metadata.parsed.doctype.toString().toLowerCase();
-    if (doctype === 'html' || doctype === 'html5') {
-      charset = '<meta charset="utf-8">';
-    }
-  }

-  for (var meta in globals.metadata.parsed) {
-    if (globals.metadata.parsed.hasOwnProperty(meta)) {
-      switch (meta.toLowerCase()) {
-        case 'doctype':
-          break;
+/**
+ * Given a block object, returns a new copy of the block with any applicable
+ * deprecated migrations applied, or the original block if it was both valid
+ * and no eligible migrations exist.
+ *
+ * @param {import(".").WPBlock}                   block     Parsed and invalid block object.
+ * @param {import(".").WPRawBlock}                rawBlock  Raw block object.
+ * @param {import('../registration').WPBlockType} blockType Block type. This is normalize not necessary and
+ *                                                          can be inferred from the block name,
+ *                                                          but it's here for performance reasons.
+ *
+ * @return {import(".").WPBlock} Migrated block object.
+ */

-        case 'title':
-          title = '<title>' +  globals.metadata.parsed.title + '</title>\n';
-          break;
+function applyBlockDeprecatedVersions(block, rawBlock, blockType) {
+  const parsedAttributes = rawBlock.attrs;
+  const {
+    deprecated: deprecatedDefinitions
+  } = blockType; // Bail early if there are no registered deprecations to be handled.

-        case 'charset':
-          if (doctype === 'html' || doctype === 'html5') {
-            charset = '<meta charset="' + globals.metadata.parsed.charset + '">\n';
-          } else {
-            charset = '<meta name="charset" content="' + globals.metadata.parsed.charset + '">\n';
-          }
-          break;
+  if (!deprecatedDefinitions || !deprecatedDefinitions.length) {
+    return block;
+  } // By design, blocks lack any sort of version tracking. Instead, to process
+  // outdated content the system operates a queue out of all the defined
+  // attribute shapes and tries each definition until the input produces a
+  // valid result. This mechanism seeks to avoid polluting the user-space with
+  // machine-specific code. An invalid block is thus a block that could not be
+  // matched successfully with any of the registered deprecation definitions.

-        case 'language':
-        case 'lang':
-          lang = ' lang="' + globals.metadata.parsed[meta] + '"';
-          metadata += '<meta name="' + meta + '" content="' + globals.metadata.parsed[meta] + '">\n';
-          break;

-        default:
-          metadata += '<meta name="' + meta + '" content="' + globals.metadata.parsed[meta] + '">\n';
-      }
-    }
-  }
+  for (let i = 0; i < deprecatedDefinitions.length; i++) {
+    // A block can opt into a migration even if the block is valid by
+    // defining `isEligible` on its deprecation. If the block is both valid
+    // and does not opt to migrate, skip.
+    const {
+      isEligible = external_lodash_namespaceObject.stubFalse
+    } = deprecatedDefinitions[i];

-  text = doctypeParsed + '<html' + lang + '>\n<head>\n' + title + charset + metadata + '</head>\n<body>\n' + text.trim() + '\n</body>\n</html>';
+    if (block.isValid && !isEligible(parsedAttributes, block.innerBlocks)) {
+      continue;
+    } // Block type properties which could impact either serialization or
+    // parsing are not considered in the deprecated block type by default,
+    // and must be explicitly provided.

-  text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);
-  return text;
-});
-
-/**
- * Convert all tabs to spaces
- */
-showdown.subParser('detab', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('detab.before', text, options, globals);

-  // expand first n-1 tabs
-  text = text.replace(/\t(?=\t)/g, '    '); // g_tab_width
+    const deprecatedBlockType = Object.assign((0,external_lodash_namespaceObject.omit)(blockType, DEPRECATED_ENTRY_KEYS), deprecatedDefinitions[i]);
+    let migratedBlock = { ...block,
+      attributes: getBlockAttributes(deprecatedBlockType, block.originalContent, parsedAttributes)
+    }; // Ignore the deprecation if it produces a block which is not valid.

-  // replace the nth with two sentinels
-  text = text.replace(/\t/g, '¨A¨B');
+    let [isValid] = validateBlock(migratedBlock, deprecatedBlockType); // If the migrated block is not valid intiailly, try the built-in fixes.

-  // use the sentinel to anchor our regex so it doesn't explode
-  text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {
-    var leadingText = m1,
-        numSpaces = 4 - leadingText.length % 4;  // g_tab_width
+    if (!isValid) {
+      migratedBlock = applyBuiltInValidationFixes(migratedBlock, deprecatedBlockType);
+      [isValid] = validateBlock(migratedBlock, deprecatedBlockType);
+    } // An invalid block does not imply incorrect HTML but the fact block
+    // source information could be lost on reserialization.

-    // there *must* be a better way to do this:
-    for (var i = 0; i < numSpaces; i++) {
-      leadingText += ' ';
-    }

-    return leadingText;
-  });
+    if (!isValid) {
+      continue;
+    }

-  // clean up sentinels
-  text = text.replace(/¨A/g, '    ');  // g_tab_width
-  text = text.replace(/¨B/g, '');
+    let migratedInnerBlocks = migratedBlock.innerBlocks;
+    let migratedAttributes = migratedBlock.attributes; // A block may provide custom behavior to assign new attributes and/or
+    // inner blocks.

-  text = globals.converter._dispatch('detab.after', text, options, globals);
-  return text;
-});
-
-showdown.subParser('ellipsis', function (text, options, globals) {
-  'use strict';
+    const {
+      migrate
+    } = deprecatedBlockType;

-  text = globals.converter._dispatch('ellipsis.before', text, options, globals);
+    if (migrate) {
+      [migratedAttributes = parsedAttributes, migratedInnerBlocks = block.innerBlocks] = (0,external_lodash_namespaceObject.castArray)(migrate(migratedAttributes, block.innerBlocks));
+    }

-  text = text.replace(/\.\.\./g, '…');
+    block = { ...block,
+      attributes: migratedAttributes,
+      innerBlocks: migratedInnerBlocks,
+      isValid: true,
+      validationIssues: []
+    };
+  }

-  text = globals.converter._dispatch('ellipsis.after', text, options, globals);
+  return block;
+}

-  return text;
-});
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/parser/index.js
 /**
- * Turn emoji codes into emojis
- *
- * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis
+ * WordPress dependencies
  */
-showdown.subParser('emoji', function (text, options, globals) {
-  'use strict';

-  if (!options.emoji) {
-    return text;
-  }

-  text = globals.converter._dispatch('emoji.before', text, options, globals);
+/**
+ * Internal dependencies
+ */
+

-  var emojiRgx = /:([\S]+?):/g;

-  text = text.replace(emojiRgx, function (wm, emojiCode) {
-    if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {
-      return showdown.helper.emojis[emojiCode];
-    }
-    return wm;
-  });

-  text = globals.converter._dispatch('emoji.after', text, options, globals);

-  return text;
-});
-
-/**
- * Smart processing for ampersands and angle brackets that need to be encoded.
- */
-showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);

-  // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:
-  // http://bumppo.net/projects/amputator/
-  text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g, '&amp;');

-  // Encode naked <'s
-  text = text.replace(/<(?![a-z\/?$!])/gi, '&lt;');

-  // Encode <
-  text = text.replace(/</g, '&lt;');

-  // Encode >
-  text = text.replace(/>/g, '&gt;');

-  text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);
-  return text;
-});
-
 /**
- * Returns the string, with after processing the following backslash escape sequences.
- *
- * attacklab: The polite way to do this is with the new escapeCharacters() function:
+ * The raw structure of a block includes its attributes, inner
+ * blocks, and inner HTML. It is important to distinguish inner blocks from
+ * the HTML content of the block as only the latter is relevant for block
+ * validation and edit operations.
  *
- *    text = escapeCharacters(text,"\\",true);
- *    text = escapeCharacters(text,"`*_{}[]()>#+-.!",true);
+ * @typedef WPRawBlock
  *
- * ...but we're sidestepping its use of the (slow) RegExp constructor
- * as an optimization for Firefox.  This function gets called a LOT.
+ * @property {string=}         blockName    Block name
+ * @property {Object=}         attrs        Block raw or comment attributes.
+ * @property {string}          innerHTML    HTML content of the block.
+ * @property {(string|null)[]} innerContent Content without inner blocks.
+ * @property {WPRawBlock[]}    innerBlocks  Inner Blocks.
  */
-showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);
-
-  text = text.replace(/\\(\\)/g, showdown.helper.escapeCharactersCallback);
-  text = text.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);

-  text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);
-  return text;
-});
-
 /**
- * Encode/escape certain characters inside Markdown code runs.
- * The point is that in code, these characters are literals,
- * and lose their special Markdown meanings.
+ * Fully parsed block object.
+ *
+ * @typedef WPBlock
+ *
+ * @property {string}    name             Block name
+ * @property {Object }   attributes       Block raw or comment attributes.
+ * @property {WPBlock[]} innerBlocks      Inner Blocks.
+ * @property {string}    originalContent  Original content of the block before validation fixes.
+ * @property {boolean}   isValid          Whether the block is valid.
+ * @property {Object[]}  validationIssues Validation issues.
  */
-showdown.subParser('encodeCode', function (text, options, globals) {
-  'use strict';
-
-  text = globals.converter._dispatch('encodeCode.before', text, options, globals);

-  // Encode all ampersands; HTML entities are not
-  // entities within a Markdown code span.
-  text = text
-    .replace(/&/g, '&amp;')
-  // Do the angle bracket song and dance:
-    .replace(/</g, '&lt;')
-    .replace(/>/g, '&gt;')
-  // Now, escape characters that are magic in Markdown:
-    .replace(/([*_{}\[\]\\=~-])/g, showdown.helper.escapeCharactersCallback);
+/**
+ * Convert legacy blocks to their canonical form. This function is used
+ * both in the parser level for previous content and to convert such blocks
+ * used in Custom Post Types templates.
+ *
+ * @param {WPRawBlock} rawBlock
+ *
+ * @return {WPRawBlock} The block's name and attributes, changed accordingly if a match was found
+ */

-  text = globals.converter._dispatch('encodeCode.after', text, options, globals);
-  return text;
-});
-
+function convertLegacyBlocks(rawBlock) {
+  const [correctName, correctedAttributes] = convertLegacyBlockNameAndAttributes(rawBlock.blockName, rawBlock.attrs);
+  return { ...rawBlock,
+    blockName: correctName,
+    attrs: correctedAttributes
+  };
+}
 /**
- * Within tags -- meaning between < and > -- encode [\ ` * _ ~ =] so they
- * don't conflict with their use in Markdown for code, italics and strong.
+ * Normalize the raw block by applying the fallback block name if none given,
+ * sanitize the parsed HTML...
+ *
+ * @param {WPRawBlock} rawBlock The raw block object.
+ *
+ * @return {WPRawBlock} The normalized block object.
  */
-showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);

-  // Build a regex to find HTML tags.
-  var tags     = /<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,
-      comments = /<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;

-  text = text.replace(tags, function (wholeMatch) {
-    return wholeMatch
-      .replace(/(.)<\/?code>(?=.)/g, '$1`')
-      .replace(/([\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);
-  });
+function normalizeRawBlock(rawBlock) {
+  const fallbackBlockName = getFreeformContentHandlerName(); // If the grammar parsing don't produce any block name, use the freeform block.

-  text = text.replace(comments, function (wholeMatch) {
-    return wholeMatch
-      .replace(/([\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);
-  });
+  const rawBlockName = rawBlock.blockName || getFreeformContentHandlerName();
+  const rawAttributes = rawBlock.attrs || {};
+  const rawInnerBlocks = rawBlock.innerBlocks || [];
+  let rawInnerHTML = rawBlock.innerHTML.trim(); // Fallback content may be upgraded from classic content expecting implicit
+  // automatic paragraphs, so preserve them. Assumes wpautop is idempotent,
+  // meaning there are no negative consequences to repeated autop calls.

-  text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);
-  return text;
-});
-
+  if (rawBlockName === fallbackBlockName) {
+    rawInnerHTML = (0,external_wp_autop_namespaceObject.autop)(rawInnerHTML).trim();
+  }
+
+  return { ...rawBlock,
+    blockName: rawBlockName,
+    attrs: rawAttributes,
+    innerHTML: rawInnerHTML,
+    innerBlocks: rawInnerBlocks
+  };
+}
 /**
- * Handle github codeblocks prior to running HashHTML so that
- * HTML contained within the codeblock gets escaped properly
- * Example:
- * ```ruby
- *     def hello_world(x)
- *       puts "Hello, #{x}"
- *     end
- * ```
+ * Uses the "unregistered blockType" to create a block object.
+ *
+ * @param {WPRawBlock} rawBlock block.
+ *
+ * @return {WPRawBlock} The unregistered block object.
  */
-showdown.subParser('githubCodeBlocks', function (text, options, globals) {
-  'use strict';

-  // early exit if option is not enabled
-  if (!options.ghCodeBlocks) {
-    return text;
-  }
+function createMissingBlockType(rawBlock) {
+  const unregisteredFallbackBlock = getUnregisteredTypeHandlerName() || getFreeformContentHandlerName(); // Preserve undelimited content for use by the unregistered type
+  // handler. A block node's `innerHTML` isn't enough, as that field only
+  // carries the block's own HTML and not its nested blocks.

-  text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);
+  const originalUndelimitedContent = serializeRawBlock(rawBlock, {
+    isCommentDelimited: false
+  }); // Preserve full block content for use by the unregistered type
+  // handler, block boundaries included.

-  text += '¨0';
+  const originalContent = serializeRawBlock(rawBlock, {
+    isCommentDelimited: true
+  });
+  return {
+    blockName: unregisteredFallbackBlock,
+    attrs: {
+      originalName: rawBlock.blockName,
+      originalContent,
+      originalUndelimitedContent
+    },
+    innerHTML: rawBlock.blockName ? originalContent : rawBlock.innerHTML,
+    innerBlocks: rawBlock.innerBlocks,
+    innerContent: rawBlock.innerContent
+  };
+}
+/**
+ * Given a raw block returned by grammar parsing, returns a fully parsed block.
+ *
+ * @param {WPRawBlock} rawBlock The raw block object.
+ *
+ * @return {WPBlock} Fully parsed block.
+ */

-  text = text.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g, function (wholeMatch, delim, language, codeblock) {
-    var end = (options.omitExtraWLInCodeBlocks) ? '' : '\n';

-    // First parse the github code block
-    codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);
-    codeblock = showdown.subParser('detab')(codeblock, options, globals);
-    codeblock = codeblock.replace(/^\n+/g, ''); // trim leading newlines
-    codeblock = codeblock.replace(/\n+$/g, ''); // trim trailing whitespace
+function parseRawBlock(rawBlock) {
+  let normalizedBlock = normalizeRawBlock(rawBlock); // During the lifecycle of the project, we renamed some old blocks
+  // and transformed others to new blocks. To avoid breaking existing content,
+  // we added this function to properly parse the old content.

-    codeblock = '<pre><code' + (language ? ' class="' + language + ' language-' + language + '"' : '') + '>' + codeblock + end + '</code></pre>';
+  normalizedBlock = convertLegacyBlocks(normalizedBlock); // Try finding the type for known block name.

-    codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);
+  let blockType = registration_getBlockType(normalizedBlock.blockName); // If not blockType is found for the specified name, fallback to the "unregistedBlockType".

-    // Since GHCodeblocks can be false positives, we need to
-    // store the primitive text and the parsed text in a global var,
-    // and then return a token
-    return '\n\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\n\n';
-  });
+  if (!blockType) {
+    normalizedBlock = createMissingBlockType(normalizedBlock);
+    blockType = registration_getBlockType(normalizedBlock.blockName);
+  } // If it's an empty freeform block or there's no blockType (no missing block handler)
+  // Then, just ignore the block.
+  // It might be a good idea to throw a warning here.
+  // TODO: I'm unsure about the unregisteredFallbackBlock check,
+  // it might ignore some dynamic unregistered third party blocks wrongly.

-  // attacklab: strip sentinel
-  text = text.replace(/¨0/, '');

-  return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);
-});
-
-showdown.subParser('hashBlock', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('hashBlock.before', text, options, globals);
-  text = text.replace(/(^\n+|\n+$)/g, '');
-  text = '\n\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\n\n';
-  text = globals.converter._dispatch('hashBlock.after', text, options, globals);
-  return text;
-});
-
-/**
- * Hash and escape <code> elements that should not be parsed as markdown
- */
-showdown.subParser('hashCodeTags', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);
+  const isFallbackBlock = normalizedBlock.blockName === getFreeformContentHandlerName() || normalizedBlock.blockName === getUnregisteredTypeHandlerName();

-  var repFunc = function (wholeMatch, match, left, right) {
-    var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;
-    return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';
-  };
+  if (!blockType || !normalizedBlock.innerHTML && isFallbackBlock) {
+    return;
+  } // Parse inner blocks recursively.

-  // Hash naked <code>
-  text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '<code\\b[^>]*>', '</code>', 'gim');

-  text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);
-  return text;
-});
-
-showdown.subParser('hashElement', function (text, options, globals) {
-  'use strict';
+  const parsedInnerBlocks = normalizedBlock.innerBlocks.map(parseRawBlock) // See https://github.com/WordPress/gutenberg/pull/17164.
+  .filter(innerBlock => !!innerBlock); // Get the fully parsed block.

-  return function (wholeMatch, m1) {
-    var blockText = m1;
+  let parsedBlock = createBlock(normalizedBlock.blockName, getBlockAttributes(blockType, normalizedBlock.innerHTML, normalizedBlock.attrs), parsedInnerBlocks);
+  parsedBlock.originalContent = normalizedBlock.innerHTML; // Attempt to validate the block.

-    // Undo double lines
-    blockText = blockText.replace(/\n\n/g, '\n');
-    blockText = blockText.replace(/^\n/, '');
+  let [isValid, validationIssues] = validateBlock(parsedBlock, blockType); // If the block is invalid, attempt some built-in fixes
+  // like custom classNames handling.

-    // strip trailing blank lines
-    blockText = blockText.replace(/\n+$/g, '');
+  if (!isValid) {
+    parsedBlock = applyBuiltInValidationFixes(parsedBlock, blockType); // Attempt to validate the block once again after the built-in fixes.

-    // Replace the element text with a marker ("¨KxK" where x is its key)
-    blockText = '\n\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\n\n';
+    [isValid, validationIssues] = validateBlock(parsedBlock, blockType);
+  }

-    return blockText;
-  };
-});
-
-showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);
+  parsedBlock.isValid = isValid;
+  parsedBlock.validationIssues = validationIssues; // Run the block deprecation and migrations.
+  // This is performed on both invalid and valid blocks because
+  // migration using the `migrate` functions should run even
+  // if the output is deemed valid.

-  var blockTags = [
-        'pre',
-        'div',
-        'h1',
-        'h2',
-        'h3',
-        'h4',
-        'h5',
-        'h6',
-        'blockquote',
-        'table',
-        'dl',
-        'ol',
-        'ul',
-        'script',
-        'noscript',
-        'form',
-        'fieldset',
-        'iframe',
-        'math',
-        'style',
-        'section',
-        'header',
-        'footer',
-        'nav',
-        'article',
-        'aside',
-        'address',
-        'audio',
-        'canvas',
-        'figure',
-        'hgroup',
-        'output',
-        'video',
-        'p'
-      ],
-      repFunc = function (wholeMatch, match, left, right) {
-        var txt = wholeMatch;
-        // check if this html element is marked as markdown
-        // if so, it's contents should be parsed as markdown
-        if (left.search(/\bmarkdown\b/) !== -1) {
-          txt = left + globals.converter.makeHtml(match) + right;
-        }
-        return '\n\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\n\n';
-      };
+  parsedBlock = applyBlockDeprecatedVersions(parsedBlock, normalizedBlock, blockType);

-  if (options.backslashEscapesHTMLTags) {
-    // encode backslash escaped HTML tags
-    text = text.replace(/\\<(\/?[^>]+?)>/g, function (wm, inside) {
-      return '&lt;' + inside + '&gt;';
-    });
+  if (validationIssues && validationIssues.length > 0) {
+    if (parsedBlock.isValid) {
+      /* eslint-disable no-console */
+      console.groupCollapsed('Updated Block: %s', blockType.name);
+      console.info('Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s', blockType.name, blockType, getSaveContent(blockType, parsedBlock.attributes), parsedBlock.originalContent);
+      console.groupEnd();
+      /* eslint-enable no-console */
+    } else {
+      validationIssues.forEach(_ref => {
+        let {
+          log,
+          args
+        } = _ref;
+        return log(...args);
+      });
+    }
   }

-  // hash HTML Blocks
-  for (var i = 0; i < blockTags.length; ++i) {
+  return parsedBlock;
+}
+/**
+ * Utilizes an optimized token-driven parser based on the Gutenberg grammar spec
+ * defined through a parsing expression grammar to take advantage of the regular
+ * cadence provided by block delimiters -- composed syntactically through HTML
+ * comments -- which, given a general HTML document as an input, returns a block
+ * list array representation.
+ *
+ * This is a recursive-descent parser that scans linearly once through the input
+ * document. Instead of directly recursing it utilizes a trampoline mechanism to
+ * prevent stack overflow. This initial pass is mainly interested in separating
+ * and isolating the blocks serialized in the document and manifestly not in the
+ * content within the blocks.
+ *
+ * @see
+ * https://developer.wordpress.org/block-editor/packages/packages-block-serialization-default-parser/
+ *
+ * @param {string} content The post content.
+ *
+ * @return {Array} Block list.
+ */

-    var opTagPos,
-        rgx1     = new RegExp('^ {0,3}(<' + blockTags[i] + '\\b[^>]*>)', 'im'),
-        patLeft  = '<' + blockTags[i] + '\\b[^>]*>',
-        patRight = '</' + blockTags[i] + '>';
-    // 1. Look for the first position of the first opening HTML tag in the text
-    while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {
+function parser_parse(content) {
+  return (0,external_wp_blockSerializationDefaultParser_namespaceObject.parse)(content).reduce((accumulator, rawBlock) => {
+    const block = parseRawBlock(rawBlock);

-      // if the HTML tag is \ escaped, we need to escape it and break
+    if (block) {
+      accumulator.push(block);
+    }

+    return accumulator;
+  }, []);
+}

-      //2. Split the text in that position
-      var subTexts = showdown.helper.splitAtIndex(text, opTagPos),
-          //3. Match recursively
-          newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/get-raw-transforms.js
+/**
+ * External dependencies
+ */

-      // prevent an infinite loop
-      if (newSubText1 === subTexts[1]) {
-        break;
-      }
-      text = subTexts[0].concat(newSubText1);
-    }
-  }
-  // HR SPECIAL CASE
-  text = text.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,
-    showdown.subParser('hashElement')(text, options, globals));
+/**
+ * Internal dependencies
+ */

-  // Special case for standalone HTML comments
-  text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {
-    return '\n\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\n\n';
-  }, '^ {0,3}<!--', '-->', 'gm');

-  // PHP and ASP-style processor instructions (<?...?> and <%...%>)
-  text = text.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,
-    showdown.subParser('hashElement')(text, options, globals));
+function getRawTransforms() {
+  return (0,external_lodash_namespaceObject.filter)(getBlockTransforms('from'), {
+    type: 'raw'
+  }).map(transform => {
+    return transform.isMatch ? transform : { ...transform,
+      isMatch: node => transform.selector && node.matches(transform.selector)
+    };
+  });
+}

-  text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);
-  return text;
-});
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/html-to-blocks.js
 /**
- * Hash span elements that should not be parsed as markdown
+ * Internal dependencies
  */
-showdown.subParser('hashHTMLSpans', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);

-  function hashHTMLSpan (html) {
-    return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';
-  }

-  // Hash Self Closing tags
-  text = text.replace(/<[^>]+?\/>/gi, function (wm) {
-    return hashHTMLSpan(wm);
-  });

-  // Hash tags without properties
-  text = text.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g, function (wm) {
-    return hashHTMLSpan(wm);
-  });
+/**
+ * Converts HTML directly to blocks. Looks for a matching transform for each
+ * top-level tag. The HTML should be filtered to not have any text between
+ * top-level tags and formatted in a way that blocks can handle the HTML.
+ *
+ * @param {string} html HTML to convert.
+ *
+ * @return {Array} An array of blocks.
+ */

-  // Hash tags with properties
-  text = text.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g, function (wm) {
-    return hashHTMLSpan(wm);
-  });
+function htmlToBlocks(html) {
+  const doc = document.implementation.createHTMLDocument('');
+  doc.body.innerHTML = html;
+  return Array.from(doc.body.children).flatMap(node => {
+    const rawTransform = findTransform(getRawTransforms(), _ref => {
+      let {
+        isMatch
+      } = _ref;
+      return isMatch(node);
+    });

-  // Hash self closing tags without />
-  text = text.replace(/<[^>]+?>/gi, function (wm) {
-    return hashHTMLSpan(wm);
-  });
+    if (!rawTransform) {
+      return createBlock( // Should not be hardcoded.
+      'core/html', getBlockAttributes('core/html', node.outerHTML));
+    }

-  /*showdown.helper.matchRecursiveRegExp(text, '<code\\b[^>]*>', '</code>', 'gi');*/
+    const {
+      transform,
+      blockName
+    } = rawTransform;

-  text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);
-  return text;
-});
+    if (transform) {
+      return transform(node);
+    }

+    return createBlock(blockName, getBlockAttributes(blockName, node.outerHTML));
+  });
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/normalise-blocks.js
 /**
- * Unhash HTML spans
+ * WordPress dependencies
  */
-showdown.subParser('unhashHTMLSpans', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);

-  for (var i = 0; i < globals.gHtmlSpans.length; ++i) {
-    var repText = globals.gHtmlSpans[i],
-        // limiter to prevent infinite loop (assume 10 as limit for recurse)
-        limit = 0;
+function normaliseBlocks(HTML) {
+  const decuDoc = document.implementation.createHTMLDocument('');
+  const accuDoc = document.implementation.createHTMLDocument('');
+  const decu = decuDoc.body;
+  const accu = accuDoc.body;
+  decu.innerHTML = HTML;

-    while (/¨C(\d+)C/.test(repText)) {
-      var num = RegExp.$1;
-      repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);
-      if (limit === 10) {
-        console.error('maximum nesting of 10 spans reached!!!');
-        break;
+  while (decu.firstChild) {
+    const node = decu.firstChild; // Text nodes: wrap in a paragraph, or append to previous.
+
+    if (node.nodeType === node.TEXT_NODE) {
+      if ((0,external_wp_dom_namespaceObject.isEmpty)(node)) {
+        decu.removeChild(node);
+      } else {
+        if (!accu.lastChild || accu.lastChild.nodeName !== 'P') {
+          accu.appendChild(accuDoc.createElement('P'));
+        }
+
+        accu.lastChild.appendChild(node);
+      } // Element nodes.
+
+    } else if (node.nodeType === node.ELEMENT_NODE) {
+      // BR nodes: create a new paragraph on double, or append to previous.
+      if (node.nodeName === 'BR') {
+        if (node.nextSibling && node.nextSibling.nodeName === 'BR') {
+          accu.appendChild(accuDoc.createElement('P'));
+          decu.removeChild(node.nextSibling);
+        } // Don't append to an empty paragraph.
+
+
+        if (accu.lastChild && accu.lastChild.nodeName === 'P' && accu.lastChild.hasChildNodes()) {
+          accu.lastChild.appendChild(node);
+        } else {
+          decu.removeChild(node);
+        }
+      } else if (node.nodeName === 'P') {
+        // Only append non-empty paragraph nodes.
+        if ((0,external_wp_dom_namespaceObject.isEmpty)(node)) {
+          decu.removeChild(node);
+        } else {
+          accu.appendChild(node);
+        }
+      } else if ((0,external_wp_dom_namespaceObject.isPhrasingContent)(node)) {
+        if (!accu.lastChild || accu.lastChild.nodeName !== 'P') {
+          accu.appendChild(accuDoc.createElement('P'));
+        }
+
+        accu.lastChild.appendChild(node);
+      } else {
+        accu.appendChild(node);
       }
-      ++limit;
+    } else {
+      decu.removeChild(node);
     }
-    text = text.replace('¨C' + i + 'C', repText);
   }

-  text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);
-  return text;
-});
-
+  return accu.innerHTML;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/special-comment-converter.js
 /**
- * Hash and escape <pre><code> elements that should not be parsed as markdown
+ * WordPress dependencies
  */
-showdown.subParser('hashPreCodeTags', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);

-  var repFunc = function (wholeMatch, match, left, right) {
-    // encode html entities
-    var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;
-    return '\n\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\n\n';
-  };
+/**
+ * Looks for `<!--nextpage-->` and `<!--more-->` comments, as well as the
+ * `<!--more Some text-->` variant and its `<!--noteaser-->` companion,
+ * and replaces them with a custom element representing a future block.
+ *
+ * The custom element is a way to bypass the rest of the `raw-handling`
+ * transforms, which would eliminate other kinds of node with which to carry
+ * `<!--more-->`'s data: nodes with `data` attributes, empty paragraphs, etc.
+ *
+ * The custom element is then expected to be recognized by any registered
+ * block's `raw` transform.
+ *
+ * @param {Node}     node The node to be processed.
+ * @param {Document} doc  The document of the node.
+ * @return {void}
+ */
+
+function specialCommentConverter(node, doc) {
+  if (node.nodeType !== node.COMMENT_NODE) {
+    return;
+  }
+
+  if (node.nodeValue === 'nextpage') {
+    (0,external_wp_dom_namespaceObject.replace)(node, createNextpage(doc));
+    return;
+  }
+
+  if (node.nodeValue.indexOf('more') === 0) {
+    // Grab any custom text in the comment.
+    const customText = node.nodeValue.slice(4).trim();
+    /*
+     * When a `<!--more-->` comment is found, we need to look for any
+     * `<!--noteaser-->` sibling, but it may not be a direct sibling
+     * (whitespace typically lies in between)
+     */
+
+    let sibling = node;
+    let noTeaser = false;

-  // Hash <pre><code>
-  text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>', '^ {0,3}</code>\\s*</pre>', 'gim');
+    while (sibling = sibling.nextSibling) {
+      if (sibling.nodeType === sibling.COMMENT_NODE && sibling.nodeValue === 'noteaser') {
+        noTeaser = true;
+        (0,external_wp_dom_namespaceObject.remove)(sibling);
+        break;
+      }
+    }

-  text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);
-  return text;
-});
-
-showdown.subParser('headers', function (text, options, globals) {
-  'use strict';
+    (0,external_wp_dom_namespaceObject.replace)(node, createMore(customText, noTeaser, doc));
+  }
+}

-  text = globals.converter._dispatch('headers.before', text, options, globals);
+function createMore(customText, noTeaser, doc) {
+  const node = doc.createElement('wp-block');
+  node.dataset.block = 'core/more';

-  var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),
+  if (customText) {
+    node.dataset.customText = customText;
+  }

-      // Set text-style headers:
-      //	Header 1
-      //	========
-      //
-      //	Header 2
-      //	--------
-      //
-      setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \t]*\n={2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n=+[ \t]*\n+/gm,
-      setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n-+[ \t]*\n+/gm;
+  if (noTeaser) {
+    // "Boolean" data attribute
+    node.dataset.noTeaser = '';
+  }

-  text = text.replace(setextRegexH1, function (wholeMatch, m1) {
+  return node;
+}

-    var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),
-        hID = (options.noHeaderId) ? '' : ' id="' + headerId(m1) + '"',
-        hLevel = headerLevelStart,
-        hashBlock = '<h' + hLevel + hID + '>' + spanGamut + '</h' + hLevel + '>';
-    return showdown.subParser('hashBlock')(hashBlock, options, globals);
-  });
+function createNextpage(doc) {
+  const node = doc.createElement('wp-block');
+  node.dataset.block = 'core/nextpage';
+  return node;
+}

-  text = text.replace(setextRegexH2, function (matchFound, m1) {
-    var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),
-        hID = (options.noHeaderId) ? '' : ' id="' + headerId(m1) + '"',
-        hLevel = headerLevelStart + 1,
-        hashBlock = '<h' + hLevel + hID + '>' + spanGamut + '</h' + hLevel + '>';
-    return showdown.subParser('hashBlock')(hashBlock, options, globals);
-  });
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/list-reducer.js
+/**
+ * WordPress dependencies
+ */

-  // atx-style headers:
-  //  # Header 1
-  //  ## Header 2
-  //  ## Header 2 with closing hashes ##
-  //  ...
-  //  ###### Header 6
-  //
-  var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm : /^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;

-  text = text.replace(atxStyle, function (wholeMatch, m1, m2) {
-    var hText = m2;
-    if (options.customizedHeaderId) {
-      hText = m2.replace(/\s?\{([^{]+?)}\s*$/, '');
-    }
+function isList(node) {
+  return node.nodeName === 'OL' || node.nodeName === 'UL';
+}

-    var span = showdown.subParser('spanGamut')(hText, options, globals),
-        hID = (options.noHeaderId) ? '' : ' id="' + headerId(m2) + '"',
-        hLevel = headerLevelStart - 1 + m1.length,
-        header = '<h' + hLevel + hID + '>' + span + '</h' + hLevel + '>';
+function shallowTextContent(element) {
+  return Array.from(element.childNodes).map(_ref => {
+    let {
+      nodeValue = ''
+    } = _ref;
+    return nodeValue;
+  }).join('');
+}

-    return showdown.subParser('hashBlock')(header, options, globals);
-  });
+function listReducer(node) {
+  if (!isList(node)) {
+    return;
+  }

-  function headerId (m) {
-    var title,
-        prefix;
+  const list = node;
+  const prevElement = node.previousElementSibling; // Merge with previous list if:
+  // * There is a previous list of the same type.
+  // * There is only one list item.

-    // It is separate from other options to allow combining prefix and customized
-    if (options.customizedHeaderId) {
-      var match = m.match(/\{([^{]+?)}\s*$/);
-      if (match && match[1]) {
-        m = match[1];
-      }
+  if (prevElement && prevElement.nodeName === node.nodeName && list.children.length === 1) {
+    // Move all child nodes, including any text nodes, if any.
+    while (list.firstChild) {
+      prevElement.appendChild(list.firstChild);
     }

-    title = m;
+    list.parentNode.removeChild(list);
+  }

-    // Prefix id to prevent causing inadvertent pre-existing style matches.
-    if (showdown.helper.isString(options.prefixHeaderId)) {
-      prefix = options.prefixHeaderId;
-    } else if (options.prefixHeaderId === true) {
-      prefix = 'section-';
-    } else {
-      prefix = '';
-    }
+  const parentElement = node.parentNode; // Nested list with empty parent item.

-    if (!options.rawPrefixHeaderId) {
-      title = prefix + title;
-    }
+  if (parentElement && parentElement.nodeName === 'LI' && parentElement.children.length === 1 && !/\S/.test(shallowTextContent(parentElement))) {
+    const parentListItem = parentElement;
+    const prevListItem = parentListItem.previousElementSibling;
+    const parentList = parentListItem.parentNode;

-    if (options.ghCompatibleHeaderId) {
-      title = title
-        .replace(/ /g, '-')
-        // replace previously escaped chars (&, ¨ and $)
-        .replace(/&amp;/g, '')
-        .replace(/¨T/g, '')
-        .replace(/¨D/g, '')
-        // replace rest of the chars (&~$ are repeated as they might have been escaped)
-        // borrowed from github's redcarpet (some they should produce similar results)
-        .replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g, '')
-        .toLowerCase();
-    } else if (options.rawHeaderId) {
-      title = title
-        .replace(/ /g, '-')
-        // replace previously escaped chars (&, ¨ and $)
-        .replace(/&amp;/g, '&')
-        .replace(/¨T/g, '¨')
-        .replace(/¨D/g, '$')
-        // replace " and '
-        .replace(/["']/g, '-')
-        .toLowerCase();
+    if (prevListItem) {
+      prevListItem.appendChild(list);
+      parentList.removeChild(parentListItem);
     } else {
-      title = title
-        .replace(/[^\w]/g, '')
-        .toLowerCase();
+      parentList.parentNode.insertBefore(list, parentList);
+      parentList.parentNode.removeChild(parentList);
     }
+  } // Invalid: OL/UL > OL/UL.

-    if (options.rawPrefixHeaderId) {
-      title = prefix + title;
-    }

-    if (globals.hashLinkCounts[title]) {
-      title = title + '-' + (globals.hashLinkCounts[title]++);
+  if (parentElement && isList(parentElement)) {
+    const prevListItem = node.previousElementSibling;
+
+    if (prevListItem) {
+      prevListItem.appendChild(node);
     } else {
-      globals.hashLinkCounts[title] = 1;
+      (0,external_wp_dom_namespaceObject.unwrap)(node);
     }
-    return title;
   }
+}

-  text = globals.converter._dispatch('headers.after', text, options, globals);
-  return text;
-});
-
-/**
- * Turn Markdown link shortcuts into XHTML <a> tags.
- */
-showdown.subParser('horizontalRule', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('horizontalRule.before', text, options, globals);
-
-  var key = showdown.subParser('hashBlock')('<hr />', options, globals);
-  text = text.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm, key);
-  text = text.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm, key);
-  text = text.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm, key);
-
-  text = globals.converter._dispatch('horizontalRule.after', text, options, globals);
-  return text;
-});
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/blockquote-normaliser.js
 /**
- * Turn Markdown image shortcuts into <img> tags.
+ * Internal dependencies
  */
-showdown.subParser('images', function (text, options, globals) {
-  'use strict';
-
-  text = globals.converter._dispatch('images.before', text, options, globals);
-
-  var inlineRegExp      = /!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,
-      crazyRegExp       = /!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,
-      base64RegExp      = /!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,
-      referenceRegExp   = /!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,
-      refShortcutRegExp = /!\[([^\[\]]+)]()()()()()/g;

-  function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {
-    url = url.replace(/\s/g, '');
-    return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);
+function blockquoteNormaliser(node) {
+  if (node.nodeName !== 'BLOCKQUOTE') {
+    return;
   }

-  function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {
-
-    var gUrls   = globals.gUrls,
-        gTitles = globals.gTitles,
-        gDims   = globals.gDimensions;
-
-    linkId = linkId.toLowerCase();
-
-    if (!title) {
-      title = '';
-    }
-    // Special case for explicit empty url
-    if (wholeMatch.search(/\(<?\s*>? ?(['"].*['"])?\)$/m) > -1) {
-      url = '';
-
-    } else if (url === '' || url === null) {
-      if (linkId === '' || linkId === null) {
-        // lower-case and turn embedded newlines into spaces
-        linkId = altText.toLowerCase().replace(/ ?\n/g, ' ');
-      }
-      url = '#' + linkId;
-
-      if (!showdown.helper.isUndefined(gUrls[linkId])) {
-        url = gUrls[linkId];
-        if (!showdown.helper.isUndefined(gTitles[linkId])) {
-          title = gTitles[linkId];
-        }
-        if (!showdown.helper.isUndefined(gDims[linkId])) {
-          width = gDims[linkId].width;
-          height = gDims[linkId].height;
-        }
-      } else {
-        return wholeMatch;
-      }
-    }
+  node.innerHTML = normaliseBlocks(node.innerHTML);
+}

-    altText = altText
-      .replace(/"/g, '&quot;')
-    //altText = showdown.helper.escapeCharacters(altText, '*_', false);
-      .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
-    //url = showdown.helper.escapeCharacters(url, '*_', false);
-    url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
-    var result = '<img src="' + url + '" alt="' + altText + '"';
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/figure-content-reducer.js
+/**
+ * External dependencies
+ */

-    if (title && showdown.helper.isString(title)) {
-      title = title
-        .replace(/"/g, '&quot;')
-      //title = showdown.helper.escapeCharacters(title, '*_', false);
-        .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
-      result += ' title="' + title + '"';
-    }
+/**
+ * WordPress dependencies
+ */

-    if (width && height) {
-      width  = (width === '*') ? 'auto' : width;
-      height = (height === '*') ? 'auto' : height;

-      result += ' width="' + width + '"';
-      result += ' height="' + height + '"';
-    }
+/**
+ * Whether or not the given node is figure content.
+ *
+ * @param {Node}   node   The node to check.
+ * @param {Object} schema The schema to use.
+ *
+ * @return {boolean} True if figure content, false if not.
+ */

-    result += ' />';
+function isFigureContent(node, schema) {
+  const tag = node.nodeName.toLowerCase(); // We are looking for tags that can be a child of the figure tag, excluding
+  // `figcaption` and any phrasing content.

-    return result;
+  if (tag === 'figcaption' || (0,external_wp_dom_namespaceObject.isTextContent)(node)) {
+    return false;
   }

-  // First, handle reference-style labeled images: ![alt text][id]
-  text = text.replace(referenceRegExp, writeImageTag);
+  return (0,external_lodash_namespaceObject.has)(schema, ['figure', 'children', tag]);
+}
+/**
+ * Whether or not the given node can have an anchor.
+ *
+ * @param {Node}   node   The node to check.
+ * @param {Object} schema The schema to use.
+ *
+ * @return {boolean} True if it can, false if not.
+ */

-  // Next, handle inline images:  ![alt text](url =<width>x<height> "optional title")

-  // base64 encoded images
-  text = text.replace(base64RegExp, writeImageTagBase64);
+function canHaveAnchor(node, schema) {
+  const tag = node.nodeName.toLowerCase();
+  return (0,external_lodash_namespaceObject.has)(schema, ['figure', 'children', 'a', 'children', tag]);
+}
+/**
+ * Wraps the given element in a figure element.
+ *
+ * @param {Element} element       The element to wrap.
+ * @param {Element} beforeElement The element before which to place the figure.
+ */

-  // cases with crazy urls like ./image/cat1).png
-  text = text.replace(crazyRegExp, writeImageTag);

-  // normal cases
-  text = text.replace(inlineRegExp, writeImageTag);
+function wrapFigureContent(element) {
+  let beforeElement = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : element;
+  const figure = element.ownerDocument.createElement('figure');
+  beforeElement.parentNode.insertBefore(figure, beforeElement);
+  figure.appendChild(element);
+}
+/**
+ * This filter takes figure content out of paragraphs, wraps it in a figure
+ * element, and moves any anchors with it if needed.
+ *
+ * @param {Node}     node   The node to filter.
+ * @param {Document} doc    The document of the node.
+ * @param {Object}   schema The schema to use.
+ *
+ * @return {void}
+ */

-  // handle reference-style shortcuts: ![img text]
-  text = text.replace(refShortcutRegExp, writeImageTag);

-  text = globals.converter._dispatch('images.after', text, options, globals);
-  return text;
-});
-
-showdown.subParser('italicsAndBold', function (text, options, globals) {
-  'use strict';
+function figureContentReducer(node, doc, schema) {
+  if (!isFigureContent(node, schema)) {
+    return;
+  }

-  text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);
+  let nodeToInsert = node;
+  const parentNode = node.parentNode; // If the figure content can have an anchor and its parent is an anchor with
+  // only the figure content, take the anchor out instead of just the content.

-  // it's faster to have 3 separate regexes for each case than have just one
-  // because of backtracing, in some cases, it could lead to an exponential effect
-  // called "catastrophic backtrace". Ominous!
+  if (canHaveAnchor(node, schema) && parentNode.nodeName === 'A' && parentNode.childNodes.length === 1) {
+    nodeToInsert = node.parentNode;
+  }

-  function parseInside (txt, left, right) {
-    /*
-    if (options.simplifiedAutoLink) {
-      txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);
+  const wrapper = nodeToInsert.closest('p,div'); // If wrapped in a paragraph or div, only extract if it's aligned or if
+  // there is no text content.
+  // Otherwise, if directly at the root, wrap in a figure element.
+
+  if (wrapper) {
+    // In jsdom-jscore, 'node.classList' can be undefined.
+    // In this case, default to extract as it offers a better UI experience on mobile.
+    if (!node.classList) {
+      wrapFigureContent(nodeToInsert, wrapper);
+    } else if (node.classList.contains('alignright') || node.classList.contains('alignleft') || node.classList.contains('aligncenter') || !wrapper.textContent.trim()) {
+      wrapFigureContent(nodeToInsert, wrapper);
     }
-    */
-    return left + txt + right;
+  } else if (nodeToInsert.parentNode.nodeName === 'BODY') {
+    wrapFigureContent(nodeToInsert);
   }
+}

-  // Parse underscores
-  if (options.literalMidWordUnderscores) {
-    text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) {
-      return parseInside (txt, '<strong><em>', '</em></strong>');
-    });
-    text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) {
-      return parseInside (txt, '<strong>', '</strong>');
-    });
-    text = text.replace(/\b_(\S[\s\S]*?)_\b/g, function (wm, txt) {
-      return parseInside (txt, '<em>', '</em>');
-    });
-  } else {
-    text = text.replace(/___(\S[\s\S]*?)___/g, function (wm, m) {
-      return (/\S$/.test(m)) ? parseInside (m, '<strong><em>', '</em></strong>') : wm;
-    });
-    text = text.replace(/__(\S[\s\S]*?)__/g, function (wm, m) {
-      return (/\S$/.test(m)) ? parseInside (m, '<strong>', '</strong>') : wm;
-    });
-    text = text.replace(/_([^\s_][\s\S]*?)_/g, function (wm, m) {
-      // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)
-      return (/\S$/.test(m)) ? parseInside (m, '<em>', '</em>') : wm;
-    });
-  }
+;// CONCATENATED MODULE: external ["wp","shortcode"]
+var external_wp_shortcode_namespaceObject = window["wp"]["shortcode"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js
+/**
+ * External dependencies
+ */

-  // Now parse asterisks
-  if (options.literalMidWordAsterisks) {
-    text = text.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g, function (wm, lead, txt) {
-      return parseInside (txt, lead + '<strong><em>', '</em></strong>');
-    });
-    text = text.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g, function (wm, lead, txt) {
-      return parseInside (txt, lead + '<strong>', '</strong>');
-    });
-    text = text.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g, function (wm, lead, txt) {
-      return parseInside (txt, lead + '<em>', '</em>');
-    });
-  } else {
-    text = text.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g, function (wm, m) {
-      return (/\S$/.test(m)) ? parseInside (m, '<strong><em>', '</em></strong>') : wm;
-    });
-    text = text.replace(/\*\*(\S[\s\S]*?)\*\*/g, function (wm, m) {
-      return (/\S$/.test(m)) ? parseInside (m, '<strong>', '</strong>') : wm;
-    });
-    text = text.replace(/\*([^\s*][\s\S]*?)\*/g, function (wm, m) {
-      // !/^\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)
-      return (/\S$/.test(m)) ? parseInside (m, '<em>', '</em>') : wm;
-    });
-  }
+/**
+ * WordPress dependencies
+ */


-  text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);
-  return text;
-});
-
 /**
- * Form HTML ordered (numbered) and unordered (bulleted) lists.
+ * Internal dependencies
  */
-showdown.subParser('lists', function (text, options, globals) {
-  'use strict';

-  /**
-   * Process the contents of a single ordered or unordered list, splitting it
-   * into individual list items.
-   * @param {string} listStr
-   * @param {boolean} trimTrailing
-   * @returns {string}
-   */
-  function processListItems (listStr, trimTrailing) {
-    // The $g_list_level global keeps track of when we're inside a list.
-    // Each time we enter a list, we increment it; when we leave a list,
-    // we decrement. If it's zero, we're not in a list anymore.
-    //
-    // We do this because when we're not inside a list, we want to treat
-    // something like this:
-    //
-    //    I recommend upgrading to version
-    //    8. Oops, now this line is treated
-    //    as a sub-list.
-    //
-    // As a single paragraph, despite the fact that the second line starts
-    // with a digit-period-space sequence.
-    //
-    // Whereas when we're inside a list (or sub-list), that line will be
-    // treated as the start of a sub-list. What a kludge, huh? This is
-    // an aspect of Markdown's syntax that's hard to parse perfectly
-    // without resorting to mind-reading. Perhaps the solution is to
-    // change the syntax rules such that sub-lists must start with a
-    // starting cardinal number; e.g. "1." or "a.".
-    globals.gListLevel++;

-    // trim trailing blank lines:
-    listStr = listStr.replace(/\n{2,}$/, '\n');

-    // attacklab: add sentinel to emulate \z
-    listStr += '¨0';

-    var rgx = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,
-        isParagraphed = (/\n[ \t]*\n(?!¨0)/.test(listStr));

-    // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,
-    // which is a syntax breaking change
-    // activating this option reverts to old behavior
-    if (options.disableForced4SpacesIndentedSublists) {
-      rgx = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm;
+
+function segmentHTMLToShortcodeBlock(HTML) {
+  let lastIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
+  let excludedBlockNames = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
+  // Get all matches.
+  const transformsFrom = getBlockTransforms('from');
+  const transformation = findTransform(transformsFrom, transform => excludedBlockNames.indexOf(transform.blockName) === -1 && transform.type === 'shortcode' && (0,external_lodash_namespaceObject.some)((0,external_lodash_namespaceObject.castArray)(transform.tag), tag => (0,external_wp_shortcode_namespaceObject.regexp)(tag).test(HTML)));
+
+  if (!transformation) {
+    return [HTML];
+  }
+
+  const transformTags = (0,external_lodash_namespaceObject.castArray)(transformation.tag);
+  const transformTag = (0,external_lodash_namespaceObject.find)(transformTags, tag => (0,external_wp_shortcode_namespaceObject.regexp)(tag).test(HTML));
+  let match;
+  const previousIndex = lastIndex;
+
+  if (match = (0,external_wp_shortcode_namespaceObject.next)(transformTag, HTML, lastIndex)) {
+    lastIndex = match.index + match.content.length;
+    const beforeHTML = HTML.substr(0, match.index);
+    const afterHTML = HTML.substr(lastIndex); // If the shortcode content does not contain HTML and the shortcode is
+    // not on a new line (or in paragraph from Markdown converter),
+    // consider the shortcode as inline text, and thus skip conversion for
+    // this segment.
+
+    if (!(0,external_lodash_namespaceObject.includes)(match.shortcode.content || '', '<') && !(/(\n|<p>)\s*$/.test(beforeHTML) && /^\s*(\n|<\/p>)/.test(afterHTML))) {
+      return segmentHTMLToShortcodeBlock(HTML, lastIndex);
+    } // If a transformation's `isMatch` predicate fails for the inbound
+    // shortcode, try again by excluding the current block type.
+    //
+    // This is the only call to `segmentHTMLToShortcodeBlock` that should
+    // ever carry over `excludedBlockNames`. Other calls in the module
+    // should skip that argument as a way to reset the exclusion state, so
+    // that one `isMatch` fail in an HTML fragment doesn't prevent any
+    // valid matches in subsequent fragments.
+
+
+    if (transformation.isMatch && !transformation.isMatch(match.shortcode.attrs)) {
+      return segmentHTMLToShortcodeBlock(HTML, previousIndex, [...excludedBlockNames, transformation.blockName]);
     }

-    listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {
-      checked = (checked && checked.trim() !== '');
+    const attributes = (0,external_lodash_namespaceObject.mapValues)((0,external_lodash_namespaceObject.pickBy)(transformation.attributes, schema => schema.shortcode), // Passing all of `match` as second argument is intentionally broad
+    // but shouldn't be too relied upon.
+    //
+    // See: https://github.com/WordPress/gutenberg/pull/3610#discussion_r152546926
+    schema => schema.shortcode(match.shortcode.attrs, match));
+    const transformationBlockType = { ...registration_getBlockType(transformation.blockName),
+      attributes: transformation.attributes
+    };
+    let block = createBlock(transformation.blockName, getBlockAttributes(transformationBlockType, match.shortcode.content, attributes));
+    block.originalContent = match.shortcode.content; // Applying the built-in fixes can enhance the attributes with missing content like "className".

-      var item = showdown.subParser('outdent')(m4, options, globals),
-          bulletStyle = '';
+    block = applyBuiltInValidationFixes(block, transformationBlockType);
+    return [...segmentHTMLToShortcodeBlock(beforeHTML), block, ...segmentHTMLToShortcodeBlock(afterHTML)];
+  }

-      // Support for github tasklists
-      if (taskbtn && options.tasklists) {
-        bulletStyle = ' class="task-list-item" style="list-style-type: none;"';
-        item = item.replace(/^[ \t]*\[(x|X| )?]/m, function () {
-          var otp = '<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';
-          if (checked) {
-            otp += ' checked';
-          }
-          otp += '>';
-          return otp;
-        });
-      }
+  return [HTML];
+}

-      // ISSUE #312
-      // This input: - - - a
-      // causes trouble to the parser, since it interprets it as:
-      // <ul><li><li><li>a</li></li></li></ul>
-      // instead of:
-      // <ul><li>- - a</li></ul>
-      // So, to prevent it, we will put a marker (¨A)in the beginning of the line
-      // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser
-      item = item.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g, function (wm2) {
-        return '¨A' + wm2;
-      });
+/* harmony default export */ var shortcode_converter = (segmentHTMLToShortcodeBlock);

-      // m1 - Leading line or
-      // Has a double return (multi paragraph) or
-      // Has sublist
-      if (m1 || (item.search(/\n{2,}/) > -1)) {
-        item = showdown.subParser('githubCodeBlocks')(item, options, globals);
-        item = showdown.subParser('blockGamut')(item, options, globals);
-      } else {
-        // Recursion for sub-lists:
-        item = showdown.subParser('lists')(item, options, globals);
-        item = item.replace(/\n$/, ''); // chomp(item)
-        item = showdown.subParser('hashHTMLBlocks')(item, options, globals);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/utils.js
+/**
+ * External dependencies
+ */

-        // Colapse double linebreaks
-        item = item.replace(/\n\n+/g, '\n\n');
-        if (isParagraphed) {
-          item = showdown.subParser('paragraphs')(item, options, globals);
-        } else {
-          item = showdown.subParser('spanGamut')(item, options, globals);
-        }
-      }
+/**
+ * WordPress dependencies
+ */

-      // now we need to remove the marker (¨A)
-      item = item.replace('¨A', '');
-      // we can finally wrap the line in list item tags
-      item =  '<li' + bulletStyle + '>' + item + '</li>\n';

-      return item;
-    });
+/**
+ * Internal dependencies
+ */

-    // attacklab: strip sentinel
-    listStr = listStr.replace(/¨0/g, '');

-    globals.gListLevel--;

-    if (trimTrailing) {
-      listStr = listStr.replace(/\s+$/, '');
+function getBlockContentSchemaFromTransforms(transforms, context) {
+  const phrasingContentSchema = (0,external_wp_dom_namespaceObject.getPhrasingContentSchema)(context);
+  const schemaArgs = {
+    phrasingContentSchema,
+    isPaste: context === 'paste'
+  };
+  const schemas = transforms.map(_ref => {
+    let {
+      isMatch,
+      blockName,
+      schema
+    } = _ref;
+    const hasAnchorSupport = registration_hasBlockSupport(blockName, 'anchor');
+    schema = (0,external_lodash_namespaceObject.isFunction)(schema) ? schema(schemaArgs) : schema; // If the block does not has anchor support and the transform does not
+    // provides an isMatch we can return the schema right away.
+
+    if (!hasAnchorSupport && !isMatch) {
+      return schema;
     }

-    return listStr;
-  }
+    return (0,external_lodash_namespaceObject.mapValues)(schema, value => {
+      let attributes = value.attributes || []; // If the block supports the "anchor" functionality, it needs to keep its ID attribute.

-  function styleStartNumber (list, listType) {
-    // check if ol and starts by a number different than 1
-    if (listType === 'ol') {
-      var res = list.match(/^ *(\d+)\./);
-      if (res && res[1] !== '1') {
-        return ' start="' + res[1] + '"';
+      if (hasAnchorSupport) {
+        attributes = [...attributes, 'id'];
       }
-    }
-    return '';
-  }

-  /**
-   * Check and parse consecutive lists (better fix for issue #142)
-   * @param {string} list
-   * @param {string} listType
-   * @param {boolean} trimTrailing
-   * @returns {string}
-   */
-  function parseConsecutiveLists (list, listType, trimTrailing) {
-    // check if we caught 2 or more consecutive lists by mistake
-    // we use the counterRgx, meaning if listType is UL we look for OL and vice versa
-    var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\d+\.[ \t]/gm : /^ {0,3}\d+\.[ \t]/gm,
-        ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \t]/gm : /^ {0,3}[*+-][ \t]/gm,
-        counterRxg = (listType === 'ul') ? olRgx : ulRgx,
-        result = '';
+      return { ...value,
+        attributes,
+        isMatch: isMatch ? isMatch : undefined
+      };
+    });
+  });
+  return (0,external_lodash_namespaceObject.mergeWith)({}, ...schemas, (objValue, srcValue, key) => {
+    switch (key) {
+      case 'children':
+        {
+          if (objValue === '*' || srcValue === '*') {
+            return '*';
+          }

-    if (list.search(counterRxg) !== -1) {
-      (function parseCL (txt) {
-        var pos = txt.search(counterRxg),
-            style = styleStartNumber(list, listType);
-        if (pos !== -1) {
-          // slice
-          result += '\n\n<' + listType + style + '>\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '</' + listType + '>\n';
+          return { ...objValue,
+            ...srcValue
+          };
+        }

-          // invert counterType and listType
-          listType = (listType === 'ul') ? 'ol' : 'ul';
-          counterRxg = (listType === 'ul') ? olRgx : ulRgx;
+      case 'attributes':
+      case 'require':
+        {
+          return [...(objValue || []), ...(srcValue || [])];
+        }

-          //recurse
-          parseCL(txt.slice(pos));
-        } else {
-          result += '\n\n<' + listType + style + '>\n' + processListItems(txt, !!trimTrailing) + '</' + listType + '>\n';
+      case 'isMatch':
+        {
+          // If one of the values being merge is undefined (matches everything),
+          // the result of the merge will be undefined.
+          if (!objValue || !srcValue) {
+            return undefined;
+          } // When merging two isMatch functions, the result is a new function
+          // that returns if one of the source functions returns true.
+
+
+          return function () {
+            return objValue(...arguments) || srcValue(...arguments);
+          };
         }
-      })(list);
-    } else {
-      var style = styleStartNumber(list, listType);
-      result = '\n\n<' + listType + style + '>\n' + processListItems(list, !!trimTrailing) + '</' + listType + '>\n';
     }
+  });
+}
+/**
+ * Gets the block content schema, which is extracted and merged from all
+ * registered blocks with raw transfroms.
+ *
+ * @param {string} context Set to "paste" when in paste context, where the
+ *                         schema is more strict.
+ *
+ * @return {Object} A complete block content schema.
+ */

-    return result;
-  }
+function getBlockContentSchema(context) {
+  return getBlockContentSchemaFromTransforms(getRawTransforms(), context);
+}
+/**
+ * Checks whether HTML can be considered plain text. That is, it does not contain
+ * any elements that are not line breaks.
+ *
+ * @param {string} HTML The HTML to check.
+ *
+ * @return {boolean} Whether the HTML can be considered plain text.
+ */

-  /** Start of list parsing **/
-  text = globals.converter._dispatch('lists.before', text, options, globals);
-  // add sentinel to hack around khtml/safari bug:
-  // http://bugs.webkit.org/show_bug.cgi?id=11231
-  text += '¨0';
+function isPlain(HTML) {
+  return !/<(?!br[ />])/i.test(HTML);
+}
+/**
+ * Given node filters, deeply filters and mutates a NodeList.
+ *
+ * @param {NodeList} nodeList The nodeList to filter.
+ * @param {Array}    filters  An array of functions that can mutate with the provided node.
+ * @param {Document} doc      The document of the nodeList.
+ * @param {Object}   schema   The schema to use.
+ */

-  if (globals.gListLevel) {
-    text = text.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,
-      function (wholeMatch, list, m2) {
-        var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';
-        return parseConsecutiveLists(list, listType, true);
-      }
-    );
-  } else {
-    text = text.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,
-      function (wholeMatch, m1, list, m3) {
-        var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';
-        return parseConsecutiveLists(list, listType, false);
+function deepFilterNodeList(nodeList, filters, doc, schema) {
+  Array.from(nodeList).forEach(node => {
+    deepFilterNodeList(node.childNodes, filters, doc, schema);
+    filters.forEach(item => {
+      // Make sure the node is still attached to the document.
+      if (!doc.contains(node)) {
+        return;
       }
-    );
-  }

-  // strip sentinel
-  text = text.replace(/¨0/, '');
-  text = globals.converter._dispatch('lists.after', text, options, globals);
-  return text;
-});
-
+      item(node, doc, schema);
+    });
+  });
+}
+/**
+ * Given node filters, deeply filters HTML tags.
+ * Filters from the deepest nodes to the top.
+ *
+ * @param {string} HTML    The HTML to filter.
+ * @param {Array}  filters An array of functions that can mutate with the provided node.
+ * @param {Object} schema  The schema to use.
+ *
+ * @return {string} The filtered HTML.
+ */
+
+function deepFilterHTML(HTML) {
+  let filters = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
+  let schema = arguments.length > 2 ? arguments[2] : undefined;
+  const doc = document.implementation.createHTMLDocument('');
+  doc.body.innerHTML = HTML;
+  deepFilterNodeList(doc.body.childNodes, filters, doc, schema);
+  return doc.body.innerHTML;
+}
 /**
- * Parse metadata at the top of the document
+ * Gets a sibling within text-level context.
+ *
+ * @param {Element} node  The subject node.
+ * @param {string}  which "next" or "previous".
  */
-showdown.subParser('metadata', function (text, options, globals) {
-  'use strict';
-
-  if (!options.metadata) {
-    return text;
-  }

-  text = globals.converter._dispatch('metadata.before', text, options, globals);
+function getSibling(node, which) {
+  const sibling = node[`${which}Sibling`];

-  function parseMetadataContents (content) {
-    // raw is raw so it's not changed in any way
-    globals.metadata.raw = content;
+  if (sibling && (0,external_wp_dom_namespaceObject.isPhrasingContent)(sibling)) {
+    return sibling;
+  }

-    // escape chars forbidden in html attributes
-    // double quotes
-    content = content
-      // ampersand first
-      .replace(/&/g, '&amp;')
-      // double quotes
-      .replace(/"/g, '&quot;');
+  const {
+    parentNode
+  } = node;

-    content = content.replace(/\n {4}/g, ' ');
-    content.replace(/^([\S ]+): +([\s\S]+?)$/gm, function (wm, key, value) {
-      globals.metadata.parsed[key] = value;
-      return '';
-    });
+  if (!parentNode || !(0,external_wp_dom_namespaceObject.isPhrasingContent)(parentNode)) {
+    return;
   }

-  text = text.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/, function (wholematch, format, content) {
-    parseMetadataContents(content);
-    return '¨M';
-  });
-
-  text = text.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/, function (wholematch, format, content) {
-    if (format) {
-      globals.metadata.format = format;
-    }
-    parseMetadataContents(content);
-    return '¨M';
-  });
+  return getSibling(parentNode, which);
+}

-  text = text.replace(/¨M/g, '');
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/index.js
+/**
+ * External dependencies
+ */

-  text = globals.converter._dispatch('metadata.after', text, options, globals);
-  return text;
-});
-
 /**
- * Remove one level of line-leading tabs or spaces
+ * WordPress dependencies
  */
-showdown.subParser('outdent', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('outdent.before', text, options, globals);

-  // attacklab: hack around Konqueror 3.5.4 bug:
-  // "----------bug".replace(/^-/g,"") == "bug"
-  text = text.replace(/^(\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width

-  // attacklab: clean up hack
-  text = text.replace(/¨0/g, '');

-  text = globals.converter._dispatch('outdent.after', text, options, globals);
-  return text;
-});
-
 /**
- *
+ * Internal dependencies
  */
-showdown.subParser('paragraphs', function (text, options, globals) {
-  'use strict';

-  text = globals.converter._dispatch('paragraphs.before', text, options, globals);
-  // Strip leading and trailing lines:
-  text = text.replace(/^\n+/g, '');
-  text = text.replace(/\n+$/g, '');

-  var grafs = text.split(/\n{2,}/g),
-      grafsOut = [],
-      end = grafs.length; // Wrap <p> tags

-  for (var i = 0; i < end; i++) {
-    var str = grafs[i];
-    // if this is an HTML marker, copy it
-    if (str.search(/¨(K|G)(\d+)\1/g) >= 0) {
-      grafsOut.push(str);

-    // test for presence of characters to prevent empty lines being parsed
-    // as paragraphs (resulting in undesired extra empty paragraphs)
-    } else if (str.search(/\S/) >= 0) {
-      str = showdown.subParser('spanGamut')(str, options, globals);
-      str = str.replace(/^([ \t]*)/g, '<p>');
-      str += '</p>';
-      grafsOut.push(str);
-    }
-  }

-  /** Unhashify HTML blocks */
-  end = grafsOut.length;
-  for (i = 0; i < end; i++) {
-    var blockText = '',
-        grafsOutIt = grafsOut[i],
-        codeFlag = false;
-    // if this is a marker for an html block...
-    // use RegExp.test instead of string.search because of QML bug
-    while (/¨(K|G)(\d+)\1/.test(grafsOutIt)) {
-      var delim = RegExp.$1,
-          num   = RegExp.$2;

-      if (delim === 'K') {
-        blockText = globals.gHtmlBlocks[num];
-      } else {
-        // we need to check if ghBlock is a false positive
-        if (codeFlag) {
-          // use encoded version of all text
-          blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);
-        } else {
-          blockText = globals.ghCodeBlocks[num].codeblock;
-        }
-      }
-      blockText = blockText.replace(/\$/g, '$$$$'); // Escape any dollar signs

-      grafsOutIt = grafsOutIt.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/, blockText);
-      // Check if grafsOutIt is a pre->code
-      if (/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(grafsOutIt)) {
-        codeFlag = true;
-      }
-    }
-    grafsOut[i] = grafsOutIt;
-  }
-  text = grafsOut.join('\n');
-  // Strip leading and trailing lines:
-  text = text.replace(/^\n+/g, '');
-  text = text.replace(/\n+$/g, '');
-  return globals.converter._dispatch('paragraphs.after', text, options, globals);
-});
-
-/**
- * Run extension
- */
-showdown.subParser('runExtension', function (ext, text, options, globals) {
-  'use strict';

-  if (ext.filter) {
-    text = ext.filter(text, globals.converter, options);

-  } else if (ext.regex) {
-    // TODO remove this when old extension loading mechanism is deprecated
-    var re = ext.regex;
-    if (!(re instanceof RegExp)) {
-      re = new RegExp(re, 'g');
-    }
-    text = text.replace(re, ext.replace);
-  }

-  return text;
-});
-
+
+function deprecatedGetPhrasingContentSchema(context) {
+  external_wp_deprecated_default()('wp.blocks.getPhrasingContentSchema', {
+    since: '5.6',
+    alternative: 'wp.dom.getPhrasingContentSchema'
+  });
+  return (0,external_wp_dom_namespaceObject.getPhrasingContentSchema)(context);
+}
 /**
- * These are all the transformations that occur *within* block-level
- * tags like paragraphs, headers, and list items.
+ * Converts an HTML string to known blocks.
+ *
+ * @param {Object} $1
+ * @param {string} $1.HTML The HTML to convert.
+ *
+ * @return {Array} A list of blocks.
  */
-showdown.subParser('spanGamut', function (text, options, globals) {
-  'use strict';
-
-  text = globals.converter._dispatch('spanGamut.before', text, options, globals);
-  text = showdown.subParser('codeSpans')(text, options, globals);
-  text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);
-  text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);
-
-  // Process anchor and image tags. Images must come first,
-  // because ![foo][f] looks like an anchor.
-  text = showdown.subParser('images')(text, options, globals);
-  text = showdown.subParser('anchors')(text, options, globals);
-
-  // Make links out of things like `<http://example.com/>`
-  // Must come after anchors, because you can use < and >
-  // delimiters in inline links like [this](<url>).
-  text = showdown.subParser('autoLinks')(text, options, globals);
-  text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);
-  text = showdown.subParser('emoji')(text, options, globals);
-  text = showdown.subParser('underline')(text, options, globals);
-  text = showdown.subParser('italicsAndBold')(text, options, globals);
-  text = showdown.subParser('strikethrough')(text, options, globals);
-  text = showdown.subParser('ellipsis')(text, options, globals);

-  // we need to hash HTML tags inside spans
-  text = showdown.subParser('hashHTMLSpans')(text, options, globals);
+function rawHandler(_ref) {
+  let {
+    HTML = ''
+  } = _ref;

-  // now we encode amps and angles
-  text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);
+  // If we detect block delimiters, parse entirely as blocks.
+  if (HTML.indexOf('<!-- wp:') !== -1) {
+    return parser_parse(HTML);
+  } // An array of HTML strings and block objects. The blocks replace matched
+  // shortcodes.

-  // Do hard breaks
-  if (options.simpleLineBreaks) {
-    // GFM style hard breaks
-    // only add line breaks if the text does not contain a block (special case for lists)
-    if (!/\n\n¨K/.test(text)) {
-      text = text.replace(/\n+/g, '<br />\n');
-    }
-  } else {
-    // Vanilla hard breaks
-    text = text.replace(/  +\n/g, '<br />\n');
-  }

-  text = globals.converter._dispatch('spanGamut.after', text, options, globals);
-  return text;
-});
-
-showdown.subParser('strikethrough', function (text, options, globals) {
-  'use strict';
+  const pieces = shortcode_converter(HTML);
+  const blockContentSchema = getBlockContentSchema();
+  return (0,external_lodash_namespaceObject.compact)((0,external_lodash_namespaceObject.flatMap)(pieces, piece => {
+    // Already a block from shortcode.
+    if (typeof piece !== 'string') {
+      return piece;
+    } // These filters are essential for some blocks to be able to transform
+    // from raw HTML. These filters move around some content or add
+    // additional tags, they do not remove any content.

-  function parseInside (txt) {
-    if (options.simplifiedAutoLink) {
-      txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);
-    }
-    return '<del>' + txt + '</del>';
-  }

-  if (options.strikethrough) {
-    text = globals.converter._dispatch('strikethrough.before', text, options, globals);
-    text = text.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });
-    text = globals.converter._dispatch('strikethrough.after', text, options, globals);
-  }
+    const filters = [// Needed to adjust invalid lists.
+    listReducer, // Needed to create more and nextpage blocks.
+    specialCommentConverter, // Needed to create media blocks.
+    figureContentReducer, // Needed to create the quote block, which cannot handle text
+    // without wrapper paragraphs.
+    blockquoteNormaliser];
+    piece = deepFilterHTML(piece, filters, blockContentSchema);
+    piece = normaliseBlocks(piece);
+    return htmlToBlocks(piece);
+  }));
+}

-  return text;
-});
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/comment-remover.js
 /**
- * Strips link definitions from text, stores the URLs and titles in
- * hash references.
- * Link defs are in the form: ^[id]: url "optional title"
+ * WordPress dependencies
  */
-showdown.subParser('stripLinkDefinitions', function (text, options, globals) {
-  'use strict';

-  var regex       = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,
-      base64Regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;
+/**
+ * Looks for comments, and removes them.
+ *
+ * @param {Node} node The node to be processed.
+ * @return {void}
+ */

-  // attacklab: sentinel workarounds for lack of \A and \Z, safari\khtml bug
-  text += '¨0';
+function commentRemover(node) {
+  if (node.nodeType === node.COMMENT_NODE) {
+    (0,external_wp_dom_namespaceObject.remove)(node);
+  }
+}

-  var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {
-    linkId = linkId.toLowerCase();
-    if (url.match(/^data:.+?\/.+?;base64,/)) {
-      // remove newlines
-      globals.gUrls[linkId] = url.replace(/\s/g, '');
-    } else {
-      globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals);  // Link IDs are case-insensitive
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/is-inline-content.js
+/**
+ * External dependencies
+ */

-    if (blankLines) {
-      // Oops, found blank lines, so it's not a title.
-      // Put back the parenthetical statement we stole.
-      return blankLines + title;
+/**
+ * WordPress dependencies
+ */

-    } else {
-      if (title) {
-        globals.gTitles[linkId] = title.replace(/"|'/g, '&quot;');
-      }
-      if (options.parseImgDimensions && width && height) {
-        globals.gDimensions[linkId] = {
-          width:  width,
-          height: height
-        };
-      }
-    }
-    // Completely remove the definition from the text
-    return '';
-  };

-  // first we try to find base64 link references
-  text = text.replace(base64Regex, replaceFunc);
+/**
+ * Checks if the given node should be considered inline content, optionally
+ * depending on a context tag.
+ *
+ * @param {Node}   node       Node name.
+ * @param {string} contextTag Tag name.
+ *
+ * @return {boolean} True if the node is inline content, false if nohe.
+ */

-  text = text.replace(regex, replaceFunc);
+function isInline(node, contextTag) {
+  if ((0,external_wp_dom_namespaceObject.isTextContent)(node)) {
+    return true;
+  }

-  // attacklab: strip sentinel
-  text = text.replace(/¨0/, '');
+  if (!contextTag) {
+    return false;
+  }

-  return text;
-});
-
-showdown.subParser('tables', function (text, options, globals) {
-  'use strict';
+  const tag = node.nodeName.toLowerCase();
+  const inlineAllowedTagGroups = [['ul', 'li', 'ol'], ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']];
+  return inlineAllowedTagGroups.some(tagGroup => (0,external_lodash_namespaceObject.difference)([tag, contextTag], tagGroup).length === 0);
+}

-  if (!options.tables) {
-    return text;
-  }
+function deepCheck(nodes, contextTag) {
+  return nodes.every(node => isInline(node, contextTag) && deepCheck(Array.from(node.children), contextTag));
+}

-  var tableRgx       = /^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,
-      //singeColTblRgx = /^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n(?: {0,3}\|.+\|\n)+(?:\n\n|¨0)/gm;
-      singeColTblRgx = /^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;
+function isDoubleBR(node) {
+  return node.nodeName === 'BR' && node.previousSibling && node.previousSibling.nodeName === 'BR';
+}

-  function parseStyles (sLine) {
-    if (/^:[ \t]*--*$/.test(sLine)) {
-      return ' style="text-align:left;"';
-    } else if (/^--*[ \t]*:[ \t]*$/.test(sLine)) {
-      return ' style="text-align:right;"';
-    } else if (/^:[ \t]*--*[ \t]*:$/.test(sLine)) {
-      return ' style="text-align:center;"';
-    } else {
-      return '';
-    }
-  }
+function isInlineContent(HTML, contextTag) {
+  const doc = document.implementation.createHTMLDocument('');
+  doc.body.innerHTML = HTML;
+  const nodes = Array.from(doc.body.children);
+  return !nodes.some(isDoubleBR) && deepCheck(nodes, contextTag);
+}

-  function parseHeaders (header, style) {
-    var id = '';
-    header = header.trim();
-    // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility
-    if (options.tablesHeaderId || options.tableHeaderId) {
-      id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"';
-    }
-    header = showdown.subParser('spanGamut')(header, options, globals);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content-reducer.js
+/**
+ * External dependencies
+ */

-    return '<th' + id + style + '>' + header + '</th>\n';
-  }
+/**
+ * WordPress dependencies
+ */

-  function parseCells (cell, style) {
-    var subText = showdown.subParser('spanGamut')(cell, options, globals);
-    return '<td' + style + '>' + subText + '</td>\n';
-  }

-  function buildTable (headers, cells) {
-    var tb = '<table>\n<thead>\n<tr>\n',
-        tblLgn = headers.length;
+function phrasingContentReducer(node, doc) {
+  // In jsdom-jscore, 'node.style' can be null.
+  // TODO: Explore fixing this by patching jsdom-jscore.
+  if (node.nodeName === 'SPAN' && node.style) {
+    const {
+      fontWeight,
+      fontStyle,
+      textDecorationLine,
+      textDecoration,
+      verticalAlign
+    } = node.style;

-    for (var i = 0; i < tblLgn; ++i) {
-      tb += headers[i];
+    if (fontWeight === 'bold' || fontWeight === '700') {
+      (0,external_wp_dom_namespaceObject.wrap)(doc.createElement('strong'), node);
     }
-    tb += '</tr>\n</thead>\n<tbody>\n';

-    for (i = 0; i < cells.length; ++i) {
-      tb += '<tr>\n';
-      for (var ii = 0; ii < tblLgn; ++ii) {
-        tb += cells[i][ii];
-      }
-      tb += '</tr>\n';
-    }
-    tb += '</tbody>\n</table>\n';
-    return tb;
-  }
+    if (fontStyle === 'italic') {
+      (0,external_wp_dom_namespaceObject.wrap)(doc.createElement('em'), node);
+    } // Some DOM implementations (Safari, JSDom) don't support
+    // style.textDecorationLine, so we check style.textDecoration as a
+    // fallback.

-  function parseTable (rawTable) {
-    var i, tableLines = rawTable.split('\n');

-    for (i = 0; i < tableLines.length; ++i) {
-      // strip wrong first and last column if wrapped tables are used
-      if (/^ {0,3}\|/.test(tableLines[i])) {
-        tableLines[i] = tableLines[i].replace(/^ {0,3}\|/, '');
-      }
-      if (/\|[ \t]*$/.test(tableLines[i])) {
-        tableLines[i] = tableLines[i].replace(/\|[ \t]*$/, '');
-      }
-      // parse code spans first, but we only support one line code spans
-      tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);
+    if (textDecorationLine === 'line-through' || (0,external_lodash_namespaceObject.includes)(textDecoration, 'line-through')) {
+      (0,external_wp_dom_namespaceObject.wrap)(doc.createElement('s'), node);
     }

-    var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),
-        rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),
-        rawCells = [],
-        headers = [],
-        styles = [],
-        cells = [];
+    if (verticalAlign === 'super') {
+      (0,external_wp_dom_namespaceObject.wrap)(doc.createElement('sup'), node);
+    } else if (verticalAlign === 'sub') {
+      (0,external_wp_dom_namespaceObject.wrap)(doc.createElement('sub'), node);
+    }
+  } else if (node.nodeName === 'B') {
+    node = (0,external_wp_dom_namespaceObject.replaceTag)(node, 'strong');
+  } else if (node.nodeName === 'I') {
+    node = (0,external_wp_dom_namespaceObject.replaceTag)(node, 'em');
+  } else if (node.nodeName === 'A') {
+    // In jsdom-jscore, 'node.target' can be null.
+    // TODO: Explore fixing this by patching jsdom-jscore.
+    if (node.target && node.target.toLowerCase() === '_blank') {
+      node.rel = 'noreferrer noopener';
+    } else {
+      node.removeAttribute('target');
+      node.removeAttribute('rel');
+    } // Saves anchor elements name attribute as id

-    tableLines.shift();
-    tableLines.shift();

-    for (i = 0; i < tableLines.length; ++i) {
-      if (tableLines[i].trim() === '') {
-        continue;
-      }
-      rawCells.push(
-        tableLines[i]
-          .split('|')
-          .map(function (s) {
-            return s.trim();
-          })
-      );
-    }
+    if (node.name && !node.id) {
+      node.id = node.name;
+    } // Keeps id only if there is an internal link pointing to it

-    if (rawHeaders.length < rawStyles.length) {
-      return rawTable;
-    }

-    for (i = 0; i < rawStyles.length; ++i) {
-      styles.push(parseStyles(rawStyles[i]));
+    if (node.id && !node.ownerDocument.querySelector(`[href="#${node.id}"]`)) {
+      node.removeAttribute('id');
     }
+  }
+}

-    for (i = 0; i < rawHeaders.length; ++i) {
-      if (showdown.helper.isUndefined(styles[i])) {
-        styles[i] = '';
-      }
-      headers.push(parseHeaders(rawHeaders[i], styles[i]));
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/head-remover.js
+function headRemover(node) {
+  if (node.nodeName !== 'SCRIPT' && node.nodeName !== 'NOSCRIPT' && node.nodeName !== 'TEMPLATE' && node.nodeName !== 'STYLE') {
+    return;
+  }

-    for (i = 0; i < rawCells.length; ++i) {
-      var row = [];
-      for (var ii = 0; ii < headers.length; ++ii) {
-        if (showdown.helper.isUndefined(rawCells[i][ii])) {
+  node.parentNode.removeChild(node);
+}

-        }
-        row.push(parseCells(rawCells[i][ii], styles[ii]));
-      }
-      cells.push(row);
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-converter.js
+/**
+ * Browser dependencies
+ */
+const {
+  parseInt: ms_list_converter_parseInt
+} = window;

-    return buildTable(headers, cells);
-  }
+function ms_list_converter_isList(node) {
+  return node.nodeName === 'OL' || node.nodeName === 'UL';
+}

-  text = globals.converter._dispatch('tables.before', text, options, globals);
+function msListConverter(node, doc) {
+  if (node.nodeName !== 'P') {
+    return;
+  }

-  // find escaped pipe characters
-  text = text.replace(/\\(\|)/g, showdown.helper.escapeCharactersCallback);
+  const style = node.getAttribute('style');

-  // parse multi column tables
-  text = text.replace(tableRgx, parseTable);
+  if (!style) {
+    return;
+  } // Quick check.

-  // parse one column tables
-  text = text.replace(singeColTblRgx, parseTable);

-  text = globals.converter._dispatch('tables.after', text, options, globals);
+  if (style.indexOf('mso-list') === -1) {
+    return;
+  }

-  return text;
-});
-
-showdown.subParser('underline', function (text, options, globals) {
-  'use strict';
+  const matches = /mso-list\s*:[^;]+level([0-9]+)/i.exec(style);

-  if (!options.underline) {
-    return text;
+  if (!matches) {
+    return;
   }

-  text = globals.converter._dispatch('underline.before', text, options, globals);
+  let level = ms_list_converter_parseInt(matches[1], 10) - 1 || 0;
+  const prevNode = node.previousElementSibling; // Add new list if no previous.

-  if (options.literalMidWordUnderscores) {
-    text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) {
-      return '<u>' + txt + '</u>';
-    });
-    text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) {
-      return '<u>' + txt + '</u>';
-    });
-  } else {
-    text = text.replace(/___(\S[\s\S]*?)___/g, function (wm, m) {
-      return (/\S$/.test(m)) ? '<u>' + m + '</u>' : wm;
-    });
-    text = text.replace(/__(\S[\s\S]*?)__/g, function (wm, m) {
-      return (/\S$/.test(m)) ? '<u>' + m + '</u>' : wm;
-    });
-  }
+  if (!prevNode || !ms_list_converter_isList(prevNode)) {
+    // See https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-type.
+    const type = node.textContent.trim().slice(0, 1);
+    const isNumeric = /[1iIaA]/.test(type);
+    const newListNode = doc.createElement(isNumeric ? 'ol' : 'ul');

-  // escape remaining underscores to prevent them being parsed by italic and bold
-  text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);
+    if (isNumeric) {
+      newListNode.setAttribute('type', type);
+    }

-  text = globals.converter._dispatch('underline.after', text, options, globals);
+    node.parentNode.insertBefore(newListNode, node);
+  }

-  return text;
-});
-
-/**
- * Swap back in all the special characters we've hidden.
- */
-showdown.subParser('unescapeSpecialChars', function (text, options, globals) {
-  'use strict';
-  text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);
+  const listNode = node.previousElementSibling;
+  const listType = listNode.nodeName;
+  const listItem = doc.createElement('li');
+  let receivingNode = listNode; // Remove the first span with list info.

-  text = text.replace(/¨E(\d+)E/g, function (wholeMatch, m1) {
-    var charCodeToReplace = parseInt(m1);
-    return String.fromCharCode(charCodeToReplace);
-  });
+  node.removeChild(node.firstElementChild); // Add content.

-  text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);
-  return text;
-});
-
-showdown.subParser('makeMarkdown.blockquote', function (node, globals) {
-  'use strict';
+  while (node.firstChild) {
+    listItem.appendChild(node.firstChild);
+  } // Change pointer depending on indentation level.

-  var txt = '';
-  if (node.hasChildNodes()) {
-    var children = node.childNodes,
-        childrenLength = children.length;

-    for (var i = 0; i < childrenLength; ++i) {
-      var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);
+  while (level--) {
+    receivingNode = receivingNode.lastElementChild || receivingNode; // If it's a list, move pointer to the last item.

-      if (innerTxt === '') {
-        continue;
-      }
-      txt += innerTxt;
+    if (ms_list_converter_isList(receivingNode)) {
+      receivingNode = receivingNode.lastElementChild || receivingNode;
     }
-  }
-  // cleanup
-  txt = txt.trim();
-  txt = '> ' + txt.split('\n').join('\n> ');
-  return txt;
-});
-
-showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {
-  'use strict';
-
-  var lang = node.getAttribute('language'),
-      num  = node.getAttribute('precodenum');
-  return '```' + lang + '\n' + globals.preList[num] + '\n```';
-});
-
-showdown.subParser('makeMarkdown.codeSpan', function (node) {
-  'use strict';
+  } // Make sure we append to a list.

-  return '`' + node.innerHTML + '`';
-});
-
-showdown.subParser('makeMarkdown.emphasis', function (node, globals) {
-  'use strict';

-  var txt = '';
-  if (node.hasChildNodes()) {
-    txt += '*';
-    var children = node.childNodes,
-        childrenLength = children.length;
-    for (var i = 0; i < childrenLength; ++i) {
-      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
-    }
-    txt += '*';
-  }
-  return txt;
-});
-
-showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {
-  'use strict';
+  if (!ms_list_converter_isList(receivingNode)) {
+    receivingNode = receivingNode.appendChild(doc.createElement(listType));
+  } // Append the list item to the list.

-  var headerMark = new Array(headerLevel + 1).join('#'),
-      txt = '';

-  if (node.hasChildNodes()) {
-    txt = headerMark + ' ';
-    var children = node.childNodes,
-        childrenLength = children.length;
+  receivingNode.appendChild(listItem); // Remove the wrapper paragraph.

-    for (var i = 0; i < childrenLength; ++i) {
-      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
-    }
-  }
-  return txt;
-});
-
-showdown.subParser('makeMarkdown.hr', function () {
-  'use strict';
+  node.parentNode.removeChild(node);
+}

-  return '---';
-});
-
-showdown.subParser('makeMarkdown.image', function (node) {
-  'use strict';
+;// CONCATENATED MODULE: external ["wp","blob"]
+var external_wp_blob_namespaceObject = window["wp"]["blob"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js
+/**
+ * WordPress dependencies
+ */

-  var txt = '';
-  if (node.hasAttribute('src')) {
-    txt += '![' + node.getAttribute('alt') + '](';
-    txt += '<' + node.getAttribute('src') + '>';
-    if (node.hasAttribute('width') && node.hasAttribute('height')) {
-      txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');
-    }
+/**
+ * Browser dependencies
+ */

-    if (node.hasAttribute('title')) {
-      txt += ' "' + node.getAttribute('title') + '"';
-    }
-    txt += ')';
+const {
+  atob,
+  File
+} = window;
+function imageCorrector(node) {
+  if (node.nodeName !== 'IMG') {
+    return;
   }
-  return txt;
-});
-
-showdown.subParser('makeMarkdown.links', function (node, globals) {
-  'use strict';

-  var txt = '';
-  if (node.hasChildNodes() && node.hasAttribute('href')) {
-    var children = node.childNodes,
-        childrenLength = children.length;
-    txt = '[';
-    for (var i = 0; i < childrenLength; ++i) {
-      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
-    }
-    txt += '](';
-    txt += '<' + node.getAttribute('href') + '>';
-    if (node.hasAttribute('title')) {
-      txt += ' "' + node.getAttribute('title') + '"';
-    }
-    txt += ')';
-  }
-  return txt;
-});
-
-showdown.subParser('makeMarkdown.list', function (node, globals, type) {
-  'use strict';
+  if (node.src.indexOf('file:') === 0) {
+    node.src = '';
+  } // This piece cannot be tested outside a browser env.

-  var txt = '';
-  if (!node.hasChildNodes()) {
-    return '';
-  }
-  var listItems       = node.childNodes,
-      listItemsLenght = listItems.length,
-      listNum = node.getAttribute('start') || 1;

-  for (var i = 0; i < listItemsLenght; ++i) {
-    if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {
-      continue;
+  if (node.src.indexOf('data:') === 0) {
+    const [properties, data] = node.src.split(',');
+    const [type] = properties.slice(5).split(';');
+
+    if (!data || !type) {
+      node.src = '';
+      return;
     }

-    // define the bullet to use in list
-    var bullet = '';
-    if (type === 'ol') {
-      bullet = listNum.toString() + '. ';
-    } else {
-      bullet = '- ';
+    let decoded; // Can throw DOMException!
+
+    try {
+      decoded = atob(data);
+    } catch (e) {
+      node.src = '';
+      return;
     }

-    // parse list item
-    txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);
-    ++listNum;
-  }
+    const uint8Array = new Uint8Array(decoded.length);

-  // add comment at the end to prevent consecutive lists to be parsed as one
-  txt += '\n<!-- -->\n';
-  return txt.trim();
-});
-
-showdown.subParser('makeMarkdown.listItem', function (node, globals) {
-  'use strict';
+    for (let i = 0; i < uint8Array.length; i++) {
+      uint8Array[i] = decoded.charCodeAt(i);
+    }

-  var listItemTxt = '';
+    const name = type.replace('/', '.');
+    const file = new File([uint8Array], name, {
+      type
+    });
+    node.src = (0,external_wp_blob_namespaceObject.createBlobURL)(file);
+  } // Remove trackers and hardly visible images.

-  var children = node.childNodes,
-      childrenLenght = children.length;

-  for (var i = 0; i < childrenLenght; ++i) {
-    listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);
-  }
-  // if it's only one liner, we need to add a newline at the end
-  if (!/\n$/.test(listItemTxt)) {
-    listItemTxt += '\n';
-  } else {
-    // it's multiparagraph, so we need to indent
-    listItemTxt = listItemTxt
-      .split('\n')
-      .join('\n    ')
-      .replace(/^ {4}$/gm, '')
-      .replace(/\n\n+/g, '\n\n');
+  if (node.height === 1 || node.width === 1) {
+    node.parentNode.removeChild(node);
   }
+}

-  return listItemTxt;
-});
-
+// EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js
+var showdown = __webpack_require__(7308);
+var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js
+/**
+ * External dependencies
+ */
+ // Reuse the same showdown converter.

+const converter = new (showdown_default()).Converter({
+  noHeaderId: true,
+  tables: true,
+  literalMidWordUnderscores: true,
+  omitExtraWLInCodeBlocks: true,
+  simpleLineBreaks: true,
+  strikethrough: true
+});
+/**
+ * Corrects the Slack Markdown variant of the code block.
+ * If uncorrected, it will be converted to inline code.
+ *
+ * @see https://get.slack.help/hc/en-us/articles/202288908-how-can-i-add-formatting-to-my-messages-#code-blocks
+ *
+ * @param {string} text The potential Markdown text to correct.
+ *
+ * @return {string} The corrected Markdown.
+ */

-showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {
-  'use strict';
+function slackMarkdownVariantCorrector(text) {
+  return text.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/, (match, p1, p2, p3) => `${p1}\n${p2}\n${p3}`);
+}
+/**
+ * Converts a piece of text into HTML based on any Markdown present.
+ * Also decodes any encoded HTML.
+ *
+ * @param {string} text The plain text to convert.
+ *
+ * @return {string} HTML.
+ */

-  spansOnly = spansOnly || false;

-  var txt = '';
+function markdownConverter(text) {
+  return converter.makeHtml(slackMarkdownVariantCorrector(text));
+}

-  // edge case of text without wrapper paragraph
-  if (node.nodeType === 3) {
-    return showdown.subParser('makeMarkdown.txt')(node, globals);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/iframe-remover.js
+/**
+ * Removes iframes.
+ *
+ * @param {Node} node The node to check.
+ *
+ * @return {void}
+ */
+function iframeRemover(node) {
+  if (node.nodeName === 'IFRAME') {
+    const text = node.ownerDocument.createTextNode(node.src);
+    node.parentNode.replaceChild(text, node);
   }
+}

-  // HTML comment
-  if (node.nodeType === 8) {
-    return '<!--' + node.data + '-->\n\n';
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/google-docs-uid-remover.js
+/**
+ * WordPress dependencies
+ */

-  // process only node elements
-  if (node.nodeType !== 1) {
-    return '';
+function googleDocsUIdRemover(node) {
+  if (!node.id || node.id.indexOf('docs-internal-guid-') !== 0) {
+    return;
   }

-  var tagName = node.tagName.toLowerCase();
+  (0,external_wp_dom_namespaceObject.unwrap)(node);
+}

-  switch (tagName) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/html-formatting-remover.js
+/**
+ * Internal dependencies
+ */

-    //
-    // BLOCKS
-    //
-    case 'h1':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\n\n'; }
-      break;
-    case 'h2':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\n\n'; }
-      break;
-    case 'h3':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\n\n'; }
-      break;
-    case 'h4':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\n\n'; }
-      break;
-    case 'h5':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\n\n'; }
-      break;
-    case 'h6':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\n\n'; }
-      break;

-    case 'p':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\n\n'; }
-      break;
+function isFormattingSpace(character) {
+  return character === ' ' || character === '\r' || character === '\n' || character === '\t';
+}
+/**
+ * Removes spacing that formats HTML.
+ *
+ * @see https://www.w3.org/TR/css-text-3/#white-space-processing
+ *
+ * @param {Node} node The node to be processed.
+ * @return {void}
+ */

-    case 'blockquote':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\n\n'; }
-      break;

-    case 'hr':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\n\n'; }
-      break;
+function htmlFormattingRemover(node) {
+  if (node.nodeType !== node.TEXT_NODE) {
+    return;
+  } // Ignore pre content. Note that this does not use Element#closest due to
+  // a combination of (a) node may not be Element and (b) node.parentElement
+  // does not have full support in all browsers (Internet Exporer).
+  //
+  // See: https://developer.mozilla.org/en-US/docs/Web/API/Node/parentElement#Browser_compatibility

-    case 'ol':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\n\n'; }
-      break;
+  /** @type {Node?} */

-    case 'ul':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\n\n'; }
-      break;

-    case 'precode':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\n\n'; }
-      break;
+  let parent = node;

-    case 'pre':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\n\n'; }
-      break;
+  while (parent = parent.parentNode) {
+    if (parent.nodeType === parent.ELEMENT_NODE && parent.nodeName === 'PRE') {
+      return;
+    }
+  } // First, replace any sequence of HTML formatting space with a single space.

-    case 'table':
-      if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\n\n'; }
-      break;

-    //
-    // SPANS
-    //
-    case 'code':
-      txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);
-      break;
+  let newData = node.data.replace(/[ \r\n\t]+/g, ' '); // Remove the leading space if the text element is at the start of a block,
+  // is preceded by a line break element, or has a space in the previous
+  // node.

-    case 'em':
-    case 'i':
-      txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);
-      break;
+  if (newData[0] === ' ') {
+    const previousSibling = getSibling(node, 'previous');

-    case 'strong':
-    case 'b':
-      txt = showdown.subParser('makeMarkdown.strong')(node, globals);
-      break;
+    if (!previousSibling || previousSibling.nodeName === 'BR' || previousSibling.textContent.slice(-1) === ' ') {
+      newData = newData.slice(1);
+    }
+  } // Remove the trailing space if the text element is at the end of a block,
+  // is succeded by a line break element, or has a space in the next text
+  // node.

-    case 'del':
-      txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);
-      break;

-    case 'a':
-      txt = showdown.subParser('makeMarkdown.links')(node, globals);
-      break;
+  if (newData[newData.length - 1] === ' ') {
+    const nextSibling = getSibling(node, 'next');

-    case 'img':
-      txt = showdown.subParser('makeMarkdown.image')(node, globals);
-      break;
+    if (!nextSibling || nextSibling.nodeName === 'BR' || nextSibling.nodeType === nextSibling.TEXT_NODE && isFormattingSpace(nextSibling.textContent[0])) {
+      newData = newData.slice(0, -1);
+    }
+  } // If there's no data left, remove the node, so `previousSibling` stays
+  // accurate. Otherwise, update the node data.

-    default:
-      txt = node.outerHTML + '\n\n';
+
+  if (!newData) {
+    node.parentNode.removeChild(node);
+  } else {
+    node.data = newData;
   }
+}

-  // common normalization
-  // TODO eventually
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/br-remover.js
+/**
+ * Internal dependencies
+ */

-  return txt;
-});
-
-showdown.subParser('makeMarkdown.paragraph', function (node, globals) {
-  'use strict';
+/**
+ * Removes trailing br elements from text-level content.
+ *
+ * @param {Element} node Node to check.
+ */

-  var txt = '';
-  if (node.hasChildNodes()) {
-    var children = node.childNodes,
-        childrenLength = children.length;
-    for (var i = 0; i < childrenLength; ++i) {
-      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
-    }
+function brRemover(node) {
+  if (node.nodeName !== 'BR') {
+    return;
   }

-  // some text normalization
-  txt = txt.trim();
-
-  return txt;
-});
-
-showdown.subParser('makeMarkdown.pre', function (node, globals) {
-  'use strict';
+  if (getSibling(node, 'next')) {
+    return;
+  }

-  var num  = node.getAttribute('prenum');
-  return '<pre>' + globals.preList[num] + '</pre>';
-});
-
-showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {
-  'use strict';
+  node.parentNode.removeChild(node);
+}

-  var txt = '';
-  if (node.hasChildNodes()) {
-    txt += '~~';
-    var children = node.childNodes,
-        childrenLength = children.length;
-    for (var i = 0; i < childrenLength; ++i) {
-      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
-    }
-    txt += '~~';
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/empty-paragraph-remover.js
+/**
+ * Removes empty paragraph elements.
+ *
+ * @param {Element} node Node to check.
+ */
+function emptyParagraphRemover(node) {
+  if (node.nodeName !== 'P') {
+    return;
   }
-  return txt;
-});
-
-showdown.subParser('makeMarkdown.strong', function (node, globals) {
-  'use strict';

-  var txt = '';
   if (node.hasChildNodes()) {
-    txt += '**';
-    var children = node.childNodes,
-        childrenLength = children.length;
-    for (var i = 0; i < childrenLength; ++i) {
-      txt += showdown.subParser('makeMarkdown.node')(children[i], globals);
-    }
-    txt += '**';
+    return;
   }
-  return txt;
-});
-
-showdown.subParser('makeMarkdown.table', function (node, globals) {
-  'use strict';

-  var txt = '',
-      tableArray = [[], []],
-      headings   = node.querySelectorAll('thead>tr>th'),
-      rows       = node.querySelectorAll('tbody>tr'),
-      i, ii;
-  for (i = 0; i < headings.length; ++i) {
-    var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),
-        allign = '---';
+  node.parentNode.removeChild(node);
+}

-    if (headings[i].hasAttribute('style')) {
-      var style = headings[i].getAttribute('style').toLowerCase().replace(/\s/g, '');
-      switch (style) {
-        case 'text-align:left;':
-          allign = ':---';
-          break;
-        case 'text-align:right;':
-          allign = '---:';
-          break;
-        case 'text-align:center;':
-          allign = ':---:';
-          break;
-      }
-    }
-    tableArray[0][i] = headContent.trim();
-    tableArray[1][i] = allign;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/paste-handler.js
+/**
+ * External dependencies
+ */

-  for (i = 0; i < rows.length; ++i) {
-    var r = tableArray.push([]) - 1,
-        cols = rows[i].getElementsByTagName('td');
+/**
+ * WordPress dependencies
+ */

-    for (ii = 0; ii < headings.length; ++ii) {
-      var cellContent = ' ';
-      if (typeof cols[ii] !== 'undefined') {
-        cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);
-      }
-      tableArray[r].push(cellContent);
-    }
-  }

-  var cellSpacesCount = 3;
-  for (i = 0; i < tableArray.length; ++i) {
-    for (ii = 0; ii < tableArray[i].length; ++ii) {
-      var strLen = tableArray[i][ii].length;
-      if (strLen > cellSpacesCount) {
-        cellSpacesCount = strLen;
-      }
-    }
-  }
+/**
+ * Internal dependencies
+ */

-  for (i = 0; i < tableArray.length; ++i) {
-    for (ii = 0; ii < tableArray[i].length; ++ii) {
-      if (i === 1) {
-        if (tableArray[i][ii].slice(-1) === ':') {
-          tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';
-        } else {
-          tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');
-        }
-      } else {
-        tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);
-      }
-    }
-    txt += '| ' + tableArray[i].join(' | ') + ' |\n';
-  }

-  return txt.trim();
-});
-
-showdown.subParser('makeMarkdown.tableCell', function (node, globals) {
-  'use strict';

-  var txt = '';
-  if (!node.hasChildNodes()) {
-    return '';
-  }
-  var children = node.childNodes,
-      childrenLength = children.length;

-  for (var i = 0; i < childrenLength; ++i) {
-    txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);
-  }
-  return txt.trim();
-});
-
-showdown.subParser('makeMarkdown.txt', function (node) {
-  'use strict';

-  var txt = node.nodeValue;

-  // multiple spaces are collapsed
-  txt = txt.replace(/ +/g, ' ');

-  // replace the custom ¨NBSP; with a space
-  txt = txt.replace(/¨NBSP;/g, ' ');

-  // ", <, > and & should replace escaped html entities
-  txt = showdown.helper.unescapeHTMLEntities(txt);

-  // escape markdown magic characters
-  // emphasis, strong and strikethrough - can appear everywhere
-  // we also escape pipe (|) because of tables
-  // and escape ` because of code blocks and spans
-  txt = txt.replace(/([*_~|`])/g, '\\$1');

-  // escape > because of blockquotes
-  txt = txt.replace(/^(\s*)>/g, '\\$1>');

-  // hash character, only troublesome at the beginning of a line because of headers
-  txt = txt.replace(/^#/gm, '\\#');

-  // horizontal rules
-  txt = txt.replace(/^(\s*)([-=]{3,})(\s*)$/, '$1\\$2$3');

-  // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer
-  txt = txt.replace(/^( {0,3}\d+)\./gm, '$1\\.');

-  // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)
-  txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\$2');

-  // images and links, ] followed by ( is problematic, so we escape it
-  txt = txt.replace(/]([\s]*)\(/g, '\\]$1\\(');

-  // reference URIs must also be escaped
-  txt = txt.replace(/^ {0,3}\[([\S \t]*?)]:/gm, '\\[$1]:');

-  return txt;
-});
-
-var root = this;

-// AMD Loader
-if (true) {
-  !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-    'use strict';
-    return showdown;
-  }).call(exports, __webpack_require__, exports, module),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));

-// CommonJS/nodeJS Loader
-} else {}
-}).call(this);




-/***/ }),

-/***/ "NMb1":
-/***/ (function(module, exports) {
+/**
+ * Browser dependencies
+ */

-(function() { module.exports = window["wp"]["deprecated"]; }());
+const {
+  console: paste_handler_console
+} = window;
+/**
+ * Filters HTML to only contain phrasing content.
+ *
+ * @param {string}  HTML               The HTML to filter.
+ * @param {boolean} preserveWhiteSpace Whether or not to preserve consequent white space.
+ *
+ * @return {string} HTML only containing phrasing content.
+ */

-/***/ }),
+function filterInlineHTML(HTML, preserveWhiteSpace) {
+  HTML = deepFilterHTML(HTML, [googleDocsUIdRemover, phrasingContentReducer, commentRemover]);
+  HTML = (0,external_wp_dom_namespaceObject.removeInvalidHTML)(HTML, (0,external_wp_dom_namespaceObject.getPhrasingContentSchema)('paste'), {
+    inline: true
+  });

-/***/ "SVSp":
-/***/ (function(module, exports) {
+  if (!preserveWhiteSpace) {
+    HTML = deepFilterHTML(HTML, [htmlFormattingRemover, brRemover]);
+  } // Allows us to ask for this information when we get a report.

-(function() { module.exports = window["wp"]["shortcode"]; }());

-/***/ }),
+  paste_handler_console.log('Processed inline HTML:\n\n', HTML);
+  return HTML;
+}
+/**
+ * Converts an HTML string to known blocks. Strips everything else.
+ *
+ * @param {Object}  options
+ * @param {string}  [options.HTML]               The HTML to convert.
+ * @param {string}  [options.plainText]          Plain text version.
+ * @param {string}  [options.mode]               Handle content as blocks or inline content.
+ *                                               * 'AUTO': Decide based on the content passed.
+ *                                               * 'INLINE': Always handle as inline content, and return string.
+ *                                               * 'BLOCKS': Always handle as blocks, and return array of blocks.
+ * @param {Array}   [options.tagName]            The tag into which content will be inserted.
+ * @param {boolean} [options.preserveWhiteSpace] Whether or not to preserve consequent white space.
+ *
+ * @return {Array|string} A list of blocks or a string, depending on `handlerMode`.
+ */

-/***/ "UuzZ":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["autop"]; }());
+function pasteHandler(_ref) {
+  let {
+    HTML = '',
+    plainText = '',
+    mode = 'AUTO',
+    tagName,
+    preserveWhiteSpace
+  } = _ref;
+  // First of all, strip any meta tags.
+  HTML = HTML.replace(/<meta[^>]+>/g, ''); // Strip Windows markers.

-/***/ }),
+  HTML = HTML.replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i, '');
+  HTML = HTML.replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i, ''); // If we detect block delimiters in HTML, parse entirely as blocks.

-/***/ "YLtl":
-/***/ (function(module, exports) {
+  if (mode !== 'INLINE') {
+    // Check plain text if there is no HTML.
+    const content = HTML ? HTML : plainText;

-(function() { module.exports = window["lodash"]; }());
+    if (content.indexOf('<!-- wp:') !== -1) {
+      return parser_parse(content);
+    }
+  } // Normalize unicode to use composed characters.
+  // This is unsupported in IE 11 but it's a nice-to-have feature, not mandatory.
+  // Not normalizing the content will only affect older browsers and won't
+  // entirely break the app.
+  // See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
+  // See: https://core.trac.wordpress.org/ticket/30130
+  // See: https://github.com/WordPress/gutenberg/pull/6983#pullrequestreview-125151075

-/***/ }),

-/***/ "abaT":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
+  if (String.prototype.normalize) {
+    HTML = HTML.normalize();
+  } // Parse Markdown (and encoded HTML) if:
+  // * There is a plain text version.
+  // * There is no HTML version, or it has no formatting.

-"use strict";
-/* harmony default export */ __webpack_exports__["a"] = (function(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g)}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"])});

+  if (plainText && (!HTML || isPlain(HTML))) {
+    HTML = plainText; // The markdown converter (Showdown) trims whitespace.

-/***/ }),
+    if (!/^\s+$/.test(plainText)) {
+      HTML = markdownConverter(HTML);
+    } // Switch to inline mode if:
+    // * The current mode is AUTO.
+    // * The original plain text had no line breaks.
+    // * The original plain text was not an HTML paragraph.
+    // * The converted text is just a paragraph.

-/***/ "fHnH":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* unused harmony export Colord */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return w; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return k; });
-/* unused harmony export getFormat */
-/* unused harmony export random */
-var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);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(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};
+    if (mode === 'AUTO' && plainText.indexOf('\n') === -1 && plainText.indexOf('<p>') !== 0 && HTML.indexOf('<p>') === 0) {
+      mode = 'INLINE';
+    }
+  }

+  if (mode === 'INLINE') {
+    return filterInlineHTML(HTML, preserveWhiteSpace);
+  } // An array of HTML strings and block objects. The blocks replace matched
+  // shortcodes.

-/***/ }),

-/***/ "g56x":
-/***/ (function(module, exports) {
+  const pieces = shortcode_converter(HTML); // The call to shortcodeConverter will always return more than one element
+  // if shortcodes are matched. The reason is when shortcodes are matched
+  // empty HTML strings are included.

-(function() { module.exports = window["wp"]["hooks"]; }());
+  const hasShortcodes = pieces.length > 1;

-/***/ }),
+  if (mode === 'AUTO' && !hasShortcodes && isInlineContent(HTML, tagName)) {
+    return filterInlineHTML(HTML, preserveWhiteSpace);
+  }

-/***/ "l3Sj":
-/***/ (function(module, exports) {
+  const phrasingContentSchema = (0,external_wp_dom_namespaceObject.getPhrasingContentSchema)('paste');
+  const blockContentSchema = getBlockContentSchema('paste');
+  const blocks = (0,external_lodash_namespaceObject.compact)((0,external_lodash_namespaceObject.flatMap)(pieces, piece => {
+    // Already a block from shortcode.
+    if (typeof piece !== 'string') {
+      return piece;
+    }

-(function() { module.exports = window["wp"]["i18n"]; }());
+    const filters = [googleDocsUIdRemover, msListConverter, headRemover, listReducer, imageCorrector, phrasingContentReducer, specialCommentConverter, commentRemover, iframeRemover, figureContentReducer, blockquoteNormaliser];
+    const schema = { ...blockContentSchema,
+      // Keep top-level phrasing content, normalised by `normaliseBlocks`.
+      ...phrasingContentSchema
+    };
+    piece = deepFilterHTML(piece, filters, blockContentSchema);
+    piece = (0,external_wp_dom_namespaceObject.removeInvalidHTML)(piece, schema);
+    piece = normaliseBlocks(piece);
+    piece = deepFilterHTML(piece, [htmlFormattingRemover, brRemover, emptyParagraphRemover], blockContentSchema); // Allows us to ask for this information when we get a report.

-/***/ }),
+    paste_handler_console.log('Processed HTML piece:\n\n', piece);
+    return htmlToBlocks(piece);
+  })); // If we're allowed to return inline content, and there is only one
+  // inlineable block, and the original plain text content does not have any
+  // line breaks, then treat it as inline paste.

-/***/ "ouCq":
-/***/ (function(module, exports) {
+  if (mode === 'AUTO' && blocks.length === 1 && registration_hasBlockSupport(blocks[0].name, '__unstablePasteTextInline', false)) {
+    // Don't catch line breaks at the start or end.
+    const trimmedPlainText = plainText.replace(/^[\n]+|[\n]+$/g, '');

-(function() { module.exports = window["wp"]["blockSerializationDefaultParser"]; }());
+    if (trimmedPlainText !== '' && trimmedPlainText.indexOf('\n') === -1) {
+      return (0,external_wp_dom_namespaceObject.removeInvalidHTML)(getBlockInnerHTML(blocks[0]), phrasingContentSchema);
+    }
+  }

-/***/ }),
+  return blocks;
+}

-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/categories.js
+/**
+ * WordPress dependencies
+ */

-"use strict";
+/**
+ * Internal dependencies
+ */


-var LEAF_KEY, hasWeakMap;
+/** @typedef {import('../store/reducer').WPBlockCategory} WPBlockCategory */

 /**
- * Arbitrary value used as key for referencing cache object in WeakMap tree.
+ * Returns all the block categories.
  *
- * @type {Object}
+ * @return {WPBlockCategory[]} Block categories.
  */
-LEAF_KEY = {};

+function categories_getCategories() {
+  return (0,external_wp_data_namespaceObject.select)(store).getCategories();
+}
 /**
- * Whether environment supports WeakMap.
+ * Sets the block categories.
  *
- * @type {boolean}
+ * @param {WPBlockCategory[]} categories Block categories.
  */
-hasWeakMap = typeof WeakMap !== 'undefined';

+function categories_setCategories(categories) {
+  (0,external_wp_data_namespaceObject.dispatch)(store).setCategories(categories);
+}
 /**
- * Returns the first argument as the sole entry in an array.
- *
- * @param {*} value Value to return.
+ * Updates a category.
  *
- * @return {Array} Value returned as entry in array.
+ * @param {string}          slug     Block category slug.
+ * @param {WPBlockCategory} category Object containing the category properties
+ *                                   that should be updated.
  */
-function arrayOf( value ) {
-	return [ value ];
+
+function categories_updateCategory(slug, category) {
+  (0,external_wp_data_namespaceObject.dispatch)(store).updateCategory(slug, category);
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/templates.js
 /**
- * Returns true if the value passed is object-like, or false otherwise. A value
- * is object-like if it can support property assignment, e.g. object or array.
- *
- * @param {*} value Value to test.
- *
- * @return {boolean} Whether value is object-like.
+ * External dependencies
  */
-function isObjectLike( value ) {
-	return !! value && 'object' === typeof value;
-}

 /**
- * Creates and returns a new cache object.
- *
- * @return {Object} Cache object.
+ * WordPress dependencies
  */
-function createCache() {
-	var cache = {
-		clear: function() {
-			cache.head = null;
-		},
-	};

-	return cache;
-}

 /**
- * Returns true if entries within the two arrays are strictly equal by
- * reference from a starting index.
- *
- * @param {Array}  a         First array.
- * @param {Array}  b         Second array.
- * @param {number} fromIndex Index from which to start comparison.
- *
- * @return {boolean} Whether arrays are shallowly equal.
+ * Internal dependencies
  */
-function isShallowEqual( a, b, fromIndex ) {
-	var i;

-	if ( a.length !== b.length ) {
-		return false;
-	}

-	for ( i = fromIndex; i < a.length; i++ ) {
-		if ( a[ i ] !== b[ i ] ) {
-			return false;
-		}
-	}

-	return true;
-}

 /**
- * Returns a memoized selector function. The getDependants function argument is
- * called before the memoized selector and is expected to return an immutable
- * reference or array of references on which the selector depends for computing
- * its own return value. The memoize cache is preserved only as long as those
- * dependant references remain the same. If getDependants returns a different
- * reference(s), the cache is cleared and the selector value regenerated.
+ * Checks whether a list of blocks matches a template by comparing the block names.
  *
- * @param {Function} selector      Selector function.
- * @param {Function} getDependants Dependant getter returning an immutable
- *                                 reference or array of reference used in
- *                                 cache bust consideration.
+ * @param {Array} blocks   Block list.
+ * @param {Array} template Block template.
  *
- * @return {Function} Memoized selector.
+ * @return {boolean} Whether the list of blocks matches a templates.
  */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
-	var rootCache, getCache;
-
-	// Use object source as dependant if getter not provided
-	if ( ! getDependants ) {
-		getDependants = arrayOf;
-	}
-
-	/**
-	 * Returns the root cache. If WeakMap is supported, this is assigned to the
-	 * root WeakMap cache set, otherwise it is a shared instance of the default
-	 * cache object.
-	 *
-	 * @return {(WeakMap|Object)} Root cache object.
-	 */
-	function getRootCache() {
-		return rootCache;
-	}
-
-	/**
-	 * Returns the cache for a given dependants array. When possible, a WeakMap
-	 * will be used to create a unique cache for each set of dependants. This
-	 * is feasible due to the nature of WeakMap in allowing garbage collection
-	 * to occur on entries where the key object is no longer referenced. Since
-	 * WeakMap requires the key to be an object, this is only possible when the
-	 * dependant is object-like. The root cache is created as a hierarchy where
-	 * each top-level key is the first entry in a dependants set, the value a
-	 * WeakMap where each key is the next dependant, and so on. This continues
-	 * so long as the dependants are object-like. If no dependants are object-
-	 * like, then the cache is shared across all invocations.
-	 *
-	 * @see isObjectLike
-	 *
-	 * @param {Array} dependants Selector dependants.
-	 *
-	 * @return {Object} Cache object.
-	 */
-	function getWeakMapCache( dependants ) {
-		var caches = rootCache,
-			isUniqueByDependants = true,
-			i, dependant, map, cache;
-
-		for ( i = 0; i < dependants.length; i++ ) {
-			dependant = dependants[ i ];
-
-			// Can only compose WeakMap from object-like key.
-			if ( ! isObjectLike( dependant ) ) {
-				isUniqueByDependants = false;
-				break;
-			}

-			// Does current segment of cache already have a WeakMap?
-			if ( caches.has( dependant ) ) {
-				// Traverse into nested WeakMap.
-				caches = caches.get( dependant );
-			} else {
-				// Create, set, and traverse into a new one.
-				map = new WeakMap();
-				caches.set( dependant, map );
-				caches = map;
-			}
-		}
-
-		// We use an arbitrary (but consistent) object as key for the last item
-		// in the WeakMap to serve as our running cache.
-		if ( ! caches.has( LEAF_KEY ) ) {
-			cache = createCache();
-			cache.isUniqueByDependants = isUniqueByDependants;
-			caches.set( LEAF_KEY, cache );
-		}
-
-		return caches.get( LEAF_KEY );
-	}
-
-	// Assign cache handler by availability of WeakMap
-	getCache = hasWeakMap ? getWeakMapCache : getRootCache;
-
-	/**
-	 * Resets root memoization cache.
-	 */
-	function clear() {
-		rootCache = hasWeakMap ? new WeakMap() : createCache();
-	}
-
-	// eslint-disable-next-line jsdoc/check-param-names
-	/**
-	 * The augmented selector call, considering first whether dependants have
-	 * changed before passing it to underlying memoize function.
-	 *
-	 * @param {Object} source    Source object for derivation.
-	 * @param {...*}   extraArgs Additional arguments to pass to selector.
-	 *
-	 * @return {*} Selector result.
-	 */
-	function callSelector( /* source, ...extraArgs */ ) {
-		var len = arguments.length,
-			cache, node, i, args, dependants;
+function doBlocksMatchTemplate() {
+  let blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  let template = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
+  return blocks.length === template.length && (0,external_lodash_namespaceObject.every)(template, (_ref, index) => {
+    let [name,, innerBlocksTemplate] = _ref;
+    const block = blocks[index];
+    return name === block.name && doBlocksMatchTemplate(block.innerBlocks, innerBlocksTemplate);
+  });
+}
+/**
+ * Synchronize a block list with a block template.
+ *
+ * Synchronizing a block list with a block template means that we loop over the blocks
+ * keep the block as is if it matches the block at the same position in the template
+ * (If it has the same name) and if doesn't match, we create a new block based on the template.
+ * Extra blocks not present in the template are removed.
+ *
+ * @param {Array} blocks   Block list.
+ * @param {Array} template Block template.
+ *
+ * @return {Array} Updated Block list.
+ */

-		// Create copy of arguments (avoid leaking deoptimization).
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}
+function synchronizeBlocksWithTemplate() {
+  let blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  let template = arguments.length > 1 ? arguments[1] : undefined;

-		dependants = getDependants.apply( null, args );
-		cache = getCache( dependants );
+  // If no template is provided, return blocks unmodified.
+  if (!template) {
+    return blocks;
+  }

-		// If not guaranteed uniqueness by dependants (primitive type or lack
-		// of WeakMap support), shallow compare against last dependants and, if
-		// references have changed, destroy cache to recalculate result.
-		if ( ! cache.isUniqueByDependants ) {
-			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
-				cache.clear();
-			}
+  return (0,external_lodash_namespaceObject.map)(template, (_ref2, index) => {
+    let [name, attributes, innerBlocksTemplate] = _ref2;
+    const block = blocks[index];

-			cache.lastDependants = dependants;
-		}
+    if (block && block.name === name) {
+      const innerBlocks = synchronizeBlocksWithTemplate(block.innerBlocks, innerBlocksTemplate);
+      return { ...block,
+        innerBlocks
+      };
+    } // To support old templates that were using the "children" format
+    // for the attributes using "html" strings now, we normalize the template attributes
+    // before creating the blocks.

-		node = cache.head;
-		while ( node ) {
-			// Check whether node arguments match arguments
-			if ( ! isShallowEqual( node.args, args, 1 ) ) {
-				node = node.next;
-				continue;
-			}

-			// At this point we can assume we've found a match
+    const blockType = registration_getBlockType(name);

-			// Surface matched node to head if not already
-			if ( node !== cache.head ) {
-				// Adjust siblings to point to each other.
-				node.prev.next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}
+    const isHTMLAttribute = attributeDefinition => (0,external_lodash_namespaceObject.get)(attributeDefinition, ['source']) === 'html';

-				node.next = cache.head;
-				node.prev = null;
-				cache.head.prev = node;
-				cache.head = node;
-			}
+    const isQueryAttribute = attributeDefinition => (0,external_lodash_namespaceObject.get)(attributeDefinition, ['source']) === 'query';

-			// Return immediately
-			return node.val;
-		}
+    const normalizeAttributes = (schema, values) => {
+      return (0,external_lodash_namespaceObject.mapValues)(values, (value, key) => {
+        return normalizeAttribute(schema[key], value);
+      });
+    };

-		// No cached value found. Continue to insertion phase:
+    const normalizeAttribute = (definition, value) => {
+      if (isHTMLAttribute(definition) && (0,external_lodash_namespaceObject.isArray)(value)) {
+        // Introduce a deprecated call at this point
+        // When we're confident that "children" format should be removed from the templates.
+        return (0,external_wp_element_namespaceObject.renderToString)(value);
+      }

-		node = {
-			// Generate the result from original function
-			val: selector.apply( null, args ),
-		};
+      if (isQueryAttribute(definition) && value) {
+        return value.map(subValues => {
+          return normalizeAttributes(definition.query, subValues);
+        });
+      }

-		// Avoid including the source object in the cache.
-		args[ 0 ] = null;
-		node.args = args;
+      return value;
+    };

-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
+    const normalizedAttributes = normalizeAttributes((0,external_lodash_namespaceObject.get)(blockType, ['attributes'], {}), attributes);
+    const [blockName, blockAttributes] = convertLegacyBlockNameAndAttributes(name, normalizedAttributes);
+    return createBlock(blockName, blockAttributes, synchronizeBlocksWithTemplate([], innerBlocksTemplate));
+  });
+}

-		// Shift existing head down list
-		if ( cache.head ) {
-			cache.head.prev = node;
-			node.next = cache.head;
-		}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/index.js
+// The blocktype is the most important concept within the block API. It defines
+// all aspects of the block configuration and its interfaces, including `edit`
+// and `save`. The transforms specification allows converting one blocktype to
+// another through formulas defined by either the source or the destination.
+// Switching a blocktype is to be considered a one-way operation implying a
+// transformation in the opposite way has to be handled explicitly.
+ // The block tree is composed of a collection of block nodes. Blocks contained
+// within other blocks are called inner blocks. An important design
+// consideration is that inner blocks are -- conceptually -- not part of the
+// territory established by the parent block that contains them.
+//
+// This has multiple practical implications: when parsing, we can safely dispose
+// of any block boundary found within a block from the innerHTML property when
+// transfering to state. Not doing so would have a compounding effect on memory
+// and uncertainty over the source of truth. This can be illustrated in how,
+// given a tree of `n` nested blocks, the entry node would have to contain the
+// actual content of each block while each subsequent block node in the state
+// tree would replicate the entire chain `n-1`, meaning the extreme end node
+// would have been replicated `n` times as the tree is traversed and would
+// generate uncertainty as to which one is to hold the current value of the
+// block. For composition, it also means inner blocks can effectively be child
+// components whose mechanisms can be shielded from the `edit` implementation
+// and just passed along.

-		cache.head = node;

-		return node.val;
-	}
+ // While block transformations account for a specific surface of the API, there
+// are also raw transformations which handle arbitrary sources not made out of
+// blocks but producing block basaed on various heursitics. This includes
+// pasting rich text or HTML data.

-	callSelector.getDependants = getDependants;
-	callSelector.clear = clear;
-	clear();
+ // The process of serialization aims to deflate the internal memory of the block
+// editor and its state representation back into an HTML valid string. This
+// process restores the document integrity and inserts invisible delimiters
+// around each block with HTML comment boundaries which can contain any extra
+// attributes needed to operate with the block later on.

-	return callSelector;
-});
+ // Validation is the process of comparing a block source with its output before
+// there is any user input or interaction with a block. When this operation
+// fails -- for whatever reason -- the block is to be considered invalid. As
+// part of validating a block the system will attempt to run the source against
+// any provided deprecation definitions.
+//
+// Worth emphasizing that validation is not a case of whether the markup is
+// merely HTML spec-compliant but about how the editor knows to create such
+// markup and that its inability to create an identical result can be a strong
+// indicator of potential data loss (the invalidation is then a protective
+// measure).
+//
+// The invalidation process can also be deconstructed in phases: 1) validate the
+// block exists; 2) validate the source matches the output; 3) validate the
+// source matches deprecated outputs; 4) work through the significance of
+// differences. These are stacked in a way that favors performance and optimizes
+// for the majority of cases. That is to say, the evaluation logic can become
+// more sophisticated the further down it goes in the process as the cost is
+// accounted for. The first logic checks have to be extremely efficient since
+// they will be run for all valid and invalid blocks alike. However, once a
+// block is detected as invalid -- failing the three first steps -- it is
+// adequate to spend more time determining validity before throwing a conflict.


-/***/ }),
+ // Blocks are inherently indifferent about where the data they operate with ends
+// up being saved. For example, all blocks can have a static and dynamic aspect
+// to them depending on the needs. The static nature of a block is the `save()`
+// definition that is meant to be serialized into HTML and which can be left
+// void. Any block can also register a `render_callback` on the server, which
+// makes its output dynamic either in part or in its totality.
+//
+// Child blocks are defined as a relationship that builds on top of the inner
+// blocks mechanism. A child block is a block node of a particular type that can
+// only exist within the inner block boundaries of a specific parent type. This
+// allows block authors to compose specific blocks that are not meant to be used
+// outside of a specified parent block context. Thus, child blocks extend the
+// concept of inner blocks to support a more direct relationship between sets of
+// blocks. The addition of parent–child would be a subset of the inner block
+// functionality under the premise that certain blocks only make sense as
+// children of another block.

-/***/ "rl8x":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["isShallowEqual"]; }());
+ // Templates are, in a general sense, a basic collection of block nodes with any
+// given set of predefined attributes that are supplied as the initial state of
+// an inner blocks group. These nodes can, in turn, contain any number of nested
+// blocks within their definition. Templates allow both to specify a default
+// state for an editor session or a default set of blocks for any inner block
+// implementation within a specific block.

-/***/ }),

-/***/ "rmEH":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["htmlEntities"]; }());

-/***/ }),

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
 function _extends() {
   _extends = Object.assign || function (target) {
     for (var i = 1; i < arguments.length; i++) {
@@ -13333,14 +13063,97 @@ function _extends() {

   return _extends.apply(this, arguments);
 }
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/block-content-provider/index.js
+

-/***/ }),

-/***/ "xTGt":
-/***/ (function(module, exports) {
+/**
+ * WordPress dependencies
+ */

-(function() { module.exports = window["wp"]["blob"]; }());

-/***/ })
+/**
+ * Internal dependencies
+ */
+
+
+const {
+  Consumer,
+  Provider
+} = (0,external_wp_element_namespaceObject.createContext)(() => {});
+/**
+ * An internal block component used in block content serialization to inject
+ * nested block content within the `save` implementation of the ancestor
+ * component in which it is nested. The component provides a pre-bound
+ * `BlockContent` component via context, which is used by the developer-facing
+ * `InnerBlocks.Content` component to render block content.
+ *
+ * @example
+ *
+ * ```jsx
+ * <BlockContentProvider innerBlocks={ innerBlocks }>
+ * 	{ blockSaveElement }
+ * </BlockContentProvider>
+ * ```
+ *
+ * @param {Object}    props             Component props.
+ * @param {WPElement} props.children    Block save result.
+ * @param {Array}     props.innerBlocks Block(s) to serialize.
+ *
+ * @return {WPComponent} Element with BlockContent injected via context.
+ */
+
+const BlockContentProvider = _ref => {
+  let {
+    children,
+    innerBlocks
+  } = _ref;
+
+  const BlockContent = () => {
+    // Value is an array of blocks, so defer to block serializer
+    const html = serialize(innerBlocks, {
+      isInnerBlocks: true
+    }); // Use special-cased raw HTML tag to avoid default escaping
+
+    return createElement(RawHTML, null, html);
+  };
+
+  return createElement(Provider, {
+    value: BlockContent
+  }, children);
+};
+/**
+ * A Higher Order Component used to inject BlockContent using context to the
+ * wrapped component.
+ *
+ * @return {WPComponent} Enhanced component with injected BlockContent as prop.
+ */
+
+
+const withBlockContentContext = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(OriginalComponent => {
+  return props => (0,external_wp_element_namespaceObject.createElement)(Consumer, null, context => (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, _extends({}, props, {
+    BlockContent: context
+  })));
+}, 'withBlockContentContext');
+/* harmony default export */ var block_content_provider = ((/* unused pure expression or super */ null && (BlockContentProvider)));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/index.js
+// A "block" is the abstract term used to describe units of markup that,
+// when composed together, form the content or layout of a page.
+// The API for blocks is exposed via `wp.blocks`.
+//
+// Supported blocks are registered by calling `registerBlockType`. Once registered,
+// the block is made available as an option to the editor interface.
+//
+// Blocks are inferred from the HTML source of a post through a parsing mechanism
+// and then stored as objects in state, from which it is then rendered for editing.

-/******/ });
\ No newline at end of file
+
+
+
+}();
+(window.wp = window.wp || {}).blocks = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/blocks.min.js b/wp-includes/js/dist/blocks.min.js
index fe54527f79..dcfb934132 100644
--- a/wp-includes/js/dist/blocks.min.js
+++ b/wp-includes/js/dist/blocks.min.js
@@ -1,3 +1,3 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.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 a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));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="0ATp")}({"0ATp":function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return lt})),r.d(t,"createBlock",(function(){return ve})),r.d(t,"createBlocksFromInnerBlocksTemplate",(function(){return je})),r.d(t,"cloneBlock",(function(){return Oe})),r.d(t,"__experimentalCloneSanitizedBlock",(function(){return Te})),r.d(t,"getPossibleBlockTransformations",(function(){return Ee})),r.d(t,"switchToBlockType",(function(){return Ae})),r.d(t,"getBlockTransforms",(function(){return Ne})),r.d(t,"findTransform",(function(){return Be})),r.d(t,"getBlockFromExample",(function(){return Pe})),r.d(t,"parse",(function(){return Ar})),r.d(t,"getBlockAttributes",(function(){return Sr})),r.d(t,"parseWithAttributeSchema",(function(){return xr})),r.d(t,"pasteHandler",(function(){return mn})),r.d(t,"rawHandler",(function(){return yn})),r.d(t,"getPhrasingContentSchema",(function(){return kn})),r.d(t,"serialize",(function(){return Ct})),r.d(t,"getBlockContent",(function(){return jt})),r.d(t,"getBlockDefaultClassName",(function(){return ft})),r.d(t,"getBlockMenuDefaultClassName",(function(){return gt})),r.d(t,"getSaveElement",(function(){return yt})),r.d(t,"getSaveContent",(function(){return wt})),r.d(t,"__unstableGetBlockProps",(function(){return _t})),r.d(t,"__unstableGetInnerBlocksProps",(function(){return kt})),r.d(t,"__unstableSerializeAndClean",(function(){return Ot})),r.d(t,"isValidBlockContent",(function(){return cr})),r.d(t,"getCategories",(function(){return wn})),r.d(t,"setCategories",(function(){return vn})),r.d(t,"updateCategory",(function(){return jn})),r.d(t,"registerBlockType",(function(){return Q})),r.d(t,"registerBlockCollection",(function(){return Z})),r.d(t,"unregisterBlockType",(function(){return X})),r.d(t,"setFreeformContentHandlerName",(function(){return J})),r.d(t,"getFreeformContentHandlerName",(function(){return ee})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return re})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return ne})),r.d(t,"setDefaultBlockName",(function(){return ae})),r.d(t,"getDefaultBlockName",(function(){return ie})),r.d(t,"setGroupingBlockName",(function(){return oe})),r.d(t,"getGroupingBlockName",(function(){return te})),r.d(t,"getBlockType",(function(){return se})),r.d(t,"getBlockTypes",(function(){return ce})),r.d(t,"getBlockSupport",(function(){return le})),r.d(t,"hasBlockSupport",(function(){return ue})),r.d(t,"getBlockVariations",(function(){return _e})),r.d(t,"isReusableBlock",(function(){return de})),r.d(t,"isTemplatePart",(function(){return pe})),r.d(t,"getChildBlockNames",(function(){return he})),r.d(t,"hasChildBlocks",(function(){return fe})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return ge})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return W})),r.d(t,"registerBlockStyle",(function(){return me})),r.d(t,"unregisterBlockStyle",(function(){return be})),r.d(t,"registerBlockVariation",(function(){return ke})),r.d(t,"unregisterBlockVariation",(function(){return ye})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return Le})),r.d(t,"normalizeIconObject",(function(){return ze})),r.d(t,"isValidIcon",(function(){return De})),r.d(t,"__experimentalGetBlockLabel",(function(){return He})),r.d(t,"__experimentalGetAccessibleBlockLabel",(function(){return Ve})),r.d(t,"__experimentalSanitizeBlockAttributes",(function(){return Re})),r.d(t,"__experimentalGetBlockAttributesNamesByRole",(function(){return $e})),r.d(t,"doBlocksMatchTemplate",(function(){return Tn})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return On})),r.d(t,"children",(function(){return jr})),r.d(t,"node",(function(){return kr})),r.d(t,"__EXPERIMENTAL_STYLE_PROPERTY",(function(){return F})),r.d(t,"__EXPERIMENTAL_ELEMENTS",(function(){return q})),r.d(t,"__EXPERIMENTAL_PATHS_WITH_MERGE",(function(){return U})),r.d(t,"withBlockContentContext",(function(){return Bn}));var n={};r.r(n),r.d(n,"__experimentalGetUnprocessedBlockTypes",(function(){return b})),r.d(n,"getBlockTypes",(function(){return _})),r.d(n,"getBlockType",(function(){return k})),r.d(n,"getBlockStyles",(function(){return y})),r.d(n,"getBlockVariations",(function(){return w})),r.d(n,"getActiveBlockVariation",(function(){return v})),r.d(n,"getDefaultBlockVariation",(function(){return j})),r.d(n,"getCategories",(function(){return T})),r.d(n,"getCollections",(function(){return O})),r.d(n,"getDefaultBlockName",(function(){return C})),r.d(n,"getFreeformFallbackBlockName",(function(){return x})),r.d(n,"getUnregisteredFallbackBlockName",(function(){return S})),r.d(n,"getGroupingBlockName",(function(){return E})),r.d(n,"getChildBlockNames",(function(){return B})),r.d(n,"getBlockSupport",(function(){return N})),r.d(n,"hasBlockSupport",(function(){return A})),r.d(n,"isMatchingSearchTerm",(function(){return P})),r.d(n,"hasChildBlocks",(function(){return M})),r.d(n,"hasChildBlocksWithInserterSupport",(function(){return L}));var a={};r.r(a),r.d(a,"addBlockTypes",(function(){return Ke})),r.d(a,"__experimentalRegisterBlockType",(function(){return We})),r.d(a,"__experimentalReapplyBlockTypeFilters",(function(){return Ye})),r.d(a,"removeBlockTypes",(function(){return Qe})),r.d(a,"addBlockStyles",(function(){return Ze})),r.d(a,"removeBlockStyles",(function(){return Xe})),r.d(a,"addBlockVariations",(function(){return Je})),r.d(a,"removeBlockVariations",(function(){return et})),r.d(a,"setDefaultBlockName",(function(){return tt})),r.d(a,"setFreeformFallbackBlockName",(function(){return rt})),r.d(a,"setUnregisteredFallbackBlockName",(function(){return nt})),r.d(a,"setGroupingBlockName",(function(){return at})),r.d(a,"setCategories",(function(){return ot})),r.d(a,"updateCategory",(function(){return it})),r.d(a,"addBlockCollection",(function(){return st})),r.d(a,"removeBlockCollection",(function(){return ct}));var o=r("1ZqX"),i=r("YLtl"),s=r("l3Sj");const c=[{slug:"text",title:Object(s.__)("Text")},{slug:"media",title:Object(s.__)("Media")},{slug:"design",title:Object(s.__)("Design")},{slug:"widgets",title:Object(s.__)("Widgets")},{slug:"theme",title:Object(s.__)("Theme")},{slug:"embed",title:Object(s.__)("Embeds")},{slug:"reusable",title:Object(s.__)("Reusable blocks")}];function l(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}const u=l("SET_DEFAULT_BLOCK_NAME"),d=l("SET_FREEFORM_FALLBACK_BLOCK_NAME"),p=l("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),h=l("SET_GROUPING_BLOCK_NAME");var f=Object(o.combineReducers)({unprocessedBlockTypes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_UNPROCESSED_BLOCK_TYPE":return{...e,[t.blockType.name]:t.blockType};case"REMOVE_BLOCK_TYPES":return Object(i.omit)(e,t.names)}return e},blockTypes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object(i.keyBy)(t.blockTypes,"name")};case"REMOVE_BLOCK_TYPES":return Object(i.omit)(e,t.names)}return e},blockStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object(i.mapValues)(Object(i.keyBy)(t.blockTypes,"name"),t=>Object(i.uniqBy)([...Object(i.get)(t,["styles"],[]).map(e=>({...e,source:"block"})),...Object(i.get)(e,[t.name],[]).filter(e=>{let{source:t}=e;return"block"!==t})],e=>e.name))};case"ADD_BLOCK_STYLES":return{...e,[t.blockName]:Object(i.uniqBy)([...Object(i.get)(e,[t.blockName],[]),...t.styles],e=>e.name)};case"REMOVE_BLOCK_STYLES":return{...e,[t.blockName]:Object(i.filter)(Object(i.get)(e,[t.blockName],[]),e=>-1===t.styleNames.indexOf(e.name))}}return e},blockVariations:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...Object(i.mapValues)(Object(i.keyBy)(t.blockTypes,"name"),t=>Object(i.uniqBy)([...Object(i.get)(t,["variations"],[]).map(e=>({...e,source:"block"})),...Object(i.get)(e,[t.name],[]).filter(e=>{let{source:t}=e;return"block"!==t})],e=>e.name))};case"ADD_BLOCK_VARIATIONS":return{...e,[t.blockName]:Object(i.uniqBy)([...Object(i.get)(e,[t.blockName],[]),...t.variations],e=>e.name)};case"REMOVE_BLOCK_VARIATIONS":return{...e,[t.blockName]:Object(i.filter)(Object(i.get)(e,[t.blockName],[]),e=>-1===t.variationNames.indexOf(e.name))}}return e},defaultBlockName:u,freeformFallbackBlockName:d,unregisteredFallbackBlockName:p,groupingBlockName:h,categories:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(i.isEmpty)(t.category))return e;if(Object(i.find)(e,["slug",t.slug]))return Object(i.map)(e,e=>e.slug===t.slug?{...e,...t.category}:e)}return e},collections:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_COLLECTION":return{...e,[t.namespace]:{title:t.title,icon:t.icon}};case"REMOVE_BLOCK_COLLECTION":return Object(i.omit)(e,t.namespace)}return e}}),g=r("pPDe");const m=(e,t)=>"string"==typeof t?k(e,t):t;function b(e){return e.unprocessedBlockTypes}const _=Object(g.a)(e=>Object.values(e.blockTypes),e=>[e.blockTypes]);function k(e,t){return e.blockTypes[t]}function y(e,t){return e.blockStyles[t]}const w=Object(g.a)((e,t,r)=>{const n=e.blockVariations[t];return n&&r?n.filter(e=>(e.scope||["block","inserter"]).includes(r)):n},(e,t)=>[e.blockVariations[t]]);function v(e,t,r,n){const a=w(e,t,n);return null==a?void 0:a.find(n=>{var a;if(Array.isArray(n.isActive)){const a=k(e,t),o=Object.keys((null==a?void 0:a.attributes)||{}),i=n.isActive.filter(e=>o.includes(e));return 0!==i.length&&i.every(e=>r[e]===n.attributes[e])}return null===(a=n.isActive)||void 0===a?void 0:a.call(n,r,n.attributes)})}function j(e,t,r){const n=w(e,t,r);return Object(i.findLast)(n,"isDefault")||Object(i.first)(n)}function T(e){return e.categories}function O(e){return e.collections}function C(e){return e.defaultBlockName}function x(e){return e.freeformFallbackBlockName}function S(e){return e.unregisteredFallbackBlockName}function E(e){return e.groupingBlockName}const B=Object(g.a)((e,t)=>Object(i.map)(Object(i.filter)(e.blockTypes,e=>Object(i.includes)(e.parent,t)),e=>{let{name:t}=e;return t}),e=>[e.blockTypes]),N=(e,t,r,n)=>{const a=m(e,t);return null!=a&&a.supports?Object(i.get)(a.supports,r,n):n};function A(e,t,r,n){return!!N(e,t,r,n)}function P(e,t,r){const n=m(e,t),a=Object(i.flow)([i.deburr,e=>e.toLowerCase(),e=>e.trim()]),o=a(r),s=Object(i.flow)([a,e=>Object(i.includes)(e,o)]);return s(n.title)||Object(i.some)(n.keywords,s)||s(n.category)}const M=(e,t)=>B(e,t).length>0,L=(e,t)=>Object(i.some)(B(e,t),t=>A(e,t,"inserter",!0));var D=r("g56x");var z=r("fHnH"),I=r("abaT"),H=r("7bKH"),V=r("GRId"),R=r("1CF3");const $=["attributes","supports","save","migrate","isEligible","apiVersion"],F={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},background:{value:["color","gradient"],support:["color","gradients"]},backgroundColor:{value:["color","background"],support:["color","background"],requiresOptOut:!0},borderColor:{value:["border","color"],support:["__experimentalBorder","color"]},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"],properties:{borderTopLeftRadius:"topLeft",borderTopRightRadius:"topRight",borderBottomLeftRadius:"bottomLeft",borderBottomRightRadius:"bottomRight"}},borderStyle:{value:["border","style"],support:["__experimentalBorder","style"]},borderWidth:{value:["border","width"],support:["__experimentalBorder","width"]},color:{value:["color","text"],support:["color","text"],requiresOptOut:!0},linkColor:{value:["elements","link","color","text"],support:["color","link"]},fontFamily:{value:["typography","fontFamily"],support:["typography","__experimentalFontFamily"]},fontSize:{value:["typography","fontSize"],support:["typography","fontSize"]},fontStyle:{value:["typography","fontStyle"],support:["typography","__experimentalFontStyle"]},fontWeight:{value:["typography","fontWeight"],support:["typography","__experimentalFontWeight"]},lineHeight:{value:["typography","lineHeight"],support:["typography","lineHeight"]},margin:{value:["spacing","margin"],support:["spacing","margin"],properties:{marginTop:"top",marginRight:"right",marginBottom:"bottom",marginLeft:"left"}},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:{paddingTop:"top",paddingRight:"right",paddingBottom:"bottom",paddingLeft:"left"}},textDecoration:{value:["typography","textDecoration"],support:["typography","__experimentalTextDecoration"]},textTransform:{value:["typography","textTransform"],support:["typography","__experimentalTextTransform"]},letterSpacing:{value:["typography","letterSpacing"],support:["typography","__experimentalLetterSpacing"]},"--wp--style--block-gap":{value:["spacing","blockGap"],support:["spacing","blockGap"]}},q={link:"a",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},U={"color.duotone":!0,"color.gradients":!0,"color.palette":!0,"typography.fontFamilies":!0,"typography.fontSizes":!0},G={title:"block title",description:"block description",keywords:["block keyword"],styles:[{label:"block style label"}],variations:[{title:"block variation title",description:"block variation description",keywords:["block variation keyword"]}]},K={};function W(e){for(const t of Object.keys(e))K[t]?void 0===K[t].apiVersion&&e[t].apiVersion&&(K[t].apiVersion=e[t].apiVersion):K[t]=Object(i.mapKeys)(Object(i.pickBy)(e[t],e=>!Object(i.isNil)(e)),(e,t)=>Object(i.camelCase)(t))}function Y(e){let{textdomain:t,...r}=e;const n=Object(i.pick)(r,["apiVersion","title","category","parent","icon","description","keywords","attributes","providesContext","usesContext","supports","styles","example","variations"]);return t&&Object.keys(G).forEach(e=>{n[e]&&(n[e]=function e(t,r,n){if(Object(i.isString)(t)&&Object(i.isString)(r))return Object(s._x)(r,t,n);if(Object(i.isArray)(t)&&!Object(i.isEmpty)(t)&&Object(i.isArray)(r))return r.map(r=>e(t[0],r,n));if(Object(i.isObject)(t)&&!Object(i.isEmpty)(t)&&Object(i.isObject)(r))return Object.keys(r).reduce((a,o)=>t[o]?(a[o]=e(t[o],r[o],n),a):(a[o]=r[o],a),{});return r}(G[e],n[e],t))}),n}function Q(e,t){const r=Object(i.isObject)(e)?e.name:e;if("string"!=typeof r)return void console.error("Block names must be strings.");if(!/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(r))return void console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block");if(Object(o.select)(lt).getBlockType(r))return void console.error('Block "'+r+'" is already registered.');Object(i.isObject)(e)&&W({[r]:Y(e)});const n={name:r,icon:"block-default",keywords:[],attributes:{},providesContext:{},usesContext:[],supports:{},styles:[],variations:[],save:()=>null,...null==K?void 0:K[r],...t};return Object(o.dispatch)(lt).__experimentalRegisterBlockType(n),Object(o.select)(lt).getBlockType(r)}function Z(e,t){let{title:r,icon:n}=t;Object(o.dispatch)(lt).addBlockCollection(e,r,n)}function X(e){const t=Object(o.select)(lt).getBlockType(e);if(t)return Object(o.dispatch)(lt).removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function J(e){Object(o.dispatch)(lt).setFreeformFallbackBlockName(e)}function ee(){return Object(o.select)(lt).getFreeformFallbackBlockName()}function te(){return Object(o.select)(lt).getGroupingBlockName()}function re(e){Object(o.dispatch)(lt).setUnregisteredFallbackBlockName(e)}function ne(){return Object(o.select)(lt).getUnregisteredFallbackBlockName()}function ae(e){Object(o.dispatch)(lt).setDefaultBlockName(e)}function oe(e){Object(o.dispatch)(lt).setGroupingBlockName(e)}function ie(){return Object(o.select)(lt).getDefaultBlockName()}function se(e){var t;return null===(t=Object(o.select)(lt))||void 0===t?void 0:t.getBlockType(e)}function ce(){return Object(o.select)(lt).getBlockTypes()}function le(e,t,r){return Object(o.select)(lt).getBlockSupport(e,t,r)}function ue(e,t,r){return Object(o.select)(lt).hasBlockSupport(e,t,r)}function de(e){return"core/block"===(null==e?void 0:e.name)}function pe(e){return"core/template-part"===e.name}const he=e=>Object(o.select)(lt).getChildBlockNames(e),fe=e=>Object(o.select)(lt).hasChildBlocks(e),ge=e=>Object(o.select)(lt).hasChildBlocksWithInserterSupport(e),me=(e,t)=>{Object(o.dispatch)(lt).addBlockStyles(e,t)},be=(e,t)=>{Object(o.dispatch)(lt).removeBlockStyles(e,t)},_e=(e,t)=>Object(o.select)(lt).getBlockVariations(e,t),ke=(e,t)=>{Object(o.dispatch)(lt).addBlockVariations(e,t)},ye=(e,t)=>{Object(o.dispatch)(lt).removeBlockVariations(e,t)};var we=r("7Cbv");function ve(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=Re(e,t),a=Object(we.a)();return{clientId:a,name:e,isValid:!0,attributes:n,innerBlocks:r}}function je(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>{const t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],[r,n,a=[]]=t;return ve(r,n,je(a))})}function Te(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const n=Object(we.a)(),a=Re(e.name,{...e.attributes,...t});return{...e,clientId:n,attributes:a,innerBlocks:r||e.innerBlocks.map(e=>Te(e))}}function Oe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const n=Object(we.a)();return{...e,clientId:n,attributes:{...e.attributes,...t},innerBlocks:r||e.innerBlocks.map(e=>Oe(e))}}const Ce=(e,t,r)=>{if(Object(i.isEmpty)(r))return!1;const n=r.length>1,a=Object(i.first)(r).name;if(!(xe(e)||!n||e.isMultiBlock))return!1;if(!xe(e)&&!Object(i.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;const o=Object(i.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(o.name)||xe(e)))return!1;if(!n&&Se(o.name)&&Se(e.blockName))return!1;if(Object(i.isFunction)(e.isMatch)){const t=e.isMultiBlock?r.map(e=>e.attributes):o.attributes,n=e.isMultiBlock?r:o;if(!e.isMatch(t,n))return!1}return!(e.usingMobileTransformations&&xe(e)&&!Se(o.name))},xe=e=>e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*"),Se=e=>e===te();function Ee(e){if(Object(i.isEmpty)(e))return[];const t=(e=>{if(Object(i.isEmpty)(e))return[];const t=ce();return Object(i.filter)(t,t=>!!Be(Ne("from",t.name),t=>Ce(t,"from",e)))})(e),r=(e=>{if(Object(i.isEmpty)(e))return[];const t=se(Object(i.first)(e).name),r=t?Ne("to",t.name):[],n=Object(i.filter)(r,t=>t&&Ce(t,"to",e));return Object(i.flatMap)(n,e=>e.blocks).map(e=>se(e))})(e);return Object(i.uniq)([...t,...r])}function Be(e,t){const r=Object(D.createHooks)();for(let n=0;n<e.length;n++){const a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),e=>e||a,a.priority)}return r.applyFilters("transform",null)}function Ne(e,t){if(void 0===t)return Object(i.flatMap)(ce(),t=>{let{name:r}=t;return Ne(e,r)});const r=Ie(t),{name:n,transforms:a}=r||{};if(!a||!Array.isArray(a[e]))return[];const o=a.supportedMobileTransforms&&Array.isArray(a.supportedMobileTransforms);return(o?Object(i.filter)(a[e],e=>"raw"===e.type||!(!e.blocks||!e.blocks.length)&&(!!xe(e)||Object(i.every)(e.blocks,e=>a.supportedMobileTransforms.includes(e)))):a[e]).map(e=>({...e,blockName:n,usingMobileTransformations:o}))}function Ae(e,t){const r=Object(i.castArray)(e),n=r.length>1,a=r[0],o=a.name,s=Ne("from",t),c=Be(Ne("to",o),e=>"block"===e.type&&(xe(e)||-1!==e.blocks.indexOf(t))&&(!n||e.isMultiBlock))||Be(s,e=>"block"===e.type&&(xe(e)||-1!==e.blocks.indexOf(o))&&(!n||e.isMultiBlock));if(!c)return null;let l;if(l=c.isMultiBlock?Object(i.has)(c,"__experimentalConvert")?c.__experimentalConvert(r):c.transform(r.map(e=>e.attributes),r.map(e=>e.innerBlocks)):Object(i.has)(c,"__experimentalConvert")?c.__experimentalConvert(a):c.transform(a.attributes,a.innerBlocks),!Object(i.isObjectLike)(l))return null;if(l=Object(i.castArray)(l),l.some(e=>!se(e.name)))return null;if(!Object(i.some)(l,e=>e.name===t))return null;return l.map(t=>Object(D.applyFilters)("blocks.switchToBlockType.transformedBlock",t,e))}const Pe=(e,t)=>ve(e,t.attributes,Object(i.map)(t.innerBlocks,e=>Pe(e.name,e)));Object(z.b)([I.a,H.a]);const Me=["#191e23","#f8f9f9"];function Le(e){const t=ie();if(e.name!==t)return!1;Le.block&&Le.block.name===t||(Le.block=ve(t));const r=Le.block,n=se(t);return Object(i.every)(null==n?void 0:n.attributes,(t,n)=>r.attributes[n]===e.attributes[n])}function De(e){return!!e&&(Object(i.isString)(e)||Object(V.isValidElement)(e)||Object(i.isFunction)(e)||e instanceof V.Component)}function ze(e){if(De(e=e||"block-default"))return{src:e};if(Object(i.has)(e,["background"])){const t=Object(z.a)(e.background);return{...e,foreground:e.foreground?e.foreground:Object(i.maxBy)(Me,e=>t.contrast(e)),shadowColor:t.alpha(.3).toRgbString()}}return e}function Ie(e){return Object(i.isString)(e)?se(e):e}function He(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"visual";const{__experimentalLabel:n,title:a}=e,o=n&&n(t,{context:r});return o?Object(R.__unstableStripHTML)(o):a}function Ve(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vertical";const a=null==e?void 0:e.title,o=e?He(e,t,"accessibility"):"",i=void 0!==r,c=o&&o!==a;return i&&"vertical"===n?c?Object(s.sprintf)(Object(s.__)("%1$s Block. Row %2$d. %3$s"),a,r,o):Object(s.sprintf)(Object(s.__)("%1$s Block. Row %2$d"),a,r):i&&"horizontal"===n?c?Object(s.sprintf)(Object(s.__)("%1$s Block. Column %2$d. %3$s"),a,r,o):Object(s.sprintf)(Object(s.__)("%1$s Block. Column %2$d"),a,r):c?Object(s.sprintf)(Object(s.__)("%1$s Block. %2$s"),a,o):Object(s.sprintf)(Object(s.__)("%s Block"),a)}function Re(e,t){const r=se(e);if(void 0===r)throw new Error(`Block type '${e}' is not registered.`);return Object(i.reduce)(r.attributes,(e,r,n)=>{const a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e},{})}function $e(e,t){var r;const n=null===(r=se(e))||void 0===r?void 0:r.attributes;if(!n)return[];const a=Object.keys(n);return t?a.filter(e=>{var r;return(null===(r=n[e])||void 0===r?void 0:r.__experimentalRole)===t}):a}const{error:Fe,warn:qe}=window.console,Ue={common:"text",formatting:"text",layout:"design"};function Ge(e){const{name:t}=e,r=Object(D.applyFilters)("blocks.registerBlockType",{...e},t);if(r.deprecated&&(r.deprecated=r.deprecated.map(r=>Object(i.pick)(Object(D.applyFilters)("blocks.registerBlockType",{...Object(i.omit)(e,$),...r},t),$))),Object(i.isPlainObject)(r))if(Object(i.isFunction)(r.save))if(!("edit"in r)||Object(i.isFunction)(r.edit))if(Ue.hasOwnProperty(r.category)&&(r.category=Ue[r.category]),"category"in r&&!Object(i.some)(Object(o.select)("core/blocks").getCategories(),{slug:r.category})&&(qe('The block "'+t+'" is registered with an invalid category "'+r.category+'".'),delete r.category),"title"in r&&""!==r.title)if("string"==typeof r.title){if(r.icon=ze(r.icon),De(r.icon.src))return r;Fe("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional")}else Fe("Block titles must be strings.");else Fe('The block "'+t+'" must have a title.');else Fe('The "edit" property must be a valid function.');else Fe('The "save" property must be a valid function.');else Fe("Block settings must be a valid object.")}function Ke(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(i.castArray)(e)}}function*We(e){yield{type:"ADD_UNPROCESSED_BLOCK_TYPE",blockType:e};const t=Ge(e);t&&(yield Ke(t))}function*Ye(){const e=Object(o.select)("core/blocks").__experimentalGetUnprocessedBlockTypes(),t=Object.keys(e).reduce((t,r)=>{const n=Ge(e[r]);return n&&t.push(n),t},[]);t.length&&(yield Ke(t))}function Qe(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(i.castArray)(e)}}function Ze(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(i.castArray)(t),blockName:e}}function Xe(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(i.castArray)(t),blockName:e}}function Je(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(i.castArray)(t),blockName:e}}function et(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(i.castArray)(t),blockName:e}}function tt(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function rt(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function nt(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function at(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function ot(e){return{type:"SET_CATEGORIES",categories:e}}function it(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function st(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function ct(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}const lt=Object(o.createReduxStore)("core/blocks",{reducer:f,selectors:n,actions:a});Object(o.register)(lt);var ut=r("ouCq"),dt=r("UuzZ"),pt=r("rl8x"),ht=r.n(pt);function ft(e){const t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(D.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function gt(e){const t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(D.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}const mt={},bt={};function _t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{blockType:t,attributes:r}=mt;return Object(D.applyFilters)("blocks.getSaveContent.extraProps",{...e},t,r)}function kt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{innerBlocks:t}=bt,r=Ct(t,{isInnerBlocks:!0}),n=Object(V.createElement)(V.RawHTML,null,r);return{...e,children:n}}function yt(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=Ie(e);let{save:a}=n;if(a.prototype instanceof V.Component){const e=new a({attributes:t});a=e.render.bind(e)}mt.blockType=n,mt.attributes=t,bt.innerBlocks=r;let o=a({attributes:t,innerBlocks:r});if(Object(i.isObject)(o)&&Object(D.hasFilter)("blocks.getSaveContent.extraProps")&&!(n.apiVersion>1)){const e=Object(D.applyFilters)("blocks.getSaveContent.extraProps",{...o.props},n,t);ht()(e,o.props)||(o=Object(V.cloneElement)(o,e))}return Object(D.applyFilters)("blocks.getSaveElement",o,n,t)}function wt(e,t,r){const n=Ie(e);return Object(V.renderToString)(yt(n,t,r))}function vt(e,t){return Object(i.reduce)(e.attributes,(e,r,n)=>{const a=t[n];return void 0===a||void 0!==r.source||"default"in r&&r.default===a||(e[n]=a),e},{})}function jt(e){let t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=wt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function Tt(e,t,r){const n=Object(i.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(i.startsWith)(e,"core/")?e.slice(5):e;return r?`\x3c!-- wp:${a} ${n}--\x3e\n`+r+`\n\x3c!-- /wp:${a} --\x3e`:`\x3c!-- wp:${a} ${n}/--\x3e`}function Ot(e){1===e.length&&Le(e[0])&&(e=[]);let t=Ct(e);return 1===e.length&&e[0].name===ee()&&(t=Object(dt.removep)(t)),t}function Ct(e,t){return Object(i.castArray)(e).map(e=>function(e){let{isInnerBlocks:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.name,n=jt(e);if(r===ne()||!t&&r===ee())return n;const a=se(r),o=vt(a,e.attributes);return Tt(r,o,n)}(e,t)).join("\n\n")}var xt=/^#[xX]([A-Fa-f0-9]+)$/,St=/^#([0-9]+)$/,Et=/^([A-Za-z0-9]+)$/,Bt=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(xt);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(St))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(Et))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),Nt=/[A-Za-z]/,At=/\r\n?/g;function Pt(e){return Bt.test(e)}function Mt(e){return Nt.test(e)}var Lt=function(){function e(e,t,r){void 0===r&&(r="precompile"),this.delegate=e,this.entityParser=t,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer;"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||Mt(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){var e=this.consume();"-"===e&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===e.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){Pt(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();Pt(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();Pt(e)?this.transitionTo("afterDoctypeName"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase())},afterDoctypeName:function(){var e=this.consume();if(!Pt(e))if(">"===e)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var t=e.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),r="PUBLIC"===t.toUpperCase(),n="SYSTEM"===t.toUpperCase();(r||n)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),r?this.transitionTo("afterDoctypePublicKeyword"):n&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var e=this.peek();Pt(e)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===e?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===e?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===e&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},doctypePublicIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},afterDoctypePublicIdentifier:function(){var e=this.consume();Pt(e)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var e=this.consume();Pt(e)||(">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},doctypeSystemIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},afterDoctypeSystemIdentifier:function(){var e=this.consume();Pt(e)||">"===e&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();Pt(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();Pt(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();Pt(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();Pt(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();Pt(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();Pt(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();Pt(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();Pt(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||Mt(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(At,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),r=this.entityParser.parse(t);if(r){for(var n=t.length;n;)this.consume(),n--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer;return"title"===e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),Dt=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Lt(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},e.prototype.appendToDoctypeName=function(e){this.current("Doctype").name+=e},e.prototype.appendToDoctypePublicIdentifier=function(e){var t=this.current("Doctype");void 0===t.publicIdentifier?t.publicIdentifier=e:t.publicIdentifier+=e},e.prototype.appendToDoctypeSystemIdentifier=function(e){var t=this.current("Doctype");void 0===t.systemIdentifier?t.systemIdentifier=e:t.systemIdentifier+=e},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}();var zt=r("rmEH");function It(){function e(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return e("Block validation: "+t,...n)}}return{error:e(console.error),warning:e(console.warn),getItems:()=>[]}}const Ht=/[\t\n\r\v\f ]+/g,Vt=/^[\t\n\r\v\f ]*$/,Rt=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,$t=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],Ft=[...$t,"autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"],qt=[i.identity,function(e){return Yt(e).join(" ")}],Ut=/^[\da-z]+$/i,Gt=/^#\d+$/,Kt=/^#x[\da-f]+$/i;class Wt{parse(e){if(t=e,Ut.test(t)||Gt.test(t)||Kt.test(t))return Object(zt.decodeEntities)("&"+e+";");var t}}function Yt(e){return e.trim().split(Ht)}function Qt(e){return e.attributes.filter(e=>{const[t,r]=e;return r||0===t.indexOf("data-")||Object(i.includes)(Ft,t)})}function Zt(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:It(),n=e.chars,a=t.chars;for(let e=0;e<qt.length;e++){const t=qt[e];if(n=t(n),a=t(a),n===a)return!0}return r.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function Xt(e){return 0===parseFloat(e)?"0":0===e.indexOf(".")?"0"+e:e}function Jt(e){return Yt(e).map(Xt).join(" ").replace(Rt,"url($1)")}function er(e){const t=e.replace(/;?\s*$/,"").split(";").map(e=>{const[t,...r]=e.split(":"),n=r.join(":");return[t.trim(),Jt(n.trim())]});return Object(i.fromPairs)(t)}const tr={class:(e,t)=>!Object(i.xor)(...[e,t].map(Yt)).length,style:(e,t)=>Object(i.isEqual)(...[e,t].map(er)),...Object(i.fromPairs)($t.map(e=>[e,i.stubTrue]))};function rr(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:It();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;const n={};for(let e=0;e<t.length;e++)n[t[e][0].toLowerCase()]=t[e][1];for(let t=0;t<e.length;t++){const[a,o]=e[t],i=a.toLowerCase();if(!n.hasOwnProperty(i))return r.warning("Encountered unexpected attribute `%s`.",a),!1;const s=n[i],c=tr[i];if(c){if(!c(o,s))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,s,o),!1}else if(o!==s)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,s,o),!1}return!0}const nr={StartTag:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:It();return e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):rr(...[e,t].map(Qt),r)},Chars:Zt,Comment:Zt};function ar(e){let t;for(;t=e.shift();){if("Chars"!==t.type)return t;if(!Vt.test(t.chars))return t}}function or(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:It();try{return new Dt(new Wt).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}function ir(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function sr(e,t){if(e.name===ee()||e.name===ne())return[!0];const r=function(){const e=[],t=It();return{error(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.error,args:n})},warning(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.warning,args:n})},getItems:()=>e}}(),n=Ie(t);let a;try{a=wt(n,e.attributes)}catch(e){return r.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),[!1,r.getItems()]}const o=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:It();if(e===t)return!0;const[n,a]=[e,t].map(e=>or(e,r));if(!n||!a)return!1;let o,i;for(;o=ar(n);){if(i=ar(a),!i)return r.warning("Expected end of content, instead saw %o.",o),!1;if(o.type!==i.type)return r.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",i.type,i,o.type,o),!1;const e=nr[o.type];if(e&&!e(o,i,r))return!1;ir(o,a[0])?ar(a):ir(i,n[0])&&ar(n)}return!(i=ar(a))||(r.warning("Expected %o, instead saw end of content.",i),!1)}(e.originalContent,a,r);return o||r.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",n.name,n,a,e.originalContent),[o,r.getItems()]}function cr(e,t,r){const n=Ie(e),a={name:n.name,attributes:t,innerBlocks:[],originalContent:r},[o]=sr(a,n);return o}function lr(e,t){const r={...t};if("core/cover-image"===e&&(e="core/cover"),"core/text"!==e&&"core/cover-text"!==e||(e="core/paragraph"),e&&0===e.indexOf("core/social-link-")&&(r.service=e.substring(17),e="core/social-link"),e&&0===e.indexOf("core-embed/")){const t=e.substring(11),n={speaker:"speaker-deck",polldaddy:"crowdsignal"};r.providerNameSlug=t in n?n[t]:t,["amazon-kindle","wordpress"].includes(t)||(r.responsive=!0),e="core/embed"}return"core/query-loop"===e&&(e="core/post-template"),"core/post-comment-author"===e&&(e="core/comment-author-name"),"core/post-comment-content"===e&&(e="core/comment-content"),"core/post-comment-date"===e&&(e="core/comment-date"),[e,r]}function ur(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{isCommentDelimited:r=!0}=t,{blockName:n,attrs:a={},innerBlocks:o=[],innerContent:i=[]}=e;let s=0;const c=i.map(e=>null!==e?e:ur(o[s++],t)).join("\n").replace(/\n+/g,"\n").trim();return r?Tt(n,a,c):c}function dr(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}var pr,hr=function(){return pr||(pr=document.implementation.createHTMLDocument("")),pr};function fr(e,t){if(t){if("string"==typeof e){var r=hr();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(r,n){return r[n]=fr(e,t[n]),r}),{})}}function gr(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return dr(n,t)}}function mr(e){const t={};for(let r=0;r<e.length;r++){const{name:n,value:a}=e[r];t[n]=a}return t}function br(e){if(e.nodeType===e.TEXT_NODE)return e.nodeValue;if(e.nodeType!==e.ELEMENT_NODE)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:{...mr(e.attributes),children:yr(e.childNodes)}}}function _r(e){return t=>{let r=t;e&&(r=t.querySelector(e));try{return br(r)}catch(e){return null}}}var kr={isNodeOfType:function(e,t){return e&&e.type===t},fromDOM:br,toHTML:function(e){return wr([e])},matcher:_r};function yr(e){const t=[];for(let r=0;r<e.length;r++)try{t.push(br(e[r]))}catch(e){}return t}function wr(e){const t=e;return Object(V.renderToString)(t)}function vr(e){return t=>{let r=t;return e&&(r=t.querySelector(e)),r?yr(r.childNodes):[]}}var jr={concat:function(){const e=[];for(let t=0;t<arguments.length;t++){const r=Object(i.castArray)(t<0||arguments.length<=t?void 0:arguments[t]);for(let t=0;t<r.length;t++){const n=r[t];"string"==typeof n&&"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n)}}return e},getChildrenArray:function(e){return e},fromDOM:yr,toHTML:wr,matcher:vr};function Tr(e,t){return t.some(t=>function(e,t){switch(t){case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t))}function Or(e,t,r,n){const{type:a,enum:o}=t;let s;switch(t.source){case void 0:s=n?n[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":s=xr(r,t)}return function(e,t){return void 0===t||Tr(e,Object(i.castArray)(t))}(s,a)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(s,o)||(s=void 0),void 0===s?t.default:s}function Cr(e){switch(e.source){case"attribute":let n=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=gr(e,"attributes")(r);if(n&&n.hasOwnProperty(t))return n[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(n=(e=>Object(i.flow)([e,e=>void 0!==e]))(n)),n;case"html":return t=e.selector,r=e.multiline,e=>{let n=e;if(t&&(n=e.querySelector(t)),!n)return"";if(r){let e="";const t=n.children.length;for(let a=0;a<t;a++){const t=n.children[a];t.nodeName.toLowerCase()===r&&(e+=t.outerHTML)}return e}return n.innerHTML};case"text":return function(e){return gr(e,"textContent")}(e.selector);case"children":return vr(e.selector);case"node":return _r(e.selector);case"query":const a=Object(i.mapValues)(e.query,Cr);return function(e,t){return function(r){var n=r.querySelectorAll(e);return[].map.call(n,(function(e){return fr(e,t)}))}}(e.selector,a);case"tag":return Object(i.flow)([gr(e.selector,"nodeName"),e=>e?e.toLowerCase():void 0]);default:console.error(`Unknown source type "${e.source}"`)}var t,r}function xr(e,t){return fr(e,Cr(t))}function Sr(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=Ie(e),a=Object(i.mapValues)(n.attributes,(e,n)=>Or(n,e,t,r));return Object(D.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function Er(e){const t=xr(e=`<div data-custom-class-name>${e}</div>`,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}function Br(e,t){const r=function(e,t,r){if(ue(t,"customClassName",!0)){const n=wt(t,Object(i.omit)(e,["className"])),a=Er(n),o=Er(r),s=Object(i.difference)(o,a);s.length?e.className=s.join(" "):n&&delete e.className}return e}(e.attributes,t,e.originalContent);return{...e,attributes:r}}function Nr(e){let t=function(e){const t=ee(),r=e.blockName||ee(),n=e.attrs||{},a=e.innerBlocks||[];let o=e.innerHTML.trim();return r===t&&(o=Object(dt.autop)(o).trim()),{...e,blockName:r,attrs:n,innerHTML:o,innerBlocks:a}}(e);t=function(e){const[t,r]=lr(e.blockName,e.attrs);return{...e,blockName:t,attrs:r}}(t);let r=se(t.blockName);r||(t=function(e){const t=ne()||ee(),r=ur(e,{isCommentDelimited:!1}),n=ur(e,{isCommentDelimited:!0});return{blockName:t,attrs:{originalName:e.blockName,originalContent:n,originalUndelimitedContent:r},innerHTML:e.blockName?n:e.innerHTML,innerBlocks:e.innerBlocks,innerContent:e.innerContent}}(t),r=se(t.blockName));const n=t.blockName===ee()||t.blockName===ne();if(!r||!t.innerHTML&&n)return;const a=t.innerBlocks.map(Nr).filter(e=>!!e);let o=ve(t.blockName,Sr(r,t.innerHTML,t.attrs),a);o.originalContent=t.innerHTML;let[s,c]=sr(o,r);return s||(o=Br(o,r),[s,c]=sr(o,r)),o.isValid=s,o.validationIssues=c,o=function(e,t,r){const n=t.attrs,{deprecated:a}=r;if(!a||!a.length)return e;for(let t=0;t<a.length;t++){const{isEligible:o=i.stubFalse}=a[t];if(e.isValid&&!o(n,e.innerBlocks))continue;const s=Object.assign(Object(i.omit)(r,$),a[t]);let c={...e,attributes:Sr(s,e.originalContent,n)},[l]=sr(c,s);if(l||(c=Br(c,s),[l]=sr(c,s)),!l)continue;let u=c.innerBlocks,d=c.attributes;const{migrate:p}=s;p&&([d=n,u=e.innerBlocks]=Object(i.castArray)(p(d,e.innerBlocks))),e={...e,attributes:d,innerBlocks:u,isValid:!0,validationIssues:[]}}return e}(o,t,r),c&&c.length>0&&(o.isValid?(console.groupCollapsed("Updated Block: %s",r.name),console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",r.name,r,wt(r,o.attributes),o.originalContent),console.groupEnd()):c.forEach(e=>{let{log:t,args:r}=e;return t(...r)})),o}function Ar(e){return Object(ut.parse)(e).reduce((e,t)=>{const r=Nr(t);return r&&e.push(r),e},[])}function Pr(){return Object(i.filter)(Ne("from"),{type:"raw"}).map(e=>e.isMatch?e:{...e,isMatch:t=>e.selector&&t.matches(e.selector)})}function Mr(e){const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children).flatMap(e=>{const t=Be(Pr(),t=>{let{isMatch:r}=t;return r(e)});if(!t)return ve("core/html",Sr("core/html",e.outerHTML));const{transform:r,blockName:n}=t;return r?r(e):ve(n,Sr(n,e.outerHTML))})}function Lr(e){const t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){const e=n.firstChild;e.nodeType===e.TEXT_NODE?Object(R.isEmpty)(e)?n.removeChild(e):(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(e)):e.nodeType===e.ELEMENT_NODE?"BR"===e.nodeName?(e.nextSibling&&"BR"===e.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(e.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(e):n.removeChild(e)):"P"===e.nodeName?Object(R.isEmpty)(e)?n.removeChild(e):a.appendChild(e):Object(R.isPhrasingContent)(e)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(e)):a.appendChild(e):n.removeChild(e)}return a.innerHTML}function Dr(e,t){if(e.nodeType===e.COMMENT_NODE)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){const r=e.nodeValue.slice(4).trim();let n=e,a=!1;for(;n=n.nextSibling;)if(n.nodeType===n.COMMENT_NODE&&"noteaser"===n.nodeValue){a=!0,Object(R.remove)(n);break}Object(R.replace)(e,function(e,t,r){const n=r.createElement("wp-block");n.dataset.block="core/more",e&&(n.dataset.customText=e);t&&(n.dataset.noTeaser="");return n}(r,a,t))}}else Object(R.replace)(e,function(e){const t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))}function zr(e){e.nodeType===e.COMMENT_NODE&&Object(R.remove)(e)}function Ir(e,t){return e.every(e=>function(e,t){if(Object(R.isTextContent)(e))return!0;if(!t)return!1;const r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some(e=>0===Object(i.difference)([r,t],e).length)}(e,t)&&Ir(Array.from(e.children),t))}function Hr(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function Vr(e,t){if("SPAN"===e.nodeName&&e.style){const{fontWeight:r,fontStyle:n,textDecorationLine:a,textDecoration:o,verticalAlign:s}=e.style;"bold"!==r&&"700"!==r||Object(R.wrap)(t.createElement("strong"),e),"italic"===n&&Object(R.wrap)(t.createElement("em"),e),("line-through"===a||Object(i.includes)(o,"line-through"))&&Object(R.wrap)(t.createElement("s"),e),"super"===s?Object(R.wrap)(t.createElement("sup"),e):"sub"===s&&Object(R.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(R.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(R.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")),e.name&&!e.id&&(e.id=e.name),e.id&&!e.ownerDocument.querySelector(`[href="#${e.id}"]`)&&e.removeAttribute("id"))}function Rr(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)}const{parseInt:$r}=window;function Fr(e){return"OL"===e.nodeName||"UL"===e.nodeName}function qr(e,t){if("P"!==e.nodeName)return;const r=e.getAttribute("style");if(!r)return;if(-1===r.indexOf("mso-list"))return;const n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(!n)return;let a=$r(n[1],10)-1||0;const o=e.previousElementSibling;if(!o||!Fr(o)){const r=e.textContent.trim().slice(0,1),n=/[1iIaA]/.test(r),a=t.createElement(n?"ol":"ul");n&&a.setAttribute("type",r),e.parentNode.insertBefore(a,e)}const i=e.previousElementSibling,s=i.nodeName,c=t.createElement("li");let l=i;for(e.removeChild(e.firstElementChild);e.firstChild;)c.appendChild(e.firstChild);for(;a--;)l=l.lastElementChild||l,Fr(l)&&(l=l.lastElementChild||l);Fr(l)||(l=l.appendChild(t.createElement(s))),l.appendChild(c),e.parentNode.removeChild(e)}function Ur(e){return"OL"===e.nodeName||"UL"===e.nodeName}function Gr(e){if(!Ur(e))return;const t=e,r=e.previousElementSibling;if(r&&r.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}const n=e.parentNode;if(n&&"LI"===n.nodeName&&1===n.children.length&&!/\S/.test((a=n,Array.from(a.childNodes).map(e=>{let{nodeValue:t=""}=e;return t}).join("")))){const e=n,r=e.previousElementSibling,a=e.parentNode;r?(r.appendChild(t),a.removeChild(e)):(a.parentNode.insertBefore(t,a),a.parentNode.removeChild(a))}var a;if(n&&Ur(n)){const t=e.previousElementSibling;t?t.appendChild(e):Object(R.unwrap)(e)}}var Kr=r("xTGt");const{atob:Wr,File:Yr}=window;function Qr(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){const[t,r]=e.src.split(","),[n]=t.slice(5).split(";");if(!r||!n)return void(e.src="");let a;try{a=Wr(r)}catch(t){return void(e.src="")}const o=new Uint8Array(a.length);for(let e=0;e<o.length;e++)o[e]=a.charCodeAt(e);const i=n.replace("/","."),s=new Yr([o],i,{type:n});e.src=Object(Kr.createBlobURL)(s)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}function Zr(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Lr(e.innerHTML))}function Xr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function Jr(e,t,r){if(!function(e,t){const r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Object(R.isTextContent)(e)&&Object(i.has)(t,["figure","children",r])}(e,r))return;let n=e;const a=e.parentNode;(function(e,t){const r=e.nodeName.toLowerCase();return Object(i.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);const o=n.closest("p,div");o?e.classList?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!o.textContent.trim())&&Xr(n,o):Xr(n,o):"BODY"===n.parentNode.nodeName&&Xr(n)}var en=r("SVSp");var tn=function e(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const a=Ne("from"),o=Be(a,e=>-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(i.some)(Object(i.castArray)(e.tag),e=>Object(en.regexp)(e).test(t)));if(!o)return[t];const s=Object(i.castArray)(o.tag),c=Object(i.find)(s,e=>Object(en.regexp)(e).test(t));let l;const u=r;if(l=Object(en.next)(c,t,r)){r=l.index+l.content.length;const a=t.substr(0,l.index),s=t.substr(r);if(!(Object(i.includes)(l.shortcode.content||"","<")||/(\n|<p>)\s*$/.test(a)&&/^\s*(\n|<\/p>)/.test(s)))return e(t,r);if(o.isMatch&&!o.isMatch(l.shortcode.attrs))return e(t,u,[...n,o.blockName]);const c=Object(i.mapValues)(Object(i.pickBy)(o.attributes,e=>e.shortcode),e=>e.shortcode(l.shortcode.attrs,l)),d={...se(o.blockName),attributes:o.attributes};let p=ve(o.blockName,Sr(d,l.shortcode.content,c));return p.originalContent=l.shortcode.content,p=Br(p,d),[...e(a),p,...e(s)]}return[t]},rn=r("M55E");const nn=new(r.n(rn).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function an(e){if("IFRAME"===e.nodeName){const t=e.ownerDocument.createTextNode(e.src);e.parentNode.replaceChild(t,e)}}function on(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Object(R.unwrap)(e)}function sn(e){return function(e,t){const r={phrasingContentSchema:Object(R.getPhrasingContentSchema)(t),isPaste:"paste"===t},n=e.map(e=>{let{isMatch:t,blockName:n,schema:a}=e;const o=ue(n,"anchor");return a=Object(i.isFunction)(a)?a(r):a,o||t?Object(i.mapValues)(a,e=>{let r=e.attributes||[];return o&&(r=[...r,"id"]),{...e,attributes:r,isMatch:t||void 0}}):a});return Object(i.mergeWith)({},...n,(e,t,r)=>{switch(r){case"children":return"*"===e||"*"===t?"*":{...e,...t};case"attributes":case"require":return[...e||[],...t||[]];case"isMatch":if(!e||!t)return;return function(){return e(...arguments)||t(...arguments)}}})}(Pr(),e)}function cn(e,t,r,n){Array.from(e).forEach(e=>{cn(e.childNodes,t,r,n),t.forEach(t=>{r.contains(e)&&t(e,r,n)})})}function ln(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;const n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,cn(n.body.childNodes,t,n,r),n.body.innerHTML}function un(e,t){const r=e[t+"Sibling"];if(r&&Object(R.isPhrasingContent)(r))return r;const{parentNode:n}=e;return n&&Object(R.isPhrasingContent)(n)?un(n,t):void 0}function dn(e){if(e.nodeType!==e.TEXT_NODE)return;let t=e;for(;t=t.parentNode;)if(t.nodeType===t.ELEMENT_NODE&&"PRE"===t.nodeName)return;let r=e.data.replace(/[ \r\n\t]+/g," ");if(" "===r[0]){const t=un(e,"previous");t&&"BR"!==t.nodeName&&" "!==t.textContent.slice(-1)||(r=r.slice(1))}if(" "===r[r.length-1]){const t=un(e,"next");(!t||"BR"===t.nodeName||t.nodeType===t.TEXT_NODE&&(" "===(n=t.textContent[0])||"\r"===n||"\n"===n||"\t"===n))&&(r=r.slice(0,-1))}var n;r?e.data=r:e.parentNode.removeChild(e)}function pn(e){"BR"===e.nodeName&&(un(e,"next")||e.parentNode.removeChild(e))}function hn(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}const{console:fn}=window;function gn(e,t){return e=ln(e,[on,Vr,zr]),e=Object(R.removeInvalidHTML)(e,Object(R.getPhrasingContentSchema)("paste"),{inline:!0}),t||(e=ln(e,[dn,pn])),fn.log("Processed inline HTML:\n\n",e),e}function mn(e){let{HTML:t="",plainText:r="",mode:n="AUTO",tagName:a,preserveWhiteSpace:o}=e;if(t=t.replace(/<meta[^>]+>/g,""),t=t.replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,""),t=t.replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==n){const e=t||r;if(-1!==e.indexOf("\x3c!-- wp:"))return Ar(e)}var s;if(String.prototype.normalize&&(t=t.normalize()),!r||t&&!function(e){return!/<(?!br[ />])/i.test(e)}(t)||(t=r,/^\s+$/.test(r)||(s=t,t=nn.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(e,t,r,n)=>`${t}\n${r}\n${n}`)}(s))),"AUTO"===n&&-1===r.indexOf("\n")&&0!==r.indexOf("<p>")&&0===t.indexOf("<p>")&&(n="INLINE")),"INLINE"===n)return gn(t,o);const c=tn(t),l=c.length>1;if("AUTO"===n&&!l&&function(e,t){const r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;const n=Array.from(r.body.children);return!n.some(Hr)&&Ir(n,t)}(t,a))return gn(t,o);const u=Object(R.getPhrasingContentSchema)("paste"),d=sn("paste"),p=Object(i.compact)(Object(i.flatMap)(c,e=>{if("string"!=typeof e)return e;const t=[on,qr,Rr,Gr,Qr,Vr,Dr,zr,an,Jr,Zr],r={...d,...u};return e=ln(e,t,d),e=ln(e=Lr(e=Object(R.removeInvalidHTML)(e,r)),[dn,pn,hn],d),fn.log("Processed HTML piece:\n\n",e),Mr(e)}));if("AUTO"===n&&1===p.length&&ue(p[0].name,"__unstablePasteTextInline",!1)){const e=r.replace(/^[\n]+|[\n]+$/g,"");if(""!==e&&-1===e.indexOf("\n"))return Object(R.removeInvalidHTML)(jt(p[0]),u)}return p}var bn=r("NMb1"),_n=r.n(bn);function kn(e){return _n()("wp.blocks.getPhrasingContentSchema",{since:"5.6",alternative:"wp.dom.getPhrasingContentSchema"}),Object(R.getPhrasingContentSchema)(e)}function yn(e){let{HTML:t=""}=e;if(-1!==t.indexOf("\x3c!-- wp:"))return Ar(t);const r=tn(t),n=sn();return Object(i.compact)(Object(i.flatMap)(r,e=>{if("string"!=typeof e)return e;return Mr(e=Lr(e=ln(e,[Gr,Dr,Jr,Zr],n)))}))}function wn(){return Object(o.select)(lt).getCategories()}function vn(e){Object(o.dispatch)(lt).setCategories(e)}function jn(e,t){Object(o.dispatch)(lt).updateCategory(e,t)}function Tn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(i.every)(t,(t,r)=>{let[n,,a]=t;const o=e[r];return n===o.name&&Tn(o.innerBlocks,a)})}function On(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(i.map)(t,(t,r)=>{let[n,a,o]=t;const s=e[r];if(s&&s.name===n){const e=On(s.innerBlocks,o);return{...s,innerBlocks:e}}const c=se(n),l=(e,t)=>Object(i.mapValues)(t,(t,r)=>u(e[r],t)),u=(e,t)=>{return r=e,"html"===Object(i.get)(r,["source"])&&Object(i.isArray)(t)?Object(V.renderToString)(t):(e=>"query"===Object(i.get)(e,["source"]))(e)&&t?t.map(t=>l(e.query,t)):t;var r},d=l(Object(i.get)(c,["attributes"],{}),a),[p,h]=lr(n,d);return ve(p,h,On([],o))}):e}var Cn=r("wx14"),xn=r("K9lf");const{Consumer:Sn,Provider:En}=Object(V.createContext)(()=>{}),Bn=Object(xn.createHigherOrderComponent)(e=>t=>Object(V.createElement)(Sn,null,r=>Object(V.createElement)(e,Object(Cn.a)({},t,{BlockContent:r}))),"withBlockContentContext")},"1CF3":function(e,t){e.exports=window.wp.dom},"1ZqX":function(e,t){e.exports=window.wp.data},"7Cbv":function(e,t,r){"use strict";var n,a=new Uint8Array(16);function o(){if(!n&&!(n="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 n(a)}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 s=function(e){return"string"==typeof e&&i.test(e)},c=[],l=0;l<256;++l)c.push((l+256).toString(16).substr(1));var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r};t.a=function(e,t,r){var n=(e=e||{}).random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return u(n)}},"7bKH":function(e,t,r){"use strict";var n=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},a=function(e){return.2126*n(e.r)+.7152*n(e.g)+.0722*n(e.b)};t.a=function(e){e.prototype.luminance=function(){return e=a(this.rgba),void 0===(t=2)&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0;var e,t,r},e.prototype.contrast=function(t){void 0===t&&(t="#FFF");var r,n,o,i,s,c,l,u=t instanceof e?t:new e(t);return i=this.rgba,s=u.toRgb(),r=(c=a(i))>(l=a(s))?(c+.05)/(l+.05):(l+.05)/(c+.05),void 0===(n=2)&&(n=0),void 0===o&&(o=Math.pow(10,n)),Math.floor(o*r)/o+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(i=void 0===(o=(r=t).size)?"normal":o,"AAA"===(a=void 0===(n=r.level)?"AA":n)&&"normal"===i?7:"AA"===a&&"large"===i?3:4.5);var r,n,a,o,i}}},GRId:function(e,t){e.exports=window.wp.element},K9lf:function(e,t){e.exports=window.wp.compose},M55E:function(e,t,r){var n;/*! showdown v 1.9.1 - 02-11-2019 */
-(function(){function a(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}var o={},i={},s={},c=a(!0),l="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:a(!0),allOn:function(){"use strict";var e=a(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function d(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};o.helper.isArray(e)||(e=[e]);for(var a=0;a<e.length;++a){var i=r+" sub-extension "+a+": ",s=e[a];if("object"!=typeof s)return n.valid=!1,n.error=i+"must be an object, but "+typeof s+" given",n;if(!o.helper.isString(s.type))return n.valid=!1,n.error=i+'property "type" must be a string, but '+typeof s.type+" given",n;var c=s.type=s.type.toLowerCase();if("language"===c&&(c=s.type="lang"),"html"===c&&(c=s.type="output"),"lang"!==c&&"output"!==c&&"listener"!==c)return n.valid=!1,n.error=i+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',n;if("listener"===c){if(o.helper.isUndefined(s.listeners))return n.valid=!1,n.error=i+'. Extensions of type "listener" must have a property called "listeners"',n}else if(o.helper.isUndefined(s.filter)&&o.helper.isUndefined(s.regex))return n.valid=!1,n.error=i+c+' extensions must define either a "regex" property or a "filter" method',n;if(s.listeners){if("object"!=typeof s.listeners)return n.valid=!1,n.error=i+'"listeners" property must be an object but '+typeof s.listeners+" given",n;for(var l in s.listeners)if(s.listeners.hasOwnProperty(l)&&"function"!=typeof s.listeners[l])return n.valid=!1,n.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+typeof s.listeners[l]+" given",n}if(s.filter){if("function"!=typeof s.filter)return n.valid=!1,n.error=i+'"filter" must be a function, but '+typeof s.filter+" given",n}else if(s.regex){if(o.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return n.valid=!1,n.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",n;if(o.helper.isUndefined(s.replace))return n.valid=!1,n.error=i+'"regex" extensions must implement a replace string or function',n}}return n}function p(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}o.helper={},o.extensions={},o.setOption=function(e,t){"use strict";return c[e]=t,this},o.getOption=function(e){"use strict";return c[e]},o.getOptions=function(){"use strict";return c},o.resetOptions=function(){"use strict";c=a(!0)},o.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");o.resetOptions();var t=u[e];for(var r in l=e,t)t.hasOwnProperty(r)&&(c[r]=t[r])},o.getFlavor=function(){"use strict";return l},o.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},o.getDefaultOptions=function(e){"use strict";return a(e)},o.subParser=function(e,t){"use strict";if(o.helper.isString(e)){if(void 0===t){if(i.hasOwnProperty(e))return i[e];throw Error("SubParser named "+e+" not registered!")}i[e]=t}},o.extension=function(e,t){"use strict";if(!o.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=o.helper.stdExtName(e),o.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),o.helper.isArray(t)||(t=[t]);var r=d(t,e);if(!r.valid)throw Error(r.error);s[e]=t},o.getAllExtensions=function(){"use strict";return s},o.removeExtension=function(e){"use strict";delete s[e]},o.resetExtensions=function(){"use strict";s={}},o.validateExtension=function(e){"use strict";var t=d(e,null);return!!t.valid||(console.warn(t.error),!1)},o.hasOwnProperty("helper")||(o.helper={}),o.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},o.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},o.helper.isArray=function(e){"use strict";return Array.isArray(e)},o.helper.isUndefined=function(e){"use strict";return void 0===e},o.helper.forEach=function(e,t){"use strict";if(o.helper.isUndefined(e))throw new Error("obj param is required");if(o.helper.isUndefined(t))throw new Error("callback param is required");if(!o.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(o.helper.isArray(e))for(var r=0;r<e.length;r++)t(e[r],r,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var n in e)e.hasOwnProperty(n)&&t(e[n],n,e)}},o.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},o.helper.escapeCharactersCallback=p,o.helper.escapeCharacters=function(e,t,r){"use strict";var n="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";r&&(n="\\\\"+n);var a=new RegExp(n,"g");return e=e.replace(a,p)},o.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var h=function(e,t,r,n){"use strict";var a,o,i,s,c,l=n||"",u=l.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+l.replace(/g/g,"")),p=new RegExp(t,l.replace(/g/g,"")),h=[];do{for(a=0;i=d.exec(e);)if(p.test(i[0]))a++||(s=(o=d.lastIndex)-i[0].length);else if(a&&!--a){c=i.index+i[0].length;var f={left:{start:s,end:o},match:{start:o,end:i.index},right:{start:i.index,end:c},wholeMatch:{start:s,end:c}};if(h.push(f),!u)return h}}while(a&&(d.lastIndex=o));return h};o.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=h(e,t,r,n),o=[],i=0;i<a.length;++i)o.push([e.slice(a[i].wholeMatch.start,a[i].wholeMatch.end),e.slice(a[i].match.start,a[i].match.end),e.slice(a[i].left.start,a[i].left.end),e.slice(a[i].right.start,a[i].right.end)]);return o},o.helper.replaceRecursiveRegExp=function(e,t,r,n,a){"use strict";if(!o.helper.isFunction(t)){var i=t;t=function(){return i}}var s=h(e,r,n,a),c=e,l=s.length;if(l>0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d<l;++d)u.push(t(e.slice(s[d].wholeMatch.start,s[d].wholeMatch.end),e.slice(s[d].match.start,s[d].match.end),e.slice(s[d].left.start,s[d].left.end),e.slice(s[d].right.start,s[d].right.end))),d<l-1&&u.push(e.slice(s[d].wholeMatch.end,s[d+1].wholeMatch.start));s[l-1].wholeMatch.end<e.length&&u.push(e.slice(s[l-1].wholeMatch.end)),c=u.join("")}return c},o.helper.regexIndexOf=function(e,t,r){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var n=e.substring(r||0).search(t);return n>=0?n+(r||0):n},o.helper.splitAtIndex=function(e,t){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},o.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e}))},o.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),o.helper.regexes={asteriskDashAndColon:/([*_:~])/g},o.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},o.Converter=function(e){"use strict";var t={},r=[],n=[],a={},i=l,p={parsed:{},raw:"",format:""};function h(e,t){if(t=t||null,o.helper.isString(e)){if(t=e=o.helper.stdExtName(e),o.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new o.Converter));o.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i<e.length;++i)switch(e[i].type){case"lang":r.push(e[i]);break;case"output":n.push(e[i]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(o.extensions[e],e);if(o.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),o.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i<e.length;++i){switch(e[i].type){case"lang":r.push(e[i]);break;case"output":n.push(e[i])}if(e[i].hasOwnProperty("listeners"))for(var c in e[i].listeners)e[i].listeners.hasOwnProperty(c)&&f(c,e[i].listeners[c])}}function f(e,t){if(!o.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");a.hasOwnProperty(e)||(a[e]=[]),a[e].push(t)}!function(){for(var r in e=e||{},c)c.hasOwnProperty(r)&&(t[r]=c[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.extensions&&o.helper.forEach(t.extensions,h)}(),this._dispatch=function(e,t,r,n){if(a.hasOwnProperty(e))for(var o=0;o<a[e].length;++o){var i=a[e][o](e,t,this,r,n);i&&void 0!==i&&(t=i)}return t},this.listen=function(e,t){return f(e,t),this},this.makeHtml=function(e){if(!e)return e;var a={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:r,outputModifiers:n,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,r=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(r,"")}(e)),e="\n\n"+e+"\n\n",e=(e=o.subParser("detab")(e,t,a)).replace(/^[ \t]+$/gm,""),o.helper.forEach(r,(function(r){e=o.subParser("runExtension")(r,e,t,a)})),e=o.subParser("metadata")(e,t,a),e=o.subParser("hashPreCodeTags")(e,t,a),e=o.subParser("githubCodeBlocks")(e,t,a),e=o.subParser("hashHTMLBlocks")(e,t,a),e=o.subParser("hashCodeTags")(e,t,a),e=o.subParser("stripLinkDefinitions")(e,t,a),e=o.subParser("blockGamut")(e,t,a),e=o.subParser("unhashHTMLSpans")(e,t,a),e=(e=(e=o.subParser("unescapeSpecialChars")(e,t,a)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=o.subParser("completeHTMLDocument")(e,t,a),o.helper.forEach(n,(function(r){e=o.subParser("runExtension")(r,e,t,a)})),p=a.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var n={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n<t.length;++n)if(1===t[n].childElementCount&&"code"===t[n].firstChild.tagName.toLowerCase()){var a=t[n].firstChild.innerHTML.trim(),i=t[n].firstChild.getAttribute("data-language")||"";if(""===i)for(var s=t[n].firstChild.className.split(" "),c=0;c<s.length;++c){var l=s[c].match(/^language-(.+)$/);if(null!==l){i=l[1];break}}a=o.helper.unescapeHTMLEntities(a),r.push(a),t[n].outerHTML='<precode language="'+i+'" precodenum="'+n.toString()+'"></precode>'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}(r)};!function e(t){for(var r=0;r<t.childNodes.length;++r){var n=t.childNodes[r];3===n.nodeType?/\S/.test(n.nodeValue)?(n.nodeValue=n.nodeValue.split("\n").join(" "),n.nodeValue=n.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(n),--r):1===n.nodeType&&e(n)}}(r);for(var a=r.childNodes,i="",s=0;s<a.length;s++)i+=o.subParser("makeMarkdown.node")(a[s],n);return i},this.setOption=function(e,r){t[e]=r},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){h(e,t=t||null)},this.useExtension=function(e){h(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var r=u[e];for(var n in i=e,r)r.hasOwnProperty(n)&&(t[n]=r[n])},this.getFlavor=function(){return i},this.removeExtension=function(e){o.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var a=e[t],i=0;i<r.length;++i)r[i]===a&&r[i].splice(i,1);for(;0<n.length;++i)n[0]===a&&n[0].splice(i,1)}},this.getAllExtensions=function(){return{language:r,output:n}},this.getMetadata=function(e){return e?p.raw:p.parsed},this.getMetadataFormat=function(){return p.format},this._setMetadataPair=function(e,t){p.parsed[e]=t},this._setMetadataFormat=function(e){p.format=e},this._setMetadataRaw=function(e){p.raw=e}},o.subParser("anchors",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,l){if(o.helper.isUndefined(l)&&(l=""),a=a.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),i="#"+a,o.helper.isUndefined(r.gUrls[a]))return e;i=r.gUrls[a],o.helper.isUndefined(r.gTitles[a])||(l=r.gTitles[a])}var u='<a href="'+(i=i.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"';return""!==l&&null!==l&&(u+=' title="'+(l=(l=l.replace(/"/g,"&quot;")).replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(i)&&(u+=' rel="noopener noreferrer" target="¨E95Eblank"'),u+=">"+n+"</a>"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,r,n,a,i){if("\\"===n)return r+a;if(!o.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,i),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'<a href="'+s+'"'+c+">"+a+"</a>"}))),e=r.converter._dispatch("anchors.after",e,t,r)}));var f=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,m=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,b=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,k=function(e){"use strict";return function(t,r,n,a,i,s,c){var l=n=n.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback),u="",d="",p=r||"",h=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),p+'<a href="'+n+'"'+d+">"+l+"</a>"+u+h}},y=function(e,t){"use strict";return function(r,n,a){var i="mailto:";return n=n||"",a=o.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(i=o.helper.encodeEmailAddress(i+a),a=o.helper.encodeEmailAddress(a)):i+=a,n+'<a href="'+i+'">'+a+"</a>"}};o.subParser("autoLinks",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(m,k(t))).replace(_,y(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)})),o.subParser("simplifiedAutoLinks",(function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,k(t)):e.replace(f,k(t))).replace(b,y(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e})),o.subParser("blockGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=o.subParser("blockQuotes")(e,t,r),e=o.subParser("headers")(e,t,r),e=o.subParser("horizontalRule")(e,t,r),e=o.subParser("lists")(e,t,r),e=o.subParser("codeBlocks")(e,t,r),e=o.subParser("tables")(e,t,r),e=o.subParser("hashHTMLBlocks")(e,t,r),e=o.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)})),o.subParser("blockQuotes",(function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=o.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=o.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1  ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")})),o.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)})),e=r.converter._dispatch("blockQuotes.after",e,t,r)})),o.subParser("codeBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,n,a){var i=n,s=a,c="\n";return i=o.subParser("outdent")(i,t,r),i=o.subParser("encodeCode")(i,t,r),i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),i="<pre><code>"+i+c+"</code></pre>",o.subParser("hashBlock")(i,t,r)+s}))).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)})),o.subParser("codeSpans",(function(e,t,r){"use strict";return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,n,a,i){var s=i;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+"<code>"+(s=o.subParser("encodeCode")(s,t,r))+"</code>",s=o.subParser("hashHTMLSpans")(s,t,r)})),e=r.converter._dispatch("codeSpans.after",e,t,r)})),o.subParser("completeHTMLDocument",(function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="<!DOCTYPE HTML>\n",o="",i='<meta charset="utf-8">\n',s="",c="";for(var l in void 0!==r.metadata.parsed.doctype&&(a="<!DOCTYPE "+r.metadata.parsed.doctype+">\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(i='<meta charset="utf-8">')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":o="<title>"+r.metadata.parsed.title+"</title>\n";break;case"charset":i="html"===n||"html5"===n?'<meta charset="'+r.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+r.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[l]+'"',c+='<meta name="'+l+'" content="'+r.metadata.parsed[l]+'">\n';break;default:c+='<meta name="'+l+'" content="'+r.metadata.parsed[l]+'">\n'}return e=a+"<html"+s+">\n<head>\n"+o+i+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)})),o.subParser("detab",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g,"    ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var r=t,n=4-r.length%4,a=0;a<n;a++)r+=" ";return r}))).replace(/¨A/g,"    ")).replace(/¨B/g,""),e=r.converter._dispatch("detab.after",e,t,r)})),o.subParser("ellipsis",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("ellipsis.before",e,t,r)).replace(/\.\.\./g,"…"),e=r.converter._dispatch("ellipsis.after",e,t,r)})),o.subParser("emoji",(function(e,t,r){"use strict";if(!t.emoji)return e;return e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(/:([\S]+?):/g,(function(e,t){return o.helper.emojis.hasOwnProperty(t)?o.helper.emojis[t]:e})),e=r.converter._dispatch("emoji.after",e,t,r)})),o.subParser("encodeAmpsAndAngles",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=r.converter._dispatch("encodeAmpsAndAngles.before",e,t,r)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)})),o.subParser("encodeBackslashEscapes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,o.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)})),o.subParser("encodeCode",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)})),o.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)})),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)})),o.subParser("githubCodeBlocks",(function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,n,a,i){var s=t.omitExtraWLInCodeBlocks?"":"\n";return i=o.subParser("encodeCode")(i,t,r),i="<pre><code"+(a?' class="'+a+" language-"+a+'"':"")+">"+(i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",i=o.subParser("hashBlock")(i,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}))).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e})),o.subParser("hashBlock",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",e=r.converter._dispatch("hashBlock.after",e,t,r)})),o.subParser("hashCodeTags",(function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)})),o.subParser("hashElement",(function(e,t,r){"use strict";return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}})),o.subParser("hashHTMLBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],a=function(e,t,n,a){var o=e;return-1!==n.search(/\bmarkdown\b/)&&(o=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(o)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"&lt;"+t+"&gt;"})));for(var i=0;i<n.length;++i)for(var s,c=new RegExp("^ {0,3}(<"+n[i]+"\\b[^>]*>)","im"),l="<"+n[i]+"\\b[^>]*>",u="</"+n[i]+">";-1!==(s=o.helper.regexIndexOf(e,c));){var d=o.helper.splitAtIndex(e,s),p=o.helper.replaceRecursiveRegExp(d[1],a,l,u,"im");if(p===d[1])break;e=d[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=(e=o.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)})),o.subParser("hashHTMLSpans",(function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,(function(e){return n(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<[^>]+?>/gi,(function(e){return n(e)})),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)})),o.subParser("unhashHTMLSpans",(function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n<r.gHtmlSpans.length;++n){for(var a=r.gHtmlSpans[n],o=0;/¨C(\d+)C/.test(a);){var i=RegExp.$1;if(a=a.replace("¨C"+i+"C",r.gHtmlSpans[i]),10===o){console.error("maximum nesting of 10 spans reached!!!");break}++o}e=e.replace("¨C"+n+"C",a)}return e=r.converter._dispatch("unhashHTMLSpans.after",e,t,r)})),o.subParser("hashPreCodeTags",(function(e,t,r){"use strict";e=r.converter._dispatch("hashPreCodeTags.before",e,t,r);return e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)})),o.subParser("headers",(function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,i=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l="<h"+n+s+">"+i+"</h"+n+">";return o.subParser("hashBlock")(l,t,r)}))).replace(i,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l=n+1,u="<h"+l+s+">"+i+"</h"+l+">";return o.subParser("hashBlock")(u,t,r)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var n,a;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return n=e,a=o.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(s,(function(e,a,i){var s=i;t.customizedHeaderId&&(s=i.replace(/\s?\{([^{]+?)}\s*$/,""));var l=o.subParser("spanGamut")(s,t,r),u=t.noHeaderId?"":' id="'+c(i)+'"',d=n-1+a.length,p="<h"+d+u+">"+l+"</h"+d+">";return o.subParser("hashBlock")(p,t,r)})),e=r.converter._dispatch("headers.after",e,t,r)})),o.subParser("horizontalRule",(function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=o.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=r.converter._dispatch("horizontalRule.after",e,t,r)})),o.subParser("images",(function(e,t,r){"use strict";function n(e,t,n,a,i,s,c,l){var u=r.gUrls,d=r.gTitles,p=r.gDimensions;if(n=n.toLowerCase(),l||(l=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,o.helper.isUndefined(u[n]))return e;a=u[n],o.helper.isUndefined(d[n])||(l=d[n]),o.helper.isUndefined(p[n])||(i=p[n].width,s=p[n].height)}t=t.replace(/"/g,"&quot;").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback);var h='<img src="'+(a=a.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'" alt="'+t+'"';return l&&o.helper.isString(l)&&(h+=' title="'+(l=l.replace(/"/g,"&quot;").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"'),i&&s&&(h+=' width="'+(i="*"===i?"auto":i)+'"',h+=' height="'+(s="*"===s?"auto":s)+'"'),h+=" />"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,r,a,o,i,s,c){return n(e,t,r,a=a.replace(/\s/g,""),o,i,s,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=r.converter._dispatch("images.after",e,t,r)})),o.subParser("italicsAndBold",(function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return n(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return n(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return n(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e})),e=r.converter._dispatch("italicsAndBold.after",e,t,r)})),o.subParser("lists",(function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(a,(function(e,n,a,s,c,l,u){u=u&&""!==u.trim();var d=o.subParser("outdent")(c,t,r),p="";return l&&t.tasklists&&(p=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"}))),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),n||d.search(/\n{2,}/)>-1?(d=o.subParser("githubCodeBlocks")(d,t,r),d=o.subParser("blockGamut")(d,t,r)):(d=(d=o.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=o.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=i?o.subParser("paragraphs")(d,t,r):o.subParser("spanGamut")(d,t,r)),d="<li"+p+">"+(d=d.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),r.gListLevel--,n&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function i(e,r,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?i:s,l="";if(-1!==e.search(c))!function t(u){var d=u.search(c),p=a(e,r);-1!==d?(l+="\n\n<"+r+p+">\n"+n(u.slice(0,d),!!o)+"</"+r+">\n",c="ul"===(r="ul"===r?"ol":"ul")?i:s,t(u.slice(d))):l+="\n\n<"+r+p+">\n"+n(u,!!o)+"</"+r+">\n"}(e);else{var u=a(e,r);l="\n\n<"+r+u+">\n"+n(e,!!o)+"</"+r+">\n"}return l}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r){return i(t,r.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r,n){return i(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)})),o.subParser("metadata",(function(e,t,r){"use strict";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,n){return r.metadata.parsed[t]=n,""}))}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,r){return n(r),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"}))).replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)})),o.subParser("outdent",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=r.converter._dispatch("outdent.after",e,t,r)})),o.subParser("paragraphs",(function(e,t,r){"use strict";for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],i=n.length,s=0;s<i;s++){var c=n[s];c.search(/¨(K|G)(\d+)\1/g)>=0?a.push(c):c.search(/\S/)>=0&&(c=(c=o.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"<p>"),c+="</p>",a.push(c))}for(i=a.length,s=0;s<i;s++){for(var l="",u=a[s],d=!1;/¨(K|G)(\d+)\1/.test(u);){var p=RegExp.$1,h=RegExp.$2;l=(l="K"===p?r.gHtmlBlocks[h]:d?o.subParser("encodeCode")(r.ghCodeBlocks[h].text,t,r):r.ghCodeBlocks[h].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(d=!0)}a[s]=u}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)})),o.subParser("runExtension",(function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t})),o.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=o.subParser("codeSpans")(e,t,r),e=o.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=o.subParser("encodeBackslashEscapes")(e,t,r),e=o.subParser("images")(e,t,r),e=o.subParser("anchors")(e,t,r),e=o.subParser("autoLinks")(e,t,r),e=o.subParser("simplifiedAutoLinks")(e,t,r),e=o.subParser("emoji")(e,t,r),e=o.subParser("underline")(e,t,r),e=o.subParser("italicsAndBold")(e,t,r),e=o.subParser("strikethrough")(e,t,r),e=o.subParser("ellipsis")(e,t,r),e=o.subParser("hashHTMLSpans")(e,t,r),e=o.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/  +\n/g,"<br />\n"),e=r.converter._dispatch("spanGamut.after",e,t,r)})),o.subParser("strikethrough",(function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=o.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),o.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,l){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=o.subParser("encodeAmpsAndAngles")(a,t,r),c?c+l:(l&&(r.gTitles[n]=l.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&i&&s&&(r.gDimensions[n]={width:i,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,n)).replace(/¨0/,"")})),o.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return"<td"+n+">"+o.subParser("spanGamut")(e,t,r)+"</td>\n"}function a(e){var a,i=e.split("\n");for(a=0;a<i.length;++a)/^ {0,3}\|/.test(i[a])&&(i[a]=i[a].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(i[a])&&(i[a]=i[a].replace(/\|[ \t]*$/,"")),i[a]=o.subParser("codeSpans")(i[a],t,r);var s,c,l,u,d=i[0].split("|").map((function(e){return e.trim()})),p=i[1].split("|").map((function(e){return e.trim()})),h=[],f=[],g=[],m=[];for(i.shift(),i.shift(),a=0;a<i.length;++a)""!==i[a].trim()&&h.push(i[a].split("|").map((function(e){return e.trim()})));if(d.length<p.length)return e;for(a=0;a<p.length;++a)g.push((s=p[a],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(a=0;a<d.length;++a)o.helper.isUndefined(g[a])&&(g[a]=""),f.push((c=d[a],l=g[a],u=void 0,u="",c=c.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+c.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+l+">"+(c=o.subParser("spanGamut")(c,t,r))+"</th>\n"));for(a=0;a<h.length;++a){for(var b=[],_=0;_<f.length;++_)o.helper.isUndefined(h[a][_]),b.push(n(h[a][_],g[_]));m.push(b)}return function(e,t){for(var r="<table>\n<thead>\n<tr>\n",n=e.length,a=0;a<n;++a)r+=e[a];for(r+="</tr>\n</thead>\n<tbody>\n",a=0;a<t.length;++a){r+="<tr>\n";for(var o=0;o<n;++o)r+=t[a][o];r+="</tr>\n"}return r+="</tbody>\n</table>\n"}(f,m)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,o.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),e=r.converter._dispatch("tables.after",e,t,r)})),o.subParser("underline",(function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),o.subParser("unescapeSpecialChars",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)})),o.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i){var s=o.subParser("makeMarkdown.node")(n[i],t);""!==s&&(r+=s)}return r="> "+(r=r.trim()).split("\n").join("\n> ")})),o.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),o.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),o.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="*"}return r})),o.subParser("makeMarkdown.header",(function(e,t,r){"use strict";var n=new Array(r+1).join("#"),a="";if(e.hasChildNodes()){a=n+" ";for(var i=e.childNodes,s=i.length,c=0;c<s;++c)a+=o.subParser("makeMarkdown.node")(i[c],t)}return a})),o.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),o.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),o.subParser("makeMarkdown.links",(function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="](",r+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),o.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,i=a.length,s=e.getAttribute("start")||1,c=0;c<i;++c)if(void 0!==a[c].tagName&&"li"===a[c].tagName.toLowerCase()){n+=("ol"===r?s.toString()+". ":"- ")+o.subParser("makeMarkdown.listItem")(a[c],t),++s}return(n+="\n\x3c!-- --\x3e\n").trim()})),o.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var r="",n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);return/\n$/.test(r)?r=r.split("\n").join("\n    ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r})),o.subParser("makeMarkdown.node",(function(e,t,r){"use strict";r=r||!1;var n="";if(3===e.nodeType)return o.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":r||(n=o.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(n=o.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(n=o.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(n=o.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(n=o.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(n=o.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(n=o.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(n=o.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(n=o.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(n=o.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(n=o.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(n=o.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(n=o.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(n=o.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":n=o.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":n=o.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":n=o.subParser("makeMarkdown.strong")(e,t);break;case"del":n=o.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":n=o.subParser("makeMarkdown.links")(e,t);break;case"img":n=o.subParser("makeMarkdown.image")(e,t);break;default:n=e.outerHTML+"\n\n"}return n})),o.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);return r=r.trim()})),o.subParser("makeMarkdown.pre",(function(e,t){"use strict";var r=e.getAttribute("prenum");return"<pre>"+t.preList[r]+"</pre>"})),o.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="~~"}return r})),o.subParser("makeMarkdown.strong",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="**";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="**"}return r})),o.subParser("makeMarkdown.table",(function(e,t){"use strict";var r,n,a="",i=[[],[]],s=e.querySelectorAll("thead>tr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;r<s.length;++r){var l=o.subParser("makeMarkdown.tableCell")(s[r],t),u="---";if(s[r].hasAttribute("style"))switch(s[r].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}i[0][r]=l.trim(),i[1][r]=u}for(r=0;r<c.length;++r){var d=i.push([])-1,p=c[r].getElementsByTagName("td");for(n=0;n<s.length;++n){var h=" ";void 0!==p[n]&&(h=o.subParser("makeMarkdown.tableCell")(p[n],t)),i[d].push(h)}}var f=3;for(r=0;r<i.length;++r)for(n=0;n<i[r].length;++n){var g=i[r][n].length;g>f&&(f=g)}for(r=0;r<i.length;++r){for(n=0;n<i[r].length;++n)1===r?":"===i[r][n].slice(-1)?i[r][n]=o.helper.padEnd(i[r][n].slice(-1),f-1,"-")+":":i[r][n]=o.helper.padEnd(i[r][n],f,"-"):i[r][n]=o.helper.padEnd(i[r][n],f);a+="| "+i[r].join(" | ")+" |\n"}return a.trim()})),o.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var r="";if(!e.hasChildNodes())return"";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t,!0);return r.trim()})),o.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=o.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(n=function(){"use strict";return o}.call(t,r,t,e))||(e.exports=n)}).call(this)},NMb1:function(e,t){e.exports=window.wp.deprecated},SVSp:function(e,t){e.exports=window.wp.shortcode},UuzZ:function(e,t){e.exports=window.wp.autop},YLtl:function(e,t){e.exports=window.lodash},abaT:function(e,t,r){"use strict";t.a=function(e,t){var r={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"},n={};for(var a in r)n[r[a]]=a;var o={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,i,s=n[this.toHex()];if(s)return s;if(null==t?void 0:t.closest){var c=this.toRgb(),l=1/0,u="black";if(!o.length)for(var d in r)o[d]=new e(r[d]).toRgb();for(var p in r){var h=(a=c,i=o[p],Math.pow(a.r-i.r,2)+Math.pow(a.g-i.g,2)+Math.pow(a.b-i.b,2));h<l&&(l=h,u=p)}return u}},t.string.push([function(t){var n=t.toLowerCase(),a="transparent"===n?"#0000":r[n];return a?new e(a).toRgb():null},"name"])}},fHnH:function(e,t,r){"use strict";r.d(t,"a",(function(){return E})),r.d(t,"b",(function(){return N}));var n={grad:.9,turn:360,rad:360/(2*Math.PI)},a=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},o=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},i=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},s=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},c=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)}},l=function(e){return{r:o(e.r),g:o(e.g),b:o(e.b),a:o(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},p=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=Math.max(t,r,n),i=o-Math.min(t,r,n),s=i?o===t?(r-n)/i:o===r?2+(n-t)/i:4+(t-r)/i:0;return{h:60*(s<0?s+6:s),s:o?i/o*100:0,v:o/255*100,a:a}},h=function(e){var t=e.h,r=e.s,n=e.v,a=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),i=n*(1-r),s=n*(1-(t-o)*r),c=n*(1-(1-t+o)*r),l=o%6;return{r:255*[n,s,i,i,c,n][l],g:255*[c,n,n,s,i,i][l],b:255*[i,i,c,n,n,s][l],a:a}},f=function(e){return{h:s(e.h),s:i(e.s,0,100),l:i(e.l,0,100),a:i(e.a)}},g=function(e){return{h:o(e.h),s:o(e.s),l:o(e.l),a:o(e.a,3)}},m=function(e){return h((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},b=function(e){return{h:(t=p(e)).h,s:(a=(200-(r=t.s))*(n=t.v)/100)>0&&a<200?r*n/100/(a<=100?a:200-a)*100:0,l:a/2,a:t.a};var t,r,n,a},_=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,k=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,w=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v={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?o(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?o(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=y.exec(e)||w.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:c({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=_.exec(e)||k.exec(e);if(!t)return null;var r,a,o=f({h:(r=t[1],a=t[2],void 0===a&&(a="deg"),Number(r)*(n[a]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return m(o)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=void 0===o?1:o;return a(t)&&a(r)&&a(n)?c({r:Number(t),g:Number(r),b:Number(n),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,o=e.a,i=void 0===o?1:o;if(!a(t)||!a(r)||!a(n))return null;var s=f({h:Number(t),s:Number(r),l:Number(n),a:Number(i)});return m(s)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,o=e.a,c=void 0===o?1:o;if(!a(t)||!a(r)||!a(n))return null;var l=function(e){return{h:s(e.h),s:i(e.s,0,100),v:i(e.v,0,100),a:i(e.a)}}({h:Number(t),s:Number(r),v:Number(n),a:Number(c)});return h(l)},"hsv"]]},j=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},T=function(e){return"string"==typeof e?j(e.trim(),v.string):"object"==typeof e&&null!==e?j(e,v.object):[null,void 0]},O=function(e,t){var r=b(e);return{h:r.h,s:i(r.s+100*t,0,100),l:r.l,a:r.a}},C=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},x=function(e,t){var r=b(e);return{h:r.h,s:r.s,l:i(r.l+100*t,0,100),a:r.a}},S=function(){function e(e){this.parsed=T(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return o(C(this.rgba),2)},e.prototype.isDark=function(){return C(this.rgba)<.5},e.prototype.isLight=function(){return C(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=l(this.rgba)).r,r=e.g,n=e.b,i=(a=e.a)<1?d(o(255*a)):"","#"+d(t)+d(r)+d(n)+i;var e,t,r,n,a,i},e.prototype.toRgb=function(){return l(this.rgba)},e.prototype.toRgbString=function(){return t=(e=l(this.rgba)).r,r=e.g,n=e.b,(a=e.a)<1?"rgba("+t+", "+r+", "+n+", "+a+")":"rgb("+t+", "+r+", "+n+")";var e,t,r,n,a},e.prototype.toHsl=function(){return g(b(this.rgba))},e.prototype.toHslString=function(){return t=(e=g(b(this.rgba))).h,r=e.s,n=e.l,(a=e.a)<1?"hsla("+t+", "+r+"%, "+n+"%, "+a+")":"hsl("+t+", "+r+"%, "+n+"%)";var e,t,r,n,a},e.prototype.toHsv=function(){return e=p(this.rgba),{h:o(e.h),s:o(e.s),v:o(e.v),a:o(e.a,3)};var e},e.prototype.invert=function(){return E({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),E(O(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),E(O(this.rgba,-e))},e.prototype.grayscale=function(){return E(O(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),E(x(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),E(x(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?E({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):o(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=b(this.rgba);return"number"==typeof e?E({h:e,s:t.s,l:t.l,a:t.a}):o(t.h)},e.prototype.isEqual=function(e){return this.toHex()===E(e).toHex()},e}(),E=function(e){return e instanceof S?e:new S(e)},B=[],N=function(e){e.forEach((function(e){B.indexOf(e)<0&&(e(S,v),B.push(e))}))}},g56x:function(e,t){e.exports=window.wp.hooks},l3Sj:function(e,t){e.exports=window.wp.i18n},ouCq:function(e,t){e.exports=window.wp.blockSerializationDefaultParser},pPDe:function(e,t,r){"use strict";var n,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}n={},a="undefined"!=typeof WeakMap,t.a=function(e,t){var r,c;function l(){r=a?new WeakMap:i()}function u(){var r,n,a,o,i,l=arguments.length;for(o=new Array(l),a=0;a<l;a++)o[a]=arguments[a];for(i=t.apply(null,o),(r=c(i)).isUniqueByDependants||(r.lastDependants&&!s(i,r.lastDependants,0)&&r.clear(),r.lastDependants=i),n=r.head;n;){if(s(n.args,o,1))return n!==r.head&&(n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=r.head,n.prev=null,r.head.prev=n,r.head=n),n.val;n=n.next}return n={val:e.apply(null,o)},o[0]=null,n.args=o,r.head&&(r.head.prev=n,n.next=r.head),r.head=n,n.val}return t||(t=o),c=a?function(e){var t,a,o,s,c,l=r,u=!0;for(t=0;t<e.length;t++){if(a=e[t],!(c=a)||"object"!=typeof c){u=!1;break}l.has(a)?l=l.get(a):(o=new WeakMap,l.set(a,o),l=o)}return l.has(n)||((s=i()).isUniqueByDependants=u,l.set(n,s)),l.get(n)}:function(){return r},u.getDependants=t,u.clear=l,l(),u}},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},rmEH:function(e,t){e.exports=window.wp.htmlEntities},wx14:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},xTGt:function(e,t){e.exports=window.wp.blob}});
\ No newline at end of file
+!function(){var e={7308:function(e,t,r){var n;/*! showdown v 1.9.1 - 02-11-2019 */
+(function(){function a(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}var o={},i={},s={},c=a(!0),l="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:a(!0),allOn:function(){"use strict";var e=a(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function d(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};o.helper.isArray(e)||(e=[e]);for(var a=0;a<e.length;++a){var i=r+" sub-extension "+a+": ",s=e[a];if("object"!=typeof s)return n.valid=!1,n.error=i+"must be an object, but "+typeof s+" given",n;if(!o.helper.isString(s.type))return n.valid=!1,n.error=i+'property "type" must be a string, but '+typeof s.type+" given",n;var c=s.type=s.type.toLowerCase();if("language"===c&&(c=s.type="lang"),"html"===c&&(c=s.type="output"),"lang"!==c&&"output"!==c&&"listener"!==c)return n.valid=!1,n.error=i+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',n;if("listener"===c){if(o.helper.isUndefined(s.listeners))return n.valid=!1,n.error=i+'. Extensions of type "listener" must have a property called "listeners"',n}else if(o.helper.isUndefined(s.filter)&&o.helper.isUndefined(s.regex))return n.valid=!1,n.error=i+c+' extensions must define either a "regex" property or a "filter" method',n;if(s.listeners){if("object"!=typeof s.listeners)return n.valid=!1,n.error=i+'"listeners" property must be an object but '+typeof s.listeners+" given",n;for(var l in s.listeners)if(s.listeners.hasOwnProperty(l)&&"function"!=typeof s.listeners[l])return n.valid=!1,n.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+typeof s.listeners[l]+" given",n}if(s.filter){if("function"!=typeof s.filter)return n.valid=!1,n.error=i+'"filter" must be a function, but '+typeof s.filter+" given",n}else if(s.regex){if(o.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return n.valid=!1,n.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",n;if(o.helper.isUndefined(s.replace))return n.valid=!1,n.error=i+'"regex" extensions must implement a replace string or function',n}}return n}function p(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}o.helper={},o.extensions={},o.setOption=function(e,t){"use strict";return c[e]=t,this},o.getOption=function(e){"use strict";return c[e]},o.getOptions=function(){"use strict";return c},o.resetOptions=function(){"use strict";c=a(!0)},o.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");o.resetOptions();var t=u[e];for(var r in l=e,t)t.hasOwnProperty(r)&&(c[r]=t[r])},o.getFlavor=function(){"use strict";return l},o.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},o.getDefaultOptions=function(e){"use strict";return a(e)},o.subParser=function(e,t){"use strict";if(o.helper.isString(e)){if(void 0===t){if(i.hasOwnProperty(e))return i[e];throw Error("SubParser named "+e+" not registered!")}i[e]=t}},o.extension=function(e,t){"use strict";if(!o.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=o.helper.stdExtName(e),o.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),o.helper.isArray(t)||(t=[t]);var r=d(t,e);if(!r.valid)throw Error(r.error);s[e]=t},o.getAllExtensions=function(){"use strict";return s},o.removeExtension=function(e){"use strict";delete s[e]},o.resetExtensions=function(){"use strict";s={}},o.validateExtension=function(e){"use strict";var t=d(e,null);return!!t.valid||(console.warn(t.error),!1)},o.hasOwnProperty("helper")||(o.helper={}),o.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},o.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},o.helper.isArray=function(e){"use strict";return Array.isArray(e)},o.helper.isUndefined=function(e){"use strict";return void 0===e},o.helper.forEach=function(e,t){"use strict";if(o.helper.isUndefined(e))throw new Error("obj param is required");if(o.helper.isUndefined(t))throw new Error("callback param is required");if(!o.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(o.helper.isArray(e))for(var r=0;r<e.length;r++)t(e[r],r,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var n in e)e.hasOwnProperty(n)&&t(e[n],n,e)}},o.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},o.helper.escapeCharactersCallback=p,o.helper.escapeCharacters=function(e,t,r){"use strict";var n="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";r&&(n="\\\\"+n);var a=new RegExp(n,"g");return e=e.replace(a,p)},o.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var h=function(e,t,r,n){"use strict";var a,o,i,s,c,l=n||"",u=l.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+l.replace(/g/g,"")),p=new RegExp(t,l.replace(/g/g,"")),h=[];do{for(a=0;i=d.exec(e);)if(p.test(i[0]))a++||(s=(o=d.lastIndex)-i[0].length);else if(a&&!--a){c=i.index+i[0].length;var f={left:{start:s,end:o},match:{start:o,end:i.index},right:{start:i.index,end:c},wholeMatch:{start:s,end:c}};if(h.push(f),!u)return h}}while(a&&(d.lastIndex=o));return h};o.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=h(e,t,r,n),o=[],i=0;i<a.length;++i)o.push([e.slice(a[i].wholeMatch.start,a[i].wholeMatch.end),e.slice(a[i].match.start,a[i].match.end),e.slice(a[i].left.start,a[i].left.end),e.slice(a[i].right.start,a[i].right.end)]);return o},o.helper.replaceRecursiveRegExp=function(e,t,r,n,a){"use strict";if(!o.helper.isFunction(t)){var i=t;t=function(){return i}}var s=h(e,r,n,a),c=e,l=s.length;if(l>0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d<l;++d)u.push(t(e.slice(s[d].wholeMatch.start,s[d].wholeMatch.end),e.slice(s[d].match.start,s[d].match.end),e.slice(s[d].left.start,s[d].left.end),e.slice(s[d].right.start,s[d].right.end))),d<l-1&&u.push(e.slice(s[d].wholeMatch.end,s[d+1].wholeMatch.start));s[l-1].wholeMatch.end<e.length&&u.push(e.slice(s[l-1].wholeMatch.end)),c=u.join("")}return c},o.helper.regexIndexOf=function(e,t,r){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var n=e.substring(r||0).search(t);return n>=0?n+(r||0):n},o.helper.splitAtIndex=function(e,t){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},o.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e}))},o.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),o.helper.regexes={asteriskDashAndColon:/([*_:~])/g},o.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},o.Converter=function(e){"use strict";var t={},r=[],n=[],a={},i=l,p={parsed:{},raw:"",format:""};function h(e,t){if(t=t||null,o.helper.isString(e)){if(t=e=o.helper.stdExtName(e),o.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new o.Converter));o.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i<e.length;++i)switch(e[i].type){case"lang":r.push(e[i]);break;case"output":n.push(e[i]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(o.extensions[e],e);if(o.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),o.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i<e.length;++i){switch(e[i].type){case"lang":r.push(e[i]);break;case"output":n.push(e[i])}if(e[i].hasOwnProperty("listeners"))for(var c in e[i].listeners)e[i].listeners.hasOwnProperty(c)&&f(c,e[i].listeners[c])}}function f(e,t){if(!o.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");a.hasOwnProperty(e)||(a[e]=[]),a[e].push(t)}!function(){for(var r in e=e||{},c)c.hasOwnProperty(r)&&(t[r]=c[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.extensions&&o.helper.forEach(t.extensions,h)}(),this._dispatch=function(e,t,r,n){if(a.hasOwnProperty(e))for(var o=0;o<a[e].length;++o){var i=a[e][o](e,t,this,r,n);i&&void 0!==i&&(t=i)}return t},this.listen=function(e,t){return f(e,t),this},this.makeHtml=function(e){if(!e)return e;var a={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:r,outputModifiers:n,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,r=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(r,"")}(e)),e="\n\n"+e+"\n\n",e=(e=o.subParser("detab")(e,t,a)).replace(/^[ \t]+$/gm,""),o.helper.forEach(r,(function(r){e=o.subParser("runExtension")(r,e,t,a)})),e=o.subParser("metadata")(e,t,a),e=o.subParser("hashPreCodeTags")(e,t,a),e=o.subParser("githubCodeBlocks")(e,t,a),e=o.subParser("hashHTMLBlocks")(e,t,a),e=o.subParser("hashCodeTags")(e,t,a),e=o.subParser("stripLinkDefinitions")(e,t,a),e=o.subParser("blockGamut")(e,t,a),e=o.subParser("unhashHTMLSpans")(e,t,a),e=(e=(e=o.subParser("unescapeSpecialChars")(e,t,a)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=o.subParser("completeHTMLDocument")(e,t,a),o.helper.forEach(n,(function(r){e=o.subParser("runExtension")(r,e,t,a)})),p=a.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var n={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n<t.length;++n)if(1===t[n].childElementCount&&"code"===t[n].firstChild.tagName.toLowerCase()){var a=t[n].firstChild.innerHTML.trim(),i=t[n].firstChild.getAttribute("data-language")||"";if(""===i)for(var s=t[n].firstChild.className.split(" "),c=0;c<s.length;++c){var l=s[c].match(/^language-(.+)$/);if(null!==l){i=l[1];break}}a=o.helper.unescapeHTMLEntities(a),r.push(a),t[n].outerHTML='<precode language="'+i+'" precodenum="'+n.toString()+'"></precode>'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}(r)};!function e(t){for(var r=0;r<t.childNodes.length;++r){var n=t.childNodes[r];3===n.nodeType?/\S/.test(n.nodeValue)?(n.nodeValue=n.nodeValue.split("\n").join(" "),n.nodeValue=n.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(n),--r):1===n.nodeType&&e(n)}}(r);for(var a=r.childNodes,i="",s=0;s<a.length;s++)i+=o.subParser("makeMarkdown.node")(a[s],n);return i},this.setOption=function(e,r){t[e]=r},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){h(e,t=t||null)},this.useExtension=function(e){h(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var r=u[e];for(var n in i=e,r)r.hasOwnProperty(n)&&(t[n]=r[n])},this.getFlavor=function(){return i},this.removeExtension=function(e){o.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var a=e[t],i=0;i<r.length;++i)r[i]===a&&r[i].splice(i,1);for(;0<n.length;++i)n[0]===a&&n[0].splice(i,1)}},this.getAllExtensions=function(){return{language:r,output:n}},this.getMetadata=function(e){return e?p.raw:p.parsed},this.getMetadataFormat=function(){return p.format},this._setMetadataPair=function(e,t){p.parsed[e]=t},this._setMetadataFormat=function(e){p.format=e},this._setMetadataRaw=function(e){p.raw=e}},o.subParser("anchors",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,l){if(o.helper.isUndefined(l)&&(l=""),a=a.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),i="#"+a,o.helper.isUndefined(r.gUrls[a]))return e;i=r.gUrls[a],o.helper.isUndefined(r.gTitles[a])||(l=r.gTitles[a])}var u='<a href="'+(i=i.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"';return""!==l&&null!==l&&(u+=' title="'+(l=(l=l.replace(/"/g,"&quot;")).replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(i)&&(u+=' rel="noopener noreferrer" target="¨E95Eblank"'),u+=">"+n+"</a>"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,r,n,a,i){if("\\"===n)return r+a;if(!o.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,i),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'<a href="'+s+'"'+c+">"+a+"</a>"}))),e=r.converter._dispatch("anchors.after",e,t,r)}));var f=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,m=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,b=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,k=function(e){"use strict";return function(t,r,n,a,i,s,c){var l=n=n.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback),u="",d="",p=r||"",h=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),p+'<a href="'+n+'"'+d+">"+l+"</a>"+u+h}},y=function(e,t){"use strict";return function(r,n,a){var i="mailto:";return n=n||"",a=o.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(i=o.helper.encodeEmailAddress(i+a),a=o.helper.encodeEmailAddress(a)):i+=a,n+'<a href="'+i+'">'+a+"</a>"}};o.subParser("autoLinks",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(m,k(t))).replace(_,y(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)})),o.subParser("simplifiedAutoLinks",(function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,k(t)):e.replace(f,k(t))).replace(b,y(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e})),o.subParser("blockGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=o.subParser("blockQuotes")(e,t,r),e=o.subParser("headers")(e,t,r),e=o.subParser("horizontalRule")(e,t,r),e=o.subParser("lists")(e,t,r),e=o.subParser("codeBlocks")(e,t,r),e=o.subParser("tables")(e,t,r),e=o.subParser("hashHTMLBlocks")(e,t,r),e=o.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)})),o.subParser("blockQuotes",(function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=o.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=o.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1  ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")})),o.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)})),e=r.converter._dispatch("blockQuotes.after",e,t,r)})),o.subParser("codeBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,n,a){var i=n,s=a,c="\n";return i=o.subParser("outdent")(i,t,r),i=o.subParser("encodeCode")(i,t,r),i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),i="<pre><code>"+i+c+"</code></pre>",o.subParser("hashBlock")(i,t,r)+s}))).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)})),o.subParser("codeSpans",(function(e,t,r){"use strict";return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,n,a,i){var s=i;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+"<code>"+(s=o.subParser("encodeCode")(s,t,r))+"</code>",s=o.subParser("hashHTMLSpans")(s,t,r)})),e=r.converter._dispatch("codeSpans.after",e,t,r)})),o.subParser("completeHTMLDocument",(function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="<!DOCTYPE HTML>\n",o="",i='<meta charset="utf-8">\n',s="",c="";for(var l in void 0!==r.metadata.parsed.doctype&&(a="<!DOCTYPE "+r.metadata.parsed.doctype+">\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(i='<meta charset="utf-8">')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":o="<title>"+r.metadata.parsed.title+"</title>\n";break;case"charset":i="html"===n||"html5"===n?'<meta charset="'+r.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+r.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[l]+'"',c+='<meta name="'+l+'" content="'+r.metadata.parsed[l]+'">\n';break;default:c+='<meta name="'+l+'" content="'+r.metadata.parsed[l]+'">\n'}return e=a+"<html"+s+">\n<head>\n"+o+i+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)})),o.subParser("detab",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g,"    ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var r=t,n=4-r.length%4,a=0;a<n;a++)r+=" ";return r}))).replace(/¨A/g,"    ")).replace(/¨B/g,""),e=r.converter._dispatch("detab.after",e,t,r)})),o.subParser("ellipsis",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("ellipsis.before",e,t,r)).replace(/\.\.\./g,"…"),e=r.converter._dispatch("ellipsis.after",e,t,r)})),o.subParser("emoji",(function(e,t,r){"use strict";if(!t.emoji)return e;return e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(/:([\S]+?):/g,(function(e,t){return o.helper.emojis.hasOwnProperty(t)?o.helper.emojis[t]:e})),e=r.converter._dispatch("emoji.after",e,t,r)})),o.subParser("encodeAmpsAndAngles",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=r.converter._dispatch("encodeAmpsAndAngles.before",e,t,r)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)})),o.subParser("encodeBackslashEscapes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,o.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)})),o.subParser("encodeCode",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)})),o.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)})),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)})),o.subParser("githubCodeBlocks",(function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,n,a,i){var s=t.omitExtraWLInCodeBlocks?"":"\n";return i=o.subParser("encodeCode")(i,t,r),i="<pre><code"+(a?' class="'+a+" language-"+a+'"':"")+">"+(i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",i=o.subParser("hashBlock")(i,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}))).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e})),o.subParser("hashBlock",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",e=r.converter._dispatch("hashBlock.after",e,t,r)})),o.subParser("hashCodeTags",(function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)})),o.subParser("hashElement",(function(e,t,r){"use strict";return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}})),o.subParser("hashHTMLBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],a=function(e,t,n,a){var o=e;return-1!==n.search(/\bmarkdown\b/)&&(o=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(o)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"&lt;"+t+"&gt;"})));for(var i=0;i<n.length;++i)for(var s,c=new RegExp("^ {0,3}(<"+n[i]+"\\b[^>]*>)","im"),l="<"+n[i]+"\\b[^>]*>",u="</"+n[i]+">";-1!==(s=o.helper.regexIndexOf(e,c));){var d=o.helper.splitAtIndex(e,s),p=o.helper.replaceRecursiveRegExp(d[1],a,l,u,"im");if(p===d[1])break;e=d[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=(e=o.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)})),o.subParser("hashHTMLSpans",(function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,(function(e){return n(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<[^>]+?>/gi,(function(e){return n(e)})),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)})),o.subParser("unhashHTMLSpans",(function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n<r.gHtmlSpans.length;++n){for(var a=r.gHtmlSpans[n],o=0;/¨C(\d+)C/.test(a);){var i=RegExp.$1;if(a=a.replace("¨C"+i+"C",r.gHtmlSpans[i]),10===o){console.error("maximum nesting of 10 spans reached!!!");break}++o}e=e.replace("¨C"+n+"C",a)}return e=r.converter._dispatch("unhashHTMLSpans.after",e,t,r)})),o.subParser("hashPreCodeTags",(function(e,t,r){"use strict";e=r.converter._dispatch("hashPreCodeTags.before",e,t,r);return e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)})),o.subParser("headers",(function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,i=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l="<h"+n+s+">"+i+"</h"+n+">";return o.subParser("hashBlock")(l,t,r)}))).replace(i,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',l=n+1,u="<h"+l+s+">"+i+"</h"+l+">";return o.subParser("hashBlock")(u,t,r)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var n,a;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return n=e,a=o.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(s,(function(e,a,i){var s=i;t.customizedHeaderId&&(s=i.replace(/\s?\{([^{]+?)}\s*$/,""));var l=o.subParser("spanGamut")(s,t,r),u=t.noHeaderId?"":' id="'+c(i)+'"',d=n-1+a.length,p="<h"+d+u+">"+l+"</h"+d+">";return o.subParser("hashBlock")(p,t,r)})),e=r.converter._dispatch("headers.after",e,t,r)})),o.subParser("horizontalRule",(function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=o.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=r.converter._dispatch("horizontalRule.after",e,t,r)})),o.subParser("images",(function(e,t,r){"use strict";function n(e,t,n,a,i,s,c,l){var u=r.gUrls,d=r.gTitles,p=r.gDimensions;if(n=n.toLowerCase(),l||(l=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,o.helper.isUndefined(u[n]))return e;a=u[n],o.helper.isUndefined(d[n])||(l=d[n]),o.helper.isUndefined(p[n])||(i=p[n].width,s=p[n].height)}t=t.replace(/"/g,"&quot;").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback);var h='<img src="'+(a=a.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'" alt="'+t+'"';return l&&o.helper.isString(l)&&(h+=' title="'+(l=l.replace(/"/g,"&quot;").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback))+'"'),i&&s&&(h+=' width="'+(i="*"===i?"auto":i)+'"',h+=' height="'+(s="*"===s?"auto":s)+'"'),h+=" />"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,r,a,o,i,s,c){return n(e,t,r,a=a.replace(/\s/g,""),o,i,s,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=r.converter._dispatch("images.after",e,t,r)})),o.subParser("italicsAndBold",(function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return n(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return n(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return n(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e})),e=r.converter._dispatch("italicsAndBold.after",e,t,r)})),o.subParser("lists",(function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(a,(function(e,n,a,s,c,l,u){u=u&&""!==u.trim();var d=o.subParser("outdent")(c,t,r),p="";return l&&t.tasklists&&(p=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"}))),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),n||d.search(/\n{2,}/)>-1?(d=o.subParser("githubCodeBlocks")(d,t,r),d=o.subParser("blockGamut")(d,t,r)):(d=(d=o.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=o.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=i?o.subParser("paragraphs")(d,t,r):o.subParser("spanGamut")(d,t,r)),d="<li"+p+">"+(d=d.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),r.gListLevel--,n&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function i(e,r,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?i:s,l="";if(-1!==e.search(c))!function t(u){var d=u.search(c),p=a(e,r);-1!==d?(l+="\n\n<"+r+p+">\n"+n(u.slice(0,d),!!o)+"</"+r+">\n",c="ul"===(r="ul"===r?"ol":"ul")?i:s,t(u.slice(d))):l+="\n\n<"+r+p+">\n"+n(u,!!o)+"</"+r+">\n"}(e);else{var u=a(e,r);l="\n\n<"+r+u+">\n"+n(e,!!o)+"</"+r+">\n"}return l}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r){return i(t,r.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r,n){return i(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)})),o.subParser("metadata",(function(e,t,r){"use strict";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,n){return r.metadata.parsed[t]=n,""}))}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,r){return n(r),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"}))).replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)})),o.subParser("outdent",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=r.converter._dispatch("outdent.after",e,t,r)})),o.subParser("paragraphs",(function(e,t,r){"use strict";for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],i=n.length,s=0;s<i;s++){var c=n[s];c.search(/¨(K|G)(\d+)\1/g)>=0?a.push(c):c.search(/\S/)>=0&&(c=(c=o.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"<p>"),c+="</p>",a.push(c))}for(i=a.length,s=0;s<i;s++){for(var l="",u=a[s],d=!1;/¨(K|G)(\d+)\1/.test(u);){var p=RegExp.$1,h=RegExp.$2;l=(l="K"===p?r.gHtmlBlocks[h]:d?o.subParser("encodeCode")(r.ghCodeBlocks[h].text,t,r):r.ghCodeBlocks[h].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(d=!0)}a[s]=u}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)})),o.subParser("runExtension",(function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t})),o.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=o.subParser("codeSpans")(e,t,r),e=o.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=o.subParser("encodeBackslashEscapes")(e,t,r),e=o.subParser("images")(e,t,r),e=o.subParser("anchors")(e,t,r),e=o.subParser("autoLinks")(e,t,r),e=o.subParser("simplifiedAutoLinks")(e,t,r),e=o.subParser("emoji")(e,t,r),e=o.subParser("underline")(e,t,r),e=o.subParser("italicsAndBold")(e,t,r),e=o.subParser("strikethrough")(e,t,r),e=o.subParser("ellipsis")(e,t,r),e=o.subParser("hashHTMLSpans")(e,t,r),e=o.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/  +\n/g,"<br />\n"),e=r.converter._dispatch("spanGamut.after",e,t,r)})),o.subParser("strikethrough",(function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=o.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),o.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,l){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=o.subParser("encodeAmpsAndAngles")(a,t,r),c?c+l:(l&&(r.gTitles[n]=l.replace(/"|'/g,"&quot;")),t.parseImgDimensions&&i&&s&&(r.gDimensions[n]={width:i,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,n)).replace(/¨0/,"")})),o.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return"<td"+n+">"+o.subParser("spanGamut")(e,t,r)+"</td>\n"}function a(e){var a,i=e.split("\n");for(a=0;a<i.length;++a)/^ {0,3}\|/.test(i[a])&&(i[a]=i[a].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(i[a])&&(i[a]=i[a].replace(/\|[ \t]*$/,"")),i[a]=o.subParser("codeSpans")(i[a],t,r);var s,c,l,u,d=i[0].split("|").map((function(e){return e.trim()})),p=i[1].split("|").map((function(e){return e.trim()})),h=[],f=[],g=[],m=[];for(i.shift(),i.shift(),a=0;a<i.length;++a)""!==i[a].trim()&&h.push(i[a].split("|").map((function(e){return e.trim()})));if(d.length<p.length)return e;for(a=0;a<p.length;++a)g.push((s=p[a],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(a=0;a<d.length;++a)o.helper.isUndefined(g[a])&&(g[a]=""),f.push((c=d[a],l=g[a],u=void 0,u="",c=c.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+c.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+l+">"+(c=o.subParser("spanGamut")(c,t,r))+"</th>\n"));for(a=0;a<h.length;++a){for(var b=[],_=0;_<f.length;++_)o.helper.isUndefined(h[a][_]),b.push(n(h[a][_],g[_]));m.push(b)}return function(e,t){for(var r="<table>\n<thead>\n<tr>\n",n=e.length,a=0;a<n;++a)r+=e[a];for(r+="</tr>\n</thead>\n<tbody>\n",a=0;a<t.length;++a){r+="<tr>\n";for(var o=0;o<n;++o)r+=t[a][o];r+="</tr>\n"}return r+"</tbody>\n</table>\n"}(f,m)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,o.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),e=r.converter._dispatch("tables.after",e,t,r)})),o.subParser("underline",(function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),o.subParser("unescapeSpecialChars",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)})),o.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i){var s=o.subParser("makeMarkdown.node")(n[i],t);""!==s&&(r+=s)}return r="> "+(r=r.trim()).split("\n").join("\n> ")})),o.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),o.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),o.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="*"}return r})),o.subParser("makeMarkdown.header",(function(e,t,r){"use strict";var n=new Array(r+1).join("#"),a="";if(e.hasChildNodes()){a=n+" ";for(var i=e.childNodes,s=i.length,c=0;c<s;++c)a+=o.subParser("makeMarkdown.node")(i[c],t)}return a})),o.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),o.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),o.subParser("makeMarkdown.links",(function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="](",r+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),o.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,i=a.length,s=e.getAttribute("start")||1,c=0;c<i;++c)if(void 0!==a[c].tagName&&"li"===a[c].tagName.toLowerCase()){n+=("ol"===r?s.toString()+". ":"- ")+o.subParser("makeMarkdown.listItem")(a[c],t),++s}return(n+="\n\x3c!-- --\x3e\n").trim()})),o.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var r="",n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);return/\n$/.test(r)?r=r.split("\n").join("\n    ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r})),o.subParser("makeMarkdown.node",(function(e,t,r){"use strict";r=r||!1;var n="";if(3===e.nodeType)return o.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":r||(n=o.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(n=o.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(n=o.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(n=o.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(n=o.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(n=o.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(n=o.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(n=o.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(n=o.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(n=o.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(n=o.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(n=o.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(n=o.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(n=o.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":n=o.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":n=o.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":n=o.subParser("makeMarkdown.strong")(e,t);break;case"del":n=o.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":n=o.subParser("makeMarkdown.links")(e,t);break;case"img":n=o.subParser("makeMarkdown.image")(e,t);break;default:n=e.outerHTML+"\n\n"}return n})),o.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);return r=r.trim()})),o.subParser("makeMarkdown.pre",(function(e,t){"use strict";var r=e.getAttribute("prenum");return"<pre>"+t.preList[r]+"</pre>"})),o.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="~~"}return r})),o.subParser("makeMarkdown.strong",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="**";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t);r+="**"}return r})),o.subParser("makeMarkdown.table",(function(e,t){"use strict";var r,n,a="",i=[[],[]],s=e.querySelectorAll("thead>tr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;r<s.length;++r){var l=o.subParser("makeMarkdown.tableCell")(s[r],t),u="---";if(s[r].hasAttribute("style"))switch(s[r].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}i[0][r]=l.trim(),i[1][r]=u}for(r=0;r<c.length;++r){var d=i.push([])-1,p=c[r].getElementsByTagName("td");for(n=0;n<s.length;++n){var h=" ";void 0!==p[n]&&(h=o.subParser("makeMarkdown.tableCell")(p[n],t)),i[d].push(h)}}var f=3;for(r=0;r<i.length;++r)for(n=0;n<i[r].length;++n){var g=i[r][n].length;g>f&&(f=g)}for(r=0;r<i.length;++r){for(n=0;n<i[r].length;++n)1===r?":"===i[r][n].slice(-1)?i[r][n]=o.helper.padEnd(i[r][n].slice(-1),f-1,"-")+":":i[r][n]=o.helper.padEnd(i[r][n],f,"-"):i[r][n]=o.helper.padEnd(i[r][n],f);a+="| "+i[r].join(" | ")+" |\n"}return a.trim()})),o.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var r="";if(!e.hasChildNodes())return"";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=o.subParser("makeMarkdown.node")(n[i],t,!0);return r.trim()})),o.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=o.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(n=function(){"use strict";return o}.call(t,r,t,e))||(e.exports=n)}).call(this)}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";r.r(n),r.d(n,{__EXPERIMENTAL_ELEMENTS:function(){return Te},__EXPERIMENTAL_PATHS_WITH_MERGE:function(){return Ce},__EXPERIMENTAL_STYLE_PROPERTY:function(){return ve},__experimentalCloneSanitizedBlock:function(){return pt},__experimentalGetAccessibleBlockLabel:function(){return Bt},__experimentalGetBlockAttributesNamesByRole:function(){return At},__experimentalGetBlockLabel:function(){return Et},__experimentalSanitizeBlockAttributes:function(){return Nt},__unstableGetBlockProps:function(){return ir},__unstableGetInnerBlocksProps:function(){return sr},__unstableSerializeAndClean:function(){return hr},children:function(){return pn},cloneBlock:function(){return ht},createBlock:function(){return ut},createBlocksFromInnerBlocksTemplate:function(){return dt},doBlocksMatchTemplate:function(){return pa},findTransform:function(){return _t},getBlockAttributes:function(){return bn},getBlockContent:function(){return dr},getBlockDefaultClassName:function(){return rr},getBlockFromExample:function(){return wt},getBlockMenuDefaultClassName:function(){return nr},getBlockSupport:function(){return Fe},getBlockTransforms:function(){return kt},getBlockType:function(){return Re},getBlockTypes:function(){return $e},getBlockVariations:function(){return Xe},getCategories:function(){return la},getChildBlockNames:function(){return Ke},getDefaultBlockName:function(){return He},getFreeformContentHandlerName:function(){return De},getGroupingBlockName:function(){return je},getPhrasingContentSchema:function(){return Vn},getPossibleBlockTransformations:function(){return bt},getSaveContent:function(){return lr},getSaveElement:function(){return cr},getUnregisteredTypeHandlerName:function(){return Oe},hasBlockSupport:function(){return qe},hasChildBlocks:function(){return We},hasChildBlocksWithInserterSupport:function(){return Ye},isReusableBlock:function(){return Ue},isTemplatePart:function(){return Ge},isUnmodifiedDefaultBlock:function(){return Tt},isValidBlockContent:function(){return Qr},isValidIcon:function(){return Ct},node:function(){return cn},normalizeIconObject:function(){return xt},parse:function(){return wn},parseWithAttributeSchema:function(){return mn},pasteHandler:function(){return ca},rawHandler:function(){return Hn},registerBlockCollection:function(){return Pe},registerBlockStyle:function(){return Qe},registerBlockType:function(){return Ne},registerBlockVariation:function(){return Je},serialize:function(){return fr},setCategories:function(){return ua},setDefaultBlockName:function(){return Ie},setFreeformContentHandlerName:function(){return Me},setGroupingBlockName:function(){return Ve},setUnregisteredTypeHandlerName:function(){return ze},store:function(){return Zt},switchToBlockType:function(){return yt},synchronizeBlocksWithTemplate:function(){return ha},unregisterBlockStyle:function(){return Ze},unregisterBlockType:function(){return Le},unregisterBlockVariation:function(){return et},unstable__bootstrapServerSideBlockDefinitions:function(){return Ee},updateCategory:function(){return da},withBlockContentContext:function(){return _a}});var e={};r.r(e),r.d(e,{__experimentalGetUnprocessedBlockTypes:function(){return w},getActiveBlockVariation:function(){return S},getBlockStyles:function(){return C},getBlockSupport:function(){return j},getBlockType:function(){return T},getBlockTypes:function(){return v},getBlockVariations:function(){return x},getCategories:function(){return B},getChildBlockNames:function(){return D},getCollections:function(){return N},getDefaultBlockName:function(){return A},getDefaultBlockVariation:function(){return E},getFreeformFallbackBlockName:function(){return P},getGroupingBlockName:function(){return M},getUnregisteredFallbackBlockName:function(){return L},hasBlockSupport:function(){return z},hasChildBlocks:function(){return I},hasChildBlocksWithInserterSupport:function(){return V},isMatchingSearchTerm:function(){return O}});var t={};r.r(t),r.d(t,{__experimentalReapplyBlockTypeFilters:function(){return Ot},__experimentalRegisterBlockType:function(){return zt},addBlockCollection:function(){return Yt},addBlockStyles:function(){return Vt},addBlockTypes:function(){return jt},addBlockVariations:function(){return Rt},removeBlockCollection:function(){return Qt},removeBlockStyles:function(){return Ht},removeBlockTypes:function(){return It},removeBlockVariations:function(){return $t},setCategories:function(){return Kt},setDefaultBlockName:function(){return Ft},setFreeformFallbackBlockName:function(){return qt},setGroupingBlockName:function(){return Gt},setUnregisteredFallbackBlockName:function(){return Ut},updateCategory:function(){return Wt}});var a=window.wp.data,o=window.lodash,i=window.wp.i18n;const s=[{slug:"text",title:(0,i.__)("Text")},{slug:"media",title:(0,i.__)("Media")},{slug:"design",title:(0,i.__)("Design")},{slug:"widgets",title:(0,i.__)("Widgets")},{slug:"theme",title:(0,i.__)("Theme")},{slug:"embed",title:(0,i.__)("Embeds")},{slug:"reusable",title:(0,i.__)("Reusable blocks")}];function c(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}const l=c("SET_DEFAULT_BLOCK_NAME"),u=c("SET_FREEFORM_FALLBACK_BLOCK_NAME"),d=c("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),p=c("SET_GROUPING_BLOCK_NAME");var h,f,g=(0,a.combineReducers)({unprocessedBlockTypes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_UNPROCESSED_BLOCK_TYPE":return{...e,[t.blockType.name]:t.blockType};case"REMOVE_BLOCK_TYPES":return(0,o.omit)(e,t.names)}return e},blockTypes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...(0,o.keyBy)(t.blockTypes,"name")};case"REMOVE_BLOCK_TYPES":return(0,o.omit)(e,t.names)}return e},blockStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...(0,o.mapValues)((0,o.keyBy)(t.blockTypes,"name"),(t=>(0,o.uniqBy)([...(0,o.get)(t,["styles"],[]).map((e=>({...e,source:"block"}))),...(0,o.get)(e,[t.name],[]).filter((e=>{let{source:t}=e;return"block"!==t}))],(e=>e.name))))};case"ADD_BLOCK_STYLES":return{...e,[t.blockName]:(0,o.uniqBy)([...(0,o.get)(e,[t.blockName],[]),...t.styles],(e=>e.name))};case"REMOVE_BLOCK_STYLES":return{...e,[t.blockName]:(0,o.filter)((0,o.get)(e,[t.blockName],[]),(e=>-1===t.styleNames.indexOf(e.name)))}}return e},blockVariations:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return{...e,...(0,o.mapValues)((0,o.keyBy)(t.blockTypes,"name"),(t=>(0,o.uniqBy)([...(0,o.get)(t,["variations"],[]).map((e=>({...e,source:"block"}))),...(0,o.get)(e,[t.name],[]).filter((e=>{let{source:t}=e;return"block"!==t}))],(e=>e.name))))};case"ADD_BLOCK_VARIATIONS":return{...e,[t.blockName]:(0,o.uniqBy)([...(0,o.get)(e,[t.blockName],[]),...t.variations],(e=>e.name))};case"REMOVE_BLOCK_VARIATIONS":return{...e,[t.blockName]:(0,o.filter)((0,o.get)(e,[t.blockName],[]),(e=>-1===t.variationNames.indexOf(e.name)))}}return e},defaultBlockName:l,freeformFallbackBlockName:u,unregisteredFallbackBlockName:d,groupingBlockName:p,categories:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||(0,o.isEmpty)(t.category))return e;if((0,o.find)(e,["slug",t.slug]))return(0,o.map)(e,(e=>e.slug===t.slug?{...e,...t.category}:e))}return e},collections:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_COLLECTION":return{...e,[t.namespace]:{title:t.title,icon:t.icon}};case"REMOVE_BLOCK_COLLECTION":return(0,o.omit)(e,t.namespace)}return e}});function m(e){return[e]}function b(){var e={clear:function(){e.head=null}};return e}function _(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function k(e,t){var r,n;function a(){r=f?new WeakMap:b()}function o(){var r,a,o,i,s,c=arguments.length;for(i=new Array(c),o=0;o<c;o++)i[o]=arguments[o];for(s=t.apply(null,i),(r=n(s)).isUniqueByDependants||(r.lastDependants&&!_(s,r.lastDependants,0)&&r.clear(),r.lastDependants=s),a=r.head;a;){if(_(a.args,i,1))return a!==r.head&&(a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=r.head,a.prev=null,r.head.prev=a,r.head=a),a.val;a=a.next}return a={val:e.apply(null,i)},i[0]=null,a.args=i,r.head&&(r.head.prev=a,a.next=r.head),r.head=a,a.val}return t||(t=m),n=f?function(e){var t,n,a,o,i,s=r,c=!0;for(t=0;t<e.length;t++){if(n=e[t],!(i=n)||"object"!=typeof i){c=!1;break}s.has(n)?s=s.get(n):(a=new WeakMap,s.set(n,a),s=a)}return s.has(h)||((o=b()).isUniqueByDependants=c,s.set(h,o)),s.get(h)}:function(){return r},o.getDependants=t,o.clear=a,a(),o}h={},f="undefined"!=typeof WeakMap;const y=(e,t)=>"string"==typeof t?T(e,t):t;function w(e){return e.unprocessedBlockTypes}const v=k((e=>Object.values(e.blockTypes)),(e=>[e.blockTypes]));function T(e,t){return e.blockTypes[t]}function C(e,t){return e.blockStyles[t]}const x=k(((e,t,r)=>{const n=e.blockVariations[t];return n&&r?n.filter((e=>(e.scope||["block","inserter"]).includes(r))):n}),((e,t)=>[e.blockVariations[t]]));function S(e,t,r,n){const a=x(e,t,n);return null==a?void 0:a.find((n=>{var a;if(Array.isArray(n.isActive)){const a=T(e,t),o=Object.keys((null==a?void 0:a.attributes)||{}),i=n.isActive.filter((e=>o.includes(e)));return 0!==i.length&&i.every((e=>r[e]===n.attributes[e]))}return null===(a=n.isActive)||void 0===a?void 0:a.call(n,r,n.attributes)}))}function E(e,t,r){const n=x(e,t,r);return(0,o.findLast)(n,"isDefault")||(0,o.first)(n)}function B(e){return e.categories}function N(e){return e.collections}function A(e){return e.defaultBlockName}function P(e){return e.freeformFallbackBlockName}function L(e){return e.unregisteredFallbackBlockName}function M(e){return e.groupingBlockName}const D=k(((e,t)=>(0,o.map)((0,o.filter)(e.blockTypes,(e=>(0,o.includes)(e.parent,t))),(e=>{let{name:t}=e;return t}))),(e=>[e.blockTypes])),j=(e,t,r,n)=>{const a=y(e,t);return null!=a&&a.supports?(0,o.get)(a.supports,r,n):n};function z(e,t,r,n){return!!j(e,t,r,n)}function O(e,t,r){const n=y(e,t),a=(0,o.flow)([o.deburr,e=>e.toLowerCase(),e=>e.trim()]),i=a(r),s=(0,o.flow)([a,e=>(0,o.includes)(e,i)]);return s(n.title)||(0,o.some)(n.keywords,s)||s(n.category)}const I=(e,t)=>D(e,t).length>0,V=(e,t)=>(0,o.some)(D(e,t),(t=>z(e,t,"inserter",!0)));var H=window.wp.hooks;const R="core/blocks";var $={grad:.9,turn:360,rad:360/(2*Math.PI)},F=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},q=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},U=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},G=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},K=function(e){return{r:U(e.r,0,255),g:U(e.g,0,255),b:U(e.b,0,255),a:U(e.a)}},W=function(e){return{r:q(e.r),g:q(e.g),b:q(e.b),a:q(e.a,3)}},Y=/^#([0-9a-f]{3,8})$/i,Q=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Z=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=Math.max(t,r,n),i=o-Math.min(t,r,n),s=i?o===t?(r-n)/i:o===r?2+(n-t)/i:4+(t-r)/i:0;return{h:60*(s<0?s+6:s),s:o?i/o*100:0,v:o/255*100,a:a}},X=function(e){var t=e.h,r=e.s,n=e.v,a=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),i=n*(1-r),s=n*(1-(t-o)*r),c=n*(1-(1-t+o)*r),l=o%6;return{r:255*[n,s,i,i,c,n][l],g:255*[c,n,n,s,i,i][l],b:255*[i,i,c,n,n,s][l],a:a}},J=function(e){return{h:G(e.h),s:U(e.s,0,100),l:U(e.l,0,100),a:U(e.a)}},ee=function(e){return{h:q(e.h),s:q(e.s),l:q(e.l),a:q(e.a,3)}},te=function(e){return X((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},re=function(e){return{h:(t=Z(e)).h,s:(a=(200-(r=t.s))*(n=t.v)/100)>0&&a<200?r*n/100/(a<=100?a:200-a)*100:0,l:a/2,a:t.a};var t,r,n,a},ne=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ae=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,oe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ie=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,se={string:[[function(e){var t=Y.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?q(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?q(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=oe.exec(e)||ie.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:K({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=ne.exec(e)||ae.exec(e);if(!t)return null;var r,n,a=J({h:(r=t[1],n=t[2],void 0===n&&(n="deg"),Number(r)*($[n]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return te(a)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=void 0===a?1:a;return F(t)&&F(r)&&F(n)?K({r:Number(t),g:Number(r),b:Number(n),a:Number(o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,a=e.a,o=void 0===a?1:a;if(!F(t)||!F(r)||!F(n))return null;var i=J({h:Number(t),s:Number(r),l:Number(n),a:Number(o)});return te(i)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,a=e.a,o=void 0===a?1:a;if(!F(t)||!F(r)||!F(n))return null;var i=function(e){return{h:G(e.h),s:U(e.s,0,100),v:U(e.v,0,100),a:U(e.a)}}({h:Number(t),s:Number(r),v:Number(n),a:Number(o)});return X(i)},"hsv"]]},ce=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},le=function(e){return"string"==typeof e?ce(e.trim(),se.string):"object"==typeof e&&null!==e?ce(e,se.object):[null,void 0]},ue=function(e,t){var r=re(e);return{h:r.h,s:U(r.s+100*t,0,100),l:r.l,a:r.a}},de=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},pe=function(e,t){var r=re(e);return{h:r.h,s:r.s,l:U(r.l+100*t,0,100),a:r.a}},he=function(){function e(e){this.parsed=le(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return q(de(this.rgba),2)},e.prototype.isDark=function(){return de(this.rgba)<.5},e.prototype.isLight=function(){return de(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=W(this.rgba)).r,r=e.g,n=e.b,o=(a=e.a)<1?Q(q(255*a)):"","#"+Q(t)+Q(r)+Q(n)+o;var e,t,r,n,a,o},e.prototype.toRgb=function(){return W(this.rgba)},e.prototype.toRgbString=function(){return t=(e=W(this.rgba)).r,r=e.g,n=e.b,(a=e.a)<1?"rgba("+t+", "+r+", "+n+", "+a+")":"rgb("+t+", "+r+", "+n+")";var e,t,r,n,a},e.prototype.toHsl=function(){return ee(re(this.rgba))},e.prototype.toHslString=function(){return t=(e=ee(re(this.rgba))).h,r=e.s,n=e.l,(a=e.a)<1?"hsla("+t+", "+r+"%, "+n+"%, "+a+")":"hsl("+t+", "+r+"%, "+n+"%)";var e,t,r,n,a},e.prototype.toHsv=function(){return e=Z(this.rgba),{h:q(e.h),s:q(e.s),v:q(e.v),a:q(e.a,3)};var e},e.prototype.invert=function(){return fe({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),fe(ue(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),fe(ue(this.rgba,-e))},e.prototype.grayscale=function(){return fe(ue(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),fe(pe(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),fe(pe(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?fe({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):q(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=re(this.rgba);return"number"==typeof e?fe({h:e,s:t.s,l:t.l,a:t.a}):q(t.h)},e.prototype.isEqual=function(e){return this.toHex()===fe(e).toHex()},e}(),fe=function(e){return e instanceof he?e:new he(e)},ge=[];var me=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},be=function(e){return.2126*me(e.r)+.7152*me(e.g)+.0722*me(e.b)};var _e=window.wp.element,ke=window.wp.dom;const ye="block-default",we=["attributes","supports","save","migrate","isEligible","apiVersion"],ve={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},background:{value:["color","gradient"],support:["color","gradients"]},backgroundColor:{value:["color","background"],support:["color","background"],requiresOptOut:!0},borderColor:{value:["border","color"],support:["__experimentalBorder","color"]},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"],properties:{borderTopLeftRadius:"topLeft",borderTopRightRadius:"topRight",borderBottomLeftRadius:"bottomLeft",borderBottomRightRadius:"bottomRight"}},borderStyle:{value:["border","style"],support:["__experimentalBorder","style"]},borderWidth:{value:["border","width"],support:["__experimentalBorder","width"]},color:{value:["color","text"],support:["color","text"],requiresOptOut:!0},linkColor:{value:["elements","link","color","text"],support:["color","link"]},fontFamily:{value:["typography","fontFamily"],support:["typography","__experimentalFontFamily"]},fontSize:{value:["typography","fontSize"],support:["typography","fontSize"]},fontStyle:{value:["typography","fontStyle"],support:["typography","__experimentalFontStyle"]},fontWeight:{value:["typography","fontWeight"],support:["typography","__experimentalFontWeight"]},lineHeight:{value:["typography","lineHeight"],support:["typography","lineHeight"]},margin:{value:["spacing","margin"],support:["spacing","margin"],properties:{marginTop:"top",marginRight:"right",marginBottom:"bottom",marginLeft:"left"}},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:{paddingTop:"top",paddingRight:"right",paddingBottom:"bottom",paddingLeft:"left"}},textDecoration:{value:["typography","textDecoration"],support:["typography","__experimentalTextDecoration"]},textTransform:{value:["typography","textTransform"],support:["typography","__experimentalTextTransform"]},letterSpacing:{value:["typography","letterSpacing"],support:["typography","__experimentalLetterSpacing"]},"--wp--style--block-gap":{value:["spacing","blockGap"],support:["spacing","blockGap"]}},Te={link:"a",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},Ce={"color.duotone":!0,"color.gradients":!0,"color.palette":!0,"typography.fontFamilies":!0,"typography.fontSizes":!0},xe={title:"block title",description:"block description",keywords:["block keyword"],styles:[{label:"block style label"}],variations:[{title:"block variation title",description:"block variation description",keywords:["block variation keyword"]}]},Se={};function Ee(e){for(const t of Object.keys(e))Se[t]?void 0===Se[t].apiVersion&&e[t].apiVersion&&(Se[t].apiVersion=e[t].apiVersion):Se[t]=(0,o.mapKeys)((0,o.pickBy)(e[t],(e=>!(0,o.isNil)(e))),((e,t)=>(0,o.camelCase)(t)))}function Be(e){let{textdomain:t,...r}=e;const n=(0,o.pick)(r,["apiVersion","title","category","parent","icon","description","keywords","attributes","providesContext","usesContext","supports","styles","example","variations"]);return t&&Object.keys(xe).forEach((e=>{n[e]&&(n[e]=Ae(xe[e],n[e],t))})),n}function Ne(e,t){const r=(0,o.isObject)(e)?e.name:e;if("string"!=typeof r)return void console.error("Block names must be strings.");if(!/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(r))return void console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block");if((0,a.select)(Zt).getBlockType(r))return void console.error('Block "'+r+'" is already registered.');(0,o.isObject)(e)&&Ee({[r]:Be(e)});const n={name:r,icon:ye,keywords:[],attributes:{},providesContext:{},usesContext:[],supports:{},styles:[],variations:[],save:()=>null,...null==Se?void 0:Se[r],...t};return(0,a.dispatch)(Zt).__experimentalRegisterBlockType(n),(0,a.select)(Zt).getBlockType(r)}function Ae(e,t,r){return(0,o.isString)(e)&&(0,o.isString)(t)?(0,i._x)(t,e,r):(0,o.isArray)(e)&&!(0,o.isEmpty)(e)&&(0,o.isArray)(t)?t.map((t=>Ae(e[0],t,r))):(0,o.isObject)(e)&&!(0,o.isEmpty)(e)&&(0,o.isObject)(t)?Object.keys(t).reduce(((n,a)=>e[a]?(n[a]=Ae(e[a],t[a],r),n):(n[a]=t[a],n)),{}):t}function Pe(e,t){let{title:r,icon:n}=t;(0,a.dispatch)(Zt).addBlockCollection(e,r,n)}function Le(e){const t=(0,a.select)(Zt).getBlockType(e);if(t)return(0,a.dispatch)(Zt).removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function Me(e){(0,a.dispatch)(Zt).setFreeformFallbackBlockName(e)}function De(){return(0,a.select)(Zt).getFreeformFallbackBlockName()}function je(){return(0,a.select)(Zt).getGroupingBlockName()}function ze(e){(0,a.dispatch)(Zt).setUnregisteredFallbackBlockName(e)}function Oe(){return(0,a.select)(Zt).getUnregisteredFallbackBlockName()}function Ie(e){(0,a.dispatch)(Zt).setDefaultBlockName(e)}function Ve(e){(0,a.dispatch)(Zt).setGroupingBlockName(e)}function He(){return(0,a.select)(Zt).getDefaultBlockName()}function Re(e){var t;return null===(t=(0,a.select)(Zt))||void 0===t?void 0:t.getBlockType(e)}function $e(){return(0,a.select)(Zt).getBlockTypes()}function Fe(e,t,r){return(0,a.select)(Zt).getBlockSupport(e,t,r)}function qe(e,t,r){return(0,a.select)(Zt).hasBlockSupport(e,t,r)}function Ue(e){return"core/block"===(null==e?void 0:e.name)}function Ge(e){return"core/template-part"===e.name}const Ke=e=>(0,a.select)(Zt).getChildBlockNames(e),We=e=>(0,a.select)(Zt).hasChildBlocks(e),Ye=e=>(0,a.select)(Zt).hasChildBlocksWithInserterSupport(e),Qe=(e,t)=>{(0,a.dispatch)(Zt).addBlockStyles(e,t)},Ze=(e,t)=>{(0,a.dispatch)(Zt).removeBlockStyles(e,t)},Xe=(e,t)=>(0,a.select)(Zt).getBlockVariations(e,t),Je=(e,t)=>{(0,a.dispatch)(Zt).addBlockVariations(e,t)},et=(e,t)=>{(0,a.dispatch)(Zt).removeBlockVariations(e,t)};var tt,rt=new Uint8Array(16);function nt(){if(!tt&&!(tt="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 tt(rt)}var at=/^(?:[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 ot=function(e){return"string"==typeof e&&at.test(e)},it=[],st=0;st<256;++st)it.push((st+256).toString(16).substr(1));var ct=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(it[e[t+0]]+it[e[t+1]]+it[e[t+2]]+it[e[t+3]]+"-"+it[e[t+4]]+it[e[t+5]]+"-"+it[e[t+6]]+it[e[t+7]]+"-"+it[e[t+8]]+it[e[t+9]]+"-"+it[e[t+10]]+it[e[t+11]]+it[e[t+12]]+it[e[t+13]]+it[e[t+14]]+it[e[t+15]]).toLowerCase();if(!ot(r))throw TypeError("Stringified UUID is invalid");return r};var lt=function(e,t,r){var n=(e=e||{}).random||(e.rng||nt)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return ct(n)};function ut(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=Nt(e,t),a=lt();return{clientId:a,name:e,isValid:!0,attributes:n,innerBlocks:r}}function dt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((e=>{const t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],[r,n,a=[]]=t;return ut(r,n,dt(a))}))}function pt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const n=lt(),a=Nt(e.name,{...e.attributes,...t});return{...e,clientId:n,attributes:a,innerBlocks:r||e.innerBlocks.map((e=>pt(e)))}}function ht(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const n=lt();return{...e,clientId:n,attributes:{...e.attributes,...t},innerBlocks:r||e.innerBlocks.map((e=>ht(e)))}}const ft=(e,t,r)=>{if((0,o.isEmpty)(r))return!1;const n=r.length>1,a=(0,o.first)(r).name;if(!(gt(e)||!n||e.isMultiBlock))return!1;if(!gt(e)&&!(0,o.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;const i=(0,o.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||gt(e)))return!1;if(!n&&mt(i.name)&&mt(e.blockName))return!1;if((0,o.isFunction)(e.isMatch)){const t=e.isMultiBlock?r.map((e=>e.attributes)):i.attributes,n=e.isMultiBlock?r:i;if(!e.isMatch(t,n))return!1}return!(e.usingMobileTransformations&&gt(e)&&!mt(i.name))},gt=e=>e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*"),mt=e=>e===je();function bt(e){if((0,o.isEmpty)(e))return[];const t=(e=>{if((0,o.isEmpty)(e))return[];const t=$e();return(0,o.filter)(t,(t=>!!_t(kt("from",t.name),(t=>ft(t,"from",e)))))})(e),r=(e=>{if((0,o.isEmpty)(e))return[];const t=Re((0,o.first)(e).name),r=t?kt("to",t.name):[],n=(0,o.filter)(r,(t=>t&&ft(t,"to",e)));return(0,o.flatMap)(n,(e=>e.blocks)).map((e=>Re(e)))})(e);return(0,o.uniq)([...t,...r])}function _t(e,t){const r=(0,H.createHooks)();for(let n=0;n<e.length;n++){const a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(e=>e||a),a.priority)}return r.applyFilters("transform",null)}function kt(e,t){if(void 0===t)return(0,o.flatMap)($e(),(t=>{let{name:r}=t;return kt(e,r)}));const r=St(t),{name:n,transforms:a}=r||{};if(!a||!Array.isArray(a[e]))return[];const i=a.supportedMobileTransforms&&Array.isArray(a.supportedMobileTransforms),s=i?(0,o.filter)(a[e],(e=>"raw"===e.type||!(!e.blocks||!e.blocks.length)&&(!!gt(e)||(0,o.every)(e.blocks,(e=>a.supportedMobileTransforms.includes(e)))))):a[e];return s.map((e=>({...e,blockName:n,usingMobileTransformations:i})))}function yt(e,t){const r=(0,o.castArray)(e),n=r.length>1,a=r[0],i=a.name,s=kt("from",t),c=_t(kt("to",i),(e=>"block"===e.type&&(gt(e)||-1!==e.blocks.indexOf(t))&&(!n||e.isMultiBlock)))||_t(s,(e=>"block"===e.type&&(gt(e)||-1!==e.blocks.indexOf(i))&&(!n||e.isMultiBlock)));if(!c)return null;let l;if(l=c.isMultiBlock?(0,o.has)(c,"__experimentalConvert")?c.__experimentalConvert(r):c.transform(r.map((e=>e.attributes)),r.map((e=>e.innerBlocks))):(0,o.has)(c,"__experimentalConvert")?c.__experimentalConvert(a):c.transform(a.attributes,a.innerBlocks),!(0,o.isObjectLike)(l))return null;if(l=(0,o.castArray)(l),l.some((e=>!Re(e.name))))return null;if(!(0,o.some)(l,(e=>e.name===t)))return null;return l.map((t=>(0,H.applyFilters)("blocks.switchToBlockType.transformedBlock",t,e)))}const wt=(e,t)=>ut(e,t.attributes,(0,o.map)(t.innerBlocks,(e=>wt(e.name,e))));!function(e){e.forEach((function(e){ge.indexOf(e)<0&&(e(he,se),ge.push(e))}))}([function(e,t){var r={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"},n={};for(var a in r)n[r[a]]=a;var o={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,i,s=n[this.toHex()];if(s)return s;if(null==t?void 0:t.closest){var c=this.toRgb(),l=1/0,u="black";if(!o.length)for(var d in r)o[d]=new e(r[d]).toRgb();for(var p in r){var h=(a=c,i=o[p],Math.pow(a.r-i.r,2)+Math.pow(a.g-i.g,2)+Math.pow(a.b-i.b,2));h<l&&(l=h,u=p)}return u}},t.string.push([function(t){var n=t.toLowerCase(),a="transparent"===n?"#0000":r[n];return a?new e(a).toRgb():null},"name"])},function(e){e.prototype.luminance=function(){return e=be(this.rgba),void 0===(t=2)&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0;var e,t,r},e.prototype.contrast=function(t){void 0===t&&(t="#FFF");var r,n,a,o,i,s,c,l=t instanceof e?t:new e(t);return o=this.rgba,i=l.toRgb(),r=(s=be(o))>(c=be(i))?(s+.05)/(c+.05):(c+.05)/(s+.05),void 0===(n=2)&&(n=0),void 0===a&&(a=Math.pow(10,n)),Math.floor(a*r)/a+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(i=void 0===(o=(r=t).size)?"normal":o,"AAA"===(a=void 0===(n=r.level)?"AA":n)&&"normal"===i?7:"AA"===a&&"large"===i?3:4.5);var r,n,a,o,i}}]);const vt=["#191e23","#f8f9f9"];function Tt(e){const t=He();if(e.name!==t)return!1;Tt.block&&Tt.block.name===t||(Tt.block=ut(t));const r=Tt.block,n=Re(t);return(0,o.every)(null==n?void 0:n.attributes,((t,n)=>r.attributes[n]===e.attributes[n]))}function Ct(e){return!!e&&((0,o.isString)(e)||(0,_e.isValidElement)(e)||(0,o.isFunction)(e)||e instanceof _e.Component)}function xt(e){if(Ct(e=e||ye))return{src:e};if((0,o.has)(e,["background"])){const t=fe(e.background);return{...e,foreground:e.foreground?e.foreground:(0,o.maxBy)(vt,(e=>t.contrast(e))),shadowColor:t.alpha(.3).toRgbString()}}return e}function St(e){return(0,o.isString)(e)?Re(e):e}function Et(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"visual";const{__experimentalLabel:n,title:a}=e,o=n&&n(t,{context:r});return o?(0,ke.__unstableStripHTML)(o):a}function Bt(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vertical";const a=null==e?void 0:e.title,o=e?Et(e,t,"accessibility"):"",s=void 0!==r,c=o&&o!==a;return s&&"vertical"===n?c?(0,i.sprintf)((0,i.__)("%1$s Block. Row %2$d. %3$s"),a,r,o):(0,i.sprintf)((0,i.__)("%1$s Block. Row %2$d"),a,r):s&&"horizontal"===n?c?(0,i.sprintf)((0,i.__)("%1$s Block. Column %2$d. %3$s"),a,r,o):(0,i.sprintf)((0,i.__)("%1$s Block. Column %2$d"),a,r):c?(0,i.sprintf)((0,i.__)("%1$s Block. %2$s"),a,o):(0,i.sprintf)((0,i.__)("%s Block"),a)}function Nt(e,t){const r=Re(e);if(void 0===r)throw new Error(`Block type '${e}' is not registered.`);return(0,o.reduce)(r.attributes,((e,r,n)=>{const a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e}),{})}function At(e,t){var r;const n=null===(r=Re(e))||void 0===r?void 0:r.attributes;if(!n)return[];const a=Object.keys(n);return t?a.filter((e=>{var r;return(null===(r=n[e])||void 0===r?void 0:r.__experimentalRole)===t})):a}const{error:Pt,warn:Lt}=window.console,Mt={common:"text",formatting:"text",layout:"design"};function Dt(e){const{name:t}=e,r=(0,H.applyFilters)("blocks.registerBlockType",{...e},t);if(r.deprecated&&(r.deprecated=r.deprecated.map((r=>(0,o.pick)((0,H.applyFilters)("blocks.registerBlockType",{...(0,o.omit)(e,we),...r},t),we)))),(0,o.isPlainObject)(r))if((0,o.isFunction)(r.save))if(!("edit"in r)||(0,o.isFunction)(r.edit))if(Mt.hasOwnProperty(r.category)&&(r.category=Mt[r.category]),"category"in r&&!(0,o.some)((0,a.select)(R).getCategories(),{slug:r.category})&&(Lt('The block "'+t+'" is registered with an invalid category "'+r.category+'".'),delete r.category),"title"in r&&""!==r.title)if("string"==typeof r.title){if(r.icon=xt(r.icon),Ct(r.icon.src))return r;Pt("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional")}else Pt("Block titles must be strings.");else Pt('The block "'+t+'" must have a title.');else Pt('The "edit" property must be a valid function.');else Pt('The "save" property must be a valid function.');else Pt("Block settings must be a valid object.")}function jt(e){return{type:"ADD_BLOCK_TYPES",blockTypes:(0,o.castArray)(e)}}function*zt(e){yield{type:"ADD_UNPROCESSED_BLOCK_TYPE",blockType:e};const t=Dt(e);t&&(yield jt(t))}function*Ot(){const e=(0,a.select)(R).__experimentalGetUnprocessedBlockTypes(),t=Object.keys(e).reduce(((t,r)=>{const n=Dt(e[r]);return n&&t.push(n),t}),[]);t.length&&(yield jt(t))}function It(e){return{type:"REMOVE_BLOCK_TYPES",names:(0,o.castArray)(e)}}function Vt(e,t){return{type:"ADD_BLOCK_STYLES",styles:(0,o.castArray)(t),blockName:e}}function Ht(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:(0,o.castArray)(t),blockName:e}}function Rt(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:(0,o.castArray)(t),blockName:e}}function $t(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:(0,o.castArray)(t),blockName:e}}function Ft(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function qt(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function Ut(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function Gt(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function Kt(e){return{type:"SET_CATEGORIES",categories:e}}function Wt(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function Yt(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function Qt(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}const Zt=(0,a.createReduxStore)(R,{reducer:g,selectors:e,actions:t});(0,a.register)(Zt);var Xt=window.wp.blockSerializationDefaultParser,Jt=window.wp.autop,er=window.wp.isShallowEqual,tr=r.n(er);function rr(e){const t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return(0,H.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function nr(e){const t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return(0,H.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}const ar={},or={};function ir(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{blockType:t,attributes:r}=ar;return(0,H.applyFilters)("blocks.getSaveContent.extraProps",{...e},t,r)}function sr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{innerBlocks:t}=or,r=fr(t,{isInnerBlocks:!0}),n=(0,_e.createElement)(_e.RawHTML,null,r);return{...e,children:n}}function cr(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=St(e);let{save:a}=n;if(a.prototype instanceof _e.Component){const e=new a({attributes:t});a=e.render.bind(e)}ar.blockType=n,ar.attributes=t,or.innerBlocks=r;let i=a({attributes:t,innerBlocks:r});if((0,o.isObject)(i)&&(0,H.hasFilter)("blocks.getSaveContent.extraProps")&&!(n.apiVersion>1)){const e=(0,H.applyFilters)("blocks.getSaveContent.extraProps",{...i.props},n,t);tr()(e,i.props)||(i=(0,_e.cloneElement)(i,e))}return(0,H.applyFilters)("blocks.getSaveElement",i,n,t)}function lr(e,t,r){const n=St(e);return(0,_e.renderToString)(cr(n,t,r))}function ur(e,t){return(0,o.reduce)(e.attributes,((e,r,n)=>{const a=t[n];return void 0===a||void 0!==r.source||"default"in r&&r.default===a||(e[n]=a),e}),{})}function dr(e){let t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=lr(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function pr(e,t,r){const n=(0,o.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=(0,o.startsWith)(e,"core/")?e.slice(5):e;return r?`\x3c!-- wp:${a} ${n}--\x3e\n`+r+`\n\x3c!-- /wp:${a} --\x3e`:`\x3c!-- wp:${a} ${n}/--\x3e`}function hr(e){1===e.length&&Tt(e[0])&&(e=[]);let t=fr(e);return 1===e.length&&e[0].name===De()&&(t=(0,Jt.removep)(t)),t}function fr(e,t){return(0,o.castArray)(e).map((e=>function(e){let{isInnerBlocks:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.name,n=dr(e);if(r===Oe()||!t&&r===De())return n;const a=ur(Re(r),e.attributes);return pr(r,a,n)}(e,t))).join("\n\n")}var gr=/^#[xX]([A-Fa-f0-9]+)$/,mr=/^#([0-9]+)$/,br=/^([A-Za-z0-9]+)$/,_r=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(gr);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(mr))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(br))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),kr=/[A-Za-z]/,yr=/\r\n?/g;function wr(e){return _r.test(e)}function vr(e){return kr.test(e)}var Tr=function(){function e(e,t,r){void 0===r&&(r="precompile"),this.delegate=e,this.entityParser=t,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer;"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||vr(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){var e=this.consume();"-"===e&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===e.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){wr(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();wr(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();wr(e)?this.transitionTo("afterDoctypeName"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase())},afterDoctypeName:function(){var e=this.consume();if(!wr(e))if(">"===e)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var t=e.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),r="PUBLIC"===t.toUpperCase(),n="SYSTEM"===t.toUpperCase();(r||n)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),r?this.transitionTo("afterDoctypePublicKeyword"):n&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var e=this.peek();wr(e)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===e?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===e?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===e&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},doctypePublicIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},afterDoctypePublicIdentifier:function(){var e=this.consume();wr(e)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var e=this.consume();wr(e)||(">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},doctypeSystemIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},afterDoctypeSystemIdentifier:function(){var e=this.consume();wr(e)||">"===e&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();wr(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();wr(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();wr(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();wr(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();wr(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();wr(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();wr(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();wr(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||vr(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(yr,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),r=this.entityParser.parse(t);if(r){for(var n=t.length;n;)this.consume(),n--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer;return"title"===e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),Cr=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Tr(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},e.prototype.appendToDoctypeName=function(e){this.current("Doctype").name+=e},e.prototype.appendToDoctypePublicIdentifier=function(e){var t=this.current("Doctype");void 0===t.publicIdentifier?t.publicIdentifier=e:t.publicIdentifier+=e},e.prototype.appendToDoctypeSystemIdentifier=function(e){var t=this.current("Doctype");void 0===t.systemIdentifier?t.systemIdentifier=e:t.systemIdentifier+=e},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}();var xr=window.wp.htmlEntities;function Sr(){function e(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return e("Block validation: "+t,...n)}}return{error:e(console.error),warning:e(console.warn),getItems:()=>[]}}const Er=/[\t\n\r\v\f ]+/g,Br=/^[\t\n\r\v\f ]*$/,Nr=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,Ar=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],Pr=[...Ar,"autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"],Lr=[o.identity,function(e){return Or(e).join(" ")}],Mr=/^[\da-z]+$/i,Dr=/^#\d+$/,jr=/^#x[\da-f]+$/i;class zr{parse(e){if(t=e,Mr.test(t)||Dr.test(t)||jr.test(t))return(0,xr.decodeEntities)("&"+e+";");var t}}function Or(e){return e.trim().split(Er)}function Ir(e){return e.attributes.filter((e=>{const[t,r]=e;return r||0===t.indexOf("data-")||(0,o.includes)(Pr,t)}))}function Vr(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sr(),n=e.chars,a=t.chars;for(let e=0;e<Lr.length;e++){const t=Lr[e];if(n=t(n),a=t(a),n===a)return!0}return r.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function Hr(e){return 0===parseFloat(e)?"0":0===e.indexOf(".")?"0"+e:e}function Rr(e){return Or(e).map(Hr).join(" ").replace(Nr,"url($1)")}function $r(e){const t=e.replace(/;?\s*$/,"").split(";").map((e=>{const[t,...r]=e.split(":"),n=r.join(":");return[t.trim(),Rr(n.trim())]}));return(0,o.fromPairs)(t)}const Fr={class:(e,t)=>!(0,o.xor)(...[e,t].map(Or)).length,style:(e,t)=>(0,o.isEqual)(...[e,t].map($r)),...(0,o.fromPairs)(Ar.map((e=>[e,o.stubTrue])))};function qr(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sr();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;const n={};for(let e=0;e<t.length;e++)n[t[e][0].toLowerCase()]=t[e][1];for(let t=0;t<e.length;t++){const[a,o]=e[t],i=a.toLowerCase();if(!n.hasOwnProperty(i))return r.warning("Encountered unexpected attribute `%s`.",a),!1;const s=n[i],c=Fr[i];if(c){if(!c(o,s))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,s,o),!1}else if(o!==s)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,s,o),!1}return!0}const Ur={StartTag:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sr();return e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):qr(...[e,t].map(Ir),r)},Chars:Vr,Comment:Vr};function Gr(e){let t;for(;t=e.shift();){if("Chars"!==t.type)return t;if(!Br.test(t.chars))return t}}function Kr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Sr();try{return new Cr(new zr).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}function Wr(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Yr(e,t){if(e.name===De()||e.name===Oe())return[!0];const r=function(){const e=[],t=Sr();return{error(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.error,args:n})},warning(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.warning,args:n})},getItems:()=>e}}(),n=St(t);let a;try{a=lr(n,e.attributes)}catch(e){return r.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),[!1,r.getItems()]}const o=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sr();if(e===t)return!0;const[n,a]=[e,t].map((e=>Kr(e,r)));if(!n||!a)return!1;let o,i;for(;o=Gr(n);){if(i=Gr(a),!i)return r.warning("Expected end of content, instead saw %o.",o),!1;if(o.type!==i.type)return r.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",i.type,i,o.type,o),!1;const e=Ur[o.type];if(e&&!e(o,i,r))return!1;Wr(o,a[0])?Gr(a):Wr(i,n[0])&&Gr(n)}return!(i=Gr(a))||(r.warning("Expected %o, instead saw end of content.",i),!1)}(e.originalContent,a,r);return o||r.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",n.name,n,a,e.originalContent),[o,r.getItems()]}function Qr(e,t,r){const n=St(e),a={name:n.name,attributes:t,innerBlocks:[],originalContent:r},[o]=Yr(a,n);return o}function Zr(e,t){const r={...t};if("core/cover-image"===e&&(e="core/cover"),"core/text"!==e&&"core/cover-text"!==e||(e="core/paragraph"),e&&0===e.indexOf("core/social-link-")&&(r.service=e.substring(17),e="core/social-link"),e&&0===e.indexOf("core-embed/")){const t=e.substring(11),n={speaker:"speaker-deck",polldaddy:"crowdsignal"};r.providerNameSlug=t in n?n[t]:t,["amazon-kindle","wordpress"].includes(t)||(r.responsive=!0),e="core/embed"}return"core/query-loop"===e&&(e="core/post-template"),"core/post-comment-author"===e&&(e="core/comment-author-name"),"core/post-comment-content"===e&&(e="core/comment-content"),"core/post-comment-date"===e&&(e="core/comment-date"),[e,r]}function Xr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{isCommentDelimited:r=!0}=t,{blockName:n,attrs:a={},innerBlocks:o=[],innerContent:i=[]}=e;let s=0;const c=i.map((e=>null!==e?e:Xr(o[s++],t))).join("\n").replace(/\n+/g,"\n").trim();return r?pr(n,a,c):c}function Jr(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}var en,tn=function(){return en||(en=document.implementation.createHTMLDocument("")),en};function rn(e,t){if(t){if("string"==typeof e){var r=tn();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(r,n){return r[n]=rn(e,t[n]),r}),{})}}function nn(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return Jr(n,t)}}function an(e){const t={};for(let r=0;r<e.length;r++){const{name:n,value:a}=e[r];t[n]=a}return t}function on(e){if(e.nodeType===e.TEXT_NODE)return e.nodeValue;if(e.nodeType!==e.ELEMENT_NODE)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:{...an(e.attributes),children:ln(e.childNodes)}}}function sn(e){return t=>{let r=t;e&&(r=t.querySelector(e));try{return on(r)}catch(e){return null}}}var cn={isNodeOfType:function(e,t){return e&&e.type===t},fromDOM:on,toHTML:function(e){return un([e])},matcher:sn};function ln(e){const t=[];for(let r=0;r<e.length;r++)try{t.push(on(e[r]))}catch(e){}return t}function un(e){const t=e;return(0,_e.renderToString)(t)}function dn(e){return t=>{let r=t;return e&&(r=t.querySelector(e)),r?ln(r.childNodes):[]}}var pn={concat:function(){const e=[];for(let t=0;t<arguments.length;t++){const r=(0,o.castArray)(t<0||arguments.length<=t?void 0:arguments[t]);for(let t=0;t<r.length;t++){const n=r[t];"string"==typeof n&&"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n)}}return e},getChildrenArray:function(e){return e},fromDOM:ln,toHTML:un,matcher:dn};function hn(e,t){return t.some((t=>function(e,t){switch(t){case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t)))}function fn(e,t,r,n){const{type:a,enum:i}=t;let s;switch(t.source){case void 0:s=n?n[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":s=mn(r,t)}return function(e,t){return void 0===t||hn(e,(0,o.castArray)(t))}(s,a)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(s,i)||(s=void 0),void 0===s?t.default:s}function gn(e){switch(e.source){case"attribute":let n=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=nn(e,"attributes")(r);if(n&&n.hasOwnProperty(t))return n[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(n=(e=>(0,o.flow)([e,e=>void 0!==e]))(n)),n;case"html":return t=e.selector,r=e.multiline,e=>{let n=e;if(t&&(n=e.querySelector(t)),!n)return"";if(r){let e="";const t=n.children.length;for(let a=0;a<t;a++){const t=n.children[a];t.nodeName.toLowerCase()===r&&(e+=t.outerHTML)}return e}return n.innerHTML};case"text":return function(e){return nn(e,"textContent")}(e.selector);case"children":return dn(e.selector);case"node":return sn(e.selector);case"query":const a=(0,o.mapValues)(e.query,gn);return function(e,t){return function(r){var n=r.querySelectorAll(e);return[].map.call(n,(function(e){return rn(e,t)}))}}(e.selector,a);case"tag":return(0,o.flow)([nn(e.selector,"nodeName"),e=>e?e.toLowerCase():void 0]);default:console.error(`Unknown source type "${e.source}"`)}var t,r}function mn(e,t){return rn(e,gn(t))}function bn(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=St(e),a=(0,o.mapValues)(n.attributes,((e,n)=>fn(n,e,t,r)));return(0,H.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function _n(e){const t=mn(e=`<div data-custom-class-name>${e}</div>`,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}function kn(e,t){const r=function(e,t,r){if(qe(t,"customClassName",!0)){const n=lr(t,(0,o.omit)(e,["className"])),a=_n(n),i=_n(r),s=(0,o.difference)(i,a);s.length?e.className=s.join(" "):n&&delete e.className}return e}(e.attributes,t,e.originalContent);return{...e,attributes:r}}function yn(e){let t=function(e){const t=De(),r=e.blockName||De(),n=e.attrs||{},a=e.innerBlocks||[];let o=e.innerHTML.trim();return r===t&&(o=(0,Jt.autop)(o).trim()),{...e,blockName:r,attrs:n,innerHTML:o,innerBlocks:a}}(e);t=function(e){const[t,r]=Zr(e.blockName,e.attrs);return{...e,blockName:t,attrs:r}}(t);let r=Re(t.blockName);r||(t=function(e){const t=Oe()||De(),r=Xr(e,{isCommentDelimited:!1}),n=Xr(e,{isCommentDelimited:!0});return{blockName:t,attrs:{originalName:e.blockName,originalContent:n,originalUndelimitedContent:r},innerHTML:e.blockName?n:e.innerHTML,innerBlocks:e.innerBlocks,innerContent:e.innerContent}}(t),r=Re(t.blockName));const n=t.blockName===De()||t.blockName===Oe();if(!r||!t.innerHTML&&n)return;const a=t.innerBlocks.map(yn).filter((e=>!!e));let i=ut(t.blockName,bn(r,t.innerHTML,t.attrs),a);i.originalContent=t.innerHTML;let[s,c]=Yr(i,r);return s||(i=kn(i,r),[s,c]=Yr(i,r)),i.isValid=s,i.validationIssues=c,i=function(e,t,r){const n=t.attrs,{deprecated:a}=r;if(!a||!a.length)return e;for(let t=0;t<a.length;t++){const{isEligible:i=o.stubFalse}=a[t];if(e.isValid&&!i(n,e.innerBlocks))continue;const s=Object.assign((0,o.omit)(r,we),a[t]);let c={...e,attributes:bn(s,e.originalContent,n)},[l]=Yr(c,s);if(l||(c=kn(c,s),[l]=Yr(c,s)),!l)continue;let u=c.innerBlocks,d=c.attributes;const{migrate:p}=s;p&&([d=n,u=e.innerBlocks]=(0,o.castArray)(p(d,e.innerBlocks))),e={...e,attributes:d,innerBlocks:u,isValid:!0,validationIssues:[]}}return e}(i,t,r),c&&c.length>0&&(i.isValid?(console.groupCollapsed("Updated Block: %s",r.name),console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",r.name,r,lr(r,i.attributes),i.originalContent),console.groupEnd()):c.forEach((e=>{let{log:t,args:r}=e;return t(...r)}))),i}function wn(e){return(0,Xt.parse)(e).reduce(((e,t)=>{const r=yn(t);return r&&e.push(r),e}),[])}var vn=window.wp.deprecated,Tn=r.n(vn);function Cn(){return(0,o.filter)(kt("from"),{type:"raw"}).map((e=>e.isMatch?e:{...e,isMatch:t=>e.selector&&t.matches(e.selector)}))}function xn(e){const t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children).flatMap((e=>{const t=_t(Cn(),(t=>{let{isMatch:r}=t;return r(e)}));if(!t)return ut("core/html",bn("core/html",e.outerHTML));const{transform:r,blockName:n}=t;return r?r(e):ut(n,bn(n,e.outerHTML))}))}function Sn(e){const t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){const e=n.firstChild;e.nodeType===e.TEXT_NODE?(0,ke.isEmpty)(e)?n.removeChild(e):(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(e)):e.nodeType===e.ELEMENT_NODE?"BR"===e.nodeName?(e.nextSibling&&"BR"===e.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(e.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(e):n.removeChild(e)):"P"===e.nodeName?(0,ke.isEmpty)(e)?n.removeChild(e):a.appendChild(e):(0,ke.isPhrasingContent)(e)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(e)):a.appendChild(e):n.removeChild(e)}return a.innerHTML}function En(e,t){if(e.nodeType===e.COMMENT_NODE)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){const r=e.nodeValue.slice(4).trim();let n=e,a=!1;for(;n=n.nextSibling;)if(n.nodeType===n.COMMENT_NODE&&"noteaser"===n.nodeValue){a=!0,(0,ke.remove)(n);break}(0,ke.replace)(e,function(e,t,r){const n=r.createElement("wp-block");n.dataset.block="core/more",e&&(n.dataset.customText=e);t&&(n.dataset.noTeaser="");return n}(r,a,t))}}else(0,ke.replace)(e,function(e){const t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))}function Bn(e){return"OL"===e.nodeName||"UL"===e.nodeName}function Nn(e){if(!Bn(e))return;const t=e,r=e.previousElementSibling;if(r&&r.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}const n=e.parentNode;if(n&&"LI"===n.nodeName&&1===n.children.length&&!/\S/.test((a=n,Array.from(a.childNodes).map((e=>{let{nodeValue:t=""}=e;return t})).join("")))){const e=n,r=e.previousElementSibling,a=e.parentNode;r?(r.appendChild(t),a.removeChild(e)):(a.parentNode.insertBefore(t,a),a.parentNode.removeChild(a))}var a;if(n&&Bn(n)){const t=e.previousElementSibling;t?t.appendChild(e):(0,ke.unwrap)(e)}}function An(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Sn(e.innerHTML))}function Pn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function Ln(e,t,r){if(!function(e,t){const r=e.nodeName.toLowerCase();return"figcaption"!==r&&!(0,ke.isTextContent)(e)&&(0,o.has)(t,["figure","children",r])}(e,r))return;let n=e;const a=e.parentNode;(function(e,t){const r=e.nodeName.toLowerCase();return(0,o.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);const i=n.closest("p,div");i?e.classList?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!i.textContent.trim())&&Pn(n,i):Pn(n,i):"BODY"===n.parentNode.nodeName&&Pn(n)}var Mn=window.wp.shortcode;var Dn=function e(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const a=kt("from"),i=_t(a,(e=>-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&(0,o.some)((0,o.castArray)(e.tag),(e=>(0,Mn.regexp)(e).test(t)))));if(!i)return[t];const s=(0,o.castArray)(i.tag),c=(0,o.find)(s,(e=>(0,Mn.regexp)(e).test(t)));let l;const u=r;if(l=(0,Mn.next)(c,t,r)){r=l.index+l.content.length;const a=t.substr(0,l.index),s=t.substr(r);if(!((0,o.includes)(l.shortcode.content||"","<")||/(\n|<p>)\s*$/.test(a)&&/^\s*(\n|<\/p>)/.test(s)))return e(t,r);if(i.isMatch&&!i.isMatch(l.shortcode.attrs))return e(t,u,[...n,i.blockName]);const c=(0,o.mapValues)((0,o.pickBy)(i.attributes,(e=>e.shortcode)),(e=>e.shortcode(l.shortcode.attrs,l))),d={...Re(i.blockName),attributes:i.attributes};let p=ut(i.blockName,bn(d,l.shortcode.content,c));return p.originalContent=l.shortcode.content,p=kn(p,d),[...e(a),p,...e(s)]}return[t]};function jn(e){return function(e,t){const r={phrasingContentSchema:(0,ke.getPhrasingContentSchema)(t),isPaste:"paste"===t},n=e.map((e=>{let{isMatch:t,blockName:n,schema:a}=e;const i=qe(n,"anchor");return a=(0,o.isFunction)(a)?a(r):a,i||t?(0,o.mapValues)(a,(e=>{let r=e.attributes||[];return i&&(r=[...r,"id"]),{...e,attributes:r,isMatch:t||void 0}})):a}));return(0,o.mergeWith)({},...n,((e,t,r)=>{switch(r){case"children":return"*"===e||"*"===t?"*":{...e,...t};case"attributes":case"require":return[...e||[],...t||[]];case"isMatch":if(!e||!t)return;return function(){return e(...arguments)||t(...arguments)}}}))}(Cn(),e)}function zn(e,t,r,n){Array.from(e).forEach((e=>{zn(e.childNodes,t,r,n),t.forEach((t=>{r.contains(e)&&t(e,r,n)}))}))}function On(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;const n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,zn(n.body.childNodes,t,n,r),n.body.innerHTML}function In(e,t){const r=e[`${t}Sibling`];if(r&&(0,ke.isPhrasingContent)(r))return r;const{parentNode:n}=e;return n&&(0,ke.isPhrasingContent)(n)?In(n,t):void 0}function Vn(e){return Tn()("wp.blocks.getPhrasingContentSchema",{since:"5.6",alternative:"wp.dom.getPhrasingContentSchema"}),(0,ke.getPhrasingContentSchema)(e)}function Hn(e){let{HTML:t=""}=e;if(-1!==t.indexOf("\x3c!-- wp:"))return wn(t);const r=Dn(t),n=jn();return(0,o.compact)((0,o.flatMap)(r,(e=>{if("string"!=typeof e)return e;return xn(e=Sn(e=On(e,[Nn,En,Ln,An],n)))})))}function Rn(e){e.nodeType===e.COMMENT_NODE&&(0,ke.remove)(e)}function $n(e,t){return e.every((e=>function(e,t){if((0,ke.isTextContent)(e))return!0;if(!t)return!1;const r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((e=>0===(0,o.difference)([r,t],e).length))}(e,t)&&$n(Array.from(e.children),t)))}function Fn(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function qn(e,t){if("SPAN"===e.nodeName&&e.style){const{fontWeight:r,fontStyle:n,textDecorationLine:a,textDecoration:i,verticalAlign:s}=e.style;"bold"!==r&&"700"!==r||(0,ke.wrap)(t.createElement("strong"),e),"italic"===n&&(0,ke.wrap)(t.createElement("em"),e),("line-through"===a||(0,o.includes)(i,"line-through"))&&(0,ke.wrap)(t.createElement("s"),e),"super"===s?(0,ke.wrap)(t.createElement("sup"),e):"sub"===s&&(0,ke.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=(0,ke.replaceTag)(e,"strong"):"I"===e.nodeName?e=(0,ke.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")),e.name&&!e.id&&(e.id=e.name),e.id&&!e.ownerDocument.querySelector(`[href="#${e.id}"]`)&&e.removeAttribute("id"))}function Un(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)}const{parseInt:Gn}=window;function Kn(e){return"OL"===e.nodeName||"UL"===e.nodeName}function Wn(e,t){if("P"!==e.nodeName)return;const r=e.getAttribute("style");if(!r)return;if(-1===r.indexOf("mso-list"))return;const n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(!n)return;let a=Gn(n[1],10)-1||0;const o=e.previousElementSibling;if(!o||!Kn(o)){const r=e.textContent.trim().slice(0,1),n=/[1iIaA]/.test(r),a=t.createElement(n?"ol":"ul");n&&a.setAttribute("type",r),e.parentNode.insertBefore(a,e)}const i=e.previousElementSibling,s=i.nodeName,c=t.createElement("li");let l=i;for(e.removeChild(e.firstElementChild);e.firstChild;)c.appendChild(e.firstChild);for(;a--;)l=l.lastElementChild||l,Kn(l)&&(l=l.lastElementChild||l);Kn(l)||(l=l.appendChild(t.createElement(s))),l.appendChild(c),e.parentNode.removeChild(e)}var Yn=window.wp.blob;const{atob:Qn,File:Zn}=window;function Xn(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){const[t,r]=e.src.split(","),[n]=t.slice(5).split(";");if(!r||!n)return void(e.src="");let a;try{a=Qn(r)}catch(t){return void(e.src="")}const o=new Uint8Array(a.length);for(let e=0;e<o.length;e++)o[e]=a.charCodeAt(e);const i=n.replace("/","."),s=new Zn([o],i,{type:n});e.src=(0,Yn.createBlobURL)(s)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}var Jn=r(7308);const ea=new(r.n(Jn)().Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function ta(e){if("IFRAME"===e.nodeName){const t=e.ownerDocument.createTextNode(e.src);e.parentNode.replaceChild(t,e)}}function ra(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&(0,ke.unwrap)(e)}function na(e){if(e.nodeType!==e.TEXT_NODE)return;let t=e;for(;t=t.parentNode;)if(t.nodeType===t.ELEMENT_NODE&&"PRE"===t.nodeName)return;let r=e.data.replace(/[ \r\n\t]+/g," ");if(" "===r[0]){const t=In(e,"previous");t&&"BR"!==t.nodeName&&" "!==t.textContent.slice(-1)||(r=r.slice(1))}if(" "===r[r.length-1]){const t=In(e,"next");(!t||"BR"===t.nodeName||t.nodeType===t.TEXT_NODE&&(" "===(n=t.textContent[0])||"\r"===n||"\n"===n||"\t"===n))&&(r=r.slice(0,-1))}var n;r?e.data=r:e.parentNode.removeChild(e)}function aa(e){"BR"===e.nodeName&&(In(e,"next")||e.parentNode.removeChild(e))}function oa(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}const{console:ia}=window;function sa(e,t){return e=On(e,[ra,qn,Rn]),e=(0,ke.removeInvalidHTML)(e,(0,ke.getPhrasingContentSchema)("paste"),{inline:!0}),t||(e=On(e,[na,aa])),ia.log("Processed inline HTML:\n\n",e),e}function ca(e){let{HTML:t="",plainText:r="",mode:n="AUTO",tagName:a,preserveWhiteSpace:i}=e;if(t=t.replace(/<meta[^>]+>/g,""),t=t.replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,""),t=t.replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==n){const e=t||r;if(-1!==e.indexOf("\x3c!-- wp:"))return wn(e)}var s;if(String.prototype.normalize&&(t=t.normalize()),!r||t&&!function(e){return!/<(?!br[ />])/i.test(e)}(t)||(t=r,/^\s+$/.test(r)||(s=t,t=ea.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,((e,t,r,n)=>`${t}\n${r}\n${n}`))}(s))),"AUTO"===n&&-1===r.indexOf("\n")&&0!==r.indexOf("<p>")&&0===t.indexOf("<p>")&&(n="INLINE")),"INLINE"===n)return sa(t,i);const c=Dn(t),l=c.length>1;if("AUTO"===n&&!l&&function(e,t){const r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;const n=Array.from(r.body.children);return!n.some(Fn)&&$n(n,t)}(t,a))return sa(t,i);const u=(0,ke.getPhrasingContentSchema)("paste"),d=jn("paste"),p=(0,o.compact)((0,o.flatMap)(c,(e=>{if("string"!=typeof e)return e;const t=[ra,Wn,Un,Nn,Xn,qn,En,Rn,ta,Ln,An],r={...d,...u};return e=On(e,t,d),e=On(e=Sn(e=(0,ke.removeInvalidHTML)(e,r)),[na,aa,oa],d),ia.log("Processed HTML piece:\n\n",e),xn(e)})));if("AUTO"===n&&1===p.length&&qe(p[0].name,"__unstablePasteTextInline",!1)){const e=r.replace(/^[\n]+|[\n]+$/g,"");if(""!==e&&-1===e.indexOf("\n"))return(0,ke.removeInvalidHTML)(dr(p[0]),u)}return p}function la(){return(0,a.select)(Zt).getCategories()}function ua(e){(0,a.dispatch)(Zt).setCategories(e)}function da(e,t){(0,a.dispatch)(Zt).updateCategory(e,t)}function pa(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&(0,o.every)(t,((t,r)=>{let[n,,a]=t;const o=e[r];return n===o.name&&pa(o.innerBlocks,a)}))}function ha(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?(0,o.map)(t,((t,r)=>{let[n,a,i]=t;const s=e[r];if(s&&s.name===n){const e=ha(s.innerBlocks,i);return{...s,innerBlocks:e}}const c=Re(n),l=(e,t)=>(0,o.mapValues)(t,((t,r)=>u(e[r],t))),u=(e,t)=>{return r=e,"html"===(0,o.get)(r,["source"])&&(0,o.isArray)(t)?(0,_e.renderToString)(t):(e=>"query"===(0,o.get)(e,["source"]))(e)&&t?t.map((t=>l(e.query,t))):t;var r},d=l((0,o.get)(c,["attributes"],{}),a),[p,h]=Zr(n,d);return ut(p,h,ha([],i))})):e}function fa(){return fa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fa.apply(this,arguments)}var ga=window.wp.compose;const{Consumer:ma,Provider:ba}=(0,_e.createContext)((()=>{})),_a=(0,ga.createHigherOrderComponent)((e=>t=>(0,_e.createElement)(ma,null,(r=>(0,_e.createElement)(e,fa({},t,{BlockContent:r}))))),"withBlockContentContext")}(),(window.wp=window.wp||{}).blocks=n}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/components.js b/wp-includes/js/dist/components.js
index a5b9a10208..c66527aba0 100644
--- a/wp-includes/js/dist/components.js
+++ b/wp-includes/js/dist/components.js
@@ -1,1562 +1,1456 @@
-this["wp"] = this["wp"] || {}; this["wp"]["components"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "SB3u");
-/******/ })
-/************************************************************************/
-/******/ ({
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-/***/ "+1VY":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 5096:
+/***/ (function(module) {

 "use strict";

-// EXTERNAL MODULE: ./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js
-var emotion_sheet_browser_esm = __webpack_require__("ep+1");
-
-// CONCATENATED MODULE: ./node_modules/stylis/dist/stylis.mjs
-var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var s="@page";var u="@media";var i="@import";var f="@charset";var o="@viewport";var l="@supports";var v="@document";var h="@namespace";var p="@keyframes";var b="@font-face";var w="@counter-style";var $="@font-feature-values";var k=Math.abs;var d=String.fromCharCode;var g=Object.assign;function m(e,r){return(((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function x(e){return e.trim()}function y(e,r){return(e=r.exec(e))?e[0]:e}function j(e,r,a){return e.replace(r,a)}function C(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function A(e,r,a){return e.slice(r,a)}function O(e){return e.length}function M(e){return e.length}function S(e,r){return r.push(e),e}function q(e,r){return e.map(r).join("")}var B=1;var D=1;var E=0;var F=0;var G=0;var H="";function I(e,r,a,c,n,t,s){return{value:e,root:r,parent:a,type:c,props:n,children:t,line:B,column:D,length:s,return:""}}function J(e,r){return g(I("",null,null,"",null,null,0),e,{length:-e.length},r)}function K(){return G}function L(){G=F>0?z(H,--F):0;if(D--,G===10)D=1,B--;return G}function N(){G=F<E?z(H,F++):0;if(D++,G===10)D=1,B++;return G}function P(){return z(H,F)}function Q(){return F}function R(e,r){return A(H,e,r)}function T(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U(e){return B=D=1,E=O(H=e),F=0,[]}function V(e){return H="",e}function W(e){return x(R(F-1,ee(e===91?e+2:e===40?e+1:e)))}function X(e){return V(Z(U(e)))}function Y(e){while(G=P())if(G<33)N();else break;return T(e)>2||T(G)>3?"":" "}function Z(e){while(N())switch(T(G)){case 0:S(ae(F-1),e);break;case 2:S(W(G),e);break;default:S(d(G),e)}return e}function _(e,r){while(--r&&N())if(G<48||G>102||G>57&&G<65||G>70&&G<97)break;return R(e,Q()+(r<6&&P()==32&&N()==32))}function ee(e){while(N())switch(G){case e:return F;case 34:case 39:if(e!==34&&e!==39)ee(G);break;case 40:if(e===41)ee(e);break;case 92:N();break}return F}function re(e,r){while(N())if(e+G===47+10)break;else if(e+G===42+42&&P()===47)break;return"/*"+R(r,F-1)+"*"+d(e===47?e:N())}function ae(e){while(!T(P()))N();return R(e,F)}function ce(e){return V(ne("",null,null,null,[""],e=U(e),0,[0],e))}function ne(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var g="";var m=n;var x=t;var y=c;var z=g;while(w)switch(p=k,k=N()){case 40:if(p!=108&&z.charCodeAt(l-1)==58){if(C(z+=j(W(k),"&","&\f"),"&\f")!=-1)$=-1;break}case 34:case 39:case 91:z+=W(k);break;case 9:case 10:case 13:case 32:z+=Y(p);break;case 92:z+=_(Q()-1,7);continue;case 47:switch(P()){case 42:case 47:S(se(re(N(),Q()),r,a),i);break;default:z+="/"}break;case 123*b:u[f++]=O(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&O(z)-l)S(h>32?ue(z+";",c,a,l-1):ue(j(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:S(y=te(z,r,a,f,o,n,u,g,m=[],x=[],l),t);if(k===123)if(o===0)ne(z,r,y,y,m,t,l,u,x);else switch(v){case 100:case 109:case 115:ne(e,y,y,c&&S(te(e,y,y,0,0,n,u,g,n,m=[],l),x),n,x,l,u,c?m:x);break;default:ne(z,y,y,y,[""],x,0,u,x)}}f=o=h=0,b=$=1,g=z="",l=s;break;case 58:l=1+O(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&L()==125)continue;switch(z+=d(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(O(z)-1)*$,$=1;break;case 64:if(P()===45)z+=W(N());v=P(),o=l=O(g=z+=ae(Q())),k++;break;case 45:if(p===45&&O(z)==2)b=0}}return t}function te(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,g=A(e,v+1,v=k(w=u[b])),m=e;d<p;++d)if(m=x(w>0?h[d]+" "+g:j(g,/&\f/g,h[d])))f[$++]=m;return I(e,r,a,t===0?n:i,f,o,l)}function se(e,r,a){return I(e,r,a,c,d(K()),A(e,2,-2),0)}function ue(e,r,a,c){return I(e,r,a,t,A(e,0,c),A(e,c+1,-1),c)}function ie(c,n){switch(m(c,n)){case 5103:return a+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+"flex-"+c+c;case 5187:return a+c+j(c,/(\w+).+(:[^]+)/,a+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a+c+e+"flex-item-"+j(c,/flex-|-self/,"")+c;case 4675:return a+c+e+"flex-line-pack"+j(c,/align-content|flex-|-self/,"")+c;case 5548:return a+c+e+j(c,"shrink","negative")+c;case 5292:return a+c+e+j(c,"basis","preferred-size")+c;case 6060:return a+"box-"+j(c,"-grow","")+a+c+e+j(c,"grow","positive")+c;case 4554:return a+j(c,/([^-])(transform)/g,"$1"+a+"$2")+c;case 6187:return j(j(j(c,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),c,"")+c;case 5495:case 3959:return j(c,/(image-set\([^]*)/,a+"$1"+"$`$1");case 4968:return j(j(c,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+c+c;case 4095:case 3583:case 4068:case 2532:return j(c,/(.+)-inline(.+)/,a+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(O(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return j(c,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3"+"$1"+r+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return~C(c,"stretch")?ie(j(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,O(c)-3-(~C(c,"!important")&&10))){case 107:return j(c,":",":"+a)+c;case 101:return j(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a+c+e+c+c}return c}function fe(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function oe(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return"";case p:return e.return=e.value+"{"+fe(e.children,s)+"}";case n:e.value=e.props.join(",")}return O(a=fe(e.children,s))?e.return=e.value+"{"+a+"}":""}function le(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function ve(e){return function(r){if(!r.root)if(r=r.return)e(r)}}function he(c,s,u,i){if(c.length>-1)if(!c.return)switch(c.type){case t:c.return=ie(c.value,c.length);break;case p:return fe([J(c,{value:j(c.value,"@","@"+a)})],i);case n:if(c.length)return q(c.props,(function(n){switch(y(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fe([J(c,{props:[j(n,/:(read-\w+)/,":"+r+"$1")]})],i);case"::placeholder":return fe([J(c,{props:[j(n,/:(plac\w+)/,":"+a+"input-$1")]}),J(c,{props:[j(n,/:(plac\w+)/,":"+r+"$1")]}),J(c,{props:[j(n,/:(plac\w+)/,e+"input-$1")]})],i)}return""}))}}function pe(e){switch(e.type){case n:e.props=e.props.map((function(r){return q(X(r),(function(r,a,c){switch(z(r,0)){case 12:return A(r,1,O(r));case 0:case 40:case 43:case 62:case 126:return r;case 58:if(c[++a]==="global")c[a]="",c[++a]="\f"+A(c[a],a=1,-1);case 32:return a===1?"":r;default:switch(a){case 0:e=r;return M(c)>1?"":r;case a=M(c)-1:case 2:return a===2?r+e+e:r+e;default:return r}}}))}))}}
-//# sourceMappingURL=stylis.mjs.map
-
-// EXTERNAL MODULE: ./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js
-var weak_memoize_browser_esm = __webpack_require__("gRFL");
-
-// EXTERNAL MODULE: ./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js
-var emotion_memoize_browser_esm = __webpack_require__("SVgp");
-
-// CONCATENATED MODULE: ./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
-
-
-
-
-
-var last = function last(arr) {
-  return arr.length ? arr[arr.length - 1] : null;
-}; // based on https://github.com/thysultan/stylis.js/blob/e6843c373ebcbbfade25ebcc23f540ed8508da0a/src/Tokenizer.js#L239-L244
-
-
-var emotion_cache_browser_esm_identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
-  var previous = 0;
-  var character = 0;
-
-  while (true) {
-    previous = character;
-    character = P(); // &\f
-
-    if (previous === 38 && character === 12) {
-      points[index] = 1;
-    }
-
-    if (T(character)) {
-      break;
-    }
-
-    N();
-  }
-
-  return R(begin, F);
-};
-
-var emotion_cache_browser_esm_toRules = function toRules(parsed, points) {
-  // pretend we've started with a comma
-  var index = -1;
-  var character = 44;
-
-  do {
-    switch (T(character)) {
-      case 0:
-        // &\f
-        if (character === 38 && P() === 12) {
-          // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
-          // stylis inserts \f after & to know when & where it should replace this sequence with the context selector
-          // and when it should just concatenate the outer and inner selectors
-          // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here
-          points[index] = 1;
-        }
-
-        parsed[index] += emotion_cache_browser_esm_identifierWithPointTracking(F - 1, points, index);
-        break;
-
-      case 2:
-        parsed[index] += W(character);
-        break;

-      case 4:
-        // comma
-        if (character === 44) {
-          // colon
-          parsed[++index] = P() === 58 ? '&\f' : '';
-          points[index] = parsed[index].length;
-          break;
-        }
+function noop() {
+  return null;
+}

-      // fallthrough
+noop.isRequired = noop;

-      default:
-        parsed[index] += d(character);
-    }
-  } while (character = N());
+function noopThunk() {
+  return noop;
+}

-  return parsed;
+module.exports = {
+  and: noopThunk,
+  between: noopThunk,
+  booleanSome: noopThunk,
+  childrenHavePropXorChildren: noopThunk,
+  childrenOf: noopThunk,
+  childrenOfType: noopThunk,
+  childrenSequenceOf: noopThunk,
+  componentWithName: noopThunk,
+  disallowedIf: noopThunk,
+  elementType: noopThunk,
+  empty: noopThunk,
+  explicitNull: noopThunk,
+  forbidExtraProps: Object,
+  integer: noopThunk,
+  keysOf: noopThunk,
+  mutuallyExclusiveProps: noopThunk,
+  mutuallyExclusiveTrueProps: noopThunk,
+  nChildren: noopThunk,
+  nonNegativeInteger: noop,
+  nonNegativeNumber: noopThunk,
+  numericString: noopThunk,
+  object: noopThunk,
+  or: noopThunk,
+  predicate: noopThunk,
+  range: noopThunk,
+  ref: noopThunk,
+  requiredBy: noopThunk,
+  restrictedProp: noopThunk,
+  sequenceOf: noopThunk,
+  shape: noopThunk,
+  stringEndsWith: noopThunk,
+  stringStartsWith: noopThunk,
+  uniqueArray: noopThunk,
+  uniqueArrayOf: noopThunk,
+  valuesOf: noopThunk,
+  withShape: noopThunk
 };

-var emotion_cache_browser_esm_getRules = function getRules(value, points) {
-  return V(emotion_cache_browser_esm_toRules(U(value), points));
-}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
-
-
-var fixedElements = /* #__PURE__ */new WeakMap();
-var compat = function compat(element) {
-  if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo
-  // negative .length indicates that this rule has been already prefixed
-  element.length < 1) {
-    return;
-  }
-
-  var value = element.value,
-      parent = element.parent;
-  var isImplicitRule = element.column === parent.column && element.line === parent.line;
-
-  while (parent.type !== 'rule') {
-    parent = parent.parent;
-    if (!parent) return;
-  } // short-circuit for the simplest case
-
-
-  if (element.props.length === 1 && value.charCodeAt(0) !== 58
-  /* colon */
-  && !fixedElements.get(parent)) {
-    return;
-  } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)
-  // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent"
-
-
-  if (isImplicitRule) {
-    return;
-  }
-
-  fixedElements.set(element, true);
-  var points = [];
-  var rules = emotion_cache_browser_esm_getRules(value, points);
-  var parentRules = parent.props;
-
-  for (var i = 0, k = 0; i < rules.length; i++) {
-    for (var j = 0; j < parentRules.length; j++, k++) {
-      element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
-    }
-  }
-};
-var removeLabel = function removeLabel(element) {
-  if (element.type === 'decl') {
-    var value = element.value;

-    if ( // charcode for l
-    value.charCodeAt(0) === 108 && // charcode for b
-    value.charCodeAt(2) === 98) {
-      // this ignores label
-      element["return"] = '';
-      element.value = '';
-    }
-  }
-};
-var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
+/***/ }),

-var isIgnoringComment = function isIgnoringComment(element) {
-  return !!element && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
-};
+/***/ 4882:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
-  return function (element, index, children) {
-    if (element.type !== 'rule') return;
-    var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
+module.exports =  true ? __webpack_require__(5096) : 0;

-    if (unsafePseudoClasses && cache.compat !== true) {
-      var prevElement = index > 0 ? children[index - 1] : null;

-      if (prevElement && isIgnoringComment(last(prevElement.children))) {
-        return;
-      }

-      unsafePseudoClasses.forEach(function (unsafePseudoClass) {
-        console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
-      });
-    }
-  };
-};
+/***/ }),

-var isImportRule = function isImportRule(element) {
-  return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
-};
+/***/ 4485:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
-  for (var i = index - 1; i >= 0; i--) {
-    if (!isImportRule(children[i])) {
-      return true;
-    }
-  }
+"use strict";

-  return false;
-}; // use this to remove incorrect elements from further processing
-// so they don't get handed to the `sheet` (or anything else)
-// as that could potentially lead to additional logs which in turn could be overhelming to the user

+var ArraySpeciesCreate = __webpack_require__(1539);
+var FlattenIntoArray = __webpack_require__(6739);
+var Get = __webpack_require__(6448);
+var ToIntegerOrInfinity = __webpack_require__(1723);
+var ToLength = __webpack_require__(6840);
+var ToObject = __webpack_require__(1283);

-var nullifyElement = function nullifyElement(element) {
-  element.type = '';
-  element.value = '';
-  element["return"] = '';
-  element.children = '';
-  element.props = '';
-};
+module.exports = function flat() {
+	var O = ToObject(this);
+	var sourceLen = ToLength(Get(O, 'length'));

-var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
-  if (!isImportRule(element)) {
-    return;
-  }
+	var depthNum = 1;
+	if (arguments.length > 0 && typeof arguments[0] !== 'undefined') {
+		depthNum = ToIntegerOrInfinity(arguments[0]);
+	}

-  if (element.parent) {
-    console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
-    nullifyElement(element);
-  } else if (isPrependedWithRegularRules(index, children)) {
-    console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
-    nullifyElement(element);
-  }
+	var A = ArraySpeciesCreate(O, 0);
+	FlattenIntoArray(A, O, sourceLen, 0, depthNum);
+	return A;
 };

-var defaultStylisPlugins = [he];
-
-var emotion_cache_browser_esm_createCache = function createCache(options) {
-  var key = options.key;
-
-  if (false) {}
-
-  if ( key === 'css') {
-    var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
-    // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
-    // note this very very intentionally targets all style elements regardless of the key to ensure
-    // that creating a cache works inside of render of a React component
-
-    Array.prototype.forEach.call(ssrStyles, function (node) {
-      // we want to only move elements which have a space in the data-emotion attribute value
-      // because that indicates that it is an Emotion 11 server-side rendered style elements
-      // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector
-      // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)
-      // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles
-      // will not result in the Emotion 10 styles being destroyed
-      var dataEmotionAttribute = node.getAttribute('data-emotion');

-      if (dataEmotionAttribute.indexOf(' ') === -1) {
-        return;
-      }
-      document.head.appendChild(node);
-      node.setAttribute('data-s', '');
-    });
-  }
+/***/ }),

-  var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
+/***/ 116:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-  if (false) {}
+"use strict";

-  var inserted = {}; // $FlowFixMe

-  var container;
-  var nodesToHydrate = [];
+var define = __webpack_require__(9170);
+var callBind = __webpack_require__(9961);

-  {
-    container = options.container || document.head;
-    Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
-    // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
-    document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
-      var attrib = node.getAttribute("data-emotion").split(' '); // $FlowFixMe
+var implementation = __webpack_require__(4485);
+var getPolyfill = __webpack_require__(616);
+var polyfill = getPolyfill();
+var shim = __webpack_require__(2059);

-      for (var i = 1; i < attrib.length; i++) {
-        inserted[attrib[i]] = true;
-      }
+var boundFlat = callBind(polyfill);

-      nodesToHydrate.push(node);
-    });
-  }
+define(boundFlat, {
+	getPolyfill: getPolyfill,
+	implementation: implementation,
+	shim: shim
+});

-  var _insert;
+module.exports = boundFlat;

-  var omnipresentPlugins = [compat, removeLabel];

-  if (false) {}
+/***/ }),

-  {
-    var currentSheet;
-    var finalizingPlugins = [oe,  false ? undefined : ve(function (rule) {
-      currentSheet.insert(rule);
-    })];
-    var serializer = le(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
+/***/ 9630:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-    var stylis = function stylis(styles) {
-      return fe(ce(styles), serializer);
-    };
+"use strict";

-    _insert = function insert(selector, serialized, sheet, shouldCache) {
-      currentSheet = sheet;

-      if (false) {}
+var GetIntrinsic = __webpack_require__(1801);

-      stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
+var callBind = __webpack_require__(9961);

-      if (shouldCache) {
-        cache.inserted[serialized.name] = true;
-      }
-    };
-  }
+var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));

-  var cache = {
-    key: key,
-    sheet: new emotion_sheet_browser_esm["a" /* StyleSheet */]({
-      key: key,
-      container: container,
-      nonce: options.nonce,
-      speedy: options.speedy,
-      prepend: options.prepend,
-      insertionPoint: options.insertionPoint
-    }),
-    nonce: options.nonce,
-    inserted: inserted,
-    registered: {},
-    insert: _insert
-  };
-  cache.sheet.hydrate(nodesToHydrate);
-  return cache;
+module.exports = function callBoundIntrinsic(name, allowMissing) {
+	var intrinsic = GetIntrinsic(name, !!allowMissing);
+	if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
+		return callBind(intrinsic);
+	}
+	return intrinsic;
 };

-/* harmony default export */ var emotion_cache_browser_esm = __webpack_exports__["a"] = (emotion_cache_browser_esm_createCache);
-

 /***/ }),

-/***/ "+51k":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 9961:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = getActiveElement;
-function getActiveElement() {
-  return typeof document !== 'undefined' && document.activeElement;
-}
-
-/***/ }),
+var bind = __webpack_require__(1930);
+var GetIntrinsic = __webpack_require__(1801);

-/***/ "+WFq":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+var $apply = GetIntrinsic('%Function.prototype.apply%');
+var $call = GetIntrinsic('%Function.prototype.call%');
+var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useSlot; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _slot_fill_context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("JYkG");
-// @ts-nocheck
+var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
+var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
+var $max = GetIntrinsic('%Math.max%');

-/**
- * WordPress dependencies
- */
+if ($defineProperty) {
+	try {
+		$defineProperty({}, 'a', { value: 1 });
+	} catch (e) {
+		// IE 8 has a broken defineProperty
+		$defineProperty = null;
+	}
+}

-/**
- * Internal dependencies
- */
+module.exports = function callBind(originalFunction) {
+	var func = $reflectApply(bind, $call, arguments);
+	if ($gOPD && $defineProperty) {
+		var desc = $gOPD(func, 'length');
+		if (desc.configurable) {
+			// original length, plus the receiver, minus any additional arguments (after the receiver)
+			$defineProperty(
+				func,
+				'length',
+				{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
+			);
+		}
+	}
+	return func;
+};

+var applyBind = function applyBind() {
+	return $reflectApply(bind, $apply, arguments);
+};

-function useSlot(name) {
-  const registry = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_slot_fill_context__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"]);
-  const slot = registry.slots[name] || {};
-  const slotFills = registry.fills[name];
-  const fills = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => slotFills || [], [slotFills]);
-  const updateSlot = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(fillProps => {
-    registry.updateSlot(name, fillProps);
-  }, [name, registry.updateSlot]);
-  const unregisterSlot = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(slotRef => {
-    registry.unregisterSlot(name, slotRef);
-  }, [name, registry.unregisterSlot]);
-  const registerFill = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(fillRef => {
-    registry.registerFill(name, fillRef);
-  }, [name, registry.registerFill]);
-  const unregisterFill = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(fillRef => {
-    registry.unregisterFill(name, fillRef);
-  }, [name, registry.unregisterFill]);
-  return { ...slot,
-    updateSlot,
-    unregisterSlot,
-    fills,
-    registerFill,
-    unregisterFill
-  };
+if ($defineProperty) {
+	$defineProperty(module.exports, 'apply', { value: applyBind });
+} else {
+	module.exports.apply = applyBind;
 }


 /***/ }),

-/***/ "+ipW":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 4219:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return canUseDOM; });
-/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("SyVe");
-
-
-
-function checkIsBrowser() {
-  var _window = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[/* getWindow */ "a"])();
-
-  return Boolean(typeof _window !== "undefined" && _window.document && _window.document.createElement);
-}
-/**
- * It's `true` if it is running in a browser environment or `false` if it is not (SSR).
- *
- * @example
- * import { canUseDOM } from "reakit-utils";
- *
- * const title = canUseDOM ? document.title : "";
- */
-
-
-var canUseDOM = checkIsBrowser();
-
-


-/***/ }),
-
-/***/ "/9aa":
-/***/ (function(module, exports, __webpack_require__) {
+var undefined;

-var baseGetTag = __webpack_require__("NykK"),
-    isObjectLike = __webpack_require__("ExA7");
+var $SyntaxError = SyntaxError;
+var $Function = Function;
+var $TypeError = TypeError;

-/** `Object#toString` result references. */
-var symbolTag = '[object Symbol]';
+// eslint-disable-next-line consistent-return
+var getEvalledConstructor = function (expressionSyntax) {
+	try {
+		return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
+	} catch (e) {}
+};

-/**
- * Checks if `value` is classified as a `Symbol` primitive or object.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
- * @example
- *
- * _.isSymbol(Symbol.iterator);
- * // => true
- *
- * _.isSymbol('abc');
- * // => false
- */
-function isSymbol(value) {
-  return typeof value == 'symbol' ||
-    (isObjectLike(value) && baseGetTag(value) == symbolTag);
+var $gOPD = Object.getOwnPropertyDescriptor;
+if ($gOPD) {
+	try {
+		$gOPD({}, '');
+	} catch (e) {
+		$gOPD = null; // this is IE 8, which has a broken gOPD
+	}
 }

-module.exports = isSymbol;
+var throwTypeError = function () {
+	throw new $TypeError();
+};
+var ThrowTypeError = $gOPD
+	? (function () {
+		try {
+			// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
+			arguments.callee; // IE 8 does not throw here
+			return throwTypeError;
+		} catch (calleeThrows) {
+			try {
+				// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
+				return $gOPD(arguments, 'callee').get;
+			} catch (gOPDthrows) {
+				return throwTypeError;
+			}
+		}
+	}())
+	: throwTypeError;

+var hasSymbols = __webpack_require__(9828)();

-/***/ }),
+var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto

-/***/ "/A+k":
-/***/ (function(module, exports, __webpack_require__) {
+var needsEval = {};

-"use strict";
-
-
-var GetIntrinsic = __webpack_require__("j1Hc");
-
-var $TypeError = GetIntrinsic('%TypeError%');
-
-var Get = __webpack_require__("aBsX");
-var ToLength = __webpack_require__("3HW2");
-var Type = __webpack_require__("PoQ0");
-
-// https://262.ecma-international.org/11.0/#sec-lengthofarraylike
+var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);

-module.exports = function LengthOfArrayLike(obj) {
-	if (Type(obj) !== 'Object') {
-		throw new $TypeError('Assertion failed: `obj` must be an Object');
-	}
-	return ToLength(Get(obj, 'length'));
+var INTRINSICS = {
+	'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
+	'%Array%': Array,
+	'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
+	'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
+	'%AsyncFromSyncIteratorPrototype%': undefined,
+	'%AsyncFunction%': needsEval,
+	'%AsyncGenerator%': needsEval,
+	'%AsyncGeneratorFunction%': needsEval,
+	'%AsyncIteratorPrototype%': needsEval,
+	'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
+	'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
+	'%Boolean%': Boolean,
+	'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
+	'%Date%': Date,
+	'%decodeURI%': decodeURI,
+	'%decodeURIComponent%': decodeURIComponent,
+	'%encodeURI%': encodeURI,
+	'%encodeURIComponent%': encodeURIComponent,
+	'%Error%': Error,
+	'%eval%': eval, // eslint-disable-line no-eval
+	'%EvalError%': EvalError,
+	'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
+	'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
+	'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
+	'%Function%': $Function,
+	'%GeneratorFunction%': needsEval,
+	'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
+	'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
+	'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
+	'%isFinite%': isFinite,
+	'%isNaN%': isNaN,
+	'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
+	'%JSON%': typeof JSON === 'object' ? JSON : undefined,
+	'%Map%': typeof Map === 'undefined' ? undefined : Map,
+	'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
+	'%Math%': Math,
+	'%Number%': Number,
+	'%Object%': Object,
+	'%parseFloat%': parseFloat,
+	'%parseInt%': parseInt,
+	'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
+	'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
+	'%RangeError%': RangeError,
+	'%ReferenceError%': ReferenceError,
+	'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
+	'%RegExp%': RegExp,
+	'%Set%': typeof Set === 'undefined' ? undefined : Set,
+	'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
+	'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
+	'%String%': String,
+	'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
+	'%Symbol%': hasSymbols ? Symbol : undefined,
+	'%SyntaxError%': $SyntaxError,
+	'%ThrowTypeError%': ThrowTypeError,
+	'%TypedArray%': TypedArray,
+	'%TypeError%': $TypeError,
+	'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
+	'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
+	'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
+	'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
+	'%URIError%': URIError,
+	'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
+	'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
+	'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
 };

-// TODO: use this all over
-
-
-/***/ }),
-
-/***/ "/ZKw":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
+var doEval = function doEval(name) {
+	var value;
+	if (name === '%AsyncFunction%') {
+		value = getEvalledConstructor('async function () {}');
+	} else if (name === '%GeneratorFunction%') {
+		value = getEvalledConstructor('function* () {}');
+	} else if (name === '%AsyncGeneratorFunction%') {
+		value = getEvalledConstructor('async function* () {}');
+	} else if (name === '%AsyncGenerator%') {
+		var fn = doEval('%AsyncGeneratorFunction%');
+		if (fn) {
+			value = fn.prototype;
+		}
+	} else if (name === '%AsyncIteratorPrototype%') {
+		var gen = doEval('%AsyncGenerator%');
+		if (gen) {
+			value = getProto(gen.prototype);
+		}
+	}

+	INTRINSICS[name] = value;

-var define = __webpack_require__("82c2");
-var callBind = __webpack_require__("SLit");
+	return value;
+};

-var implementation = __webpack_require__("yN6O");
-var getPolyfill = __webpack_require__("22yB");
-var polyfill = getPolyfill();
-var shim = __webpack_require__("v3P4");
+var LEGACY_ALIASES = {
+	'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
+	'%ArrayPrototype%': ['Array', 'prototype'],
+	'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
+	'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
+	'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
+	'%ArrayProto_values%': ['Array', 'prototype', 'values'],
+	'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
+	'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
+	'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
+	'%BooleanPrototype%': ['Boolean', 'prototype'],
+	'%DataViewPrototype%': ['DataView', 'prototype'],
+	'%DatePrototype%': ['Date', 'prototype'],
+	'%ErrorPrototype%': ['Error', 'prototype'],
+	'%EvalErrorPrototype%': ['EvalError', 'prototype'],
+	'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
+	'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
+	'%FunctionPrototype%': ['Function', 'prototype'],
+	'%Generator%': ['GeneratorFunction', 'prototype'],
+	'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
+	'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
+	'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
+	'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
+	'%JSONParse%': ['JSON', 'parse'],
+	'%JSONStringify%': ['JSON', 'stringify'],
+	'%MapPrototype%': ['Map', 'prototype'],
+	'%NumberPrototype%': ['Number', 'prototype'],
+	'%ObjectPrototype%': ['Object', 'prototype'],
+	'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
+	'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
+	'%PromisePrototype%': ['Promise', 'prototype'],
+	'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
+	'%Promise_all%': ['Promise', 'all'],
+	'%Promise_reject%': ['Promise', 'reject'],
+	'%Promise_resolve%': ['Promise', 'resolve'],
+	'%RangeErrorPrototype%': ['RangeError', 'prototype'],
+	'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
+	'%RegExpPrototype%': ['RegExp', 'prototype'],
+	'%SetPrototype%': ['Set', 'prototype'],
+	'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
+	'%StringPrototype%': ['String', 'prototype'],
+	'%SymbolPrototype%': ['Symbol', 'prototype'],
+	'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
+	'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
+	'%TypeErrorPrototype%': ['TypeError', 'prototype'],
+	'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
+	'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
+	'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
+	'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
+	'%URIErrorPrototype%': ['URIError', 'prototype'],
+	'%WeakMapPrototype%': ['WeakMap', 'prototype'],
+	'%WeakSetPrototype%': ['WeakSet', 'prototype']
+};

-var boundFlat = callBind(polyfill);
+var bind = __webpack_require__(1930);
+var hasOwn = __webpack_require__(9284);
+var $concat = bind.call(Function.call, Array.prototype.concat);
+var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
+var $replace = bind.call(Function.call, String.prototype.replace);
+var $strSlice = bind.call(Function.call, String.prototype.slice);

-define(boundFlat, {
-	getPolyfill: getPolyfill,
-	implementation: implementation,
-	shim: shim
-});
+/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
+var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
+var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
+var stringToPath = function stringToPath(string) {
+	var first = $strSlice(string, 0, 1);
+	var last = $strSlice(string, -1);
+	if (first === '%' && last !== '%') {
+		throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
+	} else if (last === '%' && first !== '%') {
+		throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
+	}
+	var result = [];
+	$replace(string, rePropName, function (match, number, quote, subString) {
+		result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
+	});
+	return result;
+};
+/* end adaptation */

-module.exports = boundFlat;
+var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
+	var intrinsicName = name;
+	var alias;
+	if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
+		alias = LEGACY_ALIASES[intrinsicName];
+		intrinsicName = '%' + alias[0] + '%';
+	}

+	if (hasOwn(INTRINSICS, intrinsicName)) {
+		var value = INTRINSICS[intrinsicName];
+		if (value === needsEval) {
+			value = doEval(intrinsicName);
+		}
+		if (typeof value === 'undefined' && !allowMissing) {
+			throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
+		}

-/***/ }),
+		return {
+			alias: alias,
+			name: intrinsicName,
+			value: value
+		};
+	}

-/***/ "/sVA":
-/***/ (function(module, exports, __webpack_require__) {
+	throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
+};

-"use strict";
+module.exports = function GetIntrinsic(name, allowMissing) {
+	if (typeof name !== 'string' || name.length === 0) {
+		throw new $TypeError('intrinsic name must be a non-empty string');
+	}
+	if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
+		throw new $TypeError('"allowMissing" argument must be a boolean');
+	}

+	var parts = stringToPath(name);
+	var intrinsicBaseName = parts.length > 0 ? parts[0] : '';

-var toStr = Object.prototype.toString;
-var hasSymbols = __webpack_require__("UVaH")();
+	var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
+	var intrinsicRealName = intrinsic.name;
+	var value = intrinsic.value;
+	var skipFurtherCaching = false;

-if (hasSymbols) {
-	var symToStr = Symbol.prototype.toString;
-	var symStringRegex = /^Symbol\(.*\)$/;
-	var isSymbolObject = function isRealSymbolObject(value) {
-		if (typeof value.valueOf() !== 'symbol') {
-			return false;
-		}
-		return symStringRegex.test(symToStr.call(value));
-	};
+	var alias = intrinsic.alias;
+	if (alias) {
+		intrinsicBaseName = alias[0];
+		$spliceApply(parts, $concat([0, 1], alias));
+	}

-	module.exports = function isSymbol(value) {
-		if (typeof value === 'symbol') {
-			return true;
-		}
-		if (toStr.call(value) !== '[object Symbol]') {
-			return false;
+	for (var i = 1, isOwn = true; i < parts.length; i += 1) {
+		var part = parts[i];
+		var first = $strSlice(part, 0, 1);
+		var last = $strSlice(part, -1);
+		if (
+			(
+				(first === '"' || first === "'" || first === '`')
+				|| (last === '"' || last === "'" || last === '`')
+			)
+			&& first !== last
+		) {
+			throw new $SyntaxError('property names with quotes must have matching quotes');
 		}
-		try {
-			return isSymbolObject(value);
-		} catch (e) {
-			return false;
+		if (part === 'constructor' || !isOwn) {
+			skipFurtherCaching = true;
 		}
-	};
-} else {

-	module.exports = function isSymbol(value) {
-		// this environment does not support Symbols.
-		return  false && false;
-	};
-}
+		intrinsicBaseName += '.' + part;
+		intrinsicRealName = '%' + intrinsicBaseName + '%';

+		if (hasOwn(INTRINSICS, intrinsicRealName)) {
+			value = INTRINSICS[intrinsicRealName];
+		} else if (value != null) {
+			if (!(part in value)) {
+				if (!allowMissing) {
+					throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
+				}
+				return void undefined;
+			}
+			if ($gOPD && (i + 1) >= parts.length) {
+				var desc = $gOPD(value, part);
+				isOwn = !!desc;

-/***/ }),
+				// By convention, when a data property is converted to an accessor
+				// property to emulate a data property that does not suffer from
+				// the override mistake, that accessor's getter is marked with
+				// an `originalValue` property. Here, when we detect this, we
+				// uphold the illusion by pretending to see that original data
+				// property, i.e., returning the value rather than the getter
+				// itself.
+				if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
+					value = desc.get;
+				} else {
+					value = value[part];
+				}
+			} else {
+				isOwn = hasOwn(value, part);
+				value = value[part];
+			}

-/***/ 0:
-/***/ (function(module, exports) {
+			if (isOwn && !skipFurtherCaching) {
+				INTRINSICS[intrinsicRealName] = value;
+			}
+		}
+	}
+	return value;
+};

-/* (ignored) */

 /***/ }),

-/***/ "030x":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 9828:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-var styleInterface = void 0;
-var styleTheme = void 0;
-
-var START_MARK = 'react-with-styles.resolve.start';
-var END_MARK = 'react-with-styles.resolve.end';
-var MEASURE_MARK = '\uD83D\uDC69\u200D\uD83C\uDFA8 [resolve]';
-
-function registerTheme(theme) {
-  styleTheme = theme;
-}
+var origSymbol = typeof Symbol !== 'undefined' && Symbol;
+var hasSymbolSham = __webpack_require__(5960);

-function registerInterface(interfaceToRegister) {
-  styleInterface = interfaceToRegister;
-}
+module.exports = function hasNativeSymbols() {
+	if (typeof origSymbol !== 'function') { return false; }
+	if (typeof Symbol !== 'function') { return false; }
+	if (typeof origSymbol('foo') !== 'symbol') { return false; }
+	if (typeof Symbol('bar') !== 'symbol') { return false; }

-function create(makeFromTheme, createWithDirection) {
-  var styles = createWithDirection(makeFromTheme(styleTheme));
-  return function () {
-    return styles;
-  };
-}
+	return hasSymbolSham();
+};

-function createLTR(makeFromTheme) {
-  return create(makeFromTheme, styleInterface.createLTR || styleInterface.create);
-}

-function createRTL(makeFromTheme) {
-  return create(makeFromTheme, styleInterface.createRTL || styleInterface.create);
-}
+/***/ }),

-function get() {
-  return styleTheme;
-}
+/***/ 5960:
+/***/ (function(module) {

-function resolve() {
-  if (false) {}
+"use strict";

-  for (var _len = arguments.length, styles = Array(_len), _key = 0; _key < _len; _key++) {
-    styles[_key] = arguments[_key];
-  }

-  var result = styleInterface.resolve(styles);
+/* eslint complexity: [2, 18], max-statements: [2, 33] */
+module.exports = function hasSymbols() {
+	if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
+	if (typeof Symbol.iterator === 'symbol') { return true; }

-  if (false) {}
+	var obj = {};
+	var sym = Symbol('test');
+	var symObj = Object(sym);
+	if (typeof sym === 'string') { return false; }

-  return result;
-}
+	if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
+	if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }

-function resolveLTR() {
-  for (var _len2 = arguments.length, styles = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-    styles[_key2] = arguments[_key2];
-  }
+	// temp disabled per https://github.com/ljharb/object.assign/issues/17
+	// if (sym instanceof Symbol) { return false; }
+	// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
+	// if (!(symObj instanceof Symbol)) { return false; }

-  if (styleInterface.resolveLTR) {
-    return styleInterface.resolveLTR(styles);
-  }
+	// if (typeof Symbol.prototype.toString !== 'function') { return false; }
+	// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }

-  return resolve(styles);
-}
+	var symVal = 42;
+	obj[sym] = symVal;
+	for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
+	if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }

-function resolveRTL() {
-  for (var _len3 = arguments.length, styles = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
-    styles[_key3] = arguments[_key3];
-  }
+	if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }

-  if (styleInterface.resolveRTL) {
-    return styleInterface.resolveRTL(styles);
-  }
+	var syms = Object.getOwnPropertySymbols(obj);
+	if (syms.length !== 1 || syms[0] !== sym) { return false; }

-  return resolve(styles);
-}
+	if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }

-function flush() {
-  if (styleInterface.flush) {
-    styleInterface.flush();
-  }
-}
+	if (typeof Object.getOwnPropertyDescriptor === 'function') {
+		var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
+		if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
+	}

-exports['default'] = {
-  registerTheme: registerTheme,
-  registerInterface: registerInterface,
-  create: createLTR,
-  createLTR: createLTR,
-  createRTL: createRTL,
-  get: get,
-  resolve: resolveLTR,
-  resolveLTR: resolveLTR,
-  resolveRTL: resolveRTL,
-  flush: flush
+	return true;
 };

+
 /***/ }),

-/***/ "0Dl3":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 4363:
+/***/ (function(module) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = getNumberOfCalendarMonthWeeks;
-
-var _moment = __webpack_require__("wy2R");
-
-var _moment2 = _interopRequireDefault(_moment);
+var fnToStr = Function.prototype.toString;
+var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
+var badArrayLike;
+var isCallableMarker;
+if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
+	try {
+		badArrayLike = Object.defineProperty({}, 'length', {
+			get: function () {
+				throw isCallableMarker;
+			}
+		});
+		isCallableMarker = {};
+		// eslint-disable-next-line no-throw-literal
+		reflectApply(function () { throw 42; }, null, badArrayLike);
+	} catch (_) {
+		if (_ !== isCallableMarker) {
+			reflectApply = null;
+		}
+	}
+} else {
+	reflectApply = null;
+}

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+var constructorRegex = /^\s*class\b/;
+var isES6ClassFn = function isES6ClassFunction(value) {
+	try {
+		var fnStr = fnToStr.call(value);
+		return constructorRegex.test(fnStr);
+	} catch (e) {
+		return false; // not a function
+	}
+};

-function getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek) {
-  var weekDayDiff = firstDayOfMonth.day() - firstDayOfWeek;
-  return (weekDayDiff + 7) % 7;
-}
+var tryFunctionObject = function tryFunctionToStr(value) {
+	try {
+		if (isES6ClassFn(value)) { return false; }
+		fnToStr.call(value);
+		return true;
+	} catch (e) {
+		return false;
+	}
+};
+var toStr = Object.prototype.toString;
+var fnClass = '[object Function]';
+var genClass = '[object GeneratorFunction]';
+var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`
+/* globals document: false */
+var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};

-function getNumberOfCalendarMonthWeeks(month) {
-  var firstDayOfWeek = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _moment2['default'].localeData().firstDayOfWeek();
+module.exports = reflectApply
+	? function isCallable(value) {
+		if (value === documentDotAll) { return true; }
+		if (!value) { return false; }
+		if (typeof value !== 'function' && typeof value !== 'object') { return false; }
+		if (typeof value === 'function' && !value.prototype) { return true; }
+		try {
+			reflectApply(value, null, badArrayLike);
+		} catch (e) {
+			if (e !== isCallableMarker) { return false; }
+		}
+		return !isES6ClassFn(value);
+	}
+	: function isCallable(value) {
+		if (value === documentDotAll) { return true; }
+		if (!value) { return false; }
+		if (typeof value !== 'function' && typeof value !== 'object') { return false; }
+		if (typeof value === 'function' && !value.prototype) { return true; }
+		if (hasToStringTag) { return tryFunctionObject(value); }
+		if (isES6ClassFn(value)) { return false; }
+		var strClass = toStr.call(value);
+		return strClass === fnClass || strClass === genClass;
+	};

-  var firstDayOfMonth = month.clone().startOf('month');
-  var numBlankDays = getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek);
-  return Math.ceil((numBlankDays + month.daysInMonth()) / 7);
-}

 /***/ }),

-/***/ "0HL0":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 4221:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return setTextFieldValue; });
-/* harmony import */ var reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("qOxZ");


-function setTextFieldValue(element, value) {
-  if (element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement) {
-    var _Object$getOwnPropert;
+var callBound = __webpack_require__(9630);
+var hasToStringTag = __webpack_require__(4111)();
+var has;
+var $exec;
+var isRegexMarker;
+var badStringifier;

-    var proto = Object.getPrototypeOf(element);
-    var setValue = (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(proto, "value")) === null || _Object$getOwnPropert === void 0 ? void 0 : _Object$getOwnPropert.set;
+if (hasToStringTag) {
+	has = callBound('Object.prototype.hasOwnProperty');
+	$exec = callBound('RegExp.prototype.exec');
+	isRegexMarker = {};

-    if (setValue) {
-      setValue.call(element, value);
-      Object(reakit_utils_fireEvent__WEBPACK_IMPORTED_MODULE_0__[/* fireEvent */ "a"])(element, "input", {
-        bubbles: true
-      });
-    }
-  }
-}
+	var throwRegexMarker = function () {
+		throw isRegexMarker;
+	};
+	badStringifier = {
+		toString: throwRegexMarker,
+		valueOf: throwRegexMarker
+	};

+	if (typeof Symbol.toPrimitive === 'symbol') {
+		badStringifier[Symbol.toPrimitive] = throwRegexMarker;
+	}
+}

+var $toString = callBound('Object.prototype.toString');
+var gOPD = Object.getOwnPropertyDescriptor;
+var regexClass = '[object RegExp]';

+module.exports = hasToStringTag
+	// eslint-disable-next-line consistent-return
+	? function isRegex(value) {
+		if (!value || typeof value !== 'object') {
+			return false;
+		}

-/***/ }),
+		var descriptor = gOPD(value, 'lastIndex');
+		var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
+		if (!hasLastIndexDataProperty) {
+			return false;
+		}

-/***/ "0XP8":
-/***/ (function(module, exports, __webpack_require__) {
+		try {
+			$exec(value, badStringifier);
+		} catch (e) {
+			return e === isRegexMarker;
+		}
+	}
+	: function isRegex(value) {
+		// In older browsers, typeof regex incorrectly returns 'function'
+		if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
+			return false;
+		}

-"use strict";
+		return $toString(value) === regexClass;
+	};


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+/***/ }),

-var _react = __webpack_require__("cDcd");
+/***/ 3205:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-var _react2 = _interopRequireDefault(_react);
+var hasMap = typeof Map === 'function' && Map.prototype;
+var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
+var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
+var mapForEach = hasMap && Map.prototype.forEach;
+var hasSet = typeof Set === 'function' && Set.prototype;
+var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
+var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
+var setForEach = hasSet && Set.prototype.forEach;
+var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
+var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
+var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
+var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
+var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
+var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
+var booleanValueOf = Boolean.prototype.valueOf;
+var objectToString = Object.prototype.toString;
+var functionToString = Function.prototype.toString;
+var $match = String.prototype.match;
+var $slice = String.prototype.slice;
+var $replace = String.prototype.replace;
+var $toUpperCase = String.prototype.toUpperCase;
+var $toLowerCase = String.prototype.toLowerCase;
+var $test = RegExp.prototype.test;
+var $concat = Array.prototype.concat;
+var $join = Array.prototype.join;
+var $arrSlice = Array.prototype.slice;
+var $floor = Math.floor;
+var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
+var gOPS = Object.getOwnPropertySymbols;
+var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
+var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
+// ie, `has-tostringtag/shams
+var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
+    ? Symbol.toStringTag
+    : null;
+var isEnumerable = Object.prototype.propertyIsEnumerable;

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
+    [].__proto__ === Array.prototype // eslint-disable-line no-proto
+        ? function (O) {
+            return O.__proto__; // eslint-disable-line no-proto
+        }
+        : null
+);

-var LeftArrow = function () {
-  function LeftArrow(props) {
-    return _react2['default'].createElement(
-      'svg',
-      props,
-      _react2['default'].createElement('path', {
-        d: 'M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z'
-      })
-    );
-  }
+function addNumericSeparator(num, str) {
+    if (
+        num === Infinity
+        || num === -Infinity
+        || num !== num
+        || (num && num > -1000 && num < 1000)
+        || $test.call(/e/, str)
+    ) {
+        return str;
+    }
+    var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
+    if (typeof num === 'number') {
+        var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
+        if (int !== num) {
+            var intStr = String(int);
+            var dec = $slice.call(str, intStr.length + 1);
+            return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
+        }
+    }
+    return $replace.call(str, sepRegex, '$&_');
+}

-  return LeftArrow;
-}();
+var inspectCustom = (__webpack_require__(4080).custom);
+var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;

-LeftArrow.defaultProps = {
-  viewBox: '0 0 1000 1000'
-};
-exports['default'] = LeftArrow;
+module.exports = function inspect_(obj, options, depth, seen) {
+    var opts = options || {};

-/***/ }),
+    if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
+        throw new TypeError('option "quoteStyle" must be "single" or "double"');
+    }
+    if (
+        has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
+            ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
+            : opts.maxStringLength !== null
+        )
+    ) {
+        throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
+    }
+    var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
+    if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
+        throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
+    }

-/***/ "1+Kn":
-/***/ (function(module, exports, __webpack_require__) {
+    if (
+        has(opts, 'indent')
+        && opts.indent !== null
+        && opts.indent !== '\t'
+        && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
+    ) {
+        throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
+    }
+    if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
+        throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
+    }
+    var numericSeparator = opts.numericSeparator;

-"use strict";
+    if (typeof obj === 'undefined') {
+        return 'undefined';
+    }
+    if (obj === null) {
+        return 'null';
+    }
+    if (typeof obj === 'boolean') {
+        return obj ? 'true' : 'false';
+    }

+    if (typeof obj === 'string') {
+        return inspectString(obj, opts);
+    }
+    if (typeof obj === 'number') {
+        if (obj === 0) {
+            return Infinity / obj > 0 ? '0' : '-0';
+        }
+        var str = String(obj);
+        return numericSeparator ? addNumericSeparator(obj, str) : str;
+    }
+    if (typeof obj === 'bigint') {
+        var bigIntStr = String(obj) + 'n';
+        return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
+    }

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.BOTTOM_RIGHT = exports.TOP_RIGHT = exports.TOP_LEFT = undefined;
+    var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
+    if (typeof depth === 'undefined') { depth = 0; }
+    if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
+        return isArray(obj) ? '[Array]' : '[Object]';
+    }

-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+    var indent = getIndent(opts, depth);

-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+    if (typeof seen === 'undefined') {
+        seen = [];
+    } else if (indexOf(seen, obj) >= 0) {
+        return '[Circular]';
+    }

-var _object = __webpack_require__("Koq/");
+    function inspect(value, from, noIndent) {
+        if (from) {
+            seen = $arrSlice.call(seen);
+            seen.push(from);
+        }
+        if (noIndent) {
+            var newOpts = {
+                depth: opts.depth
+            };
+            if (has(opts, 'quoteStyle')) {
+                newOpts.quoteStyle = opts.quoteStyle;
+            }
+            return inspect_(value, newOpts, depth + 1, seen);
+        }
+        return inspect_(value, opts, depth + 1, seen);
+    }

-var _object2 = _interopRequireDefault(_object);
+    if (typeof obj === 'function') {
+        var name = nameOf(obj);
+        var keys = arrObjKeys(obj, inspect);
+        return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
+    }
+    if (isSymbol(obj)) {
+        var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
+        return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
+    }
+    if (isElement(obj)) {
+        var s = '<' + $toLowerCase.call(String(obj.nodeName));
+        var attrs = obj.attributes || [];
+        for (var i = 0; i < attrs.length; i++) {
+            s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
+        }
+        s += '>';
+        if (obj.childNodes && obj.childNodes.length) { s += '...'; }
+        s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
+        return s;
+    }
+    if (isArray(obj)) {
+        if (obj.length === 0) { return '[]'; }
+        var xs = arrObjKeys(obj, inspect);
+        if (indent && !singleLineValues(xs)) {
+            return '[' + indentedJoin(xs, indent) + ']';
+        }
+        return '[ ' + $join.call(xs, ', ') + ' ]';
+    }
+    if (isError(obj)) {
+        var parts = arrObjKeys(obj, inspect);
+        if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
+            return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
+        }
+        if (parts.length === 0) { return '[' + String(obj) + ']'; }
+        return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
+    }
+    if (typeof obj === 'object' && customInspect) {
+        if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
+            return obj[inspectSymbol]();
+        } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
+            return obj.inspect();
+        }
+    }
+    if (isMap(obj)) {
+        var mapParts = [];
+        mapForEach.call(obj, function (value, key) {
+            mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
+        });
+        return collectionOf('Map', mapSize.call(obj), mapParts, indent);
+    }
+    if (isSet(obj)) {
+        var setParts = [];
+        setForEach.call(obj, function (value) {
+            setParts.push(inspect(value, obj));
+        });
+        return collectionOf('Set', setSize.call(obj), setParts, indent);
+    }
+    if (isWeakMap(obj)) {
+        return weakCollectionOf('WeakMap');
+    }
+    if (isWeakSet(obj)) {
+        return weakCollectionOf('WeakSet');
+    }
+    if (isWeakRef(obj)) {
+        return weakCollectionOf('WeakRef');
+    }
+    if (isNumber(obj)) {
+        return markBoxed(inspect(Number(obj)));
+    }
+    if (isBigInt(obj)) {
+        return markBoxed(inspect(bigIntValueOf.call(obj)));
+    }
+    if (isBoolean(obj)) {
+        return markBoxed(booleanValueOf.call(obj));
+    }
+    if (isString(obj)) {
+        return markBoxed(inspect(String(obj)));
+    }
+    if (!isDate(obj) && !isRegExp(obj)) {
+        var ys = arrObjKeys(obj, inspect);
+        var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
+        var protoTag = obj instanceof Object ? '' : 'null prototype';
+        var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
+        var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
+        var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
+        if (ys.length === 0) { return tag + '{}'; }
+        if (indent) {
+            return tag + '{' + indentedJoin(ys, indent) + '}';
+        }
+        return tag + '{ ' + $join.call(ys, ', ') + ' }';
+    }
+    return String(obj);
+};

-var _react = __webpack_require__("cDcd");
+function wrapQuotes(s, defaultStyle, opts) {
+    var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
+    return quoteChar + s + quoteChar;
+}

-var _react2 = _interopRequireDefault(_react);
+function quote(s) {
+    return $replace.call(String(s), /"/g, '&quot;');
+}

-var _propTypes = __webpack_require__("17x9");
+function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
+function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
+function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
+function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
+function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
+function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
+function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }

-var _propTypes2 = _interopRequireDefault(_propTypes);
+// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
+function isSymbol(obj) {
+    if (hasShammedSymbols) {
+        return obj && typeof obj === 'object' && obj instanceof Symbol;
+    }
+    if (typeof obj === 'symbol') {
+        return true;
+    }
+    if (!obj || typeof obj !== 'object' || !symToString) {
+        return false;
+    }
+    try {
+        symToString.call(obj);
+        return true;
+    } catch (e) {}
+    return false;
+}

-var _airbnbPropTypes = __webpack_require__("Hsqg");
+function isBigInt(obj) {
+    if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
+        return false;
+    }
+    try {
+        bigIntValueOf.call(obj);
+        return true;
+    } catch (e) {}
+    return false;
+}

-var _reactWithStyles = __webpack_require__("TG4+");
+var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
+function has(obj, key) {
+    return hasOwn.call(obj, key);
+}

-var _defaultPhrases = __webpack_require__("vV+G");
+function toStr(obj) {
+    return objectToString.call(obj);
+}

-var _getPhrasePropTypes = __webpack_require__("yc2e");
+function nameOf(f) {
+    if (f.name) { return f.name; }
+    var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
+    if (m) { return m[1]; }
+    return null;
+}

-var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
+function indexOf(xs, x) {
+    if (xs.indexOf) { return xs.indexOf(x); }
+    for (var i = 0, l = xs.length; i < l; i++) {
+        if (xs[i] === x) { return i; }
+    }
+    return -1;
+}

-var _KeyboardShortcutRow = __webpack_require__("zN8g");
+function isMap(x) {
+    if (!mapSize || !x || typeof x !== 'object') {
+        return false;
+    }
+    try {
+        mapSize.call(x);
+        try {
+            setSize.call(x);
+        } catch (s) {
+            return true;
+        }
+        return x instanceof Map; // core-js workaround, pre-v2.5.0
+    } catch (e) {}
+    return false;
+}

-var _KeyboardShortcutRow2 = _interopRequireDefault(_KeyboardShortcutRow);
+function isWeakMap(x) {
+    if (!weakMapHas || !x || typeof x !== 'object') {
+        return false;
+    }
+    try {
+        weakMapHas.call(x, weakMapHas);
+        try {
+            weakSetHas.call(x, weakSetHas);
+        } catch (s) {
+            return true;
+        }
+        return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
+    } catch (e) {}
+    return false;
+}

-var _CloseButton = __webpack_require__("xEte");
+function isWeakRef(x) {
+    if (!weakRefDeref || !x || typeof x !== 'object') {
+        return false;
+    }
+    try {
+        weakRefDeref.call(x);
+        return true;
+    } catch (e) {}
+    return false;
+}

-var _CloseButton2 = _interopRequireDefault(_CloseButton);
+function isSet(x) {
+    if (!setSize || !x || typeof x !== 'object') {
+        return false;
+    }
+    try {
+        setSize.call(x);
+        try {
+            mapSize.call(x);
+        } catch (m) {
+            return true;
+        }
+        return x instanceof Set; // core-js workaround, pre-v2.5.0
+    } catch (e) {}
+    return false;
+}

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+function isWeakSet(x) {
+    if (!weakSetHas || !x || typeof x !== 'object') {
+        return false;
+    }
+    try {
+        weakSetHas.call(x, weakSetHas);
+        try {
+            weakMapHas.call(x, weakMapHas);
+        } catch (s) {
+            return true;
+        }
+        return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
+    } catch (e) {}
+    return false;
+}

-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function isElement(x) {
+    if (!x || typeof x !== 'object') { return false; }
+    if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
+        return true;
+    }
+    return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
+}

-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+function inspectString(str, opts) {
+    if (str.length > opts.maxStringLength) {
+        var remaining = str.length - opts.maxStringLength;
+        var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
+        return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
+    }
+    // eslint-disable-next-line no-control-regex
+    var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
+    return wrapQuotes(s, 'single', opts);
+}

-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+function lowbyte(c) {
+    var n = c.charCodeAt(0);
+    var x = {
+        8: 'b',
+        9: 't',
+        10: 'n',
+        12: 'f',
+        13: 'r'
+    }[n];
+    if (x) { return '\\' + x; }
+    return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
+}

-var TOP_LEFT = exports.TOP_LEFT = 'top-left';
-var TOP_RIGHT = exports.TOP_RIGHT = 'top-right';
-var BOTTOM_RIGHT = exports.BOTTOM_RIGHT = 'bottom-right';
+function markBoxed(str) {
+    return 'Object(' + str + ')';
+}

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
-  block: _propTypes2['default'].bool,
-  buttonLocation: _propTypes2['default'].oneOf([TOP_LEFT, TOP_RIGHT, BOTTOM_RIGHT]),
-  showKeyboardShortcutsPanel: _propTypes2['default'].bool,
-  openKeyboardShortcutsPanel: _propTypes2['default'].func,
-  closeKeyboardShortcutsPanel: _propTypes2['default'].func,
-  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerKeyboardShortcutsPhrases))
-}));
+function weakCollectionOf(type) {
+    return type + ' { ? }';
+}

-var defaultProps = {
-  block: false,
-  buttonLocation: BOTTOM_RIGHT,
-  showKeyboardShortcutsPanel: false,
-  openKeyboardShortcutsPanel: function () {
-    function openKeyboardShortcutsPanel() {}
-
-    return openKeyboardShortcutsPanel;
-  }(),
-  closeKeyboardShortcutsPanel: function () {
-    function closeKeyboardShortcutsPanel() {}
-
-    return closeKeyboardShortcutsPanel;
-  }(),
-
-  phrases: _defaultPhrases.DayPickerKeyboardShortcutsPhrases
-};
+function collectionOf(type, size, entries, indent) {
+    var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
+    return type + ' (' + size + ') {' + joinedEntries + '}';
+}

-function getKeyboardShortcuts(phrases) {
-  return [{
-    unicode: '↵',
-    label: phrases.enterKey,
-    action: phrases.selectFocusedDate
-  }, {
-    unicode: '←/→',
-    label: phrases.leftArrowRightArrow,
-    action: phrases.moveFocusByOneDay
-  }, {
-    unicode: '↑/↓',
-    label: phrases.upArrowDownArrow,
-    action: phrases.moveFocusByOneWeek
-  }, {
-    unicode: 'PgUp/PgDn',
-    label: phrases.pageUpPageDown,
-    action: phrases.moveFocusByOneMonth
-  }, {
-    unicode: 'Home/End',
-    label: phrases.homeEnd,
-    action: phrases.moveFocustoStartAndEndOfWeek
-  }, {
-    unicode: 'Esc',
-    label: phrases.escape,
-    action: phrases.returnFocusToInput
-  }, {
-    unicode: '?',
-    label: phrases.questionMark,
-    action: phrases.openThisPanel
-  }];
+function singleLineValues(xs) {
+    for (var i = 0; i < xs.length; i++) {
+        if (indexOf(xs[i], '\n') >= 0) {
+            return false;
+        }
+    }
+    return true;
 }

-var DayPickerKeyboardShortcuts = function (_React$Component) {
-  _inherits(DayPickerKeyboardShortcuts, _React$Component);
+function getIndent(opts, depth) {
+    var baseIndent;
+    if (opts.indent === '\t') {
+        baseIndent = '\t';
+    } else if (typeof opts.indent === 'number' && opts.indent > 0) {
+        baseIndent = $join.call(Array(opts.indent + 1), ' ');
+    } else {
+        return null;
+    }
+    return {
+        base: baseIndent,
+        prev: $join.call(Array(depth + 1), baseIndent)
+    };
+}

-  function DayPickerKeyboardShortcuts() {
-    var _ref;
+function indentedJoin(xs, indent) {
+    if (xs.length === 0) { return ''; }
+    var lineJoiner = '\n' + indent.prev + indent.base;
+    return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
+}

-    _classCallCheck(this, DayPickerKeyboardShortcuts);
+function arrObjKeys(obj, inspect) {
+    var isArr = isArray(obj);
+    var xs = [];
+    if (isArr) {
+        xs.length = obj.length;
+        for (var i = 0; i < obj.length; i++) {
+            xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
+        }
+    }
+    var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
+    var symMap;
+    if (hasShammedSymbols) {
+        symMap = {};
+        for (var k = 0; k < syms.length; k++) {
+            symMap['$' + syms[k]] = syms[k];
+        }
+    }

-    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
-      args[_key] = arguments[_key];
+    for (var key in obj) { // eslint-disable-line no-restricted-syntax
+        if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
+        if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
+        if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
+            // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
+            continue; // eslint-disable-line no-restricted-syntax, no-continue
+        } else if ($test.call(/[^\w$]/, key)) {
+            xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
+        } else {
+            xs.push(key + ': ' + inspect(obj[key], obj));
+        }
+    }
+    if (typeof gOPS === 'function') {
+        for (var j = 0; j < syms.length; j++) {
+            if (isEnumerable.call(obj, syms[j])) {
+                xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
+            }
+        }
     }
+    return xs;
+}

-    var _this = _possibleConstructorReturn(this, (_ref = DayPickerKeyboardShortcuts.__proto__ || Object.getPrototypeOf(DayPickerKeyboardShortcuts)).call.apply(_ref, [this].concat(args)));

-    var phrases = _this.props.phrases;
+/***/ }),

-    _this.keyboardShortcuts = getKeyboardShortcuts(phrases);
+/***/ 616:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-    _this.onShowKeyboardShortcutsButtonClick = _this.onShowKeyboardShortcutsButtonClick.bind(_this);
-    _this.setShowKeyboardShortcutsButtonRef = _this.setShowKeyboardShortcutsButtonRef.bind(_this);
-    _this.setHideKeyboardShortcutsButtonRef = _this.setHideKeyboardShortcutsButtonRef.bind(_this);
-    _this.handleFocus = _this.handleFocus.bind(_this);
-    _this.onKeyDown = _this.onKeyDown.bind(_this);
-    return _this;
-  }
+"use strict";

-  _createClass(DayPickerKeyboardShortcuts, [{
-    key: 'componentWillReceiveProps',
-    value: function () {
-      function componentWillReceiveProps(nextProps) {
-        var phrases = this.props.phrases;

-        if (nextProps.phrases !== phrases) {
-          this.keyboardShortcuts = getKeyboardShortcuts(nextProps.phrases);
-        }
-      }
+var implementation = __webpack_require__(4485);

-      return componentWillReceiveProps;
-    }()
-  }, {
-    key: 'componentDidUpdate',
-    value: function () {
-      function componentDidUpdate() {
-        this.handleFocus();
-      }
+module.exports = function getPolyfill() {
+	return Array.prototype.flat || implementation;
+};

-      return componentDidUpdate;
-    }()
-  }, {
-    key: 'onKeyDown',
-    value: function () {
-      function onKeyDown(e) {
-        e.stopPropagation();

-        var closeKeyboardShortcutsPanel = this.props.closeKeyboardShortcutsPanel;
-        // Because the close button is the only focusable element inside of the panel, this
-        // amounts to a very basic focus trap. The user can exit the panel by "pressing" the
-        // close button or hitting escape
+/***/ }),

-        switch (e.key) {
-          case 'Enter':
-          case ' ':
-          case 'Spacebar': // for older browsers
-          case 'Escape':
-            closeKeyboardShortcutsPanel();
-            break;
+/***/ 2059:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-          // do nothing - this allows the up and down arrows continue their
-          // default behavior of scrolling the content of the Keyboard Shortcuts Panel
-          // which is needed when only a single month is shown for instance.
-          case 'ArrowUp':
-          case 'ArrowDown':
-            break;
+"use strict";

-          // completely block the rest of the keys that have functionality outside of this panel
-          case 'Tab':
-          case 'Home':
-          case 'End':
-          case 'PageUp':
-          case 'PageDown':
-          case 'ArrowLeft':
-          case 'ArrowRight':
-            e.preventDefault();
-            break;

-          default:
-            break;
-        }
-      }
+var define = __webpack_require__(9170);
+var getPolyfill = __webpack_require__(616);

-      return onKeyDown;
-    }()
-  }, {
-    key: 'onShowKeyboardShortcutsButtonClick',
-    value: function () {
-      function onShowKeyboardShortcutsButtonClick() {
-        var _this2 = this;
+module.exports = function shimFlat() {
+	var polyfill = getPolyfill();
+	define(
+		Array.prototype,
+		{ flat: polyfill },
+		{ flat: function () { return Array.prototype.flat !== polyfill; } }
+	);
+	return polyfill;
+};

-        var openKeyboardShortcutsPanel = this.props.openKeyboardShortcutsPanel;

-        // we want to return focus to this button after closing the keyboard shortcuts panel
+/***/ }),

-        openKeyboardShortcutsPanel(function () {
-          _this2.showKeyboardShortcutsButton.focus();
-        });
-      }
+/***/ 7615:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-      return onShowKeyboardShortcutsButtonClick;
-    }()
-  }, {
-    key: 'setShowKeyboardShortcutsButtonRef',
-    value: function () {
-      function setShowKeyboardShortcutsButtonRef(ref) {
-        this.showKeyboardShortcutsButton = ref;
-      }
+"use strict";

-      return setShowKeyboardShortcutsButtonRef;
-    }()
-  }, {
-    key: 'setHideKeyboardShortcutsButtonRef',
-    value: function () {
-      function setHideKeyboardShortcutsButtonRef(ref) {
-        this.hideKeyboardShortcutsButton = ref;
-      }

-      return setHideKeyboardShortcutsButtonRef;
-    }()
-  }, {
-    key: 'handleFocus',
-    value: function () {
-      function handleFocus() {
-        if (this.hideKeyboardShortcutsButton) {
-          // automatically move focus into the dialog by moving
-          // to the only interactive element, the hide button
-          this.hideKeyboardShortcutsButton.focus();
-        }
-      }
+var GetIntrinsic = __webpack_require__(1801);

-      return handleFocus;
-    }()
-  }, {
-    key: 'render',
-    value: function () {
-      function render() {
-        var _this3 = this;
+var callBind = __webpack_require__(2550);

-        var _props = this.props,
-            block = _props.block,
-            buttonLocation = _props.buttonLocation,
-            showKeyboardShortcutsPanel = _props.showKeyboardShortcutsPanel,
-            closeKeyboardShortcutsPanel = _props.closeKeyboardShortcutsPanel,
-            styles = _props.styles,
-            phrases = _props.phrases;
+var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));

+module.exports = function callBoundIntrinsic(name, allowMissing) {
+	var intrinsic = GetIntrinsic(name, !!allowMissing);
+	if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
+		return callBind(intrinsic);
+	}
+	return intrinsic;
+};

-        var toggleButtonText = showKeyboardShortcutsPanel ? phrases.hideKeyboardShortcutsPanel : phrases.showKeyboardShortcutsPanel;

-        var bottomRight = buttonLocation === BOTTOM_RIGHT;
-        var topRight = buttonLocation === TOP_RIGHT;
-        var topLeft = buttonLocation === TOP_LEFT;
+/***/ }),

-        return _react2['default'].createElement(
-          'div',
-          null,
-          _react2['default'].createElement(
-            'button',
-            _extends({
-              ref: this.setShowKeyboardShortcutsButtonRef
-            }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_show, bottomRight && styles.DayPickerKeyboardShortcuts_show__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_show__topRight, topLeft && styles.DayPickerKeyboardShortcuts_show__topLeft), {
-              type: 'button',
-              'aria-label': toggleButtonText,
-              onClick: this.onShowKeyboardShortcutsButtonClick,
-              onKeyDown: function () {
-                function onKeyDown(e) {
-                  if (e.key === 'Enter') {
-                    e.preventDefault();
-                  } else if (e.key === 'Space') {
-                    _this3.onShowKeyboardShortcutsButtonClick(e);
-                  }
-                }
+/***/ 2550:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-                return onKeyDown;
-              }(),
-              onMouseUp: function () {
-                function onMouseUp(e) {
-                  e.currentTarget.blur();
-                }
+"use strict";

-                return onMouseUp;
-              }()
-            }),
-            _react2['default'].createElement(
-              'span',
-              (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_showSpan, bottomRight && styles.DayPickerKeyboardShortcuts_showSpan__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_showSpan__topRight, topLeft && styles.DayPickerKeyboardShortcuts_showSpan__topLeft),
-              '?'
-            )
-          ),
-          showKeyboardShortcutsPanel && _react2['default'].createElement(
-            'div',
-            _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_panel), {
-              role: 'dialog',
-              'aria-labelledby': 'DayPickerKeyboardShortcuts_title',
-              'aria-describedby': 'DayPickerKeyboardShortcuts_description'
-            }),
-            _react2['default'].createElement(
-              'div',
-              _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_title), {
-                id: 'DayPickerKeyboardShortcuts_title'
-              }),
-              phrases.keyboardShortcuts
-            ),
-            _react2['default'].createElement(
-              'button',
-              _extends({
-                ref: this.setHideKeyboardShortcutsButtonRef
-              }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_close), {
-                type: 'button',
-                tabIndex: '0',
-                'aria-label': phrases.hideKeyboardShortcutsPanel,
-                onClick: closeKeyboardShortcutsPanel,
-                onKeyDown: this.onKeyDown
-              }),
-              _react2['default'].createElement(_CloseButton2['default'], (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_closeSvg))
-            ),
-            _react2['default'].createElement(
-              'ul',
-              _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_list), {
-                id: 'DayPickerKeyboardShortcuts_description'
-              }),
-              this.keyboardShortcuts.map(function (_ref2) {
-                var unicode = _ref2.unicode,
-                    label = _ref2.label,
-                    action = _ref2.action;
-                return _react2['default'].createElement(_KeyboardShortcutRow2['default'], {
-                  key: label,
-                  unicode: unicode,
-                  label: label,
-                  action: action,
-                  block: block
-                });
-              })
-            )
-          )
-        );
-      }

-      return render;
-    }()
-  }]);
+var bind = __webpack_require__(1930);
+var GetIntrinsic = __webpack_require__(1801);

-  return DayPickerKeyboardShortcuts;
-}(_react2['default'].Component);
+var $apply = GetIntrinsic('%Function.prototype.apply%');
+var $call = GetIntrinsic('%Function.prototype.call%');
+var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);

-DayPickerKeyboardShortcuts.propTypes = propTypes;
-DayPickerKeyboardShortcuts.defaultProps = defaultProps;
+var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);

-exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref3) {
-  var _ref3$reactDates = _ref3.reactDates,
-      color = _ref3$reactDates.color,
-      font = _ref3$reactDates.font,
-      zIndex = _ref3$reactDates.zIndex;
-  return {
-    DayPickerKeyboardShortcuts_buttonReset: {
-      background: 'none',
-      border: 0,
-      borderRadius: 0,
-      color: 'inherit',
-      font: 'inherit',
-      lineHeight: 'normal',
-      overflow: 'visible',
-      padding: 0,
-      cursor: 'pointer',
-      fontSize: font.size,
+if ($defineProperty) {
+	try {
+		$defineProperty({}, 'a', { value: 1 });
+	} catch (e) {
+		// IE 8 has a broken defineProperty
+		$defineProperty = null;
+	}
+}

-      ':active': {
-        outline: 'none'
-      }
-    },
+module.exports = function callBind() {
+	return $reflectApply(bind, $call, arguments);
+};

-    DayPickerKeyboardShortcuts_show: {
-      width: 22,
-      position: 'absolute',
-      zIndex: zIndex + 2
-    },
+var applyBind = function applyBind() {
+	return $reflectApply(bind, $apply, arguments);
+};

-    DayPickerKeyboardShortcuts_show__bottomRight: {
-      borderTop: '26px solid transparent',
-      borderRight: '33px solid ' + String(color.core.primary),
-      bottom: 0,
-      right: 0,
+if ($defineProperty) {
+	$defineProperty(module.exports, 'apply', { value: applyBind });
+} else {
+	module.exports.apply = applyBind;
+}

-      ':hover': {
-        borderRight: '33px solid ' + String(color.core.primary_dark)
-      }
-    },

-    DayPickerKeyboardShortcuts_show__topRight: {
-      borderBottom: '26px solid transparent',
-      borderRight: '33px solid ' + String(color.core.primary),
-      top: 0,
-      right: 0,
+/***/ }),

-      ':hover': {
-        borderRight: '33px solid ' + String(color.core.primary_dark)
-      }
-    },
+/***/ 4403:
+/***/ (function(module, exports) {

-    DayPickerKeyboardShortcuts_show__topLeft: {
-      borderBottom: '26px solid transparent',
-      borderLeft: '33px solid ' + String(color.core.primary),
-      top: 0,
-      left: 0,
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */

-      ':hover': {
-        borderLeft: '33px solid ' + String(color.core.primary_dark)
-      }
-    },
+(function () {
+	'use strict';

-    DayPickerKeyboardShortcuts_showSpan: {
-      color: color.core.white,
-      position: 'absolute'
-    },
+	var hasOwn = {}.hasOwnProperty;

-    DayPickerKeyboardShortcuts_showSpan__bottomRight: {
-      bottom: 0,
-      right: -28
-    },
+	function classNames() {
+		var classes = [];

-    DayPickerKeyboardShortcuts_showSpan__topRight: {
-      top: 1,
-      right: -28
-    },
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;

-    DayPickerKeyboardShortcuts_showSpan__topLeft: {
-      top: 1,
-      left: -28
-    },
+			var argType = typeof arg;

-    DayPickerKeyboardShortcuts_panel: {
-      overflow: 'auto',
-      background: color.background,
-      border: '1px solid ' + String(color.core.border),
-      borderRadius: 2,
-      position: 'absolute',
-      top: 0,
-      bottom: 0,
-      right: 0,
-      left: 0,
-      zIndex: zIndex + 2,
-      padding: 22,
-      margin: 33
-    },
+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}

-    DayPickerKeyboardShortcuts_title: {
-      fontSize: 16,
-      fontWeight: 'bold',
-      margin: 0
-    },
+		return classes.join(' ');
+	}

-    DayPickerKeyboardShortcuts_list: {
-      listStyle: 'none',
-      padding: 0,
-      fontSize: font.size
-    },
-
-    DayPickerKeyboardShortcuts_close: {
-      position: 'absolute',
-      right: 22,
-      top: 22,
-      zIndex: zIndex + 2,
-
-      ':active': {
-        outline: 'none'
-      }
-    },
-
-    DayPickerKeyboardShortcuts_closeSvg: {
-      height: 15,
-      width: 15,
-      fill: color.core.grayLighter,
-
-      ':hover': {
-        fill: color.core.grayLight
-      },
-
-      ':focus': {
-        fill: color.core.grayLight
-      }
-    }
-  };
-})(DayPickerKeyboardShortcuts);
-
-/***/ }),
-
-/***/ "10Kj":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var GetIntrinsic = __webpack_require__("j1Hc");
-
-var $TypeError = GetIntrinsic('%TypeError%');
-var $SyntaxError = GetIntrinsic('%SyntaxError%');
-
-var has = __webpack_require__("oNNP");
-
-var predicates = {
-	// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
-	'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
-		if (Type(Desc) !== 'Object') {
-			return false;
-		}
-		var allowed = {
-			'[[Configurable]]': true,
-			'[[Enumerable]]': true,
-			'[[Get]]': true,
-			'[[Set]]': true,
-			'[[Value]]': true,
-			'[[Writable]]': true
-		};
-
-		for (var key in Desc) { // eslint-disable-line
-			if (has(Desc, key) && !allowed[key]) {
-				return false;
-			}
-		}
-
-		var isData = has(Desc, '[[Value]]');
-		var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');
-		if (isData && IsAccessor) {
-			throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');
-		}
-		return true;
-	}
-};
-
-module.exports = function assertRecord(Type, recordType, argumentName, value) {
-	var predicate = predicates[recordType];
-	if (typeof predicate !== 'function') {
-		throw new $SyntaxError('unknown record type: ' + recordType);
-	}
-	if (!predicate(Type, value)) {
-		throw new $TypeError(argumentName + ' must be a ' + recordType);
-	}
-};
-
-
-/***/ }),
-
-/***/ "16Al":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-
-
-var ReactPropTypesSecret = __webpack_require__("WbBG");
-
-function emptyFunction() {}
-function emptyFunctionWithReset() {}
-emptyFunctionWithReset.resetWarningCache = emptyFunction;
-
-module.exports = function() {
-  function shim(props, propName, componentName, location, propFullName, secret) {
-    if (secret === ReactPropTypesSecret) {
-      // It is still safe when called from React.
-      return;
-    }
-    var err = 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'
-    );
-    err.name = 'Invariant Violation';
-    throw err;
-  };
-  shim.isRequired = shim;
-  function getShim() {
-    return shim;
-  };
-  // Important!
-  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
-  var ReactPropTypes = {
-    array: shim,
-    bigint: shim,
-    bool: shim,
-    func: shim,
-    number: shim,
-    object: shim,
-    string: shim,
-    symbol: shim,
-
-    any: shim,
-    arrayOf: getShim,
-    element: shim,
-    elementType: shim,
-    instanceOf: getShim,
-    node: shim,
-    objectOf: getShim,
-    oneOf: getShim,
-    oneOfType: getShim,
-    shape: getShim,
-    exact: getShim,
-
-    checkPropTypes: emptyFunctionWithReset,
-    resetWarningCache: emptyFunction
-  };
-
-  ReactPropTypes.PropTypes = ReactPropTypes;
-
-  return ReactPropTypes;
-};
-
-
-/***/ }),
-
-/***/ "17x9":
-/***/ (function(module, exports, __webpack_require__) {
-
-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-if (false) { var throwOnDirectAccess, ReactIs; } else {
-  // By explicitly using `prop-types` you are opting into new production behavior.
-  // http://fb.me/prop-types-in-prod
-  module.exports = __webpack_require__("16Al")();
-}
-
-
-/***/ }),
-
-/***/ "1CF3":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["dom"]; }());
-
-/***/ }),
-
-/***/ "1KsK":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var toStr = Object.prototype.toString;
-
-module.exports = function isArguments(value) {
-	var str = toStr.call(value);
-	var isArgs = str === '[object Arguments]';
-	if (!isArgs) {
-		isArgs = str !== '[object Array]' &&
-			value !== null &&
-			typeof value === 'object' &&
-			typeof value.length === 'number' &&
-			value.length >= 0 &&
-			toStr.call(value.callee) === '[object Function]';
-	}
-	return isArgs;
-};
-
-
-/***/ }),
-
-/***/ "1P9b":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-// http://262.ecma-international.org/5.1/#sec-9.11
-
-module.exports = __webpack_require__("Asd8");
+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());


 /***/ }),

-/***/ "1TsT":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 8495:
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

 "use strict";
 __webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "addEventListener", function() { return addEventListener; });
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */   "addEventListener": function() { return /* binding */ addEventListener; }
+/* harmony export */ });
 var CAN_USE_DOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);

 // Adapted from Modernizr
@@ -1767,5820 +1661,6196 @@ function addEventListener(target, eventName, listener, options) {

 /***/ }),

-/***/ "1ao6":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 9170:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-var GetIntrinsic = __webpack_require__("j1Hc");
+var keys = __webpack_require__(806);
+var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';

-var $TypeError = GetIntrinsic('%TypeError%');
+var toStr = Object.prototype.toString;
+var concat = Array.prototype.concat;
+var origDefineProperty = Object.defineProperty;

-var IsPropertyKey = __webpack_require__("nR7C");
-var Type = __webpack_require__("PoQ0");
+var isFunction = function (fn) {
+	return typeof fn === 'function' && toStr.call(fn) === '[object Function]';
+};

-// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty
+var arePropertyDescriptorsSupported = function () {
+	var obj = {};
+	try {
+		origDefineProperty(obj, 'x', { enumerable: false, value: obj });
+		// eslint-disable-next-line no-unused-vars, no-restricted-syntax
+		for (var _ in obj) { // jscs:ignore disallowUnusedVariables
+			return false;
+		}
+		return obj.x === obj;
+	} catch (e) { /* this is IE 8. */
+		return false;
+	}
+};
+var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();

-module.exports = function HasProperty(O, P) {
-	if (Type(O) !== 'Object') {
-		throw new $TypeError('Assertion failed: `O` must be an Object');
+var defineProperty = function (object, name, value, predicate) {
+	if (name in object && (!isFunction(predicate) || !predicate())) {
+		return;
 	}
-	if (!IsPropertyKey(P)) {
-		throw new $TypeError('Assertion failed: `P` must be a Property Key');
+	if (supportsDescriptors) {
+		origDefineProperty(object, name, {
+			configurable: true,
+			enumerable: false,
+			value: value,
+			writable: true
+		});
+	} else {
+		object[name] = value;
 	}
-	return P in O;
 };

+var defineProperties = function (object, map) {
+	var predicates = arguments.length > 2 ? arguments[2] : {};
+	var props = keys(map);
+	if (hasSymbols) {
+		props = concat.call(props, Object.getOwnPropertySymbols(map));
+	}
+	for (var i = 0; i < props.length; i += 1) {
+		defineProperty(object, props[i], map[props[i]], predicates[props[i]]);
+	}
+};
+
+defineProperties.supportsDescriptors = !!supportsDescriptors;
+
+module.exports = defineProperties;
+

 /***/ }),

-/***/ "1iEr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 8110:
+/***/ (function(module) {

 "use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */
+module.exports = function contains(other) {
+	if (arguments.length < 1) {
+		throw new TypeError('1 argument is required');
+	}
+	if (typeof other !== 'object') {
+		throw new TypeError('Argument 1 (”other“) to Node.contains must be an instance of Node');
+	}

-const chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronRight);
+	var node = other;
+	do {
+		if (this === node) {
+			return true;
+		}
+		if (node) {
+			node = node.parentNode;
+		}
+	} while (node);
+
+	return false;
+};


 /***/ }),

-/***/ "1seS":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 6789:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-var slice = Array.prototype.slice;
-var isArgs = __webpack_require__("1KsK");
-
-var origKeys = Object.keys;
-var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__("sYn3");
+var define = __webpack_require__(9170);

-var originalKeys = Object.keys;
+var implementation = __webpack_require__(8110);
+var getPolyfill = __webpack_require__(8267);
+var polyfill = getPolyfill();
+var shim = __webpack_require__(714);

-keysShim.shim = function shimObjectKeys() {
-	if (Object.keys) {
-		var keysWorksWithArguments = (function () {
-			// Safari 5.0 bug
-			var args = Object.keys(arguments);
-			return args && args.length === arguments.length;
-		}(1, 2));
-		if (!keysWorksWithArguments) {
-			Object.keys = function keys(object) { // eslint-disable-line func-name-matching
-				if (isArgs(object)) {
-					return originalKeys(slice.call(object));
-				}
-				return originalKeys(object);
-			};
-		}
-	} else {
-		Object.keys = keysShim;
-	}
-	return Object.keys || keysShim;
+var boundContains = function contains(node, other) {
+	return polyfill.apply(node, [other]);
 };

-module.exports = keysShim;
+define(boundContains, {
+	getPolyfill: getPolyfill,
+	implementation: implementation,
+	shim: shim
+});
+
+module.exports = boundContains;


 /***/ }),

-/***/ "22yB":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 8267:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-var implementation = __webpack_require__("yN6O");
+var implementation = __webpack_require__(8110);

 module.exports = function getPolyfill() {
-	return Array.prototype.flat || implementation;
+	if (typeof document !== 'undefined') {
+		if (document.contains) {
+			return document.contains;
+		}
+		if (document.body && document.body.contains) {
+			try {
+				if (typeof document.body.contains.call(document, '') === 'boolean') {
+					return document.body.contains;
+				}
+			} catch (e) { /**/ }
+		}
+	}
+	return implementation;
 };


 /***/ }),

-/***/ "25kQ":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 714:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-module.exports = __webpack_require__("aUaa");
+var define = __webpack_require__(9170);
+var getPolyfill = __webpack_require__(8267);
+
+module.exports = function shimContains() {
+	var polyfill = getPolyfill();
+	if (typeof document !== 'undefined') {
+		define(
+			document,
+			{ contains: polyfill },
+			{ contains: function () { return document.contains !== polyfill; } }
+		);
+		if (typeof Element !== 'undefined') {
+			define(
+				Element.prototype,
+				{ contains: polyfill },
+				{ contains: function () { return Element.prototype.contains !== polyfill; } }
+			);
+		}
+	}
+	return polyfill;
+};


 /***/ }),

-/***/ "2Q00":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 1345:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = CalendarWeek;
-
-var _react = __webpack_require__("cDcd");
-
-var _react2 = _interopRequireDefault(_react);
-
-var _airbnbPropTypes = __webpack_require__("Hsqg");
+var util = __webpack_require__(5022);

-var _CalendarDay = __webpack_require__("N3k4");
-
-var _CalendarDay2 = _interopRequireDefault(_CalendarDay);
+function scrollIntoView(elem, container, config) {
+  config = config || {};
+  // document 归一化到 window
+  if (container.nodeType === 9) {
+    container = util.getWindow(container);
+  }

-var _CustomizableCalendarDay = __webpack_require__("GET3");
+  var allowHorizontalScroll = config.allowHorizontalScroll;
+  var onlyScrollIfNeeded = config.onlyScrollIfNeeded;
+  var alignWithTop = config.alignWithTop;
+  var alignWithLeft = config.alignWithLeft;
+  var offsetTop = config.offsetTop || 0;
+  var offsetLeft = config.offsetLeft || 0;
+  var offsetBottom = config.offsetBottom || 0;
+  var offsetRight = config.offsetRight || 0;

-var _CustomizableCalendarDay2 = _interopRequireDefault(_CustomizableCalendarDay);
+  allowHorizontalScroll = allowHorizontalScroll === undefined ? true : allowHorizontalScroll;

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+  var isWin = util.isWindow(container);
+  var elemOffset = util.offset(elem);
+  var eh = util.outerHeight(elem);
+  var ew = util.outerWidth(elem);
+  var containerOffset = undefined;
+  var ch = undefined;
+  var cw = undefined;
+  var containerScroll = undefined;
+  var diffTop = undefined;
+  var diffBottom = undefined;
+  var win = undefined;
+  var winScroll = undefined;
+  var ww = undefined;
+  var wh = undefined;

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
-  children: (0, _airbnbPropTypes.or)([(0, _airbnbPropTypes.childrenOfType)(_CalendarDay2['default']), (0, _airbnbPropTypes.childrenOfType)(_CustomizableCalendarDay2['default'])]).isRequired
-});
+  if (isWin) {
+    win = container;
+    wh = util.height(win);
+    ww = util.width(win);
+    winScroll = {
+      left: util.scrollLeft(win),
+      top: util.scrollTop(win)
+    };
+    // elem 相对 container 可视视窗的距离
+    diffTop = {
+      left: elemOffset.left - winScroll.left - offsetLeft,
+      top: elemOffset.top - winScroll.top - offsetTop
+    };
+    diffBottom = {
+      left: elemOffset.left + ew - (winScroll.left + ww) + offsetRight,
+      top: elemOffset.top + eh - (winScroll.top + wh) + offsetBottom
+    };
+    containerScroll = winScroll;
+  } else {
+    containerOffset = util.offset(container);
+    ch = container.clientHeight;
+    cw = container.clientWidth;
+    containerScroll = {
+      left: container.scrollLeft,
+      top: container.scrollTop
+    };
+    // elem 相对 container 可视视窗的距离
+    // 注意边框, offset 是边框到根节点
+    diffTop = {
+      left: elemOffset.left - (containerOffset.left + (parseFloat(util.css(container, 'borderLeftWidth')) || 0)) - offsetLeft,
+      top: elemOffset.top - (containerOffset.top + (parseFloat(util.css(container, 'borderTopWidth')) || 0)) - offsetTop
+    };
+    diffBottom = {
+      left: elemOffset.left + ew - (containerOffset.left + cw + (parseFloat(util.css(container, 'borderRightWidth')) || 0)) + offsetRight,
+      top: elemOffset.top + eh - (containerOffset.top + ch + (parseFloat(util.css(container, 'borderBottomWidth')) || 0)) + offsetBottom
+    };
+  }

-function CalendarWeek(_ref) {
-  var children = _ref.children;
+  if (diffTop.top < 0 || diffBottom.top > 0) {
+    // 强制向上
+    if (alignWithTop === true) {
+      util.scrollTop(container, containerScroll.top + diffTop.top);
+    } else if (alignWithTop === false) {
+      util.scrollTop(container, containerScroll.top + diffBottom.top);
+    } else {
+      // 自动调整
+      if (diffTop.top < 0) {
+        util.scrollTop(container, containerScroll.top + diffTop.top);
+      } else {
+        util.scrollTop(container, containerScroll.top + diffBottom.top);
+      }
+    }
+  } else {
+    if (!onlyScrollIfNeeded) {
+      alignWithTop = alignWithTop === undefined ? true : !!alignWithTop;
+      if (alignWithTop) {
+        util.scrollTop(container, containerScroll.top + diffTop.top);
+      } else {
+        util.scrollTop(container, containerScroll.top + diffBottom.top);
+      }
+    }
+  }

-  return _react2['default'].createElement(
-    'tr',
-    null,
-    children
-  );
+  if (allowHorizontalScroll) {
+    if (diffTop.left < 0 || diffBottom.left > 0) {
+      // 强制向上
+      if (alignWithLeft === true) {
+        util.scrollLeft(container, containerScroll.left + diffTop.left);
+      } else if (alignWithLeft === false) {
+        util.scrollLeft(container, containerScroll.left + diffBottom.left);
+      } else {
+        // 自动调整
+        if (diffTop.left < 0) {
+          util.scrollLeft(container, containerScroll.left + diffTop.left);
+        } else {
+          util.scrollLeft(container, containerScroll.left + diffBottom.left);
+        }
+      }
+    } else {
+      if (!onlyScrollIfNeeded) {
+        alignWithLeft = alignWithLeft === undefined ? true : !!alignWithLeft;
+        if (alignWithLeft) {
+          util.scrollLeft(container, containerScroll.left + diffTop.left);
+        } else {
+          util.scrollLeft(container, containerScroll.left + diffBottom.left);
+        }
+      }
+    }
+  }
 }

-CalendarWeek.propTypes = propTypes;
+module.exports = scrollIntoView;

 /***/ }),

-/***/ "2S2E":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 5425:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+module.exports = __webpack_require__(1345);

-var _propTypes = __webpack_require__("17x9");
+/***/ }),

-var _propTypes2 = _interopRequireDefault(_propTypes);
+/***/ 5022:
+/***/ (function(module) {

-var _constants = __webpack_require__("Fv1B");
+"use strict";

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-exports['default'] = _propTypes2['default'].oneOf(_constants.WEEKDAYS);
+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

-/***/ }),
+var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };

-/***/ "2gm7":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
-
-
-/***/ }),
-
-/***/ "2mql":
-/***/ (function(module, exports, __webpack_require__) {
+function getClientPosition(elem) {
+  var box = undefined;
+  var x = undefined;
+  var y = undefined;
+  var doc = elem.ownerDocument;
+  var body = doc.body;
+  var docElem = doc && doc.documentElement;
+  // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式
+  box = elem.getBoundingClientRect();

-"use strict";
+  // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop
+  // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确
+  // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin

+  x = box.left;
+  y = box.top;

-var reactIs = __webpack_require__("TOwV");
+  // In IE, most of the time, 2 extra pixels are added to the top and left
+  // due to the implicit 2-pixel inset border.  In IE6/7 quirks mode and
+  // IE6 standards mode, this border can be overridden by setting the
+  // document element's border to zero -- thus, we cannot rely on the
+  // offset always being 2 pixels.

-/**
- * Copyright 2015, Yahoo! Inc.
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
- */
-var REACT_STATICS = {
-  childContextTypes: true,
-  contextType: true,
-  contextTypes: true,
-  defaultProps: true,
-  displayName: true,
-  getDefaultProps: true,
-  getDerivedStateFromError: true,
-  getDerivedStateFromProps: true,
-  mixins: true,
-  propTypes: true,
-  type: true
-};
-var KNOWN_STATICS = {
-  name: true,
-  length: true,
-  prototype: true,
-  caller: true,
-  callee: true,
-  arguments: true,
-  arity: true
-};
-var FORWARD_REF_STATICS = {
-  '$$typeof': true,
-  render: true,
-  defaultProps: true,
-  displayName: true,
-  propTypes: true
-};
-var MEMO_STATICS = {
-  '$$typeof': true,
-  compare: true,
-  defaultProps: true,
-  displayName: true,
-  propTypes: true,
-  type: true
-};
-var TYPE_STATICS = {};
-TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
-TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
+  // In quirks mode, the offset can be determined by querying the body's
+  // clientLeft/clientTop, but in standards mode, it is found by querying
+  // the document element's clientLeft/clientTop.  Since we already called
+  // getClientBoundingRect we have already forced a reflow, so it is not
+  // too expensive just to query them all.

-function getStatics(component) {
-  // React v16.11 and below
-  if (reactIs.isMemo(component)) {
-    return MEMO_STATICS;
-  } // React v16.12 and above
+  // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的
+  // 窗口边框标准是设 documentElement ,quirks 时设置 body
+  // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去
+  // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置
+  // 标准 ie 下 docElem.clientTop 就是 border-top
+  // ie7 html 即窗口边框改变不了。永远为 2
+  // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0

+  x -= docElem.clientLeft || body.clientLeft || 0;
+  y -= docElem.clientTop || body.clientTop || 0;

-  return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
+  return {
+    left: x,
+    top: y
+  };
 }

-var defineProperty = Object.defineProperty;
-var getOwnPropertyNames = Object.getOwnPropertyNames;
-var getOwnPropertySymbols = Object.getOwnPropertySymbols;
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-var getPrototypeOf = Object.getPrototypeOf;
-var objectPrototype = Object.prototype;
-function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
-  if (typeof sourceComponent !== 'string') {
-    // don't hoist over string (html) components
-    if (objectPrototype) {
-      var inheritedComponent = getPrototypeOf(sourceComponent);
-
-      if (inheritedComponent && inheritedComponent !== objectPrototype) {
-        hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
-      }
-    }
-
-    var keys = getOwnPropertyNames(sourceComponent);
-
-    if (getOwnPropertySymbols) {
-      keys = keys.concat(getOwnPropertySymbols(sourceComponent));
+function getScroll(w, top) {
+  var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];
+  var method = 'scroll' + (top ? 'Top' : 'Left');
+  if (typeof ret !== 'number') {
+    var d = w.document;
+    // ie6,7,8 standard mode
+    ret = d.documentElement[method];
+    if (typeof ret !== 'number') {
+      // quirks mode
+      ret = d.body[method];
     }
+  }
+  return ret;
+}

-    var targetStatics = getStatics(targetComponent);
-    var sourceStatics = getStatics(sourceComponent);
+function getScrollLeft(w) {
+  return getScroll(w);
+}

-    for (var i = 0; i < keys.length; ++i) {
-      var key = keys[i];
+function getScrollTop(w) {
+  return getScroll(w, true);
+}

-      if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
-        var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
+function getOffset(el) {
+  var pos = getClientPosition(el);
+  var doc = el.ownerDocument;
+  var w = doc.defaultView || doc.parentWindow;
+  pos.left += getScrollLeft(w);
+  pos.top += getScrollTop(w);
+  return pos;
+}
+function _getComputedStyle(elem, name, computedStyle_) {
+  var val = '';
+  var d = elem.ownerDocument;
+  var computedStyle = computedStyle_ || d.defaultView.getComputedStyle(elem, null);

-        try {
-          // Avoid failures from read-only properties
-          defineProperty(targetComponent, key, descriptor);
-        } catch (e) {}
-      }
-    }
+  // https://github.com/kissyteam/kissy/issues/61
+  if (computedStyle) {
+    val = computedStyle.getPropertyValue(name) || computedStyle[name];
   }

-  return targetComponent;
+  return val;
 }

-module.exports = hoistNonReactStatics;
+var _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');
+var RE_POS = /^(top|right|bottom|left)$/;
+var CURRENT_STYLE = 'currentStyle';
+var RUNTIME_STYLE = 'runtimeStyle';
+var LEFT = 'left';
+var PX = 'px';

+function _getComputedStyleIE(elem, name) {
+  // currentStyle maybe null
+  // http://msdn.microsoft.com/en-us/library/ms535231.aspx
+  var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];

-/***/ }),
+  // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值
+  // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19
+  // 在 ie 下不对,需要直接用 offset 方式
+  // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了

-/***/ "3HW2":
-/***/ (function(module, exports, __webpack_require__) {
+  // From the awesome hack by Dean Edwards
+  // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
+  // If we're not dealing with a regular pixel number
+  // but a number that has a weird ending, we need to convert it to pixels
+  // exclude left right for relativity
+  if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {
+    // Remember the original values
+    var style = elem.style;
+    var left = style[LEFT];
+    var rsLeft = elem[RUNTIME_STYLE][LEFT];

-"use strict";
+    // prevent flashing of content
+    elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];

+    // Put in the new values to get a computed value out
+    style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;
+    ret = style.pixelLeft + PX;

-var MAX_SAFE_INTEGER = __webpack_require__("yyeE");
+    // Revert the changed values
+    style[LEFT] = left;

-var ToIntegerOrInfinity = __webpack_require__("3iup");
+    elem[RUNTIME_STYLE][LEFT] = rsLeft;
+  }
+  return ret === '' ? 'auto' : ret;
+}

-module.exports = function ToLength(argument) {
-	var len = ToIntegerOrInfinity(argument);
-	if (len <= 0) { return 0; } // includes converting -0 to +0
-	if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; }
-	return len;
-};
+var getComputedStyleX = undefined;
+if (typeof window !== 'undefined') {
+  getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;
+}

+function each(arr, fn) {
+  for (var i = 0; i < arr.length; i++) {
+    fn(arr[i]);
+  }
+}

-/***/ }),
+function isBorderBoxFn(elem) {
+  return getComputedStyleX(elem, 'boxSizing') === 'border-box';
+}

-/***/ "3HjQ":
-/***/ (function(module, exports) {
+var BOX_MODELS = ['margin', 'border', 'padding'];
+var CONTENT_INDEX = -1;
+var PADDING_INDEX = 2;
+var BORDER_INDEX = 1;
+var MARGIN_INDEX = 0;

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-// This function takes an array of styles and separates them into styles that
-// are handled by Aphrodite and inline styles.
-function separateStyles(stylesArray) {
-  var classNames = [];
+function swap(elem, options, callback) {
+  var old = {};
+  var style = elem.style;
+  var name = undefined;

-  // Since determining if an Object is empty requires collecting all of its
-  // keys, and we want the best performance in this code because we are in the
-  // render path, we are going to do a little bookkeeping ourselves.
-  var hasInlineStyles = false;
-  var inlineStyles = {};
+  // Remember the old values, and insert the new ones
+  for (name in options) {
+    if (options.hasOwnProperty(name)) {
+      old[name] = style[name];
+      style[name] = options[name];
+    }
+  }

-  // This is run on potentially every node in the tree when rendering, where
-  // performance is critical. Normally we would prefer using `forEach`, but
-  // old-fashioned for loops are faster so that's what we have chosen here.
-  for (var i = 0; i < stylesArray.length; i++) {
-    // eslint-disable-line no-plusplus
-    var style = stylesArray[i];
+  callback.call(elem);

-    // If this  style is falsy, we just want to disregard it. This allows for
-    // syntax like:
-    //
-    //   css(isFoo && styles.foo)
-    if (style) {
-      if (typeof style === 'string') {
-        classNames.push(style);
-      } else {
-        Object.assign(inlineStyles, style);
-        hasInlineStyles = true;
-      }
+  // Revert the old values
+  for (name in options) {
+    if (options.hasOwnProperty(name)) {
+      style[name] = old[name];
     }
   }
-
-  return {
-    classNames: classNames,
-    hasInlineStyles: hasInlineStyles,
-    inlineStyles: inlineStyles
-  };
 }

-exports['default'] = separateStyles;
-
-/***/ }),
-
-/***/ "3gBW":
-/***/ (function(module, exports, __webpack_require__) {
-
-// eslint-disable-next-line import/no-unresolved
-module.exports = __webpack_require__("50qU");
-
-
-/***/ }),
-
-/***/ "3iup":
-/***/ (function(module, exports, __webpack_require__) {
+function getPBMWidth(elem, props, which) {
+  var value = 0;
+  var prop = undefined;
+  var j = undefined;
+  var i = undefined;
+  for (j = 0; j < props.length; j++) {
+    prop = props[j];
+    if (prop) {
+      for (i = 0; i < which.length; i++) {
+        var cssProp = undefined;
+        if (prop === 'border') {
+          cssProp = prop + which[i] + 'Width';
+        } else {
+          cssProp = prop + which[i];
+        }
+        value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;
+      }
+    }
+  }
+  return value;
+}

-"use strict";
+/**
+ * A crude way of determining if an object is a window
+ * @member util
+ */
+function isWindow(obj) {
+  // must use == for ie8
+  /* eslint eqeqeq:0 */
+  return obj != null && obj == obj.window;
+}

+var domUtils = {};

-var ES5ToInteger = __webpack_require__("Wfh+");
+each(['Width', 'Height'], function (name) {
+  domUtils['doc' + name] = function (refWin) {
+    var d = refWin.document;
+    return Math.max(
+    // firefox chrome documentElement.scrollHeight< body.scrollHeight
+    // ie standard mode : documentElement.scrollHeight> body.scrollHeight
+    d.documentElement['scroll' + name],
+    // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?
+    d.body['scroll' + name], domUtils['viewport' + name](d));
+  };

-var ToNumber = __webpack_require__("Rhcr");
+  domUtils['viewport' + name] = function (win) {
+    // pc browser includes scrollbar in window.innerWidth
+    var prop = 'client' + name;
+    var doc = win.document;
+    var body = doc.body;
+    var documentElement = doc.documentElement;
+    var documentElementProp = documentElement[prop];
+    // 标准模式取 documentElement
+    // backcompat 取 body
+    return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;
+  };
+});

-// https://www.ecma-international.org/ecma-262/11.0/#sec-tointeger
+/*
+ 得到元素的大小信息
+ @param elem
+ @param name
+ @param {String} [extra]  'padding' : (css width) + padding
+ 'border' : (css width) + padding + border
+ 'margin' : (css width) + padding + border + margin
+ */
+function getWH(elem, name, extra) {
+  if (isWindow(elem)) {
+    return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);
+  } else if (elem.nodeType === 9) {
+    return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);
+  }
+  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
+  var borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;
+  var computedStyle = getComputedStyleX(elem);
+  var isBorderBox = isBorderBoxFn(elem, computedStyle);
+  var cssBoxValue = 0;
+  if (borderBoxValue == null || borderBoxValue <= 0) {
+    borderBoxValue = undefined;
+    // Fall back to computed then un computed css if necessary
+    cssBoxValue = getComputedStyleX(elem, name);
+    if (cssBoxValue == null || Number(cssBoxValue) < 0) {
+      cssBoxValue = elem.style[name] || 0;
+    }
+    // Normalize '', auto, and prepare for extra
+    cssBoxValue = parseFloat(cssBoxValue) || 0;
+  }
+  if (extra === undefined) {
+    extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;
+  }
+  var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;
+  var val = borderBoxValue || cssBoxValue;
+  if (extra === CONTENT_INDEX) {
+    if (borderBoxValueOrIsBorderBox) {
+      return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);
+    }
+    return cssBoxValue;
+  }
+  if (borderBoxValueOrIsBorderBox) {
+    var padding = extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle);
+    return val + (extra === BORDER_INDEX ? 0 : padding);
+  }
+  return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);
+}

-module.exports = function ToInteger(value) {
-	var number = ToNumber(value);
-	if (number !== 0) {
-		number = ES5ToInteger(number);
-	}
-	return number === 0 ? 0 : number;
+var cssShow = {
+  position: 'absolute',
+  visibility: 'hidden',
+  display: 'block'
 };

+// fix #119 : https://github.com/kissyteam/kissy/issues/119
+function getWHIgnoreDisplay(elem) {
+  var val = undefined;
+  var args = arguments;
+  // in case elem is window
+  // elem.offsetWidth === undefined
+  if (elem.offsetWidth !== 0) {
+    val = getWH.apply(undefined, args);
+  } else {
+    swap(elem, cssShow, function () {
+      val = getWH.apply(undefined, args);
+    });
+  }
+  return val;
+}

-/***/ }),
-
-/***/ "4cSd":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var define = __webpack_require__("82c2");
-var callBind = __webpack_require__("PrET");
-
-var implementation = __webpack_require__("rQy3");
-var getPolyfill = __webpack_require__("xoj2");
-var shim = __webpack_require__("ib7Q");
+function css(el, name, v) {
+  var value = v;
+  if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {
+    for (var i in name) {
+      if (name.hasOwnProperty(i)) {
+        css(el, i, name[i]);
+      }
+    }
+    return undefined;
+  }
+  if (typeof value !== 'undefined') {
+    if (typeof value === 'number') {
+      value += 'px';
+    }
+    el.style[name] = value;
+    return undefined;
+  }
+  return getComputedStyleX(el, name);
+}

-var polyfill = callBind(getPolyfill(), Object);
+each(['width', 'height'], function (name) {
+  var first = name.charAt(0).toUpperCase() + name.slice(1);
+  domUtils['outer' + first] = function (el, includeMargin) {
+    return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);
+  };
+  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];

-define(polyfill, {
-	getPolyfill: getPolyfill,
-	implementation: implementation,
-	shim: shim
+  domUtils[name] = function (elem, val) {
+    if (val !== undefined) {
+      if (elem) {
+        var computedStyle = getComputedStyleX(elem);
+        var isBorderBox = isBorderBoxFn(elem);
+        if (isBorderBox) {
+          val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);
+        }
+        return css(elem, name, val);
+      }
+      return undefined;
+    }
+    return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);
+  };
 });

-module.exports = polyfill;
-
+// 设置 elem 相对 elem.ownerDocument 的坐标
+function setOffset(elem, offset) {
+  // set position first, in-case top/left are set even on static elem
+  if (css(elem, 'position') === 'static') {
+    elem.style.position = 'relative';
+  }

-/***/ }),
+  var old = getOffset(elem);
+  var ret = {};
+  var current = undefined;
+  var key = undefined;

-/***/ "4eJC":
-/***/ (function(module, exports, __webpack_require__) {
+  for (key in offset) {
+    if (offset.hasOwnProperty(key)) {
+      current = parseFloat(css(elem, key)) || 0;
+      ret[key] = current + offset[key] - old[key];
+    }
+  }
+  css(elem, ret);
+}

-/**
- * Memize options object.
- *
- * @typedef MemizeOptions
- *
- * @property {number} [maxSize] Maximum size of the cache.
- */
+module.exports = _extends({
+  getWindow: function getWindow(node) {
+    var doc = node.ownerDocument || node;
+    return doc.defaultView || doc.parentWindow;
+  },
+  offset: function offset(el, value) {
+    if (typeof value !== 'undefined') {
+      setOffset(el, value);
+    } else {
+      return getOffset(el);
+    }
+  },

-/**
- * Internal cache entry.
- *
- * @typedef MemizeCacheNode
- *
- * @property {?MemizeCacheNode|undefined} [prev] Previous node.
- * @property {?MemizeCacheNode|undefined} [next] Next node.
- * @property {Array<*>}                   args   Function arguments for cache
- *                                               entry.
- * @property {*}                          val    Function result.
- */
+  isWindow: isWindow,
+  each: each,
+  css: css,
+  clone: function clone(obj) {
+    var ret = {};
+    for (var i in obj) {
+      if (obj.hasOwnProperty(i)) {
+        ret[i] = obj[i];
+      }
+    }
+    var overflow = obj.overflow;
+    if (overflow) {
+      for (var i in obj) {
+        if (obj.hasOwnProperty(i)) {
+          ret.overflow[i] = obj.overflow[i];
+        }
+      }
+    }
+    return ret;
+  },
+  scrollLeft: function scrollLeft(w, v) {
+    if (isWindow(w)) {
+      if (v === undefined) {
+        return getScrollLeft(w);
+      }
+      window.scrollTo(v, getScrollTop(w));
+    } else {
+      if (v === undefined) {
+        return w.scrollLeft;
+      }
+      w.scrollLeft = v;
+    }
+  },
+  scrollTop: function scrollTop(w, v) {
+    if (isWindow(w)) {
+      if (v === undefined) {
+        return getScrollTop(w);
+      }
+      window.scrollTo(getScrollLeft(w), v);
+    } else {
+      if (v === undefined) {
+        return w.scrollTop;
+      }
+      w.scrollTop = v;
+    }
+  },

-/**
- * Properties of the enhanced function for controlling cache.
- *
- * @typedef MemizeMemoizedFunction
- *
- * @property {()=>void} clear Clear the cache.
- */
+  viewportWidth: 0,
+  viewportHeight: 0
+}, domUtils);

-/**
- * Accepts a function to be memoized, and returns a new memoized function, with
- * optional options.
- *
- * @template {Function} F
+/***/ }),
+
+/***/ 9214:
+/***/ (function(__unused_webpack_module, exports) {
+
+"use strict";
+var __webpack_unused_export__;
+/** @license React v17.0.2
+ * react-is.production.min.js
  *
- * @param {F}             fn        Function to memoize.
- * @param {MemizeOptions} [options] Options object.
+ * Copyright (c) Facebook, Inc. and its affiliates.
  *
- * @return {F & MemizeMemoizedFunction} Memoized function.
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
  */
-function memize( fn, options ) {
-	var size = 0;
+var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
+if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden")}
+function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;__webpack_unused_export__=h;__webpack_unused_export__=z;__webpack_unused_export__=A;__webpack_unused_export__=B;__webpack_unused_export__=C;__webpack_unused_export__=D;__webpack_unused_export__=E;__webpack_unused_export__=F;__webpack_unused_export__=G;__webpack_unused_export__=H;
+__webpack_unused_export__=I;__webpack_unused_export__=function(){return!1};__webpack_unused_export__=function(){return!1};__webpack_unused_export__=function(a){return y(a)===h};__webpack_unused_export__=function(a){return y(a)===g};__webpack_unused_export__=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};__webpack_unused_export__=function(a){return y(a)===k};__webpack_unused_export__=function(a){return y(a)===d};__webpack_unused_export__=function(a){return y(a)===p};__webpack_unused_export__=function(a){return y(a)===n};
+__webpack_unused_export__=function(a){return y(a)===c};__webpack_unused_export__=function(a){return y(a)===f};__webpack_unused_export__=function(a){return y(a)===e};__webpack_unused_export__=function(a){return y(a)===l};__webpack_unused_export__=function(a){return"string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};
+__webpack_unused_export__=y;

-	/** @type {?MemizeCacheNode|undefined} */
-	var head;

-	/** @type {?MemizeCacheNode|undefined} */
-	var tail;
+/***/ }),

-	options = options || {};
+/***/ 2797:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-	function memoized( /* ...args */ ) {
-		var node = head,
-			len = arguments.length,
-			args, i;
+"use strict";

-		searchCache: while ( node ) {
-			// Perform a shallow equality test to confirm that whether the node
-			// under test is a candidate for the arguments passed. Two arrays
-			// are shallowly equal if their length matches and each entry is
-			// strictly equal between the two sets. Avoid abstracting to a
-			// function which could incur an arguments leaking deoptimization.

-			// Check whether node arguments match arguments length
-			if ( node.args.length !== arguments.length ) {
-				node = node.next;
-				continue;
-			}
+if (true) {
+  /* unused reexport */ __webpack_require__(9214);
+} else {}

-			// Check whether node arguments match arguments values
-			for ( i = 0; i < len; i++ ) {
-				if ( node.args[ i ] !== arguments[ i ] ) {
-					node = node.next;
-					continue searchCache;
-				}
-			}

-			// At this point we can assume we've found a match
+/***/ }),

-			// Surface matched node to head if not already
-			if ( node !== head ) {
-				// As tail, shift to previous. Must only shift if not also
-				// head, since if both head and tail, there is no previous.
-				if ( node === tail ) {
-					tail = node.prev;
-				}
+/***/ 5249:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-				// Adjust siblings to point to each other. If node was tail,
-				// this also handles new tail's empty `next` assignment.
-				/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}
+"use strict";

-				node.next = head;
-				node.prev = null;
-				/** @type {MemizeCacheNode} */ ( head ).prev = node;
-				head = node;
-			}

-			// Return immediately
-			return node.val;
+var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';
+
+var isPrimitive = __webpack_require__(3777);
+var isCallable = __webpack_require__(5443);
+var isDate = __webpack_require__(8659);
+var isSymbol = __webpack_require__(3082);
+
+var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) {
+	if (typeof O === 'undefined' || O === null) {
+		throw new TypeError('Cannot call method on ' + O);
+	}
+	if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) {
+		throw new TypeError('hint must be "string" or "number"');
+	}
+	var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString'];
+	var method, result, i;
+	for (i = 0; i < methodNames.length; ++i) {
+		method = O[methodNames[i]];
+		if (isCallable(method)) {
+			result = method.call(O);
+			if (isPrimitive(result)) {
+				return result;
+			}
 		}
+	}
+	throw new TypeError('No default value');
+};

-		// No cached value found. Continue to insertion phase:
+var GetMethod = function GetMethod(O, P) {
+	var func = O[P];
+	if (func !== null && typeof func !== 'undefined') {
+		if (!isCallable(func)) {
+			throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function');
+		}
+		return func;
+	}
+	return void 0;
+};

-		// Create a copy of arguments (avoid leaking deoptimization)
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
+// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive
+module.exports = function ToPrimitive(input) {
+	if (isPrimitive(input)) {
+		return input;
+	}
+	var hint = 'default';
+	if (arguments.length > 1) {
+		if (arguments[1] === String) {
+			hint = 'string';
+		} else if (arguments[1] === Number) {
+			hint = 'number';
 		}
+	}

-		node = {
-			args: args,
+	var exoticToPrim;
+	if (hasSymbols) {
+		if (Symbol.toPrimitive) {
+			exoticToPrim = GetMethod(input, Symbol.toPrimitive);
+		} else if (isSymbol(input)) {
+			exoticToPrim = Symbol.prototype.valueOf;
+		}
+	}
+	if (typeof exoticToPrim !== 'undefined') {
+		var result = exoticToPrim.call(input, hint);
+		if (isPrimitive(result)) {
+			return result;
+		}
+		throw new TypeError('unable to convert exotic object to primitive');
+	}
+	if (hint === 'default' && (isDate(input) || isSymbol(input))) {
+		hint = 'string';
+	}
+	return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint);
+};

-			// Generate the result from original function
-			val: fn.apply( null, args ),
-		};

-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
+/***/ }),

-		// Shift existing head down list
-		if ( head ) {
-			head.prev = node;
-			node.next = head;
-		} else {
-			// If no head, follows that there's no tail (at initial or reset)
-			tail = node;
-		}
+/***/ 8023:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-		// Trim tail if we're reached max size and are pending cache insertion
-		if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
-			tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
-			/** @type {MemizeCacheNode} */ ( tail ).next = null;
-		} else {
-			size++;
-		}
+"use strict";

-		head = node;

-		return node.val;
-	}
+var toStr = Object.prototype.toString;

-	memoized.clear = function() {
-		head = null;
-		tail = null;
-		size = 0;
-	};
+var isPrimitive = __webpack_require__(3777);

-	if ( false ) {}
+var isCallable = __webpack_require__(5443);

-	// Ignore reason: There's not a clear solution to create an intersection of
-	// the function with additional properties, where the goal is to retain the
-	// function signature of the incoming argument and add control properties
-	// on the return value.
+// http://ecma-international.org/ecma-262/5.1/#sec-8.12.8
+var ES5internalSlots = {
+	'[[DefaultValue]]': function (O) {
+		var actualHint;
+		if (arguments.length > 1) {
+			actualHint = arguments[1];
+		} else {
+			actualHint = toStr.call(O) === '[object Date]' ? String : Number;
+		}

-	// @ts-ignore
-	return memoized;
-}
+		if (actualHint === String || actualHint === Number) {
+			var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString'];
+			var value, i;
+			for (i = 0; i < methods.length; ++i) {
+				if (isCallable(O[methods[i]])) {
+					value = O[methods[i]]();
+					if (isPrimitive(value)) {
+						return value;
+					}
+				}
+			}
+			throw new TypeError('No default value');
+		}
+		throw new TypeError('invalid [[DefaultValue]] hint supplied');
+	}
+};

-module.exports = memize;
+// http://ecma-international.org/ecma-262/5.1/#sec-9.1
+module.exports = function ToPrimitive(input) {
+	if (isPrimitive(input)) {
+		return input;
+	}
+	if (arguments.length > 1) {
+		return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]);
+	}
+	return ES5internalSlots['[[DefaultValue]]'](input);
+};


 /***/ }),

-/***/ "4po3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 3777:
+/***/ (function(module) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isTextField; });
-/**
- * Check whether the given element is a text field, where text field is defined
- * by the ability to select within the input, or that it is contenteditable.
- *
- * @example
- * import { isTextField } from "reakit-utils";
- *
- * isTextField(document.querySelector("div")); // false
- * isTextField(document.querySelector("input")); // true
- * isTextField(document.querySelector("input[type='button']")); // false
- * isTextField(document.querySelector("textarea")); // true
- * isTextField(document.querySelector("div[contenteditable='true']")); // true
- */
-function isTextField(element) {
-  try {
-    var isTextInput = element instanceof HTMLInputElement && element.selectionStart !== null;
-    var isTextArea = element.tagName === "TEXTAREA";
-    var isContentEditable = element.contentEditable === "true";
-    return isTextInput || isTextArea || isContentEditable || false;
-  } catch (error) {
-    // Safari throws an exception when trying to get `selectionStart`
-    // on non-text <input> elements (which, understandably, don't
-    // have the text selection API). We catch this via a try/catch
-    // block, as opposed to a more explicit check of the element's
-    // input types, because of Safari's non-standard behavior. This
-    // also means we don't have to worry about the list of input
-    // types that support `selectionStart` changing as the HTML spec
-    // evolves over time.
-    return false;
-  }
-}


+module.exports = function isPrimitive(value) {
+	return value === null || (typeof value !== 'function' && typeof value !== 'object');
+};


 /***/ }),

-/***/ "4qvr":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 2920:
+/***/ (function(module) {

-var hasMap = typeof Map === 'function' && Map.prototype;
-var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
-var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
-var mapForEach = hasMap && Map.prototype.forEach;
-var hasSet = typeof Set === 'function' && Set.prototype;
-var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
-var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
-var setForEach = hasSet && Set.prototype.forEach;
-var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
-var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
-var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
-var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
-var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
-var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
-var booleanValueOf = Boolean.prototype.valueOf;
-var objectToString = Object.prototype.toString;
-var functionToString = Function.prototype.toString;
-var $match = String.prototype.match;
-var $slice = String.prototype.slice;
-var $replace = String.prototype.replace;
-var $toUpperCase = String.prototype.toUpperCase;
-var $toLowerCase = String.prototype.toLowerCase;
-var $test = RegExp.prototype.test;
-var $concat = Array.prototype.concat;
-var $join = Array.prototype.join;
-var $arrSlice = Array.prototype.slice;
-var $floor = Math.floor;
-var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
-var gOPS = Object.getOwnPropertySymbols;
-var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
-var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
-// ie, `has-tostringtag/shams
-var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
-    ? Symbol.toStringTag
-    : null;
-var isEnumerable = Object.prototype.propertyIsEnumerable;
+//
+// Main
+//

-var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
-    [].__proto__ === Array.prototype // eslint-disable-line no-proto
-        ? function (O) {
-            return O.__proto__; // eslint-disable-line no-proto
-        }
-        : null
-);
+function memoize (fn, options) {
+  var cache = options && options.cache
+    ? options.cache
+    : cacheDefault

-function addNumericSeparator(num, str) {
-    if (
-        num === Infinity
-        || num === -Infinity
-        || num !== num
-        || (num && num > -1000 && num < 1000)
-        || $test.call(/e/, str)
-    ) {
-        return str;
-    }
-    var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
-    if (typeof num === 'number') {
-        var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
-        if (int !== num) {
-            var intStr = String(int);
-            var dec = $slice.call(str, intStr.length + 1);
-            return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
-        }
-    }
-    return $replace.call(str, sepRegex, '$&_');
-}
+  var serializer = options && options.serializer
+    ? options.serializer
+    : serializerDefault

-var inspectCustom = __webpack_require__(0).custom;
-var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
+  var strategy = options && options.strategy
+    ? options.strategy
+    : strategyDefault

-module.exports = function inspect_(obj, options, depth, seen) {
-    var opts = options || {};
+  return strategy(fn, {
+    cache: cache,
+    serializer: serializer
+  })
+}

-    if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
-        throw new TypeError('option "quoteStyle" must be "single" or "double"');
-    }
-    if (
-        has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
-            ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
-            : opts.maxStringLength !== null
-        )
-    ) {
-        throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
-    }
-    var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
-    if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
-        throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
-    }
+//
+// Strategy
+//

-    if (
-        has(opts, 'indent')
-        && opts.indent !== null
-        && opts.indent !== '\t'
-        && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
-    ) {
-        throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
-    }
-    if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
-        throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
-    }
-    var numericSeparator = opts.numericSeparator;
+function isPrimitive (value) {
+  return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs
+}

-    if (typeof obj === 'undefined') {
-        return 'undefined';
-    }
-    if (obj === null) {
-        return 'null';
-    }
-    if (typeof obj === 'boolean') {
-        return obj ? 'true' : 'false';
-    }
+function monadic (fn, cache, serializer, arg) {
+  var cacheKey = isPrimitive(arg) ? arg : serializer(arg)

-    if (typeof obj === 'string') {
-        return inspectString(obj, opts);
-    }
-    if (typeof obj === 'number') {
-        if (obj === 0) {
-            return Infinity / obj > 0 ? '0' : '-0';
-        }
-        var str = String(obj);
-        return numericSeparator ? addNumericSeparator(obj, str) : str;
-    }
-    if (typeof obj === 'bigint') {
-        var bigIntStr = String(obj) + 'n';
-        return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
-    }
+  var computedValue = cache.get(cacheKey)
+  if (typeof computedValue === 'undefined') {
+    computedValue = fn.call(this, arg)
+    cache.set(cacheKey, computedValue)
+  }

-    var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
-    if (typeof depth === 'undefined') { depth = 0; }
-    if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
-        return isArray(obj) ? '[Array]' : '[Object]';
-    }
+  return computedValue
+}

-    var indent = getIndent(opts, depth);
+function variadic (fn, cache, serializer) {
+  var args = Array.prototype.slice.call(arguments, 3)
+  var cacheKey = serializer(args)

-    if (typeof seen === 'undefined') {
-        seen = [];
-    } else if (indexOf(seen, obj) >= 0) {
-        return '[Circular]';
-    }
+  var computedValue = cache.get(cacheKey)
+  if (typeof computedValue === 'undefined') {
+    computedValue = fn.apply(this, args)
+    cache.set(cacheKey, computedValue)
+  }

-    function inspect(value, from, noIndent) {
-        if (from) {
-            seen = $arrSlice.call(seen);
-            seen.push(from);
-        }
-        if (noIndent) {
-            var newOpts = {
-                depth: opts.depth
-            };
-            if (has(opts, 'quoteStyle')) {
-                newOpts.quoteStyle = opts.quoteStyle;
-            }
-            return inspect_(value, newOpts, depth + 1, seen);
-        }
-        return inspect_(value, opts, depth + 1, seen);
-    }
+  return computedValue
+}

-    if (typeof obj === 'function') {
-        var name = nameOf(obj);
-        var keys = arrObjKeys(obj, inspect);
-        return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
-    }
-    if (isSymbol(obj)) {
-        var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
-        return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
-    }
-    if (isElement(obj)) {
-        var s = '<' + $toLowerCase.call(String(obj.nodeName));
-        var attrs = obj.attributes || [];
-        for (var i = 0; i < attrs.length; i++) {
-            s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
-        }
-        s += '>';
-        if (obj.childNodes && obj.childNodes.length) { s += '...'; }
-        s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
-        return s;
-    }
-    if (isArray(obj)) {
-        if (obj.length === 0) { return '[]'; }
-        var xs = arrObjKeys(obj, inspect);
-        if (indent && !singleLineValues(xs)) {
-            return '[' + indentedJoin(xs, indent) + ']';
-        }
-        return '[ ' + $join.call(xs, ', ') + ' ]';
-    }
-    if (isError(obj)) {
-        var parts = arrObjKeys(obj, inspect);
-        if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
-            return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
-        }
-        if (parts.length === 0) { return '[' + String(obj) + ']'; }
-        return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
-    }
-    if (typeof obj === 'object' && customInspect) {
-        if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
-            return obj[inspectSymbol]();
-        } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
-            return obj.inspect();
-        }
-    }
-    if (isMap(obj)) {
-        var mapParts = [];
-        mapForEach.call(obj, function (value, key) {
-            mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
-        });
-        return collectionOf('Map', mapSize.call(obj), mapParts, indent);
-    }
-    if (isSet(obj)) {
-        var setParts = [];
-        setForEach.call(obj, function (value) {
-            setParts.push(inspect(value, obj));
-        });
-        return collectionOf('Set', setSize.call(obj), setParts, indent);
-    }
-    if (isWeakMap(obj)) {
-        return weakCollectionOf('WeakMap');
-    }
-    if (isWeakSet(obj)) {
-        return weakCollectionOf('WeakSet');
-    }
-    if (isWeakRef(obj)) {
-        return weakCollectionOf('WeakRef');
-    }
-    if (isNumber(obj)) {
-        return markBoxed(inspect(Number(obj)));
-    }
-    if (isBigInt(obj)) {
-        return markBoxed(inspect(bigIntValueOf.call(obj)));
-    }
-    if (isBoolean(obj)) {
-        return markBoxed(booleanValueOf.call(obj));
-    }
-    if (isString(obj)) {
-        return markBoxed(inspect(String(obj)));
-    }
-    if (!isDate(obj) && !isRegExp(obj)) {
-        var ys = arrObjKeys(obj, inspect);
-        var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
-        var protoTag = obj instanceof Object ? '' : 'null prototype';
-        var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
-        var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
-        var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
-        if (ys.length === 0) { return tag + '{}'; }
-        if (indent) {
-            return tag + '{' + indentedJoin(ys, indent) + '}';
-        }
-        return tag + '{ ' + $join.call(ys, ', ') + ' }';
-    }
-    return String(obj);
-};
-
-function wrapQuotes(s, defaultStyle, opts) {
-    var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
-    return quoteChar + s + quoteChar;
+function assemble (fn, context, strategy, cache, serialize) {
+  return strategy.bind(
+    context,
+    fn,
+    cache,
+    serialize
+  )
 }

-function quote(s) {
-    return $replace.call(String(s), /"/g, '&quot;');
+function strategyDefault (fn, options) {
+  var strategy = fn.length === 1 ? monadic : variadic
+
+  return assemble(
+    fn,
+    this,
+    strategy,
+    options.cache.create(),
+    options.serializer
+  )
 }

-function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
-function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
-function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
-function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
-function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
-function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
-function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
+function strategyVariadic (fn, options) {
+  var strategy = variadic

-// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
-function isSymbol(obj) {
-    if (hasShammedSymbols) {
-        return obj && typeof obj === 'object' && obj instanceof Symbol;
-    }
-    if (typeof obj === 'symbol') {
-        return true;
-    }
-    if (!obj || typeof obj !== 'object' || !symToString) {
-        return false;
-    }
-    try {
-        symToString.call(obj);
-        return true;
-    } catch (e) {}
-    return false;
+  return assemble(
+    fn,
+    this,
+    strategy,
+    options.cache.create(),
+    options.serializer
+  )
 }

-function isBigInt(obj) {
-    if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
-        return false;
-    }
-    try {
-        bigIntValueOf.call(obj);
-        return true;
-    } catch (e) {}
-    return false;
-}
+function strategyMonadic (fn, options) {
+  var strategy = monadic

-var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
-function has(obj, key) {
-    return hasOwn.call(obj, key);
+  return assemble(
+    fn,
+    this,
+    strategy,
+    options.cache.create(),
+    options.serializer
+  )
 }

-function toStr(obj) {
-    return objectToString.call(obj);
-}
+//
+// Serializer
+//

-function nameOf(f) {
-    if (f.name) { return f.name; }
-    var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
-    if (m) { return m[1]; }
-    return null;
+function serializerDefault () {
+  return JSON.stringify(arguments)
 }

-function indexOf(xs, x) {
-    if (xs.indexOf) { return xs.indexOf(x); }
-    for (var i = 0, l = xs.length; i < l; i++) {
-        if (xs[i] === x) { return i; }
-    }
-    return -1;
-}
+//
+// Cache
+//

-function isMap(x) {
-    if (!mapSize || !x || typeof x !== 'object') {
-        return false;
-    }
-    try {
-        mapSize.call(x);
-        try {
-            setSize.call(x);
-        } catch (s) {
-            return true;
-        }
-        return x instanceof Map; // core-js workaround, pre-v2.5.0
-    } catch (e) {}
-    return false;
+function ObjectWithoutPrototypeCache () {
+  this.cache = Object.create(null)
 }

-function isWeakMap(x) {
-    if (!weakMapHas || !x || typeof x !== 'object') {
-        return false;
-    }
-    try {
-        weakMapHas.call(x, weakMapHas);
-        try {
-            weakSetHas.call(x, weakSetHas);
-        } catch (s) {
-            return true;
-        }
-        return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
-    } catch (e) {}
-    return false;
+ObjectWithoutPrototypeCache.prototype.has = function (key) {
+  return (key in this.cache)
 }

-function isWeakRef(x) {
-    if (!weakRefDeref || !x || typeof x !== 'object') {
-        return false;
-    }
-    try {
-        weakRefDeref.call(x);
-        return true;
-    } catch (e) {}
-    return false;
+ObjectWithoutPrototypeCache.prototype.get = function (key) {
+  return this.cache[key]
 }

-function isSet(x) {
-    if (!setSize || !x || typeof x !== 'object') {
-        return false;
-    }
-    try {
-        setSize.call(x);
-        try {
-            mapSize.call(x);
-        } catch (m) {
-            return true;
-        }
-        return x instanceof Set; // core-js workaround, pre-v2.5.0
-    } catch (e) {}
-    return false;
+ObjectWithoutPrototypeCache.prototype.set = function (key, value) {
+  this.cache[key] = value
 }

-function isWeakSet(x) {
-    if (!weakSetHas || !x || typeof x !== 'object') {
-        return false;
-    }
-    try {
-        weakSetHas.call(x, weakSetHas);
-        try {
-            weakMapHas.call(x, weakMapHas);
-        } catch (s) {
-            return true;
-        }
-        return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
-    } catch (e) {}
-    return false;
+var cacheDefault = {
+  create: function create () {
+    return new ObjectWithoutPrototypeCache()
+  }
 }

-function isElement(x) {
-    if (!x || typeof x !== 'object') { return false; }
-    if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
-        return true;
-    }
-    return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
-}
+//
+// API
+//

-function inspectString(str, opts) {
-    if (str.length > opts.maxStringLength) {
-        var remaining = str.length - opts.maxStringLength;
-        var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
-        return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
-    }
-    // eslint-disable-next-line no-control-regex
-    var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
-    return wrapQuotes(s, 'single', opts);
+module.exports = memoize
+module.exports.strategies = {
+  variadic: strategyVariadic,
+  monadic: strategyMonadic
 }

-function lowbyte(c) {
-    var n = c.charCodeAt(0);
-    var x = {
-        8: 'b',
-        9: 't',
-        10: 'n',
-        12: 'f',
-        13: 'r'
-    }[n];
-    if (x) { return '\\' + x; }
-    return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
-}

-function markBoxed(str) {
-    return 'Object(' + str + ')';
-}
+/***/ }),

-function weakCollectionOf(type) {
-    return type + ' { ? }';
-}
+/***/ 3889:
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

-function collectionOf(type, size, entries, indent) {
-    var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
-    return type + ' (' + size + ') {' + joinedEntries + '}';
-}
+"use strict";

-function singleLineValues(xs) {
-    for (var i = 0; i < xs.length; i++) {
-        if (indexOf(xs[i], '\n') >= 0) {
-            return false;
-        }
-    }
-    return true;
-}
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "Z": function() { return /* binding */ is_prop_valid_browser_esm; }
+});

-function getIndent(opts, depth) {
-    var baseIndent;
-    if (opts.indent === '\t') {
-        baseIndent = '\t';
-    } else if (typeof opts.indent === 'number' && opts.indent > 0) {
-        baseIndent = $join.call(Array(opts.indent + 1), ' ');
-    } else {
-        return null;
-    }
-    return {
-        base: baseIndent,
-        prev: $join.call(Array(depth + 1), baseIndent)
-    };
+;// CONCATENATED MODULE: ./node_modules/framer-motion/node_modules/@emotion/memoize/dist/memoize.browser.esm.js
+function memoize(fn) {
+  var cache = {};
+  return function (arg) {
+    if (cache[arg] === undefined) cache[arg] = fn(arg);
+    return cache[arg];
+  };
 }

-function indentedJoin(xs, indent) {
-    if (xs.length === 0) { return ''; }
-    var lineJoiner = '\n' + indent.prev + indent.base;
-    return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
-}
+/* harmony default export */ var memoize_browser_esm = (memoize);

-function arrObjKeys(obj, inspect) {
-    var isArr = isArray(obj);
-    var xs = [];
-    if (isArr) {
-        xs.length = obj.length;
-        for (var i = 0; i < obj.length; i++) {
-            xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
-        }
-    }
-    var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
-    var symMap;
-    if (hasShammedSymbols) {
-        symMap = {};
-        for (var k = 0; k < syms.length; k++) {
-            symMap['$' + syms[k]] = syms[k];
-        }
-    }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js

-    for (var key in obj) { // eslint-disable-line no-restricted-syntax
-        if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
-        if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
-        if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
-            // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
-            continue; // eslint-disable-line no-restricted-syntax, no-continue
-        } else if ($test.call(/[^\w$]/, key)) {
-            xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
-        } else {
-            xs.push(key + ': ' + inspect(obj[key], obj));
-        }
-    }
-    if (typeof gOPS === 'function') {
-        for (var j = 0; j < syms.length; j++) {
-            if (isEnumerable.call(obj, syms[j])) {
-                xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
-            }
-        }
-    }
-    return xs;
+
+var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
+
+var index = memoize_browser_esm(function (prop) {
+  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
+  /* o */
+  && prop.charCodeAt(1) === 110
+  /* n */
+  && prop.charCodeAt(2) < 91;
 }
+/* Z+1 */
+);
+
+/* harmony default export */ var is_prop_valid_browser_esm = (index);


 /***/ }),

-/***/ "50qU":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 9930:
+/***/ (function(module) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+/* eslint no-invalid-this: 1 */

-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
+var slice = Array.prototype.slice;
+var toStr = Object.prototype.toString;
+var funcType = '[object Function]';

-var _react = __webpack_require__("cDcd");
+module.exports = function bind(that) {
+    var target = this;
+    if (typeof target !== 'function' || toStr.call(target) !== funcType) {
+        throw new TypeError(ERROR_MESSAGE + target);
+    }
+    var args = slice.call(arguments, 1);

-var _react2 = _interopRequireDefault(_react);
+    var bound;
+    var binder = function () {
+        if (this instanceof bound) {
+            var result = target.apply(
+                this,
+                args.concat(slice.call(arguments))
+            );
+            if (Object(result) === result) {
+                return result;
+            }
+            return this;
+        } else {
+            return target.apply(
+                that,
+                args.concat(slice.call(arguments))
+            );
+        }
+    };

-var _propTypes = __webpack_require__("17x9");
+    var boundLength = Math.max(0, target.length - args.length);
+    var boundArgs = [];
+    for (var i = 0; i < boundLength; i++) {
+        boundArgs.push('$' + i);
+    }

-var _propTypes2 = _interopRequireDefault(_propTypes);
+    bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);

-var _airbnbPropTypes = __webpack_require__("Hsqg");
+    if (target.prototype) {
+        var Empty = function Empty() {};
+        Empty.prototype = target.prototype;
+        bound.prototype = new Empty();
+        Empty.prototype = null;
+    }

-var _consolidatedEvents = __webpack_require__("1TsT");
+    return bound;
+};

-var _object = __webpack_require__("4cSd");

-var _object2 = _interopRequireDefault(_object);
+/***/ }),

-var _document = __webpack_require__("n1Y7");
+/***/ 1930:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-var _document2 = _interopRequireDefault(_document);
+"use strict";

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+var implementation = __webpack_require__(9930);

-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+module.exports = Function.prototype.bind || implementation;

-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

-var DISPLAY = {
-  BLOCK: 'block',
-  FLEX: 'flex',
-  INLINE: 'inline',
-  INLINE_BLOCK: 'inline-block',
-  CONTENTS: 'contents'
-};
+/***/ }),

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
-  children: _propTypes2['default'].node.isRequired,
-  onOutsideClick: _propTypes2['default'].func.isRequired,
-  disabled: _propTypes2['default'].bool,
-  useCapture: _propTypes2['default'].bool,
-  display: _propTypes2['default'].oneOf((0, _object2['default'])(DISPLAY))
-});
+/***/ 1801:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-var defaultProps = {
-  disabled: false,
+"use strict";

-  // `useCapture` is set to true by default so that a `stopPropagation` in the
-  // children will not prevent all outside click handlers from firing - maja
-  useCapture: true,
-  display: DISPLAY.BLOCK
-};

-var OutsideClickHandler = function (_React$Component) {
-  _inherits(OutsideClickHandler, _React$Component);
+/* globals
+	AggregateError,
+	Atomics,
+	FinalizationRegistry,
+	SharedArrayBuffer,
+	WeakRef,
+*/

-  function OutsideClickHandler() {
-    var _ref;
+var undefined;

-    _classCallCheck(this, OutsideClickHandler);
+var $SyntaxError = SyntaxError;
+var $Function = Function;
+var $TypeError = TypeError;

-    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
-      args[_key] = arguments[_key];
-    }
+// eslint-disable-next-line consistent-return
+var getEvalledConstructor = function (expressionSyntax) {
+	try {
+		// eslint-disable-next-line no-new-func
+		return Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
+	} catch (e) {}
+};

-    var _this = _possibleConstructorReturn(this, (_ref = OutsideClickHandler.__proto__ || Object.getPrototypeOf(OutsideClickHandler)).call.apply(_ref, [this].concat(args)));
+var $gOPD = Object.getOwnPropertyDescriptor;
+if ($gOPD) {
+	try {
+		$gOPD({}, '');
+	} catch (e) {
+		$gOPD = null; // this is IE 8, which has a broken gOPD
+	}
+}

-    _this.onMouseDown = _this.onMouseDown.bind(_this);
-    _this.onMouseUp = _this.onMouseUp.bind(_this);
-    _this.setChildNodeRef = _this.setChildNodeRef.bind(_this);
-    return _this;
-  }
+var throwTypeError = function () {
+	throw new $TypeError();
+};
+var ThrowTypeError = $gOPD
+	? (function () {
+		try {
+			// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
+			arguments.callee; // IE 8 does not throw here
+			return throwTypeError;
+		} catch (calleeThrows) {
+			try {
+				// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
+				return $gOPD(arguments, 'callee').get;
+			} catch (gOPDthrows) {
+				return throwTypeError;
+			}
+		}
+	}())
+	: throwTypeError;

-  _createClass(OutsideClickHandler, [{
-    key: 'componentDidMount',
-    value: function () {
-      function componentDidMount() {
-        var _props = this.props,
-            disabled = _props.disabled,
-            useCapture = _props.useCapture;
+var hasSymbols = __webpack_require__(9905)();

+var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto

-        if (!disabled) this.addMouseDownEventListener(useCapture);
-      }
+var asyncGenFunction = getEvalledConstructor('async function* () {}');
+var asyncGenFunctionPrototype = asyncGenFunction ? asyncGenFunction.prototype : undefined;
+var asyncGenPrototype = asyncGenFunctionPrototype ? asyncGenFunctionPrototype.prototype : undefined;

-      return componentDidMount;
-    }()
-  }, {
-    key: 'componentDidUpdate',
-    value: function () {
-      function componentDidUpdate(_ref2) {
-        var prevDisabled = _ref2.disabled;
-        var _props2 = this.props,
-            disabled = _props2.disabled,
-            useCapture = _props2.useCapture;
+var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);

-        if (prevDisabled !== disabled) {
-          if (disabled) {
-            this.removeEventListeners();
-          } else {
-            this.addMouseDownEventListener(useCapture);
-          }
-        }
-      }
+var INTRINSICS = {
+	'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
+	'%Array%': Array,
+	'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
+	'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
+	'%AsyncFromSyncIteratorPrototype%': undefined,
+	'%AsyncFunction%': getEvalledConstructor('async function () {}'),
+	'%AsyncGenerator%': asyncGenFunctionPrototype,
+	'%AsyncGeneratorFunction%': asyncGenFunction,
+	'%AsyncIteratorPrototype%': asyncGenPrototype ? getProto(asyncGenPrototype) : undefined,
+	'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
+	'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
+	'%Boolean%': Boolean,
+	'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
+	'%Date%': Date,
+	'%decodeURI%': decodeURI,
+	'%decodeURIComponent%': decodeURIComponent,
+	'%encodeURI%': encodeURI,
+	'%encodeURIComponent%': encodeURIComponent,
+	'%Error%': Error,
+	'%eval%': eval, // eslint-disable-line no-eval
+	'%EvalError%': EvalError,
+	'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
+	'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
+	'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
+	'%Function%': $Function,
+	'%GeneratorFunction%': getEvalledConstructor('function* () {}'),
+	'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
+	'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
+	'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
+	'%isFinite%': isFinite,
+	'%isNaN%': isNaN,
+	'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
+	'%JSON%': typeof JSON === 'object' ? JSON : undefined,
+	'%Map%': typeof Map === 'undefined' ? undefined : Map,
+	'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
+	'%Math%': Math,
+	'%Number%': Number,
+	'%Object%': Object,
+	'%parseFloat%': parseFloat,
+	'%parseInt%': parseInt,
+	'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
+	'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
+	'%RangeError%': RangeError,
+	'%ReferenceError%': ReferenceError,
+	'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
+	'%RegExp%': RegExp,
+	'%Set%': typeof Set === 'undefined' ? undefined : Set,
+	'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
+	'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
+	'%String%': String,
+	'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
+	'%Symbol%': hasSymbols ? Symbol : undefined,
+	'%SyntaxError%': $SyntaxError,
+	'%ThrowTypeError%': ThrowTypeError,
+	'%TypedArray%': TypedArray,
+	'%TypeError%': $TypeError,
+	'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
+	'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
+	'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
+	'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
+	'%URIError%': URIError,
+	'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
+	'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
+	'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
+};

-      return componentDidUpdate;
-    }()
-  }, {
-    key: 'componentWillUnmount',
-    value: function () {
-      function componentWillUnmount() {
-        this.removeEventListeners();
-      }
+var LEGACY_ALIASES = {
+	'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
+	'%ArrayPrototype%': ['Array', 'prototype'],
+	'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
+	'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
+	'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
+	'%ArrayProto_values%': ['Array', 'prototype', 'values'],
+	'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
+	'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
+	'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
+	'%BooleanPrototype%': ['Boolean', 'prototype'],
+	'%DataViewPrototype%': ['DataView', 'prototype'],
+	'%DatePrototype%': ['Date', 'prototype'],
+	'%ErrorPrototype%': ['Error', 'prototype'],
+	'%EvalErrorPrototype%': ['EvalError', 'prototype'],
+	'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
+	'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
+	'%FunctionPrototype%': ['Function', 'prototype'],
+	'%Generator%': ['GeneratorFunction', 'prototype'],
+	'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
+	'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
+	'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
+	'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
+	'%JSONParse%': ['JSON', 'parse'],
+	'%JSONStringify%': ['JSON', 'stringify'],
+	'%MapPrototype%': ['Map', 'prototype'],
+	'%NumberPrototype%': ['Number', 'prototype'],
+	'%ObjectPrototype%': ['Object', 'prototype'],
+	'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
+	'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
+	'%PromisePrototype%': ['Promise', 'prototype'],
+	'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
+	'%Promise_all%': ['Promise', 'all'],
+	'%Promise_reject%': ['Promise', 'reject'],
+	'%Promise_resolve%': ['Promise', 'resolve'],
+	'%RangeErrorPrototype%': ['RangeError', 'prototype'],
+	'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
+	'%RegExpPrototype%': ['RegExp', 'prototype'],
+	'%SetPrototype%': ['Set', 'prototype'],
+	'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
+	'%StringPrototype%': ['String', 'prototype'],
+	'%SymbolPrototype%': ['Symbol', 'prototype'],
+	'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
+	'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
+	'%TypeErrorPrototype%': ['TypeError', 'prototype'],
+	'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
+	'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
+	'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
+	'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
+	'%URIErrorPrototype%': ['URIError', 'prototype'],
+	'%WeakMapPrototype%': ['WeakMap', 'prototype'],
+	'%WeakSetPrototype%': ['WeakSet', 'prototype']
+};

-      return componentWillUnmount;
-    }()
+var bind = __webpack_require__(1930);
+var hasOwn = __webpack_require__(9284);
+var $concat = bind.call(Function.call, Array.prototype.concat);
+var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
+var $replace = bind.call(Function.call, String.prototype.replace);
+var $strSlice = bind.call(Function.call, String.prototype.slice);

-    // Use mousedown/mouseup to enforce that clicks remain outside the root's
-    // descendant tree, even when dragged. This should also get triggered on
-    // touch devices.
+/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
+var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
+var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
+var stringToPath = function stringToPath(string) {
+	var first = $strSlice(string, 0, 1);
+	var last = $strSlice(string, -1);
+	if (first === '%' && last !== '%') {
+		throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
+	} else if (last === '%' && first !== '%') {
+		throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
+	}
+	var result = [];
+	$replace(string, rePropName, function (match, number, quote, subString) {
+		result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
+	});
+	return result;
+};
+/* end adaptation */

-  }, {
-    key: 'onMouseDown',
-    value: function () {
-      function onMouseDown(e) {
-        var useCapture = this.props.useCapture;
+var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
+	var intrinsicName = name;
+	var alias;
+	if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
+		alias = LEGACY_ALIASES[intrinsicName];
+		intrinsicName = '%' + alias[0] + '%';
+	}

+	if (hasOwn(INTRINSICS, intrinsicName)) {
+		var value = INTRINSICS[intrinsicName];
+		if (typeof value === 'undefined' && !allowMissing) {
+			throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
+		}

-        var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target);
-        if (!isDescendantOfRoot) {
-          if (this.removeMouseUp) {
-            this.removeMouseUp();
-            this.removeMouseUp = null;
-          }
-          this.removeMouseUp = (0, _consolidatedEvents.addEventListener)(document, 'mouseup', this.onMouseUp, { capture: useCapture });
-        }
-      }
+		return {
+			alias: alias,
+			name: intrinsicName,
+			value: value
+		};
+	}

-      return onMouseDown;
-    }()
+	throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
+};

-    // Use mousedown/mouseup to enforce that clicks remain outside the root's
-    // descendant tree, even when dragged. This should also get triggered on
-    // touch devices.
+module.exports = function GetIntrinsic(name, allowMissing) {
+	if (typeof name !== 'string' || name.length === 0) {
+		throw new $TypeError('intrinsic name must be a non-empty string');
+	}
+	if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
+		throw new $TypeError('"allowMissing" argument must be a boolean');
+	}

-  }, {
-    key: 'onMouseUp',
-    value: function () {
-      function onMouseUp(e) {
-        var onOutsideClick = this.props.onOutsideClick;
+	var parts = stringToPath(name);
+	var intrinsicBaseName = parts.length > 0 ? parts[0] : '';

+	var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
+	var intrinsicRealName = intrinsic.name;
+	var value = intrinsic.value;
+	var skipFurtherCaching = false;

-        var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target);
-        if (this.removeMouseUp) {
-          this.removeMouseUp();
-          this.removeMouseUp = null;
-        }
+	var alias = intrinsic.alias;
+	if (alias) {
+		intrinsicBaseName = alias[0];
+		$spliceApply(parts, $concat([0, 1], alias));
+	}

-        if (!isDescendantOfRoot) {
-          onOutsideClick(e);
-        }
-      }
+	for (var i = 1, isOwn = true; i < parts.length; i += 1) {
+		var part = parts[i];
+		var first = $strSlice(part, 0, 1);
+		var last = $strSlice(part, -1);
+		if (
+			(
+				(first === '"' || first === "'" || first === '`')
+				|| (last === '"' || last === "'" || last === '`')
+			)
+			&& first !== last
+		) {
+			throw new $SyntaxError('property names with quotes must have matching quotes');
+		}
+		if (part === 'constructor' || !isOwn) {
+			skipFurtherCaching = true;
+		}

-      return onMouseUp;
-    }()
-  }, {
-    key: 'setChildNodeRef',
-    value: function () {
-      function setChildNodeRef(ref) {
-        this.childNode = ref;
-      }
+		intrinsicBaseName += '.' + part;
+		intrinsicRealName = '%' + intrinsicBaseName + '%';

-      return setChildNodeRef;
-    }()
-  }, {
-    key: 'addMouseDownEventListener',
-    value: function () {
-      function addMouseDownEventListener(useCapture) {
-        this.removeMouseDown = (0, _consolidatedEvents.addEventListener)(document, 'mousedown', this.onMouseDown, { capture: useCapture });
-      }
+		if (hasOwn(INTRINSICS, intrinsicRealName)) {
+			value = INTRINSICS[intrinsicRealName];
+		} else if (value != null) {
+			if (!(part in value)) {
+				if (!allowMissing) {
+					throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
+				}
+				return void undefined;
+			}
+			if ($gOPD && (i + 1) >= parts.length) {
+				var desc = $gOPD(value, part);
+				isOwn = !!desc;

-      return addMouseDownEventListener;
-    }()
-  }, {
-    key: 'removeEventListeners',
-    value: function () {
-      function removeEventListeners() {
-        if (this.removeMouseDown) this.removeMouseDown();
-        if (this.removeMouseUp) this.removeMouseUp();
-      }
+				// By convention, when a data property is converted to an accessor
+				// property to emulate a data property that does not suffer from
+				// the override mistake, that accessor's getter is marked with
+				// an `originalValue` property. Here, when we detect this, we
+				// uphold the illusion by pretending to see that original data
+				// property, i.e., returning the value rather than the getter
+				// itself.
+				if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
+					value = desc.get;
+				} else {
+					value = value[part];
+				}
+			} else {
+				isOwn = hasOwn(value, part);
+				value = value[part];
+			}

-      return removeEventListeners;
-    }()
-  }, {
-    key: 'render',
-    value: function () {
-      function render() {
-        var _props3 = this.props,
-            children = _props3.children,
-            display = _props3.display;
+			if (isOwn && !skipFurtherCaching) {
+				INTRINSICS[intrinsicRealName] = value;
+			}
+		}
+	}
+	return value;
+};


-        return _react2['default'].createElement(
-          'div',
-          {
-            ref: this.setChildNodeRef,
-            style: display !== DISPLAY.BLOCK && (0, _object2['default'])(DISPLAY).includes(display) ? { display: display } : undefined
-          },
-          children
-        );
-      }
+/***/ }),

-      return render;
-    }()
-  }]);
+/***/ 5371:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-  return OutsideClickHandler;
-}(_react2['default'].Component);
+"use strict";

-exports['default'] = OutsideClickHandler;

+var define = __webpack_require__(9170);
+var isSymbol = __webpack_require__(3082);

-OutsideClickHandler.propTypes = propTypes;
-OutsideClickHandler.defaultProps = defaultProps;
+var globalKey = '__ global cache key __';
+/* istanbul ignore else */
+// eslint-disable-next-line no-restricted-properties
+if (typeof Symbol === 'function' && isSymbol(Symbol('foo')) && typeof Symbol['for'] === 'function') {
+	// eslint-disable-next-line no-restricted-properties
+	globalKey = Symbol['for'](globalKey);
+}

-/***/ }),
+var trueThunk = function () {
+	return true;
+};

-/***/ "5V/u":
-/***/ (function(module, exports) {
+var ensureCache = function ensureCache() {
+	if (!__webpack_require__.g[globalKey]) {
+		var properties = {};
+		properties[globalKey] = {};
+		var predicates = {};
+		predicates[globalKey] = trueThunk;
+		define(__webpack_require__.g, properties, predicates);
+	}
+	return __webpack_require__.g[globalKey];
+};

-module.exports =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId])
-/******/ 			return installedModules[moduleId].exports;
-/******/
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			exports: {},
-/******/ 			id: moduleId,
-/******/ 			loaded: false
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.loaded = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(0);
-/******/ })
-/************************************************************************/
-/******/ ([
-/* 0 */
-/***/ (function(module, exports, __webpack_require__) {
+var cache = ensureCache();

-	module.exports = __webpack_require__(1);
+var isPrimitive = function isPrimitive(val) {
+	return val === null || (typeof val !== 'object' && typeof val !== 'function');
+};

+var getPrimitiveKey = function getPrimitiveKey(val) {
+	if (isSymbol(val)) {
+		return Symbol.prototype.valueOf.call(val);
+	}
+	return typeof val + ' | ' + String(val);
+};

-/***/ }),
-/* 1 */
-/***/ (function(module, exports, __webpack_require__) {
+var requirePrimitiveKey = function requirePrimitiveKey(val) {
+	if (!isPrimitive(val)) {
+		throw new TypeError('key must not be an object');
+	}
+};

-	'use strict';
-
-	Object.defineProperty(exports, "__esModule", {
-	  value: true
-	});
-
-	var _utils = __webpack_require__(2);
-
-	Object.defineProperty(exports, 'combineChunks', {
-	  enumerable: true,
-	  get: function get() {
-	    return _utils.combineChunks;
-	  }
-	});
-	Object.defineProperty(exports, 'fillInChunks', {
-	  enumerable: true,
-	  get: function get() {
-	    return _utils.fillInChunks;
-	  }
-	});
-	Object.defineProperty(exports, 'findAll', {
-	  enumerable: true,
-	  get: function get() {
-	    return _utils.findAll;
-	  }
-	});
-	Object.defineProperty(exports, 'findChunks', {
-	  enumerable: true,
-	  get: function get() {
-	    return _utils.findChunks;
-	  }
-	});
+var globalCache = {
+	clear: function clear() {
+		delete __webpack_require__.g[globalKey];
+		cache = ensureCache();
+	},

-/***/ }),
-/* 2 */
-/***/ (function(module, exports) {
+	'delete': function deleteKey(key) {
+		requirePrimitiveKey(key);
+		delete cache[getPrimitiveKey(key)];
+		return !globalCache.has(key);
+	},

-	'use strict';
-
-	Object.defineProperty(exports, "__esModule", {
-	  value: true
-	});
-
-
-	/**
-	 * Creates an array of chunk objects representing both higlightable and non highlightable pieces of text that match each search word.
-	 * @return Array of "chunks" (where a Chunk is { start:number, end:number, highlight:boolean })
-	 */
-	var findAll = exports.findAll = function findAll(_ref) {
-	  var autoEscape = _ref.autoEscape,
-	      _ref$caseSensitive = _ref.caseSensitive,
-	      caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive,
-	      _ref$findChunks = _ref.findChunks,
-	      findChunks = _ref$findChunks === undefined ? defaultFindChunks : _ref$findChunks,
-	      sanitize = _ref.sanitize,
-	      searchWords = _ref.searchWords,
-	      textToHighlight = _ref.textToHighlight;
-	  return fillInChunks({
-	    chunksToHighlight: combineChunks({
-	      chunks: findChunks({
-	        autoEscape: autoEscape,
-	        caseSensitive: caseSensitive,
-	        sanitize: sanitize,
-	        searchWords: searchWords,
-	        textToHighlight: textToHighlight
-	      })
-	    }),
-	    totalLength: textToHighlight ? textToHighlight.length : 0
-	  });
-	};
-
-	/**
-	 * Takes an array of {start:number, end:number} objects and combines chunks that overlap into single chunks.
-	 * @return {start:number, end:number}[]
-	 */
-
-
-	var combineChunks = exports.combineChunks = function combineChunks(_ref2) {
-	  var chunks = _ref2.chunks;
-
-	  chunks = chunks.sort(function (first, second) {
-	    return first.start - second.start;
-	  }).reduce(function (processedChunks, nextChunk) {
-	    // First chunk just goes straight in the array...
-	    if (processedChunks.length === 0) {
-	      return [nextChunk];
-	    } else {
-	      // ... subsequent chunks get checked to see if they overlap...
-	      var prevChunk = processedChunks.pop();
-	      if (nextChunk.start <= prevChunk.end) {
-	        // It may be the case that prevChunk completely surrounds nextChunk, so take the
-	        // largest of the end indeces.
-	        var endIndex = Math.max(prevChunk.end, nextChunk.end);
-	        processedChunks.push({ highlight: false, start: prevChunk.start, end: endIndex });
-	      } else {
-	        processedChunks.push(prevChunk, nextChunk);
-	      }
-	      return processedChunks;
-	    }
-	  }, []);
-
-	  return chunks;
-	};
-
-	/**
-	 * Examine text for any matches.
-	 * If we find matches, add them to the returned array as a "chunk" object ({start:number, end:number}).
-	 * @return {start:number, end:number}[]
-	 */
-	var defaultFindChunks = function defaultFindChunks(_ref3) {
-	  var autoEscape = _ref3.autoEscape,
-	      caseSensitive = _ref3.caseSensitive,
-	      _ref3$sanitize = _ref3.sanitize,
-	      sanitize = _ref3$sanitize === undefined ? defaultSanitize : _ref3$sanitize,
-	      searchWords = _ref3.searchWords,
-	      textToHighlight = _ref3.textToHighlight;
-
-	  textToHighlight = sanitize(textToHighlight);
-
-	  return searchWords.filter(function (searchWord) {
-	    return searchWord;
-	  }) // Remove empty words
-	  .reduce(function (chunks, searchWord) {
-	    searchWord = sanitize(searchWord);
-
-	    if (autoEscape) {
-	      searchWord = escapeRegExpFn(searchWord);
-	    }
-
-	    var regex = new RegExp(searchWord, caseSensitive ? 'g' : 'gi');
-
-	    var match = void 0;
-	    while (match = regex.exec(textToHighlight)) {
-	      var _start = match.index;
-	      var _end = regex.lastIndex;
-	      // We do not return zero-length matches
-	      if (_end > _start) {
-	        chunks.push({ highlight: false, start: _start, end: _end });
-	      }
-
-	      // Prevent browsers like Firefox from getting stuck in an infinite loop
-	      // See http://www.regexguru.com/2008/04/watch-out-for-zero-length-matches/
-	      if (match.index === regex.lastIndex) {
-	        regex.lastIndex++;
-	      }
-	    }
-
-	    return chunks;
-	  }, []);
-	};
-	// Allow the findChunks to be overridden in findAll,
-	// but for backwards compatibility we export as the old name
-	exports.findChunks = defaultFindChunks;
-
-	/**
-	 * Given a set of chunks to highlight, create an additional set of chunks
-	 * to represent the bits of text between the highlighted text.
-	 * @param chunksToHighlight {start:number, end:number}[]
-	 * @param totalLength number
-	 * @return {start:number, end:number, highlight:boolean}[]
-	 */
-
-	var fillInChunks = exports.fillInChunks = function fillInChunks(_ref4) {
-	  var chunksToHighlight = _ref4.chunksToHighlight,
-	      totalLength = _ref4.totalLength;
-
-	  var allChunks = [];
-	  var append = function append(start, end, highlight) {
-	    if (end - start > 0) {
-	      allChunks.push({
-	        start: start,
-	        end: end,
-	        highlight: highlight
-	      });
-	    }
-	  };
-
-	  if (chunksToHighlight.length === 0) {
-	    append(0, totalLength, false);
-	  } else {
-	    var lastIndex = 0;
-	    chunksToHighlight.forEach(function (chunk) {
-	      append(lastIndex, chunk.start, false);
-	      append(chunk.start, chunk.end, true);
-	      lastIndex = chunk.end;
-	    });
-	    append(lastIndex, totalLength, false);
-	  }
-	  return allChunks;
-	};
-
-	function defaultSanitize(string) {
-	  return string;
-	}
-
-	function escapeRegExpFn(string) {
-	  return string.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
-	}
-
-/***/ })
-/******/ ]);
-
-
-/***/ }),
-
-/***/ "5aBA":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-/** @license React v17.0.2
- * react-is.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
-if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden")}
-function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;exports.ContextConsumer=h;exports.ContextProvider=z;exports.Element=A;exports.ForwardRef=B;exports.Fragment=C;exports.Lazy=D;exports.Memo=E;exports.Portal=F;exports.Profiler=G;exports.StrictMode=H;
-exports.Suspense=I;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return y(a)===h};exports.isContextProvider=function(a){return y(a)===g};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return y(a)===k};exports.isFragment=function(a){return y(a)===d};exports.isLazy=function(a){return y(a)===p};exports.isMemo=function(a){return y(a)===n};
-exports.isPortal=function(a){return y(a)===c};exports.isProfiler=function(a){return y(a)===f};exports.isStrictMode=function(a){return y(a)===e};exports.isSuspense=function(a){return y(a)===l};exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};
-exports.typeOf=y;
-
-
-/***/ }),
-
-/***/ "5yQQ":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
+	get: function get(key) {
+		requirePrimitiveKey(key);
+		return cache[getPrimitiveKey(key)];
+	},

+	has: function has(key) {
+		requirePrimitiveKey(key);
+		return getPrimitiveKey(key) in cache;
+	},

-var implementation = __webpack_require__("nRDI");
+	set: function set(key, value) {
+		requirePrimitiveKey(key);
+		var primitiveKey = getPrimitiveKey(key);
+		var props = {};
+		props[primitiveKey] = value;
+		var predicates = {};
+		predicates[primitiveKey] = trueThunk;
+		define(cache, props, predicates);
+		return globalCache.has(key);
+	},

-module.exports = function getPolyfill() {
-	if (typeof document !== 'undefined') {
-		if (document.contains) {
-			return document.contains;
-		}
-		if (document.body && document.body.contains) {
-			try {
-				if (typeof document.body.contains.call(document, '') === 'boolean') {
-					return document.body.contains;
-				}
-			} catch (e) { /**/ }
+	setIfMissingThenGet: function setIfMissingThenGet(key, valueThunk) {
+		if (globalCache.has(key)) {
+			return globalCache.get(key);
 		}
+		var item = valueThunk();
+		globalCache.set(key, item);
+		return item;
 	}
-	return implementation;
 };

+module.exports = globalCache;

-/***/ }),
-
-/***/ "6/BL":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+/***/ }),

+/***/ 7115:
+/***/ (function(__unused_webpack_module, exports) {

-var has = __webpack_require__("oNNP");
+// Copyright (c) 2014 Rafael Caricio. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.

-var assertRecord = __webpack_require__("10Kj");
+var GradientParser = {};

-var Type = __webpack_require__("PoQ0");
+GradientParser.parse = (function() {

-// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
+  var tokens = {
+    linearGradient: /^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,
+    repeatingLinearGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,
+    radialGradient: /^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,
+    repeatingRadialGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,
+    sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,
+    extentKeywords: /^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,
+    positionKeywords: /^(left|center|right|top|bottom)/i,
+    pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,
+    percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,
+    emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,
+    angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,
+    startCall: /^\(/,
+    endCall: /^\)/,
+    comma: /^,/,
+    hexColor: /^\#([0-9a-fA-F]+)/,
+    literalColor: /^([a-zA-Z]+)/,
+    rgbColor: /^rgb/i,
+    rgbaColor: /^rgba/i,
+    number: /^(([0-9]*\.[0-9]+)|([0-9]+\.?))/
+  };

-module.exports = function IsDataDescriptor(Desc) {
-	if (typeof Desc === 'undefined') {
-		return false;
-	}
+  var input = '';

-	assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
+  function error(msg) {
+    var err = new Error(input + ': ' + msg);
+    err.source = input;
+    throw err;
+  }

-	if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {
-		return false;
-	}
+  function getAST() {
+    var ast = matchListDefinitions();

-	return true;
-};
+    if (input.length > 0) {
+      error('Invalid input not EOF');
+    }

+    return ast;
+  }

-/***/ }),
+  function matchListDefinitions() {
+    return matchListing(matchDefinition);
+  }

-/***/ "60zJ":
-/***/ (function(module, exports, __webpack_require__) {
+  function matchDefinition() {
+    return matchGradient(
+            'linear-gradient',
+            tokens.linearGradient,
+            matchLinearOrientation) ||

-"use strict";
+          matchGradient(
+            'repeating-linear-gradient',
+            tokens.repeatingLinearGradient,
+            matchLinearOrientation) ||

+          matchGradient(
+            'radial-gradient',
+            tokens.radialGradient,
+            matchListRadialOrientations) ||

-// https://262.ecma-international.org/5.1/#sec-8
+          matchGradient(
+            'repeating-radial-gradient',
+            tokens.repeatingRadialGradient,
+            matchListRadialOrientations);
+  }

-module.exports = function Type(x) {
-	if (x === null) {
-		return 'Null';
-	}
-	if (typeof x === 'undefined') {
-		return 'Undefined';
-	}
-	if (typeof x === 'function' || typeof x === 'object') {
-		return 'Object';
-	}
-	if (typeof x === 'number') {
-		return 'Number';
-	}
-	if (typeof x === 'boolean') {
-		return 'Boolean';
-	}
-	if (typeof x === 'string') {
-		return 'String';
-	}
-};
+  function matchGradient(gradientType, pattern, orientationMatcher) {
+    return matchCall(pattern, function(captures) {

+      var orientation = orientationMatcher();
+      if (orientation) {
+        if (!scan(tokens.comma)) {
+          error('Missing comma before color stops');
+        }
+      }

-/***/ }),
+      return {
+        type: gradientType,
+        orientation: orientation,
+        colorStops: matchListing(matchColorStop)
+      };
+    });
+  }

-/***/ "6Ehn":
-/***/ (function(module, exports, __webpack_require__) {
+  function matchCall(pattern, callback) {
+    var captures = scan(pattern);

-"use strict";
+    if (captures) {
+      if (!scan(tokens.startCall)) {
+        error('Missing (');
+      }

+      result = callback(captures);

-var GetIntrinsic = __webpack_require__("j1Hc");
+      if (!scan(tokens.endCall)) {
+        error('Missing )');
+      }

-var $ArrayPrototype = GetIntrinsic('%Array.prototype%');
-var $RangeError = GetIntrinsic('%RangeError%');
-var $SyntaxError = GetIntrinsic('%SyntaxError%');
-var $TypeError = GetIntrinsic('%TypeError%');
+      return result;
+    }
+  }

-var IsIntegralNumber = __webpack_require__("J2ba");
+  function matchLinearOrientation() {
+    return matchSideOrCorner() ||
+      matchAngle();
+  }

-var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;
+  function matchSideOrCorner() {
+    return match('directional', tokens.sideOrCorner, 1);
+  }

-var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || (
-	// eslint-disable-next-line no-proto, no-negated-condition
-	[].__proto__ !== $ArrayPrototype
-		? null
-		: function (O, proto) {
-			O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign
-			return O;
-		}
-);
+  function matchAngle() {
+    return match('angular', tokens.angleValue, 1);
+  }

-// https://www.ecma-international.org/ecma-262/12.0/#sec-arraycreate
+  function matchListRadialOrientations() {
+    var radialOrientations,
+        radialOrientation = matchRadialOrientation(),
+        lookaheadCache;

-module.exports = function ArrayCreate(length) {
-	if (!IsIntegralNumber(length) || length < 0) {
-		throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0');
-	}
-	if (length > MAX_ARRAY_LENGTH) {
-		throw new $RangeError('length is greater than (2**32 - 1)');
-	}
-	var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype;
-	var A = []; // steps 3, 5
-	if (proto !== $ArrayPrototype) { // step 4
-		if (!$setProto) {
-			throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]');
-		}
-		$setProto(A, proto);
-	}
-	if (length !== 0) { // bypasses the need for step 6
-		A.length = length;
-	}
-	/* step 6, the above as a shortcut for the below
-    OrdinaryDefineOwnProperty(A, 'length', {
-        '[[Configurable]]': false,
-        '[[Enumerable]]': false,
-        '[[Value]]': length,
-        '[[Writable]]': true
-    });
-    */
-	return A;
-};
+    if (radialOrientation) {
+      radialOrientations = [];
+      radialOrientations.push(radialOrientation);

+      lookaheadCache = input;
+      if (scan(tokens.comma)) {
+        radialOrientation = matchRadialOrientation();
+        if (radialOrientation) {
+          radialOrientations.push(radialOrientation);
+        } else {
+          input = lookaheadCache;
+        }
+      }
+    }

-/***/ }),
+    return radialOrientations;
+  }

-/***/ "6HWY":
-/***/ (function(module, exports, __webpack_require__) {
+  function matchRadialOrientation() {
+    var radialType = matchCircle() ||
+      matchEllipse();

-"use strict";
+    if (radialType) {
+      radialType.at = matchAtPosition();
+    } else {
+      var defaultPosition = matchPositioning();
+      if (defaultPosition) {
+        radialType = {
+          type: 'default-radial',
+          at: defaultPosition
+        };
+      }
+    }

+    return radialType;
+  }

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = isNextMonth;
+  function matchCircle() {
+    var circle = match('shape', /^(circle)/i, 0);

-var _moment = __webpack_require__("wy2R");
+    if (circle) {
+      circle.style = matchLength() || matchExtentKeyword();
+    }

-var _moment2 = _interopRequireDefault(_moment);
+    return circle;
+  }

-var _isSameMonth = __webpack_require__("ulUS");
+  function matchEllipse() {
+    var ellipse = match('shape', /^(ellipse)/i, 0);

-var _isSameMonth2 = _interopRequireDefault(_isSameMonth);
+    if (ellipse) {
+      ellipse.style =  matchDistance() || matchExtentKeyword();
+    }

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+    return ellipse;
+  }

-function isNextMonth(a, b) {
-  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
-  return (0, _isSameMonth2['default'])(a.clone().add(1, 'month'), b);
-}
+  function matchExtentKeyword() {
+    return match('extent-keyword', tokens.extentKeywords, 1);
+  }

-/***/ }),
+  function matchAtPosition() {
+    if (match('position', /^at/, 0)) {
+      var positioning = matchPositioning();

-/***/ "6I5v":
-/***/ (function(module, exports, __webpack_require__) {
+      if (!positioning) {
+        error('Missing positioning value');
+      }

-"use strict";
+      return positioning;
+    }
+  }

+  function matchPositioning() {
+    var location = matchCoordinates();

-module.exports = function sign(number) {
-	return number >= 0 ? 1 : -1;
-};
+    if (location.x || location.y) {
+      return {
+        type: 'position',
+        value: location
+      };
+    }
+  }

+  function matchCoordinates() {
+    return {
+      x: matchDistance(),
+      y: matchDistance()
+    };
+  }

-/***/ }),
+  function matchListing(matcher) {
+    var captures = matcher(),
+      result = [];

-/***/ "6XE+":
-/***/ (function(module, exports, __webpack_require__) {
+    if (captures) {
+      result.push(captures);
+      while (scan(tokens.comma)) {
+        captures = matcher();
+        if (captures) {
+          result.push(captures);
+        } else {
+          error('One extra comma');
+        }
+      }
+    }

-"use strict";
+    return result;
+  }

+  function matchColorStop() {
+    var color = matchColor();

-var GetIntrinsic = __webpack_require__("j1Hc");
-
-var $gOPD = __webpack_require__("knm9");
-var $TypeError = GetIntrinsic('%TypeError%');
-
-var callBound = __webpack_require__("qeuH");
-
-var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
-
-var has = __webpack_require__("oNNP");
-
-var IsArray = __webpack_require__("Bl8U");
-var IsPropertyKey = __webpack_require__("nR7C");
-var IsRegExp = __webpack_require__("a73V");
-var ToPropertyDescriptor = __webpack_require__("6orR");
-var Type = __webpack_require__("PoQ0");
-
-// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
-
-module.exports = function OrdinaryGetOwnProperty(O, P) {
-	if (Type(O) !== 'Object') {
-		throw new $TypeError('Assertion failed: O must be an Object');
-	}
-	if (!IsPropertyKey(P)) {
-		throw new $TypeError('Assertion failed: P must be a Property Key');
-	}
-	if (!has(O, P)) {
-		return void 0;
-	}
-	if (!$gOPD) {
-		// ES3 / IE 8 fallback
-		var arrayLength = IsArray(O) && P === 'length';
-		var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
-		return {
-			'[[Configurable]]': !(arrayLength || regexLastIndex),
-			'[[Enumerable]]': $isEnumerable(O, P),
-			'[[Value]]': O[P],
-			'[[Writable]]': true
-		};
-	}
-	return ToPropertyDescriptor($gOPD(O, P));
-};
-
-
-/***/ }),
-
-/***/ "6orR":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var has = __webpack_require__("oNNP");
-
-var GetIntrinsic = __webpack_require__("j1Hc");
-
-var $TypeError = GetIntrinsic('%TypeError%');
-
-var Type = __webpack_require__("PoQ0");
-var ToBoolean = __webpack_require__("e87w");
-var IsCallable = __webpack_require__("1P9b");
-
-// https://262.ecma-international.org/5.1/#sec-8.10.5
-
-module.exports = function ToPropertyDescriptor(Obj) {
-	if (Type(Obj) !== 'Object') {
-		throw new $TypeError('ToPropertyDescriptor requires an object');
-	}
-
-	var desc = {};
-	if (has(Obj, 'enumerable')) {
-		desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);
-	}
-	if (has(Obj, 'configurable')) {
-		desc['[[Configurable]]'] = ToBoolean(Obj.configurable);
-	}
-	if (has(Obj, 'value')) {
-		desc['[[Value]]'] = Obj.value;
-	}
-	if (has(Obj, 'writable')) {
-		desc['[[Writable]]'] = ToBoolean(Obj.writable);
-	}
-	if (has(Obj, 'get')) {
-		var getter = Obj.get;
-		if (typeof getter !== 'undefined' && !IsCallable(getter)) {
-			throw new $TypeError('getter must be a function');
-		}
-		desc['[[Get]]'] = getter;
-	}
-	if (has(Obj, 'set')) {
-		var setter = Obj.set;
-		if (typeof setter !== 'undefined' && !IsCallable(setter)) {
-			throw new $TypeError('setter must be a function');
-		}
-		desc['[[Set]]'] = setter;
-	}
-
-	if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) {
-		throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
-	}
-	return desc;
-};
+    if (!color) {
+      error('Expected color definition');
+    }

+    color.length = matchDistance();
+    return color;
+  }

-/***/ }),
+  function matchColor() {
+    return matchHexColor() ||
+      matchRGBAColor() ||
+      matchRGBColor() ||
+      matchLiteralColor();
+  }

-/***/ "6zzY":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  function matchLiteralColor() {
+    return match('literal', tokens.literalColor, 0);
+  }

-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export ComponentsContext */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return useComponentsContext; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ContextSystemProvider; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_2__);
+  function matchHexColor() {
+    return match('hex', tokens.hexColor, 1);
+  }

+  function matchRGBColor() {
+    return matchCall(tokens.rgbColor, function() {
+      return  {
+        type: 'rgb',
+        value: matchListing(matchNumber)
+      };
+    });
+  }

-/**
- * External dependencies
- */
+  function matchRGBAColor() {
+    return matchCall(tokens.rgbaColor, function() {
+      return  {
+        type: 'rgba',
+        value: matchListing(matchNumber)
+      };
+    });
+  }

-/**
- * WordPress dependencies
- */
+  function matchNumber() {
+    return scan(tokens.number)[1];
+  }

+  function matchDistance() {
+    return match('%', tokens.percentageValue, 1) ||
+      matchPositionKeyword() ||
+      matchLength();
+  }

+  function matchPositionKeyword() {
+    return match('position-keyword', tokens.positionKeywords, 1);
+  }

-const ComponentsContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])(
-/** @type {Record<string, any>} */
-{});
-const useComponentsContext = () => Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useContext"])(ComponentsContext);
-/**
- * Runs an effect only on update (i.e., ignores the first render)
- *
- * @param {import('react').EffectCallback} effect
- * @param {import('react').DependencyList} deps
- */
+  function matchLength() {
+    return match('px', tokens.pixelValue, 1) ||
+      match('em', tokens.emValue, 1);
+  }

-function useUpdateEffect(effect, deps) {
-  const mounted = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useRef"])(false);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(() => {
-    if (mounted.current) {
-      return effect();
+  function match(type, pattern, captureIndex) {
+    var captures = scan(pattern);
+    if (captures) {
+      return {
+        type: type,
+        value: captures[captureIndex]
+      };
     }
+  }

-    mounted.current = true;
-    return undefined;
-  }, deps);
-}
-/**
- * Consolidates incoming ContextSystem values with a (potential) parent ContextSystem value.
- *
- * Note: This function will warn if it detects an un-memoized `value`
- *
- * @param {Object}              props
- * @param {Record<string, any>} props.value
- * @return {Record<string, any>} The consolidated value.
- */
+  function scan(regexp) {
+    var captures,
+        blankCaptures;

+    blankCaptures = /^[\n\r\t\s]+/.exec(input);
+    if (blankCaptures) {
+        consume(blankCaptures[0].length);
+    }

-function useContextSystemBridge(_ref) {
-  let {
-    value
-  } = _ref;
-  const parentContext = useComponentsContext();
-  const valueRef = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useRef"])(value);
-  useUpdateEffect(() => {
-    if ( // objects are equivalent
-    Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isEqual"])(valueRef.current, value) && // but not the same reference
-    valueRef.current !== value) {
-      typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_2___default()(`Please memoize your context: ${JSON.stringify(value)}`) : void 0;
+    captures = regexp.exec(input);
+    if (captures) {
+        consume(captures[0].length);
     }
-  }, [value]); // `parentContext` will always be memoized (i.e., the result of this hook itself)
-  // or the default value from when the `ComponentsContext` was originally
-  // initialized (which will never change, it's a static variable)
-  // so this memoization will prevent `merge` and `cloneDeep` from rerunning unless
-  // the references to `value` change OR the `parentContext` has an actual material change
-  // (because again, it's guaranteed to be memoized or a static reference to the empty object
-  // so we know that the only changes for `parentContext` are material ones... i.e., why we
-  // don't have to warn in the `useUpdateEffect` hook above for `parentContext` and we only
-  // need to bother with the `value`). The `useUpdateEffect` above will ensure that we are
-  // correctly warning when the `value` isn't being properly memoized. All of that to say
-  // that this should be super safe to assume that `useMemo` will only run on actual
-  // changes to the two dependencies, therefore saving us calls to `merge` and `cloneDeep`!

-  const config = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(() => {
-    return Object(lodash__WEBPACK_IMPORTED_MODULE_1__["merge"])(Object(lodash__WEBPACK_IMPORTED_MODULE_1__["cloneDeep"])(parentContext), value);
-  }, [parentContext, value]);
-  return config;
-}
-/**
- * A Provider component that can modify props for connected components within
- * the Context system.
- *
- * @example
- * ```jsx
- * <ContextSystemProvider value={{ Button: { size: 'small' }}}>
- *   <Button>...</Button>
- * </ContextSystemProvider>
- * ```
- *
- * @template {Record<string, any>} T
- * @param {Object}                    options
- * @param {import('react').ReactNode} options.children Children to render.
- * @param {T}                         options.value    Props to render into connected components.
- * @return {JSX.Element} A Provider wrapped component.
- */
+    return captures;
+  }

+  function consume(size) {
+    input = input.substr(size);
+  }

-const BaseContextSystemProvider = _ref2 => {
-  let {
-    children,
-    value
-  } = _ref2;
-  const contextValue = useContextSystemBridge({
-    value
-  });
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(ComponentsContext.Provider, {
-    value: contextValue
-  }, children);
-};
+  return function(code) {
+    input = code.toString();
+    return getAST();
+  };
+})();

-const ContextSystemProvider = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["memo"])(BaseContextSystemProvider);
+exports.parse = (GradientParser || {}).parse;

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))

 /***/ }),

-/***/ "71Og":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 9905:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isButton; });
-var buttonInputTypes = ["button", "color", "file", "image", "reset", "submit"];
-/**
- * Checks whether `element` is a native HTML button element.
- *
- * @example
- * import { isButton } from "reakit-utils";
- *
- * isButton(document.querySelector("button")); // true
- * isButton(document.querySelector("input[type='button']")); // true
- * isButton(document.querySelector("div")); // false
- * isButton(document.querySelector("input[type='text']")); // false
- * isButton(document.querySelector("div[role='button']")); // false
- *
- * @returns {boolean}
- */
-
-function isButton(element) {
-  if (element.tagName === "BUTTON") return true;

-  if (element.tagName === "INPUT") {
-    var input = element;
-    return buttonInputTypes.indexOf(input.type) !== -1;
-  }

-  return false;
-}
+var origSymbol = __webpack_require__.g.Symbol;
+var hasSymbolSham = __webpack_require__(5682);

+module.exports = function hasNativeSymbols() {
+	if (typeof origSymbol !== 'function') { return false; }
+	if (typeof Symbol !== 'function') { return false; }
+	if (typeof origSymbol('foo') !== 'symbol') { return false; }
+	if (typeof Symbol('bar') !== 'symbol') { return false; }

+	return hasSymbolSham();
+};


 /***/ }),

-/***/ "75pU":
-/***/ (function(module, exports) {
-
-//
-// Main
-//
+/***/ 5682:
+/***/ (function(module) {

-function memoize (fn, options) {
-  var cache = options && options.cache
-    ? options.cache
-    : cacheDefault
+"use strict";

-  var serializer = options && options.serializer
-    ? options.serializer
-    : serializerDefault

-  var strategy = options && options.strategy
-    ? options.strategy
-    : strategyDefault
+/* eslint complexity: [2, 18], max-statements: [2, 33] */
+module.exports = function hasSymbols() {
+	if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
+	if (typeof Symbol.iterator === 'symbol') { return true; }

-  return strategy(fn, {
-    cache: cache,
-    serializer: serializer
-  })
-}
+	var obj = {};
+	var sym = Symbol('test');
+	var symObj = Object(sym);
+	if (typeof sym === 'string') { return false; }

-//
-// Strategy
-//
+	if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
+	if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }

-function isPrimitive (value) {
-  return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs
-}
+	// temp disabled per https://github.com/ljharb/object.assign/issues/17
+	// if (sym instanceof Symbol) { return false; }
+	// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
+	// if (!(symObj instanceof Symbol)) { return false; }

-function monadic (fn, cache, serializer, arg) {
-  var cacheKey = isPrimitive(arg) ? arg : serializer(arg)
+	// if (typeof Symbol.prototype.toString !== 'function') { return false; }
+	// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }

-  var computedValue = cache.get(cacheKey)
-  if (typeof computedValue === 'undefined') {
-    computedValue = fn.call(this, arg)
-    cache.set(cacheKey, computedValue)
-  }
+	var symVal = 42;
+	obj[sym] = symVal;
+	for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
+	if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }

-  return computedValue
-}
+	if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }

-function variadic (fn, cache, serializer) {
-  var args = Array.prototype.slice.call(arguments, 3)
-  var cacheKey = serializer(args)
+	var syms = Object.getOwnPropertySymbols(obj);
+	if (syms.length !== 1 || syms[0] !== sym) { return false; }

-  var computedValue = cache.get(cacheKey)
-  if (typeof computedValue === 'undefined') {
-    computedValue = fn.apply(this, args)
-    cache.set(cacheKey, computedValue)
-  }
+	if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }

-  return computedValue
-}
+	if (typeof Object.getOwnPropertyDescriptor === 'function') {
+		var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
+		if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
+	}

-function assemble (fn, context, strategy, cache, serialize) {
-  return strategy.bind(
-    context,
-    fn,
-    cache,
-    serialize
-  )
-}
+	return true;
+};

-function strategyDefault (fn, options) {
-  var strategy = fn.length === 1 ? monadic : variadic

-  return assemble(
-    fn,
-    this,
-    strategy,
-    options.cache.create(),
-    options.serializer
-  )
-}
+/***/ }),

-function strategyVariadic (fn, options) {
-  var strategy = variadic
+/***/ 81:
+/***/ (function(module) {

-  return assemble(
-    fn,
-    this,
-    strategy,
-    options.cache.create(),
-    options.serializer
-  )
-}
+"use strict";

-function strategyMonadic (fn, options) {
-  var strategy = monadic

-  return assemble(
-    fn,
-    this,
-    strategy,
-    options.cache.create(),
-    options.serializer
-  )
-}
+/* eslint complexity: [2, 18], max-statements: [2, 33] */
+module.exports = function hasSymbols() {
+	if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
+	if (typeof Symbol.iterator === 'symbol') { return true; }

-//
-// Serializer
-//
+	var obj = {};
+	var sym = Symbol('test');
+	var symObj = Object(sym);
+	if (typeof sym === 'string') { return false; }

-function serializerDefault () {
-  return JSON.stringify(arguments)
-}
+	if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
+	if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }

-//
-// Cache
-//
+	// temp disabled per https://github.com/ljharb/object.assign/issues/17
+	// if (sym instanceof Symbol) { return false; }
+	// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
+	// if (!(symObj instanceof Symbol)) { return false; }

-function ObjectWithoutPrototypeCache () {
-  this.cache = Object.create(null)
-}
+	// if (typeof Symbol.prototype.toString !== 'function') { return false; }
+	// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }

-ObjectWithoutPrototypeCache.prototype.has = function (key) {
-  return (key in this.cache)
-}
+	var symVal = 42;
+	obj[sym] = symVal;
+	for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
+	if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }

-ObjectWithoutPrototypeCache.prototype.get = function (key) {
-  return this.cache[key]
-}
+	if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }

-ObjectWithoutPrototypeCache.prototype.set = function (key, value) {
-  this.cache[key] = value
-}
+	var syms = Object.getOwnPropertySymbols(obj);
+	if (syms.length !== 1 || syms[0] !== sym) { return false; }

-var cacheDefault = {
-  create: function create () {
-    return new ObjectWithoutPrototypeCache()
-  }
-}
+	if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }

-//
-// API
-//
+	if (typeof Object.getOwnPropertyDescriptor === 'function') {
+		var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
+		if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
+	}

-module.exports = memoize
-module.exports.strategies = {
-  variadic: strategyVariadic,
-  monadic: strategyMonadic
-}
+	return true;
+};


 /***/ }),

-/***/ "7Cbv":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 4111:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";

-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
-// Unique ID creation requires a high quality random # generator. In the browser we therefore
-// require the crypto API and do not support built-in fallback to lower quality random number
-// generators (like Math.random()).
-var getRandomValues;
-var rnds8 = new Uint8Array(16);
-function rng() {
-  // lazy load so that environments that need to polyfill have a chance to do so
-  if (!getRandomValues) {
-    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
-    // find the complete implementation of crypto (msCrypto) on IE11.
-    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
-
-    if (!getRandomValues) {
-      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
-    }
-  }
-
-  return getRandomValues(rnds8);
-}
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
-/* harmony default export */ var regex = (/^(?:[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);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
-

-function validate(uuid) {
-  return typeof uuid === 'string' && regex.test(uuid);
-}
+var hasSymbols = __webpack_require__(81);

-/* harmony default export */ var esm_browser_validate = (validate);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
+module.exports = function hasToStringTagShams() {
+	return hasSymbols() && !!Symbol.toStringTag;
+};

-/**
- * Convert array of 16 byte values to UUID string format of the form:
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
- */

-var byteToHex = [];
+/***/ }),

-for (var stringify_i = 0; stringify_i < 256; ++stringify_i) {
-  byteToHex.push((stringify_i + 0x100).toString(16).substr(1));
-}
+/***/ 9284:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-function stringify(arr) {
-  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
-  // Note: Be careful editing this code!  It's been tuned for performance
-  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
-  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
-  // of the following:
-  // - One or more input array values don't map to a hex octet (leading to
-  // "undefined" in the uuid)
-  // - Invalid input values for the RFC `version` or `variant` fields
+"use strict";

-  if (!esm_browser_validate(uuid)) {
-    throw TypeError('Stringified UUID is invalid');
-  }

-  return uuid;
-}
+var bind = __webpack_require__(1930);

-/* harmony default export */ var esm_browser_stringify = (stringify);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
+module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);


+/***/ }),

-function v4(options, buf, offset) {
-  options = options || {};
-  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
+/***/ 3138:
+/***/ (function(module) {

-  rnds[6] = rnds[6] & 0x0f | 0x40;
-  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
-
-  if (buf) {
-    offset = offset || 0;
+module.exports =
+/******/ (function(modules) { // webpackBootstrap
+/******/ 	// The module cache
+/******/ 	var installedModules = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __nested_webpack_require_187__(moduleId) {
+/******/
+/******/ 		// Check if module is in cache
+/******/ 		if(installedModules[moduleId])
+/******/ 			return installedModules[moduleId].exports;
+/******/
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = installedModules[moduleId] = {
+/******/ 			exports: {},
+/******/ 			id: moduleId,
+/******/ 			loaded: false
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		modules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_187__);
+/******/
+/******/ 		// Flag the module as loaded
+/******/ 		module.loaded = true;
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/******/
+/******/ 	// expose the modules object (__webpack_modules__)
+/******/ 	__nested_webpack_require_187__.m = modules;
+/******/
+/******/ 	// expose the module cache
+/******/ 	__nested_webpack_require_187__.c = installedModules;
+/******/
+/******/ 	// __webpack_public_path__
+/******/ 	__nested_webpack_require_187__.p = "";
+/******/
+/******/ 	// Load entry module and return exports
+/******/ 	return __nested_webpack_require_187__(0);
+/******/ })
+/************************************************************************/
+/******/ ([
+/* 0 */
+/***/ (function(module, exports, __nested_webpack_require_1468__) {

-    for (var i = 0; i < 16; ++i) {
-      buf[offset + i] = rnds[i];
-    }
+	module.exports = __nested_webpack_require_1468__(1);

-    return buf;
-  }

-  return esm_browser_stringify(rnds);
-}
+/***/ }),
+/* 1 */
+/***/ (function(module, exports, __nested_webpack_require_1587__) {

-/* harmony default export */ var esm_browser_v4 = __webpack_exports__["a"] = (v4);
+	'use strict';
+
+	Object.defineProperty(exports, "__esModule", {
+	  value: true
+	});
+
+	var _utils = __nested_webpack_require_1587__(2);
+
+	Object.defineProperty(exports, 'combineChunks', {
+	  enumerable: true,
+	  get: function get() {
+	    return _utils.combineChunks;
+	  }
+	});
+	Object.defineProperty(exports, 'fillInChunks', {
+	  enumerable: true,
+	  get: function get() {
+	    return _utils.fillInChunks;
+	  }
+	});
+	Object.defineProperty(exports, 'findAll', {
+	  enumerable: true,
+	  get: function get() {
+	    return _utils.findAll;
+	  }
+	});
+	Object.defineProperty(exports, 'findChunks', {
+	  enumerable: true,
+	  get: function get() {
+	    return _utils.findChunks;
+	  }
+	});

 /***/ }),
+/* 2 */
+/***/ (function(module, exports) {

-/***/ "7Jlx":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return contextConnect; });
-/* unused harmony export getConnectNamespace */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return hasConnectNamespace; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("tQ+x");
-/* harmony import */ var _get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("UAm0");
-/**
- * External dependencies
- */
+	'use strict';
+
+	Object.defineProperty(exports, "__esModule", {
+	  value: true
+	});
+
+
+	/**
+	 * Creates an array of chunk objects representing both higlightable and non highlightable pieces of text that match each search word.
+	 * @return Array of "chunks" (where a Chunk is { start:number, end:number, highlight:boolean })
+	 */
+	var findAll = exports.findAll = function findAll(_ref) {
+	  var autoEscape = _ref.autoEscape,
+	      _ref$caseSensitive = _ref.caseSensitive,
+	      caseSensitive = _ref$caseSensitive === undefined ? false : _ref$caseSensitive,
+	      _ref$findChunks = _ref.findChunks,
+	      findChunks = _ref$findChunks === undefined ? defaultFindChunks : _ref$findChunks,
+	      sanitize = _ref.sanitize,
+	      searchWords = _ref.searchWords,
+	      textToHighlight = _ref.textToHighlight;
+	  return fillInChunks({
+	    chunksToHighlight: combineChunks({
+	      chunks: findChunks({
+	        autoEscape: autoEscape,
+	        caseSensitive: caseSensitive,
+	        sanitize: sanitize,
+	        searchWords: searchWords,
+	        textToHighlight: textToHighlight
+	      })
+	    }),
+	    totalLength: textToHighlight ? textToHighlight.length : 0
+	  });
+	};
+
+	/**
+	 * Takes an array of {start:number, end:number} objects and combines chunks that overlap into single chunks.
+	 * @return {start:number, end:number}[]
+	 */
+
+
+	var combineChunks = exports.combineChunks = function combineChunks(_ref2) {
+	  var chunks = _ref2.chunks;
+
+	  chunks = chunks.sort(function (first, second) {
+	    return first.start - second.start;
+	  }).reduce(function (processedChunks, nextChunk) {
+	    // First chunk just goes straight in the array...
+	    if (processedChunks.length === 0) {
+	      return [nextChunk];
+	    } else {
+	      // ... subsequent chunks get checked to see if they overlap...
+	      var prevChunk = processedChunks.pop();
+	      if (nextChunk.start <= prevChunk.end) {
+	        // It may be the case that prevChunk completely surrounds nextChunk, so take the
+	        // largest of the end indeces.
+	        var endIndex = Math.max(prevChunk.end, nextChunk.end);
+	        processedChunks.push({ highlight: false, start: prevChunk.start, end: endIndex });
+	      } else {
+	        processedChunks.push(prevChunk, nextChunk);
+	      }
+	      return processedChunks;
+	    }
+	  }, []);
+
+	  return chunks;
+	};
+
+	/**
+	 * Examine text for any matches.
+	 * If we find matches, add them to the returned array as a "chunk" object ({start:number, end:number}).
+	 * @return {start:number, end:number}[]
+	 */
+	var defaultFindChunks = function defaultFindChunks(_ref3) {
+	  var autoEscape = _ref3.autoEscape,
+	      caseSensitive = _ref3.caseSensitive,
+	      _ref3$sanitize = _ref3.sanitize,
+	      sanitize = _ref3$sanitize === undefined ? defaultSanitize : _ref3$sanitize,
+	      searchWords = _ref3.searchWords,
+	      textToHighlight = _ref3.textToHighlight;
+
+	  textToHighlight = sanitize(textToHighlight);
+
+	  return searchWords.filter(function (searchWord) {
+	    return searchWord;
+	  }) // Remove empty words
+	  .reduce(function (chunks, searchWord) {
+	    searchWord = sanitize(searchWord);
+
+	    if (autoEscape) {
+	      searchWord = escapeRegExpFn(searchWord);
+	    }
+
+	    var regex = new RegExp(searchWord, caseSensitive ? 'g' : 'gi');
+
+	    var match = void 0;
+	    while (match = regex.exec(textToHighlight)) {
+	      var _start = match.index;
+	      var _end = regex.lastIndex;
+	      // We do not return zero-length matches
+	      if (_end > _start) {
+	        chunks.push({ highlight: false, start: _start, end: _end });
+	      }
+
+	      // Prevent browsers like Firefox from getting stuck in an infinite loop
+	      // See http://www.regexguru.com/2008/04/watch-out-for-zero-length-matches/
+	      if (match.index === regex.lastIndex) {
+	        regex.lastIndex++;
+	      }
+	    }
+
+	    return chunks;
+	  }, []);
+	};
+	// Allow the findChunks to be overridden in findAll,
+	// but for backwards compatibility we export as the old name
+	exports.findChunks = defaultFindChunks;
+
+	/**
+	 * Given a set of chunks to highlight, create an additional set of chunks
+	 * to represent the bits of text between the highlighted text.
+	 * @param chunksToHighlight {start:number, end:number}[]
+	 * @param totalLength number
+	 * @return {start:number, end:number, highlight:boolean}[]
+	 */
+
+	var fillInChunks = exports.fillInChunks = function fillInChunks(_ref4) {
+	  var chunksToHighlight = _ref4.chunksToHighlight,
+	      totalLength = _ref4.totalLength;
+
+	  var allChunks = [];
+	  var append = function append(start, end, highlight) {
+	    if (end - start > 0) {
+	      allChunks.push({
+	        start: start,
+	        end: end,
+	        highlight: highlight
+	      });
+	    }
+	  };
+
+	  if (chunksToHighlight.length === 0) {
+	    append(0, totalLength, false);
+	  } else {
+	    var lastIndex = 0;
+	    chunksToHighlight.forEach(function (chunk) {
+	      append(lastIndex, chunk.start, false);
+	      append(chunk.start, chunk.end, true);
+	      lastIndex = chunk.end;
+	    });
+	    append(lastIndex, totalLength, false);
+	  }
+	  return allChunks;
+	};
+
+	function defaultSanitize(string) {
+	  return string;
+	}
+
+	function escapeRegExpFn(string) {
+	  return string.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
+	}

-/**
- * WordPress dependencies
- */
+/***/ })
+/******/ ]);


+/***/ }),

-/**
- * Internal dependencies
- */
+/***/ 1281:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-/* eslint-disable jsdoc/valid-types */
+var reactIs = __webpack_require__(338);

 /**
- * Forwards ref (React.ForwardRef) and "Connects" (or registers) a component
- * within the Context system under a specified namespace.
- *
- * This is an (experimental) evolution of the initial connect() HOC.
- * The hope is that we can improve render performance by removing functional
- * component wrappers.
- *
- * @template {import('./wordpress-component').WordPressComponentProps<{}, any, any>} P
- * @param {(props: P, ref: import('react').Ref<any>) => JSX.Element | null} Component            The component to register into the Context system.
- * @param {string}                                                          namespace            The namespace to register the component under.
- * @param {Object}                                                          options
- * @param {boolean}                                                         [options.memo=false]
- * @return {import('./wordpress-component').WordPressComponentFromProps<P>} The connected WordPressComponent
+ * Copyright 2015, Yahoo! Inc.
+ * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
  */
+var REACT_STATICS = {
+  childContextTypes: true,
+  contextType: true,
+  contextTypes: true,
+  defaultProps: true,
+  displayName: true,
+  getDefaultProps: true,
+  getDerivedStateFromError: true,
+  getDerivedStateFromProps: true,
+  mixins: true,
+  propTypes: true,
+  type: true
+};
+var KNOWN_STATICS = {
+  name: true,
+  length: true,
+  prototype: true,
+  caller: true,
+  callee: true,
+  arguments: true,
+  arity: true
+};
+var FORWARD_REF_STATICS = {
+  '$$typeof': true,
+  render: true,
+  defaultProps: true,
+  displayName: true,
+  propTypes: true
+};
+var MEMO_STATICS = {
+  '$$typeof': true,
+  compare: true,
+  defaultProps: true,
+  displayName: true,
+  propTypes: true,
+  type: true
+};
+var TYPE_STATICS = {};
+TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
+TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;

-function contextConnect(Component, namespace) {
-  let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
+function getStatics(component) {
+  // React v16.11 and below
+  if (reactIs.isMemo(component)) {
+    return MEMO_STATICS;
+  } // React v16.12 and above

-  /* eslint-enable jsdoc/valid-types */
-  const {
-    memo: memoProp = false
-  } = options;
-  let WrappedComponent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])(Component);

-  if (memoProp) {
-    // @ts-ignore
-    WrappedComponent = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["memo"])(WrappedComponent);
-  }
+  return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
+}

-  if (typeof namespace === 'undefined') {
-    typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_2___default()('contextConnect: Please provide a namespace') : void 0;
-  } // @ts-ignore internal property
+var defineProperty = Object.defineProperty;
+var getOwnPropertyNames = Object.getOwnPropertyNames;
+var getOwnPropertySymbols = Object.getOwnPropertySymbols;
+var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+var getPrototypeOf = Object.getPrototypeOf;
+var objectPrototype = Object.prototype;
+function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
+  if (typeof sourceComponent !== 'string') {
+    // don't hoist over string (html) components
+    if (objectPrototype) {
+      var inheritedComponent = getPrototypeOf(sourceComponent);

+      if (inheritedComponent && inheritedComponent !== objectPrototype) {
+        hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
+      }
+    }

-  let mergedNamespace = WrappedComponent[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]] || [namespace];
-  /**
-   * Consolidate (merge) namespaces before attaching it to the WrappedComponent.
-   */
+    var keys = getOwnPropertyNames(sourceComponent);

-  if (Array.isArray(namespace)) {
-    mergedNamespace = [...mergedNamespace, ...namespace];
-  }
+    if (getOwnPropertySymbols) {
+      keys = keys.concat(getOwnPropertySymbols(sourceComponent));
+    }

-  if (typeof namespace === 'string') {
-    mergedNamespace = [...mergedNamespace, namespace];
-  }
+    var targetStatics = getStatics(targetComponent);
+    var sourceStatics = getStatics(sourceComponent);

-  WrappedComponent.displayName = namespace; // @ts-ignore internal property
+    for (var i = 0; i < keys.length; ++i) {
+      var key = keys[i];

-  WrappedComponent[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]] = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["uniq"])(mergedNamespace); // @ts-ignore WordPressComponent property
+      if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
+        var descriptor = getOwnPropertyDescriptor(sourceComponent, key);

-  WrappedComponent.selector = `.${Object(_get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_4__[/* getStyledClassNameFromKey */ "a"])(namespace)}`; // @ts-ignore
+        try {
+          // Avoid failures from read-only properties
+          defineProperty(targetComponent, key, descriptor);
+        } catch (e) {}
+      }
+    }
+  }

-  return WrappedComponent;
+  return targetComponent;
 }
-/**
- * Attempts to retrieve the connected namespace from a component.
- *
- * @param {import('react').ReactChild | undefined | {}} Component The component to retrieve a namespace from.
- * @return {Array<string>} The connected namespaces.
- */

-function getConnectNamespace(Component) {
-  if (!Component) return [];
-  let namespaces = []; // @ts-ignore internal property
+module.exports = hoistNonReactStatics;

-  if (Component[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]]) {
-    // @ts-ignore internal property
-    namespaces = Component[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]];
-  } // @ts-ignore

+/***/ }),

-  if (Component.type && Component.type[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]]) {
-    // @ts-ignore
-    namespaces = Component.type[_constants__WEBPACK_IMPORTED_MODULE_3__[/* CONNECT_STATIC_NAMESPACE */ "c"]];
-  }
+/***/ 5443:
+/***/ (function(module) {

-  return namespaces;
-}
-/**
- * Checks to see if a component is connected within the Context system.
- *
- * @param {import('react').ReactNode} Component The component to retrieve a namespace from.
- * @param {Array<string>|string}      match     The namespace to check.
- * @return {boolean} The result.
- */
+"use strict";

-function hasConnectNamespace(Component, match) {
-  if (!Component) return false;

-  if (typeof match === 'string') {
-    return getConnectNamespace(Component).includes(match);
-  }
+var fnToStr = Function.prototype.toString;
+var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
+var badArrayLike;
+var isCallableMarker;
+if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
+	try {
+		badArrayLike = Object.defineProperty({}, 'length', {
+			get: function () {
+				throw isCallableMarker;
+			}
+		});
+		isCallableMarker = {};
+		// eslint-disable-next-line no-throw-literal
+		reflectApply(function () { throw 42; }, null, badArrayLike);
+	} catch (_) {
+		if (_ !== isCallableMarker) {
+			reflectApply = null;
+		}
+	}
+} else {
+	reflectApply = null;
+}

-  if (Array.isArray(match)) {
-    return match.some(result => getConnectNamespace(Component).includes(result));
-  }
+var constructorRegex = /^\s*class\b/;
+var isES6ClassFn = function isES6ClassFunction(value) {
+	try {
+		var fnStr = fnToStr.call(value);
+		return constructorRegex.test(fnStr);
+	} catch (e) {
+		return false; // not a function
+	}
+};

-  return false;
-}
+var tryFunctionObject = function tryFunctionToStr(value) {
+	try {
+		if (isES6ClassFn(value)) { return false; }
+		fnToStr.call(value);
+		return true;
+	} catch (e) {
+		return false;
+	}
+};
+var toStr = Object.prototype.toString;
+var fnClass = '[object Function]';
+var genClass = '[object GeneratorFunction]';
+var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
+
+module.exports = reflectApply
+	? function isCallable(value) {
+		if (!value) { return false; }
+		if (typeof value !== 'function' && typeof value !== 'object') { return false; }
+		if (typeof value === 'function' && !value.prototype) { return true; }
+		try {
+			reflectApply(value, null, badArrayLike);
+		} catch (e) {
+			if (e !== isCallableMarker) { return false; }
+		}
+		return !isES6ClassFn(value);
+	}
+	: function isCallable(value) {
+		if (!value) { return false; }
+		if (typeof value !== 'function' && typeof value !== 'object') { return false; }
+		if (typeof value === 'function' && !value.prototype) { return true; }
+		if (hasToStringTag) { return tryFunctionObject(value); }
+		if (isES6ClassFn(value)) { return false; }
+		var strClass = toStr.call(value);
+		return strClass === fnClass || strClass === genClass;
+	};

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))

 /***/ }),

-/***/ "7bKH":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
+/***/ 8659:
+/***/ (function(module) {

 "use strict";
-var o=function(o){var t=o/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},t=function(t){return.2126*o(t.r)+.7152*o(t.g)+.0722*o(t.b)};/* harmony default export */ __webpack_exports__["a"] = (function(o){o.prototype.luminance=function(){return o=t(this.rgba),void 0===(r=2)&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*o)/n+0;var o,r,n},o.prototype.contrast=function(r){void 0===r&&(r="#FFF");var n,a,i,e,v,u,d,c=r instanceof o?r:new o(r);return e=this.rgba,v=c.toRgb(),u=t(e),d=t(v),n=u>d?(u+.05)/(d+.05):(d+.05)/(u+.05),void 0===(a=2)&&(a=0),void 0===i&&(i=Math.pow(10,a)),Math.floor(i*n)/i+0},o.prototype.isReadable=function(o,t){return void 0===o&&(o="#FFF"),void 0===t&&(t={}),this.contrast(o)>=(e=void 0===(i=(r=t).size)?"normal":i,"AAA"===(a=void 0===(n=r.level)?"AA":n)&&"normal"===e?7:"AA"===a&&"large"===e?3:4.5);var r,n,a,i,e}});
+
+
+var getDay = Date.prototype.getDay;
+var tryDateObject = function tryDateGetDayCall(value) {
+	try {
+		getDay.call(value);
+		return true;
+	} catch (e) {
+		return false;
+	}
+};
+
+var toStr = Object.prototype.toString;
+var dateClass = '[object Date]';
+var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
+
+module.exports = function isDateObject(value) {
+	if (typeof value !== 'object' || value === null) {
+		return false;
+	}
+	return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;
+};


 /***/ }),

-/***/ "82c2":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 3082:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-var keys = __webpack_require__("1seS");
-var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
-
 var toStr = Object.prototype.toString;
-var concat = Array.prototype.concat;
-var origDefineProperty = Object.defineProperty;
-
-var isFunction = function (fn) {
-	return typeof fn === 'function' && toStr.call(fn) === '[object Function]';
-};
+var hasSymbols = __webpack_require__(9905)();

-var arePropertyDescriptorsSupported = function () {
-	var obj = {};
-	try {
-		origDefineProperty(obj, 'x', { enumerable: false, value: obj });
-		// eslint-disable-next-line no-unused-vars, no-restricted-syntax
-		for (var _ in obj) { // jscs:ignore disallowUnusedVariables
+if (hasSymbols) {
+	var symToStr = Symbol.prototype.toString;
+	var symStringRegex = /^Symbol\(.*\)$/;
+	var isSymbolObject = function isRealSymbolObject(value) {
+		if (typeof value.valueOf() !== 'symbol') {
 			return false;
 		}
-		return obj.x === obj;
-	} catch (e) { /* this is IE 8. */
-		return false;
-	}
-};
-var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();
+		return symStringRegex.test(symToStr.call(value));
+	};

-var defineProperty = function (object, name, value, predicate) {
-	if (name in object && (!isFunction(predicate) || !predicate())) {
-		return;
-	}
-	if (supportsDescriptors) {
-		origDefineProperty(object, name, {
-			configurable: true,
-			enumerable: false,
-			value: value,
-			writable: true
-		});
-	} else {
-		object[name] = value;
-	}
-};
+	module.exports = function isSymbol(value) {
+		if (typeof value === 'symbol') {
+			return true;
+		}
+		if (toStr.call(value) !== '[object Symbol]') {
+			return false;
+		}
+		try {
+			return isSymbolObject(value);
+		} catch (e) {
+			return false;
+		}
+	};
+} else {

-var defineProperties = function (object, map) {
-	var predicates = arguments.length > 2 ? arguments[2] : {};
-	var props = keys(map);
-	if (hasSymbols) {
-		props = concat.call(props, Object.getOwnPropertySymbols(map));
-	}
-	for (var i = 0; i < props.length; i += 1) {
-		defineProperty(object, props[i], map[props[i]], predicates[props[i]]);
-	}
-};
+	module.exports = function isSymbol(value) {
+		// this environment does not support Symbols.
+		return  false && 0;
+	};
+}

-defineProperties.supportsDescriptors = !!supportsDescriptors;

-module.exports = defineProperties;
+/***/ }),
+
+/***/ 5834:
+/***/ (function(module, exports) {

+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = isTouchDevice;
+function isTouchDevice() {
+  return !!(typeof window !== 'undefined' && ('ontouchstart' in window || window.DocumentTouch && typeof document !== 'undefined' && document instanceof window.DocumentTouch)) || !!(typeof navigator !== 'undefined' && (navigator.maxTouchPoints || navigator.msMaxTouchPoints));
+}
+module.exports = exports['default'];

 /***/ }),

-/***/ "8R9v":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
+/***/ 4937:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+var root = __webpack_require__(158);

-var define = __webpack_require__("82c2");
-var getPolyfill = __webpack_require__("yLpt");
+/** Built-in value references. */
+var Symbol = root.Symbol;

-module.exports = function shimAssign() {
-	var polyfill = getPolyfill();
-	define(
-		Object,
-		{ assign: polyfill },
-		{ assign: function () { return Object.assign !== polyfill; } }
-	);
-	return polyfill;
-};
+module.exports = Symbol;


 /***/ }),

-/***/ "8oxB":
-/***/ (function(module, exports) {
+/***/ 194:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// shim for using process in browser
-var process = module.exports = {};
+var Symbol = __webpack_require__(4937),
+    getRawTag = __webpack_require__(5401),
+    objectToString = __webpack_require__(2445);

-// cached from whatever global is present so that test runners that stub it
-// don't break things.  But we need to wrap it in a try catch in case it is
-// wrapped in strict mode code which doesn't define any globals.  It's inside a
-// function because try/catches deoptimize in certain engines.
+/** `Object#toString` result references. */
+var nullTag = '[object Null]',
+    undefinedTag = '[object Undefined]';

-var cachedSetTimeout;
-var cachedClearTimeout;
+/** Built-in value references. */
+var symToStringTag = Symbol ? Symbol.toStringTag : undefined;

-function defaultSetTimout() {
-    throw new Error('setTimeout has not been defined');
-}
-function defaultClearTimeout () {
-    throw new Error('clearTimeout has not been defined');
+/**
+ * The base implementation of `getTag` without fallbacks for buggy environments.
+ *
+ * @private
+ * @param {*} value The value to query.
+ * @returns {string} Returns the `toStringTag`.
+ */
+function baseGetTag(value) {
+  if (value == null) {
+    return value === undefined ? undefinedTag : nullTag;
+  }
+  return (symToStringTag && symToStringTag in Object(value))
+    ? getRawTag(value)
+    : objectToString(value);
 }
-(function () {
-    try {
-        if (typeof setTimeout === 'function') {
-            cachedSetTimeout = setTimeout;
-        } else {
-            cachedSetTimeout = defaultSetTimout;
-        }
-    } catch (e) {
-        cachedSetTimeout = defaultSetTimout;
-    }
-    try {
-        if (typeof clearTimeout === 'function') {
-            cachedClearTimeout = clearTimeout;
-        } else {
-            cachedClearTimeout = defaultClearTimeout;
-        }
-    } catch (e) {
-        cachedClearTimeout = defaultClearTimeout;
-    }
-} ())
-function runTimeout(fun) {
-    if (cachedSetTimeout === setTimeout) {
-        //normal enviroments in sane situations
-        return setTimeout(fun, 0);
-    }
-    // if setTimeout wasn't available but was latter defined
-    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
-        cachedSetTimeout = setTimeout;
-        return setTimeout(fun, 0);
-    }
-    try {
-        // when when somebody has screwed with setTimeout but no I.E. maddness
-        return cachedSetTimeout(fun, 0);
-    } catch(e){
-        try {
-            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
-            return cachedSetTimeout.call(null, fun, 0);
-        } catch(e){
-            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
-            return cachedSetTimeout.call(this, fun, 0);
-        }
-    }
-

-}
-function runClearTimeout(marker) {
-    if (cachedClearTimeout === clearTimeout) {
-        //normal enviroments in sane situations
-        return clearTimeout(marker);
-    }
-    // if clearTimeout wasn't available but was latter defined
-    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
-        cachedClearTimeout = clearTimeout;
-        return clearTimeout(marker);
-    }
-    try {
-        // when when somebody has screwed with setTimeout but no I.E. maddness
-        return cachedClearTimeout(marker);
-    } catch (e){
-        try {
-            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
-            return cachedClearTimeout.call(null, marker);
-        } catch (e){
-            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
-            // Some versions of I.E. have different rules for clearTimeout vs setTimeout
-            return cachedClearTimeout.call(this, marker);
-        }
-    }
+module.exports = baseGetTag;


+/***/ }),

-}
-var queue = [];
-var draining = false;
-var currentQueue;
-var queueIndex = -1;
+/***/ 2383:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-function cleanUpNextTick() {
-    if (!draining || !currentQueue) {
-        return;
-    }
-    draining = false;
-    if (currentQueue.length) {
-        queue = currentQueue.concat(queue);
-    } else {
-        queueIndex = -1;
-    }
-    if (queue.length) {
-        drainQueue();
-    }
-}
+var trimmedEndIndex = __webpack_require__(8725);

-function drainQueue() {
-    if (draining) {
-        return;
-    }
-    var timeout = runTimeout(cleanUpNextTick);
-    draining = true;
+/** Used to match leading whitespace. */
+var reTrimStart = /^\s+/;

-    var len = queue.length;
-    while(len) {
-        currentQueue = queue;
-        queue = [];
-        while (++queueIndex < len) {
-            if (currentQueue) {
-                currentQueue[queueIndex].run();
-            }
-        }
-        queueIndex = -1;
-        len = queue.length;
-    }
-    currentQueue = null;
-    draining = false;
-    runClearTimeout(timeout);
+/**
+ * The base implementation of `_.trim`.
+ *
+ * @private
+ * @param {string} string The string to trim.
+ * @returns {string} Returns the trimmed string.
+ */
+function baseTrim(string) {
+  return string
+    ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
+    : string;
 }

-process.nextTick = function (fun) {
-    var args = new Array(arguments.length - 1);
-    if (arguments.length > 1) {
-        for (var i = 1; i < arguments.length; i++) {
-            args[i - 1] = arguments[i];
-        }
-    }
-    queue.push(new Item(fun, args));
-    if (queue.length === 1 && !draining) {
-        runTimeout(drainQueue);
-    }
-};
+module.exports = baseTrim;

-// v8 likes predictible objects
-function Item(fun, array) {
-    this.fun = fun;
-    this.array = array;
-}
-Item.prototype.run = function () {
-    this.fun.apply(null, this.array);
-};
-process.title = 'browser';
-process.browser = true;
-process.env = {};
-process.argv = [];
-process.version = ''; // empty string to avoid regexp issues
-process.versions = {};
-
-function noop() {}
-
-process.on = noop;
-process.addListener = noop;
-process.once = noop;
-process.off = noop;
-process.removeListener = noop;
-process.removeAllListeners = noop;
-process.emit = noop;
-process.prependListener = noop;
-process.prependOnceListener = noop;
-
-process.listeners = function (name) { return [] }
-
-process.binding = function (name) {
-    throw new Error('process.binding is not supported');
-};

-process.cwd = function () { return '/' };
-process.chdir = function (dir) {
-    throw new Error('process.chdir is not supported');
-};
-process.umask = function() { return 0; };
+/***/ }),

+/***/ 4528:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-/***/ }),
+/** Detect free variable `global` from Node.js. */
+var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;

-/***/ "8sMu":
-/***/ (function(module, exports, __webpack_require__) {
+module.exports = freeGlobal;

-"use strict";

+/***/ }),

-// var modulo = require('./modulo');
-var $floor = Math.floor;
+/***/ 5401:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// http://262.ecma-international.org/5.1/#sec-5.2
+var Symbol = __webpack_require__(4937);

-module.exports = function floor(x) {
-	// return x - modulo(x, 1);
-	return $floor(x);
-};
+/** Used for built-in method references. */
+var objectProto = Object.prototype;

+/** Used to check objects for own properties. */
+var hasOwnProperty = objectProto.hasOwnProperty;

-/***/ }),
+/**
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
+ * of values.
+ */
+var nativeObjectToString = objectProto.toString;

-/***/ "9Do8":
-/***/ (function(module, exports, __webpack_require__) {
+/** Built-in value references. */
+var symToStringTag = Symbol ? Symbol.toStringTag : undefined;

-"use strict";
+/**
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
+ *
+ * @private
+ * @param {*} value The value to query.
+ * @returns {string} Returns the raw `toStringTag`.
+ */
+function getRawTag(value) {
+  var isOwn = hasOwnProperty.call(value, symToStringTag),
+      tag = value[symToStringTag];

+  try {
+    value[symToStringTag] = undefined;
+    var unmasked = true;
+  } catch (e) {}

-module.exports = __webpack_require__("zt9T");
+  var result = nativeObjectToString.call(value);
+  if (unmasked) {
+    if (isOwn) {
+      value[symToStringTag] = tag;
+    } else {
+      delete value[symToStringTag];
+    }
+  }
+  return result;
+}

-/***/ }),
+module.exports = getRawTag;

-/***/ "9VDH":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _dashicon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("vUUf");
+/***/ }),

+/***/ 2445:
+/***/ (function(module) {

-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+/** Used for built-in method references. */
+var objectProto = Object.prototype;

 /**
- * WordPress dependencies
+ * Used to resolve the
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
+ * of values.
  */
-
+var nativeObjectToString = objectProto.toString;

 /**
- * Internal dependencies
+ * Converts `value` to a string using `Object.prototype.toString`.
+ *
+ * @private
+ * @param {*} value The value to convert.
+ * @returns {string} Returns the converted string.
  */
+function objectToString(value) {
+  return nativeObjectToString.call(value);
+}

+module.exports = objectToString;


-function Icon(_ref) {
-  let {
-    icon = null,
-    size = 24,
-    ...additionalProps
-  } = _ref;
-
-  if ('string' === typeof icon) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_dashicon__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-      icon: icon
-    }, additionalProps));
-  }
-
-  if (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["isValidElement"])(icon) && _dashicon__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"] === icon.type) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["cloneElement"])(icon, { ...additionalProps
-    });
-  }
-
-  if ('function' === typeof icon) {
-    if (icon.prototype instanceof _wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Component"]) {
-      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(icon, {
-        size,
-        ...additionalProps
-      });
-    }
+/***/ }),

-    return icon({
-      size,
-      ...additionalProps
-    });
-  }
+/***/ 158:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-  if (icon && (icon.type === 'svg' || icon.type === _wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__["SVG"])) {
-    const appliedProps = {
-      width: size,
-      height: size,
-      ...icon.props,
-      ...additionalProps
-    };
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_2__["SVG"], appliedProps);
-  }
+var freeGlobal = __webpack_require__(4528);

-  if (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["isValidElement"])(icon)) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["cloneElement"])(icon, {
-      // @ts-ignore Just forwarding the size prop along
-      size,
-      ...additionalProps
-    });
-  }
+/** Detect free variable `self`. */
+var freeSelf = typeof self == 'object' && self && self.Object === Object && self;

-  return icon;
-}
+/** Used as a reference to the global object. */
+var root = freeGlobal || freeSelf || Function('return this')();

-/* harmony default export */ __webpack_exports__["a"] = (Icon);
+module.exports = root;


 /***/ }),

-/***/ "9Zbq":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 8725:
+/***/ (function(module) {
+
+/** Used to match a single whitespace character. */
+var reWhitespace = /\s/;

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return matches; });
 /**
- * Ponyfill for `Element.prototype.matches`
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
+ * character of `string`.
  *
- * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/matches
+ * @private
+ * @param {string} string The string to inspect.
+ * @returns {number} Returns the index of the last non-whitespace character.
  */
-function matches(element, selectors) {
-  if ("matches" in element) {
-    return element.matches(selectors);
-  }
-
-  if ("msMatchesSelector" in element) {
-    return element.msMatchesSelector(selectors);
-  }
+function trimmedEndIndex(string) {
+  var index = string.length;

-  return element.webkitMatchesSelector(selectors);
+  while (index-- && reWhitespace.test(string.charAt(index))) {}
+  return index;
 }

-
+module.exports = trimmedEndIndex;


 /***/ }),

-/***/ "9cOx":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 6897:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-"use strict";
+var isObject = __webpack_require__(3619),
+    now = __webpack_require__(8253),
+    toNumber = __webpack_require__(5053);

+/** Error message constants. */
+var FUNC_ERROR_TEXT = 'Expected a function';

-var GetIntrinsic = __webpack_require__("j1Hc");
+/* Built-in method references for those with the same name as other `lodash` methods. */
+var nativeMax = Math.max,
+    nativeMin = Math.min;

-var $Array = GetIntrinsic('%Array%');
+/**
+ * Creates a debounced function that delays invoking `func` until after `wait`
+ * milliseconds have elapsed since the last time the debounced function was
+ * invoked. The debounced function comes with a `cancel` method to cancel
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
+ * Provide `options` to indicate whether `func` should be invoked on the
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
+ * with the last arguments provided to the debounced function. Subsequent
+ * calls to the debounced function return the result of the last `func`
+ * invocation.
+ *
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
+ * invoked on the trailing edge of the timeout only if the debounced function
+ * is invoked more than once during the `wait` timeout.
+ *
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
+ *
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
+ * for details over the differences between `_.debounce` and `_.throttle`.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Function
+ * @param {Function} func The function to debounce.
+ * @param {number} [wait=0] The number of milliseconds to delay.
+ * @param {Object} [options={}] The options object.
+ * @param {boolean} [options.leading=false]
+ *  Specify invoking on the leading edge of the timeout.
+ * @param {number} [options.maxWait]
+ *  The maximum time `func` is allowed to be delayed before it's invoked.
+ * @param {boolean} [options.trailing=true]
+ *  Specify invoking on the trailing edge of the timeout.
+ * @returns {Function} Returns the new debounced function.
+ * @example
+ *
+ * // Avoid costly calculations while the window size is in flux.
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
+ *
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
+ *   'leading': true,
+ *   'trailing': false
+ * }));
+ *
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
+ * var source = new EventSource('/stream');
+ * jQuery(source).on('message', debounced);
+ *
+ * // Cancel the trailing debounced invocation.
+ * jQuery(window).on('popstate', debounced.cancel);
+ */
+function debounce(func, wait, options) {
+  var lastArgs,
+      lastThis,
+      maxWait,
+      result,
+      timerId,
+      lastCallTime,
+      lastInvokeTime = 0,
+      leading = false,
+      maxing = false,
+      trailing = true;

-// eslint-disable-next-line global-require
-var toStr = !$Array.isArray && __webpack_require__("qeuH")('Object.prototype.toString');
+  if (typeof func != 'function') {
+    throw new TypeError(FUNC_ERROR_TEXT);
+  }
+  wait = toNumber(wait) || 0;
+  if (isObject(options)) {
+    leading = !!options.leading;
+    maxing = 'maxWait' in options;
+    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
+    trailing = 'trailing' in options ? !!options.trailing : trailing;
+  }

-// https://ecma-international.org/ecma-262/6.0/#sec-isarray
+  function invokeFunc(time) {
+    var args = lastArgs,
+        thisArg = lastThis;

-module.exports = $Array.isArray || function IsArray(argument) {
-	return toStr(argument) === '[object Array]';
-};
+    lastArgs = lastThis = undefined;
+    lastInvokeTime = time;
+    result = func.apply(thisArg, args);
+    return result;
+  }

+  function leadingEdge(time) {
+    // Reset any `maxWait` timer.
+    lastInvokeTime = time;
+    // Start the timer for the trailing edge.
+    timerId = setTimeout(timerExpired, wait);
+    // Invoke the leading edge.
+    return leading ? invokeFunc(time) : result;
+  }

-/***/ }),
+  function remainingWait(time) {
+    var timeSinceLastCall = time - lastCallTime,
+        timeSinceLastInvoke = time - lastInvokeTime,
+        timeWaiting = wait - timeSinceLastCall;

-/***/ "9gmn":
-/***/ (function(module, exports, __webpack_require__) {
+    return maxing
+      ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
+      : timeWaiting;
+  }

-"use strict";
+  function shouldInvoke(time) {
+    var timeSinceLastCall = time - lastCallTime,
+        timeSinceLastInvoke = time - lastInvokeTime;

+    // Either this is the first call, activity has stopped and we're at the
+    // trailing edge, the system time has gone backwards and we're treating
+    // it as the trailing edge, or we've hit the `maxWait` limit.
+    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
+      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
+  }

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+  function timerExpired() {
+    var time = now();
+    if (shouldInvoke(time)) {
+      return trailingEdge(time);
+    }
+    // Restart the timer.
+    timerId = setTimeout(timerExpired, remainingWait(time));
+  }

-var _react = __webpack_require__("cDcd");
+  function trailingEdge(time) {
+    timerId = undefined;

-var _react2 = _interopRequireDefault(_react);
+    // Only invoke if we have `lastArgs` which means `func` has been
+    // debounced at least once.
+    if (trailing && lastArgs) {
+      return invokeFunc(time);
+    }
+    lastArgs = lastThis = undefined;
+    return result;
+  }

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+  function cancel() {
+    if (timerId !== undefined) {
+      clearTimeout(timerId);
+    }
+    lastInvokeTime = 0;
+    lastArgs = lastCallTime = lastThis = timerId = undefined;
+  }

-var ChevronUp = function () {
-  function ChevronUp(props) {
-    return _react2['default'].createElement(
-      'svg',
-      props,
-      _react2['default'].createElement('path', {
-        d: 'M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z'
-      })
-    );
+  function flush() {
+    return timerId === undefined ? result : trailingEdge(now());
   }

-  return ChevronUp;
-}();
+  function debounced() {
+    var time = now(),
+        isInvoking = shouldInvoke(time);

-ChevronUp.defaultProps = {
-  viewBox: '0 0 1000 1000'
-};
-exports['default'] = ChevronUp;
+    lastArgs = arguments;
+    lastThis = this;
+    lastCallTime = time;

-/***/ }),
+    if (isInvoking) {
+      if (timerId === undefined) {
+        return leadingEdge(lastCallTime);
+      }
+      if (maxing) {
+        // Handle invocations in a tight loop.
+        clearTimeout(timerId);
+        timerId = setTimeout(timerExpired, wait);
+        return invokeFunc(lastCallTime);
+      }
+    }
+    if (timerId === undefined) {
+      timerId = setTimeout(timerExpired, wait);
+    }
+    return result;
+  }
+  debounced.cancel = cancel;
+  debounced.flush = flush;
+  return debounced;
+}

-/***/ "9pTB":
-/***/ (function(module, exports, __webpack_require__) {
+module.exports = debounce;

-"use strict";
-/* WEBPACK VAR INJECTION */(function(global) {

-var define = __webpack_require__("82c2");
-var isSymbol = __webpack_require__("/sVA");
+/***/ }),

-var globalKey = '__ global cache key __';
-/* istanbul ignore else */
-// eslint-disable-next-line no-restricted-properties
-if (typeof Symbol === 'function' && isSymbol(Symbol('foo')) && typeof Symbol['for'] === 'function') {
-	// eslint-disable-next-line no-restricted-properties
-	globalKey = Symbol['for'](globalKey);
+/***/ 3619:
+/***/ (function(module) {
+
+/**
+ * Checks if `value` is the
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
+ * @example
+ *
+ * _.isObject({});
+ * // => true
+ *
+ * _.isObject([1, 2, 3]);
+ * // => true
+ *
+ * _.isObject(_.noop);
+ * // => true
+ *
+ * _.isObject(null);
+ * // => false
+ */
+function isObject(value) {
+  var type = typeof value;
+  return value != null && (type == 'object' || type == 'function');
 }

-var trueThunk = function () {
-	return true;
-};
+module.exports = isObject;

-var ensureCache = function ensureCache() {
-	if (!global[globalKey]) {
-		var properties = {};
-		properties[globalKey] = {};
-		var predicates = {};
-		predicates[globalKey] = trueThunk;
-		define(global, properties, predicates);
-	}
-	return global[globalKey];
-};

-var cache = ensureCache();
+/***/ }),

-var isPrimitive = function isPrimitive(val) {
-	return val === null || (typeof val !== 'object' && typeof val !== 'function');
-};
+/***/ 1653:
+/***/ (function(module) {

-var getPrimitiveKey = function getPrimitiveKey(val) {
-	if (isSymbol(val)) {
-		return Symbol.prototype.valueOf.call(val);
-	}
-	return typeof val + ' | ' + String(val);
-};
+/**
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
+ * and has a `typeof` result of "object".
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
+ * @example
+ *
+ * _.isObjectLike({});
+ * // => true
+ *
+ * _.isObjectLike([1, 2, 3]);
+ * // => true
+ *
+ * _.isObjectLike(_.noop);
+ * // => false
+ *
+ * _.isObjectLike(null);
+ * // => false
+ */
+function isObjectLike(value) {
+  return value != null && typeof value == 'object';
+}

-var requirePrimitiveKey = function requirePrimitiveKey(val) {
-	if (!isPrimitive(val)) {
-		throw new TypeError('key must not be an object');
-	}
-};
+module.exports = isObjectLike;

-var globalCache = {
-	clear: function clear() {
-		delete global[globalKey];
-		cache = ensureCache();
-	},

-	'delete': function deleteKey(key) {
-		requirePrimitiveKey(key);
-		delete cache[getPrimitiveKey(key)];
-		return !globalCache.has(key);
-	},
+/***/ }),

-	get: function get(key) {
-		requirePrimitiveKey(key);
-		return cache[getPrimitiveKey(key)];
-	},
+/***/ 1878:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-	has: function has(key) {
-		requirePrimitiveKey(key);
-		return getPrimitiveKey(key) in cache;
-	},
+var baseGetTag = __webpack_require__(194),
+    isObjectLike = __webpack_require__(1653);

-	set: function set(key, value) {
-		requirePrimitiveKey(key);
-		var primitiveKey = getPrimitiveKey(key);
-		var props = {};
-		props[primitiveKey] = value;
-		var predicates = {};
-		predicates[primitiveKey] = trueThunk;
-		define(cache, props, predicates);
-		return globalCache.has(key);
-	},
+/** `Object#toString` result references. */
+var symbolTag = '[object Symbol]';

-	setIfMissingThenGet: function setIfMissingThenGet(key, valueThunk) {
-		if (globalCache.has(key)) {
-			return globalCache.get(key);
-		}
-		var item = valueThunk();
-		globalCache.set(key, item);
-		return item;
-	}
-};
+/**
+ * Checks if `value` is classified as a `Symbol` primitive or object.
+ *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
+ * @example
+ *
+ * _.isSymbol(Symbol.iterator);
+ * // => true
+ *
+ * _.isSymbol('abc');
+ * // => false
+ */
+function isSymbol(value) {
+  return typeof value == 'symbol' ||
+    (isObjectLike(value) && baseGetTag(value) == symbolTag);
+}

-module.exports = globalCache;
+module.exports = isSymbol;

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("yLpj")))

 /***/ }),

-/***/ "AClM":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 8253:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-"use strict";
+var root = __webpack_require__(158);

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ ensureFocus; });
+/**
+ * Gets the timestamp of the number of milliseconds that have elapsed since
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
+ *
+ * @static
+ * @memberOf _
+ * @since 2.4.0
+ * @category Date
+ * @returns {number} Returns the timestamp.
+ * @example
+ *
+ * _.defer(function(stamp) {
+ *   console.log(_.now() - stamp);
+ * }, _.now());
+ * // => Logs the number of milliseconds it took for the deferred invocation.
+ */
+var now = function() {
+  return root.Date.now();
+};

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/getActiveElement.js
-var getActiveElement = __webpack_require__("Nym8");
+module.exports = now;
+
+
+/***/ }),

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/hasFocus.js
+/***/ 8172:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+var debounce = __webpack_require__(6897),
+    isObject = __webpack_require__(3619);

+/** Error message constants. */
+var FUNC_ERROR_TEXT = 'Expected a function';

 /**
- * Checks if `element` has focus. Elements that are referenced by
- * `aria-activedescendant` are also considered.
+ * Creates a throttled function that only invokes `func` at most once per
+ * every `wait` milliseconds. The throttled function comes with a `cancel`
+ * method to cancel delayed `func` invocations and a `flush` method to
+ * immediately invoke them. Provide `options` to indicate whether `func`
+ * should be invoked on the leading and/or trailing edge of the `wait`
+ * timeout. The `func` is invoked with the last arguments provided to the
+ * throttled function. Subsequent calls to the throttled function return the
+ * result of the last `func` invocation.
+ *
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
+ * invoked on the trailing edge of the timeout only if the throttled function
+ * is invoked more than once during the `wait` timeout.
  *
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
+ *
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
+ * for details over the differences between `_.throttle` and `_.debounce`.
+ *
+ * @static
+ * @memberOf _
+ * @since 0.1.0
+ * @category Function
+ * @param {Function} func The function to throttle.
+ * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
+ * @param {Object} [options={}] The options object.
+ * @param {boolean} [options.leading=true]
+ *  Specify invoking on the leading edge of the timeout.
+ * @param {boolean} [options.trailing=true]
+ *  Specify invoking on the trailing edge of the timeout.
+ * @returns {Function} Returns the new throttled function.
  * @example
- * import { hasFocus } from "reakit-utils";
  *
- * hasFocus(document.getElementById("id"));
+ * // Avoid excessively updating the position while scrolling.
+ * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
+ *
+ * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
+ * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
+ * jQuery(element).on('click', throttled);
+ *
+ * // Cancel the trailing throttled invocation.
+ * jQuery(window).on('popstate', throttled.cancel);
  */
+function throttle(func, wait, options) {
+  var leading = true,
+      trailing = true;

-function hasFocus(element) {
-  var activeElement = Object(getActiveElement["a" /* getActiveElement */])(element);
-  if (!activeElement) return false;
-  if (activeElement === element) return true;
-  var activeDescendant = activeElement.getAttribute("aria-activedescendant");
-  if (!activeDescendant) return false;
-  return activeDescendant === element.id;
+  if (typeof func != 'function') {
+    throw new TypeError(FUNC_ERROR_TEXT);
+  }
+  if (isObject(options)) {
+    leading = 'leading' in options ? !!options.leading : leading;
+    trailing = 'trailing' in options ? !!options.trailing : trailing;
+  }
+  return debounce(func, wait, {
+    'leading': leading,
+    'maxWait': wait,
+    'trailing': trailing
+  });
 }

+module.exports = throttle;
+
+
+/***/ }),
+
+/***/ 5053:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
+
+var baseTrim = __webpack_require__(2383),
+    isObject = __webpack_require__(3619),
+    isSymbol = __webpack_require__(1878);

+/** Used as references for various `Number` constants. */
+var NAN = 0 / 0;

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/ensureFocus.js
+/** Used to detect bad signed hexadecimal string values. */
+var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;

+/** Used to detect binary string values. */
+var reIsBinary = /^0b[01]+$/i;

+/** Used to detect octal string values. */
+var reIsOctal = /^0o[0-7]+$/i;

+/** Built-in method references without a dependency on `root`. */
+var freeParseInt = parseInt;

 /**
- * Ensures `element` will receive focus if it's not already.
+ * Converts `value` to a number.
  *
+ * @static
+ * @memberOf _
+ * @since 4.0.0
+ * @category Lang
+ * @param {*} value The value to process.
+ * @returns {number} Returns the number.
  * @example
- * import { ensureFocus } from "reakit-utils";
  *
- * ensureFocus(document.activeElement); // does nothing
+ * _.toNumber(3.2);
+ * // => 3.2
  *
- * const element = document.querySelector("input");
+ * _.toNumber(Number.MIN_VALUE);
+ * // => 5e-324
  *
- * ensureFocus(element); // focuses element
- * ensureFocus(element, { preventScroll: true }); // focuses element preventing scroll jump
+ * _.toNumber(Infinity);
+ * // => Infinity
  *
- * function isActive(el) {
- *   return el.dataset.active === "true";
- * }
+ * _.toNumber('3.2');
+ * // => 3.2
+ */
+function toNumber(value) {
+  if (typeof value == 'number') {
+    return value;
+  }
+  if (isSymbol(value)) {
+    return NAN;
+  }
+  if (isObject(value)) {
+    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
+    value = isObject(other) ? (other + '') : other;
+  }
+  if (typeof value != 'string') {
+    return value === 0 ? value : +value;
+  }
+  value = baseTrim(value);
+  var isBinary = reIsBinary.test(value);
+  return (isBinary || reIsOctal.test(value))
+    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
+    : (reIsBadHex.test(value) ? NAN : +value);
+}
+
+module.exports = toNumber;
+
+
+/***/ }),
+
+/***/ 9756:
+/***/ (function(module) {
+
+/**
+ * Memize options object.
  *
- * ensureFocus(document.querySelector("[data-active='true']"), { isActive }); // does nothing
+ * @typedef MemizeOptions
  *
- * @returns {number} `requestAnimationFrame` call ID so it can be passed to `cancelAnimationFrame` if needed.
+ * @property {number} [maxSize] Maximum size of the cache.
  */
-function ensureFocus(element, _temp) {
-  var _ref = _temp === void 0 ? {} : _temp,
-      preventScroll = _ref.preventScroll,
-      _ref$isActive = _ref.isActive,
-      isActive = _ref$isActive === void 0 ? hasFocus : _ref$isActive;

-  if (isActive(element)) return -1;
-  element.focus({
-    preventScroll: preventScroll
-  });
-  if (isActive(element)) return -1;
-  return requestAnimationFrame(function () {
-    element.focus({
-      preventScroll: preventScroll
-    });
-  });
-}
+/**
+ * Internal cache entry.
+ *
+ * @typedef MemizeCacheNode
+ *
+ * @property {?MemizeCacheNode|undefined} [prev] Previous node.
+ * @property {?MemizeCacheNode|undefined} [next] Next node.
+ * @property {Array<*>}                   args   Function arguments for cache
+ *                                               entry.
+ * @property {*}                          val    Function result.
+ */

+/**
+ * Properties of the enhanced function for controlling cache.
+ *
+ * @typedef MemizeMemoizedFunction
+ *
+ * @property {()=>void} clear Clear the cache.
+ */

+/**
+ * Accepts a function to be memoized, and returns a new memoized function, with
+ * optional options.
+ *
+ * @template {Function} F
+ *
+ * @param {F}             fn        Function to memoize.
+ * @param {MemizeOptions} [options] Options object.
+ *
+ * @return {F & MemizeMemoizedFunction} Memoized function.
+ */
+function memize( fn, options ) {
+	var size = 0;

+	/** @type {?MemizeCacheNode|undefined} */
+	var head;

-/***/ }),
+	/** @type {?MemizeCacheNode|undefined} */
+	var tail;

-/***/ "AM7I":
-/***/ (function(module, exports, __webpack_require__) {
+	options = options || {};

-"use strict";
+	function memoized( /* ...args */ ) {
+		var node = head,
+			len = arguments.length,
+			args, i;

+		searchCache: while ( node ) {
+			// Perform a shallow equality test to confirm that whether the node
+			// under test is a candidate for the arguments passed. Two arrays
+			// are shallowly equal if their length matches and each entry is
+			// strictly equal between the two sets. Avoid abstracting to a
+			// function which could incur an arguments leaking deoptimization.

-/* globals
-	AggregateError,
-	Atomics,
-	FinalizationRegistry,
-	SharedArrayBuffer,
-	WeakRef,
-*/
+			// Check whether node arguments match arguments length
+			if ( node.args.length !== arguments.length ) {
+				node = node.next;
+				continue;
+			}

-var undefined;
+			// Check whether node arguments match arguments values
+			for ( i = 0; i < len; i++ ) {
+				if ( node.args[ i ] !== arguments[ i ] ) {
+					node = node.next;
+					continue searchCache;
+				}
+			}

-var $SyntaxError = SyntaxError;
-var $Function = Function;
-var $TypeError = TypeError;
+			// At this point we can assume we've found a match

-// eslint-disable-next-line consistent-return
-var getEvalledConstructor = function (expressionSyntax) {
-	try {
-		// eslint-disable-next-line no-new-func
-		return Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
-	} catch (e) {}
-};
+			// Surface matched node to head if not already
+			if ( node !== head ) {
+				// As tail, shift to previous. Must only shift if not also
+				// head, since if both head and tail, there is no previous.
+				if ( node === tail ) {
+					tail = node.prev;
+				}

-var $gOPD = Object.getOwnPropertyDescriptor;
-if ($gOPD) {
-	try {
-		$gOPD({}, '');
-	} catch (e) {
-		$gOPD = null; // this is IE 8, which has a broken gOPD
-	}
-}
+				// Adjust siblings to point to each other. If node was tail,
+				// this also handles new tail's empty `next` assignment.
+				/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}

-var throwTypeError = function () {
-	throw new $TypeError();
-};
-var ThrowTypeError = $gOPD
-	? (function () {
-		try {
-			// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
-			arguments.callee; // IE 8 does not throw here
-			return throwTypeError;
-		} catch (calleeThrows) {
-			try {
-				// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
-				return $gOPD(arguments, 'callee').get;
-			} catch (gOPDthrows) {
-				return throwTypeError;
+				node.next = head;
+				node.prev = null;
+				/** @type {MemizeCacheNode} */ ( head ).prev = node;
+				head = node;
 			}
+
+			// Return immediately
+			return node.val;
 		}
-	}())
-	: throwTypeError;

-var hasSymbols = __webpack_require__("UVaH")();
+		// No cached value found. Continue to insertion phase:

-var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
+		// Create a copy of arguments (avoid leaking deoptimization)
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}

-var asyncGenFunction = getEvalledConstructor('async function* () {}');
-var asyncGenFunctionPrototype = asyncGenFunction ? asyncGenFunction.prototype : undefined;
-var asyncGenPrototype = asyncGenFunctionPrototype ? asyncGenFunctionPrototype.prototype : undefined;
+		node = {
+			args: args,

-var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
+			// Generate the result from original function
+			val: fn.apply( null, args ),
+		};

-var INTRINSICS = {
-	'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
-	'%Array%': Array,
-	'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
-	'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
-	'%AsyncFromSyncIteratorPrototype%': undefined,
-	'%AsyncFunction%': getEvalledConstructor('async function () {}'),
-	'%AsyncGenerator%': asyncGenFunctionPrototype,
-	'%AsyncGeneratorFunction%': asyncGenFunction,
-	'%AsyncIteratorPrototype%': asyncGenPrototype ? getProto(asyncGenPrototype) : undefined,
-	'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
-	'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
-	'%Boolean%': Boolean,
-	'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
-	'%Date%': Date,
-	'%decodeURI%': decodeURI,
-	'%decodeURIComponent%': decodeURIComponent,
-	'%encodeURI%': encodeURI,
-	'%encodeURIComponent%': encodeURIComponent,
-	'%Error%': Error,
-	'%eval%': eval, // eslint-disable-line no-eval
-	'%EvalError%': EvalError,
-	'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
-	'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
-	'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
-	'%Function%': $Function,
-	'%GeneratorFunction%': getEvalledConstructor('function* () {}'),
-	'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
-	'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
-	'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
-	'%isFinite%': isFinite,
-	'%isNaN%': isNaN,
-	'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
-	'%JSON%': typeof JSON === 'object' ? JSON : undefined,
-	'%Map%': typeof Map === 'undefined' ? undefined : Map,
-	'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
-	'%Math%': Math,
-	'%Number%': Number,
-	'%Object%': Object,
-	'%parseFloat%': parseFloat,
-	'%parseInt%': parseInt,
-	'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
-	'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
-	'%RangeError%': RangeError,
-	'%ReferenceError%': ReferenceError,
-	'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
-	'%RegExp%': RegExp,
-	'%Set%': typeof Set === 'undefined' ? undefined : Set,
-	'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
-	'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
-	'%String%': String,
-	'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
-	'%Symbol%': hasSymbols ? Symbol : undefined,
-	'%SyntaxError%': $SyntaxError,
-	'%ThrowTypeError%': ThrowTypeError,
-	'%TypedArray%': TypedArray,
-	'%TypeError%': $TypeError,
-	'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
-	'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
-	'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
-	'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
-	'%URIError%': URIError,
-	'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
-	'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
-	'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
-};
+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was

-var LEGACY_ALIASES = {
-	'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
-	'%ArrayPrototype%': ['Array', 'prototype'],
-	'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
-	'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
-	'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
-	'%ArrayProto_values%': ['Array', 'prototype', 'values'],
-	'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
-	'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
-	'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
-	'%BooleanPrototype%': ['Boolean', 'prototype'],
-	'%DataViewPrototype%': ['DataView', 'prototype'],
-	'%DatePrototype%': ['Date', 'prototype'],
-	'%ErrorPrototype%': ['Error', 'prototype'],
-	'%EvalErrorPrototype%': ['EvalError', 'prototype'],
-	'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
-	'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
-	'%FunctionPrototype%': ['Function', 'prototype'],
-	'%Generator%': ['GeneratorFunction', 'prototype'],
-	'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
-	'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
-	'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
-	'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
-	'%JSONParse%': ['JSON', 'parse'],
-	'%JSONStringify%': ['JSON', 'stringify'],
-	'%MapPrototype%': ['Map', 'prototype'],
-	'%NumberPrototype%': ['Number', 'prototype'],
-	'%ObjectPrototype%': ['Object', 'prototype'],
-	'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
-	'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
-	'%PromisePrototype%': ['Promise', 'prototype'],
-	'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
-	'%Promise_all%': ['Promise', 'all'],
-	'%Promise_reject%': ['Promise', 'reject'],
-	'%Promise_resolve%': ['Promise', 'resolve'],
-	'%RangeErrorPrototype%': ['RangeError', 'prototype'],
-	'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
-	'%RegExpPrototype%': ['RegExp', 'prototype'],
-	'%SetPrototype%': ['Set', 'prototype'],
-	'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
-	'%StringPrototype%': ['String', 'prototype'],
-	'%SymbolPrototype%': ['Symbol', 'prototype'],
-	'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
-	'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
-	'%TypeErrorPrototype%': ['TypeError', 'prototype'],
-	'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
-	'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
-	'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
-	'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
-	'%URIErrorPrototype%': ['URIError', 'prototype'],
-	'%WeakMapPrototype%': ['WeakMap', 'prototype'],
-	'%WeakSetPrototype%': ['WeakSet', 'prototype']
-};
+		// Shift existing head down list
+		if ( head ) {
+			head.prev = node;
+			node.next = head;
+		} else {
+			// If no head, follows that there's no tail (at initial or reset)
+			tail = node;
+		}

-var bind = __webpack_require__("D3zA");
-var hasOwn = __webpack_require__("oNNP");
-var $concat = bind.call(Function.call, Array.prototype.concat);
-var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
-var $replace = bind.call(Function.call, String.prototype.replace);
-var $strSlice = bind.call(Function.call, String.prototype.slice);
+		// Trim tail if we're reached max size and are pending cache insertion
+		if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
+			tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
+			/** @type {MemizeCacheNode} */ ( tail ).next = null;
+		} else {
+			size++;
+		}

-/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
-var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
-var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
-var stringToPath = function stringToPath(string) {
-	var first = $strSlice(string, 0, 1);
-	var last = $strSlice(string, -1);
-	if (first === '%' && last !== '%') {
-		throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
-	} else if (last === '%' && first !== '%') {
-		throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
-	}
-	var result = [];
-	$replace(string, rePropName, function (match, number, quote, subString) {
-		result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
-	});
-	return result;
-};
-/* end adaptation */
+		head = node;

-var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
-	var intrinsicName = name;
-	var alias;
-	if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
-		alias = LEGACY_ALIASES[intrinsicName];
-		intrinsicName = '%' + alias[0] + '%';
+		return node.val;
 	}

-	if (hasOwn(INTRINSICS, intrinsicName)) {
-		var value = INTRINSICS[intrinsicName];
-		if (typeof value === 'undefined' && !allowMissing) {
-			throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
-		}
+	memoized.clear = function() {
+		head = null;
+		tail = null;
+		size = 0;
+	};

-		return {
-			alias: alias,
-			name: intrinsicName,
-			value: value
-		};
-	}
+	if ( false ) {}

-	throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
-};
+	// Ignore reason: There's not a clear solution to create an intersection of
+	// the function with additional properties, where the goal is to retain the
+	// function signature of the incoming argument and add control properties
+	// on the return value.

-module.exports = function GetIntrinsic(name, allowMissing) {
-	if (typeof name !== 'string' || name.length === 0) {
-		throw new $TypeError('intrinsic name must be a non-empty string');
-	}
-	if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
-		throw new $TypeError('"allowMissing" argument must be a boolean');
-	}
+	// @ts-ignore
+	return memoized;
+}

-	var parts = stringToPath(name);
-	var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
+module.exports = memize;

-	var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
-	var intrinsicRealName = intrinsic.name;
-	var value = intrinsic.value;
-	var skipFurtherCaching = false;

-	var alias = intrinsic.alias;
-	if (alias) {
-		intrinsicBaseName = alias[0];
-		$spliceApply(parts, $concat([0, 1], alias));
-	}
+/***/ }),

-	for (var i = 1, isOwn = true; i < parts.length; i += 1) {
-		var part = parts[i];
-		var first = $strSlice(part, 0, 1);
-		var last = $strSlice(part, -1);
-		if (
-			(
-				(first === '"' || first === "'" || first === '`')
-				|| (last === '"' || last === "'" || last === '`')
-			)
-			&& first !== last
-		) {
-			throw new $SyntaxError('property names with quotes must have matching quotes');
+/***/ 8383:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
+
+"use strict";
+
+
+var keysShim;
+if (!Object.keys) {
+	// modified from https://github.com/es-shims/es5-shim
+	var has = Object.prototype.hasOwnProperty;
+	var toStr = Object.prototype.toString;
+	var isArgs = __webpack_require__(4418); // eslint-disable-line global-require
+	var isEnumerable = Object.prototype.propertyIsEnumerable;
+	var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
+	var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');
+	var dontEnums = [
+		'toString',
+		'toLocaleString',
+		'valueOf',
+		'hasOwnProperty',
+		'isPrototypeOf',
+		'propertyIsEnumerable',
+		'constructor'
+	];
+	var equalsConstructorPrototype = function (o) {
+		var ctor = o.constructor;
+		return ctor && ctor.prototype === o;
+	};
+	var excludedKeys = {
+		$applicationCache: true,
+		$console: true,
+		$external: true,
+		$frame: true,
+		$frameElement: true,
+		$frames: true,
+		$innerHeight: true,
+		$innerWidth: true,
+		$onmozfullscreenchange: true,
+		$onmozfullscreenerror: true,
+		$outerHeight: true,
+		$outerWidth: true,
+		$pageXOffset: true,
+		$pageYOffset: true,
+		$parent: true,
+		$scrollLeft: true,
+		$scrollTop: true,
+		$scrollX: true,
+		$scrollY: true,
+		$self: true,
+		$webkitIndexedDB: true,
+		$webkitStorageInfo: true,
+		$window: true
+	};
+	var hasAutomationEqualityBug = (function () {
+		/* global window */
+		if (typeof window === 'undefined') { return false; }
+		for (var k in window) {
+			try {
+				if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
+					try {
+						equalsConstructorPrototype(window[k]);
+					} catch (e) {
+						return true;
+					}
+				}
+			} catch (e) {
+				return true;
+			}
 		}
-		if (part === 'constructor' || !isOwn) {
-			skipFurtherCaching = true;
+		return false;
+	}());
+	var equalsConstructorPrototypeIfNotBuggy = function (o) {
+		/* global window */
+		if (typeof window === 'undefined' || !hasAutomationEqualityBug) {
+			return equalsConstructorPrototype(o);
+		}
+		try {
+			return equalsConstructorPrototype(o);
+		} catch (e) {
+			return false;
 		}
+	};

-		intrinsicBaseName += '.' + part;
-		intrinsicRealName = '%' + intrinsicBaseName + '%';
+	keysShim = function keys(object) {
+		var isObject = object !== null && typeof object === 'object';
+		var isFunction = toStr.call(object) === '[object Function]';
+		var isArguments = isArgs(object);
+		var isString = isObject && toStr.call(object) === '[object String]';
+		var theKeys = [];

-		if (hasOwn(INTRINSICS, intrinsicRealName)) {
-			value = INTRINSICS[intrinsicRealName];
-		} else if (value != null) {
-			if (!(part in value)) {
-				if (!allowMissing) {
-					throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
-				}
-				return void undefined;
+		if (!isObject && !isFunction && !isArguments) {
+			throw new TypeError('Object.keys called on a non-object');
+		}
+
+		var skipProto = hasProtoEnumBug && isFunction;
+		if (isString && object.length > 0 && !has.call(object, 0)) {
+			for (var i = 0; i < object.length; ++i) {
+				theKeys.push(String(i));
 			}
-			if ($gOPD && (i + 1) >= parts.length) {
-				var desc = $gOPD(value, part);
-				isOwn = !!desc;
+		}

-				// By convention, when a data property is converted to an accessor
-				// property to emulate a data property that does not suffer from
-				// the override mistake, that accessor's getter is marked with
-				// an `originalValue` property. Here, when we detect this, we
-				// uphold the illusion by pretending to see that original data
-				// property, i.e., returning the value rather than the getter
-				// itself.
-				if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
-					value = desc.get;
-				} else {
-					value = value[part];
+		if (isArguments && object.length > 0) {
+			for (var j = 0; j < object.length; ++j) {
+				theKeys.push(String(j));
+			}
+		} else {
+			for (var name in object) {
+				if (!(skipProto && name === 'prototype') && has.call(object, name)) {
+					theKeys.push(String(name));
 				}
-			} else {
-				isOwn = hasOwn(value, part);
-				value = value[part];
 			}
+		}

-			if (isOwn && !skipFurtherCaching) {
-				INTRINSICS[intrinsicRealName] = value;
+		if (hasDontEnumBug) {
+			var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
+
+			for (var k = 0; k < dontEnums.length; ++k) {
+				if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
+					theKeys.push(dontEnums[k]);
+				}
 			}
 		}
-	}
-	return value;
-};
+		return theKeys;
+	};
+}
+module.exports = keysShim;


 /***/ }),

-/***/ "AP2z":
-/***/ (function(module, exports, __webpack_require__) {
-
-var Symbol = __webpack_require__("nmnc");
-
-/** Used for built-in method references. */
-var objectProto = Object.prototype;
+/***/ 806:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-/** Used to check objects for own properties. */
-var hasOwnProperty = objectProto.hasOwnProperty;
+"use strict";

-/**
- * Used to resolve the
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
- * of values.
- */
-var nativeObjectToString = objectProto.toString;

-/** Built-in value references. */
-var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
+var slice = Array.prototype.slice;
+var isArgs = __webpack_require__(4418);

-/**
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
- *
- * @private
- * @param {*} value The value to query.
- * @returns {string} Returns the raw `toStringTag`.
- */
-function getRawTag(value) {
-  var isOwn = hasOwnProperty.call(value, symToStringTag),
-      tag = value[symToStringTag];
+var origKeys = Object.keys;
+var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(8383);

-  try {
-    value[symToStringTag] = undefined;
-    var unmasked = true;
-  } catch (e) {}
+var originalKeys = Object.keys;

-  var result = nativeObjectToString.call(value);
-  if (unmasked) {
-    if (isOwn) {
-      value[symToStringTag] = tag;
-    } else {
-      delete value[symToStringTag];
-    }
-  }
-  return result;
-}
+keysShim.shim = function shimObjectKeys() {
+	if (Object.keys) {
+		var keysWorksWithArguments = (function () {
+			// Safari 5.0 bug
+			var args = Object.keys(arguments);
+			return args && args.length === arguments.length;
+		}(1, 2));
+		if (!keysWorksWithArguments) {
+			Object.keys = function keys(object) { // eslint-disable-line func-name-matching
+				if (isArgs(object)) {
+					return originalKeys(slice.call(object));
+				}
+				return originalKeys(object);
+			};
+		}
+	} else {
+		Object.keys = keysShim;
+	}
+	return Object.keys || keysShim;
+};

-module.exports = getRawTag;
+module.exports = keysShim;


 /***/ }),

-/***/ "APjL":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 4418:
+/***/ (function(module) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return closest; });
-/* harmony import */ var _matches_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9Zbq");
-
-
-/**
- * Ponyfill for `Element.prototype.closest`
- *
- * @example
- * import { closest } from "reakit-utils";
- *
- * closest(document.getElementById("id"), "div");
- * // same as
- * document.getElementById("id").closest("div");
- */
-function closest(element, selectors) {
-  if ("closest" in element) return element.closest(selectors);
-
-  do {
-    if (Object(_matches_js__WEBPACK_IMPORTED_MODULE_0__[/* matches */ "a"])(element, selectors)) return element;
-    element = element.parentElement || element.parentNode;
-  } while (element !== null && element.nodeType === 1);

-  return null;
-}

+var toStr = Object.prototype.toString;

+module.exports = function isArguments(value) {
+	var str = toStr.call(value);
+	var isArgs = str === '[object Arguments]';
+	if (!isArgs) {
+		isArgs = str !== '[object Array]' &&
+			value !== null &&
+			typeof value === 'object' &&
+			typeof value.length === 'number' &&
+			value.length >= 0 &&
+			toStr.call(value.callee) === '[object Function]';
+	}
+	return isArgs;
+};


 /***/ }),

-/***/ "AXvK":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 2148:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useIsomorphicEffect; });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _canUseDOM_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("+ipW");
-
-
-
-
-
-/**
- * `React.useLayoutEffect` that fallbacks to `React.useEffect` on server side
- * rendering.
- */

-var useIsomorphicEffect = !_canUseDOM_js__WEBPACK_IMPORTED_MODULE_1__[/* canUseDOM */ "a"] ? react__WEBPACK_IMPORTED_MODULE_0__["useEffect"] : react__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"];

+// modified from https://github.com/es-shims/es6-shim
+var keys = __webpack_require__(806);
+var canBeObject = function (obj) {
+	return typeof obj !== 'undefined' && obj !== null;
+};
+var hasSymbols = __webpack_require__(5682)();
+var callBound = __webpack_require__(7615);
+var toObject = Object;
+var $push = callBound('Array.prototype.push');
+var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
+var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;

+// eslint-disable-next-line no-unused-vars
+module.exports = function assign(target, source1) {
+	if (!canBeObject(target)) { throw new TypeError('target must be an object'); }
+	var objTarget = toObject(target);
+	var s, source, i, props, syms, value, key;
+	for (s = 1; s < arguments.length; ++s) {
+		source = toObject(arguments[s]);
+		props = keys(source);
+		var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);
+		if (getSymbols) {
+			syms = getSymbols(source);
+			for (i = 0; i < syms.length; ++i) {
+				key = syms[i];
+				if ($propIsEnumerable(source, key)) {
+					$push(props, key);
+				}
+			}
+		}
+		for (i = 0; i < props.length; ++i) {
+			key = props[i];
+			value = source[key];
+			if ($propIsEnumerable(source, key)) {
+				objTarget[key] = value;
+			}
+		}
+	}
+	return objTarget;
+};


 /***/ }),

-/***/ "Ae65":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 4011:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = getCalendarDaySettings;
-
-var _getPhrase = __webpack_require__("oOcr");
-
-var _getPhrase2 = _interopRequireDefault(_getPhrase);
-
-var _constants = __webpack_require__("Fv1B");
+var defineProperties = __webpack_require__(9170);
+var callBind = __webpack_require__(2550);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+var implementation = __webpack_require__(2148);
+var getPolyfill = __webpack_require__(293);
+var shim = __webpack_require__(2666);

-function getCalendarDaySettings(day, ariaLabelFormat, daySize, modifiers, phrases) {
-  var chooseAvailableDate = phrases.chooseAvailableDate,
-      dateIsUnavailable = phrases.dateIsUnavailable,
-      dateIsSelected = phrases.dateIsSelected;
+var polyfill = callBind.apply(getPolyfill());
+// eslint-disable-next-line no-unused-vars
+var bound = function assign(target, source1) {
+	return polyfill(Object, arguments);
+};

+defineProperties(bound, {
+	getPolyfill: getPolyfill,
+	implementation: implementation,
+	shim: shim
+});

-  var daySizeStyles = {
-    width: daySize,
-    height: daySize - 1
-  };
+module.exports = bound;

-  var useDefaultCursor = modifiers.has('blocked-minimum-nights') || modifiers.has('blocked-calendar') || modifiers.has('blocked-out-of-range');

-  var selected = modifiers.has('selected') || modifiers.has('selected-start') || modifiers.has('selected-end');
+/***/ }),

-  var hoveredSpan = !selected && (modifiers.has('hovered-span') || modifiers.has('after-hovered-start'));
+/***/ 293:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-  var isOutsideRange = modifiers.has('blocked-out-of-range');
+"use strict";

-  var formattedDate = { date: day.format(ariaLabelFormat) };

-  var ariaLabel = (0, _getPhrase2['default'])(chooseAvailableDate, formattedDate);
-  if (modifiers.has(_constants.BLOCKED_MODIFIER)) {
-    ariaLabel = (0, _getPhrase2['default'])(dateIsUnavailable, formattedDate);
-  } else if (selected) {
-    ariaLabel = (0, _getPhrase2['default'])(dateIsSelected, formattedDate);
-  }
+var implementation = __webpack_require__(2148);

-  return {
-    daySizeStyles: daySizeStyles,
-    useDefaultCursor: useDefaultCursor,
-    selected: selected,
-    hoveredSpan: hoveredSpan,
-    isOutsideRange: isOutsideRange,
-    ariaLabel: ariaLabel
-  };
-}
-
-/***/ }),
-
-/***/ "AeFk":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* unused harmony export ClassNames */
-/* unused harmony export Global */
-/* unused harmony export createElement */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return css; });
-/* unused harmony export jsx */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return keyframes; });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("+1VY");
-/* harmony import */ var _emotion_element_699e6908_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ek6p");
-/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("pVnL");
-/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("gRFL");
-/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("2mql");
-/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("eVQB");
-/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("Exhd");
-/* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("ep+1");
-
-
-
-
-
-
-
-
-
-
-
-
-var pkg = {
-	name: "@emotion/react",
-	version: "11.7.1",
-	main: "dist/emotion-react.cjs.js",
-	module: "dist/emotion-react.esm.js",
-	browser: {
-		"./dist/emotion-react.cjs.js": "./dist/emotion-react.browser.cjs.js",
-		"./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
-	},
-	types: "types/index.d.ts",
-	files: [
-		"src",
-		"dist",
-		"jsx-runtime",
-		"jsx-dev-runtime",
-		"_isolated-hnrs",
-		"types/*.d.ts",
-		"macro.js",
-		"macro.d.ts",
-		"macro.js.flow"
-	],
-	sideEffects: false,
-	author: "mitchellhamilton <mitchell@mitchellhamilton.me>",
-	license: "MIT",
-	scripts: {
-		"test:typescript": "dtslint types"
-	},
-	dependencies: {
-		"@babel/runtime": "^7.13.10",
-		"@emotion/cache": "^11.7.1",
-		"@emotion/serialize": "^1.0.2",
-		"@emotion/sheet": "^1.1.0",
-		"@emotion/utils": "^1.0.0",
-		"@emotion/weak-memoize": "^0.2.5",
-		"hoist-non-react-statics": "^3.3.1"
-	},
-	peerDependencies: {
-		"@babel/core": "^7.0.0",
-		react: ">=16.8.0"
-	},
-	peerDependenciesMeta: {
-		"@babel/core": {
-			optional: true
-		},
-		"@types/react": {
-			optional: true
-		}
-	},
-	devDependencies: {
-		"@babel/core": "^7.13.10",
-		"@emotion/css": "11.7.1",
-		"@emotion/css-prettifier": "1.0.1",
-		"@emotion/server": "11.4.0",
-		"@emotion/styled": "11.6.0",
-		"@types/react": "^16.9.11",
-		dtslint: "^0.3.0",
-		"html-tag-names": "^1.1.2",
-		react: "16.14.0",
-		"svg-tag-names": "^1.1.1"
-	},
-	repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
-	publishConfig: {
-		access: "public"
-	},
-	"umd:main": "dist/emotion-react.umd.min.js",
-	preconstruct: {
-		entrypoints: [
-			"./index.js",
-			"./jsx-runtime.js",
-			"./jsx-dev-runtime.js",
-			"./_isolated-hnrs.js"
-		],
-		umdName: "emotionReact"
+var lacksProperEnumerationOrder = function () {
+	if (!Object.assign) {
+		return false;
+	}
+	/*
+	 * v8, specifically in node 4.x, has a bug with incorrect property enumeration order
+	 * note: this does not detect the bug unless there's 20 characters
+	 */
+	var str = 'abcdefghijklmnopqrst';
+	var letters = str.split('');
+	var map = {};
+	for (var i = 0; i < letters.length; ++i) {
+		map[letters[i]] = letters[i];
+	}
+	var obj = Object.assign({}, map);
+	var actual = '';
+	for (var k in obj) {
+		actual += k;
 	}
+	return str !== actual;
 };

-var jsx = function jsx(type, props) {
-  var args = arguments;
-
-  if (props == null || !_emotion_element_699e6908_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__[/* h */ "f"].call(props, 'css')) {
-    // $FlowFixMe
-    return react__WEBPACK_IMPORTED_MODULE_0__["createElement"].apply(undefined, args);
-  }
-
-  var argsLength = args.length;
-  var createElementArgArray = new Array(argsLength);
-  createElementArgArray[0] = _emotion_element_699e6908_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__[/* E */ "b"];
-  createElementArgArray[1] = Object(_emotion_element_699e6908_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__[/* c */ "e"])(type, props);
-
-  for (var i = 2; i < argsLength; i++) {
-    createElementArgArray[i] = args[i];
-  } // $FlowFixMe
-
-
-  return react__WEBPACK_IMPORTED_MODULE_0__["createElement"].apply(null, createElementArgArray);
+var assignHasPendingExceptions = function () {
+	if (!Object.assign || !Object.preventExtensions) {
+		return false;
+	}
+	/*
+	 * Firefox 37 still has "pending exception" logic in its Object.assign implementation,
+	 * which is 72% slower than our shim, and Firefox 40's native implementation.
+	 */
+	var thrower = Object.preventExtensions({ 1: 2 });
+	try {
+		Object.assign(thrower, 'xy');
+	} catch (e) {
+		return thrower[1] === 'y';
+	}
+	return false;
 };

-var warnedAboutCssPropForGlobal = false; // maintain place over rerenders.
-// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
-// initial client-side render from SSR, use place of hydrating tag
-
-var Global = /* #__PURE__ */Object(_emotion_element_699e6908_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__[/* w */ "g"])(function (props, cache) {
-  if (false) {}
-
-  var styles = props.styles;
-  var serialized = Object(_emotion_serialize__WEBPACK_IMPORTED_MODULE_7__[/* serializeStyles */ "a"])([styles], undefined, Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_emotion_element_699e6908_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__[/* T */ "c"]));
-  // but it is based on a constant that will never change at runtime
-  // it's effectively like having two implementations and switching them out
-  // so it's not actually breaking anything
-
-
-  var sheetRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])();
-  Object(react__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"])(function () {
-    var key = cache.key + "-global";
-    var sheet = new _emotion_sheet__WEBPACK_IMPORTED_MODULE_8__[/* StyleSheet */ "a"]({
-      key: key,
-      nonce: cache.sheet.nonce,
-      container: cache.sheet.container,
-      speedy: cache.sheet.isSpeedy
-    });
-    var rehydrating = false; // $FlowFixMe
-
-    var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");
-
-    if (cache.sheet.tags.length) {
-      sheet.before = cache.sheet.tags[0];
-    }
-
-    if (node !== null) {
-      rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s
-
-      node.setAttribute('data-emotion', key);
-      sheet.hydrate([node]);
-    }
-
-    sheetRef.current = [sheet, rehydrating];
-    return function () {
-      sheet.flush();
-    };
-  }, [cache]);
-  Object(react__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"])(function () {
-    var sheetRefCurrent = sheetRef.current;
-    var sheet = sheetRefCurrent[0],
-        rehydrating = sheetRefCurrent[1];
-
-    if (rehydrating) {
-      sheetRefCurrent[1] = false;
-      return;
-    }
-
-    if (serialized.next !== undefined) {
-      // insert keyframes
-      Object(_emotion_utils__WEBPACK_IMPORTED_MODULE_6__[/* insertStyles */ "b"])(cache, serialized.next, true);
-    }
+module.exports = function getPolyfill() {
+	if (!Object.assign) {
+		return implementation;
+	}
+	if (lacksProperEnumerationOrder()) {
+		return implementation;
+	}
+	if (assignHasPendingExceptions()) {
+		return implementation;
+	}
+	return Object.assign;
+};

-    if (sheet.tags.length) {
-      // if this doesn't exist then it will be null so the style element will be appended
-      var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
-      sheet.before = element;
-      sheet.flush();
-    }

-    cache.insert("", serialized, sheet, false);
-  }, [cache, serialized.name]);
-  return null;
-});
+/***/ }),

-if (false) {}
+/***/ 2666:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-function css() {
-  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-    args[_key] = arguments[_key];
-  }
+"use strict";

-  return Object(_emotion_serialize__WEBPACK_IMPORTED_MODULE_7__[/* serializeStyles */ "a"])(args);
-}

-var keyframes = function keyframes() {
-  var insertable = css.apply(void 0, arguments);
-  var name = "animation-" + insertable.name; // $FlowFixMe
+var define = __webpack_require__(9170);
+var getPolyfill = __webpack_require__(293);

-  return {
-    name: name,
-    styles: "@keyframes " + name + "{" + insertable.styles + "}",
-    anim: 1,
-    toString: function toString() {
-      return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
-    }
-  };
+module.exports = function shimAssign() {
+	var polyfill = getPolyfill();
+	define(
+		Object,
+		{ assign: polyfill },
+		{ assign: function () { return Object.assign !== polyfill; } }
+	);
+	return polyfill;
 };

-var classnames = function classnames(args) {
-  var len = args.length;
-  var i = 0;
-  var cls = '';
-
-  for (; i < len; i++) {
-    var arg = args[i];
-    if (arg == null) continue;
-    var toAdd = void 0;
-
-    switch (typeof arg) {
-      case 'boolean':
-        break;
-
-      case 'object':
-        {
-          if (Array.isArray(arg)) {
-            toAdd = classnames(arg);
-          } else {
-            if (false) {}
-
-            toAdd = '';
-
-            for (var k in arg) {
-              if (arg[k] && k) {
-                toAdd && (toAdd += ' ');
-                toAdd += k;
-              }
-            }
-          }
-
-          break;
-        }

-      default:
-        {
-          toAdd = arg;
-        }
-    }
+/***/ }),

-    if (toAdd) {
-      cls && (cls += ' ');
-      cls += toAdd;
-    }
-  }
+/***/ 1631:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-  return cls;
-};
+"use strict";

-function merge(registered, css, className) {
-  var registeredStyles = [];
-  var rawClassName = Object(_emotion_utils__WEBPACK_IMPORTED_MODULE_6__[/* getRegisteredStyles */ "a"])(registered, registeredStyles, className);

-  if (registeredStyles.length < 2) {
-    return className;
-  }
+var has = __webpack_require__(9284);
+var RequireObjectCoercible = __webpack_require__(604);
+var callBound = __webpack_require__(7615);

-  return rawClassName + css(registeredStyles);
-}
+var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');

-var Noop = function Noop() {
-  return null;
+module.exports = function values(O) {
+	var obj = RequireObjectCoercible(O);
+	var vals = [];
+	for (var key in obj) {
+		if (has(obj, key) && $isEnumerable(obj, key)) {
+			vals.push(obj[key]);
+		}
+	}
+	return vals;
 };

-var ClassNames = /* #__PURE__ */Object(_emotion_element_699e6908_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__[/* w */ "g"])(function (props, cache) {
-  var hasRendered = false;

-  var css = function css() {
-    if (hasRendered && "production" !== 'production') {
-      throw new Error('css can only be used during render');
-    }
+/***/ }),

-    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-      args[_key] = arguments[_key];
-    }
+/***/ 5861:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-    var serialized = Object(_emotion_serialize__WEBPACK_IMPORTED_MODULE_7__[/* serializeStyles */ "a"])(args, cache.registered);
+"use strict";

-    {
-      Object(_emotion_utils__WEBPACK_IMPORTED_MODULE_6__[/* insertStyles */ "b"])(cache, serialized, false);
-    }

-    return cache.key + "-" + serialized.name;
-  };
+var define = __webpack_require__(9170);
+var callBind = __webpack_require__(2550);

-  var cx = function cx() {
-    if (hasRendered && "production" !== 'production') {
-      throw new Error('cx can only be used during render');
-    }
+var implementation = __webpack_require__(1631);
+var getPolyfill = __webpack_require__(779);
+var shim = __webpack_require__(7256);

-    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-      args[_key2] = arguments[_key2];
-    }
+var polyfill = callBind(getPolyfill(), Object);

-    return merge(cache.registered, css, classnames(args));
-  };
+define(polyfill, {
+	getPolyfill: getPolyfill,
+	implementation: implementation,
+	shim: shim
+});

-  var content = {
-    css: css,
-    cx: cx,
-    theme: Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_emotion_element_699e6908_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__[/* T */ "c"])
-  };
-  var ele = props.children(content);
-  hasRendered = true;
-  var possiblyStyleElement = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(Noop, null);
+module.exports = polyfill;


-  return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, possiblyStyleElement, ele);
-});
+/***/ }),

-if (false) {}
+/***/ 604:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-if (false) { var globalKey, globalContext, isJest, isBrowser; }
+"use strict";


+module.exports = __webpack_require__(2559);


 /***/ }),

-/***/ "Asd8":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 2559:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-var fnToStr = Function.prototype.toString;
-var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
-var badArrayLike;
-var isCallableMarker;
-if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
-	try {
-		badArrayLike = Object.defineProperty({}, 'length', {
-			get: function () {
-				throw isCallableMarker;
-			}
-		});
-		isCallableMarker = {};
-		// eslint-disable-next-line no-throw-literal
-		reflectApply(function () { throw 42; }, null, badArrayLike);
-	} catch (_) {
-		if (_ !== isCallableMarker) {
-			reflectApply = null;
-		}
-	}
-} else {
-	reflectApply = null;
-}
+var GetIntrinsic = __webpack_require__(6732);

-var constructorRegex = /^\s*class\b/;
-var isES6ClassFn = function isES6ClassFunction(value) {
-	try {
-		var fnStr = fnToStr.call(value);
-		return constructorRegex.test(fnStr);
-	} catch (e) {
-		return false; // not a function
-	}
-};
+var $TypeError = GetIntrinsic('%TypeError%');

-var tryFunctionObject = function tryFunctionToStr(value) {
-	try {
-		if (isES6ClassFn(value)) { return false; }
-		fnToStr.call(value);
-		return true;
-	} catch (e) {
-		return false;
-	}
-};
-var toStr = Object.prototype.toString;
-var fnClass = '[object Function]';
-var genClass = '[object GeneratorFunction]';
-var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`
-/* globals document: false */
-var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
+// http://www.ecma-international.org/ecma-262/5.1/#sec-9.10

-module.exports = reflectApply
-	? function isCallable(value) {
-		if (value === documentDotAll) { return true; }
-		if (!value) { return false; }
-		if (typeof value !== 'function' && typeof value !== 'object') { return false; }
-		if (typeof value === 'function' && !value.prototype) { return true; }
-		try {
-			reflectApply(value, null, badArrayLike);
-		} catch (e) {
-			if (e !== isCallableMarker) { return false; }
-		}
-		return !isES6ClassFn(value);
+module.exports = function CheckObjectCoercible(value, optMessage) {
+	if (value == null) {
+		throw new $TypeError(optMessage || ('Cannot call method on ' + value));
 	}
-	: function isCallable(value) {
-		if (value === documentDotAll) { return true; }
-		if (!value) { return false; }
-		if (typeof value !== 'function' && typeof value !== 'object') { return false; }
-		if (typeof value === 'function' && !value.prototype) { return true; }
-		if (hasToStringTag) { return tryFunctionObject(value); }
-		if (isES6ClassFn(value)) { return false; }
-		var strClass = toStr.call(value);
-		return strClass === fnClass || strClass === genClass;
-	};
+	return value;
+};


 /***/ }),

-/***/ "B6Q+":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 6732:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-var hasSymbols = __webpack_require__("qGip");
-
-module.exports = function hasToStringTagShams() {
-	return hasSymbols() && !!Symbol.toStringTag;
-};
-
+/* globals
+	AggregateError,
+	Atomics,
+	FinalizationRegistry,
+	SharedArrayBuffer,
+	WeakRef,
+*/

-/***/ }),
+var undefined;

-/***/ "BZp5":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+var $SyntaxError = SyntaxError;
+var $Function = Function;
+var $TypeError = TypeError;

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _objectSpread2; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _createForOfIteratorHelperLoose; });
-function _defineProperty(obj, key, value) {
-  if (key in obj) {
-    Object.defineProperty(obj, key, {
-      value: value,
-      enumerable: true,
-      configurable: true,
-      writable: true
-    });
-  } else {
-    obj[key] = value;
-  }
+// eslint-disable-next-line consistent-return
+var getEvalledConstructor = function (expressionSyntax) {
+	try {
+		// eslint-disable-next-line no-new-func
+		return Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
+	} catch (e) {}
+};

-  return obj;
+var $gOPD = Object.getOwnPropertyDescriptor;
+if ($gOPD) {
+	try {
+		$gOPD({}, '');
+	} catch (e) {
+		$gOPD = null; // this is IE 8, which has a broken gOPD
+	}
 }

-function ownKeys(object, enumerableOnly) {
-  var keys = Object.keys(object);
-
-  if (Object.getOwnPropertySymbols) {
-    var symbols = Object.getOwnPropertySymbols(object);
-    if (enumerableOnly) symbols = symbols.filter(function (sym) {
-      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
-    });
-    keys.push.apply(keys, symbols);
-  }
+var throwTypeError = function () { throw new $TypeError(); };
+var ThrowTypeError = $gOPD
+	? (function () {
+		try {
+			// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
+			arguments.callee; // IE 8 does not throw here
+			return throwTypeError;
+		} catch (calleeThrows) {
+			try {
+				// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
+				return $gOPD(arguments, 'callee').get;
+			} catch (gOPDthrows) {
+				return throwTypeError;
+			}
+		}
+	}())
+	: throwTypeError;

-  return keys;
-}
+var hasSymbols = __webpack_require__(9905)();

-function _objectSpread2(target) {
-  for (var i = 1; i < arguments.length; i++) {
-    var source = arguments[i] != null ? arguments[i] : {};
+var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto

-    if (i % 2) {
-      ownKeys(Object(source), true).forEach(function (key) {
-        _defineProperty(target, key, source[key]);
-      });
-    } else if (Object.getOwnPropertyDescriptors) {
-      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
-    } else {
-      ownKeys(Object(source)).forEach(function (key) {
-        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
-      });
-    }
-  }
+var asyncGenFunction = getEvalledConstructor('async function* () {}');
+var asyncGenFunctionPrototype = asyncGenFunction ? asyncGenFunction.prototype : undefined;
+var asyncGenPrototype = asyncGenFunctionPrototype ? asyncGenFunctionPrototype.prototype : undefined;

-  return target;
-}
+var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);

-function _objectWithoutPropertiesLoose(source, excluded) {
-  if (source == null) return {};
-  var target = {};
-  var sourceKeys = Object.keys(source);
-  var key, i;
-
-  for (i = 0; i < sourceKeys.length; i++) {
-    key = sourceKeys[i];
-    if (excluded.indexOf(key) >= 0) continue;
-    target[key] = source[key];
-  }
-
-  return target;
-}
+var INTRINSICS = {
+	'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
+	'%Array%': Array,
+	'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
+	'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
+	'%AsyncFromSyncIteratorPrototype%': undefined,
+	'%AsyncFunction%': getEvalledConstructor('async function () {}'),
+	'%AsyncGenerator%': asyncGenFunctionPrototype,
+	'%AsyncGeneratorFunction%': asyncGenFunction,
+	'%AsyncIteratorPrototype%': asyncGenPrototype ? getProto(asyncGenPrototype) : undefined,
+	'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
+	'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
+	'%Boolean%': Boolean,
+	'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
+	'%Date%': Date,
+	'%decodeURI%': decodeURI,
+	'%decodeURIComponent%': decodeURIComponent,
+	'%encodeURI%': encodeURI,
+	'%encodeURIComponent%': encodeURIComponent,
+	'%Error%': Error,
+	'%eval%': eval, // eslint-disable-line no-eval
+	'%EvalError%': EvalError,
+	'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
+	'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
+	'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
+	'%Function%': $Function,
+	'%GeneratorFunction%': getEvalledConstructor('function* () {}'),
+	'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
+	'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
+	'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
+	'%isFinite%': isFinite,
+	'%isNaN%': isNaN,
+	'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
+	'%JSON%': typeof JSON === 'object' ? JSON : undefined,
+	'%Map%': typeof Map === 'undefined' ? undefined : Map,
+	'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
+	'%Math%': Math,
+	'%Number%': Number,
+	'%Object%': Object,
+	'%parseFloat%': parseFloat,
+	'%parseInt%': parseInt,
+	'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
+	'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
+	'%RangeError%': RangeError,
+	'%ReferenceError%': ReferenceError,
+	'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
+	'%RegExp%': RegExp,
+	'%Set%': typeof Set === 'undefined' ? undefined : Set,
+	'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
+	'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
+	'%String%': String,
+	'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
+	'%Symbol%': hasSymbols ? Symbol : undefined,
+	'%SyntaxError%': $SyntaxError,
+	'%ThrowTypeError%': ThrowTypeError,
+	'%TypedArray%': TypedArray,
+	'%TypeError%': $TypeError,
+	'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
+	'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
+	'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
+	'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
+	'%URIError%': URIError,
+	'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
+	'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
+	'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
+};

-function _unsupportedIterableToArray(o, minLen) {
-  if (!o) return;
-  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
-  var n = Object.prototype.toString.call(o).slice(8, -1);
-  if (n === "Object" && o.constructor) n = o.constructor.name;
-  if (n === "Map" || n === "Set") return Array.from(o);
-  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
-}
+var LEGACY_ALIASES = {
+	'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
+	'%ArrayPrototype%': ['Array', 'prototype'],
+	'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
+	'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
+	'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
+	'%ArrayProto_values%': ['Array', 'prototype', 'values'],
+	'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
+	'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
+	'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
+	'%BooleanPrototype%': ['Boolean', 'prototype'],
+	'%DataViewPrototype%': ['DataView', 'prototype'],
+	'%DatePrototype%': ['Date', 'prototype'],
+	'%ErrorPrototype%': ['Error', 'prototype'],
+	'%EvalErrorPrototype%': ['EvalError', 'prototype'],
+	'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
+	'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
+	'%FunctionPrototype%': ['Function', 'prototype'],
+	'%Generator%': ['GeneratorFunction', 'prototype'],
+	'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
+	'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
+	'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
+	'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
+	'%JSONParse%': ['JSON', 'parse'],
+	'%JSONStringify%': ['JSON', 'stringify'],
+	'%MapPrototype%': ['Map', 'prototype'],
+	'%NumberPrototype%': ['Number', 'prototype'],
+	'%ObjectPrototype%': ['Object', 'prototype'],
+	'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
+	'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
+	'%PromisePrototype%': ['Promise', 'prototype'],
+	'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
+	'%Promise_all%': ['Promise', 'all'],
+	'%Promise_reject%': ['Promise', 'reject'],
+	'%Promise_resolve%': ['Promise', 'resolve'],
+	'%RangeErrorPrototype%': ['RangeError', 'prototype'],
+	'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
+	'%RegExpPrototype%': ['RegExp', 'prototype'],
+	'%SetPrototype%': ['Set', 'prototype'],
+	'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
+	'%StringPrototype%': ['String', 'prototype'],
+	'%SymbolPrototype%': ['Symbol', 'prototype'],
+	'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
+	'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
+	'%TypeErrorPrototype%': ['TypeError', 'prototype'],
+	'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
+	'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
+	'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
+	'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
+	'%URIErrorPrototype%': ['URIError', 'prototype'],
+	'%WeakMapPrototype%': ['WeakMap', 'prototype'],
+	'%WeakSetPrototype%': ['WeakSet', 'prototype']
+};

-function _arrayLikeToArray(arr, len) {
-  if (len == null || len > arr.length) len = arr.length;
+var bind = __webpack_require__(1930);
+var hasOwn = __webpack_require__(9284);
+var $concat = bind.call(Function.call, Array.prototype.concat);
+var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
+var $replace = bind.call(Function.call, String.prototype.replace);

-  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
+/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
+var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
+var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
+var stringToPath = function stringToPath(string) {
+	var result = [];
+	$replace(string, rePropName, function (match, number, quote, subString) {
+		result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
+	});
+	return result;
+};
+/* end adaptation */

-  return arr2;
-}
+var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
+	var intrinsicName = name;
+	var alias;
+	if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
+		alias = LEGACY_ALIASES[intrinsicName];
+		intrinsicName = '%' + alias[0] + '%';
+	}

-function _createForOfIteratorHelperLoose(o, allowArrayLike) {
-  var it;
+	if (hasOwn(INTRINSICS, intrinsicName)) {
+		var value = INTRINSICS[intrinsicName];
+		if (typeof value === 'undefined' && !allowMissing) {
+			throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
+		}

-  if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
-    if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
-      if (it) o = it;
-      var i = 0;
-      return function () {
-        if (i >= o.length) return {
-          done: true
-        };
-        return {
-          done: false,
-          value: o[i++]
-        };
-      };
-    }
+		return {
+			alias: alias,
+			name: intrinsicName,
+			value: value
+		};
+	}

-    throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
-  }
+	throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
+};

-  it = o[Symbol.iterator]();
-  return it.next.bind(it);
-}
+module.exports = function GetIntrinsic(name, allowMissing) {
+	if (typeof name !== 'string' || name.length === 0) {
+		throw new $TypeError('intrinsic name must be a non-empty string');
+	}
+	if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
+		throw new $TypeError('"allowMissing" argument must be a boolean');
+	}

+	var parts = stringToPath(name);
+	var intrinsicBaseName = parts.length > 0 ? parts[0] : '';

+	var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
+	var intrinsicRealName = intrinsic.name;
+	var value = intrinsic.value;
+	var skipFurtherCaching = false;

+	var alias = intrinsic.alias;
+	if (alias) {
+		intrinsicBaseName = alias[0];
+		$spliceApply(parts, $concat([0, 1], alias));
+	}

-/***/ }),
+	for (var i = 1, isOwn = true; i < parts.length; i += 1) {
+		var part = parts[i];
+		if (part === 'constructor' || !isOwn) {
+			skipFurtherCaching = true;
+		}

-/***/ "BeK9":
-/***/ (function(module, exports, __webpack_require__) {
+		intrinsicBaseName += '.' + part;
+		intrinsicRealName = '%' + intrinsicBaseName + '%';

-"use strict";
+		if (hasOwn(INTRINSICS, intrinsicRealName)) {
+			value = INTRINSICS[intrinsicRealName];
+		} else if (value != null) {
+			if ($gOPD && (i + 1) >= parts.length) {
+				var desc = $gOPD(value, part);
+				isOwn = !!desc;

+				if (!allowMissing && !(part in value)) {
+					throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
+				}
+				// By convention, when a data property is converted to an accessor
+				// property to emulate a data property that does not suffer from
+				// the override mistake, that accessor's getter is marked with
+				// an `originalValue` property. Here, when we detect this, we
+				// uphold the illusion by pretending to see that original data
+				// property, i.e., returning the value rather than the getter
+				// itself.
+				if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
+					value = desc.get;
+				} else {
+					value = value[part];
+				}
+			} else {
+				isOwn = hasOwn(value, part);
+				value = value[part];
+			}

-module.exports = function isPrimitive(value) {
-	return value === null || (typeof value !== 'function' && typeof value !== 'object');
+			if (isOwn && !skipFurtherCaching) {
+				INTRINSICS[intrinsicRealName] = value;
+			}
+		}
+	}
+	return value;
 };


 /***/ }),

-/***/ "Bl8U":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 779:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-var GetIntrinsic = __webpack_require__("j1Hc");
-
-var $Array = GetIntrinsic('%Array%');
-
-// eslint-disable-next-line global-require
-var toStr = !$Array.isArray && __webpack_require__("qeuH")('Object.prototype.toString');
-
-// https://ecma-international.org/ecma-262/6.0/#sec-isarray
+var implementation = __webpack_require__(1631);

-module.exports = $Array.isArray || function IsArray(argument) {
-	return toStr(argument) === '[object Array]';
+module.exports = function getPolyfill() {
+	return typeof Object.values === 'function' ? Object.values : implementation;
 };


 /***/ }),

-/***/ "Bpkj":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 7256:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */
+var getPolyfill = __webpack_require__(779);
+var define = __webpack_require__(9170);

-const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (link);
+module.exports = function shimValues() {
+	var polyfill = getPolyfill();
+	define(Object, { values: polyfill }, {
+		values: function testValues() {
+			return Object.values !== polyfill;
+		}
+	});
+	return polyfill;
+};


 /***/ }),

-/***/ "C6yU":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 5372:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 "use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useContextSystem; });
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _context_system_provider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("6zzY");
-/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Ohaz");
-/* harmony import */ var _get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("UAm0");
-/* harmony import */ var _utils_hooks_use_cx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("h9+V");
 /**
- * WordPress dependencies
+ * Copyright (c) 2013-present, Facebook, Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
  */

-/**
- * Internal dependencies
- */


+var ReactPropTypesSecret = __webpack_require__(9567);
+
+function emptyFunction() {}
+function emptyFunctionWithReset() {}
+emptyFunctionWithReset.resetWarningCache = emptyFunction;
+
+module.exports = function() {
+  function shim(props, propName, componentName, location, propFullName, secret) {
+    if (secret === ReactPropTypesSecret) {
+      // It is still safe when called from React.
+      return;
+    }
+    var err = 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'
+    );
+    err.name = 'Invariant Violation';
+    throw err;
+  };
+  shim.isRequired = shim;
+  function getShim() {
+    return shim;
+  };
+  // Important!
+  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
+  var ReactPropTypes = {
+    array: shim,
+    bigint: shim,
+    bool: shim,
+    func: shim,
+    number: shim,
+    object: shim,
+    string: shim,
+    symbol: shim,
+
+    any: shim,
+    arrayOf: getShim,
+    element: shim,
+    elementType: shim,
+    instanceOf: getShim,
+    node: shim,
+    objectOf: getShim,
+    oneOf: getShim,
+    oneOfType: getShim,
+    shape: getShim,
+    exact: getShim,
+
+    checkPropTypes: emptyFunctionWithReset,
+    resetWarningCache: emptyFunction
+  };
+
+  ReactPropTypes.PropTypes = ReactPropTypes;

+  return ReactPropTypes;
+};


-/**
- * @template TProps
- * @typedef {TProps & { className: string }} ConnectedProps
- */
+/***/ }),
+
+/***/ 2652:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 /**
- * Custom hook that derives registered props from the Context system.
- * These derived props are then consolidated with incoming component props.
+ * Copyright (c) 2013-present, Facebook, Inc.
  *
- * @template {{ className?: string }} P
- * @param {P}      props     Incoming props from the component.
- * @param {string} namespace The namespace to register and to derive context props from.
- * @return {ConnectedProps<P>} The connected props.
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
  */

-function useContextSystem(props, namespace) {
-  const contextSystemProps = Object(_context_system_provider__WEBPACK_IMPORTED_MODULE_1__[/* useComponentsContext */ "b"])();
-
-  if (typeof namespace === 'undefined') {
-    typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_0___default()('useContextSystem: Please provide a namespace') : void 0;
-  }
-
-  const contextProps = (contextSystemProps === null || contextSystemProps === void 0 ? void 0 : contextSystemProps[namespace]) || {};
-  /* eslint-disable jsdoc/no-undefined-types */
+if (false) { var throwOnDirectAccess, ReactIs; } else {
+  // By explicitly using `prop-types` you are opting into new production behavior.
+  // http://fb.me/prop-types-in-prod
+  module.exports = __webpack_require__(5372)();
+}

-  /** @type {ConnectedProps<P>} */
-  // @ts-ignore We fill in the missing properties below

-  const finalComponentProps = { ...Object(_utils__WEBPACK_IMPORTED_MODULE_2__[/* getConnectedNamespace */ "a"])(),
-    ...Object(_utils__WEBPACK_IMPORTED_MODULE_2__[/* getNamespace */ "b"])(namespace)
-  };
-  /* eslint-enable jsdoc/no-undefined-types */
+/***/ }),

-  const {
-    _overrides: overrideProps,
-    ...otherContextProps
-  } = contextProps;
-  const initialMergedProps = Object.entries(otherContextProps).length ? Object.assign({}, otherContextProps, props) : props;
-  const cx = Object(_utils_hooks_use_cx__WEBPACK_IMPORTED_MODULE_4__[/* useCx */ "a"])();
-  const classes = cx(Object(_get_styled_class_name_from_key__WEBPACK_IMPORTED_MODULE_3__[/* getStyledClassNameFromKey */ "a"])(namespace), props.className); // Provides the ability to customize the render of the component.
+/***/ 9567:
+/***/ (function(module) {

-  const rendered = typeof initialMergedProps.renderChildren === 'function' ? initialMergedProps.renderChildren(initialMergedProps) : initialMergedProps.children;
+"use strict";
+/**
+ * Copyright (c) 2013-present, Facebook, Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */

-  for (const key in initialMergedProps) {
-    // @ts-ignore filling in missing props
-    finalComponentProps[key] = initialMergedProps[key];
-  }

-  for (const key in overrideProps) {
-    // @ts-ignore filling in missing props
-    finalComponentProps[key] = overrideProps[key];
-  } // @ts-ignore

+var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';

-  finalComponentProps.children = rendered;
-  finalComponentProps.className = classes;
-  return finalComponentProps;
-}
+module.exports = ReactPropTypesSecret;

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))

 /***/ }),

-/***/ "Cw+6":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 2541:
+/***/ (function(module) {

 "use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
-
-
 /**
- * External dependencies
+ * Copyright (c) 2013-present, Facebook, Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ *
+ * @providesModule shallowCompare
  */

-/** @typedef {string | { display: string, ariaLabel: string }} Shortcut */
+
+
+var hasOwnProperty = Object.prototype.hasOwnProperty;

 /**
- * @typedef Props
- * @property {Shortcut} shortcut    Shortcut configuration
- * @property {string}   [className] Classname
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
  */
+function is(x, y) {
+  // SameValue algorithm
+  if (x === y) {
+    // Steps 1-5, 7-10
+    // Steps 6.b-6.e: +0 != -0
+    // Added the nonzero y check to make Flow happy, but it is redundant
+    return x !== 0 || y !== 0 || 1 / x === 1 / y;
+  } else {
+    // Step 6.a: NaN == NaN
+    return x !== x && y !== y;
+  }
+}

 /**
- * @param {Props} props Props
- * @return {JSX.Element | null} Element
+ * Performs equality by iterating through keys on an object and returning false
+ * when any key has values which are not strictly equal between the arguments.
+ * Returns true when the values of all keys are strictly equal.
  */
+function shallowEqual(objA, objB) {
+  if (is(objA, objB)) {
+    return true;
+  }

-function Shortcut(_ref) {
-  let {
-    shortcut,
-    className
-  } = _ref;
-
-  if (!shortcut) {
-    return null;
+  if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
+    return false;
   }

-  let displayText;
-  let ariaLabel;
+  var keysA = Object.keys(objA);
+  var keysB = Object.keys(objB);

-  if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isString"])(shortcut)) {
-    displayText = shortcut;
+  if (keysA.length !== keysB.length) {
+    return false;
   }

-  if (Object(lodash__WEBPACK_IMPORTED_MODULE_1__["isObject"])(shortcut)) {
-    displayText = shortcut.display;
-    ariaLabel = shortcut.ariaLabel;
+  // Test for A's keys different from B.
+  for (var i = 0; i < keysA.length; i++) {
+    if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
+      return false;
+    }
   }

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
-    className: className,
-    "aria-label": ariaLabel
-  }, displayText);
+  return true;
 }

-/* harmony default export */ __webpack_exports__["a"] = (Shortcut);
-
-
-/***/ }),
-
-/***/ "Cx2f":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * Does a shallow comparison for props and state.
+ * See ReactComponentWithPureRenderMixin
+ * See also https://facebook.github.io/react/docs/shallow-compare.html
+ */
+function shallowCompare(instance, nextProps, nextState) {
+  return (
+    !shallowEqual(instance.props, nextProps) ||
+    !shallowEqual(instance.state, nextState)
+  );
+}

-"use strict";
+module.exports = shallowCompare;


-var toPrimitive = __webpack_require__("WZeS");
+/***/ }),

-// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive
+/***/ 4185:
+/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

-module.exports = function ToPrimitive(input) {
-	if (arguments.length > 1) {
-		return toPrimitive(input, arguments[1]);
-	}
-	return toPrimitive(input);
-};
+// eslint-disable-next-line import/no-unresolved
+__webpack_require__(17);


 /***/ }),

-/***/ "D3zA":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 7617:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";


-var implementation = __webpack_require__("aI7X");
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports.PureCalendarDay = undefined;

-module.exports = Function.prototype.bind || implementation;
+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

-/***/ }),
+var _object = __webpack_require__(4011);

-/***/ "DHWS":
-/***/ (function(module, exports, __webpack_require__) {
+var _object2 = _interopRequireDefault(_object);

-"use strict";
+var _react = __webpack_require__(9196);

+var _react2 = _interopRequireDefault(_react);

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+var _propTypes = __webpack_require__(2652);

-var _react = __webpack_require__("cDcd");
+var _propTypes2 = _interopRequireDefault(_propTypes);

-var _react2 = _interopRequireDefault(_react);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+var _reactAddonsShallowCompare = __webpack_require__(2541);

-var ChevronDown = function () {
-  function ChevronDown(props) {
-    return _react2['default'].createElement(
-      'svg',
-      props,
-      _react2['default'].createElement('path', {
-        d: 'M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z'
-      })
-    );
-  }
+var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);

-  return ChevronDown;
-}();
+var _reactMomentProptypes = __webpack_require__(6150);

-ChevronDown.defaultProps = {
-  viewBox: '0 0 1000 1000'
-};
-exports['default'] = ChevronDown;
+var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);

-/***/ }),
+var _airbnbPropTypes = __webpack_require__(4882);

-/***/ "DZdY":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+var _reactWithStyles = __webpack_require__(3576);

-"use strict";
+var _moment = __webpack_require__(6292);

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+var _moment2 = _interopRequireDefault(_moment);

-// EXTERNAL MODULE: external "React"
-var external_React_ = __webpack_require__("cDcd");
+var _defaultPhrases = __webpack_require__(6030);

-// EXTERNAL MODULE: ./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js
-var emotion_memoize_browser_esm = __webpack_require__("SVgp");
+var _getPhrasePropTypes = __webpack_require__(2893);

-// CONCATENATED MODULE: ./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.browser.esm.js
+var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);

+var _getCalendarDaySettings = __webpack_require__(7475);

-var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
+var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings);

-var isPropValid = /* #__PURE__ */Object(emotion_memoize_browser_esm["a" /* default */])(function (prop) {
-  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
-  /* o */
-  && prop.charCodeAt(1) === 110
-  /* n */
-  && prop.charCodeAt(2) < 91;
-}
-/* Z+1 */
-);
+var _ModifiersShape = __webpack_require__(6747);

-/* harmony default export */ var emotion_is_prop_valid_browser_esm = (isPropValid);
+var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);

-// EXTERNAL MODULE: ./node_modules/@emotion/react/dist/emotion-element-699e6908.browser.esm.js
-var emotion_element_699e6908_browser_esm = __webpack_require__("ek6p");
+var _constants = __webpack_require__(257);

-// EXTERNAL MODULE: ./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
-var emotion_utils_browser_esm = __webpack_require__("eVQB");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-// EXTERNAL MODULE: ./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js + 2 modules
-var emotion_serialize_browser_esm = __webpack_require__("Exhd");
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-// CONCATENATED MODULE: ./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
+  day: _reactMomentProptypes2['default'].momentObj,
+  daySize: _airbnbPropTypes.nonNegativeInteger,
+  isOutsideDay: _propTypes2['default'].bool,
+  modifiers: _ModifiersShape2['default'],
+  isFocused: _propTypes2['default'].bool,
+  tabIndex: _propTypes2['default'].oneOf([0, -1]),
+  onDayClick: _propTypes2['default'].func,
+  onDayMouseEnter: _propTypes2['default'].func,
+  onDayMouseLeave: _propTypes2['default'].func,
+  renderDayContents: _propTypes2['default'].func,
+  ariaLabelFormat: _propTypes2['default'].string,

+  // internationalization
+  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases))
+}));

+var defaultProps = {
+  day: (0, _moment2['default'])(),
+  daySize: _constants.DAY_SIZE,
+  isOutsideDay: false,
+  modifiers: new Set(),
+  isFocused: false,
+  tabIndex: -1,
+  onDayClick: function () {
+    function onDayClick() {}

+    return onDayClick;
+  }(),
+  onDayMouseEnter: function () {
+    function onDayMouseEnter() {}

+    return onDayMouseEnter;
+  }(),
+  onDayMouseLeave: function () {
+    function onDayMouseLeave() {}

-var testOmitPropsOnStringTag = emotion_is_prop_valid_browser_esm;
+    return onDayMouseLeave;
+  }(),

-var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
-  return key !== 'theme';
-};
+  renderDayContents: null,
+  ariaLabelFormat: 'dddd, LL',

-var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {
-  return typeof tag === 'string' && // 96 is one less than the char code
-  // for "a" so this is checking that
-  // it's a lowercase character
-  tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
+  // internationalization
+  phrases: _defaultPhrases.CalendarDayPhrases
 };
-var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {
-  var shouldForwardProp;
-
-  if (options) {
-    var optionsShouldForwardProp = options.shouldForwardProp;
-    shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) {
-      return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
-    } : optionsShouldForwardProp;
-  }
-
-  if (typeof shouldForwardProp !== 'function' && isReal) {
-    shouldForwardProp = tag.__emotion_forwardProp;
-  }

-  return shouldForwardProp;
-};
+var CalendarDay = function (_React$Component) {
+  _inherits(CalendarDay, _React$Component);

-var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
+  function CalendarDay() {
+    var _ref;

-var Noop = function Noop() {
-  return null;
-};
+    _classCallCheck(this, CalendarDay);

-var emotion_styled_base_browser_esm_createStyled = function createStyled(tag, options) {
-  if (false) {}
+    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+      args[_key] = arguments[_key];
+    }

-  var isReal = tag.__emotion_real === tag;
-  var baseTag = isReal && tag.__emotion_base || tag;
-  var identifierName;
-  var targetClassName;
+    var _this = _possibleConstructorReturn(this, (_ref = CalendarDay.__proto__ || Object.getPrototypeOf(CalendarDay)).call.apply(_ref, [this].concat(args)));

-  if (options !== undefined) {
-    identifierName = options.label;
-    targetClassName = options.target;
+    _this.setButtonRef = _this.setButtonRef.bind(_this);
+    return _this;
   }

-  var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
-  var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
-  var shouldUseAs = !defaultShouldForwardProp('as');
-  return function () {
-    var args = arguments;
-    var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];
+  _createClass(CalendarDay, [{
+    key: 'shouldComponentUpdate',
+    value: function () {
+      function shouldComponentUpdate(nextProps, nextState) {
+        return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
+      }

-    if (identifierName !== undefined) {
-      styles.push("label:" + identifierName + ";");
-    }
+      return shouldComponentUpdate;
+    }()
+  }, {
+    key: 'componentDidUpdate',
+    value: function () {
+      function componentDidUpdate(prevProps) {
+        var _props = this.props,
+            isFocused = _props.isFocused,
+            tabIndex = _props.tabIndex;

-    if (args[0] == null || args[0].raw === undefined) {
-      styles.push.apply(styles, args);
-    } else {
-      if (false) {}
+        if (tabIndex === 0) {
+          if (isFocused || tabIndex !== prevProps.tabIndex) {
+            this.buttonRef.focus();
+          }
+        }
+      }

-      styles.push(args[0][0]);
-      var len = args.length;
-      var i = 1;
+      return componentDidUpdate;
+    }()
+  }, {
+    key: 'onDayClick',
+    value: function () {
+      function onDayClick(day, e) {
+        var onDayClick = this.props.onDayClick;

-      for (; i < len; i++) {
-        if (false) {}
+        onDayClick(day, e);
+      }

-        styles.push(args[i], args[0][i]);
+      return onDayClick;
+    }()
+  }, {
+    key: 'onDayMouseEnter',
+    value: function () {
+      function onDayMouseEnter(day, e) {
+        var onDayMouseEnter = this.props.onDayMouseEnter;
+
+        onDayMouseEnter(day, e);
       }
-    } // $FlowFixMe: we need to cast StatelessFunctionalComponent to our PrivateStyledComponent class

+      return onDayMouseEnter;
+    }()
+  }, {
+    key: 'onDayMouseLeave',
+    value: function () {
+      function onDayMouseLeave(day, e) {
+        var onDayMouseLeave = this.props.onDayMouseLeave;

-    var Styled = Object(emotion_element_699e6908_browser_esm["g" /* w */])(function (props, cache, ref) {
-      var finalTag = shouldUseAs && props.as || baseTag;
-      var className = '';
-      var classInterpolations = [];
-      var mergedProps = props;
+        onDayMouseLeave(day, e);
+      }

-      if (props.theme == null) {
-        mergedProps = {};
+      return onDayMouseLeave;
+    }()
+  }, {
+    key: 'onKeyDown',
+    value: function () {
+      function onKeyDown(day, e) {
+        var onDayClick = this.props.onDayClick;
+        var key = e.key;

-        for (var key in props) {
-          mergedProps[key] = props[key];
+        if (key === 'Enter' || key === ' ') {
+          onDayClick(day, e);
         }
-
-        mergedProps.theme = Object(external_React_["useContext"])(emotion_element_699e6908_browser_esm["c" /* T */]);
       }

-      if (typeof props.className === 'string') {
-        className = Object(emotion_utils_browser_esm["a" /* getRegisteredStyles */])(cache.registered, classInterpolations, props.className);
-      } else if (props.className != null) {
-        className = props.className + " ";
+      return onKeyDown;
+    }()
+  }, {
+    key: 'setButtonRef',
+    value: function () {
+      function setButtonRef(ref) {
+        this.buttonRef = ref;
       }

-      var serialized = Object(emotion_serialize_browser_esm["a" /* serializeStyles */])(styles.concat(classInterpolations), cache.registered, mergedProps);
-      var rules = Object(emotion_utils_browser_esm["b" /* insertStyles */])(cache, serialized, typeof finalTag === 'string');
-      className += cache.key + "-" + serialized.name;
+      return setButtonRef;
+    }()
+  }, {
+    key: 'render',
+    value: function () {
+      function render() {
+        var _this2 = this;

-      if (targetClassName !== undefined) {
-        className += " " + targetClassName;
-      }
+        var _props2 = this.props,
+            day = _props2.day,
+            ariaLabelFormat = _props2.ariaLabelFormat,
+            daySize = _props2.daySize,
+            isOutsideDay = _props2.isOutsideDay,
+            modifiers = _props2.modifiers,
+            renderDayContents = _props2.renderDayContents,
+            tabIndex = _props2.tabIndex,
+            styles = _props2.styles,
+            phrases = _props2.phrases;

-      var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(finalTag) : defaultShouldForwardProp;
-      var newProps = {};

-      for (var _key in props) {
-        if (shouldUseAs && _key === 'as') continue;
+        if (!day) return _react2['default'].createElement('td', null);

-        if ( // $FlowFixMe
-        finalShouldForwardProp(_key)) {
-          newProps[_key] = props[_key];
-        }
-      }
+        var _getCalendarDaySettin = (0, _getCalendarDaySettings2['default'])(day, ariaLabelFormat, daySize, modifiers, phrases),
+            daySizeStyles = _getCalendarDaySettin.daySizeStyles,
+            useDefaultCursor = _getCalendarDaySettin.useDefaultCursor,
+            selected = _getCalendarDaySettin.selected,
+            hoveredSpan = _getCalendarDaySettin.hoveredSpan,
+            isOutsideRange = _getCalendarDaySettin.isOutsideRange,
+            ariaLabel = _getCalendarDaySettin.ariaLabel;

-      newProps.className = className;
-      newProps.ref = ref;
-      var ele = /*#__PURE__*/Object(external_React_["createElement"])(finalTag, newProps);
-      var possiblyStyleElement = /*#__PURE__*/Object(external_React_["createElement"])(Noop, null);
+        return _react2['default'].createElement(
+          'td',
+          _extends({}, (0, _reactWithStyles.css)(styles.CalendarDay, useDefaultCursor && styles.CalendarDay__defaultCursor, styles.CalendarDay__default, isOutsideDay && styles.CalendarDay__outside, modifiers.has('today') && styles.CalendarDay__today, modifiers.has('first-day-of-week') && styles.CalendarDay__firstDayOfWeek, modifiers.has('last-day-of-week') && styles.CalendarDay__lastDayOfWeek, modifiers.has('hovered-offset') && styles.CalendarDay__hovered_offset, modifiers.has('highlighted-calendar') && styles.CalendarDay__highlighted_calendar, modifiers.has('blocked-minimum-nights') && styles.CalendarDay__blocked_minimum_nights, modifiers.has('blocked-calendar') && styles.CalendarDay__blocked_calendar, hoveredSpan && styles.CalendarDay__hovered_span, modifiers.has('selected-span') && styles.CalendarDay__selected_span, modifiers.has('last-in-range') && styles.CalendarDay__last_in_range, modifiers.has('selected-start') && styles.CalendarDay__selected_start, modifiers.has('selected-end') && styles.CalendarDay__selected_end, selected && styles.CalendarDay__selected, isOutsideRange && styles.CalendarDay__blocked_out_of_range, daySizeStyles), {
+            role: 'button' // eslint-disable-line jsx-a11y/no-noninteractive-element-to-interactive-role
+            , ref: this.setButtonRef,
+            'aria-label': ariaLabel,
+            onMouseEnter: function () {
+              function onMouseEnter(e) {
+                _this2.onDayMouseEnter(day, e);
+              }

+              return onMouseEnter;
+            }(),
+            onMouseLeave: function () {
+              function onMouseLeave(e) {
+                _this2.onDayMouseLeave(day, e);
+              }

-      return /*#__PURE__*/Object(external_React_["createElement"])(external_React_["Fragment"], null, possiblyStyleElement, ele);
-    });
-    Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
-    Styled.defaultProps = tag.defaultProps;
-    Styled.__emotion_real = Styled;
-    Styled.__emotion_base = baseTag;
-    Styled.__emotion_styles = styles;
-    Styled.__emotion_forwardProp = shouldForwardProp;
-    Object.defineProperty(Styled, 'toString', {
-      value: function value() {
-        if (targetClassName === undefined && "production" !== 'production') {
-          return 'NO_COMPONENT_SELECTOR';
-        } // $FlowFixMe: coerce undefined to string
+              return onMouseLeave;
+            }(),
+            onMouseUp: function () {
+              function onMouseUp(e) {
+                e.currentTarget.blur();
+              }

+              return onMouseUp;
+            }(),
+            onClick: function () {
+              function onClick(e) {
+                _this2.onDayClick(day, e);
+              }

-        return "." + targetClassName;
+              return onClick;
+            }(),
+            onKeyDown: function () {
+              function onKeyDown(e) {
+                _this2.onKeyDown(day, e);
+              }
+
+              return onKeyDown;
+            }(),
+            tabIndex: tabIndex
+          }),
+          renderDayContents ? renderDayContents(day, modifiers) : day.format('D')
+        );
       }
-    });

-    Styled.withComponent = function (nextTag, nextOptions) {
-      return createStyled(nextTag, Object(esm_extends["a" /* default */])({}, options, nextOptions, {
-        shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
-      })).apply(void 0, styles);
-    };
+      return render;
+    }()
+  }]);

-    return Styled;
-  };
-};
+  return CalendarDay;
+}(_react2['default'].Component);

-/* harmony default export */ var emotion_styled_base_browser_esm = __webpack_exports__["a"] = (emotion_styled_base_browser_esm_createStyled);
+CalendarDay.propTypes = propTypes;
+CalendarDay.defaultProps = defaultProps;

+exports.PureCalendarDay = CalendarDay;
+exports["default"] = (0, _reactWithStyles.withStyles)(function (_ref2) {
+  var _ref2$reactDates = _ref2.reactDates,
+      color = _ref2$reactDates.color,
+      font = _ref2$reactDates.font;
+  return {
+    CalendarDay: {
+      boxSizing: 'border-box',
+      cursor: 'pointer',
+      fontSize: font.size,
+      textAlign: 'center',

-/***/ }),
+      ':active': {
+        outline: 0
+      }
+    },

-/***/ "DciD":
-/***/ (function(module, exports, __webpack_require__) {
+    CalendarDay__defaultCursor: {
+      cursor: 'default'
+    },

-"use strict";
+    CalendarDay__default: {
+      border: '1px solid ' + String(color.core.borderLight),
+      color: color.text,
+      background: color.background,

+      ':hover': {
+        background: color.core.borderLight,
+        border: '1px double ' + String(color.core.borderLight),
+        color: 'inherit'
+      }
+    },

-function noop() {
-  return null;
-}
+    CalendarDay__hovered_offset: {
+      background: color.core.borderBright,
+      border: '1px double ' + String(color.core.borderLight),
+      color: 'inherit'
+    },

-noop.isRequired = noop;
+    CalendarDay__outside: {
+      border: 0,
+      background: color.outside.backgroundColor,
+      color: color.outside.color,

-function noopThunk() {
-  return noop;
-}
+      ':hover': {
+        border: 0
+      }
+    },

-module.exports = {
-  and: noopThunk,
-  between: noopThunk,
-  booleanSome: noopThunk,
-  childrenHavePropXorChildren: noopThunk,
-  childrenOf: noopThunk,
-  childrenOfType: noopThunk,
-  childrenSequenceOf: noopThunk,
-  componentWithName: noopThunk,
-  disallowedIf: noopThunk,
-  elementType: noopThunk,
-  empty: noopThunk,
-  explicitNull: noopThunk,
-  forbidExtraProps: Object,
-  integer: noopThunk,
-  keysOf: noopThunk,
-  mutuallyExclusiveProps: noopThunk,
-  mutuallyExclusiveTrueProps: noopThunk,
-  nChildren: noopThunk,
-  nonNegativeInteger: noop,
-  nonNegativeNumber: noopThunk,
-  numericString: noopThunk,
-  object: noopThunk,
-  or: noopThunk,
-  predicate: noopThunk,
-  range: noopThunk,
-  ref: noopThunk,
-  requiredBy: noopThunk,
-  restrictedProp: noopThunk,
-  sequenceOf: noopThunk,
-  shape: noopThunk,
-  stringEndsWith: noopThunk,
-  stringStartsWith: noopThunk,
-  uniqueArray: noopThunk,
-  uniqueArrayOf: noopThunk,
-  valuesOf: noopThunk,
-  withShape: noopThunk
-};
+    CalendarDay__blocked_minimum_nights: {
+      background: color.minimumNights.backgroundColor,
+      border: '1px solid ' + String(color.minimumNights.borderColor),
+      color: color.minimumNights.color,

+      ':hover': {
+        background: color.minimumNights.backgroundColor_hover,
+        color: color.minimumNights.color_active
+      },

-/***/ }),
+      ':active': {
+        background: color.minimumNights.backgroundColor_active,
+        color: color.minimumNights.color_active
+      }
+    },

-/***/ "DmXP":
-/***/ (function(module, exports, __webpack_require__) {
+    CalendarDay__highlighted_calendar: {
+      background: color.highlighted.backgroundColor,
+      color: color.highlighted.color,

-"use strict";
+      ':hover': {
+        background: color.highlighted.backgroundColor_hover,
+        color: color.highlighted.color_active
+      },

+      ':active': {
+        background: color.highlighted.backgroundColor_active,
+        color: color.highlighted.color_active
+      }
+    },

-var getDay = Date.prototype.getDay;
-var tryDateObject = function tryDateGetDayCall(value) {
-	try {
-		getDay.call(value);
-		return true;
-	} catch (e) {
-		return false;
-	}
-};
+    CalendarDay__selected_span: {
+      background: color.selectedSpan.backgroundColor,
+      border: '1px solid ' + String(color.selectedSpan.borderColor),
+      color: color.selectedSpan.color,

-var toStr = Object.prototype.toString;
-var dateClass = '[object Date]';
-var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
+      ':hover': {
+        background: color.selectedSpan.backgroundColor_hover,
+        border: '1px solid ' + String(color.selectedSpan.borderColor),
+        color: color.selectedSpan.color_active
+      },

-module.exports = function isDateObject(value) {
-	if (typeof value !== 'object' || value === null) {
-		return false;
-	}
-	return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;
-};
+      ':active': {
+        background: color.selectedSpan.backgroundColor_active,
+        border: '1px solid ' + String(color.selectedSpan.borderColor),
+        color: color.selectedSpan.color_active
+      }
+    },

+    CalendarDay__last_in_range: {
+      borderRight: color.core.primary
+    },

-/***/ }),
+    CalendarDay__selected: {
+      background: color.selected.backgroundColor,
+      border: '1px solid ' + String(color.selected.borderColor),
+      color: color.selected.color,

-/***/ "DzJC":
-/***/ (function(module, exports, __webpack_require__) {
+      ':hover': {
+        background: color.selected.backgroundColor_hover,
+        border: '1px solid ' + String(color.selected.borderColor),
+        color: color.selected.color_active
+      },

-var debounce = __webpack_require__("sEfC"),
-    isObject = __webpack_require__("GoyQ");
+      ':active': {
+        background: color.selected.backgroundColor_active,
+        border: '1px solid ' + String(color.selected.borderColor),
+        color: color.selected.color_active
+      }
+    },

-/** Error message constants. */
-var FUNC_ERROR_TEXT = 'Expected a function';
+    CalendarDay__hovered_span: {
+      background: color.hoveredSpan.backgroundColor,
+      border: '1px solid ' + String(color.hoveredSpan.borderColor),
+      color: color.hoveredSpan.color,

-/**
- * Creates a throttled function that only invokes `func` at most once per
- * every `wait` milliseconds. The throttled function comes with a `cancel`
- * method to cancel delayed `func` invocations and a `flush` method to
- * immediately invoke them. Provide `options` to indicate whether `func`
- * should be invoked on the leading and/or trailing edge of the `wait`
- * timeout. The `func` is invoked with the last arguments provided to the
- * throttled function. Subsequent calls to the throttled function return the
- * result of the last `func` invocation.
- *
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
- * invoked on the trailing edge of the timeout only if the throttled function
- * is invoked more than once during the `wait` timeout.
- *
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
- *
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
- * for details over the differences between `_.throttle` and `_.debounce`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to throttle.
- * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
- * @param {Object} [options={}] The options object.
- * @param {boolean} [options.leading=true]
- *  Specify invoking on the leading edge of the timeout.
- * @param {boolean} [options.trailing=true]
- *  Specify invoking on the trailing edge of the timeout.
- * @returns {Function} Returns the new throttled function.
- * @example
- *
- * // Avoid excessively updating the position while scrolling.
- * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
- *
- * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
- * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
- * jQuery(element).on('click', throttled);
- *
- * // Cancel the trailing throttled invocation.
- * jQuery(window).on('popstate', throttled.cancel);
- */
-function throttle(func, wait, options) {
-  var leading = true,
-      trailing = true;
+      ':hover': {
+        background: color.hoveredSpan.backgroundColor_hover,
+        border: '1px solid ' + String(color.hoveredSpan.borderColor),
+        color: color.hoveredSpan.color_active
+      },

-  if (typeof func != 'function') {
-    throw new TypeError(FUNC_ERROR_TEXT);
-  }
-  if (isObject(options)) {
-    leading = 'leading' in options ? !!options.leading : leading;
-    trailing = 'trailing' in options ? !!options.trailing : trailing;
-  }
-  return debounce(func, wait, {
-    'leading': leading,
-    'maxWait': wait,
-    'trailing': trailing
-  });
-}
+      ':active': {
+        background: color.hoveredSpan.backgroundColor_active,
+        border: '1px solid ' + String(color.hoveredSpan.borderColor),
+        color: color.hoveredSpan.color_active
+      }
+    },

-module.exports = throttle;
+    CalendarDay__blocked_calendar: {
+      background: color.blocked_calendar.backgroundColor,
+      border: '1px solid ' + String(color.blocked_calendar.borderColor),
+      color: color.blocked_calendar.color,

+      ':hover': {
+        background: color.blocked_calendar.backgroundColor_hover,
+        border: '1px solid ' + String(color.blocked_calendar.borderColor),
+        color: color.blocked_calendar.color_active
+      },

-/***/ }),
+      ':active': {
+        background: color.blocked_calendar.backgroundColor_active,
+        border: '1px solid ' + String(color.blocked_calendar.borderColor),
+        color: color.blocked_calendar.color_active
+      }
+    },

-/***/ "ExA7":
-/***/ (function(module, exports) {
+    CalendarDay__blocked_out_of_range: {
+      background: color.blocked_out_of_range.backgroundColor,
+      border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
+      color: color.blocked_out_of_range.color,

-/**
- * Checks if `value` is object-like. A value is object-like if it's not `null`
- * and has a `typeof` result of "object".
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
- * @example
- *
- * _.isObjectLike({});
- * // => true
- *
- * _.isObjectLike([1, 2, 3]);
- * // => true
- *
- * _.isObjectLike(_.noop);
- * // => false
- *
- * _.isObjectLike(null);
- * // => false
- */
-function isObjectLike(value) {
-  return value != null && typeof value == 'object';
-}
+      ':hover': {
+        background: color.blocked_out_of_range.backgroundColor_hover,
+        border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
+        color: color.blocked_out_of_range.color_active
+      },

-module.exports = isObjectLike;
+      ':active': {
+        background: color.blocked_out_of_range.backgroundColor_active,
+        border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
+        color: color.blocked_out_of_range.color_active
+      }
+    },

+    CalendarDay__selected_start: {},
+    CalendarDay__selected_end: {},
+    CalendarDay__today: {},
+    CalendarDay__firstDayOfWeek: {},
+    CalendarDay__lastDayOfWeek: {}
+  };
+})(CalendarDay);

 /***/ }),

-/***/ "Exhd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 5986:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ emotion_serialize_browser_esm_serializeStyles; });
-
-// CONCATENATED MODULE: ./node_modules/@emotion/hash/dist/hash.browser.esm.js
-/* eslint-disable */
-// Inspired by https://github.com/garycourt/murmurhash-js
-// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
-function murmur2(str) {
-  // 'm' and 'r' are mixing constants generated offline.
-  // They're not really 'magic', they just happen to work well.
-  // const m = 0x5bd1e995;
-  // const r = 24;
-  // Initialize the hash
-  var h = 0; // Mix 4 bytes at a time into the hash

-  var k,
-      i = 0,
-      len = str.length;
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

-  for (; len >= 4; ++i, len -= 4) {
-    k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
-    k =
-    /* Math.imul(k, m): */
-    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
-    k ^=
-    /* k >>> r: */
-    k >>> 24;
-    h =
-    /* Math.imul(k, m): */
-    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
-    /* Math.imul(h, m): */
-    (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
-  } // Handle the last few bytes of the input array
+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

-  switch (len) {
-    case 3:
-      h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
+var _object = __webpack_require__(4011);

-    case 2:
-      h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
+var _object2 = _interopRequireDefault(_object);

-    case 1:
-      h ^= str.charCodeAt(i) & 0xff;
-      h =
-      /* Math.imul(h, m): */
-      (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
-  } // Do a few final mixes of the hash to ensure the last few
-  // bytes are well-incorporated.
+var _react = __webpack_require__(9196);

+var _react2 = _interopRequireDefault(_react);

-  h ^= h >>> 13;
-  h =
-  /* Math.imul(h, m): */
-  (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
-  return ((h ^ h >>> 15) >>> 0).toString(36);
-}
+var _propTypes = __webpack_require__(2652);

-/* harmony default export */ var hash_browser_esm = (murmur2);
+var _propTypes2 = _interopRequireDefault(_propTypes);

-// CONCATENATED MODULE: ./node_modules/@emotion/unitless/dist/unitless.browser.esm.js
-var unitlessKeys = {
-  animationIterationCount: 1,
-  borderImageOutset: 1,
-  borderImageSlice: 1,
-  borderImageWidth: 1,
-  boxFlex: 1,
-  boxFlexGroup: 1,
-  boxOrdinalGroup: 1,
-  columnCount: 1,
-  columns: 1,
-  flex: 1,
-  flexGrow: 1,
-  flexPositive: 1,
-  flexShrink: 1,
-  flexNegative: 1,
-  flexOrder: 1,
-  gridRow: 1,
-  gridRowEnd: 1,
-  gridRowSpan: 1,
-  gridRowStart: 1,
-  gridColumn: 1,
-  gridColumnEnd: 1,
-  gridColumnSpan: 1,
-  gridColumnStart: 1,
-  msGridRow: 1,
-  msGridRowSpan: 1,
-  msGridColumn: 1,
-  msGridColumnSpan: 1,
-  fontWeight: 1,
-  lineHeight: 1,
-  opacity: 1,
-  order: 1,
-  orphans: 1,
-  tabSize: 1,
-  widows: 1,
-  zIndex: 1,
-  zoom: 1,
-  WebkitLineClamp: 1,
-  // SVG-related properties
-  fillOpacity: 1,
-  floodOpacity: 1,
-  stopOpacity: 1,
-  strokeDasharray: 1,
-  strokeDashoffset: 1,
-  strokeMiterlimit: 1,
-  strokeOpacity: 1,
-  strokeWidth: 1
-};
+var _reactAddonsShallowCompare = __webpack_require__(2541);

-/* harmony default export */ var unitless_browser_esm = (unitlessKeys);
+var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);

-// EXTERNAL MODULE: ./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js
-var emotion_memoize_browser_esm = __webpack_require__("SVgp");
+var _reactMomentProptypes = __webpack_require__(6150);

-// CONCATENATED MODULE: ./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js
+var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);

+var _airbnbPropTypes = __webpack_require__(4882);

+var _reactWithStyles = __webpack_require__(3576);

+var _moment = __webpack_require__(6292);

-var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
-var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
-var hyphenateRegex = /[A-Z]|^ms/g;
-var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
+var _moment2 = _interopRequireDefault(_moment);

-var isCustomProperty = function isCustomProperty(property) {
-  return property.charCodeAt(1) === 45;
-};
+var _defaultPhrases = __webpack_require__(6030);

-var isProcessableValue = function isProcessableValue(value) {
-  return value != null && typeof value !== 'boolean';
-};
+var _getPhrasePropTypes = __webpack_require__(2893);

-var processStyleName = /* #__PURE__ */Object(emotion_memoize_browser_esm["a" /* default */])(function (styleName) {
-  return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
-});
+var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);

-var emotion_serialize_browser_esm_processStyleValue = function processStyleValue(key, value) {
-  switch (key) {
-    case 'animation':
-    case 'animationName':
-      {
-        if (typeof value === 'string') {
-          return value.replace(animationRegex, function (match, p1, p2) {
-            cursor = {
-              name: p1,
-              styles: p2,
-              next: cursor
-            };
-            return p1;
-          });
-        }
-      }
-  }
+var _CalendarWeek = __webpack_require__(4604);

-  if (unitless_browser_esm[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
-    return value + 'px';
-  }
+var _CalendarWeek2 = _interopRequireDefault(_CalendarWeek);

-  return value;
-};
+var _CalendarDay = __webpack_require__(7617);

-if (false) { var hyphenatedCache, hyphenPattern, msPattern, oldProcessStyleValue, contentValues, contentValuePattern; }
+var _CalendarDay2 = _interopRequireDefault(_CalendarDay);

-function handleInterpolation(mergedProps, registered, interpolation) {
-  if (interpolation == null) {
-    return '';
-  }
+var _calculateDimension = __webpack_require__(8607);

-  if (interpolation.__emotion_styles !== undefined) {
-    if (false) {}
+var _calculateDimension2 = _interopRequireDefault(_calculateDimension);

-    return interpolation;
-  }
+var _getCalendarMonthWeeks = __webpack_require__(5644);

-  switch (typeof interpolation) {
-    case 'boolean':
-      {
-        return '';
-      }
+var _getCalendarMonthWeeks2 = _interopRequireDefault(_getCalendarMonthWeeks);

-    case 'object':
-      {
-        if (interpolation.anim === 1) {
-          cursor = {
-            name: interpolation.name,
-            styles: interpolation.styles,
-            next: cursor
-          };
-          return interpolation.name;
-        }
+var _isSameDay = __webpack_require__(3923);

-        if (interpolation.styles !== undefined) {
-          var next = interpolation.next;
+var _isSameDay2 = _interopRequireDefault(_isSameDay);

-          if (next !== undefined) {
-            // not the most efficient thing ever but this is a pretty rare case
-            // and there will be very few iterations of this generally
-            while (next !== undefined) {
-              cursor = {
-                name: next.name,
-                styles: next.styles,
-                next: cursor
-              };
-              next = next.next;
-            }
-          }
+var _toISODateString = __webpack_require__(7310);

-          var styles = interpolation.styles + ";";
+var _toISODateString2 = _interopRequireDefault(_toISODateString);

-          if (false) {}
+var _ModifiersShape = __webpack_require__(6747);

-          return styles;
-        }
+var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);

-        return createStringFromObject(mergedProps, registered, interpolation);
-      }
+var _ScrollableOrientationShape = __webpack_require__(6553);

-    case 'function':
-      {
-        if (mergedProps !== undefined) {
-          var previousCursor = cursor;
-          var result = interpolation(mergedProps);
-          cursor = previousCursor;
-          return handleInterpolation(mergedProps, registered, result);
-        } else if (false) {}
+var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);

-        break;
-      }
+var _DayOfWeekShape = __webpack_require__(243);

-    case 'string':
-      if (false) { var replaced, matched; }
+var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape);

-      break;
-  } // finalize string values (regular strings and functions interpolated into css calls)
+var _constants = __webpack_require__(257);

+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  if (registered == null) {
-    return interpolation;
-  }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-  var cached = registered[interpolation];
-  return cached !== undefined ? cached : interpolation;
-}
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

-function createStringFromObject(mergedProps, registered, obj) {
-  var string = '';
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint react/no-array-index-key: 0 */

-  if (Array.isArray(obj)) {
-    for (var i = 0; i < obj.length; i++) {
-      string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
-    }
-  } else {
-    for (var _key in obj) {
-      var value = obj[_key];
+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
+  month: _reactMomentProptypes2['default'].momentObj,
+  horizontalMonthPadding: _airbnbPropTypes.nonNegativeInteger,
+  isVisible: _propTypes2['default'].bool,
+  enableOutsideDays: _propTypes2['default'].bool,
+  modifiers: _propTypes2['default'].objectOf(_ModifiersShape2['default']),
+  orientation: _ScrollableOrientationShape2['default'],
+  daySize: _airbnbPropTypes.nonNegativeInteger,
+  onDayClick: _propTypes2['default'].func,
+  onDayMouseEnter: _propTypes2['default'].func,
+  onDayMouseLeave: _propTypes2['default'].func,
+  onMonthSelect: _propTypes2['default'].func,
+  onYearSelect: _propTypes2['default'].func,
+  renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
+  renderCalendarDay: _propTypes2['default'].func,
+  renderDayContents: _propTypes2['default'].func,
+  renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
+  firstDayOfWeek: _DayOfWeekShape2['default'],
+  setMonthTitleHeight: _propTypes2['default'].func,
+  verticalBorderSpacing: _airbnbPropTypes.nonNegativeInteger,

-      if (typeof value !== 'object') {
-        if (registered != null && registered[value] !== undefined) {
-          string += _key + "{" + registered[value] + "}";
-        } else if (isProcessableValue(value)) {
-          string += processStyleName(_key) + ":" + emotion_serialize_browser_esm_processStyleValue(_key, value) + ";";
-        }
-      } else {
-        if (_key === 'NO_COMPONENT_SELECTOR' && "production" !== 'production') {
-          throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
-        }
+  focusedDate: _reactMomentProptypes2['default'].momentObj, // indicates focusable day
+  isFocused: _propTypes2['default'].bool, // indicates whether or not to move focus to focusable day

-        if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
-          for (var _i = 0; _i < value.length; _i++) {
-            if (isProcessableValue(value[_i])) {
-              string += processStyleName(_key) + ":" + emotion_serialize_browser_esm_processStyleValue(_key, value[_i]) + ";";
-            }
-          }
-        } else {
-          var interpolated = handleInterpolation(mergedProps, registered, value);
+  // i18n
+  monthFormat: _propTypes2['default'].string,
+  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases)),
+  dayAriaLabelFormat: _propTypes2['default'].string
+}));

-          switch (_key) {
-            case 'animation':
-            case 'animationName':
-              {
-                string += processStyleName(_key) + ":" + interpolated + ";";
-                break;
-              }
+var defaultProps = {
+  month: (0, _moment2['default'])(),
+  horizontalMonthPadding: 13,
+  isVisible: true,
+  enableOutsideDays: false,
+  modifiers: {},
+  orientation: _constants.HORIZONTAL_ORIENTATION,
+  daySize: _constants.DAY_SIZE,
+  onDayClick: function () {
+    function onDayClick() {}

-            default:
-              {
-                if (false) {}
+    return onDayClick;
+  }(),
+  onDayMouseEnter: function () {
+    function onDayMouseEnter() {}

-                string += _key + "{" + interpolated + "}";
-              }
-          }
-        }
-      }
-    }
-  }
+    return onDayMouseEnter;
+  }(),
+  onDayMouseLeave: function () {
+    function onDayMouseLeave() {}

-  return string;
-}
+    return onDayMouseLeave;
+  }(),
+  onMonthSelect: function () {
+    function onMonthSelect() {}

-var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
-var sourceMapPattern;
+    return onMonthSelect;
+  }(),
+  onYearSelect: function () {
+    function onYearSelect() {}

-if (false) {} // this is the cursor for keyframes
-// keyframes are stored on the SerializedStyles object as a linked list
+    return onYearSelect;
+  }(),

+  renderMonthText: null,
+  renderCalendarDay: function () {
+    function renderCalendarDay(props) {
+      return _react2['default'].createElement(_CalendarDay2['default'], props);
+    }

-var cursor;
-var emotion_serialize_browser_esm_serializeStyles = function serializeStyles(args, registered, mergedProps) {
-  if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
-    return args[0];
-  }
+    return renderCalendarDay;
+  }(),
+  renderDayContents: null,
+  renderMonthElement: null,
+  firstDayOfWeek: null,
+  setMonthTitleHeight: null,

-  var stringMode = true;
-  var styles = '';
-  cursor = undefined;
-  var strings = args[0];
+  focusedDate: null,
+  isFocused: false,

-  if (strings == null || strings.raw === undefined) {
-    stringMode = false;
-    styles += handleInterpolation(mergedProps, registered, strings);
-  } else {
-    if (false) {}
+  // i18n
+  monthFormat: 'MMMM YYYY', // english locale
+  phrases: _defaultPhrases.CalendarDayPhrases,
+  dayAriaLabelFormat: undefined,
+  verticalBorderSpacing: undefined
+};

-    styles += strings[0];
-  } // we start at 1 since we've already handled the first arg
+var CalendarMonth = function (_React$Component) {
+  _inherits(CalendarMonth, _React$Component);

+  function CalendarMonth(props) {
+    _classCallCheck(this, CalendarMonth);

-  for (var i = 1; i < args.length; i++) {
-    styles += handleInterpolation(mergedProps, registered, args[i]);
+    var _this = _possibleConstructorReturn(this, (CalendarMonth.__proto__ || Object.getPrototypeOf(CalendarMonth)).call(this, props));

-    if (stringMode) {
-      if (false) {}
+    _this.state = {
+      weeks: (0, _getCalendarMonthWeeks2['default'])(props.month, props.enableOutsideDays, props.firstDayOfWeek == null ? _moment2['default'].localeData().firstDayOfWeek() : props.firstDayOfWeek)
+    };

-      styles += strings[i];
-    }
+    _this.setCaptionRef = _this.setCaptionRef.bind(_this);
+    _this.setMonthTitleHeight = _this.setMonthTitleHeight.bind(_this);
+    return _this;
   }

-  var sourceMap;
-
-  if (false) {} // using a global regex with .exec is stateful so lastIndex has to be reset each time
-
+  _createClass(CalendarMonth, [{
+    key: 'componentDidMount',
+    value: function () {
+      function componentDidMount() {
+        this.setMonthTitleHeightTimeout = setTimeout(this.setMonthTitleHeight, 0);
+      }

-  labelPattern.lastIndex = 0;
-  var identifierName = '';
-  var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
+      return componentDidMount;
+    }()
+  }, {
+    key: 'componentWillReceiveProps',
+    value: function () {
+      function componentWillReceiveProps(nextProps) {
+        var month = nextProps.month,
+            enableOutsideDays = nextProps.enableOutsideDays,
+            firstDayOfWeek = nextProps.firstDayOfWeek;
+        var _props = this.props,
+            prevMonth = _props.month,
+            prevEnableOutsideDays = _props.enableOutsideDays,
+            prevFirstDayOfWeek = _props.firstDayOfWeek;

-  while ((match = labelPattern.exec(styles)) !== null) {
-    identifierName += '-' + // $FlowFixMe we know it's not null
-    match[1];
-  }
+        if (!month.isSame(prevMonth) || enableOutsideDays !== prevEnableOutsideDays || firstDayOfWeek !== prevFirstDayOfWeek) {
+          this.setState({
+            weeks: (0, _getCalendarMonthWeeks2['default'])(month, enableOutsideDays, firstDayOfWeek == null ? _moment2['default'].localeData().firstDayOfWeek() : firstDayOfWeek)
+          });
+        }
+      }

-  var name = hash_browser_esm(styles) + identifierName;
+      return componentWillReceiveProps;
+    }()
+  }, {
+    key: 'shouldComponentUpdate',
+    value: function () {
+      function shouldComponentUpdate(nextProps, nextState) {
+        return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
+      }

-  if (false) {}
+      return shouldComponentUpdate;
+    }()
+  }, {
+    key: 'componentWillUnmount',
+    value: function () {
+      function componentWillUnmount() {
+        if (this.setMonthTitleHeightTimeout) {
+          clearTimeout(this.setMonthTitleHeightTimeout);
+        }
+      }

-  return {
-    name: name,
-    styles: styles,
-    next: cursor
-  };
-};
+      return componentWillUnmount;
+    }()
+  }, {
+    key: 'setMonthTitleHeight',
+    value: function () {
+      function setMonthTitleHeight() {
+        var setMonthTitleHeight = this.props.setMonthTitleHeight;

+        if (setMonthTitleHeight) {
+          var captionHeight = (0, _calculateDimension2['default'])(this.captionRef, 'height', true, true);
+          setMonthTitleHeight(captionHeight);
+        }
+      }

+      return setMonthTitleHeight;
+    }()
+  }, {
+    key: 'setCaptionRef',
+    value: function () {
+      function setCaptionRef(ref) {
+        this.captionRef = ref;
+      }

+      return setCaptionRef;
+    }()
+  }, {
+    key: 'render',
+    value: function () {
+      function render() {
+        var _props2 = this.props,
+            dayAriaLabelFormat = _props2.dayAriaLabelFormat,
+            daySize = _props2.daySize,
+            focusedDate = _props2.focusedDate,
+            horizontalMonthPadding = _props2.horizontalMonthPadding,
+            isFocused = _props2.isFocused,
+            isVisible = _props2.isVisible,
+            modifiers = _props2.modifiers,
+            month = _props2.month,
+            monthFormat = _props2.monthFormat,
+            onDayClick = _props2.onDayClick,
+            onDayMouseEnter = _props2.onDayMouseEnter,
+            onDayMouseLeave = _props2.onDayMouseLeave,
+            onMonthSelect = _props2.onMonthSelect,
+            onYearSelect = _props2.onYearSelect,
+            orientation = _props2.orientation,
+            phrases = _props2.phrases,
+            renderCalendarDay = _props2.renderCalendarDay,
+            renderDayContents = _props2.renderDayContents,
+            renderMonthElement = _props2.renderMonthElement,
+            renderMonthText = _props2.renderMonthText,
+            styles = _props2.styles,
+            verticalBorderSpacing = _props2.verticalBorderSpacing;
+        var weeks = this.state.weeks;

-/***/ }),
+        var monthTitle = renderMonthText ? renderMonthText(month) : month.format(monthFormat);

-/***/ "F7ZS":
-/***/ (function(module, exports, __webpack_require__) {
+        var verticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;

-"use strict";
+        return _react2['default'].createElement(
+          'div',
+          _extends({}, (0, _reactWithStyles.css)(styles.CalendarMonth, { padding: '0 ' + String(horizontalMonthPadding) + 'px' }), {
+            'data-visible': isVisible
+          }),
+          _react2['default'].createElement(
+            'div',
+            _extends({
+              ref: this.setCaptionRef
+            }, (0, _reactWithStyles.css)(styles.CalendarMonth_caption, verticalScrollable && styles.CalendarMonth_caption__verticalScrollable)),
+            renderMonthElement ? renderMonthElement({ month: month, onMonthSelect: onMonthSelect, onYearSelect: onYearSelect }) : _react2['default'].createElement(
+              'strong',
+              null,
+              monthTitle
+            )
+          ),
+          _react2['default'].createElement(
+            'table',
+            _extends({}, (0, _reactWithStyles.css)(!verticalBorderSpacing && styles.CalendarMonth_table, verticalBorderSpacing && styles.CalendarMonth_verticalSpacing, verticalBorderSpacing && { borderSpacing: '0px ' + String(verticalBorderSpacing) + 'px' }), {
+              role: 'presentation'
+            }),
+            _react2['default'].createElement(
+              'tbody',
+              null,
+              weeks.map(function (week, i) {
+                return _react2['default'].createElement(
+                  _CalendarWeek2['default'],
+                  { key: i },
+                  week.map(function (day, dayOfWeek) {
+                    return renderCalendarDay({
+                      key: dayOfWeek,
+                      day: day,
+                      daySize: daySize,
+                      isOutsideDay: !day || day.month() !== month.month(),
+                      tabIndex: isVisible && (0, _isSameDay2['default'])(day, focusedDate) ? 0 : -1,
+                      isFocused: isFocused,
+                      onDayMouseEnter: onDayMouseEnter,
+                      onDayMouseLeave: onDayMouseLeave,
+                      onDayClick: onDayClick,
+                      renderDayContents: renderDayContents,
+                      phrases: phrases,
+                      modifiers: modifiers[(0, _toISODateString2['default'])(day)],
+                      ariaLabelFormat: dayAriaLabelFormat
+                    });
+                  })
+                );
+              })
+            )
+          )
+        );
+      }

+      return render;
+    }()
+  }]);

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = getCalendarMonthWeeks;
+  return CalendarMonth;
+}(_react2['default'].Component);

-var _moment = __webpack_require__("wy2R");
+CalendarMonth.propTypes = propTypes;
+CalendarMonth.defaultProps = defaultProps;

-var _moment2 = _interopRequireDefault(_moment);
+exports["default"] = (0, _reactWithStyles.withStyles)(function (_ref) {
+  var _ref$reactDates = _ref.reactDates,
+      color = _ref$reactDates.color,
+      font = _ref$reactDates.font,
+      spacing = _ref$reactDates.spacing;
+  return {
+    CalendarMonth: {
+      background: color.background,
+      textAlign: 'center',
+      verticalAlign: 'top',
+      userSelect: 'none'
+    },

-var _constants = __webpack_require__("Fv1B");
+    CalendarMonth_table: {
+      borderCollapse: 'collapse',
+      borderSpacing: 0
+    },

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+    CalendarMonth_verticalSpacing: {
+      borderCollapse: 'separate'
+    },

-function getCalendarMonthWeeks(month, enableOutsideDays) {
-  var firstDayOfWeek = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _moment2['default'].localeData().firstDayOfWeek();
+    CalendarMonth_caption: {
+      color: color.text,
+      fontSize: font.captionSize,
+      textAlign: 'center',
+      paddingTop: spacing.captionPaddingTop,
+      paddingBottom: spacing.captionPaddingBottom,
+      captionSide: 'initial'
+    },

-  if (!_moment2['default'].isMoment(month) || !month.isValid()) {
-    throw new TypeError('`month` must be a valid moment object');
-  }
-  if (_constants.WEEKDAYS.indexOf(firstDayOfWeek) === -1) {
-    throw new TypeError('`firstDayOfWeek` must be an integer between 0 and 6');
-  }
+    CalendarMonth_caption__verticalScrollable: {
+      paddingTop: 12,
+      paddingBottom: 7
+    }
+  };
+})(CalendarMonth);

-  // set utc offset to get correct dates in future (when timezone changes)
-  var firstOfMonth = month.clone().startOf('month').hour(12);
-  var lastOfMonth = month.clone().endOf('month').hour(12);
+/***/ }),

-  // calculate the exact first and last days to fill the entire matrix
-  // (considering days outside month)
-  var prevDays = (firstOfMonth.day() + 7 - firstDayOfWeek) % 7;
-  var nextDays = (firstDayOfWeek + 6 - lastOfMonth.day()) % 7;
-  var firstDay = firstOfMonth.clone().subtract(prevDays, 'day');
-  var lastDay = lastOfMonth.clone().add(nextDays, 'day');
+/***/ 7938:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-  var totalDays = lastDay.diff(firstDay, 'days') + 1;
+"use strict";

-  var currentDay = firstDay.clone();
-  var weeksInMonth = [];

-  for (var i = 0; i < totalDays; i += 1) {
-    if (i % 7 === 0) {
-      weeksInMonth.push([]);
-    }
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

-    var day = null;
-    if (i >= prevDays && i < totalDays - nextDays || enableOutsideDays) {
-      day = currentDay.clone();
-    }
+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

-    weeksInMonth[weeksInMonth.length - 1].push(day);
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

-    currentDay.add(1, 'day');
-  }
+var _object = __webpack_require__(4011);

-  return weeksInMonth;
-}
+var _object2 = _interopRequireDefault(_object);

-/***/ }),
+var _react = __webpack_require__(9196);

-/***/ "FpZJ":
-/***/ (function(module, exports, __webpack_require__) {
+var _react2 = _interopRequireDefault(_react);

-"use strict";
+var _propTypes = __webpack_require__(2652);

+var _propTypes2 = _interopRequireDefault(_propTypes);

-/* eslint complexity: [2, 18], max-statements: [2, 33] */
-module.exports = function hasSymbols() {
-	if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
-	if (typeof Symbol.iterator === 'symbol') { return true; }
+var _reactAddonsShallowCompare = __webpack_require__(2541);

-	var obj = {};
-	var sym = Symbol('test');
-	var symObj = Object(sym);
-	if (typeof sym === 'string') { return false; }
+var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);

-	if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
-	if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
+var _reactMomentProptypes = __webpack_require__(6150);

-	// temp disabled per https://github.com/ljharb/object.assign/issues/17
-	// if (sym instanceof Symbol) { return false; }
-	// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
-	// if (!(symObj instanceof Symbol)) { return false; }
+var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);

-	// if (typeof Symbol.prototype.toString !== 'function') { return false; }
-	// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
+var _airbnbPropTypes = __webpack_require__(4882);

-	var symVal = 42;
-	obj[sym] = symVal;
-	for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
-	if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
+var _reactWithStyles = __webpack_require__(3576);

-	if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
+var _moment = __webpack_require__(6292);

-	var syms = Object.getOwnPropertySymbols(obj);
-	if (syms.length !== 1 || syms[0] !== sym) { return false; }
+var _moment2 = _interopRequireDefault(_moment);

-	if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
+var _consolidatedEvents = __webpack_require__(8495);

-	if (typeof Object.getOwnPropertyDescriptor === 'function') {
-		var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
-		if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
-	}
+var _defaultPhrases = __webpack_require__(6030);

-	return true;
-};
+var _getPhrasePropTypes = __webpack_require__(2893);

+var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);

-/***/ }),
+var _CalendarMonth = __webpack_require__(5986);

-/***/ "FqII":
-/***/ (function(module, exports) {
+var _CalendarMonth2 = _interopRequireDefault(_CalendarMonth);

-(function() { module.exports = window["wp"]["date"]; }());
+var _isTransitionEndSupported = __webpack_require__(7978);

-/***/ }),
+var _isTransitionEndSupported2 = _interopRequireDefault(_isTransitionEndSupported);

-/***/ "FufO":
-/***/ (function(module, exports, __webpack_require__) {
+var _getTransformStyles = __webpack_require__(8304);

-"use strict";
+var _getTransformStyles2 = _interopRequireDefault(_getTransformStyles);

+var _getCalendarMonthWidth = __webpack_require__(8964);

-// modified from https://github.com/es-shims/es6-shim
-var keys = __webpack_require__("1seS");
-var canBeObject = function (obj) {
-	return typeof obj !== 'undefined' && obj !== null;
-};
-var hasSymbols = __webpack_require__("FpZJ")();
-var callBound = __webpack_require__("VF6F");
-var toObject = Object;
-var $push = callBound('Array.prototype.push');
-var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
-var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;
+var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth);

-// eslint-disable-next-line no-unused-vars
-module.exports = function assign(target, source1) {
-	if (!canBeObject(target)) { throw new TypeError('target must be an object'); }
-	var objTarget = toObject(target);
-	var s, source, i, props, syms, value, key;
-	for (s = 1; s < arguments.length; ++s) {
-		source = toObject(arguments[s]);
-		props = keys(source);
-		var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);
-		if (getSymbols) {
-			syms = getSymbols(source);
-			for (i = 0; i < syms.length; ++i) {
-				key = syms[i];
-				if ($propIsEnumerable(source, key)) {
-					$push(props, key);
-				}
-			}
-		}
-		for (i = 0; i < props.length; ++i) {
-			key = props[i];
-			value = source[key];
-			if ($propIsEnumerable(source, key)) {
-				objTarget[key] = value;
-			}
-		}
-	}
-	return objTarget;
-};
+var _toISOMonthString = __webpack_require__(2705);

+var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString);

-/***/ }),
+var _isPrevMonth = __webpack_require__(3858);

-/***/ "Fv1B":
-/***/ (function(module, exports, __webpack_require__) {
+var _isPrevMonth2 = _interopRequireDefault(_isPrevMonth);

-"use strict";
+var _isNextMonth = __webpack_require__(1310);

+var _isNextMonth2 = _interopRequireDefault(_isNextMonth);

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-var DISPLAY_FORMAT = exports.DISPLAY_FORMAT = 'L';
-var ISO_FORMAT = exports.ISO_FORMAT = 'YYYY-MM-DD';
-var ISO_MONTH_FORMAT = exports.ISO_MONTH_FORMAT = 'YYYY-MM';
+var _ModifiersShape = __webpack_require__(6747);

-var START_DATE = exports.START_DATE = 'startDate';
-var END_DATE = exports.END_DATE = 'endDate';
+var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);

-var HORIZONTAL_ORIENTATION = exports.HORIZONTAL_ORIENTATION = 'horizontal';
-var VERTICAL_ORIENTATION = exports.VERTICAL_ORIENTATION = 'vertical';
-var VERTICAL_SCROLLABLE = exports.VERTICAL_SCROLLABLE = 'verticalScrollable';
+var _ScrollableOrientationShape = __webpack_require__(6553);

-var ICON_BEFORE_POSITION = exports.ICON_BEFORE_POSITION = 'before';
-var ICON_AFTER_POSITION = exports.ICON_AFTER_POSITION = 'after';
+var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);

-var INFO_POSITION_TOP = exports.INFO_POSITION_TOP = 'top';
-var INFO_POSITION_BOTTOM = exports.INFO_POSITION_BOTTOM = 'bottom';
-var INFO_POSITION_BEFORE = exports.INFO_POSITION_BEFORE = 'before';
-var INFO_POSITION_AFTER = exports.INFO_POSITION_AFTER = 'after';
+var _DayOfWeekShape = __webpack_require__(243);

-var ANCHOR_LEFT = exports.ANCHOR_LEFT = 'left';
-var ANCHOR_RIGHT = exports.ANCHOR_RIGHT = 'right';
+var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape);

-var OPEN_DOWN = exports.OPEN_DOWN = 'down';
-var OPEN_UP = exports.OPEN_UP = 'up';
+var _constants = __webpack_require__(257);

-var DAY_SIZE = exports.DAY_SIZE = 39;
-var BLOCKED_MODIFIER = exports.BLOCKED_MODIFIER = 'blocked';
-var WEEKDAYS = exports.WEEKDAYS = [0, 1, 2, 3, 4, 5, 6];
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-var FANG_WIDTH_PX = exports.FANG_WIDTH_PX = 20;
-var FANG_HEIGHT_PX = exports.FANG_HEIGHT_PX = 10;
-var DEFAULT_VERTICAL_SPACING = exports.DEFAULT_VERTICAL_SPACING = 22;
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-var MODIFIER_KEY_NAMES = exports.MODIFIER_KEY_NAMES = new Set(['Shift', 'Control', 'Alt', 'Meta']);
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

-/***/ }),
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

-/***/ "G3V0":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
+  enableOutsideDays: _propTypes2['default'].bool,
+  firstVisibleMonthIndex: _propTypes2['default'].number,
+  horizontalMonthPadding: _airbnbPropTypes.nonNegativeInteger,
+  initialMonth: _reactMomentProptypes2['default'].momentObj,
+  isAnimating: _propTypes2['default'].bool,
+  numberOfMonths: _propTypes2['default'].number,
+  modifiers: _propTypes2['default'].objectOf(_propTypes2['default'].objectOf(_ModifiersShape2['default'])),
+  orientation: _ScrollableOrientationShape2['default'],
+  onDayClick: _propTypes2['default'].func,
+  onDayMouseEnter: _propTypes2['default'].func,
+  onDayMouseLeave: _propTypes2['default'].func,
+  onMonthTransitionEnd: _propTypes2['default'].func,
+  onMonthChange: _propTypes2['default'].func,
+  onYearChange: _propTypes2['default'].func,
+  renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
+  renderCalendarDay: _propTypes2['default'].func,
+  renderDayContents: _propTypes2['default'].func,
+  translationValue: _propTypes2['default'].number,
+  renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
+  daySize: _airbnbPropTypes.nonNegativeInteger,
+  focusedDate: _reactMomentProptypes2['default'].momentObj, // indicates focusable day
+  isFocused: _propTypes2['default'].bool, // indicates whether or not to move focus to focusable day
+  firstDayOfWeek: _DayOfWeekShape2['default'],
+  setMonthTitleHeight: _propTypes2['default'].func,
+  isRTL: _propTypes2['default'].bool,
+  transitionDuration: _airbnbPropTypes.nonNegativeInteger,
+  verticalBorderSpacing: _airbnbPropTypes.nonNegativeInteger,

-"use strict";
-/* unused harmony export Tabbable */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useTabbable; });
-/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
-/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("hE48");
-/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("qdes");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("aU41");
-/* harmony import */ var reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("71Og");
-/* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("KA1K");
-/* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("eNtd");
-/* harmony import */ var reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("AXvK");
-/* harmony import */ var reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("PcHe");
-/* harmony import */ var reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("Vq1w");
-/* harmony import */ var reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("reMF");
-/* harmony import */ var reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("kqkJ");
-/* harmony import */ var _Role_Role_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("zGFp");
+  // i18n
+  monthFormat: _propTypes2['default'].string,
+  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases)),
+  dayAriaLabelFormat: _propTypes2['default'].string
+}));

+var defaultProps = {
+  enableOutsideDays: false,
+  firstVisibleMonthIndex: 0,
+  horizontalMonthPadding: 13,
+  initialMonth: (0, _moment2['default'])(),
+  isAnimating: false,
+  numberOfMonths: 1,
+  modifiers: {},
+  orientation: _constants.HORIZONTAL_ORIENTATION,
+  onDayClick: function () {
+    function onDayClick() {}

+    return onDayClick;
+  }(),
+  onDayMouseEnter: function () {
+    function onDayMouseEnter() {}

+    return onDayMouseEnter;
+  }(),
+  onDayMouseLeave: function () {
+    function onDayMouseLeave() {}

+    return onDayMouseLeave;
+  }(),
+  onMonthChange: function () {
+    function onMonthChange() {}

+    return onMonthChange;
+  }(),
+  onYearChange: function () {
+    function onYearChange() {}

+    return onYearChange;
+  }(),
+  onMonthTransitionEnd: function () {
+    function onMonthTransitionEnd() {}

+    return onMonthTransitionEnd;
+  }(),

+  renderMonthText: null,
+  renderCalendarDay: undefined,
+  renderDayContents: null,
+  translationValue: null,
+  renderMonthElement: null,
+  daySize: _constants.DAY_SIZE,
+  focusedDate: null,
+  isFocused: false,
+  firstDayOfWeek: null,
+  setMonthTitleHeight: null,
+  isRTL: false,
+  transitionDuration: 200,
+  verticalBorderSpacing: undefined,

+  // i18n
+  monthFormat: 'MMMM YYYY', // english locale
+  phrases: _defaultPhrases.CalendarDayPhrases,
+  dayAriaLabelFormat: undefined
+};

+function getMonths(initialMonth, numberOfMonths, withoutTransitionMonths) {
+  var month = initialMonth.clone();
+  if (!withoutTransitionMonths) month = month.subtract(1, 'month');

+  var months = [];
+  for (var i = 0; i < (withoutTransitionMonths ? numberOfMonths : numberOfMonths + 2); i += 1) {
+    months.push(month);
+    month = month.clone().add(1, 'month');
+  }

+  return months;
+}

+var CalendarMonthGrid = function (_React$Component) {
+  _inherits(CalendarMonthGrid, _React$Component);

+  function CalendarMonthGrid(props) {
+    _classCallCheck(this, CalendarMonthGrid);

+    var _this = _possibleConstructorReturn(this, (CalendarMonthGrid.__proto__ || Object.getPrototypeOf(CalendarMonthGrid)).call(this, props));

-// Automatically generated
-var TABBABLE_KEYS = ["disabled", "focusable"];
+    var withoutTransitionMonths = props.orientation === _constants.VERTICAL_SCROLLABLE;
+    _this.state = {
+      months: getMonths(props.initialMonth, props.numberOfMonths, withoutTransitionMonths)
+    };

-var isSafariOrFirefoxOnMac = Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Mac") && !Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Chrome") && (Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Safari") || Object(reakit_utils_dom__WEBPACK_IMPORTED_MODULE_11__[/* isUA */ "a"])("Firefox"));
+    _this.isTransitionEndSupported = (0, _isTransitionEndSupported2['default'])();
+    _this.onTransitionEnd = _this.onTransitionEnd.bind(_this);
+    _this.setContainerRef = _this.setContainerRef.bind(_this);

-function focusIfNeeded(element) {
-  if (!Object(reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_9__[/* hasFocusWithin */ "a"])(element) && Object(reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_12__[/* isFocusable */ "c"])(element)) {
-    element.focus();
+    _this.locale = _moment2['default'].locale();
+    _this.onMonthSelect = _this.onMonthSelect.bind(_this);
+    _this.onYearSelect = _this.onYearSelect.bind(_this);
+    return _this;
   }
-}

-function isNativeTabbable(element) {
-  return ["BUTTON", "INPUT", "SELECT", "TEXTAREA", "A"].includes(element.tagName);
-}
+  _createClass(CalendarMonthGrid, [{
+    key: 'componentDidMount',
+    value: function () {
+      function componentDidMount() {
+        this.removeEventListener = (0, _consolidatedEvents.addEventListener)(this.container, 'transitionend', this.onTransitionEnd);
+      }

-function supportsDisabledAttribute(element) {
-  return ["BUTTON", "INPUT", "SELECT", "TEXTAREA"].includes(element.tagName);
-}
+      return componentDidMount;
+    }()
+  }, {
+    key: 'componentWillReceiveProps',
+    value: function () {
+      function componentWillReceiveProps(nextProps) {
+        var _this2 = this;

-function getTabIndex(trulyDisabled, nativeTabbable, supportsDisabled, htmlTabIndex) {
-  if (trulyDisabled) {
-    if (nativeTabbable && !supportsDisabled) {
-      // Anchor, audio and video tags don't support the `disabled` attribute.
-      // We must pass tabIndex={-1} so they don't receive focus on tab.
-      return -1;
-    } // Elements that support the `disabled` attribute don't need tabIndex.
+        var initialMonth = nextProps.initialMonth,
+            numberOfMonths = nextProps.numberOfMonths,
+            orientation = nextProps.orientation;
+        var months = this.state.months;
+        var _props = this.props,
+            prevInitialMonth = _props.initialMonth,
+            prevNumberOfMonths = _props.numberOfMonths;

+        var hasMonthChanged = !prevInitialMonth.isSame(initialMonth, 'month');
+        var hasNumberOfMonthsChanged = prevNumberOfMonths !== numberOfMonths;
+        var newMonths = months;

-    return undefined;
-  }
+        if (hasMonthChanged && !hasNumberOfMonthsChanged) {
+          if ((0, _isNextMonth2['default'])(prevInitialMonth, initialMonth)) {
+            newMonths = months.slice(1);
+            newMonths.push(months[months.length - 1].clone().add(1, 'month'));
+          } else if ((0, _isPrevMonth2['default'])(prevInitialMonth, initialMonth)) {
+            newMonths = months.slice(0, months.length - 1);
+            newMonths.unshift(months[0].clone().subtract(1, 'month'));
+          } else {
+            var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
+            newMonths = getMonths(initialMonth, numberOfMonths, withoutTransitionMonths);
+          }
+        }

-  if (nativeTabbable) {
-    // If the element is enabled and it's natively tabbable, we don't need to
-    // specify a tabIndex attribute unless it's explicitly set by the user.
-    return htmlTabIndex;
-  } // If the element is enabled and is not natively tabbable, we have to
-  // fallback tabIndex={0}.
+        if (hasNumberOfMonthsChanged) {
+          var _withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
+          newMonths = getMonths(initialMonth, numberOfMonths, _withoutTransitionMonths);
+        }

+        var momentLocale = _moment2['default'].locale();
+        if (this.locale !== momentLocale) {
+          this.locale = momentLocale;
+          newMonths = newMonths.map(function (m) {
+            return m.locale(_this2.locale);
+          });
+        }

-  return htmlTabIndex || 0;
-}
+        this.setState({
+          months: newMonths
+        });
+      }

-function useDisableEvent(htmlEventRef, disabled) {
-  return Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
-    var _htmlEventRef$current;
+      return componentWillReceiveProps;
+    }()
+  }, {
+    key: 'shouldComponentUpdate',
+    value: function () {
+      function shouldComponentUpdate(nextProps, nextState) {
+        return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
+      }

-    (_htmlEventRef$current = htmlEventRef.current) === null || _htmlEventRef$current === void 0 ? void 0 : _htmlEventRef$current.call(htmlEventRef, event);
-    if (event.defaultPrevented) return;
+      return shouldComponentUpdate;
+    }()
+  }, {
+    key: 'componentDidUpdate',
+    value: function () {
+      function componentDidUpdate() {
+        var _props2 = this.props,
+            isAnimating = _props2.isAnimating,
+            transitionDuration = _props2.transitionDuration,
+            onMonthTransitionEnd = _props2.onMonthTransitionEnd;

-    if (disabled) {
-      event.stopPropagation();
-      event.preventDefault();
-    }
-  }, [htmlEventRef, disabled]);
-}
+        // For IE9, immediately call onMonthTransitionEnd instead of
+        // waiting for the animation to complete. Similarly, if transitionDuration
+        // is set to 0, also immediately invoke the onMonthTransitionEnd callback

-var useTabbable = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
-  name: "Tabbable",
-  compose: _Role_Role_js__WEBPACK_IMPORTED_MODULE_13__[/* useRole */ "a"],
-  keys: TABBABLE_KEYS,
-  useOptions: function useOptions(options, _ref) {
-    var disabled = _ref.disabled;
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
-      disabled: disabled
-    }, options);
-  },
-  useProps: function useProps(options, _ref2) {
-    var htmlRef = _ref2.ref,
-        htmlTabIndex = _ref2.tabIndex,
-        htmlOnClickCapture = _ref2.onClickCapture,
-        htmlOnMouseDownCapture = _ref2.onMouseDownCapture,
-        htmlOnMouseDown = _ref2.onMouseDown,
-        htmlOnKeyPressCapture = _ref2.onKeyPressCapture,
-        htmlStyle = _ref2.style,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref2, ["ref", "tabIndex", "onClickCapture", "onMouseDownCapture", "onMouseDown", "onKeyPressCapture", "style"]);
+        if ((!this.isTransitionEndSupported || !transitionDuration) && isAnimating) {
+          onMonthTransitionEnd();
+        }
+      }

-    var ref = Object(react__WEBPACK_IMPORTED_MODULE_3__["useRef"])(null);
-    var onClickCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnClickCapture);
-    var onMouseDownCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnMouseDownCapture);
-    var onMouseDownRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnMouseDown);
-    var onKeyPressCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__[/* useLiveRef */ "a"])(htmlOnKeyPressCapture);
-    var trulyDisabled = !!options.disabled && !options.focusable;
+      return componentDidUpdate;
+    }()
+  }, {
+    key: 'componentWillUnmount',
+    value: function () {
+      function componentWillUnmount() {
+        if (this.removeEventListener) this.removeEventListener();
+      }

-    var _React$useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(true),
-        nativeTabbable = _React$useState[0],
-        setNativeTabbable = _React$useState[1];
+      return componentWillUnmount;
+    }()
+  }, {
+    key: 'onTransitionEnd',
+    value: function () {
+      function onTransitionEnd() {
+        var onMonthTransitionEnd = this.props.onMonthTransitionEnd;

-    var _React$useState2 = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(true),
-        supportsDisabled = _React$useState2[0],
-        setSupportsDisabled = _React$useState2[1];
+        onMonthTransitionEnd();
+      }

-    var style = options.disabled ? Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
-      pointerEvents: "none"
-    }, htmlStyle) : htmlStyle;
-    Object(reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_8__[/* useIsomorphicEffect */ "a"])(function () {
-      var tabbable = ref.current;
+      return onTransitionEnd;
+    }()
+  }, {
+    key: 'onMonthSelect',
+    value: function () {
+      function onMonthSelect(currentMonth, newMonthVal) {
+        var newMonth = currentMonth.clone();
+        var _props3 = this.props,
+            onMonthChange = _props3.onMonthChange,
+            orientation = _props3.orientation;
+        var months = this.state.months;

-      if (!tabbable) {
-         false ? undefined : void 0;
-        return;
+        var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
+        var initialMonthSubtraction = months.indexOf(currentMonth);
+        if (!withoutTransitionMonths) {
+          initialMonthSubtraction -= 1;
+        }
+        newMonth.set('month', newMonthVal).subtract(initialMonthSubtraction, 'months');
+        onMonthChange(newMonth);
       }

-      if (!isNativeTabbable(tabbable)) {
-        setNativeTabbable(false);
+      return onMonthSelect;
+    }()
+  }, {
+    key: 'onYearSelect',
+    value: function () {
+      function onYearSelect(currentMonth, newYearVal) {
+        var newMonth = currentMonth.clone();
+        var _props4 = this.props,
+            onYearChange = _props4.onYearChange,
+            orientation = _props4.orientation;
+        var months = this.state.months;
+
+        var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
+        var initialMonthSubtraction = months.indexOf(currentMonth);
+        if (!withoutTransitionMonths) {
+          initialMonthSubtraction -= 1;
+        }
+        newMonth.set('year', newYearVal).subtract(initialMonthSubtraction, 'months');
+        onYearChange(newMonth);
       }

-      if (!supportsDisabledAttribute(tabbable)) {
-        setSupportsDisabled(false);
+      return onYearSelect;
+    }()
+  }, {
+    key: 'setContainerRef',
+    value: function () {
+      function setContainerRef(ref) {
+        this.container = ref;
       }
-    }, []);
-    var onClickCapture = useDisableEvent(onClickCaptureRef, options.disabled);
-    var onMouseDownCapture = useDisableEvent(onMouseDownCaptureRef, options.disabled);
-    var onKeyPressCapture = useDisableEvent(onKeyPressCaptureRef, options.disabled);
-    var onMouseDown = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
-      var _onMouseDownRef$curre;

-      (_onMouseDownRef$curre = onMouseDownRef.current) === null || _onMouseDownRef$curre === void 0 ? void 0 : _onMouseDownRef$curre.call(onMouseDownRef, event);
-      var element = event.currentTarget;
-      if (event.defaultPrevented) return; // Safari and Firefox on MacOS don't focus on buttons on mouse down
-      // like other browsers/platforms. Instead, they focus on the closest
-      // focusable ancestor element, which is ultimately the body element. So
-      // we make sure to give focus to the tabbable element on mouse down so
-      // it works consistently across browsers.
+      return setContainerRef;
+    }()
+  }, {
+    key: 'render',
+    value: function () {
+      function render() {
+        var _this3 = this;

-      if (!isSafariOrFirefoxOnMac) return;
-      if (Object(reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_10__[/* isPortalEvent */ "a"])(event)) return;
-      if (!Object(reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_5__[/* isButton */ "a"])(element)) return; // We can't focus right away after on mouse down, otherwise it would
-      // prevent drag events from happening. So we schedule the focus to the
-      // next animation frame.
+        var _props5 = this.props,
+            enableOutsideDays = _props5.enableOutsideDays,
+            firstVisibleMonthIndex = _props5.firstVisibleMonthIndex,
+            horizontalMonthPadding = _props5.horizontalMonthPadding,
+            isAnimating = _props5.isAnimating,
+            modifiers = _props5.modifiers,
+            numberOfMonths = _props5.numberOfMonths,
+            monthFormat = _props5.monthFormat,
+            orientation = _props5.orientation,
+            translationValue = _props5.translationValue,
+            daySize = _props5.daySize,
+            onDayMouseEnter = _props5.onDayMouseEnter,
+            onDayMouseLeave = _props5.onDayMouseLeave,
+            onDayClick = _props5.onDayClick,
+            renderMonthText = _props5.renderMonthText,
+            renderCalendarDay = _props5.renderCalendarDay,
+            renderDayContents = _props5.renderDayContents,
+            renderMonthElement = _props5.renderMonthElement,
+            onMonthTransitionEnd = _props5.onMonthTransitionEnd,
+            firstDayOfWeek = _props5.firstDayOfWeek,
+            focusedDate = _props5.focusedDate,
+            isFocused = _props5.isFocused,
+            isRTL = _props5.isRTL,
+            styles = _props5.styles,
+            phrases = _props5.phrases,
+            dayAriaLabelFormat = _props5.dayAriaLabelFormat,
+            transitionDuration = _props5.transitionDuration,
+            verticalBorderSpacing = _props5.verticalBorderSpacing,
+            setMonthTitleHeight = _props5.setMonthTitleHeight;
+        var months = this.state.months;

-      var raf = requestAnimationFrame(function () {
-        element.removeEventListener("mouseup", focusImmediately, true);
-        focusIfNeeded(element);
-      }); // If mouseUp happens before the next animation frame (which is common
-      // on touch screens or by just tapping the trackpad on MacBook's), we
-      // cancel the animation frame and immediately focus on the element.
+        var isVertical = orientation === _constants.VERTICAL_ORIENTATION;
+        var isVerticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;
+        var isHorizontal = orientation === _constants.HORIZONTAL_ORIENTATION;

-      var focusImmediately = function focusImmediately() {
-        cancelAnimationFrame(raf);
-        focusIfNeeded(element);
-      }; // By listening to the event in the capture phase, we make sure the
-      // focus event is fired before the onMouseUp and onMouseUpCapture React
-      // events, which is aligned with the default browser behavior.
+        var calendarMonthWidth = (0, _getCalendarMonthWidth2['default'])(daySize, horizontalMonthPadding);

+        var width = isVertical || isVerticalScrollable ? calendarMonthWidth : (numberOfMonths + 2) * calendarMonthWidth;

-      element.addEventListener("mouseup", focusImmediately, {
-        once: true,
-        capture: true
-      });
-    }, []);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
-      ref: Object(reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__[/* useForkRef */ "a"])(ref, htmlRef),
-      style: style,
-      tabIndex: getTabIndex(trulyDisabled, nativeTabbable, supportsDisabled, htmlTabIndex),
-      disabled: trulyDisabled && supportsDisabled ? true : undefined,
-      "aria-disabled": options.disabled ? true : undefined,
-      onClickCapture: onClickCapture,
-      onMouseDownCapture: onMouseDownCapture,
-      onMouseDown: onMouseDown,
-      onKeyPressCapture: onKeyPressCapture
-    }, htmlProps);
-  }
-});
-var Tabbable = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
-  as: "div",
-  useHook: useTabbable
-});
+        var transformType = isVertical || isVerticalScrollable ? 'translateY' : 'translateX';
+        var transformValue = transformType + '(' + String(translationValue) + 'px)';
+
+        return _react2['default'].createElement(
+          'div',
+          _extends({}, (0, _reactWithStyles.css)(styles.CalendarMonthGrid, isHorizontal && styles.CalendarMonthGrid__horizontal, isVertical && styles.CalendarMonthGrid__vertical, isVerticalScrollable && styles.CalendarMonthGrid__vertical_scrollable, isAnimating && styles.CalendarMonthGrid__animating, isAnimating && transitionDuration && {
+            transition: 'transform ' + String(transitionDuration) + 'ms ease-in-out'
+          }, (0, _object2['default'])({}, (0, _getTransformStyles2['default'])(transformValue), {
+            width: width
+          })), {
+            ref: this.setContainerRef,
+            onTransitionEnd: onMonthTransitionEnd
+          }),
+          months.map(function (month, i) {
+            var isVisible = i >= firstVisibleMonthIndex && i < firstVisibleMonthIndex + numberOfMonths;
+            var hideForAnimation = i === 0 && !isVisible;
+            var showForAnimation = i === 0 && isAnimating && isVisible;
+            var monthString = (0, _toISOMonthString2['default'])(month);
+            return _react2['default'].createElement(
+              'div',
+              _extends({
+                key: monthString
+              }, (0, _reactWithStyles.css)(isHorizontal && styles.CalendarMonthGrid_month__horizontal, hideForAnimation && styles.CalendarMonthGrid_month__hideForAnimation, showForAnimation && !isVertical && !isRTL && {
+                position: 'absolute',
+                left: -calendarMonthWidth
+              }, showForAnimation && !isVertical && isRTL && {
+                position: 'absolute',
+                right: 0
+              }, showForAnimation && isVertical && {
+                position: 'absolute',
+                top: -translationValue
+              }, !isVisible && !isAnimating && styles.CalendarMonthGrid_month__hidden)),
+              _react2['default'].createElement(_CalendarMonth2['default'], {
+                month: month,
+                isVisible: isVisible,
+                enableOutsideDays: enableOutsideDays,
+                modifiers: modifiers[monthString],
+                monthFormat: monthFormat,
+                orientation: orientation,
+                onDayMouseEnter: onDayMouseEnter,
+                onDayMouseLeave: onDayMouseLeave,
+                onDayClick: onDayClick,
+                onMonthSelect: _this3.onMonthSelect,
+                onYearSelect: _this3.onYearSelect,
+                renderMonthText: renderMonthText,
+                renderCalendarDay: renderCalendarDay,
+                renderDayContents: renderDayContents,
+                renderMonthElement: renderMonthElement,
+                firstDayOfWeek: firstDayOfWeek,
+                daySize: daySize,
+                focusedDate: isVisible ? focusedDate : null,
+                isFocused: isFocused,
+                phrases: phrases,
+                setMonthTitleHeight: setMonthTitleHeight,
+                dayAriaLabelFormat: dayAriaLabelFormat,
+                verticalBorderSpacing: verticalBorderSpacing,
+                horizontalMonthPadding: horizontalMonthPadding
+              })
+            );
+          })
+        );
+      }
+
+      return render;
+    }()
+  }]);
+
+  return CalendarMonthGrid;
+}(_react2['default'].Component);
+
+CalendarMonthGrid.propTypes = propTypes;
+CalendarMonthGrid.defaultProps = defaultProps;
+
+exports["default"] = (0, _reactWithStyles.withStyles)(function (_ref) {
+  var _ref$reactDates = _ref.reactDates,
+      color = _ref$reactDates.color,
+      noScrollBarOnVerticalScrollable = _ref$reactDates.noScrollBarOnVerticalScrollable,
+      spacing = _ref$reactDates.spacing,
+      zIndex = _ref$reactDates.zIndex;
+  return {
+    CalendarMonthGrid: {
+      background: color.background,
+      textAlign: 'left',
+      zIndex: zIndex
+    },
+
+    CalendarMonthGrid__animating: {
+      zIndex: zIndex + 1
+    },
+
+    CalendarMonthGrid__horizontal: {
+      position: 'absolute',
+      left: spacing.dayPickerHorizontalPadding
+    },
+
+    CalendarMonthGrid__vertical: {
+      margin: '0 auto'
+    },
+
+    CalendarMonthGrid__vertical_scrollable: (0, _object2['default'])({
+      margin: '0 auto',
+      overflowY: 'scroll'
+    }, noScrollBarOnVerticalScrollable && {
+      '-webkitOverflowScrolling': 'touch',
+      '::-webkit-scrollbar': {
+        '-webkit-appearance': 'none',
+        display: 'none'
+      }
+    }),

+    CalendarMonthGrid_month__horizontal: {
+      display: 'inline-block',
+      verticalAlign: 'top',
+      minHeight: '100%'
+    },

+    CalendarMonthGrid_month__hideForAnimation: {
+      position: 'absolute',
+      zIndex: zIndex - 1,
+      opacity: 0,
+      pointerEvents: 'none'
+    },

+    CalendarMonthGrid_month__hidden: {
+      visibility: 'hidden'
+    }
+  };
+})(CalendarMonthGrid);

 /***/ }),

-/***/ "GET3":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 4604:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
+Object.defineProperty(exports, "__esModule", ({
   value: true
+}));
+exports["default"] = CalendarWeek;
+
+var _react = __webpack_require__(9196);
+
+var _react2 = _interopRequireDefault(_react);
+
+var _airbnbPropTypes = __webpack_require__(4882);
+
+var _CalendarDay = __webpack_require__(7617);
+
+var _CalendarDay2 = _interopRequireDefault(_CalendarDay);
+
+var _CustomizableCalendarDay = __webpack_require__(6698);
+
+var _CustomizableCalendarDay2 = _interopRequireDefault(_CustomizableCalendarDay);
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+
+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
+  children: (0, _airbnbPropTypes.or)([(0, _airbnbPropTypes.childrenOfType)(_CalendarDay2['default']), (0, _airbnbPropTypes.childrenOfType)(_CustomizableCalendarDay2['default'])]).isRequired
 });
+
+function CalendarWeek(_ref) {
+  var children = _ref.children;
+
+  return _react2['default'].createElement(
+    'tr',
+    null,
+    children
+  );
+}
+
+CalendarWeek.propTypes = propTypes;
+
+/***/ }),
+
+/***/ 9588:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+
+var _react = __webpack_require__(9196);
+
+var _react2 = _interopRequireDefault(_react);
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+
+var ChevronDown = function () {
+  function ChevronDown(props) {
+    return _react2['default'].createElement(
+      'svg',
+      props,
+      _react2['default'].createElement('path', {
+        d: 'M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z'
+      })
+    );
+  }
+
+  return ChevronDown;
+}();
+
+ChevronDown.defaultProps = {
+  viewBox: '0 0 1000 1000'
+};
+exports["default"] = ChevronDown;
+
+/***/ }),
+
+/***/ 1809:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+
+var _react = __webpack_require__(9196);
+
+var _react2 = _interopRequireDefault(_react);
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+
+var ChevronUp = function () {
+  function ChevronUp(props) {
+    return _react2['default'].createElement(
+      'svg',
+      props,
+      _react2['default'].createElement('path', {
+        d: 'M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z'
+      })
+    );
+  }
+
+  return ChevronUp;
+}();
+
+ChevronUp.defaultProps = {
+  viewBox: '0 0 1000 1000'
+};
+exports["default"] = ChevronUp;
+
+/***/ }),
+
+/***/ 6973:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+
+var _react = __webpack_require__(9196);
+
+var _react2 = _interopRequireDefault(_react);
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+
+var CloseButton = function () {
+  function CloseButton(props) {
+    return _react2['default'].createElement(
+      'svg',
+      props,
+      _react2['default'].createElement('path', {
+        fillRule: 'evenodd',
+        d: 'M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z'
+      })
+    );
+  }
+
+  return CloseButton;
+}();
+
+CloseButton.defaultProps = {
+  viewBox: '0 0 12 12'
+};
+exports["default"] = CloseButton;
+
+/***/ }),
+
+/***/ 6698:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
 exports.PureCustomizableCalendarDay = exports.selectedStyles = exports.lastInRangeStyles = exports.selectedSpanStyles = exports.hoveredSpanStyles = exports.blockedOutOfRangeStyles = exports.blockedCalendarStyles = exports.blockedMinNightsStyles = exports.highlightedCalendarStyles = exports.outsideStyles = exports.defaultStyles = undefined;

 var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

 var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

-var _object = __webpack_require__("Koq/");
+var _object = __webpack_require__(4011);

 var _object2 = _interopRequireDefault(_object);

-var _react = __webpack_require__("cDcd");
+var _react = __webpack_require__(9196);

 var _react2 = _interopRequireDefault(_react);

-var _propTypes = __webpack_require__("17x9");
+var _propTypes = __webpack_require__(2652);

 var _propTypes2 = _interopRequireDefault(_propTypes);

-var _reactAddonsShallowCompare = __webpack_require__("YZDV");
+var _reactAddonsShallowCompare = __webpack_require__(2541);

 var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);

-var _reactMomentProptypes = __webpack_require__("XGBb");
+var _reactMomentProptypes = __webpack_require__(6150);

 var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);

-var _airbnbPropTypes = __webpack_require__("Hsqg");
+var _airbnbPropTypes = __webpack_require__(4882);

-var _reactWithStyles = __webpack_require__("TG4+");
+var _reactWithStyles = __webpack_require__(3576);

-var _moment = __webpack_require__("wy2R");
+var _moment = __webpack_require__(6292);

 var _moment2 = _interopRequireDefault(_moment);

-var _defaultPhrases = __webpack_require__("vV+G");
+var _defaultPhrases = __webpack_require__(6030);

-var _getPhrasePropTypes = __webpack_require__("yc2e");
+var _getPhrasePropTypes = __webpack_require__(2893);

 var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);

-var _getCalendarDaySettings = __webpack_require__("Ae65");
+var _getCalendarDaySettings = __webpack_require__(7475);

 var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings);

-var _constants = __webpack_require__("Fv1B");
+var _constants = __webpack_require__(257);

-var _DefaultTheme = __webpack_require__("xOhs");
+var _DefaultTheme = __webpack_require__(8158);

 var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme);

@@ -8014,7 +8284,7 @@ CustomizableCalendarDay.propTypes = propTypes;
 CustomizableCalendarDay.defaultProps = defaultProps;

 exports.PureCustomizableCalendarDay = CustomizableCalendarDay;
-exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
+exports["default"] = (0, _reactWithStyles.withStyles)(function (_ref2) {
   var font = _ref2.reactDates.font;
   return {
     CalendarDay: {
@@ -8036,1796 +8306,1948 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {

 /***/ }),

-/***/ "GG7f":
-/***/ (function(module, exports, __webpack_require__) {
-
-// eslint-disable-next-line import/no-unresolved
-__webpack_require__("H24B");
-
+/***/ 8665:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-/***/ }),
+"use strict";

-/***/ "GK4x":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * WordPress dependencies
- */
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports.PureDayPicker = exports.defaultProps = undefined;

-const ToolbarContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])();
-/* harmony default export */ __webpack_exports__["a"] = (ToolbarContext);
+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

-/***/ }),
+var _object = __webpack_require__(4011);

-/***/ "GRId":
-/***/ (function(module, exports) {
+var _object2 = _interopRequireDefault(_object);

-(function() { module.exports = window["wp"]["element"]; }());
+var _react = __webpack_require__(9196);

-/***/ }),
+var _react2 = _interopRequireDefault(_react);

-/***/ "Gn0q":
-/***/ (function(module, exports, __webpack_require__) {
+var _propTypes = __webpack_require__(2652);

-"use strict";
+var _propTypes2 = _interopRequireDefault(_propTypes);

+var _reactAddonsShallowCompare = __webpack_require__(2541);

-var define = __webpack_require__("82c2");
-var getPolyfill = __webpack_require__("5yQQ");
+var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);

-module.exports = function shimContains() {
-	var polyfill = getPolyfill();
-	if (typeof document !== 'undefined') {
-		define(
-			document,
-			{ contains: polyfill },
-			{ contains: function () { return document.contains !== polyfill; } }
-		);
-		if (typeof Element !== 'undefined') {
-			define(
-				Element.prototype,
-				{ contains: polyfill },
-				{ contains: function () { return Element.prototype.contains !== polyfill; } }
-			);
-		}
-	}
-	return polyfill;
-};
+var _airbnbPropTypes = __webpack_require__(4882);

+var _reactWithStyles = __webpack_require__(3576);

-/***/ }),
+var _moment = __webpack_require__(6292);

-/***/ "GoyQ":
-/***/ (function(module, exports) {
+var _moment2 = _interopRequireDefault(_moment);

-/**
- * Checks if `value` is the
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
- * @example
- *
- * _.isObject({});
- * // => true
- *
- * _.isObject([1, 2, 3]);
- * // => true
- *
- * _.isObject(_.noop);
- * // => true
- *
- * _.isObject(null);
- * // => false
- */
-function isObject(value) {
-  var type = typeof value;
-  return value != null && (type == 'object' || type == 'function');
-}
+var _throttle = __webpack_require__(8172);

-module.exports = isObject;
+var _throttle2 = _interopRequireDefault(_throttle);

+var _isTouchDevice = __webpack_require__(5834);

-/***/ }),
+var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice);

-/***/ "H24B":
-/***/ (function(module, exports, __webpack_require__) {
+var _reactOutsideClickHandler = __webpack_require__(6606);

-"use strict";
+var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler);

+var _defaultPhrases = __webpack_require__(6030);

-var _registerCSSInterfaceWithDefaultTheme = __webpack_require__("TUyu");
+var _getPhrasePropTypes = __webpack_require__(2893);

-var _registerCSSInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerCSSInterfaceWithDefaultTheme);
+var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+var _CalendarMonthGrid = __webpack_require__(7938);

-(0, _registerCSSInterfaceWithDefaultTheme2['default'])();
+var _CalendarMonthGrid2 = _interopRequireDefault(_CalendarMonthGrid);

-/***/ }),
+var _DayPickerNavigation = __webpack_require__(3895);

-/***/ "Hsqg":
-/***/ (function(module, exports, __webpack_require__) {
+var _DayPickerNavigation2 = _interopRequireDefault(_DayPickerNavigation);

-module.exports =  true ? __webpack_require__("DciD") : undefined;
+var _DayPickerKeyboardShortcuts = __webpack_require__(600);

+var _DayPickerKeyboardShortcuts2 = _interopRequireDefault(_DayPickerKeyboardShortcuts);

+var _getNumberOfCalendarMonthWeeks = __webpack_require__(4112);

-/***/ }),
+var _getNumberOfCalendarMonthWeeks2 = _interopRequireDefault(_getNumberOfCalendarMonthWeeks);

-/***/ "HwJD":
-/***/ (function(module, exports, __webpack_require__) {
+var _getCalendarMonthWidth = __webpack_require__(8964);

-"use strict";
+var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth);

+var _calculateDimension = __webpack_require__(8607);

-module.exports = Number.isNaN || function isNaN(a) {
-	return a !== a;
-};
+var _calculateDimension2 = _interopRequireDefault(_calculateDimension);

+var _getActiveElement = __webpack_require__(5814);

-/***/ }),
+var _getActiveElement2 = _interopRequireDefault(_getActiveElement);

-/***/ "HyUg":
-/***/ (function(module, exports, __webpack_require__) {
+var _isDayVisible = __webpack_require__(5713);

-"use strict";
+var _isDayVisible2 = _interopRequireDefault(_isDayVisible);

+var _ModifiersShape = __webpack_require__(6747);

-var origSymbol = typeof Symbol !== 'undefined' && Symbol;
-var hasSymbolSham = __webpack_require__("eJkf");
+var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);

-module.exports = function hasNativeSymbols() {
-	if (typeof origSymbol !== 'function') { return false; }
-	if (typeof Symbol !== 'function') { return false; }
-	if (typeof origSymbol('foo') !== 'symbol') { return false; }
-	if (typeof Symbol('bar') !== 'symbol') { return false; }
+var _ScrollableOrientationShape = __webpack_require__(6553);

-	return hasSymbolSham();
-};
+var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);

+var _DayOfWeekShape = __webpack_require__(243);

-/***/ }),
+var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape);

-/***/ "I/A+":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+var _CalendarInfoPositionShape = __webpack_require__(8182);

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _objectSpread2; });
-/* unused harmony export b */
-function _defineProperty(obj, key, value) {
-  if (key in obj) {
-    Object.defineProperty(obj, key, {
-      value: value,
-      enumerable: true,
-      configurable: true,
-      writable: true
-    });
-  } else {
-    obj[key] = value;
-  }
+var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape);

-  return obj;
-}
+var _constants = __webpack_require__(257);

-function ownKeys(object, enumerableOnly) {
-  var keys = Object.keys(object);
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  if (Object.getOwnPropertySymbols) {
-    var symbols = Object.getOwnPropertySymbols(object);
-    if (enumerableOnly) symbols = symbols.filter(function (sym) {
-      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
-    });
-    keys.push.apply(keys, symbols);
-  }
+function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

-  return keys;
-}
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-function _objectSpread2(target) {
-  for (var i = 1; i < arguments.length; i++) {
-    var source = arguments[i] != null ? arguments[i] : {};
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

-    if (i % 2) {
-      ownKeys(Object(source), true).forEach(function (key) {
-        _defineProperty(target, key, source[key]);
-      });
-    } else if (Object.getOwnPropertyDescriptors) {
-      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
-    } else {
-      ownKeys(Object(source)).forEach(function (key) {
-        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
-      });
-    }
-  }
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

-  return target;
-}
+var MONTH_PADDING = 23;
+var PREV_TRANSITION = 'prev';
+var NEXT_TRANSITION = 'next';
+var MONTH_SELECTION_TRANSITION = 'month_selection';
+var YEAR_SELECTION_TRANSITION = 'year_selection';

-function _objectWithoutPropertiesLoose(source, excluded) {
-  if (source == null) return {};
-  var target = {};
-  var sourceKeys = Object.keys(source);
-  var key, i;
+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {

-  for (i = 0; i < sourceKeys.length; i++) {
-    key = sourceKeys[i];
-    if (excluded.indexOf(key) >= 0) continue;
-    target[key] = source[key];
-  }
+  // calendar presentation props
+  enableOutsideDays: _propTypes2['default'].bool,
+  numberOfMonths: _propTypes2['default'].number,
+  orientation: _ScrollableOrientationShape2['default'],
+  withPortal: _propTypes2['default'].bool,
+  onOutsideClick: _propTypes2['default'].func,
+  hidden: _propTypes2['default'].bool,
+  initialVisibleMonth: _propTypes2['default'].func,
+  firstDayOfWeek: _DayOfWeekShape2['default'],
+  renderCalendarInfo: _propTypes2['default'].func,
+  calendarInfoPosition: _CalendarInfoPositionShape2['default'],
+  hideKeyboardShortcutsPanel: _propTypes2['default'].bool,
+  daySize: _airbnbPropTypes.nonNegativeInteger,
+  isRTL: _propTypes2['default'].bool,
+  verticalHeight: _airbnbPropTypes.nonNegativeInteger,
+  noBorder: _propTypes2['default'].bool,
+  transitionDuration: _airbnbPropTypes.nonNegativeInteger,
+  verticalBorderSpacing: _airbnbPropTypes.nonNegativeInteger,
+  horizontalMonthPadding: _airbnbPropTypes.nonNegativeInteger,

-  return target;
-}
+  // navigation props
+  navPrev: _propTypes2['default'].node,
+  navNext: _propTypes2['default'].node,
+  noNavButtons: _propTypes2['default'].bool,
+  onPrevMonthClick: _propTypes2['default'].func,
+  onNextMonthClick: _propTypes2['default'].func,
+  onMonthChange: _propTypes2['default'].func,
+  onYearChange: _propTypes2['default'].func,
+  onMultiplyScrollableMonths: _propTypes2['default'].func, // VERTICAL_SCROLLABLE daypickers only

-function _unsupportedIterableToArray(o, minLen) {
-  if (!o) return;
-  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
-  var n = Object.prototype.toString.call(o).slice(8, -1);
-  if (n === "Object" && o.constructor) n = o.constructor.name;
-  if (n === "Map" || n === "Set") return Array.from(o);
-  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
-}
+  // month props
+  renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
+  renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),

-function _arrayLikeToArray(arr, len) {
-  if (len == null || len > arr.length) len = arr.length;
+  // day props
+  modifiers: _propTypes2['default'].objectOf(_propTypes2['default'].objectOf(_ModifiersShape2['default'])),
+  renderCalendarDay: _propTypes2['default'].func,
+  renderDayContents: _propTypes2['default'].func,
+  onDayClick: _propTypes2['default'].func,
+  onDayMouseEnter: _propTypes2['default'].func,
+  onDayMouseLeave: _propTypes2['default'].func,

-  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
+  // accessibility props
+  isFocused: _propTypes2['default'].bool,
+  getFirstFocusableDay: _propTypes2['default'].func,
+  onBlur: _propTypes2['default'].func,
+  showKeyboardShortcuts: _propTypes2['default'].bool,

-  return arr2;
-}
+  // internationalization
+  monthFormat: _propTypes2['default'].string,
+  weekDayFormat: _propTypes2['default'].string,
+  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerPhrases)),
+  dayAriaLabelFormat: _propTypes2['default'].string
+}));

-function _createForOfIteratorHelperLoose(o, allowArrayLike) {
-  var it;
+var defaultProps = exports.defaultProps = {
+  // calendar presentation props
+  enableOutsideDays: false,
+  numberOfMonths: 2,
+  orientation: _constants.HORIZONTAL_ORIENTATION,
+  withPortal: false,
+  onOutsideClick: function () {
+    function onOutsideClick() {}

-  if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
-    if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
-      if (it) o = it;
-      var i = 0;
-      return function () {
-        if (i >= o.length) return {
-          done: true
-        };
-        return {
-          done: false,
-          value: o[i++]
-        };
-      };
-    }
+    return onOutsideClick;
+  }(),

-    throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
-  }
+  hidden: false,
+  initialVisibleMonth: function () {
+    function initialVisibleMonth() {
+      return (0, _moment2['default'])();
+    }

-  it = o[Symbol.iterator]();
-  return it.next.bind(it);
-}
+    return initialVisibleMonth;
+  }(),
+  firstDayOfWeek: null,
+  renderCalendarInfo: null,
+  calendarInfoPosition: _constants.INFO_POSITION_BOTTOM,
+  hideKeyboardShortcutsPanel: false,
+  daySize: _constants.DAY_SIZE,
+  isRTL: false,
+  verticalHeight: null,
+  noBorder: false,
+  transitionDuration: undefined,
+  verticalBorderSpacing: undefined,
+  horizontalMonthPadding: 13,

+  // navigation props
+  navPrev: null,
+  navNext: null,
+  noNavButtons: false,
+  onPrevMonthClick: function () {
+    function onPrevMonthClick() {}

+    return onPrevMonthClick;
+  }(),
+  onNextMonthClick: function () {
+    function onNextMonthClick() {}

+    return onNextMonthClick;
+  }(),
+  onMonthChange: function () {
+    function onMonthChange() {}

-/***/ }),
+    return onMonthChange;
+  }(),
+  onYearChange: function () {
+    function onYearChange() {}

-/***/ "IVEb":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    return onYearChange;
+  }(),
+  onMultiplyScrollableMonths: function () {
+    function onMultiplyScrollableMonths() {}

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useCreateElement; });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _SystemContext_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("eUCI");
-/* harmony import */ var _rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("RDTF");
+    return onMultiplyScrollableMonths;
+  }(),


+  // month props
+  renderMonthText: null,
+  renderMonthElement: null,

+  // day props
+  modifiers: {},
+  renderCalendarDay: undefined,
+  renderDayContents: null,
+  onDayClick: function () {
+    function onDayClick() {}

-function isRenderProp(children) {
-  return typeof children === "function";
-}
+    return onDayClick;
+  }(),
+  onDayMouseEnter: function () {
+    function onDayMouseEnter() {}

-/**
- * Custom hook that will call `children` if it's a function. If
- * `useCreateElement` has been passed to the context, it'll be used instead.
- *
- * @example
- * import React from "react";
- * import { SystemProvider, useCreateElement } from "reakit-system";
- *
- * const system = {
- *   useCreateElement(type, props, children = props.children) {
- *     // very similar to what `useCreateElement` does already
- *     if (typeof children === "function") {
- *       const { children: _, ...rest } = props;
- *       return children(rest);
- *     }
- *     return React.createElement(type, props, children);
- *   },
- * };
- *
- * function Component(props) {
- *   return useCreateElement("div", props);
- * }
- *
- * function App() {
- *   return (
- *     <SystemProvider unstable_system={system}>
- *       <Component url="url">{({ url }) => <a href={url}>link</a>}</Component>
- *     </SystemProvider>
- *   );
- * }
- */
+    return onDayMouseEnter;
+  }(),
+  onDayMouseLeave: function () {
+    function onDayMouseLeave() {}

-var useCreateElement = function useCreateElement(type, props, children) {
-  if (children === void 0) {
-    children = props.children;
-  }
+    return onDayMouseLeave;
+  }(),

-  var context = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_SystemContext_js__WEBPACK_IMPORTED_MODULE_1__[/* SystemContext */ "a"]);

-  if (context.useCreateElement) {
-    return context.useCreateElement(type, props, children);
-  }
+  // accessibility props
+  isFocused: false,
+  getFirstFocusableDay: null,
+  onBlur: function () {
+    function onBlur() {}

-  if (typeof type === "string" && isRenderProp(children)) {
-    var _ = props.children,
-        rest = Object(_rollupPluginBabelHelpers_0c84a174_js__WEBPACK_IMPORTED_MODULE_2__[/* a */ "b"])(props, ["children"]);
+    return onBlur;
+  }(),

-    return children(rest);
-  }
+  showKeyboardShortcuts: false,

-  return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(type, props, children);
+  // internationalization
+  monthFormat: 'MMMM YYYY',
+  weekDayFormat: 'dd',
+  phrases: _defaultPhrases.DayPickerPhrases,
+  dayAriaLabelFormat: undefined
 };

+var DayPicker = function (_React$Component) {
+  _inherits(DayPicker, _React$Component);

+  function DayPicker(props) {
+    _classCallCheck(this, DayPicker);

+    var _this = _possibleConstructorReturn(this, (DayPicker.__proto__ || Object.getPrototypeOf(DayPicker)).call(this, props));

-/***/ }),
+    var currentMonth = props.hidden ? (0, _moment2['default'])() : props.initialVisibleMonth();

-/***/ "IdCN":
-/***/ (function(module, exports, __webpack_require__) {
+    var focusedDate = currentMonth.clone().startOf('month');
+    if (props.getFirstFocusableDay) {
+      focusedDate = props.getFirstFocusableDay(currentMonth);
+    }

-"use strict";
+    var horizontalMonthPadding = props.horizontalMonthPadding;


-var fnToStr = Function.prototype.toString;
-var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
-var badArrayLike;
-var isCallableMarker;
-if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
-	try {
-		badArrayLike = Object.defineProperty({}, 'length', {
-			get: function () {
-				throw isCallableMarker;
-			}
-		});
-		isCallableMarker = {};
-		// eslint-disable-next-line no-throw-literal
-		reflectApply(function () { throw 42; }, null, badArrayLike);
-	} catch (_) {
-		if (_ !== isCallableMarker) {
-			reflectApply = null;
-		}
-	}
-} else {
-	reflectApply = null;
-}
+    var translationValue = props.isRTL && _this.isHorizontal() ? -(0, _getCalendarMonthWidth2['default'])(props.daySize, horizontalMonthPadding) : 0;

-var constructorRegex = /^\s*class\b/;
-var isES6ClassFn = function isES6ClassFunction(value) {
-	try {
-		var fnStr = fnToStr.call(value);
-		return constructorRegex.test(fnStr);
-	} catch (e) {
-		return false; // not a function
-	}
-};
+    _this.hasSetInitialVisibleMonth = !props.hidden;
+    _this.state = {
+      currentMonth: currentMonth,
+      monthTransition: null,
+      translationValue: translationValue,
+      scrollableMonthMultiple: 1,
+      calendarMonthWidth: (0, _getCalendarMonthWidth2['default'])(props.daySize, horizontalMonthPadding),
+      focusedDate: !props.hidden || props.isFocused ? focusedDate : null,
+      nextFocusedDate: null,
+      showKeyboardShortcuts: props.showKeyboardShortcuts,
+      onKeyboardShortcutsPanelClose: function () {
+        function onKeyboardShortcutsPanelClose() {}

-var tryFunctionObject = function tryFunctionToStr(value) {
-	try {
-		if (isES6ClassFn(value)) { return false; }
-		fnToStr.call(value);
-		return true;
-	} catch (e) {
-		return false;
-	}
-};
-var toStr = Object.prototype.toString;
-var fnClass = '[object Function]';
-var genClass = '[object GeneratorFunction]';
-var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
+        return onKeyboardShortcutsPanelClose;
+      }(),

-module.exports = reflectApply
-	? function isCallable(value) {
-		if (!value) { return false; }
-		if (typeof value !== 'function' && typeof value !== 'object') { return false; }
-		if (typeof value === 'function' && !value.prototype) { return true; }
-		try {
-			reflectApply(value, null, badArrayLike);
-		} catch (e) {
-			if (e !== isCallableMarker) { return false; }
-		}
-		return !isES6ClassFn(value);
-	}
-	: function isCallable(value) {
-		if (!value) { return false; }
-		if (typeof value !== 'function' && typeof value !== 'object') { return false; }
-		if (typeof value === 'function' && !value.prototype) { return true; }
-		if (hasToStringTag) { return tryFunctionObject(value); }
-		if (isES6ClassFn(value)) { return false; }
-		var strClass = toStr.call(value);
-		return strClass === fnClass || strClass === genClass;
-	};
+      isTouchDevice: (0, _isTouchDevice2['default'])(),
+      withMouseInteractions: true,
+      calendarInfoWidth: 0,
+      monthTitleHeight: null,
+      hasSetHeight: false
+    };

+    _this.setCalendarMonthWeeks(currentMonth);

-/***/ }),
+    _this.calendarMonthGridHeight = 0;
+    _this.setCalendarInfoWidthTimeout = null;

-/***/ "IgE5":
-/***/ (function(module, exports, __webpack_require__) {
+    _this.onKeyDown = _this.onKeyDown.bind(_this);
+    _this.throttledKeyDown = (0, _throttle2['default'])(_this.onFinalKeyDown, 200, { trailing: false });
+    _this.onPrevMonthClick = _this.onPrevMonthClick.bind(_this);
+    _this.onNextMonthClick = _this.onNextMonthClick.bind(_this);
+    _this.onMonthChange = _this.onMonthChange.bind(_this);
+    _this.onYearChange = _this.onYearChange.bind(_this);

-"use strict";
+    _this.multiplyScrollableMonths = _this.multiplyScrollableMonths.bind(_this);
+    _this.updateStateAfterMonthTransition = _this.updateStateAfterMonthTransition.bind(_this);

+    _this.openKeyboardShortcutsPanel = _this.openKeyboardShortcutsPanel.bind(_this);
+    _this.closeKeyboardShortcutsPanel = _this.closeKeyboardShortcutsPanel.bind(_this);

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = isDayVisible;
+    _this.setCalendarInfoRef = _this.setCalendarInfoRef.bind(_this);
+    _this.setContainerRef = _this.setContainerRef.bind(_this);
+    _this.setTransitionContainerRef = _this.setTransitionContainerRef.bind(_this);
+    _this.setMonthTitleHeight = _this.setMonthTitleHeight.bind(_this);
+    return _this;
+  }

-var _isBeforeDay = __webpack_require__("h6xH");
+  _createClass(DayPicker, [{
+    key: 'componentDidMount',
+    value: function () {
+      function componentDidMount() {
+        var currentMonth = this.state.currentMonth;

-var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay);
-
-var _isAfterDay = __webpack_require__("Nho6");
-
-var _isAfterDay2 = _interopRequireDefault(_isAfterDay);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+        if (this.calendarInfo) {
+          this.setState({
+            isTouchDevice: (0, _isTouchDevice2['default'])(),
+            calendarInfoWidth: (0, _calculateDimension2['default'])(this.calendarInfo, 'width', true, true)
+          });
+        } else {
+          this.setState({ isTouchDevice: (0, _isTouchDevice2['default'])() });
+        }

-function isDayVisible(day, month, numberOfMonths, enableOutsideDays) {
-  var firstDayOfFirstMonth = month.clone().startOf('month');
-  if (enableOutsideDays) firstDayOfFirstMonth = firstDayOfFirstMonth.startOf('week');
-  if ((0, _isBeforeDay2['default'])(day, firstDayOfFirstMonth)) return false;
+        this.setCalendarMonthWeeks(currentMonth);
+      }

-  var lastDayOfLastMonth = month.clone().add(numberOfMonths - 1, 'months').endOf('month');
-  if (enableOutsideDays) lastDayOfLastMonth = lastDayOfLastMonth.endOf('week');
-  return !(0, _isAfterDay2['default'])(day, lastDayOfLastMonth);
-}
+      return componentDidMount;
+    }()
+  }, {
+    key: 'componentWillReceiveProps',
+    value: function () {
+      function componentWillReceiveProps(nextProps) {
+        var hidden = nextProps.hidden,
+            isFocused = nextProps.isFocused,
+            showKeyboardShortcuts = nextProps.showKeyboardShortcuts,
+            onBlur = nextProps.onBlur,
+            renderMonthText = nextProps.renderMonthText,
+            horizontalMonthPadding = nextProps.horizontalMonthPadding;
+        var currentMonth = this.state.currentMonth;

-/***/ }),

-/***/ "J2ba":
-/***/ (function(module, exports, __webpack_require__) {
+        if (!hidden) {
+          if (!this.hasSetInitialVisibleMonth) {
+            this.hasSetInitialVisibleMonth = true;
+            this.setState({
+              currentMonth: nextProps.initialVisibleMonth()
+            });
+          }
+        }

-"use strict";
+        var _props = this.props,
+            daySize = _props.daySize,
+            prevIsFocused = _props.isFocused,
+            prevRenderMonthText = _props.renderMonthText;


-var abs = __webpack_require__("S8ty");
-var floor = __webpack_require__("8sMu");
-var Type = __webpack_require__("PoQ0");
+        if (nextProps.daySize !== daySize) {
+          this.setState({
+            calendarMonthWidth: (0, _getCalendarMonthWidth2['default'])(nextProps.daySize, horizontalMonthPadding)
+          });
+        }

-var $isNaN = __webpack_require__("HwJD");
-var $isFinite = __webpack_require__("ald4");
+        if (isFocused !== prevIsFocused) {
+          if (isFocused) {
+            var focusedDate = this.getFocusedDay(currentMonth);

-// https://tc39.es/ecma262/#sec-isintegralnumber
+            var onKeyboardShortcutsPanelClose = this.state.onKeyboardShortcutsPanelClose;

-module.exports = function IsIntegralNumber(argument) {
-	if (Type(argument) !== 'Number' || $isNaN(argument) || !$isFinite(argument)) {
-		return false;
-	}
-	var absValue = abs(argument);
-	return floor(absValue) === absValue;
-};
+            if (nextProps.showKeyboardShortcuts) {
+              // the ? shortcut came from the input and we should return input there once it is close
+              onKeyboardShortcutsPanelClose = onBlur;
+            }

+            this.setState({
+              showKeyboardShortcuts: showKeyboardShortcuts,
+              onKeyboardShortcutsPanelClose: onKeyboardShortcutsPanelClose,
+              focusedDate: focusedDate,
+              withMouseInteractions: false
+            });
+          } else {
+            this.setState({ focusedDate: null });
+          }
+        }

-/***/ }),
+        if (renderMonthText !== prevRenderMonthText) {
+          this.setState({
+            monthTitleHeight: null
+          });
+        }
+      }

-/***/ "J7JS":
-/***/ (function(module, exports, __webpack_require__) {
+      return componentWillReceiveProps;
+    }()
+  }, {
+    key: 'shouldComponentUpdate',
+    value: function () {
+      function shouldComponentUpdate(nextProps, nextState) {
+        return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
+      }

-"use strict";
+      return shouldComponentUpdate;
+    }()
+  }, {
+    key: 'componentWillUpdate',
+    value: function () {
+      function componentWillUpdate() {
+        var _this2 = this;

+        var transitionDuration = this.props.transitionDuration;

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+        // Calculating the dimensions trigger a DOM repaint which
+        // breaks the CSS transition.
+        // The setTimeout will wait until the transition ends.

-var _propTypes = __webpack_require__("17x9");
+        if (this.calendarInfo) {
+          this.setCalendarInfoWidthTimeout = setTimeout(function () {
+            var calendarInfoWidth = _this2.state.calendarInfoWidth;

-var _propTypes2 = _interopRequireDefault(_propTypes);
+            var calendarInfoPanelWidth = (0, _calculateDimension2['default'])(_this2.calendarInfo, 'width', true, true);
+            if (calendarInfoWidth !== calendarInfoPanelWidth) {
+              _this2.setState({
+                calendarInfoWidth: calendarInfoPanelWidth
+              });
+            }
+          }, transitionDuration);
+        }
+      }

-var _airbnbPropTypes = __webpack_require__("Hsqg");
+      return componentWillUpdate;
+    }()
+  }, {
+    key: 'componentDidUpdate',
+    value: function () {
+      function componentDidUpdate(prevProps) {
+        var _props2 = this.props,
+            orientation = _props2.orientation,
+            daySize = _props2.daySize,
+            isFocused = _props2.isFocused,
+            numberOfMonths = _props2.numberOfMonths;
+        var _state = this.state,
+            focusedDate = _state.focusedDate,
+            monthTitleHeight = _state.monthTitleHeight;

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+        if (this.isHorizontal() && (orientation !== prevProps.orientation || daySize !== prevProps.daySize)) {
+          var visibleCalendarWeeks = this.calendarMonthWeeks.slice(1, numberOfMonths + 1);
+          var calendarMonthWeeksHeight = Math.max.apply(Math, [0].concat(_toConsumableArray(visibleCalendarWeeks))) * (daySize - 1);
+          var newMonthHeight = monthTitleHeight + calendarMonthWeeksHeight + 1;
+          this.adjustDayPickerHeight(newMonthHeight);
+        }

-function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
+        if (!prevProps.isFocused && isFocused && !focusedDate) {
+          this.container.focus();
+        }
+      }

-exports['default'] = (0, _airbnbPropTypes.and)([_propTypes2['default'].instanceOf(Set), function () {
-  function modifiers(props, propName) {
-    for (var _len = arguments.length, rest = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
-      rest[_key - 2] = arguments[_key];
-    }
+      return componentDidUpdate;
+    }()
+  }, {
+    key: 'componentWillUnmount',
+    value: function () {
+      function componentWillUnmount() {
+        clearTimeout(this.setCalendarInfoWidthTimeout);
+      }

-    var propValue = props[propName];
+      return componentWillUnmount;
+    }()
+  }, {
+    key: 'onKeyDown',
+    value: function () {
+      function onKeyDown(e) {
+        e.stopPropagation();
+        if (!_constants.MODIFIER_KEY_NAMES.has(e.key)) {
+          this.throttledKeyDown(e);
+        }
+      }

-    var firstError = void 0;
-    [].concat(_toConsumableArray(propValue)).some(function (v, i) {
-      var _PropTypes$string;
+      return onKeyDown;
+    }()
+  }, {
+    key: 'onFinalKeyDown',
+    value: function () {
+      function onFinalKeyDown(e) {
+        this.setState({ withMouseInteractions: false });

-      var fakePropName = String(propName) + ': index ' + String(i);
-      firstError = (_PropTypes$string = _propTypes2['default'].string).isRequired.apply(_PropTypes$string, [_defineProperty({}, fakePropName, v), fakePropName].concat(rest));
-      return firstError != null;
-    });
-    return firstError == null ? null : firstError;
-  }
+        var _props3 = this.props,
+            onBlur = _props3.onBlur,
+            isRTL = _props3.isRTL;
+        var _state2 = this.state,
+            focusedDate = _state2.focusedDate,
+            showKeyboardShortcuts = _state2.showKeyboardShortcuts;

-  return modifiers;
-}()], 'Modifiers (Set of Strings)');
+        if (!focusedDate) return;

-/***/ }),
+        var newFocusedDate = focusedDate.clone();

-/***/ "JLmN":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+        var didTransitionMonth = false;

-"use strict";
-/* unused harmony export Clickable */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useClickable; });
-/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
-/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("hE48");
-/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("qdes");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("71Og");
-/* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("KA1K");
-/* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("eNtd");
-/* harmony import */ var reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("k2cL");
-/* harmony import */ var _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("G3V0");
+        // focus might be anywhere when the keyboard shortcuts panel is opened so we want to
+        // return it to wherever it was before when the panel was opened
+        var activeElement = (0, _getActiveElement2['default'])();
+        var onKeyboardShortcutsPanelClose = function () {
+          function onKeyboardShortcutsPanelClose() {
+            if (activeElement) activeElement.focus();
+          }

+          return onKeyboardShortcutsPanelClose;
+        }();

+        switch (e.key) {
+          case 'ArrowUp':
+            e.preventDefault();
+            newFocusedDate.subtract(1, 'week');
+            didTransitionMonth = this.maybeTransitionPrevMonth(newFocusedDate);
+            break;
+          case 'ArrowLeft':
+            e.preventDefault();
+            if (isRTL) {
+              newFocusedDate.add(1, 'day');
+            } else {
+              newFocusedDate.subtract(1, 'day');
+            }
+            didTransitionMonth = this.maybeTransitionPrevMonth(newFocusedDate);
+            break;
+          case 'Home':
+            e.preventDefault();
+            newFocusedDate.startOf('week');
+            didTransitionMonth = this.maybeTransitionPrevMonth(newFocusedDate);
+            break;
+          case 'PageUp':
+            e.preventDefault();
+            newFocusedDate.subtract(1, 'month');
+            didTransitionMonth = this.maybeTransitionPrevMonth(newFocusedDate);
+            break;

+          case 'ArrowDown':
+            e.preventDefault();
+            newFocusedDate.add(1, 'week');
+            didTransitionMonth = this.maybeTransitionNextMonth(newFocusedDate);
+            break;
+          case 'ArrowRight':
+            e.preventDefault();
+            if (isRTL) {
+              newFocusedDate.subtract(1, 'day');
+            } else {
+              newFocusedDate.add(1, 'day');
+            }
+            didTransitionMonth = this.maybeTransitionNextMonth(newFocusedDate);
+            break;
+          case 'End':
+            e.preventDefault();
+            newFocusedDate.endOf('week');
+            didTransitionMonth = this.maybeTransitionNextMonth(newFocusedDate);
+            break;
+          case 'PageDown':
+            e.preventDefault();
+            newFocusedDate.add(1, 'month');
+            didTransitionMonth = this.maybeTransitionNextMonth(newFocusedDate);
+            break;

+          case '?':
+            this.openKeyboardShortcutsPanel(onKeyboardShortcutsPanelClose);
+            break;

+          case 'Escape':
+            if (showKeyboardShortcuts) {
+              this.closeKeyboardShortcutsPanel();
+            } else {
+              onBlur();
+            }
+            break;

+          default:
+            break;
+        }

+        // If there was a month transition, do not update the focused date until the transition has
+        // completed. Otherwise, attempting to focus on a DOM node may interrupt the CSS animation. If
+        // didTransitionMonth is true, the focusedDate gets updated in #updateStateAfterMonthTransition
+        if (!didTransitionMonth) {
+          this.setState({
+            focusedDate: newFocusedDate
+          });
+        }
+      }

+      return onFinalKeyDown;
+    }()
+  }, {
+    key: 'onPrevMonthClick',
+    value: function () {
+      function onPrevMonthClick(nextFocusedDate, e) {
+        var _props4 = this.props,
+            daySize = _props4.daySize,
+            isRTL = _props4.isRTL,
+            numberOfMonths = _props4.numberOfMonths;
+        var _state3 = this.state,
+            calendarMonthWidth = _state3.calendarMonthWidth,
+            monthTitleHeight = _state3.monthTitleHeight;


+        if (e) e.preventDefault();

+        var translationValue = void 0;
+        if (this.isVertical()) {
+          var calendarMonthWeeksHeight = this.calendarMonthWeeks[0] * (daySize - 1);
+          translationValue = monthTitleHeight + calendarMonthWeeksHeight + 1;
+        } else if (this.isHorizontal()) {
+          translationValue = calendarMonthWidth;
+          if (isRTL) {
+            translationValue = -2 * calendarMonthWidth;
+          }

+          var visibleCalendarWeeks = this.calendarMonthWeeks.slice(0, numberOfMonths);
+          var _calendarMonthWeeksHeight = Math.max.apply(Math, [0].concat(_toConsumableArray(visibleCalendarWeeks))) * (daySize - 1);
+          var newMonthHeight = monthTitleHeight + _calendarMonthWeeksHeight + 1;
+          this.adjustDayPickerHeight(newMonthHeight);
+        }

+        this.setState({
+          monthTransition: PREV_TRANSITION,
+          translationValue: translationValue,
+          focusedDate: null,
+          nextFocusedDate: nextFocusedDate
+        });
+      }

+      return onPrevMonthClick;
+    }()
+  }, {
+    key: 'onMonthChange',
+    value: function () {
+      function onMonthChange(currentMonth) {
+        this.setCalendarMonthWeeks(currentMonth);
+        this.calculateAndSetDayPickerHeight();

+        // Translation value is a hack to force an invisible transition that
+        // properly rerenders the CalendarMonthGrid
+        this.setState({
+          monthTransition: MONTH_SELECTION_TRANSITION,
+          translationValue: 0.00001,
+          focusedDate: null,
+          nextFocusedDate: currentMonth,
+          currentMonth: currentMonth
+        });
+      }

+      return onMonthChange;
+    }()
+  }, {
+    key: 'onYearChange',
+    value: function () {
+      function onYearChange(currentMonth) {
+        this.setCalendarMonthWeeks(currentMonth);
+        this.calculateAndSetDayPickerHeight();

+        // Translation value is a hack to force an invisible transition that
+        // properly rerenders the CalendarMonthGrid
+        this.setState({
+          monthTransition: YEAR_SELECTION_TRANSITION,
+          translationValue: 0.0001,
+          focusedDate: null,
+          nextFocusedDate: currentMonth,
+          currentMonth: currentMonth
+        });
+      }

-// Automatically generated
-var CLICKABLE_KEYS = ["unstable_clickOnEnter", "unstable_clickOnSpace"];
+      return onYearChange;
+    }()
+  }, {
+    key: 'onNextMonthClick',
+    value: function () {
+      function onNextMonthClick(nextFocusedDate, e) {
+        var _props5 = this.props,
+            isRTL = _props5.isRTL,
+            numberOfMonths = _props5.numberOfMonths,
+            daySize = _props5.daySize;
+        var _state4 = this.state,
+            calendarMonthWidth = _state4.calendarMonthWidth,
+            monthTitleHeight = _state4.monthTitleHeight;

-function isNativeClick(event) {
-  var element = event.currentTarget;
-  if (!event.isTrusted) return false; // istanbul ignore next: can't test trusted events yet

-  return Object(reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_4__[/* isButton */ "a"])(element) || element.tagName === "INPUT" || element.tagName === "TEXTAREA" || element.tagName === "A" || element.tagName === "SELECT";
-}
+        if (e) e.preventDefault();

-var useClickable = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
-  name: "Clickable",
-  compose: _Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_8__[/* useTabbable */ "a"],
-  keys: CLICKABLE_KEYS,
-  useOptions: function useOptions(_ref) {
-    var _ref$unstable_clickOn = _ref.unstable_clickOnEnter,
-        unstable_clickOnEnter = _ref$unstable_clickOn === void 0 ? true : _ref$unstable_clickOn,
-        _ref$unstable_clickOn2 = _ref.unstable_clickOnSpace,
-        unstable_clickOnSpace = _ref$unstable_clickOn2 === void 0 ? true : _ref$unstable_clickOn2,
-        options = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref, ["unstable_clickOnEnter", "unstable_clickOnSpace"]);
+        var translationValue = void 0;

-    return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
-      unstable_clickOnEnter: unstable_clickOnEnter,
-      unstable_clickOnSpace: unstable_clickOnSpace
-    }, options);
-  },
-  useProps: function useProps(options, _ref2) {
-    var htmlOnKeyDown = _ref2.onKeyDown,
-        htmlOnKeyUp = _ref2.onKeyUp,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref2, ["onKeyDown", "onKeyUp"]);
+        if (this.isVertical()) {
+          var firstVisibleMonthWeeks = this.calendarMonthWeeks[1];
+          var calendarMonthWeeksHeight = firstVisibleMonthWeeks * (daySize - 1);
+          translationValue = -(monthTitleHeight + calendarMonthWeeksHeight + 1);
+        }

-    var _React$useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(false),
-        active = _React$useState[0],
-        setActive = _React$useState[1];
+        if (this.isHorizontal()) {
+          translationValue = -calendarMonthWidth;
+          if (isRTL) {
+            translationValue = 0;
+          }

-    var onKeyDownRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnKeyDown);
-    var onKeyUpRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnKeyUp);
-    var onKeyDown = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
-      var _onKeyDownRef$current;
+          var visibleCalendarWeeks = this.calendarMonthWeeks.slice(2, numberOfMonths + 2);
+          var _calendarMonthWeeksHeight2 = Math.max.apply(Math, [0].concat(_toConsumableArray(visibleCalendarWeeks))) * (daySize - 1);
+          var newMonthHeight = monthTitleHeight + _calendarMonthWeeksHeight2 + 1;
+          this.adjustDayPickerHeight(newMonthHeight);
+        }

-      (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
-      if (event.defaultPrevented) return;
-      if (options.disabled) return;
-      if (event.metaKey) return;
-      if (!Object(reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__[/* isSelfTarget */ "a"])(event)) return;
-      var isEnter = options.unstable_clickOnEnter && event.key === "Enter";
-      var isSpace = options.unstable_clickOnSpace && event.key === " ";
+        this.setState({
+          monthTransition: NEXT_TRANSITION,
+          translationValue: translationValue,
+          focusedDate: null,
+          nextFocusedDate: nextFocusedDate
+        });
+      }

-      if (isEnter || isSpace) {
-        if (isNativeClick(event)) return;
-        event.preventDefault();
+      return onNextMonthClick;
+    }()
+  }, {
+    key: 'getFirstDayOfWeek',
+    value: function () {
+      function getFirstDayOfWeek() {
+        var firstDayOfWeek = this.props.firstDayOfWeek;

-        if (isEnter) {
-          event.currentTarget.click();
-        } else if (isSpace) {
-          setActive(true);
+        if (firstDayOfWeek == null) {
+          return _moment2['default'].localeData().firstDayOfWeek();
         }
-      }
-    }, [options.disabled, options.unstable_clickOnEnter, options.unstable_clickOnSpace]);
-    var onKeyUp = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
-      var _onKeyUpRef$current;
-
-      (_onKeyUpRef$current = onKeyUpRef.current) === null || _onKeyUpRef$current === void 0 ? void 0 : _onKeyUpRef$current.call(onKeyUpRef, event);
-      if (event.defaultPrevented) return;
-      if (options.disabled) return;
-      if (event.metaKey) return;
-      var isSpace = options.unstable_clickOnSpace && event.key === " ";

-      if (active && isSpace) {
-        setActive(false);
-        event.currentTarget.click();
+        return firstDayOfWeek;
       }
-    }, [options.disabled, options.unstable_clickOnSpace, active]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
-      "data-active": active || undefined,
-      onKeyDown: onKeyDown,
-      onKeyUp: onKeyUp
-    }, htmlProps);
-  }
-});
-var Clickable = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
-  as: "button",
-  memo: true,
-  useHook: useClickable
-});
-

+      return getFirstDayOfWeek;
+    }()
+  }, {
+    key: 'getFirstVisibleIndex',
+    value: function () {
+      function getFirstVisibleIndex() {
+        var orientation = this.props.orientation;
+        var monthTransition = this.state.monthTransition;


-/***/ }),
+        if (orientation === _constants.VERTICAL_SCROLLABLE) return 0;

-/***/ "JYkG":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+        var firstVisibleMonthIndex = 1;
+        if (monthTransition === PREV_TRANSITION) {
+          firstVisibleMonthIndex -= 1;
+        } else if (monthTransition === NEXT_TRANSITION) {
+          firstVisibleMonthIndex += 1;
+        }

-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_1__);
-// @ts-nocheck
+        return firstVisibleMonthIndex;
+      }

-/**
- * WordPress dependencies
- */
+      return getFirstVisibleIndex;
+    }()
+  }, {
+    key: 'getFocusedDay',
+    value: function () {
+      function getFocusedDay(newMonth) {
+        var _props6 = this.props,
+            getFirstFocusableDay = _props6.getFirstFocusableDay,
+            numberOfMonths = _props6.numberOfMonths;


-const SlotFillContext = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createContext"])({
-  slots: {},
-  fills: {},
-  registerSlot: () => {
-    typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_1___default()('Components must be wrapped within `SlotFillProvider`. ' + 'See https://developer.wordpress.org/block-editor/components/slot-fill/') : void 0;
-  },
-  updateSlot: () => {},
-  unregisterSlot: () => {},
-  registerFill: () => {},
-  unregisterFill: () => {}
-});
-/* harmony default export */ __webpack_exports__["a"] = (SlotFillContext);
+        var focusedDate = void 0;
+        if (getFirstFocusableDay) {
+          focusedDate = getFirstFocusableDay(newMonth);
+        }

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
+        if (newMonth && (!focusedDate || !(0, _isDayVisible2['default'])(focusedDate, newMonth, numberOfMonths))) {
+          focusedDate = newMonth.clone().startOf('month');
+        }

-/***/ }),
+        return focusedDate;
+      }

-/***/ "Jt44":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-// TODO: remove, semver-major
-
-module.exports = __webpack_require__("j1Hc");
+      return getFocusedDay;
+    }()
+  }, {
+    key: 'setMonthTitleHeight',
+    value: function () {
+      function setMonthTitleHeight(monthTitleHeight) {
+        var _this3 = this;

+        this.setState({
+          monthTitleHeight: monthTitleHeight
+        }, function () {
+          _this3.calculateAndSetDayPickerHeight();
+        });
+      }

-/***/ }),
+      return setMonthTitleHeight;
+    }()
+  }, {
+    key: 'setCalendarMonthWeeks',
+    value: function () {
+      function setCalendarMonthWeeks(currentMonth) {
+        var numberOfMonths = this.props.numberOfMonths;

-/***/ "Jx1U":
-/***/ (function(module, exports) {

-// Copyright (c) 2014 Rafael Caricio. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
+        this.calendarMonthWeeks = [];
+        var month = currentMonth.clone().subtract(1, 'months');
+        var firstDayOfWeek = this.getFirstDayOfWeek();
+        for (var i = 0; i < numberOfMonths + 2; i += 1) {
+          var numberOfWeeks = (0, _getNumberOfCalendarMonthWeeks2['default'])(month, firstDayOfWeek);
+          this.calendarMonthWeeks.push(numberOfWeeks);
+          month = month.add(1, 'months');
+        }
+      }

-var GradientParser = {};
+      return setCalendarMonthWeeks;
+    }()
+  }, {
+    key: 'setContainerRef',
+    value: function () {
+      function setContainerRef(ref) {
+        this.container = ref;
+      }

-GradientParser.parse = (function() {
+      return setContainerRef;
+    }()
+  }, {
+    key: 'setCalendarInfoRef',
+    value: function () {
+      function setCalendarInfoRef(ref) {
+        this.calendarInfo = ref;
+      }

-  var tokens = {
-    linearGradient: /^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,
-    repeatingLinearGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,
-    radialGradient: /^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,
-    repeatingRadialGradient: /^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,
-    sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,
-    extentKeywords: /^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,
-    positionKeywords: /^(left|center|right|top|bottom)/i,
-    pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,
-    percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,
-    emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,
-    angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,
-    startCall: /^\(/,
-    endCall: /^\)/,
-    comma: /^,/,
-    hexColor: /^\#([0-9a-fA-F]+)/,
-    literalColor: /^([a-zA-Z]+)/,
-    rgbColor: /^rgb/i,
-    rgbaColor: /^rgba/i,
-    number: /^(([0-9]*\.[0-9]+)|([0-9]+\.?))/
-  };
+      return setCalendarInfoRef;
+    }()
+  }, {
+    key: 'setTransitionContainerRef',
+    value: function () {
+      function setTransitionContainerRef(ref) {
+        this.transitionContainer = ref;
+      }

-  var input = '';
+      return setTransitionContainerRef;
+    }()
+  }, {
+    key: 'maybeTransitionNextMonth',
+    value: function () {
+      function maybeTransitionNextMonth(newFocusedDate) {
+        var numberOfMonths = this.props.numberOfMonths;
+        var _state5 = this.state,
+            currentMonth = _state5.currentMonth,
+            focusedDate = _state5.focusedDate;

-  function error(msg) {
-    var err = new Error(input + ': ' + msg);
-    err.source = input;
-    throw err;
-  }

-  function getAST() {
-    var ast = matchListDefinitions();
+        var newFocusedDateMonth = newFocusedDate.month();
+        var focusedDateMonth = focusedDate.month();
+        var isNewFocusedDateVisible = (0, _isDayVisible2['default'])(newFocusedDate, currentMonth, numberOfMonths);
+        if (newFocusedDateMonth !== focusedDateMonth && !isNewFocusedDateVisible) {
+          this.onNextMonthClick(newFocusedDate);
+          return true;
+        }

-    if (input.length > 0) {
-      error('Invalid input not EOF');
-    }
+        return false;
+      }

-    return ast;
-  }
+      return maybeTransitionNextMonth;
+    }()
+  }, {
+    key: 'maybeTransitionPrevMonth',
+    value: function () {
+      function maybeTransitionPrevMonth(newFocusedDate) {
+        var numberOfMonths = this.props.numberOfMonths;
+        var _state6 = this.state,
+            currentMonth = _state6.currentMonth,
+            focusedDate = _state6.focusedDate;

-  function matchListDefinitions() {
-    return matchListing(matchDefinition);
-  }

-  function matchDefinition() {
-    return matchGradient(
-            'linear-gradient',
-            tokens.linearGradient,
-            matchLinearOrientation) ||
+        var newFocusedDateMonth = newFocusedDate.month();
+        var focusedDateMonth = focusedDate.month();
+        var isNewFocusedDateVisible = (0, _isDayVisible2['default'])(newFocusedDate, currentMonth, numberOfMonths);
+        if (newFocusedDateMonth !== focusedDateMonth && !isNewFocusedDateVisible) {
+          this.onPrevMonthClick(newFocusedDate);
+          return true;
+        }

-          matchGradient(
-            'repeating-linear-gradient',
-            tokens.repeatingLinearGradient,
-            matchLinearOrientation) ||
+        return false;
+      }

-          matchGradient(
-            'radial-gradient',
-            tokens.radialGradient,
-            matchListRadialOrientations) ||
+      return maybeTransitionPrevMonth;
+    }()
+  }, {
+    key: 'multiplyScrollableMonths',
+    value: function () {
+      function multiplyScrollableMonths(e) {
+        var onMultiplyScrollableMonths = this.props.onMultiplyScrollableMonths;

-          matchGradient(
-            'repeating-radial-gradient',
-            tokens.repeatingRadialGradient,
-            matchListRadialOrientations);
-  }
+        if (e) e.preventDefault();

-  function matchGradient(gradientType, pattern, orientationMatcher) {
-    return matchCall(pattern, function(captures) {
+        if (onMultiplyScrollableMonths) onMultiplyScrollableMonths(e);

-      var orientation = orientationMatcher();
-      if (orientation) {
-        if (!scan(tokens.comma)) {
-          error('Missing comma before color stops');
-        }
+        this.setState(function (_ref) {
+          var scrollableMonthMultiple = _ref.scrollableMonthMultiple;
+          return {
+            scrollableMonthMultiple: scrollableMonthMultiple + 1
+          };
+        });
       }

-      return {
-        type: gradientType,
-        orientation: orientation,
-        colorStops: matchListing(matchColorStop)
-      };
-    });
-  }
-
-  function matchCall(pattern, callback) {
-    var captures = scan(pattern);
+      return multiplyScrollableMonths;
+    }()
+  }, {
+    key: 'isHorizontal',
+    value: function () {
+      function isHorizontal() {
+        var orientation = this.props.orientation;

-    if (captures) {
-      if (!scan(tokens.startCall)) {
-        error('Missing (');
+        return orientation === _constants.HORIZONTAL_ORIENTATION;
       }

-      result = callback(captures);
+      return isHorizontal;
+    }()
+  }, {
+    key: 'isVertical',
+    value: function () {
+      function isVertical() {
+        var orientation = this.props.orientation;

-      if (!scan(tokens.endCall)) {
-        error('Missing )');
+        return orientation === _constants.VERTICAL_ORIENTATION || orientation === _constants.VERTICAL_SCROLLABLE;
       }

-      return result;
-    }
-  }
-
-  function matchLinearOrientation() {
-    return matchSideOrCorner() ||
-      matchAngle();
-  }
+      return isVertical;
+    }()
+  }, {
+    key: 'updateStateAfterMonthTransition',
+    value: function () {
+      function updateStateAfterMonthTransition() {
+        var _this4 = this;

-  function matchSideOrCorner() {
-    return match('directional', tokens.sideOrCorner, 1);
-  }
+        var _props7 = this.props,
+            onPrevMonthClick = _props7.onPrevMonthClick,
+            onNextMonthClick = _props7.onNextMonthClick,
+            numberOfMonths = _props7.numberOfMonths,
+            onMonthChange = _props7.onMonthChange,
+            onYearChange = _props7.onYearChange,
+            isRTL = _props7.isRTL;
+        var _state7 = this.state,
+            currentMonth = _state7.currentMonth,
+            monthTransition = _state7.monthTransition,
+            focusedDate = _state7.focusedDate,
+            nextFocusedDate = _state7.nextFocusedDate,
+            withMouseInteractions = _state7.withMouseInteractions,
+            calendarMonthWidth = _state7.calendarMonthWidth;

-  function matchAngle() {
-    return match('angular', tokens.angleValue, 1);
-  }

-  function matchListRadialOrientations() {
-    var radialOrientations,
-        radialOrientation = matchRadialOrientation(),
-        lookaheadCache;
+        if (!monthTransition) return;

-    if (radialOrientation) {
-      radialOrientations = [];
-      radialOrientations.push(radialOrientation);
+        var newMonth = currentMonth.clone();
+        var firstDayOfWeek = this.getFirstDayOfWeek();
+        if (monthTransition === PREV_TRANSITION) {
+          newMonth.subtract(1, 'month');
+          if (onPrevMonthClick) onPrevMonthClick(newMonth);
+          var newInvisibleMonth = newMonth.clone().subtract(1, 'month');
+          var numberOfWeeks = (0, _getNumberOfCalendarMonthWeeks2['default'])(newInvisibleMonth, firstDayOfWeek);
+          this.calendarMonthWeeks = [numberOfWeeks].concat(_toConsumableArray(this.calendarMonthWeeks.slice(0, -1)));
+        } else if (monthTransition === NEXT_TRANSITION) {
+          newMonth.add(1, 'month');
+          if (onNextMonthClick) onNextMonthClick(newMonth);
+          var _newInvisibleMonth = newMonth.clone().add(numberOfMonths, 'month');
+          var _numberOfWeeks = (0, _getNumberOfCalendarMonthWeeks2['default'])(_newInvisibleMonth, firstDayOfWeek);
+          this.calendarMonthWeeks = [].concat(_toConsumableArray(this.calendarMonthWeeks.slice(1)), [_numberOfWeeks]);
+        } else if (monthTransition === MONTH_SELECTION_TRANSITION) {
+          if (onMonthChange) onMonthChange(newMonth);
+        } else if (monthTransition === YEAR_SELECTION_TRANSITION) {
+          if (onYearChange) onYearChange(newMonth);
+        }

-      lookaheadCache = input;
-      if (scan(tokens.comma)) {
-        radialOrientation = matchRadialOrientation();
-        if (radialOrientation) {
-          radialOrientations.push(radialOrientation);
-        } else {
-          input = lookaheadCache;
+        var newFocusedDate = null;
+        if (nextFocusedDate) {
+          newFocusedDate = nextFocusedDate;
+        } else if (!focusedDate && !withMouseInteractions) {
+          newFocusedDate = this.getFocusedDay(newMonth);
         }
-      }
-    }

-    return radialOrientations;
-  }
+        this.setState({
+          currentMonth: newMonth,
+          monthTransition: null,
+          translationValue: isRTL && this.isHorizontal() ? -calendarMonthWidth : 0,
+          nextFocusedDate: null,
+          focusedDate: newFocusedDate
+        }, function () {
+          // we don't want to focus on the relevant calendar day after a month transition
+          // if the user is navigating around using a mouse
+          if (withMouseInteractions) {
+            var activeElement = (0, _getActiveElement2['default'])();
+            if (activeElement && activeElement !== document.body && _this4.container.contains(activeElement)) {
+              activeElement.blur();
+            }
+          }
+        });
+      }

-  function matchRadialOrientation() {
-    var radialType = matchCircle() ||
-      matchEllipse();
+      return updateStateAfterMonthTransition;
+    }()
+  }, {
+    key: 'adjustDayPickerHeight',
+    value: function () {
+      function adjustDayPickerHeight(newMonthHeight) {
+        var _this5 = this;

-    if (radialType) {
-      radialType.at = matchAtPosition();
-    } else {
-      var defaultPosition = matchPositioning();
-      if (defaultPosition) {
-        radialType = {
-          type: 'default-radial',
-          at: defaultPosition
-        };
+        var monthHeight = newMonthHeight + MONTH_PADDING;
+        if (monthHeight !== this.calendarMonthGridHeight) {
+          this.transitionContainer.style.height = String(monthHeight) + 'px';
+          if (!this.calendarMonthGridHeight) {
+            setTimeout(function () {
+              _this5.setState({ hasSetHeight: true });
+            }, 0);
+          }
+          this.calendarMonthGridHeight = monthHeight;
+        }
       }
-    }
-
-    return radialType;
-  }

-  function matchCircle() {
-    var circle = match('shape', /^(circle)/i, 0);
+      return adjustDayPickerHeight;
+    }()
+  }, {
+    key: 'calculateAndSetDayPickerHeight',
+    value: function () {
+      function calculateAndSetDayPickerHeight() {
+        var _props8 = this.props,
+            daySize = _props8.daySize,
+            numberOfMonths = _props8.numberOfMonths;
+        var monthTitleHeight = this.state.monthTitleHeight;

-    if (circle) {
-      circle.style = matchLength() || matchExtentKeyword();
-    }

-    return circle;
-  }
+        var visibleCalendarWeeks = this.calendarMonthWeeks.slice(1, numberOfMonths + 1);
+        var calendarMonthWeeksHeight = Math.max.apply(Math, [0].concat(_toConsumableArray(visibleCalendarWeeks))) * (daySize - 1);
+        var newMonthHeight = monthTitleHeight + calendarMonthWeeksHeight + 1;

-  function matchEllipse() {
-    var ellipse = match('shape', /^(ellipse)/i, 0);
+        if (this.isHorizontal()) {
+          this.adjustDayPickerHeight(newMonthHeight);
+        }
+      }

-    if (ellipse) {
-      ellipse.style =  matchDistance() || matchExtentKeyword();
-    }
+      return calculateAndSetDayPickerHeight;
+    }()
+  }, {
+    key: 'openKeyboardShortcutsPanel',
+    value: function () {
+      function openKeyboardShortcutsPanel(onCloseCallBack) {
+        this.setState({
+          showKeyboardShortcuts: true,
+          onKeyboardShortcutsPanelClose: onCloseCallBack
+        });
+      }

-    return ellipse;
-  }
+      return openKeyboardShortcutsPanel;
+    }()
+  }, {
+    key: 'closeKeyboardShortcutsPanel',
+    value: function () {
+      function closeKeyboardShortcutsPanel() {
+        var onKeyboardShortcutsPanelClose = this.state.onKeyboardShortcutsPanelClose;

-  function matchExtentKeyword() {
-    return match('extent-keyword', tokens.extentKeywords, 1);
-  }

-  function matchAtPosition() {
-    if (match('position', /^at/, 0)) {
-      var positioning = matchPositioning();
+        if (onKeyboardShortcutsPanelClose) {
+          onKeyboardShortcutsPanelClose();
+        }

-      if (!positioning) {
-        error('Missing positioning value');
+        this.setState({
+          onKeyboardShortcutsPanelClose: null,
+          showKeyboardShortcuts: false
+        });
       }

-      return positioning;
-    }
-  }
-
-  function matchPositioning() {
-    var location = matchCoordinates();
+      return closeKeyboardShortcutsPanel;
+    }()
+  }, {
+    key: 'renderNavigation',
+    value: function () {
+      function renderNavigation() {
+        var _this6 = this;

-    if (location.x || location.y) {
-      return {
-        type: 'position',
-        value: location
-      };
-    }
-  }
+        var _props9 = this.props,
+            navPrev = _props9.navPrev,
+            navNext = _props9.navNext,
+            noNavButtons = _props9.noNavButtons,
+            orientation = _props9.orientation,
+            phrases = _props9.phrases,
+            isRTL = _props9.isRTL;

-  function matchCoordinates() {
-    return {
-      x: matchDistance(),
-      y: matchDistance()
-    };
-  }

-  function matchListing(matcher) {
-    var captures = matcher(),
-      result = [];
+        if (noNavButtons) {
+          return null;
+        }

-    if (captures) {
-      result.push(captures);
-      while (scan(tokens.comma)) {
-        captures = matcher();
-        if (captures) {
-          result.push(captures);
+        var onNextMonthClick = void 0;
+        if (orientation === _constants.VERTICAL_SCROLLABLE) {
+          onNextMonthClick = this.multiplyScrollableMonths;
         } else {
-          error('One extra comma');
+          onNextMonthClick = function () {
+            function onNextMonthClick(e) {
+              _this6.onNextMonthClick(null, e);
+            }
+
+            return onNextMonthClick;
+          }();
         }
-      }
-    }

-    return result;
-  }
+        return _react2['default'].createElement(_DayPickerNavigation2['default'], {
+          onPrevMonthClick: function () {
+            function onPrevMonthClick(e) {
+              _this6.onPrevMonthClick(null, e);
+            }

-  function matchColorStop() {
-    var color = matchColor();
+            return onPrevMonthClick;
+          }(),
+          onNextMonthClick: onNextMonthClick,
+          navPrev: navPrev,
+          navNext: navNext,
+          orientation: orientation,
+          phrases: phrases,
+          isRTL: isRTL
+        });
+      }

-    if (!color) {
-      error('Expected color definition');
-    }
+      return renderNavigation;
+    }()
+  }, {
+    key: 'renderWeekHeader',
+    value: function () {
+      function renderWeekHeader(index) {
+        var _props10 = this.props,
+            daySize = _props10.daySize,
+            horizontalMonthPadding = _props10.horizontalMonthPadding,
+            orientation = _props10.orientation,
+            weekDayFormat = _props10.weekDayFormat,
+            styles = _props10.styles;
+        var calendarMonthWidth = this.state.calendarMonthWidth;

-    color.length = matchDistance();
-    return color;
-  }
+        var verticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;
+        var horizontalStyle = {
+          left: index * calendarMonthWidth
+        };
+        var verticalStyle = {
+          marginLeft: -calendarMonthWidth / 2
+        };

-  function matchColor() {
-    return matchHexColor() ||
-      matchRGBAColor() ||
-      matchRGBColor() ||
-      matchLiteralColor();
-  }
-
-  function matchLiteralColor() {
-    return match('literal', tokens.literalColor, 0);
-  }
-
-  function matchHexColor() {
-    return match('hex', tokens.hexColor, 1);
-  }
-
-  function matchRGBColor() {
-    return matchCall(tokens.rgbColor, function() {
-      return  {
-        type: 'rgb',
-        value: matchListing(matchNumber)
-      };
-    });
-  }
-
-  function matchRGBAColor() {
-    return matchCall(tokens.rgbaColor, function() {
-      return  {
-        type: 'rgba',
-        value: matchListing(matchNumber)
-      };
-    });
-  }
+        var weekHeaderStyle = {}; // no styles applied to the vertical-scrollable orientation
+        if (this.isHorizontal()) {
+          weekHeaderStyle = horizontalStyle;
+        } else if (this.isVertical() && !verticalScrollable) {
+          weekHeaderStyle = verticalStyle;
+        }

-  function matchNumber() {
-    return scan(tokens.number)[1];
-  }
+        var firstDayOfWeek = this.getFirstDayOfWeek();

-  function matchDistance() {
-    return match('%', tokens.percentageValue, 1) ||
-      matchPositionKeyword() ||
-      matchLength();
-  }
+        var header = [];
+        for (var i = 0; i < 7; i += 1) {
+          header.push(_react2['default'].createElement(
+            'li',
+            _extends({ key: i }, (0, _reactWithStyles.css)(styles.DayPicker_weekHeader_li, { width: daySize })),
+            _react2['default'].createElement(
+              'small',
+              null,
+              (0, _moment2['default'])().day((i + firstDayOfWeek) % 7).format(weekDayFormat)
+            )
+          ));
+        }

-  function matchPositionKeyword() {
-    return match('position-keyword', tokens.positionKeywords, 1);
-  }
+        return _react2['default'].createElement(
+          'div',
+          _extends({}, (0, _reactWithStyles.css)(styles.DayPicker_weekHeader, this.isVertical() && styles.DayPicker_weekHeader__vertical, verticalScrollable && styles.DayPicker_weekHeader__verticalScrollable, weekHeaderStyle, { padding: '0 ' + String(horizontalMonthPadding) + 'px' }), {
+            key: 'week-' + String(index)
+          }),
+          _react2['default'].createElement(
+            'ul',
+            (0, _reactWithStyles.css)(styles.DayPicker_weekHeader_ul),
+            header
+          )
+        );
+      }

-  function matchLength() {
-    return match('px', tokens.pixelValue, 1) ||
-      match('em', tokens.emValue, 1);
-  }
+      return renderWeekHeader;
+    }()
+  }, {
+    key: 'render',
+    value: function () {
+      function render() {
+        var _this7 = this;

-  function match(type, pattern, captureIndex) {
-    var captures = scan(pattern);
-    if (captures) {
-      return {
-        type: type,
-        value: captures[captureIndex]
-      };
-    }
-  }
+        var _state8 = this.state,
+            calendarMonthWidth = _state8.calendarMonthWidth,
+            currentMonth = _state8.currentMonth,
+            monthTransition = _state8.monthTransition,
+            translationValue = _state8.translationValue,
+            scrollableMonthMultiple = _state8.scrollableMonthMultiple,
+            focusedDate = _state8.focusedDate,
+            showKeyboardShortcuts = _state8.showKeyboardShortcuts,
+            isTouch = _state8.isTouchDevice,
+            hasSetHeight = _state8.hasSetHeight,
+            calendarInfoWidth = _state8.calendarInfoWidth,
+            monthTitleHeight = _state8.monthTitleHeight;
+        var _props11 = this.props,
+            enableOutsideDays = _props11.enableOutsideDays,
+            numberOfMonths = _props11.numberOfMonths,
+            orientation = _props11.orientation,
+            modifiers = _props11.modifiers,
+            withPortal = _props11.withPortal,
+            onDayClick = _props11.onDayClick,
+            onDayMouseEnter = _props11.onDayMouseEnter,
+            onDayMouseLeave = _props11.onDayMouseLeave,
+            firstDayOfWeek = _props11.firstDayOfWeek,
+            renderMonthText = _props11.renderMonthText,
+            renderCalendarDay = _props11.renderCalendarDay,
+            renderDayContents = _props11.renderDayContents,
+            renderCalendarInfo = _props11.renderCalendarInfo,
+            renderMonthElement = _props11.renderMonthElement,
+            calendarInfoPosition = _props11.calendarInfoPosition,
+            hideKeyboardShortcutsPanel = _props11.hideKeyboardShortcutsPanel,
+            onOutsideClick = _props11.onOutsideClick,
+            monthFormat = _props11.monthFormat,
+            daySize = _props11.daySize,
+            isFocused = _props11.isFocused,
+            isRTL = _props11.isRTL,
+            styles = _props11.styles,
+            theme = _props11.theme,
+            phrases = _props11.phrases,
+            verticalHeight = _props11.verticalHeight,
+            dayAriaLabelFormat = _props11.dayAriaLabelFormat,
+            noBorder = _props11.noBorder,
+            transitionDuration = _props11.transitionDuration,
+            verticalBorderSpacing = _props11.verticalBorderSpacing,
+            horizontalMonthPadding = _props11.horizontalMonthPadding;
+        var dayPickerHorizontalPadding = theme.reactDates.spacing.dayPickerHorizontalPadding;

-  function scan(regexp) {
-    var captures,
-        blankCaptures;

-    blankCaptures = /^[\n\r\t\s]+/.exec(input);
-    if (blankCaptures) {
-        consume(blankCaptures[0].length);
-    }
+        var isHorizontal = this.isHorizontal();

-    captures = regexp.exec(input);
-    if (captures) {
-        consume(captures[0].length);
-    }
+        var numOfWeekHeaders = this.isVertical() ? 1 : numberOfMonths;
+        var weekHeaders = [];
+        for (var i = 0; i < numOfWeekHeaders; i += 1) {
+          weekHeaders.push(this.renderWeekHeader(i));
+        }

-    return captures;
-  }
+        var verticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;
+        var height = void 0;
+        if (isHorizontal) {
+          height = this.calendarMonthGridHeight;
+        } else if (this.isVertical() && !verticalScrollable && !withPortal) {
+          // If the user doesn't set a desired height,
+          // we default back to this kind of made-up value that generally looks good
+          height = verticalHeight || 1.75 * calendarMonthWidth;
+        }

-  function consume(size) {
-    input = input.substr(size);
-  }
+        var isCalendarMonthGridAnimating = monthTransition !== null;

-  return function(code) {
-    input = code.toString();
-    return getAST();
-  };
-})();
+        var shouldFocusDate = !isCalendarMonthGridAnimating && isFocused;

-exports.parse = (GradientParser || {}).parse;
+        var keyboardShortcutButtonLocation = _DayPickerKeyboardShortcuts.BOTTOM_RIGHT;
+        if (this.isVertical()) {
+          keyboardShortcutButtonLocation = withPortal ? _DayPickerKeyboardShortcuts.TOP_LEFT : _DayPickerKeyboardShortcuts.TOP_RIGHT;
+        }

+        var shouldAnimateHeight = isHorizontal && hasSetHeight;

-/***/ }),
+        var calendarInfoPositionTop = calendarInfoPosition === _constants.INFO_POSITION_TOP;
+        var calendarInfoPositionBottom = calendarInfoPosition === _constants.INFO_POSITION_BOTTOM;
+        var calendarInfoPositionBefore = calendarInfoPosition === _constants.INFO_POSITION_BEFORE;
+        var calendarInfoPositionAfter = calendarInfoPosition === _constants.INFO_POSITION_AFTER;
+        var calendarInfoIsInline = calendarInfoPositionBefore || calendarInfoPositionAfter;

-/***/ "K+tz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+        var calendarInfo = renderCalendarInfo && _react2['default'].createElement(
+          'div',
+          _extends({
+            ref: this.setCalendarInfoRef
+          }, (0, _reactWithStyles.css)(calendarInfoIsInline && styles.DayPicker_calendarInfo__horizontal)),
+          renderCalendarInfo()
+        );

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+        var calendarInfoPanelWidth = renderCalendarInfo && calendarInfoIsInline ? calendarInfoWidth : 0;

+        var firstVisibleMonthIndex = this.getFirstVisibleIndex();
+        var wrapperHorizontalWidth = calendarMonthWidth * numberOfMonths + 2 * dayPickerHorizontalPadding;
+        // Adding `1px` because of whitespace between 2 inline-block
+        var fullHorizontalWidth = wrapperHorizontalWidth + calendarInfoPanelWidth + 1;

-/**
- * WordPress dependencies
- */
+        var transitionContainerStyle = {
+          width: isHorizontal && wrapperHorizontalWidth,
+          height: height
+        };

-const external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (external);
+        var dayPickerWrapperStyle = {
+          width: isHorizontal && wrapperHorizontalWidth
+        };

+        var dayPickerStyle = {
+          width: isHorizontal && fullHorizontalWidth,

-/***/ }),
+          // These values are to center the datepicker (approximately) on the page
+          marginLeft: isHorizontal && withPortal ? -fullHorizontalWidth / 2 : null,
+          marginTop: isHorizontal && withPortal ? -calendarMonthWidth / 2 : null
+        };

-/***/ "K9lf":
-/***/ (function(module, exports) {
+        return _react2['default'].createElement(
+          'div',
+          _extends({
+            role: 'application',
+            'aria-label': phrases.calendarLabel
+          }, (0, _reactWithStyles.css)(styles.DayPicker, isHorizontal && styles.DayPicker__horizontal, verticalScrollable && styles.DayPicker__verticalScrollable, isHorizontal && withPortal && styles.DayPicker_portal__horizontal, this.isVertical() && withPortal && styles.DayPicker_portal__vertical, dayPickerStyle, !monthTitleHeight && styles.DayPicker__hidden, !noBorder && styles.DayPicker__withBorder)),
+          _react2['default'].createElement(
+            _reactOutsideClickHandler2['default'],
+            { onOutsideClick: onOutsideClick },
+            (calendarInfoPositionTop || calendarInfoPositionBefore) && calendarInfo,
+            _react2['default'].createElement(
+              'div',
+              (0, _reactWithStyles.css)(dayPickerWrapperStyle, calendarInfoIsInline && isHorizontal && styles.DayPicker_wrapper__horizontal),
+              _react2['default'].createElement(
+                'div',
+                _extends({}, (0, _reactWithStyles.css)(styles.DayPicker_weekHeaders, isHorizontal && styles.DayPicker_weekHeaders__horizontal), {
+                  'aria-hidden': 'true',
+                  role: 'presentation'
+                }),
+                weekHeaders
+              ),
+              _react2['default'].createElement(
+                'div',
+                _extends({}, (0, _reactWithStyles.css)(styles.DayPicker_focusRegion), {
+                  ref: this.setContainerRef,
+                  onClick: function () {
+                    function onClick(e) {
+                      e.stopPropagation();
+                    }

-(function() { module.exports = window["wp"]["compose"]; }());
+                    return onClick;
+                  }(),
+                  onKeyDown: this.onKeyDown,
+                  onMouseUp: function () {
+                    function onMouseUp() {
+                      _this7.setState({ withMouseInteractions: true });
+                    }

-/***/ }),
+                    return onMouseUp;
+                  }(),
+                  role: 'region',
+                  tabIndex: -1
+                }),
+                !verticalScrollable && this.renderNavigation(),
+                _react2['default'].createElement(
+                  'div',
+                  _extends({}, (0, _reactWithStyles.css)(styles.DayPicker_transitionContainer, shouldAnimateHeight && styles.DayPicker_transitionContainer__horizontal, this.isVertical() && styles.DayPicker_transitionContainer__vertical, verticalScrollable && styles.DayPicker_transitionContainer__verticalScrollable, transitionContainerStyle), {
+                    ref: this.setTransitionContainerRef
+                  }),
+                  _react2['default'].createElement(_CalendarMonthGrid2['default'], {
+                    setMonthTitleHeight: !monthTitleHeight ? this.setMonthTitleHeight : undefined,
+                    translationValue: translationValue,
+                    enableOutsideDays: enableOutsideDays,
+                    firstVisibleMonthIndex: firstVisibleMonthIndex,
+                    initialMonth: currentMonth,
+                    isAnimating: isCalendarMonthGridAnimating,
+                    modifiers: modifiers,
+                    orientation: orientation,
+                    numberOfMonths: numberOfMonths * scrollableMonthMultiple,
+                    onDayClick: onDayClick,
+                    onDayMouseEnter: onDayMouseEnter,
+                    onDayMouseLeave: onDayMouseLeave,
+                    onMonthChange: this.onMonthChange,
+                    onYearChange: this.onYearChange,
+                    renderMonthText: renderMonthText,
+                    renderCalendarDay: renderCalendarDay,
+                    renderDayContents: renderDayContents,
+                    renderMonthElement: renderMonthElement,
+                    onMonthTransitionEnd: this.updateStateAfterMonthTransition,
+                    monthFormat: monthFormat,
+                    daySize: daySize,
+                    firstDayOfWeek: firstDayOfWeek,
+                    isFocused: shouldFocusDate,
+                    focusedDate: focusedDate,
+                    phrases: phrases,
+                    isRTL: isRTL,
+                    dayAriaLabelFormat: dayAriaLabelFormat,
+                    transitionDuration: transitionDuration,
+                    verticalBorderSpacing: verticalBorderSpacing,
+                    horizontalMonthPadding: horizontalMonthPadding
+                  }),
+                  verticalScrollable && this.renderNavigation()
+                ),
+                !isTouch && !hideKeyboardShortcutsPanel && _react2['default'].createElement(_DayPickerKeyboardShortcuts2['default'], {
+                  block: this.isVertical() && !withPortal,
+                  buttonLocation: keyboardShortcutButtonLocation,
+                  showKeyboardShortcutsPanel: showKeyboardShortcuts,
+                  openKeyboardShortcutsPanel: this.openKeyboardShortcutsPanel,
+                  closeKeyboardShortcutsPanel: this.closeKeyboardShortcutsPanel,
+                  phrases: phrases
+                })
+              )
+            ),
+            (calendarInfoPositionBottom || calendarInfoPositionAfter) && calendarInfo
+          )
+        );
+      }

-/***/ "KA1K":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+      return render;
+    }()
+  }]);

-"use strict";
+  return DayPicker;
+}(_react2['default'].Component);

-// UNUSED EXPORTS: warning, useWarning
+DayPicker.propTypes = propTypes;
+DayPicker.defaultProps = defaultProps;

-// EXTERNAL MODULE: ./node_modules/reakit-warning/es/warning.js
-var warning = __webpack_require__("WnOg");
+exports.PureDayPicker = DayPicker;
+exports["default"] = (0, _reactWithStyles.withStyles)(function (_ref2) {
+  var _ref2$reactDates = _ref2.reactDates,
+      color = _ref2$reactDates.color,
+      font = _ref2$reactDates.font,
+      noScrollBarOnVerticalScrollable = _ref2$reactDates.noScrollBarOnVerticalScrollable,
+      spacing = _ref2$reactDates.spacing,
+      zIndex = _ref2$reactDates.zIndex;
+  return {
+    DayPicker: {
+      background: color.background,
+      position: 'relative',
+      textAlign: 'left'
+    },

-// EXTERNAL MODULE: external "React"
-var external_React_ = __webpack_require__("cDcd");
+    DayPicker__horizontal: {
+      background: color.background
+    },

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/isObject.js
-var isObject = __webpack_require__("Ptb8");
+    DayPicker__verticalScrollable: {
+      height: '100%'
+    },

-// CONCATENATED MODULE: ./node_modules/reakit-warning/es/useWarning.js
+    DayPicker__hidden: {
+      visibility: 'hidden'
+    },

+    DayPicker__withBorder: {
+      boxShadow: '0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)',
+      borderRadius: 3
+    },

+    DayPicker_portal__horizontal: {
+      boxShadow: 'none',
+      position: 'absolute',
+      left: '50%',
+      top: '50%'
+    },

+    DayPicker_portal__vertical: {
+      position: 'initial'
+    },

+    DayPicker_focusRegion: {
+      outline: 'none'
+    },

-function isRefObject(ref) {
-  return Object(isObject["a" /* isObject */])(ref) && "current" in ref;
-}
-/**
- * Logs `messages` to the console using `console.warn` based on a `condition`.
- * This should be used inside components.
- */
+    DayPicker_calendarInfo__horizontal: {
+      display: 'inline-block',
+      verticalAlign: 'top'
+    },

+    DayPicker_wrapper__horizontal: {
+      display: 'inline-block',
+      verticalAlign: 'top'
+    },

-function useWarning(condition) {
-  for (var _len = arguments.length, messages = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-    messages[_key - 1] = arguments[_key];
-  }
+    DayPicker_weekHeaders: {
+      position: 'relative'
+    },

-  if (false) {}
-}
+    DayPicker_weekHeaders__horizontal: {
+      marginLeft: spacing.dayPickerHorizontalPadding
+    },

+    DayPicker_weekHeader: {
+      color: color.placeholderText,
+      position: 'absolute',
+      top: 62,
+      zIndex: zIndex + 2,
+      textAlign: 'left'
+    },

+    DayPicker_weekHeader__vertical: {
+      left: '50%'
+    },

-// CONCATENATED MODULE: ./node_modules/reakit-warning/es/index.js
+    DayPicker_weekHeader__verticalScrollable: {
+      top: 0,
+      display: 'table-row',
+      borderBottom: '1px solid ' + String(color.core.border),
+      background: color.background,
+      marginLeft: 0,
+      left: 0,
+      width: '100%',
+      textAlign: 'center'
+    },

+    DayPicker_weekHeader_ul: {
+      listStyle: 'none',
+      margin: '1px 0',
+      paddingLeft: 0,
+      paddingRight: 0,
+      fontSize: font.size
+    },

+    DayPicker_weekHeader_li: {
+      display: 'inline-block',
+      textAlign: 'center'
+    },

+    DayPicker_transitionContainer: {
+      position: 'relative',
+      overflow: 'hidden',
+      borderRadius: 3
+    },

+    DayPicker_transitionContainer__horizontal: {
+      transition: 'height 0.2s ease-in-out'
+    },

+    DayPicker_transitionContainer__vertical: {
+      width: '100%'
+    },

+    DayPicker_transitionContainer__verticalScrollable: (0, _object2['default'])({
+      paddingTop: 20,
+      height: '100%',
+      position: 'absolute',
+      top: 0,
+      bottom: 0,
+      right: 0,
+      left: 0,
+      overflowY: 'scroll'
+    }, noScrollBarOnVerticalScrollable && {
+      '-webkitOverflowScrolling': 'touch',
+      '::-webkit-scrollbar': {
+        '-webkit-appearance': 'none',
+        display: 'none'
+      }
+    })
+  };
+})(DayPicker);

 /***/ }),

-/***/ "KCH1":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 600:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return unstable_IdContext; });
-/* unused harmony export unstable_IdProvider */
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);


-var defaultPrefix = "id";
-function generateRandomString(prefix) {
-  if (prefix === void 0) {
-    prefix = defaultPrefix;
-  }
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports.BOTTOM_RIGHT = exports.TOP_RIGHT = exports.TOP_LEFT = undefined;

-  return "" + (prefix ? prefix + "-" : "") + Math.random().toString(32).substr(2, 6);
-}
+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

-var unstable_IdContext = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])(generateRandomString);
-function unstable_IdProvider(_ref) {
-  var children = _ref.children,
-      _ref$prefix = _ref.prefix,
-      prefix = _ref$prefix === void 0 ? defaultPrefix : _ref$prefix;
-  var count = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(0);
-  var generateId = Object(react__WEBPACK_IMPORTED_MODULE_0__["useCallback"])(function (localPrefix) {
-    if (localPrefix === void 0) {
-      localPrefix = prefix;
-    }
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

-    return "" + (localPrefix ? localPrefix + "-" : "") + ++count.current;
-  }, [prefix]);
-  return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(unstable_IdContext.Provider, {
-    value: generateId
-  }, children);
-}
+var _object = __webpack_require__(4011);

+var _object2 = _interopRequireDefault(_object);

+var _react = __webpack_require__(9196);

+var _react2 = _interopRequireDefault(_react);

-/***/ }),
+var _propTypes = __webpack_require__(2652);

-/***/ "KfNM":
-/***/ (function(module, exports) {
+var _propTypes2 = _interopRequireDefault(_propTypes);

-/** Used for built-in method references. */
-var objectProto = Object.prototype;
+var _airbnbPropTypes = __webpack_require__(4882);

-/**
- * Used to resolve the
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
- * of values.
- */
-var nativeObjectToString = objectProto.toString;
+var _reactWithStyles = __webpack_require__(3576);

-/**
- * Converts `value` to a string using `Object.prototype.toString`.
- *
- * @private
- * @param {*} value The value to convert.
- * @returns {string} Returns the converted string.
- */
-function objectToString(value) {
-  return nativeObjectToString.call(value);
-}
+var _defaultPhrases = __webpack_require__(6030);

-module.exports = objectToString;
+var _getPhrasePropTypes = __webpack_require__(2893);

+var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);

-/***/ }),
+var _KeyboardShortcutRow = __webpack_require__(5820);

-/***/ "Koq/":
-/***/ (function(module, exports, __webpack_require__) {
+var _KeyboardShortcutRow2 = _interopRequireDefault(_KeyboardShortcutRow);

-"use strict";
+var _CloseButton = __webpack_require__(6973);

+var _CloseButton2 = _interopRequireDefault(_CloseButton);

-var defineProperties = __webpack_require__("82c2");
-var callBind = __webpack_require__("PrET");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-var implementation = __webpack_require__("FufO");
-var getPolyfill = __webpack_require__("yLpt");
-var shim = __webpack_require__("8R9v");
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-var polyfill = callBind.apply(getPolyfill());
-// eslint-disable-next-line no-unused-vars
-var bound = function assign(target, source1) {
-	return polyfill(Object, arguments);
-};
-
-defineProperties(bound, {
-	getPolyfill: getPolyfill,
-	implementation: implementation,
-	shim: shim
-});
-
-module.exports = bound;
-
-
-/***/ }),
-
-/***/ "KtDd":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var GetIntrinsic = __webpack_require__("j1Hc");
-
-var $species = GetIntrinsic('%Symbol.species%', true);
-var $TypeError = GetIntrinsic('%TypeError%');
-
-var ArrayCreate = __webpack_require__("6Ehn");
-var Get = __webpack_require__("aBsX");
-var IsArray = __webpack_require__("Bl8U");
-var IsConstructor = __webpack_require__("TFEf");
-var IsIntegralNumber = __webpack_require__("J2ba");
-var Type = __webpack_require__("PoQ0");
-
-// https://ecma-international.org/ecma-262/12.0/#sec-arrayspeciescreate
-
-module.exports = function ArraySpeciesCreate(originalArray, length) {
-	if (!IsIntegralNumber(length) || length < 0) {
-		throw new $TypeError('Assertion failed: length must be an integer >= 0');
-	}
-
-	var isArray = IsArray(originalArray);
-	if (!isArray) {
-		return ArrayCreate(length);
-	}
-
-	var C = Get(originalArray, 'constructor');
-	// TODO: figure out how to make a cross-realm normal Array, a same-realm Array
-	// if (IsConstructor(C)) {
-	// 	if C is another realm's Array, C = undefined
-	// 	Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
-	// }
-	if ($species && Type(C) === 'Object') {
-		C = Get(C, $species);
-		if (C === null) {
-			C = void 0;
-		}
-	}
-
-	if (typeof C === 'undefined') {
-		return ArrayCreate(length);
-	}
-	if (!IsConstructor(C)) {
-		throw new $TypeError('C must be a constructor');
-	}
-	return new C(length); // Construct(C, length);
-};
-
-
-
-/***/ }),
-
-/***/ "Kz5y":
-/***/ (function(module, exports, __webpack_require__) {
-
-var freeGlobal = __webpack_require__("WFqU");
-
-/** Detect free variable `self`. */
-var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
-
-/** Used as a reference to the global object. */
-var root = freeGlobal || freeSelf || Function('return this')();
-
-module.exports = root;
-
-
-/***/ }),
-
-/***/ "L8Kx":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getAnimateClassName; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Animate; });
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * External dependencies
- */
-
-/**
- * @typedef {'top' | 'top left' | 'top right' | 'middle' | 'middle left' | 'middle right' | 'bottom' | 'bottom left' | 'bottom right'} AppearOrigin
- * @typedef {'left' | 'right'} SlideInOrigin
- * @typedef {{ type: 'appear'; origin?: AppearOrigin }} AppearOptions
- * @typedef {{ type: 'slide-in'; origin?: SlideInOrigin }} SlideInOptions
- * @typedef {{ type: 'loading' }} LoadingOptions
- * @typedef {AppearOptions | SlideInOptions | LoadingOptions} GetAnimateOptions
- */
-
-/* eslint-disable jsdoc/valid-types */
-
-/**
- * @param {GetAnimateOptions['type']} type The animation type
- * @return {'top' | 'left'} Default origin
- */
-
-function getDefaultOrigin(type) {
-  return type === 'appear' ? 'top' : 'left';
-}
-/* eslint-enable jsdoc/valid-types */
-
-/**
- * @param {GetAnimateOptions} options
- *
- * @return {string | void} ClassName that applies the animations
- */
-
-
-function getAnimateClassName(options) {
-  if (options.type === 'loading') {
-    return classnames__WEBPACK_IMPORTED_MODULE_0___default()('components-animate__loading');
-  }
-
-  const {
-    type,
-    origin = getDefaultOrigin(type)
-  } = options;
-
-  if (type === 'appear') {
-    const [yAxis, xAxis = 'center'] = origin.split(' ');
-    return classnames__WEBPACK_IMPORTED_MODULE_0___default()('components-animate__appear', {
-      ['is-from-' + xAxis]: xAxis !== 'center',
-      ['is-from-' + yAxis]: yAxis !== 'middle'
-    });
-  }
-
-  if (type === 'slide-in') {
-    return classnames__WEBPACK_IMPORTED_MODULE_0___default()('components-animate__slide-in', 'is-from-' + origin);
-  }
-} // @ts-ignore Reason: Planned for deprecation
-
-function Animate(_ref) {
-  let {
-    type,
-    options = {},
-    children
-  } = _ref;
-  return children({
-    className: getAnimateClassName({
-      type,
-      ...options
-    })
-  });
-}
-
-
-/***/ }),
-
-/***/ "LTAC":
-/***/ (function(module, exports) {
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = isTouchDevice;
-function isTouchDevice() {
-  return !!(typeof window !== 'undefined' && ('ontouchstart' in window || window.DocumentTouch && typeof document !== 'undefined' && document instanceof window.DocumentTouch)) || !!(typeof navigator !== 'undefined' && (navigator.maxTouchPoints || navigator.msMaxTouchPoints));
-}
-module.exports = exports['default'];
-
-/***/ }),
-
-/***/ "Lxf3":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var toStr = Object.prototype.toString;
-
-var isPrimitive = __webpack_require__("Teho");
-
-var isCallable = __webpack_require__("IdCN");
-
-// http://ecma-international.org/ecma-262/5.1/#sec-8.12.8
-var ES5internalSlots = {
-	'[[DefaultValue]]': function (O) {
-		var actualHint;
-		if (arguments.length > 1) {
-			actualHint = arguments[1];
-		} else {
-			actualHint = toStr.call(O) === '[object Date]' ? String : Number;
-		}
-
-		if (actualHint === String || actualHint === Number) {
-			var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString'];
-			var value, i;
-			for (i = 0; i < methods.length; ++i) {
-				if (isCallable(O[methods[i]])) {
-					value = O[methods[i]]();
-					if (isPrimitive(value)) {
-						return value;
-					}
-				}
-			}
-			throw new TypeError('No default value');
-		}
-		throw new TypeError('invalid [[DefaultValue]] hint supplied');
-	}
-};
-
-// http://ecma-international.org/ecma-262/5.1/#sec-9.1
-module.exports = function ToPrimitive(input) {
-	if (isPrimitive(input)) {
-		return input;
-	}
-	if (arguments.length > 1) {
-		return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]);
-	}
-	return ES5internalSlots['[[DefaultValue]]'](input);
-};
-
-
-/***/ }),
-
-/***/ "Mih7":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hasUserFocus; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return setUserFocus; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return userFocus; });
-function userFocus(element) {
-  element.userFocus = true;
-  element.focus();
-  element.userFocus = false;
-}
-function hasUserFocus(element) {
-  return !!element.userFocus;
-}
-function setUserFocus(element, value) {
-  element.userFocus = value;
-}
-
-
-
-
-/***/ }),
-
-/***/ "Mp0b":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (linkOff);
-
-
-/***/ }),
-
-/***/ "N3k4":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.PureCalendarDay = undefined;
-
-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
-
-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
-
-var _object = __webpack_require__("Koq/");
-
-var _object2 = _interopRequireDefault(_object);
-
-var _react = __webpack_require__("cDcd");
-
-var _react2 = _interopRequireDefault(_react);
-
-var _propTypes = __webpack_require__("17x9");
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _reactAddonsShallowCompare = __webpack_require__("YZDV");
-
-var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);
-
-var _reactMomentProptypes = __webpack_require__("XGBb");
-
-var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);
-
-var _airbnbPropTypes = __webpack_require__("Hsqg");
-
-var _reactWithStyles = __webpack_require__("TG4+");
-
-var _moment = __webpack_require__("wy2R");
-
-var _moment2 = _interopRequireDefault(_moment);
-
-var _defaultPhrases = __webpack_require__("vV+G");
-
-var _getPhrasePropTypes = __webpack_require__("yc2e");
-
-var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
-
-var _getCalendarDaySettings = __webpack_require__("Ae65");
-
-var _getCalendarDaySettings2 = _interopRequireDefault(_getCalendarDaySettings);
-
-var _ModifiersShape = __webpack_require__("J7JS");
-
-var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);
-
-var _constants = __webpack_require__("Fv1B");
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

 function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
-  day: _reactMomentProptypes2['default'].momentObj,
-  daySize: _airbnbPropTypes.nonNegativeInteger,
-  isOutsideDay: _propTypes2['default'].bool,
-  modifiers: _ModifiersShape2['default'],
-  isFocused: _propTypes2['default'].bool,
-  tabIndex: _propTypes2['default'].oneOf([0, -1]),
-  onDayClick: _propTypes2['default'].func,
-  onDayMouseEnter: _propTypes2['default'].func,
-  onDayMouseLeave: _propTypes2['default'].func,
-  renderDayContents: _propTypes2['default'].func,
-  ariaLabelFormat: _propTypes2['default'].string,
+var TOP_LEFT = exports.TOP_LEFT = 'top-left';
+var TOP_RIGHT = exports.TOP_RIGHT = 'top-right';
+var BOTTOM_RIGHT = exports.BOTTOM_RIGHT = 'bottom-right';

-  // internationalization
-  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases))
+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
+  block: _propTypes2['default'].bool,
+  buttonLocation: _propTypes2['default'].oneOf([TOP_LEFT, TOP_RIGHT, BOTTOM_RIGHT]),
+  showKeyboardShortcutsPanel: _propTypes2['default'].bool,
+  openKeyboardShortcutsPanel: _propTypes2['default'].func,
+  closeKeyboardShortcutsPanel: _propTypes2['default'].func,
+  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerKeyboardShortcutsPhrases))
 }));

 var defaultProps = {
-  day: (0, _moment2['default'])(),
-  daySize: _constants.DAY_SIZE,
-  isOutsideDay: false,
-  modifiers: new Set(),
-  isFocused: false,
-  tabIndex: -1,
-  onDayClick: function () {
-    function onDayClick() {}
-
-    return onDayClick;
-  }(),
-  onDayMouseEnter: function () {
-    function onDayMouseEnter() {}
+  block: false,
+  buttonLocation: BOTTOM_RIGHT,
+  showKeyboardShortcutsPanel: false,
+  openKeyboardShortcutsPanel: function () {
+    function openKeyboardShortcutsPanel() {}

-    return onDayMouseEnter;
+    return openKeyboardShortcutsPanel;
   }(),
-  onDayMouseLeave: function () {
-    function onDayMouseLeave() {}
+  closeKeyboardShortcutsPanel: function () {
+    function closeKeyboardShortcutsPanel() {}

-    return onDayMouseLeave;
+    return closeKeyboardShortcutsPanel;
   }(),

-  renderDayContents: null,
-  ariaLabelFormat: 'dddd, LL',
-
-  // internationalization
-  phrases: _defaultPhrases.CalendarDayPhrases
+  phrases: _defaultPhrases.DayPickerKeyboardShortcutsPhrases
 };

-var CalendarDay = function (_React$Component) {
-  _inherits(CalendarDay, _React$Component);
+function getKeyboardShortcuts(phrases) {
+  return [{
+    unicode: '↵',
+    label: phrases.enterKey,
+    action: phrases.selectFocusedDate
+  }, {
+    unicode: '←/→',
+    label: phrases.leftArrowRightArrow,
+    action: phrases.moveFocusByOneDay
+  }, {
+    unicode: '↑/↓',
+    label: phrases.upArrowDownArrow,
+    action: phrases.moveFocusByOneWeek
+  }, {
+    unicode: 'PgUp/PgDn',
+    label: phrases.pageUpPageDown,
+    action: phrases.moveFocusByOneMonth
+  }, {
+    unicode: 'Home/End',
+    label: phrases.homeEnd,
+    action: phrases.moveFocustoStartAndEndOfWeek
+  }, {
+    unicode: 'Esc',
+    label: phrases.escape,
+    action: phrases.returnFocusToInput
+  }, {
+    unicode: '?',
+    label: phrases.questionMark,
+    action: phrases.openThisPanel
+  }];
+}

-  function CalendarDay() {
+var DayPickerKeyboardShortcuts = function (_React$Component) {
+  _inherits(DayPickerKeyboardShortcuts, _React$Component);
+
+  function DayPickerKeyboardShortcuts() {
     var _ref;

-    _classCallCheck(this, CalendarDay);
+    _classCallCheck(this, DayPickerKeyboardShortcuts);

     for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
       args[_key] = arguments[_key];
     }

-    var _this = _possibleConstructorReturn(this, (_ref = CalendarDay.__proto__ || Object.getPrototypeOf(CalendarDay)).call.apply(_ref, [this].concat(args)));
+    var _this = _possibleConstructorReturn(this, (_ref = DayPickerKeyboardShortcuts.__proto__ || Object.getPrototypeOf(DayPickerKeyboardShortcuts)).call.apply(_ref, [this].concat(args)));

-    _this.setButtonRef = _this.setButtonRef.bind(_this);
+    var phrases = _this.props.phrases;
+
+    _this.keyboardShortcuts = getKeyboardShortcuts(phrases);
+
+    _this.onShowKeyboardShortcutsButtonClick = _this.onShowKeyboardShortcutsButtonClick.bind(_this);
+    _this.setShowKeyboardShortcutsButtonRef = _this.setShowKeyboardShortcutsButtonRef.bind(_this);
+    _this.setHideKeyboardShortcutsButtonRef = _this.setHideKeyboardShortcutsButtonRef.bind(_this);
+    _this.handleFocus = _this.handleFocus.bind(_this);
+    _this.onKeyDown = _this.onKeyDown.bind(_this);
     return _this;
   }

-  _createClass(CalendarDay, [{
-    key: 'shouldComponentUpdate',
+  _createClass(DayPickerKeyboardShortcuts, [{
+    key: 'componentWillReceiveProps',
     value: function () {
-      function shouldComponentUpdate(nextProps, nextState) {
-        return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
+      function componentWillReceiveProps(nextProps) {
+        var phrases = this.props.phrases;
+
+        if (nextProps.phrases !== phrases) {
+          this.keyboardShortcuts = getKeyboardShortcuts(nextProps.phrases);
+        }
       }

-      return shouldComponentUpdate;
+      return componentWillReceiveProps;
     }()
   }, {
     key: 'componentDidUpdate',
     value: function () {
-      function componentDidUpdate(prevProps) {
-        var _props = this.props,
-            isFocused = _props.isFocused,
-            tabIndex = _props.tabIndex;
-
-        if (tabIndex === 0) {
-          if (isFocused || tabIndex !== prevProps.tabIndex) {
-            this.buttonRef.focus();
-          }
-        }
+      function componentDidUpdate() {
+        this.handleFocus();
       }

       return componentDidUpdate;
     }()
   }, {
-    key: 'onDayClick',
+    key: 'onKeyDown',
     value: function () {
-      function onDayClick(day, e) {
-        var onDayClick = this.props.onDayClick;
+      function onKeyDown(e) {
+        e.stopPropagation();

-        onDayClick(day, e);
+        var closeKeyboardShortcutsPanel = this.props.closeKeyboardShortcutsPanel;
+        // Because the close button is the only focusable element inside of the panel, this
+        // amounts to a very basic focus trap. The user can exit the panel by "pressing" the
+        // close button or hitting escape
+
+        switch (e.key) {
+          case 'Enter':
+          case ' ':
+          case 'Spacebar': // for older browsers
+          case 'Escape':
+            closeKeyboardShortcutsPanel();
+            break;
+
+          // do nothing - this allows the up and down arrows continue their
+          // default behavior of scrolling the content of the Keyboard Shortcuts Panel
+          // which is needed when only a single month is shown for instance.
+          case 'ArrowUp':
+          case 'ArrowDown':
+            break;
+
+          // completely block the rest of the keys that have functionality outside of this panel
+          case 'Tab':
+          case 'Home':
+          case 'End':
+          case 'PageUp':
+          case 'PageDown':
+          case 'ArrowLeft':
+          case 'ArrowRight':
+            e.preventDefault();
+            break;
+
+          default:
+            break;
+        }
       }

-      return onDayClick;
+      return onKeyDown;
     }()
   }, {
-    key: 'onDayMouseEnter',
+    key: 'onShowKeyboardShortcutsButtonClick',
     value: function () {
-      function onDayMouseEnter(day, e) {
-        var onDayMouseEnter = this.props.onDayMouseEnter;
+      function onShowKeyboardShortcutsButtonClick() {
+        var _this2 = this;

-        onDayMouseEnter(day, e);
+        var openKeyboardShortcutsPanel = this.props.openKeyboardShortcutsPanel;
+
+        // we want to return focus to this button after closing the keyboard shortcuts panel
+
+        openKeyboardShortcutsPanel(function () {
+          _this2.showKeyboardShortcutsButton.focus();
+        });
       }

-      return onDayMouseEnter;
+      return onShowKeyboardShortcutsButtonClick;
     }()
   }, {
-    key: 'onDayMouseLeave',
+    key: 'setShowKeyboardShortcutsButtonRef',
     value: function () {
-      function onDayMouseLeave(day, e) {
-        var onDayMouseLeave = this.props.onDayMouseLeave;
-
-        onDayMouseLeave(day, e);
+      function setShowKeyboardShortcutsButtonRef(ref) {
+        this.showKeyboardShortcutsButton = ref;
       }

-      return onDayMouseLeave;
+      return setShowKeyboardShortcutsButtonRef;
     }()
   }, {
-    key: 'onKeyDown',
+    key: 'setHideKeyboardShortcutsButtonRef',
     value: function () {
-      function onKeyDown(day, e) {
-        var onDayClick = this.props.onDayClick;
-        var key = e.key;
-
-        if (key === 'Enter' || key === ' ') {
-          onDayClick(day, e);
-        }
+      function setHideKeyboardShortcutsButtonRef(ref) {
+        this.hideKeyboardShortcutsButton = ref;
       }

-      return onKeyDown;
+      return setHideKeyboardShortcutsButtonRef;
     }()
   }, {
-    key: 'setButtonRef',
+    key: 'handleFocus',
     value: function () {
-      function setButtonRef(ref) {
-        this.buttonRef = ref;
+      function handleFocus() {
+        if (this.hideKeyboardShortcutsButton) {
+          // automatically move focus into the dialog by moving
+          // to the only interactive element, the hide button
+          this.hideKeyboardShortcutsButton.focus();
+        }
       }

-      return setButtonRef;
+      return handleFocus;
     }()
   }, {
     key: 'render',
     value: function () {
       function render() {
-        var _this2 = this;
+        var _this3 = this;

-        var _props2 = this.props,
-            day = _props2.day,
-            ariaLabelFormat = _props2.ariaLabelFormat,
-            daySize = _props2.daySize,
-            isOutsideDay = _props2.isOutsideDay,
-            modifiers = _props2.modifiers,
-            renderDayContents = _props2.renderDayContents,
-            tabIndex = _props2.tabIndex,
-            styles = _props2.styles,
-            phrases = _props2.phrases;
+        var _props = this.props,
+            block = _props.block,
+            buttonLocation = _props.buttonLocation,
+            showKeyboardShortcutsPanel = _props.showKeyboardShortcutsPanel,
+            closeKeyboardShortcutsPanel = _props.closeKeyboardShortcutsPanel,
+            styles = _props.styles,
+            phrases = _props.phrases;


-        if (!day) return _react2['default'].createElement('td', null);
+        var toggleButtonText = showKeyboardShortcutsPanel ? phrases.hideKeyboardShortcutsPanel : phrases.showKeyboardShortcutsPanel;

-        var _getCalendarDaySettin = (0, _getCalendarDaySettings2['default'])(day, ariaLabelFormat, daySize, modifiers, phrases),
-            daySizeStyles = _getCalendarDaySettin.daySizeStyles,
-            useDefaultCursor = _getCalendarDaySettin.useDefaultCursor,
-            selected = _getCalendarDaySettin.selected,
-            hoveredSpan = _getCalendarDaySettin.hoveredSpan,
-            isOutsideRange = _getCalendarDaySettin.isOutsideRange,
-            ariaLabel = _getCalendarDaySettin.ariaLabel;
+        var bottomRight = buttonLocation === BOTTOM_RIGHT;
+        var topRight = buttonLocation === TOP_RIGHT;
+        var topLeft = buttonLocation === TOP_LEFT;

         return _react2['default'].createElement(
-          'td',
-          _extends({}, (0, _reactWithStyles.css)(styles.CalendarDay, useDefaultCursor && styles.CalendarDay__defaultCursor, styles.CalendarDay__default, isOutsideDay && styles.CalendarDay__outside, modifiers.has('today') && styles.CalendarDay__today, modifiers.has('first-day-of-week') && styles.CalendarDay__firstDayOfWeek, modifiers.has('last-day-of-week') && styles.CalendarDay__lastDayOfWeek, modifiers.has('hovered-offset') && styles.CalendarDay__hovered_offset, modifiers.has('highlighted-calendar') && styles.CalendarDay__highlighted_calendar, modifiers.has('blocked-minimum-nights') && styles.CalendarDay__blocked_minimum_nights, modifiers.has('blocked-calendar') && styles.CalendarDay__blocked_calendar, hoveredSpan && styles.CalendarDay__hovered_span, modifiers.has('selected-span') && styles.CalendarDay__selected_span, modifiers.has('last-in-range') && styles.CalendarDay__last_in_range, modifiers.has('selected-start') && styles.CalendarDay__selected_start, modifiers.has('selected-end') && styles.CalendarDay__selected_end, selected && styles.CalendarDay__selected, isOutsideRange && styles.CalendarDay__blocked_out_of_range, daySizeStyles), {
-            role: 'button' // eslint-disable-line jsx-a11y/no-noninteractive-element-to-interactive-role
-            , ref: this.setButtonRef,
-            'aria-label': ariaLabel,
-            onMouseEnter: function () {
-              function onMouseEnter(e) {
-                _this2.onDayMouseEnter(day, e);
-              }
-
-              return onMouseEnter;
-            }(),
-            onMouseLeave: function () {
-              function onMouseLeave(e) {
-                _this2.onDayMouseLeave(day, e);
-              }
-
-              return onMouseLeave;
-            }(),
-            onMouseUp: function () {
-              function onMouseUp(e) {
-                e.currentTarget.blur();
-              }
-
-              return onMouseUp;
-            }(),
-            onClick: function () {
-              function onClick(e) {
-                _this2.onDayClick(day, e);
-              }
+          'div',
+          null,
+          _react2['default'].createElement(
+            'button',
+            _extends({
+              ref: this.setShowKeyboardShortcutsButtonRef
+            }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_show, bottomRight && styles.DayPickerKeyboardShortcuts_show__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_show__topRight, topLeft && styles.DayPickerKeyboardShortcuts_show__topLeft), {
+              type: 'button',
+              'aria-label': toggleButtonText,
+              onClick: this.onShowKeyboardShortcutsButtonClick,
+              onKeyDown: function () {
+                function onKeyDown(e) {
+                  if (e.key === 'Enter') {
+                    e.preventDefault();
+                  } else if (e.key === 'Space') {
+                    _this3.onShowKeyboardShortcutsButtonClick(e);
+                  }
+                }

-              return onClick;
-            }(),
-            onKeyDown: function () {
-              function onKeyDown(e) {
-                _this2.onKeyDown(day, e);
-              }
+                return onKeyDown;
+              }(),
+              onMouseUp: function () {
+                function onMouseUp(e) {
+                  e.currentTarget.blur();
+                }

-              return onKeyDown;
-            }(),
-            tabIndex: tabIndex
-          }),
-          renderDayContents ? renderDayContents(day, modifiers) : day.format('D')
+                return onMouseUp;
+              }()
+            }),
+            _react2['default'].createElement(
+              'span',
+              (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_showSpan, bottomRight && styles.DayPickerKeyboardShortcuts_showSpan__bottomRight, topRight && styles.DayPickerKeyboardShortcuts_showSpan__topRight, topLeft && styles.DayPickerKeyboardShortcuts_showSpan__topLeft),
+              '?'
+            )
+          ),
+          showKeyboardShortcutsPanel && _react2['default'].createElement(
+            'div',
+            _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_panel), {
+              role: 'dialog',
+              'aria-labelledby': 'DayPickerKeyboardShortcuts_title',
+              'aria-describedby': 'DayPickerKeyboardShortcuts_description'
+            }),
+            _react2['default'].createElement(
+              'div',
+              _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_title), {
+                id: 'DayPickerKeyboardShortcuts_title'
+              }),
+              phrases.keyboardShortcuts
+            ),
+            _react2['default'].createElement(
+              'button',
+              _extends({
+                ref: this.setHideKeyboardShortcutsButtonRef
+              }, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_buttonReset, styles.DayPickerKeyboardShortcuts_close), {
+                type: 'button',
+                tabIndex: '0',
+                'aria-label': phrases.hideKeyboardShortcutsPanel,
+                onClick: closeKeyboardShortcutsPanel,
+                onKeyDown: this.onKeyDown
+              }),
+              _react2['default'].createElement(_CloseButton2['default'], (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_closeSvg))
+            ),
+            _react2['default'].createElement(
+              'ul',
+              _extends({}, (0, _reactWithStyles.css)(styles.DayPickerKeyboardShortcuts_list), {
+                id: 'DayPickerKeyboardShortcuts_description'
+              }),
+              this.keyboardShortcuts.map(function (_ref2) {
+                var unicode = _ref2.unicode,
+                    label = _ref2.label,
+                    action = _ref2.action;
+                return _react2['default'].createElement(_KeyboardShortcutRow2['default'], {
+                  key: label,
+                  unicode: unicode,
+                  label: label,
+                  action: action,
+                  block: block
+                });
+              })
+            )
+          )
         );
       }

@@ -9833,395 +10255,556 @@ var CalendarDay = function (_React$Component) {
     }()
   }]);

-  return CalendarDay;
+  return DayPickerKeyboardShortcuts;
 }(_react2['default'].Component);

-CalendarDay.propTypes = propTypes;
-CalendarDay.defaultProps = defaultProps;
+DayPickerKeyboardShortcuts.propTypes = propTypes;
+DayPickerKeyboardShortcuts.defaultProps = defaultProps;

-exports.PureCalendarDay = CalendarDay;
-exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
-  var _ref2$reactDates = _ref2.reactDates,
-      color = _ref2$reactDates.color,
-      font = _ref2$reactDates.font;
+exports["default"] = (0, _reactWithStyles.withStyles)(function (_ref3) {
+  var _ref3$reactDates = _ref3.reactDates,
+      color = _ref3$reactDates.color,
+      font = _ref3$reactDates.font,
+      zIndex = _ref3$reactDates.zIndex;
   return {
-    CalendarDay: {
-      boxSizing: 'border-box',
+    DayPickerKeyboardShortcuts_buttonReset: {
+      background: 'none',
+      border: 0,
+      borderRadius: 0,
+      color: 'inherit',
+      font: 'inherit',
+      lineHeight: 'normal',
+      overflow: 'visible',
+      padding: 0,
       cursor: 'pointer',
       fontSize: font.size,
-      textAlign: 'center',

       ':active': {
-        outline: 0
+        outline: 'none'
       }
     },

-    CalendarDay__defaultCursor: {
-      cursor: 'default'
+    DayPickerKeyboardShortcuts_show: {
+      width: 22,
+      position: 'absolute',
+      zIndex: zIndex + 2
     },

-    CalendarDay__default: {
-      border: '1px solid ' + String(color.core.borderLight),
-      color: color.text,
-      background: color.background,
+    DayPickerKeyboardShortcuts_show__bottomRight: {
+      borderTop: '26px solid transparent',
+      borderRight: '33px solid ' + String(color.core.primary),
+      bottom: 0,
+      right: 0,

       ':hover': {
-        background: color.core.borderLight,
-        border: '1px double ' + String(color.core.borderLight),
-        color: 'inherit'
+        borderRight: '33px solid ' + String(color.core.primary_dark)
       }
     },

-    CalendarDay__hovered_offset: {
-      background: color.core.borderBright,
-      border: '1px double ' + String(color.core.borderLight),
-      color: 'inherit'
-    },
-
-    CalendarDay__outside: {
-      border: 0,
-      background: color.outside.backgroundColor,
-      color: color.outside.color,
+    DayPickerKeyboardShortcuts_show__topRight: {
+      borderBottom: '26px solid transparent',
+      borderRight: '33px solid ' + String(color.core.primary),
+      top: 0,
+      right: 0,

       ':hover': {
-        border: 0
+        borderRight: '33px solid ' + String(color.core.primary_dark)
       }
     },

-    CalendarDay__blocked_minimum_nights: {
-      background: color.minimumNights.backgroundColor,
-      border: '1px solid ' + String(color.minimumNights.borderColor),
-      color: color.minimumNights.color,
+    DayPickerKeyboardShortcuts_show__topLeft: {
+      borderBottom: '26px solid transparent',
+      borderLeft: '33px solid ' + String(color.core.primary),
+      top: 0,
+      left: 0,

       ':hover': {
-        background: color.minimumNights.backgroundColor_hover,
-        color: color.minimumNights.color_active
-      },
-
-      ':active': {
-        background: color.minimumNights.backgroundColor_active,
-        color: color.minimumNights.color_active
+        borderLeft: '33px solid ' + String(color.core.primary_dark)
       }
     },

-    CalendarDay__highlighted_calendar: {
-      background: color.highlighted.backgroundColor,
-      color: color.highlighted.color,
-
-      ':hover': {
-        background: color.highlighted.backgroundColor_hover,
-        color: color.highlighted.color_active
-      },
-
-      ':active': {
-        background: color.highlighted.backgroundColor_active,
-        color: color.highlighted.color_active
-      }
+    DayPickerKeyboardShortcuts_showSpan: {
+      color: color.core.white,
+      position: 'absolute'
     },

-    CalendarDay__selected_span: {
-      background: color.selectedSpan.backgroundColor,
-      border: '1px solid ' + String(color.selectedSpan.borderColor),
-      color: color.selectedSpan.color,
-
-      ':hover': {
-        background: color.selectedSpan.backgroundColor_hover,
-        border: '1px solid ' + String(color.selectedSpan.borderColor),
-        color: color.selectedSpan.color_active
-      },
-
-      ':active': {
-        background: color.selectedSpan.backgroundColor_active,
-        border: '1px solid ' + String(color.selectedSpan.borderColor),
-        color: color.selectedSpan.color_active
-      }
+    DayPickerKeyboardShortcuts_showSpan__bottomRight: {
+      bottom: 0,
+      right: -28
     },

-    CalendarDay__last_in_range: {
-      borderRight: color.core.primary
+    DayPickerKeyboardShortcuts_showSpan__topRight: {
+      top: 1,
+      right: -28
     },

-    CalendarDay__selected: {
-      background: color.selected.backgroundColor,
-      border: '1px solid ' + String(color.selected.borderColor),
-      color: color.selected.color,
-
-      ':hover': {
-        background: color.selected.backgroundColor_hover,
-        border: '1px solid ' + String(color.selected.borderColor),
-        color: color.selected.color_active
-      },
-
-      ':active': {
-        background: color.selected.backgroundColor_active,
-        border: '1px solid ' + String(color.selected.borderColor),
-        color: color.selected.color_active
-      }
+    DayPickerKeyboardShortcuts_showSpan__topLeft: {
+      top: 1,
+      left: -28
     },

-    CalendarDay__hovered_span: {
-      background: color.hoveredSpan.backgroundColor,
-      border: '1px solid ' + String(color.hoveredSpan.borderColor),
-      color: color.hoveredSpan.color,
-
-      ':hover': {
-        background: color.hoveredSpan.backgroundColor_hover,
-        border: '1px solid ' + String(color.hoveredSpan.borderColor),
-        color: color.hoveredSpan.color_active
-      },
+    DayPickerKeyboardShortcuts_panel: {
+      overflow: 'auto',
+      background: color.background,
+      border: '1px solid ' + String(color.core.border),
+      borderRadius: 2,
+      position: 'absolute',
+      top: 0,
+      bottom: 0,
+      right: 0,
+      left: 0,
+      zIndex: zIndex + 2,
+      padding: 22,
+      margin: 33
+    },

-      ':active': {
-        background: color.hoveredSpan.backgroundColor_active,
-        border: '1px solid ' + String(color.hoveredSpan.borderColor),
-        color: color.hoveredSpan.color_active
-      }
+    DayPickerKeyboardShortcuts_title: {
+      fontSize: 16,
+      fontWeight: 'bold',
+      margin: 0
     },

-    CalendarDay__blocked_calendar: {
-      background: color.blocked_calendar.backgroundColor,
-      border: '1px solid ' + String(color.blocked_calendar.borderColor),
-      color: color.blocked_calendar.color,
+    DayPickerKeyboardShortcuts_list: {
+      listStyle: 'none',
+      padding: 0,
+      fontSize: font.size
+    },

-      ':hover': {
-        background: color.blocked_calendar.backgroundColor_hover,
-        border: '1px solid ' + String(color.blocked_calendar.borderColor),
-        color: color.blocked_calendar.color_active
-      },
+    DayPickerKeyboardShortcuts_close: {
+      position: 'absolute',
+      right: 22,
+      top: 22,
+      zIndex: zIndex + 2,

       ':active': {
-        background: color.blocked_calendar.backgroundColor_active,
-        border: '1px solid ' + String(color.blocked_calendar.borderColor),
-        color: color.blocked_calendar.color_active
+        outline: 'none'
       }
     },

-    CalendarDay__blocked_out_of_range: {
-      background: color.blocked_out_of_range.backgroundColor,
-      border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
-      color: color.blocked_out_of_range.color,
+    DayPickerKeyboardShortcuts_closeSvg: {
+      height: 15,
+      width: 15,
+      fill: color.core.grayLighter,

       ':hover': {
-        background: color.blocked_out_of_range.backgroundColor_hover,
-        border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
-        color: color.blocked_out_of_range.color_active
+        fill: color.core.grayLight
       },

-      ':active': {
-        background: color.blocked_out_of_range.backgroundColor_active,
-        border: '1px solid ' + String(color.blocked_out_of_range.borderColor),
-        color: color.blocked_out_of_range.color_active
+      ':focus': {
+        fill: color.core.grayLight
       }
-    },
-
-    CalendarDay__selected_start: {},
-    CalendarDay__selected_end: {},
-    CalendarDay__today: {},
-    CalendarDay__firstDayOfWeek: {},
-    CalendarDay__lastDayOfWeek: {}
+    }
   };
-})(CalendarDay);
-
-/***/ }),
-
-/***/ "NMb1":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["deprecated"]; }());
+})(DayPickerKeyboardShortcuts);

 /***/ }),

-/***/ "NTP4":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 3895:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-

-/**
- * WordPress dependencies
- */

-const upload = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
+Object.defineProperty(exports, "__esModule", ({
+  value: true
 }));
-/* harmony default export */ __webpack_exports__["a"] = (upload);
-

-/***/ }),
-
-/***/ "NWDH":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

+var _object = __webpack_require__(4011);

-/**
- * WordPress dependencies
- */
+var _object2 = _interopRequireDefault(_object);

-const chevronDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronDown);
+var _react = __webpack_require__(9196);

+var _react2 = _interopRequireDefault(_react);

-/***/ }),
+var _propTypes = __webpack_require__(2652);

-/***/ "Nho6":
-/***/ (function(module, exports, __webpack_require__) {
+var _propTypes2 = _interopRequireDefault(_propTypes);

-"use strict";
+var _airbnbPropTypes = __webpack_require__(4882);

+var _reactWithStyles = __webpack_require__(3576);

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = isAfterDay;
+var _defaultPhrases = __webpack_require__(6030);

-var _moment = __webpack_require__("wy2R");
+var _getPhrasePropTypes = __webpack_require__(2893);

-var _moment2 = _interopRequireDefault(_moment);
+var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);

-var _isBeforeDay = __webpack_require__("h6xH");
+var _LeftArrow = __webpack_require__(8);

-var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay);
+var _LeftArrow2 = _interopRequireDefault(_LeftArrow);

-var _isSameDay = __webpack_require__("pRvc");
+var _RightArrow = __webpack_require__(4921);

-var _isSameDay2 = _interopRequireDefault(_isSameDay);
+var _RightArrow2 = _interopRequireDefault(_RightArrow);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+var _ChevronUp = __webpack_require__(1809);

-function isAfterDay(a, b) {
-  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
-  return !(0, _isBeforeDay2['default'])(a, b) && !(0, _isSameDay2['default'])(a, b);
-}
+var _ChevronUp2 = _interopRequireDefault(_ChevronUp);

-/***/ }),
+var _ChevronDown = __webpack_require__(9588);

-/***/ "Nloh":
-/***/ (function(module, exports, __webpack_require__) {
+var _ChevronDown2 = _interopRequireDefault(_ChevronDown);

-"use strict";
+var _ScrollableOrientationShape = __webpack_require__(6553);

+var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.PureDayPicker = exports.defaultProps = undefined;
+var _constants = __webpack_require__(257);

-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

-var _object = __webpack_require__("Koq/");
+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
+  navPrev: _propTypes2['default'].node,
+  navNext: _propTypes2['default'].node,
+  orientation: _ScrollableOrientationShape2['default'],

-var _object2 = _interopRequireDefault(_object);
+  onPrevMonthClick: _propTypes2['default'].func,
+  onNextMonthClick: _propTypes2['default'].func,

-var _react = __webpack_require__("cDcd");
+  // internationalization
+  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerNavigationPhrases)),

-var _react2 = _interopRequireDefault(_react);
+  isRTL: _propTypes2['default'].bool
+}));

-var _propTypes = __webpack_require__("17x9");
+var defaultProps = {
+  navPrev: null,
+  navNext: null,
+  orientation: _constants.HORIZONTAL_ORIENTATION,

-var _propTypes2 = _interopRequireDefault(_propTypes);
+  onPrevMonthClick: function () {
+    function onPrevMonthClick() {}

-var _reactAddonsShallowCompare = __webpack_require__("YZDV");
+    return onPrevMonthClick;
+  }(),
+  onNextMonthClick: function () {
+    function onNextMonthClick() {}

-var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);
+    return onNextMonthClick;
+  }(),

-var _airbnbPropTypes = __webpack_require__("Hsqg");

-var _reactWithStyles = __webpack_require__("TG4+");
+  // internationalization
+  phrases: _defaultPhrases.DayPickerNavigationPhrases,
+  isRTL: false
+};

-var _moment = __webpack_require__("wy2R");
+function DayPickerNavigation(_ref) {
+  var navPrev = _ref.navPrev,
+      navNext = _ref.navNext,
+      onPrevMonthClick = _ref.onPrevMonthClick,
+      onNextMonthClick = _ref.onNextMonthClick,
+      orientation = _ref.orientation,
+      phrases = _ref.phrases,
+      isRTL = _ref.isRTL,
+      styles = _ref.styles;

-var _moment2 = _interopRequireDefault(_moment);
+  var isHorizontal = orientation === _constants.HORIZONTAL_ORIENTATION;
+  var isVertical = orientation !== _constants.HORIZONTAL_ORIENTATION;
+  var isVerticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;

-var _throttle = __webpack_require__("DzJC");
+  var navPrevIcon = navPrev;
+  var navNextIcon = navNext;
+  var isDefaultNavPrev = false;
+  var isDefaultNavNext = false;
+  if (!navPrevIcon) {
+    isDefaultNavPrev = true;
+    var Icon = isVertical ? _ChevronUp2['default'] : _LeftArrow2['default'];
+    if (isRTL && !isVertical) {
+      Icon = _RightArrow2['default'];
+    }
+    navPrevIcon = _react2['default'].createElement(Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical));
+  }

-var _throttle2 = _interopRequireDefault(_throttle);
+  if (!navNextIcon) {
+    isDefaultNavNext = true;
+    var _Icon = isVertical ? _ChevronDown2['default'] : _RightArrow2['default'];
+    if (isRTL && !isVertical) {
+      _Icon = _LeftArrow2['default'];
+    }
+    navNextIcon = _react2['default'].createElement(_Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical));
+  }

-var _isTouchDevice = __webpack_require__("LTAC");
+  var isDefaultNav = isVerticalScrollable ? isDefaultNavNext : isDefaultNavNext || isDefaultNavPrev;

-var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice);
+  return _react2['default'].createElement(
+    'div',
+    _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation, isHorizontal && styles.DayPickerNavigation__horizontal].concat(_toConsumableArray(isVertical && [styles.DayPickerNavigation__vertical, isDefaultNav && styles.DayPickerNavigation__verticalDefault]), _toConsumableArray(isVerticalScrollable && [styles.DayPickerNavigation__verticalScrollable, isDefaultNav && styles.DayPickerNavigation__verticalScrollableDefault]))),
+    !isVerticalScrollable && _react2['default'].createElement(
+      'div',
+      _extends({
+        role: 'button',
+        tabIndex: '0'
+      }, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavPrev && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__horizontalDefault, !isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_prevButton__verticalDefault]))))), {
+        'aria-label': phrases.jumpToPrevMonth,
+        onClick: onPrevMonthClick,
+        onKeyUp: function () {
+          function onKeyUp(e) {
+            var key = e.key;

-var _reactOutsideClickHandler = __webpack_require__("3gBW");
+            if (key === 'Enter' || key === ' ') onPrevMonthClick(e);
+          }

-var _reactOutsideClickHandler2 = _interopRequireDefault(_reactOutsideClickHandler);
+          return onKeyUp;
+        }(),
+        onMouseUp: function () {
+          function onMouseUp(e) {
+            e.currentTarget.blur();
+          }

-var _defaultPhrases = __webpack_require__("vV+G");
+          return onMouseUp;
+        }()
+      }),
+      navPrevIcon
+    ),
+    _react2['default'].createElement(
+      'div',
+      _extends({
+        role: 'button',
+        tabIndex: '0'
+      }, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavNext && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__horizontalDefault, isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, !isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical, styles.DayPickerNavigation_nextButton__vertical].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_nextButton__verticalDefault, isVerticalScrollable && styles.DayPickerNavigation_nextButton__verticalScrollableDefault]))))), {
+        'aria-label': phrases.jumpToNextMonth,
+        onClick: onNextMonthClick,
+        onKeyUp: function () {
+          function onKeyUp(e) {
+            var key = e.key;

-var _getPhrasePropTypes = __webpack_require__("yc2e");
+            if (key === 'Enter' || key === ' ') onNextMonthClick(e);
+          }

-var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
+          return onKeyUp;
+        }(),
+        onMouseUp: function () {
+          function onMouseUp(e) {
+            e.currentTarget.blur();
+          }

-var _CalendarMonthGrid = __webpack_require__("Thzv");
+          return onMouseUp;
+        }()
+      }),
+      navNextIcon
+    )
+  );
+}

-var _CalendarMonthGrid2 = _interopRequireDefault(_CalendarMonthGrid);
+DayPickerNavigation.propTypes = propTypes;
+DayPickerNavigation.defaultProps = defaultProps;

-var _DayPickerNavigation = __webpack_require__("zfJ5");
+exports["default"] = (0, _reactWithStyles.withStyles)(function (_ref2) {
+  var _ref2$reactDates = _ref2.reactDates,
+      color = _ref2$reactDates.color,
+      zIndex = _ref2$reactDates.zIndex;
+  return {
+    DayPickerNavigation: {
+      position: 'relative',
+      zIndex: zIndex + 2
+    },

-var _DayPickerNavigation2 = _interopRequireDefault(_DayPickerNavigation);
+    DayPickerNavigation__horizontal: {
+      height: 0
+    },

-var _DayPickerKeyboardShortcuts = __webpack_require__("1+Kn");
+    DayPickerNavigation__vertical: {},
+    DayPickerNavigation__verticalScrollable: {},

-var _DayPickerKeyboardShortcuts2 = _interopRequireDefault(_DayPickerKeyboardShortcuts);
+    DayPickerNavigation__verticalDefault: {
+      position: 'absolute',
+      width: '100%',
+      height: 52,
+      bottom: 0,
+      left: 0
+    },

-var _getNumberOfCalendarMonthWeeks = __webpack_require__("0Dl3");
+    DayPickerNavigation__verticalScrollableDefault: {
+      position: 'relative'
+    },

-var _getNumberOfCalendarMonthWeeks2 = _interopRequireDefault(_getNumberOfCalendarMonthWeeks);
+    DayPickerNavigation_button: {
+      cursor: 'pointer',
+      userSelect: 'none',
+      border: 0,
+      padding: 0,
+      margin: 0
+    },

-var _getCalendarMonthWidth = __webpack_require__("m2ax");
+    DayPickerNavigation_button__default: {
+      border: '1px solid ' + String(color.core.borderLight),
+      backgroundColor: color.background,
+      color: color.placeholderText,

-var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth);
+      ':focus': {
+        border: '1px solid ' + String(color.core.borderMedium)
+      },

-var _calculateDimension = __webpack_require__("ixyq");
+      ':hover': {
+        border: '1px solid ' + String(color.core.borderMedium)
+      },

-var _calculateDimension2 = _interopRequireDefault(_calculateDimension);
+      ':active': {
+        background: color.backgroundDark
+      }
+    },

-var _getActiveElement = __webpack_require__("+51k");
+    DayPickerNavigation_button__horizontal: {},

-var _getActiveElement2 = _interopRequireDefault(_getActiveElement);
+    DayPickerNavigation_button__horizontalDefault: {
+      position: 'absolute',
+      top: 18,
+      lineHeight: 0.78,
+      borderRadius: 3,
+      padding: '6px 9px'
+    },
+
+    DayPickerNavigation_leftButton__horizontalDefault: {
+      left: 22
+    },
+
+    DayPickerNavigation_rightButton__horizontalDefault: {
+      right: 22
+    },
+
+    DayPickerNavigation_button__vertical: {},
+
+    DayPickerNavigation_button__verticalDefault: {
+      padding: 5,
+      background: color.background,
+      boxShadow: '0 0 5px 2px rgba(0, 0, 0, 0.1)',
+      position: 'relative',
+      display: 'inline-block',
+      height: '100%',
+      width: '50%'
+    },
+
+    DayPickerNavigation_prevButton__verticalDefault: {},
+
+    DayPickerNavigation_nextButton__verticalDefault: {
+      borderLeft: 0
+    },
+
+    DayPickerNavigation_nextButton__verticalScrollableDefault: {
+      width: '100%'
+    },
+
+    DayPickerNavigation_svg__horizontal: {
+      height: 19,
+      width: 19,
+      fill: color.core.grayLight,
+      display: 'block'
+    },
+
+    DayPickerNavigation_svg__vertical: {
+      height: 42,
+      width: 42,
+      fill: color.text,
+      display: 'block'
+    }
+  };
+})(DayPickerNavigation);
+
+/***/ }),
+
+/***/ 6302:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+
+"use strict";
+var __webpack_unused_export__;
+
+
+__webpack_unused_export__ = ({
+  value: true
+});
+
+var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
+
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+
+var _object = __webpack_require__(4011);
+
+var _object2 = _interopRequireDefault(_object);
+
+var _react = __webpack_require__(9196);
+
+var _react2 = _interopRequireDefault(_react);
+
+var _propTypes = __webpack_require__(2652);
+
+var _propTypes2 = _interopRequireDefault(_propTypes);
+
+var _reactMomentProptypes = __webpack_require__(6150);
+
+var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);
+
+var _airbnbPropTypes = __webpack_require__(4882);
+
+var _moment = __webpack_require__(6292);
+
+var _moment2 = _interopRequireDefault(_moment);
+
+var _object3 = __webpack_require__(5861);
+
+var _object4 = _interopRequireDefault(_object3);
+
+var _isTouchDevice = __webpack_require__(5834);
+
+var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice);
+
+var _defaultPhrases = __webpack_require__(6030);
+
+var _getPhrasePropTypes = __webpack_require__(2893);
+
+var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
+
+var _isSameDay = __webpack_require__(3923);
+
+var _isSameDay2 = _interopRequireDefault(_isSameDay);
+
+var _isAfterDay = __webpack_require__(7365);
+
+var _isAfterDay2 = _interopRequireDefault(_isAfterDay);
+
+var _getVisibleDays = __webpack_require__(3268);

-var _isDayVisible = __webpack_require__("IgE5");
+var _getVisibleDays2 = _interopRequireDefault(_getVisibleDays);
+
+var _isDayVisible = __webpack_require__(5713);

 var _isDayVisible2 = _interopRequireDefault(_isDayVisible);

-var _ModifiersShape = __webpack_require__("J7JS");
+var _toISODateString = __webpack_require__(7310);

-var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);
+var _toISODateString2 = _interopRequireDefault(_toISODateString);

-var _ScrollableOrientationShape = __webpack_require__("aE6U");
+var _toISOMonthString = __webpack_require__(2705);
+
+var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString);
+
+var _ScrollableOrientationShape = __webpack_require__(6553);

 var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);

-var _DayOfWeekShape = __webpack_require__("2S2E");
+var _DayOfWeekShape = __webpack_require__(243);

 var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape);

-var _CalendarInfoPositionShape = __webpack_require__("oR9Z");
+var _CalendarInfoPositionShape = __webpack_require__(8182);

 var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape);

-var _constants = __webpack_require__("Fv1B");
+var _constants = __webpack_require__(257);
+
+var _DayPicker = __webpack_require__(8665);
+
+var _DayPicker2 = _interopRequireDefault(_DayPicker);

 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -10229,105 +10812,120 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen

 function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

-var MONTH_PADDING = 23;
-var PREV_TRANSITION = 'prev';
-var NEXT_TRANSITION = 'next';
-var MONTH_SELECTION_TRANSITION = 'month_selection';
-var YEAR_SELECTION_TRANSITION = 'year_selection';
+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
+  date: _reactMomentProptypes2['default'].momentObj,
+  onDateChange: _propTypes2['default'].func,

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
+  focused: _propTypes2['default'].bool,
+  onFocusChange: _propTypes2['default'].func,
+  onClose: _propTypes2['default'].func,

-  // calendar presentation props
+  keepOpenOnDateSelect: _propTypes2['default'].bool,
+  isOutsideRange: _propTypes2['default'].func,
+  isDayBlocked: _propTypes2['default'].func,
+  isDayHighlighted: _propTypes2['default'].func,
+
+  // DayPicker props
+  renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
+  renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
   enableOutsideDays: _propTypes2['default'].bool,
   numberOfMonths: _propTypes2['default'].number,
   orientation: _ScrollableOrientationShape2['default'],
   withPortal: _propTypes2['default'].bool,
-  onOutsideClick: _propTypes2['default'].func,
-  hidden: _propTypes2['default'].bool,
   initialVisibleMonth: _propTypes2['default'].func,
   firstDayOfWeek: _DayOfWeekShape2['default'],
-  renderCalendarInfo: _propTypes2['default'].func,
-  calendarInfoPosition: _CalendarInfoPositionShape2['default'],
   hideKeyboardShortcutsPanel: _propTypes2['default'].bool,
   daySize: _airbnbPropTypes.nonNegativeInteger,
-  isRTL: _propTypes2['default'].bool,
   verticalHeight: _airbnbPropTypes.nonNegativeInteger,
   noBorder: _propTypes2['default'].bool,
-  transitionDuration: _airbnbPropTypes.nonNegativeInteger,
   verticalBorderSpacing: _airbnbPropTypes.nonNegativeInteger,
+  transitionDuration: _airbnbPropTypes.nonNegativeInteger,
   horizontalMonthPadding: _airbnbPropTypes.nonNegativeInteger,

-  // navigation props
   navPrev: _propTypes2['default'].node,
   navNext: _propTypes2['default'].node,
-  noNavButtons: _propTypes2['default'].bool,
+
   onPrevMonthClick: _propTypes2['default'].func,
   onNextMonthClick: _propTypes2['default'].func,
-  onMonthChange: _propTypes2['default'].func,
-  onYearChange: _propTypes2['default'].func,
-  onMultiplyScrollableMonths: _propTypes2['default'].func, // VERTICAL_SCROLLABLE daypickers only
-
-  // month props
-  renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
-  renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
-
-  // day props
-  modifiers: _propTypes2['default'].objectOf(_propTypes2['default'].objectOf(_ModifiersShape2['default'])),
+  onOutsideClick: _propTypes2['default'].func,
   renderCalendarDay: _propTypes2['default'].func,
   renderDayContents: _propTypes2['default'].func,
-  onDayClick: _propTypes2['default'].func,
-  onDayMouseEnter: _propTypes2['default'].func,
-  onDayMouseLeave: _propTypes2['default'].func,
+  renderCalendarInfo: _propTypes2['default'].func,
+  calendarInfoPosition: _CalendarInfoPositionShape2['default'],

-  // accessibility props
-  isFocused: _propTypes2['default'].bool,
-  getFirstFocusableDay: _propTypes2['default'].func,
+  // accessibility
   onBlur: _propTypes2['default'].func,
+  isFocused: _propTypes2['default'].bool,
   showKeyboardShortcuts: _propTypes2['default'].bool,

-  // internationalization
+  // i18n
   monthFormat: _propTypes2['default'].string,
   weekDayFormat: _propTypes2['default'].string,
   phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerPhrases)),
-  dayAriaLabelFormat: _propTypes2['default'].string
-}));
+  dayAriaLabelFormat: _propTypes2['default'].string,

-var defaultProps = exports.defaultProps = {
-  // calendar presentation props
-  enableOutsideDays: false,
-  numberOfMonths: 2,
-  orientation: _constants.HORIZONTAL_ORIENTATION,
-  withPortal: false,
-  onOutsideClick: function () {
-    function onOutsideClick() {}
+  isRTL: _propTypes2['default'].bool
+});

-    return onOutsideClick;
+var defaultProps = {
+  date: undefined, // TODO: use null
+  onDateChange: function () {
+    function onDateChange() {}
+
+    return onDateChange;
   }(),

-  hidden: false,
-  initialVisibleMonth: function () {
-    function initialVisibleMonth() {
-      return (0, _moment2['default'])();
-    }

-    return initialVisibleMonth;
+  focused: false,
+  onFocusChange: function () {
+    function onFocusChange() {}
+
+    return onFocusChange;
   }(),
-  firstDayOfWeek: null,
-  renderCalendarInfo: null,
-  calendarInfoPosition: _constants.INFO_POSITION_BOTTOM,
+  onClose: function () {
+    function onClose() {}
+
+    return onClose;
+  }(),
+
+
+  keepOpenOnDateSelect: false,
+  isOutsideRange: function () {
+    function isOutsideRange() {}
+
+    return isOutsideRange;
+  }(),
+  isDayBlocked: function () {
+    function isDayBlocked() {}
+
+    return isDayBlocked;
+  }(),
+  isDayHighlighted: function () {
+    function isDayHighlighted() {}
+
+    return isDayHighlighted;
+  }(),
+
+
+  // DayPicker props
+  renderMonthText: null,
+  enableOutsideDays: false,
+  numberOfMonths: 1,
+  orientation: _constants.HORIZONTAL_ORIENTATION,
+  withPortal: false,
   hideKeyboardShortcutsPanel: false,
+  initialVisibleMonth: null,
+  firstDayOfWeek: null,
   daySize: _constants.DAY_SIZE,
-  isRTL: false,
   verticalHeight: null,
   noBorder: false,
-  transitionDuration: undefined,
   verticalBorderSpacing: undefined,
+  transitionDuration: undefined,
   horizontalMonthPadding: 13,

-  // navigation props
   navPrev: null,
   navNext: null,
-  noNavButtons: false,
+
   onPrevMonthClick: function () {
     function onPrevMonthClick() {}

@@ -10338,150 +10936,150 @@ var defaultProps = exports.defaultProps = {

     return onNextMonthClick;
   }(),
-  onMonthChange: function () {
-    function onMonthChange() {}
-
-    return onMonthChange;
-  }(),
-  onYearChange: function () {
-    function onYearChange() {}
-
-    return onYearChange;
-  }(),
-  onMultiplyScrollableMonths: function () {
-    function onMultiplyScrollableMonths() {}
+  onOutsideClick: function () {
+    function onOutsideClick() {}

-    return onMultiplyScrollableMonths;
+    return onOutsideClick;
   }(),


-  // month props
-  renderMonthText: null,
-  renderMonthElement: null,
-
-  // day props
-  modifiers: {},
   renderCalendarDay: undefined,
   renderDayContents: null,
-  onDayClick: function () {
-    function onDayClick() {}
-
-    return onDayClick;
-  }(),
-  onDayMouseEnter: function () {
-    function onDayMouseEnter() {}
-
-    return onDayMouseEnter;
-  }(),
-  onDayMouseLeave: function () {
-    function onDayMouseLeave() {}
-
-    return onDayMouseLeave;
-  }(),
-
+  renderCalendarInfo: null,
+  renderMonthElement: null,
+  calendarInfoPosition: _constants.INFO_POSITION_BOTTOM,

-  // accessibility props
-  isFocused: false,
-  getFirstFocusableDay: null,
+  // accessibility
   onBlur: function () {
     function onBlur() {}

     return onBlur;
   }(),

+  isFocused: false,
   showKeyboardShortcuts: false,

-  // internationalization
+  // i18n
   monthFormat: 'MMMM YYYY',
   weekDayFormat: 'dd',
   phrases: _defaultPhrases.DayPickerPhrases,
-  dayAriaLabelFormat: undefined
+  dayAriaLabelFormat: undefined,
+
+  isRTL: false
 };

-var DayPicker = function (_React$Component) {
-  _inherits(DayPicker, _React$Component);
+var DayPickerSingleDateController = function (_React$Component) {
+  _inherits(DayPickerSingleDateController, _React$Component);

-  function DayPicker(props) {
-    _classCallCheck(this, DayPicker);
+  function DayPickerSingleDateController(props) {
+    _classCallCheck(this, DayPickerSingleDateController);

-    var _this = _possibleConstructorReturn(this, (DayPicker.__proto__ || Object.getPrototypeOf(DayPicker)).call(this, props));
+    var _this = _possibleConstructorReturn(this, (DayPickerSingleDateController.__proto__ || Object.getPrototypeOf(DayPickerSingleDateController)).call(this, props));

-    var currentMonth = props.hidden ? (0, _moment2['default'])() : props.initialVisibleMonth();
+    _this.isTouchDevice = false;
+    _this.today = (0, _moment2['default'])();

-    var focusedDate = currentMonth.clone().startOf('month');
-    if (props.getFirstFocusableDay) {
-      focusedDate = props.getFirstFocusableDay(currentMonth);
-    }
+    _this.modifiers = {
+      today: function () {
+        function today(day) {
+          return _this.isToday(day);
+        }

-    var horizontalMonthPadding = props.horizontalMonthPadding;
+        return today;
+      }(),
+      blocked: function () {
+        function blocked(day) {
+          return _this.isBlocked(day);
+        }

+        return blocked;
+      }(),
+      'blocked-calendar': function () {
+        function blockedCalendar(day) {
+          return props.isDayBlocked(day);
+        }

-    var translationValue = props.isRTL && _this.isHorizontal() ? -(0, _getCalendarMonthWidth2['default'])(props.daySize, horizontalMonthPadding) : 0;
+        return blockedCalendar;
+      }(),
+      'blocked-out-of-range': function () {
+        function blockedOutOfRange(day) {
+          return props.isOutsideRange(day);
+        }

-    _this.hasSetInitialVisibleMonth = !props.hidden;
-    _this.state = {
-      currentMonth: currentMonth,
-      monthTransition: null,
-      translationValue: translationValue,
-      scrollableMonthMultiple: 1,
-      calendarMonthWidth: (0, _getCalendarMonthWidth2['default'])(props.daySize, horizontalMonthPadding),
-      focusedDate: !props.hidden || props.isFocused ? focusedDate : null,
-      nextFocusedDate: null,
-      showKeyboardShortcuts: props.showKeyboardShortcuts,
-      onKeyboardShortcutsPanelClose: function () {
-        function onKeyboardShortcutsPanelClose() {}
+        return blockedOutOfRange;
+      }(),
+      'highlighted-calendar': function () {
+        function highlightedCalendar(day) {
+          return props.isDayHighlighted(day);
+        }

-        return onKeyboardShortcutsPanelClose;
+        return highlightedCalendar;
+      }(),
+      valid: function () {
+        function valid(day) {
+          return !_this.isBlocked(day);
+        }
+
+        return valid;
       }(),
+      hovered: function () {
+        function hovered(day) {
+          return _this.isHovered(day);
+        }

-      isTouchDevice: (0, _isTouchDevice2['default'])(),
-      withMouseInteractions: true,
-      calendarInfoWidth: 0,
-      monthTitleHeight: null,
-      hasSetHeight: false
+        return hovered;
+      }(),
+      selected: function () {
+        function selected(day) {
+          return _this.isSelected(day);
+        }
+
+        return selected;
+      }(),
+      'first-day-of-week': function () {
+        function firstDayOfWeek(day) {
+          return _this.isFirstDayOfWeek(day);
+        }
+
+        return firstDayOfWeek;
+      }(),
+      'last-day-of-week': function () {
+        function lastDayOfWeek(day) {
+          return _this.isLastDayOfWeek(day);
+        }
+
+        return lastDayOfWeek;
+      }()
     };

-    _this.setCalendarMonthWeeks(currentMonth);
+    var _this$getStateForNewM = _this.getStateForNewMonth(props),
+        currentMonth = _this$getStateForNewM.currentMonth,
+        visibleDays = _this$getStateForNewM.visibleDays;

-    _this.calendarMonthGridHeight = 0;
-    _this.setCalendarInfoWidthTimeout = null;
+    _this.state = {
+      hoverDate: null,
+      currentMonth: currentMonth,
+      visibleDays: visibleDays
+    };
+
+    _this.onDayMouseEnter = _this.onDayMouseEnter.bind(_this);
+    _this.onDayMouseLeave = _this.onDayMouseLeave.bind(_this);
+    _this.onDayClick = _this.onDayClick.bind(_this);

-    _this.onKeyDown = _this.onKeyDown.bind(_this);
-    _this.throttledKeyDown = (0, _throttle2['default'])(_this.onFinalKeyDown, 200, { trailing: false });
     _this.onPrevMonthClick = _this.onPrevMonthClick.bind(_this);
     _this.onNextMonthClick = _this.onNextMonthClick.bind(_this);
     _this.onMonthChange = _this.onMonthChange.bind(_this);
     _this.onYearChange = _this.onYearChange.bind(_this);

-    _this.multiplyScrollableMonths = _this.multiplyScrollableMonths.bind(_this);
-    _this.updateStateAfterMonthTransition = _this.updateStateAfterMonthTransition.bind(_this);
-
-    _this.openKeyboardShortcutsPanel = _this.openKeyboardShortcutsPanel.bind(_this);
-    _this.closeKeyboardShortcutsPanel = _this.closeKeyboardShortcutsPanel.bind(_this);
-
-    _this.setCalendarInfoRef = _this.setCalendarInfoRef.bind(_this);
-    _this.setContainerRef = _this.setContainerRef.bind(_this);
-    _this.setTransitionContainerRef = _this.setTransitionContainerRef.bind(_this);
-    _this.setMonthTitleHeight = _this.setMonthTitleHeight.bind(_this);
+    _this.getFirstFocusableDay = _this.getFirstFocusableDay.bind(_this);
     return _this;
   }

-  _createClass(DayPicker, [{
+  _createClass(DayPickerSingleDateController, [{
     key: 'componentDidMount',
     value: function () {
       function componentDidMount() {
-        var currentMonth = this.state.currentMonth;
-
-        if (this.calendarInfo) {
-          this.setState({
-            isTouchDevice: (0, _isTouchDevice2['default'])(),
-            calendarInfoWidth: (0, _calculateDimension2['default'])(this.calendarInfo, 'width', true, true)
-          });
-        } else {
-          this.setState({ isTouchDevice: (0, _isTouchDevice2['default'])() });
-        }
-
-        this.setCalendarMonthWeeks(currentMonth);
+        this.isTouchDevice = (0, _isTouchDevice2['default'])();
       }

       return componentDidMount;
@@ -10490,61 +11088,123 @@ var DayPicker = function (_React$Component) {
     key: 'componentWillReceiveProps',
     value: function () {
       function componentWillReceiveProps(nextProps) {
-        var hidden = nextProps.hidden,
-            isFocused = nextProps.isFocused,
-            showKeyboardShortcuts = nextProps.showKeyboardShortcuts,
-            onBlur = nextProps.onBlur,
-            renderMonthText = nextProps.renderMonthText,
-            horizontalMonthPadding = nextProps.horizontalMonthPadding;
-        var currentMonth = this.state.currentMonth;
+        var _this2 = this;
+
+        var date = nextProps.date,
+            focused = nextProps.focused,
+            isOutsideRange = nextProps.isOutsideRange,
+            isDayBlocked = nextProps.isDayBlocked,
+            isDayHighlighted = nextProps.isDayHighlighted,
+            initialVisibleMonth = nextProps.initialVisibleMonth,
+            numberOfMonths = nextProps.numberOfMonths,
+            enableOutsideDays = nextProps.enableOutsideDays;
+        var _props = this.props,
+            prevIsOutsideRange = _props.isOutsideRange,
+            prevIsDayBlocked = _props.isDayBlocked,
+            prevIsDayHighlighted = _props.isDayHighlighted,
+            prevNumberOfMonths = _props.numberOfMonths,
+            prevEnableOutsideDays = _props.enableOutsideDays,
+            prevInitialVisibleMonth = _props.initialVisibleMonth,
+            prevFocused = _props.focused,
+            prevDate = _props.date;
+        var visibleDays = this.state.visibleDays;


-        if (!hidden) {
-          if (!this.hasSetInitialVisibleMonth) {
-            this.hasSetInitialVisibleMonth = true;
-            this.setState({
-              currentMonth: nextProps.initialVisibleMonth()
-            });
-          }
+        var recomputeOutsideRange = false;
+        var recomputeDayBlocked = false;
+        var recomputeDayHighlighted = false;
+
+        if (isOutsideRange !== prevIsOutsideRange) {
+          this.modifiers['blocked-out-of-range'] = function (day) {
+            return isOutsideRange(day);
+          };
+          recomputeOutsideRange = true;
         }

-        var _props = this.props,
-            daySize = _props.daySize,
-            prevIsFocused = _props.isFocused,
-            prevRenderMonthText = _props.renderMonthText;
+        if (isDayBlocked !== prevIsDayBlocked) {
+          this.modifiers['blocked-calendar'] = function (day) {
+            return isDayBlocked(day);
+          };
+          recomputeDayBlocked = true;
+        }
+
+        if (isDayHighlighted !== prevIsDayHighlighted) {
+          this.modifiers['highlighted-calendar'] = function (day) {
+            return isDayHighlighted(day);
+          };
+          recomputeDayHighlighted = true;
+        }

+        var recomputePropModifiers = recomputeOutsideRange || recomputeDayBlocked || recomputeDayHighlighted;
+
+        if (numberOfMonths !== prevNumberOfMonths || enableOutsideDays !== prevEnableOutsideDays || initialVisibleMonth !== prevInitialVisibleMonth && !prevFocused && focused) {
+          var newMonthState = this.getStateForNewMonth(nextProps);
+          var currentMonth = newMonthState.currentMonth;
+          visibleDays = newMonthState.visibleDays;

-        if (nextProps.daySize !== daySize) {
           this.setState({
-            calendarMonthWidth: (0, _getCalendarMonthWidth2['default'])(nextProps.daySize, horizontalMonthPadding)
+            currentMonth: currentMonth,
+            visibleDays: visibleDays
           });
         }

-        if (isFocused !== prevIsFocused) {
-          if (isFocused) {
-            var focusedDate = this.getFocusedDay(currentMonth);
+        var didDateChange = date !== prevDate;
+        var didFocusChange = focused !== prevFocused;

-            var onKeyboardShortcutsPanelClose = this.state.onKeyboardShortcutsPanelClose;
+        var modifiers = {};

-            if (nextProps.showKeyboardShortcuts) {
-              // the ? shortcut came from the input and we should return input there once it is close
-              onKeyboardShortcutsPanelClose = onBlur;
-            }
+        if (didDateChange) {
+          modifiers = this.deleteModifier(modifiers, prevDate, 'selected');
+          modifiers = this.addModifier(modifiers, date, 'selected');
+        }

-            this.setState({
-              showKeyboardShortcuts: showKeyboardShortcuts,
-              onKeyboardShortcutsPanelClose: onKeyboardShortcutsPanelClose,
-              focusedDate: focusedDate,
-              withMouseInteractions: false
+        if (didFocusChange || recomputePropModifiers) {
+          (0, _object4['default'])(visibleDays).forEach(function (days) {
+            Object.keys(days).forEach(function (day) {
+              var momentObj = (0, _moment2['default'])(day);
+              if (_this2.isBlocked(momentObj)) {
+                modifiers = _this2.addModifier(modifiers, momentObj, 'blocked');
+              } else {
+                modifiers = _this2.deleteModifier(modifiers, momentObj, 'blocked');
+              }
+
+              if (didFocusChange || recomputeOutsideRange) {
+                if (isOutsideRange(momentObj)) {
+                  modifiers = _this2.addModifier(modifiers, momentObj, 'blocked-out-of-range');
+                } else {
+                  modifiers = _this2.deleteModifier(modifiers, momentObj, 'blocked-out-of-range');
+                }
+              }
+
+              if (didFocusChange || recomputeDayBlocked) {
+                if (isDayBlocked(momentObj)) {
+                  modifiers = _this2.addModifier(modifiers, momentObj, 'blocked-calendar');
+                } else {
+                  modifiers = _this2.deleteModifier(modifiers, momentObj, 'blocked-calendar');
+                }
+              }
+
+              if (didFocusChange || recomputeDayHighlighted) {
+                if (isDayHighlighted(momentObj)) {
+                  modifiers = _this2.addModifier(modifiers, momentObj, 'highlighted-calendar');
+                } else {
+                  modifiers = _this2.deleteModifier(modifiers, momentObj, 'highlighted-calendar');
+                }
+              }
             });
-          } else {
-            this.setState({ focusedDate: null });
-          }
+          });
         }

-        if (renderMonthText !== prevRenderMonthText) {
+        var today = (0, _moment2['default'])();
+        if (!(0, _isSameDay2['default'])(this.today, today)) {
+          modifiers = this.deleteModifier(modifiers, this.today, 'today');
+          modifiers = this.addModifier(modifiers, today, 'today');
+          this.today = today;
+        }
+
+        if (Object.keys(modifiers).length > 0) {
           this.setState({
-            monthTitleHeight: null
+            visibleDays: (0, _object2['default'])({}, visibleDays, modifiers)
           });
         }
       }
@@ -10552,256 +11212,155 @@ var DayPicker = function (_React$Component) {
       return componentWillReceiveProps;
     }()
   }, {
-    key: 'shouldComponentUpdate',
+    key: 'componentWillUpdate',
     value: function () {
-      function shouldComponentUpdate(nextProps, nextState) {
-        return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
+      function componentWillUpdate() {
+        this.today = (0, _moment2['default'])();
       }

-      return shouldComponentUpdate;
+      return componentWillUpdate;
     }()
   }, {
-    key: 'componentWillUpdate',
+    key: 'onDayClick',
     value: function () {
-      function componentWillUpdate() {
-        var _this2 = this;
-
-        var transitionDuration = this.props.transitionDuration;
-
-        // Calculating the dimensions trigger a DOM repaint which
-        // breaks the CSS transition.
-        // The setTimeout will wait until the transition ends.
+      function onDayClick(day, e) {
+        if (e) e.preventDefault();
+        if (this.isBlocked(day)) return;
+        var _props2 = this.props,
+            onDateChange = _props2.onDateChange,
+            keepOpenOnDateSelect = _props2.keepOpenOnDateSelect,
+            onFocusChange = _props2.onFocusChange,
+            onClose = _props2.onClose;

-        if (this.calendarInfo) {
-          this.setCalendarInfoWidthTimeout = setTimeout(function () {
-            var calendarInfoWidth = _this2.state.calendarInfoWidth;

-            var calendarInfoPanelWidth = (0, _calculateDimension2['default'])(_this2.calendarInfo, 'width', true, true);
-            if (calendarInfoWidth !== calendarInfoPanelWidth) {
-              _this2.setState({
-                calendarInfoWidth: calendarInfoPanelWidth
-              });
-            }
-          }, transitionDuration);
+        onDateChange(day);
+        if (!keepOpenOnDateSelect) {
+          onFocusChange({ focused: false });
+          onClose({ date: day });
         }
       }

-      return componentWillUpdate;
+      return onDayClick;
     }()
   }, {
-    key: 'componentDidUpdate',
+    key: 'onDayMouseEnter',
     value: function () {
-      function componentDidUpdate(prevProps) {
-        var _props2 = this.props,
-            orientation = _props2.orientation,
-            daySize = _props2.daySize,
-            isFocused = _props2.isFocused,
-            numberOfMonths = _props2.numberOfMonths;
+      function onDayMouseEnter(day) {
+        if (this.isTouchDevice) return;
         var _state = this.state,
-            focusedDate = _state.focusedDate,
-            monthTitleHeight = _state.monthTitleHeight;
+            hoverDate = _state.hoverDate,
+            visibleDays = _state.visibleDays;


-        if (this.isHorizontal() && (orientation !== prevProps.orientation || daySize !== prevProps.daySize)) {
-          var visibleCalendarWeeks = this.calendarMonthWeeks.slice(1, numberOfMonths + 1);
-          var calendarMonthWeeksHeight = Math.max.apply(Math, [0].concat(_toConsumableArray(visibleCalendarWeeks))) * (daySize - 1);
-          var newMonthHeight = monthTitleHeight + calendarMonthWeeksHeight + 1;
-          this.adjustDayPickerHeight(newMonthHeight);
-        }
+        var modifiers = this.deleteModifier({}, hoverDate, 'hovered');
+        modifiers = this.addModifier(modifiers, day, 'hovered');

-        if (!prevProps.isFocused && isFocused && !focusedDate) {
-          this.container.focus();
-        }
+        this.setState({
+          hoverDate: day,
+          visibleDays: (0, _object2['default'])({}, visibleDays, modifiers)
+        });
       }

-      return componentDidUpdate;
+      return onDayMouseEnter;
     }()
   }, {
-    key: 'componentWillUnmount',
+    key: 'onDayMouseLeave',
     value: function () {
-      function componentWillUnmount() {
-        clearTimeout(this.setCalendarInfoWidthTimeout);
-      }
+      function onDayMouseLeave() {
+        var _state2 = this.state,
+            hoverDate = _state2.hoverDate,
+            visibleDays = _state2.visibleDays;

-      return componentWillUnmount;
-    }()
-  }, {
-    key: 'onKeyDown',
-    value: function () {
-      function onKeyDown(e) {
-        e.stopPropagation();
-        if (!_constants.MODIFIER_KEY_NAMES.has(e.key)) {
-          this.throttledKeyDown(e);
-        }
+        if (this.isTouchDevice || !hoverDate) return;
+
+        var modifiers = this.deleteModifier({}, hoverDate, 'hovered');
+
+        this.setState({
+          hoverDate: null,
+          visibleDays: (0, _object2['default'])({}, visibleDays, modifiers)
+        });
       }

-      return onKeyDown;
+      return onDayMouseLeave;
     }()
   }, {
-    key: 'onFinalKeyDown',
+    key: 'onPrevMonthClick',
     value: function () {
-      function onFinalKeyDown(e) {
-        this.setState({ withMouseInteractions: false });
-
+      function onPrevMonthClick() {
         var _props3 = this.props,
-            onBlur = _props3.onBlur,
-            isRTL = _props3.isRTL;
-        var _state2 = this.state,
-            focusedDate = _state2.focusedDate,
-            showKeyboardShortcuts = _state2.showKeyboardShortcuts;
-
-        if (!focusedDate) return;
-
-        var newFocusedDate = focusedDate.clone();
-
-        var didTransitionMonth = false;
-
-        // focus might be anywhere when the keyboard shortcuts panel is opened so we want to
-        // return it to wherever it was before when the panel was opened
-        var activeElement = (0, _getActiveElement2['default'])();
-        var onKeyboardShortcutsPanelClose = function () {
-          function onKeyboardShortcutsPanelClose() {
-            if (activeElement) activeElement.focus();
-          }
-
-          return onKeyboardShortcutsPanelClose;
-        }();
-
-        switch (e.key) {
-          case 'ArrowUp':
-            e.preventDefault();
-            newFocusedDate.subtract(1, 'week');
-            didTransitionMonth = this.maybeTransitionPrevMonth(newFocusedDate);
-            break;
-          case 'ArrowLeft':
-            e.preventDefault();
-            if (isRTL) {
-              newFocusedDate.add(1, 'day');
-            } else {
-              newFocusedDate.subtract(1, 'day');
-            }
-            didTransitionMonth = this.maybeTransitionPrevMonth(newFocusedDate);
-            break;
-          case 'Home':
-            e.preventDefault();
-            newFocusedDate.startOf('week');
-            didTransitionMonth = this.maybeTransitionPrevMonth(newFocusedDate);
-            break;
-          case 'PageUp':
-            e.preventDefault();
-            newFocusedDate.subtract(1, 'month');
-            didTransitionMonth = this.maybeTransitionPrevMonth(newFocusedDate);
-            break;
-
-          case 'ArrowDown':
-            e.preventDefault();
-            newFocusedDate.add(1, 'week');
-            didTransitionMonth = this.maybeTransitionNextMonth(newFocusedDate);
-            break;
-          case 'ArrowRight':
-            e.preventDefault();
-            if (isRTL) {
-              newFocusedDate.subtract(1, 'day');
-            } else {
-              newFocusedDate.add(1, 'day');
-            }
-            didTransitionMonth = this.maybeTransitionNextMonth(newFocusedDate);
-            break;
-          case 'End':
-            e.preventDefault();
-            newFocusedDate.endOf('week');
-            didTransitionMonth = this.maybeTransitionNextMonth(newFocusedDate);
-            break;
-          case 'PageDown':
-            e.preventDefault();
-            newFocusedDate.add(1, 'month');
-            didTransitionMonth = this.maybeTransitionNextMonth(newFocusedDate);
-            break;
+            onPrevMonthClick = _props3.onPrevMonthClick,
+            numberOfMonths = _props3.numberOfMonths,
+            enableOutsideDays = _props3.enableOutsideDays;
+        var _state3 = this.state,
+            currentMonth = _state3.currentMonth,
+            visibleDays = _state3.visibleDays;

-          case '?':
-            this.openKeyboardShortcutsPanel(onKeyboardShortcutsPanelClose);
-            break;

-          case 'Escape':
-            if (showKeyboardShortcuts) {
-              this.closeKeyboardShortcutsPanel();
-            } else {
-              onBlur();
-            }
-            break;
+        var newVisibleDays = {};
+        Object.keys(visibleDays).sort().slice(0, numberOfMonths + 1).forEach(function (month) {
+          newVisibleDays[month] = visibleDays[month];
+        });

-          default:
-            break;
-        }
+        var prevMonth = currentMonth.clone().subtract(1, 'month');
+        var prevMonthVisibleDays = (0, _getVisibleDays2['default'])(prevMonth, 1, enableOutsideDays);

-        // If there was a month transition, do not update the focused date until the transition has
-        // completed. Otherwise, attempting to focus on a DOM node may interrupt the CSS animation. If
-        // didTransitionMonth is true, the focusedDate gets updated in #updateStateAfterMonthTransition
-        if (!didTransitionMonth) {
-          this.setState({
-            focusedDate: newFocusedDate
-          });
-        }
+        this.setState({
+          currentMonth: prevMonth,
+          visibleDays: (0, _object2['default'])({}, newVisibleDays, this.getModifiers(prevMonthVisibleDays))
+        }, function () {
+          onPrevMonthClick(prevMonth.clone());
+        });
       }

-      return onFinalKeyDown;
+      return onPrevMonthClick;
     }()
   }, {
-    key: 'onPrevMonthClick',
+    key: 'onNextMonthClick',
     value: function () {
-      function onPrevMonthClick(nextFocusedDate, e) {
+      function onNextMonthClick() {
         var _props4 = this.props,
-            daySize = _props4.daySize,
-            isRTL = _props4.isRTL,
-            numberOfMonths = _props4.numberOfMonths;
-        var _state3 = this.state,
-            calendarMonthWidth = _state3.calendarMonthWidth,
-            monthTitleHeight = _state3.monthTitleHeight;
-
+            onNextMonthClick = _props4.onNextMonthClick,
+            numberOfMonths = _props4.numberOfMonths,
+            enableOutsideDays = _props4.enableOutsideDays;
+        var _state4 = this.state,
+            currentMonth = _state4.currentMonth,
+            visibleDays = _state4.visibleDays;

-        if (e) e.preventDefault();

-        var translationValue = void 0;
-        if (this.isVertical()) {
-          var calendarMonthWeeksHeight = this.calendarMonthWeeks[0] * (daySize - 1);
-          translationValue = monthTitleHeight + calendarMonthWeeksHeight + 1;
-        } else if (this.isHorizontal()) {
-          translationValue = calendarMonthWidth;
-          if (isRTL) {
-            translationValue = -2 * calendarMonthWidth;
-          }
+        var newVisibleDays = {};
+        Object.keys(visibleDays).sort().slice(1).forEach(function (month) {
+          newVisibleDays[month] = visibleDays[month];
+        });

-          var visibleCalendarWeeks = this.calendarMonthWeeks.slice(0, numberOfMonths);
-          var _calendarMonthWeeksHeight = Math.max.apply(Math, [0].concat(_toConsumableArray(visibleCalendarWeeks))) * (daySize - 1);
-          var newMonthHeight = monthTitleHeight + _calendarMonthWeeksHeight + 1;
-          this.adjustDayPickerHeight(newMonthHeight);
-        }
+        var nextMonth = currentMonth.clone().add(numberOfMonths, 'month');
+        var nextMonthVisibleDays = (0, _getVisibleDays2['default'])(nextMonth, 1, enableOutsideDays);

+        var newCurrentMonth = currentMonth.clone().add(1, 'month');
         this.setState({
-          monthTransition: PREV_TRANSITION,
-          translationValue: translationValue,
-          focusedDate: null,
-          nextFocusedDate: nextFocusedDate
+          currentMonth: newCurrentMonth,
+          visibleDays: (0, _object2['default'])({}, newVisibleDays, this.getModifiers(nextMonthVisibleDays))
+        }, function () {
+          onNextMonthClick(newCurrentMonth.clone());
         });
       }

-      return onPrevMonthClick;
+      return onNextMonthClick;
     }()
   }, {
     key: 'onMonthChange',
     value: function () {
-      function onMonthChange(currentMonth) {
-        this.setCalendarMonthWeeks(currentMonth);
-        this.calculateAndSetDayPickerHeight();
+      function onMonthChange(newMonth) {
+        var _props5 = this.props,
+            numberOfMonths = _props5.numberOfMonths,
+            enableOutsideDays = _props5.enableOutsideDays,
+            orientation = _props5.orientation;
+
+        var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
+        var newVisibleDays = (0, _getVisibleDays2['default'])(newMonth, numberOfMonths, enableOutsideDays, withoutTransitionMonths);

-        // Translation value is a hack to force an invisible transition that
-        // properly rerenders the CalendarMonthGrid
         this.setState({
-          monthTransition: MONTH_SELECTION_TRANSITION,
-          translationValue: 0.00001,
-          focusedDate: null,
-          nextFocusedDate: currentMonth,
-          currentMonth: currentMonth
+          currentMonth: newMonth.clone(),
+          visibleDays: this.getModifiers(newVisibleDays)
         });
       }

@@ -10810,9276 +11369,6509 @@ var DayPicker = function (_React$Component) {
   }, {
     key: 'onYearChange',
     value: function () {
-      function onYearChange(currentMonth) {
-        this.setCalendarMonthWeeks(currentMonth);
-        this.calculateAndSetDayPickerHeight();
+      function onYearChange(newMonth) {
+        var _props6 = this.props,
+            numberOfMonths = _props6.numberOfMonths,
+            enableOutsideDays = _props6.enableOutsideDays,
+            orientation = _props6.orientation;
+
+        var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
+        var newVisibleDays = (0, _getVisibleDays2['default'])(newMonth, numberOfMonths, enableOutsideDays, withoutTransitionMonths);

-        // Translation value is a hack to force an invisible transition that
-        // properly rerenders the CalendarMonthGrid
         this.setState({
-          monthTransition: YEAR_SELECTION_TRANSITION,
-          translationValue: 0.0001,
-          focusedDate: null,
-          nextFocusedDate: currentMonth,
-          currentMonth: currentMonth
+          currentMonth: newMonth.clone(),
+          visibleDays: this.getModifiers(newVisibleDays)
         });
       }

       return onYearChange;
     }()
   }, {
-    key: 'onNextMonthClick',
+    key: 'getFirstFocusableDay',
     value: function () {
-      function onNextMonthClick(nextFocusedDate, e) {
-        var _props5 = this.props,
-            isRTL = _props5.isRTL,
-            numberOfMonths = _props5.numberOfMonths,
-            daySize = _props5.daySize;
-        var _state4 = this.state,
-            calendarMonthWidth = _state4.calendarMonthWidth,
-            monthTitleHeight = _state4.monthTitleHeight;
-
+      function getFirstFocusableDay(newMonth) {
+        var _this3 = this;

-        if (e) e.preventDefault();
+        var _props7 = this.props,
+            date = _props7.date,
+            numberOfMonths = _props7.numberOfMonths;

-        var translationValue = void 0;

-        if (this.isVertical()) {
-          var firstVisibleMonthWeeks = this.calendarMonthWeeks[1];
-          var calendarMonthWeeksHeight = firstVisibleMonthWeeks * (daySize - 1);
-          translationValue = -(monthTitleHeight + calendarMonthWeeksHeight + 1);
+        var focusedDate = newMonth.clone().startOf('month');
+        if (date) {
+          focusedDate = date.clone();
         }

-        if (this.isHorizontal()) {
-          translationValue = -calendarMonthWidth;
-          if (isRTL) {
-            translationValue = 0;
+        if (this.isBlocked(focusedDate)) {
+          var days = [];
+          var lastVisibleDay = newMonth.clone().add(numberOfMonths - 1, 'months').endOf('month');
+          var currentDay = focusedDate.clone();
+          while (!(0, _isAfterDay2['default'])(currentDay, lastVisibleDay)) {
+            currentDay = currentDay.clone().add(1, 'day');
+            days.push(currentDay);
           }

-          var visibleCalendarWeeks = this.calendarMonthWeeks.slice(2, numberOfMonths + 2);
-          var _calendarMonthWeeksHeight2 = Math.max.apply(Math, [0].concat(_toConsumableArray(visibleCalendarWeeks))) * (daySize - 1);
-          var newMonthHeight = monthTitleHeight + _calendarMonthWeeksHeight2 + 1;
-          this.adjustDayPickerHeight(newMonthHeight);
+          var viableDays = days.filter(function (day) {
+            return !_this3.isBlocked(day) && (0, _isAfterDay2['default'])(day, focusedDate);
+          });
+          if (viableDays.length > 0) {
+            var _viableDays = _slicedToArray(viableDays, 1);
+
+            focusedDate = _viableDays[0];
+          }
         }

-        this.setState({
-          monthTransition: NEXT_TRANSITION,
-          translationValue: translationValue,
-          focusedDate: null,
-          nextFocusedDate: nextFocusedDate
-        });
+        return focusedDate;
       }

-      return onNextMonthClick;
+      return getFirstFocusableDay;
     }()
   }, {
-    key: 'getFirstDayOfWeek',
+    key: 'getModifiers',
     value: function () {
-      function getFirstDayOfWeek() {
-        var firstDayOfWeek = this.props.firstDayOfWeek;
+      function getModifiers(visibleDays) {
+        var _this4 = this;

-        if (firstDayOfWeek == null) {
-          return _moment2['default'].localeData().firstDayOfWeek();
-        }
+        var modifiers = {};
+        Object.keys(visibleDays).forEach(function (month) {
+          modifiers[month] = {};
+          visibleDays[month].forEach(function (day) {
+            modifiers[month][(0, _toISODateString2['default'])(day)] = _this4.getModifiersForDay(day);
+          });
+        });

-        return firstDayOfWeek;
+        return modifiers;
       }

-      return getFirstDayOfWeek;
+      return getModifiers;
     }()
   }, {
-    key: 'getFirstVisibleIndex',
+    key: 'getModifiersForDay',
     value: function () {
-      function getFirstVisibleIndex() {
-        var orientation = this.props.orientation;
-        var monthTransition = this.state.monthTransition;
-
-
-        if (orientation === _constants.VERTICAL_SCROLLABLE) return 0;
-
-        var firstVisibleMonthIndex = 1;
-        if (monthTransition === PREV_TRANSITION) {
-          firstVisibleMonthIndex -= 1;
-        } else if (monthTransition === NEXT_TRANSITION) {
-          firstVisibleMonthIndex += 1;
-        }
+      function getModifiersForDay(day) {
+        var _this5 = this;

-        return firstVisibleMonthIndex;
+        return new Set(Object.keys(this.modifiers).filter(function (modifier) {
+          return _this5.modifiers[modifier](day);
+        }));
       }

-      return getFirstVisibleIndex;
+      return getModifiersForDay;
     }()
   }, {
-    key: 'getFocusedDay',
+    key: 'getStateForNewMonth',
     value: function () {
-      function getFocusedDay(newMonth) {
-        var _props6 = this.props,
-            getFirstFocusableDay = _props6.getFirstFocusableDay,
-            numberOfMonths = _props6.numberOfMonths;
-
-
-        var focusedDate = void 0;
-        if (getFirstFocusableDay) {
-          focusedDate = getFirstFocusableDay(newMonth);
-        }
-
-        if (newMonth && (!focusedDate || !(0, _isDayVisible2['default'])(focusedDate, newMonth, numberOfMonths))) {
-          focusedDate = newMonth.clone().startOf('month');
-        }
-
-        return focusedDate;
-      }
+      function getStateForNewMonth(nextProps) {
+        var _this6 = this;

-      return getFocusedDay;
-    }()
-  }, {
-    key: 'setMonthTitleHeight',
-    value: function () {
-      function setMonthTitleHeight(monthTitleHeight) {
-        var _this3 = this;
+        var initialVisibleMonth = nextProps.initialVisibleMonth,
+            date = nextProps.date,
+            numberOfMonths = nextProps.numberOfMonths,
+            enableOutsideDays = nextProps.enableOutsideDays;

-        this.setState({
-          monthTitleHeight: monthTitleHeight
-        }, function () {
-          _this3.calculateAndSetDayPickerHeight();
+        var initialVisibleMonthThunk = initialVisibleMonth || (date ? function () {
+          return date;
+        } : function () {
+          return _this6.today;
         });
+        var currentMonth = initialVisibleMonthThunk();
+        var visibleDays = this.getModifiers((0, _getVisibleDays2['default'])(currentMonth, numberOfMonths, enableOutsideDays));
+        return { currentMonth: currentMonth, visibleDays: visibleDays };
       }

-      return setMonthTitleHeight;
+      return getStateForNewMonth;
     }()
   }, {
-    key: 'setCalendarMonthWeeks',
+    key: 'addModifier',
     value: function () {
-      function setCalendarMonthWeeks(currentMonth) {
-        var numberOfMonths = this.props.numberOfMonths;
+      function addModifier(updatedDays, day, modifier) {
+        var _props8 = this.props,
+            numberOfVisibleMonths = _props8.numberOfMonths,
+            enableOutsideDays = _props8.enableOutsideDays,
+            orientation = _props8.orientation;
+        var _state5 = this.state,
+            firstVisibleMonth = _state5.currentMonth,
+            visibleDays = _state5.visibleDays;


-        this.calendarMonthWeeks = [];
-        var month = currentMonth.clone().subtract(1, 'months');
-        var firstDayOfWeek = this.getFirstDayOfWeek();
-        for (var i = 0; i < numberOfMonths + 2; i += 1) {
-          var numberOfWeeks = (0, _getNumberOfCalendarMonthWeeks2['default'])(month, firstDayOfWeek);
-          this.calendarMonthWeeks.push(numberOfWeeks);
-          month = month.add(1, 'months');
+        var currentMonth = firstVisibleMonth;
+        var numberOfMonths = numberOfVisibleMonths;
+        if (orientation === _constants.VERTICAL_SCROLLABLE) {
+          numberOfMonths = Object.keys(visibleDays).length;
+        } else {
+          currentMonth = currentMonth.clone().subtract(1, 'month');
+          numberOfMonths += 2;
+        }
+        if (!day || !(0, _isDayVisible2['default'])(day, currentMonth, numberOfMonths, enableOutsideDays)) {
+          return updatedDays;
         }
-      }
-
-      return setCalendarMonthWeeks;
-    }()
-  }, {
-    key: 'setContainerRef',
-    value: function () {
-      function setContainerRef(ref) {
-        this.container = ref;
-      }
-
-      return setContainerRef;
-    }()
-  }, {
-    key: 'setCalendarInfoRef',
-    value: function () {
-      function setCalendarInfoRef(ref) {
-        this.calendarInfo = ref;
-      }

-      return setCalendarInfoRef;
-    }()
-  }, {
-    key: 'setTransitionContainerRef',
-    value: function () {
-      function setTransitionContainerRef(ref) {
-        this.transitionContainer = ref;
-      }
+        var iso = (0, _toISODateString2['default'])(day);

-      return setTransitionContainerRef;
-    }()
-  }, {
-    key: 'maybeTransitionNextMonth',
-    value: function () {
-      function maybeTransitionNextMonth(newFocusedDate) {
-        var numberOfMonths = this.props.numberOfMonths;
-        var _state5 = this.state,
-            currentMonth = _state5.currentMonth,
-            focusedDate = _state5.focusedDate;
+        var updatedDaysAfterAddition = (0, _object2['default'])({}, updatedDays);
+        if (enableOutsideDays) {
+          var monthsToUpdate = Object.keys(visibleDays).filter(function (monthKey) {
+            return Object.keys(visibleDays[monthKey]).indexOf(iso) > -1;
+          });

+          updatedDaysAfterAddition = monthsToUpdate.reduce(function (days, monthIso) {
+            var month = updatedDays[monthIso] || visibleDays[monthIso];
+            var modifiers = new Set(month[iso]);
+            modifiers.add(modifier);
+            return (0, _object2['default'])({}, days, _defineProperty({}, monthIso, (0, _object2['default'])({}, month, _defineProperty({}, iso, modifiers))));
+          }, updatedDaysAfterAddition);
+        } else {
+          var monthIso = (0, _toISOMonthString2['default'])(day);
+          var month = updatedDays[monthIso] || visibleDays[monthIso];

-        var newFocusedDateMonth = newFocusedDate.month();
-        var focusedDateMonth = focusedDate.month();
-        var isNewFocusedDateVisible = (0, _isDayVisible2['default'])(newFocusedDate, currentMonth, numberOfMonths);
-        if (newFocusedDateMonth !== focusedDateMonth && !isNewFocusedDateVisible) {
-          this.onNextMonthClick(newFocusedDate);
-          return true;
+          var modifiers = new Set(month[iso]);
+          modifiers.add(modifier);
+          updatedDaysAfterAddition = (0, _object2['default'])({}, updatedDaysAfterAddition, _defineProperty({}, monthIso, (0, _object2['default'])({}, month, _defineProperty({}, iso, modifiers))));
         }

-        return false;
+        return updatedDaysAfterAddition;
       }

-      return maybeTransitionNextMonth;
+      return addModifier;
     }()
   }, {
-    key: 'maybeTransitionPrevMonth',
+    key: 'deleteModifier',
     value: function () {
-      function maybeTransitionPrevMonth(newFocusedDate) {
-        var numberOfMonths = this.props.numberOfMonths;
+      function deleteModifier(updatedDays, day, modifier) {
+        var _props9 = this.props,
+            numberOfVisibleMonths = _props9.numberOfMonths,
+            enableOutsideDays = _props9.enableOutsideDays,
+            orientation = _props9.orientation;
         var _state6 = this.state,
-            currentMonth = _state6.currentMonth,
-            focusedDate = _state6.focusedDate;
+            firstVisibleMonth = _state6.currentMonth,
+            visibleDays = _state6.visibleDays;


-        var newFocusedDateMonth = newFocusedDate.month();
-        var focusedDateMonth = focusedDate.month();
-        var isNewFocusedDateVisible = (0, _isDayVisible2['default'])(newFocusedDate, currentMonth, numberOfMonths);
-        if (newFocusedDateMonth !== focusedDateMonth && !isNewFocusedDateVisible) {
-          this.onPrevMonthClick(newFocusedDate);
-          return true;
+        var currentMonth = firstVisibleMonth;
+        var numberOfMonths = numberOfVisibleMonths;
+        if (orientation === _constants.VERTICAL_SCROLLABLE) {
+          numberOfMonths = Object.keys(visibleDays).length;
+        } else {
+          currentMonth = currentMonth.clone().subtract(1, 'month');
+          numberOfMonths += 2;
+        }
+        if (!day || !(0, _isDayVisible2['default'])(day, currentMonth, numberOfMonths, enableOutsideDays)) {
+          return updatedDays;
         }

-        return false;
-      }
+        var iso = (0, _toISODateString2['default'])(day);

-      return maybeTransitionPrevMonth;
-    }()
-  }, {
-    key: 'multiplyScrollableMonths',
-    value: function () {
-      function multiplyScrollableMonths(e) {
-        var onMultiplyScrollableMonths = this.props.onMultiplyScrollableMonths;
+        var updatedDaysAfterDeletion = (0, _object2['default'])({}, updatedDays);
+        if (enableOutsideDays) {
+          var monthsToUpdate = Object.keys(visibleDays).filter(function (monthKey) {
+            return Object.keys(visibleDays[monthKey]).indexOf(iso) > -1;
+          });

-        if (e) e.preventDefault();
+          updatedDaysAfterDeletion = monthsToUpdate.reduce(function (days, monthIso) {
+            var month = updatedDays[monthIso] || visibleDays[monthIso];
+            var modifiers = new Set(month[iso]);
+            modifiers['delete'](modifier);
+            return (0, _object2['default'])({}, days, _defineProperty({}, monthIso, (0, _object2['default'])({}, month, _defineProperty({}, iso, modifiers))));
+          }, updatedDaysAfterDeletion);
+        } else {
+          var monthIso = (0, _toISOMonthString2['default'])(day);
+          var month = updatedDays[monthIso] || visibleDays[monthIso];

-        if (onMultiplyScrollableMonths) onMultiplyScrollableMonths(e);
+          var modifiers = new Set(month[iso]);
+          modifiers['delete'](modifier);
+          updatedDaysAfterDeletion = (0, _object2['default'])({}, updatedDaysAfterDeletion, _defineProperty({}, monthIso, (0, _object2['default'])({}, month, _defineProperty({}, iso, modifiers))));
+        }

-        this.setState(function (_ref) {
-          var scrollableMonthMultiple = _ref.scrollableMonthMultiple;
-          return {
-            scrollableMonthMultiple: scrollableMonthMultiple + 1
-          };
-        });
+        return updatedDaysAfterDeletion;
       }

-      return multiplyScrollableMonths;
+      return deleteModifier;
     }()
   }, {
-    key: 'isHorizontal',
+    key: 'isBlocked',
     value: function () {
-      function isHorizontal() {
-        var orientation = this.props.orientation;
+      function isBlocked(day) {
+        var _props10 = this.props,
+            isDayBlocked = _props10.isDayBlocked,
+            isOutsideRange = _props10.isOutsideRange;

-        return orientation === _constants.HORIZONTAL_ORIENTATION;
+        return isDayBlocked(day) || isOutsideRange(day);
       }

-      return isHorizontal;
+      return isBlocked;
     }()
   }, {
-    key: 'isVertical',
+    key: 'isHovered',
     value: function () {
-      function isVertical() {
-        var orientation = this.props.orientation;
+      function isHovered(day) {
+        var _ref = this.state || {},
+            hoverDate = _ref.hoverDate;

-        return orientation === _constants.VERTICAL_ORIENTATION || orientation === _constants.VERTICAL_SCROLLABLE;
+        return (0, _isSameDay2['default'])(day, hoverDate);
       }

-      return isVertical;
+      return isHovered;
     }()
   }, {
-    key: 'updateStateAfterMonthTransition',
+    key: 'isSelected',
     value: function () {
-      function updateStateAfterMonthTransition() {
-        var _this4 = this;
-
-        var _props7 = this.props,
-            onPrevMonthClick = _props7.onPrevMonthClick,
-            onNextMonthClick = _props7.onNextMonthClick,
-            numberOfMonths = _props7.numberOfMonths,
-            onMonthChange = _props7.onMonthChange,
-            onYearChange = _props7.onYearChange,
-            isRTL = _props7.isRTL;
-        var _state7 = this.state,
-            currentMonth = _state7.currentMonth,
-            monthTransition = _state7.monthTransition,
-            focusedDate = _state7.focusedDate,
-            nextFocusedDate = _state7.nextFocusedDate,
-            withMouseInteractions = _state7.withMouseInteractions,
-            calendarMonthWidth = _state7.calendarMonthWidth;
-
-
-        if (!monthTransition) return;
-
-        var newMonth = currentMonth.clone();
-        var firstDayOfWeek = this.getFirstDayOfWeek();
-        if (monthTransition === PREV_TRANSITION) {
-          newMonth.subtract(1, 'month');
-          if (onPrevMonthClick) onPrevMonthClick(newMonth);
-          var newInvisibleMonth = newMonth.clone().subtract(1, 'month');
-          var numberOfWeeks = (0, _getNumberOfCalendarMonthWeeks2['default'])(newInvisibleMonth, firstDayOfWeek);
-          this.calendarMonthWeeks = [numberOfWeeks].concat(_toConsumableArray(this.calendarMonthWeeks.slice(0, -1)));
-        } else if (monthTransition === NEXT_TRANSITION) {
-          newMonth.add(1, 'month');
-          if (onNextMonthClick) onNextMonthClick(newMonth);
-          var _newInvisibleMonth = newMonth.clone().add(numberOfMonths, 'month');
-          var _numberOfWeeks = (0, _getNumberOfCalendarMonthWeeks2['default'])(_newInvisibleMonth, firstDayOfWeek);
-          this.calendarMonthWeeks = [].concat(_toConsumableArray(this.calendarMonthWeeks.slice(1)), [_numberOfWeeks]);
-        } else if (monthTransition === MONTH_SELECTION_TRANSITION) {
-          if (onMonthChange) onMonthChange(newMonth);
-        } else if (monthTransition === YEAR_SELECTION_TRANSITION) {
-          if (onYearChange) onYearChange(newMonth);
-        }
-
-        var newFocusedDate = null;
-        if (nextFocusedDate) {
-          newFocusedDate = nextFocusedDate;
-        } else if (!focusedDate && !withMouseInteractions) {
-          newFocusedDate = this.getFocusedDay(newMonth);
-        }
+      function isSelected(day) {
+        var date = this.props.date;

-        this.setState({
-          currentMonth: newMonth,
-          monthTransition: null,
-          translationValue: isRTL && this.isHorizontal() ? -calendarMonthWidth : 0,
-          nextFocusedDate: null,
-          focusedDate: newFocusedDate
-        }, function () {
-          // we don't want to focus on the relevant calendar day after a month transition
-          // if the user is navigating around using a mouse
-          if (withMouseInteractions) {
-            var activeElement = (0, _getActiveElement2['default'])();
-            if (activeElement && activeElement !== document.body && _this4.container.contains(activeElement)) {
-              activeElement.blur();
-            }
-          }
-        });
+        return (0, _isSameDay2['default'])(day, date);
       }

-      return updateStateAfterMonthTransition;
+      return isSelected;
     }()
   }, {
-    key: 'adjustDayPickerHeight',
+    key: 'isToday',
     value: function () {
-      function adjustDayPickerHeight(newMonthHeight) {
-        var _this5 = this;
-
-        var monthHeight = newMonthHeight + MONTH_PADDING;
-        if (monthHeight !== this.calendarMonthGridHeight) {
-          this.transitionContainer.style.height = String(monthHeight) + 'px';
-          if (!this.calendarMonthGridHeight) {
-            setTimeout(function () {
-              _this5.setState({ hasSetHeight: true });
-            }, 0);
-          }
-          this.calendarMonthGridHeight = monthHeight;
-        }
+      function isToday(day) {
+        return (0, _isSameDay2['default'])(day, this.today);
       }

-      return adjustDayPickerHeight;
+      return isToday;
     }()
   }, {
-    key: 'calculateAndSetDayPickerHeight',
+    key: 'isFirstDayOfWeek',
     value: function () {
-      function calculateAndSetDayPickerHeight() {
-        var _props8 = this.props,
-            daySize = _props8.daySize,
-            numberOfMonths = _props8.numberOfMonths;
-        var monthTitleHeight = this.state.monthTitleHeight;
-
-
-        var visibleCalendarWeeks = this.calendarMonthWeeks.slice(1, numberOfMonths + 1);
-        var calendarMonthWeeksHeight = Math.max.apply(Math, [0].concat(_toConsumableArray(visibleCalendarWeeks))) * (daySize - 1);
-        var newMonthHeight = monthTitleHeight + calendarMonthWeeksHeight + 1;
+      function isFirstDayOfWeek(day) {
+        var firstDayOfWeek = this.props.firstDayOfWeek;

-        if (this.isHorizontal()) {
-          this.adjustDayPickerHeight(newMonthHeight);
-        }
+        return day.day() === (firstDayOfWeek || _moment2['default'].localeData().firstDayOfWeek());
       }

-      return calculateAndSetDayPickerHeight;
+      return isFirstDayOfWeek;
     }()
   }, {
-    key: 'openKeyboardShortcutsPanel',
+    key: 'isLastDayOfWeek',
     value: function () {
-      function openKeyboardShortcutsPanel(onCloseCallBack) {
-        this.setState({
-          showKeyboardShortcuts: true,
-          onKeyboardShortcutsPanelClose: onCloseCallBack
-        });
+      function isLastDayOfWeek(day) {
+        var firstDayOfWeek = this.props.firstDayOfWeek;
+
+        return day.day() === ((firstDayOfWeek || _moment2['default'].localeData().firstDayOfWeek()) + 6) % 7;
       }

-      return openKeyboardShortcutsPanel;
+      return isLastDayOfWeek;
     }()
   }, {
-    key: 'closeKeyboardShortcutsPanel',
+    key: 'render',
     value: function () {
-      function closeKeyboardShortcutsPanel() {
-        var onKeyboardShortcutsPanelClose = this.state.onKeyboardShortcutsPanelClose;
+      function render() {
+        var _props11 = this.props,
+            numberOfMonths = _props11.numberOfMonths,
+            orientation = _props11.orientation,
+            monthFormat = _props11.monthFormat,
+            renderMonthText = _props11.renderMonthText,
+            navPrev = _props11.navPrev,
+            navNext = _props11.navNext,
+            onOutsideClick = _props11.onOutsideClick,
+            withPortal = _props11.withPortal,
+            focused = _props11.focused,
+            enableOutsideDays = _props11.enableOutsideDays,
+            hideKeyboardShortcutsPanel = _props11.hideKeyboardShortcutsPanel,
+            daySize = _props11.daySize,
+            firstDayOfWeek = _props11.firstDayOfWeek,
+            renderCalendarDay = _props11.renderCalendarDay,
+            renderDayContents = _props11.renderDayContents,
+            renderCalendarInfo = _props11.renderCalendarInfo,
+            renderMonthElement = _props11.renderMonthElement,
+            calendarInfoPosition = _props11.calendarInfoPosition,
+            isFocused = _props11.isFocused,
+            isRTL = _props11.isRTL,
+            phrases = _props11.phrases,
+            dayAriaLabelFormat = _props11.dayAriaLabelFormat,
+            onBlur = _props11.onBlur,
+            showKeyboardShortcuts = _props11.showKeyboardShortcuts,
+            weekDayFormat = _props11.weekDayFormat,
+            verticalHeight = _props11.verticalHeight,
+            noBorder = _props11.noBorder,
+            transitionDuration = _props11.transitionDuration,
+            verticalBorderSpacing = _props11.verticalBorderSpacing,
+            horizontalMonthPadding = _props11.horizontalMonthPadding;
+        var _state7 = this.state,
+            currentMonth = _state7.currentMonth,
+            visibleDays = _state7.visibleDays;


-        if (onKeyboardShortcutsPanelClose) {
-          onKeyboardShortcutsPanelClose();
-        }
+        return _react2['default'].createElement(_DayPicker2['default'], {
+          orientation: orientation,
+          enableOutsideDays: enableOutsideDays,
+          modifiers: visibleDays,
+          numberOfMonths: numberOfMonths,
+          onDayClick: this.onDayClick,
+          onDayMouseEnter: this.onDayMouseEnter,
+          onDayMouseLeave: this.onDayMouseLeave,
+          onPrevMonthClick: this.onPrevMonthClick,
+          onNextMonthClick: this.onNextMonthClick,
+          onMonthChange: this.onMonthChange,
+          onYearChange: this.onYearChange,
+          monthFormat: monthFormat,
+          withPortal: withPortal,
+          hidden: !focused,
+          hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
+          initialVisibleMonth: function () {
+            function initialVisibleMonth() {
+              return currentMonth;
+            }

-        this.setState({
-          onKeyboardShortcutsPanelClose: null,
-          showKeyboardShortcuts: false
+            return initialVisibleMonth;
+          }(),
+          firstDayOfWeek: firstDayOfWeek,
+          onOutsideClick: onOutsideClick,
+          navPrev: navPrev,
+          navNext: navNext,
+          renderMonthText: renderMonthText,
+          renderCalendarDay: renderCalendarDay,
+          renderDayContents: renderDayContents,
+          renderCalendarInfo: renderCalendarInfo,
+          renderMonthElement: renderMonthElement,
+          calendarInfoPosition: calendarInfoPosition,
+          isFocused: isFocused,
+          getFirstFocusableDay: this.getFirstFocusableDay,
+          onBlur: onBlur,
+          phrases: phrases,
+          daySize: daySize,
+          isRTL: isRTL,
+          showKeyboardShortcuts: showKeyboardShortcuts,
+          weekDayFormat: weekDayFormat,
+          dayAriaLabelFormat: dayAriaLabelFormat,
+          verticalHeight: verticalHeight,
+          noBorder: noBorder,
+          transitionDuration: transitionDuration,
+          verticalBorderSpacing: verticalBorderSpacing,
+          horizontalMonthPadding: horizontalMonthPadding
         });
       }

-      return closeKeyboardShortcutsPanel;
+      return render;
     }()
-  }, {
-    key: 'renderNavigation',
-    value: function () {
-      function renderNavigation() {
-        var _this6 = this;
+  }]);

-        var _props9 = this.props,
-            navPrev = _props9.navPrev,
-            navNext = _props9.navNext,
-            noNavButtons = _props9.noNavButtons,
-            orientation = _props9.orientation,
-            phrases = _props9.phrases,
-            isRTL = _props9.isRTL;
+  return DayPickerSingleDateController;
+}(_react2['default'].Component);

+exports.Z = DayPickerSingleDateController;

-        if (noNavButtons) {
-          return null;
-        }

-        var onNextMonthClick = void 0;
-        if (orientation === _constants.VERTICAL_SCROLLABLE) {
-          onNextMonthClick = this.multiplyScrollableMonths;
-        } else {
-          onNextMonthClick = function () {
-            function onNextMonthClick(e) {
-              _this6.onNextMonthClick(null, e);
-            }
+DayPickerSingleDateController.propTypes = propTypes;
+DayPickerSingleDateController.defaultProps = defaultProps;

-            return onNextMonthClick;
-          }();
-        }
+/***/ }),

-        return _react2['default'].createElement(_DayPickerNavigation2['default'], {
-          onPrevMonthClick: function () {
-            function onPrevMonthClick(e) {
-              _this6.onPrevMonthClick(null, e);
-            }
+/***/ 5820:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-            return onPrevMonthClick;
-          }(),
-          onNextMonthClick: onNextMonthClick,
-          navPrev: navPrev,
-          navNext: navNext,
-          orientation: orientation,
-          phrases: phrases,
-          isRTL: isRTL
-        });
-      }
+"use strict";

-      return renderNavigation;
-    }()
-  }, {
-    key: 'renderWeekHeader',
-    value: function () {
-      function renderWeekHeader(index) {
-        var _props10 = this.props,
-            daySize = _props10.daySize,
-            horizontalMonthPadding = _props10.horizontalMonthPadding,
-            orientation = _props10.orientation,
-            weekDayFormat = _props10.weekDayFormat,
-            styles = _props10.styles;
-        var calendarMonthWidth = this.state.calendarMonthWidth;

-        var verticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;
-        var horizontalStyle = {
-          left: index * calendarMonthWidth
-        };
-        var verticalStyle = {
-          marginLeft: -calendarMonthWidth / 2
-        };
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

-        var weekHeaderStyle = {}; // no styles applied to the vertical-scrollable orientation
-        if (this.isHorizontal()) {
-          weekHeaderStyle = horizontalStyle;
-        } else if (this.isVertical() && !verticalScrollable) {
-          weekHeaderStyle = verticalStyle;
-        }
+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

-        var firstDayOfWeek = this.getFirstDayOfWeek();
+var _object = __webpack_require__(4011);

-        var header = [];
-        for (var i = 0; i < 7; i += 1) {
-          header.push(_react2['default'].createElement(
-            'li',
-            _extends({ key: i }, (0, _reactWithStyles.css)(styles.DayPicker_weekHeader_li, { width: daySize })),
-            _react2['default'].createElement(
-              'small',
-              null,
-              (0, _moment2['default'])().day((i + firstDayOfWeek) % 7).format(weekDayFormat)
-            )
-          ));
-        }
+var _object2 = _interopRequireDefault(_object);

-        return _react2['default'].createElement(
-          'div',
-          _extends({}, (0, _reactWithStyles.css)(styles.DayPicker_weekHeader, this.isVertical() && styles.DayPicker_weekHeader__vertical, verticalScrollable && styles.DayPicker_weekHeader__verticalScrollable, weekHeaderStyle, { padding: '0 ' + String(horizontalMonthPadding) + 'px' }), {
-            key: 'week-' + String(index)
-          }),
-          _react2['default'].createElement(
-            'ul',
-            (0, _reactWithStyles.css)(styles.DayPicker_weekHeader_ul),
-            header
-          )
-        );
-      }
+var _react = __webpack_require__(9196);

-      return renderWeekHeader;
-    }()
-  }, {
-    key: 'render',
-    value: function () {
-      function render() {
-        var _this7 = this;
+var _react2 = _interopRequireDefault(_react);

-        var _state8 = this.state,
-            calendarMonthWidth = _state8.calendarMonthWidth,
-            currentMonth = _state8.currentMonth,
-            monthTransition = _state8.monthTransition,
-            translationValue = _state8.translationValue,
-            scrollableMonthMultiple = _state8.scrollableMonthMultiple,
-            focusedDate = _state8.focusedDate,
-            showKeyboardShortcuts = _state8.showKeyboardShortcuts,
-            isTouch = _state8.isTouchDevice,
-            hasSetHeight = _state8.hasSetHeight,
-            calendarInfoWidth = _state8.calendarInfoWidth,
-            monthTitleHeight = _state8.monthTitleHeight;
-        var _props11 = this.props,
-            enableOutsideDays = _props11.enableOutsideDays,
-            numberOfMonths = _props11.numberOfMonths,
-            orientation = _props11.orientation,
-            modifiers = _props11.modifiers,
-            withPortal = _props11.withPortal,
-            onDayClick = _props11.onDayClick,
-            onDayMouseEnter = _props11.onDayMouseEnter,
-            onDayMouseLeave = _props11.onDayMouseLeave,
-            firstDayOfWeek = _props11.firstDayOfWeek,
-            renderMonthText = _props11.renderMonthText,
-            renderCalendarDay = _props11.renderCalendarDay,
-            renderDayContents = _props11.renderDayContents,
-            renderCalendarInfo = _props11.renderCalendarInfo,
-            renderMonthElement = _props11.renderMonthElement,
-            calendarInfoPosition = _props11.calendarInfoPosition,
-            hideKeyboardShortcutsPanel = _props11.hideKeyboardShortcutsPanel,
-            onOutsideClick = _props11.onOutsideClick,
-            monthFormat = _props11.monthFormat,
-            daySize = _props11.daySize,
-            isFocused = _props11.isFocused,
-            isRTL = _props11.isRTL,
-            styles = _props11.styles,
-            theme = _props11.theme,
-            phrases = _props11.phrases,
-            verticalHeight = _props11.verticalHeight,
-            dayAriaLabelFormat = _props11.dayAriaLabelFormat,
-            noBorder = _props11.noBorder,
-            transitionDuration = _props11.transitionDuration,
-            verticalBorderSpacing = _props11.verticalBorderSpacing,
-            horizontalMonthPadding = _props11.horizontalMonthPadding;
-        var dayPickerHorizontalPadding = theme.reactDates.spacing.dayPickerHorizontalPadding;
+var _propTypes = __webpack_require__(2652);

+var _propTypes2 = _interopRequireDefault(_propTypes);

-        var isHorizontal = this.isHorizontal();
+var _airbnbPropTypes = __webpack_require__(4882);

-        var numOfWeekHeaders = this.isVertical() ? 1 : numberOfMonths;
-        var weekHeaders = [];
-        for (var i = 0; i < numOfWeekHeaders; i += 1) {
-          weekHeaders.push(this.renderWeekHeader(i));
-        }
+var _reactWithStyles = __webpack_require__(3576);

-        var verticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;
-        var height = void 0;
-        if (isHorizontal) {
-          height = this.calendarMonthGridHeight;
-        } else if (this.isVertical() && !verticalScrollable && !withPortal) {
-          // If the user doesn't set a desired height,
-          // we default back to this kind of made-up value that generally looks good
-          height = verticalHeight || 1.75 * calendarMonthWidth;
-        }
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-        var isCalendarMonthGridAnimating = monthTransition !== null;
+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
+  unicode: _propTypes2['default'].string.isRequired,
+  label: _propTypes2['default'].string.isRequired,
+  action: _propTypes2['default'].string.isRequired,
+  block: _propTypes2['default'].bool
+}));

-        var shouldFocusDate = !isCalendarMonthGridAnimating && isFocused;
+var defaultProps = {
+  block: false
+};

-        var keyboardShortcutButtonLocation = _DayPickerKeyboardShortcuts.BOTTOM_RIGHT;
-        if (this.isVertical()) {
-          keyboardShortcutButtonLocation = withPortal ? _DayPickerKeyboardShortcuts.TOP_LEFT : _DayPickerKeyboardShortcuts.TOP_RIGHT;
-        }
+function KeyboardShortcutRow(_ref) {
+  var unicode = _ref.unicode,
+      label = _ref.label,
+      action = _ref.action,
+      block = _ref.block,
+      styles = _ref.styles;

-        var shouldAnimateHeight = isHorizontal && hasSetHeight;
+  return _react2['default'].createElement(
+    'li',
+    (0, _reactWithStyles.css)(styles.KeyboardShortcutRow, block && styles.KeyboardShortcutRow__block),
+    _react2['default'].createElement(
+      'div',
+      (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_keyContainer, block && styles.KeyboardShortcutRow_keyContainer__block),
+      _react2['default'].createElement(
+        'span',
+        _extends({}, (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_key), {
+          role: 'img',
+          'aria-label': String(label) + ',' // add comma so screen readers will pause before reading action
+        }),
+        unicode
+      )
+    ),
+    _react2['default'].createElement(
+      'div',
+      (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_action),
+      action
+    )
+  );
+}

-        var calendarInfoPositionTop = calendarInfoPosition === _constants.INFO_POSITION_TOP;
-        var calendarInfoPositionBottom = calendarInfoPosition === _constants.INFO_POSITION_BOTTOM;
-        var calendarInfoPositionBefore = calendarInfoPosition === _constants.INFO_POSITION_BEFORE;
-        var calendarInfoPositionAfter = calendarInfoPosition === _constants.INFO_POSITION_AFTER;
-        var calendarInfoIsInline = calendarInfoPositionBefore || calendarInfoPositionAfter;
+KeyboardShortcutRow.propTypes = propTypes;
+KeyboardShortcutRow.defaultProps = defaultProps;

-        var calendarInfo = renderCalendarInfo && _react2['default'].createElement(
-          'div',
-          _extends({
-            ref: this.setCalendarInfoRef
-          }, (0, _reactWithStyles.css)(calendarInfoIsInline && styles.DayPicker_calendarInfo__horizontal)),
-          renderCalendarInfo()
-        );
+exports["default"] = (0, _reactWithStyles.withStyles)(function (_ref2) {
+  var color = _ref2.reactDates.color;
+  return {
+    KeyboardShortcutRow: {
+      listStyle: 'none',
+      margin: '6px 0'
+    },

-        var calendarInfoPanelWidth = renderCalendarInfo && calendarInfoIsInline ? calendarInfoWidth : 0;
+    KeyboardShortcutRow__block: {
+      marginBottom: 16
+    },

-        var firstVisibleMonthIndex = this.getFirstVisibleIndex();
-        var wrapperHorizontalWidth = calendarMonthWidth * numberOfMonths + 2 * dayPickerHorizontalPadding;
-        // Adding `1px` because of whitespace between 2 inline-block
-        var fullHorizontalWidth = wrapperHorizontalWidth + calendarInfoPanelWidth + 1;
+    KeyboardShortcutRow_keyContainer: {
+      display: 'inline-block',
+      whiteSpace: 'nowrap',
+      textAlign: 'right',
+      marginRight: 6
+    },

-        var transitionContainerStyle = {
-          width: isHorizontal && wrapperHorizontalWidth,
-          height: height
-        };
+    KeyboardShortcutRow_keyContainer__block: {
+      textAlign: 'left',
+      display: 'inline'
+    },

-        var dayPickerWrapperStyle = {
-          width: isHorizontal && wrapperHorizontalWidth
-        };
+    KeyboardShortcutRow_key: {
+      fontFamily: 'monospace',
+      fontSize: 12,
+      textTransform: 'uppercase',
+      background: color.core.grayLightest,
+      padding: '2px 6px'
+    },

-        var dayPickerStyle = {
-          width: isHorizontal && fullHorizontalWidth,
+    KeyboardShortcutRow_action: {
+      display: 'inline',
+      wordBreak: 'break-word',
+      marginLeft: 8
+    }
+  };
+})(KeyboardShortcutRow);

-          // These values are to center the datepicker (approximately) on the page
-          marginLeft: isHorizontal && withPortal ? -fullHorizontalWidth / 2 : null,
-          marginTop: isHorizontal && withPortal ? -calendarMonthWidth / 2 : null
-        };
+/***/ }),

-        return _react2['default'].createElement(
-          'div',
-          _extends({
-            role: 'application',
-            'aria-label': phrases.calendarLabel
-          }, (0, _reactWithStyles.css)(styles.DayPicker, isHorizontal && styles.DayPicker__horizontal, verticalScrollable && styles.DayPicker__verticalScrollable, isHorizontal && withPortal && styles.DayPicker_portal__horizontal, this.isVertical() && withPortal && styles.DayPicker_portal__vertical, dayPickerStyle, !monthTitleHeight && styles.DayPicker__hidden, !noBorder && styles.DayPicker__withBorder)),
-          _react2['default'].createElement(
-            _reactOutsideClickHandler2['default'],
-            { onOutsideClick: onOutsideClick },
-            (calendarInfoPositionTop || calendarInfoPositionBefore) && calendarInfo,
-            _react2['default'].createElement(
-              'div',
-              (0, _reactWithStyles.css)(dayPickerWrapperStyle, calendarInfoIsInline && isHorizontal && styles.DayPicker_wrapper__horizontal),
-              _react2['default'].createElement(
-                'div',
-                _extends({}, (0, _reactWithStyles.css)(styles.DayPicker_weekHeaders, isHorizontal && styles.DayPicker_weekHeaders__horizontal), {
-                  'aria-hidden': 'true',
-                  role: 'presentation'
-                }),
-                weekHeaders
-              ),
-              _react2['default'].createElement(
-                'div',
-                _extends({}, (0, _reactWithStyles.css)(styles.DayPicker_focusRegion), {
-                  ref: this.setContainerRef,
-                  onClick: function () {
-                    function onClick(e) {
-                      e.stopPropagation();
-                    }
+/***/ 8:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-                    return onClick;
-                  }(),
-                  onKeyDown: this.onKeyDown,
-                  onMouseUp: function () {
-                    function onMouseUp() {
-                      _this7.setState({ withMouseInteractions: true });
-                    }
+"use strict";

-                    return onMouseUp;
-                  }(),
-                  role: 'region',
-                  tabIndex: -1
-                }),
-                !verticalScrollable && this.renderNavigation(),
-                _react2['default'].createElement(
-                  'div',
-                  _extends({}, (0, _reactWithStyles.css)(styles.DayPicker_transitionContainer, shouldAnimateHeight && styles.DayPicker_transitionContainer__horizontal, this.isVertical() && styles.DayPicker_transitionContainer__vertical, verticalScrollable && styles.DayPicker_transitionContainer__verticalScrollable, transitionContainerStyle), {
-                    ref: this.setTransitionContainerRef
-                  }),
-                  _react2['default'].createElement(_CalendarMonthGrid2['default'], {
-                    setMonthTitleHeight: !monthTitleHeight ? this.setMonthTitleHeight : undefined,
-                    translationValue: translationValue,
-                    enableOutsideDays: enableOutsideDays,
-                    firstVisibleMonthIndex: firstVisibleMonthIndex,
-                    initialMonth: currentMonth,
-                    isAnimating: isCalendarMonthGridAnimating,
-                    modifiers: modifiers,
-                    orientation: orientation,
-                    numberOfMonths: numberOfMonths * scrollableMonthMultiple,
-                    onDayClick: onDayClick,
-                    onDayMouseEnter: onDayMouseEnter,
-                    onDayMouseLeave: onDayMouseLeave,
-                    onMonthChange: this.onMonthChange,
-                    onYearChange: this.onYearChange,
-                    renderMonthText: renderMonthText,
-                    renderCalendarDay: renderCalendarDay,
-                    renderDayContents: renderDayContents,
-                    renderMonthElement: renderMonthElement,
-                    onMonthTransitionEnd: this.updateStateAfterMonthTransition,
-                    monthFormat: monthFormat,
-                    daySize: daySize,
-                    firstDayOfWeek: firstDayOfWeek,
-                    isFocused: shouldFocusDate,
-                    focusedDate: focusedDate,
-                    phrases: phrases,
-                    isRTL: isRTL,
-                    dayAriaLabelFormat: dayAriaLabelFormat,
-                    transitionDuration: transitionDuration,
-                    verticalBorderSpacing: verticalBorderSpacing,
-                    horizontalMonthPadding: horizontalMonthPadding
-                  }),
-                  verticalScrollable && this.renderNavigation()
-                ),
-                !isTouch && !hideKeyboardShortcutsPanel && _react2['default'].createElement(_DayPickerKeyboardShortcuts2['default'], {
-                  block: this.isVertical() && !withPortal,
-                  buttonLocation: keyboardShortcutButtonLocation,
-                  showKeyboardShortcutsPanel: showKeyboardShortcuts,
-                  openKeyboardShortcutsPanel: this.openKeyboardShortcutsPanel,
-                  closeKeyboardShortcutsPanel: this.closeKeyboardShortcutsPanel,
-                  phrases: phrases
-                })
-              )
-            ),
-            (calendarInfoPositionBottom || calendarInfoPositionAfter) && calendarInfo
-          )
-        );
-      }

-      return render;
-    }()
-  }]);
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

-  return DayPicker;
-}(_react2['default'].Component);
+var _react = __webpack_require__(9196);

-DayPicker.propTypes = propTypes;
-DayPicker.defaultProps = defaultProps;
+var _react2 = _interopRequireDefault(_react);

-exports.PureDayPicker = DayPicker;
-exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
-  var _ref2$reactDates = _ref2.reactDates,
-      color = _ref2$reactDates.color,
-      font = _ref2$reactDates.font,
-      noScrollBarOnVerticalScrollable = _ref2$reactDates.noScrollBarOnVerticalScrollable,
-      spacing = _ref2$reactDates.spacing,
-      zIndex = _ref2$reactDates.zIndex;
-  return {
-    DayPicker: {
-      background: color.background,
-      position: 'relative',
-      textAlign: 'left'
-    },
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-    DayPicker__horizontal: {
-      background: color.background
-    },
+var LeftArrow = function () {
+  function LeftArrow(props) {
+    return _react2['default'].createElement(
+      'svg',
+      props,
+      _react2['default'].createElement('path', {
+        d: 'M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z'
+      })
+    );
+  }

-    DayPicker__verticalScrollable: {
-      height: '100%'
-    },
+  return LeftArrow;
+}();

-    DayPicker__hidden: {
-      visibility: 'hidden'
-    },
+LeftArrow.defaultProps = {
+  viewBox: '0 0 1000 1000'
+};
+exports["default"] = LeftArrow;

-    DayPicker__withBorder: {
-      boxShadow: '0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)',
-      borderRadius: 3
-    },
+/***/ }),

-    DayPicker_portal__horizontal: {
-      boxShadow: 'none',
-      position: 'absolute',
-      left: '50%',
-      top: '50%'
-    },
+/***/ 4921:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-    DayPicker_portal__vertical: {
-      position: 'initial'
-    },
+"use strict";

-    DayPicker_focusRegion: {
-      outline: 'none'
-    },

-    DayPicker_calendarInfo__horizontal: {
-      display: 'inline-block',
-      verticalAlign: 'top'
-    },
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

-    DayPicker_wrapper__horizontal: {
-      display: 'inline-block',
-      verticalAlign: 'top'
-    },
+var _react = __webpack_require__(9196);

-    DayPicker_weekHeaders: {
-      position: 'relative'
-    },
+var _react2 = _interopRequireDefault(_react);

-    DayPicker_weekHeaders__horizontal: {
-      marginLeft: spacing.dayPickerHorizontalPadding
-    },
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-    DayPicker_weekHeader: {
-      color: color.placeholderText,
-      position: 'absolute',
-      top: 62,
-      zIndex: zIndex + 2,
-      textAlign: 'left'
-    },
+var RightArrow = function () {
+  function RightArrow(props) {
+    return _react2['default'].createElement(
+      'svg',
+      props,
+      _react2['default'].createElement('path', {
+        d: 'M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z'
+      })
+    );
+  }

-    DayPicker_weekHeader__vertical: {
-      left: '50%'
-    },
+  return RightArrow;
+}();

-    DayPicker_weekHeader__verticalScrollable: {
-      top: 0,
-      display: 'table-row',
-      borderBottom: '1px solid ' + String(color.core.border),
-      background: color.background,
-      marginLeft: 0,
-      left: 0,
-      width: '100%',
-      textAlign: 'center'
-    },
+RightArrow.defaultProps = {
+  viewBox: '0 0 1000 1000'
+};
+exports["default"] = RightArrow;

-    DayPicker_weekHeader_ul: {
-      listStyle: 'none',
-      margin: '1px 0',
-      paddingLeft: 0,
-      paddingRight: 0,
-      fontSize: font.size
-    },
+/***/ }),

-    DayPicker_weekHeader_li: {
-      display: 'inline-block',
-      textAlign: 'center'
-    },
+/***/ 257:
+/***/ (function(__unused_webpack_module, exports) {

-    DayPicker_transitionContainer: {
-      position: 'relative',
-      overflow: 'hidden',
-      borderRadius: 3
-    },
+"use strict";

-    DayPicker_transitionContainer__horizontal: {
-      transition: 'height 0.2s ease-in-out'
-    },

-    DayPicker_transitionContainer__vertical: {
-      width: '100%'
-    },
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+var DISPLAY_FORMAT = exports.DISPLAY_FORMAT = 'L';
+var ISO_FORMAT = exports.ISO_FORMAT = 'YYYY-MM-DD';
+var ISO_MONTH_FORMAT = exports.ISO_MONTH_FORMAT = 'YYYY-MM';

-    DayPicker_transitionContainer__verticalScrollable: (0, _object2['default'])({
-      paddingTop: 20,
-      height: '100%',
-      position: 'absolute',
-      top: 0,
-      bottom: 0,
-      right: 0,
-      left: 0,
-      overflowY: 'scroll'
-    }, noScrollBarOnVerticalScrollable && {
-      '-webkitOverflowScrolling': 'touch',
-      '::-webkit-scrollbar': {
-        '-webkit-appearance': 'none',
-        display: 'none'
-      }
-    })
-  };
-})(DayPicker);
+var START_DATE = exports.START_DATE = 'startDate';
+var END_DATE = exports.END_DATE = 'endDate';

-/***/ }),
+var HORIZONTAL_ORIENTATION = exports.HORIZONTAL_ORIENTATION = 'horizontal';
+var VERTICAL_ORIENTATION = exports.VERTICAL_ORIENTATION = 'vertical';
+var VERTICAL_SCROLLABLE = exports.VERTICAL_SCROLLABLE = 'verticalScrollable';

-/***/ "NykK":
-/***/ (function(module, exports, __webpack_require__) {
+var ICON_BEFORE_POSITION = exports.ICON_BEFORE_POSITION = 'before';
+var ICON_AFTER_POSITION = exports.ICON_AFTER_POSITION = 'after';

-var Symbol = __webpack_require__("nmnc"),
-    getRawTag = __webpack_require__("AP2z"),
-    objectToString = __webpack_require__("KfNM");
+var INFO_POSITION_TOP = exports.INFO_POSITION_TOP = 'top';
+var INFO_POSITION_BOTTOM = exports.INFO_POSITION_BOTTOM = 'bottom';
+var INFO_POSITION_BEFORE = exports.INFO_POSITION_BEFORE = 'before';
+var INFO_POSITION_AFTER = exports.INFO_POSITION_AFTER = 'after';

-/** `Object#toString` result references. */
-var nullTag = '[object Null]',
-    undefinedTag = '[object Undefined]';
+var ANCHOR_LEFT = exports.ANCHOR_LEFT = 'left';
+var ANCHOR_RIGHT = exports.ANCHOR_RIGHT = 'right';

-/** Built-in value references. */
-var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
+var OPEN_DOWN = exports.OPEN_DOWN = 'down';
+var OPEN_UP = exports.OPEN_UP = 'up';

-/**
- * The base implementation of `getTag` without fallbacks for buggy environments.
- *
- * @private
- * @param {*} value The value to query.
- * @returns {string} Returns the `toStringTag`.
- */
-function baseGetTag(value) {
-  if (value == null) {
-    return value === undefined ? undefinedTag : nullTag;
-  }
-  return (symToStringTag && symToStringTag in Object(value))
-    ? getRawTag(value)
-    : objectToString(value);
-}
+var DAY_SIZE = exports.DAY_SIZE = 39;
+var BLOCKED_MODIFIER = exports.BLOCKED_MODIFIER = 'blocked';
+var WEEKDAYS = exports.WEEKDAYS = [0, 1, 2, 3, 4, 5, 6];

-module.exports = baseGetTag;
+var FANG_WIDTH_PX = exports.FANG_WIDTH_PX = 20;
+var FANG_HEIGHT_PX = exports.FANG_HEIGHT_PX = 10;
+var DEFAULT_VERTICAL_SPACING = exports.DEFAULT_VERTICAL_SPACING = 22;

+var MODIFIER_KEY_NAMES = exports.MODIFIER_KEY_NAMES = new Set(['Shift', 'Control', 'Alt', 'Meta']);

 /***/ }),

-/***/ "Nym8":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 6030:
+/***/ (function(__unused_webpack_module, exports) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getActiveElement; });
-/* harmony import */ var _getDocument_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ouKs");
-
-
-/**
- * Returns `element.ownerDocument.activeElement`.
- */
-
-function getActiveElement(element) {
-  var _getDocument = Object(_getDocument_js__WEBPACK_IMPORTED_MODULE_0__[/* getDocument */ "a"])(element),
-      activeElement = _getDocument.activeElement;

-  if (!(activeElement !== null && activeElement !== void 0 && activeElement.nodeName)) {
-    // In IE11, activeElement might be an empty object if we're interacting
-    // with elements inside of an iframe.
-    return null;
-  }

-  return activeElement;
-}
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+var calendarLabel = 'Calendar';
+var closeDatePicker = 'Close';
+var focusStartDate = 'Interact with the calendar and add the check-in date for your trip.';
+var clearDate = 'Clear Date';
+var clearDates = 'Clear Dates';
+var jumpToPrevMonth = 'Move backward to switch to the previous month.';
+var jumpToNextMonth = 'Move forward to switch to the next month.';
+var keyboardShortcuts = 'Keyboard Shortcuts';
+var showKeyboardShortcutsPanel = 'Open the keyboard shortcuts panel.';
+var hideKeyboardShortcutsPanel = 'Close the shortcuts panel.';
+var openThisPanel = 'Open this panel.';
+var enterKey = 'Enter key';
+var leftArrowRightArrow = 'Right and left arrow keys';
+var upArrowDownArrow = 'up and down arrow keys';
+var pageUpPageDown = 'page up and page down keys';
+var homeEnd = 'Home and end keys';
+var escape = 'Escape key';
+var questionMark = 'Question mark';
+var selectFocusedDate = 'Select the date in focus.';
+var moveFocusByOneDay = 'Move backward (left) and forward (right) by one day.';
+var moveFocusByOneWeek = 'Move backward (up) and forward (down) by one week.';
+var moveFocusByOneMonth = 'Switch months.';
+var moveFocustoStartAndEndOfWeek = 'Go to the first or last day of a week.';
+var returnFocusToInput = 'Return to the date input field.';
+var keyboardNavigationInstructions = 'Press the down arrow key to interact with the calendar and\n  select a date. Press the question mark key to get the keyboard shortcuts for changing dates.';

+var chooseAvailableStartDate = function chooseAvailableStartDate(_ref) {
+  var date = _ref.date;
+  return 'Choose ' + String(date) + ' as your check-in date. It\u2019s available.';
+};
+var chooseAvailableEndDate = function chooseAvailableEndDate(_ref2) {
+  var date = _ref2.date;
+  return 'Choose ' + String(date) + ' as your check-out date. It\u2019s available.';
+};
+var chooseAvailableDate = function chooseAvailableDate(_ref3) {
+  var date = _ref3.date;
+  return date;
+};
+var dateIsUnavailable = function dateIsUnavailable(_ref4) {
+  var date = _ref4.date;
+  return 'Not available. ' + String(date);
+};
+var dateIsSelected = function dateIsSelected(_ref5) {
+  var date = _ref5.date;
+  return 'Selected. ' + String(date);
+};

+exports["default"] = {
+  calendarLabel: calendarLabel,
+  closeDatePicker: closeDatePicker,
+  focusStartDate: focusStartDate,
+  clearDate: clearDate,
+  clearDates: clearDates,
+  jumpToPrevMonth: jumpToPrevMonth,
+  jumpToNextMonth: jumpToNextMonth,
+  keyboardShortcuts: keyboardShortcuts,
+  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
+  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
+  openThisPanel: openThisPanel,
+  enterKey: enterKey,
+  leftArrowRightArrow: leftArrowRightArrow,
+  upArrowDownArrow: upArrowDownArrow,
+  pageUpPageDown: pageUpPageDown,
+  homeEnd: homeEnd,
+  escape: escape,
+  questionMark: questionMark,
+  selectFocusedDate: selectFocusedDate,
+  moveFocusByOneDay: moveFocusByOneDay,
+  moveFocusByOneWeek: moveFocusByOneWeek,
+  moveFocusByOneMonth: moveFocusByOneMonth,
+  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
+  returnFocusToInput: returnFocusToInput,
+  keyboardNavigationInstructions: keyboardNavigationInstructions,

+  chooseAvailableStartDate: chooseAvailableStartDate,
+  chooseAvailableEndDate: chooseAvailableEndDate,
+  dateIsUnavailable: dateIsUnavailable,
+  dateIsSelected: dateIsSelected
+};
+var DateRangePickerPhrases = exports.DateRangePickerPhrases = {
+  calendarLabel: calendarLabel,
+  closeDatePicker: closeDatePicker,
+  clearDates: clearDates,
+  focusStartDate: focusStartDate,
+  jumpToPrevMonth: jumpToPrevMonth,
+  jumpToNextMonth: jumpToNextMonth,
+  keyboardShortcuts: keyboardShortcuts,
+  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
+  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
+  openThisPanel: openThisPanel,
+  enterKey: enterKey,
+  leftArrowRightArrow: leftArrowRightArrow,
+  upArrowDownArrow: upArrowDownArrow,
+  pageUpPageDown: pageUpPageDown,
+  homeEnd: homeEnd,
+  escape: escape,
+  questionMark: questionMark,
+  selectFocusedDate: selectFocusedDate,
+  moveFocusByOneDay: moveFocusByOneDay,
+  moveFocusByOneWeek: moveFocusByOneWeek,
+  moveFocusByOneMonth: moveFocusByOneMonth,
+  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
+  returnFocusToInput: returnFocusToInput,
+  keyboardNavigationInstructions: keyboardNavigationInstructions,
+  chooseAvailableStartDate: chooseAvailableStartDate,
+  chooseAvailableEndDate: chooseAvailableEndDate,
+  dateIsUnavailable: dateIsUnavailable,
+  dateIsSelected: dateIsSelected
+};

-/***/ }),
+var DateRangePickerInputPhrases = exports.DateRangePickerInputPhrases = {
+  focusStartDate: focusStartDate,
+  clearDates: clearDates,
+  keyboardNavigationInstructions: keyboardNavigationInstructions
+};

-/***/ "Ohaz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+var SingleDatePickerPhrases = exports.SingleDatePickerPhrases = {
+  calendarLabel: calendarLabel,
+  closeDatePicker: closeDatePicker,
+  clearDate: clearDate,
+  jumpToPrevMonth: jumpToPrevMonth,
+  jumpToNextMonth: jumpToNextMonth,
+  keyboardShortcuts: keyboardShortcuts,
+  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
+  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
+  openThisPanel: openThisPanel,
+  enterKey: enterKey,
+  leftArrowRightArrow: leftArrowRightArrow,
+  upArrowDownArrow: upArrowDownArrow,
+  pageUpPageDown: pageUpPageDown,
+  homeEnd: homeEnd,
+  escape: escape,
+  questionMark: questionMark,
+  selectFocusedDate: selectFocusedDate,
+  moveFocusByOneDay: moveFocusByOneDay,
+  moveFocusByOneWeek: moveFocusByOneWeek,
+  moveFocusByOneMonth: moveFocusByOneMonth,
+  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
+  returnFocusToInput: returnFocusToInput,
+  keyboardNavigationInstructions: keyboardNavigationInstructions,
+  chooseAvailableDate: chooseAvailableDate,
+  dateIsUnavailable: dateIsUnavailable,
+  dateIsSelected: dateIsSelected
+};

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getNamespace; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getConnectedNamespace; });
-/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("tQ+x");
-/**
- * Internal dependencies
- */
+var SingleDatePickerInputPhrases = exports.SingleDatePickerInputPhrases = {
+  clearDate: clearDate,
+  keyboardNavigationInstructions: keyboardNavigationInstructions
+};

-/**
- * Creates a dedicated context namespace HTML attribute for components.
- * ns is short for "namespace"
- *
- * @example
- * ```jsx
- * <div {...ns('Container')} />
- * ```
- *
- * @param {string} componentName The name for the component.
- * @return {Record<string, any>} A props object with the namespaced HTML attribute.
- */
+var DayPickerPhrases = exports.DayPickerPhrases = {
+  calendarLabel: calendarLabel,
+  jumpToPrevMonth: jumpToPrevMonth,
+  jumpToNextMonth: jumpToNextMonth,
+  keyboardShortcuts: keyboardShortcuts,
+  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
+  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
+  openThisPanel: openThisPanel,
+  enterKey: enterKey,
+  leftArrowRightArrow: leftArrowRightArrow,
+  upArrowDownArrow: upArrowDownArrow,
+  pageUpPageDown: pageUpPageDown,
+  homeEnd: homeEnd,
+  escape: escape,
+  questionMark: questionMark,
+  selectFocusedDate: selectFocusedDate,
+  moveFocusByOneDay: moveFocusByOneDay,
+  moveFocusByOneWeek: moveFocusByOneWeek,
+  moveFocusByOneMonth: moveFocusByOneMonth,
+  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
+  returnFocusToInput: returnFocusToInput,
+  chooseAvailableStartDate: chooseAvailableStartDate,
+  chooseAvailableEndDate: chooseAvailableEndDate,
+  chooseAvailableDate: chooseAvailableDate,
+  dateIsUnavailable: dateIsUnavailable,
+  dateIsSelected: dateIsSelected
+};

-function getNamespace(componentName) {
-  return {
-    [_constants__WEBPACK_IMPORTED_MODULE_0__[/* COMPONENT_NAMESPACE */ "a"]]: componentName
-  };
-}
-/**
- * Creates a dedicated connected context namespace HTML attribute for components.
- * ns is short for "namespace"
- *
- * @example
- * ```jsx
- * <div {...cns()} />
- * ```
- *
- * @return {Record<string, any>} A props object with the namespaced HTML attribute.
- */
+var DayPickerKeyboardShortcutsPhrases = exports.DayPickerKeyboardShortcutsPhrases = {
+  keyboardShortcuts: keyboardShortcuts,
+  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
+  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
+  openThisPanel: openThisPanel,
+  enterKey: enterKey,
+  leftArrowRightArrow: leftArrowRightArrow,
+  upArrowDownArrow: upArrowDownArrow,
+  pageUpPageDown: pageUpPageDown,
+  homeEnd: homeEnd,
+  escape: escape,
+  questionMark: questionMark,
+  selectFocusedDate: selectFocusedDate,
+  moveFocusByOneDay: moveFocusByOneDay,
+  moveFocusByOneWeek: moveFocusByOneWeek,
+  moveFocusByOneMonth: moveFocusByOneMonth,
+  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
+  returnFocusToInput: returnFocusToInput
+};

-function getConnectedNamespace() {
-  return {
-    [_constants__WEBPACK_IMPORTED_MODULE_0__[/* CONNECTED_NAMESPACE */ "b"]]: true
-  };
-}
+var DayPickerNavigationPhrases = exports.DayPickerNavigationPhrases = {
+  jumpToPrevMonth: jumpToPrevMonth,
+  jumpToNextMonth: jumpToNextMonth
+};

+var CalendarDayPhrases = exports.CalendarDayPhrases = {
+  chooseAvailableDate: chooseAvailableDate,
+  dateIsUnavailable: dateIsUnavailable,
+  dateIsSelected: dateIsSelected
+};

 /***/ }),

-/***/ "PFEc":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 17:
+/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

 "use strict";


-var GetIntrinsic = __webpack_require__("j1Hc");
-
-var $Object = GetIntrinsic('%Object%');
-
-var RequireObjectCoercible = __webpack_require__("eH4f");
+var _registerCSSInterfaceWithDefaultTheme = __webpack_require__(9305);

-// https://ecma-international.org/ecma-262/6.0/#sec-toobject
+var _registerCSSInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerCSSInterfaceWithDefaultTheme);

-module.exports = function ToObject(value) {
-	RequireObjectCoercible(value);
-	return $Object(value);
-};
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

+(0, _registerCSSInterfaceWithDefaultTheme2['default'])();

 /***/ }),

-/***/ "PcHe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 8182:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return hasFocusWithin; });
-/* harmony import */ var _getActiveElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("Nym8");
-/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("utzN");
-


+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

-/**
- * Checks if `element` has focus within. Elements that are referenced by
- * `aria-activedescendant` are also considered.
- *
- * @example
- * import { hasFocusWithin } from "reakit-utils";
- *
- * hasFocusWithin(document.getElementById("id"));
- */
+var _propTypes = __webpack_require__(2652);

-function hasFocusWithin(element) {
-  var activeElement = Object(_getActiveElement_js__WEBPACK_IMPORTED_MODULE_0__[/* getActiveElement */ "a"])(element);
-  if (!activeElement) return false;
-  if (Object(_contains_js__WEBPACK_IMPORTED_MODULE_1__[/* contains */ "a"])(element, activeElement)) return true;
-  var activeDescendant = activeElement.getAttribute("aria-activedescendant");
-  if (!activeDescendant) return false;
-  if (activeDescendant === element.id) return true;
-  return !!element.querySelector("#" + activeDescendant);
-}
+var _propTypes2 = _interopRequireDefault(_propTypes);

+var _constants = __webpack_require__(257);

+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

+exports["default"] = _propTypes2['default'].oneOf([_constants.INFO_POSITION_TOP, _constants.INFO_POSITION_BOTTOM, _constants.INFO_POSITION_BEFORE, _constants.INFO_POSITION_AFTER]);

 /***/ }),

-/***/ "Pjai":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 243:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";


-var ToPrimitive = __webpack_require__("vLdR");
-
-// http://262.ecma-international.org/5.1/#sec-9.3
-
-module.exports = function ToNumber(value) {
-	var prim = ToPrimitive(value, Number);
-	if (typeof prim !== 'string') {
-		return +prim; // eslint-disable-line no-implicit-coercion
-	}
-
-	// eslint-disable-next-line no-control-regex
-	var trimmed = prim.replace(/^[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+|[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+$/g, '');
-	if ((/^0[ob]|^[+-]0x/).test(trimmed)) {
-		return NaN;
-	}
-
-	return +trimmed; // eslint-disable-line no-implicit-coercion
-};
-
-
-/***/ }),
-
-/***/ "PoQ0":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

+var _propTypes = __webpack_require__(2652);

-var ES5Type = __webpack_require__("60zJ");
+var _propTypes2 = _interopRequireDefault(_propTypes);

-// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
+var _constants = __webpack_require__(257);

-module.exports = function Type(x) {
-	if (typeof x === 'symbol') {
-		return 'Symbol';
-	}
-	if (typeof x === 'bigint') {
-		return 'BigInt';
-	}
-	return ES5Type(x);
-};
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

+exports["default"] = _propTypes2['default'].oneOf(_constants.WEEKDAYS);

 /***/ }),

-/***/ "Pq96":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 6747:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
+Object.defineProperty(exports, "__esModule", ({
   value: true
-});
-exports['default'] = isPrevMonth;
-
-var _moment = __webpack_require__("wy2R");
+}));

-var _moment2 = _interopRequireDefault(_moment);
+var _propTypes = __webpack_require__(2652);

-var _isSameMonth = __webpack_require__("ulUS");
+var _propTypes2 = _interopRequireDefault(_propTypes);

-var _isSameMonth2 = _interopRequireDefault(_isSameMonth);
+var _airbnbPropTypes = __webpack_require__(4882);

 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function isPrevMonth(a, b) {
-  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
-  return (0, _isSameMonth2['default'])(a.clone().subtract(1, 'month'), b);
-}
-
-/***/ }),
-
-/***/ "PrET":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var bind = __webpack_require__("D3zA");
-var GetIntrinsic = __webpack_require__("AM7I");
-
-var $apply = GetIntrinsic('%Function.prototype.apply%');
-var $call = GetIntrinsic('%Function.prototype.call%');
-var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

-var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
+function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

-if ($defineProperty) {
-	try {
-		$defineProperty({}, 'a', { value: 1 });
-	} catch (e) {
-		// IE 8 has a broken defineProperty
-		$defineProperty = null;
-	}
-}
+exports["default"] = (0, _airbnbPropTypes.and)([_propTypes2['default'].instanceOf(Set), function () {
+  function modifiers(props, propName) {
+    for (var _len = arguments.length, rest = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
+      rest[_key - 2] = arguments[_key];
+    }

-module.exports = function callBind() {
-	return $reflectApply(bind, $call, arguments);
-};
+    var propValue = props[propName];

-var applyBind = function applyBind() {
-	return $reflectApply(bind, $apply, arguments);
-};
+    var firstError = void 0;
+    [].concat(_toConsumableArray(propValue)).some(function (v, i) {
+      var _PropTypes$string;

-if ($defineProperty) {
-	$defineProperty(module.exports, 'apply', { value: applyBind });
-} else {
-	module.exports.apply = applyBind;
-}
+      var fakePropName = String(propName) + ': index ' + String(i);
+      firstError = (_PropTypes$string = _propTypes2['default'].string).isRequired.apply(_PropTypes$string, [_defineProperty({}, fakePropName, v), fakePropName].concat(rest));
+      return firstError != null;
+    });
+    return firstError == null ? null : firstError;
+  }

+  return modifiers;
+}()], 'Modifiers (Set of Strings)');

 /***/ }),

-/***/ "Ptb8":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 6553:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isObject; });
-/**
- * Checks whether `arg` is an object or not.
- *
- * @returns {boolean}
- */
-function isObject(arg) {
-  return typeof arg === "object" && arg != null;
-}
-
-
-

-/***/ }),

-/***/ "Q4Sy":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+var _propTypes = __webpack_require__(2652);

+var _propTypes2 = _interopRequireDefault(_propTypes);

-/**
- * WordPress dependencies
- */
+var _constants = __webpack_require__(257);

-const plus = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (plus);
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

+exports["default"] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTATION, _constants.VERTICAL_ORIENTATION, _constants.VERTICAL_SCROLLABLE]);

 /***/ }),

-/***/ "QEu6":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 8158:
+/***/ (function(__unused_webpack_module, exports) {

 "use strict";


-Object.defineProperty(exports, "__esModule", {
+Object.defineProperty(exports, "__esModule", ({
   value: true
-});
-var CHANNEL = exports.CHANNEL = '__direction__';
-
-var DIRECTIONS = exports.DIRECTIONS = {
-  LTR: 'ltr',
-  RTL: 'rtl'
-};
+}));
+var core = {
+  white: '#fff',
+  gray: '#484848',
+  grayLight: '#82888a',
+  grayLighter: '#cacccd',
+  grayLightest: '#f2f2f2',

-/***/ }),
+  borderMedium: '#c4c4c4',
+  border: '#dbdbdb',
+  borderLight: '#e4e7e7',
+  borderLighter: '#eceeee',
+  borderBright: '#f4f5f5',

-/***/ "QIyF":
-/***/ (function(module, exports, __webpack_require__) {
+  primary: '#00a699',
+  primaryShade_1: '#33dacd',
+  primaryShade_2: '#66e2da',
+  primaryShade_3: '#80e8e0',
+  primaryShade_4: '#b2f1ec',
+  primary_dark: '#008489',

-var root = __webpack_require__("Kz5y");
+  secondary: '#007a87',

-/**
- * Gets the timestamp of the number of milliseconds that have elapsed since
- * the Unix epoch (1 January 1970 00:00:00 UTC).
- *
- * @static
- * @memberOf _
- * @since 2.4.0
- * @category Date
- * @returns {number} Returns the timestamp.
- * @example
- *
- * _.defer(function(stamp) {
- *   console.log(_.now() - stamp);
- * }, _.now());
- * // => Logs the number of milliseconds it took for the deferred invocation.
- */
-var now = function() {
-  return root.Date.now();
+  yellow: '#ffe8bc',
+  yellow_dark: '#ffce71'
 };

-module.exports = now;
-
-
-/***/ }),
+exports["default"] = {
+  reactDates: {
+    zIndex: 0,
+    border: {
+      input: {
+        border: 0,
+        borderTop: 0,
+        borderRight: 0,
+        borderBottom: '2px solid transparent',
+        borderLeft: 0,
+        outlineFocused: 0,
+        borderFocused: 0,
+        borderTopFocused: 0,
+        borderLeftFocused: 0,
+        borderBottomFocused: '2px solid ' + String(core.primary_dark),
+        borderRightFocused: 0,
+        borderRadius: 0
+      },
+      pickerInput: {
+        borderWidth: 1,
+        borderStyle: 'solid',
+        borderRadius: 2
+      }
+    },

-/***/ "Qmvf":
-/***/ (function(module, exports, __webpack_require__) {
+    color: {
+      core: core,

-"use strict";
+      disabled: core.grayLightest,

+      background: core.white,
+      backgroundDark: '#f2f2f2',
+      backgroundFocused: core.white,
+      border: 'rgb(219, 219, 219)',
+      text: core.gray,
+      textDisabled: core.border,
+      textFocused: '#007a87',
+      placeholderText: '#757575',

-var GetIntrinsic = __webpack_require__("j1Hc");
+      outside: {
+        backgroundColor: core.white,
+        backgroundColor_active: core.white,
+        backgroundColor_hover: core.white,
+        color: core.gray,
+        color_active: core.gray,
+        color_hover: core.gray
+      },

-var has = __webpack_require__("oNNP");
-var $TypeError = GetIntrinsic('%TypeError%');
+      highlighted: {
+        backgroundColor: core.yellow,
+        backgroundColor_active: core.yellow_dark,
+        backgroundColor_hover: core.yellow_dark,
+        color: core.gray,
+        color_active: core.gray,
+        color_hover: core.gray
+      },

-module.exports = function IsPropertyDescriptor(ES, Desc) {
-	if (ES.Type(Desc) !== 'Object') {
-		return false;
-	}
-	var allowed = {
-		'[[Configurable]]': true,
-		'[[Enumerable]]': true,
-		'[[Get]]': true,
-		'[[Set]]': true,
-		'[[Value]]': true,
-		'[[Writable]]': true
-	};
+      minimumNights: {
+        backgroundColor: core.white,
+        backgroundColor_active: core.white,
+        backgroundColor_hover: core.white,
+        borderColor: core.borderLighter,
+        color: core.grayLighter,
+        color_active: core.grayLighter,
+        color_hover: core.grayLighter
+      },

-	for (var key in Desc) { // eslint-disable-line no-restricted-syntax
-		if (has(Desc, key) && !allowed[key]) {
-			return false;
-		}
-	}
+      hoveredSpan: {
+        backgroundColor: core.primaryShade_4,
+        backgroundColor_active: core.primaryShade_3,
+        backgroundColor_hover: core.primaryShade_4,
+        borderColor: core.primaryShade_3,
+        borderColor_active: core.primaryShade_3,
+        borderColor_hover: core.primaryShade_3,
+        color: core.secondary,
+        color_active: core.secondary,
+        color_hover: core.secondary
+      },

-	if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {
-		throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');
-	}
-	return true;
-};
+      selectedSpan: {
+        backgroundColor: core.primaryShade_2,
+        backgroundColor_active: core.primaryShade_1,
+        backgroundColor_hover: core.primaryShade_1,
+        borderColor: core.primaryShade_1,
+        borderColor_active: core.primary,
+        borderColor_hover: core.primary,
+        color: core.white,
+        color_active: core.white,
+        color_hover: core.white
+      },

+      selected: {
+        backgroundColor: core.primary,
+        backgroundColor_active: core.primary,
+        backgroundColor_hover: core.primary,
+        borderColor: core.primary,
+        borderColor_active: core.primary,
+        borderColor_hover: core.primary,
+        color: core.white,
+        color_active: core.white,
+        color_hover: core.white
+      },

-/***/ }),
+      blocked_calendar: {
+        backgroundColor: core.grayLighter,
+        backgroundColor_active: core.grayLighter,
+        backgroundColor_hover: core.grayLighter,
+        borderColor: core.grayLighter,
+        borderColor_active: core.grayLighter,
+        borderColor_hover: core.grayLighter,
+        color: core.grayLight,
+        color_active: core.grayLight,
+        color_hover: core.grayLight
+      },

-/***/ "RDTF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+      blocked_out_of_range: {
+        backgroundColor: core.white,
+        backgroundColor_active: core.white,
+        backgroundColor_hover: core.white,
+        borderColor: core.borderLight,
+        borderColor_active: core.borderLight,
+        borderColor_hover: core.borderLight,
+        color: core.grayLighter,
+        color_active: core.grayLighter,
+        color_hover: core.grayLighter
+      }
+    },

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectSpread2; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _objectWithoutPropertiesLoose; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _createForOfIteratorHelperLoose; });
-function _defineProperty(obj, key, value) {
-  if (key in obj) {
-    Object.defineProperty(obj, key, {
-      value: value,
-      enumerable: true,
-      configurable: true,
-      writable: true
-    });
-  } else {
-    obj[key] = value;
-  }
+    spacing: {
+      dayPickerHorizontalPadding: 9,
+      captionPaddingTop: 22,
+      captionPaddingBottom: 37,
+      inputPadding: 0,
+      displayTextPaddingVertical: undefined,
+      displayTextPaddingTop: 11,
+      displayTextPaddingBottom: 9,
+      displayTextPaddingHorizontal: undefined,
+      displayTextPaddingLeft: 11,
+      displayTextPaddingRight: 11,
+      displayTextPaddingVertical_small: undefined,
+      displayTextPaddingTop_small: 7,
+      displayTextPaddingBottom_small: 5,
+      displayTextPaddingHorizontal_small: undefined,
+      displayTextPaddingLeft_small: 7,
+      displayTextPaddingRight_small: 7
+    },

-  return obj;
-}
+    sizing: {
+      inputWidth: 130,
+      inputWidth_small: 97,
+      arrowWidth: 24
+    },

-function ownKeys(object, enumerableOnly) {
-  var keys = Object.keys(object);
+    noScrollBarOnVerticalScrollable: false,

-  if (Object.getOwnPropertySymbols) {
-    var symbols = Object.getOwnPropertySymbols(object);
-    if (enumerableOnly) symbols = symbols.filter(function (sym) {
-      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
-    });
-    keys.push.apply(keys, symbols);
+    font: {
+      size: 14,
+      captionSize: 18,
+      input: {
+        size: 19,
+        lineHeight: '24px',
+        size_small: 15,
+        lineHeight_small: '18px',
+        letterSpacing_small: '0.2px',
+        styleDisabled: 'italic'
+      }
+    }
   }
+};

-  return keys;
-}
+/***/ }),

-function _objectSpread2(target) {
-  for (var i = 1; i < arguments.length; i++) {
-    var source = arguments[i] != null ? arguments[i] : {};
+/***/ 8607:
+/***/ (function(__unused_webpack_module, exports) {

-    if (i % 2) {
-      ownKeys(Object(source), true).forEach(function (key) {
-        _defineProperty(target, key, source[key]);
-      });
-    } else if (Object.getOwnPropertyDescriptors) {
-      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
-    } else {
-      ownKeys(Object(source)).forEach(function (key) {
-        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
-      });
-    }
-  }
+"use strict";

-  return target;
-}

-function _objectWithoutPropertiesLoose(source, excluded) {
-  if (source == null) return {};
-  var target = {};
-  var sourceKeys = Object.keys(source);
-  var key, i;
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = calculateDimension;
+function calculateDimension(el, axis) {
+  var borderBox = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
+  var withMargin = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;

-  for (i = 0; i < sourceKeys.length; i++) {
-    key = sourceKeys[i];
-    if (excluded.indexOf(key) >= 0) continue;
-    target[key] = source[key];
+  if (!el) {
+    return 0;
   }

-  return target;
-}
-
-function _unsupportedIterableToArray(o, minLen) {
-  if (!o) return;
-  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
-  var n = Object.prototype.toString.call(o).slice(8, -1);
-  if (n === "Object" && o.constructor) n = o.constructor.name;
-  if (n === "Map" || n === "Set") return Array.from(o);
-  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
-}
-
-function _arrayLikeToArray(arr, len) {
-  if (len == null || len > arr.length) len = arr.length;
+  var axisStart = axis === 'width' ? 'Left' : 'Top';
+  var axisEnd = axis === 'width' ? 'Right' : 'Bottom';

-  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
+  // Only read styles if we need to
+  var style = !borderBox || withMargin ? window.getComputedStyle(el) : null;

-  return arr2;
-}
+  // Offset includes border and padding
+  var offsetWidth = el.offsetWidth,
+      offsetHeight = el.offsetHeight;

-function _createForOfIteratorHelperLoose(o, allowArrayLike) {
-  var it;
+  var size = axis === 'width' ? offsetWidth : offsetHeight;

-  if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
-    if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
-      if (it) o = it;
-      var i = 0;
-      return function () {
-        if (i >= o.length) return {
-          done: true
-        };
-        return {
-          done: false,
-          value: o[i++]
-        };
-      };
-    }
+  // Get the inner size
+  if (!borderBox) {
+    size -= parseFloat(style['padding' + axisStart]) + parseFloat(style['padding' + axisEnd]) + parseFloat(style['border' + axisStart + 'Width']) + parseFloat(style['border' + axisEnd + 'Width']);
+  }

-    throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+  // Apply margin
+  if (withMargin) {
+    size += parseFloat(style['margin' + axisStart]) + parseFloat(style['margin' + axisEnd]);
   }

-  it = o[Symbol.iterator]();
-  return it.next.bind(it);
+  return size;
 }

-
-
-
 /***/ }),

-/***/ "RMJe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 5814:
+/***/ (function(__unused_webpack_module, exports) {

 "use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */
-
-const check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
+Object.defineProperty(exports, "__esModule", ({
+  value: true
 }));
-/* harmony default export */ __webpack_exports__["a"] = (check);
-
+exports["default"] = getActiveElement;
+function getActiveElement() {
+  return typeof document !== 'undefined' && document.activeElement;
+}

 /***/ }),

-/***/ "Rhcr":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 7475:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";


-var GetIntrinsic = __webpack_require__("j1Hc");
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = getCalendarDaySettings;

-var $TypeError = GetIntrinsic('%TypeError%');
-var $Number = GetIntrinsic('%Number%');
-var $RegExp = GetIntrinsic('%RegExp%');
-var $parseInteger = GetIntrinsic('%parseInt%');
+var _getPhrase = __webpack_require__(7098);

-var callBound = __webpack_require__("qeuH");
-var regexTester = __webpack_require__("ZbWB");
-var isPrimitive = __webpack_require__("BeK9");
+var _getPhrase2 = _interopRequireDefault(_getPhrase);

-var $strSlice = callBound('String.prototype.slice');
-var isBinary = regexTester(/^0b[01]+$/i);
-var isOctal = regexTester(/^0o[0-7]+$/i);
-var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);
-var nonWS = ['\u0085', '\u200b', '\ufffe'].join('');
-var nonWSregex = new $RegExp('[' + nonWS + ']', 'g');
-var hasNonWS = regexTester(nonWSregex);
+var _constants = __webpack_require__(257);

-// whitespace from: https://es5.github.io/#x15.5.4.20
-// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324
-var ws = [
-	'\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003',
-	'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028',
-	'\u2029\uFEFF'
-].join('');
-var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');
-var $replace = callBound('String.prototype.replace');
-var $trim = function (value) {
-	return $replace(value, trimRegex, '');
-};
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-var ToPrimitive = __webpack_require__("Cx2f");
+function getCalendarDaySettings(day, ariaLabelFormat, daySize, modifiers, phrases) {
+  var chooseAvailableDate = phrases.chooseAvailableDate,
+      dateIsUnavailable = phrases.dateIsUnavailable,
+      dateIsSelected = phrases.dateIsSelected;

-// https://ecma-international.org/ecma-262/6.0/#sec-tonumber

-module.exports = function ToNumber(argument) {
-	var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number);
-	if (typeof value === 'symbol') {
-		throw new $TypeError('Cannot convert a Symbol value to a number');
-	}
-	if (typeof value === 'bigint') {
-		throw new $TypeError('Conversion from \'BigInt\' to \'number\' is not allowed.');
-	}
-	if (typeof value === 'string') {
-		if (isBinary(value)) {
-			return ToNumber($parseInteger($strSlice(value, 2), 2));
-		} else if (isOctal(value)) {
-			return ToNumber($parseInteger($strSlice(value, 2), 8));
-		} else if (hasNonWS(value) || isInvalidHexLiteral(value)) {
-			return NaN;
-		}
-		var trimmed = $trim(value);
-		if (trimmed !== value) {
-			return ToNumber(trimmed);
-		}
+  var daySizeStyles = {
+    width: daySize,
+    height: daySize - 1
+  };

-	}
-	return $Number(value);
-};
+  var useDefaultCursor = modifiers.has('blocked-minimum-nights') || modifiers.has('blocked-calendar') || modifiers.has('blocked-out-of-range');

+  var selected = modifiers.has('selected') || modifiers.has('selected-start') || modifiers.has('selected-end');

-/***/ }),
+  var hoveredSpan = !selected && (modifiers.has('hovered-span') || modifiers.has('after-hovered-start'));

-/***/ "RxS6":
-/***/ (function(module, exports) {
+  var isOutsideRange = modifiers.has('blocked-out-of-range');
+
+  var formattedDate = { date: day.format(ariaLabelFormat) };
+
+  var ariaLabel = (0, _getPhrase2['default'])(chooseAvailableDate, formattedDate);
+  if (modifiers.has(_constants.BLOCKED_MODIFIER)) {
+    ariaLabel = (0, _getPhrase2['default'])(dateIsUnavailable, formattedDate);
+  } else if (selected) {
+    ariaLabel = (0, _getPhrase2['default'])(dateIsSelected, formattedDate);
+  }

-(function() { module.exports = window["wp"]["keycodes"]; }());
+  return {
+    daySizeStyles: daySizeStyles,
+    useDefaultCursor: useDefaultCursor,
+    selected: selected,
+    hoveredSpan: hoveredSpan,
+    isOutsideRange: isOutsideRange,
+    ariaLabel: ariaLabel
+  };
+}

 /***/ }),

-/***/ "S3lO":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 5644:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

 "use strict";


-var GetIntrinsic = __webpack_require__("j1Hc");
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = getCalendarMonthWeeks;

-var $TypeError = GetIntrinsic('%TypeError%');
+var _moment = __webpack_require__(6292);

-var DefineOwnProperty = __webpack_require__("wTIp");
+var _moment2 = _interopRequireDefault(_moment);

-var FromPropertyDescriptor = __webpack_require__("rQBh");
-var OrdinaryGetOwnProperty = __webpack_require__("6XE+");
-var IsDataDescriptor = __webpack_require__("6/BL");
-var IsExtensible = __webpack_require__("UaFt");
-var IsPropertyKey = __webpack_require__("nR7C");
-var SameValue = __webpack_require__("uug5");
-var Type = __webpack_require__("PoQ0");
+var _constants = __webpack_require__(257);

-// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-module.exports = function CreateDataProperty(O, P, V) {
-	if (Type(O) !== 'Object') {
-		throw new $TypeError('Assertion failed: Type(O) is not Object');
-	}
-	if (!IsPropertyKey(P)) {
-		throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
-	}
-	var oldDesc = OrdinaryGetOwnProperty(O, P);
-	var extensible = !oldDesc || IsExtensible(O);
-	var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
-	if (immutable || !extensible) {
-		return false;
-	}
-	return DefineOwnProperty(
-		IsDataDescriptor,
-		SameValue,
-		FromPropertyDescriptor,
-		O,
-		P,
-		{
-			'[[Configurable]]': true,
-			'[[Enumerable]]': true,
-			'[[Value]]': V,
-			'[[Writable]]': true
-		}
-	);
-};
+function getCalendarMonthWeeks(month, enableOutsideDays) {
+  var firstDayOfWeek = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _moment2['default'].localeData().firstDayOfWeek();

+  if (!_moment2['default'].isMoment(month) || !month.isValid()) {
+    throw new TypeError('`month` must be a valid moment object');
+  }
+  if (_constants.WEEKDAYS.indexOf(firstDayOfWeek) === -1) {
+    throw new TypeError('`firstDayOfWeek` must be an integer between 0 and 6');
+  }

-/***/ }),
+  // set utc offset to get correct dates in future (when timezone changes)
+  var firstOfMonth = month.clone().startOf('month').hour(12);
+  var lastOfMonth = month.clone().endOf('month').hour(12);

-/***/ "S8ty":
-/***/ (function(module, exports, __webpack_require__) {
+  // calculate the exact first and last days to fill the entire matrix
+  // (considering days outside month)
+  var prevDays = (firstOfMonth.day() + 7 - firstDayOfWeek) % 7;
+  var nextDays = (firstDayOfWeek + 6 - lastOfMonth.day()) % 7;
+  var firstDay = firstOfMonth.clone().subtract(prevDays, 'day');
+  var lastDay = lastOfMonth.clone().add(nextDays, 'day');

-"use strict";
+  var totalDays = lastDay.diff(firstDay, 'days') + 1;

+  var currentDay = firstDay.clone();
+  var weeksInMonth = [];

-var GetIntrinsic = __webpack_require__("j1Hc");
+  for (var i = 0; i < totalDays; i += 1) {
+    if (i % 7 === 0) {
+      weeksInMonth.push([]);
+    }

-var $abs = GetIntrinsic('%Math.abs%');
+    var day = null;
+    if (i >= prevDays && i < totalDays - nextDays || enableOutsideDays) {
+      day = currentDay.clone();
+    }

-// http://262.ecma-international.org/5.1/#sec-5.2
+    weeksInMonth[weeksInMonth.length - 1].push(day);

-module.exports = function abs(x) {
-	return $abs(x);
-};
+    currentDay.add(1, 'day');
+  }

+  return weeksInMonth;
+}

 /***/ }),

-/***/ "SB3u":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 8964:
+/***/ (function(__unused_webpack_module, exports) {

 "use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "SVG", function() { return /* reexport */ external_wp_primitives_["SVG"]; });
-__webpack_require__.d(__webpack_exports__, "Path", function() { return /* reexport */ external_wp_primitives_["Path"]; });
-__webpack_require__.d(__webpack_exports__, "Circle", function() { return /* reexport */ external_wp_primitives_["Circle"]; });
-__webpack_require__.d(__webpack_exports__, "Polygon", function() { return /* reexport */ external_wp_primitives_["Polygon"]; });
-__webpack_require__.d(__webpack_exports__, "Rect", function() { return /* reexport */ external_wp_primitives_["Rect"]; });
-__webpack_require__.d(__webpack_exports__, "G", function() { return /* reexport */ external_wp_primitives_["G"]; });
-__webpack_require__.d(__webpack_exports__, "HorizontalRule", function() { return /* reexport */ external_wp_primitives_["HorizontalRule"]; });
-__webpack_require__.d(__webpack_exports__, "BlockQuotation", function() { return /* reexport */ external_wp_primitives_["BlockQuotation"]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalAlignmentMatrixControl", function() { return /* reexport */ AlignmentMatrixControl; });
-__webpack_require__.d(__webpack_exports__, "Animate", function() { return /* reexport */ build_module_animate["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableGetAnimateClassName", function() { return /* reexport */ build_module_animate["b" /* getAnimateClassName */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableMotion", function() { return /* reexport */ motion; });
-__webpack_require__.d(__webpack_exports__, "AnglePickerControl", function() { return /* reexport */ AnglePickerControl; });
-__webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return /* reexport */ Autocomplete; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseAutocompleteProps", function() { return /* reexport */ useAutocompleteProps; });
-__webpack_require__.d(__webpack_exports__, "BaseControl", function() { return /* reexport */ base_control; });
-__webpack_require__.d(__webpack_exports__, "__experimentalBoxControl", function() { return /* reexport */ BoxControl; });
-__webpack_require__.d(__webpack_exports__, "Button", function() { return /* reexport */ build_module_button["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "ButtonGroup", function() { return /* reexport */ button_group; });
-__webpack_require__.d(__webpack_exports__, "Card", function() { return /* reexport */ card_component; });
-__webpack_require__.d(__webpack_exports__, "CardBody", function() { return /* reexport */ card_body_component; });
-__webpack_require__.d(__webpack_exports__, "CardDivider", function() { return /* reexport */ card_divider_component; });
-__webpack_require__.d(__webpack_exports__, "CardFooter", function() { return /* reexport */ card_footer_component; });
-__webpack_require__.d(__webpack_exports__, "CardHeader", function() { return /* reexport */ card_header_component; });
-__webpack_require__.d(__webpack_exports__, "CardMedia", function() { return /* reexport */ card_media_component; });
-__webpack_require__.d(__webpack_exports__, "CheckboxControl", function() { return /* reexport */ CheckboxControl; });
-__webpack_require__.d(__webpack_exports__, "ClipboardButton", function() { return /* reexport */ ClipboardButton; });
-__webpack_require__.d(__webpack_exports__, "__experimentalPaletteEdit", function() { return /* reexport */ PaletteEdit; });
-__webpack_require__.d(__webpack_exports__, "ColorIndicator", function() { return /* reexport */ color_indicator; });
-__webpack_require__.d(__webpack_exports__, "ColorPalette", function() { return /* reexport */ ColorPalette; });
-__webpack_require__.d(__webpack_exports__, "ColorPicker", function() { return /* reexport */ LegacyAdapter; });
-__webpack_require__.d(__webpack_exports__, "ComboboxControl", function() { return /* reexport */ combobox_control; });
-__webpack_require__.d(__webpack_exports__, "__unstableComposite", function() { return /* reexport */ Composite; });
-__webpack_require__.d(__webpack_exports__, "__unstableCompositeGroup", function() { return /* reexport */ CompositeGroup; });
-__webpack_require__.d(__webpack_exports__, "__unstableCompositeItem", function() { return /* reexport */ CompositeItem["a" /* CompositeItem */]; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseCompositeState", function() { return /* reexport */ useCompositeState; });
-__webpack_require__.d(__webpack_exports__, "CustomSelectControl", function() { return /* reexport */ CustomSelectControl; });
-__webpack_require__.d(__webpack_exports__, "Dashicon", function() { return /* reexport */ dashicon["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "DateTimePicker", function() { return /* reexport */ date_time; });
-__webpack_require__.d(__webpack_exports__, "DatePicker", function() { return /* reexport */ date_time_date; });
-__webpack_require__.d(__webpack_exports__, "TimePicker", function() { return /* reexport */ date_time_time; });
-__webpack_require__.d(__webpack_exports__, "__experimentalDimensionControl", function() { return /* reexport */ dimension_control; });
-__webpack_require__.d(__webpack_exports__, "Disabled", function() { return /* reexport */ build_module_disabled; });
-__webpack_require__.d(__webpack_exports__, "__unstableDisclosureContent", function() { return /* reexport */ DisclosureContent; });
-__webpack_require__.d(__webpack_exports__, "__experimentalDivider", function() { return /* reexport */ divider_component; });
-__webpack_require__.d(__webpack_exports__, "Draggable", function() { return /* reexport */ Draggable; });
-__webpack_require__.d(__webpack_exports__, "DropZone", function() { return /* reexport */ DropZoneComponent; });
-__webpack_require__.d(__webpack_exports__, "DropZoneProvider", function() { return /* reexport */ DropZoneProvider; });
-__webpack_require__.d(__webpack_exports__, "Dropdown", function() { return /* reexport */ Dropdown; });
-__webpack_require__.d(__webpack_exports__, "DropdownMenu", function() { return /* reexport */ dropdown_menu; });
-__webpack_require__.d(__webpack_exports__, "DuotoneSwatch", function() { return /* reexport */ duotone_swatch; });
-__webpack_require__.d(__webpack_exports__, "DuotonePicker", function() { return /* reexport */ duotone_picker; });
-__webpack_require__.d(__webpack_exports__, "__experimentalElevation", function() { return /* reexport */ elevation_component; });
-__webpack_require__.d(__webpack_exports__, "ExternalLink", function() { return /* reexport */ external_link; });
-__webpack_require__.d(__webpack_exports__, "Flex", function() { return /* reexport */ flex_component; });
-__webpack_require__.d(__webpack_exports__, "FlexBlock", function() { return /* reexport */ flex_block_component; });
-__webpack_require__.d(__webpack_exports__, "FlexItem", function() { return /* reexport */ flex_item_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalFlyout", function() { return /* reexport */ flyout_component; });
-__webpack_require__.d(__webpack_exports__, "FocalPointPicker", function() { return /* reexport */ focal_point_picker; });
-__webpack_require__.d(__webpack_exports__, "FocusableIframe", function() { return /* reexport */ FocusableIframe; });
-__webpack_require__.d(__webpack_exports__, "FontSizePicker", function() { return /* reexport */ font_size_picker; });
-__webpack_require__.d(__webpack_exports__, "FormFileUpload", function() { return /* reexport */ form_file_upload; });
-__webpack_require__.d(__webpack_exports__, "FormToggle", function() { return /* reexport */ form_toggle; });
-__webpack_require__.d(__webpack_exports__, "FormTokenField", function() { return /* reexport */ form_token_field; });
-__webpack_require__.d(__webpack_exports__, "GradientPicker", function() { return /* reexport */ GradientPicker; });
-__webpack_require__.d(__webpack_exports__, "CustomGradientPicker", function() { return /* reexport */ CustomGradientPicker; });
-__webpack_require__.d(__webpack_exports__, "__experimentalGrid", function() { return /* reexport */ grid_component; });
-__webpack_require__.d(__webpack_exports__, "Guide", function() { return /* reexport */ Guide; });
-__webpack_require__.d(__webpack_exports__, "GuidePage", function() { return /* reexport */ GuidePage; });
-__webpack_require__.d(__webpack_exports__, "__experimentalHeading", function() { return /* reexport */ heading_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalHStack", function() { return /* reexport */ h_stack_component; });
-__webpack_require__.d(__webpack_exports__, "Icon", function() { return /* reexport */ components_build_module_icon["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "IconButton", function() { return /* reexport */ deprecated; });
-__webpack_require__.d(__webpack_exports__, "__experimentalItemGroup", function() { return /* reexport */ item_group_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalItem", function() { return /* reexport */ item_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalInputControl", function() { return /* reexport */ input_control; });
-__webpack_require__.d(__webpack_exports__, "KeyboardShortcuts", function() { return /* reexport */ keyboard_shortcuts; });
-__webpack_require__.d(__webpack_exports__, "MenuGroup", function() { return /* reexport */ menu_group; });
-__webpack_require__.d(__webpack_exports__, "MenuItem", function() { return /* reexport */ menu_item; });
-__webpack_require__.d(__webpack_exports__, "MenuItemsChoice", function() { return /* reexport */ MenuItemsChoice; });
-__webpack_require__.d(__webpack_exports__, "Modal", function() { return /* reexport */ Modal; });
-__webpack_require__.d(__webpack_exports__, "ScrollLock", function() { return /* reexport */ scroll_lock["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "NavigableMenu", function() { return /* reexport */ navigable_container_menu; });
-__webpack_require__.d(__webpack_exports__, "TabbableContainer", function() { return /* reexport */ navigable_container_tabbable; });
-__webpack_require__.d(__webpack_exports__, "__experimentalNavigation", function() { return /* reexport */ Navigation; });
-__webpack_require__.d(__webpack_exports__, "__experimentalNavigationBackButton", function() { return /* reexport */ back_button; });
-__webpack_require__.d(__webpack_exports__, "__experimentalNavigationGroup", function() { return /* reexport */ NavigationGroup; });
-__webpack_require__.d(__webpack_exports__, "__experimentalNavigationItem", function() { return /* reexport */ NavigationItem; });
-__webpack_require__.d(__webpack_exports__, "__experimentalNavigationMenu", function() { return /* reexport */ NavigationMenu; });
-__webpack_require__.d(__webpack_exports__, "__experimentalNavigatorProvider", function() { return /* reexport */ navigator_provider_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalNavigatorScreen", function() { return /* reexport */ navigator_screen_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseNavigator", function() { return /* reexport */ use_navigator; });
-__webpack_require__.d(__webpack_exports__, "Notice", function() { return /* reexport */ build_module_notice; });
-__webpack_require__.d(__webpack_exports__, "__experimentalNumberControl", function() { return /* reexport */ number_control; });
-__webpack_require__.d(__webpack_exports__, "NoticeList", function() { return /* reexport */ notice_list; });
-__webpack_require__.d(__webpack_exports__, "Panel", function() { return /* reexport */ panel; });
-__webpack_require__.d(__webpack_exports__, "PanelBody", function() { return /* reexport */ panel_body; });
-__webpack_require__.d(__webpack_exports__, "PanelHeader", function() { return /* reexport */ panel_header; });
-__webpack_require__.d(__webpack_exports__, "PanelRow", function() { return /* reexport */ panel_row; });
-__webpack_require__.d(__webpack_exports__, "Placeholder", function() { return /* reexport */ build_module_placeholder; });
-__webpack_require__.d(__webpack_exports__, "Popover", function() { return /* reexport */ build_module_popover["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "QueryControls", function() { return /* reexport */ QueryControls; });
-__webpack_require__.d(__webpack_exports__, "__experimentalRadio", function() { return /* reexport */ build_module_radio; });
-__webpack_require__.d(__webpack_exports__, "__experimentalRadioGroup", function() { return /* reexport */ radio_group; });
-__webpack_require__.d(__webpack_exports__, "RadioControl", function() { return /* reexport */ RadioControl; });
-__webpack_require__.d(__webpack_exports__, "RangeControl", function() { return /* reexport */ range_control; });
-__webpack_require__.d(__webpack_exports__, "ResizableBox", function() { return /* reexport */ resizable_box; });
-__webpack_require__.d(__webpack_exports__, "ResponsiveWrapper", function() { return /* reexport */ responsive_wrapper; });
-__webpack_require__.d(__webpack_exports__, "SandBox", function() { return /* reexport */ Sandbox; });
-__webpack_require__.d(__webpack_exports__, "SearchControl", function() { return /* reexport */ search_control; });
-__webpack_require__.d(__webpack_exports__, "SelectControl", function() { return /* reexport */ select_control; });
-__webpack_require__.d(__webpack_exports__, "Snackbar", function() { return /* reexport */ snackbar["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "SnackbarList", function() { return /* reexport */ snackbar_list; });
-__webpack_require__.d(__webpack_exports__, "__experimentalSpacer", function() { return /* reexport */ spacer_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalScrollable", function() { return /* reexport */ scrollable_component; });
-__webpack_require__.d(__webpack_exports__, "Spinner", function() { return /* reexport */ Spinner; });
-__webpack_require__.d(__webpack_exports__, "__experimentalSurface", function() { return /* reexport */ surface_component; });
-__webpack_require__.d(__webpack_exports__, "TabPanel", function() { return /* reexport */ TabPanel; });
-__webpack_require__.d(__webpack_exports__, "__experimentalText", function() { return /* reexport */ text_component; });
-__webpack_require__.d(__webpack_exports__, "TextControl", function() { return /* reexport */ text_control; });
-__webpack_require__.d(__webpack_exports__, "TextareaControl", function() { return /* reexport */ TextareaControl; });
-__webpack_require__.d(__webpack_exports__, "TextHighlight", function() { return /* reexport */ text_highlight; });
-__webpack_require__.d(__webpack_exports__, "Tip", function() { return /* reexport */ tip; });
-__webpack_require__.d(__webpack_exports__, "ToggleControl", function() { return /* reexport */ ToggleControl; });
-__webpack_require__.d(__webpack_exports__, "__experimentalToggleGroupControl", function() { return /* reexport */ toggle_group_control_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalToggleGroupControlOption", function() { return /* reexport */ toggle_group_control_option_component; });
-__webpack_require__.d(__webpack_exports__, "Toolbar", function() { return /* reexport */ toolbar; });
-__webpack_require__.d(__webpack_exports__, "ToolbarButton", function() { return /* reexport */ toolbar_button; });
-__webpack_require__.d(__webpack_exports__, "ToolbarDropdownMenu", function() { return /* reexport */ toolbar_dropdown_menu; });
-__webpack_require__.d(__webpack_exports__, "__experimentalToolbarContext", function() { return /* reexport */ toolbar_context["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "ToolbarGroup", function() { return /* reexport */ toolbar_group; });
-__webpack_require__.d(__webpack_exports__, "ToolbarItem", function() { return /* reexport */ toolbar_item["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalToolsPanel", function() { return /* reexport */ tools_panel_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalToolsPanelItem", function() { return /* reexport */ tools_panel_item_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalToolsPanelContext", function() { return /* reexport */ ToolsPanelContext; });
-__webpack_require__.d(__webpack_exports__, "Tooltip", function() { return /* reexport */ build_module_tooltip["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalTreeGrid", function() { return /* reexport */ tree_grid; });
-__webpack_require__.d(__webpack_exports__, "__experimentalTreeGridRow", function() { return /* reexport */ tree_grid_row; });
-__webpack_require__.d(__webpack_exports__, "__experimentalTreeGridCell", function() { return /* reexport */ tree_grid_cell; });
-__webpack_require__.d(__webpack_exports__, "__experimentalTreeGridItem", function() { return /* reexport */ tree_grid_item; });
-__webpack_require__.d(__webpack_exports__, "TreeSelect", function() { return /* reexport */ TreeSelect; });
-__webpack_require__.d(__webpack_exports__, "__experimentalTruncate", function() { return /* reexport */ truncate_component; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUnitControl", function() { return /* reexport */ unit_control; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseCustomUnits", function() { return /* reexport */ useCustomUnits; });
-__webpack_require__.d(__webpack_exports__, "__experimentalParseUnit", function() { return /* reexport */ parseUnit; });
-__webpack_require__.d(__webpack_exports__, "__experimentalView", function() { return /* reexport */ view_component["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "VisuallyHidden", function() { return /* reexport */ component["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalVStack", function() { return /* reexport */ v_stack_component; });
-__webpack_require__.d(__webpack_exports__, "IsolatedEventContainer", function() { return /* reexport */ isolated_event_container; });
-__webpack_require__.d(__webpack_exports__, "createSlotFill", function() { return /* reexport */ slot_fill["d" /* createSlotFill */]; });
-__webpack_require__.d(__webpack_exports__, "Slot", function() { return /* reexport */ slot_fill["c" /* Slot */]; });
-__webpack_require__.d(__webpack_exports__, "Fill", function() { return /* reexport */ slot_fill["a" /* Fill */]; });
-__webpack_require__.d(__webpack_exports__, "SlotFillProvider", function() { return /* reexport */ slot_fill["b" /* Provider */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseSlot", function() { return /* reexport */ use_slot["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "__experimentalStyleProvider", function() { return /* reexport */ StyleProvider; });
-__webpack_require__.d(__webpack_exports__, "__experimentalZStack", function() { return /* reexport */ z_stack_component; });
-__webpack_require__.d(__webpack_exports__, "navigateRegions", function() { return /* reexport */ navigate_regions; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseNavigateRegions", function() { return /* reexport */ useNavigateRegions; });
-__webpack_require__.d(__webpack_exports__, "withConstrainedTabbing", function() { return /* reexport */ with_constrained_tabbing; });
-__webpack_require__.d(__webpack_exports__, "withFallbackStyles", function() { return /* reexport */ with_fallback_styles; });
-__webpack_require__.d(__webpack_exports__, "withFilters", function() { return /* reexport */ withFilters; });
-__webpack_require__.d(__webpack_exports__, "withFocusOutside", function() { return /* reexport */ with_focus_outside; });
-__webpack_require__.d(__webpack_exports__, "withFocusReturn", function() { return /* reexport */ with_focus_return; });
-__webpack_require__.d(__webpack_exports__, "FocusReturnProvider", function() { return /* reexport */ with_focus_return_Provider; });
-__webpack_require__.d(__webpack_exports__, "withNotices", function() { return /* reexport */ with_notices; });
-__webpack_require__.d(__webpack_exports__, "withSpokenMessages", function() { return /* reexport */ with_spoken_messages; });

-// NAMESPACE OBJECT: ./node_modules/@wordpress/components/build-module/text/styles.js
-var text_styles_namespaceObject = {};
-__webpack_require__.r(text_styles_namespaceObject);
-__webpack_require__.d(text_styles_namespaceObject, "Text", function() { return Text; });
-__webpack_require__.d(text_styles_namespaceObject, "block", function() { return styles_block; });
-__webpack_require__.d(text_styles_namespaceObject, "positive", function() { return positive; });
-__webpack_require__.d(text_styles_namespaceObject, "destructive", function() { return destructive; });
-__webpack_require__.d(text_styles_namespaceObject, "muted", function() { return styles_muted; });
-__webpack_require__.d(text_styles_namespaceObject, "highlighterText", function() { return highlighterText; });
-__webpack_require__.d(text_styles_namespaceObject, "upperCase", function() { return styles_upperCase; });
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = getCalendarMonthWidth;
+function getCalendarMonthWidth(daySize, calendarMonthPadding) {
+  return 7 * daySize + 2 * calendarMonthPadding + 1;
+}

-// NAMESPACE OBJECT: ./node_modules/@wordpress/components/build-module/ui/tooltip/styles.js
-var tooltip_styles_namespaceObject = {};
-__webpack_require__.r(tooltip_styles_namespaceObject);
-__webpack_require__.d(tooltip_styles_namespaceObject, "TooltipContent", function() { return TooltipContent; });
-__webpack_require__.d(tooltip_styles_namespaceObject, "TooltipPopoverView", function() { return TooltipPopoverView; });
-__webpack_require__.d(tooltip_styles_namespaceObject, "noOutline", function() { return noOutline; });
-__webpack_require__.d(tooltip_styles_namespaceObject, "TooltipShortcut", function() { return TooltipShortcut; });
+/***/ }),

-// NAMESPACE OBJECT: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control-option/styles.js
-var toggle_group_control_option_styles_namespaceObject = {};
-__webpack_require__.r(toggle_group_control_option_styles_namespaceObject);
-__webpack_require__.d(toggle_group_control_option_styles_namespaceObject, "LabelView", function() { return LabelView; });
-__webpack_require__.d(toggle_group_control_option_styles_namespaceObject, "labelBlock", function() { return labelBlock; });
-__webpack_require__.d(toggle_group_control_option_styles_namespaceObject, "buttonView", function() { return buttonView; });
-__webpack_require__.d(toggle_group_control_option_styles_namespaceObject, "buttonActive", function() { return buttonActive; });
-__webpack_require__.d(toggle_group_control_option_styles_namespaceObject, "ButtonContentView", function() { return ButtonContentView; });
-__webpack_require__.d(toggle_group_control_option_styles_namespaceObject, "separatorActive", function() { return separatorActive; });
-__webpack_require__.d(toggle_group_control_option_styles_namespaceObject, "LabelPlaceholderView", function() { return LabelPlaceholderView; });
-__webpack_require__.d(toggle_group_control_option_styles_namespaceObject, "medium", function() { return medium; });
+/***/ 4112:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+"use strict";

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = getNumberOfCalendarMonthWeeks;

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+var _moment = __webpack_require__(6292);

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+var _moment2 = _interopRequireDefault(_moment);

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+function getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek) {
+  var weekDayDiff = firstDayOfMonth.day() - firstDayOfWeek;
+  return (weekDayDiff + 7) % 7;
+}

-// EXTERNAL MODULE: ./node_modules/reakit/es/Composite/CompositeItem.js
-var CompositeItem = __webpack_require__("kTC8");
+function getNumberOfCalendarMonthWeeks(month) {
+  var firstDayOfWeek = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _moment2['default'].localeData().firstDayOfWeek();

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/tooltip/index.js
-var build_module_tooltip = __webpack_require__("W/NR");
+  var firstDayOfMonth = month.clone().startOf('month');
+  var numBlankDays = getBlankDaysBeforeFirstDay(firstDayOfMonth, firstDayOfWeek);
+  return Math.ceil((numBlankDays + month.daysInMonth()) / 7);
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/component.js + 1 modules
-var component = __webpack_require__("iSWJ");
+/***/ }),

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/utils.js
-/**
- * External dependencies
- */
+/***/ 7098:
+/***/ (function(__unused_webpack_module, exports) {

-/**
- * WordPress dependencies
- */
+"use strict";


-const GRID = [['top left', 'top center', 'top right'], ['center left', 'center center', 'center right'], ['bottom left', 'bottom center', 'bottom right']]; // Stored as map as i18n __() only accepts strings (not variables)
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = getPhrase;
+function getPhrase(phrase, args) {
+  if (typeof phrase === 'string') return phrase;

-const ALIGNMENT_LABEL = {
-  'top left': Object(external_wp_i18n_["__"])('Top Left'),
-  'top center': Object(external_wp_i18n_["__"])('Top Center'),
-  'top right': Object(external_wp_i18n_["__"])('Top Right'),
-  'center left': Object(external_wp_i18n_["__"])('Center Left'),
-  'center center': Object(external_wp_i18n_["__"])('Center Center'),
-  'center right': Object(external_wp_i18n_["__"])('Center Right'),
-  'bottom left': Object(external_wp_i18n_["__"])('Bottom Left'),
-  'bottom center': Object(external_wp_i18n_["__"])('Bottom Center'),
-  'bottom right': Object(external_wp_i18n_["__"])('Bottom Right')
-}; // Transforms GRID into a flat Array of values
+  if (typeof phrase === 'function') {
+    return phrase(args);
+  }

-const ALIGNMENTS = Object(external_lodash_["flattenDeep"])(GRID);
-/**
- * Parses and transforms an incoming value to better match the alignment values
- *
- * @param {string} value An alignment value to parse.
- *
- * @return {string} The parsed value.
- */
-
-function transformValue(value) {
-  const nextValue = value === 'center' ? 'center center' : value;
-  return nextValue.replace('-', ' ');
-}
-/**
- * Creates an item ID based on a prefix ID and an alignment value.
- *
- * @param {string} prefixId An ID to prefix.
- * @param {string} value    An alignment value.
- *
- * @return {string} The item id.
- */
-
-function utils_getItemId(prefixId, value) {
-  const valueId = transformValue(value).replace(' ', '-');
-  return `${prefixId}-${valueId}`;
-}
-/**
- * Retrieves the alignment index from a value.
- *
- * @param {string} alignment Value to check.
- *
- * @return {number} The index of a matching alignment.
- */
-
-function getAlignmentIndex() {
-  let alignment = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'center';
-  const item = transformValue(alignment).replace('-', ' ');
-  const index = ALIGNMENTS.indexOf(item);
-  return index > -1 ? index : undefined;
+  return '';
 }

-// EXTERNAL MODULE: ./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js + 1 modules
-var emotion_styled_base_browser_esm = __webpack_require__("DZdY");
-
-// EXTERNAL MODULE: ./node_modules/@emotion/react/dist/emotion-react.browser.esm.js
-var emotion_react_browser_esm = __webpack_require__("AeFk");
+/***/ }),

-// EXTERNAL MODULE: ./node_modules/colord/index.mjs
-var colord = __webpack_require__("fHnH");
+/***/ 2893:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-// EXTERNAL MODULE: ./node_modules/colord/plugins/names.mjs
-var names = __webpack_require__("abaT");
+"use strict";

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/colors.js
-/**
- * External dependencies
- */

+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = getPhrasePropTypes;

-Object(colord["b" /* extend */])([names["a" /* default */]]);
-/**
- * Generating a CSS compliant rgba() color value.
- *
- * @param {string} hexValue The hex value to convert to rgba().
- * @param {number} alpha    The alpha value for opacity.
- * @return {string} The converted rgba() color value.
- *
- * @example
- * rgba( '#000000', 0.5 )
- * // rgba(0, 0, 0, 0.5)
- */
+var _object = __webpack_require__(4011);

-function rgba() {
-  let hexValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
-  let alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
-  return Object(colord["a" /* colord */])(hexValue).alpha(alpha).toRgbString();
-}
+var _object2 = _interopRequireDefault(_object);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/colors-values.js
-/**
- * External dependencies
- */
+var _propTypes = __webpack_require__(2652);

-/**
- * Internal dependencies
- */
+var _propTypes2 = _interopRequireDefault(_propTypes);

+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-const BASE = {
-  black: '#000',
-  white: '#fff'
-};
-/**
- * TODO: Continue to update values as "G2" design evolves.
- *
- * "G2" refers to the movement to advance the interface of the block editor.
- * https://github.com/WordPress/gutenberg/issues/18667
- */
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

-const G2 = {
-  blue: {
-    medium: {
-      focus: '#007cba',
-      focusDark: '#fff'
-    }
-  },
-  gray: {
-    900: '#1e1e1e',
-    700: '#757575',
-    // Meets 4.6:1 text contrast against white.
-    600: '#949494',
-    // Meets 3:1 UI or large text contrast against white.
-    400: '#ccc',
-    200: '#ddd',
-    // Used for most borders.
-    100: '#f0f0f0'
-  },
-  darkGray: {
-    primary: '#1e1e1e',
-    heading: '#050505'
-  },
-  mediumGray: {
-    text: '#757575'
-  },
-  lightGray: {
-    ui: '#949494',
-    secondary: '#ccc',
-    tertiary: '#e7e8e9'
-  }
-};
-const DARK_GRAY = {
-  900: '#191e23',
-  800: '#23282d',
-  700: '#32373c',
-  600: '#40464d',
-  500: '#555d66',
-  // Use this most of the time for dark items.
-  400: '#606a73',
-  300: '#6c7781',
-  // Lightest gray that can be used for AA text contrast.
-  200: '#7e8993',
-  150: '#8d96a0',
-  // Lightest gray that can be used for AA non-text contrast.
-  100: '#8f98a1',
-  placeholder: rgba(G2.gray[900], 0.62)
-};
-const DARK_OPACITY = {
-  900: rgba('#000510', 0.9),
-  800: rgba('#00000a', 0.85),
-  700: rgba('#06060b', 0.8),
-  600: rgba('#000913', 0.75),
-  500: rgba('#0a1829', 0.7),
-  400: rgba('#0a1829', 0.65),
-  300: rgba('#0e1c2e', 0.62),
-  200: rgba('#162435', 0.55),
-  100: rgba('#223443', 0.5),
-  backgroundFill: rgba(DARK_GRAY[700], 0.7)
-};
-const DARK_OPACITY_LIGHT = {
-  900: rgba('#304455', 0.45),
-  800: rgba('#425863', 0.4),
-  700: rgba('#667886', 0.35),
-  600: rgba('#7b86a2', 0.3),
-  500: rgba('#9197a2', 0.25),
-  400: rgba('#95959c', 0.2),
-  300: rgba('#829493', 0.15),
-  200: rgba('#8b8b96', 0.1),
-  100: rgba('#747474', 0.05)
-};
-const LIGHT_GRAY = {
-  900: '#a2aab2',
-  800: '#b5bcc2',
-  700: '#ccd0d4',
-  600: '#d7dade',
-  500: '#e2e4e7',
-  // Good for "grayed" items and borders.
-  400: '#e8eaeb',
-  // Good for "readonly" input fields and special text selection.
-  300: '#edeff0',
-  200: '#f3f4f5',
-  100: '#f8f9f9',
-  placeholder: rgba(BASE.white, 0.65)
-};
-const LIGHT_OPACITY_LIGHT = {
-  900: rgba(BASE.white, 0.5),
-  800: rgba(BASE.white, 0.45),
-  700: rgba(BASE.white, 0.4),
-  600: rgba(BASE.white, 0.35),
-  500: rgba(BASE.white, 0.3),
-  400: rgba(BASE.white, 0.25),
-  300: rgba(BASE.white, 0.2),
-  200: rgba(BASE.white, 0.15),
-  100: rgba(BASE.white, 0.1),
-  backgroundFill: rgba(LIGHT_GRAY[300], 0.8)
-}; // Additional colors.
-// Some are from https://make.wordpress.org/design/handbook/foundations/colors/.
+function getPhrasePropTypes(defaultPhrases) {
+  return Object.keys(defaultPhrases).reduce(function (phrases, key) {
+    return (0, _object2['default'])({}, phrases, _defineProperty({}, key, _propTypes2['default'].oneOfType([_propTypes2['default'].string, _propTypes2['default'].func, _propTypes2['default'].node])));
+  }, {});
+}

-const BLUE = {
-  wordpress: {
-    700: '#00669b'
-  },
-  dark: {
-    900: '#0071a1'
-  },
-  medium: {
-    900: '#006589',
-    800: '#00739c',
-    700: '#007fac',
-    600: '#008dbe',
-    500: '#00a0d2',
-    400: '#33b3db',
-    300: '#66c6e4',
-    200: '#bfe7f3',
-    100: '#e5f5fa',
-    highlight: '#b3e7fe',
-    focus: '#007cba'
-  }
-};
-const ALERT = {
-  yellow: '#f0b849',
-  red: '#d94f4f',
-  green: '#4ab866'
-};
-const ADMIN = {
-  theme: `var( --wp-admin-theme-color, ${BLUE.wordpress[700]})`,
-  themeDark10: `var( --wp-admin-theme-color-darker-10, ${BLUE.medium.focus})`
-}; // Namespaced values for raw colors hex codes
+/***/ }),

-const UI = {
-  theme: ADMIN.theme,
-  background: BASE.white,
-  backgroundDisabled: LIGHT_GRAY[200],
-  border: G2.gray[700],
-  borderHover: G2.gray[700],
-  borderFocus: ADMIN.themeDark10,
-  borderDisabled: G2.gray[400],
-  borderLight: G2.gray[200],
-  label: DARK_GRAY[500],
-  textDisabled: DARK_GRAY[150],
-  textDark: BASE.white,
-  textLight: BASE.black
-};
-const COLORS = { ...BASE,
-  darkGray: Object(external_lodash_["merge"])({}, DARK_GRAY, G2.darkGray),
-  darkOpacity: DARK_OPACITY,
-  darkOpacityLight: DARK_OPACITY_LIGHT,
-  mediumGray: G2.mediumGray,
-  gray: G2.gray,
-  lightGray: Object(external_lodash_["merge"])({}, LIGHT_GRAY, G2.lightGray),
-  lightGrayLight: LIGHT_OPACITY_LIGHT,
-  blue: Object(external_lodash_["merge"])({}, BLUE, G2.blue),
-  alert: ALERT,
-  admin: ADMIN,
-  ui: UI
-};
-/* harmony default export */ var colors_values = (COLORS);
+/***/ 8304:
+/***/ (function(__unused_webpack_module, exports) {

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/reduce-motion.js
-/**
- * Allows users to opt-out of animations via OS-level preferences.
- *
- * @param {'transition' | 'animation' | string} [prop='transition'] CSS Property name
- * @return {string} Generated CSS code for the reduced style
- */
-function reduceMotion() {
-  let prop = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'transition';
-  let style;
+"use strict";

-  switch (prop) {
-    case 'transition':
-      style = 'transition-duration: 0ms;';
-      break;

-    case 'animation':
-      style = 'animation-duration: 1ms;';
-      break;
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = getTransformStyles;
+function getTransformStyles(transformValue) {
+  return {
+    transform: transformValue,
+    msTransform: transformValue,
+    MozTransform: transformValue,
+    WebkitTransform: transformValue
+  };
+}

-    default:
-      style = `
-				animation-duration: 1ms;
-				transition-duration: 0ms;
-			`;
-  }
+/***/ }),

-  return `
-		@media ( prefers-reduced-motion: reduce ) {
-			${style};
-		}
-	`;
-}
+/***/ 3268:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/styles/alignment-matrix-control-styles.js
+"use strict";


-function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = getVisibleDays;

-/**
- * External dependencies
- */
+var _moment = __webpack_require__(6292);

-/**
- * Internal dependencies
- */
+var _moment2 = _interopRequireDefault(_moment);

+var _toISOMonthString = __webpack_require__(2705);

+var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString);

-var alignment_matrix_control_styles_ref =  true ? {
-  name: "lp9rn7",
-  styles: "border-radius:2px;box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr );outline:none"
-} : undefined;
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-const rootBase = () => {
-  return alignment_matrix_control_styles_ref;
-};
+function getVisibleDays(month, numberOfMonths, enableOutsideDays, withoutTransitionMonths) {
+  if (!_moment2['default'].isMoment(month)) return {};

-const rootSize = _ref2 => {
-  let {
-    size = 92
-  } = _ref2;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("grid-template-rows:repeat( 3, calc( ", size, "px / 3 ) );width:", size, "px;" + ( true ? "" : undefined),  true ? "" : undefined);
-};
+  var visibleDaysByMonth = {};
+  var currentMonth = withoutTransitionMonths ? month.clone() : month.clone().subtract(1, 'month');
+  for (var i = 0; i < (withoutTransitionMonths ? numberOfMonths : numberOfMonths + 2); i += 1) {
+    var visibleDays = [];

-const Root = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1od1u4s3"
-} : undefined)(rootBase, ";border:1px solid transparent;cursor:pointer;grid-template-columns:auto;", rootSize, ";" + ( true ? "" : undefined));
-const Row = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1od1u4s2"
-} : undefined)( true ? {
-  name: "1x5gbbj",
-  styles: "box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr )"
-} : undefined);
+    // set utc offset to get correct dates in future (when timezone changes)
+    var baseDate = currentMonth.clone();
+    var firstOfMonth = baseDate.clone().startOf('month').hour(12);
+    var lastOfMonth = baseDate.clone().endOf('month').hour(12);

-const pointActive = _ref3 => {
-  let {
-    isActive
-  } = _ref3;
-  const boxShadow = isActive ? `0 0 0 2px ${COLORS.black}` : null;
-  const pointColor = isActive ? COLORS.black : COLORS.lightGray[800];
-  const pointColorHover = isActive ? COLORS.black : COLORS.blue.medium.focus;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("box-shadow:", boxShadow, ";color:", pointColor, ";*:hover>&{color:", pointColorHover, ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-};
+    var currentDay = firstOfMonth.clone();

-const pointBase = props => {
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background:currentColor;box-sizing:border-box;display:grid;margin:auto;transition:all 120ms linear;", reduceMotion('transition'), " ", pointActive(props), ";" + ( true ? "" : undefined),  true ? "" : undefined);
-};
-const Point = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "e1od1u4s1"
-} : undefined)("height:6px;width:6px;", pointBase, ";" + ( true ? "" : undefined));
-const Cell = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "e1od1u4s0"
-} : undefined)( true ? {
-  name: "rjf3ub",
-  styles: "appearance:none;border:none;box-sizing:border-box;margin:0;display:flex;position:relative;outline:none;align-items:center;justify-content:center;padding:0"
-} : undefined);
+    // days belonging to the previous month
+    if (enableOutsideDays) {
+      for (var j = 0; j < currentDay.weekday(); j += 1) {
+        var prevDay = currentDay.clone().subtract(j + 1, 'day');
+        visibleDays.unshift(prevDay);
+      }
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/cell.js
+    while (currentDay < lastOfMonth) {
+      visibleDays.push(currentDay.clone());
+      currentDay.add(1, 'day');
+    }

+    if (enableOutsideDays) {
+      // weekday() returns the index of the day of the week according to the locale
+      // this means if the week starts on Monday, weekday() will return 0 for a Monday date, not 1
+      if (currentDay.weekday() !== 0) {
+        // days belonging to the next month
+        for (var k = currentDay.weekday(), count = 0; k < 7; k += 1, count += 1) {
+          var nextDay = currentDay.clone().add(count, 'day');
+          visibleDays.push(nextDay);
+        }
+      }
+    }

+    visibleDaysByMonth[(0, _toISOMonthString2['default'])(currentMonth)] = visibleDays;
+    currentMonth = currentMonth.clone().add(1, 'month');
+  }

-/**
- * Internal dependencies
- */
+  return visibleDaysByMonth;
+}

+/***/ }),

+/***/ 7365:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-/**
- * Internal dependencies
- */
+"use strict";


+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = isAfterDay;

-function cell_Cell(_ref) {
-  let {
-    isActive = false,
-    value,
-    ...props
-  } = _ref;
-  const tooltipText = ALIGNMENT_LABEL[value];
-  return Object(external_wp_element_["createElement"])(build_module_tooltip["a" /* default */], {
-    text: tooltipText
-  }, Object(external_wp_element_["createElement"])(CompositeItem["a" /* CompositeItem */], Object(esm_extends["a" /* default */])({
-    as: Cell,
-    role: "gridcell"
-  }, props), Object(external_wp_element_["createElement"])(component["a" /* default */], null, value), Object(external_wp_element_["createElement"])(Point, {
-    isActive: isActive,
-    role: "presentation"
-  })));
-}
+var _moment = __webpack_require__(6292);

-// EXTERNAL MODULE: ./node_modules/reakit/es/_rollupPluginBabelHelpers-1f0bf8c2.js
-var _rollupPluginBabelHelpers_1f0bf8c2 = __webpack_require__("BZp5");
+var _moment2 = _interopRequireDefault(_moment);

-// EXTERNAL MODULE: external "React"
-var external_React_ = __webpack_require__("cDcd");
-var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
+var _isBeforeDay = __webpack_require__(862);

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/useIsomorphicEffect.js
-var useIsomorphicEffect = __webpack_require__("AXvK");
+var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay);

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useSealedState.js
+var _isSameDay = __webpack_require__(3923);

+var _isSameDay2 = _interopRequireDefault(_isSameDay);

-/**
- * React custom hook that returns the very first value passed to `initialState`,
- * even if it changes between re-renders.
- */
-function useSealedState(initialState) {
-  var _React$useState = Object(external_React_["useState"])(initialState),
-      sealed = _React$useState[0];
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  return sealed;
+function isAfterDay(a, b) {
+  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
+  return !(0, _isBeforeDay2['default'])(a, b) && !(0, _isSameDay2['default'])(a, b);
 }

+/***/ }),

+/***/ 862:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/getDocument.js
-var getDocument = __webpack_require__("ouKs");
+"use strict";

-// CONCATENATED MODULE: ./node_modules/reakit/es/reverse-30eaa122.js

+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = isBeforeDay;

-function groupItems(items) {
-  var groups = [[]];
+var _moment = __webpack_require__(6292);

-  var _loop = function _loop() {
-    var item = _step.value;
-    var group = groups.find(function (g) {
-      return !g[0] || g[0].groupId === item.groupId;
-    });
+var _moment2 = _interopRequireDefault(_moment);

-    if (group) {
-      group.push(item);
-    } else {
-      groups.push([item]);
-    }
-  };
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  for (var _iterator = Object(_rollupPluginBabelHelpers_1f0bf8c2["c" /* b */])(items), _step; !(_step = _iterator()).done;) {
-    _loop();
-  }
+function isBeforeDay(a, b) {
+  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;

-  return groups;
-}
+  var aYear = a.year();
+  var aMonth = a.month();

-function flatten(grid) {
-  var flattened = [];
+  var bYear = b.year();
+  var bMonth = b.month();

-  for (var _iterator = Object(_rollupPluginBabelHelpers_1f0bf8c2["c" /* b */])(grid), _step; !(_step = _iterator()).done;) {
-    var row = _step.value;
-    flattened.push.apply(flattened, row);
-  }
+  var isSameYear = aYear === bYear;
+  var isSameMonth = aMonth === bMonth;

-  return flattened;
+  if (isSameYear && isSameMonth) return a.date() < b.date();
+  if (isSameYear) return aMonth < bMonth;
+  return aYear < bYear;
 }

-function reverse(array) {
-  return array.slice().reverse();
-}
+/***/ }),

+/***/ 5713:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

+"use strict";

-// EXTERNAL MODULE: ./node_modules/reakit/es/getCurrentId-5aa9849e.js
-var getCurrentId_5aa9849e = __webpack_require__("iYXd");

-// CONCATENATED MODULE: ./node_modules/reakit/es/findEnabledItemById-8ddca752.js
-function findEnabledItemById(items, id) {
-  if (!id) return undefined;
-  return items === null || items === void 0 ? void 0 : items.find(function (item) {
-    return item.id === id && !item.disabled;
-  });
-}
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = isDayVisible;

+var _isBeforeDay = __webpack_require__(862);

+var _isBeforeDay2 = _interopRequireDefault(_isBeforeDay);

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/applyState.js
-function isUpdater(argument) {
-  return typeof argument === "function";
-}
-/**
- * Receives a `setState` argument and calls it with `currentValue` if it's a
- * function. Otherwise return the argument as the new value.
- *
- * @example
- * import { applyState } from "reakit-utils";
- *
- * applyState((value) => value + 1, 1); // 2
- * applyState(2, 1); // 2
- */
+var _isAfterDay = __webpack_require__(7365);

+var _isAfterDay2 = _interopRequireDefault(_isAfterDay);

-function applyState(argument, currentValue) {
-  if (isUpdater(argument)) {
-    return argument(currentValue);
-  }
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  return argument;
-}
+function isDayVisible(day, month, numberOfMonths, enableOutsideDays) {
+  var firstDayOfFirstMonth = month.clone().startOf('month');
+  if (enableOutsideDays) firstDayOfFirstMonth = firstDayOfFirstMonth.startOf('week');
+  if ((0, _isBeforeDay2['default'])(day, firstDayOfFirstMonth)) return false;

+  var lastDayOfLastMonth = month.clone().add(numberOfMonths - 1, 'months').endOf('month');
+  if (enableOutsideDays) lastDayOfLastMonth = lastDayOfLastMonth.endOf('week');
+  return !(0, _isAfterDay2['default'])(day, lastDayOfLastMonth);
+}

+/***/ }),

-// EXTERNAL MODULE: ./node_modules/reakit/es/Id/IdProvider.js
-var IdProvider = __webpack_require__("KCH1");
+/***/ 1310:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/reakit/es/Id/IdState.js
+"use strict";


+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = isNextMonth;

+var _moment = __webpack_require__(6292);

-function unstable_useIdState(initialState) {
-  if (initialState === void 0) {
-    initialState = {};
-  }
+var _moment2 = _interopRequireDefault(_moment);

-  var _useSealedState = useSealedState(initialState),
-      initialBaseId = _useSealedState.baseId;
+var _isSameMonth = __webpack_require__(4669);

-  var generateId = Object(external_React_["useContext"])(IdProvider["a" /* unstable_IdContext */]);
-  var idCountRef = Object(external_React_["useRef"])(0);
+var _isSameMonth2 = _interopRequireDefault(_isSameMonth);

-  var _React$useState = Object(external_React_["useState"])(function () {
-    return initialBaseId || generateId();
-  }),
-      baseId = _React$useState[0],
-      setBaseId = _React$useState[1];
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  return {
-    baseId: baseId,
-    setBaseId: setBaseId,
-    unstable_idCountRef: idCountRef
-  };
+function isNextMonth(a, b) {
+  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
+  return (0, _isSameMonth2['default'])(a.clone().add(1, 'month'), b);
 }

+/***/ }),

+/***/ 3858:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/reakit/es/Composite/CompositeState.js
-
+"use strict";


+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = isPrevMonth;

+var _moment = __webpack_require__(6292);

+var _moment2 = _interopRequireDefault(_moment);

+var _isSameMonth = __webpack_require__(4669);

+var _isSameMonth2 = _interopRequireDefault(_isSameMonth);

+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

+function isPrevMonth(a, b) {
+  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
+  return (0, _isSameMonth2['default'])(a.clone().subtract(1, 'month'), b);
+}

+/***/ }),

+/***/ 3923:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-function isElementPreceding(element1, element2) {
-  return Boolean(element2.compareDocumentPosition(element1) & Node.DOCUMENT_POSITION_PRECEDING);
-}
+"use strict";

-function findDOMIndex(items, item) {
-  return items.findIndex(function (currentItem) {
-    if (!currentItem.ref.current || !item.ref.current) {
-      return false;
-    }

-    return isElementPreceding(item.ref.current, currentItem.ref.current);
-  });
-}
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = isSameDay;

-function getMaxLength(rows) {
-  var maxLength = 0;
+var _moment = __webpack_require__(6292);

-  for (var _iterator = Object(_rollupPluginBabelHelpers_1f0bf8c2["c" /* b */])(rows), _step; !(_step = _iterator()).done;) {
-    var length = _step.value.length;
+var _moment2 = _interopRequireDefault(_moment);

-    if (length > maxLength) {
-      maxLength = length;
-    }
-  }
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  return maxLength;
+function isSameDay(a, b) {
+  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
+  // Compare least significant, most likely to change units first
+  // Moment's isSame clones moment inputs and is a tad slow
+  return a.date() === b.date() && a.month() === b.month() && a.year() === b.year();
 }

-/**
- * Turns [row1, row1, row2, row2] into [row1, row2, row1, row2]
- */
+/***/ }),

-function verticalizeItems(items) {
-  var groups = groupItems(items);
-  var maxLength = getMaxLength(groups);
-  var verticalized = [];
+/***/ 4669:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-  for (var i = 0; i < maxLength; i += 1) {
-    for (var _iterator = Object(_rollupPluginBabelHelpers_1f0bf8c2["c" /* b */])(groups), _step; !(_step = _iterator()).done;) {
-      var group = _step.value;
+"use strict";

-      if (group[i]) {
-        verticalized.push(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, group[i]), {}, {
-          // If there's no groupId, it means that it's not a grid composite,
-          // but a single row instead. So, instead of verticalizing it, that
-          // is, assigning a different groupId based on the column index, we
-          // keep it undefined so they will be part of the same group.
-          // It's useful when using up/down on one-dimensional composites.
-          groupId: group[i].groupId ? "" + i : undefined
-        }));
-      }
-    }
-  }

-  return verticalized;
-}
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = isSameMonth;

-function createEmptyItem(groupId) {
-  return {
-    id: "__EMPTY_ITEM__",
-    disabled: true,
-    ref: {
-      current: null
-    },
-    groupId: groupId
-  };
-}
-/**
- * Turns [[row1, row1], [row2]] into [[row1, row1], [row2, row2]]
- */
+var _moment = __webpack_require__(6292);

+var _moment2 = _interopRequireDefault(_moment);

-function fillGroups(groups, currentId, shift) {
-  var maxLength = getMaxLength(groups);
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  for (var _iterator = Object(_rollupPluginBabelHelpers_1f0bf8c2["c" /* b */])(groups), _step; !(_step = _iterator()).done;) {
-    var group = _step.value;
+function isSameMonth(a, b) {
+  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
+  // Compare least significant, most likely to change units first
+  // Moment's isSame clones moment inputs and is a tad slow
+  return a.month() === b.month() && a.year() === b.year();
+}

-    for (var i = 0; i < maxLength; i += 1) {
-      var item = group[i];
+/***/ }),

-      if (!item || shift && item.disabled) {
-        var isFrist = i === 0;
-        var previousItem = isFrist && shift ? Object(getCurrentId_5aa9849e["a" /* f */])(group) : group[i - 1];
-        group[i] = previousItem && currentId !== (previousItem === null || previousItem === void 0 ? void 0 : previousItem.id) && shift ? previousItem : createEmptyItem(previousItem === null || previousItem === void 0 ? void 0 : previousItem.groupId);
-      }
-    }
-  }
+/***/ 7978:
+/***/ (function(__unused_webpack_module, exports) {

-  return groups;
-}
+"use strict";

-var nullItem = {
-  id: null,
-  ref: {
-    current: null
-  }
-};
-function placeItemsAfter(items, id, shouldInsertNullItem) {
-  var index = items.findIndex(function (item) {
-    return item.id === id;
-  });
-  return [].concat(items.slice(index + 1), shouldInsertNullItem ? [nullItem] : [], items.slice(0, index));
-}

-function getItemsInGroup(items, groupId) {
-  return items.filter(function (item) {
-    return item.groupId === groupId;
-  });
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = isTransitionEndSupported;
+function isTransitionEndSupported() {
+  return !!(typeof window !== 'undefined' && 'TransitionEvent' in window);
 }

-var map = {
-  horizontal: "vertical",
-  vertical: "horizontal"
-};
-function getOppositeOrientation(orientation) {
-  return orientation && map[orientation];
-}
+/***/ }),

-function addItemAtIndex(array, item, index) {
-  if (!(index in array)) {
-    return [].concat(array, [item]);
-  }
+/***/ 9305:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-  return [].concat(array.slice(0, index), [item], array.slice(index));
-}
+"use strict";

-function sortBasedOnDOMPosition(items) {
-  var pairs = items.map(function (item, index) {
-    return [index, item];
-  });
-  var isOrderDifferent = false;
-  pairs.sort(function (_ref, _ref2) {
-    var indexA = _ref[0],
-        a = _ref[1];
-    var indexB = _ref2[0],
-        b = _ref2[1];
-    var elementA = a.ref.current;
-    var elementB = b.ref.current;
-    if (!elementA || !elementB) return 0; // a before b

-    if (isElementPreceding(elementA, elementB)) {
-      if (indexA > indexB) {
-        isOrderDifferent = true;
-      }
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = registerCSSInterfaceWithDefaultTheme;

-      return -1;
-    } // a after b
+var _reactWithStylesInterfaceCss = __webpack_require__(5553);

+var _reactWithStylesInterfaceCss2 = _interopRequireDefault(_reactWithStylesInterfaceCss);

-    if (indexA < indexB) {
-      isOrderDifferent = true;
-    }
+var _registerInterfaceWithDefaultTheme = __webpack_require__(1980);

-    return 1;
-  });
+var _registerInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerInterfaceWithDefaultTheme);

-  if (isOrderDifferent) {
-    return pairs.map(function (_ref3) {
-      var _ = _ref3[0],
-          item = _ref3[1];
-      return item;
-    });
-  }
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  return items;
+function registerCSSInterfaceWithDefaultTheme() {
+  (0, _registerInterfaceWithDefaultTheme2['default'])(_reactWithStylesInterfaceCss2['default']);
 }

-function setItemsBasedOnDOMPosition(items, setItems) {
-  var sortedItems = sortBasedOnDOMPosition(items);
+/***/ }),

-  if (items !== sortedItems) {
-    setItems(sortedItems);
-  }
-}
+/***/ 1980:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-function getCommonParent(items) {
-  var _firstItem$ref$curren;
+"use strict";

-  var firstItem = items[0],
-      nextItems = items.slice(1);
-  var parentElement = firstItem === null || firstItem === void 0 ? void 0 : (_firstItem$ref$curren = firstItem.ref.current) === null || _firstItem$ref$curren === void 0 ? void 0 : _firstItem$ref$curren.parentElement;

-  var _loop = function _loop() {
-    var parent = parentElement;
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = registerInterfaceWithDefaultTheme;

-    if (nextItems.every(function (item) {
-      return parent.contains(item.ref.current);
-    })) {
-      return {
-        v: parentElement
-      };
-    }
+var _ThemedStyleSheet = __webpack_require__(9349);

-    parentElement = parentElement.parentElement;
-  };
+var _ThemedStyleSheet2 = _interopRequireDefault(_ThemedStyleSheet);

-  while (parentElement) {
-    var _ret = _loop();
+var _DefaultTheme = __webpack_require__(8158);

-    if (typeof _ret === "object") return _ret.v;
-  }
+var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme);

-  return Object(getDocument["a" /* getDocument */])(parentElement).body;
-} // istanbul ignore next: JSDOM doesn't support IntersectionObverser
-// See https://github.com/jsdom/jsdom/issues/2032
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

+function registerInterfaceWithDefaultTheme(reactWithStylesInterface) {
+  _ThemedStyleSheet2['default'].registerInterface(reactWithStylesInterface);
+  _ThemedStyleSheet2['default'].registerTheme(_DefaultTheme2['default']);
+}

-function useIntersectionObserver(items, setItems) {
-  var previousItems = Object(external_React_["useRef"])([]);
-  Object(external_React_["useEffect"])(function () {
-    var callback = function callback() {
-      var hasPreviousItems = !!previousItems.current.length; // We don't want to sort items if items have been just registered.
+/***/ }),

-      if (hasPreviousItems) {
-        setItemsBasedOnDOMPosition(items, setItems);
-      }
+/***/ 7310:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-      previousItems.current = items;
-    };
+"use strict";

-    var root = getCommonParent(items);
-    var observer = new IntersectionObserver(callback, {
-      root: root
-    });

-    for (var _iterator = Object(_rollupPluginBabelHelpers_1f0bf8c2["c" /* b */])(items), _step; !(_step = _iterator()).done;) {
-      var item = _step.value;
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = toISODateString;

-      if (item.ref.current) {
-        observer.observe(item.ref.current);
-      }
-    }
+var _moment = __webpack_require__(6292);

-    return function () {
-      observer.disconnect();
-    };
-  }, [items]);
-}
+var _moment2 = _interopRequireDefault(_moment);

-function useTimeoutObserver(items, setItems) {
-  Object(external_React_["useEffect"])(function () {
-    var callback = function callback() {
-      return setItemsBasedOnDOMPosition(items, setItems);
-    };
+var _toMomentObject = __webpack_require__(2008);

-    var timeout = setTimeout(callback, 250);
-    return function () {
-      return clearTimeout(timeout);
-    };
-  });
-}
+var _toMomentObject2 = _interopRequireDefault(_toMomentObject);

-function useSortBasedOnDOMPosition(items, setItems) {
-  if (typeof IntersectionObserver === "function") {
-    useIntersectionObserver(items, setItems);
-  } else {
-    useTimeoutObserver(items, setItems);
-  }
-}
+var _constants = __webpack_require__(257);

-function CompositeState_reducer(state, action) {
-  var virtual = state.unstable_virtual,
-      rtl = state.rtl,
-      orientation = state.orientation,
-      items = state.items,
-      groups = state.groups,
-      currentId = state.currentId,
-      loop = state.loop,
-      wrap = state.wrap,
-      pastIds = state.pastIds,
-      shift = state.shift,
-      moves = state.unstable_moves,
-      includesBaseElement = state.unstable_includesBaseElement,
-      initialVirtual = state.initialVirtual,
-      initialRTL = state.initialRTL,
-      initialOrientation = state.initialOrientation,
-      initialCurrentId = state.initialCurrentId,
-      initialLoop = state.initialLoop,
-      initialWrap = state.initialWrap,
-      initialShift = state.initialShift,
-      hasSetCurrentId = state.hasSetCurrentId;
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-  switch (action.type) {
-    case "registerGroup":
-      {
-        var _group = action.group; // If there are no groups yet, just add it as the first one
+function toISODateString(date, currentFormat) {
+  var dateObj = _moment2['default'].isMoment(date) ? date : (0, _toMomentObject2['default'])(date, currentFormat);
+  if (!dateObj) return null;

-        if (groups.length === 0) {
-          return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-            groups: [_group]
-          });
-        } // Finds the group index based on DOM position
+  return dateObj.format(_constants.ISO_FORMAT);
+}

+/***/ }),

-        var index = findDOMIndex(groups, _group);
-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          groups: addItemAtIndex(groups, _group, index)
-        });
-      }
+/***/ 2705:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-    case "unregisterGroup":
-      {
-        var _id = action.id;
-        var nextGroups = groups.filter(function (group) {
-          return group.id !== _id;
-        }); // The group isn't registered, so do nothing
+"use strict";

-        if (nextGroups.length === groups.length) {
-          return state;
-        }

-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          groups: nextGroups
-        });
-      }
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = toISOMonthString;

-    case "registerItem":
-      {
-        var _item = action.item; // Finds the item group based on the DOM hierarchy
+var _moment = __webpack_require__(6292);

-        var _group2 = groups.find(function (r) {
-          var _r$ref$current;
+var _moment2 = _interopRequireDefault(_moment);

-          return (_r$ref$current = r.ref.current) === null || _r$ref$current === void 0 ? void 0 : _r$ref$current.contains(_item.ref.current);
-        }); // Group will be null if it's a one-dimensional composite
+var _toMomentObject = __webpack_require__(2008);

+var _toMomentObject2 = _interopRequireDefault(_toMomentObject);

-        var nextItem = Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-          groupId: _group2 === null || _group2 === void 0 ? void 0 : _group2.id
-        }, _item);
+var _constants = __webpack_require__(257);

-        var _index = findDOMIndex(items, nextItem);
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-        var nextState = Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          items: addItemAtIndex(items, nextItem, _index)
-        });
+function toISOMonthString(date, currentFormat) {
+  var dateObj = _moment2['default'].isMoment(date) ? date : (0, _toMomentObject2['default'])(date, currentFormat);
+  if (!dateObj) return null;

-        if (!hasSetCurrentId && !moves && initialCurrentId === undefined) {
-          var _findFirstEnabledItem;
+  return dateObj.format(_constants.ISO_MONTH_FORMAT);
+}

-          // Sets currentId to the first enabled item. This runs whenever an item
-          // is registered because the first enabled item may be registered
-          // asynchronously.
-          return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, nextState), {}, {
-            currentId: (_findFirstEnabledItem = Object(getCurrentId_5aa9849e["a" /* f */])(nextState.items)) === null || _findFirstEnabledItem === void 0 ? void 0 : _findFirstEnabledItem.id
-          });
-        }
+/***/ }),

-        return nextState;
-      }
+/***/ 2008:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-    case "unregisterItem":
-      {
-        var _id2 = action.id;
-        var nextItems = items.filter(function (item) {
-          return item.id !== _id2;
-        }); // The item isn't registered, so do nothing
+"use strict";

-        if (nextItems.length === items.length) {
-          return state;
-        } // Filters out the item that is being removed from the pastIds list

+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = toMomentObject;

-        var nextPastIds = pastIds.filter(function (pastId) {
-          return pastId !== _id2;
-        });
+var _moment = __webpack_require__(6292);

-        var _nextState = Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          pastIds: nextPastIds,
-          items: nextItems
-        }); // If the current item is the item that is being removed, focus pastId
+var _moment2 = _interopRequireDefault(_moment);

+var _constants = __webpack_require__(257);

-        if (currentId && currentId === _id2) {
-          var nextId = includesBaseElement ? null : Object(getCurrentId_5aa9849e["b" /* g */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, _nextState), {}, {
-            currentId: nextPastIds[0]
-          }));
-          return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, _nextState), {}, {
-            currentId: nextId
-          });
-        }
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-        return _nextState;
-      }
+function toMomentObject(dateString, customFormat) {
+  var dateFormats = customFormat ? [customFormat, _constants.DISPLAY_FORMAT, _constants.ISO_FORMAT] : [_constants.DISPLAY_FORMAT, _constants.ISO_FORMAT];

-    case "move":
-      {
-        var _id3 = action.id; // move() does nothing
+  var date = (0, _moment2['default'])(dateString, dateFormats, true);
+  return date.isValid() ? date.hour(12) : null;
+}

-        if (_id3 === undefined) {
-          return state;
-        } // Removes the current item and the item that is receiving focus from the
-        // pastIds list
+/***/ }),

+/***/ 4821:
+/***/ (function(__unused_webpack_module, exports) {

-        var filteredPastIds = pastIds.filter(function (pastId) {
-          return pastId !== currentId && pastId !== _id3;
-        }); // If there's a currentId, add it to the pastIds list so it can be focused
-        // if the new item gets removed or disabled
+"use strict";
+/** @license React v16.13.1
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */

-        var _nextPastIds = currentId ? [currentId].concat(filteredPastIds) : filteredPastIds;
+var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
+Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
+function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;
+exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};
+exports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};
+exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;

-        var _nextState2 = Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          pastIds: _nextPastIds
-        }); // move(null) will focus the composite element itself, not an item

+/***/ }),

-        if (_id3 === null) {
-          return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, _nextState2), {}, {
-            unstable_moves: moves + 1,
-            currentId: Object(getCurrentId_5aa9849e["b" /* g */])(_nextState2, _id3)
-          });
-        }
+/***/ 338:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-        var _item2 = findEnabledItemById(items, _id3);
+"use strict";

-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, _nextState2), {}, {
-          unstable_moves: _item2 ? moves + 1 : moves,
-          currentId: Object(getCurrentId_5aa9849e["b" /* g */])(_nextState2, _item2 === null || _item2 === void 0 ? void 0 : _item2.id)
-        });
-      }

-    case "next":
-      {
-        // If there's no item focused, we just move the first one
-        if (currentId == null) {
-          return CompositeState_reducer(state, Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-            type: "first"
-          }));
-        } // RTL doesn't make sense on vertical navigation
+if (true) {
+  module.exports = __webpack_require__(4821);
+} else {}


-        var isHorizontal = orientation !== "vertical";
-        var isRTL = rtl && isHorizontal;
-        var allItems = isRTL ? reverse(items) : items;
-        var currentItem = allItems.find(function (item) {
-          return item.id === currentId;
-        }); // If there's no item focused, we just move the first one
+/***/ }),

-        if (!currentItem) {
-          return CompositeState_reducer(state, Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-            type: "first"
-          }));
-        }
+/***/ 9217:
+/***/ (function(module) {

-        var isGrid = !!currentItem.groupId;
-        var currentIndex = allItems.indexOf(currentItem);
+var messages = {
+  invalidPredicate: '`predicate` must be a function',
+  invalidPropValidator: '`propValidator` must be a function',
+  requiredCore: 'is marked as required',
+  invalidTypeCore: 'Invalid input type',
+  predicateFailureCore: 'Failed to succeed with predicate',
+  anonymousMessage: '<<anonymous>>',
+  baseInvalidMessage: 'Invalid ',
+};

-        var _nextItems = allItems.slice(currentIndex + 1);
+function constructPropValidatorVariations(propValidator) {
+  if (typeof propValidator !== 'function') {
+    throw new Error(messages.invalidPropValidator);
+  }

-        var nextItemsInGroup = getItemsInGroup(_nextItems, currentItem.groupId); // Home, End
+  var requiredPropValidator = propValidator.bind(null, false, null);
+  requiredPropValidator.isRequired = propValidator.bind(null, true, null);

-        if (action.allTheWay) {
-          // We reverse so we can get the last enabled item in the group. If it's
-          // RTL, nextItems and nextItemsInGroup are already reversed and don't
-          // have the items before the current one anymore. So we have to get
-          // items in group again with allItems.
-          var _nextItem2 = Object(getCurrentId_5aa9849e["a" /* f */])(isRTL ? getItemsInGroup(allItems, currentItem.groupId) : reverse(nextItemsInGroup));
+  requiredPropValidator.withPredicate = function predicateApplication(predicate) {
+    if (typeof predicate !== 'function') {
+      throw new Error(messages.invalidPredicate);
+    }
+    var basePropValidator = propValidator.bind(null, false, predicate);
+    basePropValidator.isRequired = propValidator.bind(null, true, predicate);
+    return basePropValidator;
+  };

-          return CompositeState_reducer(state, Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-            type: "move",
-            id: _nextItem2 === null || _nextItem2 === void 0 ? void 0 : _nextItem2.id
-          }));
-        }
+  return requiredPropValidator;
+}

-        var oppositeOrientation = getOppositeOrientation( // If it's a grid and orientation is not set, it's a next/previous
-        // call, which is inherently horizontal. up/down will call next with
-        // orientation set to vertical by default (see below on up/down cases).
-        isGrid ? orientation || "horizontal" : orientation);
-        var canLoop = loop && loop !== oppositeOrientation;
-        var canWrap = isGrid && wrap && wrap !== oppositeOrientation;
-        var hasNullItem = // `previous` and `up` will set action.hasNullItem, but when calling
-        // next directly, hasNullItem will only be true if it's not a grid and
-        // loop is set to true, which means that pressing right or down keys on
-        // grids will never focus the composite element. On one-dimensional
-        // composites that don't loop, pressing right or down keys also doesn't
-        // focus the composite element.
-        action.hasNullItem || !isGrid && canLoop && includesBaseElement;
+function createInvalidRequiredErrorMessage(propName, componentName, value) {
+  return new Error(
+    'The prop `' + propName + '` ' + messages.requiredCore +
+    ' in `' + componentName + '`, but its value is `' + value + '`.'
+  );
+}

-        if (canLoop) {
-          var loopItems = canWrap && !hasNullItem ? allItems : getItemsInGroup(allItems, currentItem.groupId); // Turns [0, 1, current, 3, 4] into [3, 4, 0, 1]
+var independentGuardianValue = -1;

-          var sortedItems = placeItemsAfter(loopItems, currentId, hasNullItem);
+function preValidationRequireCheck(isRequired, componentName, propFullName, propValue) {
+  var isPropValueUndefined = typeof propValue === 'undefined';
+  var isPropValueNull = propValue === null;

-          var _nextItem3 = Object(getCurrentId_5aa9849e["a" /* f */])(sortedItems, currentId);
+  if (isRequired) {
+    if (isPropValueUndefined) {
+      return createInvalidRequiredErrorMessage(propFullName, componentName, 'undefined');
+    } else if (isPropValueNull) {
+      return createInvalidRequiredErrorMessage(propFullName, componentName, 'null');
+    }
+  }

-          return CompositeState_reducer(state, Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-            type: "move",
-            id: _nextItem3 === null || _nextItem3 === void 0 ? void 0 : _nextItem3.id
-          }));
-        }
+  if (isPropValueUndefined || isPropValueNull) {
+    return null;
+  }

-        if (canWrap) {
-          var _nextItem4 = Object(getCurrentId_5aa9849e["a" /* f */])( // We can use nextItems, which contains all the next items, including
-          // items from other groups, to wrap between groups. However, if there
-          // is a null item (the composite element), we'll only use the next
-          // items in the group. So moving next from the last item will focus
-          // the composite element (null). On grid composites, horizontal
-          // navigation never focuses the composite element, only vertical.
-          hasNullItem ? nextItemsInGroup : _nextItems, currentId);
-
-          var _nextId = hasNullItem ? (_nextItem4 === null || _nextItem4 === void 0 ? void 0 : _nextItem4.id) || null : _nextItem4 === null || _nextItem4 === void 0 ? void 0 : _nextItem4.id;
-
-          return CompositeState_reducer(state, Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-            type: "move",
-            id: _nextId
-          }));
-        }
-
-        var _nextItem = Object(getCurrentId_5aa9849e["a" /* f */])(nextItemsInGroup, currentId);
-
-        if (!_nextItem && hasNullItem) {
-          return CompositeState_reducer(state, Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-            type: "move",
-            id: null
-          }));
-        }
+  return independentGuardianValue;
+}

-        return CompositeState_reducer(state, Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-          type: "move",
-          id: _nextItem === null || _nextItem === void 0 ? void 0 : _nextItem.id
-        }));
-      }
+function createMomentChecker(type, typeValidator, validator, momentType) {

-    case "previous":
-      {
-        // If currentId is initially set to null, the composite element will be
-        // focusable while navigating with arrow keys. But, if it's a grid, we
-        // don't want to focus the composite element with horizontal navigation.
-        var _isGrid = !!groups.length;
+  function propValidator(
+    isRequired, // Bound parameter to indicate with the propType is required
+    predicate, // Bound parameter to allow user to add dynamic validation
+    props,
+    propName,
+    componentName,
+    location,
+    propFullName
+  ) {
+    var propValue = props[ propName ];
+    var propType = typeof propValue;

-        var _hasNullItem = !_isGrid && includesBaseElement;
+    componentName = componentName || messages.anonymousMessage;
+    propFullName = propFullName || propName;

-        var _nextState3 = CompositeState_reducer(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          items: reverse(items)
-        }), Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-          type: "next",
-          hasNullItem: _hasNullItem
-        }));
+    var preValidationRequireCheckValue = preValidationRequireCheck(
+      isRequired, componentName, propFullName, propValue
+    );

-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, _nextState3), {}, {
-          items: items
-        });
-      }
+    if (preValidationRequireCheckValue !== independentGuardianValue) {
+      return preValidationRequireCheckValue;
+    }

-    case "down":
-      {
-        var shouldShift = shift && !action.allTheWay; // First, we make sure groups have the same number of items by filling it
-        // with disabled fake items. Then, we reorganize the items list so
-        // [1-1, 1-2, 2-1, 2-2] becomes [1-1, 2-1, 1-2, 2-2].
+    if (typeValidator && !typeValidator(propValue)) {
+      return new Error(
+        messages.invalidTypeCore + ': `' + propName + '` of type `' + propType + '` ' +
+        'supplied to `' + componentName + '`, expected `' + type + '`.'
+      );
+    }

-        var verticalItems = verticalizeItems(flatten(fillGroups(groupItems(items), currentId, shouldShift)));
+    if (!validator(propValue)) {
+      return new Error(
+        messages.baseInvalidMessage + location + ' `' + propName + '` of type `' + propType + '` ' +
+        'supplied to `' + componentName + '`, expected `' + momentType + '`.'
+      );
+    }

-        var _canLoop = loop && loop !== "horizontal"; // Pressing down arrow key will only focus the composite element if loop
-        // is true or vertical.
+    if (predicate && !predicate(propValue)) {
+      var predicateName = predicate.name || messages.anonymousMessage;
+      return new Error(
+        messages.baseInvalidMessage + location + ' `' + propName + '` of type `' + propType + '` ' +
+        'supplied to `' + componentName + '`. ' + messages.predicateFailureCore + ' `' +
+        predicateName + '`.'
+      );
+    }

+    return null;

-        var _hasNullItem2 = _canLoop && includesBaseElement;
+  }

-        var _nextState4 = CompositeState_reducer(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          orientation: "vertical",
-          items: verticalItems
-        }), Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-          type: "next",
-          hasNullItem: _hasNullItem2
-        }));
+  return constructPropValidatorVariations(propValidator);

-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, _nextState4), {}, {
-          orientation: orientation,
-          items: items
-        });
-      }
+}

-    case "up":
-      {
-        var _shouldShift = shift && !action.allTheWay;
+module.exports = {
+  constructPropValidatorVariations: constructPropValidatorVariations,
+  createMomentChecker: createMomentChecker,
+  messages: messages,
+};

-        var _verticalItems = verticalizeItems(reverse(flatten(fillGroups(groupItems(items), currentId, _shouldShift)))); // If currentId is initially set to null, we'll always focus the
-        // composite element when the up arrow key is pressed in the first row.

+/***/ }),

-        var _hasNullItem3 = includesBaseElement;
+/***/ 6150:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-        var _nextState5 = CompositeState_reducer(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          orientation: "vertical",
-          items: _verticalItems
-        }), Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-          type: "next",
-          hasNullItem: _hasNullItem3
-        }));
+var moment = __webpack_require__(6292);
+var momentValidationWrapper = __webpack_require__(3416);
+var core = __webpack_require__(9217);

-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, _nextState5), {}, {
-          orientation: orientation,
-          items: items
-        });
-      }
+module.exports = {

-    case "first":
-      {
-        var firstItem = Object(getCurrentId_5aa9849e["a" /* f */])(items);
-        return CompositeState_reducer(state, Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-          type: "move",
-          id: firstItem === null || firstItem === void 0 ? void 0 : firstItem.id
-        }));
-      }
+  momentObj : core.createMomentChecker(
+    'object',
+    function(obj) {
+      return typeof obj === 'object';
+    },
+    function isValid(value) {
+      return momentValidationWrapper.isValidMoment(value);
+    },
+    'Moment'
+  ),

-    case "last":
-      {
-        var _nextState6 = CompositeState_reducer(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          items: reverse(items)
-        }), Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, action), {}, {
-          type: "first"
-        }));
+  momentString : core.createMomentChecker(
+    'string',
+    function(str) {
+      return typeof str === 'string';
+    },
+    function isValid(value) {
+      return momentValidationWrapper.isValidMoment(moment(value));
+    },
+    'Moment'
+  ),

-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, _nextState6), {}, {
-          items: items
-        });
-      }
+  momentDurationObj : core.createMomentChecker(
+    'object',
+    function(obj) {
+      return typeof obj === 'object';
+    },
+    function isValid(value) {
+      return moment.isDuration(value);
+    },
+    'Duration'
+  ),

-    case "sort":
-      {
-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          items: sortBasedOnDOMPosition(items),
-          groups: sortBasedOnDOMPosition(groups)
-        });
-      }
+};

-    case "setVirtual":
-      return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-        unstable_virtual: applyState(action.virtual, virtual)
-      });

-    case "setRTL":
-      return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-        rtl: applyState(action.rtl, rtl)
-      });
+/***/ }),

-    case "setOrientation":
-      return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-        orientation: applyState(action.orientation, orientation)
-      });
+/***/ 3416:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-    case "setCurrentId":
-      {
-        var nextCurrentId = Object(getCurrentId_5aa9849e["b" /* g */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          currentId: applyState(action.currentId, currentId)
-        }));
-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          currentId: nextCurrentId,
-          hasSetCurrentId: true
-        });
-      }
+var moment = __webpack_require__(6292);

-    case "setLoop":
-      return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-        loop: applyState(action.loop, loop)
-      });
+function isValidMoment(testMoment) {
+  if (typeof moment.isMoment === 'function' && !moment.isMoment(testMoment)) {
+    return false;
+  }

-    case "setWrap":
-      return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-        wrap: applyState(action.wrap, wrap)
-      });
+  /* istanbul ignore else  */
+  if (typeof testMoment.isValid === 'function') {
+    // moment 1.7.0+
+    return testMoment.isValid();
+  }

-    case "setShift":
-      return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-        shift: applyState(action.shift, shift)
-      });
+  /* istanbul ignore next */
+  return !isNaN(testMoment);
+}

-    case "setIncludesBaseElement":
-      {
-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          unstable_includesBaseElement: applyState(action.includesBaseElement, includesBaseElement)
-        });
-      }
+module.exports = {
+  isValidMoment : isValidMoment,
+};

-    case "reset":
-      return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-        unstable_virtual: initialVirtual,
-        rtl: initialRTL,
-        orientation: initialOrientation,
-        currentId: Object(getCurrentId_5aa9849e["b" /* g */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          currentId: initialCurrentId
-        })),
-        loop: initialLoop,
-        wrap: initialWrap,
-        shift: initialShift,
-        unstable_moves: 0,
-        pastIds: []
-      });

-    case "setItems":
-      {
-        return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), {}, {
-          items: action.items
-        });
-      }
+/***/ }),

-    default:
-      throw new Error();
-  }
-}
+/***/ 2239:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-function useAction(fn) {
-  return Object(external_React_["useCallback"])(fn, []);
-}
+"use strict";

-function useIsUnmountedRef() {
-  var isUnmountedRef = Object(external_React_["useRef"])(false);
-  Object(useIsomorphicEffect["a" /* useIsomorphicEffect */])(function () {
-    return function () {
-      isUnmountedRef.current = true;
-    };
-  }, []);
-  return isUnmountedRef;
-}

-function useCompositeState(initialState) {
-  if (initialState === void 0) {
-    initialState = {};
-  }
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

-  var _useSealedState = useSealedState(initialState),
-      _useSealedState$unsta = _useSealedState.unstable_virtual,
-      virtual = _useSealedState$unsta === void 0 ? false : _useSealedState$unsta,
-      _useSealedState$rtl = _useSealedState.rtl,
-      rtl = _useSealedState$rtl === void 0 ? false : _useSealedState$rtl,
-      orientation = _useSealedState.orientation,
-      currentId = _useSealedState.currentId,
-      _useSealedState$loop = _useSealedState.loop,
-      loop = _useSealedState$loop === void 0 ? false : _useSealedState$loop,
-      _useSealedState$wrap = _useSealedState.wrap,
-      wrap = _useSealedState$wrap === void 0 ? false : _useSealedState$wrap,
-      _useSealedState$shift = _useSealedState.shift,
-      shift = _useSealedState$shift === void 0 ? false : _useSealedState$shift,
-      unstable_includesBaseElement = _useSealedState.unstable_includesBaseElement,
-      sealed = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_useSealedState, ["unstable_virtual", "rtl", "orientation", "currentId", "loop", "wrap", "shift", "unstable_includesBaseElement"]);
+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

-  var idState = unstable_useIdState(sealed);
+var _react = __webpack_require__(9196);

-  var _React$useReducer = Object(external_React_["useReducer"])(CompositeState_reducer, {
-    unstable_virtual: virtual,
-    rtl: rtl,
-    orientation: orientation,
-    items: [],
-    groups: [],
-    currentId: currentId,
-    loop: loop,
-    wrap: wrap,
-    shift: shift,
-    unstable_moves: 0,
-    pastIds: [],
-    unstable_includesBaseElement: unstable_includesBaseElement != null ? unstable_includesBaseElement : currentId === null,
-    initialVirtual: virtual,
-    initialRTL: rtl,
-    initialOrientation: orientation,
-    initialCurrentId: currentId,
-    initialLoop: loop,
-    initialWrap: wrap,
-    initialShift: shift
-  }),
-      _React$useReducer$ = _React$useReducer[0],
-      pastIds = _React$useReducer$.pastIds,
-      initialVirtual = _React$useReducer$.initialVirtual,
-      initialRTL = _React$useReducer$.initialRTL,
-      initialOrientation = _React$useReducer$.initialOrientation,
-      initialCurrentId = _React$useReducer$.initialCurrentId,
-      initialLoop = _React$useReducer$.initialLoop,
-      initialWrap = _React$useReducer$.initialWrap,
-      initialShift = _React$useReducer$.initialShift,
-      hasSetCurrentId = _React$useReducer$.hasSetCurrentId,
-      state = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_React$useReducer$, ["pastIds", "initialVirtual", "initialRTL", "initialOrientation", "initialCurrentId", "initialLoop", "initialWrap", "initialShift", "hasSetCurrentId"]),
-      dispatch = _React$useReducer[1];
+var _react2 = _interopRequireDefault(_react);

-  var _React$useState = Object(external_React_["useState"])(false),
-      hasActiveWidget = _React$useState[0],
-      setHasActiveWidget = _React$useState[1]; // register/unregister may be called when this component is unmounted. We
-  // store the unmounted state here so we don't update the state if it's true.
-  // This only happens in a very specific situation.
-  // See https://github.com/reakit/reakit/issues/650
+var _propTypes = __webpack_require__(2652);

+var _propTypes2 = _interopRequireDefault(_propTypes);

-  var isUnmountedRef = useIsUnmountedRef();
-  var setItems = Object(external_React_["useCallback"])(function (items) {
-    return dispatch({
-      type: "setItems",
-      items: items
-    });
-  }, []);
-  useSortBasedOnDOMPosition(state.items, setItems);
-  return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, idState), state), {}, {
-    unstable_hasActiveWidget: hasActiveWidget,
-    unstable_setHasActiveWidget: setHasActiveWidget,
-    registerItem: useAction(function (item) {
-      if (isUnmountedRef.current) return;
-      dispatch({
-        type: "registerItem",
-        item: item
-      });
-    }),
-    unregisterItem: useAction(function (id) {
-      if (isUnmountedRef.current) return;
-      dispatch({
-        type: "unregisterItem",
-        id: id
-      });
-    }),
-    registerGroup: useAction(function (group) {
-      if (isUnmountedRef.current) return;
-      dispatch({
-        type: "registerGroup",
-        group: group
-      });
-    }),
-    unregisterGroup: useAction(function (id) {
-      if (isUnmountedRef.current) return;
-      dispatch({
-        type: "unregisterGroup",
-        id: id
-      });
-    }),
-    move: useAction(function (id) {
-      return dispatch({
-        type: "move",
-        id: id
-      });
-    }),
-    next: useAction(function (allTheWay) {
-      return dispatch({
-        type: "next",
-        allTheWay: allTheWay
-      });
-    }),
-    previous: useAction(function (allTheWay) {
-      return dispatch({
-        type: "previous",
-        allTheWay: allTheWay
-      });
-    }),
-    up: useAction(function (allTheWay) {
-      return dispatch({
-        type: "up",
-        allTheWay: allTheWay
-      });
-    }),
-    down: useAction(function (allTheWay) {
-      return dispatch({
-        type: "down",
-        allTheWay: allTheWay
-      });
-    }),
-    first: useAction(function () {
-      return dispatch({
-        type: "first"
-      });
-    }),
-    last: useAction(function () {
-      return dispatch({
-        type: "last"
-      });
-    }),
-    sort: useAction(function () {
-      return dispatch({
-        type: "sort"
-      });
-    }),
-    unstable_setVirtual: useAction(function (value) {
-      return dispatch({
-        type: "setVirtual",
-        virtual: value
-      });
-    }),
-    setRTL: useAction(function (value) {
-      return dispatch({
-        type: "setRTL",
-        rtl: value
-      });
-    }),
-    setOrientation: useAction(function (value) {
-      return dispatch({
-        type: "setOrientation",
-        orientation: value
-      });
-    }),
-    setCurrentId: useAction(function (value) {
-      return dispatch({
-        type: "setCurrentId",
-        currentId: value
-      });
-    }),
-    setLoop: useAction(function (value) {
-      return dispatch({
-        type: "setLoop",
-        loop: value
-      });
-    }),
-    setWrap: useAction(function (value) {
-      return dispatch({
-        type: "setWrap",
-        wrap: value
-      });
-    }),
-    setShift: useAction(function (value) {
-      return dispatch({
-        type: "setShift",
-        shift: value
-      });
-    }),
-    unstable_setIncludesBaseElement: useAction(function (value) {
-      return dispatch({
-        type: "setIncludesBaseElement",
-        includesBaseElement: value
-      });
-    }),
-    reset: useAction(function () {
-      return dispatch({
-        type: "reset"
-      });
-    })
-  });
-}
+var _airbnbPropTypes = __webpack_require__(4882);

+var _consolidatedEvents = __webpack_require__(8495);

+var _object = __webpack_require__(5861);

-// EXTERNAL MODULE: ./node_modules/reakit-system/es/createComponent.js + 3 modules
-var createComponent = __webpack_require__("hE48");
+var _object2 = _interopRequireDefault(_object);

-// EXTERNAL MODULE: ./node_modules/reakit-system/es/createHook.js + 4 modules
-var createHook = __webpack_require__("qdes");
+var _document = __webpack_require__(6789);

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/useForkRef.js
-var useForkRef = __webpack_require__("aU41");
+var _document2 = _interopRequireDefault(_document);

-// EXTERNAL MODULE: ./node_modules/reakit-warning/es/index.js + 1 modules
-var es = __webpack_require__("KA1K");
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/useLiveRef.js
-var useLiveRef = __webpack_require__("eNtd");
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/isSelfTarget.js
-var isSelfTarget = __webpack_require__("k2cL");
+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

-// EXTERNAL MODULE: ./node_modules/reakit/es/Role/Role.js
-var Role = __webpack_require__("zGFp");
+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

-// EXTERNAL MODULE: ./node_modules/reakit/es/Tabbable/Tabbable.js
-var Tabbable = __webpack_require__("G3V0");
+var DISPLAY = {
+  BLOCK: 'block',
+  FLEX: 'flex',
+  INLINE: 'inline',
+  INLINE_BLOCK: 'inline-block',
+  CONTENTS: 'contents'
+};

-// EXTERNAL MODULE: ./node_modules/reakit-system/es/useCreateElement.js
-var useCreateElement = __webpack_require__("IVEb");
+var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
+  children: _propTypes2['default'].node.isRequired,
+  onOutsideClick: _propTypes2['default'].func.isRequired,
+  disabled: _propTypes2['default'].bool,
+  useCapture: _propTypes2['default'].bool,
+  display: _propTypes2['default'].oneOf((0, _object2['default'])(DISPLAY))
+});

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/_rollupPluginBabelHelpers-1f0bf8c2.js
-var es_rollupPluginBabelHelpers_1f0bf8c2 = __webpack_require__("I/A+");
+var defaultProps = {
+  disabled: false,

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/createEvent.js
-var createEvent = __webpack_require__("khzz");
+  // `useCapture` is set to true by default so that a `stopPropagation` in the
+  // children will not prevent all outside click handlers from firing - maja
+  useCapture: true,
+  display: DISPLAY.BLOCK
+};

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/fireBlurEvent.js
+var OutsideClickHandler = function (_React$Component) {
+  _inherits(OutsideClickHandler, _React$Component);

+  function OutsideClickHandler() {
+    var _ref;

+    _classCallCheck(this, OutsideClickHandler);

+    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+      args[_key] = arguments[_key];
+    }

-function createFocusEvent(element, type, eventInit) {
-  if (eventInit === void 0) {
-    eventInit = {};
-  }
+    var _this = _possibleConstructorReturn(this, (_ref = OutsideClickHandler.__proto__ || Object.getPrototypeOf(OutsideClickHandler)).call.apply(_ref, [this].concat(args)));

-  if (typeof FocusEvent === "function") {
-    return new FocusEvent(type, eventInit);
+    _this.onMouseDown = _this.onMouseDown.bind(_this);
+    _this.onMouseUp = _this.onMouseUp.bind(_this);
+    _this.setChildNodeRef = _this.setChildNodeRef.bind(_this);
+    return _this;
   }

-  return Object(createEvent["a" /* createEvent */])(element, type, eventInit);
-}
-/**
- * Creates and dispatches a blur event in a way that also works on IE 11.
- *
- * @example
- * import { fireBlurEvent } from "reakit-utils";
- *
- * fireBlurEvent(document.getElementById("id"));
- */
+  _createClass(OutsideClickHandler, [{
+    key: 'componentDidMount',
+    value: function () {
+      function componentDidMount() {
+        var _props = this.props,
+            disabled = _props.disabled,
+            useCapture = _props.useCapture;


-function fireBlurEvent(element, eventInit) {
-  var event = createFocusEvent(element, "blur", eventInit);
-  var defaultAllowed = element.dispatchEvent(event);
+        if (!disabled) this.addMouseDownEventListener(useCapture);
+      }

-  var bubbleInit = Object(es_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(es_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, eventInit), {}, {
-    bubbles: true
-  });
+      return componentDidMount;
+    }()
+  }, {
+    key: 'componentDidUpdate',
+    value: function () {
+      function componentDidUpdate(_ref2) {
+        var prevDisabled = _ref2.disabled;
+        var _props2 = this.props,
+            disabled = _props2.disabled,
+            useCapture = _props2.useCapture;

-  element.dispatchEvent(createFocusEvent(element, "focusout", bubbleInit));
-  return defaultAllowed;
-}
+        if (prevDisabled !== disabled) {
+          if (disabled) {
+            this.removeEventListeners();
+          } else {
+            this.addMouseDownEventListener(useCapture);
+          }
+        }
+      }

+      return componentDidUpdate;
+    }()
+  }, {
+    key: 'componentWillUnmount',
+    value: function () {
+      function componentWillUnmount() {
+        this.removeEventListeners();
+      }

+      return componentWillUnmount;
+    }()

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/getWindow.js
-var getWindow = __webpack_require__("SyVe");
+    // Use mousedown/mouseup to enforce that clicks remain outside the root's
+    // descendant tree, even when dragged. This should also get triggered on
+    // touch devices.

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/fireKeyboardEvent.js
+  }, {
+    key: 'onMouseDown',
+    value: function () {
+      function onMouseDown(e) {
+        var useCapture = this.props.useCapture;


+        var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target);
+        if (!isDescendantOfRoot) {
+          if (this.removeMouseUp) {
+            this.removeMouseUp();
+            this.removeMouseUp = null;
+          }
+          this.removeMouseUp = (0, _consolidatedEvents.addEventListener)(document, 'mouseup', this.onMouseUp, { capture: useCapture });
+        }
+      }

-function createKeyboardEvent(element, type, eventInit) {
-  if (eventInit === void 0) {
-    eventInit = {};
-  }
+      return onMouseDown;
+    }()

-  if (typeof KeyboardEvent === "function") {
-    return new KeyboardEvent(type, eventInit);
-  } // IE 11 doesn't support Event constructors
+    // Use mousedown/mouseup to enforce that clicks remain outside the root's
+    // descendant tree, even when dragged. This should also get triggered on
+    // touch devices.

+  }, {
+    key: 'onMouseUp',
+    value: function () {
+      function onMouseUp(e) {
+        var onOutsideClick = this.props.onOutsideClick;

-  var event = Object(getDocument["a" /* getDocument */])(element).createEvent("KeyboardEvent");
-  event.initKeyboardEvent(type, eventInit.bubbles, eventInit.cancelable, Object(getWindow["a" /* getWindow */])(element), eventInit.key, eventInit.location, eventInit.ctrlKey, eventInit.altKey, eventInit.shiftKey, eventInit.metaKey);
-  return event;
-}
-/**
- * Creates and dispatches `KeyboardEvent` in a way that also works on IE 11.
- *
- * @example
- * import { fireKeyboardEvent } from "reakit-utils";
- *
- * fireKeyboardEvent(document.getElementById("id"), "keydown", {
- *   key: "ArrowDown",
- *   shiftKey: true,
- * });
- */

+        var isDescendantOfRoot = this.childNode && (0, _document2['default'])(this.childNode, e.target);
+        if (this.removeMouseUp) {
+          this.removeMouseUp();
+          this.removeMouseUp = null;
+        }

-function fireKeyboardEvent(element, type, eventInit) {
-  return element.dispatchEvent(createKeyboardEvent(element, type, eventInit));
-}
+        if (!isDescendantOfRoot) {
+          onOutsideClick(e);
+        }
+      }
+
+      return onMouseUp;
+    }()
+  }, {
+    key: 'setChildNodeRef',
+    value: function () {
+      function setChildNodeRef(ref) {
+        this.childNode = ref;
+      }
+
+      return setChildNodeRef;
+    }()
+  }, {
+    key: 'addMouseDownEventListener',
+    value: function () {
+      function addMouseDownEventListener(useCapture) {
+        this.removeMouseDown = (0, _consolidatedEvents.addEventListener)(document, 'mousedown', this.onMouseDown, { capture: useCapture });
+      }

+      return addMouseDownEventListener;
+    }()
+  }, {
+    key: 'removeEventListeners',
+    value: function () {
+      function removeEventListeners() {
+        if (this.removeMouseDown) this.removeMouseDown();
+        if (this.removeMouseUp) this.removeMouseUp();
+      }

+      return removeEventListeners;
+    }()
+  }, {
+    key: 'render',
+    value: function () {
+      function render() {
+        var _props3 = this.props,
+            children = _props3.children,
+            display = _props3.display;

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/canUseDOM.js
-var canUseDOM = __webpack_require__("+ipW");

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/getActiveElement.js
-var getActiveElement = __webpack_require__("Nym8");
+        return _react2['default'].createElement(
+          'div',
+          {
+            ref: this.setChildNodeRef,
+            style: display !== DISPLAY.BLOCK && (0, _object2['default'])(DISPLAY).includes(display) ? { display: display } : undefined
+          },
+          children
+        );
+      }

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/getNextActiveElementOnBlur.js
+      return render;
+    }()
+  }]);

+  return OutsideClickHandler;
+}(_react2['default'].Component);

+exports["default"] = OutsideClickHandler;


+OutsideClickHandler.propTypes = propTypes;
+OutsideClickHandler.defaultProps = defaultProps;

-var isIE11 = canUseDOM["a" /* canUseDOM */] && "msCrypto" in window;
-/**
- * Cross-browser method that returns the next active element (the element that
- * is receiving focus) after a blur event is dispatched. It receives the blur
- * event object as the argument.
- *
- * @example
- * import { getNextActiveElementOnBlur } from "reakit-utils";
- *
- * const element = document.getElementById("id");
- * element.addEventListener("blur", (event) => {
- *   const nextActiveElement = getNextActiveElementOnBlur(event);
- * });
- */
+/***/ }),

-function getNextActiveElementOnBlur(event) {
-  // IE 11 doesn't support event.relatedTarget on blur.
-  // document.activeElement points the the next active element.
-  // On modern browsers, document.activeElement points to the current target.
-  if (isIE11) {
-    var activeElement = Object(getActiveElement["a" /* getActiveElement */])(event.currentTarget);
-    return activeElement;
-  }
+/***/ 6606:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-  return event.relatedTarget;
-}
+// eslint-disable-next-line import/no-unresolved
+module.exports = __webpack_require__(2239);


+/***/ }),

-// EXTERNAL MODULE: ./node_modules/reakit/es/__keys-6742f591.js
-var _keys_6742f591 = __webpack_require__("TFuP");
+/***/ 235:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// EXTERNAL MODULE: ./node_modules/reakit/es/userFocus-e16425e3.js
-var userFocus_e16425e3 = __webpack_require__("Mih7");
+var e=__webpack_require__(9196),n={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},t=function(t){var r=t.onResize,u=e.useRef();return function(n,t){var r=function(){return n.current&&n.current.contentDocument&&n.current.contentDocument.defaultView};function u(){t();var e=r();e&&e.addEventListener("resize",t)}e.useEffect((function(){return r()?u():n.current&&n.current.addEventListener&&n.current.addEventListener("load",u),function(){var e=r();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(u,(function(){return r(u)})),e.createElement("iframe",{style:n,src:"about:blank",ref:u,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},r=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};module.exports=function(n){void 0===n&&(n=r);var u=e.useState(n(null)),o=u[0],i=u[1],c=e.useCallback((function(e){return i(n(e.current))}),[n]);return[e.useMemo((function(){return e.createElement(t,{onResize:c})}),[c]),o]};

-// CONCATENATED MODULE: ./node_modules/reakit/es/Composite/Composite.js

+/***/ }),

+/***/ 5080:
+/***/ (function(__unused_webpack_module, exports) {

+"use strict";


+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+var CHANNEL = exports.CHANNEL = '__direction__';

+var DIRECTIONS = exports.DIRECTIONS = {
+  LTR: 'ltr',
+  RTL: 'rtl'
+};

+/***/ }),

+/***/ 6640:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

+"use strict";


+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));

+var _propTypes = __webpack_require__(2652);

+var _propTypes2 = _interopRequireDefault(_propTypes);

+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

+exports["default"] = _propTypes2['default'].shape({
+  getState: _propTypes2['default'].func,
+  setState: _propTypes2['default'].func,
+  subscribe: _propTypes2['default'].func
+});

+/***/ }),

+/***/ 3688:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

+var __webpack_unused_export__;
+__webpack_unused_export__ = ({
+  value: true
+});

+var _arrayPrototype = __webpack_require__(116);

+var _arrayPrototype2 = _interopRequireDefault(_arrayPrototype);

+var _globalCache = __webpack_require__(5371);

+var _globalCache2 = _interopRequireDefault(_globalCache);

+var _constants = __webpack_require__(6930);

+var _getClassName = __webpack_require__(1689);

+var _getClassName2 = _interopRequireDefault(_getClassName);

+var _separateStyles2 = __webpack_require__(1881);

+var _separateStyles3 = _interopRequireDefault(_separateStyles2);

+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-var Composite_isIE11 = canUseDOM["a" /* canUseDOM */] && "msCrypto" in window;
+/**
+ * Function required as part of the react-with-styles interface. Parses the styles provided by
+ * react-with-styles to produce class names based on the style name and optionally the namespace if
+ * available.
+ *
+ * stylesObject {Object} The styles object passed to withStyles.
+ *
+ * Return an object mapping style names to class names.
+ */
+function create(stylesObject) {
+  var stylesToClasses = {};
+  var styleNames = Object.keys(stylesObject);
+  var sharedState = _globalCache2['default'].get(_constants.GLOBAL_CACHE_KEY) || {};
+  var _sharedState$namespac = sharedState.namespace,
+      namespace = _sharedState$namespac === undefined ? '' : _sharedState$namespac;

-function canProxyKeyboardEvent(event) {
-  if (!Object(isSelfTarget["a" /* isSelfTarget */])(event)) return false;
-  if (event.metaKey) return false;
-  if (event.key === "Tab") return false;
-  return true;
+  styleNames.forEach(function (styleName) {
+    var className = (0, _getClassName2['default'])(namespace, styleName);
+    stylesToClasses[styleName] = className;
+  });
+  return stylesToClasses;
 }

-function useKeyboardEventProxy(virtual, currentItem, htmlEventHandler) {
-  var eventHandlerRef = Object(useLiveRef["a" /* useLiveRef */])(htmlEventHandler);
-  return Object(external_React_["useCallback"])(function (event) {
-    var _eventHandlerRef$curr;
+/**
+ * Process styles to be consumed by a component.
+ *
+ * stylesArray {Array} Array of the following: values returned by create, plain JavaScript objects
+ * representing inline styles, or arrays thereof.
+ *
+ * Return an object with optional className and style properties to be spread on a component.
+ */
+function resolve(stylesArray) {
+  var flattenedStyles = (0, _arrayPrototype2['default'])(stylesArray, Infinity);

-    (_eventHandlerRef$curr = eventHandlerRef.current) === null || _eventHandlerRef$curr === void 0 ? void 0 : _eventHandlerRef$curr.call(eventHandlerRef, event);
-    if (event.defaultPrevented) return;
+  var _separateStyles = (0, _separateStyles3['default'])(flattenedStyles),
+      classNames = _separateStyles.classNames,
+      hasInlineStyles = _separateStyles.hasInlineStyles,
+      inlineStyles = _separateStyles.inlineStyles;

-    if (virtual && canProxyKeyboardEvent(event)) {
-      var currentElement = currentItem === null || currentItem === void 0 ? void 0 : currentItem.ref.current;
+  var specificClassNames = classNames.map(function (name, index) {
+    return String(name) + ' ' + String(name) + '_' + String(index + 1);
+  });
+  var className = specificClassNames.join(' ');

-      if (currentElement) {
-        if (!fireKeyboardEvent(currentElement, event.type, event)) {
-          event.preventDefault();
-        } // The event will be triggered on the composite item and then
-        // propagated up to this composite element again, so we can pretend
-        // that it wasn't called on this component in the first place.
+  var result = { className: className };
+  if (hasInlineStyles) result.style = inlineStyles;
+  return result;
+}

+exports["default"] = { create: create, resolve: resolve };

-        if (event.currentTarget.contains(currentElement)) {
-          event.stopPropagation();
-        }
-      }
-    }
-  }, [virtual, currentItem]);
-} // istanbul ignore next
+/***/ }),

+/***/ 6930:
+/***/ (function(__unused_webpack_module, exports) {

-function useActiveElementRef(elementRef) {
-  var activeElementRef = Object(external_React_["useRef"])(null);
-  Object(external_React_["useEffect"])(function () {
-    var document = Object(getDocument["a" /* getDocument */])(elementRef.current);
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+var GLOBAL_CACHE_KEY = 'reactWithStylesInterfaceCSS';
+var MAX_SPECIFICITY = 20;

-    var onFocus = function onFocus(event) {
-      var target = event.target;
-      activeElementRef.current = target;
-    };
+exports.GLOBAL_CACHE_KEY = GLOBAL_CACHE_KEY;
+exports.MAX_SPECIFICITY = MAX_SPECIFICITY;

-    document.addEventListener("focus", onFocus, true);
-    return function () {
-      document.removeEventListener("focus", onFocus, true);
-    };
-  }, []);
-  return activeElementRef;
-}
+/***/ }),

-function findFirstEnabledItemInTheLastRow(items) {
-  return Object(getCurrentId_5aa9849e["a" /* f */])(flatten(reverse(groupItems(items))));
-}
+/***/ 1689:
+/***/ (function(__unused_webpack_module, exports) {

-function isItem(items, element) {
-  return items === null || items === void 0 ? void 0 : items.some(function (item) {
-    return !!element && item.ref.current === element;
-  });
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports["default"] = getClassName;
+/**
+ * Construct a class name.
+ *
+ * namespace {String} Used to construct unique class names.
+ * styleName {String} Name identifying the specific style.
+ *
+ * Return the class name.
+ */
+function getClassName(namespace, styleName) {
+  var namespaceSegment = namespace.length > 0 ? String(namespace) + '__' : '';
+  return '' + namespaceSegment + String(styleName);
 }

-function useScheduleUserFocus(currentItem) {
-  var currentItemRef = Object(useLiveRef["a" /* useLiveRef */])(currentItem);
+/***/ }),

-  var _React$useReducer = Object(external_React_["useReducer"])(function (n) {
-    return n + 1;
-  }, 0),
-      scheduled = _React$useReducer[0],
-      schedule = _React$useReducer[1];
+/***/ 1881:
+/***/ (function(__unused_webpack_module, exports) {

-  Object(external_React_["useEffect"])(function () {
-    var _currentItemRef$curre;
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+// This function takes an array of styles and separates them into styles that
+// are handled by Aphrodite and inline styles.
+function separateStyles(stylesArray) {
+  var classNames = [];

-    var currentElement = (_currentItemRef$curre = currentItemRef.current) === null || _currentItemRef$curre === void 0 ? void 0 : _currentItemRef$curre.ref.current;
+  // Since determining if an Object is empty requires collecting all of its
+  // keys, and we want the best performance in this code because we are in the
+  // render path, we are going to do a little bookkeeping ourselves.
+  var hasInlineStyles = false;
+  var inlineStyles = {};

-    if (scheduled && currentElement) {
-      Object(userFocus_e16425e3["c" /* u */])(currentElement);
+  // This is run on potentially every node in the tree when rendering, where
+  // performance is critical. Normally we would prefer using `forEach`, but
+  // old-fashioned for loops are faster so that's what we have chosen here.
+  for (var i = 0; i < stylesArray.length; i++) {
+    // eslint-disable-line no-plusplus
+    var style = stylesArray[i];
+
+    // If this  style is falsy, we just want to disregard it. This allows for
+    // syntax like:
+    //
+    //   css(isFoo && styles.foo)
+    if (style) {
+      if (typeof style === 'string') {
+        classNames.push(style);
+      } else {
+        Object.assign(inlineStyles, style);
+        hasInlineStyles = true;
+      }
     }
-  }, [scheduled]);
-  return schedule;
+  }
+
+  return {
+    classNames: classNames,
+    hasInlineStyles: hasInlineStyles,
+    inlineStyles: inlineStyles
+  };
 }

-var useComposite = Object(createHook["a" /* createHook */])({
-  name: "Composite",
-  compose: [Tabbable["a" /* useTabbable */]],
-  keys: _keys_6742f591["a" /* C */],
-  useOptions: function useOptions(options) {
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, options), {}, {
-      currentId: Object(getCurrentId_5aa9849e["b" /* g */])(options)
-    });
-  },
-  useProps: function useProps(options, _ref) {
-    var htmlRef = _ref.ref,
-        htmlOnFocusCapture = _ref.onFocusCapture,
-        htmlOnFocus = _ref.onFocus,
-        htmlOnBlurCapture = _ref.onBlurCapture,
-        htmlOnKeyDown = _ref.onKeyDown,
-        htmlOnKeyDownCapture = _ref.onKeyDownCapture,
-        htmlOnKeyUpCapture = _ref.onKeyUpCapture,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["ref", "onFocusCapture", "onFocus", "onBlurCapture", "onKeyDown", "onKeyDownCapture", "onKeyUpCapture"]);
+exports["default"] = separateStyles;

-    var ref = Object(external_React_["useRef"])(null);
-    var currentItem = findEnabledItemById(options.items, options.currentId);
-    var previousElementRef = Object(external_React_["useRef"])(null);
-    var onFocusCaptureRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnFocusCapture);
-    var onFocusRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnFocus);
-    var onBlurCaptureRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnBlurCapture);
-    var onKeyDownRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnKeyDown);
-    var scheduleUserFocus = useScheduleUserFocus(currentItem); // IE 11 doesn't support event.relatedTarget, so we use the active element
-    // ref instead.
+/***/ }),

-    var activeElementRef = Composite_isIE11 ? useActiveElementRef(ref) : undefined;
-    Object(external_React_["useEffect"])(function () {
-      var element = ref.current;
+/***/ 5553:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-      if (options.unstable_moves && !currentItem) {
-         false ? undefined : void 0; // If composite.move(null) has been called, the composite container
-        // will receive focus.
+// eslint-disable-next-line import/no-unresolved
+module.exports = __webpack_require__(3688)["default"];

-        element === null || element === void 0 ? void 0 : element.focus();
-      }
-    }, [options.unstable_moves, currentItem]);
-    var onKeyDownCapture = useKeyboardEventProxy(options.unstable_virtual, currentItem, htmlOnKeyDownCapture);
-    var onKeyUpCapture = useKeyboardEventProxy(options.unstable_virtual, currentItem, htmlOnKeyUpCapture);
-    var onFocusCapture = Object(external_React_["useCallback"])(function (event) {
-      var _onFocusCaptureRef$cu;

-      (_onFocusCaptureRef$cu = onFocusCaptureRef.current) === null || _onFocusCaptureRef$cu === void 0 ? void 0 : _onFocusCaptureRef$cu.call(onFocusCaptureRef, event);
-      if (event.defaultPrevented) return;
-      if (!options.unstable_virtual) return; // IE11 doesn't support event.relatedTarget, so we use the active
-      // element ref instead.
+/***/ }),

-      var previousActiveElement = (activeElementRef === null || activeElementRef === void 0 ? void 0 : activeElementRef.current) || event.relatedTarget;
-      var previousActiveElementWasItem = isItem(options.items, previousActiveElement);
+/***/ 9349:
+/***/ (function(__unused_webpack_module, exports) {

-      if (Object(isSelfTarget["a" /* isSelfTarget */])(event) && previousActiveElementWasItem) {
-        // Composite has been focused as a result of an item receiving focus.
-        // The composite item will move focus back to the composite
-        // container. In this case, we don't want to propagate this
-        // additional event nor call the onFocus handler passed to
-        // <Composite onFocus={...} />.
-        event.stopPropagation(); // We keep track of the previous active item element so we can
-        // manually fire a blur event on it later when the focus is moved to
-        // another item on the onBlurCapture event below.
+"use strict";

-        previousElementRef.current = previousActiveElement;
-      }
-    }, [options.unstable_virtual, options.items]);
-    var onFocus = Object(external_React_["useCallback"])(function (event) {
-      var _onFocusRef$current;

-      (_onFocusRef$current = onFocusRef.current) === null || _onFocusRef$current === void 0 ? void 0 : _onFocusRef$current.call(onFocusRef, event);
-      if (event.defaultPrevented) return;
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+var styleInterface = void 0;
+var styleTheme = void 0;

-      if (options.unstable_virtual) {
-        if (Object(isSelfTarget["a" /* isSelfTarget */])(event)) {
-          // This means that the composite element has been focused while the
-          // composite item has not. For example, by clicking on the
-          // composite element without touching any item, or by tabbing into
-          // the composite element. In this case, we want to trigger focus on
-          // the item, just like it would happen with roving tabindex.
-          // When it receives focus, the composite item will put focus back
-          // on the composite element, in which case hasItemWithFocus will be
-          // true.
-          scheduleUserFocus();
-        }
-      } else if (Object(isSelfTarget["a" /* isSelfTarget */])(event)) {
-        var _options$setCurrentId;
+var START_MARK = 'react-with-styles.resolve.start';
+var END_MARK = 'react-with-styles.resolve.end';
+var MEASURE_MARK = '\uD83D\uDC69\u200D\uD83C\uDFA8 [resolve]';

-        // When the roving tabindex composite gets intentionally focused (for
-        // example, by clicking directly on it, and not on an item), we make
-        // sure to set the current id to null (which means the composite
-        // itself is focused).
-        (_options$setCurrentId = options.setCurrentId) === null || _options$setCurrentId === void 0 ? void 0 : _options$setCurrentId.call(options, null);
-      }
-    }, [options.unstable_virtual, options.setCurrentId]);
-    var onBlurCapture = Object(external_React_["useCallback"])(function (event) {
-      var _onBlurCaptureRef$cur;
+function registerTheme(theme) {
+  styleTheme = theme;
+}

-      (_onBlurCaptureRef$cur = onBlurCaptureRef.current) === null || _onBlurCaptureRef$cur === void 0 ? void 0 : _onBlurCaptureRef$cur.call(onBlurCaptureRef, event);
-      if (event.defaultPrevented) return;
-      if (!options.unstable_virtual) return; // When virtual is set to true, we move focus from the composite
-      // container (this component) to the composite item that is being
-      // selected. Then we move focus back to the composite container. This
-      // is so we can provide the same API as the roving tabindex method,
-      // which means people can attach onFocus/onBlur handlers on the
-      // CompositeItem component regardless of whether it's virtual or not.
-      // This sequence of blurring and focusing items and composite may be
-      // confusing, so we ignore intermediate focus and blurs by stopping its
-      // propagation and not calling the passed onBlur handler (htmlOnBlur).
+function registerInterface(interfaceToRegister) {
+  styleInterface = interfaceToRegister;
+}

-      var currentElement = (currentItem === null || currentItem === void 0 ? void 0 : currentItem.ref.current) || null;
-      var nextActiveElement = getNextActiveElementOnBlur(event);
-      var nextActiveElementIsItem = isItem(options.items, nextActiveElement);
+function create(makeFromTheme, createWithDirection) {
+  var styles = createWithDirection(makeFromTheme(styleTheme));
+  return function () {
+    return styles;
+  };
+}

-      if (Object(isSelfTarget["a" /* isSelfTarget */])(event) && nextActiveElementIsItem) {
-        // This is an intermediate blur event: blurring the composite
-        // container to focus an item (nextActiveElement).
-        if (nextActiveElement === currentElement) {
-          // The next active element will be the same as the current item in
-          // the state in two scenarios:
-          //   - Moving focus with keyboard: the state is updated before the
-          // blur event is triggered, so here the current item is already
-          // pointing to the next active element.
-          //   - Clicking on the current active item with a pointer: this
-          // will trigger blur on the composite element and then the next
-          // active element will be the same as the current item. Clicking on
-          // an item other than the current one doesn't end up here as the
-          // currentItem state will be updated only after it.
-          if (previousElementRef.current && previousElementRef.current !== nextActiveElement) {
-            // If there's a previous active item and it's not a click action,
-            // then we fire a blur event on it so it will work just like if
-            // it had DOM focus before (like when using roving tabindex).
-            fireBlurEvent(previousElementRef.current, event);
-          }
-        } else if (currentElement) {
-          // This will be true when the next active element is not the
-          // current element, but there's a current item. This will only
-          // happen when clicking with a pointer on a different item, when
-          // there's already an item selected, in which case currentElement
-          // is the item that is getting blurred, and nextActiveElement is
-          // the item that is being clicked.
-          fireBlurEvent(currentElement, event);
-        } // We want to ignore intermediate blur events, so we stop its
-        // propagation and return early so onFocus will not be called.
+function createLTR(makeFromTheme) {
+  return create(makeFromTheme, styleInterface.createLTR || styleInterface.create);
+}

+function createRTL(makeFromTheme) {
+  return create(makeFromTheme, styleInterface.createRTL || styleInterface.create);
+}

-        event.stopPropagation();
-      } else {
-        var targetIsItem = isItem(options.items, event.target);
+function get() {
+  return styleTheme;
+}

-        if (!targetIsItem && currentElement) {
-          // If target is not a composite item, it may be the composite
-          // element itself (isSelfTarget) or a tabbable element inside the
-          // composite widget. This may be triggered by clicking outside the
-          // composite widget or by tabbing out of it. In either cases we
-          // want to fire a blur event on the current item.
-          fireBlurEvent(currentElement, event);
-        }
-      }
-    }, [options.unstable_virtual, options.items, currentItem]);
-    var onKeyDown = Object(external_React_["useCallback"])(function (event) {
-      var _onKeyDownRef$current, _options$groups;
+function resolve() {
+  if (false) {}

-      (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
-      if (event.defaultPrevented) return;
-      if (options.currentId !== null) return;
-      if (!Object(isSelfTarget["a" /* isSelfTarget */])(event)) return;
-      var isVertical = options.orientation !== "horizontal";
-      var isHorizontal = options.orientation !== "vertical";
-      var isGrid = !!((_options$groups = options.groups) !== null && _options$groups !== void 0 && _options$groups.length);
+  for (var _len = arguments.length, styles = Array(_len), _key = 0; _key < _len; _key++) {
+    styles[_key] = arguments[_key];
+  }

-      var up = function up() {
-        if (isGrid) {
-          var item = findFirstEnabledItemInTheLastRow(options.items);
+  var result = styleInterface.resolve(styles);

-          if (item !== null && item !== void 0 && item.id) {
-            var _options$move;
+  if (false) {}

-            (_options$move = options.move) === null || _options$move === void 0 ? void 0 : _options$move.call(options, item.id);
-          }
-        } else {
-          var _options$last;
+  return result;
+}

-          (_options$last = options.last) === null || _options$last === void 0 ? void 0 : _options$last.call(options);
-        }
-      };
+function resolveLTR() {
+  for (var _len2 = arguments.length, styles = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+    styles[_key2] = arguments[_key2];
+  }

-      var keyMap = {
-        ArrowUp: (isGrid || isVertical) && up,
-        ArrowRight: (isGrid || isHorizontal) && options.first,
-        ArrowDown: (isGrid || isVertical) && options.first,
-        ArrowLeft: (isGrid || isHorizontal) && options.last,
-        Home: options.first,
-        End: options.last,
-        PageUp: options.first,
-        PageDown: options.last
-      };
-      var action = keyMap[event.key];
+  if (styleInterface.resolveLTR) {
+    return styleInterface.resolveLTR(styles);
+  }

-      if (action) {
-        event.preventDefault();
-        action();
-      }
-    }, [options.currentId, options.orientation, options.groups, options.items, options.move, options.last, options.first]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(ref, htmlRef),
-      id: options.baseId,
-      onFocus: onFocus,
-      onFocusCapture: onFocusCapture,
-      onBlurCapture: onBlurCapture,
-      onKeyDownCapture: onKeyDownCapture,
-      onKeyDown: onKeyDown,
-      onKeyUpCapture: onKeyUpCapture,
-      "aria-activedescendant": options.unstable_virtual ? (currentItem === null || currentItem === void 0 ? void 0 : currentItem.id) || undefined : undefined
-    }, htmlProps);
-  },
-  useComposeProps: function useComposeProps(options, htmlProps) {
-    htmlProps = Object(Role["a" /* useRole */])(options, htmlProps, true);
-    var tabbableHTMLProps = Object(Tabbable["a" /* useTabbable */])(options, htmlProps, true);
+  return resolve(styles);
+}

-    if (options.unstable_virtual || options.currentId === null) {
-      // Composite will only be tabbable by default if the focus is managed
-      // using aria-activedescendant, which requires DOM focus on the container
-      // element (the composite)
-      return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-        tabIndex: 0
-      }, tabbableHTMLProps);
-    }
+function resolveRTL() {
+  for (var _len3 = arguments.length, styles = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
+    styles[_key3] = arguments[_key3];
+  }

-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, htmlProps), {}, {
-      ref: tabbableHTMLProps.ref
-    });
+  if (styleInterface.resolveRTL) {
+    return styleInterface.resolveRTL(styles);
   }
-});
-var Composite = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  useHook: useComposite,
-  useCreateElement: function useCreateElement$1(type, props, children) {
-     false ? undefined : void 0;
-    return Object(useCreateElement["a" /* useCreateElement */])(type, props, children);
+
+  return resolve(styles);
+}
+
+function flush() {
+  if (styleInterface.flush) {
+    styleInterface.flush();
   }
-});
+}

+exports["default"] = {
+  registerTheme: registerTheme,
+  registerInterface: registerInterface,
+  create: createLTR,
+  createLTR: createLTR,
+  createRTL: createRTL,
+  get: get,
+  resolve: resolveLTR,
+  resolveLTR: resolveLTR,
+  resolveRTL: resolveRTL,
+  flush: flush
+};

+/***/ }),

-// EXTERNAL MODULE: ./node_modules/reakit/es/Id/Id.js
-var Id = __webpack_require__("ym77");
+/***/ 3576:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/reakit/es/Group/Group.js
+"use strict";


+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports.withStylesPropTypes = exports.css = undefined;

+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

+var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

+exports.withStyles = withStyles;

-// Automatically generated
-var GROUP_KEYS = [];
+var _object = __webpack_require__(4011);

-var useGroup = Object(createHook["a" /* createHook */])({
-  name: "Group",
-  compose: Role["a" /* useRole */],
-  keys: GROUP_KEYS,
-  useProps: function useProps(_, htmlProps) {
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      role: "group"
-    }, htmlProps);
-  }
-});
-var Group = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  useHook: useGroup
-});
+var _object2 = _interopRequireDefault(_object);

+var _react = __webpack_require__(9196);

+var _react2 = _interopRequireDefault(_react);

-// CONCATENATED MODULE: ./node_modules/reakit/es/Composite/CompositeGroup.js
+var _propTypes = __webpack_require__(2652);

+var _propTypes2 = _interopRequireDefault(_propTypes);

+var _hoistNonReactStatics = __webpack_require__(1281);

+var _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);

+var _constants = __webpack_require__(5080);

+var _brcast = __webpack_require__(6640);

+var _brcast2 = _interopRequireDefault(_brcast);

+var _ThemedStyleSheet = __webpack_require__(9349);

+var _ThemedStyleSheet2 = _interopRequireDefault(_ThemedStyleSheet);

+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

+function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /* eslint react/forbid-foreign-prop-types: off */

-var useCompositeGroup = Object(createHook["a" /* createHook */])({
-  name: "CompositeGroup",
-  compose: [useGroup, Id["a" /* unstable_useId */]],
-  keys: _keys_6742f591["b" /* a */],
-  propsAreEqual: function propsAreEqual(prev, next) {
-    if (!next.id || prev.id !== next.id) {
-      return useGroup.unstable_propsAreEqual(prev, next);
+// Add some named exports to assist in upgrading and for convenience
+var css = exports.css = _ThemedStyleSheet2['default'].resolveLTR;
+var withStylesPropTypes = exports.withStylesPropTypes = {
+  styles: _propTypes2['default'].object.isRequired, // eslint-disable-line react/forbid-prop-types
+  theme: _propTypes2['default'].object.isRequired, // eslint-disable-line react/forbid-prop-types
+  css: _propTypes2['default'].func.isRequired
+};
+
+var EMPTY_STYLES = {};
+var EMPTY_STYLES_FN = function EMPTY_STYLES_FN() {
+  return EMPTY_STYLES;
+};
+
+var START_MARK = 'react-with-styles.createStyles.start';
+var END_MARK = 'react-with-styles.createStyles.end';
+
+function baseClass(pureComponent) {
+  if (pureComponent) {
+    if (!_react2['default'].PureComponent) {
+      throw new ReferenceError('withStyles() pureComponent option requires React 15.3.0 or later');
     }

-    var prevCurrentId = prev.currentId,
-        prevMoves = prev.unstable_moves,
-        prevProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(prev, ["currentId", "unstable_moves"]);
+    return _react2['default'].PureComponent;
+  }

-    var nextCurrentId = next.currentId,
-        nextMoves = next.unstable_moves,
-        nextProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(next, ["currentId", "unstable_moves"]);
+  return _react2['default'].Component;
+}

-    if (prev.items && next.items) {
-      var prevCurrentItem = findEnabledItemById(prev.items, prevCurrentId);
-      var nextCurrentItem = findEnabledItemById(next.items, nextCurrentId);
-      var prevGroupId = prevCurrentItem === null || prevCurrentItem === void 0 ? void 0 : prevCurrentItem.groupId;
-      var nextGroupId = nextCurrentItem === null || nextCurrentItem === void 0 ? void 0 : nextCurrentItem.groupId;
+var contextTypes = _defineProperty({}, _constants.CHANNEL, _brcast2['default']);

-      if (next.id === nextGroupId || next.id === prevGroupId) {
-        return false;
-      }
+var defaultDirection = _constants.DIRECTIONS.LTR;
+
+function withStyles(styleFn) {
+  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
+      _ref$stylesPropName = _ref.stylesPropName,
+      stylesPropName = _ref$stylesPropName === undefined ? 'styles' : _ref$stylesPropName,
+      _ref$themePropName = _ref.themePropName,
+      themePropName = _ref$themePropName === undefined ? 'theme' : _ref$themePropName,
+      _ref$cssPropName = _ref.cssPropName,
+      cssPropName = _ref$cssPropName === undefined ? 'css' : _ref$cssPropName,
+      _ref$flushBefore = _ref.flushBefore,
+      flushBefore = _ref$flushBefore === undefined ? false : _ref$flushBefore,
+      _ref$pureComponent = _ref.pureComponent,
+      pureComponent = _ref$pureComponent === undefined ? false : _ref$pureComponent;
+
+  var styleDefLTR = void 0;
+  var styleDefRTL = void 0;
+  var currentThemeLTR = void 0;
+  var currentThemeRTL = void 0;
+  var BaseClass = baseClass(pureComponent);
+
+  function getResolveMethod(direction) {
+    return direction === _constants.DIRECTIONS.LTR ? _ThemedStyleSheet2['default'].resolveLTR : _ThemedStyleSheet2['default'].resolveRTL;
+  }
+
+  function getCurrentTheme(direction) {
+    return direction === _constants.DIRECTIONS.LTR ? currentThemeLTR : currentThemeRTL;
+  }
+
+  function getStyleDef(direction, wrappedComponentName) {
+    var currentTheme = getCurrentTheme(direction);
+    var styleDef = direction === _constants.DIRECTIONS.LTR ? styleDefLTR : styleDefRTL;
+
+    var registeredTheme = _ThemedStyleSheet2['default'].get();
+
+    // Return the existing styles if they've already been defined
+    // and if the theme used to create them corresponds to the theme
+    // registered with ThemedStyleSheet
+    if (styleDef && currentTheme === registeredTheme) {
+      return styleDef;
     }

-    return useGroup.unstable_propsAreEqual(prevProps, nextProps);
-  },
-  useProps: function useProps(options, _ref) {
-    var htmlRef = _ref.ref,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["ref"]);
+    if (false) {}

-    var ref = Object(external_React_["useRef"])(null);
-    var id = options.id; // We need this to be called before CompositeItems' register
+    var isRTL = direction === _constants.DIRECTIONS.RTL;

-    Object(useIsomorphicEffect["a" /* useIsomorphicEffect */])(function () {
-      var _options$registerGrou;
+    if (isRTL) {
+      styleDefRTL = styleFn ? _ThemedStyleSheet2['default'].createRTL(styleFn) : EMPTY_STYLES_FN;

-      if (!id) return undefined;
-      (_options$registerGrou = options.registerGroup) === null || _options$registerGrou === void 0 ? void 0 : _options$registerGrou.call(options, {
-        id: id,
-        ref: ref
-      });
-      return function () {
-        var _options$unregisterGr;
+      currentThemeRTL = registeredTheme;
+      styleDef = styleDefRTL;
+    } else {
+      styleDefLTR = styleFn ? _ThemedStyleSheet2['default'].createLTR(styleFn) : EMPTY_STYLES_FN;

-        (_options$unregisterGr = options.unregisterGroup) === null || _options$unregisterGr === void 0 ? void 0 : _options$unregisterGr.call(options, id);
-      };
-    }, [id, options.registerGroup, options.unregisterGroup]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(ref, htmlRef)
-    }, htmlProps);
-  }
-});
-var CompositeGroup = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  useHook: useCompositeGroup
-});
+      currentThemeLTR = registeredTheme;
+      styleDef = styleDefLTR;
+    }

+    if (false) { var measureName; }

+    return styleDef;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js
+  function getState(direction, wrappedComponentName) {
+    return {
+      resolveMethod: getResolveMethod(direction),
+      styleDef: getStyleDef(direction, wrappedComponentName)
+    };
+  }

+  return function () {
+    function withStylesHOC(WrappedComponent) {
+      var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';

-function alignment_matrix_control_icon_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+      // NOTE: Use a class here so components are ref-able if need be:
+      // eslint-disable-next-line react/prefer-stateless-function

-/**
- * External dependencies
- */
+      var WithStyles = function (_BaseClass) {
+        _inherits(WithStyles, _BaseClass);

-/**
- * Internal dependencies
- */
+        function WithStyles(props, context) {
+          _classCallCheck(this, WithStyles);

+          var _this = _possibleConstructorReturn(this, (WithStyles.__proto__ || Object.getPrototypeOf(WithStyles)).call(this, props, context));

+          var direction = _this.context[_constants.CHANNEL] ? _this.context[_constants.CHANNEL].getState() : defaultDirection;

-const alignment_matrix_control_icon_styles_rootSize = () => {
-  const padding = 1.5;
-  const size = 24;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    gridTemplateRows: `repeat( 3, calc( ${size - padding * 2}px / 3))`,
-    padding,
-    maxHeight: size,
-    maxWidth: size
-  },  true ? "" : undefined,  true ? "" : undefined);
-};
+          _this.state = getState(direction, wrappedComponentName);
+          return _this;
+        }

-const rootPointerEvents = _ref => {
-  let {
-    disablePointerEvents
-  } = _ref;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    pointerEvents: disablePointerEvents ? 'none' : null
-  },  true ? "" : undefined,  true ? "" : undefined);
-};
+        _createClass(WithStyles, [{
+          key: 'componentDidMount',
+          value: function () {
+            function componentDidMount() {
+              var _this2 = this;

-const alignment_matrix_control_icon_styles_Wrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "elqsdmc2"
-} : undefined)( true ? {
-  name: "ogl07i",
-  styles: "box-sizing:border-box;padding:2px"
-} : undefined);
-const alignment_matrix_control_icon_styles_Root = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "elqsdmc1"
-} : undefined)("transform-origin:top left;height:100%;width:100%;", rootBase, ";", alignment_matrix_control_icon_styles_rootSize, ";", rootPointerEvents, ";" + ( true ? "" : undefined));
+              if (this.context[_constants.CHANNEL]) {
+                // subscribe to future direction changes
+                this.channelUnsubscribe = this.context[_constants.CHANNEL].subscribe(function (direction) {
+                  _this2.setState(getState(direction, wrappedComponentName));
+                });
+              }
+            }

-const alignment_matrix_control_icon_styles_pointActive = _ref2 => {
-  let {
-    isActive
-  } = _ref2;
-  const boxShadow = isActive ? `0 0 0 1px currentColor` : null;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("box-shadow:", boxShadow, ";color:currentColor;*:hover>&{color:currentColor;}" + ( true ? "" : undefined),  true ? "" : undefined);
-};
+            return componentDidMount;
+          }()
+        }, {
+          key: 'componentWillUnmount',
+          value: function () {
+            function componentWillUnmount() {
+              if (this.channelUnsubscribe) {
+                this.channelUnsubscribe();
+              }
+            }

-const alignment_matrix_control_icon_styles_Point = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "elqsdmc0"
-} : undefined)("height:2px;width:2px;", pointBase, ";", alignment_matrix_control_icon_styles_pointActive, ";" + ( true ? "" : undefined));
-const alignment_matrix_control_icon_styles_Cell = Cell;
+            return componentWillUnmount;
+          }()
+        }, {
+          key: 'render',
+          value: function () {
+            function render() {
+              var _ref2;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/icon.js
+              // As some components will depend on previous styles in
+              // the component tree, we provide the option of flushing the
+              // buffered styles (i.e. to a style tag) **before** the rendering
+              // cycle begins.
+              //
+              // The interfaces provide the optional "flush" method which
+              // is run in turn by ThemedStyleSheet.flush.
+              if (flushBefore) {
+                _ThemedStyleSheet2['default'].flush();
+              }

+              var _state = this.state,
+                  resolveMethod = _state.resolveMethod,
+                  styleDef = _state.styleDef;


-/**
- * External dependencies
- */
+              return _react2['default'].createElement(WrappedComponent, _extends({}, this.props, (_ref2 = {}, _defineProperty(_ref2, themePropName, _ThemedStyleSheet2['default'].get()), _defineProperty(_ref2, stylesPropName, styleDef()), _defineProperty(_ref2, cssPropName, resolveMethod), _ref2)));
+            }

-/**
- * Internal dependencies
- */
+            return render;
+          }()
+        }]);

+        return WithStyles;
+      }(BaseClass);

+      WithStyles.WrappedComponent = WrappedComponent;
+      WithStyles.displayName = 'withStyles(' + String(wrappedComponentName) + ')';
+      WithStyles.contextTypes = contextTypes;
+      if (WrappedComponent.propTypes) {
+        WithStyles.propTypes = (0, _object2['default'])({}, WrappedComponent.propTypes);
+        delete WithStyles.propTypes[stylesPropName];
+        delete WithStyles.propTypes[themePropName];
+        delete WithStyles.propTypes[cssPropName];
+      }
+      if (WrappedComponent.defaultProps) {
+        WithStyles.defaultProps = (0, _object2['default'])({}, WrappedComponent.defaultProps);
+      }

-const BASE_SIZE = 24;
-function AlignmentMatrixControlIcon(_ref) {
-  let {
-    className,
-    disablePointerEvents = true,
-    size = BASE_SIZE,
-    style = {},
-    value = 'center',
-    ...props
-  } = _ref;
-  const alignIndex = getAlignmentIndex(value);
-  const scale = (size / BASE_SIZE).toFixed(2);
-  const classes = classnames_default()('component-alignment-matrix-control-icon', className);
-  const styles = { ...style,
-    transform: `scale(${scale})`
-  };
-  return Object(external_wp_element_["createElement"])(alignment_matrix_control_icon_styles_Root, Object(esm_extends["a" /* default */])({}, props, {
-    className: classes,
-    disablePointerEvents: disablePointerEvents,
-    role: "presentation",
-    size: size,
-    style: styles
-  }), ALIGNMENTS.map((align, index) => {
-    const isActive = alignIndex === index;
-    return Object(external_wp_element_["createElement"])(alignment_matrix_control_icon_styles_Cell, {
-      key: align
-    }, Object(external_wp_element_["createElement"])(alignment_matrix_control_icon_styles_Point, {
-      isActive: isActive
-    }));
-  }));
+      return (0, _hoistNonReactStatics2['default'])(WithStyles, WrappedComponent);
+    }
+
+    return withStylesHOC;
+  }();
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/index.js
+/***/ }),

+/***/ 9196:
+/***/ (function(module) {

+"use strict";
+module.exports = window["React"];

-/**
- * External dependencies
- */
+/***/ }),

+/***/ 6292:
+/***/ (function(module) {

-/**
- * WordPress dependencies
- */
+"use strict";
+module.exports = window["moment"];

+/***/ }),

+/***/ 4080:
+/***/ (function() {

+/* (ignored) */

-/**
- * Internal dependencies
- */
+/***/ }),

+/***/ 7472:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

+var $Array = GetIntrinsic('%Array%');

+// eslint-disable-next-line global-require
+var toStr = !$Array.isArray && __webpack_require__(9630)('Object.prototype.toString');

-function useBaseId(id) {
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(AlignmentMatrixControl, 'alignment-matrix-control');
-  return id || instanceId;
-}
+// https://ecma-international.org/ecma-262/6.0/#sec-isarray

-function AlignmentMatrixControl(_ref) {
-  let {
-    className,
-    id,
-    label = Object(external_wp_i18n_["__"])('Alignment Matrix Control'),
-    defaultValue = 'center center',
-    value,
-    onChange = external_lodash_["noop"],
-    width = 92,
-    ...props
-  } = _ref;
-  const [immutableDefaultValue] = Object(external_wp_element_["useState"])(value !== null && value !== void 0 ? value : defaultValue);
-  const baseId = useBaseId(id);
-  const initialCurrentId = utils_getItemId(baseId, immutableDefaultValue);
-  const composite = useCompositeState({
-    baseId,
-    currentId: initialCurrentId,
-    rtl: Object(external_wp_i18n_["isRTL"])()
-  });
+module.exports = $Array.isArray || function IsArray(argument) {
+	return toStr(argument) === '[object Array]';
+};

-  const handleOnChange = nextValue => {
-    onChange(nextValue);
-  };

-  Object(external_wp_element_["useEffect"])(() => {
-    if (typeof value !== 'undefined') {
-      composite.setCurrentId(utils_getItemId(baseId, value));
-    }
-  }, [value, composite.setCurrentId]);
-  const classes = classnames_default()('component-alignment-matrix-control', className);
-  return Object(external_wp_element_["createElement"])(Composite, Object(esm_extends["a" /* default */])({}, props, composite, {
-    "aria-label": label,
-    as: Root,
-    className: classes,
-    role: "grid",
-    width: width
-  }), GRID.map((cells, index) => Object(external_wp_element_["createElement"])(CompositeGroup, Object(esm_extends["a" /* default */])({}, composite, {
-    as: Row,
-    role: "row",
-    key: index
-  }), cells.map(cell => {
-    const cellId = utils_getItemId(baseId, cell);
-    const isActive = composite.currentId === cellId;
-    return Object(external_wp_element_["createElement"])(cell_Cell, Object(esm_extends["a" /* default */])({}, composite, {
-      id: cellId,
-      isActive: isActive,
-      key: cell,
-      value: cell,
-      onFocus: () => handleOnChange(cell),
-      tabIndex: isActive ? 0 : -1
-    }));
-  }))));
-}
-AlignmentMatrixControl.Icon = AlignmentMatrixControlIcon;
+/***/ }),

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/animate/index.js
-var build_module_animate = __webpack_require__("L8Kx");
-
-// CONCATENATED MODULE: ./node_modules/tslib/tslib.es6.js
-/*! *****************************************************************************
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-***************************************************************************** */
-/* global Reflect, Promise */
-
-var extendStatics = function(d, b) {
-    extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-    return extendStatics(d, b);
-};
-
-function __extends(d, b) {
-    if (typeof b !== "function" && b !== null)
-        throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-    extendStatics(d, b);
-    function __() { this.constructor = d; }
-    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-}
-
-var __assign = function() {
-    __assign = Object.assign || function __assign(t) {
-        for (var s, i = 1, n = arguments.length; i < n; i++) {
-            s = arguments[i];
-            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
-        }
-        return t;
-    }
-    return __assign.apply(this, arguments);
-}
-
-function __rest(s, e) {
-    var t = {};
-    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
-        t[p] = s[p];
-    if (s != null && typeof Object.getOwnPropertySymbols === "function")
-        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
-            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
-                t[p[i]] = s[p[i]];
-        }
-    return t;
-}
-
-function __decorate(decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-}
-
-function __param(paramIndex, decorator) {
-    return function (target, key) { decorator(target, key, paramIndex); }
-}
-
-function __metadata(metadataKey, metadataValue) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
-}
-
-function __awaiter(thisArg, _arguments, P, generator) {
-    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
-    return new (P || (P = Promise))(function (resolve, reject) {
-        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
-        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
-        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
-        step((generator = generator.apply(thisArg, _arguments || [])).next());
-    });
-}
-
-function __generator(thisArg, body) {
-    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
-    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
-    function verb(n) { return function (v) { return step([n, v]); }; }
-    function step(op) {
-        if (f) throw new TypeError("Generator is already executing.");
-        while (_) try {
-            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
-            if (y = 0, t) op = [op[0] & 2, t.value];
-            switch (op[0]) {
-                case 0: case 1: t = op; break;
-                case 4: _.label++; return { value: op[1], done: false };
-                case 5: _.label++; y = op[1]; op = [0]; continue;
-                case 7: op = _.ops.pop(); _.trys.pop(); continue;
-                default:
-                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
-                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
-                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
-                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
-                    if (t[2]) _.ops.pop();
-                    _.trys.pop(); continue;
-            }
-            op = body.call(thisArg, _);
-        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
-        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
-    }
-}
-
-var __createBinding = Object.create ? (function(o, m, k, k2) {
-    if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
-}) : (function(o, m, k, k2) {
-    if (k2 === undefined) k2 = k;
-    o[k2] = m[k];
-});
-
-function __exportStar(m, o) {
-    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
-}
-
-function __values(o) {
-    var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
-    if (m) return m.call(o);
-    if (o && typeof o.length === "number") return {
-        next: function () {
-            if (o && i >= o.length) o = void 0;
-            return { value: o && o[i++], done: !o };
-        }
-    };
-    throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
-}
-
-function __read(o, n) {
-    var m = typeof Symbol === "function" && o[Symbol.iterator];
-    if (!m) return o;
-    var i = m.call(o), r, ar = [], e;
-    try {
-        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
-    }
-    catch (error) { e = { error: error }; }
-    finally {
-        try {
-            if (r && !r.done && (m = i["return"])) m.call(i);
-        }
-        finally { if (e) throw e.error; }
-    }
-    return ar;
-}
-
-/** @deprecated */
-function __spread() {
-    for (var ar = [], i = 0; i < arguments.length; i++)
-        ar = ar.concat(__read(arguments[i]));
-    return ar;
-}
-
-/** @deprecated */
-function __spreadArrays() {
-    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
-    for (var r = Array(s), k = 0, i = 0; i < il; i++)
-        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
-            r[k] = a[j];
-    return r;
-}
-
-function __spreadArray(to, from, pack) {
-    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
-        if (ar || !(i in from)) {
-            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
-            ar[i] = from[i];
-        }
-    }
-    return to.concat(ar || Array.prototype.slice.call(from));
-}
-
-function __await(v) {
-    return this instanceof __await ? (this.v = v, this) : new __await(v);
-}
-
-function __asyncGenerator(thisArg, _arguments, generator) {
-    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
-    var g = generator.apply(thisArg, _arguments || []), i, q = [];
-    return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
-    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
-    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
-    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
-    function fulfill(value) { resume("next", value); }
-    function reject(value) { resume("throw", value); }
-    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
-}
-
-function __asyncDelegator(o) {
-    var i, p;
-    return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
-    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
-}
-
-function __asyncValues(o) {
-    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
-    var m = o[Symbol.asyncIterator], i;
-    return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
-    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
-    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
-}
-
-function __makeTemplateObject(cooked, raw) {
-    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
-    return cooked;
-};
-
-var __setModuleDefault = Object.create ? (function(o, v) {
-    Object.defineProperty(o, "default", { enumerable: true, value: v });
-}) : function(o, v) {
-    o["default"] = v;
-};
-
-function __importStar(mod) {
-    if (mod && mod.__esModule) return mod;
-    var result = {};
-    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
-    __setModuleDefault(result, mod);
-    return result;
-}
-
-function __importDefault(mod) {
-    return (mod && mod.__esModule) ? mod : { default: mod };
-}
-
-function __classPrivateFieldGet(receiver, state, kind, f) {
-    if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
-    if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
-    return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
-}
-
-function __classPrivateFieldSet(receiver, state, value, kind, f) {
-    if (kind === "m") throw new TypeError("Private method is not writable");
-    if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
-    if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
-    return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
-}
-
-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/definitions.js
-var createDefinition = function (propNames) { return ({
-    isEnabled: function (props) { return propNames.some(function (name) { return !!props[name]; }); },
-}); };
-var featureDefinitions = {
-    measureLayout: createDefinition([
-        "layout",
-        "layoutId",
-        "drag",
-        "_layoutResetTransform",
-    ]),
-    animation: createDefinition([
-        "animate",
-        "exit",
-        "variants",
-        "whileHover",
-        "whileTap",
-        "whileFocus",
-        "whileDrag",
-    ]),
-    exit: createDefinition(["exit"]),
-    drag: createDefinition(["drag", "dragControls"]),
-    focus: createDefinition(["whileFocus"]),
-    hover: createDefinition(["whileHover", "onHoverStart", "onHoverEnd"]),
-    tap: createDefinition(["whileTap", "onTap", "onTapStart", "onTapCancel"]),
-    pan: createDefinition([
-        "onPan",
-        "onPanStart",
-        "onPanSessionStart",
-        "onPanEnd",
-    ]),
-    layoutAnimation: createDefinition(["layout", "layoutId"]),
-};
-function loadFeatures(features) {
-    for (var key in features) {
-        var Component = features[key];
-        if (Component !== null)
-            featureDefinitions[key].Component = Component;
-    }
-}
-
-
-
-// CONCATENATED MODULE: ./node_modules/hey-listen/dist/hey-listen.es.js
-var warning = function () { };
-var invariant = function () { };
-if (false) {}
+/***/ 3665:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/LazyContext.js
+var GetIntrinsic = __webpack_require__(4219);

+var $ArrayPrototype = GetIntrinsic('%Array.prototype%');
+var $RangeError = GetIntrinsic('%RangeError%');
+var $SyntaxError = GetIntrinsic('%SyntaxError%');
+var $TypeError = GetIntrinsic('%TypeError%');

-var LazyContext = Object(external_React_["createContext"])({ strict: false });
+var IsIntegralNumber = __webpack_require__(485);

+var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;

+var $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || (
+	// eslint-disable-next-line no-proto, no-negated-condition
+	[].__proto__ !== $ArrayPrototype
+		? null
+		: function (O, proto) {
+			O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign
+			return O;
+		}
+);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/use-features.js
+// https://www.ecma-international.org/ecma-262/12.0/#sec-arraycreate

+module.exports = function ArrayCreate(length) {
+	if (!IsIntegralNumber(length) || length < 0) {
+		throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0');
+	}
+	if (length > MAX_ARRAY_LENGTH) {
+		throw new $RangeError('length is greater than (2**32 - 1)');
+	}
+	var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype;
+	var A = []; // steps 3, 5
+	if (proto !== $ArrayPrototype) { // step 4
+		if (!$setProto) {
+			throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]');
+		}
+		$setProto(A, proto);
+	}
+	if (length !== 0) { // bypasses the need for step 6
+		A.length = length;
+	}
+	/* step 6, the above as a shortcut for the below
+    OrdinaryDefineOwnProperty(A, 'length', {
+        '[[Configurable]]': false,
+        '[[Enumerable]]': false,
+        '[[Value]]': length,
+        '[[Writable]]': true
+    });
+    */
+	return A;
+};


+/***/ }),

+/***/ 1539:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-var featureNames = Object.keys(featureDefinitions);
-var numFeatures = featureNames.length;
-/**
- * Load features via renderless components based on the provided MotionProps.
- */
-function useFeatures(props, visualElement, preloadedFeatures) {
-    var features = [];
-    var lazyContext = Object(external_React_["useContext"])(LazyContext);
-    if (!visualElement)
-        return null;
-    /**
-     * If we're in development mode, check to make sure we're not rendering a motion component
-     * as a child of LazyMotion, as this will break the file-size benefits of using it.
-     */
-    if (false) {}
-    for (var i = 0; i < numFeatures; i++) {
-        var name_1 = featureNames[i];
-        var _a = featureDefinitions[name_1], isEnabled = _a.isEnabled, Component = _a.Component;
-        /**
-         * It might be possible in the future to use this moment to
-         * dynamically request functionality. In initial tests this
-         * was producing a lot of duplication amongst bundles.
-         */
-        if (isEnabled(props) && Component) {
-            features.push(external_React_["createElement"](Component, __assign({ key: name_1 }, props, { visualElement: visualElement })));
-        }
-    }
-    return features;
-}
+var GetIntrinsic = __webpack_require__(4219);

+var $species = GetIntrinsic('%Symbol.species%', true);
+var $TypeError = GetIntrinsic('%TypeError%');

+var ArrayCreate = __webpack_require__(3665);
+var Get = __webpack_require__(6448);
+var IsArray = __webpack_require__(5971);
+var IsConstructor = __webpack_require__(4065);
+var IsIntegralNumber = __webpack_require__(485);
+var Type = __webpack_require__(9747);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/MotionConfigContext.js
+// https://ecma-international.org/ecma-262/12.0/#sec-arrayspeciescreate

+module.exports = function ArraySpeciesCreate(originalArray, length) {
+	if (!IsIntegralNumber(length) || length < 0) {
+		throw new $TypeError('Assertion failed: length must be an integer >= 0');
+	}

-/**
- * @public
- */
-var MotionConfigContext = Object(external_React_["createContext"])({
-    transformPagePoint: function (p) { return p; },
-    isStatic: false,
-});
+	var isArray = IsArray(originalArray);
+	if (!isArray) {
+		return ArrayCreate(length);
+	}

+	var C = Get(originalArray, 'constructor');
+	// TODO: figure out how to make a cross-realm normal Array, a same-realm Array
+	// if (IsConstructor(C)) {
+	// 	if C is another realm's Array, C = undefined
+	// 	Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
+	// }
+	if ($species && Type(C) === 'Object') {
+		C = Get(C, $species);
+		if (C === null) {
+			C = void 0;
+		}
+	}

+	if (typeof C === 'undefined') {
+		return ArrayCreate(length);
+	}
+	if (!IsConstructor(C)) {
+		throw new $TypeError('C must be a constructor');
+	}
+	return new C(length); // Construct(C, length);
+};

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/MotionContext/index.js


-var MotionContext = Object(external_React_["createContext"])({});
-function useVisualElementContext() {
-    return Object(external_React_["useContext"])(MotionContext).visualElement;
-}
+/***/ }),

+/***/ 8323:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/PresenceContext.js

+var GetIntrinsic = __webpack_require__(4219);
+var callBound = __webpack_require__(9630);

-/**
- * @public
- */
-var PresenceContext = Object(external_React_["createContext"])(null);
+var $TypeError = GetIntrinsic('%TypeError%');

+var IsArray = __webpack_require__(5971);

+var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%');

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/use-constant.js
+// https://ecma-international.org/ecma-262/6.0/#sec-call

+module.exports = function Call(F, V) {
+	var argumentsList = arguments.length > 2 ? arguments[2] : [];
+	if (!IsArray(argumentsList)) {
+		throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');
+	}
+	return $apply(F, V, argumentsList);
+};

-/**
- * Creates a constant value over the lifecycle of a component.
- *
- * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer
- * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`
- * you can ensure that initialisers don't execute twice or more.
- */
-function useConstant(init) {
-    var ref = Object(external_React_["useRef"])(null);
-    if (ref.current === null) {
-        ref.current = init();
-    }
-    return ref.current;
-}

+/***/ }),

+/***/ 5597:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js
+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

+var $TypeError = GetIntrinsic('%TypeError%');

-/**
- * When a component is the child of `AnimatePresence`, it can use `usePresence`
- * to access information about whether it's still present in the React tree.
- *
- * ```jsx
- * import { usePresence } from "framer-motion"
- *
- * export const Component = () => {
- *   const [isPresent, safeToRemove] = usePresence()
- *
- *   useEffect(() => {
- *     !isPresent && setTimeout(safeToRemove, 1000)
- *   }, [isPresent])
- *
- *   return <div />
- * }
- * ```
- *
- * If `isPresent` is `false`, it means that a component has been removed the tree, but
- * `AnimatePresence` won't really remove it until `safeToRemove` has been called.
- *
- * @public
- */
-function usePresence() {
-    var context = Object(external_React_["useContext"])(PresenceContext);
-    if (context === null)
-        return [true, null];
-    var isPresent = context.isPresent, onExitComplete = context.onExitComplete, register = context.register;
-    // It's safe to call the following hooks conditionally (after an early return) because the context will always
-    // either be null or non-null for the lifespan of the component.
-    // Replace with useOpaqueId when released in React
-    var id = useUniqueId();
-    Object(external_React_["useEffect"])(function () { return register(id); }, []);
-    var safeToRemove = function () { return onExitComplete === null || onExitComplete === void 0 ? void 0 : onExitComplete(id); };
-    return !isPresent && onExitComplete ? [false, safeToRemove] : [true];
-}
-/**
- * Similar to `usePresence`, except `useIsPresent` simply returns whether or not the component is present.
- * There is no `safeToRemove` function.
- *
- * ```jsx
- * import { useIsPresent } from "framer-motion"
- *
- * export const Component = () => {
- *   const isPresent = useIsPresent()
- *
- *   useEffect(() => {
- *     !isPresent && console.log("I've been removed!")
- *   }, [isPresent])
- *
- *   return <div />
- * }
- * ```
- *
- * @public
- */
-function useIsPresent() {
-    return use_presence_isPresent(Object(external_React_["useContext"])(PresenceContext));
-}
-function use_presence_isPresent(context) {
-    return context === null ? true : context.isPresent;
-}
-var counter = 0;
-var incrementId = function () { return counter++; };
-var useUniqueId = function () { return useConstant(incrementId); };
+var DefineOwnProperty = __webpack_require__(1327);

+var FromPropertyDescriptor = __webpack_require__(8487);
+var OrdinaryGetOwnProperty = __webpack_require__(6403);
+var IsDataDescriptor = __webpack_require__(1392);
+var IsExtensible = __webpack_require__(3428);
+var IsPropertyKey = __webpack_require__(3290);
+var SameValue = __webpack_require__(9836);
+var Type = __webpack_require__(9747);

+// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/LayoutGroupContext.js
+module.exports = function CreateDataProperty(O, P, V) {
+	if (Type(O) !== 'Object') {
+		throw new $TypeError('Assertion failed: Type(O) is not Object');
+	}
+	if (!IsPropertyKey(P)) {
+		throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
+	}
+	var oldDesc = OrdinaryGetOwnProperty(O, P);
+	var extensible = !oldDesc || IsExtensible(O);
+	var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
+	if (immutable || !extensible) {
+		return false;
+	}
+	return DefineOwnProperty(
+		IsDataDescriptor,
+		SameValue,
+		FromPropertyDescriptor,
+		O,
+		P,
+		{
+			'[[Configurable]]': true,
+			'[[Enumerable]]': true,
+			'[[Value]]': V,
+			'[[Writable]]': true
+		}
+	);
+};


-/**
- * @internal
- */
-var LayoutGroupContext = Object(external_React_["createContext"])(null);
+/***/ }),

+/***/ 3323:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/is-browser.js
-var isBrowser = typeof window !== "undefined";

+var GetIntrinsic = __webpack_require__(4219);

+var $TypeError = GetIntrinsic('%TypeError%');

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js
+var CreateDataProperty = __webpack_require__(5597);
+var IsPropertyKey = __webpack_require__(3290);
+var Type = __webpack_require__(9747);

+// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow

+module.exports = function CreateDataPropertyOrThrow(O, P, V) {
+	if (Type(O) !== 'Object') {
+		throw new $TypeError('Assertion failed: Type(O) is not Object');
+	}
+	if (!IsPropertyKey(P)) {
+		throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
+	}
+	var success = CreateDataProperty(O, P, V);
+	if (!success) {
+		throw new $TypeError('unable to create data property');
+	}
+	return success;
+};

-var useIsomorphicLayoutEffect = isBrowser ? external_React_["useLayoutEffect"] : external_React_["useEffect"];

+/***/ }),

+/***/ 6356:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js
+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

+var $TypeError = GetIntrinsic('%TypeError%');

+var isPropertyDescriptor = __webpack_require__(8682);
+var DefineOwnProperty = __webpack_require__(1327);

+var FromPropertyDescriptor = __webpack_require__(8487);
+var IsAccessorDescriptor = __webpack_require__(7857);
+var IsDataDescriptor = __webpack_require__(1392);
+var IsPropertyKey = __webpack_require__(3290);
+var SameValue = __webpack_require__(9836);
+var ToPropertyDescriptor = __webpack_require__(2402);
+var Type = __webpack_require__(9747);

+// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow

+module.exports = function DefinePropertyOrThrow(O, P, desc) {
+	if (Type(O) !== 'Object') {
+		throw new $TypeError('Assertion failed: Type(O) is not Object');
+	}

+	if (!IsPropertyKey(P)) {
+		throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
+	}

+	var Desc = isPropertyDescriptor({
+		Type: Type,
+		IsDataDescriptor: IsDataDescriptor,
+		IsAccessorDescriptor: IsAccessorDescriptor
+	}, desc) ? desc : ToPropertyDescriptor(desc);
+	if (!isPropertyDescriptor({
+		Type: Type,
+		IsDataDescriptor: IsDataDescriptor,
+		IsAccessorDescriptor: IsAccessorDescriptor
+	}, Desc)) {
+		throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor');
+	}

-function useLayoutId(_a) {
-    var layoutId = _a.layoutId;
-    var layoutGroupId = Object(external_React_["useContext"])(LayoutGroupContext);
-    return layoutGroupId && layoutId !== undefined
-        ? layoutGroupId + "-" + layoutId
-        : layoutId;
-}
-function useVisualElement(Component, visualState, props, createVisualElement) {
-    var config = Object(external_React_["useContext"])(MotionConfigContext);
-    var lazyContext = Object(external_React_["useContext"])(LazyContext);
-    var parent = useVisualElementContext();
-    var presenceContext = Object(external_React_["useContext"])(PresenceContext);
-    var layoutId = useLayoutId(props);
-    var visualElementRef = Object(external_React_["useRef"])(undefined);
-    /**
-     * If we haven't preloaded a renderer, check to see if we have one lazy-loaded
-     */
-    if (!createVisualElement)
-        createVisualElement = lazyContext.renderer;
-    if (!visualElementRef.current && createVisualElement) {
-        visualElementRef.current = createVisualElement(Component, {
-            visualState: visualState,
-            parent: parent,
-            props: __assign(__assign({}, props), { layoutId: layoutId }),
-            presenceId: presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.id,
-            blockInitialAnimation: (presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.initial) === false,
-        });
-    }
-    var visualElement = visualElementRef.current;
-    useIsomorphicLayoutEffect(function () {
-        if (!visualElement)
-            return;
-        visualElement.setProps(__assign(__assign(__assign({}, config), props), { layoutId: layoutId }));
-        visualElement.isPresent = use_presence_isPresent(presenceContext);
-        visualElement.isPresenceRoot =
-            !parent || parent.presenceId !== (presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.id);
-        /**
-         * Fire a render to ensure the latest state is reflected on-screen.
-         */
-        visualElement.syncRender();
-    });
-    Object(external_React_["useEffect"])(function () {
-        var _a;
-        if (!visualElement)
-            return;
-        /**
-         * In a future refactor we can replace the features-as-components and
-         * have this loop through them all firing "effect" listeners
-         */
-        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.animateChanges();
-    });
-    useIsomorphicLayoutEffect(function () { return function () { return visualElement === null || visualElement === void 0 ? void 0 : visualElement.notifyUnmount(); }; }, []);
-    return visualElement;
-}
+	return DefineOwnProperty(
+		IsDataDescriptor,
+		SameValue,
+		FromPropertyDescriptor,
+		O,
+		P,
+		Desc
+	);
+};


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/is-ref-object.js
-function isRefObject(ref) {
-    return (typeof ref === "object" &&
-        Object.prototype.hasOwnProperty.call(ref, "current"));
-}
+/***/ 6739:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js
+var GetIntrinsic = __webpack_require__(4219);

+var $TypeError = GetIntrinsic('%TypeError%');

+var MAX_SAFE_INTEGER = __webpack_require__(8540);

-/**
- * Creates a ref function that, when called, hydrates the provided
- * external ref and VisualElement.
- */
-function useMotionRef(visualState, visualElement, externalRef) {
-    return Object(external_React_["useCallback"])(function (instance) {
-        var _a;
-        instance && ((_a = visualState.mount) === null || _a === void 0 ? void 0 : _a.call(visualState, instance));
-        if (visualElement) {
-            instance
-                ? visualElement.mount(instance)
-                : visualElement.unmount();
-        }
-        if (externalRef) {
-            if (typeof externalRef === "function") {
-                externalRef(instance);
-            }
-            else if (isRefObject(externalRef)) {
-                externalRef.current = instance;
-            }
-        }
-    },
-    /**
-     * Only pass a new ref callback to React if we've received a visual element
-     * factory. Otherwise we'll be mounting/remounting every time externalRef
-     * or other dependencies change.
-     */
-    [visualElement]);
-}
+var Call = __webpack_require__(8323);
+var CreateDataPropertyOrThrow = __webpack_require__(3323);
+var Get = __webpack_require__(6448);
+var HasProperty = __webpack_require__(3059);
+var IsArray = __webpack_require__(5971);
+var LengthOfArrayLike = __webpack_require__(2151);
+var ToString = __webpack_require__(6888);

+// https://262.ecma-international.org/11.0/#sec-flattenintoarray

+// eslint-disable-next-line max-params
+module.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) {
+	var mapperFunction;
+	if (arguments.length > 5) {
+		mapperFunction = arguments[5];
+	}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/variants.js
-/**
- * Decides if the supplied variable is an array of variant labels
- */
-function isVariantLabels(v) {
-    return Array.isArray(v);
-}
-/**
- * Decides if the supplied variable is variant label
- */
-function isVariantLabel(v) {
-    return typeof v === "string" || isVariantLabels(v);
-}
-/**
- * Creates an object containing the latest state of every MotionValue on a VisualElement
- */
-function getCurrent(visualElement) {
-    var current = {};
-    visualElement.forEachValue(function (value, key) { return (current[key] = value.get()); });
-    return current;
-}
-/**
- * Creates an object containing the latest velocity of every MotionValue on a VisualElement
- */
-function getVelocity(visualElement) {
-    var velocity = {};
-    visualElement.forEachValue(function (value, key) { return (velocity[key] = value.getVelocity()); });
-    return velocity;
-}
-function resolveVariantFromProps(props, definition, custom, currentValues, currentVelocity) {
-    var _a;
-    if (currentValues === void 0) { currentValues = {}; }
-    if (currentVelocity === void 0) { currentVelocity = {}; }
-    if (typeof definition === "string") {
-        definition = (_a = props.variants) === null || _a === void 0 ? void 0 : _a[definition];
-    }
-    return typeof definition === "function"
-        ? definition(custom !== null && custom !== void 0 ? custom : props.custom, currentValues, currentVelocity)
-        : definition;
-}
-function resolveVariant(visualElement, definition, custom) {
-    var props = visualElement.getProps();
-    return resolveVariantFromProps(props, definition, custom !== null && custom !== void 0 ? custom : props.custom, getCurrent(visualElement), getVelocity(visualElement));
-}
-function checkIfControllingVariants(props) {
-    var _a;
-    return (typeof ((_a = props.animate) === null || _a === void 0 ? void 0 : _a.start) === "function" ||
-        isVariantLabel(props.initial) ||
-        isVariantLabel(props.animate) ||
-        isVariantLabel(props.whileHover) ||
-        isVariantLabel(props.whileDrag) ||
-        isVariantLabel(props.whileTap) ||
-        isVariantLabel(props.whileFocus) ||
-        isVariantLabel(props.exit));
-}
-function checkIfVariantNode(props) {
-    return Boolean(checkIfControllingVariants(props) || props.variants);
-}
+	var targetIndex = start;
+	var sourceIndex = 0;
+	while (sourceIndex < sourceLen) {
+		var P = ToString(sourceIndex);
+		var exists = HasProperty(source, P);
+		if (exists === true) {
+			var element = Get(source, P);
+			if (typeof mapperFunction !== 'undefined') {
+				if (arguments.length <= 6) {
+					throw new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided');
+				}
+				element = Call(mapperFunction, arguments[6], [element, sourceIndex, source]);
+			}
+			var shouldFlatten = false;
+			if (depth > 0) {
+				shouldFlatten = IsArray(element);
+			}
+			if (shouldFlatten) {
+				var elementLen = LengthOfArrayLike(element);
+				targetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1);
+			} else {
+				if (targetIndex >= MAX_SAFE_INTEGER) {
+					throw new $TypeError('index too large');
+				}
+				CreateDataPropertyOrThrow(target, ToString(targetIndex), element);
+				targetIndex += 1;
+			}
+		}
+		sourceIndex += 1;
+	}

+	return targetIndex;
+};


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/MotionContext/utils.js
+/***/ }),

+/***/ 8487:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-function getCurrentTreeVariants(props, context) {
-    if (checkIfControllingVariants(props)) {
-        var initial = props.initial, animate = props.animate;
-        return {
-            initial: initial === false || isVariantLabel(initial)
-                ? initial
-                : undefined,
-            animate: isVariantLabel(animate) ? animate : undefined,
-        };
-    }
-    return props.inherit !== false ? context : {};
-}
+"use strict";


+var assertRecord = __webpack_require__(5114);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/MotionContext/create.js
+var Type = __webpack_require__(9747);

+// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor

+module.exports = function FromPropertyDescriptor(Desc) {
+	if (typeof Desc === 'undefined') {
+		return Desc;
+	}

+	assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
+
+	var obj = {};
+	if ('[[Value]]' in Desc) {
+		obj.value = Desc['[[Value]]'];
+	}
+	if ('[[Writable]]' in Desc) {
+		obj.writable = Desc['[[Writable]]'];
+	}
+	if ('[[Get]]' in Desc) {
+		obj.get = Desc['[[Get]]'];
+	}
+	if ('[[Set]]' in Desc) {
+		obj.set = Desc['[[Set]]'];
+	}
+	if ('[[Enumerable]]' in Desc) {
+		obj.enumerable = Desc['[[Enumerable]]'];
+	}
+	if ('[[Configurable]]' in Desc) {
+		obj.configurable = Desc['[[Configurable]]'];
+	}
+	return obj;
+};

-function useCreateMotionContext(props, isStatic) {
-    var _a = getCurrentTreeVariants(props, Object(external_React_["useContext"])(MotionContext)), initial = _a.initial, animate = _a.animate;
-    return Object(external_React_["useMemo"])(function () { return ({ initial: initial, animate: animate }); },
-    /**
-     * Only break memoisation in static mode
-     */
-    isStatic
-        ? [
-            variantLabelsAsDependency(initial),
-            variantLabelsAsDependency(animate),
-        ]
-        : []);
-}
-function variantLabelsAsDependency(prop) {
-    return Array.isArray(prop) ? prop.join(" ") : prop;
-}

+/***/ }),
+
+/***/ 6448:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/index.js

+var GetIntrinsic = __webpack_require__(4219);

+var $TypeError = GetIntrinsic('%TypeError%');

+var inspect = __webpack_require__(3205);

+var IsPropertyKey = __webpack_require__(3290);
+var Type = __webpack_require__(9747);

+/**
+ * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p
+ * 1. Assert: Type(O) is Object.
+ * 2. Assert: IsPropertyKey(P) is true.
+ * 3. Return O.[[Get]](P, O).
+ */

+module.exports = function Get(O, P) {
+	// 7.3.1.1
+	if (Type(O) !== 'Object') {
+		throw new $TypeError('Assertion failed: Type(O) is not Object');
+	}
+	// 7.3.1.2
+	if (!IsPropertyKey(P)) {
+		throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
+	}
+	// 7.3.1.3
+	return O[P];
+};


+/***/ }),

+/***/ 3059:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-/**
- * Create a `motion` component.
- *
- * This function accepts a Component argument, which can be either a string (ie "div"
- * for `motion.div`), or an actual React component.
- *
- * Alongside this is a config option which provides a way of rendering the provided
- * component "offline", or outside the React render cycle.
- *
- * @internal
- */
-function createMotionComponent(_a) {
-    var preloadedFeatures = _a.preloadedFeatures, createVisualElement = _a.createVisualElement, useRender = _a.useRender, useVisualState = _a.useVisualState, Component = _a.Component;
-    preloadedFeatures && loadFeatures(preloadedFeatures);
-    function MotionComponent(props, externalRef) {
-        /**
-         * If we're rendering in a static environment, we only visually update the component
-         * as a result of a React-rerender rather than interactions or animations. This
-         * means we don't need to load additional memory structures like VisualElement,
-         * or any gesture/animation features.
-         */
-        var isStatic = Object(external_React_["useContext"])(MotionConfigContext).isStatic;
-        var features = null;
-        /**
-         * Create the tree context. This is memoized and will only trigger renders
-         * when the current tree variant changes in static mode.
-         */
-        var context = useCreateMotionContext(props, isStatic);
-        /**
-         *
-         */
-        var visualState = useVisualState(props, isStatic);
-        if (!isStatic && isBrowser) {
-            /**
-             * Create a VisualElement for this component. A VisualElement provides a common
-             * interface to renderer-specific APIs (ie DOM/Three.js etc) as well as
-             * providing a way of rendering to these APIs outside of the React render loop
-             * for more performant animations and interactions
-             */
-            context.visualElement = useVisualElement(Component, visualState, props, createVisualElement);
-            /**
-             * Load Motion gesture and animation features. These are rendered as renderless
-             * components so each feature can optionally make use of React lifecycle methods.
-             *
-             * TODO: The intention is to move these away from a React-centric to a
-             * VisualElement-centric lifecycle scheme.
-             */
-            features = useFeatures(props, context.visualElement, preloadedFeatures);
-        }
-        /**
-         * The mount order and hierarchy is specific to ensure our element ref
-         * is hydrated by the time features fire their effects.
-         */
-        return (external_React_["createElement"](external_React_["Fragment"], null,
-            external_React_["createElement"](MotionContext.Provider, { value: context }, useRender(Component, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic)),
-            features));
-    }
-    return Object(external_React_["forwardRef"])(MotionComponent);
-}

+var GetIntrinsic = __webpack_require__(4219);

+var $TypeError = GetIntrinsic('%TypeError%');

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/motion-proxy.js
+var IsPropertyKey = __webpack_require__(3290);
+var Type = __webpack_require__(9747);

+// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty

-/**
- * Convert any React component into a `motion` component. The provided component
- * **must** use `React.forwardRef` to the underlying DOM component you want to animate.
- *
- * ```jsx
- * const Component = React.forwardRef((props, ref) => {
- *   return <div ref={ref} />
- * })
- *
- * const MotionComponent = motion(Component)
- * ```
- *
- * @public
- */
-function createMotionProxy(createConfig) {
-    function custom(Component, customMotionComponentConfig) {
-        if (customMotionComponentConfig === void 0) { customMotionComponentConfig = {}; }
-        return createMotionComponent(createConfig(Component, customMotionComponentConfig));
-    }
-    /**
-     * A cache of generated `motion` components, e.g `motion.div`, `motion.input` etc.
-     * Rather than generating them anew every render.
-     */
-    var componentCache = new Map();
-    return new Proxy(custom, {
-        /**
-         * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
-         * The prop name is passed through as `key` and we can use that to generate a `motion`
-         * DOM component with that name.
-         */
-        get: function (_target, key) {
-            /**
-             * If this element doesn't exist in the component cache, create it and cache.
-             */
-            if (!componentCache.has(key)) {
-                componentCache.set(key, custom(key));
-            }
-            return componentCache.get(key);
-        },
-    });
-}
+module.exports = function HasProperty(O, P) {
+	if (Type(O) !== 'Object') {
+		throw new $TypeError('Assertion failed: `O` must be an Object');
+	}
+	if (!IsPropertyKey(P)) {
+		throw new $TypeError('Assertion failed: `P` must be a Property Key');
+	}
+	return P in O;
+};


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js
-/**
- * We keep these listed seperately as we use the lowercase tag names as part
- * of the runtime bundle to detect SVG components
- */
-var lowercaseSVGElements = [
-    "animate",
-    "circle",
-    "defs",
-    "desc",
-    "ellipse",
-    "g",
-    "image",
-    "line",
-    "filter",
-    "marker",
-    "mask",
-    "metadata",
-    "path",
-    "pattern",
-    "polygon",
-    "polyline",
-    "rect",
-    "stop",
-    "svg",
-    "switch",
-    "symbol",
-    "text",
-    "tspan",
-    "use",
-    "view",
-];
+/***/ 7857:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js
+var has = __webpack_require__(9284);

+var assertRecord = __webpack_require__(5114);

-function isSVGComponent(Component) {
-    if (
-    /**
-     * If it's not a string, it's a custom React component. Currently we only support
-     * HTML custom React components.
-     */
-    typeof Component !== "string" ||
-        /**
-         * If it contains a dash, the element is a custom HTML webcomponent.
-         */
-        Component.includes("-")) {
-        return false;
-    }
-    else if (
-    /**
-     * If it's in our list of lowercase SVG tags, it's an SVG component
-     */
-    lowercaseSVGElements.indexOf(Component) > -1 ||
-        /**
-         * If it contains a capital letter, it's an SVG component
-         */
-        /[A-Z]/.test(Component)) {
-        return true;
-    }
-    return false;
-}
+var Type = __webpack_require__(9747);

+// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor

+module.exports = function IsAccessorDescriptor(Desc) {
+	if (typeof Desc === 'undefined') {
+		return false;
+	}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/scale-correction.js
-var valueScaleCorrection = {};
-/**
- * @internal
- */
-function addScaleCorrection(correctors) {
-    for (var key in correctors) {
-        valueScaleCorrection[key] = correctors[key];
-    }
-}
+	assertRecord(Type, 'Property Descriptor', 'Desc', Desc);

+	if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) {
+		return false;
+	}

+	return true;
+};

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/transform.js
-/**
- * A list of all transformable axes. We'll use this list to generated a version
- * of each axes for each transform.
- */
-var transformAxes = ["", "X", "Y", "Z"];
-/**
- * An ordered array of each transformable value. By default, transform values
- * will be sorted to this order.
- */
-var transform_order = ["translate", "scale", "rotate", "skew"];
-/**
- * Generate a list of every possible transform key.
- */
-var transformProps = ["transformPerspective", "x", "y", "z"];
-transform_order.forEach(function (operationKey) {
-    return transformAxes.forEach(function (axesKey) {
-        return transformProps.push(operationKey + axesKey);
-    });
-});
-/**
- * A function to use with Array.sort to sort transform keys by their default order.
- */
-function sortTransformProps(a, b) {
-    return transformProps.indexOf(a) - transformProps.indexOf(b);
-}
-/**
- * A quick lookup for transform props.
- */
-var transformPropSet = new Set(transformProps);
-function isTransformProp(key) {
-    return transformPropSet.has(key);
-}
-/**
- * A quick lookup for transform origin props
- */
-var transformOriginProps = new Set(["originX", "originY", "originZ"]);
-function isTransformOriginProp(key) {
-    return transformOriginProps.has(key);
-}

+/***/ }),

+/***/ 5971:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js
+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

-function isForcedMotionValue(key, _a) {
-    var layout = _a.layout, layoutId = _a.layoutId;
-    return (isTransformProp(key) ||
-        isTransformOriginProp(key) ||
-        ((layout || layoutId !== undefined) &&
-            (!!valueScaleCorrection[key] || key === "opacity")));
-}
+var $Array = GetIntrinsic('%Array%');

+// eslint-disable-next-line global-require
+var toStr = !$Array.isArray && __webpack_require__(9630)('Object.prototype.toString');

+// https://ecma-international.org/ecma-262/6.0/#sec-isarray

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/value/utils/is-motion-value.js
-var isMotionValue = function (value) {
-    return value !== null && typeof value === "object" && value.getVelocity;
+module.exports = $Array.isArray || function IsArray(argument) {
+	return toStr(argument) === '[object Array]';
 };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/build-transform.js
+/***/ 1089:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-var translateAlias = {
-    x: "translateX",
-    y: "translateY",
-    z: "translateZ",
-    transformPerspective: "perspective",
-};
-/**
- * Build a CSS transform style from individual x/y/scale etc properties.
- *
- * This outputs with a default order of transforms/scales/rotations, this can be customised by
- * providing a transformTemplate function.
- */
-function buildTransform(_a, _b, transformIsDefault, transformTemplate) {
-    var transform = _a.transform, transformKeys = _a.transformKeys;
-    var _c = _b.enableHardwareAcceleration, enableHardwareAcceleration = _c === void 0 ? true : _c, _d = _b.allowTransformNone, allowTransformNone = _d === void 0 ? true : _d;
-    // The transform string we're going to build into.
-    var transformString = "";
-    // Transform keys into their default order - this will determine the output order.
-    transformKeys.sort(sortTransformProps);
-    // Track whether the defined transform has a defined z so we don't add a
-    // second to enable hardware acceleration
-    var transformHasZ = false;
-    // Loop over each transform and build them into transformString
-    var numTransformKeys = transformKeys.length;
-    for (var i = 0; i < numTransformKeys; i++) {
-        var key = transformKeys[i];
-        transformString += (translateAlias[key] || key) + "(" + transform[key] + ") ";
-        if (key === "z")
-            transformHasZ = true;
-    }
-    if (!transformHasZ && enableHardwareAcceleration) {
-        transformString += "translateZ(0)";
-    }
-    else {
-        transformString = transformString.trim();
-    }
-    // If we have a custom `transform` template, pass our transform values and
-    // generated transformString to that before returning
-    if (transformTemplate) {
-        transformString = transformTemplate(transform, transformIsDefault ? "" : transformString);
-    }
-    else if (allowTransformNone && transformIsDefault) {
-        transformString = "none";
-    }
-    return transformString;
-}
-/**
- * Build a transformOrigin style. Uses the same defaults as the browser for
- * undefined origins.
- */
-function buildTransformOrigin(_a) {
-    var _b = _a.originX, originX = _b === void 0 ? "50%" : _b, _c = _a.originY, originY = _c === void 0 ? "50%" : _c, _d = _a.originZ, originZ = _d === void 0 ? 0 : _d;
-    return originX + " " + originY + " " + originZ;
-}

+// http://262.ecma-international.org/5.1/#sec-9.11

+module.exports = __webpack_require__(4363);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js
-/**
- * Returns true if the provided key is a CSS variable
- */
-function isCSSVariable(key) {
-    return key.startsWith("--");
-}

+/***/ }),

+/***/ 4065:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js
-/**
- * Provided a value and a ValueType, returns the value as that value type.
- */
-var getValueAsType = function (value, type) {
-    return type && typeof value === "number"
-        ? type.transform(value)
-        : value;
-};
+"use strict";


+var GetIntrinsic = __webpack_require__(137);

-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/utils.js
-var clamp = function (min, max) { return function (v) {
-    return Math.max(Math.min(v, max), min);
-}; };
-var utils_sanitize = function (v) { return (v % 1 ? Number(v.toFixed(5)) : v); };
-var floatRegex = /(-)?([\d]*\.?[\d])+/g;
-var colorRegex = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi;
-var singleColorRegex = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;
-function isString(v) {
-    return typeof v === 'string';
-}
+var $construct = GetIntrinsic('%Reflect.construct%', true);

+var DefinePropertyOrThrow = __webpack_require__(6356);
+try {
+	DefinePropertyOrThrow({}, '', { '[[Get]]': function () {} });
+} catch (e) {
+	// Accessor properties aren't supported
+	DefinePropertyOrThrow = null;
+}

+// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor

-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/numbers/units.js
+if (DefinePropertyOrThrow && $construct) {
+	var isConstructorMarker = {};
+	var badArrayLike = {};
+	DefinePropertyOrThrow(badArrayLike, 'length', {
+		'[[Get]]': function () {
+			throw isConstructorMarker;
+		},
+		'[[Enumerable]]': true
+	});

+	module.exports = function IsConstructor(argument) {
+		try {
+			// `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`:
+			$construct(argument, badArrayLike);
+		} catch (err) {
+			return err === isConstructorMarker;
+		}
+	};
+} else {
+	module.exports = function IsConstructor(argument) {
+		// unfortunately there's no way to truly check this without try/catch `new argument` in old environments
+		return typeof argument === 'function' && !!argument.prototype;
+	};
+}


-var createUnitType = function (unit) { return ({
-    test: function (v) {
-        return isString(v) && v.endsWith(unit) && v.split(' ').length === 1;
-    },
-    parse: parseFloat,
-    transform: function (v) { return "" + v + unit; },
-}); };
-var degrees = createUnitType('deg');
-var percent = createUnitType('%');
-var px = createUnitType('px');
-var vh = createUnitType('vh');
-var vw = createUnitType('vw');
-var progressPercentage = __assign(__assign({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });
+/***/ }),

+/***/ 1392:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/numbers/index.js

+var has = __webpack_require__(9284);

+var assertRecord = __webpack_require__(5114);

-var numbers_number = {
-    test: function (v) { return typeof v === 'number'; },
-    parse: parseFloat,
-    transform: function (v) { return v; },
-};
-var numbers_alpha = __assign(__assign({}, numbers_number), { transform: clamp(0, 1) });
-var numbers_scale = __assign(__assign({}, numbers_number), { default: 1 });
+var Type = __webpack_require__(9747);

+// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor

+module.exports = function IsDataDescriptor(Desc) {
+	if (typeof Desc === 'undefined') {
+		return false;
+	}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js
+	assertRecord(Type, 'Property Descriptor', 'Desc', Desc);

+	if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {
+		return false;
+	}

+	return true;
+};

-var type_int_int = __assign(__assign({}, numbers_number), { transform: Math.round });

+/***/ }),

+/***/ 3428:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/number.js
+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

-var numberValueTypes = {
-    // Border props
-    borderWidth: px,
-    borderTopWidth: px,
-    borderRightWidth: px,
-    borderBottomWidth: px,
-    borderLeftWidth: px,
-    borderRadius: px,
-    radius: px,
-    borderTopLeftRadius: px,
-    borderTopRightRadius: px,
-    borderBottomRightRadius: px,
-    borderBottomLeftRadius: px,
-    // Positioning props
-    width: px,
-    maxWidth: px,
-    height: px,
-    maxHeight: px,
-    size: px,
-    top: px,
-    right: px,
-    bottom: px,
-    left: px,
-    // Spacing props
-    padding: px,
-    paddingTop: px,
-    paddingRight: px,
-    paddingBottom: px,
-    paddingLeft: px,
-    margin: px,
-    marginTop: px,
-    marginRight: px,
-    marginBottom: px,
-    marginLeft: px,
-    // Transform props
-    rotate: degrees,
-    rotateX: degrees,
-    rotateY: degrees,
-    rotateZ: degrees,
-    scale: numbers_scale,
-    scaleX: numbers_scale,
-    scaleY: numbers_scale,
-    scaleZ: numbers_scale,
-    skew: degrees,
-    skewX: degrees,
-    skewY: degrees,
-    distance: px,
-    translateX: px,
-    translateY: px,
-    translateZ: px,
-    x: px,
-    y: px,
-    z: px,
-    perspective: px,
-    transformPerspective: px,
-    opacity: numbers_alpha,
-    originX: progressPercentage,
-    originY: progressPercentage,
-    originZ: px,
-    // Misc
-    zIndex: type_int_int,
-    // SVG
-    fillOpacity: numbers_alpha,
-    strokeOpacity: numbers_alpha,
-    numOctaves: type_int_int,
-};
+var $Object = GetIntrinsic('%Object%');

+var isPrimitive = __webpack_require__(5019);

+var $preventExtensions = $Object.preventExtensions;
+var $isExtensible = $Object.isExtensible;

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/build-styles.js
+// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o

+module.exports = $preventExtensions
+	? function IsExtensible(obj) {
+		return !isPrimitive(obj) && $isExtensible(obj);
+	}
+	: function IsExtensible(obj) {
+		return !isPrimitive(obj);
+	};


+/***/ }),

+/***/ 485:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-function buildHTMLStyles(state, latestValues, projection, layoutState, options, transformTemplate, buildProjectionTransform, buildProjectionTransformOrigin) {
-    var _a;
-    var style = state.style, vars = state.vars, transform = state.transform, transformKeys = state.transformKeys, transformOrigin = state.transformOrigin;
-    // Empty the transformKeys array. As we're throwing out refs to its items
-    // this might not be as cheap as suspected. Maybe using the array as a buffer
-    // with a manual incrementation would be better.
-    transformKeys.length = 0;
-    // Track whether we encounter any transform or transformOrigin values.
-    var hasTransform = false;
-    var hasTransformOrigin = false;
-    // Does the calculated transform essentially equal "none"?
-    var transformIsNone = true;
-    /**
-     * Loop over all our latest animated values and decide whether to handle them
-     * as a style or CSS variable.
-     *
-     * Transforms and transform origins are kept seperately for further processing.
-     */
-    for (var key in latestValues) {
-        var value = latestValues[key];
-        /**
-         * If this is a CSS variable we don't do any further processing.
-         */
-        if (isCSSVariable(key)) {
-            vars[key] = value;
-            continue;
-        }
-        // Convert the value to its default value type, ie 0 -> "0px"
-        var valueType = numberValueTypes[key];
-        var valueAsType = getValueAsType(value, valueType);
-        if (isTransformProp(key)) {
-            // If this is a transform, flag to enable further transform processing
-            hasTransform = true;
-            transform[key] = valueAsType;
-            transformKeys.push(key);
-            // If we already know we have a non-default transform, early return
-            if (!transformIsNone)
-                continue;
-            // Otherwise check to see if this is a default transform
-            if (value !== ((_a = valueType.default) !== null && _a !== void 0 ? _a : 0))
-                transformIsNone = false;
-        }
-        else if (isTransformOriginProp(key)) {
-            transformOrigin[key] = valueAsType;
-            // If this is a transform origin, flag and enable further transform-origin processing
-            hasTransformOrigin = true;
-        }
-        else {
-            /**
-             * If layout projection is on, and we need to perform scale correction for this
-             * value type, perform it.
-             */
-            if ((projection === null || projection === void 0 ? void 0 : projection.isHydrated) &&
-                (layoutState === null || layoutState === void 0 ? void 0 : layoutState.isHydrated) &&
-                valueScaleCorrection[key]) {
-                var correctedValue = valueScaleCorrection[key].process(value, layoutState, projection);
-                /**
-                 * Scale-correctable values can define a number of other values to break
-                 * down into. For instance borderRadius needs applying to borderBottomLeftRadius etc
-                 */
-                var applyTo = valueScaleCorrection[key].applyTo;
-                if (applyTo) {
-                    var num = applyTo.length;
-                    for (var i = 0; i < num; i++) {
-                        style[applyTo[i]] = correctedValue;
-                    }
-                }
-                else {
-                    style[key] = correctedValue;
-                }
-            }
-            else {
-                style[key] = valueAsType;
-            }
-        }
-    }
-    if (layoutState &&
-        projection &&
-        buildProjectionTransform &&
-        buildProjectionTransformOrigin) {
-        style.transform = buildProjectionTransform(layoutState.deltaFinal, layoutState.treeScale, hasTransform ? transform : undefined);
-        if (transformTemplate) {
-            style.transform = transformTemplate(transform, style.transform);
-        }
-        style.transformOrigin = buildProjectionTransformOrigin(layoutState);
-    }
-    else {
-        if (hasTransform) {
-            style.transform = buildTransform(state, options, transformIsNone, transformTemplate);
-        }
-        if (hasTransformOrigin) {
-            style.transformOrigin = buildTransformOrigin(transformOrigin);
-        }
-    }
-}
+var abs = __webpack_require__(13);
+var floor = __webpack_require__(5127);
+var Type = __webpack_require__(9747);

+var $isNaN = __webpack_require__(3234);
+var $isFinite = __webpack_require__(7061);

+// https://tc39.es/ecma262/#sec-isintegralnumber

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js
-var createHtmlRenderState = function () { return ({
-    style: {},
-    transform: {},
-    transformKeys: [],
-    transformOrigin: {},
-    vars: {},
-}); };
+module.exports = function IsIntegralNumber(argument) {
+	if (Type(argument) !== 'Number' || $isNaN(argument) || !$isFinite(argument)) {
+		return false;
+	}
+	var absValue = abs(argument);
+	return floor(absValue) === absValue;
+};


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/use-props.js
+/***/ 3290:
+/***/ (function(module) {

+"use strict";


+// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey

+module.exports = function IsPropertyKey(argument) {
+	return typeof argument === 'string' || typeof argument === 'symbol';
+};


+/***/ }),

-function copyRawValuesOnly(target, source, props) {
-    for (var key in source) {
-        if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {
-            target[key] = source[key];
-        }
-    }
-}
-function useInitialMotionValues(_a, visualState, isStatic) {
-    var transformTemplate = _a.transformTemplate;
-    return Object(external_React_["useMemo"])(function () {
-        var state = createHtmlRenderState();
-        buildHTMLStyles(state, visualState, undefined, undefined, { enableHardwareAcceleration: !isStatic }, transformTemplate);
-        var vars = state.vars, style = state.style;
-        return __assign(__assign({}, vars), style);
-    }, [visualState]);
-}
-function useStyle(props, visualState, isStatic) {
-    var styleProp = props.style || {};
-    var style = {};
-    /**
-     * Copy non-Motion Values straight into style
-     */
-    copyRawValuesOnly(style, styleProp, props);
-    Object.assign(style, useInitialMotionValues(props, visualState, isStatic));
-    if (props.transformValues) {
-        style = props.transformValues(style);
-    }
-    return style;
-}
-function useHTMLProps(props, visualState, isStatic) {
-    // The `any` isn't ideal but it is the type of createElement props argument
-    var htmlProps = {};
-    var style = useStyle(props, visualState, isStatic);
-    if (Boolean(props.drag)) {
-        // Disable the ghost element when a user drags
-        htmlProps.draggable = false;
-        // Disable text selection
-        style.userSelect = style.WebkitUserSelect = style.WebkitTouchCallout =
-            "none";
-        // Disable scrolling on the draggable direction
-        style.touchAction =
-            props.drag === true
-                ? "none"
-                : "pan-" + (props.drag === "x" ? "y" : "x");
-    }
-    htmlProps.style = style;
-    return htmlProps;
-}
+/***/ 1275:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/valid-prop.js
-/**
- * A list of all valid MotionProps.
- *
- * @internalremarks
- * This doesn't throw if a `MotionProp` name is missing - it should.
- */
-var validMotionProps = new Set([
-    "initial",
-    "animate",
-    "exit",
-    "style",
-    "variants",
-    "transition",
-    "transformTemplate",
-    "transformValues",
-    "custom",
-    "inherit",
-    "layout",
-    "layoutId",
-    "_layoutResetTransform",
-    "onLayoutAnimationComplete",
-    "onViewportBoxUpdate",
-    "onLayoutMeasure",
-    "onBeforeLayoutMeasure",
-    "onAnimationStart",
-    "onAnimationComplete",
-    "onUpdate",
-    "onDragStart",
-    "onDrag",
-    "onDragEnd",
-    "onMeasureDragConstraints",
-    "onDirectionLock",
-    "onDragTransitionEnd",
-    "drag",
-    "dragControls",
-    "dragListener",
-    "dragConstraints",
-    "dragDirectionLock",
-    "_dragX",
-    "_dragY",
-    "dragElastic",
-    "dragMomentum",
-    "dragPropagation",
-    "dragTransition",
-    "whileDrag",
-    "onPan",
-    "onPanStart",
-    "onPanEnd",
-    "onPanSessionStart",
-    "onTap",
-    "onTapStart",
-    "onTapCancel",
-    "onHoverStart",
-    "onHoverEnd",
-    "whileFocus",
-    "whileTap",
-    "whileHover",
-]);
-/**
- * Check whether a prop name is a valid `MotionProp` key.
- *
- * @param key - Name of the property to check
- * @returns `true` is key is a valid `MotionProp`.
- *
- * @public
- */
-function isValidMotionProp(key) {
-    return validMotionProps.has(key);
-}
+var GetIntrinsic = __webpack_require__(4219);

+var $match = GetIntrinsic('%Symbol.match%', true);

+var hasRegExpMatcher = __webpack_require__(4221);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js
+var ToBoolean = __webpack_require__(3704);

+// https://ecma-international.org/ecma-262/6.0/#sec-isregexp

-var shouldForward = function (key) { return !isValidMotionProp(key); };
-/**
- * Emotion and Styled Components both allow users to pass through arbitrary props to their components
- * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which
- * of these should be passed to the underlying DOM node.
- *
- * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props
- * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props
- * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of
- * `@emotion/is-prop-valid`, however to fix this problem we need to use it.
- *
- * By making it an optionalDependency we can offer this functionality only in the situations where it's
- * actually required.
- */
-try {
-    var emotionIsPropValid_1 = __webpack_require__("gCm3").default;
-    shouldForward = function (key) {
-        // Handle events explicitly as Emotion validates them all as true
-        if (key.startsWith("on")) {
-            return !isValidMotionProp(key);
-        }
-        else {
-            return emotionIsPropValid_1(key);
-        }
-    };
-}
-catch (_a) {
-    // We don't need to actually do anything here - the fallback is the existing `isPropValid`.
-}
-function filterProps(props, isDom, forwardMotionProps) {
-    var filteredProps = {};
-    for (var key in props) {
-        if (shouldForward(key) ||
-            (forwardMotionProps === true && isValidMotionProp(key)) ||
-            (!isDom && !isValidMotionProp(key))) {
-            filteredProps[key] = props[key];
-        }
-    }
-    return filteredProps;
-}
+module.exports = function IsRegExp(argument) {
+	if (!argument || typeof argument !== 'object') {
+		return false;
+	}
+	if ($match) {
+		var isRegExp = argument[$match];
+		if (typeof isRegExp !== 'undefined') {
+			return ToBoolean(isRegExp);
+		}
+	}
+	return hasRegExpMatcher(argument);
+};


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js
+/***/ 2151:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-function calcOrigin(origin, offset, size) {
-    return typeof origin === "string"
-        ? origin
-        : px.transform(offset + size * origin);
-}
-/**
- * The SVG transform origin defaults are different to CSS and is less intuitive,
- * so we use the measured dimensions of the SVG to reconcile these.
- */
-function calcSVGTransformOrigin(dimensions, originX, originY) {
-    var pxOriginX = calcOrigin(originX, dimensions.x, dimensions.width);
-    var pxOriginY = calcOrigin(originY, dimensions.y, dimensions.height);
-    return pxOriginX + " " + pxOriginY;
-}

+var GetIntrinsic = __webpack_require__(4219);

+var $TypeError = GetIntrinsic('%TypeError%');

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/path.js
+var Get = __webpack_require__(6448);
+var ToLength = __webpack_require__(6840);
+var Type = __webpack_require__(9747);

+// https://262.ecma-international.org/11.0/#sec-lengthofarraylike

-// Convert a progress 0-1 to a pixels value based on the provided length
-var progressToPixels = function (progress, length) {
-    return px.transform(progress * length);
-};
-var dashKeys = {
-    offset: "stroke-dashoffset",
-    array: "stroke-dasharray",
-};
-var camelKeys = {
-    offset: "strokeDashoffset",
-    array: "strokeDasharray",
+module.exports = function LengthOfArrayLike(obj) {
+	if (Type(obj) !== 'Object') {
+		throw new $TypeError('Assertion failed: `obj` must be an Object');
+	}
+	return ToLength(Get(obj, 'length'));
 };
-/**
- * Build SVG path properties. Uses the path's measured length to convert
- * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset
- * and stroke-dasharray attributes.
- *
- * This function is mutative to reduce per-frame GC.
- */
-function buildSVGPath(attrs, totalLength, length, spacing, offset, useDashCase) {
-    if (spacing === void 0) { spacing = 1; }
-    if (offset === void 0) { offset = 0; }
-    if (useDashCase === void 0) { useDashCase = true; }
-    // We use dash case when setting attributes directly to the DOM node and camel case
-    // when defining props on a React component.
-    var keys = useDashCase ? dashKeys : camelKeys;
-    // Build the dash offset
-    attrs[keys.offset] = progressToPixels(-offset, totalLength);
-    // Build the dash array
-    var pathLength = progressToPixels(length, totalLength);
-    var pathSpacing = progressToPixels(spacing, totalLength);
-    attrs[keys.array] = pathLength + " " + pathSpacing;
-}

+// TODO: use this all over


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js
+/***/ }),

+/***/ 6403:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

-/**
- * Build SVG visual attrbutes, like cx and style.transform
- */
-function buildSVGAttrs(state, _a, projection, layoutState, options, transformTemplate, buildProjectionTransform, buildProjectionTransformOrigin) {
-    var attrX = _a.attrX, attrY = _a.attrY, originX = _a.originX, originY = _a.originY, pathLength = _a.pathLength, _b = _a.pathSpacing, pathSpacing = _b === void 0 ? 1 : _b, _c = _a.pathOffset, pathOffset = _c === void 0 ? 0 : _c,
-    // This is object creation, which we try to avoid per-frame.
-    latest = __rest(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
-    buildHTMLStyles(state, latest, projection, layoutState, options, transformTemplate, buildProjectionTransform, buildProjectionTransformOrigin);
-    state.attrs = state.style;
-    state.style = {};
-    var attrs = state.attrs, style = state.style, dimensions = state.dimensions, totalPathLength = state.totalPathLength;
-    /**
-     * However, we apply transforms as CSS transforms. So if we detect a transform we take it from attrs
-     * and copy it into style.
-     */
-    if (attrs.transform) {
-        if (dimensions)
-            style.transform = attrs.transform;
-        delete attrs.transform;
-    }
-    // Parse transformOrigin
-    if (dimensions &&
-        (originX !== undefined || originY !== undefined || style.transform)) {
-        style.transformOrigin = calcSVGTransformOrigin(dimensions, originX !== undefined ? originX : 0.5, originY !== undefined ? originY : 0.5);
-    }
-    // Treat x/y not as shortcuts but as actual attributes
-    if (attrX !== undefined)
-        attrs.x = attrX;
-    if (attrY !== undefined)
-        attrs.y = attrY;
-    // Build SVG path if one has been measured
-    if (totalPathLength !== undefined && pathLength !== undefined) {
-        buildSVGPath(attrs, totalPathLength, pathLength, pathSpacing, pathOffset, false);
-    }
-}
+var $gOPD = __webpack_require__(5180);
+var $TypeError = GetIntrinsic('%TypeError%');

+var callBound = __webpack_require__(9630);

+var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js
+var has = __webpack_require__(9284);

+var IsArray = __webpack_require__(5971);
+var IsPropertyKey = __webpack_require__(3290);
+var IsRegExp = __webpack_require__(1275);
+var ToPropertyDescriptor = __webpack_require__(2402);
+var Type = __webpack_require__(9747);

+// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty

-var createSvgRenderState = function () { return (__assign(__assign({}, createHtmlRenderState()), { attrs: {} })); };
+module.exports = function OrdinaryGetOwnProperty(O, P) {
+	if (Type(O) !== 'Object') {
+		throw new $TypeError('Assertion failed: O must be an Object');
+	}
+	if (!IsPropertyKey(P)) {
+		throw new $TypeError('Assertion failed: P must be a Property Key');
+	}
+	if (!has(O, P)) {
+		return void 0;
+	}
+	if (!$gOPD) {
+		// ES3 / IE 8 fallback
+		var arrayLength = IsArray(O) && P === 'length';
+		var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
+		return {
+			'[[Configurable]]': !(arrayLength || regexLastIndex),
+			'[[Enumerable]]': $isEnumerable(O, P),
+			'[[Value]]': O[P],
+			'[[Writable]]': true
+		};
+	}
+	return ToPropertyDescriptor($gOPD(O, P));
+};


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/use-props.js
+/***/ 6953:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


+module.exports = __webpack_require__(3031);


+/***/ }),

-function useSVGProps(props, visualState) {
-    var visualProps = Object(external_React_["useMemo"])(function () {
-        var state = createSvgRenderState();
-        buildSVGAttrs(state, visualState, undefined, undefined, { enableHardwareAcceleration: false }, props.transformTemplate);
-        return __assign(__assign({}, state.attrs), { style: __assign({}, state.style) });
-    }, [visualState]);
-    if (props.style) {
-        var rawStyles = {};
-        copyRawValuesOnly(rawStyles, props.style, props);
-        visualProps.style = __assign(__assign({}, rawStyles), visualProps.style);
-    }
-    return visualProps;
-}
+/***/ 9836:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/use-render.js
+var $isNaN = __webpack_require__(3234);

+// http://262.ecma-international.org/5.1/#sec-9.12

+module.exports = function SameValue(x, y) {
+	if (x === y) { // 0 === -0, but they are not identical.
+		if (x === 0) { return 1 / x === 1 / y; }
+		return true;
+	}
+	return $isNaN(x) && $isNaN(y);
+};


+/***/ }),

+/***/ 3704:
+/***/ (function(module) {

+"use strict";

-function createUseRender(forwardMotionProps) {
-    if (forwardMotionProps === void 0) { forwardMotionProps = false; }
-    var useRender = function (Component, props, ref, _a, isStatic) {
-        var latestValues = _a.latestValues;
-        var useVisualProps = isSVGComponent(Component)
-            ? useSVGProps
-            : useHTMLProps;
-        var visualProps = useVisualProps(props, latestValues, isStatic);
-        var filteredProps = filterProps(props, typeof Component === "string", forwardMotionProps);
-        var elementProps = __assign(__assign(__assign({}, filteredProps), visualProps), { ref: ref });
-        return Object(external_React_["createElement"])(Component, elementProps);
-    };
-    return useRender;
-}

+// http://262.ecma-international.org/5.1/#sec-9.2

+module.exports = function ToBoolean(value) { return !!value; };

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js
-var CAMEL_CASE_PATTERN = /([a-z])([A-Z])/g;
-var REPLACE_TEMPLATE = "$1-$2";
-/**
- * Convert camelCase to dash-case properties.
- */
-var camelToDash = function (str) {
-    return str.replace(CAMEL_CASE_PATTERN, REPLACE_TEMPLATE).toLowerCase();
+
+/***/ }),
+
+/***/ 1723:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
+
+"use strict";
+
+
+var ES5ToInteger = __webpack_require__(8537);
+
+var ToNumber = __webpack_require__(5541);
+
+// https://www.ecma-international.org/ecma-262/11.0/#sec-tointeger
+
+module.exports = function ToInteger(value) {
+	var number = ToNumber(value);
+	if (number !== 0) {
+		number = ES5ToInteger(number);
+	}
+	return number === 0 ? 0 : number;
 };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/render.js
-function renderHTML(element, _a) {
-    var style = _a.style, vars = _a.vars;
-    // Directly assign style into the Element's style prop. In tests Object.assign is the
-    // fastest way to assign styles.
-    Object.assign(element.style, style);
-    // Loop over any CSS variables and assign those.
-    for (var key in vars) {
-        element.style.setProperty(key, vars[key]);
-    }
-}
+/***/ 6840:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js
-/**
- * A set of attribute names that are always read/written as camel case.
- */
-var camelCaseAttributes = new Set([
-    "baseFrequency",
-    "diffuseConstant",
-    "kernelMatrix",
-    "kernelUnitLength",
-    "keySplines",
-    "keyTimes",
-    "limitingConeAngle",
-    "markerHeight",
-    "markerWidth",
-    "numOctaves",
-    "targetX",
-    "targetY",
-    "surfaceScale",
-    "specularConstant",
-    "specularExponent",
-    "stdDeviation",
-    "tableValues",
-    "viewBox",
-    "gradientTransform",
-]);
+var MAX_SAFE_INTEGER = __webpack_require__(8540);
+
+var ToIntegerOrInfinity = __webpack_require__(1723);

+module.exports = function ToLength(argument) {
+	var len = ToIntegerOrInfinity(argument);
+	if (len <= 0) { return 0; } // includes converting -0 to +0
+	if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; }
+	return len;
+};


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/render.js
+/***/ }),

+/***/ 5541:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-function renderSVG(element, renderState) {
-    renderHTML(element, renderState);
-    for (var key in renderState.attrs) {
-        element.setAttribute(!camelCaseAttributes.has(key) ? camelToDash(key) : key, renderState.attrs[key]);
-    }
-}
+var GetIntrinsic = __webpack_require__(4219);

+var $TypeError = GetIntrinsic('%TypeError%');
+var $Number = GetIntrinsic('%Number%');
+var $RegExp = GetIntrinsic('%RegExp%');
+var $parseInteger = GetIntrinsic('%parseInt%');

+var callBound = __webpack_require__(9630);
+var regexTester = __webpack_require__(8441);
+var isPrimitive = __webpack_require__(5019);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js
+var $strSlice = callBound('String.prototype.slice');
+var isBinary = regexTester(/^0b[01]+$/i);
+var isOctal = regexTester(/^0o[0-7]+$/i);
+var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);
+var nonWS = ['\u0085', '\u200b', '\ufffe'].join('');
+var nonWSregex = new $RegExp('[' + nonWS + ']', 'g');
+var hasNonWS = regexTester(nonWSregex);

+// whitespace from: https://es5.github.io/#x15.5.4.20
+// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324
+var ws = [
+	'\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003',
+	'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028',
+	'\u2029\uFEFF'
+].join('');
+var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');
+var $replace = callBound('String.prototype.replace');
+var $trim = function (value) {
+	return $replace(value, trimRegex, '');
+};

+var ToPrimitive = __webpack_require__(6745);

-function scrape_motion_values_scrapeMotionValuesFromProps(props) {
-    var style = props.style;
-    var newValues = {};
-    for (var key in style) {
-        if (isMotionValue(style[key]) || isForcedMotionValue(key, props)) {
-            newValues[key] = style[key];
-        }
-    }
-    return newValues;
-}
+// https://ecma-international.org/ecma-262/6.0/#sec-tonumber

+module.exports = function ToNumber(argument) {
+	var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number);
+	if (typeof value === 'symbol') {
+		throw new $TypeError('Cannot convert a Symbol value to a number');
+	}
+	if (typeof value === 'bigint') {
+		throw new $TypeError('Conversion from \'BigInt\' to \'number\' is not allowed.');
+	}
+	if (typeof value === 'string') {
+		if (isBinary(value)) {
+			return ToNumber($parseInteger($strSlice(value, 2), 2));
+		} else if (isOctal(value)) {
+			return ToNumber($parseInteger($strSlice(value, 2), 8));
+		} else if (hasNonWS(value) || isInvalidHexLiteral(value)) {
+			return NaN;
+		}
+		var trimmed = $trim(value);
+		if (trimmed !== value) {
+			return ToNumber(trimmed);
+		}

+	}
+	return $Number(value);
+};

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js

+/***/ }),

+/***/ 1283:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-function utils_scrape_motion_values_scrapeMotionValuesFromProps(props) {
-    var newValues = scrape_motion_values_scrapeMotionValuesFromProps(props);
-    for (var key in props) {
-        if (isMotionValue(props[key])) {
-            var targetKey = key === "x" || key === "y" ? "attr" + key.toUpperCase() : key;
-            newValues[targetKey] = props[key];
-        }
-    }
-    return newValues;
-}
+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js
-function isAnimationControls(v) {
-    return typeof v === "object" && typeof v.start === "function";
-}
+var $Object = GetIntrinsic('%Object%');

+var RequireObjectCoercible = __webpack_require__(6953);

+// https://ecma-international.org/ecma-262/6.0/#sec-toobject

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js
-var isKeyframesTarget = function (v) {
-    return Array.isArray(v);
+module.exports = function ToObject(value) {
+	RequireObjectCoercible(value);
+	return $Object(value);
 };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/resolve-value.js
+/***/ 6745:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-var resolve_value_isCustomValue = function (v) {
-    return Boolean(v && typeof v === "object" && v.mix && v.toValue);
-};
-var resolveFinalValueInKeyframes = function (v) {
-    // TODO maybe throw if v.length - 1 is placeholder token?
-    return isKeyframesTarget(v) ? v[v.length - 1] || 0 : v;
+
+var toPrimitive = __webpack_require__(5249);
+
+// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive
+
+module.exports = function ToPrimitive(input) {
+	if (arguments.length > 1) {
+		return toPrimitive(input, arguments[1]);
+	}
+	return toPrimitive(input);
 };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js
+/***/ 2402:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-/**
- * If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself
- *
- * TODO: Remove and move to library
- *
- * @internal
- */
-function resolveMotionValue(value) {
-    var unwrappedValue = isMotionValue(value) ? value.get() : value;
-    return resolve_value_isCustomValue(unwrappedValue)
-        ? unwrappedValue.toValue()
-        : unwrappedValue;
-}
+var has = __webpack_require__(9284);

+var GetIntrinsic = __webpack_require__(4219);

+var $TypeError = GetIntrinsic('%TypeError%');

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js
+var Type = __webpack_require__(9747);
+var ToBoolean = __webpack_require__(3704);
+var IsCallable = __webpack_require__(1089);

+// https://262.ecma-international.org/5.1/#sec-8.10.5

+module.exports = function ToPropertyDescriptor(Obj) {
+	if (Type(Obj) !== 'Object') {
+		throw new $TypeError('ToPropertyDescriptor requires an object');
+	}

+	var desc = {};
+	if (has(Obj, 'enumerable')) {
+		desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);
+	}
+	if (has(Obj, 'configurable')) {
+		desc['[[Configurable]]'] = ToBoolean(Obj.configurable);
+	}
+	if (has(Obj, 'value')) {
+		desc['[[Value]]'] = Obj.value;
+	}
+	if (has(Obj, 'writable')) {
+		desc['[[Writable]]'] = ToBoolean(Obj.writable);
+	}
+	if (has(Obj, 'get')) {
+		var getter = Obj.get;
+		if (typeof getter !== 'undefined' && !IsCallable(getter)) {
+			throw new $TypeError('getter must be a function');
+		}
+		desc['[[Get]]'] = getter;
+	}
+	if (has(Obj, 'set')) {
+		var setter = Obj.set;
+		if (typeof setter !== 'undefined' && !IsCallable(setter)) {
+			throw new $TypeError('setter must be a function');
+		}
+		desc['[[Set]]'] = setter;
+	}

+	if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) {
+		throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
+	}
+	return desc;
+};


+/***/ }),

+/***/ 6888:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-function makeState(_a, props, context, presenceContext) {
-    var scrapeMotionValuesFromProps = _a.scrapeMotionValuesFromProps, createRenderState = _a.createRenderState, onMount = _a.onMount;
-    var state = {
-        latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps),
-        renderState: createRenderState(),
-    };
-    if (onMount) {
-        state.mount = function (instance) { return onMount(props, instance, state); };
-    }
-    return state;
-}
-var makeUseVisualState = function (config) { return function (props, isStatic) {
-    var context = Object(external_React_["useContext"])(MotionContext);
-    var presenceContext = Object(external_React_["useContext"])(PresenceContext);
-    return isStatic
-        ? makeState(config, props, context, presenceContext)
-        : useConstant(function () { return makeState(config, props, context, presenceContext); });
-}; };
-function makeLatestValues(props, context, presenceContext, scrapeMotionValues) {
-    var values = {};
-    var blockInitialAnimation = (presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.initial) === false;
-    var motionValues = scrapeMotionValues(props);
-    for (var key in motionValues) {
-        values[key] = resolveMotionValue(motionValues[key]);
-    }
-    var initial = props.initial, animate = props.animate;
-    var isControllingVariants = checkIfControllingVariants(props);
-    var isVariantNode = checkIfVariantNode(props);
-    if (context &&
-        isVariantNode &&
-        !isControllingVariants &&
-        props.inherit !== false) {
-        initial !== null && initial !== void 0 ? initial : (initial = context.initial);
-        animate !== null && animate !== void 0 ? animate : (animate = context.animate);
-    }
-    var variantToSet = blockInitialAnimation || initial === false ? animate : initial;
-    if (variantToSet &&
-        typeof variantToSet !== "boolean" &&
-        !isAnimationControls(variantToSet)) {
-        var list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];
-        list.forEach(function (definition) {
-            var resolved = resolveVariantFromProps(props, definition);
-            if (!resolved)
-                return;
-            var transitionEnd = resolved.transitionEnd; resolved.transition; var target = __rest(resolved, ["transitionEnd", "transition"]);
-            for (var key in target)
-                values[key] = target[key];
-            for (var key in transitionEnd)
-                values[key] = transitionEnd[key];
-        });
-    }
-    return values;
-}

+var GetIntrinsic = __webpack_require__(4219);

+var $String = GetIntrinsic('%String%');
+var $TypeError = GetIntrinsic('%TypeError%');

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/config-motion.js
+// https://ecma-international.org/ecma-262/6.0/#sec-tostring

+module.exports = function ToString(argument) {
+	if (typeof argument === 'symbol') {
+		throw new $TypeError('Cannot convert a Symbol value to a string');
+	}
+	return $String(argument);
+};


+/***/ }),

+/***/ 9747:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-var svgMotionConfig = {
-    useVisualState: makeUseVisualState({
-        scrapeMotionValuesFromProps: utils_scrape_motion_values_scrapeMotionValuesFromProps,
-        createRenderState: createSvgRenderState,
-        onMount: function (props, instance, _a) {
-            var renderState = _a.renderState, latestValues = _a.latestValues;
-            try {
-                renderState.dimensions =
-                    typeof instance.getBBox ===
-                        "function"
-                        ? instance.getBBox()
-                        : instance.getBoundingClientRect();
-            }
-            catch (e) {
-                // Most likely trying to measure an unrendered element under Firefox
-                renderState.dimensions = {
-                    x: 0,
-                    y: 0,
-                    width: 0,
-                    height: 0,
-                };
-            }
-            if (isPath(instance)) {
-                renderState.totalPathLength = instance.getTotalLength();
-            }
-            buildSVGAttrs(renderState, latestValues, undefined, undefined, { enableHardwareAcceleration: false }, props.transformTemplate);
-            // TODO: Replace with direct assignment
-            renderSVG(instance, renderState);
-        },
-    }),
+
+var ES5Type = __webpack_require__(290);
+
+// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
+
+module.exports = function Type(x) {
+	if (typeof x === 'symbol') {
+		return 'Symbol';
+	}
+	if (typeof x === 'bigint') {
+		return 'BigInt';
+	}
+	return ES5Type(x);
 };
-function isPath(element) {
-    return element.tagName === "path";
-}


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/config-motion.js
+/***/ 13:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

-var htmlMotionConfig = {
-    useVisualState: makeUseVisualState({
-        scrapeMotionValuesFromProps: scrape_motion_values_scrapeMotionValuesFromProps,
-        createRenderState: createHtmlRenderState,
-    }),
+var $abs = GetIntrinsic('%Math.abs%');
+
+// http://262.ecma-international.org/5.1/#sec-5.2
+
+module.exports = function abs(x) {
+	return $abs(x);
 };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/create-config.js
+/***/ 5127:
+/***/ (function(module) {

+"use strict";


+// var modulo = require('./modulo');
+var $floor = Math.floor;

+// http://262.ecma-international.org/5.1/#sec-5.2

+module.exports = function floor(x) {
+	// return x - modulo(x, 1);
+	return $floor(x);
+};

-function createDomMotionConfig(Component, _a, preloadedFeatures, createVisualElement) {
-    var _b = _a.forwardMotionProps, forwardMotionProps = _b === void 0 ? false : _b;
-    var baseConfig = isSVGComponent(Component)
-        ? svgMotionConfig
-        : htmlMotionConfig;
-    return __assign(__assign({}, baseConfig), { preloadedFeatures: preloadedFeatures, useRender: createUseRender(forwardMotionProps), createVisualElement: createVisualElement,
-        Component: Component });
-}

+/***/ }),

+/***/ 3031:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/types.js
-var AnimationType;
-(function (AnimationType) {
-    AnimationType["Animate"] = "animate";
-    AnimationType["Hover"] = "whileHover";
-    AnimationType["Tap"] = "whileTap";
-    AnimationType["Drag"] = "whileDrag";
-    AnimationType["Focus"] = "whileFocus";
-    AnimationType["Exit"] = "exit";
-})(AnimationType || (AnimationType = {}));
+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/events/use-dom-event.js
+var $TypeError = GetIntrinsic('%TypeError%');

+// http://262.ecma-international.org/5.1/#sec-9.10

-function addDomEvent(target, eventName, handler, options) {
-    target.addEventListener(eventName, handler, options);
-    return function () { return target.removeEventListener(eventName, handler, options); };
-}
-/**
- * Attaches an event listener directly to the provided DOM element.
- *
- * Bypassing React's event system can be desirable, for instance when attaching non-passive
- * event handlers.
- *
- * ```jsx
- * const ref = useRef(null)
- *
- * useDomEvent(ref, 'wheel', onWheel, { passive: false })
- *
- * return <div ref={ref} />
- * ```
- *
- * @param ref - React.RefObject that's been provided to the element you want to bind the listener to.
- * @param eventName - Name of the event you want listen for.
- * @param handler - Function to fire when receiving the event.
- * @param options - Options to pass to `Event.addEventListener`.
- *
- * @public
- */
-function useDomEvent(ref, eventName, handler, options) {
-    Object(external_React_["useEffect"])(function () {
-        var element = ref.current;
-        if (handler && element) {
-            return addDomEvent(element, eventName, handler, options);
-        }
-    }, [ref, eventName, handler, options]);
-}
+module.exports = function CheckObjectCoercible(value, optMessage) {
+	if (value == null) {
+		throw new $TypeError(optMessage || ('Cannot call method on ' + value));
+	}
+	return value;
+};


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/use-focus-gesture.js
+/***/ 8537:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-/**
- *
- * @param props
- * @param ref
- * @internal
- */
-function useFocusGesture(_a) {
-    var whileFocus = _a.whileFocus, visualElement = _a.visualElement;
-    var onFocus = function () {
-        var _a;
-        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Focus, true);
-    };
-    var onBlur = function () {
-        var _a;
-        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Focus, false);
-    };
-    useDomEvent(visualElement, "focus", whileFocus ? onFocus : undefined);
-    useDomEvent(visualElement, "blur", whileFocus ? onBlur : undefined);
-}
+var abs = __webpack_require__(6195);
+var floor = __webpack_require__(7914);
+var ToNumber = __webpack_require__(4018);

+var $isNaN = __webpack_require__(3234);
+var $isFinite = __webpack_require__(7061);
+var $sign = __webpack_require__(2163);

+// http://262.ecma-international.org/5.1/#sec-9.4

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/utils/event-type.js
-function isMouseEvent(event) {
-    // PointerEvent inherits from MouseEvent so we can't use a straight instanceof check.
-    if (typeof PointerEvent !== "undefined" && event instanceof PointerEvent) {
-        return !!(event.pointerType === "mouse");
-    }
-    return event instanceof MouseEvent;
-}
-function isTouchEvent(event) {
-    var hasTouches = !!event.touches;
-    return hasTouches;
-}
+module.exports = function ToInteger(value) {
+	var number = ToNumber(value);
+	if ($isNaN(number)) { return 0; }
+	if (number === 0 || !$isFinite(number)) { return number; }
+	return $sign(number) * floor(abs(number));
+};


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/events/event-info.js
+/***/ 4018:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-/**
- * Filters out events not attached to the primary pointer (currently left mouse button)
- * @param eventHandler
- */
-function filterPrimaryPointer(eventHandler) {
-    return function (event) {
-        var isMouseEvent = event instanceof MouseEvent;
-        var isPrimaryPointer = !isMouseEvent ||
-            (isMouseEvent && event.button === 0);
-        if (isPrimaryPointer) {
-            eventHandler(event);
-        }
-    };
-}
-var defaultPagePoint = { pageX: 0, pageY: 0 };
-function pointFromTouch(e, pointType) {
-    if (pointType === void 0) { pointType = "page"; }
-    var primaryTouch = e.touches[0] || e.changedTouches[0];
-    var point = primaryTouch || defaultPagePoint;
-    return {
-        x: point[pointType + "X"],
-        y: point[pointType + "Y"],
-    };
-}
-function pointFromMouse(point, pointType) {
-    if (pointType === void 0) { pointType = "page"; }
-    return {
-        x: point[pointType + "X"],
-        y: point[pointType + "Y"],
-    };
-}
-function extractEventInfo(event, pointType) {
-    if (pointType === void 0) { pointType = "page"; }
-    return {
-        point: isTouchEvent(event)
-            ? pointFromTouch(event, pointType)
-            : pointFromMouse(event, pointType),
-    };
-}
-function getViewportPointFromEvent(event) {
-    return extractEventInfo(event, "client");
-}
-var wrapHandler = function (handler, shouldFilterPrimaryPointer) {
-    if (shouldFilterPrimaryPointer === void 0) { shouldFilterPrimaryPointer = false; }
-    var listener = function (event) {
-        return handler(event, extractEventInfo(event));
-    };
-    return shouldFilterPrimaryPointer
-        ? filterPrimaryPointer(listener)
-        : listener;
-};

+var ToPrimitive = __webpack_require__(583);

+// http://262.ecma-international.org/5.1/#sec-9.3

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/events/utils.js
+module.exports = function ToNumber(value) {
+	var prim = ToPrimitive(value, Number);
+	if (typeof prim !== 'string') {
+		return +prim; // eslint-disable-line no-implicit-coercion
+	}

+	// eslint-disable-next-line no-control-regex
+	var trimmed = prim.replace(/^[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+|[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+$/g, '');
+	if ((/^0[ob]|^[+-]0x/).test(trimmed)) {
+		return NaN;
+	}

-// We check for event support via functions in case they've been mocked by a testing suite.
-var supportsPointerEvents = function () {
-    return isBrowser && window.onpointerdown === null;
-};
-var supportsTouchEvents = function () {
-    return isBrowser && window.ontouchstart === null;
-};
-var supportsMouseEvents = function () {
-    return isBrowser && window.onmousedown === null;
+	return +trimmed; // eslint-disable-line no-implicit-coercion
 };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/events/use-pointer-event.js
+/***/ 583:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


+// http://262.ecma-international.org/5.1/#sec-9.1

-var mouseEventNames = {
-    pointerdown: "mousedown",
-    pointermove: "mousemove",
-    pointerup: "mouseup",
-    pointercancel: "mousecancel",
-    pointerover: "mouseover",
-    pointerout: "mouseout",
-    pointerenter: "mouseenter",
-    pointerleave: "mouseleave",
-};
-var touchEventNames = {
-    pointerdown: "touchstart",
-    pointermove: "touchmove",
-    pointerup: "touchend",
-    pointercancel: "touchcancel",
-};
-function getPointerEventName(name) {
-    if (supportsPointerEvents()) {
-        return name;
-    }
-    else if (supportsTouchEvents()) {
-        return touchEventNames[name];
-    }
-    else if (supportsMouseEvents()) {
-        return mouseEventNames[name];
-    }
-    return name;
-}
-function addPointerEvent(target, eventName, handler, options) {
-    return addDomEvent(target, getPointerEventName(eventName), wrapHandler(handler, eventName === "pointerdown"), options);
-}
-function usePointerEvent(ref, eventName, handler, options) {
-    return useDomEvent(ref, getPointerEventName(eventName), handler && wrapHandler(handler, eventName === "pointerdown"), options);
-}
+module.exports = __webpack_require__(8023);


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/drag/utils/lock.js
-function createLock(name) {
-    var lock = null;
-    return function () {
-        var openLock = function () {
-            lock = null;
-        };
-        if (lock === null) {
-            lock = name;
-            return openLock;
-        }
-        return false;
-    };
-}
-var globalHorizontalLock = createLock("dragHorizontal");
-var globalVerticalLock = createLock("dragVertical");
-function getGlobalLock(drag) {
-    var lock = false;
-    if (drag === "y") {
-        lock = globalVerticalLock();
-    }
-    else if (drag === "x") {
-        lock = globalHorizontalLock();
-    }
-    else {
-        var openHorizontal_1 = globalHorizontalLock();
-        var openVertical_1 = globalVerticalLock();
-        if (openHorizontal_1 && openVertical_1) {
-            lock = function () {
-                openHorizontal_1();
-                openVertical_1();
-            };
-        }
-        else {
-            // Release the locks because we don't use them
-            if (openHorizontal_1)
-                openHorizontal_1();
-            if (openVertical_1)
-                openVertical_1();
-        }
-    }
-    return lock;
-}
-function isDragActive() {
-    // Check the gesture lock - if we get it, it means no drag gesture is active
-    // and we can safely fire the tap gesture.
-    var openGestureLock = getGlobalLock(true);
-    if (!openGestureLock)
-        return true;
-    openGestureLock();
-    return false;
-}
+/***/ 290:
+/***/ (function(module) {

+"use strict";
+
+
+// https://262.ecma-international.org/5.1/#sec-8

+module.exports = function Type(x) {
+	if (x === null) {
+		return 'Null';
+	}
+	if (typeof x === 'undefined') {
+		return 'Undefined';
+	}
+	if (typeof x === 'function' || typeof x === 'object') {
+		return 'Object';
+	}
+	if (typeof x === 'number') {
+		return 'Number';
+	}
+	if (typeof x === 'boolean') {
+		return 'Boolean';
+	}
+	if (typeof x === 'string') {
+		return 'String';
+	}
+};

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/use-hover-gesture.js

+/***/ }),

+/***/ 6195:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-function createHoverEvent(visualElement, isActive, callback) {
-    return function (event, info) {
-        var _a;
-        if (!isMouseEvent(event) || isDragActive())
-            return;
-        callback === null || callback === void 0 ? void 0 : callback(event, info);
-        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Hover, isActive);
-    };
-}
-function useHoverGesture(_a) {
-    var onHoverStart = _a.onHoverStart, onHoverEnd = _a.onHoverEnd, whileHover = _a.whileHover, visualElement = _a.visualElement;
-    usePointerEvent(visualElement, "pointerenter", onHoverStart || whileHover
-        ? createHoverEvent(visualElement, true, onHoverStart)
-        : undefined);
-    usePointerEvent(visualElement, "pointerleave", onHoverEnd || whileHover
-        ? createHoverEvent(visualElement, false, onHoverEnd)
-        : undefined);
-}
+var GetIntrinsic = __webpack_require__(4219);

+var $abs = GetIntrinsic('%Math.abs%');

+// http://262.ecma-international.org/5.1/#sec-5.2

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.js
-/**
- * Recursively traverse up the tree to check whether the provided child node
- * is the parent or a descendant of it.
- *
- * @param parent - Element to find
- * @param child - Element to test against parent
- */
-var isNodeOrChild = function (parent, child) {
-    if (!child) {
-        return false;
-    }
-    else if (parent === child) {
-        return true;
-    }
-    else {
-        return isNodeOrChild(parent, child.parentElement);
-    }
+module.exports = function abs(x) {
+	return $abs(x);
 };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/use-unmount-effect.js
+/***/ 7914:
+/***/ (function(module) {

+"use strict";

-function useUnmountEffect(callback) {
-    return Object(external_React_["useEffect"])(function () { return function () { return callback(); }; }, []);
-}

+// var modulo = require('./modulo');
+var $floor = Math.floor;

+// http://262.ecma-international.org/5.1/#sec-5.2

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/pipe.js
-var combineFunctions = function (a, b) { return function (v) { return b(a(v)); }; };
-var pipe = function () {
-    var transformers = [];
-    for (var _i = 0; _i < arguments.length; _i++) {
-        transformers[_i] = arguments[_i];
-    }
-    return transformers.reduce(combineFunctions);
+module.exports = function floor(x) {
+	// return x - modulo(x, 1);
+	return $floor(x);
 };


+/***/ }),
+
+/***/ 137:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
+
+"use strict";

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/use-tap-gesture.js

+// TODO: remove, semver-major

+module.exports = __webpack_require__(4219);


+/***/ }),

+/***/ 1327:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-/**
- * @param handlers -
- * @internal
- */
-function useTapGesture(_a) {
-    var onTap = _a.onTap, onTapStart = _a.onTapStart, onTapCancel = _a.onTapCancel, whileTap = _a.whileTap, visualElement = _a.visualElement;
-    var hasPressListeners = onTap || onTapStart || onTapCancel || whileTap;
-    var isPressing = Object(external_React_["useRef"])(false);
-    var cancelPointerEndListeners = Object(external_React_["useRef"])(null);
-    function removePointerEndListener() {
-        var _a;
-        (_a = cancelPointerEndListeners.current) === null || _a === void 0 ? void 0 : _a.call(cancelPointerEndListeners);
-        cancelPointerEndListeners.current = null;
-    }
-    function checkPointerEnd() {
-        var _a;
-        removePointerEndListener();
-        isPressing.current = false;
-        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Tap, false);
-        return !isDragActive();
-    }
-    function onPointerUp(event, info) {
-        if (!checkPointerEnd())
-            return;
-        /**
-         * We only count this as a tap gesture if the event.target is the same
-         * as, or a child of, this component's element
-         */
-        !isNodeOrChild(visualElement.getInstance(), event.target)
-            ? onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event, info)
-            : onTap === null || onTap === void 0 ? void 0 : onTap(event, info);
-    }
-    function onPointerCancel(event, info) {
-        if (!checkPointerEnd())
-            return;
-        onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event, info);
-    }
-    function onPointerDown(event, info) {
-        var _a;
-        removePointerEndListener();
-        if (isPressing.current)
-            return;
-        isPressing.current = true;
-        cancelPointerEndListeners.current = pipe(addPointerEvent(window, "pointerup", onPointerUp), addPointerEvent(window, "pointercancel", onPointerCancel));
-        onTapStart === null || onTapStart === void 0 ? void 0 : onTapStart(event, info);
-        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Tap, true);
-    }
-    usePointerEvent(visualElement, "pointerdown", hasPressListeners ? onPointerDown : undefined);
-    useUnmountEffect(removePointerEndListener);
+var GetIntrinsic = __webpack_require__(4219);
+
+var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
+
+if ($defineProperty) {
+	try {
+		$defineProperty({}, 'a', { value: 1 });
+	} catch (e) {
+		// IE 8 has a broken defineProperty
+		$defineProperty = null;
+	}
 }

+// node v0.6 has a bug where array lengths can be Set but not Defined
+var hasArrayLengthDefineBug = Object.defineProperty && Object.defineProperty([], 'length', { value: 1 }).length === 0;
+
+// eslint-disable-next-line global-require
+var isArray = hasArrayLengthDefineBug && __webpack_require__(7472); // this does not depend on any other AOs.

+var callBound = __webpack_require__(9630);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/make-renderless-component.js
-var makeRenderlessComponent = function (hook) { return function (props) {
-    hook(props);
-    return null;
-}; };
+var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
+
+// eslint-disable-next-line max-params
+module.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
+	if (!$defineProperty) {
+		if (!IsDataDescriptor(desc)) {
+			// ES3 does not support getters/setters
+			return false;
+		}
+		if (!desc['[[Configurable]]'] || !desc['[[Writable]]']) {
+			return false;
+		}
+
+		// fallback for ES3
+		if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {
+			// a non-enumerable existing property
+			return false;
+		}
+
+		// property does not exist at all, or exists but is enumerable
+		var V = desc['[[Value]]'];
+		// eslint-disable-next-line no-param-reassign
+		O[P] = V; // will use [[Define]]
+		return SameValue(O[P], V);
+	}
+	if (
+		hasArrayLengthDefineBug
+		&& P === 'length'
+		&& '[[Value]]' in desc
+		&& isArray(O)
+		&& O.length !== desc['[[Value]]']
+	) {
+		// eslint-disable-next-line no-param-reassign
+		O.length = desc['[[Value]]'];
+		return O.length === desc['[[Value]]'];
+	}

+	$defineProperty(O, P, FromPropertyDescriptor(desc));
+	return true;
+};


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/gestures.js
+/***/ }),

+/***/ 5114:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

-var gestureAnimations = {
-    tap: makeRenderlessComponent(useTapGesture),
-    focus: makeRenderlessComponent(useFocusGesture),
-    hover: makeRenderlessComponent(useHoverGesture),
+var $TypeError = GetIntrinsic('%TypeError%');
+var $SyntaxError = GetIntrinsic('%SyntaxError%');
+
+var has = __webpack_require__(9284);
+
+var predicates = {
+	// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
+	'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
+		if (Type(Desc) !== 'Object') {
+			return false;
+		}
+		var allowed = {
+			'[[Configurable]]': true,
+			'[[Enumerable]]': true,
+			'[[Get]]': true,
+			'[[Set]]': true,
+			'[[Value]]': true,
+			'[[Writable]]': true
+		};
+
+		for (var key in Desc) { // eslint-disable-line
+			if (has(Desc, key) && !allowed[key]) {
+				return false;
+			}
+		}
+
+		var isData = has(Desc, '[[Value]]');
+		var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');
+		if (isData && IsAccessor) {
+			throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');
+		}
+		return true;
+	}
 };

+module.exports = function assertRecord(Type, recordType, argumentName, value) {
+	var predicate = predicates[recordType];
+	if (typeof predicate !== 'function') {
+		throw new $SyntaxError('unknown record type: ' + recordType);
+	}
+	if (!predicate(Type, value)) {
+		throw new $TypeError(argumentName + ' must be a ' + recordType);
+	}
+};


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/shallow-compare.js
-function shallowCompare(next, prev) {
-    if (!Array.isArray(prev))
-        return false;
-    var prevLength = prev.length;
-    if (prevLength !== next.length)
-        return false;
-    for (var i = 0; i < prevLength; i++) {
-        if (prev[i] !== next[i])
-            return false;
-    }
-    return true;
+/***/ }),
+
+/***/ 5180:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
+
+"use strict";
+
+
+var GetIntrinsic = __webpack_require__(4219);
+
+var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
+if ($gOPD) {
+	try {
+		$gOPD([], 'length');
+	} catch (e) {
+		// IE 8 has a broken gOPD
+		$gOPD = null;
+	}
 }

+module.exports = $gOPD;


-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/clamp.js
-var clamp_clamp = function (min, max, v) {
-    return Math.min(Math.max(v, min), max);
-};
+/***/ }),

+/***/ 7061:
+/***/ (function(module) {

+"use strict";

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/utils/find-spring.js

+var $isNaN = Number.isNaN || function (a) { return a !== a; };

-
-var safeMin = 0.001;
-var minDuration = 0.01;
-var maxDuration = 10.0;
-var minDamping = 0.05;
-var maxDamping = 1;
-function findSpring(_a) {
-    var _b = _a.duration, duration = _b === void 0 ? 800 : _b, _c = _a.bounce, bounce = _c === void 0 ? 0.25 : _c, _d = _a.velocity, velocity = _d === void 0 ? 0 : _d, _e = _a.mass, mass = _e === void 0 ? 1 : _e;
-    var envelope;
-    var derivative;
-    warning(duration <= maxDuration * 1000, "Spring duration must be 10 seconds or less");
-    var dampingRatio = 1 - bounce;
-    dampingRatio = clamp_clamp(minDamping, maxDamping, dampingRatio);
-    duration = clamp_clamp(minDuration, maxDuration, duration / 1000);
-    if (dampingRatio < 1) {
-        envelope = function (undampedFreq) {
-            var exponentialDecay = undampedFreq * dampingRatio;
-            var delta = exponentialDecay * duration;
-            var a = exponentialDecay - velocity;
-            var b = calcAngularFreq(undampedFreq, dampingRatio);
-            var c = Math.exp(-delta);
-            return safeMin - (a / b) * c;
-        };
-        derivative = function (undampedFreq) {
-            var exponentialDecay = undampedFreq * dampingRatio;
-            var delta = exponentialDecay * duration;
-            var d = delta * velocity + velocity;
-            var e = Math.pow(dampingRatio, 2) * Math.pow(undampedFreq, 2) * duration;
-            var f = Math.exp(-delta);
-            var g = calcAngularFreq(Math.pow(undampedFreq, 2), dampingRatio);
-            var factor = -envelope(undampedFreq) + safeMin > 0 ? -1 : 1;
-            return (factor * ((d - e) * f)) / g;
-        };
-    }
-    else {
-        envelope = function (undampedFreq) {
-            var a = Math.exp(-undampedFreq * duration);
-            var b = (undampedFreq - velocity) * duration + 1;
-            return -safeMin + a * b;
-        };
-        derivative = function (undampedFreq) {
-            var a = Math.exp(-undampedFreq * duration);
-            var b = (velocity - undampedFreq) * (duration * duration);
-            return a * b;
-        };
-    }
-    var initialGuess = 5 / duration;
-    var undampedFreq = approximateRoot(envelope, derivative, initialGuess);
-    duration = duration * 1000;
-    if (isNaN(undampedFreq)) {
-        return {
-            stiffness: 100,
-            damping: 10,
-            duration: duration,
-        };
-    }
-    else {
-        var stiffness = Math.pow(undampedFreq, 2) * mass;
-        return {
-            stiffness: stiffness,
-            damping: dampingRatio * 2 * Math.sqrt(mass * stiffness),
-            duration: duration,
-        };
-    }
-}
-var rootIterations = 12;
-function approximateRoot(envelope, derivative, initialGuess) {
-    var result = initialGuess;
-    for (var i = 1; i < rootIterations; i++) {
-        result = result - envelope(result) / derivative(result);
-    }
-    return result;
-}
-function calcAngularFreq(undampedFreq, dampingRatio) {
-    return undampedFreq * Math.sqrt(1 - dampingRatio * dampingRatio);
-}
+module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/generators/spring.js
+/***/ 3234:
+/***/ (function(module) {

+"use strict";


-var durationKeys = ["duration", "bounce"];
-var physicsKeys = ["stiffness", "damping", "mass"];
-function isSpringType(options, keys) {
-    return keys.some(function (key) { return options[key] !== undefined; });
-}
-function getSpringOptions(options) {
-    var springOptions = __assign({ velocity: 0.0, stiffness: 100, damping: 10, mass: 1.0, isResolvedFromDuration: false }, options);
-    if (!isSpringType(options, physicsKeys) &&
-        isSpringType(options, durationKeys)) {
-        var derived = findSpring(options);
-        springOptions = __assign(__assign(__assign({}, springOptions), derived), { velocity: 0.0, mass: 1.0 });
-        springOptions.isResolvedFromDuration = true;
-    }
-    return springOptions;
-}
-function spring(_a) {
-    var _b = _a.from, from = _b === void 0 ? 0.0 : _b, _c = _a.to, to = _c === void 0 ? 1.0 : _c, _d = _a.restSpeed, restSpeed = _d === void 0 ? 2 : _d, restDelta = _a.restDelta, options = __rest(_a, ["from", "to", "restSpeed", "restDelta"]);
-    var state = { done: false, value: from };
-    var _e = getSpringOptions(options), stiffness = _e.stiffness, damping = _e.damping, mass = _e.mass, velocity = _e.velocity, duration = _e.duration, isResolvedFromDuration = _e.isResolvedFromDuration;
-    var resolveSpring = zero;
-    var resolveVelocity = zero;
-    function createSpring() {
-        var initialVelocity = velocity ? -(velocity / 1000) : 0.0;
-        var initialDelta = to - from;
-        var dampingRatio = damping / (2 * Math.sqrt(stiffness * mass));
-        var undampedAngularFreq = Math.sqrt(stiffness / mass) / 1000;
-        restDelta !== null && restDelta !== void 0 ? restDelta : (restDelta = Math.abs(to - from) <= 1 ? 0.01 : 0.4);
-        if (dampingRatio < 1) {
-            var angularFreq_1 = calcAngularFreq(undampedAngularFreq, dampingRatio);
-            resolveSpring = function (t) {
-                var envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);
-                return (to -
-                    envelope *
-                        (((initialVelocity +
-                            dampingRatio * undampedAngularFreq * initialDelta) /
-                            angularFreq_1) *
-                            Math.sin(angularFreq_1 * t) +
-                            initialDelta * Math.cos(angularFreq_1 * t)));
-            };
-            resolveVelocity = function (t) {
-                var envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);
-                return (dampingRatio *
-                    undampedAngularFreq *
-                    envelope *
-                    ((Math.sin(angularFreq_1 * t) *
-                        (initialVelocity +
-                            dampingRatio *
-                                undampedAngularFreq *
-                                initialDelta)) /
-                        angularFreq_1 +
-                        initialDelta * Math.cos(angularFreq_1 * t)) -
-                    envelope *
-                        (Math.cos(angularFreq_1 * t) *
-                            (initialVelocity +
-                                dampingRatio *
-                                    undampedAngularFreq *
-                                    initialDelta) -
-                            angularFreq_1 *
-                                initialDelta *
-                                Math.sin(angularFreq_1 * t)));
-            };
-        }
-        else if (dampingRatio === 1) {
-            resolveSpring = function (t) {
-                return to -
-                    Math.exp(-undampedAngularFreq * t) *
-                        (initialDelta +
-                            (initialVelocity + undampedAngularFreq * initialDelta) *
-                                t);
-            };
-        }
-        else {
-            var dampedAngularFreq_1 = undampedAngularFreq * Math.sqrt(dampingRatio * dampingRatio - 1);
-            resolveSpring = function (t) {
-                var envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);
-                var freqForT = Math.min(dampedAngularFreq_1 * t, 300);
-                return (to -
-                    (envelope *
-                        ((initialVelocity +
-                            dampingRatio * undampedAngularFreq * initialDelta) *
-                            Math.sinh(freqForT) +
-                            dampedAngularFreq_1 *
-                                initialDelta *
-                                Math.cosh(freqForT))) /
-                        dampedAngularFreq_1);
-            };
-        }
-    }
-    createSpring();
-    return {
-        next: function (t) {
-            var current = resolveSpring(t);
-            if (!isResolvedFromDuration) {
-                var currentVelocity = resolveVelocity(t) * 1000;
-                var isBelowVelocityThreshold = Math.abs(currentVelocity) <= restSpeed;
-                var isBelowDisplacementThreshold = Math.abs(to - current) <= restDelta;
-                state.done =
-                    isBelowVelocityThreshold && isBelowDisplacementThreshold;
-            }
-            else {
-                state.done = t >= duration;
-            }
-            state.value = state.done ? to : current;
-            return state;
-        },
-        flipTarget: function () {
-            var _a;
-            velocity = -velocity;
-            _a = [to, from], from = _a[0], to = _a[1];
-            createSpring();
-        },
-    };
-}
-spring.needsInterpolation = function (a, b) {
-    return typeof a === "string" || typeof b === "string";
+module.exports = Number.isNaN || function isNaN(a) {
+	return a !== a;
 };
-var zero = function (_t) { return 0; };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/progress.js
-var progress_progress = function (from, to, value) {
-    var toFromDifference = to - from;
-    return toFromDifference === 0 ? 1 : (value - from) / toFromDifference;
-};
+/***/ 5019:
+/***/ (function(module) {

+"use strict";


-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/mix.js
-var mix = function (from, to, progress) {
-    return -progress * from + progress * to + from;
+module.exports = function isPrimitive(value) {
+	return value === null || (typeof value !== 'function' && typeof value !== 'object');
 };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/utils.js
+/***/ 8682:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";

-var isColorString = function (type, testProp) { return function (v) {
-    return Boolean((isString(v) && singleColorRegex.test(v) && v.startsWith(type)) ||
-        (testProp && Object.prototype.hasOwnProperty.call(v, testProp)));
-}; };
-var splitColor = function (aName, bName, cName) { return function (v) {
-    var _a;
-    if (!isString(v))
-        return v;
-    var _b = v.match(floatRegex), a = _b[0], b = _b[1], c = _b[2], alpha = _b[3];
-    return _a = {},
-        _a[aName] = parseFloat(a),
-        _a[bName] = parseFloat(b),
-        _a[cName] = parseFloat(c),
-        _a.alpha = alpha !== undefined ? parseFloat(alpha) : 1,
-        _a;
-}; };

+var GetIntrinsic = __webpack_require__(4219);

+var has = __webpack_require__(9284);
+var $TypeError = GetIntrinsic('%TypeError%');

-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/rgba.js
+module.exports = function IsPropertyDescriptor(ES, Desc) {
+	if (ES.Type(Desc) !== 'Object') {
+		return false;
+	}
+	var allowed = {
+		'[[Configurable]]': true,
+		'[[Enumerable]]': true,
+		'[[Get]]': true,
+		'[[Set]]': true,
+		'[[Value]]': true,
+		'[[Writable]]': true
+	};

+	for (var key in Desc) { // eslint-disable-line no-restricted-syntax
+		if (has(Desc, key) && !allowed[key]) {
+			return false;
+		}
+	}

+	if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {
+		throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');
+	}
+	return true;
+};


+/***/ }),

-var clampRgbUnit = clamp(0, 255);
-var rgbUnit = __assign(__assign({}, numbers_number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
-var rgba_rgba = {
-    test: isColorString('rgb', 'red'),
-    parse: splitColor('red', 'green', 'blue'),
-    transform: function (_a) {
-        var red = _a.red, green = _a.green, blue = _a.blue, _b = _a.alpha, alpha$1 = _b === void 0 ? 1 : _b;
-        return 'rgba(' +
-            rgbUnit.transform(red) +
-            ', ' +
-            rgbUnit.transform(green) +
-            ', ' +
-            rgbUnit.transform(blue) +
-            ', ' +
-            utils_sanitize(numbers_alpha.transform(alpha$1)) +
-            ')';
-    },
-};
+/***/ 8540:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

+"use strict";


-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/hex.js
+var GetIntrinsic = __webpack_require__(4219);

+var $Math = GetIntrinsic('%Math%');
+var $Number = GetIntrinsic('%Number%');

+module.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;

-function parseHex(v) {
-    var r = '';
-    var g = '';
-    var b = '';
-    var a = '';
-    if (v.length > 5) {
-        r = v.substr(1, 2);
-        g = v.substr(3, 2);
-        b = v.substr(5, 2);
-        a = v.substr(7, 2);
-    }
-    else {
-        r = v.substr(1, 1);
-        g = v.substr(2, 1);
-        b = v.substr(3, 1);
-        a = v.substr(4, 1);
-        r += r;
-        g += g;
-        b += b;
-        a += a;
-    }
-    return {
-        red: parseInt(r, 16),
-        green: parseInt(g, 16),
-        blue: parseInt(b, 16),
-        alpha: a ? parseInt(a, 16) / 255 : 1,
-    };
-}
-var hex_hex = {
-    test: isColorString('#'),
-    parse: parseHex,
-    transform: rgba_rgba.transform,
-};

+/***/ }),

+/***/ 8441:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/hsla.js
+"use strict";


+var GetIntrinsic = __webpack_require__(4219);

+var $test = GetIntrinsic('RegExp.prototype.test');

+var callBind = __webpack_require__(9961);

-var hsla = {
-    test: isColorString('hsl', 'hue'),
-    parse: splitColor('hue', 'saturation', 'lightness'),
-    transform: function (_a) {
-        var hue = _a.hue, saturation = _a.saturation, lightness = _a.lightness, _b = _a.alpha, alpha$1 = _b === void 0 ? 1 : _b;
-        return ('hsla(' +
-            Math.round(hue) +
-            ', ' +
-            percent.transform(utils_sanitize(saturation)) +
-            ', ' +
-            percent.transform(utils_sanitize(lightness)) +
-            ', ' +
-            utils_sanitize(numbers_alpha.transform(alpha$1)) +
-            ')');
-    },
+module.exports = function regexTester(regex) {
+	return callBind($test, regex);
 };


+/***/ }),

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/mix-color.js
-
-
+/***/ 2163:
+/***/ (function(module) {

+"use strict";


-var mixLinearColor = function (from, to, v) {
-    var fromExpo = from * from;
-    var toExpo = to * to;
-    return Math.sqrt(Math.max(0, v * (toExpo - fromExpo) + fromExpo));
-};
-var colorTypes = [hex_hex, rgba_rgba, hsla];
-var getColorType = function (v) {
-    return colorTypes.find(function (type) { return type.test(v); });
-};
-var notAnimatable = function (color) {
-    return "'" + color + "' is not an animatable color. Use the equivalent color code instead.";
-};
-var mixColor = function (from, to) {
-    var fromColorType = getColorType(from);
-    var toColorType = getColorType(to);
-    invariant(!!fromColorType, notAnimatable(from));
-    invariant(!!toColorType, notAnimatable(to));
-    invariant(fromColorType.transform === toColorType.transform, "Both colors must be hex/RGBA, OR both must be HSLA.");
-    var fromColor = fromColorType.parse(from);
-    var toColor = toColorType.parse(to);
-    var blended = __assign({}, fromColor);
-    var mixFunc = fromColorType === hsla ? mix : mixLinearColor;
-    return function (v) {
-        for (var key in blended) {
-            if (key !== "alpha") {
-                blended[key] = mixFunc(fromColor[key], toColor[key], v);
-            }
-        }
-        blended.alpha = mix(fromColor.alpha, toColor.alpha, v);
-        return fromColorType.transform(blended);
-    };
+module.exports = function sign(number) {
+	return number >= 0 ? 1 : -1;
 };


+/***/ })
+
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/global */
+/******/ 	!function() {
+/******/ 		__webpack_require__.g = (function() {
+/******/ 			if (typeof globalThis === 'object') return globalThis;
+/******/ 			try {
+/******/ 				return this || new Function('return this')();
+/******/ 			} catch (e) {
+/******/ 				if (typeof window === 'object') return window;
+/******/ 			}
+/******/ 		})();
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
+"use strict";
+// ESM COMPAT FLAG
+__webpack_require__.r(__webpack_exports__);

-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/index.js
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "AnglePickerControl": function() { return /* reexport */ AnglePickerControl; },
+  "Animate": function() { return /* reexport */ Animate; },
+  "Autocomplete": function() { return /* reexport */ Autocomplete; },
+  "BaseControl": function() { return /* reexport */ base_control; },
+  "BlockQuotation": function() { return /* reexport */ external_wp_primitives_namespaceObject.BlockQuotation; },
+  "Button": function() { return /* reexport */ build_module_button; },
+  "ButtonGroup": function() { return /* reexport */ button_group; },
+  "Card": function() { return /* reexport */ card_component; },
+  "CardBody": function() { return /* reexport */ card_body_component; },
+  "CardDivider": function() { return /* reexport */ card_divider_component; },
+  "CardFooter": function() { return /* reexport */ card_footer_component; },
+  "CardHeader": function() { return /* reexport */ card_header_component; },
+  "CardMedia": function() { return /* reexport */ card_media_component; },
+  "CheckboxControl": function() { return /* reexport */ CheckboxControl; },
+  "Circle": function() { return /* reexport */ external_wp_primitives_namespaceObject.Circle; },
+  "ClipboardButton": function() { return /* reexport */ ClipboardButton; },
+  "ColorIndicator": function() { return /* reexport */ color_indicator; },
+  "ColorPalette": function() { return /* reexport */ ColorPalette; },
+  "ColorPicker": function() { return /* reexport */ LegacyAdapter; },
+  "ComboboxControl": function() { return /* reexport */ combobox_control; },
+  "CustomGradientPicker": function() { return /* reexport */ CustomGradientPicker; },
+  "CustomSelectControl": function() { return /* reexport */ CustomSelectControl; },
+  "Dashicon": function() { return /* reexport */ dashicon; },
+  "DatePicker": function() { return /* reexport */ date; },
+  "DateTimePicker": function() { return /* reexport */ date_time; },
+  "Disabled": function() { return /* reexport */ disabled; },
+  "Draggable": function() { return /* reexport */ Draggable; },
+  "DropZone": function() { return /* reexport */ DropZoneComponent; },
+  "DropZoneProvider": function() { return /* reexport */ DropZoneProvider; },
+  "Dropdown": function() { return /* reexport */ Dropdown; },
+  "DropdownMenu": function() { return /* reexport */ dropdown_menu; },
+  "DuotonePicker": function() { return /* reexport */ duotone_picker; },
+  "DuotoneSwatch": function() { return /* reexport */ duotone_swatch; },
+  "ExternalLink": function() { return /* reexport */ external_link; },
+  "Fill": function() { return /* reexport */ slot_fill_Fill; },
+  "Flex": function() { return /* reexport */ flex_component; },
+  "FlexBlock": function() { return /* reexport */ flex_block_component; },
+  "FlexItem": function() { return /* reexport */ flex_item_component; },
+  "FocalPointPicker": function() { return /* reexport */ focal_point_picker; },
+  "FocusReturnProvider": function() { return /* reexport */ with_focus_return_Provider; },
+  "FocusableIframe": function() { return /* reexport */ FocusableIframe; },
+  "FontSizePicker": function() { return /* reexport */ font_size_picker; },
+  "FormFileUpload": function() { return /* reexport */ form_file_upload; },
+  "FormToggle": function() { return /* reexport */ form_toggle; },
+  "FormTokenField": function() { return /* reexport */ form_token_field; },
+  "G": function() { return /* reexport */ external_wp_primitives_namespaceObject.G; },
+  "GradientPicker": function() { return /* reexport */ GradientPicker; },
+  "Guide": function() { return /* reexport */ Guide; },
+  "GuidePage": function() { return /* reexport */ GuidePage; },
+  "HorizontalRule": function() { return /* reexport */ external_wp_primitives_namespaceObject.HorizontalRule; },
+  "Icon": function() { return /* reexport */ build_module_icon; },
+  "IconButton": function() { return /* reexport */ deprecated; },
+  "IsolatedEventContainer": function() { return /* reexport */ isolated_event_container; },
+  "KeyboardShortcuts": function() { return /* reexport */ keyboard_shortcuts; },
+  "MenuGroup": function() { return /* reexport */ menu_group; },
+  "MenuItem": function() { return /* reexport */ menu_item; },
+  "MenuItemsChoice": function() { return /* reexport */ MenuItemsChoice; },
+  "Modal": function() { return /* reexport */ Modal; },
+  "NavigableMenu": function() { return /* reexport */ navigable_container_menu; },
+  "Notice": function() { return /* reexport */ build_module_notice; },
+  "NoticeList": function() { return /* reexport */ list; },
+  "Panel": function() { return /* reexport */ panel; },
+  "PanelBody": function() { return /* reexport */ body; },
+  "PanelHeader": function() { return /* reexport */ panel_header; },
+  "PanelRow": function() { return /* reexport */ row; },
+  "Path": function() { return /* reexport */ external_wp_primitives_namespaceObject.Path; },
+  "Placeholder": function() { return /* reexport */ placeholder; },
+  "Polygon": function() { return /* reexport */ external_wp_primitives_namespaceObject.Polygon; },
+  "Popover": function() { return /* reexport */ popover; },
+  "QueryControls": function() { return /* reexport */ QueryControls; },
+  "RadioControl": function() { return /* reexport */ RadioControl; },
+  "RangeControl": function() { return /* reexport */ range_control; },
+  "Rect": function() { return /* reexport */ external_wp_primitives_namespaceObject.Rect; },
+  "ResizableBox": function() { return /* reexport */ resizable_box; },
+  "ResponsiveWrapper": function() { return /* reexport */ responsive_wrapper; },
+  "SVG": function() { return /* reexport */ external_wp_primitives_namespaceObject.SVG; },
+  "SandBox": function() { return /* reexport */ Sandbox; },
+  "ScrollLock": function() { return /* reexport */ ScrollLock; },
+  "SearchControl": function() { return /* reexport */ search_control; },
+  "SelectControl": function() { return /* reexport */ select_control; },
+  "Slot": function() { return /* reexport */ slot_fill_Slot; },
+  "SlotFillProvider": function() { return /* reexport */ Provider; },
+  "Snackbar": function() { return /* reexport */ snackbar; },
+  "SnackbarList": function() { return /* reexport */ snackbar_list; },
+  "Spinner": function() { return /* reexport */ Spinner; },
+  "TabPanel": function() { return /* reexport */ TabPanel; },
+  "TabbableContainer": function() { return /* reexport */ tabbable; },
+  "TextControl": function() { return /* reexport */ text_control; },
+  "TextHighlight": function() { return /* reexport */ text_highlight; },
+  "TextareaControl": function() { return /* reexport */ TextareaControl; },
+  "TimePicker": function() { return /* reexport */ time; },
+  "Tip": function() { return /* reexport */ tip; },
+  "ToggleControl": function() { return /* reexport */ ToggleControl; },
+  "Toolbar": function() { return /* reexport */ toolbar; },
+  "ToolbarButton": function() { return /* reexport */ toolbar_button; },
+  "ToolbarDropdownMenu": function() { return /* reexport */ toolbar_dropdown_menu; },
+  "ToolbarGroup": function() { return /* reexport */ toolbar_group; },
+  "ToolbarItem": function() { return /* reexport */ toolbar_item; },
+  "Tooltip": function() { return /* reexport */ tooltip; },
+  "TreeSelect": function() { return /* reexport */ TreeSelect; },
+  "VisuallyHidden": function() { return /* reexport */ visually_hidden_component; },
+  "__experimentalAlignmentMatrixControl": function() { return /* reexport */ AlignmentMatrixControl; },
+  "__experimentalBoxControl": function() { return /* reexport */ BoxControl; },
+  "__experimentalDimensionControl": function() { return /* reexport */ dimension_control; },
+  "__experimentalDivider": function() { return /* reexport */ divider_component; },
+  "__experimentalElevation": function() { return /* reexport */ elevation_component; },
+  "__experimentalFlyout": function() { return /* reexport */ flyout_component; },
+  "__experimentalGrid": function() { return /* reexport */ grid_component; },
+  "__experimentalHStack": function() { return /* reexport */ h_stack_component; },
+  "__experimentalHeading": function() { return /* reexport */ heading_component; },
+  "__experimentalInputControl": function() { return /* reexport */ input_control; },
+  "__experimentalItem": function() { return /* reexport */ item_component; },
+  "__experimentalItemGroup": function() { return /* reexport */ item_group_component; },
+  "__experimentalNavigation": function() { return /* reexport */ Navigation; },
+  "__experimentalNavigationBackButton": function() { return /* reexport */ back_button; },
+  "__experimentalNavigationGroup": function() { return /* reexport */ NavigationGroup; },
+  "__experimentalNavigationItem": function() { return /* reexport */ NavigationItem; },
+  "__experimentalNavigationMenu": function() { return /* reexport */ NavigationMenu; },
+  "__experimentalNavigatorProvider": function() { return /* reexport */ navigator_provider_component; },
+  "__experimentalNavigatorScreen": function() { return /* reexport */ navigator_screen_component; },
+  "__experimentalNumberControl": function() { return /* reexport */ number_control; },
+  "__experimentalPaletteEdit": function() { return /* reexport */ PaletteEdit; },
+  "__experimentalParseUnit": function() { return /* reexport */ parseUnit; },
+  "__experimentalRadio": function() { return /* reexport */ build_module_radio; },
+  "__experimentalRadioGroup": function() { return /* reexport */ radio_group; },
+  "__experimentalScrollable": function() { return /* reexport */ scrollable_component; },
+  "__experimentalSpacer": function() { return /* reexport */ spacer_component; },
+  "__experimentalStyleProvider": function() { return /* reexport */ StyleProvider; },
+  "__experimentalSurface": function() { return /* reexport */ surface_component; },
+  "__experimentalText": function() { return /* reexport */ text_component; },
+  "__experimentalToggleGroupControl": function() { return /* reexport */ toggle_group_control_component; },
+  "__experimentalToggleGroupControlOption": function() { return /* reexport */ toggle_group_control_option_component; },
+  "__experimentalToolbarContext": function() { return /* reexport */ toolbar_context; },
+  "__experimentalToolsPanel": function() { return /* reexport */ tools_panel_component; },
+  "__experimentalToolsPanelContext": function() { return /* reexport */ ToolsPanelContext; },
+  "__experimentalToolsPanelItem": function() { return /* reexport */ tools_panel_item_component; },
+  "__experimentalTreeGrid": function() { return /* reexport */ tree_grid; },
+  "__experimentalTreeGridCell": function() { return /* reexport */ cell; },
+  "__experimentalTreeGridItem": function() { return /* reexport */ tree_grid_item; },
+  "__experimentalTreeGridRow": function() { return /* reexport */ tree_grid_row; },
+  "__experimentalTruncate": function() { return /* reexport */ truncate_component; },
+  "__experimentalUnitControl": function() { return /* reexport */ unit_control; },
+  "__experimentalUseCustomUnits": function() { return /* reexport */ useCustomUnits; },
+  "__experimentalUseNavigator": function() { return /* reexport */ use_navigator; },
+  "__experimentalUseSlot": function() { return /* reexport */ use_slot_useSlot; },
+  "__experimentalVStack": function() { return /* reexport */ v_stack_component; },
+  "__experimentalView": function() { return /* reexport */ component; },
+  "__experimentalZStack": function() { return /* reexport */ z_stack_component; },
+  "__unstableComposite": function() { return /* reexport */ Composite; },
+  "__unstableCompositeGroup": function() { return /* reexport */ CompositeGroup; },
+  "__unstableCompositeItem": function() { return /* reexport */ CompositeItem; },
+  "__unstableDisclosureContent": function() { return /* reexport */ DisclosureContent; },
+  "__unstableGetAnimateClassName": function() { return /* reexport */ getAnimateClassName; },
+  "__unstableMotion": function() { return /* reexport */ motion; },
+  "__unstableUseAutocompleteProps": function() { return /* reexport */ useAutocompleteProps; },
+  "__unstableUseCompositeState": function() { return /* reexport */ useCompositeState; },
+  "__unstableUseNavigateRegions": function() { return /* reexport */ useNavigateRegions; },
+  "createSlotFill": function() { return /* reexport */ createSlotFill; },
+  "navigateRegions": function() { return /* reexport */ navigate_regions; },
+  "withConstrainedTabbing": function() { return /* reexport */ with_constrained_tabbing; },
+  "withFallbackStyles": function() { return /* reexport */ with_fallback_styles; },
+  "withFilters": function() { return /* reexport */ withFilters; },
+  "withFocusOutside": function() { return /* reexport */ with_focus_outside; },
+  "withFocusReturn": function() { return /* reexport */ with_focus_return; },
+  "withNotices": function() { return /* reexport */ with_notices; },
+  "withSpokenMessages": function() { return /* reexport */ with_spoken_messages; }
+});

+// NAMESPACE OBJECT: ./node_modules/@wordpress/components/build-module/text/styles.js
+var text_styles_namespaceObject = {};
+__webpack_require__.r(text_styles_namespaceObject);
+__webpack_require__.d(text_styles_namespaceObject, {
+  "Text": function() { return Text; },
+  "block": function() { return styles_block; },
+  "destructive": function() { return destructive; },
+  "highlighterText": function() { return highlighterText; },
+  "muted": function() { return muted; },
+  "positive": function() { return positive; },
+  "upperCase": function() { return upperCase; }
+});

+// NAMESPACE OBJECT: ./node_modules/@wordpress/components/build-module/ui/tooltip/styles.js
+var tooltip_styles_namespaceObject = {};
+__webpack_require__.r(tooltip_styles_namespaceObject);
+__webpack_require__.d(tooltip_styles_namespaceObject, {
+  "TooltipContent": function() { return TooltipContent; },
+  "TooltipPopoverView": function() { return TooltipPopoverView; },
+  "TooltipShortcut": function() { return TooltipShortcut; },
+  "noOutline": function() { return noOutline; }
+});

+// NAMESPACE OBJECT: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control-option/styles.js
+var toggle_group_control_option_styles_namespaceObject = {};
+__webpack_require__.r(toggle_group_control_option_styles_namespaceObject);
+__webpack_require__.d(toggle_group_control_option_styles_namespaceObject, {
+  "ButtonContentView": function() { return ButtonContentView; },
+  "LabelPlaceholderView": function() { return LabelPlaceholderView; },
+  "LabelView": function() { return LabelView; },
+  "buttonActive": function() { return buttonActive; },
+  "buttonView": function() { return buttonView; },
+  "labelBlock": function() { return labelBlock; },
+  "medium": function() { return medium; },
+  "separatorActive": function() { return separatorActive; }
+});

+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function extends_extends() {
+  extends_extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-var color_color = {
-    test: function (v) { return rgba_rgba.test(v) || hex_hex.test(v) || hsla.test(v); },
-    parse: function (v) {
-        if (rgba_rgba.test(v)) {
-            return rgba_rgba.parse(v);
-        }
-        else if (hsla.test(v)) {
-            return hsla.parse(v);
-        }
-        else {
-            return hex_hex.parse(v);
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
         }
-    },
-    transform: function (v) {
-        return isString(v)
-            ? v
-            : v.hasOwnProperty('red')
-                ? rgba_rgba.transform(v)
-                : hsla.transform(v);
-    },
-};
-
+      }
+    }

+    return target;
+  };

-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/complex/index.js
+  return extends_extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+// EXTERNAL MODULE: ./node_modules/classnames/index.js
+var classnames = __webpack_require__(4403);
+var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/reakit/es/_rollupPluginBabelHelpers-1f0bf8c2.js
+function _defineProperty(obj, key, value) {
+  if (key in obj) {
+    Object.defineProperty(obj, key, {
+      value: value,
+      enumerable: true,
+      configurable: true,
+      writable: true
+    });
+  } else {
+    obj[key] = value;
+  }

+  return obj;
+}

+function ownKeys(object, enumerableOnly) {
+  var keys = Object.keys(object);

+  if (Object.getOwnPropertySymbols) {
+    var symbols = Object.getOwnPropertySymbols(object);
+    if (enumerableOnly) symbols = symbols.filter(function (sym) {
+      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
+    });
+    keys.push.apply(keys, symbols);
+  }

-var colorToken = '${c}';
-var numberToken = '${n}';
-function complex_test(v) {
-    var _a, _b, _c, _d;
-    return (isNaN(v) &&
-        isString(v) &&
-        ((_b = (_a = v.match(floatRegex)) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) + ((_d = (_c = v.match(colorRegex)) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0) > 0);
-}
-function analyse(v) {
-    var values = [];
-    var numColors = 0;
-    var colors = v.match(colorRegex);
-    if (colors) {
-        numColors = colors.length;
-        v = v.replace(colorRegex, colorToken);
-        values.push.apply(values, colors.map(color_color.parse));
-    }
-    var numbers = v.match(floatRegex);
-    if (numbers) {
-        v = v.replace(floatRegex, numberToken);
-        values.push.apply(values, numbers.map(numbers_number.parse));
-    }
-    return { values: values, numColors: numColors, tokenised: v };
-}
-function parse(v) {
-    return analyse(v).values;
-}
-function createTransformer(v) {
-    var _a = analyse(v), values = _a.values, numColors = _a.numColors, tokenised = _a.tokenised;
-    var numValues = values.length;
-    return function (v) {
-        var output = tokenised;
-        for (var i = 0; i < numValues; i++) {
-            output = output.replace(i < numColors ? colorToken : numberToken, i < numColors ? color_color.transform(v[i]) : utils_sanitize(v[i]));
-        }
-        return output;
-    };
-}
-var convertNumbersToZero = function (v) {
-    return typeof v === 'number' ? 0 : v;
-};
-function getAnimatableNone(v) {
-    var parsed = parse(v);
-    var transformer = createTransformer(v);
-    return transformer(parsed.map(convertNumbersToZero));
+  return keys;
 }
-var complex = { test: complex_test, parse: parse, createTransformer: createTransformer, getAnimatableNone: getAnimatableNone };
-

+function _objectSpread2(target) {
+  for (var i = 1; i < arguments.length; i++) {
+    var source = arguments[i] != null ? arguments[i] : {};

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/inc.js
-var zeroPoint = {
-    x: 0,
-    y: 0,
-    z: 0
-};
-var isNum = function (v) { return typeof v === 'number'; };
+    if (i % 2) {
+      ownKeys(Object(source), true).forEach(function (key) {
+        _defineProperty(target, key, source[key]);
+      });
+    } else if (Object.getOwnPropertyDescriptors) {
+      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
+    } else {
+      ownKeys(Object(source)).forEach(function (key) {
+        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
+      });
+    }
+  }

+  return target;
+}

+function _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(source, excluded) {
+  if (source == null) return {};
+  var target = {};
+  var sourceKeys = Object.keys(source);
+  var key, i;

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/mix-complex.js
-
+  for (i = 0; i < sourceKeys.length; i++) {
+    key = sourceKeys[i];
+    if (excluded.indexOf(key) >= 0) continue;
+    target[key] = source[key];
+  }

+  return target;
+}

+function _unsupportedIterableToArray(o, minLen) {
+  if (!o) return;
+  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
+  var n = Object.prototype.toString.call(o).slice(8, -1);
+  if (n === "Object" && o.constructor) n = o.constructor.name;
+  if (n === "Map" || n === "Set") return Array.from(o);
+  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
+}

+function _arrayLikeToArray(arr, len) {
+  if (len == null || len > arr.length) len = arr.length;

+  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];

+  return arr2;
+}

+function _createForOfIteratorHelperLoose(o, allowArrayLike) {
+  var it;

-function getMixer(origin, target) {
-    if (isNum(origin)) {
-        return function (v) { return mix(origin, target, v); };
-    }
-    else if (color_color.test(origin)) {
-        return mixColor(origin, target);
-    }
-    else {
-        return mixComplex(origin, target);
-    }
-}
-var mixArray = function (from, to) {
-    var output = __spreadArray([], from);
-    var numValues = output.length;
-    var blendValue = from.map(function (fromThis, i) { return getMixer(fromThis, to[i]); });
-    return function (v) {
-        for (var i = 0; i < numValues; i++) {
-            output[i] = blendValue[i](v);
-        }
-        return output;
-    };
-};
-var mixObject = function (origin, target) {
-    var output = __assign(__assign({}, origin), target);
-    var blendValue = {};
-    for (var key in output) {
-        if (origin[key] !== undefined && target[key] !== undefined) {
-            blendValue[key] = getMixer(origin[key], target[key]);
-        }
-    }
-    return function (v) {
-        for (var key in blendValue) {
-            output[key] = blendValue[key](v);
-        }
-        return output;
-    };
-};
-function mix_complex_analyse(value) {
-    var parsed = complex.parse(value);
-    var numValues = parsed.length;
-    var numNumbers = 0;
-    var numRGB = 0;
-    var numHSL = 0;
-    for (var i = 0; i < numValues; i++) {
-        if (numNumbers || typeof parsed[i] === "number") {
-            numNumbers++;
-        }
-        else {
-            if (parsed[i].hue !== undefined) {
-                numHSL++;
-            }
-            else {
-                numRGB++;
-            }
-        }
+  if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
+    if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
+      if (it) o = it;
+      var i = 0;
+      return function () {
+        if (i >= o.length) return {
+          done: true
+        };
+        return {
+          done: false,
+          value: o[i++]
+        };
+      };
     }
-    return { parsed: parsed, numNumbers: numNumbers, numRGB: numRGB, numHSL: numHSL };
-}
-var mixComplex = function (origin, target) {
-    var template = complex.createTransformer(target);
-    var originStats = mix_complex_analyse(origin);
-    var targetStats = mix_complex_analyse(target);
-    invariant(originStats.numHSL === targetStats.numHSL &&
-        originStats.numRGB === targetStats.numRGB &&
-        originStats.numNumbers >= targetStats.numNumbers, "Complex values '" + origin + "' and '" + target + "' too different to mix. Ensure all colors are of the same type.");
-    return pipe(mixArray(originStats.parsed, targetStats.parsed), template);
-};
-

+    throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+  }

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/interpolate.js
+  it = o[Symbol.iterator]();
+  return it.next.bind(it);
+}



+// EXTERNAL MODULE: external "React"
+var external_React_ = __webpack_require__(9196);
+var external_React_default = /*#__PURE__*/__webpack_require__.n(external_React_);
+;// CONCATENATED MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
+function _rollupPluginBabelHelpers_0c84a174_defineProperty(obj, key, value) {
+  if (key in obj) {
+    Object.defineProperty(obj, key, {
+      value: value,
+      enumerable: true,
+      configurable: true,
+      writable: true
+    });
+  } else {
+    obj[key] = value;
+  }

+  return obj;
+}

+function _rollupPluginBabelHelpers_0c84a174_ownKeys(object, enumerableOnly) {
+  var keys = Object.keys(object);

+  if (Object.getOwnPropertySymbols) {
+    var symbols = Object.getOwnPropertySymbols(object);
+    if (enumerableOnly) symbols = symbols.filter(function (sym) {
+      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
+    });
+    keys.push.apply(keys, symbols);
+  }

+  return keys;
+}

+function _rollupPluginBabelHelpers_0c84a174_objectSpread2(target) {
+  for (var i = 1; i < arguments.length; i++) {
+    var source = arguments[i] != null ? arguments[i] : {};

-var mixNumber = function (from, to) { return function (p) { return mix(from, to, p); }; };
-function detectMixerFactory(v) {
-    if (typeof v === 'number') {
-        return mixNumber;
-    }
-    else if (typeof v === 'string') {
-        if (color_color.test(v)) {
-            return mixColor;
-        }
-        else {
-            return mixComplex;
-        }
-    }
-    else if (Array.isArray(v)) {
-        return mixArray;
-    }
-    else if (typeof v === 'object') {
-        return mixObject;
+    if (i % 2) {
+      _rollupPluginBabelHelpers_0c84a174_ownKeys(Object(source), true).forEach(function (key) {
+        _rollupPluginBabelHelpers_0c84a174_defineProperty(target, key, source[key]);
+      });
+    } else if (Object.getOwnPropertyDescriptors) {
+      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
+    } else {
+      _rollupPluginBabelHelpers_0c84a174_ownKeys(Object(source)).forEach(function (key) {
+        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
+      });
     }
+  }
+
+  return target;
 }
-function createMixers(output, ease, customMixer) {
-    var mixers = [];
-    var mixerFactory = customMixer || detectMixerFactory(output[0]);
-    var numMixers = output.length - 1;
-    for (var i = 0; i < numMixers; i++) {
-        var mixer = mixerFactory(output[i], output[i + 1]);
-        if (ease) {
-            var easingFunction = Array.isArray(ease) ? ease[i] : ease;
-            mixer = pipe(easingFunction, mixer);
-        }
-        mixers.push(mixer);
-    }
-    return mixers;
+
+function _rollupPluginBabelHelpers_0c84a174_objectWithoutPropertiesLoose(source, excluded) {
+  if (source == null) return {};
+  var target = {};
+  var sourceKeys = Object.keys(source);
+  var key, i;
+
+  for (i = 0; i < sourceKeys.length; i++) {
+    key = sourceKeys[i];
+    if (excluded.indexOf(key) >= 0) continue;
+    target[key] = source[key];
+  }
+
+  return target;
 }
-function fastInterpolate(_a, _b) {
-    var from = _a[0], to = _a[1];
-    var mixer = _b[0];
-    return function (v) { return mixer(progress_progress(from, to, v)); };
+
+function _rollupPluginBabelHelpers_0c84a174_unsupportedIterableToArray(o, minLen) {
+  if (!o) return;
+  if (typeof o === "string") return _rollupPluginBabelHelpers_0c84a174_arrayLikeToArray(o, minLen);
+  var n = Object.prototype.toString.call(o).slice(8, -1);
+  if (n === "Object" && o.constructor) n = o.constructor.name;
+  if (n === "Map" || n === "Set") return Array.from(o);
+  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _rollupPluginBabelHelpers_0c84a174_arrayLikeToArray(o, minLen);
 }
-function slowInterpolate(input, mixers) {
-    var inputLength = input.length;
-    var lastInputIndex = inputLength - 1;
-    return function (v) {
-        var mixerIndex = 0;
-        var foundMixerIndex = false;
-        if (v <= input[0]) {
-            foundMixerIndex = true;
-        }
-        else if (v >= input[lastInputIndex]) {
-            mixerIndex = lastInputIndex - 1;
-            foundMixerIndex = true;
-        }
-        if (!foundMixerIndex) {
-            var i = 1;
-            for (; i < inputLength; i++) {
-                if (input[i] > v || i === lastInputIndex) {
-                    break;
-                }
-            }
-            mixerIndex = i - 1;
-        }
-        var progressInRange = progress_progress(input[mixerIndex], input[mixerIndex + 1], v);
-        return mixers[mixerIndex](progressInRange);
-    };
+
+function _rollupPluginBabelHelpers_0c84a174_arrayLikeToArray(arr, len) {
+  if (len == null || len > arr.length) len = arr.length;
+
+  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
+
+  return arr2;
 }
-function interpolate(input, output, _a) {
-    var _b = _a === void 0 ? {} : _a, _c = _b.clamp, isClamp = _c === void 0 ? true : _c, ease = _b.ease, mixer = _b.mixer;
-    var inputLength = input.length;
-    invariant(inputLength === output.length, 'Both input and output ranges must be the same length');
-    invariant(!ease || !Array.isArray(ease) || ease.length === inputLength - 1, 'Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values.');
-    if (input[0] > input[inputLength - 1]) {
-        input = [].concat(input);
-        output = [].concat(output);
-        input.reverse();
-        output.reverse();
+
+function _rollupPluginBabelHelpers_0c84a174_createForOfIteratorHelperLoose(o, allowArrayLike) {
+  var it;
+
+  if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
+    if (Array.isArray(o) || (it = _rollupPluginBabelHelpers_0c84a174_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
+      if (it) o = it;
+      var i = 0;
+      return function () {
+        if (i >= o.length) return {
+          done: true
+        };
+        return {
+          done: false,
+          value: o[i++]
+        };
+      };
     }
-    var mixers = createMixers(output, ease, mixer);
-    var interpolator = inputLength === 2
-        ? fastInterpolate(input, mixers)
-        : slowInterpolate(input, mixers);
-    return isClamp
-        ? function (v) { return interpolator(clamp_clamp(input[0], input[inputLength - 1], v)); }
-        : interpolator;
-}

+    throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+  }

+  it = o[Symbol.iterator]();
+  return it.next.bind(it);
+}

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/easing/utils.js
-var reverseEasing = function (easing) { return function (p) { return 1 - easing(1 - p); }; };
-var mirrorEasing = function (easing) { return function (p) {
-    return p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2;
-}; };
-var createExpoIn = function (power) { return function (p) { return Math.pow(p, power); }; };
-var createBackIn = function (power) { return function (p) {
-    return p * p * ((power + 1) * p - power);
-}; };
-var createAnticipate = function (power) {
-    var backEasing = createBackIn(power);
-    return function (p) {
-        return (p *= 2) < 1
-            ? 0.5 * backEasing(p)
-            : 0.5 * (2 - Math.pow(2, -10 * (p - 1)));
-    };
-};


+;// CONCATENATED MODULE: ./node_modules/reakit-system/es/SystemContext.js

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/easing/index.js

+var SystemContext = /*#__PURE__*/(0,external_React_.createContext)({});

-var DEFAULT_OVERSHOOT_STRENGTH = 1.525;
-var BOUNCE_FIRST_THRESHOLD = 4.0 / 11.0;
-var BOUNCE_SECOND_THRESHOLD = 8.0 / 11.0;
-var BOUNCE_THIRD_THRESHOLD = 9.0 / 10.0;
-var linear = function (p) { return p; };
-var easeIn = createExpoIn(2);
-var easeOut = reverseEasing(easeIn);
-var easeInOut = mirrorEasing(easeIn);
-var circIn = function (p) { return 1 - Math.sin(Math.acos(p)); };
-var circOut = reverseEasing(circIn);
-var circInOut = mirrorEasing(circOut);
-var backIn = createBackIn(DEFAULT_OVERSHOOT_STRENGTH);
-var backOut = reverseEasing(backIn);
-var backInOut = mirrorEasing(backIn);
-var anticipate = createAnticipate(DEFAULT_OVERSHOOT_STRENGTH);
-var ca = 4356.0 / 361.0;
-var easing_cb = 35442.0 / 1805.0;
-var cc = 16061.0 / 1805.0;
-var bounceOut = function (p) {
-    if (p === 1 || p === 0)
-        return p;
-    var p2 = p * p;
-    return p < BOUNCE_FIRST_THRESHOLD
-        ? 7.5625 * p2
-        : p < BOUNCE_SECOND_THRESHOLD
-            ? 9.075 * p2 - 9.9 * p + 3.4
-            : p < BOUNCE_THIRD_THRESHOLD
-                ? ca * p2 - easing_cb * p + cc
-                : 10.8 * p * p - 20.52 * p + 10.72;
-};
-var bounceIn = reverseEasing(bounceOut);
-var bounceInOut = function (p) {
-    return p < 0.5
-        ? 0.5 * (1.0 - bounceOut(1.0 - p * 2.0))
-        : 0.5 * bounceOut(p * 2.0 - 1.0) + 0.5;
-};


+;// CONCATENATED MODULE: ./node_modules/reakit-system/es/useCreateElement.js

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/generators/keyframes.js



-function defaultEasing(values, easing) {
-    return values.map(function () { return easing || easeInOut; }).splice(0, values.length - 1);
+function isRenderProp(children) {
+  return typeof children === "function";
 }
-function defaultOffset(values) {
-    var numValues = values.length;
-    return values.map(function (_value, i) {
-        return i !== 0 ? i / (numValues - 1) : 0;
+
+/**
+ * Custom hook that will call `children` if it's a function. If
+ * `useCreateElement` has been passed to the context, it'll be used instead.
+ *
+ * @example
+ * import React from "react";
+ * import { SystemProvider, useCreateElement } from "reakit-system";
+ *
+ * const system = {
+ *   useCreateElement(type, props, children = props.children) {
+ *     // very similar to what `useCreateElement` does already
+ *     if (typeof children === "function") {
+ *       const { children: _, ...rest } = props;
+ *       return children(rest);
+ *     }
+ *     return React.createElement(type, props, children);
+ *   },
+ * };
+ *
+ * function Component(props) {
+ *   return useCreateElement("div", props);
+ * }
+ *
+ * function App() {
+ *   return (
+ *     <SystemProvider unstable_system={system}>
+ *       <Component url="url">{({ url }) => <a href={url}>link</a>}</Component>
+ *     </SystemProvider>
+ *   );
+ * }
+ */
+
+var useCreateElement = function useCreateElement(type, props, children) {
+  if (children === void 0) {
+    children = props.children;
+  }
+
+  var context = (0,external_React_.useContext)(SystemContext);
+
+  if (context.useCreateElement) {
+    return context.useCreateElement(type, props, children);
+  }
+
+  if (typeof type === "string" && isRenderProp(children)) {
+    var _ = props.children,
+        rest = _rollupPluginBabelHelpers_0c84a174_objectWithoutPropertiesLoose(props, ["children"]);
+
+    return children(rest);
+  }
+
+  return /*#__PURE__*/(0,external_React_.createElement)(type, props, children);
+};
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/_rollupPluginBabelHelpers-1f0bf8c2.js
+function _rollupPluginBabelHelpers_1f0bf8c2_defineProperty(obj, key, value) {
+  if (key in obj) {
+    Object.defineProperty(obj, key, {
+      value: value,
+      enumerable: true,
+      configurable: true,
+      writable: true
     });
-}
-function convertOffsetToTimes(offset, duration) {
-    return offset.map(function (o) { return o * duration; });
-}
-function keyframes(_a) {
-    var _b = _a.from, from = _b === void 0 ? 0 : _b, _c = _a.to, to = _c === void 0 ? 1 : _c, ease = _a.ease, offset = _a.offset, _d = _a.duration, duration = _d === void 0 ? 300 : _d;
-    var state = { done: false, value: from };
-    var values = Array.isArray(to) ? to : [from, to];
-    var times = convertOffsetToTimes(offset && offset.length === values.length
-        ? offset
-        : defaultOffset(values), duration);
-    function createInterpolator() {
-        return interpolate(times, values, {
-            ease: Array.isArray(ease) ? ease : defaultEasing(values, ease),
-        });
-    }
-    var interpolator = createInterpolator();
-    return {
-        next: function (t) {
-            state.value = interpolator(t);
-            state.done = t >= duration;
-            return state;
-        },
-        flipTarget: function () {
-            values.reverse();
-            interpolator = createInterpolator();
-        },
-    };
+  } else {
+    obj[key] = value;
+  }
+
+  return obj;
 }

+function _rollupPluginBabelHelpers_1f0bf8c2_ownKeys(object, enumerableOnly) {
+  var keys = Object.keys(object);

+  if (Object.getOwnPropertySymbols) {
+    var symbols = Object.getOwnPropertySymbols(object);
+    if (enumerableOnly) symbols = symbols.filter(function (sym) {
+      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
+    });
+    keys.push.apply(keys, symbols);
+  }

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/generators/decay.js
-function decay(_a) {
-    var _b = _a.velocity, velocity = _b === void 0 ? 0 : _b, _c = _a.from, from = _c === void 0 ? 0 : _c, _d = _a.power, power = _d === void 0 ? 0.8 : _d, _e = _a.timeConstant, timeConstant = _e === void 0 ? 350 : _e, _f = _a.restDelta, restDelta = _f === void 0 ? 0.5 : _f, modifyTarget = _a.modifyTarget;
-    var state = { done: false, value: from };
-    var amplitude = power * velocity;
-    var ideal = from + amplitude;
-    var target = modifyTarget === undefined ? ideal : modifyTarget(ideal);
-    if (target !== ideal)
-        amplitude = target - from;
-    return {
-        next: function (t) {
-            var delta = -amplitude * Math.exp(-t / timeConstant);
-            state.done = !(delta > restDelta || delta < -restDelta);
-            state.value = state.done ? target : target + delta;
-            return state;
-        },
-        flipTarget: function () { },
-    };
+  return keys;
 }

+function _rollupPluginBabelHelpers_1f0bf8c2_objectSpread2(target) {
+  for (var i = 1; i < arguments.length; i++) {
+    var source = arguments[i] != null ? arguments[i] : {};

+    if (i % 2) {
+      _rollupPluginBabelHelpers_1f0bf8c2_ownKeys(Object(source), true).forEach(function (key) {
+        _rollupPluginBabelHelpers_1f0bf8c2_defineProperty(target, key, source[key]);
+      });
+    } else if (Object.getOwnPropertyDescriptors) {
+      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
+    } else {
+      _rollupPluginBabelHelpers_1f0bf8c2_ownKeys(Object(source)).forEach(function (key) {
+        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
+      });
+    }
+  }

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/utils/detect-animation-from-options.js
+  return target;
+}

+function es_rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(source, excluded) {
+  if (source == null) return {};
+  var target = {};
+  var sourceKeys = Object.keys(source);
+  var key, i;

+  for (i = 0; i < sourceKeys.length; i++) {
+    key = sourceKeys[i];
+    if (excluded.indexOf(key) >= 0) continue;
+    target[key] = source[key];
+  }

+  return target;
+}

-var types = { keyframes: keyframes, spring: spring, decay: decay };
-function detectAnimationFromOptions(config) {
-    if (Array.isArray(config.to)) {
-        return keyframes;
-    }
-    else if (types[config.type]) {
-        return types[config.type];
-    }
-    var keys = new Set(Object.keys(config));
-    if (keys.has("ease") ||
-        (keys.has("duration") && !keys.has("dampingRatio"))) {
-        return keyframes;
-    }
-    else if (keys.has("dampingRatio") ||
-        keys.has("stiffness") ||
-        keys.has("mass") ||
-        keys.has("damping") ||
-        keys.has("restSpeed") ||
-        keys.has("restDelta")) {
-        return spring;
-    }
-    return keyframes;
+function _rollupPluginBabelHelpers_1f0bf8c2_unsupportedIterableToArray(o, minLen) {
+  if (!o) return;
+  if (typeof o === "string") return _rollupPluginBabelHelpers_1f0bf8c2_arrayLikeToArray(o, minLen);
+  var n = Object.prototype.toString.call(o).slice(8, -1);
+  if (n === "Object" && o.constructor) n = o.constructor.name;
+  if (n === "Map" || n === "Set") return Array.from(o);
+  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _rollupPluginBabelHelpers_1f0bf8c2_arrayLikeToArray(o, minLen);
 }

+function _rollupPluginBabelHelpers_1f0bf8c2_arrayLikeToArray(arr, len) {
+  if (len == null || len > arr.length) len = arr.length;

+  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];

-// CONCATENATED MODULE: ./node_modules/framesync/dist/es/on-next-frame.js
-var defaultTimestep = (1 / 60) * 1000;
-var getCurrentTime = typeof performance !== "undefined"
-    ? function () { return performance.now(); }
-    : function () { return Date.now(); };
-var onNextFrame = typeof window !== "undefined"
-    ? function (callback) {
-        return window.requestAnimationFrame(callback);
+  return arr2;
+}
+
+function _rollupPluginBabelHelpers_1f0bf8c2_createForOfIteratorHelperLoose(o, allowArrayLike) {
+  var it;
+
+  if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
+    if (Array.isArray(o) || (it = _rollupPluginBabelHelpers_1f0bf8c2_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
+      if (it) o = it;
+      var i = 0;
+      return function () {
+        if (i >= o.length) return {
+          done: true
+        };
+        return {
+          done: false,
+          value: o[i++]
+        };
+      };
     }
-    : function (callback) {
-        return setTimeout(function () { return callback(getCurrentTime()); }, defaultTimestep);
-    };

+    throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+  }

+  it = o[Symbol.iterator]();
+  return it.next.bind(it);
+}

-// CONCATENATED MODULE: ./node_modules/framesync/dist/es/create-render-step.js
-function createRenderStep(runNextFrame) {
-    var toRun = [];
-    var toRunNextFrame = [];
-    var numToRun = 0;
-    var isProcessing = false;
-    var toKeepAlive = new WeakSet();
-    var step = {
-        schedule: function (callback, keepAlive, immediate) {
-            if (keepAlive === void 0) { keepAlive = false; }
-            if (immediate === void 0) { immediate = false; }
-            var addToCurrentFrame = immediate && isProcessing;
-            var buffer = addToCurrentFrame ? toRun : toRunNextFrame;
-            if (keepAlive)
-                toKeepAlive.add(callback);
-            if (buffer.indexOf(callback) === -1) {
-                buffer.push(callback);
-                if (addToCurrentFrame && isProcessing)
-                    numToRun = toRun.length;
-            }
-            return callback;
-        },
-        cancel: function (callback) {
-            var index = toRunNextFrame.indexOf(callback);
-            if (index !== -1)
-                toRunNextFrame.splice(index, 1);
-            toKeepAlive.delete(callback);
-        },
-        process: function (frameData) {
-            var _a;
-            isProcessing = true;
-            _a = [toRunNextFrame, toRun], toRun = _a[0], toRunNextFrame = _a[1];
-            toRunNextFrame.length = 0;
-            numToRun = toRun.length;
-            if (numToRun) {
-                for (var i = 0; i < numToRun; i++) {
-                    var callback = toRun[i];
-                    callback(frameData);
-                    if (toKeepAlive.has(callback)) {
-                        step.schedule(callback);
-                        runNextFrame();
-                    }
-                }
-            }
-            isProcessing = false;
-        },
-    };
-    return step;
-}


+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isObject.js
+/**
+ * Checks whether `arg` is an object or not.
+ *
+ * @returns {boolean}
+ */
+function isObject_isObject(arg) {
+  return typeof arg === "object" && arg != null;
+}

-// CONCATENATED MODULE: ./node_modules/framesync/dist/es/index.js


+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isPlainObject.js

-var maxElapsed = 40;
-var useDefaultElapsed = true;
-var runNextFrame = false;
-var isProcessing = false;
-var es_frame = {
-    delta: 0,
-    timestamp: 0
-};
-var stepsOrder = ["read", "update", "preRender", "render", "postRender"];
-var steps = /*#__PURE__*/stepsOrder.reduce(function (acc, key) {
-    acc[key] = createRenderStep(function () {
-        return runNextFrame = true;
-    });
-    return acc;
-}, {});
-var sync = /*#__PURE__*/stepsOrder.reduce(function (acc, key) {
-    var step = steps[key];
-    acc[key] = function (process, keepAlive, immediate) {
-        if (keepAlive === void 0) {
-            keepAlive = false;
-        }
-        if (immediate === void 0) {
-            immediate = false;
-        }
-        if (!runNextFrame) startLoop();
-        return step.schedule(process, keepAlive, immediate);
-    };
-    return acc;
-}, {});
-var cancelSync = /*#__PURE__*/stepsOrder.reduce(function (acc, key) {
-    acc[key] = steps[key].cancel;
-    return acc;
-}, {});
-var flushSync = /*#__PURE__*/stepsOrder.reduce(function (acc, key) {
-    acc[key] = function () {
-        return steps[key].process(es_frame);
-    };
-    return acc;
-}, {});
-var processStep = function (stepId) {
-    return steps[stepId].process(es_frame);
-};
-var processFrame = function (timestamp) {
-    runNextFrame = false;
-    es_frame.delta = useDefaultElapsed ? defaultTimestep : Math.max(Math.min(timestamp - es_frame.timestamp, maxElapsed), 1);
-    es_frame.timestamp = timestamp;
-    isProcessing = true;
-    stepsOrder.forEach(processStep);
-    isProcessing = false;
-    if (runNextFrame) {
-        useDefaultElapsed = false;
-        onNextFrame(processFrame);
-    }
-};
-var startLoop = function () {
-    runNextFrame = true;
-    useDefaultElapsed = true;
-    if (!isProcessing) onNextFrame(processFrame);
-};
-var getFrameData = function () {
-    return es_frame;
-};

-/* harmony default export */ var dist_es = (sync);
+/**
+ * Checks whether `arg` is a plain object or not.
+ *
+ * @returns {boolean}
+ */

+function isPlainObject(arg) {
+  var _proto$constructor;

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/utils/elapsed.js
-function loopElapsed(elapsed, duration, delay) {
-    if (delay === void 0) { delay = 0; }
-    return elapsed - duration - delay;
-}
-function reverseElapsed(elapsed, duration, delay, isForwardPlayback) {
-    if (delay === void 0) { delay = 0; }
-    if (isForwardPlayback === void 0) { isForwardPlayback = true; }
-    return isForwardPlayback
-        ? loopElapsed(duration + -elapsed, duration, delay)
-        : duration - (elapsed - duration) + delay;
-}
-function hasRepeatDelayElapsed(elapsed, duration, delay, isForwardPlayback) {
-    return isForwardPlayback ? elapsed >= duration + delay : elapsed <= -delay;
+  if (!isObject_isObject(arg)) return false;
+  var proto = Object.getPrototypeOf(arg);
+  if (proto == null) return true;
+  return ((_proto$constructor = proto.constructor) === null || _proto$constructor === void 0 ? void 0 : _proto$constructor.toString()) === Object.toString();
 }



-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/index.js
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/splitProps.js




+/**
+ * Splits an object (`props`) into a tuple where the first item is an object
+ * with the passed `keys`, and the second item is an object with these keys
+ * omitted.
+ *
+ * @deprecated will be removed in version 2
+ *
+ * @example
+ * import { splitProps } from "reakit-utils";
+ *
+ * splitProps({ a: "a", b: "b" }, ["a"]); // [{ a: "a" }, { b: "b" }]
+ */

+function __deprecatedSplitProps(props, keys) {
+  var propsKeys = Object.keys(props);
+  var picked = {};
+  var omitted = {};

-var framesync = function (update) {
-    var passTimestamp = function (_a) {
-        var delta = _a.delta;
-        return update(delta);
-    };
-    return {
-        start: function () { return dist_es.update(passTimestamp, true); },
-        stop: function () { return cancelSync.update(passTimestamp); },
-    };
-};
-function animations_animate(_a) {
-    var _b, _c;
-    var from = _a.from, _d = _a.autoplay, autoplay = _d === void 0 ? true : _d, _e = _a.driver, driver = _e === void 0 ? framesync : _e, _f = _a.elapsed, elapsed = _f === void 0 ? 0 : _f, _g = _a.repeat, repeatMax = _g === void 0 ? 0 : _g, _h = _a.repeatType, repeatType = _h === void 0 ? "loop" : _h, _j = _a.repeatDelay, repeatDelay = _j === void 0 ? 0 : _j, onPlay = _a.onPlay, onStop = _a.onStop, onComplete = _a.onComplete, onRepeat = _a.onRepeat, onUpdate = _a.onUpdate, options = __rest(_a, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]);
-    var to = options.to;
-    var driverControls;
-    var repeatCount = 0;
-    var computedDuration = options.duration;
-    var latest;
-    var isComplete = false;
-    var isForwardPlayback = true;
-    var interpolateFromNumber;
-    var animator = detectAnimationFromOptions(options);
-    if ((_c = (_b = animator).needsInterpolation) === null || _c === void 0 ? void 0 : _c.call(_b, from, to)) {
-        interpolateFromNumber = interpolate([0, 100], [from, to], {
-            clamp: false,
-        });
-        from = 0;
-        to = 100;
-    }
-    var animation = animator(__assign(__assign({}, options), { from: from, to: to }));
-    function repeat() {
-        repeatCount++;
-        if (repeatType === "reverse") {
-            isForwardPlayback = repeatCount % 2 === 0;
-            elapsed = reverseElapsed(elapsed, computedDuration, repeatDelay, isForwardPlayback);
-        }
-        else {
-            elapsed = loopElapsed(elapsed, computedDuration, repeatDelay);
-            if (repeatType === "mirror")
-                animation.flipTarget();
-        }
-        isComplete = false;
-        onRepeat && onRepeat();
-    }
-    function complete() {
-        driverControls.stop();
-        onComplete && onComplete();
-    }
-    function update(delta) {
-        if (!isForwardPlayback)
-            delta = -delta;
-        elapsed += delta;
-        if (!isComplete) {
-            var state = animation.next(Math.max(0, elapsed));
-            latest = state.value;
-            if (interpolateFromNumber)
-                latest = interpolateFromNumber(latest);
-            isComplete = isForwardPlayback ? state.done : elapsed <= 0;
-        }
-        onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(latest);
-        if (isComplete) {
-            if (repeatCount === 0)
-                computedDuration !== null && computedDuration !== void 0 ? computedDuration : (computedDuration = elapsed);
-            if (repeatCount < repeatMax) {
-                hasRepeatDelayElapsed(elapsed, computedDuration, repeatDelay, isForwardPlayback) && repeat();
-            }
-            else {
-                complete();
-            }
-        }
-    }
-    function play() {
-        onPlay === null || onPlay === void 0 ? void 0 : onPlay();
-        driverControls = driver(update);
-        driverControls.start();
+  for (var _i = 0, _propsKeys = propsKeys; _i < _propsKeys.length; _i++) {
+    var key = _propsKeys[_i];
+
+    if (keys.indexOf(key) >= 0) {
+      picked[key] = props[key];
+    } else {
+      omitted[key] = props[key];
     }
-    autoplay && play();
-    return {
-        stop: function () {
-            onStop === null || onStop === void 0 ? void 0 : onStop();
-            driverControls.stop();
-        },
-    };
+  }
+
+  return [picked, omitted];
 }
+/**
+ * Splits an object (`props`) into a tuple where the first item
+ * is the `state` property, and the second item is the rest of the properties.
+ *
+ * It is also backward compatible with version 1. If `keys` are passed then
+ * splits an object (`props`) into a tuple where the first item is an object
+ * with the passed `keys`, and the second item is an object with these keys
+ * omitted.
+ *
+ * @example
+ * import { splitProps } from "reakit-utils";
+ *
+ * splitProps({ a: "a", b: "b" }, ["a"]); // [{ a: "a" }, { b: "b" }]
+ *
+ * @example
+ * import { splitProps } from "reakit-utils";
+ *
+ * splitProps({ state: { a: "a" }, b: "b" }); // [{ a: "a" }, { b: "b" }]
+ */


+function splitProps(props, keys) {
+  if (keys === void 0) {
+    keys = [];
+  }

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/velocity-per-second.js
-function velocityPerSecond(velocity, frameDuration) {
-    return frameDuration ? velocity * (1000 / frameDuration) : 0;
-}
+  if (!isPlainObject(props.state)) {
+    return __deprecatedSplitProps(props, keys);
+  }

+  var _deprecatedSplitProp = __deprecatedSplitProps(props, [].concat(keys, ["state"])),
+      picked = _deprecatedSplitProp[0],
+      omitted = _deprecatedSplitProp[1];

+  var state = picked.state,
+      restPicked = es_rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(picked, ["state"]);

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/inertia.js
+  return [_rollupPluginBabelHelpers_1f0bf8c2_objectSpread2(_rollupPluginBabelHelpers_1f0bf8c2_objectSpread2({}, state), restPicked), omitted];
+}



+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
+/**
+ * Compares two objects.
+ *
+ * @example
+ * import { shallowEqual } from "reakit-utils";
+ *
+ * shallowEqual({ a: "a" }, {}); // false
+ * shallowEqual({ a: "a" }, { b: "b" }); // false
+ * shallowEqual({ a: "a" }, { a: "a" }); // true
+ * shallowEqual({ a: "a" }, { a: "a", b: "b" }); // false
+ */
+function shallowEqual(objA, objB) {
+  if (objA === objB) return true;
+  if (!objA) return false;
+  if (!objB) return false;
+  if (typeof objA !== "object") return false;
+  if (typeof objB !== "object") return false;
+  var aKeys = Object.keys(objA);
+  var bKeys = Object.keys(objB);
+  var length = aKeys.length;
+  if (bKeys.length !== length) return false;

+  for (var _i = 0, _aKeys = aKeys; _i < _aKeys.length; _i++) {
+    var key = _aKeys[_i];

-function inertia_inertia(_a) {
-    var _b = _a.from, from = _b === void 0 ? 0 : _b, _c = _a.velocity, velocity = _c === void 0 ? 0 : _c, min = _a.min, max = _a.max, _d = _a.power, power = _d === void 0 ? 0.8 : _d, _e = _a.timeConstant, timeConstant = _e === void 0 ? 750 : _e, _f = _a.bounceStiffness, bounceStiffness = _f === void 0 ? 500 : _f, _g = _a.bounceDamping, bounceDamping = _g === void 0 ? 10 : _g, _h = _a.restDelta, restDelta = _h === void 0 ? 1 : _h, modifyTarget = _a.modifyTarget, driver = _a.driver, onUpdate = _a.onUpdate, onComplete = _a.onComplete;
-    var currentAnimation;
-    function isOutOfBounds(v) {
-        return (min !== undefined && v < min) || (max !== undefined && v > max);
-    }
-    function boundaryNearest(v) {
-        if (min === undefined)
-            return max;
-        if (max === undefined)
-            return min;
-        return Math.abs(min - v) < Math.abs(max - v) ? min : max;
-    }
-    function startAnimation(options) {
-        currentAnimation === null || currentAnimation === void 0 ? void 0 : currentAnimation.stop();
-        currentAnimation = animations_animate(__assign(__assign({}, options), { driver: driver, onUpdate: function (v) {
-                var _a;
-                onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(v);
-                (_a = options.onUpdate) === null || _a === void 0 ? void 0 : _a.call(options, v);
-            }, onComplete: onComplete }));
-    }
-    function startSpring(options) {
-        startAnimation(__assign({ type: "spring", stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta }, options));
-    }
-    if (isOutOfBounds(from)) {
-        startSpring({ from: from, velocity: velocity, to: boundaryNearest(from) });
-    }
-    else {
-        var target = power * velocity + from;
-        if (typeof modifyTarget !== "undefined")
-            target = modifyTarget(target);
-        var boundary_1 = boundaryNearest(target);
-        var heading_1 = boundary_1 === min ? -1 : 1;
-        var prev_1;
-        var current_1;
-        var checkBoundary = function (v) {
-            prev_1 = current_1;
-            current_1 = v;
-            velocity = velocityPerSecond(v - prev_1, getFrameData().delta);
-            if ((heading_1 === 1 && v > boundary_1) ||
-                (heading_1 === -1 && v < boundary_1)) {
-                startSpring({ from: v, to: boundary_1, velocity: velocity });
-            }
-        };
-        startAnimation({
-            type: "decay",
-            from: from,
-            velocity: velocity,
-            timeConstant: timeConstant,
-            power: power,
-            restDelta: restDelta,
-            modifyTarget: modifyTarget,
-            onUpdate: isOutOfBounds(target) ? checkBoundary : undefined,
-        });
+    if (objA[key] !== objB[key]) {
+      return false;
     }
-    return {
-        stop: function () { return currentAnimation === null || currentAnimation === void 0 ? void 0 : currentAnimation.stop(); },
-    };
+  }
+
+  return true;
 }



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/time-conversion.js
-/**
- * Converts seconds to milliseconds
- *
- * @param seconds - Time in seconds.
- * @return milliseconds - Converted time in milliseconds.
- */
-var secondsToMilliseconds = function (seconds) { return seconds * 1000; };
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/normalizePropsAreEqual.js



-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/easing/cubic-bezier.js

+/**
+ * This higher order functions take `propsAreEqual` function and
+ * returns a new function which normalizes the props.
+ *
+ * Normalizing in our case is making sure the `propsAreEqual` works with
+ * both version 1 (object spreading) and version 2 (state object) state passing.
+ *
+ * To achieve this, the returned function in case of a state object
+ * will spread the state object in both `prev` and `next props.
+ *
+ * Other case it just returns the function as is which makes sure
+ * that we are still backward compatible
+ */
+function normalizePropsAreEqual(propsAreEqual) {
+  if (propsAreEqual.name === "normalizePropsAreEqualInner") {
+    return propsAreEqual;
+  }

-var cubic_bezier_a = function (a1, a2) { return 1.0 - 3.0 * a2 + 3.0 * a1; };
-var cubic_bezier_b = function (a1, a2) { return 3.0 * a2 - 6.0 * a1; };
-var cubic_bezier_c = function (a1) { return 3.0 * a1; };
-var calcBezier = function (t, a1, a2) {
-    return ((cubic_bezier_a(a1, a2) * t + cubic_bezier_b(a1, a2)) * t + cubic_bezier_c(a1)) * t;
-};
-var getSlope = function (t, a1, a2) {
-    return 3.0 * cubic_bezier_a(a1, a2) * t * t + 2.0 * cubic_bezier_b(a1, a2) * t + cubic_bezier_c(a1);
-};
-var subdivisionPrecision = 0.0000001;
-var subdivisionMaxIterations = 10;
-function binarySubdivide(aX, aA, aB, mX1, mX2) {
-    var currentX;
-    var currentT;
-    var i = 0;
-    do {
-        currentT = aA + (aB - aA) / 2.0;
-        currentX = calcBezier(currentT, mX1, mX2) - aX;
-        if (currentX > 0.0) {
-            aB = currentT;
-        }
-        else {
-            aA = currentT;
-        }
-    } while (Math.abs(currentX) > subdivisionPrecision &&
-        ++i < subdivisionMaxIterations);
-    return currentT;
-}
-var newtonIterations = 8;
-var newtonMinSlope = 0.001;
-function newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {
-    for (var i = 0; i < newtonIterations; ++i) {
-        var currentSlope = getSlope(aGuessT, mX1, mX2);
-        if (currentSlope === 0.0) {
-            return aGuessT;
-        }
-        var currentX = calcBezier(aGuessT, mX1, mX2) - aX;
-        aGuessT -= currentX / currentSlope;
-    }
-    return aGuessT;
-}
-var kSplineTableSize = 11;
-var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);
-function cubicBezier(mX1, mY1, mX2, mY2) {
-    if (mX1 === mY1 && mX2 === mY2)
-        return linear;
-    var sampleValues = new Float32Array(kSplineTableSize);
-    for (var i = 0; i < kSplineTableSize; ++i) {
-        sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);
-    }
-    function getTForX(aX) {
-        var intervalStart = 0.0;
-        var currentSample = 1;
-        var lastSample = kSplineTableSize - 1;
-        for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {
-            intervalStart += kSampleStepSize;
-        }
-        --currentSample;
-        var dist = (aX - sampleValues[currentSample]) /
-            (sampleValues[currentSample + 1] - sampleValues[currentSample]);
-        var guessForT = intervalStart + dist * kSampleStepSize;
-        var initialSlope = getSlope(guessForT, mX1, mX2);
-        if (initialSlope >= newtonMinSlope) {
-            return newtonRaphsonIterate(aX, guessForT, mX1, mX2);
-        }
-        else if (initialSlope === 0.0) {
-            return guessForT;
-        }
-        else {
-            return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);
-        }
+  return function normalizePropsAreEqualInner(prev, next) {
+    if (!isPlainObject(prev.state) || !isPlainObject(next.state)) {
+      return propsAreEqual(prev, next);
     }
-    return function (t) {
-        return t === 0 || t === 1 ? t : calcBezier(getTForX(t), mY1, mY2);
-    };
+
+    return propsAreEqual(_rollupPluginBabelHelpers_1f0bf8c2_objectSpread2(_rollupPluginBabelHelpers_1f0bf8c2_objectSpread2({}, prev.state), prev), _rollupPluginBabelHelpers_1f0bf8c2_objectSpread2(_rollupPluginBabelHelpers_1f0bf8c2_objectSpread2({}, next.state), next));
+  };
 }



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/easing.js
+;// CONCATENATED MODULE: ./node_modules/reakit-system/es/createComponent.js
+




-var easingLookup = {
-    linear: linear,
-    easeIn: easeIn,
-    easeInOut: easeInOut,
-    easeOut: easeOut,
-    circIn: circIn,
-    circInOut: circInOut,
-    circOut: circOut,
-    backIn: backIn,
-    backInOut: backInOut,
-    backOut: backOut,
-    anticipate: anticipate,
-    bounceIn: bounceIn,
-    bounceInOut: bounceInOut,
-    bounceOut: bounceOut,
-};
-var easingDefinitionToFunction = function (definition) {
-    if (Array.isArray(definition)) {
-        // If cubic bezier definition, create bezier curve
-        invariant(definition.length === 4, "Cubic bezier arrays must contain four numerical values.");
-        var _a = __read(definition, 4), x1 = _a[0], y1 = _a[1], x2 = _a[2], y2 = _a[3];
-        return cubicBezier(x1, y1, x2, y2);
-    }
-    else if (typeof definition === "string") {
-        // Else lookup from table
-        invariant(easingLookup[definition] !== undefined, "Invalid easing type '" + definition + "'");
-        return easingLookup[definition];
-    }
-    return definition;
-};
-var isEasingArray = function (ease) {
-    return Array.isArray(ease) && typeof ease[0] !== "number";
-};



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/is-animatable.js
+function createComponent_forwardRef(component) {
+  return /*#__PURE__*/(0,external_React_.forwardRef)(component);
+}

+function memo(component, propsAreEqual) {
+  return /*#__PURE__*/(0,external_React_.memo)(component, propsAreEqual);
+}

 /**
- * Check if a value is animatable. Examples:
+ * Creates a React component.
  *
- * ✅: 100, "100px", "#fff"
- * ❌: "block", "url(2.jpg)"
- * @param value
+ * @example
+ * import { createComponent } from "reakit-system";
  *
- * @internal
+ * const A = createComponent({ as: "a" });
+ *
+ * @param options
  */
-var isAnimatable = function (key, value) {
-    // If the list of keys tat might be non-animatable grows, replace with Set
-    if (key === "zIndex")
-        return false;
-    // If it's a number or a keyframes array, we can animate it. We might at some point
-    // need to do a deep isAnimatable check of keyframes, or let Popmotion handle this,
-    // but for now lets leave it like this for performance reasons
-    if (typeof value === "number" || Array.isArray(value))
-        return true;
-    if (typeof value === "string" && // It's animatable if we have a string
-        complex.test(value) && // And it contains numbers and/or colors
-        !value.startsWith("url(") // Unless it starts with "url("
-    ) {
-        return true;
-    }
-    return false;
-};
+function createComponent(_ref) {
+  var type = _ref.as,
+      useHook = _ref.useHook,
+      shouldMemo = _ref.memo,
+      _ref$propsAreEqual = _ref.propsAreEqual,
+      propsAreEqual = _ref$propsAreEqual === void 0 ? useHook === null || useHook === void 0 ? void 0 : useHook.unstable_propsAreEqual : _ref$propsAreEqual,
+      _ref$keys = _ref.keys,
+      keys = _ref$keys === void 0 ? (useHook === null || useHook === void 0 ? void 0 : useHook.__keys) || [] : _ref$keys,
+      _ref$useCreateElement = _ref.useCreateElement,
+      useCreateElement$1 = _ref$useCreateElement === void 0 ? useCreateElement : _ref$useCreateElement;

+  var Comp = function Comp(_ref2, ref) {
+    var _ref2$as = _ref2.as,
+        as = _ref2$as === void 0 ? type : _ref2$as,
+        props = _rollupPluginBabelHelpers_0c84a174_objectWithoutPropertiesLoose(_ref2, ["as"]);

+    if (useHook) {
+      var _as$render;

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/default-transitions.js
+      var _splitProps = splitProps(props, keys),
+          _options = _splitProps[0],
+          htmlProps = _splitProps[1];

+      var _useHook = useHook(_options, _rollupPluginBabelHelpers_0c84a174_objectSpread2({
+        ref: ref
+      }, htmlProps)),
+          wrapElement = _useHook.wrapElement,
+          elementProps = _rollupPluginBabelHelpers_0c84a174_objectWithoutPropertiesLoose(_useHook, ["wrapElement"]); // @ts-ignore


-var underDampedSpring = function () { return ({
-    type: "spring",
-    stiffness: 500,
-    damping: 25,
-    restDelta: 0.5,
-    restSpeed: 10,
-}); };
-var criticallyDampedSpring = function (to) { return ({
-    type: "spring",
-    stiffness: 550,
-    damping: to === 0 ? 2 * Math.sqrt(550) : 30,
-    restDelta: 0.01,
-    restSpeed: 10,
-}); };
-var linearTween = function () { return ({
-    type: "keyframes",
-    ease: "linear",
-    duration: 0.3,
-}); };
-var default_transitions_keyframes = function (values) { return ({
-    type: "keyframes",
-    duration: 0.8,
-    values: values,
-}); };
-var defaultTransitions = {
-    x: underDampedSpring,
-    y: underDampedSpring,
-    z: underDampedSpring,
-    rotate: underDampedSpring,
-    rotateX: underDampedSpring,
-    rotateY: underDampedSpring,
-    rotateZ: underDampedSpring,
-    scaleX: criticallyDampedSpring,
-    scaleY: criticallyDampedSpring,
-    scale: criticallyDampedSpring,
-    opacity: linearTween,
-    backgroundColor: linearTween,
-    color: linearTween,
-    default: criticallyDampedSpring,
-};
-var getDefaultTransition = function (valueKey, to) {
-    var transitionFactory;
-    if (isKeyframesTarget(to)) {
-        transitionFactory = default_transitions_keyframes;
-    }
-    else {
-        transitionFactory =
-            defaultTransitions[valueKey] || defaultTransitions.default;
-    }
-    return __assign({ to: to }, transitionFactory(to));
-};
+      var asKeys = ((_as$render = as.render) === null || _as$render === void 0 ? void 0 : _as$render.__keys) || as.__keys;
+      var asOptions = asKeys && splitProps(props, asKeys)[0];
+      var allProps = asOptions ? _rollupPluginBabelHelpers_0c84a174_objectSpread2(_rollupPluginBabelHelpers_0c84a174_objectSpread2({}, elementProps), asOptions) : elementProps;
+
+      var _element = useCreateElement$1(as, allProps);

+      if (wrapElement) {
+        return wrapElement(_element);
+      }

+      return _element;
+    }

-// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/complex/filter.js
+    return useCreateElement$1(as, _rollupPluginBabelHelpers_0c84a174_objectSpread2({
+      ref: ref
+    }, props));
+  };

+  if (false) {}

+  Comp = createComponent_forwardRef(Comp);

+  if (shouldMemo) {
+    Comp = memo(Comp, propsAreEqual && normalizePropsAreEqual(propsAreEqual));
+  }

-var maxDefaults = new Set(['brightness', 'contrast', 'saturate', 'opacity']);
-function applyDefaultFilter(v) {
-    var _a = v.slice(0, -1).split('('), name = _a[0], value = _a[1];
-    if (name === 'drop-shadow')
-        return v;
-    var number = (value.match(floatRegex) || [])[0];
-    if (!number)
-        return v;
-    var unit = value.replace(number, '');
-    var defaultValue = maxDefaults.has(name) ? 1 : 0;
-    if (number !== value)
-        defaultValue *= 100;
-    return name + '(' + defaultValue + unit + ')';
+  Comp.__keys = keys;
+  Comp.unstable_propsAreEqual = normalizePropsAreEqual(propsAreEqual || shallowEqual);
+  return Comp;
 }
-var functionRegex = /([a-z-]*)\(.*?\)/g;
-var filter = __assign(__assign({}, complex), { getAnimatableNone: function (v) {
-        var functions = v.match(functionRegex);
-        return functions ? functions.map(applyDefaultFilter).join(' ') : v;
-    } });



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js
+;// CONCATENATED MODULE: ./node_modules/reakit-system/es/useToken.js



-
-/**
- * A map of default value types for common values
- */
-var defaultValueTypes = __assign(__assign({}, numberValueTypes), {
-    // Color props
-    color: color_color, backgroundColor: color_color, outlineColor: color_color, fill: color_color, stroke: color_color,
-    // Border props
-    borderColor: color_color, borderTopColor: color_color, borderRightColor: color_color, borderBottomColor: color_color, borderLeftColor: color_color, filter: filter, WebkitFilter: filter });
 /**
- * Gets the default ValueType for the provided value key
+ * React custom hook that returns the value of any token defined in the
+ * SystemContext. It's mainly used internally in [`useOptions`](#useoptions)
+ * and [`useProps`](#useprops).
+ *
+ * @example
+ * import { SystemProvider, useToken } from "reakit-system";
+ *
+ * const system = {
+ *   token: "value",
+ * };
+ *
+ * function Component(props) {
+ *   const token = useToken("token", "default value");
+ *   return <div {...props}>{token}</div>;
+ * }
+ *
+ * function App() {
+ *   return (
+ *     <SystemProvider unstable_system={system}>
+ *       <Component />
+ *     </SystemProvider>
+ *   );
+ * }
  */
-var getDefaultValueType = function (key) { return defaultValueTypes[key]; };

+function useToken(token, defaultValue) {
+  (0,external_React_.useDebugValue)(token);
+  var context = (0,external_React_.useContext)(SystemContext);
+  return context[token] != null ? context[token] : defaultValue;
+}


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js

+;// CONCATENATED MODULE: ./node_modules/reakit-system/es/useProps.js


-function animatable_none_getAnimatableNone(key, value) {
-    var _a;
-    var defaultValueType = getDefaultValueType(key);
-    if (defaultValueType !== filter)
-        defaultValueType = complex;
-    // If value is not recognised as animatable, ie "none", create an animatable version origin based on the target
-    return (_a = defaultValueType.getAnimatableNone) === null || _a === void 0 ? void 0 : _a.call(defaultValueType, value);
-}


+/**
+ * React custom hook that returns the props returned by a given
+ * `use${name}Props` in the SystemContext.
+ *
+ * @example
+ * import { SystemProvider, useProps } from "reakit-system";
+ *
+ * const system = {
+ *   useAProps(options, htmlProps) {
+ *     return {
+ *       ...htmlProps,
+ *       href: options.url,
+ *     };
+ *   },
+ * };
+ *
+ * function A({ url, ...htmlProps }) {
+ *   const props = useProps("A", { url }, htmlProps);
+ *   return <a {...props} />;
+ * }
+ *
+ * function App() {
+ *   return (
+ *     <SystemProvider unstable_system={system}>
+ *       <A url="url">It will convert url into href in useAProps</A>
+ *     </SystemProvider>
+ *   );
+ * }
+ */

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/transitions.js
+function useProps(name, options, htmlProps) {
+  if (options === void 0) {
+    options = {};
+  }

+  if (htmlProps === void 0) {
+    htmlProps = {};
+  }

+  var hookName = "use" + name + "Props";
+  (0,external_React_.useDebugValue)(hookName);
+  var useHook = useToken(hookName);

+  if (useHook) {
+    return useHook(options, htmlProps);
+  }

+  return htmlProps;
+}
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-system/es/useOptions.js





 /**
- * Decide whether a transition is defined on a given Transition.
- * This filters out orchestration options and returns true
- * if any options are left.
- */
-function isTransitionDefined(_a) {
-    _a.when; _a.delay; _a.delayChildren; _a.staggerChildren; _a.staggerDirection; _a.repeat; _a.repeatType; _a.repeatDelay; _a.from; var transition = __rest(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection", "repeat", "repeatType", "repeatDelay", "from"]);
-    return !!Object.keys(transition).length;
-}
-var legacyRepeatWarning = false;
-/**
- * Convert Framer Motion's Transition type into Popmotion-compatible options.
- */
-function convertTransitionToAnimationOptions(_a) {
-    var ease = _a.ease, times = _a.times, yoyo = _a.yoyo, flip = _a.flip, loop = _a.loop, transition = __rest(_a, ["ease", "times", "yoyo", "flip", "loop"]);
-    var options = __assign({}, transition);
-    if (times)
-        options["offset"] = times;
-    /**
-     * Convert any existing durations from seconds to milliseconds
-     */
-    if (transition.duration)
-        options["duration"] = secondsToMilliseconds(transition.duration);
-    if (transition.repeatDelay)
-        options.repeatDelay = secondsToMilliseconds(transition.repeatDelay);
-    /**
-     * Map easing names to Popmotion's easing functions
-     */
-    if (ease) {
-        options["ease"] = isEasingArray(ease)
-            ? ease.map(easingDefinitionToFunction)
-            : easingDefinitionToFunction(ease);
-    }
-    /**
-     * Support legacy transition API
-     */
-    if (transition.type === "tween")
-        options.type = "keyframes";
-    /**
-     * TODO: These options are officially removed from the API.
-     */
-    if (yoyo || loop || flip) {
-        warning(!legacyRepeatWarning, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options.");
-        legacyRepeatWarning = true;
-        if (yoyo) {
-            options.repeatType = "reverse";
-        }
-        else if (loop) {
-            options.repeatType = "loop";
-        }
-        else if (flip) {
-            options.repeatType = "mirror";
-        }
-        options.repeat = loop || yoyo || flip || transition.repeat;
-    }
-    /**
-     * TODO: Popmotion 9 has the ability to automatically detect whether to use
-     * a keyframes or spring animation, but does so by detecting velocity and other spring options.
-     * It'd be good to introduce a similar thing here.
-     */
-    if (transition.type !== "spring")
-        options.type = "keyframes";
-    return options;
-}
-/**
- * Get the delay for a value by checking Transition with decreasing specificity.
- */
-function getDelayFromTransition(transition, key) {
-    var _a;
-    var valueTransition = getValueTransition(transition, key) || {};
-    return (_a = valueTransition.delay) !== null && _a !== void 0 ? _a : 0;
-}
-function hydrateKeyframes(options) {
-    if (Array.isArray(options.to) && options.to[0] === null) {
-        options.to = __spreadArray([], __read(options.to));
-        options.to[0] = options.from;
-    }
-    return options;
-}
-function getPopmotionAnimationOptions(transition, options, key) {
-    var _a;
-    if (Array.isArray(options.to)) {
-        (_a = transition.duration) !== null && _a !== void 0 ? _a : (transition.duration = 0.8);
-    }
-    hydrateKeyframes(options);
-    /**
-     * Get a default transition if none is determined to be defined.
-     */
-    if (!isTransitionDefined(transition)) {
-        transition = __assign(__assign({}, transition), getDefaultTransition(key, options.to));
-    }
-    return __assign(__assign({}, options), convertTransitionToAnimationOptions(transition));
-}
-/**
+ * React custom hook that returns the options returned by a given
+ * `use${name}Options` in the SystemContext.
  *
- */
-function transitions_getAnimation(key, value, target, transition, onComplete) {
-    var _a;
-    var valueTransition = getValueTransition(transition, key);
-    var origin = (_a = valueTransition.from) !== null && _a !== void 0 ? _a : value.get();
-    var isTargetAnimatable = isAnimatable(key, target);
-    if (origin === "none" && isTargetAnimatable && typeof target === "string") {
-        /**
-         * If we're trying to animate from "none", try and get an animatable version
-         * of the target. This could be improved to work both ways.
-         */
-        origin = animatable_none_getAnimatableNone(key, target);
-    }
-    else if (isZero(origin) && typeof target === "string") {
-        origin = getZeroUnit(target);
-    }
-    else if (!Array.isArray(target) &&
-        isZero(target) &&
-        typeof origin === "string") {
-        target = getZeroUnit(origin);
-    }
-    var isOriginAnimatable = isAnimatable(key, origin);
-    warning(isOriginAnimatable === isTargetAnimatable, "You are trying to animate " + key + " from \"" + origin + "\" to \"" + target + "\". " + origin + " is not an animatable value - to enable this animation set " + origin + " to a value animatable to " + target + " via the `style` property.");
-    function start() {
-        var options = {
-            from: origin,
-            to: target,
-            velocity: value.getVelocity(),
-            onComplete: onComplete,
-            onUpdate: function (v) { return value.set(v); },
-        };
-        return valueTransition.type === "inertia" ||
-            valueTransition.type === "decay"
-            ? inertia_inertia(__assign(__assign({}, options), valueTransition))
-            : animations_animate(__assign(__assign({}, getPopmotionAnimationOptions(valueTransition, options, key)), { onUpdate: function (v) {
-                    var _a;
-                    options.onUpdate(v);
-                    (_a = valueTransition.onUpdate) === null || _a === void 0 ? void 0 : _a.call(valueTransition, v);
-                }, onComplete: function () {
-                    var _a;
-                    options.onComplete();
-                    (_a = valueTransition.onComplete) === null || _a === void 0 ? void 0 : _a.call(valueTransition);
-                } }));
-    }
-    function set() {
-        var _a;
-        value.set(target);
-        onComplete();
-        (_a = valueTransition === null || valueTransition === void 0 ? void 0 : valueTransition.onComplete) === null || _a === void 0 ? void 0 : _a.call(valueTransition);
-        return { stop: function () { } };
-    }
-    return !isOriginAnimatable ||
-        !isTargetAnimatable ||
-        valueTransition.type === false
-        ? set
-        : start;
-}
-function isZero(value) {
-    return (value === 0 ||
-        (typeof value === "string" &&
-            parseFloat(value) === 0 &&
-            value.indexOf(" ") === -1));
-}
-function getZeroUnit(potentialUnitType) {
-    return typeof potentialUnitType === "number"
-        ? 0
-        : animatable_none_getAnimatableNone("", potentialUnitType);
-}
-function getValueTransition(transition, key) {
-    return transition[key] || transition["default"] || transition;
-}
-/**
- * Start animation on a MotionValue. This function is an interface between
- * Framer Motion and Popmotion
+ * @example
+ * import React from "react";
+ * import { SystemProvider, useOptions } from "reakit-system";
  *
- * @internal
+ * const system = {
+ *   useAOptions(options, htmlProps) {
+ *     return {
+ *       ...options,
+ *       url: htmlProps.href,
+ *     };
+ *   },
+ * };
+ *
+ * function A({ url, ...htmlProps }) {
+ *   const options = useOptions("A", { url }, htmlProps);
+ *   return <a href={options.url} {...htmlProps} />;
+ * }
+ *
+ * function App() {
+ *   return (
+ *     <SystemProvider unstable_system={system}>
+ *       <A href="url">
+ *         It will convert href into url in useAOptions and then url into href in A
+ *       </A>
+ *     </SystemProvider>
+ *   );
+ * }
  */
-function transitions_startAnimation(key, value, target, transition) {
-    if (transition === void 0) { transition = {}; }
-    return value.start(function (onComplete) {
-        var delayTimer;
-        var controls;
-        var animation = transitions_getAnimation(key, value, target, transition, onComplete);
-        var delay = getDelayFromTransition(transition, key);
-        var start = function () { return (controls = animation()); };
-        if (delay) {
-            delayTimer = setTimeout(start, secondsToMilliseconds(delay));
-        }
-        else {
-            start();
-        }
-        return function () {
-            clearTimeout(delayTimer);
-            controls === null || controls === void 0 ? void 0 : controls.stop();
-        };
-    });
+
+function useOptions(name, options, htmlProps) {
+  if (options === void 0) {
+    options = {};
+  }
+
+  if (htmlProps === void 0) {
+    htmlProps = {};
+  }
+
+  var hookName = "use" + name + "Options";
+  (0,external_React_.useDebugValue)(hookName);
+  var useHook = useToken(hookName);
+
+  if (useHook) {
+    return _rollupPluginBabelHelpers_0c84a174_objectSpread2(_rollupPluginBabelHelpers_0c84a174_objectSpread2({}, options), useHook(options, htmlProps));
+  }
+
+  return options;
 }



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/is-numerical-string.js
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/toArray.js
 /**
- * Check if value is a numerical string, ie a string that is purely a number eg "100" or "-100.1"
+ * Transforms `arg` into an array if it's not already.
+ *
+ * @example
+ * import { toArray } from "reakit-utils";
+ *
+ * toArray("a"); // ["a"]
+ * toArray(["a"]); // ["a"]
  */
-var isNumericalString = function (v) { return /^\-?\d*\.?\d+$/.test(v); };
-
-
+function toArray(arg) {
+  if (Array.isArray(arg)) {
+    return arg;
+  }

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/array.js
-function addUniqueItem(arr, item) {
-    arr.indexOf(item) === -1 && arr.push(item);
-}
-function array_removeItem(arr, item) {
-    var index = arr.indexOf(item);
-    index > -1 && arr.splice(index, 1);
+  return typeof arg !== "undefined" ? [arg] : [];
 }



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/subscription-manager.js
+;// CONCATENATED MODULE: ./node_modules/reakit-system/es/createHook.js


-var subscription_manager_SubscriptionManager = /** @class */ (function () {
-    function SubscriptionManager() {
-        this.subscriptions = [];
-    }
-    SubscriptionManager.prototype.add = function (handler) {
-        var _this = this;
-        addUniqueItem(this.subscriptions, handler);
-        return function () { return array_removeItem(_this.subscriptions, handler); };
-    };
-    SubscriptionManager.prototype.notify = function (a, b, c) {
-        var numSubscriptions = this.subscriptions.length;
-        if (!numSubscriptions)
-            return;
-        if (numSubscriptions === 1) {
-            /**
-             * If there's only a single handler we can just call it without invoking a loop.
-             */
-            this.subscriptions[0](a, b, c);
-        }
-        else {
-            for (var i = 0; i < numSubscriptions; i++) {
-                /**
-                 * Check whether the handler exists before firing as it's possible
-                 * the subscriptions were modified during this loop running.
-                 */
-                var handler = this.subscriptions[i];
-                handler && handler(a, b, c);
-            }
-        }
-    };
-    SubscriptionManager.prototype.getSize = function () {
-        return this.subscriptions.length;
-    };
-    SubscriptionManager.prototype.clear = function () {
-        this.subscriptions.length = 0;
-    };
-    return SubscriptionManager;
-}());



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/value/index.js




-var isFloat = function (value) {
-    return !isNaN(parseFloat(value));
-};
 /**
- * `MotionValue` is used to track the state and velocity of motion values.
+ * Creates a React custom hook that will return component props.
  *
- * @public
- */
-var value_MotionValue = /** @class */ (function () {
-    /**
-     * @param init - The initiating value
-     * @param config - Optional configuration options
-     *
-     * -  `transformer`: A function to transform incoming values with.
-     *
-     * @internal
-     */
-    function MotionValue(init) {
-        var _this = this;
-        /**
-         * Duration, in milliseconds, since last updating frame.
-         *
-         * @internal
-         */
-        this.timeDelta = 0;
-        /**
-         * Timestamp of the last time this `MotionValue` was updated.
-         *
-         * @internal
-         */
-        this.lastUpdated = 0;
-        /**
-         * Functions to notify when the `MotionValue` updates.
-         *
-         * @internal
-         */
-        this.updateSubscribers = new subscription_manager_SubscriptionManager();
-        /**
-         * Functions to notify when the velocity updates.
-         *
-         * @internal
-         */
-        this.velocityUpdateSubscribers = new subscription_manager_SubscriptionManager();
-        /**
-         * Functions to notify when the `MotionValue` updates and `render` is set to `true`.
-         *
-         * @internal
-         */
-        this.renderSubscribers = new subscription_manager_SubscriptionManager();
-        /**
-         * Tracks whether this value can output a velocity. Currently this is only true
-         * if the value is numerical, but we might be able to widen the scope here and support
-         * other value types.
-         *
-         * @internal
-         */
-        this.canTrackVelocity = false;
-        this.updateAndNotify = function (v, render) {
-            if (render === void 0) { render = true; }
-            _this.prev = _this.current;
-            _this.current = v;
-            // Update timestamp
-            var _a = getFrameData(), delta = _a.delta, timestamp = _a.timestamp;
-            if (_this.lastUpdated !== timestamp) {
-                _this.timeDelta = delta;
-                _this.lastUpdated = timestamp;
-                dist_es.postRender(_this.scheduleVelocityCheck);
-            }
-            // Update update subscribers
-            if (_this.prev !== _this.current) {
-                _this.updateSubscribers.notify(_this.current);
-            }
-            // Update velocity subscribers
-            if (_this.velocityUpdateSubscribers.getSize()) {
-                _this.velocityUpdateSubscribers.notify(_this.getVelocity());
-            }
-            // Update render subscribers
-            if (render) {
-                _this.renderSubscribers.notify(_this.current);
-            }
-        };
-        /**
-         * Schedule a velocity check for the next frame.
-         *
-         * This is an instanced and bound function to prevent generating a new
-         * function once per frame.
-         *
-         * @internal
-         */
-        this.scheduleVelocityCheck = function () { return dist_es.postRender(_this.velocityCheck); };
-        /**
-         * Updates `prev` with `current` if the value hasn't been updated this frame.
-         * This ensures velocity calculations return `0`.
-         *
-         * This is an instanced and bound function to prevent generating a new
-         * function once per frame.
-         *
-         * @internal
-         */
-        this.velocityCheck = function (_a) {
-            var timestamp = _a.timestamp;
-            if (timestamp !== _this.lastUpdated) {
-                _this.prev = _this.current;
-                _this.velocityUpdateSubscribers.notify(_this.getVelocity());
-            }
-        };
-        this.hasAnimated = false;
-        this.prev = this.current = init;
-        this.canTrackVelocity = isFloat(this.current);
+ * @example
+ * import { createHook } from "reakit-system";
+ *
+ * const useA = createHook({
+ *   name: "A",
+ *   keys: ["url"], // custom props/options keys
+ *   useProps(options, htmlProps) {
+ *     return {
+ *       ...htmlProps,
+ *       href: options.url,
+ *     };
+ *   },
+ * });
+ *
+ * function A({ url, ...htmlProps }) {
+ *   const props = useA({ url }, htmlProps);
+ *   return <a {...props} />;
+ * }
+ *
+ * @param options
+ */
+function createHook(options) {
+  var _options$useState, _composedHooks$;
+
+  var composedHooks = toArray(options.compose);
+
+  var __useOptions = function __useOptions(hookOptions, htmlProps) {
+    // Call the current hook's useOptions first
+    if (options.useOptions) {
+      hookOptions = options.useOptions(hookOptions, htmlProps);
+    } // If there's name, call useOptions from the system context
+
+
+    if (options.name) {
+      hookOptions = useOptions(options.name, hookOptions, htmlProps);
+    } // Run composed hooks useOptions
+
+
+    if (options.compose) {
+      for (var _iterator = _rollupPluginBabelHelpers_0c84a174_createForOfIteratorHelperLoose(composedHooks), _step; !(_step = _iterator()).done;) {
+        var hook = _step.value;
+        hookOptions = hook.__useOptions(hookOptions, htmlProps);
+      }
     }
-    /**
-     * Adds a function that will be notified when the `MotionValue` is updated.
-     *
-     * It returns a function that, when called, will cancel the subscription.
-     *
-     * When calling `onChange` inside a React component, it should be wrapped with the
-     * `useEffect` hook. As it returns an unsubscribe function, this should be returned
-     * from the `useEffect` function to ensure you don't add duplicate subscribers..
-     *
-     * @library
-     *
-     * ```jsx
-     * function MyComponent() {
-     *   const x = useMotionValue(0)
-     *   const y = useMotionValue(0)
-     *   const opacity = useMotionValue(1)
-     *
-     *   useEffect(() => {
-     *     function updateOpacity() {
-     *       const maxXY = Math.max(x.get(), y.get())
-     *       const newOpacity = transform(maxXY, [0, 100], [1, 0])
-     *       opacity.set(newOpacity)
-     *     }
-     *
-     *     const unsubscribeX = x.onChange(updateOpacity)
-     *     const unsubscribeY = y.onChange(updateOpacity)
-     *
-     *     return () => {
-     *       unsubscribeX()
-     *       unsubscribeY()
-     *     }
-     *   }, [])
-     *
-     *   return <Frame x={x} />
-     * }
-     * ```
-     *
-     * @motion
-     *
-     * ```jsx
-     * export const MyComponent = () => {
-     *   const x = useMotionValue(0)
-     *   const y = useMotionValue(0)
-     *   const opacity = useMotionValue(1)
-     *
-     *   useEffect(() => {
-     *     function updateOpacity() {
-     *       const maxXY = Math.max(x.get(), y.get())
-     *       const newOpacity = transform(maxXY, [0, 100], [1, 0])
-     *       opacity.set(newOpacity)
-     *     }
-     *
-     *     const unsubscribeX = x.onChange(updateOpacity)
-     *     const unsubscribeY = y.onChange(updateOpacity)
-     *
-     *     return () => {
-     *       unsubscribeX()
-     *       unsubscribeY()
-     *     }
-     *   }, [])
-     *
-     *   return <motion.div style={{ x }} />
-     * }
-     * ```
-     *
-     * @internalremarks
-     *
-     * We could look into a `useOnChange` hook if the above lifecycle management proves confusing.
-     *
-     * ```jsx
-     * useOnChange(x, () => {})
-     * ```
-     *
-     * @param subscriber - A function that receives the latest value.
-     * @returns A function that, when called, will cancel this subscription.
-     *
-     * @public
-     */
-    MotionValue.prototype.onChange = function (subscription) {
-        return this.updateSubscribers.add(subscription);
-    };
-    MotionValue.prototype.clearListeners = function () {
-        this.updateSubscribers.clear();
-    };
-    /**
-     * Adds a function that will be notified when the `MotionValue` requests a render.
-     *
-     * @param subscriber - A function that's provided the latest value.
-     * @returns A function that, when called, will cancel this subscription.
-     *
-     * @internal
-     */
-    MotionValue.prototype.onRenderRequest = function (subscription) {
-        // Render immediately
-        subscription(this.get());
-        return this.renderSubscribers.add(subscription);
-    };
-    /**
-     * Attaches a passive effect to the `MotionValue`.
-     *
-     * @internal
-     */
-    MotionValue.prototype.attach = function (passiveEffect) {
-        this.passiveEffect = passiveEffect;
-    };
-    /**
-     * Sets the state of the `MotionValue`.
-     *
-     * @remarks
-     *
-     * ```jsx
-     * const x = useMotionValue(0)
-     * x.set(10)
-     * ```
-     *
-     * @param latest - Latest value to set.
-     * @param render - Whether to notify render subscribers. Defaults to `true`
-     *
-     * @public
-     */
-    MotionValue.prototype.set = function (v, render) {
-        if (render === void 0) { render = true; }
-        if (!render || !this.passiveEffect) {
-            this.updateAndNotify(v, render);
-        }
-        else {
-            this.passiveEffect(v, this.updateAndNotify);
+
+    return hookOptions;
+  };
+
+  var useHook = function useHook(hookOptions, htmlProps, unstable_ignoreUseOptions) {
+    if (hookOptions === void 0) {
+      hookOptions = {};
+    }
+
+    if (htmlProps === void 0) {
+      htmlProps = {};
+    }
+
+    if (unstable_ignoreUseOptions === void 0) {
+      unstable_ignoreUseOptions = false;
+    }
+
+    // This won't execute when useHook was called from within another useHook
+    if (!unstable_ignoreUseOptions) {
+      hookOptions = __useOptions(hookOptions, htmlProps);
+    } // Call the current hook's useProps
+
+
+    if (options.useProps) {
+      htmlProps = options.useProps(hookOptions, htmlProps);
+    } // If there's name, call useProps from the system context
+
+
+    if (options.name) {
+      htmlProps = useProps(options.name, hookOptions, htmlProps);
+    }
+
+    if (options.compose) {
+      if (options.useComposeOptions) {
+        hookOptions = options.useComposeOptions(hookOptions, htmlProps);
+      }
+
+      if (options.useComposeProps) {
+        htmlProps = options.useComposeProps(hookOptions, htmlProps);
+      } else {
+        for (var _iterator2 = _rollupPluginBabelHelpers_0c84a174_createForOfIteratorHelperLoose(composedHooks), _step2; !(_step2 = _iterator2()).done;) {
+          var hook = _step2.value;
+          htmlProps = hook(hookOptions, htmlProps, true);
         }
-    };
-    /**
-     * Returns the latest state of `MotionValue`
-     *
-     * @returns - The latest state of `MotionValue`
-     *
-     * @public
-     */
-    MotionValue.prototype.get = function () {
-        return this.current;
-    };
-    /**
-     * @public
-     */
-    MotionValue.prototype.getPrevious = function () {
-        return this.prev;
-    };
-    /**
-     * Returns the latest velocity of `MotionValue`
-     *
-     * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.
-     *
-     * @public
-     */
-    MotionValue.prototype.getVelocity = function () {
-        // This could be isFloat(this.prev) && isFloat(this.current), but that would be wasteful
-        return this.canTrackVelocity
-            ? // These casts could be avoided if parseFloat would be typed better
-                velocityPerSecond(parseFloat(this.current) -
-                    parseFloat(this.prev), this.timeDelta)
-            : 0;
-    };
-    /**
-     * Registers a new animation to control this `MotionValue`. Only one
-     * animation can drive a `MotionValue` at one time.
-     *
-     * ```jsx
-     * value.start()
-     * ```
-     *
-     * @param animation - A function that starts the provided animation
-     *
-     * @internal
-     */
-    MotionValue.prototype.start = function (animation) {
-        var _this = this;
-        this.stop();
-        return new Promise(function (resolve) {
-            _this.hasAnimated = true;
-            _this.stopAnimation = animation(resolve);
-        }).then(function () { return _this.clearAnimation(); });
-    };
-    /**
-     * Stop the currently active animation.
-     *
-     * @public
-     */
-    MotionValue.prototype.stop = function () {
-        if (this.stopAnimation)
-            this.stopAnimation();
-        this.clearAnimation();
-    };
-    /**
-     * Returns `true` if this value is currently animating.
-     *
-     * @public
-     */
-    MotionValue.prototype.isAnimating = function () {
-        return !!this.stopAnimation;
-    };
-    MotionValue.prototype.clearAnimation = function () {
-        this.stopAnimation = null;
-    };
-    /**
-     * Destroy and clean up subscribers to this `MotionValue`.
-     *
-     * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically
-     * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually
-     * created a `MotionValue` via the `motionValue` function.
-     *
-     * @public
-     */
-    MotionValue.prototype.destroy = function () {
-        this.updateSubscribers.clear();
-        this.renderSubscribers.clear();
-        this.stop();
-    };
-    return MotionValue;
-}());
-/**
- * @internal
- */
-function motionValue(init) {
-    return new value_MotionValue(init);
-}
+      }
+    } // Remove undefined values from htmlProps


+    var finalHTMLProps = {};
+    var definedHTMLProps = htmlProps || {};

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/test.js
-/**
- * Tests a provided value against a ValueType
- */
-var testValueType = function (v) { return function (type) { return type.test(v); }; };
+    for (var prop in definedHTMLProps) {
+      if (definedHTMLProps[prop] !== undefined) {
+        finalHTMLProps[prop] = definedHTMLProps[prop];
+      }
+    }

+    return finalHTMLProps;
+  };

+  useHook.__useOptions = __useOptions;
+  var composedKeys = composedHooks.reduce(function (keys, hook) {
+    keys.push.apply(keys, hook.__keys || []);
+    return keys;
+  }, []); // It's used by createComponent to split option props (keys) and html props

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js
-/**
- * ValueType for "auto"
- */
-var auto = {
-    test: function (v) { return v === "auto"; },
-    parse: function (v) { return v; },
-};
+  useHook.__keys = [].concat(composedKeys, ((_options$useState = options.useState) === null || _options$useState === void 0 ? void 0 : _options$useState.__keys) || [], options.keys || []);
+  useHook.unstable_propsAreEqual = options.propsAreEqual || ((_composedHooks$ = composedHooks[0]) === null || _composedHooks$ === void 0 ? void 0 : _composedHooks$.unstable_propsAreEqual) || shallowEqual;

+  if (false) {}

+  return useHook;
+}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js


+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useForkRef.js


+// https://github.com/mui-org/material-ui/blob/2bcc874cf07b81202968f769cb9c2398c7c11311/packages/material-ui/src/utils/useForkRef.js
+
+function setRef(ref, value) {
+  if (value === void 0) {
+    value = null;
+  }
+
+  if (!ref) return;
+
+  if (typeof ref === "function") {
+    ref(value);
+  } else {
+    ref.current = value;
+  }
+}
 /**
- * A list of value types commonly used for dimensions
- */
-var dimensionValueTypes = [numbers_number, px, percent, degrees, vw, vh, auto];
-/**
- * Tests a dimensional value against the list of dimension ValueTypes
+ * Merges up to two React Refs into a single memoized function React Ref so you
+ * can pass it to an element.
+ *
+ * @example
+ * import React from "react";
+ * import { useForkRef } from "reakit-utils";
+ *
+ * const Component = React.forwardRef((props, ref) => {
+ *   const internalRef = React.useRef();
+ *   return <div {...props} ref={useForkRef(internalRef, ref)} />;
+ * });
  */
-var findDimensionValueType = function (v) {
-    return dimensionValueTypes.find(testValueType(v));
-};
+
+
+function useForkRef(refA, refB) {
+  return (0,external_React_.useMemo)(function () {
+    if (refA == null && refB == null) {
+      return null;
+    }
+
+    return function (value) {
+      setRef(refA, value);
+      setRef(refB, value);
+    };
+  }, [refA, refB]);
+}



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/find.js
+;// CONCATENATED MODULE: ./node_modules/reakit-warning/es/useWarning.js





+function isRefObject(ref) {
+  return isObject(ref) && "current" in ref;
+}
 /**
- * A list of all ValueTypes
- */
-var valueTypes = __spreadArray(__spreadArray([], __read(dimensionValueTypes)), [color_color, complex]);
-/**
- * Tests a value against the list of ValueTypes
+ * Logs `messages` to the console using `console.warn` based on a `condition`.
+ * This should be used inside components.
  */
-var findValueType = function (v) { return valueTypes.find(testValueType(v)); };


+function useWarning(condition) {
+  for (var _len = arguments.length, messages = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+    messages[_key - 1] = arguments[_key];
+  }

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/setters.js
+  if (false) {}
+}



+;// CONCATENATED MODULE: ./node_modules/reakit-warning/es/index.js






+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/getDocument.js
 /**
- * Set VisualElement's MotionValue, creating a new MotionValue for it if
- * it doesn't exist.
+ * Returns `element.ownerDocument || document`.
  */
-function setMotionValue(visualElement, key, value) {
-    if (visualElement.hasValue(key)) {
-        visualElement.getValue(key).set(value);
-    }
-    else {
-        visualElement.addValue(key, motionValue(value));
-    }
-}
-function setTarget(visualElement, definition) {
-    var resolved = resolveVariant(visualElement, definition);
-    var _a = resolved
-        ? visualElement.makeTargetAnimatable(resolved, false)
-        : {}, _b = _a.transitionEnd, transitionEnd = _b === void 0 ? {} : _b; _a.transition; var target = __rest(_a, ["transitionEnd", "transition"]);
-    target = __assign(__assign({}, target), transitionEnd);
-    for (var key in target) {
-        var value = resolveFinalValueInKeyframes(target[key]);
-        setMotionValue(visualElement, key, value);
-    }
+function getDocument(element) {
+  return element ? element.ownerDocument || element : document;
 }
-function setVariants(visualElement, variantLabels) {
-    var reversedLabels = __spreadArray([], __read(variantLabels)).reverse();
-    reversedLabels.forEach(function (key) {
-        var _a;
-        var variant = visualElement.getVariant(key);
-        variant && setTarget(visualElement, variant);
-        (_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.forEach(function (child) {
-            setVariants(child, variantLabels);
-        });
-    });
-}
-function setters_setValues(visualElement, definition) {
-    if (Array.isArray(definition)) {
-        return setVariants(visualElement, definition);
-    }
-    else if (typeof definition === "string") {
-        return setVariants(visualElement, [definition]);
-    }
-    else {
-        setTarget(visualElement, definition);
-    }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/getWindow.js
+
+
+// Thanks to Fluent UI for doing the [research on IE11 memory leak](https://github.com/microsoft/fluentui/pull/9010#issuecomment-490768427)
+
+var _window; // Note: Accessing "window" in IE11 is somewhat expensive, and calling "typeof window"
+// hits a memory leak, whereas aliasing it and calling "typeof _window" does not.
+// Caching the window value at the file scope lets us minimize the impact.
+
+
+try {
+  _window = window;
+} catch (e) {
+  /* no-op */
 }
-function checkTargetForNewValues(visualElement, target, origin) {
-    var _a, _b, _c;
-    var _d;
-    var newValueKeys = Object.keys(target).filter(function (key) { return !visualElement.hasValue(key); });
-    var numNewValues = newValueKeys.length;
-    if (!numNewValues)
-        return;
-    for (var i = 0; i < numNewValues; i++) {
-        var key = newValueKeys[i];
-        var targetValue = target[key];
-        var value = null;
-        /**
-         * If the target is a series of keyframes, we can use the first value
-         * in the array. If this first value is null, we'll still need to read from the DOM.
-         */
-        if (Array.isArray(targetValue)) {
-            value = targetValue[0];
-        }
-        /**
-         * If the target isn't keyframes, or the first keyframe was null, we need to
-         * first check if an origin value was explicitly defined in the transition as "from",
-         * if not read the value from the DOM. As an absolute fallback, take the defined target value.
-         */
-        if (value === null) {
-            value = (_b = (_a = origin[key]) !== null && _a !== void 0 ? _a : visualElement.readValue(key)) !== null && _b !== void 0 ? _b : target[key];
-        }
-        /**
-         * If value is still undefined or null, ignore it. Preferably this would throw,
-         * but this was causing issues in Framer.
-         */
-        if (value === undefined || value === null)
-            continue;
-        if (typeof value === "string" && isNumericalString(value)) {
-            // If this is a number read as a string, ie "0" or "200", convert it to a number
-            value = parseFloat(value);
-        }
-        else if (!findValueType(value) && complex.test(targetValue)) {
-            value = animatable_none_getAnimatableNone(key, targetValue);
-        }
-        visualElement.addValue(key, motionValue(value));
-        (_c = (_d = origin)[key]) !== null && _c !== void 0 ? _c : (_d[key] = value);
-        visualElement.setBaseTarget(key, value);
-    }
+/**
+ * Returns `element.ownerDocument.defaultView || window`.
+ */
+
+
+function getWindow(element) {
+  if (!element) {
+    return _window;
+  }
+
+  return getDocument(element).defaultView || _window;
 }
-function getOriginFromTransition(key, transition) {
-    if (!transition)
-        return;
-    var valueTransition = transition[key] || transition["default"] || transition;
-    return valueTransition.from;
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/canUseDOM.js
+
+
+
+function checkIsBrowser() {
+  var _window = getWindow();
+
+  return Boolean(typeof _window !== "undefined" && _window.document && _window.document.createElement);
 }
-function getOrigin(target, transition, visualElement) {
-    var _a, _b;
-    var origin = {};
-    for (var key in target) {
-        origin[key] =
-            (_a = getOriginFromTransition(key, transition)) !== null && _a !== void 0 ? _a : (_b = visualElement.getValue(key)) === null || _b === void 0 ? void 0 : _b.get();
-    }
-    return origin;
+/**
+ * It's `true` if it is running in a browser environment or `false` if it is not (SSR).
+ *
+ * @example
+ * import { canUseDOM } from "reakit-utils";
+ *
+ * const title = canUseDOM ? document.title : "";
+ */
+
+
+var canUseDOM = checkIsBrowser();
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useIsomorphicEffect.js
+
+
+
+
+
+/**
+ * `React.useLayoutEffect` that fallbacks to `React.useEffect` on server side
+ * rendering.
+ */
+
+var useIsomorphicEffect = !canUseDOM ? external_React_.useEffect : external_React_.useLayoutEffect;
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useLiveRef.js
+
+
+
+
+
+
+/**
+ * A `React.Ref` that keeps track of the passed `value`.
+ */
+
+function useLiveRef(value) {
+  var ref = (0,external_React_.useRef)(value);
+  useIsomorphicEffect(function () {
+    ref.current = value;
+  });
+  return ref;
 }



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/animation.js
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isSelfTarget.js
+/**
+ * Returns `true` if `event.target` and `event.currentTarget` are the same.
+ */
+function isSelfTarget(event) {
+  return event.target === event.currentTarget;
+}



+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/getActiveElement.js


 /**
- * @internal
+ * Returns `element.ownerDocument.activeElement`.
  */
-function animateVisualElement(visualElement, definition, options) {
-    if (options === void 0) { options = {}; }
-    visualElement.notifyAnimationStart();
-    var animation;
-    if (Array.isArray(definition)) {
-        var animations = definition.map(function (variant) {
-            return animateVariant(visualElement, variant, options);
-        });
-        animation = Promise.all(animations);
-    }
-    else if (typeof definition === "string") {
-        animation = animateVariant(visualElement, definition, options);
-    }
-    else {
-        var resolvedDefinition = typeof definition === "function"
-            ? resolveVariant(visualElement, definition, options.custom)
-            : definition;
-        animation = animateTarget(visualElement, resolvedDefinition, options);
-    }
-    return animation.then(function () {
-        return visualElement.notifyAnimationComplete(definition);
-    });
+
+function getActiveElement_getActiveElement(element) {
+  var _getDocument = getDocument(element),
+      activeElement = _getDocument.activeElement;
+
+  if (!(activeElement !== null && activeElement !== void 0 && activeElement.nodeName)) {
+    // In IE11, activeElement might be an empty object if we're interacting
+    // with elements inside of an iframe.
+    return null;
+  }
+
+  return activeElement;
 }
-function animateVariant(visualElement, variant, options) {
-    var _a;
-    if (options === void 0) { options = {}; }
-    var resolved = resolveVariant(visualElement, variant, options.custom);
-    var _b = (resolved || {}).transition, transition = _b === void 0 ? visualElement.getDefaultTransition() || {} : _b;
-    if (options.transitionOverride) {
-        transition = options.transitionOverride;
-    }
-    /**
-     * If we have a variant, create a callback that runs it as an animation.
-     * Otherwise, we resolve a Promise immediately for a composable no-op.
-     */
-    var getAnimation = resolved
-        ? function () { return animateTarget(visualElement, resolved, options); }
-        : function () { return Promise.resolve(); };
-    /**
-     * If we have children, create a callback that runs all their animations.
-     * Otherwise, we resolve a Promise immediately for a composable no-op.
-     */
-    var getChildAnimations = ((_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.size)
-        ? function (forwardDelay) {
-            if (forwardDelay === void 0) { forwardDelay = 0; }
-            var _a = transition.delayChildren, delayChildren = _a === void 0 ? 0 : _a, staggerChildren = transition.staggerChildren, staggerDirection = transition.staggerDirection;
-            return animateChildren(visualElement, variant, delayChildren + forwardDelay, staggerChildren, staggerDirection, options);
-        }
-        : function () { return Promise.resolve(); };
-    /**
-     * If the transition explicitly defines a "when" option, we need to resolve either
-     * this animation or all children animations before playing the other.
-     */
-    var when = transition.when;
-    if (when) {
-        var _c = __read(when === "beforeChildren"
-            ? [getAnimation, getChildAnimations]
-            : [getChildAnimations, getAnimation], 2), first = _c[0], last = _c[1];
-        return first().then(last);
-    }
-    else {
-        return Promise.all([getAnimation(), getChildAnimations(options.delay)]);
-    }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/contains.js
+/**
+ * Similar to `Element.prototype.contains`, but a little bit faster when
+ * `element` is the same as `child`.
+ *
+ * @example
+ * import { contains } from "reakit-utils";
+ *
+ * contains(document.getElementById("parent"), document.getElementById("child"));
+ */
+function contains(parent, child) {
+  return parent === child || parent.contains(child);
 }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/hasFocusWithin.js
+
+
+
+
 /**
- * @internal
+ * Checks if `element` has focus within. Elements that are referenced by
+ * `aria-activedescendant` are also considered.
+ *
+ * @example
+ * import { hasFocusWithin } from "reakit-utils";
+ *
+ * hasFocusWithin(document.getElementById("id"));
  */
-function animateTarget(visualElement, definition, _a) {
-    var _b;
-    var _c = _a === void 0 ? {} : _a, _d = _c.delay, delay = _d === void 0 ? 0 : _d, transitionOverride = _c.transitionOverride, type = _c.type;
-    var _e = visualElement.makeTargetAnimatable(definition), _f = _e.transition, transition = _f === void 0 ? visualElement.getDefaultTransition() : _f, transitionEnd = _e.transitionEnd, target = __rest(_e, ["transition", "transitionEnd"]);
-    if (transitionOverride)
-        transition = transitionOverride;
-    var animations = [];
-    var animationTypeState = type && ((_b = visualElement.animationState) === null || _b === void 0 ? void 0 : _b.getState()[type]);
-    for (var key in target) {
-        var value = visualElement.getValue(key);
-        var valueTarget = target[key];
-        if (!value ||
-            valueTarget === undefined ||
-            (animationTypeState &&
-                shouldBlockAnimation(animationTypeState, key))) {
-            continue;
-        }
-        var animation = transitions_startAnimation(key, value, valueTarget, __assign({ delay: delay }, transition));
-        animations.push(animation);
-    }
-    return Promise.all(animations).then(function () {
-        transitionEnd && setTarget(visualElement, transitionEnd);
-    });
+
+function hasFocusWithin(element) {
+  var activeElement = getActiveElement_getActiveElement(element);
+  if (!activeElement) return false;
+  if (contains(element, activeElement)) return true;
+  var activeDescendant = activeElement.getAttribute("aria-activedescendant");
+  if (!activeDescendant) return false;
+  if (activeDescendant === element.id) return true;
+  return !!element.querySelector("#" + activeDescendant);
 }
-function animateChildren(visualElement, variant, delayChildren, staggerChildren, staggerDirection, options) {
-    if (delayChildren === void 0) { delayChildren = 0; }
-    if (staggerChildren === void 0) { staggerChildren = 0; }
-    if (staggerDirection === void 0) { staggerDirection = 1; }
-    var animations = [];
-    var maxStaggerDuration = (visualElement.variantChildren.size - 1) * staggerChildren;
-    var generateStaggerDuration = staggerDirection === 1
-        ? function (i) {
-            if (i === void 0) { i = 0; }
-            return i * staggerChildren;
-        }
-        : function (i) {
-            if (i === void 0) { i = 0; }
-            return maxStaggerDuration - i * staggerChildren;
-        };
-    Array.from(visualElement.variantChildren)
-        .sort(sortByTreeOrder)
-        .forEach(function (child, i) {
-        animations.push(animateVariant(child, variant, __assign(__assign({}, options), { delay: delayChildren + generateStaggerDuration(i) })).then(function () { return child.notifyAnimationComplete(variant); }));
-    });
-    return Promise.all(animations);
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isPortalEvent.js
+
+
+/**
+ * Returns `true` if `event` has been fired within a React Portal element.
+ */
+
+function isPortalEvent(event) {
+  return !contains(event.currentTarget, event.target);
 }
-function animation_stopAnimation(visualElement) {
-    visualElement.forEachValue(function (value) { return value.stop(); });
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isButton.js
+var buttonInputTypes = ["button", "color", "file", "image", "reset", "submit"];
+/**
+ * Checks whether `element` is a native HTML button element.
+ *
+ * @example
+ * import { isButton } from "reakit-utils";
+ *
+ * isButton(document.querySelector("button")); // true
+ * isButton(document.querySelector("input[type='button']")); // true
+ * isButton(document.querySelector("div")); // false
+ * isButton(document.querySelector("input[type='text']")); // false
+ * isButton(document.querySelector("div[role='button']")); // false
+ *
+ * @returns {boolean}
+ */
+
+function isButton(element) {
+  if (element.tagName === "BUTTON") return true;
+
+  if (element.tagName === "INPUT") {
+    var input = element;
+    return buttonInputTypes.indexOf(input.type) !== -1;
+  }
+
+  return false;
 }
-function sortByTreeOrder(a, b) {
-    return a.sortNodePosition(b);
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/dom.js
+
+
+
+
+/**
+ * Checks if a given string exists in the user agent string.
+ */
+
+function isUA(string) {
+  if (!canUseDOM) return false;
+  return window.navigator.userAgent.indexOf(string) !== -1;
 }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/matches.js
 /**
- * Decide whether we should block this animation. Previously, we achieved this
- * just by checking whether the key was listed in protectedKeys, but this
- * posed problems if an animation was triggered by afterChildren and protectedKeys
- * had been set to true in the meantime.
+ * Ponyfill for `Element.prototype.matches`
+ *
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/matches
  */
-function shouldBlockAnimation(_a, key) {
-    var protectedKeys = _a.protectedKeys, needsAnimating = _a.needsAnimating;
-    var shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;
-    needsAnimating[key] = false;
-    return shouldBlock;
+function matches(element, selectors) {
+  if ("matches" in element) {
+    return element.matches(selectors);
+  }
+
+  if ("msMatchesSelector" in element) {
+    return element.msMatchesSelector(selectors);
+  }
+
+  return element.webkitMatchesSelector(selectors);
 }



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/animation-state.js
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/tabbable.js
+




+/** @module tabbable */
+var selector = "input:not([type='hidden']):not([disabled]), select:not([disabled]), " + "textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], " + "iframe, object, embed, area[href], audio[controls], video[controls], " + "[contenteditable]:not([contenteditable='false'])";

+function isVisible(element) {
+  var htmlElement = element;
+  return htmlElement.offsetWidth > 0 || htmlElement.offsetHeight > 0 || element.getClientRects().length > 0;
+}

+function hasNegativeTabIndex(element) {
+  var tabIndex = parseInt(element.getAttribute("tabindex") || "0", 10);
+  return tabIndex < 0;
+}
+/**
+ * Checks whether `element` is focusable or not.
+ *
+ * @memberof tabbable
+ *
+ * @example
+ * import { isFocusable } from "reakit-utils";
+ *
+ * isFocusable(document.querySelector("input")); // true
+ * isFocusable(document.querySelector("input[tabindex='-1']")); // true
+ * isFocusable(document.querySelector("input[hidden]")); // false
+ * isFocusable(document.querySelector("input:disabled")); // false
+ */


-var variantPriorityOrder = [
-    AnimationType.Animate,
-    AnimationType.Hover,
-    AnimationType.Tap,
-    AnimationType.Drag,
-    AnimationType.Focus,
-    AnimationType.Exit,
-];
-var reversePriorityOrder = __spreadArray([], __read(variantPriorityOrder)).reverse();
-var numAnimationTypes = variantPriorityOrder.length;
-function animateList(visualElement) {
-    return function (animations) {
-        return Promise.all(animations.map(function (_a) {
-            var animation = _a.animation, options = _a.options;
-            return animateVisualElement(visualElement, animation, options);
-        }));
-    };
+function isFocusable(element) {
+  return matches(element, selector) && isVisible(element);
 }
-function createAnimationState(visualElement) {
-    var animate = animateList(visualElement);
-    var state = createState();
-    var allAnimatedKeys = {};
-    var isInitialRender = true;
-    /**
-     * This function will be used to reduce the animation definitions for
-     * each active animation type into an object of resolved values for it.
-     */
-    var buildResolvedTypeValues = function (acc, definition) {
-        var resolved = resolveVariant(visualElement, definition);
-        if (resolved) {
-            resolved.transition; var transitionEnd = resolved.transitionEnd, target = __rest(resolved, ["transition", "transitionEnd"]);
-            acc = __assign(__assign(__assign({}, acc), target), transitionEnd);
-        }
-        return acc;
-    };
-    function isAnimated(key) {
-        return allAnimatedKeys[key] !== undefined;
-    }
-    /**
-     * This just allows us to inject mocked animation functions
-     * @internal
-     */
-    function setAnimateFunction(makeAnimator) {
-        animate = makeAnimator(visualElement);
-    }
-    /**
-     * When we receive new props, we need to:
-     * 1. Create a list of protected keys for each type. This is a directory of
-     *    value keys that are currently being "handled" by types of a higher priority
-     *    so that whenever an animation is played of a given type, these values are
-     *    protected from being animated.
-     * 2. Determine if an animation type needs animating.
-     * 3. Determine if any values have been removed from a type and figure out
-     *    what to animate those to.
-     */
-    function animateChanges(options, changedActiveType) {
-        var _a;
-        var props = visualElement.getProps();
-        var context = visualElement.getVariantContext(true) || {};
-        /**
-         * A list of animations that we'll build into as we iterate through the animation
-         * types. This will get executed at the end of the function.
-         */
-        var animations = [];
-        /**
-         * Keep track of which values have been removed. Then, as we hit lower priority
-         * animation types, we can check if they contain removed values and animate to that.
-         */
-        var removedKeys = new Set();
-        /**
-         * A dictionary of all encountered keys. This is an object to let us build into and
-         * copy it without iteration. Each time we hit an animation type we set its protected
-         * keys - the keys its not allowed to animate - to the latest version of this object.
-         */
-        var encounteredKeys = {};
-        /**
-         * If a variant has been removed at a given index, and this component is controlling
-         * variant animations, we want to ensure lower-priority variants are forced to animate.
-         */
-        var removedVariantIndex = Infinity;
-        var _loop_1 = function (i) {
-            var type = reversePriorityOrder[i];
-            var typeState = state[type];
-            var prop = (_a = props[type]) !== null && _a !== void 0 ? _a : context[type];
-            var propIsVariant = isVariantLabel(prop);
-            /**
-             * If this type has *just* changed isActive status, set activeDelta
-             * to that status. Otherwise set to null.
-             */
-            var activeDelta = type === changedActiveType ? typeState.isActive : null;
-            if (activeDelta === false)
-                removedVariantIndex = i;
-            /**
-             * If this prop is an inherited variant, rather than been set directly on the
-             * component itself, we want to make sure we allow the parent to trigger animations.
-             *
-             * TODO: Can probably change this to a !isControllingVariants check
-             */
-            var isInherited = prop === context[type] && prop !== props[type] && propIsVariant;
-            /**
-             *
-             */
-            if (isInherited &&
-                isInitialRender &&
-                visualElement.manuallyAnimateOnMount) {
-                isInherited = false;
-            }
-            /**
-             * Set all encountered keys so far as the protected keys for this type. This will
-             * be any key that has been animated or otherwise handled by active, higher-priortiy types.
-             */
-            typeState.protectedKeys = __assign({}, encounteredKeys);
-            // Check if we can skip analysing this prop early
-            if (
-            // If it isn't active and hasn't *just* been set as inactive
-            (!typeState.isActive && activeDelta === null) ||
-                // If we didn't and don't have any defined prop for this animation type
-                (!prop && !typeState.prevProp) ||
-                // Or if the prop doesn't define an animation
-                isAnimationControls(prop) ||
-                typeof prop === "boolean") {
-                return "continue";
-            }
-            /**
-             * As we go look through the values defined on this type, if we detect
-             * a changed value or a value that was removed in a higher priority, we set
-             * this to true and add this prop to the animation list.
-             */
-            var shouldAnimateType = variantsHaveChanged(typeState.prevProp, prop) ||
-                // If we're making this variant active, we want to always make it active
-                (type === changedActiveType &&
-                    typeState.isActive &&
-                    !isInherited &&
-                    propIsVariant) ||
-                // If we removed a higher-priority variant (i is in reverse order)
-                (i > removedVariantIndex && propIsVariant);
-            /**
-             * As animations can be set as variant lists, variants or target objects, we
-             * coerce everything to an array if it isn't one already
-             */
-            var definitionList = Array.isArray(prop) ? prop : [prop];
-            /**
-             * Build an object of all the resolved values. We'll use this in the subsequent
-             * animateChanges calls to determine whether a value has changed.
-             */
-            var resolvedValues = definitionList.reduce(buildResolvedTypeValues, {});
-            if (activeDelta === false)
-                resolvedValues = {};
-            /**
-             * Now we need to loop through all the keys in the prev prop and this prop,
-             * and decide:
-             * 1. If the value has changed, and needs animating
-             * 2. If it has been removed, and needs adding to the removedKeys set
-             * 3. If it has been removed in a higher priority type and needs animating
-             * 4. If it hasn't been removed in a higher priority but hasn't changed, and
-             *    needs adding to the type's protectedKeys list.
-             */
-            var _b = typeState.prevResolvedValues, prevResolvedValues = _b === void 0 ? {} : _b;
-            var allKeys = __assign(__assign({}, prevResolvedValues), resolvedValues);
-            var markToAnimate = function (key) {
-                shouldAnimateType = true;
-                removedKeys.delete(key);
-                typeState.needsAnimating[key] = true;
-            };
-            for (var key in allKeys) {
-                var next = resolvedValues[key];
-                var prev = prevResolvedValues[key];
-                // If we've already handled this we can just skip ahead
-                if (encounteredKeys.hasOwnProperty(key))
-                    continue;
-                /**
-                 * If the value has changed, we probably want to animate it.
-                 */
-                if (next !== prev) {
-                    /**
-                     * If both values are keyframes, we need to shallow compare them to
-                     * detect whether any value has changed. If it has, we animate it.
-                     */
-                    if (isKeyframesTarget(next) && isKeyframesTarget(prev)) {
-                        if (!shallowCompare(next, prev)) {
-                            markToAnimate(key);
-                        }
-                        else {
-                            /**
-                             * If it hasn't changed, we want to ensure it doesn't animate by
-                             * adding it to the list of protected keys.
-                             */
-                            typeState.protectedKeys[key] = true;
-                        }
-                    }
-                    else if (next !== undefined) {
-                        // If next is defined and doesn't equal prev, it needs animating
-                        markToAnimate(key);
-                    }
-                    else {
-                        // If it's undefined, it's been removed.
-                        removedKeys.add(key);
-                    }
-                }
-                else if (next !== undefined && removedKeys.has(key)) {
-                    /**
-                     * If next hasn't changed and it isn't undefined, we want to check if it's
-                     * been removed by a higher priority
-                     */
-                    markToAnimate(key);
-                }
-                else {
-                    /**
-                     * If it hasn't changed, we add it to the list of protected values
-                     * to ensure it doesn't get animated.
-                     */
-                    typeState.protectedKeys[key] = true;
-                }
-            }
-            /**
-             * Update the typeState so next time animateChanges is called we can compare the
-             * latest prop and resolvedValues to these.
-             */
-            typeState.prevProp = prop;
-            typeState.prevResolvedValues = resolvedValues;
-            /**
-             *
-             */
-            if (typeState.isActive) {
-                encounteredKeys = __assign(__assign({}, encounteredKeys), resolvedValues);
-            }
-            if (isInitialRender && visualElement.blockInitialAnimation) {
-                shouldAnimateType = false;
-            }
-            /**
-             * If this is an inherited prop we want to hard-block animations
-             * TODO: Test as this should probably still handle animations triggered
-             * by removed values?
-             */
-            if (shouldAnimateType && !isInherited) {
-                animations.push.apply(animations, __spreadArray([], __read(definitionList.map(function (animation) { return ({
-                    animation: animation,
-                    options: __assign({ type: type }, options),
-                }); }))));
-            }
-        };
-        /**
-         * Iterate through all animation types in reverse priority order. For each, we want to
-         * detect which values it's handling and whether or not they've changed (and therefore
-         * need to be animated). If any values have been removed, we want to detect those in
-         * lower priority props and flag for animation.
-         */
-        for (var i = 0; i < numAnimationTypes; i++) {
-            _loop_1(i);
-        }
-        allAnimatedKeys = __assign({}, encounteredKeys);
-        /**
-         * If there are some removed value that haven't been dealt with,
-         * we need to create a new animation that falls back either to the value
-         * defined in the style prop, or the last read value.
-         */
-        if (removedKeys.size) {
-            var fallbackAnimation_1 = {};
-            removedKeys.forEach(function (key) {
-                var fallbackTarget = visualElement.getBaseTarget(key);
-                if (fallbackTarget !== undefined) {
-                    fallbackAnimation_1[key] = fallbackTarget;
-                }
-            });
-            animations.push({ animation: fallbackAnimation_1 });
-        }
-        var shouldAnimate = Boolean(animations.length);
-        if (isInitialRender &&
-            props.initial === false &&
-            !visualElement.manuallyAnimateOnMount) {
-            shouldAnimate = false;
-        }
-        isInitialRender = false;
-        return shouldAnimate ? animate(animations) : Promise.resolve();
-    }
-    /**
-     * Change whether a certain animation type is active.
-     */
-    function setActive(type, isActive, options) {
-        var _a;
-        // If the active state hasn't changed, we can safely do nothing here
-        if (state[type].isActive === isActive)
-            return Promise.resolve();
-        // Propagate active change to children
-        (_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.forEach(function (child) { var _a; return (_a = child.animationState) === null || _a === void 0 ? void 0 : _a.setActive(type, isActive); });
-        state[type].isActive = isActive;
-        return animateChanges(options, type);
-    }
-    return {
-        isAnimated: isAnimated,
-        animateChanges: animateChanges,
-        setActive: setActive,
-        setAnimateFunction: setAnimateFunction,
-        getState: function () { return state; },
-    };
+/**
+ * Checks whether `element` is tabbable or not.
+ *
+ * @memberof tabbable
+ *
+ * @example
+ * import { isTabbable } from "reakit-utils";
+ *
+ * isTabbable(document.querySelector("input")); // true
+ * isTabbable(document.querySelector("input[tabindex='-1']")); // false
+ * isTabbable(document.querySelector("input[hidden]")); // false
+ * isTabbable(document.querySelector("input:disabled")); // false
+ */
+
+function isTabbable(element) {
+  return isFocusable(element) && !hasNegativeTabIndex(element);
 }
-function variantsHaveChanged(prev, next) {
-    if (typeof next === "string") {
-        return next !== prev;
-    }
-    else if (isVariantLabels(next)) {
-        return !shallowCompare(next, prev);
-    }
-    return false;
+/**
+ * Returns all the focusable elements in `container`.
+ *
+ * @memberof tabbable
+ *
+ * @param {Element} container
+ *
+ * @returns {Element[]}
+ */
+
+function getAllFocusableIn(container) {
+  var allFocusable = Array.from(container.querySelectorAll(selector));
+  allFocusable.unshift(container);
+  return allFocusable.filter(isFocusable);
 }
-function createTypeState(isActive) {
-    if (isActive === void 0) { isActive = false; }
-    return {
-        isActive: isActive,
-        protectedKeys: {},
-        needsAnimating: {},
-        prevResolvedValues: {},
-    };
+/**
+ * Returns the first focusable element in `container`.
+ *
+ * @memberof tabbable
+ *
+ * @param {Element} container
+ *
+ * @returns {Element|null}
+ */
+
+function getFirstFocusableIn(container) {
+  var _getAllFocusableIn = getAllFocusableIn(container),
+      first = _getAllFocusableIn[0];
+
+  return first || null;
 }
-function createState() {
-    var _a;
-    return _a = {},
-        _a[AnimationType.Animate] = createTypeState(true),
-        _a[AnimationType.Hover] = createTypeState(),
-        _a[AnimationType.Tap] = createTypeState(),
-        _a[AnimationType.Drag] = createTypeState(),
-        _a[AnimationType.Focus] = createTypeState(),
-        _a[AnimationType.Exit] = createTypeState(),
-        _a;
+/**
+ * Returns all the tabbable elements in `container`, including the container
+ * itself.
+ *
+ * @memberof tabbable
+ *
+ * @param {Element} container
+ * @param fallbackToFocusable If `true`, it'll return focusable elements if there are no tabbable ones.
+ *
+ * @returns {Element[]}
+ */
+
+function getAllTabbableIn(container, fallbackToFocusable) {
+  var allFocusable = Array.from(container.querySelectorAll(selector));
+  var allTabbable = allFocusable.filter(isTabbable);
+
+  if (isTabbable(container)) {
+    allTabbable.unshift(container);
+  }
+
+  if (!allTabbable.length && fallbackToFocusable) {
+    return allFocusable;
+  }
+
+  return allTabbable;
 }
+/**
+ * Returns the first tabbable element in `container`, including the container
+ * itself if it's tabbable.
+ *
+ * @memberof tabbable
+ *
+ * @param {Element} container
+ * @param fallbackToFocusable If `true`, it'll return the first focusable element if there are no tabbable ones.
+ *
+ * @returns {Element|null}
+ */

+function getFirstTabbableIn(container, fallbackToFocusable) {
+  var _getAllTabbableIn = getAllTabbableIn(container, fallbackToFocusable),
+      first = _getAllTabbableIn[0];

+  return first || null;
+}
+/**
+ * Returns the last tabbable element in `container`, including the container
+ * itself if it's tabbable.
+ *
+ * @memberof tabbable
+ *
+ * @param {Element} container
+ * @param fallbackToFocusable If `true`, it'll return the last focusable element if there are no tabbable ones.
+ *
+ * @returns {Element|null}
+ */

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/animations.js
+function getLastTabbableIn(container, fallbackToFocusable) {
+  var allTabbable = getAllTabbableIn(container, fallbackToFocusable);
+  return allTabbable[allTabbable.length - 1] || null;
+}
+/**
+ * Returns the next tabbable element in `container`.
+ *
+ * @memberof tabbable
+ *
+ * @param {Element} container
+ * @param fallbackToFocusable If `true`, it'll return the next focusable element if there are no tabbable ones.
+ *
+ * @returns {Element|null}
+ */

+function getNextTabbableIn(container, fallbackToFocusable) {
+  var activeElement = getActiveElement(container);
+  var allFocusable = getAllFocusableIn(container);
+  var index = allFocusable.indexOf(activeElement);
+  var slice = allFocusable.slice(index + 1);
+  return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null);
+}
+/**
+ * Returns the previous tabbable element in `container`.
+ *
+ * @memberof tabbable
+ *
+ * @param {Element} container
+ * @param fallbackToFocusable If `true`, it'll return the previous focusable element if there are no tabbable ones.
+ *
+ * @returns {Element|null}
+ */

+function getPreviousTabbableIn(container, fallbackToFocusable) {
+  var activeElement = getActiveElement(container);
+  var allFocusable = getAllFocusableIn(container).reverse();
+  var index = allFocusable.indexOf(activeElement);
+  var slice = allFocusable.slice(index + 1);
+  return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null);
+}
+/**
+ * Returns the closest focusable element.
+ *
+ * @memberof tabbable
+ *
+ * @param {Element} container
+ *
+ * @returns {Element|null}
+ */

+function getClosestFocusable(element) {
+  while (element && !isFocusable(element)) {
+    element = closest(element, selector);
+  }

+  return element;
+}



+;// CONCATENATED MODULE: ./node_modules/reakit/es/Role/Role.js


-var animations_animations = {
-    animation: makeRenderlessComponent(function (_a) {
-        var visualElement = _a.visualElement, animate = _a.animate;
-        /**
-         * We dynamically generate the AnimationState manager as it contains a reference
-         * to the underlying animation library. We only want to load that if we load this,
-         * so people can optionally code split it out using the `m` component.
-         */
-        visualElement.animationState || (visualElement.animationState = createAnimationState(visualElement));
-        /**
-         * Subscribe any provided AnimationControls to the component's VisualElement
-         */
-        if (isAnimationControls(animate)) {
-            Object(external_React_["useEffect"])(function () { return animate.subscribe(visualElement); }, [animate]);
-        }
-    }),
-    exit: makeRenderlessComponent(function (props) {
-        var custom = props.custom, visualElement = props.visualElement;
-        var _a = __read(usePresence(), 2), isPresent = _a[0], onExitComplete = _a[1];
-        var presenceContext = Object(external_React_["useContext"])(PresenceContext);
-        Object(external_React_["useEffect"])(function () {
-            var _a, _b;
-            var animation = (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Exit, !isPresent, { custom: (_b = presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.custom) !== null && _b !== void 0 ? _b : custom });
-            !isPresent && (animation === null || animation === void 0 ? void 0 : animation.then(onExitComplete));
-        }, [isPresent]);
-    }),
-};



-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/is-point.js
-var isPoint = function (point) {
-    return point.hasOwnProperty('x') && point.hasOwnProperty('y');
-};
+// Automatically generated
+var ROLE_KEYS = ["unstable_system"];

+var useRole = createHook({
+  name: "Role",
+  keys: ROLE_KEYS,
+  propsAreEqual: function propsAreEqual(prev, next) {
+    var prevSystem = prev.unstable_system,
+        prevProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(prev, ["unstable_system"]);

+    var nextSystem = next.unstable_system,
+        nextProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(next, ["unstable_system"]);

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/is-point-3d.js
+    if (prevSystem !== nextSystem && !shallowEqual(prevSystem, nextSystem)) {
+      return false;
+    }

+    return shallowEqual(prevProps, nextProps);
+  }
+});
+var Role = createComponent({
+  as: "div",
+  useHook: useRole
+});

-var isPoint3D = function (point) {
-    return isPoint(point) && point.hasOwnProperty('z');
-};


+;// CONCATENATED MODULE: ./node_modules/reakit/es/Tabbable/Tabbable.js

-// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/distance.js




-var distance1D = function (a, b) { return Math.abs(a - b); };
-function distance_distance(a, b) {
-    if (isNum(a) && isNum(b)) {
-        return distance1D(a, b);
-    }
-    else if (isPoint(a) && isPoint(b)) {
-        var xDelta = distance1D(a.x, b.x);
-        var yDelta = distance1D(a.y, b.y);
-        var zDelta = isPoint3D(a) && isPoint3D(b) ? distance1D(a.z, b.z) : 0;
-        return Math.sqrt(Math.pow(xDelta, 2) + Math.pow(yDelta, 2) + Math.pow(zDelta, 2));
-    }
-}



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/PanSession.js



@@ -20088,800 +17880,606 @@ function distance_distance(a, b) {



-/**
- * @internal
- */
-var PanSession_PanSession = /** @class */ (function () {
-    function PanSession(event, handlers, _a) {
-        var _this = this;
-        var _b = _a === void 0 ? {} : _a, transformPagePoint = _b.transformPagePoint;
-        /**
-         * @internal
-         */
-        this.startEvent = null;
-        /**
-         * @internal
-         */
-        this.lastMoveEvent = null;
-        /**
-         * @internal
-         */
-        this.lastMoveEventInfo = null;
-        /**
-         * @internal
-         */
-        this.handlers = {};
-        this.updatePoint = function () {
-            if (!(_this.lastMoveEvent && _this.lastMoveEventInfo))
-                return;
-            var info = getPanInfo(_this.lastMoveEventInfo, _this.history);
-            var isPanStarted = _this.startEvent !== null;
-            // Only start panning if the offset is larger than 3 pixels. If we make it
-            // any larger than this we'll want to reset the pointer history
-            // on the first update to avoid visual snapping to the cursoe.
-            var isDistancePastThreshold = distance_distance(info.offset, { x: 0, y: 0 }) >= 3;
-            if (!isPanStarted && !isDistancePastThreshold)
-                return;
-            var point = info.point;
-            var timestamp = getFrameData().timestamp;
-            _this.history.push(__assign(__assign({}, point), { timestamp: timestamp }));
-            var _a = _this.handlers, onStart = _a.onStart, onMove = _a.onMove;
-            if (!isPanStarted) {
-                onStart && onStart(_this.lastMoveEvent, info);
-                _this.startEvent = _this.lastMoveEvent;
-            }
-            onMove && onMove(_this.lastMoveEvent, info);
-        };
-        this.handlePointerMove = function (event, info) {
-            _this.lastMoveEvent = event;
-            _this.lastMoveEventInfo = PanSession_transformPoint(info, _this.transformPagePoint);
-            // Because Safari doesn't trigger mouseup events when it's above a `<select>`
-            if (isMouseEvent(event) && event.buttons === 0) {
-                _this.handlePointerUp(event, info);
-                return;
-            }
-            // Throttle mouse move event to once per frame
-            dist_es.update(_this.updatePoint, true);
-        };
-        this.handlePointerUp = function (event, info) {
-            _this.end();
-            var _a = _this.handlers, onEnd = _a.onEnd, onSessionEnd = _a.onSessionEnd;
-            var panInfo = getPanInfo(PanSession_transformPoint(info, _this.transformPagePoint), _this.history);
-            if (_this.startEvent && onEnd) {
-                onEnd(event, panInfo);
-            }
-            onSessionEnd && onSessionEnd(event, panInfo);
-        };
-        // If we have more than one touch, don't start detecting this gesture
-        if (isTouchEvent(event) && event.touches.length > 1)
-            return;
-        this.handlers = handlers;
-        this.transformPagePoint = transformPagePoint;
-        var info = extractEventInfo(event);
-        var initialInfo = PanSession_transformPoint(info, this.transformPagePoint);
-        var point = initialInfo.point;
-        var timestamp = getFrameData().timestamp;
-        this.history = [__assign(__assign({}, point), { timestamp: timestamp })];
-        var onSessionStart = handlers.onSessionStart;
-        onSessionStart &&
-            onSessionStart(event, getPanInfo(initialInfo, this.history));
-        this.removeListeners = pipe(addPointerEvent(window, "pointermove", this.handlePointerMove), addPointerEvent(window, "pointerup", this.handlePointerUp), addPointerEvent(window, "pointercancel", this.handlePointerUp));
-    }
-    PanSession.prototype.updateHandlers = function (handlers) {
-        this.handlers = handlers;
-    };
-    PanSession.prototype.end = function () {
-        this.removeListeners && this.removeListeners();
-        cancelSync.update(this.updatePoint);
-    };
-    return PanSession;
-}());
-function PanSession_transformPoint(info, transformPagePoint) {
-    return transformPagePoint ? { point: transformPagePoint(info.point) } : info;
+// Automatically generated
+var TABBABLE_KEYS = ["disabled", "focusable"];
+
+var isSafariOrFirefoxOnMac = isUA("Mac") && !isUA("Chrome") && (isUA("Safari") || isUA("Firefox"));
+
+function focusIfNeeded(element) {
+  if (!hasFocusWithin(element) && isFocusable(element)) {
+    element.focus();
+  }
 }
-function subtractPoint(a, b) {
-    return { x: a.x - b.x, y: a.y - b.y };
+
+function isNativeTabbable(element) {
+  return ["BUTTON", "INPUT", "SELECT", "TEXTAREA", "A"].includes(element.tagName);
 }
-function getPanInfo(_a, history) {
-    var point = _a.point;
-    return {
-        point: point,
-        delta: subtractPoint(point, lastDevicePoint(history)),
-        offset: subtractPoint(point, startDevicePoint(history)),
-        velocity: PanSession_getVelocity(history, 0.1),
-    };
-}
-function startDevicePoint(history) {
-    return history[0];
-}
-function lastDevicePoint(history) {
-    return history[history.length - 1];
-}
-function PanSession_getVelocity(history, timeDelta) {
-    if (history.length < 2) {
-        return { x: 0, y: 0 };
-    }
-    var i = history.length - 1;
-    var timestampedPoint = null;
-    var lastPoint = lastDevicePoint(history);
-    while (i >= 0) {
-        timestampedPoint = history[i];
-        if (lastPoint.timestamp - timestampedPoint.timestamp >
-            secondsToMilliseconds(timeDelta)) {
-            break;
-        }
-        i--;
-    }
-    if (!timestampedPoint) {
-        return { x: 0, y: 0 };
-    }
-    var time = (lastPoint.timestamp - timestampedPoint.timestamp) / 1000;
-    if (time === 0) {
-        return { x: 0, y: 0 };
-    }
-    var currentVelocity = {
-        x: (lastPoint.x - timestampedPoint.x) / time,
-        y: (lastPoint.y - timestampedPoint.y) / time,
-    };
-    if (currentVelocity.x === Infinity) {
-        currentVelocity.x = 0;
-    }
-    if (currentVelocity.y === Infinity) {
-        currentVelocity.y = 0;
-    }
-    return currentVelocity;
-}
-
-

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/noop.js
-function noop(any) {
-    return any;
+function supportsDisabledAttribute(element) {
+  return ["BUTTON", "INPUT", "SELECT", "TEXTAREA"].includes(element.tagName);
 }

+function getTabIndex(trulyDisabled, nativeTabbable, supportsDisabled, htmlTabIndex) {
+  if (trulyDisabled) {
+    if (nativeTabbable && !supportsDisabled) {
+      // Anchor, audio and video tags don't support the `disabled` attribute.
+      // We must pass tabIndex={-1} so they don't receive focus on tab.
+      return -1;
+    } // Elements that support the `disabled` attribute don't need tabIndex.


-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/geometry/index.js
+    return undefined;
+  }

+  if (nativeTabbable) {
+    // If the element is enabled and it's natively tabbable, we don't need to
+    // specify a tabIndex attribute unless it's explicitly set by the user.
+    return htmlTabIndex;
+  } // If the element is enabled and is not natively tabbable, we have to
+  // fallback tabIndex={0}.


-/**
- * Bounding boxes tend to be defined as top, left, right, bottom. For various operations
- * it's easier to consider each axis individually. This function returns a bounding box
- * as a map of single-axis min/max values.
- */
-function convertBoundingBoxToAxisBox(_a) {
-    var top = _a.top, left = _a.left, right = _a.right, bottom = _a.bottom;
-    return {
-        x: { min: left, max: right },
-        y: { min: top, max: bottom },
-    };
-}
-function convertAxisBoxToBoundingBox(_a) {
-    var x = _a.x, y = _a.y;
-    return {
-        top: y.min,
-        bottom: y.max,
-        left: x.min,
-        right: x.max,
-    };
-}
-/**
- * Applies a TransformPoint function to a bounding box. TransformPoint is usually a function
- * provided by Framer to allow measured points to be corrected for device scaling. This is used
- * when measuring DOM elements and DOM event points.
- */
-function transformBoundingBox(_a, transformPoint) {
-    var top = _a.top, left = _a.left, bottom = _a.bottom, right = _a.right;
-    if (transformPoint === void 0) { transformPoint = noop; }
-    var topLeft = transformPoint({ x: left, y: top });
-    var bottomRight = transformPoint({ x: right, y: bottom });
-    return {
-        top: topLeft.y,
-        left: topLeft.x,
-        bottom: bottomRight.y,
-        right: bottomRight.x,
-    };
-}
-/**
- * Create an empty axis box of zero size
- */
-function axisBox() {
-    return { x: { min: 0, max: 1 }, y: { min: 0, max: 1 } };
-}
-function copyAxisBox(box) {
-    return {
-        x: __assign({}, box.x),
-        y: __assign({}, box.y),
-    };
-}
-/**
- * Create an empty box delta
- */
-var zeroDelta = {
-    translate: 0,
-    scale: 1,
-    origin: 0,
-    originPoint: 0,
-};
-function geometry_delta() {
-    return {
-        x: __assign({}, zeroDelta),
-        y: __assign({}, zeroDelta),
-    };
+  return htmlTabIndex || 0;
 }

+function useDisableEvent(htmlEventRef, disabled) {
+  return (0,external_React_.useCallback)(function (event) {
+    var _htmlEventRef$current;

+    (_htmlEventRef$current = htmlEventRef.current) === null || _htmlEventRef$current === void 0 ? void 0 : _htmlEventRef$current.call(htmlEventRef, event);
+    if (event.defaultPrevented) return;

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/each-axis.js
-// Call a handler once for each axis
-function eachAxis(handler) {
-    return [handler("x"), handler("y")];
+    if (disabled) {
+      event.stopPropagation();
+      event.preventDefault();
+    }
+  }, [htmlEventRef, disabled]);
 }

+var useTabbable = createHook({
+  name: "Tabbable",
+  compose: useRole,
+  keys: TABBABLE_KEYS,
+  useOptions: function useOptions(options, _ref) {
+    var disabled = _ref.disabled;
+    return _objectSpread2({
+      disabled: disabled
+    }, options);
+  },
+  useProps: function useProps(options, _ref2) {
+    var htmlRef = _ref2.ref,
+        htmlTabIndex = _ref2.tabIndex,
+        htmlOnClickCapture = _ref2.onClickCapture,
+        htmlOnMouseDownCapture = _ref2.onMouseDownCapture,
+        htmlOnMouseDown = _ref2.onMouseDown,
+        htmlOnKeyPressCapture = _ref2.onKeyPressCapture,
+        htmlStyle = _ref2.style,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref2, ["ref", "tabIndex", "onClickCapture", "onMouseDownCapture", "onMouseDown", "onKeyPressCapture", "style"]);

+    var ref = (0,external_React_.useRef)(null);
+    var onClickCaptureRef = useLiveRef(htmlOnClickCapture);
+    var onMouseDownCaptureRef = useLiveRef(htmlOnMouseDownCapture);
+    var onMouseDownRef = useLiveRef(htmlOnMouseDown);
+    var onKeyPressCaptureRef = useLiveRef(htmlOnKeyPressCapture);
+    var trulyDisabled = !!options.disabled && !options.focusable;

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js
-
+    var _React$useState = (0,external_React_.useState)(true),
+        nativeTabbable = _React$useState[0],
+        setNativeTabbable = _React$useState[1];

+    var _React$useState2 = (0,external_React_.useState)(true),
+        supportsDisabled = _React$useState2[0],
+        setSupportsDisabled = _React$useState2[1];

-/**
- * Apply constraints to a point. These constraints are both physical along an
- * axis, and an elastic factor that determines how much to constrain the point
- * by if it does lie outside the defined parameters.
- */
-function applyConstraints(point, _a, elastic) {
-    var min = _a.min, max = _a.max;
-    if (min !== undefined && point < min) {
-        // If we have a min point defined, and this is outside of that, constrain
-        point = elastic ? mix(min, point, elastic.min) : Math.max(point, min);
-    }
-    else if (max !== undefined && point > max) {
-        // If we have a max point defined, and this is outside of that, constrain
-        point = elastic ? mix(max, point, elastic.max) : Math.min(point, max);
-    }
-    return point;
-}
-/**
- * Calculates a min projection point based on a pointer, pointer progress
- * within the drag target, and constraints.
- *
- * For instance if an element was 100px width, we were dragging from 0.25
- * along this axis, the pointer is at 200px, and there were no constraints,
- * we would calculate a min projection point of 175px.
- */
-function calcConstrainedMinPoint(point, length, progress, constraints, elastic) {
-    // Calculate a min point for this axis and apply it to the current pointer
-    var min = point - length * progress;
-    return constraints ? applyConstraints(min, constraints, elastic) : min;
-}
-/**
- * Calculate constraints in terms of the viewport when defined relatively to the
- * measured axis. This is measured from the nearest edge, so a max constraint of 200
- * on an axis with a max value of 300 would return a constraint of 500 - axis length
- */
-function calcRelativeAxisConstraints(axis, min, max) {
-    return {
-        min: min !== undefined ? axis.min + min : undefined,
-        max: max !== undefined
-            ? axis.max + max - (axis.max - axis.min)
-            : undefined,
-    };
-}
-/**
- * Calculate constraints in terms of the viewport when
- * defined relatively to the measured bounding box.
- */
-function calcRelativeConstraints(layoutBox, _a) {
-    var top = _a.top, left = _a.left, bottom = _a.bottom, right = _a.right;
-    return {
-        x: calcRelativeAxisConstraints(layoutBox.x, left, right),
-        y: calcRelativeAxisConstraints(layoutBox.y, top, bottom),
-    };
-}
-/**
- * Calculate viewport constraints when defined as another viewport-relative axis
- */
-function calcViewportAxisConstraints(layoutAxis, constraintsAxis) {
-    var _a;
-    var min = constraintsAxis.min - layoutAxis.min;
-    var max = constraintsAxis.max - layoutAxis.max;
-    // If the constraints axis is actually smaller than the layout axis then we can
-    // flip the constraints
-    if (constraintsAxis.max - constraintsAxis.min <
-        layoutAxis.max - layoutAxis.min) {
-        _a = __read([max, min], 2), min = _a[0], max = _a[1];
-    }
-    return {
-        min: layoutAxis.min + min,
-        max: layoutAxis.min + max,
-    };
-}
-/**
- * Calculate viewport constraints when defined as another viewport-relative box
- */
-function calcViewportConstraints(layoutBox, constraintsBox) {
-    return {
-        x: calcViewportAxisConstraints(layoutBox.x, constraintsBox.x),
-        y: calcViewportAxisConstraints(layoutBox.y, constraintsBox.y),
-    };
-}
-/**
- * Calculate the an axis position based on two axes and a progress value.
- */
-function calcPositionFromProgress(axis, constraints, progress) {
-    var axisLength = axis.max - axis.min;
-    var min = mix(constraints.min, constraints.max - axisLength, progress);
-    return { min: min, max: min + axisLength };
-}
-/**
- * Rebase the calculated viewport constraints relative to the layout.min point.
- */
-function rebaseAxisConstraints(layout, constraints) {
-    var relativeConstraints = {};
-    if (constraints.min !== undefined) {
-        relativeConstraints.min = constraints.min - layout.min;
-    }
-    if (constraints.max !== undefined) {
-        relativeConstraints.max = constraints.max - layout.min;
-    }
-    return relativeConstraints;
-}
-var defaultElastic = 0.35;
-/**
- * Accepts a dragElastic prop and returns resolved elastic values for each axis.
- */
-function resolveDragElastic(dragElastic) {
-    if (dragElastic === false) {
-        dragElastic = 0;
-    }
-    else if (dragElastic === true) {
-        dragElastic = defaultElastic;
-    }
-    return {
-        x: resolveAxisElastic(dragElastic, "left", "right"),
-        y: resolveAxisElastic(dragElastic, "top", "bottom"),
-    };
-}
-function resolveAxisElastic(dragElastic, minLabel, maxLabel) {
-    return {
-        min: resolvePointElastic(dragElastic, minLabel),
-        max: resolvePointElastic(dragElastic, maxLabel),
-    };
-}
-function resolvePointElastic(dragElastic, label) {
-    var _a;
-    return typeof dragElastic === "number"
-        ? dragElastic
-        : (_a = dragElastic[label]) !== null && _a !== void 0 ? _a : 0;
-}
+    var style = options.disabled ? _objectSpread2({
+      pointerEvents: "none"
+    }, htmlStyle) : htmlStyle;
+    useIsomorphicEffect(function () {
+      var tabbable = ref.current;

+      if (!tabbable) {
+         false ? 0 : void 0;
+        return;
+      }

+      if (!isNativeTabbable(tabbable)) {
+        setNativeTabbable(false);
+      }

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/measure.js
+      if (!supportsDisabledAttribute(tabbable)) {
+        setSupportsDisabled(false);
+      }
+    }, []);
+    var onClickCapture = useDisableEvent(onClickCaptureRef, options.disabled);
+    var onMouseDownCapture = useDisableEvent(onMouseDownCaptureRef, options.disabled);
+    var onKeyPressCapture = useDisableEvent(onKeyPressCaptureRef, options.disabled);
+    var onMouseDown = (0,external_React_.useCallback)(function (event) {
+      var _onMouseDownRef$curre;

+      (_onMouseDownRef$curre = onMouseDownRef.current) === null || _onMouseDownRef$curre === void 0 ? void 0 : _onMouseDownRef$curre.call(onMouseDownRef, event);
+      var element = event.currentTarget;
+      if (event.defaultPrevented) return; // Safari and Firefox on MacOS don't focus on buttons on mouse down
+      // like other browsers/platforms. Instead, they focus on the closest
+      // focusable ancestor element, which is ultimately the body element. So
+      // we make sure to give focus to the tabbable element on mouse down so
+      // it works consistently across browsers.

-/**
- * Measure and return the element bounding box.
- *
- * We convert the box into an AxisBox2D to make it easier to work with each axis
- * individually and programmatically.
- *
- * This function optionally accepts a transformPagePoint function which allows us to compensate
- * for, for instance, measuring the element within a scaled plane like a Framer devivce preview component.
- */
-function getBoundingBox(element, transformPagePoint) {
-    var box = element.getBoundingClientRect();
-    return convertBoundingBoxToAxisBox(transformBoundingBox(box, transformPagePoint));
-}
+      if (!isSafariOrFirefoxOnMac) return;
+      if (isPortalEvent(event)) return;
+      if (!isButton(element)) return; // We can't focus right away after on mouse down, otherwise it would
+      // prevent drag events from happening. So we schedule the focus to the
+      // next animation frame.

+      var raf = requestAnimationFrame(function () {
+        element.removeEventListener("mouseup", focusImmediately, true);
+        focusIfNeeded(element);
+      }); // If mouseUp happens before the next animation frame (which is common
+      // on touch screens or by just tapping the trackpad on MacBook's), we
+      // cancel the animation frame and immediately focus on the element.

+      var focusImmediately = function focusImmediately() {
+        cancelAnimationFrame(raf);
+        focusIfNeeded(element);
+      }; // By listening to the event in the capture phase, we make sure the
+      // focus event is fired before the onMouseUp and onMouseUpCapture React
+      // events, which is aligned with the default browser behavior.

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/geometry/delta-calc.js

+      element.addEventListener("mouseup", focusImmediately, {
+        once: true,
+        capture: true
+      });
+    }, []);
+    return _objectSpread2({
+      ref: useForkRef(ref, htmlRef),
+      style: style,
+      tabIndex: getTabIndex(trulyDisabled, nativeTabbable, supportsDisabled, htmlTabIndex),
+      disabled: trulyDisabled && supportsDisabled ? true : undefined,
+      "aria-disabled": options.disabled ? true : undefined,
+      onClickCapture: onClickCapture,
+      onMouseDownCapture: onMouseDownCapture,
+      onMouseDown: onMouseDown,
+      onKeyPressCapture: onKeyPressCapture
+    }, htmlProps);
+  }
+});
+var Tabbable = createComponent({
+  as: "div",
+  useHook: useTabbable
+});

-var clampProgress = function (v) { return clamp_clamp(0, 1, v); };
-/**
- * Returns true if the provided value is within maxDistance of the provided target
- */
-function isNear(value, target, maxDistance) {
-    if (target === void 0) { target = 0; }
-    if (maxDistance === void 0) { maxDistance = 0.01; }
-    return distance_distance(value, target) < maxDistance;
-}
-function calcLength(axis) {
-    return axis.max - axis.min;
-}
-/**
- * Calculate a transform origin relative to the source axis, between 0-1, that results
- * in an asthetically pleasing scale/transform needed to project from source to target.
- */
-function delta_calc_calcOrigin(source, target) {
-    var origin = 0.5;
-    var sourceLength = calcLength(source);
-    var targetLength = calcLength(target);
-    if (targetLength > sourceLength) {
-        origin = progress_progress(target.min, target.max - sourceLength, source.min);
-    }
-    else if (sourceLength > targetLength) {
-        origin = progress_progress(source.min, source.max - targetLength, target.min);
-    }
-    return clampProgress(origin);
-}
-/**
- * Update the AxisDelta with a transform that projects source into target.
- *
- * The transform `origin` is optional. If not provided, it'll be automatically
- * calculated based on the relative positions of the two bounding boxes.
- */
-function updateAxisDelta(delta, source, target, origin) {
-    if (origin === void 0) { origin = 0.5; }
-    delta.origin = origin;
-    delta.originPoint = mix(source.min, source.max, delta.origin);
-    delta.scale = calcLength(target) / calcLength(source);
-    if (isNear(delta.scale, 1, 0.0001))
-        delta.scale = 1;
-    delta.translate =
-        mix(target.min, target.max, delta.origin) - delta.originPoint;
-    if (isNear(delta.translate))
-        delta.translate = 0;
-}
-/**
- * Update the BoxDelta with a transform that projects the source into the target.
- *
- * The transform `origin` is optional. If not provided, it'll be automatically
- * calculated based on the relative positions of the two bounding boxes.
- */
-function updateBoxDelta(delta, source, target, origin) {
-    updateAxisDelta(delta.x, source.x, target.x, defaultOrigin(origin.originX));
-    updateAxisDelta(delta.y, source.y, target.y, defaultOrigin(origin.originY));
-}
-/**
- * Currently this only accepts numerical origins, measured as 0-1, but could
- * accept pixel values by comparing to the target axis.
- */
-function defaultOrigin(origin) {
-    return typeof origin === "number" ? origin : 0.5;
-}
-function calcRelativeAxis(target, relative, parent) {
-    target.min = parent.min + relative.min;
-    target.max = target.min + calcLength(relative);
-}
-function calcRelativeBox(projection, parentProjection) {
-    calcRelativeAxis(projection.target.x, projection.relativeTarget.x, parentProjection.target.x);
-    calcRelativeAxis(projection.target.y, projection.relativeTarget.y, parentProjection.target.y);
-}


+;// CONCATENATED MODULE: ./node_modules/reakit/es/Clickable/Clickable.js

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js
-var compareByDepth = function (a, b) {
-    return a.depth - b.depth;
-};



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/utils.js




-function isProjecting(visualElement) {
-    var isEnabled = visualElement.projection.isEnabled;
-    return isEnabled || visualElement.shouldResetTransform();
-}
-function collectProjectingAncestors(visualElement, ancestors) {
-    if (ancestors === void 0) { ancestors = []; }
-    var parent = visualElement.parent;
-    if (parent)
-        collectProjectingAncestors(parent, ancestors);
-    if (isProjecting(visualElement))
-        ancestors.push(visualElement);
-    return ancestors;
-}
-function collectProjectingChildren(visualElement) {
-    var children = [];
-    var addChild = function (child) {
-        if (isProjecting(child))
-            children.push(child);
-        child.children.forEach(addChild);
-    };
-    visualElement.children.forEach(addChild);
-    return children.sort(compareByDepth);
-}
-/**
- * Update the layoutState by measuring the DOM layout. This
- * should be called after resetting any layout-affecting transforms.
- */
-function updateLayoutMeasurement(visualElement) {
-    if (visualElement.shouldResetTransform())
-        return;
-    var layoutState = visualElement.getLayoutState();
-    visualElement.notifyBeforeLayoutMeasure(layoutState.layout);
-    layoutState.isHydrated = true;
-    layoutState.layout = visualElement.measureViewportBox();
-    layoutState.layoutCorrected = copyAxisBox(layoutState.layout);
-    visualElement.notifyLayoutMeasure(layoutState.layout, visualElement.prevViewportBox || layoutState.layout);
-    dist_es.update(function () { return visualElement.rebaseProjectionTarget(); });
-}
-/**
- * Record the viewport box as it was before an expected mutation/re-render
- */
-function snapshotViewportBox(visualElement) {
-    if (visualElement.shouldResetTransform())
-        return;
-    visualElement.prevViewportBox = visualElement.measureViewportBox(false);
-    /**
-     * Update targetBox to match the prevViewportBox. This is just to ensure
-     * that targetBox is affected by scroll in the same way as the measured box
-     */
-    visualElement.rebaseProjectionTarget(false, visualElement.prevViewportBox);
-}



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/layout/utils.js


-function tweenAxis(target, prev, next, p) {
-    target.min = mix(prev.min, next.min, p);
-    target.max = mix(prev.max, next.max, p);
-}
-function calcRelativeOffsetAxis(parent, child) {
-    return {
-        min: child.min - parent.min,
-        max: child.max - parent.min,
-    };
-}
-function calcRelativeOffset(parent, child) {
-    return {
-        x: calcRelativeOffsetAxis(parent.x, child.x),
-        y: calcRelativeOffsetAxis(parent.y, child.y),
-    };
-}
-function checkIfParentHasChanged(prev, next) {
-    var prevId = prev.getLayoutId();
-    var nextId = next.getLayoutId();
-    return prevId !== nextId || (nextId === undefined && prev !== next);
-}



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/is-draggable.js
-function isDraggable(visualElement) {
-    var _a = visualElement.getProps(), drag = _a.drag, _dragX = _a._dragX;
-    return drag && !_dragX;
-}


+// Automatically generated
+var CLICKABLE_KEYS = ["unstable_clickOnEnter", "unstable_clickOnSpace"];

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/geometry/delta-apply.js
+function isNativeClick(event) {
+  var element = event.currentTarget;
+  if (!event.isTrusted) return false; // istanbul ignore next: can't test trusted events yet

+  return isButton(element) || element.tagName === "INPUT" || element.tagName === "TEXTAREA" || element.tagName === "A" || element.tagName === "SELECT";
+}

+var useClickable = createHook({
+  name: "Clickable",
+  compose: useTabbable,
+  keys: CLICKABLE_KEYS,
+  useOptions: function useOptions(_ref) {
+    var _ref$unstable_clickOn = _ref.unstable_clickOnEnter,
+        unstable_clickOnEnter = _ref$unstable_clickOn === void 0 ? true : _ref$unstable_clickOn,
+        _ref$unstable_clickOn2 = _ref.unstable_clickOnSpace,
+        unstable_clickOnSpace = _ref$unstable_clickOn2 === void 0 ? true : _ref$unstable_clickOn2,
+        options = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["unstable_clickOnEnter", "unstable_clickOnSpace"]);

+    return _objectSpread2({
+      unstable_clickOnEnter: unstable_clickOnEnter,
+      unstable_clickOnSpace: unstable_clickOnSpace
+    }, options);
+  },
+  useProps: function useProps(options, _ref2) {
+    var htmlOnKeyDown = _ref2.onKeyDown,
+        htmlOnKeyUp = _ref2.onKeyUp,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref2, ["onKeyDown", "onKeyUp"]);

-/**
- * Reset an axis to the provided origin box.
- *
- * This is a mutative operation.
- */
-function resetAxis(axis, originAxis) {
-    axis.min = originAxis.min;
-    axis.max = originAxis.max;
-}
-/**
- * Reset a box to the provided origin box.
- *
- * This is a mutative operation.
- */
-function resetBox(box, originBox) {
-    resetAxis(box.x, originBox.x);
-    resetAxis(box.y, originBox.y);
+    var _React$useState = (0,external_React_.useState)(false),
+        active = _React$useState[0],
+        setActive = _React$useState[1];
+
+    var onKeyDownRef = useLiveRef(htmlOnKeyDown);
+    var onKeyUpRef = useLiveRef(htmlOnKeyUp);
+    var onKeyDown = (0,external_React_.useCallback)(function (event) {
+      var _onKeyDownRef$current;
+
+      (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
+      if (event.defaultPrevented) return;
+      if (options.disabled) return;
+      if (event.metaKey) return;
+      if (!isSelfTarget(event)) return;
+      var isEnter = options.unstable_clickOnEnter && event.key === "Enter";
+      var isSpace = options.unstable_clickOnSpace && event.key === " ";
+
+      if (isEnter || isSpace) {
+        if (isNativeClick(event)) return;
+        event.preventDefault();
+
+        if (isEnter) {
+          event.currentTarget.click();
+        } else if (isSpace) {
+          setActive(true);
+        }
+      }
+    }, [options.disabled, options.unstable_clickOnEnter, options.unstable_clickOnSpace]);
+    var onKeyUp = (0,external_React_.useCallback)(function (event) {
+      var _onKeyUpRef$current;
+
+      (_onKeyUpRef$current = onKeyUpRef.current) === null || _onKeyUpRef$current === void 0 ? void 0 : _onKeyUpRef$current.call(onKeyUpRef, event);
+      if (event.defaultPrevented) return;
+      if (options.disabled) return;
+      if (event.metaKey) return;
+      var isSpace = options.unstable_clickOnSpace && event.key === " ";
+
+      if (active && isSpace) {
+        setActive(false);
+        event.currentTarget.click();
+      }
+    }, [options.disabled, options.unstable_clickOnSpace, active]);
+    return _objectSpread2({
+      "data-active": active || undefined,
+      onKeyDown: onKeyDown,
+      onKeyUp: onKeyUp
+    }, htmlProps);
+  }
+});
+var Clickable = createComponent({
+  as: "button",
+  memo: true,
+  useHook: useClickable
+});
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit/es/getCurrentId-5aa9849e.js
+function findFirstEnabledItem(items, excludeId) {
+  if (excludeId) {
+    return items.find(function (item) {
+      return !item.disabled && item.id !== excludeId;
+    });
+  }
+
+  return items.find(function (item) {
+    return !item.disabled;
+  });
 }
-/**
- * Scales a point based on a factor and an originPoint
- */
-function scalePoint(point, scale, originPoint) {
-    var distanceFromOrigin = point - originPoint;
-    var scaled = scale * distanceFromOrigin;
-    return originPoint + scaled;
+
+function getCurrentId(options, passedId) {
+  var _findFirstEnabledItem;
+
+  if (passedId || passedId === null) {
+    return passedId;
+  }
+
+  if (options.currentId || options.currentId === null) {
+    return options.currentId;
+  }
+
+  return (_findFirstEnabledItem = findFirstEnabledItem(options.items || [])) === null || _findFirstEnabledItem === void 0 ? void 0 : _findFirstEnabledItem.id;
 }
-/**
- * Applies a translate/scale delta to a point
- */
-function applyPointDelta(point, translate, scale, originPoint, boxScale) {
-    if (boxScale !== undefined) {
-        point = scalePoint(point, boxScale, originPoint);
-    }
-    return scalePoint(point, scale, originPoint) + translate;
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-6742f591.js
+// Automatically generated
+var COMPOSITE_STATE_KEYS = ["baseId", "unstable_idCountRef", "setBaseId", "unstable_virtual", "rtl", "orientation", "items", "groups", "currentId", "loop", "wrap", "shift", "unstable_moves", "unstable_hasActiveWidget", "unstable_includesBaseElement", "registerItem", "unregisterItem", "registerGroup", "unregisterGroup", "move", "next", "previous", "up", "down", "first", "last", "sort", "unstable_setVirtual", "setRTL", "setOrientation", "setCurrentId", "setLoop", "setWrap", "setShift", "reset", "unstable_setIncludesBaseElement", "unstable_setHasActiveWidget"];
+var COMPOSITE_KEYS = COMPOSITE_STATE_KEYS;
+var COMPOSITE_GROUP_KEYS = COMPOSITE_KEYS;
+var COMPOSITE_ITEM_KEYS = COMPOSITE_GROUP_KEYS;
+var COMPOSITE_ITEM_WIDGET_KEYS = (/* unused pure expression or super */ null && (COMPOSITE_ITEM_KEYS));
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit/es/userFocus-e16425e3.js
+function userFocus(element) {
+  element.userFocus = true;
+  element.focus();
+  element.userFocus = false;
 }
-/**
- * Applies a translate/scale delta to an axis
- */
-function applyAxisDelta(axis, translate, scale, originPoint, boxScale) {
-    if (translate === void 0) { translate = 0; }
-    if (scale === void 0) { scale = 1; }
-    axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale);
-    axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale);
+function hasUserFocus(element) {
+  return !!element.userFocus;
 }
-/**
- * Applies a translate/scale delta to a box
- */
-function applyBoxDelta(box, _a) {
-    var x = _a.x, y = _a.y;
-    applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);
-    applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);
+function setUserFocus(element, value) {
+  element.userFocus = value;
 }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isTextField.js
 /**
- * Apply a transform to an axis from the latest resolved motion values.
- * This function basically acts as a bridge between a flat motion value map
- * and applyAxisDelta
+ * Check whether the given element is a text field, where text field is defined
+ * by the ability to select within the input, or that it is contenteditable.
+ *
+ * @example
+ * import { isTextField } from "reakit-utils";
+ *
+ * isTextField(document.querySelector("div")); // false
+ * isTextField(document.querySelector("input")); // true
+ * isTextField(document.querySelector("input[type='button']")); // false
+ * isTextField(document.querySelector("textarea")); // true
+ * isTextField(document.querySelector("div[contenteditable='true']")); // true
  */
-function applyAxisTransforms(final, axis, transforms, _a) {
-    var _b = __read(_a, 3), key = _b[0], scaleKey = _b[1], originKey = _b[2];
-    // Copy the current axis to the final axis before mutation
-    final.min = axis.min;
-    final.max = axis.max;
-    var axisOrigin = transforms[originKey] !== undefined ? transforms[originKey] : 0.5;
-    var originPoint = mix(axis.min, axis.max, axisOrigin);
-    // Apply the axis delta to the final axis
-    applyAxisDelta(final, transforms[key], transforms[scaleKey], originPoint, transforms.scale);
+function isTextField(element) {
+  try {
+    var isTextInput = element instanceof HTMLInputElement && element.selectionStart !== null;
+    var isTextArea = element.tagName === "TEXTAREA";
+    var isContentEditable = element.contentEditable === "true";
+    return isTextInput || isTextArea || isContentEditable || false;
+  } catch (error) {
+    // Safari throws an exception when trying to get `selectionStart`
+    // on non-text <input> elements (which, understandably, don't
+    // have the text selection API). We catch this via a try/catch
+    // block, as opposed to a more explicit check of the element's
+    // input types, because of Safari's non-standard behavior. This
+    // also means we don't have to worry about the list of input
+    // types that support `selectionStart` changing as the HTML spec
+    // evolves over time.
+    return false;
+  }
 }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/hasFocus.js
+
+
+
 /**
- * The names of the motion values we want to apply as translation, scale and origin.
- */
-var xKeys = ["x", "scaleX", "originX"];
-var yKeys = ["y", "scaleY", "originY"];
-/**
- * Apply a transform to a box from the latest resolved motion values.
+ * Checks if `element` has focus. Elements that are referenced by
+ * `aria-activedescendant` are also considered.
+ *
+ * @example
+ * import { hasFocus } from "reakit-utils";
+ *
+ * hasFocus(document.getElementById("id"));
  */
-function applyBoxTransforms(finalBox, box, transforms) {
-    applyAxisTransforms(finalBox.x, box.x, transforms, xKeys);
-    applyAxisTransforms(finalBox.y, box.y, transforms, yKeys);
+
+function hasFocus(element) {
+  var activeElement = getActiveElement_getActiveElement(element);
+  if (!activeElement) return false;
+  if (activeElement === element) return true;
+  var activeDescendant = activeElement.getAttribute("aria-activedescendant");
+  if (!activeDescendant) return false;
+  return activeDescendant === element.id;
 }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/ensureFocus.js
+
+
+
+
 /**
- * Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse
+ * Ensures `element` will receive focus if it's not already.
+ *
+ * @example
+ * import { ensureFocus } from "reakit-utils";
+ *
+ * ensureFocus(document.activeElement); // does nothing
+ *
+ * const element = document.querySelector("input");
+ *
+ * ensureFocus(element); // focuses element
+ * ensureFocus(element, { preventScroll: true }); // focuses element preventing scroll jump
+ *
+ * function isActive(el) {
+ *   return el.dataset.active === "true";
+ * }
+ *
+ * ensureFocus(document.querySelector("[data-active='true']"), { isActive }); // does nothing
+ *
+ * @returns {number} `requestAnimationFrame` call ID so it can be passed to `cancelAnimationFrame` if needed.
  */
-function removePointDelta(point, translate, scale, originPoint, boxScale) {
-    point -= translate;
-    point = scalePoint(point, 1 / scale, originPoint);
-    if (boxScale !== undefined) {
-        point = scalePoint(point, 1 / boxScale, originPoint);
-    }
-    return point;
+function ensureFocus(element, _temp) {
+  var _ref = _temp === void 0 ? {} : _temp,
+      preventScroll = _ref.preventScroll,
+      _ref$isActive = _ref.isActive,
+      isActive = _ref$isActive === void 0 ? hasFocus : _ref$isActive;
+
+  if (isActive(element)) return -1;
+  element.focus({
+    preventScroll: preventScroll
+  });
+  if (isActive(element)) return -1;
+  return requestAnimationFrame(function () {
+    element.focus({
+      preventScroll: preventScroll
+    });
+  });
 }
-/**
- * Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse
- */
-function removeAxisDelta(axis, translate, scale, origin, boxScale) {
-    if (translate === void 0) { translate = 0; }
-    if (scale === void 0) { scale = 1; }
-    if (origin === void 0) { origin = 0.5; }
-    var originPoint = mix(axis.min, axis.max, origin) - translate;
-    axis.min = removePointDelta(axis.min, translate, scale, originPoint, boxScale);
-    axis.max = removePointDelta(axis.max, translate, scale, originPoint, boxScale);
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Id/IdProvider.js
+
+
+var defaultPrefix = "id";
+function generateRandomString(prefix) {
+  if (prefix === void 0) {
+    prefix = defaultPrefix;
+  }
+
+  return "" + (prefix ? prefix + "-" : "") + Math.random().toString(32).substr(2, 6);
 }
-/**
- * Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse
- * and acts as a bridge between motion values and removeAxisDelta
- */
-function removeAxisTransforms(axis, transforms, _a) {
-    var _b = __read(_a, 3), key = _b[0], scaleKey = _b[1], originKey = _b[2];
-    removeAxisDelta(axis, transforms[key], transforms[scaleKey], transforms[originKey], transforms.scale);
+
+var unstable_IdContext = /*#__PURE__*/(0,external_React_.createContext)(generateRandomString);
+function unstable_IdProvider(_ref) {
+  var children = _ref.children,
+      _ref$prefix = _ref.prefix,
+      prefix = _ref$prefix === void 0 ? defaultPrefix : _ref$prefix;
+  var count = useRef(0);
+  var generateId = useCallback(function (localPrefix) {
+    if (localPrefix === void 0) {
+      localPrefix = prefix;
+    }
+
+    return "" + (localPrefix ? localPrefix + "-" : "") + ++count.current;
+  }, [prefix]);
+  return /*#__PURE__*/createElement(unstable_IdContext.Provider, {
+    value: generateId
+  }, children);
 }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Id/Id.js
+
+
+
+
+
+
+// Automatically generated
+var ID_STATE_KEYS = ["baseId", "unstable_idCountRef", "setBaseId"];
+var ID_KEYS = [].concat(ID_STATE_KEYS, ["id"]);
+
+var unstable_useId = createHook({
+  keys: ID_KEYS,
+  useOptions: function useOptions(options, htmlProps) {
+    var generateId = (0,external_React_.useContext)(unstable_IdContext);
+
+    var _React$useState = (0,external_React_.useState)(function () {
+      // This comes from useIdState
+      if (options.unstable_idCountRef) {
+        options.unstable_idCountRef.current += 1;
+        return "-" + options.unstable_idCountRef.current;
+      } // If there's no useIdState, we check if `baseId` was passed (as a prop,
+      // not from useIdState).
+
+
+      if (options.baseId) {
+        return "-" + generateId("");
+      }
+
+      return "";
+    }),
+        suffix = _React$useState[0]; // `baseId` will be the prop passed directly as a prop or via useIdState.
+    // If there's neither, then it'll fallback to Context's generateId.
+    // This generateId can result in a sequential ID (if there's a Provider)
+    // or a random string (without Provider).
+
+
+    var baseId = (0,external_React_.useMemo)(function () {
+      return options.baseId || generateId();
+    }, [options.baseId, generateId]);
+    var id = htmlProps.id || options.id || "" + baseId + suffix;
+    return _objectSpread2(_objectSpread2({}, options), {}, {
+      id: id
+    });
+  },
+  useProps: function useProps(options, htmlProps) {
+    return _objectSpread2({
+      id: options.id
+    }, htmlProps);
+  }
+});
+var unstable_Id = createComponent({
+  as: "div",
+  useHook: unstable_useId
+});
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/createEvent.js
+
+
 /**
- * Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse
- * and acts as a bridge between motion values and removeAxisDelta
+ * Creates an `Event` in a way that also works on IE 11.
+ *
+ * @example
+ * import { createEvent } from "reakit-utils";
+ *
+ * const el = document.getElementById("id");
+ * el.dispatchEvent(createEvent(el, "blur", { bubbles: false }));
  */
-function removeBoxTransforms(box, transforms) {
-    removeAxisTransforms(box.x, transforms, xKeys);
-    removeAxisTransforms(box.y, transforms, yKeys);
+
+function createEvent(element, type, eventInit) {
+  if (typeof Event === "function") {
+    return new Event(type, eventInit);
+  } // IE 11 doesn't support Event constructors
+
+
+  var event = getDocument(element).createEvent("Event");
+  event.initEvent(type, eventInit === null || eventInit === void 0 ? void 0 : eventInit.bubbles, eventInit === null || eventInit === void 0 ? void 0 : eventInit.cancelable);
+  return event;
 }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/fireEvent.js
+
+
+
 /**
- * Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms
- * in a tree upon our box before then calculating how to project it into our desired viewport-relative box
+ * Creates and dispatches `Event` in a way that also works on IE 11.
  *
- * This is the final nested loop within updateLayoutDelta for future refactoring
+ * @example
+ * import { fireEvent } from "reakit-utils";
+ *
+ * fireEvent(document.getElementById("id"), "blur", {
+ *   bubbles: true,
+ *   cancelable: true,
+ * });
  */
-function applyTreeDeltas(box, treeScale, treePath) {
-    var treeLength = treePath.length;
-    if (!treeLength)
-        return;
-    // Reset the treeScale
-    treeScale.x = treeScale.y = 1;
-    var node;
-    var delta;
-    for (var i = 0; i < treeLength; i++) {
-        node = treePath[i];
-        delta = node.getLayoutState().delta;
-        // Incoporate each ancestor's scale into a culmulative treeScale for this component
-        treeScale.x *= delta.x.scale;
-        treeScale.y *= delta.y.scale;
-        // Apply each ancestor's calculated delta into this component's recorded layout box
-        applyBoxDelta(box, delta);
-        // If this is a draggable ancestor, also incorporate the node's transform to the layout box
-        if (isDraggable(node)) {
-            applyBoxTransforms(box, box, node.getLatestValues());
-        }
-    }
+
+function fireEvent(element, type, eventInit) {
+  return element.dispatchEvent(createEvent(element, type, eventInit));
 }



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/convert-to-relative.js
+;// CONCATENATED MODULE: ./node_modules/reakit/es/setTextFieldValue-0a221f4e.js


+function setTextFieldValue(element, value) {
+  if (element instanceof HTMLInputElement || element instanceof HTMLTextAreaElement) {
+    var _Object$getOwnPropert;

+    var proto = Object.getPrototypeOf(element);
+    var setValue = (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(proto, "value")) === null || _Object$getOwnPropert === void 0 ? void 0 : _Object$getOwnPropert.set;

-/**
- * Returns a boolean stating whether or not we converted the projection
- * to relative projection.
- */
-function convertToRelativeProjection(visualElement, isLayoutDrag) {
-    if (isLayoutDrag === void 0) { isLayoutDrag = true; }
-    var projectionParent = visualElement.getProjectionParent();
-    if (!projectionParent)
-        return false;
-    var offset;
-    if (isLayoutDrag) {
-        offset = calcRelativeOffset(projectionParent.projection.target, visualElement.projection.target);
-        removeBoxTransforms(offset, projectionParent.getLatestValues());
-    }
-    else {
-        offset = calcRelativeOffset(projectionParent.getLayoutState().layout, visualElement.getLayoutState().layout);
+    if (setValue) {
+      setValue.call(element, value);
+      fireEvent(element, "input", {
+        bubbles: true
+      });
     }
-    eachAxis(function (axis) {
-        return visualElement.setProjectionTargetAxis(axis, offset[axis].min, offset[axis].max, true);
-    });
-    return true;
+  }
 }



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/batch-layout.js
-var unresolvedJobs = new Set();
-function pushJob(stack, job, pointer) {
-    if (!stack[pointer])
-        stack[pointer] = [];
-    stack[pointer].push(job);
-}
-function batchLayout(callback) {
-    unresolvedJobs.add(callback);
-    return function () { return unresolvedJobs.delete(callback); };
-}
-function flushLayout() {
-    if (!unresolvedJobs.size)
-        return;
-    var pointer = 0;
-    var reads = [[]];
-    var writes = [];
-    var setRead = function (job) { return pushJob(reads, job, pointer); };
-    var setWrite = function (job) {
-        pushJob(writes, job, pointer);
-        pointer++;
-    };
-    /**
-     * Resolve jobs into their array stacks
-     */
-    unresolvedJobs.forEach(function (callback) {
-        callback(setRead, setWrite);
-        pointer = 0;
-    });
-    unresolvedJobs.clear();
-    /**
-     * Execute jobs
-     */
-    var numStacks = writes.length;
-    for (var i = 0; i <= numStacks; i++) {
-        reads[i] && reads[i].forEach(executeJob);
-        writes[i] && writes[i].forEach(executeJob);
-    }
-}
-var executeJob = function (job) { return job(); };
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Composite/CompositeItem.js



-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js



@@ -20904,4382 +18502,3539 @@ var executeJob = function (job) { return job(); };



-var elementDragControls = new WeakMap();
-/**
- *
- */
-var lastPointerEvent;
-var VisualElementDragControls_VisualElementDragControls = /** @class */ (function () {
-    function VisualElementDragControls(_a) {
-        var visualElement = _a.visualElement;
-        /**
-         * Track whether we're currently dragging.
-         *
-         * @internal
-         */
-        this.isDragging = false;
-        /**
-         * The current direction of drag, or `null` if both.
-         *
-         * @internal
-         */
-        this.currentDirection = null;
-        /**
-         * The permitted boundaries of travel, in pixels.
-         *
-         * @internal
-         */
-        this.constraints = false;
-        /**
-         * The per-axis resolved elastic values.
-         *
-         * @internal
-         */
-        this.elastic = axisBox();
-        /**
-         * A reference to the host component's latest props.
-         *
-         * @internal
-         */
-        this.props = {};
-        /**
-         * @internal
-         */
-        this.hasMutatedConstraints = false;
-        /**
-         * Track the initial position of the cursor relative to the dragging element
-         * when dragging starts as a value of 0-1 on each axis. We then use this to calculate
-         * an ideal bounding box for the VisualElement renderer to project into every frame.
-         *
-         * @internal
-         */
-        this.cursorProgress = {
-            x: 0.5,
-            y: 0.5,
-        };
-        // When updating _dragX, or _dragY instead of the VisualElement,
-        // persist their values between drag gestures.
-        this.originPoint = {};
-        // This is a reference to the global drag gesture lock, ensuring only one component
-        // can "capture" the drag of one or both axes.
-        // TODO: Look into moving this into pansession?
-        this.openGlobalLock = null;
-        /**
-         * @internal
-         */
-        this.panSession = null;
-        this.visualElement = visualElement;
-        this.visualElement.enableLayoutProjection();
-        elementDragControls.set(visualElement, this);
+
+
+
+
+function getWidget(itemElement) {
+  return itemElement.querySelector("[data-composite-item-widget]");
+}
+
+function useItem(options) {
+  return (0,external_React_.useMemo)(function () {
+    var _options$items;
+
+    return (_options$items = options.items) === null || _options$items === void 0 ? void 0 : _options$items.find(function (item) {
+      return options.id && item.id === options.id;
+    });
+  }, [options.items, options.id]);
+}
+
+function targetIsAnotherItem(event, items) {
+  if (isSelfTarget(event)) return false;
+
+  for (var _iterator = _createForOfIteratorHelperLoose(items), _step; !(_step = _iterator()).done;) {
+    var item = _step.value;
+
+    if (item.ref.current === event.target) {
+      return true;
     }
-    /**
-     * Instantiate a PanSession for the drag gesture
-     *
-     * @public
-     */
-    VisualElementDragControls.prototype.start = function (originEvent, _a) {
-        var _this = this;
-        var _b = _a === void 0 ? {} : _a, _c = _b.snapToCursor, snapToCursor = _c === void 0 ? false : _c, cursorProgress = _b.cursorProgress;
-        var onSessionStart = function (event) {
-            var _a;
-            // Stop any animations on both axis values immediately. This allows the user to throw and catch
-            // the component.
-            _this.stopMotion();
-            /**
-             * Save the initial point. We'll use this to calculate the pointer's position rather
-             * than the one we receive when the gesture actually starts. By then, the pointer will
-             * have already moved, and the perception will be of the pointer "slipping" across the element
-             */
-            var initialPoint = getViewportPointFromEvent(event).point;
-            (_a = _this.cancelLayout) === null || _a === void 0 ? void 0 : _a.call(_this);
-            _this.cancelLayout = batchLayout(function (read, write) {
-                var ancestors = collectProjectingAncestors(_this.visualElement);
-                var children = collectProjectingChildren(_this.visualElement);
-                var tree = __spreadArray(__spreadArray([], __read(ancestors)), __read(children));
-                var hasManuallySetCursorOrigin = false;
-                /**
-                 * Apply a simple lock to the projection target. This ensures no animations
-                 * can run on the projection box while this lock is active.
-                 */
-                _this.isLayoutDrag() && _this.visualElement.lockProjectionTarget();
-                write(function () {
-                    tree.forEach(function (element) { return element.resetTransform(); });
-                });
-                read(function () {
-                    updateLayoutMeasurement(_this.visualElement);
-                    children.forEach(updateLayoutMeasurement);
-                });
-                write(function () {
-                    tree.forEach(function (element) { return element.restoreTransform(); });
-                    if (snapToCursor) {
-                        hasManuallySetCursorOrigin = _this.snapToCursor(initialPoint);
-                    }
-                });
-                read(function () {
-                    var isRelativeDrag = Boolean(_this.getAxisMotionValue("x") && !_this.isExternalDrag());
-                    if (!isRelativeDrag) {
-                        _this.visualElement.rebaseProjectionTarget(true, _this.visualElement.measureViewportBox(false));
-                    }
-                    _this.visualElement.scheduleUpdateLayoutProjection();
-                    /**
-                     * When dragging starts, we want to find where the cursor is relative to the bounding box
-                     * of the element. Every frame, we calculate a new bounding box using this relative position
-                     * and let the visualElement renderer figure out how to reproject the element into this bounding
-                     * box.
-                     *
-                     * By doing it this way, rather than applying an x/y transform directly to the element,
-                     * we can ensure the component always visually sticks to the cursor as we'd expect, even
-                     * if the DOM element itself changes layout as a result of React updates the user might
-                     * make based on the drag position.
-                     */
-                    var projection = _this.visualElement.projection;
-                    eachAxis(function (axis) {
-                        if (!hasManuallySetCursorOrigin) {
-                            var _a = projection.target[axis], min = _a.min, max = _a.max;
-                            _this.cursorProgress[axis] = cursorProgress
-                                ? cursorProgress[axis]
-                                : progress_progress(min, max, initialPoint[axis]);
-                        }
-                        /**
-                         * If we have external drag MotionValues, record their origin point. On pointermove
-                         * we'll apply the pan gesture offset directly to this value.
-                         */
-                        var axisValue = _this.getAxisMotionValue(axis);
-                        if (axisValue) {
-                            _this.originPoint[axis] = axisValue.get();
-                        }
-                    });
-                });
-                write(function () {
-                    flushSync.update();
-                    flushSync.preRender();
-                    flushSync.render();
-                    flushSync.postRender();
-                });
-                read(function () { return _this.resolveDragConstraints(); });
-            });
-        };
-        var onStart = function (event, info) {
-            var _a, _b, _c;
-            // Attempt to grab the global drag gesture lock - maybe make this part of PanSession
-            var _d = _this.props, drag = _d.drag, dragPropagation = _d.dragPropagation;
-            if (drag && !dragPropagation) {
-                if (_this.openGlobalLock)
-                    _this.openGlobalLock();
-                _this.openGlobalLock = getGlobalLock(drag);
-                // If we don 't have the lock, don't start dragging
-                if (!_this.openGlobalLock)
-                    return;
-            }
-            flushLayout();
-            // Set current drag status
-            _this.isDragging = true;
-            _this.currentDirection = null;
-            // Fire onDragStart event
-            (_b = (_a = _this.props).onDragStart) === null || _b === void 0 ? void 0 : _b.call(_a, event, info);
-            (_c = _this.visualElement.animationState) === null || _c === void 0 ? void 0 : _c.setActive(AnimationType.Drag, true);
-        };
-        var onMove = function (event, info) {
-            var _a, _b, _c, _d;
-            var _e = _this.props, dragPropagation = _e.dragPropagation, dragDirectionLock = _e.dragDirectionLock;
-            // If we didn't successfully receive the gesture lock, early return.
-            if (!dragPropagation && !_this.openGlobalLock)
-                return;
-            var offset = info.offset;
-            // Attempt to detect drag direction if directionLock is true
-            if (dragDirectionLock && _this.currentDirection === null) {
-                _this.currentDirection = getCurrentDirection(offset);
-                // If we've successfully set a direction, notify listener
-                if (_this.currentDirection !== null) {
-                    (_b = (_a = _this.props).onDirectionLock) === null || _b === void 0 ? void 0 : _b.call(_a, _this.currentDirection);
-                }
-                return;
-            }
-            // Update each point with the latest position
-            _this.updateAxis("x", info.point, offset);
-            _this.updateAxis("y", info.point, offset);
-            // Fire onDrag event
-            (_d = (_c = _this.props).onDrag) === null || _d === void 0 ? void 0 : _d.call(_c, event, info);
-            // Update the last pointer event
-            lastPointerEvent = event;
-        };
-        var onSessionEnd = function (event, info) {
-            return _this.stop(event, info);
-        };
-        var transformPagePoint = this.props.transformPagePoint;
-        this.panSession = new PanSession_PanSession(originEvent, {
-            onSessionStart: onSessionStart,
-            onStart: onStart,
-            onMove: onMove,
-            onSessionEnd: onSessionEnd,
-        }, { transformPagePoint: transformPagePoint });
-    };
-    VisualElementDragControls.prototype.resolveDragConstraints = function () {
-        var _this = this;
-        var _a = this.props, dragConstraints = _a.dragConstraints, dragElastic = _a.dragElastic;
-        var layout = this.visualElement.getLayoutState().layoutCorrected;
-        if (dragConstraints) {
-            this.constraints = isRefObject(dragConstraints)
-                ? this.resolveRefConstraints(layout, dragConstraints)
-                : calcRelativeConstraints(layout, dragConstraints);
-        }
-        else {
-            this.constraints = false;
+  }
+
+  return false;
+}
+
+var useCompositeItem = createHook({
+  name: "CompositeItem",
+  compose: [useClickable, unstable_useId],
+  keys: COMPOSITE_ITEM_KEYS,
+  propsAreEqual: function propsAreEqual(prev, next) {
+    if (!next.id || prev.id !== next.id) {
+      return useClickable.unstable_propsAreEqual(prev, next);
+    }
+
+    var prevCurrentId = prev.currentId,
+        prevMoves = prev.unstable_moves,
+        prevProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(prev, ["currentId", "unstable_moves"]);
+
+    var nextCurrentId = next.currentId,
+        nextMoves = next.unstable_moves,
+        nextProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(next, ["currentId", "unstable_moves"]);
+
+    if (nextCurrentId !== prevCurrentId) {
+      if (next.id === nextCurrentId || next.id === prevCurrentId) {
+        return false;
+      }
+    } else if (prevMoves !== nextMoves) {
+      return false;
+    }
+
+    return useClickable.unstable_propsAreEqual(prevProps, nextProps);
+  },
+  useOptions: function useOptions(options) {
+    return _objectSpread2(_objectSpread2({}, options), {}, {
+      id: options.id,
+      currentId: getCurrentId(options),
+      unstable_clickOnSpace: options.unstable_hasActiveWidget ? false : options.unstable_clickOnSpace
+    });
+  },
+  useProps: function useProps(options, _ref) {
+    var _options$items2;
+
+    var htmlRef = _ref.ref,
+        _ref$tabIndex = _ref.tabIndex,
+        htmlTabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,
+        htmlOnMouseDown = _ref.onMouseDown,
+        htmlOnFocus = _ref.onFocus,
+        htmlOnBlurCapture = _ref.onBlurCapture,
+        htmlOnKeyDown = _ref.onKeyDown,
+        htmlOnClick = _ref.onClick,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["ref", "tabIndex", "onMouseDown", "onFocus", "onBlurCapture", "onKeyDown", "onClick"]);
+
+    var ref = (0,external_React_.useRef)(null);
+    var id = options.id;
+    var trulyDisabled = options.disabled && !options.focusable;
+    var isCurrentItem = options.currentId === id;
+    var isCurrentItemRef = useLiveRef(isCurrentItem);
+    var hasFocusedComposite = (0,external_React_.useRef)(false);
+    var item = useItem(options);
+    var onMouseDownRef = useLiveRef(htmlOnMouseDown);
+    var onFocusRef = useLiveRef(htmlOnFocus);
+    var onBlurCaptureRef = useLiveRef(htmlOnBlurCapture);
+    var onKeyDownRef = useLiveRef(htmlOnKeyDown);
+    var onClickRef = useLiveRef(htmlOnClick);
+    var shouldTabIndex = !options.unstable_virtual && !options.unstable_hasActiveWidget && isCurrentItem || // We don't want to set tabIndex="-1" when using CompositeItem as a
+    // standalone component, without state props.
+    !((_options$items2 = options.items) !== null && _options$items2 !== void 0 && _options$items2.length);
+    (0,external_React_.useEffect)(function () {
+      var _options$registerItem;
+
+      if (!id) return undefined;
+      (_options$registerItem = options.registerItem) === null || _options$registerItem === void 0 ? void 0 : _options$registerItem.call(options, {
+        id: id,
+        ref: ref,
+        disabled: !!trulyDisabled
+      });
+      return function () {
+        var _options$unregisterIt;
+
+        (_options$unregisterIt = options.unregisterItem) === null || _options$unregisterIt === void 0 ? void 0 : _options$unregisterIt.call(options, id);
+      };
+    }, [id, trulyDisabled, options.registerItem, options.unregisterItem]);
+    (0,external_React_.useEffect)(function () {
+      var element = ref.current;
+
+      if (!element) {
+         false ? 0 : void 0;
+        return;
+      } // `moves` will be incremented whenever next, previous, up, down, first,
+      // last or move have been called. This means that the composite item will
+      // be focused whenever some of these functions are called. We're using
+      // isCurrentItemRef instead of isCurrentItem because we don't want to
+      // focus the item if isCurrentItem changes (and options.moves doesn't).
+
+
+      if (options.unstable_moves && isCurrentItemRef.current) {
+        userFocus(element);
+      }
+    }, [options.unstable_moves]);
+    var onMouseDown = (0,external_React_.useCallback)(function (event) {
+      var _onMouseDownRef$curre;
+
+      (_onMouseDownRef$curre = onMouseDownRef.current) === null || _onMouseDownRef$curre === void 0 ? void 0 : _onMouseDownRef$curre.call(onMouseDownRef, event);
+      setUserFocus(event.currentTarget, true);
+    }, []);
+    var onFocus = (0,external_React_.useCallback)(function (event) {
+      var _onFocusRef$current, _options$setCurrentId;
+
+      var shouldFocusComposite = hasUserFocus(event.currentTarget);
+      setUserFocus(event.currentTarget, false);
+      (_onFocusRef$current = onFocusRef.current) === null || _onFocusRef$current === void 0 ? void 0 : _onFocusRef$current.call(onFocusRef, event);
+      if (event.defaultPrevented) return;
+      if (isPortalEvent(event)) return;
+      if (!id) return;
+      if (targetIsAnotherItem(event, options.items)) return;
+      (_options$setCurrentId = options.setCurrentId) === null || _options$setCurrentId === void 0 ? void 0 : _options$setCurrentId.call(options, id); // When using aria-activedescendant, we want to make sure that the
+      // composite container receives focus, not the composite item.
+      // But we don't want to do this if the target is another focusable
+      // element inside the composite item, such as CompositeItemWidget.
+
+      if (shouldFocusComposite && options.unstable_virtual && options.baseId && isSelfTarget(event)) {
+        var target = event.target;
+        var composite = getDocument(target).getElementById(options.baseId);
+
+        if (composite) {
+          hasFocusedComposite.current = true;
+          ensureFocus(composite);
         }
-        this.elastic = resolveDragElastic(dragElastic);
-        /**
-         * If we're outputting to external MotionValues, we want to rebase the measured constraints
-         * from viewport-relative to component-relative.
-         */
-        if (this.constraints && !this.hasMutatedConstraints) {
-            eachAxis(function (axis) {
-                if (_this.getAxisMotionValue(axis)) {
-                    _this.constraints[axis] = rebaseAxisConstraints(layout[axis], _this.constraints[axis]);
-                }
-            });
+      }
+    }, [id, options.items, options.setCurrentId, options.unstable_virtual, options.baseId]);
+    var onBlurCapture = (0,external_React_.useCallback)(function (event) {
+      var _onBlurCaptureRef$cur;
+
+      (_onBlurCaptureRef$cur = onBlurCaptureRef.current) === null || _onBlurCaptureRef$cur === void 0 ? void 0 : _onBlurCaptureRef$cur.call(onBlurCaptureRef, event);
+      if (event.defaultPrevented) return;
+
+      if (options.unstable_virtual && hasFocusedComposite.current) {
+        // When hasFocusedComposite is true, composite has been focused right
+        // after focusing this item. This is an intermediate blur event, so
+        // we ignore it.
+        hasFocusedComposite.current = false;
+        event.preventDefault();
+        event.stopPropagation();
+      }
+    }, [options.unstable_virtual]);
+    var onKeyDown = (0,external_React_.useCallback)(function (event) {
+      var _onKeyDownRef$current;
+
+      if (!isSelfTarget(event)) return;
+      var isVertical = options.orientation !== "horizontal";
+      var isHorizontal = options.orientation !== "vertical";
+      var isGrid = !!(item !== null && item !== void 0 && item.groupId);
+      var keyMap = {
+        ArrowUp: (isGrid || isVertical) && options.up,
+        ArrowRight: (isGrid || isHorizontal) && options.next,
+        ArrowDown: (isGrid || isVertical) && options.down,
+        ArrowLeft: (isGrid || isHorizontal) && options.previous,
+        Home: function Home() {
+          if (!isGrid || event.ctrlKey) {
+            var _options$first;
+
+            (_options$first = options.first) === null || _options$first === void 0 ? void 0 : _options$first.call(options);
+          } else {
+            var _options$previous;
+
+            (_options$previous = options.previous) === null || _options$previous === void 0 ? void 0 : _options$previous.call(options, true);
+          }
+        },
+        End: function End() {
+          if (!isGrid || event.ctrlKey) {
+            var _options$last;
+
+            (_options$last = options.last) === null || _options$last === void 0 ? void 0 : _options$last.call(options);
+          } else {
+            var _options$next;
+
+            (_options$next = options.next) === null || _options$next === void 0 ? void 0 : _options$next.call(options, true);
+          }
+        },
+        PageUp: function PageUp() {
+          if (isGrid) {
+            var _options$up;
+
+            (_options$up = options.up) === null || _options$up === void 0 ? void 0 : _options$up.call(options, true);
+          } else {
+            var _options$first2;
+
+            (_options$first2 = options.first) === null || _options$first2 === void 0 ? void 0 : _options$first2.call(options);
+          }
+        },
+        PageDown: function PageDown() {
+          if (isGrid) {
+            var _options$down;
+
+            (_options$down = options.down) === null || _options$down === void 0 ? void 0 : _options$down.call(options, true);
+          } else {
+            var _options$last2;
+
+            (_options$last2 = options.last) === null || _options$last2 === void 0 ? void 0 : _options$last2.call(options);
+          }
         }
-    };
-    VisualElementDragControls.prototype.resolveRefConstraints = function (layoutBox, constraints) {
-        var _a = this.props, onMeasureDragConstraints = _a.onMeasureDragConstraints, transformPagePoint = _a.transformPagePoint;
-        var constraintsElement = constraints.current;
-        invariant(constraintsElement !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");
-        this.constraintsBox = getBoundingBox(constraintsElement, transformPagePoint);
-        var measuredConstraints = calcViewportConstraints(layoutBox, this.constraintsBox);
-        /**
-         * If there's an onMeasureDragConstraints listener we call it and
-         * if different constraints are returned, set constraints to that
-         */
-        if (onMeasureDragConstraints) {
-            var userConstraints = onMeasureDragConstraints(convertAxisBoxToBoundingBox(measuredConstraints));
-            this.hasMutatedConstraints = !!userConstraints;
-            if (userConstraints) {
-                measuredConstraints = convertBoundingBoxToAxisBox(userConstraints);
-            }
+      };
+      var action = keyMap[event.key];
+
+      if (action) {
+        event.preventDefault();
+        action();
+        return;
+      }
+
+      (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
+      if (event.defaultPrevented) return;
+
+      if (event.key.length === 1 && event.key !== " ") {
+        var widget = getWidget(event.currentTarget);
+
+        if (widget && isTextField(widget)) {
+          widget.focus();
+          setTextFieldValue(widget, "");
         }
-        return measuredConstraints;
-    };
-    VisualElementDragControls.prototype.cancelDrag = function () {
-        var _a, _b;
-        this.visualElement.unlockProjectionTarget();
-        (_a = this.cancelLayout) === null || _a === void 0 ? void 0 : _a.call(this);
-        this.isDragging = false;
-        this.panSession && this.panSession.end();
-        this.panSession = null;
-        if (!this.props.dragPropagation && this.openGlobalLock) {
-            this.openGlobalLock();
-            this.openGlobalLock = null;
+      } else if (event.key === "Delete" || event.key === "Backspace") {
+        var _widget = getWidget(event.currentTarget);
+
+        if (_widget && isTextField(_widget)) {
+          event.preventDefault();
+          setTextFieldValue(_widget, "");
         }
-        (_b = this.visualElement.animationState) === null || _b === void 0 ? void 0 : _b.setActive(AnimationType.Drag, false);
-    };
-    VisualElementDragControls.prototype.stop = function (event, info) {
-        var _a, _b, _c;
-        (_a = this.panSession) === null || _a === void 0 ? void 0 : _a.end();
-        this.panSession = null;
-        var isDragging = this.isDragging;
-        this.cancelDrag();
-        if (!isDragging)
-            return;
-        var velocity = info.velocity;
-        this.animateDragEnd(velocity);
-        (_c = (_b = this.props).onDragEnd) === null || _c === void 0 ? void 0 : _c.call(_b, event, info);
-    };
-    VisualElementDragControls.prototype.snapToCursor = function (point) {
-        var _this = this;
-        return eachAxis(function (axis) {
-            var drag = _this.props.drag;
-            // If we're not dragging this axis, do an early return.
-            if (!shouldDrag(axis, drag, _this.currentDirection))
-                return;
-            var axisValue = _this.getAxisMotionValue(axis);
-            if (axisValue) {
-                var box = _this.visualElement.getLayoutState().layout;
-                var length_1 = box[axis].max - box[axis].min;
-                var center = box[axis].min + length_1 / 2;
-                var offset = point[axis] - center;
-                _this.originPoint[axis] = point[axis];
-                axisValue.set(offset);
-            }
-            else {
-                _this.cursorProgress[axis] = 0.5;
-                return true;
-            }
-        }).includes(true);
-    };
-    /**
-     * Update the specified axis with the latest pointer information.
-     */
-    VisualElementDragControls.prototype.updateAxis = function (axis, point, offset) {
-        var drag = this.props.drag;
-        // If we're not dragging this axis, do an early return.
-        if (!shouldDrag(axis, drag, this.currentDirection))
-            return;
-        return this.getAxisMotionValue(axis)
-            ? this.updateAxisMotionValue(axis, offset)
-            : this.updateVisualElementAxis(axis, point);
-    };
-    VisualElementDragControls.prototype.updateAxisMotionValue = function (axis, offset) {
-        var axisValue = this.getAxisMotionValue(axis);
-        if (!offset || !axisValue)
-            return;
-        var nextValue = this.originPoint[axis] + offset[axis];
-        var update = this.constraints
-            ? applyConstraints(nextValue, this.constraints[axis], this.elastic[axis])
-            : nextValue;
-        axisValue.set(update);
-    };
-    VisualElementDragControls.prototype.updateVisualElementAxis = function (axis, point) {
-        var _a;
-        // Get the actual layout bounding box of the element
-        var axisLayout = this.visualElement.getLayoutState().layout[axis];
-        // Calculate its current length. In the future we might want to lerp this to animate
-        // between lengths if the layout changes as we change the DOM
-        var axisLength = axisLayout.max - axisLayout.min;
-        // Get the initial progress that the pointer sat on this axis on gesture start.
-        var axisProgress = this.cursorProgress[axis];
-        // Calculate a new min point based on the latest pointer position, constraints and elastic
-        var min = calcConstrainedMinPoint(point[axis], axisLength, axisProgress, (_a = this.constraints) === null || _a === void 0 ? void 0 : _a[axis], this.elastic[axis]);
-        // Update the axis viewport target with this new min and the length
-        this.visualElement.setProjectionTargetAxis(axis, min, min + axisLength);
-    };
-    VisualElementDragControls.prototype.setProps = function (_a) {
-        var _b = _a.drag, drag = _b === void 0 ? false : _b, _c = _a.dragDirectionLock, dragDirectionLock = _c === void 0 ? false : _c, _d = _a.dragPropagation, dragPropagation = _d === void 0 ? false : _d, _e = _a.dragConstraints, dragConstraints = _e === void 0 ? false : _e, _f = _a.dragElastic, dragElastic = _f === void 0 ? defaultElastic : _f, _g = _a.dragMomentum, dragMomentum = _g === void 0 ? true : _g, remainingProps = __rest(_a, ["drag", "dragDirectionLock", "dragPropagation", "dragConstraints", "dragElastic", "dragMomentum"]);
-        this.props = __assign({ drag: drag,
-            dragDirectionLock: dragDirectionLock,
-            dragPropagation: dragPropagation,
-            dragConstraints: dragConstraints,
-            dragElastic: dragElastic,
-            dragMomentum: dragMomentum }, remainingProps);
-    };
-    /**
-     * Drag works differently depending on which props are provided.
-     *
-     * - If _dragX and _dragY are provided, we output the gesture delta directly to those motion values.
-     * - If the component will perform layout animations, we output the gesture to the component's
-     *      visual bounding box
-     * - Otherwise, we apply the delta to the x/y motion values.
-     */
-    VisualElementDragControls.prototype.getAxisMotionValue = function (axis) {
-        var _a = this.props, layout = _a.layout, layoutId = _a.layoutId;
-        var dragKey = "_drag" + axis.toUpperCase();
-        if (this.props[dragKey]) {
-            return this.props[dragKey];
-        }
-        else if (!layout && layoutId === undefined) {
-            return this.visualElement.getValue(axis, 0);
-        }
-    };
-    VisualElementDragControls.prototype.isLayoutDrag = function () {
-        return !this.getAxisMotionValue("x");
-    };
-    VisualElementDragControls.prototype.isExternalDrag = function () {
-        var _a = this.props, _dragX = _a._dragX, _dragY = _a._dragY;
-        return _dragX || _dragY;
-    };
-    VisualElementDragControls.prototype.animateDragEnd = function (velocity) {
-        var _this = this;
-        var _a = this.props, drag = _a.drag, dragMomentum = _a.dragMomentum, dragElastic = _a.dragElastic, dragTransition = _a.dragTransition;
-        /**
-         * Everything beyond the drag gesture should be performed with
-         * relative projection so children stay in sync with their parent element.
-         */
-        var isRelative = convertToRelativeProjection(this.visualElement, this.isLayoutDrag() && !this.isExternalDrag());
-        /**
-         * If we had previously resolved constraints relative to the viewport,
-         * we need to also convert those to a relative coordinate space for the animation
-         */
-        var constraints = this.constraints || {};
-        if (isRelative &&
-            Object.keys(constraints).length &&
-            this.isLayoutDrag()) {
-            var projectionParent = this.visualElement.getProjectionParent();
-            if (projectionParent) {
-                var relativeConstraints_1 = calcRelativeOffset(projectionParent.projection.targetFinal, constraints);
-                eachAxis(function (axis) {
-                    var _a = relativeConstraints_1[axis], min = _a.min, max = _a.max;
-                    constraints[axis] = {
-                        min: isNaN(min) ? undefined : min,
-                        max: isNaN(max) ? undefined : max,
-                    };
-                });
-            }
-        }
-        var momentumAnimations = eachAxis(function (axis) {
-            var _a;
-            if (!shouldDrag(axis, drag, _this.currentDirection)) {
-                return;
-            }
-            var transition = (_a = constraints === null || constraints === void 0 ? void 0 : constraints[axis]) !== null && _a !== void 0 ? _a : {};
-            /**
-             * Overdamp the boundary spring if `dragElastic` is disabled. There's still a frame
-             * of spring animations so we should look into adding a disable spring option to `inertia`.
-             * We could do something here where we affect the `bounceStiffness` and `bounceDamping`
-             * using the value of `dragElastic`.
-             */
-            var bounceStiffness = dragElastic ? 200 : 1000000;
-            var bounceDamping = dragElastic ? 40 : 10000000;
-            var inertia = __assign(__assign({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
-                bounceDamping: bounceDamping, timeConstant: 750, restDelta: 1, restSpeed: 10 }, dragTransition), transition);
-            // If we're not animating on an externally-provided `MotionValue` we can use the
-            // component's animation controls which will handle interactions with whileHover (etc),
-            // otherwise we just have to animate the `MotionValue` itself.
-            return _this.getAxisMotionValue(axis)
-                ? _this.startAxisValueAnimation(axis, inertia)
-                : _this.visualElement.startLayoutAnimation(axis, inertia, isRelative);
-        });
-        // Run all animations and then resolve the new drag constraints.
-        return Promise.all(momentumAnimations).then(function () {
-            var _a, _b;
-            (_b = (_a = _this.props).onDragTransitionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
-        });
-    };
-    VisualElementDragControls.prototype.stopMotion = function () {
-        var _this = this;
-        eachAxis(function (axis) {
-            var axisValue = _this.getAxisMotionValue(axis);
-            axisValue
-                ? axisValue.stop()
-                : _this.visualElement.stopLayoutAnimation();
-        });
-    };
-    VisualElementDragControls.prototype.startAxisValueAnimation = function (axis, transition) {
-        var axisValue = this.getAxisMotionValue(axis);
-        if (!axisValue)
-            return;
-        var currentValue = axisValue.get();
-        axisValue.set(currentValue);
-        axisValue.set(currentValue); // Set twice to hard-reset velocity
-        return transitions_startAnimation(axis, axisValue, 0, transition);
-    };
-    VisualElementDragControls.prototype.scalePoint = function () {
-        var _this = this;
-        var _a = this.props, drag = _a.drag, dragConstraints = _a.dragConstraints;
-        if (!isRefObject(dragConstraints) || !this.constraintsBox)
-            return;
-        // Stop any current animations as there can be some visual glitching if we resize mid animation
-        this.stopMotion();
-        // Record the relative progress of the targetBox relative to the constraintsBox
-        var boxProgress = { x: 0, y: 0 };
-        eachAxis(function (axis) {
-            boxProgress[axis] = delta_calc_calcOrigin(_this.visualElement.projection.target[axis], _this.constraintsBox[axis]);
-        });
-        /**
-         * For each axis, calculate the current progress of the layout axis within the constraints.
-         * Then, using the latest layout and constraints measurements, reposition the new layout axis
-         * proportionally within the constraints.
-         */
-        this.updateConstraints(function () {
-            eachAxis(function (axis) {
-                if (!shouldDrag(axis, drag, null))
-                    return;
-                // Calculate the position of the targetBox relative to the constraintsBox using the
-                // previously calculated progress
-                var _a = calcPositionFromProgress(_this.visualElement.projection.target[axis], _this.constraintsBox[axis], boxProgress[axis]), min = _a.min, max = _a.max;
-                _this.visualElement.setProjectionTargetAxis(axis, min, max);
-            });
-        });
-        /**
-         * If any other draggable components are queuing the same tasks synchronously
-         * this will wait until they've all been scheduled before flushing.
-         */
-        setTimeout(flushLayout, 1);
-    };
-    VisualElementDragControls.prototype.updateConstraints = function (onReady) {
-        var _this = this;
-        this.cancelLayout = batchLayout(function (read, write) {
-            var ancestors = collectProjectingAncestors(_this.visualElement);
-            write(function () {
-                return ancestors.forEach(function (element) { return element.resetTransform(); });
-            });
-            read(function () { return updateLayoutMeasurement(_this.visualElement); });
-            write(function () {
-                return ancestors.forEach(function (element) { return element.restoreTransform(); });
-            });
-            read(function () {
-                _this.resolveDragConstraints();
-            });
-            if (onReady)
-                write(onReady);
-        });
-    };
-    VisualElementDragControls.prototype.mount = function (visualElement) {
-        var _this = this;
-        var element = visualElement.getInstance();
-        /**
-         * Attach a pointerdown event listener on this DOM element to initiate drag tracking.
-         */
-        var stopPointerListener = addPointerEvent(element, "pointerdown", function (event) {
-            var _a = _this.props, drag = _a.drag, _b = _a.dragListener, dragListener = _b === void 0 ? true : _b;
-            drag && dragListener && _this.start(event);
-        });
-        /**
-         * Attach a window resize listener to scale the draggable target within its defined
-         * constraints as the window resizes.
-         */
-        var stopResizeListener = addDomEvent(window, "resize", function () {
-            _this.scalePoint();
-        });
-        /**
-         * Ensure drag constraints are resolved correctly relative to the dragging element
-         * whenever its layout changes.
-         */
-        var stopLayoutUpdateListener = visualElement.onLayoutUpdate(function () {
-            if (_this.isDragging) {
-                _this.resolveDragConstraints();
-            }
-        });
-        /**
-         * If the previous component with this same layoutId was dragging at the time
-         * it was unmounted, we want to continue the same gesture on this component.
-         */
-        var prevDragCursor = visualElement.prevDragCursor;
-        if (prevDragCursor) {
-            this.start(lastPointerEvent, { cursorProgress: prevDragCursor });
-        }
-        /**
-         * Return a function that will teardown the drag gesture
-         */
-        return function () {
-            stopPointerListener === null || stopPointerListener === void 0 ? void 0 : stopPointerListener();
-            stopResizeListener === null || stopResizeListener === void 0 ? void 0 : stopResizeListener();
-            stopLayoutUpdateListener === null || stopLayoutUpdateListener === void 0 ? void 0 : stopLayoutUpdateListener();
-            _this.cancelDrag();
-        };
-    };
-    return VisualElementDragControls;
-}());
-function shouldDrag(direction, drag, currentDirection) {
-    return ((drag === true || drag === direction) &&
-        (currentDirection === null || currentDirection === direction));
-}
-/**
- * Based on an x/y offset determine the current drag direction. If both axis' offsets are lower
- * than the provided threshold, return `null`.
- *
- * @param offset - The x/y offset from origin.
- * @param lockThreshold - (Optional) - the minimum absolute offset before we can determine a drag direction.
- */
-function getCurrentDirection(offset, lockThreshold) {
-    if (lockThreshold === void 0) { lockThreshold = 10; }
-    var direction = null;
-    if (Math.abs(offset.y) > lockThreshold) {
-        direction = "y";
-    }
-    else if (Math.abs(offset.x) > lockThreshold) {
-        direction = "x";
-    }
-    return direction;
-}
-
-
+      }
+    }, [options.orientation, item, options.up, options.next, options.down, options.previous, options.first, options.last]);
+    var onClick = (0,external_React_.useCallback)(function (event) {
+      var _onClickRef$current;

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/drag/use-drag.js
+      (_onClickRef$current = onClickRef.current) === null || _onClickRef$current === void 0 ? void 0 : _onClickRef$current.call(onClickRef, event);
+      if (event.defaultPrevented) return;
+      var element = event.currentTarget;
+      var widget = getWidget(element);

+      if (widget && !hasFocusWithin(widget)) {
+        // If there's a widget inside the composite item, we make sure it's
+        // focused when pressing enter, space or clicking on the composite item.
+        widget.focus();
+      }
+    }, []);
+    return _objectSpread2({
+      ref: useForkRef(ref, htmlRef),
+      id: id,
+      tabIndex: shouldTabIndex ? htmlTabIndex : -1,
+      "aria-selected": options.unstable_virtual && isCurrentItem ? true : undefined,
+      onMouseDown: onMouseDown,
+      onFocus: onFocus,
+      onBlurCapture: onBlurCapture,
+      onKeyDown: onKeyDown,
+      onClick: onClick
+    }, htmlProps);
+  }
+});
+var CompositeItem = createComponent({
+  as: "button",
+  memo: true,
+  useHook: useCompositeItem
+});



+;// CONCATENATED MODULE: external ["wp","dom"]
+var external_wp_dom_namespaceObject = window["wp"]["dom"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js


 /**
- * A hook that allows an element to be dragged.
- *
- * @internal
+ * WordPress dependencies
  */
-function useDrag(props) {
-    var groupDragControls = props.dragControls, visualElement = props.visualElement;
-    var transformPagePoint = Object(external_React_["useContext"])(MotionConfigContext).transformPagePoint;
-    var dragControls = useConstant(function () {
-        return new VisualElementDragControls_VisualElementDragControls({
-            visualElement: visualElement,
-        });
-    });
-    dragControls.setProps(__assign(__assign({}, props), { transformPagePoint: transformPagePoint }));
-    // If we've been provided a DragControls for manual control over the drag gesture,
-    // subscribe this component to it on mount.
-    Object(external_React_["useEffect"])(function () { return groupDragControls && groupDragControls.subscribe(dragControls); }, [dragControls]);
-    // Mount the drag controls with the visualElement
-    Object(external_React_["useEffect"])(function () { return dragControls.mount(visualElement); }, []);
-}
-
-
-
-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/use-pan-gesture.js

+const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_close = (close_close);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/utils.js
+// @ts-nocheck

+/**
+ * WordPress dependencies
+ */

+/**
+ * Module constants
+ */

+const HEIGHT_OFFSET = 10; // used by the arrow and a bit of empty space

 /**
+ * Utility used to compute the popover position over the xAxis
  *
- * @param handlers -
- * @param ref -
- *
- * @internalremarks
- * Currently this sets new pan gesture functions every render. The memo route has been explored
- * in the past but ultimately we're still creating new functions every render. An optimisation
- * to explore is creating the pan gestures and loading them into a `ref`.
+ * @param {Object}  anchorRect            Anchor Rect.
+ * @param {Object}  contentSize           Content Size.
+ * @param {string}  xAxis                 Desired xAxis.
+ * @param {string}  corner                Desired corner.
+ * @param {boolean} stickyBoundaryElement The boundary element to use when
+ *                                        switching between sticky and normal
+ *                                        position.
+ * @param {string}  chosenYAxis           yAxis to be used.
+ * @param {Element} boundaryElement       Boundary element.
+ * @param {boolean} forcePosition         Don't adjust position based on anchor.
+ * @param {boolean} forceXAlignment       Don't adjust alignment based on YAxis
  *
- * @internal
+ * @return {Object} Popover xAxis position and constraints.
  */
-function usePanGesture(_a) {
-    var onPan = _a.onPan, onPanStart = _a.onPanStart, onPanEnd = _a.onPanEnd, onPanSessionStart = _a.onPanSessionStart, visualElement = _a.visualElement;
-    var hasPanEvents = onPan || onPanStart || onPanEnd || onPanSessionStart;
-    var panSession = Object(external_React_["useRef"])(null);
-    var transformPagePoint = Object(external_React_["useContext"])(MotionConfigContext).transformPagePoint;
-    var handlers = {
-        onSessionStart: onPanSessionStart,
-        onStart: onPanStart,
-        onMove: onPan,
-        onEnd: function (event, info) {
-            panSession.current = null;
-            onPanEnd && onPanEnd(event, info);
-        },
-    };
-    Object(external_React_["useEffect"])(function () {
-        if (panSession.current !== null) {
-            panSession.current.updateHandlers(handlers);
-        }
-    });
-    function onPointerDown(event) {
-        panSession.current = new PanSession_PanSession(event, handlers, {
-            transformPagePoint: transformPagePoint,
-        });
-    }
-    usePointerEvent(visualElement, "pointerdown", hasPanEvents && onPointerDown);
-    useUnmountEffect(function () { return panSession.current && panSession.current.end(); });
-}

+function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, stickyBoundaryElement, chosenYAxis, boundaryElement, forcePosition, forceXAlignment) {
+  const {
+    width
+  } = contentSize; // Correct xAxis for RTL support

+  if (xAxis === 'left' && (0,external_wp_i18n_namespaceObject.isRTL)()) {
+    xAxis = 'right';
+  } else if (xAxis === 'right' && (0,external_wp_i18n_namespaceObject.isRTL)()) {
+    xAxis = 'left';
+  }

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/drag.js
+  if (corner === 'left' && (0,external_wp_i18n_namespaceObject.isRTL)()) {
+    corner = 'right';
+  } else if (corner === 'right' && (0,external_wp_i18n_namespaceObject.isRTL)()) {
+    corner = 'left';
+  } // x axis alignment choices


+  const anchorMidPoint = Math.round(anchorRect.left + anchorRect.width / 2);
+  const centerAlignment = {
+    popoverLeft: anchorMidPoint,
+    contentWidth: (anchorMidPoint - width / 2 > 0 ? width / 2 : anchorMidPoint) + (anchorMidPoint + width / 2 > window.innerWidth ? window.innerWidth - anchorMidPoint : width / 2)
+  };
+  let leftAlignmentX = anchorRect.left;

+  if (corner === 'right') {
+    leftAlignmentX = anchorRect.right;
+  } else if (chosenYAxis !== 'middle' && !forceXAlignment) {
+    leftAlignmentX = anchorMidPoint;
+  }

-var drag_drag = {
-    pan: makeRenderlessComponent(usePanGesture),
-    drag: makeRenderlessComponent(useDrag),
-};
+  let rightAlignmentX = anchorRect.right;

+  if (corner === 'left') {
+    rightAlignmentX = anchorRect.left;
+  } else if (chosenYAxis !== 'middle' && !forceXAlignment) {
+    rightAlignmentX = anchorMidPoint;
+  }

+  const leftAlignment = {
+    popoverLeft: leftAlignmentX,
+    contentWidth: leftAlignmentX - width > 0 ? width : leftAlignmentX
+  };
+  const rightAlignment = {
+    popoverLeft: rightAlignmentX,
+    contentWidth: rightAlignmentX + width > window.innerWidth ? window.innerWidth - rightAlignmentX : width
+  }; // Choosing the x axis

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimateSharedLayout/types.js
-/**
- * @public
- */
-var Presence;
-(function (Presence) {
-    Presence[Presence["Entering"] = 0] = "Entering";
-    Presence[Presence["Present"] = 1] = "Present";
-    Presence[Presence["Exiting"] = 2] = "Exiting";
-})(Presence || (Presence = {}));
-/**
- * @public
- */
-var VisibilityAction;
-(function (VisibilityAction) {
-    VisibilityAction[VisibilityAction["Hide"] = 0] = "Hide";
-    VisibilityAction[VisibilityAction["Show"] = 1] = "Show";
-})(VisibilityAction || (VisibilityAction = {}));
+  let chosenXAxis = xAxis;
+  let contentWidth = null;

+  if (!stickyBoundaryElement && !forcePosition) {
+    if (xAxis === 'center' && centerAlignment.contentWidth === width) {
+      chosenXAxis = 'center';
+    } else if (xAxis === 'left' && leftAlignment.contentWidth === width) {
+      chosenXAxis = 'left';
+    } else if (xAxis === 'right' && rightAlignment.contentWidth === width) {
+      chosenXAxis = 'right';
+    } else {
+      chosenXAxis = leftAlignment.contentWidth > rightAlignment.contentWidth ? 'left' : 'right';
+      const chosenWidth = chosenXAxis === 'left' ? leftAlignment.contentWidth : rightAlignment.contentWidth; // Limit width of the content to the viewport width

+      if (width > window.innerWidth) {
+        contentWidth = window.innerWidth;
+      } // If we can't find any alignment options that could fit
+      // our content, then let's fallback to the center of the viewport.

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js

+      if (chosenWidth !== width) {
+        chosenXAxis = 'center';
+        centerAlignment.popoverLeft = window.innerWidth / 2;
+      }
+    }
+  }

+  let popoverLeft;

-function css_variables_conversion_isCSSVariable(value) {
-    return typeof value === "string" && value.startsWith("var(--");
-}
-/**
- * Parse Framer's special CSS variable format into a CSS token and a fallback.
- *
- * ```
- * `var(--foo, #fff)` => [`--foo`, '#fff']
- * ```
- *
- * @param current
- */
-var cssVariableRegex = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
-function parseCSSVariable(current) {
-    var match = cssVariableRegex.exec(current);
-    if (!match)
-        return [,];
-    var _a = __read(match, 3), token = _a[1], fallback = _a[2];
-    return [token, fallback];
-}
-var maxDepth = 4;
-function getVariableValue(current, element, depth) {
-    if (depth === void 0) { depth = 1; }
-    invariant(depth <= maxDepth, "Max CSS variable fallback depth detected in property \"" + current + "\". This may indicate a circular fallback dependency.");
-    var _a = __read(parseCSSVariable(current), 2), token = _a[0], fallback = _a[1];
-    // No CSS variable detected
-    if (!token)
-        return;
-    // Attempt to read this CSS variable off the element
-    var resolved = window.getComputedStyle(element).getPropertyValue(token);
-    if (resolved) {
-        return resolved.trim();
-    }
-    else if (css_variables_conversion_isCSSVariable(fallback)) {
-        // The fallback might itself be a CSS variable, in which case we attempt to resolve it too.
-        return getVariableValue(fallback, element, depth + 1);
-    }
-    else {
-        return fallback;
+  if (chosenXAxis === 'center') {
+    popoverLeft = centerAlignment.popoverLeft;
+  } else if (chosenXAxis === 'left') {
+    popoverLeft = leftAlignment.popoverLeft;
+  } else {
+    popoverLeft = rightAlignment.popoverLeft;
+  }
+
+  if (boundaryElement) {
+    popoverLeft = Math.min(popoverLeft, boundaryElement.offsetLeft + boundaryElement.offsetWidth - width); // Avoid the popover being position beyond the left boundary if the
+    // direction is left to right.
+
+    if (!(0,external_wp_i18n_namespaceObject.isRTL)()) {
+      popoverLeft = Math.max(popoverLeft, 0);
     }
+  }
+
+  return {
+    xAxis: chosenXAxis,
+    popoverLeft,
+    contentWidth
+  };
 }
 /**
- * Resolve CSS variables from
+ * Utility used to compute the popover position over the yAxis
  *
- * @internal
+ * @param {Object}       anchorRect            Anchor Rect.
+ * @param {Object}       contentSize           Content Size.
+ * @param {string}       yAxis                 Desired yAxis.
+ * @param {string}       corner                Desired corner.
+ * @param {boolean}      stickyBoundaryElement The boundary element to use when switching between sticky
+ *                                             and normal position.
+ * @param {Element}      anchorRef             The anchor element.
+ * @param {Element}      relativeOffsetTop     If applicable, top offset of the relative positioned
+ *                                             parent container.
+ * @param {boolean}      forcePosition         Don't adjust position based on anchor.
+ * @param {Element|null} editorWrapper         Element that wraps the editor content. Used to access
+ *                                             scroll position to determine sticky behavior.
+ * @return {Object} Popover xAxis position and constraints.
  */
-function resolveCSSVariables(visualElement, _a, transitionEnd) {
-    var _b;
-    var target = __rest(_a, []);
-    var element = visualElement.getInstance();
-    if (!(element instanceof HTMLElement))
-        return { target: target, transitionEnd: transitionEnd };
-    // If `transitionEnd` isn't `undefined`, clone it. We could clone `target` and `transitionEnd`
-    // only if they change but I think this reads clearer and this isn't a performance-critical path.
-    if (transitionEnd) {
-        transitionEnd = __assign({}, transitionEnd);
-    }
-    // Go through existing `MotionValue`s and ensure any existing CSS variables are resolved
-    visualElement.forEachValue(function (value) {
-        var current = value.get();
-        if (!css_variables_conversion_isCSSVariable(current))
-            return;
-        var resolved = getVariableValue(current, element);
-        if (resolved)
-            value.set(resolved);
-    });
-    // Cycle through every target property and resolve CSS variables. Currently
-    // we only read single-var properties like `var(--foo)`, not `calc(var(--foo) + 20px)`
-    for (var key in target) {
-        var current = target[key];
-        if (!css_variables_conversion_isCSSVariable(current))
-            continue;
-        var resolved = getVariableValue(current, element);
-        if (!resolved)
-            continue;
-        // Clone target if it hasn't already been
-        target[key] = resolved;
-        // If the user hasn't already set this key on `transitionEnd`, set it to the unresolved
-        // CSS variable. This will ensure that after the animation the component will reflect
-        // changes in the value of the CSS variable.
-        if (transitionEnd)
-            (_b = transitionEnd[key]) !== null && _b !== void 0 ? _b : (transitionEnd[key] = current);
+
+function computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, stickyBoundaryElement, anchorRef, relativeOffsetTop, forcePosition, editorWrapper) {
+  const {
+    height
+  } = contentSize;
+
+  if (stickyBoundaryElement) {
+    const stickyRect = stickyBoundaryElement.getBoundingClientRect();
+    const stickyPositionTop = stickyRect.top + height - relativeOffsetTop;
+    const stickyPositionBottom = stickyRect.bottom - height - relativeOffsetTop;
+
+    if (anchorRect.top <= stickyPositionTop) {
+      if (editorWrapper) {
+        // If a popover cannot be positioned above the anchor, even after scrolling, we must
+        // ensure we use the bottom position instead of the popover slot.  This prevents the
+        // popover from always restricting block content and interaction while selected if the
+        // block is near the top of the site editor.
+        const isRoomAboveInCanvas = height + HEIGHT_OFFSET < editorWrapper.scrollTop + anchorRect.top;
+
+        if (!isRoomAboveInCanvas) {
+          return {
+            yAxis: 'bottom',
+            // If the bottom of the block is also below the bottom sticky position (ex -
+            // block is also taller than the editor window), return the bottom sticky
+            // position instead.  We do this instead of the top sticky position both to
+            // allow a smooth transition and more importantly to ensure every section of
+            // the block can be free from popover obscuration at some point in the
+            // scroll position.
+            popoverTop: Math.min(anchorRect.bottom, stickyPositionBottom)
+          };
+        }
+      } // Default sticky behavior.
+
+
+      return {
+        yAxis,
+        popoverTop: Math.min(anchorRect.bottom, stickyPositionTop)
+      };
     }
-    return { target: target, transitionEnd: transitionEnd };
+  } // y axis alignment choices
+
+
+  let anchorMidPoint = anchorRect.top + anchorRect.height / 2;
+
+  if (corner === 'bottom') {
+    anchorMidPoint = anchorRect.bottom;
+  } else if (corner === 'top') {
+    anchorMidPoint = anchorRect.top;
+  }
+
+  const middleAlignment = {
+    popoverTop: anchorMidPoint,
+    contentHeight: (anchorMidPoint - height / 2 > 0 ? height / 2 : anchorMidPoint) + (anchorMidPoint + height / 2 > window.innerHeight ? window.innerHeight - anchorMidPoint : height / 2)
+  };
+  const topAlignment = {
+    popoverTop: anchorRect.top,
+    contentHeight: anchorRect.top - HEIGHT_OFFSET - height > 0 ? height : anchorRect.top - HEIGHT_OFFSET
+  };
+  const bottomAlignment = {
+    popoverTop: anchorRect.bottom,
+    contentHeight: anchorRect.bottom + HEIGHT_OFFSET + height > window.innerHeight ? window.innerHeight - HEIGHT_OFFSET - anchorRect.bottom : height
+  }; // Choosing the y axis
+
+  let chosenYAxis = yAxis;
+  let contentHeight = null;
+
+  if (!stickyBoundaryElement && !forcePosition) {
+    if (yAxis === 'middle' && middleAlignment.contentHeight === height) {
+      chosenYAxis = 'middle';
+    } else if (yAxis === 'top' && topAlignment.contentHeight === height) {
+      chosenYAxis = 'top';
+    } else if (yAxis === 'bottom' && bottomAlignment.contentHeight === height) {
+      chosenYAxis = 'bottom';
+    } else {
+      chosenYAxis = topAlignment.contentHeight > bottomAlignment.contentHeight ? 'top' : 'bottom';
+      const chosenHeight = chosenYAxis === 'top' ? topAlignment.contentHeight : bottomAlignment.contentHeight;
+      contentHeight = chosenHeight !== height ? chosenHeight : null;
+    }
+  }
+
+  let popoverTop;
+
+  if (chosenYAxis === 'middle') {
+    popoverTop = middleAlignment.popoverTop;
+  } else if (chosenYAxis === 'top') {
+    popoverTop = topAlignment.popoverTop;
+  } else {
+    popoverTop = bottomAlignment.popoverTop;
+  }
+
+  return {
+    yAxis: chosenYAxis,
+    popoverTop,
+    contentHeight
+  };
+}
+/**
+ * Utility used to compute the popover position and the content max width/height for a popover given
+ * its anchor rect and its content size.
+ *
+ * @param {Object}       anchorRect            Anchor Rect.
+ * @param {Object}       contentSize           Content Size.
+ * @param {string}       position              Position.
+ * @param {boolean}      stickyBoundaryElement The boundary element to use when switching between
+ *                                             sticky and normal position.
+ * @param {Element}      anchorRef             The anchor element.
+ * @param {number}       relativeOffsetTop     If applicable, top offset of the relative positioned
+ *                                             parent container.
+ * @param {Element}      boundaryElement       Boundary element.
+ * @param {boolean}      forcePosition         Don't adjust position based on anchor.
+ * @param {boolean}      forceXAlignment       Don't adjust alignment based on YAxis
+ * @param {Element|null} editorWrapper         Element that wraps the editor content. Used to access
+ *                                             scroll position to determine sticky behavior.
+ * @return {Object} Popover position and constraints.
+ */
+
+function computePopoverPosition(anchorRect, contentSize) {
+  let position = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'top';
+  let stickyBoundaryElement = arguments.length > 3 ? arguments[3] : undefined;
+  let anchorRef = arguments.length > 4 ? arguments[4] : undefined;
+  let relativeOffsetTop = arguments.length > 5 ? arguments[5] : undefined;
+  let boundaryElement = arguments.length > 6 ? arguments[6] : undefined;
+  let forcePosition = arguments.length > 7 ? arguments[7] : undefined;
+  let forceXAlignment = arguments.length > 8 ? arguments[8] : undefined;
+  let editorWrapper = arguments.length > 9 ? arguments[9] : undefined;
+  const [yAxis, xAxis = 'center', corner] = position.split(' ');
+  const yAxisPosition = computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, stickyBoundaryElement, anchorRef, relativeOffsetTop, forcePosition, editorWrapper);
+  const xAxisPosition = computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, stickyBoundaryElement, yAxisPosition.yAxis, boundaryElement, forcePosition, forceXAlignment);
+  return { ...xAxisPosition,
+    ...yAxisPosition
+  };
 }
+/**
+ * Offsets the given rect by the position of the iframe that contains the
+ * element. If the owner document is not in an iframe then it returns with the
+ * original rect. If the popover container document and the anchor document are
+ * the same, the original rect will also be returned.
+ *
+ * @param {DOMRect}  rect          bounds of the element
+ * @param {Document} ownerDocument document of the element
+ * @param {Element}  container     The popover container to position.
+ *
+ * @return {DOMRect} offsetted bounds
+ */
+
+function offsetIframe(rect, ownerDocument, container) {
+  const {
+    defaultView
+  } = ownerDocument;
+  const {
+    frameElement
+  } = defaultView;

+  if (!frameElement || ownerDocument === container.ownerDocument) {
+    return rect;
+  }

+  const iframeRect = frameElement.getBoundingClientRect();
+  return new defaultView.DOMRect(rect.left + iframeRect.left, rect.top + iframeRect.top, rect.width, rect.height);
+}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/default-scale-correctors.js
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dashicon/index.js



+/**
+ * @typedef OwnProps
+ *
+ * @property {import('./types').IconKey} icon        Icon name
+ * @property {string}                    [className] Class name
+ */

+/** @typedef {import('react').ComponentPropsWithoutRef<'span'> & OwnProps} Props */

-function pixelsToPercent(pixels, axis) {
-    return (pixels / (axis.max - axis.min)) * 100;
+/**
+ * @param {Props} props
+ * @return {JSX.Element} Element
+ */
+function Dashicon(_ref) {
+  let {
+    icon,
+    className,
+    ...extraProps
+  } = _ref;
+  const iconClass = ['dashicon', 'dashicons', 'dashicons-' + icon, className].filter(Boolean).join(' ');
+  return (0,external_wp_element_namespaceObject.createElement)("span", extends_extends({
+    className: iconClass
+  }, extraProps));
 }
+
+/* harmony default export */ var dashicon = (Dashicon);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/icon/index.js
+
+
 /**
- * We always correct borderRadius as a percentage rather than pixels to reduce paints.
- * For example, if you are projecting a box that is 100px wide with a 10px borderRadius
- * into a box that is 200px wide with a 20px borderRadius, that is actually a 10%
- * borderRadius in both states. If we animate between the two in pixels that will trigger
- * a paint each time. If we animate between the two in percentage we'll avoid a paint.
+ * External dependencies
  */
-function correctBorderRadius(latest, _layoutState, _a) {
-    var target = _a.target;
-    /**
-     * If latest is a string, if it's a percentage we can return immediately as it's
-     * going to be stretched appropriately. Otherwise, if it's a pixel, convert it to a number.
-     */
-    if (typeof latest === "string") {
-        if (px.test(latest)) {
-            latest = parseFloat(latest);
-        }
-        else {
-            return latest;
-        }
+// eslint-disable-next-line no-restricted-imports
+
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+function Icon(_ref) {
+  let {
+    icon = null,
+    size = 24,
+    ...additionalProps
+  } = _ref;
+
+  if ('string' === typeof icon) {
+    return (0,external_wp_element_namespaceObject.createElement)(dashicon, extends_extends({
+      icon: icon
+    }, additionalProps));
+  }
+
+  if ((0,external_wp_element_namespaceObject.isValidElement)(icon) && dashicon === icon.type) {
+    return (0,external_wp_element_namespaceObject.cloneElement)(icon, { ...additionalProps
+    });
+  }
+
+  if ('function' === typeof icon) {
+    if (icon.prototype instanceof external_wp_element_namespaceObject.Component) {
+      return (0,external_wp_element_namespaceObject.createElement)(icon, {
+        size,
+        ...additionalProps
+      });
     }
-    /**
-     * If latest is a number, it's a pixel value. We use the current viewportBox to calculate that
-     * pixel value as a percentage of each axis
-     */
-    var x = pixelsToPercent(latest, target.x);
-    var y = pixelsToPercent(latest, target.y);
-    return x + "% " + y + "%";
+
+    return icon({
+      size,
+      ...additionalProps
+    });
+  }
+
+  if (icon && (icon.type === 'svg' || icon.type === external_wp_primitives_namespaceObject.SVG)) {
+    const appliedProps = {
+      width: size,
+      height: size,
+      ...icon.props,
+      ...additionalProps
+    };
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, appliedProps);
+  }
+
+  if ((0,external_wp_element_namespaceObject.isValidElement)(icon)) {
+    return (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+      // @ts-ignore Just forwarding the size prop along
+      size,
+      ...additionalProps
+    });
+  }
+
+  return icon;
 }
-var varToken = "_$css";
-function correctBoxShadow(latest, _a) {
-    var delta = _a.delta, treeScale = _a.treeScale;
-    var original = latest;
-    /**
-     * We need to first strip and store CSS variables from the string.
-     */
-    var containsCSSVariables = latest.includes("var(");
-    var cssVariables = [];
-    if (containsCSSVariables) {
-        latest = latest.replace(cssVariableRegex, function (match) {
-            cssVariables.push(match);
-            return varToken;
-        });
+
+/* harmony default export */ var build_module_icon = (Icon);
+
+;// CONCATENATED MODULE: external ["wp","warning"]
+var external_wp_warning_namespaceObject = window["wp"]["warning"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/context/context-system-provider.js
+
+
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+const ComponentsContext = (0,external_wp_element_namespaceObject.createContext)(
+/** @type {Record<string, any>} */
+{});
+const useComponentsContext = () => (0,external_wp_element_namespaceObject.useContext)(ComponentsContext);
+/**
+ * Runs an effect only on update (i.e., ignores the first render)
+ *
+ * @param {import('react').EffectCallback} effect
+ * @param {import('react').DependencyList} deps
+ */
+
+function useUpdateEffect(effect, deps) {
+  const mounted = (0,external_wp_element_namespaceObject.useRef)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (mounted.current) {
+      return effect();
     }
-    var shadow = complex.parse(latest);
-    // TODO: Doesn't support multiple shadows
-    if (shadow.length > 5)
-        return original;
-    var template = complex.createTransformer(latest);
-    var offset = typeof shadow[0] !== "number" ? 1 : 0;
-    // Calculate the overall context scale
-    var xScale = delta.x.scale * treeScale.x;
-    var yScale = delta.y.scale * treeScale.y;
-    shadow[0 + offset] /= xScale;
-    shadow[1 + offset] /= yScale;
-    /**
-     * Ideally we'd correct x and y scales individually, but because blur and
-     * spread apply to both we have to take a scale average and apply that instead.
-     * We could potentially improve the outcome of this by incorporating the ratio between
-     * the two scales.
-     */
-    var averageScale = mix(xScale, yScale, 0.5);
-    // Blur
-    if (typeof shadow[2 + offset] === "number")
-        shadow[2 + offset] /= averageScale;
-    // Spread
-    if (typeof shadow[3 + offset] === "number")
-        shadow[3 + offset] /= averageScale;
-    var output = template(shadow);
-    if (containsCSSVariables) {
-        var i_1 = 0;
-        output = output.replace(varToken, function () {
-            var cssVariable = cssVariables[i_1];
-            i_1++;
-            return cssVariable;
-        });
+
+    mounted.current = true;
+    return undefined;
+  }, deps);
+}
+/**
+ * Consolidates incoming ContextSystem values with a (potential) parent ContextSystem value.
+ *
+ * Note: This function will warn if it detects an un-memoized `value`
+ *
+ * @param {Object}              props
+ * @param {Record<string, any>} props.value
+ * @return {Record<string, any>} The consolidated value.
+ */
+
+
+function useContextSystemBridge(_ref) {
+  let {
+    value
+  } = _ref;
+  const parentContext = useComponentsContext();
+  const valueRef = (0,external_wp_element_namespaceObject.useRef)(value);
+  useUpdateEffect(() => {
+    if ( // objects are equivalent
+    (0,external_lodash_namespaceObject.isEqual)(valueRef.current, value) && // but not the same reference
+    valueRef.current !== value) {
+      typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0;
     }
-    return output;
+  }, [value]); // `parentContext` will always be memoized (i.e., the result of this hook itself)
+  // or the default value from when the `ComponentsContext` was originally
+  // initialized (which will never change, it's a static variable)
+  // so this memoization will prevent `merge` and `cloneDeep` from rerunning unless
+  // the references to `value` change OR the `parentContext` has an actual material change
+  // (because again, it's guaranteed to be memoized or a static reference to the empty object
+  // so we know that the only changes for `parentContext` are material ones... i.e., why we
+  // don't have to warn in the `useUpdateEffect` hook above for `parentContext` and we only
+  // need to bother with the `value`). The `useUpdateEffect` above will ensure that we are
+  // correctly warning when the `value` isn't being properly memoized. All of that to say
+  // that this should be super safe to assume that `useMemo` will only run on actual
+  // changes to the two dependencies, therefore saving us calls to `merge` and `cloneDeep`!
+
+  const config = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return (0,external_lodash_namespaceObject.merge)((0,external_lodash_namespaceObject.cloneDeep)(parentContext), value);
+  }, [parentContext, value]);
+  return config;
 }
-var borderCorrectionDefinition = {
-    process: correctBorderRadius,
-};
-var defaultScaleCorrectors = {
-    borderRadius: __assign(__assign({}, borderCorrectionDefinition), { applyTo: [
-            "borderTopLeftRadius",
-            "borderTopRightRadius",
-            "borderBottomLeftRadius",
-            "borderBottomRightRadius",
-        ] }),
-    borderTopLeftRadius: borderCorrectionDefinition,
-    borderTopRightRadius: borderCorrectionDefinition,
-    borderBottomLeftRadius: borderCorrectionDefinition,
-    borderBottomRightRadius: borderCorrectionDefinition,
-    boxShadow: {
-        process: correctBoxShadow,
-    },
+/**
+ * A Provider component that can modify props for connected components within
+ * the Context system.
+ *
+ * @example
+ * ```jsx
+ * <ContextSystemProvider value={{ Button: { size: 'small' }}}>
+ *   <Button>...</Button>
+ * </ContextSystemProvider>
+ * ```
+ *
+ * @template {Record<string, any>} T
+ * @param {Object}                    options
+ * @param {import('react').ReactNode} options.children Children to render.
+ * @param {T}                         options.value    Props to render into connected components.
+ * @return {JSX.Element} A Provider wrapped component.
+ */
+
+
+const BaseContextSystemProvider = _ref2 => {
+  let {
+    children,
+    value
+  } = _ref2;
+  const contextValue = useContextSystemBridge({
+    value
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(ComponentsContext.Provider, {
+    value: contextValue
+  }, children);
 };

+const ContextSystemProvider = (0,external_wp_element_namespaceObject.memo)(BaseContextSystemProvider);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/context/constants.js
+const REACT_TYPEOF_KEY = '$$typeof';
+const COMPONENT_NAMESPACE = 'data-wp-component';
+const CONNECTED_NAMESPACE = 'data-wp-c16t';
+const CONTEXT_COMPONENT_NAMESPACE = 'data-wp-c5tc8t';
+/**
+ * Special key where the connected namespaces are stored.
+ * This is attached to Context connected components as a static property.
+ */

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/layout/Animate.js
+const CONNECT_STATIC_NAMESPACE = '__contextSystemKey__';

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/context/utils.js
+/**
+ * Internal dependencies
+ */

+/**
+ * Creates a dedicated context namespace HTML attribute for components.
+ * ns is short for "namespace"
+ *
+ * @example
+ * ```jsx
+ * <div {...ns('Container')} />
+ * ```
+ *
+ * @param {string} componentName The name for the component.
+ * @return {Record<string, any>} A props object with the namespaced HTML attribute.
+ */

+function getNamespace(componentName) {
+  return {
+    [COMPONENT_NAMESPACE]: componentName
+  };
+}
+/**
+ * Creates a dedicated connected context namespace HTML attribute for components.
+ * ns is short for "namespace"
+ *
+ * @example
+ * ```jsx
+ * <div {...cns()} />
+ * ```
+ *
+ * @return {Record<string, any>} A props object with the namespaced HTML attribute.
+ */

+function getConnectedNamespace() {
+  return {
+    [CONNECTED_NAMESPACE]: true
+  };
+}

+// EXTERNAL MODULE: ./node_modules/memize/index.js
+var memize = __webpack_require__(9756);
+var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/context/get-styled-class-name-from-key.js
+/**
+ * External dependencies
+ */


+/**
+ * Generates the connected component CSS className based on the namespace.
+ *
+ * @param  namespace The name of the connected component.
+ * @return The generated CSS className.
+ */

+function getStyledClassName(namespace) {
+  const kebab = (0,external_lodash_namespaceObject.kebabCase)(namespace);
+  return `components-${kebab}`;
+}

+const getStyledClassNameFromKey = memize_default()(getStyledClassName);

+;// CONCATENATED MODULE: ./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js
+/*

-var progressTarget = 1000;
-var Animate_Animate = /** @class */ (function (_super) {
-    __extends(Animate, _super);
-    function Animate() {
-        var _this = _super !== null && _super.apply(this, arguments) || this;
-        /**
-         * A mutable object that tracks the target viewport box
-         * for the current animation frame.
-         */
-        _this.frameTarget = axisBox();
-        /**
-         * The current animation target, we use this to check whether to start
-         * a new animation or continue the existing one.
-         */
-        _this.currentAnimationTarget = axisBox();
-        /**
-         * Track whether we're animating this axis.
-         */
-        _this.isAnimating = {
-            x: false,
-            y: false,
-        };
-        _this.stopAxisAnimation = {
-            x: undefined,
-            y: undefined,
-        };
-        _this.isAnimatingTree = false;
-        _this.animate = function (target, origin, _a) {
-            if (_a === void 0) { _a = {}; }
-            var originBox = _a.originBox, targetBox = _a.targetBox, visibilityAction = _a.visibilityAction, shouldStackAnimate = _a.shouldStackAnimate, onComplete = _a.onComplete, prevParent = _a.prevParent, config = __rest(_a, ["originBox", "targetBox", "visibilityAction", "shouldStackAnimate", "onComplete", "prevParent"]);
-            var _b = _this.props, visualElement = _b.visualElement, layout = _b.layout;
-            /**
-             * Early return if we've been instructed not to animate this render.
-             */
-            if (shouldStackAnimate === false) {
-                _this.isAnimatingTree = false;
-                return _this.safeToRemove();
-            }
-            /**
-             * Prioritise tree animations
-             */
-            if (_this.isAnimatingTree && shouldStackAnimate !== true) {
-                return;
-            }
-            else if (shouldStackAnimate) {
-                _this.isAnimatingTree = true;
-            }
-            /**
-             * Allow the measured origin (prev bounding box) and target (actual layout) to be
-             * overridden by the provided config.
-             */
-            origin = originBox || origin;
-            target = targetBox || target;
-            /**
-             * If this element has a projecting parent, there's an opportunity to animate
-             * it relatively to that parent rather than relatively to the viewport. This
-             * allows us to add orchestrated animations.
-             */
-            var isRelative = false;
-            var projectionParent = visualElement.getProjectionParent();
-            if (projectionParent) {
-                var prevParentViewportBox = projectionParent.prevViewportBox;
-                var parentLayout = projectionParent.getLayoutState().layout;
-                /**
-                 * If we're being provided a previous parent VisualElement by AnimateSharedLayout
-                 */
-                if (prevParent) {
-                    /**
-                     * If we've been provided an explicit target box it means we're animating back
-                     * to this previous parent. So we can make a relative box by comparing to the previous
-                     * parent's layout
-                     */
-                    if (targetBox) {
-                        parentLayout = prevParent.getLayoutState().layout;
-                    }
-                    /**
-                     * Likewise if we've been provided an explicit origin box it means we're
-                     * animating out from a different element. So we should figure out where that was
-                     * on screen relative to the new parent element.
-                     */
-                    if (originBox &&
-                        !checkIfParentHasChanged(prevParent, projectionParent) &&
-                        prevParent.prevViewportBox) {
-                        prevParentViewportBox = prevParent.prevViewportBox;
-                    }
-                }
-                if (prevParentViewportBox &&
-                    isProvidedCorrectDataForRelativeSharedLayout(prevParent, originBox, targetBox)) {
-                    isRelative = true;
-                    origin = calcRelativeOffset(prevParentViewportBox, origin);
-                    target = calcRelativeOffset(parentLayout, target);
-                }
-            }
-            var boxHasMoved = hasMoved(origin, target);
-            var animations = eachAxis(function (axis) {
-                var _a, _b;
-                /**
-                 * If layout is set to "position", we can resize the origin box based on the target
-                 * box and only animate its position.
-                 */
-                if (layout === "position") {
-                    var targetLength = target[axis].max - target[axis].min;
-                    origin[axis].max = origin[axis].min + targetLength;
-                }
-                if (visualElement.projection.isTargetLocked) {
-                    return;
-                }
-                else if (visibilityAction !== undefined) {
-                    visualElement.setVisibility(visibilityAction === VisibilityAction.Show);
-                }
-                else if (boxHasMoved) {
-                    // If the box has moved, animate between it's current visual state and its
-                    // final state
-                    return _this.animateAxis(axis, target[axis], origin[axis], __assign(__assign({}, config), { isRelative: isRelative }));
-                }
-                else {
-                    (_b = (_a = _this.stopAxisAnimation)[axis]) === null || _b === void 0 ? void 0 : _b.call(_a);
-                    // If the box has remained in the same place, immediately set the axis target
-                    // to the final desired state
-                    return visualElement.setProjectionTargetAxis(axis, target[axis].min, target[axis].max, isRelative);
-                }
-            });
-            // Force a render to ensure there's no flash of uncorrected bounding box.
-            visualElement.syncRender();
-            /**
-             * If this visualElement isn't present (ie it's been removed from the tree by the user but
-             * kept in by the tree by AnimatePresence) then call safeToRemove when all axis animations
-             * have successfully finished.
-             */
-            return Promise.all(animations).then(function () {
-                _this.isAnimatingTree = false;
-                onComplete && onComplete();
-                visualElement.notifyLayoutAnimationComplete();
-            });
-        };
-        return _this;
-    }
-    Animate.prototype.componentDidMount = function () {
-        var _this = this;
-        var visualElement = this.props.visualElement;
-        visualElement.animateMotionValue = transitions_startAnimation;
-        visualElement.enableLayoutProjection();
-        this.unsubLayoutReady = visualElement.onLayoutUpdate(this.animate);
-        visualElement.layoutSafeToRemove = function () { return _this.safeToRemove(); };
-        addScaleCorrection(defaultScaleCorrectors);
-    };
-    Animate.prototype.componentWillUnmount = function () {
-        var _this = this;
-        this.unsubLayoutReady();
-        eachAxis(function (axis) { var _a, _b; return (_b = (_a = _this.stopAxisAnimation)[axis]) === null || _b === void 0 ? void 0 : _b.call(_a); });
-    };
-    /**
-     * TODO: This manually performs animations on the visualElement's layout progress
-     * values. It'd be preferable to amend the startLayoutAxisAnimation
-     * API to accept more custom animations like this.
-     */
-    Animate.prototype.animateAxis = function (axis, target, origin, _a) {
-        var _this = this;
-        var _b, _c;
-        var _d = _a === void 0 ? {} : _a, transition = _d.transition, isRelative = _d.isRelative;
-        /**
-         * If we're not animating to a new target, don't run this animation
-         */
-        if (this.isAnimating[axis] &&
-            axisIsEqual(target, this.currentAnimationTarget[axis])) {
-            return;
-        }
-        (_c = (_b = this.stopAxisAnimation)[axis]) === null || _c === void 0 ? void 0 : _c.call(_b);
-        this.isAnimating[axis] = true;
-        var visualElement = this.props.visualElement;
-        var frameTarget = this.frameTarget[axis];
-        var layoutProgress = visualElement.getProjectionAnimationProgress()[axis];
-        /**
-         * Set layout progress back to 0. We set it twice to hard-reset any velocity that might
-         * be re-incoporated into a subsequent spring animation.
-         */
-        layoutProgress.clearListeners();
-        layoutProgress.set(0);
-        layoutProgress.set(0);
-        /**
-         * Create an animation function to run once per frame. This will tween the visual bounding box from
-         * origin to target using the latest progress value.
-         */
-        var frame = function () {
-            // Convert the latest layoutProgress, which is a value from 0-1000, into a 0-1 progress
-            var p = layoutProgress.get() / progressTarget;
-            // Tween the axis and update the visualElement with the latest values
-            tweenAxis(frameTarget, origin, target, p);
-            visualElement.setProjectionTargetAxis(axis, frameTarget.min, frameTarget.max, isRelative);
-        };
-        // Synchronously run a frame to ensure there's no flash of the uncorrected bounding box.
-        frame();
-        // Create a function to stop animation on this specific axis
-        var unsubscribeProgress = layoutProgress.onChange(frame);
-        this.stopAxisAnimation[axis] = function () {
-            _this.isAnimating[axis] = false;
-            layoutProgress.stop();
-            unsubscribeProgress();
-        };
-        this.currentAnimationTarget[axis] = target;
-        var layoutTransition = transition ||
-            visualElement.getDefaultTransition() ||
-            defaultLayoutTransition;
-        // Start the animation on this axis
-        var animation = transitions_startAnimation(axis === "x" ? "layoutX" : "layoutY", layoutProgress, progressTarget, layoutTransition && getValueTransition(layoutTransition, "layout")).then(this.stopAxisAnimation[axis]);
-        return animation;
-    };
-    Animate.prototype.safeToRemove = function () {
-        var _a, _b;
-        (_b = (_a = this.props).safeToRemove) === null || _b === void 0 ? void 0 : _b.call(_a);
-    };
-    Animate.prototype.render = function () {
-        return null;
-    };
-    return Animate;
-}(external_React_["Component"]));
-function AnimateLayoutContextProvider(props) {
-    var _a = __read(usePresence(), 2), safeToRemove = _a[1];
-    return external_React_["createElement"](Animate_Animate, __assign({}, props, { safeToRemove: safeToRemove }));
-}
-function hasMoved(a, b) {
-    return (!isZeroBox(a) &&
-        !isZeroBox(b) &&
-        (!axisIsEqual(a.x, b.x) || !axisIsEqual(a.y, b.y)));
-}
-var zeroAxis = { min: 0, max: 0 };
-function isZeroBox(a) {
-    return axisIsEqual(a.x, zeroAxis) && axisIsEqual(a.y, zeroAxis);
-}
-function axisIsEqual(a, b) {
-    return a.min === b.min && a.max === b.max;
-}
-var defaultLayoutTransition = {
-    duration: 0.45,
-    ease: [0.4, 0, 0.1, 1],
-};
-function isProvidedCorrectDataForRelativeSharedLayout(prevParent, originBox, targetBox) {
-    return prevParent || (!prevParent && !(originBox || targetBox));
-}
+Based off glamor's StyleSheet, thanks Sunil ❤️

+high performance StyleSheet for css-in-js systems

+- uses multiple style tags behind the scenes for millions of rules
+- uses `insertRule` for appending in production for *much* faster performance

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimateSharedLayout/utils/batcher.js
+// usage

+import { StyleSheet } from '@emotion/sheet'

+let styleSheet = new StyleSheet({ key: '', container: document.head })

+styleSheet.insert('#box { border: 1px solid red; }')
+- appends a css rule into the stylesheet

+styleSheet.flush()
+- empties the stylesheet of all its contents

+*/
+// $FlowFixMe
+function sheetForTag(tag) {
+  if (tag.sheet) {
+    // $FlowFixMe
+    return tag.sheet;
+  } // this weirdness brought to you by firefox

+  /* istanbul ignore next */

-/**
- * Default handlers for batching VisualElements
- */
-var defaultHandler = {
-    layoutReady: function (child) { return child.notifyLayoutReady(); },
-};
-/**
- * Create a batcher to process VisualElements
- */
-function createBatcher() {
-    var queue = new Set();
-    return {
-        add: function (child) { return queue.add(child); },
-        flush: function (_a) {
-            var _b = _a === void 0 ? defaultHandler : _a, layoutReady = _b.layoutReady, parent = _b.parent;
-            batchLayout(function (read, write) {
-                var order = Array.from(queue).sort(compareByDepth);
-                var ancestors = parent
-                    ? collectProjectingAncestors(parent)
-                    : [];
-                write(function () {
-                    var allElements = __spreadArray(__spreadArray([], __read(ancestors)), __read(order));
-                    allElements.forEach(function (element) { return element.resetTransform(); });
-                });
-                read(function () {
-                    order.forEach(updateLayoutMeasurement);
-                });
-                write(function () {
-                    ancestors.forEach(function (element) { return element.restoreTransform(); });
-                    order.forEach(layoutReady);
-                });
-                read(function () {
-                    /**
-                     * After all children have started animating, ensure any Entering components are set to Present.
-                     * If we add deferred animations (set up all animations and then start them in two loops) this
-                     * could be moved to the start loop. But it needs to happen after all the animations configs
-                     * are generated in AnimateSharedLayout as this relies on presence data
-                     */
-                    order.forEach(function (child) {
-                        if (child.isPresent)
-                            child.presence = Presence.Present;
-                    });
-                });
-                write(function () {
-                    /**
-                     * Starting these animations will have queued jobs on the frame loop. In some situations,
-                     * like when removing an element, these will be processed too late after the DOM is manipulated,
-                     * leaving a flash of incorrectly-projected content. By manually flushing these jobs
-                     * we ensure there's no flash.
-                     */
-                    flushSync.preRender();
-                    flushSync.render();
-                });
-                read(function () {
-                    /**
-                     * Schedule a callback at the end of the following frame to assign the latest projection
-                     * box to the prevViewportBox snapshot. Once global batching is in place this could be run
-                     * synchronously. But for now it ensures that if any nested `AnimateSharedLayout` top-level
-                     * child attempts to calculate its previous relative position against a prevViewportBox
-                     * it will be against its latest projection box instead, as the snapshot is useless beyond this
-                     * render.
-                     */
-                    dist_es.postRender(function () {
-                        return order.forEach(assignProjectionToSnapshot);
-                    });
-                    queue.clear();
-                });
-            });
-            // TODO: Need to find a layout-synchronous way of flushing this
-            flushLayout();
-        },
-    };
-}
-function assignProjectionToSnapshot(child) {
-    child.prevViewportBox = child.projection.target;
-}

+  for (var i = 0; i < document.styleSheets.length; i++) {
+    if (document.styleSheets[i].ownerNode === tag) {
+      // $FlowFixMe
+      return document.styleSheets[i];
+    }
+  }
+}

+function createStyleElement(options) {
+  var tag = document.createElement('style');
+  tag.setAttribute('data-emotion', options.key);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/SharedLayoutContext.js
+  if (options.nonce !== undefined) {
+    tag.setAttribute('nonce', options.nonce);
+  }

+  tag.appendChild(document.createTextNode(''));
+  tag.setAttribute('data-s', '');
+  return tag;
+}

+var emotion_sheet_browser_esm_StyleSheet = /*#__PURE__*/function () {
+  function StyleSheet(options) {
+    var _this = this;

-var SharedLayoutContext = Object(external_React_["createContext"])(createBatcher());
-/**
- * @internal
- */
-var FramerTreeLayoutContext = Object(external_React_["createContext"])(createBatcher());
-function isSharedLayout(context) {
-    return !!context.forceUpdate;
-}
+    this._insertTag = function (tag) {
+      var before;

+      if (_this.tags.length === 0) {
+        if (_this.insertionPoint) {
+          before = _this.insertionPoint.nextSibling;
+        } else if (_this.prepend) {
+          before = _this.container.firstChild;
+        } else {
+          before = _this.before;
+        }
+      } else {
+        before = _this.tags[_this.tags.length - 1].nextSibling;
+      }

+      _this.container.insertBefore(tag, before);

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/layout/Measure.js
+      _this.tags.push(tag);
+    };

+    this.isSpeedy = options.speedy === undefined ? "production" === 'production' : options.speedy;
+    this.tags = [];
+    this.ctr = 0;
+    this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets

+    this.key = options.key;
+    this.container = options.container;
+    this.prepend = options.prepend;
+    this.insertionPoint = options.insertionPoint;
+    this.before = null;
+  }

+  var _proto = StyleSheet.prototype;

+  _proto.hydrate = function hydrate(nodes) {
+    nodes.forEach(this._insertTag);
+  };

-/**
- * This component is responsible for scheduling the measuring of the motion component
- */
-var Measure_Measure = /** @class */ (function (_super) {
-    __extends(Measure, _super);
-    function Measure() {
-        return _super !== null && _super.apply(this, arguments) || this;
+  _proto.insert = function insert(rule) {
+    // the max length is how many rules we have per style tag, it's 65000 in speedy mode
+    // it's 1 in dev because we insert source maps that map a single rule to a location
+    // and you can only have one source map per style tag
+    if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
+      this._insertTag(createStyleElement(this));
     }
-    /**
-     * If this is a child of a SyncContext, register the VisualElement with it on mount.
-     */
-    Measure.prototype.componentDidMount = function () {
-        var _a = this.props, syncLayout = _a.syncLayout, framerSyncLayout = _a.framerSyncLayout, visualElement = _a.visualElement;
-        isSharedLayout(syncLayout) && syncLayout.register(visualElement);
-        isSharedLayout(framerSyncLayout) &&
-            framerSyncLayout.register(visualElement);
-        visualElement.onUnmount(function () {
-            if (isSharedLayout(syncLayout)) {
-                syncLayout.remove(visualElement);
-            }
-            if (isSharedLayout(framerSyncLayout)) {
-                framerSyncLayout.remove(visualElement);
-            }
-        });
-    };
-    /**
-     * If this is a child of a SyncContext, notify it that it needs to re-render. It will then
-     * handle the snapshotting.
-     *
-     * If it is stand-alone component, add it to the batcher.
-     */
-    Measure.prototype.getSnapshotBeforeUpdate = function () {
-        var _a = this.props, syncLayout = _a.syncLayout, visualElement = _a.visualElement;
-        if (isSharedLayout(syncLayout)) {
-            syncLayout.syncUpdate();
-        }
-        else {
-            snapshotViewportBox(visualElement);
-            syncLayout.add(visualElement);
-        }
-        return null;
-    };
-    Measure.prototype.componentDidUpdate = function () {
-        var syncLayout = this.props.syncLayout;
-        if (!isSharedLayout(syncLayout))
-            syncLayout.flush();
-    };
-    Measure.prototype.render = function () {
-        return null;
-    };
-    return Measure;
-}(external_React_default.a.Component));
-function MeasureContextProvider(props) {
-    var syncLayout = Object(external_React_["useContext"])(SharedLayoutContext);
-    var framerSyncLayout = Object(external_React_["useContext"])(FramerTreeLayoutContext);
-    return (external_React_default.a.createElement(Measure_Measure, __assign({}, props, { syncLayout: syncLayout, framerSyncLayout: framerSyncLayout })));
-}
-

+    var tag = this.tags[this.tags.length - 1];

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/layout/index.js
+    if (false) { var isImportRule; }

+    if (this.isSpeedy) {
+      var sheet = sheetForTag(tag);

+      try {
+        // this is the ultrafast version, works across browsers
+        // the big drawback is that the css won't be editable in devtools
+        sheet.insertRule(rule, sheet.cssRules.length);
+      } catch (e) {
+        if (false) {}
+      }
+    } else {
+      tag.appendChild(document.createTextNode(rule));
+    }

-var layoutAnimations = {
-    measureLayout: MeasureContextProvider,
-    layoutAnimation: AnimateLayoutContextProvider,
-};
+    this.ctr++;
+  };

+  _proto.flush = function flush() {
+    // $FlowFixMe
+    this.tags.forEach(function (tag) {
+      return tag.parentNode && tag.parentNode.removeChild(tag);
+    });
+    this.tags = [];
+    this.ctr = 0;

+    if (false) {}
+  };

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/state.js
+  return StyleSheet;
+}();


-var createProjectionState = function () { return ({
-    isEnabled: false,
-    isHydrated: false,
-    isTargetLocked: false,
-    target: axisBox(),
-    targetFinal: axisBox(),
-}); };
-function createLayoutState() {
-    return {
-        isHydrated: false,
-        layout: axisBox(),
-        layoutCorrected: axisBox(),
-        treeScale: { x: 1, y: 1 },
-        delta: geometry_delta(),
-        deltaFinal: geometry_delta(),
-        deltaTransform: "",
-    };
-}
-var zeroLayout = createLayoutState();

+;// CONCATENATED MODULE: ./node_modules/stylis/src/Utility.js
+/**
+ * @param {number}
+ * @return {number}
+ */
+var abs = Math.abs

+/**
+ * @param {number}
+ * @return {string}
+ */
+var Utility_from = String.fromCharCode

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/build-projection-transform.js
+/**
+ * @param {object}
+ * @return {object}
+ */
+var Utility_assign = Object.assign

+/**
+ * @param {string} value
+ * @param {number} length
+ * @return {number}
+ */
+function hash (value, length) {
+	return (((((((length << 2) ^ Utility_charat(value, 0)) << 2) ^ Utility_charat(value, 1)) << 2) ^ Utility_charat(value, 2)) << 2) ^ Utility_charat(value, 3)
+}

 /**
- * Build a transform style that takes a calculated delta between the element's current
- * space on screen and projects it into the desired space.
+ * @param {string} value
+ * @return {string}
  */
-function buildLayoutProjectionTransform(_a, treeScale, latestTransform) {
-    var x = _a.x, y = _a.y;
-    /**
-     * The translations we use to calculate are always relative to the viewport coordinate space.
-     * But when we apply scales, we also scale the coordinate space of an element and its children.
-     * For instance if we have a treeScale (the culmination of all parent scales) of 0.5 and we need
-     * to move an element 100 pixels, we actually need to move it 200 in within that scaled space.
-     */
-    var xTranslate = x.translate / treeScale.x;
-    var yTranslate = y.translate / treeScale.y;
-    var transform = "translate3d(" + xTranslate + "px, " + yTranslate + "px, 0) ";
-    if (latestTransform) {
-        var rotate = latestTransform.rotate, rotateX = latestTransform.rotateX, rotateY = latestTransform.rotateY;
-        if (rotate)
-            transform += "rotate(" + rotate + ") ";
-        if (rotateX)
-            transform += "rotateX(" + rotateX + ") ";
-        if (rotateY)
-            transform += "rotateY(" + rotateY + ") ";
-    }
-    transform += "scale(" + x.scale + ", " + y.scale + ")";
-    return !latestTransform && transform === identityProjection ? "" : transform;
+function trim (value) {
+	return value.trim()
 }
+
 /**
- * Take the calculated delta origin and apply it as a transform string.
+ * @param {string} value
+ * @param {RegExp} pattern
+ * @return {string?}
  */
-function buildLayoutProjectionTransformOrigin(_a) {
-    var deltaFinal = _a.deltaFinal;
-    return deltaFinal.x.origin * 100 + "% " + deltaFinal.y.origin * 100 + "% 0";
+function match (value, pattern) {
+	return (value = pattern.exec(value)) ? value[0] : value
 }
-var identityProjection = buildLayoutProjectionTransform(zeroLayout.delta, zeroLayout.treeScale, { x: 1, y: 1 });

+/**
+ * @param {string} value
+ * @param {(string|RegExp)} pattern
+ * @param {string} replacement
+ * @return {string}
+ */
+function replace (value, pattern, replacement) {
+	return value.replace(pattern, replacement)
+}

+/**
+ * @param {string} value
+ * @param {string} search
+ * @return {number}
+ */
+function indexof (value, search) {
+	return value.indexOf(search)
+}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/lifecycles.js
+/**
+ * @param {string} value
+ * @param {number} index
+ * @return {number}
+ */
+function Utility_charat (value, index) {
+	return value.charCodeAt(index) | 0
+}

+/**
+ * @param {string} value
+ * @param {number} begin
+ * @param {number} end
+ * @return {string}
+ */
+function Utility_substr (value, begin, end) {
+	return value.slice(begin, end)
+}

+/**
+ * @param {string} value
+ * @return {number}
+ */
+function Utility_strlen (value) {
+	return value.length
+}

-var lifecycles_names = [
-    "LayoutMeasure",
-    "BeforeLayoutMeasure",
-    "LayoutUpdate",
-    "ViewportBoxUpdate",
-    "Update",
-    "Render",
-    "AnimationComplete",
-    "LayoutAnimationComplete",
-    "AnimationStart",
-    "SetAxisTarget",
-    "Unmount",
-];
-function createLifecycles() {
-    var managers = lifecycles_names.map(function () { return new subscription_manager_SubscriptionManager(); });
-    var propSubscriptions = {};
-    var lifecycles = {
-        clearAllListeners: function () { return managers.forEach(function (manager) { return manager.clear(); }); },
-        updatePropListeners: function (props) {
-            return lifecycles_names.forEach(function (name) {
-                var _a;
-                (_a = propSubscriptions[name]) === null || _a === void 0 ? void 0 : _a.call(propSubscriptions);
-                var on = "on" + name;
-                var propListener = props[on];
-                if (propListener) {
-                    propSubscriptions[name] = lifecycles[on](propListener);
-                }
-            });
-        },
-    };
-    managers.forEach(function (manager, i) {
-        lifecycles["on" + lifecycles_names[i]] = function (handler) { return manager.add(handler); };
-        lifecycles["notify" + lifecycles_names[i]] = function () {
-            var args = [];
-            for (var _i = 0; _i < arguments.length; _i++) {
-                args[_i] = arguments[_i];
-            }
-            return manager.notify.apply(manager, __spreadArray([], __read(args)));
-        };
-    });
-    return lifecycles;
+/**
+ * @param {any[]} value
+ * @return {number}
+ */
+function Utility_sizeof (value) {
+	return value.length
 }

+/**
+ * @param {any} value
+ * @param {any[]} array
+ * @return {any}
+ */
+function Utility_append (value, array) {
+	return array.push(value), value
+}

+/**
+ * @param {string[]} array
+ * @param {function} callback
+ * @return {string}
+ */
+function Utility_combine (array, callback) {
+	return array.map(callback).join('')
+}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/motion-values.js
+;// CONCATENATED MODULE: ./node_modules/stylis/src/Tokenizer.js


+var line = 1
+var column = 1
+var Tokenizer_length = 0
+var position = 0
+var character = 0
+var characters = ''

-function updateMotionValuesFromProps(element, next, prev) {
-    var _a;
-    for (var key in next) {
-        var nextValue = next[key];
-        var prevValue = prev[key];
-        if (isMotionValue(nextValue)) {
-            /**
-             * If this is a motion value found in props or style, we want to add it
-             * to our visual element's motion value map.
-             */
-            element.addValue(key, nextValue);
-        }
-        else if (isMotionValue(prevValue)) {
-            /**
-             * If we're swapping to a new motion value, create a new motion value
-             * from that
-             */
-            element.addValue(key, motionValue(nextValue));
-        }
-        else if (prevValue !== nextValue) {
-            /**
-             * If this is a flat value that has changed, update the motion value
-             * or create one if it doesn't exist. We only want to do this if we're
-             * not handling the value with our animation state.
-             */
-            if (element.hasValue(key)) {
-                var existingValue = element.getValue(key);
-                // TODO: Only update values that aren't being animated or even looked at
-                !existingValue.hasAnimated && existingValue.set(nextValue);
-            }
-            else {
-                element.addValue(key, motionValue((_a = element.getStaticValue(key)) !== null && _a !== void 0 ? _a : nextValue));
-            }
-        }
-    }
-    // Handle removed values
-    for (var key in prev) {
-        if (next[key] === undefined)
-            element.removeValue(key);
-    }
-    return next;
+/**
+ * @param {string} value
+ * @param {object | null} root
+ * @param {object | null} parent
+ * @param {string} type
+ * @param {string[] | string} props
+ * @param {object[] | string} children
+ * @param {number} length
+ */
+function node (value, root, parent, type, props, children, length) {
+	return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}
 }

+/**
+ * @param {object} root
+ * @param {object} props
+ * @return {object}
+ */
+function copy (root, props) {
+	return Utility_assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)
+}

+/**
+ * @return {number}
+ */
+function Tokenizer_char () {
+	return character
+}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/projection.js
+/**
+ * @return {number}
+ */
+function prev () {
+	character = position > 0 ? Utility_charat(characters, --position) : 0

+	if (column--, character === 10)
+		column = 1, line--

+	return character
+}

-function updateLayoutDeltas(_a, _b, treePath, transformOrigin) {
-    var delta = _a.delta, layout = _a.layout, layoutCorrected = _a.layoutCorrected, treeScale = _a.treeScale;
-    var target = _b.target;
-    /**
-     * Reset the corrected box with the latest values from box, as we're then going
-     * to perform mutative operations on it.
-     */
-    resetBox(layoutCorrected, layout);
-    /**
-     * Apply all the parent deltas to this box to produce the corrected box. This
-     * is the layout box, as it will appear on screen as a result of the transforms of its parents.
-     */
-    applyTreeDeltas(layoutCorrected, treeScale, treePath);
-    /**
-     * Update the delta between the corrected box and the target box before user-set transforms were applied.
-     * This will allow us to calculate the corrected borderRadius and boxShadow to compensate
-     * for our layout reprojection, but still allow them to be scaled correctly by the user.
-     * It might be that to simplify this we may want to accept that user-set scale is also corrected
-     * and we wouldn't have to keep and calc both deltas, OR we could support a user setting
-     * to allow people to choose whether these styles are corrected based on just the
-     * layout reprojection or the final bounding box.
-     */
-    updateBoxDelta(delta, layoutCorrected, target, transformOrigin);
+/**
+ * @return {number}
+ */
+function next () {
+	character = position < Tokenizer_length ? Utility_charat(characters, position++) : 0
+
+	if (column++, character === 10)
+		column = 1, line++
+
+	return character
 }

+/**
+ * @return {number}
+ */
+function peek () {
+	return Utility_charat(characters, position)
+}

+/**
+ * @return {number}
+ */
+function caret () {
+	return position
+}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/flat-tree.js
+/**
+ * @param {number} begin
+ * @param {number} end
+ * @return {string}
+ */
+function slice (begin, end) {
+	return Utility_substr(characters, begin, end)
+}

+/**
+ * @param {number} type
+ * @return {number}
+ */
+function token (type) {
+	switch (type) {
+		// \0 \t \n \r \s whitespace token
+		case 0: case 9: case 10: case 13: case 32:
+			return 5
+		// ! + , / > @ ~ isolate token
+		case 33: case 43: case 44: case 47: case 62: case 64: case 126:
+		// ; { } breakpoint token
+		case 59: case 123: case 125:
+			return 4
+		// : accompanied token
+		case 58:
+			return 3
+		// " ' ( [ opening delimit token
+		case 34: case 39: case 40: case 91:
+			return 2
+		// ) ] closing delimit token
+		case 41: case 93:
+			return 1
+	}

+	return 0
+}

-var flat_tree_FlatTree = /** @class */ (function () {
-    function FlatTree() {
-        this.children = [];
-        this.isDirty = false;
-    }
-    FlatTree.prototype.add = function (child) {
-        addUniqueItem(this.children, child);
-        this.isDirty = true;
-    };
-    FlatTree.prototype.remove = function (child) {
-        array_removeItem(this.children, child);
-        this.isDirty = true;
-    };
-    FlatTree.prototype.forEach = function (callback) {
-        this.isDirty && this.children.sort(compareByDepth);
-        this.isDirty = false;
-        this.children.forEach(callback);
-    };
-    return FlatTree;
-}());
+/**
+ * @param {string} value
+ * @return {any[]}
+ */
+function alloc (value) {
+	return line = column = 1, Tokenizer_length = Utility_strlen(characters = value), position = 0, []
+}

+/**
+ * @param {any} value
+ * @return {any}
+ */
+function dealloc (value) {
+	return characters = '', value
+}

+/**
+ * @param {number} type
+ * @return {string}
+ */
+function delimit (type) {
+	return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
+}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/relative-set.js
+/**
+ * @param {string} value
+ * @return {string[]}
+ */
+function Tokenizer_tokenize (value) {
+	return dealloc(tokenizer(alloc(value)))
+}

+/**
+ * @param {number} type
+ * @return {string}
+ */
+function whitespace (type) {
+	while (character = peek())
+		if (character < 33)
+			next()
+		else
+			break

+	return token(type) > 2 || token(character) > 3 ? '' : ' '
+}

-function setCurrentViewportBox(visualElement) {
-    var projectionParent = visualElement.getProjectionParent();
-    if (!projectionParent) {
-        visualElement.rebaseProjectionTarget();
-        return;
-    }
-    var relativeOffset = calcRelativeOffset(projectionParent.getLayoutState().layout, visualElement.getLayoutState().layout);
-    eachAxis(function (axis) {
-        visualElement.setProjectionTargetAxis(axis, relativeOffset[axis].min, relativeOffset[axis].max, true);
-    });
+/**
+ * @param {string[]} children
+ * @return {string[]}
+ */
+function tokenizer (children) {
+	while (next())
+		switch (token(character)) {
+			case 0: append(identifier(position - 1), children)
+				break
+			case 2: append(delimit(character), children)
+				break
+			default: append(from(character), children)
+		}
+
+	return children
 }

+/**
+ * @param {number} index
+ * @param {number} count
+ * @return {string}
+ */
+function escaping (index, count) {
+	while (--count && next())
+		// not 0-9 A-F a-f
+		if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))
+			break

+	return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))
+}

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/index.js
+/**
+ * @param {number} type
+ * @return {number}
+ */
+function delimiter (type) {
+	while (next())
+		switch (character) {
+			// ] ) " '
+			case type:
+				return position
+			// " '
+			case 34: case 39:
+				if (type !== 34 && type !== 39)
+					delimiter(character)
+				break
+			// (
+			case 40:
+				if (type === 41)
+					delimiter(type)
+				break
+			// \
+			case 92:
+				next()
+				break
+		}

+	return position
+}

+/**
+ * @param {number} type
+ * @param {number} index
+ * @return {number}
+ */
+function commenter (type, index) {
+	while (next())
+		// //
+		if (type + character === 47 + 10)
+			break
+		// /*
+		else if (type + character === 42 + 42 && peek() === 47)
+			break

+	return '/*' + slice(index, position - 1) + '*' + Utility_from(type === 47 ? type : next())
+}

+/**
+ * @param {number} index
+ * @return {string}
+ */
+function identifier (index) {
+	while (!token(peek()))
+		next()

+	return slice(index, position)
+}

+;// CONCATENATED MODULE: ./node_modules/stylis/src/Enum.js
+var MS = '-ms-'
+var MOZ = '-moz-'
+var WEBKIT = '-webkit-'

+var COMMENT = 'comm'
+var Enum_RULESET = 'rule'
+var DECLARATION = 'decl'

+var PAGE = '@page'
+var MEDIA = '@media'
+var IMPORT = '@import'
+var CHARSET = '@charset'
+var VIEWPORT = '@viewport'
+var SUPPORTS = '@supports'
+var DOCUMENT = '@document'
+var NAMESPACE = '@namespace'
+var KEYFRAMES = '@keyframes'
+var FONT_FACE = '@font-face'
+var COUNTER_STYLE = '@counter-style'
+var FONT_FEATURE_VALUES = '@font-feature-values'

+;// CONCATENATED MODULE: ./node_modules/stylis/src/Serializer.js



+/**
+ * @param {object[]} children
+ * @param {function} callback
+ * @return {string}
+ */
+function serialize (children, callback) {
+	var output = ''
+	var length = Utility_sizeof(children)

+	for (var i = 0; i < length; i++)
+		output += callback(children[i], i, children, callback) || ''

+	return output
+}

+/**
+ * @param {object} element
+ * @param {number} index
+ * @param {object[]} children
+ * @param {function} callback
+ * @return {string}
+ */
+function stringify (element, index, children, callback) {
+	switch (element.type) {
+		case IMPORT: case DECLARATION: return element.return = element.return || element.value
+		case COMMENT: return ''
+		case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
+		case Enum_RULESET: element.value = element.props.join(',')
+	}

+	return Utility_strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
+}
+
+;// CONCATENATED MODULE: ./node_modules/stylis/src/Prefixer.js
+
+
+
+/**
+ * @param {string} value
+ * @param {number} length
+ * @return {string}
+ */
+function prefix (value, length) {
+	switch (hash(value, length)) {
+		// color-adjust
+		case 5103:
+			return WEBKIT + 'print-' + value + value
+		// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
+		case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:
+		// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
+		case 5572: case 6356: case 5844: case 3191: case 6645: case 3005:
+		// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
+		case 6391: case 5879: case 5623: case 6135: case 4599: case 4855:
+		// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
+		case 4215: case 6389: case 5109: case 5365: case 5621: case 3829:
+			return WEBKIT + value + value
+		// appearance, user-select, transform, hyphens, text-size-adjust
+		case 5349: case 4246: case 4810: case 6968: case 2756:
+			return WEBKIT + value + MOZ + value + MS + value + value
+		// flex, flex-direction
+		case 6828: case 4268:
+			return WEBKIT + value + MS + value + value
+		// order
+		case 6165:
+			return WEBKIT + value + MS + 'flex-' + value + value
+		// align-items
+		case 5187:
+			return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value
+		// align-self
+		case 5443:
+			return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value
+		// align-content
+		case 4675:
+			return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value
+		// flex-shrink
+		case 5548:
+			return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value
+		// flex-basis
+		case 5292:
+			return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value
+		// flex-grow
+		case 6060:
+			return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value
+		// transition
+		case 4554:
+			return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value
+		// cursor
+		case 6187:
+			return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value
+		// background, background-image
+		case 5495: case 3959:
+			return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1')
+		// justify-content
+		case 4968:
+			return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value
+		// (margin|padding)-inline-(start|end)
+		case 4095: case 3583: case 4068: case 2532:
+			return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value
+		// (min|max)?(width|height|inline-size|block-size)
+		case 8116: case 7059: case 5753: case 5535:
+		case 5445: case 5701: case 4933: case 4677:
+		case 5533: case 5789: case 5021: case 4765:
+			// stretch, max-content, min-content, fill-available
+			if (Utility_strlen(value) - 1 - length > 6)
+				switch (Utility_charat(value, length + 1)) {
+					// (m)ax-content, (m)in-content
+					case 109:
+						// -
+						if (Utility_charat(value, length + 4) !== 45)
+							break
+					// (f)ill-available, (f)it-content
+					case 102:
+						return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (Utility_charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value
+					// (s)tretch
+					case 115:
+						return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value
+				}
+			break
+		// position: sticky
+		case 4949:
+			// (s)ticky?
+			if (Utility_charat(value, length + 1) !== 115)
+				break
+		// display: (flex|inline-flex)
+		case 6444:
+			switch (Utility_charat(value, Utility_strlen(value) - 3 - (~indexof(value, '!important') && 10))) {
+				// stic(k)y
+				case 107:
+					return replace(value, ':', ':' + WEBKIT) + value
+				// (inline-)?fl(e)x
+				case 101:
+					return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (Utility_charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value
+			}
+			break
+		// writing-mode
+		case 5936:
+			switch (Utility_charat(value, length + 11)) {
+				// vertical-l(r)
+				case 114:
+					return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value
+				// vertical-r(l)
+				case 108:
+					return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value
+				// horizontal(-)tb
+				case 45:
+					return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value
+			}

+			return WEBKIT + value + MS + value + value
+	}

+	return value
+}

+;// CONCATENATED MODULE: ./node_modules/stylis/src/Middleware.js


-var render_visualElement = function (_a) {
-    var _b = _a.treeType, treeType = _b === void 0 ? "" : _b, build = _a.build, getBaseTarget = _a.getBaseTarget, makeTargetAnimatable = _a.makeTargetAnimatable, measureViewportBox = _a.measureViewportBox, renderInstance = _a.render, readValueFromInstance = _a.readValueFromInstance, resetTransform = _a.resetTransform, restoreTransform = _a.restoreTransform, removeValueFromRenderState = _a.removeValueFromRenderState, sortNodePosition = _a.sortNodePosition, scrapeMotionValuesFromProps = _a.scrapeMotionValuesFromProps;
-    return function (_a, options) {
-        var parent = _a.parent, props = _a.props, presenceId = _a.presenceId, blockInitialAnimation = _a.blockInitialAnimation, visualState = _a.visualState;
-        if (options === void 0) { options = {}; }
-        var latestValues = visualState.latestValues, renderState = visualState.renderState;
-        /**
-         * The instance of the render-specific node that will be hydrated by the
-         * exposed React ref. So for example, this visual element can host a
-         * HTMLElement, plain object, or Three.js object. The functions provided
-         * in VisualElementConfig allow us to interface with this instance.
-         */
-        var instance;
-        /**
-         * Manages the subscriptions for a visual element's lifecycle, for instance
-         * onRender and onViewportBoxUpdate.
-         */
-        var lifecycles = createLifecycles();
-        /**
-         *
-         */
-        var projection = createProjectionState();
-        /**
-         * A reference to the nearest projecting parent. This is either
-         * undefined if we haven't looked for the nearest projecting parent,
-         * false if there is no parent performing layout projection, or a reference
-         * to the projecting parent.
-         */
-        var projectionParent;
-        /**
-         * This is a reference to the visual state of the "lead" visual element.
-         * Usually, this will be this visual element. But if it shares a layoutId
-         * with other visual elements, only one of them will be designated lead by
-         * AnimateSharedLayout. All the other visual elements will take on the visual
-         * appearance of the lead while they crossfade to it.
-         */
-        var leadProjection = projection;
-        var leadLatestValues = latestValues;
-        var unsubscribeFromLeadVisualElement;
-        /**
-         * The latest layout measurements and calculated projections. This
-         * is seperate from the target projection data in visualState as
-         * many visual elements might point to the same piece of visualState as
-         * a target, whereas they might each have different layouts and thus
-         * projection calculations needed to project into the same viewport box.
-         */
-        var layoutState = createLayoutState();
-        /**
-         *
-         */
-        var crossfader;
-        /**
-         * Keep track of whether the viewport box has been updated since the
-         * last time the layout projection was re-calculated.
-         */
-        var hasViewportBoxUpdated = false;
-        /**
-         * A map of all motion values attached to this visual element. Motion
-         * values are source of truth for any given animated value. A motion
-         * value might be provided externally by the component via props.
-         */
-        var values = new Map();
-        /**
-         * A map of every subscription that binds the provided or generated
-         * motion values onChange listeners to this visual element.
-         */
-        var valueSubscriptions = new Map();
-        /**
-         * A reference to the previously-provided motion values as returned
-         * from scrapeMotionValuesFromProps. We use the keys in here to determine
-         * if any motion values need to be removed after props are updated.
-         */
-        var prevMotionValues = {};
-        /**
-         * x/y motion values that track the progress of initiated layout
-         * animations.
-         *
-         * TODO: Target for removal
-         */
-        var projectionTargetProgress;
-        /**
-         * When values are removed from all animation props we need to search
-         * for a fallback value to animate to. These values are tracked in baseTarget.
-         */
-        var baseTarget = __assign({}, latestValues);
-        // Internal methods ========================
-        /**
-         * On mount, this will be hydrated with a callback to disconnect
-         * this visual element from its parent on unmount.
-         */
-        var removeFromVariantTree;
-        /**
-         *
-         */
-        function render() {
-            if (!instance)
-                return;
-            if (element.isProjectionReady()) {
-                /**
-                 * Apply the latest user-set transforms to the targetBox to produce the targetBoxFinal.
-                 * This is the final box that we will then project into by calculating a transform delta and
-                 * applying it to the corrected box.
-                 */
-                applyBoxTransforms(leadProjection.targetFinal, leadProjection.target, leadLatestValues);
-                /**
-                 * Update the delta between the corrected box and the final target box, after
-                 * user-set transforms are applied to it. This will be used by the renderer to
-                 * create a transform style that will reproject the element from its actual layout
-                 * into the desired bounding box.
-                 */
-                updateBoxDelta(layoutState.deltaFinal, layoutState.layoutCorrected, leadProjection.targetFinal, latestValues);
-            }
-            triggerBuild();
-            renderInstance(instance, renderState);
-        }
-        function triggerBuild() {
-            var valuesToRender = latestValues;
-            if (crossfader && crossfader.isActive()) {
-                var crossfadedValues = crossfader.getCrossfadeState(element);
-                if (crossfadedValues)
-                    valuesToRender = crossfadedValues;
-            }
-            build(element, renderState, valuesToRender, leadProjection, layoutState, options, props);
-        }
-        function update() {
-            lifecycles.notifyUpdate(latestValues);
-        }
-        function updateLayoutProjection() {
-            if (!element.isProjectionReady())
-                return;
-            var delta = layoutState.delta, treeScale = layoutState.treeScale;
-            var prevTreeScaleX = treeScale.x;
-            var prevTreeScaleY = treeScale.y;
-            var prevDeltaTransform = layoutState.deltaTransform;
-            updateLayoutDeltas(layoutState, leadProjection, element.path, latestValues);
-            hasViewportBoxUpdated &&
-                element.notifyViewportBoxUpdate(leadProjection.target, delta);
-            hasViewportBoxUpdated = false;
-            var deltaTransform = buildLayoutProjectionTransform(delta, treeScale);
-            if (deltaTransform !== prevDeltaTransform ||
-                // Also compare calculated treeScale, for values that rely on this only for scale correction
-                prevTreeScaleX !== treeScale.x ||
-                prevTreeScaleY !== treeScale.y) {
-                element.scheduleRender();
-            }
-            layoutState.deltaTransform = deltaTransform;
-        }
-        function updateTreeLayoutProjection() {
-            element.layoutTree.forEach(fireUpdateLayoutProjection);
+
+
+
+
+/**
+ * @param {function[]} collection
+ * @return {function}
+ */
+function middleware (collection) {
+	var length = Utility_sizeof(collection)
+
+	return function (element, index, children, callback) {
+		var output = ''
+
+		for (var i = 0; i < length; i++)
+			output += collection[i](element, index, children, callback) || ''
+
+		return output
+	}
+}
+
+/**
+ * @param {function} callback
+ * @return {function}
+ */
+function rulesheet (callback) {
+	return function (element) {
+		if (!element.root)
+			if (element = element.return)
+				callback(element)
+	}
+}
+
+/**
+ * @param {object} element
+ * @param {number} index
+ * @param {object[]} children
+ * @param {function} callback
+ */
+function prefixer (element, index, children, callback) {
+	if (element.length > -1)
+		if (!element.return)
+			switch (element.type) {
+				case DECLARATION: element.return = prefix(element.value, element.length)
+					break
+				case KEYFRAMES:
+					return serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)
+				case Enum_RULESET:
+					if (element.length)
+						return Utility_combine(element.props, function (value) {
+							switch (match(value, /(::plac\w+|:read-\w+)/)) {
+								// :read-(only|write)
+								case ':read-only': case ':read-write':
+									return serialize([copy(element, {props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]})], callback)
+								// :placeholder
+								case '::placeholder':
+									return serialize([
+										copy(element, {props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]}),
+										copy(element, {props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]}),
+										copy(element, {props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]})
+									], callback)
+							}
+
+							return ''
+						})
+			}
+}
+
+/**
+ * @param {object} element
+ * @param {number} index
+ * @param {object[]} children
+ */
+function namespace (element) {
+	switch (element.type) {
+		case RULESET:
+			element.props = element.props.map(function (value) {
+				return combine(tokenize(value), function (value, index, children) {
+					switch (charat(value, 0)) {
+						// \f
+						case 12:
+							return substr(value, 1, strlen(value))
+						// \0 ( + > ~
+						case 0: case 40: case 43: case 62: case 126:
+							return value
+						// :
+						case 58:
+							if (children[++index] === 'global')
+								children[index] = '', children[++index] = '\f' + substr(children[index], index = 1, -1)
+						// \s
+						case 32:
+							return index === 1 ? '' : value
+						default:
+							switch (index) {
+								case 0: element = value
+									return sizeof(children) > 1 ? '' : value
+								case index = sizeof(children) - 1: case 2:
+									return index === 2 ? value + element + element : value + element
+								default:
+									return value
+							}
+					}
+				})
+			})
+	}
+}
+
+;// CONCATENATED MODULE: ./node_modules/stylis/src/Parser.js
+
+
+
+
+/**
+ * @param {string} value
+ * @return {object[]}
+ */
+function compile (value) {
+	return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))
+}
+
+/**
+ * @param {string} value
+ * @param {object} root
+ * @param {object?} parent
+ * @param {string[]} rule
+ * @param {string[]} rules
+ * @param {string[]} rulesets
+ * @param {number[]} pseudo
+ * @param {number[]} points
+ * @param {string[]} declarations
+ * @return {object}
+ */
+function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
+	var index = 0
+	var offset = 0
+	var length = pseudo
+	var atrule = 0
+	var property = 0
+	var previous = 0
+	var variable = 1
+	var scanning = 1
+	var ampersand = 1
+	var character = 0
+	var type = ''
+	var props = rules
+	var children = rulesets
+	var reference = rule
+	var characters = type
+
+	while (scanning)
+		switch (previous = character, character = next()) {
+			// (
+			case 40:
+				if (previous != 108 && characters.charCodeAt(length - 1) == 58) {
+					if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1)
+						ampersand = -1
+					break
+				}
+			// " ' [
+			case 34: case 39: case 91:
+				characters += delimit(character)
+				break
+			// \t \n \r \s
+			case 9: case 10: case 13: case 32:
+				characters += whitespace(previous)
+				break
+			// \
+			case 92:
+				characters += escaping(caret() - 1, 7)
+				continue
+			// /
+			case 47:
+				switch (peek()) {
+					case 42: case 47:
+						Utility_append(comment(commenter(next(), caret()), root, parent), declarations)
+						break
+					default:
+						characters += '/'
+				}
+				break
+			// {
+			case 123 * variable:
+				points[index++] = Utility_strlen(characters) * ampersand
+			// } ; \0
+			case 125 * variable: case 59: case 0:
+				switch (character) {
+					// \0 }
+					case 0: case 125: scanning = 0
+					// ;
+					case 59 + offset:
+						if (property > 0 && (Utility_strlen(characters) - length))
+							Utility_append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)
+						break
+					// @ ;
+					case 59: characters += ';'
+					// { rule/at-rule
+					default:
+						Utility_append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)
+
+						if (character === 123)
+							if (offset === 0)
+								parse(characters, root, reference, reference, props, rulesets, length, points, children)
+							else
+								switch (atrule) {
+									// d m s
+									case 100: case 109: case 115:
+										parse(value, reference, reference, rule && Utility_append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)
+										break
+									default:
+										parse(characters, reference, reference, reference, [''], children, 0, points, children)
+								}
+				}
+
+				index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo
+				break
+			// :
+			case 58:
+				length = 1 + Utility_strlen(characters), property = previous
+			default:
+				if (variable < 1)
+					if (character == 123)
+						--variable
+					else if (character == 125 && variable++ == 0 && prev() == 125)
+						continue
+
+				switch (characters += Utility_from(character), character * variable) {
+					// &
+					case 38:
+						ampersand = offset > 0 ? 1 : (characters += '\f', -1)
+						break
+					// ,
+					case 44:
+						points[index++] = (Utility_strlen(characters) - 1) * ampersand, ampersand = 1
+						break
+					// @
+					case 64:
+						// -
+						if (peek() === 45)
+							characters += delimit(next())
+
+						atrule = peek(), offset = length = Utility_strlen(type = characters += identifier(caret())), character++
+						break
+					// -
+					case 45:
+						if (previous === 45 && Utility_strlen(characters) == 2)
+							variable = 0
+				}
+		}
+
+	return rulesets
+}
+
+/**
+ * @param {string} value
+ * @param {object} root
+ * @param {object?} parent
+ * @param {number} index
+ * @param {number} offset
+ * @param {string[]} rules
+ * @param {number[]} points
+ * @param {string} type
+ * @param {string[]} props
+ * @param {string[]} children
+ * @param {number} length
+ * @return {object}
+ */
+function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {
+	var post = offset - 1
+	var rule = offset === 0 ? rules : ['']
+	var size = Utility_sizeof(rule)
+
+	for (var i = 0, j = 0, k = 0; i < index; ++i)
+		for (var x = 0, y = Utility_substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
+			if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x])))
+				props[k++] = z
+
+	return node(value, root, parent, offset === 0 ? Enum_RULESET : type, props, children, length)
+}
+
+/**
+ * @param {number} value
+ * @param {object} root
+ * @param {object?} parent
+ * @return {object}
+ */
+function comment (value, root, parent) {
+	return node(value, root, parent, COMMENT, Utility_from(Tokenizer_char()), Utility_substr(value, 2, -2), 0)
+}
+
+/**
+ * @param {string} value
+ * @param {object} root
+ * @param {object?} parent
+ * @param {number} length
+ * @return {object}
+ */
+function declaration (value, root, parent, length) {
+	return node(value, root, parent, DECLARATION, Utility_substr(value, 0, length), Utility_substr(value, length + 1, -1), length)
+}
+
+;// CONCATENATED MODULE: ./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
+
+
+
+
+
+var last = function last(arr) {
+  return arr.length ? arr[arr.length - 1] : null;
+}; // based on https://github.com/thysultan/stylis.js/blob/e6843c373ebcbbfade25ebcc23f540ed8508da0a/src/Tokenizer.js#L239-L244
+
+
+var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
+  var previous = 0;
+  var character = 0;
+
+  while (true) {
+    previous = character;
+    character = peek(); // &\f
+
+    if (previous === 38 && character === 12) {
+      points[index] = 1;
+    }
+
+    if (token(character)) {
+      break;
+    }
+
+    next();
+  }
+
+  return slice(begin, position);
+};
+
+var toRules = function toRules(parsed, points) {
+  // pretend we've started with a comma
+  var index = -1;
+  var character = 44;
+
+  do {
+    switch (token(character)) {
+      case 0:
+        // &\f
+        if (character === 38 && peek() === 12) {
+          // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
+          // stylis inserts \f after & to know when & where it should replace this sequence with the context selector
+          // and when it should just concatenate the outer and inner selectors
+          // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here
+          points[index] = 1;
         }
-        /**
-         *
-         */
-        function bindToMotionValue(key, value) {
-            var removeOnChange = value.onChange(function (latestValue) {
-                latestValues[key] = latestValue;
-                props.onUpdate && dist_es.update(update, false, true);
-            });
-            var removeOnRenderRequest = value.onRenderRequest(element.scheduleRender);
-            valueSubscriptions.set(key, function () {
-                removeOnChange();
-                removeOnRenderRequest();
-            });
+
+        parsed[index] += identifierWithPointTracking(position - 1, points, index);
+        break;
+
+      case 2:
+        parsed[index] += delimit(character);
+        break;
+
+      case 4:
+        // comma
+        if (character === 44) {
+          // colon
+          parsed[++index] = peek() === 58 ? '&\f' : '';
+          points[index] = parsed[index].length;
+          break;
         }
-        /**
-         * Any motion values that are provided to the element when created
-         * aren't yet bound to the element, as this would technically be impure.
-         * However, we iterate through the motion values and set them to the
-         * initial values for this component.
-         *
-         * TODO: This is impure and we should look at changing this to run on mount.
-         * Doing so will break some tests but this isn't neccessarily a breaking change,
-         * more a reflection of the test.
-         */
-        var initialMotionValues = scrapeMotionValuesFromProps(props);
-        for (var key in initialMotionValues) {
-            var value = initialMotionValues[key];
-            if (latestValues[key] !== undefined && isMotionValue(value)) {
-                value.set(latestValues[key], false);
-            }
-        }
-        /**
-         * Determine what role this visual element should take in the variant tree.
-         */
-        var isControllingVariants = checkIfControllingVariants(props);
-        var isVariantNode = checkIfVariantNode(props);
-        var element = __assign(__assign({ treeType: treeType,
-            /**
-             * This is a mirror of the internal instance prop, which keeps
-             * VisualElement type-compatible with React's RefObject.
-             */
-            current: null,
-            /**
-             * The depth of this visual element within the visual element tree.
-             */
-            depth: parent ? parent.depth + 1 : 0, parent: parent, children: new Set(),
-            /**
-             * An ancestor path back to the root visual element. This is used
-             * by layout projection to quickly recurse back up the tree.
-             */
-            path: parent ? __spreadArray(__spreadArray([], __read(parent.path)), [parent]) : [], layoutTree: parent ? parent.layoutTree : new flat_tree_FlatTree(),
-            /**
-             *
-             */
-            presenceId: presenceId,
-            projection: projection,
-            /**
-             * If this component is part of the variant tree, it should track
-             * any children that are also part of the tree. This is essentially
-             * a shadow tree to simplify logic around how to stagger over children.
-             */
-            variantChildren: isVariantNode ? new Set() : undefined,
-            /**
-             * Whether this instance is visible. This can be changed imperatively
-             * by AnimateSharedLayout, is analogous to CSS's visibility in that
-             * hidden elements should take up layout, and needs enacting by the configured
-             * render function.
-             */
-            isVisible: undefined,
-            /**
-             * Normally, if a component is controlled by a parent's variants, it can
-             * rely on that ancestor to trigger animations further down the tree.
-             * However, if a component is created after its parent is mounted, the parent
-             * won't trigger that mount animation so the child needs to.
-             *
-             * TODO: This might be better replaced with a method isParentMounted
-             */
-            manuallyAnimateOnMount: Boolean(parent === null || parent === void 0 ? void 0 : parent.isMounted()),
-            /**
-             * This can be set by AnimatePresence to force components that mount
-             * at the same time as it to mount as if they have initial={false} set.
-             */
-            blockInitialAnimation: blockInitialAnimation,
-            /**
-             * Determine whether this component has mounted yet. This is mostly used
-             * by variant children to determine whether they need to trigger their
-             * own animations on mount.
-             */
-            isMounted: function () { return Boolean(instance); }, mount: function (newInstance) {
-                instance = element.current = newInstance;
-                element.pointTo(element);
-                if (isVariantNode && parent && !isControllingVariants) {
-                    removeFromVariantTree = parent === null || parent === void 0 ? void 0 : parent.addVariantChild(element);
-                }
-                parent === null || parent === void 0 ? void 0 : parent.children.add(element);
-            },
-            /**
-             *
-             */
-            unmount: function () {
-                cancelSync.update(update);
-                cancelSync.render(render);
-                cancelSync.preRender(element.updateLayoutProjection);
-                valueSubscriptions.forEach(function (remove) { return remove(); });
-                element.stopLayoutAnimation();
-                element.layoutTree.remove(element);
-                removeFromVariantTree === null || removeFromVariantTree === void 0 ? void 0 : removeFromVariantTree();
-                parent === null || parent === void 0 ? void 0 : parent.children.delete(element);
-                unsubscribeFromLeadVisualElement === null || unsubscribeFromLeadVisualElement === void 0 ? void 0 : unsubscribeFromLeadVisualElement();
-                lifecycles.clearAllListeners();
-            },
-            /**
-             * Add a child visual element to our set of children.
-             */
-            addVariantChild: function (child) {
-                var _a;
-                var closestVariantNode = element.getClosestVariantNode();
-                if (closestVariantNode) {
-                    (_a = closestVariantNode.variantChildren) === null || _a === void 0 ? void 0 : _a.add(child);
-                    return function () { return closestVariantNode.variantChildren.delete(child); };
-                }
-            },
-            sortNodePosition: function (other) {
-                /**
-                 * If these nodes aren't even of the same type we can't compare their depth.
-                 */
-                if (!sortNodePosition || treeType !== other.treeType)
-                    return 0;
-                return sortNodePosition(element.getInstance(), other.getInstance());
-            },
-            /**
-             * Returns the closest variant node in the tree starting from
-             * this visual element.
-             */
-            getClosestVariantNode: function () {
-                return isVariantNode ? element : parent === null || parent === void 0 ? void 0 : parent.getClosestVariantNode();
-            },
-            /**
-             * A method that schedules an update to layout projections throughout
-             * the tree. We inherit from the parent so there's only ever one
-             * job scheduled on the next frame - that of the root visual element.
-             */
-            scheduleUpdateLayoutProjection: parent
-                ? parent.scheduleUpdateLayoutProjection
-                : function () {
-                    return dist_es.preRender(element.updateTreeLayoutProjection, false, true);
-                },
-            /**
-             * Expose the latest layoutId prop.
-             */
-            getLayoutId: function () { return props.layoutId; },
-            /**
-             * Returns the current instance.
-             */
-            getInstance: function () { return instance; },
-            /**
-             * Get/set the latest static values.
-             */
-            getStaticValue: function (key) { return latestValues[key]; }, setStaticValue: function (key, value) { return (latestValues[key] = value); },
-            /**
-             * Returns the latest motion value state. Currently only used to take
-             * a snapshot of the visual element - perhaps this can return the whole
-             * visual state
-             */
-            getLatestValues: function () { return latestValues; },
-            /**
-             * Set the visiblity of the visual element. If it's changed, schedule
-             * a render to reflect these changes.
-             */
-            setVisibility: function (visibility) {
-                if (element.isVisible === visibility)
-                    return;
-                element.isVisible = visibility;
-                element.scheduleRender();
-            },
-            /**
-             * Make a target animatable by Popmotion. For instance, if we're
-             * trying to animate width from 100px to 100vw we need to measure 100vw
-             * in pixels to determine what we really need to animate to. This is also
-             * pluggable to support Framer's custom value types like Color,
-             * and CSS variables.
-             */
-            makeTargetAnimatable: function (target, canMutate) {
-                if (canMutate === void 0) { canMutate = true; }
-                return makeTargetAnimatable(element, target, props, canMutate);
-            },
-            // Motion values ========================
-            /**
-             * Add a motion value and bind it to this visual element.
-             */
-            addValue: function (key, value) {
-                // Remove existing value if it exists
-                if (element.hasValue(key))
-                    element.removeValue(key);
-                values.set(key, value);
-                latestValues[key] = value.get();
-                bindToMotionValue(key, value);
-            },
-            /**
-             * Remove a motion value and unbind any active subscriptions.
-             */
-            removeValue: function (key) {
-                var _a;
-                values.delete(key);
-                (_a = valueSubscriptions.get(key)) === null || _a === void 0 ? void 0 : _a();
-                valueSubscriptions.delete(key);
-                delete latestValues[key];
-                removeValueFromRenderState(key, renderState);
-            },
-            /**
-             * Check whether we have a motion value for this key
-             */
-            hasValue: function (key) { return values.has(key); },
-            /**
-             * Get a motion value for this key. If called with a default
-             * value, we'll create one if none exists.
-             */
-            getValue: function (key, defaultValue) {
-                var value = values.get(key);
-                if (value === undefined && defaultValue !== undefined) {
-                    value = motionValue(defaultValue);
-                    element.addValue(key, value);
-                }
-                return value;
-            },
-            /**
-             * Iterate over our motion values.
-             */
-            forEachValue: function (callback) { return values.forEach(callback); },
-            /**
-             * If we're trying to animate to a previously unencountered value,
-             * we need to check for it in our state and as a last resort read it
-             * directly from the instance (which might have performance implications).
-             */
-            readValue: function (key) { var _a; return (_a = latestValues[key]) !== null && _a !== void 0 ? _a : readValueFromInstance(instance, key, options); },
-            /**
-             * Set the base target to later animate back to. This is currently
-             * only hydrated on creation and when we first read a value.
-             */
-            setBaseTarget: function (key, value) {
-                baseTarget[key] = value;
-            },
-            /**
-             * Find the base target for a value thats been removed from all animation
-             * props.
-             */
-            getBaseTarget: function (key) {
-                if (getBaseTarget) {
-                    var target = getBaseTarget(props, key);
-                    if (target !== undefined && !isMotionValue(target))
-                        return target;
-                }
-                return baseTarget[key];
-            } }, lifecycles), {
-            /**
-             * Build the renderer state based on the latest visual state.
-             */
-            build: function () {
-                triggerBuild();
-                return renderState;
-            },
-            /**
-             * Schedule a render on the next animation frame.
-             */
-            scheduleRender: function () {
-                dist_es.render(render, false, true);
-            },
-            /**
-             * Synchronously fire render. It's prefered that we batch renders but
-             * in many circumstances, like layout measurement, we need to run this
-             * synchronously. However in those instances other measures should be taken
-             * to batch reads/writes.
-             */
-            syncRender: render,
-            /**
-             * Update the provided props. Ensure any newly-added motion values are
-             * added to our map, old ones removed, and listeners updated.
-             */
-            setProps: function (newProps) {
-                props = newProps;
-                lifecycles.updatePropListeners(newProps);
-                prevMotionValues = updateMotionValuesFromProps(element, scrapeMotionValuesFromProps(props), prevMotionValues);
-            }, getProps: function () { return props; },
-            // Variants ==============================
-            /**
-             * Returns the variant definition with a given name.
-             */
-            getVariant: function (name) { var _a; return (_a = props.variants) === null || _a === void 0 ? void 0 : _a[name]; },
-            /**
-             * Returns the defined default transition on this component.
-             */
-            getDefaultTransition: function () { return props.transition; },
-            /**
-             * Used by child variant nodes to get the closest ancestor variant props.
-             */
-            getVariantContext: function (startAtParent) {
-                if (startAtParent === void 0) { startAtParent = false; }
-                if (startAtParent)
-                    return parent === null || parent === void 0 ? void 0 : parent.getVariantContext();
-                if (!isControllingVariants) {
-                    var context_1 = (parent === null || parent === void 0 ? void 0 : parent.getVariantContext()) || {};
-                    if (props.initial !== undefined) {
-                        context_1.initial = props.initial;
-                    }
-                    return context_1;
-                }
-                var context = {};
-                for (var i = 0; i < numVariantProps; i++) {
-                    var name_1 = variantProps[i];
-                    var prop = props[name_1];
-                    if (isVariantLabel(prop) || prop === false) {
-                        context[name_1] = prop;
-                    }
-                }
-                return context;
-            },
-            // Layout projection ==============================
-            /**
-             * Enable layout projection for this visual element. Won't actually
-             * occur until we also have hydrated layout measurements.
-             */
-            enableLayoutProjection: function () {
-                projection.isEnabled = true;
-                element.layoutTree.add(element);
-            },
-            /**
-             * Lock the projection target, for instance when dragging, so
-             * nothing else can try and animate it.
-             */
-            lockProjectionTarget: function () {
-                projection.isTargetLocked = true;
-            },
-            unlockProjectionTarget: function () {
-                element.stopLayoutAnimation();
-                projection.isTargetLocked = false;
-            }, getLayoutState: function () { return layoutState; }, setCrossfader: function (newCrossfader) {
-                crossfader = newCrossfader;
-            }, isProjectionReady: function () {
-                return projection.isEnabled &&
-                    projection.isHydrated &&
-                    layoutState.isHydrated;
-            },
-            /**
-             * Start a layout animation on a given axis.
-             */
-            startLayoutAnimation: function (axis, transition, isRelative) {
-                if (isRelative === void 0) { isRelative = false; }
-                var progress = element.getProjectionAnimationProgress()[axis];
-                var _a = isRelative
-                    ? projection.relativeTarget[axis]
-                    : projection.target[axis], min = _a.min, max = _a.max;
-                var length = max - min;
-                progress.clearListeners();
-                progress.set(min);
-                progress.set(min); // Set twice to hard-reset velocity
-                progress.onChange(function (v) {
-                    element.setProjectionTargetAxis(axis, v, v + length, isRelative);
-                });
-                return element.animateMotionValue(axis, progress, 0, transition);
-            },
-            /**
-             * Stop layout animations.
-             */
-            stopLayoutAnimation: function () {
-                eachAxis(function (axis) {
-                    return element.getProjectionAnimationProgress()[axis].stop();
-                });
-            },
-            /**
-             * Measure the current viewport box with or without transforms.
-             * Only measures axis-aligned boxes, rotate and skew must be manually
-             * removed with a re-render to work.
-             */
-            measureViewportBox: function (withTransform) {
-                if (withTransform === void 0) { withTransform = true; }
-                var viewportBox = measureViewportBox(instance, options);
-                if (!withTransform)
-                    removeBoxTransforms(viewportBox, latestValues);
-                return viewportBox;
-            },
-            /**
-             * Get the motion values tracking the layout animations on each
-             * axis. Lazy init if not already created.
-             */
-            getProjectionAnimationProgress: function () {
-                projectionTargetProgress || (projectionTargetProgress = {
-                    x: motionValue(0),
-                    y: motionValue(0),
-                });
-                return projectionTargetProgress;
-            },
-            /**
-             * Update the projection of a single axis. Schedule an update to
-             * the tree layout projection.
-             */
-            setProjectionTargetAxis: function (axis, min, max, isRelative) {
-                if (isRelative === void 0) { isRelative = false; }
-                var target;
-                if (isRelative) {
-                    if (!projection.relativeTarget) {
-                        projection.relativeTarget = axisBox();
-                    }
-                    target = projection.relativeTarget[axis];
-                }
-                else {
-                    projection.relativeTarget = undefined;
-                    target = projection.target[axis];
-                }
-                projection.isHydrated = true;
-                target.min = min;
-                target.max = max;
-                // Flag that we want to fire the onViewportBoxUpdate event handler
-                hasViewportBoxUpdated = true;
-                lifecycles.notifySetAxisTarget();
-            },
-            /**
-             * Rebase the projection target on top of the provided viewport box
-             * or the measured layout. This ensures that non-animating elements
-             * don't fall out of sync differences in measurements vs projections
-             * after a page scroll or other relayout.
-             */
-            rebaseProjectionTarget: function (force, box) {
-                if (box === void 0) { box = layoutState.layout; }
-                var _a = element.getProjectionAnimationProgress(), x = _a.x, y = _a.y;
-                var shouldRebase = !projection.relativeTarget &&
-                    !projection.isTargetLocked &&
-                    !x.isAnimating() &&
-                    !y.isAnimating();
-                if (force || shouldRebase) {
-                    eachAxis(function (axis) {
-                        var _a = box[axis], min = _a.min, max = _a.max;
-                        element.setProjectionTargetAxis(axis, min, max);
-                    });
-                }
-            },
-            /**
-             * Notify the visual element that its layout is up-to-date.
-             * Currently Animate.tsx uses this to check whether a layout animation
-             * needs to be performed.
-             */
-            notifyLayoutReady: function (config) {
-                setCurrentViewportBox(element);
-                element.notifyLayoutUpdate(layoutState.layout, element.prevViewportBox || layoutState.layout, config);
-            },
-            /**
-             * Temporarily reset the transform of the instance.
-             */
-            resetTransform: function () { return resetTransform(element, instance, props); }, restoreTransform: function () { return restoreTransform(instance, renderState); }, updateLayoutProjection: updateLayoutProjection,
-            updateTreeLayoutProjection: function () {
-                element.layoutTree.forEach(fireResolveRelativeTargetBox);
-                /**
-                 * Schedule the projection updates at the end of the current preRender
-                 * step. This will ensure that all layout trees will first resolve
-                 * relative projection boxes into viewport boxes, and *then*
-                 * update projections.
-                 */
-                dist_es.preRender(updateTreeLayoutProjection, false, true);
-                // sync.postRender(() => element.scheduleUpdateLayoutProjection())
-            },
-            getProjectionParent: function () {
-                if (projectionParent === undefined) {
-                    var foundParent = false;
-                    // Search backwards through the tree path
-                    for (var i = element.path.length - 1; i >= 0; i--) {
-                        var ancestor = element.path[i];
-                        if (ancestor.projection.isEnabled) {
-                            foundParent = ancestor;
-                            break;
-                        }
-                    }
-                    projectionParent = foundParent;
-                }
-                return projectionParent;
-            },
-            resolveRelativeTargetBox: function () {
-                var relativeParent = element.getProjectionParent();
-                if (!projection.relativeTarget || !relativeParent)
-                    return;
-                calcRelativeBox(projection, relativeParent.projection);
-                if (isDraggable(relativeParent)) {
-                    var target = projection.target;
-                    applyBoxTransforms(target, target, relativeParent.getLatestValues());
-                }
-            },
-            shouldResetTransform: function () {
-                return Boolean(props._layoutResetTransform);
-            },
-            /**
-             *
-             */
-            pointTo: function (newLead) {
-                leadProjection = newLead.projection;
-                leadLatestValues = newLead.getLatestValues();
-                /**
-                 * Subscribe to lead component's layout animations
-                 */
-                unsubscribeFromLeadVisualElement === null || unsubscribeFromLeadVisualElement === void 0 ? void 0 : unsubscribeFromLeadVisualElement();
-                unsubscribeFromLeadVisualElement = pipe(newLead.onSetAxisTarget(element.scheduleUpdateLayoutProjection), newLead.onLayoutAnimationComplete(function () {
-                    var _a;
-                    if (element.isPresent) {
-                        element.presence = Presence.Present;
-                    }
-                    else {
-                        (_a = element.layoutSafeToRemove) === null || _a === void 0 ? void 0 : _a.call(element);
-                    }
-                }));
-            },
-            // TODO: Clean this up
-            isPresent: true, presence: Presence.Entering });
-        return element;
-    };
-};
-function fireResolveRelativeTargetBox(child) {
-    child.resolveRelativeTargetBox();
-}
-function fireUpdateLayoutProjection(child) {
-    child.updateLayoutProjection();
-}
-var variantProps = __spreadArray(["initial"], __read(variantPriorityOrder));
-var numVariantProps = variantProps.length;

+      // fallthrough

+      default:
+        parsed[index] += Utility_from(character);
+    }
+  } while (character = next());

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js
+  return parsed;
+};

+var getRules = function getRules(value, points) {
+  return dealloc(toRules(alloc(value), points));
+}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11


+var fixedElements = /* #__PURE__ */new WeakMap();
+var compat = function compat(element) {
+  if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo
+  // negative .length indicates that this rule has been already prefixed
+  element.length < 1) {
+    return;
+  }

+  var value = element.value,
+      parent = element.parent;
+  var isImplicitRule = element.column === parent.column && element.line === parent.line;

+  while (parent.type !== 'rule') {
+    parent = parent.parent;
+    if (!parent) return;
+  } // short-circuit for the simplest case


-var positionalKeys = new Set([
-    "width",
-    "height",
-    "top",
-    "left",
-    "right",
-    "bottom",
-    "x",
-    "y",
-]);
-var isPositionalKey = function (key) { return positionalKeys.has(key); };
-var hasPositionalKey = function (target) {
-    return Object.keys(target).some(isPositionalKey);
-};
-var setAndResetVelocity = function (value, to) {
-    // Looks odd but setting it twice doesn't render, it'll just
-    // set both prev and current to the latest value
-    value.set(to, false);
-    value.set(to);
-};
-var isNumOrPxType = function (v) {
-    return v === numbers_number || v === px;
-};
-var BoundingBoxDimension;
-(function (BoundingBoxDimension) {
-    BoundingBoxDimension["width"] = "width";
-    BoundingBoxDimension["height"] = "height";
-    BoundingBoxDimension["left"] = "left";
-    BoundingBoxDimension["right"] = "right";
-    BoundingBoxDimension["top"] = "top";
-    BoundingBoxDimension["bottom"] = "bottom";
-})(BoundingBoxDimension || (BoundingBoxDimension = {}));
-var getPosFromMatrix = function (matrix, pos) {
-    return parseFloat(matrix.split(", ")[pos]);
-};
-var getTranslateFromMatrix = function (pos2, pos3) { return function (_bbox, _a) {
-    var transform = _a.transform;
-    if (transform === "none" || !transform)
-        return 0;
-    var matrix3d = transform.match(/^matrix3d\((.+)\)$/);
-    if (matrix3d) {
-        return getPosFromMatrix(matrix3d[1], pos3);
-    }
-    else {
-        var matrix = transform.match(/^matrix\((.+)\)$/);
-        if (matrix) {
-            return getPosFromMatrix(matrix[1], pos2);
-        }
-        else {
-            return 0;
-        }
-    }
-}; };
-var unit_conversion_transformKeys = new Set(["x", "y", "z"]);
-var nonTranslationalTransformKeys = transformProps.filter(function (key) { return !unit_conversion_transformKeys.has(key); });
-function removeNonTranslationalTransform(visualElement) {
-    var removedTransforms = [];
-    nonTranslationalTransformKeys.forEach(function (key) {
-        var value = visualElement.getValue(key);
-        if (value !== undefined) {
-            removedTransforms.push([key, value.get()]);
-            value.set(key.startsWith("scale") ? 1 : 0);
-        }
-    });
-    // Apply changes to element before measurement
-    if (removedTransforms.length)
-        visualElement.syncRender();
-    return removedTransforms;
-}
-var positionalValues = {
-    // Dimensions
-    width: function (_a) {
-        var x = _a.x;
-        return x.max - x.min;
-    },
-    height: function (_a) {
-        var y = _a.y;
-        return y.max - y.min;
-    },
-    top: function (_bbox, _a) {
-        var top = _a.top;
-        return parseFloat(top);
-    },
-    left: function (_bbox, _a) {
-        var left = _a.left;
-        return parseFloat(left);
-    },
-    bottom: function (_a, _b) {
-        var y = _a.y;
-        var top = _b.top;
-        return parseFloat(top) + (y.max - y.min);
-    },
-    right: function (_a, _b) {
-        var x = _a.x;
-        var left = _b.left;
-        return parseFloat(left) + (x.max - x.min);
-    },
-    // Transform
-    x: getTranslateFromMatrix(4, 13),
-    y: getTranslateFromMatrix(5, 14),
-};
-var convertChangedValueTypes = function (target, visualElement, changedKeys) {
-    var originBbox = visualElement.measureViewportBox();
-    var element = visualElement.getInstance();
-    var elementComputedStyle = getComputedStyle(element);
-    var display = elementComputedStyle.display, top = elementComputedStyle.top, left = elementComputedStyle.left, bottom = elementComputedStyle.bottom, right = elementComputedStyle.right, transform = elementComputedStyle.transform;
-    var originComputedStyle = { top: top, left: left, bottom: bottom, right: right, transform: transform };
-    // If the element is currently set to display: "none", make it visible before
-    // measuring the target bounding box
-    if (display === "none") {
-        visualElement.setStaticValue("display", target.display || "block");
-    }
-    // Apply the latest values (as set in checkAndConvertChangedValueTypes)
-    visualElement.syncRender();
-    var targetBbox = visualElement.measureViewportBox();
-    changedKeys.forEach(function (key) {
-        // Restore styles to their **calculated computed style**, not their actual
-        // originally set style. This allows us to animate between equivalent pixel units.
-        var value = visualElement.getValue(key);
-        setAndResetVelocity(value, positionalValues[key](originBbox, originComputedStyle));
-        target[key] = positionalValues[key](targetBbox, elementComputedStyle);
-    });
-    return target;
-};
-var checkAndConvertChangedValueTypes = function (visualElement, target, origin, transitionEnd) {
-    if (origin === void 0) { origin = {}; }
-    if (transitionEnd === void 0) { transitionEnd = {}; }
-    target = __assign({}, target);
-    transitionEnd = __assign({}, transitionEnd);
-    var targetPositionalKeys = Object.keys(target).filter(isPositionalKey);
-    // We want to remove any transform values that could affect the element's bounding box before
-    // it's measured. We'll reapply these later.
-    var removedTransformValues = [];
-    var hasAttemptedToRemoveTransformValues = false;
-    var changedValueTypeKeys = [];
-    targetPositionalKeys.forEach(function (key) {
-        var value = visualElement.getValue(key);
-        if (!visualElement.hasValue(key))
-            return;
-        var from = origin[key];
-        var to = target[key];
-        var fromType = findDimensionValueType(from);
-        var toType;
-        // TODO: The current implementation of this basically throws an error
-        // if you try and do value conversion via keyframes. There's probably
-        // a way of doing this but the performance implications would need greater scrutiny,
-        // as it'd be doing multiple resize-remeasure operations.
-        if (isKeyframesTarget(to)) {
-            var numKeyframes = to.length;
-            for (var i = to[0] === null ? 1 : 0; i < numKeyframes; i++) {
-                if (!toType) {
-                    toType = findDimensionValueType(to[i]);
-                    invariant(toType === fromType ||
-                        (isNumOrPxType(fromType) && isNumOrPxType(toType)), "Keyframes must be of the same dimension as the current value");
-                }
-                else {
-                    invariant(findDimensionValueType(to[i]) === toType, "All keyframes must be of the same type");
-                }
-            }
-        }
-        else {
-            toType = findDimensionValueType(to);
-        }
-        if (fromType !== toType) {
-            // If they're both just number or px, convert them both to numbers rather than
-            // relying on resize/remeasure to convert (which is wasteful in this situation)
-            if (isNumOrPxType(fromType) && isNumOrPxType(toType)) {
-                var current = value.get();
-                if (typeof current === "string") {
-                    value.set(parseFloat(current));
-                }
-                if (typeof to === "string") {
-                    target[key] = parseFloat(to);
-                }
-                else if (Array.isArray(to) && toType === px) {
-                    target[key] = to.map(parseFloat);
-                }
-            }
-            else if ((fromType === null || fromType === void 0 ? void 0 : fromType.transform) &&
-                (toType === null || toType === void 0 ? void 0 : toType.transform) &&
-                (from === 0 || to === 0)) {
-                // If one or the other value is 0, it's safe to coerce it to the
-                // type of the other without measurement
-                if (from === 0) {
-                    value.set(toType.transform(from));
-                }
-                else {
-                    target[key] = fromType.transform(to);
-                }
-            }
-            else {
-                // If we're going to do value conversion via DOM measurements, we first
-                // need to remove non-positional transform values that could affect the bbox measurements.
-                if (!hasAttemptedToRemoveTransformValues) {
-                    removedTransformValues = removeNonTranslationalTransform(visualElement);
-                    hasAttemptedToRemoveTransformValues = true;
-                }
-                changedValueTypeKeys.push(key);
-                transitionEnd[key] =
-                    transitionEnd[key] !== undefined
-                        ? transitionEnd[key]
-                        : target[key];
-                setAndResetVelocity(value, to);
-            }
-        }
-    });
-    if (changedValueTypeKeys.length) {
-        var convertedTarget = convertChangedValueTypes(target, visualElement, changedValueTypeKeys);
-        // If we removed transform values, reapply them before the next render
-        if (removedTransformValues.length) {
-            removedTransformValues.forEach(function (_a) {
-                var _b = __read(_a, 2), key = _b[0], value = _b[1];
-                visualElement.getValue(key).set(value);
-            });
-        }
-        // Reapply original values
-        visualElement.syncRender();
-        return { target: convertedTarget, transitionEnd: transitionEnd };
-    }
-    else {
-        return { target: target, transitionEnd: transitionEnd };
-    }
-};
-/**
- * Convert value types for x/y/width/height/top/left/bottom/right
- *
- * Allows animation between `'auto'` -> `'100%'` or `0` -> `'calc(50% - 10vw)'`
- *
- * @internal
- */
-function unitConversion(visualElement, target, origin, transitionEnd) {
-    return hasPositionalKey(target)
-        ? checkAndConvertChangedValueTypes(visualElement, target, origin, transitionEnd)
-        : { target: target, transitionEnd: transitionEnd };
-}
-
-
+  if (element.props.length === 1 && value.charCodeAt(0) !== 58
+  /* colon */
+  && !fixedElements.get(parent)) {
+    return;
+  } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)
+  // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent"

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/parse-dom-variant.js

+  if (isImplicitRule) {
+    return;
+  }

+  fixedElements.set(element, true);
+  var points = [];
+  var rules = getRules(value, points);
+  var parentRules = parent.props;

-/**
- * Parse a DOM variant to make it animatable. This involves resolving CSS variables
- * and ensuring animations like "20%" => "calc(50vw)" are performed in pixels.
- */
-var parseDomVariant = function (visualElement, target, origin, transitionEnd) {
-    var resolved = resolveCSSVariables(visualElement, target, transitionEnd);
-    target = resolved.target;
-    transitionEnd = resolved.transitionEnd;
-    return unitConversion(visualElement, target, origin, transitionEnd);
+  for (var i = 0, k = 0; i < rules.length; i++) {
+    for (var j = 0; j < parentRules.length; j++, k++) {
+      element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
+    }
+  }
 };
+var removeLabel = function removeLabel(element) {
+  if (element.type === 'decl') {
+    var value = element.value;

+    if ( // charcode for l
+    value.charCodeAt(0) === 108 && // charcode for b
+    value.charCodeAt(2) === 98) {
+      // this ignores label
+      element["return"] = '';
+      element.value = '';
+    }
+  }
+};
+var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';

+var isIgnoringComment = function isIgnoringComment(element) {
+  return !!element && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
+};

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/visual-element.js
-
-
-
-
-
+var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
+  return function (element, index, children) {
+    if (element.type !== 'rule') return;
+    var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);

+    if (unsafePseudoClasses && cache.compat !== true) {
+      var prevElement = index > 0 ? children[index - 1] : null;

+      if (prevElement && isIgnoringComment(last(prevElement.children))) {
+        return;
+      }

+      unsafePseudoClasses.forEach(function (unsafePseudoClass) {
+        console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
+      });
+    }
+  };
+};

+var isImportRule = function isImportRule(element) {
+  return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
+};

+var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
+  for (var i = index - 1; i >= 0; i--) {
+    if (!isImportRule(children[i])) {
+      return true;
+    }
+  }

+  return false;
+}; // use this to remove incorrect elements from further processing
+// so they don't get handed to the `sheet` (or anything else)
+// as that could potentially lead to additional logs which in turn could be overhelming to the user


-function visual_element_getComputedStyle(element) {
-    return window.getComputedStyle(element);
-}
-var htmlConfig = {
-    treeType: "dom",
-    readValueFromInstance: function (domElement, key) {
-        if (isTransformProp(key)) {
-            var defaultType = getDefaultValueType(key);
-            return defaultType ? defaultType.default || 0 : 0;
-        }
-        else {
-            var computedStyle = visual_element_getComputedStyle(domElement);
-            return ((isCSSVariable(key)
-                ? computedStyle.getPropertyValue(key)
-                : computedStyle[key]) || 0);
-        }
-    },
-    sortNodePosition: function (a, b) {
-        /**
-         * compareDocumentPosition returns a bitmask, by using the bitwise &
-         * we're returning true if 2 in that bitmask is set to true. 2 is set
-         * to true if b preceeds a.
-         */
-        return a.compareDocumentPosition(b) & 2 ? 1 : -1;
-    },
-    getBaseTarget: function (props, key) {
-        var _a;
-        return (_a = props.style) === null || _a === void 0 ? void 0 : _a[key];
-    },
-    measureViewportBox: function (element, _a) {
-        var transformPagePoint = _a.transformPagePoint;
-        return getBoundingBox(element, transformPagePoint);
-    },
-    /**
-     * Reset the transform on the current Element. This is called as part
-     * of a batched process across the entire layout tree. To remove this write
-     * cycle it'd be interesting to see if it's possible to "undo" all the current
-     * layout transforms up the tree in the same way this.getBoundingBoxWithoutTransforms
-     * works
-     */
-    resetTransform: function (element, domElement, props) {
-        var transformTemplate = props.transformTemplate;
-        domElement.style.transform = transformTemplate
-            ? transformTemplate({}, "")
-            : "none";
-        // Ensure that whatever happens next, we restore our transform on the next frame
-        element.scheduleRender();
-    },
-    restoreTransform: function (instance, mutableState) {
-        instance.style.transform = mutableState.style.transform;
-    },
-    removeValueFromRenderState: function (key, _a) {
-        var vars = _a.vars, style = _a.style;
-        delete vars[key];
-        delete style[key];
-    },
-    /**
-     * Ensure that HTML and Framer-specific value types like `px`->`%` and `Color`
-     * can be animated by Motion.
-     */
-    makeTargetAnimatable: function (element, _a, _b, isMounted) {
-        var transformValues = _b.transformValues;
-        if (isMounted === void 0) { isMounted = true; }
-        var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest(_a, ["transition", "transitionEnd"]);
-        var origin = getOrigin(target, transition || {}, element);
-        /**
-         * If Framer has provided a function to convert `Color` etc value types, convert them
-         */
-        if (transformValues) {
-            if (transitionEnd)
-                transitionEnd = transformValues(transitionEnd);
-            if (target)
-                target = transformValues(target);
-            if (origin)
-                origin = transformValues(origin);
-        }
-        if (isMounted) {
-            checkTargetForNewValues(element, target, origin);
-            var parsed = parseDomVariant(element, target, origin, transitionEnd);
-            transitionEnd = parsed.transitionEnd;
-            target = parsed.target;
-        }
-        return __assign({ transition: transition,
-            transitionEnd: transitionEnd }, target);
-    },
-    scrapeMotionValuesFromProps: scrape_motion_values_scrapeMotionValuesFromProps,
-    build: function (element, renderState, latestValues, projection, layoutState, options, props) {
-        if (element.isVisible !== undefined) {
-            renderState.style.visibility = element.isVisible
-                ? "visible"
-                : "hidden";
-        }
-        var isProjectionTranform = projection.isEnabled && layoutState.isHydrated;
-        buildHTMLStyles(renderState, latestValues, projection, layoutState, options, props.transformTemplate, isProjectionTranform ? buildLayoutProjectionTransform : undefined, isProjectionTranform
-            ? buildLayoutProjectionTransformOrigin
-            : undefined);
-    },
-    render: renderHTML,
+var nullifyElement = function nullifyElement(element) {
+  element.type = '';
+  element.value = '';
+  element["return"] = '';
+  element.children = '';
+  element.props = '';
 };
-var htmlVisualElement = render_visualElement(htmlConfig);

+var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
+  if (!isImportRule(element)) {
+    return;
+  }

+  if (element.parent) {
+    console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
+    nullifyElement(element);
+  } else if (isPrependedWithRegularRules(index, children)) {
+    console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
+    nullifyElement(element);
+  }
+};

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/visual-element.js
+var defaultStylisPlugins = [prefixer];

+var createCache = function createCache(options) {
+  var key = options.key;

+  if (false) {}

+  if ( key === 'css') {
+    var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
+    // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
+    // note this very very intentionally targets all style elements regardless of the key to ensure
+    // that creating a cache works inside of render of a React component

+    Array.prototype.forEach.call(ssrStyles, function (node) {
+      // we want to only move elements which have a space in the data-emotion attribute value
+      // because that indicates that it is an Emotion 11 server-side rendered style elements
+      // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector
+      // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)
+      // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles
+      // will not result in the Emotion 10 styles being destroyed
+      var dataEmotionAttribute = node.getAttribute('data-emotion');

+      if (dataEmotionAttribute.indexOf(' ') === -1) {
+        return;
+      }
+      document.head.appendChild(node);
+      node.setAttribute('data-s', '');
+    });
+  }

+  var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;

+  if (false) {}

+  var inserted = {}; // $FlowFixMe

+  var container;
+  var nodesToHydrate = [];

+  {
+    container = options.container || document.head;
+    Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
+    // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
+    document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
+      var attrib = node.getAttribute("data-emotion").split(' '); // $FlowFixMe

+      for (var i = 1; i < attrib.length; i++) {
+        inserted[attrib[i]] = true;
+      }

-var svgVisualElement = render_visualElement(__assign(__assign({}, htmlConfig), { getBaseTarget: function (props, key) {
-        return props[key];
-    },
-    readValueFromInstance: function (domElement, key) {
-        var _a;
-        if (isTransformProp(key)) {
-            return ((_a = getDefaultValueType(key)) === null || _a === void 0 ? void 0 : _a.default) || 0;
-        }
-        key = !camelCaseAttributes.has(key) ? camelToDash(key) : key;
-        return domElement.getAttribute(key);
-    },
-    scrapeMotionValuesFromProps: utils_scrape_motion_values_scrapeMotionValuesFromProps,
-    build: function (_element, renderState, latestValues, projection, layoutState, options, props) {
-        var isProjectionTranform = projection.isEnabled && layoutState.isHydrated;
-        buildSVGAttrs(renderState, latestValues, projection, layoutState, options, props.transformTemplate, isProjectionTranform ? buildLayoutProjectionTransform : undefined, isProjectionTranform
-            ? buildLayoutProjectionTransformOrigin
-            : undefined);
-    }, render: renderSVG }));
+      nodesToHydrate.push(node);
+    });
+  }

+  var _insert;

+  var omnipresentPlugins = [compat, removeLabel];

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/create-visual-element.js
+  if (false) {}

+  {
+    var currentSheet;
+    var finalizingPlugins = [stringify,  false ? 0 : rulesheet(function (rule) {
+      currentSheet.insert(rule);
+    })];
+    var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));

+    var stylis = function stylis(styles) {
+      return serialize(compile(styles), serializer);
+    };

+    _insert = function insert(selector, serialized, sheet, shouldCache) {
+      currentSheet = sheet;

-var createDomVisualElement = function (Component, options) {
-    return isSVGComponent(Component)
-        ? svgVisualElement(options, { enableHardwareAcceleration: false })
-        : htmlVisualElement(options, { enableHardwareAcceleration: true });
-};
+      if (false) {}

+      stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);

+      if (shouldCache) {
+        cache.inserted[serialized.name] = true;
+      }
+    };
+  }

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/motion.js
+  var cache = {
+    key: key,
+    sheet: new emotion_sheet_browser_esm_StyleSheet({
+      key: key,
+      container: container,
+      nonce: options.nonce,
+      speedy: options.speedy,
+      prepend: options.prepend,
+      insertionPoint: options.insertionPoint
+    }),
+    nonce: options.nonce,
+    inserted: inserted,
+    registered: {},
+    insert: _insert
+  };
+  cache.sheet.hydrate(nodesToHydrate);
+  return cache;
+};

+/* harmony default export */ var emotion_cache_browser_esm = (createCache);

+;// CONCATENATED MODULE: ./node_modules/@emotion/hash/dist/hash.browser.esm.js
+/* eslint-disable */
+// Inspired by https://github.com/garycourt/murmurhash-js
+// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
+function murmur2(str) {
+  // 'm' and 'r' are mixing constants generated offline.
+  // They're not really 'magic', they just happen to work well.
+  // const m = 0x5bd1e995;
+  // const r = 24;
+  // Initialize the hash
+  var h = 0; // Mix 4 bytes at a time into the hash

+  var k,
+      i = 0,
+      len = str.length;

+  for (; len >= 4; ++i, len -= 4) {
+    k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
+    k =
+    /* Math.imul(k, m): */
+    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
+    k ^=
+    /* k >>> r: */
+    k >>> 24;
+    h =
+    /* Math.imul(k, m): */
+    (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
+    /* Math.imul(h, m): */
+    (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
+  } // Handle the last few bytes of the input array


+  switch (len) {
+    case 3:
+      h ^= (str.charCodeAt(i + 2) & 0xff) << 16;

+    case 2:
+      h ^= (str.charCodeAt(i + 1) & 0xff) << 8;

+    case 1:
+      h ^= str.charCodeAt(i) & 0xff;
+      h =
+      /* Math.imul(h, m): */
+      (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
+  } // Do a few final mixes of the hash to ensure the last few
+  // bytes are well-incorporated.


-var featureBundle = __assign(__assign(__assign(__assign({}, animations_animations), gestureAnimations), drag_drag), layoutAnimations);
-/**
- * HTML & SVG components, optimised for use with gestures and animation. These can be used as
- * drop-in replacements for any HTML & SVG component, all CSS & SVG properties are supported.
- *
- * @public
- */
-var motion = /*@__PURE__*/ createMotionProxy(function (Component, config) {
-    return createDomMotionConfig(Component, config, featureBundle, createDomVisualElement);
-});
-/**
- * Create a DOM `motion` component with the provided string. This is primarily intended
- * as a full alternative to `motion` for consumers who have to support environments that don't
- * support `Proxy`.
- *
- * ```javascript
- * import { createDomMotionComponent } from "framer-motion"
- *
- * const motion = {
- *   div: createDomMotionComponent('div')
- * }
- * ```
- *
- * @public
- */
-function createDomMotionComponent(key) {
-    return createMotionComponent(createDomMotionConfig(key, { forwardMotionProps: false }, featureBundle, createDomVisualElement));
+  h ^= h >>> 13;
+  h =
+  /* Math.imul(h, m): */
+  (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
+  return ((h ^ h >>> 15) >>> 0).toString(36);
 }

+/* harmony default export */ var hash_browser_esm = (murmur2);

+;// CONCATENATED MODULE: ./node_modules/@emotion/unitless/dist/unitless.browser.esm.js
+var unitlessKeys = {
+  animationIterationCount: 1,
+  borderImageOutset: 1,
+  borderImageSlice: 1,
+  borderImageWidth: 1,
+  boxFlex: 1,
+  boxFlexGroup: 1,
+  boxOrdinalGroup: 1,
+  columnCount: 1,
+  columns: 1,
+  flex: 1,
+  flexGrow: 1,
+  flexPositive: 1,
+  flexShrink: 1,
+  flexNegative: 1,
+  flexOrder: 1,
+  gridRow: 1,
+  gridRowEnd: 1,
+  gridRowSpan: 1,
+  gridRowStart: 1,
+  gridColumn: 1,
+  gridColumnEnd: 1,
+  gridColumnSpan: 1,
+  gridColumnStart: 1,
+  msGridRow: 1,
+  msGridRowSpan: 1,
+  msGridColumn: 1,
+  msGridColumnSpan: 1,
+  fontWeight: 1,
+  lineHeight: 1,
+  opacity: 1,
+  order: 1,
+  orphans: 1,
+  tabSize: 1,
+  widows: 1,
+  zIndex: 1,
+  zoom: 1,
+  WebkitLineClamp: 1,
+  // SVG-related properties
+  fillOpacity: 1,
+  floodOpacity: 1,
+  stopOpacity: 1,
+  strokeDasharray: 1,
+  strokeDashoffset: 1,
+  strokeMiterlimit: 1,
+  strokeOpacity: 1,
+  strokeWidth: 1
+};

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/ui/context/context-connect.js
-var context_connect = __webpack_require__("7Jlx");
+/* harmony default export */ var unitless_browser_esm = (unitlessKeys);

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/view/component.js
-var view_component = __webpack_require__("q9zb");
+;// CONCATENATED MODULE: ./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js
+function memoize(fn) {
+  var cache = Object.create(null);
+  return function (arg) {
+    if (cache[arg] === undefined) cache[arg] = fn(arg);
+    return cache[arg];
+  };
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/ui/context/use-context-system.js
-var use_context_system = __webpack_require__("C6yU");
+/* harmony default export */ var emotion_memoize_browser_esm = (memoize);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/context.js
-/**
- * WordPress dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js

-const FlexContext = Object(external_wp_element_["createContext"])({
-  flexItemDisplay: undefined
-});
-const useFlexContext = () => Object(external_wp_element_["useContext"])(FlexContext);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/styles.js
-function styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/**
- * External dependencies
- */

-const Flex =  true ? {
-  name: "zjik7",
-  styles: "display:flex"
-} : undefined;
-const Item =  true ? {
-  name: "qgaee5",
-  styles: "display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"
-} : undefined;
-const block =  true ? {
-  name: "82a6rk",
-  styles: "flex:1"
-} : undefined;
-/**
- * Workaround to optimize DOM rendering.
- * We'll enhance alignment with naive parent flex assumptions.
- *
- * Trade-off:
- * Far less DOM less. However, UI rendering is not as reliable.
- */
+var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
+var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
+var hyphenateRegex = /[A-Z]|^ms/g;
+var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;

-/**
- * Improves stability of width/height rendering.
- * https://github.com/ItsJonQ/g2/pull/149
- */
+var isCustomProperty = function isCustomProperty(property) {
+  return property.charCodeAt(1) === 45;
+};

-const ItemsColumn =  true ? {
-  name: "13nosa1",
-  styles: ">*{min-height:0;}"
-} : undefined;
-const ItemsRow =  true ? {
-  name: "1pwxzk4",
-  styles: ">*{min-width:0;}"
-} : undefined;
+var isProcessableValue = function isProcessableValue(value) {
+  return value != null && typeof value !== 'boolean';
+};

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-cx.js + 2 modules
-var use_cx = __webpack_require__("h9+V");
+var processStyleName = /* #__PURE__ */emotion_memoize_browser_esm(function (styleName) {
+  return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex-item/hook.js
-/**
- * External dependencies
- */
+var processStyleValue = function processStyleValue(key, value) {
+  switch (key) {
+    case 'animation':
+    case 'animationName':
+      {
+        if (typeof value === 'string') {
+          return value.replace(animationRegex, function (match, p1, p2) {
+            cursor = {
+              name: p1,
+              styles: p2,
+              next: cursor
+            };
+            return p1;
+          });
+        }
+      }
+  }

-/**
- * Internal dependencies
- */
+  if (unitless_browser_esm[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
+    return value + 'px';
+  }

+  return value;
+};

+if (false) { var hyphenatedCache, hyphenPattern, msPattern, oldProcessStyleValue, contentValues, contentValuePattern; }

+function handleInterpolation(mergedProps, registered, interpolation) {
+  if (interpolation == null) {
+    return '';
+  }

+  if (interpolation.__emotion_styles !== undefined) {
+    if (false) {}

-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexItemProps, 'div'>} props
- */
+    return interpolation;
+  }

-function useFlexItem(props) {
-  const {
-    className,
-    display: displayProp,
-    isBlock = false,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'FlexItem');
-  const sx = {};
-  const contextDisplay = useFlexContext().flexItemDisplay;
-  sx.Base = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    display: displayProp || contextDisplay
-  },  true ? "" : undefined,  true ? "" : undefined);
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = cx(Item, sx.Base, isBlock && block, className);
-  return { ...otherProps,
-    className: classes
-  };
-}
+  switch (typeof interpolation) {
+    case 'boolean':
+      {
+        return '';
+      }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex-block/hook.js
-/**
- * Internal dependencies
- */
+    case 'object':
+      {
+        if (interpolation.anim === 1) {
+          cursor = {
+            name: interpolation.name,
+            styles: interpolation.styles,
+            next: cursor
+          };
+          return interpolation.name;
+        }

+        if (interpolation.styles !== undefined) {
+          var next = interpolation.next;

-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexBlockProps, 'div'>} props
- */
+          if (next !== undefined) {
+            // not the most efficient thing ever but this is a pretty rare case
+            // and there will be very few iterations of this generally
+            while (next !== undefined) {
+              cursor = {
+                name: next.name,
+                styles: next.styles,
+                next: cursor
+              };
+              next = next.next;
+            }
+          }

-function useFlexBlock(props) {
-  const otherProps = Object(use_context_system["a" /* useContextSystem */])(props, 'FlexBlock');
-  const flexItemProps = useFlexItem({
-    isBlock: true,
-    ...otherProps
-  });
-  return flexItemProps;
-}
+          var styles = interpolation.styles + ";";

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex-block/component.js
+          if (false) {}

+          return styles;
+        }

+        return createStringFromObject(mergedProps, registered, interpolation);
+      }

-/**
- * Internal dependencies
- */
+    case 'function':
+      {
+        if (mergedProps !== undefined) {
+          var previousCursor = cursor;
+          var result = interpolation(mergedProps);
+          cursor = previousCursor;
+          return handleInterpolation(mergedProps, registered, result);
+        } else if (false) {}

+        break;
+      }

+    case 'string':
+      if (false) { var replaced, matched; }

-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexBlockProps, 'div'>} props
- * @param {import('react').Ref<any>}                                                                     forwardedRef
- */
+      break;
+  } // finalize string values (regular strings and functions interpolated into css calls)

-function FlexBlock(props, forwardedRef) {
-  const flexBlockProps = useFlexBlock(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, flexBlockProps, {
-    ref: forwardedRef
-  }));
-}
-/**
- * `FlexBlock` is a primitive layout component that adaptively resizes content within layout containers like `Flex`.
- *
- * @example
- * ```jsx
- * <Flex>
- * 	<FlexBlock>...</FlexBlock>
- * </Flex>
- * ```
- */

+  if (registered == null) {
+    return interpolation;
+  }

-const ConnectedFlexBlock = Object(context_connect["a" /* contextConnect */])(FlexBlock, 'FlexBlock');
-/* harmony default export */ var flex_block_component = (ConnectedFlexBlock);
+  var cached = registered[interpolation];
+  return cached !== undefined ? cached : interpolation;
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex-item/component.js
+function createStringFromObject(mergedProps, registered, obj) {
+  var string = '';

+  if (Array.isArray(obj)) {
+    for (var i = 0; i < obj.length; i++) {
+      string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
+    }
+  } else {
+    for (var _key in obj) {
+      var value = obj[_key];

+      if (typeof value !== 'object') {
+        if (registered != null && registered[value] !== undefined) {
+          string += _key + "{" + registered[value] + "}";
+        } else if (isProcessableValue(value)) {
+          string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
+        }
+      } else {
+        if (_key === 'NO_COMPONENT_SELECTOR' && "production" !== 'production') {}

-/**
- * Internal dependencies
- */
+        if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
+          for (var _i = 0; _i < value.length; _i++) {
+            if (isProcessableValue(value[_i])) {
+              string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
+            }
+          }
+        } else {
+          var interpolated = handleInterpolation(mergedProps, registered, value);

+          switch (_key) {
+            case 'animation':
+            case 'animationName':
+              {
+                string += processStyleName(_key) + ":" + interpolated + ";";
+                break;
+              }

+            default:
+              {
+                if (false) {}

-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexItemProps, 'div'>} props
- * @param {import('react').Ref<any>}                                                                    forwardedRef
- */
+                string += _key + "{" + interpolated + "}";
+              }
+          }
+        }
+      }
+    }
+  }

-function FlexItem(props, forwardedRef) {
-  const flexItemProps = useFlexItem(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, flexItemProps, {
-    ref: forwardedRef
-  }));
+  return string;
 }
-/**
- * `FlexItem` is a primitive layout component that aligns content within layout containers like `Flex`.
- *
- * @example
- * ```jsx
- * <Flex>
- * 	<FlexItem>...</FlexItem>
- * </Flex>
- * ```
- */

+var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
+var sourceMapPattern;

-const ConnectedFlexItem = Object(context_connect["a" /* contextConnect */])(FlexItem, 'FlexItem');
-/* harmony default export */ var flex_item_component = (ConnectedFlexItem);
+if (false) {} // this is the cursor for keyframes
+// keyframes are stored on the SerializedStyles object as a linked list

-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/use-responsive-value.js
-/**
- * WordPress dependencies
- */
+var cursor;
+var emotion_serialize_browser_esm_serializeStyles = function serializeStyles(args, registered, mergedProps) {
+  if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
+    return args[0];
+  }

-const breakpoints = ['40em', '52em', '64em'];
-const useBreakpointIndex = function () {
-  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  const {
-    defaultIndex = 0
-  } = options;
+  var stringMode = true;
+  var styles = '';
+  cursor = undefined;
+  var strings = args[0];

-  if (typeof defaultIndex !== 'number') {
-    throw new TypeError(`Default breakpoint index should be a number. Got: ${defaultIndex}, ${typeof defaultIndex}`);
-  } else if (defaultIndex < 0 || defaultIndex > breakpoints.length - 1) {
-    throw new RangeError(`Default breakpoint index out of range. Theme has ${breakpoints.length} breakpoints, got index ${defaultIndex}`);
-  }
+  if (strings == null || strings.raw === undefined) {
+    stringMode = false;
+    styles += handleInterpolation(mergedProps, registered, strings);
+  } else {
+    if (false) {}

-  const [value, setValue] = Object(external_wp_element_["useState"])(defaultIndex);
-  Object(external_wp_element_["useEffect"])(() => {
-    const getIndex = () => breakpoints.filter(bp => {
-      return typeof window !== 'undefined' ? window.matchMedia(`screen and (min-width: ${bp})`).matches : false;
-    }).length;
+    styles += strings[0];
+  } // we start at 1 since we've already handled the first arg

-    const onResize = () => {
-      const newValue = getIndex();

-      if (value !== newValue) {
-        setValue(newValue);
-      }
-    };
+  for (var i = 1; i < args.length; i++) {
+    styles += handleInterpolation(mergedProps, registered, args[i]);

-    onResize();
+    if (stringMode) {
+      if (false) {}

-    if (typeof window !== 'undefined') {
-      window.addEventListener('resize', onResize);
+      styles += strings[i];
     }
+  }

-    return () => {
-      if (typeof window !== 'undefined') {
-        window.removeEventListener('resize', onResize);
-      }
-    };
-  }, [value]);
-  return value;
-};
-function useResponsiveValue(values) {
-  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  const index = useBreakpointIndex(options); // Allow calling the function with a "normal" value without having to check on the outside.
+  var sourceMap;

-  if (!Array.isArray(values) && typeof values !== 'function') return values;
-  const array = values || [];
-  /* eslint-disable jsdoc/no-undefined-types */
+  if (false) {} // using a global regex with .exec is stateful so lastIndex has to be reset each time

-  return (
-    /** @type {T[]} */
-    array[
-    /* eslint-enable jsdoc/no-undefined-types */
-    index >= array.length ? array.length - 1 : index]
-  );
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/space.js
-/**
- * A real number or something parsable as a number
- */
-const GRID_BASE = '4px';
-/**
- * A function that handles numbers, numeric strings, and unit values.
- *
- * When given a number or a numeric string, it will return the grid-based
- * value as a factor of GRID_BASE, defined above.
- *
- * When given a unit value or one of the named CSS values like `auto`,
- * it will simply return the value back.
- *
- * @param  value A number, numeric string, or a unit value.
- */
+  labelPattern.lastIndex = 0;
+  var identifierName = '';
+  var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5

-function space(value) {
-  var _window$CSS, _window$CSS$supports;
+  while ((match = labelPattern.exec(styles)) !== null) {
+    identifierName += '-' + // $FlowFixMe we know it's not null
+    match[1];
+  }

-  if (typeof value === 'undefined') {
-    return undefined;
-  } // handle empty strings, if it's the number 0 this still works
+  var name = hash_browser_esm(styles) + identifierName;

+  if (false) {}

-  if (!value) {
-    return '0';
-  }
+  return {
+    name: name,
+    styles: styles,
+    next: cursor
+  };
+};

-  const asInt = typeof value === 'number' ? value : Number(value); // test if the input has a unit, was NaN, or was one of the named CSS values (like `auto`), in which case just use that value

-  if (typeof window !== 'undefined' && (_window$CSS = window.CSS) !== null && _window$CSS !== void 0 && (_window$CSS$supports = _window$CSS.supports) !== null && _window$CSS$supports !== void 0 && _window$CSS$supports.call(_window$CSS, 'margin', value.toString()) || Number.isNaN(asInt)) {
-    return value.toString();
-  }

-  return `calc(${GRID_BASE} * ${value})`;
-}
+;// CONCATENATED MODULE: ./node_modules/@emotion/react/dist/emotion-element-699e6908.browser.esm.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/rtl.js
-/**
- * External dependencies
- */


-/**
- * WordPress dependencies
- */


-const LOWER_LEFT_REGEXP = new RegExp(/-left/g);
-const LOWER_RIGHT_REGEXP = new RegExp(/-right/g);
-const UPPER_LEFT_REGEXP = new RegExp(/Left/g);
-const UPPER_RIGHT_REGEXP = new RegExp(/Right/g);
-/**
- * Flips a CSS property from left <-> right.
- *
- * @param {string} key The CSS property name.
- *
- * @return {string} The flipped CSS property name, if applicable.
- */
-
-function getConvertedKey(key) {
-  if (key === 'left') {
-    return 'right';
-  }
-
-  if (key === 'right') {
-    return 'left';
-  }
-
-  if (LOWER_LEFT_REGEXP.test(key)) {
-    return key.replace(LOWER_LEFT_REGEXP, '-right');
-  }

-  if (LOWER_RIGHT_REGEXP.test(key)) {
-    return key.replace(LOWER_RIGHT_REGEXP, '-left');
-  }

-  if (UPPER_LEFT_REGEXP.test(key)) {
-    return key.replace(UPPER_LEFT_REGEXP, 'Right');
-  }

-  if (UPPER_RIGHT_REGEXP.test(key)) {
-    return key.replace(UPPER_RIGHT_REGEXP, 'Left');
-  }
+var emotion_element_699e6908_browser_esm_hasOwnProperty = {}.hasOwnProperty;

-  return key;
-}
-/**
- * An incredibly basic ltr -> rtl converter for style properties
- *
- * @param {import('react').CSSProperties} ltrStyles
- *
- * @return {import('react').CSSProperties} Converted ltr -> rtl styles
- */
+var EmotionCacheContext = /* #__PURE__ */(0,external_React_.createContext)( // we're doing this to avoid preconstruct's dead code elimination in this one case
+// because this module is primarily intended for the browser and node
+// but it's also required in react native and similar environments sometimes
+// and we could have a special build just for that
+// but this is much easier and the native packages
+// might use a different theme context in the future anyway
+typeof HTMLElement !== 'undefined' ? /* #__PURE__ */emotion_cache_browser_esm({
+  key: 'css'
+}) : null);

+if (false) {}

-const convertLTRToRTL = function () {
-  let ltrStyles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  return Object(external_lodash_["mapKeys"])(ltrStyles, (_value, key) => getConvertedKey(key));
+var CacheProvider = EmotionCacheContext.Provider;
+var __unsafe_useEmotionCache = function useEmotionCache() {
+  return (0,external_React_.useContext)(EmotionCacheContext);
 };
-/**
- * A higher-order function that create an incredibly basic ltr -> rtl style converter for CSS objects.
- *
- * @param {import('react').CSSProperties} ltrStyles   Ltr styles. Converts and renders from ltr -> rtl styles, if applicable.
- * @param {import('react').CSSProperties} [rtlStyles] Rtl styles. Renders if provided.
- *
- * @return {() => import('@emotion/react').SerializedStyles} A function to output CSS styles for Emotion's renderer
- */
-
-function rtl_rtl() {
-  let ltrStyles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let rtlStyles = arguments.length > 1 ? arguments[1] : undefined;
-  return () => {
-    if (rtlStyles) {
-      // @ts-ignore: `css` types are wrong, it can accept an object: https://emotion.sh/docs/object-styles#with-css
-      return Object(external_wp_i18n_["isRTL"])() ? /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(rtlStyles,  true ? "" : undefined) : /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(ltrStyles,  true ? "" : undefined);
-    } // @ts-ignore: `css` types are wrong, it can accept an object: https://emotion.sh/docs/object-styles#with-css
-
-
-    return Object(external_wp_i18n_["isRTL"])() ? /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(convertLTRToRTL(ltrStyles),  true ? "" : undefined) : /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(ltrStyles,  true ? "" : undefined);
-  };
-}
-/**
- * Call this in the `useMemo` dependency array to ensure that subsequent renders will
- * cause rtl styles to update based on the `isRTL` return value even if all other dependencies
- * remain the same.
- *
- * @example
- * const styles = useMemo( () => {
- *   return css`
- *     ${ rtl( { marginRight: '10px' } ) }
- *   `;
- * }, [ rtl.watch() ] );
- */

-rtl_rtl.watch = () => Object(external_wp_i18n_["isRTL"])();
+var emotion_element_699e6908_browser_esm_withEmotionCache = function withEmotionCache(func) {
+  // $FlowFixMe
+  return /*#__PURE__*/(0,external_React_.forwardRef)(function (props, ref) {
+    // the cache will never be null in the browser
+    var cache = (0,external_React_.useContext)(EmotionCacheContext);
+    return func(props, cache, ref);
+  });
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex/hook.js
-/**
- * External dependencies
- */
+var emotion_element_699e6908_browser_esm_ThemeContext = /* #__PURE__ */(0,external_React_.createContext)({});

-/**
- * WordPress dependencies
- */
+if (false) {}

+var useTheme = function useTheme() {
+  return useContext(emotion_element_699e6908_browser_esm_ThemeContext);
+};

+var getTheme = function getTheme(outerTheme, theme) {
+  if (typeof theme === 'function') {
+    var mergedTheme = theme(outerTheme);

-/**
- * Internal dependencies
- */
+    if (false) {}

+    return mergedTheme;
+  }

+  if (false) {}

+  return _extends({}, outerTheme, theme);
+};

+var createCacheWithTheme = /* #__PURE__ */(/* unused pure expression or super */ null && (weakMemoize(function (outerTheme) {
+  return weakMemoize(function (theme) {
+    return getTheme(outerTheme, theme);
+  });
+})));
+var ThemeProvider = function ThemeProvider(props) {
+  var theme = useContext(emotion_element_699e6908_browser_esm_ThemeContext);

+  if (props.theme !== theme) {
+    theme = createCacheWithTheme(theme)(props.theme);
+  }

-/**
- *
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexProps, 'div'>} props
- * @return {import('../../ui/context').WordPressComponentProps<import('../types').FlexProps, 'div'>} Props with the deprecated props removed.
- */
+  return /*#__PURE__*/createElement(emotion_element_699e6908_browser_esm_ThemeContext.Provider, {
+    value: theme
+  }, props.children);
+};
+function withTheme(Component) {
+  var componentName = Component.displayName || Component.name || 'Component';

-function useDeprecatedProps(_ref) {
-  let {
-    isReversed,
-    ...otherProps
-  } = _ref;
+  var render = function render(props, ref) {
+    var theme = useContext(emotion_element_699e6908_browser_esm_ThemeContext);
+    return /*#__PURE__*/createElement(Component, _extends({
+      theme: theme,
+      ref: ref
+    }, props));
+  }; // $FlowFixMe

-  if (typeof isReversed !== 'undefined') {
-    external_wp_deprecated_default()('Flex isReversed', {
-      alternative: 'Flex direction="row-reverse" or "column-reverse"',
-      since: '5.9'
-    });
-    return { ...otherProps,
-      direction: isReversed ? 'row-reverse' : 'row'
-    };
-  }

-  return otherProps;
+  var WithTheme = /*#__PURE__*/forwardRef(render);
+  WithTheme.displayName = "WithTheme(" + componentName + ")";
+  return hoistNonReactStatics(WithTheme, Component);
 }
-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexProps, 'div'>} props
- */

+var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
+  // V8
+  var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);

-function useFlex(props) {
-  const {
-    align = 'center',
-    className,
-    direction: directionProp = 'row',
-    expanded = true,
-    gap = 2,
-    justify = 'space-between',
-    wrap = false,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(useDeprecatedProps(props), 'Flex');
-  const directionAsArray = Array.isArray(directionProp) ? directionProp : [directionProp];
-  const direction = useResponsiveValue(directionAsArray);
-  const isColumn = typeof direction === 'string' && !!direction.includes('column');
-  const isReverse = typeof direction === 'string' && direction.includes('reverse');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    const sx = {};
-    sx.Base = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-      alignItems: isColumn ? 'normal' : align,
-      flexDirection: direction,
-      flexWrap: wrap ? 'wrap' : undefined,
-      justifyContent: justify,
-      height: isColumn && expanded ? '100%' : undefined,
-      width: !isColumn && expanded ? '100%' : undefined,
-      marginBottom: wrap ? `calc(${space(gap)} * -1)` : undefined
-    },  true ? "" : undefined,  true ? "" : undefined);
-    /**
-     * Workaround to optimize DOM rendering.
-     * We'll enhance alignment with naive parent flex assumptions.
-     *
-     * Trade-off:
-     * Far less DOM less. However, UI rendering is not as reliable.
-     */
+  if (match) {
+    // The match may be something like 'Object.createEmotionProps'
+    var parts = match[1].split('.');
+    return parts[parts.length - 1];
+  } // Safari / Firefox

-    sx.Items = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(">*+*:not( marquee ){margin-top:", isColumn ? space(gap) : undefined, ";", rtl_rtl({
-      marginLeft: !isColumn && !isReverse ? space(gap) : undefined,
-      marginRight: !isColumn && isReverse ? space(gap) : undefined
-    })(), ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-    sx.WrapItems = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(">*:not( marquee ){margin-bottom:", space(gap), ";", rtl_rtl({
-      marginLeft: !isColumn && isReverse ? space(gap) : undefined,
-      marginRight: !isColumn && !isReverse ? space(gap) : undefined
-    })(), ";}>*:last-child:not( marquee ){", rtl_rtl({
-      marginLeft: !isColumn && isReverse ? 0 : undefined,
-      marginRight: !isColumn && !isReverse ? 0 : undefined
-    })(), ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-    return cx(Flex, sx.Base, wrap ? sx.WrapItems : sx.Items, isColumn ? ItemsColumn : ItemsRow, className);
-  }, [align, className, direction, expanded, gap, isColumn, isReverse, justify, wrap, rtl_rtl.watch()]);
-  return { ...otherProps,
-    className: classes,
-    isColumn
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex/component.js
+  match = /^([A-Za-z0-9$.]+)@/.exec(line);
+  if (match) return match[1];
+  return undefined;
+};

+var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
+// identifiers, thus we only need to replace what is a valid character for JS,
+// but not for CSS.

+var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
+  return identifier.replace(/\$/g, '-');
+};

-/**
- * Internal dependencies
- */
+var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
+  if (!stackTrace) return undefined;
+  var lines = stackTrace.split('\n');

+  for (var i = 0; i < lines.length; i++) {
+    var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"

+    if (!functionName) continue; // If we reach one of these, we have gone too far and should quit

+    if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
+    // uppercase letter

-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexProps, 'div'>} props
- * @param {import('react').Ref<any>}                                                                forwardedRef
- */
+    if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
+  }

-function component_Flex(props, forwardedRef) {
-  const {
-    children,
-    isColumn,
-    ...otherProps
-  } = useFlex(props);
-  return Object(external_wp_element_["createElement"])(FlexContext.Provider, {
-    value: {
-      flexItemDisplay: isColumn ? 'block' : undefined
-    }
-  }, Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, otherProps, {
-    ref: forwardedRef
-  }), children));
-}
-/**
- * `Flex` is a primitive layout component that adaptively aligns child content
- * horizontally or vertically. `Flex` powers components like `HStack` and
- * `VStack`.
- *
- * `Flex` is used with any of it's two sub-components, `FlexItem` and `FlexBlock`.
- *
- * @example
- * ```jsx
- * import {
- * 	__experimentalFlex as Flex,
- * 	__experimentalFlexBlock as FlexBlock,
- * 	__experimentalFlexItem as FlexItem,
- * 	__experimentalText as Text
- * } from `@wordpress/components`;
- *
- * function Example() {
- * 	return (
- * 		<Flex>
- * 			<FlexItem>
- * 				<Text>Code</Text>
- * 			</FlexItem>
- * 			<FlexBlock>
- * 				<Text>Poetry</Text>
- * 			</FlexBlock>
- * 		</Flex>
- * 	);
- * }
- * ```
- *
- */
+  return undefined;
+};

+var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
+var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
+var emotion_element_699e6908_browser_esm_createEmotionProps = function createEmotionProps(type, props) {
+  if (false) {}

-const ConnectedFlex = Object(context_connect["a" /* contextConnect */])(component_Flex, 'Flex');
-/* harmony default export */ var flex_component = (ConnectedFlex);
+  var newProps = {};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/truncate/styles.js
-function truncate_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+  for (var key in props) {
+    if (emotion_element_699e6908_browser_esm_hasOwnProperty.call(props, key)) {
+      newProps[key] = props[key];
+    }
+  }

-/**
- * External dependencies
- */
+  newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
+  // the label hasn't already been computed

-const Truncate =  true ? {
-  name: "hdknak",
-  styles: "display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"
-} : undefined;
+  if (false) { var label; }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/truncate/utils.js
-/**
- * External dependencies
- */
+  return newProps;
+};

-const TRUNCATE_ELLIPSIS = '…';
-const TRUNCATE_TYPE = {
-  auto: 'auto',
-  head: 'head',
-  middle: 'middle',
-  tail: 'tail',
-  none: 'none'
+var Noop = function Noop() {
+  return null;
 };
-const TRUNCATE_DEFAULT_PROPS = {
-  ellipsis: TRUNCATE_ELLIPSIS,
-  ellipsizeMode: TRUNCATE_TYPE.auto,
-  limit: 0,
-  numberOfLines: 0
-}; // Source
-// https://github.com/kahwee/truncate-middle

-/**
- * @param {string} word
- * @param {number} headLength
- * @param {number} tailLength
- * @param {string} ellipsis
- */
+var emotion_element_699e6908_browser_esm_Emotion = /* #__PURE__ */(/* unused pure expression or super */ null && (emotion_element_699e6908_browser_esm_withEmotionCache(function (props, cache, ref) {
+  var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
+  // not passing the registered cache to serializeStyles because it would
+  // make certain babel optimisations not possible

-function truncateMiddle(word, headLength, tailLength, ellipsis) {
-  if (typeof word !== 'string') {
-    return '';
+  if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
+    cssProp = cache.registered[cssProp];
   }

-  const wordLength = word.length; // Setting default values
-  // eslint-disable-next-line no-bitwise
+  var type = props[typePropName];
+  var registeredStyles = [cssProp];
+  var className = '';

-  const frontLength = ~~headLength; // will cast to integer
-  // eslint-disable-next-line no-bitwise
+  if (typeof props.className === 'string') {
+    className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
+  } else if (props.className != null) {
+    className = props.className + " ";
+  }

-  const backLength = ~~tailLength;
-  /* istanbul ignore next */
+  var serialized = serializeStyles(registeredStyles, undefined, useContext(emotion_element_699e6908_browser_esm_ThemeContext));

-  const truncateStr = !Object(external_lodash_["isNil"])(ellipsis) ? ellipsis : TRUNCATE_ELLIPSIS;
+  if (false) { var labelFromStack; }

-  if (frontLength === 0 && backLength === 0 || frontLength >= wordLength || backLength >= wordLength || frontLength + backLength >= wordLength) {
-    return word;
-  } else if (backLength === 0) {
-    return word.slice(0, frontLength) + truncateStr;
-  }
+  var rules = insertStyles(cache, serialized, typeof type === 'string');
+  className += cache.key + "-" + serialized.name;
+  var newProps = {};

-  return word.slice(0, frontLength) + truncateStr + word.slice(wordLength - backLength);
-}
-/**
- *
- * @param {string}                        words
- * @param {typeof TRUNCATE_DEFAULT_PROPS} props
- */
+  for (var key in props) {
+    if (emotion_element_699e6908_browser_esm_hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && ( true || 0)) {
+      newProps[key] = props[key];
+    }
+  }

-function truncateContent() {
-  let words = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
-  let props = arguments.length > 1 ? arguments[1] : undefined;
-  const mergedProps = { ...TRUNCATE_DEFAULT_PROPS,
-    ...props
-  };
-  const {
-    ellipsis,
-    ellipsizeMode,
-    limit
-  } = mergedProps;
+  newProps.ref = ref;
+  newProps.className = className;
+  var ele = /*#__PURE__*/createElement(type, newProps);
+  var possiblyStyleElement = /*#__PURE__*/createElement(Noop, null);

-  if (ellipsizeMode === TRUNCATE_TYPE.none) {
-    return words;
-  }

-  let truncateHead;
-  let truncateTail;
+  return /*#__PURE__*/createElement(Fragment, null, possiblyStyleElement, ele);
+})));

-  switch (ellipsizeMode) {
-    case TRUNCATE_TYPE.head:
-      truncateHead = 0;
-      truncateTail = limit;
-      break;
+if (false) {}

-    case TRUNCATE_TYPE.middle:
-      truncateHead = Math.floor(limit / 2);
-      truncateTail = Math.floor(limit / 2);
-      break;

-    default:
-      truncateHead = limit;
-      truncateTail = 0;
-  }

-  const truncatedContent = ellipsizeMode !== TRUNCATE_TYPE.auto ? truncateMiddle(words, truncateHead, truncateTail, ellipsis) : words;
-  return truncatedContent;
+;// CONCATENATED MODULE: ./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
+var isBrowser = "object" !== 'undefined';
+function emotion_utils_browser_esm_getRegisteredStyles(registered, registeredStyles, classNames) {
+  var rawClassName = '';
+  classNames.split(' ').forEach(function (className) {
+    if (registered[className] !== undefined) {
+      registeredStyles.push(registered[className] + ";");
+    } else {
+      rawClassName += className + " ";
+    }
+  });
+  return rawClassName;
 }
+var emotion_utils_browser_esm_insertStyles = function insertStyles(cache, serialized, isStringTag) {
+  var className = cache.key + "-" + serialized.name;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/truncate/hook.js
-/**
- * External dependencies
- */
+  if ( // we only need to add the styles to the registered cache if the
+  // class name could be used further down
+  // the tree but if it's a string tag, we know it won't
+  // so we don't have to add it to registered cache.
+  // this improves memory usage since we can avoid storing the whole style string
+  (isStringTag === false || // we need to always store it if we're in compat mode and
+  // in node since emotion-server relies on whether a style is in
+  // the registered cache to know whether a style is global or not
+  // also, note that this check will be dead code eliminated in the browser
+  isBrowser === false ) && cache.registered[className] === undefined) {
+    cache.registered[className] = serialized.styles;
+  }

-/**
- * WordPress dependencies
- */
+  if (cache.inserted[serialized.name] === undefined) {
+    var current = serialized;

+    do {
+      var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);

-/**
- * Internal dependencies
- */
+      current = current.next;
+    } while (current !== undefined);
+  }
+};



+;// CONCATENATED MODULE: ./node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js


-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'span'>} props
- */

-function useTruncate(props) {
-  const {
-    className,
-    children,
-    ellipsis = TRUNCATE_ELLIPSIS,
-    ellipsizeMode = TRUNCATE_TYPE.auto,
-    limit = 0,
-    numberOfLines = 0,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Truncate');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const truncatedContent = truncateContent(typeof children === 'string' ?
-  /** @type {string} */
-  children : '', {
-    ellipsis,
-    ellipsizeMode,
-    limit,
-    numberOfLines
-  });
-  const shouldTruncate = ellipsizeMode === TRUNCATE_TYPE.auto;
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    const sx = {};
-    sx.numberOfLines = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("-webkit-box-orient:vertical;-webkit-line-clamp:", numberOfLines, ";display:-webkit-box;overflow:hidden;" + ( true ? "" : undefined),  true ? "" : undefined);
-    return cx(shouldTruncate && !numberOfLines && Truncate, shouldTruncate && !!numberOfLines && sx.numberOfLines, className);
-  }, [className, numberOfLines, shouldTruncate]);
-  return { ...otherProps,
-    className: classes,
-    children: truncatedContent
-  };
+
+function insertWithoutScoping(cache, serialized) {
+  if (cache.inserted[serialized.name] === undefined) {
+    return cache.insert('', serialized, cache.sheet, true);
+  }
 }

-// EXTERNAL MODULE: ./node_modules/memize/index.js
-var memize = __webpack_require__("4eJC");
-var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
+function merge(registered, css, className) {
+  var registeredStyles = [];
+  var rawClassName = emotion_utils_browser_esm_getRegisteredStyles(registered, registeredStyles, className);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/colors.js
-/**
- * External dependencies
- */
+  if (registeredStyles.length < 2) {
+    return className;
+  }

+  return rawClassName + css(registeredStyles);
+}

+var createEmotion = function createEmotion(options) {
+  var cache = emotion_cache_browser_esm(options); // $FlowFixMe

-/** @type {HTMLDivElement} */
+  cache.sheet.speedy = function (value) {
+    if (false) {}

-let colorComputationNode;
-Object(colord["b" /* extend */])([names["a" /* default */]]);
-/**
- * @return {HTMLDivElement | undefined} The HTML element for color computation.
- */
+    this.isSpeedy = value;
+  };

-function getColorComputationNode() {
-  if (typeof document === 'undefined') return;
+  cache.compat = true;

-  if (!colorComputationNode) {
-    // Create a temporary element for style computation.
-    const el = document.createElement('div');
-    el.setAttribute('data-g2-color-computation-node', ''); // Inject for window computed style.
+  var css = function css() {
+    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+      args[_key] = arguments[_key];
+    }

-    document.body.appendChild(el);
-    colorComputationNode = el;
-  }
+    var serialized = emotion_serialize_browser_esm_serializeStyles(args, cache.registered, undefined);
+    emotion_utils_browser_esm_insertStyles(cache, serialized, false);
+    return cache.key + "-" + serialized.name;
+  };

-  return colorComputationNode;
-}
-/**
- * @param {string | unknown} value
- *
- * @return {boolean} Whether the value is a valid color.
- */
+  var keyframes = function keyframes() {
+    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+      args[_key2] = arguments[_key2];
+    }

+    var serialized = emotion_serialize_browser_esm_serializeStyles(args, cache.registered);
+    var animation = "animation-" + serialized.name;
+    insertWithoutScoping(cache, {
+      name: serialized.name,
+      styles: "@keyframes " + animation + "{" + serialized.styles + "}"
+    });
+    return animation;
+  };

-function isColor(value) {
-  if (typeof value !== 'string') return false;
-  const test = Object(colord["a" /* colord */])(value);
-  return test.isValid();
-}
-/**
- * Retrieves the computed background color. This is useful for getting the
- * value of a CSS variable color.
- *
- * @param {string | unknown} backgroundColor The background color to compute.
- *
- * @return {string} The computed background color.
- */
+  var injectGlobal = function injectGlobal() {
+    for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
+      args[_key3] = arguments[_key3];
+    }

+    var serialized = emotion_serialize_browser_esm_serializeStyles(args, cache.registered);
+    insertWithoutScoping(cache, serialized);
+  };

-function _getComputedBackgroundColor(backgroundColor) {
-  var _window;
+  var cx = function cx() {
+    for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
+      args[_key4] = arguments[_key4];
+    }

-  if (typeof backgroundColor !== 'string') return '';
-  if (isColor(backgroundColor)) return backgroundColor;
-  if (!backgroundColor.includes('var(')) return '';
-  if (typeof document === 'undefined') return ''; // Attempts to gracefully handle CSS variables color values.
+    return merge(cache.registered, css, emotion_css_create_instance_esm_classnames(args));
+  };

-  const el = getColorComputationNode();
-  if (!el) return '';
-  el.style.background = backgroundColor; // Grab the style
+  return {
+    css: css,
+    cx: cx,
+    injectGlobal: injectGlobal,
+    keyframes: keyframes,
+    hydrate: function hydrate(ids) {
+      ids.forEach(function (key) {
+        cache.inserted[key] = true;
+      });
+    },
+    flush: function flush() {
+      cache.registered = {};
+      cache.inserted = {};
+      cache.sheet.flush();
+    },
+    // $FlowFixMe
+    sheet: cache.sheet,
+    cache: cache,
+    getRegisteredStyles: emotion_utils_browser_esm_getRegisteredStyles.bind(null, cache.registered),
+    merge: merge.bind(null, cache.registered, css)
+  };
+};

-  const computedColor = (_window = window) === null || _window === void 0 ? void 0 : _window.getComputedStyle(el).background; // Reset
+var emotion_css_create_instance_esm_classnames = function classnames(args) {
+  var cls = '';

-  el.style.background = '';
-  return computedColor || '';
-}
+  for (var i = 0; i < args.length; i++) {
+    var arg = args[i];
+    if (arg == null) continue;
+    var toAdd = void 0;

-const getComputedBackgroundColor = memize_default()(_getComputedBackgroundColor);
-/**
- * Get the text shade optimized for readability, based on a background color.
- *
- * @param {string | unknown} backgroundColor The background color.
- *
- * @return {string} The optimized text color (black or white).
- */
+    switch (typeof arg) {
+      case 'boolean':
+        break;

-function getOptimalTextColor(backgroundColor) {
-  const background = getComputedBackgroundColor(backgroundColor);
-  return Object(colord["a" /* colord */])(background).isLight() ? '#000000' : '#ffffff';
-}
-/**
- * Get the text shade optimized for readability, based on a background color.
- *
- * @param {string | unknown} backgroundColor The background color.
- *
- * @return {string} The optimized text shade (dark or light).
- */
+      case 'object':
+        {
+          if (Array.isArray(arg)) {
+            toAdd = classnames(arg);
+          } else {
+            toAdd = '';

-function getOptimalTextShade(backgroundColor) {
-  const result = getOptimalTextColor(backgroundColor);
-  return result === '#000000' ? 'dark' : 'light';
-}
+            for (var k in arg) {
+              if (arg[k] && k) {
+                toAdd && (toAdd += ' ');
+                toAdd += k;
+              }
+            }
+          }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/config-values.js
-/**
- * Internal dependencies
- */
+          break;
+        }

+      default:
+        {
+          toAdd = arg;
+        }
+    }

-const CONTROL_HEIGHT = '36px';
-const CONTROL_PADDING_X = '12px';
-const CONTROL_PROPS = {
-  controlSurfaceColor: COLORS.white,
-  controlTextActiveColor: COLORS.ui.theme,
-  controlPaddingX: CONTROL_PADDING_X,
-  controlPaddingXLarge: `calc(${CONTROL_PADDING_X} * 1.3334)`,
-  controlPaddingXSmall: `calc(${CONTROL_PADDING_X} / 1.3334)`,
-  controlBackgroundColor: COLORS.white,
-  controlBorderRadius: '2px',
-  controlBorderColor: COLORS.gray[700],
-  controlBoxShadow: 'transparent',
-  controlBorderColorHover: COLORS.gray[700],
-  controlBoxShadowFocus: `0 0 0 0.5px ${COLORS.admin.theme}`,
-  controlDestructiveBorderColor: COLORS.alert.red,
-  controlHeight: CONTROL_HEIGHT,
-  controlHeightXSmall: `calc( ${CONTROL_HEIGHT} * 0.6 )`,
-  controlHeightSmall: `calc( ${CONTROL_HEIGHT} * 0.8 )`,
-  controlHeightLarge: `calc( ${CONTROL_HEIGHT} * 1.2 )`,
-  controlHeightXLarge: `calc( ${CONTROL_HEIGHT} * 1.4 )`
-};
-const TOGGLE_GROUP_CONTROL_PROPS = {
-  toggleGroupControlBackgroundColor: CONTROL_PROPS.controlBackgroundColor,
-  toggleGroupControlBorderColor: COLORS.ui.border,
-  toggleGroupControlBackdropBackgroundColor: CONTROL_PROPS.controlSurfaceColor,
-  toggleGroupControlBackdropBorderColor: COLORS.ui.border,
-  toggleGroupControlBackdropBoxShadow: 'transparent',
-  toggleGroupControlButtonColorActive: CONTROL_PROPS.controlBackgroundColor
-};
-/* harmony default export */ var config_values = ({ ...CONTROL_PROPS,
-  ...TOGGLE_GROUP_CONTROL_PROPS,
-  colorDivider: 'rgba(0, 0, 0, 0.1)',
-  colorScrollbarThumb: 'rgba(0, 0, 0, 0.2)',
-  colorScrollbarThumbHover: 'rgba(0, 0, 0, 0.5)',
-  colorScrollbarTrack: 'rgba(0, 0, 0, 0.04)',
-  elevationIntensity: 1,
-  radiusBlockUi: '2px',
-  borderWidth: '1px',
-  borderWidthFocus: '1.5px',
-  borderWidthTab: '4px',
-  spinnerSize: '18px',
-  fontSize: '13px',
-  fontSizeH1: 'calc(2.44 * 13px)',
-  fontSizeH2: 'calc(1.95 * 13px)',
-  fontSizeH3: 'calc(1.56 * 13px)',
-  fontSizeH4: 'calc(1.25 * 13px)',
-  fontSizeH5: '13px',
-  fontSizeH6: 'calc(0.8 * 13px)',
-  fontSizeInputMobile: '16px',
-  fontSizeMobile: '15px',
-  fontSizeSmall: 'calc(0.92 * 13px)',
-  fontSizeXSmall: 'calc(0.75 * 13px)',
-  fontLineHeightBase: '1.2',
-  fontWeight: 'normal',
-  fontWeightHeading: '600',
-  gridBase: '4px',
-  cardBorderRadius: '2px',
-  cardPaddingXSmall: `${space(2)}`,
-  cardPaddingSmall: `${space(4)}`,
-  cardPaddingMedium: `${space(4)} ${space(6)}`,
-  cardPaddingLarge: `${space(6)} ${space(8)}`,
-  surfaceBackgroundColor: COLORS.white,
-  surfaceBackgroundSubtleColor: '#F3F3F3',
-  surfaceBackgroundTintColor: '#F5F5F5',
-  surfaceBorderColor: 'rgba(0, 0, 0, 0.1)',
-  surfaceBorderBoldColor: 'rgba(0, 0, 0, 0.15)',
-  surfaceBorderSubtleColor: 'rgba(0, 0, 0, 0.05)',
-  surfaceBackgroundTertiaryColor: COLORS.white,
-  surfaceColor: COLORS.white,
-  transitionDuration: '200ms',
-  transitionDurationFast: '160ms',
-  transitionDurationFaster: '120ms',
-  transitionDurationFastest: '100ms',
-  transitionTimingFunction: 'cubic-bezier(0.08, 0.52, 0.52, 1)',
-  transitionTimingFunctionControl: 'cubic-bezier(0.12, 0.8, 0.32, 1)'
-});
+    if (toAdd) {
+      cls && (cls += ' ');
+      cls += toAdd;
+    }
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/styles.js
-function text_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+  return cls;
+};

-/**
- * External dependencies
- */
+/* harmony default export */ var emotion_css_create_instance_esm = (createEmotion);

-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@emotion/css/dist/emotion-css.esm.js


-const Text = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("color:", COLORS.darkGray.primary, ";line-height:", config_values.fontLineHeightBase, ";margin:0;" + ( true ? "" : undefined),  true ? "" : undefined);
-const styles_block =  true ? {
-  name: "4zleql",
-  styles: "display:block"
-} : undefined;
-const positive = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("color:", COLORS.alert.green, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const destructive = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("color:", COLORS.alert.red, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const styles_muted = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("color:", COLORS.mediumGray.text, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const highlighterText = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("mark{background:", COLORS.alert.yellow, ";border-radius:2px;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}" + ( true ? "" : undefined),  true ? "" : undefined);
-const styles_upperCase =  true ? {
-  name: "50zrmy",
-  styles: "text-transform:uppercase"
-} : undefined;

-// EXTERNAL MODULE: ./node_modules/highlight-words-core/dist/index.js
-var dist = __webpack_require__("5V/u");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/utils.js
-/**
- * External dependencies
- */

+var _createEmotion = emotion_css_create_instance_esm({
+  key: 'css'
+}),
+    flush = _createEmotion.flush,
+    hydrate = _createEmotion.hydrate,
+    emotion_css_esm_cx = _createEmotion.cx,
+    emotion_css_esm_merge = _createEmotion.merge,
+    emotion_css_esm_getRegisteredStyles = _createEmotion.getRegisteredStyles,
+    injectGlobal = _createEmotion.injectGlobal,
+    keyframes = _createEmotion.keyframes,
+    css = _createEmotion.css,
+    sheet = _createEmotion.sheet,
+    cache = _createEmotion.cache;

-/**
- * WordPress dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-cx.js
 /**
- * Source:
- * https://github.com/bvaughn/react-highlight-words/blob/HEAD/src/Highlighter.js
+ * External dependencies
  */

-/* eslint-disable jsdoc/valid-types */
+ // eslint-disable-next-line no-restricted-imports

-/**
- * @typedef Options
- * @property {string}                                                     [activeClassName='']      Classname for active highlighted areas.
- * @property {number}                                                     [activeIndex=-1]          The index of the active highlighted area.
- * @property {import('react').AllHTMLAttributes<HTMLDivElement>['style']} [activeStyle]             Styles to apply to the active highlighted area.
- * @property {boolean}                                                    [autoEscape]              Whether to automatically escape text.
- * @property {boolean}                                                    [caseSensitive=false]     Whether to highlight in a case-sensitive manner.
- * @property {string}                                                     children                  Children to highlight.
- * @property {import('highlight-words-core').FindAllArgs['findChunks']}   [findChunks]              Custom `findChunks` function to pass to `highlight-words-core`.
- * @property {string | Record<string, unknown>}                           [highlightClassName='']   Classname to apply to highlighted text or a Record of classnames to apply to given text (which should be the key).
- * @property {import('react').AllHTMLAttributes<HTMLDivElement>['style']} [highlightStyle={}]       Styles to apply to highlighted text.
- * @property {keyof JSX.IntrinsicElements}                                [highlightTag='mark']     Tag to use for the highlighted text.
- * @property {import('highlight-words-core').FindAllArgs['sanitize']}     [sanitize]                Custom `santize` function to pass to `highlight-words-core`.
- * @property {string[]}                                                   [searchWords=[]]          Words to search for and highlight.
- * @property {string}                                                     [unhighlightClassName=''] Classname to apply to unhighlighted text.
- * @property {import('react').AllHTMLAttributes<HTMLDivElement>['style']} [unhighlightStyle]        Style to apply to unhighlighted text.
- */

 /**
- * Maps props to lowercase names.
- *
- * @template {Record<string, unknown>} T
- * @param {T} object Props to map.
- * @return {{[K in keyof T as Lowercase<string & K>]: T[K]}} The mapped props.
+ * WordPress dependencies
  */

-/* eslint-enable jsdoc/valid-types */
-
-const lowercaseProps = object => {
-  /** @type {any} */
-  const mapped = {};
-
-  for (const key in object) {
-    mapped[key.toLowerCase()] = object[key];
-  }

-  return mapped;
-};

-const memoizedLowercaseProps = memize_default()(lowercaseProps);
+const isSerializedStyles = o => typeof o !== 'undefined' && o !== null && ['name', 'styles'].every(p => typeof o[p] !== 'undefined');
 /**
+ * Retrieve a `cx` function that knows how to handle `SerializedStyles`
+ * returned by the `@emotion/react` `css` function in addition to what
+ * `cx` normally knows how to handle. It also hooks into the Emotion
+ * Cache, allowing `css` calls to work inside iframes.
  *
- * @param {Options} options
+ * @example
+ * import { css } from '@emotion/react';
+ *
+ * const styles = css`
+ * 	color: red
+ * `;
+ *
+ * function RedText( { className, ...props } ) {
+ * 	const cx = useCx();
+ *
+ * 	const classes = cx(styles, className);
+ *
+ * 	return <span className={classes} {...props} />;
+ * }
  */

-function createHighlighterText(_ref) {
-  let {
-    activeClassName = '',
-    activeIndex = -1,
-    activeStyle,
-    autoEscape,
-    caseSensitive = false,
-    children,
-    findChunks,
-    highlightClassName = '',
-    highlightStyle = {},
-    highlightTag = 'mark',
-    sanitize,
-    searchWords = [],
-    unhighlightClassName = '',
-    unhighlightStyle
-  } = _ref;
-  if (!children) return null;
-  if (typeof children !== 'string') return children;
-  const textToHighlight = children;
-  const chunks = Object(dist["findAll"])({
-    autoEscape,
-    caseSensitive,
-    findChunks,
-    sanitize,
-    searchWords,
-    textToHighlight
-  });
-  const HighlightTag = highlightTag;
-  let highlightIndex = -1;
-  let highlightClassNames = '';
-  let highlightStyles;
-  const textContent = chunks.map((chunk, index) => {
-    const text = textToHighlight.substr(chunk.start, chunk.end - chunk.start);
-
-    if (chunk.highlight) {
-      highlightIndex++;
-      let highlightClass;
-
-      if (typeof highlightClassName === 'object') {
-        if (!caseSensitive) {
-          highlightClassName = memoizedLowercaseProps(highlightClassName);
-          highlightClass = highlightClassName[text.toLowerCase()];
-        } else {
-          highlightClass = highlightClassName[text];
-        }
-      } else {
-        highlightClass = highlightClassName;
-      }

-      const isActive = highlightIndex === +activeIndex;
-      highlightClassNames = `${highlightClass} ${isActive ? activeClassName : ''}`;
-      highlightStyles = isActive === true && activeStyle !== null ? Object.assign({}, highlightStyle, activeStyle) : highlightStyle;
-      /** @type {Record<string, any>} */
+const useCx = () => {
+  const cache = __unsafe_useEmotionCache();
+  const cx = (0,external_wp_element_namespaceObject.useCallback)(function () {
+    if (cache === null) {
+      throw new Error('The `useCx` hook should be only used within a valid Emotion Cache Context');
+    }

-      const props = {
-        children: text,
-        className: highlightClassNames,
-        key: index,
-        style: highlightStyles
-      }; // Don't attach arbitrary props to DOM elements; this triggers React DEV warnings (https://fb.me/react-unknown-prop)
-      // Only pass through the highlightIndex attribute for custom components.
+    for (var _len = arguments.length, classNames = new Array(_len), _key = 0; _key < _len; _key++) {
+      classNames[_key] = arguments[_key];
+    }

-      if (typeof HighlightTag !== 'string') {
-        props.highlightIndex = highlightIndex;
+    return emotion_css_esm_cx(...classNames.map(arg => {
+      if (isSerializedStyles(arg)) {
+        emotion_utils_browser_esm_insertStyles(cache, arg, false);
+        return `${cache.key}-${arg.name}`;
       }

-      return Object(external_wp_element_["createElement"])(HighlightTag, props);
-    }
-
-    return Object(external_wp_element_["createElement"])('span', {
-      children: text,
-      className: unhighlightClassName,
-      key: index,
-      style: unhighlightStyle
-    });
-  });
-  return textContent;
-}
+      return arg;
+    }));
+  }, [cache]);
+  return cx;
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/font-size.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/context/use-context-system.js
 /**
- * External dependencies
+ * WordPress dependencies
  */
-// eslint-disable-next-line no-restricted-imports

 /**
  * Internal dependencies
  */

-const BASE_FONT_SIZE = 13;
-const PRESET_FONT_SIZES = {
-  body: BASE_FONT_SIZE,
-  caption: 10,
-  footnote: 11,
-  largeTitle: 28,
-  subheadline: 12,
-  title: 20
-};
-const HEADING_FONT_SIZES = [1, 2, 3, 4, 5, 6].flatMap(n => [n, n.toString()]);
-function getFontSize() {
-  let size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : BASE_FONT_SIZE;
-
-  if (size in PRESET_FONT_SIZES) {
-    return getFontSize(PRESET_FONT_SIZES[size]);
-  }
-
-  if (typeof size !== 'number') {
-    const parsed = parseFloat(size);
-    if (Number.isNaN(parsed)) return size;
-    size = parsed;
-  }

-  const ratio = `(${size} / ${BASE_FONT_SIZE})`;
-  return `calc(${ratio} * ${config_values.fontSize})`;
-}
-function getHeadingFontSize() {
-  let size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 3;

-  if (!HEADING_FONT_SIZES.includes(size)) {
-    return getFontSize(size);
-  }

-  const headingSize = `fontSizeH${size}`;
-  return config_values[headingSize];
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/get-line-height.js
 /**
- * External dependencies
+ * @template TProps
+ * @typedef {TProps & { className: string }} ConnectedProps
  */
-// eslint-disable-next-line no-restricted-imports

 /**
- * Internal dependencies
+ * Custom hook that derives registered props from the Context system.
+ * These derived props are then consolidated with incoming component props.
+ *
+ * @template {{ className?: string }} P
+ * @param {P}      props     Incoming props from the component.
+ * @param {string} namespace The namespace to register and to derive context props from.
+ * @return {ConnectedProps<P>} The connected props.
  */

+function useContextSystem(props, namespace) {
+  const contextSystemProps = useComponentsContext();

-function getLineHeight(adjustLineHeightForInnerControls, lineHeight) {
-  if (lineHeight) return lineHeight;
-  if (!adjustLineHeightForInnerControls) return;
-  let value = `calc(${config_values.controlHeight} + ${space(2)})`;
+  if (typeof namespace === 'undefined') {
+    typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0;
+  }

-  switch (adjustLineHeightForInnerControls) {
-    case 'large':
-      value = `calc(${config_values.controlHeightLarge} + ${space(2)})`;
-      break;
+  const contextProps = (contextSystemProps === null || contextSystemProps === void 0 ? void 0 : contextSystemProps[namespace]) || {};
+  /* eslint-disable jsdoc/no-undefined-types */

-    case 'small':
-      value = `calc(${config_values.controlHeightSmall} + ${space(2)})`;
-      break;
+  /** @type {ConnectedProps<P>} */
+  // @ts-ignore We fill in the missing properties below

-    case 'xSmall':
-      value = `calc(${config_values.controlHeightXSmall} + ${space(2)})`;
-      break;
+  const finalComponentProps = { ...getConnectedNamespace(),
+    ...getNamespace(namespace)
+  };
+  /* eslint-enable jsdoc/no-undefined-types */

-    default:
-      break;
+  const {
+    _overrides: overrideProps,
+    ...otherContextProps
+  } = contextProps;
+  const initialMergedProps = Object.entries(otherContextProps).length ? Object.assign({}, otherContextProps, props) : props;
+  const cx = useCx();
+  const classes = cx(getStyledClassNameFromKey(namespace), props.className); // Provides the ability to customize the render of the component.
+
+  const rendered = typeof initialMergedProps.renderChildren === 'function' ? initialMergedProps.renderChildren(initialMergedProps) : initialMergedProps.children;
+
+  for (const key in initialMergedProps) {
+    // @ts-ignore filling in missing props
+    finalComponentProps[key] = initialMergedProps[key];
   }

-  return value;
-}
+  for (const key in overrideProps) {
+    // @ts-ignore filling in missing props
+    finalComponentProps[key] = overrideProps[key];
+  } // @ts-ignore

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/hook.js
-function hook_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

+  finalComponentProps.children = rendered;
+  finalComponentProps.className = classes;
+  return finalComponentProps;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/context/context-connect.js
 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */


+
 /**
  * Internal dependencies
  */



+/* eslint-disable jsdoc/valid-types */

+/**
+ * Forwards ref (React.ForwardRef) and "Connects" (or registers) a component
+ * within the Context system under a specified namespace.
+ *
+ * This is an (experimental) evolution of the initial connect() HOC.
+ * The hope is that we can improve render performance by removing functional
+ * component wrappers.
+ *
+ * @template {import('./wordpress-component').WordPressComponentProps<{}, any, any>} P
+ * @param {(props: P, ref: import('react').Ref<any>) => JSX.Element | null} Component            The component to register into the Context system.
+ * @param {string}                                                          namespace            The namespace to register the component under.
+ * @param {Object}                                                          options
+ * @param {boolean}                                                         [options.memo=false]
+ * @return {import('./wordpress-component').WordPressComponentFromProps<P>} The connected WordPressComponent
+ */

+function contextConnect(Component, namespace) {
+  let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};

+  /* eslint-enable jsdoc/valid-types */
+  const {
+    memo: memoProp = false
+  } = options;
+  let WrappedComponent = (0,external_wp_element_namespaceObject.forwardRef)(Component);

+  if (memoProp) {
+    // @ts-ignore
+    WrappedComponent = (0,external_wp_element_namespaceObject.memo)(WrappedComponent);
+  }

+  if (typeof namespace === 'undefined') {
+    typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0;
+  } // @ts-ignore internal property


-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'span'>} props
- */
+  let mergedNamespace = WrappedComponent[CONNECT_STATIC_NAMESPACE] || [namespace];
+  /**
+   * Consolidate (merge) namespaces before attaching it to the WrappedComponent.
+   */

-var hook_ref =  true ? {
-  name: "50zrmy",
-  styles: "text-transform:uppercase"
-} : undefined;
+  if (Array.isArray(namespace)) {
+    mergedNamespace = [...mergedNamespace, ...namespace];
+  }

-function useText(props) {
-  const {
-    adjustLineHeightForInnerControls,
-    align,
-    children,
-    className,
-    color,
-    ellipsizeMode,
-    isDestructive = false,
-    display,
-    highlightEscape = false,
-    highlightCaseSensitive = false,
-    highlightWords,
-    highlightSanitize,
-    isBlock = false,
-    letterSpacing,
-    lineHeight: lineHeightProp,
-    optimizeReadabilityFor,
-    size,
-    truncate = false,
-    upperCase = false,
-    variant,
-    weight = config_values.fontWeight,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Text');
-  /** @type {import('react').ReactNode} */
+  if (typeof namespace === 'string') {
+    mergedNamespace = [...mergedNamespace, namespace];
+  }

-  let content = children;
-  const isHighlighter = Array.isArray(highlightWords);
-  const isCaption = size === 'caption';
+  WrappedComponent.displayName = namespace; // @ts-ignore internal property

-  if (isHighlighter) {
-    if (typeof children !== 'string') {
-      throw new TypeError('`children` of `Text` must only be `string` types when `highlightWords` is defined');
-    }
+  WrappedComponent[CONNECT_STATIC_NAMESPACE] = (0,external_lodash_namespaceObject.uniq)(mergedNamespace); // @ts-ignore WordPressComponent property

-    content = createHighlighterText({
-      autoEscape: highlightEscape,
-      // Disable reason: We need to disable this otherwise it erases the cast
-      // eslint-disable-next-line object-shorthand
-      children:
-      /** @type {string} */
-      children,
-      caseSensitive: highlightCaseSensitive,
-      searchWords: highlightWords,
-      sanitize: highlightSanitize
-    });
-  }
+  WrappedComponent.selector = `.${getStyledClassNameFromKey(namespace)}`; // @ts-ignore

-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    const sx = {};
-    const lineHeight = getLineHeight(adjustLineHeightForInnerControls, lineHeightProp);
-    sx.Base = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-      color,
-      display,
-      fontSize: getFontSize(size),
+  return WrappedComponent;
+}
+/**
+ * Attempts to retrieve the connected namespace from a component.
+ *
+ * @param {import('react').ReactChild | undefined | {}} Component The component to retrieve a namespace from.
+ * @return {Array<string>} The connected namespaces.
+ */

-      /* eslint-disable jsdoc/valid-types */
-      fontWeight:
-      /** @type {import('react').CSSProperties['fontWeight']} */
-      weight,
+function getConnectNamespace(Component) {
+  if (!Component) return [];
+  let namespaces = []; // @ts-ignore internal property

-      /* eslint-enable jsdoc/valid-types */
-      lineHeight,
-      letterSpacing,
-      textAlign: align
-    },  true ? "" : undefined,  true ? "" : undefined);
-    sx.upperCase = hook_ref;
-    sx.optimalTextColor = null;
+  if (Component[CONNECT_STATIC_NAMESPACE]) {
+    // @ts-ignore internal property
+    namespaces = Component[CONNECT_STATIC_NAMESPACE];
+  } // @ts-ignore

-    if (optimizeReadabilityFor) {
-      const isOptimalTextColorDark = getOptimalTextShade(optimizeReadabilityFor) === 'dark';
-      sx.optimalTextColor = isOptimalTextColorDark ? /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-        color: COLORS.black
-      },  true ? "" : undefined,  true ? "" : undefined) : /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-        color: COLORS.white
-      },  true ? "" : undefined,  true ? "" : undefined);
-    }

-    return cx(Text, sx.Base, sx.optimalTextColor, isDestructive && destructive, !!isHighlighter && highlighterText, isBlock && styles_block, isCaption && styles_muted, variant && text_styles_namespaceObject[variant], upperCase && sx.upperCase, className);
-  }, [adjustLineHeightForInnerControls, align, className, color, display, isBlock, isCaption, isDestructive, isHighlighter, letterSpacing, lineHeightProp, optimizeReadabilityFor, size, upperCase, variant, weight]);
-  /** @type {undefined | 'auto' | 'none'} */
+  if (Component.type && Component.type[CONNECT_STATIC_NAMESPACE]) {
+    // @ts-ignore
+    namespaces = Component.type[CONNECT_STATIC_NAMESPACE];
+  }

-  let finalEllipsizeMode;
+  return namespaces;
+}
+/**
+ * Checks to see if a component is connected within the Context system.
+ *
+ * @param {import('react').ReactNode} Component The component to retrieve a namespace from.
+ * @param {Array<string>|string}      match     The namespace to check.
+ * @return {boolean} The result.
+ */

-  if (truncate === true) {
-    finalEllipsizeMode = 'auto';
+function hasConnectNamespace(Component, match) {
+  if (!Component) return false;
+
+  if (typeof match === 'string') {
+    return getConnectNamespace(Component).includes(match);
   }

-  if (truncate === false) {
-    finalEllipsizeMode = 'none';
+  if (Array.isArray(match)) {
+    return match.some(result => getConnectNamespace(Component).includes(result));
   }

-  const finalComponentProps = { ...otherProps,
-    className: classes,
-    children,
-    ellipsizeMode: ellipsizeMode || finalEllipsizeMode
-  };
-  const truncateProps = useTruncate(finalComponentProps);
-  /**
-   * Enhance child `<Link />` components to inherit font size.
-   */
+  return false;
+}

-  if (!truncate && Array.isArray(children)) {
-    content = external_wp_element_["Children"].map(children, child => {
-      // @ts-ignore
-      if (!Object(external_lodash_["isPlainObject"])(child) || !('props' in child)) {
-        return child;
-      }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/styles.js
+/** @type {import('react').CSSProperties} */
+const visuallyHidden = {
+  border: 0,
+  clip: 'rect(1px, 1px, 1px, 1px)',
+  WebkitClipPath: 'inset( 50% )',
+  clipPath: 'inset( 50% )',
+  height: '1px',
+  margin: '-1px',
+  overflow: 'hidden',
+  padding: 0,
+  position: 'absolute',
+  width: '1px',
+  wordWrap: 'normal'
+};

-      const isLink = Object(context_connect["b" /* hasConnectNamespace */])(child, ['Link']);
+;// CONCATENATED MODULE: ./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.browser.esm.js

-      if (isLink) {
-        return Object(external_wp_element_["cloneElement"])(child, {
-          size: child.props.size || 'inherit'
-        });
-      }

-      return child;
-    });
-  }
+var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23

-  return { ...truncateProps,
-    children: truncate ? truncateProps.children : content
-  };
+var isPropValid = /* #__PURE__ */emotion_memoize_browser_esm(function (prop) {
+  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
+  /* o */
+  && prop.charCodeAt(1) === 110
+  /* n */
+  && prop.charCodeAt(2) < 91;
 }
+/* Z+1 */
+);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/component.js
+/* harmony default export */ var emotion_is_prop_valid_browser_esm = (isPropValid);

+;// CONCATENATED MODULE: ./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js


-/**
- * Internal dependencies
- */



-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'span'>} props
- * @param {import('react').Ref<any>}                                                         forwardedRef
- */

-function component_Text(props, forwardedRef) {
-  const textProps = useText(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({
-    as: "span"
-  }, textProps, {
-    ref: forwardedRef
-  }));
-}
-/**
- * `Text` is a core component that renders text in the library, using the
- * library's typography system.
- *
- * `Text` can be used to render any text-content, like an HTML `p` or `span`.
- *
- * @example
- *
- * ```jsx
- * import { __experimentalText as Text } from `@wordpress/components`;
- *
- * function Example() {
- * 	return <Text>Code is Poetry</Text>;
- * }
- * ```
- */

+var testOmitPropsOnStringTag = emotion_is_prop_valid_browser_esm;

-const ConnectedText = Object(context_connect["a" /* contextConnect */])(component_Text, 'Text');
-/* harmony default export */ var text_component = (ConnectedText);
+var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
+  return key !== 'theme';
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/styles/input-control-styles.js
+var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {
+  return typeof tag === 'string' && // 96 is one less than the char code
+  // for "a" so this is checking that
+  // it's a lowercase character
+  tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
+};
+var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {
+  var shouldForwardProp;

+  if (options) {
+    var optionsShouldForwardProp = options.shouldForwardProp;
+    shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) {
+      return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
+    } : optionsShouldForwardProp;
+  }

+  if (typeof shouldForwardProp !== 'function' && isReal) {
+    shouldForwardProp = tag.__emotion_forwardProp;
+  }

+  return shouldForwardProp;
+};

-function input_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+var emotion_styled_base_browser_esm_ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";

-/**
- * External dependencies
- */
+var emotion_styled_base_browser_esm_Noop = function Noop() {
+  return null;
+};

+var createStyled = function createStyled(tag, options) {
+  if (false) {}

+  var isReal = tag.__emotion_real === tag;
+  var baseTag = isReal && tag.__emotion_base || tag;
+  var identifierName;
+  var targetClassName;

+  if (options !== undefined) {
+    identifierName = options.label;
+    targetClassName = options.target;
+  }

+  var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
+  var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
+  var shouldUseAs = !defaultShouldForwardProp('as');
+  return function () {
+    var args = arguments;
+    var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];

-var input_control_styles_ref6 =  true ? {
-  name: "1739oy8",
-  styles: "z-index:1"
-} : undefined;
+    if (identifierName !== undefined) {
+      styles.push("label:" + identifierName + ";");
+    }

-const rootFocusedStyles = _ref7 => {
-  let {
-    isFocused
-  } = _ref7;
-  if (!isFocused) return '';
-  return input_control_styles_ref6;
-};
+    if (args[0] == null || args[0].raw === undefined) {
+      styles.push.apply(styles, args);
+    } else {
+      if (false) {}

-var input_control_styles_ref3 =  true ? {
-  name: "2o6p8u",
-  styles: "justify-content:space-between"
-} : undefined;
+      styles.push(args[0][0]);
+      var len = args.length;
+      var i = 1;

-var input_control_styles_ref4 =  true ? {
-  name: "14qk3ip",
-  styles: "align-items:flex-start;flex-direction:column-reverse"
-} : undefined;
+      for (; i < len; i++) {
+        if (false) {}

-var input_control_styles_ref5 =  true ? {
-  name: "hbng6e",
-  styles: "align-items:flex-start;flex-direction:column"
-} : undefined;
+        styles.push(args[i], args[0][i]);
+      }
+    } // $FlowFixMe: we need to cast StatelessFunctionalComponent to our PrivateStyledComponent class

-const rootLabelPositionStyles = _ref8 => {
-  let {
-    labelPosition
-  } = _ref8;

-  switch (labelPosition) {
-    case 'top':
-      return input_control_styles_ref5;
+    var Styled = emotion_element_699e6908_browser_esm_withEmotionCache(function (props, cache, ref) {
+      var finalTag = shouldUseAs && props.as || baseTag;
+      var className = '';
+      var classInterpolations = [];
+      var mergedProps = props;

-    case 'bottom':
-      return input_control_styles_ref4;
+      if (props.theme == null) {
+        mergedProps = {};

-    case 'edge':
-      return input_control_styles_ref3;
+        for (var key in props) {
+          mergedProps[key] = props[key];
+        }

-    default:
-      return '';
-  }
-};
+        mergedProps.theme = (0,external_React_.useContext)(emotion_element_699e6908_browser_esm_ThemeContext);
+      }

-const input_control_styles_Root = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_component,  true ? {
-  target: "em5sgkm7"
-} : undefined)("position:relative;border-radius:2px;padding-top:0;", rootFocusedStyles, " ", rootLabelPositionStyles, ";" + ( true ? "" : undefined));
+      if (typeof props.className === 'string') {
+        className = emotion_utils_browser_esm_getRegisteredStyles(cache.registered, classInterpolations, props.className);
+      } else if (props.className != null) {
+        className = props.className + " ";
+      }

-const containerDisabledStyles = _ref9 => {
-  let {
-    disabled
-  } = _ref9;
-  const backgroundColor = disabled ? COLORS.ui.backgroundDisabled : COLORS.ui.background;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    backgroundColor
-  },  true ? "" : undefined,  true ? "" : undefined);
-}; // Normalizes the margins from the <Flex /> (components/ui/flex/) container.
+      var serialized = emotion_serialize_browser_esm_serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);
+      var rules = emotion_utils_browser_esm_insertStyles(cache, serialized, typeof finalTag === 'string');
+      className += cache.key + "-" + serialized.name;

+      if (targetClassName !== undefined) {
+        className += " " + targetClassName;
+      }

-var input_control_styles_ref2 =  true ? {
-  name: "wyxldh",
-  styles: "margin:0 !important"
-} : undefined;
+      var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(finalTag) : defaultShouldForwardProp;
+      var newProps = {};

-const containerMarginStyles = _ref10 => {
-  let {
-    hideLabel
-  } = _ref10;
-  return hideLabel ? input_control_styles_ref2 : null;
-};
+      for (var _key in props) {
+        if (shouldUseAs && _key === 'as') continue;

-var input_control_styles_ref =  true ? {
-  name: "1d3w5wq",
-  styles: "width:100%"
-} : undefined;
+        if ( // $FlowFixMe
+        finalShouldForwardProp(_key)) {
+          newProps[_key] = props[_key];
+        }
+      }

-const containerWidthStyles = _ref11 => {
-  let {
-    __unstableInputWidth,
-    labelPosition
-  } = _ref11;
-  if (!__unstableInputWidth) return input_control_styles_ref;
-  if (labelPosition === 'side') return '';
+      newProps.className = className;
+      newProps.ref = ref;
+      var ele = /*#__PURE__*/(0,external_React_.createElement)(finalTag, newProps);
+      var possiblyStyleElement = /*#__PURE__*/(0,external_React_.createElement)(emotion_styled_base_browser_esm_Noop, null);

-  if (labelPosition === 'edge') {
-    return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-      flex: `0 0 ${__unstableInputWidth}`
-    },  true ? "" : undefined,  true ? "" : undefined);
-  }

-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    width: __unstableInputWidth
-  },  true ? "" : undefined,  true ? "" : undefined);
-};
+      return /*#__PURE__*/(0,external_React_.createElement)(external_React_.Fragment, null, possiblyStyleElement, ele);
+    });
+    Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
+    Styled.defaultProps = tag.defaultProps;
+    Styled.__emotion_real = Styled;
+    Styled.__emotion_base = baseTag;
+    Styled.__emotion_styles = styles;
+    Styled.__emotion_forwardProp = shouldForwardProp;
+    Object.defineProperty(Styled, 'toString', {
+      value: function value() {
+        if (targetClassName === undefined && "production" !== 'production') {} // $FlowFixMe: coerce undefined to string

-const Container = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "em5sgkm6"
-} : undefined)("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;", containerDisabledStyles, " ", containerMarginStyles, " ", containerWidthStyles, ";" + ( true ? "" : undefined));

-const disabledStyles = _ref12 => {
-  let {
-    disabled
-  } = _ref12;
-  if (!disabled) return '';
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    color: COLORS.ui.textDisabled
-  },  true ? "" : undefined,  true ? "" : undefined);
-};
+        return "." + targetClassName;
+      }
+    });

-const fontSizeStyles = _ref13 => {
-  let {
-    inputSize: size
-  } = _ref13;
-  const sizes = {
-    default: '13px',
-    small: '11px'
-  };
-  const fontSize = sizes[size] || sizes.default;
-  const fontSizeMobile = '16px';
-  if (!fontSize) return '';
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("font-size:", fontSizeMobile, ";@media ( min-width: 600px ){font-size:", fontSize, ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-};
+    Styled.withComponent = function (nextTag, nextOptions) {
+      return createStyled(nextTag, extends_extends({}, options, nextOptions, {
+        shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
+      })).apply(void 0, styles);
+    };

-const sizeStyles = _ref14 => {
-  let {
-    inputSize: size
-  } = _ref14;
-  const sizes = {
-    default: {
-      height: 30,
-      lineHeight: 1,
-      minHeight: 30
-    },
-    small: {
-      height: 24,
-      lineHeight: 1,
-      minHeight: 24
-    }
+    return Styled;
   };
-  const style = sizes[size] || sizes.default;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(style,  true ? "" : undefined,  true ? "" : undefined);
 };

-const dragStyles = _ref15 => {
-  let {
-    isDragging,
-    dragCursor
-  } = _ref15;
-  let defaultArrowStyles;
-  let activeDragCursorStyles;
+/* harmony default export */ var emotion_styled_base_browser_esm = (createStyled);

-  if (isDragging) {
-    defaultArrowStyles = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("cursor:", dragCursor, ";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}" + ( true ? "" : undefined),  true ? "" : undefined);
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/view/component.js

-  if (isDragging && dragCursor) {
-    activeDragCursorStyles = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("&:active{cursor:", dragCursor, ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-  }

-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(defaultArrowStyles, " ", activeDragCursorStyles, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-}; // TODO: Resolve need to use &&& to increase specificity
-// https://github.com/WordPress/gutenberg/issues/18483
+/**
+ * External dependencies
+ */

+/**
+ * `View` is a core component that renders everything in the library.
+ * It is the principle component in the entire library.
+ *
+ * @example
+ * ```jsx
+ * import { View } from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<View>
+ * 			 Code is Poetry
+ * 		</View>
+ * 	);
+ * }
+ * ```
+ *
+ * @type {import('../ui/context').WordPressComponent<'div', { children?: import('react').ReactNode }, true>}
+ */
+// @ts-ignore
+const View = emotion_styled_base_browser_esm("div",  true ? {
+  target: "em57xhy0"
+} : 0)( true ? "" : 0);

-const Input = Object(emotion_styled_base_browser_esm["a" /* default */])("input",  true ? {
-  target: "em5sgkm5"
-} : undefined)("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:", COLORS.black, ";display:block;margin:0;outline:none;padding-left:8px;padding-right:8px;width:100%;", dragStyles, " ", disabledStyles, " ", fontSizeStyles, " ", sizeStyles, " &::-webkit-input-placeholder{line-height:normal;}}" + ( true ? "" : undefined));
+View.selector = '.components-view';
+View.displayName = 'View';
+/* harmony default export */ var component = (View);

-const labelPadding = _ref16 => {
-  let {
-    labelPosition
-  } = _ref16;
-  let paddingBottom = 4;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/component.js

-  if (labelPosition === 'edge' || labelPosition === 'side') {
-    paddingBottom = 0;
-  }

-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    paddingTop: 0,
-    paddingBottom
-  },  true ? "" : undefined,  true ? "" : undefined);
-};

-const BaseLabel = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(text_component,  true ? {
-  target: "em5sgkm4"
-} : undefined)("&&&{box-sizing:border-box;color:currentColor;display:block;margin:0;max-width:100%;z-index:1;", labelPadding, " overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}" + ( true ? "" : undefined));
+/**
+ * Internal dependencies
+ */

-const Label = props => Object(external_wp_element_["createElement"])(BaseLabel, Object(esm_extends["a" /* default */])({}, props, {
-  as: "label"
-}));
-const LabelWrapper = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_item_component,  true ? {
-  target: "em5sgkm3"
-} : undefined)( true ? {
-  name: "1b6uupn",
-  styles: "max-width:calc( 100% - 10px )"
-} : undefined);

-const backdropFocusedStyles = _ref17 => {
-  let {
-    disabled,
-    isFocused
-  } = _ref17;
-  let borderColor = isFocused ? COLORS.ui.borderFocus : COLORS.ui.border;
-  let boxShadow;

-  if (isFocused) {
-    boxShadow = `0 0 0 1px ${COLORS.ui.borderFocus} inset`;
-  }
+/**
+ * @param {import('../ui/context').WordPressComponentProps<{ children: import('react').ReactNode }, 'div'>} props
+ * @param {import('react').Ref<any>}                                                                        forwardedRef
+ */

-  if (disabled) {
-    borderColor = COLORS.ui.borderDisabled;
-  }
+function VisuallyHidden(props, forwardedRef) {
+  const {
+    style: styleProp,
+    ...contextProps
+  } = useContextSystem(props, 'VisuallyHidden');
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({
+    ref: forwardedRef
+  }, contextProps, {
+    style: { ...visuallyHidden,
+      ...(styleProp || {})
+    }
+  }));
+}
+/**
+ * `VisuallyHidden` is a component used to render text intended to be visually
+ * hidden, but will show for alternate devices, for example a screen reader.
+ *
+ * @example
+ * ```jsx
+ * import { VisuallyHidden } from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<VisuallyHidden>
+ * 			<label>Code is Poetry</label>
+ * 		</VisuallyHidden>
+ * 	);
+ * }
+ * ```
+ */

-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    boxShadow,
-    borderColor,
-    borderStyle: 'solid',
-    borderWidth: 1
-  },  true ? "" : undefined,  true ? "" : undefined);
-};

-const BackdropUI = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "em5sgkm2"
-} : undefined)("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;", backdropFocusedStyles, " ", rtl_rtl({
-  paddingLeft: 2
-}), ";}" + ( true ? "" : undefined));
-const Prefix = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "em5sgkm1"
-} : undefined)( true ? {
-  name: "pvvbxf",
-  styles: "box-sizing:border-box;display:block"
-} : undefined);
-const Suffix = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "em5sgkm0"
-} : undefined)( true ? {
-  name: "pvvbxf",
-  styles: "box-sizing:border-box;display:block"
-} : undefined);
+const ConnectedVisuallyHidden = contextConnect(VisuallyHidden, 'VisuallyHidden');
+/* harmony default export */ var visually_hidden_component = (ConnectedVisuallyHidden);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/backdrop.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button/index.js


-/**
- * WordPress dependencies
- */
+// @ts-nocheck

 /**
- * Internal dependencies
+ * External dependencies
  */


+/**
+ * WordPress dependencies
+ */

-function Backdrop(_ref) {
-  let {
-    disabled = false,
-    isFocused = false
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(BackdropUI, {
-    "aria-hidden": "true",
-    className: "components-input-control__backdrop",
-    disabled: disabled,
-    isFocused: isFocused
-  });
-}
-
-const MemoizedBackdrop = Object(external_wp_element_["memo"])(Backdrop);
-/* harmony default export */ var input_control_backdrop = (MemoizedBackdrop);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/label.js



@@ -25288,3491 +22043,3666 @@ const MemoizedBackdrop = Object(external_wp_element_["memo"])(Backdrop);
  */


-function label_Label(_ref) {
+
+
+const disabledEventsOnDisabledButton = ['onMouseDown', 'onClick'];
+
+function useDeprecatedProps(_ref) {
   let {
-    children,
-    hideLabelFromVision,
-    htmlFor,
-    ...props
+    isDefault,
+    isPrimary,
+    isSecondary,
+    isTertiary,
+    isLink,
+    variant,
+    ...otherProps
   } = _ref;
-  if (!children) return null;
+  let computedVariant = variant;

-  if (hideLabelFromVision) {
-    return Object(external_wp_element_["createElement"])(component["a" /* default */], {
-      as: "label",
-      htmlFor: htmlFor
-    }, children);
+  if (isPrimary) {
+    var _computedVariant;
+
+    (_computedVariant = computedVariant) !== null && _computedVariant !== void 0 ? _computedVariant : computedVariant = 'primary';
   }

-  return Object(external_wp_element_["createElement"])(Label, Object(esm_extends["a" /* default */])({
-    htmlFor: htmlFor
-  }, props), children);
+  if (isTertiary) {
+    var _computedVariant2;
+
+    (_computedVariant2 = computedVariant) !== null && _computedVariant2 !== void 0 ? _computedVariant2 : computedVariant = 'tertiary';
+  }
+
+  if (isSecondary) {
+    var _computedVariant3;
+
+    (_computedVariant3 = computedVariant) !== null && _computedVariant3 !== void 0 ? _computedVariant3 : computedVariant = 'secondary';
+  }
+
+  if (isDefault) {
+    var _computedVariant4;
+
+    external_wp_deprecated_default()('Button isDefault prop', {
+      since: '5.4',
+      alternative: 'variant="secondary"'
+    });
+    (_computedVariant4 = computedVariant) !== null && _computedVariant4 !== void 0 ? _computedVariant4 : computedVariant = 'secondary';
+  }
+
+  if (isLink) {
+    var _computedVariant5;
+
+    (_computedVariant5 = computedVariant) !== null && _computedVariant5 !== void 0 ? _computedVariant5 : computedVariant = 'link';
+  }
+
+  return { ...otherProps,
+    variant: computedVariant
+  };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/input-base.js
+function Button(props, ref) {
+  const {
+    href,
+    target,
+    isSmall,
+    isPressed,
+    isBusy,
+    isDestructive,
+    className,
+    disabled,
+    icon,
+    iconPosition = 'left',
+    iconSize,
+    showTooltip,
+    tooltipPosition,
+    shortcut,
+    label,
+    children,
+    text,
+    variant,
+    __experimentalIsFocusable: isFocusable,
+    describedBy,
+    ...additionalProps
+  } = useDeprecatedProps(props);
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(Button, 'components-button__description');
+  const classes = classnames_default()('components-button', className, {
+    'is-secondary': variant === 'secondary',
+    'is-primary': variant === 'primary',
+    'is-small': isSmall,
+    'is-tertiary': variant === 'tertiary',
+    'is-pressed': isPressed,
+    'is-busy': isBusy,
+    'is-link': variant === 'link',
+    'is-destructive': isDestructive,
+    'has-text': !!icon && !!children,
+    'has-icon': !!icon
+  });
+  const trulyDisabled = disabled && !isFocusable;
+  const Tag = href !== undefined && !trulyDisabled ? 'a' : 'button';
+  const tagProps = Tag === 'a' ? {
+    href,
+    target
+  } : {
+    type: 'button',
+    disabled: trulyDisabled,
+    'aria-pressed': isPressed
+  };
+
+  if (disabled && isFocusable) {
+    // In this case, the button will be disabled, but still focusable and
+    // perceivable by screen reader users.
+    tagProps['aria-disabled'] = true;

+    for (const disabledEvent of disabledEventsOnDisabledButton) {
+      additionalProps[disabledEvent] = event => {
+        event.stopPropagation();
+        event.preventDefault();
+      };
+    }
+  } // Should show the tooltip if...


-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+  const shouldShowTooltip = !trulyDisabled && ( // an explicit tooltip is passed or...
+  showTooltip && label || // there's a shortcut or...
+  shortcut || // there's a label and...
+  !!label && ( // the children are empty and...
+  !children || (0,external_lodash_namespaceObject.isArray)(children) && !children.length) && // the tooltip is not explicitly disabled.
+  false !== showTooltip);
+  const descriptionId = describedBy ? instanceId : null;
+  const describedById = additionalProps['aria-describedby'] || descriptionId;
+  const element = (0,external_wp_element_namespaceObject.createElement)(Tag, extends_extends({}, tagProps, additionalProps, {
+    className: classes,
+    "aria-label": additionalProps['aria-label'] || label,
+    "aria-describedby": describedById,
+    ref: ref
+  }), icon && iconPosition === 'left' && (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: icon,
+    size: iconSize
+  }), text && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, text), icon && iconPosition === 'right' && (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: icon,
+    size: iconSize
+  }), children);
+
+  if (!shouldShowTooltip) {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, element, describedBy && (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, null, (0,external_wp_element_namespaceObject.createElement)("span", {
+      id: descriptionId
+    }, describedBy)));
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(tooltip, {
+    text: describedBy ? describedBy : label,
+    shortcut: shortcut,
+    position: tooltipPosition
+  }, element), describedBy && (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, null, (0,external_wp_element_namespaceObject.createElement)("span", {
+    id: descriptionId
+  }, describedBy)));
+}
+/* harmony default export */ var build_module_button = ((0,external_wp_element_namespaceObject.forwardRef)(Button));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/scroll-lock/index.js
 /**
  * WordPress dependencies
  */

+/*
+ * Setting `overflow: hidden` on html and body elements resets body scroll in iOS.
+ * Save scroll top so we can restore it after locking scroll.
+ *
+ * NOTE: It would be cleaner and possibly safer to find a localized solution such
+ * as preventing default on certain touchmove events.
+ */

+let previousScrollTop = 0;
 /**
- * Internal dependencies
+ * @param {boolean} locked
  */

+function setLocked(locked) {
+  const scrollingElement = document.scrollingElement || document.body;

+  if (locked) {
+    previousScrollTop = scrollingElement.scrollTop;
+  }

+  const methodName = locked ? 'add' : 'remove';
+  scrollingElement.classList[methodName]('lockscroll'); // Adding the class to the document element seems to be necessary in iOS.

+  document.documentElement.classList[methodName]('lockscroll');

-function input_base_useUniqueId(idProp) {
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(InputBase);
-  const id = `input-base-control-${instanceId}`;
-  return idProp || id;
-} // Adapter to map props for the new ui/flex compopnent.
-
-
-function getUIFlexProps(labelPosition) {
-  const props = {};
+  if (!locked) {
+    scrollingElement.scrollTop = previousScrollTop;
+  }
+}

-  switch (labelPosition) {
-    case 'top':
-      props.direction = 'column';
-      props.gap = 0;
-      break;
+let lockCounter = 0;
+/**
+ * A component that will lock scrolling when it is mounted and unlock scrolling when it is unmounted.
+ *
+ * @return {null} Render nothing.
+ */

-    case 'bottom':
-      props.direction = 'column-reverse';
-      props.gap = 0;
-      break;
+function ScrollLock() {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (lockCounter === 0) {
+      setLocked(true);
+    }

-    case 'edge':
-      props.justify = 'space-between';
-      break;
-  }
+    ++lockCounter;
+    return () => {
+      if (lockCounter === 1) {
+        setLocked(false);
+      }

-  return props;
+      --lockCounter;
+    };
+  }, []);
+  return null;
 }

-function InputBase(_ref, ref) {
-  let {
-    __unstableInputWidth,
-    children,
-    className,
-    disabled = false,
-    hideLabelFromVision = false,
-    labelPosition,
-    id: idProp,
-    isFocused = false,
-    label,
-    prefix,
-    size = 'default',
-    suffix,
-    ...props
-  } = _ref;
-  const id = input_base_useUniqueId(idProp);
-  const hideLabel = hideLabelFromVision || !label;
-  return (// @ts-expect-error The `direction` prop from Flex (FlexDirection) conflicts with legacy SVGAttributes `direction` (string) that come from React intrinsic prop definitions
-    Object(external_wp_element_["createElement"])(input_control_styles_Root, Object(esm_extends["a" /* default */])({}, props, getUIFlexProps(labelPosition), {
-      className: className,
-      isFocused: isFocused,
-      labelPosition: labelPosition,
-      ref: ref
-    }), Object(external_wp_element_["createElement"])(LabelWrapper, null, Object(external_wp_element_["createElement"])(label_Label, {
-      className: "components-input-control__label",
-      hideLabelFromVision: hideLabelFromVision,
-      labelPosition: labelPosition,
-      htmlFor: id,
-      size: size
-    }, label)), Object(external_wp_element_["createElement"])(Container, {
-      __unstableInputWidth: __unstableInputWidth,
-      className: "components-input-control__container",
-      disabled: disabled,
-      hideLabel: hideLabel,
-      labelPosition: labelPosition
-    }, prefix && Object(external_wp_element_["createElement"])(Prefix, {
-      className: "components-input-control__prefix"
-    }, prefix), children, suffix && Object(external_wp_element_["createElement"])(Suffix, {
-      className: "components-input-control__suffix"
-    }, suffix), Object(external_wp_element_["createElement"])(input_control_backdrop, {
-      disabled: disabled,
-      isFocused: isFocused
-    })))
-  );
-}
-/* harmony default export */ var input_base = (Object(external_wp_element_["forwardRef"])(InputBase));
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/context.js
+// @ts-nocheck

-// CONCATENATED MODULE: ./node_modules/react-use-gesture/dist/reactusegesture.esm.js
+/**
+ * WordPress dependencies
+ */

+const SlotFillContext = (0,external_wp_element_namespaceObject.createContext)({
+  registerSlot: () => {},
+  unregisterSlot: () => {},
+  registerFill: () => {},
+  unregisterFill: () => {},
+  getSlot: () => {},
+  getFills: () => {},
+  subscribe: () => {}
+});
+/* harmony default export */ var context = (SlotFillContext);

-// vector add
-function addV(v1, v2) {
-  return v1.map(function (v, i) {
-    return v + v2[i];
-  });
-} // vector substract
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/use-slot.js
+// @ts-nocheck

-function subV(v1, v2) {
-  return v1.map(function (v, i) {
-    return v - v2[i];
-  });
-}
-/**
- * Calculates distance
- * @param movement the difference between current and initial vectors
- * @returns distance
+/**
+ * WordPress dependencies
  */

-function calculateDistance(movement) {
-  return Math.hypot.apply(Math, movement);
-}
-function calculateAllGeometry(movement, delta) {
-  if (delta === void 0) {
-    delta = movement;
-  }
-
-  var dl = calculateDistance(delta);
-  var alpha = dl === 0 ? 0 : 1 / dl;
-  var direction = delta.map(function (v) {
-    return alpha * v;
-  });
-  var distance = calculateDistance(movement);
-  return {
-    distance: distance,
-    direction: direction
-  };
-}
-/**
- * Calculates all kinematics
- * @template T the expected vector type
- * @param movement the difference between current and initial vectors
- * @param delta the difference between current and previous vectors
- * @param delta_t the time difference between current and previous timestamps
- * @returns all kinematics
+/**
+ * Internal dependencies
  */

-function calculateAllKinematics(movement, delta, dt) {
-  var dl = calculateDistance(delta);
-  var alpha = dl === 0 ? 0 : 1 / dl;
-  var beta = dt === 0 ? 0 : 1 / dt;
-  var velocity = beta * dl;
-  var velocities = delta.map(function (v) {
-    return beta * v;
-  });
-  var direction = delta.map(function (v) {
-    return alpha * v;
-  });
-  var distance = calculateDistance(movement);
-  return {
-    velocities: velocities,
-    velocity: velocity,
-    distance: distance,
-    direction: direction
-  };
-}
-/**
- * Because IE doesn't support `Math.sign` function, so we use the polyfill version of the function.
- * This polyfill function is suggested by Mozilla:
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign#Polyfill
- * @param x target number
+
+/**
+ * React hook returning the active slot given a name.
+ *
+ * @param {string} name Slot name.
+ * @return {Object} Slot object.
  */

-function sign(x) {
-  if (Math.sign) return Math.sign(x);
-  return Number(x > 0) - Number(x < 0) || +x;
-}
+const useSlot = name => {
+  const {
+    getSlot,
+    subscribe
+  } = (0,external_wp_element_namespaceObject.useContext)(context);
+  const [slot, setSlot] = (0,external_wp_element_namespaceObject.useState)(getSlot(name));
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    setSlot(getSlot(name));
+    const unsubscribe = subscribe(() => {
+      setSlot(getSlot(name));
+    });
+    return unsubscribe;
+  }, [name]);
+  return slot;
+};

-function minMax(value, min, max) {
-  return Math.max(min, Math.min(value, max));
-} // Based on @aholachek ;)
-// https://twitter.com/chpwn/status/285540192096497664
-// iOS constant = 0.55
-// https://medium.com/@nathangitter/building-fluid-interfaces-ios-swift-9732bb934bf5
+/* harmony default export */ var use_slot = (useSlot);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/fill.js

-function rubberband2(distance, constant) {
-  // default constant from the article is 0.7
-  return Math.pow(distance, constant * 5);
-}

-function rubberband(distance, dimension, constant) {
-  if (dimension === 0 || Math.abs(dimension) === Infinity) return rubberband2(distance, constant);
-  return distance * dimension * constant / (dimension + constant * distance);
-}
+// @ts-nocheck

-function rubberbandIfOutOfBounds(position, min, max, constant) {
-  if (constant === void 0) {
-    constant = 0.15;
-  }
+/**
+ * External dependencies
+ */

-  if (constant === 0) return minMax(position, min, max);
-  if (position < min) return -rubberband(min - position, max - min, constant) + min;
-  if (position > max) return +rubberband(position - max, max - min, constant) + max;
-  return position;
-}
+/**
+ * WordPress dependencies
+ */

-function _defineProperties(target, props) {
-  for (var i = 0; i < props.length; i++) {
-    var descriptor = props[i];
-    descriptor.enumerable = descriptor.enumerable || false;
-    descriptor.configurable = true;
-    if ("value" in descriptor) descriptor.writable = true;
-    Object.defineProperty(target, descriptor.key, descriptor);
-  }
-}

-function _createClass(Constructor, protoProps, staticProps) {
-  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
-  if (staticProps) _defineProperties(Constructor, staticProps);
-  return Constructor;
-}
+/**
+ * Internal dependencies
+ */

-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }

-    return target;
-  };

-  return _extends.apply(this, arguments);
-}
+function FillComponent(_ref) {
+  let {
+    name,
+    children,
+    registerFill,
+    unregisterFill
+  } = _ref;
+  const slot = use_slot(name);
+  const ref = (0,external_wp_element_namespaceObject.useRef)({
+    name,
+    children
+  });
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    registerFill(name, ref.current);
+    return () => unregisterFill(name, ref.current);
+  }, []);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    ref.current.children = children;

-function _inheritsLoose(subClass, superClass) {
-  subClass.prototype = Object.create(superClass.prototype);
-  subClass.prototype.constructor = subClass;
-  subClass.__proto__ = superClass;
-}
+    if (slot) {
+      slot.forceUpdate();
+    }
+  }, [children]);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    if (name === ref.current.name) {
+      // ignore initial effect
+      return;
+    }

-function _objectWithoutPropertiesLoose(source, excluded) {
-  if (source == null) return {};
-  var target = {};
-  var sourceKeys = Object.keys(source);
-  var key, i;
+    unregisterFill(ref.current.name, ref.current);
+    ref.current.name = name;
+    registerFill(name, ref.current);
+  }, [name]);

-  for (i = 0; i < sourceKeys.length; i++) {
-    key = sourceKeys[i];
-    if (excluded.indexOf(key) >= 0) continue;
-    target[key] = source[key];
-  }
+  if (!slot || !slot.node) {
+    return null;
+  } // If a function is passed as a child, provide it with the fillProps.

-  return target;
-}

-function _assertThisInitialized(self) {
-  if (self === void 0) {
-    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
+  if ((0,external_lodash_namespaceObject.isFunction)(children)) {
+    children = children(slot.props.fillProps);
   }

-  return self;
+  return (0,external_wp_element_namespaceObject.createPortal)(children, slot.node);
 }

-function _unsupportedIterableToArray(o, minLen) {
-  if (!o) return;
-  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
-  var n = Object.prototype.toString.call(o).slice(8, -1);
-  if (n === "Object" && o.constructor) n = o.constructor.name;
-  if (n === "Map" || n === "Set") return Array.from(o);
-  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
-}
+const Fill = props => (0,external_wp_element_namespaceObject.createElement)(context.Consumer, null, _ref2 => {
+  let {
+    registerFill,
+    unregisterFill
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(FillComponent, extends_extends({}, props, {
+    registerFill: registerFill,
+    unregisterFill: unregisterFill
+  }));
+});

-function _arrayLikeToArray(arr, len) {
-  if (len == null || len > arr.length) len = arr.length;
+/* harmony default export */ var fill = (Fill);

-  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/slot.js

-  return arr2;
-}

-function _createForOfIteratorHelperLoose(o, allowArrayLike) {
-  var it;
+// @ts-nocheck

-  if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
-    if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
-      if (it) o = it;
-      var i = 0;
-      return function () {
-        if (i >= o.length) return {
-          done: true
-        };
-        return {
-          done: false,
-          value: o[i++]
-        };
-      };
-    }
+/**
+ * External dependencies
+ */

-    throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
-  }
+/**
+ * WordPress dependencies
+ */

-  it = o[Symbol.iterator]();
-  return it.next.bind(it);
-}

-function reactusegesture_esm_noop() {}
-/**
- * TODO Beware that only optimized cases are covered in tests =)
- * TODO Need to cover general case as well
- *
- * @param fns
+/**
+ * Internal dependencies
  */

-function chainFns() {
-  for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {
-    fns[_key] = arguments[_key];
+
+
+class SlotComponent extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.isUnmounted = false;
+    this.bindNode = this.bindNode.bind(this);
   }

-  if (fns.length === 0) return reactusegesture_esm_noop;
-  if (fns.length === 1) return fns[0];
-  return function () {
-    var result;
+  componentDidMount() {
+    const {
+      registerSlot
+    } = this.props;
+    registerSlot(this.props.name, this);
+  }

-    for (var _iterator = _createForOfIteratorHelperLoose(fns), _step; !(_step = _iterator()).done;) {
-      var fn = _step.value;
-      result = fn.apply(this, arguments) || result;
-    }
+  componentWillUnmount() {
+    const {
+      unregisterSlot
+    } = this.props;
+    this.isUnmounted = true;
+    unregisterSlot(this.props.name, this);
+  }

-    return result;
-  };
-}
-/**
- * Expects a simple value or 2D vector (an array with 2 elements) and
- * always returns 2D vector. If simple value is passed, returns a
- * vector with this value as both coordinates.
- *
- * @param value
- */
+  componentDidUpdate(prevProps) {
+    const {
+      name,
+      unregisterSlot,
+      registerSlot
+    } = this.props;

-function ensureVector(value, fallback) {
-  if (value === undefined) {
-    if (fallback === undefined) {
-      throw new Error('Must define fallback value if undefined is expected');
+    if (prevProps.name !== name) {
+      unregisterSlot(prevProps.name);
+      registerSlot(name, this);
     }
+  }

-    value = fallback;
+  bindNode(node) {
+    this.node = node;
   }

-  if (Array.isArray(value)) return value;
-  return [value, value];
-}
-/**
- * Helper for defining a default value
- *
- * @param value
- * @param fallback
- */
+  forceUpdate() {
+    if (this.isUnmounted) {
+      return;
+    }

-function assignDefault(value, fallback) {
-  return Object.assign({}, fallback, value || {});
-}
-/**
- * Resolves getters (functions) by calling them
- * If simple value is given it just passes through
- *
- * @param v
- */
+    super.forceUpdate();
+  }

-function valueFn(v) {
-  if (typeof v === 'function') {
-    for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
-      args[_key2 - 1] = arguments[_key2];
-    }
+  render() {
+    const {
+      children,
+      name,
+      fillProps = {},
+      getFills
+    } = this.props;
+    const fills = (0,external_lodash_namespaceObject.map)(getFills(name, this), fill => {
+      const fillChildren = (0,external_lodash_namespaceObject.isFunction)(fill.children) ? fill.children(fillProps) : fill.children;
+      return external_wp_element_namespaceObject.Children.map(fillChildren, (child, childIndex) => {
+        if (!child || (0,external_lodash_namespaceObject.isString)(child)) {
+          return child;
+        }

-    // @ts-ignore
-    return v.apply(void 0, args);
-  } else {
-    return v;
+        const childKey = child.key || childIndex;
+        return (0,external_wp_element_namespaceObject.cloneElement)(child, {
+          key: childKey
+        });
+      });
+    }).filter( // In some cases fills are rendered only when some conditions apply.
+    // This ensures that we only use non-empty fills when rendering, i.e.,
+    // it allows us to render wrappers only when the fills are actually present.
+    (0,external_lodash_namespaceObject.negate)(external_wp_element_namespaceObject.isEmptyElement));
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_lodash_namespaceObject.isFunction)(children) ? children(fills) : fills);
   }
+
 }

-function resolveWith(config, resolvers) {
-  if (config === void 0) {
-    config = {};
-  }
+const Slot = props => (0,external_wp_element_namespaceObject.createElement)(context.Consumer, null, _ref => {
+  let {
+    registerSlot,
+    unregisterSlot,
+    getFills
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(SlotComponent, extends_extends({}, props, {
+    registerSlot: registerSlot,
+    unregisterSlot: unregisterSlot,
+    getFills: getFills
+  }));
+});

-  var result = {};
+/* harmony default export */ var slot = (Slot);

-  for (var _i = 0, _Object$entries = Object.entries(resolvers); _i < _Object$entries.length; _i++) {
-    var _Object$entries$_i = _Object$entries[_i],
-        key = _Object$entries$_i[0],
-        resolver = _Object$entries$_i[1];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/slot-fill-context.js
+// @ts-nocheck

-    switch (typeof resolver) {
-      case 'function':
-        result[key] = resolver.call(result, config[key], key, config);
-        break;
+/**
+ * WordPress dependencies
+ */

-      case 'object':
-        result[key] = resolveWith(config[key], resolver);
-        break;

-      case 'boolean':
-        if (resolver) result[key] = config[key];
-        break;
-    }
-  }
+const slot_fill_context_SlotFillContext = (0,external_wp_element_namespaceObject.createContext)({
+  slots: {},
+  fills: {},
+  registerSlot: () => {
+    typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0;
+  },
+  updateSlot: () => {},
+  unregisterSlot: () => {},
+  registerFill: () => {},
+  unregisterFill: () => {}
+});
+/* harmony default export */ var slot_fill_context = (slot_fill_context_SlotFillContext);

-  return result;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/use-slot.js
+// @ts-nocheck

-/**
- * Whether the browser supports GestureEvent (ie Safari)
- * @returns true if the browser supports gesture event
+/**
+ * WordPress dependencies
  */
-function supportsGestureEvents() {
-  try {
-    // TODO [TS] possibly find GestureEvent definitions?
-    // @ts-ignore: no type definitions for webkit GestureEvents
-    return 'constructor' in GestureEvent;
-  } catch (e) {
-    return false;
-  }
-}
-function reactusegesture_esm_supportsTouchEvents() {
-  return typeof window !== 'undefined' && 'ontouchstart' in window;
-}
-function reactusegesture_esm_supportsPointerEvents() {
-  return typeof window !== 'undefined' && 'onpointerdown' in window;
-}

-function getEventTouches(event) {
-  if ('pointerId' in event) return null;
-  return event.type === 'touchend' ? event.changedTouches : event.targetTouches;
-}
+/**
+ * Internal dependencies
+ */

-function getTouchIds(event) {
-  return Array.from(getEventTouches(event)).map(function (t) {
-    return t.identifier;
-  });
-}
-function getGenericEventData(event) {
-  var buttons = 'buttons' in event ? event.buttons : 0;
-  var shiftKey = event.shiftKey,
-      altKey = event.altKey,
-      metaKey = event.metaKey,
-      ctrlKey = event.ctrlKey; // TODO check if this might create some overrides?

-  return {
-    buttons: buttons,
-    shiftKey: shiftKey,
-    altKey: altKey,
-    metaKey: metaKey,
-    ctrlKey: ctrlKey
+function use_slot_useSlot(name) {
+  const registry = (0,external_wp_element_namespaceObject.useContext)(slot_fill_context);
+  const slot = registry.slots[name] || {};
+  const slotFills = registry.fills[name];
+  const fills = (0,external_wp_element_namespaceObject.useMemo)(() => slotFills || [], [slotFills]);
+  const updateSlot = (0,external_wp_element_namespaceObject.useCallback)(fillProps => {
+    registry.updateSlot(name, fillProps);
+  }, [name, registry.updateSlot]);
+  const unregisterSlot = (0,external_wp_element_namespaceObject.useCallback)(slotRef => {
+    registry.unregisterSlot(name, slotRef);
+  }, [name, registry.unregisterSlot]);
+  const registerFill = (0,external_wp_element_namespaceObject.useCallback)(fillRef => {
+    registry.registerFill(name, fillRef);
+  }, [name, registry.registerFill]);
+  const unregisterFill = (0,external_wp_element_namespaceObject.useCallback)(fillRef => {
+    registry.unregisterFill(name, fillRef);
+  }, [name, registry.unregisterFill]);
+  return { ...slot,
+    updateSlot,
+    unregisterSlot,
+    fills,
+    registerFill,
+    unregisterFill
   };
 }

-var identity = function identity(xy) {
-  return xy;
-};
-/**
- * Gets pointer event values.
- * @param event
- * @returns pointer event values
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/fill.js
+// @ts-nocheck

+/**
+ * WordPress dependencies
+ */

-function getPointerEventValues(event, transform) {
-  if (transform === void 0) {
-    transform = identity;
-  }
+/**
+ * Internal dependencies
+ */

-  var touchEvents = getEventTouches(event);

-  var _ref = touchEvents ? touchEvents[0] : event,
-      clientX = _ref.clientX,
-      clientY = _ref.clientY;

-  return transform([clientX, clientY]);
+function useForceUpdate() {
+  const [, setState] = (0,external_wp_element_namespaceObject.useState)({});
+  const mounted = (0,external_wp_element_namespaceObject.useRef)(true);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return () => {
+      mounted.current = false;
+    };
+  }, []);
+  return () => {
+    if (mounted.current) {
+      setState({});
+    }
+  };
 }
-/**
- * Gets two touches event data
- * @param event
- * @returns two touches event data
- */

-function getTwoTouchesEventValues(event, pointerIds, transform) {
-  if (transform === void 0) {
-    transform = identity;
+function fill_Fill(_ref) {
+  let {
+    name,
+    children
+  } = _ref;
+  const slot = use_slot_useSlot(name);
+  const ref = (0,external_wp_element_namespaceObject.useRef)({
+    rerender: useForceUpdate()
+  });
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // We register fills so we can keep track of their existance.
+    // Some Slot implementations need to know if there're already fills
+    // registered so they can choose to render themselves or not.
+    slot.registerFill(ref);
+    return () => {
+      slot.unregisterFill(ref);
+    };
+  }, [slot.registerFill, slot.unregisterFill]);
+
+  if (!slot.ref || !slot.ref.current) {
+    return null;
   }

-  var _Array$from$filter = Array.from(event.touches).filter(function (t) {
-    return pointerIds.includes(t.identifier);
-  }),
-      A = _Array$from$filter[0],
-      B = _Array$from$filter[1];
+  if (typeof children === 'function') {
+    children = children(slot.fillProps);
+  }

-  if (!A || !B) throw Error("The event doesn't have two pointers matching the pointerIds");
-  var dx = B.clientX - A.clientX;
-  var dy = B.clientY - A.clientY;
-  var cx = (B.clientX + A.clientX) / 2;
-  var cy = (B.clientY + A.clientY) / 2; // const e: any = 'nativeEvent' in event ? event.nativeEvent : event
+  return (0,external_wp_element_namespaceObject.createPortal)(children, slot.ref.current);
+}

-  var distance = Math.hypot(dx, dy); // FIXME rotation has inconsistant values so we're not using it atm
-  // const angle = (e.rotation as number) ?? -(Math.atan2(dx, dy) * 180) / Math.PI
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/slot.js

-  var angle = -(Math.atan2(dx, dy) * 180) / Math.PI;
-  var values = transform([distance, angle]);
-  var origin = transform([cx, cy]);
-  return {
-    values: values,
-    origin: origin
-  };
-}
-/**
- * Gets scroll event values
- * @param event
- * @returns scroll event values
- */

-function getScrollEventValues(event, transform) {
-  if (transform === void 0) {
-    transform = identity;
-  }
+// @ts-nocheck

-  // If the currentTarget is the window then we return the scrollX/Y position.
-  // If not (ie the currentTarget is a DOM element), then we return scrollLeft/Top
-  var _event$currentTarget = event.currentTarget,
-      scrollX = _event$currentTarget.scrollX,
-      scrollY = _event$currentTarget.scrollY,
-      scrollLeft = _event$currentTarget.scrollLeft,
-      scrollTop = _event$currentTarget.scrollTop;
-  return transform([scrollX || scrollLeft || 0, scrollY || scrollTop || 0]);
-} // wheel delta defaults from https://github.com/facebookarchive/fixed-data-table/blob/master/src/vendor_upstream/dom/normalizeWheel.js
+/**
+ * WordPress dependencies
+ */

-var LINE_HEIGHT = 40;
-var PAGE_HEIGHT = 800;
-/**
- * Gets wheel event values.
- * @param event
- * @returns wheel event values
+
+/**
+ * Internal dependencies
  */

-function getWheelEventValues(event, transform) {
-  if (transform === void 0) {
-    transform = identity;
-  }

-  var deltaX = event.deltaX,
-      deltaY = event.deltaY,
-      deltaMode = event.deltaMode; // normalize wheel values, especially for Firefox

-  if (deltaMode === 1) {
-    deltaX *= LINE_HEIGHT;
-    deltaY *= LINE_HEIGHT;
-  } else if (deltaMode === 2) {
-    deltaX *= PAGE_HEIGHT;
-    deltaY *= PAGE_HEIGHT;
-  }
+function slot_Slot(_ref, forwardedRef) {
+  let {
+    name,
+    fillProps = {},
+    as: Component = 'div',
+    ...props
+  } = _ref;
+  const registry = (0,external_wp_element_namespaceObject.useContext)(slot_fill_context);
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    registry.registerSlot(name, ref, fillProps);
+    return () => {
+      registry.unregisterSlot(name, ref);
+    }; // We are not including fillProps in the deps because we don't want to
+    // unregister and register the slot whenever fillProps change, which would
+    // cause the fill to be re-mounted. We are only considering the initial value
+    // of fillProps.
+  }, [registry.registerSlot, registry.unregisterSlot, name]); // fillProps may be an update that interacts with the layout, so we
+  // useLayoutEffect

-  return transform([deltaX, deltaY]);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    registry.updateSlot(name, fillProps);
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(Component, extends_extends({
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([forwardedRef, ref])
+  }, props));
 }
-/**
- * Gets webkit gesture event values.
- * @param event
- * @returns webkit gesture event values
- */

-function getWebkitGestureEventValues(event, transform) {
-  if (transform === void 0) {
-    transform = identity;
-  }
+/* harmony default export */ var bubbles_virtually_slot = ((0,external_wp_element_namespaceObject.forwardRef)(slot_Slot));

-  return transform([event.scale, event.rotation]);
-}
+;// CONCATENATED MODULE: external ["wp","isShallowEqual"]
+var external_wp_isShallowEqual_namespaceObject = window["wp"]["isShallowEqual"];
+var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js

-var DEFAULT_DRAG_DELAY = 180;
-var DEFAULT_RUBBERBAND = 0.15;
-var DEFAULT_SWIPE_VELOCITY = 0.5;
-var DEFAULT_SWIPE_DISTANCE = 50;
-var DEFAULT_SWIPE_DURATION = 250;
-var InternalGestureOptionsNormalizers = {
-  threshold: function threshold(value) {
-    if (value === void 0) {
-      value = 0;
-    }
+// @ts-nocheck

-    return ensureVector(value);
-  },
-  rubberband: function rubberband(value) {
-    if (value === void 0) {
-      value = 0;
-    }
+/**
+ * WordPress dependencies
+ */

-    switch (value) {
-      case true:
-        return ensureVector(DEFAULT_RUBBERBAND);

-      case false:
-        return ensureVector(0);
+/**
+ * Internal dependencies
+ */

-      default:
-        return ensureVector(value);
-    }
-  },
-  enabled: function enabled(value) {
-    if (value === void 0) {
-      value = true;
-    }

-    return value;
-  },
-  triggerAllEvents: function triggerAllEvents(value) {
-    if (value === void 0) {
-      value = false;
-    }

-    return value;
-  },
-  initial: function initial(value) {
-    if (value === void 0) {
-      value = 0;
-    }
+function useSlotRegistry() {
+  const [slots, setSlots] = (0,external_wp_element_namespaceObject.useState)({});
+  const [fills, setFills] = (0,external_wp_element_namespaceObject.useState)({});
+  const registerSlot = (0,external_wp_element_namespaceObject.useCallback)((name, ref, fillProps) => {
+    setSlots(prevSlots => {
+      const slot = prevSlots[name] || {};
+      return { ...prevSlots,
+        [name]: { ...slot,
+          ref: ref || slot.ref,
+          fillProps: fillProps || slot.fillProps || {}
+        }
+      };
+    });
+  }, []);
+  const unregisterSlot = (0,external_wp_element_namespaceObject.useCallback)((name, ref) => {
+    setSlots(prevSlots => {
+      const {
+        [name]: slot,
+        ...nextSlots
+      } = prevSlots; // Make sure we're not unregistering a slot registered by another element
+      // See https://github.com/WordPress/gutenberg/pull/19242#issuecomment-590295412

-    if (typeof value === 'function') return value;
-    return ensureVector(value);
-  },
-  transform: true
-};
+      if ((slot === null || slot === void 0 ? void 0 : slot.ref) === ref) {
+        return nextSlots;
+      }

-var InternalCoordinatesOptionsNormalizers = /*#__PURE__*/_extends({}, InternalGestureOptionsNormalizers, {
-  axis: true,
-  lockDirection: function lockDirection(value) {
-    if (value === void 0) {
-      value = false;
-    }
+      return prevSlots;
+    });
+  }, []);
+  const updateSlot = (0,external_wp_element_namespaceObject.useCallback)((name, fillProps) => {
+    const slot = slots[name];

-    return value;
-  },
-  bounds: function bounds(value) {
-    if (value === void 0) {
-      value = {};
+    if (!slot) {
+      return;
     }

-    if (typeof value === 'function') return function (state) {
-      return InternalCoordinatesOptionsNormalizers.bounds(value(state));
-    };
-    var _value2 = value,
-        _value2$left = _value2.left,
-        left = _value2$left === void 0 ? -Infinity : _value2$left,
-        _value2$right = _value2.right,
-        right = _value2$right === void 0 ? Infinity : _value2$right,
-        _value2$top = _value2.top,
-        top = _value2$top === void 0 ? -Infinity : _value2$top,
-        _value2$bottom = _value2.bottom,
-        bottom = _value2$bottom === void 0 ? Infinity : _value2$bottom;
-    return [[left, right], [top, bottom]];
-  }
-});
+    if (!external_wp_isShallowEqual_default()(slot.fillProps, fillProps)) {
+      slot.fillProps = fillProps;
+      const slotFills = fills[name];

-var reactusegesture_esm_isBrowser = typeof window !== 'undefined' && window.document && window.document.createElement;
-var InternalGenericOptionsNormalizers = {
-  enabled: function enabled(value) {
-    if (value === void 0) {
-      value = true;
+      if (slotFills) {
+        // Force update fills
+        slotFills.map(fill => fill.current.rerender());
+      }
     }
+  }, [slots, fills]);
+  const registerFill = (0,external_wp_element_namespaceObject.useCallback)((name, ref) => {
+    setFills(prevFills => ({ ...prevFills,
+      [name]: [...(prevFills[name] || []), ref]
+    }));
+  }, []);
+  const unregisterFill = (0,external_wp_element_namespaceObject.useCallback)((name, ref) => {
+    setFills(prevFills => {
+      if (prevFills[name]) {
+        return { ...prevFills,
+          [name]: prevFills[name].filter(fillRef => fillRef !== ref)
+        };
+      }

-    return value;
-  },
-  domTarget: true,
-  window: /*#__PURE__*/function (_window) {
-    function window(_x) {
-      return _window.apply(this, arguments);
-    }
+      return prevFills;
+    });
+  }, []); // Memoizing the return value so it can be directly passed to Provider value

-    window.toString = function () {
-      return _window.toString();
-    };
+  const registry = (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    slots,
+    fills,
+    registerSlot,
+    updateSlot,
+    unregisterSlot,
+    registerFill,
+    unregisterFill
+  }), [slots, fills, registerSlot, updateSlot, unregisterSlot, registerFill, unregisterFill]);
+  return registry;
+}

-    return window;
-  }(function (value) {
-    if (value === void 0) {
-      value = reactusegesture_esm_isBrowser ? window : undefined;
-    }
+function SlotFillProvider(_ref) {
+  let {
+    children
+  } = _ref;
+  const registry = useSlotRegistry();
+  return (0,external_wp_element_namespaceObject.createElement)(slot_fill_context.Provider, {
+    value: registry
+  }, children);
+}

-    return value;
-  }),
-  eventOptions: function eventOptions(_temp) {
-    var _ref = _temp === void 0 ? {} : _temp,
-        _ref$passive = _ref.passive,
-        passive = _ref$passive === void 0 ? true : _ref$passive,
-        _ref$capture = _ref.capture,
-        capture = _ref$capture === void 0 ? false : _ref$capture;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/provider.js

-    return {
-      passive: passive,
-      capture: capture
-    };
-  },
-  transform: true
-};
+// @ts-nocheck

-var InternalDistanceAngleOptionsNormalizers = /*#__PURE__*/_extends({}, InternalGestureOptionsNormalizers, {
-  bounds: function bounds(_value, _key, _ref2) {
-    var _ref2$distanceBounds = _ref2.distanceBounds,
-        distanceBounds = _ref2$distanceBounds === void 0 ? {} : _ref2$distanceBounds,
-        _ref2$angleBounds = _ref2.angleBounds,
-        angleBounds = _ref2$angleBounds === void 0 ? {} : _ref2$angleBounds;
+/**
+ * External dependencies
+ */

-    var _distanceBounds = function _distanceBounds(state) {
-      var D = assignDefault(valueFn(distanceBounds, state), {
-        min: -Infinity,
-        max: Infinity
-      });
-      return [D.min, D.max];
-    };
+/**
+ * WordPress dependencies
+ */

-    var _angleBounds = function _angleBounds(state) {
-      var A = assignDefault(valueFn(angleBounds, state), {
-        min: -Infinity,
-        max: Infinity
-      });
-      return [A.min, A.max];
-    };

-    if (typeof distanceBounds !== 'function' && typeof angleBounds !== 'function') return [_distanceBounds(), _angleBounds()];
-    return function (state) {
-      return [_distanceBounds(state), _angleBounds(state)];
+/**
+ * Internal dependencies
+ */
+
+
+class provider_SlotFillProvider extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.registerSlot = this.registerSlot.bind(this);
+    this.registerFill = this.registerFill.bind(this);
+    this.unregisterSlot = this.unregisterSlot.bind(this);
+    this.unregisterFill = this.unregisterFill.bind(this);
+    this.getSlot = this.getSlot.bind(this);
+    this.getFills = this.getFills.bind(this);
+    this.hasFills = this.hasFills.bind(this);
+    this.subscribe = this.subscribe.bind(this);
+    this.slots = {};
+    this.fills = {};
+    this.listeners = [];
+    this.contextValue = {
+      registerSlot: this.registerSlot,
+      unregisterSlot: this.unregisterSlot,
+      registerFill: this.registerFill,
+      unregisterFill: this.unregisterFill,
+      getSlot: this.getSlot,
+      getFills: this.getFills,
+      hasFills: this.hasFills,
+      subscribe: this.subscribe
     };
   }
-});

-var InternalDragOptionsNormalizers = /*#__PURE__*/_extends({}, InternalCoordinatesOptionsNormalizers, {
-  useTouch: function useTouch(value) {
-    if (value === void 0) {
-      value = false;
-    }
+  registerSlot(name, slot) {
+    const previousSlot = this.slots[name];
+    this.slots[name] = slot;
+    this.triggerListeners(); // Sometimes the fills are registered after the initial render of slot
+    // But before the registerSlot call, we need to rerender the slot

-    var supportsTouch = reactusegesture_esm_supportsTouchEvents();
-    var supportsPointer = reactusegesture_esm_supportsPointerEvents();
-    if (value && supportsTouch) return true;
-    if (supportsTouch && !supportsPointer) return true;
-    return false;
-  },
-  experimental_preventWindowScrollY: function experimental_preventWindowScrollY(value) {
-    if (value === void 0) {
-      value = false;
-    }
+    this.forceUpdateSlot(name); // If a new instance of a slot is being mounted while another with the
+    // same name exists, force its update _after_ the new slot has been
+    // assigned into the instance, such that its own rendering of children
+    // will be empty (the new Slot will subsume all fills for this name).

-    return value;
-  },
-  threshold: function threshold(v, _k, _ref3) {
-    var _ref3$filterTaps = _ref3.filterTaps,
-        filterTaps = _ref3$filterTaps === void 0 ? false : _ref3$filterTaps,
-        _ref3$lockDirection = _ref3.lockDirection,
-        lockDirection = _ref3$lockDirection === void 0 ? false : _ref3$lockDirection,
-        _ref3$axis = _ref3.axis,
-        axis = _ref3$axis === void 0 ? undefined : _ref3$axis;
-    var A = ensureVector(v, filterTaps ? 3 : lockDirection ? 1 : axis ? 1 : 0);
-    this.filterTaps = filterTaps;
-    return A;
-  },
-  swipeVelocity: function swipeVelocity(v) {
-    if (v === void 0) {
-      v = DEFAULT_SWIPE_VELOCITY;
+    if (previousSlot) {
+      previousSlot.forceUpdate();
     }
+  }

-    return ensureVector(v);
-  },
-  swipeDistance: function swipeDistance(v) {
-    if (v === void 0) {
-      v = DEFAULT_SWIPE_DISTANCE;
-    }
+  registerFill(name, instance) {
+    this.fills[name] = [...(this.fills[name] || []), instance];
+    this.forceUpdateSlot(name);
+  }

-    return ensureVector(v);
-  },
-  swipeDuration: function swipeDuration(value) {
-    if (value === void 0) {
-      value = DEFAULT_SWIPE_DURATION;
+  unregisterSlot(name, instance) {
+    // If a previous instance of a Slot by this name unmounts, do nothing,
+    // as the slot and its fills should only be removed for the current
+    // known instance.
+    if (this.slots[name] !== instance) {
+      return;
     }

-    return value;
-  },
-  delay: function delay(value) {
-    if (value === void 0) {
-      value = 0;
-    }
+    delete this.slots[name];
+    this.triggerListeners();
+  }

-    switch (value) {
-      case true:
-        return DEFAULT_DRAG_DELAY;
+  unregisterFill(name, instance) {
+    this.fills[name] = (0,external_lodash_namespaceObject.without)(this.fills[name], instance);
+    this.forceUpdateSlot(name);
+  }

-      case false:
-        return 0;
+  getSlot(name) {
+    return this.slots[name];
+  }

-      default:
-        return value;
+  getFills(name, slotInstance) {
+    // Fills should only be returned for the current instance of the slot
+    // in which they occupy.
+    if (this.slots[name] !== slotInstance) {
+      return [];
     }
+
+    return this.fills[name];
   }
-});

-function getInternalGenericOptions(config) {
-  if (config === void 0) {
-    config = {};
+  hasFills(name) {
+    return this.fills[name] && !!this.fills[name].length;
   }

-  // TODO warn when passive is set to true and domTarget is undefined
-  return resolveWith(config, InternalGenericOptionsNormalizers);
-}
-function getInternalCoordinatesOptions(config) {
-  if (config === void 0) {
-    config = {};
+  forceUpdateSlot(name) {
+    const slot = this.getSlot(name);
+
+    if (slot) {
+      slot.forceUpdate();
+    }
   }

-  return resolveWith(config, InternalCoordinatesOptionsNormalizers);
-}
-function getInternalDistanceAngleOptions(config) {
-  if (config === void 0) {
-    config = {};
+  triggerListeners() {
+    this.listeners.forEach(listener => listener());
   }

-  return resolveWith(config, InternalDistanceAngleOptionsNormalizers);
-}
-function getInternalDragOptions(config) {
-  if (config === void 0) {
-    config = {};
+  subscribe(listener) {
+    this.listeners.push(listener);
+    return () => {
+      this.listeners = (0,external_lodash_namespaceObject.without)(this.listeners, listener);
+    };
+  }
+
+  render() {
+    return (0,external_wp_element_namespaceObject.createElement)(context.Provider, {
+      value: this.contextValue
+    }, this.props.children);
   }

-  return resolveWith(config, InternalDragOptionsNormalizers);
 }

-function _buildMoveConfig(_ref) {
-  var domTarget = _ref.domTarget,
-      eventOptions = _ref.eventOptions,
-      window = _ref.window,
-      enabled = _ref.enabled,
-      rest = _objectWithoutPropertiesLoose(_ref, ["domTarget", "eventOptions", "window", "enabled"]);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/index.js

-  var opts = getInternalGenericOptions({
-    domTarget: domTarget,
-    eventOptions: eventOptions,
-    window: window,
-    enabled: enabled
-  });
-  opts.move = getInternalCoordinatesOptions(rest);
-  return opts;
-}
-function _buildHoverConfig(_ref2) {
-  var domTarget = _ref2.domTarget,
-      eventOptions = _ref2.eventOptions,
-      window = _ref2.window,
-      enabled = _ref2.enabled,
-      rest = _objectWithoutPropertiesLoose(_ref2, ["domTarget", "eventOptions", "window", "enabled"]);

-  var opts = getInternalGenericOptions({
-    domTarget: domTarget,
-    eventOptions: eventOptions,
-    window: window,
-    enabled: enabled
-  });
-  opts.hover = _extends({
-    enabled: true
-  }, rest);
-  return opts;
-}
-function _buildDragConfig(_ref3) {
-  var domTarget = _ref3.domTarget,
-      eventOptions = _ref3.eventOptions,
-      window = _ref3.window,
-      enabled = _ref3.enabled,
-      rest = _objectWithoutPropertiesLoose(_ref3, ["domTarget", "eventOptions", "window", "enabled"]);
+// @ts-nocheck

-  var opts = getInternalGenericOptions({
-    domTarget: domTarget,
-    eventOptions: eventOptions,
-    window: window,
-    enabled: enabled
-  });
-  opts.drag = getInternalDragOptions(rest);
-  return opts;
-}
-function _buildPinchConfig(_ref4) {
-  var domTarget = _ref4.domTarget,
-      eventOptions = _ref4.eventOptions,
-      window = _ref4.window,
-      enabled = _ref4.enabled,
-      rest = _objectWithoutPropertiesLoose(_ref4, ["domTarget", "eventOptions", "window", "enabled"]);
+/**
+ * WordPress dependencies
+ */

-  var opts = getInternalGenericOptions({
-    domTarget: domTarget,
-    eventOptions: eventOptions,
-    window: window,
-    enabled: enabled
-  });
-  opts.pinch = getInternalDistanceAngleOptions(rest);
-  return opts;
-}
-function _buildScrollConfig(_ref5) {
-  var domTarget = _ref5.domTarget,
-      eventOptions = _ref5.eventOptions,
-      window = _ref5.window,
-      enabled = _ref5.enabled,
-      rest = _objectWithoutPropertiesLoose(_ref5, ["domTarget", "eventOptions", "window", "enabled"]);
+/**
+ * Internal dependencies
+ */

-  var opts = getInternalGenericOptions({
-    domTarget: domTarget,
-    eventOptions: eventOptions,
-    window: window,
-    enabled: enabled
-  });
-  opts.scroll = getInternalCoordinatesOptions(rest);
-  return opts;
-}
-function _buildWheelConfig(_ref6) {
-  var domTarget = _ref6.domTarget,
-      eventOptions = _ref6.eventOptions,
-      window = _ref6.window,
-      enabled = _ref6.enabled,
-      rest = _objectWithoutPropertiesLoose(_ref6, ["domTarget", "eventOptions", "window", "enabled"]);

-  var opts = getInternalGenericOptions({
-    domTarget: domTarget,
-    eventOptions: eventOptions,
-    window: window,
-    enabled: enabled
-  });
-  opts.wheel = getInternalCoordinatesOptions(rest);
-  return opts;
+
+
+
+
+
+
+function slot_fill_Fill(props) {
+  // We're adding both Fills here so they can register themselves before
+  // their respective slot has been registered. Only the Fill that has a slot
+  // will render. The other one will return null.
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(fill, props), (0,external_wp_element_namespaceObject.createElement)(fill_Fill, props));
 }
-function buildComplexConfig(config, actions) {
-  if (config === void 0) {
-    config = {};
-  }
+const slot_fill_Slot = (0,external_wp_element_namespaceObject.forwardRef)((_ref, ref) => {
+  let {
+    bubblesVirtually,
+    ...props
+  } = _ref;

-  if (actions === void 0) {
-    actions = new Set();
+  if (bubblesVirtually) {
+    return (0,external_wp_element_namespaceObject.createElement)(bubbles_virtually_slot, extends_extends({}, props, {
+      ref: ref
+    }));
   }

-  var _config = config,
-      drag = _config.drag,
-      wheel = _config.wheel,
-      move = _config.move,
-      scroll = _config.scroll,
-      pinch = _config.pinch,
-      hover = _config.hover,
-      eventOptions = _config.eventOptions,
-      window = _config.window,
-      transform = _config.transform,
-      domTarget = _config.domTarget,
-      enabled = _config.enabled;
-  var mergedConfig = getInternalGenericOptions({
-    domTarget: domTarget,
-    eventOptions: eventOptions,
-    transform: transform,
-    window: window,
-    enabled: enabled
-  });
-  if (actions.has('onDrag')) mergedConfig.drag = getInternalDragOptions(drag);
-  if (actions.has('onWheel')) mergedConfig.wheel = getInternalCoordinatesOptions(wheel);
-  if (actions.has('onScroll')) mergedConfig.scroll = getInternalCoordinatesOptions(scroll);
-  if (actions.has('onMove')) mergedConfig.move = getInternalCoordinatesOptions(move);
-  if (actions.has('onPinch')) mergedConfig.pinch = getInternalDistanceAngleOptions(pinch);
-  if (actions.has('onHover')) mergedConfig.hover = _extends({
-    enabled: true
-  }, hover);
-  return mergedConfig;
+  return (0,external_wp_element_namespaceObject.createElement)(slot, props);
+});
+function Provider(_ref2) {
+  let {
+    children,
+    ...props
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(provider_SlotFillProvider, props, (0,external_wp_element_namespaceObject.createElement)(SlotFillProvider, null, children));
 }
+function createSlotFill(name) {
+  const FillComponent = props => (0,external_wp_element_namespaceObject.createElement)(slot_fill_Fill, extends_extends({
+    name: name
+  }, props));

-function getInitial(mixed) {
-  return _extends({
-    _active: false,
-    _blocked: false,
-    _intentional: [false, false],
-    _movement: [0, 0],
-    _initial: [0, 0],
-    _bounds: [[-Infinity, Infinity], [-Infinity, Infinity]],
-    _threshold: [0, 0],
-    _lastEventType: undefined,
-    _dragStarted: false,
-    _dragPreventScroll: false,
-    _dragIsTap: true,
-    _dragDelayed: false,
-    event: undefined,
-    intentional: false,
-    values: [0, 0],
-    velocities: [0, 0],
-    delta: [0, 0],
-    movement: [0, 0],
-    offset: [0, 0],
-    lastOffset: [0, 0],
-    direction: [0, 0],
-    initial: [0, 0],
-    previous: [0, 0],
-    first: false,
-    last: false,
-    active: false,
-    timeStamp: 0,
-    startTime: 0,
-    elapsedTime: 0,
-    cancel: reactusegesture_esm_noop,
-    canceled: false,
-    memo: undefined,
-    args: undefined
-  }, mixed);
-}
+  FillComponent.displayName = name + 'Fill';

-function getInitialState() {
-  var shared = {
-    hovering: false,
-    scrolling: false,
-    wheeling: false,
-    dragging: false,
-    moving: false,
-    pinching: false,
-    touches: 0,
-    buttons: 0,
-    down: false,
-    shiftKey: false,
-    altKey: false,
-    metaKey: false,
-    ctrlKey: false,
-    locked: false
-  };
-  var drag = getInitial({
-    _pointerId: undefined,
-    axis: undefined,
-    xy: [0, 0],
-    vxvy: [0, 0],
-    velocity: 0,
-    distance: 0,
-    tap: false,
-    swipe: [0, 0]
-  });
-  var pinch = getInitial({
-    // @ts-expect-error when used _pointerIds we can assert its type will be [number, number]
-    _pointerIds: [],
-    da: [0, 0],
-    vdva: [0, 0],
-    // @ts-expect-error origin can never be passed as undefined in userland
-    origin: undefined,
-    turns: 0
-  });
-  var wheel = getInitial({
-    axis: undefined,
-    xy: [0, 0],
-    vxvy: [0, 0],
-    velocity: 0,
-    distance: 0
-  });
-  var move = getInitial({
-    axis: undefined,
-    xy: [0, 0],
-    vxvy: [0, 0],
-    velocity: 0,
-    distance: 0
-  });
-  var scroll = getInitial({
-    axis: undefined,
-    xy: [0, 0],
-    vxvy: [0, 0],
-    velocity: 0,
-    distance: 0
-  });
+  const SlotComponent = props => (0,external_wp_element_namespaceObject.createElement)(slot_fill_Slot, extends_extends({
+    name: name
+  }, props));
+
+  SlotComponent.displayName = name + 'Slot';
+  SlotComponent.__unstableName = name;
   return {
-    shared: shared,
-    drag: drag,
-    pinch: pinch,
-    wheel: wheel,
-    move: move,
-    scroll: scroll
+    Fill: FillComponent,
+    Slot: SlotComponent
   };
 }

-var RecognizersMap = /*#__PURE__*/new Map();

-var identity$1 = function identity(xy) {
-  return xy;
-};
-/**
- * @private
- * Recognizer abstract class.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/animate/index.js
+/**
+ * External dependencies
  */

+/**
+ * @typedef {'top' | 'top left' | 'top right' | 'middle' | 'middle left' | 'middle right' | 'bottom' | 'bottom left' | 'bottom right'} AppearOrigin
+ * @typedef {'left' | 'right'} SlideInOrigin
+ * @typedef {{ type: 'appear'; origin?: AppearOrigin }} AppearOptions
+ * @typedef {{ type: 'slide-in'; origin?: SlideInOrigin }} SlideInOptions
+ * @typedef {{ type: 'loading' }} LoadingOptions
+ * @typedef {AppearOptions | SlideInOptions | LoadingOptions} GetAnimateOptions
+ */

-var Recognizer = /*#__PURE__*/function () {
-  /**
-   * Creates an instance of a gesture recognizer.
-   * @param stateKey drag, move, pinch, etc.
-   * @param controller the controller attached to the gesture
-   * @param [args] the args that should be passed to the gesture handler
-   */
-  function Recognizer(controller, args) {
-    var _this = this;
+/* eslint-disable jsdoc/valid-types */

-    if (args === void 0) {
-      args = [];
-    }
+/**
+ * @param {GetAnimateOptions['type']} type The animation type
+ * @return {'top' | 'left'} Default origin
+ */

-    this.controller = controller;
-    this.args = args;
-    this.debounced = true; // Convenience method to set a timeout for a given gesture
+function getDefaultOrigin(type) {
+  return type === 'appear' ? 'top' : 'left';
+}
+/* eslint-enable jsdoc/valid-types */

-    this.setTimeout = function (callback, ms) {
-      var _window;
+/**
+ * @param {GetAnimateOptions} options
+ *
+ * @return {string | void} ClassName that applies the animations
+ */

-      if (ms === void 0) {
-        ms = 140;
-      }

-      clearTimeout(_this.controller.timeouts[_this.stateKey]);
+function getAnimateClassName(options) {
+  if (options.type === 'loading') {
+    return classnames_default()('components-animate__loading');
+  }

-      for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
-        args[_key - 2] = arguments[_key];
-      }
+  const {
+    type,
+    origin = getDefaultOrigin(type)
+  } = options;

-      _this.controller.timeouts[_this.stateKey] = (_window = window).setTimeout.apply(_window, [callback, ms].concat(args));
-    }; // Convenience method to clear a timeout for a given gesture
+  if (type === 'appear') {
+    const [yAxis, xAxis = 'center'] = origin.split(' ');
+    return classnames_default()('components-animate__appear', {
+      ['is-from-' + xAxis]: xAxis !== 'center',
+      ['is-from-' + yAxis]: yAxis !== 'middle'
+    });
+  }

+  if (type === 'slide-in') {
+    return classnames_default()('components-animate__slide-in', 'is-from-' + origin);
+  }
+} // @ts-ignore Reason: Planned for deprecation

-    this.clearTimeout = function () {
-      clearTimeout(_this.controller.timeouts[_this.stateKey]);
-    };
-    /**
-     * Fires the gesture handler
-     */
+function Animate(_ref) {
+  let {
+    type,
+    options = {},
+    children
+  } = _ref;
+  return children({
+    className: getAnimateClassName({
+      type,
+      ...options
+    })
+  });
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/index.js

-    this.fireGestureHandler = function (forceFlag) {
-      if (forceFlag === void 0) {
-        forceFlag = false;
-      }

-      /**
-       * If the gesture has been blocked (this can happen when the gesture has started in an unwanted direction),
-       * clean everything and don't do anything.
-       */
-      if (_this.state._blocked) {
-        // we need debounced gestures to end by themselves
-        if (!_this.debounced) {
-          _this.state._active = false;
+// @ts-nocheck

-          _this.clean();
-        }
+/**
+ * External dependencies
+ */

-        return null;
-      } // If the gesture has no intentional dimension, don't fire the handler.
+/**
+ * WordPress dependencies
+ */


-      if (!forceFlag && !_this.state.intentional && !_this.config.triggerAllEvents) return null;

-      if (_this.state.intentional) {
-        var prev_active = _this.state.active;
-        var next_active = _this.state._active;
-        _this.state.active = next_active;
-        _this.state.first = next_active && !prev_active;
-        _this.state.last = prev_active && !next_active;
-        _this.controller.state.shared[_this.ingKey] = next_active; // Sets dragging, pinching, etc. to the gesture active state
-      }

-      var touches = _this.controller.pointerIds.size || _this.controller.touchIds.size;
-      var down = _this.controller.state.shared.buttons > 0 || touches > 0;

-      var state = _extends({}, _this.controller.state.shared, _this.state, _this.mapStateValues(_this.state), {
-        locked: !!document.pointerLockElement,
-        touches: touches,
-        down: down
-      }); // @ts-expect-error
+/**
+ * Internal dependencies
+ */


-      var newMemo = _this.handler(state); // Sets memo to the returned value of the handler (unless it's not undefined)


-      _this.state.memo = newMemo !== void 0 ? newMemo : _this.state.memo;
-      return state;
-    };

-    this.controller = controller;
-    this.args = args;
-  } // Returns the gesture config

+/**
+ * Name of slot in which popover should fill.
+ *
+ * @type {string}
+ */

-  var _proto = Recognizer.prototype;
+const SLOT_NAME = 'Popover';
+const slotNameContext = (0,external_wp_element_namespaceObject.createContext)();

-  // Convenience method to update the shared state
-  _proto.updateSharedState = function updateSharedState(sharedState) {
-    Object.assign(this.controller.state.shared, sharedState);
-  } // Convenience method to update the gesture state
-  ;
+function computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect) {
+  let anchorRef = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
+  let shouldAnchorIncludePadding = arguments.length > 4 ? arguments[4] : undefined;
+  let container = arguments.length > 5 ? arguments[5] : undefined;

-  _proto.updateGestureState = function updateGestureState(gestureState) {
-    Object.assign(this.state, gestureState);
+  if (anchorRect) {
+    return anchorRect;
   }
-  /**
-   * Returns state properties depending on the movement and state.
-   *
-   * Should be overriden for custom behavior, doesn't do anything in the implementation
-   * below.
-   */
-  ;

-  _proto.checkIntentionality = function checkIntentionality(_intentional, _movement) {
-    return {
-      _intentional: _intentional,
-      _blocked: false
-    };
-  }
-  /**
-   * Returns basic movement properties for the gesture based on the next values and current state.
-   */
-  ;
+  if (getAnchorRect) {
+    if (!anchorRefFallback.current) {
+      return;
+    }

-  _proto.getMovement = function getMovement(values) {
-    var rubberband = this.config.rubberband;
-    var _this$state = this.state,
-        _bounds = _this$state._bounds,
-        _initial = _this$state._initial,
-        _active = _this$state._active,
-        wasIntentional = _this$state._intentional,
-        lastOffset = _this$state.lastOffset,
-        prevMovement = _this$state.movement,
-        _T = _this$state._threshold;
-    var M = this.getInternalMovement(values, this.state);
-    var i0 = wasIntentional[0] === false ? getIntentionalDisplacement(M[0], _T[0]) : wasIntentional[0];
-    var i1 = wasIntentional[1] === false ? getIntentionalDisplacement(M[1], _T[1]) : wasIntentional[1]; // Get gesture specific state properties based on intentionality and movement.
+    const rect = getAnchorRect(anchorRefFallback.current);
+    return offsetIframe(rect, rect.ownerDocument || anchorRefFallback.current.ownerDocument, container);
+  }

-    var intentionalityCheck = this.checkIntentionality([i0, i1], M);
+  if (anchorRef !== false) {
+    if (!anchorRef || !window.Range || !window.Element || !window.DOMRect) {
+      return;
+    } // Duck-type to check if `anchorRef` is an instance of Range
+    // `anchorRef instanceof window.Range` checks will break across document boundaries
+    // such as in an iframe

-    if (intentionalityCheck._blocked) {
-      return _extends({}, intentionalityCheck, {
-        _movement: M,
-        delta: [0, 0]
-      });
-    }

-    var _intentional = intentionalityCheck._intentional;
-    var _movement = M;
-    /**
-     * The movement sent to the handler has 0 in its dimensions when intentionality is false.
-     * It is calculated from the actual movement minus the threshold.
-     */
+    if (typeof (anchorRef === null || anchorRef === void 0 ? void 0 : anchorRef.cloneRange) === 'function') {
+      return offsetIframe((0,external_wp_dom_namespaceObject.getRectangleFromRange)(anchorRef), anchorRef.endContainer.ownerDocument, container);
+    } // Duck-type to check if `anchorRef` is an instance of Element
+    // `anchorRef instanceof window.Element` checks will break across document boundaries
+    // such as in an iframe

-    var movement = [_intentional[0] !== false ? M[0] - _intentional[0] : 0, _intentional[1] !== false ? M[1] - _intentional[1] : 0];
-    var offset = addV(movement, lastOffset);
-    /**
-     * Rubberband should be 0 when the gesture is no longer active, so that movement
-     * and offset can return within their bounds.
-     */

-    var _rubberband = _active ? rubberband : [0, 0];
+    if (typeof (anchorRef === null || anchorRef === void 0 ? void 0 : anchorRef.getBoundingClientRect) === 'function') {
+      const rect = offsetIframe(anchorRef.getBoundingClientRect(), anchorRef.ownerDocument, container);

-    movement = computeRubberband(_bounds, addV(movement, _initial), _rubberband);
-    return _extends({}, intentionalityCheck, {
-      intentional: _intentional[0] !== false || _intentional[1] !== false,
-      _initial: _initial,
-      _movement: _movement,
-      movement: movement,
-      values: values,
-      offset: computeRubberband(_bounds, offset, _rubberband),
-      delta: subV(movement, prevMovement)
-    });
-  } // Cleans the gesture. Can be overriden by gestures.
-  ;
+      if (shouldAnchorIncludePadding) {
+        return rect;
+      }

-  _proto.clean = function clean() {
-    this.clearTimeout();
-  };
+      return withoutPadding(rect, anchorRef);
+    }

-  _createClass(Recognizer, [{
-    key: "config",
-    get: function get() {
-      return this.controller.config[this.stateKey];
-    } // Is the gesture enabled
+    const {
+      top,
+      bottom
+    } = anchorRef;
+    const topRect = top.getBoundingClientRect();
+    const bottomRect = bottom.getBoundingClientRect();
+    const rect = offsetIframe(new window.DOMRect(topRect.left, topRect.top, topRect.width, bottomRect.bottom - topRect.top), top.ownerDocument, container);

-  }, {
-    key: "enabled",
-    get: function get() {
-      return this.controller.config.enabled && this.config.enabled;
-    } // Returns the controller state for a given gesture
+    if (shouldAnchorIncludePadding) {
+      return rect;
+    }

-  }, {
-    key: "state",
-    get: function get() {
-      return this.controller.state[this.stateKey];
-    } // Returns the gesture handler
+    return withoutPadding(rect, anchorRef);
+  }

-  }, {
-    key: "handler",
-    get: function get() {
-      return this.controller.handlers[this.stateKey];
-    }
-  }, {
-    key: "transform",
-    get: function get() {
-      return this.config.transform || this.controller.config.transform || identity$1;
-    }
-  }]);
+  if (!anchorRefFallback.current) {
+    return;
+  }

-  return Recognizer;
-}(); //--------------------------------------------
+  const {
+    parentNode
+  } = anchorRefFallback.current;
+  const rect = offsetIframe(parentNode.getBoundingClientRect(), parentNode.ownerDocument, container);

-function getIntentionalDisplacement(movement, threshold) {
-  if (Math.abs(movement) >= threshold) {
-    return sign(movement) * threshold;
-  } else {
-    return false;
+  if (shouldAnchorIncludePadding) {
+    return rect;
   }
-}

-function computeRubberband(bounds, _ref, _ref2) {
-  var Vx = _ref[0],
-      Vy = _ref[1];
-  var Rx = _ref2[0],
-      Ry = _ref2[1];
-  var _bounds$ = bounds[0],
-      X1 = _bounds$[0],
-      X2 = _bounds$[1],
-      _bounds$2 = bounds[1],
-      Y1 = _bounds$2[0],
-      Y2 = _bounds$2[1];
-  return [rubberbandIfOutOfBounds(Vx, X1, X2, Rx), rubberbandIfOutOfBounds(Vy, Y1, Y2, Ry)];
+  return withoutPadding(rect, parentNode);
 }
-/**
- * Returns a generic, common payload for all gestures from an event.
- */

+function popover_getComputedStyle(node) {
+  return node.ownerDocument.defaultView.getComputedStyle(node);
+}

-function getGenericPayload(_ref3, event, isStartEvent) {
-  var state = _ref3.state;
-  var timeStamp = event.timeStamp,
-      _lastEventType = event.type;
-  var previous = state.values;
-  var elapsedTime = isStartEvent ? 0 : timeStamp - state.startTime;
+function withoutPadding(rect, element) {
+  const {
+    paddingTop,
+    paddingBottom,
+    paddingLeft,
+    paddingRight
+  } = popover_getComputedStyle(element);
+  const top = paddingTop ? parseInt(paddingTop, 10) : 0;
+  const bottom = paddingBottom ? parseInt(paddingBottom, 10) : 0;
+  const left = paddingLeft ? parseInt(paddingLeft, 10) : 0;
+  const right = paddingRight ? parseInt(paddingRight, 10) : 0;
   return {
-    _lastEventType: _lastEventType,
-    event: event,
-    timeStamp: timeStamp,
-    elapsedTime: elapsedTime,
-    previous: previous
+    x: rect.left + left,
+    y: rect.top + top,
+    width: rect.width - left - right,
+    height: rect.height - top - bottom,
+    left: rect.left + left,
+    right: rect.right - right,
+    top: rect.top + top,
+    bottom: rect.bottom - bottom
   };
 }
-/**
- * Returns the reinitialized start state for the gesture.
- * Should be common to all gestures.
+/**
+ * Sets or removes an element attribute.
+ *
+ * @param {Element} element The element to modify.
+ * @param {string}  name    The attribute name to set or remove.
+ * @param {?string} value   The value to set. A falsy value will remove the
+ *                          attribute.
  */

-function getStartGestureState(_ref4, values, event, initial) {
-  var state = _ref4.state,
-      config = _ref4.config,
-      stateKey = _ref4.stateKey,
-      args = _ref4.args,
-      transform = _ref4.transform;
-  var offset = state.offset;
-  var startTime = event.timeStamp;
-  var initialFn = config.initial,
-      bounds = config.bounds,
-      threshold = config.threshold; // the _threshold is the difference between a [0,0] offset converted to
-  // its new space coordinates

-  var _threshold = subV(transform(threshold), transform([0, 0])).map(Math.abs);
+function setAttribute(element, name, value) {
+  if (!value) {
+    if (element.hasAttribute(name)) {
+      element.removeAttribute(name);
+    }
+  } else if (element.getAttribute(name) !== value) {
+    element.setAttribute(name, value);
+  }
+}
+/**
+ * Sets or removes an element style property.
+ *
+ * @param {Element} element  The element to modify.
+ * @param {string}  property The property to set or remove.
+ * @param {?string} value    The value to set. A falsy value will remove the
+ *                           property.
+ */

-  var _state = _extends({}, getInitialState()[stateKey], {
-    _active: true,
-    args: args,
-    values: values,
-    initial: initial != null ? initial : values,
-    _threshold: _threshold,
-    offset: offset,
-    lastOffset: offset,
-    startTime: startTime
-  });

-  return _extends({}, _state, {
-    _initial: valueFn(initialFn, _state),
-    _bounds: valueFn(bounds, _state)
-  });
-}
+function setStyle(element, property) {
+  let value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';

-/**
- * The controller will keep track of the state for all gestures and also keep
- * track of timeouts, and window listeners.
+  if (element.style[property] !== value) {
+    element.style[property] = value;
+  }
+}
+/**
+ * Sets or removes an element class.
+ *
+ * @param {Element} element The element to modify.
+ * @param {string}  name    The class to set or remove.
+ * @param {boolean} toggle  True to set the class, false to remove.
  */

-var Controller = function Controller(classes) {
-  var _this = this;

-  this.classes = classes;
-  this.pointerIds = new Set(); // register Pointer Events pointerIds
+function setClass(element, name, toggle) {
+  if (toggle) {
+    if (!element.classList.contains(name)) {
+      element.classList.add(name);
+    }
+  } else if (element.classList.contains(name)) {
+    element.classList.remove(name);
+  }
+}

-  this.touchIds = new Set(); // register Touch Events identifiers
+function getAnchorDocument(anchor) {
+  if (!anchor) {
+    return;
+  }

-  this.supportsTouchEvents = reactusegesture_esm_supportsTouchEvents();
-  this.supportsGestureEvents = supportsGestureEvents();
+  if (anchor.endContainer) {
+    return anchor.endContainer.ownerDocument;
+  }

-  this.bind = function () {
-    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-      args[_key] = arguments[_key];
-    }
+  if (anchor.top) {
+    return anchor.top.ownerDocument;
+  }

-    var bindings = {};
+  return anchor.ownerDocument;
+}

-    for (var _iterator = _createForOfIteratorHelperLoose(_this.classes), _step; !(_step = _iterator()).done;) {
-      var RecognizerClass = _step.value;
-      new RecognizerClass(_this, args).addBindings(bindings);
-    } // // we also add event bindings for native handlers
+const Popover = (_ref, ref) => {
+  let {
+    headerTitle,
+    onClose,
+    children,
+    className,
+    noArrow = true,
+    isAlternate,
+    // Disable reason: We generate the `...contentProps` rest as remainder
+    // of props which aren't explicitly handled by this component.

+    /* eslint-disable no-unused-vars */
+    position = 'bottom right',
+    range,
+    focusOnMount = 'firstElement',
+    anchorRef,
+    shouldAnchorIncludePadding,
+    anchorRect,
+    getAnchorRect,
+    expandOnMobile,
+    animate = true,
+    onFocusOutside,
+    __unstableStickyBoundaryElement,
+    __unstableSlotName = SLOT_NAME,
+    __unstableObserveElement,
+    __unstableBoundaryParent,
+    __unstableForcePosition,
+    __unstableForceXAlignment,
+    __unstableEditorCanvasWrapper,

-    var _loop = function _loop(eventKey) {
-      addBindings(bindings, eventKey, function (event) {
-        return _this.nativeRefs[eventKey](_extends({}, _this.state.shared, {
-          event: event,
-          args: args
-        }));
-      });
-    };
+    /* eslint-enable no-unused-vars */
+    ...contentProps
+  } = _ref;
+  const anchorRefFallback = (0,external_wp_element_namespaceObject.useRef)(null);
+  const contentRef = (0,external_wp_element_namespaceObject.useRef)(null);
+  const containerRef = (0,external_wp_element_namespaceObject.useRef)();
+  const isMobileViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
+  const [animateOrigin, setAnimateOrigin] = (0,external_wp_element_namespaceObject.useState)();

-    for (var eventKey in _this.nativeRefs) {
-      _loop(eventKey);
-    }
+  const slotName = (0,external_wp_element_namespaceObject.useContext)(slotNameContext) || __unstableSlotName;

-    if (_this.config.domTarget) {
-      // If config.domTarget is set we add event listeners to it and return the clean function.
-      return updateDomListeners(_this, bindings);
-    } else {
-      // If not, we return an object that contains gesture handlers mapped to react handler event keys.
-      return getPropsListener(_this, bindings);
+  const slot = use_slot_useSlot(slotName);
+  const isExpanded = expandOnMobile && isMobileViewport;
+  const [containerResizeListener, contentSize] = (0,external_wp_compose_namespaceObject.useResizeObserver)();
+  noArrow = isExpanded || noArrow;
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    if (isExpanded) {
+      setClass(containerRef.current, 'is-without-arrow', noArrow);
+      setClass(containerRef.current, 'is-alternate', isAlternate);
+      setAttribute(containerRef.current, 'data-x-axis');
+      setAttribute(containerRef.current, 'data-y-axis');
+      setStyle(containerRef.current, 'top');
+      setStyle(containerRef.current, 'left');
+      setStyle(contentRef.current, 'maxHeight');
+      setStyle(contentRef.current, 'maxWidth');
+      return;
     }
-  };

-  this.effect = function () {
-    if (_this.config.domTarget) _this.bind();
-    return _this.clean;
-  };
-  /**
-   * Function ran on component unmount: cleans timeouts and removes dom listeners set by the bind function.
-   */
+    const refresh = () => {
+      if (!containerRef.current || !contentRef.current) {
+        return;
+      }

+      let anchor = computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding, containerRef.current);

-  this.clean = function () {
-    var domTarget = getDomTargetFromConfig(_this.config);
-    var eventOptions = _this.config.eventOptions;
-    if (domTarget) removeListeners(domTarget, takeAll(_this.domListeners), eventOptions);
-    Object.values(_this.timeouts).forEach(clearTimeout);
-    clearAllWindowListeners(_this);
-  };
+      if (!anchor) {
+        return;
+      }

-  this.classes = classes;
-  this.state = getInitialState();
-  this.timeouts = {};
-  this.domListeners = [];
-  this.windowListeners = {};
-};
-function addEventIds(controller, event) {
-  if ('pointerId' in event) {
-    controller.pointerIds.add(event.pointerId);
-  } else {
-    controller.touchIds = new Set(getTouchIds(event));
-  }
-}
-function removeEventIds(controller, event) {
-  if ('pointerId' in event) {
-    controller.pointerIds["delete"](event.pointerId);
-  } else {
-    getTouchIds(event).forEach(function (id) {
-      return controller.touchIds["delete"](id);
-    });
-  }
-}
-function clearAllWindowListeners(controller) {
-  var _controller$config = controller.config,
-      el = _controller$config.window,
-      eventOptions = _controller$config.eventOptions,
-      windowListeners = controller.windowListeners;
-  if (!el) return;
+      const {
+        offsetParent,
+        ownerDocument
+      } = containerRef.current;
+      let relativeOffsetTop = 0; // If there is a positioned ancestor element that is not the body,
+      // subtract the position from the anchor rect. If the position of
+      // the popover is fixed, the offset parent is null or the body
+      // element, in which case the position is relative to the viewport.
+      // See https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent

-  for (var stateKey in windowListeners) {
-    var handlers = windowListeners[stateKey];
-    removeListeners(el, handlers, eventOptions);
-  }
+      if (offsetParent && offsetParent !== ownerDocument.body) {
+        const offsetParentRect = offsetParent.getBoundingClientRect();
+        relativeOffsetTop = offsetParentRect.top;
+        anchor = new window.DOMRect(anchor.left - offsetParentRect.left, anchor.top - offsetParentRect.top, anchor.width, anchor.height);
+      }

-  controller.windowListeners = {};
-}
-function clearWindowListeners(_ref, stateKey, options) {
-  var config = _ref.config,
-      windowListeners = _ref.windowListeners;
+      let boundaryElement;

-  if (options === void 0) {
-    options = config.eventOptions;
-  }
+      if (__unstableBoundaryParent) {
+        boundaryElement = containerRef.current.parentElement;
+      }

-  if (!config.window) return;
-  removeListeners(config.window, windowListeners[stateKey], options);
-  delete windowListeners[stateKey];
-}
-function updateWindowListeners(_ref2, stateKey, listeners, options) {
-  var config = _ref2.config,
-      windowListeners = _ref2.windowListeners;
+      const usedContentSize = !contentSize.height ? contentRef.current.getBoundingClientRect() : contentSize;
+      const {
+        popoverTop,
+        popoverLeft,
+        xAxis,
+        yAxis,
+        contentHeight,
+        contentWidth
+      } = computePopoverPosition(anchor, usedContentSize, position, __unstableStickyBoundaryElement, containerRef.current, relativeOffsetTop, boundaryElement, __unstableForcePosition, __unstableForceXAlignment, __unstableEditorCanvasWrapper);

-  if (listeners === void 0) {
-    listeners = [];
-  }
+      if (typeof popoverTop === 'number' && typeof popoverLeft === 'number') {
+        setStyle(containerRef.current, 'top', popoverTop + 'px');
+        setStyle(containerRef.current, 'left', popoverLeft + 'px');
+      }

-  if (options === void 0) {
-    options = config.eventOptions;
-  }
+      setClass(containerRef.current, 'is-without-arrow', noArrow || xAxis === 'center' && yAxis === 'middle');
+      setClass(containerRef.current, 'is-alternate', isAlternate);
+      setAttribute(containerRef.current, 'data-x-axis', xAxis);
+      setAttribute(containerRef.current, 'data-y-axis', yAxis);
+      setStyle(contentRef.current, 'maxHeight', typeof contentHeight === 'number' ? contentHeight + 'px' : '');
+      setStyle(contentRef.current, 'maxWidth', typeof contentWidth === 'number' ? contentWidth + 'px' : ''); // Compute the animation position

-  if (!config.window) return;
-  removeListeners(config.window, windowListeners[stateKey], options);
-  addListeners(config.window, windowListeners[stateKey] = listeners, options);
-}
+      const yAxisMapping = {
+        top: 'bottom',
+        bottom: 'top'
+      };
+      const xAxisMapping = {
+        left: 'right',
+        right: 'left'
+      };
+      const animateYAxis = yAxisMapping[yAxis] || 'middle';
+      const animateXAxis = xAxisMapping[xAxis] || 'center';
+      setAnimateOrigin(animateXAxis + ' ' + animateYAxis);
+    };

-function updateDomListeners(_ref3, bindings) {
-  var config = _ref3.config,
-      domListeners = _ref3.domListeners;
-  var domTarget = getDomTargetFromConfig(config);
-  if (!domTarget) throw new Error('domTarget must be defined');
-  var eventOptions = config.eventOptions;
-  removeListeners(domTarget, takeAll(domListeners), eventOptions);
+    refresh();
+    const {
+      ownerDocument
+    } = containerRef.current;
+    const {
+      defaultView
+    } = ownerDocument;
+    /*
+     * There are sometimes we need to reposition or resize the popover that
+     * are not handled by the resize/scroll window events (i.e. CSS changes
+     * in the layout that changes the position of the anchor).
+     *
+     * For these situations, we refresh the popover every 0.5s
+     */

-  for (var _i = 0, _Object$entries = Object.entries(bindings); _i < _Object$entries.length; _i++) {
-    var _Object$entries$_i = _Object$entries[_i],
-        key = _Object$entries$_i[0],
-        fns = _Object$entries$_i[1];
-    var name = key.slice(2).toLowerCase();
-    domListeners.push([name, chainFns.apply(void 0, fns)]);
-  }
+    const intervalHandle = defaultView.setInterval(refresh, 500);
+    let rafId;

-  addListeners(domTarget, domListeners, eventOptions);
-}
+    const refreshOnAnimationFrame = () => {
+      defaultView.cancelAnimationFrame(rafId);
+      rafId = defaultView.requestAnimationFrame(refresh);
+    }; // Sometimes a click trigger a layout change that affects the popover
+    // position. This is an opportunity to immediately refresh rather than
+    // at the interval.

-function getPropsListener(_ref4, bindings) {
-  var config = _ref4.config;
-  var props = {};
-  var captureString = config.eventOptions.capture ? 'Capture' : '';

-  for (var _i2 = 0, _Object$entries2 = Object.entries(bindings); _i2 < _Object$entries2.length; _i2++) {
-    var _Object$entries2$_i = _Object$entries2[_i2],
-        event = _Object$entries2$_i[0],
-        fns = _Object$entries2$_i[1];
-    var fnsArray = Array.isArray(fns) ? fns : [fns];
-    var key = event + captureString;
-    props[key] = chainFns.apply(void 0, fnsArray);
-  }
+    defaultView.addEventListener('click', refreshOnAnimationFrame);
+    defaultView.addEventListener('resize', refresh);
+    defaultView.addEventListener('scroll', refresh, true);
+    const anchorDocument = getAnchorDocument(anchorRef); // If the anchor is within an iframe, the popover position also needs
+    // to refrest when the iframe content is scrolled or resized.

-  return props;
-}
+    if (anchorDocument && anchorDocument !== ownerDocument) {
+      anchorDocument.defaultView.addEventListener('resize', refresh);
+      anchorDocument.defaultView.addEventListener('scroll', refresh, true);
+    }

-function takeAll(array) {
-  if (array === void 0) {
-    array = [];
-  }
+    let observer;

-  return array.splice(0, array.length);
-}
+    if (__unstableObserveElement) {
+      observer = new defaultView.MutationObserver(refresh);
+      observer.observe(__unstableObserveElement, {
+        attributes: true
+      });
+    }

-function getDomTargetFromConfig(_ref5) {
-  var domTarget = _ref5.domTarget;
-  return domTarget && 'current' in domTarget ? domTarget.current : domTarget;
-}
-/**
- * bindings is an object which keys match ReactEventHandlerKeys.
- * Since a recognizer might want to bind a handler function to an event key already used by a previously
- * added recognizer, we need to make sure that each event key is an array of all the functions mapped for
- * that key.
- */
+    return () => {
+      defaultView.clearInterval(intervalHandle);
+      defaultView.removeEventListener('resize', refresh);
+      defaultView.removeEventListener('scroll', refresh, true);
+      defaultView.removeEventListener('click', refreshOnAnimationFrame);
+      defaultView.cancelAnimationFrame(rafId);

+      if (anchorDocument && anchorDocument !== ownerDocument) {
+        var _anchorDocument$defau, _anchorDocument$defau2;

-function addBindings(bindings, name, fn) {
-  if (!bindings[name]) bindings[name] = [];
-  bindings[name].push(fn);
-}
+        (_anchorDocument$defau = anchorDocument.defaultView) === null || _anchorDocument$defau === void 0 ? void 0 : _anchorDocument$defau.removeEventListener('resize', refresh);
+        (_anchorDocument$defau2 = anchorDocument.defaultView) === null || _anchorDocument$defau2 === void 0 ? void 0 : _anchorDocument$defau2.removeEventListener('scroll', refresh, true);
+      }

-function addListeners(el, listeners, options) {
-  if (listeners === void 0) {
-    listeners = [];
-  }
+      if (observer) {
+        observer.disconnect();
+      }
+    };
+  }, [isExpanded, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding, position, contentSize, __unstableStickyBoundaryElement, __unstableObserveElement, __unstableBoundaryParent]);

-  if (options === void 0) {
-    options = {};
-  }
+  const onDialogClose = (type, event) => {
+    // Ideally the popover should have just a single onClose prop and
+    // not three props that potentially do the same thing.
+    if (type === 'focus-outside' && onFocusOutside) {
+      onFocusOutside(event);
+    } else if (onClose) {
+      onClose();
+    }
+  };

-  for (var _iterator2 = _createForOfIteratorHelperLoose(listeners), _step2; !(_step2 = _iterator2()).done;) {
-    var _step2$value = _step2.value,
-        eventName = _step2$value[0],
-        eventHandler = _step2$value[1];
-    el.addEventListener(eventName, eventHandler, options);
-  }
-}
+  const [dialogRef, dialogProps] = (0,external_wp_compose_namespaceObject.__experimentalUseDialog)({
+    focusOnMount,
+    __unstableOnClose: onDialogClose,
+    onClose: onDialogClose
+  });
+  const mergedRefs = (0,external_wp_compose_namespaceObject.useMergeRefs)([containerRef, dialogRef, ref]);
+  /** @type {false | string} */

-function removeListeners(el, listeners, options) {
-  if (listeners === void 0) {
-    listeners = [];
-  }
+  const animateClassName = Boolean(animate && animateOrigin) && getAnimateClassName({
+    type: 'appear',
+    origin: animateOrigin
+  }); // Disable reason: We care to capture the _bubbled_ events from inputs
+  // within popover as inferring close intent.

-  if (options === void 0) {
-    options = {};
-  }
+  let content = // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
+  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
+  (0,external_wp_element_namespaceObject.createElement)("div", extends_extends({
+    className: classnames_default()('components-popover', className, animateClassName, {
+      'is-expanded': isExpanded,
+      'is-without-arrow': noArrow,
+      'is-alternate': isAlternate
+    })
+  }, contentProps, {
+    ref: mergedRefs
+  }, dialogProps, {
+    tabIndex: "-1"
+  }), isExpanded && (0,external_wp_element_namespaceObject.createElement)(ScrollLock, null), isExpanded && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-popover__header"
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-popover__header-title"
+  }, headerTitle), (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-popover__close",
+    icon: library_close,
+    onClick: onClose
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: contentRef,
+    className: "components-popover__content"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    style: {
+      position: 'relative'
+    }
+  }, containerResizeListener, children)));

-  for (var _iterator3 = _createForOfIteratorHelperLoose(listeners), _step3; !(_step3 = _iterator3()).done;) {
-    var _step3$value = _step3.value,
-        eventName = _step3$value[0],
-        eventHandler = _step3$value[1];
-    el.removeEventListener(eventName, eventHandler, options);
+  if (slot.ref) {
+    content = (0,external_wp_element_namespaceObject.createElement)(slot_fill_Fill, {
+      name: slotName
+    }, content);
   }
-}
-
-/* eslint-disable react-hooks/exhaustive-deps */
-/**
- * Utility hook called by all gesture hooks and that will be responsible for the internals.
- *
- * @param handlers
- * @param classes
- * @param config
- * @param nativeHandlers - native handlers such as onClick, onMouseDown, etc.
- */

-function useRecognizers(handlers, config, nativeHandlers) {
-  if (nativeHandlers === void 0) {
-    nativeHandlers = {};
+  if (anchorRef || anchorRect) {
+    return content;
   }

-  var classes = resolveClasses(handlers);
-  var controller = external_React_default.a.useMemo(function () {
-    return new Controller(classes);
-  }, []);
-  controller.config = config;
-  controller.handlers = handlers;
-  controller.nativeRefs = nativeHandlers;
-  external_React_default.a.useEffect(controller.effect, []); // @ts-ignore
+  return (0,external_wp_element_namespaceObject.createElement)("span", {
+    ref: anchorRefFallback
+  }, content);
+};

-  if (controller.config.domTarget) return deprecationNoticeForDomTarget; // @ts-ignore
+const PopoverContainer = (0,external_wp_element_namespaceObject.forwardRef)(Popover);

-  return controller.bind;
+function PopoverSlot(_ref2, ref) {
+  let {
+    name = SLOT_NAME
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(slot_fill_Slot, {
+    bubblesVirtually: true,
+    name: name,
+    className: "popover-slot",
+    ref: ref
+  });
 }

-function deprecationNoticeForDomTarget() {
-  if (false) {}
-}
+PopoverContainer.Slot = (0,external_wp_element_namespaceObject.forwardRef)(PopoverSlot);
+PopoverContainer.__unstableSlotNameProvider = slotNameContext.Provider;
+/* harmony default export */ var popover = (PopoverContainer);

-function resolveClasses(internalHandlers) {
-  var classes = new Set();
-  if (internalHandlers.drag) classes.add(RecognizersMap.get('drag'));
-  if (internalHandlers.wheel) classes.add(RecognizersMap.get('wheel'));
-  if (internalHandlers.scroll) classes.add(RecognizersMap.get('scroll'));
-  if (internalHandlers.move) classes.add(RecognizersMap.get('move'));
-  if (internalHandlers.pinch) classes.add(RecognizersMap.get('pinch'));
-  if (internalHandlers.hover) classes.add(RecognizersMap.get('hover'));
-  return classes;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/shortcut/index.js

-/**
- * @private
- * Abstract class for coordinates-based gesture recongizers
+
+/**
+ * External dependencies
  */

-var CoordinatesRecognizer = /*#__PURE__*/function (_Recognizer) {
-  _inheritsLoose(CoordinatesRecognizer, _Recognizer);
+/** @typedef {string | { display: string, ariaLabel: string }} Shortcut */

-  function CoordinatesRecognizer() {
-    return _Recognizer.apply(this, arguments) || this;
-  }
+/**
+ * @typedef Props
+ * @property {Shortcut} shortcut    Shortcut configuration
+ * @property {string}   [className] Classname
+ */

-  var _proto = CoordinatesRecognizer.prototype;
+/**
+ * @param {Props} props Props
+ * @return {JSX.Element | null} Element
+ */

-  /**
-   * Returns the real movement (without taking intentionality into account)
-   */
-  _proto.getInternalMovement = function getInternalMovement(values, state) {
-    return subV(values, state.initial);
+function Shortcut(_ref) {
+  let {
+    shortcut,
+    className
+  } = _ref;
+
+  if (!shortcut) {
+    return null;
   }
-  /**
-   * In coordinates-based gesture, this function will detect the first intentional axis,
-   * lock the gesture axis if lockDirection is specified in the config, block the gesture
-   * if the first intentional axis doesn't match the specified axis in config.
-   */
-  ;

-  _proto.checkIntentionality = function checkIntentionality(_intentional, _movement) {
-    if (_intentional[0] === false && _intentional[1] === false) {
-      return {
-        _intentional: _intentional,
-        axis: this.state.axis
-      };
-    }
+  let displayText;
+  let ariaLabel;

-    var _movement$map = _movement.map(Math.abs),
-        absX = _movement$map[0],
-        absY = _movement$map[1];
+  if ((0,external_lodash_namespaceObject.isString)(shortcut)) {
+    displayText = shortcut;
+  }

-    var axis = this.state.axis || (absX > absY ? 'x' : absX < absY ? 'y' : undefined);
-    if (!this.config.axis && !this.config.lockDirection) return {
-      _intentional: _intentional,
-      _blocked: false,
-      axis: axis
-    };
-    if (!axis) return {
-      _intentional: [false, false],
-      _blocked: false,
-      axis: axis
-    };
-    if (!!this.config.axis && axis !== this.config.axis) return {
-      _intentional: _intentional,
-      _blocked: true,
-      axis: axis
-    };
-    _intentional[axis === 'x' ? 1 : 0] = false;
-    return {
-      _intentional: _intentional,
-      _blocked: false,
-      axis: axis
-    };
-  };
+  if ((0,external_lodash_namespaceObject.isObject)(shortcut)) {
+    displayText = shortcut.display;
+    ariaLabel = shortcut.ariaLabel;
+  }

-  _proto.getKinematics = function getKinematics(values, event) {
-    var state = this.getMovement(values);
+  return (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: className,
+    "aria-label": ariaLabel
+  }, displayText);
+}

-    if (!state._blocked) {
-      var dt = event.timeStamp - this.state.timeStamp;
-      Object.assign(state, calculateAllKinematics(state.movement, state.delta, dt));
-    }
+/* harmony default export */ var build_module_shortcut = (Shortcut);

-    return state;
-  };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tooltip/index.js

-  _proto.mapStateValues = function mapStateValues(state) {
-    return {
-      xy: state.values,
-      vxvy: state.velocities
-    };
-  };
+// @ts-nocheck

-  return CoordinatesRecognizer;
-}(Recognizer);
+/**
+ * External dependencies
+ */

-var TAP_DISTANCE_THRESHOLD = 3;
+/**
+ * WordPress dependencies
+ */

-function persistEvent(event) {
-  'persist' in event && typeof event.persist === 'function' && event.persist();
-}

-var DragRecognizer = /*#__PURE__*/function (_CoordinatesRecognize) {
-  _inheritsLoose(DragRecognizer, _CoordinatesRecognize);

-  function DragRecognizer() {
-    var _this;
+/**
+ * Internal dependencies
+ */

-    _this = _CoordinatesRecognize.apply(this, arguments) || this;
-    _this.ingKey = 'dragging';
-    _this.stateKey = 'drag'; // TODO add back when setPointerCapture is widely wupported
-    // https://caniuse.com/#search=setPointerCapture

-    _this.setPointerCapture = function (event) {
-      // don't perform pointere capture when user wants to use touch events or
-      // when a pointerLockElement exists as this would throw an error
-      if (_this.config.useTouch || document.pointerLockElement) return;
-      var target = event.target,
-          pointerId = event.pointerId;

-      if (target && 'setPointerCapture' in target) {
-        // this would work in the DOM but doesn't with react three fiber
-        // target.addEventListener('pointermove', this.onDragChange, this.controller.config.eventOptions)
-        // @ts-expect-error
-        target.setPointerCapture(pointerId);
-      }
+/**
+ * Time over children to wait before showing tooltip
+ *
+ * @type {number}
+ */

-      _this.updateGestureState({
-        _dragTarget: target,
-        _dragPointerId: pointerId
-      });
-    };
+const TOOLTIP_DELAY = 700;
+const eventCatcher = (0,external_wp_element_namespaceObject.createElement)("div", {
+  className: "event-catcher"
+});

-    _this.releasePointerCapture = function () {
-      if (_this.config.useTouch || document.pointerLockElement) return;
-      var _this$state = _this.state,
-          _dragTarget = _this$state._dragTarget,
-          _dragPointerId = _this$state._dragPointerId;
+const getDisabledElement = _ref => {
+  let {
+    eventHandlers,
+    child,
+    childrenWithPopover
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.cloneElement)((0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "disabled-element-wrapper"
+  }, (0,external_wp_element_namespaceObject.cloneElement)(eventCatcher, eventHandlers), (0,external_wp_element_namespaceObject.cloneElement)(child, {
+    children: childrenWithPopover
+  })), eventHandlers);
+};

-      if (_dragPointerId && _dragTarget && 'releasePointerCapture' in _dragTarget) {
-        // this would work in the DOM but doesn't with react three fiber
-        // target.removeEventListener('pointermove', this.onDragChange, this.controller.config.eventOptions)
-        if (!('hasPointerCapture' in _dragTarget) || _dragTarget.hasPointerCapture(_dragPointerId)) try {
-          _dragTarget.releasePointerCapture(_dragPointerId);
-        } catch (e) {}
-      }
-    };
+const getRegularElement = _ref2 => {
+  let {
+    child,
+    eventHandlers,
+    childrenWithPopover
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.cloneElement)(child, { ...eventHandlers,
+    children: childrenWithPopover
+  });
+};

-    _this.preventScroll = function (event) {
-      if (_this.state._dragPreventScroll && event.cancelable) {
-        event.preventDefault();
-      }
-    };
+const addPopoverToGrandchildren = _ref3 => {
+  let {
+    grandchildren,
+    isOver,
+    position,
+    text,
+    shortcut
+  } = _ref3;
+  return (0,external_wp_element_namespaceObject.concatChildren)(grandchildren, isOver && (0,external_wp_element_namespaceObject.createElement)(popover, {
+    focusOnMount: false,
+    position: position,
+    className: "components-tooltip",
+    "aria-hidden": "true",
+    animate: false,
+    noArrow: true
+  }, text, (0,external_wp_element_namespaceObject.createElement)(build_module_shortcut, {
+    className: "components-tooltip__shortcut",
+    shortcut: shortcut
+  })));
+};

-    _this.getEventId = function (event) {
-      if (_this.config.useTouch) return event.changedTouches[0].identifier;
-      return event.pointerId;
-    };
+const emitToChild = (children, eventName, event) => {
+  if (external_wp_element_namespaceObject.Children.count(children) !== 1) {
+    return;
+  }

-    _this.isValidEvent = function (event) {
-      // if we were using pointer events only event.isPrimary === 1 would suffice
-      return _this.state._pointerId === _this.getEventId(event);
-    };
+  const child = external_wp_element_namespaceObject.Children.only(children); // If the underlying element is disabled, do not emit the event.

-    _this.shouldPreventWindowScrollY = _this.config.experimental_preventWindowScrollY && _this.controller.supportsTouchEvents;
+  if (child.props.disabled) {
+    return;
+  }

-    _this.setUpWindowScrollDetection = function (event) {
-      persistEvent(event); // we add window listeners that will prevent the scroll when the user has started dragging
+  if (typeof child.props[eventName] === 'function') {
+    child.props[eventName](event);
+  }
+};

-      updateWindowListeners(_this.controller, _this.stateKey, [['touchmove', _this.preventScroll], ['touchend', _this.clean.bind(_assertThisInitialized(_this))], ['touchcancel', _this.clean.bind(_assertThisInitialized(_this))]], {
-        passive: false
-      });
+function Tooltip(props) {
+  const {
+    children,
+    position,
+    text,
+    shortcut,
+    delay = TOOLTIP_DELAY
+  } = props;
+  /**
+   * Whether a mouse is currently pressed, used in determining whether
+   * to handle a focus event as displaying the tooltip immediately.
+   *
+   * @type {boolean}
+   */

-      _this.setTimeout(_this.startDrag.bind(_assertThisInitialized(_this)), 250, event);
-    };
+  const [isMouseDown, setIsMouseDown] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [isOver, setIsOver] = (0,external_wp_element_namespaceObject.useState)(false);
+  const delayedSetIsOver = (0,external_wp_compose_namespaceObject.useDebounce)(setIsOver, delay);

-    _this.setUpDelayedDragTrigger = function (event) {
-      _this.state._dragDelayed = true;
-      persistEvent(event);
+  const createMouseDown = event => {
+    // Preserve original child callback behavior
+    emitToChild(children, 'onMouseDown', event); // On mouse down, the next `mouseup` should revert the value of the
+    // instance property and remove its own event handler. The bind is
+    // made on the document since the `mouseup` might not occur within
+    // the bounds of the element.

-      _this.setTimeout(_this.startDrag.bind(_assertThisInitialized(_this)), _this.config.delay, event);
-    };
+    document.addEventListener('mouseup', cancelIsMouseDown);
+    setIsMouseDown(true);
+  };

-    _this.setStartState = function (event) {
-      var values = getPointerEventValues(event, _this.transform);
+  const createMouseUp = event => {
+    emitToChild(children, 'onMouseUp', event);
+    document.removeEventListener('mouseup', cancelIsMouseDown);
+    setIsMouseDown(false);
+  };

-      _this.updateSharedState(getGenericEventData(event));
+  const createMouseEvent = type => {
+    if (type === 'mouseUp') return createMouseUp;
+    if (type === 'mouseDown') return createMouseDown;
+  };
+  /**
+   * Prebound `isInMouseDown` handler, created as a constant reference to
+   * assure ability to remove in component unmount.
+   *
+   * @type {Function}
+   */

-      _this.updateGestureState(_extends({}, getStartGestureState(_assertThisInitialized(_this), values, event), getGenericPayload(_assertThisInitialized(_this), event, true), {
-        _pointerId: _this.getEventId(event)
-      }));

-      _this.updateGestureState(_this.getMovement(values));
-    };
+  const cancelIsMouseDown = createMouseEvent('mouseUp');

-    _this.onDragStart = function (event) {
-      addEventIds(_this.controller, event);
-      if (!_this.enabled || _this.state._active) return;
+  const createToggleIsOver = (eventName, isDelayed) => {
+    return event => {
+      // Preserve original child callback behavior
+      emitToChild(children, eventName, event); // Mouse events behave unreliably in React for disabled elements,
+      // firing on mouseenter but not mouseleave.  Further, the default
+      // behavior for disabled elements in some browsers is to ignore
+      // mouse events. Don't bother trying to to handle them.
+      //
+      // See: https://github.com/facebook/react/issues/4251

-      _this.setStartState(event);
+      if (event.currentTarget.disabled) {
+        return;
+      } // A focus event will occur as a result of a mouse click, but it
+      // should be disambiguated between interacting with the button and
+      // using an explicit focus shift as a cue to display the tooltip.

-      _this.setPointerCapture(event);

-      if (_this.shouldPreventWindowScrollY) _this.setUpWindowScrollDetection(event);else if (_this.config.delay > 0) _this.setUpDelayedDragTrigger(event);else _this.startDrag(event, true); // we pass the values to the startDrag event
-    };
+      if ('focus' === event.type && isMouseDown) {
+        return;
+      } // Needed in case unsetting is over while delayed set pending, i.e.
+      // quickly blur/mouseleave before delayedSetIsOver is called

-    _this.onDragChange = function (event) {
-      if ( // if the gesture was canceled or
-      _this.state.canceled || // if onDragStart wasn't fired or
-      !_this.state._active || // if the event pointerId doesn't match the one that initiated the drag
-      !_this.isValidEvent(event) || // if the event has the same timestamp as the previous event
-      // note that checking type equality is ONLY for tests ¯\_(ツ)_/¯
-      _this.state._lastEventType === event.type && event.timeStamp === _this.state.timeStamp) return;
-      var values;

-      if (document.pointerLockElement) {
-        var movementX = event.movementX,
-            movementY = event.movementY;
-        values = addV(_this.transform([movementX, movementY]), _this.state.values);
-      } else values = getPointerEventValues(event, _this.transform);
+      delayedSetIsOver.cancel();

-      var kinematics = _this.getKinematics(values, event); // if startDrag hasn't fired
+      const _isOver = (0,external_lodash_namespaceObject.includes)(['focus', 'mouseenter'], event.type);

+      if (_isOver === isOver) {
+        return;
+      }

-      if (!_this.state._dragStarted) {
-        // If the gesture isn't active then respond to the event only if
-        // it's been delayed via the `delay` option, in which case start
-        // the gesture immediately.
-        if (_this.state._dragDelayed) {
-          _this.startDrag(event);
+      if (isDelayed) {
+        delayedSetIsOver(_isOver);
+      } else {
+        setIsOver(_isOver);
+      }
+    };
+  };

-          return;
-        } // if the user wants to prevent vertical window scroll when user starts dragging
+  const clearOnUnmount = () => {
+    delayedSetIsOver.cancel();
+    document.removeEventListener('mouseup', cancelIsMouseDown);
+  };

+  (0,external_wp_element_namespaceObject.useEffect)(() => clearOnUnmount, []);

-        if (_this.shouldPreventWindowScrollY) {
-          if (!_this.state._dragPreventScroll && kinematics.axis) {
-            // if the user is dragging horizontally then we should allow the drag
-            if (kinematics.axis === 'x') {
-              _this.startDrag(event);
-            } else {
-              _this.state._active = false;
-              return;
-            }
-          } else return;
-        } else return;
-      }
+  if (external_wp_element_namespaceObject.Children.count(children) !== 1) {
+    if (false) {}

-      var genericEventData = getGenericEventData(event);
+    return children;
+  }

-      _this.updateSharedState(genericEventData);
+  const eventHandlers = {
+    onMouseEnter: createToggleIsOver('onMouseEnter', true),
+    onMouseLeave: createToggleIsOver('onMouseLeave'),
+    onClick: createToggleIsOver('onClick'),
+    onFocus: createToggleIsOver('onFocus'),
+    onBlur: createToggleIsOver('onBlur'),
+    onMouseDown: createMouseEvent('mouseDown')
+  };
+  const child = external_wp_element_namespaceObject.Children.only(children);
+  const {
+    children: grandchildren,
+    disabled
+  } = child.props;
+  const getElementWithPopover = disabled ? getDisabledElement : getRegularElement;
+  const popoverData = {
+    isOver,
+    position,
+    text,
+    shortcut
+  };
+  const childrenWithPopover = addPopoverToGrandchildren({
+    grandchildren,
+    ...popoverData
+  });
+  return getElementWithPopover({
+    child,
+    eventHandlers,
+    childrenWithPopover
+  });
+}

-      var genericPayload = getGenericPayload(_assertThisInitialized(_this), event); // This verifies if the drag can be assimilated to a tap by checking
-      // if the real distance of the drag (ie not accounting for the threshold) is
-      // greater than the TAP_DISTANCE_THRESHOLD.
+/* harmony default export */ var tooltip = (Tooltip);

-      var realDistance = calculateDistance(kinematics._movement);
-      var _dragIsTap = _this.state._dragIsTap;
-      if (_dragIsTap && realDistance >= TAP_DISTANCE_THRESHOLD) _dragIsTap = false;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/utils.js
+/**
+ * External dependencies
+ */

-      _this.updateGestureState(_extends({}, genericPayload, kinematics, {
-        _dragIsTap: _dragIsTap
-      }));
+/**
+ * WordPress dependencies
+ */

-      _this.fireGestureHandler();
-    };

-    _this.onDragEnd = function (event) {
-      removeEventIds(_this.controller, event); // if the event pointerId doesn't match the one that initiated the drag
-      // we don't want to end the drag
+const GRID = [['top left', 'top center', 'top right'], ['center left', 'center center', 'center right'], ['bottom left', 'bottom center', 'bottom right']]; // Stored as map as i18n __() only accepts strings (not variables)

-      if (!_this.isValidEvent(event)) return;
+const ALIGNMENT_LABEL = {
+  'top left': (0,external_wp_i18n_namespaceObject.__)('Top Left'),
+  'top center': (0,external_wp_i18n_namespaceObject.__)('Top Center'),
+  'top right': (0,external_wp_i18n_namespaceObject.__)('Top Right'),
+  'center left': (0,external_wp_i18n_namespaceObject.__)('Center Left'),
+  'center center': (0,external_wp_i18n_namespaceObject.__)('Center Center'),
+  'center right': (0,external_wp_i18n_namespaceObject.__)('Center Right'),
+  'bottom left': (0,external_wp_i18n_namespaceObject.__)('Bottom Left'),
+  'bottom center': (0,external_wp_i18n_namespaceObject.__)('Bottom Center'),
+  'bottom right': (0,external_wp_i18n_namespaceObject.__)('Bottom Right')
+}; // Transforms GRID into a flat Array of values

-      _this.clean(); // if the gesture is no longer active (ie canceled)
-      // don't do anything
+const ALIGNMENTS = (0,external_lodash_namespaceObject.flattenDeep)(GRID);
+/**
+ * Parses and transforms an incoming value to better match the alignment values
+ *
+ * @param {string} value An alignment value to parse.
+ *
+ * @return {string} The parsed value.
+ */

+function transformValue(value) {
+  const nextValue = value === 'center' ? 'center center' : value;
+  return nextValue.replace('-', ' ');
+}
+/**
+ * Creates an item ID based on a prefix ID and an alignment value.
+ *
+ * @param {string} prefixId An ID to prefix.
+ * @param {string} value    An alignment value.
+ *
+ * @return {string} The item id.
+ */

-      if (!_this.state._active) return;
-      _this.state._active = false;
-      var tap = _this.state._dragIsTap;
-      var _this$state$velocitie = _this.state.velocities,
-          vx = _this$state$velocitie[0],
-          vy = _this$state$velocitie[1];
-      var _this$state$movement = _this.state.movement,
-          mx = _this$state$movement[0],
-          my = _this$state$movement[1];
-      var _this$state$_intentio = _this.state._intentional,
-          ix = _this$state$_intentio[0],
-          iy = _this$state$_intentio[1];
-      var _this$config$swipeVel = _this.config.swipeVelocity,
-          svx = _this$config$swipeVel[0],
-          svy = _this$config$swipeVel[1];
-      var _this$config$swipeDis = _this.config.swipeDistance,
-          sx = _this$config$swipeDis[0],
-          sy = _this$config$swipeDis[1];
-      var sd = _this.config.swipeDuration;
+function getItemId(prefixId, value) {
+  const valueId = transformValue(value).replace(' ', '-');
+  return `${prefixId}-${valueId}`;
+}
+/**
+ * Retrieves the alignment index from a value.
+ *
+ * @param {string} alignment Value to check.
+ *
+ * @return {number} The index of a matching alignment.
+ */

-      var endState = _extends({}, getGenericPayload(_assertThisInitialized(_this), event), _this.getMovement(_this.state.values));
+function getAlignmentIndex() {
+  let alignment = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'center';
+  const item = transformValue(alignment).replace('-', ' ');
+  const index = ALIGNMENTS.indexOf(item);
+  return index > -1 ? index : undefined;
+}

-      var swipe = [0, 0];
+// EXTERNAL MODULE: ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
+var hoist_non_react_statics_cjs = __webpack_require__(1281);
+;// CONCATENATED MODULE: ./node_modules/@emotion/react/dist/emotion-react.browser.esm.js

-      if (endState.elapsedTime < sd) {
-        if (ix !== false && Math.abs(vx) > svx && Math.abs(mx) > sx) swipe[0] = sign(vx);
-        if (iy !== false && Math.abs(vy) > svy && Math.abs(my) > sy) swipe[1] = sign(vy);
-      }

-      _this.updateSharedState({
-        buttons: 0
-      });

-      _this.updateGestureState(_extends({}, endState, {
-        tap: tap,
-        swipe: swipe
-      }));

-      _this.fireGestureHandler(_this.config.filterTaps && tap === true);
-    };

-    _this.clean = function () {
-      _CoordinatesRecognize.prototype.clean.call(_assertThisInitialized(_this));

-      _this.state._dragStarted = false;

-      _this.releasePointerCapture();

-      clearWindowListeners(_this.controller, _this.stateKey);
-    };

-    _this.onCancel = function () {
-      if (_this.state.canceled) return;

-      _this.updateGestureState({
-        canceled: true,
-        _active: false
-      });

-      _this.updateSharedState({
-        buttons: 0
-      });

-      setTimeout(function () {
-        return _this.fireGestureHandler();
-      }, 0);
-    };
+var pkg = {
+	name: "@emotion/react",
+	version: "11.7.1",
+	main: "dist/emotion-react.cjs.js",
+	module: "dist/emotion-react.esm.js",
+	browser: {
+		"./dist/emotion-react.cjs.js": "./dist/emotion-react.browser.cjs.js",
+		"./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
+	},
+	types: "types/index.d.ts",
+	files: [
+		"src",
+		"dist",
+		"jsx-runtime",
+		"jsx-dev-runtime",
+		"_isolated-hnrs",
+		"types/*.d.ts",
+		"macro.js",
+		"macro.d.ts",
+		"macro.js.flow"
+	],
+	sideEffects: false,
+	author: "mitchellhamilton <mitchell@mitchellhamilton.me>",
+	license: "MIT",
+	scripts: {
+		"test:typescript": "dtslint types"
+	},
+	dependencies: {
+		"@babel/runtime": "^7.13.10",
+		"@emotion/cache": "^11.7.1",
+		"@emotion/serialize": "^1.0.2",
+		"@emotion/sheet": "^1.1.0",
+		"@emotion/utils": "^1.0.0",
+		"@emotion/weak-memoize": "^0.2.5",
+		"hoist-non-react-statics": "^3.3.1"
+	},
+	peerDependencies: {
+		"@babel/core": "^7.0.0",
+		react: ">=16.8.0"
+	},
+	peerDependenciesMeta: {
+		"@babel/core": {
+			optional: true
+		},
+		"@types/react": {
+			optional: true
+		}
+	},
+	devDependencies: {
+		"@babel/core": "^7.13.10",
+		"@emotion/css": "11.7.1",
+		"@emotion/css-prettifier": "1.0.1",
+		"@emotion/server": "11.4.0",
+		"@emotion/styled": "11.6.0",
+		"@types/react": "^16.9.11",
+		dtslint: "^0.3.0",
+		"html-tag-names": "^1.1.2",
+		react: "16.14.0",
+		"svg-tag-names": "^1.1.1"
+	},
+	repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
+	publishConfig: {
+		access: "public"
+	},
+	"umd:main": "dist/emotion-react.umd.min.js",
+	preconstruct: {
+		entrypoints: [
+			"./index.js",
+			"./jsx-runtime.js",
+			"./jsx-dev-runtime.js",
+			"./_isolated-hnrs.js"
+		],
+		umdName: "emotionReact"
+	}
+};

-    _this.onClick = function (event) {
-      if (!_this.state._dragIsTap) event.stopPropagation();
-    };
+var jsx = function jsx(type, props) {
+  var args = arguments;

-    return _this;
+  if (props == null || !hasOwnProperty.call(props, 'css')) {
+    // $FlowFixMe
+    return createElement.apply(undefined, args);
   }

-  var _proto = DragRecognizer.prototype;
-
-  _proto.startDrag = function startDrag(event, onDragIsStart) {
-    if (onDragIsStart === void 0) {
-      onDragIsStart = false;
-    }
+  var argsLength = args.length;
+  var createElementArgArray = new Array(argsLength);
+  createElementArgArray[0] = Emotion;
+  createElementArgArray[1] = createEmotionProps(type, props);

-    // startDrag can happen after a timeout, so we need to check if the gesture is still active
-    // as the user might have lift up the pointer in between.
-    if ( // if the gesture isn't active (probably means)
-    !this.state._active || // if the drag has already started we should ignore subsequent attempts
-    this.state._dragStarted) return;
-    if (!onDragIsStart) this.setStartState(event);
-    this.updateGestureState({
-      _dragStarted: true,
-      _dragPreventScroll: true,
-      cancel: this.onCancel
-    });
-    this.clearTimeout();
-    this.fireGestureHandler();
-  };
+  for (var i = 2; i < argsLength; i++) {
+    createElementArgArray[i] = args[i];
+  } // $FlowFixMe

-  _proto.addBindings = function addBindings$1(bindings) {
-    if (this.config.useTouch) {
-      addBindings(bindings, 'onTouchStart', this.onDragStart);

-      addBindings(bindings, 'onTouchMove', this.onDragChange); // this is needed for react-three-fiber
+  return createElement.apply(null, createElementArgArray);
+};

+var warnedAboutCssPropForGlobal = false; // maintain place over rerenders.
+// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
+// initial client-side render from SSR, use place of hydrating tag

-      addBindings(bindings, 'onTouchEnd', this.onDragEnd);
+var Global = /* #__PURE__ */(/* unused pure expression or super */ null && (withEmotionCache(function (props, cache) {
+  if (false) {}

-      addBindings(bindings, 'onTouchCancel', this.onDragEnd);
-    } else {
-      addBindings(bindings, 'onPointerDown', this.onDragStart);
+  var styles = props.styles;
+  var serialized = serializeStyles([styles], undefined, useContext(ThemeContext));
+  // but it is based on a constant that will never change at runtime
+  // it's effectively like having two implementations and switching them out
+  // so it's not actually breaking anything

-      addBindings(bindings, 'onPointerMove', this.onDragChange); // this is needed for react-three-fiber

+  var sheetRef = useRef();
+  useLayoutEffect(function () {
+    var key = cache.key + "-global";
+    var sheet = new StyleSheet({
+      key: key,
+      nonce: cache.sheet.nonce,
+      container: cache.sheet.container,
+      speedy: cache.sheet.isSpeedy
+    });
+    var rehydrating = false; // $FlowFixMe

-      addBindings(bindings, 'onPointerUp', this.onDragEnd);
+    var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");

-      addBindings(bindings, 'onPointerCancel', this.onDragEnd);
+    if (cache.sheet.tags.length) {
+      sheet.before = cache.sheet.tags[0];
     }

-    if (this.config.filterTaps) {
-      var handler = this.controller.config.eventOptions.capture ? 'onClick' : 'onClickCapture';
+    if (node !== null) {
+      rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s

-      addBindings(bindings, handler, this.onClick);
+      node.setAttribute('data-emotion', key);
+      sheet.hydrate([node]);
     }
-  };

-  return DragRecognizer;
-}(CoordinatesRecognizer);
+    sheetRef.current = [sheet, rehydrating];
+    return function () {
+      sheet.flush();
+    };
+  }, [cache]);
+  useLayoutEffect(function () {
+    var sheetRefCurrent = sheetRef.current;
+    var sheet = sheetRefCurrent[0],
+        rehydrating = sheetRefCurrent[1];

-/**
- * Inlined from https://github.com/alexreardon/memoize-one
- */
-function memoizeOne(resultFn, isEqual) {
-  var lastThis;
-  var lastArgs = [];
-  var lastResult;
-  var calledOnce = false;
+    if (rehydrating) {
+      sheetRefCurrent[1] = false;
+      return;
+    }

-  function memoized() {
-    for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
-      newArgs[_key] = arguments[_key];
+    if (serialized.next !== undefined) {
+      // insert keyframes
+      insertStyles(cache, serialized.next, true);
     }

-    if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
-      return lastResult;
+    if (sheet.tags.length) {
+      // if this doesn't exist then it will be null so the style element will be appended
+      var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
+      sheet.before = element;
+      sheet.flush();
     }

-    lastResult = resultFn.apply(this, newArgs);
-    calledOnce = true;
-    lastThis = this;
-    lastArgs = newArgs;
-    return lastResult;
+    cache.insert("", serialized, sheet, false);
+  }, [cache, serialized.name]);
+  return null;
+})));
+
+if (false) {}
+
+function emotion_react_browser_esm_css() {
+  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+    args[_key] = arguments[_key];
   }

-  return memoized;
+  return emotion_serialize_browser_esm_serializeStyles(args);
 }

-/**
- * Taken from https://github.com/FormidableLabs/react-fast-compare
- *
- * Dropped comments and ArrayBuffer handling
- */
-function equal(a, b) {
-  if (a === b) return true;
+var emotion_react_browser_esm_keyframes = function keyframes() {
+  var insertable = emotion_react_browser_esm_css.apply(void 0, arguments);
+  var name = "animation-" + insertable.name; // $FlowFixMe

-  if (a && b && typeof a == 'object' && typeof b == 'object') {
-    if (a.constructor !== b.constructor) return false;
-    var length, i, keys;
+  return {
+    name: name,
+    styles: "@keyframes " + name + "{" + insertable.styles + "}",
+    anim: 1,
+    toString: function toString() {
+      return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
+    }
+  };
+};

-    if (Array.isArray(a)) {
-      length = a.length;
-      if (length !== b.length) return false;
+var emotion_react_browser_esm_classnames = function classnames(args) {
+  var len = args.length;
+  var i = 0;
+  var cls = '';

-      for (i = length; i-- !== 0;) {
-        if (!equal(a[i], b[i])) return false;
-      }
+  for (; i < len; i++) {
+    var arg = args[i];
+    if (arg == null) continue;
+    var toAdd = void 0;

-      return true;
-    }
+    switch (typeof arg) {
+      case 'boolean':
+        break;

-    var it;
+      case 'object':
+        {
+          if (Array.isArray(arg)) {
+            toAdd = classnames(arg);
+          } else {
+            if (false) {}

-    if (typeof Map === 'function' && a instanceof Map && b instanceof Map) {
-      if (a.size !== b.size) return false;
-      it = a.entries();
+            toAdd = '';

-      while (!(i = it.next()).done) {
-        if (!b.has(i.value[0])) return false;
-      }
+            for (var k in arg) {
+              if (arg[k] && k) {
+                toAdd && (toAdd += ' ');
+                toAdd += k;
+              }
+            }
+          }

-      it = a.entries();
+          break;
+        }

-      while (!(i = it.next()).done) {
-        if (!equal(i.value[1], b.get(i.value[0]))) return false;
-      }
+      default:
+        {
+          toAdd = arg;
+        }
+    }

-      return true;
+    if (toAdd) {
+      cls && (cls += ' ');
+      cls += toAdd;
     }
+  }

-    if (typeof Set === 'function' && a instanceof Set && b instanceof Set) {
-      if (a.size !== b.size) return false;
-      it = a.entries();
+  return cls;
+};

-      while (!(i = it.next()).done) {
-        if (!b.has(i.value[0])) return false;
-      }
+function emotion_react_browser_esm_merge(registered, css, className) {
+  var registeredStyles = [];
+  var rawClassName = getRegisteredStyles(registered, registeredStyles, className);

-      return true;
+  if (registeredStyles.length < 2) {
+    return className;
+  }
+
+  return rawClassName + css(registeredStyles);
+}
+
+var emotion_react_browser_esm_Noop = function Noop() {
+  return null;
+};
+
+var ClassNames = /* #__PURE__ */(/* unused pure expression or super */ null && (withEmotionCache(function (props, cache) {
+  var hasRendered = false;
+
+  var css = function css() {
+    if (hasRendered && "production" !== 'production') {}
+
+    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+      args[_key] = arguments[_key];
     }

-    if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
-    if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
-    if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
-    keys = Object.keys(a);
-    length = keys.length;
-    if (length !== Object.keys(b).length) return false;
+    var serialized = serializeStyles(args, cache.registered);

-    for (i = length; i-- !== 0;) {
-      if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
+    {
+      insertStyles(cache, serialized, false);
     }

-    if (typeof Element !== 'undefined' && a instanceof Element) return false;
+    return cache.key + "-" + serialized.name;
+  };

-    for (i = length; i-- !== 0;) {
-      if (keys[i] === '_owner' && a.$$typeof) continue;
-      if (!equal(a[keys[i]], b[keys[i]])) return false;
+  var cx = function cx() {
+    if (hasRendered && "production" !== 'production') {}
+
+    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+      args[_key2] = arguments[_key2];
     }

-    return true;
-  } // true if both NaN, false otherwise — NaN !== NaN → true
-  // eslint-disable-next-line no-self-compare
+    return emotion_react_browser_esm_merge(cache.registered, css, emotion_react_browser_esm_classnames(args));
+  };

+  var content = {
+    css: css,
+    cx: cx,
+    theme: useContext(ThemeContext)
+  };
+  var ele = props.children(content);
+  hasRendered = true;
+  var possiblyStyleElement = /*#__PURE__*/createElement(emotion_react_browser_esm_Noop, null);

-  return a !== a && b !== b;
-}

-function isEqual(a, b) {
-  try {
-    return equal(a, b);
-  } catch (error) {
-    if ((error.message || '').match(/stack|recursion/i)) {
-      // eslint-disable-next-line no-console
-      console.warn('react-fast-compare cannot handle circular refs');
-      return false;
-    }
+  return /*#__PURE__*/createElement(Fragment, null, possiblyStyleElement, ele);
+})));

-    throw error;
-  }
-}
+if (false) {}

-/**
- * Drag hook.
- *
- * @param handler - the function fired every time the drag gesture updates
- * @param [config={}] - the config object including generic options and drag options
- */
+if (false) { var globalKey, globalContext, isJest, emotion_react_browser_esm_isBrowser; }

-function reactusegesture_esm_useDrag(handler, config) {
-  if (config === void 0) {
-    config = {};
-  }

-  RecognizersMap.set('drag', DragRecognizer);
-  var buildDragConfig = Object(external_React_["useRef"])();

-  if (!buildDragConfig.current) {
-    buildDragConfig.current = memoizeOne(_buildDragConfig, isEqual);
-  }
+;// CONCATENATED MODULE: ./node_modules/colord/index.mjs
+var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},colord_n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},colord_e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},colord_a=function(r){return{r:colord_e(r.r,0,255),g:colord_e(r.g,0,255),b:colord_e(r.b,0,255),a:colord_e(r.a)}},colord_o=function(r){return{r:colord_n(r.r),g:colord_n(r.g),b:colord_n(r.b),a:colord_n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:colord_e(r.s,0,100),l:colord_e(r.l,0,100),a:colord_e(r.a)}},d=function(r){return{h:colord_n(r.h),s:colord_n(r.s),l:colord_n(r.l),a:colord_n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?colord_n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?colord_n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);return t?t[2]!==t[4]||t[4]!==t[6]?null:colord_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(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?colord_a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:colord_e(r.s,0,100),v:colord_e(r.v,0,100),a:colord_e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:colord_e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:colord_e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return colord_n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=colord_o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(colord_n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return colord_o(this.rgba)},r.prototype.toRgbString=function(){return r=colord_o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:colord_n(r.h),s:colord_n(r.s),v:colord_n(r.v),a:colord_n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):colord_n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):colord_n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};

-  return useRecognizers({
-    drag: handler
-  }, buildDragConfig.current(config));
-}
+;// CONCATENATED MODULE: ./node_modules/colord/plugins/names.mjs
+/* harmony default export */ function names(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g)}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"])}

-/**
- * @private
- * Abstract class for distance/angle-based gesture recongizers
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/colors.js
+/**
+ * External dependencies
  */

-var DistanceAngleRecognizer = /*#__PURE__*/function (_Recognizer) {
-  _inheritsLoose(DistanceAngleRecognizer, _Recognizer);

-  function DistanceAngleRecognizer() {
-    return _Recognizer.apply(this, arguments) || this;
-  }
+k([names]);
+/**
+ * Generating a CSS compliant rgba() color value.
+ *
+ * @param {string} hexValue The hex value to convert to rgba().
+ * @param {number} alpha    The alpha value for opacity.
+ * @return {string} The converted rgba() color value.
+ *
+ * @example
+ * rgba( '#000000', 0.5 )
+ * // rgba(0, 0, 0, 0.5)
+ */

-  var _proto = DistanceAngleRecognizer.prototype;
+function rgba() {
+  let hexValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
+  let alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
+  return w(hexValue).alpha(alpha).toRgbString();
+}

-  _proto.getInternalMovement = function getInternalMovement(values, state) {
-    var prev_a = state.values[1]; // not be defined if ctrl+wheel is used for zoom only
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/colors-values.js
+/**
+ * External dependencies
+ */

-    var d = values[0],
-        _values$ = values[1],
-        a = _values$ === void 0 ? prev_a : _values$;
-    var delta_a = a - prev_a;
-    var next_turns = state.turns;
-    if (Math.abs(delta_a) > 270) next_turns += sign(delta_a);
-    return subV([d, a - 360 * next_turns], state.initial);
-  };
+/**
+ * Internal dependencies
+ */

-  _proto.getKinematics = function getKinematics(values, event) {
-    var state = this.getMovement(values);
-    var turns = (values[1] - state._movement[1] - this.state.initial[1]) / 360;
-    var dt = event.timeStamp - this.state.timeStamp;

-    var _calculateAllKinemati = calculateAllKinematics(state.movement, state.delta, dt),
-        kinematics = _objectWithoutPropertiesLoose(_calculateAllKinemati, ["distance", "velocity"]);
+const BASE = {
+  black: '#000',
+  white: '#fff'
+};
+/**
+ * TODO: Continue to update values as "G2" design evolves.
+ *
+ * "G2" refers to the movement to advance the interface of the block editor.
+ * https://github.com/WordPress/gutenberg/issues/18667
+ */

-    return _extends({
-      turns: turns
-    }, state, kinematics);
-  };
+const G2 = {
+  blue: {
+    medium: {
+      focus: '#007cba',
+      focusDark: '#fff'
+    }
+  },
+  gray: {
+    900: '#1e1e1e',
+    700: '#757575',
+    // Meets 4.6:1 text contrast against white.
+    600: '#949494',
+    // Meets 3:1 UI or large text contrast against white.
+    400: '#ccc',
+    200: '#ddd',
+    // Used for most borders.
+    100: '#f0f0f0'
+  },
+  darkGray: {
+    primary: '#1e1e1e',
+    heading: '#050505'
+  },
+  mediumGray: {
+    text: '#757575'
+  },
+  lightGray: {
+    ui: '#949494',
+    secondary: '#ccc',
+    tertiary: '#e7e8e9'
+  }
+};
+const DARK_GRAY = {
+  900: '#191e23',
+  800: '#23282d',
+  700: '#32373c',
+  600: '#40464d',
+  500: '#555d66',
+  // Use this most of the time for dark items.
+  400: '#606a73',
+  300: '#6c7781',
+  // Lightest gray that can be used for AA text contrast.
+  200: '#7e8993',
+  150: '#8d96a0',
+  // Lightest gray that can be used for AA non-text contrast.
+  100: '#8f98a1',
+  placeholder: rgba(G2.gray[900], 0.62)
+};
+const DARK_OPACITY = {
+  900: rgba('#000510', 0.9),
+  800: rgba('#00000a', 0.85),
+  700: rgba('#06060b', 0.8),
+  600: rgba('#000913', 0.75),
+  500: rgba('#0a1829', 0.7),
+  400: rgba('#0a1829', 0.65),
+  300: rgba('#0e1c2e', 0.62),
+  200: rgba('#162435', 0.55),
+  100: rgba('#223443', 0.5),
+  backgroundFill: rgba(DARK_GRAY[700], 0.7)
+};
+const DARK_OPACITY_LIGHT = {
+  900: rgba('#304455', 0.45),
+  800: rgba('#425863', 0.4),
+  700: rgba('#667886', 0.35),
+  600: rgba('#7b86a2', 0.3),
+  500: rgba('#9197a2', 0.25),
+  400: rgba('#95959c', 0.2),
+  300: rgba('#829493', 0.15),
+  200: rgba('#8b8b96', 0.1),
+  100: rgba('#747474', 0.05)
+};
+const LIGHT_GRAY = {
+  900: '#a2aab2',
+  800: '#b5bcc2',
+  700: '#ccd0d4',
+  600: '#d7dade',
+  500: '#e2e4e7',
+  // Good for "grayed" items and borders.
+  400: '#e8eaeb',
+  // Good for "readonly" input fields and special text selection.
+  300: '#edeff0',
+  200: '#f3f4f5',
+  100: '#f8f9f9',
+  placeholder: rgba(BASE.white, 0.65)
+};
+const LIGHT_OPACITY_LIGHT = {
+  900: rgba(BASE.white, 0.5),
+  800: rgba(BASE.white, 0.45),
+  700: rgba(BASE.white, 0.4),
+  600: rgba(BASE.white, 0.35),
+  500: rgba(BASE.white, 0.3),
+  400: rgba(BASE.white, 0.25),
+  300: rgba(BASE.white, 0.2),
+  200: rgba(BASE.white, 0.15),
+  100: rgba(BASE.white, 0.1),
+  backgroundFill: rgba(LIGHT_GRAY[300], 0.8)
+}; // Additional colors.
+// Some are from https://make.wordpress.org/design/handbook/foundations/colors/.

-  _proto.mapStateValues = function mapStateValues(state) {
-    return {
-      da: state.values,
-      vdva: state.velocities
-    };
-  };
+const BLUE = {
+  wordpress: {
+    700: '#00669b'
+  },
+  dark: {
+    900: '#0071a1'
+  },
+  medium: {
+    900: '#006589',
+    800: '#00739c',
+    700: '#007fac',
+    600: '#008dbe',
+    500: '#00a0d2',
+    400: '#33b3db',
+    300: '#66c6e4',
+    200: '#bfe7f3',
+    100: '#e5f5fa',
+    highlight: '#b3e7fe',
+    focus: '#007cba'
+  }
+};
+const ALERT = {
+  yellow: '#f0b849',
+  red: '#d94f4f',
+  green: '#4ab866'
+};
+const ADMIN = {
+  theme: `var( --wp-admin-theme-color, ${BLUE.wordpress[700]})`,
+  themeDark10: `var( --wp-admin-theme-color-darker-10, ${BLUE.medium.focus})`
+}; // Namespaced values for raw colors hex codes

-  return DistanceAngleRecognizer;
-}(Recognizer);
+const UI = {
+  theme: ADMIN.theme,
+  background: BASE.white,
+  backgroundDisabled: LIGHT_GRAY[200],
+  border: G2.gray[700],
+  borderHover: G2.gray[700],
+  borderFocus: ADMIN.themeDark10,
+  borderDisabled: G2.gray[400],
+  borderLight: G2.gray[200],
+  label: DARK_GRAY[500],
+  textDisabled: DARK_GRAY[150],
+  textDark: BASE.white,
+  textLight: BASE.black
+};
+const COLORS = { ...BASE,
+  darkGray: (0,external_lodash_namespaceObject.merge)({}, DARK_GRAY, G2.darkGray),
+  darkOpacity: DARK_OPACITY,
+  darkOpacityLight: DARK_OPACITY_LIGHT,
+  mediumGray: G2.mediumGray,
+  gray: G2.gray,
+  lightGray: (0,external_lodash_namespaceObject.merge)({}, LIGHT_GRAY, G2.lightGray),
+  lightGrayLight: LIGHT_OPACITY_LIGHT,
+  blue: (0,external_lodash_namespaceObject.merge)({}, BLUE, G2.blue),
+  alert: ALERT,
+  admin: ADMIN,
+  ui: UI
+};
+/* harmony default export */ var colors_values = ((/* unused pure expression or super */ null && (COLORS)));

-var ZOOM_CONSTANT = 7;
-var WEBKIT_DISTANCE_SCALE_FACTOR = 260;
-var PinchRecognizer = /*#__PURE__*/function (_DistanceAngleRecogni) {
-  _inheritsLoose(PinchRecognizer, _DistanceAngleRecogni);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/reduce-motion.js
+/**
+ * Allows users to opt-out of animations via OS-level preferences.
+ *
+ * @param {'transition' | 'animation' | string} [prop='transition'] CSS Property name
+ * @return {string} Generated CSS code for the reduced style
+ */
+function reduceMotion() {
+  let prop = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'transition';
+  let style;

-  function PinchRecognizer() {
-    var _this;
+  switch (prop) {
+    case 'transition':
+      style = 'transition-duration: 0ms;';
+      break;

-    _this = _DistanceAngleRecogni.apply(this, arguments) || this;
-    _this.ingKey = 'pinching';
-    _this.stateKey = 'pinch';
+    case 'animation':
+      style = 'animation-duration: 1ms;';
+      break;

-    _this.onPinchStart = function (event) {
-      addEventIds(_this.controller, event);
-      var touchIds = _this.controller.touchIds;
-      if (!_this.enabled) return;
+    default:
+      style = `
+				animation-duration: 1ms;
+				transition-duration: 0ms;
+			`;
+  }

-      if (_this.state._active) {
-        // check that the pointerIds that initiated the gesture
-        // are still enabled. This is useful for when the page
-        // loses track of the pointers (minifying gesture on iPad).
-        if (_this.state._pointerIds.every(function (id) {
-          return touchIds.has(id);
-        })) return; // something was wrong with the pointers but we let it go.
-      } // until we reach two fingers on the target don't react
+  return `
+		@media ( prefers-reduced-motion: reduce ) {
+			${style};
+		}
+	`;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/styles/alignment-matrix-control-styles.js

-      if (touchIds.size < 2) return;

-      var _pointerIds = Array.from(touchIds).slice(0, 2);
+function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-      var _getTwoTouchesEventVa = getTwoTouchesEventValues(event, _pointerIds, _this.transform),
-          values = _getTwoTouchesEventVa.values,
-          origin = _getTwoTouchesEventVa.origin;
+/**
+ * External dependencies
+ */

-      _this.updateSharedState(getGenericEventData(event));
+/**
+ * Internal dependencies
+ */

-      _this.updateGestureState(_extends({}, getStartGestureState(_assertThisInitialized(_this), values, event), getGenericPayload(_assertThisInitialized(_this), event, true), {
-        _pointerIds: _pointerIds,
-        cancel: _this.onCancel,
-        origin: origin
-      }));

-      _this.updateGestureState(_this.getMovement(values));

-      _this.fireGestureHandler();
-    };
+var _ref =  true ? {
+  name: "lp9rn7",
+  styles: "border-radius:2px;box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr );outline:none"
+} : 0;

-    _this.onPinchChange = function (event) {
-      var _this$state = _this.state,
-          canceled = _this$state.canceled,
-          _active = _this$state._active;
-      if (canceled || !_active || // if the event has the same timestamp as the previous event
-      event.timeStamp === _this.state.timeStamp) return;
-      var genericEventData = getGenericEventData(event);
+const rootBase = () => {
+  return _ref;
+};

-      _this.updateSharedState(genericEventData);
+const rootSize = _ref2 => {
+  let {
+    size = 92
+  } = _ref2;
+  return /*#__PURE__*/emotion_react_browser_esm_css("grid-template-rows:repeat( 3, calc( ", size, "px / 3 ) );width:", size, "px;" + ( true ? "" : 0),  true ? "" : 0);
+};

-      try {
-        var _getTwoTouchesEventVa2 = getTwoTouchesEventValues(event, _this.state._pointerIds, _this.transform),
-            values = _getTwoTouchesEventVa2.values,
-            origin = _getTwoTouchesEventVa2.origin;
+const Root = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1od1u4s3"
+} : 0)(rootBase, ";border:1px solid transparent;cursor:pointer;grid-template-columns:auto;", rootSize, ";" + ( true ? "" : 0));
+const Row = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1od1u4s2"
+} : 0)( true ? {
+  name: "1x5gbbj",
+  styles: "box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr )"
+} : 0);

-        var kinematics = _this.getKinematics(values, event);
+const pointActive = _ref3 => {
+  let {
+    isActive
+  } = _ref3;
+  const boxShadow = isActive ? `0 0 0 2px ${COLORS.black}` : null;
+  const pointColor = isActive ? COLORS.black : COLORS.lightGray[800];
+  const pointColorHover = isActive ? COLORS.black : COLORS.blue.medium.focus;
+  return /*#__PURE__*/emotion_react_browser_esm_css("box-shadow:", boxShadow, ";color:", pointColor, ";*:hover>&{color:", pointColorHover, ";}" + ( true ? "" : 0),  true ? "" : 0);
+};

-        _this.updateGestureState(_extends({}, getGenericPayload(_assertThisInitialized(_this), event), kinematics, {
-          origin: origin
-        }));
+const pointBase = props => {
+  return /*#__PURE__*/emotion_react_browser_esm_css("background:currentColor;box-sizing:border-box;display:grid;margin:auto;transition:all 120ms linear;", reduceMotion('transition'), " ", pointActive(props), ";" + ( true ? "" : 0),  true ? "" : 0);
+};
+const Point = emotion_styled_base_browser_esm("span",  true ? {
+  target: "e1od1u4s1"
+} : 0)("height:6px;width:6px;", pointBase, ";" + ( true ? "" : 0));
+const Cell = emotion_styled_base_browser_esm("span",  true ? {
+  target: "e1od1u4s0"
+} : 0)( true ? {
+  name: "rjf3ub",
+  styles: "appearance:none;border:none;box-sizing:border-box;margin:0;display:flex;position:relative;outline:none;align-items:center;justify-content:center;padding:0"
+} : 0);

-        _this.fireGestureHandler();
-      } catch (e) {
-        _this.onPinchEnd(event);
-      }
-    };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/cell.js

-    _this.onPinchEnd = function (event) {
-      removeEventIds(_this.controller, event);
-      var pointerIds = getTouchIds(event); // if none of the lifted pointerIds is in the state pointerIds don't do anything

-      if (_this.state._pointerIds.every(function (id) {
-        return !pointerIds.includes(id);
-      })) return;

-      _this.clean();
+/**
+ * Internal dependencies
+ */

-      if (!_this.state._active) return;

-      _this.updateGestureState(_extends({}, getGenericPayload(_assertThisInitialized(_this), event), _this.getMovement(_this.state.values), {
-        _active: false
-      }));

-      _this.fireGestureHandler();
-    };
+/**
+ * Internal dependencies
+ */

-    _this.onCancel = function () {
-      if (_this.state.canceled) return;

-      _this.updateGestureState({
-        _active: false,
-        canceled: true
-      });

-      setTimeout(function () {
-        return _this.fireGestureHandler();
-      }, 0);
-    };
-    /**
-     * PINCH WITH WEBKIT GESTURES
-     */
+function cell_Cell(_ref) {
+  let {
+    isActive = false,
+    value,
+    ...props
+  } = _ref;
+  const tooltipText = ALIGNMENT_LABEL[value];
+  return (0,external_wp_element_namespaceObject.createElement)(tooltip, {
+    text: tooltipText
+  }, (0,external_wp_element_namespaceObject.createElement)(CompositeItem, extends_extends({
+    as: Cell,
+    role: "gridcell"
+  }, props), (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, null, value), (0,external_wp_element_namespaceObject.createElement)(Point, {
+    isActive: isActive,
+    role: "presentation"
+  })));
+}

+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useSealedState.js

-    _this.onGestureStart = function (event) {
-      if (!_this.enabled) return;
-      event.preventDefault();
-      var values = getWebkitGestureEventValues(event, _this.transform);

-      _this.updateSharedState(getGenericEventData(event));
+/**
+ * React custom hook that returns the very first value passed to `initialState`,
+ * even if it changes between re-renders.
+ */
+function useSealedState(initialState) {
+  var _React$useState = (0,external_React_.useState)(initialState),
+      sealed = _React$useState[0];

-      _this.updateGestureState(_extends({}, getStartGestureState(_assertThisInitialized(_this), values, event), getGenericPayload(_assertThisInitialized(_this), event, true), {
-        origin: [event.clientX, event.clientY],
-        cancel: _this.onCancel
-      }));
+  return sealed;
+}

-      _this.updateGestureState(_this.getMovement(values));

-      _this.fireGestureHandler();
-    };

-    _this.onGestureChange = function (event) {
-      var _this$state2 = _this.state,
-          canceled = _this$state2.canceled,
-          _active = _this$state2._active;
-      if (canceled || !_active) return;
-      event.preventDefault();
-      var genericEventData = getGenericEventData(event);
+;// CONCATENATED MODULE: ./node_modules/reakit/es/reverse-30eaa122.js

-      _this.updateSharedState(genericEventData); // this normalizes the values of the Safari's WebKitEvent by calculating
-      // the delta and then multiplying it by a constant.

+function groupItems(items) {
+  var groups = [[]];

-      var values = getWebkitGestureEventValues(event, _this.transform);
-      values[0] = (values[0] - _this.state.event.scale) * WEBKIT_DISTANCE_SCALE_FACTOR + _this.state.values[0];
+  var _loop = function _loop() {
+    var item = _step.value;
+    var group = groups.find(function (g) {
+      return !g[0] || g[0].groupId === item.groupId;
+    });

-      var kinematics = _this.getKinematics(values, event);
+    if (group) {
+      group.push(item);
+    } else {
+      groups.push([item]);
+    }
+  };

-      _this.updateGestureState(_extends({}, getGenericPayload(_assertThisInitialized(_this), event), kinematics, {
-        origin: [event.clientX, event.clientY]
-      }));
+  for (var _iterator = _createForOfIteratorHelperLoose(items), _step; !(_step = _iterator()).done;) {
+    _loop();
+  }

-      _this.fireGestureHandler();
-    };
+  return groups;
+}

-    _this.onGestureEnd = function (event) {
-      _this.clean();
+function flatten(grid) {
+  var flattened = [];

-      if (!_this.state._active) return;
+  for (var _iterator = _createForOfIteratorHelperLoose(grid), _step; !(_step = _iterator()).done;) {
+    var row = _step.value;
+    flattened.push.apply(flattened, row);
+  }

-      _this.updateGestureState(_extends({}, getGenericPayload(_assertThisInitialized(_this), event), _this.getMovement(_this.state.values), {
-        _active: false,
-        origin: [event.clientX, event.clientY]
-      }));
+  return flattened;
+}

-      _this.fireGestureHandler();
-    };
-    /**
-     * PINCH WITH WHEEL
-     */
+function reverse(array) {
+  return array.slice().reverse();
+}


-    _this.wheelShouldRun = function (event) {
-      return _this.enabled && event.ctrlKey;
-    };

-    _this.getWheelValuesFromEvent = function (event) {
-      var _getWheelEventValues = getWheelEventValues(event, _this.transform),
-          delta_d = _getWheelEventValues[1];
+;// CONCATENATED MODULE: ./node_modules/reakit/es/findEnabledItemById-8ddca752.js
+function findEnabledItemById(items, id) {
+  if (!id) return undefined;
+  return items === null || items === void 0 ? void 0 : items.find(function (item) {
+    return item.id === id && !item.disabled;
+  });
+}

-      var _this$state$values = _this.state.values,
-          prev_d = _this$state$values[0],
-          prev_a = _this$state$values[1]; // ZOOM_CONSTANT is based on Safari trackpad natural zooming

-      var _delta_d = -delta_d * ZOOM_CONSTANT; // new distance is the previous state distance added to the delta

+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/applyState.js
+function isUpdater(argument) {
+  return typeof argument === "function";
+}
+/**
+ * Receives a `setState` argument and calls it with `currentValue` if it's a
+ * function. Otherwise return the argument as the new value.
+ *
+ * @example
+ * import { applyState } from "reakit-utils";
+ *
+ * applyState((value) => value + 1, 1); // 2
+ * applyState(2, 1); // 2
+ */

-      var d = prev_d + _delta_d;
-      var a = prev_a !== void 0 ? prev_a : 0;
-      return {
-        values: [d, a],
-        origin: [event.clientX, event.clientY],
-        delta: [_delta_d, a]
-      };
-    };

-    _this.onWheel = function (event) {
-      if (!_this.wheelShouldRun(event)) return;
+function applyState(argument, currentValue) {
+  if (isUpdater(argument)) {
+    return argument(currentValue);
+  }

-      _this.setTimeout(_this.onWheelEnd);
+  return argument;
+}

-      if (!_this.state._active) _this.onWheelStart(event);else _this.onWheelChange(event);
-    };

-    _this.onWheelStart = function (event) {
-      var _this$getWheelValuesF = _this.getWheelValuesFromEvent(event),
-          values = _this$getWheelValuesF.values,
-          delta = _this$getWheelValuesF.delta,
-          origin = _this$getWheelValuesF.origin;

-      if (event.cancelable) event.preventDefault();else if (false) {}
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Id/IdState.js

-      _this.updateSharedState(getGenericEventData(event));

-      _this.updateGestureState(_extends({}, getStartGestureState(_assertThisInitialized(_this), values, event, _this.state.values), getGenericPayload(_assertThisInitialized(_this), event, true), {
-        offset: values,
-        delta: delta,
-        origin: origin
-      }));

-      _this.updateGestureState(_this.getMovement(values));

-      _this.fireGestureHandler();
-    };
+function unstable_useIdState(initialState) {
+  if (initialState === void 0) {
+    initialState = {};
+  }

-    _this.onWheelChange = function (event) {
-      if (event.cancelable) event.preventDefault();
+  var _useSealedState = useSealedState(initialState),
+      initialBaseId = _useSealedState.baseId;

-      _this.updateSharedState(getGenericEventData(event));
+  var generateId = (0,external_React_.useContext)(unstable_IdContext);
+  var idCountRef = (0,external_React_.useRef)(0);

-      var _this$getWheelValuesF2 = _this.getWheelValuesFromEvent(event),
-          values = _this$getWheelValuesF2.values,
-          origin = _this$getWheelValuesF2.origin,
-          delta = _this$getWheelValuesF2.delta;
+  var _React$useState = (0,external_React_.useState)(function () {
+    return initialBaseId || generateId();
+  }),
+      baseId = _React$useState[0],
+      setBaseId = _React$useState[1];

-      _this.updateGestureState(_extends({}, getGenericPayload(_assertThisInitialized(_this), event), _this.getKinematics(values, event), {
-        origin: origin,
-        delta: delta
-      }));
+  return {
+    baseId: baseId,
+    setBaseId: setBaseId,
+    unstable_idCountRef: idCountRef
+  };
+}

-      _this.fireGestureHandler();
-    };

-    _this.onWheelEnd = function () {
-      _this.clean();

-      if (!_this.state._active) return;
-      _this.state._active = false;
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Composite/CompositeState.js

-      _this.updateGestureState(_this.getMovement(_this.state.values));

-      _this.fireGestureHandler();
-    };

-    return _this;
-  }

-  var _proto = PinchRecognizer.prototype;

-  _proto.addBindings = function addBindings$1(bindings) {
-    // Only try to use gesture events when they are supported and domTarget is set
-    // as React doesn't support gesture handlers.
-    if (this.controller.config.domTarget && !this.controller.supportsTouchEvents && this.controller.supportsGestureEvents) {
-      addBindings(bindings, 'onGestureStart', this.onGestureStart);

-      addBindings(bindings, 'onGestureChange', this.onGestureChange);

-      addBindings(bindings, 'onGestureEnd', this.onGestureEnd);
-    } else {
-      addBindings(bindings, 'onTouchStart', this.onPinchStart);

-      addBindings(bindings, 'onTouchMove', this.onPinchChange);

-      addBindings(bindings, 'onTouchEnd', this.onPinchEnd);

-      addBindings(bindings, 'onTouchCancel', this.onPinchEnd);

-      addBindings(bindings, 'onWheel', this.onWheel);
-    }
-  };

-  return PinchRecognizer;
-}(DistanceAngleRecognizer);
+function isElementPreceding(element1, element2) {
+  return Boolean(element2.compareDocumentPosition(element1) & Node.DOCUMENT_POSITION_PRECEDING);
+}

-/**
- * Pinch hook.
- *
- * @param handler - the function fired every time the pinch gesture updates
- * @param [config={}] - the config object including generic options and pinch options
- */
+function findDOMIndex(items, item) {
+  return items.findIndex(function (currentItem) {
+    if (!currentItem.ref.current || !item.ref.current) {
+      return false;
+    }

-function usePinch(handler, config) {
-  if (config === void 0) {
-    config = {};
-  }
+    return isElementPreceding(item.ref.current, currentItem.ref.current);
+  });
+}

-  RecognizersMap.set('pinch', PinchRecognizer);
-  var buildPinchConfig = Object(external_React_["useRef"])();
+function getMaxLength(rows) {
+  var maxLength = 0;

-  if (!buildPinchConfig.current) {
-    buildPinchConfig.current = memoizeOne(_buildPinchConfig, isEqual);
+  for (var _iterator = _createForOfIteratorHelperLoose(rows), _step; !(_step = _iterator()).done;) {
+    var length = _step.value.length;
+
+    if (length > maxLength) {
+      maxLength = length;
+    }
   }

-  return useRecognizers({
-    pinch: handler
-  }, buildPinchConfig.current(config));
+  return maxLength;
 }

-var WheelRecognizer = /*#__PURE__*/function (_CoordinatesRecognize) {
-  _inheritsLoose(WheelRecognizer, _CoordinatesRecognize);
-
-  function WheelRecognizer() {
-    var _this;
+/**
+ * Turns [row1, row1, row2, row2] into [row1, row2, row1, row2]
+ */

-    _this = _CoordinatesRecognize.apply(this, arguments) || this;
-    _this.ingKey = 'wheeling';
-    _this.stateKey = 'wheel';
-    _this.debounced = true;
+function verticalizeItems(items) {
+  var groups = groupItems(items);
+  var maxLength = getMaxLength(groups);
+  var verticalized = [];

-    _this.handleEvent = function (event) {
-      if (event.ctrlKey && 'pinch' in _this.controller.handlers) return;
-      if (!_this.enabled) return;
+  for (var i = 0; i < maxLength; i += 1) {
+    for (var _iterator = _createForOfIteratorHelperLoose(groups), _step; !(_step = _iterator()).done;) {
+      var group = _step.value;

-      _this.setTimeout(_this.onEnd);
+      if (group[i]) {
+        verticalized.push(_objectSpread2(_objectSpread2({}, group[i]), {}, {
+          // If there's no groupId, it means that it's not a grid composite,
+          // but a single row instead. So, instead of verticalizing it, that
+          // is, assigning a different groupId based on the column index, we
+          // keep it undefined so they will be part of the same group.
+          // It's useful when using up/down on one-dimensional composites.
+          groupId: group[i].groupId ? "" + i : undefined
+        }));
+      }
+    }
+  }

-      _this.updateSharedState(getGenericEventData(event));
+  return verticalized;
+}

-      var values = addV(getWheelEventValues(event, _this.transform), _this.state.values);
+function createEmptyItem(groupId) {
+  return {
+    id: "__EMPTY_ITEM__",
+    disabled: true,
+    ref: {
+      current: null
+    },
+    groupId: groupId
+  };
+}
+/**
+ * Turns [[row1, row1], [row2]] into [[row1, row1], [row2, row2]]
+ */

-      if (!_this.state._active) {
-        _this.updateGestureState(_extends({}, getStartGestureState(_assertThisInitialized(_this), values, event, _this.state.values), getGenericPayload(_assertThisInitialized(_this), event, true)));

-        var movement = _this.getMovement(values);
+function fillGroups(groups, currentId, shift) {
+  var maxLength = getMaxLength(groups);

-        var geometry = calculateAllGeometry(movement.delta);
+  for (var _iterator = _createForOfIteratorHelperLoose(groups), _step; !(_step = _iterator()).done;) {
+    var group = _step.value;

-        _this.updateGestureState(movement);
+    for (var i = 0; i < maxLength; i += 1) {
+      var item = group[i];

-        _this.updateGestureState(geometry);
-      } else {
-        _this.updateGestureState(_extends({}, getGenericPayload(_assertThisInitialized(_this), event), _this.getKinematics(values, event)));
+      if (!item || shift && item.disabled) {
+        var isFrist = i === 0;
+        var previousItem = isFrist && shift ? findFirstEnabledItem(group) : group[i - 1];
+        group[i] = previousItem && currentId !== (previousItem === null || previousItem === void 0 ? void 0 : previousItem.id) && shift ? previousItem : createEmptyItem(previousItem === null || previousItem === void 0 ? void 0 : previousItem.groupId);
       }
+    }
+  }

-      _this.fireGestureHandler();
-    };
-
-    _this.onEnd = function () {
-      _this.clean();
-
-      if (!_this.state._active) return;
-
-      var movement = _this.getMovement(_this.state.values);
+  return groups;
+}

-      _this.updateGestureState(movement);
+var nullItem = {
+  id: null,
+  ref: {
+    current: null
+  }
+};
+function placeItemsAfter(items, id, shouldInsertNullItem) {
+  var index = items.findIndex(function (item) {
+    return item.id === id;
+  });
+  return [].concat(items.slice(index + 1), shouldInsertNullItem ? [nullItem] : [], items.slice(0, index));
+}

-      _this.updateGestureState({
-        _active: false,
-        velocities: [0, 0],
-        velocity: 0
-      });
+function getItemsInGroup(items, groupId) {
+  return items.filter(function (item) {
+    return item.groupId === groupId;
+  });
+}

-      _this.fireGestureHandler();
-    };
+var map = {
+  horizontal: "vertical",
+  vertical: "horizontal"
+};
+function getOppositeOrientation(orientation) {
+  return orientation && map[orientation];
+}

-    return _this;
+function addItemAtIndex(array, item, index) {
+  if (!(index in array)) {
+    return [].concat(array, [item]);
   }

-  var _proto = WheelRecognizer.prototype;
+  return [].concat(array.slice(0, index), [item], array.slice(index));
+}

-  _proto.addBindings = function addBindings$1(bindings) {
-    addBindings(bindings, 'onWheel', this.handleEvent);
-  };
+function sortBasedOnDOMPosition(items) {
+  var pairs = items.map(function (item, index) {
+    return [index, item];
+  });
+  var isOrderDifferent = false;
+  pairs.sort(function (_ref, _ref2) {
+    var indexA = _ref[0],
+        a = _ref[1];
+    var indexB = _ref2[0],
+        b = _ref2[1];
+    var elementA = a.ref.current;
+    var elementB = b.ref.current;
+    if (!elementA || !elementB) return 0; // a before b

-  return WheelRecognizer;
-}(CoordinatesRecognizer);
+    if (isElementPreceding(elementA, elementB)) {
+      if (indexA > indexB) {
+        isOrderDifferent = true;
+      }

-/**
- * Wheel hook.
- *
- * @param handler - the function fired every time the wheel gesture updates
- * @param the config object including generic options and wheel options
- */
+      return -1;
+    } // a after b

-function useWheel(handler, config) {
-  if (config === void 0) {
-    config = {};
-  }

-  RecognizersMap.set('wheel', WheelRecognizer);
-  var buildWheelConfig = Object(external_React_["useRef"])();
+    if (indexA < indexB) {
+      isOrderDifferent = true;
+    }

-  if (!buildWheelConfig.current) {
-    buildWheelConfig.current = memoizeOne(_buildWheelConfig, isEqual);
+    return 1;
+  });
+
+  if (isOrderDifferent) {
+    return pairs.map(function (_ref3) {
+      var _ = _ref3[0],
+          item = _ref3[1];
+      return item;
+    });
   }

-  return useRecognizers({
-    wheel: handler
-  }, buildWheelConfig.current(config));
+  return items;
 }

-var MoveRecognizer = /*#__PURE__*/function (_CoordinatesRecognize) {
-  _inheritsLoose(MoveRecognizer, _CoordinatesRecognize);
-
-  function MoveRecognizer() {
-    var _this;
+function setItemsBasedOnDOMPosition(items, setItems) {
+  var sortedItems = sortBasedOnDOMPosition(items);

-    _this = _CoordinatesRecognize.apply(this, arguments) || this;
-    _this.ingKey = 'moving';
-    _this.stateKey = 'move';
-    _this.debounced = true;
+  if (items !== sortedItems) {
+    setItems(sortedItems);
+  }
+}

-    _this.onMove = function (event) {
-      if (!_this.enabled) return;
+function getCommonParent(items) {
+  var _firstItem$ref$curren;

-      _this.setTimeout(_this.onMoveEnd);
+  var firstItem = items[0],
+      nextItems = items.slice(1);
+  var parentElement = firstItem === null || firstItem === void 0 ? void 0 : (_firstItem$ref$curren = firstItem.ref.current) === null || _firstItem$ref$curren === void 0 ? void 0 : _firstItem$ref$curren.parentElement;

-      if (!_this.state._active) _this.onMoveStart(event);else _this.onMoveChange(event);
-    };
+  var _loop = function _loop() {
+    var parent = parentElement;

-    _this.onMoveStart = function (event) {
-      _this.updateSharedState(getGenericEventData(event));
+    if (nextItems.every(function (item) {
+      return parent.contains(item.ref.current);
+    })) {
+      return {
+        v: parentElement
+      };
+    }

-      var values = getPointerEventValues(event, _this.transform);
+    parentElement = parentElement.parentElement;
+  };

-      _this.updateGestureState(_extends({}, getStartGestureState(_assertThisInitialized(_this), values, event), getGenericPayload(_assertThisInitialized(_this), event, true)));
+  while (parentElement) {
+    var _ret = _loop();

-      _this.updateGestureState(_this.getMovement(values));
+    if (typeof _ret === "object") return _ret.v;
+  }

-      _this.fireGestureHandler();
-    };
+  return getDocument(parentElement).body;
+} // istanbul ignore next: JSDOM doesn't support IntersectionObverser
+// See https://github.com/jsdom/jsdom/issues/2032

-    _this.onMoveChange = function (event) {
-      _this.updateSharedState(getGenericEventData(event));

-      var values = getPointerEventValues(event, _this.transform);
+function useIntersectionObserver(items, setItems) {
+  var previousItems = (0,external_React_.useRef)([]);
+  (0,external_React_.useEffect)(function () {
+    var callback = function callback() {
+      var hasPreviousItems = !!previousItems.current.length; // We don't want to sort items if items have been just registered.

-      _this.updateGestureState(_extends({}, getGenericPayload(_assertThisInitialized(_this), event), _this.getKinematics(values, event)));
+      if (hasPreviousItems) {
+        setItemsBasedOnDOMPosition(items, setItems);
+      }

-      _this.fireGestureHandler();
+      previousItems.current = items;
     };

-    _this.onMoveEnd = function () {
-      _this.clean();
+    var root = getCommonParent(items);
+    var observer = new IntersectionObserver(callback, {
+      root: root
+    });

-      if (!_this.state._active) return;
-      var values = _this.state.values;
+    for (var _iterator = _createForOfIteratorHelperLoose(items), _step; !(_step = _iterator()).done;) {
+      var item = _step.value;

-      _this.updateGestureState(_this.getMovement(values));
+      if (item.ref.current) {
+        observer.observe(item.ref.current);
+      }
+    }

-      _this.updateGestureState({
-        velocities: [0, 0],
-        velocity: 0,
-        _active: false
-      });
+    return function () {
+      observer.disconnect();
+    };
+  }, [items]);
+}

-      _this.fireGestureHandler();
+function useTimeoutObserver(items, setItems) {
+  (0,external_React_.useEffect)(function () {
+    var callback = function callback() {
+      return setItemsBasedOnDOMPosition(items, setItems);
     };

-    _this.hoverTransform = function () {
-      return _this.controller.config.hover.transform || _this.controller.config.transform;
+    var timeout = setTimeout(callback, 250);
+    return function () {
+      return clearTimeout(timeout);
     };
+  });
+}

-    _this.onPointerEnter = function (event) {
-      _this.controller.state.shared.hovering = true;
-      if (!_this.controller.config.enabled) return;
+function useSortBasedOnDOMPosition(items, setItems) {
+  if (typeof IntersectionObserver === "function") {
+    useIntersectionObserver(items, setItems);
+  } else {
+    useTimeoutObserver(items, setItems);
+  }
+}

-      if (_this.controller.config.hover.enabled) {
-        var values = getPointerEventValues(event, _this.hoverTransform());
+function reducer(state, action) {
+  var virtual = state.unstable_virtual,
+      rtl = state.rtl,
+      orientation = state.orientation,
+      items = state.items,
+      groups = state.groups,
+      currentId = state.currentId,
+      loop = state.loop,
+      wrap = state.wrap,
+      pastIds = state.pastIds,
+      shift = state.shift,
+      moves = state.unstable_moves,
+      includesBaseElement = state.unstable_includesBaseElement,
+      initialVirtual = state.initialVirtual,
+      initialRTL = state.initialRTL,
+      initialOrientation = state.initialOrientation,
+      initialCurrentId = state.initialCurrentId,
+      initialLoop = state.initialLoop,
+      initialWrap = state.initialWrap,
+      initialShift = state.initialShift,
+      hasSetCurrentId = state.hasSetCurrentId;

-        var state = _extends({}, _this.controller.state.shared, _this.state, getGenericPayload(_assertThisInitialized(_this), event, true), {
-          args: _this.args,
-          values: values,
-          active: true,
-          hovering: true
-        });
+  switch (action.type) {
+    case "registerGroup":
+      {
+        var _group = action.group; // If there are no groups yet, just add it as the first one

-        _this.controller.handlers.hover(_extends({}, state, _this.mapStateValues(state)));
-      }
+        if (groups.length === 0) {
+          return _objectSpread2(_objectSpread2({}, state), {}, {
+            groups: [_group]
+          });
+        } // Finds the group index based on DOM position

-      if ('move' in _this.controller.handlers) _this.onMoveStart(event);
-    };

-    _this.onPointerLeave = function (event) {
-      _this.controller.state.shared.hovering = false;
-      if ('move' in _this.controller.handlers) _this.onMoveEnd();
-      if (!_this.controller.config.hover.enabled) return;
-      var values = getPointerEventValues(event, _this.hoverTransform());
+        var index = findDOMIndex(groups, _group);
+        return _objectSpread2(_objectSpread2({}, state), {}, {
+          groups: addItemAtIndex(groups, _group, index)
+        });
+      }

-      var state = _extends({}, _this.controller.state.shared, _this.state, getGenericPayload(_assertThisInitialized(_this), event), {
-        args: _this.args,
-        values: values,
-        active: false
-      });
+    case "unregisterGroup":
+      {
+        var _id = action.id;
+        var nextGroups = groups.filter(function (group) {
+          return group.id !== _id;
+        }); // The group isn't registered, so do nothing

-      _this.controller.handlers.hover(_extends({}, state, _this.mapStateValues(state)));
-    };
+        if (nextGroups.length === groups.length) {
+          return state;
+        }

-    return _this;
-  }
+        return _objectSpread2(_objectSpread2({}, state), {}, {
+          groups: nextGroups
+        });
+      }

-  var _proto = MoveRecognizer.prototype;
+    case "registerItem":
+      {
+        var _item = action.item; // Finds the item group based on the DOM hierarchy

-  _proto.addBindings = function addBindings$1(bindings) {
-    if ('move' in this.controller.handlers) {
-      addBindings(bindings, 'onPointerMove', this.onMove);
-    }
+        var _group2 = groups.find(function (r) {
+          var _r$ref$current;

-    if ('hover' in this.controller.handlers) {
-      addBindings(bindings, 'onPointerEnter', this.onPointerEnter);
+          return (_r$ref$current = r.ref.current) === null || _r$ref$current === void 0 ? void 0 : _r$ref$current.contains(_item.ref.current);
+        }); // Group will be null if it's a one-dimensional composite

-      addBindings(bindings, 'onPointerLeave', this.onPointerLeave);
-    }
-  };

-  return MoveRecognizer;
-}(CoordinatesRecognizer);
+        var nextItem = _objectSpread2({
+          groupId: _group2 === null || _group2 === void 0 ? void 0 : _group2.id
+        }, _item);

-/**
- * Move hook.
- *
- * @param handler - the function fired every time the move gesture updates
- * @param [config={}] - the config object including generic options and move options
- */
+        var _index = findDOMIndex(items, nextItem);

-function useMove(handler, config) {
-  if (config === void 0) {
-    config = {};
-  }
+        var nextState = _objectSpread2(_objectSpread2({}, state), {}, {
+          items: addItemAtIndex(items, nextItem, _index)
+        });

-  RecognizersMap.set('move', MoveRecognizer);
-  var buildMoveConfig = Object(external_React_["useRef"])();
+        if (!hasSetCurrentId && !moves && initialCurrentId === undefined) {
+          var _findFirstEnabledItem;

-  if (!buildMoveConfig.current) {
-    buildMoveConfig.current = memoizeOne(_buildMoveConfig, isEqual);
-  }
+          // Sets currentId to the first enabled item. This runs whenever an item
+          // is registered because the first enabled item may be registered
+          // asynchronously.
+          return _objectSpread2(_objectSpread2({}, nextState), {}, {
+            currentId: (_findFirstEnabledItem = findFirstEnabledItem(nextState.items)) === null || _findFirstEnabledItem === void 0 ? void 0 : _findFirstEnabledItem.id
+          });
+        }

-  return useRecognizers({
-    move: handler
-  }, buildMoveConfig.current(config));
-}
+        return nextState;
+      }

-/**
- * Hover hook.
- *
- * @param handler - the function fired every time the hover gesture updates
- * @param [config={}] - the config object including generic options and hover options
- */
+    case "unregisterItem":
+      {
+        var _id2 = action.id;
+        var nextItems = items.filter(function (item) {
+          return item.id !== _id2;
+        }); // The item isn't registered, so do nothing

-function useHover(handler, config) {
-  if (config === void 0) {
-    config = {};
-  }
+        if (nextItems.length === items.length) {
+          return state;
+        } // Filters out the item that is being removed from the pastIds list

-  RecognizersMap.set('hover', MoveRecognizer);
-  var buildHoverConfig = Object(external_React_["useRef"])();

-  if (!buildHoverConfig.current) {
-    buildHoverConfig.current = memoizeOne(_buildHoverConfig, isEqual);
-  }
+        var nextPastIds = pastIds.filter(function (pastId) {
+          return pastId !== _id2;
+        });

-  return useRecognizers({
-    hover: handler
-  }, buildHoverConfig.current(config));
-}
+        var _nextState = _objectSpread2(_objectSpread2({}, state), {}, {
+          pastIds: nextPastIds,
+          items: nextItems
+        }); // If the current item is the item that is being removed, focus pastId

-var ScrollRecognizer = /*#__PURE__*/function (_CoordinatesRecognize) {
-  _inheritsLoose(ScrollRecognizer, _CoordinatesRecognize);

-  function ScrollRecognizer() {
-    var _this;
+        if (currentId && currentId === _id2) {
+          var nextId = includesBaseElement ? null : getCurrentId(_objectSpread2(_objectSpread2({}, _nextState), {}, {
+            currentId: nextPastIds[0]
+          }));
+          return _objectSpread2(_objectSpread2({}, _nextState), {}, {
+            currentId: nextId
+          });
+        }

-    _this = _CoordinatesRecognize.apply(this, arguments) || this;
-    _this.ingKey = 'scrolling';
-    _this.stateKey = 'scroll';
-    _this.debounced = true;
+        return _nextState;
+      }

-    _this.handleEvent = function (event) {
-      if (!_this.enabled) return;
+    case "move":
+      {
+        var _id3 = action.id; // move() does nothing

-      _this.clearTimeout();
+        if (_id3 === undefined) {
+          return state;
+        } // Removes the current item and the item that is receiving focus from the
+        // pastIds list

-      _this.setTimeout(_this.onEnd);

-      var values = getScrollEventValues(event, _this.transform);
+        var filteredPastIds = pastIds.filter(function (pastId) {
+          return pastId !== currentId && pastId !== _id3;
+        }); // If there's a currentId, add it to the pastIds list so it can be focused
+        // if the new item gets removed or disabled

-      _this.updateSharedState(getGenericEventData(event));
+        var _nextPastIds = currentId ? [currentId].concat(filteredPastIds) : filteredPastIds;

-      if (!_this.state._active) {
-        _this.updateGestureState(_extends({}, getStartGestureState(_assertThisInitialized(_this), values, event, _this.state.values), getGenericPayload(_assertThisInitialized(_this), event, true)));
+        var _nextState2 = _objectSpread2(_objectSpread2({}, state), {}, {
+          pastIds: _nextPastIds
+        }); // move(null) will focus the composite element itself, not an item

-        var movementDetection = _this.getMovement(values);

-        var geometry = calculateAllGeometry(movementDetection.delta);
+        if (_id3 === null) {
+          return _objectSpread2(_objectSpread2({}, _nextState2), {}, {
+            unstable_moves: moves + 1,
+            currentId: getCurrentId(_nextState2, _id3)
+          });
+        }

-        _this.updateGestureState(movementDetection);
+        var _item2 = findEnabledItemById(items, _id3);

-        _this.updateGestureState(geometry);
-      } else {
-        _this.updateGestureState(_extends({}, getGenericPayload(_assertThisInitialized(_this), event), _this.getKinematics(values, event)));
+        return _objectSpread2(_objectSpread2({}, _nextState2), {}, {
+          unstable_moves: _item2 ? moves + 1 : moves,
+          currentId: getCurrentId(_nextState2, _item2 === null || _item2 === void 0 ? void 0 : _item2.id)
+        });
       }

-      _this.fireGestureHandler();
-    };
-
-    _this.onEnd = function () {
-      _this.clean();
+    case "next":
+      {
+        // If there's no item focused, we just move the first one
+        if (currentId == null) {
+          return reducer(state, _objectSpread2(_objectSpread2({}, action), {}, {
+            type: "first"
+          }));
+        } // RTL doesn't make sense on vertical navigation

-      if (!_this.state._active) return;

-      _this.updateGestureState(_extends({}, _this.getMovement(_this.state.values), {
-        _active: false,
-        velocities: [0, 0],
-        velocity: 0
-      }));
+        var isHorizontal = orientation !== "vertical";
+        var isRTL = rtl && isHorizontal;
+        var allItems = isRTL ? reverse(items) : items;
+        var currentItem = allItems.find(function (item) {
+          return item.id === currentId;
+        }); // If there's no item focused, we just move the first one

-      _this.fireGestureHandler();
-    };
+        if (!currentItem) {
+          return reducer(state, _objectSpread2(_objectSpread2({}, action), {}, {
+            type: "first"
+          }));
+        }

-    return _this;
-  }
+        var isGrid = !!currentItem.groupId;
+        var currentIndex = allItems.indexOf(currentItem);

-  var _proto = ScrollRecognizer.prototype;
+        var _nextItems = allItems.slice(currentIndex + 1);

-  _proto.addBindings = function addBindings$1(bindings) {
-    addBindings(bindings, 'onScroll', this.handleEvent);
-  };
+        var nextItemsInGroup = getItemsInGroup(_nextItems, currentItem.groupId); // Home, End

-  return ScrollRecognizer;
-}(CoordinatesRecognizer);
+        if (action.allTheWay) {
+          // We reverse so we can get the last enabled item in the group. If it's
+          // RTL, nextItems and nextItemsInGroup are already reversed and don't
+          // have the items before the current one anymore. So we have to get
+          // items in group again with allItems.
+          var _nextItem2 = findFirstEnabledItem(isRTL ? getItemsInGroup(allItems, currentItem.groupId) : reverse(nextItemsInGroup));

-/**
- * Scroll hook.
- *
- * @param handler - the function fired every time the scroll gesture updates
- * @param [config={}] - the config object including generic options and scroll options
- */
+          return reducer(state, _objectSpread2(_objectSpread2({}, action), {}, {
+            type: "move",
+            id: _nextItem2 === null || _nextItem2 === void 0 ? void 0 : _nextItem2.id
+          }));
+        }

-function useScroll(handler, config) {
-  if (config === void 0) {
-    config = {};
-  }
+        var oppositeOrientation = getOppositeOrientation( // If it's a grid and orientation is not set, it's a next/previous
+        // call, which is inherently horizontal. up/down will call next with
+        // orientation set to vertical by default (see below on up/down cases).
+        isGrid ? orientation || "horizontal" : orientation);
+        var canLoop = loop && loop !== oppositeOrientation;
+        var canWrap = isGrid && wrap && wrap !== oppositeOrientation;
+        var hasNullItem = // `previous` and `up` will set action.hasNullItem, but when calling
+        // next directly, hasNullItem will only be true if it's not a grid and
+        // loop is set to true, which means that pressing right or down keys on
+        // grids will never focus the composite element. On one-dimensional
+        // composites that don't loop, pressing right or down keys also doesn't
+        // focus the composite element.
+        action.hasNullItem || !isGrid && canLoop && includesBaseElement;

-  RecognizersMap.set('scroll', ScrollRecognizer);
-  var buildScrollConfig = Object(external_React_["useRef"])();
+        if (canLoop) {
+          var loopItems = canWrap && !hasNullItem ? allItems : getItemsInGroup(allItems, currentItem.groupId); // Turns [0, 1, current, 3, 4] into [3, 4, 0, 1]

-  if (!buildScrollConfig.current) {
-    buildScrollConfig.current = memoizeOne(_buildScrollConfig, isEqual);
-  }
+          var sortedItems = placeItemsAfter(loopItems, currentId, hasNullItem);

-  return useRecognizers({
-    scroll: handler
-  }, buildScrollConfig.current(config));
-}
+          var _nextItem3 = findFirstEnabledItem(sortedItems, currentId);

-var RE_NOT_NATIVE = /^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;
+          return reducer(state, _objectSpread2(_objectSpread2({}, action), {}, {
+            type: "move",
+            id: _nextItem3 === null || _nextItem3 === void 0 ? void 0 : _nextItem3.id
+          }));
+        }

-function sortHandlers(handlers) {
-  var _native = {};
-  var handle = {};
-  var actions = new Set();
+        if (canWrap) {
+          var _nextItem4 = findFirstEnabledItem( // We can use nextItems, which contains all the next items, including
+          // items from other groups, to wrap between groups. However, if there
+          // is a null item (the composite element), we'll only use the next
+          // items in the group. So moving next from the last item will focus
+          // the composite element (null). On grid composites, horizontal
+          // navigation never focuses the composite element, only vertical.
+          hasNullItem ? nextItemsInGroup : _nextItems, currentId);

-  for (var key in handlers) {
-    if (RE_NOT_NATIVE.test(key)) {
-      actions.add(RegExp.lastMatch);
-      handle[key] = handlers[key];
-    } else {
-      _native[key] = handlers[key];
-    }
-  }
+          var _nextId = hasNullItem ? (_nextItem4 === null || _nextItem4 === void 0 ? void 0 : _nextItem4.id) || null : _nextItem4 === null || _nextItem4 === void 0 ? void 0 : _nextItem4.id;

-  return [handle, _native, actions];
-}
-/**
- * @public
- *
- * The most complete gesture hook, allowing support for multiple gestures.
- *
- * @param {Handlers} handlers - an object with on[Gesture] keys containg gesture handlers
- * @param {UseGestureConfig} [config={}] - the full config object
- * @returns {(...args: any[]) => HookReturnType<Config>}
- */
+          return reducer(state, _objectSpread2(_objectSpread2({}, action), {}, {
+            type: "move",
+            id: _nextId
+          }));
+        }

+        var _nextItem = findFirstEnabledItem(nextItemsInGroup, currentId);

-function useGesture(_handlers, config) {
-  if (config === void 0) {
-    config = {};
-  }
+        if (!_nextItem && hasNullItem) {
+          return reducer(state, _objectSpread2(_objectSpread2({}, action), {}, {
+            type: "move",
+            id: null
+          }));
+        }

-  var _sortHandlers = sortHandlers(_handlers),
-      handlers = _sortHandlers[0],
-      nativeHandlers = _sortHandlers[1],
-      actions = _sortHandlers[2];
+        return reducer(state, _objectSpread2(_objectSpread2({}, action), {}, {
+          type: "move",
+          id: _nextItem === null || _nextItem === void 0 ? void 0 : _nextItem.id
+        }));
+      }

-  RecognizersMap.set('drag', DragRecognizer);
-  RecognizersMap.set('hover', MoveRecognizer);
-  RecognizersMap.set('move', MoveRecognizer);
-  RecognizersMap.set('pinch', PinchRecognizer);
-  RecognizersMap.set('scroll', ScrollRecognizer);
-  RecognizersMap.set('wheel', WheelRecognizer);
-  var mergedConfig = buildComplexConfig(config, actions);
-  var internalHandlers = {};
-  if (actions.has('onDrag')) internalHandlers.drag = includeStartEndHandlers(handlers, 'onDrag');
-  if (actions.has('onWheel')) internalHandlers.wheel = includeStartEndHandlers(handlers, 'onWheel');
-  if (actions.has('onScroll')) internalHandlers.scroll = includeStartEndHandlers(handlers, 'onScroll');
-  if (actions.has('onMove')) internalHandlers.move = includeStartEndHandlers(handlers, 'onMove');
-  if (actions.has('onPinch')) internalHandlers.pinch = includeStartEndHandlers(handlers, 'onPinch');
-  if (actions.has('onHover')) internalHandlers.hover = handlers.onHover;
-  return useRecognizers(internalHandlers, mergedConfig, nativeHandlers);
-}
+    case "previous":
+      {
+        // If currentId is initially set to null, the composite element will be
+        // focusable while navigating with arrow keys. But, if it's a grid, we
+        // don't want to focus the composite element with horizontal navigation.
+        var _isGrid = !!groups.length;

-function includeStartEndHandlers(handlers, handlerKey) {
-  var startKey = handlerKey + 'Start';
-  var endKey = handlerKey + 'End';
+        var _hasNullItem = !_isGrid && includesBaseElement;

-  var fn = function fn(state) {
-    var memo = undefined;
-    if (state.first && startKey in handlers) handlers[startKey](state);
-    if (handlerKey in handlers) memo = handlers[handlerKey](state);
-    if (state.last && endKey in handlers) handlers[endKey](state);
-    return memo;
-  };
+        var _nextState3 = reducer(_objectSpread2(_objectSpread2({}, state), {}, {
+          items: reverse(items)
+        }), _objectSpread2(_objectSpread2({}, action), {}, {
+          type: "next",
+          hasNullItem: _hasNullItem
+        }));

-  return fn;
-}
+        return _objectSpread2(_objectSpread2({}, _nextState3), {}, {
+          items: items
+        });
+      }

+    case "down":
+      {
+        var shouldShift = shift && !action.allTheWay; // First, we make sure groups have the same number of items by filling it
+        // with disabled fake items. Then, we reorganize the items list so
+        // [1-1, 1-2, 2-1, 2-2] becomes [1-1, 2-1, 1-2, 2-2].

+        var verticalItems = verticalizeItems(flatten(fillGroups(groupItems(items), currentId, shouldShift)));

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
+        var _canLoop = loop && loop !== "horizontal"; // Pressing down arrow key will only focus the composite element if loop
+        // is true or vertical.

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/utils.js
-/**
- * WordPress dependencies
- */

-/**
- * Gets a CSS cursor value based on a drag direction.
- *
- * @param  dragDirection The drag direction.
- * @return  The CSS cursor value.
- */
+        var _hasNullItem2 = _canLoop && includesBaseElement;

-function getDragCursor(dragDirection) {
-  let dragCursor = 'ns-resize';
+        var _nextState4 = reducer(_objectSpread2(_objectSpread2({}, state), {}, {
+          orientation: "vertical",
+          items: verticalItems
+        }), _objectSpread2(_objectSpread2({}, action), {}, {
+          type: "next",
+          hasNullItem: _hasNullItem2
+        }));

-  switch (dragDirection) {
-    case 'n':
-    case 's':
-      dragCursor = 'ns-resize';
-      break;
+        return _objectSpread2(_objectSpread2({}, _nextState4), {}, {
+          orientation: orientation,
+          items: items
+        });
+      }

-    case 'e':
-    case 'w':
-      dragCursor = 'ew-resize';
-      break;
-  }
+    case "up":
+      {
+        var _shouldShift = shift && !action.allTheWay;

-  return dragCursor;
-}
-/**
- * Custom hook that renders a drag cursor when dragging.
- *
- * @param {boolean} isDragging    The dragging state.
- * @param {string}  dragDirection The drag direction.
- *
- * @return {string} The CSS cursor value.
- */
+        var _verticalItems = verticalizeItems(reverse(flatten(fillGroups(groupItems(items), currentId, _shouldShift)))); // If currentId is initially set to null, we'll always focus the
+        // composite element when the up arrow key is pressed in the first row.

-function useDragCursor(isDragging, dragDirection) {
-  const dragCursor = getDragCursor(dragDirection);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isDragging) {
-      document.documentElement.style.cursor = dragCursor;
-    } else {
-      // @ts-expect-error
-      document.documentElement.style.cursor = null;
-    }
-  }, [isDragging]);
-  return dragCursor;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/reducer/state.js
-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+        var _hasNullItem3 = includesBaseElement;

-/**
- * Internal dependencies
- */
-const initialStateReducer = state => state;
-const initialInputControlState = {
-  _event: {},
-  error: null,
-  initialValue: '',
-  isDirty: false,
-  isDragEnabled: false,
-  isDragging: false,
-  isPressEnterToChange: false,
-  value: ''
-};
+        var _nextState5 = reducer(_objectSpread2(_objectSpread2({}, state), {}, {
+          orientation: "vertical",
+          items: _verticalItems
+        }), _objectSpread2(_objectSpread2({}, action), {}, {
+          type: "next",
+          hasNullItem: _hasNullItem3
+        }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/reducer/actions.js
-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+        return _objectSpread2(_objectSpread2({}, _nextState5), {}, {
+          orientation: orientation,
+          items: items
+        });
+      }

-/**
- * Internal dependencies
- */
-const CHANGE = 'CHANGE';
-const COMMIT = 'COMMIT';
-const DRAG_END = 'DRAG_END';
-const DRAG_START = 'DRAG_START';
-const DRAG = 'DRAG';
-const INVALIDATE = 'INVALIDATE';
-const PRESS_DOWN = 'PRESS_DOWN';
-const PRESS_ENTER = 'PRESS_ENTER';
-const PRESS_UP = 'PRESS_UP';
-const RESET = 'RESET';
-const UPDATE = 'UPDATE';
+    case "first":
+      {
+        var firstItem = findFirstEnabledItem(items);
+        return reducer(state, _objectSpread2(_objectSpread2({}, action), {}, {
+          type: "move",
+          id: firstItem === null || firstItem === void 0 ? void 0 : firstItem.id
+        }));
+      }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/reducer/reducer.js
-/**
- * External dependencies
- */
- // eslint-disable-next-line no-restricted-imports
+    case "last":
+      {
+        var _nextState6 = reducer(_objectSpread2(_objectSpread2({}, state), {}, {
+          items: reverse(items)
+        }), _objectSpread2(_objectSpread2({}, action), {}, {
+          type: "first"
+        }));

-/**
- * WordPress dependencies
- */
+        return _objectSpread2(_objectSpread2({}, _nextState6), {}, {
+          items: items
+        });
+      }

-/**
- * Internal dependencies
- */
+    case "sort":
+      {
+        return _objectSpread2(_objectSpread2({}, state), {}, {
+          items: sortBasedOnDOMPosition(items),
+          groups: sortBasedOnDOMPosition(groups)
+        });
+      }

+    case "setVirtual":
+      return _objectSpread2(_objectSpread2({}, state), {}, {
+        unstable_virtual: applyState(action.virtual, virtual)
+      });

+    case "setRTL":
+      return _objectSpread2(_objectSpread2({}, state), {}, {
+        rtl: applyState(action.rtl, rtl)
+      });

-/**
- * Prepares initialState for the reducer.
- *
- * @param  initialState The initial state.
- * @return Prepared initialState for the reducer
- */
+    case "setOrientation":
+      return _objectSpread2(_objectSpread2({}, state), {}, {
+        orientation: applyState(action.orientation, orientation)
+      });

-function mergeInitialState() {
-  let initialState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialInputControlState;
-  const {
-    value
-  } = initialState;
-  return { ...initialInputControlState,
-    ...initialState,
-    initialValue: value
-  };
-}
-/**
- * Composes multiple stateReducers into a single stateReducer, building
- * the pipeline to control the flow for state and actions.
- *
- * @param  fns State reducers.
- * @return The single composed stateReducer.
- */
+    case "setCurrentId":
+      {
+        var nextCurrentId = getCurrentId(_objectSpread2(_objectSpread2({}, state), {}, {
+          currentId: applyState(action.currentId, currentId)
+        }));
+        return _objectSpread2(_objectSpread2({}, state), {}, {
+          currentId: nextCurrentId,
+          hasSetCurrentId: true
+        });
+      }

+    case "setLoop":
+      return _objectSpread2(_objectSpread2({}, state), {}, {
+        loop: applyState(action.loop, loop)
+      });

-const composeStateReducers = function () {
-  for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {
-    fns[_key] = arguments[_key];
-  }
+    case "setWrap":
+      return _objectSpread2(_objectSpread2({}, state), {}, {
+        wrap: applyState(action.wrap, wrap)
+      });

-  return function () {
-    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-      args[_key2] = arguments[_key2];
-    }
+    case "setShift":
+      return _objectSpread2(_objectSpread2({}, state), {}, {
+        shift: applyState(action.shift, shift)
+      });

-    return fns.reduceRight((state, fn) => {
-      const fnState = fn(...args);
-      return Object(external_lodash_["isEmpty"])(fnState) ? state : { ...state,
-        ...fnState
-      };
-    }, {});
-  };
-};
-/**
- * Creates a reducer that opens the channel for external state subscription
- * and modification.
- *
- * This technique uses the "stateReducer" design pattern:
- * https://kentcdodds.com/blog/the-state-reducer-pattern/
- *
- * @param  composedStateReducers A custom reducer that can subscribe and modify state.
- * @return The reducer.
- */
+    case "setIncludesBaseElement":
+      {
+        return _objectSpread2(_objectSpread2({}, state), {}, {
+          unstable_includesBaseElement: applyState(action.includesBaseElement, includesBaseElement)
+        });
+      }

-function inputControlStateReducer(composedStateReducers) {
-  return (state, action) => {
-    const nextState = { ...state
-    };
+    case "reset":
+      return _objectSpread2(_objectSpread2({}, state), {}, {
+        unstable_virtual: initialVirtual,
+        rtl: initialRTL,
+        orientation: initialOrientation,
+        currentId: getCurrentId(_objectSpread2(_objectSpread2({}, state), {}, {
+          currentId: initialCurrentId
+        })),
+        loop: initialLoop,
+        wrap: initialWrap,
+        shift: initialShift,
+        unstable_moves: 0,
+        pastIds: []
+      });

-    switch (action.type) {
-      /**
-       * Keyboard events
-       */
-      case PRESS_UP:
-        nextState.isDirty = false;
-        break;
+    case "setItems":
+      {
+        return _objectSpread2(_objectSpread2({}, state), {}, {
+          items: action.items
+        });
+      }

-      case PRESS_DOWN:
-        nextState.isDirty = false;
-        break;
+    default:
+      throw new Error();
+  }
+}

-      /**
-       * Drag events
-       */
+function useAction(fn) {
+  return (0,external_React_.useCallback)(fn, []);
+}

-      case DRAG_START:
-        nextState.isDragging = true;
-        break;
+function useIsUnmountedRef() {
+  var isUnmountedRef = (0,external_React_.useRef)(false);
+  useIsomorphicEffect(function () {
+    return function () {
+      isUnmountedRef.current = true;
+    };
+  }, []);
+  return isUnmountedRef;
+}

-      case DRAG_END:
-        nextState.isDragging = false;
-        break;
+function useCompositeState(initialState) {
+  if (initialState === void 0) {
+    initialState = {};
+  }

-      /**
-       * Input events
-       */
+  var _useSealedState = useSealedState(initialState),
+      _useSealedState$unsta = _useSealedState.unstable_virtual,
+      virtual = _useSealedState$unsta === void 0 ? false : _useSealedState$unsta,
+      _useSealedState$rtl = _useSealedState.rtl,
+      rtl = _useSealedState$rtl === void 0 ? false : _useSealedState$rtl,
+      orientation = _useSealedState.orientation,
+      currentId = _useSealedState.currentId,
+      _useSealedState$loop = _useSealedState.loop,
+      loop = _useSealedState$loop === void 0 ? false : _useSealedState$loop,
+      _useSealedState$wrap = _useSealedState.wrap,
+      wrap = _useSealedState$wrap === void 0 ? false : _useSealedState$wrap,
+      _useSealedState$shift = _useSealedState.shift,
+      shift = _useSealedState$shift === void 0 ? false : _useSealedState$shift,
+      unstable_includesBaseElement = _useSealedState.unstable_includesBaseElement,
+      sealed = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_useSealedState, ["unstable_virtual", "rtl", "orientation", "currentId", "loop", "wrap", "shift", "unstable_includesBaseElement"]);

-      case CHANGE:
-        nextState.error = null;
-        nextState.value = action.payload.value;
+  var idState = unstable_useIdState(sealed);

-        if (state.isPressEnterToChange) {
-          nextState.isDirty = true;
-        }
+  var _React$useReducer = (0,external_React_.useReducer)(reducer, {
+    unstable_virtual: virtual,
+    rtl: rtl,
+    orientation: orientation,
+    items: [],
+    groups: [],
+    currentId: currentId,
+    loop: loop,
+    wrap: wrap,
+    shift: shift,
+    unstable_moves: 0,
+    pastIds: [],
+    unstable_includesBaseElement: unstable_includesBaseElement != null ? unstable_includesBaseElement : currentId === null,
+    initialVirtual: virtual,
+    initialRTL: rtl,
+    initialOrientation: orientation,
+    initialCurrentId: currentId,
+    initialLoop: loop,
+    initialWrap: wrap,
+    initialShift: shift
+  }),
+      _React$useReducer$ = _React$useReducer[0],
+      pastIds = _React$useReducer$.pastIds,
+      initialVirtual = _React$useReducer$.initialVirtual,
+      initialRTL = _React$useReducer$.initialRTL,
+      initialOrientation = _React$useReducer$.initialOrientation,
+      initialCurrentId = _React$useReducer$.initialCurrentId,
+      initialLoop = _React$useReducer$.initialLoop,
+      initialWrap = _React$useReducer$.initialWrap,
+      initialShift = _React$useReducer$.initialShift,
+      hasSetCurrentId = _React$useReducer$.hasSetCurrentId,
+      state = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_React$useReducer$, ["pastIds", "initialVirtual", "initialRTL", "initialOrientation", "initialCurrentId", "initialLoop", "initialWrap", "initialShift", "hasSetCurrentId"]),
+      dispatch = _React$useReducer[1];

-        break;
+  var _React$useState = (0,external_React_.useState)(false),
+      hasActiveWidget = _React$useState[0],
+      setHasActiveWidget = _React$useState[1]; // register/unregister may be called when this component is unmounted. We
+  // store the unmounted state here so we don't update the state if it's true.
+  // This only happens in a very specific situation.
+  // See https://github.com/reakit/reakit/issues/650

-      case COMMIT:
-        nextState.value = action.payload.value;
-        nextState.isDirty = false;
-        break;

-      case RESET:
-        nextState.error = null;
-        nextState.isDirty = false;
-        nextState.value = action.payload.value || state.initialValue;
-        break;
+  var isUnmountedRef = useIsUnmountedRef();
+  var setItems = (0,external_React_.useCallback)(function (items) {
+    return dispatch({
+      type: "setItems",
+      items: items
+    });
+  }, []);
+  useSortBasedOnDOMPosition(state.items, setItems);
+  return _objectSpread2(_objectSpread2(_objectSpread2({}, idState), state), {}, {
+    unstable_hasActiveWidget: hasActiveWidget,
+    unstable_setHasActiveWidget: setHasActiveWidget,
+    registerItem: useAction(function (item) {
+      if (isUnmountedRef.current) return;
+      dispatch({
+        type: "registerItem",
+        item: item
+      });
+    }),
+    unregisterItem: useAction(function (id) {
+      if (isUnmountedRef.current) return;
+      dispatch({
+        type: "unregisterItem",
+        id: id
+      });
+    }),
+    registerGroup: useAction(function (group) {
+      if (isUnmountedRef.current) return;
+      dispatch({
+        type: "registerGroup",
+        group: group
+      });
+    }),
+    unregisterGroup: useAction(function (id) {
+      if (isUnmountedRef.current) return;
+      dispatch({
+        type: "unregisterGroup",
+        id: id
+      });
+    }),
+    move: useAction(function (id) {
+      return dispatch({
+        type: "move",
+        id: id
+      });
+    }),
+    next: useAction(function (allTheWay) {
+      return dispatch({
+        type: "next",
+        allTheWay: allTheWay
+      });
+    }),
+    previous: useAction(function (allTheWay) {
+      return dispatch({
+        type: "previous",
+        allTheWay: allTheWay
+      });
+    }),
+    up: useAction(function (allTheWay) {
+      return dispatch({
+        type: "up",
+        allTheWay: allTheWay
+      });
+    }),
+    down: useAction(function (allTheWay) {
+      return dispatch({
+        type: "down",
+        allTheWay: allTheWay
+      });
+    }),
+    first: useAction(function () {
+      return dispatch({
+        type: "first"
+      });
+    }),
+    last: useAction(function () {
+      return dispatch({
+        type: "last"
+      });
+    }),
+    sort: useAction(function () {
+      return dispatch({
+        type: "sort"
+      });
+    }),
+    unstable_setVirtual: useAction(function (value) {
+      return dispatch({
+        type: "setVirtual",
+        virtual: value
+      });
+    }),
+    setRTL: useAction(function (value) {
+      return dispatch({
+        type: "setRTL",
+        rtl: value
+      });
+    }),
+    setOrientation: useAction(function (value) {
+      return dispatch({
+        type: "setOrientation",
+        orientation: value
+      });
+    }),
+    setCurrentId: useAction(function (value) {
+      return dispatch({
+        type: "setCurrentId",
+        currentId: value
+      });
+    }),
+    setLoop: useAction(function (value) {
+      return dispatch({
+        type: "setLoop",
+        loop: value
+      });
+    }),
+    setWrap: useAction(function (value) {
+      return dispatch({
+        type: "setWrap",
+        wrap: value
+      });
+    }),
+    setShift: useAction(function (value) {
+      return dispatch({
+        type: "setShift",
+        shift: value
+      });
+    }),
+    unstable_setIncludesBaseElement: useAction(function (value) {
+      return dispatch({
+        type: "setIncludesBaseElement",
+        includesBaseElement: value
+      });
+    }),
+    reset: useAction(function () {
+      return dispatch({
+        type: "reset"
+      });
+    })
+  });
+}

-      case UPDATE:
-        nextState.value = action.payload.value;
-        nextState.isDirty = false;
-        break;

-      /**
-       * Validation
-       */

-      case INVALIDATE:
-        nextState.error = action.payload.error;
-        break;
-    }
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/fireBlurEvent.js

-    if (action.payload.event) {
-      nextState._event = action.payload.event;
-    }
-    /**
-     * Send the nextState + action to the composedReducers via
-     * this "bridge" mechanism. This allows external stateReducers
-     * to hook into actions, and modify state if needed.
-     */


-    return composedStateReducers(nextState, action);
-  };
+
+function createFocusEvent(element, type, eventInit) {
+  if (eventInit === void 0) {
+    eventInit = {};
+  }
+
+  if (typeof FocusEvent === "function") {
+    return new FocusEvent(type, eventInit);
+  }
+
+  return createEvent(element, type, eventInit);
 }
 /**
- * A custom hook that connects and external stateReducer with an internal
- * reducer. This hook manages the internal state of InputControl.
- * However, by connecting an external stateReducer function, other
- * components can react to actions as well as modify state before it is
- * applied.
+ * Creates and dispatches a blur event in a way that also works on IE 11.
  *
- * This technique uses the "stateReducer" design pattern:
- * https://kentcdodds.com/blog/the-state-reducer-pattern/
+ * @example
+ * import { fireBlurEvent } from "reakit-utils";
  *
- * @param  stateReducer An external state reducer.
- * @param  initialState The initial state for the reducer.
- * @return State, dispatch, and a collection of actions.
+ * fireBlurEvent(document.getElementById("id"));
  */


-function useInputControlStateReducer() {
-  let stateReducer = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialStateReducer;
-  let initialState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : initialInputControlState;
-  const [state, dispatch] = Object(external_wp_element_["useReducer"])(inputControlStateReducer(stateReducer), mergeInitialState(initialState));
+function fireBlurEvent(element, eventInit) {
+  var event = createFocusEvent(element, "blur", eventInit);
+  var defaultAllowed = element.dispatchEvent(event);

-  const createChangeEvent = type => (nextValue, event) => {
-    /**
-     * Persist allows for the (Synthetic) event to be used outside of
-     * this function call.
-     * https://reactjs.org/docs/events.html#event-pooling
-     */
-    if (event && event.persist) {
-      event.persist();
-    }
+  var bubbleInit = _rollupPluginBabelHelpers_1f0bf8c2_objectSpread2(_rollupPluginBabelHelpers_1f0bf8c2_objectSpread2({}, eventInit), {}, {
+    bubbles: true
+  });

-    dispatch({
-      type,
-      payload: {
-        value: nextValue,
-        event
-      }
-    });
-  };
+  element.dispatchEvent(createFocusEvent(element, "focusout", bubbleInit));
+  return defaultAllowed;
+}

-  const createKeyEvent = type => event => {
-    /**
-     * Persist allows for the (Synthetic) event to be used outside of
-     * this function call.
-     * https://reactjs.org/docs/events.html#event-pooling
-     */
-    if (event && event.persist) {
-      event.persist();
-    }

-    dispatch({
-      type,
-      payload: {
-        event
-      }
-    });
-  };

-  const createDragEvent = type => payload => {
-    dispatch({
-      type,
-      payload
-    });
-  };
-  /**
-   * Actions for the reducer
-   */
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/fireKeyboardEvent.js


-  const change = createChangeEvent(CHANGE);

-  const invalidate = (error, event) => dispatch({
-    type: INVALIDATE,
-    payload: {
-      error,
-      event
-    }
-  });
+function createKeyboardEvent(element, type, eventInit) {
+  if (eventInit === void 0) {
+    eventInit = {};
+  }

-  const reset = createChangeEvent(RESET);
-  const commit = createChangeEvent(COMMIT);
-  const update = createChangeEvent(UPDATE);
-  const dragStart = createDragEvent(DRAG_START);
-  const drag = createDragEvent(DRAG);
-  const dragEnd = createDragEvent(DRAG_END);
-  const pressUp = createKeyEvent(PRESS_UP);
-  const pressDown = createKeyEvent(PRESS_DOWN);
-  const pressEnter = createKeyEvent(PRESS_ENTER);
-  return {
-    change,
-    commit,
-    dispatch,
-    drag,
-    dragEnd,
-    dragStart,
-    invalidate,
-    pressDown,
-    pressEnter,
-    pressUp,
-    reset,
-    state,
-    update
-  };
-}
+  if (typeof KeyboardEvent === "function") {
+    return new KeyboardEvent(type, eventInit);
+  } // IE 11 doesn't support Event constructors

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/values.js
-/* eslint-disable jsdoc/valid-types */

+  var event = getDocument(element).createEvent("KeyboardEvent");
+  event.initKeyboardEvent(type, eventInit.bubbles, eventInit.cancelable, getWindow(element), eventInit.key, eventInit.location, eventInit.ctrlKey, eventInit.altKey, eventInit.shiftKey, eventInit.metaKey);
+  return event;
+}
 /**
- * Determines if a value is null or undefined.
+ * Creates and dispatches `KeyboardEvent` in a way that also works on IE 11.
  *
- * @template T
+ * @example
+ * import { fireKeyboardEvent } from "reakit-utils";
  *
- * @param {T | null | undefined} value The value to check.
- * @return {value is T} Whether value is not null or undefined.
+ * fireKeyboardEvent(document.getElementById("id"), "keydown", {
+ *   key: "ArrowDown",
+ *   shiftKey: true,
+ * });
  */
-function isValueDefined(value) {
-  return value !== undefined && value !== null;
+
+
+function fireKeyboardEvent(element, type, eventInit) {
+  return element.dispatchEvent(createKeyboardEvent(element, type, eventInit));
 }
-/* eslint-enable jsdoc/valid-types */

-/* eslint-disable jsdoc/valid-types */

-/**
- * Determines if a value is empty, null, or undefined.
- *
- * @template T
- *
- * @param {T | "" | null | undefined} value The value to check.
- * @return {value is T} Whether value is empty.
- */
-
-function isValueEmpty(value) {
-  const isEmptyString = value === '';
-  return !isValueDefined(value) || isEmptyString;
-}
-/* eslint-enable jsdoc/valid-types */

-/**
- * Get the first defined/non-null value from an array.
- *
- * @template T
- *
- * @param {Array<T | null | undefined>} values        Values to derive from.
- * @param {T}                           fallbackValue Fallback value if there are no defined values.
- * @return {T} A defined value or the fallback value.
- */
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/getNextActiveElementOnBlur.js

-function getDefinedValue() {
-  var _values$find;

-  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  let fallbackValue = arguments.length > 1 ? arguments[1] : undefined;
-  return (_values$find = values.find(isValueDefined)) !== null && _values$find !== void 0 ? _values$find : fallbackValue;
-}
-/**
- * @param {string} [locale]
- * @return {[RegExp, RegExp]} The delimiter and decimal regexp
- */

-const getDelimiterAndDecimalRegex = locale => {
-  const formatted = Intl.NumberFormat(locale).format(1000.1);
-  const delimiter = formatted[1];
-  const decimal = formatted[formatted.length - 2];
-  return [new RegExp(`\\${delimiter}`, 'g'), new RegExp(`\\${decimal}`, 'g')];
-}; // https://en.wikipedia.org/wiki/Decimal_separator#Current_standards


-const INTERNATIONAL_THOUSANDS_DELIMITER = / /g;
-const ARABIC_NUMERAL_LOCALES = ['ar', 'fa', 'ur', 'ckb', 'ps'];
-const EASTERN_ARABIC_NUMBERS = /([۰-۹]|[٠-٩])/g;
+var isIE11 = canUseDOM && "msCrypto" in window;
 /**
- * Checks to see if a value is a numeric value (`number` or `string`).
+ * Cross-browser method that returns the next active element (the element that
+ * is receiving focus) after a blur event is dispatched. It receives the blur
+ * event object as the argument.
  *
- * Intentionally ignores whether the thousands delimiters are only
- * in the thousands marks.
+ * @example
+ * import { getNextActiveElementOnBlur } from "reakit-utils";
  *
- * @param {any}    value
- * @param {string} [locale]
- * @return {boolean} Whether value is numeric.
+ * const element = document.getElementById("id");
+ * element.addEventListener("blur", (event) => {
+ *   const nextActiveElement = getNextActiveElementOnBlur(event);
+ * });
  */

-function isValueNumeric(value) {
-  let locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : window.navigator.language;
-
-  if (ARABIC_NUMERAL_LOCALES.some(l => locale.startsWith(l))) {
-    locale = 'en-GB';
-
-    if (EASTERN_ARABIC_NUMBERS.test(value)) {
-      value = value.replace(/[٠-٩]/g, (
-      /** @type {string} */
-      d) => '٠١٢٣٤٥٦٧٨٩'.indexOf(d)).replace(/[۰-۹]/g, (
-      /** @type {string} */
-      d) => '۰۱۲۳۴۵۶۷۸۹'.indexOf(d)).replace(/٬/g, ',').replace(/٫/g, '.');
-    }
+function getNextActiveElementOnBlur(event) {
+  // IE 11 doesn't support event.relatedTarget on blur.
+  // document.activeElement points the the next active element.
+  // On modern browsers, document.activeElement points to the current target.
+  if (isIE11) {
+    var activeElement = getActiveElement_getActiveElement(event.currentTarget);
+    return activeElement;
   }

-  const [delimiterRegexp, decimalRegexp] = getDelimiterAndDecimalRegex(locale);
-  const valueToCheck = typeof value === 'string' ? value.replace(delimiterRegexp, '').replace(decimalRegexp, '.').replace(INTERNATIONAL_THOUSANDS_DELIMITER, '') : value;
-  return !isNaN(parseFloat(valueToCheck)) && isFinite(valueToCheck);
+  return event.relatedTarget;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-update-effect.js
-/**
- * WordPress dependencies
- */
-
-/**
- * A `React.useEffect` that will not run on the first render.
- * Source:
- * https://github.com/reakit/reakit/blob/HEAD/packages/reakit-utils/src/useUpdateEffect.ts
- *
- * @param {import('react').EffectCallback} effect
- * @param {import('react').DependencyList} deps
- */

-function useUpdateEffect(effect, deps) {
-  const mounted = Object(external_wp_element_["useRef"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (mounted.current) {
-      return effect();
-    }

-    mounted.current = true;
-    return undefined;
-  }, deps);
-}
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Composite/Composite.js

-/* harmony default export */ var use_update_effect = (useUpdateEffect);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/input-field.js



-/**
- * External dependencies
- */

- // eslint-disable-next-line no-restricted-imports

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */



@@ -28780,716 +25710,560 @@ function useUpdateEffect(effect, deps) {



-function InputField(_ref, ref) {
-  let {
-    disabled = false,
-    dragDirection = 'n',
-    dragThreshold = 10,
-    id,
-    isDragEnabled = false,
-    isFocused,
-    isPressEnterToChange = false,
-    onBlur = external_lodash_["noop"],
-    onChange = external_lodash_["noop"],
-    onDrag = external_lodash_["noop"],
-    onDragEnd = external_lodash_["noop"],
-    onDragStart = external_lodash_["noop"],
-    onFocus = external_lodash_["noop"],
-    onKeyDown = external_lodash_["noop"],
-    onValidate = external_lodash_["noop"],
-    size = 'default',
-    setIsFocused,
-    stateReducer = state => state,
-    value: valueProp,
-    type,
-    ...props
-  } = _ref;
-  const {
-    // State
-    state,
-    // Actions
-    change,
-    commit,
-    drag,
-    dragEnd,
-    dragStart,
-    invalidate,
-    pressDown,
-    pressEnter,
-    pressUp,
-    reset,
-    update
-  } = useInputControlStateReducer(stateReducer, {
-    isDragEnabled,
-    value: valueProp,
-    isPressEnterToChange
-  });
-  const {
-    _event,
-    value,
-    isDragging,
-    isDirty
-  } = state;
-  const wasDirtyOnBlur = Object(external_wp_element_["useRef"])(false);
-  const dragCursor = useDragCursor(isDragging, dragDirection);
-  /*
-   * Handles synchronization of external and internal value state.
-   * If not focused and did not hold a dirty value[1] on blur
-   * updates the value from the props. Otherwise if not holding
-   * a dirty value[1] propagates the value and event through onChange.
-   * [1] value is only made dirty if isPressEnterToChange is true
-   */

-  use_update_effect(() => {
-    if (valueProp === value) {
-      return;
-    }

-    if (!isFocused && !wasDirtyOnBlur.current) {
-      update(valueProp, _event);
-    } else if (!isDirty) {
-      onChange(value, {
-        event: _event
-      });
-      wasDirtyOnBlur.current = false;
-    }
-  }, [value, isDirty, isFocused, valueProp]);

-  const handleOnBlur = event => {
-    onBlur(event);
-    setIsFocused === null || setIsFocused === void 0 ? void 0 : setIsFocused(false);
-    /**
-     * If isPressEnterToChange is set, this commits the value to
-     * the onChange callback.
-     */

-    if (isPressEnterToChange && isDirty) {
-      wasDirtyOnBlur.current = true;

-      if (!isValueEmpty(value)) {
-        handleOnCommit(event);
-      } else {
-        reset(valueProp, event);
-      }
-    }
-  };

-  const handleOnFocus = event => {
-    onFocus(event);
-    setIsFocused === null || setIsFocused === void 0 ? void 0 : setIsFocused(true);
-  };

-  const handleOnChange = event => {
-    const nextValue = event.target.value;
-    change(nextValue, event);
-  };

-  const handleOnCommit = event => {
-    const nextValue = event.currentTarget.value;

-    try {
-      onValidate(nextValue);
-      commit(nextValue, event);
-    } catch (err) {
-      invalidate(err, event);
-    }
-  };

-  const handleOnKeyDown = event => {
-    const {
-      keyCode
-    } = event;
-    onKeyDown(event);

-    switch (keyCode) {
-      case external_wp_keycodes_["UP"]:
-        pressUp(event);
-        break;

-      case external_wp_keycodes_["DOWN"]:
-        pressDown(event);
-        break;

-      case external_wp_keycodes_["ENTER"]:
-        pressEnter(event);
+var Composite_isIE11 = canUseDOM && "msCrypto" in window;

-        if (isPressEnterToChange) {
-          event.preventDefault();
-          handleOnCommit(event);
-        }
+function canProxyKeyboardEvent(event) {
+  if (!isSelfTarget(event)) return false;
+  if (event.metaKey) return false;
+  if (event.key === "Tab") return false;
+  return true;
+}

-        break;
-    }
-  };
+function useKeyboardEventProxy(virtual, currentItem, htmlEventHandler) {
+  var eventHandlerRef = useLiveRef(htmlEventHandler);
+  return (0,external_React_.useCallback)(function (event) {
+    var _eventHandlerRef$curr;

-  const dragGestureProps = reactusegesture_esm_useDrag(dragProps => {
-    const {
-      distance,
-      dragging,
-      event
-    } = dragProps; // The event is persisted to prevent errors in components using this
-    // to check if a modifier key was held while dragging.
+    (_eventHandlerRef$curr = eventHandlerRef.current) === null || _eventHandlerRef$curr === void 0 ? void 0 : _eventHandlerRef$curr.call(eventHandlerRef, event);
+    if (event.defaultPrevented) return;

-    event.persist();
-    if (!distance) return;
-    event.stopPropagation();
-    /**
-     * Quick return if no longer dragging.
-     * This prevents unnecessary value calculations.
-     */
+    if (virtual && canProxyKeyboardEvent(event)) {
+      var currentElement = currentItem === null || currentItem === void 0 ? void 0 : currentItem.ref.current;

-    if (!dragging) {
-      onDragEnd(dragProps);
-      dragEnd(dragProps);
-      return;
-    }
+      if (currentElement) {
+        if (!fireKeyboardEvent(currentElement, event.type, event)) {
+          event.preventDefault();
+        } // The event will be triggered on the composite item and then
+        // propagated up to this composite element again, so we can pretend
+        // that it wasn't called on this component in the first place.

-    onDrag(dragProps);
-    drag(dragProps);

-    if (!isDragging) {
-      onDragStart(dragProps);
-      dragStart(dragProps);
+        if (event.currentTarget.contains(currentElement)) {
+          event.stopPropagation();
+        }
+      }
     }
-  }, {
-    threshold: dragThreshold,
-    enabled: isDragEnabled
-  });
-  const dragProps = isDragEnabled ? dragGestureProps() : {};
-  /*
-   * Works around the odd UA (e.g. Firefox) that does not focus inputs of
-   * type=number when their spinner arrows are pressed.
-   */
+  }, [virtual, currentItem]);
+} // istanbul ignore next

-  let handleOnMouseDown;

-  if (type === 'number') {
-    handleOnMouseDown = event => {
-      var _props$onMouseDown;
+function useActiveElementRef(elementRef) {
+  var activeElementRef = (0,external_React_.useRef)(null);
+  (0,external_React_.useEffect)(function () {
+    var document = getDocument(elementRef.current);

-      (_props$onMouseDown = props.onMouseDown) === null || _props$onMouseDown === void 0 ? void 0 : _props$onMouseDown.call(props, event);
+    var onFocus = function onFocus(event) {
+      var target = event.target;
+      activeElementRef.current = target;
+    };

-      if (event.currentTarget !== event.currentTarget.ownerDocument.activeElement) {
-        event.currentTarget.focus();
-      }
+    document.addEventListener("focus", onFocus, true);
+    return function () {
+      document.removeEventListener("focus", onFocus, true);
     };
-  }
+  }, []);
+  return activeElementRef;
+}

-  return Object(external_wp_element_["createElement"])(Input, Object(esm_extends["a" /* default */])({}, props, dragProps, {
-    className: "components-input-control__input",
-    disabled: disabled,
-    dragCursor: dragCursor,
-    isDragging: isDragging,
-    id: id,
-    onBlur: handleOnBlur,
-    onChange: handleOnChange,
-    onFocus: handleOnFocus,
-    onKeyDown: handleOnKeyDown,
-    onMouseDown: handleOnMouseDown,
-    ref: ref,
-    inputSize: size,
-    value: value,
-    type: type
-  }));
+function findFirstEnabledItemInTheLastRow(items) {
+  return findFirstEnabledItem(flatten(reverse(groupItems(items))));
 }

-const ForwardedComponent = Object(external_wp_element_["forwardRef"])(InputField);
-/* harmony default export */ var input_field = (ForwardedComponent);
+function isItem(items, element) {
+  return items === null || items === void 0 ? void 0 : items.some(function (item) {
+    return !!element && item.ref.current === element;
+  });
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/index.js
+function useScheduleUserFocus(currentItem) {
+  var currentItemRef = useLiveRef(currentItem);

+  var _React$useReducer = (0,external_React_.useReducer)(function (n) {
+    return n + 1;
+  }, 0),
+      scheduled = _React$useReducer[0],
+      schedule = _React$useReducer[1];

+  (0,external_React_.useEffect)(function () {
+    var _currentItemRef$curre;

-/**
- * External dependencies
- */
+    var currentElement = (_currentItemRef$curre = currentItemRef.current) === null || _currentItemRef$curre === void 0 ? void 0 : _currentItemRef$curre.ref.current;

- // eslint-disable-next-line no-restricted-imports
+    if (scheduled && currentElement) {
+      userFocus(currentElement);
+    }
+  }, [scheduled]);
+  return schedule;
+}

-/**
- * WordPress dependencies
- */
+var useComposite = createHook({
+  name: "Composite",
+  compose: [useTabbable],
+  keys: COMPOSITE_KEYS,
+  useOptions: function useOptions(options) {
+    return _objectSpread2(_objectSpread2({}, options), {}, {
+      currentId: getCurrentId(options)
+    });
+  },
+  useProps: function useProps(options, _ref) {
+    var htmlRef = _ref.ref,
+        htmlOnFocusCapture = _ref.onFocusCapture,
+        htmlOnFocus = _ref.onFocus,
+        htmlOnBlurCapture = _ref.onBlurCapture,
+        htmlOnKeyDown = _ref.onKeyDown,
+        htmlOnKeyDownCapture = _ref.onKeyDownCapture,
+        htmlOnKeyUpCapture = _ref.onKeyUpCapture,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["ref", "onFocusCapture", "onFocus", "onBlurCapture", "onKeyDown", "onKeyDownCapture", "onKeyUpCapture"]);

+    var ref = (0,external_React_.useRef)(null);
+    var currentItem = findEnabledItemById(options.items, options.currentId);
+    var previousElementRef = (0,external_React_.useRef)(null);
+    var onFocusCaptureRef = useLiveRef(htmlOnFocusCapture);
+    var onFocusRef = useLiveRef(htmlOnFocus);
+    var onBlurCaptureRef = useLiveRef(htmlOnBlurCapture);
+    var onKeyDownRef = useLiveRef(htmlOnKeyDown);
+    var scheduleUserFocus = useScheduleUserFocus(currentItem); // IE 11 doesn't support event.relatedTarget, so we use the active element
+    // ref instead.

-/**
- * Internal dependencies
- */
+    var activeElementRef = Composite_isIE11 ? useActiveElementRef(ref) : undefined;
+    (0,external_React_.useEffect)(function () {
+      var element = ref.current;

+      if (options.unstable_moves && !currentItem) {
+         false ? 0 : void 0; // If composite.move(null) has been called, the composite container
+        // will receive focus.

+        element === null || element === void 0 ? void 0 : element.focus();
+      }
+    }, [options.unstable_moves, currentItem]);
+    var onKeyDownCapture = useKeyboardEventProxy(options.unstable_virtual, currentItem, htmlOnKeyDownCapture);
+    var onKeyUpCapture = useKeyboardEventProxy(options.unstable_virtual, currentItem, htmlOnKeyUpCapture);
+    var onFocusCapture = (0,external_React_.useCallback)(function (event) {
+      var _onFocusCaptureRef$cu;

+      (_onFocusCaptureRef$cu = onFocusCaptureRef.current) === null || _onFocusCaptureRef$cu === void 0 ? void 0 : _onFocusCaptureRef$cu.call(onFocusCaptureRef, event);
+      if (event.defaultPrevented) return;
+      if (!options.unstable_virtual) return; // IE11 doesn't support event.relatedTarget, so we use the active
+      // element ref instead.

-function input_control_useUniqueId(idProp) {
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(InputControl);
-  const id = `inspector-input-control-${instanceId}`;
-  return idProp || id;
-}
+      var previousActiveElement = (activeElementRef === null || activeElementRef === void 0 ? void 0 : activeElementRef.current) || event.relatedTarget;
+      var previousActiveElementWasItem = isItem(options.items, previousActiveElement);

-function InputControl(_ref, ref) {
-  let {
-    __unstableStateReducer: stateReducer = state => state,
-    __unstableInputWidth,
-    className,
-    disabled = false,
-    hideLabelFromVision = false,
-    id: idProp,
-    isPressEnterToChange = false,
-    label,
-    labelPosition = 'top',
-    onChange = external_lodash_["noop"],
-    onValidate = external_lodash_["noop"],
-    onKeyDown = external_lodash_["noop"],
-    prefix,
-    size = 'default',
-    suffix,
-    value,
-    ...props
-  } = _ref;
-  const [isFocused, setIsFocused] = Object(external_wp_element_["useState"])(false);
-  const id = input_control_useUniqueId(idProp);
-  const classes = classnames_default()('components-input-control', className);
-  return Object(external_wp_element_["createElement"])(input_base, {
-    __unstableInputWidth: __unstableInputWidth,
-    className: classes,
-    disabled: disabled,
-    gap: 3,
-    hideLabelFromVision: hideLabelFromVision,
-    id: id,
-    isFocused: isFocused,
-    justify: "left",
-    label: label,
-    labelPosition: labelPosition,
-    prefix: prefix,
-    size: size,
-    suffix: suffix
-  }, Object(external_wp_element_["createElement"])(input_field, Object(esm_extends["a" /* default */])({}, props, {
-    className: "components-input-control__input",
-    disabled: disabled,
-    id: id,
-    isFocused: isFocused,
-    isPressEnterToChange: isPressEnterToChange,
-    onChange: onChange,
-    onKeyDown: onKeyDown,
-    onValidate: onValidate,
-    ref: ref,
-    setIsFocused: setIsFocused,
-    size: size,
-    stateReducer: stateReducer,
-    value: value
-  })));
-}
-const input_control_ForwardedComponent = Object(external_wp_element_["forwardRef"])(InputControl);
-/* harmony default export */ var input_control = (input_control_ForwardedComponent);
+      if (isSelfTarget(event) && previousActiveElementWasItem) {
+        // Composite has been focused as a result of an item receiving focus.
+        // The composite item will move focus back to the composite
+        // container. In this case, we don't want to propagate this
+        // additional event nor call the onFocus handler passed to
+        // <Composite onFocus={...} />.
+        event.stopPropagation(); // We keep track of the previous active item element so we can
+        // manually fire a blur event on it later when the focus is moved to
+        // another item on the onBlurCapture event below.

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/angle-picker-control/styles/angle-picker-control-styles.js
+        previousElementRef.current = previousActiveElement;
+      }
+    }, [options.unstable_virtual, options.items]);
+    var onFocus = (0,external_React_.useCallback)(function (event) {
+      var _onFocusRef$current;

+      (_onFocusRef$current = onFocusRef.current) === null || _onFocusRef$current === void 0 ? void 0 : _onFocusRef$current.call(onFocusRef, event);
+      if (event.defaultPrevented) return;

-function angle_picker_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+      if (options.unstable_virtual) {
+        if (isSelfTarget(event)) {
+          // This means that the composite element has been focused while the
+          // composite item has not. For example, by clicking on the
+          // composite element without touching any item, or by tabbing into
+          // the composite element. In this case, we want to trigger focus on
+          // the item, just like it would happen with roving tabindex.
+          // When it receives focus, the composite item will put focus back
+          // on the composite element, in which case hasItemWithFocus will be
+          // true.
+          scheduleUserFocus();
+        }
+      } else if (isSelfTarget(event)) {
+        var _options$setCurrentId;

-/**
- * External dependencies
- */
+        // When the roving tabindex composite gets intentionally focused (for
+        // example, by clicking directly on it, and not on an item), we make
+        // sure to set the current id to null (which means the composite
+        // itself is focused).
+        (_options$setCurrentId = options.setCurrentId) === null || _options$setCurrentId === void 0 ? void 0 : _options$setCurrentId.call(options, null);
+      }
+    }, [options.unstable_virtual, options.setCurrentId]);
+    var onBlurCapture = (0,external_React_.useCallback)(function (event) {
+      var _onBlurCaptureRef$cur;

-/**
- * Internal dependencies
- */
+      (_onBlurCaptureRef$cur = onBlurCaptureRef.current) === null || _onBlurCaptureRef$cur === void 0 ? void 0 : _onBlurCaptureRef$cur.call(onBlurCaptureRef, event);
+      if (event.defaultPrevented) return;
+      if (!options.unstable_virtual) return; // When virtual is set to true, we move focus from the composite
+      // container (this component) to the composite item that is being
+      // selected. Then we move focus back to the composite container. This
+      // is so we can provide the same API as the roving tabindex method,
+      // which means people can attach onFocus/onBlur handlers on the
+      // CompositeItem component regardless of whether it's virtual or not.
+      // This sequence of blurring and focusing items and composite may be
+      // confusing, so we ignore intermediate focus and blurs by stopping its
+      // propagation and not calling the passed onBlur handler (htmlOnBlur).

+      var currentElement = (currentItem === null || currentItem === void 0 ? void 0 : currentItem.ref.current) || null;
+      var nextActiveElement = getNextActiveElementOnBlur(event);
+      var nextActiveElementIsItem = isItem(options.items, nextActiveElement);

+      if (isSelfTarget(event) && nextActiveElementIsItem) {
+        // This is an intermediate blur event: blurring the composite
+        // container to focus an item (nextActiveElement).
+        if (nextActiveElement === currentElement) {
+          // The next active element will be the same as the current item in
+          // the state in two scenarios:
+          //   - Moving focus with keyboard: the state is updated before the
+          // blur event is triggered, so here the current item is already
+          // pointing to the next active element.
+          //   - Clicking on the current active item with a pointer: this
+          // will trigger blur on the composite element and then the next
+          // active element will be the same as the current item. Clicking on
+          // an item other than the current one doesn't end up here as the
+          // currentItem state will be updated only after it.
+          if (previousElementRef.current && previousElementRef.current !== nextActiveElement) {
+            // If there's a previous active item and it's not a click action,
+            // then we fire a blur event on it so it will work just like if
+            // it had DOM focus before (like when using roving tabindex).
+            fireBlurEvent(previousElementRef.current, event);
+          }
+        } else if (currentElement) {
+          // This will be true when the next active element is not the
+          // current element, but there's a current item. This will only
+          // happen when clicking with a pointer on a different item, when
+          // there's already an item selected, in which case currentElement
+          // is the item that is getting blurred, and nextActiveElement is
+          // the item that is being clicked.
+          fireBlurEvent(currentElement, event);
+        } // We want to ignore intermediate blur events, so we stop its
+        // propagation and return early so onFocus will not be called.


-const CIRCLE_SIZE = 32;
-const INNER_CIRCLE_SIZE = 3;
-const angle_picker_control_styles_Root = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_component,  true ? {
-  target: "e65ony43"
-} : undefined)("margin-bottom:", space(2), ";" + ( true ? "" : undefined));
-const CircleRoot = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e65ony42"
-} : undefined)("border-radius:50%;border:", config_values.borderWidth, " solid ", COLORS.ui.border, ";box-sizing:border-box;cursor:grab;height:", CIRCLE_SIZE, "px;overflow:hidden;width:", CIRCLE_SIZE, "px;" + ( true ? "" : undefined));
-const CircleIndicatorWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e65ony41"
-} : undefined)( true ? {
-  name: "1bhd2sw",
-  styles: "box-sizing:border-box;position:relative;width:100%;height:100%"
-} : undefined);
-const CircleIndicator = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e65ony40"
-} : undefined)("background:", COLORS.admin.theme, ";border-radius:50%;border:", INNER_CIRCLE_SIZE, "px solid ", COLORS.admin.theme, ";bottom:0;box-sizing:border-box;display:block;height:0px;left:0;margin:auto;position:absolute;right:0;top:-", CIRCLE_SIZE / 2, "px;width:0px;" + ( true ? "" : undefined));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/angle-picker-control/angle-circle.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
+        event.stopPropagation();
+      } else {
+        var targetIsItem = isItem(options.items, event.target);

+        if (!targetIsItem && currentElement) {
+          // If target is not a composite item, it may be the composite
+          // element itself (isSelfTarget) or a tabbable element inside the
+          // composite widget. This may be triggered by clicking outside the
+          // composite widget or by tabbing out of it. In either cases we
+          // want to fire a blur event on the current item.
+          fireBlurEvent(currentElement, event);
+        }
+      }
+    }, [options.unstable_virtual, options.items, currentItem]);
+    var onKeyDown = (0,external_React_.useCallback)(function (event) {
+      var _onKeyDownRef$current, _options$groups;

+      (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
+      if (event.defaultPrevented) return;
+      if (options.currentId !== null) return;
+      if (!isSelfTarget(event)) return;
+      var isVertical = options.orientation !== "horizontal";
+      var isHorizontal = options.orientation !== "vertical";
+      var isGrid = !!((_options$groups = options.groups) !== null && _options$groups !== void 0 && _options$groups.length);

-function AngleCircle(_ref) {
-  let {
-    value,
-    onChange,
-    ...props
-  } = _ref;
-  const angleCircleRef = Object(external_wp_element_["useRef"])();
-  const angleCircleCenter = Object(external_wp_element_["useRef"])();
-  const previousCursorValue = Object(external_wp_element_["useRef"])();
+      var up = function up() {
+        if (isGrid) {
+          var item = findFirstEnabledItemInTheLastRow(options.items);

-  const setAngleCircleCenter = () => {
-    const rect = angleCircleRef.current.getBoundingClientRect();
-    angleCircleCenter.current = {
-      x: rect.x + rect.width / 2,
-      y: rect.y + rect.height / 2
-    };
-  };
+          if (item !== null && item !== void 0 && item.id) {
+            var _options$move;

-  const changeAngleToPosition = event => {
-    const {
-      x: centerX,
-      y: centerY
-    } = angleCircleCenter.current;
-    const {
-      ownerDocument
-    } = angleCircleRef.current; // Prevent (drag) mouse events from selecting and accidentally
-    // triggering actions from other elements.
+            (_options$move = options.move) === null || _options$move === void 0 ? void 0 : _options$move.call(options, item.id);
+          }
+        } else {
+          var _options$last;

-    event.preventDefault(); // Ensure the input isn't focused as preventDefault would leave it
+          (_options$last = options.last) === null || _options$last === void 0 ? void 0 : _options$last.call(options);
+        }
+      };

-    ownerDocument.activeElement.blur();
-    onChange(getAngle(centerX, centerY, event.clientX, event.clientY));
-  };
+      var keyMap = {
+        ArrowUp: (isGrid || isVertical) && up,
+        ArrowRight: (isGrid || isHorizontal) && options.first,
+        ArrowDown: (isGrid || isVertical) && options.first,
+        ArrowLeft: (isGrid || isHorizontal) && options.last,
+        Home: options.first,
+        End: options.last,
+        PageUp: options.first,
+        PageDown: options.last
+      };
+      var action = keyMap[event.key];

-  const {
-    startDrag,
-    isDragging
-  } = Object(external_wp_compose_["__experimentalUseDragging"])({
-    onDragStart: event => {
-      setAngleCircleCenter();
-      changeAngleToPosition(event);
-    },
-    onDragMove: changeAngleToPosition,
-    onDragEnd: changeAngleToPosition
-  });
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isDragging) {
-      if (previousCursorValue.current === undefined) {
-        previousCursorValue.current = document.body.style.cursor;
+      if (action) {
+        event.preventDefault();
+        action();
       }
+    }, [options.currentId, options.orientation, options.groups, options.items, options.move, options.last, options.first]);
+    return _objectSpread2({
+      ref: useForkRef(ref, htmlRef),
+      id: options.baseId,
+      onFocus: onFocus,
+      onFocusCapture: onFocusCapture,
+      onBlurCapture: onBlurCapture,
+      onKeyDownCapture: onKeyDownCapture,
+      onKeyDown: onKeyDown,
+      onKeyUpCapture: onKeyUpCapture,
+      "aria-activedescendant": options.unstable_virtual ? (currentItem === null || currentItem === void 0 ? void 0 : currentItem.id) || undefined : undefined
+    }, htmlProps);
+  },
+  useComposeProps: function useComposeProps(options, htmlProps) {
+    htmlProps = useRole(options, htmlProps, true);
+    var tabbableHTMLProps = useTabbable(options, htmlProps, true);

-      document.body.style.cursor = 'grabbing';
-    } else {
-      document.body.style.cursor = previousCursorValue.current || null;
-      previousCursorValue.current = undefined;
+    if (options.unstable_virtual || options.currentId === null) {
+      // Composite will only be tabbable by default if the focus is managed
+      // using aria-activedescendant, which requires DOM focus on the container
+      // element (the composite)
+      return _objectSpread2({
+        tabIndex: 0
+      }, tabbableHTMLProps);
     }
-  }, [isDragging]);
-  return (
-    /* eslint-disable jsx-a11y/no-static-element-interactions */
-    Object(external_wp_element_["createElement"])(CircleRoot, Object(esm_extends["a" /* default */])({
-      ref: angleCircleRef,
-      onMouseDown: startDrag,
-      className: "components-angle-picker-control__angle-circle",
-      style: isDragging ? {
-        cursor: 'grabbing'
-      } : undefined
-    }, props), Object(external_wp_element_["createElement"])(CircleIndicatorWrapper, {
-      style: value ? {
-        transform: `rotate(${value}deg)`
-      } : undefined,
-      className: "components-angle-picker-control__angle-circle-indicator-wrapper"
-    }, Object(external_wp_element_["createElement"])(CircleIndicator, {
-      className: "components-angle-picker-control__angle-circle-indicator"
-    })))
-    /* eslint-enable jsx-a11y/no-static-element-interactions */

-  );
-}
+    return _objectSpread2(_objectSpread2({}, htmlProps), {}, {
+      ref: tabbableHTMLProps.ref
+    });
+  }
+});
+var Composite = createComponent({
+  as: "div",
+  useHook: useComposite,
+  useCreateElement: function useCreateElement$1(type, props, children) {
+     false ? 0 : void 0;
+    return useCreateElement(type, props, children);
+  }
+});

-function getAngle(centerX, centerY, pointX, pointY) {
-  const y = pointY - centerY;
-  const x = pointX - centerX;
-  const angleInRadians = Math.atan2(y, x);
-  const angleInDeg = Math.round(angleInRadians * (180 / Math.PI)) + 90;

-  if (angleInDeg < 0) {
-    return 360 + angleInDeg;
-  }

-  return angleInDeg;
-}
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Group/Group.js

-/* harmony default export */ var angle_circle = (AngleCircle);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/spacer/hook.js
-/**
- * External dependencies
- */

-/**
- * Internal dependencies
- */



+// Automatically generated
+var GROUP_KEYS = [];

+var useGroup = createHook({
+  name: "Group",
+  compose: useRole,
+  keys: GROUP_KEYS,
+  useProps: function useProps(_, htmlProps) {
+    return _objectSpread2({
+      role: "group"
+    }, htmlProps);
+  }
+});
+var Group = createComponent({
+  as: "div",
+  useHook: useGroup
+});

-const isDefined = o => typeof o !== 'undefined' && o !== null;

-function useSpacer(props) {
-  const {
-    className,
-    margin,
-    marginBottom = 2,
-    marginLeft,
-    marginRight,
-    marginTop,
-    marginX,
-    marginY,
-    padding,
-    paddingBottom,
-    paddingLeft,
-    paddingRight,
-    paddingTop,
-    paddingX,
-    paddingY,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Spacer');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = cx(isDefined(margin) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("margin:", space(margin), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(marginY) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("margin-bottom:", space(marginY), ";margin-top:", space(marginY), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(marginX) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("margin-left:", space(marginX), ";margin-right:", space(marginX), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(marginTop) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("margin-top:", space(marginTop), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(marginBottom) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("margin-bottom:", space(marginBottom), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(marginLeft) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("margin-left:", space(marginLeft), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(marginRight) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("margin-right:", space(marginRight), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(padding) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding:", space(padding), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(paddingY) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding-bottom:", space(paddingY), ";padding-top:", space(paddingY), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(paddingX) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding-left:", space(paddingX), ";padding-right:", space(paddingX), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(paddingTop) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding-top:", space(paddingTop), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(paddingBottom) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding-bottom:", space(paddingBottom), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(paddingLeft) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding-left:", space(paddingLeft), ";" + ( true ? "" : undefined),  true ? "" : undefined), isDefined(paddingRight) && /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding-right:", space(paddingRight), ";" + ( true ? "" : undefined),  true ? "" : undefined), className);
-  return { ...otherProps,
-    className: classes
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/spacer/component.js
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Composite/CompositeGroup.js



-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports

-/**
- * Internal dependencies
- */




-function Spacer(props, forwardedRef) {
-  const spacerProps = useSpacer(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, spacerProps, {
-    ref: forwardedRef
-  }));
-}
-/**
- * `Spacer` is a primitive layout component that providers inner (`padding`) or outer (`margin`) space in-between components. It can also be used to adaptively provide space within an `HStack` or `VStack`.
- *
- * `Spacer` comes with a bunch of shorthand props to adjust `margin` and `padding`. The values of these props work as a multiplier to the library's grid system (base of `4px`).
- *
- * @example
- * ```jsx
- * import { Spacer } from `@wordpress/components`
- *
- * function Example() {
- *   return (
- *     <View>
- *       <Spacer>
- *         <Heading>WordPress.org</Heading>
- *       </Spacer>
- *       <Text>
- *         Code is Poetry
- *       </Text>
- *     </View>
- *   );
- * }
- * ```
- */


-const ConnectedSpacer = Object(context_connect["a" /* contextConnect */])(Spacer, 'Spacer');
-/* harmony default export */ var spacer_component = (ConnectedSpacer);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/angle-picker-control/index.js


-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */
+var useCompositeGroup = createHook({
+  name: "CompositeGroup",
+  compose: [useGroup, unstable_useId],
+  keys: COMPOSITE_GROUP_KEYS,
+  propsAreEqual: function propsAreEqual(prev, next) {
+    if (!next.id || prev.id !== next.id) {
+      return useGroup.unstable_propsAreEqual(prev, next);
+    }

+    var prevCurrentId = prev.currentId,
+        prevMoves = prev.unstable_moves,
+        prevProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(prev, ["currentId", "unstable_moves"]);

-/**
- * Internal dependencies
- */
+    var nextCurrentId = next.currentId,
+        nextMoves = next.unstable_moves,
+        nextProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(next, ["currentId", "unstable_moves"]);

+    if (prev.items && next.items) {
+      var prevCurrentItem = findEnabledItemById(prev.items, prevCurrentId);
+      var nextCurrentItem = findEnabledItemById(next.items, nextCurrentId);
+      var prevGroupId = prevCurrentItem === null || prevCurrentItem === void 0 ? void 0 : prevCurrentItem.groupId;
+      var nextGroupId = nextCurrentItem === null || nextCurrentItem === void 0 ? void 0 : nextCurrentItem.groupId;

+      if (next.id === nextGroupId || next.id === prevGroupId) {
+        return false;
+      }
+    }

+    return useGroup.unstable_propsAreEqual(prevProps, nextProps);
+  },
+  useProps: function useProps(options, _ref) {
+    var htmlRef = _ref.ref,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["ref"]);

+    var ref = (0,external_React_.useRef)(null);
+    var id = options.id; // We need this to be called before CompositeItems' register

+    useIsomorphicEffect(function () {
+      var _options$registerGrou;

+      if (!id) return undefined;
+      (_options$registerGrou = options.registerGroup) === null || _options$registerGrou === void 0 ? void 0 : _options$registerGrou.call(options, {
+        id: id,
+        ref: ref
+      });
+      return function () {
+        var _options$unregisterGr;

+        (_options$unregisterGr = options.unregisterGroup) === null || _options$unregisterGr === void 0 ? void 0 : _options$unregisterGr.call(options, id);
+      };
+    }, [id, options.registerGroup, options.unregisterGroup]);
+    return _objectSpread2({
+      ref: useForkRef(ref, htmlRef)
+    }, htmlProps);
+  }
+});
+var CompositeGroup = createComponent({
+  as: "div",
+  useHook: useCompositeGroup
+});

-function AnglePickerControl(_ref) {
-  let {
-    className,
-    label = Object(external_wp_i18n_["__"])('Angle'),
-    onChange,
-    value
-  } = _ref;

-  const handleOnNumberChange = unprocessedValue => {
-    const inputValue = unprocessedValue !== '' ? parseInt(unprocessedValue, 10) : 0;
-    onChange(inputValue);
-  };

-  const classes = classnames_default()('components-angle-picker-control', className);
-  return Object(external_wp_element_["createElement"])(angle_picker_control_styles_Root, {
-    className: classes
-  }, Object(external_wp_element_["createElement"])(flex_block_component, null, Object(external_wp_element_["createElement"])(input_control, {
-    label: label,
-    className: "components-angle-picker-control__input-field",
-    max: 360,
-    min: 0,
-    onChange: handleOnNumberChange,
-    step: "1",
-    value: value,
-    hideHTMLArrows: true,
-    suffix: Object(external_wp_element_["createElement"])(spacer_component, {
-      as: text_component,
-      marginRight: space(3),
-      style: {
-        color: 'var( --wp-admin-theme-color )'
-      }
-    }, "\xB0")
-  })), Object(external_wp_element_["createElement"])(flex_item_component, {
-    style: {
-      marginLeft: space(4),
-      marginBottom: space(1),
-      marginTop: 'auto'
-    }
-  }, Object(external_wp_element_["createElement"])(angle_circle, {
-    "aria-hidden": "true",
-    value: value,
-    onChange: onChange
-  })));
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/styles/alignment-matrix-control-icon-styles.js

-// EXTERNAL MODULE: external ["wp","richText"]
-var external_wp_richText_ = __webpack_require__("qRz9");

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+function alignment_matrix_control_icon_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/autocomplete/get-default-use-items.js
 /**
  * External dependencies
  */

 /**
- * WordPress dependencies
+ * Internal dependencies
  */



-function filterOptions(search) {
-  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
-  let maxResults = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
-  const filtered = [];
-
-  for (let i = 0; i < options.length; i++) {
-    const option = options[i]; // Merge label into keywords
+const alignment_matrix_control_icon_styles_rootSize = () => {
+  const padding = 1.5;
+  const size = 24;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    gridTemplateRows: `repeat( 3, calc( ${size - padding * 2}px / 3))`,
+    padding,
+    maxHeight: size,
+    maxWidth: size
+  },  true ? "" : 0,  true ? "" : 0);
+};

-    let {
-      keywords = []
-    } = option;
+const rootPointerEvents = _ref => {
+  let {
+    disablePointerEvents
+  } = _ref;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    pointerEvents: disablePointerEvents ? 'none' : null
+  },  true ? "" : 0,  true ? "" : 0);
+};

-    if ('string' === typeof option.label) {
-      keywords = [...keywords, option.label];
-    }
+const Wrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "elqsdmc2"
+} : 0)( true ? {
+  name: "ogl07i",
+  styles: "box-sizing:border-box;padding:2px"
+} : 0);
+const alignment_matrix_control_icon_styles_Root = emotion_styled_base_browser_esm("div",  true ? {
+  target: "elqsdmc1"
+} : 0)("transform-origin:top left;height:100%;width:100%;", rootBase, ";", alignment_matrix_control_icon_styles_rootSize, ";", rootPointerEvents, ";" + ( true ? "" : 0));

-    const isMatch = keywords.some(keyword => search.test(Object(external_lodash_["deburr"])(keyword)));
+const alignment_matrix_control_icon_styles_pointActive = _ref2 => {
+  let {
+    isActive
+  } = _ref2;
+  const boxShadow = isActive ? `0 0 0 1px currentColor` : null;
+  return /*#__PURE__*/emotion_react_browser_esm_css("box-shadow:", boxShadow, ";color:currentColor;*:hover>&{color:currentColor;}" + ( true ? "" : 0),  true ? "" : 0);
+};

-    if (!isMatch) {
-      continue;
-    }
+const alignment_matrix_control_icon_styles_Point = emotion_styled_base_browser_esm("span",  true ? {
+  target: "elqsdmc0"
+} : 0)("height:2px;width:2px;", pointBase, ";", alignment_matrix_control_icon_styles_pointActive, ";" + ( true ? "" : 0));
+const alignment_matrix_control_icon_styles_Cell = Cell;

-    filtered.push(option); // Abort early if max reached
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/icon.js

-    if (filtered.length === maxResults) {
-      break;
-    }
-  }

-  return filtered;
-}

-function getDefaultUseItems(autocompleter) {
-  return filterValue => {
-    const [items, setItems] = Object(external_wp_element_["useState"])([]);
-    /*
-     * We support both synchronous and asynchronous retrieval of completer options
-     * but internally treat all as async so we maintain a single, consistent code path.
-     *
-     * Because networks can be slow, and the internet is wonderfully unpredictable,
-     * we don't want two promises updating the state at once. This ensures that only
-     * the most recent promise will act on `optionsData`. This doesn't use the state
-     * because `setState` is batched, and so there's no guarantee that setting
-     * `activePromise` in the state would result in it actually being in `this.state`
-     * before the promise resolves and we check to see if this is the active promise or not.
-     */
+/**
+ * External dependencies
+ */

-    Object(external_wp_element_["useLayoutEffect"])(() => {
-      const {
-        options,
-        isDebounced
-      } = autocompleter;
-      const loadOptions = Object(external_lodash_["debounce"])(() => {
-        const promise = Promise.resolve(typeof options === 'function' ? options(filterValue) : options).then(optionsData => {
-          if (promise.canceled) {
-            return;
-          }
+/**
+ * Internal dependencies
+ */

-          const keyedOptions = optionsData.map((optionData, optionIndex) => ({
-            key: `${autocompleter.name}-${optionIndex}`,
-            value: optionData,
-            label: autocompleter.getOptionLabel(optionData),
-            keywords: autocompleter.getOptionKeywords ? autocompleter.getOptionKeywords(optionData) : [],
-            isDisabled: autocompleter.isOptionDisabled ? autocompleter.isOptionDisabled(optionData) : false
-          })); // create a regular expression to filter the options

-          const search = new RegExp('(?:\\b|\\s|^)' + Object(external_lodash_["escapeRegExp"])(filterValue), 'i');
-          setItems(filterOptions(search, keyedOptions));
-        });
-        return promise;
-      }, isDebounced ? 250 : 0);
-      const promise = loadOptions();
-      return () => {
-        loadOptions.cancel();

-        if (promise) {
-          promise.canceled = true;
-        }
-      };
-    }, [filterValue]);
-    return [items];
+const BASE_SIZE = 24;
+function AlignmentMatrixControlIcon(_ref) {
+  let {
+    className,
+    disablePointerEvents = true,
+    size = BASE_SIZE,
+    style = {},
+    value = 'center',
+    ...props
+  } = _ref;
+  const alignIndex = getAlignmentIndex(value);
+  const scale = (size / BASE_SIZE).toFixed(2);
+  const classes = classnames_default()('component-alignment-matrix-control-icon', className);
+  const styles = { ...style,
+    transform: `scale(${scale})`
   };
+  return (0,external_wp_element_namespaceObject.createElement)(alignment_matrix_control_icon_styles_Root, extends_extends({}, props, {
+    className: classes,
+    disablePointerEvents: disablePointerEvents,
+    role: "presentation",
+    size: size,
+    style: styles
+  }), ALIGNMENTS.map((align, index) => {
+    const isActive = alignIndex === index;
+    return (0,external_wp_element_namespaceObject.createElement)(alignment_matrix_control_icon_styles_Cell, {
+      key: align
+    }, (0,external_wp_element_namespaceObject.createElement)(alignment_matrix_control_icon_styles_Point, {
+      isActive: isActive
+    }));
+  }));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/button/index.js
-var build_module_button = __webpack_require__("kA6J");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/popover/index.js + 1 modules
-var build_module_popover = __webpack_require__("oXO/");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/autocomplete/autocompleter-ui.js


 /**
@@ -29503,6 +26277,7 @@ var build_module_popover = __webpack_require__("oXO/");



+
 /**
  * Internal dependencies
  */
@@ -29510,6181 +26285,5987 @@ var build_module_popover = __webpack_require__("oXO/");



-function getAutoCompleterUI(autocompleter) {
-  const useItems = autocompleter.useItems ? autocompleter.useItems : getDefaultUseItems(autocompleter);
-
-  function AutocompleterUI(_ref) {
-    let {
-      filterValue,
-      instanceId,
-      listBoxId,
-      className,
-      selectedIndex,
-      onChangeOptions,
-      onSelect,
-      onReset,
-      value,
-      contentRef
-    } = _ref;
-    const [items] = useItems(filterValue);
-    const anchorRef = Object(external_wp_richText_["useAnchorRef"])({
-      ref: contentRef,
-      value
-    });
-    Object(external_wp_element_["useLayoutEffect"])(() => {
-      onChangeOptions(items);
-    }, [items]);

-    if (!items.length > 0) {
-      return null;
-    }

-    return Object(external_wp_element_["createElement"])(build_module_popover["a" /* default */], {
-      focusOnMount: false,
-      onClose: onReset,
-      position: "top right",
-      className: "components-autocomplete__popover",
-      anchorRef: anchorRef
-    }, Object(external_wp_element_["createElement"])("div", {
-      id: listBoxId,
-      role: "listbox",
-      className: "components-autocomplete__results"
-    }, Object(external_lodash_["map"])(items, (option, index) => Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-      key: option.key,
-      id: `components-autocomplete-item-${instanceId}-${option.key}`,
-      role: "option",
-      "aria-selected": index === selectedIndex,
-      disabled: option.isDisabled,
-      className: classnames_default()('components-autocomplete__result', className, {
-        'is-selected': index === selectedIndex
-      }),
-      onClick: () => onSelect(option)
-    }, option.label))));
-  }

-  return AutocompleterUI;
+function useBaseId(id) {
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(AlignmentMatrixControl, 'alignment-matrix-control');
+  return id || instanceId;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/autocomplete/index.js
+function AlignmentMatrixControl(_ref) {
+  let {
+    className,
+    id,
+    label = (0,external_wp_i18n_namespaceObject.__)('Alignment Matrix Control'),
+    defaultValue = 'center center',
+    value,
+    onChange = external_lodash_namespaceObject.noop,
+    width = 92,
+    ...props
+  } = _ref;
+  const [immutableDefaultValue] = (0,external_wp_element_namespaceObject.useState)(value !== null && value !== void 0 ? value : defaultValue);
+  const baseId = useBaseId(id);
+  const initialCurrentId = getItemId(baseId, immutableDefaultValue);
+  const composite = useCompositeState({
+    baseId,
+    currentId: initialCurrentId,
+    rtl: (0,external_wp_i18n_namespaceObject.isRTL)()
+  });

+  const handleOnChange = nextValue => {
+    onChange(nextValue);
+  };

-/**
- * External dependencies
- */
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (typeof value !== 'undefined') {
+      composite.setCurrentId(getItemId(baseId, value));
+    }
+  }, [value, composite.setCurrentId]);
+  const classes = classnames_default()('component-alignment-matrix-control', className);
+  return (0,external_wp_element_namespaceObject.createElement)(Composite, extends_extends({}, props, composite, {
+    "aria-label": label,
+    as: Root,
+    className: classes,
+    role: "grid",
+    width: width
+  }), GRID.map((cells, index) => (0,external_wp_element_namespaceObject.createElement)(CompositeGroup, extends_extends({}, composite, {
+    as: Row,
+    role: "row",
+    key: index
+  }), cells.map(cell => {
+    const cellId = getItemId(baseId, cell);
+    const isActive = composite.currentId === cellId;
+    return (0,external_wp_element_namespaceObject.createElement)(cell_Cell, extends_extends({}, composite, {
+      id: cellId,
+      isActive: isActive,
+      key: cell,
+      value: cell,
+      onFocus: () => handleOnChange(cell),
+      tabIndex: isActive ? 0 : -1
+    }));
+  }))));
+}
+AlignmentMatrixControl.Icon = AlignmentMatrixControlIcon;

-/**
- * WordPress dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/tslib/tslib.es6.js
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+***************************************************************************** */
+/* global Reflect, Promise */
+
+var extendStatics = function(d, b) {
+    extendStatics = Object.setPrototypeOf ||
+        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
+    return extendStatics(d, b);
+};
+
+function __extends(d, b) {
+    if (typeof b !== "function" && b !== null)
+        throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
+    extendStatics(d, b);
+    function __() { this.constructor = d; }
+    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+}
+
+var __assign = function() {
+    __assign = Object.assign || function __assign(t) {
+        for (var s, i = 1, n = arguments.length; i < n; i++) {
+            s = arguments[i];
+            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
+        }
+        return t;
+    }
+    return __assign.apply(this, arguments);
+}
+
+function __rest(s, e) {
+    var t = {};
+    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
+        t[p] = s[p];
+    if (s != null && typeof Object.getOwnPropertySymbols === "function")
+        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
+                t[p[i]] = s[p[i]];
+        }
+    return t;
+}
+
+function __decorate(decorators, target, key, desc) {
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
+    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
+}
+
+function __param(paramIndex, decorator) {
+    return function (target, key) { decorator(target, key, paramIndex); }
+}
+
+function __metadata(metadataKey, metadataValue) {
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
+}
+
+function __awaiter(thisArg, _arguments, P, generator) {
+    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+    return new (P || (P = Promise))(function (resolve, reject) {
+        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+        step((generator = generator.apply(thisArg, _arguments || [])).next());
+    });
+}
+
+function __generator(thisArg, body) {
+    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
+    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
+    function verb(n) { return function (v) { return step([n, v]); }; }
+    function step(op) {
+        if (f) throw new TypeError("Generator is already executing.");
+        while (_) try {
+            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
+            if (y = 0, t) op = [op[0] & 2, t.value];
+            switch (op[0]) {
+                case 0: case 1: t = op; break;
+                case 4: _.label++; return { value: op[1], done: false };
+                case 5: _.label++; y = op[1]; op = [0]; continue;
+                case 7: op = _.ops.pop(); _.trys.pop(); continue;
+                default:
+                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
+                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
+                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
+                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
+                    if (t[2]) _.ops.pop();
+                    _.trys.pop(); continue;
+            }
+            op = body.call(thisArg, _);
+        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
+        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
+    }
+}
+
+var __createBinding = Object.create ? (function(o, m, k, k2) {
+    if (k2 === undefined) k2 = k;
+    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+}) : (function(o, m, k, k2) {
+    if (k2 === undefined) k2 = k;
+    o[k2] = m[k];
+});
+
+function __exportStar(m, o) {
+    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
+}
+
+function __values(o) {
+    var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
+    if (m) return m.call(o);
+    if (o && typeof o.length === "number") return {
+        next: function () {
+            if (o && i >= o.length) o = void 0;
+            return { value: o && o[i++], done: !o };
+        }
+    };
+    throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
+}
+
+function tslib_es6_read(o, n) {
+    var m = typeof Symbol === "function" && o[Symbol.iterator];
+    if (!m) return o;
+    var i = m.call(o), r, ar = [], e;
+    try {
+        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
+    }
+    catch (error) { e = { error: error }; }
+    finally {
+        try {
+            if (r && !r.done && (m = i["return"])) m.call(i);
+        }
+        finally { if (e) throw e.error; }
+    }
+    return ar;
+}
+
+/** @deprecated */
+function __spread() {
+    for (var ar = [], i = 0; i < arguments.length; i++)
+        ar = ar.concat(tslib_es6_read(arguments[i]));
+    return ar;
+}
+
+/** @deprecated */
+function __spreadArrays() {
+    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
+    for (var r = Array(s), k = 0, i = 0; i < il; i++)
+        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
+            r[k] = a[j];
+    return r;
+}
+
+function tslib_es6_spreadArray(to, from, pack) {
+    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
+        if (ar || !(i in from)) {
+            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
+            ar[i] = from[i];
+        }
+    }
+    return to.concat(ar || Array.prototype.slice.call(from));
+}
+
+function __await(v) {
+    return this instanceof __await ? (this.v = v, this) : new __await(v);
+}
+
+function __asyncGenerator(thisArg, _arguments, generator) {
+    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
+    var g = generator.apply(thisArg, _arguments || []), i, q = [];
+    return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
+    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
+    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
+    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
+    function fulfill(value) { resume("next", value); }
+    function reject(value) { resume("throw", value); }
+    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
+}
+
+function __asyncDelegator(o) {
+    var i, p;
+    return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
+    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
+}
+
+function __asyncValues(o) {
+    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
+    var m = o[Symbol.asyncIterator], i;
+    return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
+    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
+    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
+}
+
+function __makeTemplateObject(cooked, raw) {
+    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
+    return cooked;
+};
+
+var __setModuleDefault = Object.create ? (function(o, v) {
+    Object.defineProperty(o, "default", { enumerable: true, value: v });
+}) : function(o, v) {
+    o["default"] = v;
+};
+
+function __importStar(mod) {
+    if (mod && mod.__esModule) return mod;
+    var result = {};
+    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+    __setModuleDefault(result, mod);
+    return result;
+}
+
+function __importDefault(mod) {
+    return (mod && mod.__esModule) ? mod : { default: mod };
+}
+
+function __classPrivateFieldGet(receiver, state, kind, f) {
+    if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
+    if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
+    return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
+}
+
+function __classPrivateFieldSet(receiver, state, value, kind, f) {
+    if (kind === "m") throw new TypeError("Private method is not writable");
+    if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
+    if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
+    return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
+}

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/definitions.js
+var createDefinition = function (propNames) { return ({
+    isEnabled: function (props) { return propNames.some(function (name) { return !!props[name]; }); },
+}); };
+var featureDefinitions = {
+    measureLayout: createDefinition([
+        "layout",
+        "layoutId",
+        "drag",
+        "_layoutResetTransform",
+    ]),
+    animation: createDefinition([
+        "animate",
+        "exit",
+        "variants",
+        "whileHover",
+        "whileTap",
+        "whileFocus",
+        "whileDrag",
+    ]),
+    exit: createDefinition(["exit"]),
+    drag: createDefinition(["drag", "dragControls"]),
+    focus: createDefinition(["whileFocus"]),
+    hover: createDefinition(["whileHover", "onHoverStart", "onHoverEnd"]),
+    tap: createDefinition(["whileTap", "onTap", "onTapStart", "onTapCancel"]),
+    pan: createDefinition([
+        "onPan",
+        "onPanStart",
+        "onPanSessionStart",
+        "onPanEnd",
+    ]),
+    layoutAnimation: createDefinition(["layout", "layoutId"]),
+};
+function loadFeatures(features) {
+    for (var key in features) {
+        var Component = features[key];
+        if (Component !== null)
+            featureDefinitions[key].Component = Component;
+    }
+}



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/LazyContext.js


+var LazyContext = (0,external_React_.createContext)({ strict: false });

-/**
- * Internal dependencies
- */


-/**
- * A raw completer option.
- *
- * @typedef {*} CompleterOption
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/use-features.js

-/**
- * @callback FnGetOptions
- *
- * @return {(CompleterOption[]|Promise.<CompleterOption[]>)} The completer options or a promise for them.
- */

-/**
- * @callback FnGetOptionKeywords
- * @param {CompleterOption} option a completer option.
- *
- * @return {string[]} list of key words to search.
- */

-/**
- * @callback FnIsOptionDisabled
- * @param {CompleterOption} option a completer option.
- *
- * @return {string[]} whether or not the given option is disabled.
- */

-/**
- * @callback FnGetOptionLabel
- * @param {CompleterOption} option a completer option.
- *
- * @return {(string|Array.<(string|WPElement)>)} list of react components to render.
- */

-/**
- * @callback FnAllowContext
- * @param {string} before the string before the auto complete trigger and query.
- * @param {string} after  the string after the autocomplete trigger and query.
- *
- * @return {boolean} true if the completer can handle.
- */

-/**
- * @typedef {Object} OptionCompletion
- * @property {'insert-at-caret'|'replace'} action the intended placement of the completion.
- * @property {OptionCompletionValue}       value  the completion value.
- */

+var featureNames = Object.keys(featureDefinitions);
+var numFeatures = featureNames.length;
 /**
- * A completion value.
- *
- * @typedef {(string|WPElement|Object)} OptionCompletionValue
+ * Load features via renderless components based on the provided MotionProps.
  */
+function useFeatures(props, visualElement, preloadedFeatures) {
+    var features = [];
+    var lazyContext = (0,external_React_.useContext)(LazyContext);
+    if (!visualElement)
+        return null;
+    /**
+     * If we're in development mode, check to make sure we're not rendering a motion component
+     * as a child of LazyMotion, as this will break the file-size benefits of using it.
+     */
+    if (false) {}
+    for (var i = 0; i < numFeatures; i++) {
+        var name_1 = featureNames[i];
+        var _a = featureDefinitions[name_1], isEnabled = _a.isEnabled, Component = _a.Component;
+        /**
+         * It might be possible in the future to use this moment to
+         * dynamically request functionality. In initial tests this
+         * was producing a lot of duplication amongst bundles.
+         */
+        if (isEnabled(props) && Component) {
+            features.push(external_React_.createElement(Component, __assign({ key: name_1 }, props, { visualElement: visualElement })));
+        }
+    }
+    return features;
+}

-/**
- * @callback FnGetOptionCompletion
- * @param {CompleterOption} value the value of the completer option.
- * @param {string}          query the text value of the autocomplete query.
- *
- * @return {(OptionCompletion|OptionCompletionValue)} the completion for the given option. If an
- * 													   OptionCompletionValue is returned, the
- * 													   completion action defaults to `insert-at-caret`.
- */

-/**
- * @typedef {Object} WPCompleter
- * @property {string}                           name                a way to identify a completer, useful for selective overriding.
- * @property {?string}                          className           A class to apply to the popup menu.
- * @property {string}                           triggerPrefix       the prefix that will display the menu.
- * @property {(CompleterOption[]|FnGetOptions)} options             the completer options or a function to get them.
- * @property {?FnGetOptionKeywords}             getOptionKeywords   get the keywords for a given option.
- * @property {?FnIsOptionDisabled}              isOptionDisabled    get whether or not the given option is disabled.
- * @property {FnGetOptionLabel}                 getOptionLabel      get the label for a given option.
- * @property {?FnAllowContext}                  allowContext        filter the context under which the autocomplete activates.
- * @property {FnGetOptionCompletion}            getOptionCompletion get the completion associated with a given option.
- */

-function useAutocomplete(_ref) {
-  let {
-    record,
-    onChange,
-    onReplace,
-    completers,
-    contentRef
-  } = _ref;
-  const debouncedSpeak = Object(external_wp_compose_["useDebounce"])(external_wp_a11y_["speak"], 500);
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(useAutocomplete);
-  const [selectedIndex, setSelectedIndex] = Object(external_wp_element_["useState"])(0);
-  const [filteredOptions, setFilteredOptions] = Object(external_wp_element_["useState"])([]);
-  const [filterValue, setFilterValue] = Object(external_wp_element_["useState"])('');
-  const [autocompleter, setAutocompleter] = Object(external_wp_element_["useState"])(null);
-  const [AutocompleterUI, setAutocompleterUI] = Object(external_wp_element_["useState"])(null);
-  const [backspacing, setBackspacing] = Object(external_wp_element_["useState"])(false);
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/MotionConfigContext.js

-  function insertCompletion(replacement) {
-    const end = record.start;
-    const start = end - autocompleter.triggerPrefix.length - filterValue.length;
-    const toInsert = Object(external_wp_richText_["create"])({
-      html: Object(external_wp_element_["renderToString"])(replacement)
-    });
-    onChange(Object(external_wp_richText_["insert"])(record, toInsert, start, end));
-  }

-  function select(option) {
-    const {
-      getOptionCompletion
-    } = autocompleter || {};
+/**
+ * @public
+ */
+var MotionConfigContext = (0,external_React_.createContext)({
+    transformPagePoint: function (p) { return p; },
+    isStatic: false,
+});

-    if (option.isDisabled) {
-      return;
-    }

-    if (getOptionCompletion) {
-      const completion = getOptionCompletion(option.value, filterValue);
-      const {
-        action,
-        value
-      } = undefined === completion.action || undefined === completion.value ? {
-        action: 'insert-at-caret',
-        value: completion
-      } : completion;

-      if ('replace' === action) {
-        onReplace([value]); // When replacing, the component will unmount, so don't reset
-        // state (below) on an unmounted component.
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/MotionContext/index.js

-        return;
-      } else if ('insert-at-caret' === action) {
-        insertCompletion(value);
-      }
-    } // Reset autocomplete state after insertion rather than before
-    // so insertion events don't cause the completion menu to redisplay.

+var MotionContext = (0,external_React_.createContext)({});
+function useVisualElementContext() {
+    return (0,external_React_.useContext)(MotionContext).visualElement;
+}

-    reset();
-  }

-  function reset() {
-    setSelectedIndex(0);
-    setFilteredOptions([]);
-    setFilterValue('');
-    setAutocompleter(null);
-    setAutocompleterUI(null);
-  }

-  function announce(options) {
-    if (!debouncedSpeak) {
-      return;
-    }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/PresenceContext.js

-    if (!!options.length) {
-      debouncedSpeak(Object(external_wp_i18n_["sprintf"])(
-      /* translators: %d: number of results. */
-      Object(external_wp_i18n_["_n"])('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', options.length), options.length), 'assertive');
-    } else {
-      debouncedSpeak(Object(external_wp_i18n_["__"])('No results.'), 'assertive');
-    }
-  }
-  /**
-   * Load options for an autocompleter.
-   *
-   * @param {Array} options
-   */

+/**
+ * @public
+ */
+var PresenceContext_PresenceContext = (0,external_React_.createContext)(null);

-  function onChangeOptions(options) {
-    setSelectedIndex(options.length === filteredOptions.length ? selectedIndex : 0);
-    setFilteredOptions(options);
-    announce(options);
-  }

-  function handleKeyDown(event) {
-    setBackspacing(event.keyCode === external_wp_keycodes_["BACKSPACE"]);

-    if (!autocompleter) {
-      return;
-    }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/use-constant.js

-    if (filteredOptions.length === 0) {
-      return;
-    }

-    if (event.defaultPrevented) {
-      return;
+/**
+ * Creates a constant value over the lifecycle of a component.
+ *
+ * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer
+ * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`
+ * you can ensure that initialisers don't execute twice or more.
+ */
+function useConstant(init) {
+    var ref = (0,external_React_.useRef)(null);
+    if (ref.current === null) {
+        ref.current = init();
     }
+    return ref.current;
+}

-    switch (event.keyCode) {
-      case external_wp_keycodes_["UP"]:
-        setSelectedIndex((selectedIndex === 0 ? filteredOptions.length : selectedIndex) - 1);
-        break;

-      case external_wp_keycodes_["DOWN"]:
-        setSelectedIndex((selectedIndex + 1) % filteredOptions.length);
-        break;

-      case external_wp_keycodes_["ESCAPE"]:
-        setAutocompleter(null);
-        setAutocompleterUI(null);
-        event.preventDefault();
-        break;
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js

-      case external_wp_keycodes_["ENTER"]:
-        select(filteredOptions[selectedIndex]);
-        break;

-      case external_wp_keycodes_["LEFT"]:
-      case external_wp_keycodes_["RIGHT"]:
-        reset();
-        return;

-      default:
-        return;
-    } // Any handled keycode should prevent original behavior. This relies on
-    // the early return in the default case.

+/**
+ * When a component is the child of `AnimatePresence`, it can use `usePresence`
+ * to access information about whether it's still present in the React tree.
+ *
+ * ```jsx
+ * import { usePresence } from "framer-motion"
+ *
+ * export const Component = () => {
+ *   const [isPresent, safeToRemove] = usePresence()
+ *
+ *   useEffect(() => {
+ *     !isPresent && setTimeout(safeToRemove, 1000)
+ *   }, [isPresent])
+ *
+ *   return <div />
+ * }
+ * ```
+ *
+ * If `isPresent` is `false`, it means that a component has been removed the tree, but
+ * `AnimatePresence` won't really remove it until `safeToRemove` has been called.
+ *
+ * @public
+ */
+function usePresence() {
+    var context = (0,external_React_.useContext)(PresenceContext_PresenceContext);
+    if (context === null)
+        return [true, null];
+    var isPresent = context.isPresent, onExitComplete = context.onExitComplete, register = context.register;
+    // It's safe to call the following hooks conditionally (after an early return) because the context will always
+    // either be null or non-null for the lifespan of the component.
+    // Replace with useOpaqueId when released in React
+    var id = useUniqueId();
+    (0,external_React_.useEffect)(function () { return register(id); }, []);
+    var safeToRemove = function () { return onExitComplete === null || onExitComplete === void 0 ? void 0 : onExitComplete(id); };
+    return !isPresent && onExitComplete ? [false, safeToRemove] : [true];
+}
+/**
+ * Similar to `usePresence`, except `useIsPresent` simply returns whether or not the component is present.
+ * There is no `safeToRemove` function.
+ *
+ * ```jsx
+ * import { useIsPresent } from "framer-motion"
+ *
+ * export const Component = () => {
+ *   const isPresent = useIsPresent()
+ *
+ *   useEffect(() => {
+ *     !isPresent && console.log("I've been removed!")
+ *   }, [isPresent])
+ *
+ *   return <div />
+ * }
+ * ```
+ *
+ * @public
+ */
+function useIsPresent() {
+    return isPresent(useContext(PresenceContext));
+}
+function isPresent(context) {
+    return context === null ? true : context.isPresent;
+}
+var counter = 0;
+var incrementId = function () { return counter++; };
+var useUniqueId = function () { return useConstant(incrementId); };

-    event.preventDefault();
-  }

-  let textContent;

-  if (Object(external_wp_richText_["isCollapsed"])(record)) {
-    textContent = Object(external_wp_richText_["getTextContent"])(Object(external_wp_richText_["slice"])(record, 0));
-  }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/LayoutGroupContext.js

-  Object(external_wp_element_["useEffect"])(() => {
-    if (!textContent) {
-      reset();
-      return;
-    }

-    const text = Object(external_lodash_["deburr"])(textContent);
-    const textAfterSelection = Object(external_wp_richText_["getTextContent"])(Object(external_wp_richText_["slice"])(record, undefined, Object(external_wp_richText_["getTextContent"])(record).length));
-    const completer = Object(external_lodash_["find"])(completers, _ref2 => {
-      let {
-        triggerPrefix,
-        allowContext
-      } = _ref2;
-      const index = text.lastIndexOf(triggerPrefix);
+/**
+ * @internal
+ */
+var LayoutGroupContext = (0,external_React_.createContext)(null);

-      if (index === -1) {
-        return false;
-      }

-      const textWithoutTrigger = text.slice(index + triggerPrefix.length);
-      const tooDistantFromTrigger = textWithoutTrigger.length > 50; // 50 chars seems to be a good limit.
-      // This is a final barrier to prevent the effect from completing with
-      // an extremely long string, which causes the editor to slow-down
-      // significantly. This could happen, for example, if `matchingWhileBackspacing`
-      // is true and one of the "words" end up being too long. If that's the case,
-      // it will be caught by this guard.

-      if (tooDistantFromTrigger) return false;
-      const mismatch = filteredOptions.length === 0;
-      const wordsFromTrigger = textWithoutTrigger.split(/\s/); // We need to allow the effect to run when not backspacing and if there
-      // was a mismatch. i.e when typing a trigger + the match string or when
-      // clicking in an existing trigger word on the page. We do that if we
-      // detect that we have one word from trigger in the current textual context.
-      //
-      // Ex.: "Some text @a" <-- "@a" will be detected as the trigger word and
-      // allow the effect to run. It will run until there's a mismatch.
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/is-browser.js
+var is_browser_isBrowser = typeof window !== "undefined";

-      const hasOneTriggerWord = wordsFromTrigger.length === 1; // This is used to allow the effect to run when backspacing and if
-      // "touching" a word that "belongs" to a trigger. We consider a "trigger
-      // word" any word up to the limit of 3 from the trigger character.
-      // Anything beyond that is ignored if there's a mismatch. This allows
-      // us to "escape" a mismatch when backspacing, but still imposing some
-      // sane limits.
-      //
-      // Ex: "Some text @marcelo sekkkk" <--- "kkkk" caused a mismatch, but
-      // if the user presses backspace here, it will show the completion popup again.

-      const matchingWhileBackspacing = backspacing && textWithoutTrigger.split(/\s/).length <= 3;

-      if (mismatch && !(matchingWhileBackspacing || hasOneTriggerWord)) {
-        return false;
-      }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js

-      if (allowContext && !allowContext(text.slice(0, index), textAfterSelection)) {
-        return false;
-      }

-      if (/^\s/.test(textWithoutTrigger) || /\s\s+$/.test(textWithoutTrigger)) {
-        return false;
-      }

-      return /[\u0000-\uFFFF]*$/.test(textWithoutTrigger);
-    });
+var useIsomorphicLayoutEffect = is_browser_isBrowser ? external_React_.useLayoutEffect : external_React_.useEffect;

-    if (!completer) {
-      reset();
-      return;
-    }

-    const safeTrigger = Object(external_lodash_["escapeRegExp"])(completer.triggerPrefix);
-    const match = text.slice(text.lastIndexOf(completer.triggerPrefix)).match(new RegExp(`${safeTrigger}([\u0000-\uFFFF]*)$`));
-    const query = match && match[1];
-    setAutocompleter(completer);
-    setAutocompleterUI(() => completer !== autocompleter ? getAutoCompleterUI(completer) : AutocompleterUI);
-    setFilterValue(query);
-  }, [textContent]);
-  const {
-    key: selectedKey = ''
-  } = filteredOptions[selectedIndex] || {};
-  const {
-    className
-  } = autocompleter || {};
-  const isExpanded = !!autocompleter && filteredOptions.length > 0;
-  const listBoxId = isExpanded ? `components-autocomplete-listbox-${instanceId}` : null;
-  const activeId = isExpanded ? `components-autocomplete-item-${instanceId}-${selectedKey}` : null;
-  const hasSelection = record.start !== undefined;
-  return {
-    listBoxId,
-    activeId,
-    onKeyDown: handleKeyDown,
-    popover: hasSelection && AutocompleterUI && Object(external_wp_element_["createElement"])(AutocompleterUI, {
-      className: className,
-      filterValue: filterValue,
-      instanceId: instanceId,
-      listBoxId: listBoxId,
-      selectedIndex: selectedIndex,
-      onChangeOptions: onChangeOptions,
-      onSelect: select,
-      value: record,
-      contentRef: contentRef,
-      reset: reset
-    })
-  };
-}

-function useAutocompleteProps(options) {
-  const ref = Object(external_wp_element_["useRef"])();
-  const onKeyDownRef = Object(external_wp_element_["useRef"])();
-  const {
-    popover,
-    listBoxId,
-    activeId,
-    onKeyDown
-  } = useAutocomplete({ ...options,
-    contentRef: ref
-  });
-  onKeyDownRef.current = onKeyDown;
-  return {
-    ref: Object(external_wp_compose_["useMergeRefs"])([ref, Object(external_wp_compose_["useRefEffect"])(element => {
-      function _onKeyDown(event) {
-        onKeyDownRef.current(event);
-      }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js

-      element.addEventListener('keydown', _onKeyDown);
-      return () => {
-        element.removeEventListener('keydown', _onKeyDown);
-      };
-    }, [])]),
-    children: popover,
-    'aria-autocomplete': listBoxId ? 'list' : undefined,
-    'aria-owns': listBoxId,
-    'aria-activedescendant': activeId
-  };
-}
-function Autocomplete(_ref3) {
-  let {
-    children,
-    isSelected,
-    ...options
-  } = _ref3;
-  const {
-    popover,
-    ...props
-  } = useAutocomplete(options);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, children(props), isSelected && popover);
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/font-values.js
-/* harmony default export */ var font_values = ({
-  'default.fontFamily': "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
-  'default.fontSize': '13px',
-  'helpText.fontSize': '12px',
-  mobileTextMinFontSize: '16px'
-});

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/font.js
-/**
- * External dependencies
- */

-/**
- * Internal dependencies
- */


-/**
- *
- * @param {keyof FONT} value Path of value from `FONT`
- * @return {string} Font rule value
- */

-function font(value) {
-  return Object(external_lodash_["get"])(font_values, value, '');
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/base-control/styles/base-control-styles.js


-/**
- * External dependencies
- */
+function useLayoutId(_a) {
+    var layoutId = _a.layoutId;
+    var layoutGroupId = (0,external_React_.useContext)(LayoutGroupContext);
+    return layoutGroupId && layoutId !== undefined
+        ? layoutGroupId + "-" + layoutId
+        : layoutId;
+}
+function useVisualElement(Component, visualState, props, createVisualElement) {
+    var config = (0,external_React_.useContext)(MotionConfigContext);
+    var lazyContext = (0,external_React_.useContext)(LazyContext);
+    var parent = useVisualElementContext();
+    var presenceContext = (0,external_React_.useContext)(PresenceContext_PresenceContext);
+    var layoutId = useLayoutId(props);
+    var visualElementRef = (0,external_React_.useRef)(undefined);
+    /**
+     * If we haven't preloaded a renderer, check to see if we have one lazy-loaded
+     */
+    if (!createVisualElement)
+        createVisualElement = lazyContext.renderer;
+    if (!visualElementRef.current && createVisualElement) {
+        visualElementRef.current = createVisualElement(Component, {
+            visualState: visualState,
+            parent: parent,
+            props: __assign(__assign({}, props), { layoutId: layoutId }),
+            presenceId: presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.id,
+            blockInitialAnimation: (presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.initial) === false,
+        });
+    }
+    var visualElement = visualElementRef.current;
+    useIsomorphicLayoutEffect(function () {
+        if (!visualElement)
+            return;
+        visualElement.setProps(__assign(__assign(__assign({}, config), props), { layoutId: layoutId }));
+        visualElement.isPresent = isPresent(presenceContext);
+        visualElement.isPresenceRoot =
+            !parent || parent.presenceId !== (presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.id);
+        /**
+         * Fire a render to ensure the latest state is reflected on-screen.
+         */
+        visualElement.syncRender();
+    });
+    (0,external_React_.useEffect)(function () {
+        var _a;
+        if (!visualElement)
+            return;
+        /**
+         * In a future refactor we can replace the features-as-components and
+         * have this loop through them all firing "effect" listeners
+         */
+        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.animateChanges();
+    });
+    useIsomorphicLayoutEffect(function () { return function () { return visualElement === null || visualElement === void 0 ? void 0 : visualElement.notifyUnmount(); }; }, []);
+    return visualElement;
+}

-/**
- * Internal dependencies
- */


-const base_control_styles_Wrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1puf3u3"
-} : undefined)("font-family:", font('default.fontFamily'), ";font-size:", font('default.fontSize'), ";" + ( true ? "" : undefined));
-const StyledField = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1puf3u2"
-} : undefined)("margin-bottom:", space(2), ";.components-panel__row &{margin-bottom:inherit;}" + ( true ? "" : undefined));
-const StyledLabel = Object(emotion_styled_base_browser_esm["a" /* default */])("label",  true ? {
-  target: "e1puf3u1"
-} : undefined)("display:inline-block;margin-bottom:", space(2), ";" + ( true ? "" : undefined));
-const StyledHelp = Object(emotion_styled_base_browser_esm["a" /* default */])("p",  true ? {
-  target: "e1puf3u0"
-} : undefined)("font-size:", font('helpText.fontSize'), ";font-style:normal;color:", COLORS.mediumGray.text, ";" + ( true ? "" : undefined));
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/is-ref-object.js
+function is_ref_object_isRefObject(ref) {
+    return (typeof ref === "object" &&
+        Object.prototype.hasOwnProperty.call(ref, "current"));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/base-control/index.js


-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js
+
+

 /**
- * Internal dependencies
+ * Creates a ref function that, when called, hydrates the provided
+ * external ref and VisualElement.
  */
+function useMotionRef(visualState, visualElement, externalRef) {
+    return (0,external_React_.useCallback)(function (instance) {
+        var _a;
+        instance && ((_a = visualState.mount) === null || _a === void 0 ? void 0 : _a.call(visualState, instance));
+        if (visualElement) {
+            instance
+                ? visualElement.mount(instance)
+                : visualElement.unmount();
+        }
+        if (externalRef) {
+            if (typeof externalRef === "function") {
+                externalRef(instance);
+            }
+            else if (is_ref_object_isRefObject(externalRef)) {
+                externalRef.current = instance;
+            }
+        }
+    },
+    /**
+     * Only pass a new ref callback to React if we've received a visual element
+     * factory. Otherwise we'll be mounting/remounting every time externalRef
+     * or other dependencies change.
+     */
+    [visualElement]);
+}



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/variants.js
 /**
- * @typedef Props
- * @property {string}                    [id]                  The id of the element to which labels and help text are being generated.
- *                                                             That element should be passed as a child.
- * @property {import('react').ReactNode} help                  If this property is added, a help text will be
- *                                                             generated using help property as the content.
- * @property {import('react').ReactNode} [label]               If this property is added, a label will be generated
- *                                                             using label property as the content.
- * @property {boolean}                   [hideLabelFromVision] If true, the label will only be visible to screen readers.
- * @property {string}                    [className]           The class that will be added with "components-base-control" to the
- *                                                             classes of the wrapper div. If no className is passed only
- *                                                             components-base-control is used.
- * @property {import('react').ReactNode} [children]            The content to be displayed within
- *                                                             the BaseControl.
+ * Decides if the supplied variable is an array of variant labels
  */
-
+function isVariantLabels(v) {
+    return Array.isArray(v);
+}
 /**
- * @param {Props} props
- * @return {JSX.Element} Element
+ * Decides if the supplied variable is variant label
  */
-
-function BaseControl(_ref) {
-  let {
-    id,
-    label,
-    hideLabelFromVision,
-    help,
-    className,
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(base_control_styles_Wrapper, {
-    className: classnames_default()('components-base-control', className)
-  }, Object(external_wp_element_["createElement"])(StyledField, {
-    className: "components-base-control__field"
-  }, label && id && (hideLabelFromVision ? Object(external_wp_element_["createElement"])(component["a" /* default */], {
-    as: "label",
-    htmlFor: id
-  }, label) : Object(external_wp_element_["createElement"])(StyledLabel, {
-    className: "components-base-control__label",
-    htmlFor: id
-  }, label)), label && !id && (hideLabelFromVision ? Object(external_wp_element_["createElement"])(component["a" /* default */], {
-    as: "label"
-  }, label) : Object(external_wp_element_["createElement"])(BaseControl.VisualLabel, null, label)), children), !!help && Object(external_wp_element_["createElement"])(StyledHelp, {
-    id: id ? id + '__help' : undefined,
-    className: "components-base-control__help"
-  }, help));
+function isVariantLabel(v) {
+    return typeof v === "string" || isVariantLabels(v);
 }
 /**
- * @typedef VisualLabelProps
- * @property {string}                    [className] Class name
- * @property {import('react').ReactNode} [children]  Children
+ * Creates an object containing the latest state of every MotionValue on a VisualElement
  */
-
+function getCurrent(visualElement) {
+    var current = {};
+    visualElement.forEachValue(function (value, key) { return (current[key] = value.get()); });
+    return current;
+}
 /**
- * @param {VisualLabelProps} Props
- * @return {JSX.Element} Element
+ * Creates an object containing the latest velocity of every MotionValue on a VisualElement
  */
+function getVelocity(visualElement) {
+    var velocity = {};
+    visualElement.forEachValue(function (value, key) { return (velocity[key] = value.getVelocity()); });
+    return velocity;
+}
+function resolveVariantFromProps(props, definition, custom, currentValues, currentVelocity) {
+    var _a;
+    if (currentValues === void 0) { currentValues = {}; }
+    if (currentVelocity === void 0) { currentVelocity = {}; }
+    if (typeof definition === "string") {
+        definition = (_a = props.variants) === null || _a === void 0 ? void 0 : _a[definition];
+    }
+    return typeof definition === "function"
+        ? definition(custom !== null && custom !== void 0 ? custom : props.custom, currentValues, currentVelocity)
+        : definition;
+}
+function resolveVariant(visualElement, definition, custom) {
+    var props = visualElement.getProps();
+    return resolveVariantFromProps(props, definition, custom !== null && custom !== void 0 ? custom : props.custom, getCurrent(visualElement), getVelocity(visualElement));
+}
+function checkIfControllingVariants(props) {
+    var _a;
+    return (typeof ((_a = props.animate) === null || _a === void 0 ? void 0 : _a.start) === "function" ||
+        isVariantLabel(props.initial) ||
+        isVariantLabel(props.animate) ||
+        isVariantLabel(props.whileHover) ||
+        isVariantLabel(props.whileDrag) ||
+        isVariantLabel(props.whileTap) ||
+        isVariantLabel(props.whileFocus) ||
+        isVariantLabel(props.exit));
+}
+function checkIfVariantNode(props) {
+    return Boolean(checkIfControllingVariants(props) || props.variants);
+}


-BaseControl.VisualLabel = _ref2 => {
-  let {
-    className,
-    children
-  } = _ref2;
-  className = classnames_default()('components-base-control__label', className);
-  return Object(external_wp_element_["createElement"])("span", {
-    className: className
-  }, children);
-};

-/* harmony default export */ var base_control = (BaseControl);
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/MotionContext/utils.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/number-control/styles/number-control-styles.js

+function getCurrentTreeVariants(props, context) {
+    if (checkIfControllingVariants(props)) {
+        var initial = props.initial, animate = props.animate;
+        return {
+            initial: initial === false || isVariantLabel(initial)
+                ? initial
+                : undefined,
+            animate: isVariantLabel(animate) ? animate : undefined,
+        };
+    }
+    return props.inherit !== false ? context : {};
+}

-function number_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-// @ts-nocheck

-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/MotionContext/create.js


-/**
- * Internal dependencies
- */


-var number_control_styles_ref =  true ? {
-  name: "euqsgg",
-  styles: "input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"
-} : undefined;
+function useCreateMotionContext(props, isStatic) {
+    var _a = getCurrentTreeVariants(props, (0,external_React_.useContext)(MotionContext)), initial = _a.initial, animate = _a.animate;
+    return (0,external_React_.useMemo)(function () { return ({ initial: initial, animate: animate }); },
+    /**
+     * Only break memoisation in static mode
+     */
+    isStatic
+        ? [
+            variantLabelsAsDependency(initial),
+            variantLabelsAsDependency(animate),
+        ]
+        : []);
+}
+function variantLabelsAsDependency(prop) {
+    return Array.isArray(prop) ? prop.join(" ") : prop;
+}
+
+
+
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/index.js
+
+

-const htmlArrowStyles = _ref2 => {
-  let {
-    hideHTMLArrows
-  } = _ref2;
-  if (!hideHTMLArrows) return ``;
-  return number_control_styles_ref;
-};

-const number_control_styles_Input = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(input_control,  true ? {
-  target: "ep48uk90"
-} : undefined)(htmlArrowStyles, ";" + ( true ? "" : undefined));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/math.js
-/**
- * External dependencies
- */

-/**
- * Parses and retrieves a number value.
- *
- * @param {unknown} value The incoming value.
- *
- * @return {number} The parsed number value.
- */

-function getNumber(value) {
-  const number = Number(value);
-  return isNaN(number) ? 0 : number;
-}
-/**
- * Safely adds 2 values.
- *
- * @param {Array<number|string>} args Values to add together.
- *
- * @return {number} The sum of values.
- */

-function add() {
-  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-    args[_key] = arguments[_key];
-  }

-  return args.reduce(
-  /** @type {(sum:number, arg: number|string) => number} */
-  (sum, arg) => sum + getNumber(arg), 0);
-}
-/**
- * Safely subtracts 2 values.
- *
- * @param {Array<number|string>} args Values to subtract together.
- *
- * @return {number} The difference of the values.
- */

-function subtract() {
-  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-    args[_key2] = arguments[_key2];
-  }

-  return args.reduce(
-  /** @type {(diff:number, arg: number|string, index:number) => number} */
-  (diff, arg, index) => {
-    const value = getNumber(arg);
-    return index === 0 ? value : diff - value;
-  }, 0);
-}
 /**
- * Determines the decimal position of a number value.
+ * Create a `motion` component.
  *
- * @param {number} value The number to evaluate.
+ * This function accepts a Component argument, which can be either a string (ie "div"
+ * for `motion.div`), or an actual React component.
  *
- * @return {number} The number of decimal places.
+ * Alongside this is a config option which provides a way of rendering the provided
+ * component "offline", or outside the React render cycle.
+ *
+ * @internal
  */
-
-function getPrecision(value) {
-  const split = (value + '').split('.');
-  return split[1] !== undefined ? split[1].length : 0;
+function motion_createMotionComponent(_a) {
+    var preloadedFeatures = _a.preloadedFeatures, createVisualElement = _a.createVisualElement, useRender = _a.useRender, useVisualState = _a.useVisualState, Component = _a.Component;
+    preloadedFeatures && loadFeatures(preloadedFeatures);
+    function MotionComponent(props, externalRef) {
+        /**
+         * If we're rendering in a static environment, we only visually update the component
+         * as a result of a React-rerender rather than interactions or animations. This
+         * means we don't need to load additional memory structures like VisualElement,
+         * or any gesture/animation features.
+         */
+        var isStatic = (0,external_React_.useContext)(MotionConfigContext).isStatic;
+        var features = null;
+        /**
+         * Create the tree context. This is memoized and will only trigger renders
+         * when the current tree variant changes in static mode.
+         */
+        var context = useCreateMotionContext(props, isStatic);
+        /**
+         *
+         */
+        var visualState = useVisualState(props, isStatic);
+        if (!isStatic && is_browser_isBrowser) {
+            /**
+             * Create a VisualElement for this component. A VisualElement provides a common
+             * interface to renderer-specific APIs (ie DOM/Three.js etc) as well as
+             * providing a way of rendering to these APIs outside of the React render loop
+             * for more performant animations and interactions
+             */
+            context.visualElement = useVisualElement(Component, visualState, props, createVisualElement);
+            /**
+             * Load Motion gesture and animation features. These are rendered as renderless
+             * components so each feature can optionally make use of React lifecycle methods.
+             *
+             * TODO: The intention is to move these away from a React-centric to a
+             * VisualElement-centric lifecycle scheme.
+             */
+            features = useFeatures(props, context.visualElement, preloadedFeatures);
+        }
+        /**
+         * The mount order and hierarchy is specific to ensure our element ref
+         * is hydrated by the time features fire their effects.
+         */
+        return (external_React_.createElement(external_React_.Fragment, null,
+            external_React_.createElement(MotionContext.Provider, { value: context }, useRender(Component, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic)),
+            features));
+    }
+    return (0,external_React_.forwardRef)(MotionComponent);
 }
+
+
+
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/motion-proxy.js
+
+
 /**
- * Clamps a value based on a min/max range with rounding
+ * Convert any React component into a `motion` component. The provided component
+ * **must** use `React.forwardRef` to the underlying DOM component you want to animate.
  *
- * @param {number} value The value.
- * @param {number} min   The minimum range.
- * @param {number} max   The maximum range.
- * @param {number} step  A multiplier for the value.
+ * ```jsx
+ * const Component = React.forwardRef((props, ref) => {
+ *   return <div ref={ref} />
+ * })
  *
- * @return {number} The rounded and clamped value.
+ * const MotionComponent = motion(Component)
+ * ```
+ *
+ * @public
  */
+function createMotionProxy(createConfig) {
+    function custom(Component, customMotionComponentConfig) {
+        if (customMotionComponentConfig === void 0) { customMotionComponentConfig = {}; }
+        return motion_createMotionComponent(createConfig(Component, customMotionComponentConfig));
+    }
+    /**
+     * A cache of generated `motion` components, e.g `motion.div`, `motion.input` etc.
+     * Rather than generating them anew every render.
+     */
+    var componentCache = new Map();
+    return new Proxy(custom, {
+        /**
+         * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
+         * The prop name is passed through as `key` and we can use that to generate a `motion`
+         * DOM component with that name.
+         */
+        get: function (_target, key) {
+            /**
+             * If this element doesn't exist in the component cache, create it and cache.
+             */
+            if (!componentCache.has(key)) {
+                componentCache.set(key, custom(key));
+            }
+            return componentCache.get(key);
+        },
+    });
+}


-function roundClamp() {
-  let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
-  let min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Infinity;
-  let max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Infinity;
-  let step = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
-  const baseValue = getNumber(value);
-  const stepValue = getNumber(step);
-  const precision = getPrecision(step);
-  const rounded = Math.round(baseValue / stepValue) * stepValue;
-  const clampedValue = Object(external_lodash_["clamp"])(rounded, min, max);
-  return precision ? getNumber(clampedValue.toFixed(precision)) : clampedValue;
-}
+
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js
 /**
- * Clamps a value based on a min/max range with rounding.
- * Returns a string.
- *
- * @param {Parameters<typeof roundClamp>} args Arguments for roundClamp().
- * @return {string} The rounded and clamped value.
+ * We keep these listed seperately as we use the lowercase tag names as part
+ * of the runtime bundle to detect SVG components
  */
+var lowercaseSVGElements = [
+    "animate",
+    "circle",
+    "defs",
+    "desc",
+    "ellipse",
+    "g",
+    "image",
+    "line",
+    "filter",
+    "marker",
+    "mask",
+    "metadata",
+    "path",
+    "pattern",
+    "polygon",
+    "polyline",
+    "rect",
+    "stop",
+    "svg",
+    "switch",
+    "symbol",
+    "text",
+    "tspan",
+    "use",
+    "view",
+];

-function roundClampString() {
-  return roundClamp(...arguments).toString();
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/number-control/index.js

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js

-// @ts-nocheck

-/**
- * External dependencies
- */
+function isSVGComponent(Component) {
+    if (
+    /**
+     * If it's not a string, it's a custom React component. Currently we only support
+     * HTML custom React components.
+     */
+    typeof Component !== "string" ||
+        /**
+         * If it contains a dash, the element is a custom HTML webcomponent.
+         */
+        Component.includes("-")) {
+        return false;
+    }
+    else if (
+    /**
+     * If it's in our list of lowercase SVG tags, it's an SVG component
+     */
+    lowercaseSVGElements.indexOf(Component) > -1 ||
+        /**
+         * If it contains a capital letter, it's an SVG component
+         */
+        /[A-Z]/.test(Component)) {
+        return true;
+    }
+    return false;
+}
+

+
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/scale-correction.js
+var valueScaleCorrection = {};
 /**
- * WordPress dependencies
+ * @internal
  */
+function addScaleCorrection(correctors) {
+    for (var key in correctors) {
+        valueScaleCorrection[key] = correctors[key];
+    }
+}



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/transform.js
 /**
- * Internal dependencies
+ * A list of all transformable axes. We'll use this list to generated a version
+ * of each axes for each transform.
+ */
+var transformAxes = ["", "X", "Y", "Z"];
+/**
+ * An ordered array of each transformable value. By default, transform values
+ * will be sorted to this order.
+ */
+var order = ["translate", "scale", "rotate", "skew"];
+/**
+ * Generate a list of every possible transform key.
+ */
+var transformProps = ["transformPerspective", "x", "y", "z"];
+order.forEach(function (operationKey) {
+    return transformAxes.forEach(function (axesKey) {
+        return transformProps.push(operationKey + axesKey);
+    });
+});
+/**
+ * A function to use with Array.sort to sort transform keys by their default order.
+ */
+function sortTransformProps(a, b) {
+    return transformProps.indexOf(a) - transformProps.indexOf(b);
+}
+/**
+ * A quick lookup for transform props.
+ */
+var transformPropSet = new Set(transformProps);
+function isTransformProp(key) {
+    return transformPropSet.has(key);
+}
+/**
+ * A quick lookup for transform origin props
  */
+var transformOriginProps = new Set(["originX", "originY", "originZ"]);
+function isTransformOriginProp(key) {
+    return transformOriginProps.has(key);
+}



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.js



-function NumberControl(_ref, ref) {
-  let {
-    __unstableStateReducer: stateReducer = state => state,
-    className,
-    dragDirection = 'n',
-    hideHTMLArrows = false,
-    isDragEnabled = true,
-    isShiftStepEnabled = true,
-    label,
-    max = Infinity,
-    min = -Infinity,
-    required = false,
-    shiftStep = 10,
-    step = 1,
-    type: typeProp = 'number',
-    value: valueProp,
-    ...props
-  } = _ref;
-  const isStepAny = step === 'any';
-  const baseStep = isStepAny ? 1 : parseFloat(step);
-  const baseValue = roundClamp(0, min, max, baseStep);
+function isForcedMotionValue(key, _a) {
+    var layout = _a.layout, layoutId = _a.layoutId;
+    return (isTransformProp(key) ||
+        isTransformOriginProp(key) ||
+        ((layout || layoutId !== undefined) &&
+            (!!valueScaleCorrection[key] || key === "opacity")));
+}

-  const constrainValue = (value, stepOverride) => {
-    // When step is "any" clamp the value, otherwise round and clamp it
-    return isStepAny ? Math.min(max, Math.max(min, value)) : roundClamp(value, min, max, stepOverride !== null && stepOverride !== void 0 ? stepOverride : baseStep);
-  };

-  const autoComplete = typeProp === 'number' ? 'off' : null;
-  const classes = classnames_default()('components-number-control', className);
-  /**
-   * "Middleware" function that intercepts updates from InputControl.
-   * This allows us to tap into actions to transform the (next) state for
-   * InputControl.
-   *
-   * @param {Object} state  State from InputControl
-   * @param {Object} action Action triggering state change
-   * @return {Object} The updated state to apply to InputControl
-   */

-  const numberControlStateReducer = (state, action) => {
-    const {
-      type,
-      payload
-    } = action;
-    const event = payload === null || payload === void 0 ? void 0 : payload.event;
-    const currentValue = state.value;
-    /**
-     * Handles custom UP and DOWN Keyboard events
-     */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/value/utils/is-motion-value.js
+var isMotionValue = function (value) {
+    return value !== null && typeof value === "object" && value.getVelocity;
+};

-    if (type === PRESS_UP || type === PRESS_DOWN) {
-      const enableShift = event.shiftKey && isShiftStepEnabled;
-      const incrementalValue = enableShift ? parseFloat(shiftStep) * baseStep : baseStep;
-      let nextValue = isValueEmpty(currentValue) ? baseValue : currentValue;

-      if (event !== null && event !== void 0 && event.preventDefault) {
-        event.preventDefault();
-      }

-      if (type === PRESS_UP) {
-        nextValue = add(nextValue, incrementalValue);
-      }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/build-transform.js

-      if (type === PRESS_DOWN) {
-        nextValue = subtract(nextValue, incrementalValue);
-      }

-      state.value = constrainValue(nextValue, enableShift ? incrementalValue : null);
+var translateAlias = {
+    x: "translateX",
+    y: "translateY",
+    z: "translateZ",
+    transformPerspective: "perspective",
+};
+/**
+ * Build a CSS transform style from individual x/y/scale etc properties.
+ *
+ * This outputs with a default order of transforms/scales/rotations, this can be customised by
+ * providing a transformTemplate function.
+ */
+function buildTransform(_a, _b, transformIsDefault, transformTemplate) {
+    var transform = _a.transform, transformKeys = _a.transformKeys;
+    var _c = _b.enableHardwareAcceleration, enableHardwareAcceleration = _c === void 0 ? true : _c, _d = _b.allowTransformNone, allowTransformNone = _d === void 0 ? true : _d;
+    // The transform string we're going to build into.
+    var transformString = "";
+    // Transform keys into their default order - this will determine the output order.
+    transformKeys.sort(sortTransformProps);
+    // Track whether the defined transform has a defined z so we don't add a
+    // second to enable hardware acceleration
+    var transformHasZ = false;
+    // Loop over each transform and build them into transformString
+    var numTransformKeys = transformKeys.length;
+    for (var i = 0; i < numTransformKeys; i++) {
+        var key = transformKeys[i];
+        transformString += (translateAlias[key] || key) + "(" + transform[key] + ") ";
+        if (key === "z")
+            transformHasZ = true;
     }
-    /**
-     * Handles drag to update events
-     */
+    if (!transformHasZ && enableHardwareAcceleration) {
+        transformString += "translateZ(0)";
+    }
+    else {
+        transformString = transformString.trim();
+    }
+    // If we have a custom `transform` template, pass our transform values and
+    // generated transformString to that before returning
+    if (transformTemplate) {
+        transformString = transformTemplate(transform, transformIsDefault ? "" : transformString);
+    }
+    else if (allowTransformNone && transformIsDefault) {
+        transformString = "none";
+    }
+    return transformString;
+}
+/**
+ * Build a transformOrigin style. Uses the same defaults as the browser for
+ * undefined origins.
+ */
+function buildTransformOrigin(_a) {
+    var _b = _a.originX, originX = _b === void 0 ? "50%" : _b, _c = _a.originY, originY = _c === void 0 ? "50%" : _c, _d = _a.originZ, originZ = _d === void 0 ? 0 : _d;
+    return originX + " " + originY + " " + originZ;
+}


-    if (type === DRAG && isDragEnabled) {
-      const [x, y] = payload.delta;
-      const enableShift = payload.shiftKey && isShiftStepEnabled;
-      const modifier = enableShift ? parseFloat(shiftStep) * baseStep : baseStep;
-      let directionModifier;
-      let delta;

-      switch (dragDirection) {
-        case 'n':
-          delta = y;
-          directionModifier = -1;
-          break;
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.js
+/**
+ * Returns true if the provided key is a CSS variable
+ */
+function isCSSVariable(key) {
+    return key.startsWith("--");
+}

-        case 'e':
-          delta = x;
-          directionModifier = Object(external_wp_i18n_["isRTL"])() ? -1 : 1;
-          break;

-        case 's':
-          delta = y;
-          directionModifier = 1;
-          break;

-        case 'w':
-          delta = x;
-          directionModifier = Object(external_wp_i18n_["isRTL"])() ? 1 : -1;
-          break;
-      }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.js
+/**
+ * Provided a value and a ValueType, returns the value as that value type.
+ */
+var getValueAsType = function (value, type) {
+    return type && typeof value === "number"
+        ? type.transform(value)
+        : value;
+};

-      if (delta !== 0) {
-        delta = Math.ceil(Math.abs(delta)) * Math.sign(delta);
-        const distance = delta * modifier * directionModifier;
-        state.value = constrainValue(add(currentValue, distance), enableShift ? modifier : null);
-      }
-    }
-    /**
-     * Handles commit (ENTER key press or on blur if isPressEnterToChange)
-     */


-    if (type === PRESS_ENTER || type === COMMIT) {
-      const applyEmptyValue = required === false && currentValue === '';
-      state.value = applyEmptyValue ? currentValue : constrainValue(currentValue);
-    }
+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/utils.js
+var clamp = function (min, max) { return function (v) {
+    return Math.max(Math.min(v, max), min);
+}; };
+var sanitize = function (v) { return (v % 1 ? Number(v.toFixed(5)) : v); };
+var floatRegex = /(-)?([\d]*\.?[\d])+/g;
+var colorRegex = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi;
+var singleColorRegex = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;
+function isString(v) {
+    return typeof v === 'string';
+}

-    return state;
-  };

-  return Object(external_wp_element_["createElement"])(number_control_styles_Input, Object(esm_extends["a" /* default */])({
-    autoComplete: autoComplete,
-    inputMode: "numeric"
-  }, props, {
-    className: classes,
-    dragDirection: dragDirection,
-    hideHTMLArrows: hideHTMLArrows,
-    isDragEnabled: isDragEnabled,
-    label: label,
-    max: max,
-    min: min,
-    ref: ref,
-    required: required,
-    step: step,
-    type: typeProp,
-    value: valueProp,
-    __unstableStateReducer: composeStateReducers(numberControlStateReducer, stateReducer)
-  }));
-}
-/* harmony default export */ var number_control = (Object(external_wp_element_["forwardRef"])(NumberControl));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/unit-control/styles/unit-control-styles.js
+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/numbers/units.js


-function unit_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/**
- * External dependencies
- */
+var createUnitType = function (unit) { return ({
+    test: function (v) {
+        return isString(v) && v.endsWith(unit) && v.split(' ').length === 1;
+    },
+    parse: parseFloat,
+    transform: function (v) { return "" + v + unit; },
+}); };
+var degrees = createUnitType('deg');
+var percent = createUnitType('%');
+var px = createUnitType('px');
+var vh = createUnitType('vh');
+var vw = createUnitType('vw');
+var progressPercentage = __assign(__assign({}, percent), { parse: function (v) { return percent.parse(v) / 100; }, transform: function (v) { return percent.transform(v * 100); } });


-/**
- * Internal dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/numbers/index.js

-const unit_control_styles_Root = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1bagdl33"
-} : undefined)( true ? {
-  name: "100d0a9",
-  styles: "box-sizing:border-box;position:relative"
-} : undefined);

-const paddingStyles = _ref2 => {
-  let {
-    disableUnits
-  } = _ref2;
-  const value = disableUnits ? 3 : 24;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(rtl_rtl({
-    paddingRight: value
-  })(), ";" + ( true ? "" : undefined),  true ? "" : undefined);
+
+var number = {
+    test: function (v) { return typeof v === 'number'; },
+    parse: parseFloat,
+    transform: function (v) { return v; },
 };
+var alpha = __assign(__assign({}, number), { transform: clamp(0, 1) });
+var scale = __assign(__assign({}, number), { default: 1 });

-var unit_control_styles_ref =  true ? {
-  name: "1y65o8",
-  styles: "&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"
-} : undefined;

-const unit_control_styles_arrowStyles = _ref3 => {
-  let {
-    disableUnits
-  } = _ref3;
-  if (disableUnits) return '';
-  return unit_control_styles_ref;
-}; // TODO: Resolve need to use &&& to increase specificity
-// https://github.com/WordPress/gutenberg/issues/18483

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/type-int.js

-const ValueInput = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(number_control,  true ? {
-  target: "e1bagdl32"
-} : undefined)("&&&{input{appearance:none;-moz-appearance:textfield;display:block;width:100%;", unit_control_styles_arrowStyles, ";", paddingStyles, ";}}" + ( true ? "" : undefined));

-const unitSizeStyles = _ref4 => {
-  let {
-    selectSize
-  } = _ref4;
-  const sizes = {
-    default: {
-      height: 28,
-      lineHeight: '24px',
-      minHeight: 28,
-      top: 1
-    },
-    small: {
-      height: 22,
-      lineHeight: '18px',
-      minHeight: 22,
-      top: 1
-    }
-  };
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(sizes[selectSize],  true ? "" : undefined,  true ? "" : undefined);
-};

-const baseUnitLabelStyles = props => {
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("appearance:none;background:transparent;border-radius:2px;border:none;box-sizing:border-box;color:", COLORS.darkGray[500], ";display:block;font-size:8px;line-height:1;letter-spacing:-0.5px;outline:none;padding:2px 1px;position:absolute;text-align-last:center;text-transform:uppercase;width:20px;", rtl_rtl({
-    borderTopLeftRadius: 0,
-    borderBottomLeftRadius: 0
-  })(), " ", rtl_rtl({
-    right: 0
-  })(), " ", unitSizeStyles(props), ";" + ( true ? "" : undefined),  true ? "" : undefined);
-};
+var type_int_int = __assign(__assign({}, number), { transform: Math.round });

-const UnitLabel = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1bagdl31"
-} : undefined)("&&&{pointer-events:none;", baseUnitLabelStyles, ";}" + ( true ? "" : undefined));
-const UnitSelect = Object(emotion_styled_base_browser_esm["a" /* default */])("select",  true ? {
-  target: "e1bagdl30"
-} : undefined)("&&&{", baseUnitLabelStyles, ";cursor:pointer;border:1px solid transparent;&:hover{background-color:", COLORS.lightGray[300], ";}&:focus{border-color:", COLORS.ui.borderFocus, ";outline:2px solid transparent;outline-offset:0;}&:disabled{cursor:initial;&:hover{background-color:transparent;}}}" + ( true ? "" : undefined));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/unit-control/utils.js
-/**
- * WordPress dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/number.js

-/**
- * Internal dependencies
- */

-const isWeb = external_wp_element_["Platform"].OS === 'web';
-const utils_allUnits = {
-  px: {
-    value: 'px',
-    label: isWeb ? 'px' : Object(external_wp_i18n_["__"])('Pixels (px)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Pixels (px)'),
-    step: 1
-  },
-  '%': {
-    value: '%',
-    label: isWeb ? '%' : Object(external_wp_i18n_["__"])('Percentage (%)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Percent (%)'),
-    step: 0.1
-  },
-  em: {
-    value: 'em',
-    label: isWeb ? 'em' : Object(external_wp_i18n_["__"])('Relative to parent font size (em)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["_x"])('ems', 'Relative to parent font size (em)'),
-    step: 0.01
-  },
-  rem: {
-    value: 'rem',
-    label: isWeb ? 'rem' : Object(external_wp_i18n_["__"])('Relative to root font size (rem)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["_x"])('rems', 'Relative to root font size (rem)'),
-    step: 0.01
-  },
-  vw: {
-    value: 'vw',
-    label: isWeb ? 'vw' : Object(external_wp_i18n_["__"])('Viewport width (vw)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Viewport width (vw)'),
-    step: 0.1
-  },
-  vh: {
-    value: 'vh',
-    label: isWeb ? 'vh' : Object(external_wp_i18n_["__"])('Viewport height (vh)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Viewport height (vh)'),
-    step: 0.1
-  },
-  vmin: {
-    value: 'vmin',
-    label: isWeb ? 'vmin' : Object(external_wp_i18n_["__"])('Viewport smallest dimension (vmin)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Viewport smallest dimension (vmin)'),
-    step: 0.1
-  },
-  vmax: {
-    value: 'vmax',
-    label: isWeb ? 'vmax' : Object(external_wp_i18n_["__"])('Viewport largest dimension (vmax)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Viewport largest dimension (vmax)'),
-    step: 0.1
-  },
-  ch: {
-    value: 'ch',
-    label: isWeb ? 'ch' : Object(external_wp_i18n_["__"])('Width of the zero (0) character (ch)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Width of the zero (0) character (ch)'),
-    step: 0.01
-  },
-  ex: {
-    value: 'ex',
-    label: isWeb ? 'ex' : Object(external_wp_i18n_["__"])('x-height of the font (ex)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('x-height of the font (ex)'),
-    step: 0.01
-  },
-  cm: {
-    value: 'cm',
-    label: isWeb ? 'cm' : Object(external_wp_i18n_["__"])('Centimeters (cm)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Centimeters (cm)'),
-    step: 0.001
-  },
-  mm: {
-    value: 'mm',
-    label: isWeb ? 'mm' : Object(external_wp_i18n_["__"])('Millimeters (mm)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Millimeters (mm)'),
-    step: 0.1
-  },
-  in: {
-    value: 'in',
-    label: isWeb ? 'in' : Object(external_wp_i18n_["__"])('Inches (in)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Inches (in)'),
-    step: 0.001
-  },
-  pc: {
-    value: 'pc',
-    label: isWeb ? 'pc' : Object(external_wp_i18n_["__"])('Picas (pc)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Picas (pc)'),
-    step: 1
-  },
-  pt: {
-    value: 'pt',
-    label: isWeb ? 'pt' : Object(external_wp_i18n_["__"])('Points (pt)'),
-    default: '',
-    a11yLabel: Object(external_wp_i18n_["__"])('Points (pt)'),
-    step: 1
-  }
+
+var numberValueTypes = {
+    // Border props
+    borderWidth: px,
+    borderTopWidth: px,
+    borderRightWidth: px,
+    borderBottomWidth: px,
+    borderLeftWidth: px,
+    borderRadius: px,
+    radius: px,
+    borderTopLeftRadius: px,
+    borderTopRightRadius: px,
+    borderBottomRightRadius: px,
+    borderBottomLeftRadius: px,
+    // Positioning props
+    width: px,
+    maxWidth: px,
+    height: px,
+    maxHeight: px,
+    size: px,
+    top: px,
+    right: px,
+    bottom: px,
+    left: px,
+    // Spacing props
+    padding: px,
+    paddingTop: px,
+    paddingRight: px,
+    paddingBottom: px,
+    paddingLeft: px,
+    margin: px,
+    marginTop: px,
+    marginRight: px,
+    marginBottom: px,
+    marginLeft: px,
+    // Transform props
+    rotate: degrees,
+    rotateX: degrees,
+    rotateY: degrees,
+    rotateZ: degrees,
+    scale: scale,
+    scaleX: scale,
+    scaleY: scale,
+    scaleZ: scale,
+    skew: degrees,
+    skewX: degrees,
+    skewY: degrees,
+    distance: px,
+    translateX: px,
+    translateY: px,
+    translateZ: px,
+    x: px,
+    y: px,
+    z: px,
+    perspective: px,
+    transformPerspective: px,
+    opacity: alpha,
+    originX: progressPercentage,
+    originY: progressPercentage,
+    originZ: px,
+    // Misc
+    zIndex: type_int_int,
+    // SVG
+    fillOpacity: alpha,
+    strokeOpacity: alpha,
+    numOctaves: type_int_int,
 };
-/**
- * An array of all available CSS length units.
- */

-const ALL_CSS_UNITS = Object.values(utils_allUnits);
-/**
- * Units of measurements. `a11yLabel` is used by screenreaders.
- */

-const CSS_UNITS = [utils_allUnits.px, utils_allUnits['%'], utils_allUnits.em, utils_allUnits.rem, utils_allUnits.vw, utils_allUnits.vh];
-const DEFAULT_UNIT = utils_allUnits.px;
-/**
- * Handles legacy value + unit handling.
- * This component use to manage both incoming value and units separately.
- *
- * Moving forward, ideally the value should be a string that contains both
- * the value and unit, example: '10px'
- *
- * @param  value Value
- * @param  unit  Unit value
- * @param  units Units to derive from.
- * @return The extracted number and unit.
- */

-function getParsedValue(value, unit, units) {
-  const initialValue = unit ? `${value}${unit}` : value;
-  return parseUnit(initialValue, units);
-}
-/**
- * Checks if units are defined.
- *
- * @param  units Units to check.
- * @return Whether units are defined.
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/build-styles.js

-function utils_hasUnits(units) {
-  return Array.isArray(units) && !!units.length;
-}
-/**
- * Parses a number and unit from a value.
- *
- * @param  initialValue Value to parse
- * @param  units        Units to derive from.
- * @return The extracted number and unit.
- */

-function parseUnit(initialValue) {
-  let units = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ALL_CSS_UNITS;
-  const value = String(initialValue).trim();
-  let num = parseFloat(value);
-  num = isNaN(num) ? '' : num;
-  const unitMatch = value.match(/[\d.\-\+]*\s*(.*)/);
-  let unit = (unitMatch === null || unitMatch === void 0 ? void 0 : unitMatch[1]) !== undefined ? unitMatch[1] : '';
-  unit = unit.toLowerCase();

-  if (utils_hasUnits(units) && units !== false) {
-    const match = units.find(item => item.value === unit);
-    unit = match === null || match === void 0 ? void 0 : match.value;
-  } else {
-    unit = DEFAULT_UNIT.value;
-  }

-  return [num, unit];
-}
-/**
- * Parses a number and unit from a value. Validates parsed value, using fallback
- * value if invalid.
- *
- * @param  next          The next value.
- * @param  units         Units to derive from.
- * @param  fallbackValue The fallback value.
- * @param  fallbackUnit  The fallback value.
- * @return The extracted value and unit.
- */

-function getValidParsedUnit(next, units, fallbackValue, fallbackUnit) {
-  const [parsedValue, parsedUnit] = parseUnit(next, units);
-  let baseValue = parsedValue;
-  let baseUnit; // The parsed value from `parseUnit` should now be either a
-  // real number or an empty string. If not, use the fallback value.

-  if (!Number.isFinite(parsedValue) || parsedValue === '') {
-    baseValue = fallbackValue;
-  }

-  baseUnit = parsedUnit || fallbackUnit;
-  /**
-   * If no unit is found, attempt to use the first value from the collection
-   * of units as a default fallback.
-   */
+function buildHTMLStyles(state, latestValues, projection, layoutState, options, transformTemplate, buildProjectionTransform, buildProjectionTransformOrigin) {
+    var _a;
+    var style = state.style, vars = state.vars, transform = state.transform, transformKeys = state.transformKeys, transformOrigin = state.transformOrigin;
+    // Empty the transformKeys array. As we're throwing out refs to its items
+    // this might not be as cheap as suspected. Maybe using the array as a buffer
+    // with a manual incrementation would be better.
+    transformKeys.length = 0;
+    // Track whether we encounter any transform or transformOrigin values.
+    var hasTransform = false;
+    var hasTransformOrigin = false;
+    // Does the calculated transform essentially equal "none"?
+    var transformIsNone = true;
+    /**
+     * Loop over all our latest animated values and decide whether to handle them
+     * as a style or CSS variable.
+     *
+     * Transforms and transform origins are kept seperately for further processing.
+     */
+    for (var key in latestValues) {
+        var value = latestValues[key];
+        /**
+         * If this is a CSS variable we don't do any further processing.
+         */
+        if (isCSSVariable(key)) {
+            vars[key] = value;
+            continue;
+        }
+        // Convert the value to its default value type, ie 0 -> "0px"
+        var valueType = numberValueTypes[key];
+        var valueAsType = getValueAsType(value, valueType);
+        if (isTransformProp(key)) {
+            // If this is a transform, flag to enable further transform processing
+            hasTransform = true;
+            transform[key] = valueAsType;
+            transformKeys.push(key);
+            // If we already know we have a non-default transform, early return
+            if (!transformIsNone)
+                continue;
+            // Otherwise check to see if this is a default transform
+            if (value !== ((_a = valueType.default) !== null && _a !== void 0 ? _a : 0))
+                transformIsNone = false;
+        }
+        else if (isTransformOriginProp(key)) {
+            transformOrigin[key] = valueAsType;
+            // If this is a transform origin, flag and enable further transform-origin processing
+            hasTransformOrigin = true;
+        }
+        else {
+            /**
+             * If layout projection is on, and we need to perform scale correction for this
+             * value type, perform it.
+             */
+            if ((projection === null || projection === void 0 ? void 0 : projection.isHydrated) &&
+                (layoutState === null || layoutState === void 0 ? void 0 : layoutState.isHydrated) &&
+                valueScaleCorrection[key]) {
+                var correctedValue = valueScaleCorrection[key].process(value, layoutState, projection);
+                /**
+                 * Scale-correctable values can define a number of other values to break
+                 * down into. For instance borderRadius needs applying to borderBottomLeftRadius etc
+                 */
+                var applyTo = valueScaleCorrection[key].applyTo;
+                if (applyTo) {
+                    var num = applyTo.length;
+                    for (var i = 0; i < num; i++) {
+                        style[applyTo[i]] = correctedValue;
+                    }
+                }
+                else {
+                    style[key] = correctedValue;
+                }
+            }
+            else {
+                style[key] = valueAsType;
+            }
+        }
+    }
+    if (layoutState &&
+        projection &&
+        buildProjectionTransform &&
+        buildProjectionTransformOrigin) {
+        style.transform = buildProjectionTransform(layoutState.deltaFinal, layoutState.treeScale, hasTransform ? transform : undefined);
+        if (transformTemplate) {
+            style.transform = transformTemplate(transform, style.transform);
+        }
+        style.transformOrigin = buildProjectionTransformOrigin(layoutState);
+    }
+    else {
+        if (hasTransform) {
+            style.transform = buildTransform(state, options, transformIsNone, transformTemplate);
+        }
+        if (hasTransformOrigin) {
+            style.transformOrigin = buildTransformOrigin(transformOrigin);
+        }
+    }
+}

-  if (Array.isArray(units) && utils_hasUnits(units) && !baseUnit) {
-    var _units$;

-    baseUnit = (_units$ = units[0]) === null || _units$ === void 0 ? void 0 : _units$.value;
-  }

-  return [baseValue, baseUnit];
-}
-/**
- * Takes a unit value and finds the matching accessibility label for the
- * unit abbreviation.
- *
- * @param  unit Unit value (example: px)
- * @return a11y label for the unit abbreviation
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js
+var createHtmlRenderState = function () { return ({
+    style: {},
+    transform: {},
+    transformKeys: [],
+    transformOrigin: {},
+    vars: {},
+}); };

-function parseA11yLabelForUnit(unit) {
-  const match = ALL_CSS_UNITS.find(item => item.value === unit);
-  return match !== null && match !== void 0 && match.a11yLabel ? match === null || match === void 0 ? void 0 : match.a11yLabel : match === null || match === void 0 ? void 0 : match.value;
-}
-/**
- * Filters available units based on values defined by the unit setting/property.
- *
- * @param  unitSetting Collection of preferred unit value strings.
- * @param  units       Collection of available unit objects.
- *
- * @return Filtered units based on settings.
- */

-function filterUnitsWithSettings() {
-  let unitSetting = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  let units = arguments.length > 1 ? arguments[1] : undefined;
-  return Array.isArray(units) ? units.filter(unit => {
-    return unitSetting.includes(unit.value);
-  }) : [];
-}
-/**
- * Custom hook to retrieve and consolidate units setting from add_theme_support().
- * TODO: ideally this hook shouldn't be needed
- * https://github.com/WordPress/gutenberg/pull/31822#discussion_r633280823
- *
- * @param  args                An object containing units, settingPath & defaultUnits.
- * @param  args.units          Collection of all potentially available units.
- * @param  args.availableUnits Collection of unit value strings for filtering available units.
- * @param  args.defaultValues  Collection of default values for defined units. Example: { px: '350', em: '15' }.
- *
- * @return Filtered units based on settings.
- */

-const useCustomUnits = _ref => {
-  let {
-    units,
-    availableUnits,
-    defaultValues
-  } = _ref;
-  units = units || ALL_CSS_UNITS;
-  const usedUnits = filterUnitsWithSettings(!availableUnits ? [] : availableUnits, units);
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/use-props.js

-  if (defaultValues) {
-    usedUnits.forEach((unit, i) => {
-      if (defaultValues[unit.value]) {
-        usedUnits[i].default = defaultValues[unit.value];
-      }
-    });
-  }

-  return usedUnits.length === 0 ? false : usedUnits;
-};
-/**
- * Get available units with the unit for the currently selected value
- * prepended if it is not available in the list of units.
- *
- * This is useful to ensure that the current value's unit is always
- * accurately displayed in the UI, even if the intention is to hide
- * the availability of that unit.
- *
- * @param  currentValue Selected value to parse.
- * @param  legacyUnit   Legacy unit value, if currentValue needs it appended.
- * @param  units        List of available units.
- *
- * @return A collection of units containing the unit for the current value.
- */

-function getUnitsWithCurrentUnit(currentValue, legacyUnit) {
-  let units = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ALL_CSS_UNITS;

-  if (!Array.isArray(units)) {
-    return units;
-  }

-  const unitsWithCurrentUnit = [...units];
-  const [, currentUnit] = getParsedValue(currentValue, legacyUnit, ALL_CSS_UNITS);

-  if (currentUnit && !unitsWithCurrentUnit.some(unit => unit.value === currentUnit)) {
-    if (utils_allUnits[currentUnit]) {
-      unitsWithCurrentUnit.unshift(utils_allUnits[currentUnit]);
-    }
-  }

-  return unitsWithCurrentUnit;
+function copyRawValuesOnly(target, source, props) {
+    for (var key in source) {
+        if (!isMotionValue(source[key]) && !isForcedMotionValue(key, props)) {
+            target[key] = source[key];
+        }
+    }
+}
+function useInitialMotionValues(_a, visualState, isStatic) {
+    var transformTemplate = _a.transformTemplate;
+    return (0,external_React_.useMemo)(function () {
+        var state = createHtmlRenderState();
+        buildHTMLStyles(state, visualState, undefined, undefined, { enableHardwareAcceleration: !isStatic }, transformTemplate);
+        var vars = state.vars, style = state.style;
+        return __assign(__assign({}, vars), style);
+    }, [visualState]);
+}
+function useStyle(props, visualState, isStatic) {
+    var styleProp = props.style || {};
+    var style = {};
+    /**
+     * Copy non-Motion Values straight into style
+     */
+    copyRawValuesOnly(style, styleProp, props);
+    Object.assign(style, useInitialMotionValues(props, visualState, isStatic));
+    if (props.transformValues) {
+        style = props.transformValues(style);
+    }
+    return style;
+}
+function useHTMLProps(props, visualState, isStatic) {
+    // The `any` isn't ideal but it is the type of createElement props argument
+    var htmlProps = {};
+    var style = useStyle(props, visualState, isStatic);
+    if (Boolean(props.drag)) {
+        // Disable the ghost element when a user drags
+        htmlProps.draggable = false;
+        // Disable text selection
+        style.userSelect = style.WebkitUserSelect = style.WebkitTouchCallout =
+            "none";
+        // Disable scrolling on the draggable direction
+        style.touchAction =
+            props.drag === true
+                ? "none"
+                : "pan-" + (props.drag === "x" ? "y" : "x");
+    }
+    htmlProps.style = style;
+    return htmlProps;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/unit-control/unit-select-control.js



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/valid-prop.js
 /**
- * External dependencies
+ * A list of all valid MotionProps.
+ *
+ * @internalremarks
+ * This doesn't throw if a `MotionProp` name is missing - it should.
  */
-
- // eslint-disable-next-line no-restricted-imports
+var validMotionProps = new Set([
+    "initial",
+    "animate",
+    "exit",
+    "style",
+    "variants",
+    "transition",
+    "transformTemplate",
+    "transformValues",
+    "custom",
+    "inherit",
+    "layout",
+    "layoutId",
+    "_layoutResetTransform",
+    "onLayoutAnimationComplete",
+    "onViewportBoxUpdate",
+    "onLayoutMeasure",
+    "onBeforeLayoutMeasure",
+    "onAnimationStart",
+    "onAnimationComplete",
+    "onUpdate",
+    "onDragStart",
+    "onDrag",
+    "onDragEnd",
+    "onMeasureDragConstraints",
+    "onDirectionLock",
+    "onDragTransitionEnd",
+    "drag",
+    "dragControls",
+    "dragListener",
+    "dragConstraints",
+    "dragDirectionLock",
+    "_dragX",
+    "_dragY",
+    "dragElastic",
+    "dragMomentum",
+    "dragPropagation",
+    "dragTransition",
+    "whileDrag",
+    "onPan",
+    "onPanStart",
+    "onPanEnd",
+    "onPanSessionStart",
+    "onTap",
+    "onTapStart",
+    "onTapCancel",
+    "onHoverStart",
+    "onHoverEnd",
+    "whileFocus",
+    "whileTap",
+    "whileHover",
+]);
+/**
+ * Check whether a prop name is a valid `MotionProp` key.
+ *
+ * @param key - Name of the property to check
+ * @returns `true` is key is a valid `MotionProp`.
+ *
+ * @public
+ */
+function isValidMotionProp(key) {
+    return validMotionProps.has(key);
+}



-function UnitSelectControl(_ref) {
-  let {
-    className,
-    isUnitSelectTabbable: isTabbable = true,
-    onChange = external_lodash_["noop"],
-    size = 'default',
-    unit = 'px',
-    units = CSS_UNITS,
-    ...props
-  } = _ref;
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js

-  if (!units || !utils_hasUnits(units) || (units === null || units === void 0 ? void 0 : units.length) === 1) {
-    return Object(external_wp_element_["createElement"])(UnitLabel, {
-      className: "components-unit-control__unit-label",
-      selectSize: size
-    }, unit);
-  }

-  const handleOnChange = event => {
-    const {
-      value: unitValue
-    } = event.target;
-    const data = units.find(option => option.value === unitValue);
-    onChange(unitValue, {
-      event,
-      data
-    });
-  };
-
-  const classes = classnames_default()('components-unit-control__select', className);
-  return Object(external_wp_element_["createElement"])(UnitSelect, Object(esm_extends["a" /* default */])({
-    className: classes,
-    onChange: handleOnChange,
-    selectSize: size,
-    tabIndex: isTabbable ? undefined : -1,
-    value: unit
-  }, props), units.map(option => Object(external_wp_element_["createElement"])("option", {
-    value: option.value,
-    key: option.value
-  }, option.label)));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-controlled-state.js
+var shouldForward = function (key) { return !isValidMotionProp(key); };
 /**
- * WordPress dependencies
+ * Emotion and Styled Components both allow users to pass through arbitrary props to their components
+ * to dynamically generate CSS. They both use the `@emotion/is-prop-valid` package to determine which
+ * of these should be passed to the underlying DOM node.
+ *
+ * However, when styling a Motion component `styled(motion.div)`, both packages pass through *all* props
+ * as it's seen as an arbitrary component rather than a DOM node. Motion only allows arbitrary props
+ * passed through the `custom` prop so it doesn't *need* the payload or computational overhead of
+ * `@emotion/is-prop-valid`, however to fix this problem we need to use it.
+ *
+ * By making it an optionalDependency we can offer this functionality only in the situations where it's
+ * actually required.
  */
+try {
+    var emotionIsPropValid_1 = (__webpack_require__(3889)/* ["default"] */ .Z);
+    shouldForward = function (key) {
+        // Handle events explicitly as Emotion validates them all as true
+        if (key.startsWith("on")) {
+            return !isValidMotionProp(key);
+        }
+        else {
+            return emotionIsPropValid_1(key);
+        }
+    };
+}
+catch (_a) {
+    // We don't need to actually do anything here - the fallback is the existing `isPropValid`.
+}
+function filterProps(props, isDom, forwardMotionProps) {
+    var filteredProps = {};
+    for (var key in props) {
+        if (shouldForward(key) ||
+            (forwardMotionProps === true && isValidMotionProp(key)) ||
+            (!isDom && !isValidMotionProp(key))) {
+            filteredProps[key] = props[key];
+        }
+    }
+    return filteredProps;
+}

-/**
- * Internal dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.js
+
+
+function calcOrigin(origin, offset, size) {
+    return typeof origin === "string"
+        ? origin
+        : px.transform(offset + size * origin);
+}
 /**
- * @template T
- * @typedef Options
- * @property {T | undefined} initial  Initial value
- * @property {T | ""}        fallback Fallback value
+ * The SVG transform origin defaults are different to CSS and is less intuitive,
+ * so we use the measured dimensions of the SVG to reconcile these.
  */
+function calcSVGTransformOrigin(dimensions, originX, originY) {
+    var pxOriginX = calcOrigin(originX, dimensions.x, dimensions.width);
+    var pxOriginY = calcOrigin(originY, dimensions.y, dimensions.height);
+    return pxOriginX + " " + pxOriginY;
+}

-/** @type {Readonly<{ initial: undefined, fallback: '' }>} */

-const use_controlled_state_defaultOptions = {
-  initial: undefined,

-  /**
-   * Defaults to empty string, as that is preferred for usage with
-   * <input />, <textarea />, and <select /> form elements.
-   */
-  fallback: ''
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/path.js
+
+
+// Convert a progress 0-1 to a pixels value based on the provided length
+var progressToPixels = function (progress, length) {
+    return px.transform(progress * length);
+};
+var dashKeys = {
+    offset: "stroke-dashoffset",
+    array: "stroke-dasharray",
+};
+var camelKeys = {
+    offset: "strokeDashoffset",
+    array: "strokeDasharray",
 };
 /**
- * Custom hooks for "controlled" components to track and consolidate internal
- * state and incoming values. This is useful for components that render
- * `input`, `textarea`, or `select` HTML elements.
- *
- * https://reactjs.org/docs/forms.html#controlled-components
- *
- * At first, a component using useControlledState receives an initial prop
- * value, which is used as initial internal state.
- *
- * This internal state can be maintained and updated without
- * relying on new incoming prop values.
- *
- * Unlike the basic useState hook, useControlledState's state can
- * be updated if a new incoming prop value is changed.
- *
- * @template T
- *
- * @param {T | undefined} currentState             The current value.
- * @param {Options<T>}    [options=defaultOptions] Additional options for the hook.
+ * Build SVG path properties. Uses the path's measured length to convert
+ * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset
+ * and stroke-dasharray attributes.
  *
- * @return {[T | "", (nextState: T) => void]} The controlled value and the value setter.
+ * This function is mutative to reduce per-frame GC.
  */
+function buildSVGPath(attrs, totalLength, length, spacing, offset, useDashCase) {
+    if (spacing === void 0) { spacing = 1; }
+    if (offset === void 0) { offset = 0; }
+    if (useDashCase === void 0) { useDashCase = true; }
+    // We use dash case when setting attributes directly to the DOM node and camel case
+    // when defining props on a React component.
+    var keys = useDashCase ? dashKeys : camelKeys;
+    // Build the dash offset
+    attrs[keys.offset] = progressToPixels(-offset, totalLength);
+    // Build the dash array
+    var pathLength = progressToPixels(length, totalLength);
+    var pathSpacing = progressToPixels(spacing, totalLength);
+    attrs[keys.array] = pathLength + " " + pathSpacing;
+}

-function useControlledState(currentState) {
-  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : use_controlled_state_defaultOptions;
-  const {
-    initial,
-    fallback
-  } = { ...use_controlled_state_defaultOptions,
-    ...options
-  };
-  const [internalState, setInternalState] = Object(external_wp_element_["useState"])(currentState);
-  const hasCurrentState = isValueDefined(currentState);
-  /*
-   * Resets internal state if value every changes from uncontrolled <-> controlled.
-   */
-
-  Object(external_wp_element_["useEffect"])(() => {
-    if (hasCurrentState && internalState) {
-      setInternalState(undefined);
-    }
-  }, [hasCurrentState, internalState]);
-  const state = getDefinedValue([currentState, internalState, initial], fallback);
-  /* eslint-disable jsdoc/no-undefined-types */
-
-  /** @type {(nextState: T) => void} */
-
-  const setState = nextState => {
-    if (!hasCurrentState) {
-      setInternalState(nextState);
-    }
-  };
-  /* eslint-enable jsdoc/no-undefined-types */


-  return [state, setState];
-}
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.js

-/* harmony default export */ var use_controlled_state = (useControlledState);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/unit-control/index.js



 /**
- * External dependencies
+ * Build SVG visual attrbutes, like cx and style.transform
  */
-// eslint-disable-next-line no-restricted-imports
-
+function buildSVGAttrs(state, _a, projection, layoutState, options, transformTemplate, buildProjectionTransform, buildProjectionTransformOrigin) {
+    var attrX = _a.attrX, attrY = _a.attrY, originX = _a.originX, originY = _a.originY, pathLength = _a.pathLength, _b = _a.pathSpacing, pathSpacing = _b === void 0 ? 1 : _b, _c = _a.pathOffset, pathOffset = _c === void 0 ? 0 : _c,
+    // This is object creation, which we try to avoid per-frame.
+    latest = __rest(_a, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]);
+    buildHTMLStyles(state, latest, projection, layoutState, options, transformTemplate, buildProjectionTransform, buildProjectionTransformOrigin);
+    state.attrs = state.style;
+    state.style = {};
+    var attrs = state.attrs, style = state.style, dimensions = state.dimensions, totalPathLength = state.totalPathLength;
+    /**
+     * However, we apply transforms as CSS transforms. So if we detect a transform we take it from attrs
+     * and copy it into style.
+     */
+    if (attrs.transform) {
+        if (dimensions)
+            style.transform = attrs.transform;
+        delete attrs.transform;
+    }
+    // Parse transformOrigin
+    if (dimensions &&
+        (originX !== undefined || originY !== undefined || style.transform)) {
+        style.transformOrigin = calcSVGTransformOrigin(dimensions, originX !== undefined ? originX : 0.5, originY !== undefined ? originY : 0.5);
+    }
+    // Treat x/y not as shortcuts but as actual attributes
+    if (attrX !== undefined)
+        attrs.x = attrX;
+    if (attrY !== undefined)
+        attrs.y = attrY;
+    // Build SVG path if one has been measured
+    if (totalPathLength !== undefined && pathLength !== undefined) {
+        buildSVGPath(attrs, totalPathLength, pathLength, pathSpacing, pathOffset, false);
+    }
+}

-/**
- * WordPress dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js


-/**
- * Internal dependencies
- */

+var createSvgRenderState = function () { return (__assign(__assign({}, createHtmlRenderState()), { attrs: {} })); };



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/use-props.js




-function UnitControl(_ref, forwardedRef) {
-  let {
-    __unstableStateReducer: stateReducer = state => state,
-    autoComplete = 'off',
-    className,
-    disabled = false,
-    disableUnits = false,
-    isPressEnterToChange = false,
-    isResetValueOnUnitChange = false,
-    isUnitSelectTabbable = true,
-    label,
-    onChange = external_lodash_["noop"],
-    onUnitChange = external_lodash_["noop"],
-    size = 'default',
-    style,
-    unit: unitProp,
-    units: unitsProp = CSS_UNITS,
-    value: valueProp,
-    ...props
-  } = _ref;
-  const units = Object(external_wp_element_["useMemo"])(() => getUnitsWithCurrentUnit(valueProp, unitProp, unitsProp), [valueProp, unitProp, unitsProp]);
-  const [value, initialUnit] = getParsedValue(valueProp, unitProp, units);
-  const [unit, setUnit] = use_controlled_state(unitProp, {
-    initial: initialUnit,
-    fallback: ''
-  }); // Stores parsed value for hand-off in state reducer

-  const refParsedValue = Object(external_wp_element_["useRef"])(null);
-  const classes = classnames_default()('components-unit-control', className);

-  const handleOnChange = (next, changeProps) => {
-    if (next === '') {
-      onChange('', changeProps);
-      return;
+function useSVGProps(props, visualState) {
+    var visualProps = (0,external_React_.useMemo)(function () {
+        var state = createSvgRenderState();
+        buildSVGAttrs(state, visualState, undefined, undefined, { enableHardwareAcceleration: false }, props.transformTemplate);
+        return __assign(__assign({}, state.attrs), { style: __assign({}, state.style) });
+    }, [visualState]);
+    if (props.style) {
+        var rawStyles = {};
+        copyRawValuesOnly(rawStyles, props.style, props);
+        visualProps.style = __assign(__assign({}, rawStyles), visualProps.style);
     }
-    /*
-     * Customizing the onChange callback.
-     * This allows as to broadcast a combined value+unit to onChange.
-     */
+    return visualProps;
+}


-    next = getValidParsedUnit(next, units, value, unit).join('');
-    onChange(next, changeProps);
-  };

-  const handleOnUnitChange = (next, changeProps) => {
-    const {
-      data
-    } = changeProps;
-    let nextValue = `${value}${next}`;
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/use-render.js

-    if (isResetValueOnUnitChange && (data === null || data === void 0 ? void 0 : data.default) !== undefined) {
-      nextValue = `${data.default}${next}`;
-    }

-    onChange(nextValue, changeProps);
-    onUnitChange(next, changeProps);
-    setUnit(next);
-  };

-  const mayUpdateUnit = event => {
-    if (!isNaN(Number(event.currentTarget.value))) {
-      refParsedValue.current = null;
-      return;
-    }

-    const [parsedValue, parsedUnit] = getValidParsedUnit(event.currentTarget.value, units, value, unit);
-    refParsedValue.current = parsedValue.toString();

-    if (isPressEnterToChange && parsedUnit !== unit) {
-      const data = Array.isArray(units) ? units.find(option => option.value === parsedUnit) : undefined;
-      const changeProps = {
-        event,
-        data
-      };
-      onChange(`${parsedValue}${parsedUnit}`, changeProps);
-      onUnitChange(parsedUnit, changeProps);
-      setUnit(parsedUnit);
-    }
-  };

-  const handleOnBlur = mayUpdateUnit;

-  const handleOnKeyDown = event => {
-    const {
-      keyCode
-    } = event;
+function createUseRender(forwardMotionProps) {
+    if (forwardMotionProps === void 0) { forwardMotionProps = false; }
+    var useRender = function (Component, props, ref, _a, isStatic) {
+        var latestValues = _a.latestValues;
+        var useVisualProps = isSVGComponent(Component)
+            ? useSVGProps
+            : useHTMLProps;
+        var visualProps = useVisualProps(props, latestValues, isStatic);
+        var filteredProps = filterProps(props, typeof Component === "string", forwardMotionProps);
+        var elementProps = __assign(__assign(__assign({}, filteredProps), visualProps), { ref: ref });
+        return (0,external_React_.createElement)(Component, elementProps);
+    };
+    return useRender;
+}

-    if (keyCode === external_wp_keycodes_["ENTER"]) {
-      mayUpdateUnit(event);
-    }
-  };
-  /**
-   * "Middleware" function that intercepts updates from InputControl.
-   * This allows us to tap into actions to transform the (next) state for
-   * InputControl.
-   *
-   * @param  state  State from InputControl
-   * @param  action Action triggering state change
-   * @return The updated state to apply to InputControl
-   */


-  const unitControlStateReducer = (state, action) => {
-    /*
-     * On commits (when pressing ENTER and on blur if
-     * isPressEnterToChange is true), if a parse has been performed
-     * then use that result to update the state.
-     */
-    if (action.type === COMMIT) {
-      if (refParsedValue.current !== null) {
-        state.value = refParsedValue.current;
-        refParsedValue.current = null;
-      }
-    }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.js
+var CAMEL_CASE_PATTERN = /([a-z])([A-Z])/g;
+var REPLACE_TEMPLATE = "$1-$2";
+/**
+ * Convert camelCase to dash-case properties.
+ */
+var camelToDash = function (str) {
+    return str.replace(CAMEL_CASE_PATTERN, REPLACE_TEMPLATE).toLowerCase();
+};

-    return state;
-  };

-  const inputSuffix = !disableUnits ? Object(external_wp_element_["createElement"])(UnitSelectControl, {
-    "aria-label": Object(external_wp_i18n_["__"])('Select unit'),
-    disabled: disabled,
-    isUnitSelectTabbable: isUnitSelectTabbable,
-    onChange: handleOnUnitChange,
-    size: size,
-    unit: unit,
-    units: units
-  }) : null;
-  let step = props.step;
-  /*
-   * If no step prop has been passed, lookup the active unit and
-   * try to get step from `units`, or default to a value of `1`
-   */

-  if (!step && units) {
-    var _activeUnit$step;
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/render.js
+function renderHTML(element, _a) {
+    var style = _a.style, vars = _a.vars;
+    // Directly assign style into the Element's style prop. In tests Object.assign is the
+    // fastest way to assign styles.
+    Object.assign(element.style, style);
+    // Loop over any CSS variables and assign those.
+    for (var key in vars) {
+        element.style.setProperty(key, vars[key]);
+    }
+}

-    const activeUnit = units.find(option => option.value === unit);
-    step = (_activeUnit$step = activeUnit === null || activeUnit === void 0 ? void 0 : activeUnit.step) !== null && _activeUnit$step !== void 0 ? _activeUnit$step : 1;
-  }

-  return Object(external_wp_element_["createElement"])(unit_control_styles_Root, {
-    className: "components-unit-control-wrapper",
-    style: style
-  }, Object(external_wp_element_["createElement"])(ValueInput, Object(esm_extends["a" /* default */])({
-    "aria-label": label,
-    type: isPressEnterToChange ? 'text' : 'number'
-  }, Object(external_lodash_["omit"])(props, ['children']), {
-    autoComplete: autoComplete,
-    className: classes,
-    disabled: disabled,
-    disableUnits: disableUnits,
-    isPressEnterToChange: isPressEnterToChange,
-    label: label,
-    onBlur: handleOnBlur,
-    onKeyDown: handleOnKeyDown,
-    onChange: handleOnChange,
-    ref: forwardedRef,
-    size: size,
-    suffix: inputSuffix,
-    value: value,
-    step: step,
-    __unstableStateReducer: composeStateReducers(unitControlStateReducer, stateReducer)
-  })));
-}
+
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.js
 /**
- * `UnitControl` allows the user to set a value as well as a unit (e.g. `px`).
- *
- *
- * @example
- * ```jsx
- * import { __experimentalUnitControl as UnitControl } from '@wordpress/components';
- * import { useState } from '@wordpress/element';
- *
- * const Example = () => {
- *   const [ value, setValue ] = useState( '10px' );
- *
- *   return <UnitControl onChange={ setValue } value={ value } />;
- * };
- * ```
+ * A set of attribute names that are always read/written as camel case.
  */
+var camelCaseAttributes = new Set([
+    "baseFrequency",
+    "diffuseConstant",
+    "kernelMatrix",
+    "kernelUnitLength",
+    "keySplines",
+    "keyTimes",
+    "limitingConeAngle",
+    "markerHeight",
+    "markerWidth",
+    "numOctaves",
+    "targetX",
+    "targetY",
+    "surfaceScale",
+    "specularConstant",
+    "specularExponent",
+    "stdDeviation",
+    "tableValues",
+    "viewBox",
+    "gradientTransform",
+]);


-const ForwardedUnitControl = Object(external_wp_element_["forwardRef"])(UnitControl);

-/* harmony default export */ var unit_control = (ForwardedUnitControl);
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/render.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/styles/box-control-styles.js


-function box_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/**
- * External dependencies
- */
+function renderSVG(element, renderState) {
+    renderHTML(element, renderState);
+    for (var key in renderState.attrs) {
+        element.setAttribute(!camelCaseAttributes.has(key) ? camelToDash(key) : key, renderState.attrs[key]);
+    }
+}


-/**
- * Internal dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.js


-const box_control_styles_Root = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e7pk0lh6"
-} : undefined)( true ? {
-  name: "14bvcyk",
-  styles: "box-sizing:border-box;max-width:235px;padding-bottom:12px;width:100%"
-} : undefined);
-const Header = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_component,  true ? {
-  target: "e7pk0lh5"
-} : undefined)("color:", COLORS.ui.label, ";padding-bottom:8px;" + ( true ? "" : undefined));
-const HeaderControlWrapper = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_component,  true ? {
-  target: "e7pk0lh4"
-} : undefined)( true ? {
-  name: "aujtid",
-  styles: "min-height:30px;gap:0"
-} : undefined);
-const UnitControlWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e7pk0lh3"
-} : undefined)( true ? {
-  name: "112jwab",
-  styles: "box-sizing:border-box;max-width:80px"
-} : undefined);
-const LayoutContainer = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_component,  true ? {
-  target: "e7pk0lh2"
-} : undefined)( true ? {
-  name: "xy18ro",
-  styles: "justify-content:center;padding-top:8px"
-} : undefined);
-const Layout = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_component,  true ? {
-  target: "e7pk0lh1"
-} : undefined)( true ? {
-  name: "3tw5wk",
-  styles: "position:relative;height:100%;width:100%;justify-content:flex-start"
-} : undefined);

-var box_control_styles_ref =  true ? {
-  name: "1ch9yvl",
-  styles: "border-radius:0"
-} : undefined;
+function scrapeMotionValuesFromProps(props) {
+    var style = props.style;
+    var newValues = {};
+    for (var key in style) {
+        if (isMotionValue(style[key]) || isForcedMotionValue(key, props)) {
+            newValues[key] = style[key];
+        }
+    }
+    return newValues;
+}

-var box_control_styles_ref2 =  true ? {
-  name: "tg3mx0",
-  styles: "border-radius:2px"
-} : undefined;

-const unitControlBorderRadiusStyles = _ref3 => {
-  let {
-    isFirst,
-    isLast,
-    isOnly
-  } = _ref3;

-  if (isFirst) {
-    return rtl_rtl({
-      borderTopRightRadius: 0,
-      borderBottomRightRadius: 0
-    })();
-  }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.js

-  if (isLast) {
-    return rtl_rtl({
-      borderTopLeftRadius: 0,
-      borderBottomLeftRadius: 0
-    })();
-  }

-  if (isOnly) {
-    return box_control_styles_ref2;
-  }

-  return box_control_styles_ref;
-};
+function scrape_motion_values_scrapeMotionValuesFromProps(props) {
+    var newValues = scrapeMotionValuesFromProps(props);
+    for (var key in props) {
+        if (isMotionValue(props[key])) {
+            var targetKey = key === "x" || key === "y" ? "attr" + key.toUpperCase() : key;
+            newValues[targetKey] = props[key];
+        }
+    }
+    return newValues;
+}

-const unitControlMarginStyles = _ref4 => {
-  let {
-    isFirst,
-    isOnly
-  } = _ref4;
-  const marginLeft = isFirst || isOnly ? 0 : -1;
-  return rtl_rtl({
-    marginLeft
-  })();
-};

-const box_control_styles_UnitControl = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(unit_control,  true ? {
-  target: "e7pk0lh0"
-} : undefined)("max-width:60px;", unitControlBorderRadiusStyles, ";", unitControlMarginStyles, ";" + ( true ? "" : undefined));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/unit-control.js
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.js
+function isAnimationControls(v) {
+    return typeof v === "object" && typeof v.start === "function";
+}



-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/is-keyframes-target.js
+var isKeyframesTarget = function (v) {
+    return Array.isArray(v);
+};


-/**
- * Internal dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/resolve-value.js


-function BoxUnitControl(_ref) {
-  let {
-    isFirst,
-    isLast,
-    isOnly,
-    onHoverOn = external_lodash_["noop"],
-    onHoverOff = external_lodash_["noop"],
-    label,
-    value,
-    ...props
-  } = _ref;
-  const bindHoverGesture = useHover(_ref2 => {
-    let {
-      event,
-      ...state
-    } = _ref2;
+var isCustomValue = function (v) {
+    return Boolean(v && typeof v === "object" && v.mix && v.toValue);
+};
+var resolveFinalValueInKeyframes = function (v) {
+    // TODO maybe throw if v.length - 1 is placeholder token?
+    return isKeyframesTarget(v) ? v[v.length - 1] || 0 : v;
+};

-    if (state.hovering) {
-      onHoverOn(event, state);
-    } else {
-      onHoverOff(event, state);
-    }
-  });
-  return Object(external_wp_element_["createElement"])(UnitControlWrapper, bindHoverGesture(), Object(external_wp_element_["createElement"])(Tooltip, {
-    text: label
-  }, Object(external_wp_element_["createElement"])(box_control_styles_UnitControl, Object(esm_extends["a" /* default */])({
-    "aria-label": label,
-    className: "component-box-control__unit-control",
-    hideHTMLArrows: true,
-    isFirst: isFirst,
-    isLast: isLast,
-    isOnly: isOnly,
-    isPressEnterToChange: true,
-    isResetValueOnUnitChange: false,
-    value: value
-  }, props))));
-}

-function Tooltip(_ref3) {
-  let {
-    children,
-    text
-  } = _ref3;
-  if (!text) return children;
-  /**
-   * Wrapping the children in a `<div />` as Tooltip as it attempts
-   * to render the <UnitControl />. Using a plain `<div />` appears to
-   * resolve this issue.
-   *
-   * Originally discovered and referenced here:
-   * https://github.com/WordPress/gutenberg/pull/24966#issuecomment-685875026
-   */

-  return Object(external_wp_element_["createElement"])(build_module_tooltip["a" /* default */], {
-    text: text,
-    position: "top"
-  }, Object(external_wp_element_["createElement"])("div", null, children));
-}
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/utils.js
-/**
- * External dependencies
- */

 /**
- * WordPress dependencies
+ * If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself
+ *
+ * TODO: Remove and move to library
+ *
+ * @internal
  */
+function resolveMotionValue(value) {
+    var unwrappedValue = isMotionValue(value) ? value.get() : value;
+    return isCustomValue(unwrappedValue)
+        ? unwrappedValue.toValue()
+        : unwrappedValue;
+}


-/**
- * Internal dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js

-const LABELS = {
-  all: Object(external_wp_i18n_["__"])('All'),
-  top: Object(external_wp_i18n_["__"])('Top'),
-  bottom: Object(external_wp_i18n_["__"])('Bottom'),
-  left: Object(external_wp_i18n_["__"])('Left'),
-  right: Object(external_wp_i18n_["__"])('Right'),
-  mixed: Object(external_wp_i18n_["__"])('Mixed'),
-  vertical: Object(external_wp_i18n_["__"])('Vertical'),
-  horizontal: Object(external_wp_i18n_["__"])('Horizontal')
-};
-const DEFAULT_VALUES = {
-  top: null,
-  right: null,
-  bottom: null,
-  left: null
-};
-const DEFAULT_VISUALIZER_VALUES = {
-  top: false,
-  right: false,
-  bottom: false,
-  left: false
-};
-const ALL_SIDES = ['top', 'right', 'bottom', 'left'];
-/**
- * Gets an items with the most occurrence within an array
- * https://stackoverflow.com/a/20762713
- *
- * @param {Array<any>} arr Array of items to check.
- * @return {any} The item with the most occurrences.
- */

-function mode(arr) {
-  return arr.sort((a, b) => arr.filter(v => v === a).length - arr.filter(v => v === b).length).pop();
-}
-/**
- * Gets the 'all' input value and unit from values data.
- *
- * @param {Object} values         Box values.
- * @param {Array}  availableSides Available box sides to evaluate.
- *
- * @return {string} A value + unit for the 'all' input.
- */


-function getAllValue() {
-  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let availableSides = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ALL_SIDES;
-  const sides = normalizeSides(availableSides);
-  const parsedValues = sides.map(side => parseUnit(values[side]));
-  const allValues = parsedValues.map(value => value[0]);
-  const allUnits = parsedValues.map(value => value[1]);
-  const value = allValues.every(v => v === allValues[0]) ? allValues[0] : '';
-  const unit = mode(allUnits);
-  /**
-   * The isNumber check is important. On reset actions, the incoming value
-   * may be null or an empty string.
-   *
-   * Also, the value may also be zero (0), which is considered a valid unit value.
-   *
-   * isNumber() is more specific for these cases, rather than relying on a
-   * simple truthy check.
-   */

-  const allValue = Object(external_lodash_["isNumber"])(value) ? `${value}${unit}` : null;
-  return allValue;
-}
-/**
- * Determine the most common unit selection to use as a fallback option.
- *
- * @param {Object} selectedUnits Current unit selections for individual sides.
- * @return {string} Most common unit selection.
- */

-function getAllUnitFallback(selectedUnits) {
-  if (!selectedUnits || typeof selectedUnits !== 'object') {
-    return undefined;
-  }

-  const filteredUnits = Object.values(selectedUnits).filter(Boolean);
-  return mode(filteredUnits);
-}
-/**
- * Checks to determine if values are mixed.
- *
- * @param {Object} values Box values.
- * @param {Array}  sides  Available box sides to evaluate.
- *
- * @return {boolean} Whether values are mixed.
- */

-function isValuesMixed() {
-  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let sides = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ALL_SIDES;
-  const allValue = getAllValue(values, sides);
-  const isMixed = isNaN(parseFloat(allValue));
-  return isMixed;
-}
-/**
- * Checks to determine if values are defined.
- *
- * @param {Object} values Box values.
- *
- * @return {boolean} Whether values are mixed.
- */

-function isValuesDefined(values) {
-  return values !== undefined && !Object(external_lodash_["isEmpty"])(Object.values(values).filter( // Switching units when input is empty causes values only
-  // containing units. This gives false positive on mixed values
-  // unless filtered.
-  value => !!value && /\d/.test(value)));
+function makeState(_a, props, context, presenceContext) {
+    var scrapeMotionValuesFromProps = _a.scrapeMotionValuesFromProps, createRenderState = _a.createRenderState, onMount = _a.onMount;
+    var state = {
+        latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps),
+        renderState: createRenderState(),
+    };
+    if (onMount) {
+        state.mount = function (instance) { return onMount(props, instance, state); };
+    }
+    return state;
+}
+var makeUseVisualState = function (config) { return function (props, isStatic) {
+    var context = (0,external_React_.useContext)(MotionContext);
+    var presenceContext = (0,external_React_.useContext)(PresenceContext_PresenceContext);
+    return isStatic
+        ? makeState(config, props, context, presenceContext)
+        : useConstant(function () { return makeState(config, props, context, presenceContext); });
+}; };
+function makeLatestValues(props, context, presenceContext, scrapeMotionValues) {
+    var values = {};
+    var blockInitialAnimation = (presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.initial) === false;
+    var motionValues = scrapeMotionValues(props);
+    for (var key in motionValues) {
+        values[key] = resolveMotionValue(motionValues[key]);
+    }
+    var initial = props.initial, animate = props.animate;
+    var isControllingVariants = checkIfControllingVariants(props);
+    var isVariantNode = checkIfVariantNode(props);
+    if (context &&
+        isVariantNode &&
+        !isControllingVariants &&
+        props.inherit !== false) {
+        initial !== null && initial !== void 0 ? initial : (initial = context.initial);
+        animate !== null && animate !== void 0 ? animate : (animate = context.animate);
+    }
+    var variantToSet = blockInitialAnimation || initial === false ? animate : initial;
+    if (variantToSet &&
+        typeof variantToSet !== "boolean" &&
+        !isAnimationControls(variantToSet)) {
+        var list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];
+        list.forEach(function (definition) {
+            var resolved = resolveVariantFromProps(props, definition);
+            if (!resolved)
+                return;
+            var transitionEnd = resolved.transitionEnd; resolved.transition; var target = __rest(resolved, ["transitionEnd", "transition"]);
+            for (var key in target)
+                values[key] = target[key];
+            for (var key in transitionEnd)
+                values[key] = transitionEnd[key];
+        });
+    }
+    return values;
 }
-/**
- * Get initial selected side, factoring in whether the sides are linked,
- * and whether the vertical / horizontal directions are grouped via splitOnAxis.
- *
- * @param {boolean} isLinked    Whether the box control's fields are linked.
- * @param {boolean} splitOnAxis Whether splitting by horizontal or vertical axis.
- * @return {string} The initial side.
- */

-function getInitialSide(isLinked, splitOnAxis) {
-  let initialSide = 'all';

-  if (!isLinked) {
-    initialSide = splitOnAxis ? 'vertical' : 'top';
-  }

-  return initialSide;
-}
-/**
- * Normalizes provided sides configuration to an array containing only top,
- * right, bottom and left. This essentially just maps `horizontal` or `vertical`
- * to their appropriate sides to facilitate correctly determining value for
- * all input control.
- *
- * @param {Array} sides Available sides for box control.
- * @return {Array} Normalized sides configuration.
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/config-motion.js

-function normalizeSides(sides) {
-  const filteredSides = [];

-  if (!(sides !== null && sides !== void 0 && sides.length)) {
-    return ALL_SIDES;
-  }

-  if (sides.includes('vertical')) {
-    filteredSides.push(...['top', 'bottom']);
-  } else if (sides.includes('horizontal')) {
-    filteredSides.push(...['left', 'right']);
-  } else {
-    const newSides = ALL_SIDES.filter(side => sides.includes(side));
-    filteredSides.push(...newSides);
-  }

-  return filteredSides;
+
+
+var svgMotionConfig = {
+    useVisualState: makeUseVisualState({
+        scrapeMotionValuesFromProps: scrape_motion_values_scrapeMotionValuesFromProps,
+        createRenderState: createSvgRenderState,
+        onMount: function (props, instance, _a) {
+            var renderState = _a.renderState, latestValues = _a.latestValues;
+            try {
+                renderState.dimensions =
+                    typeof instance.getBBox ===
+                        "function"
+                        ? instance.getBBox()
+                        : instance.getBoundingClientRect();
+            }
+            catch (e) {
+                // Most likely trying to measure an unrendered element under Firefox
+                renderState.dimensions = {
+                    x: 0,
+                    y: 0,
+                    width: 0,
+                    height: 0,
+                };
+            }
+            if (isPath(instance)) {
+                renderState.totalPathLength = instance.getTotalLength();
+            }
+            buildSVGAttrs(renderState, latestValues, undefined, undefined, { enableHardwareAcceleration: false }, props.transformTemplate);
+            // TODO: Replace with direct assignment
+            renderSVG(instance, renderState);
+        },
+    }),
+};
+function isPath(element) {
+    return element.tagName === "path";
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/all-input-control.js


+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/config-motion.js

-/**
- * External dependencies
- */

-/**
- * Internal dependencies
- */


+var htmlMotionConfig = {
+    useVisualState: makeUseVisualState({
+        scrapeMotionValuesFromProps: scrapeMotionValuesFromProps,
+        createRenderState: createHtmlRenderState,
+    }),
+};

-function AllInputControl(_ref) {
-  let {
-    onChange = external_lodash_["noop"],
-    onFocus = external_lodash_["noop"],
-    onHoverOn = external_lodash_["noop"],
-    onHoverOff = external_lodash_["noop"],
-    values,
-    sides,
-    selectedUnits,
-    setSelectedUnits,
-    ...props
-  } = _ref;
-  const allValue = getAllValue(values, sides);
-  const hasValues = isValuesDefined(values);
-  const isMixed = hasValues && isValuesMixed(values, sides);
-  const allPlaceholder = isMixed ? LABELS.mixed : null; // Set meaningful unit selection if no allValue and user has previously
-  // selected units without assigning values while controls were unlinked.

-  const allUnitFallback = !allValue ? getAllUnitFallback(selectedUnits) : undefined;

-  const handleOnFocus = event => {
-    onFocus(event, {
-      side: 'all'
-    });
-  }; // Applies a value to an object representing top, right, bottom and left
-  // sides while taking into account any custom side configuration.
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/create-config.js


-  const applyValueToSides = (currentValues, newValue) => {
-    const newValues = { ...currentValues
-    };

-    if (sides !== null && sides !== void 0 && sides.length) {
-      sides.forEach(side => {
-        if (side === 'vertical') {
-          newValues.top = newValue;
-          newValues.bottom = newValue;
-        } else if (side === 'horizontal') {
-          newValues.left = newValue;
-          newValues.right = newValue;
-        } else {
-          newValues[side] = newValue;
-        }
-      });
-    } else {
-      ALL_SIDES.forEach(side => newValues[side] = newValue);
-    }

-    return newValues;
-  };

-  const handleOnChange = next => {
-    const isNumeric = !isNaN(parseFloat(next));
-    const nextValue = isNumeric ? next : undefined;
-    const nextValues = applyValueToSides(values, nextValue);
-    onChange(nextValues);
-  }; // Set selected unit so it can be used as fallback by unlinked controls
-  // when individual sides do not have a value containing a unit.

+function create_config_createDomMotionConfig(Component, _a, preloadedFeatures, createVisualElement) {
+    var _b = _a.forwardMotionProps, forwardMotionProps = _b === void 0 ? false : _b;
+    var baseConfig = isSVGComponent(Component)
+        ? svgMotionConfig
+        : htmlMotionConfig;
+    return __assign(__assign({}, baseConfig), { preloadedFeatures: preloadedFeatures, useRender: createUseRender(forwardMotionProps), createVisualElement: createVisualElement,
+        Component: Component });
+}

-  const handleOnUnitChange = unit => {
-    const newUnits = applyValueToSides(selectedUnits, unit);
-    setSelectedUnits(newUnits);
-  };

-  const handleOnHoverOn = () => {
-    onHoverOn({
-      top: true,
-      bottom: true,
-      left: true,
-      right: true
-    });
-  };

-  const handleOnHoverOff = () => {
-    onHoverOff({
-      top: false,
-      bottom: false,
-      left: false,
-      right: false
-    });
-  };
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/types.js
+var AnimationType;
+(function (AnimationType) {
+    AnimationType["Animate"] = "animate";
+    AnimationType["Hover"] = "whileHover";
+    AnimationType["Tap"] = "whileTap";
+    AnimationType["Drag"] = "whileDrag";
+    AnimationType["Focus"] = "whileFocus";
+    AnimationType["Exit"] = "exit";
+})(AnimationType || (AnimationType = {}));

-  return Object(external_wp_element_["createElement"])(BoxUnitControl, Object(esm_extends["a" /* default */])({}, props, {
-    disableUnits: isMixed,
-    isOnly: true,
-    value: allValue,
-    unit: allUnitFallback,
-    onChange: handleOnChange,
-    onUnitChange: handleOnUnitChange,
-    onFocus: handleOnFocus,
-    onHoverOn: handleOnHoverOn,
-    onHoverOff: handleOnHoverOff,
-    placeholder: allPlaceholder
-  }));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/input-controls.js

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/events/use-dom-event.js


+function addDomEvent(target, eventName, handler, options) {
+    target.addEventListener(eventName, handler, options);
+    return function () { return target.removeEventListener(eventName, handler, options); };
+}
 /**
- * External dependencies
+ * Attaches an event listener directly to the provided DOM element.
+ *
+ * Bypassing React's event system can be desirable, for instance when attaching non-passive
+ * event handlers.
+ *
+ * ```jsx
+ * const ref = useRef(null)
+ *
+ * useDomEvent(ref, 'wheel', onWheel, { passive: false })
+ *
+ * return <div ref={ref} />
+ * ```
+ *
+ * @param ref - React.RefObject that's been provided to the element you want to bind the listener to.
+ * @param eventName - Name of the event you want listen for.
+ * @param handler - Function to fire when receiving the event.
+ * @param options - Options to pass to `Event.addEventListener`.
+ *
+ * @public
  */
+function useDomEvent(ref, eventName, handler, options) {
+    (0,external_React_.useEffect)(function () {
+        var element = ref.current;
+        if (handler && element) {
+            return addDomEvent(element, eventName, handler, options);
+        }
+    }, [ref, eventName, handler, options]);
+}

-/**
- * Internal dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/use-focus-gesture.js


-function BoxInputControls(_ref) {
-  let {
-    onChange = external_lodash_["noop"],
-    onFocus = external_lodash_["noop"],
-    onHoverOn = external_lodash_["noop"],
-    onHoverOff = external_lodash_["noop"],
-    values,
-    selectedUnits,
-    setSelectedUnits,
-    sides,
-    ...props
-  } = _ref;

-  const createHandleOnFocus = side => event => {
-    onFocus(event, {
-      side
-    });
-  };
+/**
+ *
+ * @param props
+ * @param ref
+ * @internal
+ */
+function useFocusGesture(_a) {
+    var whileFocus = _a.whileFocus, visualElement = _a.visualElement;
+    var onFocus = function () {
+        var _a;
+        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Focus, true);
+    };
+    var onBlur = function () {
+        var _a;
+        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Focus, false);
+    };
+    useDomEvent(visualElement, "focus", whileFocus ? onFocus : undefined);
+    useDomEvent(visualElement, "blur", whileFocus ? onBlur : undefined);
+}

-  const createHandleOnHoverOn = side => () => {
-    onHoverOn({
-      [side]: true
-    });
-  };

-  const createHandleOnHoverOff = side => () => {
-    onHoverOff({
-      [side]: false
-    });
-  };

-  const handleOnChange = nextValues => {
-    onChange(nextValues);
-  };
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/utils/event-type.js
+function isMouseEvent(event) {
+    // PointerEvent inherits from MouseEvent so we can't use a straight instanceof check.
+    if (typeof PointerEvent !== "undefined" && event instanceof PointerEvent) {
+        return !!(event.pointerType === "mouse");
+    }
+    return event instanceof MouseEvent;
+}
+function isTouchEvent(event) {
+    var hasTouches = !!event.touches;
+    return hasTouches;
+}

-  const createHandleOnChange = side => (next, _ref2) => {
-    let {
-      event
-    } = _ref2;
-    const {
-      altKey
-    } = event;
-    const nextValues = { ...values
-    };
-    const isNumeric = !isNaN(parseFloat(next));
-    const nextValue = isNumeric ? next : undefined;
-    nextValues[side] = nextValue;
-    /**
-     * Supports changing pair sides. For example, holding the ALT key
-     * when changing the TOP will also update BOTTOM.
-     */

-    if (altKey) {
-      switch (side) {
-        case 'top':
-          nextValues.bottom = nextValue;
-          break;

-        case 'bottom':
-          nextValues.top = nextValue;
-          break;
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/events/event-info.js

-        case 'left':
-          nextValues.right = nextValue;
-          break;

-        case 'right':
-          nextValues.left = nextValue;
-          break;
-      }
-    }
+/**
+ * Filters out events not attached to the primary pointer (currently left mouse button)
+ * @param eventHandler
+ */
+function filterPrimaryPointer(eventHandler) {
+    return function (event) {
+        var isMouseEvent = event instanceof MouseEvent;
+        var isPrimaryPointer = !isMouseEvent ||
+            (isMouseEvent && event.button === 0);
+        if (isPrimaryPointer) {
+            eventHandler(event);
+        }
+    };
+}
+var defaultPagePoint = { pageX: 0, pageY: 0 };
+function pointFromTouch(e, pointType) {
+    if (pointType === void 0) { pointType = "page"; }
+    var primaryTouch = e.touches[0] || e.changedTouches[0];
+    var point = primaryTouch || defaultPagePoint;
+    return {
+        x: point[pointType + "X"],
+        y: point[pointType + "Y"],
+    };
+}
+function pointFromMouse(point, pointType) {
+    if (pointType === void 0) { pointType = "page"; }
+    return {
+        x: point[pointType + "X"],
+        y: point[pointType + "Y"],
+    };
+}
+function extractEventInfo(event, pointType) {
+    if (pointType === void 0) { pointType = "page"; }
+    return {
+        point: isTouchEvent(event)
+            ? pointFromTouch(event, pointType)
+            : pointFromMouse(event, pointType),
+    };
+}
+function getViewportPointFromEvent(event) {
+    return extractEventInfo(event, "client");
+}
+var wrapHandler = function (handler, shouldFilterPrimaryPointer) {
+    if (shouldFilterPrimaryPointer === void 0) { shouldFilterPrimaryPointer = false; }
+    var listener = function (event) {
+        return handler(event, extractEventInfo(event));
+    };
+    return shouldFilterPrimaryPointer
+        ? filterPrimaryPointer(listener)
+        : listener;
+};

-    handleOnChange(nextValues);
-  };

-  const createHandleOnUnitChange = side => next => {
-    const newUnits = { ...selectedUnits
-    };
-    newUnits[side] = next;
-    setSelectedUnits(newUnits);
-  }; // Filter sides if custom configuration provided, maintaining default order.

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/events/utils.js

-  const filteredSides = sides !== null && sides !== void 0 && sides.length ? ALL_SIDES.filter(side => sides.includes(side)) : ALL_SIDES;
-  const first = filteredSides[0];
-  const last = filteredSides[filteredSides.length - 1];
-  const only = first === last && first;
-  return Object(external_wp_element_["createElement"])(LayoutContainer, {
-    className: "component-box-control__input-controls-wrapper"
-  }, Object(external_wp_element_["createElement"])(Layout, {
-    gap: 0,
-    align: "top",
-    className: "component-box-control__input-controls"
-  }, filteredSides.map(side => Object(external_wp_element_["createElement"])(BoxUnitControl, Object(esm_extends["a" /* default */])({}, props, {
-    isFirst: first === side,
-    isLast: last === side,
-    isOnly: only === side,
-    value: values[side],
-    unit: values[side] ? undefined : selectedUnits[side],
-    onChange: createHandleOnChange(side),
-    onUnitChange: createHandleOnUnitChange(side),
-    onFocus: createHandleOnFocus(side),
-    onHoverOn: createHandleOnHoverOn(side),
-    onHoverOff: createHandleOnHoverOff(side),
-    label: LABELS[side],
-    key: `box-control-${side}`
-  })))));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/axial-input-controls.js
+// We check for event support via functions in case they've been mocked by a testing suite.
+var supportsPointerEvents = function () {
+    return is_browser_isBrowser && window.onpointerdown === null;
+};
+var supportsTouchEvents = function () {
+    return is_browser_isBrowser && window.ontouchstart === null;
+};
+var supportsMouseEvents = function () {
+    return is_browser_isBrowser && window.onmousedown === null;
+};



-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/events/use-pointer-event.js



-const groupedSides = ['vertical', 'horizontal'];
-function AxialInputControls(_ref) {
-  let {
-    onChange,
-    onFocus,
-    onHoverOn,
-    onHoverOff,
-    values,
-    selectedUnits,
-    setSelectedUnits,
-    sides,
-    ...props
-  } = _ref;

-  const createHandleOnFocus = side => event => {
-    if (!onFocus) {
-      return;
+var mouseEventNames = {
+    pointerdown: "mousedown",
+    pointermove: "mousemove",
+    pointerup: "mouseup",
+    pointercancel: "mousecancel",
+    pointerover: "mouseover",
+    pointerout: "mouseout",
+    pointerenter: "mouseenter",
+    pointerleave: "mouseleave",
+};
+var touchEventNames = {
+    pointerdown: "touchstart",
+    pointermove: "touchmove",
+    pointerup: "touchend",
+    pointercancel: "touchcancel",
+};
+function getPointerEventName(name) {
+    if (supportsPointerEvents()) {
+        return name;
+    }
+    else if (supportsTouchEvents()) {
+        return touchEventNames[name];
+    }
+    else if (supportsMouseEvents()) {
+        return mouseEventNames[name];
     }
+    return name;
+}
+function addPointerEvent(target, eventName, handler, options) {
+    return addDomEvent(target, getPointerEventName(eventName), wrapHandler(handler, eventName === "pointerdown"), options);
+}
+function usePointerEvent(ref, eventName, handler, options) {
+    return useDomEvent(ref, getPointerEventName(eventName), handler && wrapHandler(handler, eventName === "pointerdown"), options);
+}

-    onFocus(event, {
-      side
-    });
-  };

-  const createHandleOnHoverOn = side => () => {
-    if (!onHoverOn) {
-      return;
-    }

-    if (side === 'vertical') {
-      onHoverOn({
-        top: true,
-        bottom: true
-      });
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/drag/utils/lock.js
+function createLock(name) {
+    var lock = null;
+    return function () {
+        var openLock = function () {
+            lock = null;
+        };
+        if (lock === null) {
+            lock = name;
+            return openLock;
+        }
+        return false;
+    };
+}
+var globalHorizontalLock = createLock("dragHorizontal");
+var globalVerticalLock = createLock("dragVertical");
+function getGlobalLock(drag) {
+    var lock = false;
+    if (drag === "y") {
+        lock = globalVerticalLock();
     }
-
-    if (side === 'horizontal') {
-      onHoverOn({
-        left: true,
-        right: true
-      });
+    else if (drag === "x") {
+        lock = globalHorizontalLock();
     }
-  };
-
-  const createHandleOnHoverOff = side => () => {
-    if (!onHoverOff) {
-      return;
+    else {
+        var openHorizontal_1 = globalHorizontalLock();
+        var openVertical_1 = globalVerticalLock();
+        if (openHorizontal_1 && openVertical_1) {
+            lock = function () {
+                openHorizontal_1();
+                openVertical_1();
+            };
+        }
+        else {
+            // Release the locks because we don't use them
+            if (openHorizontal_1)
+                openHorizontal_1();
+            if (openVertical_1)
+                openVertical_1();
+        }
     }
+    return lock;
+}
+function isDragActive() {
+    // Check the gesture lock - if we get it, it means no drag gesture is active
+    // and we can safely fire the tap gesture.
+    var openGestureLock = getGlobalLock(true);
+    if (!openGestureLock)
+        return true;
+    openGestureLock();
+    return false;
+}

-    if (side === 'vertical') {
-      onHoverOff({
-        top: false,
-        bottom: false
-      });
-    }

-    if (side === 'horizontal') {
-      onHoverOff({
-        left: false,
-        right: false
-      });
-    }
-  };

-  const createHandleOnChange = side => next => {
-    if (!onChange) {
-      return;
-    }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/use-hover-gesture.js

-    const nextValues = { ...values
-    };
-    const isNumeric = !isNaN(parseFloat(next));
-    const nextValue = isNumeric ? next : undefined;

-    if (side === 'vertical') {
-      nextValues.top = nextValue;
-      nextValues.bottom = nextValue;
-    }

-    if (side === 'horizontal') {
-      nextValues.left = nextValue;
-      nextValues.right = nextValue;
-    }

-    onChange(nextValues);
-  };

-  const createHandleOnUnitChange = side => next => {
-    const newUnits = { ...selectedUnits
+function createHoverEvent(visualElement, isActive, callback) {
+    return function (event, info) {
+        var _a;
+        if (!isMouseEvent(event) || isDragActive())
+            return;
+        callback === null || callback === void 0 ? void 0 : callback(event, info);
+        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Hover, isActive);
     };
+}
+function useHoverGesture(_a) {
+    var onHoverStart = _a.onHoverStart, onHoverEnd = _a.onHoverEnd, whileHover = _a.whileHover, visualElement = _a.visualElement;
+    usePointerEvent(visualElement, "pointerenter", onHoverStart || whileHover
+        ? createHoverEvent(visualElement, true, onHoverStart)
+        : undefined);
+    usePointerEvent(visualElement, "pointerleave", onHoverEnd || whileHover
+        ? createHoverEvent(visualElement, false, onHoverEnd)
+        : undefined);
+}

-    if (side === 'vertical') {
-      newUnits.top = next;
-      newUnits.bottom = next;
-    }

-    if (side === 'horizontal') {
-      newUnits.left = next;
-      newUnits.right = next;
-    }

-    setSelectedUnits(newUnits);
-  }; // Filter sides if custom configuration provided, maintaining default order.
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.js
+/**
+ * Recursively traverse up the tree to check whether the provided child node
+ * is the parent or a descendant of it.
+ *
+ * @param parent - Element to find
+ * @param child - Element to test against parent
+ */
+var isNodeOrChild = function (parent, child) {
+    if (!child) {
+        return false;
+    }
+    else if (parent === child) {
+        return true;
+    }
+    else {
+        return isNodeOrChild(parent, child.parentElement);
+    }
+};


-  const filteredSides = sides !== null && sides !== void 0 && sides.length ? groupedSides.filter(side => sides.includes(side)) : groupedSides;
-  const first = filteredSides[0];
-  const last = filteredSides[filteredSides.length - 1];
-  const only = first === last;
-  return Object(external_wp_element_["createElement"])(Layout, {
-    gap: 0,
-    align: "top",
-    className: "component-box-control__vertical-horizontal-input-controls"
-  }, filteredSides.map(side => Object(external_wp_element_["createElement"])(BoxUnitControl, Object(esm_extends["a" /* default */])({}, props, {
-    isFirst: first === side,
-    isLast: last === side,
-    isOnly: only === side,
-    value: side === 'vertical' ? values.top : values.left,
-    unit: side === 'vertical' ? selectedUnits.top : selectedUnits.left,
-    onChange: createHandleOnChange(side),
-    onUnitChange: createHandleOnUnitChange(side),
-    onFocus: createHandleOnFocus(side),
-    onHoverOn: createHandleOnHoverOn(side),
-    onHoverOff: createHandleOnHoverOff(side),
-    label: LABELS[side],
-    key: side
-  }))));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/styles/box-control-icon-styles.js
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/use-unmount-effect.js


-function box_control_icon_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+function useUnmountEffect(callback) {
+    return (0,external_React_.useEffect)(function () { return function () { return callback(); }; }, []);
+}

-/**
- * External dependencies
- */

-const box_control_icon_styles_Root = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "eaw9yqk8"
-} : undefined)( true ? {
-  name: "1w884gc",
-  styles: "box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px"
-} : undefined);
-const Viewbox = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "eaw9yqk7"
-} : undefined)( true ? {
-  name: "i6vjox",
-  styles: "box-sizing:border-box;display:block;position:relative;width:100%;height:100%"
-} : undefined);

-const strokeFocus = _ref => {
-  let {
-    isFocused
-  } = _ref;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    backgroundColor: 'currentColor',
-    opacity: isFocused ? 1 : 0.3
-  },  true ? "" : undefined,  true ? "" : undefined);
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/pipe.js
+var combineFunctions = function (a, b) { return function (v) { return b(a(v)); }; };
+var pipe = function () {
+    var transformers = [];
+    for (var _i = 0; _i < arguments.length; _i++) {
+        transformers[_i] = arguments[_i];
+    }
+    return transformers.reduce(combineFunctions);
 };

-const Stroke = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "eaw9yqk6"
-} : undefined)("box-sizing:border-box;display:block;pointer-events:none;position:absolute;", strokeFocus, ";" + ( true ? "" : undefined));

-const VerticalStroke = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(Stroke,  true ? {
-  target: "eaw9yqk5"
-} : undefined)( true ? {
-  name: "1k2w39q",
-  styles: "bottom:3px;top:3px;width:2px"
-} : undefined);

-const HorizontalStroke = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(Stroke,  true ? {
-  target: "eaw9yqk4"
-} : undefined)( true ? {
-  name: "1q9b07k",
-  styles: "height:2px;left:3px;right:3px"
-} : undefined);
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/use-tap-gesture.js

-const TopStroke = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(HorizontalStroke,  true ? {
-  target: "eaw9yqk3"
-} : undefined)( true ? {
-  name: "abcix4",
-  styles: "top:0"
-} : undefined);
-const RightStroke = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(VerticalStroke,  true ? {
-  target: "eaw9yqk2"
-} : undefined)( true ? {
-  name: "1wf8jf",
-  styles: "right:0"
-} : undefined);
-const BottomStroke = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(HorizontalStroke,  true ? {
-  target: "eaw9yqk1"
-} : undefined)( true ? {
-  name: "8tapst",
-  styles: "bottom:0"
-} : undefined);
-const LeftStroke = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(VerticalStroke,  true ? {
-  target: "eaw9yqk0"
-} : undefined)( true ? {
-  name: "1ode3cm",
-  styles: "left:0"
-} : undefined);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/icon.js



-/**
- * Internal dependencies
- */

-const BASE_ICON_SIZE = 24;
-function BoxControlIcon(_ref) {
-  let {
-    size = 24,
-    side = 'all',
-    sides,
-    ...props
-  } = _ref;

-  const isSideDisabled = value => (sides === null || sides === void 0 ? void 0 : sides.length) && !sides.includes(value);

-  const hasSide = value => {
-    if (isSideDisabled(value)) {
-      return false;
+/**
+ * @param handlers -
+ * @internal
+ */
+function useTapGesture(_a) {
+    var onTap = _a.onTap, onTapStart = _a.onTapStart, onTapCancel = _a.onTapCancel, whileTap = _a.whileTap, visualElement = _a.visualElement;
+    var hasPressListeners = onTap || onTapStart || onTapCancel || whileTap;
+    var isPressing = (0,external_React_.useRef)(false);
+    var cancelPointerEndListeners = (0,external_React_.useRef)(null);
+    function removePointerEndListener() {
+        var _a;
+        (_a = cancelPointerEndListeners.current) === null || _a === void 0 ? void 0 : _a.call(cancelPointerEndListeners);
+        cancelPointerEndListeners.current = null;
+    }
+    function checkPointerEnd() {
+        var _a;
+        removePointerEndListener();
+        isPressing.current = false;
+        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Tap, false);
+        return !isDragActive();
+    }
+    function onPointerUp(event, info) {
+        if (!checkPointerEnd())
+            return;
+        /**
+         * We only count this as a tap gesture if the event.target is the same
+         * as, or a child of, this component's element
+         */
+        !isNodeOrChild(visualElement.getInstance(), event.target)
+            ? onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event, info)
+            : onTap === null || onTap === void 0 ? void 0 : onTap(event, info);
+    }
+    function onPointerCancel(event, info) {
+        if (!checkPointerEnd())
+            return;
+        onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event, info);
+    }
+    function onPointerDown(event, info) {
+        var _a;
+        removePointerEndListener();
+        if (isPressing.current)
+            return;
+        isPressing.current = true;
+        cancelPointerEndListeners.current = pipe(addPointerEvent(window, "pointerup", onPointerUp), addPointerEvent(window, "pointercancel", onPointerCancel));
+        onTapStart === null || onTapStart === void 0 ? void 0 : onTapStart(event, info);
+        (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Tap, true);
     }
+    usePointerEvent(visualElement, "pointerdown", hasPressListeners ? onPointerDown : undefined);
+    useUnmountEffect(removePointerEndListener);
+}

-    return side === 'all' || side === value;
-  };

-  const top = hasSide('top') || hasSide('vertical');
-  const right = hasSide('right') || hasSide('horizontal');
-  const bottom = hasSide('bottom') || hasSide('vertical');
-  const left = hasSide('left') || hasSide('horizontal'); // Simulates SVG Icon scaling

-  const scale = size / BASE_ICON_SIZE;
-  return Object(external_wp_element_["createElement"])(box_control_icon_styles_Root, Object(esm_extends["a" /* default */])({
-    style: {
-      transform: `scale(${scale})`
-    }
-  }, props), Object(external_wp_element_["createElement"])(Viewbox, null, Object(external_wp_element_["createElement"])(TopStroke, {
-    isFocused: top
-  }), Object(external_wp_element_["createElement"])(RightStroke, {
-    isFocused: right
-  }), Object(external_wp_element_["createElement"])(BottomStroke, {
-    isFocused: bottom
-  }), Object(external_wp_element_["createElement"])(LeftStroke, {
-    isFocused: left
-  })));
-}
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/utils/make-renderless-component.js
+var makeRenderlessComponent = function (hook) { return function (props) {
+    hook(props);
+    return null;
+}; };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
-var library_link = __webpack_require__("Bpkj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
-var link_off = __webpack_require__("Mp0b");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/linked-button.js
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/gestures.js



-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */
+var gestureAnimations = {
+    tap: makeRenderlessComponent(useTapGesture),
+    focus: makeRenderlessComponent(useFocusGesture),
+    hover: makeRenderlessComponent(useHoverGesture),
+};



-function LinkedButton(_ref) {
-  let {
-    isLinked,
-    ...props
-  } = _ref;
-  const label = isLinked ? Object(external_wp_i18n_["__"])('Unlink Sides') : Object(external_wp_i18n_["__"])('Link Sides');
-  return Object(external_wp_element_["createElement"])(build_module_tooltip["a" /* default */], {
-    text: label
-  }, Object(external_wp_element_["createElement"])("span", null, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, props, {
-    className: "component-box-control__linked-button",
-    variant: isLinked ? 'primary' : 'secondary',
-    isSmall: true,
-    icon: isLinked ? library_link["a" /* default */] : link_off["a" /* default */],
-    iconSize: 16,
-    "aria-label": label
-  }))));
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/shallow-compare.js
+function shallowCompare(next, prev) {
+    if (!Array.isArray(prev))
+        return false;
+    var prevLength = prev.length;
+    if (prevLength !== next.length)
+        return false;
+    for (var i = 0; i < prevLength; i++) {
+        if (prev[i] !== next[i])
+            return false;
+    }
+    return true;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/styles/box-control-visualizer-styles.js


-function box_control_visualizer_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+;// CONCATENATED MODULE: ./node_modules/hey-listen/dist/hey-listen.es.js
+var warning = function () { };
+var invariant = function () { };
+if (false) {}

-/**
- * External dependencies
- */


-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/clamp.js
+var clamp_clamp = function (min, max, v) {
+    return Math.min(Math.max(v, min), max);
+};


-var box_control_visualizer_styles_ref =  true ? {
-  name: "11f5o9n",
-  styles: "bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1"
-} : undefined;
-
-const containerPositionStyles = _ref2 => {
-  let {
-    isPositionAbsolute
-  } = _ref2;
-  if (!isPositionAbsolute) return '';
-  return box_control_visualizer_styles_ref;
-};
-
-const box_control_visualizer_styles_Container = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1df9b4q5"
-} : undefined)("box-sizing:border-box;position:relative;", containerPositionStyles, ";" + ( true ? "" : undefined));
-const Side = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1df9b4q4"
-} : undefined)("box-sizing:border-box;background:", COLORS.blue.wordpress[700], ";background:", COLORS.ui.theme, ";filter:brightness( 1 );opacity:0;position:absolute;pointer-events:none;transition:opacity 120ms linear;z-index:1;", _ref3 => {
-  let {
-    isActive
-  } = _ref3;
-  return isActive && `
-		opacity: 0.3;
-	`;
-}, ";" + ( true ? "" : undefined));
-const TopView = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(Side,  true ? {
-  target: "e1df9b4q3"
-} : undefined)( true ? {
-  name: "5i97ct",
-  styles: "top:0;left:0;right:0"
-} : undefined);
-const RightView = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(Side,  true ? {
-  target: "e1df9b4q2"
-} : undefined)("top:0;bottom:0;", rtl_rtl({
-  right: 0
-}), ";" + ( true ? "" : undefined));
-const BottomView = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(Side,  true ? {
-  target: "e1df9b4q1"
-} : undefined)( true ? {
-  name: "8cxke2",
-  styles: "bottom:0;left:0;right:0"
-} : undefined);
-const LeftView = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(Side,  true ? {
-  target: "e1df9b4q0"
-} : undefined)("top:0;bottom:0;", rtl_rtl({
-  left: 0
-}), ";" + ( true ? "" : undefined));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/visualizer.js

+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/utils/find-spring.js


-/**
- * WordPress dependencies
- */

-/**
- * Internal dependencies
- */
+var safeMin = 0.001;
+var minDuration = 0.01;
+var maxDuration = 10.0;
+var minDamping = 0.05;
+var maxDamping = 1;
+function findSpring(_a) {
+    var _b = _a.duration, duration = _b === void 0 ? 800 : _b, _c = _a.bounce, bounce = _c === void 0 ? 0.25 : _c, _d = _a.velocity, velocity = _d === void 0 ? 0 : _d, _e = _a.mass, mass = _e === void 0 ? 1 : _e;
+    var envelope;
+    var derivative;
+    warning(duration <= maxDuration * 1000, "Spring duration must be 10 seconds or less");
+    var dampingRatio = 1 - bounce;
+    dampingRatio = clamp_clamp(minDamping, maxDamping, dampingRatio);
+    duration = clamp_clamp(minDuration, maxDuration, duration / 1000);
+    if (dampingRatio < 1) {
+        envelope = function (undampedFreq) {
+            var exponentialDecay = undampedFreq * dampingRatio;
+            var delta = exponentialDecay * duration;
+            var a = exponentialDecay - velocity;
+            var b = calcAngularFreq(undampedFreq, dampingRatio);
+            var c = Math.exp(-delta);
+            return safeMin - (a / b) * c;
+        };
+        derivative = function (undampedFreq) {
+            var exponentialDecay = undampedFreq * dampingRatio;
+            var delta = exponentialDecay * duration;
+            var d = delta * velocity + velocity;
+            var e = Math.pow(dampingRatio, 2) * Math.pow(undampedFreq, 2) * duration;
+            var f = Math.exp(-delta);
+            var g = calcAngularFreq(Math.pow(undampedFreq, 2), dampingRatio);
+            var factor = -envelope(undampedFreq) + safeMin > 0 ? -1 : 1;
+            return (factor * ((d - e) * f)) / g;
+        };
+    }
+    else {
+        envelope = function (undampedFreq) {
+            var a = Math.exp(-undampedFreq * duration);
+            var b = (undampedFreq - velocity) * duration + 1;
+            return -safeMin + a * b;
+        };
+        derivative = function (undampedFreq) {
+            var a = Math.exp(-undampedFreq * duration);
+            var b = (velocity - undampedFreq) * (duration * duration);
+            return a * b;
+        };
+    }
+    var initialGuess = 5 / duration;
+    var undampedFreq = approximateRoot(envelope, derivative, initialGuess);
+    duration = duration * 1000;
+    if (isNaN(undampedFreq)) {
+        return {
+            stiffness: 100,
+            damping: 10,
+            duration: duration,
+        };
+    }
+    else {
+        var stiffness = Math.pow(undampedFreq, 2) * mass;
+        return {
+            stiffness: stiffness,
+            damping: dampingRatio * 2 * Math.sqrt(mass * stiffness),
+            duration: duration,
+        };
+    }
+}
+var rootIterations = 12;
+function approximateRoot(envelope, derivative, initialGuess) {
+    var result = initialGuess;
+    for (var i = 1; i < rootIterations; i++) {
+        result = result - envelope(result) / derivative(result);
+    }
+    return result;
+}
+function calcAngularFreq(undampedFreq, dampingRatio) {
+    return undampedFreq * Math.sqrt(1 - dampingRatio * dampingRatio);
+}



-function BoxControlVisualizer(_ref) {
-  let {
-    children,
-    showValues = DEFAULT_VISUALIZER_VALUES,
-    values: valuesProp = DEFAULT_VALUES,
-    ...props
-  } = _ref;
-  const isPositionAbsolute = !children;
-  return Object(external_wp_element_["createElement"])(box_control_visualizer_styles_Container, Object(esm_extends["a" /* default */])({}, props, {
-    isPositionAbsolute: isPositionAbsolute,
-    "aria-hidden": "true"
-  }), Object(external_wp_element_["createElement"])(Sides, {
-    showValues: showValues,
-    values: valuesProp
-  }), children);
-}
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/generators/spring.js

-function Sides(_ref2) {
-  let {
-    showValues = DEFAULT_VISUALIZER_VALUES,
-    values
-  } = _ref2;
-  const {
-    top,
-    right,
-    bottom,
-    left
-  } = values;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(Top, {
-    isVisible: showValues.top,
-    value: top
-  }), Object(external_wp_element_["createElement"])(Right, {
-    isVisible: showValues.right,
-    value: right
-  }), Object(external_wp_element_["createElement"])(Bottom, {
-    isVisible: showValues.bottom,
-    value: bottom
-  }), Object(external_wp_element_["createElement"])(Left, {
-    isVisible: showValues.left,
-    value: left
-  }));
-}

-function Top(_ref3) {
-  let {
-    isVisible = false,
-    value
-  } = _ref3;
-  const height = value;
-  const animationProps = useSideAnimation(height);
-  const isActive = animationProps.isActive || isVisible;
-  return Object(external_wp_element_["createElement"])(TopView, {
-    isActive: isActive,
-    style: {
-      height
-    }
-  });
-}

-function Right(_ref4) {
-  let {
-    isVisible = false,
-    value
-  } = _ref4;
-  const width = value;
-  const animationProps = useSideAnimation(width);
-  const isActive = animationProps.isActive || isVisible;
-  return Object(external_wp_element_["createElement"])(RightView, {
-    isActive: isActive,
-    style: {
-      width
-    }
-  });
+var durationKeys = ["duration", "bounce"];
+var physicsKeys = ["stiffness", "damping", "mass"];
+function isSpringType(options, keys) {
+    return keys.some(function (key) { return options[key] !== undefined; });
 }
-
-function Bottom(_ref5) {
-  let {
-    isVisible = false,
-    value
-  } = _ref5;
-  const height = value;
-  const animationProps = useSideAnimation(height);
-  const isActive = animationProps.isActive || isVisible;
-  return Object(external_wp_element_["createElement"])(BottomView, {
-    isActive: isActive,
-    style: {
-      height
+function getSpringOptions(options) {
+    var springOptions = __assign({ velocity: 0.0, stiffness: 100, damping: 10, mass: 1.0, isResolvedFromDuration: false }, options);
+    if (!isSpringType(options, physicsKeys) &&
+        isSpringType(options, durationKeys)) {
+        var derived = findSpring(options);
+        springOptions = __assign(__assign(__assign({}, springOptions), derived), { velocity: 0.0, mass: 1.0 });
+        springOptions.isResolvedFromDuration = true;
     }
-  });
+    return springOptions;
 }
-
-function Left(_ref6) {
-  let {
-    isVisible = false,
-    value
-  } = _ref6;
-  const width = value;
-  const animationProps = useSideAnimation(width);
-  const isActive = animationProps.isActive || isVisible;
-  return Object(external_wp_element_["createElement"])(LeftView, {
-    isActive: isActive,
-    style: {
-      width
+function spring(_a) {
+    var _b = _a.from, from = _b === void 0 ? 0.0 : _b, _c = _a.to, to = _c === void 0 ? 1.0 : _c, _d = _a.restSpeed, restSpeed = _d === void 0 ? 2 : _d, restDelta = _a.restDelta, options = __rest(_a, ["from", "to", "restSpeed", "restDelta"]);
+    var state = { done: false, value: from };
+    var _e = getSpringOptions(options), stiffness = _e.stiffness, damping = _e.damping, mass = _e.mass, velocity = _e.velocity, duration = _e.duration, isResolvedFromDuration = _e.isResolvedFromDuration;
+    var resolveSpring = zero;
+    var resolveVelocity = zero;
+    function createSpring() {
+        var initialVelocity = velocity ? -(velocity / 1000) : 0.0;
+        var initialDelta = to - from;
+        var dampingRatio = damping / (2 * Math.sqrt(stiffness * mass));
+        var undampedAngularFreq = Math.sqrt(stiffness / mass) / 1000;
+        restDelta !== null && restDelta !== void 0 ? restDelta : (restDelta = Math.abs(to - from) <= 1 ? 0.01 : 0.4);
+        if (dampingRatio < 1) {
+            var angularFreq_1 = calcAngularFreq(undampedAngularFreq, dampingRatio);
+            resolveSpring = function (t) {
+                var envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);
+                return (to -
+                    envelope *
+                        (((initialVelocity +
+                            dampingRatio * undampedAngularFreq * initialDelta) /
+                            angularFreq_1) *
+                            Math.sin(angularFreq_1 * t) +
+                            initialDelta * Math.cos(angularFreq_1 * t)));
+            };
+            resolveVelocity = function (t) {
+                var envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);
+                return (dampingRatio *
+                    undampedAngularFreq *
+                    envelope *
+                    ((Math.sin(angularFreq_1 * t) *
+                        (initialVelocity +
+                            dampingRatio *
+                                undampedAngularFreq *
+                                initialDelta)) /
+                        angularFreq_1 +
+                        initialDelta * Math.cos(angularFreq_1 * t)) -
+                    envelope *
+                        (Math.cos(angularFreq_1 * t) *
+                            (initialVelocity +
+                                dampingRatio *
+                                    undampedAngularFreq *
+                                    initialDelta) -
+                            angularFreq_1 *
+                                initialDelta *
+                                Math.sin(angularFreq_1 * t)));
+            };
+        }
+        else if (dampingRatio === 1) {
+            resolveSpring = function (t) {
+                return to -
+                    Math.exp(-undampedAngularFreq * t) *
+                        (initialDelta +
+                            (initialVelocity + undampedAngularFreq * initialDelta) *
+                                t);
+            };
+        }
+        else {
+            var dampedAngularFreq_1 = undampedAngularFreq * Math.sqrt(dampingRatio * dampingRatio - 1);
+            resolveSpring = function (t) {
+                var envelope = Math.exp(-dampingRatio * undampedAngularFreq * t);
+                var freqForT = Math.min(dampedAngularFreq_1 * t, 300);
+                return (to -
+                    (envelope *
+                        ((initialVelocity +
+                            dampingRatio * undampedAngularFreq * initialDelta) *
+                            Math.sinh(freqForT) +
+                            dampedAngularFreq_1 *
+                                initialDelta *
+                                Math.cosh(freqForT))) /
+                        dampedAngularFreq_1);
+            };
+        }
     }
-  });
+    createSpring();
+    return {
+        next: function (t) {
+            var current = resolveSpring(t);
+            if (!isResolvedFromDuration) {
+                var currentVelocity = resolveVelocity(t) * 1000;
+                var isBelowVelocityThreshold = Math.abs(currentVelocity) <= restSpeed;
+                var isBelowDisplacementThreshold = Math.abs(to - current) <= restDelta;
+                state.done =
+                    isBelowVelocityThreshold && isBelowDisplacementThreshold;
+            }
+            else {
+                state.done = t >= duration;
+            }
+            state.value = state.done ? to : current;
+            return state;
+        },
+        flipTarget: function () {
+            var _a;
+            velocity = -velocity;
+            _a = [to, from], from = _a[0], to = _a[1];
+            createSpring();
+        },
+    };
 }
-/**
- * Custom hook that renders the "flash" animation whenever the value changes.
- *
- * @param {string} value Value of (box) side.
- */
-
-
-function useSideAnimation(value) {
-  const [isActive, setIsActive] = Object(external_wp_element_["useState"])(false);
-  const valueRef = Object(external_wp_element_["useRef"])(value);
-  const timeoutRef = Object(external_wp_element_["useRef"])();
-
-  const clearTimer = () => {
-    if (timeoutRef.current) {
-      window.clearTimeout(timeoutRef.current);
-    }
-  };
+spring.needsInterpolation = function (a, b) {
+    return typeof a === "string" || typeof b === "string";
+};
+var zero = function (_t) { return 0; };

-  Object(external_wp_element_["useEffect"])(() => {
-    if (value !== valueRef.current) {
-      setIsActive(true);
-      valueRef.current = value;
-      clearTimer();
-      timeoutRef.current = setTimeout(() => {
-        setIsActive(false);
-      }, 400);
-    }

-    return () => clearTimer();
-  }, [value]);
-  return {
-    isActive
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/index.js
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/progress.js
+var progress = function (from, to, value) {
+    var toFromDifference = to - from;
+    return toFromDifference === 0 ? 1 : (value - from) / toFromDifference;
+};



-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/mix.js
+var mix = function (from, to, progress) {
+    return -progress * from + progress * to + from;
+};

-/**
- * WordPress dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/utils.js


-/**
- * Internal dependencies
- */
+var isColorString = function (type, testProp) { return function (v) {
+    return Boolean((isString(v) && singleColorRegex.test(v) && v.startsWith(type)) ||
+        (testProp && Object.prototype.hasOwnProperty.call(v, testProp)));
+}; };
+var splitColor = function (aName, bName, cName) { return function (v) {
+    var _a;
+    if (!isString(v))
+        return v;
+    var _b = v.match(floatRegex), a = _b[0], b = _b[1], c = _b[2], alpha = _b[3];
+    return _a = {},
+        _a[aName] = parseFloat(a),
+        _a[bName] = parseFloat(b),
+        _a[cName] = parseFloat(c),
+        _a.alpha = alpha !== undefined ? parseFloat(alpha) : 1,
+        _a;
+}; };



+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/rgba.js





+var clampRgbUnit = clamp(0, 255);
+var rgbUnit = __assign(__assign({}, number), { transform: function (v) { return Math.round(clampRgbUnit(v)); } });
+var rgba_rgba = {
+    test: isColorString('rgb', 'red'),
+    parse: splitColor('red', 'green', 'blue'),
+    transform: function (_a) {
+        var red = _a.red, green = _a.green, blue = _a.blue, _b = _a.alpha, alpha$1 = _b === void 0 ? 1 : _b;
+        return 'rgba(' +
+            rgbUnit.transform(red) +
+            ', ' +
+            rgbUnit.transform(green) +
+            ', ' +
+            rgbUnit.transform(blue) +
+            ', ' +
+            sanitize(alpha.transform(alpha$1)) +
+            ')';
+    },
+};



+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/hex.js



-const defaultInputProps = {
-  min: 0
+function parseHex(v) {
+    var r = '';
+    var g = '';
+    var b = '';
+    var a = '';
+    if (v.length > 5) {
+        r = v.substr(1, 2);
+        g = v.substr(3, 2);
+        b = v.substr(5, 2);
+        a = v.substr(7, 2);
+    }
+    else {
+        r = v.substr(1, 1);
+        g = v.substr(2, 1);
+        b = v.substr(3, 1);
+        a = v.substr(4, 1);
+        r += r;
+        g += g;
+        b += b;
+        a += a;
+    }
+    return {
+        red: parseInt(r, 16),
+        green: parseInt(g, 16),
+        blue: parseInt(b, 16),
+        alpha: a ? parseInt(a, 16) / 255 : 1,
+    };
+}
+var hex = {
+    test: isColorString('#'),
+    parse: parseHex,
+    transform: rgba_rgba.transform,
 };

-function box_control_useUniqueId(idProp) {
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(BoxControl, 'inspector-box-control');
-  return idProp || instanceId;
-}

-function BoxControl(_ref) {
-  let {
-    id: idProp,
-    inputProps = defaultInputProps,
-    onChange = external_lodash_["noop"],
-    onChangeShowVisualizer = external_lodash_["noop"],
-    label = Object(external_wp_i18n_["__"])('Box Control'),
-    values: valuesProp,
-    units,
-    sides,
-    splitOnAxis = false,
-    allowReset = true,
-    resetValues = DEFAULT_VALUES
-  } = _ref;
-  const [values, setValues] = use_controlled_state(valuesProp, {
-    fallback: DEFAULT_VALUES
-  });
-  const inputValues = values || DEFAULT_VALUES;
-  const hasInitialValue = isValuesDefined(valuesProp);
-  const hasOneSide = (sides === null || sides === void 0 ? void 0 : sides.length) === 1;
-  const [isDirty, setIsDirty] = Object(external_wp_element_["useState"])(hasInitialValue);
-  const [isLinked, setIsLinked] = Object(external_wp_element_["useState"])(!hasInitialValue || !isValuesMixed(inputValues) || hasOneSide);
-  const [side, setSide] = Object(external_wp_element_["useState"])(getInitialSide(isLinked, splitOnAxis)); // Tracking selected units via internal state allows filtering of CSS unit
-  // only values from being saved while maintaining preexisting unit selection
-  // behaviour. Filtering CSS only values prevents invalid style values.

-  const [selectedUnits, setSelectedUnits] = Object(external_wp_element_["useState"])({
-    top: parseUnit(valuesProp === null || valuesProp === void 0 ? void 0 : valuesProp.top)[1],
-    right: parseUnit(valuesProp === null || valuesProp === void 0 ? void 0 : valuesProp.right)[1],
-    bottom: parseUnit(valuesProp === null || valuesProp === void 0 ? void 0 : valuesProp.bottom)[1],
-    left: parseUnit(valuesProp === null || valuesProp === void 0 ? void 0 : valuesProp.left)[1]
-  });
-  const id = box_control_useUniqueId(idProp);
-  const headingId = `${id}-heading`;
+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/hsla.js

-  const toggleLinked = () => {
-    setIsLinked(!isLinked);
-    setSide(getInitialSide(!isLinked, splitOnAxis));
-  };

-  const handleOnFocus = (event, _ref2) => {
-    let {
-      side: nextSide
-    } = _ref2;
-    setSide(nextSide);
-  };

-  const handleOnChange = nextValues => {
-    onChange(nextValues);
-    setValues(nextValues);
-    setIsDirty(true);
-  };

-  const handleOnHoverOn = function () {
-    let next = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    onChangeShowVisualizer({ ...DEFAULT_VISUALIZER_VALUES,
-      ...next
-    });
-  };

-  const handleOnHoverOff = function () {
-    let next = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    onChangeShowVisualizer({ ...DEFAULT_VISUALIZER_VALUES,
-      ...next
-    });
-  };
+var hsla = {
+    test: isColorString('hsl', 'hue'),
+    parse: splitColor('hue', 'saturation', 'lightness'),
+    transform: function (_a) {
+        var hue = _a.hue, saturation = _a.saturation, lightness = _a.lightness, _b = _a.alpha, alpha$1 = _b === void 0 ? 1 : _b;
+        return ('hsla(' +
+            Math.round(hue) +
+            ', ' +
+            percent.transform(sanitize(saturation)) +
+            ', ' +
+            percent.transform(sanitize(lightness)) +
+            ', ' +
+            sanitize(alpha.transform(alpha$1)) +
+            ')');
+    },
+};

-  const handleOnReset = () => {
-    onChange(resetValues);
-    setValues(resetValues);
-    setSelectedUnits(resetValues);
-    setIsDirty(false);
-  };

-  const inputControlProps = { ...inputProps,
-    onChange: handleOnChange,
-    onFocus: handleOnFocus,
-    onHoverOn: handleOnHoverOn,
-    onHoverOff: handleOnHoverOff,
-    isLinked,
-    units,
-    selectedUnits,
-    setSelectedUnits,
-    sides,
-    values: inputValues
-  };
-  return Object(external_wp_element_["createElement"])(box_control_styles_Root, {
-    id: id,
-    role: "region",
-    "aria-labelledby": headingId
-  }, Object(external_wp_element_["createElement"])(Header, {
-    className: "component-box-control__header"
-  }, Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_element_["createElement"])(text_component, {
-    id: headingId,
-    className: "component-box-control__label"
-  }, label)), allowReset && Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "component-box-control__reset-button",
-    isSecondary: true,
-    isSmall: true,
-    onClick: handleOnReset,
-    disabled: !isDirty
-  }, Object(external_wp_i18n_["__"])('Reset')))), Object(external_wp_element_["createElement"])(HeaderControlWrapper, {
-    className: "component-box-control__header-control-wrapper"
-  }, Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_element_["createElement"])(BoxControlIcon, {
-    side: side,
-    sides: sides
-  })), isLinked && Object(external_wp_element_["createElement"])(flex_block_component, null, Object(external_wp_element_["createElement"])(AllInputControl, Object(esm_extends["a" /* default */])({
-    "aria-label": label
-  }, inputControlProps))), !isLinked && splitOnAxis && Object(external_wp_element_["createElement"])(flex_block_component, null, Object(external_wp_element_["createElement"])(AxialInputControls, inputControlProps)), !hasOneSide && Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_element_["createElement"])(LinkedButton, {
-    onClick: toggleLinked,
-    isLinked: isLinked
-  }))), !isLinked && !splitOnAxis && Object(external_wp_element_["createElement"])(BoxInputControls, inputControlProps));
-}
-BoxControl.__Visualizer = BoxControlVisualizer;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button-group/index.js
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/mix-color.js



-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */
-
-
-
-function ButtonGroup(_ref, ref) {
-  let {
-    className,
-    ...props
-  } = _ref;
-  const classes = classnames_default()('components-button-group', className);
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-    ref: ref,
-    role: "group",
-    className: classes
-  }, props));
-}

-/* harmony default export */ var button_group = (Object(external_wp_element_["forwardRef"])(ButtonGroup));
+var mixLinearColor = function (from, to, v) {
+    var fromExpo = from * from;
+    var toExpo = to * to;
+    return Math.sqrt(Math.max(0, v * (toExpo - fromExpo) + fromExpo));
+};
+var colorTypes = [hex, rgba_rgba, hsla];
+var getColorType = function (v) {
+    return colorTypes.find(function (type) { return type.test(v); });
+};
+var notAnimatable = function (color) {
+    return "'" + color + "' is not an animatable color. Use the equivalent color code instead.";
+};
+var mixColor = function (from, to) {
+    var fromColorType = getColorType(from);
+    var toColorType = getColorType(to);
+    invariant(!!fromColorType, notAnimatable(from));
+    invariant(!!toColorType, notAnimatable(to));
+    invariant(fromColorType.transform === toColorType.transform, "Both colors must be hex/RGBA, OR both must be HSLA.");
+    var fromColor = fromColorType.parse(from);
+    var toColor = toColorType.parse(to);
+    var blended = __assign({}, fromColor);
+    var mixFunc = fromColorType === hsla ? mix : mixLinearColor;
+    return function (v) {
+        for (var key in blended) {
+            if (key !== "alpha") {
+                blended[key] = mixFunc(fromColor[key], toColor[key], v);
+            }
+        }
+        blended.alpha = mix(fromColor.alpha, toColor.alpha, v);
+        return fromColorType.transform(blended);
+    };
+};

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/ui/context/context-system-provider.js
-var context_system_provider = __webpack_require__("6zzY");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/elevation/styles.js
-function elevation_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/color/index.js

-const Elevation =  true ? {
-  name: "12ip69d",
-  styles: "background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"
-} : undefined;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/elevation/hook.js
-/**
- * External dependencies
- */


-/**
- * WordPress dependencies
- */

+var color = {
+    test: function (v) { return rgba_rgba.test(v) || hex.test(v) || hsla.test(v); },
+    parse: function (v) {
+        if (rgba_rgba.test(v)) {
+            return rgba_rgba.parse(v);
+        }
+        else if (hsla.test(v)) {
+            return hsla.parse(v);
+        }
+        else {
+            return hex.parse(v);
+        }
+    },
+    transform: function (v) {
+        return isString(v)
+            ? v
+            : v.hasOwnProperty('red')
+                ? rgba_rgba.transform(v)
+                : hsla.transform(v);
+    },
+};

-/**
- * Internal dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/complex/index.js



-/**
- * @param {number} value
- * @return {string} The box shadow value.
- */

-function getBoxShadow(value) {
-  const boxShadowColor = `rgba(0 ,0, 0, ${value / 20})`;
-  const boxShadow = `0 ${value}px ${value * 2}px 0
-	${boxShadowColor}`;
-  return boxShadow;
+var colorToken = '${c}';
+var numberToken = '${n}';
+function test(v) {
+    var _a, _b, _c, _d;
+    return (isNaN(v) &&
+        isString(v) &&
+        ((_b = (_a = v.match(floatRegex)) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) + ((_d = (_c = v.match(colorRegex)) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0) > 0);
 }
-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- */
-
-function useElevation(props) {
-  const {
-    active,
-    borderRadius = 'inherit',
-    className,
-    focus,
-    hover,
-    isInteractive = false,
-    offset = 0,
-    value = 0,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Elevation');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    /** @type {number | undefined} */
-    let hoverValue = !Object(external_lodash_["isNil"])(hover) ? hover : value * 2;
-    /** @type {number | undefined} */
-
-    let activeValue = !Object(external_lodash_["isNil"])(active) ? active : value / 2;
-
-    if (!isInteractive) {
-      hoverValue = !Object(external_lodash_["isNil"])(hover) ? hover : undefined;
-      activeValue = !Object(external_lodash_["isNil"])(active) ? active : undefined;
+function analyse(v) {
+    var values = [];
+    var numColors = 0;
+    var colors = v.match(colorRegex);
+    if (colors) {
+        numColors = colors.length;
+        v = v.replace(colorRegex, colorToken);
+        values.push.apply(values, colors.map(color.parse));
+    }
+    var numbers = v.match(floatRegex);
+    if (numbers) {
+        v = v.replace(floatRegex, numberToken);
+        values.push.apply(values, numbers.map(number.parse));
     }
+    return { values: values, numColors: numColors, tokenised: v };
+}
+function complex_parse(v) {
+    return analyse(v).values;
+}
+function createTransformer(v) {
+    var _a = analyse(v), values = _a.values, numColors = _a.numColors, tokenised = _a.tokenised;
+    var numValues = values.length;
+    return function (v) {
+        var output = tokenised;
+        for (var i = 0; i < numValues; i++) {
+            output = output.replace(i < numColors ? colorToken : numberToken, i < numColors ? color.transform(v[i]) : sanitize(v[i]));
+        }
+        return output;
+    };
+}
+var convertNumbersToZero = function (v) {
+    return typeof v === 'number' ? 0 : v;
+};
+function getAnimatableNone(v) {
+    var parsed = complex_parse(v);
+    var transformer = createTransformer(v);
+    return transformer(parsed.map(convertNumbersToZero));
+}
+var complex = { test: test, parse: complex_parse, createTransformer: createTransformer, getAnimatableNone: getAnimatableNone };

-    const transition = `box-shadow ${config_values.transitionDuration} ${config_values.transitionTimingFunction}`;
-    const sx = {};
-    sx.Base = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-      borderRadius,
-      bottom: offset,
-      boxShadow: getBoxShadow(value),
-      opacity: config_values.elevationIntensity,
-      left: offset,
-      right: offset,
-      top: offset,
-      transition
-    }, reduceMotion('transition'),  true ? "" : undefined,  true ? "" : undefined);

-    if (!Object(external_lodash_["isNil"])(hoverValue)) {
-      sx.hover = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("*:hover>&{box-shadow:", getBoxShadow(hoverValue), ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-    }

-    if (!Object(external_lodash_["isNil"])(activeValue)) {
-      sx.active = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("*:active>&{box-shadow:", getBoxShadow(activeValue), ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-    }
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/inc.js
+var zeroPoint = {
+    x: 0,
+    y: 0,
+    z: 0
+};
+var isNum = function (v) { return typeof v === 'number'; };

-    if (!Object(external_lodash_["isNil"])(focus)) {
-      sx.focus = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("*:focus>&{box-shadow:", getBoxShadow(focus), ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-    }

-    return cx(Elevation, sx.Base, sx.hover && sx.hover, sx.focus && sx.focus, sx.active && sx.active, className);
-  }, [active, borderRadius, className, focus, hover, isInteractive, offset, value]);
-  return { ...otherProps,
-    className: classes,
-    'aria-hidden': true
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/elevation/component.js
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/mix-complex.js



-/**
- * Internal dependencies
- */



-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- * @param {import('react').Ref<any>}                                                        forwardedRef
- */

-function component_Elevation(props, forwardedRef) {
-  const elevationProps = useElevation(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, elevationProps, {
-    ref: forwardedRef
-  }));
+
+function getMixer(origin, target) {
+    if (isNum(origin)) {
+        return function (v) { return mix(origin, target, v); };
+    }
+    else if (color.test(origin)) {
+        return mixColor(origin, target);
+    }
+    else {
+        return mixComplex(origin, target);
+    }
 }
-/**
- * `Elevation` is a core component that renders shadow, using the library's shadow system.
- *
- * The shadow effect is generated using the `value` prop.
- *
- * @example
- * ```jsx
- * import {
- *	__experimentalElevation as Elevation,
- *	__experimentalSurface as Surface,
- *	__experimentalText as Text,
- * } from '@wordpress/components';
- *
- * function Example() {
- * 	return (
- * 		<Surface>
- * 			<Text>Code is Poetry</Text>
- * 			<Elevation value={ 5 } />
- * 		</Surface>
- * 	);
- * }
- * ```
- */
+var mixArray = function (from, to) {
+    var output = tslib_es6_spreadArray([], from);
+    var numValues = output.length;
+    var blendValue = from.map(function (fromThis, i) { return getMixer(fromThis, to[i]); });
+    return function (v) {
+        for (var i = 0; i < numValues; i++) {
+            output[i] = blendValue[i](v);
+        }
+        return output;
+    };
+};
+var mixObject = function (origin, target) {
+    var output = __assign(__assign({}, origin), target);
+    var blendValue = {};
+    for (var key in output) {
+        if (origin[key] !== undefined && target[key] !== undefined) {
+            blendValue[key] = getMixer(origin[key], target[key]);
+        }
+    }
+    return function (v) {
+        for (var key in blendValue) {
+            output[key] = blendValue[key](v);
+        }
+        return output;
+    };
+};
+function mix_complex_analyse(value) {
+    var parsed = complex.parse(value);
+    var numValues = parsed.length;
+    var numNumbers = 0;
+    var numRGB = 0;
+    var numHSL = 0;
+    for (var i = 0; i < numValues; i++) {
+        if (numNumbers || typeof parsed[i] === "number") {
+            numNumbers++;
+        }
+        else {
+            if (parsed[i].hue !== undefined) {
+                numHSL++;
+            }
+            else {
+                numRGB++;
+            }
+        }
+    }
+    return { parsed: parsed, numNumbers: numNumbers, numRGB: numRGB, numHSL: numHSL };
+}
+var mixComplex = function (origin, target) {
+    var template = complex.createTransformer(target);
+    var originStats = mix_complex_analyse(origin);
+    var targetStats = mix_complex_analyse(target);
+    invariant(originStats.numHSL === targetStats.numHSL &&
+        originStats.numRGB === targetStats.numRGB &&
+        originStats.numNumbers >= targetStats.numNumbers, "Complex values '" + origin + "' and '" + target + "' too different to mix. Ensure all colors are of the same type.");
+    return pipe(mixArray(originStats.parsed, targetStats.parsed), template);
+};


-const ConnectedElevation = Object(context_connect["a" /* contextConnect */])(component_Elevation, 'Elevation');
-/* harmony default export */ var elevation_component = (ConnectedElevation);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/styles.js
-function card_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/interpolate.js

-/**
- * External dependencies
- */

-/**
- * Internal dependencies
- */


-const Card = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("box-shadow:0 0 0 1px ", config_values.surfaceBorderColor, ";outline:none;" + ( true ? "" : undefined),  true ? "" : undefined);
-const styles_Header =  true ? {
-  name: "1showjb",
-  styles: "border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"
-} : undefined;
-const Footer =  true ? {
-  name: "14n5oej",
-  styles: "border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"
-} : undefined;
-const Content =  true ? {
-  name: "13udsys",
-  styles: "height:100%"
-} : undefined;
-const Body =  true ? {
-  name: "6ywzd",
-  styles: "box-sizing:border-box;height:auto;max-height:100%"
-} : undefined;
-const Media =  true ? {
-  name: "dq805e",
-  styles: "box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"
-} : undefined;
-const Divider =  true ? {
-  name: "c990dr",
-  styles: "box-sizing:border-box;display:block;width:100%"
-} : undefined;
-const styles_borderRadius = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("&:first-of-type{border-top-left-radius:", config_values.cardBorderRadius, ";border-top-right-radius:", config_values.cardBorderRadius, ";}&:last-of-type{border-bottom-left-radius:", config_values.cardBorderRadius, ";border-bottom-right-radius:", config_values.cardBorderRadius, ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-const styles_borderColor = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("border-color:", config_values.colorDivider, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const boxShadowless =  true ? {
-  name: "1t90u8d",
-  styles: "box-shadow:none"
-} : undefined;
-const borderless =  true ? {
-  name: "1e1ncky",
-  styles: "border:none"
-} : undefined;
-const styles_rounded = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("border-radius:", config_values.cardBorderRadius, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const xSmallCardPadding = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding:", config_values.cardPaddingXSmall, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const cardPaddings = {
-  large: /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding:", config_values.cardPaddingLarge, ";" + ( true ? "" : undefined),  true ? "" : undefined),
-  medium: /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding:", config_values.cardPaddingMedium, ";" + ( true ? "" : undefined),  true ? "" : undefined),
-  small: /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding:", config_values.cardPaddingSmall, ";" + ( true ? "" : undefined),  true ? "" : undefined),
-  xSmall: xSmallCardPadding,
-  // The `extraSmall` size is not officially documented, but the following styles
-  // are kept for legacy reasons to support older values of the `size` prop.
-  extraSmall: xSmallCardPadding
-};
-const shady = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background-color:", COLORS.lightGray[200], ";" + ( true ? "" : undefined),  true ? "" : undefined);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/surface/styles.js
-/**
- * External dependencies
- */

-/**
- * Internal dependencies
- */


-const Surface = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background-color:", config_values.surfaceColor, ";color:", COLORS.black, ";position:relative;" + ( true ? "" : undefined),  true ? "" : undefined);
-const styles_background = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background-color:", config_values.surfaceBackgroundColor, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-/**
- * @param {Object}  props
- * @param {boolean} [props.borderBottom]
- * @param {boolean} [props.borderLeft]
- * @param {boolean} [props.borderRight]
- * @param {boolean} [props.borderTop]
- */

-function getBorders(_ref) {
-  let {
-    borderBottom,
-    borderLeft,
-    borderRight,
-    borderTop
-  } = _ref;
-  const borderStyle = `1px solid ${config_values.surfaceBorderColor}`;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    borderBottom: borderBottom ? borderStyle : undefined,
-    borderLeft: borderLeft ? borderStyle : undefined,
-    borderRight: borderRight ? borderStyle : undefined,
-    borderTop: borderTop ? borderStyle : undefined
-  },  true ? "" : undefined,  true ? "" : undefined);
+var mixNumber = function (from, to) { return function (p) { return mix(from, to, p); }; };
+function detectMixerFactory(v) {
+    if (typeof v === 'number') {
+        return mixNumber;
+    }
+    else if (typeof v === 'string') {
+        if (color.test(v)) {
+            return mixColor;
+        }
+        else {
+            return mixComplex;
+        }
+    }
+    else if (Array.isArray(v)) {
+        return mixArray;
+    }
+    else if (typeof v === 'object') {
+        return mixObject;
+    }
+}
+function createMixers(output, ease, customMixer) {
+    var mixers = [];
+    var mixerFactory = customMixer || detectMixerFactory(output[0]);
+    var numMixers = output.length - 1;
+    for (var i = 0; i < numMixers; i++) {
+        var mixer = mixerFactory(output[i], output[i + 1]);
+        if (ease) {
+            var easingFunction = Array.isArray(ease) ? ease[i] : ease;
+            mixer = pipe(easingFunction, mixer);
+        }
+        mixers.push(mixer);
+    }
+    return mixers;
+}
+function fastInterpolate(_a, _b) {
+    var from = _a[0], to = _a[1];
+    var mixer = _b[0];
+    return function (v) { return mixer(progress(from, to, v)); };
+}
+function slowInterpolate(input, mixers) {
+    var inputLength = input.length;
+    var lastInputIndex = inputLength - 1;
+    return function (v) {
+        var mixerIndex = 0;
+        var foundMixerIndex = false;
+        if (v <= input[0]) {
+            foundMixerIndex = true;
+        }
+        else if (v >= input[lastInputIndex]) {
+            mixerIndex = lastInputIndex - 1;
+            foundMixerIndex = true;
+        }
+        if (!foundMixerIndex) {
+            var i = 1;
+            for (; i < inputLength; i++) {
+                if (input[i] > v || i === lastInputIndex) {
+                    break;
+                }
+            }
+            mixerIndex = i - 1;
+        }
+        var progressInRange = progress(input[mixerIndex], input[mixerIndex + 1], v);
+        return mixers[mixerIndex](progressInRange);
+    };
+}
+function interpolate(input, output, _a) {
+    var _b = _a === void 0 ? {} : _a, _c = _b.clamp, isClamp = _c === void 0 ? true : _c, ease = _b.ease, mixer = _b.mixer;
+    var inputLength = input.length;
+    invariant(inputLength === output.length, 'Both input and output ranges must be the same length');
+    invariant(!ease || !Array.isArray(ease) || ease.length === inputLength - 1, 'Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values.');
+    if (input[0] > input[inputLength - 1]) {
+        input = [].concat(input);
+        output = [].concat(output);
+        input.reverse();
+        output.reverse();
+    }
+    var mixers = createMixers(output, ease, mixer);
+    var interpolator = inputLength === 2
+        ? fastInterpolate(input, mixers)
+        : slowInterpolate(input, mixers);
+    return isClamp
+        ? function (v) { return interpolator(clamp_clamp(input[0], input[inputLength - 1], v)); }
+        : interpolator;
 }
-const primary = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])( true ? "" : undefined,  true ? "" : undefined);
-const secondary = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background:", config_values.surfaceBackgroundTintColor, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const tertiary = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background:", config_values.surfaceBackgroundTertiaryColor, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-/**
- * @param {string} surfaceBackgroundSize
- */

-const customBackgroundSize = surfaceBackgroundSize => [surfaceBackgroundSize, surfaceBackgroundSize].join(' ');
-/**
- * @param {string} surfaceBackgroundSizeDotted
- */


-const dottedBackground1 = surfaceBackgroundSizeDotted => ['90deg', [config_values.surfaceBackgroundColor, surfaceBackgroundSizeDotted].join(' '), 'transparent 1%'].join(',');
-/**
- * @param {string} surfaceBackgroundSizeDotted
- */
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/easing/utils.js
+var reverseEasing = function (easing) { return function (p) { return 1 - easing(1 - p); }; };
+var mirrorEasing = function (easing) { return function (p) {
+    return p <= 0.5 ? easing(2 * p) / 2 : (2 - easing(2 * (1 - p))) / 2;
+}; };
+var createExpoIn = function (power) { return function (p) { return Math.pow(p, power); }; };
+var createBackIn = function (power) { return function (p) {
+    return p * p * ((power + 1) * p - power);
+}; };
+var createAnticipate = function (power) {
+    var backEasing = createBackIn(power);
+    return function (p) {
+        return (p *= 2) < 1
+            ? 0.5 * backEasing(p)
+            : 0.5 * (2 - Math.pow(2, -10 * (p - 1)));
+    };
+};


-const dottedBackground2 = surfaceBackgroundSizeDotted => [[config_values.surfaceBackgroundColor, surfaceBackgroundSizeDotted].join(' '), 'transparent 1%'].join(',');
-/**
- * @param {string} surfaceBackgroundSizeDotted
- */

+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/easing/index.js

-const dottedBackgroundCombined = surfaceBackgroundSizeDotted => [`linear-gradient( ${dottedBackground1(surfaceBackgroundSizeDotted)} ) center`, `linear-gradient( ${dottedBackground2(surfaceBackgroundSizeDotted)} ) center`, config_values.surfaceBorderBoldColor].join(',');
-/**
- *
- * @param {string} surfaceBackgroundSize
- * @param {string} surfaceBackgroundSizeDotted
- */

+var DEFAULT_OVERSHOOT_STRENGTH = 1.525;
+var BOUNCE_FIRST_THRESHOLD = 4.0 / 11.0;
+var BOUNCE_SECOND_THRESHOLD = 8.0 / 11.0;
+var BOUNCE_THIRD_THRESHOLD = 9.0 / 10.0;
+var linear = function (p) { return p; };
+var easeIn = createExpoIn(2);
+var easeOut = reverseEasing(easeIn);
+var easeInOut = mirrorEasing(easeIn);
+var circIn = function (p) { return 1 - Math.sin(Math.acos(p)); };
+var circOut = reverseEasing(circIn);
+var circInOut = mirrorEasing(circOut);
+var backIn = createBackIn(DEFAULT_OVERSHOOT_STRENGTH);
+var backOut = reverseEasing(backIn);
+var backInOut = mirrorEasing(backIn);
+var anticipate = createAnticipate(DEFAULT_OVERSHOOT_STRENGTH);
+var ca = 4356.0 / 361.0;
+var cb = 35442.0 / 1805.0;
+var cc = 16061.0 / 1805.0;
+var bounceOut = function (p) {
+    if (p === 1 || p === 0)
+        return p;
+    var p2 = p * p;
+    return p < BOUNCE_FIRST_THRESHOLD
+        ? 7.5625 * p2
+        : p < BOUNCE_SECOND_THRESHOLD
+            ? 9.075 * p2 - 9.9 * p + 3.4
+            : p < BOUNCE_THIRD_THRESHOLD
+                ? ca * p2 - cb * p + cc
+                : 10.8 * p * p - 20.52 * p + 10.72;
+};
+var bounceIn = reverseEasing(bounceOut);
+var bounceInOut = function (p) {
+    return p < 0.5
+        ? 0.5 * (1.0 - bounceOut(1.0 - p * 2.0))
+        : 0.5 * bounceOut(p * 2.0 - 1.0) + 0.5;
+};

-const getDotted = (surfaceBackgroundSize, surfaceBackgroundSizeDotted) => /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background:", dottedBackgroundCombined(surfaceBackgroundSizeDotted), ";background-size:", customBackgroundSize(surfaceBackgroundSize), ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const gridBackground1 = [`${config_values.surfaceBorderSubtleColor} 1px`, 'transparent 1px'].join(',');
-const gridBackground2 = ['90deg', `${config_values.surfaceBorderSubtleColor} 1px`, 'transparent 1px'].join(',');
-const gridBackgroundCombined = [`linear-gradient( ${gridBackground1} )`, `linear-gradient( ${gridBackground2} )`].join(',');
-/**
- * @param {string} surfaceBackgroundSize
- * @return {import('@emotion/react').SerializedStyles} CSS.
- */

-const getGrid = surfaceBackgroundSize => {
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background:", config_values.surfaceBackgroundColor, ";background-image:", gridBackgroundCombined, ";background-size:", customBackgroundSize(surfaceBackgroundSize), ";" + ( true ? "" : undefined),  true ? "" : undefined);
-};
-/**
- * @param {'dotted' | 'grid' | 'primary' | 'secondary' | 'tertiary'} variant
- * @param {string}                                                   surfaceBackgroundSize
- * @param {string}                                                   surfaceBackgroundSizeDotted
- */

-const getVariant = (variant, surfaceBackgroundSize, surfaceBackgroundSizeDotted) => {
-  switch (variant) {
-    case 'dotted':
-      {
-        return getDotted(surfaceBackgroundSize, surfaceBackgroundSizeDotted);
-      }
-
-    case 'grid':
-      {
-        return getGrid(surfaceBackgroundSize);
-      }
-
-    case 'primary':
-      {
-        return primary;
-      }
-
-    case 'secondary':
-      {
-        return secondary;
-      }
-
-    case 'tertiary':
-      {
-        return tertiary;
-      }
-  }
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/surface/hook.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/generators/keyframes.js



-
-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- */
-
-function useSurface(props) {
-  const {
-    backgroundSize = 12,
-    borderBottom = false,
-    borderLeft = false,
-    borderRight = false,
-    borderTop = false,
-    className,
-    variant = 'primary',
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Surface');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    const sx = {};
-    sx.borders = getBorders({
-      borderBottom,
-      borderLeft,
-      borderRight,
-      borderTop
+function defaultEasing(values, easing) {
+    return values.map(function () { return easing || easeInOut; }).splice(0, values.length - 1);
+}
+function defaultOffset(values) {
+    var numValues = values.length;
+    return values.map(function (_value, i) {
+        return i !== 0 ? i / (numValues - 1) : 0;
     });
-    return cx(Surface, sx.borders, getVariant(variant, `${backgroundSize}px`, `${backgroundSize - 1}px`), className);
-  }, [backgroundSize, borderBottom, borderLeft, borderRight, borderTop, className, variant]);
-  return { ...otherProps,
-    className: classes
-  };
+}
+function convertOffsetToTimes(offset, duration) {
+    return offset.map(function (o) { return o * duration; });
+}
+function keyframes_keyframes(_a) {
+    var _b = _a.from, from = _b === void 0 ? 0 : _b, _c = _a.to, to = _c === void 0 ? 1 : _c, ease = _a.ease, offset = _a.offset, _d = _a.duration, duration = _d === void 0 ? 300 : _d;
+    var state = { done: false, value: from };
+    var values = Array.isArray(to) ? to : [from, to];
+    var times = convertOffsetToTimes(offset && offset.length === values.length
+        ? offset
+        : defaultOffset(values), duration);
+    function createInterpolator() {
+        return interpolate(times, values, {
+            ease: Array.isArray(ease) ? ease : defaultEasing(values, ease),
+        });
+    }
+    var interpolator = createInterpolator();
+    return {
+        next: function (t) {
+            state.value = interpolator(t);
+            state.done = t >= duration;
+            return state;
+        },
+        flipTarget: function () {
+            values.reverse();
+            interpolator = createInterpolator();
+        },
+    };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card/hook.js
-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/generators/decay.js
+function decay(_a) {
+    var _b = _a.velocity, velocity = _b === void 0 ? 0 : _b, _c = _a.from, from = _c === void 0 ? 0 : _c, _d = _a.power, power = _d === void 0 ? 0.8 : _d, _e = _a.timeConstant, timeConstant = _e === void 0 ? 350 : _e, _f = _a.restDelta, restDelta = _f === void 0 ? 0.5 : _f, modifyTarget = _a.modifyTarget;
+    var state = { done: false, value: from };
+    var amplitude = power * velocity;
+    var ideal = from + amplitude;
+    var target = modifyTarget === undefined ? ideal : modifyTarget(ideal);
+    if (target !== ideal)
+        amplitude = target - from;
+    return {
+        next: function (t) {
+            var delta = -amplitude * Math.exp(-t / timeConstant);
+            state.done = !(delta > restDelta || delta < -restDelta);
+            state.value = state.done ? target : target + delta;
+            return state;
+        },
+        flipTarget: function () { },
+    };
+}



+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/utils/detect-animation-from-options.js


-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div'>} props
- */

-function hook_useDeprecatedProps(_ref) {
-  let {
-    elevation,
-    isElevated,
-    ...otherProps
-  } = _ref;

-  /**@type {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div'>} */
-  const propsToReturn = { ...otherProps
-  };
-  let computedElevation = elevation;
+var types = { keyframes: keyframes_keyframes, spring: spring, decay: decay };
+function detectAnimationFromOptions(config) {
+    if (Array.isArray(config.to)) {
+        return keyframes_keyframes;
+    }
+    else if (types[config.type]) {
+        return types[config.type];
+    }
+    var keys = new Set(Object.keys(config));
+    if (keys.has("ease") ||
+        (keys.has("duration") && !keys.has("dampingRatio"))) {
+        return keyframes_keyframes;
+    }
+    else if (keys.has("dampingRatio") ||
+        keys.has("stiffness") ||
+        keys.has("mass") ||
+        keys.has("damping") ||
+        keys.has("restSpeed") ||
+        keys.has("restDelta")) {
+        return spring;
+    }
+    return keyframes_keyframes;
+}

-  if (isElevated) {
-    var _computedElevation;

-    external_wp_deprecated_default()('Card isElevated prop', {
-      since: '5.9',
-      alternative: 'elevation'
-    });
-    (_computedElevation = computedElevation) !== null && _computedElevation !== void 0 ? _computedElevation : computedElevation = 2;
-  } // The `elevation` prop should only be passed when it's not `undefined`,
-  // otherwise it will override the value that gets derived from `useContextSystem`.
+
+;// CONCATENATED MODULE: ./node_modules/framesync/dist/es/on-next-frame.js
+var defaultTimestep = (1 / 60) * 1000;
+var getCurrentTime = typeof performance !== "undefined"
+    ? function () { return performance.now(); }
+    : function () { return Date.now(); };
+var onNextFrame = typeof window !== "undefined"
+    ? function (callback) {
+        return window.requestAnimationFrame(callback);
+    }
+    : function (callback) {
+        return setTimeout(function () { return callback(getCurrentTime()); }, defaultTimestep);
+    };


-  if (typeof computedElevation !== 'undefined') {
-    propsToReturn.elevation = computedElevation;
-  }

-  return propsToReturn;
+;// CONCATENATED MODULE: ./node_modules/framesync/dist/es/create-render-step.js
+function createRenderStep(runNextFrame) {
+    var toRun = [];
+    var toRunNextFrame = [];
+    var numToRun = 0;
+    var isProcessing = false;
+    var toKeepAlive = new WeakSet();
+    var step = {
+        schedule: function (callback, keepAlive, immediate) {
+            if (keepAlive === void 0) { keepAlive = false; }
+            if (immediate === void 0) { immediate = false; }
+            var addToCurrentFrame = immediate && isProcessing;
+            var buffer = addToCurrentFrame ? toRun : toRunNextFrame;
+            if (keepAlive)
+                toKeepAlive.add(callback);
+            if (buffer.indexOf(callback) === -1) {
+                buffer.push(callback);
+                if (addToCurrentFrame && isProcessing)
+                    numToRun = toRun.length;
+            }
+            return callback;
+        },
+        cancel: function (callback) {
+            var index = toRunNextFrame.indexOf(callback);
+            if (index !== -1)
+                toRunNextFrame.splice(index, 1);
+            toKeepAlive.delete(callback);
+        },
+        process: function (frameData) {
+            var _a;
+            isProcessing = true;
+            _a = [toRunNextFrame, toRun], toRun = _a[0], toRunNextFrame = _a[1];
+            toRunNextFrame.length = 0;
+            numToRun = toRun.length;
+            if (numToRun) {
+                for (var i = 0; i < numToRun; i++) {
+                    var callback = toRun[i];
+                    callback(frameData);
+                    if (toKeepAlive.has(callback)) {
+                        step.schedule(callback);
+                        runNextFrame();
+                    }
+                }
+            }
+            isProcessing = false;
+        },
+    };
+    return step;
 }
-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div'>} props
- */


-function useCard(props) {
-  const {
-    className,
-    elevation = 0,
-    isBorderless = false,
-    isRounded = true,
-    size = 'medium',
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(hook_useDeprecatedProps(props), 'Card');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    return cx(Card, isBorderless && boxShadowless, isRounded && styles_rounded, className);
-  }, [className, isBorderless, isRounded]);
-  const surfaceProps = useSurface({ ...otherProps,
-    className: classes
-  });
-  return { ...surfaceProps,
-    elevation,
-    isBorderless,
-    isRounded,
-    size
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card/component.js
+;// CONCATENATED MODULE: ./node_modules/framesync/dist/es/index.js



-/**
- * External dependencies
- */
+var maxElapsed = 40;
+var useDefaultElapsed = true;
+var runNextFrame = false;
+var isProcessing = false;
+var es_frame = {
+    delta: 0,
+    timestamp: 0
+};
+var stepsOrder = ["read", "update", "preRender", "render", "postRender"];
+var steps = /*#__PURE__*/stepsOrder.reduce(function (acc, key) {
+    acc[key] = createRenderStep(function () {
+        return runNextFrame = true;
+    });
+    return acc;
+}, {});
+var sync = /*#__PURE__*/stepsOrder.reduce(function (acc, key) {
+    var step = steps[key];
+    acc[key] = function (process, keepAlive, immediate) {
+        if (keepAlive === void 0) {
+            keepAlive = false;
+        }
+        if (immediate === void 0) {
+            immediate = false;
+        }
+        if (!runNextFrame) startLoop();
+        return step.schedule(process, keepAlive, immediate);
+    };
+    return acc;
+}, {});
+var cancelSync = /*#__PURE__*/stepsOrder.reduce(function (acc, key) {
+    acc[key] = steps[key].cancel;
+    return acc;
+}, {});
+var flushSync = /*#__PURE__*/stepsOrder.reduce(function (acc, key) {
+    acc[key] = function () {
+        return steps[key].process(es_frame);
+    };
+    return acc;
+}, {});
+var processStep = function (stepId) {
+    return steps[stepId].process(es_frame);
+};
+var processFrame = function (timestamp) {
+    runNextFrame = false;
+    es_frame.delta = useDefaultElapsed ? defaultTimestep : Math.max(Math.min(timestamp - es_frame.timestamp, maxElapsed), 1);
+    es_frame.timestamp = timestamp;
+    isProcessing = true;
+    stepsOrder.forEach(processStep);
+    isProcessing = false;
+    if (runNextFrame) {
+        useDefaultElapsed = false;
+        onNextFrame(processFrame);
+    }
+};
+var startLoop = function () {
+    runNextFrame = true;
+    useDefaultElapsed = true;
+    if (!isProcessing) onNextFrame(processFrame);
+};
+var getFrameData = function () {
+    return es_frame;
+};

-/**
- * WordPress dependencies
- */
+/* harmony default export */ var es = (sync);


-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/utils/elapsed.js
+function loopElapsed(elapsed, duration, delay) {
+    if (delay === void 0) { delay = 0; }
+    return elapsed - duration - delay;
+}
+function reverseElapsed(elapsed, duration, delay, isForwardPlayback) {
+    if (delay === void 0) { delay = 0; }
+    if (isForwardPlayback === void 0) { isForwardPlayback = true; }
+    return isForwardPlayback
+        ? loopElapsed(duration + -elapsed, duration, delay)
+        : duration - (elapsed - duration) + delay;
+}
+function hasRepeatDelayElapsed(elapsed, duration, delay, isForwardPlayback) {
+    return isForwardPlayback ? elapsed >= duration + delay : elapsed <= -delay;
+}



+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/index.js





-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div'>} props
- * @param {import('react').Ref<any>}                                                            forwardedRef
- */

-function component_Card(props, forwardedRef) {
-  const {
-    children,
-    elevation,
-    isBorderless,
-    isRounded,
-    size,
-    ...otherProps
-  } = useCard(props);
-  const elevationBorderRadius = isRounded ? config_values.cardBorderRadius : 0;
-  const cx = Object(use_cx["a" /* useCx */])();
-  const elevationClassName = Object(external_wp_element_["useMemo"])(() => cx( /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    borderRadius: elevationBorderRadius
-  },  true ? "" : undefined,  true ? "" : undefined)), [elevationBorderRadius]);
-  const contextProviderValue = Object(external_wp_element_["useMemo"])(() => {
-    const contextProps = {
-      size,
-      isBorderless
+var framesync = function (update) {
+    var passTimestamp = function (_a) {
+        var delta = _a.delta;
+        return update(delta);
     };
     return {
-      CardBody: contextProps,
-      CardHeader: contextProps,
-      CardFooter: contextProps
+        start: function () { return es.update(passTimestamp, true); },
+        stop: function () { return cancelSync.update(passTimestamp); },
+    };
+};
+function animate(_a) {
+    var _b, _c;
+    var from = _a.from, _d = _a.autoplay, autoplay = _d === void 0 ? true : _d, _e = _a.driver, driver = _e === void 0 ? framesync : _e, _f = _a.elapsed, elapsed = _f === void 0 ? 0 : _f, _g = _a.repeat, repeatMax = _g === void 0 ? 0 : _g, _h = _a.repeatType, repeatType = _h === void 0 ? "loop" : _h, _j = _a.repeatDelay, repeatDelay = _j === void 0 ? 0 : _j, onPlay = _a.onPlay, onStop = _a.onStop, onComplete = _a.onComplete, onRepeat = _a.onRepeat, onUpdate = _a.onUpdate, options = __rest(_a, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]);
+    var to = options.to;
+    var driverControls;
+    var repeatCount = 0;
+    var computedDuration = options.duration;
+    var latest;
+    var isComplete = false;
+    var isForwardPlayback = true;
+    var interpolateFromNumber;
+    var animator = detectAnimationFromOptions(options);
+    if ((_c = (_b = animator).needsInterpolation) === null || _c === void 0 ? void 0 : _c.call(_b, from, to)) {
+        interpolateFromNumber = interpolate([0, 100], [from, to], {
+            clamp: false,
+        });
+        from = 0;
+        to = 100;
+    }
+    var animation = animator(__assign(__assign({}, options), { from: from, to: to }));
+    function repeat() {
+        repeatCount++;
+        if (repeatType === "reverse") {
+            isForwardPlayback = repeatCount % 2 === 0;
+            elapsed = reverseElapsed(elapsed, computedDuration, repeatDelay, isForwardPlayback);
+        }
+        else {
+            elapsed = loopElapsed(elapsed, computedDuration, repeatDelay);
+            if (repeatType === "mirror")
+                animation.flipTarget();
+        }
+        isComplete = false;
+        onRepeat && onRepeat();
+    }
+    function complete() {
+        driverControls.stop();
+        onComplete && onComplete();
+    }
+    function update(delta) {
+        if (!isForwardPlayback)
+            delta = -delta;
+        elapsed += delta;
+        if (!isComplete) {
+            var state = animation.next(Math.max(0, elapsed));
+            latest = state.value;
+            if (interpolateFromNumber)
+                latest = interpolateFromNumber(latest);
+            isComplete = isForwardPlayback ? state.done : elapsed <= 0;
+        }
+        onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(latest);
+        if (isComplete) {
+            if (repeatCount === 0)
+                computedDuration !== null && computedDuration !== void 0 ? computedDuration : (computedDuration = elapsed);
+            if (repeatCount < repeatMax) {
+                hasRepeatDelayElapsed(elapsed, computedDuration, repeatDelay, isForwardPlayback) && repeat();
+            }
+            else {
+                complete();
+            }
+        }
+    }
+    function play() {
+        onPlay === null || onPlay === void 0 ? void 0 : onPlay();
+        driverControls = driver(update);
+        driverControls.start();
+    }
+    autoplay && play();
+    return {
+        stop: function () {
+            onStop === null || onStop === void 0 ? void 0 : onStop();
+            driverControls.stop();
+        },
     };
-  }, [isBorderless, size]);
-  return Object(external_wp_element_["createElement"])(context_system_provider["a" /* ContextSystemProvider */], {
-    value: contextProviderValue
-  }, Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, otherProps, {
-    ref: forwardedRef
-  }), Object(external_wp_element_["createElement"])(view_component["a" /* default */], {
-    className: cx(Content)
-  }, children), Object(external_wp_element_["createElement"])(elevation_component, {
-    className: elevationClassName,
-    isInteractive: false,
-    value: elevation ? 1 : 0
-  }), Object(external_wp_element_["createElement"])(elevation_component, {
-    className: elevationClassName,
-    isInteractive: false,
-    value: elevation
-  })));
 }
-/**
- * `Card` provides a flexible and extensible content container.
- * `Card` also provides a convenient set of sub-components such as `CardBody`,
- * `CardHeader`, `CardFooter`, and more.
- *
- * @example
- * ```jsx
- * import {
- *   Card,
- *   CardHeader,
- *   CardBody,
- *   CardFooter,
- *   Text,
- *   Heading,
- * } from `@wordpress/components`;
- *
- * function Example() {
- *   return (
- *     <Card>
- *       <CardHeader>
- *         <Heading size={ 4 }>Card Title</Heading>
- *       </CardHeader>
- *       <CardBody>
- *         <Text>Card Content</Text>
- *       </CardBody>
- *       <CardFooter>
- *         <Text>Card Footer</Text>
- *       </CardFooter>
- *     </Card>
- *   );
- * }
- * ```
- */
-
-
-const ConnectedCard = Object(context_connect["a" /* contextConnect */])(component_Card, 'Card');
-/* harmony default export */ var card_component = (ConnectedCard);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/scrollable/styles.js
-function scrollable_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
-
-/**
- * External dependencies
- */
-
-/**
- * Internal dependencies
- */


-const scrollableScrollbar = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:", config_values.colorScrollbarTrack, ";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:", config_values.colorScrollbarThumb, ";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:", config_values.colorScrollbarThumbHover, ";}}" + ( true ? "" : undefined),  true ? "" : undefined);
-const Scrollable =  true ? {
-  name: "13udsys",
-  styles: "height:100%"
-} : undefined;
-const styles_Content =  true ? {
-  name: "bjn8wh",
-  styles: "position:relative"
-} : undefined;
-const styles_smoothScroll =  true ? {
-  name: "7zq9w",
-  styles: "scroll-behavior:smooth"
-} : undefined;
-const scrollX =  true ? {
-  name: "q33xhg",
-  styles: "overflow-x:auto;overflow-y:hidden"
-} : undefined;
-const scrollY =  true ? {
-  name: "103x71s",
-  styles: "overflow-x:hidden;overflow-y:auto"
-} : undefined;
-const scrollAuto =  true ? {
-  name: "umwchj",
-  styles: "overflow-y:auto"
-} : undefined;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/scrollable/hook.js
-/**
- * WordPress dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/velocity-per-second.js
+function velocityPerSecond(velocity, frameDuration) {
+    return frameDuration ? velocity * (1000 / frameDuration) : 0;
+}

-/**
- * Internal dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/animations/inertia.js


-/* eslint-disable jsdoc/valid-types */

-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- */

-/* eslint-enable jsdoc/valid-types */

-function useScrollable(props) {
-  const {
-    className,
-    scrollDirection = 'y',
-    smoothScroll = false,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Scrollable');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => cx(Scrollable, scrollableScrollbar, smoothScroll && styles_smoothScroll, scrollDirection === 'x' && scrollX, scrollDirection === 'y' && scrollY, scrollDirection === 'auto' && scrollAuto, className), [className, scrollDirection, smoothScroll]);
-  return { ...otherProps,
-    className: classes
-  };
+function inertia(_a) {
+    var _b = _a.from, from = _b === void 0 ? 0 : _b, _c = _a.velocity, velocity = _c === void 0 ? 0 : _c, min = _a.min, max = _a.max, _d = _a.power, power = _d === void 0 ? 0.8 : _d, _e = _a.timeConstant, timeConstant = _e === void 0 ? 750 : _e, _f = _a.bounceStiffness, bounceStiffness = _f === void 0 ? 500 : _f, _g = _a.bounceDamping, bounceDamping = _g === void 0 ? 10 : _g, _h = _a.restDelta, restDelta = _h === void 0 ? 1 : _h, modifyTarget = _a.modifyTarget, driver = _a.driver, onUpdate = _a.onUpdate, onComplete = _a.onComplete;
+    var currentAnimation;
+    function isOutOfBounds(v) {
+        return (min !== undefined && v < min) || (max !== undefined && v > max);
+    }
+    function boundaryNearest(v) {
+        if (min === undefined)
+            return max;
+        if (max === undefined)
+            return min;
+        return Math.abs(min - v) < Math.abs(max - v) ? min : max;
+    }
+    function startAnimation(options) {
+        currentAnimation === null || currentAnimation === void 0 ? void 0 : currentAnimation.stop();
+        currentAnimation = animate(__assign(__assign({}, options), { driver: driver, onUpdate: function (v) {
+                var _a;
+                onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(v);
+                (_a = options.onUpdate) === null || _a === void 0 ? void 0 : _a.call(options, v);
+            }, onComplete: onComplete }));
+    }
+    function startSpring(options) {
+        startAnimation(__assign({ type: "spring", stiffness: bounceStiffness, damping: bounceDamping, restDelta: restDelta }, options));
+    }
+    if (isOutOfBounds(from)) {
+        startSpring({ from: from, velocity: velocity, to: boundaryNearest(from) });
+    }
+    else {
+        var target = power * velocity + from;
+        if (typeof modifyTarget !== "undefined")
+            target = modifyTarget(target);
+        var boundary_1 = boundaryNearest(target);
+        var heading_1 = boundary_1 === min ? -1 : 1;
+        var prev_1;
+        var current_1;
+        var checkBoundary = function (v) {
+            prev_1 = current_1;
+            current_1 = v;
+            velocity = velocityPerSecond(v - prev_1, getFrameData().delta);
+            if ((heading_1 === 1 && v > boundary_1) ||
+                (heading_1 === -1 && v < boundary_1)) {
+                startSpring({ from: v, to: boundary_1, velocity: velocity });
+            }
+        };
+        startAnimation({
+            type: "decay",
+            from: from,
+            velocity: velocity,
+            timeConstant: timeConstant,
+            power: power,
+            restDelta: restDelta,
+            modifyTarget: modifyTarget,
+            onUpdate: isOutOfBounds(target) ? checkBoundary : undefined,
+        });
+    }
+    return {
+        stop: function () { return currentAnimation === null || currentAnimation === void 0 ? void 0 : currentAnimation.stop(); },
+    };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/scrollable/component.js
-
-
-
-/**
- * Internal dependencies
- */
-
-

-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- * @param {import('react').Ref<any>}                                                        forwardedRef
- */

-function component_Scrollable(props, forwardedRef) {
-  const scrollableProps = useScrollable(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, scrollableProps, {
-    ref: forwardedRef
-  }));
-}
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/time-conversion.js
 /**
- * `Scrollable` is a layout component that content in a scrollable container.
- *
- * @example
- * ```jsx
- * import { __experimentalScrollable as Scrollable } from `@wordpress/components`;
+ * Converts seconds to milliseconds
  *
- * function Example() {
- * 	return (
- * 		<Scrollable style={ { maxHeight: 200 } }>
- * 			<div style={ { height: 500 } }>...</div>
- * 		</Scrollable>
- * 	);
- * }
- * ```
- */
-
-
-const ConnectedScrollable = Object(context_connect["a" /* contextConnect */])(component_Scrollable, 'Scrollable');
-/* harmony default export */ var scrollable_component = (ConnectedScrollable);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-body/hook.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
+ * @param seconds - Time in seconds.
+ * @return milliseconds - Converted time in milliseconds.
  */
+var secondsToMilliseconds = function (seconds) { return seconds * 1000; };



+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/easing/cubic-bezier.js

-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').BodyProps, 'div'>} props
- */

-function useCardBody(props) {
-  const {
-    className,
-    isScrollable = false,
-    isShady = false,
-    size = 'medium',
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'CardBody');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => cx(Body, styles_borderRadius, cardPaddings[size], isShady && shady, // This classname is added for legacy compatibility reasons.
-  'components-card__body', className), [className, isShady, size]);
-  return { ...otherProps,
-    className: classes,
-    isScrollable
-  };
+var cubic_bezier_a = function (a1, a2) { return 1.0 - 3.0 * a2 + 3.0 * a1; };
+var cubic_bezier_b = function (a1, a2) { return 3.0 * a2 - 6.0 * a1; };
+var cubic_bezier_c = function (a1) { return 3.0 * a1; };
+var calcBezier = function (t, a1, a2) {
+    return ((cubic_bezier_a(a1, a2) * t + cubic_bezier_b(a1, a2)) * t + cubic_bezier_c(a1)) * t;
+};
+var getSlope = function (t, a1, a2) {
+    return 3.0 * cubic_bezier_a(a1, a2) * t * t + 2.0 * cubic_bezier_b(a1, a2) * t + cubic_bezier_c(a1);
+};
+var subdivisionPrecision = 0.0000001;
+var subdivisionMaxIterations = 10;
+function binarySubdivide(aX, aA, aB, mX1, mX2) {
+    var currentX;
+    var currentT;
+    var i = 0;
+    do {
+        currentT = aA + (aB - aA) / 2.0;
+        currentX = calcBezier(currentT, mX1, mX2) - aX;
+        if (currentX > 0.0) {
+            aB = currentT;
+        }
+        else {
+            aA = currentT;
+        }
+    } while (Math.abs(currentX) > subdivisionPrecision &&
+        ++i < subdivisionMaxIterations);
+    return currentT;
+}
+var newtonIterations = 8;
+var newtonMinSlope = 0.001;
+function newtonRaphsonIterate(aX, aGuessT, mX1, mX2) {
+    for (var i = 0; i < newtonIterations; ++i) {
+        var currentSlope = getSlope(aGuessT, mX1, mX2);
+        if (currentSlope === 0.0) {
+            return aGuessT;
+        }
+        var currentX = calcBezier(aGuessT, mX1, mX2) - aX;
+        aGuessT -= currentX / currentSlope;
+    }
+    return aGuessT;
+}
+var kSplineTableSize = 11;
+var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);
+function cubicBezier(mX1, mY1, mX2, mY2) {
+    if (mX1 === mY1 && mX2 === mY2)
+        return linear;
+    var sampleValues = new Float32Array(kSplineTableSize);
+    for (var i = 0; i < kSplineTableSize; ++i) {
+        sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);
+    }
+    function getTForX(aX) {
+        var intervalStart = 0.0;
+        var currentSample = 1;
+        var lastSample = kSplineTableSize - 1;
+        for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {
+            intervalStart += kSampleStepSize;
+        }
+        --currentSample;
+        var dist = (aX - sampleValues[currentSample]) /
+            (sampleValues[currentSample + 1] - sampleValues[currentSample]);
+        var guessForT = intervalStart + dist * kSampleStepSize;
+        var initialSlope = getSlope(guessForT, mX1, mX2);
+        if (initialSlope >= newtonMinSlope) {
+            return newtonRaphsonIterate(aX, guessForT, mX1, mX2);
+        }
+        else if (initialSlope === 0.0) {
+            return guessForT;
+        }
+        else {
+            return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);
+        }
+    }
+    return function (t) {
+        return t === 0 || t === 1 ? t : calcBezier(getTForX(t), mY1, mY2);
+    };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-body/component.js


+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/easing.js

-/**
- * Internal dependencies
- */



+var easingLookup = {
+    linear: linear,
+    easeIn: easeIn,
+    easeInOut: easeInOut,
+    easeOut: easeOut,
+    circIn: circIn,
+    circInOut: circInOut,
+    circOut: circOut,
+    backIn: backIn,
+    backInOut: backInOut,
+    backOut: backOut,
+    anticipate: anticipate,
+    bounceIn: bounceIn,
+    bounceInOut: bounceInOut,
+    bounceOut: bounceOut,
+};
+var easingDefinitionToFunction = function (definition) {
+    if (Array.isArray(definition)) {
+        // If cubic bezier definition, create bezier curve
+        invariant(definition.length === 4, "Cubic bezier arrays must contain four numerical values.");
+        var _a = tslib_es6_read(definition, 4), x1 = _a[0], y1 = _a[1], x2 = _a[2], y2 = _a[3];
+        return cubicBezier(x1, y1, x2, y2);
+    }
+    else if (typeof definition === "string") {
+        // Else lookup from table
+        invariant(easingLookup[definition] !== undefined, "Invalid easing type '" + definition + "'");
+        return easingLookup[definition];
+    }
+    return definition;
+};
+var isEasingArray = function (ease) {
+    return Array.isArray(ease) && typeof ease[0] !== "number";
+};
+

-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').BodyProps, 'div'>} props
- * @param {import('react').Ref<any>}                                                                forwardedRef
- */

-function CardBody(props, forwardedRef) {
-  const {
-    isScrollable,
-    ...otherProps
-  } = useCardBody(props);
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/is-animatable.js

-  if (isScrollable) {
-    return Object(external_wp_element_["createElement"])(scrollable_component, Object(esm_extends["a" /* default */])({}, otherProps, {
-      ref: forwardedRef
-    }));
-  }

-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, otherProps, {
-    ref: forwardedRef
-  }));
-}
 /**
- * `CardBody` renders an optional content area for a `Card`.
- * Multiple `CardBody` components can be used within `Card` if needed.
+ * Check if a value is animatable. Examples:
  *
- * @example
- * ```jsx
- * import { Card, CardBody } from `@wordpress/components`;
+ * ✅: 100, "100px", "#fff"
+ * ❌: "block", "url(2.jpg)"
+ * @param value
  *
- * <Card>
- * 	<CardBody>
- * 		...
- * 	</CardBody>
- * </Card>
- * ```
+ * @internal
  */
+var isAnimatable = function (key, value) {
+    // If the list of keys tat might be non-animatable grows, replace with Set
+    if (key === "zIndex")
+        return false;
+    // If it's a number or a keyframes array, we can animate it. We might at some point
+    // need to do a deep isAnimatable check of keyframes, or let Popmotion handle this,
+    // but for now lets leave it like this for performance reasons
+    if (typeof value === "number" || Array.isArray(value))
+        return true;
+    if (typeof value === "string" && // It's animatable if we have a string
+        complex.test(value) && // And it contains numbers and/or colors
+        !value.startsWith("url(") // Unless it starts with "url("
+    ) {
+        return true;
+    }
+    return false;
+};


-const ConnectedCardBody = Object(context_connect["a" /* contextConnect */])(CardBody, 'CardBody');
-/* harmony default export */ var card_body_component = (ConnectedCardBody);
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Separator/Separator.js
-
-
-
-
-
-
-// Automatically generated
-var SEPARATOR_KEYS = ["orientation"];
-
-var useSeparator = Object(createHook["a" /* createHook */])({
-  name: "Separator",
-  compose: Role["a" /* useRole */],
-  keys: SEPARATOR_KEYS,
-  useOptions: function useOptions(_ref) {
-    var _ref$orientation = _ref.orientation,
-        orientation = _ref$orientation === void 0 ? "horizontal" : _ref$orientation,
-        options = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["orientation"]);

-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      orientation: orientation
-    }, options);
-  },
-  useProps: function useProps(options, htmlProps) {
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      role: "separator",
-      "aria-orientation": options.orientation
-    }, htmlProps);
-  }
-});
-var Separator = Object(createComponent["a" /* createComponent */])({
-  as: "hr",
-  memo: true,
-  useHook: useSeparator
-});
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/default-transitions.js



-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/divider/styles.js
+var underDampedSpring = function () { return ({
+    type: "spring",
+    stiffness: 500,
+    damping: 25,
+    restDelta: 0.5,
+    restSpeed: 10,
+}); };
+var criticallyDampedSpring = function (to) { return ({
+    type: "spring",
+    stiffness: 550,
+    damping: to === 0 ? 2 * Math.sqrt(550) : 30,
+    restDelta: 0.01,
+    restSpeed: 10,
+}); };
+var linearTween = function () { return ({
+    type: "keyframes",
+    ease: "linear",
+    duration: 0.3,
+}); };
+var default_transitions_keyframes = function (values) { return ({
+    type: "keyframes",
+    duration: 0.8,
+    values: values,
+}); };
+var defaultTransitions = {
+    x: underDampedSpring,
+    y: underDampedSpring,
+    z: underDampedSpring,
+    rotate: underDampedSpring,
+    rotateX: underDampedSpring,
+    rotateY: underDampedSpring,
+    rotateZ: underDampedSpring,
+    scaleX: criticallyDampedSpring,
+    scaleY: criticallyDampedSpring,
+    scale: criticallyDampedSpring,
+    opacity: linearTween,
+    backgroundColor: linearTween,
+    color: linearTween,
+    default: criticallyDampedSpring,
+};
+var getDefaultTransition = function (valueKey, to) {
+    var transitionFactory;
+    if (isKeyframesTarget(to)) {
+        transitionFactory = default_transitions_keyframes;
+    }
+    else {
+        transitionFactory =
+            defaultTransitions[valueKey] || defaultTransitions.default;
+    }
+    return __assign({ to: to }, transitionFactory(to));
+};


-/**
- * External dependencies
- */

-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/style-value-types/dist/es/complex/filter.js




-const renderMargin = _ref => {
-  let {
-    margin,
-    marginTop,
-    marginBottom
-  } = _ref;
+var maxDefaults = new Set(['brightness', 'contrast', 'saturate', 'opacity']);
+function applyDefaultFilter(v) {
+    var _a = v.slice(0, -1).split('('), name = _a[0], value = _a[1];
+    if (name === 'drop-shadow')
+        return v;
+    var number = (value.match(floatRegex) || [])[0];
+    if (!number)
+        return v;
+    var unit = value.replace(number, '');
+    var defaultValue = maxDefaults.has(name) ? 1 : 0;
+    if (number !== value)
+        defaultValue *= 100;
+    return name + '(' + defaultValue + unit + ')';
+}
+var functionRegex = /([a-z-]*)\(.*?\)/g;
+var filter = __assign(__assign({}, complex), { getAnimatableNone: function (v) {
+        var functions = v.match(functionRegex);
+        return functions ? functions.map(applyDefaultFilter).join(' ') : v;
+    } });

-  if (typeof margin !== 'undefined') {
-    return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-      marginBottom: space(margin),
-      marginTop: space(margin)
-    },  true ? "" : undefined,  true ? "" : undefined);
-  }

-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    marginTop: space(marginTop),
-    marginBottom: space(marginBottom)
-  },  true ? "" : undefined,  true ? "" : undefined);
-};

-const DividerView = Object(emotion_styled_base_browser_esm["a" /* default */])("hr",  true ? {
-  target: "e19on6iw0"
-} : undefined)("border-color:", config_values.colorDivider, ";border-width:0 0 1px 0;height:0;margin:0;width:auto;", renderMargin, ";" + ( true ? "" : undefined));
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/defaults.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/divider/component.js



 /**
- * External dependencies
+ * A map of default value types for common values
  */
-// eslint-disable-next-line no-restricted-imports
- // eslint-disable-next-line no-restricted-imports
-
+var defaultValueTypes = __assign(__assign({}, numberValueTypes), {
+    // Color props
+    color: color, backgroundColor: color, outlineColor: color, fill: color, stroke: color,
+    // Border props
+    borderColor: color, borderTopColor: color, borderRightColor: color, borderBottomColor: color, borderLeftColor: color, filter: filter, WebkitFilter: filter });
 /**
- * Internal dependencies
+ * Gets the default ValueType for the provided value key
  */
+var getDefaultValueType = function (key) { return defaultValueTypes[key]; };



-function component_Divider(props, forwardedRef) {
-  const contextProps = Object(use_context_system["a" /* useContextSystem */])(props, 'Divider');
-  return Object(external_wp_element_["createElement"])(Separator, Object(esm_extends["a" /* default */])({
-    as: DividerView
-  }, contextProps, {
-    ref: forwardedRef
-  }));
-}
-/**
- * `Divider` is a layout component that separates groups of related content.
- *
- * @example
- * ```js
- * import {
- *     __experimentalDivider as Divider,
- *     __experimentalText as Text }
- * from `@wordpress/components`;
- *
- * function Example() {
- * 	return (
- * 		<ListGroup>
- * 			<FormGroup>...</FormGroup>
- * 			<Divider />
- * 			<FormGroup>...</FormGroup>
- * 		</ListGroup>
- * 	);
- * }
- * ```
- */
-
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.js

-const ConnectedDivider = Object(context_connect["a" /* contextConnect */])(component_Divider, 'Divider');
-/* harmony default export */ var divider_component = (ConnectedDivider);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-divider/hook.js
-/**
- * WordPress dependencies
- */

-/**
- * Internal dependencies
- */
+function animatable_none_getAnimatableNone(key, value) {
+    var _a;
+    var defaultValueType = getDefaultValueType(key);
+    if (defaultValueType !== filter)
+        defaultValueType = complex;
+    // If value is not recognised as animatable, ie "none", create an animatable version origin based on the target
+    return (_a = defaultValueType.getAnimatableNone) === null || _a === void 0 ? void 0 : _a.call(defaultValueType, value);
+}



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/animation/utils/transitions.js

-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../../divider').DividerProps, 'hr', false>} props
- */

-function useCardDivider(props) {
-  const {
-    className,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'CardDivider');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => cx(Divider, styles_borderColor, // This classname is added for legacy compatibility reasons.
-  'components-card__divider', className), [className]);
-  return { ...otherProps,
-    className: classes
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-divider/component.js



-/**
- * Internal dependencies
- */



 /**
- * @param {import('../../ui/context').WordPressComponentProps<import('../../divider').DividerProps, 'hr', false>} props
- * @param {import('react').Ref<any>}                                                                              forwardedRef
+ * Decide whether a transition is defined on a given Transition.
+ * This filters out orchestration options and returns true
+ * if any options are left.
  */
-
-function CardDivider(props, forwardedRef) {
-  const dividerProps = useCardDivider(props);
-  return Object(external_wp_element_["createElement"])(divider_component, Object(esm_extends["a" /* default */])({}, dividerProps, {
-    ref: forwardedRef
-  }));
+function isTransitionDefined(_a) {
+    _a.when; _a.delay; _a.delayChildren; _a.staggerChildren; _a.staggerDirection; _a.repeat; _a.repeatType; _a.repeatDelay; _a.from; var transition = __rest(_a, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection", "repeat", "repeatType", "repeatDelay", "from"]);
+    return !!Object.keys(transition).length;
 }
+var legacyRepeatWarning = false;
 /**
- * `CardDivider` renders an optional divider within a `Card`.
- * It is typically used to divide multiple `CardBody` components from each other.
- *
- * @example
- * ```jsx
- * import { Card, CardBody, CardDivider } from `@wordpress/components`;
- *
- * <Card>
- *  <CardBody>...</CardBody>
- *  <CardDivider />
- *  <CardBody>...</CardBody>
- * </Card>
- * ```
- */
-
-
-const ConnectedCardDivider = Object(context_connect["a" /* contextConnect */])(CardDivider, 'CardDivider');
-/* harmony default export */ var card_divider_component = (ConnectedCardDivider);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-footer/hook.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
+ * Convert Framer Motion's Transition type into Popmotion-compatible options.
  */
-
-
-
-
-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').FooterProps, 'div'>} props
- */
-
-function useCardFooter(props) {
-  const {
-    className,
-    justify,
-    isBorderless = false,
-    isShady = false,
-    size = 'medium',
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'CardFooter');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => cx(Footer, styles_borderRadius, styles_borderColor, cardPaddings[size], isBorderless && borderless, isShady && shady, // This classname is added for legacy compatibility reasons.
-  'components-card__footer', className), [className, isBorderless, isShady, size]);
-  return { ...otherProps,
-    className: classes,
-    justify
-  };
+function convertTransitionToAnimationOptions(_a) {
+    var ease = _a.ease, times = _a.times, yoyo = _a.yoyo, flip = _a.flip, loop = _a.loop, transition = __rest(_a, ["ease", "times", "yoyo", "flip", "loop"]);
+    var options = __assign({}, transition);
+    if (times)
+        options["offset"] = times;
+    /**
+     * Convert any existing durations from seconds to milliseconds
+     */
+    if (transition.duration)
+        options["duration"] = secondsToMilliseconds(transition.duration);
+    if (transition.repeatDelay)
+        options.repeatDelay = secondsToMilliseconds(transition.repeatDelay);
+    /**
+     * Map easing names to Popmotion's easing functions
+     */
+    if (ease) {
+        options["ease"] = isEasingArray(ease)
+            ? ease.map(easingDefinitionToFunction)
+            : easingDefinitionToFunction(ease);
+    }
+    /**
+     * Support legacy transition API
+     */
+    if (transition.type === "tween")
+        options.type = "keyframes";
+    /**
+     * TODO: These options are officially removed from the API.
+     */
+    if (yoyo || loop || flip) {
+        warning(!legacyRepeatWarning, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options.");
+        legacyRepeatWarning = true;
+        if (yoyo) {
+            options.repeatType = "reverse";
+        }
+        else if (loop) {
+            options.repeatType = "loop";
+        }
+        else if (flip) {
+            options.repeatType = "mirror";
+        }
+        options.repeat = loop || yoyo || flip || transition.repeat;
+    }
+    /**
+     * TODO: Popmotion 9 has the ability to automatically detect whether to use
+     * a keyframes or spring animation, but does so by detecting velocity and other spring options.
+     * It'd be good to introduce a similar thing here.
+     */
+    if (transition.type !== "spring")
+        options.type = "keyframes";
+    return options;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-footer/component.js
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
 /**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').FooterProps, 'div'>} props
- * @param {import('react').Ref<any>}                                                                  forwardedRef
+ * Get the delay for a value by checking Transition with decreasing specificity.
  */
-
-function CardFooter(props, forwardedRef) {
-  const footerProps = useCardFooter(props);
-  return Object(external_wp_element_["createElement"])(flex_component, Object(esm_extends["a" /* default */])({}, footerProps, {
-    ref: forwardedRef
-  }));
+function getDelayFromTransition(transition, key) {
+    var _a;
+    var valueTransition = getValueTransition(transition, key) || {};
+    return (_a = valueTransition.delay) !== null && _a !== void 0 ? _a : 0;
 }
-/**
- * `CardFooter` renders an optional footer within a `Card`.
- *
- * @example
- * ```jsx
- * import { Card, CardBody, CardFooter } from `@wordpress/components`;
- *
- * <Card>
- * 	<CardBody>...</CardBody>
- * 	<CardFooter>...</CardFooter>
- * </Card>
- * ```
- */
-
-
-const ConnectedCardFooter = Object(context_connect["a" /* contextConnect */])(CardFooter, 'CardFooter');
-/* harmony default export */ var card_footer_component = (ConnectedCardFooter);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-header/hook.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-
-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').HeaderProps, 'div'>} props
- */
-
-function useCardHeader(props) {
-  const {
-    className,
-    isBorderless = false,
-    isShady = false,
-    size = 'medium',
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'CardHeader');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => cx(styles_Header, styles_borderRadius, styles_borderColor, cardPaddings[size], isBorderless && borderless, isShady && shady, // This classname is added for legacy compatibility reasons.
-  'components-card__header', className), [className, isBorderless, isShady, size]);
-  return { ...otherProps,
-    className: classes
-  };
+function hydrateKeyframes(options) {
+    if (Array.isArray(options.to) && options.to[0] === null) {
+        options.to = tslib_es6_spreadArray([], tslib_es6_read(options.to));
+        options.to[0] = options.from;
+    }
+    return options;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-header/component.js
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').HeaderProps, 'div'>} props
- * @param {import('react').Ref<any>}                                                                  forwardedRef
- */
-
-function CardHeader(props, forwardedRef) {
-  const headerProps = useCardHeader(props);
-  return Object(external_wp_element_["createElement"])(flex_component, Object(esm_extends["a" /* default */])({}, headerProps, {
-    ref: forwardedRef
-  }));
+function getPopmotionAnimationOptions(transition, options, key) {
+    var _a;
+    if (Array.isArray(options.to)) {
+        (_a = transition.duration) !== null && _a !== void 0 ? _a : (transition.duration = 0.8);
+    }
+    hydrateKeyframes(options);
+    /**
+     * Get a default transition if none is determined to be defined.
+     */
+    if (!isTransitionDefined(transition)) {
+        transition = __assign(__assign({}, transition), getDefaultTransition(key, options.to));
+    }
+    return __assign(__assign({}, options), convertTransitionToAnimationOptions(transition));
 }
 /**
- * `CardHeader` renders an optional header within a `Card`.
- *
- * @example
- * ```jsx
- * import { Card, CardBody, CardHeader } from `@wordpress/components`;
  *
- * <Card>
- * 	<CardHeader>...</CardHeader>
- * 	<CardBody>...</CardBody>
- * </Card>
- * ```
- */
-
-
-const ConnectedCardHeader = Object(context_connect["a" /* contextConnect */])(CardHeader, 'CardHeader');
-/* harmony default export */ var card_header_component = (ConnectedCardHeader);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-media/hook.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-
-/**
- * @param {import('../../ui/context').WordPressComponentProps<{ children: import('react').ReactNode }, 'div'>} props
  */
-
-function useCardMedia(props) {
-  const {
-    className,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'CardMedia');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => cx(Media, styles_borderRadius, // This classname is added for legacy compatibility reasons.
-  'components-card__media', className), [className]);
-  return { ...otherProps,
-    className: classes
-  };
+function getAnimation(key, value, target, transition, onComplete) {
+    var _a;
+    var valueTransition = getValueTransition(transition, key);
+    var origin = (_a = valueTransition.from) !== null && _a !== void 0 ? _a : value.get();
+    var isTargetAnimatable = isAnimatable(key, target);
+    if (origin === "none" && isTargetAnimatable && typeof target === "string") {
+        /**
+         * If we're trying to animate from "none", try and get an animatable version
+         * of the target. This could be improved to work both ways.
+         */
+        origin = animatable_none_getAnimatableNone(key, target);
+    }
+    else if (isZero(origin) && typeof target === "string") {
+        origin = getZeroUnit(target);
+    }
+    else if (!Array.isArray(target) &&
+        isZero(target) &&
+        typeof origin === "string") {
+        target = getZeroUnit(origin);
+    }
+    var isOriginAnimatable = isAnimatable(key, origin);
+    warning(isOriginAnimatable === isTargetAnimatable, "You are trying to animate " + key + " from \"" + origin + "\" to \"" + target + "\". " + origin + " is not an animatable value - to enable this animation set " + origin + " to a value animatable to " + target + " via the `style` property.");
+    function start() {
+        var options = {
+            from: origin,
+            to: target,
+            velocity: value.getVelocity(),
+            onComplete: onComplete,
+            onUpdate: function (v) { return value.set(v); },
+        };
+        return valueTransition.type === "inertia" ||
+            valueTransition.type === "decay"
+            ? inertia(__assign(__assign({}, options), valueTransition))
+            : animate(__assign(__assign({}, getPopmotionAnimationOptions(valueTransition, options, key)), { onUpdate: function (v) {
+                    var _a;
+                    options.onUpdate(v);
+                    (_a = valueTransition.onUpdate) === null || _a === void 0 ? void 0 : _a.call(valueTransition, v);
+                }, onComplete: function () {
+                    var _a;
+                    options.onComplete();
+                    (_a = valueTransition.onComplete) === null || _a === void 0 ? void 0 : _a.call(valueTransition);
+                } }));
+    }
+    function set() {
+        var _a;
+        value.set(target);
+        onComplete();
+        (_a = valueTransition === null || valueTransition === void 0 ? void 0 : valueTransition.onComplete) === null || _a === void 0 ? void 0 : _a.call(valueTransition);
+        return { stop: function () { } };
+    }
+    return !isOriginAnimatable ||
+        !isTargetAnimatable ||
+        valueTransition.type === false
+        ? set
+        : start;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-media/component.js
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * @param {import('../../ui/context').WordPressComponentProps<{ children: import('react').ReactNode }, 'div'>} props
- * @param {import('react').Ref<any>}                                                                           forwardedRef
- */
-
-function CardMedia(props, forwardedRef) {
-  const cardMediaProps = useCardMedia(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, cardMediaProps, {
-    ref: forwardedRef
-  }));
+function isZero(value) {
+    return (value === 0 ||
+        (typeof value === "string" &&
+            parseFloat(value) === 0 &&
+            value.indexOf(" ") === -1));
+}
+function getZeroUnit(potentialUnitType) {
+    return typeof potentialUnitType === "number"
+        ? 0
+        : animatable_none_getAnimatableNone("", potentialUnitType);
+}
+function getValueTransition(transition, key) {
+    return transition[key] || transition["default"] || transition;
 }
 /**
- * `CardMedia` provides a container for media elements within a `Card`.
- *
- * @example
- * ```jsx
- * import { Card, CardBody, CardMedia } from '@wordpress/components';
+ * Start animation on a MotionValue. This function is an interface between
+ * Framer Motion and Popmotion
  *
- * const Example = () => (
- *  <Card>
- *	  <CardMedia>
- *		  <img src="..." />
- *    </CardMedia>
- *    <CardBody>...</CardBody>
- *  </Card>
- * );
- * ```
- */
-
-
-const ConnectedCardMedia = Object(context_connect["a" /* contextConnect */])(CardMedia, 'CardMedia');
-/* harmony default export */ var card_media_component = (ConnectedCardMedia);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
-var build_module_icon = __webpack_require__("iClF");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
-var check = __webpack_require__("RMJe");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/checkbox-control/index.js
-
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-/**
- * Internal dependencies
+ * @internal
  */
-
-
-function CheckboxControl(_ref) {
-  let {
-    label,
-    className,
-    heading,
-    checked,
-    help,
-    onChange,
-    ...props
-  } = _ref;
-
-  if (heading) {
-    external_wp_deprecated_default()('`heading` prop in `CheckboxControl`', {
-      alternative: 'a separate element to implement a heading',
-      plugin: 'Gutenberg'
+function startAnimation(key, value, target, transition) {
+    if (transition === void 0) { transition = {}; }
+    return value.start(function (onComplete) {
+        var delayTimer;
+        var controls;
+        var animation = getAnimation(key, value, target, transition, onComplete);
+        var delay = getDelayFromTransition(transition, key);
+        var start = function () { return (controls = animation()); };
+        if (delay) {
+            delayTimer = setTimeout(start, secondsToMilliseconds(delay));
+        }
+        else {
+            start();
+        }
+        return function () {
+            clearTimeout(delayTimer);
+            controls === null || controls === void 0 ? void 0 : controls.stop();
+        };
     });
-  }
-
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(CheckboxControl);
-  const id = `inspector-checkbox-control-${instanceId}`;
-
-  const onChangeValue = event => onChange(event.target.checked);
-
-  return Object(external_wp_element_["createElement"])(base_control, {
-    label: heading,
-    id: id,
-    help: help,
-    className: classnames_default()('components-checkbox-control', className)
-  }, Object(external_wp_element_["createElement"])("span", {
-    className: "components-checkbox-control__input-container"
-  }, Object(external_wp_element_["createElement"])("input", Object(esm_extends["a" /* default */])({
-    id: id,
-    className: "components-checkbox-control__input",
-    type: "checkbox",
-    value: "1",
-    onChange: onChangeValue,
-    checked: checked,
-    "aria-describedby": !!help ? id + '__help' : undefined
-  }, props)), checked ? Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: check["a" /* default */],
-    className: "components-checkbox-control__checked",
-    role: "presentation"
-  }) : null), Object(external_wp_element_["createElement"])("label", {
-    className: "components-checkbox-control__label",
-    htmlFor: id
-  }, label));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/clipboard-button/index.js
-


+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/is-numerical-string.js
 /**
- * External dependencies
+ * Check if value is a numerical string, ie a string that is purely a number eg "100" or "-100.1"
  */
+var isNumericalString = function (v) { return /^\-?\d*\.?\d+$/.test(v); };

-/**
- * WordPress dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/array.js
+function addUniqueItem(arr, item) {
+    arr.indexOf(item) === -1 && arr.push(item);
+}
+function removeItem(arr, item) {
+    var index = arr.indexOf(item);
+    index > -1 && arr.splice(index, 1);
+}


-/**
- * Internal dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/subscription-manager.js

-const TIMEOUT = 4000;
-function ClipboardButton(_ref) {
-  let {
-    className,
-    children,
-    onCopy,
-    onFinishCopy,
-    text,
-    ...buttonProps
-  } = _ref;
-  external_wp_deprecated_default()('wp.components.ClipboardButton', {
-    since: '10.3',
-    plugin: 'Gutenberg',
-    alternative: 'wp.compose.useCopyToClipboard'
-  });
-  const timeoutId = Object(external_wp_element_["useRef"])();
-  const ref = Object(external_wp_compose_["useCopyToClipboard"])(text, () => {
-    onCopy();
-    clearTimeout(timeoutId.current);

-    if (onFinishCopy) {
-      timeoutId.current = setTimeout(() => onFinishCopy(), TIMEOUT);
+var SubscriptionManager = /** @class */ (function () {
+    function SubscriptionManager() {
+        this.subscriptions = [];
     }
-  });
-  Object(external_wp_element_["useEffect"])(() => {
-    clearTimeout(timeoutId.current);
-  }, []);
-  const classes = classnames_default()('components-clipboard-button', className); // Workaround for inconsistent behavior in Safari, where <textarea> is not
-  // the document.activeElement at the moment when the copy event fires.
-  // This causes documentHasSelection() in the copy-handler component to
-  // mistakenly override the ClipboardButton, and copy a serialized string
-  // of the current block instead.
+    SubscriptionManager.prototype.add = function (handler) {
+        var _this = this;
+        addUniqueItem(this.subscriptions, handler);
+        return function () { return removeItem(_this.subscriptions, handler); };
+    };
+    SubscriptionManager.prototype.notify = function (a, b, c) {
+        var numSubscriptions = this.subscriptions.length;
+        if (!numSubscriptions)
+            return;
+        if (numSubscriptions === 1) {
+            /**
+             * If there's only a single handler we can just call it without invoking a loop.
+             */
+            this.subscriptions[0](a, b, c);
+        }
+        else {
+            for (var i = 0; i < numSubscriptions; i++) {
+                /**
+                 * Check whether the handler exists before firing as it's possible
+                 * the subscriptions were modified during this loop running.
+                 */
+                var handler = this.subscriptions[i];
+                handler && handler(a, b, c);
+            }
+        }
+    };
+    SubscriptionManager.prototype.getSize = function () {
+        return this.subscriptions.length;
+    };
+    SubscriptionManager.prototype.clear = function () {
+        this.subscriptions.length = 0;
+    };
+    return SubscriptionManager;
+}());

-  const focusOnCopyEventTarget = event => {
-    event.target.focus();
-  };

-  return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, buttonProps, {
-    className: classes,
-    ref: ref,
-    onCopy: focusOnCopyEventTarget
-  }), children);
-}

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/line-solid.js
-var line_solid = __webpack_require__("bVTw");
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/value/index.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
-var plus = __webpack_require__("Q4Sy");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
-var more_vertical = __webpack_require__("VKE3");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/settings.js
-var settings = __webpack_require__("mi6C");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/h-stack/utils.js
+var isFloat = function (value) {
+    return !isNaN(parseFloat(value));
+};
 /**
- * External dependencies
+ * `MotionValue` is used to track the state and velocity of motion values.
+ *
+ * @public
  */
-
-/** @type {import('./types').Alignments} */
-
-const utils_ALIGNMENTS = {
-  bottom: {
-    align: 'flex-end',
-    justify: 'center'
-  },
-  bottomLeft: {
-    align: 'flex-start',
-    justify: 'flex-end'
-  },
-  bottomRight: {
-    align: 'flex-end',
-    justify: 'flex-end'
-  },
-  center: {
-    align: 'center',
-    justify: 'center'
-  },
-  edge: {
-    align: 'center',
-    justify: 'space-between'
-  },
-  left: {
-    align: 'center',
-    justify: 'flex-start'
-  },
-  right: {
-    align: 'center',
-    justify: 'flex-end'
-  },
-  stretch: {
-    align: 'stretch'
-  },
-  top: {
-    align: 'flex-start',
-    justify: 'center'
-  },
-  topLeft: {
-    align: 'flex-start',
-    justify: 'flex-start'
-  },
-  topRight: {
-    align: 'flex-start',
-    justify: 'flex-end'
-  }
-};
-/** @type {import('./types').Alignments} */
-
-const V_ALIGNMENTS = {
-  bottom: {
-    justify: 'flex-end',
-    align: 'center'
-  },
-  bottomLeft: {
-    justify: 'flex-start',
-    align: 'flex-end'
-  },
-  bottomRight: {
-    justify: 'flex-end',
-    align: 'flex-end'
-  },
-  center: {
-    justify: 'center',
-    align: 'center'
-  },
-  edge: {
-    justify: 'space-between',
-    align: 'center'
-  },
-  left: {
-    justify: 'center',
-    align: 'flex-start'
-  },
-  right: {
-    justify: 'center',
-    align: 'flex-end'
-  },
-  stretch: {
-    justify: 'stretch'
-  },
-  top: {
-    justify: 'flex-start',
-    align: 'center'
-  },
-  topLeft: {
-    justify: 'flex-start',
-    align: 'flex-start'
-  },
-  topRight: {
-    justify: 'flex-start',
-    align: 'flex-end'
-  }
-};
-/* eslint-disable jsdoc/valid-types */
-
+var MotionValue = /** @class */ (function () {
+    /**
+     * @param init - The initiating value
+     * @param config - Optional configuration options
+     *
+     * -  `transformer`: A function to transform incoming values with.
+     *
+     * @internal
+     */
+    function MotionValue(init) {
+        var _this = this;
+        /**
+         * Duration, in milliseconds, since last updating frame.
+         *
+         * @internal
+         */
+        this.timeDelta = 0;
+        /**
+         * Timestamp of the last time this `MotionValue` was updated.
+         *
+         * @internal
+         */
+        this.lastUpdated = 0;
+        /**
+         * Functions to notify when the `MotionValue` updates.
+         *
+         * @internal
+         */
+        this.updateSubscribers = new SubscriptionManager();
+        /**
+         * Functions to notify when the velocity updates.
+         *
+         * @internal
+         */
+        this.velocityUpdateSubscribers = new SubscriptionManager();
+        /**
+         * Functions to notify when the `MotionValue` updates and `render` is set to `true`.
+         *
+         * @internal
+         */
+        this.renderSubscribers = new SubscriptionManager();
+        /**
+         * Tracks whether this value can output a velocity. Currently this is only true
+         * if the value is numerical, but we might be able to widen the scope here and support
+         * other value types.
+         *
+         * @internal
+         */
+        this.canTrackVelocity = false;
+        this.updateAndNotify = function (v, render) {
+            if (render === void 0) { render = true; }
+            _this.prev = _this.current;
+            _this.current = v;
+            // Update timestamp
+            var _a = getFrameData(), delta = _a.delta, timestamp = _a.timestamp;
+            if (_this.lastUpdated !== timestamp) {
+                _this.timeDelta = delta;
+                _this.lastUpdated = timestamp;
+                es.postRender(_this.scheduleVelocityCheck);
+            }
+            // Update update subscribers
+            if (_this.prev !== _this.current) {
+                _this.updateSubscribers.notify(_this.current);
+            }
+            // Update velocity subscribers
+            if (_this.velocityUpdateSubscribers.getSize()) {
+                _this.velocityUpdateSubscribers.notify(_this.getVelocity());
+            }
+            // Update render subscribers
+            if (render) {
+                _this.renderSubscribers.notify(_this.current);
+            }
+        };
+        /**
+         * Schedule a velocity check for the next frame.
+         *
+         * This is an instanced and bound function to prevent generating a new
+         * function once per frame.
+         *
+         * @internal
+         */
+        this.scheduleVelocityCheck = function () { return es.postRender(_this.velocityCheck); };
+        /**
+         * Updates `prev` with `current` if the value hasn't been updated this frame.
+         * This ensures velocity calculations return `0`.
+         *
+         * This is an instanced and bound function to prevent generating a new
+         * function once per frame.
+         *
+         * @internal
+         */
+        this.velocityCheck = function (_a) {
+            var timestamp = _a.timestamp;
+            if (timestamp !== _this.lastUpdated) {
+                _this.prev = _this.current;
+                _this.velocityUpdateSubscribers.notify(_this.getVelocity());
+            }
+        };
+        this.hasAnimated = false;
+        this.prev = this.current = init;
+        this.canTrackVelocity = isFloat(this.current);
+    }
+    /**
+     * Adds a function that will be notified when the `MotionValue` is updated.
+     *
+     * It returns a function that, when called, will cancel the subscription.
+     *
+     * When calling `onChange` inside a React component, it should be wrapped with the
+     * `useEffect` hook. As it returns an unsubscribe function, this should be returned
+     * from the `useEffect` function to ensure you don't add duplicate subscribers..
+     *
+     * @library
+     *
+     * ```jsx
+     * function MyComponent() {
+     *   const x = useMotionValue(0)
+     *   const y = useMotionValue(0)
+     *   const opacity = useMotionValue(1)
+     *
+     *   useEffect(() => {
+     *     function updateOpacity() {
+     *       const maxXY = Math.max(x.get(), y.get())
+     *       const newOpacity = transform(maxXY, [0, 100], [1, 0])
+     *       opacity.set(newOpacity)
+     *     }
+     *
+     *     const unsubscribeX = x.onChange(updateOpacity)
+     *     const unsubscribeY = y.onChange(updateOpacity)
+     *
+     *     return () => {
+     *       unsubscribeX()
+     *       unsubscribeY()
+     *     }
+     *   }, [])
+     *
+     *   return <Frame x={x} />
+     * }
+     * ```
+     *
+     * @motion
+     *
+     * ```jsx
+     * export const MyComponent = () => {
+     *   const x = useMotionValue(0)
+     *   const y = useMotionValue(0)
+     *   const opacity = useMotionValue(1)
+     *
+     *   useEffect(() => {
+     *     function updateOpacity() {
+     *       const maxXY = Math.max(x.get(), y.get())
+     *       const newOpacity = transform(maxXY, [0, 100], [1, 0])
+     *       opacity.set(newOpacity)
+     *     }
+     *
+     *     const unsubscribeX = x.onChange(updateOpacity)
+     *     const unsubscribeY = y.onChange(updateOpacity)
+     *
+     *     return () => {
+     *       unsubscribeX()
+     *       unsubscribeY()
+     *     }
+     *   }, [])
+     *
+     *   return <motion.div style={{ x }} />
+     * }
+     * ```
+     *
+     * @internalremarks
+     *
+     * We could look into a `useOnChange` hook if the above lifecycle management proves confusing.
+     *
+     * ```jsx
+     * useOnChange(x, () => {})
+     * ```
+     *
+     * @param subscriber - A function that receives the latest value.
+     * @returns A function that, when called, will cancel this subscription.
+     *
+     * @public
+     */
+    MotionValue.prototype.onChange = function (subscription) {
+        return this.updateSubscribers.add(subscription);
+    };
+    MotionValue.prototype.clearListeners = function () {
+        this.updateSubscribers.clear();
+    };
+    /**
+     * Adds a function that will be notified when the `MotionValue` requests a render.
+     *
+     * @param subscriber - A function that's provided the latest value.
+     * @returns A function that, when called, will cancel this subscription.
+     *
+     * @internal
+     */
+    MotionValue.prototype.onRenderRequest = function (subscription) {
+        // Render immediately
+        subscription(this.get());
+        return this.renderSubscribers.add(subscription);
+    };
+    /**
+     * Attaches a passive effect to the `MotionValue`.
+     *
+     * @internal
+     */
+    MotionValue.prototype.attach = function (passiveEffect) {
+        this.passiveEffect = passiveEffect;
+    };
+    /**
+     * Sets the state of the `MotionValue`.
+     *
+     * @remarks
+     *
+     * ```jsx
+     * const x = useMotionValue(0)
+     * x.set(10)
+     * ```
+     *
+     * @param latest - Latest value to set.
+     * @param render - Whether to notify render subscribers. Defaults to `true`
+     *
+     * @public
+     */
+    MotionValue.prototype.set = function (v, render) {
+        if (render === void 0) { render = true; }
+        if (!render || !this.passiveEffect) {
+            this.updateAndNotify(v, render);
+        }
+        else {
+            this.passiveEffect(v, this.updateAndNotify);
+        }
+    };
+    /**
+     * Returns the latest state of `MotionValue`
+     *
+     * @returns - The latest state of `MotionValue`
+     *
+     * @public
+     */
+    MotionValue.prototype.get = function () {
+        return this.current;
+    };
+    /**
+     * @public
+     */
+    MotionValue.prototype.getPrevious = function () {
+        return this.prev;
+    };
+    /**
+     * Returns the latest velocity of `MotionValue`
+     *
+     * @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.
+     *
+     * @public
+     */
+    MotionValue.prototype.getVelocity = function () {
+        // This could be isFloat(this.prev) && isFloat(this.current), but that would be wasteful
+        return this.canTrackVelocity
+            ? // These casts could be avoided if parseFloat would be typed better
+                velocityPerSecond(parseFloat(this.current) -
+                    parseFloat(this.prev), this.timeDelta)
+            : 0;
+    };
+    /**
+     * Registers a new animation to control this `MotionValue`. Only one
+     * animation can drive a `MotionValue` at one time.
+     *
+     * ```jsx
+     * value.start()
+     * ```
+     *
+     * @param animation - A function that starts the provided animation
+     *
+     * @internal
+     */
+    MotionValue.prototype.start = function (animation) {
+        var _this = this;
+        this.stop();
+        return new Promise(function (resolve) {
+            _this.hasAnimated = true;
+            _this.stopAnimation = animation(resolve);
+        }).then(function () { return _this.clearAnimation(); });
+    };
+    /**
+     * Stop the currently active animation.
+     *
+     * @public
+     */
+    MotionValue.prototype.stop = function () {
+        if (this.stopAnimation)
+            this.stopAnimation();
+        this.clearAnimation();
+    };
+    /**
+     * Returns `true` if this value is currently animating.
+     *
+     * @public
+     */
+    MotionValue.prototype.isAnimating = function () {
+        return !!this.stopAnimation;
+    };
+    MotionValue.prototype.clearAnimation = function () {
+        this.stopAnimation = null;
+    };
+    /**
+     * Destroy and clean up subscribers to this `MotionValue`.
+     *
+     * The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically
+     * handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually
+     * created a `MotionValue` via the `motionValue` function.
+     *
+     * @public
+     */
+    MotionValue.prototype.destroy = function () {
+        this.updateSubscribers.clear();
+        this.renderSubscribers.clear();
+        this.stop();
+    };
+    return MotionValue;
+}());
 /**
- * @param {import('./types').HStackAlignment | import('react').CSSProperties[ 'alignItems' ]} alignment         Where to align.
- * @param {import('../flex/types').FlexDirection}                                             [direction='row'] Direction to align.
- * @return {import('./types').AlignmentProps} Alignment props.
+ * @internal
  */
+function motionValue(init) {
+    return new MotionValue(init);
+}

-/* eslint-enable jsdoc/valid-types */
-
-function getAlignmentProps(alignment) {
-  let direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'row';
-
-  if (Object(external_lodash_["isNil"])(alignment)) {
-    return {};
-  }

-  const isVertical = direction === 'column';
-  const props = isVertical ? V_ALIGNMENTS : utils_ALIGNMENTS;
-  const alignmentProps = alignment in props ? props[
-  /** @type {keyof typeof ALIGNMENTS} */
-  alignment] : {
-    align: alignment
-  };
-  return alignmentProps;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/get-valid-children.js
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/test.js
 /**
- * External dependencies
+ * Tests a provided value against a ValueType
  */
-// eslint-disable-next-line no-restricted-imports
+var testValueType = function (v) { return function (type) { return type.test(v); }; };
+

-/**
- * WordPress dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.js
 /**
- * Gets a collection of available children elements from a React component's children prop.
- *
- * @param  children
- *
- * @return An array of available children.
+ * ValueType for "auto"
  */
-
-function getValidChildren(children) {
-  if (typeof children === 'string') return [children];
-  return external_wp_element_["Children"].toArray(children).filter(child => Object(external_wp_element_["isValidElement"])(child));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/h-stack/hook.js
+var auto = {
+    test: function (v) { return v === "auto"; },
+    parse: function (v) { return v; },
+};



-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.js




 /**
- *
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ * A list of value types commonly used for dimensions
+ */
+var dimensionValueTypes = [number, px, percent, degrees, vw, vh, auto];
+/**
+ * Tests a dimensional value against the list of dimension ValueTypes
  */
+var findDimensionValueType = function (v) {
+    return dimensionValueTypes.find(testValueType(v));
+};

-function useHStack(props) {
-  const {
-    alignment = 'edge',
-    children,
-    direction,
-    spacing = 2,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'HStack');
-  const align = getAlignmentProps(alignment, direction);
-  const validChildren = getValidChildren(children);
-  const clonedChildren = validChildren.map( // @ts-ignore
-  (
-  /** @type {import('react').ReactElement} */
-  child, index) => {
-    const _key = child.key || `hstack-${index}`;

-    const _isSpacer = Object(context_connect["b" /* hasConnectNamespace */])(child, ['Spacer']);

-    if (_isSpacer) {
-      return Object(external_wp_element_["createElement"])(flex_item_component, Object(esm_extends["a" /* default */])({
-        isBlock: true,
-        key: _key
-      }, child.props));
-    }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/value-types/find.js

-    return child;
-  });
-  const propsForFlex = {
-    children: clonedChildren,
-    direction,
-    justify: 'center',
-    ...align,
-    ...otherProps,
-    gap: spacing
-  };
-  const flexProps = useFlex(propsForFlex);
-  return flexProps;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/h-stack/component.js



 /**
- * Internal dependencies
+ * A list of all ValueTypes
+ */
+var valueTypes = tslib_es6_spreadArray(tslib_es6_spreadArray([], tslib_es6_read(dimensionValueTypes)), [color, complex]);
+/**
+ * Tests a value against the list of ValueTypes
  */
+var findValueType = function (v) { return valueTypes.find(testValueType(v)); };



-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- * @param {import('react').Ref<any>}                                                        forwardedRef
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/setters.js

-function HStack(props, forwardedRef) {
-  const hStackProps = useHStack(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, hStackProps, {
-    ref: forwardedRef
-  }));
-}
-/**
- * `HStack` (Horizontal Stack) arranges child elements in a horizontal line.
- *
- * `HStack` can render anything inside.
- *
- * @example
- * ```jsx
- * import {
- * 	__experimentalHStack as HStack,
- * 	__experimentalText as Text,
- * } from `@wordpress/components`;
- *
- * function Example() {
- * 	return (
- * 		<HStack>
- * 			<Text>Code</Text>
- * 			<Text>is</Text>
- * 			<Text>Poetry</Text>
- * 		</HStack>
- * 	);
- * }
- * ```
- */


-const ConnectedHStack = Object(context_connect["a" /* contextConnect */])(HStack, 'HStack');
-/* harmony default export */ var h_stack_component = (ConnectedHStack);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js
-var chevron_down = __webpack_require__("NWDH");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/select-control/styles/select-control-styles.js


-/**
- * External dependencies
- */


 /**
- * Internal dependencies
+ * Set VisualElement's MotionValue, creating a new MotionValue for it if
+ * it doesn't exist.
  */
-
-
-const select_control_styles_disabledStyles = _ref => {
-  let {
-    disabled
-  } = _ref;
-  if (!disabled) return '';
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    color: COLORS.ui.textDisabled
-  },  true ? "" : undefined,  true ? "" : undefined);
-};
-
-const select_control_styles_fontSizeStyles = _ref2 => {
-  let {
-    selectSize
-  } = _ref2;
-  const sizes = {
-    default: '13px',
-    small: '11px'
-  };
-  const fontSize = sizes[selectSize];
-  const fontSizeMobile = '16px';
-  if (!fontSize) return '';
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("font-size:", fontSizeMobile, ";@media ( min-width: 600px ){font-size:", fontSize, ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-};
-
-const select_control_styles_sizeStyles = _ref3 => {
-  let {
-    selectSize
-  } = _ref3;
-  const sizes = {
-    default: {
-      height: 30,
-      lineHeight: 1,
-      minHeight: 30
-    },
-    small: {
-      height: 24,
-      lineHeight: 1,
-      minHeight: 24
+function setMotionValue(visualElement, key, value) {
+    if (visualElement.hasValue(key)) {
+        visualElement.getValue(key).set(value);
+    }
+    else {
+        visualElement.addValue(key, motionValue(value));
     }
-  };
-  const style = sizes[selectSize] || sizes.default;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(style,  true ? "" : undefined,  true ? "" : undefined);
-}; // TODO: Resolve need to use &&& to increase specificity
-// https://github.com/WordPress/gutenberg/issues/18483
-
-
-const Select = Object(emotion_styled_base_browser_esm["a" /* default */])("select",  true ? {
-  target: "e1mv6sxx1"
-} : undefined)("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:", COLORS.black, ";display:block;margin:0;width:100%;", select_control_styles_disabledStyles, ";", select_control_styles_fontSizeStyles, ";", select_control_styles_sizeStyles, ";", rtl_rtl({
-  paddingLeft: 8,
-  paddingRight: 24
-}), ";}" + ( true ? "" : undefined));
-const DownArrowWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1mv6sxx0"
-} : undefined)("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;", rtl_rtl({
-  right: 0
-}), " svg{display:block;}" + ( true ? "" : undefined));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/select-control/index.js
-
-
-
-/**
- * External dependencies
- */
-
- // eslint-disable-next-line no-restricted-imports
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-function select_control_useUniqueId(idProp) {
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(SelectControl);
-  const id = `inspector-select-control-${instanceId}`;
-  return idProp || id;
 }
-
-function SelectControl(_ref, ref) {
-  let {
-    className,
-    disabled = false,
-    help,
-    hideLabelFromVision,
-    id: idProp,
-    label,
-    multiple = false,
-    onBlur = external_lodash_["noop"],
-    onChange = external_lodash_["noop"],
-    onFocus = external_lodash_["noop"],
-    options = [],
-    size = 'default',
-    value: valueProp,
-    labelPosition = 'top',
-    children,
-    prefix,
-    suffix,
-    ...props
-  } = _ref;
-  const [isFocused, setIsFocused] = Object(external_wp_element_["useState"])(false);
-  const id = select_control_useUniqueId(idProp);
-  const helpId = help ? `${id}__help` : undefined; // Disable reason: A select with an onchange throws a warning
-
-  if (Object(external_lodash_["isEmpty"])(options) && !children) return null;
-
-  const handleOnBlur = event => {
-    onBlur(event);
-    setIsFocused(false);
-  };
-
-  const handleOnFocus = event => {
-    onFocus(event);
-    setIsFocused(true);
-  };
-
-  const handleOnChange = event => {
-    if (multiple) {
-      const selectedOptions = Array.from(event.target.options).filter(_ref2 => {
-        let {
-          selected
-        } = _ref2;
-        return selected;
-      });
-      const newValues = selectedOptions.map(_ref3 => {
-        let {
-          value
-        } = _ref3;
-        return value;
-      });
-      onChange(newValues);
-      return;
+function setTarget(visualElement, definition) {
+    var resolved = resolveVariant(visualElement, definition);
+    var _a = resolved
+        ? visualElement.makeTargetAnimatable(resolved, false)
+        : {}, _b = _a.transitionEnd, transitionEnd = _b === void 0 ? {} : _b; _a.transition; var target = __rest(_a, ["transitionEnd", "transition"]);
+    target = __assign(__assign({}, target), transitionEnd);
+    for (var key in target) {
+        var value = resolveFinalValueInKeyframes(target[key]);
+        setMotionValue(visualElement, key, value);
     }
-
-    onChange(event.target.value, {
-      event
+}
+function setVariants(visualElement, variantLabels) {
+    var reversedLabels = __spreadArray([], __read(variantLabels)).reverse();
+    reversedLabels.forEach(function (key) {
+        var _a;
+        var variant = visualElement.getVariant(key);
+        variant && setTarget(visualElement, variant);
+        (_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.forEach(function (child) {
+            setVariants(child, variantLabels);
+        });
     });
-  };
-
-  const classes = classnames_default()('components-select-control', className);
-  /* eslint-disable jsx-a11y/no-onchange */
-
-  return Object(external_wp_element_["createElement"])(base_control, {
-    help: help,
-    id: id
-  }, Object(external_wp_element_["createElement"])(input_base, {
-    className: classes,
-    disabled: disabled,
-    hideLabelFromVision: hideLabelFromVision,
-    id: id,
-    isFocused: isFocused,
-    label: label,
-    size: size,
-    suffix: suffix || Object(external_wp_element_["createElement"])(DownArrowWrapper, null, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: chevron_down["a" /* default */],
-      size: 18
-    })),
-    prefix: prefix,
-    labelPosition: labelPosition
-  }, Object(external_wp_element_["createElement"])(Select, Object(esm_extends["a" /* default */])({}, props, {
-    "aria-describedby": helpId,
-    className: "components-select-control__input",
-    disabled: disabled,
-    id: id,
-    multiple: multiple,
-    onBlur: handleOnBlur,
-    onChange: handleOnChange,
-    onFocus: handleOnFocus,
-    ref: ref,
-    selectSize: size,
-    value: valueProp
-  }), children || options.map((option, index) => {
-    const key = option.id || `${option.label}-${option.value}-${index}`;
-    return Object(external_wp_element_["createElement"])("option", {
-      key: key,
-      value: option.value,
-      disabled: option.disabled
-    }, option.label);
-  }))));
-  /* eslint-enable jsx-a11y/no-onchange */
+}
+function setValues(visualElement, definition) {
+    if (Array.isArray(definition)) {
+        return setVariants(visualElement, definition);
+    }
+    else if (typeof definition === "string") {
+        return setVariants(visualElement, [definition]);
+    }
+    else {
+        setTarget(visualElement, definition);
+    }
+}
+function checkTargetForNewValues(visualElement, target, origin) {
+    var _a, _b, _c;
+    var _d;
+    var newValueKeys = Object.keys(target).filter(function (key) { return !visualElement.hasValue(key); });
+    var numNewValues = newValueKeys.length;
+    if (!numNewValues)
+        return;
+    for (var i = 0; i < numNewValues; i++) {
+        var key = newValueKeys[i];
+        var targetValue = target[key];
+        var value = null;
+        /**
+         * If the target is a series of keyframes, we can use the first value
+         * in the array. If this first value is null, we'll still need to read from the DOM.
+         */
+        if (Array.isArray(targetValue)) {
+            value = targetValue[0];
+        }
+        /**
+         * If the target isn't keyframes, or the first keyframe was null, we need to
+         * first check if an origin value was explicitly defined in the transition as "from",
+         * if not read the value from the DOM. As an absolute fallback, take the defined target value.
+         */
+        if (value === null) {
+            value = (_b = (_a = origin[key]) !== null && _a !== void 0 ? _a : visualElement.readValue(key)) !== null && _b !== void 0 ? _b : target[key];
+        }
+        /**
+         * If value is still undefined or null, ignore it. Preferably this would throw,
+         * but this was causing issues in Framer.
+         */
+        if (value === undefined || value === null)
+            continue;
+        if (typeof value === "string" && isNumericalString(value)) {
+            // If this is a number read as a string, ie "0" or "200", convert it to a number
+            value = parseFloat(value);
+        }
+        else if (!findValueType(value) && complex.test(targetValue)) {
+            value = animatable_none_getAnimatableNone(key, targetValue);
+        }
+        visualElement.addValue(key, motionValue(value));
+        (_c = (_d = origin)[key]) !== null && _c !== void 0 ? _c : (_d[key] = value);
+        visualElement.setBaseTarget(key, value);
+    }
+}
+function getOriginFromTransition(key, transition) {
+    if (!transition)
+        return;
+    var valueTransition = transition[key] || transition["default"] || transition;
+    return valueTransition.from;
+}
+function getOrigin(target, transition, visualElement) {
+    var _a, _b;
+    var origin = {};
+    for (var key in target) {
+        origin[key] =
+            (_a = getOriginFromTransition(key, transition)) !== null && _a !== void 0 ? _a : (_b = visualElement.getValue(key)) === null || _b === void 0 ? void 0 : _b.get();
+    }
+    return origin;
 }

-const select_control_ForwardedComponent = Object(external_wp_element_["forwardRef"])(SelectControl);
-/* harmony default export */ var select_control = (select_control_ForwardedComponent);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/icon/index.js
-var components_build_module_icon = __webpack_require__("9VDH");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/utils.js
-// @ts-nocheck

-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/animation.js

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */


 /**
- * A float supported clamp function for a specific value.
- *
- * @param {number|null} value The value to clamp.
- * @param {number}      min   The minimum value.
- * @param {number}      max   The maximum value.
- *
- * @return {number} A (float) number
+ * @internal
  */
-
-function floatClamp(value, min, max) {
-  if (typeof value !== 'number') {
-    return null;
-  }
-
-  return parseFloat(Object(external_lodash_["clamp"])(value, min, max));
+function animateVisualElement(visualElement, definition, options) {
+    if (options === void 0) { options = {}; }
+    visualElement.notifyAnimationStart();
+    var animation;
+    if (Array.isArray(definition)) {
+        var animations = definition.map(function (variant) {
+            return animateVariant(visualElement, variant, options);
+        });
+        animation = Promise.all(animations);
+    }
+    else if (typeof definition === "string") {
+        animation = animateVariant(visualElement, definition, options);
+    }
+    else {
+        var resolvedDefinition = typeof definition === "function"
+            ? resolveVariant(visualElement, definition, options.custom)
+            : definition;
+        animation = animateTarget(visualElement, resolvedDefinition, options);
+    }
+    return animation.then(function () {
+        return visualElement.notifyAnimationComplete(definition);
+    });
 }
-/**
- * Hook to store a clamped value, derived from props.
- *
- * @param {Object} settings         Hook settings.
- * @param {number} settings.min     The minimum value.
- * @param {number} settings.max     The maximum value.
- * @param {number} settings.value   The current value.
- * @param {any}    settings.initial The initial value.
- *
- * @return {[*, Function]} The controlled value and the value setter.
- */
-
-function useControlledRangeValue(_ref) {
-  let {
-    min,
-    max,
-    value: valueProp,
-    initial
-  } = _ref;
-  const [state, setInternalState] = use_controlled_state(floatClamp(valueProp, min, max), {
-    initial,
-    fallback: null
-  });
-  const setState = Object(external_wp_element_["useCallback"])(nextValue => {
-    if (nextValue === null) {
-      setInternalState(null);
-    } else {
-      setInternalState(floatClamp(nextValue, min, max));
+function animateVariant(visualElement, variant, options) {
+    var _a;
+    if (options === void 0) { options = {}; }
+    var resolved = resolveVariant(visualElement, variant, options.custom);
+    var _b = (resolved || {}).transition, transition = _b === void 0 ? visualElement.getDefaultTransition() || {} : _b;
+    if (options.transitionOverride) {
+        transition = options.transitionOverride;
+    }
+    /**
+     * If we have a variant, create a callback that runs it as an animation.
+     * Otherwise, we resolve a Promise immediately for a composable no-op.
+     */
+    var getAnimation = resolved
+        ? function () { return animateTarget(visualElement, resolved, options); }
+        : function () { return Promise.resolve(); };
+    /**
+     * If we have children, create a callback that runs all their animations.
+     * Otherwise, we resolve a Promise immediately for a composable no-op.
+     */
+    var getChildAnimations = ((_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.size)
+        ? function (forwardDelay) {
+            if (forwardDelay === void 0) { forwardDelay = 0; }
+            var _a = transition.delayChildren, delayChildren = _a === void 0 ? 0 : _a, staggerChildren = transition.staggerChildren, staggerDirection = transition.staggerDirection;
+            return animateChildren(visualElement, variant, delayChildren + forwardDelay, staggerChildren, staggerDirection, options);
+        }
+        : function () { return Promise.resolve(); };
+    /**
+     * If the transition explicitly defines a "when" option, we need to resolve either
+     * this animation or all children animations before playing the other.
+     */
+    var when = transition.when;
+    if (when) {
+        var _c = tslib_es6_read(when === "beforeChildren"
+            ? [getAnimation, getChildAnimations]
+            : [getChildAnimations, getAnimation], 2), first = _c[0], last = _c[1];
+        return first().then(last);
+    }
+    else {
+        return Promise.all([getAnimation(), getChildAnimations(options.delay)]);
     }
-  }, [min, max]);
-  return [state, setState];
 }
 /**
- * Hook to encapsulate the debouncing "hover" to better handle the showing
- * and hiding of the Tooltip.
- *
- * @param {Object}   settings                     Hook settings.
- * @param {Function} [settings.onShow=noop]       A callback function invoked when the element is shown.
- * @param {Function} [settings.onHide=noop]       A callback function invoked when the element is hidden.
- * @param {Function} [settings.onMouseMove=noop]  A callback function invoked when the mouse is moved.
- * @param {Function} [settings.onMouseLeave=noop] A callback function invoked when the mouse is moved out of the element.
- * @param {number}   [settings.timeout=300]       Timeout before the element is shown or hidden.
- *
- * @return {Object} Bound properties for use on a React.Node.
+ * @internal
  */
-
-function useDebouncedHoverInteraction(_ref2) {
-  let {
-    onHide = external_lodash_["noop"],
-    onMouseLeave = external_lodash_["noop"],
-    onMouseMove = external_lodash_["noop"],
-    onShow = external_lodash_["noop"],
-    timeout = 300
-  } = _ref2;
-  const [show, setShow] = Object(external_wp_element_["useState"])(false);
-  const timeoutRef = Object(external_wp_element_["useRef"])();
-  const setDebouncedTimeout = Object(external_wp_element_["useCallback"])(callback => {
-    window.clearTimeout(timeoutRef.current);
-    timeoutRef.current = setTimeout(callback, timeout);
-  }, [timeout]);
-  const handleOnMouseMove = Object(external_wp_element_["useCallback"])(event => {
-    onMouseMove(event);
-    setDebouncedTimeout(() => {
-      if (!show) {
-        setShow(true);
-        onShow();
-      }
+function animateTarget(visualElement, definition, _a) {
+    var _b;
+    var _c = _a === void 0 ? {} : _a, _d = _c.delay, delay = _d === void 0 ? 0 : _d, transitionOverride = _c.transitionOverride, type = _c.type;
+    var _e = visualElement.makeTargetAnimatable(definition), _f = _e.transition, transition = _f === void 0 ? visualElement.getDefaultTransition() : _f, transitionEnd = _e.transitionEnd, target = __rest(_e, ["transition", "transitionEnd"]);
+    if (transitionOverride)
+        transition = transitionOverride;
+    var animations = [];
+    var animationTypeState = type && ((_b = visualElement.animationState) === null || _b === void 0 ? void 0 : _b.getState()[type]);
+    for (var key in target) {
+        var value = visualElement.getValue(key);
+        var valueTarget = target[key];
+        if (!value ||
+            valueTarget === undefined ||
+            (animationTypeState &&
+                shouldBlockAnimation(animationTypeState, key))) {
+            continue;
+        }
+        var animation = startAnimation(key, value, valueTarget, __assign({ delay: delay }, transition));
+        animations.push(animation);
+    }
+    return Promise.all(animations).then(function () {
+        transitionEnd && setTarget(visualElement, transitionEnd);
     });
-  }, []);
-  const handleOnMouseLeave = Object(external_wp_element_["useCallback"])(event => {
-    onMouseLeave(event);
-    setDebouncedTimeout(() => {
-      setShow(false);
-      onHide();
+}
+function animateChildren(visualElement, variant, delayChildren, staggerChildren, staggerDirection, options) {
+    if (delayChildren === void 0) { delayChildren = 0; }
+    if (staggerChildren === void 0) { staggerChildren = 0; }
+    if (staggerDirection === void 0) { staggerDirection = 1; }
+    var animations = [];
+    var maxStaggerDuration = (visualElement.variantChildren.size - 1) * staggerChildren;
+    var generateStaggerDuration = staggerDirection === 1
+        ? function (i) {
+            if (i === void 0) { i = 0; }
+            return i * staggerChildren;
+        }
+        : function (i) {
+            if (i === void 0) { i = 0; }
+            return maxStaggerDuration - i * staggerChildren;
+        };
+    Array.from(visualElement.variantChildren)
+        .sort(sortByTreeOrder)
+        .forEach(function (child, i) {
+        animations.push(animateVariant(child, variant, __assign(__assign({}, options), { delay: delayChildren + generateStaggerDuration(i) })).then(function () { return child.notifyAnimationComplete(variant); }));
     });
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    return () => {
-      window.clearTimeout(timeoutRef.current);
-    };
-  });
-  return {
-    onMouseMove: handleOnMouseMove,
-    onMouseLeave: handleOnMouseLeave
-  };
+    return Promise.all(animations);
+}
+function stopAnimation(visualElement) {
+    visualElement.forEachValue(function (value) { return value.stop(); });
+}
+function sortByTreeOrder(a, b) {
+    return a.sortNodePosition(b);
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/styles/range-control-styles.js
-
-
-function range_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
-
-// @ts-nocheck
-
 /**
- * External dependencies
+ * Decide whether we should block this animation. Previously, we achieved this
+ * just by checking whether the key was listed in protectedKeys, but this
+ * posed problems if an animation was triggered by afterChildren and protectedKeys
+ * had been set to true in the meantime.
  */
+function shouldBlockAnimation(_a, key) {
+    var protectedKeys = _a.protectedKeys, needsAnimating = _a.needsAnimating;
+    var shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;
+    needsAnimating[key] = false;
+    return shouldBlock;
+}


-/**
- * Internal dependencies
- */
-

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/animation-state.js

-const rangeHeightValue = 30;
-const railHeight = 4;

-const rangeHeight = () => /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-  height: rangeHeightValue,
-  minHeight: rangeHeightValue
-},  true ? "" : undefined,  true ? "" : undefined);

-const thumbSize = 12;
-const range_control_styles_Root = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "exqw8y214"
-} : undefined)( true ? {
-  name: "17z6zai",
-  styles: "-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%"
-} : undefined);

-const wrapperColor = _ref4 => {
-  let {
-    color: colorProp = COLORS.ui.borderFocus
-  } = _ref4;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    color: colorProp
-  },  true ? "" : undefined,  true ? "" : undefined);
-};

-const wrapperMargin = _ref5 => {
-  let {
-    marks
-  } = _ref5;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    marginBottom: marks ? 16 : null
-  },  true ? "" : undefined,  true ? "" : undefined);
-};

-const range_control_styles_Wrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "exqw8y213"
-} : undefined)("box-sizing:border-box;color:", COLORS.blue.medium.focus, ";display:block;flex:1;position:relative;width:100%;", wrapperColor, ";", rangeHeight, ";", wrapperMargin, ";" + ( true ? "" : undefined));
-const BeforeIconWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y212"
-} : undefined)("margin-top:", railHeight, "px;", rtl_rtl({
-  marginRight: 6
-}), ";" + ( true ? "" : undefined));
-const AfterIconWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y211"
-} : undefined)("margin-top:", railHeight, "px;", rtl_rtl({
-  marginLeft: 16
-}), ";" + ( true ? "" : undefined));

-const railBackgroundColor = _ref6 => {
-  let {
-    disabled,
-    railColor
-  } = _ref6;
-  let background = railColor || null;

-  if (disabled) {
-    background = COLORS.lightGray[400];
-  }
-
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    background
-  },  true ? "" : undefined,  true ? "" : undefined);
-};
-
-const Rail = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y210"
-} : undefined)("background-color:", COLORS.lightGray[600], ";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:", railHeight, "px;position:absolute;margin-top:", (rangeHeightValue - railHeight) / 2, "px;top:0;border-radius:", railHeight, "px;", railBackgroundColor, ";" + ( true ? "" : undefined));
+var variantPriorityOrder = [
+    AnimationType.Animate,
+    AnimationType.Hover,
+    AnimationType.Tap,
+    AnimationType.Drag,
+    AnimationType.Focus,
+    AnimationType.Exit,
+];
+var reversePriorityOrder = tslib_es6_spreadArray([], tslib_es6_read(variantPriorityOrder)).reverse();
+var numAnimationTypes = variantPriorityOrder.length;
+function animateList(visualElement) {
+    return function (animations) {
+        return Promise.all(animations.map(function (_a) {
+            var animation = _a.animation, options = _a.options;
+            return animateVisualElement(visualElement, animation, options);
+        }));
+    };
+}
+function createAnimationState(visualElement) {
+    var animate = animateList(visualElement);
+    var state = createState();
+    var allAnimatedKeys = {};
+    var isInitialRender = true;
+    /**
+     * This function will be used to reduce the animation definitions for
+     * each active animation type into an object of resolved values for it.
+     */
+    var buildResolvedTypeValues = function (acc, definition) {
+        var resolved = resolveVariant(visualElement, definition);
+        if (resolved) {
+            resolved.transition; var transitionEnd = resolved.transitionEnd, target = __rest(resolved, ["transition", "transitionEnd"]);
+            acc = __assign(__assign(__assign({}, acc), target), transitionEnd);
+        }
+        return acc;
+    };
+    function isAnimated(key) {
+        return allAnimatedKeys[key] !== undefined;
+    }
+    /**
+     * This just allows us to inject mocked animation functions
+     * @internal
+     */
+    function setAnimateFunction(makeAnimator) {
+        animate = makeAnimator(visualElement);
+    }
+    /**
+     * When we receive new props, we need to:
+     * 1. Create a list of protected keys for each type. This is a directory of
+     *    value keys that are currently being "handled" by types of a higher priority
+     *    so that whenever an animation is played of a given type, these values are
+     *    protected from being animated.
+     * 2. Determine if an animation type needs animating.
+     * 3. Determine if any values have been removed from a type and figure out
+     *    what to animate those to.
+     */
+    function animateChanges(options, changedActiveType) {
+        var _a;
+        var props = visualElement.getProps();
+        var context = visualElement.getVariantContext(true) || {};
+        /**
+         * A list of animations that we'll build into as we iterate through the animation
+         * types. This will get executed at the end of the function.
+         */
+        var animations = [];
+        /**
+         * Keep track of which values have been removed. Then, as we hit lower priority
+         * animation types, we can check if they contain removed values and animate to that.
+         */
+        var removedKeys = new Set();
+        /**
+         * A dictionary of all encountered keys. This is an object to let us build into and
+         * copy it without iteration. Each time we hit an animation type we set its protected
+         * keys - the keys its not allowed to animate - to the latest version of this object.
+         */
+        var encounteredKeys = {};
+        /**
+         * If a variant has been removed at a given index, and this component is controlling
+         * variant animations, we want to ensure lower-priority variants are forced to animate.
+         */
+        var removedVariantIndex = Infinity;
+        var _loop_1 = function (i) {
+            var type = reversePriorityOrder[i];
+            var typeState = state[type];
+            var prop = (_a = props[type]) !== null && _a !== void 0 ? _a : context[type];
+            var propIsVariant = isVariantLabel(prop);
+            /**
+             * If this type has *just* changed isActive status, set activeDelta
+             * to that status. Otherwise set to null.
+             */
+            var activeDelta = type === changedActiveType ? typeState.isActive : null;
+            if (activeDelta === false)
+                removedVariantIndex = i;
+            /**
+             * If this prop is an inherited variant, rather than been set directly on the
+             * component itself, we want to make sure we allow the parent to trigger animations.
+             *
+             * TODO: Can probably change this to a !isControllingVariants check
+             */
+            var isInherited = prop === context[type] && prop !== props[type] && propIsVariant;
+            /**
+             *
+             */
+            if (isInherited &&
+                isInitialRender &&
+                visualElement.manuallyAnimateOnMount) {
+                isInherited = false;
+            }
+            /**
+             * Set all encountered keys so far as the protected keys for this type. This will
+             * be any key that has been animated or otherwise handled by active, higher-priortiy types.
+             */
+            typeState.protectedKeys = __assign({}, encounteredKeys);
+            // Check if we can skip analysing this prop early
+            if (
+            // If it isn't active and hasn't *just* been set as inactive
+            (!typeState.isActive && activeDelta === null) ||
+                // If we didn't and don't have any defined prop for this animation type
+                (!prop && !typeState.prevProp) ||
+                // Or if the prop doesn't define an animation
+                isAnimationControls(prop) ||
+                typeof prop === "boolean") {
+                return "continue";
+            }
+            /**
+             * As we go look through the values defined on this type, if we detect
+             * a changed value or a value that was removed in a higher priority, we set
+             * this to true and add this prop to the animation list.
+             */
+            var shouldAnimateType = variantsHaveChanged(typeState.prevProp, prop) ||
+                // If we're making this variant active, we want to always make it active
+                (type === changedActiveType &&
+                    typeState.isActive &&
+                    !isInherited &&
+                    propIsVariant) ||
+                // If we removed a higher-priority variant (i is in reverse order)
+                (i > removedVariantIndex && propIsVariant);
+            /**
+             * As animations can be set as variant lists, variants or target objects, we
+             * coerce everything to an array if it isn't one already
+             */
+            var definitionList = Array.isArray(prop) ? prop : [prop];
+            /**
+             * Build an object of all the resolved values. We'll use this in the subsequent
+             * animateChanges calls to determine whether a value has changed.
+             */
+            var resolvedValues = definitionList.reduce(buildResolvedTypeValues, {});
+            if (activeDelta === false)
+                resolvedValues = {};
+            /**
+             * Now we need to loop through all the keys in the prev prop and this prop,
+             * and decide:
+             * 1. If the value has changed, and needs animating
+             * 2. If it has been removed, and needs adding to the removedKeys set
+             * 3. If it has been removed in a higher priority type and needs animating
+             * 4. If it hasn't been removed in a higher priority but hasn't changed, and
+             *    needs adding to the type's protectedKeys list.
+             */
+            var _b = typeState.prevResolvedValues, prevResolvedValues = _b === void 0 ? {} : _b;
+            var allKeys = __assign(__assign({}, prevResolvedValues), resolvedValues);
+            var markToAnimate = function (key) {
+                shouldAnimateType = true;
+                removedKeys.delete(key);
+                typeState.needsAnimating[key] = true;
+            };
+            for (var key in allKeys) {
+                var next = resolvedValues[key];
+                var prev = prevResolvedValues[key];
+                // If we've already handled this we can just skip ahead
+                if (encounteredKeys.hasOwnProperty(key))
+                    continue;
+                /**
+                 * If the value has changed, we probably want to animate it.
+                 */
+                if (next !== prev) {
+                    /**
+                     * If both values are keyframes, we need to shallow compare them to
+                     * detect whether any value has changed. If it has, we animate it.
+                     */
+                    if (isKeyframesTarget(next) && isKeyframesTarget(prev)) {
+                        if (!shallowCompare(next, prev)) {
+                            markToAnimate(key);
+                        }
+                        else {
+                            /**
+                             * If it hasn't changed, we want to ensure it doesn't animate by
+                             * adding it to the list of protected keys.
+                             */
+                            typeState.protectedKeys[key] = true;
+                        }
+                    }
+                    else if (next !== undefined) {
+                        // If next is defined and doesn't equal prev, it needs animating
+                        markToAnimate(key);
+                    }
+                    else {
+                        // If it's undefined, it's been removed.
+                        removedKeys.add(key);
+                    }
+                }
+                else if (next !== undefined && removedKeys.has(key)) {
+                    /**
+                     * If next hasn't changed and it isn't undefined, we want to check if it's
+                     * been removed by a higher priority
+                     */
+                    markToAnimate(key);
+                }
+                else {
+                    /**
+                     * If it hasn't changed, we add it to the list of protected values
+                     * to ensure it doesn't get animated.
+                     */
+                    typeState.protectedKeys[key] = true;
+                }
+            }
+            /**
+             * Update the typeState so next time animateChanges is called we can compare the
+             * latest prop and resolvedValues to these.
+             */
+            typeState.prevProp = prop;
+            typeState.prevResolvedValues = resolvedValues;
+            /**
+             *
+             */
+            if (typeState.isActive) {
+                encounteredKeys = __assign(__assign({}, encounteredKeys), resolvedValues);
+            }
+            if (isInitialRender && visualElement.blockInitialAnimation) {
+                shouldAnimateType = false;
+            }
+            /**
+             * If this is an inherited prop we want to hard-block animations
+             * TODO: Test as this should probably still handle animations triggered
+             * by removed values?
+             */
+            if (shouldAnimateType && !isInherited) {
+                animations.push.apply(animations, tslib_es6_spreadArray([], tslib_es6_read(definitionList.map(function (animation) { return ({
+                    animation: animation,
+                    options: __assign({ type: type }, options),
+                }); }))));
+            }
+        };
+        /**
+         * Iterate through all animation types in reverse priority order. For each, we want to
+         * detect which values it's handling and whether or not they've changed (and therefore
+         * need to be animated). If any values have been removed, we want to detect those in
+         * lower priority props and flag for animation.
+         */
+        for (var i = 0; i < numAnimationTypes; i++) {
+            _loop_1(i);
+        }
+        allAnimatedKeys = __assign({}, encounteredKeys);
+        /**
+         * If there are some removed value that haven't been dealt with,
+         * we need to create a new animation that falls back either to the value
+         * defined in the style prop, or the last read value.
+         */
+        if (removedKeys.size) {
+            var fallbackAnimation_1 = {};
+            removedKeys.forEach(function (key) {
+                var fallbackTarget = visualElement.getBaseTarget(key);
+                if (fallbackTarget !== undefined) {
+                    fallbackAnimation_1[key] = fallbackTarget;
+                }
+            });
+            animations.push({ animation: fallbackAnimation_1 });
+        }
+        var shouldAnimate = Boolean(animations.length);
+        if (isInitialRender &&
+            props.initial === false &&
+            !visualElement.manuallyAnimateOnMount) {
+            shouldAnimate = false;
+        }
+        isInitialRender = false;
+        return shouldAnimate ? animate(animations) : Promise.resolve();
+    }
+    /**
+     * Change whether a certain animation type is active.
+     */
+    function setActive(type, isActive, options) {
+        var _a;
+        // If the active state hasn't changed, we can safely do nothing here
+        if (state[type].isActive === isActive)
+            return Promise.resolve();
+        // Propagate active change to children
+        (_a = visualElement.variantChildren) === null || _a === void 0 ? void 0 : _a.forEach(function (child) { var _a; return (_a = child.animationState) === null || _a === void 0 ? void 0 : _a.setActive(type, isActive); });
+        state[type].isActive = isActive;
+        return animateChanges(options, type);
+    }
+    return {
+        isAnimated: isAnimated,
+        animateChanges: animateChanges,
+        setActive: setActive,
+        setAnimateFunction: setAnimateFunction,
+        getState: function () { return state; },
+    };
+}
+function variantsHaveChanged(prev, next) {
+    if (typeof next === "string") {
+        return next !== prev;
+    }
+    else if (isVariantLabels(next)) {
+        return !shallowCompare(next, prev);
+    }
+    return false;
+}
+function createTypeState(isActive) {
+    if (isActive === void 0) { isActive = false; }
+    return {
+        isActive: isActive,
+        protectedKeys: {},
+        needsAnimating: {},
+        prevResolvedValues: {},
+    };
+}
+function createState() {
+    var _a;
+    return _a = {},
+        _a[AnimationType.Animate] = createTypeState(true),
+        _a[AnimationType.Hover] = createTypeState(),
+        _a[AnimationType.Tap] = createTypeState(),
+        _a[AnimationType.Drag] = createTypeState(),
+        _a[AnimationType.Focus] = createTypeState(),
+        _a[AnimationType.Exit] = createTypeState(),
+        _a;
+}

-const trackBackgroundColor = _ref7 => {
-  let {
-    disabled,
-    trackColor
-  } = _ref7;
-  let background = trackColor || 'currentColor';

-  if (disabled) {
-    background = COLORS.lightGray[800];
-  }

-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    background
-  },  true ? "" : undefined,  true ? "" : undefined);
-};
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/animations.js

-const Track = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y29"
-} : undefined)("background-color:currentColor;border-radius:", railHeight, "px;box-sizing:border-box;height:", railHeight, "px;pointer-events:none;display:block;position:absolute;margin-top:", (rangeHeightValue - railHeight) / 2, "px;top:0;", trackBackgroundColor, ";" + ( true ? "" : undefined));
-const MarksWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y28"
-} : undefined)( true ? {
-  name: "1xuuvmv",
-  styles: "box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none"
-} : undefined);

-const markFill = _ref8 => {
-  let {
-    disabled,
-    isFilled
-  } = _ref8;
-  let backgroundColor = isFilled ? 'currentColor' : COLORS.lightGray[600];

-  if (disabled) {
-    backgroundColor = COLORS.lightGray[800];
-  }

-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    backgroundColor
-  },  true ? "" : undefined,  true ? "" : undefined);
-};

-const Mark = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y27"
-} : undefined)("box-sizing:border-box;height:", thumbSize, "px;left:0;position:absolute;top:-4px;width:1px;", markFill, ";" + ( true ? "" : undefined));

-const markLabelFill = _ref9 => {
-  let {
-    isFilled
-  } = _ref9;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    color: isFilled ? COLORS.darkGray[300] : COLORS.lightGray[600]
-  },  true ? "" : undefined,  true ? "" : undefined);
-};

-const MarkLabel = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y26"
-} : undefined)("box-sizing:border-box;color:", COLORS.lightGray[600], ";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;", markLabelFill, ";" + ( true ? "" : undefined));

-var range_control_styles_ref3 =  true ? {
-  name: "1sb75b3",
-  styles: "background-color:var( --wp-admin-theme-color )"
-} : undefined;

-const thumbColor = _ref10 => {
-  let {
-    disabled
-  } = _ref10;
-  return disabled ? /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background-color:", COLORS.lightGray[800], ";" + ( true ? "" : undefined),  true ? "" : undefined) : range_control_styles_ref3;
+var animations = {
+    animation: makeRenderlessComponent(function (_a) {
+        var visualElement = _a.visualElement, animate = _a.animate;
+        /**
+         * We dynamically generate the AnimationState manager as it contains a reference
+         * to the underlying animation library. We only want to load that if we load this,
+         * so people can optionally code split it out using the `m` component.
+         */
+        visualElement.animationState || (visualElement.animationState = createAnimationState(visualElement));
+        /**
+         * Subscribe any provided AnimationControls to the component's VisualElement
+         */
+        if (isAnimationControls(animate)) {
+            (0,external_React_.useEffect)(function () { return animate.subscribe(visualElement); }, [animate]);
+        }
+    }),
+    exit: makeRenderlessComponent(function (props) {
+        var custom = props.custom, visualElement = props.visualElement;
+        var _a = tslib_es6_read(usePresence(), 2), isPresent = _a[0], onExitComplete = _a[1];
+        var presenceContext = (0,external_React_.useContext)(PresenceContext_PresenceContext);
+        (0,external_React_.useEffect)(function () {
+            var _a, _b;
+            var animation = (_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Exit, !isPresent, { custom: (_b = presenceContext === null || presenceContext === void 0 ? void 0 : presenceContext.custom) !== null && _b !== void 0 ? _b : custom });
+            !isPresent && (animation === null || animation === void 0 ? void 0 : animation.then(onExitComplete));
+        }, [isPresent]);
+    }),
 };

-const ThumbWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y25"
-} : undefined)("align-items:center;box-sizing:border-box;display:flex;height:", thumbSize, "px;justify-content:center;margin-top:", (rangeHeightValue - thumbSize) / 2, "px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:", thumbSize, "px;border-radius:50%;", thumbColor, ";", rtl_rtl({
-  marginLeft: -10
-}), ";", rtl_rtl({
-  transform: 'translateX( 4.5px )'
-}, {
-  transform: 'translateX( -4.5px )'
-}), ";" + ( true ? "" : undefined));
-
-const thumbFocus = _ref11 => {
-  let {
-    isFocused
-  } = _ref11;
-  return isFocused ? /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("&::before{content:' ';position:absolute;background-color:var( --wp-admin-theme-color );opacity:0.4;border-radius:50%;height:", thumbSize + 8, "px;width:", thumbSize + 8, "px;top:-4px;left:-4px;}" + ( true ? "" : undefined),  true ? "" : undefined) : '';
-};

-const Thumb = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y24"
-} : undefined)("align-items:center;border-radius:50%;box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;", thumbColor, ";", thumbFocus, ";" + ( true ? "" : undefined));
-const InputRange = Object(emotion_styled_base_browser_esm["a" /* default */])("input",  true ? {
-  target: "exqw8y23"
-} : undefined)("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -", thumbSize / 2, "px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ", thumbSize, "px );" + ( true ? "" : undefined));

-const tooltipShow = _ref12 => {
-  let {
-    show
-  } = _ref12;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    opacity: show ? 1 : 0
-  },  true ? "" : undefined,  true ? "" : undefined);
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/is-point.js
+var isPoint = function (point) {
+    return point.hasOwnProperty('x') && point.hasOwnProperty('y');
 };

-var range_control_styles_ref =  true ? {
-  name: "1cypxip",
-  styles: "top:-80%"
-} : undefined;

-var range_control_styles_ref2 =  true ? {
-  name: "1lr98c4",
-  styles: "bottom:-80%"
-} : undefined;

-const range_control_styles_tooltipPosition = _ref13 => {
-  let {
-    position
-  } = _ref13;
-  const isBottom = position === 'bottom';
+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/is-point-3d.js

-  if (isBottom) {
-    return range_control_styles_ref2;
-  }

-  return range_control_styles_ref;
+var isPoint3D = function (point) {
+    return isPoint(point) && point.hasOwnProperty('z');
 };

-const range_control_styles_Tooltip = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y22"
-} : undefined)("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;", tooltipShow, ";", range_control_styles_tooltipPosition, ";", reduceMotion('transition'), ";", rtl_rtl({
-  transform: 'translateX(-50%)'
-}, {
-  transform: 'translateX(50%)'
-}), ";" + ( true ? "" : undefined)); // @todo: Refactor RangeControl with latest HStack configuration
-// @wordpress/components/ui/hstack
-
-const InputNumber = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(number_control,  true ? {
-  target: "exqw8y21"
-} : undefined)("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:", space(16), "!important;input[type='number']&{", rangeHeight, ";}", rtl_rtl({
-  marginLeft: `${space(4)} !important`
-}), ";" + ( true ? "" : undefined));
-const ActionRightWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "exqw8y20"
-} : undefined)("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;", rangeHeight, ";}", rtl_rtl({
-  marginLeft: 8
-}), ";" + ( true ? "" : undefined));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/input-range.js

+;// CONCATENATED MODULE: ./node_modules/popmotion/dist/es/utils/distance.js

-// @ts-nocheck

-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */

+var distance1D = function (a, b) { return Math.abs(a - b); };
+function distance(a, b) {
+    if (isNum(a) && isNum(b)) {
+        return distance1D(a, b);
+    }
+    else if (isPoint(a) && isPoint(b)) {
+        var xDelta = distance1D(a.x, b.x);
+        var yDelta = distance1D(a.y, b.y);
+        var zDelta = isPoint3D(a) && isPoint3D(b) ? distance1D(a.z, b.z) : 0;
+        return Math.sqrt(Math.pow(xDelta, 2) + Math.pow(yDelta, 2) + Math.pow(zDelta, 2));
+    }
+}

-/**
- * Internal dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/PanSession.js


-function input_range_InputRange(_ref, ref) {
-  let {
-    describedBy,
-    label,
-    onHideTooltip = external_lodash_["noop"],
-    onMouseLeave = external_lodash_["noop"],
-    onMouseMove = external_lodash_["noop"],
-    onShowTooltip = external_lodash_["noop"],
-    value,
-    ...props
-  } = _ref;
-  const hoverInteractions = useDebouncedHoverInteraction({
-    onHide: onHideTooltip,
-    onMouseLeave,
-    onMouseMove,
-    onShow: onShowTooltip
-  });
-  return Object(external_wp_element_["createElement"])(InputRange, Object(esm_extends["a" /* default */])({}, props, hoverInteractions, {
-    "aria-describedby": describedBy,
-    "aria-label": label,
-    "aria-hidden": false,
-    ref: ref,
-    tabIndex: 0,
-    type: "range",
-    value: value
-  }));
-}

-const input_range_ForwardedComponent = Object(external_wp_element_["forwardRef"])(input_range_InputRange);
-/* harmony default export */ var input_range = (input_range_ForwardedComponent);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/mark.js


-// @ts-nocheck

-/**
- * External dependencies
- */

 /**
- * Internal dependencies
+ * @internal
  */
+var PanSession = /** @class */ (function () {
+    function PanSession(event, handlers, _a) {
+        var _this = this;
+        var _b = _a === void 0 ? {} : _a, transformPagePoint = _b.transformPagePoint;
+        /**
+         * @internal
+         */
+        this.startEvent = null;
+        /**
+         * @internal
+         */
+        this.lastMoveEvent = null;
+        /**
+         * @internal
+         */
+        this.lastMoveEventInfo = null;
+        /**
+         * @internal
+         */
+        this.handlers = {};
+        this.updatePoint = function () {
+            if (!(_this.lastMoveEvent && _this.lastMoveEventInfo))
+                return;
+            var info = getPanInfo(_this.lastMoveEventInfo, _this.history);
+            var isPanStarted = _this.startEvent !== null;
+            // Only start panning if the offset is larger than 3 pixels. If we make it
+            // any larger than this we'll want to reset the pointer history
+            // on the first update to avoid visual snapping to the cursoe.
+            var isDistancePastThreshold = distance(info.offset, { x: 0, y: 0 }) >= 3;
+            if (!isPanStarted && !isDistancePastThreshold)
+                return;
+            var point = info.point;
+            var timestamp = getFrameData().timestamp;
+            _this.history.push(__assign(__assign({}, point), { timestamp: timestamp }));
+            var _a = _this.handlers, onStart = _a.onStart, onMove = _a.onMove;
+            if (!isPanStarted) {
+                onStart && onStart(_this.lastMoveEvent, info);
+                _this.startEvent = _this.lastMoveEvent;
+            }
+            onMove && onMove(_this.lastMoveEvent, info);
+        };
+        this.handlePointerMove = function (event, info) {
+            _this.lastMoveEvent = event;
+            _this.lastMoveEventInfo = transformPoint(info, _this.transformPagePoint);
+            // Because Safari doesn't trigger mouseup events when it's above a `<select>`
+            if (isMouseEvent(event) && event.buttons === 0) {
+                _this.handlePointerUp(event, info);
+                return;
+            }
+            // Throttle mouse move event to once per frame
+            es.update(_this.updatePoint, true);
+        };
+        this.handlePointerUp = function (event, info) {
+            _this.end();
+            var _a = _this.handlers, onEnd = _a.onEnd, onSessionEnd = _a.onSessionEnd;
+            var panInfo = getPanInfo(transformPoint(info, _this.transformPagePoint), _this.history);
+            if (_this.startEvent && onEnd) {
+                onEnd(event, panInfo);
+            }
+            onSessionEnd && onSessionEnd(event, panInfo);
+        };
+        // If we have more than one touch, don't start detecting this gesture
+        if (isTouchEvent(event) && event.touches.length > 1)
+            return;
+        this.handlers = handlers;
+        this.transformPagePoint = transformPagePoint;
+        var info = extractEventInfo(event);
+        var initialInfo = transformPoint(info, this.transformPagePoint);
+        var point = initialInfo.point;
+        var timestamp = getFrameData().timestamp;
+        this.history = [__assign(__assign({}, point), { timestamp: timestamp })];
+        var onSessionStart = handlers.onSessionStart;
+        onSessionStart &&
+            onSessionStart(event, getPanInfo(initialInfo, this.history));
+        this.removeListeners = pipe(addPointerEvent(window, "pointermove", this.handlePointerMove), addPointerEvent(window, "pointerup", this.handlePointerUp), addPointerEvent(window, "pointercancel", this.handlePointerUp));
+    }
+    PanSession.prototype.updateHandlers = function (handlers) {
+        this.handlers = handlers;
+    };
+    PanSession.prototype.end = function () {
+        this.removeListeners && this.removeListeners();
+        cancelSync.update(this.updatePoint);
+    };
+    return PanSession;
+}());
+function transformPoint(info, transformPagePoint) {
+    return transformPagePoint ? { point: transformPagePoint(info.point) } : info;
+}
+function subtractPoint(a, b) {
+    return { x: a.x - b.x, y: a.y - b.y };
+}
+function getPanInfo(_a, history) {
+    var point = _a.point;
+    return {
+        point: point,
+        delta: subtractPoint(point, lastDevicePoint(history)),
+        offset: subtractPoint(point, startDevicePoint(history)),
+        velocity: PanSession_getVelocity(history, 0.1),
+    };
+}
+function startDevicePoint(history) {
+    return history[0];
+}
+function lastDevicePoint(history) {
+    return history[history.length - 1];
+}
+function PanSession_getVelocity(history, timeDelta) {
+    if (history.length < 2) {
+        return { x: 0, y: 0 };
+    }
+    var i = history.length - 1;
+    var timestampedPoint = null;
+    var lastPoint = lastDevicePoint(history);
+    while (i >= 0) {
+        timestampedPoint = history[i];
+        if (lastPoint.timestamp - timestampedPoint.timestamp >
+            secondsToMilliseconds(timeDelta)) {
+            break;
+        }
+        i--;
+    }
+    if (!timestampedPoint) {
+        return { x: 0, y: 0 };
+    }
+    var time = (lastPoint.timestamp - timestampedPoint.timestamp) / 1000;
+    if (time === 0) {
+        return { x: 0, y: 0 };
+    }
+    var currentVelocity = {
+        x: (lastPoint.x - timestampedPoint.x) / time,
+        y: (lastPoint.y - timestampedPoint.y) / time,
+    };
+    if (currentVelocity.x === Infinity) {
+        currentVelocity.x = 0;
+    }
+    if (currentVelocity.y === Infinity) {
+        currentVelocity.y = 0;
+    }
+    return currentVelocity;
+}


-function RangeMark(_ref) {
-  let {
-    className,
-    isFilled = false,
-    label,
-    style = {},
-    ...props
-  } = _ref;
-  const classes = classnames_default()('components-range-control__mark', isFilled && 'is-filled', className);
-  const labelClasses = classnames_default()('components-range-control__mark-label', isFilled && 'is-filled');
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(Mark, Object(esm_extends["a" /* default */])({}, props, {
-    "aria-hidden": "true",
-    className: classes,
-    isFilled: isFilled,
-    style: style
-  })), label && Object(external_wp_element_["createElement"])(MarkLabel, {
-    "aria-hidden": "true",
-    className: labelClasses,
-    isFilled: isFilled,
-    style: style
-  }, label));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/rail.js
-
-
-// @ts-nocheck
-
-/**
- * WordPress dependencies
- */

-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/noop.js
+function noop(any) {
+    return any;
+}



-function RangeRail(_ref) {
-  let {
-    disabled = false,
-    marks = false,
-    min = 0,
-    max = 100,
-    step = 1,
-    value = 0,
-    ...restProps
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(Rail, Object(esm_extends["a" /* default */])({
-    disabled: disabled
-  }, restProps)), marks && Object(external_wp_element_["createElement"])(Marks, {
-    disabled: disabled,
-    marks: marks,
-    min: min,
-    max: max,
-    step: step,
-    value: value
-  }));
-}
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/geometry/index.js

-function Marks(_ref2) {
-  let {
-    disabled = false,
-    marks = false,
-    min = 0,
-    max = 100,
-    step = 1,
-    value = 0
-  } = _ref2;

-  if (step === 'any') {
-    step = 1;
-  }

-  const marksData = useMarks({
-    marks,
-    min,
-    max,
-    step,
-    value
-  });
-  return Object(external_wp_element_["createElement"])(MarksWrapper, {
-    "aria-hidden": "true",
-    className: "components-range-control__marks"
-  }, marksData.map(mark => Object(external_wp_element_["createElement"])(RangeMark, Object(esm_extends["a" /* default */])({}, mark, {
-    key: mark.key,
-    "aria-hidden": "true",
-    disabled: disabled
-  }))));
+/**
+ * Bounding boxes tend to be defined as top, left, right, bottom. For various operations
+ * it's easier to consider each axis individually. This function returns a bounding box
+ * as a map of single-axis min/max values.
+ */
+function convertBoundingBoxToAxisBox(_a) {
+    var top = _a.top, left = _a.left, right = _a.right, bottom = _a.bottom;
+    return {
+        x: { min: left, max: right },
+        y: { min: top, max: bottom },
+    };
+}
+function convertAxisBoxToBoundingBox(_a) {
+    var x = _a.x, y = _a.y;
+    return {
+        top: y.min,
+        bottom: y.max,
+        left: x.min,
+        right: x.max,
+    };
+}
+/**
+ * Applies a TransformPoint function to a bounding box. TransformPoint is usually a function
+ * provided by Framer to allow measured points to be corrected for device scaling. This is used
+ * when measuring DOM elements and DOM event points.
+ */
+function transformBoundingBox(_a, transformPoint) {
+    var top = _a.top, left = _a.left, bottom = _a.bottom, right = _a.right;
+    if (transformPoint === void 0) { transformPoint = noop; }
+    var topLeft = transformPoint({ x: left, y: top });
+    var bottomRight = transformPoint({ x: right, y: bottom });
+    return {
+        top: topLeft.y,
+        left: topLeft.x,
+        bottom: bottomRight.y,
+        right: bottomRight.x,
+    };
+}
+/**
+ * Create an empty axis box of zero size
+ */
+function axisBox() {
+    return { x: { min: 0, max: 1 }, y: { min: 0, max: 1 } };
+}
+function copyAxisBox(box) {
+    return {
+        x: __assign({}, box.x),
+        y: __assign({}, box.y),
+    };
+}
+/**
+ * Create an empty box delta
+ */
+var zeroDelta = {
+    translate: 0,
+    scale: 1,
+    origin: 0,
+    originPoint: 0,
+};
+function delta() {
+    return {
+        x: __assign({}, zeroDelta),
+        y: __assign({}, zeroDelta),
+    };
 }

-function useMarks(_ref3) {
-  let {
-    marks,
-    min = 0,
-    max = 100,
-    step = 1,
-    value = 0
-  } = _ref3;
-
-  if (!marks) {
-    return [];
-  }
-
-  const range = max - min;

-  if (!Array.isArray(marks)) {
-    marks = [];
-    const count = 1 + Math.round(range / step);

-    while (count > marks.push({
-      value: step * marks.length + min
-    }));
-  }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/each-axis.js
+// Call a handler once for each axis
+function eachAxis(handler) {
+    return [handler("x"), handler("y")];
+}

-  const placedMarks = [];
-  marks.forEach((mark, index) => {
-    if (mark.value < min || mark.value > max) {
-      return;
-    }

-    const key = `mark-${index}`;
-    const isFilled = mark.value <= value;
-    const offset = `${(mark.value - min) / range * 100}%`;
-    const offsetStyle = {
-      [Object(external_wp_i18n_["isRTL"])() ? 'right' : 'left']: offset
-    };
-    placedMarks.push({ ...mark,
-      isFilled,
-      key,
-      style: offsetStyle
-    });
-  });
-  return placedMarks;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/tooltip.js
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js


-// @ts-nocheck

 /**
- * External dependencies
+ * Apply constraints to a point. These constraints are both physical along an
+ * axis, and an elastic factor that determines how much to constrain the point
+ * by if it does lie outside the defined parameters.
  */
-
+function applyConstraints(point, _a, elastic) {
+    var min = _a.min, max = _a.max;
+    if (min !== undefined && point < min) {
+        // If we have a min point defined, and this is outside of that, constrain
+        point = elastic ? mix(min, point, elastic.min) : Math.max(point, min);
+    }
+    else if (max !== undefined && point > max) {
+        // If we have a max point defined, and this is outside of that, constrain
+        point = elastic ? mix(max, point, elastic.max) : Math.min(point, max);
+    }
+    return point;
+}
 /**
- * WordPress dependencies
+ * Calculates a min projection point based on a pointer, pointer progress
+ * within the drag target, and constraints.
+ *
+ * For instance if an element was 100px width, we were dragging from 0.25
+ * along this axis, the pointer is at 200px, and there were no constraints,
+ * we would calculate a min projection point of 175px.
  */
-
-
+function calcConstrainedMinPoint(point, length, progress, constraints, elastic) {
+    // Calculate a min point for this axis and apply it to the current pointer
+    var min = point - length * progress;
+    return constraints ? applyConstraints(min, constraints, elastic) : min;
+}
 /**
- * Internal dependencies
+ * Calculate constraints in terms of the viewport when defined relatively to the
+ * measured axis. This is measured from the nearest edge, so a max constraint of 200
+ * on an axis with a max value of 300 would return a constraint of 500 - axis length
  */
-
-
-function SimpleTooltip(_ref) {
-  let {
-    className,
-    inputRef,
-    tooltipPosition,
-    show = false,
-    style = {},
-    value = 0,
-    renderTooltipContent = v => v,
-    zIndex = 100,
-    ...restProps
-  } = _ref;
-  const position = useTooltipPosition({
-    inputRef,
-    tooltipPosition
-  });
-  const classes = classnames_default()('components-simple-tooltip', className);
-  const styles = { ...style,
-    zIndex
-  };
-  return Object(external_wp_element_["createElement"])(range_control_styles_Tooltip, Object(esm_extends["a" /* default */])({}, restProps, {
-    "aria-hidden": show,
-    className: classes,
-    position: position,
-    show: show,
-    role: "tooltip",
-    style: styles
-  }), renderTooltipContent(value));
+function calcRelativeAxisConstraints(axis, min, max) {
+    return {
+        min: min !== undefined ? axis.min + min : undefined,
+        max: max !== undefined
+            ? axis.max + max - (axis.max - axis.min)
+            : undefined,
+    };
 }
-
-function useTooltipPosition(_ref2) {
-  let {
-    inputRef,
-    tooltipPosition
-  } = _ref2;
-  const [position, setPosition] = Object(external_wp_element_["useState"])();
-  const setTooltipPosition = Object(external_wp_element_["useCallback"])(() => {
-    if (inputRef && inputRef.current) {
-      setPosition(tooltipPosition);
+/**
+ * Calculate constraints in terms of the viewport when
+ * defined relatively to the measured bounding box.
+ */
+function calcRelativeConstraints(layoutBox, _a) {
+    var top = _a.top, left = _a.left, bottom = _a.bottom, right = _a.right;
+    return {
+        x: calcRelativeAxisConstraints(layoutBox.x, left, right),
+        y: calcRelativeAxisConstraints(layoutBox.y, top, bottom),
+    };
+}
+/**
+ * Calculate viewport constraints when defined as another viewport-relative axis
+ */
+function calcViewportAxisConstraints(layoutAxis, constraintsAxis) {
+    var _a;
+    var min = constraintsAxis.min - layoutAxis.min;
+    var max = constraintsAxis.max - layoutAxis.max;
+    // If the constraints axis is actually smaller than the layout axis then we can
+    // flip the constraints
+    if (constraintsAxis.max - constraintsAxis.min <
+        layoutAxis.max - layoutAxis.min) {
+        _a = tslib_es6_read([max, min], 2), min = _a[0], max = _a[1];
     }
-  }, [tooltipPosition]);
-  Object(external_wp_element_["useEffect"])(() => {
-    setTooltipPosition();
-  }, [setTooltipPosition]);
-  Object(external_wp_element_["useEffect"])(() => {
-    window.addEventListener('resize', setTooltipPosition);
-    return () => {
-      window.removeEventListener('resize', setTooltipPosition);
+    return {
+        min: layoutAxis.min + min,
+        max: layoutAxis.min + max,
     };
-  });
-  return position;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/index.js
-
-
-// @ts-nocheck
-
 /**
- * External dependencies
+ * Calculate viewport constraints when defined as another viewport-relative box
  */
-
-
+function calcViewportConstraints(layoutBox, constraintsBox) {
+    return {
+        x: calcViewportAxisConstraints(layoutBox.x, constraintsBox.x),
+        y: calcViewportAxisConstraints(layoutBox.y, constraintsBox.y),
+    };
+}
 /**
- * WordPress dependencies
+ * Calculate the an axis position based on two axes and a progress value.
  */
-
-
-
-
+function calcPositionFromProgress(axis, constraints, progress) {
+    var axisLength = axis.max - axis.min;
+    var min = mix(constraints.min, constraints.max - axisLength, progress);
+    return { min: min, max: min + axisLength };
+}
 /**
- * Internal dependencies
+ * Rebase the calculated viewport constraints relative to the layout.min point.
  */
+function rebaseAxisConstraints(layout, constraints) {
+    var relativeConstraints = {};
+    if (constraints.min !== undefined) {
+        relativeConstraints.min = constraints.min - layout.min;
+    }
+    if (constraints.max !== undefined) {
+        relativeConstraints.max = constraints.max - layout.min;
+    }
+    return relativeConstraints;
+}
+var defaultElastic = 0.35;
+/**
+ * Accepts a dragElastic prop and returns resolved elastic values for each axis.
+ */
+function resolveDragElastic(dragElastic) {
+    if (dragElastic === false) {
+        dragElastic = 0;
+    }
+    else if (dragElastic === true) {
+        dragElastic = defaultElastic;
+    }
+    return {
+        x: resolveAxisElastic(dragElastic, "left", "right"),
+        y: resolveAxisElastic(dragElastic, "top", "bottom"),
+    };
+}
+function resolveAxisElastic(dragElastic, minLabel, maxLabel) {
+    return {
+        min: resolvePointElastic(dragElastic, minLabel),
+        max: resolvePointElastic(dragElastic, maxLabel),
+    };
+}
+function resolvePointElastic(dragElastic, label) {
+    var _a;
+    return typeof dragElastic === "number"
+        ? dragElastic
+        : (_a = dragElastic[label]) !== null && _a !== void 0 ? _a : 0;
+}



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/measure.js


+/**
+ * Measure and return the element bounding box.
+ *
+ * We convert the box into an AxisBox2D to make it easier to work with each axis
+ * individually and programmatically.
+ *
+ * This function optionally accepts a transformPagePoint function which allows us to compensate
+ * for, for instance, measuring the element within a scaled plane like a Framer devivce preview component.
+ */
+function getBoundingBox(element, transformPagePoint) {
+    var box = element.getBoundingClientRect();
+    return convertBoundingBoxToAxisBox(transformBoundingBox(box, transformPagePoint));
+}



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/geometry/delta-calc.js


-
-function RangeControl(_ref, ref) {
-  var _inputRef$current;
-
-  let {
-    afterIcon,
-    allowReset = false,
-    beforeIcon,
-    className,
-    currentInput,
-    color: colorProp = COLORS.ui.theme,
-    disabled = false,
-    help,
-    initialPosition,
-    isShiftStepEnabled = true,
-    label,
-    hideLabelFromVision = false,
-    marks = false,
-    max = 100,
-    min = 0,
-    onBlur = external_lodash_["noop"],
-    onChange = external_lodash_["noop"],
-    onFocus = external_lodash_["noop"],
-    onMouseMove = external_lodash_["noop"],
-    onMouseLeave = external_lodash_["noop"],
-    railColor,
-    resetFallbackValue,
-    renderTooltipContent = v => v,
-    showTooltip: showTooltipProp,
-    shiftStep = 10,
-    step = 1,
-    trackColor,
-    value: valueProp,
-    withInputField = true,
-    ...props
-  } = _ref;
-  const [value, setValue] = useControlledRangeValue({
-    min,
-    max,
-    value: valueProp,
-    initial: initialPosition
-  });
-  const isResetPendent = Object(external_wp_element_["useRef"])(false);
-
-  if (step === 'any') {
-    // The tooltip and number input field are hidden when the step is "any"
-    // because the decimals get too lengthy to fit well.
-    showTooltipProp = false;
-    withInputField = false;
-  }
-
-  const [showTooltip, setShowTooltip] = Object(external_wp_element_["useState"])(showTooltipProp);
-  const [isFocused, setIsFocused] = Object(external_wp_element_["useState"])(false);
-  const inputRef = Object(external_wp_element_["useRef"])();
-
-  const setRef = nodeRef => {
-    inputRef.current = nodeRef;
-
-    if (ref) {
-      ref(nodeRef);
-    }
-  };
-
-  const isCurrentlyFocused = (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.matches(':focus');
-  const isThumbFocused = !disabled && isFocused;
-  const isValueReset = value === null;
-  const currentValue = value !== undefined ? value : currentInput;
-  const inputSliderValue = isValueReset ? '' : currentValue;
-  const rangeFillValue = isValueReset ? (max - min) / 2 + min : value;
-  const calculatedFillValue = (value - min) / (max - min) * 100;
-  const fillValue = isValueReset ? 50 : calculatedFillValue;
-  const fillValueOffset = `${Object(external_lodash_["clamp"])(fillValue, 0, 100)}%`;
-  const classes = classnames_default()('components-range-control', className);
-  const wrapperClasses = classnames_default()('components-range-control__wrapper', !!marks && 'is-marked');
-  const id = Object(external_wp_compose_["useInstanceId"])(RangeControl, 'inspector-range-control');
-  const describedBy = !!help ? `${id}__help` : undefined;
-  const enableTooltip = showTooltipProp !== false && Object(external_lodash_["isFinite"])(value);
-
-  const handleOnRangeChange = event => {
-    const nextValue = parseFloat(event.target.value);
-    setValue(nextValue);
-    onChange(nextValue);
-  };
-
-  const handleOnChange = nextValue => {
-    nextValue = parseFloat(nextValue);
-    setValue(nextValue);
-    /*
-     * Calls onChange only when nextValue is numeric
-     * otherwise may queue a reset for the blur event.
-     */
-
-    if (!isNaN(nextValue)) {
-      if (nextValue < min || nextValue > max) {
-        nextValue = floatClamp(nextValue, min, max);
-      }
-
-      onChange(nextValue);
-      isResetPendent.current = false;
-    } else if (allowReset) {
-      isResetPendent.current = true;
-    }
-  };
-
-  const handleOnInputNumberBlur = () => {
-    if (isResetPendent.current) {
-      handleOnReset();
-      isResetPendent.current = false;
+var clampProgress = function (v) { return clamp_clamp(0, 1, v); };
+/**
+ * Returns true if the provided value is within maxDistance of the provided target
+ */
+function isNear(value, target, maxDistance) {
+    if (target === void 0) { target = 0; }
+    if (maxDistance === void 0) { maxDistance = 0.01; }
+    return distance(value, target) < maxDistance;
+}
+function calcLength(axis) {
+    return axis.max - axis.min;
+}
+/**
+ * Calculate a transform origin relative to the source axis, between 0-1, that results
+ * in an asthetically pleasing scale/transform needed to project from source to target.
+ */
+function delta_calc_calcOrigin(source, target) {
+    var origin = 0.5;
+    var sourceLength = calcLength(source);
+    var targetLength = calcLength(target);
+    if (targetLength > sourceLength) {
+        origin = progress(target.min, target.max - sourceLength, source.min);
     }
-  };
-
-  const handleOnReset = () => {
-    let resetValue = parseFloat(resetFallbackValue);
-    let onChangeResetValue = resetValue;
-
-    if (isNaN(resetValue)) {
-      resetValue = null;
-      onChangeResetValue = undefined;
+    else if (sourceLength > targetLength) {
+        origin = progress(source.min, source.max - targetLength, target.min);
     }
-
-    setValue(resetValue);
-    /**
-     * Previously, this callback would always receive undefined as
-     * an argument. This behavior is unexpected, specifically
-     * when resetFallbackValue is defined.
-     *
-     * The value of undefined is not ideal. Passing it through
-     * to internal <input /> elements would change it from a
-     * controlled component to an uncontrolled component.
-     *
-     * For now, to minimize unexpected regressions, we're going to
-     * preserve the undefined callback argument, except when a
-     * resetFallbackValue is defined.
-     */
-
-    onChange(onChangeResetValue);
-  };
-
-  const handleShowTooltip = () => setShowTooltip(true);
-
-  const handleHideTooltip = () => setShowTooltip(false);
-
-  const handleOnBlur = event => {
-    onBlur(event);
-    setIsFocused(false);
-    handleHideTooltip();
-  };
-
-  const handleOnFocus = event => {
-    onFocus(event);
-    setIsFocused(true);
-    handleShowTooltip();
-  };
-
-  const offsetStyle = {
-    [Object(external_wp_i18n_["isRTL"])() ? 'right' : 'left']: fillValueOffset
-  };
-  return Object(external_wp_element_["createElement"])(base_control, {
-    className: classes,
-    label: label,
-    hideLabelFromVision: hideLabelFromVision,
-    id: id,
-    help: help
-  }, Object(external_wp_element_["createElement"])(range_control_styles_Root, {
-    className: "components-range-control__root"
-  }, beforeIcon && Object(external_wp_element_["createElement"])(BeforeIconWrapper, null, Object(external_wp_element_["createElement"])(components_build_module_icon["a" /* default */], {
-    icon: beforeIcon
-  })), Object(external_wp_element_["createElement"])(range_control_styles_Wrapper, {
-    className: wrapperClasses,
-    color: colorProp,
-    marks: !!marks
-  }, Object(external_wp_element_["createElement"])(input_range, Object(esm_extends["a" /* default */])({}, props, {
-    className: "components-range-control__slider",
-    describedBy: describedBy,
-    disabled: disabled,
-    id: id,
-    label: label,
-    max: max,
-    min: min,
-    onBlur: handleOnBlur,
-    onChange: handleOnRangeChange,
-    onFocus: handleOnFocus,
-    onMouseMove: onMouseMove,
-    onMouseLeave: onMouseLeave,
-    ref: setRef,
-    step: step,
-    value: inputSliderValue
-  })), Object(external_wp_element_["createElement"])(RangeRail, {
-    "aria-hidden": true,
-    disabled: disabled,
-    marks: marks,
-    max: max,
-    min: min,
-    railColor: railColor,
-    step: step,
-    value: rangeFillValue
-  }), Object(external_wp_element_["createElement"])(Track, {
-    "aria-hidden": true,
-    className: "components-range-control__track",
-    disabled: disabled,
-    style: {
-      width: fillValueOffset
-    },
-    trackColor: trackColor
-  }), Object(external_wp_element_["createElement"])(ThumbWrapper, {
-    style: offsetStyle,
-    disabled: disabled
-  }, Object(external_wp_element_["createElement"])(Thumb, {
-    "aria-hidden": true,
-    isFocused: isThumbFocused,
-    disabled: disabled
-  })), enableTooltip && Object(external_wp_element_["createElement"])(SimpleTooltip, {
-    className: "components-range-control__tooltip",
-    inputRef: inputRef,
-    tooltipPosition: "bottom",
-    renderTooltipContent: renderTooltipContent,
-    show: isCurrentlyFocused || showTooltip,
-    style: offsetStyle,
-    value: value
-  })), afterIcon && Object(external_wp_element_["createElement"])(AfterIconWrapper, null, Object(external_wp_element_["createElement"])(components_build_module_icon["a" /* default */], {
-    icon: afterIcon
-  })), withInputField && Object(external_wp_element_["createElement"])(InputNumber, {
-    "aria-label": label,
-    className: "components-range-control__number",
-    disabled: disabled,
-    inputMode: "decimal",
-    isShiftStepEnabled: isShiftStepEnabled,
-    max: max,
-    min: min,
-    onBlur: handleOnInputNumberBlur,
-    onChange: handleOnChange,
-    shiftStep: shiftStep,
-    step: step,
-    value: inputSliderValue
-  }), allowReset && Object(external_wp_element_["createElement"])(ActionRightWrapper, null, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-range-control__reset",
-    disabled: disabled || value === undefined,
-    variant: "secondary",
-    isSmall: true,
-    onClick: handleOnReset
-  }, Object(external_wp_i18n_["__"])('Reset')))));
+    return clampProgress(origin);
 }
-
-const range_control_ForwardedComponent = Object(external_wp_element_["forwardRef"])(RangeControl);
-/* harmony default export */ var range_control = (range_control_ForwardedComponent);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/styles.js
-
-
-function color_picker_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
-
 /**
- * External dependencies
+ * Update the AxisDelta with a transform that projects source into target.
+ *
+ * The transform `origin` is optional. If not provided, it'll be automatically
+ * calculated based on the relative positions of the two bounding boxes.
  */
-
+function updateAxisDelta(delta, source, target, origin) {
+    if (origin === void 0) { origin = 0.5; }
+    delta.origin = origin;
+    delta.originPoint = mix(source.min, source.max, delta.origin);
+    delta.scale = calcLength(target) / calcLength(source);
+    if (isNear(delta.scale, 1, 0.0001))
+        delta.scale = 1;
+    delta.translate =
+        mix(target.min, target.max, delta.origin) - delta.originPoint;
+    if (isNear(delta.translate))
+        delta.translate = 0;
+}
 /**
- * Internal dependencies
+ * Update the BoxDelta with a transform that projects the source into the target.
+ *
+ * The transform `origin` is optional. If not provided, it'll be automatically
+ * calculated based on the relative positions of the two bounding boxes.
  */
-
-
-
-
-
-
-
-
-
-const NumberControlWrapper = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(number_control,  true ? {
-  target: "ez9hsf46"
-} : undefined)(Container, "{width:", space(24), ";}" + ( true ? "" : undefined));
-const styles_SelectControl = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(select_control,  true ? {
-  target: "ez9hsf45"
-} : undefined)("margin-left:", space(-2), ";width:5em;", BackdropUI, "{display:none;}" + ( true ? "" : undefined));
-const styles_RangeControl = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(range_control,  true ? {
-  target: "ez9hsf44"
-} : undefined)("flex:1;", StyledField, "{margin-bottom:0;}" + ( true ? "" : undefined)); // All inputs should be the same height so this should be changed at the component level.
-// That involves changing heights of multiple input types probably buttons too etc.
-// So until that is done we are already using the new height on the color picker so it matches the mockups.
-
-const inputHeightStyle = `
-&&& ${Input} {
-	height: 40px;
-}`; // Make the Hue circle picker not go out of the bar
-
-const interactiveHueStyles = `
-.react-colorful__interactive {
-	width: calc( 100% - ${space(2)} );
-	margin-left: ${space(1)};
-}`;
-const AuxiliaryColorArtefactWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ez9hsf43"
-} : undefined)("padding:", space(2), " ", space(4), ";" + ( true ? "" : undefined));
-const ColorfulWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ez9hsf42"
-} : undefined)("width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:", space(4), ";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:16px;margin-bottom:", space(2), ";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ", config_values.borderWidthFocus, " #fff;}", interactiveHueStyles, " ", StyledField, "{margin-bottom:0;}", inputHeightStyle, ";" + ( true ? "" : undefined));
-const DetailsControlButton = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(build_module_button["a" /* default */],  true ? {
-  target: "ez9hsf41"
-} : undefined)("&&&&&{min-width:", space(6), ";padding:0;}" + ( true ? "" : undefined));
-const ColorHexInputControl = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(input_control,  true ? {
-  target: "ez9hsf40"
-} : undefined)( true ? {
-  name: "1287a6j",
-  styles: "width:8em"
-} : undefined);
-
-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
-var shallowEqual = __webpack_require__("uqqE");
-
-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/dom.js
-var dom = __webpack_require__("reMF");
-
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
-function getWindow_getWindow(node) {
-  if (node == null) {
-    return window;
-  }
-
-  if (node.toString() !== '[object Window]') {
-    var ownerDocument = node.ownerDocument;
-    return ownerDocument ? ownerDocument.defaultView || window : window;
-  }
-
-  return node;
+function updateBoxDelta(delta, source, target, origin) {
+    updateAxisDelta(delta.x, source.x, target.x, defaultOrigin(origin.originX));
+    updateAxisDelta(delta.y, source.y, target.y, defaultOrigin(origin.originY));
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js
-
-
-function isElement(node) {
-  var OwnElement = getWindow_getWindow(node).Element;
-  return node instanceof OwnElement || node instanceof Element;
+/**
+ * Currently this only accepts numerical origins, measured as 0-1, but could
+ * accept pixel values by comparing to the target axis.
+ */
+function defaultOrigin(origin) {
+    return typeof origin === "number" ? origin : 0.5;
 }
-
-function isHTMLElement(node) {
-  var OwnElement = getWindow_getWindow(node).HTMLElement;
-  return node instanceof OwnElement || node instanceof HTMLElement;
+function calcRelativeAxis(target, relative, parent) {
+    target.min = parent.min + relative.min;
+    target.max = target.min + calcLength(relative);
 }
-
-function isShadowRoot(node) {
-  // IE 11 has no ShadowRoot
-  if (typeof ShadowRoot === 'undefined') {
-    return false;
-  }
-
-  var OwnElement = getWindow_getWindow(node).ShadowRoot;
-  return node instanceof OwnElement || node instanceof ShadowRoot;
+function calcRelativeBox(projection, parentProjection) {
+    calcRelativeAxis(projection.target.x, projection.relativeTarget.x, parentProjection.target.x);
+    calcRelativeAxis(projection.target.y, projection.relativeTarget.y, parentProjection.target.y);
 }


-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/math.js
-var math_max = Math.max;
-var math_min = Math.min;
-var round = Math.round;
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/compare-by-depth.js
+var compareByDepth = function (a, b) {
+    return a.depth - b.depth;
+};

-function getBoundingClientRect(element, includeScale) {
-  if (includeScale === void 0) {
-    includeScale = false;
-  }

-  var rect = element.getBoundingClientRect();
-  var scaleX = 1;
-  var scaleY = 1;

-  if (isHTMLElement(element) && includeScale) {
-    var offsetHeight = element.offsetHeight;
-    var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
-    // Fallback to 1 in case both values are `0`
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/utils.js

-    if (offsetWidth > 0) {
-      scaleX = round(rect.width) / offsetWidth || 1;
-    }

-    if (offsetHeight > 0) {
-      scaleY = round(rect.height) / offsetHeight || 1;
-    }
-  }

-  return {
-    width: rect.width / scaleX,
-    height: rect.height / scaleY,
-    top: rect.top / scaleY,
-    right: rect.right / scaleX,
-    bottom: rect.bottom / scaleY,
-    left: rect.left / scaleX,
-    x: rect.left / scaleX,
-    y: rect.top / scaleY
-  };
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js

-function getWindowScroll(node) {
-  var win = getWindow_getWindow(node);
-  var scrollLeft = win.pageXOffset;
-  var scrollTop = win.pageYOffset;
-  return {
-    scrollLeft: scrollLeft,
-    scrollTop: scrollTop
-  };
+function isProjecting(visualElement) {
+    var isEnabled = visualElement.projection.isEnabled;
+    return isEnabled || visualElement.shouldResetTransform();
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js
-function getHTMLElementScroll(element) {
-  return {
-    scrollLeft: element.scrollLeft,
-    scrollTop: element.scrollTop
-  };
+function collectProjectingAncestors(visualElement, ancestors) {
+    if (ancestors === void 0) { ancestors = []; }
+    var parent = visualElement.parent;
+    if (parent)
+        collectProjectingAncestors(parent, ancestors);
+    if (isProjecting(visualElement))
+        ancestors.push(visualElement);
+    return ancestors;
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js
-
-
-
-
-function getNodeScroll(node) {
-  if (node === getWindow_getWindow(node) || !isHTMLElement(node)) {
-    return getWindowScroll(node);
-  } else {
-    return getHTMLElementScroll(node);
-  }
+function collectProjectingChildren(visualElement) {
+    var children = [];
+    var addChild = function (child) {
+        if (isProjecting(child))
+            children.push(child);
+        child.children.forEach(addChild);
+    };
+    visualElement.children.forEach(addChild);
+    return children.sort(compareByDepth);
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js
-function getNodeName(element) {
-  return element ? (element.nodeName || '').toLowerCase() : null;
+/**
+ * Update the layoutState by measuring the DOM layout. This
+ * should be called after resetting any layout-affecting transforms.
+ */
+function updateLayoutMeasurement(visualElement) {
+    if (visualElement.shouldResetTransform())
+        return;
+    var layoutState = visualElement.getLayoutState();
+    visualElement.notifyBeforeLayoutMeasure(layoutState.layout);
+    layoutState.isHydrated = true;
+    layoutState.layout = visualElement.measureViewportBox();
+    layoutState.layoutCorrected = copyAxisBox(layoutState.layout);
+    visualElement.notifyLayoutMeasure(layoutState.layout, visualElement.prevViewportBox || layoutState.layout);
+    es.update(function () { return visualElement.rebaseProjectionTarget(); });
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js
-
-function getDocumentElement(element) {
-  // $FlowFixMe[incompatible-return]: assume body is always available
-  return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
-  element.document) || window.document).documentElement;
+/**
+ * Record the viewport box as it was before an expected mutation/re-render
+ */
+function snapshotViewportBox(visualElement) {
+    if (visualElement.shouldResetTransform())
+        return;
+    visualElement.prevViewportBox = visualElement.measureViewportBox(false);
+    /**
+     * Update targetBox to match the prevViewportBox. This is just to ensure
+     * that targetBox is affected by scroll in the same way as the measured box
+     */
+    visualElement.rebaseProjectionTarget(false, visualElement.prevViewportBox);
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js
-


-function getWindowScrollBarX(element) {
-  // If <html> has a CSS width greater than the viewport, then this will be
-  // incorrect for RTL.
-  // Popper 1 is broken in this case and never had a bug report so let's assume
-  // it's not an issue. I don't think anyone ever specifies width on <html>
-  // anyway.
-  // Browsers where the left scrollbar doesn't cause an issue report `0` for
-  // this (e.g. Edge 2019, IE11, Safari)
-  return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js

-function getComputedStyle_getComputedStyle(element) {
-  return getWindow_getWindow(element).getComputedStyle(element);
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/layout/utils.js

-function isScrollParent(element) {
-  // Firefox wants us to check `-x` and `-y` variations as well
-  var _getComputedStyle = getComputedStyle_getComputedStyle(element),
-      overflow = _getComputedStyle.overflow,
-      overflowX = _getComputedStyle.overflowX,
-      overflowY = _getComputedStyle.overflowY;

-  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
+function tweenAxis(target, prev, next, p) {
+    target.min = mix(prev.min, next.min, p);
+    target.max = mix(prev.max, next.max, p);
+}
+function calcRelativeOffsetAxis(parent, child) {
+    return {
+        min: child.min - parent.min,
+        max: child.max - parent.min,
+    };
+}
+function calcRelativeOffset(parent, child) {
+    return {
+        x: calcRelativeOffsetAxis(parent.x, child.x),
+        y: calcRelativeOffsetAxis(parent.y, child.y),
+    };
+}
+function checkIfParentHasChanged(prev, next) {
+    var prevId = prev.getLayoutId();
+    var nextId = next.getLayoutId();
+    return prevId !== nextId || (nextId === undefined && prev !== next);
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js
-
-
-
-
-



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/is-draggable.js
+function isDraggable(visualElement) {
+    var _a = visualElement.getProps(), drag = _a.drag, _dragX = _a._dragX;
+    return drag && !_dragX;
+}

-function isElementScaled(element) {
-  var rect = element.getBoundingClientRect();
-  var scaleX = round(rect.width) / element.offsetWidth || 1;
-  var scaleY = round(rect.height) / element.offsetHeight || 1;
-  return scaleX !== 1 || scaleY !== 1;
-} // Returns the composite rect of an element relative to its offsetParent.
-// Composite means it takes into account transforms as well as layout.


-function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
-  if (isFixed === void 0) {
-    isFixed = false;
-  }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/geometry/delta-apply.js

-  var isOffsetParentAnElement = isHTMLElement(offsetParent);
-  var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
-  var documentElement = getDocumentElement(offsetParent);
-  var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
-  var scroll = {
-    scrollLeft: 0,
-    scrollTop: 0
-  };
-  var offsets = {
-    x: 0,
-    y: 0
-  };

-  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
-    if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
-    isScrollParent(documentElement)) {
-      scroll = getNodeScroll(offsetParent);
-    }

-    if (isHTMLElement(offsetParent)) {
-      offsets = getBoundingClientRect(offsetParent, true);
-      offsets.x += offsetParent.clientLeft;
-      offsets.y += offsetParent.clientTop;
-    } else if (documentElement) {
-      offsets.x = getWindowScrollBarX(documentElement);
-    }
-  }

-  return {
-    x: rect.left + scroll.scrollLeft - offsets.x,
-    y: rect.top + scroll.scrollTop - offsets.y,
-    width: rect.width,
-    height: rect.height
-  };
+/**
+ * Reset an axis to the provided origin box.
+ *
+ * This is a mutative operation.
+ */
+function resetAxis(axis, originAxis) {
+    axis.min = originAxis.min;
+    axis.max = originAxis.max;
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js
- // Returns the layout rect of an element relative to its offsetParent. Layout
-// means it doesn't take into account transforms.
-
-function getLayoutRect(element) {
-  var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
-  // Fixes https://github.com/popperjs/popper-core/issues/1223
-
-  var width = element.offsetWidth;
-  var height = element.offsetHeight;
-
-  if (Math.abs(clientRect.width - width) <= 1) {
-    width = clientRect.width;
-  }
-
-  if (Math.abs(clientRect.height - height) <= 1) {
-    height = clientRect.height;
-  }
-
-  return {
-    x: element.offsetLeft,
-    y: element.offsetTop,
-    width: width,
-    height: height
-  };
+/**
+ * Reset a box to the provided origin box.
+ *
+ * This is a mutative operation.
+ */
+function resetBox(box, originBox) {
+    resetAxis(box.x, originBox.x);
+    resetAxis(box.y, originBox.y);
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js
-
-
-
-function getParentNode(element) {
-  if (getNodeName(element) === 'html') {
-    return element;
-  }
-
-  return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
-    // $FlowFixMe[incompatible-return]
-    // $FlowFixMe[prop-missing]
-    element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
-    element.parentNode || ( // DOM Element detected
-    isShadowRoot(element) ? element.host : null) || // ShadowRoot detected
-    // $FlowFixMe[incompatible-call]: HTMLElement is a Node
-    getDocumentElement(element) // fallback
-
-  );
+/**
+ * Scales a point based on a factor and an originPoint
+ */
+function scalePoint(point, scale, originPoint) {
+    var distanceFromOrigin = point - originPoint;
+    var scaled = scale * distanceFromOrigin;
+    return originPoint + scaled;
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js
-
-
-
-
-function getScrollParent(node) {
-  if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {
-    // $FlowFixMe[incompatible-return]: assume body is always available
-    return node.ownerDocument.body;
-  }
-
-  if (isHTMLElement(node) && isScrollParent(node)) {
-    return node;
-  }
-
-  return getScrollParent(getParentNode(node));
+/**
+ * Applies a translate/scale delta to a point
+ */
+function applyPointDelta(point, translate, scale, originPoint, boxScale) {
+    if (boxScale !== undefined) {
+        point = scalePoint(point, boxScale, originPoint);
+    }
+    return scalePoint(point, scale, originPoint) + translate;
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js
-
-
-
-
-/*
-given a DOM element, return the list of all scroll parents, up the list of ancesors
-until we get to the top window object. This list is what we attach scroll listeners
-to, because if any of these parent elements scroll, we'll need to re-calculate the
-reference element's position.
-*/
-
-function listScrollParents(element, list) {
-  var _element$ownerDocumen;
-
-  if (list === void 0) {
-    list = [];
-  }
-
-  var scrollParent = getScrollParent(element);
-  var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
-  var win = getWindow_getWindow(scrollParent);
-  var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
-  var updatedList = list.concat(target);
-  return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
-  updatedList.concat(listScrollParents(getParentNode(target)));
+/**
+ * Applies a translate/scale delta to an axis
+ */
+function applyAxisDelta(axis, translate, scale, originPoint, boxScale) {
+    if (translate === void 0) { translate = 0; }
+    if (scale === void 0) { scale = 1; }
+    axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale);
+    axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale);
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js
-
-function isTableElement(element) {
-  return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;
+/**
+ * Applies a translate/scale delta to a box
+ */
+function applyBoxDelta(box, _a) {
+    var x = _a.x, y = _a.y;
+    applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);
+    applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js
-
-
-
-
-
-
-
-function getTrueOffsetParent(element) {
-  if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
-  getComputedStyle_getComputedStyle(element).position === 'fixed') {
-    return null;
-  }
-
-  return element.offsetParent;
-} // `.offsetParent` reports `null` for fixed elements, while absolute elements
-// return the containing block
-
-
-function getContainingBlock(element) {
-  var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;
-  var isIE = navigator.userAgent.indexOf('Trident') !== -1;
-
-  if (isIE && isHTMLElement(element)) {
-    // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
-    var elementCss = getComputedStyle_getComputedStyle(element);
-
-    if (elementCss.position === 'fixed') {
-      return null;
+/**
+ * Apply a transform to an axis from the latest resolved motion values.
+ * This function basically acts as a bridge between a flat motion value map
+ * and applyAxisDelta
+ */
+function applyAxisTransforms(final, axis, transforms, _a) {
+    var _b = tslib_es6_read(_a, 3), key = _b[0], scaleKey = _b[1], originKey = _b[2];
+    // Copy the current axis to the final axis before mutation
+    final.min = axis.min;
+    final.max = axis.max;
+    var axisOrigin = transforms[originKey] !== undefined ? transforms[originKey] : 0.5;
+    var originPoint = mix(axis.min, axis.max, axisOrigin);
+    // Apply the axis delta to the final axis
+    applyAxisDelta(final, transforms[key], transforms[scaleKey], originPoint, transforms.scale);
+}
+/**
+ * The names of the motion values we want to apply as translation, scale and origin.
+ */
+var xKeys = ["x", "scaleX", "originX"];
+var yKeys = ["y", "scaleY", "originY"];
+/**
+ * Apply a transform to a box from the latest resolved motion values.
+ */
+function applyBoxTransforms(finalBox, box, transforms) {
+    applyAxisTransforms(finalBox.x, box.x, transforms, xKeys);
+    applyAxisTransforms(finalBox.y, box.y, transforms, yKeys);
+}
+/**
+ * Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse
+ */
+function removePointDelta(point, translate, scale, originPoint, boxScale) {
+    point -= translate;
+    point = scalePoint(point, 1 / scale, originPoint);
+    if (boxScale !== undefined) {
+        point = scalePoint(point, 1 / boxScale, originPoint);
     }
-  }
-
-  var currentNode = getParentNode(element);
-
-  while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
-    var css = getComputedStyle_getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
-    // create a containing block.
-    // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
-
-    if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
-      return currentNode;
-    } else {
-      currentNode = currentNode.parentNode;
+    return point;
+}
+/**
+ * Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse
+ */
+function removeAxisDelta(axis, translate, scale, origin, boxScale) {
+    if (translate === void 0) { translate = 0; }
+    if (scale === void 0) { scale = 1; }
+    if (origin === void 0) { origin = 0.5; }
+    var originPoint = mix(axis.min, axis.max, origin) - translate;
+    axis.min = removePointDelta(axis.min, translate, scale, originPoint, boxScale);
+    axis.max = removePointDelta(axis.max, translate, scale, originPoint, boxScale);
+}
+/**
+ * Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse
+ * and acts as a bridge between motion values and removeAxisDelta
+ */
+function removeAxisTransforms(axis, transforms, _a) {
+    var _b = tslib_es6_read(_a, 3), key = _b[0], scaleKey = _b[1], originKey = _b[2];
+    removeAxisDelta(axis, transforms[key], transforms[scaleKey], transforms[originKey], transforms.scale);
+}
+/**
+ * Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse
+ * and acts as a bridge between motion values and removeAxisDelta
+ */
+function removeBoxTransforms(box, transforms) {
+    removeAxisTransforms(box.x, transforms, xKeys);
+    removeAxisTransforms(box.y, transforms, yKeys);
+}
+/**
+ * Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms
+ * in a tree upon our box before then calculating how to project it into our desired viewport-relative box
+ *
+ * This is the final nested loop within updateLayoutDelta for future refactoring
+ */
+function applyTreeDeltas(box, treeScale, treePath) {
+    var treeLength = treePath.length;
+    if (!treeLength)
+        return;
+    // Reset the treeScale
+    treeScale.x = treeScale.y = 1;
+    var node;
+    var delta;
+    for (var i = 0; i < treeLength; i++) {
+        node = treePath[i];
+        delta = node.getLayoutState().delta;
+        // Incoporate each ancestor's scale into a culmulative treeScale for this component
+        treeScale.x *= delta.x.scale;
+        treeScale.y *= delta.y.scale;
+        // Apply each ancestor's calculated delta into this component's recorded layout box
+        applyBoxDelta(box, delta);
+        // If this is a draggable ancestor, also incorporate the node's transform to the layout box
+        if (isDraggable(node)) {
+            applyBoxTransforms(box, box, node.getLatestValues());
+        }
     }
-  }
-
-  return null;
-} // Gets the closest ancestor positioned element. Handles some edge cases,
-// such as table ancestors and cross browser bugs.
-
-
-function getOffsetParent(element) {
-  var window = getWindow_getWindow(element);
-  var offsetParent = getTrueOffsetParent(element);
-
-  while (offsetParent && isTableElement(offsetParent) && getComputedStyle_getComputedStyle(offsetParent).position === 'static') {
-    offsetParent = getTrueOffsetParent(offsetParent);
-  }
-
-  if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle_getComputedStyle(offsetParent).position === 'static')) {
-    return window;
-  }
-
-  return offsetParent || getContainingBlock(element) || window;
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/enums.js
-var enums_top = 'top';
-var enums_bottom = 'bottom';
-var enums_right = 'right';
-var enums_left = 'left';
-var enums_auto = 'auto';
-var basePlacements = [enums_top, enums_bottom, enums_right, enums_left];
-var enums_start = 'start';
-var enums_end = 'end';
-var enums_clippingParents = 'clippingParents';
-var viewport = 'viewport';
-var enums_popper = 'popper';
-var enums_reference = 'reference';
-var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
-  return acc.concat([placement + "-" + enums_start, placement + "-" + enums_end]);
-}, []);
-var enums_placements = /*#__PURE__*/[].concat(basePlacements, [enums_auto]).reduce(function (acc, placement) {
-  return acc.concat([placement, placement + "-" + enums_start, placement + "-" + enums_end]);
-}, []); // modifiers that need to read the DOM

-var beforeRead = 'beforeRead';
-var enums_read = 'read';
-var afterRead = 'afterRead'; // pure-logic modifiers

-var beforeMain = 'beforeMain';
-var main = 'main';
-var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)

-var beforeWrite = 'beforeWrite';
-var enums_write = 'write';
-var afterWrite = 'afterWrite';
-var modifierPhases = [beforeRead, enums_read, afterRead, beforeMain, main, afterMain, beforeWrite, enums_write, afterWrite];
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/orderModifiers.js
- // source: https://stackoverflow.com/questions/49875255
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/convert-to-relative.js

-function orderModifiers_order(modifiers) {
-  var map = new Map();
-  var visited = new Set();
-  var result = [];
-  modifiers.forEach(function (modifier) {
-    map.set(modifier.name, modifier);
-  }); // On visiting object, check for its dependencies and visit them recursively

-  function sort(modifier) {
-    visited.add(modifier.name);
-    var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
-    requires.forEach(function (dep) {
-      if (!visited.has(dep)) {
-        var depModifier = map.get(dep);

-        if (depModifier) {
-          sort(depModifier);
-        }
-      }
-    });
-    result.push(modifier);
-  }

-  modifiers.forEach(function (modifier) {
-    if (!visited.has(modifier.name)) {
-      // check for visited object
-      sort(modifier);
+/**
+ * Returns a boolean stating whether or not we converted the projection
+ * to relative projection.
+ */
+function convertToRelativeProjection(visualElement, isLayoutDrag) {
+    if (isLayoutDrag === void 0) { isLayoutDrag = true; }
+    var projectionParent = visualElement.getProjectionParent();
+    if (!projectionParent)
+        return false;
+    var offset;
+    if (isLayoutDrag) {
+        offset = calcRelativeOffset(projectionParent.projection.target, visualElement.projection.target);
+        removeBoxTransforms(offset, projectionParent.getLatestValues());
     }
-  });
-  return result;
+    else {
+        offset = calcRelativeOffset(projectionParent.getLayoutState().layout, visualElement.getLayoutState().layout);
+    }
+    eachAxis(function (axis) {
+        return visualElement.setProjectionTargetAxis(axis, offset[axis].min, offset[axis].max, true);
+    });
+    return true;
 }

-function orderModifiers(modifiers) {
-  // order based on dependencies
-  var orderedModifiers = orderModifiers_order(modifiers); // order based on phase

-  return modifierPhases.reduce(function (acc, phase) {
-    return acc.concat(orderedModifiers.filter(function (modifier) {
-      return modifier.phase === phase;
-    }));
-  }, []);
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/debounce.js
-function debounce(fn) {
-  var pending;
-  return function () {
-    if (!pending) {
-      pending = new Promise(function (resolve) {
-        Promise.resolve().then(function () {
-          pending = undefined;
-          resolve(fn());
-        });
-      });
-    }

-    return pending;
-  };
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/batch-layout.js
+var unresolvedJobs = new Set();
+function pushJob(stack, job, pointer) {
+    if (!stack[pointer])
+        stack[pointer] = [];
+    stack[pointer].push(job);
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/mergeByName.js
-function mergeByName(modifiers) {
-  var merged = modifiers.reduce(function (merged, current) {
-    var existing = merged[current.name];
-    merged[current.name] = existing ? Object.assign({}, existing, current, {
-      options: Object.assign({}, existing.options, current.options),
-      data: Object.assign({}, existing.data, current.data)
-    }) : current;
-    return merged;
-  }, {}); // IE11 does not support Object.values
-
-  return Object.keys(merged).map(function (key) {
-    return merged[key];
-  });
+function batchLayout(callback) {
+    unresolvedJobs.add(callback);
+    return function () { return unresolvedJobs.delete(callback); };
 }
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/createPopper.js
-
-
-
-
+function flushLayout() {
+    if (!unresolvedJobs.size)
+        return;
+    var pointer = 0;
+    var reads = [[]];
+    var writes = [];
+    var setRead = function (job) { return pushJob(reads, job, pointer); };
+    var setWrite = function (job) {
+        pushJob(writes, job, pointer);
+        pointer++;
+    };
+    /**
+     * Resolve jobs into their array stacks
+     */
+    unresolvedJobs.forEach(function (callback) {
+        callback(setRead, setWrite);
+        pointer = 0;
+    });
+    unresolvedJobs.clear();
+    /**
+     * Execute jobs
+     */
+    var numStacks = writes.length;
+    for (var i = 0; i <= numStacks; i++) {
+        reads[i] && reads[i].forEach(executeJob);
+        writes[i] && writes[i].forEach(executeJob);
+    }
+}
+var executeJob = function (job) { return job(); };



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js



@@ -35692,4150 +32273,1576 @@ function mergeByName(modifiers) {



-var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';
-var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';
-var DEFAULT_OPTIONS = {
-  placement: 'bottom',
-  modifiers: [],
-  strategy: 'absolute'
-};

-function areValidElements() {
-  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-    args[_key] = arguments[_key];
-  }

-  return !args.some(function (element) {
-    return !(element && typeof element.getBoundingClientRect === 'function');
-  });
-}

-function popperGenerator(generatorOptions) {
-  if (generatorOptions === void 0) {
-    generatorOptions = {};
-  }

-  var _generatorOptions = generatorOptions,
-      _generatorOptions$def = _generatorOptions.defaultModifiers,
-      defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
-      _generatorOptions$def2 = _generatorOptions.defaultOptions,
-      defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
-  return function createPopper(reference, popper, options) {
-    if (options === void 0) {
-      options = defaultOptions;
-    }

-    var state = {
-      placement: 'bottom',
-      orderedModifiers: [],
-      options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
-      modifiersData: {},
-      elements: {
-        reference: reference,
-        popper: popper
-      },
-      attributes: {},
-      styles: {}
-    };
-    var effectCleanupFns = [];
-    var isDestroyed = false;
-    var instance = {
-      state: state,
-      setOptions: function setOptions(setOptionsAction) {
-        var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
-        cleanupModifierEffects();
-        state.options = Object.assign({}, defaultOptions, state.options, options);
-        state.scrollParents = {
-          reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
-          popper: listScrollParents(popper)
-        }; // Orders the modifiers based on their dependencies and `phase`
-        // properties

-        var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers

-        state.orderedModifiers = orderedModifiers.filter(function (m) {
-          return m.enabled;
-        }); // Validate the provided modifiers so that the consumer will get warned
-        // if one of the modifiers is invalid for any reason

-        if (false) { var _getComputedStyle, marginTop, marginRight, marginBottom, marginLeft, flipModifier, modifiers; }

-        runModifierEffects();
-        return instance.update();
-      },
-      // Sync update – it will always be executed, even if not necessary. This
-      // is useful for low frequency updates where sync behavior simplifies the
-      // logic.
-      // For high frequency updates (e.g. `resize` and `scroll` events), always
-      // prefer the async Popper#update method
-      forceUpdate: function forceUpdate() {
-        if (isDestroyed) {
-          return;
-        }

-        var _state$elements = state.elements,
-            reference = _state$elements.reference,
-            popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements
-        // anymore

-        if (!areValidElements(reference, popper)) {
-          if (false) {}

-          return;
-        } // Store the reference and popper rects to be read by modifiers
-
-
-        state.rects = {
-          reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),
-          popper: getLayoutRect(popper)
-        }; // Modifiers have the ability to reset the current update cycle. The
-        // most common use case for this is the `flip` modifier changing the
-        // placement, which then needs to re-run all the modifiers, because the
-        // logic was previously ran for the previous placement and is therefore
-        // stale/incorrect
-
-        state.reset = false;
-        state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier
-        // is filled with the initial data specified by the modifier. This means
-        // it doesn't persist and is fresh on each update.
-        // To ensure persistent data, use `${name}#persistent`
-
-        state.orderedModifiers.forEach(function (modifier) {
-          return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
-        });
-        var __debug_loops__ = 0;
-
-        for (var index = 0; index < state.orderedModifiers.length; index++) {
-          if (false) {}
-
-          if (state.reset === true) {
-            state.reset = false;
-            index = -1;
-            continue;
-          }
-
-          var _state$orderedModifie = state.orderedModifiers[index],
-              fn = _state$orderedModifie.fn,
-              _state$orderedModifie2 = _state$orderedModifie.options,
-              _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
-              name = _state$orderedModifie.name;
-
-          if (typeof fn === 'function') {
-            state = fn({
-              state: state,
-              options: _options,
-              name: name,
-              instance: instance
-            }) || state;
-          }
-        }
-      },
-      // Async and optimistically optimized update – it will not be executed if
-      // not necessary (debounced to run at most once-per-tick)
-      update: debounce(function () {
-        return new Promise(function (resolve) {
-          instance.forceUpdate();
-          resolve(state);
-        });
-      }),
-      destroy: function destroy() {
-        cleanupModifierEffects();
-        isDestroyed = true;
-      }
-    };
-
-    if (!areValidElements(reference, popper)) {
-      if (false) {}
-
-      return instance;
-    }
-
-    instance.setOptions(options).then(function (state) {
-      if (!isDestroyed && options.onFirstUpdate) {
-        options.onFirstUpdate(state);
-      }
-    }); // Modifiers have the ability to execute arbitrary code before the first
-    // update cycle runs. They will be executed in the same order as the update
-    // cycle. This is useful when a modifier adds some persistent data that
-    // other modifiers need to use, but the modifier is run after the dependent
-    // one.
-
-    function runModifierEffects() {
-      state.orderedModifiers.forEach(function (_ref3) {
-        var name = _ref3.name,
-            _ref3$options = _ref3.options,
-            options = _ref3$options === void 0 ? {} : _ref3$options,
-            effect = _ref3.effect;
-
-        if (typeof effect === 'function') {
-          var cleanupFn = effect({
-            state: state,
-            name: name,
-            instance: instance,
-            options: options
-          });
-
-          var noopFn = function noopFn() {};
-
-          effectCleanupFns.push(cleanupFn || noopFn);
-        }
-      });
-    }
-
-    function cleanupModifierEffects() {
-      effectCleanupFns.forEach(function (fn) {
-        return fn();
-      });
-      effectCleanupFns = [];
-    }
-
-    return instance;
-  };
-}
-var createPopper_createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules
-
-
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/eventListeners.js
- // eslint-disable-next-line import/no-unused-modules
-
-var passive = {
-  passive: true
-};
-
-function eventListeners_effect(_ref) {
-  var state = _ref.state,
-      instance = _ref.instance,
-      options = _ref.options;
-  var _options$scroll = options.scroll,
-      scroll = _options$scroll === void 0 ? true : _options$scroll,
-      _options$resize = options.resize,
-      resize = _options$resize === void 0 ? true : _options$resize;
-  var window = getWindow_getWindow(state.elements.popper);
-  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
-
-  if (scroll) {
-    scrollParents.forEach(function (scrollParent) {
-      scrollParent.addEventListener('scroll', instance.update, passive);
-    });
-  }
-
-  if (resize) {
-    window.addEventListener('resize', instance.update, passive);
-  }
-
-  return function () {
-    if (scroll) {
-      scrollParents.forEach(function (scrollParent) {
-        scrollParent.removeEventListener('scroll', instance.update, passive);
-      });
-    }
-
-    if (resize) {
-      window.removeEventListener('resize', instance.update, passive);
-    }
-  };
-} // eslint-disable-next-line import/no-unused-modules
-
-
-/* harmony default export */ var eventListeners = ({
-  name: 'eventListeners',
-  enabled: true,
-  phase: 'write',
-  fn: function fn() {},
-  effect: eventListeners_effect,
-  data: {}
-});
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getBasePlacement.js
-
-function getBasePlacement(placement) {
-  return placement.split('-')[0];
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getVariation.js
-function getVariation(placement) {
-  return placement.split('-')[1];
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
-function getMainAxisFromPlacement(placement) {
-  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/computeOffsets.js
-
-
-
-
-function computeOffsets(_ref) {
-  var reference = _ref.reference,
-      element = _ref.element,
-      placement = _ref.placement;
-  var basePlacement = placement ? getBasePlacement(placement) : null;
-  var variation = placement ? getVariation(placement) : null;
-  var commonX = reference.x + reference.width / 2 - element.width / 2;
-  var commonY = reference.y + reference.height / 2 - element.height / 2;
-  var offsets;
-
-  switch (basePlacement) {
-    case enums_top:
-      offsets = {
-        x: commonX,
-        y: reference.y - element.height
-      };
-      break;
-
-    case enums_bottom:
-      offsets = {
-        x: commonX,
-        y: reference.y + reference.height
-      };
-      break;
-
-    case enums_right:
-      offsets = {
-        x: reference.x + reference.width,
-        y: commonY
-      };
-      break;
-
-    case enums_left:
-      offsets = {
-        x: reference.x - element.width,
-        y: commonY
-      };
-      break;
-
-    default:
-      offsets = {
-        x: reference.x,
-        y: reference.y
-      };
-  }
-
-  var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;
-
-  if (mainAxis != null) {
-    var len = mainAxis === 'y' ? 'height' : 'width';
-
-    switch (variation) {
-      case enums_start:
-        offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
-        break;
-
-      case enums_end:
-        offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
-        break;
-
-      default:
-    }
-  }
-
-  return offsets;
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js
-
-
-function popperOffsets_popperOffsets(_ref) {
-  var state = _ref.state,
-      name = _ref.name;
-  // Offsets are the actual position the popper needs to have to be
-  // properly positioned near its reference element
-  // This is the most basic placement, and will be adjusted by
-  // the modifiers in the next step
-  state.modifiersData[name] = computeOffsets({
-    reference: state.rects.reference,
-    element: state.rects.popper,
-    strategy: 'absolute',
-    placement: state.placement
-  });
-} // eslint-disable-next-line import/no-unused-modules
-
-
-/* harmony default export */ var modifiers_popperOffsets = ({
-  name: 'popperOffsets',
-  enabled: true,
-  phase: 'read',
-  fn: popperOffsets_popperOffsets,
-  data: {}
-});
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/computeStyles.js
-
-
-
-
-
-
-
- // eslint-disable-next-line import/no-unused-modules
-
-var unsetSides = {
-  top: 'auto',
-  right: 'auto',
-  bottom: 'auto',
-  left: 'auto'
-}; // Round the offsets to the nearest suitable subpixel based on the DPR.
-// Zooming can change the DPR, but it seems to report a value that will
-// cleanly divide the values into the appropriate subpixels.
-
-function roundOffsetsByDPR(_ref) {
-  var x = _ref.x,
-      y = _ref.y;
-  var win = window;
-  var dpr = win.devicePixelRatio || 1;
-  return {
-    x: round(x * dpr) / dpr || 0,
-    y: round(y * dpr) / dpr || 0
-  };
-}
-
-function mapToStyles(_ref2) {
-  var _Object$assign2;
-
-  var popper = _ref2.popper,
-      popperRect = _ref2.popperRect,
-      placement = _ref2.placement,
-      variation = _ref2.variation,
-      offsets = _ref2.offsets,
-      position = _ref2.position,
-      gpuAcceleration = _ref2.gpuAcceleration,
-      adaptive = _ref2.adaptive,
-      roundOffsets = _ref2.roundOffsets,
-      isFixed = _ref2.isFixed;
-  var _offsets$x = offsets.x,
-      x = _offsets$x === void 0 ? 0 : _offsets$x,
-      _offsets$y = offsets.y,
-      y = _offsets$y === void 0 ? 0 : _offsets$y;
-
-  var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
-    x: x,
-    y: y
-  }) : {
-    x: x,
-    y: y
-  };
-
-  x = _ref3.x;
-  y = _ref3.y;
-  var hasX = offsets.hasOwnProperty('x');
-  var hasY = offsets.hasOwnProperty('y');
-  var sideX = enums_left;
-  var sideY = enums_top;
-  var win = window;
-
-  if (adaptive) {
-    var offsetParent = getOffsetParent(popper);
-    var heightProp = 'clientHeight';
-    var widthProp = 'clientWidth';
-
-    if (offsetParent === getWindow_getWindow(popper)) {
-      offsetParent = getDocumentElement(popper);
-
-      if (getComputedStyle_getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {
-        heightProp = 'scrollHeight';
-        widthProp = 'scrollWidth';
-      }
-    } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
-
-
-    offsetParent = offsetParent;
-
-    if (placement === enums_top || (placement === enums_left || placement === enums_right) && variation === enums_end) {
-      sideY = enums_bottom;
-      var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
-      offsetParent[heightProp];
-      y -= offsetY - popperRect.height;
-      y *= gpuAcceleration ? 1 : -1;
-    }
-
-    if (placement === enums_left || (placement === enums_top || placement === enums_bottom) && variation === enums_end) {
-      sideX = enums_right;
-      var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
-      offsetParent[widthProp];
-      x -= offsetX - popperRect.width;
-      x *= gpuAcceleration ? 1 : -1;
-    }
-  }
-
-  var commonStyles = Object.assign({
-    position: position
-  }, adaptive && unsetSides);
-
-  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
-    x: x,
-    y: y
-  }) : {
-    x: x,
-    y: y
-  };
-
-  x = _ref4.x;
-  y = _ref4.y;
-
-  if (gpuAcceleration) {
-    var _Object$assign;
-
-    return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
-  }
-
-  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
-}
-
-function computeStyles(_ref5) {
-  var state = _ref5.state,
-      options = _ref5.options;
-  var _options$gpuAccelerat = options.gpuAcceleration,
-      gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
-      _options$adaptive = options.adaptive,
-      adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
-      _options$roundOffsets = options.roundOffsets,
-      roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
-
-  if (false) { var transitionProperty; }
-
-  var commonStyles = {
-    placement: getBasePlacement(state.placement),
-    variation: getVariation(state.placement),
-    popper: state.elements.popper,
-    popperRect: state.rects.popper,
-    gpuAcceleration: gpuAcceleration,
-    isFixed: state.options.strategy === 'fixed'
-  };
-
-  if (state.modifiersData.popperOffsets != null) {
-    state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
-      offsets: state.modifiersData.popperOffsets,
-      position: state.options.strategy,
-      adaptive: adaptive,
-      roundOffsets: roundOffsets
-    })));
-  }
-
-  if (state.modifiersData.arrow != null) {
-    state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
-      offsets: state.modifiersData.arrow,
-      position: 'absolute',
-      adaptive: false,
-      roundOffsets: roundOffsets
-    })));
-  }
-
-  state.attributes.popper = Object.assign({}, state.attributes.popper, {
-    'data-popper-placement': state.placement
-  });
-} // eslint-disable-next-line import/no-unused-modules
-
-
-/* harmony default export */ var modifiers_computeStyles = ({
-  name: 'computeStyles',
-  enabled: true,
-  phase: 'beforeWrite',
-  fn: computeStyles,
-  data: {}
-});
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/applyStyles.js
-
- // This modifier takes the styles prepared by the `computeStyles` modifier
-// and applies them to the HTMLElements such as popper and arrow
-
-function applyStyles(_ref) {
-  var state = _ref.state;
-  Object.keys(state.elements).forEach(function (name) {
-    var style = state.styles[name] || {};
-    var attributes = state.attributes[name] || {};
-    var element = state.elements[name]; // arrow is optional + virtual elements
-
-    if (!isHTMLElement(element) || !getNodeName(element)) {
-      return;
-    } // Flow doesn't support to extend this property, but it's the most
-    // effective way to apply styles to an HTMLElement
-    // $FlowFixMe[cannot-write]
-
-
-    Object.assign(element.style, style);
-    Object.keys(attributes).forEach(function (name) {
-      var value = attributes[name];
-
-      if (value === false) {
-        element.removeAttribute(name);
-      } else {
-        element.setAttribute(name, value === true ? '' : value);
-      }
-    });
-  });
-}
-
-function applyStyles_effect(_ref2) {
-  var state = _ref2.state;
-  var initialStyles = {
-    popper: {
-      position: state.options.strategy,
-      left: '0',
-      top: '0',
-      margin: '0'
-    },
-    arrow: {
-      position: 'absolute'
-    },
-    reference: {}
-  };
-  Object.assign(state.elements.popper.style, initialStyles.popper);
-  state.styles = initialStyles;
-
-  if (state.elements.arrow) {
-    Object.assign(state.elements.arrow.style, initialStyles.arrow);
-  }
-
-  return function () {
-    Object.keys(state.elements).forEach(function (name) {
-      var element = state.elements[name];
-      var attributes = state.attributes[name] || {};
-      var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them
-
-      var style = styleProperties.reduce(function (style, property) {
-        style[property] = '';
-        return style;
-      }, {}); // arrow is optional + virtual elements
-
-      if (!isHTMLElement(element) || !getNodeName(element)) {
-        return;
-      }
-
-      Object.assign(element.style, style);
-      Object.keys(attributes).forEach(function (attribute) {
-        element.removeAttribute(attribute);
-      });
-    });
-  };
-} // eslint-disable-next-line import/no-unused-modules
-
-
-/* harmony default export */ var modifiers_applyStyles = ({
-  name: 'applyStyles',
-  enabled: true,
-  phase: 'write',
-  fn: applyStyles,
-  effect: applyStyles_effect,
-  requires: ['computeStyles']
-});
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/offset.js
-
- // eslint-disable-next-line import/no-unused-modules
-
-function distanceAndSkiddingToXY(placement, rects, offset) {
-  var basePlacement = getBasePlacement(placement);
-  var invertDistance = [enums_left, enums_top].indexOf(basePlacement) >= 0 ? -1 : 1;
-
-  var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
-    placement: placement
-  })) : offset,
-      skidding = _ref[0],
-      distance = _ref[1];
-
-  skidding = skidding || 0;
-  distance = (distance || 0) * invertDistance;
-  return [enums_left, enums_right].indexOf(basePlacement) >= 0 ? {
-    x: distance,
-    y: skidding
-  } : {
-    x: skidding,
-    y: distance
-  };
-}
-
-function offset_offset(_ref2) {
-  var state = _ref2.state,
-      options = _ref2.options,
-      name = _ref2.name;
-  var _options$offset = options.offset,
-      offset = _options$offset === void 0 ? [0, 0] : _options$offset;
-  var data = enums_placements.reduce(function (acc, placement) {
-    acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
-    return acc;
-  }, {});
-  var _data$state$placement = data[state.placement],
-      x = _data$state$placement.x,
-      y = _data$state$placement.y;
-
-  if (state.modifiersData.popperOffsets != null) {
-    state.modifiersData.popperOffsets.x += x;
-    state.modifiersData.popperOffsets.y += y;
-  }
-
-  state.modifiersData[name] = data;
-} // eslint-disable-next-line import/no-unused-modules
-
-
-/* harmony default export */ var modifiers_offset = ({
-  name: 'offset',
-  enabled: true,
-  phase: 'main',
-  requires: ['popperOffsets'],
-  fn: offset_offset
-});
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js
-var hash = {
-  left: 'right',
-  right: 'left',
-  bottom: 'top',
-  top: 'bottom'
-};
-function getOppositePlacement(placement) {
-  return placement.replace(/left|right|bottom|top/g, function (matched) {
-    return hash[matched];
-  });
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
-var getOppositeVariationPlacement_hash = {
-  start: 'end',
-  end: 'start'
-};
-function getOppositeVariationPlacement(placement) {
-  return placement.replace(/start|end/g, function (matched) {
-    return getOppositeVariationPlacement_hash[matched];
-  });
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js
-
-
-
-function getViewportRect(element) {
-  var win = getWindow_getWindow(element);
-  var html = getDocumentElement(element);
-  var visualViewport = win.visualViewport;
-  var width = html.clientWidth;
-  var height = html.clientHeight;
-  var x = 0;
-  var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper
-  // can be obscured underneath it.
-  // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even
-  // if it isn't open, so if this isn't available, the popper will be detected
-  // to overflow the bottom of the screen too early.
-
-  if (visualViewport) {
-    width = visualViewport.width;
-    height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)
-    // In Chrome, it returns a value very close to 0 (+/-) but contains rounding
-    // errors due to floating point numbers, so we need to check precision.
-    // Safari returns a number <= 0, usually < -1 when pinch-zoomed
-    // Feature detection fails in mobile emulation mode in Chrome.
-    // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <
-    // 0.001
-    // Fallback here: "Not Safari" userAgent
-
-    if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
-      x = visualViewport.offsetLeft;
-      y = visualViewport.offsetTop;
-    }
-  }
-
-  return {
-    width: width,
-    height: height,
-    x: x + getWindowScrollBarX(element),
-    y: y
-  };
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js
-
-
-
-
- // Gets the entire size of the scrollable document area, even extending outside
-// of the `<html>` and `<body>` rect bounds if horizontally scrollable
-
-function getDocumentRect(element) {
-  var _element$ownerDocumen;
-
-  var html = getDocumentElement(element);
-  var winScroll = getWindowScroll(element);
-  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
-  var width = math_max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
-  var height = math_max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
-  var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
-  var y = -winScroll.scrollTop;
-
-  if (getComputedStyle_getComputedStyle(body || html).direction === 'rtl') {
-    x += math_max(html.clientWidth, body ? body.clientWidth : 0) - width;
-  }
-
-  return {
-    width: width,
-    height: height,
-    x: x,
-    y: y
-  };
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/contains.js
-
-function contains(parent, child) {
-  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
-
-  if (parent.contains(child)) {
-    return true;
-  } // then fallback to custom implementation with Shadow DOM support
-  else if (rootNode && isShadowRoot(rootNode)) {
-      var next = child;
-
-      do {
-        if (next && parent.isSameNode(next)) {
-          return true;
-        } // $FlowFixMe[prop-missing]: need a better way to handle this...
-
-
-        next = next.parentNode || next.host;
-      } while (next);
-    } // Give up, the result is false
-
-
-  return false;
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/rectToClientRect.js
-function rectToClientRect(rect) {
-  return Object.assign({}, rect, {
-    left: rect.x,
-    top: rect.y,
-    right: rect.x + rect.width,
-    bottom: rect.y + rect.height
-  });
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-function getInnerBoundingClientRect(element) {
-  var rect = getBoundingClientRect(element);
-  rect.top = rect.top + element.clientTop;
-  rect.left = rect.left + element.clientLeft;
-  rect.bottom = rect.top + element.clientHeight;
-  rect.right = rect.left + element.clientWidth;
-  rect.width = element.clientWidth;
-  rect.height = element.clientHeight;
-  rect.x = rect.left;
-  rect.y = rect.top;
-  return rect;
-}
-
-function getClientRectFromMixedType(element, clippingParent) {
-  return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
-} // A "clipping parent" is an overflowable container with the characteristic of
-// clipping (or hiding) overflowing elements with a position different from
-// `initial`
-
-
-function getClippingParents(element) {
-  var clippingParents = listScrollParents(getParentNode(element));
-  var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle_getComputedStyle(element).position) >= 0;
-  var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
-
-  if (!isElement(clipperElement)) {
-    return [];
-  } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414
-
-
-  return clippingParents.filter(function (clippingParent) {
-    return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
-  });
-} // Gets the maximum area that the element is visible in due to any number of
-// clipping parents
-
-
-function getClippingRect(element, boundary, rootBoundary) {
-  var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
-  var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
-  var firstClippingParent = clippingParents[0];
-  var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
-    var rect = getClientRectFromMixedType(element, clippingParent);
-    accRect.top = math_max(rect.top, accRect.top);
-    accRect.right = math_min(rect.right, accRect.right);
-    accRect.bottom = math_min(rect.bottom, accRect.bottom);
-    accRect.left = math_max(rect.left, accRect.left);
-    return accRect;
-  }, getClientRectFromMixedType(element, firstClippingParent));
-  clippingRect.width = clippingRect.right - clippingRect.left;
-  clippingRect.height = clippingRect.bottom - clippingRect.top;
-  clippingRect.x = clippingRect.left;
-  clippingRect.y = clippingRect.top;
-  return clippingRect;
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js
-function getFreshSideObject() {
-  return {
-    top: 0,
-    right: 0,
-    bottom: 0,
-    left: 0
-  };
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js
-
-function mergePaddingObject(paddingObject) {
-  return Object.assign({}, getFreshSideObject(), paddingObject);
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/expandToHashMap.js
-function expandToHashMap(value, keys) {
-  return keys.reduce(function (hashMap, key) {
-    hashMap[key] = value;
-    return hashMap;
-  }, {});
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/detectOverflow.js
-
-
-
-
-
-
-
-
- // eslint-disable-next-line import/no-unused-modules
-
-function detectOverflow(state, options) {
-  if (options === void 0) {
-    options = {};
-  }
-
-  var _options = options,
-      _options$placement = _options.placement,
-      placement = _options$placement === void 0 ? state.placement : _options$placement,
-      _options$boundary = _options.boundary,
-      boundary = _options$boundary === void 0 ? enums_clippingParents : _options$boundary,
-      _options$rootBoundary = _options.rootBoundary,
-      rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
-      _options$elementConte = _options.elementContext,
-      elementContext = _options$elementConte === void 0 ? enums_popper : _options$elementConte,
-      _options$altBoundary = _options.altBoundary,
-      altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
-      _options$padding = _options.padding,
-      padding = _options$padding === void 0 ? 0 : _options$padding;
-  var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
-  var altContext = elementContext === enums_popper ? enums_reference : enums_popper;
-  var popperRect = state.rects.popper;
-  var element = state.elements[altBoundary ? altContext : elementContext];
-  var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
-  var referenceClientRect = getBoundingClientRect(state.elements.reference);
-  var popperOffsets = computeOffsets({
-    reference: referenceClientRect,
-    element: popperRect,
-    strategy: 'absolute',
-    placement: placement
-  });
-  var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
-  var elementClientRect = elementContext === enums_popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
-  // 0 or negative = within the clipping rect
-
-  var overflowOffsets = {
-    top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
-    bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
-    left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
-    right: elementClientRect.right - clippingClientRect.right + paddingObject.right
-  };
-  var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element
-
-  if (elementContext === enums_popper && offsetData) {
-    var offset = offsetData[placement];
-    Object.keys(overflowOffsets).forEach(function (key) {
-      var multiply = [enums_right, enums_bottom].indexOf(key) >= 0 ? 1 : -1;
-      var axis = [enums_top, enums_bottom].indexOf(key) >= 0 ? 'y' : 'x';
-      overflowOffsets[key] += offset[axis] * multiply;
-    });
-  }
-
-  return overflowOffsets;
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js
-
-
-
-
-function computeAutoPlacement(state, options) {
-  if (options === void 0) {
-    options = {};
-  }
-
-  var _options = options,
-      placement = _options.placement,
-      boundary = _options.boundary,
-      rootBoundary = _options.rootBoundary,
-      padding = _options.padding,
-      flipVariations = _options.flipVariations,
-      _options$allowedAutoP = _options.allowedAutoPlacements,
-      allowedAutoPlacements = _options$allowedAutoP === void 0 ? enums_placements : _options$allowedAutoP;
-  var variation = getVariation(placement);
-  var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
-    return getVariation(placement) === variation;
-  }) : basePlacements;
-  var allowedPlacements = placements.filter(function (placement) {
-    return allowedAutoPlacements.indexOf(placement) >= 0;
-  });
-
-  if (allowedPlacements.length === 0) {
-    allowedPlacements = placements;
-
-    if (false) {}
-  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
-
-
-  var overflows = allowedPlacements.reduce(function (acc, placement) {
-    acc[placement] = detectOverflow(state, {
-      placement: placement,
-      boundary: boundary,
-      rootBoundary: rootBoundary,
-      padding: padding
-    })[getBasePlacement(placement)];
-    return acc;
-  }, {});
-  return Object.keys(overflows).sort(function (a, b) {
-    return overflows[a] - overflows[b];
-  });
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/flip.js
-
-
-
-
-
-
- // eslint-disable-next-line import/no-unused-modules
-
-function getExpandedFallbackPlacements(placement) {
-  if (getBasePlacement(placement) === enums_auto) {
-    return [];
-  }
-
-  var oppositePlacement = getOppositePlacement(placement);
-  return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
-}
-
-function flip_flip(_ref) {
-  var state = _ref.state,
-      options = _ref.options,
-      name = _ref.name;
-
-  if (state.modifiersData[name]._skip) {
-    return;
-  }
-
-  var _options$mainAxis = options.mainAxis,
-      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
-      _options$altAxis = options.altAxis,
-      checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
-      specifiedFallbackPlacements = options.fallbackPlacements,
-      padding = options.padding,
-      boundary = options.boundary,
-      rootBoundary = options.rootBoundary,
-      altBoundary = options.altBoundary,
-      _options$flipVariatio = options.flipVariations,
-      flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
-      allowedAutoPlacements = options.allowedAutoPlacements;
-  var preferredPlacement = state.options.placement;
-  var basePlacement = getBasePlacement(preferredPlacement);
-  var isBasePlacement = basePlacement === preferredPlacement;
-  var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
-  var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {
-    return acc.concat(getBasePlacement(placement) === enums_auto ? computeAutoPlacement(state, {
-      placement: placement,
-      boundary: boundary,
-      rootBoundary: rootBoundary,
-      padding: padding,
-      flipVariations: flipVariations,
-      allowedAutoPlacements: allowedAutoPlacements
-    }) : placement);
-  }, []);
-  var referenceRect = state.rects.reference;
-  var popperRect = state.rects.popper;
-  var checksMap = new Map();
-  var makeFallbackChecks = true;
-  var firstFittingPlacement = placements[0];
-
-  for (var i = 0; i < placements.length; i++) {
-    var placement = placements[i];
-
-    var _basePlacement = getBasePlacement(placement);
-
-    var isStartVariation = getVariation(placement) === enums_start;
-    var isVertical = [enums_top, enums_bottom].indexOf(_basePlacement) >= 0;
-    var len = isVertical ? 'width' : 'height';
-    var overflow = detectOverflow(state, {
-      placement: placement,
-      boundary: boundary,
-      rootBoundary: rootBoundary,
-      altBoundary: altBoundary,
-      padding: padding
-    });
-    var mainVariationSide = isVertical ? isStartVariation ? enums_right : enums_left : isStartVariation ? enums_bottom : enums_top;
-
-    if (referenceRect[len] > popperRect[len]) {
-      mainVariationSide = getOppositePlacement(mainVariationSide);
-    }
-
-    var altVariationSide = getOppositePlacement(mainVariationSide);
-    var checks = [];
-
-    if (checkMainAxis) {
-      checks.push(overflow[_basePlacement] <= 0);
-    }
-
-    if (checkAltAxis) {
-      checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
-    }
-
-    if (checks.every(function (check) {
-      return check;
-    })) {
-      firstFittingPlacement = placement;
-      makeFallbackChecks = false;
-      break;
-    }
-
-    checksMap.set(placement, checks);
-  }
-
-  if (makeFallbackChecks) {
-    // `2` may be desired in some cases – research later
-    var numberOfChecks = flipVariations ? 3 : 1;
-
-    var _loop = function _loop(_i) {
-      var fittingPlacement = placements.find(function (placement) {
-        var checks = checksMap.get(placement);
-
-        if (checks) {
-          return checks.slice(0, _i).every(function (check) {
-            return check;
-          });
-        }
-      });
-
-      if (fittingPlacement) {
-        firstFittingPlacement = fittingPlacement;
-        return "break";
-      }
-    };
-
-    for (var _i = numberOfChecks; _i > 0; _i--) {
-      var _ret = _loop(_i);
-
-      if (_ret === "break") break;
-    }
-  }
-
-  if (state.placement !== firstFittingPlacement) {
-    state.modifiersData[name]._skip = true;
-    state.placement = firstFittingPlacement;
-    state.reset = true;
-  }
-} // eslint-disable-next-line import/no-unused-modules
-
-
-/* harmony default export */ var modifiers_flip = ({
-  name: 'flip',
-  enabled: true,
-  phase: 'main',
-  fn: flip_flip,
-  requiresIfExists: ['offset'],
-  data: {
-    _skip: false
-  }
-});
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getAltAxis.js
-function getAltAxis(axis) {
-  return axis === 'x' ? 'y' : 'x';
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/within.js
-
-function within(min, value, max) {
-  return math_max(min, math_min(value, max));
-}
-function withinMaxClamp(min, value, max) {
-  var v = within(min, value, max);
-  return v > max ? max : v;
-}
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js
-
-
-
-
-
-
-
-
-
-
-
-
-function preventOverflow_preventOverflow(_ref) {
-  var state = _ref.state,
-      options = _ref.options,
-      name = _ref.name;
-  var _options$mainAxis = options.mainAxis,
-      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
-      _options$altAxis = options.altAxis,
-      checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
-      boundary = options.boundary,
-      rootBoundary = options.rootBoundary,
-      altBoundary = options.altBoundary,
-      padding = options.padding,
-      _options$tether = options.tether,
-      tether = _options$tether === void 0 ? true : _options$tether,
-      _options$tetherOffset = options.tetherOffset,
-      tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
-  var overflow = detectOverflow(state, {
-    boundary: boundary,
-    rootBoundary: rootBoundary,
-    padding: padding,
-    altBoundary: altBoundary
-  });
-  var basePlacement = getBasePlacement(state.placement);
-  var variation = getVariation(state.placement);
-  var isBasePlacement = !variation;
-  var mainAxis = getMainAxisFromPlacement(basePlacement);
-  var altAxis = getAltAxis(mainAxis);
-  var popperOffsets = state.modifiersData.popperOffsets;
-  var referenceRect = state.rects.reference;
-  var popperRect = state.rects.popper;
-  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
-    placement: state.placement
-  })) : tetherOffset;
-  var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
-    mainAxis: tetherOffsetValue,
-    altAxis: tetherOffsetValue
-  } : Object.assign({
-    mainAxis: 0,
-    altAxis: 0
-  }, tetherOffsetValue);
-  var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
-  var data = {
-    x: 0,
-    y: 0
-  };
-
-  if (!popperOffsets) {
-    return;
-  }
-
-  if (checkMainAxis) {
-    var _offsetModifierState$;
-
-    var mainSide = mainAxis === 'y' ? enums_top : enums_left;
-    var altSide = mainAxis === 'y' ? enums_bottom : enums_right;
-    var len = mainAxis === 'y' ? 'height' : 'width';
-    var offset = popperOffsets[mainAxis];
-    var min = offset + overflow[mainSide];
-    var max = offset - overflow[altSide];
-    var additive = tether ? -popperRect[len] / 2 : 0;
-    var minLen = variation === enums_start ? referenceRect[len] : popperRect[len];
-    var maxLen = variation === enums_start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
-    // outside the reference bounds
-
-    var arrowElement = state.elements.arrow;
-    var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
-      width: 0,
-      height: 0
-    };
-    var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();
-    var arrowPaddingMin = arrowPaddingObject[mainSide];
-    var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
-    // to include its full size in the calculation. If the reference is small
-    // and near the edge of a boundary, the popper can overflow even if the
-    // reference is not overflowing as well (e.g. virtual elements with no
-    // width or height)
-
-    var arrowLen = within(0, referenceRect[len], arrowRect[len]);
-    var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
-    var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
-    var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
-    var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
-    var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
-    var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
-    var tetherMax = offset + maxOffset - offsetModifierValue;
-    var preventedOffset = within(tether ? math_min(min, tetherMin) : min, offset, tether ? math_max(max, tetherMax) : max);
-    popperOffsets[mainAxis] = preventedOffset;
-    data[mainAxis] = preventedOffset - offset;
-  }
-
-  if (checkAltAxis) {
-    var _offsetModifierState$2;
-
-    var _mainSide = mainAxis === 'x' ? enums_top : enums_left;
-
-    var _altSide = mainAxis === 'x' ? enums_bottom : enums_right;
-
-    var _offset = popperOffsets[altAxis];
-
-    var _len = altAxis === 'y' ? 'height' : 'width';
-
-    var _min = _offset + overflow[_mainSide];
-
-    var _max = _offset - overflow[_altSide];
-
-    var isOriginSide = [enums_top, enums_left].indexOf(basePlacement) !== -1;
-
-    var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
-
-    var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
-
-    var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
-
-    var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
-
-    popperOffsets[altAxis] = _preventedOffset;
-    data[altAxis] = _preventedOffset - _offset;
-  }
-
-  state.modifiersData[name] = data;
-} // eslint-disable-next-line import/no-unused-modules
-
-
-/* harmony default export */ var modifiers_preventOverflow = ({
-  name: 'preventOverflow',
-  enabled: true,
-  phase: 'main',
-  fn: preventOverflow_preventOverflow,
-  requiresIfExists: ['offset']
-});
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/arrow.js
-
-
-
-
-
-
-
-
-
- // eslint-disable-next-line import/no-unused-modules
-
-var arrow_toPaddingObject = function toPaddingObject(padding, state) {
-  padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
-    placement: state.placement
-  })) : padding;
-  return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
-};
-
-function arrow(_ref) {
-  var _state$modifiersData$;
-
-  var state = _ref.state,
-      name = _ref.name,
-      options = _ref.options;
-  var arrowElement = state.elements.arrow;
-  var popperOffsets = state.modifiersData.popperOffsets;
-  var basePlacement = getBasePlacement(state.placement);
-  var axis = getMainAxisFromPlacement(basePlacement);
-  var isVertical = [enums_left, enums_right].indexOf(basePlacement) >= 0;
-  var len = isVertical ? 'height' : 'width';
-
-  if (!arrowElement || !popperOffsets) {
-    return;
-  }
-
-  var paddingObject = arrow_toPaddingObject(options.padding, state);
-  var arrowRect = getLayoutRect(arrowElement);
-  var minProp = axis === 'y' ? enums_top : enums_left;
-  var maxProp = axis === 'y' ? enums_bottom : enums_right;
-  var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
-  var startDiff = popperOffsets[axis] - state.rects.reference[axis];
-  var arrowOffsetParent = getOffsetParent(arrowElement);
-  var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
-  var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
-  // outside of the popper bounds
-
-  var min = paddingObject[minProp];
-  var max = clientSize - arrowRect[len] - paddingObject[maxProp];
-  var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
-  var offset = within(min, center, max); // Prevents breaking syntax highlighting...
-
-  var axisProp = axis;
-  state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
-}
-
-function arrow_effect(_ref2) {
-  var state = _ref2.state,
-      options = _ref2.options;
-  var _options$element = options.element,
-      arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
-
-  if (arrowElement == null) {
-    return;
-  } // CSS selector
-
-
-  if (typeof arrowElement === 'string') {
-    arrowElement = state.elements.popper.querySelector(arrowElement);
-
-    if (!arrowElement) {
-      return;
-    }
-  }
-
-  if (false) {}
-
-  if (!contains(state.elements.popper, arrowElement)) {
-    if (false) {}
-
-    return;
-  }
-
-  state.elements.arrow = arrowElement;
-} // eslint-disable-next-line import/no-unused-modules
-
-
-/* harmony default export */ var modifiers_arrow = ({
-  name: 'arrow',
-  enabled: true,
-  phase: 'main',
-  fn: arrow,
-  effect: arrow_effect,
-  requires: ['popperOffsets'],
-  requiresIfExists: ['preventOverflow']
-});
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/hide.js
-
-
-
-function getSideOffsets(overflow, rect, preventedOffsets) {
-  if (preventedOffsets === void 0) {
-    preventedOffsets = {
-      x: 0,
-      y: 0
-    };
-  }
-
-  return {
-    top: overflow.top - rect.height - preventedOffsets.y,
-    right: overflow.right - rect.width + preventedOffsets.x,
-    bottom: overflow.bottom - rect.height + preventedOffsets.y,
-    left: overflow.left - rect.width - preventedOffsets.x
-  };
-}
-
-function isAnySideFullyClipped(overflow) {
-  return [enums_top, enums_right, enums_bottom, enums_left].some(function (side) {
-    return overflow[side] >= 0;
-  });
-}
-
-function hide_hide(_ref) {
-  var state = _ref.state,
-      name = _ref.name;
-  var referenceRect = state.rects.reference;
-  var popperRect = state.rects.popper;
-  var preventedOffsets = state.modifiersData.preventOverflow;
-  var referenceOverflow = detectOverflow(state, {
-    elementContext: 'reference'
-  });
-  var popperAltOverflow = detectOverflow(state, {
-    altBoundary: true
-  });
-  var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
-  var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
-  var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
-  var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
-  state.modifiersData[name] = {
-    referenceClippingOffsets: referenceClippingOffsets,
-    popperEscapeOffsets: popperEscapeOffsets,
-    isReferenceHidden: isReferenceHidden,
-    hasPopperEscaped: hasPopperEscaped
-  };
-  state.attributes.popper = Object.assign({}, state.attributes.popper, {
-    'data-popper-reference-hidden': isReferenceHidden,
-    'data-popper-escaped': hasPopperEscaped
-  });
-} // eslint-disable-next-line import/no-unused-modules
-
-
-/* harmony default export */ var modifiers_hide = ({
-  name: 'hide',
-  enabled: true,
-  phase: 'main',
-  requiresIfExists: ['preventOverflow'],
-  fn: hide_hide
-});
-// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/popper.js
-
-
-
-
-
-
-
-
-
-
-var popper_defaultModifiers = [eventListeners, modifiers_popperOffsets, modifiers_computeStyles, modifiers_applyStyles, modifiers_offset, modifiers_flip, modifiers_preventOverflow, modifiers_arrow, modifiers_hide];
-var popper_createPopper = /*#__PURE__*/popperGenerator({
-  defaultModifiers: popper_defaultModifiers
-}); // eslint-disable-next-line import/no-unused-modules
-
- // eslint-disable-next-line import/no-unused-modules
-
- // eslint-disable-next-line import/no-unused-modules
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Disclosure/DisclosureState.js
-
-
-
-
-
-
-
-
-function useLastValue(value) {
-  var lastValue = Object(external_React_["useRef"])(null);
-  Object(useIsomorphicEffect["a" /* useIsomorphicEffect */])(function () {
-    lastValue.current = value;
-  }, [value]);
-  return lastValue;
-}
-
-function useDisclosureState(initialState) {
-  if (initialState === void 0) {
-    initialState = {};
-  }
-
-  var _useSealedState = useSealedState(initialState),
-      _useSealedState$visib = _useSealedState.visible,
-      initialVisible = _useSealedState$visib === void 0 ? false : _useSealedState$visib,
-      _useSealedState$anima = _useSealedState.animated,
-      initialAnimated = _useSealedState$anima === void 0 ? false : _useSealedState$anima,
-      sealed = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_useSealedState, ["visible", "animated"]);
-
-  var id = unstable_useIdState(sealed);
-
-  var _React$useState = Object(external_React_["useState"])(initialVisible),
-      visible = _React$useState[0],
-      setVisible = _React$useState[1];
-
-  var _React$useState2 = Object(external_React_["useState"])(initialAnimated),
-      animated = _React$useState2[0],
-      setAnimated = _React$useState2[1];
-
-  var _React$useState3 = Object(external_React_["useState"])(false),
-      animating = _React$useState3[0],
-      setAnimating = _React$useState3[1];
-
-  var lastVisible = useLastValue(visible);
-  var visibleHasChanged = lastVisible.current != null && lastVisible.current !== visible;
-
-  if (animated && !animating && visibleHasChanged) {
-    // Sets animating to true when when visible is updated
-    setAnimating(true);
-  }
-
-  Object(external_React_["useEffect"])(function () {
-    if (typeof animated === "number" && animating) {
-      var timeout = setTimeout(function () {
-        return setAnimating(false);
-      }, animated);
-      return function () {
-        clearTimeout(timeout);
-      };
-    }
-
-    if (animated && animating && "production" === "development") {
-      var _timeout = setTimeout(function () {
-         false ? undefined : void 0;
-      }, 8000);
-
-      return function () {
-        clearTimeout(_timeout);
-      };
-    }
-
-    return function () {};
-  }, [animated, animating]);
-  var show = Object(external_React_["useCallback"])(function () {
-    return setVisible(true);
-  }, []);
-  var hide = Object(external_React_["useCallback"])(function () {
-    return setVisible(false);
-  }, []);
-  var toggle = Object(external_React_["useCallback"])(function () {
-    return setVisible(function (v) {
-      return !v;
-    });
-  }, []);
-  var stopAnimation = Object(external_React_["useCallback"])(function () {
-    return setAnimating(false);
-  }, []);
-  return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, id), {}, {
-    visible: visible,
-    animated: animated,
-    animating: animating,
-    show: show,
-    hide: hide,
-    toggle: toggle,
-    setVisible: setVisible,
-    setAnimated: setAnimated,
-    stopAnimation: stopAnimation
-  });
-}
-
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Dialog/DialogState.js
-
-
-
-
-
-
-
-
-
-function useDialogState(initialState) {
-  if (initialState === void 0) {
-    initialState = {};
-  }
-
-  var _useSealedState = useSealedState(initialState),
-      _useSealedState$modal = _useSealedState.modal,
-      initialModal = _useSealedState$modal === void 0 ? true : _useSealedState$modal,
-      sealed = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_useSealedState, ["modal"]);
-
-  var disclosure = useDisclosureState(sealed);
-
-  var _React$useState = Object(external_React_["useState"])(initialModal),
-      modal = _React$useState[0],
-      setModal = _React$useState[1];
-
-  var disclosureRef = Object(external_React_["useRef"])(null);
-  return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, disclosure), {}, {
-    modal: modal,
-    setModal: setModal,
-    unstable_disclosureRef: disclosureRef
-  });
-}
-
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Popover/PopoverState.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-var isSafari = Object(dom["a" /* isUA */])("Mac") && !Object(dom["a" /* isUA */])("Chrome") && Object(dom["a" /* isUA */])("Safari");
-
-function PopoverState_applyStyles(styles) {
-  return function (prevStyles) {
-    if (styles && !Object(shallowEqual["a" /* shallowEqual */])(prevStyles, styles)) {
-      return styles;
-    }
-
-    return prevStyles;
-  };
-}
-
-function usePopoverState(initialState) {
-  if (initialState === void 0) {
-    initialState = {};
-  }
-
-  var _useSealedState = useSealedState(initialState),
-      _useSealedState$gutte = _useSealedState.gutter,
-      gutter = _useSealedState$gutte === void 0 ? 12 : _useSealedState$gutte,
-      _useSealedState$place = _useSealedState.placement,
-      sealedPlacement = _useSealedState$place === void 0 ? "bottom" : _useSealedState$place,
-      _useSealedState$unsta = _useSealedState.unstable_flip,
-      flip = _useSealedState$unsta === void 0 ? true : _useSealedState$unsta,
-      sealedOffset = _useSealedState.unstable_offset,
-      _useSealedState$unsta2 = _useSealedState.unstable_preventOverflow,
-      preventOverflow = _useSealedState$unsta2 === void 0 ? true : _useSealedState$unsta2,
-      _useSealedState$unsta3 = _useSealedState.unstable_fixed,
-      fixed = _useSealedState$unsta3 === void 0 ? false : _useSealedState$unsta3,
-      _useSealedState$modal = _useSealedState.modal,
-      modal = _useSealedState$modal === void 0 ? false : _useSealedState$modal,
-      sealed = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_useSealedState, ["gutter", "placement", "unstable_flip", "unstable_offset", "unstable_preventOverflow", "unstable_fixed", "modal"]);
-
-  var popper = Object(external_React_["useRef"])(null);
-  var referenceRef = Object(external_React_["useRef"])(null);
-  var popoverRef = Object(external_React_["useRef"])(null);
-  var arrowRef = Object(external_React_["useRef"])(null);
-
-  var _React$useState = Object(external_React_["useState"])(sealedPlacement),
-      originalPlacement = _React$useState[0],
-      place = _React$useState[1];
-
-  var _React$useState2 = Object(external_React_["useState"])(sealedPlacement),
-      placement = _React$useState2[0],
-      setPlacement = _React$useState2[1];
-
-  var _React$useState3 = Object(external_React_["useState"])(sealedOffset || [0, gutter]),
-      offset = _React$useState3[0];
-
-  var _React$useState4 = Object(external_React_["useState"])({
-    position: "fixed",
-    left: "100%",
-    top: "100%"
-  }),
-      popoverStyles = _React$useState4[0],
-      setPopoverStyles = _React$useState4[1];
-
-  var _React$useState5 = Object(external_React_["useState"])({}),
-      arrowStyles = _React$useState5[0],
-      setArrowStyles = _React$useState5[1];
-
-  var dialog = useDialogState(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-    modal: modal
-  }, sealed));
-  var update = Object(external_React_["useCallback"])(function () {
-    if (popper.current) {
-      popper.current.forceUpdate();
-      return true;
-    }
-
-    return false;
-  }, []);
-  var updateState = Object(external_React_["useCallback"])(function (state) {
-    if (state.placement) {
-      setPlacement(state.placement);
-    }
-
-    if (state.styles) {
-      setPopoverStyles(PopoverState_applyStyles(state.styles.popper));
-
-      if (arrowRef.current) {
-        setArrowStyles(PopoverState_applyStyles(state.styles.arrow));
-      }
-    }
-  }, []);
-  Object(useIsomorphicEffect["a" /* useIsomorphicEffect */])(function () {
-    if (referenceRef.current && popoverRef.current) {
-      popper.current = popper_createPopper(referenceRef.current, popoverRef.current, {
-        // https://popper.js.org/docs/v2/constructors/#options
-        placement: originalPlacement,
-        strategy: fixed ? "fixed" : "absolute",
-        // Safari needs styles to be applied in the first render, otherwise
-        // hovering over the popover when it gets visible for the first time
-        // will change its dimensions unexpectedly.
-        onFirstUpdate: isSafari ? updateState : undefined,
-        modifiers: [{
-          // https://popper.js.org/docs/v2/modifiers/event-listeners/
-          name: "eventListeners",
-          enabled: dialog.visible
-        }, {
-          // https://popper.js.org/docs/v2/modifiers/apply-styles/
-          name: "applyStyles",
-          enabled: false
-        }, {
-          // https://popper.js.org/docs/v2/modifiers/flip/
-          name: "flip",
-          enabled: flip,
-          options: {
-            padding: 8
-          }
-        }, {
-          // https://popper.js.org/docs/v2/modifiers/offset/
-          name: "offset",
-          options: {
-            offset: offset
-          }
-        }, {
-          // https://popper.js.org/docs/v2/modifiers/prevent-overflow/
-          name: "preventOverflow",
-          enabled: preventOverflow,
-          options: {
-            tetherOffset: function tetherOffset() {
-              var _arrowRef$current;
-
-              return ((_arrowRef$current = arrowRef.current) === null || _arrowRef$current === void 0 ? void 0 : _arrowRef$current.clientWidth) || 0;
-            }
-          }
-        }, {
-          // https://popper.js.org/docs/v2/modifiers/arrow/
-          name: "arrow",
-          enabled: !!arrowRef.current,
-          options: {
-            element: arrowRef.current
-          }
-        }, {
-          // https://popper.js.org/docs/v2/modifiers/#custom-modifiers
-          name: "updateState",
-          phase: "write",
-          requires: ["computeStyles"],
-          enabled: dialog.visible && "production" !== "test",
-          fn: function fn(_ref) {
-            var state = _ref.state;
-            return updateState(state);
-          }
-        }]
-      });
-    }
-
-    return function () {
-      if (popper.current) {
-        popper.current.destroy();
-        popper.current = null;
-      }
-    };
-  }, [originalPlacement, fixed, dialog.visible, flip, offset, preventOverflow]); // Ensure that the popover will be correctly positioned with an additional
-  // update.
-
-  Object(external_React_["useEffect"])(function () {
-    if (!dialog.visible) return undefined;
-    var id = window.requestAnimationFrame(function () {
-      var _popper$current;
-
-      (_popper$current = popper.current) === null || _popper$current === void 0 ? void 0 : _popper$current.forceUpdate();
-    });
-    return function () {
-      window.cancelAnimationFrame(id);
-    };
-  }, [dialog.visible]);
-  return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, dialog), {}, {
-    unstable_referenceRef: referenceRef,
-    unstable_popoverRef: popoverRef,
-    unstable_arrowRef: arrowRef,
-    unstable_popoverStyles: popoverStyles,
-    unstable_arrowStyles: arrowStyles,
-    unstable_update: update,
-    unstable_originalPlacement: originalPlacement,
-    placement: placement,
-    place: place
-  });
-}
-
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/__globalState-300469f0.js
-var globalState = {
-  currentTooltipId: null,
-  listeners: new Set(),
-  subscribe: function subscribe(listener) {
-    var _this = this;
-
-    this.listeners.add(listener);
-    return function () {
-      _this.listeners.delete(listener);
-    };
-  },
-  show: function show(id) {
-    this.currentTooltipId = id;
-    this.listeners.forEach(function (listener) {
-      return listener(id);
-    });
-  },
-  hide: function hide(id) {
-    if (this.currentTooltipId === id) {
-      this.currentTooltipId = null;
-      this.listeners.forEach(function (listener) {
-        return listener(null);
-      });
-    }
-  }
-};
-
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Tooltip/TooltipState.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-function useTooltipState(initialState) {
-  if (initialState === void 0) {
-    initialState = {};
-  }
-
-  var _useSealedState = useSealedState(initialState),
-      _useSealedState$place = _useSealedState.placement,
-      placement = _useSealedState$place === void 0 ? "top" : _useSealedState$place,
-      _useSealedState$unsta = _useSealedState.unstable_timeout,
-      initialTimeout = _useSealedState$unsta === void 0 ? 0 : _useSealedState$unsta,
-      sealed = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_useSealedState, ["placement", "unstable_timeout"]);
-
-  var _React$useState = Object(external_React_["useState"])(initialTimeout),
-      timeout = _React$useState[0],
-      setTimeout = _React$useState[1];
-
-  var showTimeout = Object(external_React_["useRef"])(null);
-  var hideTimeout = Object(external_React_["useRef"])(null);
-
-  var _usePopoverState = usePopoverState(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, sealed), {}, {
-    placement: placement
-  })),
-      modal = _usePopoverState.modal,
-      setModal = _usePopoverState.setModal,
-      popover = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_usePopoverState, ["modal", "setModal"]);
-
-  var clearTimeouts = Object(external_React_["useCallback"])(function () {
-    if (showTimeout.current !== null) {
-      window.clearTimeout(showTimeout.current);
-    }
-
-    if (hideTimeout.current !== null) {
-      window.clearTimeout(hideTimeout.current);
-    }
-  }, []);
-  var hide = Object(external_React_["useCallback"])(function () {
-    clearTimeouts();
-    popover.hide(); // Let's give some time so people can move from a reference to another
-    // and still show tooltips immediately
-
-    hideTimeout.current = window.setTimeout(function () {
-      globalState.hide(popover.baseId);
-    }, timeout);
-  }, [clearTimeouts, popover.hide, timeout, popover.baseId]);
-  var show = Object(external_React_["useCallback"])(function () {
-    clearTimeouts();
-
-    if (!timeout || globalState.currentTooltipId) {
-      // If there's no timeout or a tooltip visible already, we can show this
-      // immediately
-      globalState.show(popover.baseId);
-      popover.show();
-    } else {
-      // There may be a reference with focus whose tooltip is still not visible
-      // In this case, we want to update it before it gets shown.
-      globalState.show(null); // Otherwise, wait a little bit to show the tooltip
-
-      showTimeout.current = window.setTimeout(function () {
-        globalState.show(popover.baseId);
-        popover.show();
-      }, timeout);
-    }
-  }, [clearTimeouts, timeout, popover.show, popover.baseId]);
-  Object(external_React_["useEffect"])(function () {
-    return globalState.subscribe(function (id) {
-      if (id !== popover.baseId) {
-        clearTimeouts();
-
-        if (popover.visible) {
-          // Make sure there will be only one tooltip visible
-          popover.hide();
-        }
-      }
-    });
-  }, [popover.baseId, clearTimeouts, popover.visible, popover.hide]);
-  Object(external_React_["useEffect"])(function () {
-    return function () {
-      clearTimeouts();
-      globalState.hide(popover.baseId);
-    };
-  }, [clearTimeouts, popover.baseId]);
-  return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, popover), {}, {
-    hide: hide,
-    show: show,
-    unstable_timeout: timeout,
-    unstable_setTimeout: setTimeout
-  });
-}
-
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-d101cb3b.js
-// Automatically generated
-var TOOLTIP_STATE_KEYS = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation", "unstable_disclosureRef", "unstable_referenceRef", "unstable_popoverRef", "unstable_arrowRef", "unstable_popoverStyles", "unstable_arrowStyles", "unstable_originalPlacement", "unstable_update", "placement", "place", "unstable_timeout", "unstable_setTimeout"];
-var TOOLTIP_KEYS = [].concat(TOOLTIP_STATE_KEYS, ["unstable_portal"]);
-var TOOLTIP_ARROW_KEYS = TOOLTIP_STATE_KEYS;
-var TOOLTIP_REFERENCE_KEYS = TOOLTIP_ARROW_KEYS;
-
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Tooltip/TooltipReference.js
-
-
-
-
-
-
-
-
-
-
-var useTooltipReference = Object(createHook["a" /* createHook */])({
-  name: "TooltipReference",
-  compose: Role["a" /* useRole */],
-  keys: TOOLTIP_REFERENCE_KEYS,
-  useProps: function useProps(options, _ref) {
-    var htmlRef = _ref.ref,
-        htmlOnFocus = _ref.onFocus,
-        htmlOnBlur = _ref.onBlur,
-        htmlOnMouseEnter = _ref.onMouseEnter,
-        htmlOnMouseLeave = _ref.onMouseLeave,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["ref", "onFocus", "onBlur", "onMouseEnter", "onMouseLeave"]);
-
-    var onFocusRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnFocus);
-    var onBlurRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnBlur);
-    var onMouseEnterRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnMouseEnter);
-    var onMouseLeaveRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnMouseLeave);
-    var onFocus = Object(external_React_["useCallback"])(function (event) {
-      var _onFocusRef$current, _options$show;
-
-      (_onFocusRef$current = onFocusRef.current) === null || _onFocusRef$current === void 0 ? void 0 : _onFocusRef$current.call(onFocusRef, event);
-      if (event.defaultPrevented) return;
-      (_options$show = options.show) === null || _options$show === void 0 ? void 0 : _options$show.call(options);
-    }, [options.show]);
-    var onBlur = Object(external_React_["useCallback"])(function (event) {
-      var _onBlurRef$current, _options$hide;
-
-      (_onBlurRef$current = onBlurRef.current) === null || _onBlurRef$current === void 0 ? void 0 : _onBlurRef$current.call(onBlurRef, event);
-      if (event.defaultPrevented) return;
-      (_options$hide = options.hide) === null || _options$hide === void 0 ? void 0 : _options$hide.call(options);
-    }, [options.hide]);
-    var onMouseEnter = Object(external_React_["useCallback"])(function (event) {
-      var _onMouseEnterRef$curr, _options$show2;
-
-      (_onMouseEnterRef$curr = onMouseEnterRef.current) === null || _onMouseEnterRef$curr === void 0 ? void 0 : _onMouseEnterRef$curr.call(onMouseEnterRef, event);
-      if (event.defaultPrevented) return;
-      (_options$show2 = options.show) === null || _options$show2 === void 0 ? void 0 : _options$show2.call(options);
-    }, [options.show]);
-    var onMouseLeave = Object(external_React_["useCallback"])(function (event) {
-      var _onMouseLeaveRef$curr, _options$hide2;
-
-      (_onMouseLeaveRef$curr = onMouseLeaveRef.current) === null || _onMouseLeaveRef$curr === void 0 ? void 0 : _onMouseLeaveRef$curr.call(onMouseLeaveRef, event);
-      if (event.defaultPrevented) return;
-      (_options$hide2 = options.hide) === null || _options$hide2 === void 0 ? void 0 : _options$hide2.call(options);
-    }, [options.hide]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(options.unstable_referenceRef, htmlRef),
-      tabIndex: 0,
-      onFocus: onFocus,
-      onBlur: onBlur,
-      onMouseEnter: onMouseEnter,
-      onMouseLeave: onMouseLeave,
-      "aria-describedby": options.baseId
-    }, htmlProps);
-  }
-});
-var TooltipReference = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  useHook: useTooltipReference
-});
-
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/tooltip/context.js
-/**
- * WordPress dependencies
- */
-
-/**
- * @type {import('react').Context<{ tooltip?: import('reakit').TooltipState }>}
- */
-
-const TooltipContext = Object(external_wp_element_["createContext"])({});
-const useTooltipContext = () => Object(external_wp_element_["useContext"])(TooltipContext);
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-e6a5cfbe.js
-// Automatically generated
-var DISCLOSURE_STATE_KEYS = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation"];
-var DISCLOSURE_KEYS = DISCLOSURE_STATE_KEYS;
-var DISCLOSURE_CONTENT_KEYS = DISCLOSURE_KEYS;
-
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Disclosure/DisclosureContent.js
-
-
-
-
-
-
-
-
-
-
-var useDisclosureContent = Object(createHook["a" /* createHook */])({
-  name: "DisclosureContent",
-  compose: Role["a" /* useRole */],
-  keys: DISCLOSURE_CONTENT_KEYS,
-  useProps: function useProps(options, _ref) {
-    var htmlOnTransitionEnd = _ref.onTransitionEnd,
-        htmlOnAnimationEnd = _ref.onAnimationEnd,
-        htmlStyle = _ref.style,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["onTransitionEnd", "onAnimationEnd", "style"]);
-
-    var animating = options.animated && options.animating;
-
-    var _React$useState = Object(external_React_["useState"])(null),
-        transition = _React$useState[0],
-        setTransition = _React$useState[1];
-
-    var hidden = !options.visible && !animating;
-    var style = hidden ? Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      display: "none"
-    }, htmlStyle) : htmlStyle;
-    var onTransitionEndRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnTransitionEnd);
-    var onAnimationEndRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnAnimationEnd);
-    var raf = Object(external_React_["useRef"])(0);
-    Object(external_React_["useEffect"])(function () {
-      if (!options.animated) return undefined; // Double RAF is needed so the browser has enough time to paint the
-      // default styles before processing the `data-enter` attribute. Otherwise
-      // it wouldn't be considered a transition.
-      // See https://github.com/reakit/reakit/issues/643
-
-      raf.current = window.requestAnimationFrame(function () {
-        raf.current = window.requestAnimationFrame(function () {
-          if (options.visible) {
-            setTransition("enter");
-          } else if (animating) {
-            setTransition("leave");
-          } else {
-            setTransition(null);
-          }
-        });
-      });
-      return function () {
-        return window.cancelAnimationFrame(raf.current);
-      };
-    }, [options.animated, options.visible, animating]);
-    var onEnd = Object(external_React_["useCallback"])(function (event) {
-      if (!Object(isSelfTarget["a" /* isSelfTarget */])(event)) return;
-      if (!animating) return; // Ignores number animated
-
-      if (options.animated === true) {
-        var _options$stopAnimatio;
-
-        (_options$stopAnimatio = options.stopAnimation) === null || _options$stopAnimatio === void 0 ? void 0 : _options$stopAnimatio.call(options);
-      }
-    }, [options.animated, animating, options.stopAnimation]);
-    var onTransitionEnd = Object(external_React_["useCallback"])(function (event) {
-      var _onTransitionEndRef$c;
-
-      (_onTransitionEndRef$c = onTransitionEndRef.current) === null || _onTransitionEndRef$c === void 0 ? void 0 : _onTransitionEndRef$c.call(onTransitionEndRef, event);
-      onEnd(event);
-    }, [onEnd]);
-    var onAnimationEnd = Object(external_React_["useCallback"])(function (event) {
-      var _onAnimationEndRef$cu;
-
-      (_onAnimationEndRef$cu = onAnimationEndRef.current) === null || _onAnimationEndRef$cu === void 0 ? void 0 : _onAnimationEndRef$cu.call(onAnimationEndRef, event);
-      onEnd(event);
-    }, [onEnd]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      id: options.baseId,
-      "data-enter": transition === "enter" ? "" : undefined,
-      "data-leave": transition === "leave" ? "" : undefined,
-      onTransitionEnd: onTransitionEnd,
-      onAnimationEnd: onAnimationEnd,
-      hidden: hidden,
-      style: style
-    }, htmlProps);
-  }
-});
-var DisclosureContent = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  useHook: useDisclosureContent
-});
-
-
-
-// EXTERNAL MODULE: external "ReactDOM"
-var external_ReactDOM_ = __webpack_require__("faye");
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Portal/Portal.js
-
-
-
-
-
-function getBodyElement() {
-  return canUseDOM["a" /* canUseDOM */] ? document.body : null;
-}
-
-var PortalContext = /*#__PURE__*/Object(external_React_["createContext"])(getBodyElement());
-function Portal(_ref) {
-  var children = _ref.children;
-  // if it's a nested portal, context is the parent portal
-  // otherwise it's document.body
-  // https://github.com/reakit/reakit/issues/513
-  var context = Object(external_React_["useContext"])(PortalContext) || getBodyElement();
-
-  var _React$useState = Object(external_React_["useState"])(function () {
-    if (canUseDOM["a" /* canUseDOM */]) {
-      var element = document.createElement("div");
-      element.className = Portal.__className;
-      return element;
-    } // ssr
-
-
-    return null;
-  }),
-      hostNode = _React$useState[0];
-
-  Object(useIsomorphicEffect["a" /* useIsomorphicEffect */])(function () {
-    if (!hostNode || !context) return undefined;
-    context.appendChild(hostNode);
-    return function () {
-      context.removeChild(hostNode);
-    };
-  }, [hostNode, context]);
-
-  if (hostNode) {
-    return /*#__PURE__*/Object(external_ReactDOM_["createPortal"])( /*#__PURE__*/Object(external_React_["createElement"])(PortalContext.Provider, {
-      value: hostNode
-    }, children), hostNode);
-  } // ssr
-
-
-  return null;
-}
-Portal.__className = "__reakit-portal";
-Portal.__selector = "." + Portal.__className;
-
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Tooltip/Tooltip.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-function globallyHideTooltipOnEscape(event) {
-  if (event.defaultPrevented) return;
-
-  if (event.key === "Escape") {
-    globalState.show(null);
-  }
-}
-
-var useTooltip = Object(createHook["a" /* createHook */])({
-  name: "Tooltip",
-  compose: useDisclosureContent,
-  keys: TOOLTIP_KEYS,
-  useOptions: function useOptions(_ref) {
-    var _ref$unstable_portal = _ref.unstable_portal,
-        unstable_portal = _ref$unstable_portal === void 0 ? true : _ref$unstable_portal,
-        options = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["unstable_portal"]);
-
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      unstable_portal: unstable_portal
-    }, options);
-  },
-  useProps: function useProps(options, _ref2) {
-    var htmlRef = _ref2.ref,
-        htmlStyle = _ref2.style,
-        htmlWrapElement = _ref2.wrapElement,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref2, ["ref", "style", "wrapElement"]);
-
-    Object(external_React_["useEffect"])(function () {
-      var _options$unstable_pop;
-
-      var document = Object(getDocument["a" /* getDocument */])((_options$unstable_pop = options.unstable_popoverRef) === null || _options$unstable_pop === void 0 ? void 0 : _options$unstable_pop.current);
-      document.addEventListener("keydown", globallyHideTooltipOnEscape);
-    }, []);
-    var wrapElement = Object(external_React_["useCallback"])(function (element) {
-      if (options.unstable_portal) {
-        element = /*#__PURE__*/Object(external_React_["createElement"])(Portal, null, element);
-      }
-
-      if (htmlWrapElement) {
-        return htmlWrapElement(element);
-      }
-
-      return element;
-    }, [options.unstable_portal, htmlWrapElement]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(options.unstable_popoverRef, htmlRef),
-      role: "tooltip",
-      style: Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, options.unstable_popoverStyles), {}, {
-        pointerEvents: "none"
-      }, htmlStyle),
-      wrapElement: wrapElement
-    }, htmlProps);
-  }
-});
-var Tooltip_Tooltip = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  memo: true,
-  useHook: useTooltip
-});
-
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/shortcut/component.js
-
-
-
-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
-
-/**
- * Internal dependencies
- */
-
-
-
-function Shortcut(props, forwardedRef) {
-  const {
-    as: asProp = 'span',
-    shortcut,
-    className,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Shortcut');
-
-  if (!shortcut) {
-    return null;
-  }
-
-  let displayText;
-  let ariaLabel;
-
-  if (typeof shortcut === 'string') {
-    displayText = shortcut;
-  } else {
-    displayText = shortcut.display;
-    ariaLabel = shortcut.ariaLabel;
-  }
-
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({
-    as: asProp,
-    className: className,
-    "aria-label": ariaLabel,
-    ref: forwardedRef
-  }, otherProps), displayText);
-}
-
-const ConnectedShortcut = Object(context_connect["a" /* contextConnect */])(Shortcut, 'Shortcut');
-/* harmony default export */ var shortcut_component = (ConnectedShortcut);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/z-index.js
-const Flyout = 10000;
-const z_index_Tooltip = 1000002;
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/tooltip/styles.js
-
-
-function tooltip_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
-
-/**
- * External dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-const TooltipContent = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("z-index:", z_index_Tooltip, ";box-sizing:border-box;opacity:0;outline:none;transform-origin:top center;transition:opacity ", config_values.transitionDurationFastest, " ease;&[data-enter]{opacity:1;}" + ( true ? "" : undefined),  true ? "" : undefined);
-const TooltipPopoverView = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e7tfjmw1"
-} : undefined)("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-shadow:0 0 0 1px rgba( 255, 255, 255, 0.04 );color:", COLORS.white, ";padding:4px 8px;" + ( true ? "" : undefined));
-const noOutline =  true ? {
-  name: "12mkfdx",
-  styles: "outline:none"
-} : undefined;
-const TooltipShortcut = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(shortcut_component,  true ? {
-  target: "e7tfjmw0"
-} : undefined)("display:inline-block;margin-left:", space(1), ";" + ( true ? "" : undefined));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/tooltip/content.js
-
-
-
-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-const {
-  TooltipPopoverView: content_TooltipPopoverView
-} = tooltip_styles_namespaceObject;
-/**
- *
- * @param {import('../context').WordPressComponentProps<import('./types').ContentProps, 'div'>} props
- * @param {import('react').Ref<any>}                                                            forwardedRef
- */
-
-function content_TooltipContent(props, forwardedRef) {
-  const {
-    children,
-    className,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'TooltipContent');
-  const {
-    tooltip
-  } = useTooltipContext();
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = cx(TooltipContent, className);
-  return Object(external_wp_element_["createElement"])(Tooltip_Tooltip, Object(esm_extends["a" /* default */])({
-    as: view_component["a" /* default */]
-  }, otherProps, tooltip, {
-    className: classes,
-    ref: forwardedRef
-  }), Object(external_wp_element_["createElement"])(content_TooltipPopoverView, null, children));
-}
-
-/* harmony default export */ var tooltip_content = (Object(context_connect["a" /* contextConnect */])(content_TooltipContent, 'TooltipContent'));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/tooltip/component.js
-
-
-
-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-/**
- * @param {import('../context').WordPressComponentProps<import('./types').Props, 'div'>} props
- * @param {import('react').Ref<any>}                                                     forwardedRef
- */
-
-function component_Tooltip(props, forwardedRef) {
-  const {
-    animated = true,
-    animationDuration = 160,
-    baseId,
-    children,
-    content,
-    focusable = true,
-    gutter = 4,
-    id,
-    modal = true,
-    placement,
-    visible = false,
-    shortcut,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Tooltip');
-  const tooltip = useTooltipState({
-    animated: animated ? animationDuration : undefined,
-    baseId: baseId || id,
-    gutter,
-    placement,
-    visible,
-    ...otherProps
-  });
-  const contextProps = Object(external_wp_element_["useMemo"])(() => ({
-    tooltip
-  }), [tooltip]);
-  return Object(external_wp_element_["createElement"])(TooltipContext.Provider, {
-    value: contextProps
-  }, content && Object(external_wp_element_["createElement"])(tooltip_content, {
-    unstable_portal: modal,
-    ref: forwardedRef
-  }, content, shortcut && Object(external_wp_element_["createElement"])(TooltipShortcut, {
-    shortcut: shortcut
-  })), children && Object(external_wp_element_["createElement"])(TooltipReference, Object(esm_extends["a" /* default */])({}, tooltip, children.props, {
-    // @ts-ignore If ref doesn't exist that's fine with us, it'll just be undefined, but it can exist on ReactElement and there's no reason to try to scope this (it'll just overcomplicate things)
-    ref: children === null || children === void 0 ? void 0 : children.ref
-  }), referenceProps => {
-    if (!focusable) {
-      referenceProps.tabIndex = undefined;
-    }
-
-    return Object(external_wp_element_["cloneElement"])(children, referenceProps);
-  }));
-}
-/**
- * `Tooltip` is a component that provides context for a user interface element.
- *
- * @example
- * ```jsx
- * import { Tooltip, Text } from `@wordpress/components/ui`;
- *
- * function Example() {
- * 	return (
- * 		<Tooltip content="Code is Poetry">
- * 			<Text>WordPress.org</Text>
- * 		</Tooltip>
- * 	)
- * }
- * ```
- */
-
-
-const ConnectedTooltip = Object(context_connect["a" /* contextConnect */])(component_Tooltip, 'Tooltip');
-/* harmony default export */ var tooltip_component = (ConnectedTooltip);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/color-display.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */



+var elementDragControls = new WeakMap();
 /**
- * Internal dependencies
+ *
  */
-
-
-
-
-
-
-const ValueDisplay = _ref => {
-  let {
-    values
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, values.map(_ref2 => {
-    let [value, abbreviation] = _ref2;
-    return Object(external_wp_element_["createElement"])(flex_item_component, {
-      key: abbreviation,
-      isBlock: true,
-      display: "flex"
-    }, Object(external_wp_element_["createElement"])(text_component, {
-      color: "blue"
-    }, abbreviation), Object(external_wp_element_["createElement"])(text_component, null, value));
-  }));
-};
-
-const HslDisplay = _ref3 => {
-  let {
-    color,
-    enableAlpha
-  } = _ref3;
-  const {
-    h,
-    s,
-    l,
-    a
-  } = color.toHsl();
-  const values = [[Math.floor(h), 'H'], [Math.round(s * 100), 'S'], [Math.round(l * 100), 'L']];
-
-  if (enableAlpha) {
-    values.push([Math.round(a * 100), 'A']);
-  }
-
-  return Object(external_wp_element_["createElement"])(ValueDisplay, {
-    values: values
-  });
-};
-
-const RgbDisplay = _ref4 => {
-  let {
-    color,
-    enableAlpha
-  } = _ref4;
-  const {
-    r,
-    g,
-    b,
-    a
-  } = color.toRgb();
-  const values = [[r, 'R'], [g, 'G'], [b, 'B']];
-
-  if (enableAlpha) {
-    values.push([Math.round(a * 100), 'A']);
-  }
-
-  return Object(external_wp_element_["createElement"])(ValueDisplay, {
-    values: values
-  });
-};
-
-const HexDisplay = _ref5 => {
-  let {
-    color
-  } = _ref5;
-  const colorWithoutHash = color.toHex().slice(1).toUpperCase();
-  return Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_element_["createElement"])(text_component, {
-    color: "blue"
-  }, "#"), Object(external_wp_element_["createElement"])(text_component, null, colorWithoutHash));
-};
-
-const getComponent = colorType => {
-  switch (colorType) {
-    case 'hsl':
-      return HslDisplay;
-
-    case 'rgb':
-      return RgbDisplay;
-
-    default:
-    case 'hex':
-      return HexDisplay;
-  }
-};
-
-const ColorDisplay = _ref6 => {
-  let {
-    color,
-    colorType,
-    enableAlpha
-  } = _ref6;
-  const [copiedColor, setCopiedColor] = Object(external_wp_element_["useState"])(null);
-  const copyTimer = Object(external_wp_element_["useRef"])();
-  const props = {
-    color,
-    enableAlpha
-  };
-  const Component = getComponent(colorType);
-  const copyRef = Object(external_wp_compose_["useCopyToClipboard"])(() => {
-    switch (colorType) {
-      case 'hsl':
-        {
-          return color.toHslString();
+var lastPointerEvent;
+var VisualElementDragControls = /** @class */ (function () {
+    function VisualElementDragControls(_a) {
+        var visualElement = _a.visualElement;
+        /**
+         * Track whether we're currently dragging.
+         *
+         * @internal
+         */
+        this.isDragging = false;
+        /**
+         * The current direction of drag, or `null` if both.
+         *
+         * @internal
+         */
+        this.currentDirection = null;
+        /**
+         * The permitted boundaries of travel, in pixels.
+         *
+         * @internal
+         */
+        this.constraints = false;
+        /**
+         * The per-axis resolved elastic values.
+         *
+         * @internal
+         */
+        this.elastic = axisBox();
+        /**
+         * A reference to the host component's latest props.
+         *
+         * @internal
+         */
+        this.props = {};
+        /**
+         * @internal
+         */
+        this.hasMutatedConstraints = false;
+        /**
+         * Track the initial position of the cursor relative to the dragging element
+         * when dragging starts as a value of 0-1 on each axis. We then use this to calculate
+         * an ideal bounding box for the VisualElement renderer to project into every frame.
+         *
+         * @internal
+         */
+        this.cursorProgress = {
+            x: 0.5,
+            y: 0.5,
+        };
+        // When updating _dragX, or _dragY instead of the VisualElement,
+        // persist their values between drag gestures.
+        this.originPoint = {};
+        // This is a reference to the global drag gesture lock, ensuring only one component
+        // can "capture" the drag of one or both axes.
+        // TODO: Look into moving this into pansession?
+        this.openGlobalLock = null;
+        /**
+         * @internal
+         */
+        this.panSession = null;
+        this.visualElement = visualElement;
+        this.visualElement.enableLayoutProjection();
+        elementDragControls.set(visualElement, this);
+    }
+    /**
+     * Instantiate a PanSession for the drag gesture
+     *
+     * @public
+     */
+    VisualElementDragControls.prototype.start = function (originEvent, _a) {
+        var _this = this;
+        var _b = _a === void 0 ? {} : _a, _c = _b.snapToCursor, snapToCursor = _c === void 0 ? false : _c, cursorProgress = _b.cursorProgress;
+        var onSessionStart = function (event) {
+            var _a;
+            // Stop any animations on both axis values immediately. This allows the user to throw and catch
+            // the component.
+            _this.stopMotion();
+            /**
+             * Save the initial point. We'll use this to calculate the pointer's position rather
+             * than the one we receive when the gesture actually starts. By then, the pointer will
+             * have already moved, and the perception will be of the pointer "slipping" across the element
+             */
+            var initialPoint = getViewportPointFromEvent(event).point;
+            (_a = _this.cancelLayout) === null || _a === void 0 ? void 0 : _a.call(_this);
+            _this.cancelLayout = batchLayout(function (read, write) {
+                var ancestors = collectProjectingAncestors(_this.visualElement);
+                var children = collectProjectingChildren(_this.visualElement);
+                var tree = tslib_es6_spreadArray(tslib_es6_spreadArray([], tslib_es6_read(ancestors)), tslib_es6_read(children));
+                var hasManuallySetCursorOrigin = false;
+                /**
+                 * Apply a simple lock to the projection target. This ensures no animations
+                 * can run on the projection box while this lock is active.
+                 */
+                _this.isLayoutDrag() && _this.visualElement.lockProjectionTarget();
+                write(function () {
+                    tree.forEach(function (element) { return element.resetTransform(); });
+                });
+                read(function () {
+                    updateLayoutMeasurement(_this.visualElement);
+                    children.forEach(updateLayoutMeasurement);
+                });
+                write(function () {
+                    tree.forEach(function (element) { return element.restoreTransform(); });
+                    if (snapToCursor) {
+                        hasManuallySetCursorOrigin = _this.snapToCursor(initialPoint);
+                    }
+                });
+                read(function () {
+                    var isRelativeDrag = Boolean(_this.getAxisMotionValue("x") && !_this.isExternalDrag());
+                    if (!isRelativeDrag) {
+                        _this.visualElement.rebaseProjectionTarget(true, _this.visualElement.measureViewportBox(false));
+                    }
+                    _this.visualElement.scheduleUpdateLayoutProjection();
+                    /**
+                     * When dragging starts, we want to find where the cursor is relative to the bounding box
+                     * of the element. Every frame, we calculate a new bounding box using this relative position
+                     * and let the visualElement renderer figure out how to reproject the element into this bounding
+                     * box.
+                     *
+                     * By doing it this way, rather than applying an x/y transform directly to the element,
+                     * we can ensure the component always visually sticks to the cursor as we'd expect, even
+                     * if the DOM element itself changes layout as a result of React updates the user might
+                     * make based on the drag position.
+                     */
+                    var projection = _this.visualElement.projection;
+                    eachAxis(function (axis) {
+                        if (!hasManuallySetCursorOrigin) {
+                            var _a = projection.target[axis], min = _a.min, max = _a.max;
+                            _this.cursorProgress[axis] = cursorProgress
+                                ? cursorProgress[axis]
+                                : progress(min, max, initialPoint[axis]);
+                        }
+                        /**
+                         * If we have external drag MotionValues, record their origin point. On pointermove
+                         * we'll apply the pan gesture offset directly to this value.
+                         */
+                        var axisValue = _this.getAxisMotionValue(axis);
+                        if (axisValue) {
+                            _this.originPoint[axis] = axisValue.get();
+                        }
+                    });
+                });
+                write(function () {
+                    flushSync.update();
+                    flushSync.preRender();
+                    flushSync.render();
+                    flushSync.postRender();
+                });
+                read(function () { return _this.resolveDragConstraints(); });
+            });
+        };
+        var onStart = function (event, info) {
+            var _a, _b, _c;
+            // Attempt to grab the global drag gesture lock - maybe make this part of PanSession
+            var _d = _this.props, drag = _d.drag, dragPropagation = _d.dragPropagation;
+            if (drag && !dragPropagation) {
+                if (_this.openGlobalLock)
+                    _this.openGlobalLock();
+                _this.openGlobalLock = getGlobalLock(drag);
+                // If we don 't have the lock, don't start dragging
+                if (!_this.openGlobalLock)
+                    return;
+            }
+            flushLayout();
+            // Set current drag status
+            _this.isDragging = true;
+            _this.currentDirection = null;
+            // Fire onDragStart event
+            (_b = (_a = _this.props).onDragStart) === null || _b === void 0 ? void 0 : _b.call(_a, event, info);
+            (_c = _this.visualElement.animationState) === null || _c === void 0 ? void 0 : _c.setActive(AnimationType.Drag, true);
+        };
+        var onMove = function (event, info) {
+            var _a, _b, _c, _d;
+            var _e = _this.props, dragPropagation = _e.dragPropagation, dragDirectionLock = _e.dragDirectionLock;
+            // If we didn't successfully receive the gesture lock, early return.
+            if (!dragPropagation && !_this.openGlobalLock)
+                return;
+            var offset = info.offset;
+            // Attempt to detect drag direction if directionLock is true
+            if (dragDirectionLock && _this.currentDirection === null) {
+                _this.currentDirection = getCurrentDirection(offset);
+                // If we've successfully set a direction, notify listener
+                if (_this.currentDirection !== null) {
+                    (_b = (_a = _this.props).onDirectionLock) === null || _b === void 0 ? void 0 : _b.call(_a, _this.currentDirection);
+                }
+                return;
+            }
+            // Update each point with the latest position
+            _this.updateAxis("x", info.point, offset);
+            _this.updateAxis("y", info.point, offset);
+            // Fire onDrag event
+            (_d = (_c = _this.props).onDrag) === null || _d === void 0 ? void 0 : _d.call(_c, event, info);
+            // Update the last pointer event
+            lastPointerEvent = event;
+        };
+        var onSessionEnd = function (event, info) {
+            return _this.stop(event, info);
+        };
+        var transformPagePoint = this.props.transformPagePoint;
+        this.panSession = new PanSession(originEvent, {
+            onSessionStart: onSessionStart,
+            onStart: onStart,
+            onMove: onMove,
+            onSessionEnd: onSessionEnd,
+        }, { transformPagePoint: transformPagePoint });
+    };
+    VisualElementDragControls.prototype.resolveDragConstraints = function () {
+        var _this = this;
+        var _a = this.props, dragConstraints = _a.dragConstraints, dragElastic = _a.dragElastic;
+        var layout = this.visualElement.getLayoutState().layoutCorrected;
+        if (dragConstraints) {
+            this.constraints = is_ref_object_isRefObject(dragConstraints)
+                ? this.resolveRefConstraints(layout, dragConstraints)
+                : calcRelativeConstraints(layout, dragConstraints);
         }
-
-      case 'rgb':
-        {
-          return color.toRgbString();
+        else {
+            this.constraints = false;
         }
-
-      default:
-      case 'hex':
-        {
-          return color.toHex();
+        this.elastic = resolveDragElastic(dragElastic);
+        /**
+         * If we're outputting to external MotionValues, we want to rebase the measured constraints
+         * from viewport-relative to component-relative.
+         */
+        if (this.constraints && !this.hasMutatedConstraints) {
+            eachAxis(function (axis) {
+                if (_this.getAxisMotionValue(axis)) {
+                    _this.constraints[axis] = rebaseAxisConstraints(layout[axis], _this.constraints[axis]);
+                }
+            });
+        }
+    };
+    VisualElementDragControls.prototype.resolveRefConstraints = function (layoutBox, constraints) {
+        var _a = this.props, onMeasureDragConstraints = _a.onMeasureDragConstraints, transformPagePoint = _a.transformPagePoint;
+        var constraintsElement = constraints.current;
+        invariant(constraintsElement !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");
+        this.constraintsBox = getBoundingBox(constraintsElement, transformPagePoint);
+        var measuredConstraints = calcViewportConstraints(layoutBox, this.constraintsBox);
+        /**
+         * If there's an onMeasureDragConstraints listener we call it and
+         * if different constraints are returned, set constraints to that
+         */
+        if (onMeasureDragConstraints) {
+            var userConstraints = onMeasureDragConstraints(convertAxisBoxToBoundingBox(measuredConstraints));
+            this.hasMutatedConstraints = !!userConstraints;
+            if (userConstraints) {
+                measuredConstraints = convertBoundingBoxToAxisBox(userConstraints);
+            }
+        }
+        return measuredConstraints;
+    };
+    VisualElementDragControls.prototype.cancelDrag = function () {
+        var _a, _b;
+        this.visualElement.unlockProjectionTarget();
+        (_a = this.cancelLayout) === null || _a === void 0 ? void 0 : _a.call(this);
+        this.isDragging = false;
+        this.panSession && this.panSession.end();
+        this.panSession = null;
+        if (!this.props.dragPropagation && this.openGlobalLock) {
+            this.openGlobalLock();
+            this.openGlobalLock = null;
+        }
+        (_b = this.visualElement.animationState) === null || _b === void 0 ? void 0 : _b.setActive(AnimationType.Drag, false);
+    };
+    VisualElementDragControls.prototype.stop = function (event, info) {
+        var _a, _b, _c;
+        (_a = this.panSession) === null || _a === void 0 ? void 0 : _a.end();
+        this.panSession = null;
+        var isDragging = this.isDragging;
+        this.cancelDrag();
+        if (!isDragging)
+            return;
+        var velocity = info.velocity;
+        this.animateDragEnd(velocity);
+        (_c = (_b = this.props).onDragEnd) === null || _c === void 0 ? void 0 : _c.call(_b, event, info);
+    };
+    VisualElementDragControls.prototype.snapToCursor = function (point) {
+        var _this = this;
+        return eachAxis(function (axis) {
+            var drag = _this.props.drag;
+            // If we're not dragging this axis, do an early return.
+            if (!shouldDrag(axis, drag, _this.currentDirection))
+                return;
+            var axisValue = _this.getAxisMotionValue(axis);
+            if (axisValue) {
+                var box = _this.visualElement.getLayoutState().layout;
+                var length_1 = box[axis].max - box[axis].min;
+                var center = box[axis].min + length_1 / 2;
+                var offset = point[axis] - center;
+                _this.originPoint[axis] = point[axis];
+                axisValue.set(offset);
+            }
+            else {
+                _this.cursorProgress[axis] = 0.5;
+                return true;
+            }
+        }).includes(true);
+    };
+    /**
+     * Update the specified axis with the latest pointer information.
+     */
+    VisualElementDragControls.prototype.updateAxis = function (axis, point, offset) {
+        var drag = this.props.drag;
+        // If we're not dragging this axis, do an early return.
+        if (!shouldDrag(axis, drag, this.currentDirection))
+            return;
+        return this.getAxisMotionValue(axis)
+            ? this.updateAxisMotionValue(axis, offset)
+            : this.updateVisualElementAxis(axis, point);
+    };
+    VisualElementDragControls.prototype.updateAxisMotionValue = function (axis, offset) {
+        var axisValue = this.getAxisMotionValue(axis);
+        if (!offset || !axisValue)
+            return;
+        var nextValue = this.originPoint[axis] + offset[axis];
+        var update = this.constraints
+            ? applyConstraints(nextValue, this.constraints[axis], this.elastic[axis])
+            : nextValue;
+        axisValue.set(update);
+    };
+    VisualElementDragControls.prototype.updateVisualElementAxis = function (axis, point) {
+        var _a;
+        // Get the actual layout bounding box of the element
+        var axisLayout = this.visualElement.getLayoutState().layout[axis];
+        // Calculate its current length. In the future we might want to lerp this to animate
+        // between lengths if the layout changes as we change the DOM
+        var axisLength = axisLayout.max - axisLayout.min;
+        // Get the initial progress that the pointer sat on this axis on gesture start.
+        var axisProgress = this.cursorProgress[axis];
+        // Calculate a new min point based on the latest pointer position, constraints and elastic
+        var min = calcConstrainedMinPoint(point[axis], axisLength, axisProgress, (_a = this.constraints) === null || _a === void 0 ? void 0 : _a[axis], this.elastic[axis]);
+        // Update the axis viewport target with this new min and the length
+        this.visualElement.setProjectionTargetAxis(axis, min, min + axisLength);
+    };
+    VisualElementDragControls.prototype.setProps = function (_a) {
+        var _b = _a.drag, drag = _b === void 0 ? false : _b, _c = _a.dragDirectionLock, dragDirectionLock = _c === void 0 ? false : _c, _d = _a.dragPropagation, dragPropagation = _d === void 0 ? false : _d, _e = _a.dragConstraints, dragConstraints = _e === void 0 ? false : _e, _f = _a.dragElastic, dragElastic = _f === void 0 ? defaultElastic : _f, _g = _a.dragMomentum, dragMomentum = _g === void 0 ? true : _g, remainingProps = __rest(_a, ["drag", "dragDirectionLock", "dragPropagation", "dragConstraints", "dragElastic", "dragMomentum"]);
+        this.props = __assign({ drag: drag,
+            dragDirectionLock: dragDirectionLock,
+            dragPropagation: dragPropagation,
+            dragConstraints: dragConstraints,
+            dragElastic: dragElastic,
+            dragMomentum: dragMomentum }, remainingProps);
+    };
+    /**
+     * Drag works differently depending on which props are provided.
+     *
+     * - If _dragX and _dragY are provided, we output the gesture delta directly to those motion values.
+     * - If the component will perform layout animations, we output the gesture to the component's
+     *      visual bounding box
+     * - Otherwise, we apply the delta to the x/y motion values.
+     */
+    VisualElementDragControls.prototype.getAxisMotionValue = function (axis) {
+        var _a = this.props, layout = _a.layout, layoutId = _a.layoutId;
+        var dragKey = "_drag" + axis.toUpperCase();
+        if (this.props[dragKey]) {
+            return this.props[dragKey];
+        }
+        else if (!layout && layoutId === undefined) {
+            return this.visualElement.getValue(axis, 0);
+        }
+    };
+    VisualElementDragControls.prototype.isLayoutDrag = function () {
+        return !this.getAxisMotionValue("x");
+    };
+    VisualElementDragControls.prototype.isExternalDrag = function () {
+        var _a = this.props, _dragX = _a._dragX, _dragY = _a._dragY;
+        return _dragX || _dragY;
+    };
+    VisualElementDragControls.prototype.animateDragEnd = function (velocity) {
+        var _this = this;
+        var _a = this.props, drag = _a.drag, dragMomentum = _a.dragMomentum, dragElastic = _a.dragElastic, dragTransition = _a.dragTransition;
+        /**
+         * Everything beyond the drag gesture should be performed with
+         * relative projection so children stay in sync with their parent element.
+         */
+        var isRelative = convertToRelativeProjection(this.visualElement, this.isLayoutDrag() && !this.isExternalDrag());
+        /**
+         * If we had previously resolved constraints relative to the viewport,
+         * we need to also convert those to a relative coordinate space for the animation
+         */
+        var constraints = this.constraints || {};
+        if (isRelative &&
+            Object.keys(constraints).length &&
+            this.isLayoutDrag()) {
+            var projectionParent = this.visualElement.getProjectionParent();
+            if (projectionParent) {
+                var relativeConstraints_1 = calcRelativeOffset(projectionParent.projection.targetFinal, constraints);
+                eachAxis(function (axis) {
+                    var _a = relativeConstraints_1[axis], min = _a.min, max = _a.max;
+                    constraints[axis] = {
+                        min: isNaN(min) ? undefined : min,
+                        max: isNaN(max) ? undefined : max,
+                    };
+                });
+            }
         }
-    }
-  }, () => {
-    if (copyTimer.current) {
-      clearTimeout(copyTimer.current);
-    }
-
-    setCopiedColor(color.toHex());
-    copyTimer.current = setTimeout(() => {
-      setCopiedColor(null);
-      copyTimer.current = undefined;
-    }, 3000);
-  });
-  Object(external_wp_element_["useEffect"])(() => {
-    // clear copyTimer on component unmount.
-    return () => {
-      if (copyTimer.current) {
-        clearTimeout(copyTimer.current);
-      }
+        var momentumAnimations = eachAxis(function (axis) {
+            var _a;
+            if (!shouldDrag(axis, drag, _this.currentDirection)) {
+                return;
+            }
+            var transition = (_a = constraints === null || constraints === void 0 ? void 0 : constraints[axis]) !== null && _a !== void 0 ? _a : {};
+            /**
+             * Overdamp the boundary spring if `dragElastic` is disabled. There's still a frame
+             * of spring animations so we should look into adding a disable spring option to `inertia`.
+             * We could do something here where we affect the `bounceStiffness` and `bounceDamping`
+             * using the value of `dragElastic`.
+             */
+            var bounceStiffness = dragElastic ? 200 : 1000000;
+            var bounceDamping = dragElastic ? 40 : 10000000;
+            var inertia = __assign(__assign({ type: "inertia", velocity: dragMomentum ? velocity[axis] : 0, bounceStiffness: bounceStiffness,
+                bounceDamping: bounceDamping, timeConstant: 750, restDelta: 1, restSpeed: 10 }, dragTransition), transition);
+            // If we're not animating on an externally-provided `MotionValue` we can use the
+            // component's animation controls which will handle interactions with whileHover (etc),
+            // otherwise we just have to animate the `MotionValue` itself.
+            return _this.getAxisMotionValue(axis)
+                ? _this.startAxisValueAnimation(axis, inertia)
+                : _this.visualElement.startLayoutAnimation(axis, inertia, isRelative);
+        });
+        // Run all animations and then resolve the new drag constraints.
+        return Promise.all(momentumAnimations).then(function () {
+            var _a, _b;
+            (_b = (_a = _this.props).onDragTransitionEnd) === null || _b === void 0 ? void 0 : _b.call(_a);
+        });
     };
-  }, []);
-  return Object(external_wp_element_["createElement"])(tooltip_component, {
-    content: Object(external_wp_element_["createElement"])(text_component, {
-      color: "white"
-    }, copiedColor === color.toHex() ? Object(external_wp_i18n_["__"])('Copied!') : Object(external_wp_i18n_["__"])('Copy'))
-  }, Object(external_wp_element_["createElement"])(flex_component, {
-    justify: "flex-start",
-    gap: space(1),
-    ref: copyRef,
-    style: {
-      height: 30
-    }
-  }, Object(external_wp_element_["createElement"])(Component, props)));
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/input-with-slider.js
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-const InputWithSlider = _ref => {
-  let {
-    min,
-    max,
-    label,
-    abbreviation,
-    onChange,
-    value
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(spacer_component, {
-    as: h_stack_component,
-    spacing: 4
-  }, Object(external_wp_element_["createElement"])(NumberControlWrapper, {
-    min: min,
-    max: max,
-    label: label,
-    hideLabelFromVision: true,
-    value: value,
-    onChange: onChange,
-    prefix: Object(external_wp_element_["createElement"])(spacer_component, {
-      as: text_component,
-      paddingLeft: space(3.5),
-      color: "blue",
-      lineHeight: 1
-    }, abbreviation),
-    hideHTMLArrows: true
-  }), Object(external_wp_element_["createElement"])(styles_RangeControl, {
-    label: label,
-    hideLabelFromVision: true,
-    min: min,
-    max: max,
-    value: value,
-    onChange: onChange,
-    withInputField: false
-  }));
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/rgb-input.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-const RgbInput = _ref => {
-  let {
-    color,
-    onChange,
-    enableAlpha
-  } = _ref;
-  const {
-    r,
-    g,
-    b,
-    a
-  } = color.toRgb();
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(InputWithSlider, {
-    min: 0,
-    max: 255,
-    label: "Red",
-    abbreviation: "R",
-    value: r,
-    onChange: nextR => onChange(Object(colord["a" /* colord */])({
-      r: nextR,
-      g,
-      b,
-      a
-    }))
-  }), Object(external_wp_element_["createElement"])(InputWithSlider, {
-    min: 0,
-    max: 255,
-    label: "Green",
-    abbreviation: "G",
-    value: g,
-    onChange: nextG => onChange(Object(colord["a" /* colord */])({
-      r,
-      g: nextG,
-      b,
-      a
-    }))
-  }), Object(external_wp_element_["createElement"])(InputWithSlider, {
-    min: 0,
-    max: 255,
-    label: "Blue",
-    abbreviation: "B",
-    value: b,
-    onChange: nextB => onChange(Object(colord["a" /* colord */])({
-      r,
-      g,
-      b: nextB,
-      a
-    }))
-  }), enableAlpha && Object(external_wp_element_["createElement"])(InputWithSlider, {
-    min: 0,
-    max: 100,
-    label: "Alpha",
-    abbreviation: "A",
-    value: Math.trunc(a * 100),
-    onChange: nextA => onChange(Object(colord["a" /* colord */])({
-      r,
-      g,
-      b,
-      a: nextA / 100
-    }))
-  }));
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/hsl-input.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-const HslInput = _ref => {
-  let {
-    color,
-    onChange,
-    enableAlpha
-  } = _ref;
-  const {
-    h,
-    s,
-    l,
-    a
-  } = color.toHsl();
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(InputWithSlider, {
-    min: 0,
-    max: 359,
-    label: "Hue",
-    abbreviation: "H",
-    value: h,
-    onChange: nextH => {
-      onChange(Object(colord["a" /* colord */])({
-        h: nextH,
-        s,
-        l,
-        a
-      }));
-    }
-  }), Object(external_wp_element_["createElement"])(InputWithSlider, {
-    min: 0,
-    max: 100,
-    label: "Saturation",
-    abbreviation: "S",
-    value: s,
-    onChange: nextS => {
-      onChange(Object(colord["a" /* colord */])({
-        h,
-        s: nextS,
-        l,
-        a
-      }));
-    }
-  }), Object(external_wp_element_["createElement"])(InputWithSlider, {
-    min: 0,
-    max: 100,
-    label: "Lightness",
-    abbreviation: "L",
-    value: l,
-    onChange: nextL => {
-      onChange(Object(colord["a" /* colord */])({
-        h,
-        s,
-        l: nextL,
-        a
-      }));
-    }
-  }), enableAlpha && Object(external_wp_element_["createElement"])(InputWithSlider, {
-    min: 0,
-    max: 100,
-    label: "Alpha",
-    abbreviation: "A",
-    value: Math.trunc(100 * a),
-    onChange: nextA => {
-      onChange(Object(colord["a" /* colord */])({
-        h,
-        s,
-        l,
-        a: nextA / 100
-      }));
-    }
-  }));
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/hex-input.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-const HexInput = _ref => {
-  let {
-    color,
-    onChange,
-    enableAlpha
-  } = _ref;
-
-  const handleValidate = value => {
-    if (!Object(colord["a" /* colord */])('#' + value).isValid()) {
-      throw new Error('Invalid hex color input');
-    }
-  };
-
-  return Object(external_wp_element_["createElement"])(ColorHexInputControl, {
-    prefix: Object(external_wp_element_["createElement"])(spacer_component, {
-      as: text_component,
-      marginLeft: space(3.5),
-      color: "blue",
-      lineHeight: 1
-    }, "#"),
-    value: color.toHex().slice(1).toUpperCase(),
-    onChange: nextValue => {
-      onChange(Object(colord["a" /* colord */])('#' + nextValue));
-    },
-    onValidate: handleValidate,
-    maxLength: enableAlpha ? 8 : 6,
-    label: Object(external_wp_i18n_["__"])('Hex color'),
-    hideLabelFromVision: true
-  });
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/color-input.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-const ColorInput = _ref => {
-  let {
-    colorType,
-    color,
-    onChange,
-    enableAlpha
-  } = _ref;
-  const props = {
-    color,
-    onChange,
-    enableAlpha
-  };
-
-  switch (colorType) {
-    case 'hsl':
-      return Object(external_wp_element_["createElement"])(HslInput, props);
-
-    case 'rgb':
-      return Object(external_wp_element_["createElement"])(RgbInput, props);
-
-    default:
-    case 'hex':
-      return Object(external_wp_element_["createElement"])(HexInput, props);
-  }
-};
-
-// CONCATENATED MODULE: ./node_modules/react-colorful/dist/index.module.js
-function index_module_u(){return(index_module_u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function index_module_c(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function index_module_i(e){var t=Object(external_React_["useRef"])(e),n=Object(external_React_["useRef"])(function(e){t.current&&t.current(e)});return t.current=e,n.current}var index_module_s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},index_module_f=function(e){return"touches"in e},index_module_v=function(e){return e&&e.ownerDocument.defaultView||self},index_module_d=function(e,r,t){var n=e.getBoundingClientRect(),o=index_module_f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return{left:index_module_s((o.pageX-(n.left+index_module_v(e).pageXOffset))/n.width),top:index_module_s((o.pageY-(n.top+index_module_v(e).pageYOffset))/n.height)}},index_module_h=function(e){!index_module_f(e)&&e.preventDefault()},index_module_m=external_React_default.a.memo(function(o){var a=o.onMove,l=o.onKey,s=index_module_c(o,["onMove","onKey"]),m=Object(external_React_["useRef"])(null),g=index_module_i(a),p=index_module_i(l),b=Object(external_React_["useRef"])(null),_=Object(external_React_["useRef"])(!1),x=Object(external_React_["useMemo"])(function(){var e=function(e){index_module_h(e),(index_module_f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(index_module_d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=index_module_v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(index_module_h(r),!function(e,r){return r&&!index_module_f(e)}(r,_.current)&&n)){if(index_module_f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(index_module_d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]},[p,g]),C=x[0],E=x[1],H=x[2];return Object(external_React_["useEffect"])(function(){return H},[H]),external_React_default.a.createElement("div",index_module_u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),index_module_g=function(e){return e.filter(Boolean).join(" ")},index_module_p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=index_module_g(["react-colorful__pointer",r.className]);return external_React_default.a.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},external_React_default.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},index_module_b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},index_module_={grad:.9,turn:360,rad:360/(2*Math.PI)},index_module_x=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},index_module_C=function(e,r){return void 0===r&&(r="deg"),Number(e)*(index_module_[r]||1)},index_module_E=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?M({h:index_module_C(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},index_module_H=index_module_E,M=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:index_module_b(e.h),s:index_module_b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:index_module_b(o/2),a:index_module_b(n,2)}},w=function(e){var r=N(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},index_module_y=function(e){var r=N(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:index_module_b(255*[n,u,l,l,c,n][i]),g:index_module_b(255*[c,n,n,u,l,l][i]),b:index_module_b(255*[l,l,c,n,n,u][i]),a:index_module_b(o,2)}},k=function(e){var r=/hsva?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?D({h:index_module_C(r[1],r[2]),s:Number(r[3]),v:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},O=k,I=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=I,z=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:index_module_b(60*(u<0?u+6:u)),s:index_module_b(a?l/a*100:0),v:index_module_b(a/255*100),a:o}},D=function(e){return{h:index_module_b(e.h),s:index_module_b(e.s),v:index_module_b(e.v),a:index_module_b(e.a,2)}},K=external_React_default.a.memo(function(r){var t=r.hue,n=r.onChange,o=index_module_g(["react-colorful__hue",r.className]);return external_React_default.a.createElement("div",{className:o},external_React_default.a.createElement(index_module_m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:index_module_s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":index_module_b(t)},external_React_default.a.createElement(index_module_p,{className:"react-colorful__hue-pointer",left:t/360,color:w({h:t,s:100,v:100,a:1})})))}),L=external_React_default.a.memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:w({h:t.h,s:100,v:100,a:1})};return external_React_default.a.createElement("div",{className:"react-colorful__saturation",style:o},external_React_default.a.createElement(index_module_m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:index_module_s(t.s+100*e.left,0,100),v:index_module_s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+index_module_b(t.s)+"%, Brightness "+index_module_b(t.v)+"%"},external_React_default.a.createElement(index_module_p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:w(t)})))}),A=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},S=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function T(e,t,l){var u=index_module_i(l),c=Object(external_React_["useState"])(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=Object(external_React_["useRef"])({color:t,hsva:s});Object(external_React_["useEffect"])(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}},[t,e]),Object(external_React_["useEffect"])(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))},[s,e,u]);var d=Object(external_React_["useCallback"])(function(e){f(function(r){return Object.assign({},r,e)})},[]);return[s,d]}var F,P="undefined"!=typeof window?external_React_["useLayoutEffect"]:external_React_["useEffect"],X=function(){return F||( true?__webpack_require__.nc:undefined)},Y=function(e){F=e},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute("nonce",n),r.head.appendChild(t)}},[])},$=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=index_module_c(t,["className","colorModel","color","onChange"]),f=Object(external_React_["useRef"])(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=index_module_g(["react-colorful",n]);return external_React_default.a.createElement("div",index_module_u({},s,{ref:f,className:m}),external_React_default.a.createElement(L,{hsva:d,onChange:h}),external_React_default.a.createElement(K,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:function(e){return B(index_module_x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,"#"+z(r.r)+z(t)+z(n);var r,t,n},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(index_module_x(e),index_module_x(r))}},J=function(r){return external_React_default.a.createElement($,index_module_u({},r,{colorModel:G}))},Q=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+index_module_y(Object.assign({},n,{a:0}))+", "+index_module_y(Object.assign({},n,{a:1}))+")"},l=index_module_g(["react-colorful__alpha",t]);return external_React_default.a.createElement("div",{className:l},external_React_default.a.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),external_React_default.a.createElement(index_module_m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:index_module_s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":index_module_b(100*n.a)+"%"},external_React_default.a.createElement(index_module_p,{className:"react-colorful__alpha-pointer",left:n.a,color:index_module_y(n)})))},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=index_module_c(t,["className","colorModel","color","onChange"]),f=Object(external_React_["useRef"])(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=index_module_g(["react-colorful",n]);return external_React_default.a.createElement("div",index_module_u({},s,{ref:f,className:m}),external_React_default.a.createElement(L,{hsva:d,onChange:h}),external_React_default.a.createElement(K,{hue:d.h,onChange:h}),external_React_default.a.createElement(Q,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:{h:0,s:0,l:0,a:1},toHsva:M,fromHsva:N,equal:A},Z=function(r){return external_React_default.a.createElement(U,index_module_u({},r,{colorModel:W}))},ee={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:index_module_E,fromHsva:index_module_y,equal:S},re=function(r){return external_React_default.a.createElement(U,index_module_u({},r,{colorModel:ee}))},te={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return M({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){return{h:(r=N(e)).h,s:r.s,l:r.l};var r},equal:A},ne=function(r){return external_React_default.a.createElement($,index_module_u({},r,{colorModel:te}))},oe={defaultColor:"hsl(0, 0%, 0%)",toHsva:index_module_H,fromHsva:w,equal:S},ae=function(r){return external_React_default.a.createElement($,index_module_u({},r,{colorModel:oe}))},le={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:D,equal:A},ue=function(r){return external_React_default.a.createElement(U,index_module_u({},r,{colorModel:le}))},ce={defaultColor:"hsva(0, 0%, 0%, 1)",toHsva:k,fromHsva:function(e){var r=D(e);return"hsva("+r.h+", "+r.s+"%, "+r.v+"%, "+r.a+")"},equal:S},ie=function(r){return external_React_default.a.createElement(U,index_module_u({},r,{colorModel:ce}))},se={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var r=D(e);return{h:r.h,s:r.s,v:r.v}},equal:A},fe=function(r){return external_React_default.a.createElement($,index_module_u({},r,{colorModel:se}))},ve={defaultColor:"hsv(0, 0%, 0%)",toHsva:O,fromHsva:function(e){var r=D(e);return"hsv("+r.h+", "+r.s+"%, "+r.v+"%)"},equal:S},de=function(r){return external_React_default.a.createElement($,index_module_u({},r,{colorModel:ve}))},he={defaultColor:{r:0,g:0,b:0,a:1},toHsva:B,fromHsva:q,equal:A},me=function(r){return external_React_default.a.createElement(U,index_module_u({},r,{colorModel:he}))},ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:I,fromHsva:function(e){var r=q(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:S},pe=function(r){return external_React_default.a.createElement(U,index_module_u({},r,{colorModel:ge}))},be={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return B({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(r=q(e)).r,g:r.g,b:r.b};var r},equal:A},index_module_e=function(r){return external_React_default.a.createElement($,index_module_u({},r,{colorModel:be}))},xe={defaultColor:"rgb(0, 0, 0)",toHsva:j,fromHsva:function(e){var r=q(e);return"rgb("+r.r+", "+r.g+", "+r.b+")"},equal:S},Ce=function(r){return external_React_default.a.createElement($,index_module_u({},r,{colorModel:xe}))},Ee=/^#?([0-9A-F]{3,8})$/i,He=function(r){var t=r.color,l=void 0===t?"":t,s=r.onChange,f=r.onBlur,v=r.escape,d=r.validate,h=r.format,m=r.process,g=index_module_c(r,["color","onChange","onBlur","escape","validate","format","process"]),p=Object(external_React_["useState"])(function(){return v(l)}),b=p[0],_=p[1],x=index_module_i(s),C=index_module_i(f),E=Object(external_React_["useCallback"])(function(e){var r=v(e.target.value);_(r),d(r)&&x(m?m(r):r)},[v,m,d,x]),H=Object(external_React_["useCallback"])(function(e){d(e.target.value)||_(v(l)),C(e)},[l,v,d,C]);return Object(external_React_["useEffect"])(function(){_(v(l))},[l,v]),external_React_default.a.createElement("input",index_module_u({},g,{value:h?h(b):b,spellCheck:"false",onChange:E,onBlur:H}))},Me=function(e){return"#"+e},Ne=function(r){var t=r.prefixed,n=r.alpha,o=index_module_c(r,["prefixed","alpha"]),l=Object(external_React_["useCallback"])(function(e){return e.replace(/([^0-9A-F]+)/gi,"").substr(0,n?8:6)},[n]),i=Object(external_React_["useCallback"])(function(e){return function(e,r){var t=Ee.exec(e),n=t?t[1].length:0;return 3===n||6===n||!!r&&4===n||!!r&&8===n}(e,n)},[n]);return external_React_default.a.createElement(He,index_module_u({},o,{escape:l,format:t?Me:void 0,process:Me,validate:i}))};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/picker.js
-
-
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-const Picker = _ref => {
-  let {
-    color,
-    enableAlpha,
-    onChange
-  } = _ref;
-  const Component = enableAlpha ? pe : Ce;
-  const rgbColor = Object(external_wp_element_["useMemo"])(() => color.toRgbString(), [color]);
-  return Object(external_wp_element_["createElement"])(Component, {
-    color: rgbColor,
-    onChange: nextColor => {
-      onChange(Object(colord["a" /* colord */])(nextColor));
-    }
-  });
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-controlled-value.js
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Simplified and improved implementation of useControlledState.
- *
- * @param  props
- * @param  props.defaultValue
- * @param  props.value
- * @param  props.onChange
- * @return The controlled value and the value setter.
- */
-function useControlledValue(_ref) {
-  let {
-    defaultValue,
-    onChange,
-    value: valueProp
-  } = _ref;
-  const hasValue = typeof valueProp !== 'undefined';
-  const initialValue = hasValue ? valueProp : defaultValue;
-  const [state, setState] = Object(external_wp_element_["useState"])(initialValue);
-  const value = hasValue ? valueProp : state;
-  let setValue;
-
-  if (hasValue && typeof onChange === 'function') {
-    setValue = onChange;
-  } else if (!hasValue && typeof onChange === 'function') {
-    setValue = nextValue => {
-      onChange(nextValue);
-      setState(nextValue);
+    VisualElementDragControls.prototype.stopMotion = function () {
+        var _this = this;
+        eachAxis(function (axis) {
+            var axisValue = _this.getAxisMotionValue(axis);
+            axisValue
+                ? axisValue.stop()
+                : _this.visualElement.stopLayoutAnimation();
+        });
     };
-  } else {
-    setValue = setState;
-  }
-
-  return [value, setValue];
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/component.js
-
-
-
-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
+    VisualElementDragControls.prototype.startAxisValueAnimation = function (axis, transition) {
+        var axisValue = this.getAxisMotionValue(axis);
+        if (!axisValue)
+            return;
+        var currentValue = axisValue.get();
+        axisValue.set(currentValue);
+        axisValue.set(currentValue); // Set twice to hard-reset velocity
+        return startAnimation(axis, axisValue, 0, transition);
+    };
+    VisualElementDragControls.prototype.scalePoint = function () {
+        var _this = this;
+        var _a = this.props, drag = _a.drag, dragConstraints = _a.dragConstraints;
+        if (!is_ref_object_isRefObject(dragConstraints) || !this.constraintsBox)
+            return;
+        // Stop any current animations as there can be some visual glitching if we resize mid animation
+        this.stopMotion();
+        // Record the relative progress of the targetBox relative to the constraintsBox
+        var boxProgress = { x: 0, y: 0 };
+        eachAxis(function (axis) {
+            boxProgress[axis] = delta_calc_calcOrigin(_this.visualElement.projection.target[axis], _this.constraintsBox[axis]);
+        });
+        /**
+         * For each axis, calculate the current progress of the layout axis within the constraints.
+         * Then, using the latest layout and constraints measurements, reposition the new layout axis
+         * proportionally within the constraints.
+         */
+        this.updateConstraints(function () {
+            eachAxis(function (axis) {
+                if (!shouldDrag(axis, drag, null))
+                    return;
+                // Calculate the position of the targetBox relative to the constraintsBox using the
+                // previously calculated progress
+                var _a = calcPositionFromProgress(_this.visualElement.projection.target[axis], _this.constraintsBox[axis], boxProgress[axis]), min = _a.min, max = _a.max;
+                _this.visualElement.setProjectionTargetAxis(axis, min, max);
+            });
+        });
+        /**
+         * If any other draggable components are queuing the same tasks synchronously
+         * this will wait until they've all been scheduled before flushing.
+         */
+        setTimeout(flushLayout, 1);
+    };
+    VisualElementDragControls.prototype.updateConstraints = function (onReady) {
+        var _this = this;
+        this.cancelLayout = batchLayout(function (read, write) {
+            var ancestors = collectProjectingAncestors(_this.visualElement);
+            write(function () {
+                return ancestors.forEach(function (element) { return element.resetTransform(); });
+            });
+            read(function () { return updateLayoutMeasurement(_this.visualElement); });
+            write(function () {
+                return ancestors.forEach(function (element) { return element.restoreTransform(); });
+            });
+            read(function () {
+                _this.resolveDragConstraints();
+            });
+            if (onReady)
+                write(onReady);
+        });
+    };
+    VisualElementDragControls.prototype.mount = function (visualElement) {
+        var _this = this;
+        var element = visualElement.getInstance();
+        /**
+         * Attach a pointerdown event listener on this DOM element to initiate drag tracking.
+         */
+        var stopPointerListener = addPointerEvent(element, "pointerdown", function (event) {
+            var _a = _this.props, drag = _a.drag, _b = _a.dragListener, dragListener = _b === void 0 ? true : _b;
+            drag && dragListener && _this.start(event);
+        });
+        /**
+         * Attach a window resize listener to scale the draggable target within its defined
+         * constraints as the window resizes.
+         */
+        var stopResizeListener = addDomEvent(window, "resize", function () {
+            _this.scalePoint();
+        });
+        /**
+         * Ensure drag constraints are resolved correctly relative to the dragging element
+         * whenever its layout changes.
+         */
+        var stopLayoutUpdateListener = visualElement.onLayoutUpdate(function () {
+            if (_this.isDragging) {
+                _this.resolveDragConstraints();
+            }
+        });
+        /**
+         * If the previous component with this same layoutId was dragging at the time
+         * it was unmounted, we want to continue the same gesture on this component.
+         */
+        var prevDragCursor = visualElement.prevDragCursor;
+        if (prevDragCursor) {
+            this.start(lastPointerEvent, { cursorProgress: prevDragCursor });
+        }
+        /**
+         * Return a function that will teardown the drag gesture
+         */
+        return function () {
+            stopPointerListener === null || stopPointerListener === void 0 ? void 0 : stopPointerListener();
+            stopResizeListener === null || stopResizeListener === void 0 ? void 0 : stopResizeListener();
+            stopLayoutUpdateListener === null || stopLayoutUpdateListener === void 0 ? void 0 : stopLayoutUpdateListener();
+            _this.cancelDrag();
+        };
+    };
+    return VisualElementDragControls;
+}());
+function shouldDrag(direction, drag, currentDirection) {
+    return ((drag === true || drag === direction) &&
+        (currentDirection === null || currentDirection === direction));
+}
 /**
- * Internal dependencies
+ * Based on an x/y offset determine the current drag direction. If both axis' offsets are lower
+ * than the provided threshold, return `null`.
+ *
+ * @param offset - The x/y offset from origin.
+ * @param lockThreshold - (Optional) - the minimum absolute offset before we can determine a drag direction.
  */
+function getCurrentDirection(offset, lockThreshold) {
+    if (lockThreshold === void 0) { lockThreshold = 10; }
+    var direction = null;
+    if (Math.abs(offset.y) > lockThreshold) {
+        direction = "y";
+    }
+    else if (Math.abs(offset.x) > lockThreshold) {
+        direction = "x";
+    }
+    return direction;
+}



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/drag/use-drag.js






-Object(colord["b" /* extend */])([names["a" /* default */]]);
-const component_options = [{
-  label: 'RGB',
-  value: 'rgb'
-}, {
-  label: 'HSL',
-  value: 'hsl'
-}, {
-  label: 'Hex',
-  value: 'hex'
-}];
-
-const ColorPicker = (props, forwardedRef) => {
-  const {
-    enableAlpha = false,
-    color: colorProp,
-    onChange,
-    defaultValue = '#fff',
-    copyFormat,
-    ...divProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'ColorPicker'); // Use a safe default value for the color and remove the possibility of `undefined`.
-
-  const [color, setColor] = useControlledValue({
-    onChange,
-    value: colorProp,
-    defaultValue
-  });
-  const safeColordColor = Object(external_wp_element_["useMemo"])(() => {
-    return Object(colord["a" /* colord */])(color);
-  }, [color]);
-  const debouncedSetColor = Object(external_wp_compose_["useDebounce"])(setColor);
-  const handleChange = Object(external_React_["useCallback"])(nextValue => {
-    debouncedSetColor(nextValue.toHex());
-  }, [debouncedSetColor]);
-  const [showInputs, setShowInputs] = Object(external_wp_element_["useState"])(false);
-  const [colorType, setColorType] = Object(external_wp_element_["useState"])(copyFormat || 'hex');
-  return Object(external_wp_element_["createElement"])(ColorfulWrapper, Object(esm_extends["a" /* default */])({
-    ref: forwardedRef
-  }, divProps), Object(external_wp_element_["createElement"])(Picker, {
-    onChange: handleChange,
-    color: safeColordColor,
-    enableAlpha: enableAlpha
-  }), Object(external_wp_element_["createElement"])(AuxiliaryColorArtefactWrapper, null, Object(external_wp_element_["createElement"])(h_stack_component, {
-    justify: "space-between"
-  }, showInputs ? Object(external_wp_element_["createElement"])(styles_SelectControl, {
-    options: component_options,
-    value: colorType,
-    onChange: nextColorType => setColorType(nextColorType),
-    label: Object(external_wp_i18n_["__"])('Color format'),
-    hideLabelFromVision: true
-  }) : Object(external_wp_element_["createElement"])(ColorDisplay, {
-    color: safeColordColor,
-    colorType: copyFormat || colorType,
-    enableAlpha: enableAlpha
-  }), Object(external_wp_element_["createElement"])(DetailsControlButton, {
-    isSmall: true,
-    onClick: () => setShowInputs(!showInputs),
-    icon: settings["a" /* default */],
-    isPressed: showInputs,
-    label: showInputs ? Object(external_wp_i18n_["__"])('Hide detailed inputs') : Object(external_wp_i18n_["__"])('Show detailed inputs')
-  })), Object(external_wp_element_["createElement"])(spacer_component, {
-    margin: 4
-  }), showInputs && Object(external_wp_element_["createElement"])(ColorInput, {
-    colorType: colorType,
-    color: safeColordColor,
-    onChange: handleChange,
-    enableAlpha: enableAlpha
-  })));
-};
-
-const ConnectedColorPicker = Object(context_connect["a" /* contextConnect */])(ColorPicker, 'ColorPicker');
-/* harmony default export */ var color_picker_component = (ConnectedColorPicker);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/use-deprecated-props.js
-/**
- * External dependencies
- */
- // eslint-disable-next-line no-restricted-imports
-
-
-/**
- * WordPress dependencies
- */
-
-
 /**
- * Internal dependencies
+ * A hook that allows an element to be dragged.
+ *
+ * @internal
  */
-
-function isLegacyProps(props) {
-  var _props$color;
-
-  return typeof props.onChangeComplete !== 'undefined' || typeof props.disableAlpha !== 'undefined' || typeof ((_props$color = props.color) === null || _props$color === void 0 ? void 0 : _props$color.hex) === 'string';
+function useDrag(props) {
+    var groupDragControls = props.dragControls, visualElement = props.visualElement;
+    var transformPagePoint = (0,external_React_.useContext)(MotionConfigContext).transformPagePoint;
+    var dragControls = useConstant(function () {
+        return new VisualElementDragControls({
+            visualElement: visualElement,
+        });
+    });
+    dragControls.setProps(__assign(__assign({}, props), { transformPagePoint: transformPagePoint }));
+    // If we've been provided a DragControls for manual control over the drag gesture,
+    // subscribe this component to it on mount.
+    (0,external_React_.useEffect)(function () { return groupDragControls && groupDragControls.subscribe(dragControls); }, [dragControls]);
+    // Mount the drag controls with the visualElement
+    (0,external_React_.useEffect)(function () { return dragControls.mount(visualElement); }, []);
 }

-function getColorFromLegacyProps(props) {
-  if (typeof (props === null || props === void 0 ? void 0 : props.color) === 'undefined') {
-    return undefined;
-  }

-  if (typeof props.color === 'string') {
-    return props.color;
-  }

-  if (props.color.hex) {
-    return props.color.hex;
-  }
-}
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/gestures/use-pan-gesture.js

-const transformColorStringToLegacyColor = memize_default()(color => {
-  const colordColor = Object(colord["a" /* colord */])(color);
-  const hex = colordColor.toHex();
-  const rgb = colordColor.toRgb();
-  const hsv = colordColor.toHsv();
-  const hsl = colordColor.toHsl();
-  return {
-    hex,
-    rgb,
-    hsv,
-    hsl,
-    source: 'hex',
-    oldHue: hsl.h
-  };
-});
-function use_deprecated_props_useDeprecatedProps(props) {
-  const onChange = Object(external_wp_element_["useCallback"])(color => {
-    var _props$onChange;

-    if (isLegacyProps(props)) {
-      return props.onChangeComplete(transformColorStringToLegacyColor(color));
-    }

-    return (_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, color);
-  }, [props.onChangeComplete, props.onChange]);
-  const color = Object(external_wp_element_["useMemo"])(() => {
-    return isLegacyProps(props) ? getColorFromLegacyProps(props) : props.color;
-  }, [props.color]);
-  const enableAlpha = Object(external_wp_element_["useMemo"])(() => {
-    return isLegacyProps(props) ? !props.disableAlpha : props.enableAlpha;
-  }, [props.disableAlpha, props.enableAlpha]);
-  return { ...(isLegacyProps(props) ? {} : props),
-    onChange,
-    color,
-    enableAlpha
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/legacy-adapter.js


 /**
- * Internal dependencies
+ *
+ * @param handlers -
+ * @param ref -
+ *
+ * @internalremarks
+ * Currently this sets new pan gesture functions every render. The memo route has been explored
+ * in the past but ultimately we're still creating new functions every render. An optimisation
+ * to explore is creating the pan gestures and loading them into a `ref`.
+ *
+ * @internal
  */
+function usePanGesture(_a) {
+    var onPan = _a.onPan, onPanStart = _a.onPanStart, onPanEnd = _a.onPanEnd, onPanSessionStart = _a.onPanSessionStart, visualElement = _a.visualElement;
+    var hasPanEvents = onPan || onPanStart || onPanEnd || onPanSessionStart;
+    var panSession = (0,external_React_.useRef)(null);
+    var transformPagePoint = (0,external_React_.useContext)(MotionConfigContext).transformPagePoint;
+    var handlers = {
+        onSessionStart: onPanSessionStart,
+        onStart: onPanStart,
+        onMove: onPan,
+        onEnd: function (event, info) {
+            panSession.current = null;
+            onPanEnd && onPanEnd(event, info);
+        },
+    };
+    (0,external_React_.useEffect)(function () {
+        if (panSession.current !== null) {
+            panSession.current.updateHandlers(handlers);
+        }
+    });
+    function onPointerDown(event) {
+        panSession.current = new PanSession(event, handlers, {
+            transformPagePoint: transformPagePoint,
+        });
+    }
+    usePointerEvent(visualElement, "pointerdown", hasPanEvents && onPointerDown);
+    useUnmountEffect(function () { return panSession.current && panSession.current.end(); });
+}


-const LegacyAdapter = props => {
-  return Object(external_wp_element_["createElement"])(color_picker_component, use_deprecated_props_useDeprecatedProps(props));
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/styles.js
-function item_group_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/drag.js

-/**
- * Internal dependencies
- */


-const unstyledButton = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("appearance:none;border:1px solid transparent;cursor:pointer;background:none;text-align:left;&:hover{color:", COLORS.admin.theme, ";}&:focus{background-color:transparent;color:", COLORS.admin.theme, ";border-color:", COLORS.admin.theme, ";outline:3px solid transparent;}" + ( true ? "" : undefined),  true ? "" : undefined);
-const itemWrapper =  true ? {
-  name: "1bcj5ek",
-  styles: "width:100%;display:block"
-} : undefined;
-const styles_item =  true ? {
-  name: "5vij5u",
-  styles: "width:100%;display:block;margin:0"
-} : undefined;
-const bordered = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("border:1px solid ", config_values.surfaceBorderColor, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const separated = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(">*:not( marquee )>*{border-bottom:1px solid ", config_values.surfaceBorderColor, ";}>*:last-of-type>*:not( :focus ){border-bottom-color:transparent;}" + ( true ? "" : undefined),  true ? "" : undefined);
-const item_group_styles_borderRadius = config_values.controlBorderRadius;
-const styles_spacedAround = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("border-radius:", item_group_styles_borderRadius, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const item_group_styles_rounded = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("border-radius:", item_group_styles_borderRadius, ";>*:first-of-type>*{border-top-left-radius:", item_group_styles_borderRadius, ";border-top-right-radius:", item_group_styles_borderRadius, ";}>*:last-of-type>*{border-bottom-left-radius:", item_group_styles_borderRadius, ";border-bottom-right-radius:", item_group_styles_borderRadius, ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-const baseFontHeight = `calc(${config_values.fontSize} * ${config_values.fontLineHeightBase})`;
-/*
- * Math:
- * - Use the desired height as the base value
- * - Subtract the computed height of (default) text
- * - Subtract the effects of border
- * - Divide the calculated number by 2, in order to get an individual top/bottom padding
- */

-const styles_paddingY = `calc((${config_values.controlHeight} - ${baseFontHeight} - 2px) / 2)`;
-const paddingYSmall = `calc((${config_values.controlHeightSmall} - ${baseFontHeight} - 2px) / 2)`;
-const paddingYLarge = `calc((${config_values.controlHeightLarge} - ${baseFontHeight} - 2px) / 2)`;
-const itemSizes = {
-  small: /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding:", paddingYSmall, " ", config_values.controlPaddingXSmall, ";" + ( true ? "" : undefined),  true ? "" : undefined),
-  medium: /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding:", styles_paddingY, " ", config_values.controlPaddingX, ";" + ( true ? "" : undefined),  true ? "" : undefined),
-  large: /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("padding:", paddingYLarge, " ", config_values.controlPaddingXLarge, ";" + ( true ? "" : undefined),  true ? "" : undefined)
+var drag = {
+    pan: makeRenderlessComponent(usePanGesture),
+    drag: makeRenderlessComponent(useDrag),
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/item-group/hook.js
-/**
- * Internal dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-function useItemGroup(props) {
-  const {
-    className,
-    isBordered = false,
-    isRounded = true,
-    isSeparated = false,
-    role = 'list',
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'ItemGroup');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = cx(isBordered && bordered, isSeparated && separated, isRounded && item_group_styles_rounded, className);
-  return {
-    isBordered,
-    className: classes,
-    role,
-    isSeparated,
-    ...otherProps
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/context.js
-/**
- * WordPress dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimateSharedLayout/types.js
 /**
- * Internal dependencies
+ * @public
  */
-
-const ItemGroupContext = Object(external_wp_element_["createContext"])({
-  size: 'medium'
-});
-const useItemGroupContext = () => Object(external_wp_element_["useContext"])(ItemGroupContext);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/item-group/component.js
-
-
-
+var Presence;
+(function (Presence) {
+    Presence[Presence["Entering"] = 0] = "Entering";
+    Presence[Presence["Present"] = 1] = "Present";
+    Presence[Presence["Exiting"] = 2] = "Exiting";
+})(Presence || (Presence = {}));
 /**
- * External dependencies
+ * @public
  */
-// eslint-disable-next-line no-restricted-imports
+var VisibilityAction;
+(function (VisibilityAction) {
+    VisibilityAction[VisibilityAction["Hide"] = 0] = "Hide";
+    VisibilityAction[VisibilityAction["Show"] = 1] = "Show";
+})(VisibilityAction || (VisibilityAction = {}));

-/**
- * Internal dependencies
- */


+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.js



-function ItemGroup(props, forwardedRef) {
-  const {
-    isBordered,
-    isSeparated,
-    size: sizeProp,
-    ...otherProps
-  } = useItemGroup(props);
-  const {
-    size: contextSize
-  } = useItemGroupContext();
-  const spacedAround = !isBordered && !isSeparated;
-  const size = sizeProp || contextSize;
-  const contextValue = {
-    spacedAround,
-    size
-  };
-  return Object(external_wp_element_["createElement"])(ItemGroupContext.Provider, {
-    value: contextValue
-  }, Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, otherProps, {
-    ref: forwardedRef
-  })));
+function css_variables_conversion_isCSSVariable(value) {
+    return typeof value === "string" && value.startsWith("var(--");
 }
-
-/* harmony default export */ var item_group_component = (Object(context_connect["a" /* contextConnect */])(ItemGroup, 'ItemGroup'));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/v-stack/hook.js
-/**
- * Internal dependencies
- */
-
-
 /**
+ * Parse Framer's special CSS variable format into a CSS token and a fallback.
  *
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ * ```
+ * `var(--foo, #fff)` => [`--foo`, '#fff']
+ * ```
+ *
+ * @param current
  */
-
-function useVStack(props) {
-  const {
-    expanded = false,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'VStack');
-  const hStackProps = useHStack({
-    direction: 'column',
-    expanded,
-    ...otherProps
-  });
-  return hStackProps;
+var cssVariableRegex = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
+function parseCSSVariable(current) {
+    var match = cssVariableRegex.exec(current);
+    if (!match)
+        return [,];
+    var _a = tslib_es6_read(match, 3), token = _a[1], fallback = _a[2];
+    return [token, fallback];
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/v-stack/component.js
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- * @param {import('react').Ref<any>}                                                        forwardedRef
- */
-
-function VStack(props, forwardedRef) {
-  const vStackProps = useVStack(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, vStackProps, {
-    ref: forwardedRef
-  }));
+var maxDepth = 4;
+function getVariableValue(current, element, depth) {
+    if (depth === void 0) { depth = 1; }
+    invariant(depth <= maxDepth, "Max CSS variable fallback depth detected in property \"" + current + "\". This may indicate a circular fallback dependency.");
+    var _a = tslib_es6_read(parseCSSVariable(current), 2), token = _a[0], fallback = _a[1];
+    // No CSS variable detected
+    if (!token)
+        return;
+    // Attempt to read this CSS variable off the element
+    var resolved = window.getComputedStyle(element).getPropertyValue(token);
+    if (resolved) {
+        return resolved.trim();
+    }
+    else if (css_variables_conversion_isCSSVariable(fallback)) {
+        // The fallback might itself be a CSS variable, in which case we attempt to resolve it too.
+        return getVariableValue(fallback, element, depth + 1);
+    }
+    else {
+        return fallback;
+    }
 }
 /**
- * `VStack` (or Vertical Stack) is a layout component that arranges child elements in a vertical line.
- *
- * `VStack` can render anything inside.
- *
- * @example
- * ```jsx
- * import {
- * 	__experimentalText as Text,
- * 	__experimentalVStack as VStack,
- * } from `@wordpress/components`;
+ * Resolve CSS variables from
  *
- * function Example() {
- * 	return (
- * 		<VStack>
- * 			<Text>Code</Text>
- * 			<Text>is</Text>
- * 			<Text>Poetry</Text>
- * 		</VStack>
- * 	);
- * }
- * ```
- */
-
-
-const ConnectedVStack = Object(context_connect["a" /* contextConnect */])(VStack, 'VStack');
-/* harmony default export */ var v_stack_component = (ConnectedVStack);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dropdown/index.js
-
-
-// @ts-nocheck
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
+ * @internal
  */
-
-
-
-function useObservableState(initialState, onStateChange) {
-  const [state, setState] = Object(external_wp_element_["useState"])(initialState);
-  return [state, value => {
-    setState(value);
-
-    if (onStateChange) {
-      onStateChange(value);
+function resolveCSSVariables(visualElement, _a, transitionEnd) {
+    var _b;
+    var target = __rest(_a, []);
+    var element = visualElement.getInstance();
+    if (!(element instanceof HTMLElement))
+        return { target: target, transitionEnd: transitionEnd };
+    // If `transitionEnd` isn't `undefined`, clone it. We could clone `target` and `transitionEnd`
+    // only if they change but I think this reads clearer and this isn't a performance-critical path.
+    if (transitionEnd) {
+        transitionEnd = __assign({}, transitionEnd);
     }
-  }];
-}
-
-function Dropdown(_ref) {
-  var _popoverProps$anchorR;
-
-  let {
-    renderContent,
-    renderToggle,
-    position = 'bottom right',
-    className,
-    contentClassName,
-    expandOnMobile,
-    headerTitle,
-    focusOnMount,
-    popoverProps,
-    onClose,
-    onToggle
-  } = _ref;
-  const containerRef = Object(external_wp_element_["useRef"])();
-  const [isOpen, setIsOpen] = useObservableState(false, onToggle);
-  Object(external_wp_element_["useEffect"])(() => () => {
-    if (onToggle) {
-      onToggle(false);
+    // Go through existing `MotionValue`s and ensure any existing CSS variables are resolved
+    visualElement.forEachValue(function (value) {
+        var current = value.get();
+        if (!css_variables_conversion_isCSSVariable(current))
+            return;
+        var resolved = getVariableValue(current, element);
+        if (resolved)
+            value.set(resolved);
+    });
+    // Cycle through every target property and resolve CSS variables. Currently
+    // we only read single-var properties like `var(--foo)`, not `calc(var(--foo) + 20px)`
+    for (var key in target) {
+        var current = target[key];
+        if (!css_variables_conversion_isCSSVariable(current))
+            continue;
+        var resolved = getVariableValue(current, element);
+        if (!resolved)
+            continue;
+        // Clone target if it hasn't already been
+        target[key] = resolved;
+        // If the user hasn't already set this key on `transitionEnd`, set it to the unresolved
+        // CSS variable. This will ensure that after the animation the component will reflect
+        // changes in the value of the CSS variable.
+        if (transitionEnd)
+            (_b = transitionEnd[key]) !== null && _b !== void 0 ? _b : (transitionEnd[key] = current);
     }
-  }, []);
-
-  function toggle() {
-    setIsOpen(!isOpen);
-  }
-  /**
-   * Closes the popover when focus leaves it unless the toggle was pressed or
-   * focus has moved to a separate dialog. The former is to let the toggle
-   * handle closing the popover and the latter is to preserve presence in
-   * case a dialog has opened, allowing focus to return when it's dismissed.
-   */
-
-
-  function closeIfFocusOutside() {
-    const {
-      ownerDocument
-    } = containerRef.current;
-    const dialog = ownerDocument.activeElement.closest('[role="dialog"]');
+    return { target: target, transitionEnd: transitionEnd };
+}

-    if (!containerRef.current.contains(ownerDocument.activeElement) && (!dialog || dialog.contains(containerRef.current))) {
-      close();
-    }
-  }

-  function close() {
-    if (onClose) {
-      onClose();
-    }

-    setIsOpen(false);
-  }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/default-scale-correctors.js

-  const args = {
-    isOpen,
-    onToggle: toggle,
-    onClose: close
-  };
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('components-dropdown', className),
-    ref: containerRef // Some UAs focus the closest focusable parent when the toggle is
-    // clicked. Making this div focusable ensures such UAs will focus
-    // it and `closeIfFocusOutside` can tell if the toggle was clicked.
-    ,
-    tabIndex: "-1"
-  }, renderToggle(args), isOpen && Object(external_wp_element_["createElement"])(build_module_popover["a" /* default */], Object(esm_extends["a" /* default */])({
-    position: position,
-    onClose: close,
-    onFocusOutside: closeIfFocusOutside,
-    expandOnMobile: expandOnMobile,
-    headerTitle: headerTitle,
-    focusOnMount: focusOnMount
-  }, popoverProps, {
-    anchorRef: (_popoverProps$anchorR = popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.anchorRef) !== null && _popoverProps$anchorR !== void 0 ? _popoverProps$anchorR : containerRef.current,
-    className: classnames_default()('components-dropdown__content', popoverProps ? popoverProps.className : undefined, contentClassName)
-  }), renderContent(args)));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/circular-option-picker/index.js



+function pixelsToPercent(pixels, axis) {
+    return (pixels / (axis.max - axis.min)) * 100;
+}
 /**
- * External dependencies
+ * We always correct borderRadius as a percentage rather than pixels to reduce paints.
+ * For example, if you are projecting a box that is 100px wide with a 10px borderRadius
+ * into a box that is 200px wide with a 20px borderRadius, that is actually a 10%
+ * borderRadius in both states. If we animate between the two in pixels that will trigger
+ * a paint each time. If we animate between the two in percentage we'll avoid a paint.
  */
+function correctBorderRadius(latest, _layoutState, _a) {
+    var target = _a.target;
+    /**
+     * If latest is a string, if it's a percentage we can return immediately as it's
+     * going to be stretched appropriately. Otherwise, if it's a pixel, convert it to a number.
+     */
+    if (typeof latest === "string") {
+        if (px.test(latest)) {
+            latest = parseFloat(latest);
+        }
+        else {
+            return latest;
+        }
+    }
+    /**
+     * If latest is a number, it's a pixel value. We use the current viewportBox to calculate that
+     * pixel value as a percentage of each axis
+     */
+    var x = pixelsToPercent(latest, target.x);
+    var y = pixelsToPercent(latest, target.y);
+    return x + "% " + y + "%";
+}
+var varToken = "_$css";
+function correctBoxShadow(latest, _a) {
+    var delta = _a.delta, treeScale = _a.treeScale;
+    var original = latest;
+    /**
+     * We need to first strip and store CSS variables from the string.
+     */
+    var containsCSSVariables = latest.includes("var(");
+    var cssVariables = [];
+    if (containsCSSVariables) {
+        latest = latest.replace(cssVariableRegex, function (match) {
+            cssVariables.push(match);
+            return varToken;
+        });
+    }
+    var shadow = complex.parse(latest);
+    // TODO: Doesn't support multiple shadows
+    if (shadow.length > 5)
+        return original;
+    var template = complex.createTransformer(latest);
+    var offset = typeof shadow[0] !== "number" ? 1 : 0;
+    // Calculate the overall context scale
+    var xScale = delta.x.scale * treeScale.x;
+    var yScale = delta.y.scale * treeScale.y;
+    shadow[0 + offset] /= xScale;
+    shadow[1 + offset] /= yScale;
+    /**
+     * Ideally we'd correct x and y scales individually, but because blur and
+     * spread apply to both we have to take a scale average and apply that instead.
+     * We could potentially improve the outcome of this by incorporating the ratio between
+     * the two scales.
+     */
+    var averageScale = mix(xScale, yScale, 0.5);
+    // Blur
+    if (typeof shadow[2 + offset] === "number")
+        shadow[2 + offset] /= averageScale;
+    // Spread
+    if (typeof shadow[3 + offset] === "number")
+        shadow[3 + offset] /= averageScale;
+    var output = template(shadow);
+    if (containsCSSVariables) {
+        var i_1 = 0;
+        output = output.replace(varToken, function () {
+            var cssVariable = cssVariables[i_1];
+            i_1++;
+            return cssVariable;
+        });
+    }
+    return output;
+}
+var borderCorrectionDefinition = {
+    process: correctBorderRadius,
+};
+var defaultScaleCorrectors = {
+    borderRadius: __assign(__assign({}, borderCorrectionDefinition), { applyTo: [
+            "borderTopLeftRadius",
+            "borderTopRightRadius",
+            "borderBottomLeftRadius",
+            "borderBottomRightRadius",
+        ] }),
+    borderTopLeftRadius: borderCorrectionDefinition,
+    borderTopRightRadius: borderCorrectionDefinition,
+    borderBottomLeftRadius: borderCorrectionDefinition,
+    borderBottomRightRadius: borderCorrectionDefinition,
+    boxShadow: {
+        process: correctBoxShadow,
+    },
+};

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/layout/Animate.js





-function Option(_ref) {
-  let {
-    className,
-    isSelected,
-    selectedIconProps,
-    tooltipText,
-    ...additionalProps
-  } = _ref;
-  const optionButton = Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-    isPressed: isSelected,
-    className: "components-circular-option-picker__option"
-  }, additionalProps));
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()(className, 'components-circular-option-picker__option-wrapper')
-  }, tooltipText ? Object(external_wp_element_["createElement"])(build_module_tooltip["a" /* default */], {
-    text: tooltipText
-  }, optionButton) : optionButton, isSelected && Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], Object(esm_extends["a" /* default */])({
-    icon: check["a" /* default */]
-  }, selectedIconProps ? selectedIconProps : {})));
-}

-function DropdownLinkAction(_ref2) {
-  let {
-    buttonProps,
-    className,
-    dropdownProps,
-    linkText
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(Dropdown, Object(esm_extends["a" /* default */])({
-    className: classnames_default()('components-circular-option-picker__dropdown-link-action', className),
-    renderToggle: _ref3 => {
-      let {
-        isOpen,
-        onToggle
-      } = _ref3;
-      return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-        "aria-expanded": isOpen,
-        "aria-haspopup": "true",
-        onClick: onToggle,
-        variant: "link"
-      }, buttonProps), linkText);
-    }
-  }, dropdownProps));
-}

-function ButtonAction(_ref4) {
-  let {
-    className,
-    children,
-    ...additionalProps
-  } = _ref4;
-  return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-    className: classnames_default()('components-circular-option-picker__clear', className),
-    isSmall: true,
-    variant: "secondary"
-  }, additionalProps), children);
-}

-function CircularOptionPicker(_ref5) {
-  let {
-    actions,
-    className,
-    options,
-    children
-  } = _ref5;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('components-circular-option-picker', className)
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-circular-option-picker__swatches"
-  }, options), children, actions && Object(external_wp_element_["createElement"])("div", {
-    className: "components-circular-option-picker__custom-clear-wrapper"
-  }, actions));
-}
-CircularOptionPicker.Option = Option;
-CircularOptionPicker.ButtonAction = ButtonAction;
-CircularOptionPicker.DropdownLinkAction = DropdownLinkAction;

-// EXTERNAL MODULE: ./node_modules/colord/plugins/a11y.mjs
-var a11y = __webpack_require__("7bKH");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/heading/hook.js
-/**
- * Internal dependencies
- */

+var progressTarget = 1000;
+var Animate_Animate = /** @class */ (function (_super) {
+    __extends(Animate, _super);
+    function Animate() {
+        var _this = _super !== null && _super.apply(this, arguments) || this;
+        /**
+         * A mutable object that tracks the target viewport box
+         * for the current animation frame.
+         */
+        _this.frameTarget = axisBox();
+        /**
+         * The current animation target, we use this to check whether to start
+         * a new animation or continue the existing one.
+         */
+        _this.currentAnimationTarget = axisBox();
+        /**
+         * Track whether we're animating this axis.
+         */
+        _this.isAnimating = {
+            x: false,
+            y: false,
+        };
+        _this.stopAxisAnimation = {
+            x: undefined,
+            y: undefined,
+        };
+        _this.isAnimatingTree = false;
+        _this.animate = function (target, origin, _a) {
+            if (_a === void 0) { _a = {}; }
+            var originBox = _a.originBox, targetBox = _a.targetBox, visibilityAction = _a.visibilityAction, shouldStackAnimate = _a.shouldStackAnimate, onComplete = _a.onComplete, prevParent = _a.prevParent, config = __rest(_a, ["originBox", "targetBox", "visibilityAction", "shouldStackAnimate", "onComplete", "prevParent"]);
+            var _b = _this.props, visualElement = _b.visualElement, layout = _b.layout;
+            /**
+             * Early return if we've been instructed not to animate this render.
+             */
+            if (shouldStackAnimate === false) {
+                _this.isAnimatingTree = false;
+                return _this.safeToRemove();
+            }
+            /**
+             * Prioritise tree animations
+             */
+            if (_this.isAnimatingTree && shouldStackAnimate !== true) {
+                return;
+            }
+            else if (shouldStackAnimate) {
+                _this.isAnimatingTree = true;
+            }
+            /**
+             * Allow the measured origin (prev bounding box) and target (actual layout) to be
+             * overridden by the provided config.
+             */
+            origin = originBox || origin;
+            target = targetBox || target;
+            /**
+             * If this element has a projecting parent, there's an opportunity to animate
+             * it relatively to that parent rather than relatively to the viewport. This
+             * allows us to add orchestrated animations.
+             */
+            var isRelative = false;
+            var projectionParent = visualElement.getProjectionParent();
+            if (projectionParent) {
+                var prevParentViewportBox = projectionParent.prevViewportBox;
+                var parentLayout = projectionParent.getLayoutState().layout;
+                /**
+                 * If we're being provided a previous parent VisualElement by AnimateSharedLayout
+                 */
+                if (prevParent) {
+                    /**
+                     * If we've been provided an explicit target box it means we're animating back
+                     * to this previous parent. So we can make a relative box by comparing to the previous
+                     * parent's layout
+                     */
+                    if (targetBox) {
+                        parentLayout = prevParent.getLayoutState().layout;
+                    }
+                    /**
+                     * Likewise if we've been provided an explicit origin box it means we're
+                     * animating out from a different element. So we should figure out where that was
+                     * on screen relative to the new parent element.
+                     */
+                    if (originBox &&
+                        !checkIfParentHasChanged(prevParent, projectionParent) &&
+                        prevParent.prevViewportBox) {
+                        prevParentViewportBox = prevParent.prevViewportBox;
+                    }
+                }
+                if (prevParentViewportBox &&
+                    isProvidedCorrectDataForRelativeSharedLayout(prevParent, originBox, targetBox)) {
+                    isRelative = true;
+                    origin = calcRelativeOffset(prevParentViewportBox, origin);
+                    target = calcRelativeOffset(parentLayout, target);
+                }
+            }
+            var boxHasMoved = hasMoved(origin, target);
+            var animations = eachAxis(function (axis) {
+                var _a, _b;
+                /**
+                 * If layout is set to "position", we can resize the origin box based on the target
+                 * box and only animate its position.
+                 */
+                if (layout === "position") {
+                    var targetLength = target[axis].max - target[axis].min;
+                    origin[axis].max = origin[axis].min + targetLength;
+                }
+                if (visualElement.projection.isTargetLocked) {
+                    return;
+                }
+                else if (visibilityAction !== undefined) {
+                    visualElement.setVisibility(visibilityAction === VisibilityAction.Show);
+                }
+                else if (boxHasMoved) {
+                    // If the box has moved, animate between it's current visual state and its
+                    // final state
+                    return _this.animateAxis(axis, target[axis], origin[axis], __assign(__assign({}, config), { isRelative: isRelative }));
+                }
+                else {
+                    (_b = (_a = _this.stopAxisAnimation)[axis]) === null || _b === void 0 ? void 0 : _b.call(_a);
+                    // If the box has remained in the same place, immediately set the axis target
+                    // to the final desired state
+                    return visualElement.setProjectionTargetAxis(axis, target[axis].min, target[axis].max, isRelative);
+                }
+            });
+            // Force a render to ensure there's no flash of uncorrected bounding box.
+            visualElement.syncRender();
+            /**
+             * If this visualElement isn't present (ie it's been removed from the tree by the user but
+             * kept in by the tree by AnimatePresence) then call safeToRemove when all axis animations
+             * have successfully finished.
+             */
+            return Promise.all(animations).then(function () {
+                _this.isAnimatingTree = false;
+                onComplete && onComplete();
+                visualElement.notifyLayoutAnimationComplete();
+            });
+        };
+        return _this;
+    }
+    Animate.prototype.componentDidMount = function () {
+        var _this = this;
+        var visualElement = this.props.visualElement;
+        visualElement.animateMotionValue = startAnimation;
+        visualElement.enableLayoutProjection();
+        this.unsubLayoutReady = visualElement.onLayoutUpdate(this.animate);
+        visualElement.layoutSafeToRemove = function () { return _this.safeToRemove(); };
+        addScaleCorrection(defaultScaleCorrectors);
+    };
+    Animate.prototype.componentWillUnmount = function () {
+        var _this = this;
+        this.unsubLayoutReady();
+        eachAxis(function (axis) { var _a, _b; return (_b = (_a = _this.stopAxisAnimation)[axis]) === null || _b === void 0 ? void 0 : _b.call(_a); });
+    };
+    /**
+     * TODO: This manually performs animations on the visualElement's layout progress
+     * values. It'd be preferable to amend the startLayoutAxisAnimation
+     * API to accept more custom animations like this.
+     */
+    Animate.prototype.animateAxis = function (axis, target, origin, _a) {
+        var _this = this;
+        var _b, _c;
+        var _d = _a === void 0 ? {} : _a, transition = _d.transition, isRelative = _d.isRelative;
+        /**
+         * If we're not animating to a new target, don't run this animation
+         */
+        if (this.isAnimating[axis] &&
+            axisIsEqual(target, this.currentAnimationTarget[axis])) {
+            return;
+        }
+        (_c = (_b = this.stopAxisAnimation)[axis]) === null || _c === void 0 ? void 0 : _c.call(_b);
+        this.isAnimating[axis] = true;
+        var visualElement = this.props.visualElement;
+        var frameTarget = this.frameTarget[axis];
+        var layoutProgress = visualElement.getProjectionAnimationProgress()[axis];
+        /**
+         * Set layout progress back to 0. We set it twice to hard-reset any velocity that might
+         * be re-incoporated into a subsequent spring animation.
+         */
+        layoutProgress.clearListeners();
+        layoutProgress.set(0);
+        layoutProgress.set(0);
+        /**
+         * Create an animation function to run once per frame. This will tween the visual bounding box from
+         * origin to target using the latest progress value.
+         */
+        var frame = function () {
+            // Convert the latest layoutProgress, which is a value from 0-1000, into a 0-1 progress
+            var p = layoutProgress.get() / progressTarget;
+            // Tween the axis and update the visualElement with the latest values
+            tweenAxis(frameTarget, origin, target, p);
+            visualElement.setProjectionTargetAxis(axis, frameTarget.min, frameTarget.max, isRelative);
+        };
+        // Synchronously run a frame to ensure there's no flash of the uncorrected bounding box.
+        frame();
+        // Create a function to stop animation on this specific axis
+        var unsubscribeProgress = layoutProgress.onChange(frame);
+        this.stopAxisAnimation[axis] = function () {
+            _this.isAnimating[axis] = false;
+            layoutProgress.stop();
+            unsubscribeProgress();
+        };
+        this.currentAnimationTarget[axis] = target;
+        var layoutTransition = transition ||
+            visualElement.getDefaultTransition() ||
+            defaultLayoutTransition;
+        // Start the animation on this axis
+        var animation = startAnimation(axis === "x" ? "layoutX" : "layoutY", layoutProgress, progressTarget, layoutTransition && getValueTransition(layoutTransition, "layout")).then(this.stopAxisAnimation[axis]);
+        return animation;
+    };
+    Animate.prototype.safeToRemove = function () {
+        var _a, _b;
+        (_b = (_a = this.props).safeToRemove) === null || _b === void 0 ? void 0 : _b.call(_a);
+    };
+    Animate.prototype.render = function () {
+        return null;
+    };
+    return Animate;
+}(external_React_.Component));
+function AnimateLayoutContextProvider(props) {
+    var _a = tslib_es6_read(usePresence(), 2), safeToRemove = _a[1];
+    return external_React_.createElement(Animate_Animate, __assign({}, props, { safeToRemove: safeToRemove }));
+}
+function hasMoved(a, b) {
+    return (!isZeroBox(a) &&
+        !isZeroBox(b) &&
+        (!axisIsEqual(a.x, b.x) || !axisIsEqual(a.y, b.y)));
+}
+var zeroAxis = { min: 0, max: 0 };
+function isZeroBox(a) {
+    return axisIsEqual(a.x, zeroAxis) && axisIsEqual(a.y, zeroAxis);
+}
+function axisIsEqual(a, b) {
+    return a.min === b.min && a.max === b.max;
+}
+var defaultLayoutTransition = {
+    duration: 0.45,
+    ease: [0.4, 0, 0.1, 1],
+};
+function isProvidedCorrectDataForRelativeSharedLayout(prevParent, originBox, targetBox) {
+    return prevParent || (!prevParent && !(originBox || targetBox));
+}



-function useHeading(props) {
-  const {
-    as: asProp,
-    level = 2,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Heading');
-  const as = asProp || `h${level}`;
-  const a11yProps = {};
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimateSharedLayout/utils/batcher.js

-  if (typeof as === 'string' && as[0] !== 'h') {
-    // if not a semantic `h` element, add a11y props:
-    a11yProps.role = 'heading';
-    a11yProps['aria-level'] = typeof level === 'string' ? parseInt(level) : level;
-  }

-  const textProps = useText({
-    color: COLORS.darkGray.heading,
-    size: getHeadingFontSize(level),
-    isBlock: true,
-    weight: config_values.fontWeightHeading,
-    ...otherProps
-  });
-  return { ...textProps,
-    ...a11yProps,
-    as
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/heading/component.js



-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports

 /**
- * Internal dependencies
+ * Default handlers for batching VisualElements
  */
-
-
-
-
-function Heading(props, forwardedRef) {
-  const headerProps = useHeading(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, headerProps, {
-    ref: forwardedRef
-  }));
-}
+var defaultHandler = {
+    layoutReady: function (child) { return child.notifyLayoutReady(); },
+};
 /**
- * `Heading` renders headings and titles using the library's typography system.
- *
- * @example
- * ```jsx
- * import { Heading } from `@wordpress/components`
- *
- * function Example() {
- *   return <Heading>Code is Poetry</Heading>;
- * }
- * ```
+ * Create a batcher to process VisualElements
  */
+function createBatcher() {
+    var queue = new Set();
+    return {
+        add: function (child) { return queue.add(child); },
+        flush: function (_a) {
+            var _b = _a === void 0 ? defaultHandler : _a, layoutReady = _b.layoutReady, parent = _b.parent;
+            batchLayout(function (read, write) {
+                var order = Array.from(queue).sort(compareByDepth);
+                var ancestors = parent
+                    ? collectProjectingAncestors(parent)
+                    : [];
+                write(function () {
+                    var allElements = tslib_es6_spreadArray(tslib_es6_spreadArray([], tslib_es6_read(ancestors)), tslib_es6_read(order));
+                    allElements.forEach(function (element) { return element.resetTransform(); });
+                });
+                read(function () {
+                    order.forEach(updateLayoutMeasurement);
+                });
+                write(function () {
+                    ancestors.forEach(function (element) { return element.restoreTransform(); });
+                    order.forEach(layoutReady);
+                });
+                read(function () {
+                    /**
+                     * After all children have started animating, ensure any Entering components are set to Present.
+                     * If we add deferred animations (set up all animations and then start them in two loops) this
+                     * could be moved to the start loop. But it needs to happen after all the animations configs
+                     * are generated in AnimateSharedLayout as this relies on presence data
+                     */
+                    order.forEach(function (child) {
+                        if (child.isPresent)
+                            child.presence = Presence.Present;
+                    });
+                });
+                write(function () {
+                    /**
+                     * Starting these animations will have queued jobs on the frame loop. In some situations,
+                     * like when removing an element, these will be processed too late after the DOM is manipulated,
+                     * leaving a flash of incorrectly-projected content. By manually flushing these jobs
+                     * we ensure there's no flash.
+                     */
+                    flushSync.preRender();
+                    flushSync.render();
+                });
+                read(function () {
+                    /**
+                     * Schedule a callback at the end of the following frame to assign the latest projection
+                     * box to the prevViewportBox snapshot. Once global batching is in place this could be run
+                     * synchronously. But for now it ensures that if any nested `AnimateSharedLayout` top-level
+                     * child attempts to calculate its previous relative position against a prevViewportBox
+                     * it will be against its latest projection box instead, as the snapshot is useless beyond this
+                     * render.
+                     */
+                    es.postRender(function () {
+                        return order.forEach(assignProjectionToSnapshot);
+                    });
+                    queue.clear();
+                });
+            });
+            // TODO: Need to find a layout-synchronous way of flushing this
+            flushLayout();
+        },
+    };
+}
+function assignProjectionToSnapshot(child) {
+    child.prevViewportBox = child.projection.target;
+}


-const ConnectedHeading = Object(context_connect["a" /* contextConnect */])(Heading, 'Heading');
-/* harmony default export */ var heading_component = (ConnectedHeading);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-palette/styles.js

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/context/SharedLayoutContext.js

-function color_palette_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/**
- * External dependencies
- */

+var SharedLayoutContext = (0,external_React_.createContext)(createBatcher());
 /**
- * Internal dependencies
+ * @internal
  */
-
-const ColorHeading = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(heading_component,  true ? {
-  target: "e1uu5br00"
-} : undefined)( true ? {
-  name: "13lxv2o",
-  styles: "text-transform:uppercase;line-height:24px;font-weight:500;&&&{font-size:11px;margin-bottom:0;}"
-} : undefined);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-palette/index.js
+var FramerTreeLayoutContext = (0,external_React_.createContext)(createBatcher());
+function isSharedLayout(context) {
+    return !!context.forceUpdate;
+}



-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/layout/Measure.js





 /**
- * WordPress dependencies
+ * This component is responsible for scheduling the measuring of the motion component
  */
+var Measure = /** @class */ (function (_super) {
+    __extends(Measure, _super);
+    function Measure() {
+        return _super !== null && _super.apply(this, arguments) || this;
+    }
+    /**
+     * If this is a child of a SyncContext, register the VisualElement with it on mount.
+     */
+    Measure.prototype.componentDidMount = function () {
+        var _a = this.props, syncLayout = _a.syncLayout, framerSyncLayout = _a.framerSyncLayout, visualElement = _a.visualElement;
+        isSharedLayout(syncLayout) && syncLayout.register(visualElement);
+        isSharedLayout(framerSyncLayout) &&
+            framerSyncLayout.register(visualElement);
+        visualElement.onUnmount(function () {
+            if (isSharedLayout(syncLayout)) {
+                syncLayout.remove(visualElement);
+            }
+            if (isSharedLayout(framerSyncLayout)) {
+                framerSyncLayout.remove(visualElement);
+            }
+        });
+    };
+    /**
+     * If this is a child of a SyncContext, notify it that it needs to re-render. It will then
+     * handle the snapshotting.
+     *
+     * If it is stand-alone component, add it to the batcher.
+     */
+    Measure.prototype.getSnapshotBeforeUpdate = function () {
+        var _a = this.props, syncLayout = _a.syncLayout, visualElement = _a.visualElement;
+        if (isSharedLayout(syncLayout)) {
+            syncLayout.syncUpdate();
+        }
+        else {
+            snapshotViewportBox(visualElement);
+            syncLayout.add(visualElement);
+        }
+        return null;
+    };
+    Measure.prototype.componentDidUpdate = function () {
+        var syncLayout = this.props.syncLayout;
+        if (!isSharedLayout(syncLayout))
+            syncLayout.flush();
+    };
+    Measure.prototype.render = function () {
+        return null;
+    };
+    return Measure;
+}((external_React_default()).Component));
+function MeasureContextProvider(props) {
+    var syncLayout = (0,external_React_.useContext)(SharedLayoutContext);
+    var framerSyncLayout = (0,external_React_.useContext)(FramerTreeLayoutContext);
+    return (external_React_default().createElement(Measure, __assign({}, props, { syncLayout: syncLayout, framerSyncLayout: framerSyncLayout })));
+}



-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/layout/index.js



+var layoutAnimations = {
+    measureLayout: MeasureContextProvider,
+    layoutAnimation: AnimateLayoutContextProvider,
+};



-Object(colord["b" /* extend */])([names["a" /* default */], a11y["a" /* default */]]);
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/state.js

-function SinglePalette(_ref) {
-  let {
-    className,
-    clearColor,
-    colors,
-    onChange,
-    value,
-    actions
-  } = _ref;
-  const colorOptions = Object(external_wp_element_["useMemo"])(() => {
-    return Object(external_lodash_["map"])(colors, _ref2 => {
-      let {
-        color,
-        name
-      } = _ref2;
-      const colordColor = Object(colord["a" /* colord */])(color);
-      return Object(external_wp_element_["createElement"])(CircularOptionPicker.Option, {
-        key: color,
-        isSelected: value === color,
-        selectedIconProps: value === color ? {
-          fill: colordColor.contrast() > colordColor.contrast('#000') ? '#fff' : '#000'
-        } : {},
-        tooltipText: name || // translators: %s: color hex code e.g: "#f00".
-        Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Color code: %s'), color),
-        style: {
-          backgroundColor: color,
-          color
-        },
-        onClick: value === color ? clearColor : () => onChange(color),
-        "aria-label": name ? // translators: %s: The name of the color e.g: "vivid red".
-        Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Color: %s'), name) : // translators: %s: color hex code e.g: "#f00".
-        Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Color code: %s'), color)
-      });
-    });
-  }, [colors, value, onChange, clearColor]);
-  return Object(external_wp_element_["createElement"])(CircularOptionPicker, {
-    className: className,
-    options: colorOptions,
-    actions: actions
-  });
-}

-function MultiplePalettes(_ref3) {
-  let {
-    className,
-    clearColor,
-    colors,
-    onChange,
-    value,
-    actions
-  } = _ref3;
-  return Object(external_wp_element_["createElement"])(v_stack_component, {
-    spacing: 3,
-    className: className
-  }, colors.map((_ref4, index) => {
-    let {
-      name,
-      colors: colorPalette
-    } = _ref4;
-    return Object(external_wp_element_["createElement"])(v_stack_component, {
-      spacing: 2,
-      key: index
-    }, Object(external_wp_element_["createElement"])(ColorHeading, null, name), Object(external_wp_element_["createElement"])(SinglePalette, {
-      clearColor: clearColor,
-      colors: colorPalette,
-      onChange: onChange,
-      value: value,
-      actions: colors.length === index + 1 ? actions : null
-    }));
-  }));
+var createProjectionState = function () { return ({
+    isEnabled: false,
+    isHydrated: false,
+    isTargetLocked: false,
+    target: axisBox(),
+    targetFinal: axisBox(),
+}); };
+function createLayoutState() {
+    return {
+        isHydrated: false,
+        layout: axisBox(),
+        layoutCorrected: axisBox(),
+        treeScale: { x: 1, y: 1 },
+        delta: delta(),
+        deltaFinal: delta(),
+        deltaTransform: "",
+    };
 }
+var zeroLayout = createLayoutState();

-function CustomColorPickerDropdown(_ref5) {
-  let {
-    isRenderedInSidebar,
-    ...props
-  } = _ref5;
-  return Object(external_wp_element_["createElement"])(Dropdown, Object(esm_extends["a" /* default */])({
-    contentClassName: classnames_default()('components-color-palette__custom-color-dropdown-content', {
-      'is-rendered-in-sidebar': isRenderedInSidebar
-    })
-  }, props));
-}
-function ColorPalette(_ref6) {
-  let {
-    clearable = true,
-    className,
-    colors,
-    disableCustomColors = false,
-    enableAlpha,
-    onChange,
-    value,
-    __experimentalHasMultipleOrigins = false,
-    __experimentalIsRenderedInSidebar = false
-  } = _ref6;
-  const clearColor = Object(external_wp_element_["useCallback"])(() => onChange(undefined), [onChange]);
-  const Component = __experimentalHasMultipleOrigins && colors !== null && colors !== void 0 && colors.length ? MultiplePalettes : SinglePalette;

-  const renderCustomColorPicker = () => Object(external_wp_element_["createElement"])(LegacyAdapter, {
-    color: value,
-    onChange: color => onChange(color),
-    enableAlpha: enableAlpha
-  });

-  let dropdownPosition;
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/utils/build-projection-transform.js

-  if (__experimentalIsRenderedInSidebar) {
-    dropdownPosition = 'bottom left';
-  }

-  const colordColor = Object(colord["a" /* colord */])(value);
-  return Object(external_wp_element_["createElement"])(v_stack_component, {
-    spacing: 3,
-    className: className
-  }, !disableCustomColors && Object(external_wp_element_["createElement"])(CustomColorPickerDropdown, {
-    position: dropdownPosition,
-    isRenderedInSidebar: __experimentalIsRenderedInSidebar,
-    renderContent: renderCustomColorPicker,
-    renderToggle: _ref7 => {
-      let {
-        isOpen,
-        onToggle
-      } = _ref7;
-      return Object(external_wp_element_["createElement"])("button", {
-        className: "components-color-palette__custom-color",
-        "aria-expanded": isOpen,
-        "aria-haspopup": "true",
-        onClick: onToggle,
-        "aria-label": Object(external_wp_i18n_["__"])('Custom color picker'),
-        style: {
-          background: value,
-          color: colordColor.contrast() > colordColor.contrast('#000') ? '#fff' : '#000'
-        }
-      }, value);
+/**
+ * Build a transform style that takes a calculated delta between the element's current
+ * space on screen and projects it into the desired space.
+ */
+function buildLayoutProjectionTransform(_a, treeScale, latestTransform) {
+    var x = _a.x, y = _a.y;
+    /**
+     * The translations we use to calculate are always relative to the viewport coordinate space.
+     * But when we apply scales, we also scale the coordinate space of an element and its children.
+     * For instance if we have a treeScale (the culmination of all parent scales) of 0.5 and we need
+     * to move an element 100 pixels, we actually need to move it 200 in within that scaled space.
+     */
+    var xTranslate = x.translate / treeScale.x;
+    var yTranslate = y.translate / treeScale.y;
+    var transform = "translate3d(" + xTranslate + "px, " + yTranslate + "px, 0) ";
+    if (latestTransform) {
+        var rotate = latestTransform.rotate, rotateX = latestTransform.rotateX, rotateY = latestTransform.rotateY;
+        if (rotate)
+            transform += "rotate(" + rotate + ") ";
+        if (rotateX)
+            transform += "rotateX(" + rotateX + ") ";
+        if (rotateY)
+            transform += "rotateY(" + rotateY + ") ";
     }
-  }), Object(external_wp_element_["createElement"])(Component, {
-    clearable: clearable,
-    clearColor: clearColor,
-    colors: colors,
-    onChange: onChange,
-    value: value,
-    actions: !!clearable && Object(external_wp_element_["createElement"])(CircularOptionPicker.ButtonAction, {
-      onClick: clearColor
-    }, Object(external_wp_i18n_["__"])('Clear'))
-  }));
+    transform += "scale(" + x.scale + ", " + y.scale + ")";
+    return !latestTransform && transform === identityProjection ? "" : transform;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-bar/constants.js
-const GRADIENT_MARKERS_WIDTH = 16;
-const INSERT_POINT_WIDTH = 16;
-const MINIMUM_ABSOLUTE_LEFT_POSITION = 5;
-const MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT = 10;
-const MINIMUM_DISTANCE_BETWEEN_POINTS = 0;
-const MINIMUM_SIGNIFICANT_MOVE = 5;
-const KEYBOARD_CONTROL_POINT_VARIATION = MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT;
-const MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_MARKER = (INSERT_POINT_WIDTH + GRADIENT_MARKERS_WIDTH) / 2;
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-bar/utils.js
 /**
- * Internal dependencies
+ * Take the calculated delta origin and apply it as a transform string.
  */
+function buildLayoutProjectionTransformOrigin(_a) {
+    var deltaFinal = _a.deltaFinal;
+    return deltaFinal.x.origin * 100 + "% " + deltaFinal.y.origin * 100 + "% 0";
+}
+var identityProjection = buildLayoutProjectionTransform(zeroLayout.delta, zeroLayout.treeScale, { x: 1, y: 1 });

-/**
- * Control point for the gradient bar.
- *
- * @typedef {Object} ControlPoint
- * @property {string} color    Color of the control point.
- * @property {number} position Integer position of the control point as a percentage.
- */

-/**
- * Color as parsed from the gradient by gradient-parser.
- *
- * @typedef {Object} Color
- * @property {string} r   Red component.
- * @property {string} g   Green component.
- * @property {string} b   Green component.
- * @property {string} [a] Optional alpha component.
- */

-/**
- * Clamps a number between 0 and 100.
- *
- * @param {number} value Value to clamp.
- *
- * @return {number} Value clamped between 0 and 100.
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/lifecycles.js

-function clampPercent(value) {
-  return Math.max(0, Math.min(100, value));
-}
-/**
- * Check if a control point is overlapping with another.
- *
- * @param {ControlPoint[]} value        Array of control points.
- * @param {number}         initialIndex Index of the position to test.
- * @param {number}         newPosition  New position of the control point.
- * @param {number}         minDistance  Distance considered to be overlapping.
- *
- * @return {boolean} True if the point is overlapping.
- */

-function isOverlapping(value, initialIndex, newPosition) {
-  let minDistance = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : MINIMUM_DISTANCE_BETWEEN_POINTS;
-  const initialPosition = value[initialIndex].position;
-  const minPosition = Math.min(initialPosition, newPosition);
-  const maxPosition = Math.max(initialPosition, newPosition);
-  return value.some((_ref, index) => {
-    let {
-      position
-    } = _ref;
-    return index !== initialIndex && (Math.abs(position - newPosition) < minDistance || minPosition < position && position < maxPosition);
-  });
-}
-/**
- * Adds a control point from an array and returns the new array.
- *
- * @param {ControlPoint[]} points   Array of control points.
- * @param {number}         position Position to insert the new point.
- * @param {Color}          color    Color to update the control point at index.
- *
- * @return {ControlPoint[]} New array of control points.
- */

-function addControlPoint(points, position, color) {
-  const nextIndex = points.findIndex(point => point.position > position);
-  const newPoint = {
-    color,
-    position
-  };
-  const newPoints = points.slice();
-  newPoints.splice(nextIndex - 1, 0, newPoint);
-  return newPoints;
+var lifecycles_names = [
+    "LayoutMeasure",
+    "BeforeLayoutMeasure",
+    "LayoutUpdate",
+    "ViewportBoxUpdate",
+    "Update",
+    "Render",
+    "AnimationComplete",
+    "LayoutAnimationComplete",
+    "AnimationStart",
+    "SetAxisTarget",
+    "Unmount",
+];
+function createLifecycles() {
+    var managers = lifecycles_names.map(function () { return new SubscriptionManager(); });
+    var propSubscriptions = {};
+    var lifecycles = {
+        clearAllListeners: function () { return managers.forEach(function (manager) { return manager.clear(); }); },
+        updatePropListeners: function (props) {
+            return lifecycles_names.forEach(function (name) {
+                var _a;
+                (_a = propSubscriptions[name]) === null || _a === void 0 ? void 0 : _a.call(propSubscriptions);
+                var on = "on" + name;
+                var propListener = props[on];
+                if (propListener) {
+                    propSubscriptions[name] = lifecycles[on](propListener);
+                }
+            });
+        },
+    };
+    managers.forEach(function (manager, i) {
+        lifecycles["on" + lifecycles_names[i]] = function (handler) { return manager.add(handler); };
+        lifecycles["notify" + lifecycles_names[i]] = function () {
+            var args = [];
+            for (var _i = 0; _i < arguments.length; _i++) {
+                args[_i] = arguments[_i];
+            }
+            return manager.notify.apply(manager, tslib_es6_spreadArray([], tslib_es6_read(args)));
+        };
+    });
+    return lifecycles;
 }
-/**
- * Removes a control point from an array and returns the new array.
- *
- * @param {ControlPoint[]} points Array of control points.
- * @param {number}         index  Index to remove.
- *
- * @return {ControlPoint[]} New array of control points.
- */

-function removeControlPoint(points, index) {
-  return points.filter((point, pointIndex) => {
-    return pointIndex !== index;
-  });
-}
-/**
- * Updates a control point from an array and returns the new array.
- *
- * @param {ControlPoint[]} points   Array of control points.
- * @param {number}         index    Index to update.
- * @param {ControlPoint[]} newPoint New control point to replace the index.
- *
- * @return {ControlPoint[]} New array of control points.
- */

-function updateControlPoint(points, index, newPoint) {
-  const newValue = points.slice();
-  newValue[index] = newPoint;
-  return newValue;
-}
-/**
- * Updates the position of a control point from an array and returns the new array.
- *
- * @param {ControlPoint[]} points      Array of control points.
- * @param {number}         index       Index to update.
- * @param {number}         newPosition Position to move the control point at index.
- *
- * @return {ControlPoint[]} New array of control points.
- */

-function updateControlPointPosition(points, index, newPosition) {
-  if (isOverlapping(points, index, newPosition)) {
-    return points;
-  }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/motion-values.js

-  const newPoint = { ...points[index],
-    position: newPosition
-  };
-  return updateControlPoint(points, index, newPoint);
-}
-/**
- * Updates the position of a control point from an array and returns the new array.
- *
- * @param {ControlPoint[]} points   Array of control points.
- * @param {number}         index    Index to update.
- * @param {Color}          newColor Color to update the control point at index.
- *
- * @return {ControlPoint[]} New array of control points.
- */

-function updateControlPointColor(points, index, newColor) {
-  const newPoint = { ...points[index],
-    color: newColor
-  };
-  return updateControlPoint(points, index, newPoint);
-}
-/**
- * Updates the position of a control point from an array and returns the new array.
- *
- * @param {ControlPoint[]} points   Array of control points.
- * @param {number}         position Position of the color stop.
- * @param {string}         newColor Color to update the control point at index.
- *
- * @return {ControlPoint[]} New array of control points.
- */

-function updateControlPointColorByPosition(points, position, newColor) {
-  const index = points.findIndex(point => point.position === position);
-  return updateControlPointColor(points, index, newColor);
+function updateMotionValuesFromProps(element, next, prev) {
+    var _a;
+    for (var key in next) {
+        var nextValue = next[key];
+        var prevValue = prev[key];
+        if (isMotionValue(nextValue)) {
+            /**
+             * If this is a motion value found in props or style, we want to add it
+             * to our visual element's motion value map.
+             */
+            element.addValue(key, nextValue);
+        }
+        else if (isMotionValue(prevValue)) {
+            /**
+             * If we're swapping to a new motion value, create a new motion value
+             * from that
+             */
+            element.addValue(key, motionValue(nextValue));
+        }
+        else if (prevValue !== nextValue) {
+            /**
+             * If this is a flat value that has changed, update the motion value
+             * or create one if it doesn't exist. We only want to do this if we're
+             * not handling the value with our animation state.
+             */
+            if (element.hasValue(key)) {
+                var existingValue = element.getValue(key);
+                // TODO: Only update values that aren't being animated or even looked at
+                !existingValue.hasAnimated && existingValue.set(nextValue);
+            }
+            else {
+                element.addValue(key, motionValue((_a = element.getStaticValue(key)) !== null && _a !== void 0 ? _a : nextValue));
+            }
+        }
+    }
+    // Handle removed values
+    for (var key in prev) {
+        if (next[key] === undefined)
+            element.removeValue(key);
+    }
+    return next;
+}
+
+
+
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/projection.js
+
+
+
+function updateLayoutDeltas(_a, _b, treePath, transformOrigin) {
+    var delta = _a.delta, layout = _a.layout, layoutCorrected = _a.layoutCorrected, treeScale = _a.treeScale;
+    var target = _b.target;
+    /**
+     * Reset the corrected box with the latest values from box, as we're then going
+     * to perform mutative operations on it.
+     */
+    resetBox(layoutCorrected, layout);
+    /**
+     * Apply all the parent deltas to this box to produce the corrected box. This
+     * is the layout box, as it will appear on screen as a result of the transforms of its parents.
+     */
+    applyTreeDeltas(layoutCorrected, treeScale, treePath);
+    /**
+     * Update the delta between the corrected box and the target box before user-set transforms were applied.
+     * This will allow us to calculate the corrected borderRadius and boxShadow to compensate
+     * for our layout reprojection, but still allow them to be scaled correctly by the user.
+     * It might be that to simplify this we may want to accept that user-set scale is also corrected
+     * and we wouldn't have to keep and calc both deltas, OR we could support a user setting
+     * to allow people to choose whether these styles are corrected based on just the
+     * layout reprojection or the final bounding box.
+     */
+    updateBoxDelta(delta, layoutCorrected, target, transformOrigin);
 }
-/**
- * Gets the horizontal coordinate when dragging a control point with the mouse.
- *
- * @param {number}  mouseXCoordinate       Horizontal coordinate of the mouse position.
- * @param {Element} containerElement       Container for the gradient picker.
- * @param {number}  positionedElementWidth Width of the positioned element.
- *
- * @return {number} Whole number percentage from the left.
- */

-function getHorizontalRelativeGradientPosition(mouseXCoordinate, containerElement, positionedElementWidth) {
-  if (!containerElement) {
-    return;
-  }

-  const {
-    x,
-    width
-  } = containerElement.getBoundingClientRect();
-  const absolutePositionValue = mouseXCoordinate - x - MINIMUM_ABSOLUTE_LEFT_POSITION - positionedElementWidth / 2;
-  const availableWidth = width - MINIMUM_ABSOLUTE_LEFT_POSITION - INSERT_POINT_WIDTH;
-  return Math.round(clampPercent(absolutePositionValue * 100 / availableWidth));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-bar/control-points.js
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/utils/flat-tree.js



-/**
- * External dependencies
- */
+var FlatTree = /** @class */ (function () {
+    function FlatTree() {
+        this.children = [];
+        this.isDirty = false;
+    }
+    FlatTree.prototype.add = function (child) {
+        addUniqueItem(this.children, child);
+        this.isDirty = true;
+    };
+    FlatTree.prototype.remove = function (child) {
+        removeItem(this.children, child);
+        this.isDirty = true;
+    };
+    FlatTree.prototype.forEach = function (callback) {
+        this.isDirty && this.children.sort(compareByDepth);
+        this.isDirty = false;
+        this.children.forEach(callback);
+    };
+    return FlatTree;
+}());


-/**
- * WordPress dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/projection/relative-set.js



+function setCurrentViewportBox(visualElement) {
+    var projectionParent = visualElement.getProjectionParent();
+    if (!projectionParent) {
+        visualElement.rebaseProjectionTarget();
+        return;
+    }
+    var relativeOffset = calcRelativeOffset(projectionParent.getLayoutState().layout, visualElement.getLayoutState().layout);
+    eachAxis(function (axis) {
+        visualElement.setProjectionTargetAxis(axis, relativeOffset[axis].min, relativeOffset[axis].max, true);
+    });
+}


-/**
- * Internal dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/index.js



@@ -39843,804 +33850,1217 @@ function getHorizontalRelativeGradientPosition(mouseXCoordinate, containerElemen



-function ControlPointButton(_ref) {
-  let {
-    isOpen,
-    position,
-    color,
-    ...additionalProps
-  } = _ref;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(ControlPointButton);
-  const descriptionId = `components-custom-gradient-picker__control-point-button-description-${instanceId}`;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-    "aria-label": Object(external_wp_i18n_["sprintf"])( // translators: %1$s: gradient position e.g: 70, %2$s: gradient color code e.g: rgb(52,121,151).
-    Object(external_wp_i18n_["__"])('Gradient control point at position %1$s%% with color code %2$s.'), position, color),
-    "aria-describedby": descriptionId,
-    "aria-haspopup": "true",
-    "aria-expanded": isOpen,
-    className: classnames_default()('components-custom-gradient-picker__control-point-button', {
-      'is-active': isOpen
-    }),
-    style: {
-      left: `${position}%`
-    }
-  }, additionalProps)), Object(external_wp_element_["createElement"])(component["a" /* default */], {
-    id: descriptionId
-  }, Object(external_wp_i18n_["__"])('Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.')));
-}

-function GradientColorPickerDropdown(_ref2) {
-  let {
-    isRenderedInSidebar,
-    gradientPickerDomRef,
-    ...props
-  } = _ref2;
-  const popoverProps = Object(external_wp_element_["useMemo"])(() => {
-    const result = {
-      className: 'components-custom-gradient-picker__color-picker-popover',
-      position: 'top'
-    };

-    if (isRenderedInSidebar) {
-      result.anchorRef = gradientPickerDomRef.current;
-      result.position = 'bottom left';
-    }

-    return result;
-  }, [gradientPickerDomRef.current, isRenderedInSidebar]);
-  return Object(external_wp_element_["createElement"])(CustomColorPickerDropdown, Object(esm_extends["a" /* default */])({
-    isRenderedInSidebar: isRenderedInSidebar,
-    popoverProps: popoverProps
-  }, props));
-}

-function ControlPoints(_ref3) {
-  let {
-    disableRemove,
-    disableAlpha,
-    gradientPickerDomRef,
-    ignoreMarkerPosition,
-    value: controlPoints,
-    onChange,
-    onStartControlPointChange,
-    onStopControlPointChange,
-    __experimentalIsRenderedInSidebar
-  } = _ref3;
-  const controlPointMoveState = Object(external_wp_element_["useRef"])();

-  const onMouseMove = event => {
-    const relativePosition = getHorizontalRelativeGradientPosition(event.clientX, gradientPickerDomRef.current, GRADIENT_MARKERS_WIDTH);
-    const {
-      initialPosition,
-      index,
-      significantMoveHappened
-    } = controlPointMoveState.current;

-    if (!significantMoveHappened && Math.abs(initialPosition - relativePosition) >= MINIMUM_SIGNIFICANT_MOVE) {
-      controlPointMoveState.current.significantMoveHappened = true;
-    }

-    onChange(updateControlPointPosition(controlPoints, index, relativePosition));
-  };

-  const cleanEventListeners = () => {
-    if (window && window.removeEventListener && controlPointMoveState.current && controlPointMoveState.current.listenersActivated) {
-      window.removeEventListener('mousemove', onMouseMove);
-      window.removeEventListener('mouseup', cleanEventListeners);
-      onStopControlPointChange();
-      controlPointMoveState.current.listenersActivated = false;
-    }
-  };

-  Object(external_wp_element_["useEffect"])(() => {
-    return () => {
-      cleanEventListeners();
+
+
+
+
+
+var visualElement = function (_a) {
+    var _b = _a.treeType, treeType = _b === void 0 ? "" : _b, build = _a.build, getBaseTarget = _a.getBaseTarget, makeTargetAnimatable = _a.makeTargetAnimatable, measureViewportBox = _a.measureViewportBox, renderInstance = _a.render, readValueFromInstance = _a.readValueFromInstance, resetTransform = _a.resetTransform, restoreTransform = _a.restoreTransform, removeValueFromRenderState = _a.removeValueFromRenderState, sortNodePosition = _a.sortNodePosition, scrapeMotionValuesFromProps = _a.scrapeMotionValuesFromProps;
+    return function (_a, options) {
+        var parent = _a.parent, props = _a.props, presenceId = _a.presenceId, blockInitialAnimation = _a.blockInitialAnimation, visualState = _a.visualState;
+        if (options === void 0) { options = {}; }
+        var latestValues = visualState.latestValues, renderState = visualState.renderState;
+        /**
+         * The instance of the render-specific node that will be hydrated by the
+         * exposed React ref. So for example, this visual element can host a
+         * HTMLElement, plain object, or Three.js object. The functions provided
+         * in VisualElementConfig allow us to interface with this instance.
+         */
+        var instance;
+        /**
+         * Manages the subscriptions for a visual element's lifecycle, for instance
+         * onRender and onViewportBoxUpdate.
+         */
+        var lifecycles = createLifecycles();
+        /**
+         *
+         */
+        var projection = createProjectionState();
+        /**
+         * A reference to the nearest projecting parent. This is either
+         * undefined if we haven't looked for the nearest projecting parent,
+         * false if there is no parent performing layout projection, or a reference
+         * to the projecting parent.
+         */
+        var projectionParent;
+        /**
+         * This is a reference to the visual state of the "lead" visual element.
+         * Usually, this will be this visual element. But if it shares a layoutId
+         * with other visual elements, only one of them will be designated lead by
+         * AnimateSharedLayout. All the other visual elements will take on the visual
+         * appearance of the lead while they crossfade to it.
+         */
+        var leadProjection = projection;
+        var leadLatestValues = latestValues;
+        var unsubscribeFromLeadVisualElement;
+        /**
+         * The latest layout measurements and calculated projections. This
+         * is seperate from the target projection data in visualState as
+         * many visual elements might point to the same piece of visualState as
+         * a target, whereas they might each have different layouts and thus
+         * projection calculations needed to project into the same viewport box.
+         */
+        var layoutState = createLayoutState();
+        /**
+         *
+         */
+        var crossfader;
+        /**
+         * Keep track of whether the viewport box has been updated since the
+         * last time the layout projection was re-calculated.
+         */
+        var hasViewportBoxUpdated = false;
+        /**
+         * A map of all motion values attached to this visual element. Motion
+         * values are source of truth for any given animated value. A motion
+         * value might be provided externally by the component via props.
+         */
+        var values = new Map();
+        /**
+         * A map of every subscription that binds the provided or generated
+         * motion values onChange listeners to this visual element.
+         */
+        var valueSubscriptions = new Map();
+        /**
+         * A reference to the previously-provided motion values as returned
+         * from scrapeMotionValuesFromProps. We use the keys in here to determine
+         * if any motion values need to be removed after props are updated.
+         */
+        var prevMotionValues = {};
+        /**
+         * x/y motion values that track the progress of initiated layout
+         * animations.
+         *
+         * TODO: Target for removal
+         */
+        var projectionTargetProgress;
+        /**
+         * When values are removed from all animation props we need to search
+         * for a fallback value to animate to. These values are tracked in baseTarget.
+         */
+        var baseTarget = __assign({}, latestValues);
+        // Internal methods ========================
+        /**
+         * On mount, this will be hydrated with a callback to disconnect
+         * this visual element from its parent on unmount.
+         */
+        var removeFromVariantTree;
+        /**
+         *
+         */
+        function render() {
+            if (!instance)
+                return;
+            if (element.isProjectionReady()) {
+                /**
+                 * Apply the latest user-set transforms to the targetBox to produce the targetBoxFinal.
+                 * This is the final box that we will then project into by calculating a transform delta and
+                 * applying it to the corrected box.
+                 */
+                applyBoxTransforms(leadProjection.targetFinal, leadProjection.target, leadLatestValues);
+                /**
+                 * Update the delta between the corrected box and the final target box, after
+                 * user-set transforms are applied to it. This will be used by the renderer to
+                 * create a transform style that will reproject the element from its actual layout
+                 * into the desired bounding box.
+                 */
+                updateBoxDelta(layoutState.deltaFinal, layoutState.layoutCorrected, leadProjection.targetFinal, latestValues);
+            }
+            triggerBuild();
+            renderInstance(instance, renderState);
+        }
+        function triggerBuild() {
+            var valuesToRender = latestValues;
+            if (crossfader && crossfader.isActive()) {
+                var crossfadedValues = crossfader.getCrossfadeState(element);
+                if (crossfadedValues)
+                    valuesToRender = crossfadedValues;
+            }
+            build(element, renderState, valuesToRender, leadProjection, layoutState, options, props);
+        }
+        function update() {
+            lifecycles.notifyUpdate(latestValues);
+        }
+        function updateLayoutProjection() {
+            if (!element.isProjectionReady())
+                return;
+            var delta = layoutState.delta, treeScale = layoutState.treeScale;
+            var prevTreeScaleX = treeScale.x;
+            var prevTreeScaleY = treeScale.y;
+            var prevDeltaTransform = layoutState.deltaTransform;
+            updateLayoutDeltas(layoutState, leadProjection, element.path, latestValues);
+            hasViewportBoxUpdated &&
+                element.notifyViewportBoxUpdate(leadProjection.target, delta);
+            hasViewportBoxUpdated = false;
+            var deltaTransform = buildLayoutProjectionTransform(delta, treeScale);
+            if (deltaTransform !== prevDeltaTransform ||
+                // Also compare calculated treeScale, for values that rely on this only for scale correction
+                prevTreeScaleX !== treeScale.x ||
+                prevTreeScaleY !== treeScale.y) {
+                element.scheduleRender();
+            }
+            layoutState.deltaTransform = deltaTransform;
+        }
+        function updateTreeLayoutProjection() {
+            element.layoutTree.forEach(fireUpdateLayoutProjection);
+        }
+        /**
+         *
+         */
+        function bindToMotionValue(key, value) {
+            var removeOnChange = value.onChange(function (latestValue) {
+                latestValues[key] = latestValue;
+                props.onUpdate && es.update(update, false, true);
+            });
+            var removeOnRenderRequest = value.onRenderRequest(element.scheduleRender);
+            valueSubscriptions.set(key, function () {
+                removeOnChange();
+                removeOnRenderRequest();
+            });
+        }
+        /**
+         * Any motion values that are provided to the element when created
+         * aren't yet bound to the element, as this would technically be impure.
+         * However, we iterate through the motion values and set them to the
+         * initial values for this component.
+         *
+         * TODO: This is impure and we should look at changing this to run on mount.
+         * Doing so will break some tests but this isn't neccessarily a breaking change,
+         * more a reflection of the test.
+         */
+        var initialMotionValues = scrapeMotionValuesFromProps(props);
+        for (var key in initialMotionValues) {
+            var value = initialMotionValues[key];
+            if (latestValues[key] !== undefined && isMotionValue(value)) {
+                value.set(latestValues[key], false);
+            }
+        }
+        /**
+         * Determine what role this visual element should take in the variant tree.
+         */
+        var isControllingVariants = checkIfControllingVariants(props);
+        var isVariantNode = checkIfVariantNode(props);
+        var element = __assign(__assign({ treeType: treeType,
+            /**
+             * This is a mirror of the internal instance prop, which keeps
+             * VisualElement type-compatible with React's RefObject.
+             */
+            current: null,
+            /**
+             * The depth of this visual element within the visual element tree.
+             */
+            depth: parent ? parent.depth + 1 : 0, parent: parent, children: new Set(),
+            /**
+             * An ancestor path back to the root visual element. This is used
+             * by layout projection to quickly recurse back up the tree.
+             */
+            path: parent ? tslib_es6_spreadArray(tslib_es6_spreadArray([], tslib_es6_read(parent.path)), [parent]) : [], layoutTree: parent ? parent.layoutTree : new FlatTree(),
+            /**
+             *
+             */
+            presenceId: presenceId,
+            projection: projection,
+            /**
+             * If this component is part of the variant tree, it should track
+             * any children that are also part of the tree. This is essentially
+             * a shadow tree to simplify logic around how to stagger over children.
+             */
+            variantChildren: isVariantNode ? new Set() : undefined,
+            /**
+             * Whether this instance is visible. This can be changed imperatively
+             * by AnimateSharedLayout, is analogous to CSS's visibility in that
+             * hidden elements should take up layout, and needs enacting by the configured
+             * render function.
+             */
+            isVisible: undefined,
+            /**
+             * Normally, if a component is controlled by a parent's variants, it can
+             * rely on that ancestor to trigger animations further down the tree.
+             * However, if a component is created after its parent is mounted, the parent
+             * won't trigger that mount animation so the child needs to.
+             *
+             * TODO: This might be better replaced with a method isParentMounted
+             */
+            manuallyAnimateOnMount: Boolean(parent === null || parent === void 0 ? void 0 : parent.isMounted()),
+            /**
+             * This can be set by AnimatePresence to force components that mount
+             * at the same time as it to mount as if they have initial={false} set.
+             */
+            blockInitialAnimation: blockInitialAnimation,
+            /**
+             * Determine whether this component has mounted yet. This is mostly used
+             * by variant children to determine whether they need to trigger their
+             * own animations on mount.
+             */
+            isMounted: function () { return Boolean(instance); }, mount: function (newInstance) {
+                instance = element.current = newInstance;
+                element.pointTo(element);
+                if (isVariantNode && parent && !isControllingVariants) {
+                    removeFromVariantTree = parent === null || parent === void 0 ? void 0 : parent.addVariantChild(element);
+                }
+                parent === null || parent === void 0 ? void 0 : parent.children.add(element);
+            },
+            /**
+             *
+             */
+            unmount: function () {
+                cancelSync.update(update);
+                cancelSync.render(render);
+                cancelSync.preRender(element.updateLayoutProjection);
+                valueSubscriptions.forEach(function (remove) { return remove(); });
+                element.stopLayoutAnimation();
+                element.layoutTree.remove(element);
+                removeFromVariantTree === null || removeFromVariantTree === void 0 ? void 0 : removeFromVariantTree();
+                parent === null || parent === void 0 ? void 0 : parent.children.delete(element);
+                unsubscribeFromLeadVisualElement === null || unsubscribeFromLeadVisualElement === void 0 ? void 0 : unsubscribeFromLeadVisualElement();
+                lifecycles.clearAllListeners();
+            },
+            /**
+             * Add a child visual element to our set of children.
+             */
+            addVariantChild: function (child) {
+                var _a;
+                var closestVariantNode = element.getClosestVariantNode();
+                if (closestVariantNode) {
+                    (_a = closestVariantNode.variantChildren) === null || _a === void 0 ? void 0 : _a.add(child);
+                    return function () { return closestVariantNode.variantChildren.delete(child); };
+                }
+            },
+            sortNodePosition: function (other) {
+                /**
+                 * If these nodes aren't even of the same type we can't compare their depth.
+                 */
+                if (!sortNodePosition || treeType !== other.treeType)
+                    return 0;
+                return sortNodePosition(element.getInstance(), other.getInstance());
+            },
+            /**
+             * Returns the closest variant node in the tree starting from
+             * this visual element.
+             */
+            getClosestVariantNode: function () {
+                return isVariantNode ? element : parent === null || parent === void 0 ? void 0 : parent.getClosestVariantNode();
+            },
+            /**
+             * A method that schedules an update to layout projections throughout
+             * the tree. We inherit from the parent so there's only ever one
+             * job scheduled on the next frame - that of the root visual element.
+             */
+            scheduleUpdateLayoutProjection: parent
+                ? parent.scheduleUpdateLayoutProjection
+                : function () {
+                    return es.preRender(element.updateTreeLayoutProjection, false, true);
+                },
+            /**
+             * Expose the latest layoutId prop.
+             */
+            getLayoutId: function () { return props.layoutId; },
+            /**
+             * Returns the current instance.
+             */
+            getInstance: function () { return instance; },
+            /**
+             * Get/set the latest static values.
+             */
+            getStaticValue: function (key) { return latestValues[key]; }, setStaticValue: function (key, value) { return (latestValues[key] = value); },
+            /**
+             * Returns the latest motion value state. Currently only used to take
+             * a snapshot of the visual element - perhaps this can return the whole
+             * visual state
+             */
+            getLatestValues: function () { return latestValues; },
+            /**
+             * Set the visiblity of the visual element. If it's changed, schedule
+             * a render to reflect these changes.
+             */
+            setVisibility: function (visibility) {
+                if (element.isVisible === visibility)
+                    return;
+                element.isVisible = visibility;
+                element.scheduleRender();
+            },
+            /**
+             * Make a target animatable by Popmotion. For instance, if we're
+             * trying to animate width from 100px to 100vw we need to measure 100vw
+             * in pixels to determine what we really need to animate to. This is also
+             * pluggable to support Framer's custom value types like Color,
+             * and CSS variables.
+             */
+            makeTargetAnimatable: function (target, canMutate) {
+                if (canMutate === void 0) { canMutate = true; }
+                return makeTargetAnimatable(element, target, props, canMutate);
+            },
+            // Motion values ========================
+            /**
+             * Add a motion value and bind it to this visual element.
+             */
+            addValue: function (key, value) {
+                // Remove existing value if it exists
+                if (element.hasValue(key))
+                    element.removeValue(key);
+                values.set(key, value);
+                latestValues[key] = value.get();
+                bindToMotionValue(key, value);
+            },
+            /**
+             * Remove a motion value and unbind any active subscriptions.
+             */
+            removeValue: function (key) {
+                var _a;
+                values.delete(key);
+                (_a = valueSubscriptions.get(key)) === null || _a === void 0 ? void 0 : _a();
+                valueSubscriptions.delete(key);
+                delete latestValues[key];
+                removeValueFromRenderState(key, renderState);
+            },
+            /**
+             * Check whether we have a motion value for this key
+             */
+            hasValue: function (key) { return values.has(key); },
+            /**
+             * Get a motion value for this key. If called with a default
+             * value, we'll create one if none exists.
+             */
+            getValue: function (key, defaultValue) {
+                var value = values.get(key);
+                if (value === undefined && defaultValue !== undefined) {
+                    value = motionValue(defaultValue);
+                    element.addValue(key, value);
+                }
+                return value;
+            },
+            /**
+             * Iterate over our motion values.
+             */
+            forEachValue: function (callback) { return values.forEach(callback); },
+            /**
+             * If we're trying to animate to a previously unencountered value,
+             * we need to check for it in our state and as a last resort read it
+             * directly from the instance (which might have performance implications).
+             */
+            readValue: function (key) { var _a; return (_a = latestValues[key]) !== null && _a !== void 0 ? _a : readValueFromInstance(instance, key, options); },
+            /**
+             * Set the base target to later animate back to. This is currently
+             * only hydrated on creation and when we first read a value.
+             */
+            setBaseTarget: function (key, value) {
+                baseTarget[key] = value;
+            },
+            /**
+             * Find the base target for a value thats been removed from all animation
+             * props.
+             */
+            getBaseTarget: function (key) {
+                if (getBaseTarget) {
+                    var target = getBaseTarget(props, key);
+                    if (target !== undefined && !isMotionValue(target))
+                        return target;
+                }
+                return baseTarget[key];
+            } }, lifecycles), {
+            /**
+             * Build the renderer state based on the latest visual state.
+             */
+            build: function () {
+                triggerBuild();
+                return renderState;
+            },
+            /**
+             * Schedule a render on the next animation frame.
+             */
+            scheduleRender: function () {
+                es.render(render, false, true);
+            },
+            /**
+             * Synchronously fire render. It's prefered that we batch renders but
+             * in many circumstances, like layout measurement, we need to run this
+             * synchronously. However in those instances other measures should be taken
+             * to batch reads/writes.
+             */
+            syncRender: render,
+            /**
+             * Update the provided props. Ensure any newly-added motion values are
+             * added to our map, old ones removed, and listeners updated.
+             */
+            setProps: function (newProps) {
+                props = newProps;
+                lifecycles.updatePropListeners(newProps);
+                prevMotionValues = updateMotionValuesFromProps(element, scrapeMotionValuesFromProps(props), prevMotionValues);
+            }, getProps: function () { return props; },
+            // Variants ==============================
+            /**
+             * Returns the variant definition with a given name.
+             */
+            getVariant: function (name) { var _a; return (_a = props.variants) === null || _a === void 0 ? void 0 : _a[name]; },
+            /**
+             * Returns the defined default transition on this component.
+             */
+            getDefaultTransition: function () { return props.transition; },
+            /**
+             * Used by child variant nodes to get the closest ancestor variant props.
+             */
+            getVariantContext: function (startAtParent) {
+                if (startAtParent === void 0) { startAtParent = false; }
+                if (startAtParent)
+                    return parent === null || parent === void 0 ? void 0 : parent.getVariantContext();
+                if (!isControllingVariants) {
+                    var context_1 = (parent === null || parent === void 0 ? void 0 : parent.getVariantContext()) || {};
+                    if (props.initial !== undefined) {
+                        context_1.initial = props.initial;
+                    }
+                    return context_1;
+                }
+                var context = {};
+                for (var i = 0; i < numVariantProps; i++) {
+                    var name_1 = variantProps[i];
+                    var prop = props[name_1];
+                    if (isVariantLabel(prop) || prop === false) {
+                        context[name_1] = prop;
+                    }
+                }
+                return context;
+            },
+            // Layout projection ==============================
+            /**
+             * Enable layout projection for this visual element. Won't actually
+             * occur until we also have hydrated layout measurements.
+             */
+            enableLayoutProjection: function () {
+                projection.isEnabled = true;
+                element.layoutTree.add(element);
+            },
+            /**
+             * Lock the projection target, for instance when dragging, so
+             * nothing else can try and animate it.
+             */
+            lockProjectionTarget: function () {
+                projection.isTargetLocked = true;
+            },
+            unlockProjectionTarget: function () {
+                element.stopLayoutAnimation();
+                projection.isTargetLocked = false;
+            }, getLayoutState: function () { return layoutState; }, setCrossfader: function (newCrossfader) {
+                crossfader = newCrossfader;
+            }, isProjectionReady: function () {
+                return projection.isEnabled &&
+                    projection.isHydrated &&
+                    layoutState.isHydrated;
+            },
+            /**
+             * Start a layout animation on a given axis.
+             */
+            startLayoutAnimation: function (axis, transition, isRelative) {
+                if (isRelative === void 0) { isRelative = false; }
+                var progress = element.getProjectionAnimationProgress()[axis];
+                var _a = isRelative
+                    ? projection.relativeTarget[axis]
+                    : projection.target[axis], min = _a.min, max = _a.max;
+                var length = max - min;
+                progress.clearListeners();
+                progress.set(min);
+                progress.set(min); // Set twice to hard-reset velocity
+                progress.onChange(function (v) {
+                    element.setProjectionTargetAxis(axis, v, v + length, isRelative);
+                });
+                return element.animateMotionValue(axis, progress, 0, transition);
+            },
+            /**
+             * Stop layout animations.
+             */
+            stopLayoutAnimation: function () {
+                eachAxis(function (axis) {
+                    return element.getProjectionAnimationProgress()[axis].stop();
+                });
+            },
+            /**
+             * Measure the current viewport box with or without transforms.
+             * Only measures axis-aligned boxes, rotate and skew must be manually
+             * removed with a re-render to work.
+             */
+            measureViewportBox: function (withTransform) {
+                if (withTransform === void 0) { withTransform = true; }
+                var viewportBox = measureViewportBox(instance, options);
+                if (!withTransform)
+                    removeBoxTransforms(viewportBox, latestValues);
+                return viewportBox;
+            },
+            /**
+             * Get the motion values tracking the layout animations on each
+             * axis. Lazy init if not already created.
+             */
+            getProjectionAnimationProgress: function () {
+                projectionTargetProgress || (projectionTargetProgress = {
+                    x: motionValue(0),
+                    y: motionValue(0),
+                });
+                return projectionTargetProgress;
+            },
+            /**
+             * Update the projection of a single axis. Schedule an update to
+             * the tree layout projection.
+             */
+            setProjectionTargetAxis: function (axis, min, max, isRelative) {
+                if (isRelative === void 0) { isRelative = false; }
+                var target;
+                if (isRelative) {
+                    if (!projection.relativeTarget) {
+                        projection.relativeTarget = axisBox();
+                    }
+                    target = projection.relativeTarget[axis];
+                }
+                else {
+                    projection.relativeTarget = undefined;
+                    target = projection.target[axis];
+                }
+                projection.isHydrated = true;
+                target.min = min;
+                target.max = max;
+                // Flag that we want to fire the onViewportBoxUpdate event handler
+                hasViewportBoxUpdated = true;
+                lifecycles.notifySetAxisTarget();
+            },
+            /**
+             * Rebase the projection target on top of the provided viewport box
+             * or the measured layout. This ensures that non-animating elements
+             * don't fall out of sync differences in measurements vs projections
+             * after a page scroll or other relayout.
+             */
+            rebaseProjectionTarget: function (force, box) {
+                if (box === void 0) { box = layoutState.layout; }
+                var _a = element.getProjectionAnimationProgress(), x = _a.x, y = _a.y;
+                var shouldRebase = !projection.relativeTarget &&
+                    !projection.isTargetLocked &&
+                    !x.isAnimating() &&
+                    !y.isAnimating();
+                if (force || shouldRebase) {
+                    eachAxis(function (axis) {
+                        var _a = box[axis], min = _a.min, max = _a.max;
+                        element.setProjectionTargetAxis(axis, min, max);
+                    });
+                }
+            },
+            /**
+             * Notify the visual element that its layout is up-to-date.
+             * Currently Animate.tsx uses this to check whether a layout animation
+             * needs to be performed.
+             */
+            notifyLayoutReady: function (config) {
+                setCurrentViewportBox(element);
+                element.notifyLayoutUpdate(layoutState.layout, element.prevViewportBox || layoutState.layout, config);
+            },
+            /**
+             * Temporarily reset the transform of the instance.
+             */
+            resetTransform: function () { return resetTransform(element, instance, props); }, restoreTransform: function () { return restoreTransform(instance, renderState); }, updateLayoutProjection: updateLayoutProjection,
+            updateTreeLayoutProjection: function () {
+                element.layoutTree.forEach(fireResolveRelativeTargetBox);
+                /**
+                 * Schedule the projection updates at the end of the current preRender
+                 * step. This will ensure that all layout trees will first resolve
+                 * relative projection boxes into viewport boxes, and *then*
+                 * update projections.
+                 */
+                es.preRender(updateTreeLayoutProjection, false, true);
+                // sync.postRender(() => element.scheduleUpdateLayoutProjection())
+            },
+            getProjectionParent: function () {
+                if (projectionParent === undefined) {
+                    var foundParent = false;
+                    // Search backwards through the tree path
+                    for (var i = element.path.length - 1; i >= 0; i--) {
+                        var ancestor = element.path[i];
+                        if (ancestor.projection.isEnabled) {
+                            foundParent = ancestor;
+                            break;
+                        }
+                    }
+                    projectionParent = foundParent;
+                }
+                return projectionParent;
+            },
+            resolveRelativeTargetBox: function () {
+                var relativeParent = element.getProjectionParent();
+                if (!projection.relativeTarget || !relativeParent)
+                    return;
+                calcRelativeBox(projection, relativeParent.projection);
+                if (isDraggable(relativeParent)) {
+                    var target = projection.target;
+                    applyBoxTransforms(target, target, relativeParent.getLatestValues());
+                }
+            },
+            shouldResetTransform: function () {
+                return Boolean(props._layoutResetTransform);
+            },
+            /**
+             *
+             */
+            pointTo: function (newLead) {
+                leadProjection = newLead.projection;
+                leadLatestValues = newLead.getLatestValues();
+                /**
+                 * Subscribe to lead component's layout animations
+                 */
+                unsubscribeFromLeadVisualElement === null || unsubscribeFromLeadVisualElement === void 0 ? void 0 : unsubscribeFromLeadVisualElement();
+                unsubscribeFromLeadVisualElement = pipe(newLead.onSetAxisTarget(element.scheduleUpdateLayoutProjection), newLead.onLayoutAnimationComplete(function () {
+                    var _a;
+                    if (element.isPresent) {
+                        element.presence = Presence.Present;
+                    }
+                    else {
+                        (_a = element.layoutSafeToRemove) === null || _a === void 0 ? void 0 : _a.call(element);
+                    }
+                }));
+            },
+            // TODO: Clean this up
+            isPresent: true, presence: Presence.Entering });
+        return element;
     };
-  }, []);
-  return controlPoints.map((point, index) => {
-    const initialPosition = point === null || point === void 0 ? void 0 : point.position;
-    return ignoreMarkerPosition !== initialPosition && Object(external_wp_element_["createElement"])(GradientColorPickerDropdown, {
-      gradientPickerDomRef: gradientPickerDomRef,
-      isRenderedInSidebar: __experimentalIsRenderedInSidebar,
-      key: index,
-      onClose: onStopControlPointChange,
-      renderToggle: _ref4 => {
-        let {
-          isOpen,
-          onToggle
-        } = _ref4;
-        return Object(external_wp_element_["createElement"])(ControlPointButton, {
-          key: index,
-          onClick: () => {
-            if (controlPointMoveState.current && controlPointMoveState.current.significantMoveHappened) {
-              return;
-            }
-
-            if (isOpen) {
-              onStopControlPointChange();
-            } else {
-              onStartControlPointChange();
-            }
-
-            onToggle();
-          },
-          onMouseDown: () => {
-            if (window && window.addEventListener) {
-              controlPointMoveState.current = {
-                initialPosition,
-                index,
-                significantMoveHappened: false,
-                listenersActivated: true
-              };
-              onStartControlPointChange();
-              window.addEventListener('mousemove', onMouseMove);
-              window.addEventListener('mouseup', cleanEventListeners);
-            }
-          },
-          onKeyDown: event => {
-            if (event.keyCode === external_wp_keycodes_["LEFT"]) {
-              // Stop propagation of the key press event to avoid focus moving
-              // to another editor area.
-              event.stopPropagation();
-              onChange(updateControlPointPosition(controlPoints, index, clampPercent(point.position - KEYBOARD_CONTROL_POINT_VARIATION)));
-            } else if (event.keyCode === external_wp_keycodes_["RIGHT"]) {
-              // Stop propagation of the key press event to avoid focus moving
-              // to another editor area.
-              event.stopPropagation();
-              onChange(updateControlPointPosition(controlPoints, index, clampPercent(point.position + KEYBOARD_CONTROL_POINT_VARIATION)));
-            }
-          },
-          isOpen: isOpen,
-          position: point.position,
-          color: point.color
-        });
-      },
-      renderContent: _ref5 => {
-        let {
-          onClose
-        } = _ref5;
-        return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(LegacyAdapter, {
-          enableAlpha: !disableAlpha,
-          color: point.color,
-          onChange: color => {
-            onChange(updateControlPointColor(controlPoints, index, Object(colord["a" /* colord */])(color).toRgbString()));
-          }
-        }), !disableRemove && controlPoints.length > 2 && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-          className: "components-custom-gradient-picker__remove-control-point",
-          onClick: () => {
-            onChange(removeControlPoint(controlPoints, index));
-            onClose();
-          },
-          variant: "link"
-        }, Object(external_wp_i18n_["__"])('Remove Control Point')));
-      }
-    });
-  });
+};
+function fireResolveRelativeTargetBox(child) {
+    child.resolveRelativeTargetBox();
 }
-
-function InsertPoint(_ref6) {
-  let {
-    value: controlPoints,
-    onChange,
-    onOpenInserter,
-    onCloseInserter,
-    insertPosition,
-    disableAlpha,
-    __experimentalIsRenderedInSidebar,
-    gradientPickerDomRef
-  } = _ref6;
-  const [alreadyInsertedPoint, setAlreadyInsertedPoint] = Object(external_wp_element_["useState"])(false);
-  return Object(external_wp_element_["createElement"])(GradientColorPickerDropdown, {
-    gradientPickerDomRef: gradientPickerDomRef,
-    isRenderedInSidebar: __experimentalIsRenderedInSidebar,
-    className: "components-custom-gradient-picker__inserter",
-    onClose: () => {
-      onCloseInserter();
-    },
-    renderToggle: _ref7 => {
-      let {
-        isOpen,
-        onToggle
-      } = _ref7;
-      return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-        "aria-expanded": isOpen,
-        "aria-haspopup": "true",
-        onClick: () => {
-          if (isOpen) {
-            onCloseInserter();
-          } else {
-            setAlreadyInsertedPoint(false);
-            onOpenInserter();
-          }
-
-          onToggle();
-        },
-        className: "components-custom-gradient-picker__insert-point",
-        icon: plus["a" /* default */],
-        style: {
-          left: insertPosition !== null ? `${insertPosition}%` : undefined
-        }
-      });
-    },
-    renderContent: () => Object(external_wp_element_["createElement"])(LegacyAdapter, {
-      enableAlpha: !disableAlpha,
-      onChange: color => {
-        if (!alreadyInsertedPoint) {
-          onChange(addControlPoint(controlPoints, insertPosition, Object(colord["a" /* colord */])(color).toRgbString()));
-          setAlreadyInsertedPoint(true);
-        } else {
-          onChange(updateControlPointColorByPosition(controlPoints, insertPosition, Object(colord["a" /* colord */])(color).toRgbString()));
-        }
-      }
-    })
-  });
+function fireUpdateLayoutProjection(child) {
+    child.updateLayoutProjection();
 }
+var variantProps = tslib_es6_spreadArray(["initial"], tslib_es6_read(variantPriorityOrder));
+var numVariantProps = variantProps.length;

-ControlPoints.InsertPoint = InsertPoint;
-/* harmony default export */ var control_points = (ControlPoints);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-bar/index.js
-
-
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-function customGradientBarReducer(state, action) {
-  switch (action.type) {
-    case 'MOVE_INSERTER':
-      if (state.id === 'IDLE' || state.id === 'MOVING_INSERTER') {
-        return {
-          id: 'MOVING_INSERTER',
-          insertPosition: action.insertPosition
-        };
-      }
-
-      break;
-
-    case 'STOP_INSERTER_MOVE':
-      if (state.id === 'MOVING_INSERTER') {
-        return {
-          id: 'IDLE'
-        };
-      }
-
-      break;
-
-    case 'OPEN_INSERTER':
-      if (state.id === 'MOVING_INSERTER') {
-        return {
-          id: 'INSERTING_CONTROL_POINT',
-          insertPosition: state.insertPosition
-        };
-      }

-      break;

-    case 'CLOSE_INSERTER':
-      if (state.id === 'INSERTING_CONTROL_POINT') {
-        return {
-          id: 'IDLE'
-        };
-      }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.js

-      break;

-    case 'START_CONTROL_CHANGE':
-      if (state.id === 'IDLE') {
-        return {
-          id: 'MOVING_CONTROL_POINT'
-        };
-      }

-      break;

-    case 'STOP_CONTROL_CHANGE':
-      if (state.id === 'MOVING_CONTROL_POINT') {
-        return {
-          id: 'IDLE'
-        };
-      }

-      break;
-  }

-  return state;
-}

-const customGradientBarReducerInitialState = {
-  id: 'IDLE'
+var positionalKeys = new Set([
+    "width",
+    "height",
+    "top",
+    "left",
+    "right",
+    "bottom",
+    "x",
+    "y",
+]);
+var isPositionalKey = function (key) { return positionalKeys.has(key); };
+var hasPositionalKey = function (target) {
+    return Object.keys(target).some(isPositionalKey);
+};
+var setAndResetVelocity = function (value, to) {
+    // Looks odd but setting it twice doesn't render, it'll just
+    // set both prev and current to the latest value
+    value.set(to, false);
+    value.set(to);
+};
+var isNumOrPxType = function (v) {
+    return v === number || v === px;
+};
+var BoundingBoxDimension;
+(function (BoundingBoxDimension) {
+    BoundingBoxDimension["width"] = "width";
+    BoundingBoxDimension["height"] = "height";
+    BoundingBoxDimension["left"] = "left";
+    BoundingBoxDimension["right"] = "right";
+    BoundingBoxDimension["top"] = "top";
+    BoundingBoxDimension["bottom"] = "bottom";
+})(BoundingBoxDimension || (BoundingBoxDimension = {}));
+var getPosFromMatrix = function (matrix, pos) {
+    return parseFloat(matrix.split(", ")[pos]);
 };
-function CustomGradientBar(_ref) {
-  let {
-    background,
-    hasGradient,
-    value: controlPoints,
-    onChange,
-    disableInserter = false,
-    disableAlpha = false,
-    __experimentalIsRenderedInSidebar
-  } = _ref;
-  const gradientPickerDomRef = Object(external_wp_element_["useRef"])();
-  const [gradientBarState, gradientBarStateDispatch] = Object(external_wp_element_["useReducer"])(customGradientBarReducer, customGradientBarReducerInitialState);
-
-  const onMouseEnterAndMove = event => {
-    const insertPosition = getHorizontalRelativeGradientPosition(event.clientX, gradientPickerDomRef.current, INSERT_POINT_WIDTH); // If the insert point is close to an existing control point don't show it.
-
-    if (Object(external_lodash_["some"])(controlPoints, _ref2 => {
-      let {
-        position
-      } = _ref2;
-      return Math.abs(insertPosition - position) < MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT;
-    })) {
-      if (gradientBarState.id === 'MOVING_INSERTER') {
-        gradientBarStateDispatch({
-          type: 'STOP_INSERTER_MOVE'
-        });
-      }
-
-      return;
+var getTranslateFromMatrix = function (pos2, pos3) { return function (_bbox, _a) {
+    var transform = _a.transform;
+    if (transform === "none" || !transform)
+        return 0;
+    var matrix3d = transform.match(/^matrix3d\((.+)\)$/);
+    if (matrix3d) {
+        return getPosFromMatrix(matrix3d[1], pos3);
     }
-
-    gradientBarStateDispatch({
-      type: 'MOVE_INSERTER',
-      insertPosition
-    });
-  };
-
-  const onMouseLeave = () => {
-    gradientBarStateDispatch({
-      type: 'STOP_INSERTER_MOVE'
+    else {
+        var matrix = transform.match(/^matrix\((.+)\)$/);
+        if (matrix) {
+            return getPosFromMatrix(matrix[1], pos2);
+        }
+        else {
+            return 0;
+        }
+    }
+}; };
+var transformKeys = new Set(["x", "y", "z"]);
+var nonTranslationalTransformKeys = transformProps.filter(function (key) { return !transformKeys.has(key); });
+function removeNonTranslationalTransform(visualElement) {
+    var removedTransforms = [];
+    nonTranslationalTransformKeys.forEach(function (key) {
+        var value = visualElement.getValue(key);
+        if (value !== undefined) {
+            removedTransforms.push([key, value.get()]);
+            value.set(key.startsWith("scale") ? 1 : 0);
+        }
     });
-  };
-
-  const isMovingInserter = gradientBarState.id === 'MOVING_INSERTER';
-  const isInsertingControlPoint = gradientBarState.id === 'INSERTING_CONTROL_POINT';
-  return Object(external_wp_element_["createElement"])("div", {
-    ref: gradientPickerDomRef,
-    className: classnames_default()('components-custom-gradient-picker__gradient-bar', {
-      'has-gradient': hasGradient
-    }),
-    onMouseEnter: onMouseEnterAndMove,
-    onMouseMove: onMouseEnterAndMove,
-    style: {
-      background
+    // Apply changes to element before measurement
+    if (removedTransforms.length)
+        visualElement.syncRender();
+    return removedTransforms;
+}
+var positionalValues = {
+    // Dimensions
+    width: function (_a) {
+        var x = _a.x;
+        return x.max - x.min;
     },
-    onMouseLeave: onMouseLeave
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-custom-gradient-picker__markers-container"
-  }, !disableInserter && (isMovingInserter || isInsertingControlPoint) && Object(external_wp_element_["createElement"])(control_points.InsertPoint, {
-    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
-    gradientPickerDomRef: gradientPickerDomRef,
-    disableAlpha: disableAlpha,
-    insertPosition: gradientBarState.insertPosition,
-    value: controlPoints,
-    onChange: onChange,
-    onOpenInserter: () => {
-      gradientBarStateDispatch({
-        type: 'OPEN_INSERTER'
-      });
+    height: function (_a) {
+        var y = _a.y;
+        return y.max - y.min;
     },
-    onCloseInserter: () => {
-      gradientBarStateDispatch({
-        type: 'CLOSE_INSERTER'
-      });
-    }
-  }), Object(external_wp_element_["createElement"])(control_points, {
-    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
-    disableAlpha: disableAlpha,
-    disableRemove: disableInserter,
-    gradientPickerDomRef: gradientPickerDomRef,
-    ignoreMarkerPosition: isInsertingControlPoint ? gradientBarState.insertPosition : undefined,
-    value: controlPoints,
-    onChange: onChange,
-    onStartControlPointChange: () => {
-      gradientBarStateDispatch({
-        type: 'START_CONTROL_CHANGE'
-      });
+    top: function (_bbox, _a) {
+        var top = _a.top;
+        return parseFloat(top);
     },
-    onStopControlPointChange: () => {
-      gradientBarStateDispatch({
-        type: 'STOP_CONTROL_CHANGE'
-      });
+    left: function (_bbox, _a) {
+        var left = _a.left;
+        return parseFloat(left);
+    },
+    bottom: function (_a, _b) {
+        var y = _a.y;
+        var top = _b.top;
+        return parseFloat(top) + (y.max - y.min);
+    },
+    right: function (_a, _b) {
+        var x = _a.x;
+        var left = _b.left;
+        return parseFloat(left) + (x.max - x.min);
+    },
+    // Transform
+    x: getTranslateFromMatrix(4, 13),
+    y: getTranslateFromMatrix(5, 14),
+};
+var convertChangedValueTypes = function (target, visualElement, changedKeys) {
+    var originBbox = visualElement.measureViewportBox();
+    var element = visualElement.getInstance();
+    var elementComputedStyle = getComputedStyle(element);
+    var display = elementComputedStyle.display, top = elementComputedStyle.top, left = elementComputedStyle.left, bottom = elementComputedStyle.bottom, right = elementComputedStyle.right, transform = elementComputedStyle.transform;
+    var originComputedStyle = { top: top, left: left, bottom: bottom, right: right, transform: transform };
+    // If the element is currently set to display: "none", make it visible before
+    // measuring the target bounding box
+    if (display === "none") {
+        visualElement.setStaticValue("display", target.display || "block");
     }
-  })));
-}
-
-// EXTERNAL MODULE: ./node_modules/gradient-parser/build/node.js
-var build_node = __webpack_require__("Jx1U");
-var node_default = /*#__PURE__*/__webpack_require__.n(build_node);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/constants.js
-/**
- * WordPress dependencies
- */
-
-const DEFAULT_GRADIENT = 'linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)';
-const DEFAULT_LINEAR_GRADIENT_ANGLE = 180;
-const HORIZONTAL_GRADIENT_ORIENTATION = {
-  type: 'angular',
-  value: 90
+    // Apply the latest values (as set in checkAndConvertChangedValueTypes)
+    visualElement.syncRender();
+    var targetBbox = visualElement.measureViewportBox();
+    changedKeys.forEach(function (key) {
+        // Restore styles to their **calculated computed style**, not their actual
+        // originally set style. This allows us to animate between equivalent pixel units.
+        var value = visualElement.getValue(key);
+        setAndResetVelocity(value, positionalValues[key](originBbox, originComputedStyle));
+        target[key] = positionalValues[key](targetBbox, elementComputedStyle);
+    });
+    return target;
 };
-const GRADIENT_OPTIONS = [{
-  value: 'linear-gradient',
-  label: Object(external_wp_i18n_["__"])('Linear')
-}, {
-  value: 'radial-gradient',
-  label: Object(external_wp_i18n_["__"])('Radial')
-}];
-const DIRECTIONAL_ORIENTATION_ANGLE_MAP = {
-  top: 0,
-  'top right': 45,
-  'right top': 45,
-  right: 90,
-  'right bottom': 135,
-  'bottom right': 135,
-  bottom: 180,
-  'bottom left': 225,
-  'left bottom': 225,
-  left: 270,
-  'top left': 315,
-  'left top': 315
+var checkAndConvertChangedValueTypes = function (visualElement, target, origin, transitionEnd) {
+    if (origin === void 0) { origin = {}; }
+    if (transitionEnd === void 0) { transitionEnd = {}; }
+    target = __assign({}, target);
+    transitionEnd = __assign({}, transitionEnd);
+    var targetPositionalKeys = Object.keys(target).filter(isPositionalKey);
+    // We want to remove any transform values that could affect the element's bounding box before
+    // it's measured. We'll reapply these later.
+    var removedTransformValues = [];
+    var hasAttemptedToRemoveTransformValues = false;
+    var changedValueTypeKeys = [];
+    targetPositionalKeys.forEach(function (key) {
+        var value = visualElement.getValue(key);
+        if (!visualElement.hasValue(key))
+            return;
+        var from = origin[key];
+        var to = target[key];
+        var fromType = findDimensionValueType(from);
+        var toType;
+        // TODO: The current implementation of this basically throws an error
+        // if you try and do value conversion via keyframes. There's probably
+        // a way of doing this but the performance implications would need greater scrutiny,
+        // as it'd be doing multiple resize-remeasure operations.
+        if (isKeyframesTarget(to)) {
+            var numKeyframes = to.length;
+            for (var i = to[0] === null ? 1 : 0; i < numKeyframes; i++) {
+                if (!toType) {
+                    toType = findDimensionValueType(to[i]);
+                    invariant(toType === fromType ||
+                        (isNumOrPxType(fromType) && isNumOrPxType(toType)), "Keyframes must be of the same dimension as the current value");
+                }
+                else {
+                    invariant(findDimensionValueType(to[i]) === toType, "All keyframes must be of the same type");
+                }
+            }
+        }
+        else {
+            toType = findDimensionValueType(to);
+        }
+        if (fromType !== toType) {
+            // If they're both just number or px, convert them both to numbers rather than
+            // relying on resize/remeasure to convert (which is wasteful in this situation)
+            if (isNumOrPxType(fromType) && isNumOrPxType(toType)) {
+                var current = value.get();
+                if (typeof current === "string") {
+                    value.set(parseFloat(current));
+                }
+                if (typeof to === "string") {
+                    target[key] = parseFloat(to);
+                }
+                else if (Array.isArray(to) && toType === px) {
+                    target[key] = to.map(parseFloat);
+                }
+            }
+            else if ((fromType === null || fromType === void 0 ? void 0 : fromType.transform) &&
+                (toType === null || toType === void 0 ? void 0 : toType.transform) &&
+                (from === 0 || to === 0)) {
+                // If one or the other value is 0, it's safe to coerce it to the
+                // type of the other without measurement
+                if (from === 0) {
+                    value.set(toType.transform(from));
+                }
+                else {
+                    target[key] = fromType.transform(to);
+                }
+            }
+            else {
+                // If we're going to do value conversion via DOM measurements, we first
+                // need to remove non-positional transform values that could affect the bbox measurements.
+                if (!hasAttemptedToRemoveTransformValues) {
+                    removedTransformValues = removeNonTranslationalTransform(visualElement);
+                    hasAttemptedToRemoveTransformValues = true;
+                }
+                changedValueTypeKeys.push(key);
+                transitionEnd[key] =
+                    transitionEnd[key] !== undefined
+                        ? transitionEnd[key]
+                        : target[key];
+                setAndResetVelocity(value, to);
+            }
+        }
+    });
+    if (changedValueTypeKeys.length) {
+        var convertedTarget = convertChangedValueTypes(target, visualElement, changedValueTypeKeys);
+        // If we removed transform values, reapply them before the next render
+        if (removedTransformValues.length) {
+            removedTransformValues.forEach(function (_a) {
+                var _b = tslib_es6_read(_a, 2), key = _b[0], value = _b[1];
+                visualElement.getValue(key).set(value);
+            });
+        }
+        // Reapply original values
+        visualElement.syncRender();
+        return { target: convertedTarget, transitionEnd: transitionEnd };
+    }
+    else {
+        return { target: target, transitionEnd: transitionEnd };
+    }
 };
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/serializer.js
 /**
- * External dependencies
+ * Convert value types for x/y/width/height/top/left/bottom/right
+ *
+ * Allows animation between `'auto'` -> `'100%'` or `0` -> `'calc(50% - 10vw)'`
+ *
+ * @internal
  */
+function unitConversion(visualElement, target, origin, transitionEnd) {
+    return hasPositionalKey(target)
+        ? checkAndConvertChangedValueTypes(visualElement, target, origin, transitionEnd)
+        : { target: target, transitionEnd: transitionEnd };
+}

-function serializeGradientColor(_ref) {
-  let {
-    type,
-    value
-  } = _ref;
-
-  if (type === 'literal') {
-    return value;
-  }

-  if (type === 'hex') {
-    return `#${value}`;
-  }

-  return `${type}(${value.join(',')})`;
-}
-function serializeGradientPosition(position) {
-  if (!position) {
-    return '';
-  }
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/utils/parse-dom-variant.js

-  const {
-    value,
-    type
-  } = position;
-  return `${value}${type}`;
-}
-function serializeGradientColorStop(_ref2) {
-  let {
-    type,
-    value,
-    length
-  } = _ref2;
-  return `${serializeGradientColor({
-    type,
-    value
-  })} ${serializeGradientPosition(length)}`;
-}
-function serializeGradientOrientation(orientation) {
-  if (!orientation || orientation.type !== 'angular') {
-    return;
-  }

-  return `${orientation.value}deg`;
-}
-function serializeGradient(_ref3) {
-  let {
-    type,
-    orientation,
-    colorStops
-  } = _ref3;
-  const serializedOrientation = serializeGradientOrientation(orientation);
-  const serializedColorStops = colorStops.sort((colorStop1, colorStop2) => {
-    return Object(external_lodash_["get"])(colorStop1, ['length', 'value'], 0) - Object(external_lodash_["get"])(colorStop2, ['length', 'value'], 0);
-  }).map(serializeGradientColorStop);
-  return `${type}(${Object(external_lodash_["compact"])([serializedOrientation, ...serializedColorStops]).join(',')})`;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/utils.js
 /**
- * External dependencies
+ * Parse a DOM variant to make it animatable. This involves resolving CSS variables
+ * and ensuring animations like "20%" => "calc(50vw)" are performed in pixels.
  */
+var parseDomVariant = function (visualElement, target, origin, transitionEnd) {
+    var resolved = resolveCSSVariables(visualElement, target, transitionEnd);
+    target = resolved.target;
+    transitionEnd = resolved.transitionEnd;
+    return unitConversion(visualElement, target, origin, transitionEnd);
+};



-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/visual-element.js



-Object(colord["b" /* extend */])([names["a" /* default */]]);
-function getLinearGradientRepresentation(gradientAST) {
-  return serializeGradient({
-    type: 'linear-gradient',
-    orientation: HORIZONTAL_GRADIENT_ORIENTATION,
-    colorStops: gradientAST.colorStops
-  });
-}

-function hasUnsupportedLength(item) {
-  return item.length === undefined || item.length.type !== '%';
-}

-function getGradientAstWithDefault(value) {
-  var _gradientAST$orientat;

-  // gradientAST will contain the gradient AST as parsed by gradient-parser npm module.
-  // More information of its structure available at https://www.npmjs.com/package/gradient-parser#ast.
-  let gradientAST;

-  try {
-    gradientAST = node_default.a.parse(value)[0];
-    gradientAST.value = value;
-  } catch (error) {
-    gradientAST = node_default.a.parse(DEFAULT_GRADIENT)[0];
-    gradientAST.value = DEFAULT_GRADIENT;
-  }

-  if (((_gradientAST$orientat = gradientAST.orientation) === null || _gradientAST$orientat === void 0 ? void 0 : _gradientAST$orientat.type) === 'directional') {
-    gradientAST.orientation.type = 'angular';
-    gradientAST.orientation.value = DIRECTIONAL_ORIENTATION_ANGLE_MAP[gradientAST.orientation.value].toString();
-  }

-  if (gradientAST.colorStops.some(hasUnsupportedLength)) {
-    const {
-      colorStops
-    } = gradientAST;
-    const step = 100 / (colorStops.length - 1);
-    colorStops.forEach((stop, index) => {
-      stop.length = {
-        value: step * index,
-        type: '%'
-      };
-    });
-    gradientAST.value = serializeGradient(gradientAST);
-  }

-  return gradientAST;
-}
-function getGradientAstWithControlPoints(gradientAST, newControlPoints) {
-  return { ...gradientAST,
-    colorStops: newControlPoints.map(_ref => {
-      let {
-        position,
-        color
-      } = _ref;
-      const {
-        r,
-        g,
-        b,
-        a
-      } = Object(colord["a" /* colord */])(color).toRgb();
-      return {
-        length: {
-          type: '%',
-          value: position.toString()
-        },
-        type: a < 1 ? 'rgba' : 'rgb',
-        value: a < 1 ? [r, g, b, a] : [r, g, b]
-      };
-    })
-  };
-}
-function getStopCssColor(colorStop) {
-  switch (colorStop.type) {
-    case 'hex':
-      return `#${colorStop.value}`;

-    case 'literal':
-      return colorStop.value;

-    case 'rgb':
-    case 'rgba':
-      return `${colorStop.type}(${colorStop.value.join(',')})`;

-    default:
-      // Should be unreachable if passing an AST from gradient-parser.
-      // See https://github.com/rafaelcaricio/gradient-parser#ast.
-      return 'transparent';
-  }
-}
+function visual_element_getComputedStyle(element) {
+    return window.getComputedStyle(element);
+}
+var htmlConfig = {
+    treeType: "dom",
+    readValueFromInstance: function (domElement, key) {
+        if (isTransformProp(key)) {
+            var defaultType = getDefaultValueType(key);
+            return defaultType ? defaultType.default || 0 : 0;
+        }
+        else {
+            var computedStyle = visual_element_getComputedStyle(domElement);
+            return ((isCSSVariable(key)
+                ? computedStyle.getPropertyValue(key)
+                : computedStyle[key]) || 0);
+        }
+    },
+    sortNodePosition: function (a, b) {
+        /**
+         * compareDocumentPosition returns a bitmask, by using the bitwise &
+         * we're returning true if 2 in that bitmask is set to true. 2 is set
+         * to true if b preceeds a.
+         */
+        return a.compareDocumentPosition(b) & 2 ? 1 : -1;
+    },
+    getBaseTarget: function (props, key) {
+        var _a;
+        return (_a = props.style) === null || _a === void 0 ? void 0 : _a[key];
+    },
+    measureViewportBox: function (element, _a) {
+        var transformPagePoint = _a.transformPagePoint;
+        return getBoundingBox(element, transformPagePoint);
+    },
+    /**
+     * Reset the transform on the current Element. This is called as part
+     * of a batched process across the entire layout tree. To remove this write
+     * cycle it'd be interesting to see if it's possible to "undo" all the current
+     * layout transforms up the tree in the same way this.getBoundingBoxWithoutTransforms
+     * works
+     */
+    resetTransform: function (element, domElement, props) {
+        var transformTemplate = props.transformTemplate;
+        domElement.style.transform = transformTemplate
+            ? transformTemplate({}, "")
+            : "none";
+        // Ensure that whatever happens next, we restore our transform on the next frame
+        element.scheduleRender();
+    },
+    restoreTransform: function (instance, mutableState) {
+        instance.style.transform = mutableState.style.transform;
+    },
+    removeValueFromRenderState: function (key, _a) {
+        var vars = _a.vars, style = _a.style;
+        delete vars[key];
+        delete style[key];
+    },
+    /**
+     * Ensure that HTML and Framer-specific value types like `px`->`%` and `Color`
+     * can be animated by Motion.
+     */
+    makeTargetAnimatable: function (element, _a, _b, isMounted) {
+        var transformValues = _b.transformValues;
+        if (isMounted === void 0) { isMounted = true; }
+        var transition = _a.transition, transitionEnd = _a.transitionEnd, target = __rest(_a, ["transition", "transitionEnd"]);
+        var origin = getOrigin(target, transition || {}, element);
+        /**
+         * If Framer has provided a function to convert `Color` etc value types, convert them
+         */
+        if (transformValues) {
+            if (transitionEnd)
+                transitionEnd = transformValues(transitionEnd);
+            if (target)
+                target = transformValues(target);
+            if (origin)
+                origin = transformValues(origin);
+        }
+        if (isMounted) {
+            checkTargetForNewValues(element, target, origin);
+            var parsed = parseDomVariant(element, target, origin, transitionEnd);
+            transitionEnd = parsed.transitionEnd;
+            target = parsed.target;
+        }
+        return __assign({ transition: transition,
+            transitionEnd: transitionEnd }, target);
+    },
+    scrapeMotionValuesFromProps: scrapeMotionValuesFromProps,
+    build: function (element, renderState, latestValues, projection, layoutState, options, props) {
+        if (element.isVisible !== undefined) {
+            renderState.style.visibility = element.isVisible
+                ? "visible"
+                : "hidden";
+        }
+        var isProjectionTranform = projection.isEnabled && layoutState.isHydrated;
+        buildHTMLStyles(renderState, latestValues, projection, layoutState, options, props.transformTemplate, isProjectionTranform ? buildLayoutProjectionTransform : undefined, isProjectionTranform
+            ? buildLayoutProjectionTransformOrigin
+            : undefined);
+    },
+    render: renderHTML,
+};
+var htmlVisualElement = visualElement(htmlConfig);
+
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.js
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/visual-element.js


-function custom_gradient_picker_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/**
- * External dependencies
- */

-/**
- * Internal dependencies
- */

-const SelectWrapper = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_block_component,  true ? {
-  target: "e99xvul1"
-} : undefined)( true ? {
-  name: "1gvx10y",
-  styles: "flex-grow:5"
-} : undefined);
-const AccessoryWrapper = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_block_component,  true ? {
-  target: "e99xvul0"
-} : undefined)( true ? {
-  name: "1gvx10y",
-  styles: "flex-grow:5"
-} : undefined);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/index.js


-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */

+var svgVisualElement = visualElement(__assign(__assign({}, htmlConfig), { getBaseTarget: function (props, key) {
+        return props[key];
+    },
+    readValueFromInstance: function (domElement, key) {
+        var _a;
+        if (isTransformProp(key)) {
+            return ((_a = getDefaultValueType(key)) === null || _a === void 0 ? void 0 : _a.default) || 0;
+        }
+        key = !camelCaseAttributes.has(key) ? camelToDash(key) : key;
+        return domElement.getAttribute(key);
+    },
+    scrapeMotionValuesFromProps: scrape_motion_values_scrapeMotionValuesFromProps,
+    build: function (_element, renderState, latestValues, projection, layoutState, options, props) {
+        var isProjectionTranform = projection.isEnabled && layoutState.isHydrated;
+        buildSVGAttrs(renderState, latestValues, projection, layoutState, options, props.transformTemplate, isProjectionTranform ? buildLayoutProjectionTransform : undefined, isProjectionTranform
+            ? buildLayoutProjectionTransformOrigin
+            : undefined);
+    }, render: renderSVG }));



+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/create-visual-element.js




+var create_visual_element_createDomVisualElement = function (Component, options) {
+    return isSVGComponent(Component)
+        ? svgVisualElement(options, { enableHardwareAcceleration: false })
+        : htmlVisualElement(options, { enableHardwareAcceleration: true });
+};


-const GradientAnglePicker = _ref => {
-  let {
-    gradientAST,
-    hasGradient,
-    onChange
-  } = _ref;
-  const angle = Object(external_lodash_["get"])(gradientAST, ['orientation', 'value'], DEFAULT_LINEAR_GRADIENT_ANGLE);

-  const onAngleChange = newAngle => {
-    onChange(serializeGradient({ ...gradientAST,
-      orientation: {
-        type: 'angular',
-        value: newAngle
-      }
-    }));
-  };
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/motion.js

-  return Object(external_wp_element_["createElement"])(AnglePickerControl, {
-    onChange: onAngleChange,
-    labelPosition: "top",
-    value: hasGradient ? angle : ''
-  });
-};

-const GradientTypePicker = _ref2 => {
-  let {
-    gradientAST,
-    hasGradient,
-    onChange
-  } = _ref2;
-  const {
-    type
-  } = gradientAST;

-  const onSetLinearGradient = () => {
-    onChange(serializeGradient({ ...gradientAST,
-      ...(gradientAST.orientation ? {} : {
-        orientation: HORIZONTAL_GRADIENT_ORIENTATION
-      }),
-      type: 'linear-gradient'
-    }));
-  };

-  const onSetRadialGradient = () => {
-    onChange(serializeGradient({ ...Object(external_lodash_["omit"])(gradientAST, ['orientation']),
-      type: 'radial-gradient'
-    }));
-  };

-  const handleOnChange = next => {
-    if (next === 'linear-gradient') {
-      onSetLinearGradient();
-    }

-    if (next === 'radial-gradient') {
-      onSetRadialGradient();
-    }
-  };

-  return Object(external_wp_element_["createElement"])(select_control, {
-    className: "components-custom-gradient-picker__type-picker",
-    label: Object(external_wp_i18n_["__"])('Type'),
-    labelPosition: "top",
-    onChange: handleOnChange,
-    options: GRADIENT_OPTIONS,
-    value: hasGradient && type
-  });
-};

-function CustomGradientPicker(_ref3) {
-  let {
-    value,
-    onChange,
-    __experimentalIsRenderedInSidebar
-  } = _ref3;
-  const gradientAST = getGradientAstWithDefault(value); // On radial gradients the bar should display a linear gradient.
-  // On radial gradients the bar represents a slice of the gradient from the center until the outside.
-  // On liner gradients the bar represents the color stops from left to right independently of the angle.

-  const background = getLinearGradientRepresentation(gradientAST);
-  const hasGradient = gradientAST.value !== DEFAULT_GRADIENT; // Control points color option may be hex from presets, custom colors will be rgb.
-  // The position should always be a percentage.

-  const controlPoints = gradientAST.colorStops.map(colorStop => ({
-    color: getStopCssColor(colorStop),
-    position: parseInt(colorStop.length.value)
-  }));
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "components-custom-gradient-picker"
-  }, Object(external_wp_element_["createElement"])(CustomGradientBar, {
-    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
-    background: background,
-    hasGradient: hasGradient,
-    value: controlPoints,
-    onChange: newControlPoints => {
-      onChange(serializeGradient(getGradientAstWithControlPoints(gradientAST, newControlPoints)));
-    }
-  }), Object(external_wp_element_["createElement"])(flex_component, {
-    gap: 3,
-    className: "components-custom-gradient-picker__ui-line"
-  }, Object(external_wp_element_["createElement"])(SelectWrapper, null, Object(external_wp_element_["createElement"])(GradientTypePicker, {
-    gradientAST: gradientAST,
-    hasGradient: hasGradient,
-    onChange: onChange
-  })), Object(external_wp_element_["createElement"])(AccessoryWrapper, null, gradientAST.type === 'linear-gradient' && Object(external_wp_element_["createElement"])(GradientAnglePicker, {
-    gradientAST: gradientAST,
-    hasGradient: hasGradient,
-    onChange: onChange
-  }))));
+var featureBundle = __assign(__assign(__assign(__assign({}, animations), gestureAnimations), drag), layoutAnimations);
+/**
+ * HTML & SVG components, optimised for use with gestures and animation. These can be used as
+ * drop-in replacements for any HTML & SVG component, all CSS & SVG properties are supported.
+ *
+ * @public
+ */
+var motion = /*@__PURE__*/ createMotionProxy(function (Component, config) {
+    return create_config_createDomMotionConfig(Component, config, featureBundle, create_visual_element_createDomVisualElement);
+});
+/**
+ * Create a DOM `motion` component with the provided string. This is primarily intended
+ * as a full alternative to `motion` for consumers who have to support environments that don't
+ * support `Proxy`.
+ *
+ * ```javascript
+ * import { createDomMotionComponent } from "framer-motion"
+ *
+ * const motion = {
+ *   div: createDomMotionComponent('div')
+ * }
+ * ```
+ *
+ * @public
+ */
+function createDomMotionComponent(key) {
+    return createMotionComponent(createDomMotionConfig(key, { forwardMotionProps: false }, featureBundle, createDomVisualElement));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/gradient-picker/index.js


+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/context.js
+/**
+ * WordPress dependencies
+ */
+
+const FlexContext = (0,external_wp_element_namespaceObject.createContext)({
+  flexItemDisplay: undefined
+});
+const useFlexContext = () => (0,external_wp_element_namespaceObject.useContext)(FlexContext);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/styles.js
+function styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
  * External dependencies
  */

+const Flex =  true ? {
+  name: "zjik7",
+  styles: "display:flex"
+} : 0;
+const Item =  true ? {
+  name: "qgaee5",
+  styles: "display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"
+} : 0;
+const block =  true ? {
+  name: "82a6rk",
+  styles: "flex:1"
+} : 0;
 /**
- * WordPress dependencies
+ * Workaround to optimize DOM rendering.
+ * We'll enhance alignment with naive parent flex assumptions.
+ *
+ * Trade-off:
+ * Far less DOM less. However, UI rendering is not as reliable.
+ */
+
+/**
+ * Improves stability of width/height rendering.
+ * https://github.com/ItsJonQ/g2/pull/149
  */

+const ItemsColumn =  true ? {
+  name: "13nosa1",
+  styles: ">*{min-height:0;}"
+} : 0;
+const ItemsRow =  true ? {
+  name: "1pwxzk4",
+  styles: ">*{min-width:0;}"
+} : 0;

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex-item/hook.js
+/**
+ * External dependencies
+ */

 /**
  * Internal dependencies
@@ -40650,300 +35070,321 @@ function CustomGradientPicker(_ref3) {



+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexItemProps, 'div'>} props
+ */

-function SingleOrigin(_ref) {
-  let {
+function useFlexItem(props) {
+  const {
     className,
-    clearGradient,
-    gradients,
-    onChange,
-    value,
-    actions,
-    content
-  } = _ref;
-  const gradientOptions = Object(external_wp_element_["useMemo"])(() => {
-    return Object(external_lodash_["map"])(gradients, _ref2 => {
-      let {
-        gradient,
-        name
-      } = _ref2;
-      return Object(external_wp_element_["createElement"])(CircularOptionPicker.Option, {
-        key: gradient,
-        value: gradient,
-        isSelected: value === gradient,
-        tooltipText: name || // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);".
-        Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Gradient code: %s'), gradient),
-        style: {
-          color: 'rgba( 0,0,0,0 )',
-          background: gradient
-        },
-        onClick: value === gradient ? clearGradient : () => onChange(gradient),
-        "aria-label": name ? // translators: %s: The name of the gradient e.g: "Angular red to blue".
-        Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Gradient: %s'), name) : // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);".
-        Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Gradient code: %s'), gradient)
-      });
-    });
-  }, [gradients, value, onChange, clearGradient]);
-  return Object(external_wp_element_["createElement"])(CircularOptionPicker, {
-    className: className,
-    options: gradientOptions,
-    actions: actions
-  }, content);
+    display: displayProp,
+    isBlock = false,
+    ...otherProps
+  } = useContextSystem(props, 'FlexItem');
+  const sx = {};
+  const contextDisplay = useFlexContext().flexItemDisplay;
+  sx.Base = /*#__PURE__*/emotion_react_browser_esm_css({
+    display: displayProp || contextDisplay
+  },  true ? "" : 0,  true ? "" : 0);
+  const cx = useCx();
+  const classes = cx(Item, sx.Base, isBlock && block, className);
+  return { ...otherProps,
+    className: classes
+  };
 }

-function MultipleOrigin(_ref3) {
-  let {
-    className,
-    clearGradient,
-    gradients,
-    onChange,
-    value,
-    actions,
-    content
-  } = _ref3;
-  return Object(external_wp_element_["createElement"])(v_stack_component, {
-    spacing: 3,
-    className: className
-  }, gradients.map((_ref4, index) => {
-    let {
-      name,
-      gradients: gradientSet
-    } = _ref4;
-    return Object(external_wp_element_["createElement"])(v_stack_component, {
-      spacing: 2,
-      key: index
-    }, Object(external_wp_element_["createElement"])(ColorHeading, null, name), Object(external_wp_element_["createElement"])(SingleOrigin, Object(esm_extends["a" /* default */])({
-      clearGradient: clearGradient,
-      gradients: gradientSet,
-      onChange: onChange,
-      value: value
-    }, gradients.length === index + 1 ? {
-      actions,
-      content
-    } : {})));
-  }));
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex-block/hook.js
+/**
+ * Internal dependencies
+ */

-function GradientPicker(_ref5) {
-  let {
-    className,
-    gradients,
-    onChange,
-    value,
-    clearable = true,
-    disableCustomGradients = false,
-    __experimentalHasMultipleOrigins,
-    __experimentalIsRenderedInSidebar
-  } = _ref5;
-  const clearGradient = Object(external_wp_element_["useCallback"])(() => onChange(undefined), [onChange]);
-  const Component = __experimentalHasMultipleOrigins && gradients !== null && gradients !== void 0 && gradients.length ? MultipleOrigin : SingleOrigin;
-  return Object(external_wp_element_["createElement"])(Component, {
-    className: className,
-    clearable: clearable,
-    clearGradient: clearGradient,
-    gradients: gradients,
-    onChange: onChange,
-    value: value,
-    actions: clearable && ((gradients === null || gradients === void 0 ? void 0 : gradients.length) || !disableCustomGradients) && Object(external_wp_element_["createElement"])(CircularOptionPicker.ButtonAction, {
-      onClick: clearGradient
-    }, Object(external_wp_i18n_["__"])('Clear')),
-    content: !disableCustomGradients && Object(external_wp_element_["createElement"])(CustomGradientPicker, {
-      __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
-      value: value,
-      onChange: onChange
-    })
+
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexBlockProps, 'div'>} props
+ */
+
+function useFlexBlock(props) {
+  const otherProps = useContextSystem(props, 'FlexBlock');
+  const flexItemProps = useFlexItem({
+    isBlock: true,
+    ...otherProps
   });
+  return flexItemProps;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/menu.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex-block/component.js
+


 /**
- * WordPress dependencies
+ * Internal dependencies
+ */
+
+
+
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexBlockProps, 'div'>} props
+ * @param {import('react').Ref<any>}                                                                     forwardedRef
+ */
+
+function FlexBlock(props, forwardedRef) {
+  const flexBlockProps = useFlexBlock(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, flexBlockProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `FlexBlock` is a primitive layout component that adaptively resizes content within layout containers like `Flex`.
+ *
+ * @example
+ * ```jsx
+ * <Flex>
+ * 	<FlexBlock>...</FlexBlock>
+ * </Flex>
+ * ```
  */

-const menu_menu = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"
-}));
-/* harmony default export */ var library_menu = (menu_menu);

-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
+const ConnectedFlexBlock = contextConnect(FlexBlock, 'FlexBlock');
+/* harmony default export */ var flex_block_component = (ConnectedFlexBlock);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/container.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex-item/component.js


-// @ts-nocheck

 /**
- * External dependencies
+ * Internal dependencies
  */

+
+
 /**
- * WordPress dependencies
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexItemProps, 'div'>} props
+ * @param {import('react').Ref<any>}                                                                    forwardedRef
  */

+function FlexItem(props, forwardedRef) {
+  const flexItemProps = useFlexItem(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, flexItemProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `FlexItem` is a primitive layout component that aligns content within layout containers like `Flex`.
+ *
+ * @example
+ * ```jsx
+ * <Flex>
+ * 	<FlexItem>...</FlexItem>
+ * </Flex>
+ * ```
+ */


-const MENU_ITEM_ROLES = ['menuitem', 'menuitemradio', 'menuitemcheckbox'];
-
-function cycleValue(value, total, offset) {
-  const nextValue = value + offset;
+const ConnectedFlexItem = contextConnect(FlexItem, 'FlexItem');
+/* harmony default export */ var flex_item_component = (ConnectedFlexItem);

-  if (nextValue < 0) {
-    return total + nextValue;
-  } else if (nextValue >= total) {
-    return nextValue - total;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/use-responsive-value.js
+/**
+ * WordPress dependencies
+ */

-  return nextValue;
-}
+const breakpoints = ['40em', '52em', '64em'];
+const useBreakpointIndex = function () {
+  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  const {
+    defaultIndex = 0
+  } = options;

-class container_NavigableContainer extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.onKeyDown = this.onKeyDown.bind(this);
-    this.bindContainer = this.bindContainer.bind(this);
-    this.getFocusableContext = this.getFocusableContext.bind(this);
-    this.getFocusableIndex = this.getFocusableIndex.bind(this);
+  if (typeof defaultIndex !== 'number') {
+    throw new TypeError(`Default breakpoint index should be a number. Got: ${defaultIndex}, ${typeof defaultIndex}`);
+  } else if (defaultIndex < 0 || defaultIndex > breakpoints.length - 1) {
+    throw new RangeError(`Default breakpoint index out of range. Theme has ${breakpoints.length} breakpoints, got index ${defaultIndex}`);
   }

-  componentDidMount() {
-    // We use DOM event listeners instead of React event listeners
-    // because we want to catch events from the underlying DOM tree
-    // The React Tree can be different from the DOM tree when using
-    // portals. Block Toolbars for instance are rendered in a separate
-    // React Trees.
-    this.container.addEventListener('keydown', this.onKeyDown);
-    this.container.addEventListener('focus', this.onFocus);
-  }
+  const [value, setValue] = (0,external_wp_element_namespaceObject.useState)(defaultIndex);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const getIndex = () => breakpoints.filter(bp => {
+      return typeof window !== 'undefined' ? window.matchMedia(`screen and (min-width: ${bp})`).matches : false;
+    }).length;

-  componentWillUnmount() {
-    this.container.removeEventListener('keydown', this.onKeyDown);
-    this.container.removeEventListener('focus', this.onFocus);
-  }
+    const onResize = () => {
+      const newValue = getIndex();

-  bindContainer(ref) {
-    const {
-      forwardedRef
-    } = this.props;
-    this.container = ref;
+      if (value !== newValue) {
+        setValue(newValue);
+      }
+    };

-    if (Object(external_lodash_["isFunction"])(forwardedRef)) {
-      forwardedRef(ref);
-    } else if (forwardedRef && 'current' in forwardedRef) {
-      forwardedRef.current = ref;
+    onResize();
+
+    if (typeof window !== 'undefined') {
+      window.addEventListener('resize', onResize);
     }
-  }

-  getFocusableContext(target) {
-    const {
-      onlyBrowserTabstops
-    } = this.props;
-    const finder = onlyBrowserTabstops ? external_wp_dom_["focus"].tabbable : external_wp_dom_["focus"].focusable;
-    const focusables = finder.find(this.container);
-    const index = this.getFocusableIndex(focusables, target);
+    return () => {
+      if (typeof window !== 'undefined') {
+        window.removeEventListener('resize', onResize);
+      }
+    };
+  }, [value]);
+  return value;
+};
+function useResponsiveValue(values) {
+  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  const index = useBreakpointIndex(options); // Allow calling the function with a "normal" value without having to check on the outside.

-    if (index > -1 && target) {
-      return {
-        index,
-        target,
-        focusables
-      };
-    }
+  if (!Array.isArray(values) && typeof values !== 'function') return values;
+  const array = values || [];
+  /* eslint-disable jsdoc/no-undefined-types */
+
+  return (
+    /** @type {T[]} */
+    array[
+    /* eslint-enable jsdoc/no-undefined-types */
+    index >= array.length ? array.length - 1 : index]
+  );
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/space.js
+/**
+ * A real number or something parsable as a number
+ */
+const GRID_BASE = '4px';
+/**
+ * A function that handles numbers, numeric strings, and unit values.
+ *
+ * When given a number or a numeric string, it will return the grid-based
+ * value as a factor of GRID_BASE, defined above.
+ *
+ * When given a unit value or one of the named CSS values like `auto`,
+ * it will simply return the value back.
+ *
+ * @param  value A number, numeric string, or a unit value.
+ */
+
+function space(value) {
+  var _window$CSS, _window$CSS$supports;
+
+  if (typeof value === 'undefined') {
+    return undefined;
+  } // handle empty strings, if it's the number 0 this still works

-    return null;
+
+  if (!value) {
+    return '0';
   }

-  getFocusableIndex(focusables, target) {
-    const directIndex = focusables.indexOf(target);
+  const asInt = typeof value === 'number' ? value : Number(value); // test if the input has a unit, was NaN, or was one of the named CSS values (like `auto`), in which case just use that value

-    if (directIndex !== -1) {
-      return directIndex;
-    }
+  if (typeof window !== 'undefined' && (_window$CSS = window.CSS) !== null && _window$CSS !== void 0 && (_window$CSS$supports = _window$CSS.supports) !== null && _window$CSS$supports !== void 0 && _window$CSS$supports.call(_window$CSS, 'margin', value.toString()) || Number.isNaN(asInt)) {
+    return value.toString();
   }

-  onKeyDown(event) {
-    if (this.props.onKeyDown) {
-      this.props.onKeyDown(event);
-    }
+  return `calc(${GRID_BASE} * ${value})`;
+}

-    const {
-      getFocusableContext
-    } = this;
-    const {
-      cycle = true,
-      eventToOffset,
-      onNavigate = external_lodash_["noop"],
-      stopNavigationEvents
-    } = this.props;
-    const offset = eventToOffset(event); // eventToOffset returns undefined if the event is not handled by the component
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/rtl.js
+/**
+ * External dependencies
+ */

-    if (offset !== undefined && stopNavigationEvents) {
-      // Prevents arrow key handlers bound to the document directly interfering
-      event.stopImmediatePropagation(); // When navigating a collection of items, prevent scroll containers
-      // from scrolling. The preventDefault also prevents Voiceover from
-      // 'handling' the event, as voiceover will try to use arrow keys
-      // for highlighting text.

-      const targetRole = event.target.getAttribute('role');
+/**
+ * WordPress dependencies
+ */

-      if (MENU_ITEM_ROLES.includes(targetRole)) {
-        event.preventDefault();
-      }
-    }

-    if (!offset) {
-      return;
-    }
+const LOWER_LEFT_REGEXP = new RegExp(/-left/g);
+const LOWER_RIGHT_REGEXP = new RegExp(/-right/g);
+const UPPER_LEFT_REGEXP = new RegExp(/Left/g);
+const UPPER_RIGHT_REGEXP = new RegExp(/Right/g);
+/**
+ * Flips a CSS property from left <-> right.
+ *
+ * @param {string} key The CSS property name.
+ *
+ * @return {string} The flipped CSS property name, if applicable.
+ */

-    const context = getFocusableContext(event.target.ownerDocument.activeElement);
+function getConvertedKey(key) {
+  if (key === 'left') {
+    return 'right';
+  }

-    if (!context) {
-      return;
-    }
+  if (key === 'right') {
+    return 'left';
+  }

-    const {
-      index,
-      focusables
-    } = context;
-    const nextIndex = cycle ? cycleValue(index, focusables.length, offset) : index + offset;
+  if (LOWER_LEFT_REGEXP.test(key)) {
+    return key.replace(LOWER_LEFT_REGEXP, '-right');
+  }

-    if (nextIndex >= 0 && nextIndex < focusables.length) {
-      focusables[nextIndex].focus();
-      onNavigate(nextIndex, focusables[nextIndex]);
-    }
+  if (LOWER_RIGHT_REGEXP.test(key)) {
+    return key.replace(LOWER_RIGHT_REGEXP, '-left');
   }

-  render() {
-    const {
-      children,
-      ...props
-    } = this.props;
-    return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-      ref: this.bindContainer
-    }, Object(external_lodash_["omit"])(props, ['stopNavigationEvents', 'eventToOffset', 'onNavigate', 'onKeyDown', 'cycle', 'onlyBrowserTabstops', 'forwardedRef'])), children);
+  if (UPPER_LEFT_REGEXP.test(key)) {
+    return key.replace(UPPER_LEFT_REGEXP, 'Right');
+  }
+
+  if (UPPER_RIGHT_REGEXP.test(key)) {
+    return key.replace(UPPER_RIGHT_REGEXP, 'Left');
   }

+  return key;
 }
+/**
+ * An incredibly basic ltr -> rtl converter for style properties
+ *
+ * @param {import('react').CSSProperties} ltrStyles
+ *
+ * @return {import('react').CSSProperties} Converted ltr -> rtl styles
+ */

-const forwardedNavigableContainer = (props, ref) => {
-  return Object(external_wp_element_["createElement"])(container_NavigableContainer, Object(esm_extends["a" /* default */])({}, props, {
-    forwardedRef: ref
-  }));
+
+const convertLTRToRTL = function () {
+  let ltrStyles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  return (0,external_lodash_namespaceObject.mapKeys)(ltrStyles, (_value, key) => getConvertedKey(key));
 };
+/**
+ * A higher-order function that create an incredibly basic ltr -> rtl style converter for CSS objects.
+ *
+ * @param {import('react').CSSProperties} ltrStyles   Ltr styles. Converts and renders from ltr -> rtl styles, if applicable.
+ * @param {import('react').CSSProperties} [rtlStyles] Rtl styles. Renders if provided.
+ *
+ * @return {() => import('@emotion/react').SerializedStyles} A function to output CSS styles for Emotion's renderer
+ */

-forwardedNavigableContainer.displayName = 'NavigableContainer';
-/* harmony default export */ var navigable_container_container = (Object(external_wp_element_["forwardRef"])(forwardedNavigableContainer));
+function rtl() {
+  let ltrStyles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let rtlStyles = arguments.length > 1 ? arguments[1] : undefined;
+  return () => {
+    if (rtlStyles) {
+      // @ts-ignore: `css` types are wrong, it can accept an object: https://emotion.sh/docs/object-styles#with-css
+      return (0,external_wp_i18n_namespaceObject.isRTL)() ? /*#__PURE__*/emotion_react_browser_esm_css(rtlStyles,  true ? "" : 0) : /*#__PURE__*/emotion_react_browser_esm_css(ltrStyles,  true ? "" : 0);
+    } // @ts-ignore: `css` types are wrong, it can accept an object: https://emotion.sh/docs/object-styles#with-css

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/menu.js

+    return (0,external_wp_i18n_namespaceObject.isRTL)() ? /*#__PURE__*/emotion_react_browser_esm_css(convertLTRToRTL(ltrStyles),  true ? "" : 0) : /*#__PURE__*/emotion_react_browser_esm_css(ltrStyles,  true ? "" : 0);
+  };
+}
+/**
+ * Call this in the `useMemo` dependency array to ensure that subsequent renders will
+ * cause rtl styles to update based on the `isRTL` return value even if all other dependencies
+ * remain the same.
+ *
+ * @example
+ * const styles = useMemo( () => {
+ *   return css`
+ *     ${ rtl( { marginRight: '10px' } ) }
+ *   `;
+ * }, [ rtl.watch() ] );
+ */

-// @ts-nocheck
+rtl.watch = () => (0,external_wp_i18n_namespaceObject.isRTL)();

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex/hook.js
 /**
  * External dependencies
  */
@@ -40959,220 +35400,278 @@ forwardedNavigableContainer.displayName = 'NavigableContainer';
  */


-function NavigableMenu(_ref, ref) {
+
+
+
+
+/**
+ *
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexProps, 'div'>} props
+ * @return {import('../../ui/context').WordPressComponentProps<import('../types').FlexProps, 'div'>} Props with the deprecated props removed.
+ */
+
+function hook_useDeprecatedProps(_ref) {
   let {
-    role = 'menu',
-    orientation = 'vertical',
-    ...rest
+    isReversed,
+    ...otherProps
   } = _ref;

-  const eventToOffset = evt => {
-    const {
-      keyCode
-    } = evt;
-    let next = [external_wp_keycodes_["DOWN"]];
-    let previous = [external_wp_keycodes_["UP"]];
+  if (typeof isReversed !== 'undefined') {
+    external_wp_deprecated_default()('Flex isReversed', {
+      alternative: 'Flex direction="row-reverse" or "column-reverse"',
+      since: '5.9'
+    });
+    return { ...otherProps,
+      direction: isReversed ? 'row-reverse' : 'row'
+    };
+  }

-    if (orientation === 'horizontal') {
-      next = [external_wp_keycodes_["RIGHT"]];
-      previous = [external_wp_keycodes_["LEFT"]];
-    }
+  return otherProps;
+}
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexProps, 'div'>} props
+ */

-    if (orientation === 'both') {
-      next = [external_wp_keycodes_["RIGHT"], external_wp_keycodes_["DOWN"]];
-      previous = [external_wp_keycodes_["LEFT"], external_wp_keycodes_["UP"]];
-    }

-    if (Object(external_lodash_["includes"])(next, keyCode)) {
-      return 1;
-    } else if (Object(external_lodash_["includes"])(previous, keyCode)) {
-      return -1;
-    } else if (Object(external_lodash_["includes"])([external_wp_keycodes_["DOWN"], external_wp_keycodes_["UP"], external_wp_keycodes_["LEFT"], external_wp_keycodes_["RIGHT"]], keyCode)) {
-      // Key press should be handled, e.g. have event propagation and
-      // default behavior handled by NavigableContainer but not result
-      // in an offset.
-      return 0;
-    }
-  };
+function useFlex(props) {
+  const {
+    align = 'center',
+    className,
+    direction: directionProp = 'row',
+    expanded = true,
+    gap = 2,
+    justify = 'space-between',
+    wrap = false,
+    ...otherProps
+  } = useContextSystem(hook_useDeprecatedProps(props), 'Flex');
+  const directionAsArray = Array.isArray(directionProp) ? directionProp : [directionProp];
+  const direction = useResponsiveValue(directionAsArray);
+  const isColumn = typeof direction === 'string' && !!direction.includes('column');
+  const isReverse = typeof direction === 'string' && direction.includes('reverse');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const sx = {};
+    sx.Base = /*#__PURE__*/emotion_react_browser_esm_css({
+      alignItems: isColumn ? 'normal' : align,
+      flexDirection: direction,
+      flexWrap: wrap ? 'wrap' : undefined,
+      justifyContent: justify,
+      height: isColumn && expanded ? '100%' : undefined,
+      width: !isColumn && expanded ? '100%' : undefined,
+      marginBottom: wrap ? `calc(${space(gap)} * -1)` : undefined
+    },  true ? "" : 0,  true ? "" : 0);
+    /**
+     * Workaround to optimize DOM rendering.
+     * We'll enhance alignment with naive parent flex assumptions.
+     *
+     * Trade-off:
+     * Far less DOM less. However, UI rendering is not as reliable.
+     */

-  return Object(external_wp_element_["createElement"])(navigable_container_container, Object(esm_extends["a" /* default */])({
-    ref: ref,
-    stopNavigationEvents: true,
-    onlyBrowserTabstops: false,
-    role: role,
-    "aria-orientation": role === 'presentation' ? null : orientation,
-    eventToOffset: eventToOffset
-  }, rest));
+    sx.Items = /*#__PURE__*/emotion_react_browser_esm_css(">*+*:not( marquee ){margin-top:", isColumn ? space(gap) : undefined, ";", rtl({
+      marginLeft: !isColumn && !isReverse ? space(gap) : undefined,
+      marginRight: !isColumn && isReverse ? space(gap) : undefined
+    })(), ";}" + ( true ? "" : 0),  true ? "" : 0);
+    sx.WrapItems = /*#__PURE__*/emotion_react_browser_esm_css(">*:not( marquee ){margin-bottom:", space(gap), ";", rtl({
+      marginLeft: !isColumn && isReverse ? space(gap) : undefined,
+      marginRight: !isColumn && !isReverse ? space(gap) : undefined
+    })(), ";}>*:last-child:not( marquee ){", rtl({
+      marginLeft: !isColumn && isReverse ? 0 : undefined,
+      marginRight: !isColumn && !isReverse ? 0 : undefined
+    })(), ";}" + ( true ? "" : 0),  true ? "" : 0);
+    return cx(Flex, sx.Base, wrap ? sx.WrapItems : sx.Items, isColumn ? ItemsColumn : ItemsRow, className);
+  }, [align, className, direction, expanded, gap, isColumn, isReverse, justify, wrap, rtl.watch()]);
+  return { ...otherProps,
+    className: classes,
+    isColumn
+  };
 }
-/* harmony default export */ var navigable_container_menu = (Object(external_wp_element_["forwardRef"])(NavigableMenu));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dropdown-menu/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flex/flex/component.js


-// @ts-nocheck

 /**
- * External dependencies
+ * Internal dependencies
  */


-/**
- * WordPress dependencies
- */


+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').FlexProps, 'div'>} props
+ * @param {import('react').Ref<any>}                                                                forwardedRef
+ */

+function component_Flex(props, forwardedRef) {
+  const {
+    children,
+    isColumn,
+    ...otherProps
+  } = useFlex(props);
+  return (0,external_wp_element_namespaceObject.createElement)(FlexContext.Provider, {
+    value: {
+      flexItemDisplay: isColumn ? 'block' : undefined
+    }
+  }, (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, otherProps, {
+    ref: forwardedRef
+  }), children));
+}
 /**
- * Internal dependencies
+ * `Flex` is a primitive layout component that adaptively aligns child content
+ * horizontally or vertically. `Flex` powers components like `HStack` and
+ * `VStack`.
+ *
+ * `Flex` is used with any of it's two sub-components, `FlexItem` and `FlexBlock`.
+ *
+ * @example
+ * ```jsx
+ * import {
+ * 	__experimentalFlex as Flex,
+ * 	__experimentalFlexBlock as FlexBlock,
+ * 	__experimentalFlexItem as FlexItem,
+ * 	__experimentalText as Text
+ * } from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<Flex>
+ * 			<FlexItem>
+ * 				<Text>Code</Text>
+ * 			</FlexItem>
+ * 			<FlexBlock>
+ * 				<Text>Poetry</Text>
+ * 			</FlexBlock>
+ * 		</Flex>
+ * 	);
+ * }
+ * ```
+ *
  */


+const ConnectedFlex = contextConnect(component_Flex, 'Flex');
+/* harmony default export */ var flex_component = (ConnectedFlex);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/truncate/styles.js
+function truncate_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

+/**
+ * External dependencies
+ */

-function mergeProps() {
-  let defaultProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  const mergedProps = { ...defaultProps,
-    ...props
-  };
+const Truncate =  true ? {
+  name: "hdknak",
+  styles: "display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"
+} : 0;

-  if (props.className && defaultProps.className) {
-    mergedProps.className = classnames_default()(props.className, defaultProps.className);
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/truncate/utils.js
+/**
+ * External dependencies
+ */

-  return mergedProps;
-}
+const TRUNCATE_ELLIPSIS = '…';
+const TRUNCATE_TYPE = {
+  auto: 'auto',
+  head: 'head',
+  middle: 'middle',
+  tail: 'tail',
+  none: 'none'
+};
+const TRUNCATE_DEFAULT_PROPS = {
+  ellipsis: TRUNCATE_ELLIPSIS,
+  ellipsizeMode: TRUNCATE_TYPE.auto,
+  limit: 0,
+  numberOfLines: 0
+}; // Source
+// https://github.com/kahwee/truncate-middle

-function DropdownMenu(dropdownMenuProps) {
-  const {
-    children,
-    className,
-    controls,
-    icon = library_menu,
-    label,
-    popoverProps,
-    toggleProps,
-    menuProps,
-    disableOpenOnArrowDown = false,
-    text,
-    noIcons
-  } = dropdownMenuProps;
+/**
+ * @param {string} word
+ * @param {number} headLength
+ * @param {number} tailLength
+ * @param {string} ellipsis
+ */

-  if (Object(external_lodash_["isEmpty"])(controls) && !Object(external_lodash_["isFunction"])(children)) {
-    return null;
-  } // Normalize controls to nested array of objects (sets of controls)
+function truncateMiddle(word, headLength, tailLength, ellipsis) {
+  if (typeof word !== 'string') {
+    return '';
+  }

+  const wordLength = word.length; // Setting default values
+  // eslint-disable-next-line no-bitwise

-  let controlSets;
+  const frontLength = ~~headLength; // will cast to integer
+  // eslint-disable-next-line no-bitwise

-  if (!Object(external_lodash_["isEmpty"])(controls)) {
-    controlSets = controls;
+  const backLength = ~~tailLength;
+  /* istanbul ignore next */

-    if (!Array.isArray(controlSets[0])) {
-      controlSets = [controlSets];
-    }
+  const truncateStr = !(0,external_lodash_namespaceObject.isNil)(ellipsis) ? ellipsis : TRUNCATE_ELLIPSIS;
+
+  if (frontLength === 0 && backLength === 0 || frontLength >= wordLength || backLength >= wordLength || frontLength + backLength >= wordLength) {
+    return word;
+  } else if (backLength === 0) {
+    return word.slice(0, frontLength) + truncateStr;
   }

-  const mergedPopoverProps = mergeProps({
-    className: 'components-dropdown-menu__popover'
-  }, popoverProps);
-  return Object(external_wp_element_["createElement"])(Dropdown, {
-    className: classnames_default()('components-dropdown-menu', className),
-    popoverProps: mergedPopoverProps,
-    renderToggle: _ref => {
-      var _toggleProps$showTool;
+  return word.slice(0, frontLength) + truncateStr + word.slice(wordLength - backLength);
+}
+/**
+ *
+ * @param {string}                        words
+ * @param {typeof TRUNCATE_DEFAULT_PROPS} props
+ */

-      let {
-        isOpen,
-        onToggle
-      } = _ref;
+function truncateContent() {
+  let words = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
+  let props = arguments.length > 1 ? arguments[1] : undefined;
+  const mergedProps = { ...TRUNCATE_DEFAULT_PROPS,
+    ...props
+  };
+  const {
+    ellipsis,
+    ellipsizeMode,
+    limit
+  } = mergedProps;

-      const openOnArrowDown = event => {
-        if (disableOpenOnArrowDown) {
-          return;
-        }
+  if (ellipsizeMode === TRUNCATE_TYPE.none) {
+    return words;
+  }

-        if (!isOpen && event.keyCode === external_wp_keycodes_["DOWN"]) {
-          event.preventDefault();
-          onToggle();
-        }
-      };
+  let truncateHead;
+  let truncateTail;

-      const mergedToggleProps = mergeProps({
-        className: classnames_default()('components-dropdown-menu__toggle', {
-          'is-opened': isOpen
-        })
-      }, toggleProps);
-      return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, mergedToggleProps, {
-        icon: icon,
-        onClick: event => {
-          onToggle(event);
+  switch (ellipsizeMode) {
+    case TRUNCATE_TYPE.head:
+      truncateHead = 0;
+      truncateTail = limit;
+      break;

-          if (mergedToggleProps.onClick) {
-            mergedToggleProps.onClick(event);
-          }
-        },
-        onKeyDown: event => {
-          openOnArrowDown(event);
+    case TRUNCATE_TYPE.middle:
+      truncateHead = Math.floor(limit / 2);
+      truncateTail = Math.floor(limit / 2);
+      break;

-          if (mergedToggleProps.onKeyDown) {
-            mergedToggleProps.onKeyDown(event);
-          }
-        },
-        "aria-haspopup": "true",
-        "aria-expanded": isOpen,
-        label: label,
-        text: text,
-        showTooltip: (_toggleProps$showTool = toggleProps === null || toggleProps === void 0 ? void 0 : toggleProps.showTooltip) !== null && _toggleProps$showTool !== void 0 ? _toggleProps$showTool : true
-      }), mergedToggleProps.children);
-    },
-    renderContent: props => {
-      const mergedMenuProps = mergeProps({
-        'aria-label': label,
-        className: classnames_default()('components-dropdown-menu__menu', {
-          'no-icons': noIcons
-        })
-      }, menuProps);
-      return Object(external_wp_element_["createElement"])(navigable_container_menu, Object(esm_extends["a" /* default */])({}, mergedMenuProps, {
-        role: "menu"
-      }), Object(external_lodash_["isFunction"])(children) ? children(props) : null, Object(external_lodash_["flatMap"])(controlSets, (controlSet, indexOfSet) => controlSet.map((control, indexOfControl) => Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-        key: [indexOfSet, indexOfControl].join(),
-        onClick: event => {
-          event.stopPropagation();
-          props.onClose();
+    default:
+      truncateHead = limit;
+      truncateTail = 0;
+  }

-          if (control.onClick) {
-            control.onClick();
-          }
-        },
-        className: classnames_default()('components-dropdown-menu__menu-item', {
-          'has-separator': indexOfSet > 0 && indexOfControl === 0,
-          'is-active': control.isActive,
-          'is-icon-only': !control.title
-        }),
-        icon: control.icon,
-        label: control.label,
-        "aria-checked": control.role === 'menuitemcheckbox' || control.role === 'menuitemradio' ? control.isActive : undefined,
-        role: control.role === 'menuitemcheckbox' || control.role === 'menuitemradio' ? control.role : 'menuitem',
-        disabled: control.isDisabled
-      }, control.title))));
-    }
-  });
+  const truncatedContent = ellipsizeMode !== TRUNCATE_TYPE.auto ? truncateMiddle(words, truncateHead, truncateTail, ellipsis) : words;
+  return truncatedContent;
 }

-/* harmony default export */ var dropdown_menu = (DropdownMenu);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/item/hook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/truncate/hook.js
 /**
  * External dependencies
  */
-// eslint-disable-next-line no-restricted-imports

 /**
  * WordPress dependencies
  */

+
 /**
  * Internal dependencies
  */
@@ -41181,653 +35680,475 @@ function DropdownMenu(dropdownMenuProps) {



-function useItem(props) {
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'span'>} props
+ */
+
+function useTruncate(props) {
   const {
-    as: asProp,
     className,
-    onClick,
-    role = 'listitem',
-    size: sizeProp,
+    children,
+    ellipsis = TRUNCATE_ELLIPSIS,
+    ellipsizeMode = TRUNCATE_TYPE.auto,
+    limit = 0,
+    numberOfLines = 0,
     ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Item');
-  const {
-    spacedAround,
-    size: contextSize
-  } = useItemGroupContext();
-  const size = sizeProp || contextSize;
-  const as = asProp || (typeof onClick !== 'undefined' ? 'button' : 'div');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => cx(as === 'button' && unstyledButton, itemSizes[size] || itemSizes.medium, styles_item, spacedAround && styles_spacedAround, className), [as, className, size, spacedAround]);
-  const wrapperClassName = cx(itemWrapper);
-  return {
-    as,
+  } = useContextSystem(props, 'Truncate');
+  const cx = useCx();
+  const truncatedContent = truncateContent(typeof children === 'string' ?
+  /** @type {string} */
+  children : '', {
+    ellipsis,
+    ellipsizeMode,
+    limit,
+    numberOfLines
+  });
+  const shouldTruncate = ellipsizeMode === TRUNCATE_TYPE.auto;
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const sx = {};
+    sx.numberOfLines = /*#__PURE__*/emotion_react_browser_esm_css("-webkit-box-orient:vertical;-webkit-line-clamp:", numberOfLines, ";display:-webkit-box;overflow:hidden;" + ( true ? "" : 0),  true ? "" : 0);
+    return cx(shouldTruncate && !numberOfLines && Truncate, shouldTruncate && !!numberOfLines && sx.numberOfLines, className);
+  }, [className, numberOfLines, shouldTruncate]);
+  return { ...otherProps,
     className: classes,
-    onClick,
-    wrapperClassName,
-    role,
-    ...otherProps
+    children: truncatedContent
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/item/component.js
-
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/colors.js
 /**
  * External dependencies
  */
-// eslint-disable-next-line no-restricted-imports
-
-/**
- * Internal dependencies
- */



+/** @type {HTMLDivElement} */

-function component_Item(props, forwardedRef) {
-  const {
-    role,
-    wrapperClassName,
-    ...otherProps
-  } = useItem(props);
-  return Object(external_wp_element_["createElement"])("div", {
-    role: role,
-    className: wrapperClassName
-  }, Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, otherProps, {
-    ref: forwardedRef
-  })));
-}
-
-/* harmony default export */ var item_component = (Object(context_connect["a" /* contextConnect */])(component_Item, 'Item'));
+let colorComputationNode;
+k([names]);
+/**
+ * @return {HTMLDivElement | undefined} The HTML element for color computation.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/palette-edit/styles.js
+function getColorComputationNode() {
+  if (typeof document === 'undefined') return;

+  if (!colorComputationNode) {
+    // Create a temporary element for style computation.
+    const el = document.createElement('div');
+    el.setAttribute('data-g2-color-computation-node', ''); // Inject for window computed style.

-function palette_edit_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+    document.body.appendChild(el);
+    colorComputationNode = el;
+  }

+  return colorComputationNode;
+}
 /**
- * External dependencies
+ * @param {string | unknown} value
+ *
+ * @return {boolean} Whether the value is a valid color.
  */

+
+function isColor(value) {
+  if (typeof value !== 'string') return false;
+  const test = w(value);
+  return test.isValid();
+}
 /**
- * Internal dependencies
+ * Retrieves the computed background color. This is useful for getting the
+ * value of a CSS variable color.
+ *
+ * @param {string | unknown} backgroundColor The background color to compute.
+ *
+ * @return {string} The computed background color.
  */


+function _getComputedBackgroundColor(backgroundColor) {
+  var _window;

+  if (typeof backgroundColor !== 'string') return '';
+  if (isColor(backgroundColor)) return backgroundColor;
+  if (!backgroundColor.includes('var(')) return '';
+  if (typeof document === 'undefined') return ''; // Attempts to gracefully handle CSS variables color values.

+  const el = getColorComputationNode();
+  if (!el) return '';
+  el.style.background = backgroundColor; // Grab the style

+  const computedColor = (_window = window) === null || _window === void 0 ? void 0 : _window.getComputedStyle(el).background; // Reset

+  el.style.background = '';
+  return computedColor || '';
+}

+const getComputedBackgroundColor = memize_default()(_getComputedBackgroundColor);
+/**
+ * Get the text shade optimized for readability, based on a background color.
+ *
+ * @param {string | unknown} backgroundColor The background color.
+ *
+ * @return {string} The optimized text color (black or white).
+ */

+function getOptimalTextColor(backgroundColor) {
+  const background = getComputedBackgroundColor(backgroundColor);
+  return w(background).isLight() ? '#000000' : '#ffffff';
+}
+/**
+ * Get the text shade optimized for readability, based on a background color.
+ *
+ * @param {string | unknown} backgroundColor The background color.
+ *
+ * @return {string} The optimized text shade (dark or light).
+ */

+function getOptimalTextShade(backgroundColor) {
+  const result = getOptimalTextColor(backgroundColor);
+  return result === '#000000' ? 'dark' : 'light';
+}

-const IndicatorStyled = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(CircularOptionPicker.Option,  true ? {
-  target: "e5bw3229"
-} : undefined)("width:", space(6), ";height:", space(6), ";pointer-events:none;" + ( true ? "" : undefined));
-const NameInputControl = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(input_control,  true ? {
-  target: "e5bw3228"
-} : undefined)(Container, "{background:", COLORS.gray[100], ";border-radius:2px;", Input, Input, Input, Input, "{height:", space(8), ";}", BackdropUI, BackdropUI, BackdropUI, "{border-color:transparent;box-shadow:none;}}" + ( true ? "" : undefined));
-const PaletteItem = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(item_component,  true ? {
-  target: "e5bw3227"
-} : undefined)("padding:3px 0 3px ", space(3), ";height:calc( 40px - ", config_values.borderWidth, " );" + ( true ? "" : undefined));
-const NameContainer = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e5bw3226"
-} : undefined)("line-height:", space(8), ";margin-left:", space(2), ";margin-right:", space(2), ";white-space:nowrap;overflow:hidden;" + ( true ? "" : undefined));
-const PaletteHeading = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(heading_component,  true ? {
-  target: "e5bw3225"
-} : undefined)("text-transform:uppercase;line-height:", space(6), ";font-weight:500;&&&{font-size:11px;margin-bottom:0;}" + ( true ? "" : undefined));
-const PaletteActionsContainer = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(view_component["a" /* default */],  true ? {
-  target: "e5bw3224"
-} : undefined)("height:", space(6), ";display:flex;" + ( true ? "" : undefined));
-const PaletteHStackHeader = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(h_stack_component,  true ? {
-  target: "e5bw3223"
-} : undefined)("margin-bottom:", space(2), ";" + ( true ? "" : undefined));
-const PaletteEditStyles = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(view_component["a" /* default */],  true ? {
-  target: "e5bw3222"
-} : undefined)( true ? {
-  name: "u6wnko",
-  styles: "&&&{.components-button.has-icon{min-width:0;padding:0;}}"
-} : undefined);
-const DoneButton = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(build_module_button["a" /* default */],  true ? {
-  target: "e5bw3221"
-} : undefined)("&&{color:", COLORS.ui.theme, ";}" + ( true ? "" : undefined));
-const RemoveButton = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(build_module_button["a" /* default */],  true ? {
-  target: "e5bw3220"
-} : undefined)("&&{margin-top:", space(1), ";}" + ( true ? "" : undefined));
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/config-values.js
+/**
+ * Internal dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/palette-edit/index.js

+const CONTROL_HEIGHT = '36px';
+const CONTROL_PADDING_X = '12px';
+const CONTROL_PROPS = {
+  controlSurfaceColor: COLORS.white,
+  controlTextActiveColor: COLORS.ui.theme,
+  controlPaddingX: CONTROL_PADDING_X,
+  controlPaddingXLarge: `calc(${CONTROL_PADDING_X} * 1.3334)`,
+  controlPaddingXSmall: `calc(${CONTROL_PADDING_X} / 1.3334)`,
+  controlBackgroundColor: COLORS.white,
+  controlBorderRadius: '2px',
+  controlBorderColor: COLORS.gray[700],
+  controlBoxShadow: 'transparent',
+  controlBorderColorHover: COLORS.gray[700],
+  controlBoxShadowFocus: `0 0 0 0.5px ${COLORS.admin.theme}`,
+  controlDestructiveBorderColor: COLORS.alert.red,
+  controlHeight: CONTROL_HEIGHT,
+  controlHeightXSmall: `calc( ${CONTROL_HEIGHT} * 0.6 )`,
+  controlHeightSmall: `calc( ${CONTROL_HEIGHT} * 0.8 )`,
+  controlHeightLarge: `calc( ${CONTROL_HEIGHT} * 1.2 )`,
+  controlHeightXLarge: `calc( ${CONTROL_HEIGHT} * 1.4 )`
+};
+const TOGGLE_GROUP_CONTROL_PROPS = {
+  toggleGroupControlBackgroundColor: CONTROL_PROPS.controlBackgroundColor,
+  toggleGroupControlBorderColor: COLORS.ui.border,
+  toggleGroupControlBackdropBackgroundColor: CONTROL_PROPS.controlSurfaceColor,
+  toggleGroupControlBackdropBorderColor: COLORS.ui.border,
+  toggleGroupControlBackdropBoxShadow: 'transparent',
+  toggleGroupControlButtonColorActive: CONTROL_PROPS.controlBackgroundColor
+};
+/* harmony default export */ var config_values = ({ ...CONTROL_PROPS,
+  ...TOGGLE_GROUP_CONTROL_PROPS,
+  colorDivider: 'rgba(0, 0, 0, 0.1)',
+  colorScrollbarThumb: 'rgba(0, 0, 0, 0.2)',
+  colorScrollbarThumbHover: 'rgba(0, 0, 0, 0.5)',
+  colorScrollbarTrack: 'rgba(0, 0, 0, 0.04)',
+  elevationIntensity: 1,
+  radiusBlockUi: '2px',
+  borderWidth: '1px',
+  borderWidthFocus: '1.5px',
+  borderWidthTab: '4px',
+  spinnerSize: '18px',
+  fontSize: '13px',
+  fontSizeH1: 'calc(2.44 * 13px)',
+  fontSizeH2: 'calc(1.95 * 13px)',
+  fontSizeH3: 'calc(1.56 * 13px)',
+  fontSizeH4: 'calc(1.25 * 13px)',
+  fontSizeH5: '13px',
+  fontSizeH6: 'calc(0.8 * 13px)',
+  fontSizeInputMobile: '16px',
+  fontSizeMobile: '15px',
+  fontSizeSmall: 'calc(0.92 * 13px)',
+  fontSizeXSmall: 'calc(0.75 * 13px)',
+  fontLineHeightBase: '1.2',
+  fontWeight: 'normal',
+  fontWeightHeading: '600',
+  gridBase: '4px',
+  cardBorderRadius: '2px',
+  cardPaddingXSmall: `${space(2)}`,
+  cardPaddingSmall: `${space(4)}`,
+  cardPaddingMedium: `${space(4)} ${space(6)}`,
+  cardPaddingLarge: `${space(6)} ${space(8)}`,
+  surfaceBackgroundColor: COLORS.white,
+  surfaceBackgroundSubtleColor: '#F3F3F3',
+  surfaceBackgroundTintColor: '#F5F5F5',
+  surfaceBorderColor: 'rgba(0, 0, 0, 0.1)',
+  surfaceBorderBoldColor: 'rgba(0, 0, 0, 0.15)',
+  surfaceBorderSubtleColor: 'rgba(0, 0, 0, 0.05)',
+  surfaceBackgroundTertiaryColor: COLORS.white,
+  surfaceColor: COLORS.white,
+  transitionDuration: '200ms',
+  transitionDurationFast: '160ms',
+  transitionDurationFaster: '120ms',
+  transitionDurationFastest: '100ms',
+  transitionTimingFunction: 'cubic-bezier(0.08, 0.52, 0.52, 1)',
+  transitionTimingFunctionControl: 'cubic-bezier(0.12, 0.8, 0.32, 1)'
+});

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/styles.js
+function text_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
  * External dependencies
  */

 /**
- * WordPress dependencies
+ * Internal dependencies
  */


+const Text = /*#__PURE__*/emotion_react_browser_esm_css("color:", COLORS.darkGray.primary, ";line-height:", config_values.fontLineHeightBase, ";margin:0;" + ( true ? "" : 0),  true ? "" : 0);
+const styles_block =  true ? {
+  name: "4zleql",
+  styles: "display:block"
+} : 0;
+const positive = /*#__PURE__*/emotion_react_browser_esm_css("color:", COLORS.alert.green, ";" + ( true ? "" : 0),  true ? "" : 0);
+const destructive = /*#__PURE__*/emotion_react_browser_esm_css("color:", COLORS.alert.red, ";" + ( true ? "" : 0),  true ? "" : 0);
+const muted = /*#__PURE__*/emotion_react_browser_esm_css("color:", COLORS.mediumGray.text, ";" + ( true ? "" : 0),  true ? "" : 0);
+const highlighterText = /*#__PURE__*/emotion_react_browser_esm_css("mark{background:", COLORS.alert.yellow, ";border-radius:2px;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}" + ( true ? "" : 0),  true ? "" : 0);
+const upperCase =  true ? {
+  name: "50zrmy",
+  styles: "text-transform:uppercase"
+} : 0;

-
-
+// EXTERNAL MODULE: ./node_modules/highlight-words-core/dist/index.js
+var dist = __webpack_require__(3138);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/utils.js
 /**
- * Internal dependencies
+ * External dependencies
  */


+/**
+ * WordPress dependencies
+ */


+/**
+ * Source:
+ * https://github.com/bvaughn/react-highlight-words/blob/HEAD/src/Highlighter.js
+ */

+/* eslint-disable jsdoc/valid-types */

+/**
+ * @typedef Options
+ * @property {string}                                                     [activeClassName='']      Classname for active highlighted areas.
+ * @property {number}                                                     [activeIndex=-1]          The index of the active highlighted area.
+ * @property {import('react').AllHTMLAttributes<HTMLDivElement>['style']} [activeStyle]             Styles to apply to the active highlighted area.
+ * @property {boolean}                                                    [autoEscape]              Whether to automatically escape text.
+ * @property {boolean}                                                    [caseSensitive=false]     Whether to highlight in a case-sensitive manner.
+ * @property {string}                                                     children                  Children to highlight.
+ * @property {import('highlight-words-core').FindAllArgs['findChunks']}   [findChunks]              Custom `findChunks` function to pass to `highlight-words-core`.
+ * @property {string | Record<string, unknown>}                           [highlightClassName='']   Classname to apply to highlighted text or a Record of classnames to apply to given text (which should be the key).
+ * @property {import('react').AllHTMLAttributes<HTMLDivElement>['style']} [highlightStyle={}]       Styles to apply to highlighted text.
+ * @property {keyof JSX.IntrinsicElements}                                [highlightTag='mark']     Tag to use for the highlighted text.
+ * @property {import('highlight-words-core').FindAllArgs['sanitize']}     [sanitize]                Custom `santize` function to pass to `highlight-words-core`.
+ * @property {string[]}                                                   [searchWords=[]]          Words to search for and highlight.
+ * @property {string}                                                     [unhighlightClassName=''] Classname to apply to unhighlighted text.
+ * @property {import('react').AllHTMLAttributes<HTMLDivElement>['style']} [unhighlightStyle]        Style to apply to unhighlighted text.
+ */

+/**
+ * Maps props to lowercase names.
+ *
+ * @template {Record<string, unknown>} T
+ * @param {T} object Props to map.
+ * @return {{[K in keyof T as Lowercase<string & K>]: T[K]}} The mapped props.
+ */

+/* eslint-enable jsdoc/valid-types */

+const lowercaseProps = object => {
+  /** @type {any} */
+  const mapped = {};

+  for (const key in object) {
+    mapped[key.toLowerCase()] = object[key];
+  }

+  return mapped;
+};

+const memoizedLowercaseProps = memize_default()(lowercaseProps);
+/**
+ *
+ * @param {Options} options
+ */

-
-
-const DEFAULT_COLOR = '#000';
-
-function NameInput(_ref) {
+function createHighlighterText(_ref) {
   let {
-    value,
-    onChange,
-    label
+    activeClassName = '',
+    activeIndex = -1,
+    activeStyle,
+    autoEscape,
+    caseSensitive = false,
+    children,
+    findChunks,
+    highlightClassName = '',
+    highlightStyle = {},
+    highlightTag = 'mark',
+    sanitize,
+    searchWords = [],
+    unhighlightClassName = '',
+    unhighlightStyle
   } = _ref;
-  return Object(external_wp_element_["createElement"])(NameInputControl, {
-    label: label,
-    hideLabelFromVision: true,
-    value: value,
-    onChange: onChange
+  if (!children) return null;
+  if (typeof children !== 'string') return children;
+  const textToHighlight = children;
+  const chunks = (0,dist.findAll)({
+    autoEscape,
+    caseSensitive,
+    findChunks,
+    sanitize,
+    searchWords,
+    textToHighlight
   });
-}
-
-function getNameForPosition(position) {
-  return Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: is a temporary id for a custom color */
-  Object(external_wp_i18n_["__"])('Color %s '), position + 1);
-}
-
-function palette_edit_Option(_ref2) {
-  let {
-    canOnlyChangeValues,
-    element,
-    onChange,
-    isEditing,
-    onStartEditing,
-    onRemove,
-    onStopEditing,
-    slugPrefix,
-    isGradient
-  } = _ref2;
-  const focusOutsideProps = Object(external_wp_compose_["__experimentalUseFocusOutside"])(onStopEditing);
-  const value = isGradient ? element.gradient : element.color;
-  return Object(external_wp_element_["createElement"])(PaletteItem, Object(esm_extends["a" /* default */])({
-    as: "div",
-    onClick: onStartEditing
-  }, isEditing ? focusOutsideProps : {}), Object(external_wp_element_["createElement"])(h_stack_component, {
-    justify: "flex-start"
-  }, Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_element_["createElement"])(IndicatorStyled, {
-    style: {
-      background: value,
-      color: 'transparent'
-    }
-  })), Object(external_wp_element_["createElement"])(flex_item_component, null, isEditing && !canOnlyChangeValues ? Object(external_wp_element_["createElement"])(NameInput, {
-    label: isGradient ? Object(external_wp_i18n_["__"])('Gradient name') : Object(external_wp_i18n_["__"])('Color name'),
-    value: element.name,
-    onChange: nextName => onChange({ ...element,
-      name: nextName,
-      slug: slugPrefix + Object(external_lodash_["kebabCase"])(nextName)
-    })
-  }) : Object(external_wp_element_["createElement"])(NameContainer, null, element.name)), isEditing && !canOnlyChangeValues && Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_element_["createElement"])(RemoveButton, {
-    isSmall: true,
-    icon: line_solid["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Remove color'),
-    onClick: onRemove
-  }))), isEditing && Object(external_wp_element_["createElement"])(build_module_popover["a" /* default */], {
-    position: "bottom left",
-    className: "components-palette-edit__popover"
-  }, !isGradient && Object(external_wp_element_["createElement"])(LegacyAdapter, {
-    color: value,
-    onChange: newColor => onChange({ ...element,
-      color: newColor
-    })
-  }), isGradient && Object(external_wp_element_["createElement"])(CustomGradientPicker, {
-    __experimentalIsRenderedInSidebar: true,
-    value: value,
-    onChange: newGradient => onChange({ ...element,
-      gradient: newGradient
-    })
-  })));
-}
-
-function isTemporaryElement(slugPrefix, _ref3, index) {
-  let {
-    slug,
-    color,
-    gradient
-  } = _ref3;
-  return slug === slugPrefix + Object(external_lodash_["kebabCase"])(getNameForPosition(index)) && (!!color && color === DEFAULT_COLOR || !!gradient && gradient === DEFAULT_GRADIENT);
-}
+  const HighlightTag = highlightTag;
+  let highlightIndex = -1;
+  let highlightClassNames = '';
+  let highlightStyles;
+  const textContent = chunks.map((chunk, index) => {
+    const text = textToHighlight.substr(chunk.start, chunk.end - chunk.start);

-function PaletteEditListView(_ref4) {
-  let {
-    elements,
-    onChange,
-    editingElement,
-    setEditingElement,
-    canOnlyChangeValues,
-    slugPrefix,
-    isGradient
-  } = _ref4;
-  // When unmounting the component if there are empty elements (the user did not complete the insertion) clean them.
-  const elementsReference = Object(external_wp_element_["useRef"])();
-  Object(external_wp_element_["useEffect"])(() => {
-    elementsReference.current = elements;
-  }, [elements]);
-  Object(external_wp_element_["useEffect"])(() => {
-    return () => {
-      if (elementsReference.current.some((element, index) => isTemporaryElement(slugPrefix, element, index))) {
-        const newElements = elementsReference.current.filter((element, index) => !isTemporaryElement(slugPrefix, element, index));
-        onChange(newElements.length ? newElements : undefined);
-      }
-    };
-  }, []);
-  return Object(external_wp_element_["createElement"])(v_stack_component, {
-    spacing: 3
-  }, Object(external_wp_element_["createElement"])(item_group_component, {
-    isBordered: true,
-    isSeparated: true
-  }, elements.map((element, index) => Object(external_wp_element_["createElement"])(palette_edit_Option, {
-    isGradient: isGradient,
-    canOnlyChangeValues: canOnlyChangeValues,
-    key: index,
-    element: element,
-    onStartEditing: () => {
-      if (editingElement !== index) {
-        setEditingElement(index);
-      }
-    },
-    onChange: newElement => {
-      onChange(elements.map((currentElement, currentIndex) => {
-        if (currentIndex === index) {
-          return newElement;
-        }
+    if (chunk.highlight) {
+      highlightIndex++;
+      let highlightClass;

-        return currentElement;
-      }));
-    },
-    onRemove: () => {
-      setEditingElement(null);
-      const newElements = elements.filter((_currentElement, currentIndex) => {
-        if (currentIndex === index) {
-          return false;
+      if (typeof highlightClassName === 'object') {
+        if (!caseSensitive) {
+          highlightClassName = memoizedLowercaseProps(highlightClassName);
+          highlightClass = highlightClassName[text.toLowerCase()];
+        } else {
+          highlightClass = highlightClassName[text];
         }
+      } else {
+        highlightClass = highlightClassName;
+      }

-        return true;
-      });
-      onChange(newElements.length ? newElements : undefined);
-    },
-    isEditing: index === editingElement,
-    onStopEditing: () => {
-      if (index === editingElement) {
-        setEditingElement(null);
-      }
-    },
-    slugPrefix: slugPrefix
-  }))));
-}
-
-const EMPTY_ARRAY = [];
-function PaletteEdit(_ref5) {
-  let {
-    gradients,
-    colors = EMPTY_ARRAY,
-    onChange,
-    paletteLabel,
-    emptyMessage,
-    canOnlyChangeValues,
-    canReset,
-    slugPrefix = ''
-  } = _ref5;
-  const isGradient = !!gradients;
-  const elements = isGradient ? gradients : colors;
-  const [isEditing, setIsEditing] = Object(external_wp_element_["useState"])(false);
-  const [editingElement, setEditingElement] = Object(external_wp_element_["useState"])(null);
-  const isAdding = isEditing && editingElement && elements[editingElement] && !elements[editingElement].slug;
-  const elementsLength = elements.length;
-  const hasElements = elementsLength > 0;
-  return Object(external_wp_element_["createElement"])(PaletteEditStyles, null, Object(external_wp_element_["createElement"])(PaletteHStackHeader, null, Object(external_wp_element_["createElement"])(PaletteHeading, null, paletteLabel), Object(external_wp_element_["createElement"])(PaletteActionsContainer, null, isEditing && Object(external_wp_element_["createElement"])(DoneButton, {
-    isSmall: true,
-    onClick: () => {
-      setIsEditing(false);
-      setEditingElement(null);
-    }
-  }, Object(external_wp_i18n_["__"])('Done')), !canOnlyChangeValues && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    isSmall: true,
-    isPressed: isAdding,
-    icon: plus["a" /* default */],
-    label: isGradient ? Object(external_wp_i18n_["__"])('Add gradient') : Object(external_wp_i18n_["__"])('Add color'),
-    onClick: () => {
-      const tempOptionName = getNameForPosition(elementsLength);
-      onChange([...elements, { ...(isGradient ? {
-          gradient: DEFAULT_GRADIENT
-        } : {
-          color: DEFAULT_COLOR
-        }),
-        name: tempOptionName,
-        slug: slugPrefix + Object(external_lodash_["kebabCase"])(tempOptionName)
-      }]);
-      setIsEditing(true);
-      setEditingElement(elements.length);
-    }
-  }), hasElements && (!isEditing || !canOnlyChangeValues || canReset) && Object(external_wp_element_["createElement"])(dropdown_menu, {
-    icon: more_vertical["a" /* default */],
-    label: isGradient ? Object(external_wp_i18n_["__"])('Gradient options') : Object(external_wp_i18n_["__"])('Color options'),
-    toggleProps: {
-      isSmall: true
-    }
-  }, _ref6 => {
-    let {
-      onClose
-    } = _ref6;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(navigable_container_menu, {
-      role: "menu"
-    }, !isEditing && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-      variant: "tertiary",
-      onClick: () => {
-        setIsEditing(true);
-        onClose();
-      },
-      className: "components-palette-edit__menu-button"
-    }, isGradient ? Object(external_wp_i18n_["__"])('Edit gradients') : Object(external_wp_i18n_["__"])('Edit colors')), !canOnlyChangeValues && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-      variant: "tertiary",
-      onClick: () => {
-        setEditingElement(null);
-        setIsEditing(false);
-        onChange();
-        onClose();
-      },
-      className: "components-palette-edit__menu-button"
-    }, isGradient ? Object(external_wp_i18n_["__"])('Remove all gradients') : Object(external_wp_i18n_["__"])('Remove all colors')), canReset && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-      variant: "tertiary",
-      onClick: () => {
-        setEditingElement(null);
-        onChange();
-        onClose();
-      }
-    }, isGradient ? Object(external_wp_i18n_["__"])('Reset gradient') : Object(external_wp_i18n_["__"])('Reset colors'))));
-  }))), hasElements && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isEditing && Object(external_wp_element_["createElement"])(PaletteEditListView, {
-    canOnlyChangeValues: canOnlyChangeValues,
-    elements: elements,
-    onChange: onChange,
-    editingElement: editingElement,
-    setEditingElement: setEditingElement,
-    slugPrefix: slugPrefix,
-    isGradient: isGradient
-  }), !isEditing && (isGradient ? Object(external_wp_element_["createElement"])(GradientPicker, {
-    gradients: gradients,
-    onChange: () => {},
-    clearable: false,
-    disableCustomGradients: true
-  }) : Object(external_wp_element_["createElement"])(ColorPalette, {
-    colors: colors,
-    onChange: () => {},
-    clearable: false,
-    disableCustomColors: true
-  }))), !hasElements && emptyMessage);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-indicator/index.js
-
-
-
-/**
- * External dependencies
- */
-
-
-const ColorIndicator = _ref => {
-  let {
-    className,
-    colorValue,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("span", Object(esm_extends["a" /* default */])({
-    className: classnames_default()('component-color-indicator', className),
-    style: {
-      background: colorValue
-    }
-  }, props));
-};
-
-/* harmony default export */ var color_indicator = (ColorIndicator);
+      const isActive = highlightIndex === +activeIndex;
+      highlightClassNames = `${highlightClass} ${isActive ? activeClassName : ''}`;
+      highlightStyles = isActive === true && activeStyle !== null ? Object.assign({}, highlightStyle, activeStyle) : highlightStyle;
+      /** @type {Record<string, any>} */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
+      const props = {
+        children: text,
+        className: highlightClassNames,
+        key: index,
+        style: highlightStyles
+      }; // Don't attach arbitrary props to DOM elements; this triggers React DEV warnings (https://fb.me/react-unknown-prop)
+      // Only pass through the highlightIndex attribute for custom components.

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-token-field/token-input.js
+      if (typeof HighlightTag !== 'string') {
+        props.highlightIndex = highlightIndex;
+      }

+      return (0,external_wp_element_namespaceObject.createElement)(HighlightTag, props);
+    }

+    return (0,external_wp_element_namespaceObject.createElement)('span', {
+      children: text,
+      className: unhighlightClassName,
+      key: index,
+      style: unhighlightStyle
+    });
+  });
+  return textContent;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/font-size.js
 /**
  * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports

 /**
- * WordPress dependencies
+ * Internal dependencies
  */

+const BASE_FONT_SIZE = 13;
+const PRESET_FONT_SIZES = {
+  body: BASE_FONT_SIZE,
+  caption: 10,
+  footnote: 11,
+  largeTitle: 28,
+  subheadline: 12,
+  title: 20
+};
+const HEADING_FONT_SIZES = [1, 2, 3, 4, 5, 6].flatMap(n => [n, n.toString()]);
+function getFontSize() {
+  let size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : BASE_FONT_SIZE;

-
-class token_input_TokenInput extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.onChange = this.onChange.bind(this);
-    this.bindInput = this.bindInput.bind(this);
-  }
-
-  focus() {
-    this.input.focus();
-  }
-
-  hasFocus() {
-    return this.input === this.input.ownerDocument.activeElement;
+  if (size in PRESET_FONT_SIZES) {
+    return getFontSize(PRESET_FONT_SIZES[size]);
   }

-  bindInput(ref) {
-    this.input = ref;
+  if (typeof size !== 'number') {
+    const parsed = parseFloat(size);
+    if (Number.isNaN(parsed)) return size;
+    size = parsed;
   }

-  onChange(event) {
-    this.props.onChange({
-      value: event.target.value
-    });
-  }
+  const ratio = `(${size} / ${BASE_FONT_SIZE})`;
+  return `calc(${ratio} * ${config_values.fontSize})`;
+}
+function getHeadingFontSize() {
+  let size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 3;

-  render() {
-    const {
-      value,
-      isExpanded,
-      instanceId,
-      selectedSuggestionIndex,
-      className,
-      onChange,
-      ...props
-    } = this.props;
-    const size = value ? value.length + 1 : 0;
-    return Object(external_wp_element_["createElement"])("input", Object(esm_extends["a" /* default */])({
-      ref: this.bindInput,
-      id: `components-form-token-input-${instanceId}`,
-      type: "text"
-    }, props, {
-      value: value || '',
-      onChange: onChange ? this.onChange : undefined,
-      size: size,
-      className: classnames_default()(className, 'components-form-token-field__input'),
-      autoComplete: "off",
-      role: "combobox",
-      "aria-expanded": isExpanded,
-      "aria-autocomplete": "list",
-      "aria-owns": isExpanded ? `components-form-token-suggestions-${instanceId}` : undefined,
-      "aria-activedescendant": selectedSuggestionIndex !== -1 ? `components-form-token-suggestions-${instanceId}-${selectedSuggestionIndex}` : undefined,
-      "aria-describedby": `components-form-token-suggestions-howto-${instanceId}`
-    }));
+  if (!HEADING_FONT_SIZES.includes(size)) {
+    return getFontSize(size);
   }

+  const headingSize = `fontSizeH${size}`;
+  return config_values[headingSize];
 }

-/* harmony default export */ var token_input = (token_input_TokenInput);
-
-// EXTERNAL MODULE: ./node_modules/dom-scroll-into-view/lib/index.js
-var lib = __webpack_require__("9Do8");
-var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-token-field/suggestions-list.js
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/get-line-height.js
 /**
  * External dependencies
  */
-
-
+// eslint-disable-next-line no-restricted-imports

 /**
- * WordPress dependencies
+ * Internal dependencies
  */


+function getLineHeight(adjustLineHeightForInnerControls, lineHeight) {
+  if (lineHeight) return lineHeight;
+  if (!adjustLineHeightForInnerControls) return;
+  let value = `calc(${config_values.controlHeight} + ${space(2)})`;

+  switch (adjustLineHeightForInnerControls) {
+    case 'large':
+      value = `calc(${config_values.controlHeightLarge} + ${space(2)})`;
+      break;

-class suggestions_list_SuggestionsList extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.handleMouseDown = this.handleMouseDown.bind(this);
-    this.bindList = this.bindList.bind(this);
-  }
-
-  componentDidUpdate() {
-    // only have to worry about scrolling selected suggestion into view
-    // when already expanded
-    if (this.props.selectedIndex > -1 && this.props.scrollIntoView && this.list.children[this.props.selectedIndex]) {
-      this.scrollingIntoView = true;
-      lib_default()(this.list.children[this.props.selectedIndex], this.list, {
-        onlyScrollIfNeeded: true
-      });
-      this.props.setTimeout(() => {
-        this.scrollingIntoView = false;
-      }, 100);
-    }
-  }
-
-  bindList(ref) {
-    this.list = ref;
-  }
-
-  handleHover(suggestion) {
-    return () => {
-      if (!this.scrollingIntoView) {
-        this.props.onHover(suggestion);
-      }
-    };
-  }
-
-  handleClick(suggestion) {
-    return () => {
-      this.props.onSelect(suggestion);
-    };
-  }
-
-  handleMouseDown(e) {
-    // By preventing default here, we will not lose focus of <input> when clicking a suggestion
-    e.preventDefault();
-  }
-
-  computeSuggestionMatch(suggestion) {
-    const match = this.props.displayTransform(this.props.match || '').toLocaleLowerCase();
-
-    if (match.length === 0) {
-      return null;
-    }
-
-    suggestion = this.props.displayTransform(suggestion);
-    const indexOfMatch = suggestion.toLocaleLowerCase().indexOf(match);
-    return {
-      suggestionBeforeMatch: suggestion.substring(0, indexOfMatch),
-      suggestionMatch: suggestion.substring(indexOfMatch, indexOfMatch + match.length),
-      suggestionAfterMatch: suggestion.substring(indexOfMatch + match.length)
-    };
-  }
+    case 'small':
+      value = `calc(${config_values.controlHeightSmall} + ${space(2)})`;
+      break;

-  render() {
-    // We set `tabIndex` here because otherwise Firefox sets focus on this
-    // div when tabbing off of the input in `TokenField` -- not really sure
-    // why, since usually a div isn't focusable by default
-    // TODO does this still apply now that it's a <ul> and not a <div>?
-    return Object(external_wp_element_["createElement"])("ul", {
-      ref: this.bindList,
-      className: "components-form-token-field__suggestions-list",
-      id: `components-form-token-suggestions-${this.props.instanceId}`,
-      role: "listbox"
-    }, Object(external_lodash_["map"])(this.props.suggestions, (suggestion, index) => {
-      const match = this.computeSuggestionMatch(suggestion);
-      const classeName = classnames_default()('components-form-token-field__suggestion', {
-        'is-selected': index === this.props.selectedIndex
-      });
-      /* eslint-disable jsx-a11y/click-events-have-key-events */
+    case 'xSmall':
+      value = `calc(${config_values.controlHeightXSmall} + ${space(2)})`;
+      break;

-      return Object(external_wp_element_["createElement"])("li", {
-        id: `components-form-token-suggestions-${this.props.instanceId}-${index}`,
-        role: "option",
-        className: classeName,
-        key: suggestion !== null && suggestion !== void 0 && suggestion.value ? suggestion.value : this.props.displayTransform(suggestion),
-        onMouseDown: this.handleMouseDown,
-        onClick: this.handleClick(suggestion),
-        onMouseEnter: this.handleHover(suggestion),
-        "aria-selected": index === this.props.selectedIndex
-      }, match ? Object(external_wp_element_["createElement"])("span", {
-        "aria-label": this.props.displayTransform(suggestion)
-      }, match.suggestionBeforeMatch, Object(external_wp_element_["createElement"])("strong", {
-        className: "components-form-token-field__suggestion-match"
-      }, match.suggestionMatch), match.suggestionAfterMatch) : this.props.displayTransform(suggestion));
-      /* eslint-enable jsx-a11y/click-events-have-key-events */
-    }));
+    default:
+      break;
   }

+  return value;
 }

-suggestions_list_SuggestionsList.defaultProps = {
-  match: '',
-  onHover: () => {},
-  onSelect: () => {},
-  suggestions: Object.freeze([])
-};
-/* harmony default export */ var suggestions_list = (Object(external_wp_compose_["withSafeTimeout"])(suggestions_list_SuggestionsList));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-/* harmony default export */ var with_focus_outside = (Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => props => {
-  const [handleFocusOutside, setHandleFocusOutside] = Object(external_wp_element_["useState"])();
-  const bindFocusOutsideHandler = Object(external_wp_element_["useCallback"])(node => setHandleFocusOutside(() => node !== null && node !== void 0 && node.handleFocusOutside ? node.handleFocusOutside.bind(node) : undefined), []);
-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_compose_["__experimentalUseFocusOutside"])(handleFocusOutside), Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({
-    ref: bindFocusOutsideHandler
-  }, props)));
-}, 'withFocusOutside'));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/combobox-control/index.js
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/hook.js
+function hook_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
  * External dependencies
@@ -41839,11 +36160,6 @@ suggestions_list_SuggestionsList.defaultProps = {
  */


-
-
-
-
-
 /**
  * Internal dependencies
  */
@@ -41854,4802 +36170,4209 @@ suggestions_list_SuggestionsList.defaultProps = {



-const DetectOutside = with_focus_outside(class extends external_wp_element_["Component"] {
-  handleFocusOutside(event) {
-    this.props.onFocusOutside(event);
-  }
-
-  render() {
-    return this.props.children;
-  }

-});

-function ComboboxControl(_ref) {
-  var _currentOption$label;

-  let {
-    value,
-    label,
-    options,
-    onChange,
-    onFilterValueChange = external_lodash_["noop"],
-    hideLabelFromVision,
-    help,
-    allowReset = true,
-    className,
-    messages = {
-      selected: Object(external_wp_i18n_["__"])('Item selected.')
-    }
-  } = _ref;
-  const currentOption = options.find(option => option.value === value);
-  const currentLabel = (_currentOption$label = currentOption === null || currentOption === void 0 ? void 0 : currentOption.label) !== null && _currentOption$label !== void 0 ? _currentOption$label : '';
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(ComboboxControl);
-  const [selectedSuggestion, setSelectedSuggestion] = Object(external_wp_element_["useState"])(currentOption || null);
-  const [isExpanded, setIsExpanded] = Object(external_wp_element_["useState"])(false);
-  const [inputHasFocus, setInputHasFocus] = Object(external_wp_element_["useState"])(false);
-  const [inputValue, setInputValue] = Object(external_wp_element_["useState"])('');
-  const inputContainer = Object(external_wp_element_["useRef"])();
-  const matchingSuggestions = Object(external_wp_element_["useMemo"])(() => {
-    const startsWithMatch = [];
-    const containsMatch = [];
-    const match = Object(external_lodash_["deburr"])(inputValue.toLocaleLowerCase());
-    options.forEach(option => {
-      const index = Object(external_lodash_["deburr"])(option.label).toLocaleLowerCase().indexOf(match);
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'span'>} props
+ */

-      if (index === 0) {
-        startsWithMatch.push(option);
-      } else if (index > 0) {
-        containsMatch.push(option);
-      }
-    });
-    return startsWithMatch.concat(containsMatch);
-  }, [inputValue, options, value]);
+var hook_ref =  true ? {
+  name: "50zrmy",
+  styles: "text-transform:uppercase"
+} : 0;

-  const onSuggestionSelected = newSelectedSuggestion => {
-    onChange(newSelectedSuggestion.value);
-    Object(external_wp_a11y_["speak"])(messages.selected, 'assertive');
-    setSelectedSuggestion(newSelectedSuggestion);
-    setInputValue('');
-    setIsExpanded(false);
-  };
+function useText(props) {
+  const {
+    adjustLineHeightForInnerControls,
+    align,
+    children,
+    className,
+    color,
+    ellipsizeMode,
+    isDestructive = false,
+    display,
+    highlightEscape = false,
+    highlightCaseSensitive = false,
+    highlightWords,
+    highlightSanitize,
+    isBlock = false,
+    letterSpacing,
+    lineHeight: lineHeightProp,
+    optimizeReadabilityFor,
+    size,
+    truncate = false,
+    upperCase = false,
+    variant,
+    weight = config_values.fontWeight,
+    ...otherProps
+  } = useContextSystem(props, 'Text');
+  /** @type {import('react').ReactNode} */

-  const handleArrowNavigation = function () {
-    let offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
-    const index = matchingSuggestions.indexOf(selectedSuggestion);
-    let nextIndex = index + offset;
+  let content = children;
+  const isHighlighter = Array.isArray(highlightWords);
+  const isCaption = size === 'caption';

-    if (nextIndex < 0) {
-      nextIndex = matchingSuggestions.length - 1;
-    } else if (nextIndex >= matchingSuggestions.length) {
-      nextIndex = 0;
+  if (isHighlighter) {
+    if (typeof children !== 'string') {
+      throw new TypeError('`children` of `Text` must only be `string` types when `highlightWords` is defined');
     }

-    setSelectedSuggestion(matchingSuggestions[nextIndex]);
-    setIsExpanded(true);
-  };
+    content = createHighlighterText({
+      autoEscape: highlightEscape,
+      // Disable reason: We need to disable this otherwise it erases the cast
+      // eslint-disable-next-line object-shorthand
+      children:
+      /** @type {string} */
+      children,
+      caseSensitive: highlightCaseSensitive,
+      searchWords: highlightWords,
+      sanitize: highlightSanitize
+    });
+  }

-  const onKeyDown = event => {
-    let preventDefault = false;
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const sx = {};
+    const lineHeight = getLineHeight(adjustLineHeightForInnerControls, lineHeightProp);
+    sx.Base = /*#__PURE__*/emotion_react_browser_esm_css({
+      color,
+      display,
+      fontSize: getFontSize(size),

-    if (event.defaultPrevented) {
-      return;
-    }
+      /* eslint-disable jsdoc/valid-types */
+      fontWeight:
+      /** @type {import('react').CSSProperties['fontWeight']} */
+      weight,

-    switch (event.keyCode) {
-      case external_wp_keycodes_["ENTER"]:
-        if (selectedSuggestion) {
-          onSuggestionSelected(selectedSuggestion);
-          preventDefault = true;
-        }
+      /* eslint-enable jsdoc/valid-types */
+      lineHeight,
+      letterSpacing,
+      textAlign: align
+    },  true ? "" : 0,  true ? "" : 0);
+    sx.upperCase = hook_ref;
+    sx.optimalTextColor = null;

-        break;
+    if (optimizeReadabilityFor) {
+      const isOptimalTextColorDark = getOptimalTextShade(optimizeReadabilityFor) === 'dark';
+      sx.optimalTextColor = isOptimalTextColorDark ? /*#__PURE__*/emotion_react_browser_esm_css({
+        color: COLORS.black
+      },  true ? "" : 0,  true ? "" : 0) : /*#__PURE__*/emotion_react_browser_esm_css({
+        color: COLORS.white
+      },  true ? "" : 0,  true ? "" : 0);
+    }

-      case external_wp_keycodes_["UP"]:
-        handleArrowNavigation(-1);
-        preventDefault = true;
-        break;
+    return cx(Text, sx.Base, sx.optimalTextColor, isDestructive && destructive, !!isHighlighter && highlighterText, isBlock && styles_block, isCaption && muted, variant && text_styles_namespaceObject[variant], upperCase && sx.upperCase, className);
+  }, [adjustLineHeightForInnerControls, align, className, color, display, isBlock, isCaption, isDestructive, isHighlighter, letterSpacing, lineHeightProp, optimizeReadabilityFor, size, upperCase, variant, weight]);
+  /** @type {undefined | 'auto' | 'none'} */

-      case external_wp_keycodes_["DOWN"]:
-        handleArrowNavigation(1);
-        preventDefault = true;
-        break;
+  let finalEllipsizeMode;

-      case external_wp_keycodes_["ESCAPE"]:
-        setIsExpanded(false);
-        setSelectedSuggestion(null);
-        preventDefault = true;
-        break;
+  if (truncate === true) {
+    finalEllipsizeMode = 'auto';
+  }

-      default:
-        break;
-    }
+  if (truncate === false) {
+    finalEllipsizeMode = 'none';
+  }

-    if (preventDefault) {
-      event.preventDefault();
-    }
+  const finalComponentProps = { ...otherProps,
+    className: classes,
+    children,
+    ellipsizeMode: ellipsizeMode || finalEllipsizeMode
   };
+  const truncateProps = useTruncate(finalComponentProps);
+  /**
+   * Enhance child `<Link />` components to inherit font size.
+   */

-  const onBlur = () => {
-    setInputHasFocus(false);
-  };
+  if (!truncate && Array.isArray(children)) {
+    content = external_wp_element_namespaceObject.Children.map(children, child => {
+      // @ts-ignore
+      if (!(0,external_lodash_namespaceObject.isPlainObject)(child) || !('props' in child)) {
+        return child;
+      }

-  const onFocus = () => {
-    setInputHasFocus(true);
-    setIsExpanded(true);
-    onFilterValueChange('');
-    setInputValue('');
-  };
+      const isLink = hasConnectNamespace(child, ['Link']);

-  const onFocusOutside = () => {
-    setIsExpanded(false);
-  };
+      if (isLink) {
+        return (0,external_wp_element_namespaceObject.cloneElement)(child, {
+          size: child.props.size || 'inherit'
+        });
+      }

-  const onInputChange = event => {
-    const text = event.value;
-    setInputValue(text);
-    onFilterValueChange(text);
+      return child;
+    });
+  }

-    if (inputHasFocus) {
-      setIsExpanded(true);
-    }
+  return { ...truncateProps,
+    children: truncate ? truncateProps.children : content
   };
+}

-  const handleOnReset = () => {
-    onChange(null);
-    inputContainer.current.input.focus();
-  }; // Update current selections when the filter input changes.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text/component.js


-  Object(external_wp_element_["useEffect"])(() => {
-    const hasMatchingSuggestions = matchingSuggestions.length > 0;
-    const hasSelectedMatchingSuggestions = matchingSuggestions.indexOf(selectedSuggestion) > 0;

-    if (hasMatchingSuggestions && !hasSelectedMatchingSuggestions) {
-      // If the current selection isn't present in the list of suggestions, then automatically select the first item from the list of suggestions.
-      setSelectedSuggestion(matchingSuggestions[0]);
-    }
-  }, [matchingSuggestions, selectedSuggestion]); // Announcements
+/**
+ * Internal dependencies
+ */

-  Object(external_wp_element_["useEffect"])(() => {
-    const hasMatchingSuggestions = matchingSuggestions.length > 0;

-    if (isExpanded) {
-      const message = hasMatchingSuggestions ? Object(external_wp_i18n_["sprintf"])(
-      /* translators: %d: number of results. */
-      Object(external_wp_i18n_["_n"])('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', matchingSuggestions.length), matchingSuggestions.length) : Object(external_wp_i18n_["__"])('No results.');
-      Object(external_wp_a11y_["speak"])(message, 'polite');
-    }
-  }, [matchingSuggestions, isExpanded]); // Disable reason: There is no appropriate role which describes the
-  // input container intended accessible usability.
-  // TODO: Refactor click detection to use blur to stop propagation.

-  /* eslint-disable jsx-a11y/no-static-element-interactions */
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'span'>} props
+ * @param {import('react').Ref<any>}                                                         forwardedRef
+ */

-  return Object(external_wp_element_["createElement"])(DetectOutside, {
-    onFocusOutside: onFocusOutside
-  }, Object(external_wp_element_["createElement"])(base_control, {
-    className: classnames_default()(className, 'components-combobox-control'),
-    tabIndex: "-1",
-    label: label,
-    id: `components-form-token-input-${instanceId}`,
-    hideLabelFromVision: hideLabelFromVision,
-    help: help
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-combobox-control__suggestions-container",
-    tabIndex: "-1",
-    onKeyDown: onKeyDown
-  }, Object(external_wp_element_["createElement"])(flex_component, null, Object(external_wp_element_["createElement"])(flex_block_component, null, Object(external_wp_element_["createElement"])(token_input, {
-    className: "components-combobox-control__input",
-    instanceId: instanceId,
-    ref: inputContainer,
-    value: isExpanded ? inputValue : currentLabel,
-    "aria-label": currentLabel ? `${currentLabel}, ${label}` : null,
-    onFocus: onFocus,
-    onBlur: onBlur,
-    isExpanded: isExpanded,
-    selectedSuggestionIndex: matchingSuggestions.indexOf(selectedSuggestion),
-    onChange: onInputChange
-  })), allowReset && Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-combobox-control__reset",
-    icon: close_small["a" /* default */],
-    disabled: !value,
-    onClick: handleOnReset,
-    label: Object(external_wp_i18n_["__"])('Reset')
-  }))), isExpanded && Object(external_wp_element_["createElement"])(suggestions_list, {
-    instanceId: instanceId,
-    match: {
-      label: inputValue
-    },
-    displayTransform: suggestion => suggestion.label,
-    suggestions: matchingSuggestions,
-    selectedIndex: matchingSuggestions.indexOf(selectedSuggestion),
-    onHover: setSelectedSuggestion,
-    onSelect: onSuggestionSelected,
-    scrollIntoView: true
-  }))));
-  /* eslint-enable jsx-a11y/no-static-element-interactions */
+function component_Text(props, forwardedRef) {
+  const textProps = useText(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({
+    as: "span"
+  }, textProps, {
+    ref: forwardedRef
+  }));
 }
+/**
+ * `Text` is a core component that renders text in the library, using the
+ * library's typography system.
+ *
+ * `Text` can be used to render any text-content, like an HTML `p` or `span`.
+ *
+ * @example
+ *
+ * ```jsx
+ * import { __experimentalText as Text } from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return <Text>Code is Poetry</Text>;
+ * }
+ * ```
+ */

-/* harmony default export */ var combobox_control = (ComboboxControl);

-// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
-function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
-  if (source == null) return {};
-  var target = {};
-  var sourceKeys = Object.keys(source);
-  var key, i;
+const ConnectedText = contextConnect(component_Text, 'Text');
+/* harmony default export */ var text_component = (ConnectedText);

-  for (i = 0; i < sourceKeys.length; i++) {
-    key = sourceKeys[i];
-    if (excluded.indexOf(key) >= 0) continue;
-    target[key] = source[key];
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/styles/input-control-styles.js

-  return target;
-}
-// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
-function assertThisInitialized_assertThisInitialized(self) {
-  if (self === void 0) {
-    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
-  }

-  return self;
-}
-// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
-function _setPrototypeOf(o, p) {
-  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
-    o.__proto__ = p;
-    return o;
-  };

-  return _setPrototypeOf(o, p);
-}
-// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js

-function inheritsLoose_inheritsLoose(subClass, superClass) {
-  subClass.prototype = Object.create(superClass.prototype);
-  subClass.prototype.constructor = subClass;
-  _setPrototypeOf(subClass, superClass);
-}
-// EXTERNAL MODULE: ./node_modules/prop-types/index.js
-var prop_types = __webpack_require__("17x9");
-var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
+function input_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-// EXTERNAL MODULE: ./node_modules/downshift/node_modules/react-is/index.js
-var react_is = __webpack_require__("cD2C");
+/**
+ * External dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/compute-scroll-into-view/dist/index.module.js
-function index_module_t(t){return"object"==typeof t&&null!=t&&1===t.nodeType}function dist_index_module_e(t,e){return(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function index_module_n(t,n){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var r=getComputedStyle(t,null);return dist_index_module_e(r.overflowY,n)||dist_index_module_e(r.overflowX,n)||function(t){var e=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)}(t)}return!1}function index_module_r(t,e,n,r,i,o,l,d){return o<t&&l>e||o>t&&l<e?0:o<=t&&d<=n||l>=e&&d>=n?o-t-r:l>e&&d<n||o<t&&d>n?l-e+i:0}/* harmony default export */ var index_module = (function(e,i){var o=window,l=i.scrollMode,d=i.block,u=i.inline,h=i.boundary,a=i.skipOverflowHiddenElements,c="function"==typeof h?h:function(t){return t!==h};if(!index_module_t(e))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,s=[],p=e;index_module_t(p)&&c(p);){if((p=p.parentElement)===f){s.push(p);break}null!=p&&p===document.body&&index_module_n(p)&&!index_module_n(document.documentElement)||null!=p&&index_module_n(p,a)&&s.push(p)}for(var m=o.visualViewport?o.visualViewport.width:innerWidth,g=o.visualViewport?o.visualViewport.height:innerHeight,w=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,W=e.getBoundingClientRect(),b=W.height,H=W.width,y=W.top,E=W.right,M=W.bottom,V=W.left,x="start"===d||"nearest"===d?y:"end"===d?M:y+b/2,I="center"===u?V+H/2:"end"===u?E:V,C=[],T=0;T<s.length;T++){var k=s[T],B=k.getBoundingClientRect(),D=B.height,O=B.width,R=B.top,X=B.right,Y=B.bottom,L=B.left;if("if-needed"===l&&y>=0&&V>=0&&M<=g&&E<=m&&y>=R&&M<=Y&&V>=L&&E<=X)return C;var S=getComputedStyle(k),j=parseInt(S.borderLeftWidth,10),q=parseInt(S.borderTopWidth,10),z=parseInt(S.borderRightWidth,10),A=parseInt(S.borderBottomWidth,10),F=0,G=0,J="offsetWidth"in k?k.offsetWidth-k.clientWidth-j-z:0,K="offsetHeight"in k?k.offsetHeight-k.clientHeight-q-A:0;if(f===k)F="start"===d?x:"end"===d?x-g:"nearest"===d?index_module_r(v,v+g,g,q,A,v+x,v+x+b,b):x-g/2,G="start"===u?I:"center"===u?I-m/2:"end"===u?I-m:index_module_r(w,w+m,m,j,z,w+I,w+I+H,H),F=Math.max(0,F+v),G=Math.max(0,G+w);else{F="start"===d?x-R-q:"end"===d?x-Y+A+K:"nearest"===d?index_module_r(R,Y,D,q,A+K,x,x+b,b):x-(R+D/2)+K/2,G="start"===u?I-L-j:"center"===u?I-(L+O/2)+J/2:"end"===u?I-X+z+J:index_module_r(L,X,O,j,z+J,I,I+H,H);var N=k.scrollLeft,P=k.scrollTop;x+=P-(F=Math.max(0,Math.min(P+F,k.scrollHeight-D+K))),I+=N-(G=Math.max(0,Math.min(N+G,k.scrollWidth-O+J)))}C.push({el:k,top:F,left:G})}return C});

-// CONCATENATED MODULE: ./node_modules/downshift/dist/downshift.esm.js



+var _ref6 =  true ? {
+  name: "1739oy8",
+  styles: "z-index:1"
+} : 0;

+const rootFocusedStyles = _ref7 => {
+  let {
+    isFocused
+  } = _ref7;
+  if (!isFocused) return '';
+  return _ref6;
+};

+var _ref3 =  true ? {
+  name: "2o6p8u",
+  styles: "justify-content:space-between"
+} : 0;

+var _ref4 =  true ? {
+  name: "14qk3ip",
+  styles: "align-items:flex-start;flex-direction:column-reverse"
+} : 0;

+var _ref5 =  true ? {
+  name: "hbng6e",
+  styles: "align-items:flex-start;flex-direction:column"
+} : 0;

+const rootLabelPositionStyles = _ref8 => {
+  let {
+    labelPosition
+  } = _ref8;

+  switch (labelPosition) {
+    case 'top':
+      return _ref5;

-var idCounter = 0;
-/**
- * Accepts a parameter and returns it if it's a function
- * or a noop function if it's not. This allows us to
- * accept a callback, but not worry about it if it's not
- * passed.
- * @param {Function} cb the callback
- * @return {Function} a function
- */
+    case 'bottom':
+      return _ref4;

-function cbToCb(cb) {
-  return typeof cb === 'function' ? cb : downshift_esm_noop;
-}
+    case 'edge':
+      return _ref3;

-function downshift_esm_noop() {}
-/**
- * Scroll node into view if necessary
- * @param {HTMLElement} node the element that should scroll into view
- * @param {HTMLElement} menuNode the menu element of the component
- */
+    default:
+      return '';
+  }
+};

+const input_control_styles_Root = /*#__PURE__*/emotion_styled_base_browser_esm(flex_component,  true ? {
+  target: "em5sgkm7"
+} : 0)("position:relative;border-radius:2px;padding-top:0;", rootFocusedStyles, " ", rootLabelPositionStyles, ";" + ( true ? "" : 0));

-function downshift_esm_scrollIntoView(node, menuNode) {
-  if (!node) {
-    return;
-  }
+const containerDisabledStyles = _ref9 => {
+  let {
+    disabled
+  } = _ref9;
+  const backgroundColor = disabled ? COLORS.ui.backgroundDisabled : COLORS.ui.background;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    backgroundColor
+  },  true ? "" : 0,  true ? "" : 0);
+}; // Normalizes the margins from the <Flex /> (components/ui/flex/) container.

-  var actions = index_module(node, {
-    boundary: menuNode,
-    block: 'nearest',
-    scrollMode: 'if-needed'
-  });
-  actions.forEach(function (_ref) {
-    var el = _ref.el,
-        top = _ref.top,
-        left = _ref.left;
-    el.scrollTop = top;
-    el.scrollLeft = left;
-  });
-}
-/**
- * @param {HTMLElement} parent the parent node
- * @param {HTMLElement} child the child node
- * @param {Window} environment The window context where downshift renders.
- * @return {Boolean} whether the parent is the child or the child is in the parent
- */

+var _ref2 =  true ? {
+  name: "wyxldh",
+  styles: "margin:0 !important"
+} : 0;

-function isOrContainsNode(parent, child, environment) {
-  var result = parent === child || child instanceof environment.Node && parent.contains && parent.contains(child);
-  return result;
-}
-/**
- * Simple debounce implementation. Will call the given
- * function once after the time given has passed since
- * it was last called.
- * @param {Function} fn the function to call after the time
- * @param {Number} time the time to wait
- * @return {Function} the debounced function
- */
+const containerMarginStyles = _ref10 => {
+  let {
+    hideLabel
+  } = _ref10;
+  return hideLabel ? _ref2 : null;
+};

+var input_control_styles_ref =  true ? {
+  name: "1d3w5wq",
+  styles: "width:100%"
+} : 0;

-function downshift_esm_debounce(fn, time) {
-  var timeoutId;
+const containerWidthStyles = _ref11 => {
+  let {
+    __unstableInputWidth,
+    labelPosition
+  } = _ref11;
+  if (!__unstableInputWidth) return input_control_styles_ref;
+  if (labelPosition === 'side') return '';

-  function cancel() {
-    if (timeoutId) {
-      clearTimeout(timeoutId);
-    }
+  if (labelPosition === 'edge') {
+    return /*#__PURE__*/emotion_react_browser_esm_css({
+      flex: `0 0 ${__unstableInputWidth}`
+    },  true ? "" : 0,  true ? "" : 0);
   }

-  function wrapper() {
-    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-      args[_key] = arguments[_key];
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    width: __unstableInputWidth
+  },  true ? "" : 0,  true ? "" : 0);
+};
+
+const Container = emotion_styled_base_browser_esm("div",  true ? {
+  target: "em5sgkm6"
+} : 0)("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;", containerDisabledStyles, " ", containerMarginStyles, " ", containerWidthStyles, ";" + ( true ? "" : 0));
+
+const disabledStyles = _ref12 => {
+  let {
+    disabled
+  } = _ref12;
+  if (!disabled) return '';
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    color: COLORS.ui.textDisabled
+  },  true ? "" : 0,  true ? "" : 0);
+};
+
+const fontSizeStyles = _ref13 => {
+  let {
+    inputSize: size
+  } = _ref13;
+  const sizes = {
+    default: '13px',
+    small: '11px'
+  };
+  const fontSize = sizes[size] || sizes.default;
+  const fontSizeMobile = '16px';
+  if (!fontSize) return '';
+  return /*#__PURE__*/emotion_react_browser_esm_css("font-size:", fontSizeMobile, ";@media ( min-width: 600px ){font-size:", fontSize, ";}" + ( true ? "" : 0),  true ? "" : 0);
+};
+
+const sizeStyles = _ref14 => {
+  let {
+    inputSize: size
+  } = _ref14;
+  const sizes = {
+    default: {
+      height: 30,
+      lineHeight: 1,
+      minHeight: 30
+    },
+    small: {
+      height: 24,
+      lineHeight: 1,
+      minHeight: 24
     }
+  };
+  const style = sizes[size] || sizes.default;
+  return /*#__PURE__*/emotion_react_browser_esm_css(style,  true ? "" : 0,  true ? "" : 0);
+};

-    cancel();
-    timeoutId = setTimeout(function () {
-      timeoutId = null;
-      fn.apply(void 0, args);
-    }, time);
+const dragStyles = _ref15 => {
+  let {
+    isDragging,
+    dragCursor
+  } = _ref15;
+  let defaultArrowStyles;
+  let activeDragCursorStyles;
+
+  if (isDragging) {
+    defaultArrowStyles = /*#__PURE__*/emotion_react_browser_esm_css("cursor:", dragCursor, ";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}" + ( true ? "" : 0),  true ? "" : 0);
   }

-  wrapper.cancel = cancel;
-  return wrapper;
-}
-/**
- * This is intended to be used to compose event handlers.
- * They are executed in order until one of them sets
- * `event.preventDownshiftDefault = true`.
- * @param {...Function} fns the event handler functions
- * @return {Function} the event handler to add to an element
- */
+  if (isDragging && dragCursor) {
+    activeDragCursorStyles = /*#__PURE__*/emotion_react_browser_esm_css("&:active{cursor:", dragCursor, ";}" + ( true ? "" : 0),  true ? "" : 0);
+  }

+  return /*#__PURE__*/emotion_react_browser_esm_css(defaultArrowStyles, " ", activeDragCursorStyles, ";" + ( true ? "" : 0),  true ? "" : 0);
+}; // TODO: Resolve need to use &&& to increase specificity
+// https://github.com/WordPress/gutenberg/issues/18483

-function callAllEventHandlers() {
-  for (var _len2 = arguments.length, fns = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-    fns[_key2] = arguments[_key2];
+
+const Input = emotion_styled_base_browser_esm("input",  true ? {
+  target: "em5sgkm5"
+} : 0)("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:", COLORS.black, ";display:block;margin:0;outline:none;padding-left:8px;padding-right:8px;width:100%;", dragStyles, " ", disabledStyles, " ", fontSizeStyles, " ", sizeStyles, " &::-webkit-input-placeholder{line-height:normal;}}" + ( true ? "" : 0));
+
+const labelPadding = _ref16 => {
+  let {
+    labelPosition
+  } = _ref16;
+  let paddingBottom = 4;
+
+  if (labelPosition === 'edge' || labelPosition === 'side') {
+    paddingBottom = 0;
   }

-  return function (event) {
-    for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
-      args[_key3 - 1] = arguments[_key3];
-    }
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    paddingTop: 0,
+    paddingBottom
+  },  true ? "" : 0,  true ? "" : 0);
+};

-    return fns.some(function (fn) {
-      if (fn) {
-        fn.apply(void 0, [event].concat(args));
-      }
+const BaseLabel = /*#__PURE__*/emotion_styled_base_browser_esm(text_component,  true ? {
+  target: "em5sgkm4"
+} : 0)("&&&{box-sizing:border-box;color:currentColor;display:block;margin:0;max-width:100%;z-index:1;", labelPadding, " overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}" + ( true ? "" : 0));

-      return event.preventDownshiftDefault || event.hasOwnProperty('nativeEvent') && event.nativeEvent.preventDownshiftDefault;
-    });
-  };
-}
+const Label = props => (0,external_wp_element_namespaceObject.createElement)(BaseLabel, extends_extends({}, props, {
+  as: "label"
+}));
+const LabelWrapper = /*#__PURE__*/emotion_styled_base_browser_esm(flex_item_component,  true ? {
+  target: "em5sgkm3"
+} : 0)( true ? {
+  name: "1b6uupn",
+  styles: "max-width:calc( 100% - 10px )"
+} : 0);

-function handleRefs() {
-  for (var _len4 = arguments.length, refs = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
-    refs[_key4] = arguments[_key4];
+const backdropFocusedStyles = _ref17 => {
+  let {
+    disabled,
+    isFocused
+  } = _ref17;
+  let borderColor = isFocused ? COLORS.ui.borderFocus : COLORS.ui.border;
+  let boxShadow;
+
+  if (isFocused) {
+    boxShadow = `0 0 0 1px ${COLORS.ui.borderFocus} inset`;
   }

-  return function (node) {
-    refs.forEach(function (ref) {
-      if (typeof ref === 'function') {
-        ref(node);
-      } else if (ref) {
-        ref.current = node;
-      }
-    });
-  };
-}
-/**
- * This generates a unique ID for an instance of Downshift
- * @return {String} the unique ID
- */
+  if (disabled) {
+    borderColor = COLORS.ui.borderDisabled;
+  }
+
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    boxShadow,
+    borderColor,
+    borderStyle: 'solid',
+    borderWidth: 1
+  },  true ? "" : 0,  true ? "" : 0);
+};
+
+const BackdropUI = emotion_styled_base_browser_esm("div",  true ? {
+  target: "em5sgkm2"
+} : 0)("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;", backdropFocusedStyles, " ", rtl({
+  paddingLeft: 2
+}), ";}" + ( true ? "" : 0));
+const Prefix = emotion_styled_base_browser_esm("span",  true ? {
+  target: "em5sgkm1"
+} : 0)( true ? {
+  name: "pvvbxf",
+  styles: "box-sizing:border-box;display:block"
+} : 0);
+const Suffix = emotion_styled_base_browser_esm("span",  true ? {
+  target: "em5sgkm0"
+} : 0)( true ? {
+  name: "pvvbxf",
+  styles: "box-sizing:border-box;display:block"
+} : 0);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/backdrop.js


-function downshift_esm_generateId() {
-  return String(idCounter++);
-}
 /**
- * Resets idCounter to 0. Used for SSR.
+ * WordPress dependencies
  */

-
-function resetIdCounter() {
-  idCounter = 0;
-}
 /**
- * Default implementation for status message. Only added when menu is open.
- * Will specify if there are results in the list, and if so, how many,
- * and what keys are relevant.
- *
- * @param {Object} param the downshift state and other relevant properties
- * @return {String} the a11y status message
+ * Internal dependencies
  */


-function getA11yStatusMessage$1(_ref2) {
-  var isOpen = _ref2.isOpen,
-      resultCount = _ref2.resultCount,
-      previousResultCount = _ref2.previousResultCount;

-  if (!isOpen) {
-    return '';
-  }
+function Backdrop(_ref) {
+  let {
+    disabled = false,
+    isFocused = false
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(BackdropUI, {
+    "aria-hidden": "true",
+    className: "components-input-control__backdrop",
+    disabled: disabled,
+    isFocused: isFocused
+  });
+}
+
+const MemoizedBackdrop = (0,external_wp_element_namespaceObject.memo)(Backdrop);
+/* harmony default export */ var backdrop = (MemoizedBackdrop);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/label.js

-  if (!resultCount) {
-    return 'No results are available.';
-  }

-  if (resultCount !== previousResultCount) {
-    return resultCount + " result" + (resultCount === 1 ? ' is' : 's are') + " available, use up and down arrow keys to navigate. Press Enter key to select.";
-  }

-  return '';
-}
 /**
- * Takes an argument and if it's an array, returns the first item in the array
- * otherwise returns the argument
- * @param {*} arg the maybe-array
- * @param {*} defaultValue the value if arg is falsey not defined
- * @return {*} the arg or it's first item
+ * Internal dependencies
  */


-function unwrapArray(arg, defaultValue) {
-  arg = Array.isArray(arg) ?
-  /* istanbul ignore next (preact) */
-  arg[0] : arg;
+function label_Label(_ref) {
+  let {
+    children,
+    hideLabelFromVision,
+    htmlFor,
+    ...props
+  } = _ref;
+  if (!children) return null;

-  if (!arg && defaultValue) {
-    return defaultValue;
-  } else {
-    return arg;
+  if (hideLabelFromVision) {
+    return (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, {
+      as: "label",
+      htmlFor: htmlFor
+    }, children);
   }
+
+  return (0,external_wp_element_namespaceObject.createElement)(Label, extends_extends({
+    htmlFor: htmlFor
+  }, props), children);
 }
-/**
- * @param {Object} element (P)react element
- * @return {Boolean} whether it's a DOM element
- */

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/input-base.js

-function isDOMElement(element) {


-  return typeof element.type === 'string';
-}
 /**
- * @param {Object} element (P)react element
- * @return {Object} the props
+ * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports

+/**
+ * WordPress dependencies
+ */

-function getElementProps(element) {

-  return element.props;
-}
 /**
- * Throws a helpful error message for required properties. Useful
- * to be used as a default in destructuring or object params.
- * @param {String} fnName the function name
- * @param {String} propName the prop name
+ * Internal dependencies
  */


-function requiredProp(fnName, propName) {
-  // eslint-disable-next-line no-console
-  console.error("The property \"" + propName + "\" is required in \"" + fnName + "\"");
-}

-var stateKeys = ['highlightedIndex', 'inputValue', 'isOpen', 'selectedItem', 'type'];
-/**
- * @param {Object} state the state object
- * @return {Object} state that is relevant to downshift
- */

-function pickState(state) {
-  if (state === void 0) {
-    state = {};
-  }

-  var result = {};
-  stateKeys.forEach(function (k) {
-    if (state.hasOwnProperty(k)) {
-      result[k] = state[k];
-    }
-  });
-  return result;
-}
-/**
- * This will perform a shallow merge of the given state object
- * with the state coming from props
- * (for the controlled component scenario)
- * This is used in state updater functions so they're referencing
- * the right state regardless of where it comes from.
- *
- * @param {Object} state The state of the component/hook.
- * @param {Object} props The props that may contain controlled values.
- * @returns {Object} The merged controlled state.
- */
+function input_base_useUniqueId(idProp) {
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(InputBase);
+  const id = `input-base-control-${instanceId}`;
+  return idProp || id;
+} // Adapter to map props for the new ui/flex compopnent.


-function getState(state, props) {
-  return Object.keys(state).reduce(function (prevState, key) {
-    prevState[key] = isControlledProp(props, key) ? props[key] : state[key];
-    return prevState;
-  }, {});
-}
-/**
- * This determines whether a prop is a "controlled prop" meaning it is
- * state which is controlled by the outside of this component rather
- * than within this component.
- *
- * @param {Object} props The props that may contain controlled values.
- * @param {String} key the key to check
- * @return {Boolean} whether it is a controlled controlled prop
- */
+function getUIFlexProps(labelPosition) {
+  const props = {};

+  switch (labelPosition) {
+    case 'top':
+      props.direction = 'column';
+      props.gap = 0;
+      break;

-function isControlledProp(props, key) {
-  return props[key] !== undefined;
+    case 'bottom':
+      props.direction = 'column-reverse';
+      props.gap = 0;
+      break;
+
+    case 'edge':
+      props.justify = 'space-between';
+      break;
+  }
+
+  return props;
+}
+
+function InputBase(_ref, ref) {
+  let {
+    __unstableInputWidth,
+    children,
+    className,
+    disabled = false,
+    hideLabelFromVision = false,
+    labelPosition,
+    id: idProp,
+    isFocused = false,
+    label,
+    prefix,
+    size = 'default',
+    suffix,
+    ...props
+  } = _ref;
+  const id = input_base_useUniqueId(idProp);
+  const hideLabel = hideLabelFromVision || !label;
+  return (// @ts-expect-error The `direction` prop from Flex (FlexDirection) conflicts with legacy SVGAttributes `direction` (string) that come from React intrinsic prop definitions
+    (0,external_wp_element_namespaceObject.createElement)(input_control_styles_Root, extends_extends({}, props, getUIFlexProps(labelPosition), {
+      className: className,
+      isFocused: isFocused,
+      labelPosition: labelPosition,
+      ref: ref
+    }), (0,external_wp_element_namespaceObject.createElement)(LabelWrapper, null, (0,external_wp_element_namespaceObject.createElement)(label_Label, {
+      className: "components-input-control__label",
+      hideLabelFromVision: hideLabelFromVision,
+      labelPosition: labelPosition,
+      htmlFor: id,
+      size: size
+    }, label)), (0,external_wp_element_namespaceObject.createElement)(Container, {
+      __unstableInputWidth: __unstableInputWidth,
+      className: "components-input-control__container",
+      disabled: disabled,
+      hideLabel: hideLabel,
+      labelPosition: labelPosition
+    }, prefix && (0,external_wp_element_namespaceObject.createElement)(Prefix, {
+      className: "components-input-control__prefix"
+    }, prefix), children, suffix && (0,external_wp_element_namespaceObject.createElement)(Suffix, {
+      className: "components-input-control__suffix"
+    }, suffix), (0,external_wp_element_namespaceObject.createElement)(backdrop, {
+      disabled: disabled,
+      isFocused: isFocused
+    })))
+  );
 }
-/**
- * Normalizes the 'key' property of a KeyboardEvent in IE/Edge
- * @param {Object} event a keyboardEvent object
- * @return {String} keyboard key
- */
+/* harmony default export */ var input_base = ((0,external_wp_element_namespaceObject.forwardRef)(InputBase));

+;// CONCATENATED MODULE: ./node_modules/react-use-gesture/dist/reactusegesture.esm.js

-function normalizeArrowKey(event) {
-  var key = event.key,
-      keyCode = event.keyCode;
-  /* istanbul ignore next (ie) */

-  if (keyCode >= 37 && keyCode <= 40 && key.indexOf('Arrow') !== 0) {
-    return "Arrow" + key;
-  }
+// vector add
+function addV(v1, v2) {
+  return v1.map(function (v, i) {
+    return v + v2[i];
+  });
+} // vector substract

-  return key;
+function subV(v1, v2) {
+  return v1.map(function (v, i) {
+    return v - v2[i];
+  });
 }
-/**
- * Simple check if the value passed is object literal
- * @param {*} obj any things
- * @return {Boolean} whether it's object literal
+/**
+ * Calculates distance
+ * @param movement the difference between current and initial vectors
+ * @returns distance
  */

+function calculateDistance(movement) {
+  return Math.hypot.apply(Math, movement);
+}
+function calculateAllGeometry(movement, delta) {
+  if (delta === void 0) {
+    delta = movement;
+  }

-function isPlainObject(obj) {
-  return Object.prototype.toString.call(obj) === '[object Object]';
+  var dl = calculateDistance(delta);
+  var alpha = dl === 0 ? 0 : 1 / dl;
+  var direction = delta.map(function (v) {
+    return alpha * v;
+  });
+  var distance = calculateDistance(movement);
+  return {
+    distance: distance,
+    direction: direction
+  };
 }
-/**
- * Returns the new index in the list, in a circular way. If next value is out of bonds from the total,
- * it will wrap to either 0 or itemCount - 1.
- *
- * @param {number} moveAmount Number of positions to move. Negative to move backwards, positive forwards.
- * @param {number} baseIndex The initial position to move from.
- * @param {number} itemCount The total number of items.
- * @param {Function} getItemNodeFromIndex Used to check if item is disabled.
- * @param {boolean} circular Specify if navigation is circular. Default is true.
- * @returns {number} The new index after the move.
+/**
+ * Calculates all kinematics
+ * @template T the expected vector type
+ * @param movement the difference between current and initial vectors
+ * @param delta the difference between current and previous vectors
+ * @param delta_t the time difference between current and previous timestamps
+ * @returns all kinematics
  */

+function calculateAllKinematics(movement, delta, dt) {
+  var dl = calculateDistance(delta);
+  var alpha = dl === 0 ? 0 : 1 / dl;
+  var beta = dt === 0 ? 0 : 1 / dt;
+  var velocity = beta * dl;
+  var velocities = delta.map(function (v) {
+    return beta * v;
+  });
+  var direction = delta.map(function (v) {
+    return alpha * v;
+  });
+  var distance = calculateDistance(movement);
+  return {
+    velocities: velocities,
+    velocity: velocity,
+    distance: distance,
+    direction: direction
+  };
+}
+/**
+ * Because IE doesn't support `Math.sign` function, so we use the polyfill version of the function.
+ * This polyfill function is suggested by Mozilla:
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign#Polyfill
+ * @param x target number
+ */

-function getNextWrappingIndex(moveAmount, baseIndex, itemCount, getItemNodeFromIndex, circular) {
-  if (circular === void 0) {
-    circular = true;
-  }
+function sign(x) {
+  if (Math.sign) return Math.sign(x);
+  return Number(x > 0) - Number(x < 0) || +x;
+}

-  if (itemCount === 0) {
-    return -1;
-  }
+function minMax(value, min, max) {
+  return Math.max(min, Math.min(value, max));
+} // Based on @aholachek ;)
+// https://twitter.com/chpwn/status/285540192096497664
+// iOS constant = 0.55
+// https://medium.com/@nathangitter/building-fluid-interfaces-ios-swift-9732bb934bf5

-  var itemsLastIndex = itemCount - 1;

-  if (typeof baseIndex !== 'number' || baseIndex < 0 || baseIndex >= itemCount) {
-    baseIndex = moveAmount > 0 ? -1 : itemsLastIndex + 1;
-  }
+function rubberband2(distance, constant) {
+  // default constant from the article is 0.7
+  return Math.pow(distance, constant * 5);
+}

-  var newIndex = baseIndex + moveAmount;
+function rubberband(distance, dimension, constant) {
+  if (dimension === 0 || Math.abs(dimension) === Infinity) return rubberband2(distance, constant);
+  return distance * dimension * constant / (dimension + constant * distance);
+}

-  if (newIndex < 0) {
-    newIndex = circular ? itemsLastIndex : 0;
-  } else if (newIndex > itemsLastIndex) {
-    newIndex = circular ? 0 : itemsLastIndex;
+function rubberbandIfOutOfBounds(position, min, max, constant) {
+  if (constant === void 0) {
+    constant = 0.15;
   }

-  var nonDisabledNewIndex = getNextNonDisabledIndex(moveAmount, newIndex, itemCount, getItemNodeFromIndex, circular);
+  if (constant === 0) return minMax(position, min, max);
+  if (position < min) return -rubberband(min - position, max - min, constant) + min;
+  if (position > max) return +rubberband(position - max, max - min, constant) + max;
+  return position;
+}

-  if (nonDisabledNewIndex === -1) {
-    return baseIndex >= itemCount ? -1 : baseIndex;
+function _defineProperties(target, props) {
+  for (var i = 0; i < props.length; i++) {
+    var descriptor = props[i];
+    descriptor.enumerable = descriptor.enumerable || false;
+    descriptor.configurable = true;
+    if ("value" in descriptor) descriptor.writable = true;
+    Object.defineProperty(target, descriptor.key, descriptor);
   }
-
-  return nonDisabledNewIndex;
 }
-/**
- * Returns the next index in the list of an item that is not disabled.
- *
- * @param {number} moveAmount Number of positions to move. Negative to move backwards, positive forwards.
- * @param {number} baseIndex The initial position to move from.
- * @param {number} itemCount The total number of items.
- * @param {Function} getItemNodeFromIndex Used to check if item is disabled.
- * @param {boolean} circular Specify if navigation is circular. Default is true.
- * @returns {number} The new index. Returns baseIndex if item is not disabled. Returns next non-disabled item otherwise. If no non-disabled found it will return -1.
- */
-

-function getNextNonDisabledIndex(moveAmount, baseIndex, itemCount, getItemNodeFromIndex, circular) {
-  var currentElementNode = getItemNodeFromIndex(baseIndex);
+function _createClass(Constructor, protoProps, staticProps) {
+  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
+  if (staticProps) _defineProperties(Constructor, staticProps);
+  return Constructor;
+}

-  if (!currentElementNode || !currentElementNode.hasAttribute('disabled')) {
-    return baseIndex;
-  }
+function reactusegesture_esm_extends() {
+  reactusegesture_esm_extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-  if (moveAmount > 0) {
-    for (var index = baseIndex + 1; index < itemCount; index++) {
-      if (!getItemNodeFromIndex(index).hasAttribute('disabled')) {
-        return index;
-      }
-    }
-  } else {
-    for (var _index = baseIndex - 1; _index >= 0; _index--) {
-      if (!getItemNodeFromIndex(_index).hasAttribute('disabled')) {
-        return _index;
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
       }
     }
-  }

-  if (circular) {
-    return moveAmount > 0 ? getNextNonDisabledIndex(1, 0, itemCount, getItemNodeFromIndex, false) : getNextNonDisabledIndex(-1, itemCount - 1, itemCount, getItemNodeFromIndex, false);
-  }
+    return target;
+  };

-  return -1;
+  return reactusegesture_esm_extends.apply(this, arguments);
 }
-/**
- * Checks if event target is within the downshift elements.
- *
- * @param {EventTarget} target Target to check.
- * @param {HTMLElement[]} downshiftElements The elements that form downshift (list, toggle button etc).
- * @param {Window} environment The window context where downshift renders.
- * @param {boolean} checkActiveElement Whether to also check activeElement.
- *
- * @returns {boolean} Whether or not the target is within downshift elements.
- */
-
-
-function targetWithinDownshift(target, downshiftElements, environment, checkActiveElement) {
-  if (checkActiveElement === void 0) {
-    checkActiveElement = true;
-  }
-
-  return downshiftElements.some(function (contextNode) {
-    return contextNode && (isOrContainsNode(contextNode, target, environment) || checkActiveElement && isOrContainsNode(contextNode, environment.document.activeElement, environment));
-  });
-} // eslint-disable-next-line import/no-mutable-exports
-
-
-var validateControlledUnchanged = downshift_esm_noop;
-/* istanbul ignore next */
-
-if (false) {}
-
-var cleanupStatus = downshift_esm_debounce(function (documentProp) {
-  getStatusDiv(documentProp).textContent = '';
-}, 500);
-/**
- * @param {String} status the status message
- * @param {Object} documentProp document passed by the user.
- */
-
-function setStatus(status, documentProp) {
-  var div = getStatusDiv(documentProp);
-
-  if (!status) {
-    return;
-  }

-  div.textContent = status;
-  cleanupStatus(documentProp);
+function reactusegesture_esm_inheritsLoose(subClass, superClass) {
+  subClass.prototype = Object.create(superClass.prototype);
+  subClass.prototype.constructor = subClass;
+  subClass.__proto__ = superClass;
 }
-/**
- * Get the status node or create it if it does not already exist.
- * @param {Object} documentProp document passed by the user.
- * @return {HTMLElement} the status node.
- */

+function reactusegesture_esm_objectWithoutPropertiesLoose(source, excluded) {
+  if (source == null) return {};
+  var target = {};
+  var sourceKeys = Object.keys(source);
+  var key, i;

-function getStatusDiv(documentProp) {
-  if (documentProp === void 0) {
-    documentProp = document;
+  for (i = 0; i < sourceKeys.length; i++) {
+    key = sourceKeys[i];
+    if (excluded.indexOf(key) >= 0) continue;
+    target[key] = source[key];
   }

-  var statusDiv = documentProp.getElementById('a11y-status-message');
+  return target;
+}

-  if (statusDiv) {
-    return statusDiv;
+function reactusegesture_esm_assertThisInitialized(self) {
+  if (self === void 0) {
+    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
   }

-  statusDiv = documentProp.createElement('div');
-  statusDiv.setAttribute('id', 'a11y-status-message');
-  statusDiv.setAttribute('role', 'status');
-  statusDiv.setAttribute('aria-live', 'polite');
-  statusDiv.setAttribute('aria-relevant', 'additions text');
-  Object.assign(statusDiv.style, {
-    border: '0',
-    clip: 'rect(0 0 0 0)',
-    height: '1px',
-    margin: '-1px',
-    overflow: 'hidden',
-    padding: '0',
-    position: 'absolute',
-    width: '1px'
-  });
-  documentProp.body.appendChild(statusDiv);
-  return statusDiv;
+  return self;
 }

-var unknown =  false ? undefined : 0;
-var mouseUp =  false ? undefined : 1;
-var itemMouseEnter =  false ? undefined : 2;
-var keyDownArrowUp =  false ? undefined : 3;
-var keyDownArrowDown =  false ? undefined : 4;
-var keyDownEscape =  false ? undefined : 5;
-var keyDownEnter =  false ? undefined : 6;
-var keyDownHome =  false ? undefined : 7;
-var keyDownEnd =  false ? undefined : 8;
-var clickItem =  false ? undefined : 9;
-var blurInput =  false ? undefined : 10;
-var changeInput =  false ? undefined : 11;
-var keyDownSpaceButton =  false ? undefined : 12;
-var clickButton =  false ? undefined : 13;
-var blurButton =  false ? undefined : 14;
-var controlledPropUpdatedSelectedItem =  false ? undefined : 15;
-var touchEnd =  false ? undefined : 16;
-
-var stateChangeTypes$3 = /*#__PURE__*/Object.freeze({
-  __proto__: null,
-  unknown: unknown,
-  mouseUp: mouseUp,
-  itemMouseEnter: itemMouseEnter,
-  keyDownArrowUp: keyDownArrowUp,
-  keyDownArrowDown: keyDownArrowDown,
-  keyDownEscape: keyDownEscape,
-  keyDownEnter: keyDownEnter,
-  keyDownHome: keyDownHome,
-  keyDownEnd: keyDownEnd,
-  clickItem: clickItem,
-  blurInput: blurInput,
-  changeInput: changeInput,
-  keyDownSpaceButton: keyDownSpaceButton,
-  clickButton: clickButton,
-  blurButton: blurButton,
-  controlledPropUpdatedSelectedItem: controlledPropUpdatedSelectedItem,
-  touchEnd: touchEnd
-});
-
-var _excluded$4 = ["refKey", "ref"],
-    _excluded2$3 = ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"],
-    _excluded3$2 = ["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"],
-    _excluded4$1 = ["refKey", "ref"],
-    _excluded5$1 = ["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"];
+function reactusegesture_esm_unsupportedIterableToArray(o, minLen) {
+  if (!o) return;
+  if (typeof o === "string") return reactusegesture_esm_arrayLikeToArray(o, minLen);
+  var n = Object.prototype.toString.call(o).slice(8, -1);
+  if (n === "Object" && o.constructor) n = o.constructor.name;
+  if (n === "Map" || n === "Set") return Array.from(o);
+  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return reactusegesture_esm_arrayLikeToArray(o, minLen);
+}

-var downshift_esm_Downshift = /*#__PURE__*/function () {
-  var Downshift = /*#__PURE__*/function (_Component) {
-    inheritsLoose_inheritsLoose(Downshift, _Component);
+function reactusegesture_esm_arrayLikeToArray(arr, len) {
+  if (len == null || len > arr.length) len = arr.length;

-    function Downshift(_props) {
-      var _this;
+  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];

-      _this = _Component.call(this, _props) || this; // fancy destructuring + defaults + aliases
-      // this basically says each value of state should either be set to
-      // the initial value or the default value if the initial value is not provided
+  return arr2;
+}

-      _this.id = _this.props.id || "downshift-" + downshift_esm_generateId();
-      _this.menuId = _this.props.menuId || _this.id + "-menu";
-      _this.labelId = _this.props.labelId || _this.id + "-label";
-      _this.inputId = _this.props.inputId || _this.id + "-input";
+function reactusegesture_esm_createForOfIteratorHelperLoose(o, allowArrayLike) {
+  var it;

-      _this.getItemId = _this.props.getItemId || function (index) {
-        return _this.id + "-item-" + index;
+  if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
+    if (Array.isArray(o) || (it = reactusegesture_esm_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
+      if (it) o = it;
+      var i = 0;
+      return function () {
+        if (i >= o.length) return {
+          done: true
+        };
+        return {
+          done: false,
+          value: o[i++]
+        };
       };
+    }

-      _this.input = null;
-      _this.items = [];
-      _this.itemCount = null;
-      _this.previousResultCount = 0;
-      _this.timeoutIds = [];
-
-      _this.internalSetTimeout = function (fn, time) {
-        var id = setTimeout(function () {
-          _this.timeoutIds = _this.timeoutIds.filter(function (i) {
-            return i !== id;
-          });
-          fn();
-        }, time);
+    throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+  }

-        _this.timeoutIds.push(id);
-      };
+  it = o[Symbol.iterator]();
+  return it.next.bind(it);
+}

-      _this.setItemCount = function (count) {
-        _this.itemCount = count;
-      };
+function reactusegesture_esm_noop() {}
+/**
+ * TODO Beware that only optimized cases are covered in tests =)
+ * TODO Need to cover general case as well
+ *
+ * @param fns
+ */

-      _this.unsetItemCount = function () {
-        _this.itemCount = null;
-      };
+function chainFns() {
+  for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {
+    fns[_key] = arguments[_key];
+  }

-      _this.setHighlightedIndex = function (highlightedIndex, otherStateToSet) {
-        if (highlightedIndex === void 0) {
-          highlightedIndex = _this.props.defaultHighlightedIndex;
-        }
+  if (fns.length === 0) return reactusegesture_esm_noop;
+  if (fns.length === 1) return fns[0];
+  return function () {
+    var result;

-        if (otherStateToSet === void 0) {
-          otherStateToSet = {};
-        }
+    for (var _iterator = reactusegesture_esm_createForOfIteratorHelperLoose(fns), _step; !(_step = _iterator()).done;) {
+      var fn = _step.value;
+      result = fn.apply(this, arguments) || result;
+    }

-        otherStateToSet = pickState(otherStateToSet);
+    return result;
+  };
+}
+/**
+ * Expects a simple value or 2D vector (an array with 2 elements) and
+ * always returns 2D vector. If simple value is passed, returns a
+ * vector with this value as both coordinates.
+ *
+ * @param value
+ */

-        _this.internalSetState(Object(esm_extends["a" /* default */])({
-          highlightedIndex: highlightedIndex
-        }, otherStateToSet));
-      };
+function ensureVector(value, fallback) {
+  if (value === undefined) {
+    if (fallback === undefined) {
+      throw new Error('Must define fallback value if undefined is expected');
+    }

-      _this.clearSelection = function (cb) {
-        _this.internalSetState({
-          selectedItem: null,
-          inputValue: '',
-          highlightedIndex: _this.props.defaultHighlightedIndex,
-          isOpen: _this.props.defaultIsOpen
-        }, cb);
-      };
+    value = fallback;
+  }

-      _this.selectItem = function (item, otherStateToSet, cb) {
-        otherStateToSet = pickState(otherStateToSet);
+  if (Array.isArray(value)) return value;
+  return [value, value];
+}
+/**
+ * Helper for defining a default value
+ *
+ * @param value
+ * @param fallback
+ */

-        _this.internalSetState(Object(esm_extends["a" /* default */])({
-          isOpen: _this.props.defaultIsOpen,
-          highlightedIndex: _this.props.defaultHighlightedIndex,
-          selectedItem: item,
-          inputValue: _this.props.itemToString(item)
-        }, otherStateToSet), cb);
-      };
+function assignDefault(value, fallback) {
+  return Object.assign({}, fallback, value || {});
+}
+/**
+ * Resolves getters (functions) by calling them
+ * If simple value is given it just passes through
+ *
+ * @param v
+ */

-      _this.selectItemAtIndex = function (itemIndex, otherStateToSet, cb) {
-        var item = _this.items[itemIndex];
+function valueFn(v) {
+  if (typeof v === 'function') {
+    for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
+      args[_key2 - 1] = arguments[_key2];
+    }

-        if (item == null) {
-          return;
-        }
+    // @ts-ignore
+    return v.apply(void 0, args);
+  } else {
+    return v;
+  }
+}

-        _this.selectItem(item, otherStateToSet, cb);
-      };
+function resolveWith(config, resolvers) {
+  if (config === void 0) {
+    config = {};
+  }

-      _this.selectHighlightedItem = function (otherStateToSet, cb) {
-        return _this.selectItemAtIndex(_this.getState().highlightedIndex, otherStateToSet, cb);
-      };
+  var result = {};

-      _this.internalSetState = function (stateToSet, cb) {
-        var isItemSelected, onChangeArg;
-        var onStateChangeArg = {};
-        var isStateToSetFunction = typeof stateToSet === 'function'; // we want to call `onInputValueChange` before the `setState` call
-        // so someone controlling the `inputValue` state gets notified of
-        // the input change as soon as possible. This avoids issues with
-        // preserving the cursor position.
-        // See https://github.com/downshift-js/downshift/issues/217 for more info.
+  for (var _i = 0, _Object$entries = Object.entries(resolvers); _i < _Object$entries.length; _i++) {
+    var _Object$entries$_i = _Object$entries[_i],
+        key = _Object$entries$_i[0],
+        resolver = _Object$entries$_i[1];

-        if (!isStateToSetFunction && stateToSet.hasOwnProperty('inputValue')) {
-          _this.props.onInputValueChange(stateToSet.inputValue, Object(esm_extends["a" /* default */])({}, _this.getStateAndHelpers(), stateToSet));
-        }
+    switch (typeof resolver) {
+      case 'function':
+        result[key] = resolver.call(result, config[key], key, config);
+        break;

-        return _this.setState(function (state) {
-          state = _this.getState(state);
-          var newStateToSet = isStateToSetFunction ? stateToSet(state) : stateToSet; // Your own function that could modify the state that will be set.
+      case 'object':
+        result[key] = resolveWith(config[key], resolver);
+        break;

-          newStateToSet = _this.props.stateReducer(state, newStateToSet); // checks if an item is selected, regardless of if it's different from
-          // what was selected before
-          // used to determine if onSelect and onChange callbacks should be called
+      case 'boolean':
+        if (resolver) result[key] = config[key];
+        break;
+    }
+  }

-          isItemSelected = newStateToSet.hasOwnProperty('selectedItem'); // this keeps track of the object we want to call with setState
+  return result;
+}

-          var nextState = {}; // this is just used to tell whether the state changed
+/**
+ * Whether the browser supports GestureEvent (ie Safari)
+ * @returns true if the browser supports gesture event
+ */
+function supportsGestureEvents() {
+  try {
+    // TODO [TS] possibly find GestureEvent definitions?
+    // @ts-ignore: no type definitions for webkit GestureEvents
+    return 'constructor' in GestureEvent;
+  } catch (e) {
+    return false;
+  }
+}
+function reactusegesture_esm_supportsTouchEvents() {
+  return typeof window !== 'undefined' && 'ontouchstart' in window;
+}
+function reactusegesture_esm_supportsPointerEvents() {
+  return typeof window !== 'undefined' && 'onpointerdown' in window;
+}

-          var nextFullState = {}; // we need to call on change if the outside world is controlling any of our state
-          // and we're trying to update that state. OR if the selection has changed and we're
-          // trying to update the selection
+function getEventTouches(event) {
+  if ('pointerId' in event) return null;
+  return event.type === 'touchend' ? event.changedTouches : event.targetTouches;
+}

-          if (isItemSelected && newStateToSet.selectedItem !== state.selectedItem) {
-            onChangeArg = newStateToSet.selectedItem;
-          }
+function getTouchIds(event) {
+  return Array.from(getEventTouches(event)).map(function (t) {
+    return t.identifier;
+  });
+}
+function getGenericEventData(event) {
+  var buttons = 'buttons' in event ? event.buttons : 0;
+  var shiftKey = event.shiftKey,
+      altKey = event.altKey,
+      metaKey = event.metaKey,
+      ctrlKey = event.ctrlKey; // TODO check if this might create some overrides?

-          newStateToSet.type = newStateToSet.type || unknown;
-          Object.keys(newStateToSet).forEach(function (key) {
-            // onStateChangeArg should only have the state that is
-            // actually changing
-            if (state[key] !== newStateToSet[key]) {
-              onStateChangeArg[key] = newStateToSet[key];
-            } // the type is useful for the onStateChangeArg
-            // but we don't actually want to set it in internal state.
-            // this is an undocumented feature for now... Not all internalSetState
-            // calls support it and I'm not certain we want them to yet.
-            // But it enables users controlling the isOpen state to know when
-            // the isOpen state changes due to mouseup events which is quite handy.
+  return {
+    buttons: buttons,
+    shiftKey: shiftKey,
+    altKey: altKey,
+    metaKey: metaKey,
+    ctrlKey: ctrlKey
+  };
+}

+var identity = function identity(xy) {
+  return xy;
+};
+/**
+ * Gets pointer event values.
+ * @param event
+ * @returns pointer event values
+ */

-            if (key === 'type') {
-              return;
-            }

-            nextFullState[key] = newStateToSet[key]; // if it's coming from props, then we don't care to set it internally
+function getPointerEventValues(event, transform) {
+  if (transform === void 0) {
+    transform = identity;
+  }

-            if (!isControlledProp(_this.props, key)) {
-              nextState[key] = newStateToSet[key];
-            }
-          }); // if stateToSet is a function, then we weren't able to call onInputValueChange
-          // earlier, so we'll call it now that we know what the inputValue state will be.
+  var touchEvents = getEventTouches(event);

-          if (isStateToSetFunction && newStateToSet.hasOwnProperty('inputValue')) {
-            _this.props.onInputValueChange(newStateToSet.inputValue, Object(esm_extends["a" /* default */])({}, _this.getStateAndHelpers(), newStateToSet));
-          }
+  var _ref = touchEvents ? touchEvents[0] : event,
+      clientX = _ref.clientX,
+      clientY = _ref.clientY;

-          return nextState;
-        }, function () {
-          // call the provided callback if it's a function
-          cbToCb(cb)(); // only call the onStateChange and onChange callbacks if
-          // we have relevant information to pass them.
+  return transform([clientX, clientY]);
+}
+/**
+ * Gets two touches event data
+ * @param event
+ * @returns two touches event data
+ */

-          var hasMoreStateThanType = Object.keys(onStateChangeArg).length > 1;
+function getTwoTouchesEventValues(event, pointerIds, transform) {
+  if (transform === void 0) {
+    transform = identity;
+  }

-          if (hasMoreStateThanType) {
-            _this.props.onStateChange(onStateChangeArg, _this.getStateAndHelpers());
-          }
+  var _Array$from$filter = Array.from(event.touches).filter(function (t) {
+    return pointerIds.includes(t.identifier);
+  }),
+      A = _Array$from$filter[0],
+      B = _Array$from$filter[1];

-          if (isItemSelected) {
-            _this.props.onSelect(stateToSet.selectedItem, _this.getStateAndHelpers());
-          }
+  if (!A || !B) throw Error("The event doesn't have two pointers matching the pointerIds");
+  var dx = B.clientX - A.clientX;
+  var dy = B.clientY - A.clientY;
+  var cx = (B.clientX + A.clientX) / 2;
+  var cy = (B.clientY + A.clientY) / 2; // const e: any = 'nativeEvent' in event ? event.nativeEvent : event

-          if (onChangeArg !== undefined) {
-            _this.props.onChange(onChangeArg, _this.getStateAndHelpers());
-          } // this is currently undocumented and therefore subject to change
-          // We'll try to not break it, but just be warned.
+  var distance = Math.hypot(dx, dy); // FIXME rotation has inconsistant values so we're not using it atm
+  // const angle = (e.rotation as number) ?? -(Math.atan2(dx, dy) * 180) / Math.PI

+  var angle = -(Math.atan2(dx, dy) * 180) / Math.PI;
+  var values = transform([distance, angle]);
+  var origin = transform([cx, cy]);
+  return {
+    values: values,
+    origin: origin
+  };
+}
+/**
+ * Gets scroll event values
+ * @param event
+ * @returns scroll event values
+ */

-          _this.props.onUserAction(onStateChangeArg, _this.getStateAndHelpers());
-        });
-      };
+function getScrollEventValues(event, transform) {
+  if (transform === void 0) {
+    transform = identity;
+  }

-      _this.rootRef = function (node) {
-        return _this._rootNode = node;
-      };
+  // If the currentTarget is the window then we return the scrollX/Y position.
+  // If not (ie the currentTarget is a DOM element), then we return scrollLeft/Top
+  var _event$currentTarget = event.currentTarget,
+      scrollX = _event$currentTarget.scrollX,
+      scrollY = _event$currentTarget.scrollY,
+      scrollLeft = _event$currentTarget.scrollLeft,
+      scrollTop = _event$currentTarget.scrollTop;
+  return transform([scrollX || scrollLeft || 0, scrollY || scrollTop || 0]);
+} // wheel delta defaults from https://github.com/facebookarchive/fixed-data-table/blob/master/src/vendor_upstream/dom/normalizeWheel.js

-      _this.getRootProps = function (_temp, _temp2) {
-        var _extends2;
+var LINE_HEIGHT = 40;
+var PAGE_HEIGHT = 800;
+/**
+ * Gets wheel event values.
+ * @param event
+ * @returns wheel event values
+ */

-        var _ref = _temp === void 0 ? {} : _temp,
-            _ref$refKey = _ref.refKey,
-            refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey,
-            ref = _ref.ref,
-            rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref, _excluded$4);
+function getWheelEventValues(event, transform) {
+  if (transform === void 0) {
+    transform = identity;
+  }

-        var _ref2 = _temp2 === void 0 ? {} : _temp2,
-            _ref2$suppressRefErro = _ref2.suppressRefError,
-            suppressRefError = _ref2$suppressRefErro === void 0 ? false : _ref2$suppressRefErro;
+  var deltaX = event.deltaX,
+      deltaY = event.deltaY,
+      deltaMode = event.deltaMode; // normalize wheel values, especially for Firefox

-        // this is used in the render to know whether the user has called getRootProps.
-        // It uses that to know whether to apply the props automatically
-        _this.getRootProps.called = true;
-        _this.getRootProps.refKey = refKey;
-        _this.getRootProps.suppressRefError = suppressRefError;
+  if (deltaMode === 1) {
+    deltaX *= LINE_HEIGHT;
+    deltaY *= LINE_HEIGHT;
+  } else if (deltaMode === 2) {
+    deltaX *= PAGE_HEIGHT;
+    deltaY *= PAGE_HEIGHT;
+  }

-        var _this$getState = _this.getState(),
-            isOpen = _this$getState.isOpen;
+  return transform([deltaX, deltaY]);
+}
+/**
+ * Gets webkit gesture event values.
+ * @param event
+ * @returns webkit gesture event values
+ */

-        return Object(esm_extends["a" /* default */])((_extends2 = {}, _extends2[refKey] = handleRefs(ref, _this.rootRef), _extends2.role = 'combobox', _extends2['aria-expanded'] = isOpen, _extends2['aria-haspopup'] = 'listbox', _extends2['aria-owns'] = isOpen ? _this.menuId : null, _extends2['aria-labelledby'] = _this.labelId, _extends2), rest);
-      };
+function getWebkitGestureEventValues(event, transform) {
+  if (transform === void 0) {
+    transform = identity;
+  }

-      _this.keyDownHandlers = {
-        ArrowDown: function ArrowDown(event) {
-          var _this2 = this;
+  return transform([event.scale, event.rotation]);
+}

-          event.preventDefault();
+var DEFAULT_DRAG_DELAY = 180;
+var DEFAULT_RUBBERBAND = 0.15;
+var DEFAULT_SWIPE_VELOCITY = 0.5;
+var DEFAULT_SWIPE_DISTANCE = 50;
+var DEFAULT_SWIPE_DURATION = 250;
+var InternalGestureOptionsNormalizers = {
+  threshold: function threshold(value) {
+    if (value === void 0) {
+      value = 0;
+    }

-          if (this.getState().isOpen) {
-            var amount = event.shiftKey ? 5 : 1;
-            this.moveHighlightedIndex(amount, {
-              type: keyDownArrowDown
-            });
-          } else {
-            this.internalSetState({
-              isOpen: true,
-              type: keyDownArrowDown
-            }, function () {
-              var itemCount = _this2.getItemCount();
+    return ensureVector(value);
+  },
+  rubberband: function rubberband(value) {
+    if (value === void 0) {
+      value = 0;
+    }

-              if (itemCount > 0) {
-                var _this2$getState = _this2.getState(),
-                    highlightedIndex = _this2$getState.highlightedIndex;
+    switch (value) {
+      case true:
+        return ensureVector(DEFAULT_RUBBERBAND);

-                var nextHighlightedIndex = getNextWrappingIndex(1, highlightedIndex, itemCount, function (index) {
-                  return _this2.getItemNodeFromIndex(index);
-                });
+      case false:
+        return ensureVector(0);

-                _this2.setHighlightedIndex(nextHighlightedIndex, {
-                  type: keyDownArrowDown
-                });
-              }
-            });
-          }
-        },
-        ArrowUp: function ArrowUp(event) {
-          var _this3 = this;
+      default:
+        return ensureVector(value);
+    }
+  },
+  enabled: function enabled(value) {
+    if (value === void 0) {
+      value = true;
+    }

-          event.preventDefault();
+    return value;
+  },
+  triggerAllEvents: function triggerAllEvents(value) {
+    if (value === void 0) {
+      value = false;
+    }

-          if (this.getState().isOpen) {
-            var amount = event.shiftKey ? -5 : -1;
-            this.moveHighlightedIndex(amount, {
-              type: keyDownArrowUp
-            });
-          } else {
-            this.internalSetState({
-              isOpen: true,
-              type: keyDownArrowUp
-            }, function () {
-              var itemCount = _this3.getItemCount();
+    return value;
+  },
+  initial: function initial(value) {
+    if (value === void 0) {
+      value = 0;
+    }

-              if (itemCount > 0) {
-                var _this3$getState = _this3.getState(),
-                    highlightedIndex = _this3$getState.highlightedIndex;
+    if (typeof value === 'function') return value;
+    return ensureVector(value);
+  },
+  transform: true
+};

-                var nextHighlightedIndex = getNextWrappingIndex(-1, highlightedIndex, itemCount, function (index) {
-                  return _this3.getItemNodeFromIndex(index);
-                });
+var InternalCoordinatesOptionsNormalizers = /*#__PURE__*/reactusegesture_esm_extends({}, InternalGestureOptionsNormalizers, {
+  axis: true,
+  lockDirection: function lockDirection(value) {
+    if (value === void 0) {
+      value = false;
+    }

-                _this3.setHighlightedIndex(nextHighlightedIndex, {
-                  type: keyDownArrowUp
-                });
-              }
-            });
-          }
-        },
-        Enter: function Enter(event) {
-          if (event.which === 229) {
-            return;
-          }
+    return value;
+  },
+  bounds: function bounds(value) {
+    if (value === void 0) {
+      value = {};
+    }

-          var _this$getState2 = this.getState(),
-              isOpen = _this$getState2.isOpen,
-              highlightedIndex = _this$getState2.highlightedIndex;
+    if (typeof value === 'function') return function (state) {
+      return InternalCoordinatesOptionsNormalizers.bounds(value(state));
+    };
+    var _value2 = value,
+        _value2$left = _value2.left,
+        left = _value2$left === void 0 ? -Infinity : _value2$left,
+        _value2$right = _value2.right,
+        right = _value2$right === void 0 ? Infinity : _value2$right,
+        _value2$top = _value2.top,
+        top = _value2$top === void 0 ? -Infinity : _value2$top,
+        _value2$bottom = _value2.bottom,
+        bottom = _value2$bottom === void 0 ? Infinity : _value2$bottom;
+    return [[left, right], [top, bottom]];
+  }
+});

-          if (isOpen && highlightedIndex != null) {
-            event.preventDefault();
-            var item = this.items[highlightedIndex];
-            var itemNode = this.getItemNodeFromIndex(highlightedIndex);
+var reactusegesture_esm_isBrowser = typeof window !== 'undefined' && window.document && window.document.createElement;
+var InternalGenericOptionsNormalizers = {
+  enabled: function enabled(value) {
+    if (value === void 0) {
+      value = true;
+    }

-            if (item == null || itemNode && itemNode.hasAttribute('disabled')) {
-              return;
-            }
+    return value;
+  },
+  domTarget: true,
+  window: /*#__PURE__*/function (_window) {
+    function window(_x) {
+      return _window.apply(this, arguments);
+    }

-            this.selectHighlightedItem({
-              type: keyDownEnter
-            });
-          }
-        },
-        Escape: function Escape(event) {
-          event.preventDefault();
-          this.reset(Object(esm_extends["a" /* default */])({
-            type: keyDownEscape
-          }, !this.state.isOpen && {
-            selectedItem: null,
-            inputValue: ''
-          }));
-        }
-      };
-      _this.buttonKeyDownHandlers = Object(esm_extends["a" /* default */])({}, _this.keyDownHandlers, {
-        ' ': function _(event) {
-          event.preventDefault();
-          this.toggleMenu({
-            type: keyDownSpaceButton
-          });
-        }
-      });
-      _this.inputKeyDownHandlers = Object(esm_extends["a" /* default */])({}, _this.keyDownHandlers, {
-        Home: function Home(event) {
-          var _this4 = this;
+    window.toString = function () {
+      return _window.toString();
+    };

-          var _this$getState3 = this.getState(),
-              isOpen = _this$getState3.isOpen;
+    return window;
+  }(function (value) {
+    if (value === void 0) {
+      value = reactusegesture_esm_isBrowser ? window : undefined;
+    }

-          if (!isOpen) {
-            return;
-          }
+    return value;
+  }),
+  eventOptions: function eventOptions(_temp) {
+    var _ref = _temp === void 0 ? {} : _temp,
+        _ref$passive = _ref.passive,
+        passive = _ref$passive === void 0 ? true : _ref$passive,
+        _ref$capture = _ref.capture,
+        capture = _ref$capture === void 0 ? false : _ref$capture;

-          event.preventDefault();
-          var itemCount = this.getItemCount();
+    return {
+      passive: passive,
+      capture: capture
+    };
+  },
+  transform: true
+};

-          if (itemCount <= 0 || !isOpen) {
-            return;
-          } // get next non-disabled starting downwards from 0 if that's disabled.
+var InternalDistanceAngleOptionsNormalizers = /*#__PURE__*/reactusegesture_esm_extends({}, InternalGestureOptionsNormalizers, {
+  bounds: function bounds(_value, _key, _ref2) {
+    var _ref2$distanceBounds = _ref2.distanceBounds,
+        distanceBounds = _ref2$distanceBounds === void 0 ? {} : _ref2$distanceBounds,
+        _ref2$angleBounds = _ref2.angleBounds,
+        angleBounds = _ref2$angleBounds === void 0 ? {} : _ref2$angleBounds;

+    var _distanceBounds = function _distanceBounds(state) {
+      var D = assignDefault(valueFn(distanceBounds, state), {
+        min: -Infinity,
+        max: Infinity
+      });
+      return [D.min, D.max];
+    };

-          var newHighlightedIndex = getNextNonDisabledIndex(1, 0, itemCount, function (index) {
-            return _this4.getItemNodeFromIndex(index);
-          }, false);
-          this.setHighlightedIndex(newHighlightedIndex, {
-            type: keyDownHome
-          });
-        },
-        End: function End(event) {
-          var _this5 = this;
+    var _angleBounds = function _angleBounds(state) {
+      var A = assignDefault(valueFn(angleBounds, state), {
+        min: -Infinity,
+        max: Infinity
+      });
+      return [A.min, A.max];
+    };

-          var _this$getState4 = this.getState(),
-              isOpen = _this$getState4.isOpen;
+    if (typeof distanceBounds !== 'function' && typeof angleBounds !== 'function') return [_distanceBounds(), _angleBounds()];
+    return function (state) {
+      return [_distanceBounds(state), _angleBounds(state)];
+    };
+  }
+});

-          if (!isOpen) {
-            return;
-          }
+var InternalDragOptionsNormalizers = /*#__PURE__*/reactusegesture_esm_extends({}, InternalCoordinatesOptionsNormalizers, {
+  useTouch: function useTouch(value) {
+    if (value === void 0) {
+      value = false;
+    }

-          event.preventDefault();
-          var itemCount = this.getItemCount();
+    var supportsTouch = reactusegesture_esm_supportsTouchEvents();
+    var supportsPointer = reactusegesture_esm_supportsPointerEvents();
+    if (value && supportsTouch) return true;
+    if (supportsTouch && !supportsPointer) return true;
+    return false;
+  },
+  experimental_preventWindowScrollY: function experimental_preventWindowScrollY(value) {
+    if (value === void 0) {
+      value = false;
+    }

-          if (itemCount <= 0 || !isOpen) {
-            return;
-          } // get next non-disabled starting upwards from last index if that's disabled.
+    return value;
+  },
+  threshold: function threshold(v, _k, _ref3) {
+    var _ref3$filterTaps = _ref3.filterTaps,
+        filterTaps = _ref3$filterTaps === void 0 ? false : _ref3$filterTaps,
+        _ref3$lockDirection = _ref3.lockDirection,
+        lockDirection = _ref3$lockDirection === void 0 ? false : _ref3$lockDirection,
+        _ref3$axis = _ref3.axis,
+        axis = _ref3$axis === void 0 ? undefined : _ref3$axis;
+    var A = ensureVector(v, filterTaps ? 3 : lockDirection ? 1 : axis ? 1 : 0);
+    this.filterTaps = filterTaps;
+    return A;
+  },
+  swipeVelocity: function swipeVelocity(v) {
+    if (v === void 0) {
+      v = DEFAULT_SWIPE_VELOCITY;
+    }

+    return ensureVector(v);
+  },
+  swipeDistance: function swipeDistance(v) {
+    if (v === void 0) {
+      v = DEFAULT_SWIPE_DISTANCE;
+    }

-          var newHighlightedIndex = getNextNonDisabledIndex(-1, itemCount - 1, itemCount, function (index) {
-            return _this5.getItemNodeFromIndex(index);
-          }, false);
-          this.setHighlightedIndex(newHighlightedIndex, {
-            type: keyDownEnd
-          });
-        }
-      });
+    return ensureVector(v);
+  },
+  swipeDuration: function swipeDuration(value) {
+    if (value === void 0) {
+      value = DEFAULT_SWIPE_DURATION;
+    }

-      _this.getToggleButtonProps = function (_temp3) {
-        var _ref3 = _temp3 === void 0 ? {} : _temp3,
-            onClick = _ref3.onClick;
-            _ref3.onPress;
-            var onKeyDown = _ref3.onKeyDown,
-            onKeyUp = _ref3.onKeyUp,
-            onBlur = _ref3.onBlur,
-            rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref3, _excluded2$3);
+    return value;
+  },
+  delay: function delay(value) {
+    if (value === void 0) {
+      value = 0;
+    }

-        var _this$getState5 = _this.getState(),
-            isOpen = _this$getState5.isOpen;
+    switch (value) {
+      case true:
+        return DEFAULT_DRAG_DELAY;

-        var enabledEventHandlers = {
-          onClick: callAllEventHandlers(onClick, _this.buttonHandleClick),
-          onKeyDown: callAllEventHandlers(onKeyDown, _this.buttonHandleKeyDown),
-          onKeyUp: callAllEventHandlers(onKeyUp, _this.buttonHandleKeyUp),
-          onBlur: callAllEventHandlers(onBlur, _this.buttonHandleBlur)
-        };
-        var eventHandlers = rest.disabled ? {} : enabledEventHandlers;
-        return Object(esm_extends["a" /* default */])({
-          type: 'button',
-          role: 'button',
-          'aria-label': isOpen ? 'close menu' : 'open menu',
-          'aria-haspopup': true,
-          'data-toggle': true
-        }, eventHandlers, rest);
-      };
+      case false:
+        return 0;

-      _this.buttonHandleKeyUp = function (event) {
-        // Prevent click event from emitting in Firefox
-        event.preventDefault();
-      };
+      default:
+        return value;
+    }
+  }
+});

-      _this.buttonHandleKeyDown = function (event) {
-        var key = normalizeArrowKey(event);
+function getInternalGenericOptions(config) {
+  if (config === void 0) {
+    config = {};
+  }

-        if (_this.buttonKeyDownHandlers[key]) {
-          _this.buttonKeyDownHandlers[key].call(assertThisInitialized_assertThisInitialized(_this), event);
-        }
-      };
+  // TODO warn when passive is set to true and domTarget is undefined
+  return resolveWith(config, InternalGenericOptionsNormalizers);
+}
+function getInternalCoordinatesOptions(config) {
+  if (config === void 0) {
+    config = {};
+  }

-      _this.buttonHandleClick = function (event) {
-        event.preventDefault(); // handle odd case for Safari and Firefox which
-        // don't give the button the focus properly.
+  return resolveWith(config, InternalCoordinatesOptionsNormalizers);
+}
+function getInternalDistanceAngleOptions(config) {
+  if (config === void 0) {
+    config = {};
+  }

-        /* istanbul ignore if (can't reasonably test this) */
+  return resolveWith(config, InternalDistanceAngleOptionsNormalizers);
+}
+function getInternalDragOptions(config) {
+  if (config === void 0) {
+    config = {};
+  }

-        if (_this.props.environment.document.activeElement === _this.props.environment.document.body) {
-          event.target.focus();
-        } // to simplify testing components that use downshift, we'll not wrap this in a setTimeout
-        // if the NODE_ENV is test. With the proper build system, this should be dead code eliminated
-        // when building for production and should therefore have no impact on production code.
+  return resolveWith(config, InternalDragOptionsNormalizers);
+}

+function _buildMoveConfig(_ref) {
+  var domTarget = _ref.domTarget,
+      eventOptions = _ref.eventOptions,
+      window = _ref.window,
+      enabled = _ref.enabled,
+      rest = reactusegesture_esm_objectWithoutPropertiesLoose(_ref, ["domTarget", "eventOptions", "window", "enabled"]);

-        if (false) {} else {
-          // Ensure that toggle of menu occurs after the potential blur event in iOS
-          _this.internalSetTimeout(function () {
-            return _this.toggleMenu({
-              type: clickButton
-            });
-          });
-        }
-      };
+  var opts = getInternalGenericOptions({
+    domTarget: domTarget,
+    eventOptions: eventOptions,
+    window: window,
+    enabled: enabled
+  });
+  opts.move = getInternalCoordinatesOptions(rest);
+  return opts;
+}
+function _buildHoverConfig(_ref2) {
+  var domTarget = _ref2.domTarget,
+      eventOptions = _ref2.eventOptions,
+      window = _ref2.window,
+      enabled = _ref2.enabled,
+      rest = reactusegesture_esm_objectWithoutPropertiesLoose(_ref2, ["domTarget", "eventOptions", "window", "enabled"]);

-      _this.buttonHandleBlur = function (event) {
-        var blurTarget = event.target; // Save blur target for comparison with activeElement later
-        // Need setTimeout, so that when the user presses Tab, the activeElement is the next focused element, not body element
+  var opts = getInternalGenericOptions({
+    domTarget: domTarget,
+    eventOptions: eventOptions,
+    window: window,
+    enabled: enabled
+  });
+  opts.hover = reactusegesture_esm_extends({
+    enabled: true
+  }, rest);
+  return opts;
+}
+function _buildDragConfig(_ref3) {
+  var domTarget = _ref3.domTarget,
+      eventOptions = _ref3.eventOptions,
+      window = _ref3.window,
+      enabled = _ref3.enabled,
+      rest = reactusegesture_esm_objectWithoutPropertiesLoose(_ref3, ["domTarget", "eventOptions", "window", "enabled"]);

-        _this.internalSetTimeout(function () {
-          if (!_this.isMouseDown && (_this.props.environment.document.activeElement == null || _this.props.environment.document.activeElement.id !== _this.inputId) && _this.props.environment.document.activeElement !== blurTarget // Do nothing if we refocus the same element again (to solve issue in Safari on iOS)
-          ) {
-            _this.reset({
-              type: blurButton
-            });
-          }
-        });
-      };
+  var opts = getInternalGenericOptions({
+    domTarget: domTarget,
+    eventOptions: eventOptions,
+    window: window,
+    enabled: enabled
+  });
+  opts.drag = getInternalDragOptions(rest);
+  return opts;
+}
+function _buildPinchConfig(_ref4) {
+  var domTarget = _ref4.domTarget,
+      eventOptions = _ref4.eventOptions,
+      window = _ref4.window,
+      enabled = _ref4.enabled,
+      rest = reactusegesture_esm_objectWithoutPropertiesLoose(_ref4, ["domTarget", "eventOptions", "window", "enabled"]);

-      _this.getLabelProps = function (props) {
-        return Object(esm_extends["a" /* default */])({
-          htmlFor: _this.inputId,
-          id: _this.labelId
-        }, props);
-      };
+  var opts = getInternalGenericOptions({
+    domTarget: domTarget,
+    eventOptions: eventOptions,
+    window: window,
+    enabled: enabled
+  });
+  opts.pinch = getInternalDistanceAngleOptions(rest);
+  return opts;
+}
+function _buildScrollConfig(_ref5) {
+  var domTarget = _ref5.domTarget,
+      eventOptions = _ref5.eventOptions,
+      window = _ref5.window,
+      enabled = _ref5.enabled,
+      rest = reactusegesture_esm_objectWithoutPropertiesLoose(_ref5, ["domTarget", "eventOptions", "window", "enabled"]);

-      _this.getInputProps = function (_temp4) {
-        var _ref4 = _temp4 === void 0 ? {} : _temp4,
-            onKeyDown = _ref4.onKeyDown,
-            onBlur = _ref4.onBlur,
-            onChange = _ref4.onChange,
-            onInput = _ref4.onInput;
-            _ref4.onChangeText;
-            var rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref4, _excluded3$2);
+  var opts = getInternalGenericOptions({
+    domTarget: domTarget,
+    eventOptions: eventOptions,
+    window: window,
+    enabled: enabled
+  });
+  opts.scroll = getInternalCoordinatesOptions(rest);
+  return opts;
+}
+function _buildWheelConfig(_ref6) {
+  var domTarget = _ref6.domTarget,
+      eventOptions = _ref6.eventOptions,
+      window = _ref6.window,
+      enabled = _ref6.enabled,
+      rest = reactusegesture_esm_objectWithoutPropertiesLoose(_ref6, ["domTarget", "eventOptions", "window", "enabled"]);

-        var onChangeKey;
-        var eventHandlers = {};
-        /* istanbul ignore next (preact) */
+  var opts = getInternalGenericOptions({
+    domTarget: domTarget,
+    eventOptions: eventOptions,
+    window: window,
+    enabled: enabled
+  });
+  opts.wheel = getInternalCoordinatesOptions(rest);
+  return opts;
+}
+function buildComplexConfig(config, actions) {
+  if (config === void 0) {
+    config = {};
+  }

-        {
-          onChangeKey = 'onChange';
-        }
+  if (actions === void 0) {
+    actions = new Set();
+  }

-        var _this$getState6 = _this.getState(),
-            inputValue = _this$getState6.inputValue,
-            isOpen = _this$getState6.isOpen,
-            highlightedIndex = _this$getState6.highlightedIndex;
+  var _config = config,
+      drag = _config.drag,
+      wheel = _config.wheel,
+      move = _config.move,
+      scroll = _config.scroll,
+      pinch = _config.pinch,
+      hover = _config.hover,
+      eventOptions = _config.eventOptions,
+      window = _config.window,
+      transform = _config.transform,
+      domTarget = _config.domTarget,
+      enabled = _config.enabled;
+  var mergedConfig = getInternalGenericOptions({
+    domTarget: domTarget,
+    eventOptions: eventOptions,
+    transform: transform,
+    window: window,
+    enabled: enabled
+  });
+  if (actions.has('onDrag')) mergedConfig.drag = getInternalDragOptions(drag);
+  if (actions.has('onWheel')) mergedConfig.wheel = getInternalCoordinatesOptions(wheel);
+  if (actions.has('onScroll')) mergedConfig.scroll = getInternalCoordinatesOptions(scroll);
+  if (actions.has('onMove')) mergedConfig.move = getInternalCoordinatesOptions(move);
+  if (actions.has('onPinch')) mergedConfig.pinch = getInternalDistanceAngleOptions(pinch);
+  if (actions.has('onHover')) mergedConfig.hover = reactusegesture_esm_extends({
+    enabled: true
+  }, hover);
+  return mergedConfig;
+}

-        if (!rest.disabled) {
-          var _eventHandlers;
+function getInitial(mixed) {
+  return reactusegesture_esm_extends({
+    _active: false,
+    _blocked: false,
+    _intentional: [false, false],
+    _movement: [0, 0],
+    _initial: [0, 0],
+    _bounds: [[-Infinity, Infinity], [-Infinity, Infinity]],
+    _threshold: [0, 0],
+    _lastEventType: undefined,
+    _dragStarted: false,
+    _dragPreventScroll: false,
+    _dragIsTap: true,
+    _dragDelayed: false,
+    event: undefined,
+    intentional: false,
+    values: [0, 0],
+    velocities: [0, 0],
+    delta: [0, 0],
+    movement: [0, 0],
+    offset: [0, 0],
+    lastOffset: [0, 0],
+    direction: [0, 0],
+    initial: [0, 0],
+    previous: [0, 0],
+    first: false,
+    last: false,
+    active: false,
+    timeStamp: 0,
+    startTime: 0,
+    elapsedTime: 0,
+    cancel: reactusegesture_esm_noop,
+    canceled: false,
+    memo: undefined,
+    args: undefined
+  }, mixed);
+}

-          eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange, onInput, _this.inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, _this.inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, _this.inputHandleBlur), _eventHandlers);
-        }
+function getInitialState() {
+  var shared = {
+    hovering: false,
+    scrolling: false,
+    wheeling: false,
+    dragging: false,
+    moving: false,
+    pinching: false,
+    touches: 0,
+    buttons: 0,
+    down: false,
+    shiftKey: false,
+    altKey: false,
+    metaKey: false,
+    ctrlKey: false,
+    locked: false
+  };
+  var drag = getInitial({
+    _pointerId: undefined,
+    axis: undefined,
+    xy: [0, 0],
+    vxvy: [0, 0],
+    velocity: 0,
+    distance: 0,
+    tap: false,
+    swipe: [0, 0]
+  });
+  var pinch = getInitial({
+    // @ts-expect-error when used _pointerIds we can assert its type will be [number, number]
+    _pointerIds: [],
+    da: [0, 0],
+    vdva: [0, 0],
+    // @ts-expect-error origin can never be passed as undefined in userland
+    origin: undefined,
+    turns: 0
+  });
+  var wheel = getInitial({
+    axis: undefined,
+    xy: [0, 0],
+    vxvy: [0, 0],
+    velocity: 0,
+    distance: 0
+  });
+  var move = getInitial({
+    axis: undefined,
+    xy: [0, 0],
+    vxvy: [0, 0],
+    velocity: 0,
+    distance: 0
+  });
+  var scroll = getInitial({
+    axis: undefined,
+    xy: [0, 0],
+    vxvy: [0, 0],
+    velocity: 0,
+    distance: 0
+  });
+  return {
+    shared: shared,
+    drag: drag,
+    pinch: pinch,
+    wheel: wheel,
+    move: move,
+    scroll: scroll
+  };
+}

-        return Object(esm_extends["a" /* default */])({
-          'aria-autocomplete': 'list',
-          'aria-activedescendant': isOpen && typeof highlightedIndex === 'number' && highlightedIndex >= 0 ? _this.getItemId(highlightedIndex) : null,
-          'aria-controls': isOpen ? _this.menuId : null,
-          'aria-labelledby': _this.labelId,
-          // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
-          // revert back since autocomplete="nope" is ignored on latest Chrome and Opera
-          autoComplete: 'off',
-          value: inputValue,
-          id: _this.inputId
-        }, eventHandlers, rest);
-      };
+var RecognizersMap = /*#__PURE__*/new Map();

-      _this.inputHandleKeyDown = function (event) {
-        var key = normalizeArrowKey(event);
+var identity$1 = function identity(xy) {
+  return xy;
+};
+/**
+ * @private
+ * Recognizer abstract class.
+ */

-        if (key && _this.inputKeyDownHandlers[key]) {
-          _this.inputKeyDownHandlers[key].call(assertThisInitialized_assertThisInitialized(_this), event);
-        }
-      };

-      _this.inputHandleChange = function (event) {
-        _this.internalSetState({
-          type: changeInput,
-          isOpen: true,
-          inputValue: event.target.value,
-          highlightedIndex: _this.props.defaultHighlightedIndex
-        });
-      };
+var Recognizer = /*#__PURE__*/function () {
+  /**
+   * Creates an instance of a gesture recognizer.
+   * @param stateKey drag, move, pinch, etc.
+   * @param controller the controller attached to the gesture
+   * @param [args] the args that should be passed to the gesture handler
+   */
+  function Recognizer(controller, args) {
+    var _this = this;

-      _this.inputHandleBlur = function () {
-        // Need setTimeout, so that when the user presses Tab, the activeElement is the next focused element, not the body element
-        _this.internalSetTimeout(function () {
-          var downshiftButtonIsActive = _this.props.environment.document && !!_this.props.environment.document.activeElement && !!_this.props.environment.document.activeElement.dataset && _this.props.environment.document.activeElement.dataset.toggle && _this._rootNode && _this._rootNode.contains(_this.props.environment.document.activeElement);
+    if (args === void 0) {
+      args = [];
+    }

-          if (!_this.isMouseDown && !downshiftButtonIsActive) {
-            _this.reset({
-              type: blurInput
-            });
-          }
-        });
-      };
+    this.controller = controller;
+    this.args = args;
+    this.debounced = true; // Convenience method to set a timeout for a given gesture

-      _this.menuRef = function (node) {
-        _this._menuNode = node;
-      };
+    this.setTimeout = function (callback, ms) {
+      var _window;

-      _this.getMenuProps = function (_temp5, _temp6) {
-        var _extends3;
+      if (ms === void 0) {
+        ms = 140;
+      }

-        var _ref5 = _temp5 === void 0 ? {} : _temp5,
-            _ref5$refKey = _ref5.refKey,
-            refKey = _ref5$refKey === void 0 ? 'ref' : _ref5$refKey,
-            ref = _ref5.ref,
-            props = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref5, _excluded4$1);
+      clearTimeout(_this.controller.timeouts[_this.stateKey]);

-        var _ref6 = _temp6 === void 0 ? {} : _temp6,
-            _ref6$suppressRefErro = _ref6.suppressRefError,
-            suppressRefError = _ref6$suppressRefErro === void 0 ? false : _ref6$suppressRefErro;
+      for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
+        args[_key - 2] = arguments[_key];
+      }

-        _this.getMenuProps.called = true;
-        _this.getMenuProps.refKey = refKey;
-        _this.getMenuProps.suppressRefError = suppressRefError;
-        return Object(esm_extends["a" /* default */])((_extends3 = {}, _extends3[refKey] = handleRefs(ref, _this.menuRef), _extends3.role = 'listbox', _extends3['aria-labelledby'] = props && props['aria-label'] ? null : _this.labelId, _extends3.id = _this.menuId, _extends3), props);
-      };
+      _this.controller.timeouts[_this.stateKey] = (_window = window).setTimeout.apply(_window, [callback, ms].concat(args));
+    }; // Convenience method to clear a timeout for a given gesture

-      _this.getItemProps = function (_temp7) {
-        var _enabledEventHandlers;

-        var _ref7 = _temp7 === void 0 ? {} : _temp7,
-            onMouseMove = _ref7.onMouseMove,
-            onMouseDown = _ref7.onMouseDown,
-            onClick = _ref7.onClick;
-            _ref7.onPress;
-            var index = _ref7.index,
-            _ref7$item = _ref7.item,
-            item = _ref7$item === void 0 ?  true ?
-        /* istanbul ignore next */
-        undefined : undefined : _ref7$item,
-            rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref7, _excluded5$1);
+    this.clearTimeout = function () {
+      clearTimeout(_this.controller.timeouts[_this.stateKey]);
+    };
+    /**
+     * Fires the gesture handler
+     */

-        if (index === undefined) {
-          _this.items.push(item);

-          index = _this.items.indexOf(item);
-        } else {
-          _this.items[index] = item;
-        }
+    this.fireGestureHandler = function (forceFlag) {
+      if (forceFlag === void 0) {
+        forceFlag = false;
+      }

-        var onSelectKey = 'onClick';
-        var customClickHandler = onClick;
-        var enabledEventHandlers = (_enabledEventHandlers = {
-          // onMouseMove is used over onMouseEnter here. onMouseMove
-          // is only triggered on actual mouse movement while onMouseEnter
-          // can fire on DOM changes, interrupting keyboard navigation
-          onMouseMove: callAllEventHandlers(onMouseMove, function () {
-            if (index === _this.getState().highlightedIndex) {
-              return;
-            }
+      /**
+       * If the gesture has been blocked (this can happen when the gesture has started in an unwanted direction),
+       * clean everything and don't do anything.
+       */
+      if (_this.state._blocked) {
+        // we need debounced gestures to end by themselves
+        if (!_this.debounced) {
+          _this.state._active = false;

-            _this.setHighlightedIndex(index, {
-              type: itemMouseEnter
-            }); // We never want to manually scroll when changing state based
-            // on `onMouseMove` because we will be moving the element out
-            // from under the user which is currently scrolling/moving the
-            // cursor
+          _this.clean();
+        }

+        return null;
+      } // If the gesture has no intentional dimension, don't fire the handler.

-            _this.avoidScrolling = true;

-            _this.internalSetTimeout(function () {
-              return _this.avoidScrolling = false;
-            }, 250);
-          }),
-          onMouseDown: callAllEventHandlers(onMouseDown, function (event) {
-            // This prevents the activeElement from being changed
-            // to the item so it can remain with the current activeElement
-            // which is a more common use case.
-            event.preventDefault();
-          })
-        }, _enabledEventHandlers[onSelectKey] = callAllEventHandlers(customClickHandler, function () {
-          _this.selectItemAtIndex(index, {
-            type: clickItem
-          });
-        }), _enabledEventHandlers); // Passing down the onMouseDown handler to prevent redirect
-        // of the activeElement if clicking on disabled items
+      if (!forceFlag && !_this.state.intentional && !_this.config.triggerAllEvents) return null;

-        var eventHandlers = rest.disabled ? {
-          onMouseDown: enabledEventHandlers.onMouseDown
-        } : enabledEventHandlers;
-        return Object(esm_extends["a" /* default */])({
-          id: _this.getItemId(index),
-          role: 'option',
-          'aria-selected': _this.getState().highlightedIndex === index
-        }, eventHandlers, rest);
-      };
+      if (_this.state.intentional) {
+        var prev_active = _this.state.active;
+        var next_active = _this.state._active;
+        _this.state.active = next_active;
+        _this.state.first = next_active && !prev_active;
+        _this.state.last = prev_active && !next_active;
+        _this.controller.state.shared[_this.ingKey] = next_active; // Sets dragging, pinching, etc. to the gesture active state
+      }

-      _this.clearItems = function () {
-        _this.items = [];
-      };
+      var touches = _this.controller.pointerIds.size || _this.controller.touchIds.size;
+      var down = _this.controller.state.shared.buttons > 0 || touches > 0;

-      _this.reset = function (otherStateToSet, cb) {
-        if (otherStateToSet === void 0) {
-          otherStateToSet = {};
-        }
+      var state = reactusegesture_esm_extends({}, _this.controller.state.shared, _this.state, _this.mapStateValues(_this.state), {
+        locked: !!document.pointerLockElement,
+        touches: touches,
+        down: down
+      }); // @ts-expect-error

-        otherStateToSet = pickState(otherStateToSet);

-        _this.internalSetState(function (_ref8) {
-          var selectedItem = _ref8.selectedItem;
-          return Object(esm_extends["a" /* default */])({
-            isOpen: _this.props.defaultIsOpen,
-            highlightedIndex: _this.props.defaultHighlightedIndex,
-            inputValue: _this.props.itemToString(selectedItem)
-          }, otherStateToSet);
-        }, cb);
-      };
+      var newMemo = _this.handler(state); // Sets memo to the returned value of the handler (unless it's not undefined)

-      _this.toggleMenu = function (otherStateToSet, cb) {
-        if (otherStateToSet === void 0) {
-          otherStateToSet = {};
-        }

-        otherStateToSet = pickState(otherStateToSet);
+      _this.state.memo = newMemo !== void 0 ? newMemo : _this.state.memo;
+      return state;
+    };

-        _this.internalSetState(function (_ref9) {
-          var isOpen = _ref9.isOpen;
-          return Object(esm_extends["a" /* default */])({
-            isOpen: !isOpen
-          }, isOpen && {
-            highlightedIndex: _this.props.defaultHighlightedIndex
-          }, otherStateToSet);
-        }, function () {
-          var _this$getState7 = _this.getState(),
-              isOpen = _this$getState7.isOpen,
-              highlightedIndex = _this$getState7.highlightedIndex;
+    this.controller = controller;
+    this.args = args;
+  } // Returns the gesture config

-          if (isOpen) {
-            if (_this.getItemCount() > 0 && typeof highlightedIndex === 'number') {
-              _this.setHighlightedIndex(highlightedIndex, otherStateToSet);
-            }
-          }

-          cbToCb(cb)();
-        });
-      };
+  var _proto = Recognizer.prototype;

-      _this.openMenu = function (cb) {
-        _this.internalSetState({
-          isOpen: true
-        }, cb);
-      };
+  // Convenience method to update the shared state
+  _proto.updateSharedState = function updateSharedState(sharedState) {
+    Object.assign(this.controller.state.shared, sharedState);
+  } // Convenience method to update the gesture state
+  ;

-      _this.closeMenu = function (cb) {
-        _this.internalSetState({
-          isOpen: false
-        }, cb);
-      };
+  _proto.updateGestureState = function updateGestureState(gestureState) {
+    Object.assign(this.state, gestureState);
+  }
+  /**
+   * Returns state properties depending on the movement and state.
+   *
+   * Should be overriden for custom behavior, doesn't do anything in the implementation
+   * below.
+   */
+  ;

-      _this.updateStatus = downshift_esm_debounce(function () {
-        var state = _this.getState();
+  _proto.checkIntentionality = function checkIntentionality(_intentional, _movement) {
+    return {
+      _intentional: _intentional,
+      _blocked: false
+    };
+  }
+  /**
+   * Returns basic movement properties for the gesture based on the next values and current state.
+   */
+  ;

-        var item = _this.items[state.highlightedIndex];
+  _proto.getMovement = function getMovement(values) {
+    var rubberband = this.config.rubberband;
+    var _this$state = this.state,
+        _bounds = _this$state._bounds,
+        _initial = _this$state._initial,
+        _active = _this$state._active,
+        wasIntentional = _this$state._intentional,
+        lastOffset = _this$state.lastOffset,
+        prevMovement = _this$state.movement,
+        _T = _this$state._threshold;
+    var M = this.getInternalMovement(values, this.state);
+    var i0 = wasIntentional[0] === false ? getIntentionalDisplacement(M[0], _T[0]) : wasIntentional[0];
+    var i1 = wasIntentional[1] === false ? getIntentionalDisplacement(M[1], _T[1]) : wasIntentional[1]; // Get gesture specific state properties based on intentionality and movement.

-        var resultCount = _this.getItemCount();
+    var intentionalityCheck = this.checkIntentionality([i0, i1], M);

-        var status = _this.props.getA11yStatusMessage(Object(esm_extends["a" /* default */])({
-          itemToString: _this.props.itemToString,
-          previousResultCount: _this.previousResultCount,
-          resultCount: resultCount,
-          highlightedItem: item
-        }, state));
+    if (intentionalityCheck._blocked) {
+      return reactusegesture_esm_extends({}, intentionalityCheck, {
+        _movement: M,
+        delta: [0, 0]
+      });
+    }

-        _this.previousResultCount = resultCount;
-        setStatus(status, _this.props.environment.document);
-      }, 200);
+    var _intentional = intentionalityCheck._intentional;
+    var _movement = M;
+    /**
+     * The movement sent to the handler has 0 in its dimensions when intentionality is false.
+     * It is calculated from the actual movement minus the threshold.
+     */

-      var _this$props = _this.props,
-          defaultHighlightedIndex = _this$props.defaultHighlightedIndex,
-          _this$props$initialHi = _this$props.initialHighlightedIndex,
-          _highlightedIndex = _this$props$initialHi === void 0 ? defaultHighlightedIndex : _this$props$initialHi,
-          defaultIsOpen = _this$props.defaultIsOpen,
-          _this$props$initialIs = _this$props.initialIsOpen,
-          _isOpen = _this$props$initialIs === void 0 ? defaultIsOpen : _this$props$initialIs,
-          _this$props$initialIn = _this$props.initialInputValue,
-          _inputValue = _this$props$initialIn === void 0 ? '' : _this$props$initialIn,
-          _this$props$initialSe = _this$props.initialSelectedItem,
-          _selectedItem = _this$props$initialSe === void 0 ? null : _this$props$initialSe;
+    var movement = [_intentional[0] !== false ? M[0] - _intentional[0] : 0, _intentional[1] !== false ? M[1] - _intentional[1] : 0];
+    var offset = addV(movement, lastOffset);
+    /**
+     * Rubberband should be 0 when the gesture is no longer active, so that movement
+     * and offset can return within their bounds.
+     */

-      var _state = _this.getState({
-        highlightedIndex: _highlightedIndex,
-        isOpen: _isOpen,
-        inputValue: _inputValue,
-        selectedItem: _selectedItem
-      });
+    var _rubberband = _active ? rubberband : [0, 0];

-      if (_state.selectedItem != null && _this.props.initialInputValue === undefined) {
-        _state.inputValue = _this.props.itemToString(_state.selectedItem);
-      }
+    movement = computeRubberband(_bounds, addV(movement, _initial), _rubberband);
+    return reactusegesture_esm_extends({}, intentionalityCheck, {
+      intentional: _intentional[0] !== false || _intentional[1] !== false,
+      _initial: _initial,
+      _movement: _movement,
+      movement: movement,
+      values: values,
+      offset: computeRubberband(_bounds, offset, _rubberband),
+      delta: subV(movement, prevMovement)
+    });
+  } // Cleans the gesture. Can be overriden by gestures.
+  ;

-      _this.state = _state;
-      return _this;
-    }
+  _proto.clean = function clean() {
+    this.clearTimeout();
+  };

-    var _proto = Downshift.prototype;
+  _createClass(Recognizer, [{
+    key: "config",
+    get: function get() {
+      return this.controller.config[this.stateKey];
+    } // Is the gesture enabled

-    /**
-     * Clear all running timeouts
-     */
-    _proto.internalClearTimeouts = function internalClearTimeouts() {
-      this.timeoutIds.forEach(function (id) {
-        clearTimeout(id);
-      });
-      this.timeoutIds = [];
+  }, {
+    key: "enabled",
+    get: function get() {
+      return this.controller.config.enabled && this.config.enabled;
+    } // Returns the controller state for a given gesture
+
+  }, {
+    key: "state",
+    get: function get() {
+      return this.controller.state[this.stateKey];
+    } // Returns the gesture handler
+
+  }, {
+    key: "handler",
+    get: function get() {
+      return this.controller.handlers[this.stateKey];
     }
-    /**
-     * Gets the state based on internal state or props
-     * If a state value is passed via props, then that
-     * is the value given, otherwise it's retrieved from
-     * stateToMerge
-     *
-     * @param {Object} stateToMerge defaults to this.state
-     * @return {Object} the state
-     */
-    ;
+  }, {
+    key: "transform",
+    get: function get() {
+      return this.config.transform || this.controller.config.transform || identity$1;
+    }
+  }]);

-    _proto.getState = function getState$1(stateToMerge) {
-      if (stateToMerge === void 0) {
-        stateToMerge = this.state;
-      }
+  return Recognizer;
+}(); //--------------------------------------------

-      return getState(stateToMerge, this.props);
-    };
+function getIntentionalDisplacement(movement, threshold) {
+  if (Math.abs(movement) >= threshold) {
+    return sign(movement) * threshold;
+  } else {
+    return false;
+  }
+}

-    _proto.getItemCount = function getItemCount() {
-      // things read better this way. They're in priority order:
-      // 1. `this.itemCount`
-      // 2. `this.props.itemCount`
-      // 3. `this.items.length`
-      var itemCount = this.items.length;
+function computeRubberband(bounds, _ref, _ref2) {
+  var Vx = _ref[0],
+      Vy = _ref[1];
+  var Rx = _ref2[0],
+      Ry = _ref2[1];
+  var _bounds$ = bounds[0],
+      X1 = _bounds$[0],
+      X2 = _bounds$[1],
+      _bounds$2 = bounds[1],
+      Y1 = _bounds$2[0],
+      Y2 = _bounds$2[1];
+  return [rubberbandIfOutOfBounds(Vx, X1, X2, Rx), rubberbandIfOutOfBounds(Vy, Y1, Y2, Ry)];
+}
+/**
+ * Returns a generic, common payload for all gestures from an event.
+ */

-      if (this.itemCount != null) {
-        itemCount = this.itemCount;
-      } else if (this.props.itemCount !== undefined) {
-        itemCount = this.props.itemCount;
-      }

-      return itemCount;
-    };
+function getGenericPayload(_ref3, event, isStartEvent) {
+  var state = _ref3.state;
+  var timeStamp = event.timeStamp,
+      _lastEventType = event.type;
+  var previous = state.values;
+  var elapsedTime = isStartEvent ? 0 : timeStamp - state.startTime;
+  return {
+    _lastEventType: _lastEventType,
+    event: event,
+    timeStamp: timeStamp,
+    elapsedTime: elapsedTime,
+    previous: previous
+  };
+}
+/**
+ * Returns the reinitialized start state for the gesture.
+ * Should be common to all gestures.
+ */

-    _proto.getItemNodeFromIndex = function getItemNodeFromIndex(index) {
-      return this.props.environment.document.getElementById(this.getItemId(index));
-    };
+function getStartGestureState(_ref4, values, event, initial) {
+  var state = _ref4.state,
+      config = _ref4.config,
+      stateKey = _ref4.stateKey,
+      args = _ref4.args,
+      transform = _ref4.transform;
+  var offset = state.offset;
+  var startTime = event.timeStamp;
+  var initialFn = config.initial,
+      bounds = config.bounds,
+      threshold = config.threshold; // the _threshold is the difference between a [0,0] offset converted to
+  // its new space coordinates

-    _proto.scrollHighlightedItemIntoView = function scrollHighlightedItemIntoView() {
-      /* istanbul ignore else (react-native) */
-      {
-        var node = this.getItemNodeFromIndex(this.getState().highlightedIndex);
-        this.props.scrollIntoView(node, this._menuNode);
-      }
-    };
+  var _threshold = subV(transform(threshold), transform([0, 0])).map(Math.abs);

-    _proto.moveHighlightedIndex = function moveHighlightedIndex(amount, otherStateToSet) {
-      var _this6 = this;
+  var _state = reactusegesture_esm_extends({}, getInitialState()[stateKey], {
+    _active: true,
+    args: args,
+    values: values,
+    initial: initial != null ? initial : values,
+    _threshold: _threshold,
+    offset: offset,
+    lastOffset: offset,
+    startTime: startTime
+  });

-      var itemCount = this.getItemCount();
+  return reactusegesture_esm_extends({}, _state, {
+    _initial: valueFn(initialFn, _state),
+    _bounds: valueFn(bounds, _state)
+  });
+}

-      var _this$getState8 = this.getState(),
-          highlightedIndex = _this$getState8.highlightedIndex;
+/**
+ * The controller will keep track of the state for all gestures and also keep
+ * track of timeouts, and window listeners.
+ */

-      if (itemCount > 0) {
-        var nextHighlightedIndex = getNextWrappingIndex(amount, highlightedIndex, itemCount, function (index) {
-          return _this6.getItemNodeFromIndex(index);
-        });
-        this.setHighlightedIndex(nextHighlightedIndex, otherStateToSet);
-      }
-    };
+var Controller = function Controller(classes) {
+  var _this = this;

-    _proto.getStateAndHelpers = function getStateAndHelpers() {
-      var _this$getState9 = this.getState(),
-          highlightedIndex = _this$getState9.highlightedIndex,
-          inputValue = _this$getState9.inputValue,
-          selectedItem = _this$getState9.selectedItem,
-          isOpen = _this$getState9.isOpen;
+  this.classes = classes;
+  this.pointerIds = new Set(); // register Pointer Events pointerIds

-      var itemToString = this.props.itemToString;
-      var id = this.id;
-      var getRootProps = this.getRootProps,
-          getToggleButtonProps = this.getToggleButtonProps,
-          getLabelProps = this.getLabelProps,
-          getMenuProps = this.getMenuProps,
-          getInputProps = this.getInputProps,
-          getItemProps = this.getItemProps,
-          openMenu = this.openMenu,
-          closeMenu = this.closeMenu,
-          toggleMenu = this.toggleMenu,
-          selectItem = this.selectItem,
-          selectItemAtIndex = this.selectItemAtIndex,
-          selectHighlightedItem = this.selectHighlightedItem,
-          setHighlightedIndex = this.setHighlightedIndex,
-          clearSelection = this.clearSelection,
-          clearItems = this.clearItems,
-          reset = this.reset,
-          setItemCount = this.setItemCount,
-          unsetItemCount = this.unsetItemCount,
-          setState = this.internalSetState;
-      return {
-        // prop getters
-        getRootProps: getRootProps,
-        getToggleButtonProps: getToggleButtonProps,
-        getLabelProps: getLabelProps,
-        getMenuProps: getMenuProps,
-        getInputProps: getInputProps,
-        getItemProps: getItemProps,
-        // actions
-        reset: reset,
-        openMenu: openMenu,
-        closeMenu: closeMenu,
-        toggleMenu: toggleMenu,
-        selectItem: selectItem,
-        selectItemAtIndex: selectItemAtIndex,
-        selectHighlightedItem: selectHighlightedItem,
-        setHighlightedIndex: setHighlightedIndex,
-        clearSelection: clearSelection,
-        clearItems: clearItems,
-        setItemCount: setItemCount,
-        unsetItemCount: unsetItemCount,
-        setState: setState,
-        // props
-        itemToString: itemToString,
-        // derived
-        id: id,
-        // state
-        highlightedIndex: highlightedIndex,
-        inputValue: inputValue,
-        isOpen: isOpen,
-        selectedItem: selectedItem
-      };
-    } //////////////////////////// ROOT
-    ;
+  this.touchIds = new Set(); // register Touch Events identifiers

-    _proto.componentDidMount = function componentDidMount() {
-      var _this7 = this;
+  this.supportsTouchEvents = reactusegesture_esm_supportsTouchEvents();
+  this.supportsGestureEvents = supportsGestureEvents();

-      /* istanbul ignore if (react-native) */
-      if (false) {}
-      /* istanbul ignore if (react-native) */
+  this.bind = function () {
+    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+      args[_key] = arguments[_key];
+    }

+    var bindings = {};

-      {
-        // this.isMouseDown helps us track whether the mouse is currently held down.
-        // This is useful when the user clicks on an item in the list, but holds the mouse
-        // down long enough for the list to disappear (because the blur event fires on the input)
-        // this.isMouseDown is used in the blur handler on the input to determine whether the blur event should
-        // trigger hiding the menu.
-        var onMouseDown = function onMouseDown() {
-          _this7.isMouseDown = true;
-        };
+    for (var _iterator = reactusegesture_esm_createForOfIteratorHelperLoose(_this.classes), _step; !(_step = _iterator()).done;) {
+      var RecognizerClass = _step.value;
+      new RecognizerClass(_this, args).addBindings(bindings);
+    } // // we also add event bindings for native handlers

-        var onMouseUp = function onMouseUp(event) {
-          _this7.isMouseDown = false; // if the target element or the activeElement is within a downshift node
-          // then we don't want to reset downshift

-          var contextWithinDownshift = targetWithinDownshift(event.target, [_this7._rootNode, _this7._menuNode], _this7.props.environment);
+    var _loop = function _loop(eventKey) {
+      addBindings(bindings, eventKey, function (event) {
+        return _this.nativeRefs[eventKey](reactusegesture_esm_extends({}, _this.state.shared, {
+          event: event,
+          args: args
+        }));
+      });
+    };

-          if (!contextWithinDownshift && _this7.getState().isOpen) {
-            _this7.reset({
-              type: mouseUp
-            }, function () {
-              return _this7.props.onOuterClick(_this7.getStateAndHelpers());
-            });
-          }
-        }; // Touching an element in iOS gives focus and hover states, but touching out of
-        // the element will remove hover, and persist the focus state, resulting in the
-        // blur event not being triggered.
-        // this.isTouchMove helps us track whether the user is tapping or swiping on a touch screen.
-        // If the user taps outside of Downshift, the component should be reset,
-        // but not if the user is swiping
+    for (var eventKey in _this.nativeRefs) {
+      _loop(eventKey);
+    }

+    if (_this.config.domTarget) {
+      // If config.domTarget is set we add event listeners to it and return the clean function.
+      return updateDomListeners(_this, bindings);
+    } else {
+      // If not, we return an object that contains gesture handlers mapped to react handler event keys.
+      return getPropsListener(_this, bindings);
+    }
+  };

-        var onTouchStart = function onTouchStart() {
-          _this7.isTouchMove = false;
-        };
+  this.effect = function () {
+    if (_this.config.domTarget) _this.bind();
+    return _this.clean;
+  };
+  /**
+   * Function ran on component unmount: cleans timeouts and removes dom listeners set by the bind function.
+   */

-        var onTouchMove = function onTouchMove() {
-          _this7.isTouchMove = true;
-        };

-        var onTouchEnd = function onTouchEnd(event) {
-          var contextWithinDownshift = targetWithinDownshift(event.target, [_this7._rootNode, _this7._menuNode], _this7.props.environment, false);
+  this.clean = function () {
+    var domTarget = getDomTargetFromConfig(_this.config);
+    var eventOptions = _this.config.eventOptions;
+    if (domTarget) removeListeners(domTarget, takeAll(_this.domListeners), eventOptions);
+    Object.values(_this.timeouts).forEach(clearTimeout);
+    clearAllWindowListeners(_this);
+  };

-          if (!_this7.isTouchMove && !contextWithinDownshift && _this7.getState().isOpen) {
-            _this7.reset({
-              type: touchEnd
-            }, function () {
-              return _this7.props.onOuterClick(_this7.getStateAndHelpers());
-            });
-          }
-        };
+  this.classes = classes;
+  this.state = getInitialState();
+  this.timeouts = {};
+  this.domListeners = [];
+  this.windowListeners = {};
+};
+function addEventIds(controller, event) {
+  if ('pointerId' in event) {
+    controller.pointerIds.add(event.pointerId);
+  } else {
+    controller.touchIds = new Set(getTouchIds(event));
+  }
+}
+function removeEventIds(controller, event) {
+  if ('pointerId' in event) {
+    controller.pointerIds["delete"](event.pointerId);
+  } else {
+    getTouchIds(event).forEach(function (id) {
+      return controller.touchIds["delete"](id);
+    });
+  }
+}
+function clearAllWindowListeners(controller) {
+  var _controller$config = controller.config,
+      el = _controller$config.window,
+      eventOptions = _controller$config.eventOptions,
+      windowListeners = controller.windowListeners;
+  if (!el) return;

-        var environment = this.props.environment;
-        environment.addEventListener('mousedown', onMouseDown);
-        environment.addEventListener('mouseup', onMouseUp);
-        environment.addEventListener('touchstart', onTouchStart);
-        environment.addEventListener('touchmove', onTouchMove);
-        environment.addEventListener('touchend', onTouchEnd);
+  for (var stateKey in windowListeners) {
+    var handlers = windowListeners[stateKey];
+    removeListeners(el, handlers, eventOptions);
+  }

-        this.cleanup = function () {
-          _this7.internalClearTimeouts();
+  controller.windowListeners = {};
+}
+function clearWindowListeners(_ref, stateKey, options) {
+  var config = _ref.config,
+      windowListeners = _ref.windowListeners;

-          _this7.updateStatus.cancel();
+  if (options === void 0) {
+    options = config.eventOptions;
+  }

-          environment.removeEventListener('mousedown', onMouseDown);
-          environment.removeEventListener('mouseup', onMouseUp);
-          environment.removeEventListener('touchstart', onTouchStart);
-          environment.removeEventListener('touchmove', onTouchMove);
-          environment.removeEventListener('touchend', onTouchEnd);
-        };
-      }
-    };
+  if (!config.window) return;
+  removeListeners(config.window, windowListeners[stateKey], options);
+  delete windowListeners[stateKey];
+}
+function updateWindowListeners(_ref2, stateKey, listeners, options) {
+  var config = _ref2.config,
+      windowListeners = _ref2.windowListeners;

-    _proto.shouldScroll = function shouldScroll(prevState, prevProps) {
-      var _ref10 = this.props.highlightedIndex === undefined ? this.getState() : this.props,
-          currentHighlightedIndex = _ref10.highlightedIndex;
+  if (listeners === void 0) {
+    listeners = [];
+  }

-      var _ref11 = prevProps.highlightedIndex === undefined ? prevState : prevProps,
-          prevHighlightedIndex = _ref11.highlightedIndex;
+  if (options === void 0) {
+    options = config.eventOptions;
+  }

-      var scrollWhenOpen = currentHighlightedIndex && this.getState().isOpen && !prevState.isOpen;
-      var scrollWhenNavigating = currentHighlightedIndex !== prevHighlightedIndex;
-      return scrollWhenOpen || scrollWhenNavigating;
-    };
+  if (!config.window) return;
+  removeListeners(config.window, windowListeners[stateKey], options);
+  addListeners(config.window, windowListeners[stateKey] = listeners, options);
+}

-    _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
-      if (false) {}
+function updateDomListeners(_ref3, bindings) {
+  var config = _ref3.config,
+      domListeners = _ref3.domListeners;
+  var domTarget = getDomTargetFromConfig(config);
+  if (!domTarget) throw new Error('domTarget must be defined');
+  var eventOptions = config.eventOptions;
+  removeListeners(domTarget, takeAll(domListeners), eventOptions);

-      if (isControlledProp(this.props, 'selectedItem') && this.props.selectedItemChanged(prevProps.selectedItem, this.props.selectedItem)) {
-        this.internalSetState({
-          type: controlledPropUpdatedSelectedItem,
-          inputValue: this.props.itemToString(this.props.selectedItem)
-        });
-      }
+  for (var _i = 0, _Object$entries = Object.entries(bindings); _i < _Object$entries.length; _i++) {
+    var _Object$entries$_i = _Object$entries[_i],
+        key = _Object$entries$_i[0],
+        fns = _Object$entries$_i[1];
+    var name = key.slice(2).toLowerCase();
+    domListeners.push([name, chainFns.apply(void 0, fns)]);
+  }

-      if (!this.avoidScrolling && this.shouldScroll(prevState, prevProps)) {
-        this.scrollHighlightedItemIntoView();
-      }
-      /* istanbul ignore else (react-native) */
+  addListeners(domTarget, domListeners, eventOptions);
+}

+function getPropsListener(_ref4, bindings) {
+  var config = _ref4.config;
+  var props = {};
+  var captureString = config.eventOptions.capture ? 'Capture' : '';

-      {
-        this.updateStatus();
-      }
-    };
+  for (var _i2 = 0, _Object$entries2 = Object.entries(bindings); _i2 < _Object$entries2.length; _i2++) {
+    var _Object$entries2$_i = _Object$entries2[_i2],
+        event = _Object$entries2$_i[0],
+        fns = _Object$entries2$_i[1];
+    var fnsArray = Array.isArray(fns) ? fns : [fns];
+    var key = event + captureString;
+    props[key] = chainFns.apply(void 0, fnsArray);
+  }

-    _proto.componentWillUnmount = function componentWillUnmount() {
-      this.cleanup(); // avoids memory leak
-    };
+  return props;
+}

-    _proto.render = function render() {
-      var children = unwrapArray(this.props.children, downshift_esm_noop); // because the items are rerendered every time we call the children
-      // we clear this out each render and it will be populated again as
-      // getItemProps is called.
+function takeAll(array) {
+  if (array === void 0) {
+    array = [];
+  }

-      this.clearItems(); // we reset this so we know whether the user calls getRootProps during
-      // this render. If they do then we don't need to do anything,
-      // if they don't then we need to clone the element they return and
-      // apply the props for them.
+  return array.splice(0, array.length);
+}

-      this.getRootProps.called = false;
-      this.getRootProps.refKey = undefined;
-      this.getRootProps.suppressRefError = undefined; // we do something similar for getMenuProps
+function getDomTargetFromConfig(_ref5) {
+  var domTarget = _ref5.domTarget;
+  return domTarget && 'current' in domTarget ? domTarget.current : domTarget;
+}
+/**
+ * bindings is an object which keys match ReactEventHandlerKeys.
+ * Since a recognizer might want to bind a handler function to an event key already used by a previously
+ * added recognizer, we need to make sure that each event key is an array of all the functions mapped for
+ * that key.
+ */

-      this.getMenuProps.called = false;
-      this.getMenuProps.refKey = undefined;
-      this.getMenuProps.suppressRefError = undefined; // we do something similar for getLabelProps

-      this.getLabelProps.called = false; // and something similar for getInputProps
+function addBindings(bindings, name, fn) {
+  if (!bindings[name]) bindings[name] = [];
+  bindings[name].push(fn);
+}

-      this.getInputProps.called = false;
-      var element = unwrapArray(children(this.getStateAndHelpers()));
+function addListeners(el, listeners, options) {
+  if (listeners === void 0) {
+    listeners = [];
+  }

-      if (!element) {
-        return null;
-      }
+  if (options === void 0) {
+    options = {};
+  }

-      if (this.getRootProps.called || this.props.suppressRefError) {
-        if (false) {}
+  for (var _iterator2 = reactusegesture_esm_createForOfIteratorHelperLoose(listeners), _step2; !(_step2 = _iterator2()).done;) {
+    var _step2$value = _step2.value,
+        eventName = _step2$value[0],
+        eventHandler = _step2$value[1];
+    el.addEventListener(eventName, eventHandler, options);
+  }
+}

-        return element;
-      } else if (isDOMElement(element)) {
-        // they didn't apply the root props, but we can clone
-        // this and apply the props ourselves
-        return /*#__PURE__*/Object(external_React_["cloneElement"])(element, this.getRootProps(getElementProps(element)));
-      }
-      /* istanbul ignore else */
+function removeListeners(el, listeners, options) {
+  if (listeners === void 0) {
+    listeners = [];
+  }

+  if (options === void 0) {
+    options = {};
+  }

-      if (false) {}
-      /* istanbul ignore next */
+  for (var _iterator3 = reactusegesture_esm_createForOfIteratorHelperLoose(listeners), _step3; !(_step3 = _iterator3()).done;) {
+    var _step3$value = _step3.value,
+        eventName = _step3$value[0],
+        eventHandler = _step3$value[1];
+    el.removeEventListener(eventName, eventHandler, options);
+  }
+}

+/* eslint-disable react-hooks/exhaustive-deps */
+/**
+ * Utility hook called by all gesture hooks and that will be responsible for the internals.
+ *
+ * @param handlers
+ * @param classes
+ * @param config
+ * @param nativeHandlers - native handlers such as onClick, onMouseDown, etc.
+ */

-      return undefined;
-    };
+function useRecognizers(handlers, config, nativeHandlers) {
+  if (nativeHandlers === void 0) {
+    nativeHandlers = {};
+  }

-    return Downshift;
-  }(external_React_["Component"]);
+  var classes = resolveClasses(handlers);
+  var controller = external_React_default().useMemo(function () {
+    return new Controller(classes);
+  }, []);
+  controller.config = config;
+  controller.handlers = handlers;
+  controller.nativeRefs = nativeHandlers;
+  external_React_default().useEffect(controller.effect, []); // @ts-ignore

-  Downshift.defaultProps = {
-    defaultHighlightedIndex: null,
-    defaultIsOpen: false,
-    getA11yStatusMessage: getA11yStatusMessage$1,
-    itemToString: function itemToString(i) {
-      if (i == null) {
-        return '';
-      }
+  if (controller.config.domTarget) return deprecationNoticeForDomTarget; // @ts-ignore

-      if (false) {}
+  return controller.bind;
+}

-      return String(i);
-    },
-    onStateChange: downshift_esm_noop,
-    onInputValueChange: downshift_esm_noop,
-    onUserAction: downshift_esm_noop,
-    onChange: downshift_esm_noop,
-    onSelect: downshift_esm_noop,
-    onOuterClick: downshift_esm_noop,
-    selectedItemChanged: function selectedItemChanged(prevItem, item) {
-      return prevItem !== item;
-    },
-    environment:
-    /* istanbul ignore next (ssr) */
-    typeof window === 'undefined' ? {} : window,
-    stateReducer: function stateReducer(state, stateToSet) {
-      return stateToSet;
-    },
-    suppressRefError: false,
-    scrollIntoView: downshift_esm_scrollIntoView
-  };
-  Downshift.stateChangeTypes = stateChangeTypes$3;
-  return Downshift;
-}();
+function deprecationNoticeForDomTarget() {
+  if (false) {}
+}

- false ? undefined : void 0;
-var Downshift$1 = downshift_esm_Downshift;
+function resolveClasses(internalHandlers) {
+  var classes = new Set();
+  if (internalHandlers.drag) classes.add(RecognizersMap.get('drag'));
+  if (internalHandlers.wheel) classes.add(RecognizersMap.get('wheel'));
+  if (internalHandlers.scroll) classes.add(RecognizersMap.get('scroll'));
+  if (internalHandlers.move) classes.add(RecognizersMap.get('move'));
+  if (internalHandlers.pinch) classes.add(RecognizersMap.get('pinch'));
+  if (internalHandlers.hover) classes.add(RecognizersMap.get('hover'));
+  return classes;
+}

-function validateGetMenuPropsCalledCorrectly(node, _ref12) {
-  var refKey = _ref12.refKey;
+/**
+ * @private
+ * Abstract class for coordinates-based gesture recongizers
+ */

-  if (!node) {
-    // eslint-disable-next-line no-console
-    console.error("downshift: The ref prop \"" + refKey + "\" from getMenuProps was not applied correctly on your menu element.");
+var CoordinatesRecognizer = /*#__PURE__*/function (_Recognizer) {
+  reactusegesture_esm_inheritsLoose(CoordinatesRecognizer, _Recognizer);
+
+  function CoordinatesRecognizer() {
+    return _Recognizer.apply(this, arguments) || this;
   }
-}

-function validateGetRootPropsCalledCorrectly(element, _ref13) {
-  var refKey = _ref13.refKey;
-  var refKeySpecified = refKey !== 'ref';
-  var isComposite = !isDOMElement(element);
+  var _proto = CoordinatesRecognizer.prototype;

-  if (isComposite && !refKeySpecified && !Object(react_is["isForwardRef"])(element)) {
-    // eslint-disable-next-line no-console
-    console.error('downshift: You returned a non-DOM element. You must specify a refKey in getRootProps');
-  } else if (!isComposite && refKeySpecified) {
-    // eslint-disable-next-line no-console
-    console.error("downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified \"" + refKey + "\"");
+  /**
+   * Returns the real movement (without taking intentionality into account)
+   */
+  _proto.getInternalMovement = function getInternalMovement(values, state) {
+    return subV(values, state.initial);
   }
+  /**
+   * In coordinates-based gesture, this function will detect the first intentional axis,
+   * lock the gesture axis if lockDirection is specified in the config, block the gesture
+   * if the first intentional axis doesn't match the specified axis in config.
+   */
+  ;

-  if (!Object(react_is["isForwardRef"])(element) && !getElementProps(element)[refKey]) {
-    // eslint-disable-next-line no-console
-    console.error("downshift: You must apply the ref prop \"" + refKey + "\" from getRootProps onto your root element.");
-  }
-}
+  _proto.checkIntentionality = function checkIntentionality(_intentional, _movement) {
+    if (_intentional[0] === false && _intentional[1] === false) {
+      return {
+        _intentional: _intentional,
+        axis: this.state.axis
+      };
+    }

-var _excluded$3 = ["isInitialMount", "highlightedIndex", "items", "environment"];
-var dropdownDefaultStateValues = {
-  highlightedIndex: -1,
-  isOpen: false,
-  selectedItem: null,
-  inputValue: ''
-};
+    var _movement$map = _movement.map(Math.abs),
+        absX = _movement$map[0],
+        absY = _movement$map[1];

-function callOnChangeProps(action, state, newState) {
-  var props = action.props,
-      type = action.type;
-  var changes = {};
-  Object.keys(state).forEach(function (key) {
-    invokeOnChangeHandler(key, action, state, newState);
+    var axis = this.state.axis || (absX > absY ? 'x' : absX < absY ? 'y' : undefined);
+    if (!this.config.axis && !this.config.lockDirection) return {
+      _intentional: _intentional,
+      _blocked: false,
+      axis: axis
+    };
+    if (!axis) return {
+      _intentional: [false, false],
+      _blocked: false,
+      axis: axis
+    };
+    if (!!this.config.axis && axis !== this.config.axis) return {
+      _intentional: _intentional,
+      _blocked: true,
+      axis: axis
+    };
+    _intentional[axis === 'x' ? 1 : 0] = false;
+    return {
+      _intentional: _intentional,
+      _blocked: false,
+      axis: axis
+    };
+  };

-    if (newState[key] !== state[key]) {
-      changes[key] = newState[key];
+  _proto.getKinematics = function getKinematics(values, event) {
+    var state = this.getMovement(values);
+
+    if (!state._blocked) {
+      var dt = event.timeStamp - this.state.timeStamp;
+      Object.assign(state, calculateAllKinematics(state.movement, state.delta, dt));
     }
-  });

-  if (props.onStateChange && Object.keys(changes).length) {
-    props.onStateChange(Object(esm_extends["a" /* default */])({
-      type: type
-    }, changes));
-  }
-}
+    return state;
+  };

-function invokeOnChangeHandler(key, action, state, newState) {
-  var props = action.props,
-      type = action.type;
-  var handler = "on" + capitalizeString(key) + "Change";
+  _proto.mapStateValues = function mapStateValues(state) {
+    return {
+      xy: state.values,
+      vxvy: state.velocities
+    };
+  };

-  if (props[handler] && newState[key] !== undefined && newState[key] !== state[key]) {
-    props[handler](Object(esm_extends["a" /* default */])({
-      type: type
-    }, newState));
-  }
-}
-/**
- * Default state reducer that returns the changes.
- *
- * @param {Object} s state.
- * @param {Object} a action with changes.
- * @returns {Object} changes.
- */
+  return CoordinatesRecognizer;
+}(Recognizer);

+var TAP_DISTANCE_THRESHOLD = 3;

-function downshift_esm_stateReducer(s, a) {
-  return a.changes;
+function persistEvent(event) {
+  'persist' in event && typeof event.persist === 'function' && event.persist();
 }
-/**
- * Returns a message to be added to aria-live region when item is selected.
- *
- * @param {Object} selectionParameters Parameters required to build the message.
- * @returns {string} The a11y message.
- */

+var DragRecognizer = /*#__PURE__*/function (_CoordinatesRecognize) {
+  reactusegesture_esm_inheritsLoose(DragRecognizer, _CoordinatesRecognize);

-function downshift_esm_getA11ySelectionMessage(selectionParameters) {
-  var selectedItem = selectionParameters.selectedItem,
-      itemToStringLocal = selectionParameters.itemToString;
-  return selectedItem ? itemToStringLocal(selectedItem) + " has been selected." : '';
-}
-/**
- * Debounced call for updating the a11y message.
- */
-
+  function DragRecognizer() {
+    var _this;

-var updateA11yStatus = downshift_esm_debounce(function (getA11yMessage, document) {
-  setStatus(getA11yMessage(), document);
-}, 200); // istanbul ignore next
+    _this = _CoordinatesRecognize.apply(this, arguments) || this;
+    _this.ingKey = 'dragging';
+    _this.stateKey = 'drag'; // TODO add back when setPointerCapture is widely wupported
+    // https://caniuse.com/#search=setPointerCapture

-var downshift_esm_useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? external_React_["useLayoutEffect"] : external_React_["useEffect"];
+    _this.setPointerCapture = function (event) {
+      // don't perform pointere capture when user wants to use touch events or
+      // when a pointerLockElement exists as this would throw an error
+      if (_this.config.useTouch || document.pointerLockElement) return;
+      var target = event.target,
+          pointerId = event.pointerId;

-function useElementIds(_ref) {
-  var _ref$id = _ref.id,
-      id = _ref$id === void 0 ? "downshift-" + downshift_esm_generateId() : _ref$id,
-      labelId = _ref.labelId,
-      menuId = _ref.menuId,
-      getItemId = _ref.getItemId,
-      toggleButtonId = _ref.toggleButtonId,
-      inputId = _ref.inputId;
-  var elementIdsRef = Object(external_React_["useRef"])({
-    labelId: labelId || id + "-label",
-    menuId: menuId || id + "-menu",
-    getItemId: getItemId || function (index) {
-      return id + "-item-" + index;
-    },
-    toggleButtonId: toggleButtonId || id + "-toggle-button",
-    inputId: inputId || id + "-input"
-  });
-  return elementIdsRef.current;
-}
+      if (target && 'setPointerCapture' in target) {
+        // this would work in the DOM but doesn't with react three fiber
+        // target.addEventListener('pointermove', this.onDragChange, this.controller.config.eventOptions)
+        // @ts-expect-error
+        target.setPointerCapture(pointerId);
+      }

-function getItemIndex(index, item, items) {
-  if (index !== undefined) {
-    return index;
-  }
+      _this.updateGestureState({
+        _dragTarget: target,
+        _dragPointerId: pointerId
+      });
+    };

-  if (items.length === 0) {
-    return -1;
-  }
+    _this.releasePointerCapture = function () {
+      if (_this.config.useTouch || document.pointerLockElement) return;
+      var _this$state = _this.state,
+          _dragTarget = _this$state._dragTarget,
+          _dragPointerId = _this$state._dragPointerId;

-  return items.indexOf(item);
-}
+      if (_dragPointerId && _dragTarget && 'releasePointerCapture' in _dragTarget) {
+        // this would work in the DOM but doesn't with react three fiber
+        // target.removeEventListener('pointermove', this.onDragChange, this.controller.config.eventOptions)
+        if (!('hasPointerCapture' in _dragTarget) || _dragTarget.hasPointerCapture(_dragPointerId)) try {
+          _dragTarget.releasePointerCapture(_dragPointerId);
+        } catch (e) {}
+      }
+    };

-function downshift_esm_itemToString(item) {
-  return item ? String(item) : '';
-}
+    _this.preventScroll = function (event) {
+      if (_this.state._dragPreventScroll && event.cancelable) {
+        event.preventDefault();
+      }
+    };

-function isAcceptedCharacterKey(key) {
-  return /^\S{1}$/.test(key);
-}
+    _this.getEventId = function (event) {
+      if (_this.config.useTouch) return event.changedTouches[0].identifier;
+      return event.pointerId;
+    };

-function capitalizeString(string) {
-  return "" + string.slice(0, 1).toUpperCase() + string.slice(1);
-}
+    _this.isValidEvent = function (event) {
+      // if we were using pointer events only event.isPrimary === 1 would suffice
+      return _this.state._pointerId === _this.getEventId(event);
+    };

-function useLatestRef(val) {
-  var ref = Object(external_React_["useRef"])(val); // technically this is not "concurrent mode safe" because we're manipulating
-  // the value during render (so it's not idempotent). However, the places this
-  // hook is used is to support memoizing callbacks which will be called
-  // *during* render, so we need the latest values *during* render.
-  // If not for this, then we'd probably want to use useLayoutEffect instead.
+    _this.shouldPreventWindowScrollY = _this.config.experimental_preventWindowScrollY && _this.controller.supportsTouchEvents;

-  ref.current = val;
-  return ref;
-}
-/**
- * Computes the controlled state using a the previous state, props,
- * two reducers, one from downshift and an optional one from the user.
- * Also calls the onChange handlers for state values that have changed.
- *
- * @param {Function} reducer Reducer function from downshift.
- * @param {Object} initialState Initial state of the hook.
- * @param {Object} props The hook props.
- * @returns {Array} An array with the state and an action dispatcher.
- */
+    _this.setUpWindowScrollDetection = function (event) {
+      persistEvent(event); // we add window listeners that will prevent the scroll when the user has started dragging

+      updateWindowListeners(_this.controller, _this.stateKey, [['touchmove', _this.preventScroll], ['touchend', _this.clean.bind(reactusegesture_esm_assertThisInitialized(_this))], ['touchcancel', _this.clean.bind(reactusegesture_esm_assertThisInitialized(_this))]], {
+        passive: false
+      });

-function useEnhancedReducer(reducer, initialState, props) {
-  var prevStateRef = Object(external_React_["useRef"])();
-  var actionRef = Object(external_React_["useRef"])();
-  var enhancedReducer = Object(external_React_["useCallback"])(function (state, action) {
-    actionRef.current = action;
-    state = getState(state, action.props);
-    var changes = reducer(state, action);
-    var newState = action.props.stateReducer(state, Object(esm_extends["a" /* default */])({}, action, {
-      changes: changes
-    }));
-    return newState;
-  }, [reducer]);
+      _this.setTimeout(_this.startDrag.bind(reactusegesture_esm_assertThisInitialized(_this)), 250, event);
+    };

-  var _useReducer = Object(external_React_["useReducer"])(enhancedReducer, initialState),
-      state = _useReducer[0],
-      dispatch = _useReducer[1];
+    _this.setUpDelayedDragTrigger = function (event) {
+      _this.state._dragDelayed = true;
+      persistEvent(event);

-  var propsRef = useLatestRef(props);
-  var dispatchWithProps = Object(external_React_["useCallback"])(function (action) {
-    return dispatch(Object(esm_extends["a" /* default */])({
-      props: propsRef.current
-    }, action));
-  }, [propsRef]);
-  var action = actionRef.current;
-  Object(external_React_["useEffect"])(function () {
-    if (action && prevStateRef.current && prevStateRef.current !== state) {
-      callOnChangeProps(action, getState(prevStateRef.current, action.props), state);
-    }
+      _this.setTimeout(_this.startDrag.bind(reactusegesture_esm_assertThisInitialized(_this)), _this.config.delay, event);
+    };

-    prevStateRef.current = state;
-  }, [state, props, action]);
-  return [state, dispatchWithProps];
-}
-/**
- * Wraps the useEnhancedReducer and applies the controlled prop values before
- * returning the new state.
- *
- * @param {Function} reducer Reducer function from downshift.
- * @param {Object} initialState Initial state of the hook.
- * @param {Object} props The hook props.
- * @returns {Array} An array with the state and an action dispatcher.
- */
+    _this.setStartState = function (event) {
+      var values = getPointerEventValues(event, _this.transform);

+      _this.updateSharedState(getGenericEventData(event));

-function useControlledReducer$1(reducer, initialState, props) {
-  var _useEnhancedReducer = useEnhancedReducer(reducer, initialState, props),
-      state = _useEnhancedReducer[0],
-      dispatch = _useEnhancedReducer[1];
+      _this.updateGestureState(reactusegesture_esm_extends({}, getStartGestureState(reactusegesture_esm_assertThisInitialized(_this), values, event), getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event, true), {
+        _pointerId: _this.getEventId(event)
+      }));

-  return [getState(state, props), dispatch];
-}
+      _this.updateGestureState(_this.getMovement(values));
+    };

-var defaultProps$3 = {
-  itemToString: downshift_esm_itemToString,
-  stateReducer: downshift_esm_stateReducer,
-  getA11ySelectionMessage: downshift_esm_getA11ySelectionMessage,
-  scrollIntoView: downshift_esm_scrollIntoView,
-  circularNavigation: false,
-  environment:
-  /* istanbul ignore next (ssr) */
-  typeof window === 'undefined' ? {} : window
-};
+    _this.onDragStart = function (event) {
+      addEventIds(_this.controller, event);
+      if (!_this.enabled || _this.state._active) return;

-function getDefaultValue$1(props, propKey, defaultStateValues) {
-  if (defaultStateValues === void 0) {
-    defaultStateValues = dropdownDefaultStateValues;
-  }
+      _this.setStartState(event);

-  var defaultPropKey = "default" + capitalizeString(propKey);
+      _this.setPointerCapture(event);

-  if (defaultPropKey in props) {
-    return props[defaultPropKey];
-  }
+      if (_this.shouldPreventWindowScrollY) _this.setUpWindowScrollDetection(event);else if (_this.config.delay > 0) _this.setUpDelayedDragTrigger(event);else _this.startDrag(event, true); // we pass the values to the startDrag event
+    };

-  return defaultStateValues[propKey];
-}
+    _this.onDragChange = function (event) {
+      if ( // if the gesture was canceled or
+      _this.state.canceled || // if onDragStart wasn't fired or
+      !_this.state._active || // if the event pointerId doesn't match the one that initiated the drag
+      !_this.isValidEvent(event) || // if the event has the same timestamp as the previous event
+      // note that checking type equality is ONLY for tests ¯\_(ツ)_/¯
+      _this.state._lastEventType === event.type && event.timeStamp === _this.state.timeStamp) return;
+      var values;

-function getInitialValue$1(props, propKey, defaultStateValues) {
-  if (defaultStateValues === void 0) {
-    defaultStateValues = dropdownDefaultStateValues;
-  }
+      if (document.pointerLockElement) {
+        var movementX = event.movementX,
+            movementY = event.movementY;
+        values = addV(_this.transform([movementX, movementY]), _this.state.values);
+      } else values = getPointerEventValues(event, _this.transform);

-  if (propKey in props) {
-    return props[propKey];
-  }
+      var kinematics = _this.getKinematics(values, event); // if startDrag hasn't fired

-  var initialPropKey = "initial" + capitalizeString(propKey);

-  if (initialPropKey in props) {
-    return props[initialPropKey];
-  }
+      if (!_this.state._dragStarted) {
+        // If the gesture isn't active then respond to the event only if
+        // it's been delayed via the `delay` option, in which case start
+        // the gesture immediately.
+        if (_this.state._dragDelayed) {
+          _this.startDrag(event);

-  return getDefaultValue$1(props, propKey, defaultStateValues);
-}
+          return;
+        } // if the user wants to prevent vertical window scroll when user starts dragging

-function getInitialState$2(props) {
-  var selectedItem = getInitialValue$1(props, 'selectedItem');
-  var isOpen = getInitialValue$1(props, 'isOpen');
-  var highlightedIndex = getInitialValue$1(props, 'highlightedIndex');
-  var inputValue = getInitialValue$1(props, 'inputValue');
-  return {
-    highlightedIndex: highlightedIndex < 0 && selectedItem && isOpen ? props.items.indexOf(selectedItem) : highlightedIndex,
-    isOpen: isOpen,
-    selectedItem: selectedItem,
-    inputValue: inputValue
-  };
-}

-function getHighlightedIndexOnOpen(props, state, offset, getItemNodeFromIndex) {
-  var items = props.items,
-      initialHighlightedIndex = props.initialHighlightedIndex,
-      defaultHighlightedIndex = props.defaultHighlightedIndex;
-  var selectedItem = state.selectedItem,
-      highlightedIndex = state.highlightedIndex;
+        if (_this.shouldPreventWindowScrollY) {
+          if (!_this.state._dragPreventScroll && kinematics.axis) {
+            // if the user is dragging horizontally then we should allow the drag
+            if (kinematics.axis === 'x') {
+              _this.startDrag(event);
+            } else {
+              _this.state._active = false;
+              return;
+            }
+          } else return;
+        } else return;
+      }

-  if (items.length === 0) {
-    return -1;
-  } // initialHighlightedIndex will give value to highlightedIndex on initial state only.
+      var genericEventData = getGenericEventData(event);

+      _this.updateSharedState(genericEventData);

-  if (initialHighlightedIndex !== undefined && highlightedIndex === initialHighlightedIndex) {
-    return initialHighlightedIndex;
-  }
+      var genericPayload = getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event); // This verifies if the drag can be assimilated to a tap by checking
+      // if the real distance of the drag (ie not accounting for the threshold) is
+      // greater than the TAP_DISTANCE_THRESHOLD.

-  if (defaultHighlightedIndex !== undefined) {
-    return defaultHighlightedIndex;
-  }
+      var realDistance = calculateDistance(kinematics._movement);
+      var _dragIsTap = _this.state._dragIsTap;
+      if (_dragIsTap && realDistance >= TAP_DISTANCE_THRESHOLD) _dragIsTap = false;

-  if (selectedItem) {
-    if (offset === 0) {
-      return items.indexOf(selectedItem);
-    }
+      _this.updateGestureState(reactusegesture_esm_extends({}, genericPayload, kinematics, {
+        _dragIsTap: _dragIsTap
+      }));

-    return getNextWrappingIndex(offset, items.indexOf(selectedItem), items.length, getItemNodeFromIndex, false);
-  }
+      _this.fireGestureHandler();
+    };

-  if (offset === 0) {
-    return -1;
-  }
+    _this.onDragEnd = function (event) {
+      removeEventIds(_this.controller, event); // if the event pointerId doesn't match the one that initiated the drag
+      // we don't want to end the drag

-  return offset < 0 ? items.length - 1 : 0;
-}
-/**
- * Reuse the movement tracking of mouse and touch events.
- *
- * @param {boolean} isOpen Whether the dropdown is open or not.
- * @param {Array<Object>} downshiftElementRefs Downshift element refs to track movement (toggleButton, menu etc.)
- * @param {Object} environment Environment where component/hook exists.
- * @param {Function} handleBlur Handler on blur from mouse or touch.
- * @returns {Object} Ref containing whether mouseDown or touchMove event is happening
- */
+      if (!_this.isValidEvent(event)) return;

+      _this.clean(); // if the gesture is no longer active (ie canceled)
+      // don't do anything

-function useMouseAndTouchTracker(isOpen, downshiftElementRefs, environment, handleBlur) {
-  var mouseAndTouchTrackersRef = Object(external_React_["useRef"])({
-    isMouseDown: false,
-    isTouchMove: false
-  });
-  Object(external_React_["useEffect"])(function () {
-    // The same strategy for checking if a click occurred inside or outside downsift
-    // as in downshift.js.
-    var onMouseDown = function onMouseDown() {
-      mouseAndTouchTrackersRef.current.isMouseDown = true;
-    };

-    var onMouseUp = function onMouseUp(event) {
-      mouseAndTouchTrackersRef.current.isMouseDown = false;
+      if (!_this.state._active) return;
+      _this.state._active = false;
+      var tap = _this.state._dragIsTap;
+      var _this$state$velocitie = _this.state.velocities,
+          vx = _this$state$velocitie[0],
+          vy = _this$state$velocitie[1];
+      var _this$state$movement = _this.state.movement,
+          mx = _this$state$movement[0],
+          my = _this$state$movement[1];
+      var _this$state$_intentio = _this.state._intentional,
+          ix = _this$state$_intentio[0],
+          iy = _this$state$_intentio[1];
+      var _this$config$swipeVel = _this.config.swipeVelocity,
+          svx = _this$config$swipeVel[0],
+          svy = _this$config$swipeVel[1];
+      var _this$config$swipeDis = _this.config.swipeDistance,
+          sx = _this$config$swipeDis[0],
+          sy = _this$config$swipeDis[1];
+      var sd = _this.config.swipeDuration;

-      if (isOpen && !targetWithinDownshift(event.target, downshiftElementRefs.map(function (ref) {
-        return ref.current;
-      }), environment)) {
-        handleBlur();
+      var endState = reactusegesture_esm_extends({}, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), _this.getMovement(_this.state.values));
+
+      var swipe = [0, 0];
+
+      if (endState.elapsedTime < sd) {
+        if (ix !== false && Math.abs(vx) > svx && Math.abs(mx) > sx) swipe[0] = sign(vx);
+        if (iy !== false && Math.abs(vy) > svy && Math.abs(my) > sy) swipe[1] = sign(vy);
       }
-    };

-    var onTouchStart = function onTouchStart() {
-      mouseAndTouchTrackersRef.current.isTouchMove = false;
-    };
+      _this.updateSharedState({
+        buttons: 0
+      });

-    var onTouchMove = function onTouchMove() {
-      mouseAndTouchTrackersRef.current.isTouchMove = true;
-    };
+      _this.updateGestureState(reactusegesture_esm_extends({}, endState, {
+        tap: tap,
+        swipe: swipe
+      }));

-    var onTouchEnd = function onTouchEnd(event) {
-      if (isOpen && !mouseAndTouchTrackersRef.current.isTouchMove && !targetWithinDownshift(event.target, downshiftElementRefs.map(function (ref) {
-        return ref.current;
-      }), environment, false)) {
-        handleBlur();
-      }
+      _this.fireGestureHandler(_this.config.filterTaps && tap === true);
     };

-    environment.addEventListener('mousedown', onMouseDown);
-    environment.addEventListener('mouseup', onMouseUp);
-    environment.addEventListener('touchstart', onTouchStart);
-    environment.addEventListener('touchmove', onTouchMove);
-    environment.addEventListener('touchend', onTouchEnd);
-    return function cleanup() {
-      environment.removeEventListener('mousedown', onMouseDown);
-      environment.removeEventListener('mouseup', onMouseUp);
-      environment.removeEventListener('touchstart', onTouchStart);
-      environment.removeEventListener('touchmove', onTouchMove);
-      environment.removeEventListener('touchend', onTouchEnd);
-    }; // eslint-disable-next-line react-hooks/exhaustive-deps
-  }, [isOpen, environment]);
-  return mouseAndTouchTrackersRef;
-}
-/* istanbul ignore next */
-// eslint-disable-next-line import/no-mutable-exports
+    _this.clean = function () {
+      _CoordinatesRecognize.prototype.clean.call(reactusegesture_esm_assertThisInitialized(_this));

+      _this.state._dragStarted = false;

-var useGetterPropsCalledChecker = function useGetterPropsCalledChecker() {
-  return downshift_esm_noop;
-};
-/**
- * Custom hook that checks if getter props are called correctly.
- *
- * @param  {...any} propKeys Getter prop names to be handled.
- * @returns {Function} Setter function called inside getter props to set call information.
- */
+      _this.releasePointerCapture();

-/* istanbul ignore next */
+      clearWindowListeners(_this.controller, _this.stateKey);
+    };

+    _this.onCancel = function () {
+      if (_this.state.canceled) return;

-if (false) {}
+      _this.updateGestureState({
+        canceled: true,
+        _active: false
+      });

-function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
-  var isInitialMount = _ref2.isInitialMount,
-      highlightedIndex = _ref2.highlightedIndex,
-      items = _ref2.items,
-      environment = _ref2.environment,
-      rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref2, _excluded$3);
+      _this.updateSharedState({
+        buttons: 0
+      });

-  // Sets a11y status message on changes in state.
-  Object(external_React_["useEffect"])(function () {
-    if (isInitialMount || false) {
-      return;
-    }
+      setTimeout(function () {
+        return _this.fireGestureHandler();
+      }, 0);
+    };

-    updateA11yStatus(function () {
-      return getA11yMessage(Object(esm_extends["a" /* default */])({
-        highlightedIndex: highlightedIndex,
-        highlightedItem: items[highlightedIndex],
-        resultCount: items.length
-      }, rest));
-    }, environment.document); // eslint-disable-next-line react-hooks/exhaustive-deps
-  }, dependencyArray);
-}
+    _this.onClick = function (event) {
+      if (!_this.state._dragIsTap) event.stopPropagation();
+    };

-function useScrollIntoView(_ref3) {
-  var highlightedIndex = _ref3.highlightedIndex,
-      isOpen = _ref3.isOpen,
-      itemRefs = _ref3.itemRefs,
-      getItemNodeFromIndex = _ref3.getItemNodeFromIndex,
-      menuElement = _ref3.menuElement,
-      scrollIntoViewProp = _ref3.scrollIntoView;
-  // used not to scroll on highlight by mouse.
-  var shouldScrollRef = Object(external_React_["useRef"])(true); // Scroll on highlighted item if change comes from keyboard.
+    return _this;
+  }

-  downshift_esm_useIsomorphicLayoutEffect(function () {
-    if (highlightedIndex < 0 || !isOpen || !Object.keys(itemRefs.current).length) {
-      return;
+  var _proto = DragRecognizer.prototype;
+
+  _proto.startDrag = function startDrag(event, onDragIsStart) {
+    if (onDragIsStart === void 0) {
+      onDragIsStart = false;
     }

-    if (shouldScrollRef.current === false) {
-      shouldScrollRef.current = true;
-    } else {
-      scrollIntoViewProp(getItemNodeFromIndex(highlightedIndex), menuElement);
-    } // eslint-disable-next-line react-hooks/exhaustive-deps
+    // startDrag can happen after a timeout, so we need to check if the gesture is still active
+    // as the user might have lift up the pointer in between.
+    if ( // if the gesture isn't active (probably means)
+    !this.state._active || // if the drag has already started we should ignore subsequent attempts
+    this.state._dragStarted) return;
+    if (!onDragIsStart) this.setStartState(event);
+    this.updateGestureState({
+      _dragStarted: true,
+      _dragPreventScroll: true,
+      cancel: this.onCancel
+    });
+    this.clearTimeout();
+    this.fireGestureHandler();
+  };

-  }, [highlightedIndex]);
-  return shouldScrollRef;
-} // eslint-disable-next-line import/no-mutable-exports
+  _proto.addBindings = function addBindings$1(bindings) {
+    if (this.config.useTouch) {
+      addBindings(bindings, 'onTouchStart', this.onDragStart);

+      addBindings(bindings, 'onTouchMove', this.onDragChange); // this is needed for react-three-fiber

-var useControlPropsValidator = downshift_esm_noop;
-/* istanbul ignore next */

-if (false) {}
+      addBindings(bindings, 'onTouchEnd', this.onDragEnd);

-/* eslint-disable complexity */
+      addBindings(bindings, 'onTouchCancel', this.onDragEnd);
+    } else {
+      addBindings(bindings, 'onPointerDown', this.onDragStart);

-function downshiftCommonReducer(state, action, stateChangeTypes) {
-  var type = action.type,
-      props = action.props;
-  var changes;
+      addBindings(bindings, 'onPointerMove', this.onDragChange); // this is needed for react-three-fiber

-  switch (type) {
-    case stateChangeTypes.ItemMouseMove:
-      changes = {
-        highlightedIndex: action.index
-      };
-      break;

-    case stateChangeTypes.MenuMouseLeave:
-      changes = {
-        highlightedIndex: -1
-      };
-      break;
+      addBindings(bindings, 'onPointerUp', this.onDragEnd);

-    case stateChangeTypes.ToggleButtonClick:
-    case stateChangeTypes.FunctionToggleMenu:
-      changes = {
-        isOpen: !state.isOpen,
-        highlightedIndex: state.isOpen ? -1 : getHighlightedIndexOnOpen(props, state, 0)
-      };
-      break;
+      addBindings(bindings, 'onPointerCancel', this.onDragEnd);
+    }

-    case stateChangeTypes.FunctionOpenMenu:
-      changes = {
-        isOpen: true,
-        highlightedIndex: getHighlightedIndexOnOpen(props, state, 0)
-      };
-      break;
+    if (this.config.filterTaps) {
+      var handler = this.controller.config.eventOptions.capture ? 'onClick' : 'onClickCapture';

-    case stateChangeTypes.FunctionCloseMenu:
-      changes = {
-        isOpen: false
-      };
-      break;
+      addBindings(bindings, handler, this.onClick);
+    }
+  };

-    case stateChangeTypes.FunctionSetHighlightedIndex:
-      changes = {
-        highlightedIndex: action.highlightedIndex
-      };
-      break;
+  return DragRecognizer;
+}(CoordinatesRecognizer);

-    case stateChangeTypes.FunctionSetInputValue:
-      changes = {
-        inputValue: action.inputValue
-      };
-      break;
+/**
+ * Inlined from https://github.com/alexreardon/memoize-one
+ */
+function memoizeOne(resultFn, isEqual) {
+  var lastThis;
+  var lastArgs = [];
+  var lastResult;
+  var calledOnce = false;

-    case stateChangeTypes.FunctionReset:
-      changes = {
-        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
-        isOpen: getDefaultValue$1(props, 'isOpen'),
-        selectedItem: getDefaultValue$1(props, 'selectedItem'),
-        inputValue: getDefaultValue$1(props, 'inputValue')
-      };
-      break;
+  function memoized() {
+    for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
+      newArgs[_key] = arguments[_key];
+    }

-    default:
-      throw new Error('Reducer called without proper action type.');
+    if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
+      return lastResult;
+    }
+
+    lastResult = resultFn.apply(this, newArgs);
+    calledOnce = true;
+    lastThis = this;
+    lastArgs = newArgs;
+    return lastResult;
   }

-  return Object(esm_extends["a" /* default */])({}, state, changes);
+  return memoized;
 }
-/* eslint-enable complexity */

-function getItemIndexByCharacterKey(_a) {
-    var keysSoFar = _a.keysSoFar, highlightedIndex = _a.highlightedIndex, items = _a.items, itemToString = _a.itemToString, getItemNodeFromIndex = _a.getItemNodeFromIndex;
-    var lowerCasedKeysSoFar = keysSoFar.toLowerCase();
-    for (var index = 0; index < items.length; index++) {
-        var offsetIndex = (index + highlightedIndex + 1) % items.length;
-        var item = items[offsetIndex];
-        if (item !== undefined &&
-            itemToString(item)
-                .toLowerCase()
-                .startsWith(lowerCasedKeysSoFar)) {
-            var element = getItemNodeFromIndex(offsetIndex);
-            if (!(element === null || element === void 0 ? void 0 : element.hasAttribute('disabled'))) {
-                return offsetIndex;
-            }
-        }
-    }
-    return highlightedIndex;
-}
-var propTypes$2 = {
-    items: prop_types_default.a.array.isRequired,
-    itemToString: prop_types_default.a.func,
-    getA11yStatusMessage: prop_types_default.a.func,
-    getA11ySelectionMessage: prop_types_default.a.func,
-    circularNavigation: prop_types_default.a.bool,
-    highlightedIndex: prop_types_default.a.number,
-    defaultHighlightedIndex: prop_types_default.a.number,
-    initialHighlightedIndex: prop_types_default.a.number,
-    isOpen: prop_types_default.a.bool,
-    defaultIsOpen: prop_types_default.a.bool,
-    initialIsOpen: prop_types_default.a.bool,
-    selectedItem: prop_types_default.a.any,
-    initialSelectedItem: prop_types_default.a.any,
-    defaultSelectedItem: prop_types_default.a.any,
-    id: prop_types_default.a.string,
-    labelId: prop_types_default.a.string,
-    menuId: prop_types_default.a.string,
-    getItemId: prop_types_default.a.func,
-    toggleButtonId: prop_types_default.a.string,
-    stateReducer: prop_types_default.a.func,
-    onSelectedItemChange: prop_types_default.a.func,
-    onHighlightedIndexChange: prop_types_default.a.func,
-    onStateChange: prop_types_default.a.func,
-    onIsOpenChange: prop_types_default.a.func,
-    environment: prop_types_default.a.shape({
-        addEventListener: prop_types_default.a.func,
-        removeEventListener: prop_types_default.a.func,
-        document: prop_types_default.a.shape({
-            getElementById: prop_types_default.a.func,
-            activeElement: prop_types_default.a.any,
-            body: prop_types_default.a.any
-        })
-    })
-};
-/**
- * Default implementation for status message. Only added when menu is open.
- * Will specift if there are results in the list, and if so, how many,
- * and what keys are relevant.
- *
- * @param {Object} param the downshift state and other relevant properties
- * @return {String} the a11y status message
+/**
+ * Taken from https://github.com/FormidableLabs/react-fast-compare
+ *
+ * Dropped comments and ArrayBuffer handling
  */
-function downshift_esm_getA11yStatusMessage(_a) {
-    var isOpen = _a.isOpen, resultCount = _a.resultCount, previousResultCount = _a.previousResultCount;
-    if (!isOpen) {
-        return '';
-    }
-    if (!resultCount) {
-        return 'No results are available.';
-    }
-    if (resultCount !== previousResultCount) {
-        return resultCount + " result" + (resultCount === 1 ? ' is' : 's are') + " available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.";
+function equal(a, b) {
+  if (a === b) return true;
+
+  if (a && b && typeof a == 'object' && typeof b == 'object') {
+    if (a.constructor !== b.constructor) return false;
+    var length, i, keys;
+
+    if (Array.isArray(a)) {
+      length = a.length;
+      if (length !== b.length) return false;
+
+      for (i = length; i-- !== 0;) {
+        if (!equal(a[i], b[i])) return false;
+      }
+
+      return true;
     }
-    return '';
-}
-var defaultProps$2 = __assign(__assign({}, defaultProps$3), { getA11yStatusMessage: downshift_esm_getA11yStatusMessage });
-// eslint-disable-next-line import/no-mutable-exports
-var validatePropTypes$2 = downshift_esm_noop;
-/* istanbul ignore next */
-if (false) {}

-var MenuKeyDownArrowDown =  false ? undefined : 0;
-var MenuKeyDownArrowUp =  false ? undefined : 1;
-var MenuKeyDownEscape =  false ? undefined : 2;
-var MenuKeyDownHome =  false ? undefined : 3;
-var MenuKeyDownEnd =  false ? undefined : 4;
-var MenuKeyDownEnter =  false ? undefined : 5;
-var MenuKeyDownSpaceButton =  false ? undefined : 6;
-var MenuKeyDownCharacter =  false ? undefined : 7;
-var MenuBlur =  false ? undefined : 8;
-var MenuMouseLeave$1 =  false ? undefined : 9;
-var ItemMouseMove$1 =  false ? undefined : 10;
-var ItemClick$1 =  false ? undefined : 11;
-var ToggleButtonClick$1 =  false ? undefined : 12;
-var ToggleButtonKeyDownArrowDown =  false ? undefined : 13;
-var ToggleButtonKeyDownArrowUp =  false ? undefined : 14;
-var ToggleButtonKeyDownCharacter =  false ? undefined : 15;
-var FunctionToggleMenu$1 =  false ? undefined : 16;
-var FunctionOpenMenu$1 =  false ? undefined : 17;
-var FunctionCloseMenu$1 =  false ? undefined : 18;
-var FunctionSetHighlightedIndex$1 =  false ? undefined : 19;
-var FunctionSelectItem$1 =  false ? undefined : 20;
-var FunctionSetInputValue$1 =  false ? undefined : 21;
-var FunctionReset$2 =  false ? undefined : 22;
+    var it;
+
+    if (typeof Map === 'function' && a instanceof Map && b instanceof Map) {
+      if (a.size !== b.size) return false;
+      it = a.entries();
+
+      while (!(i = it.next()).done) {
+        if (!b.has(i.value[0])) return false;
+      }

-var stateChangeTypes$2 = /*#__PURE__*/Object.freeze({
-  __proto__: null,
-  MenuKeyDownArrowDown: MenuKeyDownArrowDown,
-  MenuKeyDownArrowUp: MenuKeyDownArrowUp,
-  MenuKeyDownEscape: MenuKeyDownEscape,
-  MenuKeyDownHome: MenuKeyDownHome,
-  MenuKeyDownEnd: MenuKeyDownEnd,
-  MenuKeyDownEnter: MenuKeyDownEnter,
-  MenuKeyDownSpaceButton: MenuKeyDownSpaceButton,
-  MenuKeyDownCharacter: MenuKeyDownCharacter,
-  MenuBlur: MenuBlur,
-  MenuMouseLeave: MenuMouseLeave$1,
-  ItemMouseMove: ItemMouseMove$1,
-  ItemClick: ItemClick$1,
-  ToggleButtonClick: ToggleButtonClick$1,
-  ToggleButtonKeyDownArrowDown: ToggleButtonKeyDownArrowDown,
-  ToggleButtonKeyDownArrowUp: ToggleButtonKeyDownArrowUp,
-  ToggleButtonKeyDownCharacter: ToggleButtonKeyDownCharacter,
-  FunctionToggleMenu: FunctionToggleMenu$1,
-  FunctionOpenMenu: FunctionOpenMenu$1,
-  FunctionCloseMenu: FunctionCloseMenu$1,
-  FunctionSetHighlightedIndex: FunctionSetHighlightedIndex$1,
-  FunctionSelectItem: FunctionSelectItem$1,
-  FunctionSetInputValue: FunctionSetInputValue$1,
-  FunctionReset: FunctionReset$2
-});
+      it = a.entries();

-/* eslint-disable complexity */
+      while (!(i = it.next()).done) {
+        if (!equal(i.value[1], b.get(i.value[0]))) return false;
+      }

-function downshiftSelectReducer(state, action) {
-  var type = action.type,
-      props = action.props,
-      shiftKey = action.shiftKey;
-  var changes;
+      return true;
+    }

-  switch (type) {
-    case ItemClick$1:
-      changes = {
-        isOpen: getDefaultValue$1(props, 'isOpen'),
-        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
-        selectedItem: props.items[action.index]
-      };
-      break;
+    if (typeof Set === 'function' && a instanceof Set && b instanceof Set) {
+      if (a.size !== b.size) return false;
+      it = a.entries();

-    case ToggleButtonKeyDownCharacter:
-      {
-        var lowercasedKey = action.key;
-        var inputValue = "" + state.inputValue + lowercasedKey;
-        var itemIndex = getItemIndexByCharacterKey({
-          keysSoFar: inputValue,
-          highlightedIndex: state.selectedItem ? props.items.indexOf(state.selectedItem) : -1,
-          items: props.items,
-          itemToString: props.itemToString,
-          getItemNodeFromIndex: action.getItemNodeFromIndex
-        });
-        changes = Object(esm_extends["a" /* default */])({
-          inputValue: inputValue
-        }, itemIndex >= 0 && {
-          selectedItem: props.items[itemIndex]
-        });
+      while (!(i = it.next()).done) {
+        if (!b.has(i.value[0])) return false;
       }
-      break;

-    case ToggleButtonKeyDownArrowDown:
-      changes = {
-        highlightedIndex: getHighlightedIndexOnOpen(props, state, 1, action.getItemNodeFromIndex),
-        isOpen: true
-      };
-      break;
+      return true;
+    }

-    case ToggleButtonKeyDownArrowUp:
-      changes = {
-        highlightedIndex: getHighlightedIndexOnOpen(props, state, -1, action.getItemNodeFromIndex),
-        isOpen: true
-      };
-      break;
+    if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
+    if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
+    if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
+    keys = Object.keys(a);
+    length = keys.length;
+    if (length !== Object.keys(b).length) return false;

-    case MenuKeyDownEnter:
-    case MenuKeyDownSpaceButton:
-      changes = Object(esm_extends["a" /* default */])({
-        isOpen: getDefaultValue$1(props, 'isOpen'),
-        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex')
-      }, state.highlightedIndex >= 0 && {
-        selectedItem: props.items[state.highlightedIndex]
-      });
-      break;
+    for (i = length; i-- !== 0;) {
+      if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
+    }

-    case MenuKeyDownHome:
-      changes = {
-        highlightedIndex: getNextNonDisabledIndex(1, 0, props.items.length, action.getItemNodeFromIndex, false)
-      };
-      break;
+    if (typeof Element !== 'undefined' && a instanceof Element) return false;

-    case MenuKeyDownEnd:
-      changes = {
-        highlightedIndex: getNextNonDisabledIndex(-1, props.items.length - 1, props.items.length, action.getItemNodeFromIndex, false)
-      };
-      break;
+    for (i = length; i-- !== 0;) {
+      if (keys[i] === '_owner' && a.$$typeof) continue;
+      if (!equal(a[keys[i]], b[keys[i]])) return false;
+    }

-    case MenuKeyDownEscape:
-      changes = {
-        isOpen: false,
-        highlightedIndex: -1
-      };
-      break;
+    return true;
+  } // true if both NaN, false otherwise — NaN !== NaN → true
+  // eslint-disable-next-line no-self-compare

-    case MenuBlur:
-      changes = {
-        isOpen: false,
-        highlightedIndex: -1
-      };
-      break;

-    case MenuKeyDownCharacter:
-      {
-        var _lowercasedKey = action.key;
+  return a !== a && b !== b;
+}

-        var _inputValue = "" + state.inputValue + _lowercasedKey;
+function isEqual(a, b) {
+  try {
+    return equal(a, b);
+  } catch (error) {
+    if ((error.message || '').match(/stack|recursion/i)) {
+      // eslint-disable-next-line no-console
+      console.warn('react-fast-compare cannot handle circular refs');
+      return false;
+    }

-        var highlightedIndex = getItemIndexByCharacterKey({
-          keysSoFar: _inputValue,
-          highlightedIndex: state.highlightedIndex,
-          items: props.items,
-          itemToString: props.itemToString,
-          getItemNodeFromIndex: action.getItemNodeFromIndex
-        });
-        changes = Object(esm_extends["a" /* default */])({
-          inputValue: _inputValue
-        }, highlightedIndex >= 0 && {
-          highlightedIndex: highlightedIndex
-        });
-      }
-      break;
+    throw error;
+  }
+}

-    case MenuKeyDownArrowDown:
-      changes = {
-        highlightedIndex: getNextWrappingIndex(shiftKey ? 5 : 1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation)
-      };
-      break;
+/**
+ * Drag hook.
+ *
+ * @param handler - the function fired every time the drag gesture updates
+ * @param [config={}] - the config object including generic options and drag options
+ */

-    case MenuKeyDownArrowUp:
-      changes = {
-        highlightedIndex: getNextWrappingIndex(shiftKey ? -5 : -1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation)
-      };
-      break;
+function reactusegesture_esm_useDrag(handler, config) {
+  if (config === void 0) {
+    config = {};
+  }

-    case FunctionSelectItem$1:
-      changes = {
-        selectedItem: action.selectedItem
-      };
-      break;
+  RecognizersMap.set('drag', DragRecognizer);
+  var buildDragConfig = (0,external_React_.useRef)();

-    default:
-      return downshiftCommonReducer(state, action, stateChangeTypes$2);
+  if (!buildDragConfig.current) {
+    buildDragConfig.current = memoizeOne(_buildDragConfig, isEqual);
   }

-  return Object(esm_extends["a" /* default */])({}, state, changes);
+  return useRecognizers({
+    drag: handler
+  }, buildDragConfig.current(config));
 }
-/* eslint-enable complexity */

-var _excluded$2 = ["onMouseLeave", "refKey", "onKeyDown", "onBlur", "ref"],
-    _excluded2$2 = ["onClick", "onKeyDown", "refKey", "ref"],
-    _excluded3$1 = ["item", "index", "onMouseMove", "onClick", "refKey", "ref"];
-useSelect.stateChangeTypes = stateChangeTypes$2;
+/**
+ * @private
+ * Abstract class for distance/angle-based gesture recongizers
+ */

-function useSelect(userProps) {
-  if (userProps === void 0) {
-    userProps = {};
+var DistanceAngleRecognizer = /*#__PURE__*/(/* unused pure expression or super */ null && (function (_Recognizer) {
+  reactusegesture_esm_inheritsLoose(DistanceAngleRecognizer, _Recognizer);
+
+  function DistanceAngleRecognizer() {
+    return _Recognizer.apply(this, arguments) || this;
   }

-  validatePropTypes$2(userProps, useSelect); // Props defaults and destructuring.
+  var _proto = DistanceAngleRecognizer.prototype;

-  var props = Object(esm_extends["a" /* default */])({}, defaultProps$2, userProps);
+  _proto.getInternalMovement = function getInternalMovement(values, state) {
+    var prev_a = state.values[1]; // not be defined if ctrl+wheel is used for zoom only

-  var items = props.items,
-      scrollIntoView = props.scrollIntoView,
-      environment = props.environment,
-      initialIsOpen = props.initialIsOpen,
-      defaultIsOpen = props.defaultIsOpen,
-      itemToString = props.itemToString,
-      getA11ySelectionMessage = props.getA11ySelectionMessage,
-      getA11yStatusMessage = props.getA11yStatusMessage; // Initial state depending on controlled props.
+    var d = values[0],
+        _values$ = values[1],
+        a = _values$ === void 0 ? prev_a : _values$;
+    var delta_a = a - prev_a;
+    var next_turns = state.turns;
+    if (Math.abs(delta_a) > 270) next_turns += sign(delta_a);
+    return subV([d, a - 360 * next_turns], state.initial);
+  };

-  var initialState = getInitialState$2(props);
+  _proto.getKinematics = function getKinematics(values, event) {
+    var state = this.getMovement(values);
+    var turns = (values[1] - state._movement[1] - this.state.initial[1]) / 360;
+    var dt = event.timeStamp - this.state.timeStamp;

-  var _useControlledReducer = useControlledReducer$1(downshiftSelectReducer, initialState, props),
-      state = _useControlledReducer[0],
-      dispatch = _useControlledReducer[1];
+    var _calculateAllKinemati = calculateAllKinematics(state.movement, state.delta, dt),
+        kinematics = reactusegesture_esm_objectWithoutPropertiesLoose(_calculateAllKinemati, ["distance", "velocity"]);

-  var isOpen = state.isOpen,
-      highlightedIndex = state.highlightedIndex,
-      selectedItem = state.selectedItem,
-      inputValue = state.inputValue; // Element efs.
+    return reactusegesture_esm_extends({
+      turns: turns
+    }, state, kinematics);
+  };

-  var toggleButtonRef = Object(external_React_["useRef"])(null);
-  var menuRef = Object(external_React_["useRef"])(null);
-  var itemRefs = Object(external_React_["useRef"])({}); // used not to trigger menu blur action in some scenarios.
+  _proto.mapStateValues = function mapStateValues(state) {
+    return {
+      da: state.values,
+      vdva: state.velocities
+    };
+  };

-  var shouldBlurRef = Object(external_React_["useRef"])(true); // used to keep the inputValue clearTimeout object between renders.
+  return DistanceAngleRecognizer;
+}(Recognizer)));

-  var clearTimeoutRef = Object(external_React_["useRef"])(null); // prevent id re-generation between renders.
+var ZOOM_CONSTANT = 7;
+var WEBKIT_DISTANCE_SCALE_FACTOR = 260;
+var PinchRecognizer = /*#__PURE__*/(/* unused pure expression or super */ null && (function (_DistanceAngleRecogni) {
+  reactusegesture_esm_inheritsLoose(PinchRecognizer, _DistanceAngleRecogni);

-  var elementIds = useElementIds(props); // used to keep track of how many items we had on previous cycle.
+  function PinchRecognizer() {
+    var _this;

-  var previousResultCountRef = Object(external_React_["useRef"])();
-  var isInitialMountRef = Object(external_React_["useRef"])(true); // utility callback to get item element.
+    _this = _DistanceAngleRecogni.apply(this, arguments) || this;
+    _this.ingKey = 'pinching';
+    _this.stateKey = 'pinch';

-  var latest = useLatestRef({
-    state: state,
-    props: props
-  }); // Some utils.
+    _this.onPinchStart = function (event) {
+      addEventIds(_this.controller, event);
+      var touchIds = _this.controller.touchIds;
+      if (!_this.enabled) return;

-  var getItemNodeFromIndex = Object(external_React_["useCallback"])(function (index) {
-    return itemRefs.current[elementIds.getItemId(index)];
-  }, [elementIds]); // Effects.
-  // Sets a11y status message on changes in state.
+      if (_this.state._active) {
+        // check that the pointerIds that initiated the gesture
+        // are still enabled. This is useful for when the page
+        // loses track of the pointers (minifying gesture on iPad).
+        if (_this.state._pointerIds.every(function (id) {
+          return touchIds.has(id);
+        })) return; // something was wrong with the pointers but we let it go.
+      } // until we reach two fingers on the target don't react

-  useA11yMessageSetter(getA11yStatusMessage, [isOpen, highlightedIndex, inputValue, items], Object(esm_extends["a" /* default */])({
-    isInitialMount: isInitialMountRef.current,
-    previousResultCount: previousResultCountRef.current,
-    items: items,
-    environment: environment,
-    itemToString: itemToString
-  }, state)); // Sets a11y status message on changes in selectedItem.

-  useA11yMessageSetter(getA11ySelectionMessage, [selectedItem], Object(esm_extends["a" /* default */])({
-    isInitialMount: isInitialMountRef.current,
-    previousResultCount: previousResultCountRef.current,
-    items: items,
-    environment: environment,
-    itemToString: itemToString
-  }, state)); // Scroll on highlighted item if change comes from keyboard.
+      if (touchIds.size < 2) return;

-  var shouldScrollRef = useScrollIntoView({
-    menuElement: menuRef.current,
-    highlightedIndex: highlightedIndex,
-    isOpen: isOpen,
-    itemRefs: itemRefs,
-    scrollIntoView: scrollIntoView,
-    getItemNodeFromIndex: getItemNodeFromIndex
-  }); // Sets cleanup for the keysSoFar callback, debounded after 500ms.
+      var _pointerIds = Array.from(touchIds).slice(0, 2);

-  Object(external_React_["useEffect"])(function () {
-    // init the clean function here as we need access to dispatch.
-    clearTimeoutRef.current = downshift_esm_debounce(function (outerDispatch) {
-      outerDispatch({
-        type: FunctionSetInputValue$1,
-        inputValue: ''
-      });
-    }, 500); // Cancel any pending debounced calls on mount
+      var _getTwoTouchesEventVa = getTwoTouchesEventValues(event, _pointerIds, _this.transform),
+          values = _getTwoTouchesEventVa.values,
+          origin = _getTwoTouchesEventVa.origin;

-    return function () {
-      clearTimeoutRef.current.cancel();
-    };
-  }, []); // Invokes the keysSoFar callback set up above.
+      _this.updateSharedState(getGenericEventData(event));

-  Object(external_React_["useEffect"])(function () {
-    if (!inputValue) {
-      return;
-    }
+      _this.updateGestureState(reactusegesture_esm_extends({}, getStartGestureState(reactusegesture_esm_assertThisInitialized(_this), values, event), getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event, true), {
+        _pointerIds: _pointerIds,
+        cancel: _this.onCancel,
+        origin: origin
+      }));

-    clearTimeoutRef.current(dispatch);
-  }, [dispatch, inputValue]);
-  useControlPropsValidator({
-    isInitialMount: isInitialMountRef.current,
-    props: props,
-    state: state
-  });
-  /* Controls the focus on the menu or the toggle button. */
+      _this.updateGestureState(_this.getMovement(values));

-  Object(external_React_["useEffect"])(function () {
-    // Don't focus menu on first render.
-    if (isInitialMountRef.current) {
-      // Unless it was initialised as open.
-      if ((initialIsOpen || defaultIsOpen || isOpen) && menuRef.current) {
-        menuRef.current.focus();
-      }
+      _this.fireGestureHandler();
+    };

-      return;
-    } // Focus menu on open.
+    _this.onPinchChange = function (event) {
+      var _this$state = _this.state,
+          canceled = _this$state.canceled,
+          _active = _this$state._active;
+      if (canceled || !_active || // if the event has the same timestamp as the previous event
+      event.timeStamp === _this.state.timeStamp) return;
+      var genericEventData = getGenericEventData(event);

+      _this.updateSharedState(genericEventData);

-    if (isOpen) {
-      // istanbul ignore else
-      if (menuRef.current) {
-        menuRef.current.focus();
-      }
+      try {
+        var _getTwoTouchesEventVa2 = getTwoTouchesEventValues(event, _this.state._pointerIds, _this.transform),
+            values = _getTwoTouchesEventVa2.values,
+            origin = _getTwoTouchesEventVa2.origin;

-      return;
-    } // Focus toggleButton on close, but not if it was closed with (Shift+)Tab.
+        var kinematics = _this.getKinematics(values, event);

+        _this.updateGestureState(reactusegesture_esm_extends({}, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), kinematics, {
+          origin: origin
+        }));

-    if (environment.document.activeElement === menuRef.current) {
-      // istanbul ignore else
-      if (toggleButtonRef.current) {
-        shouldBlurRef.current = false;
-        toggleButtonRef.current.focus();
+        _this.fireGestureHandler();
+      } catch (e) {
+        _this.onPinchEnd(event);
       }
-    } // eslint-disable-next-line react-hooks/exhaustive-deps
+    };

-  }, [isOpen]);
-  Object(external_React_["useEffect"])(function () {
-    if (isInitialMountRef.current) {
-      return;
-    }
+    _this.onPinchEnd = function (event) {
+      removeEventIds(_this.controller, event);
+      var pointerIds = getTouchIds(event); // if none of the lifted pointerIds is in the state pointerIds don't do anything

-    previousResultCountRef.current = items.length;
-  }); // Add mouse/touch events to document.
+      if (_this.state._pointerIds.every(function (id) {
+        return !pointerIds.includes(id);
+      })) return;

-  var mouseAndTouchTrackersRef = useMouseAndTouchTracker(isOpen, [menuRef, toggleButtonRef], environment, function () {
-    dispatch({
-      type: MenuBlur
-    });
-  });
-  var setGetterPropCallInfo = useGetterPropsCalledChecker('getMenuProps', 'getToggleButtonProps'); // Make initial ref false.
+      _this.clean();

-  Object(external_React_["useEffect"])(function () {
-    isInitialMountRef.current = false;
-  }, []); // Reset itemRefs on close.
+      if (!_this.state._active) return;

-  Object(external_React_["useEffect"])(function () {
-    if (!isOpen) {
-      itemRefs.current = {};
-    }
-  }, [isOpen]); // Event handler functions.
+      _this.updateGestureState(reactusegesture_esm_extends({}, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), _this.getMovement(_this.state.values), {
+        _active: false
+      }));

-  var toggleButtonKeyDownHandlers = Object(external_React_["useMemo"])(function () {
-    return {
-      ArrowDown: function ArrowDown(event) {
-        event.preventDefault();
-        dispatch({
-          type: ToggleButtonKeyDownArrowDown,
-          getItemNodeFromIndex: getItemNodeFromIndex,
-          shiftKey: event.shiftKey
-        });
-      },
-      ArrowUp: function ArrowUp(event) {
-        event.preventDefault();
-        dispatch({
-          type: ToggleButtonKeyDownArrowUp,
-          getItemNodeFromIndex: getItemNodeFromIndex,
-          shiftKey: event.shiftKey
-        });
-      }
-    };
-  }, [dispatch, getItemNodeFromIndex]);
-  var menuKeyDownHandlers = Object(external_React_["useMemo"])(function () {
-    return {
-      ArrowDown: function ArrowDown(event) {
-        event.preventDefault();
-        dispatch({
-          type: MenuKeyDownArrowDown,
-          getItemNodeFromIndex: getItemNodeFromIndex,
-          shiftKey: event.shiftKey
-        });
-      },
-      ArrowUp: function ArrowUp(event) {
-        event.preventDefault();
-        dispatch({
-          type: MenuKeyDownArrowUp,
-          getItemNodeFromIndex: getItemNodeFromIndex,
-          shiftKey: event.shiftKey
-        });
-      },
-      Home: function Home(event) {
-        event.preventDefault();
-        dispatch({
-          type: MenuKeyDownHome,
-          getItemNodeFromIndex: getItemNodeFromIndex
-        });
-      },
-      End: function End(event) {
-        event.preventDefault();
-        dispatch({
-          type: MenuKeyDownEnd,
-          getItemNodeFromIndex: getItemNodeFromIndex
-        });
-      },
-      Escape: function Escape() {
-        dispatch({
-          type: MenuKeyDownEscape
-        });
-      },
-      Enter: function Enter(event) {
-        event.preventDefault();
-        dispatch({
-          type: MenuKeyDownEnter
-        });
-      },
-      ' ': function _(event) {
-        event.preventDefault();
-        dispatch({
-          type: MenuKeyDownSpaceButton
-        });
-      }
+      _this.fireGestureHandler();
     };
-  }, [dispatch, getItemNodeFromIndex]); // Action functions.

-  var toggleMenu = Object(external_React_["useCallback"])(function () {
-    dispatch({
-      type: FunctionToggleMenu$1
-    });
-  }, [dispatch]);
-  var closeMenu = Object(external_React_["useCallback"])(function () {
-    dispatch({
-      type: FunctionCloseMenu$1
-    });
-  }, [dispatch]);
-  var openMenu = Object(external_React_["useCallback"])(function () {
-    dispatch({
-      type: FunctionOpenMenu$1
-    });
-  }, [dispatch]);
-  var setHighlightedIndex = Object(external_React_["useCallback"])(function (newHighlightedIndex) {
-    dispatch({
-      type: FunctionSetHighlightedIndex$1,
-      highlightedIndex: newHighlightedIndex
-    });
-  }, [dispatch]);
-  var selectItem = Object(external_React_["useCallback"])(function (newSelectedItem) {
-    dispatch({
-      type: FunctionSelectItem$1,
-      selectedItem: newSelectedItem
-    });
-  }, [dispatch]);
-  var reset = Object(external_React_["useCallback"])(function () {
-    dispatch({
-      type: FunctionReset$2
-    });
-  }, [dispatch]);
-  var setInputValue = Object(external_React_["useCallback"])(function (newInputValue) {
-    dispatch({
-      type: FunctionSetInputValue$1,
-      inputValue: newInputValue
-    });
-  }, [dispatch]); // Getter functions.
+    _this.onCancel = function () {
+      if (_this.state.canceled) return;
+
+      _this.updateGestureState({
+        _active: false,
+        canceled: true
+      });
+
+      setTimeout(function () {
+        return _this.fireGestureHandler();
+      }, 0);
+    };
+    /**
+     * PINCH WITH WEBKIT GESTURES
+     */

-  var getLabelProps = Object(external_React_["useCallback"])(function (labelProps) {
-    return Object(esm_extends["a" /* default */])({
-      id: elementIds.labelId,
-      htmlFor: elementIds.toggleButtonId
-    }, labelProps);
-  }, [elementIds]);
-  var getMenuProps = Object(external_React_["useCallback"])(function (_temp, _temp2) {
-    var _extends2;

-    var _ref = _temp === void 0 ? {} : _temp,
-        onMouseLeave = _ref.onMouseLeave,
-        _ref$refKey = _ref.refKey,
-        refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey,
-        onKeyDown = _ref.onKeyDown,
-        onBlur = _ref.onBlur,
-        ref = _ref.ref,
-        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref, _excluded$2);
+    _this.onGestureStart = function (event) {
+      if (!_this.enabled) return;
+      event.preventDefault();
+      var values = getWebkitGestureEventValues(event, _this.transform);

-    var _ref2 = _temp2 === void 0 ? {} : _temp2,
-        _ref2$suppressRefErro = _ref2.suppressRefError,
-        suppressRefError = _ref2$suppressRefErro === void 0 ? false : _ref2$suppressRefErro;
+      _this.updateSharedState(getGenericEventData(event));

-    var latestState = latest.current.state;
+      _this.updateGestureState(reactusegesture_esm_extends({}, getStartGestureState(reactusegesture_esm_assertThisInitialized(_this), values, event), getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event, true), {
+        origin: [event.clientX, event.clientY],
+        cancel: _this.onCancel
+      }));

-    var menuHandleKeyDown = function menuHandleKeyDown(event) {
-      var key = normalizeArrowKey(event);
+      _this.updateGestureState(_this.getMovement(values));

-      if (key && menuKeyDownHandlers[key]) {
-        menuKeyDownHandlers[key](event);
-      } else if (isAcceptedCharacterKey(key)) {
-        dispatch({
-          type: MenuKeyDownCharacter,
-          key: key,
-          getItemNodeFromIndex: getItemNodeFromIndex
-        });
-      }
+      _this.fireGestureHandler();
     };

-    var menuHandleBlur = function menuHandleBlur() {
-      // if the blur was a result of selection, we don't trigger this action.
-      if (shouldBlurRef.current === false) {
-        shouldBlurRef.current = true;
-        return;
-      }
+    _this.onGestureChange = function (event) {
+      var _this$state2 = _this.state,
+          canceled = _this$state2.canceled,
+          _active = _this$state2._active;
+      if (canceled || !_active) return;
+      event.preventDefault();
+      var genericEventData = getGenericEventData(event);

-      var shouldBlur = !mouseAndTouchTrackersRef.current.isMouseDown;
-      /* istanbul ignore else */
+      _this.updateSharedState(genericEventData); // this normalizes the values of the Safari's WebKitEvent by calculating
+      // the delta and then multiplying it by a constant.

-      if (shouldBlur) {
-        dispatch({
-          type: MenuBlur
-        });
-      }
-    };

-    var menuHandleMouseLeave = function menuHandleMouseLeave() {
-      dispatch({
-        type: MenuMouseLeave$1
-      });
+      var values = getWebkitGestureEventValues(event, _this.transform);
+      values[0] = (values[0] - _this.state.event.scale) * WEBKIT_DISTANCE_SCALE_FACTOR + _this.state.values[0];
+
+      var kinematics = _this.getKinematics(values, event);
+
+      _this.updateGestureState(reactusegesture_esm_extends({}, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), kinematics, {
+        origin: [event.clientX, event.clientY]
+      }));
+
+      _this.fireGestureHandler();
     };

-    setGetterPropCallInfo('getMenuProps', suppressRefError, refKey, menuRef);
-    return Object(esm_extends["a" /* default */])((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function (menuNode) {
-      menuRef.current = menuNode;
-    }), _extends2.id = elementIds.menuId, _extends2.role = 'listbox', _extends2['aria-labelledby'] = elementIds.labelId, _extends2.tabIndex = -1, _extends2), latestState.isOpen && latestState.highlightedIndex > -1 && {
-      'aria-activedescendant': elementIds.getItemId(latestState.highlightedIndex)
-    }, {
-      onMouseLeave: callAllEventHandlers(onMouseLeave, menuHandleMouseLeave),
-      onKeyDown: callAllEventHandlers(onKeyDown, menuHandleKeyDown),
-      onBlur: callAllEventHandlers(onBlur, menuHandleBlur)
-    }, rest);
-  }, [dispatch, latest, menuKeyDownHandlers, mouseAndTouchTrackersRef, setGetterPropCallInfo, elementIds, getItemNodeFromIndex]);
-  var getToggleButtonProps = Object(external_React_["useCallback"])(function (_temp3, _temp4) {
-    var _extends3;
+    _this.onGestureEnd = function (event) {
+      _this.clean();

-    var _ref3 = _temp3 === void 0 ? {} : _temp3,
-        onClick = _ref3.onClick,
-        onKeyDown = _ref3.onKeyDown,
-        _ref3$refKey = _ref3.refKey,
-        refKey = _ref3$refKey === void 0 ? 'ref' : _ref3$refKey,
-        ref = _ref3.ref,
-        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref3, _excluded2$2);
+      if (!_this.state._active) return;

-    var _ref4 = _temp4 === void 0 ? {} : _temp4,
-        _ref4$suppressRefErro = _ref4.suppressRefError,
-        suppressRefError = _ref4$suppressRefErro === void 0 ? false : _ref4$suppressRefErro;
+      _this.updateGestureState(reactusegesture_esm_extends({}, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), _this.getMovement(_this.state.values), {
+        _active: false,
+        origin: [event.clientX, event.clientY]
+      }));

-    var toggleButtonHandleClick = function toggleButtonHandleClick() {
-      dispatch({
-        type: ToggleButtonClick$1
-      });
+      _this.fireGestureHandler();
     };
+    /**
+     * PINCH WITH WHEEL
+     */

-    var toggleButtonHandleKeyDown = function toggleButtonHandleKeyDown(event) {
-      var key = normalizeArrowKey(event);

-      if (key && toggleButtonKeyDownHandlers[key]) {
-        toggleButtonKeyDownHandlers[key](event);
-      } else if (isAcceptedCharacterKey(key)) {
-        dispatch({
-          type: ToggleButtonKeyDownCharacter,
-          key: key,
-          getItemNodeFromIndex: getItemNodeFromIndex
-        });
-      }
+    _this.wheelShouldRun = function (event) {
+      return _this.enabled && event.ctrlKey;
     };

-    var toggleProps = Object(esm_extends["a" /* default */])((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function (toggleButtonNode) {
-      toggleButtonRef.current = toggleButtonNode;
-    }), _extends3.id = elementIds.toggleButtonId, _extends3['aria-haspopup'] = 'listbox', _extends3['aria-expanded'] = latest.current.state.isOpen, _extends3['aria-labelledby'] = elementIds.labelId + " " + elementIds.toggleButtonId, _extends3), rest);
+    _this.getWheelValuesFromEvent = function (event) {
+      var _getWheelEventValues = getWheelEventValues(event, _this.transform),
+          delta_d = _getWheelEventValues[1];

-    if (!rest.disabled) {
-      toggleProps.onClick = callAllEventHandlers(onClick, toggleButtonHandleClick);
-      toggleProps.onKeyDown = callAllEventHandlers(onKeyDown, toggleButtonHandleKeyDown);
-    }
+      var _this$state$values = _this.state.values,
+          prev_d = _this$state$values[0],
+          prev_a = _this$state$values[1]; // ZOOM_CONSTANT is based on Safari trackpad natural zooming

-    setGetterPropCallInfo('getToggleButtonProps', suppressRefError, refKey, toggleButtonRef);
-    return toggleProps;
-  }, [dispatch, latest, toggleButtonKeyDownHandlers, setGetterPropCallInfo, elementIds, getItemNodeFromIndex]);
-  var getItemProps = Object(external_React_["useCallback"])(function (_temp5) {
-    var _extends4;
+      var _delta_d = -delta_d * ZOOM_CONSTANT; // new distance is the previous state distance added to the delta

-    var _ref5 = _temp5 === void 0 ? {} : _temp5,
-        item = _ref5.item,
-        index = _ref5.index,
-        onMouseMove = _ref5.onMouseMove,
-        onClick = _ref5.onClick,
-        _ref5$refKey = _ref5.refKey,
-        refKey = _ref5$refKey === void 0 ? 'ref' : _ref5$refKey,
-        ref = _ref5.ref,
-        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref5, _excluded3$1);

-    var _latest$current = latest.current,
-        latestState = _latest$current.state,
-        latestProps = _latest$current.props;
+      var d = prev_d + _delta_d;
+      var a = prev_a !== void 0 ? prev_a : 0;
+      return {
+        values: [d, a],
+        origin: [event.clientX, event.clientY],
+        delta: [_delta_d, a]
+      };
+    };

-    var itemHandleMouseMove = function itemHandleMouseMove() {
-      if (index === latestState.highlightedIndex) {
-        return;
-      }
+    _this.onWheel = function (event) {
+      if (!_this.wheelShouldRun(event)) return;

-      shouldScrollRef.current = false;
-      dispatch({
-        type: ItemMouseMove$1,
-        index: index
-      });
+      _this.setTimeout(_this.onWheelEnd);
+
+      if (!_this.state._active) _this.onWheelStart(event);else _this.onWheelChange(event);
     };

-    var itemHandleClick = function itemHandleClick() {
-      dispatch({
-        type: ItemClick$1,
-        index: index
-      });
+    _this.onWheelStart = function (event) {
+      var _this$getWheelValuesF = _this.getWheelValuesFromEvent(event),
+          values = _this$getWheelValuesF.values,
+          delta = _this$getWheelValuesF.delta,
+          origin = _this$getWheelValuesF.origin;
+
+      if (event.cancelable) event.preventDefault();else if (false) {}
+
+      _this.updateSharedState(getGenericEventData(event));
+
+      _this.updateGestureState(reactusegesture_esm_extends({}, getStartGestureState(reactusegesture_esm_assertThisInitialized(_this), values, event, _this.state.values), getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event, true), {
+        offset: values,
+        delta: delta,
+        origin: origin
+      }));
+
+      _this.updateGestureState(_this.getMovement(values));
+
+      _this.fireGestureHandler();
     };

-    var itemIndex = getItemIndex(index, item, latestProps.items);
+    _this.onWheelChange = function (event) {
+      if (event.cancelable) event.preventDefault();

-    if (itemIndex < 0) {
-      throw new Error('Pass either item or item index in getItemProps!');
-    }
+      _this.updateSharedState(getGenericEventData(event));

-    var itemProps = Object(esm_extends["a" /* default */])((_extends4 = {
-      role: 'option',
-      'aria-selected': "" + (itemIndex === latestState.highlightedIndex),
-      id: elementIds.getItemId(itemIndex)
-    }, _extends4[refKey] = handleRefs(ref, function (itemNode) {
-      if (itemNode) {
-        itemRefs.current[elementIds.getItemId(itemIndex)] = itemNode;
-      }
-    }), _extends4), rest);
+      var _this$getWheelValuesF2 = _this.getWheelValuesFromEvent(event),
+          values = _this$getWheelValuesF2.values,
+          origin = _this$getWheelValuesF2.origin,
+          delta = _this$getWheelValuesF2.delta;

-    if (!rest.disabled) {
-      itemProps.onMouseMove = callAllEventHandlers(onMouseMove, itemHandleMouseMove);
-      itemProps.onClick = callAllEventHandlers(onClick, itemHandleClick);
-    }
+      _this.updateGestureState(reactusegesture_esm_extends({}, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), _this.getKinematics(values, event), {
+        origin: origin,
+        delta: delta
+      }));

-    return itemProps;
-  }, [dispatch, latest, shouldScrollRef, elementIds]);
-  return {
-    // prop getters.
-    getToggleButtonProps: getToggleButtonProps,
-    getLabelProps: getLabelProps,
-    getMenuProps: getMenuProps,
-    getItemProps: getItemProps,
-    // actions.
-    toggleMenu: toggleMenu,
-    openMenu: openMenu,
-    closeMenu: closeMenu,
-    setHighlightedIndex: setHighlightedIndex,
-    selectItem: selectItem,
-    reset: reset,
-    setInputValue: setInputValue,
-    // state.
-    highlightedIndex: highlightedIndex,
-    isOpen: isOpen,
-    selectedItem: selectedItem,
-    inputValue: inputValue
-  };
-}
+      _this.fireGestureHandler();
+    };

-var InputKeyDownArrowDown =  false ? undefined : 0;
-var InputKeyDownArrowUp =  false ? undefined : 1;
-var InputKeyDownEscape =  false ? undefined : 2;
-var InputKeyDownHome =  false ? undefined : 3;
-var InputKeyDownEnd =  false ? undefined : 4;
-var InputKeyDownEnter =  false ? undefined : 5;
-var InputChange =  false ? undefined : 6;
-var InputBlur =  false ? undefined : 7;
-var MenuMouseLeave =  false ? undefined : 8;
-var ItemMouseMove =  false ? undefined : 9;
-var ItemClick =  false ? undefined : 10;
-var ToggleButtonClick =  false ? undefined : 11;
-var FunctionToggleMenu =  false ? undefined : 12;
-var FunctionOpenMenu =  false ? undefined : 13;
-var FunctionCloseMenu =  false ? undefined : 14;
-var FunctionSetHighlightedIndex =  false ? undefined : 15;
-var FunctionSelectItem =  false ? undefined : 16;
-var FunctionSetInputValue =  false ? undefined : 17;
-var FunctionReset$1 =  false ? undefined : 18;
-var ControlledPropUpdatedSelectedItem =  false ? undefined : 19;
+    _this.onWheelEnd = function () {
+      _this.clean();

-var stateChangeTypes$1 = /*#__PURE__*/Object.freeze({
-  __proto__: null,
-  InputKeyDownArrowDown: InputKeyDownArrowDown,
-  InputKeyDownArrowUp: InputKeyDownArrowUp,
-  InputKeyDownEscape: InputKeyDownEscape,
-  InputKeyDownHome: InputKeyDownHome,
-  InputKeyDownEnd: InputKeyDownEnd,
-  InputKeyDownEnter: InputKeyDownEnter,
-  InputChange: InputChange,
-  InputBlur: InputBlur,
-  MenuMouseLeave: MenuMouseLeave,
-  ItemMouseMove: ItemMouseMove,
-  ItemClick: ItemClick,
-  ToggleButtonClick: ToggleButtonClick,
-  FunctionToggleMenu: FunctionToggleMenu,
-  FunctionOpenMenu: FunctionOpenMenu,
-  FunctionCloseMenu: FunctionCloseMenu,
-  FunctionSetHighlightedIndex: FunctionSetHighlightedIndex,
-  FunctionSelectItem: FunctionSelectItem,
-  FunctionSetInputValue: FunctionSetInputValue,
-  FunctionReset: FunctionReset$1,
-  ControlledPropUpdatedSelectedItem: ControlledPropUpdatedSelectedItem
-});
+      if (!_this.state._active) return;
+      _this.state._active = false;

-function getInitialState$1(props) {
-  var initialState = getInitialState$2(props);
-  var selectedItem = initialState.selectedItem;
-  var inputValue = initialState.inputValue;
+      _this.updateGestureState(_this.getMovement(_this.state.values));

-  if (inputValue === '' && selectedItem && props.defaultInputValue === undefined && props.initialInputValue === undefined && props.inputValue === undefined) {
-    inputValue = props.itemToString(selectedItem);
-  }
+      _this.fireGestureHandler();
+    };

-  return Object(esm_extends["a" /* default */])({}, initialState, {
-    inputValue: inputValue
-  });
-}
+    return _this;
+  }

-var propTypes$1 = {
-  items: prop_types_default.a.array.isRequired,
-  itemToString: prop_types_default.a.func,
-  getA11yStatusMessage: prop_types_default.a.func,
-  getA11ySelectionMessage: prop_types_default.a.func,
-  circularNavigation: prop_types_default.a.bool,
-  highlightedIndex: prop_types_default.a.number,
-  defaultHighlightedIndex: prop_types_default.a.number,
-  initialHighlightedIndex: prop_types_default.a.number,
-  isOpen: prop_types_default.a.bool,
-  defaultIsOpen: prop_types_default.a.bool,
-  initialIsOpen: prop_types_default.a.bool,
-  selectedItem: prop_types_default.a.any,
-  initialSelectedItem: prop_types_default.a.any,
-  defaultSelectedItem: prop_types_default.a.any,
-  inputValue: prop_types_default.a.string,
-  defaultInputValue: prop_types_default.a.string,
-  initialInputValue: prop_types_default.a.string,
-  id: prop_types_default.a.string,
-  labelId: prop_types_default.a.string,
-  menuId: prop_types_default.a.string,
-  getItemId: prop_types_default.a.func,
-  inputId: prop_types_default.a.string,
-  toggleButtonId: prop_types_default.a.string,
-  stateReducer: prop_types_default.a.func,
-  onSelectedItemChange: prop_types_default.a.func,
-  onHighlightedIndexChange: prop_types_default.a.func,
-  onStateChange: prop_types_default.a.func,
-  onIsOpenChange: prop_types_default.a.func,
-  onInputValueChange: prop_types_default.a.func,
-  environment: prop_types_default.a.shape({
-    addEventListener: prop_types_default.a.func,
-    removeEventListener: prop_types_default.a.func,
-    document: prop_types_default.a.shape({
-      getElementById: prop_types_default.a.func,
-      activeElement: prop_types_default.a.any,
-      body: prop_types_default.a.any
-    })
-  })
-};
-/**
- * The useCombobox version of useControlledReducer, which also
- * checks if the controlled prop selectedItem changed between
- * renders. If so, it will also update inputValue with its
- * string equivalent. It uses the common useEnhancedReducer to
- * compute the rest of the state.
- *
- * @param {Function} reducer Reducer function from downshift.
- * @param {Object} initialState Initial state of the hook.
- * @param {Object} props The hook props.
- * @returns {Array} An array with the state and an action dispatcher.
- */
+  var _proto = PinchRecognizer.prototype;

-function useControlledReducer(reducer, initialState, props) {
-  var previousSelectedItemRef = Object(external_React_["useRef"])();
+  _proto.addBindings = function addBindings$1(bindings) {
+    // Only try to use gesture events when they are supported and domTarget is set
+    // as React doesn't support gesture handlers.
+    if (this.controller.config.domTarget && !this.controller.supportsTouchEvents && this.controller.supportsGestureEvents) {
+      addBindings(bindings, 'onGestureStart', this.onGestureStart);

-  var _useEnhancedReducer = useEnhancedReducer(reducer, initialState, props),
-      state = _useEnhancedReducer[0],
-      dispatch = _useEnhancedReducer[1]; // ToDo: if needed, make same approach as selectedItemChanged from Downshift.
+      addBindings(bindings, 'onGestureChange', this.onGestureChange);

+      addBindings(bindings, 'onGestureEnd', this.onGestureEnd);
+    } else {
+      addBindings(bindings, 'onTouchStart', this.onPinchStart);

-  Object(external_React_["useEffect"])(function () {
-    if (isControlledProp(props, 'selectedItem')) {
-      if (previousSelectedItemRef.current !== props.selectedItem) {
-        dispatch({
-          type: ControlledPropUpdatedSelectedItem,
-          inputValue: props.itemToString(props.selectedItem)
-        });
-      }
+      addBindings(bindings, 'onTouchMove', this.onPinchChange);

-      previousSelectedItemRef.current = state.selectedItem === previousSelectedItemRef.current ? props.selectedItem : state.selectedItem;
-    }
-  });
-  return [getState(state, props), dispatch];
-} // eslint-disable-next-line import/no-mutable-exports
+      addBindings(bindings, 'onTouchEnd', this.onPinchEnd);

+      addBindings(bindings, 'onTouchCancel', this.onPinchEnd);

-var validatePropTypes$1 = downshift_esm_noop;
-/* istanbul ignore next */
+      addBindings(bindings, 'onWheel', this.onWheel);
+    }
+  };

-if (false) {}
+  return PinchRecognizer;
+}(DistanceAngleRecognizer)));

-var defaultProps$1 = Object(esm_extends["a" /* default */])({}, defaultProps$3, {
-  getA11yStatusMessage: getA11yStatusMessage$1,
-  circularNavigation: true
-});
+/**
+ * Pinch hook.
+ *
+ * @param handler - the function fired every time the pinch gesture updates
+ * @param [config={}] - the config object including generic options and pinch options
+ */

-/* eslint-disable complexity */
+function usePinch(handler, config) {
+  if (config === void 0) {
+    config = {};
+  }

-function downshiftUseComboboxReducer(state, action) {
-  var type = action.type,
-      props = action.props,
-      shiftKey = action.shiftKey;
-  var changes;
+  RecognizersMap.set('pinch', PinchRecognizer);
+  var buildPinchConfig = useRef();

-  switch (type) {
-    case ItemClick:
-      changes = {
-        isOpen: getDefaultValue$1(props, 'isOpen'),
-        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
-        selectedItem: props.items[action.index],
-        inputValue: props.itemToString(props.items[action.index])
-      };
-      break;
+  if (!buildPinchConfig.current) {
+    buildPinchConfig.current = memoizeOne(_buildPinchConfig, isEqual);
+  }

-    case InputKeyDownArrowDown:
-      if (state.isOpen) {
-        changes = {
-          highlightedIndex: getNextWrappingIndex(shiftKey ? 5 : 1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation)
-        };
-      } else {
-        changes = {
-          highlightedIndex: getHighlightedIndexOnOpen(props, state, 1, action.getItemNodeFromIndex),
-          isOpen: props.items.length >= 0
-        };
-      }
+  return useRecognizers({
+    pinch: handler
+  }, buildPinchConfig.current(config));
+}

-      break;
+var WheelRecognizer = /*#__PURE__*/(/* unused pure expression or super */ null && (function (_CoordinatesRecognize) {
+  reactusegesture_esm_inheritsLoose(WheelRecognizer, _CoordinatesRecognize);

-    case InputKeyDownArrowUp:
-      if (state.isOpen) {
-        changes = {
-          highlightedIndex: getNextWrappingIndex(shiftKey ? -5 : -1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation)
-        };
-      } else {
-        changes = {
-          highlightedIndex: getHighlightedIndexOnOpen(props, state, -1, action.getItemNodeFromIndex),
-          isOpen: props.items.length >= 0
-        };
-      }
+  function WheelRecognizer() {
+    var _this;

-      break;
+    _this = _CoordinatesRecognize.apply(this, arguments) || this;
+    _this.ingKey = 'wheeling';
+    _this.stateKey = 'wheel';
+    _this.debounced = true;

-    case InputKeyDownEnter:
-      changes = Object(esm_extends["a" /* default */])({}, state.isOpen && state.highlightedIndex >= 0 && {
-        selectedItem: props.items[state.highlightedIndex],
-        isOpen: getDefaultValue$1(props, 'isOpen'),
-        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
-        inputValue: props.itemToString(props.items[state.highlightedIndex])
-      });
-      break;
+    _this.handleEvent = function (event) {
+      if (event.ctrlKey && 'pinch' in _this.controller.handlers) return;
+      if (!_this.enabled) return;

-    case InputKeyDownEscape:
-      changes = Object(esm_extends["a" /* default */])({
-        isOpen: false,
-        highlightedIndex: -1
-      }, !state.isOpen && {
-        selectedItem: null,
-        inputValue: ''
-      });
-      break;
+      _this.setTimeout(_this.onEnd);

-    case InputKeyDownHome:
-      changes = {
-        highlightedIndex: getNextNonDisabledIndex(1, 0, props.items.length, action.getItemNodeFromIndex, false)
-      };
-      break;
+      _this.updateSharedState(getGenericEventData(event));

-    case InputKeyDownEnd:
-      changes = {
-        highlightedIndex: getNextNonDisabledIndex(-1, props.items.length - 1, props.items.length, action.getItemNodeFromIndex, false)
-      };
-      break;
+      var values = addV(getWheelEventValues(event, _this.transform), _this.state.values);

-    case InputBlur:
-      changes = Object(esm_extends["a" /* default */])({
-        isOpen: false,
-        highlightedIndex: -1
-      }, state.highlightedIndex >= 0 && action.selectItem && {
-        selectedItem: props.items[state.highlightedIndex],
-        inputValue: props.itemToString(props.items[state.highlightedIndex])
-      });
-      break;
+      if (!_this.state._active) {
+        _this.updateGestureState(reactusegesture_esm_extends({}, getStartGestureState(reactusegesture_esm_assertThisInitialized(_this), values, event, _this.state.values), getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event, true)));

-    case InputChange:
-      changes = {
-        isOpen: true,
-        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
-        inputValue: action.inputValue
-      };
-      break;
+        var movement = _this.getMovement(values);

-    case FunctionSelectItem:
-      changes = {
-        selectedItem: action.selectedItem,
-        inputValue: props.itemToString(action.selectedItem)
-      };
-      break;
+        var geometry = calculateAllGeometry(movement.delta);

-    case ControlledPropUpdatedSelectedItem:
-      changes = {
-        inputValue: action.inputValue
-      };
-      break;
+        _this.updateGestureState(movement);

-    default:
-      return downshiftCommonReducer(state, action, stateChangeTypes$1);
-  }
+        _this.updateGestureState(geometry);
+      } else {
+        _this.updateGestureState(reactusegesture_esm_extends({}, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), _this.getKinematics(values, event)));
+      }

-  return Object(esm_extends["a" /* default */])({}, state, changes);
-}
-/* eslint-enable complexity */
+      _this.fireGestureHandler();
+    };

-var _excluded$1 = ["onMouseLeave", "refKey", "ref"],
-    _excluded2$1 = ["item", "index", "refKey", "ref", "onMouseMove", "onClick", "onPress"],
-    _excluded3 = ["onClick", "onPress", "refKey", "ref"],
-    _excluded4 = ["onKeyDown", "onChange", "onInput", "onBlur", "onChangeText", "refKey", "ref"],
-    _excluded5 = ["refKey", "ref"];
-useCombobox.stateChangeTypes = stateChangeTypes$1;
+    _this.onEnd = function () {
+      _this.clean();

-function useCombobox(userProps) {
-  if (userProps === void 0) {
-    userProps = {};
-  }
+      if (!_this.state._active) return;

-  validatePropTypes$1(userProps, useCombobox); // Props defaults and destructuring.
+      var movement = _this.getMovement(_this.state.values);

-  var props = Object(esm_extends["a" /* default */])({}, defaultProps$1, userProps);
+      _this.updateGestureState(movement);

-  var initialIsOpen = props.initialIsOpen,
-      defaultIsOpen = props.defaultIsOpen,
-      items = props.items,
-      scrollIntoView = props.scrollIntoView,
-      environment = props.environment,
-      getA11yStatusMessage = props.getA11yStatusMessage,
-      getA11ySelectionMessage = props.getA11ySelectionMessage,
-      itemToString = props.itemToString; // Initial state depending on controlled props.
+      _this.updateGestureState({
+        _active: false,
+        velocities: [0, 0],
+        velocity: 0
+      });

-  var initialState = getInitialState$1(props);
+      _this.fireGestureHandler();
+    };

-  var _useControlledReducer = useControlledReducer(downshiftUseComboboxReducer, initialState, props),
-      state = _useControlledReducer[0],
-      dispatch = _useControlledReducer[1];
+    return _this;
+  }

-  var isOpen = state.isOpen,
-      highlightedIndex = state.highlightedIndex,
-      selectedItem = state.selectedItem,
-      inputValue = state.inputValue; // Element refs.
+  var _proto = WheelRecognizer.prototype;

-  var menuRef = Object(external_React_["useRef"])(null);
-  var itemRefs = Object(external_React_["useRef"])({});
-  var inputRef = Object(external_React_["useRef"])(null);
-  var toggleButtonRef = Object(external_React_["useRef"])(null);
-  var comboboxRef = Object(external_React_["useRef"])(null);
-  var isInitialMountRef = Object(external_React_["useRef"])(true); // prevent id re-generation between renders.
+  _proto.addBindings = function addBindings$1(bindings) {
+    addBindings(bindings, 'onWheel', this.handleEvent);
+  };

-  var elementIds = useElementIds(props); // used to keep track of how many items we had on previous cycle.
+  return WheelRecognizer;
+}(CoordinatesRecognizer)));

-  var previousResultCountRef = Object(external_React_["useRef"])(); // utility callback to get item element.
+/**
+ * Wheel hook.
+ *
+ * @param handler - the function fired every time the wheel gesture updates
+ * @param the config object including generic options and wheel options
+ */

-  var latest = useLatestRef({
-    state: state,
-    props: props
-  });
-  var getItemNodeFromIndex = Object(external_React_["useCallback"])(function (index) {
-    return itemRefs.current[elementIds.getItemId(index)];
-  }, [elementIds]); // Effects.
-  // Sets a11y status message on changes in state.
+function useWheel(handler, config) {
+  if (config === void 0) {
+    config = {};
+  }

-  useA11yMessageSetter(getA11yStatusMessage, [isOpen, highlightedIndex, inputValue, items], Object(esm_extends["a" /* default */])({
-    isInitialMount: isInitialMountRef.current,
-    previousResultCount: previousResultCountRef.current,
-    items: items,
-    environment: environment,
-    itemToString: itemToString
-  }, state)); // Sets a11y status message on changes in selectedItem.
+  RecognizersMap.set('wheel', WheelRecognizer);
+  var buildWheelConfig = useRef();

-  useA11yMessageSetter(getA11ySelectionMessage, [selectedItem], Object(esm_extends["a" /* default */])({
-    isInitialMount: isInitialMountRef.current,
-    previousResultCount: previousResultCountRef.current,
-    items: items,
-    environment: environment,
-    itemToString: itemToString
-  }, state)); // Scroll on highlighted item if change comes from keyboard.
+  if (!buildWheelConfig.current) {
+    buildWheelConfig.current = memoizeOne(_buildWheelConfig, isEqual);
+  }

-  var shouldScrollRef = useScrollIntoView({
-    menuElement: menuRef.current,
-    highlightedIndex: highlightedIndex,
-    isOpen: isOpen,
-    itemRefs: itemRefs,
-    scrollIntoView: scrollIntoView,
-    getItemNodeFromIndex: getItemNodeFromIndex
-  });
-  useControlPropsValidator({
-    isInitialMount: isInitialMountRef.current,
-    props: props,
-    state: state
-  }); // Focus the input on first render if required.
+  return useRecognizers({
+    wheel: handler
+  }, buildWheelConfig.current(config));
+}

-  Object(external_React_["useEffect"])(function () {
-    var focusOnOpen = initialIsOpen || defaultIsOpen || isOpen;
+var MoveRecognizer = /*#__PURE__*/function (_CoordinatesRecognize) {
+  reactusegesture_esm_inheritsLoose(MoveRecognizer, _CoordinatesRecognize);

-    if (focusOnOpen && inputRef.current) {
-      inputRef.current.focus();
-    } // eslint-disable-next-line react-hooks/exhaustive-deps
+  function MoveRecognizer() {
+    var _this;

-  }, []);
-  Object(external_React_["useEffect"])(function () {
-    if (isInitialMountRef.current) {
-      return;
-    }
+    _this = _CoordinatesRecognize.apply(this, arguments) || this;
+    _this.ingKey = 'moving';
+    _this.stateKey = 'move';
+    _this.debounced = true;

-    previousResultCountRef.current = items.length;
-  }); // Add mouse/touch events to document.
+    _this.onMove = function (event) {
+      if (!_this.enabled) return;

-  var mouseAndTouchTrackersRef = useMouseAndTouchTracker(isOpen, [comboboxRef, menuRef, toggleButtonRef], environment, function () {
-    dispatch({
-      type: InputBlur,
-      selectItem: false
-    });
-  });
-  var setGetterPropCallInfo = useGetterPropsCalledChecker('getInputProps', 'getComboboxProps', 'getMenuProps'); // Make initial ref false.
+      _this.setTimeout(_this.onMoveEnd);

-  Object(external_React_["useEffect"])(function () {
-    isInitialMountRef.current = false;
-  }, []); // Reset itemRefs on close.
+      if (!_this.state._active) _this.onMoveStart(event);else _this.onMoveChange(event);
+    };

-  Object(external_React_["useEffect"])(function () {
-    if (!isOpen) {
-      itemRefs.current = {};
-    }
-  }, [isOpen]);
-  /* Event handler functions */
+    _this.onMoveStart = function (event) {
+      _this.updateSharedState(getGenericEventData(event));

-  var inputKeyDownHandlers = Object(external_React_["useMemo"])(function () {
-    return {
-      ArrowDown: function ArrowDown(event) {
-        event.preventDefault();
-        dispatch({
-          type: InputKeyDownArrowDown,
-          shiftKey: event.shiftKey,
-          getItemNodeFromIndex: getItemNodeFromIndex
-        });
-      },
-      ArrowUp: function ArrowUp(event) {
-        event.preventDefault();
-        dispatch({
-          type: InputKeyDownArrowUp,
-          shiftKey: event.shiftKey,
-          getItemNodeFromIndex: getItemNodeFromIndex
-        });
-      },
-      Home: function Home(event) {
-        if (!latest.current.state.isOpen) {
-          return;
-        }
+      var values = getPointerEventValues(event, _this.transform);

-        event.preventDefault();
-        dispatch({
-          type: InputKeyDownHome,
-          getItemNodeFromIndex: getItemNodeFromIndex
-        });
-      },
-      End: function End(event) {
-        if (!latest.current.state.isOpen) {
-          return;
-        }
+      _this.updateGestureState(reactusegesture_esm_extends({}, getStartGestureState(reactusegesture_esm_assertThisInitialized(_this), values, event), getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event, true)));

-        event.preventDefault();
-        dispatch({
-          type: InputKeyDownEnd,
-          getItemNodeFromIndex: getItemNodeFromIndex
-        });
-      },
-      Escape: function Escape() {
-        var latestState = latest.current.state;
+      _this.updateGestureState(_this.getMovement(values));

-        if (latestState.isOpen || latestState.inputValue || latestState.selectedItem || latestState.highlightedIndex > -1) {
-          dispatch({
-            type: InputKeyDownEscape
-          });
-        }
-      },
-      Enter: function Enter(event) {
-        var latestState = latest.current.state; // if closed or no highlighted index, do nothing.
+      _this.fireGestureHandler();
+    };

-        if (!latestState.isOpen || latestState.highlightedIndex < 0 || event.which === 229 // if IME composing, wait for next Enter keydown event.
-        ) {
-          return;
-        }
+    _this.onMoveChange = function (event) {
+      _this.updateSharedState(getGenericEventData(event));

-        event.preventDefault();
-        dispatch({
-          type: InputKeyDownEnter,
-          getItemNodeFromIndex: getItemNodeFromIndex
-        });
-      }
+      var values = getPointerEventValues(event, _this.transform);
+
+      _this.updateGestureState(reactusegesture_esm_extends({}, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), _this.getKinematics(values, event)));
+
+      _this.fireGestureHandler();
     };
-  }, [dispatch, latest, getItemNodeFromIndex]); // Getter props.

-  var getLabelProps = Object(external_React_["useCallback"])(function (labelProps) {
-    return Object(esm_extends["a" /* default */])({
-      id: elementIds.labelId,
-      htmlFor: elementIds.inputId
-    }, labelProps);
-  }, [elementIds]);
-  var getMenuProps = Object(external_React_["useCallback"])(function (_temp, _temp2) {
-    var _extends2;
+    _this.onMoveEnd = function () {
+      _this.clean();

-    var _ref = _temp === void 0 ? {} : _temp,
-        onMouseLeave = _ref.onMouseLeave,
-        _ref$refKey = _ref.refKey,
-        refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey,
-        ref = _ref.ref,
-        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref, _excluded$1);
+      if (!_this.state._active) return;
+      var values = _this.state.values;

-    var _ref2 = _temp2 === void 0 ? {} : _temp2,
-        _ref2$suppressRefErro = _ref2.suppressRefError,
-        suppressRefError = _ref2$suppressRefErro === void 0 ? false : _ref2$suppressRefErro;
+      _this.updateGestureState(_this.getMovement(values));

-    setGetterPropCallInfo('getMenuProps', suppressRefError, refKey, menuRef);
-    return Object(esm_extends["a" /* default */])((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function (menuNode) {
-      menuRef.current = menuNode;
-    }), _extends2.id = elementIds.menuId, _extends2.role = 'listbox', _extends2['aria-labelledby'] = elementIds.labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, function () {
-      dispatch({
-        type: MenuMouseLeave
+      _this.updateGestureState({
+        velocities: [0, 0],
+        velocity: 0,
+        _active: false
       });
-    }), _extends2), rest);
-  }, [dispatch, setGetterPropCallInfo, elementIds]);
-  var getItemProps = Object(external_React_["useCallback"])(function (_temp3) {
-    var _extends3, _ref4;

-    var _ref3 = _temp3 === void 0 ? {} : _temp3,
-        item = _ref3.item,
-        index = _ref3.index,
-        _ref3$refKey = _ref3.refKey,
-        refKey = _ref3$refKey === void 0 ? 'ref' : _ref3$refKey,
-        ref = _ref3.ref,
-        onMouseMove = _ref3.onMouseMove,
-        onClick = _ref3.onClick;
-        _ref3.onPress;
-        var rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref3, _excluded2$1);
+      _this.fireGestureHandler();
+    };

-    var _latest$current = latest.current,
-        latestProps = _latest$current.props,
-        latestState = _latest$current.state;
-    var itemIndex = getItemIndex(index, item, latestProps.items);
+    _this.hoverTransform = function () {
+      return _this.controller.config.hover.transform || _this.controller.config.transform;
+    };

-    if (itemIndex < 0) {
-      throw new Error('Pass either item or item index in getItemProps!');
-    }
+    _this.onPointerEnter = function (event) {
+      _this.controller.state.shared.hovering = true;
+      if (!_this.controller.config.enabled) return;

-    var onSelectKey = 'onClick';
-    var customClickHandler = onClick;
+      if (_this.controller.config.hover.enabled) {
+        var values = getPointerEventValues(event, _this.hoverTransform());

-    var itemHandleMouseMove = function itemHandleMouseMove() {
-      if (index === latestState.highlightedIndex) {
-        return;
+        var state = reactusegesture_esm_extends({}, _this.controller.state.shared, _this.state, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event, true), {
+          args: _this.args,
+          values: values,
+          active: true,
+          hovering: true
+        });
+
+        _this.controller.handlers.hover(reactusegesture_esm_extends({}, state, _this.mapStateValues(state)));
       }

-      shouldScrollRef.current = false;
-      dispatch({
-        type: ItemMouseMove,
-        index: index
-      });
+      if ('move' in _this.controller.handlers) _this.onMoveStart(event);
     };

-    var itemHandleClick = function itemHandleClick() {
-      dispatch({
-        type: ItemClick,
-        index: index
+    _this.onPointerLeave = function (event) {
+      _this.controller.state.shared.hovering = false;
+      if ('move' in _this.controller.handlers) _this.onMoveEnd();
+      if (!_this.controller.config.hover.enabled) return;
+      var values = getPointerEventValues(event, _this.hoverTransform());
+
+      var state = reactusegesture_esm_extends({}, _this.controller.state.shared, _this.state, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), {
+        args: _this.args,
+        values: values,
+        active: false
       });

-      if (inputRef.current) {
-        inputRef.current.focus();
-      }
+      _this.controller.handlers.hover(reactusegesture_esm_extends({}, state, _this.mapStateValues(state)));
     };

-    return Object(esm_extends["a" /* default */])((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function (itemNode) {
-      if (itemNode) {
-        itemRefs.current[elementIds.getItemId(itemIndex)] = itemNode;
-      }
-    }), _extends3.role = 'option', _extends3['aria-selected'] = "" + (itemIndex === latestState.highlightedIndex), _extends3.id = elementIds.getItemId(itemIndex), _extends3), !rest.disabled && (_ref4 = {
-      onMouseMove: callAllEventHandlers(onMouseMove, itemHandleMouseMove)
-    }, _ref4[onSelectKey] = callAllEventHandlers(customClickHandler, itemHandleClick), _ref4), rest);
-  }, [dispatch, latest, shouldScrollRef, elementIds]);
-  var getToggleButtonProps = Object(external_React_["useCallback"])(function (_temp4) {
-    var _extends4;
+    return _this;
+  }

-    var _ref5 = _temp4 === void 0 ? {} : _temp4,
-        onClick = _ref5.onClick;
-        _ref5.onPress;
-        var _ref5$refKey = _ref5.refKey,
-        refKey = _ref5$refKey === void 0 ? 'ref' : _ref5$refKey,
-        ref = _ref5.ref,
-        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref5, _excluded3);
+  var _proto = MoveRecognizer.prototype;

-    var toggleButtonHandleClick = function toggleButtonHandleClick() {
-      dispatch({
-        type: ToggleButtonClick
-      });
+  _proto.addBindings = function addBindings$1(bindings) {
+    if ('move' in this.controller.handlers) {
+      addBindings(bindings, 'onPointerMove', this.onMove);
+    }

-      if (!latest.current.state.isOpen && inputRef.current) {
-        inputRef.current.focus();
-      }
-    };
+    if ('hover' in this.controller.handlers) {
+      addBindings(bindings, 'onPointerEnter', this.onPointerEnter);

-    return Object(esm_extends["a" /* default */])((_extends4 = {}, _extends4[refKey] = handleRefs(ref, function (toggleButtonNode) {
-      toggleButtonRef.current = toggleButtonNode;
-    }), _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && Object(esm_extends["a" /* default */])({}, {
-      onClick: callAllEventHandlers(onClick, toggleButtonHandleClick)
-    }), rest);
-  }, [dispatch, latest, elementIds]);
-  var getInputProps = Object(external_React_["useCallback"])(function (_temp5, _temp6) {
-    var _extends5;
+      addBindings(bindings, 'onPointerLeave', this.onPointerLeave);
+    }
+  };

-    var _ref6 = _temp5 === void 0 ? {} : _temp5,
-        onKeyDown = _ref6.onKeyDown,
-        onChange = _ref6.onChange,
-        onInput = _ref6.onInput,
-        onBlur = _ref6.onBlur;
-        _ref6.onChangeText;
-        var _ref6$refKey = _ref6.refKey,
-        refKey = _ref6$refKey === void 0 ? 'ref' : _ref6$refKey,
-        ref = _ref6.ref,
-        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref6, _excluded4);
+  return MoveRecognizer;
+}(CoordinatesRecognizer);

-    var _ref7 = _temp6 === void 0 ? {} : _temp6,
-        _ref7$suppressRefErro = _ref7.suppressRefError,
-        suppressRefError = _ref7$suppressRefErro === void 0 ? false : _ref7$suppressRefErro;
+/**
+ * Move hook.
+ *
+ * @param handler - the function fired every time the move gesture updates
+ * @param [config={}] - the config object including generic options and move options
+ */

-    setGetterPropCallInfo('getInputProps', suppressRefError, refKey, inputRef);
-    var latestState = latest.current.state;
+function useMove(handler, config) {
+  if (config === void 0) {
+    config = {};
+  }

-    var inputHandleKeyDown = function inputHandleKeyDown(event) {
-      var key = normalizeArrowKey(event);
+  RecognizersMap.set('move', MoveRecognizer);
+  var buildMoveConfig = useRef();

-      if (key && inputKeyDownHandlers[key]) {
-        inputKeyDownHandlers[key](event);
-      }
-    };
+  if (!buildMoveConfig.current) {
+    buildMoveConfig.current = memoizeOne(_buildMoveConfig, isEqual);
+  }

-    var inputHandleChange = function inputHandleChange(event) {
-      dispatch({
-        type: InputChange,
-        inputValue: event.target.value
-      });
-    };
+  return useRecognizers({
+    move: handler
+  }, buildMoveConfig.current(config));
+}

-    var inputHandleBlur = function inputHandleBlur() {
-      /* istanbul ignore else */
-      if (latestState.isOpen && !mouseAndTouchTrackersRef.current.isMouseDown) {
-        dispatch({
-          type: InputBlur,
-          selectItem: true
-        });
-      }
-    };
-    /* istanbul ignore next (preact) */
+/**
+ * Hover hook.
+ *
+ * @param handler - the function fired every time the hover gesture updates
+ * @param [config={}] - the config object including generic options and hover options
+ */

+function useHover(handler, config) {
+  if (config === void 0) {
+    config = {};
+  }

-    var onChangeKey = 'onChange';
-    var eventHandlers = {};
+  RecognizersMap.set('hover', MoveRecognizer);
+  var buildHoverConfig = (0,external_React_.useRef)();

-    if (!rest.disabled) {
-      var _eventHandlers;
+  if (!buildHoverConfig.current) {
+    buildHoverConfig.current = memoizeOne(_buildHoverConfig, isEqual);
+  }

-      eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange, onInput, inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, inputHandleBlur), _eventHandlers);
-    }
+  return useRecognizers({
+    hover: handler
+  }, buildHoverConfig.current(config));
+}

-    return Object(esm_extends["a" /* default */])((_extends5 = {}, _extends5[refKey] = handleRefs(ref, function (inputNode) {
-      inputRef.current = inputNode;
-    }), _extends5.id = elementIds.inputId, _extends5['aria-autocomplete'] = 'list', _extends5['aria-controls'] = elementIds.menuId, _extends5), latestState.isOpen && latestState.highlightedIndex > -1 && {
-      'aria-activedescendant': elementIds.getItemId(latestState.highlightedIndex)
-    }, {
-      'aria-labelledby': elementIds.labelId,
-      // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
-      // revert back since autocomplete="nope" is ignored on latest Chrome and Opera
-      autoComplete: 'off',
-      value: latestState.inputValue
-    }, eventHandlers, rest);
-  }, [dispatch, inputKeyDownHandlers, latest, mouseAndTouchTrackersRef, setGetterPropCallInfo, elementIds]);
-  var getComboboxProps = Object(external_React_["useCallback"])(function (_temp7, _temp8) {
-    var _extends6;
+var ScrollRecognizer = /*#__PURE__*/(/* unused pure expression or super */ null && (function (_CoordinatesRecognize) {
+  reactusegesture_esm_inheritsLoose(ScrollRecognizer, _CoordinatesRecognize);

-    var _ref8 = _temp7 === void 0 ? {} : _temp7,
-        _ref8$refKey = _ref8.refKey,
-        refKey = _ref8$refKey === void 0 ? 'ref' : _ref8$refKey,
-        ref = _ref8.ref,
-        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref8, _excluded5);
+  function ScrollRecognizer() {
+    var _this;

-    var _ref9 = _temp8 === void 0 ? {} : _temp8,
-        _ref9$suppressRefErro = _ref9.suppressRefError,
-        suppressRefError = _ref9$suppressRefErro === void 0 ? false : _ref9$suppressRefErro;
+    _this = _CoordinatesRecognize.apply(this, arguments) || this;
+    _this.ingKey = 'scrolling';
+    _this.stateKey = 'scroll';
+    _this.debounced = true;

-    setGetterPropCallInfo('getComboboxProps', suppressRefError, refKey, comboboxRef);
-    return Object(esm_extends["a" /* default */])((_extends6 = {}, _extends6[refKey] = handleRefs(ref, function (comboboxNode) {
-      comboboxRef.current = comboboxNode;
-    }), _extends6.role = 'combobox', _extends6['aria-haspopup'] = 'listbox', _extends6['aria-owns'] = elementIds.menuId, _extends6['aria-expanded'] = latest.current.state.isOpen, _extends6), rest);
-  }, [latest, setGetterPropCallInfo, elementIds]); // returns
+    _this.handleEvent = function (event) {
+      if (!_this.enabled) return;

-  var toggleMenu = Object(external_React_["useCallback"])(function () {
-    dispatch({
-      type: FunctionToggleMenu
-    });
-  }, [dispatch]);
-  var closeMenu = Object(external_React_["useCallback"])(function () {
-    dispatch({
-      type: FunctionCloseMenu
-    });
-  }, [dispatch]);
-  var openMenu = Object(external_React_["useCallback"])(function () {
-    dispatch({
-      type: FunctionOpenMenu
-    });
-  }, [dispatch]);
-  var setHighlightedIndex = Object(external_React_["useCallback"])(function (newHighlightedIndex) {
-    dispatch({
-      type: FunctionSetHighlightedIndex,
-      highlightedIndex: newHighlightedIndex
-    });
-  }, [dispatch]);
-  var selectItem = Object(external_React_["useCallback"])(function (newSelectedItem) {
-    dispatch({
-      type: FunctionSelectItem,
-      selectedItem: newSelectedItem
-    });
-  }, [dispatch]);
-  var setInputValue = Object(external_React_["useCallback"])(function (newInputValue) {
-    dispatch({
-      type: FunctionSetInputValue,
-      inputValue: newInputValue
-    });
-  }, [dispatch]);
-  var reset = Object(external_React_["useCallback"])(function () {
-    dispatch({
-      type: FunctionReset$1
-    });
-  }, [dispatch]);
-  return {
-    // prop getters.
-    getItemProps: getItemProps,
-    getLabelProps: getLabelProps,
-    getMenuProps: getMenuProps,
-    getInputProps: getInputProps,
-    getComboboxProps: getComboboxProps,
-    getToggleButtonProps: getToggleButtonProps,
-    // actions.
-    toggleMenu: toggleMenu,
-    openMenu: openMenu,
-    closeMenu: closeMenu,
-    setHighlightedIndex: setHighlightedIndex,
-    setInputValue: setInputValue,
-    selectItem: selectItem,
-    reset: reset,
-    // state.
-    highlightedIndex: highlightedIndex,
-    isOpen: isOpen,
-    selectedItem: selectedItem,
-    inputValue: inputValue
-  };
-}
+      _this.clearTimeout();

-var defaultStateValues = {
-  activeIndex: -1,
-  selectedItems: []
-};
-/**
- * Returns the initial value for a state key in the following order:
- * 1. controlled prop, 2. initial prop, 3. default prop, 4. default
- * value from Downshift.
- *
- * @param {Object} props Props passed to the hook.
- * @param {string} propKey Props key to generate the value for.
- * @returns {any} The initial value for that prop.
- */
+      _this.setTimeout(_this.onEnd);

-function getInitialValue(props, propKey) {
-  return getInitialValue$1(props, propKey, defaultStateValues);
-}
-/**
- * Returns the default value for a state key in the following order:
- * 1. controlled prop, 2. default prop, 3. default value from Downshift.
- *
- * @param {Object} props Props passed to the hook.
- * @param {string} propKey Props key to generate the value for.
- * @returns {any} The initial value for that prop.
- */
+      var values = getScrollEventValues(event, _this.transform);

+      _this.updateSharedState(getGenericEventData(event));

-function getDefaultValue(props, propKey) {
-  return getDefaultValue$1(props, propKey, defaultStateValues);
-}
-/**
- * Gets the initial state based on the provided props. It uses initial, default
- * and controlled props related to state in order to compute the initial value.
- *
- * @param {Object} props Props passed to the hook.
- * @returns {Object} The initial state.
- */
+      if (!_this.state._active) {
+        _this.updateGestureState(reactusegesture_esm_extends({}, getStartGestureState(reactusegesture_esm_assertThisInitialized(_this), values, event, _this.state.values), getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event, true)));
+
+        var movementDetection = _this.getMovement(values);

+        var geometry = calculateAllGeometry(movementDetection.delta);

-function downshift_esm_getInitialState(props) {
-  var activeIndex = getInitialValue(props, 'activeIndex');
-  var selectedItems = getInitialValue(props, 'selectedItems');
-  return {
-    activeIndex: activeIndex,
-    selectedItems: selectedItems
-  };
-}
-/**
- * Returns true if dropdown keydown operation is permitted. Should not be
- * allowed on keydown with modifier keys (ctrl, alt, shift, meta), on
- * input element with text content that is either highlighted or selection
- * cursor is not at the starting position.
- *
- * @param {KeyboardEvent} event The event from keydown.
- * @returns {boolean} Whether the operation is allowed.
- */
+        _this.updateGestureState(movementDetection);

+        _this.updateGestureState(geometry);
+      } else {
+        _this.updateGestureState(reactusegesture_esm_extends({}, getGenericPayload(reactusegesture_esm_assertThisInitialized(_this), event), _this.getKinematics(values, event)));
+      }

-function isKeyDownOperationPermitted(event) {
-  if (event.shiftKey || event.metaKey || event.ctrlKey || event.altKey) {
-    return false;
-  }
+      _this.fireGestureHandler();
+    };

-  var element = event.target;
+    _this.onEnd = function () {
+      _this.clean();

-  if (element instanceof HTMLInputElement && // if element is a text input
-  element.value !== '' && (element.selectionStart !== 0 || element.selectionEnd !== 0)) {
-    return false;
+      if (!_this.state._active) return;
+
+      _this.updateGestureState(reactusegesture_esm_extends({}, _this.getMovement(_this.state.values), {
+        _active: false,
+        velocities: [0, 0],
+        velocity: 0
+      }));
+
+      _this.fireGestureHandler();
+    };
+
+    return _this;
   }

-  return true;
-}
-/**
- * Returns a message to be added to aria-live region when item is removed.
- *
- * @param {Object} selectionParameters Parameters required to build the message.
- * @returns {string} The a11y message.
- */
+  var _proto = ScrollRecognizer.prototype;

+  _proto.addBindings = function addBindings$1(bindings) {
+    addBindings(bindings, 'onScroll', this.handleEvent);
+  };

-function downshift_esm_getA11yRemovalMessage(selectionParameters) {
-  var removedSelectedItem = selectionParameters.removedSelectedItem,
-      itemToStringLocal = selectionParameters.itemToString;
-  return itemToStringLocal(removedSelectedItem) + " has been removed.";
-}
+  return ScrollRecognizer;
+}(CoordinatesRecognizer)));

-var propTypes = {
-  selectedItems: prop_types_default.a.array,
-  initialSelectedItems: prop_types_default.a.array,
-  defaultSelectedItems: prop_types_default.a.array,
-  itemToString: prop_types_default.a.func,
-  getA11yRemovalMessage: prop_types_default.a.func,
-  stateReducer: prop_types_default.a.func,
-  activeIndex: prop_types_default.a.number,
-  initialActiveIndex: prop_types_default.a.number,
-  defaultActiveIndex: prop_types_default.a.number,
-  onActiveIndexChange: prop_types_default.a.func,
-  onSelectedItemsChange: prop_types_default.a.func,
-  keyNavigationNext: prop_types_default.a.string,
-  keyNavigationPrevious: prop_types_default.a.string,
-  environment: prop_types_default.a.shape({
-    addEventListener: prop_types_default.a.func,
-    removeEventListener: prop_types_default.a.func,
-    document: prop_types_default.a.shape({
-      getElementById: prop_types_default.a.func,
-      activeElement: prop_types_default.a.any,
-      body: prop_types_default.a.any
-    })
-  })
-};
-var downshift_esm_defaultProps = {
-  itemToString: defaultProps$3.itemToString,
-  stateReducer: defaultProps$3.stateReducer,
-  environment: defaultProps$3.environment,
-  getA11yRemovalMessage: downshift_esm_getA11yRemovalMessage,
-  keyNavigationNext: 'ArrowRight',
-  keyNavigationPrevious: 'ArrowLeft'
-}; // eslint-disable-next-line import/no-mutable-exports
+/**
+ * Scroll hook.
+ *
+ * @param handler - the function fired every time the scroll gesture updates
+ * @param [config={}] - the config object including generic options and scroll options
+ */

-var validatePropTypes = downshift_esm_noop;
-/* istanbul ignore next */
+function useScroll(handler, config) {
+  if (config === void 0) {
+    config = {};
+  }

-if (false) {}
+  RecognizersMap.set('scroll', ScrollRecognizer);
+  var buildScrollConfig = useRef();

-var SelectedItemClick =  false ? undefined : 0;
-var SelectedItemKeyDownDelete =  false ? undefined : 1;
-var SelectedItemKeyDownBackspace =  false ? undefined : 2;
-var SelectedItemKeyDownNavigationNext =  false ? undefined : 3;
-var SelectedItemKeyDownNavigationPrevious =  false ? undefined : 4;
-var DropdownKeyDownNavigationPrevious =  false ? undefined : 5;
-var DropdownKeyDownBackspace =  false ? undefined : 6;
-var DropdownClick =  false ? undefined : 7;
-var FunctionAddSelectedItem =  false ? undefined : 8;
-var FunctionRemoveSelectedItem =  false ? undefined : 9;
-var FunctionSetSelectedItems =  false ? undefined : 10;
-var FunctionSetActiveIndex =  false ? undefined : 11;
-var FunctionReset =  false ? undefined : 12;
-
-var downshift_esm_stateChangeTypes = /*#__PURE__*/Object.freeze({
-  __proto__: null,
-  SelectedItemClick: SelectedItemClick,
-  SelectedItemKeyDownDelete: SelectedItemKeyDownDelete,
-  SelectedItemKeyDownBackspace: SelectedItemKeyDownBackspace,
-  SelectedItemKeyDownNavigationNext: SelectedItemKeyDownNavigationNext,
-  SelectedItemKeyDownNavigationPrevious: SelectedItemKeyDownNavigationPrevious,
-  DropdownKeyDownNavigationPrevious: DropdownKeyDownNavigationPrevious,
-  DropdownKeyDownBackspace: DropdownKeyDownBackspace,
-  DropdownClick: DropdownClick,
-  FunctionAddSelectedItem: FunctionAddSelectedItem,
-  FunctionRemoveSelectedItem: FunctionRemoveSelectedItem,
-  FunctionSetSelectedItems: FunctionSetSelectedItems,
-  FunctionSetActiveIndex: FunctionSetActiveIndex,
-  FunctionReset: FunctionReset
-});
+  if (!buildScrollConfig.current) {
+    buildScrollConfig.current = memoizeOne(_buildScrollConfig, isEqual);
+  }

-/* eslint-disable complexity */
+  return useRecognizers({
+    scroll: handler
+  }, buildScrollConfig.current(config));
+}

-function downshiftMultipleSelectionReducer(state, action) {
-  var type = action.type,
-      index = action.index,
-      props = action.props,
-      selectedItem = action.selectedItem;
-  var activeIndex = state.activeIndex,
-      selectedItems = state.selectedItems;
-  var changes;
+var RE_NOT_NATIVE = /^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;

-  switch (type) {
-    case SelectedItemClick:
-      changes = {
-        activeIndex: index
-      };
-      break;
+function sortHandlers(handlers) {
+  var _native = {};
+  var handle = {};
+  var actions = new Set();

-    case SelectedItemKeyDownNavigationPrevious:
-      changes = {
-        activeIndex: activeIndex - 1 < 0 ? 0 : activeIndex - 1
-      };
-      break;
+  for (var key in handlers) {
+    if (RE_NOT_NATIVE.test(key)) {
+      actions.add(RegExp.lastMatch);
+      handle[key] = handlers[key];
+    } else {
+      _native[key] = handlers[key];
+    }
+  }

-    case SelectedItemKeyDownNavigationNext:
-      changes = {
-        activeIndex: activeIndex + 1 >= selectedItems.length ? -1 : activeIndex + 1
-      };
-      break;
+  return [handle, _native, actions];
+}
+/**
+ * @public
+ *
+ * The most complete gesture hook, allowing support for multiple gestures.
+ *
+ * @param {Handlers} handlers - an object with on[Gesture] keys containg gesture handlers
+ * @param {UseGestureConfig} [config={}] - the full config object
+ * @returns {(...args: any[]) => HookReturnType<Config>}
+ */

-    case SelectedItemKeyDownBackspace:
-    case SelectedItemKeyDownDelete:
-      {
-        var newActiveIndex = activeIndex;

-        if (selectedItems.length === 1) {
-          newActiveIndex = -1;
-        } else if (activeIndex === selectedItems.length - 1) {
-          newActiveIndex = selectedItems.length - 2;
-        }
+function useGesture(_handlers, config) {
+  if (config === void 0) {
+    config = {};
+  }

-        changes = Object(esm_extends["a" /* default */])({
-          selectedItems: [].concat(selectedItems.slice(0, activeIndex), selectedItems.slice(activeIndex + 1))
-        }, {
-          activeIndex: newActiveIndex
-        });
-        break;
-      }
+  var _sortHandlers = sortHandlers(_handlers),
+      handlers = _sortHandlers[0],
+      nativeHandlers = _sortHandlers[1],
+      actions = _sortHandlers[2];

-    case DropdownKeyDownNavigationPrevious:
-      changes = {
-        activeIndex: selectedItems.length - 1
-      };
-      break;
+  RecognizersMap.set('drag', DragRecognizer);
+  RecognizersMap.set('hover', MoveRecognizer);
+  RecognizersMap.set('move', MoveRecognizer);
+  RecognizersMap.set('pinch', PinchRecognizer);
+  RecognizersMap.set('scroll', ScrollRecognizer);
+  RecognizersMap.set('wheel', WheelRecognizer);
+  var mergedConfig = buildComplexConfig(config, actions);
+  var internalHandlers = {};
+  if (actions.has('onDrag')) internalHandlers.drag = includeStartEndHandlers(handlers, 'onDrag');
+  if (actions.has('onWheel')) internalHandlers.wheel = includeStartEndHandlers(handlers, 'onWheel');
+  if (actions.has('onScroll')) internalHandlers.scroll = includeStartEndHandlers(handlers, 'onScroll');
+  if (actions.has('onMove')) internalHandlers.move = includeStartEndHandlers(handlers, 'onMove');
+  if (actions.has('onPinch')) internalHandlers.pinch = includeStartEndHandlers(handlers, 'onPinch');
+  if (actions.has('onHover')) internalHandlers.hover = handlers.onHover;
+  return useRecognizers(internalHandlers, mergedConfig, nativeHandlers);
+}

-    case DropdownKeyDownBackspace:
-      changes = {
-        selectedItems: selectedItems.slice(0, selectedItems.length - 1)
-      };
-      break;
+function includeStartEndHandlers(handlers, handlerKey) {
+  var startKey = handlerKey + 'Start';
+  var endKey = handlerKey + 'End';

-    case FunctionAddSelectedItem:
-      changes = {
-        selectedItems: [].concat(selectedItems, [selectedItem])
-      };
-      break;
+  var fn = function fn(state) {
+    var memo = undefined;
+    if (state.first && startKey in handlers) handlers[startKey](state);
+    if (handlerKey in handlers) memo = handlers[handlerKey](state);
+    if (state.last && endKey in handlers) handlers[endKey](state);
+    return memo;
+  };

-    case DropdownClick:
-      changes = {
-        activeIndex: -1
-      };
-      break;
+  return fn;
+}

-    case FunctionRemoveSelectedItem:
-      {
-        var _newActiveIndex = activeIndex;
-        var selectedItemIndex = selectedItems.indexOf(selectedItem);

-        if (selectedItems.length === 1) {
-          _newActiveIndex = -1;
-        } else if (selectedItemIndex === selectedItems.length - 1) {
-          _newActiveIndex = selectedItems.length - 2;
-        }

-        changes = Object(esm_extends["a" /* default */])({
-          selectedItems: [].concat(selectedItems.slice(0, selectedItemIndex), selectedItems.slice(selectedItemIndex + 1))
-        }, {
-          activeIndex: _newActiveIndex
-        });
-        break;
-      }
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/utils.js
+/**
+ * WordPress dependencies
+ */

-    case FunctionSetSelectedItems:
-      {
-        var newSelectedItems = action.selectedItems;
-        changes = {
-          selectedItems: newSelectedItems
-        };
-        break;
-      }
+/**
+ * Gets a CSS cursor value based on a drag direction.
+ *
+ * @param  dragDirection The drag direction.
+ * @return  The CSS cursor value.
+ */

-    case FunctionSetActiveIndex:
-      {
-        var _newActiveIndex2 = action.activeIndex;
-        changes = {
-          activeIndex: _newActiveIndex2
-        };
-        break;
-      }
+function getDragCursor(dragDirection) {
+  let dragCursor = 'ns-resize';

-    case FunctionReset:
-      changes = {
-        activeIndex: getDefaultValue(props, 'activeIndex'),
-        selectedItems: getDefaultValue(props, 'selectedItems')
-      };
+  switch (dragDirection) {
+    case 'n':
+    case 's':
+      dragCursor = 'ns-resize';
       break;

-    default:
-      throw new Error('Reducer called without proper action type.');
+    case 'e':
+    case 'w':
+      dragCursor = 'ew-resize';
+      break;
   }

-  return Object(esm_extends["a" /* default */])({}, state, changes);
+  return dragCursor;
 }
+/**
+ * Custom hook that renders a drag cursor when dragging.
+ *
+ * @param {boolean} isDragging    The dragging state.
+ * @param {string}  dragDirection The drag direction.
+ *
+ * @return {string} The CSS cursor value.
+ */

-var _excluded = ["refKey", "ref", "onClick", "onKeyDown", "selectedItem", "index"],
-    _excluded2 = ["refKey", "ref", "onKeyDown", "onClick", "preventKeyAction"];
-useMultipleSelection.stateChangeTypes = downshift_esm_stateChangeTypes;
+function useDragCursor(isDragging, dragDirection) {
+  const dragCursor = getDragCursor(dragDirection);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isDragging) {
+      document.documentElement.style.cursor = dragCursor;
+    } else {
+      // @ts-expect-error
+      document.documentElement.style.cursor = null;
+    }
+  }, [isDragging]);
+  return dragCursor;
+}

-function useMultipleSelection(userProps) {
-  if (userProps === void 0) {
-    userProps = {};
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/reducer/state.js
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

-  validatePropTypes(userProps, useMultipleSelection); // Props defaults and destructuring.
+/**
+ * Internal dependencies
+ */
+const initialStateReducer = state => state;
+const initialInputControlState = {
+  _event: {},
+  error: null,
+  initialValue: '',
+  isDirty: false,
+  isDragEnabled: false,
+  isDragging: false,
+  isPressEnterToChange: false,
+  value: ''
+};

-  var props = Object(esm_extends["a" /* default */])({}, downshift_esm_defaultProps, userProps);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/reducer/actions.js
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

-  var getA11yRemovalMessage = props.getA11yRemovalMessage,
-      itemToString = props.itemToString,
-      environment = props.environment,
-      keyNavigationNext = props.keyNavigationNext,
-      keyNavigationPrevious = props.keyNavigationPrevious; // Reducer init.
+/**
+ * Internal dependencies
+ */
+const CHANGE = 'CHANGE';
+const COMMIT = 'COMMIT';
+const DRAG_END = 'DRAG_END';
+const DRAG_START = 'DRAG_START';
+const DRAG = 'DRAG';
+const INVALIDATE = 'INVALIDATE';
+const PRESS_DOWN = 'PRESS_DOWN';
+const PRESS_ENTER = 'PRESS_ENTER';
+const PRESS_UP = 'PRESS_UP';
+const RESET = 'RESET';
+const UPDATE = 'UPDATE';

-  var _useControlledReducer = useControlledReducer$1(downshiftMultipleSelectionReducer, downshift_esm_getInitialState(props), props),
-      state = _useControlledReducer[0],
-      dispatch = _useControlledReducer[1];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/reducer/reducer.js
+/**
+ * External dependencies
+ */
+ // eslint-disable-next-line no-restricted-imports

-  var activeIndex = state.activeIndex,
-      selectedItems = state.selectedItems; // Refs.
+/**
+ * WordPress dependencies
+ */

-  var isInitialMountRef = Object(external_React_["useRef"])(true);
-  var dropdownRef = Object(external_React_["useRef"])(null);
-  var previousSelectedItemsRef = Object(external_React_["useRef"])(selectedItems);
-  var selectedItemRefs = Object(external_React_["useRef"])();
-  selectedItemRefs.current = [];
-  var latest = useLatestRef({
-    state: state,
-    props: props
-  }); // Effects.
+/**
+ * Internal dependencies
+ */

-  /* Sets a11y status message on changes in selectedItem. */

-  Object(external_React_["useEffect"])(function () {
-    if (isInitialMountRef.current) {
-      return;
-    }

-    if (selectedItems.length < previousSelectedItemsRef.current.length) {
-      var removedSelectedItem = previousSelectedItemsRef.current.find(function (item) {
-        return selectedItems.indexOf(item) < 0;
-      });
-      setStatus(getA11yRemovalMessage({
-        itemToString: itemToString,
-        resultCount: selectedItems.length,
-        removedSelectedItem: removedSelectedItem,
-        activeIndex: activeIndex,
-        activeSelectedItem: selectedItems[activeIndex]
-      }), environment.document);
-    }
+/**
+ * Prepares initialState for the reducer.
+ *
+ * @param  initialState The initial state.
+ * @return Prepared initialState for the reducer
+ */

-    previousSelectedItemsRef.current = selectedItems; // eslint-disable-next-line react-hooks/exhaustive-deps
-  }, [selectedItems.length]); // Sets focus on active item.
+function mergeInitialState() {
+  let initialState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialInputControlState;
+  const {
+    value
+  } = initialState;
+  return { ...initialInputControlState,
+    ...initialState,
+    initialValue: value
+  };
+}
+/**
+ * Composes multiple stateReducers into a single stateReducer, building
+ * the pipeline to control the flow for state and actions.
+ *
+ * @param  fns State reducers.
+ * @return The single composed stateReducer.
+ */

-  Object(external_React_["useEffect"])(function () {
-    if (isInitialMountRef.current) {
-      return;
-    }

-    if (activeIndex === -1 && dropdownRef.current) {
-      dropdownRef.current.focus();
-    } else if (selectedItemRefs.current[activeIndex]) {
-      selectedItemRefs.current[activeIndex].focus();
+const composeStateReducers = function () {
+  for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {
+    fns[_key] = arguments[_key];
+  }
+
+  return function () {
+    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+      args[_key2] = arguments[_key2];
     }
-  }, [activeIndex]);
-  useControlPropsValidator({
-    isInitialMount: isInitialMountRef.current,
-    props: props,
-    state: state
-  });
-  var setGetterPropCallInfo = useGetterPropsCalledChecker('getDropdownProps'); // Make initial ref false.

-  Object(external_React_["useEffect"])(function () {
-    isInitialMountRef.current = false;
-  }, []); // Event handler functions.
+    return fns.reduceRight((state, fn) => {
+      const fnState = fn(...args);
+      return (0,external_lodash_namespaceObject.isEmpty)(fnState) ? state : { ...state,
+        ...fnState
+      };
+    }, {});
+  };
+};
+/**
+ * Creates a reducer that opens the channel for external state subscription
+ * and modification.
+ *
+ * This technique uses the "stateReducer" design pattern:
+ * https://kentcdodds.com/blog/the-state-reducer-pattern/
+ *
+ * @param  composedStateReducers A custom reducer that can subscribe and modify state.
+ * @return The reducer.
+ */

-  var selectedItemKeyDownHandlers = Object(external_React_["useMemo"])(function () {
-    var _ref;
+function inputControlStateReducer(composedStateReducers) {
+  return (state, action) => {
+    const nextState = { ...state
+    };

-    return _ref = {}, _ref[keyNavigationPrevious] = function () {
-      dispatch({
-        type: SelectedItemKeyDownNavigationPrevious
-      });
-    }, _ref[keyNavigationNext] = function () {
-      dispatch({
-        type: SelectedItemKeyDownNavigationNext
-      });
-    }, _ref.Delete = function Delete() {
-      dispatch({
-        type: SelectedItemKeyDownDelete
-      });
-    }, _ref.Backspace = function Backspace() {
-      dispatch({
-        type: SelectedItemKeyDownBackspace
-      });
-    }, _ref;
-  }, [dispatch, keyNavigationNext, keyNavigationPrevious]);
-  var dropdownKeyDownHandlers = Object(external_React_["useMemo"])(function () {
-    var _ref2;
+    switch (action.type) {
+      /**
+       * Keyboard events
+       */
+      case PRESS_UP:
+        nextState.isDirty = false;
+        break;

-    return _ref2 = {}, _ref2[keyNavigationPrevious] = function (event) {
-      if (isKeyDownOperationPermitted(event)) {
-        dispatch({
-          type: DropdownKeyDownNavigationPrevious
-        });
-      }
-    }, _ref2.Backspace = function Backspace(event) {
-      if (isKeyDownOperationPermitted(event)) {
-        dispatch({
-          type: DropdownKeyDownBackspace
-        });
-      }
-    }, _ref2;
-  }, [dispatch, keyNavigationPrevious]); // Getter props.
+      case PRESS_DOWN:
+        nextState.isDirty = false;
+        break;
+
+      /**
+       * Drag events
+       */
+
+      case DRAG_START:
+        nextState.isDragging = true;
+        break;

-  var getSelectedItemProps = Object(external_React_["useCallback"])(function (_temp) {
-    var _extends2;
+      case DRAG_END:
+        nextState.isDragging = false;
+        break;

-    var _ref3 = _temp === void 0 ? {} : _temp,
-        _ref3$refKey = _ref3.refKey,
-        refKey = _ref3$refKey === void 0 ? 'ref' : _ref3$refKey,
-        ref = _ref3.ref,
-        onClick = _ref3.onClick,
-        onKeyDown = _ref3.onKeyDown,
-        selectedItem = _ref3.selectedItem,
-        index = _ref3.index,
-        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref3, _excluded);
+      /**
+       * Input events
+       */

-    var latestState = latest.current.state;
-    var itemIndex = getItemIndex(index, selectedItem, latestState.selectedItems);
+      case CHANGE:
+        nextState.error = null;
+        nextState.value = action.payload.value;

-    if (itemIndex < 0) {
-      throw new Error('Pass either selectedItem or index in getSelectedItemProps!');
-    }
+        if (state.isPressEnterToChange) {
+          nextState.isDirty = true;
+        }

-    var selectedItemHandleClick = function selectedItemHandleClick() {
-      dispatch({
-        type: SelectedItemClick,
-        index: index
-      });
-    };
+        break;

-    var selectedItemHandleKeyDown = function selectedItemHandleKeyDown(event) {
-      var key = normalizeArrowKey(event);
+      case COMMIT:
+        nextState.value = action.payload.value;
+        nextState.isDirty = false;
+        break;

-      if (key && selectedItemKeyDownHandlers[key]) {
-        selectedItemKeyDownHandlers[key](event);
-      }
-    };
+      case RESET:
+        nextState.error = null;
+        nextState.isDirty = false;
+        nextState.value = action.payload.value || state.initialValue;
+        break;

-    return Object(esm_extends["a" /* default */])((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function (selectedItemNode) {
-      if (selectedItemNode) {
-        selectedItemRefs.current.push(selectedItemNode);
-      }
-    }), _extends2.tabIndex = index === latestState.activeIndex ? 0 : -1, _extends2.onClick = callAllEventHandlers(onClick, selectedItemHandleClick), _extends2.onKeyDown = callAllEventHandlers(onKeyDown, selectedItemHandleKeyDown), _extends2), rest);
-  }, [dispatch, latest, selectedItemKeyDownHandlers]);
-  var getDropdownProps = Object(external_React_["useCallback"])(function (_temp2, _temp3) {
-    var _extends3;
+      case UPDATE:
+        nextState.value = action.payload.value;
+        nextState.isDirty = false;
+        break;

-    var _ref4 = _temp2 === void 0 ? {} : _temp2,
-        _ref4$refKey = _ref4.refKey,
-        refKey = _ref4$refKey === void 0 ? 'ref' : _ref4$refKey,
-        ref = _ref4.ref,
-        onKeyDown = _ref4.onKeyDown,
-        onClick = _ref4.onClick,
-        _ref4$preventKeyActio = _ref4.preventKeyAction,
-        preventKeyAction = _ref4$preventKeyActio === void 0 ? false : _ref4$preventKeyActio,
-        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref4, _excluded2);
+      /**
+       * Validation
+       */

-    var _ref5 = _temp3 === void 0 ? {} : _temp3,
-        _ref5$suppressRefErro = _ref5.suppressRefError,
-        suppressRefError = _ref5$suppressRefErro === void 0 ? false : _ref5$suppressRefErro;
+      case INVALIDATE:
+        nextState.error = action.payload.error;
+        break;
+    }

-    setGetterPropCallInfo('getDropdownProps', suppressRefError, refKey, dropdownRef);
+    if (action.payload.event) {
+      nextState._event = action.payload.event;
+    }
+    /**
+     * Send the nextState + action to the composedReducers via
+     * this "bridge" mechanism. This allows external stateReducers
+     * to hook into actions, and modify state if needed.
+     */

-    var dropdownHandleKeyDown = function dropdownHandleKeyDown(event) {
-      var key = normalizeArrowKey(event);

-      if (key && dropdownKeyDownHandlers[key]) {
-        dropdownKeyDownHandlers[key](event);
-      }
-    };
+    return composedStateReducers(nextState, action);
+  };
+}
+/**
+ * A custom hook that connects and external stateReducer with an internal
+ * reducer. This hook manages the internal state of InputControl.
+ * However, by connecting an external stateReducer function, other
+ * components can react to actions as well as modify state before it is
+ * applied.
+ *
+ * This technique uses the "stateReducer" design pattern:
+ * https://kentcdodds.com/blog/the-state-reducer-pattern/
+ *
+ * @param  stateReducer An external state reducer.
+ * @param  initialState The initial state for the reducer.
+ * @return State, dispatch, and a collection of actions.
+ */

-    var dropdownHandleClick = function dropdownHandleClick() {
-      dispatch({
-        type: DropdownClick
-      });
-    };

-    return Object(esm_extends["a" /* default */])((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function (dropdownNode) {
-      if (dropdownNode) {
-        dropdownRef.current = dropdownNode;
-      }
-    }), _extends3), !preventKeyAction && {
-      onKeyDown: callAllEventHandlers(onKeyDown, dropdownHandleKeyDown),
-      onClick: callAllEventHandlers(onClick, dropdownHandleClick)
-    }, rest);
-  }, [dispatch, dropdownKeyDownHandlers, setGetterPropCallInfo]); // returns
+function useInputControlStateReducer() {
+  let stateReducer = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialStateReducer;
+  let initialState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : initialInputControlState;
+  const [state, dispatch] = (0,external_wp_element_namespaceObject.useReducer)(inputControlStateReducer(stateReducer), mergeInitialState(initialState));
+
+  const createChangeEvent = type => (nextValue, event) => {
+    /**
+     * Persist allows for the (Synthetic) event to be used outside of
+     * this function call.
+     * https://reactjs.org/docs/events.html#event-pooling
+     */
+    if (event && event.persist) {
+      event.persist();
+    }

-  var addSelectedItem = Object(external_React_["useCallback"])(function (selectedItem) {
-    dispatch({
-      type: FunctionAddSelectedItem,
-      selectedItem: selectedItem
-    });
-  }, [dispatch]);
-  var removeSelectedItem = Object(external_React_["useCallback"])(function (selectedItem) {
-    dispatch({
-      type: FunctionRemoveSelectedItem,
-      selectedItem: selectedItem
-    });
-  }, [dispatch]);
-  var setSelectedItems = Object(external_React_["useCallback"])(function (newSelectedItems) {
     dispatch({
-      type: FunctionSetSelectedItems,
-      selectedItems: newSelectedItems
+      type,
+      payload: {
+        value: nextValue,
+        event
+      }
     });
-  }, [dispatch]);
-  var setActiveIndex = Object(external_React_["useCallback"])(function (newActiveIndex) {
+  };
+
+  const createKeyEvent = type => event => {
+    /**
+     * Persist allows for the (Synthetic) event to be used outside of
+     * this function call.
+     * https://reactjs.org/docs/events.html#event-pooling
+     */
+    if (event && event.persist) {
+      event.persist();
+    }
+
     dispatch({
-      type: FunctionSetActiveIndex,
-      activeIndex: newActiveIndex
+      type,
+      payload: {
+        event
+      }
     });
-  }, [dispatch]);
-  var reset = Object(external_React_["useCallback"])(function () {
+  };
+
+  const createDragEvent = type => payload => {
     dispatch({
-      type: FunctionReset
+      type,
+      payload
     });
-  }, [dispatch]);
-  return {
-    getSelectedItemProps: getSelectedItemProps,
-    getDropdownProps: getDropdownProps,
-    addSelectedItem: addSelectedItem,
-    removeSelectedItem: removeSelectedItem,
-    setSelectedItems: setSelectedItems,
-    setActiveIndex: setActiveIndex,
-    reset: reset,
-    selectedItems: selectedItems,
-    activeIndex: activeIndex
   };
-}
+  /**
+   * Actions for the reducer
+   */


+  const change = createChangeEvent(CHANGE);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-select-control/index.js
+  const invalidate = (error, event) => dispatch({
+    type: INVALIDATE,
+    payload: {
+      error,
+      event
+    }
+  });

+  const reset = createChangeEvent(RESET);
+  const commit = createChangeEvent(COMMIT);
+  const update = createChangeEvent(UPDATE);
+  const dragStart = createDragEvent(DRAG_START);
+  const drag = createDragEvent(DRAG);
+  const dragEnd = createDragEvent(DRAG_END);
+  const pressUp = createKeyEvent(PRESS_UP);
+  const pressDown = createKeyEvent(PRESS_DOWN);
+  const pressEnter = createKeyEvent(PRESS_ENTER);
+  return {
+    change,
+    commit,
+    dispatch,
+    drag,
+    dragEnd,
+    dragStart,
+    invalidate,
+    pressDown,
+    pressEnter,
+    pressUp,
+    reset,
+    state,
+    update
+  };
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/values.js
+/* eslint-disable jsdoc/valid-types */

 /**
- * External dependencies
+ * Determines if a value is null or undefined.
+ *
+ * @template T
+ *
+ * @param {T | null | undefined} value The value to check.
+ * @return {value is T} Whether value is not null or undefined.
  */
+function isValueDefined(value) {
+  return value !== undefined && value !== null;
+}
+/* eslint-enable jsdoc/valid-types */

+/* eslint-disable jsdoc/valid-types */

 /**
- * WordPress dependencies
+ * Determines if a value is empty, null, or undefined.
+ *
+ * @template T
+ *
+ * @param {T | "" | null | undefined} value The value to check.
+ * @return {value is T} Whether value is empty.
  */

-
-
+function isValueEmpty(value) {
+  const isEmptyString = value === '';
+  return !isValueDefined(value) || isEmptyString;
+}
+/* eslint-enable jsdoc/valid-types */

 /**
- * Internal dependencies
+ * Get the first defined/non-null value from an array.
+ *
+ * @template T
+ *
+ * @param {Array<T | null | undefined>} values        Values to derive from.
+ * @param {T}                           fallbackValue Fallback value if there are no defined values.
+ * @return {T} A defined value or the fallback value.
  */

+function getDefinedValue() {
+  var _values$find;

+  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  let fallbackValue = arguments.length > 1 ? arguments[1] : undefined;
+  return (_values$find = values.find(isValueDefined)) !== null && _values$find !== void 0 ? _values$find : fallbackValue;
+}
+/**
+ * @param {string} [locale]
+ * @return {[RegExp, RegExp]} The delimiter and decimal regexp
+ */

-const custom_select_control_itemToString = item => item === null || item === void 0 ? void 0 : item.name; // This is needed so that in Windows, where
-// the menu does not necessarily open on
-// key up/down, you can still switch between
-// options with the menu closed.
-
-
-const custom_select_control_stateReducer = (_ref, _ref2) => {
-  let {
-    selectedItem
-  } = _ref;
-  let {
-    type,
-    changes,
-    props: {
-      items
-    }
-  } = _ref2;
-
-  switch (type) {
-    case useSelect.stateChangeTypes.ToggleButtonKeyDownArrowDown:
-      // If we already have a selected item, try to select the next one,
-      // without circular navigation. Otherwise, select the first item.
-      return {
-        selectedItem: items[selectedItem ? Math.min(items.indexOf(selectedItem) + 1, items.length - 1) : 0]
-      };
+const getDelimiterAndDecimalRegex = locale => {
+  const formatted = Intl.NumberFormat(locale).format(1000.1);
+  const delimiter = formatted[1];
+  const decimal = formatted[formatted.length - 2];
+  return [new RegExp(`\\${delimiter}`, 'g'), new RegExp(`\\${decimal}`, 'g')];
+}; // https://en.wikipedia.org/wiki/Decimal_separator#Current_standards

-    case useSelect.stateChangeTypes.ToggleButtonKeyDownArrowUp:
-      // If we already have a selected item, try to select the previous one,
-      // without circular navigation. Otherwise, select the last item.
-      return {
-        selectedItem: items[selectedItem ? Math.max(items.indexOf(selectedItem) - 1, 0) : items.length - 1]
-      };

-    default:
-      return changes;
-  }
-};
+const INTERNATIONAL_THOUSANDS_DELIMITER = / /g;
+const ARABIC_NUMERAL_LOCALES = (/* unused pure expression or super */ null && (['ar', 'fa', 'ur', 'ckb', 'ps']));
+const EASTERN_ARABIC_NUMBERS = /([۰-۹]|[٠-٩])/g;
+/**
+ * Checks to see if a value is a numeric value (`number` or `string`).
+ *
+ * Intentionally ignores whether the thousands delimiters are only
+ * in the thousands marks.
+ *
+ * @param {any}    value
+ * @param {string} [locale]
+ * @return {boolean} Whether value is numeric.
+ */

-function CustomSelectControl(_ref3) {
-  var _menuProps$ariaActiv;
+function isValueNumeric(value) {
+  let locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : window.navigator.language;

-  let {
-    className,
-    hideLabelFromVision,
-    label,
-    describedBy,
-    options: items,
-    onChange: onSelectedItemChange,
-    value: _selectedItem
-  } = _ref3;
-  const {
-    getLabelProps,
-    getToggleButtonProps,
-    getMenuProps,
-    getItemProps,
-    isOpen,
-    highlightedIndex,
-    selectedItem
-  } = useSelect({
-    initialSelectedItem: items[0],
-    items,
-    itemToString: custom_select_control_itemToString,
-    onSelectedItemChange,
-    ...(typeof _selectedItem !== 'undefined' && _selectedItem !== null ? {
-      selectedItem: _selectedItem
-    } : undefined),
-    stateReducer: custom_select_control_stateReducer
-  });
+  if (ARABIC_NUMERAL_LOCALES.some(l => locale.startsWith(l))) {
+    locale = 'en-GB';

-  function getDescribedBy() {
-    if (describedBy) {
-      return describedBy;
+    if (EASTERN_ARABIC_NUMBERS.test(value)) {
+      value = value.replace(/[٠-٩]/g, (
+      /** @type {string} */
+      d) => '٠١٢٣٤٥٦٧٨٩'.indexOf(d)).replace(/[۰-۹]/g, (
+      /** @type {string} */
+      d) => '۰۱۲۳۴۵۶۷۸۹'.indexOf(d)).replace(/٬/g, ',').replace(/٫/g, '.');
     }
-
-    if (!selectedItem) {
-      return Object(external_wp_i18n_["__"])('No selection');
-    } // translators: %s: The selected option.
-
-
-    return Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Currently selected: %s'), selectedItem.name);
   }

-  const menuProps = getMenuProps({
-    className: 'components-custom-select-control__menu',
-    'aria-hidden': !isOpen
-  });
-  const onKeyDownHandler = Object(external_wp_element_["useCallback"])(e => {
-    var _menuProps$onKeyDown;
-
-    e.stopPropagation();
-    menuProps === null || menuProps === void 0 ? void 0 : (_menuProps$onKeyDown = menuProps.onKeyDown) === null || _menuProps$onKeyDown === void 0 ? void 0 : _menuProps$onKeyDown.call(menuProps, e);
-  }, [menuProps]); // We need this here, because the null active descendant is not fully ARIA compliant.
+  const [delimiterRegexp, decimalRegexp] = getDelimiterAndDecimalRegex(locale);
+  const valueToCheck = typeof value === 'string' ? value.replace(delimiterRegexp, '').replace(decimalRegexp, '.').replace(INTERNATIONAL_THOUSANDS_DELIMITER, '') : value;
+  return !isNaN(parseFloat(valueToCheck)) && isFinite(valueToCheck);
+}

-  if ((_menuProps$ariaActiv = menuProps['aria-activedescendant']) !== null && _menuProps$ariaActiv !== void 0 && _menuProps$ariaActiv.startsWith('downshift-null')) {
-    delete menuProps['aria-activedescendant'];
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-update-effect.js
+/**
+ * WordPress dependencies
+ */

-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('components-custom-select-control', className)
-  }, hideLabelFromVision ? Object(external_wp_element_["createElement"])(component["a" /* default */], Object(esm_extends["a" /* default */])({
-    as: "label"
-  }, getLabelProps()), label) :
-  /* eslint-disable-next-line jsx-a11y/label-has-associated-control, jsx-a11y/label-has-for */
-  Object(external_wp_element_["createElement"])("label", getLabelProps({
-    className: 'components-custom-select-control__label'
-  }), label), Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], getToggleButtonProps({
-    // This is needed because some speech recognition software don't support `aria-labelledby`.
-    'aria-label': label,
-    'aria-labelledby': undefined,
-    className: 'components-custom-select-control__button',
-    isSmall: true,
-    describedBy: getDescribedBy()
-  }), custom_select_control_itemToString(selectedItem), Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: chevron_down["a" /* default */],
-    className: "components-custom-select-control__button-icon"
-  })), Object(external_wp_element_["createElement"])("ul", Object(esm_extends["a" /* default */])({}, menuProps, {
-    onKeyDown: onKeyDownHandler
-  }), isOpen && items.map((item, index) => // eslint-disable-next-line react/jsx-key
-  Object(external_wp_element_["createElement"])("li", getItemProps({
-    item,
-    index,
-    key: item.key,
-    className: classnames_default()(item.className, 'components-custom-select-control__item', {
-      'is-highlighted': index === highlightedIndex,
-      'has-hint': !!item.__experimentalHint
-    }),
-    style: item.style
-  }), item.name, item.__experimentalHint && Object(external_wp_element_["createElement"])("span", {
-    className: "components-custom-select-control__item-hint"
-  }, item.__experimentalHint), item === selectedItem && Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: check["a" /* default */],
-    className: "components-custom-select-control__item-icon"
-  })))));
-}
+/**
+ * A `React.useEffect` that will not run on the first render.
+ * Source:
+ * https://github.com/reakit/reakit/blob/HEAD/packages/reakit-utils/src/useUpdateEffect.ts
+ *
+ * @param {import('react').EffectCallback} effect
+ * @param {import('react').DependencyList} deps
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/dashicon/index.js
-var dashicon = __webpack_require__("vUUf");
+function use_update_effect_useUpdateEffect(effect, deps) {
+  const mounted = (0,external_wp_element_namespaceObject.useRef)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (mounted.current) {
+      return effect();
+    }

-// EXTERNAL MODULE: ./node_modules/react-dates/initialize.js
-var initialize = __webpack_require__("GG7f");
+    mounted.current = true;
+    return undefined;
+  }, deps);
+}

-// EXTERNAL MODULE: external "moment"
-var external_moment_ = __webpack_require__("wy2R");
-var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_);
+/* harmony default export */ var use_update_effect = (use_update_effect_useUpdateEffect);

-// EXTERNAL MODULE: ./node_modules/react-dates/lib/components/DayPickerSingleDateController.js
-var DayPickerSingleDateController = __webpack_require__("Xtko");
-var DayPickerSingleDateController_default = /*#__PURE__*/__webpack_require__.n(DayPickerSingleDateController);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/input-field.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/date-time/date.js


 /**
  * External dependencies
  */

- // react-dates doesn't tree-shake correctly, so we import from the individual
-// component here, to avoid including too much of the library
-
+ // eslint-disable-next-line no-restricted-imports

 /**
  * WordPress dependencies
  */


-
 /**
- * Module Constants
+ * Internal dependencies
  */

-const TIMEZONELESS_FORMAT = 'YYYY-MM-DDTHH:mm:ss';
-const ARIAL_LABEL_TIME_FORMAT = 'dddd, LL';

-function DatePickerDay(_ref) {
-  let {
-    day,
-    events = []
-  } = _ref;
-  const ref = Object(external_wp_element_["useRef"])();
-  /*
-   * a11y hack to make the `There is/are n events` string
-   * available speaking for readers,
-   * re-defining the aria-label attribute.
-   * This attribute is handled by the react-dates component.
-   */

-  Object(external_wp_element_["useEffect"])(() => {
-    var _ref$current;

-    // Bail when no parent node.
-    if (!(ref !== null && ref !== void 0 && (_ref$current = ref.current) !== null && _ref$current !== void 0 && _ref$current.parentNode)) {
-      return;
-    }

-    const {
-      parentNode
-    } = ref.current;
-    const dayAriaLabel = external_moment_default()(day).format(ARIAL_LABEL_TIME_FORMAT);

-    if (!events.length) {
-      // Set aria-label without event description.
-      parentNode.setAttribute('aria-label', dayAriaLabel);
+
+function InputField(_ref, ref) {
+  let {
+    disabled = false,
+    dragDirection = 'n',
+    dragThreshold = 10,
+    id,
+    isDragEnabled = false,
+    isFocused,
+    isPressEnterToChange = false,
+    onBlur = external_lodash_namespaceObject.noop,
+    onChange = external_lodash_namespaceObject.noop,
+    onDrag = external_lodash_namespaceObject.noop,
+    onDragEnd = external_lodash_namespaceObject.noop,
+    onDragStart = external_lodash_namespaceObject.noop,
+    onFocus = external_lodash_namespaceObject.noop,
+    onKeyDown = external_lodash_namespaceObject.noop,
+    onValidate = external_lodash_namespaceObject.noop,
+    size = 'default',
+    setIsFocused,
+    stateReducer = state => state,
+    value: valueProp,
+    type,
+    ...props
+  } = _ref;
+  const {
+    // State
+    state,
+    // Actions
+    change,
+    commit,
+    drag,
+    dragEnd,
+    dragStart,
+    invalidate,
+    pressDown,
+    pressEnter,
+    pressUp,
+    reset,
+    update
+  } = useInputControlStateReducer(stateReducer, {
+    isDragEnabled,
+    value: valueProp,
+    isPressEnterToChange
+  });
+  const {
+    _event,
+    value,
+    isDragging,
+    isDirty
+  } = state;
+  const wasDirtyOnBlur = (0,external_wp_element_namespaceObject.useRef)(false);
+  const dragCursor = useDragCursor(isDragging, dragDirection);
+  /*
+   * Handles synchronization of external and internal value state.
+   * If not focused and did not hold a dirty value[1] on blur
+   * updates the value from the props. Otherwise if not holding
+   * a dirty value[1] propagates the value and event through onChange.
+   * [1] value is only made dirty if isPressEnterToChange is true
+   */
+
+  use_update_effect(() => {
+    if (valueProp === value) {
       return;
     }

-    const dayWithEventsDescription = Object(external_wp_i18n_["sprintf"])( // translators: 1: Calendar day format, 2: Calendar event number.
-    Object(external_wp_i18n_["_n"])('%1$s. There is %2$d event.', '%1$s. There are %2$d events.', events.length), dayAriaLabel, events.length);
-    parentNode.setAttribute('aria-label', dayWithEventsDescription);
-  }, [events.length]);
-  return Object(external_wp_element_["createElement"])("div", {
-    ref: ref,
-    className: classnames_default()('components-datetime__date__day', {
-      'has-events': events === null || events === void 0 ? void 0 : events.length
-    })
-  }, day.format('D'));
-}
-
-class date_DatePicker extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.onChangeMoment = this.onChangeMoment.bind(this);
-    this.nodeRef = Object(external_wp_element_["createRef"])();
-    this.onMonthPreviewedHandler = this.onMonthPreviewedHandler.bind(this);
-  }
-
-  onMonthPreviewedHandler(newMonthDate) {
-    var _this$props$onMonthPr, _this$props;
+    if (!isFocused && !wasDirtyOnBlur.current) {
+      update(valueProp, _event);
+    } else if (!isDirty) {
+      onChange(value, {
+        event: _event
+      });
+      wasDirtyOnBlur.current = false;
+    }
+  }, [value, isDirty, isFocused, valueProp]);

-    (_this$props$onMonthPr = (_this$props = this.props).onMonthPreviewed) === null || _this$props$onMonthPr === void 0 ? void 0 : _this$props$onMonthPr.call(_this$props, newMonthDate.toISOString());
-    this.keepFocusInside();
-  }
-  /*
-   * Todo: We should remove this function ASAP.
-   * It is kept because focus is lost when we click on the previous and next month buttons.
-   * This focus loss closes the date picker popover.
-   * Ideally we should add an upstream commit on react-dates to fix this issue.
-   */
+  const handleOnBlur = event => {
+    onBlur(event);
+    setIsFocused === null || setIsFocused === void 0 ? void 0 : setIsFocused(false);
+    /**
+     * If isPressEnterToChange is set, this commits the value to
+     * the onChange callback.
+     */

+    if (isPressEnterToChange && isDirty) {
+      wasDirtyOnBlur.current = true;

-  keepFocusInside() {
-    if (!this.nodeRef.current) {
-      return;
+      if (!isValueEmpty(value)) {
+        handleOnCommit(event);
+      } else {
+        reset(valueProp, event);
+      }
     }
+  };

-    const {
-      ownerDocument
-    } = this.nodeRef.current;
-    const {
-      activeElement
-    } = ownerDocument; // If focus was lost.
-
-    if (!activeElement || !this.nodeRef.current.contains(ownerDocument.activeElement)) {
-      // Retrieve the focus region div.
-      const focusRegion = this.nodeRef.current.querySelector('.DayPicker_focusRegion');
+  const handleOnFocus = event => {
+    onFocus(event);
+    setIsFocused === null || setIsFocused === void 0 ? void 0 : setIsFocused(true);
+  };

-      if (!focusRegion) {
-        return;
-      } // Keep the focus on focus region.
+  const handleOnChange = event => {
+    const nextValue = event.target.value;
+    change(nextValue, event);
+  };

+  const handleOnCommit = event => {
+    const nextValue = event.currentTarget.value;

-      focusRegion.focus();
+    try {
+      onValidate(nextValue);
+      commit(nextValue, event);
+    } catch (err) {
+      invalidate(err, event);
     }
-  }
+  };

-  onChangeMoment(newDate) {
+  const handleOnKeyDown = event => {
     const {
-      currentDate,
-      onChange
-    } = this.props; // If currentDate is null, use now as momentTime to designate hours, minutes, seconds.
-
-    const momentDate = currentDate ? external_moment_default()(currentDate) : external_moment_default()();
-    const momentTime = {
-      hours: momentDate.hours(),
-      minutes: momentDate.minutes(),
-      seconds: 0
-    };
-    onChange(newDate.set(momentTime).format(TIMEZONELESS_FORMAT)); // Keep focus on the date picker.
-
-    this.keepFocusInside();
-  }
-  /**
-   * Create a Moment object from a date string. With no currentDate supplied, default to a Moment
-   * object representing now. If a null value is passed, return a null value.
-   *
-   * @param {?string} currentDate Date representing the currently selected date or null to signify no selection.
-   * @return {?moment.Moment} Moment object for selected date or null.
-   */
+      keyCode
+    } = event;
+    onKeyDown(event);

+    switch (keyCode) {
+      case external_wp_keycodes_namespaceObject.UP:
+        pressUp(event);
+        break;

-  getMomentDate(currentDate) {
-    if (null === currentDate) {
-      return null;
-    }
+      case external_wp_keycodes_namespaceObject.DOWN:
+        pressDown(event);
+        break;

-    return currentDate ? external_moment_default()(currentDate) : external_moment_default()();
-  }
+      case external_wp_keycodes_namespaceObject.ENTER:
+        pressEnter(event);

-  getEventsPerDay(day) {
-    var _this$props$events;
+        if (isPressEnterToChange) {
+          event.preventDefault();
+          handleOnCommit(event);
+        }

-    if (!((_this$props$events = this.props.events) !== null && _this$props$events !== void 0 && _this$props$events.length)) {
-      return [];
+        break;
     }
+  };

-    return this.props.events.filter(eventDay => day.isSame(eventDay.date, 'day'));
-  }
-
-  render() {
+  const dragGestureProps = reactusegesture_esm_useDrag(dragProps => {
     const {
-      currentDate,
-      isInvalidDate
-    } = this.props;
-    const momentDate = this.getMomentDate(currentDate);
-    return Object(external_wp_element_["createElement"])("div", {
-      className: "components-datetime__date",
-      ref: this.nodeRef
-    }, Object(external_wp_element_["createElement"])(DayPickerSingleDateController_default.a, {
-      date: momentDate,
-      daySize: 30,
-      focused: true,
-      hideKeyboardShortcutsPanel: true // This is a hack to force the calendar to update on month or year change
-      // https://github.com/airbnb/react-dates/issues/240#issuecomment-361776665
-      ,
-      key: `datepicker-controller-${momentDate ? momentDate.format('MM-YYYY') : 'null'}`,
-      noBorder: true,
-      numberOfMonths: 1,
-      onDateChange: this.onChangeMoment,
-      transitionDuration: 0,
-      weekDayFormat: "ddd",
-      dayAriaLabelFormat: ARIAL_LABEL_TIME_FORMAT,
-      isRTL: Object(external_wp_i18n_["isRTL"])(),
-      isOutsideRange: date => {
-        return isInvalidDate && isInvalidDate(date.toDate());
-      },
-      onPrevMonthClick: this.onMonthPreviewedHandler,
-      onNextMonthClick: this.onMonthPreviewedHandler,
-      renderDayContents: day => Object(external_wp_element_["createElement"])(DatePickerDay, {
-        day: day,
-        events: this.getEventsPerDay(day)
-      })
-    }));
-  }
-
-}
-
-/* harmony default export */ var date_time_date = (date_DatePicker);
-
-// EXTERNAL MODULE: external ["wp","date"]
-var external_wp_date_ = __webpack_require__("FqII");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/date-time/timezone.js
-
+      distance,
+      dragging,
+      event
+    } = dragProps; // The event is persisted to prevent errors in components using this
+    // to check if a modifier key was held while dragging.

-/**
- * WordPress dependencies
- */
+    event.persist();
+    if (!distance) return;
+    event.stopPropagation();
+    /**
+     * Quick return if no longer dragging.
+     * This prevents unnecessary value calculations.
+     */

+    if (!dragging) {
+      onDragEnd(dragProps);
+      dragEnd(dragProps);
+      return;
+    }

-/**
- * Internal dependencies
- */
+    onDrag(dragProps);
+    drag(dragProps);

+    if (!isDragging) {
+      onDragStart(dragProps);
+      dragStart(dragProps);
+    }
+  }, {
+    threshold: dragThreshold,
+    enabled: isDragEnabled
+  });
+  const dragProps = isDragEnabled ? dragGestureProps() : {};
+  /*
+   * Works around the odd UA (e.g. Firefox) that does not focus inputs of
+   * type=number when their spinner arrows are pressed.
+   */

-/**
- * Displays timezone information when user timezone is different from site timezone.
- */
+  let handleOnMouseDown;

-const TimeZone = () => {
-  const {
-    timezone
-  } = Object(external_wp_date_["__experimentalGetSettings"])(); // Convert timezone offset to hours.
+  if (type === 'number') {
+    handleOnMouseDown = event => {
+      var _props$onMouseDown;

-  const userTimezoneOffset = -1 * (new Date().getTimezoneOffset() / 60); // System timezone and user timezone match, nothing needed.
-  // Compare as numbers because it comes over as string.
+      (_props$onMouseDown = props.onMouseDown) === null || _props$onMouseDown === void 0 ? void 0 : _props$onMouseDown.call(props, event);

-  if (Number(timezone.offset) === userTimezoneOffset) {
-    return null;
+      if (event.currentTarget !== event.currentTarget.ownerDocument.activeElement) {
+        event.currentTarget.focus();
+      }
+    };
   }

-  const offsetSymbol = timezone.offset >= 0 ? '+' : '';
-  const zoneAbbr = '' !== timezone.abbr && isNaN(timezone.abbr) ? timezone.abbr : `UTC${offsetSymbol}${timezone.offset}`;
-  const timezoneDetail = 'UTC' === timezone.string ? Object(external_wp_i18n_["__"])('Coordinated Universal Time') : `(${zoneAbbr}) ${timezone.string.replace('_', ' ')}`;
-  return Object(external_wp_element_["createElement"])(build_module_tooltip["a" /* default */], {
-    position: "top center",
-    text: timezoneDetail
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-datetime__timezone"
-  }, zoneAbbr));
-};
+  return (0,external_wp_element_namespaceObject.createElement)(Input, extends_extends({}, props, dragProps, {
+    className: "components-input-control__input",
+    disabled: disabled,
+    dragCursor: dragCursor,
+    isDragging: isDragging,
+    id: id,
+    onBlur: handleOnBlur,
+    onChange: handleOnChange,
+    onFocus: handleOnFocus,
+    onKeyDown: handleOnKeyDown,
+    onMouseDown: handleOnMouseDown,
+    ref: ref,
+    inputSize: size,
+    value: value,
+    type: type
+  }));
+}
+
+const ForwardedComponent = (0,external_wp_element_namespaceObject.forwardRef)(InputField);
+/* harmony default export */ var input_field = (ForwardedComponent);

-/* harmony default export */ var date_time_timezone = (TimeZone);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/input-control/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/date-time/time.js


 /**
  * External dependencies
  */

-
+ // eslint-disable-next-line no-restricted-imports

 /**
  * WordPress dependencies
  */


-
 /**
  * Internal dependencies
  */
@@ -46657,267 +40380,216 @@ const TimeZone = () => {



-/**
- * Module Constants
- */
-
-const time_TIMEZONELESS_FORMAT = 'YYYY-MM-DDTHH:mm:ss';
-
-function from12hTo24h(hours, isPm) {
-  return isPm ? (hours % 12 + 12) % 24 : hours % 12;
+function input_control_useUniqueId(idProp) {
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(InputControl);
+  const id = `inspector-input-control-${instanceId}`;
+  return idProp || id;
 }
-/**
- * <UpdateOnBlurAsIntegerField>
- * A shared component to parse, validate, and handle remounting of the underlying form field element like <input> and <select>.
- *
- * @param {Object}        props          Component props.
- * @param {string}        props.as       Render the component as specific element tag, defaults to "input".
- * @param {number|string} props.value    The default value of the component which will be parsed to integer.
- * @param {Function}      props.onUpdate Call back when blurred and validated.
- */
-

-function UpdateOnBlurAsIntegerField(_ref) {
+function InputControl(_ref, ref) {
   let {
-    as,
+    __unstableStateReducer: stateReducer = state => state,
+    __unstableInputWidth,
+    className,
+    disabled = false,
+    hideLabelFromVision = false,
+    id: idProp,
+    isPressEnterToChange = false,
+    label,
+    labelPosition = 'top',
+    onChange = external_lodash_namespaceObject.noop,
+    onValidate = external_lodash_namespaceObject.noop,
+    onKeyDown = external_lodash_namespaceObject.noop,
+    prefix,
+    size = 'default',
+    suffix,
     value,
-    onUpdate,
     ...props
   } = _ref;
+  const [isFocused, setIsFocused] = (0,external_wp_element_namespaceObject.useState)(false);
+  const id = input_control_useUniqueId(idProp);
+  const classes = classnames_default()('components-input-control', className);
+  return (0,external_wp_element_namespaceObject.createElement)(input_base, {
+    __unstableInputWidth: __unstableInputWidth,
+    className: classes,
+    disabled: disabled,
+    gap: 3,
+    hideLabelFromVision: hideLabelFromVision,
+    id: id,
+    isFocused: isFocused,
+    justify: "left",
+    label: label,
+    labelPosition: labelPosition,
+    prefix: prefix,
+    size: size,
+    suffix: suffix
+  }, (0,external_wp_element_namespaceObject.createElement)(input_field, extends_extends({}, props, {
+    className: "components-input-control__input",
+    disabled: disabled,
+    id: id,
+    isFocused: isFocused,
+    isPressEnterToChange: isPressEnterToChange,
+    onChange: onChange,
+    onKeyDown: onKeyDown,
+    onValidate: onValidate,
+    ref: ref,
+    setIsFocused: setIsFocused,
+    size: size,
+    stateReducer: stateReducer,
+    value: value
+  })));
+}
+const input_control_ForwardedComponent = (0,external_wp_element_namespaceObject.forwardRef)(InputControl);
+/* harmony default export */ var input_control = (input_control_ForwardedComponent);

-  function handleBlur(event) {
-    const {
-      target
-    } = event;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/angle-picker-control/styles/angle-picker-control-styles.js

-    if (value === target.value) {
-      return;
-    }

-    const parsedValue = parseInt(target.value, 10); // Run basic number validation on the input.
+function angle_picker_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-    if (!Object(external_lodash_["isInteger"])(parsedValue) || typeof props.max !== 'undefined' && parsedValue > props.max || typeof props.min !== 'undefined' && parsedValue < props.min) {
-      // If validation failed, reset the value to the previous valid value.
-      target.value = value;
-    } else {
-      // Otherwise, it's valid, call onUpdate.
-      onUpdate(target.name, parsedValue);
-    }
-  }
+/**
+ * External dependencies
+ */

-  return Object(external_wp_element_["createElement"])(as || 'input', {
-    // Re-mount the input value to accept the latest value as the defaultValue.
-    key: value,
-    defaultValue: value,
-    onBlur: handleBlur,
-    ...props
-  });
-}
 /**
- * <TimePicker>
- *
- * @typedef {Date|string|number} WPValidDateTimeFormat
- *
- * @param {Object}                props             Component props.
- * @param {boolean}               props.is12Hour    Should the time picker showed in 12 hour format or 24 hour format.
- * @param {WPValidDateTimeFormat} props.currentTime The initial current time the time picker should render.
- * @param {Function}              props.onChange    Callback function when the date changed.
+ * Internal dependencies
  */


-function TimePicker(_ref2) {
-  let {
-    is12Hour,
-    currentTime,
-    onChange
-  } = _ref2;
-  const [date, setDate] = Object(external_wp_element_["useState"])(() => // Truncate the date at the minutes, see: #15495.
-  external_moment_default()(currentTime).startOf('minutes')); // Reset the state when currentTime changed.

-  Object(external_wp_element_["useEffect"])(() => {
-    setDate(currentTime ? external_moment_default()(currentTime).startOf('minutes') : external_moment_default()());
-  }, [currentTime]);
-  const {
-    day,
-    month,
-    year,
-    minutes,
-    hours,
-    am
-  } = Object(external_wp_element_["useMemo"])(() => ({
-    day: date.format('DD'),
-    month: date.format('MM'),
-    year: date.format('YYYY'),
-    minutes: date.format('mm'),
-    hours: date.format(is12Hour ? 'hh' : 'HH'),
-    am: date.format('H') <= 11 ? 'AM' : 'PM'
-  }), [date, is12Hour]);
-  /**
-   * Function that sets the date state and calls the onChange with a new date.
-   * The date is truncated at the minutes.
-   *
-   * @param {Object} newDate The date object.
-   */

-  function changeDate(newDate) {
-    setDate(newDate);
-    onChange(newDate.format(time_TIMEZONELESS_FORMAT));
-  }
+const CIRCLE_SIZE = 32;
+const INNER_CIRCLE_SIZE = 3;
+const angle_picker_control_styles_Root = /*#__PURE__*/emotion_styled_base_browser_esm(flex_component,  true ? {
+  target: "e65ony43"
+} : 0)("margin-bottom:", space(2), ";" + ( true ? "" : 0));
+const CircleRoot = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e65ony42"
+} : 0)("border-radius:50%;border:", config_values.borderWidth, " solid ", COLORS.ui.border, ";box-sizing:border-box;cursor:grab;height:", CIRCLE_SIZE, "px;overflow:hidden;width:", CIRCLE_SIZE, "px;" + ( true ? "" : 0));
+const CircleIndicatorWrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e65ony41"
+} : 0)( true ? {
+  name: "1bhd2sw",
+  styles: "box-sizing:border-box;position:relative;width:100%;height:100%"
+} : 0);
+const CircleIndicator = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e65ony40"
+} : 0)("background:", COLORS.admin.theme, ";border-radius:50%;border:", INNER_CIRCLE_SIZE, "px solid ", COLORS.admin.theme, ";bottom:0;box-sizing:border-box;display:block;height:0px;left:0;margin:auto;position:absolute;right:0;top:-", CIRCLE_SIZE / 2, "px;width:0px;" + ( true ? "" : 0));

-  function update(name, value) {
-    // If the 12-hour format is being used and the 'PM' period is selected, then
-    // the incoming value (which ranges 1-12) should be increased by 12 to match
-    // the expected 24-hour format.
-    let adjustedValue = value;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/angle-picker-control/angle-circle.js

-    if (name === 'hours' && is12Hour) {
-      adjustedValue = from12hTo24h(value, am === 'PM');
-    } // Clone the date and call the specific setter function according to `name`.


-    const newDate = date.clone()[name](adjustedValue);
-    changeDate(newDate);
-  }
+/**
+ * WordPress dependencies
+ */

-  function updateAmPm(value) {
-    return () => {
-      if (am === value) {
-        return;
-      }

-      const parsedHours = parseInt(hours, 10);
-      const newDate = date.clone().hours(from12hTo24h(parsedHours, value === 'PM'));
-      changeDate(newDate);
-    };
-  }
+/**
+ * Internal dependencies
+ */

-  const dayFormat = Object(external_wp_element_["createElement"])("div", {
-    className: "components-datetime__time-field components-datetime__time-field-day"
-  }, Object(external_wp_element_["createElement"])(UpdateOnBlurAsIntegerField, {
-    "aria-label": Object(external_wp_i18n_["__"])('Day'),
-    className: "components-datetime__time-field-day-input",
-    type: "number" // The correct function to call in moment.js is "date" not "day".
-    ,
-    name: "date",
-    value: day,
-    step: 1,
-    min: 1,
-    max: 31,
-    onUpdate: update
-  }));
-  const monthFormat = Object(external_wp_element_["createElement"])("div", {
-    className: "components-datetime__time-field components-datetime__time-field-month"
-  }, Object(external_wp_element_["createElement"])(UpdateOnBlurAsIntegerField, {
-    as: "select",
-    "aria-label": Object(external_wp_i18n_["__"])('Month'),
-    className: "components-datetime__time-field-month-select",
-    name: "month",
-    value: month // The value starts from 0, so we have to -1 when setting month.
-    ,
-    onUpdate: (key, value) => update(key, value - 1)
-  }, Object(external_wp_element_["createElement"])("option", {
-    value: "01"
-  }, Object(external_wp_i18n_["__"])('January')), Object(external_wp_element_["createElement"])("option", {
-    value: "02"
-  }, Object(external_wp_i18n_["__"])('February')), Object(external_wp_element_["createElement"])("option", {
-    value: "03"
-  }, Object(external_wp_i18n_["__"])('March')), Object(external_wp_element_["createElement"])("option", {
-    value: "04"
-  }, Object(external_wp_i18n_["__"])('April')), Object(external_wp_element_["createElement"])("option", {
-    value: "05"
-  }, Object(external_wp_i18n_["__"])('May')), Object(external_wp_element_["createElement"])("option", {
-    value: "06"
-  }, Object(external_wp_i18n_["__"])('June')), Object(external_wp_element_["createElement"])("option", {
-    value: "07"
-  }, Object(external_wp_i18n_["__"])('July')), Object(external_wp_element_["createElement"])("option", {
-    value: "08"
-  }, Object(external_wp_i18n_["__"])('August')), Object(external_wp_element_["createElement"])("option", {
-    value: "09"
-  }, Object(external_wp_i18n_["__"])('September')), Object(external_wp_element_["createElement"])("option", {
-    value: "10"
-  }, Object(external_wp_i18n_["__"])('October')), Object(external_wp_element_["createElement"])("option", {
-    value: "11"
-  }, Object(external_wp_i18n_["__"])('November')), Object(external_wp_element_["createElement"])("option", {
-    value: "12"
-  }, Object(external_wp_i18n_["__"])('December'))));
-  const dayMonthFormat = is12Hour ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, dayFormat, monthFormat) : Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, monthFormat, dayFormat);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('components-datetime__time')
-  }, Object(external_wp_element_["createElement"])("fieldset", null, Object(external_wp_element_["createElement"])("legend", {
-    className: "components-datetime__time-legend invisible"
-  }, Object(external_wp_i18n_["__"])('Date')), Object(external_wp_element_["createElement"])("div", {
-    className: "components-datetime__time-wrapper"
-  }, dayMonthFormat, Object(external_wp_element_["createElement"])("div", {
-    className: "components-datetime__time-field components-datetime__time-field-year"
-  }, Object(external_wp_element_["createElement"])(UpdateOnBlurAsIntegerField, {
-    "aria-label": Object(external_wp_i18n_["__"])('Year'),
-    className: "components-datetime__time-field-year-input",
-    type: "number",
-    name: "year",
-    step: 1,
-    min: 0,
-    max: 9999,
-    value: year,
-    onUpdate: update
-  })))), Object(external_wp_element_["createElement"])("fieldset", null, Object(external_wp_element_["createElement"])("legend", {
-    className: "components-datetime__time-legend invisible"
-  }, Object(external_wp_i18n_["__"])('Time')), Object(external_wp_element_["createElement"])("div", {
-    className: "components-datetime__time-wrapper"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-datetime__time-field components-datetime__time-field-time"
-  }, Object(external_wp_element_["createElement"])(UpdateOnBlurAsIntegerField, {
-    "aria-label": Object(external_wp_i18n_["__"])('Hours'),
-    className: "components-datetime__time-field-hours-input",
-    type: "number",
-    name: "hours",
-    step: 1,
-    min: is12Hour ? 1 : 0,
-    max: is12Hour ? 12 : 23,
-    value: hours,
-    onUpdate: update
-  }), Object(external_wp_element_["createElement"])("span", {
-    className: "components-datetime__time-separator",
-    "aria-hidden": "true"
-  }, ":"), Object(external_wp_element_["createElement"])(UpdateOnBlurAsIntegerField, {
-    "aria-label": Object(external_wp_i18n_["__"])('Minutes'),
-    className: "components-datetime__time-field-minutes-input",
-    type: "number",
-    name: "minutes",
-    step: 1,
-    min: 0,
-    max: 59,
-    value: minutes,
-    onUpdate: update
-  })), is12Hour && Object(external_wp_element_["createElement"])(button_group, {
-    className: "components-datetime__time-field components-datetime__time-field-am-pm"
-  }, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    variant: am === 'AM' ? 'primary' : 'secondary',
-    onClick: updateAmPm('AM'),
-    className: "components-datetime__time-am-button"
-  }, Object(external_wp_i18n_["__"])('AM')), Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    variant: am === 'PM' ? 'primary' : 'secondary',
-    onClick: updateAmPm('PM'),
-    className: "components-datetime__time-pm-button"
-  }, Object(external_wp_i18n_["__"])('PM'))), Object(external_wp_element_["createElement"])(date_time_timezone, null))));
+
+
+function AngleCircle(_ref) {
+  let {
+    value,
+    onChange,
+    ...props
+  } = _ref;
+  const angleCircleRef = (0,external_wp_element_namespaceObject.useRef)();
+  const angleCircleCenter = (0,external_wp_element_namespaceObject.useRef)();
+  const previousCursorValue = (0,external_wp_element_namespaceObject.useRef)();
+
+  const setAngleCircleCenter = () => {
+    const rect = angleCircleRef.current.getBoundingClientRect();
+    angleCircleCenter.current = {
+      x: rect.x + rect.width / 2,
+      y: rect.y + rect.height / 2
+    };
+  };
+
+  const changeAngleToPosition = event => {
+    const {
+      x: centerX,
+      y: centerY
+    } = angleCircleCenter.current;
+    const {
+      ownerDocument
+    } = angleCircleRef.current; // Prevent (drag) mouse events from selecting and accidentally
+    // triggering actions from other elements.
+
+    event.preventDefault(); // Ensure the input isn't focused as preventDefault would leave it
+
+    ownerDocument.activeElement.blur();
+    onChange(getAngle(centerX, centerY, event.clientX, event.clientY));
+  };
+
+  const {
+    startDrag,
+    isDragging
+  } = (0,external_wp_compose_namespaceObject.__experimentalUseDragging)({
+    onDragStart: event => {
+      setAngleCircleCenter();
+      changeAngleToPosition(event);
+    },
+    onDragMove: changeAngleToPosition,
+    onDragEnd: changeAngleToPosition
+  });
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isDragging) {
+      if (previousCursorValue.current === undefined) {
+        previousCursorValue.current = document.body.style.cursor;
+      }
+
+      document.body.style.cursor = 'grabbing';
+    } else {
+      document.body.style.cursor = previousCursorValue.current || null;
+      previousCursorValue.current = undefined;
+    }
+  }, [isDragging]);
+  return (
+    /* eslint-disable jsx-a11y/no-static-element-interactions */
+    (0,external_wp_element_namespaceObject.createElement)(CircleRoot, extends_extends({
+      ref: angleCircleRef,
+      onMouseDown: startDrag,
+      className: "components-angle-picker-control__angle-circle",
+      style: isDragging ? {
+        cursor: 'grabbing'
+      } : undefined
+    }, props), (0,external_wp_element_namespaceObject.createElement)(CircleIndicatorWrapper, {
+      style: value ? {
+        transform: `rotate(${value}deg)`
+      } : undefined,
+      className: "components-angle-picker-control__angle-circle-indicator-wrapper"
+    }, (0,external_wp_element_namespaceObject.createElement)(CircleIndicator, {
+      className: "components-angle-picker-control__angle-circle-indicator"
+    })))
+    /* eslint-enable jsx-a11y/no-static-element-interactions */
+
+  );
 }
-/* harmony default export */ var date_time_time = (TimePicker);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/date-time/index.js
+function getAngle(centerX, centerY, pointX, pointY) {
+  const y = pointY - centerY;
+  const x = pointX - centerX;
+  const angleInRadians = Math.atan2(y, x);
+  const angleInDeg = Math.round(angleInRadians * (180 / Math.PI)) + 90;

+  if (angleInDeg < 0) {
+    return 360 + angleInDeg;
+  }

-/**
- * External dependencies
- */
-// Needed to initialise the default datepicker styles.
-// See: https://github.com/airbnb/react-dates#initialize
+  return angleInDeg;
+}

+/* harmony default export */ var angle_circle = (AngleCircle);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/spacer/hook.js
 /**
- * WordPress dependencies
+ * External dependencies
  */

-
-
 /**
  * Internal dependencies
  */
@@ -46926,126 +40598,96 @@ function TimePicker(_ref2) {



+const isDefined = o => typeof o !== 'undefined' && o !== null;

-function DateTimePicker(_ref, ref) {
-  let {
-    currentDate,
-    is12Hour,
-    isInvalidDate,
-    onMonthPreviewed = external_lodash_["noop"],
-    onChange,
-    events
-  } = _ref;
-  const [calendarHelpIsVisible, setCalendarHelpIsVisible] = Object(external_wp_element_["useState"])(false);
+function useSpacer(props) {
+  const {
+    className,
+    margin,
+    marginBottom = 2,
+    marginLeft,
+    marginRight,
+    marginTop,
+    marginX,
+    marginY,
+    padding,
+    paddingBottom,
+    paddingLeft,
+    paddingRight,
+    paddingTop,
+    paddingX,
+    paddingY,
+    ...otherProps
+  } = useContextSystem(props, 'Spacer');
+  const cx = useCx();
+  const classes = cx(isDefined(margin) && /*#__PURE__*/emotion_react_browser_esm_css("margin:", space(margin), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(marginY) && /*#__PURE__*/emotion_react_browser_esm_css("margin-bottom:", space(marginY), ";margin-top:", space(marginY), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(marginX) && /*#__PURE__*/emotion_react_browser_esm_css("margin-left:", space(marginX), ";margin-right:", space(marginX), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(marginTop) && /*#__PURE__*/emotion_react_browser_esm_css("margin-top:", space(marginTop), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(marginBottom) && /*#__PURE__*/emotion_react_browser_esm_css("margin-bottom:", space(marginBottom), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(marginLeft) && /*#__PURE__*/emotion_react_browser_esm_css("margin-left:", space(marginLeft), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(marginRight) && /*#__PURE__*/emotion_react_browser_esm_css("margin-right:", space(marginRight), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(padding) && /*#__PURE__*/emotion_react_browser_esm_css("padding:", space(padding), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(paddingY) && /*#__PURE__*/emotion_react_browser_esm_css("padding-bottom:", space(paddingY), ";padding-top:", space(paddingY), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(paddingX) && /*#__PURE__*/emotion_react_browser_esm_css("padding-left:", space(paddingX), ";padding-right:", space(paddingX), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(paddingTop) && /*#__PURE__*/emotion_react_browser_esm_css("padding-top:", space(paddingTop), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(paddingBottom) && /*#__PURE__*/emotion_react_browser_esm_css("padding-bottom:", space(paddingBottom), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(paddingLeft) && /*#__PURE__*/emotion_react_browser_esm_css("padding-left:", space(paddingLeft), ";" + ( true ? "" : 0),  true ? "" : 0), isDefined(paddingRight) && /*#__PURE__*/emotion_react_browser_esm_css("padding-right:", space(paddingRight), ";" + ( true ? "" : 0),  true ? "" : 0), className);
+  return { ...otherProps,
+    className: classes
+  };
+}

-  function onClickDescriptionToggle() {
-    setCalendarHelpIsVisible(!calendarHelpIsVisible);
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/spacer/component.js

-  return Object(external_wp_element_["createElement"])("div", {
-    ref: ref,
-    className: "components-datetime"
-  }, !calendarHelpIsVisible && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(date_time_time, {
-    currentTime: currentDate,
-    onChange: onChange,
-    is12Hour: is12Hour
-  }), Object(external_wp_element_["createElement"])(date_time_date, {
-    currentDate: currentDate,
-    onChange: onChange,
-    isInvalidDate: isInvalidDate,
-    events: events,
-    onMonthPreviewed: onMonthPreviewed
-  })), calendarHelpIsVisible && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "components-datetime__calendar-help"
-  }, Object(external_wp_element_["createElement"])("h4", null, Object(external_wp_i18n_["__"])('Click to Select')), Object(external_wp_element_["createElement"])("ul", null, Object(external_wp_element_["createElement"])("li", null, Object(external_wp_i18n_["__"])('Click the right or left arrows to select other months in the past or the future.')), Object(external_wp_element_["createElement"])("li", null, Object(external_wp_i18n_["__"])('Click the desired day to select it.'))), Object(external_wp_element_["createElement"])("h4", null, Object(external_wp_i18n_["__"])('Navigating with a keyboard')), Object(external_wp_element_["createElement"])("ul", null, Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])("abbr", {
-    "aria-label": Object(external_wp_i18n_["_x"])('Enter', 'keyboard button')
-  }, "\u21B5"), ' '
-  /* JSX removes whitespace, but a space is required for screen readers. */
-  , Object(external_wp_element_["createElement"])("span", null, Object(external_wp_i18n_["__"])('Select the date in focus.'))), Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])("abbr", {
-    "aria-label": Object(external_wp_i18n_["__"])('Left and Right Arrows')
-  }, "\u2190/\u2192"), ' '
-  /* JSX removes whitespace, but a space is required for screen readers. */
-  , Object(external_wp_i18n_["__"])('Move backward (left) or forward (right) by one day.')), Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])("abbr", {
-    "aria-label": Object(external_wp_i18n_["__"])('Up and Down Arrows')
-  }, "\u2191/\u2193"), ' '
-  /* JSX removes whitespace, but a space is required for screen readers. */
-  , Object(external_wp_i18n_["__"])('Move backward (up) or forward (down) by one week.')), Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])("abbr", {
-    "aria-label": Object(external_wp_i18n_["__"])('Page Up and Page Down')
-  }, Object(external_wp_i18n_["__"])('PgUp/PgDn')), ' '
-  /* JSX removes whitespace, but a space is required for screen readers. */
-  , Object(external_wp_i18n_["__"])('Move backward (PgUp) or forward (PgDn) by one month.')), Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])("abbr", {
-    "aria-label": Object(external_wp_i18n_["__"])('Home and End')
-  }, Object(external_wp_i18n_["__"])('Home/End')), ' '
-  /* JSX removes whitespace, but a space is required for screen readers. */
-  , Object(external_wp_i18n_["__"])('Go to the first (Home) or last (End) day of a week.'))))), Object(external_wp_element_["createElement"])("div", {
-    className: "components-datetime__buttons"
-  }, !calendarHelpIsVisible && currentDate && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-datetime__date-reset-button",
-    variant: "link",
-    onClick: () => onChange(null)
-  }, Object(external_wp_i18n_["__"])('Reset')), Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-datetime__date-help-toggle",
-    variant: "link",
-    onClick: onClickDescriptionToggle
-  }, calendarHelpIsVisible ? Object(external_wp_i18n_["__"])('Close') : Object(external_wp_i18n_["__"])('Calendar Help'))));
-}

-/* harmony default export */ var date_time = (Object(external_wp_element_["forwardRef"])(DateTimePicker));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dimension-control/sizes.js
 /**
- * Sizes
- *
- * defines the sizes used in dimension controls
- * all hardcoded `size` values are based on the value of
- * the Sass variable `$block-padding` from
- * `packages/block-editor/src/components/dimension-control/sizes.js`.
+ * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports

 /**
- * WordPress dependencies
+ * Internal dependencies
  */

+
+
+
+function Spacer(props, forwardedRef) {
+  const spacerProps = useSpacer(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, spacerProps, {
+    ref: forwardedRef
+  }));
+}
 /**
- * Finds the correct size object from the provided sizes
- * table by size slug (eg: `medium`)
+ * `Spacer` is a primitive layout component that providers inner (`padding`) or outer (`margin`) space in-between components. It can also be used to adaptively provide space within an `HStack` or `VStack`.
  *
- * @param {Array}  sizes containing objects for each size definition.
- * @param {string} slug  a string representation of the size (eg: `medium`).
+ * `Spacer` comes with a bunch of shorthand props to adjust `margin` and `padding`. The values of these props work as a multiplier to the library's grid system (base of `4px`).
  *
- * @return {Object} the matching size definition.
+ * @example
+ * ```jsx
+ * import { Spacer } from `@wordpress/components`
+ *
+ * function Example() {
+ *   return (
+ *     <View>
+ *       <Spacer>
+ *         <Heading>WordPress.org</Heading>
+ *       </Spacer>
+ *       <Text>
+ *         Code is Poetry
+ *       </Text>
+ *     </View>
+ *   );
+ * }
+ * ```
  */

-const findSizeBySlug = (sizes, slug) => sizes.find(size => slug === size.slug);
-/* harmony default export */ var dimension_control_sizes = ([{
-  name: Object(external_wp_i18n_["_x"])('None', 'Size of a UI element'),
-  slug: 'none'
-}, {
-  name: Object(external_wp_i18n_["_x"])('Small', 'Size of a UI element'),
-  slug: 'small'
-}, {
-  name: Object(external_wp_i18n_["_x"])('Medium', 'Size of a UI element'),
-  slug: 'medium'
-}, {
-  name: Object(external_wp_i18n_["_x"])('Large', 'Size of a UI element'),
-  slug: 'large'
-}, {
-  name: Object(external_wp_i18n_["_x"])('Extra Large', 'Size of a UI element'),
-  slug: 'xlarge'
-}]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dimension-control/index.js
+const ConnectedSpacer = contextConnect(Spacer, 'Spacer');
+/* harmony default export */ var spacer_component = (ConnectedSpacer);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/angle-picker-control/index.js


 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */

+
 /**
  * Internal dependencies
  */
@@ -47053,79 +40695,155 @@ const findSizeBySlug = (sizes, slug) => sizes.find(size => slug === size.slug);



+
+
+
+
+function AnglePickerControl(_ref) {
+  let {
+    className,
+    label = (0,external_wp_i18n_namespaceObject.__)('Angle'),
+    onChange,
+    value
+  } = _ref;
+
+  const handleOnNumberChange = unprocessedValue => {
+    const inputValue = unprocessedValue !== '' ? parseInt(unprocessedValue, 10) : 0;
+    onChange(inputValue);
+  };
+
+  const classes = classnames_default()('components-angle-picker-control', className);
+  return (0,external_wp_element_namespaceObject.createElement)(angle_picker_control_styles_Root, {
+    className: classes
+  }, (0,external_wp_element_namespaceObject.createElement)(flex_block_component, null, (0,external_wp_element_namespaceObject.createElement)(input_control, {
+    label: label,
+    className: "components-angle-picker-control__input-field",
+    max: 360,
+    min: 0,
+    onChange: handleOnNumberChange,
+    step: "1",
+    value: value,
+    hideHTMLArrows: true,
+    suffix: (0,external_wp_element_namespaceObject.createElement)(spacer_component, {
+      as: text_component,
+      marginRight: space(3),
+      style: {
+        color: 'var( --wp-admin-theme-color )'
+      }
+    }, "\xB0")
+  })), (0,external_wp_element_namespaceObject.createElement)(flex_item_component, {
+    style: {
+      marginLeft: space(4),
+      marginBottom: space(1),
+      marginTop: 'auto'
+    }
+  }, (0,external_wp_element_namespaceObject.createElement)(angle_circle, {
+    "aria-hidden": "true",
+    value: value,
+    onChange: onChange
+  })));
+}
+
+;// CONCATENATED MODULE: external ["wp","richText"]
+var external_wp_richText_namespaceObject = window["wp"]["richText"];
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/autocomplete/get-default-use-items.js
 /**
- * Internal dependencies
+ * External dependencies
  */

+/**
+ * WordPress dependencies
+ */

-function DimensionControl(props) {
-  const {
-    label,
-    value,
-    sizes = dimension_control_sizes,
-    icon,
-    onChange,
-    className = ''
-  } = props;

-  const onChangeSpacingSize = val => {
-    const theSize = findSizeBySlug(sizes, val);

-    if (!theSize || value === theSize.slug) {
-      onChange(undefined);
-    } else if (Object(external_lodash_["isFunction"])(onChange)) {
-      onChange(theSize.slug);
+function filterOptions(search) {
+  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
+  let maxResults = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
+  const filtered = [];
+
+  for (let i = 0; i < options.length; i++) {
+    const option = options[i]; // Merge label into keywords
+
+    let {
+      keywords = []
+    } = option;
+
+    if ('string' === typeof option.label) {
+      keywords = [...keywords, option.label];
     }
-  };

-  const formatSizesAsOptions = theSizes => {
-    const options = theSizes.map(_ref => {
-      let {
-        name,
-        slug
-      } = _ref;
-      return {
-        label: name,
-        value: slug
-      };
-    });
-    return [{
-      label: Object(external_wp_i18n_["__"])('Default'),
-      value: ''
-    }].concat(options);
-  };
+    const isMatch = keywords.some(keyword => search.test((0,external_lodash_namespaceObject.deburr)(keyword)));

-  const selectLabel = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, icon && Object(external_wp_element_["createElement"])(components_build_module_icon["a" /* default */], {
-    icon: icon
-  }), label);
-  return Object(external_wp_element_["createElement"])(select_control, {
-    className: classnames_default()(className, 'block-editor-dimension-control'),
-    label: selectLabel,
-    hideLabelFromVision: false,
-    value: value,
-    onChange: onChangeSpacingSize,
-    options: formatSizesAsOptions(sizes)
-  });
+    if (!isMatch) {
+      continue;
+    }
+
+    filtered.push(option); // Abort early if max reached
+
+    if (filtered.length === maxResults) {
+      break;
+    }
+  }
+
+  return filtered;
 }
-/* harmony default export */ var dimension_control = (DimensionControl);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/disabled/styles/disabled-styles.js
+function getDefaultUseItems(autocompleter) {
+  return filterValue => {
+    const [items, setItems] = (0,external_wp_element_namespaceObject.useState)([]);
+    /*
+     * We support both synchronous and asynchronous retrieval of completer options
+     * but internally treat all as async so we maintain a single, consistent code path.
+     *
+     * Because networks can be slow, and the internet is wonderfully unpredictable,
+     * we don't want two promises updating the state at once. This ensures that only
+     * the most recent promise will act on `optionsData`. This doesn't use the state
+     * because `setState` is batched, and so there's no guarantee that setting
+     * `activePromise` in the state would result in it actually being in `this.state`
+     * before the promise resolves and we check to see if this is the active promise or not.
+     */

+    (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+      const {
+        options,
+        isDebounced
+      } = autocompleter;
+      const loadOptions = (0,external_lodash_namespaceObject.debounce)(() => {
+        const promise = Promise.resolve(typeof options === 'function' ? options(filterValue) : options).then(optionsData => {
+          if (promise.canceled) {
+            return;
+          }

-function disabled_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+          const keyedOptions = optionsData.map((optionData, optionIndex) => ({
+            key: `${autocompleter.name}-${optionIndex}`,
+            value: optionData,
+            label: autocompleter.getOptionLabel(optionData),
+            keywords: autocompleter.getOptionKeywords ? autocompleter.getOptionKeywords(optionData) : [],
+            isDisabled: autocompleter.isOptionDisabled ? autocompleter.isOptionDisabled(optionData) : false
+          })); // create a regular expression to filter the options

-/**
- * External dependencies
- */
-const StyledWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e1ac3xxk0"
-} : undefined)( true ? {
-  name: "u2jump",
-  styles: "position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"
-} : undefined);
+          const search = new RegExp('(?:\\b|\\s|^)' + (0,external_lodash_namespaceObject.escapeRegExp)(filterValue), 'i');
+          setItems(filterOptions(search, keyedOptions));
+        });
+        return promise;
+      }, isDebounced ? 250 : 0);
+      const promise = loadOptions();
+      return () => {
+        loadOptions.cancel();

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/disabled/index.js
+        if (promise) {
+          promise.canceled = true;
+        }
+      };
+    }, [filterValue]);
+    return [items];
+  };
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/autocomplete/autocompleter-ui.js


 /**
@@ -47144,923 +40862,1351 @@ const StyledWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])
  */


-const Context = Object(external_wp_element_["createContext"])(false);
-const {
-  Consumer,
-  Provider
-} = Context;
-/**
- * Names of control nodes which qualify for disabled behavior.
- *
- * See WHATWG HTML Standard: 4.10.18.5: "Enabling and disabling form controls: the disabled attribute".
- *
- * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#enabling-and-disabling-form-controls:-the-disabled-attribute
- *
- * @type {string[]}
- */
-
-const DISABLED_ELIGIBLE_NODE_NAMES = ['BUTTON', 'FIELDSET', 'INPUT', 'OPTGROUP', 'OPTION', 'SELECT', 'TEXTAREA'];
-/**
- * @typedef OwnProps
- * @property {string}                    [className]       Classname for the disabled element.
- * @property {import('react').ReactNode} children          Children to disable.
- * @property {boolean}                   [isDisabled=true] Whether to disable the children.
- */

-/**
- * @param {OwnProps & import('react').HTMLAttributes<HTMLDivElement>} props
- * @return {JSX.Element} Element wrapping the children to disable them when isDisabled is true.
- */

-function Disabled(_ref) {
-  let {
-    className,
-    children,
-    isDisabled = true,
-    ...props
-  } = _ref;
+function getAutoCompleterUI(autocompleter) {
+  const useItems = autocompleter.useItems ? autocompleter.useItems : getDefaultUseItems(autocompleter);

-  /** @type {import('react').RefObject<HTMLDivElement>} */
-  const node = Object(external_wp_element_["useRef"])(null);
+  function AutocompleterUI(_ref) {
+    let {
+      filterValue,
+      instanceId,
+      listBoxId,
+      className,
+      selectedIndex,
+      onChangeOptions,
+      onSelect,
+      onReset,
+      value,
+      contentRef
+    } = _ref;
+    const [items] = useItems(filterValue);
+    const anchorRef = (0,external_wp_richText_namespaceObject.useAnchorRef)({
+      ref: contentRef,
+      value
+    });
+    (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+      onChangeOptions(items);
+    }, [items]);

-  const disable = () => {
-    if (!node.current) {
-      return;
+    if (!items.length > 0) {
+      return null;
     }

-    external_wp_dom_["focus"].focusable.find(node.current).forEach(focusable => {
-      if (Object(external_lodash_["includes"])(DISABLED_ELIGIBLE_NODE_NAMES, focusable.nodeName)) {
-        focusable.setAttribute('disabled', '');
-      }
+    return (0,external_wp_element_namespaceObject.createElement)(popover, {
+      focusOnMount: false,
+      onClose: onReset,
+      position: "top right",
+      className: "components-autocomplete__popover",
+      anchorRef: anchorRef
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      id: listBoxId,
+      role: "listbox",
+      className: "components-autocomplete__results"
+    }, (0,external_lodash_namespaceObject.map)(items, (option, index) => (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+      key: option.key,
+      id: `components-autocomplete-item-${instanceId}-${option.key}`,
+      role: "option",
+      "aria-selected": index === selectedIndex,
+      disabled: option.isDisabled,
+      className: classnames_default()('components-autocomplete__result', className, {
+        'is-selected': index === selectedIndex
+      }),
+      onClick: () => onSelect(option)
+    }, option.label))));
+  }

-      if (focusable.nodeName === 'A') {
-        focusable.setAttribute('tabindex', '-1');
-      }
+  return AutocompleterUI;
+}

-      const tabIndex = focusable.getAttribute('tabindex');
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/autocomplete/index.js

-      if (tabIndex !== null && tabIndex !== '-1') {
-        focusable.removeAttribute('tabindex');
-      }

-      if (focusable.hasAttribute('contenteditable')) {
-        focusable.setAttribute('contenteditable', 'false');
-      }
-    });
-  }; // Debounce re-disable since disabling process itself will incur
-  // additional mutations which should be ignored.
+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */

-  const debouncedDisable = Object(external_wp_element_["useCallback"])(Object(external_lodash_["debounce"])(disable, undefined, {
-    leading: true
-  }), []);
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    if (!isDisabled) {
-      return;
-    }

-    disable();
-    /** @type {MutationObserver | undefined} */

-    let observer;

-    if (node.current) {
-      observer = new window.MutationObserver(debouncedDisable);
-      observer.observe(node.current, {
-        childList: true,
-        attributes: true,
-        subtree: true
-      });
-    }

-    return () => {
-      if (observer) {
-        observer.disconnect();
-      }

-      debouncedDisable.cancel();
-    };
-  }, []);

-  if (!isDisabled) {
-    return Object(external_wp_element_["createElement"])(Provider, {
-      value: false
-    }, children);
-  }
+/**
+ * Internal dependencies
+ */

-  return Object(external_wp_element_["createElement"])(Provider, {
-    value: true
-  }, Object(external_wp_element_["createElement"])(StyledWrapper, Object(esm_extends["a" /* default */])({
-    ref: node,
-    className: classnames_default()(className, 'components-disabled')
-  }, props), children));
-}

-Disabled.Context = Context;
-Disabled.Consumer = Consumer;
-/* harmony default export */ var build_module_disabled = (Disabled);
+/**
+ * A raw completer option.
+ *
+ * @typedef {*} CompleterOption
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/draggable/index.js
+/**
+ * @callback FnGetOptions
+ *
+ * @return {(CompleterOption[]|Promise.<CompleterOption[]>)} The completer options or a promise for them.
+ */

+/**
+ * @callback FnGetOptionKeywords
+ * @param {CompleterOption} option a completer option.
+ *
+ * @return {string[]} list of key words to search.
+ */

 /**
- * WordPress dependencies
+ * @callback FnIsOptionDisabled
+ * @param {CompleterOption} option a completer option.
+ *
+ * @return {string[]} whether or not the given option is disabled.
  */

 /**
- * External dependencies
+ * @callback FnGetOptionLabel
+ * @param {CompleterOption} option a completer option.
+ *
+ * @return {(string|Array.<(string|WPElement)>)} list of react components to render.
  */

+/**
+ * @callback FnAllowContext
+ * @param {string} before the string before the auto complete trigger and query.
+ * @param {string} after  the string after the autocomplete trigger and query.
+ *
+ * @return {boolean} true if the completer can handle.
+ */

-const dragImageClass = 'components-draggable__invisible-drag-image';
-const cloneWrapperClass = 'components-draggable__clone';
-const clonePadding = 0;
-const bodyClass = 'is-dragging-components-draggable';
 /**
- * @typedef RenderProp
- * @property {(event: import('react').DragEvent) => void} onDraggableStart `onDragStart` handler.
- * @property {(event: import('react').DragEvent) => void} onDraggableEnd   `onDragEnd` handler.
+ * @typedef {Object} OptionCompletion
+ * @property {'insert-at-caret'|'replace'} action the intended placement of the completion.
+ * @property {OptionCompletionValue}       value  the completion value.
  */

 /**
- * @typedef Props
- * @property {(props: RenderProp) => JSX.Element | null}  children                         Children.
- * @property {(event: import('react').DragEvent) => void} [onDragStart]                    Callback when dragging starts.
- * @property {(event: import('react').DragEvent) => void} [onDragOver]                     Callback when dragging happens over the document.
- * @property {(event: import('react').DragEvent) => void} [onDragEnd]                      Callback when dragging ends.
- * @property {string}                                     [cloneClassname]                 Classname for the cloned element.
- * @property {string}                                     [elementId]                      ID for the element.
- * @property {any}                                        [transferData]                   Transfer data for the drag event.
- * @property {string}                                     [__experimentalTransferDataType] The transfer data type to set.
- * @property {import('react').ReactNode}                  __experimentalDragComponent      Component to show when dragging.
+ * A completion value.
+ *
+ * @typedef {(string|WPElement|Object)} OptionCompletionValue
  */

 /**
- * @param {Props} props
- * @return {JSX.Element} A draggable component.
+ * @callback FnGetOptionCompletion
+ * @param {CompleterOption} value the value of the completer option.
+ * @param {string}          query the text value of the autocomplete query.
+ *
+ * @return {(OptionCompletion|OptionCompletionValue)} the completion for the given option. If an
+ * 													   OptionCompletionValue is returned, the
+ * 													   completion action defaults to `insert-at-caret`.
  */

-function Draggable(_ref) {
+/**
+ * @typedef {Object} WPCompleter
+ * @property {string}                           name                a way to identify a completer, useful for selective overriding.
+ * @property {?string}                          className           A class to apply to the popup menu.
+ * @property {string}                           triggerPrefix       the prefix that will display the menu.
+ * @property {(CompleterOption[]|FnGetOptions)} options             the completer options or a function to get them.
+ * @property {?FnGetOptionKeywords}             getOptionKeywords   get the keywords for a given option.
+ * @property {?FnIsOptionDisabled}              isOptionDisabled    get whether or not the given option is disabled.
+ * @property {FnGetOptionLabel}                 getOptionLabel      get the label for a given option.
+ * @property {?FnAllowContext}                  allowContext        filter the context under which the autocomplete activates.
+ * @property {FnGetOptionCompletion}            getOptionCompletion get the completion associated with a given option.
+ */
+
+function useAutocomplete(_ref) {
   let {
-    children,
-    onDragStart,
-    onDragOver,
-    onDragEnd,
-    cloneClassname,
-    elementId,
-    transferData,
-    __experimentalTransferDataType: transferDataType = 'text',
-    __experimentalDragComponent: dragComponent
+    record,
+    onChange,
+    onReplace,
+    completers,
+    contentRef
   } = _ref;
+  const debouncedSpeak = (0,external_wp_compose_namespaceObject.useDebounce)(external_wp_a11y_namespaceObject.speak, 500);
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(useAutocomplete);
+  const [selectedIndex, setSelectedIndex] = (0,external_wp_element_namespaceObject.useState)(0);
+  const [filteredOptions, setFilteredOptions] = (0,external_wp_element_namespaceObject.useState)([]);
+  const [filterValue, setFilterValue] = (0,external_wp_element_namespaceObject.useState)('');
+  const [autocompleter, setAutocompleter] = (0,external_wp_element_namespaceObject.useState)(null);
+  const [AutocompleterUI, setAutocompleterUI] = (0,external_wp_element_namespaceObject.useState)(null);
+  const [backspacing, setBackspacing] = (0,external_wp_element_namespaceObject.useState)(false);

-  /** @type {import('react').MutableRefObject<HTMLDivElement | null>} */
-  const dragComponentRef = Object(external_wp_element_["useRef"])(null);
-  const cleanup = Object(external_wp_element_["useRef"])(() => {});
-  /**
-   * Removes the element clone, resets cursor, and removes drag listener.
-   *
-   * @param {import('react').DragEvent} event The non-custom DragEvent.
-   */
+  function insertCompletion(replacement) {
+    const end = record.start;
+    const start = end - autocompleter.triggerPrefix.length - filterValue.length;
+    const toInsert = (0,external_wp_richText_namespaceObject.create)({
+      html: (0,external_wp_element_namespaceObject.renderToString)(replacement)
+    });
+    onChange((0,external_wp_richText_namespaceObject.insert)(record, toInsert, start, end));
+  }

-  function end(event) {
-    event.preventDefault();
-    cleanup.current();
+  function select(option) {
+    const {
+      getOptionCompletion
+    } = autocompleter || {};

-    if (onDragEnd) {
-      onDragEnd(event);
+    if (option.isDisabled) {
+      return;
+    }
+
+    if (getOptionCompletion) {
+      const completion = getOptionCompletion(option.value, filterValue);
+      const {
+        action,
+        value
+      } = undefined === completion.action || undefined === completion.value ? {
+        action: 'insert-at-caret',
+        value: completion
+      } : completion;
+
+      if ('replace' === action) {
+        onReplace([value]); // When replacing, the component will unmount, so don't reset
+        // state (below) on an unmounted component.
+
+        return;
+      } else if ('insert-at-caret' === action) {
+        insertCompletion(value);
+      }
+    } // Reset autocomplete state after insertion rather than before
+    // so insertion events don't cause the completion menu to redisplay.
+
+
+    reset();
+  }
+
+  function reset() {
+    setSelectedIndex(0);
+    setFilteredOptions([]);
+    setFilterValue('');
+    setAutocompleter(null);
+    setAutocompleterUI(null);
+  }
+
+  function announce(options) {
+    if (!debouncedSpeak) {
+      return;
+    }
+
+    if (!!options.length) {
+      debouncedSpeak((0,external_wp_i18n_namespaceObject.sprintf)(
+      /* translators: %d: number of results. */
+      (0,external_wp_i18n_namespaceObject._n)('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', options.length), options.length), 'assertive');
+    } else {
+      debouncedSpeak((0,external_wp_i18n_namespaceObject.__)('No results.'), 'assertive');
     }
   }
   /**
-   * This method does a couple of things:
-   *
-   * - Clones the current element and spawns clone over original element.
-   * - Adds a fake temporary drag image to avoid browser defaults.
-   * - Sets transfer data.
-   * - Adds dragover listener.
+   * Load options for an autocompleter.
    *
-   * @param {import('react').DragEvent} event The non-custom DragEvent.
+   * @param {Array} options
    */


-  function start(event) {
-    // @ts-ignore We know that ownerDocument does exist on an Element
-    const {
-      ownerDocument
-    } = event.target;
-    event.dataTransfer.setData(transferDataType, JSON.stringify(transferData));
-    const cloneWrapper = ownerDocument.createElement('div'); // Reset position to 0,0. Natural stacking order will position this lower, even with a transform otherwise.
+  function onChangeOptions(options) {
+    setSelectedIndex(options.length === filteredOptions.length ? selectedIndex : 0);
+    setFilteredOptions(options);
+    announce(options);
+  }

-    cloneWrapper.style.top = 0;
-    cloneWrapper.style.left = 0;
-    const dragImage = ownerDocument.createElement('div'); // Set a fake drag image to avoid browser defaults. Remove from DOM
-    // right after. event.dataTransfer.setDragImage is not supported yet in
-    // IE, we need to check for its existence first.
+  function handleKeyDown(event) {
+    setBackspacing(event.keyCode === external_wp_keycodes_namespaceObject.BACKSPACE);

-    if ('function' === typeof event.dataTransfer.setDragImage) {
-      dragImage.classList.add(dragImageClass);
-      ownerDocument.body.appendChild(dragImage);
-      event.dataTransfer.setDragImage(dragImage, 0, 0);
+    if (!autocompleter) {
+      return;
     }

-    cloneWrapper.classList.add(cloneWrapperClass);
+    if (filteredOptions.length === 0) {
+      return;
+    }

-    if (cloneClassname) {
-      cloneWrapper.classList.add(cloneClassname);
+    if (event.defaultPrevented) {
+      return;
     }

-    let x = 0;
-    let y = 0; // If a dragComponent is defined, the following logic will clone the
-    // HTML node and inject it into the cloneWrapper.
+    switch (event.keyCode) {
+      case external_wp_keycodes_namespaceObject.UP:
+        setSelectedIndex((selectedIndex === 0 ? filteredOptions.length : selectedIndex) - 1);
+        break;

-    if (dragComponentRef.current) {
-      // Position dragComponent at the same position as the cursor.
-      x = event.clientX;
-      y = event.clientY;
-      cloneWrapper.style.transform = `translate( ${x}px, ${y}px )`;
-      const clonedDragComponent = ownerDocument.createElement('div');
-      clonedDragComponent.innerHTML = dragComponentRef.current.innerHTML;
-      cloneWrapper.appendChild(clonedDragComponent); // Inject the cloneWrapper into the DOM.
+      case external_wp_keycodes_namespaceObject.DOWN:
+        setSelectedIndex((selectedIndex + 1) % filteredOptions.length);
+        break;

-      ownerDocument.body.appendChild(cloneWrapper);
-    } else {
-      const element = ownerDocument.getElementById(elementId); // Prepare element clone and append to element wrapper.
+      case external_wp_keycodes_namespaceObject.ESCAPE:
+        setAutocompleter(null);
+        setAutocompleterUI(null);
+        event.preventDefault();
+        break;

-      const elementRect = element.getBoundingClientRect();
-      const elementWrapper = element.parentNode;
-      const elementTopOffset = parseInt(elementRect.top, 10);
-      const elementLeftOffset = parseInt(elementRect.left, 10);
-      cloneWrapper.style.width = `${elementRect.width + clonePadding * 2}px`;
-      const clone = element.cloneNode(true);
-      clone.id = `clone-${elementId}`; // Position clone right over the original element (20px padding).
+      case external_wp_keycodes_namespaceObject.ENTER:
+        select(filteredOptions[selectedIndex]);
+        break;

-      x = elementLeftOffset - clonePadding;
-      y = elementTopOffset - clonePadding;
-      cloneWrapper.style.transform = `translate( ${x}px, ${y}px )`; // Hack: Remove iFrames as it's causing the embeds drag clone to freeze
+      case external_wp_keycodes_namespaceObject.LEFT:
+      case external_wp_keycodes_namespaceObject.RIGHT:
+        reset();
+        return;

-      Array.from(clone.querySelectorAll('iframe')).forEach(child => child.parentNode.removeChild(child));
-      cloneWrapper.appendChild(clone); // Inject the cloneWrapper into the DOM.
+      default:
+        return;
+    } // Any handled keycode should prevent original behavior. This relies on
+    // the early return in the default case.

-      elementWrapper.appendChild(cloneWrapper);
-    } // Mark the current cursor coordinates.

+    event.preventDefault();
+  }

-    let cursorLeft = event.clientX;
-    let cursorTop = event.clientY;
-    /**
-     * @param {import('react').DragEvent<Element>} e
-     */
+  let textContent;

-    function over(e) {
-      //Skip doing any work if mouse has not moved.
-      if (cursorLeft === e.clientX && cursorTop === e.clientY) {
-        return;
-      }
+  if ((0,external_wp_richText_namespaceObject.isCollapsed)(record)) {
+    textContent = (0,external_wp_richText_namespaceObject.getTextContent)((0,external_wp_richText_namespaceObject.slice)(record, 0));
+  }

-      const nextX = x + e.clientX - cursorLeft;
-      const nextY = y + e.clientY - cursorTop;
-      cloneWrapper.style.transform = `translate( ${nextX}px, ${nextY}px )`;
-      cursorLeft = e.clientX;
-      cursorTop = e.clientY;
-      x = nextX;
-      y = nextY;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!textContent) {
+      reset();
+      return;
+    }

-      if (onDragOver) {
-        onDragOver(e);
+    const text = (0,external_lodash_namespaceObject.deburr)(textContent);
+    const textAfterSelection = (0,external_wp_richText_namespaceObject.getTextContent)((0,external_wp_richText_namespaceObject.slice)(record, undefined, (0,external_wp_richText_namespaceObject.getTextContent)(record).length));
+    const completer = (0,external_lodash_namespaceObject.find)(completers, _ref2 => {
+      let {
+        triggerPrefix,
+        allowContext
+      } = _ref2;
+      const index = text.lastIndexOf(triggerPrefix);
+
+      if (index === -1) {
+        return false;
       }
-    } // Aim for 60fps (16 ms per frame) for now. We can potentially use requestAnimationFrame (raf) instead,
-    // note that browsers may throttle raf below 60fps in certain conditions.

+      const textWithoutTrigger = text.slice(index + triggerPrefix.length);
+      const tooDistantFromTrigger = textWithoutTrigger.length > 50; // 50 chars seems to be a good limit.
+      // This is a final barrier to prevent the effect from completing with
+      // an extremely long string, which causes the editor to slow-down
+      // significantly. This could happen, for example, if `matchingWhileBackspacing`
+      // is true and one of the "words" end up being too long. If that's the case,
+      // it will be caught by this guard.

-    const throttledDragOver = Object(external_lodash_["throttle"])(over, 16);
-    ownerDocument.addEventListener('dragover', throttledDragOver); // Update cursor to 'grabbing', document wide.
+      if (tooDistantFromTrigger) return false;
+      const mismatch = filteredOptions.length === 0;
+      const wordsFromTrigger = textWithoutTrigger.split(/\s/); // We need to allow the effect to run when not backspacing and if there
+      // was a mismatch. i.e when typing a trigger + the match string or when
+      // clicking in an existing trigger word on the page. We do that if we
+      // detect that we have one word from trigger in the current textual context.
+      //
+      // Ex.: "Some text @a" <-- "@a" will be detected as the trigger word and
+      // allow the effect to run. It will run until there's a mismatch.

-    ownerDocument.body.classList.add(bodyClass); // Allow the Synthetic Event to be accessed from asynchronous code.
-    // https://reactjs.org/docs/events.html#event-pooling
+      const hasOneTriggerWord = wordsFromTrigger.length === 1; // This is used to allow the effect to run when backspacing and if
+      // "touching" a word that "belongs" to a trigger. We consider a "trigger
+      // word" any word up to the limit of 3 from the trigger character.
+      // Anything beyond that is ignored if there's a mismatch. This allows
+      // us to "escape" a mismatch when backspacing, but still imposing some
+      // sane limits.
+      //
+      // Ex: "Some text @marcelo sekkkk" <--- "kkkk" caused a mismatch, but
+      // if the user presses backspace here, it will show the completion popup again.

-    event.persist();
-    /** @type {number | undefined} */
+      const matchingWhileBackspacing = backspacing && textWithoutTrigger.split(/\s/).length <= 3;

-    let timerId;
+      if (mismatch && !(matchingWhileBackspacing || hasOneTriggerWord)) {
+        return false;
+      }

-    if (onDragStart) {
-      timerId = setTimeout(() => onDragStart(event));
-    }
+      if (allowContext && !allowContext(text.slice(0, index), textAfterSelection)) {
+        return false;
+      }

-    cleanup.current = () => {
-      // Remove drag clone
-      if (cloneWrapper && cloneWrapper.parentNode) {
-        cloneWrapper.parentNode.removeChild(cloneWrapper);
+      if (/^\s/.test(textWithoutTrigger) || /\s\s+$/.test(textWithoutTrigger)) {
+        return false;
       }

-      if (dragImage && dragImage.parentNode) {
-        dragImage.parentNode.removeChild(dragImage);
-      } // Reset cursor.
+      return /[\u0000-\uFFFF]*$/.test(textWithoutTrigger);
+    });

+    if (!completer) {
+      reset();
+      return;
+    }

-      ownerDocument.body.classList.remove(bodyClass);
-      ownerDocument.removeEventListener('dragover', throttledDragOver);
-      clearTimeout(timerId);
-    };
-  }
+    const safeTrigger = (0,external_lodash_namespaceObject.escapeRegExp)(completer.triggerPrefix);
+    const match = text.slice(text.lastIndexOf(completer.triggerPrefix)).match(new RegExp(`${safeTrigger}([\u0000-\uFFFF]*)$`));
+    const query = match && match[1];
+    setAutocompleter(completer);
+    setAutocompleterUI(() => completer !== autocompleter ? getAutoCompleterUI(completer) : AutocompleterUI);
+    setFilterValue(query);
+  }, [textContent]);
+  const {
+    key: selectedKey = ''
+  } = filteredOptions[selectedIndex] || {};
+  const {
+    className
+  } = autocompleter || {};
+  const isExpanded = !!autocompleter && filteredOptions.length > 0;
+  const listBoxId = isExpanded ? `components-autocomplete-listbox-${instanceId}` : null;
+  const activeId = isExpanded ? `components-autocomplete-item-${instanceId}-${selectedKey}` : null;
+  const hasSelection = record.start !== undefined;
+  return {
+    listBoxId,
+    activeId,
+    onKeyDown: handleKeyDown,
+    popover: hasSelection && AutocompleterUI && (0,external_wp_element_namespaceObject.createElement)(AutocompleterUI, {
+      className: className,
+      filterValue: filterValue,
+      instanceId: instanceId,
+      listBoxId: listBoxId,
+      selectedIndex: selectedIndex,
+      onChangeOptions: onChangeOptions,
+      onSelect: select,
+      value: record,
+      contentRef: contentRef,
+      reset: reset
+    })
+  };
+}

-  Object(external_wp_element_["useEffect"])(() => () => {
-    cleanup.current();
-  }, []);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, children({
-    onDraggableStart: start,
-    onDraggableEnd: end
-  }), dragComponent && Object(external_wp_element_["createElement"])("div", {
-    className: "components-draggable-drag-component-root",
-    style: {
-      display: 'none'
-    },
-    ref: dragComponentRef
-  }, dragComponent));
+function useAutocompleteProps(options) {
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const onKeyDownRef = (0,external_wp_element_namespaceObject.useRef)();
+  const {
+    popover,
+    listBoxId,
+    activeId,
+    onKeyDown
+  } = useAutocomplete({ ...options,
+    contentRef: ref
+  });
+  onKeyDownRef.current = onKeyDown;
+  return {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+      function _onKeyDown(event) {
+        onKeyDownRef.current(event);
+      }
+
+      element.addEventListener('keydown', _onKeyDown);
+      return () => {
+        element.removeEventListener('keydown', _onKeyDown);
+      };
+    }, [])]),
+    children: popover,
+    'aria-autocomplete': listBoxId ? 'list' : undefined,
+    'aria-owns': listBoxId,
+    'aria-activedescendant': activeId
+  };
+}
+function Autocomplete(_ref3) {
+  let {
+    children,
+    isSelected,
+    ...options
+  } = _ref3;
+  const {
+    popover,
+    ...props
+  } = useAutocomplete(options);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, children(props), isSelected && popover);
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/upload.js
-var upload = __webpack_require__("NTP4");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/font-values.js
+/* harmony default export */ var font_values = ({
+  'default.fontFamily': "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
+  'default.fontSize': '13px',
+  'helpText.fontSize': '12px',
+  mobileTextMinFontSize: '16px'
+});

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/use-force-update.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/font.js
+/**
+ * External dependencies
+ */

+/**
+ * Internal dependencies
+ */


+/**
+ *
+ * @param {keyof FONT} value Path of value from `FONT`
+ * @return {string} Font rule value
+ */

-function useForceUpdate() {
-    var unloadingRef = Object(external_React_["useRef"])(false);
-    var _a = __read(Object(external_React_["useState"])(0), 2), forcedRenderCount = _a[0], setForcedRenderCount = _a[1];
-    useUnmountEffect(function () { return (unloadingRef.current = true); });
-    return Object(external_React_["useCallback"])(function () {
-        !unloadingRef.current && setForcedRenderCount(forcedRenderCount + 1);
-    }, [forcedRenderCount]);
+function font(value) {
+  return (0,external_lodash_namespaceObject.get)(font_values, value, '');
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/base-control/styles/base-control-styles.js
+
+
+/**
+ * External dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+const base_control_styles_Wrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1puf3u3"
+} : 0)("font-family:", font('default.fontFamily'), ";font-size:", font('default.fontSize'), ";" + ( true ? "" : 0));
+const StyledField = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1puf3u2"
+} : 0)("margin-bottom:", space(2), ";.components-panel__row &{margin-bottom:inherit;}" + ( true ? "" : 0));
+const StyledLabel = emotion_styled_base_browser_esm("label",  true ? {
+  target: "e1puf3u1"
+} : 0)("display:inline-block;margin-bottom:", space(2), ";" + ( true ? "" : 0));
+const StyledHelp = emotion_styled_base_browser_esm("p",  true ? {
+  target: "e1puf3u0"
+} : 0)("font-size:", font('helpText.fontSize'), ";font-style:normal;color:", COLORS.mediumGray.text, ";" + ( true ? "" : 0));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/base-control/index.js
+
+
+/**
+ * External dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+
+/**
+ * @typedef Props
+ * @property {string}                    [id]                  The id of the element to which labels and help text are being generated.
+ *                                                             That element should be passed as a child.
+ * @property {import('react').ReactNode} help                  If this property is added, a help text will be
+ *                                                             generated using help property as the content.
+ * @property {import('react').ReactNode} [label]               If this property is added, a label will be generated
+ *                                                             using label property as the content.
+ * @property {boolean}                   [hideLabelFromVision] If true, the label will only be visible to screen readers.
+ * @property {string}                    [className]           The class that will be added with "components-base-control" to the
+ *                                                             classes of the wrapper div. If no className is passed only
+ *                                                             components-base-control is used.
+ * @property {import('react').ReactNode} [children]            The content to be displayed within
+ *                                                             the BaseControl.
+ */
+
+/**
+ * @param {Props} props
+ * @return {JSX.Element} Element
+ */
+
+function BaseControl(_ref) {
+  let {
+    id,
+    label,
+    hideLabelFromVision,
+    help,
+    className,
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(base_control_styles_Wrapper, {
+    className: classnames_default()('components-base-control', className)
+  }, (0,external_wp_element_namespaceObject.createElement)(StyledField, {
+    className: "components-base-control__field"
+  }, label && id && (hideLabelFromVision ? (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, {
+    as: "label",
+    htmlFor: id
+  }, label) : (0,external_wp_element_namespaceObject.createElement)(StyledLabel, {
+    className: "components-base-control__label",
+    htmlFor: id
+  }, label)), label && !id && (hideLabelFromVision ? (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, {
+    as: "label"
+  }, label) : (0,external_wp_element_namespaceObject.createElement)(BaseControl.VisualLabel, null, label)), children), !!help && (0,external_wp_element_namespaceObject.createElement)(StyledHelp, {
+    id: id ? id + '__help' : undefined,
+    className: "components-base-control__help"
+  }, help));
+}
+/**
+ * @typedef VisualLabelProps
+ * @property {string}                    [className] Class name
+ * @property {import('react').ReactNode} [children]  Children
+ */

+/**
+ * @param {VisualLabelProps} Props
+ * @return {JSX.Element} Element
+ */

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js

+BaseControl.VisualLabel = _ref2 => {
+  let {
+    className,
+    children
+  } = _ref2;
+  className = classnames_default()('components-base-control__label', className);
+  return (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: className
+  }, children);
+};

+/* harmony default export */ var base_control = (BaseControl);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/number-control/styles/number-control-styles.js


-var PresenceChild_presenceId = 0;
-function getPresenceId() {
-    var id = PresenceChild_presenceId;
-    PresenceChild_presenceId++;
-    return id;
-}
-var PresenceChild = function (_a) {
-    var children = _a.children, initial = _a.initial, isPresent = _a.isPresent, onExitComplete = _a.onExitComplete, custom = _a.custom, presenceAffectsLayout = _a.presenceAffectsLayout;
-    var presenceChildren = useConstant(newChildrenMap);
-    var id = useConstant(getPresenceId);
-    var context = Object(external_React_["useMemo"])(function () { return ({
-        id: id,
-        initial: initial,
-        isPresent: isPresent,
-        custom: custom,
-        onExitComplete: function (childId) {
-            presenceChildren.set(childId, true);
-            var allComplete = true;
-            presenceChildren.forEach(function (isComplete) {
-                if (!isComplete)
-                    allComplete = false;
-            });
-            allComplete && (onExitComplete === null || onExitComplete === void 0 ? void 0 : onExitComplete());
-        },
-        register: function (childId) {
-            presenceChildren.set(childId, false);
-            return function () { return presenceChildren.delete(childId); };
-        },
-    }); },
-    /**
-     * If the presence of a child affects the layout of the components around it,
-     * we want to make a new context value to ensure they get re-rendered
-     * so they can detect that layout change.
-     */
-    presenceAffectsLayout ? undefined : [isPresent]);
-    Object(external_React_["useMemo"])(function () {
-        presenceChildren.forEach(function (_, key) { return presenceChildren.set(key, false); });
-    }, [isPresent]);
-    /**
-     * If there's no `motion` components to fire exit animations, we want to remove this
-     * component immediately.
-     */
-    external_React_["useEffect"](function () {
-        !isPresent && !presenceChildren.size && (onExitComplete === null || onExitComplete === void 0 ? void 0 : onExitComplete());
-    }, [isPresent]);
-    return (external_React_["createElement"](PresenceContext.Provider, { value: context }, children));
-};
-function newChildrenMap() {
-    return new Map();
-}
+function number_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

+// @ts-nocheck

+/**
+ * External dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimatePresence/index.js

+/**
+ * Internal dependencies
+ */


+var number_control_styles_ref =  true ? {
+  name: "euqsgg",
+  styles: "input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"
+} : 0;

+const htmlArrowStyles = _ref2 => {
+  let {
+    hideHTMLArrows
+  } = _ref2;
+  if (!hideHTMLArrows) return ``;
+  return number_control_styles_ref;
+};

+const number_control_styles_Input = /*#__PURE__*/emotion_styled_base_browser_esm(input_control,  true ? {
+  target: "ep48uk90"
+} : 0)(htmlArrowStyles, ";" + ( true ? "" : 0));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/math.js
+/**
+ * External dependencies
+ */

-function getChildKey(child) {
-    return child.key || "";
-}
-function updateChildLookup(children, allChildren) {
-    var seenChildren =  false ? undefined : null;
-    children.forEach(function (child) {
-        var key = getChildKey(child);
-        if (false) {}
-        allChildren.set(key, child);
-    });
-}
-function onlyElements(children) {
-    var filtered = [];
-    // We use forEach here instead of map as map mutates the component key by preprending `.$`
-    external_React_["Children"].forEach(children, function (child) {
-        if (Object(external_React_["isValidElement"])(child))
-            filtered.push(child);
-    });
-    return filtered;
-}
 /**
- * `AnimatePresence` enables the animation of components that have been removed from the tree.
- *
- * When adding/removing more than a single child, every child **must** be given a unique `key` prop.
- *
- * @library
+ * Parses and retrieves a number value.
  *
- * Any `Frame` components that have an `exit` property defined will animate out when removed from
- * the tree.
+ * @param {unknown} value The incoming value.
  *
- * ```jsx
- * import { Frame, AnimatePresence } from 'framer'
+ * @return {number} The parsed number value.
+ */
+
+function getNumber(value) {
+  const number = Number(value);
+  return isNaN(number) ? 0 : number;
+}
+/**
+ * Safely adds 2 values.
  *
- * // As items are added and removed from `items`
- * export function Items({ items }) {
- *   return (
- *     <AnimatePresence>
- *       {items.map(item => (
- *         <Frame
- *           key={item.id}
- *           initial={{ opacity: 0 }}
- *           animate={{ opacity: 1 }}
- *           exit={{ opacity: 0 }}
- *         />
- *       ))}
- *     </AnimatePresence>
- *   )
- * }
- * ```
+ * @param {Array<number|string>} args Values to add together.
  *
- * You can sequence exit animations throughout a tree using variants.
+ * @return {number} The sum of values.
+ */
+
+function add() {
+  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+    args[_key] = arguments[_key];
+  }
+
+  return args.reduce(
+  /** @type {(sum:number, arg: number|string) => number} */
+  (sum, arg) => sum + getNumber(arg), 0);
+}
+/**
+ * Safely subtracts 2 values.
  *
- * @motion
+ * @param {Array<number|string>} args Values to subtract together.
  *
- * Any `motion` components that have an `exit` property defined will animate out when removed from
- * the tree.
+ * @return {number} The difference of the values.
+ */
+
+function subtract() {
+  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+    args[_key2] = arguments[_key2];
+  }
+
+  return args.reduce(
+  /** @type {(diff:number, arg: number|string, index:number) => number} */
+  (diff, arg, index) => {
+    const value = getNumber(arg);
+    return index === 0 ? value : diff - value;
+  }, 0);
+}
+/**
+ * Determines the decimal position of a number value.
  *
- * ```jsx
- * import { motion, AnimatePresence } from 'framer-motion'
+ * @param {number} value The number to evaluate.
  *
- * export const Items = ({ items }) => (
- *   <AnimatePresence>
- *     {items.map(item => (
- *       <motion.div
- *         key={item.id}
- *         initial={{ opacity: 0 }}
- *         animate={{ opacity: 1 }}
- *         exit={{ opacity: 0 }}
- *       />
- *     ))}
- *   </AnimatePresence>
- * )
- * ```
+ * @return {number} The number of decimal places.
+ */
+
+function getPrecision(value) {
+  const split = (value + '').split('.');
+  return split[1] !== undefined ? split[1].length : 0;
+}
+/**
+ * Clamps a value based on a min/max range with rounding
  *
- * You can sequence exit animations throughout a tree using variants.
+ * @param {number} value The value.
+ * @param {number} min   The minimum range.
+ * @param {number} max   The maximum range.
+ * @param {number} step  A multiplier for the value.
  *
- * If a child contains multiple `motion` components with `exit` props, it will only unmount the child
- * once all `motion` components have finished animating out. Likewise, any components using
- * `usePresence` all need to call `safeToRemove`.
+ * @return {number} The rounded and clamped value.
+ */
+
+
+function roundClamp() {
+  let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
+  let min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Infinity;
+  let max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Infinity;
+  let step = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
+  const baseValue = getNumber(value);
+  const stepValue = getNumber(step);
+  const precision = getPrecision(step);
+  const rounded = Math.round(baseValue / stepValue) * stepValue;
+  const clampedValue = (0,external_lodash_namespaceObject.clamp)(rounded, min, max);
+  return precision ? getNumber(clampedValue.toFixed(precision)) : clampedValue;
+}
+/**
+ * Clamps a value based on a min/max range with rounding.
+ * Returns a string.
  *
- * @public
+ * @param {Parameters<typeof roundClamp>} args Arguments for roundClamp().
+ * @return {string} The rounded and clamped value.
  */
-var AnimatePresence = function (_a) {
-    var children = _a.children, custom = _a.custom, _b = _a.initial, initial = _b === void 0 ? true : _b, onExitComplete = _a.onExitComplete, exitBeforeEnter = _a.exitBeforeEnter, _c = _a.presenceAffectsLayout, presenceAffectsLayout = _c === void 0 ? true : _c;
-    // We want to force a re-render once all exiting animations have finished. We
-    // either use a local forceRender function, or one from a parent context if it exists.
-    var forceRender = useForceUpdate();
-    var layoutContext = Object(external_React_["useContext"])(SharedLayoutContext);
-    if (isSharedLayout(layoutContext)) {
-        forceRender = layoutContext.forceUpdate;
-    }
-    var isInitialRender = Object(external_React_["useRef"])(true);
-    // Filter out any children that aren't ReactElements. We can only track ReactElements with a props.key
-    var filteredChildren = onlyElements(children);
-    // Keep a living record of the children we're actually rendering so we
-    // can diff to figure out which are entering and exiting
-    var presentChildren = Object(external_React_["useRef"])(filteredChildren);
-    // A lookup table to quickly reference components by key
-    var allChildren = Object(external_React_["useRef"])(new Map())
-        .current;
-    // A living record of all currently exiting components.
-    var exiting = Object(external_React_["useRef"])(new Set()).current;
-    updateChildLookup(filteredChildren, allChildren);
-    // If this is the initial component render, just deal with logic surrounding whether
-    // we play onMount animations or not.
-    if (isInitialRender.current) {
-        isInitialRender.current = false;
-        return (external_React_["createElement"](external_React_["Fragment"], null, filteredChildren.map(function (child) { return (external_React_["createElement"](PresenceChild, { key: getChildKey(child), isPresent: true, initial: initial ? undefined : false, presenceAffectsLayout: presenceAffectsLayout }, child)); })));
-    }
-    // If this is a subsequent render, deal with entering and exiting children
-    var childrenToRender = __spreadArray([], __read(filteredChildren));
-    // Diff the keys of the currently-present and target children to update our
-    // exiting list.
-    var presentKeys = presentChildren.current.map(getChildKey);
-    var targetKeys = filteredChildren.map(getChildKey);
-    // Diff the present children with our target children and mark those that are exiting
-    var numPresent = presentKeys.length;
-    for (var i = 0; i < numPresent; i++) {
-        var key = presentKeys[i];
-        if (targetKeys.indexOf(key) === -1) {
-            exiting.add(key);
-        }
-        else {
-            // In case this key has re-entered, remove from the exiting list
-            exiting.delete(key);
-        }
-    }
-    // If we currently have exiting children, and we're deferring rendering incoming children
-    // until after all current children have exiting, empty the childrenToRender array
-    if (exitBeforeEnter && exiting.size) {
-        childrenToRender = [];
-    }
-    // Loop through all currently exiting components and clone them to overwrite `animate`
-    // with any `exit` prop they might have defined.
-    exiting.forEach(function (key) {
-        // If this component is actually entering again, early return
-        if (targetKeys.indexOf(key) !== -1)
-            return;
-        var child = allChildren.get(key);
-        if (!child)
-            return;
-        var insertionIndex = presentKeys.indexOf(key);
-        var onExit = function () {
-            allChildren.delete(key);
-            exiting.delete(key);
-            // Remove this child from the present children
-            var removeIndex = presentChildren.current.findIndex(function (presentChild) { return presentChild.key === key; });
-            presentChildren.current.splice(removeIndex, 1);
-            // Defer re-rendering until all exiting children have indeed left
-            if (!exiting.size) {
-                presentChildren.current = filteredChildren;
-                forceRender();
-                onExitComplete && onExitComplete();
-            }
-        };
-        childrenToRender.splice(insertionIndex, 0, external_React_["createElement"](PresenceChild, { key: getChildKey(child), isPresent: false, onExitComplete: onExit, custom: custom, presenceAffectsLayout: presenceAffectsLayout }, child));
-    });
-    // Add `MotionContext` even to children that don't need it to ensure we're rendering
-    // the same tree between renders
-    childrenToRender = childrenToRender.map(function (child) {
-        var key = child.key;
-        return exiting.has(key) ? (child) : (external_React_["createElement"](PresenceChild, { key: getChildKey(child), isPresent: true, presenceAffectsLayout: presenceAffectsLayout }, child));
-    });
-    presentChildren.current = childrenToRender;
-    if (false) {}
-    return (external_React_["createElement"](external_React_["Fragment"], null, exiting.size
-        ? childrenToRender
-        : childrenToRender.map(function (child) { return Object(external_React_["cloneElement"])(child); })));
-};

+function roundClampString() {
+  return roundClamp(...arguments).toString();
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/number-control/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/drop-zone/index.js

+// @ts-nocheck

 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */



-
-
-
 /**
  * Internal dependencies
  */


-function DropZoneComponent(_ref) {
+
+
+
+
+function NumberControl(_ref, ref) {
   let {
+    __unstableStateReducer: stateReducer = state => state,
     className,
+    dragDirection = 'n',
+    hideHTMLArrows = false,
+    isDragEnabled = true,
+    isShiftStepEnabled = true,
     label,
-    onFilesDrop,
-    onHTMLDrop,
-    onDrop
+    max = Infinity,
+    min = -Infinity,
+    required = false,
+    shiftStep = 10,
+    step = 1,
+    type: typeProp = 'number',
+    value: valueProp,
+    ...props
   } = _ref;
-  const [isDraggingOverDocument, setIsDraggingOverDocument] = Object(external_wp_element_["useState"])();
-  const [isDraggingOverElement, setIsDraggingOverElement] = Object(external_wp_element_["useState"])();
-  const [type, setType] = Object(external_wp_element_["useState"])();
-  const ref = Object(external_wp_compose_["__experimentalUseDropZone"])({
-    onDrop(event) {
-      const files = Object(external_wp_dom_["getFilesFromDataTransfer"])(event.dataTransfer);
-      const html = event.dataTransfer.getData('text/html');
+  const isStepAny = step === 'any';
+  const baseStep = isStepAny ? 1 : parseFloat(step);
+  const baseValue = roundClamp(0, min, max, baseStep);

-      if (files.length && onFilesDrop) {
-        onFilesDrop(files);
-      } else if (html && onHTMLDrop) {
-        onHTMLDrop(html);
-      } else if (onDrop) {
-        onDrop(event);
+  const constrainValue = (value, stepOverride) => {
+    // When step is "any" clamp the value, otherwise round and clamp it
+    return isStepAny ? Math.min(max, Math.max(min, value)) : roundClamp(value, min, max, stepOverride !== null && stepOverride !== void 0 ? stepOverride : baseStep);
+  };
+
+  const autoComplete = typeProp === 'number' ? 'off' : null;
+  const classes = classnames_default()('components-number-control', className);
+  /**
+   * "Middleware" function that intercepts updates from InputControl.
+   * This allows us to tap into actions to transform the (next) state for
+   * InputControl.
+   *
+   * @param {Object} state  State from InputControl
+   * @param {Object} action Action triggering state change
+   * @return {Object} The updated state to apply to InputControl
+   */
+
+  const numberControlStateReducer = (state, action) => {
+    const {
+      type,
+      payload
+    } = action;
+    const event = payload === null || payload === void 0 ? void 0 : payload.event;
+    const currentValue = state.value;
+    /**
+     * Handles custom UP and DOWN Keyboard events
+     */
+
+    if (type === PRESS_UP || type === PRESS_DOWN) {
+      const enableShift = event.shiftKey && isShiftStepEnabled;
+      const incrementalValue = enableShift ? parseFloat(shiftStep) * baseStep : baseStep;
+      let nextValue = isValueEmpty(currentValue) ? baseValue : currentValue;
+
+      if (event !== null && event !== void 0 && event.preventDefault) {
+        event.preventDefault();
       }
-    },

-    onDragStart(event) {
-      setIsDraggingOverDocument(true);
-      let _type = 'default';
+      if (type === PRESS_UP) {
+        nextValue = add(nextValue, incrementalValue);
+      }

-      if ( // Check for the types because sometimes the files themselves
-      // are only available on drop.
-      Object(external_lodash_["includes"])(event.dataTransfer.types, 'Files') || Object(external_wp_dom_["getFilesFromDataTransfer"])(event.dataTransfer).length > 0) {
-        _type = 'file';
-      } else if (Object(external_lodash_["includes"])(event.dataTransfer.types, 'text/html')) {
-        _type = 'html';
+      if (type === PRESS_DOWN) {
+        nextValue = subtract(nextValue, incrementalValue);
       }

-      setType(_type);
-    },
+      state.value = constrainValue(nextValue, enableShift ? incrementalValue : null);
+    }
+    /**
+     * Handles drag to update events
+     */

-    onDragEnd() {
-      setIsDraggingOverDocument(false);
-      setType();
-    },

-    onDragEnter() {
-      setIsDraggingOverElement(true);
-    },
+    if (type === DRAG && isDragEnabled) {
+      const [x, y] = payload.delta;
+      const enableShift = payload.shiftKey && isShiftStepEnabled;
+      const modifier = enableShift ? parseFloat(shiftStep) * baseStep : baseStep;
+      let directionModifier;
+      let delta;

-    onDragLeave() {
-      setIsDraggingOverElement(false);
-    }
+      switch (dragDirection) {
+        case 'n':
+          delta = y;
+          directionModifier = -1;
+          break;

-  });
-  const disableMotion = Object(external_wp_compose_["useReducedMotion"])();
-  let children;
-  const backdrop = {
-    hidden: {
-      scaleY: 0,
-      opacity: 0
-    },
-    show: {
-      scaleY: 1,
-      opacity: 1,
-      transition: {
-        type: 'tween',
-        duration: 0.2,
-        delay: 0.1,
-        delayChildren: 0.2
+        case 'e':
+          delta = x;
+          directionModifier = (0,external_wp_i18n_namespaceObject.isRTL)() ? -1 : 1;
+          break;
+
+        case 's':
+          delta = y;
+          directionModifier = 1;
+          break;
+
+        case 'w':
+          delta = x;
+          directionModifier = (0,external_wp_i18n_namespaceObject.isRTL)() ? 1 : -1;
+          break;
       }
-    },
-    exit: {
-      scaleY: 1,
-      opacity: 0,
-      transition: {
-        duration: 0.3,
-        delayChildren: 0
+
+      if (delta !== 0) {
+        delta = Math.ceil(Math.abs(delta)) * Math.sign(delta);
+        const distance = delta * modifier * directionModifier;
+        state.value = constrainValue(add(currentValue, distance), enableShift ? modifier : null);
       }
     }
-  };
-  const foreground = {
-    hidden: {
-      opacity: 0,
-      scale: 0.75
-    },
-    show: {
-      opacity: 1,
-      scale: 1
-    },
-    exit: {
-      opacity: 0,
-      scale: 0.9
+    /**
+     * Handles commit (ENTER key press or on blur if isPressEnterToChange)
+     */
+
+
+    if (type === PRESS_ENTER || type === COMMIT) {
+      const applyEmptyValue = required === false && currentValue === '';
+      state.value = applyEmptyValue ? currentValue : constrainValue(currentValue);
     }
-  };

-  if (isDraggingOverElement) {
-    children = Object(external_wp_element_["createElement"])(motion.div, {
-      variants: backdrop,
-      initial: disableMotion ? 'show' : 'hidden',
-      animate: "show",
-      exit: disableMotion ? 'show' : 'exit',
-      className: "components-drop-zone__content"
-    }, Object(external_wp_element_["createElement"])(motion.div, {
-      variants: foreground
-    }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: upload["a" /* default */],
-      className: "components-drop-zone__content-icon"
-    }), Object(external_wp_element_["createElement"])("span", {
-      className: "components-drop-zone__content-text"
-    }, label ? label : Object(external_wp_i18n_["__"])('Drop files to upload'))));
-  }
+    return state;
+  };

-  const classes = classnames_default()('components-drop-zone', className, {
-    'is-active': (isDraggingOverDocument || isDraggingOverElement) && (type === 'file' && onFilesDrop || type === 'html' && onHTMLDrop || type === 'default' && onDrop),
-    'is-dragging-over-document': isDraggingOverDocument,
-    'is-dragging-over-element': isDraggingOverElement,
-    [`is-dragging-${type}`]: !!type
-  });
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)(number_control_styles_Input, extends_extends({
+    autoComplete: autoComplete,
+    inputMode: "numeric"
+  }, props, {
+    className: classes,
+    dragDirection: dragDirection,
+    hideHTMLArrows: hideHTMLArrows,
+    isDragEnabled: isDragEnabled,
+    label: label,
+    max: max,
+    min: min,
     ref: ref,
-    className: classes
-  }, disableMotion ? children : Object(external_wp_element_["createElement"])(AnimatePresence, null, children));
+    required: required,
+    step: step,
+    type: typeProp,
+    value: valueProp,
+    __unstableStateReducer: composeStateReducers(numberControlStateReducer, stateReducer)
+  }));
 }
+/* harmony default export */ var number_control = ((0,external_wp_element_namespaceObject.forwardRef)(NumberControl));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/unit-control/styles/unit-control-styles.js
+
+
+function unit_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/drop-zone/provider.js
 /**
- * WordPress dependencies
+ * External dependencies
  */

-function DropZoneProvider(_ref) {
+
+/**
+ * Internal dependencies
+ */
+
+
+const unit_control_styles_Root = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1bagdl33"
+} : 0)( true ? {
+  name: "100d0a9",
+  styles: "box-sizing:border-box;position:relative"
+} : 0);
+
+const paddingStyles = _ref2 => {
   let {
-    children
-  } = _ref;
-  external_wp_deprecated_default()('wp.components.DropZoneProvider', {
-    hint: 'wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code.'
-  });
-  return children;
-}
+    disableUnits
+  } = _ref2;
+  const value = disableUnits ? 3 : 24;
+  return /*#__PURE__*/emotion_react_browser_esm_css(rtl({
+    paddingRight: value
+  })(), ";" + ( true ? "" : 0),  true ? "" : 0);
+};
+
+var unit_control_styles_ref =  true ? {
+  name: "1y65o8",
+  styles: "&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"
+} : 0;

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/swatch.js
+const arrowStyles = _ref3 => {
+  let {
+    disableUnits
+  } = _ref3;
+  if (disableUnits) return '';
+  return unit_control_styles_ref;
+}; // TODO: Resolve need to use &&& to increase specificity
+// https://github.com/WordPress/gutenberg/issues/18483


-/**
- * WordPress dependencies
- */
+const ValueInput = /*#__PURE__*/emotion_styled_base_browser_esm(number_control,  true ? {
+  target: "e1bagdl32"
+} : 0)("&&&{input{appearance:none;-moz-appearance:textfield;display:block;width:100%;", arrowStyles, ";", paddingStyles, ";}}" + ( true ? "" : 0));

-const swatch = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M5 17.7c.4.5.8.9 1.2 1.2l1.1-1.4c-.4-.3-.7-.6-1-1L5 17.7zM5 6.3l1.4 1.1c.3-.4.6-.7 1-1L6.3 5c-.5.4-.9.8-1.3 1.3zm.1 7.8l-1.7.5c.2.6.4 1.1.7 1.6l1.5-.8c-.2-.4-.4-.8-.5-1.3zM4.8 12v-.7L3 11.1v1.8l1.7-.2c.1-.2.1-.5.1-.7zm3 7.9c.5.3 1.1.5 1.6.7l.5-1.7c-.5-.1-.9-.3-1.3-.5l-.8 1.5zM19 6.3c-.4-.5-.8-.9-1.2-1.2l-1.1 1.4c.4.3.7.6 1 1L19 6.3zm-.1 3.6l1.7-.5c-.2-.6-.4-1.1-.7-1.6l-1.5.8c.2.4.4.8.5 1.3zM5.6 8.6l-1.5-.8c-.3.5-.5 1-.7 1.6l1.7.5c.1-.5.3-.9.5-1.3zm2.2-4.5l.8 1.5c.4-.2.8-.4 1.3-.5l-.5-1.7c-.6.2-1.1.4-1.6.7zm8.8 13.5l1.1 1.4c.5-.4.9-.8 1.2-1.2l-1.4-1.1c-.2.3-.5.6-.9.9zm1.8-2.2l1.5.8c.3-.5.5-1.1.7-1.6l-1.7-.5c-.1.5-.3.9-.5 1.3zm2.6-4.3l-1.7.2v1.4l1.7.2V12v-.9zM11.1 3l.2 1.7h1.4l.2-1.7h-1.8zm3 2.1c.5.1.9.3 1.3.5l.8-1.5c-.5-.3-1.1-.5-1.6-.7l-.5 1.7zM12 19.2h-.7l-.2 1.8h1.8l-.2-1.7c-.2-.1-.5-.1-.7-.1zm2.1-.3l.5 1.7c.6-.2 1.1-.4 1.6-.7l-.8-1.5c-.4.2-.8.4-1.3.5z"
-}));
-/* harmony default export */ var library_swatch = (swatch);
+const unitSizeStyles = _ref4 => {
+  let {
+    selectSize
+  } = _ref4;
+  const sizes = {
+    default: {
+      height: 28,
+      lineHeight: '24px',
+      minHeight: 28,
+      top: 1
+    },
+    small: {
+      height: 22,
+      lineHeight: '18px',
+      minHeight: 22,
+      top: 1
+    }
+  };
+  return /*#__PURE__*/emotion_react_browser_esm_css(sizes[selectSize],  true ? "" : 0,  true ? "" : 0);
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/swatch/index.js
+const baseUnitLabelStyles = props => {
+  return /*#__PURE__*/emotion_react_browser_esm_css("appearance:none;background:transparent;border-radius:2px;border:none;box-sizing:border-box;color:", COLORS.darkGray[500], ";display:block;font-size:8px;line-height:1;letter-spacing:-0.5px;outline:none;padding:2px 1px;position:absolute;text-align-last:center;text-transform:uppercase;width:20px;", rtl({
+    borderTopLeftRadius: 0,
+    borderBottomLeftRadius: 0
+  })(), " ", rtl({
+    right: 0
+  })(), " ", unitSizeStyles(props), ";" + ( true ? "" : 0),  true ? "" : 0);
+};

+const UnitLabel = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1bagdl31"
+} : 0)("&&&{pointer-events:none;", baseUnitLabelStyles, ";}" + ( true ? "" : 0));
+const UnitSelect = emotion_styled_base_browser_esm("select",  true ? {
+  target: "e1bagdl30"
+} : 0)("&&&{", baseUnitLabelStyles, ";cursor:pointer;border:1px solid transparent;&:hover{background-color:", COLORS.lightGray[300], ";}&:focus{border-color:", COLORS.ui.borderFocus, ";outline:2px solid transparent;outline-offset:0;}&:disabled{cursor:initial;&:hover{background-color:transparent;}}}" + ( true ? "" : 0));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/unit-control/utils.js
 /**
  * WordPress dependencies
  */

+
 /**
  * Internal dependencies
  */

+const isWeb = external_wp_element_namespaceObject.Platform.OS === 'web';
+const allUnits = {
+  px: {
+    value: 'px',
+    label: isWeb ? 'px' : (0,external_wp_i18n_namespaceObject.__)('Pixels (px)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Pixels (px)'),
+    step: 1
+  },
+  '%': {
+    value: '%',
+    label: isWeb ? '%' : (0,external_wp_i18n_namespaceObject.__)('Percentage (%)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Percent (%)'),
+    step: 0.1
+  },
+  em: {
+    value: 'em',
+    label: isWeb ? 'em' : (0,external_wp_i18n_namespaceObject.__)('Relative to parent font size (em)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject._x)('ems', 'Relative to parent font size (em)'),
+    step: 0.01
+  },
+  rem: {
+    value: 'rem',
+    label: isWeb ? 'rem' : (0,external_wp_i18n_namespaceObject.__)('Relative to root font size (rem)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject._x)('rems', 'Relative to root font size (rem)'),
+    step: 0.01
+  },
+  vw: {
+    value: 'vw',
+    label: isWeb ? 'vw' : (0,external_wp_i18n_namespaceObject.__)('Viewport width (vw)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Viewport width (vw)'),
+    step: 0.1
+  },
+  vh: {
+    value: 'vh',
+    label: isWeb ? 'vh' : (0,external_wp_i18n_namespaceObject.__)('Viewport height (vh)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Viewport height (vh)'),
+    step: 0.1
+  },
+  vmin: {
+    value: 'vmin',
+    label: isWeb ? 'vmin' : (0,external_wp_i18n_namespaceObject.__)('Viewport smallest dimension (vmin)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Viewport smallest dimension (vmin)'),
+    step: 0.1
+  },
+  vmax: {
+    value: 'vmax',
+    label: isWeb ? 'vmax' : (0,external_wp_i18n_namespaceObject.__)('Viewport largest dimension (vmax)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Viewport largest dimension (vmax)'),
+    step: 0.1
+  },
+  ch: {
+    value: 'ch',
+    label: isWeb ? 'ch' : (0,external_wp_i18n_namespaceObject.__)('Width of the zero (0) character (ch)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Width of the zero (0) character (ch)'),
+    step: 0.01
+  },
+  ex: {
+    value: 'ex',
+    label: isWeb ? 'ex' : (0,external_wp_i18n_namespaceObject.__)('x-height of the font (ex)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('x-height of the font (ex)'),
+    step: 0.01
+  },
+  cm: {
+    value: 'cm',
+    label: isWeb ? 'cm' : (0,external_wp_i18n_namespaceObject.__)('Centimeters (cm)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Centimeters (cm)'),
+    step: 0.001
+  },
+  mm: {
+    value: 'mm',
+    label: isWeb ? 'mm' : (0,external_wp_i18n_namespaceObject.__)('Millimeters (mm)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Millimeters (mm)'),
+    step: 0.1
+  },
+  in: {
+    value: 'in',
+    label: isWeb ? 'in' : (0,external_wp_i18n_namespaceObject.__)('Inches (in)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Inches (in)'),
+    step: 0.001
+  },
+  pc: {
+    value: 'pc',
+    label: isWeb ? 'pc' : (0,external_wp_i18n_namespaceObject.__)('Picas (pc)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Picas (pc)'),
+    step: 1
+  },
+  pt: {
+    value: 'pt',
+    label: isWeb ? 'pt' : (0,external_wp_i18n_namespaceObject.__)('Points (pt)'),
+    default: '',
+    a11yLabel: (0,external_wp_i18n_namespaceObject.__)('Points (pt)'),
+    step: 1
+  }
+};
+/**
+ * An array of all available CSS length units.
+ */
+
+const ALL_CSS_UNITS = Object.values(allUnits);
+/**
+ * Units of measurements. `a11yLabel` is used by screenreaders.
+ */

+const CSS_UNITS = [allUnits.px, allUnits['%'], allUnits.em, allUnits.rem, allUnits.vw, allUnits.vh];
+const DEFAULT_UNIT = allUnits.px;
+/**
+ * Handles legacy value + unit handling.
+ * This component use to manage both incoming value and units separately.
+ *
+ * Moving forward, ideally the value should be a string that contains both
+ * the value and unit, example: '10px'
+ *
+ * @param  value Value
+ * @param  unit  Unit value
+ * @param  units Units to derive from.
+ * @return The extracted number and unit.
+ */

-function Swatch(_ref) {
-  let {
-    fill
-  } = _ref;
-  return fill ? Object(external_wp_element_["createElement"])("span", {
-    className: "components-swatch",
-    style: {
-      background: fill
-    }
-  }) : Object(external_wp_element_["createElement"])(components_build_module_icon["a" /* default */], {
-    icon: library_swatch
-  });
+function getParsedValue(value, unit, units) {
+  const initialValue = unit ? `${value}${unit}` : value;
+  return parseUnit(initialValue, units);
 }
+/**
+ * Checks if units are defined.
+ *
+ * @param  units Units to check.
+ * @return Whether units are defined.
+ */

-/* harmony default export */ var build_module_swatch = (Swatch);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/duotone-picker/utils.js
+function hasUnits(units) {
+  return Array.isArray(units) && !!units.length;
+}
 /**
- * External dependencies
+ * Parses a number and unit from a value.
+ *
+ * @param  initialValue Value to parse
+ * @param  units        Units to derive from.
+ * @return The extracted number and unit.
  */

+function parseUnit(initialValue) {
+  let units = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ALL_CSS_UNITS;
+  const value = String(initialValue).trim();
+  let num = parseFloat(value);
+  num = isNaN(num) ? '' : num;
+  const unitMatch = value.match(/[\d.\-\+]*\s*(.*)/);
+  let unit = (unitMatch === null || unitMatch === void 0 ? void 0 : unitMatch[1]) !== undefined ? unitMatch[1] : '';
+  unit = unit.toLowerCase();
+
+  if (hasUnits(units) && units !== false) {
+    const match = units.find(item => item.value === unit);
+    unit = match === null || match === void 0 ? void 0 : match.value;
+  } else {
+    unit = DEFAULT_UNIT.value;
+  }

-Object(colord["b" /* extend */])([names["a" /* default */]]);
+  return [num, unit];
+}
 /**
- * Object representation for a color.
+ * Parses a number and unit from a value. Validates parsed value, using fallback
+ * value if invalid.
  *
- * @typedef {Object} RGBColor
- * @property {number} r Red component of the color in the range [0,1].
- * @property {number} g Green component of the color in the range [0,1].
- * @property {number} b Blue component of the color in the range [0,1].
+ * @param  next          The next value.
+ * @param  units         Units to derive from.
+ * @param  fallbackValue The fallback value.
+ * @param  fallbackUnit  The fallback value.
+ * @return The extracted value and unit.
  */

+function getValidParsedUnit(next, units, fallbackValue, fallbackUnit) {
+  const [parsedValue, parsedUnit] = parseUnit(next, units);
+  let baseValue = parsedValue;
+  let baseUnit; // The parsed value from `parseUnit` should now be either a
+  // real number or an empty string. If not, use the fallback value.
+
+  if (!Number.isFinite(parsedValue) || parsedValue === '') {
+    baseValue = fallbackValue;
+  }
+
+  baseUnit = parsedUnit || fallbackUnit;
+  /**
+   * If no unit is found, attempt to use the first value from the collection
+   * of units as a default fallback.
+   */
+
+  if (Array.isArray(units) && hasUnits(units) && !baseUnit) {
+    var _units$;
+
+    baseUnit = (_units$ = units[0]) === null || _units$ === void 0 ? void 0 : _units$.value;
+  }
+
+  return [baseValue, baseUnit];
+}
 /**
- * Calculate the brightest and darkest values from a color palette.
- *
- * @param {Object[]} palette Color palette for the theme.
+ * Takes a unit value and finds the matching accessibility label for the
+ * unit abbreviation.
  *
- * @return {string[]} Tuple of the darkest color and brightest color.
+ * @param  unit Unit value (example: px)
+ * @return a11y label for the unit abbreviation
  */

-function getDefaultColors(palette) {
-  // A default dark and light color are required.
-  if (!palette || palette.length < 2) return ['#000', '#fff'];
-  return palette.map(_ref => {
-    let {
-      color
-    } = _ref;
-    return {
-      color,
-      brightness: Object(colord["a" /* colord */])(color).brightness()
-    };
-  }).reduce((_ref2, current) => {
-    let [min, max] = _ref2;
-    return [current.brightness <= min.brightness ? current : min, current.brightness >= max.brightness ? current : max];
-  }, [{
-    brightness: 1
-  }, {
-    brightness: 0
-  }]).map(_ref3 => {
-    let {
-      color
-    } = _ref3;
-    return color;
-  });
+function parseA11yLabelForUnit(unit) {
+  const match = ALL_CSS_UNITS.find(item => item.value === unit);
+  return match !== null && match !== void 0 && match.a11yLabel ? match === null || match === void 0 ? void 0 : match.a11yLabel : match === null || match === void 0 ? void 0 : match.value;
 }
 /**
- * Generate a duotone gradient from a list of colors.
+ * Filters available units based on values defined by the unit setting/property.
  *
- * @param {string[]} colors CSS color strings.
- * @param {string}   angle  CSS gradient angle.
+ * @param  unitSetting Collection of preferred unit value strings.
+ * @param  units       Collection of available unit objects.
  *
- * @return {string} CSS gradient string for the duotone swatch.
+ * @return Filtered units based on settings.
  */

-function getGradientFromCSSColors() {
-  let colors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  let angle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '90deg';
-  const l = 100 / colors.length;
-  const stops = colors.map((c, i) => `${c} ${i * l}%, ${c} ${(i + 1) * l}%`).join(', ');
-  return `linear-gradient( ${angle}, ${stops} )`;
+function filterUnitsWithSettings() {
+  let unitSetting = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  let units = arguments.length > 1 ? arguments[1] : undefined;
+  return Array.isArray(units) ? units.filter(unit => {
+    return unitSetting.includes(unit.value);
+  }) : [];
 }
 /**
- * Convert a color array to an array of color stops.
+ * Custom hook to retrieve and consolidate units setting from add_theme_support().
+ * TODO: ideally this hook shouldn't be needed
+ * https://github.com/WordPress/gutenberg/pull/31822#discussion_r633280823
  *
- * @param {string[]} colors CSS colors array
+ * @param  args                An object containing units, settingPath & defaultUnits.
+ * @param  args.units          Collection of all potentially available units.
+ * @param  args.availableUnits Collection of unit value strings for filtering available units.
+ * @param  args.defaultValues  Collection of default values for defined units. Example: { px: '350', em: '15' }.
  *
- * @return {Object[]} Color stop information.
+ * @return Filtered units based on settings.
  */

-function getColorStopsFromColors(colors) {
-  return colors.map((color, i) => ({
-    position: i * 100 / (colors.length - 1),
-    color
-  }));
-}
+const useCustomUnits = _ref => {
+  let {
+    units,
+    availableUnits,
+    defaultValues
+  } = _ref;
+  units = units || ALL_CSS_UNITS;
+  const usedUnits = filterUnitsWithSettings(!availableUnits ? [] : availableUnits, units);
+
+  if (defaultValues) {
+    usedUnits.forEach((unit, i) => {
+      if (defaultValues[unit.value]) {
+        usedUnits[i].default = defaultValues[unit.value];
+      }
+    });
+  }
+
+  return usedUnits.length === 0 ? false : usedUnits;
+};
 /**
- * Convert a color stop array to an array colors.
+ * Get available units with the unit for the currently selected value
+ * prepended if it is not available in the list of units.
  *
- * @param {Object[]} colorStops Color stop information.
+ * This is useful to ensure that the current value's unit is always
+ * accurately displayed in the UI, even if the intention is to hide
+ * the availability of that unit.
  *
- * @return {string[]} CSS colors array.
+ * @param  currentValue Selected value to parse.
+ * @param  legacyUnit   Legacy unit value, if currentValue needs it appended.
+ * @param  units        List of available units.
+ *
+ * @return A collection of units containing the unit for the current value.
  */

-function getColorsFromColorStops() {
-  let colorStops = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  return colorStops.map(_ref4 => {
-    let {
-      color
-    } = _ref4;
-    return color;
-  });
+function getUnitsWithCurrentUnit(currentValue, legacyUnit) {
+  let units = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ALL_CSS_UNITS;
+
+  if (!Array.isArray(units)) {
+    return units;
+  }
+
+  const unitsWithCurrentUnit = [...units];
+  const [, currentUnit] = getParsedValue(currentValue, legacyUnit, ALL_CSS_UNITS);
+
+  if (currentUnit && !unitsWithCurrentUnit.some(unit => unit.value === currentUnit)) {
+    if (allUnits[currentUnit]) {
+      unitsWithCurrentUnit.unshift(allUnits[currentUnit]);
+    }
+  }
+
+  return unitsWithCurrentUnit;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/duotone-picker/duotone-swatch.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/unit-control/unit-select-control.js
+


 /**
- * Internal dependencies
+ * External dependencies
  */

+ // eslint-disable-next-line no-restricted-imports
+


-function DuotoneSwatch(_ref) {
+function UnitSelectControl(_ref) {
   let {
-    values
+    className,
+    isUnitSelectTabbable: isTabbable = true,
+    onChange = external_lodash_namespaceObject.noop,
+    size = 'default',
+    unit = 'px',
+    units = CSS_UNITS,
+    ...props
   } = _ref;
-  return Object(external_wp_element_["createElement"])(build_module_swatch, {
-    fill: values && getGradientFromCSSColors(values, '135deg')
-  });
-}

-/* harmony default export */ var duotone_swatch = (DuotoneSwatch);
+  if (!units || !hasUnits(units) || (units === null || units === void 0 ? void 0 : units.length) === 1) {
+    return (0,external_wp_element_namespaceObject.createElement)(UnitLabel, {
+      className: "components-unit-control__unit-label",
+      selectSize: size
+    }, unit);
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-list-picker/index.js
+  const handleOnChange = event => {
+    const {
+      value: unitValue
+    } = event.target;
+    const data = units.find(option => option.value === unitValue);
+    onChange(unitValue, {
+      event,
+      data
+    });
+  };

+  const classes = classnames_default()('components-unit-control__select', className);
+  return (0,external_wp_element_namespaceObject.createElement)(UnitSelect, extends_extends({
+    className: classes,
+    onChange: handleOnChange,
+    selectSize: size,
+    tabIndex: isTabbable ? undefined : -1,
+    value: unit
+  }, props), units.map(option => (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: option.value,
+    key: option.value
+  }, option.label)));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-controlled-state.js
 /**
  * WordPress dependencies
  */
@@ -48070,100 +42216,94 @@ function DuotoneSwatch(_ref) {
  */


+/**
+ * @template T
+ * @typedef Options
+ * @property {T | undefined} initial  Initial value
+ * @property {T | ""}        fallback Fallback value
+ */

+/** @type {Readonly<{ initial: undefined, fallback: '' }>} */

+const defaultOptions = {
+  initial: undefined,

-function ColorOption(_ref) {
-  let {
-    label,
-    value,
-    colors,
-    disableCustomColors,
-    enableAlpha,
-    onChange
-  } = _ref;
-  const [isOpen, setIsOpen] = Object(external_wp_element_["useState"])(false);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-color-list-picker__swatch-button",
-    icon: Object(external_wp_element_["createElement"])(build_module_swatch, {
-      fill: value
-    }),
-    onClick: () => setIsOpen(prev => !prev)
-  }, label), isOpen && Object(external_wp_element_["createElement"])(ColorPalette, {
-    className: "components-color-list-picker__color-picker",
-    colors: colors,
-    value: value,
-    clearable: false,
-    onChange: onChange,
-    disableCustomColors: disableCustomColors,
-    enableAlpha: enableAlpha
-  }));
-}
+  /**
+   * Defaults to empty string, as that is preferred for usage with
+   * <input />, <textarea />, and <select /> form elements.
+   */
+  fallback: ''
+};
+/**
+ * Custom hooks for "controlled" components to track and consolidate internal
+ * state and incoming values. This is useful for components that render
+ * `input`, `textarea`, or `select` HTML elements.
+ *
+ * https://reactjs.org/docs/forms.html#controlled-components
+ *
+ * At first, a component using useControlledState receives an initial prop
+ * value, which is used as initial internal state.
+ *
+ * This internal state can be maintained and updated without
+ * relying on new incoming prop values.
+ *
+ * Unlike the basic useState hook, useControlledState's state can
+ * be updated if a new incoming prop value is changed.
+ *
+ * @template T
+ *
+ * @param {T | undefined} currentState             The current value.
+ * @param {Options<T>}    [options=defaultOptions] Additional options for the hook.
+ *
+ * @return {[T | "", (nextState: T) => void]} The controlled value and the value setter.
+ */

-function ColorListPicker(_ref2) {
-  let {
-    colors,
-    labels,
-    value = [],
-    disableCustomColors,
-    enableAlpha,
-    onChange
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "components-color-list-picker"
-  }, labels.map((label, index) => Object(external_wp_element_["createElement"])(ColorOption, {
-    key: index,
-    label: label,
-    value: value[index],
-    colors: colors,
-    disableCustomColors: disableCustomColors,
-    enableAlpha: enableAlpha,
-    onChange: newColor => {
-      const newColors = value.slice();
-      newColors[index] = newColor;
-      onChange(newColors);
+function useControlledState(currentState) {
+  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOptions;
+  const {
+    initial,
+    fallback
+  } = { ...defaultOptions,
+    ...options
+  };
+  const [internalState, setInternalState] = (0,external_wp_element_namespaceObject.useState)(currentState);
+  const hasCurrentState = isValueDefined(currentState);
+  /*
+   * Resets internal state if value every changes from uncontrolled <-> controlled.
+   */
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (hasCurrentState && internalState) {
+      setInternalState(undefined);
     }
-  })));
-}
+  }, [hasCurrentState, internalState]);
+  const state = getDefinedValue([currentState, internalState, initial], fallback);
+  /* eslint-disable jsdoc/no-undefined-types */

-/* harmony default export */ var color_list_picker = (ColorListPicker);
+  /** @type {(nextState: T) => void} */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/duotone-picker/custom-duotone-bar.js
+  const setState = nextState => {
+    if (!hasCurrentState) {
+      setInternalState(nextState);
+    }
+  };
+  /* eslint-enable jsdoc/no-undefined-types */


-/**
- * Internal dependencies
- */
+  return [state, setState];
+}

+/* harmony default export */ var use_controlled_state = (useControlledState);

-const PLACEHOLDER_VALUES = ['#333', '#CCC'];
-function CustomDuotoneBar(_ref) {
-  let {
-    value,
-    onChange
-  } = _ref;
-  const hasGradient = !!value;
-  const values = hasGradient ? value : PLACEHOLDER_VALUES;
-  const background = getGradientFromCSSColors(values);
-  const controlPoints = getColorStopsFromColors(values);
-  return Object(external_wp_element_["createElement"])(CustomGradientBar, {
-    disableInserter: true,
-    background: background,
-    hasGradient: hasGradient,
-    value: controlPoints,
-    onChange: newColorStops => {
-      const newValue = getColorsFromColorStops(newColorStops);
-      onChange(newValue);
-    }
-  });
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/unit-control/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/duotone-picker/duotone-picker.js


 /**
  * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports
+

 /**
  * WordPress dependencies
@@ -48171,6 +42311,7 @@ function CustomDuotoneBar(_ref) {



+
 /**
  * Internal dependencies
  */
@@ -48180,1640 +42321,2394 @@ function CustomDuotoneBar(_ref) {



-function DuotonePicker(_ref) {
+
+
+function UnitControl(_ref, forwardedRef) {
   let {
-    clearable = true,
-    colorPalette,
-    duotonePalette,
-    disableCustomColors,
-    disableCustomDuotone,
-    value,
-    onChange
+    __unstableStateReducer: stateReducer = state => state,
+    autoComplete = 'off',
+    className,
+    disabled = false,
+    disableUnits = false,
+    isPressEnterToChange = false,
+    isResetValueOnUnitChange = false,
+    isUnitSelectTabbable = true,
+    label,
+    onChange = external_lodash_namespaceObject.noop,
+    onUnitChange = external_lodash_namespaceObject.noop,
+    size = 'default',
+    style,
+    unit: unitProp,
+    units: unitsProp = CSS_UNITS,
+    value: valueProp,
+    ...props
   } = _ref;
-  const [defaultDark, defaultLight] = Object(external_wp_element_["useMemo"])(() => getDefaultColors(colorPalette), [colorPalette]);
-  return Object(external_wp_element_["createElement"])(CircularOptionPicker, {
-    options: duotonePalette.map(_ref2 => {
-      let {
-        colors,
-        slug,
-        name
-      } = _ref2;
-      const style = {
-        background: getGradientFromCSSColors(colors, '135deg'),
-        color: 'transparent'
-      };
-      const tooltipText = name !== null && name !== void 0 ? name : Object(external_wp_i18n_["sprintf"])( // translators: %s: duotone code e.g: "dark-grayscale" or "7f7f7f-ffffff".
-      Object(external_wp_i18n_["__"])('Duotone code: %s'), slug);
-      const label = name ? Object(external_wp_i18n_["sprintf"])( // translators: %s: The name of the option e.g: "Dark grayscale".
-      Object(external_wp_i18n_["__"])('Duotone: %s'), name) : tooltipText;
-      const isSelected = Object(external_lodash_["isEqual"])(colors, value);
-      return Object(external_wp_element_["createElement"])(CircularOptionPicker.Option, {
-        key: slug,
-        value: colors,
-        isSelected: isSelected,
-        "aria-label": label,
-        tooltipText: tooltipText,
-        style: style,
-        onClick: () => {
-          onChange(isSelected ? undefined : colors);
-        }
-      });
-    }),
-    actions: !!clearable && Object(external_wp_element_["createElement"])(CircularOptionPicker.ButtonAction, {
-      onClick: () => onChange(undefined)
-    }, Object(external_wp_i18n_["__"])('Clear'))
-  }, !disableCustomColors && !disableCustomDuotone && Object(external_wp_element_["createElement"])(CustomDuotoneBar, {
-    value: value,
-    onChange: onChange
-  }), !disableCustomDuotone && Object(external_wp_element_["createElement"])(color_list_picker, {
-    labels: [Object(external_wp_i18n_["__"])('Shadows'), Object(external_wp_i18n_["__"])('Highlights')],
-    colors: colorPalette,
-    value: value,
-    disableCustomColors: disableCustomColors,
-    enableAlpha: true,
-    onChange: newColors => {
-      if (!newColors[0]) {
-        newColors[0] = defaultDark;
-      }
+  const units = (0,external_wp_element_namespaceObject.useMemo)(() => getUnitsWithCurrentUnit(valueProp, unitProp, unitsProp), [valueProp, unitProp, unitsProp]);
+  const [value, initialUnit] = getParsedValue(valueProp, unitProp, units);
+  const [unit, setUnit] = use_controlled_state(unitProp, {
+    initial: initialUnit,
+    fallback: ''
+  }); // Stores parsed value for hand-off in state reducer

-      if (!newColors[1]) {
-        newColors[1] = defaultLight;
-      }
+  const refParsedValue = (0,external_wp_element_namespaceObject.useRef)(null);
+  const classes = classnames_default()('components-unit-control', className);

-      const newValue = newColors.length >= 2 ? newColors : undefined;
-      onChange(newValue);
+  const handleOnChange = (next, changeProps) => {
+    if (next === '') {
+      onChange('', changeProps);
+      return;
     }
-  }));
-}
+    /*
+     * Customizing the onChange callback.
+     * This allows as to broadcast a combined value+unit to onChange.
+     */

-/* harmony default export */ var duotone_picker = (DuotonePicker);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
-var external = __webpack_require__("K+tz");
+    next = getValidParsedUnit(next, units, value, unit).join('');
+    onChange(next, changeProps);
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/external-link/styles/external-link-styles.js
+  const handleOnUnitChange = (next, changeProps) => {
+    const {
+      data
+    } = changeProps;
+    let nextValue = `${value}${next}`;

+    if (isResetValueOnUnitChange && (data === null || data === void 0 ? void 0 : data.default) !== undefined) {
+      nextValue = `${data.default}${next}`;
+    }

-function external_link_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+    onChange(nextValue, changeProps);
+    onUnitChange(next, changeProps);
+    setUnit(next);
+  };

-/**
- * External dependencies
- */
+  const mayUpdateUnit = event => {
+    if (!isNaN(Number(event.currentTarget.value))) {
+      refParsedValue.current = null;
+      return;
+    }

-/**
- * WordPress dependencies
- */
+    const [parsedValue, parsedUnit] = getValidParsedUnit(event.currentTarget.value, units, value, unit);
+    refParsedValue.current = parsedValue.toString();

-const StyledIcon = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(build_module_icon["a" /* default */],  true ? {
-  target: "etxm6pv0"
-} : undefined)( true ? {
-  name: "bqq7t3",
-  styles: "width:1.4em;height:1.4em;margin:-0.2em 0.1em 0;vertical-align:middle;fill:currentColor"
-} : undefined);
+    if (isPressEnterToChange && parsedUnit !== unit) {
+      const data = Array.isArray(units) ? units.find(option => option.value === parsedUnit) : undefined;
+      const changeProps = {
+        event,
+        data
+      };
+      onChange(`${parsedValue}${parsedUnit}`, changeProps);
+      onUnitChange(parsedUnit, changeProps);
+      setUnit(parsedUnit);
+    }
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/external-link/index.js
+  const handleOnBlur = mayUpdateUnit;

+  const handleOnKeyDown = event => {
+    const {
+      keyCode
+    } = event;

+    if (keyCode === external_wp_keycodes_namespaceObject.ENTER) {
+      mayUpdateUnit(event);
+    }
+  };
+  /**
+   * "Middleware" function that intercepts updates from InputControl.
+   * This allows us to tap into actions to transform the (next) state for
+   * InputControl.
+   *
+   * @param  state  State from InputControl
+   * @param  action Action triggering state change
+   * @return The updated state to apply to InputControl
+   */

-/**
- * External dependencies
- */

+  const unitControlStateReducer = (state, action) => {
+    /*
+     * On commits (when pressing ENTER and on blur if
+     * isPressEnterToChange is true), if a parse has been performed
+     * then use that result to update the state.
+     */
+    if (action.type === COMMIT) {
+      if (refParsedValue.current !== null) {
+        state.value = refParsedValue.current;
+        refParsedValue.current = null;
+      }
+    }

-/**
- * WordPress dependencies
- */
+    return state;
+  };

+  const inputSuffix = !disableUnits ? (0,external_wp_element_namespaceObject.createElement)(UnitSelectControl, {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Select unit'),
+    disabled: disabled,
+    isUnitSelectTabbable: isUnitSelectTabbable,
+    onChange: handleOnUnitChange,
+    size: size,
+    unit: unit,
+    units: units
+  }) : null;
+  let step = props.step;
+  /*
+   * If no step prop has been passed, lookup the active unit and
+   * try to get step from `units`, or default to a value of `1`
+   */

+  if (!step && units) {
+    var _activeUnit$step;

+    const activeUnit = units.find(option => option.value === unit);
+    step = (_activeUnit$step = activeUnit === null || activeUnit === void 0 ? void 0 : activeUnit.step) !== null && _activeUnit$step !== void 0 ? _activeUnit$step : 1;
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(unit_control_styles_Root, {
+    className: "components-unit-control-wrapper",
+    style: style
+  }, (0,external_wp_element_namespaceObject.createElement)(ValueInput, extends_extends({
+    "aria-label": label,
+    type: isPressEnterToChange ? 'text' : 'number'
+  }, (0,external_lodash_namespaceObject.omit)(props, ['children']), {
+    autoComplete: autoComplete,
+    className: classes,
+    disabled: disabled,
+    disableUnits: disableUnits,
+    isPressEnterToChange: isPressEnterToChange,
+    label: label,
+    onBlur: handleOnBlur,
+    onKeyDown: handleOnKeyDown,
+    onChange: handleOnChange,
+    ref: forwardedRef,
+    size: size,
+    suffix: inputSuffix,
+    value: value,
+    step: step,
+    __unstableStateReducer: composeStateReducers(unitControlStateReducer, stateReducer)
+  })));
+}
 /**
- * Internal dependencies
+ * `UnitControl` allows the user to set a value as well as a unit (e.g. `px`).
+ *
+ *
+ * @example
+ * ```jsx
+ * import { __experimentalUnitControl as UnitControl } from '@wordpress/components';
+ * import { useState } from '@wordpress/element';
+ *
+ * const Example = () => {
+ *   const [ value, setValue ] = useState( '10px' );
+ *
+ *   return <UnitControl onChange={ setValue } value={ value } />;
+ * };
+ * ```
  */


+const ForwardedUnitControl = (0,external_wp_element_namespaceObject.forwardRef)(UnitControl);

-function ExternalLink(_ref, ref) {
-  let {
-    href,
-    children,
-    className,
-    rel = '',
-    ...additionalProps
-  } = _ref;
-  rel = Object(external_lodash_["uniq"])(Object(external_lodash_["compact"])([...rel.split(' '), 'external', 'noreferrer', 'noopener'])).join(' ');
-  const classes = classnames_default()('components-external-link', className);
-  return (
-    /* eslint-disable react/jsx-no-target-blank */
-    Object(external_wp_element_["createElement"])("a", Object(esm_extends["a" /* default */])({}, additionalProps, {
-      className: classes,
-      href: href,
-      target: "_blank",
-      rel: rel,
-      ref: ref
-    }), children, Object(external_wp_element_["createElement"])(component["a" /* default */], {
-      as: "span"
-    },
-    /* translators: accessibility text */
-    Object(external_wp_i18n_["__"])('(opens in a new tab)')), Object(external_wp_element_["createElement"])(StyledIcon, {
-      icon: external["a" /* default */],
-      className: "components-external-link__icon"
-    }))
-    /* eslint-enable react/jsx-no-target-blank */
+/* harmony default export */ var unit_control = (ForwardedUnitControl);

-  );
-}
-/* harmony default export */ var external_link = (Object(external_wp_element_["forwardRef"])(ExternalLink));
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/styles/box-control-styles.js

-// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-26bb1730.js
-// Automatically generated
-var POPOVER_STATE_KEYS = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation", "modal", "unstable_disclosureRef", "setModal", "unstable_referenceRef", "unstable_popoverRef", "unstable_arrowRef", "unstable_popoverStyles", "unstable_arrowStyles", "unstable_originalPlacement", "unstable_update", "placement", "place"];
-var POPOVER_KEYS = POPOVER_STATE_KEYS;
-var POPOVER_ARROW_KEYS = [].concat(POPOVER_KEYS, ["size"]);
-var POPOVER_BACKDROP_KEYS = POPOVER_KEYS;
-var POPOVER_DISCLOSURE_KEYS = POPOVER_BACKDROP_KEYS;

+function box_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+
+/**
+ * External dependencies
+ */


-// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-ed7b48af.js
-// Automatically generated
-var DIALOG_STATE_KEYS = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation", "modal", "unstable_disclosureRef", "setModal"];
-var DIALOG_KEYS = [].concat(DIALOG_STATE_KEYS, ["hideOnEsc", "hideOnClickOutside", "preventBodyScroll", "unstable_initialFocusRef", "unstable_finalFocusRef", "unstable_orphan", "unstable_autoFocusOnShow", "unstable_autoFocusOnHide"]);
-var DIALOG_BACKDROP_KEYS = DIALOG_STATE_KEYS;
-var DIALOG_DISCLOSURE_KEYS = DIALOG_BACKDROP_KEYS;
+/**
+ * Internal dependencies
+ */
+
+
+
+const box_control_styles_Root = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e7pk0lh6"
+} : 0)( true ? {
+  name: "14bvcyk",
+  styles: "box-sizing:border-box;max-width:235px;padding-bottom:12px;width:100%"
+} : 0);
+const Header = /*#__PURE__*/emotion_styled_base_browser_esm(flex_component,  true ? {
+  target: "e7pk0lh5"
+} : 0)("color:", COLORS.ui.label, ";padding-bottom:8px;" + ( true ? "" : 0));
+const HeaderControlWrapper = /*#__PURE__*/emotion_styled_base_browser_esm(flex_component,  true ? {
+  target: "e7pk0lh4"
+} : 0)( true ? {
+  name: "aujtid",
+  styles: "min-height:30px;gap:0"
+} : 0);
+const UnitControlWrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e7pk0lh3"
+} : 0)( true ? {
+  name: "112jwab",
+  styles: "box-sizing:border-box;max-width:80px"
+} : 0);
+const LayoutContainer = /*#__PURE__*/emotion_styled_base_browser_esm(flex_component,  true ? {
+  target: "e7pk0lh2"
+} : 0)( true ? {
+  name: "xy18ro",
+  styles: "justify-content:center;padding-top:8px"
+} : 0);
+const Layout = /*#__PURE__*/emotion_styled_base_browser_esm(flex_component,  true ? {
+  target: "e7pk0lh1"
+} : 0)( true ? {
+  name: "3tw5wk",
+  styles: "position:relative;height:100%;width:100%;justify-content:flex-start"
+} : 0);

+var box_control_styles_ref =  true ? {
+  name: "1ch9yvl",
+  styles: "border-radius:0"
+} : 0;

+var box_control_styles_ref2 =  true ? {
+  name: "tg3mx0",
+  styles: "border-radius:2px"
+} : 0;

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/isButton.js
-var isButton = __webpack_require__("71Og");
+const unitControlBorderRadiusStyles = _ref3 => {
+  let {
+    isFirst,
+    isLast,
+    isOnly
+  } = _ref3;

-// EXTERNAL MODULE: ./node_modules/reakit/es/Clickable/Clickable.js
-var Clickable = __webpack_require__("JLmN");
+  if (isFirst) {
+    return rtl({
+      borderTopRightRadius: 0,
+      borderBottomRightRadius: 0
+    })();
+  }

-// CONCATENATED MODULE: ./node_modules/reakit/es/Button/Button.js
+  if (isLast) {
+    return rtl({
+      borderTopLeftRadius: 0,
+      borderBottomLeftRadius: 0
+    })();
+  }

+  if (isOnly) {
+    return box_control_styles_ref2;
+  }

+  return box_control_styles_ref;
+};

+const unitControlMarginStyles = _ref4 => {
+  let {
+    isFirst,
+    isOnly
+  } = _ref4;
+  const marginLeft = isFirst || isOnly ? 0 : -1;
+  return rtl({
+    marginLeft
+  })();
+};

+const box_control_styles_UnitControl = /*#__PURE__*/emotion_styled_base_browser_esm(unit_control,  true ? {
+  target: "e7pk0lh0"
+} : 0)("max-width:60px;", unitControlBorderRadiusStyles, ";", unitControlMarginStyles, ";" + ( true ? "" : 0));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/unit-control.js



+/**
+ * External dependencies
+ */


+/**
+ * Internal dependencies
+ */



+function BoxUnitControl(_ref) {
+  let {
+    isFirst,
+    isLast,
+    isOnly,
+    onHoverOn = external_lodash_namespaceObject.noop,
+    onHoverOff = external_lodash_namespaceObject.noop,
+    label,
+    value,
+    ...props
+  } = _ref;
+  const bindHoverGesture = useHover(_ref2 => {
+    let {
+      event,
+      ...state
+    } = _ref2;

+    if (state.hovering) {
+      onHoverOn(event, state);
+    } else {
+      onHoverOff(event, state);
+    }
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(UnitControlWrapper, bindHoverGesture(), (0,external_wp_element_namespaceObject.createElement)(unit_control_Tooltip, {
+    text: label
+  }, (0,external_wp_element_namespaceObject.createElement)(box_control_styles_UnitControl, extends_extends({
+    "aria-label": label,
+    className: "component-box-control__unit-control",
+    hideHTMLArrows: true,
+    isFirst: isFirst,
+    isLast: isLast,
+    isOnly: isOnly,
+    isPressEnterToChange: true,
+    isResetValueOnUnitChange: false,
+    value: value
+  }, props))));
+}

+function unit_control_Tooltip(_ref3) {
+  let {
+    children,
+    text
+  } = _ref3;
+  if (!text) return children;
+  /**
+   * Wrapping the children in a `<div />` as Tooltip as it attempts
+   * to render the <UnitControl />. Using a plain `<div />` appears to
+   * resolve this issue.
+   *
+   * Originally discovered and referenced here:
+   * https://github.com/WordPress/gutenberg/pull/24966#issuecomment-685875026
+   */

+  return (0,external_wp_element_namespaceObject.createElement)(tooltip, {
+    text: text,
+    position: "top"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", null, children));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/utils.js
+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */

-// Automatically generated
-var BUTTON_KEYS = [];

-var useButton = Object(createHook["a" /* createHook */])({
-  name: "Button",
-  compose: Clickable["a" /* useClickable */],
-  keys: BUTTON_KEYS,
-  useProps: function useProps(_, _ref) {
-    var htmlRef = _ref.ref,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["ref"]);
+/**
+ * Internal dependencies
+ */

-    var ref = Object(external_React_["useRef"])(null);

-    var _React$useState = Object(external_React_["useState"])(undefined),
-        role = _React$useState[0],
-        setRole = _React$useState[1];
+const LABELS = {
+  all: (0,external_wp_i18n_namespaceObject.__)('All'),
+  top: (0,external_wp_i18n_namespaceObject.__)('Top'),
+  bottom: (0,external_wp_i18n_namespaceObject.__)('Bottom'),
+  left: (0,external_wp_i18n_namespaceObject.__)('Left'),
+  right: (0,external_wp_i18n_namespaceObject.__)('Right'),
+  mixed: (0,external_wp_i18n_namespaceObject.__)('Mixed'),
+  vertical: (0,external_wp_i18n_namespaceObject.__)('Vertical'),
+  horizontal: (0,external_wp_i18n_namespaceObject.__)('Horizontal')
+};
+const DEFAULT_VALUES = {
+  top: null,
+  right: null,
+  bottom: null,
+  left: null
+};
+const DEFAULT_VISUALIZER_VALUES = {
+  top: false,
+  right: false,
+  bottom: false,
+  left: false
+};
+const ALL_SIDES = ['top', 'right', 'bottom', 'left'];
+/**
+ * Gets an items with the most occurrence within an array
+ * https://stackoverflow.com/a/20762713
+ *
+ * @param {Array<any>} arr Array of items to check.
+ * @return {any} The item with the most occurrences.
+ */

-    var _React$useState2 = Object(external_React_["useState"])("button"),
-        type = _React$useState2[0],
-        setType = _React$useState2[1];
+function mode(arr) {
+  return arr.sort((a, b) => arr.filter(v => v === a).length - arr.filter(v => v === b).length).pop();
+}
+/**
+ * Gets the 'all' input value and unit from values data.
+ *
+ * @param {Object} values         Box values.
+ * @param {Array}  availableSides Available box sides to evaluate.
+ *
+ * @return {string} A value + unit for the 'all' input.
+ */

-    Object(external_React_["useEffect"])(function () {
-      var element = ref.current;

-      if (!element) {
-         false ? undefined : void 0;
-        return;
-      }
+function getAllValue() {
+  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let availableSides = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ALL_SIDES;
+  const sides = normalizeSides(availableSides);
+  const parsedValues = sides.map(side => parseUnit(values[side]));
+  const allValues = parsedValues.map(value => value[0]);
+  const allUnits = parsedValues.map(value => value[1]);
+  const value = allValues.every(v => v === allValues[0]) ? allValues[0] : '';
+  const unit = mode(allUnits);
+  /**
+   * The isNumber check is important. On reset actions, the incoming value
+   * may be null or an empty string.
+   *
+   * Also, the value may also be zero (0), which is considered a valid unit value.
+   *
+   * isNumber() is more specific for these cases, rather than relying on a
+   * simple truthy check.
+   */

-      if (!Object(isButton["a" /* isButton */])(element)) {
-        if (element.tagName !== "A") {
-          setRole("button");
-        }
+  const allValue = (0,external_lodash_namespaceObject.isNumber)(value) ? `${value}${unit}` : null;
+  return allValue;
+}
+/**
+ * Determine the most common unit selection to use as a fallback option.
+ *
+ * @param {Object} selectedUnits Current unit selections for individual sides.
+ * @return {string} Most common unit selection.
+ */

-        setType(undefined);
-      }
-    }, []);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(ref, htmlRef),
-      role: role,
-      type: type
-    }, htmlProps);
+function getAllUnitFallback(selectedUnits) {
+  if (!selectedUnits || typeof selectedUnits !== 'object') {
+    return undefined;
   }
-});
-var Button = Object(createComponent["a" /* createComponent */])({
-  as: "button",
-  memo: true,
-  useHook: useButton
-});
-

+  const filteredUnits = Object.values(selectedUnits).filter(Boolean);
+  return mode(filteredUnits);
+}
+/**
+ * Checks to determine if values are mixed.
+ *
+ * @param {Object} values Box values.
+ * @param {Array}  sides  Available box sides to evaluate.
+ *
+ * @return {boolean} Whether values are mixed.
+ */

-// CONCATENATED MODULE: ./node_modules/reakit/es/Disclosure/Disclosure.js
+function isValuesMixed() {
+  let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let sides = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ALL_SIDES;
+  const allValue = getAllValue(values, sides);
+  const isMixed = isNaN(parseFloat(allValue));
+  return isMixed;
+}
+/**
+ * Checks to determine if values are defined.
+ *
+ * @param {Object} values Box values.
+ *
+ * @return {boolean} Whether values are mixed.
+ */

+function isValuesDefined(values) {
+  return values !== undefined && !(0,external_lodash_namespaceObject.isEmpty)(Object.values(values).filter( // Switching units when input is empty causes values only
+  // containing units. This gives false positive on mixed values
+  // unless filtered.
+  value => !!value && /\d/.test(value)));
+}
+/**
+ * Get initial selected side, factoring in whether the sides are linked,
+ * and whether the vertical / horizontal directions are grouped via splitOnAxis.
+ *
+ * @param {boolean} isLinked    Whether the box control's fields are linked.
+ * @param {boolean} splitOnAxis Whether splitting by horizontal or vertical axis.
+ * @return {string} The initial side.
+ */

+function getInitialSide(isLinked, splitOnAxis) {
+  let initialSide = 'all';

+  if (!isLinked) {
+    initialSide = splitOnAxis ? 'vertical' : 'top';
+  }

+  return initialSide;
+}
+/**
+ * Normalizes provided sides configuration to an array containing only top,
+ * right, bottom and left. This essentially just maps `horizontal` or `vertical`
+ * to their appropriate sides to facilitate correctly determining value for
+ * all input control.
+ *
+ * @param {Array} sides Available sides for box control.
+ * @return {Array} Normalized sides configuration.
+ */

+function normalizeSides(sides) {
+  const filteredSides = [];

+  if (!(sides !== null && sides !== void 0 && sides.length)) {
+    return ALL_SIDES;
+  }

+  if (sides.includes('vertical')) {
+    filteredSides.push(...['top', 'bottom']);
+  } else if (sides.includes('horizontal')) {
+    filteredSides.push(...['left', 'right']);
+  } else {
+    const newSides = ALL_SIDES.filter(side => sides.includes(side));
+    filteredSides.push(...newSides);
+  }

+  return filteredSides;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/all-input-control.js



+/**
+ * External dependencies
+ */

+/**
+ * Internal dependencies
+ */



+function AllInputControl(_ref) {
+  let {
+    onChange = external_lodash_namespaceObject.noop,
+    onFocus = external_lodash_namespaceObject.noop,
+    onHoverOn = external_lodash_namespaceObject.noop,
+    onHoverOff = external_lodash_namespaceObject.noop,
+    values,
+    sides,
+    selectedUnits,
+    setSelectedUnits,
+    ...props
+  } = _ref;
+  const allValue = getAllValue(values, sides);
+  const hasValues = isValuesDefined(values);
+  const isMixed = hasValues && isValuesMixed(values, sides);
+  const allPlaceholder = isMixed ? LABELS.mixed : null; // Set meaningful unit selection if no allValue and user has previously
+  // selected units without assigning values while controls were unlinked.

+  const allUnitFallback = !allValue ? getAllUnitFallback(selectedUnits) : undefined;

+  const handleOnFocus = event => {
+    onFocus(event, {
+      side: 'all'
+    });
+  }; // Applies a value to an object representing top, right, bottom and left
+  // sides while taking into account any custom side configuration.


+  const applyValueToSides = (currentValues, newValue) => {
+    const newValues = { ...currentValues
+    };

-var useDisclosure = Object(createHook["a" /* createHook */])({
-  name: "Disclosure",
-  compose: useButton,
-  keys: DISCLOSURE_KEYS,
-  useProps: function useProps(options, _ref) {
-    var htmlOnClick = _ref.onClick,
-        ariaControls = _ref["aria-controls"],
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["onClick", "aria-controls"]);
+    if (sides !== null && sides !== void 0 && sides.length) {
+      sides.forEach(side => {
+        if (side === 'vertical') {
+          newValues.top = newValue;
+          newValues.bottom = newValue;
+        } else if (side === 'horizontal') {
+          newValues.left = newValue;
+          newValues.right = newValue;
+        } else {
+          newValues[side] = newValue;
+        }
+      });
+    } else {
+      ALL_SIDES.forEach(side => newValues[side] = newValue);
+    }

-    var onClickRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnClick);
-    var controls = ariaControls ? ariaControls + " " + options.baseId : options.baseId;
-    var onClick = Object(external_React_["useCallback"])(function (event) {
-      var _onClickRef$current, _options$toggle;
+    return newValues;
+  };

-      (_onClickRef$current = onClickRef.current) === null || _onClickRef$current === void 0 ? void 0 : _onClickRef$current.call(onClickRef, event);
-      if (event.defaultPrevented) return;
-      (_options$toggle = options.toggle) === null || _options$toggle === void 0 ? void 0 : _options$toggle.call(options);
-    }, [options.toggle]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      "aria-expanded": !!options.visible,
-      "aria-controls": controls,
-      onClick: onClick
-    }, htmlProps);
-  }
-});
-var Disclosure = Object(createComponent["a" /* createComponent */])({
-  as: "button",
-  memo: true,
-  useHook: useDisclosure
-});
+  const handleOnChange = next => {
+    const isNumeric = !isNaN(parseFloat(next));
+    const nextValue = isNumeric ? next : undefined;
+    const nextValues = applyValueToSides(values, nextValue);
+    onChange(nextValues);
+  }; // Set selected unit so it can be used as fallback by unlinked controls
+  // when individual sides do not have a value containing a unit.


+  const handleOnUnitChange = unit => {
+    const newUnits = applyValueToSides(selectedUnits, unit);
+    setSelectedUnits(newUnits);
+  };

-// CONCATENATED MODULE: ./node_modules/reakit/es/Dialog/DialogDisclosure.js
+  const handleOnHoverOn = () => {
+    onHoverOn({
+      top: true,
+      bottom: true,
+      left: true,
+      right: true
+    });
+  };

+  const handleOnHoverOff = () => {
+    onHoverOff({
+      top: false,
+      bottom: false,
+      left: false,
+      right: false
+    });
+  };

+  return (0,external_wp_element_namespaceObject.createElement)(BoxUnitControl, extends_extends({}, props, {
+    disableUnits: isMixed,
+    isOnly: true,
+    value: allValue,
+    unit: allUnitFallback,
+    onChange: handleOnChange,
+    onUnitChange: handleOnUnitChange,
+    onFocus: handleOnFocus,
+    onHoverOn: handleOnHoverOn,
+    onHoverOff: handleOnHoverOff,
+    placeholder: allPlaceholder
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/input-controls.js



+/**
+ * External dependencies
+ */

+/**
+ * Internal dependencies
+ */




+function BoxInputControls(_ref) {
+  let {
+    onChange = external_lodash_namespaceObject.noop,
+    onFocus = external_lodash_namespaceObject.noop,
+    onHoverOn = external_lodash_namespaceObject.noop,
+    onHoverOff = external_lodash_namespaceObject.noop,
+    values,
+    selectedUnits,
+    setSelectedUnits,
+    sides,
+    ...props
+  } = _ref;

+  const createHandleOnFocus = side => event => {
+    onFocus(event, {
+      side
+    });
+  };

+  const createHandleOnHoverOn = side => () => {
+    onHoverOn({
+      [side]: true
+    });
+  };

+  const createHandleOnHoverOff = side => () => {
+    onHoverOff({
+      [side]: false
+    });
+  };

+  const handleOnChange = nextValues => {
+    onChange(nextValues);
+  };

+  const createHandleOnChange = side => (next, _ref2) => {
+    let {
+      event
+    } = _ref2;
+    const {
+      altKey
+    } = event;
+    const nextValues = { ...values
+    };
+    const isNumeric = !isNaN(parseFloat(next));
+    const nextValue = isNumeric ? next : undefined;
+    nextValues[side] = nextValue;
+    /**
+     * Supports changing pair sides. For example, holding the ALT key
+     * when changing the TOP will also update BOTTOM.
+     */

+    if (altKey) {
+      switch (side) {
+        case 'top':
+          nextValues.bottom = nextValue;
+          break;

+        case 'bottom':
+          nextValues.top = nextValue;
+          break;

+        case 'left':
+          nextValues.right = nextValue;
+          break;

+        case 'right':
+          nextValues.left = nextValue;
+          break;
+      }
+    }

+    handleOnChange(nextValues);
+  };

+  const createHandleOnUnitChange = side => next => {
+    const newUnits = { ...selectedUnits
+    };
+    newUnits[side] = next;
+    setSelectedUnits(newUnits);
+  }; // Filter sides if custom configuration provided, maintaining default order.

-var useDialogDisclosure = Object(createHook["a" /* createHook */])({
-  name: "DialogDisclosure",
-  compose: useDisclosure,
-  keys: DIALOG_DISCLOSURE_KEYS,
-  useProps: function useProps(options, _ref) {
-    var htmlRef = _ref.ref,
-        htmlOnClick = _ref.onClick,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["ref", "onClick"]);

-    var ref = Object(external_React_["useRef"])(null);
-    var onClickRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnClick);
+  const filteredSides = sides !== null && sides !== void 0 && sides.length ? ALL_SIDES.filter(side => sides.includes(side)) : ALL_SIDES;
+  const first = filteredSides[0];
+  const last = filteredSides[filteredSides.length - 1];
+  const only = first === last && first;
+  return (0,external_wp_element_namespaceObject.createElement)(LayoutContainer, {
+    className: "component-box-control__input-controls-wrapper"
+  }, (0,external_wp_element_namespaceObject.createElement)(Layout, {
+    gap: 0,
+    align: "top",
+    className: "component-box-control__input-controls"
+  }, filteredSides.map(side => (0,external_wp_element_namespaceObject.createElement)(BoxUnitControl, extends_extends({}, props, {
+    isFirst: first === side,
+    isLast: last === side,
+    isOnly: only === side,
+    value: values[side],
+    unit: values[side] ? undefined : selectedUnits[side],
+    onChange: createHandleOnChange(side),
+    onUnitChange: createHandleOnUnitChange(side),
+    onFocus: createHandleOnFocus(side),
+    onHoverOn: createHandleOnHoverOn(side),
+    onHoverOff: createHandleOnHoverOff(side),
+    label: LABELS[side],
+    key: `box-control-${side}`
+  })))));
+}

-    var _React$useState = Object(external_React_["useState"])(false),
-        expanded = _React$useState[0],
-        setExpanded = _React$useState[1];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/axial-input-controls.js

-    var disclosureRef = options.unstable_disclosureRef; // aria-expanded may be used for styling purposes, so we useLayoutEffect

-    Object(useIsomorphicEffect["a" /* useIsomorphicEffect */])(function () {
-      var element = ref.current;
-       false ? undefined : void 0;

-      if (disclosureRef && !disclosureRef.current) {
-        disclosureRef.current = element;
-      }
+/**
+ * Internal dependencies
+ */

-      var isCurrentDisclosure = !(disclosureRef !== null && disclosureRef !== void 0 && disclosureRef.current) || disclosureRef.current === element;
-      setExpanded(!!options.visible && isCurrentDisclosure);
-    }, [options.visible, disclosureRef]);
-    var onClick = Object(external_React_["useCallback"])(function (event) {
-      var _onClickRef$current;

-      (_onClickRef$current = onClickRef.current) === null || _onClickRef$current === void 0 ? void 0 : _onClickRef$current.call(onClickRef, event);
-      if (event.defaultPrevented) return;

-      if (disclosureRef) {
-        disclosureRef.current = event.currentTarget;
-      }
-    }, [disclosureRef]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(ref, htmlRef),
-      "aria-haspopup": "dialog",
-      "aria-expanded": expanded,
-      onClick: onClick
-    }, htmlProps);
-  }
-});
-var DialogDisclosure = Object(createComponent["a" /* createComponent */])({
-  as: "button",
-  memo: true,
-  useHook: useDialogDisclosure
-});
+const groupedSides = ['vertical', 'horizontal'];
+function AxialInputControls(_ref) {
+  let {
+    onChange,
+    onFocus,
+    onHoverOn,
+    onHoverOff,
+    values,
+    selectedUnits,
+    setSelectedUnits,
+    sides,
+    ...props
+  } = _ref;

+  const createHandleOnFocus = side => event => {
+    if (!onFocus) {
+      return;
+    }

+    onFocus(event, {
+      side
+    });
+  };

-// CONCATENATED MODULE: ./node_modules/reakit/es/Popover/PopoverDisclosure.js
+  const createHandleOnHoverOn = side => () => {
+    if (!onHoverOn) {
+      return;
+    }

+    if (side === 'vertical') {
+      onHoverOn({
+        top: true,
+        bottom: true
+      });
+    }

+    if (side === 'horizontal') {
+      onHoverOn({
+        left: true,
+        right: true
+      });
+    }
+  };

+  const createHandleOnHoverOff = side => () => {
+    if (!onHoverOff) {
+      return;
+    }

+    if (side === 'vertical') {
+      onHoverOff({
+        top: false,
+        bottom: false
+      });
+    }

+    if (side === 'horizontal') {
+      onHoverOff({
+        left: false,
+        right: false
+      });
+    }
+  };

+  const createHandleOnChange = side => next => {
+    if (!onChange) {
+      return;
+    }

+    const nextValues = { ...values
+    };
+    const isNumeric = !isNaN(parseFloat(next));
+    const nextValue = isNumeric ? next : undefined;

+    if (side === 'vertical') {
+      nextValues.top = nextValue;
+      nextValues.bottom = nextValue;
+    }

+    if (side === 'horizontal') {
+      nextValues.left = nextValue;
+      nextValues.right = nextValue;
+    }

+    onChange(nextValues);
+  };

+  const createHandleOnUnitChange = side => next => {
+    const newUnits = { ...selectedUnits
+    };

+    if (side === 'vertical') {
+      newUnits.top = next;
+      newUnits.bottom = next;
+    }

+    if (side === 'horizontal') {
+      newUnits.left = next;
+      newUnits.right = next;
+    }

+    setSelectedUnits(newUnits);
+  }; // Filter sides if custom configuration provided, maintaining default order.


+  const filteredSides = sides !== null && sides !== void 0 && sides.length ? groupedSides.filter(side => sides.includes(side)) : groupedSides;
+  const first = filteredSides[0];
+  const last = filteredSides[filteredSides.length - 1];
+  const only = first === last;
+  return (0,external_wp_element_namespaceObject.createElement)(Layout, {
+    gap: 0,
+    align: "top",
+    className: "component-box-control__vertical-horizontal-input-controls"
+  }, filteredSides.map(side => (0,external_wp_element_namespaceObject.createElement)(BoxUnitControl, extends_extends({}, props, {
+    isFirst: first === side,
+    isLast: last === side,
+    isOnly: only === side,
+    value: side === 'vertical' ? values.top : values.left,
+    unit: side === 'vertical' ? selectedUnits.top : selectedUnits.left,
+    onChange: createHandleOnChange(side),
+    onUnitChange: createHandleOnUnitChange(side),
+    onFocus: createHandleOnFocus(side),
+    onHoverOn: createHandleOnHoverOn(side),
+    onHoverOff: createHandleOnHoverOff(side),
+    label: LABELS[side],
+    key: side
+  }))));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/styles/box-control-icon-styles.js


+function box_control_icon_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

+/**
+ * External dependencies
+ */

+const box_control_icon_styles_Root = emotion_styled_base_browser_esm("span",  true ? {
+  target: "eaw9yqk8"
+} : 0)( true ? {
+  name: "1w884gc",
+  styles: "box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px"
+} : 0);
+const Viewbox = emotion_styled_base_browser_esm("span",  true ? {
+  target: "eaw9yqk7"
+} : 0)( true ? {
+  name: "i6vjox",
+  styles: "box-sizing:border-box;display:block;position:relative;width:100%;height:100%"
+} : 0);

+const strokeFocus = _ref => {
+  let {
+    isFocused
+  } = _ref;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    backgroundColor: 'currentColor',
+    opacity: isFocused ? 1 : 0.3
+  },  true ? "" : 0,  true ? "" : 0);
+};

+const Stroke = emotion_styled_base_browser_esm("span",  true ? {
+  target: "eaw9yqk6"
+} : 0)("box-sizing:border-box;display:block;pointer-events:none;position:absolute;", strokeFocus, ";" + ( true ? "" : 0));

+const VerticalStroke = /*#__PURE__*/emotion_styled_base_browser_esm(Stroke,  true ? {
+  target: "eaw9yqk5"
+} : 0)( true ? {
+  name: "1k2w39q",
+  styles: "bottom:3px;top:3px;width:2px"
+} : 0);

-var usePopoverDisclosure = Object(createHook["a" /* createHook */])({
-  name: "PopoverDisclosure",
-  compose: useDialogDisclosure,
-  keys: POPOVER_DISCLOSURE_KEYS,
-  useProps: function useProps(options, _ref) {
-    var htmlRef = _ref.ref,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["ref"]);
+const HorizontalStroke = /*#__PURE__*/emotion_styled_base_browser_esm(Stroke,  true ? {
+  target: "eaw9yqk4"
+} : 0)( true ? {
+  name: "1q9b07k",
+  styles: "height:2px;left:3px;right:3px"
+} : 0);

-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(options.unstable_referenceRef, htmlRef)
-    }, htmlProps);
-  }
-});
-var PopoverDisclosure = Object(createComponent["a" /* createComponent */])({
-  as: "button",
-  memo: true,
-  useHook: usePopoverDisclosure
-});
+const TopStroke = /*#__PURE__*/emotion_styled_base_browser_esm(HorizontalStroke,  true ? {
+  target: "eaw9yqk3"
+} : 0)( true ? {
+  name: "abcix4",
+  styles: "top:0"
+} : 0);
+const RightStroke = /*#__PURE__*/emotion_styled_base_browser_esm(VerticalStroke,  true ? {
+  target: "eaw9yqk2"
+} : 0)( true ? {
+  name: "1wf8jf",
+  styles: "right:0"
+} : 0);
+const BottomStroke = /*#__PURE__*/emotion_styled_base_browser_esm(HorizontalStroke,  true ? {
+  target: "eaw9yqk1"
+} : 0)( true ? {
+  name: "8tapst",
+  styles: "bottom:0"
+} : 0);
+const LeftStroke = /*#__PURE__*/emotion_styled_base_browser_esm(VerticalStroke,  true ? {
+  target: "eaw9yqk0"
+} : 0)( true ? {
+  name: "1ode3cm",
+  styles: "left:0"
+} : 0);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/icon.js


-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/context.js
-/**
- * WordPress dependencies
- */

 /**
- * @type {import('react').Context<import('./types').Context>}
+ * Internal dependencies
  */

-const FlyoutContext = Object(external_wp_element_["createContext"])({});
-const useFlyoutContext = () => Object(external_wp_element_["useContext"])(FlyoutContext);
-
-// EXTERNAL MODULE: ./node_modules/react-resize-aware/dist/index.js
-var react_resize_aware_dist = __webpack_require__("SSiF");
-var react_resize_aware_dist_default = /*#__PURE__*/__webpack_require__.n(react_resize_aware_dist);
+const BASE_ICON_SIZE = 24;
+function BoxControlIcon(_ref) {
+  let {
+    size = 24,
+    side = 'all',
+    sides,
+    ...props
+  } = _ref;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/utils.js
-/**
- * External dependencies
- */
+  const isSideDisabled = value => (sides === null || sides === void 0 ? void 0 : sides.length) && !sides.includes(value);

-/**
- * WordPress dependencies
- */
+  const hasSide = value => {
+    if (isSideDisabled(value)) {
+      return false;
+    }

+    return side === 'all' || side === value;
+  };

-/**
- *
- * @param { { onResize?: () => any } } onResize
- */
+  const top = hasSide('top') || hasSide('vertical');
+  const right = hasSide('right') || hasSide('horizontal');
+  const bottom = hasSide('bottom') || hasSide('vertical');
+  const left = hasSide('left') || hasSide('horizontal'); // Simulates SVG Icon scaling

-function useFlyoutResizeUpdater(_ref) {
-  let {
-    onResize
-  } = _ref;
-  const [resizeListener, sizes] = react_resize_aware_dist_default()();
-  Object(external_wp_compose_["useIsomorphicLayoutEffect"])(() => {
-    onResize === null || onResize === void 0 ? void 0 : onResize();
-  }, [sizes.width, sizes.height]);
-  return resizeListener;
+  const scale = size / BASE_ICON_SIZE;
+  return (0,external_wp_element_namespaceObject.createElement)(box_control_icon_styles_Root, extends_extends({
+    style: {
+      transform: `scale(${scale})`
+    }
+  }, props), (0,external_wp_element_namespaceObject.createElement)(Viewbox, null, (0,external_wp_element_namespaceObject.createElement)(TopStroke, {
+    isFocused: top
+  }), (0,external_wp_element_namespaceObject.createElement)(RightStroke, {
+    isFocused: right
+  }), (0,external_wp_element_namespaceObject.createElement)(BottomStroke, {
+    isFocused: bottom
+  }), (0,external_wp_element_namespaceObject.createElement)(LeftStroke, {
+    isFocused: left
+  })));
 }

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/hasFocusWithin.js
-var hasFocusWithin = __webpack_require__("PcHe");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/tabbable.js
-var es_tabbable = __webpack_require__("kqkJ");

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useUpdateEffect.js
+/**
+ * WordPress dependencies
+ */
+
+const link_link = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_link = (link_link);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js


 /**
- * A `React.useEffect` that will not run on the first render.
+ * WordPress dependencies
  */

-function useUpdateEffect_useUpdateEffect(effect, deps) {
-  var mounted = Object(external_React_["useRef"])(false);
-  Object(external_React_["useEffect"])(function () {
-    if (mounted.current) {
-      return effect();
-    }
+const linkOff = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var link_off = (linkOff);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/linked-button.js

-    mounted.current = true;
-    return undefined;
-  }, deps);
-}


+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/ensureFocus.js + 1 modules
-var ensureFocus = __webpack_require__("AClM");

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/removeIndexFromArray.js
 /**
- * Immutably removes an index from an array.
- *
- * @example
- * import { removeIndexFromArray } from "reakit-utils";
- *
- * removeIndexFromArray(["a", "b", "c"], 1); // ["a", "c"]
- *
- * @returns {Array} A new array without the item in the passed index.
+ * Internal dependencies
  */
-function removeIndexFromArray(array, index) {
-  if (index === -1) return array;
-  return [].concat(array.slice(0, index), array.slice(index + 1));
-}



-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/removeItemFromArray.js
+function LinkedButton(_ref) {
+  let {
+    isLinked,
+    ...props
+  } = _ref;
+  const label = isLinked ? (0,external_wp_i18n_namespaceObject.__)('Unlink Sides') : (0,external_wp_i18n_namespaceObject.__)('Link Sides');
+  return (0,external_wp_element_namespaceObject.createElement)(tooltip, {
+    text: label
+  }, (0,external_wp_element_namespaceObject.createElement)("span", null, (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({}, props, {
+    className: "component-box-control__linked-button",
+    variant: isLinked ? 'primary' : 'secondary',
+    isSmall: true,
+    icon: isLinked ? library_link : link_off,
+    iconSize: 16,
+    "aria-label": label
+  }))));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/styles/box-control-visualizer-styles.js
+

+function box_control_visualizer_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
- * Immutably removes an item from an array.
- *
- * @example
- * import { removeItemFromArray } from "reakit-utils";
- *
- * removeItemFromArray(["a", "b", "c"], "b"); // ["a", "c"]
- *
- * // This only works by reference
- * const obj = {};
- * removeItemFromArray([obj], {}); // [obj]
- * removeItemFromArray([obj], obj); // []
- *
- * @returns {Array} A new array without the passed item.
+ * External dependencies
  */

-function removeItemFromArray(array, item) {
-  var index = array.indexOf(item);
-  return removeIndexFromArray(array, index);
-}
-

+/**
+ * Internal dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/reakit/es/MenuContext-6af6cf92.js

+var box_control_visualizer_styles_ref =  true ? {
+  name: "11f5o9n",
+  styles: "bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1"
+} : 0;

+const containerPositionStyles = _ref2 => {
+  let {
+    isPositionAbsolute
+  } = _ref2;
+  if (!isPositionAbsolute) return '';
+  return box_control_visualizer_styles_ref;
+};

-var MenuContext = /*#__PURE__*/Object(external_React_["createContext"])(null);
-function useMenuContext(menuRef, role, options) {
-  var orphan = "unstable_orphan" in options && options.unstable_orphan;
-  var parent = Object(external_React_["useContext"])(MenuContext);
+const box_control_visualizer_styles_Container = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1df9b4q5"
+} : 0)("box-sizing:border-box;position:relative;", containerPositionStyles, ";" + ( true ? "" : 0));
+const Side = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1df9b4q4"
+} : 0)("box-sizing:border-box;background:", COLORS.blue.wordpress[700], ";background:", COLORS.ui.theme, ";filter:brightness( 1 );opacity:0;position:absolute;pointer-events:none;transition:opacity 120ms linear;z-index:1;", _ref3 => {
+  let {
+    isActive
+  } = _ref3;
+  return isActive && `
+		opacity: 0.3;
+	`;
+}, ";" + ( true ? "" : 0));
+const TopView = /*#__PURE__*/emotion_styled_base_browser_esm(Side,  true ? {
+  target: "e1df9b4q3"
+} : 0)( true ? {
+  name: "5i97ct",
+  styles: "top:0;left:0;right:0"
+} : 0);
+const RightView = /*#__PURE__*/emotion_styled_base_browser_esm(Side,  true ? {
+  target: "e1df9b4q2"
+} : 0)("top:0;bottom:0;", rtl({
+  right: 0
+}), ";" + ( true ? "" : 0));
+const BottomView = /*#__PURE__*/emotion_styled_base_browser_esm(Side,  true ? {
+  target: "e1df9b4q1"
+} : 0)( true ? {
+  name: "8cxke2",
+  styles: "bottom:0;left:0;right:0"
+} : 0);
+const LeftView = /*#__PURE__*/emotion_styled_base_browser_esm(Side,  true ? {
+  target: "e1df9b4q0"
+} : 0)("top:0;bottom:0;", rtl({
+  left: 0
+}), ";" + ( true ? "" : 0));

-  var _React$useState = Object(external_React_["useState"])([]),
-      children = _React$useState[0],
-      setChildren = _React$useState[1];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/visualizer.js

-  var _ref = parent || {},
-      addChildToParent = _ref.addChild,
-      removeChildFromParent = _ref.removeChild;

-  var addChild = Object(external_React_["useCallback"])(function (ref) {
-    return setChildren(function (refs) {
-      return [].concat(refs, [ref]);
-    });
-  }, []);
-  var removeChild = Object(external_React_["useCallback"])(function (ref) {
-    return setChildren(function (refs) {
-      return removeItemFromArray(refs, ref);
-    });
-  }, []); // If it's a nested menu, add it to parent

-  Object(external_React_["useEffect"])(function () {
-    if (!addChildToParent || orphan) return undefined;
-    addChildToParent(menuRef);
-    return function () {
-      removeChildFromParent === null || removeChildFromParent === void 0 ? void 0 : removeChildFromParent(menuRef);
-    };
-  }, [menuRef, addChildToParent, removeChildFromParent, orphan]);
-  var providerValue = Object(external_React_["useMemo"])(function () {
-    return {
-      orientation: options.orientation,
-      next: options.next,
-      previous: options.previous,
-      ref: menuRef,
-      role: role,
-      parent: parent,
-      children: children,
-      addChild: addChild,
-      removeChild: removeChild
-    };
-  }, [options.orientation, options.next, options.previous, menuRef, role, parent, children, addChild, removeChild]);
-  var wrapElement = Object(external_React_["useCallback"])(function (element) {
-    return /*#__PURE__*/Object(external_React_["createElement"])(MenuContext.Provider, {
-      value: providerValue
-    }, element);
-  }, [providerValue]);
-  return wrapElement;
-}
+/**
+ * WordPress dependencies
+ */

+/**
+ * Internal dependencies
+ */


-// CONCATENATED MODULE: ./node_modules/body-scroll-lock/lib/bodyScrollLock.esm.js
-function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

-// Older browsers don't support event options, feature detect it.
+function BoxControlVisualizer(_ref) {
+  let {
+    children,
+    showValues = DEFAULT_VISUALIZER_VALUES,
+    values: valuesProp = DEFAULT_VALUES,
+    ...props
+  } = _ref;
+  const isPositionAbsolute = !children;
+  return (0,external_wp_element_namespaceObject.createElement)(box_control_visualizer_styles_Container, extends_extends({}, props, {
+    isPositionAbsolute: isPositionAbsolute,
+    "aria-hidden": "true"
+  }), (0,external_wp_element_namespaceObject.createElement)(Sides, {
+    showValues: showValues,
+    values: valuesProp
+  }), children);
+}

-// Adopted and modified solution from Bohdan Didukh (2017)
-// https://stackoverflow.com/questions/41594997/ios-10-safari-prevent-scrolling-behind-a-fixed-overlay-and-maintain-scroll-posi
+function Sides(_ref2) {
+  let {
+    showValues = DEFAULT_VISUALIZER_VALUES,
+    values
+  } = _ref2;
+  const {
+    top,
+    right,
+    bottom,
+    left
+  } = values;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(Top, {
+    isVisible: showValues.top,
+    value: top
+  }), (0,external_wp_element_namespaceObject.createElement)(Right, {
+    isVisible: showValues.right,
+    value: right
+  }), (0,external_wp_element_namespaceObject.createElement)(Bottom, {
+    isVisible: showValues.bottom,
+    value: bottom
+  }), (0,external_wp_element_namespaceObject.createElement)(Left, {
+    isVisible: showValues.left,
+    value: left
+  }));
+}

-var hasPassiveEvents = false;
-if (typeof window !== 'undefined') {
-  var passiveTestOptions = {
-    get passive() {
-      hasPassiveEvents = true;
-      return undefined;
+function Top(_ref3) {
+  let {
+    isVisible = false,
+    value
+  } = _ref3;
+  const height = value;
+  const animationProps = useSideAnimation(height);
+  const isActive = animationProps.isActive || isVisible;
+  return (0,external_wp_element_namespaceObject.createElement)(TopView, {
+    isActive: isActive,
+    style: {
+      height
     }
-  };
-  window.addEventListener('testPassive', null, passiveTestOptions);
-  window.removeEventListener('testPassive', null, passiveTestOptions);
+  });
 }

-var isIosDevice = typeof window !== 'undefined' && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === 'MacIntel' && window.navigator.maxTouchPoints > 1);
-
-
-var locks = [];
-var documentListenerAdded = false;
-var initialClientY = -1;
-var previousBodyOverflowSetting = void 0;
-var previousBodyPaddingRight = void 0;
+function Right(_ref4) {
+  let {
+    isVisible = false,
+    value
+  } = _ref4;
+  const width = value;
+  const animationProps = useSideAnimation(width);
+  const isActive = animationProps.isActive || isVisible;
+  return (0,external_wp_element_namespaceObject.createElement)(RightView, {
+    isActive: isActive,
+    style: {
+      width
+    }
+  });
+}

-// returns true if `el` should be allowed to receive touchmove events.
-var allowTouchMove = function allowTouchMove(el) {
-  return locks.some(function (lock) {
-    if (lock.options.allowTouchMove && lock.options.allowTouchMove(el)) {
-      return true;
+function Bottom(_ref5) {
+  let {
+    isVisible = false,
+    value
+  } = _ref5;
+  const height = value;
+  const animationProps = useSideAnimation(height);
+  const isActive = animationProps.isActive || isVisible;
+  return (0,external_wp_element_namespaceObject.createElement)(BottomView, {
+    isActive: isActive,
+    style: {
+      height
     }
+  });
+}

-    return false;
+function Left(_ref6) {
+  let {
+    isVisible = false,
+    value
+  } = _ref6;
+  const width = value;
+  const animationProps = useSideAnimation(width);
+  const isActive = animationProps.isActive || isVisible;
+  return (0,external_wp_element_namespaceObject.createElement)(LeftView, {
+    isActive: isActive,
+    style: {
+      width
+    }
   });
-};
+}
+/**
+ * Custom hook that renders the "flash" animation whenever the value changes.
+ *
+ * @param {string} value Value of (box) side.
+ */

-var bodyScrollLock_esm_preventDefault = function preventDefault(rawEvent) {
-  var e = rawEvent || window.event;

-  // For the case whereby consumers adds a touchmove event listener to document.
-  // Recall that we do document.addEventListener('touchmove', preventDefault, { passive: false })
-  // in disableBodyScroll - so if we provide this opportunity to allowTouchMove, then
-  // the touchmove event on document will break.
-  if (allowTouchMove(e.target)) {
-    return true;
-  }
+function useSideAnimation(value) {
+  const [isActive, setIsActive] = (0,external_wp_element_namespaceObject.useState)(false);
+  const valueRef = (0,external_wp_element_namespaceObject.useRef)(value);
+  const timeoutRef = (0,external_wp_element_namespaceObject.useRef)();

-  // Do not prevent if the event has more than one touch (usually meaning this is a multi touch gesture like pinch to zoom).
-  if (e.touches.length > 1) return true;
+  const clearTimer = () => {
+    if (timeoutRef.current) {
+      window.clearTimeout(timeoutRef.current);
+    }
+  };

-  if (e.preventDefault) e.preventDefault();
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (value !== valueRef.current) {
+      setIsActive(true);
+      valueRef.current = value;
+      clearTimer();
+      timeoutRef.current = setTimeout(() => {
+        setIsActive(false);
+      }, 400);
+    }

-  return false;
-};
+    return () => clearTimer();
+  }, [value]);
+  return {
+    isActive
+  };
+}

-var setOverflowHidden = function setOverflowHidden(options) {
-  // If previousBodyPaddingRight is already set, don't set it again.
-  if (previousBodyPaddingRight === undefined) {
-    var _reserveScrollBarGap = !!options && options.reserveScrollBarGap === true;
-    var scrollBarGap = window.innerWidth - document.documentElement.clientWidth;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/box-control/index.js

-    if (_reserveScrollBarGap && scrollBarGap > 0) {
-      previousBodyPaddingRight = document.body.style.paddingRight;
-      document.body.style.paddingRight = scrollBarGap + 'px';
-    }
-  }

-  // If previousBodyOverflowSetting is already set, don't set it again.
-  if (previousBodyOverflowSetting === undefined) {
-    previousBodyOverflowSetting = document.body.style.overflow;
-    document.body.style.overflow = 'hidden';
-  }
-};

-var restoreOverflowSetting = function restoreOverflowSetting() {
-  if (previousBodyPaddingRight !== undefined) {
-    document.body.style.paddingRight = previousBodyPaddingRight;
+/**
+ * External dependencies
+ */

-    // Restore previousBodyPaddingRight to undefined so setOverflowHidden knows it
-    // can be set again.
-    previousBodyPaddingRight = undefined;
-  }
+/**
+ * WordPress dependencies
+ */

-  if (previousBodyOverflowSetting !== undefined) {
-    document.body.style.overflow = previousBodyOverflowSetting;

-    // Restore previousBodyOverflowSetting to undefined
-    // so setOverflowHidden knows it can be set again.
-    previousBodyOverflowSetting = undefined;
-  }
-};

-// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight#Problems_and_solutions
-var isTargetElementTotallyScrolled = function isTargetElementTotallyScrolled(targetElement) {
-  return targetElement ? targetElement.scrollHeight - targetElement.scrollTop <= targetElement.clientHeight : false;
-};

-var handleScroll = function handleScroll(event, targetElement) {
-  var clientY = event.targetTouches[0].clientY - initialClientY;
+/**
+ * Internal dependencies
+ */

-  if (allowTouchMove(event.target)) {
-    return false;
-  }

-  if (targetElement && targetElement.scrollTop === 0 && clientY > 0) {
-    // element is at the top of its scroll.
-    return bodyScrollLock_esm_preventDefault(event);
-  }

-  if (isTargetElementTotallyScrolled(targetElement) && clientY < 0) {
-    // element is at the bottom of its scroll.
-    return bodyScrollLock_esm_preventDefault(event);
-  }

-  event.stopPropagation();
-  return true;
-};

-var disableBodyScroll = function disableBodyScroll(targetElement, options) {
-  // targetElement must be provided
-  if (!targetElement) {
-    // eslint-disable-next-line no-console
-    console.error('disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.');
-    return;
-  }

-  // disableBodyScroll must not have been called on this targetElement before
-  if (locks.some(function (lock) {
-    return lock.targetElement === targetElement;
-  })) {
-    return;
-  }

-  var lock = {
-    targetElement: targetElement,
-    options: options || {}
-  };

-  locks = [].concat(_toConsumableArray(locks), [lock]);

-  if (isIosDevice) {
-    targetElement.ontouchstart = function (event) {
-      if (event.targetTouches.length === 1) {
-        // detect single touch.
-        initialClientY = event.targetTouches[0].clientY;
-      }
-    };
-    targetElement.ontouchmove = function (event) {
-      if (event.targetTouches.length === 1) {
-        // detect single touch.
-        handleScroll(event, targetElement);
-      }
-    };

-    if (!documentListenerAdded) {
-      document.addEventListener('touchmove', bodyScrollLock_esm_preventDefault, hasPassiveEvents ? { passive: false } : undefined);
-      documentListenerAdded = true;
-    }
-  } else {
-    setOverflowHidden(options);
-  }
-};

-var clearAllBodyScrollLocks = function clearAllBodyScrollLocks() {
-  if (isIosDevice) {
-    // Clear all locks ontouchstart/ontouchmove handlers, and the references.
-    locks.forEach(function (lock) {
-      lock.targetElement.ontouchstart = null;
-      lock.targetElement.ontouchmove = null;
-    });

-    if (documentListenerAdded) {
-      document.removeEventListener('touchmove', bodyScrollLock_esm_preventDefault, hasPassiveEvents ? { passive: false } : undefined);
-      documentListenerAdded = false;
-    }

-    // Reset initial clientY.
-    initialClientY = -1;
-  } else {
-    restoreOverflowSetting();
-  }

-  locks = [];
+const defaultInputProps = {
+  min: 0
 };

-var enableBodyScroll = function enableBodyScroll(targetElement) {
-  if (!targetElement) {
-    // eslint-disable-next-line no-console
-    console.error('enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.');
-    return;
-  }
+function box_control_useUniqueId(idProp) {
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(BoxControl, 'inspector-box-control');
+  return idProp || instanceId;
+}

-  locks = locks.filter(function (lock) {
-    return lock.targetElement !== targetElement;
+function BoxControl(_ref) {
+  let {
+    id: idProp,
+    inputProps = defaultInputProps,
+    onChange = external_lodash_namespaceObject.noop,
+    onChangeShowVisualizer = external_lodash_namespaceObject.noop,
+    label = (0,external_wp_i18n_namespaceObject.__)('Box Control'),
+    values: valuesProp,
+    units,
+    sides,
+    splitOnAxis = false,
+    allowReset = true,
+    resetValues = DEFAULT_VALUES
+  } = _ref;
+  const [values, setValues] = use_controlled_state(valuesProp, {
+    fallback: DEFAULT_VALUES
   });
+  const inputValues = values || DEFAULT_VALUES;
+  const hasInitialValue = isValuesDefined(valuesProp);
+  const hasOneSide = (sides === null || sides === void 0 ? void 0 : sides.length) === 1;
+  const [isDirty, setIsDirty] = (0,external_wp_element_namespaceObject.useState)(hasInitialValue);
+  const [isLinked, setIsLinked] = (0,external_wp_element_namespaceObject.useState)(!hasInitialValue || !isValuesMixed(inputValues) || hasOneSide);
+  const [side, setSide] = (0,external_wp_element_namespaceObject.useState)(getInitialSide(isLinked, splitOnAxis)); // Tracking selected units via internal state allows filtering of CSS unit
+  // only values from being saved while maintaining preexisting unit selection
+  // behaviour. Filtering CSS only values prevents invalid style values.

-  if (isIosDevice) {
-    targetElement.ontouchstart = null;
-    targetElement.ontouchmove = null;
-
-    if (documentListenerAdded && locks.length === 0) {
-      document.removeEventListener('touchmove', bodyScrollLock_esm_preventDefault, hasPassiveEvents ? { passive: false } : undefined);
-      documentListenerAdded = false;
-    }
-  } else if (!locks.length) {
-    restoreOverflowSetting();
-  }
-};
-
+  const [selectedUnits, setSelectedUnits] = (0,external_wp_element_namespaceObject.useState)({
+    top: parseUnit(valuesProp === null || valuesProp === void 0 ? void 0 : valuesProp.top)[1],
+    right: parseUnit(valuesProp === null || valuesProp === void 0 ? void 0 : valuesProp.right)[1],
+    bottom: parseUnit(valuesProp === null || valuesProp === void 0 ? void 0 : valuesProp.bottom)[1],
+    left: parseUnit(valuesProp === null || valuesProp === void 0 ? void 0 : valuesProp.left)[1]
+  });
+  const id = box_control_useUniqueId(idProp);
+  const headingId = `${id}-heading`;

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/closest.js
-var closest = __webpack_require__("APjL");
+  const toggleLinked = () => {
+    setIsLinked(!isLinked);
+    setSide(getInitialSide(!isLinked, splitOnAxis));
+  };

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/contains.js
-var es_contains = __webpack_require__("utzN");
+  const handleOnFocus = (event, _ref2) => {
+    let {
+      side: nextSide
+    } = _ref2;
+    setSide(nextSide);
+  };

-// CONCATENATED MODULE: ./node_modules/reakit/es/DialogBackdropContext-8775f78b.js
+  const handleOnChange = nextValues => {
+    onChange(nextValues);
+    setValues(nextValues);
+    setIsDirty(true);
+  };

+  const handleOnHoverOn = function () {
+    let next = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    onChangeShowVisualizer({ ...DEFAULT_VISUALIZER_VALUES,
+      ...next
+    });
+  };

-var DialogBackdropContext = /*#__PURE__*/Object(external_React_["createContext"])(undefined);
+  const handleOnHoverOff = function () {
+    let next = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    onChangeShowVisualizer({ ...DEFAULT_VISUALIZER_VALUES,
+      ...next
+    });
+  };

+  const handleOnReset = () => {
+    onChange(resetValues);
+    setValues(resetValues);
+    setSelectedUnits(resetValues);
+    setIsDirty(false);
+  };

+  const inputControlProps = { ...inputProps,
+    onChange: handleOnChange,
+    onFocus: handleOnFocus,
+    onHoverOn: handleOnHoverOn,
+    onHoverOff: handleOnHoverOff,
+    isLinked,
+    units,
+    selectedUnits,
+    setSelectedUnits,
+    sides,
+    values: inputValues
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(box_control_styles_Root, {
+    id: id,
+    role: "region",
+    "aria-labelledby": headingId
+  }, (0,external_wp_element_namespaceObject.createElement)(Header, {
+    className: "component-box-control__header"
+  }, (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_element_namespaceObject.createElement)(text_component, {
+    id: headingId,
+    className: "component-box-control__label"
+  }, label)), allowReset && (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "component-box-control__reset-button",
+    isSecondary: true,
+    isSmall: true,
+    onClick: handleOnReset,
+    disabled: !isDirty
+  }, (0,external_wp_i18n_namespaceObject.__)('Reset')))), (0,external_wp_element_namespaceObject.createElement)(HeaderControlWrapper, {
+    className: "component-box-control__header-control-wrapper"
+  }, (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_element_namespaceObject.createElement)(BoxControlIcon, {
+    side: side,
+    sides: sides
+  })), isLinked && (0,external_wp_element_namespaceObject.createElement)(flex_block_component, null, (0,external_wp_element_namespaceObject.createElement)(AllInputControl, extends_extends({
+    "aria-label": label
+  }, inputControlProps))), !isLinked && splitOnAxis && (0,external_wp_element_namespaceObject.createElement)(flex_block_component, null, (0,external_wp_element_namespaceObject.createElement)(AxialInputControls, inputControlProps)), !hasOneSide && (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_element_namespaceObject.createElement)(LinkedButton, {
+    onClick: toggleLinked,
+    isLinked: isLinked
+  }))), !isLinked && !splitOnAxis && (0,external_wp_element_namespaceObject.createElement)(BoxInputControls, inputControlProps));
+}
+BoxControl.__Visualizer = BoxControlVisualizer;

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/isObject.js
-var isObject = __webpack_require__("Ptb8");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button-group/index.js

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isEmpty.js


 /**
- * Checks whether `arg` is empty or not.
- *
- * @example
- * import { isEmpty } from "reakit-utils";
- *
- * isEmpty([]); // true
- * isEmpty(["a"]); // false
- * isEmpty({}); // true
- * isEmpty({ a: "a" }); // false
- * isEmpty(); // true
- * isEmpty(null); // true
- * isEmpty(undefined); // true
- * isEmpty(""); // true
+ * External dependencies
  */

-function isEmpty(arg) {
-  if (Array.isArray(arg)) return !arg.length;
-  if (Object(isObject["a" /* isObject */])(arg)) return !Object.keys(arg).length;
-  if (arg == null) return true;
-  if (arg === "") return true;
-  return false;
-}
-
-
-
-// CONCATENATED MODULE: ./node_modules/reakit/es/Dialog/Dialog.js
-
+/**
+ * WordPress dependencies
+ */



+function ButtonGroup(_ref, ref) {
+  let {
+    className,
+    ...props
+  } = _ref;
+  const classes = classnames_default()('components-button-group', className);
+  return (0,external_wp_element_namespaceObject.createElement)("div", extends_extends({
+    ref: ref,
+    role: "group",
+    className: classes
+  }, props));
+}

+/* harmony default export */ var button_group = ((0,external_wp_element_namespaceObject.forwardRef)(ButtonGroup));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/elevation/styles.js
+function elevation_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

+/**
+ * External dependencies
+ */

+const Elevation =  true ? {
+  name: "12ip69d",
+  styles: "background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"
+} : 0;

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/elevation/hook.js
+/**
+ * External dependencies
+ */


+/**
+ * WordPress dependencies
+ */


+/**
+ * Internal dependencies
+ */





+/**
+ * @param {number} value
+ * @return {string} The box shadow value.
+ */

+function getBoxShadow(value) {
+  const boxShadowColor = `rgba(0 ,0, 0, ${value / 20})`;
+  const boxShadow = `0 ${value}px ${value * 2}px 0
+	${boxShadowColor}`;
+  return boxShadow;
+}
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ */

+function useElevation(props) {
+  const {
+    active,
+    borderRadius = 'inherit',
+    className,
+    focus,
+    hover,
+    isInteractive = false,
+    offset = 0,
+    value = 0,
+    ...otherProps
+  } = useContextSystem(props, 'Elevation');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    /** @type {number | undefined} */
+    let hoverValue = !(0,external_lodash_namespaceObject.isNil)(hover) ? hover : value * 2;
+    /** @type {number | undefined} */

+    let activeValue = !(0,external_lodash_namespaceObject.isNil)(active) ? active : value / 2;

+    if (!isInteractive) {
+      hoverValue = !(0,external_lodash_namespaceObject.isNil)(hover) ? hover : undefined;
+      activeValue = !(0,external_lodash_namespaceObject.isNil)(active) ? active : undefined;
+    }

+    const transition = `box-shadow ${config_values.transitionDuration} ${config_values.transitionTimingFunction}`;
+    const sx = {};
+    sx.Base = /*#__PURE__*/emotion_react_browser_esm_css({
+      borderRadius,
+      bottom: offset,
+      boxShadow: getBoxShadow(value),
+      opacity: config_values.elevationIntensity,
+      left: offset,
+      right: offset,
+      top: offset,
+      transition
+    }, reduceMotion('transition'),  true ? "" : 0,  true ? "" : 0);

+    if (!(0,external_lodash_namespaceObject.isNil)(hoverValue)) {
+      sx.hover = /*#__PURE__*/emotion_react_browser_esm_css("*:hover>&{box-shadow:", getBoxShadow(hoverValue), ";}" + ( true ? "" : 0),  true ? "" : 0);
+    }

+    if (!(0,external_lodash_namespaceObject.isNil)(activeValue)) {
+      sx.active = /*#__PURE__*/emotion_react_browser_esm_css("*:active>&{box-shadow:", getBoxShadow(activeValue), ";}" + ( true ? "" : 0),  true ? "" : 0);
+    }

+    if (!(0,external_lodash_namespaceObject.isNil)(focus)) {
+      sx.focus = /*#__PURE__*/emotion_react_browser_esm_css("*:focus>&{box-shadow:", getBoxShadow(focus), ";}" + ( true ? "" : 0),  true ? "" : 0);
+    }

+    return cx(Elevation, sx.Base, sx.hover && sx.hover, sx.focus && sx.focus, sx.active && sx.active, className);
+  }, [active, borderRadius, className, focus, hover, isInteractive, offset, value]);
+  return { ...otherProps,
+    className: classes,
+    'aria-hidden': true
+  };
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/elevation/component.js



+/**
+ * Internal dependencies
+ */



-function useDisclosureRef(dialogRef, options) {
-  var ref = Object(external_React_["useRef"])(null);
-  var animating = !!(options.animated && options.animating);
-  Object(external_React_["useEffect"])(function () {
-    if (options.visible || animating) return undefined; // We get the last focused element before the dialog opens, so we can move
-    // focus back to it when the dialog closes.
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ * @param {import('react').Ref<any>}                                                        forwardedRef
+ */

-    var onFocus = function onFocus(event) {
-      var target = event.target;
+function component_Elevation(props, forwardedRef) {
+  const elevationProps = useElevation(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, elevationProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `Elevation` is a core component that renders shadow, using the library's shadow system.
+ *
+ * The shadow effect is generated using the `value` prop.
+ *
+ * @example
+ * ```jsx
+ * import {
+ *	__experimentalElevation as Elevation,
+ *	__experimentalSurface as Surface,
+ *	__experimentalText as Text,
+ * } from '@wordpress/components';
+ *
+ * function Example() {
+ * 	return (
+ * 		<Surface>
+ * 			<Text>Code is Poetry</Text>
+ * 			<Elevation value={ 5 } />
+ * 		</Surface>
+ * 	);
+ * }
+ * ```
+ */

-      if ("focus" in target) {
-        ref.current = target;

-        if (options.unstable_disclosureRef) {
-          options.unstable_disclosureRef.current = target;
-        }
-      }
-    };
+const ConnectedElevation = contextConnect(component_Elevation, 'Elevation');
+/* harmony default export */ var elevation_component = (ConnectedElevation);

-    var document = Object(getDocument["a" /* getDocument */])(dialogRef.current);
-    document.addEventListener("focusin", onFocus);
-    return function () {
-      return document.removeEventListener("focusin", onFocus);
-    };
-  }, [options.visible, animating, options.unstable_disclosureRef, dialogRef]);
-  Object(external_React_["useEffect"])(function () {
-    var _options$unstable_dis;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/styles.js
+function card_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-    if (!options.visible || animating) return undefined; // Safari and Firefox on MacOS don't focus on buttons on mouse down.
-    // Instead, they focus on the closest focusable parent (ultimately, the
-    // body element). This works around that by preventing that behavior and
-    // forcing focus on the disclosure button. Otherwise, we wouldn't be able
-    // to close the dialog by clicking again on the disclosure.
+/**
+ * External dependencies
+ */

-    var onMouseDown = function onMouseDown(event) {
-      var element = event.currentTarget;
-      if (!Object(isButton["a" /* isButton */])(element)) return;
-      event.preventDefault();
-      element.focus();
-    };
+/**
+ * Internal dependencies
+ */

-    var disclosure = ((_options$unstable_dis = options.unstable_disclosureRef) === null || _options$unstable_dis === void 0 ? void 0 : _options$unstable_dis.current) || ref.current;
-    disclosure === null || disclosure === void 0 ? void 0 : disclosure.addEventListener("mousedown", onMouseDown);
-    return function () {
-      return disclosure === null || disclosure === void 0 ? void 0 : disclosure.removeEventListener("mousedown", onMouseDown);
-    };
-  }, [options.visible, animating, options.unstable_disclosureRef]);
-  return options.unstable_disclosureRef || ref;
-}

-function usePreventBodyScroll(targetRef, options) {
-  var shouldPrevent = Boolean(options.preventBodyScroll && options.visible);
-  Object(external_React_["useEffect"])(function () {
-    var element = targetRef.current;
-    if (!element || !shouldPrevent) return undefined;
-    disableBodyScroll(element, {
-      reserveScrollBarGap: true
-    });
-    return function () {
-      return enableBodyScroll(element);
-    };
-  }, [targetRef, shouldPrevent]);
-}
+const Card = /*#__PURE__*/emotion_react_browser_esm_css("box-shadow:0 0 0 1px ", config_values.surfaceBorderColor, ";outline:none;" + ( true ? "" : 0),  true ? "" : 0);
+const styles_Header =  true ? {
+  name: "1showjb",
+  styles: "border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"
+} : 0;
+const Footer =  true ? {
+  name: "14n5oej",
+  styles: "border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"
+} : 0;
+const Content =  true ? {
+  name: "13udsys",
+  styles: "height:100%"
+} : 0;
+const Body =  true ? {
+  name: "6ywzd",
+  styles: "box-sizing:border-box;height:auto;max-height:100%"
+} : 0;
+const Media =  true ? {
+  name: "dq805e",
+  styles: "box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"
+} : 0;
+const Divider =  true ? {
+  name: "c990dr",
+  styles: "box-sizing:border-box;display:block;width:100%"
+} : 0;
+const borderRadius = /*#__PURE__*/emotion_react_browser_esm_css("&:first-of-type{border-top-left-radius:", config_values.cardBorderRadius, ";border-top-right-radius:", config_values.cardBorderRadius, ";}&:last-of-type{border-bottom-left-radius:", config_values.cardBorderRadius, ";border-bottom-right-radius:", config_values.cardBorderRadius, ";}" + ( true ? "" : 0),  true ? "" : 0);
+const borderColor = /*#__PURE__*/emotion_react_browser_esm_css("border-color:", config_values.colorDivider, ";" + ( true ? "" : 0),  true ? "" : 0);
+const boxShadowless =  true ? {
+  name: "1t90u8d",
+  styles: "box-shadow:none"
+} : 0;
+const borderless =  true ? {
+  name: "1e1ncky",
+  styles: "border:none"
+} : 0;
+const rounded = /*#__PURE__*/emotion_react_browser_esm_css("border-radius:", config_values.cardBorderRadius, ";" + ( true ? "" : 0),  true ? "" : 0);
+const xSmallCardPadding = /*#__PURE__*/emotion_react_browser_esm_css("padding:", config_values.cardPaddingXSmall, ";" + ( true ? "" : 0),  true ? "" : 0);
+const cardPaddings = {
+  large: /*#__PURE__*/emotion_react_browser_esm_css("padding:", config_values.cardPaddingLarge, ";" + ( true ? "" : 0),  true ? "" : 0),
+  medium: /*#__PURE__*/emotion_react_browser_esm_css("padding:", config_values.cardPaddingMedium, ";" + ( true ? "" : 0),  true ? "" : 0),
+  small: /*#__PURE__*/emotion_react_browser_esm_css("padding:", config_values.cardPaddingSmall, ";" + ( true ? "" : 0),  true ? "" : 0),
+  xSmall: xSmallCardPadding,
+  // The `extraSmall` size is not officially documented, but the following styles
+  // are kept for legacy reasons to support older values of the `size` prop.
+  extraSmall: xSmallCardPadding
+};
+const shady = /*#__PURE__*/emotion_react_browser_esm_css("background-color:", COLORS.lightGray[200], ";" + ( true ? "" : 0),  true ? "" : 0);

-function useFocusOnShow(dialogRef, nestedDialogs, options) {
-  var initialFocusRef = options.unstable_initialFocusRef;
-  var shouldFocus = options.visible && options.unstable_autoFocusOnShow;
-  var animating = !!(options.animated && options.animating);
-  useUpdateEffect_useUpdateEffect(function () {
-    var dialog = dialogRef.current;
-     false ? undefined : void 0;
-    if (!shouldFocus) return;
-    if (!dialog) return;
-    if (animating) return; // If there're nested open dialogs, let them handle focus
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/surface/styles.js
+/**
+ * External dependencies
+ */

-    if (nestedDialogs.some(function (child) {
-      return child.current && !child.current.hidden;
-    })) {
-      return;
-    }
+/**
+ * Internal dependencies
+ */

-    if (initialFocusRef !== null && initialFocusRef !== void 0 && initialFocusRef.current) {
-      initialFocusRef.current.focus({
-        preventScroll: true
-      });
-    } else {
-      var tabbable = Object(es_tabbable["a" /* getFirstTabbableIn */])(dialog, true);

-      var isActive = function isActive() {
-        return Object(hasFocusWithin["a" /* hasFocusWithin */])(dialog);
-      };
+const Surface = /*#__PURE__*/emotion_react_browser_esm_css("background-color:", config_values.surfaceColor, ";color:", COLORS.black, ";position:relative;" + ( true ? "" : 0),  true ? "" : 0);
+const background = /*#__PURE__*/emotion_react_browser_esm_css("background-color:", config_values.surfaceBackgroundColor, ";" + ( true ? "" : 0),  true ? "" : 0);
+/**
+ * @param {Object}  props
+ * @param {boolean} [props.borderBottom]
+ * @param {boolean} [props.borderLeft]
+ * @param {boolean} [props.borderRight]
+ * @param {boolean} [props.borderTop]
+ */

-      if (tabbable) {
-        Object(ensureFocus["a" /* ensureFocus */])(tabbable, {
-          preventScroll: true,
-          isActive: isActive
-        });
-      } else {
-        Object(ensureFocus["a" /* ensureFocus */])(dialog, {
-          preventScroll: true,
-          isActive: isActive
-        });
-         false ? undefined : void 0;
-      }
-    }
-  }, [dialogRef, shouldFocus, animating, nestedDialogs, initialFocusRef]);
+function getBorders(_ref) {
+  let {
+    borderBottom,
+    borderLeft,
+    borderRight,
+    borderTop
+  } = _ref;
+  const borderStyle = `1px solid ${config_values.surfaceBorderColor}`;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    borderBottom: borderBottom ? borderStyle : undefined,
+    borderLeft: borderLeft ? borderStyle : undefined,
+    borderRight: borderRight ? borderStyle : undefined,
+    borderTop: borderTop ? borderStyle : undefined
+  },  true ? "" : 0,  true ? "" : 0);
 }
+const primary = /*#__PURE__*/emotion_react_browser_esm_css( true ? "" : 0,  true ? "" : 0);
+const secondary = /*#__PURE__*/emotion_react_browser_esm_css("background:", config_values.surfaceBackgroundTintColor, ";" + ( true ? "" : 0),  true ? "" : 0);
+const tertiary = /*#__PURE__*/emotion_react_browser_esm_css("background:", config_values.surfaceBackgroundTertiaryColor, ";" + ( true ? "" : 0),  true ? "" : 0);
+/**
+ * @param {string} surfaceBackgroundSize
+ */

-function usePortalRef(dialogRef, options) {
-  var portalRef = Object(external_React_["useRef"])(null);
-  Object(external_React_["useEffect"])(function () {
-    var dialog = dialogRef.current;
-    if (!dialog || !options.visible) return;
-    portalRef.current = Object(closest["a" /* closest */])(dialog, Portal.__selector);
-  }, [dialogRef, options.visible]);
-  return portalRef;
-}
+const customBackgroundSize = surfaceBackgroundSize => [surfaceBackgroundSize, surfaceBackgroundSize].join(' ');
+/**
+ * @param {string} surfaceBackgroundSizeDotted
+ */

-function removeFromDOM(element) {
-  if (element.parentNode == null) return;
-  element.parentNode.removeChild(element);
-}

-var focusTrapClassName = "__reakit-focus-trap";
-function isFocusTrap(element) {
-  var _element$classList;
+const dottedBackground1 = surfaceBackgroundSizeDotted => ['90deg', [config_values.surfaceBackgroundColor, surfaceBackgroundSizeDotted].join(' '), 'transparent 1%'].join(',');
+/**
+ * @param {string} surfaceBackgroundSizeDotted
+ */

-  return (_element$classList = element.classList) === null || _element$classList === void 0 ? void 0 : _element$classList.contains(focusTrapClassName);
-}
-function useFocusTrap(dialogRef, visibleModals, options) {
-  var portalRef = usePortalRef(dialogRef, options);
-  var shouldTrap = options.visible && options.modal;
-  var beforeElement = Object(external_React_["useRef"])(null);
-  var afterElement = Object(external_React_["useRef"])(null); // Create before and after elements
-  // https://github.com/w3c/aria-practices/issues/545

-  Object(external_React_["useEffect"])(function () {
-    if (!shouldTrap) return undefined;
-    var portal = portalRef.current;
+const dottedBackground2 = surfaceBackgroundSizeDotted => [[config_values.surfaceBackgroundColor, surfaceBackgroundSizeDotted].join(' '), 'transparent 1%'].join(',');
+/**
+ * @param {string} surfaceBackgroundSizeDotted
+ */

-    if (!portal) {
-       false ? undefined : void 0;
-      return undefined;
-    }

-    if (!beforeElement.current) {
-      var document = Object(getDocument["a" /* getDocument */])(portal);
-      beforeElement.current = document.createElement("div");
-      beforeElement.current.className = focusTrapClassName;
-      beforeElement.current.tabIndex = 0;
-      beforeElement.current.style.position = "fixed";
-      beforeElement.current.setAttribute("aria-hidden", "true");
-    }
+const dottedBackgroundCombined = surfaceBackgroundSizeDotted => [`linear-gradient( ${dottedBackground1(surfaceBackgroundSizeDotted)} ) center`, `linear-gradient( ${dottedBackground2(surfaceBackgroundSizeDotted)} ) center`, config_values.surfaceBorderBoldColor].join(',');
+/**
+ *
+ * @param {string} surfaceBackgroundSize
+ * @param {string} surfaceBackgroundSizeDotted
+ */

-    if (!afterElement.current) {
-      afterElement.current = beforeElement.current.cloneNode();
-    }

-    portal.insertAdjacentElement("beforebegin", beforeElement.current);
-    portal.insertAdjacentElement("afterend", afterElement.current);
-    return function () {
-      if (beforeElement.current) removeFromDOM(beforeElement.current);
-      if (afterElement.current) removeFromDOM(afterElement.current);
-    };
-  }, [portalRef, shouldTrap]); // Focus trap
+const getDotted = (surfaceBackgroundSize, surfaceBackgroundSizeDotted) => /*#__PURE__*/emotion_react_browser_esm_css("background:", dottedBackgroundCombined(surfaceBackgroundSizeDotted), ";background-size:", customBackgroundSize(surfaceBackgroundSize), ";" + ( true ? "" : 0),  true ? "" : 0);
+const gridBackground1 = [`${config_values.surfaceBorderSubtleColor} 1px`, 'transparent 1px'].join(',');
+const gridBackground2 = ['90deg', `${config_values.surfaceBorderSubtleColor} 1px`, 'transparent 1px'].join(',');
+const gridBackgroundCombined = [`linear-gradient( ${gridBackground1} )`, `linear-gradient( ${gridBackground2} )`].join(',');
+/**
+ * @param {string} surfaceBackgroundSize
+ * @return {import('@emotion/react').SerializedStyles} CSS.
+ */

-  Object(external_React_["useEffect"])(function () {
-    var before = beforeElement.current;
-    var after = afterElement.current;
-    if (!shouldTrap || !before || !after) return undefined;
+const getGrid = surfaceBackgroundSize => {
+  return /*#__PURE__*/emotion_react_browser_esm_css("background:", config_values.surfaceBackgroundColor, ";background-image:", gridBackgroundCombined, ";background-size:", customBackgroundSize(surfaceBackgroundSize), ";" + ( true ? "" : 0),  true ? "" : 0);
+};
+/**
+ * @param {'dotted' | 'grid' | 'primary' | 'secondary' | 'tertiary'} variant
+ * @param {string}                                                   surfaceBackgroundSize
+ * @param {string}                                                   surfaceBackgroundSizeDotted
+ */

-    var handleFocus = function handleFocus(event) {
-      var dialog = dialogRef.current;
-      if (!dialog || visibleModals.length) return;
-      event.preventDefault();
-      var isAfter = event.target === after;
-      var tabbable = isAfter ? Object(es_tabbable["a" /* getFirstTabbableIn */])(dialog) : Object(es_tabbable["b" /* getLastTabbableIn */])(dialog);
+const getVariant = (variant, surfaceBackgroundSize, surfaceBackgroundSizeDotted) => {
+  switch (variant) {
+    case 'dotted':
+      {
+        return getDotted(surfaceBackgroundSize, surfaceBackgroundSizeDotted);
+      }

-      if (tabbable) {
-        tabbable.focus();
-      } else {
-        // fallback to dialog
-        dialog.focus();
+    case 'grid':
+      {
+        return getGrid(surfaceBackgroundSize);
       }
-    };

-    before.addEventListener("focus", handleFocus);
-    after.addEventListener("focus", handleFocus);
-    return function () {
-      before.removeEventListener("focus", handleFocus);
-      after.removeEventListener("focus", handleFocus);
-    };
-  }, [dialogRef, visibleModals, shouldTrap]);
-}
+    case 'primary':
+      {
+        return primary;
+      }

-function hidByFocusingAnotherElement(dialogRef) {
-  var dialog = dialogRef.current;
-  if (!dialog) return false;
-  var activeElement = Object(getActiveElement["a" /* getActiveElement */])(dialog);
-  if (!activeElement) return false;
-  if (Object(es_contains["a" /* contains */])(dialog, activeElement)) return false;
-  if (Object(es_tabbable["d" /* isTabbable */])(activeElement)) return true;
-  if (activeElement.getAttribute("data-dialog") === "true") return true;
-  return false;
-}
+    case 'secondary':
+      {
+        return secondary;
+      }

-function useFocusOnHide(dialogRef, disclosureRef, options) {
-  var shouldFocus = options.unstable_autoFocusOnHide && !options.visible;
-  var animating = !!(options.animated && options.animating);
-  useUpdateEffect_useUpdateEffect(function () {
-    var _options$unstable_fin;
+    case 'tertiary':
+      {
+        return tertiary;
+      }
+  }
+};

-    if (!shouldFocus) return;
-    if (animating) return; // Hide was triggered by a click/focus on a tabbable element outside
-    // the dialog or on another dialog. We won't change focus then.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/surface/hook.js
+/**
+ * WordPress dependencies
+ */

-    if (hidByFocusingAnotherElement(dialogRef)) {
-      return;
-    }
+/**
+ * Internal dependencies
+ */

-    var finalFocusEl = ((_options$unstable_fin = options.unstable_finalFocusRef) === null || _options$unstable_fin === void 0 ? void 0 : _options$unstable_fin.current) || disclosureRef.current;

-    if (finalFocusEl) {
-      if (finalFocusEl.id) {
-        var document = Object(getDocument["a" /* getDocument */])(finalFocusEl);
-        var compositeElement = document.querySelector("[aria-activedescendant='" + finalFocusEl.id + "']");

-        if (compositeElement) {
-          Object(ensureFocus["a" /* ensureFocus */])(compositeElement);
-          return;
-        }
-      }

-      Object(ensureFocus["a" /* ensureFocus */])(finalFocusEl);
-      return;
-    }
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ */

-     false ? undefined : void 0;
-  }, [shouldFocus, animating, dialogRef, disclosureRef]);
+function useSurface(props) {
+  const {
+    backgroundSize = 12,
+    borderBottom = false,
+    borderLeft = false,
+    borderRight = false,
+    borderTop = false,
+    className,
+    variant = 'primary',
+    ...otherProps
+  } = useContextSystem(props, 'Surface');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const sx = {};
+    sx.borders = getBorders({
+      borderBottom,
+      borderLeft,
+      borderRight,
+      borderTop
+    });
+    return cx(Surface, sx.borders, getVariant(variant, `${backgroundSize}px`, `${backgroundSize - 1}px`), className);
+  }, [backgroundSize, borderBottom, borderLeft, borderRight, borderTop, className, variant]);
+  return { ...otherProps,
+    className: classes
+  };
 }

-var DialogContext = /*#__PURE__*/Object(external_React_["createContext"])({});
-function useNestedDialogs(dialogRef, options) {
-  var context = Object(external_React_["useContext"])(DialogContext);
-
-  var _React$useState = Object(external_React_["useState"])([]),
-      dialogs = _React$useState[0],
-      setDialogs = _React$useState[1];
-
-  var _React$useState2 = Object(external_React_["useState"])(dialogs),
-      visibleModals = _React$useState2[0],
-      setVisibleModals = _React$useState2[1];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card/hook.js
+/**
+ * WordPress dependencies
+ */

-  var addDialog = Object(external_React_["useCallback"])(function (ref) {
-    var _context$addDialog;

-    (_context$addDialog = context.addDialog) === null || _context$addDialog === void 0 ? void 0 : _context$addDialog.call(context, ref);
-    setDialogs(function (prevDialogs) {
-      return [].concat(prevDialogs, [ref]);
-    });
-  }, [context.addDialog]);
-  var removeDialog = Object(external_React_["useCallback"])(function (ref) {
-    var _context$removeDialog;
+/**
+ * Internal dependencies
+ */

-    (_context$removeDialog = context.removeDialog) === null || _context$removeDialog === void 0 ? void 0 : _context$removeDialog.call(context, ref);
-    setDialogs(function (prevDialogs) {
-      return removeItemFromArray(prevDialogs, ref);
-    });
-  }, [context.removeDialog]);
-  var showDialog = Object(external_React_["useCallback"])(function (ref) {
-    var _context$showDialog;

-    (_context$showDialog = context.showDialog) === null || _context$showDialog === void 0 ? void 0 : _context$showDialog.call(context, ref);
-    setVisibleModals(function (prevDialogs) {
-      return [].concat(prevDialogs, [ref]);
-    });
-  }, [context.showDialog]);
-  var hideDialog = Object(external_React_["useCallback"])(function (ref) {
-    var _context$hideDialog;

-    (_context$hideDialog = context.hideDialog) === null || _context$hideDialog === void 0 ? void 0 : _context$hideDialog.call(context, ref);
-    setVisibleModals(function (prevDialogs) {
-      return removeItemFromArray(prevDialogs, ref);
-    });
-  }, [context.hideDialog]); // If it's a nested dialog, add it to context

-  Object(external_React_["useEffect"])(function () {
-    var _context$addDialog2;

-    if (options.unstable_orphan) return undefined;
-    (_context$addDialog2 = context.addDialog) === null || _context$addDialog2 === void 0 ? void 0 : _context$addDialog2.call(context, dialogRef);
-    return function () {
-      var _context$removeDialog2;
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div'>} props
+ */

-      (_context$removeDialog2 = context.removeDialog) === null || _context$removeDialog2 === void 0 ? void 0 : _context$removeDialog2.call(context, dialogRef);
-    };
-  }, [options.unstable_orphan, context.addDialog, dialogRef, context.removeDialog]);
-  Object(external_React_["useEffect"])(function () {
-    var _context$showDialog2;
+function card_hook_useDeprecatedProps(_ref) {
+  let {
+    elevation,
+    isElevated,
+    ...otherProps
+  } = _ref;

-    if (options.unstable_orphan) return undefined;
-    if (!options.modal) return undefined;
-    if (!options.visible) return undefined;
-    (_context$showDialog2 = context.showDialog) === null || _context$showDialog2 === void 0 ? void 0 : _context$showDialog2.call(context, dialogRef);
-    return function () {
-      var _context$hideDialog2;
+  /**@type {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div'>} */
+  const propsToReturn = { ...otherProps
+  };
+  let computedElevation = elevation;

-      (_context$hideDialog2 = context.hideDialog) === null || _context$hideDialog2 === void 0 ? void 0 : _context$hideDialog2.call(context, dialogRef);
-    };
-  }, [options.unstable_orphan, options.modal, options.visible, context.showDialog, dialogRef, context.hideDialog]); // Close all nested dialogs when parent dialog closes
+  if (isElevated) {
+    var _computedElevation;

-  Object(external_React_["useEffect"])(function () {
-    if (context.visible === false && options.visible && !options.unstable_orphan) {
-      var _options$hide;
+    external_wp_deprecated_default()('Card isElevated prop', {
+      since: '5.9',
+      alternative: 'elevation'
+    });
+    (_computedElevation = computedElevation) !== null && _computedElevation !== void 0 ? _computedElevation : computedElevation = 2;
+  } // The `elevation` prop should only be passed when it's not `undefined`,
+  // otherwise it will override the value that gets derived from `useContextSystem`.

-      (_options$hide = options.hide) === null || _options$hide === void 0 ? void 0 : _options$hide.call(options);
-    }
-  }, [context.visible, options.visible, options.hide, options.unstable_orphan]); // Provider

-  var providerValue = Object(external_React_["useMemo"])(function () {
-    return {
-      visible: options.visible,
-      addDialog: addDialog,
-      removeDialog: removeDialog,
-      showDialog: showDialog,
-      hideDialog: hideDialog
-    };
-  }, [options.visible, addDialog, removeDialog, showDialog, hideDialog]);
-  var wrap = Object(external_React_["useCallback"])(function (element) {
-    return /*#__PURE__*/Object(external_React_["createElement"])(DialogContext.Provider, {
-      value: providerValue
-    }, element);
-  }, [providerValue]);
-  return {
-    dialogs: dialogs,
-    visibleModals: visibleModals,
-    wrap: wrap
-  };
-}
+  if (typeof computedElevation !== 'undefined') {
+    propsToReturn.elevation = computedElevation;
+  }

-function dialogContains(target) {
-  return function (dialogRef) {
-    var dialog = dialogRef.current;
-    if (!dialog) return false;
-    if (Object(es_contains["a" /* contains */])(dialog, target)) return true;
-    var document = Object(getDocument["a" /* getDocument */])(dialog);
-    var backdrop = document.querySelector("[data-dialog-ref=\"" + dialog.id + "\"]");
+  return propsToReturn;
+}
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div'>} props
+ */

-    if (backdrop) {
-      return Object(es_contains["a" /* contains */])(backdrop, target);
-    }

-    return false;
+function useCard(props) {
+  const {
+    className,
+    elevation = 0,
+    isBorderless = false,
+    isRounded = true,
+    size = 'medium',
+    ...otherProps
+  } = useContextSystem(card_hook_useDeprecatedProps(props), 'Card');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return cx(Card, isBorderless && boxShadowless, isRounded && rounded, className);
+  }, [className, isBorderless, isRounded]);
+  const surfaceProps = useSurface({ ...otherProps,
+    className: classes
+  });
+  return { ...surfaceProps,
+    elevation,
+    isBorderless,
+    isRounded,
+    size
   };
 }

-function isDisclosure(target, disclosure) {
-  return Object(es_contains["a" /* contains */])(disclosure, target);
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card/component.js

-function isInDocument(target) {
-  var document = Object(getDocument["a" /* getDocument */])(target);

-  if (target.tagName === "HTML") {
-    return true;
-  }

-  return Object(es_contains["a" /* contains */])(document.body, target);
-}
+/**
+ * External dependencies
+ */

-function useEventListenerOutside(containerRef, disclosureRef, nestedDialogs, eventType, listener, shouldListen, capture) {
-  var listenerRef = Object(useLiveRef["a" /* useLiveRef */])(listener);
-  Object(external_React_["useEffect"])(function () {
-    if (!shouldListen) return undefined;
+/**
+ * WordPress dependencies
+ */

-    var onEvent = function onEvent(event) {
-      if (!listenerRef.current) return;
-      var container = containerRef.current;
-      var disclosure = disclosureRef.current;
-      var target = event.target;

-      if (!container) {
-         false ? undefined : void 0;
-        return;
-      } // When an element is unmounted right after it receives focus, the focus
-      // event is triggered after that, when the element isn't part of the
-      // current document anymore. So we ignore it.
+/**
+ * Internal dependencies
+ */


-      if (!isInDocument(target)) return; // Event inside dialog

-      if (Object(es_contains["a" /* contains */])(container, target)) return; // Event on disclosure

-      if (disclosure && isDisclosure(target, disclosure)) return; // Event inside a nested dialog or focus trap

-      if (isFocusTrap(target) || nestedDialogs.some(dialogContains(target))) {
-        return;
-      }

-      listenerRef.current(event);
-    };

-    var document = Object(getDocument["a" /* getDocument */])(containerRef.current);
-    document.addEventListener(eventType, onEvent, capture);
-    return function () {
-      return document.removeEventListener(eventType, onEvent, capture);
-    };
-  }, [containerRef, disclosureRef, nestedDialogs, eventType, shouldListen, listenerRef]);
-}

-function useMouseDownRef(dialogRef, options) {
-  var mouseDownRef = Object(external_React_["useRef"])();
-  Object(external_React_["useEffect"])(function () {
-    if (!options.visible) return undefined;
-    if (!options.hideOnClickOutside) return undefined;
-    var document = Object(getDocument["a" /* getDocument */])(dialogRef.current);
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div'>} props
+ * @param {import('react').Ref<any>}                                                            forwardedRef
+ */

-    var onMouseDown = function onMouseDown(event) {
-      mouseDownRef.current = event.target;
+function component_Card(props, forwardedRef) {
+  const {
+    children,
+    elevation,
+    isBorderless,
+    isRounded,
+    size,
+    ...otherProps
+  } = useCard(props);
+  const elevationBorderRadius = isRounded ? config_values.cardBorderRadius : 0;
+  const cx = useCx();
+  const elevationClassName = (0,external_wp_element_namespaceObject.useMemo)(() => cx( /*#__PURE__*/emotion_react_browser_esm_css({
+    borderRadius: elevationBorderRadius
+  },  true ? "" : 0,  true ? "" : 0)), [elevationBorderRadius]);
+  const contextProviderValue = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const contextProps = {
+      size,
+      isBorderless
     };
-
-    document.addEventListener("mousedown", onMouseDown);
-    return function () {
-      return document.removeEventListener("mousedown", onMouseDown);
+    return {
+      CardBody: contextProps,
+      CardHeader: contextProps,
+      CardFooter: contextProps
     };
-  }, [options.visible, options.hideOnClickOutside, dialogRef]);
-  return mouseDownRef;
+  }, [isBorderless, size]);
+  return (0,external_wp_element_namespaceObject.createElement)(ContextSystemProvider, {
+    value: contextProviderValue
+  }, (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, otherProps, {
+    ref: forwardedRef
+  }), (0,external_wp_element_namespaceObject.createElement)(component, {
+    className: cx(Content)
+  }, children), (0,external_wp_element_namespaceObject.createElement)(elevation_component, {
+    className: elevationClassName,
+    isInteractive: false,
+    value: elevation ? 1 : 0
+  }), (0,external_wp_element_namespaceObject.createElement)(elevation_component, {
+    className: elevationClassName,
+    isInteractive: false,
+    value: elevation
+  })));
 }
+/**
+ * `Card` provides a flexible and extensible content container.
+ * `Card` also provides a convenient set of sub-components such as `CardBody`,
+ * `CardHeader`, `CardFooter`, and more.
+ *
+ * @example
+ * ```jsx
+ * import {
+ *   Card,
+ *   CardHeader,
+ *   CardBody,
+ *   CardFooter,
+ *   Text,
+ *   Heading,
+ * } from `@wordpress/components`;
+ *
+ * function Example() {
+ *   return (
+ *     <Card>
+ *       <CardHeader>
+ *         <Heading size={ 4 }>Card Title</Heading>
+ *       </CardHeader>
+ *       <CardBody>
+ *         <Text>Card Content</Text>
+ *       </CardBody>
+ *       <CardFooter>
+ *         <Text>Card Footer</Text>
+ *       </CardFooter>
+ *     </Card>
+ *   );
+ * }
+ * ```
+ */

-function useHideOnClickOutside(dialogRef, disclosureRef, nestedDialogs, options) {
-  var mouseDownRef = useMouseDownRef(dialogRef, options);
-  useEventListenerOutside(dialogRef, disclosureRef, nestedDialogs, "click", function (event) {
-    // Make sure the element that has been clicked is the same that last
-    // triggered the mousedown event. This prevents the dialog from closing
-    // by dragging the cursor (for example, selecting some text inside the
-    // dialog and releasing the mouse outside of it).
-    if (mouseDownRef.current === event.target) {
-      var _options$hide;

-      (_options$hide = options.hide) === null || _options$hide === void 0 ? void 0 : _options$hide.call(options);
-    }
-  }, options.visible && options.hideOnClickOutside);
-  useEventListenerOutside(dialogRef, disclosureRef, nestedDialogs, "focusin", function (event) {
-    var document = Object(getDocument["a" /* getDocument */])(dialogRef.current); // Fix for https://github.com/reakit/reakit/issues/619
-    // On IE11, calling element.blur() triggers the focus event on
-    // document.body, so we make sure to ignore it as well.
+const ConnectedCard = contextConnect(component_Card, 'Card');
+/* harmony default export */ var card_component = (ConnectedCard);

-    if (event.target !== document && event.target !== document.body) {
-      var _options$hide2;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/scrollable/styles.js
+function scrollable_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-      (_options$hide2 = options.hide) === null || _options$hide2 === void 0 ? void 0 : _options$hide2.call(options);
-    }
-  }, options.visible && options.hideOnClickOutside);
-}
+/**
+ * External dependencies
+ */

-function useDisableHoverOutside(portalRef, nestedDialogs, options) {
-  var useEvent = function useEvent(eventType) {
-    return useEventListenerOutside(portalRef, {
-      current: null
-    }, nestedDialogs, eventType, function (event) {
-      event.stopPropagation();
-      event.preventDefault();
-    }, options.visible && options.modal, true);
-  };
+/**
+ * Internal dependencies
+ */

-  useEvent("mouseover");
-  useEvent("mousemove");
-  useEvent("mouseout");
-}

+const scrollableScrollbar = /*#__PURE__*/emotion_react_browser_esm_css("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:", config_values.colorScrollbarTrack, ";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:", config_values.colorScrollbarThumb, ";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:", config_values.colorScrollbarThumbHover, ";}}" + ( true ? "" : 0),  true ? "" : 0);
+const Scrollable =  true ? {
+  name: "13udsys",
+  styles: "height:100%"
+} : 0;
+const styles_Content =  true ? {
+  name: "bjn8wh",
+  styles: "position:relative"
+} : 0;
+const styles_smoothScroll =  true ? {
+  name: "7zq9w",
+  styles: "scroll-behavior:smooth"
+} : 0;
+const scrollX =  true ? {
+  name: "q33xhg",
+  styles: "overflow-x:auto;overflow-y:hidden"
+} : 0;
+const scrollY =  true ? {
+  name: "103x71s",
+  styles: "overflow-x:hidden;overflow-y:auto"
+} : 0;
+const scrollAuto =  true ? {
+  name: "umwchj",
+  styles: "overflow-y:auto"
+} : 0;
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/scrollable/hook.js
 /**
- * When the focused child gets removed from the DOM, we make sure to move focus
- * to the dialog.
+ * WordPress dependencies
  */
-function useFocusOnChildUnmount(dialogRef, options) {
-  Object(external_React_["useEffect"])(function () {
-    var dialog = dialogRef.current;
-    if (!options.visible || !dialog) return undefined;
-    var observer = new MutationObserver(function (mutations) {
-      var target = mutations[0].target; // If target is not this dialog, then this observer was triggered by a
-      // nested dialog, so we just ignore it here and let the nested dialog
-      // handle it there.

-      if (target !== dialog) return;
-      var document = Object(getDocument["a" /* getDocument */])(dialog);
-      var activeElement = Object(getActiveElement["a" /* getActiveElement */])(dialog); // We can check if the current focused element is the document body. On
-      // IE 11, it's an empty object when the current document is in a frame or
-      // iframe.
+/**
+ * Internal dependencies
+ */

-      if (activeElement === document.body || isEmpty(activeElement)) {
-        dialog.focus();
-      }
-    });
-    observer.observe(dialog, {
-      childList: true,
-      subtree: true
-    });
-    return function () {
-      observer.disconnect();
-    };
-  }, [options.visible, dialogRef]);
-}

-function isActualElement(element) {
-  return element && element.tagName && element.tagName !== "HTML" && element !== Object(getDocument["a" /* getDocument */])(element).body;
-}

-function useFocusOnBlur(dialogRef, options) {
-  var _React$useReducer = Object(external_React_["useReducer"])(function (n) {
-    return n + 1;
-  }, 0),
-      blurred = _React$useReducer[0],
-      scheduleFocus = _React$useReducer[1];

-  Object(useIsomorphicEffect["a" /* useIsomorphicEffect */])(function () {
-    var dialog = dialogRef.current;
-    if (!options.visible) return;
-    if (!blurred) return; // After blur, if the active element isn't an actual element, this probably
-    // means that element.blur() was called on an element inside the dialog.
-    // In this case, the browser will automatically focus the body element.
-    // So we move focus back to the dialog.
+/* eslint-disable jsdoc/valid-types */

-    if (!isActualElement(Object(getActiveElement["a" /* getActiveElement */])(dialog))) {
-       false ? undefined : void 0;
-      dialog === null || dialog === void 0 ? void 0 : dialog.focus();
-    }
-  }, [blurred, dialogRef]);
-  var onBlur = Object(external_React_["useCallback"])(function (event) {
-    if (!options.visible) return;
-    var nextActiveElement = getNextActiveElementOnBlur(event);
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ */

-    if (!isActualElement(nextActiveElement)) {
-      scheduleFocus();
-    }
-  }, [options.visible]);
-  return onBlur;
+/* eslint-enable jsdoc/valid-types */
+
+function useScrollable(props) {
+  const {
+    className,
+    scrollDirection = 'y',
+    smoothScroll = false,
+    ...otherProps
+  } = useContextSystem(props, 'Scrollable');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => cx(Scrollable, scrollableScrollbar, smoothScroll && styles_smoothScroll, scrollDirection === 'x' && scrollX, scrollDirection === 'y' && scrollY, scrollDirection === 'auto' && scrollAuto, className), [className, scrollDirection, smoothScroll]);
+  return { ...otherProps,
+    className: classes
+  };
 }

-var useDialog = Object(createHook["a" /* createHook */])({
-  name: "Dialog",
-  compose: useDisclosureContent,
-  keys: DIALOG_KEYS,
-  useOptions: function useOptions(_ref) {
-    var _ref$modal = _ref.modal,
-        modal = _ref$modal === void 0 ? true : _ref$modal,
-        _ref$hideOnEsc = _ref.hideOnEsc,
-        hideOnEsc = _ref$hideOnEsc === void 0 ? true : _ref$hideOnEsc,
-        _ref$hideOnClickOutsi = _ref.hideOnClickOutside,
-        hideOnClickOutside = _ref$hideOnClickOutsi === void 0 ? true : _ref$hideOnClickOutsi,
-        _ref$preventBodyScrol = _ref.preventBodyScroll,
-        preventBodyScroll = _ref$preventBodyScrol === void 0 ? modal : _ref$preventBodyScrol,
-        _ref$unstable_autoFoc = _ref.unstable_autoFocusOnShow,
-        unstable_autoFocusOnShow = _ref$unstable_autoFoc === void 0 ? true : _ref$unstable_autoFoc,
-        _ref$unstable_autoFoc2 = _ref.unstable_autoFocusOnHide,
-        unstable_autoFocusOnHide = _ref$unstable_autoFoc2 === void 0 ? true : _ref$unstable_autoFoc2,
-        unstable_orphan = _ref.unstable_orphan,
-        options = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["modal", "hideOnEsc", "hideOnClickOutside", "preventBodyScroll", "unstable_autoFocusOnShow", "unstable_autoFocusOnHide", "unstable_orphan"]);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/scrollable/component.js

-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      modal: modal,
-      hideOnEsc: hideOnEsc,
-      hideOnClickOutside: hideOnClickOutside,
-      preventBodyScroll: modal && preventBodyScroll,
-      unstable_autoFocusOnShow: unstable_autoFocusOnShow,
-      unstable_autoFocusOnHide: unstable_autoFocusOnHide,
-      unstable_orphan: modal && unstable_orphan
-    }, options);
-  },
-  useProps: function useProps(options, _ref2) {
-    var htmlRef = _ref2.ref,
-        htmlOnKeyDown = _ref2.onKeyDown,
-        htmlOnBlur = _ref2.onBlur,
-        htmlWrapElement = _ref2.wrapElement,
-        tabIndex = _ref2.tabIndex,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref2, ["ref", "onKeyDown", "onBlur", "wrapElement", "tabIndex"]);

-    var dialog = Object(external_React_["useRef"])(null);
-    var backdrop = Object(external_React_["useContext"])(DialogBackdropContext);
-    var hasBackdrop = backdrop && backdrop === options.baseId;
-    var disclosure = useDisclosureRef(dialog, options);
-    var onKeyDownRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnKeyDown);
-    var onBlurRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnBlur);
-    var focusOnBlur = useFocusOnBlur(dialog, options);

-    var _useNestedDialogs = useNestedDialogs(dialog, options),
-        dialogs = _useNestedDialogs.dialogs,
-        visibleModals = _useNestedDialogs.visibleModals,
-        wrap = _useNestedDialogs.wrap; // VoiceOver/Safari accepts only one `aria-modal` container, so if there
-    // are visible child modals, then we don't want to set aria-modal on the
-    // parent modal (this component).
+/**
+ * Internal dependencies
+ */


-    var modal = options.modal && !visibleModals.length ? true : undefined;
-    usePreventBodyScroll(dialog, options);
-    useFocusTrap(dialog, visibleModals, options);
-    useFocusOnChildUnmount(dialog, options);
-    useFocusOnShow(dialog, dialogs, options);
-    useFocusOnHide(dialog, disclosure, options);
-    useHideOnClickOutside(dialog, disclosure, dialogs, options);
-    useDisableHoverOutside(dialog, dialogs, options);
-    var onKeyDown = Object(external_React_["useCallback"])(function (event) {
-      var _onKeyDownRef$current;

-      (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
-      if (event.defaultPrevented) return;
-      if (event.key !== "Escape") return;
-      if (!options.hideOnEsc) return;
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ * @param {import('react').Ref<any>}                                                        forwardedRef
+ */

-      if (!options.hide) {
-         false ? undefined : void 0;
-        return;
-      }
+function component_Scrollable(props, forwardedRef) {
+  const scrollableProps = useScrollable(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, scrollableProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `Scrollable` is a layout component that content in a scrollable container.
+ *
+ * @example
+ * ```jsx
+ * import { __experimentalScrollable as Scrollable } from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<Scrollable style={ { maxHeight: 200 } }>
+ * 			<div style={ { height: 500 } }>...</div>
+ * 		</Scrollable>
+ * 	);
+ * }
+ * ```
+ */

-      event.stopPropagation();
-      options.hide();
-    }, [options.hideOnEsc, options.hide]);
-    var onBlur = Object(external_React_["useCallback"])(function (event) {
-      var _onBlurRef$current;

-      (_onBlurRef$current = onBlurRef.current) === null || _onBlurRef$current === void 0 ? void 0 : _onBlurRef$current.call(onBlurRef, event);
-      focusOnBlur(event);
-    }, [focusOnBlur]);
-    var wrapElement = Object(external_React_["useCallback"])(function (element) {
-      element = wrap(element);
+const ConnectedScrollable = contextConnect(component_Scrollable, 'Scrollable');
+/* harmony default export */ var scrollable_component = (ConnectedScrollable);

-      if (options.modal && !hasBackdrop) {
-        element = /*#__PURE__*/Object(external_React_["createElement"])(Portal, null, element);
-      }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-body/hook.js
+/**
+ * WordPress dependencies
+ */

-      if (htmlWrapElement) {
-        element = htmlWrapElement(element);
-      }
+/**
+ * Internal dependencies
+ */

-      return (
-        /*#__PURE__*/
-        // Prevents Menu > Dialog > Menu to behave as a sub menu
-        Object(external_React_["createElement"])(MenuContext.Provider, {
-          value: null
-        }, element)
-      );
-    }, [wrap, options.modal, hasBackdrop, htmlWrapElement]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(dialog, htmlRef),
-      role: "dialog",
-      tabIndex: tabIndex != null ? tabIndex : -1,
-      "aria-modal": modal,
-      "data-dialog": true,
-      onKeyDown: onKeyDown,
-      onBlur: onBlur,
-      wrapElement: wrapElement
-    }, htmlProps);
-  }
-});
-var Dialog = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  useHook: useDialog,
-  useCreateElement: function useCreateElement$1(type, props, children) {
-     false ? undefined : void 0;
-    return Object(useCreateElement["a" /* useCreateElement */])(type, props, children);
-  }
-});



-// CONCATENATED MODULE: ./node_modules/reakit/es/Popover/Popover.js
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').BodyProps, 'div'>} props
+ */
+
+function useCardBody(props) {
+  const {
+    className,
+    isScrollable = false,
+    isShady = false,
+    size = 'medium',
+    ...otherProps
+  } = useContextSystem(props, 'CardBody');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => cx(Body, borderRadius, cardPaddings[size], isShady && shady, // This classname is added for legacy compatibility reasons.
+  'components-card__body', className), [className, isShady, size]);
+  return { ...otherProps,
+    className: classes,
+    isScrollable
+  };
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-body/component.js
+
+

+/**
+ * Internal dependencies
+ */




+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').BodyProps, 'div'>} props
+ * @param {import('react').Ref<any>}                                                                forwardedRef
+ */

+function CardBody(props, forwardedRef) {
+  const {
+    isScrollable,
+    ...otherProps
+  } = useCardBody(props);

+  if (isScrollable) {
+    return (0,external_wp_element_namespaceObject.createElement)(scrollable_component, extends_extends({}, otherProps, {
+      ref: forwardedRef
+    }));
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, otherProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `CardBody` renders an optional content area for a `Card`.
+ * Multiple `CardBody` components can be used within `Card` if needed.
+ *
+ * @example
+ * ```jsx
+ * import { Card, CardBody } from `@wordpress/components`;
+ *
+ * <Card>
+ * 	<CardBody>
+ * 		...
+ * 	</CardBody>
+ * </Card>
+ * ```
+ */


+const ConnectedCardBody = contextConnect(CardBody, 'CardBody');
+/* harmony default export */ var card_body_component = (ConnectedCardBody);

+;// CONCATENATED MODULE: ./node_modules/reakit/es/Separator/Separator.js






+// Automatically generated
+var SEPARATOR_KEYS = ["orientation"];

+var useSeparator = createHook({
+  name: "Separator",
+  compose: useRole,
+  keys: SEPARATOR_KEYS,
+  useOptions: function useOptions(_ref) {
+    var _ref$orientation = _ref.orientation,
+        orientation = _ref$orientation === void 0 ? "horizontal" : _ref$orientation,
+        options = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["orientation"]);

+    return _objectSpread2({
+      orientation: orientation
+    }, options);
+  },
+  useProps: function useProps(options, htmlProps) {
+    return _objectSpread2({
+      role: "separator",
+      "aria-orientation": options.orientation
+    }, htmlProps);
+  }
+});
+var Separator = createComponent({
+  as: "hr",
+  memo: true,
+  useHook: useSeparator
+});



+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/divider/styles.js


+/**
+ * External dependencies
+ */

+/**
+ * Internal dependencies
+ */




+const renderMargin = _ref => {
+  let {
+    margin,
+    marginTop,
+    marginBottom
+  } = _ref;

+  if (typeof margin !== 'undefined') {
+    return /*#__PURE__*/emotion_react_browser_esm_css({
+      marginBottom: space(margin),
+      marginTop: space(margin)
+    },  true ? "" : 0,  true ? "" : 0);
+  }

+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    marginTop: space(marginTop),
+    marginBottom: space(marginBottom)
+  },  true ? "" : 0,  true ? "" : 0);
+};

+const DividerView = emotion_styled_base_browser_esm("hr",  true ? {
+  target: "e19on6iw0"
+} : 0)("border-color:", config_values.colorDivider, ";border-width:0 0 1px 0;height:0;margin:0;width:auto;", renderMargin, ";" + ( true ? "" : 0));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/divider/component.js



-var usePopover = Object(createHook["a" /* createHook */])({
-  name: "Popover",
-  compose: useDialog,
-  keys: POPOVER_KEYS,
-  useOptions: function useOptions(_ref) {
-    var _ref$modal = _ref.modal,
-        modal = _ref$modal === void 0 ? false : _ref$modal,
-        options = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["modal"]);
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports
+ // eslint-disable-next-line no-restricted-imports

-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      modal: modal
-    }, options);
-  },
-  useProps: function useProps(options, _ref2) {
-    var htmlRef = _ref2.ref,
-        htmlStyle = _ref2.style,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref2, ["ref", "style"]);
+/**
+ * Internal dependencies
+ */

-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(options.unstable_popoverRef, htmlRef),
-      style: Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, options.unstable_popoverStyles), htmlStyle)
-    }, htmlProps);
-  }
-});
-var Popover = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  useHook: usePopover,
-  useCreateElement: function useCreateElement$1(type, props, children) {
-     false ? undefined : void 0;
-    return Object(useCreateElement["a" /* useCreateElement */])(type, props, children);
-  }
-});


+function component_Divider(props, forwardedRef) {
+  const contextProps = useContextSystem(props, 'Divider');
+  return (0,external_wp_element_namespaceObject.createElement)(Separator, extends_extends({
+    as: DividerView
+  }, contextProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `Divider` is a layout component that separates groups of related content.
+ *
+ * @example
+ * ```js
+ * import {
+ *     __experimentalDivider as Divider,
+ *     __experimentalText as Text }
+ * from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<ListGroup>
+ * 			<FormGroup>...</FormGroup>
+ * 			<Divider />
+ * 			<FormGroup>...</FormGroup>
+ * 		</ListGroup>
+ * 	);
+ * }
+ * ```
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/styles.js

+const ConnectedDivider = contextConnect(component_Divider, 'Divider');
+/* harmony default export */ var divider_component = (ConnectedDivider);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-divider/hook.js
 /**
- * External dependencies
+ * WordPress dependencies
  */
-// eslint-disable-next-line no-restricted-imports

 /**
  * Internal dependencies
@@ -49822,14 +44717,24 @@ var Popover = Object(createComponent["a" /* createComponent */])({



-const FlyoutContentView = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(Popover,  true ? {
-  target: "e1vtu5161"
-} : undefined)("z-index:", Flyout, ";box-sizing:border-box;opacity:0;outline:none;position:relative;transform-origin:center center;transition:opacity ", config_values.transitionDurationFastest, " linear;width:100%;&[data-enter]{opacity:1;}&::before,&::after{display:none;}" + ( true ? "" : undefined));
-const CardView = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(card_component,  true ? {
-  target: "e1vtu5160"
-} : undefined)(card_body_component.selector, "{max-height:80vh;}" + ( true ? "" : undefined));
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../../divider').DividerProps, 'hr', false>} props
+ */
+
+function useCardDivider(props) {
+  const {
+    className,
+    ...otherProps
+  } = useContextSystem(props, 'CardDivider');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => cx(Divider, borderColor, // This classname is added for legacy compatibility reasons.
+  'components-card__divider', className), [className]);
+  return { ...otherProps,
+    className: classes
+  };
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/flyout-content/component.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-divider/component.js



@@ -49840,299 +44745,300 @@ const CardView = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* defa


 /**
- *
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').ContentProps, 'div', false>} props
- * @param {import('react').Ref<any>}                                                                          forwardedRef
+ * @param {import('../../ui/context').WordPressComponentProps<import('../../divider').DividerProps, 'hr', false>} props
+ * @param {import('react').Ref<any>}                                                                              forwardedRef
  */

-function FlyoutContent(props, forwardedRef) {
-  const {
-    children,
-    elevation,
-    maxWidth,
-    style = {},
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'FlyoutContent');
-  const {
-    label,
-    flyoutState
-  } = useFlyoutContext();
-
-  if (!flyoutState) {
-    throw new Error('`FlyoutContent` must only be used inside a `Flyout`.');
-  }
-
-  const showContent = flyoutState.visible || flyoutState.animating;
-  return Object(external_wp_element_["createElement"])(FlyoutContentView, Object(esm_extends["a" /* default */])({
-    "aria-label": label // maxWidth is applied via inline styles in order to avoid the `React does
-    // not recognize the maxWidth prop on a DOM element` error that comes from
-    // passing `maxWidth` as a prop to `FlyoutContentView`
-    ,
-    style: {
-      maxWidth,
-      ...style
-    }
-  }, otherProps, flyoutState), showContent && Object(external_wp_element_["createElement"])(CardView, {
-    elevation: elevation,
+function CardDivider(props, forwardedRef) {
+  const dividerProps = useCardDivider(props);
+  return (0,external_wp_element_namespaceObject.createElement)(divider_component, extends_extends({}, dividerProps, {
     ref: forwardedRef
-  }, children));
+  }));
 }
+/**
+ * `CardDivider` renders an optional divider within a `Card`.
+ * It is typically used to divide multiple `CardBody` components from each other.
+ *
+ * @example
+ * ```jsx
+ * import { Card, CardBody, CardDivider } from `@wordpress/components`;
+ *
+ * <Card>
+ *  <CardBody>...</CardBody>
+ *  <CardDivider />
+ *  <CardBody>...</CardBody>
+ * </Card>
+ * ```
+ */

-const ConnectedFlyoutContent = Object(context_connect["a" /* contextConnect */])(FlyoutContent, 'FlyoutContent');
-/* harmony default export */ var flyout_content_component = (ConnectedFlyoutContent);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/flyout/hook.js
+const ConnectedCardDivider = contextConnect(CardDivider, 'CardDivider');
+/* harmony default export */ var card_divider_component = (ConnectedCardDivider);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-footer/hook.js
 /**
- * External dependencies
+ * WordPress dependencies
  */
-// eslint-disable-next-line no-restricted-imports

 /**
  * Internal dependencies
  */


+
+
 /**
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div', false>} props
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').FooterProps, 'div'>} props
  */

-function useFlyout(props) {
+function useCardFooter(props) {
   const {
-    animated = true,
-    animationDuration = 160,
-    baseId,
-    elevation = 5,
-    id,
-    maxWidth = 360,
-    placement,
-    state,
-    visible,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Flyout');
-
-  const _flyoutState = usePopoverState({
-    animated: animated ? animationDuration : undefined,
-    baseId: baseId || id,
-    placement,
-    visible,
+    className,
+    justify,
+    isBorderless = false,
+    isShady = false,
+    size = 'medium',
     ...otherProps
-  });
-
-  const flyoutState = state || _flyoutState;
+  } = useContextSystem(props, 'CardFooter');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => cx(Footer, borderRadius, borderColor, cardPaddings[size], isBorderless && borderless, isShady && shady, // This classname is added for legacy compatibility reasons.
+  'components-card__footer', className), [className, isBorderless, isShady, size]);
   return { ...otherProps,
-    elevation,
-    maxWidth,
-    flyoutState
+    className: classes,
+    justify
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/flyout/component.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-footer/component.js



 /**
- * External dependencies
+ * Internal dependencies
  */
-// eslint-disable-next-line no-restricted-imports
+
+

 /**
- * WordPress dependencies
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').FooterProps, 'div'>} props
+ * @param {import('react').Ref<any>}                                                                  forwardedRef
  */

-
+function CardFooter(props, forwardedRef) {
+  const footerProps = useCardFooter(props);
+  return (0,external_wp_element_namespaceObject.createElement)(flex_component, extends_extends({}, footerProps, {
+    ref: forwardedRef
+  }));
+}
 /**
- * Internal dependencies
+ * `CardFooter` renders an optional footer within a `Card`.
+ *
+ * @example
+ * ```jsx
+ * import { Card, CardBody, CardFooter } from `@wordpress/components`;
+ *
+ * <Card>
+ * 	<CardBody>...</CardBody>
+ * 	<CardFooter>...</CardFooter>
+ * </Card>
+ * ```
  */


+const ConnectedCardFooter = contextConnect(CardFooter, 'CardFooter');
+/* harmony default export */ var card_footer_component = (ConnectedCardFooter);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-header/hook.js
+/**
+ * WordPress dependencies
+ */

+/**
+ * Internal dependencies
+ */




 /**
- *
- * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div', false>} props
- * @param {import('react').Ref<any>}                                                                   forwardedRef
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').HeaderProps, 'div'>} props
  */

-function component_Flyout(props, forwardedRef) {
+function useCardHeader(props) {
   const {
-    children,
-    elevation,
-    label,
-    maxWidth,
-    onVisibleChange,
-    trigger,
-    flyoutState,
+    className,
+    isBorderless = false,
+    isShady = false,
+    size = 'medium',
     ...otherProps
-  } = useFlyout(props);
-  const resizeListener = useFlyoutResizeUpdater({
-    onResize: flyoutState.unstable_update
-  });
-  const uniqueId = `flyout-${flyoutState.baseId}`;
-  const labelId = label || uniqueId;
-  const contextProps = Object(external_wp_element_["useMemo"])(() => ({
-    label: labelId,
-    flyoutState
-  }), [labelId, flyoutState]);
-  const triggerContent = Object(external_wp_element_["useCallback"])(triggerProps => {
-    return Object(external_wp_element_["cloneElement"])(trigger, triggerProps);
-  }, [trigger]);
-  use_update_effect(() => {
-    onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(flyoutState.visible);
-  }, [flyoutState.visible]);
-  return Object(external_wp_element_["createElement"])(FlyoutContext.Provider, {
-    value: contextProps
-  }, trigger && Object(external_wp_element_["createElement"])(PopoverDisclosure, Object(esm_extends["a" /* default */])({}, flyoutState, {
-    ref: trigger.ref
-  }, trigger.props), triggerContent), Object(external_wp_element_["createElement"])(Portal, null, Object(external_wp_element_["createElement"])(flyout_content_component, Object(esm_extends["a" /* default */])({
+  } = useContextSystem(props, 'CardHeader');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => cx(styles_Header, borderRadius, borderColor, cardPaddings[size], isBorderless && borderless, isShady && shady, // This classname is added for legacy compatibility reasons.
+  'components-card__header', className), [className, isBorderless, isShady, size]);
+  return { ...otherProps,
+    className: classes
+  };
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-header/component.js
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').HeaderProps, 'div'>} props
+ * @param {import('react').Ref<any>}                                                                  forwardedRef
+ */
+
+function CardHeader(props, forwardedRef) {
+  const headerProps = useCardHeader(props);
+  return (0,external_wp_element_namespaceObject.createElement)(flex_component, extends_extends({}, headerProps, {
     ref: forwardedRef
-  }, otherProps, {
-    elevation: elevation,
-    maxWidth: maxWidth
-  }), resizeListener, children)));
+  }));
 }
 /**
- * `Flyout` is a component to render a floating content modal.
- * It is similar in purpose to a tooltip, but renders content of any sort,
- * not only simple text.
+ * `CardHeader` renders an optional header within a `Card`.
  *
  * @example
  * ```jsx
- * import { Button, __experimentalFlyout as Flyout, __experimentalText as } from '@wordpress/components';
+ * import { Card, CardBody, CardHeader } from `@wordpress/components`;
  *
- * function Example() {
- * 	return (
- * 		<Flyout trigger={ <Button>Show/Hide content</Button> }>
- *			<Text>Code is Poetry</Text>
- * 		</Flyout>
- * 	);
- * }
+ * <Card>
+ * 	<CardHeader>...</CardHeader>
+ * 	<CardBody>...</CardBody>
+ * </Card>
  * ```
  */


-const ConnectedFlyout = Object(context_connect["a" /* contextConnect */])(component_Flyout, 'Flyout');
-/* harmony default export */ var flyout_component = (ConnectedFlyout);
+const ConnectedCardHeader = contextConnect(CardHeader, 'CardHeader');
+/* harmony default export */ var card_header_component = (ConnectedCardHeader);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-media/hook.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/styles/focal-point-picker-style.js


-function focal_point_picker_style_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
- * External dependencies
+ * @param {import('../../ui/context').WordPressComponentProps<{ children: import('react').ReactNode }, 'div'>} props
  */

+function useCardMedia(props) {
+  const {
+    className,
+    ...otherProps
+  } = useContextSystem(props, 'CardMedia');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => cx(Media, borderRadius, // This classname is added for legacy compatibility reasons.
+  'components-card__media', className), [className]);
+  return { ...otherProps,
+    className: classes
+  };
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/card/card-media/component.js
+
+
+
 /**
  * Internal dependencies
  */



-const MediaWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e11wezi78"
-} : undefined)( true ? {
-  name: "1g31405",
-  styles: "background-color:transparent;box-sizing:border-box;text-align:center;width:100%"
-} : undefined);
-const MediaContainer = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e11wezi77"
-} : undefined)( true ? {
-  name: "v0nrlz",
-  styles: "align-items:center;box-sizing:border-box;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.2 );cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;img,video{box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:auto;}"
-} : undefined);
-const MediaPlaceholder = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e11wezi76"
-} : undefined)("background:", COLORS.lightGray[300], ";box-sizing:border-box;height:170px;max-width:280px;min-width:200px;width:100%;" + ( true ? "" : undefined));
-const focal_point_picker_style_UnitControl = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(unit_control,  true ? {
-  target: "e11wezi75"
-} : undefined)( true ? {
-  name: "1pzk433",
-  styles: "width:100px"
-} : undefined);
-const ControlWrapper = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(flex_component,  true ? {
-  target: "e11wezi74"
-} : undefined)( true ? {
-  name: "ox4xcy",
-  styles: "max-width:320px;padding:1em 0"
-} : undefined);
-const GridView = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e11wezi73"
-} : undefined)("box-sizing:border-box;left:50%;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%, -50%, 0 );transition:opacity 120ms linear;z-index:1;", _ref => {
-  let {
-    isActive
-  } = _ref;
-  return isActive && `
-		opacity: 1;
-	`;
-}, ";" + ( true ? "" : undefined));
-const GridLine = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "e11wezi72"
-} : undefined)( true ? {
-  name: "1sy4ch9",
-  styles: "box-sizing:border-box;background:white;box-shadow:0 0 2px rgba( 0, 0, 0, 0.6 );position:absolute;opacity:0.4;transform:translateZ( 0 )"
-} : undefined);
-const GridLineX = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(GridLine,  true ? {
-  target: "e11wezi71"
-} : undefined)( true ? {
-  name: "1qp910y",
-  styles: "height:1px;left:0;right:0"
-} : undefined);
-const GridLineY = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(GridLine,  true ? {
-  target: "e11wezi70"
-} : undefined)( true ? {
-  name: "1oz3zka",
-  styles: "width:1px;top:0;bottom:0"
-} : undefined);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/utils.js
-const INITIAL_BOUNDS = {
-  top: 0,
-  left: 0,
-  bottom: 0,
-  right: 0,
-  width: 0,
-  height: 0
-};
-const VIDEO_EXTENSIONS = ['avi', 'mpg', 'mpeg', 'mov', 'mp4', 'm4v', 'ogg', 'ogv', 'webm', 'wmv'];
 /**
- * Gets the extension of a file name.
- *
- * @param {string} filename The file name.
- * @return {string} The extension of the file name.
+ * @param {import('../../ui/context').WordPressComponentProps<{ children: import('react').ReactNode }, 'div'>} props
+ * @param {import('react').Ref<any>}                                                                           forwardedRef
  */

-function getExtension() {
-  let filename = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
-  const parts = filename.split('.');
-  return parts[parts.length - 1];
+function CardMedia(props, forwardedRef) {
+  const cardMediaProps = useCardMedia(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, cardMediaProps, {
+    ref: forwardedRef
+  }));
 }
 /**
- * Checks if a file is a video.
+ * `CardMedia` provides a container for media elements within a `Card`.
  *
- * @param {string} filename The file name.
- * @return {boolean} Whether the file is a video.
+ * @example
+ * ```jsx
+ * import { Card, CardBody, CardMedia } from '@wordpress/components';
+ *
+ * const Example = () => (
+ *  <Card>
+ *	  <CardMedia>
+ *		  <img src="..." />
+ *    </CardMedia>
+ *    <CardBody>...</CardBody>
+ *  </Card>
+ * );
+ * ```
  */

-function isVideoType() {
-  let filename = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
-  if (!filename) return false;
-  return VIDEO_EXTENSIONS.includes(getExtension(filename));
-}
+
+const ConnectedCardMedia = contextConnect(CardMedia, 'CardMedia');
+/* harmony default export */ var card_media_component = (ConnectedCardMedia);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
 /**
- * Transforms a fraction value to a percentage value.
+ * WordPress dependencies
+ */
+
+/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
+
+/**
+ * Return an SVG icon.
  *
- * @param {number} fraction The fraction value.
- * @return {number} A percentage value.
+ * @param {IconProps} props icon is the SVG component to render
+ *                          size is a number specifiying the icon size in pixels
+ *                          Other props will be passed to wrapped SVG component
+ *
+ * @return {JSX.Element}  Icon component
  */

-function fractionToPercentage(fraction) {
-  return Math.round(fraction * 100);
+function icon_Icon(_ref) {
+  let {
+    icon,
+    size = 24,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+    width: size,
+    height: size,
+    ...props
+  });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/controls.js
+/* harmony default export */ var icons_build_module_icon = (icon_Icon);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const check = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
+}));
+/* harmony default export */ var library_check = (check);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/checkbox-control/index.js



@@ -50145,68 +45051,64 @@ function fractionToPercentage(fraction) {
  */


+
+
 /**
  * Internal dependencies
  */


-
-const TEXTCONTROL_MIN = 0;
-const TEXTCONTROL_MAX = 100;
-function FocalPointPickerControls(_ref) {
+function CheckboxControl(_ref) {
   let {
-    onChange = external_lodash_["noop"],
-    percentages = {
-      x: 0.5,
-      y: 0.5
-    }
+    label,
+    className,
+    heading,
+    checked,
+    help,
+    onChange,
+    ...props
   } = _ref;
-  const valueX = fractionToPercentage(percentages.x);
-  const valueY = fractionToPercentage(percentages.y);

-  const handleChange = (value, axis) => {
-    const num = parseInt(value, 10);
+  if (heading) {
+    external_wp_deprecated_default()('`heading` prop in `CheckboxControl`', {
+      alternative: 'a separate element to implement a heading',
+      plugin: 'Gutenberg'
+    });
+  }

-    if (!isNaN(num)) {
-      onChange({ ...percentages,
-        [axis]: num / 100
-      });
-    }
-  };
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(CheckboxControl);
+  const id = `inspector-checkbox-control-${instanceId}`;

-  return Object(external_wp_element_["createElement"])(ControlWrapper, {
-    className: "focal-point-picker__controls"
-  }, Object(external_wp_element_["createElement"])(controls_UnitControl, {
-    label: Object(external_wp_i18n_["__"])('Left'),
-    value: valueX,
-    onChange: next => handleChange(next, 'x'),
-    dragDirection: "e"
-  }), Object(external_wp_element_["createElement"])(controls_UnitControl, {
-    label: Object(external_wp_i18n_["__"])('Top'),
-    value: valueY,
-    onChange: next => handleChange(next, 'y'),
-    dragDirection: "s"
-  }));
-}
+  const onChangeValue = event => onChange(event.target.checked);

-function controls_UnitControl(props) {
-  return Object(external_wp_element_["createElement"])(focal_point_picker_style_UnitControl, Object(esm_extends["a" /* default */])({
-    className: "focal-point-picker__controls-position-unit-control",
-    labelPosition: "top",
-    max: TEXTCONTROL_MAX,
-    min: TEXTCONTROL_MIN,
-    unit: "%",
-    units: [{
-      value: '%',
-      label: '%'
-    }]
-  }, props));
+  return (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    label: heading,
+    id: id,
+    help: help,
+    className: classnames_default()('components-checkbox-control', className)
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-checkbox-control__input-container"
+  }, (0,external_wp_element_namespaceObject.createElement)("input", extends_extends({
+    id: id,
+    className: "components-checkbox-control__input",
+    type: "checkbox",
+    value: "1",
+    onChange: onChangeValue,
+    checked: checked,
+    "aria-describedby": !!help ? id + '__help' : undefined
+  }, props)), checked ? (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+    icon: library_check,
+    className: "components-checkbox-control__checked",
+    role: "presentation"
+  }) : null), (0,external_wp_element_namespaceObject.createElement)("label", {
+    className: "components-checkbox-control__label",
+    htmlFor: id
+  }, label));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/styles/focal-point-style.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/clipboard-button/index.js


-function focal_point_style_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
  * External dependencies
@@ -50216,240 +45118,325 @@ function focal_point_style_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have t
  * WordPress dependencies
  */

+
+
+
 /**
  * Internal dependencies
  */


-const FocalPointWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "eas61re3"
-} : undefined)("background-color:transparent;box-sizing:border-box;cursor:grab;height:30px;margin:-15px 0 0 -15px;opacity:0.8;position:absolute;user-select:none;width:30px;will-change:transform;z-index:10000;", _ref => {
+const TIMEOUT = 4000;
+function ClipboardButton(_ref) {
   let {
-    isDragging
+    className,
+    children,
+    onCopy,
+    onFinishCopy,
+    text,
+    ...buttonProps
   } = _ref;
-  return isDragging && 'cursor: grabbing;';
-}, ";" + ( true ? "" : undefined));
-const PointerIconSVG = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(external_wp_primitives_["SVG"],  true ? {
-  target: "eas61re2"
-} : undefined)( true ? {
-  name: "qkx60y",
-  styles: "display:block;height:100%;left:0;position:absolute;top:0;width:100%"
-} : undefined);
-const PointerIconPathOutline = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(external_wp_primitives_["Path"],  true ? {
-  target: "eas61re1"
-} : undefined)( true ? {
-  name: "1b3qpiw",
-  styles: "fill:white"
-} : undefined);
-const PointerIconPathFill = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(external_wp_primitives_["Path"],  true ? {
-  target: "eas61re0"
-} : undefined)("fill:", COLORS.blue.wordpress[700], ";fill:", COLORS.ui.theme, ";" + ( true ? "" : undefined));
+  external_wp_deprecated_default()('wp.components.ClipboardButton', {
+    since: '10.3',
+    plugin: 'Gutenberg',
+    alternative: 'wp.compose.useCopyToClipboard'
+  });
+  const timeoutId = (0,external_wp_element_namespaceObject.useRef)();
+  const ref = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(text, () => {
+    onCopy();
+    clearTimeout(timeoutId.current);
+
+    if (onFinishCopy) {
+      timeoutId.current = setTimeout(() => onFinishCopy(), TIMEOUT);
+    }
+  });
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    clearTimeout(timeoutId.current);
+  }, []);
+  const classes = classnames_default()('components-clipboard-button', className); // Workaround for inconsistent behavior in Safari, where <textarea> is not
+  // the document.activeElement at the moment when the copy event fires.
+  // This causes documentHasSelection() in the copy-handler component to
+  // mistakenly override the ClipboardButton, and copy a serialized string
+  // of the current block instead.
+
+  const focusOnCopyEventTarget = event => {
+    event.target.focus();
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/focal-point.js
+  return (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({}, buttonProps, {
+    className: classes,
+    ref: ref,
+    onCopy: focusOnCopyEventTarget
+  }), children);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/line-solid.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const lineSolid = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  width: "24",
+  height: "24",
+  fill: "none"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M5 11.25h14v1.5H5z"
+}));
+/* harmony default export */ var line_solid = (lineSolid);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
+
+
 /**
- * External dependencies
+ * WordPress dependencies
  */

+const plus = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
+}));
+/* harmony default export */ var library_plus = (plus);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js

-function FocalPoint(_ref) {
-  let {
-    coordinates = {
-      left: '50%',
-      top: '50%'
-    },
-    ...props
-  } = _ref;
-  const classes = classnames_default()('components-focal-point-picker__icon_container');
-  const style = {
-    left: coordinates.left,
-    top: coordinates.top
-  };
-  return Object(external_wp_element_["createElement"])(FocalPointWrapper, Object(esm_extends["a" /* default */])({}, props, {
-    className: classes,
-    style: style
-  }), Object(external_wp_element_["createElement"])(PointerIconSVG, {
-    className: "components-focal-point-picker__icon",
-    xmlns: "http://www.w3.org/2000/svg",
-    viewBox: "0 0 30 30"
-  }, Object(external_wp_element_["createElement"])(PointerIconPathOutline, {
-    className: "components-focal-point-picker__icon-outline",
-    d: "M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"
-  }), Object(external_wp_element_["createElement"])(PointerIconPathFill, {
-    className: "components-focal-point-picker__icon-fill",
-    d: "M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"
-  })));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/grid.js
+/**
+ * WordPress dependencies
+ */
+
+const moreVertical = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
+}));
+/* harmony default export */ var more_vertical = (moreVertical);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/settings.js


 /**
  * WordPress dependencies
  */

+const settings = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"
+}));
+/* harmony default export */ var library_settings = (settings);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/h-stack/utils.js
 /**
- * Internal dependencies
+ * External dependencies
  */

+/** @type {import('./types').Alignments} */

+const utils_ALIGNMENTS = {
+  bottom: {
+    align: 'flex-end',
+    justify: 'center'
+  },
+  bottomLeft: {
+    align: 'flex-start',
+    justify: 'flex-end'
+  },
+  bottomRight: {
+    align: 'flex-end',
+    justify: 'flex-end'
+  },
+  center: {
+    align: 'center',
+    justify: 'center'
+  },
+  edge: {
+    align: 'center',
+    justify: 'space-between'
+  },
+  left: {
+    align: 'center',
+    justify: 'flex-start'
+  },
+  right: {
+    align: 'center',
+    justify: 'flex-end'
+  },
+  stretch: {
+    align: 'stretch'
+  },
+  top: {
+    align: 'flex-start',
+    justify: 'center'
+  },
+  topLeft: {
+    align: 'flex-start',
+    justify: 'flex-start'
+  },
+  topRight: {
+    align: 'flex-start',
+    justify: 'flex-end'
+  }
+};
+/** @type {import('./types').Alignments} */
+
+const V_ALIGNMENTS = {
+  bottom: {
+    justify: 'flex-end',
+    align: 'center'
+  },
+  bottomLeft: {
+    justify: 'flex-start',
+    align: 'flex-end'
+  },
+  bottomRight: {
+    justify: 'flex-end',
+    align: 'flex-end'
+  },
+  center: {
+    justify: 'center',
+    align: 'center'
+  },
+  edge: {
+    justify: 'space-between',
+    align: 'center'
+  },
+  left: {
+    justify: 'center',
+    align: 'flex-start'
+  },
+  right: {
+    justify: 'center',
+    align: 'flex-end'
+  },
+  stretch: {
+    justify: 'stretch'
+  },
+  top: {
+    justify: 'flex-start',
+    align: 'center'
+  },
+  topLeft: {
+    justify: 'flex-start',
+    align: 'flex-start'
+  },
+  topRight: {
+    justify: 'flex-start',
+    align: 'flex-end'
+  }
+};
+/* eslint-disable jsdoc/valid-types */

-const {
-  clearTimeout: grid_clearTimeout,
-  setTimeout: grid_setTimeout
-} = typeof window !== 'undefined' ? window : {};
-function FocalPointPickerGrid(_ref) {
-  let {
-    bounds = {},
-    value,
-    ...props
-  } = _ref;
-  const animationProps = useRevealAnimation(value);
-  const style = {
-    width: bounds.width,
-    height: bounds.height
-  };
-  return Object(external_wp_element_["createElement"])(GridView, Object(esm_extends["a" /* default */])({}, props, animationProps, {
-    className: "components-focal-point-picker__grid",
-    style: style
-  }), Object(external_wp_element_["createElement"])(GridLineX, {
-    style: {
-      top: '33%'
-    }
-  }), Object(external_wp_element_["createElement"])(GridLineX, {
-    style: {
-      top: '66%'
-    }
-  }), Object(external_wp_element_["createElement"])(GridLineY, {
-    style: {
-      left: '33%'
-    }
-  }), Object(external_wp_element_["createElement"])(GridLineY, {
-    style: {
-      left: '66%'
-    }
-  }));
-}
 /**
- * Custom hook that renders the "flash" animation whenever the value changes.
- *
- * @param {string} value Value of (box) side.
+ * @param {import('./types').HStackAlignment | import('react').CSSProperties[ 'alignItems' ]} alignment         Where to align.
+ * @param {import('../flex/types').FlexDirection}                                             [direction='row'] Direction to align.
+ * @return {import('./types').AlignmentProps} Alignment props.
  */

-function useRevealAnimation(value) {
-  const [isActive, setIsActive] = Object(external_wp_element_["useState"])(false);
-  use_update_effect(() => {
-    setIsActive(true);
-    const timeout = grid_setTimeout(() => {
-      setIsActive(false);
-    }, 600);
-    return () => grid_clearTimeout(timeout);
-  }, [value]);
-  return {
-    isActive
-  };
-}
+/* eslint-enable jsdoc/valid-types */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/media.js
+function getAlignmentProps(alignment) {
+  let direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'row';

+  if ((0,external_lodash_namespaceObject.isNil)(alignment)) {
+    return {};
+  }

+  const isVertical = direction === 'column';
+  const props = isVertical ? V_ALIGNMENTS : utils_ALIGNMENTS;
+  const alignmentProps = alignment in props ? props[
+  /** @type {keyof typeof ALIGNMENTS} */
+  alignment] : {
+    align: alignment
+  };
+  return alignmentProps;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/utils/get-valid-children.js
 /**
  * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports

 /**
  * WordPress dependencies
  */

-
 /**
- * Internal dependencies
+ * Gets a collection of available children elements from a React component's children prop.
+ *
+ * @param  children
+ *
+ * @return An array of available children.
  */

+function getValidChildren(children) {
+  if (typeof children === 'string') return [children];
+  return external_wp_element_namespaceObject.Children.toArray(children).filter(child => (0,external_wp_element_namespaceObject.isValidElement)(child));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/h-stack/hook.js

-function media_Media(_ref) {
-  let {
-    alt,
-    autoPlay,
-    src,
-    onLoad = external_lodash_["noop"],
-    mediaRef,
-    // Exposing muted prop for test rendering purposes
-    // https://github.com/testing-library/react-testing-library/issues/470
-    muted = true,
-    ...props
-  } = _ref;
-
-  if (!src) {
-    return Object(external_wp_element_["createElement"])(MediaPlaceholderElement, {
-      className: "components-focal-point-picker__media components-focal-point-picker__media--placeholder",
-      onLoad: onLoad,
-      mediaRef: mediaRef
-    });
-  }

-  const isVideo = isVideoType(src);
-  return isVideo ? Object(external_wp_element_["createElement"])("video", Object(esm_extends["a" /* default */])({}, props, {
-    autoPlay: autoPlay,
-    className: "components-focal-point-picker__media components-focal-point-picker__media--video",
-    loop: true,
-    muted: muted,
-    onLoadedData: onLoad,
-    ref: mediaRef,
-    src: src
-  })) : Object(external_wp_element_["createElement"])("img", Object(esm_extends["a" /* default */])({}, props, {
-    alt: alt,
-    className: "components-focal-point-picker__media components-focal-point-picker__media--image",
-    onLoad: onLoad,
-    ref: mediaRef,
-    src: src
-  }));
-}

-function MediaPlaceholderElement(_ref2) {
-  let {
-    mediaRef,
-    onLoad = external_lodash_["noop"],
-    ...props
-  } = _ref2;
-  const onLoadRef = Object(external_wp_element_["useRef"])(onLoad);
-  /**
-   * This async callback mimics the onLoad (img) / onLoadedData (video) callback
-   * for media elements. It is used in the main <FocalPointPicker /> component
-   * to calculate the dimensions + boundaries for positioning.
-   */
+/**
+ * Internal dependencies
+ */

-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    window.requestAnimationFrame(() => {
-      onLoadRef.current();
-    });
-  }, []);
-  return Object(external_wp_element_["createElement"])(MediaPlaceholder, Object(esm_extends["a" /* default */])({
-    ref: mediaRef
-  }, props));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/index.js


 /**
- * External dependencies
+ *
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
  */

-/**
- * WordPress dependencies
- */
+function useHStack(props) {
+  const {
+    alignment = 'edge',
+    children,
+    direction,
+    spacing = 2,
+    ...otherProps
+  } = useContextSystem(props, 'HStack');
+  const align = getAlignmentProps(alignment, direction);
+  const validChildren = getValidChildren(children);
+  const clonedChildren = validChildren.map( // @ts-ignore
+  (
+  /** @type {import('react').ReactElement} */
+  child, index) => {
+    const _key = child.key || `hstack-${index}`;
+
+    const _isSpacer = hasConnectNamespace(child, ['Spacer']);
+
+    if (_isSpacer) {
+      return (0,external_wp_element_namespaceObject.createElement)(flex_item_component, extends_extends({
+        isBlock: true,
+        key: _key
+      }, child.props));
+    }

+    return child;
+  });
+  const propsForFlex = {
+    children: clonedChildren,
+    direction,
+    justify: 'center',
+    ...align,
+    ...otherProps,
+    gap: spacing
+  };
+  const flexProps = useFlex(propsForFlex);
+  return flexProps;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/h-stack/component.js



@@ -50459,508 +45446,714 @@ function MediaPlaceholderElement(_ref2) {



+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ * @param {import('react').Ref<any>}                                                        forwardedRef
+ */

+function HStack(props, forwardedRef) {
+  const hStackProps = useHStack(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, hStackProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `HStack` (Horizontal Stack) arranges child elements in a horizontal line.
+ *
+ * `HStack` can render anything inside.
+ *
+ * @example
+ * ```jsx
+ * import {
+ * 	__experimentalHStack as HStack,
+ * 	__experimentalText as Text,
+ * } from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<HStack>
+ * 			<Text>Code</Text>
+ * 			<Text>is</Text>
+ * 			<Text>Poetry</Text>
+ * 		</HStack>
+ * 	);
+ * }
+ * ```
+ */


+const ConnectedHStack = contextConnect(HStack, 'HStack');
+/* harmony default export */ var h_stack_component = (ConnectedHStack);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js


-class focal_point_picker_FocalPointPicker extends external_wp_element_["Component"] {
-  constructor(props) {
-    super(...arguments);
-    this.state = {
-      isDragging: false,
-      bounds: INITIAL_BOUNDS,
-      percentages: props.value
-    };
-    this.containerRef = Object(external_wp_element_["createRef"])();
-    this.mediaRef = Object(external_wp_element_["createRef"])();
-    this.onMouseDown = this.startDrag.bind(this);
-    this.onMouseUp = this.stopDrag.bind(this);
-    this.onKeyDown = this.onKeyDown.bind(this);
-    this.onMouseMove = this.doDrag.bind(this);
+/**
+ * WordPress dependencies
+ */

-    this.ifDraggingStop = () => {
-      if (this.state.isDragging) {
-        this.stopDrag();
-      }
-    };
+const chevronDown = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
+}));
+/* harmony default export */ var chevron_down = (chevronDown);

-    this.onChangeAtControls = value => {
-      this.updateValue(value);
-      this.props.onChange(value);
-    };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/select-control/styles/select-control-styles.js

-    this.updateBounds = this.updateBounds.bind(this);
-    this.updateValue = this.updateValue.bind(this);
-  }

-  componentDidMount() {
-    const {
-      defaultView
-    } = this.containerRef.current.ownerDocument;
-    defaultView.addEventListener('resize', this.updateBounds);
-    /*
-     * Set initial bound values.
-     *
-     * This is necessary for Safari:
-     * https://github.com/WordPress/gutenberg/issues/25814
-     */
+/**
+ * External dependencies
+ */

-    this.updateBounds();
-  }

-  componentDidUpdate(prevProps) {
-    if (prevProps.url !== this.props.url) {
-      this.ifDraggingStop();
-    }
-    /*
-     * Handles cases where the incoming value changes.
-     * An example is the values resetting based on an UNDO action.
-     */
+/**
+ * Internal dependencies
+ */


-    const {
-      isDragging,
-      percentages: {
-        x,
-        y
-      }
-    } = this.state;
-    const {
-      value
-    } = this.props;
+const select_control_styles_disabledStyles = _ref => {
+  let {
+    disabled
+  } = _ref;
+  if (!disabled) return '';
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    color: COLORS.ui.textDisabled
+  },  true ? "" : 0,  true ? "" : 0);
+};
+
+const select_control_styles_fontSizeStyles = _ref2 => {
+  let {
+    selectSize
+  } = _ref2;
+  const sizes = {
+    default: '13px',
+    small: '11px'
+  };
+  const fontSize = sizes[selectSize];
+  const fontSizeMobile = '16px';
+  if (!fontSize) return '';
+  return /*#__PURE__*/emotion_react_browser_esm_css("font-size:", fontSizeMobile, ";@media ( min-width: 600px ){font-size:", fontSize, ";}" + ( true ? "" : 0),  true ? "" : 0);
+};

-    if (!isDragging && (value.x !== x || value.y !== y)) {
-      this.setState({
-        percentages: this.props.value
-      });
+const select_control_styles_sizeStyles = _ref3 => {
+  let {
+    selectSize
+  } = _ref3;
+  const sizes = {
+    default: {
+      height: 30,
+      lineHeight: 1,
+      minHeight: 30
+    },
+    small: {
+      height: 24,
+      lineHeight: 1,
+      minHeight: 24
     }
-  }
+  };
+  const style = sizes[selectSize] || sizes.default;
+  return /*#__PURE__*/emotion_react_browser_esm_css(style,  true ? "" : 0,  true ? "" : 0);
+}; // TODO: Resolve need to use &&& to increase specificity
+// https://github.com/WordPress/gutenberg/issues/18483

-  componentWillUnmount() {
-    const {
-      defaultView
-    } = this.containerRef.current.ownerDocument;
-    defaultView.removeEventListener('resize', this.updateBounds);
-    this.ifDraggingStop();
-  }

-  calculateBounds() {
-    const bounds = INITIAL_BOUNDS;
+const Select = emotion_styled_base_browser_esm("select",  true ? {
+  target: "e1mv6sxx1"
+} : 0)("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:", COLORS.black, ";display:block;margin:0;width:100%;", select_control_styles_disabledStyles, ";", select_control_styles_fontSizeStyles, ";", select_control_styles_sizeStyles, ";", rtl({
+  paddingLeft: 8,
+  paddingRight: 24
+}), ";}" + ( true ? "" : 0));
+const DownArrowWrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1mv6sxx0"
+} : 0)("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;", rtl({
+  right: 0
+}), " svg{display:block;}" + ( true ? "" : 0));

-    if (!this.mediaRef.current) {
-      return bounds;
-    } // Prevent division by zero when updateBounds runs in componentDidMount
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/select-control/index.js


-    if (this.mediaRef.current.clientWidth === 0 || this.mediaRef.current.clientHeight === 0) {
-      return bounds;
-    }

-    const dimensions = {
-      width: this.mediaRef.current.clientWidth,
-      height: this.mediaRef.current.clientHeight
-    };
-    const pickerDimensions = this.pickerDimensions();
-    const widthRatio = pickerDimensions.width / dimensions.width;
-    const heightRatio = pickerDimensions.height / dimensions.height;
+/**
+ * External dependencies
+ */

-    if (heightRatio >= widthRatio) {
-      bounds.width = bounds.right = pickerDimensions.width;
-      bounds.height = dimensions.height * widthRatio;
-      bounds.top = (pickerDimensions.height - bounds.height) / 2;
-      bounds.bottom = bounds.top + bounds.height;
-    } else {
-      bounds.height = bounds.bottom = pickerDimensions.height;
-      bounds.width = dimensions.width * heightRatio;
-      bounds.left = (pickerDimensions.width - bounds.width) / 2;
-      bounds.right = bounds.left + bounds.width;
-    }
+ // eslint-disable-next-line no-restricted-imports

-    return bounds;
-  }
+/**
+ * WordPress dependencies
+ */

-  updateValue() {
-    let nextValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    const {
-      x,
-      y
-    } = nextValue;
-    const nextPercentage = {
-      x: parseFloat(x).toFixed(2),
-      y: parseFloat(y).toFixed(2)
-    };
-    this.setState({
-      percentages: nextPercentage
-    });
-  }

-  updateBounds() {
-    this.setState({
-      bounds: this.calculateBounds()
-    });
-  }

-  startDrag(event) {
-    var _this$props$onDragSta, _this$props;
+/**
+ * Internal dependencies
+ */

-    event.persist();
-    this.containerRef.current.focus();
-    this.setState({
-      isDragging: true
-    });
-    const {
-      ownerDocument
-    } = this.containerRef.current;
-    ownerDocument.addEventListener('mouseup', this.onMouseUp);
-    ownerDocument.addEventListener('mousemove', this.onMouseMove);
-    const value = this.getValueFromPoint({
-      x: event.pageX,
-      y: event.pageY
-    }, event.shiftKey);
-    this.updateValue(value);
-    (_this$props$onDragSta = (_this$props = this.props).onDragStart) === null || _this$props$onDragSta === void 0 ? void 0 : _this$props$onDragSta.call(_this$props, value, event);
-  }

-  stopDrag(event) {
-    var _this$props$onDragEnd, _this$props2;

-    const {
-      ownerDocument
-    } = this.containerRef.current;
-    ownerDocument.removeEventListener('mouseup', this.onMouseUp);
-    ownerDocument.removeEventListener('mousemove', this.onMouseMove);
-    this.setState({
-      isDragging: false
-    }, () => {
-      this.props.onChange(this.state.percentages);
-    });
-    (_this$props$onDragEnd = (_this$props2 = this.props).onDragEnd) === null || _this$props$onDragEnd === void 0 ? void 0 : _this$props$onDragEnd.call(_this$props2, event);
-  }

-  onKeyDown(event) {
-    const {
-      keyCode,
-      shiftKey
-    } = event;
-    if (![external_wp_keycodes_["UP"], external_wp_keycodes_["DOWN"], external_wp_keycodes_["LEFT"], external_wp_keycodes_["RIGHT"]].includes(keyCode)) return;
-    event.preventDefault();
-    const next = { ...this.state.percentages
-    };
-    const step = shiftKey ? 0.1 : 0.01;
-    const delta = keyCode === external_wp_keycodes_["UP"] || keyCode === external_wp_keycodes_["LEFT"] ? -1 * step : step;
-    const axis = keyCode === external_wp_keycodes_["UP"] || keyCode === external_wp_keycodes_["DOWN"] ? 'y' : 'x';
-    const value = parseFloat(next[axis]) + delta;
-    next[axis] = roundClamp(value, 0, 1, step);
-    this.updateValue(next);
-    this.props.onChange(next);
-  }

-  doDrag(event) {
-    var _this$props$onDrag, _this$props3;
+function select_control_useUniqueId(idProp) {
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(SelectControl);
+  const id = `inspector-select-control-${instanceId}`;
+  return idProp || id;
+}

-    // Prevents text-selection when dragging.
-    event.preventDefault();
-    const value = this.getValueFromPoint({
-      x: event.pageX,
-      y: event.pageY
-    }, event.shiftKey);
-    this.updateValue(value);
-    (_this$props$onDrag = (_this$props3 = this.props).onDrag) === null || _this$props$onDrag === void 0 ? void 0 : _this$props$onDrag.call(_this$props3, value, event);
-  }
+function SelectControl(_ref, ref) {
+  let {
+    className,
+    disabled = false,
+    help,
+    hideLabelFromVision,
+    id: idProp,
+    label,
+    multiple = false,
+    onBlur = external_lodash_namespaceObject.noop,
+    onChange = external_lodash_namespaceObject.noop,
+    onFocus = external_lodash_namespaceObject.noop,
+    options = [],
+    size = 'default',
+    value: valueProp,
+    labelPosition = 'top',
+    children,
+    prefix,
+    suffix,
+    ...props
+  } = _ref;
+  const [isFocused, setIsFocused] = (0,external_wp_element_namespaceObject.useState)(false);
+  const id = select_control_useUniqueId(idProp);
+  const helpId = help ? `${id}__help` : undefined; // Disable reason: A select with an onchange throws a warning

-  getValueFromPoint(point, byTenths) {
-    const {
-      bounds
-    } = this.state;
-    const pickerDimensions = this.pickerDimensions();
-    const relativePoint = {
-      left: point.x - pickerDimensions.left,
-      top: point.y - pickerDimensions.top
-    };
-    const left = Math.max(bounds.left, Math.min(relativePoint.left, bounds.right));
-    const top = Math.max(bounds.top, Math.min(relativePoint.top, bounds.bottom));
-    let nextX = (left - bounds.left) / (pickerDimensions.width - bounds.left * 2);
-    let nextY = (top - bounds.top) / (pickerDimensions.height - bounds.top * 2); // Enables holding shift to jump values by 10%
+  if ((0,external_lodash_namespaceObject.isEmpty)(options) && !children) return null;

-    const step = byTenths ? 0.1 : 0.01;
-    nextX = roundClamp(nextX, 0, 1, step);
-    nextY = roundClamp(nextY, 0, 1, step);
-    return {
-      x: nextX,
-      y: nextY
-    };
-  }
+  const handleOnBlur = event => {
+    onBlur(event);
+    setIsFocused(false);
+  };

-  pickerDimensions() {
-    const containerNode = this.containerRef.current;
+  const handleOnFocus = event => {
+    onFocus(event);
+    setIsFocused(true);
+  };

-    if (!containerNode) {
-      return {
-        width: 0,
-        height: 0,
-        left: 0,
-        top: 0
-      };
+  const handleOnChange = event => {
+    if (multiple) {
+      const selectedOptions = Array.from(event.target.options).filter(_ref2 => {
+        let {
+          selected
+        } = _ref2;
+        return selected;
+      });
+      const newValues = selectedOptions.map(_ref3 => {
+        let {
+          value
+        } = _ref3;
+        return value;
+      });
+      onChange(newValues);
+      return;
     }

-    const {
-      clientHeight,
-      clientWidth
-    } = containerNode;
-    const {
-      top,
-      left
-    } = containerNode.getBoundingClientRect();
-    return {
-      width: clientWidth,
-      height: clientHeight,
-      top: top + document.body.scrollTop,
-      left
-    };
-  }
+    onChange(event.target.value, {
+      event
+    });
+  };

-  iconCoordinates() {
-    const {
-      bounds,
-      percentages: {
-        x,
-        y
-      }
-    } = this.state;
+  const classes = classnames_default()('components-select-control', className);
+  /* eslint-disable jsx-a11y/no-onchange */

-    if (bounds.left === undefined || bounds.top === undefined) {
-      return {
-        left: '50%',
-        top: '50%'
-      };
-    }
+  return (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    help: help,
+    id: id
+  }, (0,external_wp_element_namespaceObject.createElement)(input_base, {
+    className: classes,
+    disabled: disabled,
+    hideLabelFromVision: hideLabelFromVision,
+    id: id,
+    isFocused: isFocused,
+    label: label,
+    size: size,
+    suffix: suffix || (0,external_wp_element_namespaceObject.createElement)(DownArrowWrapper, null, (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+      icon: chevron_down,
+      size: 18
+    })),
+    prefix: prefix,
+    labelPosition: labelPosition
+  }, (0,external_wp_element_namespaceObject.createElement)(Select, extends_extends({}, props, {
+    "aria-describedby": helpId,
+    className: "components-select-control__input",
+    disabled: disabled,
+    id: id,
+    multiple: multiple,
+    onBlur: handleOnBlur,
+    onChange: handleOnChange,
+    onFocus: handleOnFocus,
+    ref: ref,
+    selectSize: size,
+    value: valueProp
+  }), children || options.map((option, index) => {
+    const key = option.id || `${option.label}-${option.value}-${index}`;
+    return (0,external_wp_element_namespaceObject.createElement)("option", {
+      key: key,
+      value: option.value,
+      disabled: option.disabled
+    }, option.label);
+  }))));
+  /* eslint-enable jsx-a11y/no-onchange */
+}

-    const {
-      width,
-      height
-    } = this.pickerDimensions();
-    return {
-      left: x * (width - bounds.left * 2) + bounds.left,
-      top: y * (height - bounds.top * 2) + bounds.top
-    };
-  }
+const select_control_ForwardedComponent = (0,external_wp_element_namespaceObject.forwardRef)(SelectControl);
+/* harmony default export */ var select_control = (select_control_ForwardedComponent);

-  render() {
-    const {
-      autoPlay,
-      className,
-      help,
-      instanceId,
-      label,
-      url
-    } = this.props;
-    const {
-      bounds,
-      isDragging,
-      percentages
-    } = this.state;
-    const iconCoordinates = this.iconCoordinates();
-    const classes = classnames_default()('components-focal-point-picker-control', className);
-    const id = `inspector-focal-point-picker-control-${instanceId}`;
-    return Object(external_wp_element_["createElement"])(base_control, {
-      label: label,
-      id: id,
-      help: help,
-      className: classes
-    }, Object(external_wp_element_["createElement"])(MediaWrapper, {
-      className: "components-focal-point-picker-wrapper"
-    }, Object(external_wp_element_["createElement"])(MediaContainer, {
-      className: "components-focal-point-picker",
-      onKeyDown: this.onKeyDown,
-      onMouseDown: this.onMouseDown,
-      onBlur: this.ifDraggingStop,
-      ref: this.containerRef,
-      role: "button",
-      tabIndex: "-1"
-    }, Object(external_wp_element_["createElement"])(FocalPointPickerGrid, {
-      bounds: bounds,
-      value: percentages.x + percentages.y
-    }), Object(external_wp_element_["createElement"])(media_Media, {
-      alt: Object(external_wp_i18n_["__"])('Media preview'),
-      autoPlay: autoPlay,
-      mediaRef: this.mediaRef,
-      onLoad: this.updateBounds,
-      src: url
-    }), Object(external_wp_element_["createElement"])(FocalPoint, {
-      coordinates: iconCoordinates,
-      isDragging: isDragging
-    }))), Object(external_wp_element_["createElement"])(FocalPointPickerControls, {
-      percentages: percentages,
-      onChange: this.onChangeAtControls
-    }));
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/utils.js
+// @ts-nocheck

-}
-focal_point_picker_FocalPointPicker.defaultProps = {
-  autoPlay: true,
-  value: {
-    x: 0.5,
-    y: 0.5
-  },
-  url: null
-};
-/* harmony default export */ var focal_point_picker = (Object(external_wp_compose_["withInstanceId"])(focal_point_picker_FocalPointPicker));
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focusable-iframe/index.js

+/**
+ * Internal dependencies
+ */


 /**
- * WordPress dependencies
+ * A float supported clamp function for a specific value.
+ *
+ * @param {number|null} value The value to clamp.
+ * @param {number}      min   The minimum value.
+ * @param {number}      max   The maximum value.
+ *
+ * @return {number} A (float) number
  */

+function floatClamp(value, min, max) {
+  if (typeof value !== 'number') {
+    return null;
+  }

-function FocusableIframe(_ref) {
+  return parseFloat((0,external_lodash_namespaceObject.clamp)(value, min, max));
+}
+/**
+ * Hook to store a clamped value, derived from props.
+ *
+ * @param {Object} settings         Hook settings.
+ * @param {number} settings.min     The minimum value.
+ * @param {number} settings.max     The maximum value.
+ * @param {number} settings.value   The current value.
+ * @param {any}    settings.initial The initial value.
+ *
+ * @return {[*, Function]} The controlled value and the value setter.
+ */
+
+function useControlledRangeValue(_ref) {
   let {
-    iframeRef,
-    ...props
+    min,
+    max,
+    value: valueProp,
+    initial
   } = _ref;
-  const ref = Object(external_wp_compose_["useMergeRefs"])([iframeRef, Object(external_wp_compose_["useFocusableIframe"])()]);
-  external_wp_deprecated_default()('wp.components.FocusableIframe', {
-    alternative: 'wp.compose.useFocusableIframe'
-  }); // Disable reason: The rendered iframe is a pass-through component,
-  // assigning props inherited from the rendering parent. It's the
-  // responsibility of the parent to assign a title.
-  // eslint-disable-next-line jsx-a11y/iframe-has-title
-
-  return Object(external_wp_element_["createElement"])("iframe", Object(esm_extends["a" /* default */])({
-    ref: ref
-  }, props));
+  const [state, setInternalState] = use_controlled_state(floatClamp(valueProp, min, max), {
+    initial,
+    fallback: null
+  });
+  const setState = (0,external_wp_element_namespaceObject.useCallback)(nextValue => {
+    if (nextValue === null) {
+      setInternalState(null);
+    } else {
+      setInternalState(floatClamp(nextValue, min, max));
+    }
+  }, [min, max]);
+  return [state, setState];
 }
+/**
+ * Hook to encapsulate the debouncing "hover" to better handle the showing
+ * and hiding of the Tooltip.
+ *
+ * @param {Object}   settings                     Hook settings.
+ * @param {Function} [settings.onShow=noop]       A callback function invoked when the element is shown.
+ * @param {Function} [settings.onHide=noop]       A callback function invoked when the element is hidden.
+ * @param {Function} [settings.onMouseMove=noop]  A callback function invoked when the mouse is moved.
+ * @param {Function} [settings.onMouseLeave=noop] A callback function invoked when the mouse is moved out of the element.
+ * @param {number}   [settings.timeout=300]       Timeout before the element is shown or hidden.
+ *
+ * @return {Object} Bound properties for use on a React.Node.
+ */

-// CONCATENATED MODULE: ./node_modules/reakit/es/Radio/RadioState.js
-
-
+function useDebouncedHoverInteraction(_ref2) {
+  let {
+    onHide = external_lodash_namespaceObject.noop,
+    onMouseLeave = external_lodash_namespaceObject.noop,
+    onMouseMove = external_lodash_namespaceObject.noop,
+    onShow = external_lodash_namespaceObject.noop,
+    timeout = 300
+  } = _ref2;
+  const [show, setShow] = (0,external_wp_element_namespaceObject.useState)(false);
+  const timeoutRef = (0,external_wp_element_namespaceObject.useRef)();
+  const setDebouncedTimeout = (0,external_wp_element_namespaceObject.useCallback)(callback => {
+    window.clearTimeout(timeoutRef.current);
+    timeoutRef.current = setTimeout(callback, timeout);
+  }, [timeout]);
+  const handleOnMouseMove = (0,external_wp_element_namespaceObject.useCallback)(event => {
+    onMouseMove(event);
+    setDebouncedTimeout(() => {
+      if (!show) {
+        setShow(true);
+        onShow();
+      }
+    });
+  }, []);
+  const handleOnMouseLeave = (0,external_wp_element_namespaceObject.useCallback)(event => {
+    onMouseLeave(event);
+    setDebouncedTimeout(() => {
+      setShow(false);
+      onHide();
+    });
+  }, []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return () => {
+      window.clearTimeout(timeoutRef.current);
+    };
+  });
+  return {
+    onMouseMove: handleOnMouseMove,
+    onMouseLeave: handleOnMouseLeave
+  };
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/styles/range-control-styles.js


+function range_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

+// @ts-nocheck

+/**
+ * External dependencies
+ */


+/**
+ * Internal dependencies
+ */



+const rangeHeightValue = 30;
+const railHeight = 4;

-function useRadioState(initialState) {
-  if (initialState === void 0) {
-    initialState = {};
-  }
+const rangeHeight = () => /*#__PURE__*/emotion_react_browser_esm_css({
+  height: rangeHeightValue,
+  minHeight: rangeHeightValue
+},  true ? "" : 0,  true ? "" : 0);

-  var _useSealedState = useSealedState(initialState),
-      initialValue = _useSealedState.state,
-      _useSealedState$loop = _useSealedState.loop,
-      loop = _useSealedState$loop === void 0 ? true : _useSealedState$loop,
-      sealed = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_useSealedState, ["state", "loop"]);
+const thumbSize = 12;
+const range_control_styles_Root = emotion_styled_base_browser_esm("div",  true ? {
+  target: "exqw8y214"
+} : 0)( true ? {
+  name: "17z6zai",
+  styles: "-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%"
+} : 0);

-  var _React$useState = Object(external_React_["useState"])(initialValue),
-      state = _React$useState[0],
-      setState = _React$useState[1];
+const wrapperColor = _ref4 => {
+  let {
+    color: colorProp = COLORS.ui.borderFocus
+  } = _ref4;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    color: colorProp
+  },  true ? "" : 0,  true ? "" : 0);
+};

-  var composite = useCompositeState(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, sealed), {}, {
-    loop: loop
-  }));
-  return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, composite), {}, {
-    state: state,
-    setState: setState
-  });
-}
+const wrapperMargin = _ref5 => {
+  let {
+    marks
+  } = _ref5;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    marginBottom: marks ? 16 : null
+  },  true ? "" : 0,  true ? "" : 0);
+};

+const range_control_styles_Wrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "exqw8y213"
+} : 0)("box-sizing:border-box;color:", COLORS.blue.medium.focus, ";display:block;flex:1;position:relative;width:100%;", wrapperColor, ";", rangeHeight, ";", wrapperMargin, ";" + ( true ? "" : 0));
+const BeforeIconWrapper = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y212"
+} : 0)("margin-top:", railHeight, "px;", rtl({
+  marginRight: 6
+}), ";" + ( true ? "" : 0));
+const AfterIconWrapper = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y211"
+} : 0)("margin-top:", railHeight, "px;", rtl({
+  marginLeft: 16
+}), ";" + ( true ? "" : 0));

+const railBackgroundColor = _ref6 => {
+  let {
+    disabled,
+    railColor
+  } = _ref6;
+  let background = railColor || null;

-// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-d251e56b.js
-// Automatically generated
-var RADIO_STATE_KEYS = ["baseId", "unstable_idCountRef", "unstable_virtual", "rtl", "orientation", "items", "groups", "currentId", "loop", "wrap", "shift", "unstable_moves", "unstable_hasActiveWidget", "unstable_includesBaseElement", "state", "setBaseId", "registerItem", "unregisterItem", "registerGroup", "unregisterGroup", "move", "next", "previous", "up", "down", "first", "last", "sort", "unstable_setVirtual", "setRTL", "setOrientation", "setCurrentId", "setLoop", "setWrap", "setShift", "reset", "unstable_setIncludesBaseElement", "unstable_setHasActiveWidget", "setState"];
-var RADIO_KEYS = [].concat(RADIO_STATE_KEYS, ["value", "checked", "unstable_checkOnFocus"]);
-var RADIO_GROUP_KEYS = RADIO_STATE_KEYS;
+  if (disabled) {
+    background = COLORS.lightGray[400];
+  }

+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    background
+  },  true ? "" : 0,  true ? "" : 0);
+};

+const Rail = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y210"
+} : 0)("background-color:", COLORS.lightGray[600], ";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:", railHeight, "px;position:absolute;margin-top:", (rangeHeightValue - railHeight) / 2, "px;top:0;border-radius:", railHeight, "px;", railBackgroundColor, ";" + ( true ? "" : 0));

-// CONCATENATED MODULE: ./node_modules/reakit/es/Radio/RadioGroup.js
+const trackBackgroundColor = _ref7 => {
+  let {
+    disabled,
+    trackColor
+  } = _ref7;
+  let background = trackColor || 'currentColor';

+  if (disabled) {
+    background = COLORS.lightGray[800];
+  }

+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    background
+  },  true ? "" : 0,  true ? "" : 0);
+};

+const Track = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y29"
+} : 0)("background-color:currentColor;border-radius:", railHeight, "px;box-sizing:border-box;height:", railHeight, "px;pointer-events:none;display:block;position:absolute;margin-top:", (rangeHeightValue - railHeight) / 2, "px;top:0;", trackBackgroundColor, ";" + ( true ? "" : 0));
+const MarksWrapper = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y28"
+} : 0)( true ? {
+  name: "1xuuvmv",
+  styles: "box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none"
+} : 0);

+const markFill = _ref8 => {
+  let {
+    disabled,
+    isFilled
+  } = _ref8;
+  let backgroundColor = isFilled ? 'currentColor' : COLORS.lightGray[600];

+  if (disabled) {
+    backgroundColor = COLORS.lightGray[800];
+  }

+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    backgroundColor
+  },  true ? "" : 0,  true ? "" : 0);
+};

+const Mark = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y27"
+} : 0)("box-sizing:border-box;height:", thumbSize, "px;left:0;position:absolute;top:-4px;width:1px;", markFill, ";" + ( true ? "" : 0));

+const markLabelFill = _ref9 => {
+  let {
+    isFilled
+  } = _ref9;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    color: isFilled ? COLORS.darkGray[300] : COLORS.lightGray[600]
+  },  true ? "" : 0,  true ? "" : 0);
+};

+const MarkLabel = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y26"
+} : 0)("box-sizing:border-box;color:", COLORS.lightGray[600], ";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;", markLabelFill, ";" + ( true ? "" : 0));

+var range_control_styles_ref3 =  true ? {
+  name: "1sb75b3",
+  styles: "background-color:var( --wp-admin-theme-color )"
+} : 0;

+const thumbColor = _ref10 => {
+  let {
+    disabled
+  } = _ref10;
+  return disabled ? /*#__PURE__*/emotion_react_browser_esm_css("background-color:", COLORS.lightGray[800], ";" + ( true ? "" : 0),  true ? "" : 0) : range_control_styles_ref3;
+};

+const ThumbWrapper = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y25"
+} : 0)("align-items:center;box-sizing:border-box;display:flex;height:", thumbSize, "px;justify-content:center;margin-top:", (rangeHeightValue - thumbSize) / 2, "px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:", thumbSize, "px;border-radius:50%;", thumbColor, ";", rtl({
+  marginLeft: -10
+}), ";", rtl({
+  transform: 'translateX( 4.5px )'
+}, {
+  transform: 'translateX( -4.5px )'
+}), ";" + ( true ? "" : 0));

+const thumbFocus = _ref11 => {
+  let {
+    isFocused
+  } = _ref11;
+  return isFocused ? /*#__PURE__*/emotion_react_browser_esm_css("&::before{content:' ';position:absolute;background-color:var( --wp-admin-theme-color );opacity:0.4;border-radius:50%;height:", thumbSize + 8, "px;width:", thumbSize + 8, "px;top:-4px;left:-4px;}" + ( true ? "" : 0),  true ? "" : 0) : '';
+};

+const Thumb = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y24"
+} : 0)("align-items:center;border-radius:50%;box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;", thumbColor, ";", thumbFocus, ";" + ( true ? "" : 0));
+const InputRange = emotion_styled_base_browser_esm("input",  true ? {
+  target: "exqw8y23"
+} : 0)("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -", thumbSize / 2, "px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ", thumbSize, "px );" + ( true ? "" : 0));

+const tooltipShow = _ref12 => {
+  let {
+    show
+  } = _ref12;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    opacity: show ? 1 : 0
+  },  true ? "" : 0,  true ? "" : 0);
+};

+var range_control_styles_ref =  true ? {
+  name: "1cypxip",
+  styles: "top:-80%"
+} : 0;

+var range_control_styles_ref2 =  true ? {
+  name: "1lr98c4",
+  styles: "bottom:-80%"
+} : 0;

+const tooltipPosition = _ref13 => {
+  let {
+    position
+  } = _ref13;
+  const isBottom = position === 'bottom';

+  if (isBottom) {
+    return range_control_styles_ref2;
+  }

+  return range_control_styles_ref;
+};

+const range_control_styles_Tooltip = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y22"
+} : 0)("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;", tooltipShow, ";", tooltipPosition, ";", reduceMotion('transition'), ";", rtl({
+  transform: 'translateX(-50%)'
+}, {
+  transform: 'translateX(50%)'
+}), ";" + ( true ? "" : 0)); // @todo: Refactor RangeControl with latest HStack configuration
+// @wordpress/components/ui/hstack

+const InputNumber = /*#__PURE__*/emotion_styled_base_browser_esm(number_control,  true ? {
+  target: "exqw8y21"
+} : 0)("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:", space(16), "!important;input[type='number']&{", rangeHeight, ";}", rtl({
+  marginLeft: `${space(4)} !important`
+}), ";" + ( true ? "" : 0));
+const ActionRightWrapper = emotion_styled_base_browser_esm("span",  true ? {
+  target: "exqw8y20"
+} : 0)("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;", rangeHeight, ";}", rtl({
+  marginLeft: 8
+}), ";" + ( true ? "" : 0));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/input-range.js


+// @ts-nocheck

+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */


+/**
+ * Internal dependencies
+ */
+


-var useRadioGroup = Object(createHook["a" /* createHook */])({
-  name: "RadioGroup",
-  compose: useComposite,
-  keys: RADIO_GROUP_KEYS,
-  useProps: function useProps(_, htmlProps) {
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      role: "radiogroup"
-    }, htmlProps);
-  }
-});
-var RadioGroup = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  useHook: useRadioGroup,
-  useCreateElement: function useCreateElement$1(type, props, children) {
-     false ? undefined : void 0;
-    return Object(useCreateElement["a" /* useCreateElement */])(type, props, children);
-  }
-});

+function input_range_InputRange(_ref, ref) {
+  let {
+    describedBy,
+    label,
+    onHideTooltip = external_lodash_namespaceObject.noop,
+    onMouseLeave = external_lodash_namespaceObject.noop,
+    onMouseMove = external_lodash_namespaceObject.noop,
+    onShowTooltip = external_lodash_namespaceObject.noop,
+    value,
+    ...props
+  } = _ref;
+  const hoverInteractions = useDebouncedHoverInteraction({
+    onHide: onHideTooltip,
+    onMouseLeave,
+    onMouseMove,
+    onShow: onShowTooltip
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(InputRange, extends_extends({}, props, hoverInteractions, {
+    "aria-describedby": describedBy,
+    "aria-label": label,
+    "aria-hidden": false,
+    ref: ref,
+    tabIndex: 0,
+    type: "range",
+    value: value
+  }));
+}

+const input_range_ForwardedComponent = (0,external_wp_element_namespaceObject.forwardRef)(input_range_InputRange);
+/* harmony default export */ var input_range = (input_range_ForwardedComponent);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control/styles.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/mark.js


-function toggle_group_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+// @ts-nocheck

 /**
  * External dependencies
  */

-
 /**
  * Internal dependencies
  */

-const ToggleGroupControl = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("background:", COLORS.ui.background, ";border:1px solid;border-color:", COLORS.ui.border, ";border-radius:", config_values.controlBorderRadius, ";display:inline-flex;min-height:", config_values.controlHeight, ";min-width:0;padding:2px;position:relative;transition:transform ", config_values.transitionDurationFastest, " linear;", reduceMotion('transition'), " &:hover{border-color:", COLORS.ui.borderHover, ";}&:focus-within{border-color:", COLORS.ui.borderFocus, ";box-shadow:", config_values.controlBoxShadowFocus, ";outline:none;z-index:1;}" + ( true ? "" : undefined),  true ? "" : undefined);
-const toggle_group_control_styles_block =  true ? {
-  name: "7whenc",
-  styles: "display:flex;width:100%"
-} : undefined;
-const BackdropView = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "eakva830"
-} : undefined)("background:", COLORS.gray[900], ";border-radius:", config_values.controlBorderRadius, ";box-shadow:", config_values.toggleGroupControlBackdropBoxShadow, ";left:0;position:absolute;top:2px;bottom:2px;transition:transform ", config_values.transitionDurationFast, " ease;", reduceMotion('transition'), " z-index:1;" + ( true ? "" : undefined));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js
+function RangeMark(_ref) {
+  let {
+    className,
+    isFilled = false,
+    label,
+    style = {},
+    ...props
+  } = _ref;
+  const classes = classnames_default()('components-range-control__mark', isFilled && 'is-filled', className);
+  const labelClasses = classnames_default()('components-range-control__mark-label', isFilled && 'is-filled');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(Mark, extends_extends({}, props, {
+    "aria-hidden": "true",
+    className: classes,
+    isFilled: isFilled,
+    style: style
+  })), label && (0,external_wp_element_namespaceObject.createElement)(MarkLabel, {
+    "aria-hidden": "true",
+    className: labelClasses,
+    isFilled: isFilled,
+    style: style
+  }, label));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/rail.js
+
+
+// @ts-nocheck

 /**
  * WordPress dependencies
@@ -50972,102 +46165,184 @@ const BackdropView = Object(emotion_styled_base_browser_esm["a" /* default */])(



-function ToggleGroupControlBackdrop(_ref) {
+function RangeRail(_ref) {
   let {
-    containerRef,
-    containerWidth,
-    isAdaptiveWidth,
-    state
+    disabled = false,
+    marks = false,
+    min = 0,
+    max = 100,
+    step = 1,
+    value = 0,
+    ...restProps
   } = _ref;
-  const [left, setLeft] = Object(external_wp_element_["useState"])(0);
-  const [width, setWidth] = Object(external_wp_element_["useState"])(0);
-  const [canAnimate, setCanAnimate] = Object(external_wp_element_["useState"])(false);
-  const [renderBackdrop, setRenderBackdrop] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    const containerNode = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current;
-    if (!containerNode) return;
-    /**
-     * Workaround for Reakit
-     */
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(Rail, extends_extends({
+    disabled: disabled
+  }, restProps)), marks && (0,external_wp_element_namespaceObject.createElement)(Marks, {
+    disabled: disabled,
+    marks: marks,
+    min: min,
+    max: max,
+    step: step,
+    value: value
+  }));
+}

-    const targetNode = containerNode.querySelector(`[data-value="${state}"]`);
-    setRenderBackdrop(!!targetNode);
+function Marks(_ref2) {
+  let {
+    disabled = false,
+    marks = false,
+    min = 0,
+    max = 100,
+    step = 1,
+    value = 0
+  } = _ref2;

-    if (!targetNode) {
-      return;
-    }
+  if (step === 'any') {
+    step = 1;
+  }

-    const computeDimensions = () => {
-      const {
-        width: offsetWidth,
-        x
-      } = targetNode.getBoundingClientRect();
-      const {
-        x: parentX
-      } = containerNode.getBoundingClientRect();
-      const borderWidth = 1;
-      const offsetLeft = x - parentX - borderWidth;
-      setLeft(offsetLeft);
-      setWidth(offsetWidth);
-    }; // Fix to make the component appear as expected inside popovers.
-    // If the targetNode width is 0 it means the element was not yet rendered we should allow
-    // some time for the render to happen.
-    // requestAnimationFrame instead of setTimeout with a small time does not seems to work.
+  const marksData = useMarks({
+    marks,
+    min,
+    max,
+    step,
+    value
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(MarksWrapper, {
+    "aria-hidden": "true",
+    className: "components-range-control__marks"
+  }, marksData.map(mark => (0,external_wp_element_namespaceObject.createElement)(RangeMark, extends_extends({}, mark, {
+    key: mark.key,
+    "aria-hidden": "true",
+    disabled: disabled
+  }))));
+}

+function useMarks(_ref3) {
+  let {
+    marks,
+    min = 0,
+    max = 100,
+    step = 1,
+    value = 0
+  } = _ref3;

-    const dimensionsRequestId = window.setTimeout(computeDimensions, 100);
-    let animationRequestId;
+  if (!marks) {
+    return [];
+  }

-    if (!canAnimate) {
-      animationRequestId = window.requestAnimationFrame(() => {
-        setCanAnimate(true);
-      });
-    }
+  const range = max - min;

-    return () => {
-      window.clearTimeout(dimensionsRequestId);
-      window.cancelAnimationFrame(animationRequestId);
-    };
-  }, [canAnimate, containerRef, containerWidth, state, isAdaptiveWidth]);
+  if (!Array.isArray(marks)) {
+    marks = [];
+    const count = 1 + Math.round(range / step);

-  if (!renderBackdrop) {
-    return null;
+    while (count > marks.push({
+      value: step * marks.length + min
+    }));
   }

-  return Object(external_wp_element_["createElement"])(BackdropView, {
-    role: "presentation",
-    style: {
-      transform: `translateX(${left}px)`,
-      transition: canAnimate ? undefined : 'none',
-      width
+  const placedMarks = [];
+  marks.forEach((mark, index) => {
+    if (mark.value < min || mark.value > max) {
+      return;
     }
+
+    const key = `mark-${index}`;
+    const isFilled = mark.value <= value;
+    const offset = `${(mark.value - min) / range * 100}%`;
+    const offsetStyle = {
+      [(0,external_wp_i18n_namespaceObject.isRTL)() ? 'right' : 'left']: offset
+    };
+    placedMarks.push({ ...mark,
+      isFilled,
+      key,
+      style: offsetStyle
+    });
   });
+  return placedMarks;
 }

-/* harmony default export */ var toggle_group_control_backdrop = (Object(external_wp_element_["memo"])(ToggleGroupControlBackdrop));
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/tooltip.js
+
+
+// @ts-nocheck
+
+/**
+ * External dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/context.js
 /**
  * WordPress dependencies
  */

+
 /**
  * Internal dependencies
  */

-const ToggleGroupControlContext = Object(external_wp_element_["createContext"])({});
-const useToggleGroupControlContext = () => Object(external_wp_element_["useContext"])(ToggleGroupControlContext);
-/* harmony default export */ var toggle_group_control_context = (ToggleGroupControlContext);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control/component.js
+function SimpleTooltip(_ref) {
+  let {
+    className,
+    inputRef,
+    tooltipPosition,
+    show = false,
+    style = {},
+    value = 0,
+    renderTooltipContent = v => v,
+    zIndex = 100,
+    ...restProps
+  } = _ref;
+  const position = useTooltipPosition({
+    inputRef,
+    tooltipPosition
+  });
+  const classes = classnames_default()('components-simple-tooltip', className);
+  const styles = { ...style,
+    zIndex
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(range_control_styles_Tooltip, extends_extends({}, restProps, {
+    "aria-hidden": show,
+    className: classes,
+    position: position,
+    show: show,
+    role: "tooltip",
+    style: styles
+  }), renderTooltipContent(value));
+}
+
+function useTooltipPosition(_ref2) {
+  let {
+    inputRef,
+    tooltipPosition
+  } = _ref2;
+  const [position, setPosition] = (0,external_wp_element_namespaceObject.useState)();
+  const setTooltipPosition = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    if (inputRef && inputRef.current) {
+      setPosition(tooltipPosition);
+    }
+  }, [tooltipPosition]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    setTooltipPosition();
+  }, [setTooltipPosition]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    window.addEventListener('resize', setTooltipPosition);
+    return () => {
+      window.removeEventListener('resize', setTooltipPosition);
+    };
+  });
+  return position;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/range-control/index.js


+// @ts-nocheck

 /**
  * External dependencies
  */
-// eslint-disable-next-line no-restricted-imports
-// eslint-disable-next-line no-restricted-imports


 /**
@@ -51076,6 +46351,7 @@ const useToggleGroupControlContext = () => Object(external_wp_element_["useConte



+
 /**
  * Internal dependencies
  */
@@ -51088,113 +46364,265 @@ const useToggleGroupControlContext = () => Object(external_wp_element_["useConte



-const component_noop = () => {};

-function component_ToggleGroupControl(props, forwardedRef) {
-  const {
+
+function RangeControl(_ref, ref) {
+  var _inputRef$current;
+
+  let {
+    afterIcon,
+    allowReset = false,
+    beforeIcon,
     className,
-    isAdaptiveWidth = false,
-    isBlock = false,
+    currentInput,
+    color: colorProp = COLORS.ui.theme,
+    disabled = false,
+    help,
+    initialPosition,
+    isShiftStepEnabled = true,
     label,
     hideLabelFromVision = false,
-    help,
-    onChange = component_noop,
-    value,
-    children,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'ToggleGroupControl');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const containerRef = Object(external_wp_element_["useRef"])();
-  const [resizeListener, sizes] = react_resize_aware_dist_default()();
-  const baseId = Object(external_wp_compose_["useInstanceId"])(component_ToggleGroupControl, 'toggle-group-control').toString();
-  const radio = useRadioState({
-    baseId,
-    state: value
-  }); // Propagate radio.state change
-
-  use_update_effect(() => {
-    onChange(radio.state);
-  }, [radio.state]); // Sync incoming value with radio.state
+    marks = false,
+    max = 100,
+    min = 0,
+    onBlur = external_lodash_namespaceObject.noop,
+    onChange = external_lodash_namespaceObject.noop,
+    onFocus = external_lodash_namespaceObject.noop,
+    onMouseMove = external_lodash_namespaceObject.noop,
+    onMouseLeave = external_lodash_namespaceObject.noop,
+    railColor,
+    resetFallbackValue,
+    renderTooltipContent = v => v,
+    showTooltip: showTooltipProp,
+    shiftStep = 10,
+    step = 1,
+    trackColor,
+    value: valueProp,
+    withInputField = true,
+    ...props
+  } = _ref;
+  const [value, setValue] = useControlledRangeValue({
+    min,
+    max,
+    value: valueProp,
+    initial: initialPosition
+  });
+  const isResetPendent = (0,external_wp_element_namespaceObject.useRef)(false);

-  use_update_effect(() => {
-    if (value !== radio.state) {
-      radio.setState(value);
-    }
-  }, [value]);
-  const classes = Object(external_wp_element_["useMemo"])(() => cx(ToggleGroupControl, isBlock && toggle_group_control_styles_block, 'medium', className), [className, isBlock]);
-  return Object(external_wp_element_["createElement"])(base_control, {
-    help: help
-  }, Object(external_wp_element_["createElement"])(toggle_group_control_context.Provider, {
-    value: { ...radio,
-      isBlock: !isAdaptiveWidth
-    }
-  }, !hideLabelFromVision && Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(base_control.VisualLabel, null, label)), Object(external_wp_element_["createElement"])(RadioGroup, Object(esm_extends["a" /* default */])({}, radio, {
-    "aria-label": label,
-    as: view_component["a" /* default */],
-    className: classes
-  }, otherProps, {
-    ref: Object(external_wp_compose_["useMergeRefs"])([containerRef, forwardedRef])
-  }), resizeListener, Object(external_wp_element_["createElement"])(toggle_group_control_backdrop, Object(esm_extends["a" /* default */])({}, radio, {
-    containerRef: containerRef,
-    containerWidth: sizes.width,
-    isAdaptiveWidth: isAdaptiveWidth
-  })), children)));
-}
-/**
- * `ToggleGroupControl` is a form component that lets users choose options
- * represented in horizontal segments. To render options for this control use
- * `ToggleGroupControlOption` component.
- *
- * Only use this control when you know for sure the labels of items inside won't
- * wrap. For items with longer labels, you can consider a `SelectControl` or a
- * `CustomSelectControl` component instead.
- *
- * @example
- * ```jsx
- * import {
- *   __experimentalToggleGroupControl as ToggleGroupControl,
- *   __experimentalToggleGroupControlOption as ToggleGroupControlOption,
- * } from '@wordpress/components';
- *
- * function Example() {
- *   return (
- *     <ToggleGroupControl label="my label" value="vertical" isBlock>
- *       <ToggleGroupControlOption value="horizontal" label="Horizontal" />
- *       <ToggleGroupControlOption value="vertical" label="Vertical" />
- *     </ToggleGroupControl>
- *   );
- * }
- * ```
- */
+  if (step === 'any') {
+    // The tooltip and number input field are hidden when the step is "any"
+    // because the decimals get too lengthy to fit well.
+    showTooltipProp = false;
+    withInputField = false;
+  }

+  const [showTooltip, setShowTooltip] = (0,external_wp_element_namespaceObject.useState)(showTooltipProp);
+  const [isFocused, setIsFocused] = (0,external_wp_element_namespaceObject.useState)(false);
+  const inputRef = (0,external_wp_element_namespaceObject.useRef)();

-const ConnectedToggleGroupControl = Object(context_connect["a" /* contextConnect */])(component_ToggleGroupControl, 'ToggleGroupControl');
-/* harmony default export */ var toggle_group_control_component = (ConnectedToggleGroupControl);
+  const setRef = nodeRef => {
+    inputRef.current = nodeRef;

-// EXTERNAL MODULE: ./node_modules/reakit-warning/es/warning.js
-var es_warning = __webpack_require__("WnOg");
+    if (ref) {
+      ref(nodeRef);
+    }
+  };

-// CONCATENATED MODULE: ./node_modules/reakit/es/Radio/Radio.js
+  const isCurrentlyFocused = (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.matches(':focus');
+  const isThumbFocused = !disabled && isFocused;
+  const isValueReset = value === null;
+  const currentValue = value !== undefined ? value : currentInput;
+  const inputSliderValue = isValueReset ? '' : currentValue;
+  const rangeFillValue = isValueReset ? (max - min) / 2 + min : value;
+  const calculatedFillValue = (value - min) / (max - min) * 100;
+  const fillValue = isValueReset ? 50 : calculatedFillValue;
+  const fillValueOffset = `${(0,external_lodash_namespaceObject.clamp)(fillValue, 0, 100)}%`;
+  const classes = classnames_default()('components-range-control', className);
+  const wrapperClasses = classnames_default()('components-range-control__wrapper', !!marks && 'is-marked');
+  const id = (0,external_wp_compose_namespaceObject.useInstanceId)(RangeControl, 'inspector-range-control');
+  const describedBy = !!help ? `${id}__help` : undefined;
+  const enableTooltip = showTooltipProp !== false && (0,external_lodash_namespaceObject.isFinite)(value);

+  const handleOnRangeChange = event => {
+    const nextValue = parseFloat(event.target.value);
+    setValue(nextValue);
+    onChange(nextValue);
+  };

+  const handleOnChange = nextValue => {
+    nextValue = parseFloat(nextValue);
+    setValue(nextValue);
+    /*
+     * Calls onChange only when nextValue is numeric
+     * otherwise may queue a reset for the blur event.
+     */

+    if (!isNaN(nextValue)) {
+      if (nextValue < min || nextValue > max) {
+        nextValue = floatClamp(nextValue, min, max);
+      }

+      onChange(nextValue);
+      isResetPendent.current = false;
+    } else if (allowReset) {
+      isResetPendent.current = true;
+    }
+  };

+  const handleOnInputNumberBlur = () => {
+    if (isResetPendent.current) {
+      handleOnReset();
+      isResetPendent.current = false;
+    }
+  };

+  const handleOnReset = () => {
+    let resetValue = parseFloat(resetFallbackValue);
+    let onChangeResetValue = resetValue;

+    if (isNaN(resetValue)) {
+      resetValue = null;
+      onChangeResetValue = undefined;
+    }

+    setValue(resetValue);
+    /**
+     * Previously, this callback would always receive undefined as
+     * an argument. This behavior is unexpected, specifically
+     * when resetFallbackValue is defined.
+     *
+     * The value of undefined is not ideal. Passing it through
+     * to internal <input /> elements would change it from a
+     * controlled component to an uncontrolled component.
+     *
+     * For now, to minimize unexpected regressions, we're going to
+     * preserve the undefined callback argument, except when a
+     * resetFallbackValue is defined.
+     */

+    onChange(onChangeResetValue);
+  };

+  const handleShowTooltip = () => setShowTooltip(true);

+  const handleHideTooltip = () => setShowTooltip(false);

+  const handleOnBlur = event => {
+    onBlur(event);
+    setIsFocused(false);
+    handleHideTooltip();
+  };

+  const handleOnFocus = event => {
+    onFocus(event);
+    setIsFocused(true);
+    handleShowTooltip();
+  };

+  const offsetStyle = {
+    [(0,external_wp_i18n_namespaceObject.isRTL)() ? 'right' : 'left']: fillValueOffset
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    className: classes,
+    label: label,
+    hideLabelFromVision: hideLabelFromVision,
+    id: id,
+    help: help
+  }, (0,external_wp_element_namespaceObject.createElement)(range_control_styles_Root, {
+    className: "components-range-control__root"
+  }, beforeIcon && (0,external_wp_element_namespaceObject.createElement)(BeforeIconWrapper, null, (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: beforeIcon
+  })), (0,external_wp_element_namespaceObject.createElement)(range_control_styles_Wrapper, {
+    className: wrapperClasses,
+    color: colorProp,
+    marks: !!marks
+  }, (0,external_wp_element_namespaceObject.createElement)(input_range, extends_extends({}, props, {
+    className: "components-range-control__slider",
+    describedBy: describedBy,
+    disabled: disabled,
+    id: id,
+    label: label,
+    max: max,
+    min: min,
+    onBlur: handleOnBlur,
+    onChange: handleOnRangeChange,
+    onFocus: handleOnFocus,
+    onMouseMove: onMouseMove,
+    onMouseLeave: onMouseLeave,
+    ref: setRef,
+    step: step,
+    value: inputSliderValue
+  })), (0,external_wp_element_namespaceObject.createElement)(RangeRail, {
+    "aria-hidden": true,
+    disabled: disabled,
+    marks: marks,
+    max: max,
+    min: min,
+    railColor: railColor,
+    step: step,
+    value: rangeFillValue
+  }), (0,external_wp_element_namespaceObject.createElement)(Track, {
+    "aria-hidden": true,
+    className: "components-range-control__track",
+    disabled: disabled,
+    style: {
+      width: fillValueOffset
+    },
+    trackColor: trackColor
+  }), (0,external_wp_element_namespaceObject.createElement)(ThumbWrapper, {
+    style: offsetStyle,
+    disabled: disabled
+  }, (0,external_wp_element_namespaceObject.createElement)(Thumb, {
+    "aria-hidden": true,
+    isFocused: isThumbFocused,
+    disabled: disabled
+  })), enableTooltip && (0,external_wp_element_namespaceObject.createElement)(SimpleTooltip, {
+    className: "components-range-control__tooltip",
+    inputRef: inputRef,
+    tooltipPosition: "bottom",
+    renderTooltipContent: renderTooltipContent,
+    show: isCurrentlyFocused || showTooltip,
+    style: offsetStyle,
+    value: value
+  })), afterIcon && (0,external_wp_element_namespaceObject.createElement)(AfterIconWrapper, null, (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: afterIcon
+  })), withInputField && (0,external_wp_element_namespaceObject.createElement)(InputNumber, {
+    "aria-label": label,
+    className: "components-range-control__number",
+    disabled: disabled,
+    inputMode: "decimal",
+    isShiftStepEnabled: isShiftStepEnabled,
+    max: max,
+    min: min,
+    onBlur: handleOnInputNumberBlur,
+    onChange: handleOnChange,
+    shiftStep: shiftStep,
+    step: step,
+    value: inputSliderValue
+  }), allowReset && (0,external_wp_element_namespaceObject.createElement)(ActionRightWrapper, null, (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-range-control__reset",
+    disabled: disabled || value === undefined,
+    variant: "secondary",
+    isSmall: true,
+    onClick: handleOnReset
+  }, (0,external_wp_i18n_namespaceObject.__)('Reset')))));
+}

+const range_control_ForwardedComponent = (0,external_wp_element_namespaceObject.forwardRef)(RangeControl);
+/* harmony default export */ var range_control = (range_control_ForwardedComponent);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/styles.js


+function color_picker_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

+/**
+ * External dependencies
+ */

+/**
+ * Internal dependencies
+ */



@@ -51204,433 +46632,348 @@ var es_warning = __webpack_require__("WnOg");



+const NumberControlWrapper = /*#__PURE__*/emotion_styled_base_browser_esm(number_control,  true ? {
+  target: "ez9hsf46"
+} : 0)(Container, "{width:", space(24), ";}" + ( true ? "" : 0));
+const styles_SelectControl = /*#__PURE__*/emotion_styled_base_browser_esm(select_control,  true ? {
+  target: "ez9hsf45"
+} : 0)("margin-left:", space(-2), ";width:5em;", BackdropUI, "{display:none;}" + ( true ? "" : 0));
+const styles_RangeControl = /*#__PURE__*/emotion_styled_base_browser_esm(range_control,  true ? {
+  target: "ez9hsf44"
+} : 0)("flex:1;", StyledField, "{margin-bottom:0;}" + ( true ? "" : 0)); // All inputs should be the same height so this should be changed at the component level.
+// That involves changing heights of multiple input types probably buttons too etc.
+// So until that is done we are already using the new height on the color picker so it matches the mockups.

+const inputHeightStyle = `
+&&& ${Input} {
+	height: 40px;
+}`; // Make the Hue circle picker not go out of the bar

+const interactiveHueStyles = `
+.react-colorful__interactive {
+	width: calc( 100% - ${space(2)} );
+	margin-left: ${space(1)};
+}`;
+const AuxiliaryColorArtefactWrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ez9hsf43"
+} : 0)("padding:", space(2), " ", space(4), ";" + ( true ? "" : 0));
+const ColorfulWrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ez9hsf42"
+} : 0)("width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:", space(4), ";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:16px;margin-bottom:", space(2), ";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ", config_values.borderWidthFocus, " #fff;}", interactiveHueStyles, " ", StyledField, "{margin-bottom:0;}", inputHeightStyle, ";" + ( true ? "" : 0));
+const DetailsControlButton = /*#__PURE__*/emotion_styled_base_browser_esm(build_module_button,  true ? {
+  target: "ez9hsf41"
+} : 0)("&&&&&{min-width:", space(6), ";padding:0;}" + ( true ? "" : 0));
+const ColorHexInputControl = /*#__PURE__*/emotion_styled_base_browser_esm(input_control,  true ? {
+  target: "ez9hsf40"
+} : 0)( true ? {
+  name: "1287a6j",
+  styles: "width:8em"
+} : 0);

+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
+function getWindow_getWindow(node) {
+  if (node == null) {
+    return window;
+  }

-function getChecked(options) {
-  if (typeof options.checked !== "undefined") {
-    return options.checked;
+  if (node.toString() !== '[object Window]') {
+    var ownerDocument = node.ownerDocument;
+    return ownerDocument ? ownerDocument.defaultView || window : window;
   }

-  return typeof options.value !== "undefined" && options.state === options.value;
+  return node;
 }
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js

-function useInitialChecked(options) {
-  var _React$useState = Object(external_React_["useState"])(function () {
-    return getChecked(options);
-  }),
-      initialChecked = _React$useState[0];
-
-  var _React$useState2 = Object(external_React_["useState"])(options.currentId),
-      initialCurrentId = _React$useState2[0];

-  var id = options.id,
-      setCurrentId = options.setCurrentId;
-  Object(external_React_["useEffect"])(function () {
-    if (initialChecked && id && initialCurrentId !== id) {
-      setCurrentId === null || setCurrentId === void 0 ? void 0 : setCurrentId(id);
-    }
-  }, [initialChecked, id, setCurrentId, initialCurrentId]);
+function isElement(node) {
+  var OwnElement = getWindow_getWindow(node).Element;
+  return node instanceof OwnElement || node instanceof Element;
 }

-function fireChange(element, onChange) {
-  var event = Object(createEvent["a" /* createEvent */])(element, "change");
-  Object.defineProperties(event, {
-    type: {
-      value: "change"
-    },
-    target: {
-      value: element
-    },
-    currentTarget: {
-      value: element
-    }
-  });
-  onChange === null || onChange === void 0 ? void 0 : onChange(event);
+function isHTMLElement(node) {
+  var OwnElement = getWindow_getWindow(node).HTMLElement;
+  return node instanceof OwnElement || node instanceof HTMLElement;
 }

-var useRadio = Object(createHook["a" /* createHook */])({
-  name: "Radio",
-  compose: CompositeItem["b" /* useCompositeItem */],
-  keys: RADIO_KEYS,
-  useOptions: function useOptions(_ref, _ref2) {
-    var _options$value;
-
-    var value = _ref2.value,
-        checked = _ref2.checked;
-
-    var _ref$unstable_clickOn = _ref.unstable_clickOnEnter,
-        unstable_clickOnEnter = _ref$unstable_clickOn === void 0 ? false : _ref$unstable_clickOn,
-        _ref$unstable_checkOn = _ref.unstable_checkOnFocus,
-        unstable_checkOnFocus = _ref$unstable_checkOn === void 0 ? true : _ref$unstable_checkOn,
-        options = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref, ["unstable_clickOnEnter", "unstable_checkOnFocus"]);
+function isShadowRoot(node) {
+  // IE 11 has no ShadowRoot
+  if (typeof ShadowRoot === 'undefined') {
+    return false;
+  }

-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      checked: checked,
-      unstable_clickOnEnter: unstable_clickOnEnter,
-      unstable_checkOnFocus: unstable_checkOnFocus
-    }, options), {}, {
-      value: (_options$value = options.value) != null ? _options$value : value
-    });
-  },
-  useProps: function useProps(options, _ref3) {
-    var htmlRef = _ref3.ref,
-        htmlOnChange = _ref3.onChange,
-        htmlOnClick = _ref3.onClick,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_ref3, ["ref", "onChange", "onClick"]);
+  var OwnElement = getWindow_getWindow(node).ShadowRoot;
+  return node instanceof OwnElement || node instanceof ShadowRoot;
+}

-    var ref = Object(external_React_["useRef"])(null);

-    var _React$useState3 = Object(external_React_["useState"])(true),
-        isNativeRadio = _React$useState3[0],
-        setIsNativeRadio = _React$useState3[1];
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/math.js
+var math_max = Math.max;
+var math_min = Math.min;
+var round = Math.round;
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js

-    var checked = getChecked(options);
-    var isCurrentItemRef = Object(useLiveRef["a" /* useLiveRef */])(options.currentId === options.id);
-    var onChangeRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnChange);
-    var onClickRef = Object(useLiveRef["a" /* useLiveRef */])(htmlOnClick);
-    useInitialChecked(options);
-    Object(external_React_["useEffect"])(function () {
-      var element = ref.current;

-      if (!element) {
-         false ? undefined : void 0;
-        return;
-      }
+function getBoundingClientRect(element, includeScale) {
+  if (includeScale === void 0) {
+    includeScale = false;
+  }

-      if (element.tagName !== "INPUT" || element.type !== "radio") {
-        setIsNativeRadio(false);
-      }
-    }, []);
-    var onChange = Object(external_React_["useCallback"])(function (event) {
-      var _onChangeRef$current, _options$setState;
+  var rect = element.getBoundingClientRect();
+  var scaleX = 1;
+  var scaleY = 1;

-      (_onChangeRef$current = onChangeRef.current) === null || _onChangeRef$current === void 0 ? void 0 : _onChangeRef$current.call(onChangeRef, event);
-      if (event.defaultPrevented) return;
-      if (options.disabled) return;
-      (_options$setState = options.setState) === null || _options$setState === void 0 ? void 0 : _options$setState.call(options, options.value);
-    }, [options.disabled, options.setState, options.value]);
-    var onClick = Object(external_React_["useCallback"])(function (event) {
-      var _onClickRef$current;
+  if (isHTMLElement(element) && includeScale) {
+    var offsetHeight = element.offsetHeight;
+    var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
+    // Fallback to 1 in case both values are `0`

-      (_onClickRef$current = onClickRef.current) === null || _onClickRef$current === void 0 ? void 0 : _onClickRef$current.call(onClickRef, event);
-      if (event.defaultPrevented) return;
-      if (isNativeRadio) return;
-      fireChange(event.currentTarget, onChange);
-    }, [onChange, isNativeRadio]);
-    Object(external_React_["useEffect"])(function () {
-      var element = ref.current;
-      if (!element) return;
+    if (offsetWidth > 0) {
+      scaleX = round(rect.width) / offsetWidth || 1;
+    }

-      if (options.unstable_moves && isCurrentItemRef.current && options.unstable_checkOnFocus) {
-        fireChange(element, onChange);
-      }
-    }, [options.unstable_moves, options.unstable_checkOnFocus, onChange]);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      ref: Object(useForkRef["a" /* useForkRef */])(ref, htmlRef),
-      role: !isNativeRadio ? "radio" : undefined,
-      type: isNativeRadio ? "radio" : undefined,
-      value: isNativeRadio ? options.value : undefined,
-      name: isNativeRadio ? options.baseId : undefined,
-      "aria-checked": checked,
-      checked: checked,
-      onChange: onChange,
-      onClick: onClick
-    }, htmlProps);
+    if (offsetHeight > 0) {
+      scaleY = round(rect.height) / offsetHeight || 1;
+    }
   }
-});
-var Radio = Object(createComponent["a" /* createComponent */])({
-  as: "input",
-  memo: true,
-  useHook: useRadio
-});

+  return {
+    width: rect.width / scaleX,
+    height: rect.height / scaleY,
+    top: rect.top / scaleY,
+    right: rect.right / scaleX,
+    bottom: rect.bottom / scaleY,
+    left: rect.left / scaleX,
+    x: rect.left / scaleX,
+    y: rect.top / scaleY
+  };
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js

+function getWindowScroll(node) {
+  var win = getWindow_getWindow(node);
+  var scrollLeft = win.pageXOffset;
+  var scrollTop = win.pageYOffset;
+  return {
+    scrollLeft: scrollLeft,
+    scrollTop: scrollTop
+  };
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js
+function getHTMLElementScroll(element) {
+  return {
+    scrollLeft: element.scrollLeft,
+    scrollTop: element.scrollTop
+  };
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control-option/styles.js


-function toggle_group_control_option_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/**
- * External dependencies
- */
+function getNodeScroll(node) {
+  if (node === getWindow_getWindow(node) || !isHTMLElement(node)) {
+    return getWindowScroll(node);
+  } else {
+    return getHTMLElementScroll(node);
+  }
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js
+function getNodeName(element) {
+  return element ? (element.nodeName || '').toLowerCase() : null;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js

+function getDocumentElement(element) {
+  // $FlowFixMe[incompatible-return]: assume body is always available
+  return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
+  element.document) || window.document).documentElement;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js

-/**
- * Internal dependencies
- */

-const LabelView = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "eu1cvm72"
-} : undefined)( true ? {
-  name: "sln1fl",
-  styles: "display:inline-flex;max-width:100%;min-width:0;position:relative"
-} : undefined);
-const labelBlock =  true ? {
-  name: "82a6rk",
-  styles: "flex:1"
-} : undefined;
-const buttonView = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("align-items:center;appearance:none;background:transparent;border:none;border-radius:", config_values.controlBorderRadius, ";color:", COLORS.gray[700], ";cursor:pointer;display:flex;height:100%;justify-content:center;line-height:100%;outline:none;padding:0 12px;position:relative;text-align:center;transition:background ", config_values.transitionDurationFast, " linear,color ", config_values.transitionDurationFast, " linear,font-weight 60ms linear;", reduceMotion('transition'), " user-select:none;width:100%;z-index:2;&::-moz-focus-inner{border:0;}&:active{background:", config_values.toggleGroupControlBackgroundColor, ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-const buttonActive = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("color:", COLORS.white, ";&:active{background:transparent;}" + ( true ? "" : undefined),  true ? "" : undefined);
-const ButtonContentView = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "eu1cvm71"
-} : undefined)("font-size:", config_values.fontSize, ";line-height:1;position:absolute;top:50%;left:50%;transform:translate( -50%, -50% );" + ( true ? "" : undefined));
-const separatorActive =  true ? {
-  name: "1qsuvl4",
-  styles: "background:transparent"
-} : undefined;
-const LabelPlaceholderView = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "eu1cvm70"
-} : undefined)("font-size:", config_values.fontSize, ";font-weight:bold;height:0;overflow:hidden;visibility:hidden;" + ( true ? "" : undefined));
-const medium = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("min-height:", config_values.controlHeight, ";" + ( true ? "" : undefined),  true ? "" : undefined);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control-option/component.js
+function getWindowScrollBarX(element) {
+  // If <html> has a CSS width greater than the viewport, then this will be
+  // incorrect for RTL.
+  // Popper 1 is broken in this case and never had a bug report so let's assume
+  // it's not an issue. I don't think anyone ever specifies width on <html>
+  // anyway.
+  // Browsers where the left scrollbar doesn't cause an issue report `0` for
+  // this (e.g. Edge 2019, IE11, Safari)
+  return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js

+function getComputedStyle_getComputedStyle(element) {
+  return getWindow_getWindow(element).getComputedStyle(element);
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js

+function isScrollParent(element) {
+  // Firefox wants us to check `-x` and `-y` variations as well
+  var _getComputedStyle = getComputedStyle_getComputedStyle(element),
+      overflow = _getComputedStyle.overflow,
+      overflowX = _getComputedStyle.overflowX,
+      overflowY = _getComputedStyle.overflowY;

-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
-// eslint-disable-next-line no-restricted-imports
+  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */






-const {
-  ButtonContentView: component_ButtonContentView,
-  LabelPlaceholderView: component_LabelPlaceholderView,
-  LabelView: component_LabelView
-} = toggle_group_control_option_styles_namespaceObject;
+function isElementScaled(element) {
+  var rect = element.getBoundingClientRect();
+  var scaleX = round(rect.width) / element.offsetWidth || 1;
+  var scaleY = round(rect.height) / element.offsetHeight || 1;
+  return scaleX !== 1 || scaleY !== 1;
+} // Returns the composite rect of an element relative to its offsetParent.
+// Composite means it takes into account transforms as well as layout.

-const WithToolTip = _ref => {
-  let {
-    showTooltip,
-    text,
-    children
-  } = _ref;

-  if (showTooltip && text) {
-    return Object(external_wp_element_["createElement"])(build_module_tooltip["a" /* default */], {
-      text: text,
-      position: "top center"
-    }, children);
+function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
+  if (isFixed === void 0) {
+    isFixed = false;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, children);
-};
-
-function ToggleGroupControlOption(props, forwardedRef) {
-  const toggleGroupControlContext = useToggleGroupControlContext();
-  const id = Object(external_wp_compose_["useInstanceId"])(ToggleGroupControlOption, toggleGroupControlContext.baseId || 'toggle-group-control-option');
-  const buttonProps = Object(use_context_system["a" /* useContextSystem */])({ ...props,
-    id
-  }, 'ToggleGroupControlOption');
-  const {
-    className,
-    isBlock = false,
-    label,
-    value,
-    showTooltip = false,
-    ...radioProps
-  } = { ...toggleGroupControlContext,
-    ...buttonProps
+  var isOffsetParentAnElement = isHTMLElement(offsetParent);
+  var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
+  var documentElement = getDocumentElement(offsetParent);
+  var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
+  var scroll = {
+    scrollLeft: 0,
+    scrollTop: 0
+  };
+  var offsets = {
+    x: 0,
+    y: 0
   };
-  const isActive = radioProps.state === value;
-  const cx = Object(use_cx["a" /* useCx */])();
-  const labelViewClasses = cx(isBlock && labelBlock);
-  const classes = cx(buttonView, className, isActive && buttonActive);
-  const optionLabel = !!radioProps['aria-label'] ? radioProps['aria-label'] : label;
-  return Object(external_wp_element_["createElement"])(component_LabelView, {
-    className: labelViewClasses,
-    "data-active": isActive
-  }, Object(external_wp_element_["createElement"])(WithToolTip, {
-    showTooltip: showTooltip,
-    text: optionLabel
-  }, Object(external_wp_element_["createElement"])(Radio, Object(esm_extends["a" /* default */])({}, radioProps, {
-    as: "button",
-    "aria-label": optionLabel,
-    className: classes,
-    "data-value": value,
-    ref: forwardedRef,
-    value: value
-  }), Object(external_wp_element_["createElement"])(component_ButtonContentView, null, label), Object(external_wp_element_["createElement"])(component_LabelPlaceholderView, {
-    "aria-hidden": true
-  }, label))));
-}
-/**
- * `ToggleGroupControlOption` is a form component and is meant to be used as a
- * child of `ToggleGroupControl`.
- *
- * @example
- * ```jsx
- * import {
- *   __experimentalToggleGroupControl as ToggleGroupControl,
- *   __experimentalToggleGroupControlOption as ToggleGroupControlOption,
- * } from '@wordpress/components';
- *
- * function Example() {
- *   return (
- *     <ToggleGroupControl label="my label" value="vertical" isBlock>
- *       <ToggleGroupControlOption value="horizontal" label="Horizontal" />
- *       <ToggleGroupControlOption value="vertical" label="Vertical" />
- *     </ToggleGroupControl>
- *   );
- * }
- * ```
- */
-
-
-const ConnectedToggleGroupControlOption = Object(context_connect["a" /* contextConnect */])(ToggleGroupControlOption, 'ToggleGroupControlOption');
-/* harmony default export */ var toggle_group_control_option_component = (ConnectedToggleGroupControlOption);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/font-size-picker/utils.js
-/**
- * WordPress dependencies
- */
+  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
+    if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
+    isScrollParent(documentElement)) {
+      scroll = getNodeScroll(offsetParent);
+    }

-const DEFAULT_FONT_SIZE = 'default';
-const DEFAULT_FONT_SIZE_OPTION = {
-  slug: DEFAULT_FONT_SIZE,
-  name: Object(external_wp_i18n_["__"])('Default')
-};
-const CUSTOM_FONT_SIZE = 'custom';
-const CUSTOM_FONT_SIZE_OPTION = {
-  slug: CUSTOM_FONT_SIZE,
-  name: Object(external_wp_i18n_["__"])('Custom')
-};
-/**
- * In case we have at most five font sizes, where at least one the them
- * contain a complex css value(clamp, var, etc..) show a incremental sequence
- * of numbers as a label of the font size. We do this because complex css values
- * cannot be caluclated properly and the incremental sequence of numbers as labels
- * can help the user better mentally map the different available font sizes.
- */
+    if (isHTMLElement(offsetParent)) {
+      offsets = getBoundingClientRect(offsetParent, true);
+      offsets.x += offsetParent.clientLeft;
+      offsets.y += offsetParent.clientTop;
+    } else if (documentElement) {
+      offsets.x = getWindowScrollBarX(documentElement);
+    }
+  }

-const FONT_SIZES_ALIASES = ['1', '2', '3', '4', '5'];
-/**
- * Helper util to split a font size to its numeric value
- * and its `unit`, if exists.
- *
- * @param {string|number} size Font size.
- * @return {[number, string]} An array with the numeric value and the unit if exists.
- */
+  return {
+    x: rect.left + scroll.scrollLeft - offsets.x,
+    y: rect.top + scroll.scrollTop - offsets.y,
+    width: rect.width,
+    height: rect.height
+  };
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js
+ // Returns the layout rect of an element relative to its offsetParent. Layout
+// means it doesn't take into account transforms.

-function splitValueAndUnitFromSize(size) {
-  const [numericValue, unit] = `${size}`.match(/[\d\.]+|\D+/g);
+function getLayoutRect(element) {
+  var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
+  // Fixes https://github.com/popperjs/popper-core/issues/1223

-  if (!isNaN(parseFloat(numericValue)) && isFinite(numericValue)) {
-    return [numericValue, unit];
+  var width = element.offsetWidth;
+  var height = element.offsetHeight;
+
+  if (Math.abs(clientRect.width - width) <= 1) {
+    width = clientRect.width;
   }

-  return [];
-}
-/**
- * Some themes use css vars for their font sizes, so until we
- * have the way of calculating them don't display them.
- *
- * @param {string|number} value The value that is checked.
- * @return {boolean} Whether the value is a simple css value.
- */
+  if (Math.abs(clientRect.height - height) <= 1) {
+    height = clientRect.height;
+  }

-function isSimpleCssValue(value) {
-  const sizeRegex = /^[\d\.]+(px|em|rem|vw|vh|%)?$/i;
-  return sizeRegex.test(value);
+  return {
+    x: element.offsetLeft,
+    y: element.offsetTop,
+    width: width,
+    height: height
+  };
 }
-/**
- * Return font size options in the proper format depending
- * on the currently used control (select, toggle group).
- *
- * @param {boolean}  useSelectControl               Whether to use a select control.
- * @param {Object[]} optionsArray                   Array of available font sizes objects.
- * @param {*}        disableCustomFontSizes         Flag that indicates if custom font sizes are disabled.
- * @param {boolean}  optionsContainComplexCssValues Whether font sizes contain at least one complex css value(clamp, var, etc..).
- * @return {Object[]|null} Array of font sizes in proper format for the used control.
- */
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js

-function getFontSizeOptions(useSelectControl, optionsArray, disableCustomFontSizes, optionsContainComplexCssValues) {
-  if (disableCustomFontSizes && !optionsArray.length) {
-    return null;
+
+
+function getParentNode(element) {
+  if (getNodeName(element) === 'html') {
+    return element;
   }

-  return useSelectControl ? getSelectOptions(optionsArray, disableCustomFontSizes) : getToggleGroupOptions(optionsArray, optionsContainComplexCssValues);
-}
+  return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
+    // $FlowFixMe[incompatible-return]
+    // $FlowFixMe[prop-missing]
+    element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
+    element.parentNode || ( // DOM Element detected
+    isShadowRoot(element) ? element.host : null) || // ShadowRoot detected
+    // $FlowFixMe[incompatible-call]: HTMLElement is a Node
+    getDocumentElement(element) // fallback

-function getSelectOptions(optionsArray, disableCustomFontSizes) {
-  const options = [DEFAULT_FONT_SIZE_OPTION, ...optionsArray, ...(disableCustomFontSizes ? [] : [CUSTOM_FONT_SIZE_OPTION])];
-  return options.map(_ref => {
-    let {
-      slug,
-      name,
-      size
-    } = _ref;
-    return {
-      key: slug,
-      name,
-      size,
-      __experimentalHint: size && isSimpleCssValue(size) && parseFloat(size)
-    };
-  });
+  );
 }
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js

-function getToggleGroupOptions(optionsArray, optionsContainComplexCssValues) {
-  return optionsArray.map((_ref2, index) => {
-    let {
-      slug,
-      size,
-      name
-    } = _ref2;
-    let label = optionsContainComplexCssValues ? FONT_SIZES_ALIASES[index] : size;

-    if (!optionsContainComplexCssValues && typeof size === 'string') {
-      const [numericValue] = splitValueAndUnitFromSize(size);
-      label = numericValue;
-    }

-    return {
-      key: slug,
-      value: size,
-      label,
-      name
-    };
-  });
-}

-function getSelectedOption(fontSizes, value) {
-  if (!value) {
-    return DEFAULT_FONT_SIZE_OPTION;
+function getScrollParent(node) {
+  if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {
+    // $FlowFixMe[incompatible-return]: assume body is always available
+    return node.ownerDocument.body;
   }

-  return fontSizes.find(font => font.size === value) || CUSTOM_FONT_SIZE_OPTION;
+  if (isHTMLElement(node) && isScrollParent(node)) {
+    return node;
+  }
+
+  return getScrollParent(getParentNode(node));
 }
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/font-size-picker/index.js



-/**
- * WordPress dependencies
- */
+/*
+given a DOM element, return the list of all scroll parents, up the list of ancesors
+until we get to the top window object. This list is what we attach scroll listeners
+to, because if any of these parent elements scroll, we'll need to re-calculate the
+reference element's position.
+*/

+function listScrollParents(element, list) {
+  var _element$ownerDocumen;

+  if (list === void 0) {
+    list = [];
+  }

-/**
- * Internal dependencies
- */
+  var scrollParent = getScrollParent(element);
+  var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
+  var win = getWindow_getWindow(scrollParent);
+  var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
+  var updatedList = list.concat(target);
+  return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
+  updatedList.concat(listScrollParents(getParentNode(target)));
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js

+function isTableElement(element) {
+  return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js



@@ -51638,1316 +46981,1354 @@ function getSelectedOption(fontSizes, value) {



+function getTrueOffsetParent(element) {
+  if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
+  getComputedStyle_getComputedStyle(element).position === 'fixed') {
+    return null;
+  }

+  return element.offsetParent;
+} // `.offsetParent` reports `null` for fixed elements, while absolute elements
+// return the containing block

-function FontSizePicker(_ref, ref) {
-  var _fontSizes$, _value$endsWith;

-  let {
-    fallbackFontSize,
-    fontSizes = [],
-    disableCustomFontSizes = false,
-    onChange,
-    value,
-    withSlider = false,
-    withReset = true
-  } = _ref;
-  const hasUnits = [typeof value, typeof (fontSizes === null || fontSizes === void 0 ? void 0 : (_fontSizes$ = fontSizes[0]) === null || _fontSizes$ === void 0 ? void 0 : _fontSizes$.size)].includes('string');
-  const noUnitsValue = !hasUnits ? value : parseInt(value);
-  const isPixelValue = typeof value === 'number' || (value === null || value === void 0 ? void 0 : (_value$endsWith = value.endsWith) === null || _value$endsWith === void 0 ? void 0 : _value$endsWith.call(value, 'px'));
-  const units = useCustomUnits({
-    availableUnits: ['px', 'em', 'rem']
-  });
-  /**
-   * The main font size UI displays a toggle group when the presets are less
-   * than six and a select control when they are more.
-   */
+function getContainingBlock(element) {
+  var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;
+  var isIE = navigator.userAgent.indexOf('Trident') !== -1;

-  const fontSizesContainComplexValues = fontSizes.some(_ref2 => {
-    let {
-      size
-    } = _ref2;
-    return !isSimpleCssValue(size);
-  });
-  const shouldUseSelectControl = fontSizes.length > 5;
-  const options = Object(external_wp_element_["useMemo"])(() => getFontSizeOptions(shouldUseSelectControl, fontSizes, disableCustomFontSizes, fontSizesContainComplexValues), [shouldUseSelectControl, fontSizes, disableCustomFontSizes, fontSizesContainComplexValues]);
-  const selectedOption = getSelectedOption(fontSizes, value);
-  const isCustomValue = selectedOption.slug === CUSTOM_FONT_SIZE;
-  const [showCustomValueControl, setShowCustomValueControl] = Object(external_wp_element_["useState"])(!disableCustomFontSizes && isCustomValue);
-  const headerHint = Object(external_wp_element_["useMemo"])(() => {
-    if (showCustomValueControl) {
-      return `(${Object(external_wp_i18n_["__"])('Custom')})`;
-    } // If we have a custom value that is not available in the font sizes,
-    // show it as a hint as long as it's a simple CSS value.
+  if (isIE && isHTMLElement(element)) {
+    // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
+    var elementCss = getComputedStyle_getComputedStyle(element);

+    if (elementCss.position === 'fixed') {
+      return null;
+    }
+  }

-    if (isCustomValue) {
-      return isSimpleCssValue(value) && `(${value})`;
+  var currentNode = getParentNode(element);
+
+  while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
+    var css = getComputedStyle_getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
+    // create a containing block.
+    // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
+
+    if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
+      return currentNode;
+    } else {
+      currentNode = currentNode.parentNode;
     }
+  }

-    if (shouldUseSelectControl) {
-      return isSimpleCssValue(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.size) && `(${selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.size})`;
-    } // Calculate the `hint` for toggle group control.
+  return null;
+} // Gets the closest ancestor positioned element. Handles some edge cases,
+// such as table ancestors and cross browser bugs.


-    let hint = selectedOption.name;
+function getOffsetParent(element) {
+  var window = getWindow_getWindow(element);
+  var offsetParent = getTrueOffsetParent(element);

-    if (!fontSizesContainComplexValues && typeof selectedOption.size === 'string') {
-      const [, unit] = splitValueAndUnitFromSize(selectedOption.size);
-      hint += `(${unit})`;
-    }
+  while (offsetParent && isTableElement(offsetParent) && getComputedStyle_getComputedStyle(offsetParent).position === 'static') {
+    offsetParent = getTrueOffsetParent(offsetParent);
+  }

-    return hint;
-  }, [showCustomValueControl, selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.slug, value, isCustomValue, fontSizesContainComplexValues]);
+  if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle_getComputedStyle(offsetParent).position === 'static')) {
+    return window;
+  }

-  if (!options) {
-    return null;
-  } // This is used for select control only. We need to add support
-  // for ToggleGroupControl.
+  return offsetParent || getContainingBlock(element) || window;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/enums.js
+var enums_top = 'top';
+var bottom = 'bottom';
+var right = 'right';
+var left = 'left';
+var enums_auto = 'auto';
+var basePlacements = [enums_top, bottom, right, left];
+var start = 'start';
+var end = 'end';
+var clippingParents = 'clippingParents';
+var viewport = 'viewport';
+var popper = 'popper';
+var reference = 'reference';
+var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
+  return acc.concat([placement + "-" + start, placement + "-" + end]);
+}, []);
+var enums_placements = /*#__PURE__*/[].concat(basePlacements, [enums_auto]).reduce(function (acc, placement) {
+  return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
+}, []); // modifiers that need to read the DOM

+var beforeRead = 'beforeRead';
+var read = 'read';
+var afterRead = 'afterRead'; // pure-logic modifiers

-  const currentFontSizeSR = Object(external_wp_i18n_["sprintf"])( // translators: %s: Currently selected font size.
-  Object(external_wp_i18n_["__"])('Currently selected font size: %s'), selectedOption.name);
-  const baseClassName = 'components-font-size-picker';
-  return Object(external_wp_element_["createElement"])("fieldset", Object(esm_extends["a" /* default */])({
-    className: baseClassName
-  }, ref ? {} : {
-    ref
-  }), Object(external_wp_element_["createElement"])(component["a" /* default */], {
-    as: "legend"
-  }, Object(external_wp_i18n_["__"])('Font size')), Object(external_wp_element_["createElement"])(flex_component, {
-    justify: "space-between",
-    className: `${baseClassName}__header`
-  }, Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_i18n_["__"])('Size'), headerHint && Object(external_wp_element_["createElement"])("span", {
-    className: `${baseClassName}__header__hint`
-  }, headerHint)), !disableCustomFontSizes && Object(external_wp_element_["createElement"])(flex_item_component, null, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    label: showCustomValueControl ? Object(external_wp_i18n_["__"])('Use size preset') : Object(external_wp_i18n_["__"])('Set custom size'),
-    showTooltip: false,
-    icon: settings["a" /* default */],
-    onClick: () => {
-      setShowCustomValueControl(!showCustomValueControl);
-    },
-    isPressed: showCustomValueControl,
-    isSmall: true
-  }))), Object(external_wp_element_["createElement"])("div", {
-    className: `${baseClassName}__controls`
-  }, !!fontSizes.length && shouldUseSelectControl && !showCustomValueControl && Object(external_wp_element_["createElement"])(CustomSelectControl, {
-    className: `${baseClassName}__select`,
-    label: Object(external_wp_i18n_["__"])('Font size'),
-    hideLabelFromVision: true,
-    describedBy: currentFontSizeSR,
-    options: options,
-    value: options.find(option => option.key === selectedOption.slug),
-    onChange: _ref3 => {
-      let {
-        selectedItem
-      } = _ref3;
-      onChange(hasUnits ? selectedItem.size : Number(selectedItem.size));
+var beforeMain = 'beforeMain';
+var main = 'main';
+var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)

-      if (selectedItem.key === CUSTOM_FONT_SIZE) {
-        setShowCustomValueControl(true);
+var beforeWrite = 'beforeWrite';
+var write = 'write';
+var afterWrite = 'afterWrite';
+var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/orderModifiers.js
+ // source: https://stackoverflow.com/questions/49875255
+
+function orderModifiers_order(modifiers) {
+  var map = new Map();
+  var visited = new Set();
+  var result = [];
+  modifiers.forEach(function (modifier) {
+    map.set(modifier.name, modifier);
+  }); // On visiting object, check for its dependencies and visit them recursively
+
+  function sort(modifier) {
+    visited.add(modifier.name);
+    var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
+    requires.forEach(function (dep) {
+      if (!visited.has(dep)) {
+        var depModifier = map.get(dep);
+
+        if (depModifier) {
+          sort(depModifier);
+        }
       }
+    });
+    result.push(modifier);
+  }
+
+  modifiers.forEach(function (modifier) {
+    if (!visited.has(modifier.name)) {
+      // check for visited object
+      sort(modifier);
     }
-  }), !shouldUseSelectControl && !showCustomValueControl && Object(external_wp_element_["createElement"])(toggle_group_control_component, {
-    label: Object(external_wp_i18n_["__"])('Font size'),
-    hideLabelFromVision: true,
-    value: value,
-    onChange: newValue => {
-      onChange(hasUnits ? newValue : Number(newValue));
-    },
-    isBlock: true
-  }, options.map(option => Object(external_wp_element_["createElement"])(toggle_group_control_option_component, {
-    key: option.key,
-    value: option.value,
-    label: option.label,
-    "aria-label": option.name,
-    showTooltip: true
-  }))), !withSlider && !disableCustomFontSizes && showCustomValueControl && Object(external_wp_element_["createElement"])(flex_component, {
-    justify: "space-between",
-    className: `${baseClassName}__custom-size-control`
-  }, Object(external_wp_element_["createElement"])(flex_item_component, {
-    isBlock: true
-  }, Object(external_wp_element_["createElement"])(unit_control, {
-    label: Object(external_wp_i18n_["__"])('Custom'),
-    labelPosition: "top",
-    hideLabelFromVision: true,
-    value: value,
-    onChange: nextSize => {
-      if (0 === parseFloat(nextSize) || !nextSize) {
-        onChange(undefined);
-      } else {
-        onChange(hasUnits ? nextSize : parseInt(nextSize, 10));
-      }
-    },
-    units: hasUnits ? units : false
-  })), withReset && Object(external_wp_element_["createElement"])(flex_item_component, {
-    isBlock: true
-  }, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-color-palette__clear",
-    disabled: value === undefined,
-    onClick: () => {
-      onChange(undefined);
-    },
-    isSmall: true,
-    variant: "secondary"
-  }, Object(external_wp_i18n_["__"])('Reset'))))), withSlider && Object(external_wp_element_["createElement"])(range_control, {
-    className: `${baseClassName}__custom-input`,
-    label: Object(external_wp_i18n_["__"])('Custom Size'),
-    value: isPixelValue && noUnitsValue || '',
-    initialPosition: fallbackFontSize,
-    onChange: newValue => {
-      onChange(hasUnits ? newValue + 'px' : newValue);
-    },
-    min: 12,
-    max: 100
-  }));
+  });
+  return result;
 }

-/* harmony default export */ var font_size_picker = (Object(external_wp_element_["forwardRef"])(FontSizePicker));
+function orderModifiers(modifiers) {
+  // order based on dependencies
+  var orderedModifiers = orderModifiers_order(modifiers); // order based on phase

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-file-upload/index.js
+  return modifierPhases.reduce(function (acc, phase) {
+    return acc.concat(orderedModifiers.filter(function (modifier) {
+      return modifier.phase === phase;
+    }));
+  }, []);
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/debounce.js
+function debounce(fn) {
+  var pending;
+  return function () {
+    if (!pending) {
+      pending = new Promise(function (resolve) {
+        Promise.resolve().then(function () {
+          pending = undefined;
+          resolve(fn());
+        });
+      });
+    }

+    return pending;
+  };
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/mergeByName.js
+function mergeByName(modifiers) {
+  var merged = modifiers.reduce(function (merged, current) {
+    var existing = merged[current.name];
+    merged[current.name] = existing ? Object.assign({}, existing, current, {
+      options: Object.assign({}, existing.options, current.options),
+      data: Object.assign({}, existing.data, current.data)
+    }) : current;
+    return merged;
+  }, {}); // IE11 does not support Object.values

+  return Object.keys(merged).map(function (key) {
+    return merged[key];
+  });
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/createPopper.js

-/**
- * WordPress dependencies
- */

-/**
- * Internal dependencies
- */



-function FormFileUpload(_ref) {
-  let {
-    accept,
-    children,
-    multiple = false,
-    onChange,
-    render,
-    ...props
-  } = _ref;
-  const ref = Object(external_wp_element_["useRef"])();

-  const openFileDialog = () => {
-    ref.current.click();
-  };

-  const ui = render ? render({
-    openFileDialog
-  }) : Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-    onClick: openFileDialog
-  }, props), children);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "components-form-file-upload"
-  }, ui, Object(external_wp_element_["createElement"])("input", {
-    type: "file",
-    ref: ref,
-    multiple: multiple,
-    style: {
-      display: 'none'
-    },
-    accept: accept,
-    onChange: onChange
-  }));
-}

-/* harmony default export */ var form_file_upload = (FormFileUpload);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-toggle/index.js



-/**
- * External dependencies
- */


+var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';
+var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';
+var DEFAULT_OPTIONS = {
+  placement: 'bottom',
+  modifiers: [],
+  strategy: 'absolute'
+};

-function FormToggle(_ref) {
-  let {
-    className,
-    checked,
-    id,
-    disabled,
-    onChange = external_lodash_["noop"],
-    ...props
-  } = _ref;
-  const wrapperClasses = classnames_default()('components-form-toggle', className, {
-    'is-checked': checked,
-    'is-disabled': disabled
+function areValidElements() {
+  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+    args[_key] = arguments[_key];
+  }
+
+  return !args.some(function (element) {
+    return !(element && typeof element.getBoundingClientRect === 'function');
   });
-  return Object(external_wp_element_["createElement"])("span", {
-    className: wrapperClasses
-  }, Object(external_wp_element_["createElement"])("input", Object(esm_extends["a" /* default */])({
-    className: "components-form-toggle__input",
-    id: id,
-    type: "checkbox",
-    checked: checked,
-    onChange: onChange,
-    disabled: disabled
-  }, props)), Object(external_wp_element_["createElement"])("span", {
-    className: "components-form-toggle__track"
-  }), Object(external_wp_element_["createElement"])("span", {
-    className: "components-form-toggle__thumb"
-  }));
 }

-/* harmony default export */ var form_toggle = (FormToggle);
+function popperGenerator(generatorOptions) {
+  if (generatorOptions === void 0) {
+    generatorOptions = {};
+  }
+
+  var _generatorOptions = generatorOptions,
+      _generatorOptions$def = _generatorOptions.defaultModifiers,
+      defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
+      _generatorOptions$def2 = _generatorOptions.defaultOptions,
+      defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
+  return function createPopper(reference, popper, options) {
+    if (options === void 0) {
+      options = defaultOptions;
+    }
+
+    var state = {
+      placement: 'bottom',
+      orderedModifiers: [],
+      options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
+      modifiersData: {},
+      elements: {
+        reference: reference,
+        popper: popper
+      },
+      attributes: {},
+      styles: {}
+    };
+    var effectCleanupFns = [];
+    var isDestroyed = false;
+    var instance = {
+      state: state,
+      setOptions: function setOptions(setOptionsAction) {
+        var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
+        cleanupModifierEffects();
+        state.options = Object.assign({}, defaultOptions, state.options, options);
+        state.scrollParents = {
+          reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
+          popper: listScrollParents(popper)
+        }; // Orders the modifiers based on their dependencies and `phase`
+        // properties
+
+        var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers
+
+        state.orderedModifiers = orderedModifiers.filter(function (m) {
+          return m.enabled;
+        }); // Validate the provided modifiers so that the consumer will get warned
+        // if one of the modifiers is invalid for any reason
+
+        if (false) { var _getComputedStyle, marginTop, marginRight, marginBottom, marginLeft, flipModifier, modifiers; }
+
+        runModifierEffects();
+        return instance.update();
+      },
+      // Sync update – it will always be executed, even if not necessary. This
+      // is useful for low frequency updates where sync behavior simplifies the
+      // logic.
+      // For high frequency updates (e.g. `resize` and `scroll` events), always
+      // prefer the async Popper#update method
+      forceUpdate: function forceUpdate() {
+        if (isDestroyed) {
+          return;
+        }
+
+        var _state$elements = state.elements,
+            reference = _state$elements.reference,
+            popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements
+        // anymore

-// EXTERNAL MODULE: external ["wp","isShallowEqual"]
-var external_wp_isShallowEqual_ = __webpack_require__("rl8x");
-var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
+        if (!areValidElements(reference, popper)) {
+          if (false) {}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-token-field/token.js
+          return;
+        } // Store the reference and popper rects to be read by modifiers


-/**
- * External dependencies
- */
+        state.rects = {
+          reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),
+          popper: getLayoutRect(popper)
+        }; // Modifiers have the ability to reset the current update cycle. The
+        // most common use case for this is the `flip` modifier changing the
+        // placement, which then needs to re-run all the modifiers, because the
+        // logic was previously ran for the previous placement and is therefore
+        // stale/incorrect

+        state.reset = false;
+        state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier
+        // is filled with the initial data specified by the modifier. This means
+        // it doesn't persist and is fresh on each update.
+        // To ensure persistent data, use `${name}#persistent`

-/**
- * WordPress dependencies
- */
+        state.orderedModifiers.forEach(function (modifier) {
+          return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
+        });
+        var __debug_loops__ = 0;

+        for (var index = 0; index < state.orderedModifiers.length; index++) {
+          if (false) {}

+          if (state.reset === true) {
+            state.reset = false;
+            index = -1;
+            continue;
+          }

+          var _state$orderedModifie = state.orderedModifiers[index],
+              fn = _state$orderedModifie.fn,
+              _state$orderedModifie2 = _state$orderedModifie.options,
+              _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
+              name = _state$orderedModifie.name;

-/**
- * Internal dependencies
- */
+          if (typeof fn === 'function') {
+            state = fn({
+              state: state,
+              options: _options,
+              name: name,
+              instance: instance
+            }) || state;
+          }
+        }
+      },
+      // Async and optimistically optimized update – it will not be executed if
+      // not necessary (debounced to run at most once-per-tick)
+      update: debounce(function () {
+        return new Promise(function (resolve) {
+          instance.forceUpdate();
+          resolve(state);
+        });
+      }),
+      destroy: function destroy() {
+        cleanupModifierEffects();
+        isDestroyed = true;
+      }
+    };

+    if (!areValidElements(reference, popper)) {
+      if (false) {}

+      return instance;
+    }

-function Token(_ref) {
-  let {
-    value,
-    status,
-    title,
-    displayTransform,
-    isBorderless = false,
-    disabled = false,
-    onClickRemove = external_lodash_["noop"],
-    onMouseEnter,
-    onMouseLeave,
-    messages,
-    termPosition,
-    termsCount
-  } = _ref;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(Token);
-  const tokenClasses = classnames_default()('components-form-token-field__token', {
-    'is-error': 'error' === status,
-    'is-success': 'success' === status,
-    'is-validating': 'validating' === status,
-    'is-borderless': isBorderless,
-    'is-disabled': disabled
-  });
+    instance.setOptions(options).then(function (state) {
+      if (!isDestroyed && options.onFirstUpdate) {
+        options.onFirstUpdate(state);
+      }
+    }); // Modifiers have the ability to execute arbitrary code before the first
+    // update cycle runs. They will be executed in the same order as the update
+    // cycle. This is useful when a modifier adds some persistent data that
+    // other modifiers need to use, but the modifier is run after the dependent
+    // one.

-  const onClick = () => onClickRemove({
-    value
-  });
+    function runModifierEffects() {
+      state.orderedModifiers.forEach(function (_ref3) {
+        var name = _ref3.name,
+            _ref3$options = _ref3.options,
+            options = _ref3$options === void 0 ? {} : _ref3$options,
+            effect = _ref3.effect;

-  const transformedValue = displayTransform(value);
-  const termPositionAndCount = Object(external_wp_i18n_["sprintf"])(
-  /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */
-  Object(external_wp_i18n_["__"])('%1$s (%2$s of %3$s)'), transformedValue, termPosition, termsCount);
-  return Object(external_wp_element_["createElement"])("span", {
-    className: tokenClasses,
-    onMouseEnter: onMouseEnter,
-    onMouseLeave: onMouseLeave,
-    title: title
-  }, Object(external_wp_element_["createElement"])("span", {
-    className: "components-form-token-field__token-text",
-    id: `components-form-token-field__token-text-${instanceId}`
-  }, Object(external_wp_element_["createElement"])(component["a" /* default */], {
-    as: "span"
-  }, termPositionAndCount), Object(external_wp_element_["createElement"])("span", {
-    "aria-hidden": "true"
-  }, transformedValue)), Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-form-token-field__remove-token",
-    icon: close_small["a" /* default */],
-    onClick: !disabled && onClick,
-    label: messages.remove,
-    "aria-describedby": `components-form-token-field__token-text-${instanceId}`
-  }));
-}
+        if (typeof effect === 'function') {
+          var cleanupFn = effect({
+            state: state,
+            name: name,
+            instance: instance,
+            options: options
+          });

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js
+          var noopFn = function noopFn() {};

+          effectCleanupFns.push(cleanupFn || noopFn);
+        }
+      });
+    }

+    function cleanupModifierEffects() {
+      effectCleanupFns.forEach(function (fn) {
+        return fn();
+      });
+      effectCleanupFns = [];
+    }

-/**
- * WordPress dependencies
- */
+    return instance;
+  };
+}
+var createPopper = /*#__PURE__*/(/* unused pure expression or super */ null && (popperGenerator())); // eslint-disable-next-line import/no-unused-modules


-/**
- * A Higher Order Component used to be provide speak and debounced speak
- * functions.
- *
- * @see https://developer.wordpress.org/block-editor/packages/packages-a11y/#speak
- *
- * @param {WPComponent} Component The component to be wrapped.
- *
- * @return {WPComponent} The wrapped component.
- */
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/eventListeners.js
+ // eslint-disable-next-line import/no-unused-modules

-/* harmony default export */ var with_spoken_messages = (Object(external_wp_compose_["createHigherOrderComponent"])(Component => props => Object(external_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({}, props, {
-  speak: external_wp_a11y_["speak"],
-  debouncedSpeak: Object(external_wp_compose_["useDebounce"])(external_wp_a11y_["speak"], 500)
-})), 'withSpokenMessages'));
+var passive = {
+  passive: true
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-token-field/index.js
+function effect(_ref) {
+  var state = _ref.state,
+      instance = _ref.instance,
+      options = _ref.options;
+  var _options$scroll = options.scroll,
+      scroll = _options$scroll === void 0 ? true : _options$scroll,
+      _options$resize = options.resize,
+      resize = _options$resize === void 0 ? true : _options$resize;
+  var window = getWindow_getWindow(state.elements.popper);
+  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);

+  if (scroll) {
+    scrollParents.forEach(function (scrollParent) {
+      scrollParent.addEventListener('scroll', instance.update, passive);
+    });
+  }

-/**
- * External dependencies
- */
+  if (resize) {
+    window.addEventListener('resize', instance.update, passive);
+  }

+  return function () {
+    if (scroll) {
+      scrollParents.forEach(function (scrollParent) {
+        scrollParent.removeEventListener('scroll', instance.update, passive);
+      });
+    }

-/**
- * WordPress dependencies
- */
+    if (resize) {
+      window.removeEventListener('resize', instance.update, passive);
+    }
+  };
+} // eslint-disable-next-line import/no-unused-modules


+/* harmony default export */ var eventListeners = ({
+  name: 'eventListeners',
+  enabled: true,
+  phase: 'write',
+  fn: function fn() {},
+  effect: effect,
+  data: {}
+});
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getBasePlacement.js

+function getBasePlacement(placement) {
+  return placement.split('-')[0];
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getVariation.js
+function getVariation(placement) {
+  return placement.split('-')[1];
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
+function getMainAxisFromPlacement(placement) {
+  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/computeOffsets.js



-/**
- * Internal dependencies
- */

+function computeOffsets(_ref) {
+  var reference = _ref.reference,
+      element = _ref.element,
+      placement = _ref.placement;
+  var basePlacement = placement ? getBasePlacement(placement) : null;
+  var variation = placement ? getVariation(placement) : null;
+  var commonX = reference.x + reference.width / 2 - element.width / 2;
+  var commonY = reference.y + reference.height / 2 - element.height / 2;
+  var offsets;

+  switch (basePlacement) {
+    case enums_top:
+      offsets = {
+        x: commonX,
+        y: reference.y - element.height
+      };
+      break;

+    case bottom:
+      offsets = {
+        x: commonX,
+        y: reference.y + reference.height
+      };
+      break;

+    case right:
+      offsets = {
+        x: reference.x + reference.width,
+        y: commonY
+      };
+      break;

-const form_token_field_initialState = {
-  incompleteTokenValue: '',
-  inputOffsetFromEnd: 0,
-  isActive: false,
-  isExpanded: false,
-  selectedSuggestionIndex: -1,
-  selectedSuggestionScroll: false
-};
+    case left:
+      offsets = {
+        x: reference.x - element.width,
+        y: commonY
+      };
+      break;

-class form_token_field_FormTokenField extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.state = form_token_field_initialState;
-    this.onKeyDown = this.onKeyDown.bind(this);
-    this.onKeyPress = this.onKeyPress.bind(this);
-    this.onFocus = this.onFocus.bind(this);
-    this.onBlur = this.onBlur.bind(this);
-    this.deleteTokenBeforeInput = this.deleteTokenBeforeInput.bind(this);
-    this.deleteTokenAfterInput = this.deleteTokenAfterInput.bind(this);
-    this.addCurrentToken = this.addCurrentToken.bind(this);
-    this.onContainerTouched = this.onContainerTouched.bind(this);
-    this.renderToken = this.renderToken.bind(this);
-    this.onTokenClickRemove = this.onTokenClickRemove.bind(this);
-    this.onSuggestionHovered = this.onSuggestionHovered.bind(this);
-    this.onSuggestionSelected = this.onSuggestionSelected.bind(this);
-    this.onInputChange = this.onInputChange.bind(this);
-    this.bindInput = this.bindInput.bind(this);
-    this.bindTokensAndInput = this.bindTokensAndInput.bind(this);
-    this.updateSuggestions = this.updateSuggestions.bind(this);
+    default:
+      offsets = {
+        x: reference.x,
+        y: reference.y
+      };
   }

-  componentDidUpdate(prevProps) {
-    // Make sure to focus the input when the isActive state is true.
-    if (this.state.isActive && !this.input.hasFocus()) {
-      this.input.focus();
-    }
+  var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;

-    const {
-      suggestions,
-      value
-    } = this.props;
-    const suggestionsDidUpdate = !external_wp_isShallowEqual_default()(suggestions, prevProps.suggestions);
+  if (mainAxis != null) {
+    var len = mainAxis === 'y' ? 'height' : 'width';

-    if (suggestionsDidUpdate || value !== prevProps.value) {
-      this.updateSuggestions(suggestionsDidUpdate);
-    }
-  }
+    switch (variation) {
+      case start:
+        offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
+        break;

-  static getDerivedStateFromProps(props, state) {
-    if (!props.disabled || !state.isActive) {
-      return null;
-    }
+      case end:
+        offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
+        break;

-    return {
-      isActive: false,
-      incompleteTokenValue: ''
-    };
+      default:
+    }
   }

-  bindInput(ref) {
-    this.input = ref;
-  }
+  return offsets;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js

-  bindTokensAndInput(ref) {
-    this.tokensAndInput = ref;
-  }

-  onFocus(event) {
-    const {
-      __experimentalExpandOnFocus
-    } = this.props; // If focus is on the input or on the container, set the isActive state to true.
+function popperOffsets(_ref) {
+  var state = _ref.state,
+      name = _ref.name;
+  // Offsets are the actual position the popper needs to have to be
+  // properly positioned near its reference element
+  // This is the most basic placement, and will be adjusted by
+  // the modifiers in the next step
+  state.modifiersData[name] = computeOffsets({
+    reference: state.rects.reference,
+    element: state.rects.popper,
+    strategy: 'absolute',
+    placement: state.placement
+  });
+} // eslint-disable-next-line import/no-unused-modules

-    if (this.input.hasFocus() || event.target === this.tokensAndInput) {
-      this.setState({
-        isActive: true,
-        isExpanded: !!__experimentalExpandOnFocus || this.state.isExpanded
-      });
-    } else {
-      /*
-       * Otherwise, focus is on one of the token "remove" buttons and we
-       * set the isActive state to false to prevent the input to be
-       * re-focused, see componentDidUpdate().
-       */
-      this.setState({
-        isActive: false
-      });
-    }

-    if ('function' === typeof this.props.onFocus) {
-      this.props.onFocus(event);
-    }
-  }
+/* harmony default export */ var modifiers_popperOffsets = ({
+  name: 'popperOffsets',
+  enabled: true,
+  phase: 'read',
+  fn: popperOffsets,
+  data: {}
+});
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/computeStyles.js

-  onBlur() {
-    if (this.inputHasValidValue()) {
-      this.setState({
-        isActive: false
-      });
-    } else {
-      this.setState(form_token_field_initialState);
-    }
-  }

-  onKeyDown(event) {
-    let preventDefault = false;

-    if (event.defaultPrevented) {
-      return;
-    }

-    switch (event.keyCode) {
-      case external_wp_keycodes_["BACKSPACE"]:
-        preventDefault = this.handleDeleteKey(this.deleteTokenBeforeInput);
-        break;

-      case external_wp_keycodes_["ENTER"]:
-        preventDefault = this.addCurrentToken();
-        break;

-      case external_wp_keycodes_["LEFT"]:
-        preventDefault = this.handleLeftArrowKey();
-        break;

-      case external_wp_keycodes_["UP"]:
-        preventDefault = this.handleUpArrowKey();
-        break;
+ // eslint-disable-next-line import/no-unused-modules

-      case external_wp_keycodes_["RIGHT"]:
-        preventDefault = this.handleRightArrowKey();
-        break;
+var unsetSides = {
+  top: 'auto',
+  right: 'auto',
+  bottom: 'auto',
+  left: 'auto'
+}; // Round the offsets to the nearest suitable subpixel based on the DPR.
+// Zooming can change the DPR, but it seems to report a value that will
+// cleanly divide the values into the appropriate subpixels.

-      case external_wp_keycodes_["DOWN"]:
-        preventDefault = this.handleDownArrowKey();
-        break;
+function roundOffsetsByDPR(_ref) {
+  var x = _ref.x,
+      y = _ref.y;
+  var win = window;
+  var dpr = win.devicePixelRatio || 1;
+  return {
+    x: round(x * dpr) / dpr || 0,
+    y: round(y * dpr) / dpr || 0
+  };
+}

-      case external_wp_keycodes_["DELETE"]:
-        preventDefault = this.handleDeleteKey(this.deleteTokenAfterInput);
-        break;
+function mapToStyles(_ref2) {
+  var _Object$assign2;

-      case external_wp_keycodes_["SPACE"]:
-        if (this.props.tokenizeOnSpace) {
-          preventDefault = this.addCurrentToken();
-        }
+  var popper = _ref2.popper,
+      popperRect = _ref2.popperRect,
+      placement = _ref2.placement,
+      variation = _ref2.variation,
+      offsets = _ref2.offsets,
+      position = _ref2.position,
+      gpuAcceleration = _ref2.gpuAcceleration,
+      adaptive = _ref2.adaptive,
+      roundOffsets = _ref2.roundOffsets,
+      isFixed = _ref2.isFixed;
+  var _offsets$x = offsets.x,
+      x = _offsets$x === void 0 ? 0 : _offsets$x,
+      _offsets$y = offsets.y,
+      y = _offsets$y === void 0 ? 0 : _offsets$y;

-        break;
+  var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
+    x: x,
+    y: y
+  }) : {
+    x: x,
+    y: y
+  };

-      case external_wp_keycodes_["ESCAPE"]:
-        preventDefault = this.handleEscapeKey(event);
-        break;
+  x = _ref3.x;
+  y = _ref3.y;
+  var hasX = offsets.hasOwnProperty('x');
+  var hasY = offsets.hasOwnProperty('y');
+  var sideX = left;
+  var sideY = enums_top;
+  var win = window;

-      default:
-        break;
-    }
+  if (adaptive) {
+    var offsetParent = getOffsetParent(popper);
+    var heightProp = 'clientHeight';
+    var widthProp = 'clientWidth';

-    if (preventDefault) {
-      event.preventDefault();
-    }
-  }
+    if (offsetParent === getWindow_getWindow(popper)) {
+      offsetParent = getDocumentElement(popper);

-  onKeyPress(event) {
-    let preventDefault = false;
+      if (getComputedStyle_getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {
+        heightProp = 'scrollHeight';
+        widthProp = 'scrollWidth';
+      }
+    } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it

-    switch (event.charCode) {
-      case 44:
-        // comma
-        preventDefault = this.handleCommaKey();
-        break;

-      default:
-        break;
-    }
+    offsetParent = offsetParent;

-    if (preventDefault) {
-      event.preventDefault();
+    if (placement === enums_top || (placement === left || placement === right) && variation === end) {
+      sideY = bottom;
+      var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
+      offsetParent[heightProp];
+      y -= offsetY - popperRect.height;
+      y *= gpuAcceleration ? 1 : -1;
     }
-  }

-  onContainerTouched(event) {
-    // Prevent clicking/touching the tokensAndInput container from blurring
-    // the input and adding the current token.
-    if (event.target === this.tokensAndInput && this.state.isActive) {
-      event.preventDefault();
+    if (placement === left || (placement === enums_top || placement === bottom) && variation === end) {
+      sideX = right;
+      var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
+      offsetParent[widthProp];
+      x -= offsetX - popperRect.width;
+      x *= gpuAcceleration ? 1 : -1;
     }
   }

-  onTokenClickRemove(event) {
-    this.deleteToken(event.value);
-    this.input.focus();
-  }
+  var commonStyles = Object.assign({
+    position: position
+  }, adaptive && unsetSides);

-  onSuggestionHovered(suggestion) {
-    const index = this.getMatchingSuggestions().indexOf(suggestion);
+  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
+    x: x,
+    y: y
+  }) : {
+    x: x,
+    y: y
+  };
+
+  x = _ref4.x;
+  y = _ref4.y;

-    if (index >= 0) {
-      this.setState({
-        selectedSuggestionIndex: index,
-        selectedSuggestionScroll: false
-      });
-    }
-  }
+  if (gpuAcceleration) {
+    var _Object$assign;

-  onSuggestionSelected(suggestion) {
-    this.addNewToken(suggestion);
+    return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
   }

-  onInputChange(event) {
-    const text = event.value;
-    const separator = this.props.tokenizeOnSpace ? /[ ,\t]+/ : /[,\t]+/;
-    const items = text.split(separator);
-    const tokenValue = Object(external_lodash_["last"])(items) || '';
+  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
+}

-    if (items.length > 1) {
-      this.addNewTokens(items.slice(0, -1));
-    }
+function computeStyles(_ref5) {
+  var state = _ref5.state,
+      options = _ref5.options;
+  var _options$gpuAccelerat = options.gpuAcceleration,
+      gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
+      _options$adaptive = options.adaptive,
+      adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
+      _options$roundOffsets = options.roundOffsets,
+      roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;

-    this.setState({
-      incompleteTokenValue: tokenValue
-    }, this.updateSuggestions);
-    this.props.onInputChange(tokenValue);
-  }
+  if (false) { var transitionProperty; }

-  handleDeleteKey(deleteToken) {
-    let preventDefault = false;
+  var commonStyles = {
+    placement: getBasePlacement(state.placement),
+    variation: getVariation(state.placement),
+    popper: state.elements.popper,
+    popperRect: state.rects.popper,
+    gpuAcceleration: gpuAcceleration,
+    isFixed: state.options.strategy === 'fixed'
+  };

-    if (this.input.hasFocus() && this.isInputEmpty()) {
-      deleteToken();
-      preventDefault = true;
-    }
+  if (state.modifiersData.popperOffsets != null) {
+    state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
+      offsets: state.modifiersData.popperOffsets,
+      position: state.options.strategy,
+      adaptive: adaptive,
+      roundOffsets: roundOffsets
+    })));
+  }

-    return preventDefault;
+  if (state.modifiersData.arrow != null) {
+    state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
+      offsets: state.modifiersData.arrow,
+      position: 'absolute',
+      adaptive: false,
+      roundOffsets: roundOffsets
+    })));
   }

-  handleLeftArrowKey() {
-    let preventDefault = false;
+  state.attributes.popper = Object.assign({}, state.attributes.popper, {
+    'data-popper-placement': state.placement
+  });
+} // eslint-disable-next-line import/no-unused-modules

-    if (this.isInputEmpty()) {
-      this.moveInputBeforePreviousToken();
-      preventDefault = true;
-    }

-    return preventDefault;
-  }
+/* harmony default export */ var modifiers_computeStyles = ({
+  name: 'computeStyles',
+  enabled: true,
+  phase: 'beforeWrite',
+  fn: computeStyles,
+  data: {}
+});
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/applyStyles.js

-  handleRightArrowKey() {
-    let preventDefault = false;
+ // This modifier takes the styles prepared by the `computeStyles` modifier
+// and applies them to the HTMLElements such as popper and arrow

-    if (this.isInputEmpty()) {
-      this.moveInputAfterNextToken();
-      preventDefault = true;
-    }
+function applyStyles(_ref) {
+  var state = _ref.state;
+  Object.keys(state.elements).forEach(function (name) {
+    var style = state.styles[name] || {};
+    var attributes = state.attributes[name] || {};
+    var element = state.elements[name]; // arrow is optional + virtual elements

-    return preventDefault;
-  }
+    if (!isHTMLElement(element) || !getNodeName(element)) {
+      return;
+    } // Flow doesn't support to extend this property, but it's the most
+    // effective way to apply styles to an HTMLElement
+    // $FlowFixMe[cannot-write]

-  handleUpArrowKey() {
-    this.setState((state, props) => ({
-      selectedSuggestionIndex: (state.selectedSuggestionIndex === 0 ? this.getMatchingSuggestions(state.incompleteTokenValue, props.suggestions, props.value, props.maxSuggestions, props.saveTransform).length : state.selectedSuggestionIndex) - 1,
-      selectedSuggestionScroll: true
-    }));
-    return true; // preventDefault
-  }

-  handleDownArrowKey() {
-    this.setState((state, props) => ({
-      selectedSuggestionIndex: (state.selectedSuggestionIndex + 1) % this.getMatchingSuggestions(state.incompleteTokenValue, props.suggestions, props.value, props.maxSuggestions, props.saveTransform).length,
-      selectedSuggestionScroll: true
-    }));
-    return true; // preventDefault
-  }
+    Object.assign(element.style, style);
+    Object.keys(attributes).forEach(function (name) {
+      var value = attributes[name];

-  handleEscapeKey(event) {
-    this.setState({
-      incompleteTokenValue: event.target.value,
-      isExpanded: false,
-      selectedSuggestionIndex: -1,
-      selectedSuggestionScroll: false
+      if (value === false) {
+        element.removeAttribute(name);
+      } else {
+        element.setAttribute(name, value === true ? '' : value);
+      }
     });
-    return true; // preventDefault
-  }
+  });
+}

-  handleCommaKey() {
-    if (this.inputHasValidValue()) {
-      this.addNewToken(this.state.incompleteTokenValue);
-    }
+function applyStyles_effect(_ref2) {
+  var state = _ref2.state;
+  var initialStyles = {
+    popper: {
+      position: state.options.strategy,
+      left: '0',
+      top: '0',
+      margin: '0'
+    },
+    arrow: {
+      position: 'absolute'
+    },
+    reference: {}
+  };
+  Object.assign(state.elements.popper.style, initialStyles.popper);
+  state.styles = initialStyles;

-    return true; // preventDefault
+  if (state.elements.arrow) {
+    Object.assign(state.elements.arrow.style, initialStyles.arrow);
   }

-  moveInputToIndex(index) {
-    this.setState((state, props) => ({
-      inputOffsetFromEnd: props.value.length - Math.max(index, -1) - 1
-    }));
-  }
+  return function () {
+    Object.keys(state.elements).forEach(function (name) {
+      var element = state.elements[name];
+      var attributes = state.attributes[name] || {};
+      var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them

-  moveInputBeforePreviousToken() {
-    this.setState((state, props) => ({
-      inputOffsetFromEnd: Math.min(state.inputOffsetFromEnd + 1, props.value.length)
-    }));
-  }
+      var style = styleProperties.reduce(function (style, property) {
+        style[property] = '';
+        return style;
+      }, {}); // arrow is optional + virtual elements

-  moveInputAfterNextToken() {
-    this.setState(state => ({
-      inputOffsetFromEnd: Math.max(state.inputOffsetFromEnd - 1, 0)
-    }));
-  }
+      if (!isHTMLElement(element) || !getNodeName(element)) {
+        return;
+      }

-  deleteTokenBeforeInput() {
-    const index = this.getIndexOfInput() - 1;
+      Object.assign(element.style, style);
+      Object.keys(attributes).forEach(function (attribute) {
+        element.removeAttribute(attribute);
+      });
+    });
+  };
+} // eslint-disable-next-line import/no-unused-modules

-    if (index > -1) {
-      this.deleteToken(this.props.value[index]);
-    }
-  }

-  deleteTokenAfterInput() {
-    const index = this.getIndexOfInput();
+/* harmony default export */ var modifiers_applyStyles = ({
+  name: 'applyStyles',
+  enabled: true,
+  phase: 'write',
+  fn: applyStyles,
+  effect: applyStyles_effect,
+  requires: ['computeStyles']
+});
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/offset.js

-    if (index < this.props.value.length) {
-      this.deleteToken(this.props.value[index]); // update input offset since it's the offset from the last token
+ // eslint-disable-next-line import/no-unused-modules

-      this.moveInputToIndex(index);
-    }
-  }
+function distanceAndSkiddingToXY(placement, rects, offset) {
+  var basePlacement = getBasePlacement(placement);
+  var invertDistance = [left, enums_top].indexOf(basePlacement) >= 0 ? -1 : 1;

-  addCurrentToken() {
-    let preventDefault = false;
-    const selectedSuggestion = this.getSelectedSuggestion();
+  var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
+    placement: placement
+  })) : offset,
+      skidding = _ref[0],
+      distance = _ref[1];

-    if (selectedSuggestion) {
-      this.addNewToken(selectedSuggestion);
-      preventDefault = true;
-    } else if (this.inputHasValidValue()) {
-      this.addNewToken(this.state.incompleteTokenValue);
-      preventDefault = true;
-    }
+  skidding = skidding || 0;
+  distance = (distance || 0) * invertDistance;
+  return [left, right].indexOf(basePlacement) >= 0 ? {
+    x: distance,
+    y: skidding
+  } : {
+    x: skidding,
+    y: distance
+  };
+}

-    return preventDefault;
+function offset(_ref2) {
+  var state = _ref2.state,
+      options = _ref2.options,
+      name = _ref2.name;
+  var _options$offset = options.offset,
+      offset = _options$offset === void 0 ? [0, 0] : _options$offset;
+  var data = enums_placements.reduce(function (acc, placement) {
+    acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
+    return acc;
+  }, {});
+  var _data$state$placement = data[state.placement],
+      x = _data$state$placement.x,
+      y = _data$state$placement.y;
+
+  if (state.modifiersData.popperOffsets != null) {
+    state.modifiersData.popperOffsets.x += x;
+    state.modifiersData.popperOffsets.y += y;
   }

-  addNewTokens(tokens) {
-    const tokensToAdd = Object(external_lodash_["uniq"])(tokens.map(this.props.saveTransform).filter(Boolean).filter(token => !this.valueContainsToken(token)));
+  state.modifiersData[name] = data;
+} // eslint-disable-next-line import/no-unused-modules

-    if (tokensToAdd.length > 0) {
-      const newValue = Object(external_lodash_["clone"])(this.props.value);
-      newValue.splice.apply(newValue, [this.getIndexOfInput(), 0].concat(tokensToAdd));
-      this.props.onChange(newValue);
-    }
-  }

-  addNewToken(token) {
-    const {
-      __experimentalExpandOnFocus,
-      __experimentalValidateInput
-    } = this.props;
+/* harmony default export */ var modifiers_offset = ({
+  name: 'offset',
+  enabled: true,
+  phase: 'main',
+  requires: ['popperOffsets'],
+  fn: offset
+});
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js
+var getOppositePlacement_hash = {
+  left: 'right',
+  right: 'left',
+  bottom: 'top',
+  top: 'bottom'
+};
+function getOppositePlacement(placement) {
+  return placement.replace(/left|right|bottom|top/g, function (matched) {
+    return getOppositePlacement_hash[matched];
+  });
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
+var getOppositeVariationPlacement_hash = {
+  start: 'end',
+  end: 'start'
+};
+function getOppositeVariationPlacement(placement) {
+  return placement.replace(/start|end/g, function (matched) {
+    return getOppositeVariationPlacement_hash[matched];
+  });
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js

-    if (!__experimentalValidateInput(token)) {
-      this.props.speak(this.props.messages.__experimentalInvalid, 'assertive');
-      return;
-    }

-    this.addNewTokens([token]);
-    this.props.speak(this.props.messages.added, 'assertive');
-    this.setState({
-      incompleteTokenValue: '',
-      selectedSuggestionIndex: -1,
-      selectedSuggestionScroll: false,
-      isExpanded: !__experimentalExpandOnFocus
-    });

-    if (this.state.isActive) {
-      this.input.focus();
-    }
-  }
+function getViewportRect(element) {
+  var win = getWindow_getWindow(element);
+  var html = getDocumentElement(element);
+  var visualViewport = win.visualViewport;
+  var width = html.clientWidth;
+  var height = html.clientHeight;
+  var x = 0;
+  var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper
+  // can be obscured underneath it.
+  // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even
+  // if it isn't open, so if this isn't available, the popper will be detected
+  // to overflow the bottom of the screen too early.

-  deleteToken(token) {
-    const newTokens = this.props.value.filter(item => {
-      return this.getTokenValue(item) !== this.getTokenValue(token);
-    });
-    this.props.onChange(newTokens);
-    this.props.speak(this.props.messages.removed, 'assertive');
-  }
+  if (visualViewport) {
+    width = visualViewport.width;
+    height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)
+    // In Chrome, it returns a value very close to 0 (+/-) but contains rounding
+    // errors due to floating point numbers, so we need to check precision.
+    // Safari returns a number <= 0, usually < -1 when pinch-zoomed
+    // Feature detection fails in mobile emulation mode in Chrome.
+    // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <
+    // 0.001
+    // Fallback here: "Not Safari" userAgent

-  getTokenValue(token) {
-    if ('object' === typeof token) {
-      return token.value;
+    if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
+      x = visualViewport.offsetLeft;
+      y = visualViewport.offsetTop;
     }
-
-    return token;
   }

-  getMatchingSuggestions() {
-    let searchValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.state.incompleteTokenValue;
-    let suggestions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.props.suggestions;
-    let value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.props.value;
-    let maxSuggestions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : this.props.maxSuggestions;
-    let saveTransform = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.props.saveTransform;
-    let match = saveTransform(searchValue);
-    const startsWithMatch = [];
-    const containsMatch = [];
+  return {
+    width: width,
+    height: height,
+    x: x + getWindowScrollBarX(element),
+    y: y
+  };
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js

-    if (match.length === 0) {
-      suggestions = Object(external_lodash_["difference"])(suggestions, value);
-    } else {
-      match = match.toLocaleLowerCase();
-      Object(external_lodash_["each"])(suggestions, suggestion => {
-        const index = suggestion.toLocaleLowerCase().indexOf(match);

-        if (value.indexOf(suggestion) === -1) {
-          if (index === 0) {
-            startsWithMatch.push(suggestion);
-          } else if (index > 0) {
-            containsMatch.push(suggestion);
-          }
-        }
-      });
-      suggestions = startsWithMatch.concat(containsMatch);
-    }

-    return Object(external_lodash_["take"])(suggestions, maxSuggestions);
-  }

-  getSelectedSuggestion() {
-    if (this.state.selectedSuggestionIndex !== -1) {
-      return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex];
-    }
-  }
+ // Gets the entire size of the scrollable document area, even extending outside
+// of the `<html>` and `<body>` rect bounds if horizontally scrollable

-  valueContainsToken(token) {
-    return Object(external_lodash_["some"])(this.props.value, item => {
-      return this.getTokenValue(token) === this.getTokenValue(item);
-    });
-  }
+function getDocumentRect(element) {
+  var _element$ownerDocumen;

-  getIndexOfInput() {
-    return this.props.value.length - this.state.inputOffsetFromEnd;
-  }
+  var html = getDocumentElement(element);
+  var winScroll = getWindowScroll(element);
+  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
+  var width = math_max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
+  var height = math_max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
+  var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
+  var y = -winScroll.scrollTop;

-  isInputEmpty() {
-    return this.state.incompleteTokenValue.length === 0;
+  if (getComputedStyle_getComputedStyle(body || html).direction === 'rtl') {
+    x += math_max(html.clientWidth, body ? body.clientWidth : 0) - width;
   }

-  inputHasValidValue() {
-    return this.props.saveTransform(this.state.incompleteTokenValue).length > 0;
-  }
+  return {
+    width: width,
+    height: height,
+    x: x,
+    y: y
+  };
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/contains.js

-  updateSuggestions() {
-    let resetSelectedSuggestion = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
-    const {
-      __experimentalExpandOnFocus
-    } = this.props;
-    const {
-      incompleteTokenValue
-    } = this.state;
-    const inputHasMinimumChars = incompleteTokenValue.trim().length > 1;
-    const matchingSuggestions = this.getMatchingSuggestions(incompleteTokenValue);
-    const hasMatchingSuggestions = matchingSuggestions.length > 0;
-    const newState = {
-      isExpanded: __experimentalExpandOnFocus || inputHasMinimumChars && hasMatchingSuggestions
-    };
+function contains_contains(parent, child) {
+  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method

-    if (resetSelectedSuggestion) {
-      newState.selectedSuggestionIndex = -1;
-      newState.selectedSuggestionScroll = false;
-    }
+  if (parent.contains(child)) {
+    return true;
+  } // then fallback to custom implementation with Shadow DOM support
+  else if (rootNode && isShadowRoot(rootNode)) {
+      var next = child;

-    this.setState(newState);
+      do {
+        if (next && parent.isSameNode(next)) {
+          return true;
+        } // $FlowFixMe[prop-missing]: need a better way to handle this...

-    if (inputHasMinimumChars) {
-      const {
-        debouncedSpeak
-      } = this.props;
-      const message = hasMatchingSuggestions ? Object(external_wp_i18n_["sprintf"])(
-      /* translators: %d: number of results. */
-      Object(external_wp_i18n_["_n"])('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', matchingSuggestions.length), matchingSuggestions.length) : Object(external_wp_i18n_["__"])('No results.');
-      debouncedSpeak(message, 'assertive');
-    }
-  }

-  renderTokensAndInput() {
-    const components = Object(external_lodash_["map"])(this.props.value, this.renderToken);
-    components.splice(this.getIndexOfInput(), 0, this.renderInput());
-    return components;
-  }
+        next = next.parentNode || next.host;
+      } while (next);
+    } // Give up, the result is false

-  renderToken(token, index, tokens) {
-    const value = this.getTokenValue(token);
-    const status = token.status ? token.status : undefined;
-    const termPosition = index + 1;
-    const termsCount = tokens.length;
-    return Object(external_wp_element_["createElement"])(Token, {
-      key: 'token-' + value,
-      value: value,
-      status: status,
-      title: token.title,
-      displayTransform: this.props.displayTransform,
-      onClickRemove: this.onTokenClickRemove,
-      isBorderless: token.isBorderless || this.props.isBorderless,
-      onMouseEnter: token.onMouseEnter,
-      onMouseLeave: token.onMouseLeave,
-      disabled: 'error' !== status && this.props.disabled,
-      messages: this.props.messages,
-      termsCount: termsCount,
-      termPosition: termPosition
-    });
-  }

-  renderInput() {
-    const {
-      autoCapitalize,
-      autoComplete,
-      maxLength,
-      placeholder,
-      value,
-      instanceId
-    } = this.props;
-    let props = {
-      instanceId,
-      autoCapitalize,
-      autoComplete,
-      placeholder: value.length === 0 ? placeholder : '',
-      ref: this.bindInput,
-      key: 'input',
-      disabled: this.props.disabled,
-      value: this.state.incompleteTokenValue,
-      onBlur: this.onBlur,
-      isExpanded: this.state.isExpanded,
-      selectedSuggestionIndex: this.state.selectedSuggestionIndex
-    };
+  return false;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/rectToClientRect.js
+function rectToClientRect(rect) {
+  return Object.assign({}, rect, {
+    left: rect.x,
+    top: rect.y,
+    right: rect.x + rect.width,
+    bottom: rect.y + rect.height
+  });
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js

-    if (!(maxLength && value.length >= maxLength)) {
-      props = { ...props,
-        onChange: this.onInputChange
-      };
-    }

-    return Object(external_wp_element_["createElement"])(token_input, props);
-  }

-  render() {
-    const {
-      disabled,
-      label = Object(external_wp_i18n_["__"])('Add item'),
-      instanceId,
-      className,
-      __experimentalShowHowTo
-    } = this.props;
-    const {
-      isExpanded
-    } = this.state;
-    const classes = classnames_default()(className, 'components-form-token-field__input-container', {
-      'is-active': this.state.isActive,
-      'is-disabled': disabled
-    });
-    let tokenFieldProps = {
-      className: 'components-form-token-field',
-      tabIndex: '-1'
-    };
-    const matchingSuggestions = this.getMatchingSuggestions();

-    if (!disabled) {
-      tokenFieldProps = Object.assign({}, tokenFieldProps, {
-        onKeyDown: this.onKeyDown,
-        onKeyPress: this.onKeyPress,
-        onFocus: this.onFocus
-      });
-    } // Disable reason: There is no appropriate role which describes the
-    // input container intended accessible usability.
-    // TODO: Refactor click detection to use blur to stop propagation.

-    /* eslint-disable jsx-a11y/no-static-element-interactions */


-    return Object(external_wp_element_["createElement"])("div", tokenFieldProps, Object(external_wp_element_["createElement"])("label", {
-      htmlFor: `components-form-token-input-${instanceId}`,
-      className: "components-form-token-field__label"
-    }, label), Object(external_wp_element_["createElement"])("div", {
-      ref: this.bindTokensAndInput,
-      className: classes,
-      tabIndex: "-1",
-      onMouseDown: this.onContainerTouched,
-      onTouchStart: this.onContainerTouched
-    }, this.renderTokensAndInput(), isExpanded && Object(external_wp_element_["createElement"])(suggestions_list, {
-      instanceId: instanceId,
-      match: this.props.saveTransform(this.state.incompleteTokenValue),
-      displayTransform: this.props.displayTransform,
-      suggestions: matchingSuggestions,
-      selectedIndex: this.state.selectedSuggestionIndex,
-      scrollIntoView: this.state.selectedSuggestionScroll,
-      onHover: this.onSuggestionHovered,
-      onSelect: this.onSuggestionSelected
-    })), __experimentalShowHowTo && Object(external_wp_element_["createElement"])("p", {
-      id: `components-form-token-suggestions-howto-${instanceId}`,
-      className: "components-form-token-field__help"
-    }, this.props.tokenizeOnSpace ? Object(external_wp_i18n_["__"])('Separate with commas, spaces, or the Enter key.') : Object(external_wp_i18n_["__"])('Separate with commas or the Enter key.')));
-    /* eslint-enable jsx-a11y/no-static-element-interactions */
-  }

-}

-form_token_field_FormTokenField.defaultProps = {
-  suggestions: Object.freeze([]),
-  maxSuggestions: 100,
-  value: Object.freeze([]),
-  displayTransform: external_lodash_["identity"],
-  saveTransform: token => token.trim(),
-  onChange: () => {},
-  onInputChange: () => {},
-  isBorderless: false,
-  disabled: false,
-  tokenizeOnSpace: false,
-  messages: {
-    added: Object(external_wp_i18n_["__"])('Item added.'),
-    removed: Object(external_wp_i18n_["__"])('Item removed.'),
-    remove: Object(external_wp_i18n_["__"])('Remove item'),
-    __experimentalInvalid: Object(external_wp_i18n_["__"])('Invalid item')
-  },
-  __experimentalExpandOnFocus: false,
-  __experimentalValidateInput: () => true,
-  __experimentalShowHowTo: true
-};
-/* harmony default export */ var form_token_field = (with_spoken_messages(Object(external_wp_compose_["withInstanceId"])(form_token_field_FormTokenField)));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/grid/utils.js
-const grid_utils_ALIGNMENTS = {
-  bottom: {
-    alignItems: 'flex-end',
-    justifyContent: 'center'
-  },
-  bottomLeft: {
-    alignItems: 'flex-start',
-    justifyContent: 'flex-end'
-  },
-  bottomRight: {
-    alignItems: 'flex-end',
-    justifyContent: 'flex-end'
-  },
-  center: {
-    alignItems: 'center',
-    justifyContent: 'center'
-  },
-  spaced: {
-    alignItems: 'center',
-    justifyContent: 'space-between'
-  },
-  left: {
-    alignItems: 'center',
-    justifyContent: 'flex-start'
-  },
-  right: {
-    alignItems: 'center',
-    justifyContent: 'flex-end'
-  },
-  stretch: {
-    alignItems: 'stretch'
-  },
-  top: {
-    alignItems: 'flex-start',
-    justifyContent: 'center'
-  },
-  topLeft: {
-    alignItems: 'flex-start',
-    justifyContent: 'flex-start'
-  },
-  topRight: {
-    alignItems: 'flex-start',
-    justifyContent: 'flex-end'
-  }
-};
-/* eslint-disable jsdoc/valid-types */

-/**
- * @param {keyof typeof ALIGNMENTS | undefined} alignment
- * @return {{ alignItems?: import('react').CSSProperties['alignItems'], justifyContent?: import('react').CSSProperties['justifyContent']}} CSS props for alignment
- */

-function utils_getAlignmentProps(alignment) {
-  const alignmentProps = alignment ? grid_utils_ALIGNMENTS[alignment] : {};
-  return alignmentProps;
-}
-/* eslint-enable jsdoc/valid-types */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/grid/hook.js
-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */

+function getInnerBoundingClientRect(element) {
+  var rect = getBoundingClientRect(element);
+  rect.top = rect.top + element.clientTop;
+  rect.left = rect.left + element.clientLeft;
+  rect.bottom = rect.top + element.clientHeight;
+  rect.right = rect.left + element.clientWidth;
+  rect.width = element.clientWidth;
+  rect.height = element.clientHeight;
+  rect.x = rect.left;
+  rect.y = rect.top;
+  return rect;
+}

-/**
- * Internal dependencies
- */
+function getClientRectFromMixedType(element, clippingParent) {
+  return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
+} // A "clipping parent" is an overflowable container with the characteristic of
+// clipping (or hiding) overflowing elements with a position different from
+// `initial`


+function getClippingParents(element) {
+  var clippingParents = listScrollParents(getParentNode(element));
+  var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle_getComputedStyle(element).position) >= 0;
+  var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;

+  if (!isElement(clipperElement)) {
+    return [];
+  } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414


+  return clippingParents.filter(function (clippingParent) {
+    return isElement(clippingParent) && contains_contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
+  });
+} // Gets the maximum area that the element is visible in due to any number of
+// clipping parents

-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- */

-function useGrid(props) {
-  const {
-    align,
-    alignment,
-    className,
-    columnGap,
-    columns = 2,
-    gap = 3,
-    isInline = false,
-    justify,
-    rowGap,
-    rows,
-    templateColumns,
-    templateRows,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'Grid');
-  const columnsAsArray = Array.isArray(columns) ? columns : [columns];
-  const column = useResponsiveValue(columnsAsArray);
-  const rowsAsArray = Array.isArray(rows) ? rows : [rows];
-  const row = useResponsiveValue(rowsAsArray);
-  const gridTemplateColumns = templateColumns || !!columns && `repeat( ${column}, 1fr )`;
-  const gridTemplateRows = templateRows || !!rows && `repeat( ${row}, 1fr )`;
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    const alignmentProps = utils_getAlignmentProps(alignment);
-    const gridClasses = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-      alignItems: align,
-      display: isInline ? 'inline-grid' : 'grid',
-      gap: `calc( ${config_values.gridBase} * ${gap} )`,
-      gridTemplateColumns: gridTemplateColumns || undefined,
-      gridTemplateRows: gridTemplateRows || undefined,
-      gridRowGap: rowGap,
-      gridColumnGap: columnGap,
-      justifyContent: justify,
-      verticalAlign: isInline ? 'middle' : undefined,
-      ...alignmentProps
-    },  true ? "" : undefined,  true ? "" : undefined);
-    return cx(gridClasses, className);
-  }, [align, alignment, className, columnGap, gap, gridTemplateColumns, gridTemplateRows, isInline, justify, rowGap]);
-  return { ...otherProps,
-    className: classes
+function getClippingRect(element, boundary, rootBoundary) {
+  var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
+  var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
+  var firstClippingParent = clippingParents[0];
+  var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
+    var rect = getClientRectFromMixedType(element, clippingParent);
+    accRect.top = math_max(rect.top, accRect.top);
+    accRect.right = math_min(rect.right, accRect.right);
+    accRect.bottom = math_min(rect.bottom, accRect.bottom);
+    accRect.left = math_max(rect.left, accRect.left);
+    return accRect;
+  }, getClientRectFromMixedType(element, firstClippingParent));
+  clippingRect.width = clippingRect.right - clippingRect.left;
+  clippingRect.height = clippingRect.bottom - clippingRect.top;
+  clippingRect.x = clippingRect.left;
+  clippingRect.y = clippingRect.top;
+  return clippingRect;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js
+function getFreshSideObject() {
+  return {
+    top: 0,
+    right: 0,
+    bottom: 0,
+    left: 0
   };
 }
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/grid/component.js
+function mergePaddingObject(paddingObject) {
+  return Object.assign({}, getFreshSideObject(), paddingObject);
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/expandToHashMap.js
+function expandToHashMap(value, keys) {
+  return keys.reduce(function (hashMap, key) {
+    hashMap[key] = value;
+    return hashMap;
+  }, {});
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/detectOverflow.js



-/**
- * Internal dependencies
- */



-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- * @param {import('react').Ref<any>}                                                        forwardedRef
- */

-function Grid(props, forwardedRef) {
-  const gridProps = useGrid(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, gridProps, {
-    ref: forwardedRef
-  }));
-}
-/**
- * `Grid` is a primitive layout component that can arrange content in a grid configuration.
- *
- * @example
- * ```jsx
- * import {
- * 	__experimentalGrid as Grid,
- * 	__experimentalText as Text
- * } from `@wordpress/components`;
- *
- * function Example() {
- * 	return (
- * 		<Grid columns={ 3 }>
- * 			<Text>Code</Text>
- * 			<Text>is</Text>
- * 			<Text>Poetry</Text>
- * 		</Grid>
- * 	);
- * }
- * ```
- */

+ // eslint-disable-next-line import/no-unused-modules

-const ConnectedGrid = Object(context_connect["a" /* contextConnect */])(Grid, 'Grid');
-/* harmony default export */ var grid_component = (ConnectedGrid);
+function detectOverflow(state, options) {
+  if (options === void 0) {
+    options = {};
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/modal/aria-helper.js
-/**
- * External dependencies
- */
+  var _options = options,
+      _options$placement = _options.placement,
+      placement = _options$placement === void 0 ? state.placement : _options$placement,
+      _options$boundary = _options.boundary,
+      boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
+      _options$rootBoundary = _options.rootBoundary,
+      rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
+      _options$elementConte = _options.elementContext,
+      elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,
+      _options$altBoundary = _options.altBoundary,
+      altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
+      _options$padding = _options.padding,
+      padding = _options$padding === void 0 ? 0 : _options$padding;
+  var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
+  var altContext = elementContext === popper ? reference : popper;
+  var popperRect = state.rects.popper;
+  var element = state.elements[altBoundary ? altContext : elementContext];
+  var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
+  var referenceClientRect = getBoundingClientRect(state.elements.reference);
+  var popperOffsets = computeOffsets({
+    reference: referenceClientRect,
+    element: popperRect,
+    strategy: 'absolute',
+    placement: placement
+  });
+  var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
+  var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
+  // 0 or negative = within the clipping rect

-const LIVE_REGION_ARIA_ROLES = new Set(['alert', 'status', 'log', 'marquee', 'timer']);
-let hiddenElements = [],
-    isHidden = false;
-/**
- * Hides all elements in the body element from screen-readers except
- * the provided element and elements that should not be hidden from
- * screen-readers.
- *
- * The reason we do this is because `aria-modal="true"` currently is bugged
- * in Safari, and support is spotty in other browsers overall. In the future
- * we should consider removing these helper functions in favor of
- * `aria-modal="true"`.
- *
- * @param {Element} unhiddenElement The element that should not be hidden.
- */
+  var overflowOffsets = {
+    top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
+    bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
+    left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
+    right: elementClientRect.right - clippingClientRect.right + paddingObject.right
+  };
+  var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element

-function hideApp(unhiddenElement) {
-  if (isHidden) {
-    return;
+  if (elementContext === popper && offsetData) {
+    var offset = offsetData[placement];
+    Object.keys(overflowOffsets).forEach(function (key) {
+      var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;
+      var axis = [enums_top, bottom].indexOf(key) >= 0 ? 'y' : 'x';
+      overflowOffsets[key] += offset[axis] * multiply;
+    });
   }

-  const elements = document.body.children;
-  Object(external_lodash_["forEach"])(elements, element => {
-    if (element === unhiddenElement) {
-      return;
-    }
+  return overflowOffsets;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js

-    if (elementShouldBeHidden(element)) {
-      element.setAttribute('aria-hidden', 'true');
-      hiddenElements.push(element);
-    }
+
+
+
+function computeAutoPlacement(state, options) {
+  if (options === void 0) {
+    options = {};
+  }
+
+  var _options = options,
+      placement = _options.placement,
+      boundary = _options.boundary,
+      rootBoundary = _options.rootBoundary,
+      padding = _options.padding,
+      flipVariations = _options.flipVariations,
+      _options$allowedAutoP = _options.allowedAutoPlacements,
+      allowedAutoPlacements = _options$allowedAutoP === void 0 ? enums_placements : _options$allowedAutoP;
+  var variation = getVariation(placement);
+  var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
+    return getVariation(placement) === variation;
+  }) : basePlacements;
+  var allowedPlacements = placements.filter(function (placement) {
+    return allowedAutoPlacements.indexOf(placement) >= 0;
+  });
+
+  if (allowedPlacements.length === 0) {
+    allowedPlacements = placements;
+
+    if (false) {}
+  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
+
+
+  var overflows = allowedPlacements.reduce(function (acc, placement) {
+    acc[placement] = detectOverflow(state, {
+      placement: placement,
+      boundary: boundary,
+      rootBoundary: rootBoundary,
+      padding: padding
+    })[getBasePlacement(placement)];
+    return acc;
+  }, {});
+  return Object.keys(overflows).sort(function (a, b) {
+    return overflows[a] - overflows[b];
   });
-  isHidden = true;
 }
-/**
- * Determines if the passed element should not be hidden from screen readers.
- *
- * @param {HTMLElement} element The element that should be checked.
- *
- * @return {boolean} Whether the element should not be hidden from screen-readers.
- */
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/flip.js

-function elementShouldBeHidden(element) {
-  const role = element.getAttribute('role');
-  return !(element.tagName === 'SCRIPT' || element.hasAttribute('aria-hidden') || element.hasAttribute('aria-live') || LIVE_REGION_ARIA_ROLES.has(role));
+
+
+
+
+
+ // eslint-disable-next-line import/no-unused-modules
+
+function getExpandedFallbackPlacements(placement) {
+  if (getBasePlacement(placement) === enums_auto) {
+    return [];
+  }
+
+  var oppositePlacement = getOppositePlacement(placement);
+  return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
 }
-/**
- * Makes all elements in the body that have been hidden by `hideApp`
- * visible again to screen-readers.
- */

-function showApp() {
-  if (!isHidden) {
+function flip(_ref) {
+  var state = _ref.state,
+      options = _ref.options,
+      name = _ref.name;
+
+  if (state.modifiersData[name]._skip) {
     return;
   }

-  Object(external_lodash_["forEach"])(hiddenElements, element => {
-    element.removeAttribute('aria-hidden');
-  });
-  hiddenElements = [];
-  isHidden = false;
-}
+  var _options$mainAxis = options.mainAxis,
+      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
+      _options$altAxis = options.altAxis,
+      checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
+      specifiedFallbackPlacements = options.fallbackPlacements,
+      padding = options.padding,
+      boundary = options.boundary,
+      rootBoundary = options.rootBoundary,
+      altBoundary = options.altBoundary,
+      _options$flipVariatio = options.flipVariations,
+      flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
+      allowedAutoPlacements = options.allowedAutoPlacements;
+  var preferredPlacement = state.options.placement;
+  var basePlacement = getBasePlacement(preferredPlacement);
+  var isBasePlacement = basePlacement === preferredPlacement;
+  var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
+  var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {
+    return acc.concat(getBasePlacement(placement) === enums_auto ? computeAutoPlacement(state, {
+      placement: placement,
+      boundary: boundary,
+      rootBoundary: rootBoundary,
+      padding: padding,
+      flipVariations: flipVariations,
+      allowedAutoPlacements: allowedAutoPlacements
+    }) : placement);
+  }, []);
+  var referenceRect = state.rects.reference;
+  var popperRect = state.rects.popper;
+  var checksMap = new Map();
+  var makeFallbackChecks = true;
+  var firstFittingPlacement = placements[0];

-// EXTERNAL MODULE: ./node_modules/@emotion/react/dist/emotion-element-699e6908.browser.esm.js
-var emotion_element_699e6908_browser_esm = __webpack_require__("ek6p");
+  for (var i = 0; i < placements.length; i++) {
+    var placement = placements[i];
+
+    var _basePlacement = getBasePlacement(placement);

-// EXTERNAL MODULE: ./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js + 1 modules
-var emotion_cache_browser_esm = __webpack_require__("+1VY");
+    var isStartVariation = getVariation(placement) === start;
+    var isVertical = [enums_top, bottom].indexOf(_basePlacement) >= 0;
+    var len = isVertical ? 'width' : 'height';
+    var overflow = detectOverflow(state, {
+      placement: placement,
+      boundary: boundary,
+      rootBoundary: rootBoundary,
+      altBoundary: altBoundary,
+      padding: padding
+    });
+    var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : enums_top;

-// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules
-var v4 = __webpack_require__("7Cbv");
+    if (referenceRect[len] > popperRect[len]) {
+      mainVariationSide = getOppositePlacement(mainVariationSide);
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/style-provider/index.js
+    var altVariationSide = getOppositePlacement(mainVariationSide);
+    var checks = [];

+    if (checkMainAxis) {
+      checks.push(overflow[_basePlacement] <= 0);
+    }

-/**
- * External dependencies
- */
+    if (checkAltAxis) {
+      checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
+    }
+
+    if (checks.every(function (check) {
+      return check;
+    })) {
+      firstFittingPlacement = placement;
+      makeFallbackChecks = false;
+      break;
+    }
+
+    checksMap.set(placement, checks);
+  }
+
+  if (makeFallbackChecks) {
+    // `2` may be desired in some cases – research later
+    var numberOfChecks = flipVariations ? 3 : 1;
+
+    var _loop = function _loop(_i) {
+      var fittingPlacement = placements.find(function (placement) {
+        var checks = checksMap.get(placement);

+        if (checks) {
+          return checks.slice(0, _i).every(function (check) {
+            return check;
+          });
+        }
+      });

+      if (fittingPlacement) {
+        firstFittingPlacement = fittingPlacement;
+        return "break";
+      }
+    };

+    for (var _i = numberOfChecks; _i > 0; _i--) {
+      var _ret = _loop(_i);

-const uuidCache = new Set();
-const memoizedCreateCacheWithContainer = memize_default()(container => {
-  // emotion only accepts alphabetical and hyphenated keys so we just strip the numbers from the UUID. It _should_ be fine.
-  let key = v4["a" /* default */]().replace(/[0-9]/g, '');
+      if (_ret === "break") break;
+    }
+  }

-  while (uuidCache.has(key)) {
-    key = v4["a" /* default */]().replace(/[0-9]/g, '');
+  if (state.placement !== firstFittingPlacement) {
+    state.modifiersData[name]._skip = true;
+    state.placement = firstFittingPlacement;
+    state.reset = true;
   }
+} // eslint-disable-next-line import/no-unused-modules

-  uuidCache.add(key);
-  return Object(emotion_cache_browser_esm["a" /* default */])({
-    container,
-    key
-  });
-});
-function StyleProvider(_ref) {
-  let {
-    children,
-    document
-  } = _ref;

-  if (!document) {
-    return null;
+/* harmony default export */ var modifiers_flip = ({
+  name: 'flip',
+  enabled: true,
+  phase: 'main',
+  fn: flip,
+  requiresIfExists: ['offset'],
+  data: {
+    _skip: false
   }
-
-  const cache = memoizedCreateCacheWithContainer(document.head);
-  return Object(external_wp_element_["createElement"])(emotion_element_699e6908_browser_esm["a" /* C */], {
-    value: cache
-  }, children);
+});
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/getAltAxis.js
+function getAltAxis(axis) {
+  return axis === 'x' ? 'y' : 'x';
 }
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/utils/within.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/modal/index.js
-
-
-
-/**
- * External dependencies
- */
+function within(min, value, max) {
+  return math_max(min, math_min(value, max));
+}
+function withinMaxClamp(min, value, max) {
+  var v = within(min, value, max);
+  return v > max ? max : v;
+}
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js

-/**
- * WordPress dependencies
- */



@@ -52955,848 +48336,794 @@ function StyleProvider(_ref) {



-/**
- * Internal dependencies
- */



- // Used to count the number of open modals.

-let openModalCount = 0;
-function Modal(_ref) {
-  let {
-    bodyOpenClassName = 'modal-open',
-    role = 'dialog',
-    title = null,
-    focusOnMount = true,
-    shouldCloseOnEsc = true,
-    shouldCloseOnClickOutside = true,
-    isDismissable,
-    // Deprecated
-    isDismissible = isDismissable || true,
+function preventOverflow(_ref) {
+  var state = _ref.state,
+      options = _ref.options,
+      name = _ref.name;
+  var _options$mainAxis = options.mainAxis,
+      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
+      _options$altAxis = options.altAxis,
+      checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
+      boundary = options.boundary,
+      rootBoundary = options.rootBoundary,
+      altBoundary = options.altBoundary,
+      padding = options.padding,
+      _options$tether = options.tether,
+      tether = _options$tether === void 0 ? true : _options$tether,
+      _options$tetherOffset = options.tetherOffset,
+      tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
+  var overflow = detectOverflow(state, {
+    boundary: boundary,
+    rootBoundary: rootBoundary,
+    padding: padding,
+    altBoundary: altBoundary
+  });
+  var basePlacement = getBasePlacement(state.placement);
+  var variation = getVariation(state.placement);
+  var isBasePlacement = !variation;
+  var mainAxis = getMainAxisFromPlacement(basePlacement);
+  var altAxis = getAltAxis(mainAxis);
+  var popperOffsets = state.modifiersData.popperOffsets;
+  var referenceRect = state.rects.reference;
+  var popperRect = state.rects.popper;
+  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
+    placement: state.placement
+  })) : tetherOffset;
+  var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
+    mainAxis: tetherOffsetValue,
+    altAxis: tetherOffsetValue
+  } : Object.assign({
+    mainAxis: 0,
+    altAxis: 0
+  }, tetherOffsetValue);
+  var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
+  var data = {
+    x: 0,
+    y: 0
+  };

-    /* accessibility */
-    aria = {
-      labelledby: null,
-      describedby: null
-    },
-    onRequestClose,
-    icon,
-    closeButtonLabel,
-    children,
-    style,
-    overlayClassName,
-    className,
-    contentLabel,
-    onKeyDown,
-    isFullScreen = false
-  } = _ref;
-  const ref = Object(external_wp_element_["useRef"])();
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(Modal);
-  const headingId = title ? `components-modal-header-${instanceId}` : aria.labelledby;
-  const focusOnMountRef = Object(external_wp_compose_["useFocusOnMount"])(focusOnMount);
-  const constrainedTabbingRef = Object(external_wp_compose_["useConstrainedTabbing"])();
-  const focusReturnRef = Object(external_wp_compose_["useFocusReturn"])();
-  const focusOutsideProps = Object(external_wp_compose_["__experimentalUseFocusOutside"])(onRequestClose);
-  Object(external_wp_element_["useEffect"])(() => {
-    openModalCount++;
+  if (!popperOffsets) {
+    return;
+  }

-    if (openModalCount === 1) {
-      hideApp(ref.current);
-      document.body.classList.add(bodyOpenClassName);
-    }
+  if (checkMainAxis) {
+    var _offsetModifierState$;

-    return () => {
-      openModalCount--;
+    var mainSide = mainAxis === 'y' ? enums_top : left;
+    var altSide = mainAxis === 'y' ? bottom : right;
+    var len = mainAxis === 'y' ? 'height' : 'width';
+    var offset = popperOffsets[mainAxis];
+    var min = offset + overflow[mainSide];
+    var max = offset - overflow[altSide];
+    var additive = tether ? -popperRect[len] / 2 : 0;
+    var minLen = variation === start ? referenceRect[len] : popperRect[len];
+    var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
+    // outside the reference bounds

-      if (openModalCount === 0) {
-        document.body.classList.remove(bodyOpenClassName);
-        showApp();
-      }
+    var arrowElement = state.elements.arrow;
+    var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
+      width: 0,
+      height: 0
     };
-  }, []);
+    var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();
+    var arrowPaddingMin = arrowPaddingObject[mainSide];
+    var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
+    // to include its full size in the calculation. If the reference is small
+    // and near the edge of a boundary, the popper can overflow even if the
+    // reference is not overflowing as well (e.g. virtual elements with no
+    // width or height)

-  if (isDismissable) {
-    external_wp_deprecated_default()('isDismissable prop of the Modal component', {
-      since: '5.4',
-      alternative: 'isDismissible prop (renamed) of the Modal component'
-    });
+    var arrowLen = within(0, referenceRect[len], arrowRect[len]);
+    var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
+    var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
+    var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
+    var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
+    var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
+    var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
+    var tetherMax = offset + maxOffset - offsetModifierValue;
+    var preventedOffset = within(tether ? math_min(min, tetherMin) : min, offset, tether ? math_max(max, tetherMax) : max);
+    popperOffsets[mainAxis] = preventedOffset;
+    data[mainAxis] = preventedOffset - offset;
   }

-  function handleEscapeKeyDown(event) {
-    if (shouldCloseOnEsc && event.keyCode === external_wp_keycodes_["ESCAPE"] && !event.defaultPrevented) {
-      event.preventDefault();
+  if (checkAltAxis) {
+    var _offsetModifierState$2;

-      if (onRequestClose) {
-        onRequestClose(event);
-      }
-    }
-  }
+    var _mainSide = mainAxis === 'x' ? enums_top : left;

-  return Object(external_wp_element_["createPortal"])( // eslint-disable-next-line jsx-a11y/no-static-element-interactions
-  Object(external_wp_element_["createElement"])("div", {
-    ref: ref,
-    className: classnames_default()('components-modal__screen-overlay', overlayClassName),
-    onKeyDown: handleEscapeKeyDown
-  }, Object(external_wp_element_["createElement"])(StyleProvider, {
-    document: document
-  }, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-    className: classnames_default()('components-modal__frame', className, {
-      'is-full-screen': isFullScreen
-    }),
-    style: style,
-    ref: Object(external_wp_compose_["useMergeRefs"])([constrainedTabbingRef, focusReturnRef, focusOnMountRef]),
-    role: role,
-    "aria-label": contentLabel,
-    "aria-labelledby": contentLabel ? null : headingId,
-    "aria-describedby": aria.describedby,
-    tabIndex: "-1"
-  }, shouldCloseOnClickOutside ? focusOutsideProps : {}, {
-    onKeyDown: onKeyDown
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: 'components-modal__content',
-    role: "document"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-modal__header"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-modal__header-heading-container"
-  }, icon && Object(external_wp_element_["createElement"])("span", {
-    className: "components-modal__icon-container",
-    "aria-hidden": true
-  }, icon), title && Object(external_wp_element_["createElement"])("h1", {
-    id: headingId,
-    className: "components-modal__header-heading"
-  }, title)), isDismissible && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    onClick: onRequestClose,
-    icon: close_small["a" /* default */],
-    label: closeButtonLabel || Object(external_wp_i18n_["__"])('Close dialog')
-  })), children)))), document.body);
-}
+    var _altSide = mainAxis === 'x' ? bottom : right;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/icons.js
+    var _offset = popperOffsets[altAxis];

+    var _len = altAxis === 'y' ? 'height' : 'width';

-/**
- * WordPress dependencies
- */
+    var _min = _offset + overflow[_mainSide];

-const PageControlIcon = _ref => {
-  let {
-    isSelected
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-    width: "8",
-    height: "8",
-    fill: "none",
-    xmlns: "http://www.w3.org/2000/svg"
-  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Circle"], {
-    cx: "4",
-    cy: "4",
-    r: "4",
-    fill: isSelected ? '#419ECD' : '#E1E3E6'
-  }));
-};
+    var _max = _offset - overflow[_altSide];

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/page-control.js
+    var isOriginSide = [enums_top, left].indexOf(basePlacement) !== -1;

+    var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;

-/**
- * External dependencies
- */
+    var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;

-/**
- * WordPress dependencies
- */
+    var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;

+    var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);

-/**
- * Internal dependencies
- */
+    popperOffsets[altAxis] = _preventedOffset;
+    data[altAxis] = _preventedOffset - _offset;
+  }

+  state.modifiersData[name] = data;
+} // eslint-disable-next-line import/no-unused-modules


-function PageControl(_ref) {
-  let {
-    currentPage,
-    numberOfPages,
-    setCurrentPage
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("ul", {
-    className: "components-guide__page-control",
-    "aria-label": Object(external_wp_i18n_["__"])('Guide controls')
-  }, Object(external_lodash_["times"])(numberOfPages, page => Object(external_wp_element_["createElement"])("li", {
-    key: page // Set aria-current="step" on the active page, see https://www.w3.org/TR/wai-aria-1.1/#aria-current
-    ,
-    "aria-current": page === currentPage ? 'step' : undefined
-  }, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    key: page,
-    icon: Object(external_wp_element_["createElement"])(PageControlIcon, {
-      isSelected: page === currentPage
-    }),
-    "aria-label": Object(external_wp_i18n_["sprintf"])(
-    /* translators: 1: current page number 2: total number of pages */
-    Object(external_wp_i18n_["__"])('Page %1$d of %2$d'), page + 1, numberOfPages),
-    onClick: () => setCurrentPage(page)
-  }))));
-}
+/* harmony default export */ var modifiers_preventOverflow = ({
+  name: 'preventOverflow',
+  enabled: true,
+  phase: 'main',
+  fn: preventOverflow,
+  requiresIfExists: ['offset']
+});
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/arrow.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/finish-button.js



-/**
- * WordPress dependencies
- */

-/**
- * Internal dependencies
- */


-function FinishButton(props) {
-  const ref = Object(external_wp_element_["useRef"])(); // Focus the button on mount if nothing else is focused. This prevents a
-  // focus loss when the 'Next' button is swapped out.

-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    const {
-      ownerDocument
-    } = ref.current;
-    const {
-      activeElement,
-      body
-    } = ownerDocument;

-    if (!activeElement || activeElement === body) {
-      ref.current.focus();
-    }
-  }, []);
-  return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, props, {
-    ref: ref
-  }));
-}
+ // eslint-disable-next-line import/no-unused-modules

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/index.js
+var toPaddingObject = function toPaddingObject(padding, state) {
+  padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
+    placement: state.placement
+  })) : padding;
+  return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
+};

+function arrow(_ref) {
+  var _state$modifiersData$;

-/**
- * External dependencies
- */
+  var state = _ref.state,
+      name = _ref.name,
+      options = _ref.options;
+  var arrowElement = state.elements.arrow;
+  var popperOffsets = state.modifiersData.popperOffsets;
+  var basePlacement = getBasePlacement(state.placement);
+  var axis = getMainAxisFromPlacement(basePlacement);
+  var isVertical = [left, right].indexOf(basePlacement) >= 0;
+  var len = isVertical ? 'height' : 'width';

-/**
- * WordPress dependencies
- */
+  if (!arrowElement || !popperOffsets) {
+    return;
+  }

+  var paddingObject = toPaddingObject(options.padding, state);
+  var arrowRect = getLayoutRect(arrowElement);
+  var minProp = axis === 'y' ? enums_top : left;
+  var maxProp = axis === 'y' ? bottom : right;
+  var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
+  var startDiff = popperOffsets[axis] - state.rects.reference[axis];
+  var arrowOffsetParent = getOffsetParent(arrowElement);
+  var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
+  var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
+  // outside of the popper bounds

+  var min = paddingObject[minProp];
+  var max = clientSize - arrowRect[len] - paddingObject[maxProp];
+  var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
+  var offset = within(min, center, max); // Prevents breaking syntax highlighting...

+  var axisProp = axis;
+  state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
+}

+function arrow_effect(_ref2) {
+  var state = _ref2.state,
+      options = _ref2.options;
+  var _options$element = options.element,
+      arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;

-/**
- * Internal dependencies
- */
+  if (arrowElement == null) {
+    return;
+  } // CSS selector


+  if (typeof arrowElement === 'string') {
+    arrowElement = state.elements.popper.querySelector(arrowElement);

+    if (!arrowElement) {
+      return;
+    }
+  }

+  if (false) {}

-function Guide(_ref) {
-  let {
-    children,
-    className,
-    contentLabel,
-    finishButtonText,
-    onFinish,
-    pages = []
-  } = _ref;
-  const [currentPage, setCurrentPage] = Object(external_wp_element_["useState"])(0);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (external_wp_element_["Children"].count(children)) {
-      external_wp_deprecated_default()('Passing children to <Guide>', {
-        since: '5.5',
-        alternative: 'the `pages` prop'
-      });
-    }
-  }, [children]);
+  if (!contains_contains(state.elements.popper, arrowElement)) {
+    if (false) {}

-  if (external_wp_element_["Children"].count(children)) {
-    pages = external_wp_element_["Children"].map(children, child => ({
-      content: child
-    }));
+    return;
   }

-  const canGoBack = currentPage > 0;
-  const canGoForward = currentPage < pages.length - 1;
+  state.elements.arrow = arrowElement;
+} // eslint-disable-next-line import/no-unused-modules

-  const goBack = () => {
-    if (canGoBack) {
-      setCurrentPage(currentPage - 1);
-    }
-  };

-  const goForward = () => {
-    if (canGoForward) {
-      setCurrentPage(currentPage + 1);
-    }
-  };
+/* harmony default export */ var modifiers_arrow = ({
+  name: 'arrow',
+  enabled: true,
+  phase: 'main',
+  fn: arrow,
+  effect: arrow_effect,
+  requires: ['popperOffsets'],
+  requiresIfExists: ['preventOverflow']
+});
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/modifiers/hide.js

-  if (pages.length === 0) {
-    return null;
+
+
+function getSideOffsets(overflow, rect, preventedOffsets) {
+  if (preventedOffsets === void 0) {
+    preventedOffsets = {
+      x: 0,
+      y: 0
+    };
   }

-  return Object(external_wp_element_["createElement"])(Modal, {
-    className: classnames_default()('components-guide', className),
-    contentLabel: contentLabel,
-    onRequestClose: onFinish,
-    onKeyDown: event => {
-      if (event.keyCode === external_wp_keycodes_["LEFT"]) {
-        goBack();
-      } else if (event.keyCode === external_wp_keycodes_["RIGHT"]) {
-        goForward();
-      }
-    }
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-guide__container"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-guide__page"
-  }, pages[currentPage].image, pages.length > 1 && Object(external_wp_element_["createElement"])(PageControl, {
-    currentPage: currentPage,
-    numberOfPages: pages.length,
-    setCurrentPage: setCurrentPage
-  }), pages[currentPage].content, !canGoForward && Object(external_wp_element_["createElement"])(FinishButton, {
-    className: "components-guide__inline-finish-button",
-    onClick: onFinish
-  }, finishButtonText || Object(external_wp_i18n_["__"])('Finish'))), Object(external_wp_element_["createElement"])("div", {
-    className: "components-guide__footer"
-  }, canGoBack && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-guide__back-button",
-    onClick: goBack
-  }, Object(external_wp_i18n_["__"])('Previous')), canGoForward && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-guide__forward-button",
-    onClick: goForward
-  }, Object(external_wp_i18n_["__"])('Next')), !canGoForward && Object(external_wp_element_["createElement"])(FinishButton, {
-    className: "components-guide__finish-button",
-    onClick: onFinish
-  }, finishButtonText || Object(external_wp_i18n_["__"])('Finish')))));
+  return {
+    top: overflow.top - rect.height - preventedOffsets.y,
+    right: overflow.right - rect.width + preventedOffsets.x,
+    bottom: overflow.bottom - rect.height + preventedOffsets.y,
+    left: overflow.left - rect.width - preventedOffsets.x
+  };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/page.js
+function isAnySideFullyClipped(overflow) {
+  return [enums_top, right, bottom, left].some(function (side) {
+    return overflow[side] >= 0;
+  });
+}

+function hide(_ref) {
+  var state = _ref.state,
+      name = _ref.name;
+  var referenceRect = state.rects.reference;
+  var popperRect = state.rects.popper;
+  var preventedOffsets = state.modifiersData.preventOverflow;
+  var referenceOverflow = detectOverflow(state, {
+    elementContext: 'reference'
+  });
+  var popperAltOverflow = detectOverflow(state, {
+    altBoundary: true
+  });
+  var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
+  var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
+  var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
+  var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
+  state.modifiersData[name] = {
+    referenceClippingOffsets: referenceClippingOffsets,
+    popperEscapeOffsets: popperEscapeOffsets,
+    isReferenceHidden: isReferenceHidden,
+    hasPopperEscaped: hasPopperEscaped
+  };
+  state.attributes.popper = Object.assign({}, state.attributes.popper, {
+    'data-popper-reference-hidden': isReferenceHidden,
+    'data-popper-escaped': hasPopperEscaped
+  });
+} // eslint-disable-next-line import/no-unused-modules

-/**
- * WordPress dependencies
- */

+/* harmony default export */ var modifiers_hide = ({
+  name: 'hide',
+  enabled: true,
+  phase: 'main',
+  requiresIfExists: ['preventOverflow'],
+  fn: hide
+});
+;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/popper.js

-function GuidePage(props) {
-  Object(external_wp_element_["useEffect"])(() => {
-    external_wp_deprecated_default()('<GuidePage>', {
-      since: '5.5',
-      alternative: 'the `pages` prop in <Guide>'
-    });
-  }, []);
-  return Object(external_wp_element_["createElement"])("div", props);
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button/deprecated.js


-// @ts-nocheck

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */



-function IconButton(_ref, ref) {
-  let {
-    labelPosition,
-    size,
-    tooltip,
-    label,
-    ...props
-  } = _ref;
-  external_wp_deprecated_default()('wp.components.IconButton', {
-    since: '5.4',
-    alternative: 'wp.components.Button'
-  });
-  return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({}, props, {
-    ref: ref,
-    tooltipPosition: labelPosition,
-    iconSize: size,
-    showTooltip: tooltip !== undefined ? !!tooltip : undefined,
-    label: tooltip || label
-  }));
-}
+var defaultModifiers = [eventListeners, modifiers_popperOffsets, modifiers_computeStyles, modifiers_applyStyles, modifiers_offset, modifiers_flip, modifiers_preventOverflow, modifiers_arrow, modifiers_hide];
+var popper_createPopper = /*#__PURE__*/popperGenerator({
+  defaultModifiers: defaultModifiers
+}); // eslint-disable-next-line import/no-unused-modules

-/* harmony default export */ var deprecated = (Object(external_wp_element_["forwardRef"])(IconButton));
+ // eslint-disable-next-line import/no-unused-modules

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/keyboard-shortcuts/index.js
+ // eslint-disable-next-line import/no-unused-modules


-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Disclosure/DisclosureState.js

-/**
- * WordPress dependencies
- */




-function KeyboardShortcut(_ref) {
-  let {
-    target,
-    callback,
-    shortcut,
-    bindGlobal,
-    eventName
-  } = _ref;
-  Object(external_wp_compose_["useKeyboardShortcut"])(shortcut, callback, {
-    bindGlobal,
-    target,
-    eventName
-  });
-  return null;
-}

-function KeyboardShortcuts(_ref2) {
-  let {
-    children,
-    shortcuts,
-    bindGlobal,
-    eventName
-  } = _ref2;
-  const target = Object(external_wp_element_["useRef"])();
-  const element = Object(external_lodash_["map"])(shortcuts, (callback, shortcut) => Object(external_wp_element_["createElement"])(KeyboardShortcut, {
-    key: shortcut,
-    shortcut: shortcut,
-    callback: callback,
-    bindGlobal: bindGlobal,
-    eventName: eventName,
-    target: target
-  })); // Render as non-visual if there are no children pressed. Keyboard
-  // events will be bound to the document instead.

-  if (!external_wp_element_["Children"].count(children)) {
-    return element;
-  }

-  return Object(external_wp_element_["createElement"])("div", {
-    ref: target
-  }, element, children);
+function useLastValue(value) {
+  var lastValue = (0,external_React_.useRef)(null);
+  useIsomorphicEffect(function () {
+    lastValue.current = value;
+  }, [value]);
+  return lastValue;
 }

-/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-group/index.js
+function useDisclosureState(initialState) {
+  if (initialState === void 0) {
+    initialState = {};
+  }

-// @ts-nocheck
+  var _useSealedState = useSealedState(initialState),
+      _useSealedState$visib = _useSealedState.visible,
+      initialVisible = _useSealedState$visib === void 0 ? false : _useSealedState$visib,
+      _useSealedState$anima = _useSealedState.animated,
+      initialAnimated = _useSealedState$anima === void 0 ? false : _useSealedState$anima,
+      sealed = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_useSealedState, ["visible", "animated"]);

-/**
- * External dependencies
- */
+  var id = unstable_useIdState(sealed);

-/**
- * WordPress dependencies
- */
+  var _React$useState = (0,external_React_.useState)(initialVisible),
+      visible = _React$useState[0],
+      setVisible = _React$useState[1];

+  var _React$useState2 = (0,external_React_.useState)(initialAnimated),
+      animated = _React$useState2[0],
+      setAnimated = _React$useState2[1];

+  var _React$useState3 = (0,external_React_.useState)(false),
+      animating = _React$useState3[0],
+      setAnimating = _React$useState3[1];

-function MenuGroup(props) {
-  const {
-    children,
-    className = '',
-    label,
-    hideSeparator
-  } = props;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(MenuGroup);
+  var lastVisible = useLastValue(visible);
+  var visibleHasChanged = lastVisible.current != null && lastVisible.current !== visible;

-  if (!external_wp_element_["Children"].count(children)) {
-    return null;
+  if (animated && !animating && visibleHasChanged) {
+    // Sets animating to true when when visible is updated
+    setAnimating(true);
   }

-  const labelId = `components-menu-group-label-${instanceId}`;
-  const classNames = classnames_default()(className, 'components-menu-group', {
-    'has-hidden-separator': hideSeparator
+  (0,external_React_.useEffect)(function () {
+    if (typeof animated === "number" && animating) {
+      var timeout = setTimeout(function () {
+        return setAnimating(false);
+      }, animated);
+      return function () {
+        clearTimeout(timeout);
+      };
+    }
+
+    if (animated && animating && "production" === "development") { var _timeout; }
+
+    return function () {};
+  }, [animated, animating]);
+  var show = (0,external_React_.useCallback)(function () {
+    return setVisible(true);
+  }, []);
+  var hide = (0,external_React_.useCallback)(function () {
+    return setVisible(false);
+  }, []);
+  var toggle = (0,external_React_.useCallback)(function () {
+    return setVisible(function (v) {
+      return !v;
+    });
+  }, []);
+  var stopAnimation = (0,external_React_.useCallback)(function () {
+    return setAnimating(false);
+  }, []);
+  return _objectSpread2(_objectSpread2({}, id), {}, {
+    visible: visible,
+    animated: animated,
+    animating: animating,
+    show: show,
+    hide: hide,
+    toggle: toggle,
+    setVisible: setVisible,
+    setAnimated: setAnimated,
+    stopAnimation: stopAnimation
   });
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classNames
-  }, label && Object(external_wp_element_["createElement"])("div", {
-    className: "components-menu-group__label",
-    id: labelId,
-    "aria-hidden": "true"
-  }, label), Object(external_wp_element_["createElement"])("div", {
-    role: "group",
-    "aria-labelledby": label ? labelId : null
-  }, children));
 }
-/* harmony default export */ var menu_group = (MenuGroup);

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/shortcut/index.js
-var build_module_shortcut = __webpack_require__("Cw+6");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-item/index.js

+;// CONCATENATED MODULE: ./node_modules/reakit/es/Dialog/DialogState.js

-// @ts-nocheck

-/**
- * External dependencies
- */


-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */



+function useDialogState(initialState) {
+  if (initialState === void 0) {
+    initialState = {};
+  }

-function MenuItem(props, ref) {
-  let {
-    children,
-    info,
-    className,
-    icon,
-    iconPosition = 'right',
-    shortcut,
-    isSelected,
-    role = 'menuitem',
-    ...buttonProps
-  } = props;
-  className = classnames_default()('components-menu-item__button', className);
+  var _useSealedState = useSealedState(initialState),
+      _useSealedState$modal = _useSealedState.modal,
+      initialModal = _useSealedState$modal === void 0 ? true : _useSealedState$modal,
+      sealed = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_useSealedState, ["modal"]);

-  if (info) {
-    children = Object(external_wp_element_["createElement"])("span", {
-      className: "components-menu-item__info-wrapper"
-    }, Object(external_wp_element_["createElement"])("span", {
-      className: "components-menu-item__item"
-    }, children), Object(external_wp_element_["createElement"])("span", {
-      className: "components-menu-item__info"
-    }, info));
-  }
+  var disclosure = useDisclosureState(sealed);

-  if (icon && !Object(external_lodash_["isString"])(icon)) {
-    icon = Object(external_wp_element_["cloneElement"])(icon, {
-      className: classnames_default()('components-menu-items__item-icon', {
-        'has-icon-right': iconPosition === 'right'
-      })
-    });
-  }
+  var _React$useState = (0,external_React_.useState)(initialModal),
+      modal = _React$useState[0],
+      setModal = _React$useState[1];

-  return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-    ref: ref // Make sure aria-checked matches spec https://www.w3.org/TR/wai-aria-1.1/#aria-checked
-    ,
-    "aria-checked": role === 'menuitemcheckbox' || role === 'menuitemradio' ? isSelected : undefined,
-    role: role,
-    icon: iconPosition === 'left' ? icon : undefined,
-    className: className
-  }, buttonProps), Object(external_wp_element_["createElement"])("span", {
-    className: "components-menu-item__item"
-  }, children), Object(external_wp_element_["createElement"])(build_module_shortcut["a" /* default */], {
-    className: "components-menu-item__shortcut",
-    shortcut: shortcut
-  }), icon && iconPosition === 'right' && Object(external_wp_element_["createElement"])(components_build_module_icon["a" /* default */], {
-    icon: icon
-  }));
+  var disclosureRef = (0,external_React_.useRef)(null);
+  return _objectSpread2(_objectSpread2({}, disclosure), {}, {
+    modal: modal,
+    setModal: setModal,
+    unstable_disclosureRef: disclosureRef
+  });
 }
-/* harmony default export */ var menu_item = (Object(external_wp_element_["forwardRef"])(MenuItem));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-items-choice/index.js


-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Popover/PopoverState.js

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */


-function MenuItemsChoice(_ref) {
-  let {
-    choices = [],
-    onHover = external_lodash_["noop"],
-    onSelect,
-    value
-  } = _ref;
-  return choices.map(item => {
-    const isSelected = value === item.value;
-    return Object(external_wp_element_["createElement"])(menu_item, {
-      key: item.value,
-      role: "menuitemradio",
-      icon: isSelected && check["a" /* default */],
-      info: item.info,
-      isSelected: isSelected,
-      shortcut: item.shortcut,
-      className: "components-menu-items-choice",
-      onClick: () => {
-        if (!isSelected) {
-          onSelect(item.value);
-        }
-      },
-      onMouseEnter: () => onHover(item.value),
-      onMouseLeave: () => onHover(null),
-      "aria-label": item['aria-label']
-    }, item.label);
-  });
-}

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/scroll-lock/index.js
-var scroll_lock = __webpack_require__("k8OV");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/tabbable.js


-// @ts-nocheck

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */

+var isSafari = isUA("Mac") && !isUA("Chrome") && isUA("Safari");

-function TabbableContainer(_ref, ref) {
-  let {
-    eventToOffset,
-    ...props
-  } = _ref;
+function PopoverState_applyStyles(styles) {
+  return function (prevStyles) {
+    if (styles && !shallowEqual(prevStyles, styles)) {
+      return styles;
+    }

-  const innerEventToOffset = evt => {
-    const {
-      keyCode,
-      shiftKey
-    } = evt;
+    return prevStyles;
+  };
+}

-    if (external_wp_keycodes_["TAB"] === keyCode) {
-      return shiftKey ? -1 : 1;
-    } // Allow custom handling of keys besides Tab.
-    //
-    // By default, TabbableContainer will move focus forward on Tab and
-    // backward on Shift+Tab. The handler below will be used for all other
-    // events. The semantics for `eventToOffset`'s return
-    // values are the following:
-    //
-    // - +1: move focus forward
-    // - -1: move focus backward
-    // -  0: don't move focus, but acknowledge event and thus stop it
-    // - undefined: do nothing, let the event propagate
+function usePopoverState(initialState) {
+  if (initialState === void 0) {
+    initialState = {};
+  }
+
+  var _useSealedState = useSealedState(initialState),
+      _useSealedState$gutte = _useSealedState.gutter,
+      gutter = _useSealedState$gutte === void 0 ? 12 : _useSealedState$gutte,
+      _useSealedState$place = _useSealedState.placement,
+      sealedPlacement = _useSealedState$place === void 0 ? "bottom" : _useSealedState$place,
+      _useSealedState$unsta = _useSealedState.unstable_flip,
+      flip = _useSealedState$unsta === void 0 ? true : _useSealedState$unsta,
+      sealedOffset = _useSealedState.unstable_offset,
+      _useSealedState$unsta2 = _useSealedState.unstable_preventOverflow,
+      preventOverflow = _useSealedState$unsta2 === void 0 ? true : _useSealedState$unsta2,
+      _useSealedState$unsta3 = _useSealedState.unstable_fixed,
+      fixed = _useSealedState$unsta3 === void 0 ? false : _useSealedState$unsta3,
+      _useSealedState$modal = _useSealedState.modal,
+      modal = _useSealedState$modal === void 0 ? false : _useSealedState$modal,
+      sealed = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_useSealedState, ["gutter", "placement", "unstable_flip", "unstable_offset", "unstable_preventOverflow", "unstable_fixed", "modal"]);

+  var popper = (0,external_React_.useRef)(null);
+  var referenceRef = (0,external_React_.useRef)(null);
+  var popoverRef = (0,external_React_.useRef)(null);
+  var arrowRef = (0,external_React_.useRef)(null);

-    if (eventToOffset) {
-      return eventToOffset(evt);
+  var _React$useState = (0,external_React_.useState)(sealedPlacement),
+      originalPlacement = _React$useState[0],
+      place = _React$useState[1];
+
+  var _React$useState2 = (0,external_React_.useState)(sealedPlacement),
+      placement = _React$useState2[0],
+      setPlacement = _React$useState2[1];
+
+  var _React$useState3 = (0,external_React_.useState)(sealedOffset || [0, gutter]),
+      offset = _React$useState3[0];
+
+  var _React$useState4 = (0,external_React_.useState)({
+    position: "fixed",
+    left: "100%",
+    top: "100%"
+  }),
+      popoverStyles = _React$useState4[0],
+      setPopoverStyles = _React$useState4[1];
+
+  var _React$useState5 = (0,external_React_.useState)({}),
+      arrowStyles = _React$useState5[0],
+      setArrowStyles = _React$useState5[1];
+
+  var dialog = useDialogState(_objectSpread2({
+    modal: modal
+  }, sealed));
+  var update = (0,external_React_.useCallback)(function () {
+    if (popper.current) {
+      popper.current.forceUpdate();
+      return true;
     }
-  };

-  return Object(external_wp_element_["createElement"])(navigable_container_container, Object(esm_extends["a" /* default */])({
-    ref: ref,
-    stopNavigationEvents: true,
-    onlyBrowserTabstops: true,
-    eventToOffset: innerEventToOffset
-  }, props));
-}
-/* harmony default export */ var navigable_container_tabbable = (Object(external_wp_element_["forwardRef"])(TabbableContainer));
+    return false;
+  }, []);
+  var updateState = (0,external_React_.useCallback)(function (state) {
+    if (state.placement) {
+      setPlacement(state.placement);
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/constants.js
-const ROOT_MENU = 'root';
-const SEARCH_FOCUS_DELAY = 100;
+    if (state.styles) {
+      setPopoverStyles(PopoverState_applyStyles(state.styles.popper));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/context.js
-/**
- * External dependencies
- */
+      if (arrowRef.current) {
+        setArrowStyles(PopoverState_applyStyles(state.styles.arrow));
+      }
+    }
+  }, []);
+  useIsomorphicEffect(function () {
+    if (referenceRef.current && popoverRef.current) {
+      popper.current = popper_createPopper(referenceRef.current, popoverRef.current, {
+        // https://popper.js.org/docs/v2/constructors/#options
+        placement: originalPlacement,
+        strategy: fixed ? "fixed" : "absolute",
+        // Safari needs styles to be applied in the first render, otherwise
+        // hovering over the popover when it gets visible for the first time
+        // will change its dimensions unexpectedly.
+        onFirstUpdate: isSafari ? updateState : undefined,
+        modifiers: [{
+          // https://popper.js.org/docs/v2/modifiers/event-listeners/
+          name: "eventListeners",
+          enabled: dialog.visible
+        }, {
+          // https://popper.js.org/docs/v2/modifiers/apply-styles/
+          name: "applyStyles",
+          enabled: false
+        }, {
+          // https://popper.js.org/docs/v2/modifiers/flip/
+          name: "flip",
+          enabled: flip,
+          options: {
+            padding: 8
+          }
+        }, {
+          // https://popper.js.org/docs/v2/modifiers/offset/
+          name: "offset",
+          options: {
+            offset: offset
+          }
+        }, {
+          // https://popper.js.org/docs/v2/modifiers/prevent-overflow/
+          name: "preventOverflow",
+          enabled: preventOverflow,
+          options: {
+            tetherOffset: function tetherOffset() {
+              var _arrowRef$current;

-/**
- * WordPress dependencies
- */
+              return ((_arrowRef$current = arrowRef.current) === null || _arrowRef$current === void 0 ? void 0 : _arrowRef$current.clientWidth) || 0;
+            }
+          }
+        }, {
+          // https://popper.js.org/docs/v2/modifiers/arrow/
+          name: "arrow",
+          enabled: !!arrowRef.current,
+          options: {
+            element: arrowRef.current
+          }
+        }, {
+          // https://popper.js.org/docs/v2/modifiers/#custom-modifiers
+          name: "updateState",
+          phase: "write",
+          requires: ["computeStyles"],
+          enabled: dialog.visible && "production" !== "test",
+          fn: function fn(_ref) {
+            var state = _ref.state;
+            return updateState(state);
+          }
+        }]
+      });
+    }

+    return function () {
+      if (popper.current) {
+        popper.current.destroy();
+        popper.current = null;
+      }
+    };
+  }, [originalPlacement, fixed, dialog.visible, flip, offset, preventOverflow]); // Ensure that the popover will be correctly positioned with an additional
+  // update.

-/**
- * Internal dependencies
- */
+  (0,external_React_.useEffect)(function () {
+    if (!dialog.visible) return undefined;
+    var id = window.requestAnimationFrame(function () {
+      var _popper$current;
+
+      (_popper$current = popper.current) === null || _popper$current === void 0 ? void 0 : _popper$current.forceUpdate();
+    });
+    return function () {
+      window.cancelAnimationFrame(id);
+    };
+  }, [dialog.visible]);
+  return _objectSpread2(_objectSpread2({}, dialog), {}, {
+    unstable_referenceRef: referenceRef,
+    unstable_popoverRef: popoverRef,
+    unstable_arrowRef: arrowRef,
+    unstable_popoverStyles: popoverStyles,
+    unstable_arrowStyles: arrowStyles,
+    unstable_update: update,
+    unstable_originalPlacement: originalPlacement,
+    placement: placement,
+    place: place
+  });
+}


-const NavigationContext = Object(external_wp_element_["createContext"])({
-  activeItem: undefined,
-  activeMenu: ROOT_MENU,
-  setActiveMenu: external_lodash_["noop"],
-  isMenuEmpty: external_lodash_["noop"],
-  navigationTree: {
-    items: {},
-    getItem: external_lodash_["noop"],
-    addItem: external_lodash_["noop"],
-    removeItem: external_lodash_["noop"],
-    menus: {},
-    getMenu: external_lodash_["noop"],
-    addMenu: external_lodash_["noop"],
-    removeMenu: external_lodash_["noop"],
-    childMenu: {},
-    traverseMenu: external_lodash_["noop"],
-    isMenuEmpty: external_lodash_["noop"]
+
+;// CONCATENATED MODULE: ./node_modules/reakit/es/__globalState-300469f0.js
+var globalState = {
+  currentTooltipId: null,
+  listeners: new Set(),
+  subscribe: function subscribe(listener) {
+    var _this = this;
+
+    this.listeners.add(listener);
+    return function () {
+      _this.listeners.delete(listener);
+    };
+  },
+  show: function show(id) {
+    this.currentTooltipId = id;
+    this.listeners.forEach(function (listener) {
+      return listener(id);
+    });
+  },
+  hide: function hide(id) {
+    if (this.currentTooltipId === id) {
+      this.currentTooltipId = null;
+      this.listeners.forEach(function (listener) {
+        return listener(null);
+      });
+    }
   }
-});
-const useNavigationContext = () => Object(external_wp_element_["useContext"])(NavigationContext);
+};

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js
-var library_search = __webpack_require__("cGtP");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-combined-ref.js
-/**
- * WordPress dependencies
- */

-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Tooltip/TooltipState.js

-function useCombinedRef() {
-  for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
-    refs[_key] = arguments[_key];
-  }

-  const targetRef = Object(external_wp_element_["useRef"])(null);
-  Object(external_wp_element_["useEffect"])(() => {
-    refs.forEach(ref => {
-      if (!ref) return;

-      if (typeof ref === 'function') {
-        ref(targetRef.current);
-      } else {
-        ref.current = targetRef.current;
-      }
-    });
-  }, [refs]);
-  return targetRef;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/search-control/index.js


-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */





-/**
- * Internal dependencies
- */



+function useTooltipState(initialState) {
+  if (initialState === void 0) {
+    initialState = {};
+  }

+  var _useSealedState = useSealedState(initialState),
+      _useSealedState$place = _useSealedState.placement,
+      placement = _useSealedState$place === void 0 ? "top" : _useSealedState$place,
+      _useSealedState$unsta = _useSealedState.unstable_timeout,
+      initialTimeout = _useSealedState$unsta === void 0 ? 0 : _useSealedState$unsta,
+      sealed = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_useSealedState, ["placement", "unstable_timeout"]);

-function SearchControl(_ref, ref) {
-  let {
-    className,
-    onChange,
-    onKeyDown,
-    value,
-    label,
-    placeholder = Object(external_wp_i18n_["__"])('Search'),
-    hideLabelFromVision = true,
-    help,
-    onClose
-  } = _ref;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(SearchControl);
-  const searchInput = useCombinedRef(ref);
-  const id = `components-search-control-${instanceId}`;
+  var _React$useState = (0,external_React_.useState)(initialTimeout),
+      timeout = _React$useState[0],
+      setTimeout = _React$useState[1];
+
+  var showTimeout = (0,external_React_.useRef)(null);
+  var hideTimeout = (0,external_React_.useRef)(null);
+
+  var _usePopoverState = usePopoverState(_objectSpread2(_objectSpread2({}, sealed), {}, {
+    placement: placement
+  })),
+      modal = _usePopoverState.modal,
+      setModal = _usePopoverState.setModal,
+      popover = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_usePopoverState, ["modal", "setModal"]);

-  const renderRightButton = () => {
-    if (onClose) {
-      return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-        icon: close_small["a" /* default */],
-        label: Object(external_wp_i18n_["__"])('Close search'),
-        onClick: onClose
-      });
+  var clearTimeouts = (0,external_React_.useCallback)(function () {
+    if (showTimeout.current !== null) {
+      window.clearTimeout(showTimeout.current);
     }

-    if (!!value) {
-      return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-        icon: close_small["a" /* default */],
-        label: Object(external_wp_i18n_["__"])('Reset search'),
-        onClick: () => {
-          onChange('');
-          searchInput.current.focus();
-        }
-      });
+    if (hideTimeout.current !== null) {
+      window.clearTimeout(hideTimeout.current);
     }
+  }, []);
+  var hide = (0,external_React_.useCallback)(function () {
+    clearTimeouts();
+    popover.hide(); // Let's give some time so people can move from a reference to another
+    // and still show tooltips immediately

-    return Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: library_search["a" /* default */]
-    });
-  };
+    hideTimeout.current = window.setTimeout(function () {
+      globalState.hide(popover.baseId);
+    }, timeout);
+  }, [clearTimeouts, popover.hide, timeout, popover.baseId]);
+  var show = (0,external_React_.useCallback)(function () {
+    clearTimeouts();

-  return Object(external_wp_element_["createElement"])(base_control, {
-    label: label,
-    id: id,
-    hideLabelFromVision: hideLabelFromVision,
-    help: help,
-    className: classnames_default()(className, 'components-search-control')
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-search-control__input-wrapper"
-  }, Object(external_wp_element_["createElement"])("input", {
-    ref: searchInput,
-    className: "components-search-control__input",
-    id: id,
-    type: "search",
-    placeholder: placeholder,
-    onChange: event => onChange(event.target.value),
-    onKeyDown: onKeyDown,
-    autoComplete: "off",
-    value: value || ''
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "components-search-control__icon"
-  }, renderRightButton())));
+    if (!timeout || globalState.currentTooltipId) {
+      // If there's no timeout or a tooltip visible already, we can show this
+      // immediately
+      globalState.show(popover.baseId);
+      popover.show();
+    } else {
+      // There may be a reference with focus whose tooltip is still not visible
+      // In this case, we want to update it before it gets shown.
+      globalState.show(null); // Otherwise, wait a little bit to show the tooltip
+
+      showTimeout.current = window.setTimeout(function () {
+        globalState.show(popover.baseId);
+        popover.show();
+      }, timeout);
+    }
+  }, [clearTimeouts, timeout, popover.show, popover.baseId]);
+  (0,external_React_.useEffect)(function () {
+    return globalState.subscribe(function (id) {
+      if (id !== popover.baseId) {
+        clearTimeouts();
+
+        if (popover.visible) {
+          // Make sure there will be only one tooltip visible
+          popover.hide();
+        }
+      }
+    });
+  }, [popover.baseId, clearTimeouts, popover.visible, popover.hide]);
+  (0,external_React_.useEffect)(function () {
+    return function () {
+      clearTimeouts();
+      globalState.hide(popover.baseId);
+    };
+  }, [clearTimeouts, popover.baseId]);
+  return _objectSpread2(_objectSpread2({}, popover), {}, {
+    hide: hide,
+    show: show,
+    unstable_timeout: timeout,
+    unstable_setTimeout: setTimeout
+  });
 }

-/* harmony default export */ var search_control = (Object(external_wp_element_["forwardRef"])(SearchControl));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/styles/navigation-styles.js

+;// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-d101cb3b.js
+// Automatically generated
+var TOOLTIP_STATE_KEYS = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation", "unstable_disclosureRef", "unstable_referenceRef", "unstable_popoverRef", "unstable_arrowRef", "unstable_popoverStyles", "unstable_arrowStyles", "unstable_originalPlacement", "unstable_update", "placement", "place", "unstable_timeout", "unstable_setTimeout"];
+var TOOLTIP_KEYS = [].concat(TOOLTIP_STATE_KEYS, ["unstable_portal"]);
+var TOOLTIP_ARROW_KEYS = TOOLTIP_STATE_KEYS;
+var TOOLTIP_REFERENCE_KEYS = TOOLTIP_ARROW_KEYS;

-function navigation_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Tooltip/TooltipReference.js

-/**
- * Internal dependencies
- */



@@ -53805,450 +49132,382 @@ function navigation_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have t



-const NavigationUI = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ejwewyf11"
-} : undefined)("width:100%;box-sizing:border-box;padding:0 ", space(4), ";overflow:hidden;" + ( true ? "" : undefined));
-const MenuUI = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ejwewyf10"
-} : undefined)("margin-top:", space(6), ";margin-bottom:", space(6), ";display:flex;flex-direction:column;ul{padding:0;margin:0;list-style:none;}.components-navigation__back-button{margin-bottom:", space(6), ";}.components-navigation__group+.components-navigation__group{margin-top:", space(6), ";}" + ( true ? "" : undefined));
-const MenuBackButtonUI = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(build_module_button["a" /* default */],  true ? {
-  target: "ejwewyf9"
-} : undefined)( true ? {
-  name: "26l0q2",
-  styles: "&.is-tertiary{color:inherit;opacity:0.7;&:hover:not( :disabled ){opacity:1;box-shadow:none;color:inherit;}&:active:not( :disabled ){background:transparent;opacity:1;color:inherit;}}"
-} : undefined);
-const MenuTitleUI = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ejwewyf8"
-} : undefined)( true ? {
-  name: "1aubja5",
-  styles: "overflow:hidden;width:100%"
-} : undefined);
-const MenuTitleActionsUI = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "ejwewyf7"
-} : undefined)("height:", space(6), ";.components-button.is-small{color:inherit;opacity:0.7;margin-right:", space(1), ";padding:0;&:active:not( :disabled ){background:none;opacity:1;color:inherit;}&:hover:not( :disabled ){box-shadow:none;opacity:1;color:inherit;}}" + ( true ? "" : undefined));
-const MenuTitleSearchUI = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(search_control,  true ? {
-  target: "ejwewyf6"
-} : undefined)( true ? {
-  name: "za3n3e",
-  styles: "input[type='search'].components-search-control__input{margin:0;background:#303030;color:#fff;&:focus{background:#434343;color:#fff;}&::placeholder{color:rgba( 255, 255, 255, 0.6 );}}svg{fill:white;}.components-button.has-icon{padding:0;min-width:auto;}"
-} : undefined);
-const GroupTitleUI = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(heading_component,  true ? {
-  target: "ejwewyf5"
-} : undefined)("min-height:", space(12), ";align-items:center;color:inherit;display:flex;justify-content:space-between;margin-bottom:", space(2), ";padding:", () => Object(external_wp_i18n_["isRTL"])() ? `${space(1)} ${space(4)} ${space(1)} ${space(2)}` : `${space(1)} ${space(2)} ${space(1)} ${space(4)}`, ";" + ( true ? "" : undefined));
-const ItemBaseUI = Object(emotion_styled_base_browser_esm["a" /* default */])("li",  true ? {
-  target: "ejwewyf4"
-} : undefined)("border-radius:2px;color:inherit;margin-bottom:0;>button,>a.components-button,>a{width:100%;color:inherit;opacity:0.7;padding:", space(2), " ", space(4), ";", rtl_rtl({
-  textAlign: 'left'
-}, {
-  textAlign: 'right'
-}), " &:hover,&:focus:not( [aria-disabled='true'] ):active,&:active:not( [aria-disabled='true'] ):active{color:inherit;opacity:1;}}&.is-active{background-color:", UI.theme, ";color:", BASE.white, ";>button,>a{color:", BASE.white, ";opacity:1;}}>svg path{color:", G2.lightGray.ui, ";}" + ( true ? "" : undefined));
-const ItemUI = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ejwewyf3"
-} : undefined)("display:flex;align-items:center;height:auto;min-height:40px;margin:0;padding:", space(1.5), " ", space(4), ";font-weight:400;line-height:20px;width:100%;color:inherit;opacity:0.7;" + ( true ? "" : undefined));
-const ItemIconUI = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "ejwewyf2"
-} : undefined)("display:flex;margin-right:", space(2), ";" + ( true ? "" : undefined));
-const ItemBadgeUI = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "ejwewyf1"
-} : undefined)("margin-left:", () => Object(external_wp_i18n_["isRTL"])() ? '0' : space(2), ";margin-right:", () => Object(external_wp_i18n_["isRTL"])() ? space(2) : '0', ";display:inline-flex;padding:", space(1), " ", space(3), ";border-radius:2px;animation:fade-in 250ms ease-out;@keyframes fade-in{from{opacity:0;}to{opacity:1;}}", reduceMotion('animation'), ";" + ( true ? "" : undefined));
-const ItemTitleUI = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(text_component,  true ? {
-  target: "ejwewyf0"
-} : undefined)(() => Object(external_wp_i18n_["isRTL"])() ? 'margin-left: auto;' : 'margin-right: auto;', " font-size:14px;line-height:20px;color:inherit;" + ( true ? "" : undefined));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/use-navigation-tree-nodes.js
-/**
- * External dependencies
- */
+var useTooltipReference = createHook({
+  name: "TooltipReference",
+  compose: useRole,
+  keys: TOOLTIP_REFERENCE_KEYS,
+  useProps: function useProps(options, _ref) {
+    var htmlRef = _ref.ref,
+        htmlOnFocus = _ref.onFocus,
+        htmlOnBlur = _ref.onBlur,
+        htmlOnMouseEnter = _ref.onMouseEnter,
+        htmlOnMouseLeave = _ref.onMouseLeave,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["ref", "onFocus", "onBlur", "onMouseEnter", "onMouseLeave"]);

-/**
- * WordPress dependencies
- */
+    var onFocusRef = useLiveRef(htmlOnFocus);
+    var onBlurRef = useLiveRef(htmlOnBlur);
+    var onMouseEnterRef = useLiveRef(htmlOnMouseEnter);
+    var onMouseLeaveRef = useLiveRef(htmlOnMouseLeave);
+    var onFocus = (0,external_React_.useCallback)(function (event) {
+      var _onFocusRef$current, _options$show;

+      (_onFocusRef$current = onFocusRef.current) === null || _onFocusRef$current === void 0 ? void 0 : _onFocusRef$current.call(onFocusRef, event);
+      if (event.defaultPrevented) return;
+      (_options$show = options.show) === null || _options$show === void 0 ? void 0 : _options$show.call(options);
+    }, [options.show]);
+    var onBlur = (0,external_React_.useCallback)(function (event) {
+      var _onBlurRef$current, _options$hide;

-const useNavigationTreeNodes = () => {
-  const [nodes, setNodes] = Object(external_wp_element_["useState"])({});
+      (_onBlurRef$current = onBlurRef.current) === null || _onBlurRef$current === void 0 ? void 0 : _onBlurRef$current.call(onBlurRef, event);
+      if (event.defaultPrevented) return;
+      (_options$hide = options.hide) === null || _options$hide === void 0 ? void 0 : _options$hide.call(options);
+    }, [options.hide]);
+    var onMouseEnter = (0,external_React_.useCallback)(function (event) {
+      var _onMouseEnterRef$curr, _options$show2;

-  const getNode = key => nodes[key];
+      (_onMouseEnterRef$curr = onMouseEnterRef.current) === null || _onMouseEnterRef$curr === void 0 ? void 0 : _onMouseEnterRef$curr.call(onMouseEnterRef, event);
+      if (event.defaultPrevented) return;
+      (_options$show2 = options.show) === null || _options$show2 === void 0 ? void 0 : _options$show2.call(options);
+    }, [options.show]);
+    var onMouseLeave = (0,external_React_.useCallback)(function (event) {
+      var _onMouseLeaveRef$curr, _options$hide2;

-  const addNode = (key, value) => setNodes(original => ({ ...original,
-    [key]: Object(external_lodash_["omit"])(value, 'children')
-  }));
+      (_onMouseLeaveRef$curr = onMouseLeaveRef.current) === null || _onMouseLeaveRef$curr === void 0 ? void 0 : _onMouseLeaveRef$curr.call(onMouseLeaveRef, event);
+      if (event.defaultPrevented) return;
+      (_options$hide2 = options.hide) === null || _options$hide2 === void 0 ? void 0 : _options$hide2.call(options);
+    }, [options.hide]);
+    return _objectSpread2({
+      ref: useForkRef(options.unstable_referenceRef, htmlRef),
+      tabIndex: 0,
+      onFocus: onFocus,
+      onBlur: onBlur,
+      onMouseEnter: onMouseEnter,
+      onMouseLeave: onMouseLeave,
+      "aria-describedby": options.baseId
+    }, htmlProps);
+  }
+});
+var TooltipReference = createComponent({
+  as: "div",
+  useHook: useTooltipReference
+});

-  const removeNode = key => setNodes(original => Object(external_lodash_["omit"])(original, key));

-  return {
-    nodes,
-    getNode,
-    addNode,
-    removeNode
-  };
-};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/use-create-navigation-tree.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/tooltip/context.js
 /**
  * WordPress dependencies
  */

 /**
- * Internal dependencies
+ * @type {import('react').Context<{ tooltip?: import('reakit').TooltipState }>}
  */

+const TooltipContext = (0,external_wp_element_namespaceObject.createContext)({});
+const useTooltipContext = () => (0,external_wp_element_namespaceObject.useContext)(TooltipContext);

-const useCreateNavigationTree = () => {
-  const {
-    nodes: items,
-    getNode: getItem,
-    addNode: addItem,
-    removeNode: removeItem
-  } = useNavigationTreeNodes();
-  const {
-    nodes: menus,
-    getNode: getMenu,
-    addNode: addMenu,
-    removeNode: removeMenu
-  } = useNavigationTreeNodes();
-  /**
-   * Stores direct nested menus of menus
-   * This makes it easy to traverse menu tree
-   *
-   * Key is the menu prop of the menu
-   * Value is an array of menu keys
-   */
-
-  const [childMenu, setChildMenu] = Object(external_wp_element_["useState"])({});
+;// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-e6a5cfbe.js
+// Automatically generated
+var DISCLOSURE_STATE_KEYS = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation"];
+var DISCLOSURE_KEYS = DISCLOSURE_STATE_KEYS;
+var DISCLOSURE_CONTENT_KEYS = DISCLOSURE_KEYS;

-  const getChildMenu = menu => childMenu[menu] || [];

-  const traverseMenu = (startMenu, callback) => {
-    const visited = [];
-    let queue = [startMenu];
-    let current;

-    while (queue.length > 0) {
-      current = getMenu(queue.shift());
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Disclosure/DisclosureContent.js

-      if (!current || visited.includes(current.menu)) {
-        continue;
-      }

-      visited.push(current.menu);
-      queue = [...queue, ...getChildMenu(current.menu)];

-      if (callback(current) === false) {
-        break;
-      }
-    }
-  };

-  const isMenuEmpty = menuToCheck => {
-    let isEmpty = true;
-    traverseMenu(menuToCheck, current => {
-      if (!current.isEmpty) {
-        isEmpty = false;
-        return false;
-      }
-    });
-    return isEmpty;
-  };

-  return {
-    items,
-    getItem,
-    addItem,
-    removeItem,
-    menus,
-    getMenu,
-    addMenu: (key, value) => {
-      setChildMenu(state => {
-        const newState = { ...state
-        };

-        if (!newState[value.parentMenu]) {
-          newState[value.parentMenu] = [];
-        }

-        newState[value.parentMenu].push(key);
-        return newState;
-      });
-      addMenu(key, value);
-    },
-    removeMenu,
-    childMenu,
-    traverseMenu,
-    isMenuEmpty
-  };
-};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/index.js


-/**
- * External dependencies
- */
+var useDisclosureContent = createHook({
+  name: "DisclosureContent",
+  compose: useRole,
+  keys: DISCLOSURE_CONTENT_KEYS,
+  useProps: function useProps(options, _ref) {
+    var htmlOnTransitionEnd = _ref.onTransitionEnd,
+        htmlOnAnimationEnd = _ref.onAnimationEnd,
+        htmlStyle = _ref.style,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["onTransitionEnd", "onAnimationEnd", "style"]);

+    var animating = options.animated && options.animating;

-/**
- * WordPress dependencies
- */
+    var _React$useState = (0,external_React_.useState)(null),
+        transition = _React$useState[0],
+        setTransition = _React$useState[1];

+    var hidden = !options.visible && !animating;
+    var style = hidden ? _objectSpread2({
+      display: "none"
+    }, htmlStyle) : htmlStyle;
+    var onTransitionEndRef = useLiveRef(htmlOnTransitionEnd);
+    var onAnimationEndRef = useLiveRef(htmlOnAnimationEnd);
+    var raf = (0,external_React_.useRef)(0);
+    (0,external_React_.useEffect)(function () {
+      if (!options.animated) return undefined; // Double RAF is needed so the browser has enough time to paint the
+      // default styles before processing the `data-enter` attribute. Otherwise
+      // it wouldn't be considered a transition.
+      // See https://github.com/reakit/reakit/issues/643

+      raf.current = window.requestAnimationFrame(function () {
+        raf.current = window.requestAnimationFrame(function () {
+          if (options.visible) {
+            setTransition("enter");
+          } else if (animating) {
+            setTransition("leave");
+          } else {
+            setTransition(null);
+          }
+        });
+      });
+      return function () {
+        return window.cancelAnimationFrame(raf.current);
+      };
+    }, [options.animated, options.visible, animating]);
+    var onEnd = (0,external_React_.useCallback)(function (event) {
+      if (!isSelfTarget(event)) return;
+      if (!animating) return; // Ignores number animated

-/**
- * Internal dependencies
- */
+      if (options.animated === true) {
+        var _options$stopAnimatio;

+        (_options$stopAnimatio = options.stopAnimation) === null || _options$stopAnimatio === void 0 ? void 0 : _options$stopAnimatio.call(options);
+      }
+    }, [options.animated, animating, options.stopAnimation]);
+    var onTransitionEnd = (0,external_React_.useCallback)(function (event) {
+      var _onTransitionEndRef$c;

+      (_onTransitionEndRef$c = onTransitionEndRef.current) === null || _onTransitionEndRef$c === void 0 ? void 0 : _onTransitionEndRef$c.call(onTransitionEndRef, event);
+      onEnd(event);
+    }, [onEnd]);
+    var onAnimationEnd = (0,external_React_.useCallback)(function (event) {
+      var _onAnimationEndRef$cu;

+      (_onAnimationEndRef$cu = onAnimationEndRef.current) === null || _onAnimationEndRef$cu === void 0 ? void 0 : _onAnimationEndRef$cu.call(onAnimationEndRef, event);
+      onEnd(event);
+    }, [onEnd]);
+    return _objectSpread2({
+      id: options.baseId,
+      "data-enter": transition === "enter" ? "" : undefined,
+      "data-leave": transition === "leave" ? "" : undefined,
+      onTransitionEnd: onTransitionEnd,
+      onAnimationEnd: onAnimationEnd,
+      hidden: hidden,
+      style: style
+    }, htmlProps);
+  }
+});
+var DisclosureContent = createComponent({
+  as: "div",
+  useHook: useDisclosureContent
+});



-function Navigation(_ref) {
-  let {
-    activeItem,
-    activeMenu = ROOT_MENU,
-    children,
-    className,
-    onActivateMenu = external_lodash_["noop"]
-  } = _ref;
-  const [menu, setMenu] = Object(external_wp_element_["useState"])(activeMenu);
-  const [slideOrigin, setSlideOrigin] = Object(external_wp_element_["useState"])();
-  const navigationTree = useCreateNavigationTree();
-  const defaultSlideOrigin = Object(external_wp_i18n_["isRTL"])() ? 'right' : 'left';
+;// CONCATENATED MODULE: external "ReactDOM"
+var external_ReactDOM_namespaceObject = window["ReactDOM"];
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Portal/Portal.js

-  const setActiveMenu = function (menuId) {
-    let slideInOrigin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultSlideOrigin;

-    if (!navigationTree.getMenu(menuId)) {
-      return;
-    }

-    setSlideOrigin(slideInOrigin);
-    setMenu(menuId);
-    onActivateMenu(menuId);
-  }; // Used to prevent the sliding animation on mount


-  const isMounted = Object(external_wp_element_["useRef"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!isMounted.current) {
-      isMounted.current = true;
-    }
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (activeMenu !== menu) {
-      setActiveMenu(activeMenu);
-    }
-  }, [activeMenu]);
-  const context = {
-    activeItem,
-    activeMenu: menu,
-    setActiveMenu,
-    navigationTree
-  };
-  const classes = classnames_default()('components-navigation', className);
-  const animateClassName = Object(build_module_animate["b" /* getAnimateClassName */])({
-    type: 'slide-in',
-    origin: slideOrigin
-  });
-  return Object(external_wp_element_["createElement"])(NavigationUI, {
-    className: classes
-  }, Object(external_wp_element_["createElement"])("div", {
-    key: menu,
-    className: classnames_default()({
-      [animateClassName]: isMounted.current && slideOrigin
-    })
-  }, Object(external_wp_element_["createElement"])(NavigationContext.Provider, {
-    value: context
-  }, children)));
+function getBodyElement() {
+  return canUseDOM ? document.body : null;
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
-var chevron_right = __webpack_require__("1iEr");
+var PortalContext = /*#__PURE__*/(0,external_React_.createContext)(getBodyElement());
+function Portal(_ref) {
+  var children = _ref.children;
+  // if it's a nested portal, context is the parent portal
+  // otherwise it's document.body
+  // https://github.com/reakit/reakit/issues/513
+  var context = (0,external_React_.useContext)(PortalContext) || getBodyElement();

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
-var chevron_left = __webpack_require__("2gm7");
+  var _React$useState = (0,external_React_.useState)(function () {
+    if (canUseDOM) {
+      var element = document.createElement("div");
+      element.className = Portal.__className;
+      return element;
+    } // ssr

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/back-button/index.js

+    return null;
+  }),
+      hostNode = _React$useState[0];

-/**
- * External dependencies
- */
+  useIsomorphicEffect(function () {
+    if (!hostNode || !context) return undefined;
+    context.appendChild(hostNode);
+    return function () {
+      context.removeChild(hostNode);
+    };
+  }, [hostNode, context]);

-/**
- * WordPress dependencies
- */
+  if (hostNode) {
+    return /*#__PURE__*/(0,external_ReactDOM_namespaceObject.createPortal)( /*#__PURE__*/(0,external_React_.createElement)(PortalContext.Provider, {
+      value: hostNode
+    }, children), hostNode);
+  } // ssr


+  return null;
+}
+Portal.__className = "__reakit-portal";
+Portal.__selector = "." + Portal.__className;


-/**
- * Internal dependencies
- */

+;// CONCATENATED MODULE: ./node_modules/reakit/es/Tooltip/Tooltip.js



-function NavigationBackButton(_ref, ref) {
-  var _navigationTree$getMe;

-  let {
-    backButtonLabel,
-    className,
-    href,
-    onClick,
-    parentMenu
-  } = _ref;
-  const {
-    setActiveMenu,
-    navigationTree
-  } = useNavigationContext();
-  const classes = classnames_default()('components-navigation__back-button', className);
-  const parentMenuTitle = (_navigationTree$getMe = navigationTree.getMenu(parentMenu)) === null || _navigationTree$getMe === void 0 ? void 0 : _navigationTree$getMe.title;

-  const handleOnClick = event => {
-    if (typeof onClick === 'function') {
-      onClick(event);
-    }

-    const animationDirection = Object(external_wp_i18n_["isRTL"])() ? 'left' : 'right';

-    if (parentMenu && !event.defaultPrevented) {
-      setActiveMenu(parentMenu, animationDirection);
-    }
-  };

-  const icon = Object(external_wp_i18n_["isRTL"])() ? chevron_right["a" /* default */] : chevron_left["a" /* default */];
-  return Object(external_wp_element_["createElement"])(MenuBackButtonUI, {
-    className: classes,
-    href: href,
-    variant: "tertiary",
-    ref: ref,
-    onClick: handleOnClick
-  }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: icon
-  }), backButtonLabel || parentMenuTitle || Object(external_wp_i18n_["__"])('Back'));
-}

-/* harmony default export */ var back_button = (Object(external_wp_element_["forwardRef"])(NavigationBackButton));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/group/context.js
-/**
- * WordPress dependencies
- */

-const NavigationGroupContext = Object(external_wp_element_["createContext"])({
-  group: undefined
-});
-const useNavigationGroupContext = () => Object(external_wp_element_["useContext"])(NavigationGroupContext);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/group/index.js


-/**
- * External dependencies
- */


-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */

+function globallyHideTooltipOnEscape(event) {
+  if (event.defaultPrevented) return;
+
+  if (event.key === "Escape") {
+    globalState.show(null);
+  }
+}
+
+var useTooltip = createHook({
+  name: "Tooltip",
+  compose: useDisclosureContent,
+  keys: TOOLTIP_KEYS,
+  useOptions: function useOptions(_ref) {
+    var _ref$unstable_portal = _ref.unstable_portal,
+        unstable_portal = _ref$unstable_portal === void 0 ? true : _ref$unstable_portal,
+        options = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["unstable_portal"]);

+    return _objectSpread2({
+      unstable_portal: unstable_portal
+    }, options);
+  },
+  useProps: function useProps(options, _ref2) {
+    var htmlRef = _ref2.ref,
+        htmlStyle = _ref2.style,
+        htmlWrapElement = _ref2.wrapElement,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref2, ["ref", "style", "wrapElement"]);

+    (0,external_React_.useEffect)(function () {
+      var _options$unstable_pop;

-function NavigationGroup(_ref) {
-  let {
-    children,
-    className,
-    title
-  } = _ref;
-  const [groupId] = Object(external_wp_element_["useState"])(Object(external_lodash_["uniqueId"])('group-'));
-  const {
-    navigationTree: {
-      items
-    }
-  } = useNavigationContext();
-  const context = {
-    group: groupId
-  }; // Keep the children rendered to make sure invisible items are included in the navigation tree.
+      var document = getDocument((_options$unstable_pop = options.unstable_popoverRef) === null || _options$unstable_pop === void 0 ? void 0 : _options$unstable_pop.current);
+      document.addEventListener("keydown", globallyHideTooltipOnEscape);
+    }, []);
+    var wrapElement = (0,external_React_.useCallback)(function (element) {
+      if (options.unstable_portal) {
+        element = /*#__PURE__*/(0,external_React_.createElement)(Portal, null, element);
+      }

-  if (!Object(external_lodash_["find"])(items, {
-    group: groupId,
-    _isVisible: true
-  })) {
-    return Object(external_wp_element_["createElement"])(NavigationGroupContext.Provider, {
-      value: context
-    }, children);
+      if (htmlWrapElement) {
+        return htmlWrapElement(element);
+      }
+
+      return element;
+    }, [options.unstable_portal, htmlWrapElement]);
+    return _objectSpread2({
+      ref: useForkRef(options.unstable_popoverRef, htmlRef),
+      role: "tooltip",
+      style: _objectSpread2(_objectSpread2({}, options.unstable_popoverStyles), {}, {
+        pointerEvents: "none"
+      }, htmlStyle),
+      wrapElement: wrapElement
+    }, htmlProps);
   }
+});
+var Tooltip_Tooltip = createComponent({
+  as: "div",
+  memo: true,
+  useHook: useTooltip
+});

-  const groupTitleId = `components-navigation__group-title-${groupId}`;
-  const classes = classnames_default()('components-navigation__group', className);
-  return Object(external_wp_element_["createElement"])(NavigationGroupContext.Provider, {
-    value: context
-  }, Object(external_wp_element_["createElement"])("li", {
-    className: classes
-  }, title && Object(external_wp_element_["createElement"])(GroupTitleUI, {
-    className: "components-navigation__group-title",
-    id: groupTitleId,
-    level: 3
-  }, title), Object(external_wp_element_["createElement"])("ul", {
-    "aria-labelledby": groupTitleId,
-    role: "group"
-  }, children)));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/item/base-content.js

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/shortcut/component.js
+
+
+
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

 /**
  * Internal dependencies
  */

-function NavigationItemBaseContent(props) {
+
+
+function component_Shortcut(props, forwardedRef) {
   const {
-    badge,
-    title
-  } = props;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, title && Object(external_wp_element_["createElement"])(ItemTitleUI, {
-    className: "components-navigation__item-title",
-    variant: "body.small",
-    as: "span"
-  }, title), badge && Object(external_wp_element_["createElement"])(ItemBadgeUI, {
-    className: "components-navigation__item-badge"
-  }, badge));
+    as: asProp = 'span',
+    shortcut,
+    className,
+    ...otherProps
+  } = useContextSystem(props, 'Shortcut');
+
+  if (!shortcut) {
+    return null;
+  }
+
+  let displayText;
+  let ariaLabel;
+
+  if (typeof shortcut === 'string') {
+    displayText = shortcut;
+  } else {
+    displayText = shortcut.display;
+    ariaLabel = shortcut.ariaLabel;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({
+    as: asProp,
+    className: className,
+    "aria-label": ariaLabel,
+    ref: forwardedRef
+  }, otherProps), displayText);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/context.js
-/**
- * WordPress dependencies
- */
+const ConnectedShortcut = contextConnect(component_Shortcut, 'Shortcut');
+/* harmony default export */ var shortcut_component = (ConnectedShortcut);

-const NavigationMenuContext = Object(external_wp_element_["createContext"])({
-  menu: undefined,
-  search: ''
-});
-const useNavigationMenuContext = () => Object(external_wp_element_["useContext"])(NavigationMenuContext);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/z-index.js
+const Flyout = 10000;
+const z_index_Tooltip = 1000002;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/utils.js
-/**
- * External dependencies
- */
- // @see packages/block-editor/src/components/inserter/search-items.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/tooltip/styles.js

-const normalizeInput = input => Object(external_lodash_["deburr"])(input).replace(/^\//, '').toLowerCase();
-const normalizedSearch = (title, search) => -1 !== normalizeInput(title).indexOf(normalizeInput(search));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/item/use-navigation-tree-item.js
+function tooltip_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+
 /**
- * WordPress dependencies
+ * External dependencies
  */

+
 /**
  * Internal dependencies
  */
@@ -54257,95 +49516,80 @@ const normalizedSearch = (title, search) => -1 !== normalizeInput(title).indexOf



-const useNavigationTreeItem = (itemId, props) => {
-  const {
-    activeMenu,
-    navigationTree: {
-      addItem,
-      removeItem
-    }
-  } = useNavigationContext();
-  const {
-    group
-  } = useNavigationGroupContext();
-  const {
-    menu,
-    search
-  } = useNavigationMenuContext();
-  Object(external_wp_element_["useEffect"])(() => {
-    const isMenuActive = activeMenu === menu;
-    const isItemVisible = !search || normalizedSearch(props.title, search);
-    addItem(itemId, { ...props,
-      group,
-      menu,
-      _isVisible: isMenuActive && isItemVisible
-    });
-    return () => {
-      removeItem(itemId);
-    };
-  }, [activeMenu, search]);
-};
+const TooltipContent = /*#__PURE__*/emotion_react_browser_esm_css("z-index:", z_index_Tooltip, ";box-sizing:border-box;opacity:0;outline:none;transform-origin:top center;transition:opacity ", config_values.transitionDurationFastest, " ease;&[data-enter]{opacity:1;}" + ( true ? "" : 0),  true ? "" : 0);
+const TooltipPopoverView = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e7tfjmw1"
+} : 0)("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-shadow:0 0 0 1px rgba( 255, 255, 255, 0.04 );color:", COLORS.white, ";padding:4px 8px;" + ( true ? "" : 0));
+const noOutline =  true ? {
+  name: "12mkfdx",
+  styles: "outline:none"
+} : 0;
+const TooltipShortcut = /*#__PURE__*/emotion_styled_base_browser_esm(shortcut_component,  true ? {
+  target: "e7tfjmw0"
+} : 0)("display:inline-block;margin-left:", space(1), ";" + ( true ? "" : 0));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/item/base.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/tooltip/content.js



 /**
  * External dependencies
  */
-
+// eslint-disable-next-line no-restricted-imports

 /**
- * WordPress dependencies
+ * Internal dependencies
  */


-/**
- * Internal dependencies
- */




-function NavigationItemBase(props) {
-  var _navigationTree$getIt;
+const {
+  TooltipPopoverView: content_TooltipPopoverView
+} = tooltip_styles_namespaceObject;
+/**
+ *
+ * @param {import('../context').WordPressComponentProps<import('./types').ContentProps, 'div'>} props
+ * @param {import('react').Ref<any>}                                                            forwardedRef
+ */

+function content_TooltipContent(props, forwardedRef) {
   const {
     children,
     className,
-    ...restProps
-  } = props;
-  const [itemId] = Object(external_wp_element_["useState"])(Object(external_lodash_["uniqueId"])('item-'));
-  useNavigationTreeItem(itemId, props);
+    ...otherProps
+  } = useContextSystem(props, 'TooltipContent');
   const {
-    navigationTree
-  } = useNavigationContext();
-
-  if (!((_navigationTree$getIt = navigationTree.getItem(itemId)) !== null && _navigationTree$getIt !== void 0 && _navigationTree$getIt._isVisible)) {
-    return null;
-  }
-
-  const classes = classnames_default()('components-navigation__item', className);
-  return Object(external_wp_element_["createElement"])(ItemBaseUI, Object(esm_extends["a" /* default */])({
-    className: classes
-  }, restProps), children);
+    tooltip
+  } = useTooltipContext();
+  const cx = useCx();
+  const classes = cx(TooltipContent, className);
+  return (0,external_wp_element_namespaceObject.createElement)(Tooltip_Tooltip, extends_extends({
+    as: component
+  }, otherProps, tooltip, {
+    className: classes,
+    ref: forwardedRef
+  }), (0,external_wp_element_namespaceObject.createElement)(content_TooltipPopoverView, null, children));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/item/index.js
+/* harmony default export */ var tooltip_content = (contextConnect(content_TooltipContent, 'TooltipContent'));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/ui/tooltip/component.js



 /**
  * External dependencies
  */
-
+// eslint-disable-next-line no-restricted-imports

 /**
  * WordPress dependencies
  */


-
 /**
  * Internal dependencies
  */
@@ -54354,102 +49598,78 @@ function NavigationItemBase(props) {



+/**
+ * @param {import('../context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ * @param {import('react').Ref<any>}                                                     forwardedRef
+ */

-function NavigationItem(props) {
+function component_Tooltip(props, forwardedRef) {
   const {
-    badge,
+    animated = true,
+    animationDuration = 160,
+    baseId,
     children,
-    className,
-    href,
-    item,
-    navigateToMenu,
-    onClick = external_lodash_["noop"],
-    title,
-    icon,
-    hideIfTargetMenuEmpty,
-    isText,
-    ...restProps
-  } = props;
-  const {
-    activeItem,
-    setActiveMenu,
-    navigationTree: {
-      isMenuEmpty
-    }
-  } = useNavigationContext(); // If hideIfTargetMenuEmpty prop is true
-  // And the menu we are supposed to navigate to
-  // Is marked as empty, then we skip rendering the item
-
-  if (hideIfTargetMenuEmpty && navigateToMenu && isMenuEmpty(navigateToMenu)) {
-    return null;
-  }
-
-  const isActive = item && activeItem === item;
-  const classes = classnames_default()(className, {
-    'is-active': isActive
+    content,
+    focusable = true,
+    gutter = 4,
+    id,
+    modal = true,
+    placement,
+    visible = false,
+    shortcut,
+    ...otherProps
+  } = useContextSystem(props, 'Tooltip');
+  const tooltip = useTooltipState({
+    animated: animated ? animationDuration : undefined,
+    baseId: baseId || id,
+    gutter,
+    placement,
+    visible,
+    ...otherProps
   });
-
-  const onItemClick = event => {
-    if (navigateToMenu) {
-      setActiveMenu(navigateToMenu);
+  const contextProps = (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    tooltip
+  }), [tooltip]);
+  return (0,external_wp_element_namespaceObject.createElement)(TooltipContext.Provider, {
+    value: contextProps
+  }, content && (0,external_wp_element_namespaceObject.createElement)(tooltip_content, {
+    unstable_portal: modal,
+    ref: forwardedRef
+  }, content, shortcut && (0,external_wp_element_namespaceObject.createElement)(TooltipShortcut, {
+    shortcut: shortcut
+  })), children && (0,external_wp_element_namespaceObject.createElement)(TooltipReference, extends_extends({}, tooltip, children.props, {
+    // @ts-ignore If ref doesn't exist that's fine with us, it'll just be undefined, but it can exist on ReactElement and there's no reason to try to scope this (it'll just overcomplicate things)
+    ref: children === null || children === void 0 ? void 0 : children.ref
+  }), referenceProps => {
+    if (!focusable) {
+      referenceProps.tabIndex = undefined;
     }

-    onClick(event);
-  };
-
-  const navigationIcon = Object(external_wp_i18n_["isRTL"])() ? chevron_left["a" /* default */] : chevron_right["a" /* default */];
-  const baseProps = children ? props : { ...props,
-    onClick: undefined
-  };
-  const itemProps = isText ? restProps : {
-    as: build_module_button["a" /* default */],
-    href,
-    onClick: onItemClick,
-    'aria-current': isActive ? 'page' : undefined,
-    ...restProps
-  };
-  return Object(external_wp_element_["createElement"])(NavigationItemBase, Object(esm_extends["a" /* default */])({}, baseProps, {
-    className: classes
-  }), children || Object(external_wp_element_["createElement"])(ItemUI, itemProps, icon && Object(external_wp_element_["createElement"])(ItemIconUI, null, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: icon
-  })), Object(external_wp_element_["createElement"])(NavigationItemBaseContent, {
-    title: title,
-    badge: badge
-  }), navigateToMenu && Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: navigationIcon
-  })));
+    return (0,external_wp_element_namespaceObject.cloneElement)(children, referenceProps);
+  }));
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/use-navigation-tree-menu.js
-/**
- * WordPress dependencies
- */
-
 /**
- * Internal dependencies
+ * `Tooltip` is a component that provides context for a user interface element.
+ *
+ * @example
+ * ```jsx
+ * import { Tooltip, Text } from `@wordpress/components/ui`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<Tooltip content="Code is Poetry">
+ * 			<Text>WordPress.org</Text>
+ * 		</Tooltip>
+ * 	)
+ * }
+ * ```
  */


+const ConnectedTooltip = contextConnect(component_Tooltip, 'Tooltip');
+/* harmony default export */ var tooltip_component = (ConnectedTooltip);

-const useNavigationTreeMenu = props => {
-  const {
-    navigationTree: {
-      addMenu,
-      removeMenu
-    }
-  } = useNavigationContext();
-  const key = props.menu || ROOT_MENU;
-  Object(external_wp_element_["useEffect"])(() => {
-    addMenu(key, { ...props,
-      menu: key
-    });
-    return () => {
-      removeMenu(key);
-    };
-  }, []);
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/menu-title-search.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/color-display.js


 /**
@@ -54462,7 +49682,6 @@ const useNavigationTreeMenu = props => {



-
 /**
  * Internal dependencies
  */
@@ -54472,87 +49691,155 @@ const useNavigationTreeMenu = props => {



-
-function MenuTitleSearch(_ref) {
+const ValueDisplay = _ref => {
   let {
-    debouncedSpeak,
-    onCloseSearch,
-    onSearch,
-    search,
-    title
+    values
   } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, values.map(_ref2 => {
+    let [value, abbreviation] = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(flex_item_component, {
+      key: abbreviation,
+      isBlock: true,
+      display: "flex"
+    }, (0,external_wp_element_namespaceObject.createElement)(text_component, {
+      color: "blue"
+    }, abbreviation), (0,external_wp_element_namespaceObject.createElement)(text_component, null, value));
+  }));
+};
+
+const HslDisplay = _ref3 => {
+  let {
+    color,
+    enableAlpha
+  } = _ref3;
   const {
-    navigationTree: {
-      items
-    }
-  } = useNavigationContext();
-  const {
-    menu
-  } = useNavigationMenuContext();
-  const inputRef = Object(external_wp_element_["useRef"])(); // Wait for the slide-in animation to complete before autofocusing the input.
-  // This prevents scrolling to the input during the animation.
+    h,
+    s,
+    l,
+    a
+  } = color.toHsl();
+  const values = [[Math.floor(h), 'H'], [Math.round(s * 100), 'S'], [Math.round(l * 100), 'L']];

-  Object(external_wp_element_["useEffect"])(() => {
-    const delayedFocus = setTimeout(() => {
-      inputRef.current.focus();
-    }, SEARCH_FOCUS_DELAY);
-    return () => {
-      clearTimeout(delayedFocus);
-    };
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!search) {
-      return;
-    }
+  if (enableAlpha) {
+    values.push([Math.round(a * 100), 'A']);
+  }

-    const count = Object(external_lodash_["filter"])(items, '_isVisible').length;
-    const resultsFoundMessage = Object(external_wp_i18n_["sprintf"])(
-    /* translators: %d: number of results. */
-    Object(external_wp_i18n_["_n"])('%d result found.', '%d results found.', count), count);
-    debouncedSpeak(resultsFoundMessage);
-  }, [items, search]);
+  return (0,external_wp_element_namespaceObject.createElement)(ValueDisplay, {
+    values: values
+  });
+};

-  const onClose = () => {
-    onSearch('');
-    onCloseSearch();
-  };
+const RgbDisplay = _ref4 => {
+  let {
+    color,
+    enableAlpha
+  } = _ref4;
+  const {
+    r,
+    g,
+    b,
+    a
+  } = color.toRgb();
+  const values = [[r, 'R'], [g, 'G'], [b, 'B']];

-  function onKeyDown(event) {
-    if (event.keyCode === external_wp_keycodes_["ESCAPE"] && !event.defaultPrevented) {
-      event.preventDefault();
-      onClose();
-    }
+  if (enableAlpha) {
+    values.push([Math.round(a * 100), 'A']);
   }

-  const inputId = `components-navigation__menu-title-search-${menu}`;
-  const placeholder = Object(external_wp_i18n_["sprintf"])(
-  /* translators: placeholder for menu search box. %s: menu title */
-  Object(external_wp_i18n_["__"])('Search %s'), title === null || title === void 0 ? void 0 : title.toLowerCase()).trim();
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "components-navigation__menu-title-search"
-  }, Object(external_wp_element_["createElement"])(MenuTitleSearchUI, {
-    autoComplete: "off",
-    className: "components-navigation__menu-search-input",
-    id: inputId,
-    onChange: value => onSearch(value),
-    onKeyDown: onKeyDown,
-    placeholder: placeholder,
-    onClose: onClose,
-    ref: inputRef,
-    type: "search",
-    value: search
-  }));
-}
+  return (0,external_wp_element_namespaceObject.createElement)(ValueDisplay, {
+    values: values
+  });
+};

-/* harmony default export */ var menu_title_search = (with_spoken_messages(MenuTitleSearch));
+const HexDisplay = _ref5 => {
+  let {
+    color
+  } = _ref5;
+  const colorWithoutHash = color.toHex().slice(1).toUpperCase();
+  return (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_element_namespaceObject.createElement)(text_component, {
+    color: "blue"
+  }, "#"), (0,external_wp_element_namespaceObject.createElement)(text_component, null, colorWithoutHash));
+};
+
+const getComponent = colorType => {
+  switch (colorType) {
+    case 'hsl':
+      return HslDisplay;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/menu-title.js
+    case 'rgb':
+      return RgbDisplay;

+    default:
+    case 'hex':
+      return HexDisplay;
+  }
+};

-/**
- * WordPress dependencies
- */
+const ColorDisplay = _ref6 => {
+  let {
+    color,
+    colorType,
+    enableAlpha
+  } = _ref6;
+  const [copiedColor, setCopiedColor] = (0,external_wp_element_namespaceObject.useState)(null);
+  const copyTimer = (0,external_wp_element_namespaceObject.useRef)();
+  const props = {
+    color,
+    enableAlpha
+  };
+  const Component = getComponent(colorType);
+  const copyRef = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(() => {
+    switch (colorType) {
+      case 'hsl':
+        {
+          return color.toHslString();
+        }
+
+      case 'rgb':
+        {
+          return color.toRgbString();
+        }
+
+      default:
+      case 'hex':
+        {
+          return color.toHex();
+        }
+    }
+  }, () => {
+    if (copyTimer.current) {
+      clearTimeout(copyTimer.current);
+    }
+
+    setCopiedColor(color.toHex());
+    copyTimer.current = setTimeout(() => {
+      setCopiedColor(null);
+      copyTimer.current = undefined;
+    }, 3000);
+  });
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // clear copyTimer on component unmount.
+    return () => {
+      if (copyTimer.current) {
+        clearTimeout(copyTimer.current);
+      }
+    };
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)(tooltip_component, {
+    content: (0,external_wp_element_namespaceObject.createElement)(text_component, {
+      color: "white"
+    }, copiedColor === color.toHex() ? (0,external_wp_i18n_namespaceObject.__)('Copied!') : (0,external_wp_i18n_namespaceObject.__)('Copy'))
+  }, (0,external_wp_element_namespaceObject.createElement)(flex_component, {
+    justify: "flex-start",
+    gap: space(1),
+    ref: copyRef,
+    style: {
+      height: 30
+    }
+  }, (0,external_wp_element_namespaceObject.createElement)(Component, props)));
+};

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/input-with-slider.js


 /**
@@ -54563,105 +49850,202 @@ function MenuTitleSearch(_ref) {



-
-
-function NavigationMenuTitle(_ref) {
+const InputWithSlider = _ref => {
   let {
-    hasSearch,
-    onSearch,
-    search,
-    title,
-    titleAction
+    min,
+    max,
+    label,
+    abbreviation,
+    onChange,
+    value
   } = _ref;
-  const [isSearching, setIsSearching] = Object(external_wp_element_["useState"])(false);
-  const {
-    menu
-  } = useNavigationMenuContext();
-  const searchButtonRef = Object(external_wp_element_["useRef"])();
+  return (0,external_wp_element_namespaceObject.createElement)(spacer_component, {
+    as: h_stack_component,
+    spacing: 4
+  }, (0,external_wp_element_namespaceObject.createElement)(NumberControlWrapper, {
+    min: min,
+    max: max,
+    label: label,
+    hideLabelFromVision: true,
+    value: value,
+    onChange: onChange,
+    prefix: (0,external_wp_element_namespaceObject.createElement)(spacer_component, {
+      as: text_component,
+      paddingLeft: space(3.5),
+      color: "blue",
+      lineHeight: 1
+    }, abbreviation),
+    hideHTMLArrows: true
+  }), (0,external_wp_element_namespaceObject.createElement)(styles_RangeControl, {
+    label: label,
+    hideLabelFromVision: true,
+    min: min,
+    max: max,
+    value: value,
+    onChange: onChange,
+    withInputField: false
+  }));
+};

-  if (!title) {
-    return null;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/rgb-input.js

-  const onCloseSearch = () => {
-    setIsSearching(false); // Wait for the slide-in animation to complete before focusing the search button.
-    // eslint-disable-next-line @wordpress/react-no-unsafe-timeout

-    setTimeout(() => {
-      searchButtonRef.current.focus();
-    }, SEARCH_FOCUS_DELAY);
-  };
+/**
+ * External dependencies
+ */

-  const menuTitleId = `components-navigation__menu-title-${menu}`;
-  /* translators: search button label for menu search box. %s: menu title */
+/**
+ * Internal dependencies
+ */

-  const searchButtonLabel = Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Search in %s'), title);
-  return Object(external_wp_element_["createElement"])(MenuTitleUI, {
-    className: "components-navigation__menu-title"
-  }, !isSearching && Object(external_wp_element_["createElement"])(GroupTitleUI, {
-    as: "h2",
-    className: "components-navigation__menu-title-heading",
-    level: 3
-  }, Object(external_wp_element_["createElement"])("span", {
-    id: menuTitleId
-  }, title), (hasSearch || titleAction) && Object(external_wp_element_["createElement"])(MenuTitleActionsUI, null, titleAction, hasSearch && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    isSmall: true,
-    variant: "tertiary",
-    label: searchButtonLabel,
-    onClick: () => setIsSearching(true),
-    ref: searchButtonRef
-  }, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: library_search["a" /* default */]
-  })))), isSearching && Object(external_wp_element_["createElement"])("div", {
-    className: Object(build_module_animate["b" /* getAnimateClassName */])({
-      type: 'slide-in',
-      origin: 'left'
-    })
-  }, Object(external_wp_element_["createElement"])(menu_title_search, {
-    onCloseSearch: onCloseSearch,
-    onSearch: onSearch,
-    search: search,
-    title: title
-  })));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/search-no-results-found.js
+const RgbInput = _ref => {
+  let {
+    color,
+    onChange,
+    enableAlpha
+  } = _ref;
+  const {
+    r,
+    g,
+    b,
+    a
+  } = color.toRgb();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(InputWithSlider, {
+    min: 0,
+    max: 255,
+    label: "Red",
+    abbreviation: "R",
+    value: r,
+    onChange: nextR => onChange(w({
+      r: nextR,
+      g,
+      b,
+      a
+    }))
+  }), (0,external_wp_element_namespaceObject.createElement)(InputWithSlider, {
+    min: 0,
+    max: 255,
+    label: "Green",
+    abbreviation: "G",
+    value: g,
+    onChange: nextG => onChange(w({
+      r,
+      g: nextG,
+      b,
+      a
+    }))
+  }), (0,external_wp_element_namespaceObject.createElement)(InputWithSlider, {
+    min: 0,
+    max: 255,
+    label: "Blue",
+    abbreviation: "B",
+    value: b,
+    onChange: nextB => onChange(w({
+      r,
+      g,
+      b: nextB,
+      a
+    }))
+  }), enableAlpha && (0,external_wp_element_namespaceObject.createElement)(InputWithSlider, {
+    min: 0,
+    max: 100,
+    label: "Alpha",
+    abbreviation: "A",
+    value: Math.trunc(a * 100),
+    onChange: nextA => onChange(w({
+      r,
+      g,
+      b,
+      a: nextA / 100
+    }))
+  }));
+};
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/hsl-input.js


 /**
  * External dependencies
  */

-/**
- * WordPress dependencies
- */
-
-
 /**
  * Internal dependencies
  */


-
-function NavigationSearchNoResultsFound(_ref) {
+const HslInput = _ref => {
   let {
-    search
+    color,
+    onChange,
+    enableAlpha
   } = _ref;
   const {
-    navigationTree: {
-      items
+    h,
+    s,
+    l,
+    a
+  } = color.toHsl();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(InputWithSlider, {
+    min: 0,
+    max: 359,
+    label: "Hue",
+    abbreviation: "H",
+    value: h,
+    onChange: nextH => {
+      onChange(w({
+        h: nextH,
+        s,
+        l,
+        a
+      }));
     }
-  } = useNavigationContext();
-  const resultsCount = Object(external_lodash_["filter"])(items, '_isVisible').length;
-
-  if (!search || !!resultsCount) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(ItemBaseUI, null, Object(external_wp_element_["createElement"])(ItemUI, null, Object(external_wp_i18n_["__"])('No results found.'), " "));
-}
+  }), (0,external_wp_element_namespaceObject.createElement)(InputWithSlider, {
+    min: 0,
+    max: 100,
+    label: "Saturation",
+    abbreviation: "S",
+    value: s,
+    onChange: nextS => {
+      onChange(w({
+        h,
+        s: nextS,
+        l,
+        a
+      }));
+    }
+  }), (0,external_wp_element_namespaceObject.createElement)(InputWithSlider, {
+    min: 0,
+    max: 100,
+    label: "Lightness",
+    abbreviation: "L",
+    value: l,
+    onChange: nextL => {
+      onChange(w({
+        h,
+        s,
+        l: nextL,
+        a
+      }));
+    }
+  }), enableAlpha && (0,external_wp_element_namespaceObject.createElement)(InputWithSlider, {
+    min: 0,
+    max: 100,
+    label: "Alpha",
+    abbreviation: "A",
+    value: Math.trunc(100 * a),
+    onChange: nextA => {
+      onChange(w({
+        h,
+        s,
+        l,
+        a: nextA / 100
+      }));
+    }
+  }));
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/hex-input.js


 /**
@@ -54681,369 +50065,258 @@ function NavigationSearchNoResultsFound(_ref) {



+const HexInput = _ref => {
+  let {
+    color,
+    onChange,
+    enableAlpha
+  } = _ref;

+  const handleValidate = value => {
+    if (!w('#' + value).isValid()) {
+      throw new Error('Invalid hex color input');
+    }
+  };

+  return (0,external_wp_element_namespaceObject.createElement)(ColorHexInputControl, {
+    prefix: (0,external_wp_element_namespaceObject.createElement)(spacer_component, {
+      as: text_component,
+      marginLeft: space(3.5),
+      color: "blue",
+      lineHeight: 1
+    }, "#"),
+    value: color.toHex().slice(1).toUpperCase(),
+    onChange: nextValue => {
+      onChange(w('#' + nextValue));
+    },
+    onValidate: handleValidate,
+    maxLength: enableAlpha ? 8 : 6,
+    label: (0,external_wp_i18n_namespaceObject.__)('Hex color'),
+    hideLabelFromVision: true
+  });
+};

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/color-input.js


-function NavigationMenu(props) {
-  const {
-    backButtonLabel,
-    children,
-    className,
-    hasSearch,
-    menu = ROOT_MENU,
-    onBackButtonClick,
-    onSearch: setControlledSearch,
-    parentMenu,
-    search: controlledSearch,
-    isSearchDebouncing,
-    title,
-    titleAction
-  } = props;
-  const [uncontrolledSearch, setUncontrolledSearch] = Object(external_wp_element_["useState"])('');
-  useNavigationTreeMenu(props);
-  const {
-    activeMenu
-  } = useNavigationContext();
-  const context = {
-    menu,
-    search: uncontrolledSearch
-  }; // Keep the children rendered to make sure invisible items are included in the navigation tree
-
-  if (activeMenu !== menu) {
-    return Object(external_wp_element_["createElement"])(NavigationMenuContext.Provider, {
-      value: context
-    }, children);
-  }
-
-  const isControlledSearch = !!setControlledSearch;
-  const search = isControlledSearch ? controlledSearch : uncontrolledSearch;
-  const onSearch = isControlledSearch ? setControlledSearch : setUncontrolledSearch;
-  const menuTitleId = `components-navigation__menu-title-${menu}`;
-  const classes = classnames_default()('components-navigation__menu', className);
-  return Object(external_wp_element_["createElement"])(NavigationMenuContext.Provider, {
-    value: context
-  }, Object(external_wp_element_["createElement"])(MenuUI, {
-    className: classes
-  }, (parentMenu || onBackButtonClick) && Object(external_wp_element_["createElement"])(back_button, {
-    backButtonLabel: backButtonLabel,
-    parentMenu: parentMenu,
-    onClick: onBackButtonClick
-  }), title && Object(external_wp_element_["createElement"])(NavigationMenuTitle, {
-    hasSearch: hasSearch,
-    onSearch: onSearch,
-    search: search,
-    title: title,
-    titleAction: titleAction
-  }), Object(external_wp_element_["createElement"])(navigable_container_menu, null, Object(external_wp_element_["createElement"])("ul", {
-    "aria-labelledby": menuTitleId
-  }, children, search && !isSearchDebouncing && Object(external_wp_element_["createElement"])(NavigationSearchNoResultsFound, {
-    search: search
-  })))));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigator/context.js
 /**
- * WordPress dependencies
+ * External dependencies
  */

 /**
  * Internal dependencies
  */

-const initialContextValue = [{}, () => {}];
-const NavigatorContext = Object(external_wp_element_["createContext"])(initialContextValue);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigator/navigator-provider/component.js

+const ColorInput = _ref => {
+  let {
+    colorType,
+    color,
+    onChange,
+    enableAlpha
+  } = _ref;
+  const props = {
+    color,
+    onChange,
+    enableAlpha
+  };
+
+  switch (colorType) {
+    case 'hsl':
+      return (0,external_wp_element_namespaceObject.createElement)(HslInput, props);

+    case 'rgb':
+      return (0,external_wp_element_namespaceObject.createElement)(RgbInput, props);
+
+    default:
+    case 'hex':
+      return (0,external_wp_element_namespaceObject.createElement)(HexInput, props);
+  }
+};
+
+;// CONCATENATED MODULE: ./node_modules/react-colorful/dist/index.module.js
+function index_module_u(){return(index_module_u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function index_module_c(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function index_module_i(e){var t=(0,external_React_.useRef)(e),n=(0,external_React_.useRef)(function(e){t.current&&t.current(e)});return t.current=e,n.current}var index_module_s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},index_module_f=function(e){return"touches"in e},index_module_v=function(e){return e&&e.ownerDocument.defaultView||self},index_module_d=function(e,r,t){var n=e.getBoundingClientRect(),o=index_module_f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return{left:index_module_s((o.pageX-(n.left+index_module_v(e).pageXOffset))/n.width),top:index_module_s((o.pageY-(n.top+index_module_v(e).pageYOffset))/n.height)}},index_module_h=function(e){!index_module_f(e)&&e.preventDefault()},index_module_m=external_React_default().memo(function(o){var a=o.onMove,l=o.onKey,s=index_module_c(o,["onMove","onKey"]),m=(0,external_React_.useRef)(null),g=index_module_i(a),p=index_module_i(l),b=(0,external_React_.useRef)(null),_=(0,external_React_.useRef)(!1),x=(0,external_React_.useMemo)(function(){var e=function(e){index_module_h(e),(index_module_f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(index_module_d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=index_module_v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(index_module_h(r),!function(e,r){return r&&!index_module_f(e)}(r,_.current)&&n)){if(index_module_f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(index_module_d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]},[p,g]),C=x[0],E=x[1],H=x[2];return (0,external_React_.useEffect)(function(){return H},[H]),external_React_default().createElement("div",index_module_u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),index_module_g=function(e){return e.filter(Boolean).join(" ")},index_module_p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=index_module_g(["react-colorful__pointer",r.className]);return external_React_default().createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},external_React_default().createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},index_module_b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},index_module_x=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},C=function(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},index_module_E=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?index_module_M({h:C(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},index_module_H=index_module_E,index_module_M=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},index_module_N=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:index_module_b(e.h),s:index_module_b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:index_module_b(o/2),a:index_module_b(n,2)}},index_module_w=function(e){var r=index_module_N(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},index_module_y=function(e){var r=index_module_N(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},q=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:index_module_b(255*[n,u,l,l,c,n][i]),g:index_module_b(255*[c,n,n,u,l,l][i]),b:index_module_b(255*[l,l,c,n,n,u][i]),a:index_module_b(o,2)}},index_module_k=function(e){var r=/hsva?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?D({h:C(r[1],r[2]),s:Number(r[3]),v:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},O=index_module_k,index_module_I=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?B({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},index_module_j=index_module_I,z=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},B=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:index_module_b(60*(u<0?u+6:u)),s:index_module_b(a?l/a*100:0),v:index_module_b(a/255*100),a:o}},D=function(e){return{h:index_module_b(e.h),s:index_module_b(e.s),v:index_module_b(e.v),a:index_module_b(e.a,2)}},K=external_React_default().memo(function(r){var t=r.hue,n=r.onChange,o=index_module_g(["react-colorful__hue",r.className]);return external_React_default().createElement("div",{className:o},external_React_default().createElement(index_module_m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:index_module_s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":index_module_b(t)},external_React_default().createElement(index_module_p,{className:"react-colorful__hue-pointer",left:t/360,color:index_module_w({h:t,s:100,v:100,a:1})})))}),L=external_React_default().memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:index_module_w({h:t.h,s:100,v:100,a:1})};return external_React_default().createElement("div",{className:"react-colorful__saturation",style:o},external_React_default().createElement(index_module_m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:index_module_s(t.s+100*e.left,0,100),v:index_module_s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+index_module_b(t.s)+"%, Brightness "+index_module_b(t.v)+"%"},external_React_default().createElement(index_module_p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:index_module_w(t)})))}),A=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},index_module_S=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function T(e,t,l){var u=index_module_i(l),c=(0,external_React_.useState)(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=(0,external_React_.useRef)({color:t,hsva:s});(0,external_React_.useEffect)(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}},[t,e]),(0,external_React_.useEffect)(function(){var r;A(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))},[s,e,u]);var d=(0,external_React_.useCallback)(function(e){f(function(r){return Object.assign({},r,e)})},[]);return[s,d]}var F,P="undefined"!=typeof window?external_React_.useLayoutEffect:external_React_.useEffect,X=function(){return F||( true?__webpack_require__.nc:0)},Y=function(e){F=e},R=new Map,V=function(e){P(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!R.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',R.set(r,t);var n=X();n&&t.setAttribute("nonce",n),r.head.appendChild(t)}},[])},index_module_$=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=index_module_c(t,["className","colorModel","color","onChange"]),f=(0,external_React_.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=index_module_g(["react-colorful",n]);return external_React_default().createElement("div",index_module_u({},s,{ref:f,className:m}),external_React_default().createElement(L,{hsva:d,onChange:h}),external_React_default().createElement(K,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},G={defaultColor:"000",toHsva:function(e){return B(index_module_x(e))},fromHsva:function(e){return t=(r=q(e)).g,n=r.b,"#"+z(r.r)+z(t)+z(n);var r,t,n},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||A(index_module_x(e),index_module_x(r))}},J=function(r){return e.createElement(index_module_$,index_module_u({},r,{colorModel:G}))},Q=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+index_module_y(Object.assign({},n,{a:0}))+", "+index_module_y(Object.assign({},n,{a:1}))+")"},l=index_module_g(["react-colorful__alpha",t]);return external_React_default().createElement("div",{className:l},external_React_default().createElement("div",{className:"react-colorful__alpha-gradient",style:a}),external_React_default().createElement(index_module_m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:index_module_s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":index_module_b(100*n.a)+"%"},external_React_default().createElement(index_module_p,{className:"react-colorful__alpha-pointer",left:n.a,color:index_module_y(n)})))},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=index_module_c(t,["className","colorModel","color","onChange"]),f=(0,external_React_.useRef)(null);V(f);var v=T(o,l,i),d=v[0],h=v[1],m=index_module_g(["react-colorful",n]);return external_React_default().createElement("div",index_module_u({},s,{ref:f,className:m}),external_React_default().createElement(L,{hsva:d,onChange:h}),external_React_default().createElement(K,{hue:d.h,onChange:h}),external_React_default().createElement(Q,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:{h:0,s:0,l:0,a:1},toHsva:index_module_M,fromHsva:index_module_N,equal:A},Z=function(r){return e.createElement(U,index_module_u({},r,{colorModel:W}))},ee={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:index_module_E,fromHsva:index_module_y,equal:index_module_S},re=function(r){return e.createElement(U,index_module_u({},r,{colorModel:ee}))},te={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return index_module_M({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){return{h:(r=index_module_N(e)).h,s:r.s,l:r.l};var r},equal:A},ne=function(r){return e.createElement(index_module_$,index_module_u({},r,{colorModel:te}))},oe={defaultColor:"hsl(0, 0%, 0%)",toHsva:index_module_H,fromHsva:index_module_w,equal:index_module_S},ae=function(r){return e.createElement(index_module_$,index_module_u({},r,{colorModel:oe}))},le={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:D,equal:A},ue=function(r){return e.createElement(U,index_module_u({},r,{colorModel:le}))},ce={defaultColor:"hsva(0, 0%, 0%, 1)",toHsva:index_module_k,fromHsva:function(e){var r=D(e);return"hsva("+r.h+", "+r.s+"%, "+r.v+"%, "+r.a+")"},equal:index_module_S},ie=function(r){return e.createElement(U,index_module_u({},r,{colorModel:ce}))},se={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var r=D(e);return{h:r.h,s:r.s,v:r.v}},equal:A},fe=function(r){return e.createElement(index_module_$,index_module_u({},r,{colorModel:se}))},ve={defaultColor:"hsv(0, 0%, 0%)",toHsva:O,fromHsva:function(e){var r=D(e);return"hsv("+r.h+", "+r.s+"%, "+r.v+"%)"},equal:index_module_S},de=function(r){return e.createElement(index_module_$,index_module_u({},r,{colorModel:ve}))},he={defaultColor:{r:0,g:0,b:0,a:1},toHsva:B,fromHsva:q,equal:A},me=function(r){return e.createElement(U,index_module_u({},r,{colorModel:he}))},ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:index_module_I,fromHsva:function(e){var r=q(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:index_module_S},pe=function(r){return external_React_default().createElement(U,index_module_u({},r,{colorModel:ge}))},be={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return B({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(r=q(e)).r,g:r.g,b:r.b};var r},equal:A},_e=function(r){return e.createElement(index_module_$,index_module_u({},r,{colorModel:be}))},xe={defaultColor:"rgb(0, 0, 0)",toHsva:index_module_j,fromHsva:function(e){var r=q(e);return"rgb("+r.r+", "+r.g+", "+r.b+")"},equal:index_module_S},Ce=function(r){return external_React_default().createElement(index_module_$,index_module_u({},r,{colorModel:xe}))},Ee=/^#?([0-9A-F]{3,8})$/i,He=function(r){var t=r.color,l=void 0===t?"":t,s=r.onChange,f=r.onBlur,v=r.escape,d=r.validate,h=r.format,m=r.process,g=index_module_c(r,["color","onChange","onBlur","escape","validate","format","process"]),p=o(function(){return v(l)}),b=p[0],_=p[1],x=index_module_i(s),C=index_module_i(f),E=a(function(e){var r=v(e.target.value);_(r),d(r)&&x(m?m(r):r)},[v,m,d,x]),H=a(function(e){d(e.target.value)||_(v(l)),C(e)},[l,v,d,C]);return n(function(){_(v(l))},[l,v]),e.createElement("input",index_module_u({},g,{value:h?h(b):b,spellCheck:"false",onChange:E,onBlur:H}))},Me=function(e){return"#"+e},Ne=function(r){var t=r.prefixed,n=r.alpha,o=index_module_c(r,["prefixed","alpha"]),l=a(function(e){return e.replace(/([^0-9A-F]+)/gi,"").substr(0,n?8:6)},[n]),i=a(function(e){return function(e,r){var t=Ee.exec(e),n=t?t[1].length:0;return 3===n||6===n||!!r&&4===n||!!r&&8===n}(e,n)},[n]);return e.createElement(He,index_module_u({},o,{escape:l,format:t?Me:void 0,process:Me,validate:i}))};
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/picker.js

-function component_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
  * External dependencies
  */
-// eslint-disable-next-line no-restricted-imports
+

 /**
  * WordPress dependencies
  */


+const Picker = _ref => {
+  let {
+    color,
+    enableAlpha,
+    onChange
+  } = _ref;
+  const Component = enableAlpha ? pe : Ce;
+  const rgbColor = (0,external_wp_element_namespaceObject.useMemo)(() => color.toRgbString(), [color]);
+  return (0,external_wp_element_namespaceObject.createElement)(Component, {
+    color: rgbColor,
+    onChange: nextColor => {
+      onChange(w(nextColor));
+    }
+  });
+};
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-controlled-value.js
 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-
-
-
-
-var component_ref =  true ? {
-  name: "15bx5k",
-  styles: "overflow-x:hidden"
-} : undefined;
-
-function NavigatorProvider(props, forwardedRef) {
-  const {
-    initialPath,
-    children,
-    className,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'NavigatorProvider');
-  const [path, setPath] = Object(external_wp_element_["useState"])({
-    path: initialPath
-  });
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])( // Prevents horizontal overflow while animating screen transitions
-  () => cx(component_ref, className), [className]);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({
-    ref: forwardedRef,
-    className: classes
-  }, otherProps), Object(external_wp_element_["createElement"])(NavigatorContext.Provider, {
-    value: [path, setPath]
-  }, children));
-}
 /**
- * The `NavigatorProvider` component allows rendering nested panels or menus (via the `NavigatorScreen` component) and navigate between these different states (via the `useNavigator` hook).
- * The Global Styles sidebar is an example of this. The `Navigator*` family of components is _not_ opinionated in terms of UI, and can be composed with any UI components to navigate between the nested screens.
- *
- * @example
- * ```jsx
- * import {
- *   __experimentalNavigatorProvider as NavigatorProvider,
- *   __experimentalNavigatorScreen as NavigatorScreen,
- *   __experimentalUseNavigator as useNavigator,
- * } from '@wordpress/components';
- *
- * function NavigatorButton( {
- *   path,
- *   isBack = false,
- *   ...props
- * } ) {
- *   const navigator = useNavigator();
- *   return (
- *   	<Button
- *   	  onClick={ () => navigator.push( path, { isBack } ) }
- *   	  { ...props }
- *   	/>
- *   );
- * }
- *
- * const MyNavigation = () => (
- *   <NavigatorProvider initialPath="/">
- *     <NavigatorScreen path="/">
- *       <p>This is the home screen.</p>
- *   	   <NavigatorButton isPrimary path="/child">
- *          Navigate to child screen.
- *       </NavigatorButton>
- *     </NavigatorScreen>
+ * Simplified and improved implementation of useControlledState.
  *
- *     <NavigatorScreen path="/child">
- *       <p>This is the child screen.</p>
- *       <NavigatorButton isPrimary path="/" isBack>
- *         Go back
- *       </NavigatorButton>
- *     </NavigatorScreen>
- *   </NavigatorProvider>
- * );
- * ```
+ * @param  props
+ * @param  props.defaultValue
+ * @param  props.value
+ * @param  props.onChange
+ * @return The controlled value and the value setter.
  */
+function useControlledValue(_ref) {
+  let {
+    defaultValue,
+    onChange,
+    value: valueProp
+  } = _ref;
+  const hasValue = typeof valueProp !== 'undefined';
+  const initialValue = hasValue ? valueProp : defaultValue;
+  const [state, setState] = (0,external_wp_element_namespaceObject.useState)(initialValue);
+  const value = hasValue ? valueProp : state;
+  let setValue;

+  if (hasValue && typeof onChange === 'function') {
+    setValue = onChange;
+  } else if (!hasValue && typeof onChange === 'function') {
+    setValue = nextValue => {
+      onChange(nextValue);
+      setState(nextValue);
+    };
+  } else {
+    setValue = setState;
+  }

-const ConnectedNavigatorProvider = Object(context_connect["a" /* contextConnect */])(NavigatorProvider, 'NavigatorProvider');
-/* harmony default export */ var navigator_provider_component = (ConnectedNavigatorProvider);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigator/navigator-screen/component.js
+  return [value, setValue];
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/component.js


-function navigator_screen_component_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
  * External dependencies
  */
 // eslint-disable-next-line no-restricted-imports
-// eslint-disable-next-line no-restricted-imports
-
-
-/**
- * WordPress dependencies
- */
-



 /**
- * Internal dependencies
+ * WordPress dependencies
  */





-const animationEnterDelay = 0;
-const animationEnterDuration = 0.14;
-const animationExitDuration = 0.14;
-const animationExitDelay = 0; // Props specific to `framer-motion` can't be currently passed to `NavigatorScreen`,
-// as some of them would overlap with HTML props (e.g. `onAnimationStart`, ...)
-
-var navigator_screen_component_ref =  true ? {
-  name: "14x3t6z",
-  styles: "overflow-x:auto;max-height:100%"
-} : undefined;
-
-function NavigatorScreen(props, forwardedRef) {
-  const {
-    children,
-    className,
-    path,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'NavigatorScreen');
-  const prefersReducedMotion = Object(external_wp_compose_["useReducedMotion"])();
-  const [currentPath] = Object(external_wp_element_["useContext"])(NavigatorContext);
-  const isMatch = currentPath.path === path;
-  const ref = Object(external_wp_compose_["useFocusOnMount"])();
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => cx(navigator_screen_component_ref, className), [className]); // This flag is used to only apply the focus on mount when the actual path changes.
-  // It avoids the focus to happen on the first render.
-
-  const [hasPathChanged, setHasPathChanged] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    setHasPathChanged(true);
-  }, [path]);
-
-  if (!isMatch) {
-    return null;
-  }
-
-  if (prefersReducedMotion) {
-    return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({
-      ref: forwardedRef,
-      className: classes
-    }, otherProps), children);
-  }
-
-  const animate = {
-    opacity: 1,
-    transition: {
-      delay: animationEnterDelay,
-      duration: animationEnterDuration,
-      ease: 'easeInOut'
-    },
-    x: 0
-  };
-  const initial = {
-    opacity: 0,
-    x: Object(external_wp_i18n_["isRTL"])() && currentPath.isBack || !Object(external_wp_i18n_["isRTL"])() && !currentPath.isBack ? 50 : -50
-  };
-  const exit = {
-    delay: animationExitDelay,
-    opacity: 0,
-    x: !Object(external_wp_i18n_["isRTL"])() && currentPath.isBack || Object(external_wp_i18n_["isRTL"])() && !currentPath.isBack ? 50 : -50,
-    transition: {
-      duration: animationExitDuration,
-      ease: 'easeInOut'
-    }
-  };
-  const animatedProps = {
-    animate,
-    exit,
-    initial
-  };
-  return Object(external_wp_element_["createElement"])(motion.div, Object(esm_extends["a" /* default */])({
-    ref: hasPathChanged ? ref : undefined,
-    className: classes
-  }, otherProps, animatedProps), children);
-}
 /**
- * The `NavigatorScreen` component represents a single view/screen/panel/menu and is supposed to be used in combination with the `NavigatorProvider` component.
- *
- * @example
- * ```jsx
- * import {
- *   __experimentalNavigatorProvider as NavigatorProvider,
- *   __experimentalNavigatorScreen as NavigatorScreen,
- *   __experimentalUseNavigator as useNavigator,
- * } from '@wordpress/components';
- *
- * function NavigatorButton( {
- *   path,
- *   isBack = false,
- *   ...props
- * } ) {
- *   const navigator = useNavigator();
- *   return (
- *   	<Button
- *   	  onClick={ () => navigator.push( path, { isBack } ) }
- *   	  { ...props }
- *   	/>
- *   );
- * }
- *
- * const MyNavigation = () => (
- *   <NavigatorProvider initialPath="/">
- *     <NavigatorScreen path="/">
- *       <p>This is the home screen.</p>
- *   	   <NavigatorButton isPrimary path="/child">
- *          Navigate to child screen.
- *       </NavigatorButton>
- *     </NavigatorScreen>
- *
- *     <NavigatorScreen path="/child">
- *       <p>This is the child screen.</p>
- *       <NavigatorButton isPrimary path="/" isBack>
- *         Go back
- *       </NavigatorButton>
- *     </NavigatorScreen>
- *   </NavigatorProvider>
- * );
- * ```
+ * Internal dependencies
  */


-const ConnectedNavigatorScreen = Object(context_connect["a" /* contextConnect */])(NavigatorScreen, 'NavigatorScreen');
-/* harmony default export */ var navigator_screen_component = (ConnectedNavigatorScreen);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigator/use-navigator.js
-/**
- * WordPress dependencies
- */

-/**
- * Internal dependencies
- */



-/**
- * Retrieves a `navigator` instance.
- */
-function useNavigator() {
-  const [, setPath] = Object(external_wp_element_["useContext"])(NavigatorContext);
-  return {
-    push(path, options) {
-      setPath({
-        path,
-        ...options
-      });
-    }

-  };
-}

-/* harmony default export */ var use_navigator = (useNavigator);
+k([names]);
+const options = [{
+  label: 'RGB',
+  value: 'rgb'
+}, {
+  label: 'HSL',
+  value: 'hsl'
+}, {
+  label: 'Hex',
+  value: 'hex'
+}];

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
-var library_close = __webpack_require__("w95h");
+const ColorPicker = (props, forwardedRef) => {
+  const {
+    enableAlpha = false,
+    color: colorProp,
+    onChange,
+    defaultValue = '#fff',
+    copyFormat,
+    ...divProps
+  } = useContextSystem(props, 'ColorPicker'); // Use a safe default value for the color and remove the possibility of `undefined`.

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/notice/index.js
+  const [color, setColor] = useControlledValue({
+    onChange,
+    value: colorProp,
+    defaultValue
+  });
+  const safeColordColor = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return w(color);
+  }, [color]);
+  const debouncedSetColor = (0,external_wp_compose_namespaceObject.useDebounce)(setColor);
+  const handleChange = (0,external_React_.useCallback)(nextValue => {
+    debouncedSetColor(nextValue.toHex());
+  }, [debouncedSetColor]);
+  const [showInputs, setShowInputs] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [colorType, setColorType] = (0,external_wp_element_namespaceObject.useState)(copyFormat || 'hex');
+  return (0,external_wp_element_namespaceObject.createElement)(ColorfulWrapper, extends_extends({
+    ref: forwardedRef
+  }, divProps), (0,external_wp_element_namespaceObject.createElement)(Picker, {
+    onChange: handleChange,
+    color: safeColordColor,
+    enableAlpha: enableAlpha
+  }), (0,external_wp_element_namespaceObject.createElement)(AuxiliaryColorArtefactWrapper, null, (0,external_wp_element_namespaceObject.createElement)(h_stack_component, {
+    justify: "space-between"
+  }, showInputs ? (0,external_wp_element_namespaceObject.createElement)(styles_SelectControl, {
+    options: options,
+    value: colorType,
+    onChange: nextColorType => setColorType(nextColorType),
+    label: (0,external_wp_i18n_namespaceObject.__)('Color format'),
+    hideLabelFromVision: true
+  }) : (0,external_wp_element_namespaceObject.createElement)(ColorDisplay, {
+    color: safeColordColor,
+    colorType: copyFormat || colorType,
+    enableAlpha: enableAlpha
+  }), (0,external_wp_element_namespaceObject.createElement)(DetailsControlButton, {
+    isSmall: true,
+    onClick: () => setShowInputs(!showInputs),
+    icon: library_settings,
+    isPressed: showInputs,
+    label: showInputs ? (0,external_wp_i18n_namespaceObject.__)('Hide detailed inputs') : (0,external_wp_i18n_namespaceObject.__)('Show detailed inputs')
+  })), (0,external_wp_element_namespaceObject.createElement)(spacer_component, {
+    margin: 4
+  }), showInputs && (0,external_wp_element_namespaceObject.createElement)(ColorInput, {
+    colorType: colorType,
+    color: safeColordColor,
+    onChange: handleChange,
+    enableAlpha: enableAlpha
+  })));
+};

+const ConnectedColorPicker = contextConnect(ColorPicker, 'ColorPicker');
+/* harmony default export */ var color_picker_component = (ConnectedColorPicker);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/use-deprecated-props.js
 /**
  * External dependencies
  */
+ // eslint-disable-next-line no-restricted-imports


 /**
@@ -55051,373 +50324,288 @@ var library_close = __webpack_require__("w95h");
  */


-
-
-
 /**
  * Internal dependencies
  */

+function isLegacyProps(props) {
+  var _props$color;

-/** @typedef {import('@wordpress/element').WPElement} WPElement */
-
-/**
- * Custom hook which announces the message with the given politeness, if a
- * valid message is provided.
- *
- * @param {string|WPElement}     [message]  Message to announce.
- * @param {'polite'|'assertive'} politeness Politeness to announce.
- */
-
-function useSpokenMessage(message, politeness) {
-  const spokenMessage = typeof message === 'string' ? message : Object(external_wp_element_["renderToString"])(message);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (spokenMessage) {
-      Object(external_wp_a11y_["speak"])(spokenMessage, politeness);
-    }
-  }, [spokenMessage, politeness]);
+  return typeof props.onChangeComplete !== 'undefined' || typeof props.disableAlpha !== 'undefined' || typeof ((_props$color = props.color) === null || _props$color === void 0 ? void 0 : _props$color.hex) === 'string';
 }
-/**
- * Given a notice status, returns an assumed default politeness for the status.
- * Defaults to 'assertive'.
- *
- * @param {string} [status] Notice status.
- *
- * @return {'polite'|'assertive'} Notice politeness.
- */
-

-function getDefaultPoliteness(status) {
-  switch (status) {
-    case 'success':
-    case 'warning':
-    case 'info':
-      return 'polite';
-
-    case 'error':
-    default:
-      return 'assertive';
+function getColorFromLegacyProps(props) {
+  if (typeof (props === null || props === void 0 ? void 0 : props.color) === 'undefined') {
+    return undefined;
   }
-}
-
-function Notice(_ref) {
-  let {
-    className,
-    status = 'info',
-    children,
-    spokenMessage = children,
-    onRemove = external_lodash_["noop"],
-    isDismissible = true,
-    actions = [],
-    politeness = getDefaultPoliteness(status),
-    __unstableHTML,
-    // onDismiss is a callback executed when the notice is dismissed.
-    // It is distinct from onRemove, which _looks_ like a callback but is
-    // actually the function to call to remove the notice from the UI.
-    onDismiss = external_lodash_["noop"]
-  } = _ref;
-  useSpokenMessage(spokenMessage, politeness);
-  const classes = classnames_default()(className, 'components-notice', 'is-' + status, {
-    'is-dismissible': isDismissible
-  });

-  if (__unstableHTML) {
-    children = Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], null, children);
+  if (typeof props.color === 'string') {
+    return props.color;
   }

-  const onDismissNotice = event => {
-    var _event$preventDefault;
+  if (props.color.hex) {
+    return props.color.hex;
+  }
+}

-    event === null || event === void 0 ? void 0 : (_event$preventDefault = event.preventDefault) === null || _event$preventDefault === void 0 ? void 0 : _event$preventDefault.call(event);
-    onDismiss();
-    onRemove();
+const transformColorStringToLegacyColor = memize_default()(color => {
+  const colordColor = w(color);
+  const hex = colordColor.toHex();
+  const rgb = colordColor.toRgb();
+  const hsv = colordColor.toHsv();
+  const hsl = colordColor.toHsl();
+  return {
+    hex,
+    rgb,
+    hsv,
+    hsl,
+    source: 'hex',
+    oldHue: hsl.h
   };
+});
+function use_deprecated_props_useDeprecatedProps(props) {
+  const onChange = (0,external_wp_element_namespaceObject.useCallback)(color => {
+    var _props$onChange;

-  return Object(external_wp_element_["createElement"])("div", {
-    className: classes
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "components-notice__content"
-  }, children, Object(external_wp_element_["createElement"])("div", {
-    className: "components-notice__actions"
-  }, actions.map((_ref2, index) => {
-    let {
-      className: buttonCustomClasses,
-      label,
-      isPrimary,
-      variant,
-      noDefaultClasses = false,
-      onClick,
-      url
-    } = _ref2;
-    let computedVariant = variant;
-
-    if (variant !== 'primary' && !noDefaultClasses) {
-      computedVariant = !url ? 'secondary' : 'link';
-    }
-
-    if (typeof computedVariant === 'undefined' && isPrimary) {
-      computedVariant = 'primary';
+    if (isLegacyProps(props)) {
+      return props.onChangeComplete(transformColorStringToLegacyColor(color));
     }

-    return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-      key: index,
-      href: url,
-      variant: computedVariant,
-      onClick: url ? undefined : onClick,
-      className: classnames_default()('components-notice__action', buttonCustomClasses)
-    }, label);
-  }))), isDismissible && Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-notice__dismiss",
-    icon: library_close["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Dismiss this notice'),
-    onClick: onDismissNotice,
-    showTooltip: false
-  }));
+    return (_props$onChange = props.onChange) === null || _props$onChange === void 0 ? void 0 : _props$onChange.call(props, color);
+  }, [props.onChangeComplete, props.onChange]);
+  const color = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return isLegacyProps(props) ? getColorFromLegacyProps(props) : props.color;
+  }, [props.color]);
+  const enableAlpha = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return isLegacyProps(props) ? !props.disableAlpha : props.enableAlpha;
+  }, [props.disableAlpha, props.enableAlpha]);
+  return { ...(isLegacyProps(props) ? {} : props),
+    onChange,
+    color,
+    enableAlpha
+  };
 }

-/* harmony default export */ var build_module_notice = (Notice);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-picker/legacy-adapter.js
+
+
+/**
+ * Internal dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/notice/list.js

+const LegacyAdapter = props => {
+  return (0,external_wp_element_namespaceObject.createElement)(color_picker_component, use_deprecated_props_useDeprecatedProps(props));
+};

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/styles.js
+function item_group_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
  * External dependencies
  */

-
 /**
  * Internal dependencies
  */


-/**
- * Renders a list of notices.
- *
- * @param {Object}   $0           Props passed to the component.
- * @param {Array}    $0.notices   Array of notices to render.
- * @param {Function} $0.onRemove  Function called when a notice should be removed / dismissed.
- * @param {Object}   $0.className Name of the class used by the component.
- * @param {Object}   $0.children  Array of children to be rendered inside the notice list.
- *
- * @return {Object} The rendered notices list.
+const unstyledButton = /*#__PURE__*/emotion_react_browser_esm_css("appearance:none;border:1px solid transparent;cursor:pointer;background:none;text-align:left;&:hover{color:", COLORS.admin.theme, ";}&:focus{background-color:transparent;color:", COLORS.admin.theme, ";border-color:", COLORS.admin.theme, ";outline:3px solid transparent;}" + ( true ? "" : 0),  true ? "" : 0);
+const itemWrapper =  true ? {
+  name: "1bcj5ek",
+  styles: "width:100%;display:block"
+} : 0;
+const item =  true ? {
+  name: "5vij5u",
+  styles: "width:100%;display:block;margin:0"
+} : 0;
+const bordered = /*#__PURE__*/emotion_react_browser_esm_css("border:1px solid ", config_values.surfaceBorderColor, ";" + ( true ? "" : 0),  true ? "" : 0);
+const separated = /*#__PURE__*/emotion_react_browser_esm_css(">*:not( marquee )>*{border-bottom:1px solid ", config_values.surfaceBorderColor, ";}>*:last-of-type>*:not( :focus ){border-bottom-color:transparent;}" + ( true ? "" : 0),  true ? "" : 0);
+const styles_borderRadius = config_values.controlBorderRadius;
+const styles_spacedAround = /*#__PURE__*/emotion_react_browser_esm_css("border-radius:", styles_borderRadius, ";" + ( true ? "" : 0),  true ? "" : 0);
+const styles_rounded = /*#__PURE__*/emotion_react_browser_esm_css("border-radius:", styles_borderRadius, ";>*:first-of-type>*{border-top-left-radius:", styles_borderRadius, ";border-top-right-radius:", styles_borderRadius, ";}>*:last-of-type>*{border-bottom-left-radius:", styles_borderRadius, ";border-bottom-right-radius:", styles_borderRadius, ";}" + ( true ? "" : 0),  true ? "" : 0);
+const baseFontHeight = `calc(${config_values.fontSize} * ${config_values.fontLineHeightBase})`;
+/*
+ * Math:
+ * - Use the desired height as the base value
+ * - Subtract the computed height of (default) text
+ * - Subtract the effects of border
+ * - Divide the calculated number by 2, in order to get an individual top/bottom padding
  */

-function NoticeList(_ref) {
-  let {
-    notices,
-    onRemove = external_lodash_["noop"],
-    className,
-    children
-  } = _ref;
-
-  const removeNotice = id => () => onRemove(id);
+const paddingY = `calc((${config_values.controlHeight} - ${baseFontHeight} - 2px) / 2)`;
+const paddingYSmall = `calc((${config_values.controlHeightSmall} - ${baseFontHeight} - 2px) / 2)`;
+const paddingYLarge = `calc((${config_values.controlHeightLarge} - ${baseFontHeight} - 2px) / 2)`;
+const itemSizes = {
+  small: /*#__PURE__*/emotion_react_browser_esm_css("padding:", paddingYSmall, " ", config_values.controlPaddingXSmall, ";" + ( true ? "" : 0),  true ? "" : 0),
+  medium: /*#__PURE__*/emotion_react_browser_esm_css("padding:", paddingY, " ", config_values.controlPaddingX, ";" + ( true ? "" : 0),  true ? "" : 0),
+  large: /*#__PURE__*/emotion_react_browser_esm_css("padding:", paddingYLarge, " ", config_values.controlPaddingXLarge, ";" + ( true ? "" : 0),  true ? "" : 0)
+};

-  className = classnames_default()('components-notice-list', className);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: className
-  }, children, [...notices].reverse().map(notice => Object(external_wp_element_["createElement"])(build_module_notice, Object(esm_extends["a" /* default */])({}, Object(external_lodash_["omit"])(notice, ['content']), {
-    key: notice.id,
-    onRemove: removeNotice(notice.id)
-  }), notice.content)));
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/item-group/hook.js
+/**
+ * Internal dependencies
+ */

-/* harmony default export */ var notice_list = (NoticeList);
+/**
+ * Internal dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/panel/header.js


-function PanelHeader(_ref) {
-  let {
-    label,
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "components-panel__header"
-  }, label && Object(external_wp_element_["createElement"])("h2", null, label), children);
+function useItemGroup(props) {
+  const {
+    className,
+    isBordered = false,
+    isRounded = true,
+    isSeparated = false,
+    role = 'list',
+    ...otherProps
+  } = useContextSystem(props, 'ItemGroup');
+  const cx = useCx();
+  const classes = cx(isBordered && bordered, isSeparated && separated, isRounded && styles_rounded, className);
+  return {
+    isBordered,
+    className: classes,
+    role,
+    isSeparated,
+    ...otherProps
+  };
 }

-/* harmony default export */ var panel_header = (PanelHeader);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/panel/index.js
-
-
-/**
- * External dependencies
- */
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/context.js
 /**
  * WordPress dependencies
  */

-
 /**
  * Internal dependencies
  */

+const ItemGroupContext = (0,external_wp_element_namespaceObject.createContext)({
+  size: 'medium'
+});
+const useItemGroupContext = () => (0,external_wp_element_namespaceObject.useContext)(ItemGroupContext);

-
-function Panel(_ref, ref) {
-  let {
-    header,
-    className,
-    children
-  } = _ref;
-  const classNames = classnames_default()(className, 'components-panel');
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classNames,
-    ref: ref
-  }, header && Object(external_wp_element_["createElement"])(panel_header, {
-    label: header
-  }), children);
-}
-
-/* harmony default export */ var panel = (Object(external_wp_element_["forwardRef"])(Panel));
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-up.js
-var chevron_up = __webpack_require__("XgzB");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/panel/body.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/item-group/component.js



 /**
  * External dependencies
  */
-
+// eslint-disable-next-line no-restricted-imports

 /**
- * WordPress dependencies
+ * Internal dependencies
  */




+
+function ItemGroup(props, forwardedRef) {
+  const {
+    isBordered,
+    isSeparated,
+    size: sizeProp,
+    ...otherProps
+  } = useItemGroup(props);
+  const {
+    size: contextSize
+  } = useItemGroupContext();
+  const spacedAround = !isBordered && !isSeparated;
+  const size = sizeProp || contextSize;
+  const contextValue = {
+    spacedAround,
+    size
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(ItemGroupContext.Provider, {
+    value: contextValue
+  }, (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, otherProps, {
+    ref: forwardedRef
+  })));
+}
+
+/* harmony default export */ var item_group_component = (contextConnect(ItemGroup, 'ItemGroup'));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/v-stack/hook.js
 /**
  * Internal dependencies
  */


+/**
+ *
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ */

-
-function PanelBody(_ref, ref) {
-  let {
-    buttonProps = {},
-    children,
-    className,
-    icon,
-    initialOpen,
-    onToggle = external_lodash_["noop"],
-    opened,
-    title,
-    scrollAfterOpen = true
-  } = _ref;
-  const [isOpened, setIsOpened] = use_controlled_state(opened, {
-    initial: initialOpen === undefined ? true : initialOpen
+function useVStack(props) {
+  const {
+    expanded = false,
+    ...otherProps
+  } = useContextSystem(props, 'VStack');
+  const hStackProps = useHStack({
+    direction: 'column',
+    expanded,
+    ...otherProps
   });
-  const nodeRef = Object(external_wp_element_["useRef"])(); // Defaults to 'smooth' scrolling
-  // https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
-
-  const scrollBehavior = Object(external_wp_compose_["useReducedMotion"])() ? 'auto' : 'smooth';
-
-  const handleOnToggle = event => {
-    event.preventDefault();
-    const next = !isOpened;
-    setIsOpened(next);
-    onToggle(next);
-  }; // Ref is used so that the effect does not re-run upon scrollAfterOpen changing value
+  return hStackProps;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/v-stack/component.js

-  const scrollAfterOpenRef = Object(external_wp_element_["useRef"])();
-  scrollAfterOpenRef.current = scrollAfterOpen; // Runs after initial render

-  use_update_effect(() => {
-    var _nodeRef$current;

-    if (isOpened && scrollAfterOpenRef.current && (_nodeRef$current = nodeRef.current) !== null && _nodeRef$current !== void 0 && _nodeRef$current.scrollIntoView) {
-      /*
-       * Scrolls the content into view when visible.
-       * This improves the UX when there are multiple stacking <PanelBody />
-       * components in a scrollable container.
-       */
-      nodeRef.current.scrollIntoView({
-        inline: 'nearest',
-        block: 'nearest',
-        behavior: scrollBehavior
-      });
-    }
-  }, [isOpened, scrollBehavior]);
-  const classes = classnames_default()('components-panel__body', className, {
-    'is-opened': isOpened
-  });
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classes,
-    ref: Object(external_wp_compose_["useMergeRefs"])([nodeRef, ref])
-  }, Object(external_wp_element_["createElement"])(PanelBodyTitle, Object(esm_extends["a" /* default */])({
-    icon: icon,
-    isOpened: isOpened,
-    onClick: handleOnToggle,
-    title: title
-  }, buttonProps)), typeof children === 'function' ? children({
-    opened: isOpened
-  }) : isOpened && children);
-}
-const PanelBodyTitle = Object(external_wp_element_["forwardRef"])((_ref2, ref) => {
-  let {
-    isOpened,
-    icon,
-    title,
-    ...props
-  } = _ref2;
-  if (!title) return null;
-  return Object(external_wp_element_["createElement"])("h2", {
-    className: "components-panel__body-title"
-  }, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-    className: "components-panel__body-toggle",
-    "aria-expanded": isOpened,
-    ref: ref
-  }, props), Object(external_wp_element_["createElement"])("span", {
-    "aria-hidden": "true"
-  }, Object(external_wp_element_["createElement"])(components_build_module_icon["a" /* default */], {
-    className: "components-panel__arrow",
-    icon: isOpened ? chevron_up["a" /* default */] : chevron_down["a" /* default */]
-  })), title, icon && Object(external_wp_element_["createElement"])(components_build_module_icon["a" /* default */], {
-    icon: icon,
-    className: "components-panel__icon",
-    size: 20
-  })));
-});
-const body_ForwardedComponent = Object(external_wp_element_["forwardRef"])(PanelBody);
-body_ForwardedComponent.displayName = 'PanelBody';
-/* harmony default export */ var panel_body = (body_ForwardedComponent);
+/**
+ * Internal dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/panel/row.js


 /**
- * External dependencies
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ * @param {import('react').Ref<any>}                                                        forwardedRef
  */

+function VStack(props, forwardedRef) {
+  const vStackProps = useVStack(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, vStackProps, {
+    ref: forwardedRef
+  }));
+}
 /**
- * WordPress dependencies
+ * `VStack` (or Vertical Stack) is a layout component that arranges child elements in a vertical line.
+ *
+ * `VStack` can render anything inside.
+ *
+ * @example
+ * ```jsx
+ * import {
+ * 	__experimentalText as Text,
+ * 	__experimentalVStack as VStack,
+ * } from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<VStack>
+ * 			<Text>Code</Text>
+ * 			<Text>is</Text>
+ * 			<Text>Poetry</Text>
+ * 		</VStack>
+ * 	);
+ * }
+ * ```
  */


-const PanelRow = Object(external_wp_element_["forwardRef"])((_ref, ref) => {
-  let {
-    className,
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('components-panel__row', className),
-    ref: ref
-  }, children);
-});
-/* harmony default export */ var panel_row = (PanelRow);
+const ConnectedVStack = contextConnect(VStack, 'VStack');
+/* harmony default export */ var v_stack_component = (ConnectedVStack);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/placeholder/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dropdown/index.js


+// @ts-nocheck

 /**
  * External dependencies
@@ -55433,110 +50621,98 @@ const PanelRow = Object(external_wp_element_["forwardRef"])((_ref, ref) => {
  */


-/**
- * Renders a placeholder. Normally used by blocks to render their empty state.
- *
- * @param {Object}    props                The component props.
- * @param {WPIcon}    props.icon           An icon rendered before the label.
- * @param {WPElement} props.children       Children to be rendered.
- * @param {string}    props.label          Title of the placeholder.
- * @param {string}    props.instructions   Instructions of the placeholder.
- * @param {string}    props.className      Class to set on the container div.
- * @param {Object}    props.notices        A rendered notices list.
- * @param {Object}    props.preview        Preview to be rendered in the placeholder.
- * @param {boolean}   props.isColumnLayout Whether a column layout should be used.
- *
- * @return {Object} The rendered placeholder.
- */

-function Placeholder(_ref) {
+function useObservableState(initialState, onStateChange) {
+  const [state, setState] = (0,external_wp_element_namespaceObject.useState)(initialState);
+  return [state, value => {
+    setState(value);
+
+    if (onStateChange) {
+      onStateChange(value);
+    }
+  }];
+}
+
+function Dropdown(_ref) {
+  var _popoverProps$anchorR;
+
   let {
-    icon,
-    children,
-    label,
-    instructions,
+    renderContent,
+    renderToggle,
+    position = 'bottom right',
     className,
-    notices,
-    preview,
-    isColumnLayout,
-    ...additionalProps
+    contentClassName,
+    expandOnMobile,
+    headerTitle,
+    focusOnMount,
+    popoverProps,
+    onClose,
+    onToggle
   } = _ref;
-  const [resizeListener, {
-    width
-  }] = Object(external_wp_compose_["useResizeObserver"])(); // Since `useResizeObserver` will report a width of `null` until after the
-  // first render, avoid applying any modifier classes until width is known.
-
-  let modifierClassNames;
+  const containerRef = (0,external_wp_element_namespaceObject.useRef)();
+  const [isOpen, setIsOpen] = useObservableState(false, onToggle);
+  (0,external_wp_element_namespaceObject.useEffect)(() => () => {
+    if (onToggle) {
+      onToggle(false);
+    }
+  }, []);

-  if (typeof width === 'number') {
-    modifierClassNames = {
-      'is-large': width >= 480,
-      'is-medium': width >= 160 && width < 480,
-      'is-small': width < 160
-    };
+  function toggle() {
+    setIsOpen(!isOpen);
   }
+  /**
+   * Closes the popover when focus leaves it unless the toggle was pressed or
+   * focus has moved to a separate dialog. The former is to let the toggle
+   * handle closing the popover and the latter is to preserve presence in
+   * case a dialog has opened, allowing focus to return when it's dismissed.
+   */

-  const classes = classnames_default()('components-placeholder', className, modifierClassNames);
-  const fieldsetClasses = classnames_default()('components-placeholder__fieldset', {
-    'is-column-layout': isColumnLayout
-  });
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, additionalProps, {
-    className: classes
-  }), resizeListener, notices, preview && Object(external_wp_element_["createElement"])("div", {
-    className: "components-placeholder__preview"
-  }, preview), Object(external_wp_element_["createElement"])("div", {
-    className: "components-placeholder__label"
-  }, Object(external_wp_element_["createElement"])(components_build_module_icon["a" /* default */], {
-    icon: icon
-  }), label), !!instructions && Object(external_wp_element_["createElement"])("div", {
-    className: "components-placeholder__instructions"
-  }, instructions), Object(external_wp_element_["createElement"])("div", {
-    className: fieldsetClasses
-  }, children));
-}
-
-/* harmony default export */ var build_module_placeholder = (Placeholder);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/query-controls/terms.js
-/**
- * External dependencies
- */

-/**
- * Returns terms in a tree form.
- *
- * @param {Array} flatTerms Array of terms in flat format.
- *
- * @return {Array} Array of terms in tree format.
- */
+  function closeIfFocusOutside() {
+    const {
+      ownerDocument
+    } = containerRef.current;
+    const dialog = ownerDocument.activeElement.closest('[role="dialog"]');

-function buildTermsTree(flatTerms) {
-  const flatTermsWithParentAndChildren = flatTerms.map(term => {
-    return {
-      children: [],
-      parent: null,
-      ...term
-    };
-  });
-  const termsByParent = Object(external_lodash_["groupBy"])(flatTermsWithParentAndChildren, 'parent');
+    if (!containerRef.current.contains(ownerDocument.activeElement) && (!dialog || dialog.contains(containerRef.current))) {
+      close();
+    }
+  }

-  if (termsByParent.null && termsByParent.null.length) {
-    return flatTermsWithParentAndChildren;
+  function close() {
+    if (onClose) {
+      onClose();
+    }
+
+    setIsOpen(false);
   }

-  const fillWithChildren = terms => {
-    return terms.map(term => {
-      const children = termsByParent[term.id];
-      return { ...term,
-        children: children && children.length ? fillWithChildren(children) : []
-      };
-    });
+  const args = {
+    isOpen,
+    onToggle: toggle,
+    onClose: close
   };
-
-  return fillWithChildren(termsByParent['0'] || []);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('components-dropdown', className),
+    ref: containerRef // Some UAs focus the closest focusable parent when the toggle is
+    // clicked. Making this div focusable ensures such UAs will focus
+    // it and `closeIfFocusOutside` can tell if the toggle was clicked.
+    ,
+    tabIndex: "-1"
+  }, renderToggle(args), isOpen && (0,external_wp_element_namespaceObject.createElement)(popover, extends_extends({
+    position: position,
+    onClose: close,
+    onFocusOutside: closeIfFocusOutside,
+    expandOnMobile: expandOnMobile,
+    headerTitle: headerTitle,
+    focusOnMount: focusOnMount
+  }, popoverProps, {
+    anchorRef: (_popoverProps$anchorR = popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.anchorRef) !== null && _popoverProps$anchorR !== void 0 ? _popoverProps$anchorR : containerRef.current,
+    className: classnames_default()('components-dropdown__content', popoverProps ? popoverProps.className : undefined, contentClassName)
+  }), renderContent(args)));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-select/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/circular-option-picker/index.js



@@ -55555,106 +50731,89 @@ function buildTermsTree(flatTerms) {



-function tree_select_getSelectOptions(tree) {
-  let level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
-  return Object(external_lodash_["flatMap"])(tree, treeNode => [{
-    value: treeNode.id,
-    label: Object(external_lodash_["repeat"])('\u00A0', level * 3) + Object(external_lodash_["unescape"])(treeNode.name)
-  }, ...tree_select_getSelectOptions(treeNode.children || [], level + 1)]);
-}

-function TreeSelect(_ref) {
+
+function Option(_ref) {
   let {
-    label,
-    noOptionLabel,
-    onChange,
-    selectedId,
-    tree,
-    ...props
+    className,
+    isSelected,
+    selectedIconProps,
+    tooltipText,
+    ...additionalProps
   } = _ref;
-  const options = Object(external_wp_element_["useMemo"])(() => {
-    return Object(external_lodash_["compact"])([noOptionLabel && {
-      value: '',
-      label: noOptionLabel
-    }, ...tree_select_getSelectOptions(tree)]);
-  }, [noOptionLabel, tree]);
-  return Object(external_wp_element_["createElement"])(select_control, Object(esm_extends["a" /* default */])({
-    label,
-    options,
-    onChange,
-    value: selectedId
-  }, props));
+  const optionButton = (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+    isPressed: isSelected,
+    className: "components-circular-option-picker__option"
+  }, additionalProps));
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()(className, 'components-circular-option-picker__option-wrapper')
+  }, tooltipText ? (0,external_wp_element_namespaceObject.createElement)(tooltip, {
+    text: tooltipText
+  }, optionButton) : optionButton, isSelected && (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, extends_extends({
+    icon: library_check
+  }, selectedIconProps ? selectedIconProps : {})));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/query-controls/category-select.js
-
-
-
-/**
- * Internal dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
-
-function CategorySelect(_ref) {
+function DropdownLinkAction(_ref2) {
   let {
-    label,
-    noOptionLabel,
-    categoriesList,
-    selectedCategoryId,
-    onChange,
-    ...props
-  } = _ref;
-  const termsTree = Object(external_wp_element_["useMemo"])(() => {
-    return buildTermsTree(categoriesList);
-  }, [categoriesList]);
-  return Object(external_wp_element_["createElement"])(TreeSelect, Object(esm_extends["a" /* default */])({
-    label,
-    noOptionLabel,
-    onChange,
-    tree: termsTree,
-    selectedId: selectedCategoryId
-  }, props));
+    buttonProps,
+    className,
+    dropdownProps,
+    linkText
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(Dropdown, extends_extends({
+    className: classnames_default()('components-circular-option-picker__dropdown-link-action', className),
+    renderToggle: _ref3 => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref3;
+      return (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+        "aria-expanded": isOpen,
+        "aria-haspopup": "true",
+        onClick: onToggle,
+        variant: "link"
+      }, buttonProps), linkText);
+    }
+  }, dropdownProps));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/query-controls/author-select.js
-
-
-/**
- * Internal dependencies
- */
-
-
-function AuthorSelect(_ref) {
+function ButtonAction(_ref4) {
   let {
-    label,
-    noOptionLabel,
-    authorList,
-    selectedAuthorId,
-    onChange
-  } = _ref;
-  if (!authorList) return null;
-  const termsTree = buildTermsTree(authorList);
-  return Object(external_wp_element_["createElement"])(TreeSelect, {
-    label,
-    noOptionLabel,
-    onChange,
-    tree: termsTree,
-    selectedId: selectedAuthorId
-  });
+    className,
+    children,
+    ...additionalProps
+  } = _ref4;
+  return (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+    className: classnames_default()('components-circular-option-picker__clear', className),
+    isSmall: true,
+    variant: "secondary"
+  }, additionalProps), children);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/query-controls/index.js
-
+function CircularOptionPicker(_ref5) {
+  let {
+    actions,
+    className,
+    options,
+    children
+  } = _ref5;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('components-circular-option-picker', className)
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-circular-option-picker__swatches"
+  }, options), children, actions && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-circular-option-picker__custom-clear-wrapper"
+  }, actions));
+}
+CircularOptionPicker.Option = Option;
+CircularOptionPicker.ButtonAction = ButtonAction;
+CircularOptionPicker.DropdownLinkAction = DropdownLinkAction;

-/**
- * WordPress dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/colord/plugins/a11y.mjs
+var a11y_o=function(o){var t=o/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},a11y_t=function(t){return.2126*a11y_o(t.r)+.7152*a11y_o(t.g)+.0722*a11y_o(t.b)};/* harmony default export */ function a11y(o){o.prototype.luminance=function(){return o=a11y_t(this.rgba),void 0===(r=2)&&(r=0),void 0===n&&(n=Math.pow(10,r)),Math.round(n*o)/n+0;var o,r,n},o.prototype.contrast=function(r){void 0===r&&(r="#FFF");var n,a,i,e,v,u,d,c=r instanceof o?r:new o(r);return e=this.rgba,v=c.toRgb(),u=a11y_t(e),d=a11y_t(v),n=u>d?(u+.05)/(d+.05):(d+.05)/(u+.05),void 0===(a=2)&&(a=0),void 0===i&&(i=Math.pow(10,a)),Math.floor(i*n)/i+0},o.prototype.isReadable=function(o,t){return void 0===o&&(o="#FFF"),void 0===t&&(t={}),this.contrast(o)>=(e=void 0===(i=(r=t).size)?"normal":i,"AAA"===(a=void 0===(n=r.level)?"AA":n)&&"normal"===e?7:"AA"===a&&"large"===e?3:4.5);var r,n,a,i,e}}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/heading/hook.js
 /**
  * Internal dependencies
  */
@@ -55662,116 +50821,42 @@ function AuthorSelect(_ref) {



-const DEFAULT_MIN_ITEMS = 1;
-const DEFAULT_MAX_ITEMS = 100;
-const MAX_CATEGORIES_SUGGESTIONS = 20;
-function QueryControls(_ref) {
-  let {
-    authorList,
-    selectedAuthorId,
-    categoriesList,
-    selectedCategoryId,
-    categorySuggestions,
-    selectedCategories,
-    numberOfItems,
-    order,
-    orderBy,
-    maxItems = DEFAULT_MAX_ITEMS,
-    minItems = DEFAULT_MIN_ITEMS,
-    onCategoryChange,
-    onAuthorChange,
-    onNumberOfItemsChange,
-    onOrderChange,
-    onOrderByChange
-  } = _ref;
-  return [onOrderChange && onOrderByChange && Object(external_wp_element_["createElement"])(select_control, {
-    key: "query-controls-order-select",
-    label: Object(external_wp_i18n_["__"])('Order by'),
-    value: `${orderBy}/${order}`,
-    options: [{
-      label: Object(external_wp_i18n_["__"])('Newest to oldest'),
-      value: 'date/desc'
-    }, {
-      label: Object(external_wp_i18n_["__"])('Oldest to newest'),
-      value: 'date/asc'
-    }, {
-      /* translators: label for ordering posts by title in ascending order */
-      label: Object(external_wp_i18n_["__"])('A → Z'),
-      value: 'title/asc'
-    }, {
-      /* translators: label for ordering posts by title in descending order */
-      label: Object(external_wp_i18n_["__"])('Z → A'),
-      value: 'title/desc'
-    }],
-    onChange: value => {
-      const [newOrderBy, newOrder] = value.split('/');
+function useHeading(props) {
+  const {
+    as: asProp,
+    level = 2,
+    ...otherProps
+  } = useContextSystem(props, 'Heading');
+  const as = asProp || `h${level}`;
+  const a11yProps = {};

-      if (newOrder !== order) {
-        onOrderChange(newOrder);
-      }
+  if (typeof as === 'string' && as[0] !== 'h') {
+    // if not a semantic `h` element, add a11y props:
+    a11yProps.role = 'heading';
+    a11yProps['aria-level'] = typeof level === 'string' ? parseInt(level) : level;
+  }

-      if (newOrderBy !== orderBy) {
-        onOrderByChange(newOrderBy);
-      }
-    }
-  }), categoriesList && onCategoryChange && Object(external_wp_element_["createElement"])(CategorySelect, {
-    key: "query-controls-category-select",
-    categoriesList: categoriesList,
-    label: Object(external_wp_i18n_["__"])('Category'),
-    noOptionLabel: Object(external_wp_i18n_["__"])('All'),
-    selectedCategoryId: selectedCategoryId,
-    onChange: onCategoryChange
-  }), categorySuggestions && onCategoryChange && Object(external_wp_element_["createElement"])(form_token_field, {
-    key: "query-controls-categories-select",
-    label: Object(external_wp_i18n_["__"])('Categories'),
-    value: selectedCategories && selectedCategories.map(item => ({
-      id: item.id,
-      value: item.name || item.value
-    })),
-    suggestions: Object.keys(categorySuggestions),
-    onChange: onCategoryChange,
-    maxSuggestions: MAX_CATEGORIES_SUGGESTIONS
-  }), onAuthorChange && Object(external_wp_element_["createElement"])(AuthorSelect, {
-    key: "query-controls-author-select",
-    authorList: authorList,
-    label: Object(external_wp_i18n_["__"])('Author'),
-    noOptionLabel: Object(external_wp_i18n_["__"])('All'),
-    selectedAuthorId: selectedAuthorId,
-    onChange: onAuthorChange
-  }), onNumberOfItemsChange && Object(external_wp_element_["createElement"])(range_control, {
-    key: "query-controls-range-control",
-    label: Object(external_wp_i18n_["__"])('Number of items'),
-    value: numberOfItems,
-    onChange: onNumberOfItemsChange,
-    min: minItems,
-    max: maxItems,
-    required: true
-  })];
+  const textProps = useText({
+    color: COLORS.darkGray.heading,
+    size: getHeadingFontSize(level),
+    isBlock: true,
+    weight: config_values.fontWeightHeading,
+    ...otherProps
+  });
+  return { ...textProps,
+    ...a11yProps,
+    as
+  };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/radio-context/index.js
-/**
- * WordPress dependencies
- */
-
-const RadioContext = Object(external_wp_element_["createContext"])({
-  state: null,
-  setState: () => {}
-});
-/* harmony default export */ var radio_context = (RadioContext);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/radio/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/heading/component.js



 /**
  * External dependencies
  */
-
-/**
- * WordPress dependencies
- */
-
+// eslint-disable-next-line no-restricted-imports

 /**
  * Internal dependencies
@@ -55780,75 +50865,50 @@ const RadioContext = Object(external_wp_element_["createContext"])({



-function radio_Radio(_ref, ref) {
-  let {
-    children,
-    value,
-    ...props
-  } = _ref;
-  const radioContext = Object(external_wp_element_["useContext"])(radio_context);
-  const checked = radioContext.state === value;
-  return Object(external_wp_element_["createElement"])(Radio, Object(esm_extends["a" /* default */])({
-    ref: ref,
-    as: build_module_button["a" /* default */],
-    variant: checked ? 'primary' : 'secondary',
-    value: value
-  }, radioContext, props), children || value);
+function Heading(props, forwardedRef) {
+  const headerProps = useHeading(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, headerProps, {
+    ref: forwardedRef
+  }));
 }
+/**
+ * `Heading` renders headings and titles using the library's typography system.
+ *
+ * @example
+ * ```jsx
+ * import { Heading } from `@wordpress/components`
+ *
+ * function Example() {
+ *   return <Heading>Code is Poetry</Heading>;
+ * }
+ * ```
+ */
+

-/* harmony default export */ var build_module_radio = (Object(external_wp_element_["forwardRef"])(radio_Radio));
+const ConnectedHeading = contextConnect(Heading, 'Heading');
+/* harmony default export */ var heading_component = (ConnectedHeading);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/radio-group/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-palette/styles.js


+function color_palette_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
  * External dependencies
  */

-/**
- * WordPress dependencies
- */
-
-
 /**
  * Internal dependencies
  */

+const ColorHeading = /*#__PURE__*/emotion_styled_base_browser_esm(heading_component,  true ? {
+  target: "e1uu5br00"
+} : 0)( true ? {
+  name: "13lxv2o",
+  styles: "text-transform:uppercase;line-height:24px;font-weight:500;&&&{font-size:11px;margin-bottom:0;}"
+} : 0);

-
-
-function radio_group_RadioGroup(_ref, ref) {
-  let {
-    label,
-    checked,
-    defaultChecked,
-    disabled,
-    onChange,
-    ...props
-  } = _ref;
-  const radioState = useRadioState({
-    state: defaultChecked,
-    baseId: props.id
-  });
-  const radioContext = { ...radioState,
-    disabled,
-    // controlled or uncontrolled
-    state: checked !== null && checked !== void 0 ? checked : radioState.state,
-    setState: onChange !== null && onChange !== void 0 ? onChange : radioState.setState
-  };
-  return Object(external_wp_element_["createElement"])(radio_context.Provider, {
-    value: radioContext
-  }, Object(external_wp_element_["createElement"])(RadioGroup, Object(esm_extends["a" /* default */])({
-    ref: ref,
-    as: button_group,
-    "aria-label": label
-  }, radioState, props)));
-}
-
-/* harmony default export */ var radio_group = (Object(external_wp_element_["forwardRef"])(radio_group_RadioGroup));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/radio-control/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-palette/index.js



@@ -55857,1267 +50917,1554 @@ function radio_group_RadioGroup(_ref, ref) {
  */


+
+
+
 /**
  * WordPress dependencies
  */


+
 /**
  * Internal dependencies
  */


-function RadioControl(_ref) {
-  let {
-    label,
-    className,
-    selected,
-    help,
-    onChange,
-    hideLabelFromVision,
-    options = [],
-    ...props
-  } = _ref;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(RadioControl);
-  const id = `inspector-radio-control-${instanceId}`;
-
-  const onChangeValue = event => onChange(event.target.value);
-
-  return !Object(external_lodash_["isEmpty"])(options) && Object(external_wp_element_["createElement"])(base_control, {
-    label: label,
-    id: id,
-    hideLabelFromVision: hideLabelFromVision,
-    help: help,
-    className: classnames_default()(className, 'components-radio-control')
-  }, options.map((option, index) => Object(external_wp_element_["createElement"])("div", {
-    key: `${id}-${index}`,
-    className: "components-radio-control__option"
-  }, Object(external_wp_element_["createElement"])("input", Object(esm_extends["a" /* default */])({
-    id: `${id}-${index}`,
-    className: "components-radio-control__input",
-    type: "radio",
-    name: id,
-    value: option.value,
-    onChange: onChangeValue,
-    checked: option.value === selected,
-    "aria-describedby": !!help ? `${id}__help` : undefined
-  }, props)), Object(external_wp_element_["createElement"])("label", {
-    htmlFor: `${id}-${index}`
-  }, option.label))));
-}
-
-// CONCATENATED MODULE: ./node_modules/re-resizable/lib/resizer.js
-var resizer_extends = (undefined && undefined.__extends) || (function () {
-    var extendStatics = function (d, b) {
-        extendStatics = Object.setPrototypeOf ||
-            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-        return extendStatics(d, b);
-    };
-    return function (d, b) {
-        if (typeof b !== "function" && b !== null)
-            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var resizer_assign = (undefined && undefined.__assign) || function () {
-    resizer_assign = Object.assign || function(t) {
-        for (var s, i = 1, n = arguments.length; i < n; i++) {
-            s = arguments[i];
-            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
-                t[p] = s[p];
-        }
-        return t;
-    };
-    return resizer_assign.apply(this, arguments);
-};
-
-var resizer_styles = {
-    top: {
-        width: '100%',
-        height: '10px',
-        top: '-5px',
-        left: '0px',
-        cursor: 'row-resize',
-    },
-    right: {
-        width: '10px',
-        height: '100%',
-        top: '0px',
-        right: '-5px',
-        cursor: 'col-resize',
-    },
-    bottom: {
-        width: '100%',
-        height: '10px',
-        bottom: '-5px',
-        left: '0px',
-        cursor: 'row-resize',
-    },
-    left: {
-        width: '10px',
-        height: '100%',
-        top: '0px',
-        left: '-5px',
-        cursor: 'col-resize',
-    },
-    topRight: {
-        width: '20px',
-        height: '20px',
-        position: 'absolute',
-        right: '-10px',
-        top: '-10px',
-        cursor: 'ne-resize',
-    },
-    bottomRight: {
-        width: '20px',
-        height: '20px',
-        position: 'absolute',
-        right: '-10px',
-        bottom: '-10px',
-        cursor: 'se-resize',
-    },
-    bottomLeft: {
-        width: '20px',
-        height: '20px',
-        position: 'absolute',
-        left: '-10px',
-        bottom: '-10px',
-        cursor: 'sw-resize',
-    },
-    topLeft: {
-        width: '20px',
-        height: '20px',
-        position: 'absolute',
-        left: '-10px',
-        top: '-10px',
-        cursor: 'nw-resize',
-    },
-};
-var resizer_Resizer = /** @class */ (function (_super) {
-    resizer_extends(Resizer, _super);
-    function Resizer() {
-        var _this = _super !== null && _super.apply(this, arguments) || this;
-        _this.onMouseDown = function (e) {
-            _this.props.onResizeStart(e, _this.props.direction);
-        };
-        _this.onTouchStart = function (e) {
-            _this.props.onResizeStart(e, _this.props.direction);
-        };
-        return _this;
-    }
-    Resizer.prototype.render = function () {
-        return (external_React_["createElement"]("div", { className: this.props.className || '', style: resizer_assign(resizer_assign({ position: 'absolute', userSelect: 'none' }, resizer_styles[this.props.direction]), (this.props.replaceStyles || {})), onMouseDown: this.onMouseDown, onTouchStart: this.onTouchStart }, this.props.children));
-    };
-    return Resizer;
-}(external_React_["PureComponent"]));
-
-
-// EXTERNAL MODULE: ./node_modules/fast-memoize/src/index.js
-var fast_memoize_src = __webpack_require__("75pU");
-var src_default = /*#__PURE__*/__webpack_require__.n(fast_memoize_src);

-// CONCATENATED MODULE: ./node_modules/re-resizable/lib/index.js
-var lib_extends = (undefined && undefined.__extends) || (function () {
-    var extendStatics = function (d, b) {
-        extendStatics = Object.setPrototypeOf ||
-            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
-        return extendStatics(d, b);
-    };
-    return function (d, b) {
-        if (typeof b !== "function" && b !== null)
-            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var lib_assign = (undefined && undefined.__assign) || function () {
-    lib_assign = Object.assign || function(t) {
-        for (var s, i = 1, n = arguments.length; i < n; i++) {
-            s = arguments[i];
-            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
-                t[p] = s[p];
-        }
-        return t;
-    };
-    return lib_assign.apply(this, arguments);
-};



-var DEFAULT_SIZE = {
-    width: 'auto',
-    height: 'auto',
-};
-var lib_clamp = src_default()(function (n, min, max) { return Math.max(Math.min(n, max), min); });
-var snap = src_default()(function (n, size) { return Math.round(n / size) * size; });
-var hasDirection = src_default()(function (dir, target) {
-    return new RegExp(dir, 'i').test(target);
-});
-// INFO: In case of window is a Proxy and does not porxy Events correctly, use isTouchEvent & isMouseEvent to distinguish event type instead of `instanceof`.
-var lib_isTouchEvent = function (event) {
-    return Boolean(event.touches && event.touches.length);
-};
-var lib_isMouseEvent = function (event) {
-    return Boolean((event.clientX || event.clientX === 0) &&
-        (event.clientY || event.clientY === 0));
-};
-var findClosestSnap = src_default()(function (n, snapArray, snapGap) {
-    if (snapGap === void 0) { snapGap = 0; }
-    var closestGapIndex = snapArray.reduce(function (prev, curr, index) { return (Math.abs(curr - n) < Math.abs(snapArray[prev] - n) ? index : prev); }, 0);
-    var gap = Math.abs(snapArray[closestGapIndex] - n);
-    return snapGap === 0 || gap < snapGap ? snapArray[closestGapIndex] : n;
-});
-var endsWith = src_default()(function (str, searchStr) {
-    return str.substr(str.length - searchStr.length, searchStr.length) === searchStr;
-});
-var getStringSize = src_default()(function (n) {
-    n = n.toString();
-    if (n === 'auto') {
-        return n;
-    }
-    if (endsWith(n, 'px')) {
-        return n;
-    }
-    if (endsWith(n, '%')) {
-        return n;
-    }
-    if (endsWith(n, 'vh')) {
-        return n;
-    }
-    if (endsWith(n, 'vw')) {
-        return n;
-    }
-    if (endsWith(n, 'vmax')) {
-        return n;
-    }
-    if (endsWith(n, 'vmin')) {
-        return n;
-    }
-    return n + "px";
-});
-var getPixelSize = function (size, parentSize, innerWidth, innerHeight) {
-    if (size && typeof size === 'string') {
-        if (endsWith(size, 'px')) {
-            return Number(size.replace('px', ''));
-        }
-        if (endsWith(size, '%')) {
-            var ratio = Number(size.replace('%', '')) / 100;
-            return parentSize * ratio;
-        }
-        if (endsWith(size, 'vw')) {
-            var ratio = Number(size.replace('vw', '')) / 100;
-            return innerWidth * ratio;
-        }
-        if (endsWith(size, 'vh')) {
-            var ratio = Number(size.replace('vh', '')) / 100;
-            return innerHeight * ratio;
-        }
-    }
-    return size;
-};
-var calculateNewMax = src_default()(function (parentSize, innerWidth, innerHeight, maxWidth, maxHeight, minWidth, minHeight) {
-    maxWidth = getPixelSize(maxWidth, parentSize.width, innerWidth, innerHeight);
-    maxHeight = getPixelSize(maxHeight, parentSize.height, innerWidth, innerHeight);
-    minWidth = getPixelSize(minWidth, parentSize.width, innerWidth, innerHeight);
-    minHeight = getPixelSize(minHeight, parentSize.height, innerWidth, innerHeight);
-    return {
-        maxWidth: typeof maxWidth === 'undefined' ? undefined : Number(maxWidth),
-        maxHeight: typeof maxHeight === 'undefined' ? undefined : Number(maxHeight),
-        minWidth: typeof minWidth === 'undefined' ? undefined : Number(minWidth),
-        minHeight: typeof minHeight === 'undefined' ? undefined : Number(minHeight),
-    };
-});
-var definedProps = [
-    'as',
-    'style',
-    'className',
-    'grid',
-    'snap',
-    'bounds',
-    'boundsByDirection',
-    'size',
-    'defaultSize',
-    'minWidth',
-    'minHeight',
-    'maxWidth',
-    'maxHeight',
-    'lockAspectRatio',
-    'lockAspectRatioExtraWidth',
-    'lockAspectRatioExtraHeight',
-    'enable',
-    'handleStyles',
-    'handleClasses',
-    'handleWrapperStyle',
-    'handleWrapperClass',
-    'children',
-    'onResizeStart',
-    'onResize',
-    'onResizeStop',
-    'handleComponent',
-    'scale',
-    'resizeRatio',
-    'snapGap',
-];
-// HACK: This class is used to calculate % size.
-var lib_baseClassName = '__resizable_base__';
-var lib_Resizable = /** @class */ (function (_super) {
-    lib_extends(Resizable, _super);
-    function Resizable(props) {
-        var _this = _super.call(this, props) || this;
-        _this.ratio = 1;
-        _this.resizable = null;
-        // For parent boundary
-        _this.parentLeft = 0;
-        _this.parentTop = 0;
-        // For boundary
-        _this.resizableLeft = 0;
-        _this.resizableRight = 0;
-        _this.resizableTop = 0;
-        _this.resizableBottom = 0;
-        // For target boundary
-        _this.targetLeft = 0;
-        _this.targetTop = 0;
-        _this.appendBase = function () {
-            if (!_this.resizable || !_this.window) {
-                return null;
-            }
-            var parent = _this.parentNode;
-            if (!parent) {
-                return null;
-            }
-            var element = _this.window.document.createElement('div');
-            element.style.width = '100%';
-            element.style.height = '100%';
-            element.style.position = 'absolute';
-            element.style.transform = 'scale(0, 0)';
-            element.style.left = '0';
-            element.style.flex = '0';
-            if (element.classList) {
-                element.classList.add(lib_baseClassName);
-            }
-            else {
-                element.className += lib_baseClassName;
-            }
-            parent.appendChild(element);
-            return element;
-        };
-        _this.removeBase = function (base) {
-            var parent = _this.parentNode;
-            if (!parent) {
-                return;
-            }
-            parent.removeChild(base);
-        };
-        _this.ref = function (c) {
-            if (c) {
-                _this.resizable = c;
-            }
-        };
-        _this.state = {
-            isResizing: false,
-            width: typeof (_this.propsSize && _this.propsSize.width) === 'undefined'
-                ? 'auto'
-                : _this.propsSize && _this.propsSize.width,
-            height: typeof (_this.propsSize && _this.propsSize.height) === 'undefined'
-                ? 'auto'
-                : _this.propsSize && _this.propsSize.height,
-            direction: 'right',
-            original: {
-                x: 0,
-                y: 0,
-                width: 0,
-                height: 0,
-            },
-            backgroundStyle: {
-                height: '100%',
-                width: '100%',
-                backgroundColor: 'rgba(0,0,0,0)',
-                cursor: 'auto',
-                opacity: 0,
-                position: 'fixed',
-                zIndex: 9999,
-                top: '0',
-                left: '0',
-                bottom: '0',
-                right: '0',
-            },
-            flexBasis: undefined,
-        };
-        _this.onResizeStart = _this.onResizeStart.bind(_this);
-        _this.onMouseMove = _this.onMouseMove.bind(_this);
-        _this.onMouseUp = _this.onMouseUp.bind(_this);
-        return _this;
-    }
-    Object.defineProperty(Resizable.prototype, "parentNode", {
-        get: function () {
-            if (!this.resizable) {
-                return null;
-            }
-            return this.resizable.parentNode;
-        },
-        enumerable: false,
-        configurable: true
-    });
-    Object.defineProperty(Resizable.prototype, "window", {
-        get: function () {
-            if (!this.resizable) {
-                return null;
-            }
-            if (!this.resizable.ownerDocument) {
-                return null;
-            }
-            return this.resizable.ownerDocument.defaultView;
-        },
-        enumerable: false,
-        configurable: true
-    });
-    Object.defineProperty(Resizable.prototype, "propsSize", {
-        get: function () {
-            return this.props.size || this.props.defaultSize || DEFAULT_SIZE;
-        },
-        enumerable: false,
-        configurable: true
-    });
-    Object.defineProperty(Resizable.prototype, "size", {
-        get: function () {
-            var width = 0;
-            var height = 0;
-            if (this.resizable && this.window) {
-                var orgWidth = this.resizable.offsetWidth;
-                var orgHeight = this.resizable.offsetHeight;
-                // HACK: Set position `relative` to get parent size.
-                //       This is because when re-resizable set `absolute`, I can not get base width correctly.
-                var orgPosition = this.resizable.style.position;
-                if (orgPosition !== 'relative') {
-                    this.resizable.style.position = 'relative';
-                }
-                // INFO: Use original width or height if set auto.
-                width = this.resizable.style.width !== 'auto' ? this.resizable.offsetWidth : orgWidth;
-                height = this.resizable.style.height !== 'auto' ? this.resizable.offsetHeight : orgHeight;
-                // Restore original position
-                this.resizable.style.position = orgPosition;
-            }
-            return { width: width, height: height };
-        },
-        enumerable: false,
-        configurable: true
-    });
-    Object.defineProperty(Resizable.prototype, "sizeStyle", {
-        get: function () {
-            var _this = this;
-            var size = this.props.size;
-            var getSize = function (key) {
-                if (typeof _this.state[key] === 'undefined' || _this.state[key] === 'auto') {
-                    return 'auto';
-                }
-                if (_this.propsSize && _this.propsSize[key] && endsWith(_this.propsSize[key].toString(), '%')) {
-                    if (endsWith(_this.state[key].toString(), '%')) {
-                        return _this.state[key].toString();
-                    }
-                    var parentSize = _this.getParentSize();
-                    var value = Number(_this.state[key].toString().replace('px', ''));
-                    var percent = (value / parentSize[key]) * 100;
-                    return percent + "%";
-                }
-                return getStringSize(_this.state[key]);
-            };
-            var width = size && typeof size.width !== 'undefined' && !this.state.isResizing
-                ? getStringSize(size.width)
-                : getSize('width');
-            var height = size && typeof size.height !== 'undefined' && !this.state.isResizing
-                ? getStringSize(size.height)
-                : getSize('height');
-            return { width: width, height: height };
+k([names, a11y]);
+
+function SinglePalette(_ref) {
+  let {
+    className,
+    clearColor,
+    colors,
+    onChange,
+    value,
+    actions
+  } = _ref;
+  const colorOptions = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return (0,external_lodash_namespaceObject.map)(colors, _ref2 => {
+      let {
+        color,
+        name
+      } = _ref2;
+      const colordColor = w(color);
+      return (0,external_wp_element_namespaceObject.createElement)(CircularOptionPicker.Option, {
+        key: color,
+        isSelected: value === color,
+        selectedIconProps: value === color ? {
+          fill: colordColor.contrast() > colordColor.contrast('#000') ? '#fff' : '#000'
+        } : {},
+        tooltipText: name || // translators: %s: color hex code e.g: "#f00".
+        (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Color code: %s'), color),
+        style: {
+          backgroundColor: color,
+          color
         },
-        enumerable: false,
-        configurable: true
+        onClick: value === color ? clearColor : () => onChange(color),
+        "aria-label": name ? // translators: %s: The name of the color e.g: "vivid red".
+        (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Color: %s'), name) : // translators: %s: color hex code e.g: "#f00".
+        (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Color code: %s'), color)
+      });
     });
-    Resizable.prototype.getParentSize = function () {
-        if (!this.parentNode) {
-            if (!this.window) {
-                return { width: 0, height: 0 };
-            }
-            return { width: this.window.innerWidth, height: this.window.innerHeight };
-        }
-        var base = this.appendBase();
-        if (!base) {
-            return { width: 0, height: 0 };
-        }
-        // INFO: To calculate parent width with flex layout
-        var wrapChanged = false;
-        var wrap = this.parentNode.style.flexWrap;
-        if (wrap !== 'wrap') {
-            wrapChanged = true;
-            this.parentNode.style.flexWrap = 'wrap';
-            // HACK: Use relative to get parent padding size
-        }
-        base.style.position = 'relative';
-        base.style.minWidth = '100%';
-        var size = {
-            width: base.offsetWidth,
-            height: base.offsetHeight,
-        };
-        if (wrapChanged) {
-            this.parentNode.style.flexWrap = wrap;
-        }
-        this.removeBase(base);
-        return size;
-    };
-    Resizable.prototype.bindEvents = function () {
-        if (this.window) {
-            this.window.addEventListener('mouseup', this.onMouseUp);
-            this.window.addEventListener('mousemove', this.onMouseMove);
-            this.window.addEventListener('mouseleave', this.onMouseUp);
-            this.window.addEventListener('touchmove', this.onMouseMove, {
-                capture: true,
-                passive: false,
-            });
-            this.window.addEventListener('touchend', this.onMouseUp);
-        }
-    };
-    Resizable.prototype.unbindEvents = function () {
-        if (this.window) {
-            this.window.removeEventListener('mouseup', this.onMouseUp);
-            this.window.removeEventListener('mousemove', this.onMouseMove);
-            this.window.removeEventListener('mouseleave', this.onMouseUp);
-            this.window.removeEventListener('touchmove', this.onMouseMove, true);
-            this.window.removeEventListener('touchend', this.onMouseUp);
-        }
-    };
-    Resizable.prototype.componentDidMount = function () {
-        if (!this.resizable || !this.window) {
-            return;
-        }
-        var computedStyle = this.window.getComputedStyle(this.resizable);
-        this.setState({
-            width: this.state.width || this.size.width,
-            height: this.state.height || this.size.height,
-            flexBasis: computedStyle.flexBasis !== 'auto' ? computedStyle.flexBasis : undefined,
-        });
-    };
-    Resizable.prototype.componentWillUnmount = function () {
-        if (this.window) {
-            this.unbindEvents();
-        }
-    };
-    Resizable.prototype.createSizeForCssProperty = function (newSize, kind) {
-        var propsSize = this.propsSize && this.propsSize[kind];
-        return this.state[kind] === 'auto' &&
-            this.state.original[kind] === newSize &&
-            (typeof propsSize === 'undefined' || propsSize === 'auto')
-            ? 'auto'
-            : newSize;
-    };
-    Resizable.prototype.calculateNewMaxFromBoundary = function (maxWidth, maxHeight) {
-        var boundsByDirection = this.props.boundsByDirection;
-        var direction = this.state.direction;
-        var widthByDirection = boundsByDirection && hasDirection('left', direction);
-        var heightByDirection = boundsByDirection && hasDirection('top', direction);
-        var boundWidth;
-        var boundHeight;
-        if (this.props.bounds === 'parent') {
-            var parent_1 = this.parentNode;
-            if (parent_1) {
-                boundWidth = widthByDirection
-                    ? this.resizableRight - this.parentLeft
-                    : parent_1.offsetWidth + (this.parentLeft - this.resizableLeft);
-                boundHeight = heightByDirection
-                    ? this.resizableBottom - this.parentTop
-                    : parent_1.offsetHeight + (this.parentTop - this.resizableTop);
-            }
-        }
-        else if (this.props.bounds === 'window') {
-            if (this.window) {
-                boundWidth = widthByDirection ? this.resizableRight : this.window.innerWidth - this.resizableLeft;
-                boundHeight = heightByDirection ? this.resizableBottom : this.window.innerHeight - this.resizableTop;
-            }
-        }
-        else if (this.props.bounds) {
-            boundWidth = widthByDirection
-                ? this.resizableRight - this.targetLeft
-                : this.props.bounds.offsetWidth + (this.targetLeft - this.resizableLeft);
-            boundHeight = heightByDirection
-                ? this.resizableBottom - this.targetTop
-                : this.props.bounds.offsetHeight + (this.targetTop - this.resizableTop);
-        }
-        if (boundWidth && Number.isFinite(boundWidth)) {
-            maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth;
-        }
-        if (boundHeight && Number.isFinite(boundHeight)) {
-            maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight;
-        }
-        return { maxWidth: maxWidth, maxHeight: maxHeight };
-    };
-    Resizable.prototype.calculateNewSizeFromDirection = function (clientX, clientY) {
-        var scale = this.props.scale || 1;
-        var resizeRatio = this.props.resizeRatio || 1;
-        var _a = this.state, direction = _a.direction, original = _a.original;
-        var _b = this.props, lockAspectRatio = _b.lockAspectRatio, lockAspectRatioExtraHeight = _b.lockAspectRatioExtraHeight, lockAspectRatioExtraWidth = _b.lockAspectRatioExtraWidth;
-        var newWidth = original.width;
-        var newHeight = original.height;
-        var extraHeight = lockAspectRatioExtraHeight || 0;
-        var extraWidth = lockAspectRatioExtraWidth || 0;
-        if (hasDirection('right', direction)) {
-            newWidth = original.width + ((clientX - original.x) * resizeRatio) / scale;
-            if (lockAspectRatio) {
-                newHeight = (newWidth - extraWidth) / this.ratio + extraHeight;
-            }
-        }
-        if (hasDirection('left', direction)) {
-            newWidth = original.width - ((clientX - original.x) * resizeRatio) / scale;
-            if (lockAspectRatio) {
-                newHeight = (newWidth - extraWidth) / this.ratio + extraHeight;
-            }
-        }
-        if (hasDirection('bottom', direction)) {
-            newHeight = original.height + ((clientY - original.y) * resizeRatio) / scale;
-            if (lockAspectRatio) {
-                newWidth = (newHeight - extraHeight) * this.ratio + extraWidth;
-            }
-        }
-        if (hasDirection('top', direction)) {
-            newHeight = original.height - ((clientY - original.y) * resizeRatio) / scale;
-            if (lockAspectRatio) {
-                newWidth = (newHeight - extraHeight) * this.ratio + extraWidth;
-            }
-        }
-        return { newWidth: newWidth, newHeight: newHeight };
-    };
-    Resizable.prototype.calculateNewSizeFromAspectRatio = function (newWidth, newHeight, max, min) {
-        var _a = this.props, lockAspectRatio = _a.lockAspectRatio, lockAspectRatioExtraHeight = _a.lockAspectRatioExtraHeight, lockAspectRatioExtraWidth = _a.lockAspectRatioExtraWidth;
-        var computedMinWidth = typeof min.width === 'undefined' ? 10 : min.width;
-        var computedMaxWidth = typeof max.width === 'undefined' || max.width < 0 ? newWidth : max.width;
-        var computedMinHeight = typeof min.height === 'undefined' ? 10 : min.height;
-        var computedMaxHeight = typeof max.height === 'undefined' || max.height < 0 ? newHeight : max.height;
-        var extraHeight = lockAspectRatioExtraHeight || 0;
-        var extraWidth = lockAspectRatioExtraWidth || 0;
-        if (lockAspectRatio) {
-            var extraMinWidth = (computedMinHeight - extraHeight) * this.ratio + extraWidth;
-            var extraMaxWidth = (computedMaxHeight - extraHeight) * this.ratio + extraWidth;
-            var extraMinHeight = (computedMinWidth - extraWidth) / this.ratio + extraHeight;
-            var extraMaxHeight = (computedMaxWidth - extraWidth) / this.ratio + extraHeight;
-            var lockedMinWidth = Math.max(computedMinWidth, extraMinWidth);
-            var lockedMaxWidth = Math.min(computedMaxWidth, extraMaxWidth);
-            var lockedMinHeight = Math.max(computedMinHeight, extraMinHeight);
-            var lockedMaxHeight = Math.min(computedMaxHeight, extraMaxHeight);
-            newWidth = lib_clamp(newWidth, lockedMinWidth, lockedMaxWidth);
-            newHeight = lib_clamp(newHeight, lockedMinHeight, lockedMaxHeight);
-        }
-        else {
-            newWidth = lib_clamp(newWidth, computedMinWidth, computedMaxWidth);
-            newHeight = lib_clamp(newHeight, computedMinHeight, computedMaxHeight);
-        }
-        return { newWidth: newWidth, newHeight: newHeight };
-    };
-    Resizable.prototype.setBoundingClientRect = function () {
-        // For parent boundary
-        if (this.props.bounds === 'parent') {
-            var parent_2 = this.parentNode;
-            if (parent_2) {
-                var parentRect = parent_2.getBoundingClientRect();
-                this.parentLeft = parentRect.left;
-                this.parentTop = parentRect.top;
-            }
-        }
-        // For target(html element) boundary
-        if (this.props.bounds && typeof this.props.bounds !== 'string') {
-            var targetRect = this.props.bounds.getBoundingClientRect();
-            this.targetLeft = targetRect.left;
-            this.targetTop = targetRect.top;
-        }
-        // For boundary
-        if (this.resizable) {
-            var _a = this.resizable.getBoundingClientRect(), left = _a.left, top_1 = _a.top, right = _a.right, bottom = _a.bottom;
-            this.resizableLeft = left;
-            this.resizableRight = right;
-            this.resizableTop = top_1;
-            this.resizableBottom = bottom;
+  }, [colors, value, onChange, clearColor]);
+  return (0,external_wp_element_namespaceObject.createElement)(CircularOptionPicker, {
+    className: className,
+    options: colorOptions,
+    actions: actions
+  });
+}
+
+function MultiplePalettes(_ref3) {
+  let {
+    className,
+    clearColor,
+    colors,
+    onChange,
+    value,
+    actions
+  } = _ref3;
+  return (0,external_wp_element_namespaceObject.createElement)(v_stack_component, {
+    spacing: 3,
+    className: className
+  }, colors.map((_ref4, index) => {
+    let {
+      name,
+      colors: colorPalette
+    } = _ref4;
+    return (0,external_wp_element_namespaceObject.createElement)(v_stack_component, {
+      spacing: 2,
+      key: index
+    }, (0,external_wp_element_namespaceObject.createElement)(ColorHeading, null, name), (0,external_wp_element_namespaceObject.createElement)(SinglePalette, {
+      clearColor: clearColor,
+      colors: colorPalette,
+      onChange: onChange,
+      value: value,
+      actions: colors.length === index + 1 ? actions : null
+    }));
+  }));
+}
+
+function CustomColorPickerDropdown(_ref5) {
+  let {
+    isRenderedInSidebar,
+    ...props
+  } = _ref5;
+  return (0,external_wp_element_namespaceObject.createElement)(Dropdown, extends_extends({
+    contentClassName: classnames_default()('components-color-palette__custom-color-dropdown-content', {
+      'is-rendered-in-sidebar': isRenderedInSidebar
+    })
+  }, props));
+}
+function ColorPalette(_ref6) {
+  let {
+    clearable = true,
+    className,
+    colors,
+    disableCustomColors = false,
+    enableAlpha,
+    onChange,
+    value,
+    __experimentalHasMultipleOrigins = false,
+    __experimentalIsRenderedInSidebar = false
+  } = _ref6;
+  const clearColor = (0,external_wp_element_namespaceObject.useCallback)(() => onChange(undefined), [onChange]);
+  const Component = __experimentalHasMultipleOrigins && colors !== null && colors !== void 0 && colors.length ? MultiplePalettes : SinglePalette;
+
+  const renderCustomColorPicker = () => (0,external_wp_element_namespaceObject.createElement)(LegacyAdapter, {
+    color: value,
+    onChange: color => onChange(color),
+    enableAlpha: enableAlpha
+  });
+
+  let dropdownPosition;
+
+  if (__experimentalIsRenderedInSidebar) {
+    dropdownPosition = 'bottom left';
+  }
+
+  const colordColor = w(value);
+  return (0,external_wp_element_namespaceObject.createElement)(v_stack_component, {
+    spacing: 3,
+    className: className
+  }, !disableCustomColors && (0,external_wp_element_namespaceObject.createElement)(CustomColorPickerDropdown, {
+    position: dropdownPosition,
+    isRenderedInSidebar: __experimentalIsRenderedInSidebar,
+    renderContent: renderCustomColorPicker,
+    renderToggle: _ref7 => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref7;
+      return (0,external_wp_element_namespaceObject.createElement)("button", {
+        className: "components-color-palette__custom-color",
+        "aria-expanded": isOpen,
+        "aria-haspopup": "true",
+        onClick: onToggle,
+        "aria-label": (0,external_wp_i18n_namespaceObject.__)('Custom color picker'),
+        style: {
+          background: value,
+          color: colordColor.contrast() > colordColor.contrast('#000') ? '#fff' : '#000'
         }
+      }, value);
+    }
+  }), (0,external_wp_element_namespaceObject.createElement)(Component, {
+    clearable: clearable,
+    clearColor: clearColor,
+    colors: colors,
+    onChange: onChange,
+    value: value,
+    actions: !!clearable && (0,external_wp_element_namespaceObject.createElement)(CircularOptionPicker.ButtonAction, {
+      onClick: clearColor
+    }, (0,external_wp_i18n_namespaceObject.__)('Clear'))
+  }));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-bar/constants.js
+const GRADIENT_MARKERS_WIDTH = 16;
+const INSERT_POINT_WIDTH = 16;
+const MINIMUM_ABSOLUTE_LEFT_POSITION = 5;
+const MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT = 10;
+const MINIMUM_DISTANCE_BETWEEN_POINTS = 0;
+const MINIMUM_SIGNIFICANT_MOVE = 5;
+const KEYBOARD_CONTROL_POINT_VARIATION = MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT;
+const MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_MARKER = (INSERT_POINT_WIDTH + GRADIENT_MARKERS_WIDTH) / 2;
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-bar/utils.js
+/**
+ * Internal dependencies
+ */
+
+/**
+ * Control point for the gradient bar.
+ *
+ * @typedef {Object} ControlPoint
+ * @property {string} color    Color of the control point.
+ * @property {number} position Integer position of the control point as a percentage.
+ */
+
+/**
+ * Color as parsed from the gradient by gradient-parser.
+ *
+ * @typedef {Object} Color
+ * @property {string} r   Red component.
+ * @property {string} g   Green component.
+ * @property {string} b   Green component.
+ * @property {string} [a] Optional alpha component.
+ */
+
+/**
+ * Clamps a number between 0 and 100.
+ *
+ * @param {number} value Value to clamp.
+ *
+ * @return {number} Value clamped between 0 and 100.
+ */
+
+function clampPercent(value) {
+  return Math.max(0, Math.min(100, value));
+}
+/**
+ * Check if a control point is overlapping with another.
+ *
+ * @param {ControlPoint[]} value        Array of control points.
+ * @param {number}         initialIndex Index of the position to test.
+ * @param {number}         newPosition  New position of the control point.
+ * @param {number}         minDistance  Distance considered to be overlapping.
+ *
+ * @return {boolean} True if the point is overlapping.
+ */
+
+function isOverlapping(value, initialIndex, newPosition) {
+  let minDistance = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : MINIMUM_DISTANCE_BETWEEN_POINTS;
+  const initialPosition = value[initialIndex].position;
+  const minPosition = Math.min(initialPosition, newPosition);
+  const maxPosition = Math.max(initialPosition, newPosition);
+  return value.some((_ref, index) => {
+    let {
+      position
+    } = _ref;
+    return index !== initialIndex && (Math.abs(position - newPosition) < minDistance || minPosition < position && position < maxPosition);
+  });
+}
+/**
+ * Adds a control point from an array and returns the new array.
+ *
+ * @param {ControlPoint[]} points   Array of control points.
+ * @param {number}         position Position to insert the new point.
+ * @param {Color}          color    Color to update the control point at index.
+ *
+ * @return {ControlPoint[]} New array of control points.
+ */
+
+function addControlPoint(points, position, color) {
+  const nextIndex = points.findIndex(point => point.position > position);
+  const newPoint = {
+    color,
+    position
+  };
+  const newPoints = points.slice();
+  newPoints.splice(nextIndex - 1, 0, newPoint);
+  return newPoints;
+}
+/**
+ * Removes a control point from an array and returns the new array.
+ *
+ * @param {ControlPoint[]} points Array of control points.
+ * @param {number}         index  Index to remove.
+ *
+ * @return {ControlPoint[]} New array of control points.
+ */
+
+function removeControlPoint(points, index) {
+  return points.filter((point, pointIndex) => {
+    return pointIndex !== index;
+  });
+}
+/**
+ * Updates a control point from an array and returns the new array.
+ *
+ * @param {ControlPoint[]} points   Array of control points.
+ * @param {number}         index    Index to update.
+ * @param {ControlPoint[]} newPoint New control point to replace the index.
+ *
+ * @return {ControlPoint[]} New array of control points.
+ */
+
+function updateControlPoint(points, index, newPoint) {
+  const newValue = points.slice();
+  newValue[index] = newPoint;
+  return newValue;
+}
+/**
+ * Updates the position of a control point from an array and returns the new array.
+ *
+ * @param {ControlPoint[]} points      Array of control points.
+ * @param {number}         index       Index to update.
+ * @param {number}         newPosition Position to move the control point at index.
+ *
+ * @return {ControlPoint[]} New array of control points.
+ */
+
+function updateControlPointPosition(points, index, newPosition) {
+  if (isOverlapping(points, index, newPosition)) {
+    return points;
+  }
+
+  const newPoint = { ...points[index],
+    position: newPosition
+  };
+  return updateControlPoint(points, index, newPoint);
+}
+/**
+ * Updates the position of a control point from an array and returns the new array.
+ *
+ * @param {ControlPoint[]} points   Array of control points.
+ * @param {number}         index    Index to update.
+ * @param {Color}          newColor Color to update the control point at index.
+ *
+ * @return {ControlPoint[]} New array of control points.
+ */
+
+function updateControlPointColor(points, index, newColor) {
+  const newPoint = { ...points[index],
+    color: newColor
+  };
+  return updateControlPoint(points, index, newPoint);
+}
+/**
+ * Updates the position of a control point from an array and returns the new array.
+ *
+ * @param {ControlPoint[]} points   Array of control points.
+ * @param {number}         position Position of the color stop.
+ * @param {string}         newColor Color to update the control point at index.
+ *
+ * @return {ControlPoint[]} New array of control points.
+ */
+
+function updateControlPointColorByPosition(points, position, newColor) {
+  const index = points.findIndex(point => point.position === position);
+  return updateControlPointColor(points, index, newColor);
+}
+/**
+ * Gets the horizontal coordinate when dragging a control point with the mouse.
+ *
+ * @param {number}  mouseXCoordinate       Horizontal coordinate of the mouse position.
+ * @param {Element} containerElement       Container for the gradient picker.
+ * @param {number}  positionedElementWidth Width of the positioned element.
+ *
+ * @return {number} Whole number percentage from the left.
+ */
+
+function getHorizontalRelativeGradientPosition(mouseXCoordinate, containerElement, positionedElementWidth) {
+  if (!containerElement) {
+    return;
+  }
+
+  const {
+    x,
+    width
+  } = containerElement.getBoundingClientRect();
+  const absolutePositionValue = mouseXCoordinate - x - MINIMUM_ABSOLUTE_LEFT_POSITION - positionedElementWidth / 2;
+  const availableWidth = width - MINIMUM_ABSOLUTE_LEFT_POSITION - INSERT_POINT_WIDTH;
+  return Math.round(clampPercent(absolutePositionValue * 100 / availableWidth));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-bar/control-points.js
+
+
+
+/**
+ * External dependencies
+ */
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+
+
+
+function ControlPointButton(_ref) {
+  let {
+    isOpen,
+    position,
+    color,
+    ...additionalProps
+  } = _ref;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ControlPointButton);
+  const descriptionId = `components-custom-gradient-picker__control-point-button-description-${instanceId}`;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+    "aria-label": (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %1$s: gradient position e.g: 70, %2$s: gradient color code e.g: rgb(52,121,151).
+    (0,external_wp_i18n_namespaceObject.__)('Gradient control point at position %1$s%% with color code %2$s.'), position, color),
+    "aria-describedby": descriptionId,
+    "aria-haspopup": "true",
+    "aria-expanded": isOpen,
+    className: classnames_default()('components-custom-gradient-picker__control-point-button', {
+      'is-active': isOpen
+    }),
+    style: {
+      left: `${position}%`
+    }
+  }, additionalProps)), (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, {
+    id: descriptionId
+  }, (0,external_wp_i18n_namespaceObject.__)('Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.')));
+}
+
+function GradientColorPickerDropdown(_ref2) {
+  let {
+    isRenderedInSidebar,
+    gradientPickerDomRef,
+    ...props
+  } = _ref2;
+  const popoverProps = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const result = {
+      className: 'components-custom-gradient-picker__color-picker-popover',
+      position: 'top'
     };
-    Resizable.prototype.onResizeStart = function (event, direction) {
-        if (!this.resizable || !this.window) {
-            return;
-        }
-        var clientX = 0;
-        var clientY = 0;
-        if (event.nativeEvent && lib_isMouseEvent(event.nativeEvent)) {
-            clientX = event.nativeEvent.clientX;
-            clientY = event.nativeEvent.clientY;
-        }
-        else if (event.nativeEvent && lib_isTouchEvent(event.nativeEvent)) {
-            clientX = event.nativeEvent.touches[0].clientX;
-            clientY = event.nativeEvent.touches[0].clientY;
-        }
-        if (this.props.onResizeStart) {
-            if (this.resizable) {
-                var startResize = this.props.onResizeStart(event, direction, this.resizable);
-                if (startResize === false) {
-                    return;
-                }
-            }
-        }
-        // Fix #168
-        if (this.props.size) {
-            if (typeof this.props.size.height !== 'undefined' && this.props.size.height !== this.state.height) {
-                this.setState({ height: this.props.size.height });
-            }
-            if (typeof this.props.size.width !== 'undefined' && this.props.size.width !== this.state.width) {
-                this.setState({ width: this.props.size.width });
-            }
-        }
-        // For lockAspectRatio case
-        this.ratio =
-            typeof this.props.lockAspectRatio === 'number' ? this.props.lockAspectRatio : this.size.width / this.size.height;
-        var flexBasis;
-        var computedStyle = this.window.getComputedStyle(this.resizable);
-        if (computedStyle.flexBasis !== 'auto') {
-            var parent_3 = this.parentNode;
-            if (parent_3) {
-                var dir = this.window.getComputedStyle(parent_3).flexDirection;
-                this.flexDir = dir.startsWith('row') ? 'row' : 'column';
-                flexBasis = computedStyle.flexBasis;
-            }
-        }
-        // For boundary
-        this.setBoundingClientRect();
-        this.bindEvents();
-        var state = {
-            original: {
-                x: clientX,
-                y: clientY,
-                width: this.size.width,
-                height: this.size.height,
-            },
-            isResizing: true,
-            backgroundStyle: lib_assign(lib_assign({}, this.state.backgroundStyle), { cursor: this.window.getComputedStyle(event.target).cursor || 'auto' }),
-            direction: direction,
-            flexBasis: flexBasis,
-        };
-        this.setState(state);
+
+    if (isRenderedInSidebar) {
+      result.anchorRef = gradientPickerDomRef.current;
+      result.position = 'bottom left';
+    }
+
+    return result;
+  }, [gradientPickerDomRef.current, isRenderedInSidebar]);
+  return (0,external_wp_element_namespaceObject.createElement)(CustomColorPickerDropdown, extends_extends({
+    isRenderedInSidebar: isRenderedInSidebar,
+    popoverProps: popoverProps
+  }, props));
+}
+
+function ControlPoints(_ref3) {
+  let {
+    disableRemove,
+    disableAlpha,
+    gradientPickerDomRef,
+    ignoreMarkerPosition,
+    value: controlPoints,
+    onChange,
+    onStartControlPointChange,
+    onStopControlPointChange,
+    __experimentalIsRenderedInSidebar
+  } = _ref3;
+  const controlPointMoveState = (0,external_wp_element_namespaceObject.useRef)();
+
+  const onMouseMove = event => {
+    const relativePosition = getHorizontalRelativeGradientPosition(event.clientX, gradientPickerDomRef.current, GRADIENT_MARKERS_WIDTH);
+    const {
+      initialPosition,
+      index,
+      significantMoveHappened
+    } = controlPointMoveState.current;
+
+    if (!significantMoveHappened && Math.abs(initialPosition - relativePosition) >= MINIMUM_SIGNIFICANT_MOVE) {
+      controlPointMoveState.current.significantMoveHappened = true;
+    }
+
+    onChange(updateControlPointPosition(controlPoints, index, relativePosition));
+  };
+
+  const cleanEventListeners = () => {
+    if (window && window.removeEventListener && controlPointMoveState.current && controlPointMoveState.current.listenersActivated) {
+      window.removeEventListener('mousemove', onMouseMove);
+      window.removeEventListener('mouseup', cleanEventListeners);
+      onStopControlPointChange();
+      controlPointMoveState.current.listenersActivated = false;
+    }
+  };
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return () => {
+      cleanEventListeners();
     };
-    Resizable.prototype.onMouseMove = function (event) {
-        if (!this.state.isResizing || !this.resizable || !this.window) {
-            return;
-        }
-        if (this.window.TouchEvent && lib_isTouchEvent(event)) {
-            try {
-                event.preventDefault();
-                event.stopPropagation();
-            }
-            catch (e) {
-                // Ignore on fail
-            }
-        }
-        var _a = this.props, maxWidth = _a.maxWidth, maxHeight = _a.maxHeight, minWidth = _a.minWidth, minHeight = _a.minHeight;
-        var clientX = lib_isTouchEvent(event) ? event.touches[0].clientX : event.clientX;
-        var clientY = lib_isTouchEvent(event) ? event.touches[0].clientY : event.clientY;
-        var _b = this.state, direction = _b.direction, original = _b.original, width = _b.width, height = _b.height;
-        var parentSize = this.getParentSize();
-        var max = calculateNewMax(parentSize, this.window.innerWidth, this.window.innerHeight, maxWidth, maxHeight, minWidth, minHeight);
-        maxWidth = max.maxWidth;
-        maxHeight = max.maxHeight;
-        minWidth = max.minWidth;
-        minHeight = max.minHeight;
-        // Calculate new size
-        var _c = this.calculateNewSizeFromDirection(clientX, clientY), newHeight = _c.newHeight, newWidth = _c.newWidth;
-        // Calculate max size from boundary settings
-        var boundaryMax = this.calculateNewMaxFromBoundary(maxWidth, maxHeight);
-        // Calculate new size from aspect ratio
-        var newSize = this.calculateNewSizeFromAspectRatio(newWidth, newHeight, { width: boundaryMax.maxWidth, height: boundaryMax.maxHeight }, { width: minWidth, height: minHeight });
-        newWidth = newSize.newWidth;
-        newHeight = newSize.newHeight;
-        if (this.props.grid) {
-            var newGridWidth = snap(newWidth, this.props.grid[0]);
-            var newGridHeight = snap(newHeight, this.props.grid[1]);
-            var gap = this.props.snapGap || 0;
-            newWidth = gap === 0 || Math.abs(newGridWidth - newWidth) <= gap ? newGridWidth : newWidth;
-            newHeight = gap === 0 || Math.abs(newGridHeight - newHeight) <= gap ? newGridHeight : newHeight;
-        }
-        if (this.props.snap && this.props.snap.x) {
-            newWidth = findClosestSnap(newWidth, this.props.snap.x, this.props.snapGap);
-        }
-        if (this.props.snap && this.props.snap.y) {
-            newHeight = findClosestSnap(newHeight, this.props.snap.y, this.props.snapGap);
-        }
-        var delta = {
-            width: newWidth - original.width,
-            height: newHeight - original.height,
-        };
-        if (width && typeof width === 'string') {
-            if (endsWith(width, '%')) {
-                var percent = (newWidth / parentSize.width) * 100;
-                newWidth = percent + "%";
-            }
-            else if (endsWith(width, 'vw')) {
-                var vw = (newWidth / this.window.innerWidth) * 100;
-                newWidth = vw + "vw";
-            }
-            else if (endsWith(width, 'vh')) {
-                var vh = (newWidth / this.window.innerHeight) * 100;
-                newWidth = vh + "vh";
+  }, []);
+  return controlPoints.map((point, index) => {
+    const initialPosition = point === null || point === void 0 ? void 0 : point.position;
+    return ignoreMarkerPosition !== initialPosition && (0,external_wp_element_namespaceObject.createElement)(GradientColorPickerDropdown, {
+      gradientPickerDomRef: gradientPickerDomRef,
+      isRenderedInSidebar: __experimentalIsRenderedInSidebar,
+      key: index,
+      onClose: onStopControlPointChange,
+      renderToggle: _ref4 => {
+        let {
+          isOpen,
+          onToggle
+        } = _ref4;
+        return (0,external_wp_element_namespaceObject.createElement)(ControlPointButton, {
+          key: index,
+          onClick: () => {
+            if (controlPointMoveState.current && controlPointMoveState.current.significantMoveHappened) {
+              return;
             }
-        }
-        if (height && typeof height === 'string') {
-            if (endsWith(height, '%')) {
-                var percent = (newHeight / parentSize.height) * 100;
-                newHeight = percent + "%";
+
+            if (isOpen) {
+              onStopControlPointChange();
+            } else {
+              onStartControlPointChange();
             }
-            else if (endsWith(height, 'vw')) {
-                var vw = (newHeight / this.window.innerWidth) * 100;
-                newHeight = vw + "vw";
+
+            onToggle();
+          },
+          onMouseDown: () => {
+            if (window && window.addEventListener) {
+              controlPointMoveState.current = {
+                initialPosition,
+                index,
+                significantMoveHappened: false,
+                listenersActivated: true
+              };
+              onStartControlPointChange();
+              window.addEventListener('mousemove', onMouseMove);
+              window.addEventListener('mouseup', cleanEventListeners);
             }
-            else if (endsWith(height, 'vh')) {
-                var vh = (newHeight / this.window.innerHeight) * 100;
-                newHeight = vh + "vh";
+          },
+          onKeyDown: event => {
+            if (event.keyCode === external_wp_keycodes_namespaceObject.LEFT) {
+              // Stop propagation of the key press event to avoid focus moving
+              // to another editor area.
+              event.stopPropagation();
+              onChange(updateControlPointPosition(controlPoints, index, clampPercent(point.position - KEYBOARD_CONTROL_POINT_VARIATION)));
+            } else if (event.keyCode === external_wp_keycodes_namespaceObject.RIGHT) {
+              // Stop propagation of the key press event to avoid focus moving
+              // to another editor area.
+              event.stopPropagation();
+              onChange(updateControlPointPosition(controlPoints, index, clampPercent(point.position + KEYBOARD_CONTROL_POINT_VARIATION)));
             }
+          },
+          isOpen: isOpen,
+          position: point.position,
+          color: point.color
+        });
+      },
+      renderContent: _ref5 => {
+        let {
+          onClose
+        } = _ref5;
+        return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(LegacyAdapter, {
+          enableAlpha: !disableAlpha,
+          color: point.color,
+          onChange: color => {
+            onChange(updateControlPointColor(controlPoints, index, w(color).toRgbString()));
+          }
+        }), !disableRemove && controlPoints.length > 2 && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+          className: "components-custom-gradient-picker__remove-control-point",
+          onClick: () => {
+            onChange(removeControlPoint(controlPoints, index));
+            onClose();
+          },
+          variant: "link"
+        }, (0,external_wp_i18n_namespaceObject.__)('Remove Control Point')));
+      }
+    });
+  });
+}
+
+function InsertPoint(_ref6) {
+  let {
+    value: controlPoints,
+    onChange,
+    onOpenInserter,
+    onCloseInserter,
+    insertPosition,
+    disableAlpha,
+    __experimentalIsRenderedInSidebar,
+    gradientPickerDomRef
+  } = _ref6;
+  const [alreadyInsertedPoint, setAlreadyInsertedPoint] = (0,external_wp_element_namespaceObject.useState)(false);
+  return (0,external_wp_element_namespaceObject.createElement)(GradientColorPickerDropdown, {
+    gradientPickerDomRef: gradientPickerDomRef,
+    isRenderedInSidebar: __experimentalIsRenderedInSidebar,
+    className: "components-custom-gradient-picker__inserter",
+    onClose: () => {
+      onCloseInserter();
+    },
+    renderToggle: _ref7 => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref7;
+      return (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+        "aria-expanded": isOpen,
+        "aria-haspopup": "true",
+        onClick: () => {
+          if (isOpen) {
+            onCloseInserter();
+          } else {
+            setAlreadyInsertedPoint(false);
+            onOpenInserter();
+          }
+
+          onToggle();
+        },
+        className: "components-custom-gradient-picker__insert-point",
+        icon: library_plus,
+        style: {
+          left: insertPosition !== null ? `${insertPosition}%` : undefined
         }
-        var newState = {
-            width: this.createSizeForCssProperty(newWidth, 'width'),
-            height: this.createSizeForCssProperty(newHeight, 'height'),
-        };
-        if (this.flexDir === 'row') {
-            newState.flexBasis = newState.width;
-        }
-        else if (this.flexDir === 'column') {
-            newState.flexBasis = newState.height;
-        }
-        this.setState(newState);
-        if (this.props.onResize) {
-            this.props.onResize(event, direction, this.resizable, delta);
-        }
-    };
-    Resizable.prototype.onMouseUp = function (event) {
-        var _a = this.state, isResizing = _a.isResizing, direction = _a.direction, original = _a.original;
-        if (!isResizing || !this.resizable) {
-            return;
+      });
+    },
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(LegacyAdapter, {
+      enableAlpha: !disableAlpha,
+      onChange: color => {
+        if (!alreadyInsertedPoint) {
+          onChange(addControlPoint(controlPoints, insertPosition, w(color).toRgbString()));
+          setAlreadyInsertedPoint(true);
+        } else {
+          onChange(updateControlPointColorByPosition(controlPoints, insertPosition, w(color).toRgbString()));
         }
-        var delta = {
-            width: this.size.width - original.width,
-            height: this.size.height - original.height,
+      }
+    })
+  });
+}
+
+ControlPoints.InsertPoint = InsertPoint;
+/* harmony default export */ var control_points = (ControlPoints);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-bar/index.js
+
+
+/**
+ * External dependencies
+ */
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+function customGradientBarReducer(state, action) {
+  switch (action.type) {
+    case 'MOVE_INSERTER':
+      if (state.id === 'IDLE' || state.id === 'MOVING_INSERTER') {
+        return {
+          id: 'MOVING_INSERTER',
+          insertPosition: action.insertPosition
         };
-        if (this.props.onResizeStop) {
-            this.props.onResizeStop(event, direction, this.resizable, delta);
-        }
-        if (this.props.size) {
-            this.setState(this.props.size);
-        }
-        this.unbindEvents();
-        this.setState({
-            isResizing: false,
-            backgroundStyle: lib_assign(lib_assign({}, this.state.backgroundStyle), { cursor: 'auto' }),
-        });
-    };
-    Resizable.prototype.updateSize = function (size) {
-        this.setState({ width: size.width, height: size.height });
-    };
-    Resizable.prototype.renderResizer = function () {
-        var _this = this;
-        var _a = this.props, enable = _a.enable, handleStyles = _a.handleStyles, handleClasses = _a.handleClasses, handleWrapperStyle = _a.handleWrapperStyle, handleWrapperClass = _a.handleWrapperClass, handleComponent = _a.handleComponent;
-        if (!enable) {
-            return null;
-        }
-        var resizers = Object.keys(enable).map(function (dir) {
-            if (enable[dir] !== false) {
-                return (external_React_["createElement"](resizer_Resizer, { key: dir, direction: dir, onResizeStart: _this.onResizeStart, replaceStyles: handleStyles && handleStyles[dir], className: handleClasses && handleClasses[dir] }, handleComponent && handleComponent[dir] ? handleComponent[dir] : null));
-            }
-            return null;
+      }
+
+      break;
+
+    case 'STOP_INSERTER_MOVE':
+      if (state.id === 'MOVING_INSERTER') {
+        return {
+          id: 'IDLE'
+        };
+      }
+
+      break;
+
+    case 'OPEN_INSERTER':
+      if (state.id === 'MOVING_INSERTER') {
+        return {
+          id: 'INSERTING_CONTROL_POINT',
+          insertPosition: state.insertPosition
+        };
+      }
+
+      break;
+
+    case 'CLOSE_INSERTER':
+      if (state.id === 'INSERTING_CONTROL_POINT') {
+        return {
+          id: 'IDLE'
+        };
+      }
+
+      break;
+
+    case 'START_CONTROL_CHANGE':
+      if (state.id === 'IDLE') {
+        return {
+          id: 'MOVING_CONTROL_POINT'
+        };
+      }
+
+      break;
+
+    case 'STOP_CONTROL_CHANGE':
+      if (state.id === 'MOVING_CONTROL_POINT') {
+        return {
+          id: 'IDLE'
+        };
+      }
+
+      break;
+  }
+
+  return state;
+}
+
+const customGradientBarReducerInitialState = {
+  id: 'IDLE'
+};
+function CustomGradientBar(_ref) {
+  let {
+    background,
+    hasGradient,
+    value: controlPoints,
+    onChange,
+    disableInserter = false,
+    disableAlpha = false,
+    __experimentalIsRenderedInSidebar
+  } = _ref;
+  const gradientPickerDomRef = (0,external_wp_element_namespaceObject.useRef)();
+  const [gradientBarState, gradientBarStateDispatch] = (0,external_wp_element_namespaceObject.useReducer)(customGradientBarReducer, customGradientBarReducerInitialState);
+
+  const onMouseEnterAndMove = event => {
+    const insertPosition = getHorizontalRelativeGradientPosition(event.clientX, gradientPickerDomRef.current, INSERT_POINT_WIDTH); // If the insert point is close to an existing control point don't show it.
+
+    if ((0,external_lodash_namespaceObject.some)(controlPoints, _ref2 => {
+      let {
+        position
+      } = _ref2;
+      return Math.abs(insertPosition - position) < MINIMUM_DISTANCE_BETWEEN_INSERTER_AND_POINT;
+    })) {
+      if (gradientBarState.id === 'MOVING_INSERTER') {
+        gradientBarStateDispatch({
+          type: 'STOP_INSERTER_MOVE'
         });
-        // #93 Wrap the resize box in span (will not break 100% width/height)
-        return (external_React_["createElement"]("div", { className: handleWrapperClass, style: handleWrapperStyle }, resizers));
-    };
-    Resizable.prototype.render = function () {
-        var _this = this;
-        var extendsProps = Object.keys(this.props).reduce(function (acc, key) {
-            if (definedProps.indexOf(key) !== -1) {
-                return acc;
-            }
-            acc[key] = _this.props[key];
-            return acc;
-        }, {});
-        var style = lib_assign(lib_assign(lib_assign({ position: 'relative', userSelect: this.state.isResizing ? 'none' : 'auto' }, this.props.style), this.sizeStyle), { maxWidth: this.props.maxWidth, maxHeight: this.props.maxHeight, minWidth: this.props.minWidth, minHeight: this.props.minHeight, boxSizing: 'border-box', flexShrink: 0 });
-        if (this.state.flexBasis) {
-            style.flexBasis = this.state.flexBasis;
-        }
-        var Wrapper = this.props.as || 'div';
-        return (external_React_["createElement"](Wrapper, lib_assign({ ref: this.ref, style: style, className: this.props.className }, extendsProps),
-            this.state.isResizing && external_React_["createElement"]("div", { style: this.state.backgroundStyle }),
-            this.props.children,
-            this.renderResizer()));
-    };
-    Resizable.defaultProps = {
-        as: 'div',
-        onResizeStart: function () { },
-        onResize: function () { },
-        onResizeStop: function () { },
-        enable: {
-            top: true,
-            right: true,
-            bottom: true,
-            left: true,
-            topRight: true,
-            bottomRight: true,
-            bottomLeft: true,
-            topLeft: true,
+      }
+
+      return;
+    }
+
+    gradientBarStateDispatch({
+      type: 'MOVE_INSERTER',
+      insertPosition
+    });
+  };
+
+  const onMouseLeave = () => {
+    gradientBarStateDispatch({
+      type: 'STOP_INSERTER_MOVE'
+    });
+  };
+
+  const isMovingInserter = gradientBarState.id === 'MOVING_INSERTER';
+  const isInsertingControlPoint = gradientBarState.id === 'INSERTING_CONTROL_POINT';
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: gradientPickerDomRef,
+    className: classnames_default()('components-custom-gradient-picker__gradient-bar', {
+      'has-gradient': hasGradient
+    }),
+    onMouseEnter: onMouseEnterAndMove,
+    onMouseMove: onMouseEnterAndMove,
+    style: {
+      background
+    },
+    onMouseLeave: onMouseLeave
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-custom-gradient-picker__markers-container"
+  }, !disableInserter && (isMovingInserter || isInsertingControlPoint) && (0,external_wp_element_namespaceObject.createElement)(control_points.InsertPoint, {
+    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
+    gradientPickerDomRef: gradientPickerDomRef,
+    disableAlpha: disableAlpha,
+    insertPosition: gradientBarState.insertPosition,
+    value: controlPoints,
+    onChange: onChange,
+    onOpenInserter: () => {
+      gradientBarStateDispatch({
+        type: 'OPEN_INSERTER'
+      });
+    },
+    onCloseInserter: () => {
+      gradientBarStateDispatch({
+        type: 'CLOSE_INSERTER'
+      });
+    }
+  }), (0,external_wp_element_namespaceObject.createElement)(control_points, {
+    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
+    disableAlpha: disableAlpha,
+    disableRemove: disableInserter,
+    gradientPickerDomRef: gradientPickerDomRef,
+    ignoreMarkerPosition: isInsertingControlPoint ? gradientBarState.insertPosition : undefined,
+    value: controlPoints,
+    onChange: onChange,
+    onStartControlPointChange: () => {
+      gradientBarStateDispatch({
+        type: 'START_CONTROL_CHANGE'
+      });
+    },
+    onStopControlPointChange: () => {
+      gradientBarStateDispatch({
+        type: 'STOP_CONTROL_CHANGE'
+      });
+    }
+  })));
+}
+
+// EXTERNAL MODULE: ./node_modules/gradient-parser/build/node.js
+var build_node = __webpack_require__(7115);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/constants.js
+/**
+ * WordPress dependencies
+ */
+
+const DEFAULT_GRADIENT = 'linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)';
+const DEFAULT_LINEAR_GRADIENT_ANGLE = 180;
+const HORIZONTAL_GRADIENT_ORIENTATION = {
+  type: 'angular',
+  value: 90
+};
+const GRADIENT_OPTIONS = [{
+  value: 'linear-gradient',
+  label: (0,external_wp_i18n_namespaceObject.__)('Linear')
+}, {
+  value: 'radial-gradient',
+  label: (0,external_wp_i18n_namespaceObject.__)('Radial')
+}];
+const DIRECTIONAL_ORIENTATION_ANGLE_MAP = {
+  top: 0,
+  'top right': 45,
+  'right top': 45,
+  right: 90,
+  'right bottom': 135,
+  'bottom right': 135,
+  bottom: 180,
+  'bottom left': 225,
+  'left bottom': 225,
+  left: 270,
+  'top left': 315,
+  'left top': 315
+};
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/serializer.js
+/**
+ * External dependencies
+ */
+
+function serializeGradientColor(_ref) {
+  let {
+    type,
+    value
+  } = _ref;
+
+  if (type === 'literal') {
+    return value;
+  }
+
+  if (type === 'hex') {
+    return `#${value}`;
+  }
+
+  return `${type}(${value.join(',')})`;
+}
+function serializeGradientPosition(position) {
+  if (!position) {
+    return '';
+  }
+
+  const {
+    value,
+    type
+  } = position;
+  return `${value}${type}`;
+}
+function serializeGradientColorStop(_ref2) {
+  let {
+    type,
+    value,
+    length
+  } = _ref2;
+  return `${serializeGradientColor({
+    type,
+    value
+  })} ${serializeGradientPosition(length)}`;
+}
+function serializeGradientOrientation(orientation) {
+  if (!orientation || orientation.type !== 'angular') {
+    return;
+  }
+
+  return `${orientation.value}deg`;
+}
+function serializeGradient(_ref3) {
+  let {
+    type,
+    orientation,
+    colorStops
+  } = _ref3;
+  const serializedOrientation = serializeGradientOrientation(orientation);
+  const serializedColorStops = colorStops.sort((colorStop1, colorStop2) => {
+    return (0,external_lodash_namespaceObject.get)(colorStop1, ['length', 'value'], 0) - (0,external_lodash_namespaceObject.get)(colorStop2, ['length', 'value'], 0);
+  }).map(serializeGradientColorStop);
+  return `${type}(${(0,external_lodash_namespaceObject.compact)([serializedOrientation, ...serializedColorStops]).join(',')})`;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/utils.js
+/**
+ * External dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+k([names]);
+function getLinearGradientRepresentation(gradientAST) {
+  return serializeGradient({
+    type: 'linear-gradient',
+    orientation: HORIZONTAL_GRADIENT_ORIENTATION,
+    colorStops: gradientAST.colorStops
+  });
+}
+
+function hasUnsupportedLength(item) {
+  return item.length === undefined || item.length.type !== '%';
+}
+
+function getGradientAstWithDefault(value) {
+  var _gradientAST$orientat;
+
+  // gradientAST will contain the gradient AST as parsed by gradient-parser npm module.
+  // More information of its structure available at https://www.npmjs.com/package/gradient-parser#ast.
+  let gradientAST;
+
+  try {
+    gradientAST = build_node.parse(value)[0];
+    gradientAST.value = value;
+  } catch (error) {
+    gradientAST = build_node.parse(DEFAULT_GRADIENT)[0];
+    gradientAST.value = DEFAULT_GRADIENT;
+  }
+
+  if (((_gradientAST$orientat = gradientAST.orientation) === null || _gradientAST$orientat === void 0 ? void 0 : _gradientAST$orientat.type) === 'directional') {
+    gradientAST.orientation.type = 'angular';
+    gradientAST.orientation.value = DIRECTIONAL_ORIENTATION_ANGLE_MAP[gradientAST.orientation.value].toString();
+  }
+
+  if (gradientAST.colorStops.some(hasUnsupportedLength)) {
+    const {
+      colorStops
+    } = gradientAST;
+    const step = 100 / (colorStops.length - 1);
+    colorStops.forEach((stop, index) => {
+      stop.length = {
+        value: step * index,
+        type: '%'
+      };
+    });
+    gradientAST.value = serializeGradient(gradientAST);
+  }
+
+  return gradientAST;
+}
+function getGradientAstWithControlPoints(gradientAST, newControlPoints) {
+  return { ...gradientAST,
+    colorStops: newControlPoints.map(_ref => {
+      let {
+        position,
+        color
+      } = _ref;
+      const {
+        r,
+        g,
+        b,
+        a
+      } = w(color).toRgb();
+      return {
+        length: {
+          type: '%',
+          value: position.toString()
         },
-        style: {},
-        grid: [1, 1],
-        lockAspectRatio: false,
-        lockAspectRatioExtraWidth: 0,
-        lockAspectRatioExtraHeight: 0,
-        scale: 1,
-        resizeRatio: 1,
-        snapGap: 0,
-    };
-    return Resizable;
-}(external_React_["PureComponent"]));
+        type: a < 1 ? 'rgba' : 'rgb',
+        value: a < 1 ? [r, g, b, a] : [r, g, b]
+      };
+    })
+  };
+}
+function getStopCssColor(colorStop) {
+  switch (colorStop.type) {
+    case 'hex':
+      return `#${colorStop.value}`;
+
+    case 'literal':
+      return colorStop.value;
+
+    case 'rgb':
+    case 'rgba':
+      return `${colorStop.type}(${colorStop.value.join(',')})`;
+
+    default:
+      // Should be unreachable if passing an AST from gradient-parser.
+      // See https://github.com/rafaelcaricio/gradient-parser#ast.
+      return 'transparent';
+  }
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/styles/custom-gradient-picker-styles.js
+

+function custom_gradient_picker_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/resize-tooltip/utils.js
 /**
  * External dependencies
  */

+/**
+ * Internal dependencies
+ */
+
+const SelectWrapper = /*#__PURE__*/emotion_styled_base_browser_esm(flex_block_component,  true ? {
+  target: "e99xvul1"
+} : 0)( true ? {
+  name: "1gvx10y",
+  styles: "flex-grow:5"
+} : 0);
+const AccessoryWrapper = /*#__PURE__*/emotion_styled_base_browser_esm(flex_block_component,  true ? {
+  target: "e99xvul0"
+} : 0)( true ? {
+  name: "1gvx10y",
+  styles: "flex-grow:5"
+} : 0);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-gradient-picker/index.js
+

 /**
- * WordPress dependencies
+ * External dependencies
  */

+/**
+ * WordPress dependencies
+ */

-const {
-  clearTimeout: utils_clearTimeout,
-  setTimeout: utils_setTimeout
-} = window;
-const POSITIONS = {
-  bottom: 'bottom',
-  corner: 'corner'
-};

 /**
- * Custom hook that manages resize listener events. It also provides a label
- * based on current resize width x height values.
- *
- * @param  props
- * @param  props.axis        Only shows the label corresponding to the axis.
- * @param  props.fadeTimeout Duration (ms) before deactivating the resize label.
- * @param  props.onResize    Callback when a resize occurs. Provides { width, height } callback.
- * @param  props.position    Adjusts label value.
- * @param  props.showPx      Whether to add `PX` to the label.
- *
- * @return Properties for hook.
+ * Internal dependencies
  */
-function useResizeLabel(_ref) {
+
+
+
+
+
+
+
+
+
+
+const GradientAnglePicker = _ref => {
   let {
-    axis,
-    fadeTimeout = 180,
-    onResize = external_lodash_["noop"],
-    position = POSITIONS.bottom,
-    showPx = false
+    gradientAST,
+    hasGradient,
+    onChange
   } = _ref;
+  const angle = (0,external_lodash_namespaceObject.get)(gradientAST, ['orientation', 'value'], DEFAULT_LINEAR_GRADIENT_ANGLE);

-  /*
-   * The width/height values derive from this special useResizeAware hook.
-   * This custom hook uses injects an iFrame into the element, allowing it
-   * to tap into the onResize (window) callback events.
-   */
-  const [resizeListener, sizes] = react_resize_aware_dist_default()();
-  /*
-   * Indicates if the x/y axis is preferred.
-   * If set, we will avoid resetting the moveX and moveY values.
-   * This will allow for the preferred axis values to persist in the label.
-   */
-
-  const isAxisControlled = !!axis;
-  /*
-   * The moveX and moveY values are used to track whether the label should
-   * display width, height, or width x height.
-   */
+  const onAngleChange = newAngle => {
+    onChange(serializeGradient({ ...gradientAST,
+      orientation: {
+        type: 'angular',
+        value: newAngle
+      }
+    }));
+  };

-  const [moveX, setMoveX] = Object(external_wp_element_["useState"])(false);
-  const [moveY, setMoveY] = Object(external_wp_element_["useState"])(false);
-  /*
-   * Cached dimension values to check for width/height updates from the
-   * sizes property from useResizeAware()
-   */
+  return (0,external_wp_element_namespaceObject.createElement)(AnglePickerControl, {
+    onChange: onAngleChange,
+    labelPosition: "top",
+    value: hasGradient ? angle : ''
+  });
+};

+const GradientTypePicker = _ref2 => {
+  let {
+    gradientAST,
+    hasGradient,
+    onChange
+  } = _ref2;
   const {
-    width,
-    height
-  } = sizes;
-  const heightRef = Object(external_wp_element_["useRef"])(height);
-  const widthRef = Object(external_wp_element_["useRef"])(width);
-  /*
-   * This timeout is used with setMoveX and setMoveY to determine of
-   * both width and height values have changed at (roughly) the same time.
-   */
+    type
+  } = gradientAST;

-  const moveTimeoutRef = Object(external_wp_element_["useRef"])();
+  const onSetLinearGradient = () => {
+    onChange(serializeGradient({ ...gradientAST,
+      ...(gradientAST.orientation ? {} : {
+        orientation: HORIZONTAL_GRADIENT_ORIENTATION
+      }),
+      type: 'linear-gradient'
+    }));
+  };

-  const unsetMoveXY = () => {
-    /*
-     * If axis is controlled, we will avoid resetting the moveX and moveY values.
-     * This will allow for the preferred axis values to persist in the label.
-     */
-    if (isAxisControlled) return;
-    setMoveX(false);
-    setMoveY(false);
+  const onSetRadialGradient = () => {
+    onChange(serializeGradient({ ...(0,external_lodash_namespaceObject.omit)(gradientAST, ['orientation']),
+      type: 'radial-gradient'
+    }));
   };

-  const debounceUnsetMoveXY = () => {
-    if (moveTimeoutRef.current) {
-      utils_clearTimeout(moveTimeoutRef.current);
+  const handleOnChange = next => {
+    if (next === 'linear-gradient') {
+      onSetLinearGradient();
     }

-    moveTimeoutRef.current = utils_setTimeout(unsetMoveXY, fadeTimeout);
+    if (next === 'radial-gradient') {
+      onSetRadialGradient();
+    }
   };

-  Object(external_wp_element_["useEffect"])(() => {
-    /*
-     * On the initial render of useResizeAware, the height and width values are
-     * null. They are calculated then set using via an internal useEffect hook.
-     */
-    const isRendered = width !== null || height !== null;
-    if (!isRendered) return;
-    const didWidthChange = width !== widthRef.current;
-    const didHeightChange = height !== heightRef.current;
-    if (!didWidthChange && !didHeightChange) return;
-    /*
-     * After the initial render, the useResizeAware will set the first
-     * width and height values. We'll sync those values with our
-     * width and height refs. However, we shouldn't render our Tooltip
-     * label on this first cycle.
-     */
+  return (0,external_wp_element_namespaceObject.createElement)(select_control, {
+    className: "components-custom-gradient-picker__type-picker",
+    label: (0,external_wp_i18n_namespaceObject.__)('Type'),
+    labelPosition: "top",
+    onChange: handleOnChange,
+    options: GRADIENT_OPTIONS,
+    value: hasGradient && type
+  });
+};

-    if (width && !widthRef.current && height && !heightRef.current) {
-      widthRef.current = width;
-      heightRef.current = height;
-      return;
-    }
-    /*
-     * After the first cycle, we can track width and height changes.
-     */
+function CustomGradientPicker(_ref3) {
+  let {
+    value,
+    onChange,
+    __experimentalIsRenderedInSidebar
+  } = _ref3;
+  const gradientAST = getGradientAstWithDefault(value); // On radial gradients the bar should display a linear gradient.
+  // On radial gradients the bar represents a slice of the gradient from the center until the outside.
+  // On liner gradients the bar represents the color stops from left to right independently of the angle.

+  const background = getLinearGradientRepresentation(gradientAST);
+  const hasGradient = gradientAST.value !== DEFAULT_GRADIENT; // Control points color option may be hex from presets, custom colors will be rgb.
+  // The position should always be a percentage.

-    if (didWidthChange) {
-      setMoveX(true);
-      widthRef.current = width;
+  const controlPoints = gradientAST.colorStops.map(colorStop => ({
+    color: getStopCssColor(colorStop),
+    position: parseInt(colorStop.length.value)
+  }));
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-custom-gradient-picker"
+  }, (0,external_wp_element_namespaceObject.createElement)(CustomGradientBar, {
+    __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
+    background: background,
+    hasGradient: hasGradient,
+    value: controlPoints,
+    onChange: newControlPoints => {
+      onChange(serializeGradient(getGradientAstWithControlPoints(gradientAST, newControlPoints)));
     }
+  }), (0,external_wp_element_namespaceObject.createElement)(flex_component, {
+    gap: 3,
+    className: "components-custom-gradient-picker__ui-line"
+  }, (0,external_wp_element_namespaceObject.createElement)(SelectWrapper, null, (0,external_wp_element_namespaceObject.createElement)(GradientTypePicker, {
+    gradientAST: gradientAST,
+    hasGradient: hasGradient,
+    onChange: onChange
+  })), (0,external_wp_element_namespaceObject.createElement)(AccessoryWrapper, null, gradientAST.type === 'linear-gradient' && (0,external_wp_element_namespaceObject.createElement)(GradientAnglePicker, {
+    gradientAST: gradientAST,
+    hasGradient: hasGradient,
+    onChange: onChange
+  }))));
+}

-    if (didHeightChange) {
-      setMoveY(true);
-      heightRef.current = height;
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/gradient-picker/index.js

-    onResize({
-      width,
-      height
+
+
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+
+function SingleOrigin(_ref) {
+  let {
+    className,
+    clearGradient,
+    gradients,
+    onChange,
+    value,
+    actions,
+    content
+  } = _ref;
+  const gradientOptions = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return (0,external_lodash_namespaceObject.map)(gradients, _ref2 => {
+      let {
+        gradient,
+        name
+      } = _ref2;
+      return (0,external_wp_element_namespaceObject.createElement)(CircularOptionPicker.Option, {
+        key: gradient,
+        value: gradient,
+        isSelected: value === gradient,
+        tooltipText: name || // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);".
+        (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Gradient code: %s'), gradient),
+        style: {
+          color: 'rgba( 0,0,0,0 )',
+          background: gradient
+        },
+        onClick: value === gradient ? clearGradient : () => onChange(gradient),
+        "aria-label": name ? // translators: %s: The name of the gradient e.g: "Angular red to blue".
+        (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Gradient: %s'), name) : // translators: %s: gradient code e.g: "linear-gradient(90deg, rgba(98,16,153,1) 0%, rgba(172,110,22,1) 100%);".
+        (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Gradient code: %s'), gradient)
+      });
     });
-    debounceUnsetMoveXY();
-  }, [width, height]);
-  const label = getSizeLabel({
-    axis,
-    height,
-    moveX,
-    moveY,
-    position,
-    showPx,
-    width
+  }, [gradients, value, onChange, clearGradient]);
+  return (0,external_wp_element_namespaceObject.createElement)(CircularOptionPicker, {
+    className: className,
+    options: gradientOptions,
+    actions: actions
+  }, content);
+}
+
+function MultipleOrigin(_ref3) {
+  let {
+    className,
+    clearGradient,
+    gradients,
+    onChange,
+    value,
+    actions,
+    content
+  } = _ref3;
+  return (0,external_wp_element_namespaceObject.createElement)(v_stack_component, {
+    spacing: 3,
+    className: className
+  }, gradients.map((_ref4, index) => {
+    let {
+      name,
+      gradients: gradientSet
+    } = _ref4;
+    return (0,external_wp_element_namespaceObject.createElement)(v_stack_component, {
+      spacing: 2,
+      key: index
+    }, (0,external_wp_element_namespaceObject.createElement)(ColorHeading, null, name), (0,external_wp_element_namespaceObject.createElement)(SingleOrigin, extends_extends({
+      clearGradient: clearGradient,
+      gradients: gradientSet,
+      onChange: onChange,
+      value: value
+    }, gradients.length === index + 1 ? {
+      actions,
+      content
+    } : {})));
+  }));
+}
+
+function GradientPicker(_ref5) {
+  let {
+    className,
+    gradients,
+    onChange,
+    value,
+    clearable = true,
+    disableCustomGradients = false,
+    __experimentalHasMultipleOrigins,
+    __experimentalIsRenderedInSidebar
+  } = _ref5;
+  const clearGradient = (0,external_wp_element_namespaceObject.useCallback)(() => onChange(undefined), [onChange]);
+  const Component = __experimentalHasMultipleOrigins && gradients !== null && gradients !== void 0 && gradients.length ? MultipleOrigin : SingleOrigin;
+  return (0,external_wp_element_namespaceObject.createElement)(Component, {
+    className: className,
+    clearable: clearable,
+    clearGradient: clearGradient,
+    gradients: gradients,
+    onChange: onChange,
+    value: value,
+    actions: clearable && ((gradients === null || gradients === void 0 ? void 0 : gradients.length) || !disableCustomGradients) && (0,external_wp_element_namespaceObject.createElement)(CircularOptionPicker.ButtonAction, {
+      onClick: clearGradient
+    }, (0,external_wp_i18n_namespaceObject.__)('Clear')),
+    content: !disableCustomGradients && (0,external_wp_element_namespaceObject.createElement)(CustomGradientPicker, {
+      __experimentalIsRenderedInSidebar: __experimentalIsRenderedInSidebar,
+      value: value,
+      onChange: onChange
+    })
   });
-  return {
-    label,
-    resizeListener
-  };
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/menu.js
+
+
 /**
- * Gets the resize label based on width and height values (as well as recent changes).
- *
- * @param  props
- * @param  props.axis     Only shows the label corresponding to the axis.
- * @param  props.height   Height value.
- * @param  props.moveX    Recent width (x axis) changes.
- * @param  props.moveY    Recent width (y axis) changes.
- * @param  props.position Adjusts label value.
- * @param  props.showPx   Whether to add `PX` to the label.
- * @param  props.width    Width value.
- *
- * @return The rendered label.
+ * WordPress dependencies
  */
-function getSizeLabel(_ref2) {
-  let {
-    axis,
-    height,
-    moveX = false,
-    moveY = false,
-    position = POSITIONS.bottom,
-    showPx = false,
-    width
-  } = _ref2;
-  if (!moveX && !moveY) return undefined;
-  /*
-   * Corner position...
-   * We want the label to appear like width x height.
-   */

-  if (position === POSITIONS.corner) {
-    return `${width} x ${height}`;
+const menu = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"
+}));
+/* harmony default export */ var library_menu = (menu);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/container.js
+
+
+// @ts-nocheck
+
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+const MENU_ITEM_ROLES = ['menuitem', 'menuitemradio', 'menuitemcheckbox'];
+
+function cycleValue(value, total, offset) {
+  const nextValue = value + offset;
+
+  if (nextValue < 0) {
+    return total + nextValue;
+  } else if (nextValue >= total) {
+    return nextValue - total;
+  }
+
+  return nextValue;
+}
+
+class NavigableContainer extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.onKeyDown = this.onKeyDown.bind(this);
+    this.bindContainer = this.bindContainer.bind(this);
+    this.getFocusableContext = this.getFocusableContext.bind(this);
+    this.getFocusableIndex = this.getFocusableIndex.bind(this);
+  }
+
+  componentDidMount() {
+    // We use DOM event listeners instead of React event listeners
+    // because we want to catch events from the underlying DOM tree
+    // The React Tree can be different from the DOM tree when using
+    // portals. Block Toolbars for instance are rendered in a separate
+    // React Trees.
+    this.container.addEventListener('keydown', this.onKeyDown);
+    this.container.addEventListener('focus', this.onFocus);
+  }
+
+  componentWillUnmount() {
+    this.container.removeEventListener('keydown', this.onKeyDown);
+    this.container.removeEventListener('focus', this.onFocus);
+  }
+
+  bindContainer(ref) {
+    const {
+      forwardedRef
+    } = this.props;
+    this.container = ref;
+
+    if ((0,external_lodash_namespaceObject.isFunction)(forwardedRef)) {
+      forwardedRef(ref);
+    } else if (forwardedRef && 'current' in forwardedRef) {
+      forwardedRef.current = ref;
+    }
+  }
+
+  getFocusableContext(target) {
+    const {
+      onlyBrowserTabstops
+    } = this.props;
+    const finder = onlyBrowserTabstops ? external_wp_dom_namespaceObject.focus.tabbable : external_wp_dom_namespaceObject.focus.focusable;
+    const focusables = finder.find(this.container);
+    const index = this.getFocusableIndex(focusables, target);
+
+    if (index > -1 && target) {
+      return {
+        index,
+        target,
+        focusables
+      };
+    }
+
+    return null;
   }
-  /*
-   * Other POSITIONS...
-   * The label will combine both width x height values if both
-   * values have recently been changed.
-   *
-   * Otherwise, only width or height will be displayed.
-   * The `PX` unit will be added, if specified by the `showPx` prop.
-   */

+  getFocusableIndex(focusables, target) {
+    const directIndex = focusables.indexOf(target);

-  const labelUnit = showPx ? ' px' : '';
-
-  if (axis) {
-    if (axis === 'x' && moveX) {
-      return `${width}${labelUnit}`;
+    if (directIndex !== -1) {
+      return directIndex;
     }
+  }

-    if (axis === 'y' && moveY) {
-      return `${height}${labelUnit}`;
+  onKeyDown(event) {
+    if (this.props.onKeyDown) {
+      this.props.onKeyDown(event);
     }
-  }

-  if (moveX && moveY) {
-    return `${width} x ${height}`;
-  }
+    const {
+      getFocusableContext
+    } = this;
+    const {
+      cycle = true,
+      eventToOffset,
+      onNavigate = external_lodash_namespaceObject.noop,
+      stopNavigationEvents
+    } = this.props;
+    const offset = eventToOffset(event); // eventToOffset returns undefined if the event is not handled by the component

-  if (moveX) {
-    return `${width}${labelUnit}`;
-  }
+    if (offset !== undefined && stopNavigationEvents) {
+      // Prevents arrow key handlers bound to the document directly interfering
+      event.stopImmediatePropagation(); // When navigating a collection of items, prevent scroll containers
+      // from scrolling. The preventDefault also prevents Voiceover from
+      // 'handling' the event, as voiceover will try to use arrow keys
+      // for highlighting text.

-  if (moveY) {
-    return `${height}${labelUnit}`;
-  }
+      const targetRole = event.target.getAttribute('role');

-  return undefined;
-}
+      if (MENU_ITEM_ROLES.includes(targetRole)) {
+        event.preventDefault();
+      }
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js
+    if (!offset) {
+      return;
+    }

+    const context = getFocusableContext(event.target.ownerDocument.activeElement);

-function resize_tooltip_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+    if (!context) {
+      return;
+    }

-/**
- * External dependencies
- */
+    const {
+      index,
+      focusables
+    } = context;
+    const nextIndex = cycle ? cycleValue(index, focusables.length, offset) : index + offset;

-/**
- * Internal dependencies
- */
+    if (nextIndex >= 0 && nextIndex < focusables.length) {
+      focusables[nextIndex].focus();
+      onNavigate(nextIndex, focusables[nextIndex]);
+    }
+  }

+  render() {
+    const {
+      children,
+      ...props
+    } = this.props;
+    return (0,external_wp_element_namespaceObject.createElement)("div", extends_extends({
+      ref: this.bindContainer
+    }, (0,external_lodash_namespaceObject.omit)(props, ['stopNavigationEvents', 'eventToOffset', 'onNavigate', 'onKeyDown', 'cycle', 'onlyBrowserTabstops', 'forwardedRef'])), children);
+  }

-const resize_tooltip_styles_Root = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ekdag503"
-} : undefined)( true ? {
-  name: "1cd7zoc",
-  styles: "bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0"
-} : undefined);
-const TooltipWrapper = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ekdag502"
-} : undefined)( true ? {
-  name: "ajymcs",
-  styles: "align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear"
-} : undefined);
-const resize_tooltip_styles_Tooltip = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ekdag501"
-} : undefined)("background:", COLORS.ui.border, ";border-radius:2px;box-sizing:border-box;font-size:12px;color:", COLORS.ui.textDark, ";padding:4px 8px;position:relative;" + ( true ? "" : undefined)); // TODO: Resolve need to use &&& to increase specificity
-// https://github.com/WordPress/gutenberg/issues/18483
+}

-const LabelText = /*#__PURE__*/Object(emotion_styled_base_browser_esm["a" /* default */])(text_component,  true ? {
-  target: "ekdag500"
-} : undefined)("&&&{color:", COLORS.ui.textDark, ";display:block;font-size:13px;line-height:1.4;}" + ( true ? "" : undefined));
+const forwardedNavigableContainer = (props, ref) => {
+  return (0,external_wp_element_namespaceObject.createElement)(NavigableContainer, extends_extends({}, props, {
+    forwardedRef: ref
+  }));
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/resize-tooltip/label.js
+forwardedNavigableContainer.displayName = 'NavigableContainer';
+/* harmony default export */ var container = ((0,external_wp_element_namespaceObject.forwardRef)(forwardedNavigableContainer));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/menu.js


+// @ts-nocheck

 /**
  * External dependencies
  */
-// eslint-disable-next-line no-restricted-imports

 /**
  * WordPress dependencies
  */


+
 /**
  * Internal dependencies
  */


-
-const CORNER_OFFSET = 4;
-const CURSOR_OFFSET_TOP = CORNER_OFFSET * 2.5;
-
-function resize_tooltip_label_Label(_ref, ref) {
+function NavigableMenu(_ref, ref) {
   let {
-    label,
-    position = POSITIONS.corner,
-    zIndex = 1000,
-    ...props
+    role = 'menu',
+    orientation = 'vertical',
+    ...rest
   } = _ref;
-  const showLabel = !!label;
-  const isBottom = position === POSITIONS.bottom;
-  const isCorner = position === POSITIONS.corner;
-  if (!showLabel) return null;
-  let style = {
-    opacity: showLabel ? 1 : undefined,
-    zIndex
-  };
-  let labelStyle = {};

-  if (isBottom) {
-    style = { ...style,
-      position: 'absolute',
-      bottom: CURSOR_OFFSET_TOP * -1,
-      left: '50%',
-      transform: 'translate(-50%, 0)'
-    };
-    labelStyle = {
-      transform: `translate(0, 100%)`
-    };
-  }
+  const eventToOffset = evt => {
+    const {
+      keyCode
+    } = evt;
+    let next = [external_wp_keycodes_namespaceObject.DOWN];
+    let previous = [external_wp_keycodes_namespaceObject.UP];

-  if (isCorner) {
-    style = { ...style,
-      position: 'absolute',
-      top: CORNER_OFFSET,
-      right: Object(external_wp_i18n_["isRTL"])() ? undefined : CORNER_OFFSET,
-      left: Object(external_wp_i18n_["isRTL"])() ? CORNER_OFFSET : undefined
-    };
-  }
+    if (orientation === 'horizontal') {
+      next = [external_wp_keycodes_namespaceObject.RIGHT];
+      previous = [external_wp_keycodes_namespaceObject.LEFT];
+    }

-  return Object(external_wp_element_["createElement"])(TooltipWrapper, Object(esm_extends["a" /* default */])({
-    "aria-hidden": "true",
-    className: "components-resizable-tooltip__tooltip-wrapper",
+    if (orientation === 'both') {
+      next = [external_wp_keycodes_namespaceObject.RIGHT, external_wp_keycodes_namespaceObject.DOWN];
+      previous = [external_wp_keycodes_namespaceObject.LEFT, external_wp_keycodes_namespaceObject.UP];
+    }
+
+    if ((0,external_lodash_namespaceObject.includes)(next, keyCode)) {
+      return 1;
+    } else if ((0,external_lodash_namespaceObject.includes)(previous, keyCode)) {
+      return -1;
+    } else if ((0,external_lodash_namespaceObject.includes)([external_wp_keycodes_namespaceObject.DOWN, external_wp_keycodes_namespaceObject.UP, external_wp_keycodes_namespaceObject.LEFT, external_wp_keycodes_namespaceObject.RIGHT], keyCode)) {
+      // Key press should be handled, e.g. have event propagation and
+      // default behavior handled by NavigableContainer but not result
+      // in an offset.
+      return 0;
+    }
+  };
+
+  return (0,external_wp_element_namespaceObject.createElement)(container, extends_extends({
     ref: ref,
-    style: style
-  }, props), Object(external_wp_element_["createElement"])(resize_tooltip_styles_Tooltip, {
-    className: "components-resizable-tooltip__tooltip",
-    style: labelStyle
-  }, Object(external_wp_element_["createElement"])(LabelText, {
-    as: "span"
-  }, label)));
+    stopNavigationEvents: true,
+    onlyBrowserTabstops: false,
+    role: role,
+    "aria-orientation": role === 'presentation' ? null : orientation,
+    eventToOffset: eventToOffset
+  }, rest));
 }
+/* harmony default export */ var navigable_container_menu = ((0,external_wp_element_namespaceObject.forwardRef)(NavigableMenu));

-const label_ForwardedComponent = Object(external_wp_element_["forwardRef"])(resize_tooltip_label_Label);
-/* harmony default export */ var resize_tooltip_label = (label_ForwardedComponent);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/resize-tooltip/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dropdown-menu/index.js


+// @ts-nocheck

 /**
  * External dependencies
@@ -57128,7 +52475,7 @@ const label_ForwardedComponent = Object(external_wp_element_["forwardRef"])(resi
  * WordPress dependencies
  */

- // eslint-disable-next-line no-restricted-imports
+

 /**
  * Internal dependencies
@@ -57137,403 +52484,275 @@ const label_ForwardedComponent = Object(external_wp_element_["forwardRef"])(resi



-function ResizeTooltip(_ref, ref) {
-  let {
-    axis,
-    className,
-    fadeTimeout = 180,
-    isVisible = true,
-    labelRef,
-    onResize = external_lodash_["noop"],
-    position = POSITIONS.bottom,
-    showPx = true,
-    zIndex = 1000,
+
+function mergeProps() {
+  let defaultProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  const mergedProps = { ...defaultProps,
     ...props
-  } = _ref;
+  };
+
+  if (props.className && defaultProps.className) {
+    mergedProps.className = classnames_default()(props.className, defaultProps.className);
+  }
+
+  return mergedProps;
+}
+
+function DropdownMenu(dropdownMenuProps) {
   const {
+    children,
+    className,
+    controls,
+    icon = library_menu,
     label,
-    resizeListener
-  } = useResizeLabel({
-    axis,
-    fadeTimeout,
-    onResize,
-    showPx,
-    position
-  });
-  if (!isVisible) return null;
-  const classes = classnames_default()('components-resize-tooltip', className);
-  return Object(external_wp_element_["createElement"])(resize_tooltip_styles_Root, Object(esm_extends["a" /* default */])({
-    "aria-hidden": "true",
-    className: classes,
-    ref: ref
-  }, props), resizeListener, Object(external_wp_element_["createElement"])(resize_tooltip_label, {
-    "aria-hidden": props['aria-hidden'],
-    label: label,
-    position: position,
-    ref: labelRef,
-    zIndex: zIndex
-  }));
-}
+    popoverProps,
+    toggleProps,
+    menuProps,
+    disableOpenOnArrowDown = false,
+    text,
+    noIcons
+  } = dropdownMenuProps;

-const resize_tooltip_ForwardedComponent = Object(external_wp_element_["forwardRef"])(ResizeTooltip);
-/* harmony default export */ var resize_tooltip = (resize_tooltip_ForwardedComponent);
+  if ((0,external_lodash_namespaceObject.isEmpty)(controls) && !(0,external_lodash_namespaceObject.isFunction)(children)) {
+    return null;
+  } // Normalize controls to nested array of objects (sets of controls)

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/index.js

+  let controlSets;

+  if (!(0,external_lodash_namespaceObject.isEmpty)(controls)) {
+    controlSets = controls;

-/**
- * WordPress dependencies
- */
+    if (!Array.isArray(controlSets[0])) {
+      controlSets = [controlSets];
+    }
+  }

-/**
- * External dependencies
- */
+  const mergedPopoverProps = mergeProps({
+    className: 'components-dropdown-menu__popover'
+  }, popoverProps);
+  return (0,external_wp_element_namespaceObject.createElement)(Dropdown, {
+    className: classnames_default()('components-dropdown-menu', className),
+    popoverProps: mergedPopoverProps,
+    renderToggle: _ref => {
+      var _toggleProps$showTool;

+      let {
+        isOpen,
+        onToggle
+      } = _ref;

+      const openOnArrowDown = event => {
+        if (disableOpenOnArrowDown) {
+          return;
+        }

+        if (!isOpen && event.keyCode === external_wp_keycodes_namespaceObject.DOWN) {
+          event.preventDefault();
+          onToggle();
+        }
+      };

-/**
- * Internal dependencies
- */
+      const mergedToggleProps = mergeProps({
+        className: classnames_default()('components-dropdown-menu__toggle', {
+          'is-opened': isOpen
+        })
+      }, toggleProps);
+      return (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({}, mergedToggleProps, {
+        icon: icon,
+        onClick: event => {
+          onToggle(event);

-const HANDLE_CLASS_NAME = 'components-resizable-box__handle';
-const SIDE_HANDLE_CLASS_NAME = 'components-resizable-box__side-handle';
-const CORNER_HANDLE_CLASS_NAME = 'components-resizable-box__corner-handle';
-const HANDLE_CLASSES = {
-  top: classnames_default()(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top'),
-  right: classnames_default()(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-right'),
-  bottom: classnames_default()(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom'),
-  left: classnames_default()(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-left'),
-  topLeft: classnames_default()(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top', 'components-resizable-box__handle-left'),
-  topRight: classnames_default()(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top', 'components-resizable-box__handle-right'),
-  bottomRight: classnames_default()(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom', 'components-resizable-box__handle-right'),
-  bottomLeft: classnames_default()(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom', 'components-resizable-box__handle-left')
-}; // Removes the inline styles in the drag handles.
+          if (mergedToggleProps.onClick) {
+            mergedToggleProps.onClick(event);
+          }
+        },
+        onKeyDown: event => {
+          openOnArrowDown(event);

-const HANDLE_STYLES_OVERRIDES = {
-  width: undefined,
-  height: undefined,
-  top: undefined,
-  right: undefined,
-  bottom: undefined,
-  left: undefined
-};
-const HANDLE_STYLES = {
-  top: HANDLE_STYLES_OVERRIDES,
-  right: HANDLE_STYLES_OVERRIDES,
-  bottom: HANDLE_STYLES_OVERRIDES,
-  left: HANDLE_STYLES_OVERRIDES,
-  topLeft: HANDLE_STYLES_OVERRIDES,
-  topRight: HANDLE_STYLES_OVERRIDES,
-  bottomRight: HANDLE_STYLES_OVERRIDES,
-  bottomLeft: HANDLE_STYLES_OVERRIDES
-};
+          if (mergedToggleProps.onKeyDown) {
+            mergedToggleProps.onKeyDown(event);
+          }
+        },
+        "aria-haspopup": "true",
+        "aria-expanded": isOpen,
+        label: label,
+        text: text,
+        showTooltip: (_toggleProps$showTool = toggleProps === null || toggleProps === void 0 ? void 0 : toggleProps.showTooltip) !== null && _toggleProps$showTool !== void 0 ? _toggleProps$showTool : true
+      }), mergedToggleProps.children);
+    },
+    renderContent: props => {
+      const mergedMenuProps = mergeProps({
+        'aria-label': label,
+        className: classnames_default()('components-dropdown-menu__menu', {
+          'no-icons': noIcons
+        })
+      }, menuProps);
+      return (0,external_wp_element_namespaceObject.createElement)(navigable_container_menu, extends_extends({}, mergedMenuProps, {
+        role: "menu"
+      }), (0,external_lodash_namespaceObject.isFunction)(children) ? children(props) : null, (0,external_lodash_namespaceObject.flatMap)(controlSets, (controlSet, indexOfSet) => controlSet.map((control, indexOfControl) => (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+        key: [indexOfSet, indexOfControl].join(),
+        onClick: event => {
+          event.stopPropagation();
+          props.onClose();

-function ResizableBox(_ref, ref) {
-  let {
-    className,
-    children,
-    showHandle = true,
-    __experimentalShowTooltip: showTooltip = false,
-    __experimentalTooltipProps: tooltipProps = {},
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(lib_Resizable, Object(esm_extends["a" /* default */])({
-    className: classnames_default()('components-resizable-box__container', showHandle && 'has-show-handle', className),
-    handleClasses: HANDLE_CLASSES,
-    handleStyles: HANDLE_STYLES,
-    ref: ref
-  }, props), children, showTooltip && Object(external_wp_element_["createElement"])(resize_tooltip, tooltipProps));
+          if (control.onClick) {
+            control.onClick();
+          }
+        },
+        className: classnames_default()('components-dropdown-menu__menu-item', {
+          'has-separator': indexOfSet > 0 && indexOfControl === 0,
+          'is-active': control.isActive,
+          'is-icon-only': !control.title
+        }),
+        icon: control.icon,
+        label: control.label,
+        "aria-checked": control.role === 'menuitemcheckbox' || control.role === 'menuitemradio' ? control.isActive : undefined,
+        role: control.role === 'menuitemcheckbox' || control.role === 'menuitemradio' ? control.role : 'menuitem',
+        disabled: control.isDisabled
+      }, control.title))));
+    }
+  });
 }

-/* harmony default export */ var resizable_box = (Object(external_wp_element_["forwardRef"])(ResizableBox));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/responsive-wrapper/index.js
-
+/* harmony default export */ var dropdown_menu = (DropdownMenu);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/item/hook.js
 /**
  * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports

 /**
  * WordPress dependencies
  */

-
-
-
-function ResponsiveWrapper(_ref) {
-  let {
-    naturalWidth,
-    naturalHeight,
-    children,
-    isInline = false
-  } = _ref;
-  const [containerResizeListener, {
-    width: containerWidth
-  }] = Object(external_wp_compose_["useResizeObserver"])();
-
-  if (external_wp_element_["Children"].count(children) !== 1) {
-    return null;
-  }
-
-  const imageStyle = {
-    paddingBottom: naturalWidth < containerWidth ? naturalHeight : naturalHeight / naturalWidth * 100 + '%'
-  };
-  const TagName = isInline ? 'span' : 'div';
-  return Object(external_wp_element_["createElement"])(TagName, {
-    className: "components-responsive-wrapper"
-  }, containerResizeListener, Object(external_wp_element_["createElement"])(TagName, {
-    style: imageStyle
-  }), Object(external_wp_element_["cloneElement"])(children, {
-    className: classnames_default()('components-responsive-wrapper__content', children.props.className)
-  }));
-}
-
-/* harmony default export */ var responsive_wrapper = (ResponsiveWrapper);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/sandbox/index.js
-
-
 /**
- * WordPress dependencies
+ * Internal dependencies
  */


-const observeAndResizeJS = `
-	( function() {
-		var observer;
-
-		if ( ! window.MutationObserver || ! document.body || ! window.parent ) {
-			return;
-		}
-
-		function sendResize() {
-			var clientBoundingRect = document.body.getBoundingClientRect();
-
-			window.parent.postMessage( {
-				action: 'resize',
-				width: clientBoundingRect.width,
-				height: clientBoundingRect.height,
-			}, '*' );
-		}
-
-		observer = new MutationObserver( sendResize );
-		observer.observe( document.body, {
-			attributes: true,
-			attributeOldValue: false,
-			characterData: true,
-			characterDataOldValue: false,
-			childList: true,
-			subtree: true
-		} );
-
-		window.addEventListener( 'load', sendResize, true );
-
-		// Hack: Remove viewport unit styles, as these are relative
-		// the iframe root and interfere with our mechanism for
-		// determining the unconstrained page bounds.
-		function removeViewportStyles( ruleOrNode ) {
-			if( ruleOrNode.style ) {
-				[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {
-					if ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {
-						ruleOrNode.style[ style ] = '';
-					}
-				} );
-			}
-		}
-
-		Array.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );
-		Array.prototype.forEach.call( document.styleSheets, function( stylesheet ) {
-			Array.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );
-		} );

-		document.body.style.position = 'absolute';
-		document.body.style.width = '100%';
-		document.body.setAttribute( 'data-resizable-iframe-connected', '' );

-		sendResize();

-		// Resize events can change the width of elements with 100% width, but we don't
-		// get an DOM mutations for that, so do the resize when the window is resized, too.
-		window.addEventListener( 'resize', sendResize, true );
-} )();`;
-const sandbox_style = `
-	body {
-		margin: 0;
-	}
-	html,
-	body,
-	body > div,
-	body > div iframe {
-		width: 100%;
-	}
-	html.wp-has-aspect-ratio,
-	body.wp-has-aspect-ratio,
-	body.wp-has-aspect-ratio > div,
-	body.wp-has-aspect-ratio > div iframe {
-		height: 100%;
-		overflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */
-	}
-	body > div > * {
-		margin-top: 0 !important; /* Has to have !important to override inline styles. */
-		margin-bottom: 0 !important;
-	}
-`;
-function Sandbox(_ref) {
-  let {
-    html = '',
-    title = '',
-    type,
-    styles = [],
-    scripts = [],
-    onFocus
-  } = _ref;
-  const ref = Object(external_wp_element_["useRef"])();
-  const [width, setWidth] = Object(external_wp_element_["useState"])(0);
-  const [height, setHeight] = Object(external_wp_element_["useState"])(0);
+function hook_useItem(props) {
+  const {
+    as: asProp,
+    className,
+    onClick,
+    role = 'listitem',
+    size: sizeProp,
+    ...otherProps
+  } = useContextSystem(props, 'Item');
+  const {
+    spacedAround,
+    size: contextSize
+  } = useItemGroupContext();
+  const size = sizeProp || contextSize;
+  const as = asProp || (typeof onClick !== 'undefined' ? 'button' : 'div');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => cx(as === 'button' && unstyledButton, itemSizes[size] || itemSizes.medium, item, spacedAround && styles_spacedAround, className), [as, className, size, spacedAround]);
+  const wrapperClassName = cx(itemWrapper);
+  return {
+    as,
+    className: classes,
+    onClick,
+    wrapperClassName,
+    role,
+    ...otherProps
+  };
+}

-  function isFrameAccessible() {
-    try {
-      return !!ref.current.contentDocument.body;
-    } catch (e) {
-      return false;
-    }
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/item-group/item/component.js

-  function trySandbox() {
-    let forceRerender = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;

-    if (!isFrameAccessible()) {
-      return;
-    }

-    const {
-      contentDocument,
-      ownerDocument
-    } = ref.current;
-    const {
-      body
-    } = contentDocument;
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

-    if (!forceRerender && null !== body.getAttribute('data-resizable-iframe-connected')) {
-      return;
-    } // put the html snippet into a html document, and then write it to the iframe's document
-    // we can use this in the future to inject custom styles or scripts.
-    // Scripts go into the body rather than the head, to support embedded content such as Instagram
-    // that expect the scripts to be part of the body.
+/**
+ * Internal dependencies
+ */


-    const htmlDoc = Object(external_wp_element_["createElement"])("html", {
-      lang: ownerDocument.documentElement.lang,
-      className: type
-    }, Object(external_wp_element_["createElement"])("head", null, Object(external_wp_element_["createElement"])("title", null, title), Object(external_wp_element_["createElement"])("style", {
-      dangerouslySetInnerHTML: {
-        __html: sandbox_style
-      }
-    }), styles.map((rules, i) => Object(external_wp_element_["createElement"])("style", {
-      key: i,
-      dangerouslySetInnerHTML: {
-        __html: rules
-      }
-    }))), Object(external_wp_element_["createElement"])("body", {
-      "data-resizable-iframe-connected": "data-resizable-iframe-connected",
-      className: type
-    }, Object(external_wp_element_["createElement"])("div", {
-      dangerouslySetInnerHTML: {
-        __html: html
-      }
-    }), Object(external_wp_element_["createElement"])("script", {
-      type: "text/javascript",
-      dangerouslySetInnerHTML: {
-        __html: observeAndResizeJS
-      }
-    }), scripts.map(src => Object(external_wp_element_["createElement"])("script", {
-      key: src,
-      src: src
-    })))); // writing the document like this makes it act in the same way as if it was
-    // loaded over the network, so DOM creation and mutation, script execution, etc.
-    // all work as expected

-    contentDocument.open();
-    contentDocument.write('<!DOCTYPE html>' + Object(external_wp_element_["renderToString"])(htmlDoc));
-    contentDocument.close();
-  }

-  Object(external_wp_element_["useEffect"])(() => {
-    trySandbox();
+function component_Item(props, forwardedRef) {
+  const {
+    role,
+    wrapperClassName,
+    ...otherProps
+  } = hook_useItem(props);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    role: role,
+    className: wrapperClassName
+  }, (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, otherProps, {
+    ref: forwardedRef
+  })));
+}

-    function tryNoForceSandbox() {
-      trySandbox(false);
-    }
+/* harmony default export */ var item_component = (contextConnect(component_Item, 'Item'));

-    function checkMessageForResize(event) {
-      const iframe = ref.current; // Verify that the mounted element is the source of the message
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/palette-edit/styles.js

-      if (!iframe || iframe.contentWindow !== event.source) {
-        return;
-      } // Attempt to parse the message data as JSON if passed as string
+
+function palette_edit_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+
+/**
+ * External dependencies
+ */
+
+/**
+ * Internal dependencies
+ */


-      let data = event.data || {};

-      if ('string' === typeof data) {
-        try {
-          data = JSON.parse(data);
-        } catch (e) {}
-      } // Update the state only if the message is formatted as we expect,
-      // i.e. as an object with a 'resize' action.


-      if ('resize' !== data.action) {
-        return;
-      }

-      setWidth(data.width);
-      setHeight(data.height);
-    }

-    const {
-      ownerDocument
-    } = ref.current;
-    const {
-      defaultView
-    } = ownerDocument; // This used to be registered using <iframe onLoad={} />, but it made the iframe blank
-    // after reordering the containing block. See these two issues for more details:
-    // https://github.com/WordPress/gutenberg/issues/6146
-    // https://github.com/facebook/react/issues/18752

-    ref.current.addEventListener('load', tryNoForceSandbox, false);
-    defaultView.addEventListener('message', checkMessageForResize);
-    return () => {
-      var _ref$current;

-      (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.removeEventListener('load', tryNoForceSandbox, false);
-      defaultView.addEventListener('message', checkMessageForResize);
-    };
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    trySandbox();
-  }, [title, type, styles, scripts]);
-  Object(external_wp_element_["useEffect"])(() => {
-    trySandbox(true);
-  }, [html]);
-  return Object(external_wp_element_["createElement"])("iframe", {
-    ref: Object(external_wp_compose_["useMergeRefs"])([ref, Object(external_wp_compose_["useFocusableIframe"])()]),
-    title: title,
-    className: "components-sandbox",
-    sandbox: "allow-scripts allow-same-origin allow-presentation",
-    onFocus: onFocus,
-    width: Math.ceil(width),
-    height: Math.ceil(height)
-  });
-}

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/snackbar/index.js
-var snackbar = __webpack_require__("iB/h");
+const IndicatorStyled = /*#__PURE__*/emotion_styled_base_browser_esm(CircularOptionPicker.Option,  true ? {
+  target: "e5bw3229"
+} : 0)("width:", space(6), ";height:", space(6), ";pointer-events:none;" + ( true ? "" : 0));
+const NameInputControl = /*#__PURE__*/emotion_styled_base_browser_esm(input_control,  true ? {
+  target: "e5bw3228"
+} : 0)(Container, "{background:", COLORS.gray[100], ";border-radius:2px;", Input, Input, Input, Input, "{height:", space(8), ";}", BackdropUI, BackdropUI, BackdropUI, "{border-color:transparent;box-shadow:none;}}" + ( true ? "" : 0));
+const PaletteItem = /*#__PURE__*/emotion_styled_base_browser_esm(item_component,  true ? {
+  target: "e5bw3227"
+} : 0)("padding:3px 0 3px ", space(3), ";height:calc( 40px - ", config_values.borderWidth, " );" + ( true ? "" : 0));
+const NameContainer = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e5bw3226"
+} : 0)("line-height:", space(8), ";margin-left:", space(2), ";margin-right:", space(2), ";white-space:nowrap;overflow:hidden;" + ( true ? "" : 0));
+const PaletteHeading = /*#__PURE__*/emotion_styled_base_browser_esm(heading_component,  true ? {
+  target: "e5bw3225"
+} : 0)("text-transform:uppercase;line-height:", space(6), ";font-weight:500;&&&{font-size:11px;margin-bottom:0;}" + ( true ? "" : 0));
+const PaletteActionsContainer = /*#__PURE__*/emotion_styled_base_browser_esm(component,  true ? {
+  target: "e5bw3224"
+} : 0)("height:", space(6), ";display:flex;" + ( true ? "" : 0));
+const PaletteHStackHeader = /*#__PURE__*/emotion_styled_base_browser_esm(h_stack_component,  true ? {
+  target: "e5bw3223"
+} : 0)("margin-bottom:", space(2), ";" + ( true ? "" : 0));
+const PaletteEditStyles = /*#__PURE__*/emotion_styled_base_browser_esm(component,  true ? {
+  target: "e5bw3222"
+} : 0)( true ? {
+  name: "u6wnko",
+  styles: "&&&{.components-button.has-icon{min-width:0;padding:0;}}"
+} : 0);
+const DoneButton = /*#__PURE__*/emotion_styled_base_browser_esm(build_module_button,  true ? {
+  target: "e5bw3221"
+} : 0)("&&{color:", COLORS.ui.theme, ";}" + ( true ? "" : 0));
+const RemoveButton = /*#__PURE__*/emotion_styled_base_browser_esm(build_module_button,  true ? {
+  target: "e5bw3220"
+} : 0)("&&{margin-top:", space(1), ";}" + ( true ? "" : 0));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/snackbar/list.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/palette-edit/index.js



@@ -57541,182 +52760,401 @@ var snackbar = __webpack_require__("iB/h");
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */



+
+
 /**
  * Internal dependencies
  */



-const SNACKBAR_VARIANTS = {
-  init: {
-    height: 0,
-    opacity: 0
-  },
-  open: {
-    height: 'auto',
-    opacity: 1,
-    transition: {
-      height: {
-        stiffness: 1000,
-        velocity: -100
-      }
-    }
-  },
-  exit: {
-    opacity: 0,
-    transition: {
-      duration: 0.5
-    }
-  }
-};
-const SNACKBAR_REDUCE_MOTION_VARIANTS = {
-  init: false,
-  open: false,
-  exit: false
-};
-/**
- * Renders a list of notices.
- *
- * @param {Object}   $0           Props passed to the component.
- * @param {Array}    $0.notices   Array of notices to render.
- * @param {Function} $0.onRemove  Function called when a notice should be removed / dismissed.
- * @param {Object}   $0.className Name of the class used by the component.
- * @param {Object}   $0.children  Array of children to be rendered inside the notice list.
- *
- * @return {Object} The rendered notices list.
- */

-function SnackbarList(_ref) {
+
+
+
+
+
+
+
+
+
+
+
+const DEFAULT_COLOR = '#000';
+
+function NameInput(_ref) {
   let {
-    notices,
-    className,
-    children,
-    onRemove = external_lodash_["noop"]
+    value,
+    onChange,
+    label
   } = _ref;
-  const listRef = Object(external_wp_element_["useRef"])();
-  const isReducedMotion = Object(external_wp_compose_["useReducedMotion"])();
-  className = classnames_default()('components-snackbar-list', className);
+  return (0,external_wp_element_namespaceObject.createElement)(NameInputControl, {
+    label: label,
+    hideLabelFromVision: true,
+    value: value,
+    onChange: onChange
+  });
+}

-  const removeNotice = notice => () => onRemove(notice.id);
+function getNameForPosition(position) {
+  return (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: is a temporary id for a custom color */
+  (0,external_wp_i18n_namespaceObject.__)('Color %s '), position + 1);
+}

-  return Object(external_wp_element_["createElement"])("div", {
-    className: className,
-    tabIndex: -1,
-    ref: listRef
-  }, children, Object(external_wp_element_["createElement"])(AnimatePresence, null, notices.map(notice => {
-    return Object(external_wp_element_["createElement"])(motion.div, {
-      layout: !isReducedMotion //see https://www.framer.com/docs/animation/#layout-animations
-      ,
-      initial: 'init',
-      animate: 'open',
-      exit: 'exit',
-      key: notice.id,
-      variants: isReducedMotion ? SNACKBAR_REDUCE_MOTION_VARIANTS : SNACKBAR_VARIANTS
-    }, Object(external_wp_element_["createElement"])("div", {
-      className: "components-snackbar-list__notice-container"
-    }, Object(external_wp_element_["createElement"])(snackbar["a" /* default */], Object(esm_extends["a" /* default */])({}, Object(external_lodash_["omit"])(notice, ['content']), {
-      onRemove: removeNotice(notice),
-      listRef: listRef
-    }), notice.content)));
+function palette_edit_Option(_ref2) {
+  let {
+    canOnlyChangeValues,
+    element,
+    onChange,
+    isEditing,
+    onStartEditing,
+    onRemove,
+    onStopEditing,
+    slugPrefix,
+    isGradient
+  } = _ref2;
+  const focusOutsideProps = (0,external_wp_compose_namespaceObject.__experimentalUseFocusOutside)(onStopEditing);
+  const value = isGradient ? element.gradient : element.color;
+  return (0,external_wp_element_namespaceObject.createElement)(PaletteItem, extends_extends({
+    as: "div",
+    onClick: onStartEditing
+  }, isEditing ? focusOutsideProps : {}), (0,external_wp_element_namespaceObject.createElement)(h_stack_component, {
+    justify: "flex-start"
+  }, (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_element_namespaceObject.createElement)(IndicatorStyled, {
+    style: {
+      background: value,
+      color: 'transparent'
+    }
+  })), (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, isEditing && !canOnlyChangeValues ? (0,external_wp_element_namespaceObject.createElement)(NameInput, {
+    label: isGradient ? (0,external_wp_i18n_namespaceObject.__)('Gradient name') : (0,external_wp_i18n_namespaceObject.__)('Color name'),
+    value: element.name,
+    onChange: nextName => onChange({ ...element,
+      name: nextName,
+      slug: slugPrefix + (0,external_lodash_namespaceObject.kebabCase)(nextName)
+    })
+  }) : (0,external_wp_element_namespaceObject.createElement)(NameContainer, null, element.name)), isEditing && !canOnlyChangeValues && (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_element_namespaceObject.createElement)(RemoveButton, {
+    isSmall: true,
+    icon: line_solid,
+    label: (0,external_wp_i18n_namespaceObject.__)('Remove color'),
+    onClick: onRemove
+  }))), isEditing && (0,external_wp_element_namespaceObject.createElement)(popover, {
+    position: "bottom left",
+    className: "components-palette-edit__popover"
+  }, !isGradient && (0,external_wp_element_namespaceObject.createElement)(LegacyAdapter, {
+    color: value,
+    onChange: newColor => onChange({ ...element,
+      color: newColor
+    })
+  }), isGradient && (0,external_wp_element_namespaceObject.createElement)(CustomGradientPicker, {
+    __experimentalIsRenderedInSidebar: true,
+    value: value,
+    onChange: newGradient => onChange({ ...element,
+      gradient: newGradient
+    })
   })));
 }

-/* harmony default export */ var snackbar_list = (SnackbarList);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/spinner/styles/spinner-styles.js
-
+function isTemporaryElement(slugPrefix, _ref3, index) {
+  let {
+    slug,
+    color,
+    gradient
+  } = _ref3;
+  return slug === slugPrefix + (0,external_lodash_namespaceObject.kebabCase)(getNameForPosition(index)) && (!!color && color === DEFAULT_COLOR || !!gradient && gradient === DEFAULT_GRADIENT);
+}

-/**
- * External dependencies
- */
+function PaletteEditListView(_ref4) {
+  let {
+    elements,
+    onChange,
+    editingElement,
+    setEditingElement,
+    canOnlyChangeValues,
+    slugPrefix,
+    isGradient
+  } = _ref4;
+  // When unmounting the component if there are empty elements (the user did not complete the insertion) clean them.
+  const elementsReference = (0,external_wp_element_namespaceObject.useRef)();
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    elementsReference.current = elements;
+  }, [elements]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return () => {
+      if (elementsReference.current.some((element, index) => isTemporaryElement(slugPrefix, element, index))) {
+        const newElements = elementsReference.current.filter((element, index) => !isTemporaryElement(slugPrefix, element, index));
+        onChange(newElements.length ? newElements : undefined);
+      }
+    };
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)(v_stack_component, {
+    spacing: 3
+  }, (0,external_wp_element_namespaceObject.createElement)(item_group_component, {
+    isBordered: true,
+    isSeparated: true
+  }, elements.map((element, index) => (0,external_wp_element_namespaceObject.createElement)(palette_edit_Option, {
+    isGradient: isGradient,
+    canOnlyChangeValues: canOnlyChangeValues,
+    key: index,
+    element: element,
+    onStartEditing: () => {
+      if (editingElement !== index) {
+        setEditingElement(index);
+      }
+    },
+    onChange: newElement => {
+      onChange(elements.map((currentElement, currentIndex) => {
+        if (currentIndex === index) {
+          return newElement;
+        }

-/**
- * Internal dependencies
- */
+        return currentElement;
+      }));
+    },
+    onRemove: () => {
+      setEditingElement(null);
+      const newElements = elements.filter((_currentElement, currentIndex) => {
+        if (currentIndex === index) {
+          return false;
+        }

+        return true;
+      });
+      onChange(newElements.length ? newElements : undefined);
+    },
+    isEditing: index === editingElement,
+    onStopEditing: () => {
+      if (index === editingElement) {
+        setEditingElement(null);
+      }
+    },
+    slugPrefix: slugPrefix
+  }))));
+}

-const spinAnimation = emotion_react_browser_esm["b" /* keyframes */]`
-	from {
-		transform: rotate(0deg);
-	}
+const EMPTY_ARRAY = [];
+function PaletteEdit(_ref5) {
+  let {
+    gradients,
+    colors = EMPTY_ARRAY,
+    onChange,
+    paletteLabel,
+    emptyMessage,
+    canOnlyChangeValues,
+    canReset,
+    slugPrefix = ''
+  } = _ref5;
+  const isGradient = !!gradients;
+  const elements = isGradient ? gradients : colors;
+  const [isEditing, setIsEditing] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [editingElement, setEditingElement] = (0,external_wp_element_namespaceObject.useState)(null);
+  const isAdding = isEditing && editingElement && elements[editingElement] && !elements[editingElement].slug;
+  const elementsLength = elements.length;
+  const hasElements = elementsLength > 0;
+  return (0,external_wp_element_namespaceObject.createElement)(PaletteEditStyles, null, (0,external_wp_element_namespaceObject.createElement)(PaletteHStackHeader, null, (0,external_wp_element_namespaceObject.createElement)(PaletteHeading, null, paletteLabel), (0,external_wp_element_namespaceObject.createElement)(PaletteActionsContainer, null, isEditing && (0,external_wp_element_namespaceObject.createElement)(DoneButton, {
+    isSmall: true,
+    onClick: () => {
+      setIsEditing(false);
+      setEditingElement(null);
+    }
+  }, (0,external_wp_i18n_namespaceObject.__)('Done')), !canOnlyChangeValues && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    isSmall: true,
+    isPressed: isAdding,
+    icon: library_plus,
+    label: isGradient ? (0,external_wp_i18n_namespaceObject.__)('Add gradient') : (0,external_wp_i18n_namespaceObject.__)('Add color'),
+    onClick: () => {
+      const tempOptionName = getNameForPosition(elementsLength);
+      onChange([...elements, { ...(isGradient ? {
+          gradient: DEFAULT_GRADIENT
+        } : {
+          color: DEFAULT_COLOR
+        }),
+        name: tempOptionName,
+        slug: slugPrefix + (0,external_lodash_namespaceObject.kebabCase)(tempOptionName)
+      }]);
+      setIsEditing(true);
+      setEditingElement(elements.length);
+    }
+  }), hasElements && (!isEditing || !canOnlyChangeValues || canReset) && (0,external_wp_element_namespaceObject.createElement)(dropdown_menu, {
+    icon: more_vertical,
+    label: isGradient ? (0,external_wp_i18n_namespaceObject.__)('Gradient options') : (0,external_wp_i18n_namespaceObject.__)('Color options'),
+    toggleProps: {
+      isSmall: true
+    }
+  }, _ref6 => {
+    let {
+      onClose
+    } = _ref6;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(navigable_container_menu, {
+      role: "menu"
+    }, !isEditing && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+      variant: "tertiary",
+      onClick: () => {
+        setIsEditing(true);
+        onClose();
+      },
+      className: "components-palette-edit__menu-button"
+    }, isGradient ? (0,external_wp_i18n_namespaceObject.__)('Edit gradients') : (0,external_wp_i18n_namespaceObject.__)('Edit colors')), !canOnlyChangeValues && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+      variant: "tertiary",
+      onClick: () => {
+        setEditingElement(null);
+        setIsEditing(false);
+        onChange();
+        onClose();
+      },
+      className: "components-palette-edit__menu-button"
+    }, isGradient ? (0,external_wp_i18n_namespaceObject.__)('Remove all gradients') : (0,external_wp_i18n_namespaceObject.__)('Remove all colors')), canReset && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+      variant: "tertiary",
+      onClick: () => {
+        setEditingElement(null);
+        onChange();
+        onClose();
+      }
+    }, isGradient ? (0,external_wp_i18n_namespaceObject.__)('Reset gradient') : (0,external_wp_i18n_namespaceObject.__)('Reset colors'))));
+  }))), hasElements && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isEditing && (0,external_wp_element_namespaceObject.createElement)(PaletteEditListView, {
+    canOnlyChangeValues: canOnlyChangeValues,
+    elements: elements,
+    onChange: onChange,
+    editingElement: editingElement,
+    setEditingElement: setEditingElement,
+    slugPrefix: slugPrefix,
+    isGradient: isGradient
+  }), !isEditing && (isGradient ? (0,external_wp_element_namespaceObject.createElement)(GradientPicker, {
+    gradients: gradients,
+    onChange: () => {},
+    clearable: false,
+    disableCustomGradients: true
+  }) : (0,external_wp_element_namespaceObject.createElement)(ColorPalette, {
+    colors: colors,
+    onChange: () => {},
+    clearable: false,
+    disableCustomColors: true
+  }))), !hasElements && emptyMessage);
+}

-	to {
-		transform: rotate(360deg);
-	}
-`;
-const spinner_styles_topLeft = `calc( ( ${config_values.spinnerSize} - ${config_values.spinnerSize} * ( 2 / 3 ) ) / 2 )`;
-const StyledSpinner = Object(emotion_styled_base_browser_esm["a" /* default */])("span",  true ? {
-  target: "e1s472tg0"
-} : undefined)("display:inline-block;background-color:", COLORS.gray[600], ";width:", config_values.spinnerSize, ";height:", config_values.spinnerSize, ";opacity:0.7;margin:5px 11px 0;border-radius:100%;position:relative;&::before{content:'';position:absolute;background-color:", COLORS.white, ";top:", spinner_styles_topLeft, ";left:", spinner_styles_topLeft, ";width:calc( ", config_values.spinnerSize, " / 4.5 );height:calc( ", config_values.spinnerSize, " / 4.5 );border-radius:100%;transform-origin:calc( ", config_values.spinnerSize, " / 3 ) calc( ", config_values.spinnerSize, " / 3 );animation:", spinAnimation, " 1s infinite linear;}" + ( true ? "" : undefined));
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-indicator/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/spinner/index.js


 /**
- * Internal dependencies
+ * External dependencies
  */

-function Spinner() {
-  return Object(external_wp_element_["createElement"])(StyledSpinner, {
-    className: "components-spinner"
-  });
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/surface/component.js
+const ColorIndicator = _ref => {
+  let {
+    className,
+    colorValue,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("span", extends_extends({
+    className: classnames_default()('component-color-indicator', className),
+    style: {
+      background: colorValue
+    }
+  }, props));
+};
+
+/* harmony default export */ var color_indicator = (ColorIndicator);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const closeSmall = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
+}));
+/* harmony default export */ var close_small = (closeSmall);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-token-field/token-input.js
+


 /**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
- * @param {import('react').Ref<any>}                                                        forwardedRef
+ * External dependencies
  */

-function component_Surface(props, forwardedRef) {
-  const surfaceProps = useSurface(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, surfaceProps, {
-    ref: forwardedRef
-  }));
-}
 /**
- * `Surface` is a core component that renders a primary background color.
- *
- * In the example below, notice how the `Surface` renders in white (or dark gray if in dark mode).
- *
- * ```jsx
- * import {
- *	__experimentalSurface as Surface,
- *	__experimentalText as Text,
- * } from '@wordpress/components';
- *
- * function Example() {
- * 	return (
- * 		<Surface>
- * 			<Text>Code is Poetry</Text>
- * 		</Surface>
- * 	);
- * }
- * ```
+ * WordPress dependencies
  */


-const ConnectedSurface = Object(context_connect["a" /* contextConnect */])(component_Surface, 'Surface');
-/* harmony default export */ var surface_component = (ConnectedSurface);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tab-panel/index.js
+class TokenInput extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.onChange = this.onChange.bind(this);
+    this.bindInput = this.bindInput.bind(this);
+  }
+
+  focus() {
+    this.input.focus();
+  }
+
+  hasFocus() {
+    return this.input === this.input.ownerDocument.activeElement;
+  }
+
+  bindInput(ref) {
+    this.input = ref;
+  }
+
+  onChange(event) {
+    this.props.onChange({
+      value: event.target.value
+    });
+  }
+
+  render() {
+    const {
+      value,
+      isExpanded,
+      instanceId,
+      selectedSuggestionIndex,
+      className,
+      onChange,
+      ...props
+    } = this.props;
+    const size = value ? value.length + 1 : 0;
+    return (0,external_wp_element_namespaceObject.createElement)("input", extends_extends({
+      ref: this.bindInput,
+      id: `components-form-token-input-${instanceId}`,
+      type: "text"
+    }, props, {
+      value: value || '',
+      onChange: onChange ? this.onChange : undefined,
+      size: size,
+      className: classnames_default()(className, 'components-form-token-field__input'),
+      autoComplete: "off",
+      role: "combobox",
+      "aria-expanded": isExpanded,
+      "aria-autocomplete": "list",
+      "aria-owns": isExpanded ? `components-form-token-suggestions-${instanceId}` : undefined,
+      "aria-activedescendant": selectedSuggestionIndex !== -1 ? `components-form-token-suggestions-${instanceId}-${selectedSuggestionIndex}` : undefined,
+      "aria-describedby": `components-form-token-suggestions-howto-${instanceId}`
+    }));
+  }
+
+}
+
+/* harmony default export */ var token_input = (TokenInput);

+// EXTERNAL MODULE: ./node_modules/dom-scroll-into-view/lib/index.js
+var lib = __webpack_require__(5425);
+var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-token-field/suggestions-list.js


 /**
@@ -57724,99 +53162,120 @@ const ConnectedSurface = Object(context_connect["a" /* contextConnect */])(compo
  */


+
 /**
  * WordPress dependencies
  */



-/**
- * Internal dependencies
- */

+class SuggestionsList extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.handleMouseDown = this.handleMouseDown.bind(this);
+    this.bindList = this.bindList.bind(this);
+  }

+  componentDidUpdate() {
+    // only have to worry about scrolling selected suggestion into view
+    // when already expanded
+    if (this.props.selectedIndex > -1 && this.props.scrollIntoView && this.list.children[this.props.selectedIndex]) {
+      this.scrollingIntoView = true;
+      lib_default()(this.list.children[this.props.selectedIndex], this.list, {
+        onlyScrollIfNeeded: true
+      });
+      this.props.setTimeout(() => {
+        this.scrollingIntoView = false;
+      }, 100);
+    }
+  }

+  bindList(ref) {
+    this.list = ref;
+  }

-const TabButton = _ref => {
-  let {
-    tabId,
-    onClick,
-    children,
-    selected,
-    ...rest
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-    role: "tab",
-    tabIndex: selected ? null : -1,
-    "aria-selected": selected,
-    id: tabId,
-    onClick: onClick
-  }, rest), children);
-};
+  handleHover(suggestion) {
+    return () => {
+      if (!this.scrollingIntoView) {
+        this.props.onHover(suggestion);
+      }
+    };
+  }

-function TabPanel(_ref2) {
-  var _selectedTab$name;
+  handleClick(suggestion) {
+    return () => {
+      this.props.onSelect(suggestion);
+    };
+  }

-  let {
-    className,
-    children,
-    tabs,
-    initialTabName,
-    orientation = 'horizontal',
-    activeClass = 'is-active',
-    onSelect = external_lodash_["noop"]
-  } = _ref2;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(TabPanel, 'tab-panel');
-  const [selected, setSelected] = Object(external_wp_element_["useState"])(null);
+  handleMouseDown(e) {
+    // By preventing default here, we will not lose focus of <input> when clicking a suggestion
+    e.preventDefault();
+  }

-  const handleClick = tabKey => {
-    setSelected(tabKey);
-    onSelect(tabKey);
-  };
+  computeSuggestionMatch(suggestion) {
+    const match = this.props.displayTransform(this.props.match || '').toLocaleLowerCase();

-  const onNavigate = (childIndex, child) => {
-    child.click();
-  };
+    if (match.length === 0) {
+      return null;
+    }

-  const selectedTab = Object(external_lodash_["find"])(tabs, {
-    name: selected
-  });
-  const selectedId = `${instanceId}-${(_selectedTab$name = selectedTab === null || selectedTab === void 0 ? void 0 : selectedTab.name) !== null && _selectedTab$name !== void 0 ? _selectedTab$name : 'none'}`;
-  Object(external_wp_element_["useEffect"])(() => {
-    const newSelectedTab = Object(external_lodash_["find"])(tabs, {
-      name: selected
-    });
+    suggestion = this.props.displayTransform(suggestion);
+    const indexOfMatch = suggestion.toLocaleLowerCase().indexOf(match);
+    return {
+      suggestionBeforeMatch: suggestion.substring(0, indexOfMatch),
+      suggestionMatch: suggestion.substring(indexOfMatch, indexOfMatch + match.length),
+      suggestionAfterMatch: suggestion.substring(indexOfMatch + match.length)
+    };
+  }
+
+  render() {
+    // We set `tabIndex` here because otherwise Firefox sets focus on this
+    // div when tabbing off of the input in `TokenField` -- not really sure
+    // why, since usually a div isn't focusable by default
+    // TODO does this still apply now that it's a <ul> and not a <div>?
+    return (0,external_wp_element_namespaceObject.createElement)("ul", {
+      ref: this.bindList,
+      className: "components-form-token-field__suggestions-list",
+      id: `components-form-token-suggestions-${this.props.instanceId}`,
+      role: "listbox"
+    }, (0,external_lodash_namespaceObject.map)(this.props.suggestions, (suggestion, index) => {
+      const match = this.computeSuggestionMatch(suggestion);
+      const classeName = classnames_default()('components-form-token-field__suggestion', {
+        'is-selected': index === this.props.selectedIndex
+      });
+      /* eslint-disable jsx-a11y/click-events-have-key-events */
+
+      return (0,external_wp_element_namespaceObject.createElement)("li", {
+        id: `components-form-token-suggestions-${this.props.instanceId}-${index}`,
+        role: "option",
+        className: classeName,
+        key: suggestion !== null && suggestion !== void 0 && suggestion.value ? suggestion.value : this.props.displayTransform(suggestion),
+        onMouseDown: this.handleMouseDown,
+        onClick: this.handleClick(suggestion),
+        onMouseEnter: this.handleHover(suggestion),
+        "aria-selected": index === this.props.selectedIndex
+      }, match ? (0,external_wp_element_namespaceObject.createElement)("span", {
+        "aria-label": this.props.displayTransform(suggestion)
+      }, match.suggestionBeforeMatch, (0,external_wp_element_namespaceObject.createElement)("strong", {
+        className: "components-form-token-field__suggestion-match"
+      }, match.suggestionMatch), match.suggestionAfterMatch) : this.props.displayTransform(suggestion));
+      /* eslint-enable jsx-a11y/click-events-have-key-events */
+    }));
+  }

-    if (!newSelectedTab) {
-      setSelected(initialTabName || (tabs.length > 0 ? tabs[0].name : null));
-    }
-  }, [tabs]);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: className
-  }, Object(external_wp_element_["createElement"])(navigable_container_menu, {
-    role: "tablist",
-    orientation: orientation,
-    onNavigate: onNavigate,
-    className: "components-tab-panel__tabs"
-  }, tabs.map(tab => Object(external_wp_element_["createElement"])(TabButton, {
-    className: classnames_default()('components-tab-panel__tabs-item', tab.className, {
-      [activeClass]: tab.name === selected
-    }),
-    tabId: `${instanceId}-${tab.name}`,
-    "aria-controls": `${instanceId}-${tab.name}-view`,
-    selected: tab.name === selected,
-    key: tab.name,
-    onClick: Object(external_lodash_["partial"])(handleClick, tab.name)
-  }, tab.title))), selectedTab && Object(external_wp_element_["createElement"])("div", {
-    key: selectedId,
-    "aria-labelledby": selectedId,
-    role: "tabpanel",
-    id: `${selectedId}-view`,
-    className: "components-tab-panel__tab-content"
-  }, children(selectedTab)));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text-control/index.js
+SuggestionsList.defaultProps = {
+  match: '',
+  onHover: () => {},
+  onSelect: () => {},
+  suggestions: Object.freeze([])
+};
+/* harmony default export */ var suggestions_list = ((0,external_wp_compose_namespaceObject.withSafeTimeout)(SuggestionsList));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-outside/index.js



@@ -57825,71 +53284,31 @@ function TabPanel(_ref2) {
  */


-/**
- * Internal dependencies
- */
+/* harmony default export */ var with_focus_outside = ((0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => props => {
+  const [handleFocusOutside, setHandleFocusOutside] = (0,external_wp_element_namespaceObject.useState)();
+  const bindFocusOutsideHandler = (0,external_wp_element_namespaceObject.useCallback)(node => setHandleFocusOutside(() => node !== null && node !== void 0 && node.handleFocusOutside ? node.handleFocusOutside.bind(node) : undefined), []);
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_compose_namespaceObject.__experimentalUseFocusOutside)(handleFocusOutside), (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, extends_extends({
+    ref: bindFocusOutsideHandler
+  }, props)));
+}, 'withFocusOutside'));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/combobox-control/index.js


 /**
- * @typedef OwnProps
- * @property {string}                  label                 Label for the control.
- * @property {boolean}                 [hideLabelFromVision] Whether to accessibly hide the label.
- * @property {string}                  value                 Value of the input.
- * @property {string}                  [help]                Optional help text for the control.
- * @property {string}                  [className]           Classname passed to BaseControl wrapper
- * @property {(value: string) => void} onChange              Handle changes.
- * @property {string}                  [type='text']         Type of the input.
+ * External dependencies
  */

-/** @typedef {OwnProps & import('react').ComponentProps<'input'>} Props */

 /**
- *
- * @param {Props}                                 props Props
- * @param {import('react').Ref<HTMLInputElement>} [ref]
+ * WordPress dependencies
  */

-function TextControl(_ref, ref) {
-  let {
-    label,
-    hideLabelFromVision,
-    value,
-    help,
-    className,
-    onChange,
-    type = 'text',
-    ...props
-  } = _ref;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(TextControl);
-  const id = `inspector-text-control-${instanceId}`;

-  const onChangeValue = (
-  /** @type {import('react').ChangeEvent<HTMLInputElement>} */
-  event) => onChange(event.target.value);

-  return Object(external_wp_element_["createElement"])(base_control, {
-    label: label,
-    hideLabelFromVision: hideLabelFromVision,
-    id: id,
-    help: help,
-    className: className
-  }, Object(external_wp_element_["createElement"])("input", Object(esm_extends["a" /* default */])({
-    className: "components-text-control__input",
-    type: type,
-    id: id,
-    value: value,
-    onChange: onChangeValue,
-    "aria-describedby": !!help ? id + '__help' : undefined,
-    ref: ref
-  }, props)));
-}

-/* harmony default export */ var text_control = (Object(external_wp_element_["forwardRef"])(TextControl));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/input/base.js
-/**
- * External dependencies
- */
+

 /**
  * Internal dependencies
@@ -57898,5901 +53317,8279 @@ function TextControl(_ref, ref) {



-const inputStyleNeutral = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("box-shadow:0 0 0 transparent;transition:box-shadow 0.1s linear;border-radius:", config_values.radiusBlockUi, ";border:", config_values.borderWidth, " solid ", COLORS.ui.border, ";" + ( true ? "" : undefined),  true ? "" : undefined);
-const inputStyleFocus = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("border-color:var( --wp-admin-theme-color );box-shadow:0 0 0 calc( ", config_values.borderWidthFocus, " - ", config_values.borderWidth, " ) var( --wp-admin-theme-color );outline:2px solid transparent;" + ( true ? "" : undefined),  true ? "" : undefined);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/breakpoint-values.js
-/* harmony default export */ var breakpoint_values = ({
-  huge: '1440px',
-  wide: '1280px',
-  'x-large': '1080px',
-  large: '960px',
-  // admin sidebar auto folds
-  medium: '782px',
-  // adminbar goes big
-  small: '600px',
-  mobile: '480px',
-  'zoomed-in': '280px'
-});

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/breakpoint.js
-/**
- * Internal dependencies
- */

-/**
- * @param {keyof breakpoints} point
- * @return {string} Media query declaration.
- */
+const DetectOutside = with_focus_outside(class extends external_wp_element_namespaceObject.Component {
+  handleFocusOutside(event) {
+    this.props.onFocusOutside(event);
+  }

-const breakpoint = point => `@media (min-width: ${breakpoint_values[point]})`;
+  render() {
+    return this.props.children;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/input/input-control.js
-/**
- * External dependencies
- */
+});

-/**
- * Internal dependencies
- */
+function ComboboxControl(_ref) {
+  var _currentOption$label;

+  let {
+    value,
+    label,
+    options,
+    onChange,
+    onFilterValueChange = external_lodash_namespaceObject.noop,
+    hideLabelFromVision,
+    help,
+    allowReset = true,
+    className,
+    messages = {
+      selected: (0,external_wp_i18n_namespaceObject.__)('Item selected.')
+    }
+  } = _ref;
+  const currentOption = options.find(option => option.value === value);
+  const currentLabel = (_currentOption$label = currentOption === null || currentOption === void 0 ? void 0 : currentOption.label) !== null && _currentOption$label !== void 0 ? _currentOption$label : '';
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ComboboxControl);
+  const [selectedSuggestion, setSelectedSuggestion] = (0,external_wp_element_namespaceObject.useState)(currentOption || null);
+  const [isExpanded, setIsExpanded] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [inputHasFocus, setInputHasFocus] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [inputValue, setInputValue] = (0,external_wp_element_namespaceObject.useState)('');
+  const inputContainer = (0,external_wp_element_namespaceObject.useRef)();
+  const matchingSuggestions = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const startsWithMatch = [];
+    const containsMatch = [];
+    const match = (0,external_lodash_namespaceObject.deburr)(inputValue.toLocaleLowerCase());
+    options.forEach(option => {
+      const index = (0,external_lodash_namespaceObject.deburr)(option.label).toLocaleLowerCase().indexOf(match);

+      if (index === 0) {
+        startsWithMatch.push(option);
+      } else if (index > 0) {
+        containsMatch.push(option);
+      }
+    });
+    return startsWithMatch.concat(containsMatch);
+  }, [inputValue, options, value]);

+  const onSuggestionSelected = newSelectedSuggestion => {
+    onChange(newSelectedSuggestion.value);
+    (0,external_wp_a11y_namespaceObject.speak)(messages.selected, 'assertive');
+    setSelectedSuggestion(newSelectedSuggestion);
+    setInputValue('');
+    setIsExpanded(false);
+  };

+  const handleArrowNavigation = function () {
+    let offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
+    const index = matchingSuggestions.indexOf(selectedSuggestion);
+    let nextIndex = index + offset;

-const inputControl = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("font-family:", font('default.fontFamily'), ";padding:6px 8px;", inputStyleNeutral, ";font-size:", font('mobileTextMinFontSize'), ";line-height:normal;", breakpoint('small'), "{font-size:", font('default.fontSize'), ";line-height:normal;}&:focus{", inputStyleFocus, ";}&::-webkit-input-placeholder{color:", COLORS.darkGray.placeholder, ";}&::-moz-placeholder{opacity:1;color:", COLORS.darkGray.placeholder, ";}&:-ms-input-placeholder{color:", COLORS.darkGray.placeholder, ";}.is-dark-theme &{&::-webkit-input-placeholder{color:", COLORS.lightGray.placeholder, ";}&::-moz-placeholder{opacity:1;color:", COLORS.lightGray.placeholder, ";}&:-ms-input-placeholder{color:", COLORS.lightGray.placeholder, ";}}" + ( true ? "" : undefined),  true ? "" : undefined);
+    if (nextIndex < 0) {
+      nextIndex = matchingSuggestions.length - 1;
+    } else if (nextIndex >= matchingSuggestions.length) {
+      nextIndex = 0;
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/textarea-control/styles/textarea-control-styles.js
+    setSelectedSuggestion(matchingSuggestions[nextIndex]);
+    setIsExpanded(true);
+  };

+  const onKeyDown = event => {
+    let preventDefault = false;

-/**
- * External dependencies
- */
+    if (event.defaultPrevented) {
+      return;
+    }

-/**
- * Internal dependencies
- */
+    switch (event.keyCode) {
+      case external_wp_keycodes_namespaceObject.ENTER:
+        if (selectedSuggestion) {
+          onSuggestionSelected(selectedSuggestion);
+          preventDefault = true;
+        }

-const StyledTextarea = Object(emotion_styled_base_browser_esm["a" /* default */])("textarea",  true ? {
-  target: "ebk7yr50"
-} : undefined)("width:100%;", inputControl, ";" + ( true ? "" : undefined));
+        break;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/textarea-control/index.js
+      case external_wp_keycodes_namespaceObject.UP:
+        handleArrowNavigation(-1);
+        preventDefault = true;
+        break;

+      case external_wp_keycodes_namespaceObject.DOWN:
+        handleArrowNavigation(1);
+        preventDefault = true;
+        break;

+      case external_wp_keycodes_namespaceObject.ESCAPE:
+        setIsExpanded(false);
+        setSelectedSuggestion(null);
+        preventDefault = true;
+        break;

-/**
- * WordPress dependencies
- */
+      default:
+        break;
+    }

-/**
- * Internal dependencies
- */
+    if (preventDefault) {
+      event.preventDefault();
+    }
+  };

+  const onBlur = () => {
+    setInputHasFocus(false);
+  };

+  const onFocus = () => {
+    setInputHasFocus(true);
+    setIsExpanded(true);
+    onFilterValueChange('');
+    setInputValue('');
+  };

-function TextareaControl(_ref) {
-  let {
-    label,
-    hideLabelFromVision,
-    value,
-    help,
-    onChange,
-    rows = 4,
-    className,
-    ...props
-  } = _ref;
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(TextareaControl);
-  const id = `inspector-textarea-control-${instanceId}`;
+  const onFocusOutside = () => {
+    setIsExpanded(false);
+  };

-  const onChangeValue = event => onChange(event.target.value);
+  const onInputChange = event => {
+    const text = event.value;
+    setInputValue(text);
+    onFilterValueChange(text);

-  return Object(external_wp_element_["createElement"])(base_control, {
-    label: label,
-    hideLabelFromVision: hideLabelFromVision,
-    id: id,
-    help: help,
-    className: className
-  }, Object(external_wp_element_["createElement"])(StyledTextarea, Object(esm_extends["a" /* default */])({
-    className: "components-textarea-control__input",
-    id: id,
-    rows: rows,
-    onChange: onChangeValue,
-    "aria-describedby": !!help ? id + '__help' : undefined,
-    value: value
-  }, props)));
-}
+    if (inputHasFocus) {
+      setIsExpanded(true);
+    }
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text-highlight/index.js
+  const handleOnReset = () => {
+    onChange(null);
+    inputContainer.current.input.focus();
+  }; // Update current selections when the filter input changes.


-/**
- * External dependencies
- */
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const hasMatchingSuggestions = matchingSuggestions.length > 0;
+    const hasSelectedMatchingSuggestions = matchingSuggestions.indexOf(selectedSuggestion) > 0;

-/**
- * WordPress dependencies
- */
+    if (hasMatchingSuggestions && !hasSelectedMatchingSuggestions) {
+      // If the current selection isn't present in the list of suggestions, then automatically select the first item from the list of suggestions.
+      setSelectedSuggestion(matchingSuggestions[0]);
+    }
+  }, [matchingSuggestions, selectedSuggestion]); // Announcements

+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const hasMatchingSuggestions = matchingSuggestions.length > 0;

+    if (isExpanded) {
+      const message = hasMatchingSuggestions ? (0,external_wp_i18n_namespaceObject.sprintf)(
+      /* translators: %d: number of results. */
+      (0,external_wp_i18n_namespaceObject._n)('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', matchingSuggestions.length), matchingSuggestions.length) : (0,external_wp_i18n_namespaceObject.__)('No results.');
+      (0,external_wp_a11y_namespaceObject.speak)(message, 'polite');
+    }
+  }, [matchingSuggestions, isExpanded]); // Disable reason: There is no appropriate role which describes the
+  // input container intended accessible usability.
+  // TODO: Refactor click detection to use blur to stop propagation.

-const TextHighlight = _ref => {
-  let {
-    text = '',
-    highlight = ''
-  } = _ref;
-  const trimmedHighlightText = highlight.trim();
+  /* eslint-disable jsx-a11y/no-static-element-interactions */

-  if (!trimmedHighlightText) {
-    return text;
-  }
+  return (0,external_wp_element_namespaceObject.createElement)(DetectOutside, {
+    onFocusOutside: onFocusOutside
+  }, (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    className: classnames_default()(className, 'components-combobox-control'),
+    tabIndex: "-1",
+    label: label,
+    id: `components-form-token-input-${instanceId}`,
+    hideLabelFromVision: hideLabelFromVision,
+    help: help
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-combobox-control__suggestions-container",
+    tabIndex: "-1",
+    onKeyDown: onKeyDown
+  }, (0,external_wp_element_namespaceObject.createElement)(flex_component, null, (0,external_wp_element_namespaceObject.createElement)(flex_block_component, null, (0,external_wp_element_namespaceObject.createElement)(token_input, {
+    className: "components-combobox-control__input",
+    instanceId: instanceId,
+    ref: inputContainer,
+    value: isExpanded ? inputValue : currentLabel,
+    "aria-label": currentLabel ? `${currentLabel}, ${label}` : null,
+    onFocus: onFocus,
+    onBlur: onBlur,
+    isExpanded: isExpanded,
+    selectedSuggestionIndex: matchingSuggestions.indexOf(selectedSuggestion),
+    onChange: onInputChange
+  })), allowReset && (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-combobox-control__reset",
+    icon: close_small,
+    disabled: !value,
+    onClick: handleOnReset,
+    label: (0,external_wp_i18n_namespaceObject.__)('Reset')
+  }))), isExpanded && (0,external_wp_element_namespaceObject.createElement)(suggestions_list, {
+    instanceId: instanceId,
+    match: {
+      label: inputValue
+    },
+    displayTransform: suggestion => suggestion.label,
+    suggestions: matchingSuggestions,
+    selectedIndex: matchingSuggestions.indexOf(selectedSuggestion),
+    onHover: setSelectedSuggestion,
+    onSelect: onSuggestionSelected,
+    scrollIntoView: true
+  }))));
+  /* eslint-enable jsx-a11y/no-static-element-interactions */
+}

-  const regex = new RegExp(`(${Object(external_lodash_["escapeRegExp"])(trimmedHighlightText)})`, 'gi');
-  return Object(external_wp_element_["createInterpolateElement"])(text.replace(regex, '<mark>$&</mark>'), {
-    mark: Object(external_wp_element_["createElement"])("mark", null)
-  });
-};
+/* harmony default export */ var combobox_control = (ComboboxControl);

-/* harmony default export */ var text_highlight = (TextHighlight);
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
+function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
+  if (source == null) return {};
+  var target = {};
+  var sourceKeys = Object.keys(source);
+  var key, i;
+
+  for (i = 0; i < sourceKeys.length; i++) {
+    key = sourceKeys[i];
+    if (excluded.indexOf(key) >= 0) continue;
+    target[key] = source[key];
+  }
+
+  return target;
+}
+// EXTERNAL MODULE: ./node_modules/prop-types/index.js
+var prop_types = __webpack_require__(2652);
+var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
+// EXTERNAL MODULE: ./node_modules/downshift/node_modules/react-is/index.js
+var react_is = __webpack_require__(2797);
+;// CONCATENATED MODULE: ./node_modules/compute-scroll-into-view/dist/index.module.js
+function index_module_t(t){return"object"==typeof t&&null!=t&&1===t.nodeType}function index_module_e(t,e){return(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t}function index_module_n(t,n){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var r=getComputedStyle(t,null);return index_module_e(r.overflowY,n)||index_module_e(r.overflowX,n)||function(t){var e=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)}(t)}return!1}function index_module_r(t,e,n,r,i,o,l,d){return o<t&&l>e||o>t&&l<e?0:o<=t&&d<=n||l>=e&&d>=n?o-t-r:l>e&&d<n||o<t&&d>n?l-e+i:0}/* harmony default export */ function index_module(e,i){var o=window,l=i.scrollMode,d=i.block,u=i.inline,h=i.boundary,a=i.skipOverflowHiddenElements,c="function"==typeof h?h:function(t){return t!==h};if(!index_module_t(e))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,s=[],p=e;index_module_t(p)&&c(p);){if((p=p.parentElement)===f){s.push(p);break}null!=p&&p===document.body&&index_module_n(p)&&!index_module_n(document.documentElement)||null!=p&&index_module_n(p,a)&&s.push(p)}for(var m=o.visualViewport?o.visualViewport.width:innerWidth,g=o.visualViewport?o.visualViewport.height:innerHeight,w=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,W=e.getBoundingClientRect(),b=W.height,H=W.width,y=W.top,E=W.right,M=W.bottom,V=W.left,x="start"===d||"nearest"===d?y:"end"===d?M:y+b/2,I="center"===u?V+H/2:"end"===u?E:V,C=[],T=0;T<s.length;T++){var k=s[T],B=k.getBoundingClientRect(),D=B.height,O=B.width,R=B.top,X=B.right,Y=B.bottom,L=B.left;if("if-needed"===l&&y>=0&&V>=0&&M<=g&&E<=m&&y>=R&&M<=Y&&V>=L&&E<=X)return C;var S=getComputedStyle(k),j=parseInt(S.borderLeftWidth,10),q=parseInt(S.borderTopWidth,10),z=parseInt(S.borderRightWidth,10),A=parseInt(S.borderBottomWidth,10),F=0,G=0,J="offsetWidth"in k?k.offsetWidth-k.clientWidth-j-z:0,K="offsetHeight"in k?k.offsetHeight-k.clientHeight-q-A:0;if(f===k)F="start"===d?x:"end"===d?x-g:"nearest"===d?index_module_r(v,v+g,g,q,A,v+x,v+x+b,b):x-g/2,G="start"===u?I:"center"===u?I-m/2:"end"===u?I-m:index_module_r(w,w+m,m,j,z,w+I,w+I+H,H),F=Math.max(0,F+v),G=Math.max(0,G+w);else{F="start"===d?x-R-q:"end"===d?x-Y+A+K:"nearest"===d?index_module_r(R,Y,D,q,A+K,x,x+b,b):x-(R+D/2)+K/2,G="start"===u?I-L-j:"center"===u?I-(L+O/2)+J/2:"end"===u?I-X+z+J:index_module_r(L,X,O,j,z+J,I,I+H,H);var N=k.scrollLeft,P=k.scrollTop;x+=P-(F=Math.max(0,Math.min(P+F,k.scrollHeight-D+K))),I+=N-(G=Math.max(0,Math.min(N+G,k.scrollWidth-O+J)))}C.push({el:k,top:F,left:G})}return C}
+
+;// CONCATENATED MODULE: ./node_modules/downshift/dist/downshift.esm.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tip/index.js


-/**
- * WordPress dependencies
- */

-/**
- * @typedef Props
- * @property {import('react').ReactNode} children Children to render in the tip.
- */

-/**
- * @param {Props} props
- * @return {JSX.Element} Element
- */

-function Tip(props) {
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "components-tip"
-  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-    width: "24",
-    height: "24",
-    viewBox: "0 0 24 24"
-  }, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-    d: "M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"
-  })), Object(external_wp_element_["createElement"])("p", null, props.children));
-}

-/* harmony default export */ var tip = (Tip);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-control/index.js


+var idCounter = 0;
 /**
- * External dependencies
+ * Accepts a parameter and returns it if it's a function
+ * or a noop function if it's not. This allows us to
+ * accept a callback, but not worry about it if it's not
+ * passed.
+ * @param {Function} cb the callback
+ * @return {Function} a function
  */

+function cbToCb(cb) {
+  return typeof cb === 'function' ? cb : downshift_esm_noop;
+}

+function downshift_esm_noop() {}
 /**
- * WordPress dependencies
+ * Scroll node into view if necessary
+ * @param {HTMLElement} node the element that should scroll into view
+ * @param {HTMLElement} menuNode the menu element of the component
  */


+function scrollIntoView(node, menuNode) {
+  if (!node) {
+    return;
+  }
+
+  var actions = index_module(node, {
+    boundary: menuNode,
+    block: 'nearest',
+    scrollMode: 'if-needed'
+  });
+  actions.forEach(function (_ref) {
+    var el = _ref.el,
+        top = _ref.top,
+        left = _ref.left;
+    el.scrollTop = top;
+    el.scrollLeft = left;
+  });
+}
 /**
- * Internal dependencies
+ * @param {HTMLElement} parent the parent node
+ * @param {HTMLElement} child the child node
+ * @param {Window} environment The window context where downshift renders.
+ * @return {Boolean} whether the parent is the child or the child is in the parent
  */


+function isOrContainsNode(parent, child, environment) {
+  var result = parent === child || child instanceof environment.Node && parent.contains && parent.contains(child);
+  return result;
+}
+/**
+ * Simple debounce implementation. Will call the given
+ * function once after the time given has passed since
+ * it was last called.
+ * @param {Function} fn the function to call after the time
+ * @param {Number} time the time to wait
+ * @return {Function} the debounced function
+ */

-function ToggleControl(_ref) {
-  let {
-    label,
-    checked,
-    help,
-    className,
-    onChange,
-    disabled
-  } = _ref;

-  function onChangeToggle(event) {
-    onChange(event.target.checked);
+function downshift_esm_debounce(fn, time) {
+  var timeoutId;
+
+  function cancel() {
+    if (timeoutId) {
+      clearTimeout(timeoutId);
+    }
   }

-  const instanceId = Object(external_wp_compose_["useInstanceId"])(ToggleControl);
-  const id = `inspector-toggle-control-${instanceId}`;
-  let describedBy, helpLabel;
+  function wrapper() {
+    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+      args[_key] = arguments[_key];
+    }

-  if (help) {
-    describedBy = id + '__help';
-    helpLabel = Object(external_lodash_["isFunction"])(help) ? help(checked) : help;
+    cancel();
+    timeoutId = setTimeout(function () {
+      timeoutId = null;
+      fn.apply(void 0, args);
+    }, time);
   }

-  return Object(external_wp_element_["createElement"])(base_control, {
-    id: id,
-    help: helpLabel,
-    className: classnames_default()('components-toggle-control', className)
-  }, Object(external_wp_element_["createElement"])(form_toggle, {
-    id: id,
-    checked: checked,
-    onChange: onChangeToggle,
-    "aria-describedby": describedBy,
-    disabled: disabled
-  }), Object(external_wp_element_["createElement"])("label", {
-    htmlFor: id,
-    className: "components-toggle-control__label"
-  }, label));
+  wrapper.cancel = cancel;
+  return wrapper;
 }
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/toolbar-item/index.js
-var toolbar_item = __webpack_require__("aA0e");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/toolbar-context/index.js
-var toolbar_context = __webpack_require__("GK4x");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-button/toolbar-button-container.js
+/**
+ * This is intended to be used to compose event handlers.
+ * They are executed in order until one of them sets
+ * `event.preventDownshiftDefault = true`.
+ * @param {...Function} fns the event handler functions
+ * @return {Function} the event handler to add to an element
+ */


-const ToolbarButtonContainer = props => Object(external_wp_element_["createElement"])("div", {
-  className: props.className
-}, props.children);
+function callAllEventHandlers() {
+  for (var _len2 = arguments.length, fns = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+    fns[_key2] = arguments[_key2];
+  }

-/* harmony default export */ var toolbar_button_container = (ToolbarButtonContainer);
+  return function (event) {
+    for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
+      args[_key3 - 1] = arguments[_key3];
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-button/index.js
+    return fns.some(function (fn) {
+      if (fn) {
+        fn.apply(void 0, [event].concat(args));
+      }

+      return event.preventDownshiftDefault || event.hasOwnProperty('nativeEvent') && event.nativeEvent.preventDownshiftDefault;
+    });
+  };
+}

+function handleRefs() {
+  for (var _len4 = arguments.length, refs = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
+    refs[_key4] = arguments[_key4];
+  }

+  return function (node) {
+    refs.forEach(function (ref) {
+      if (typeof ref === 'function') {
+        ref(node);
+      } else if (ref) {
+        ref.current = node;
+      }
+    });
+  };
+}
 /**
- * External dependencies
+ * This generates a unique ID for an instance of Downshift
+ * @return {String} the unique ID
  */

+
+function generateId() {
+  return String(idCounter++);
+}
 /**
- * WordPress dependencies
+ * Resets idCounter to 0. Used for SSR.
  */


+function resetIdCounter() {
+  idCounter = 0;
+}
 /**
- * Internal dependencies
+ * Default implementation for status message. Only added when menu is open.
+ * Will specify if there are results in the list, and if so, how many,
+ * and what keys are relevant.
+ *
+ * @param {Object} param the downshift state and other relevant properties
+ * @return {String} the a11y status message
  */


+function getA11yStatusMessage$1(_ref2) {
+  var isOpen = _ref2.isOpen,
+      resultCount = _ref2.resultCount,
+      previousResultCount = _ref2.previousResultCount;

+  if (!isOpen) {
+    return '';
+  }

+  if (!resultCount) {
+    return 'No results are available.';
+  }

+  if (resultCount !== previousResultCount) {
+    return resultCount + " result" + (resultCount === 1 ? ' is' : 's are') + " available, use up and down arrow keys to navigate. Press Enter key to select.";
+  }

-function ToolbarButton(_ref, ref) {
-  let {
-    containerClassName,
-    className,
-    extraProps,
-    children,
-    title,
-    isActive,
-    isDisabled,
-    ...props
-  } = _ref;
-  const accessibleToolbarState = Object(external_wp_element_["useContext"])(toolbar_context["a" /* default */]);
-
-  if (!accessibleToolbarState) {
-    return Object(external_wp_element_["createElement"])(toolbar_button_container, {
-      className: containerClassName
-    }, Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-      ref: ref,
-      icon: props.icon,
-      label: title,
-      shortcut: props.shortcut,
-      "data-subscript": props.subscript,
-      onClick: event => {
-        event.stopPropagation();
+  return '';
+}
+/**
+ * Takes an argument and if it's an array, returns the first item in the array
+ * otherwise returns the argument
+ * @param {*} arg the maybe-array
+ * @param {*} defaultValue the value if arg is falsey not defined
+ * @return {*} the arg or it's first item
+ */

-        if (props.onClick) {
-          props.onClick(event);
-        }
-      },
-      className: classnames_default()('components-toolbar__control', className),
-      isPressed: isActive,
-      disabled: isDisabled,
-      "data-toolbar-item": true
-    }, extraProps, props), children));
-  } // ToobarItem will pass all props to the render prop child, which will pass
-  // all props to Button. This means that ToolbarButton has the same API as
-  // Button.

+function unwrapArray(arg, defaultValue) {
+  arg = Array.isArray(arg) ?
+  /* istanbul ignore next (preact) */
+  arg[0] : arg;

-  return Object(external_wp_element_["createElement"])(toolbar_item["a" /* default */], Object(esm_extends["a" /* default */])({
-    className: classnames_default()('components-toolbar-button', className)
-  }, extraProps, props, {
-    ref: ref
-  }), toolbarItemProps => Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], Object(esm_extends["a" /* default */])({
-    label: title,
-    isPressed: isActive,
-    disabled: isDisabled
-  }, toolbarItemProps), children));
+  if (!arg && defaultValue) {
+    return defaultValue;
+  } else {
+    return arg;
+  }
 }
+/**
+ * @param {Object} element (P)react element
+ * @return {Boolean} whether it's a DOM element
+ */

-/* harmony default export */ var toolbar_button = (Object(external_wp_element_["forwardRef"])(ToolbarButton));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/toolbar-group-container.js
+function isDOMElement(element) {


+  return typeof element.type === 'string';
+}
+/**
+ * @param {Object} element (P)react element
+ * @return {Object} the props
+ */

-const ToolbarGroupContainer = _ref => {
-  let {
-    className,
-    children,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-    className: className
-  }, props), children);
-};

-/* harmony default export */ var toolbar_group_container = (ToolbarGroupContainer);
+function getElementProps(element) {

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/toolbar-group-collapsed.js
+  return element.props;
+}
+/**
+ * Throws a helpful error message for required properties. Useful
+ * to be used as a default in destructuring or object params.
+ * @param {String} fnName the function name
+ * @param {String} propName the prop name
+ */


+function requiredProp(fnName, propName) {
+  // eslint-disable-next-line no-console
+  console.error("The property \"" + propName + "\" is required in \"" + fnName + "\"");
+}

+var stateKeys = (/* unused pure expression or super */ null && (['highlightedIndex', 'inputValue', 'isOpen', 'selectedItem', 'type']));
 /**
- * WordPress dependencies
+ * @param {Object} state the state object
+ * @return {Object} state that is relevant to downshift
  */

+function pickState(state) {
+  if (state === void 0) {
+    state = {};
+  }
+
+  var result = {};
+  stateKeys.forEach(function (k) {
+    if (state.hasOwnProperty(k)) {
+      result[k] = state[k];
+    }
+  });
+  return result;
+}
 /**
- * Internal dependencies
+ * This will perform a shallow merge of the given state object
+ * with the state coming from props
+ * (for the controlled component scenario)
+ * This is used in state updater functions so they're referencing
+ * the right state regardless of where it comes from.
+ *
+ * @param {Object} state The state of the component/hook.
+ * @param {Object} props The props that may contain controlled values.
+ * @returns {Object} The merged controlled state.
  */


+function getState(state, props) {
+  return Object.keys(state).reduce(function (prevState, key) {
+    prevState[key] = isControlledProp(props, key) ? props[key] : state[key];
+    return prevState;
+  }, {});
+}
+/**
+ * This determines whether a prop is a "controlled prop" meaning it is
+ * state which is controlled by the outside of this component rather
+ * than within this component.
+ *
+ * @param {Object} props The props that may contain controlled values.
+ * @param {String} key the key to check
+ * @return {Boolean} whether it is a controlled controlled prop
+ */


+function isControlledProp(props, key) {
+  return props[key] !== undefined;
+}
+/**
+ * Normalizes the 'key' property of a KeyboardEvent in IE/Edge
+ * @param {Object} event a keyboardEvent object
+ * @return {String} keyboard key
+ */

-function ToolbarGroupCollapsed(_ref) {
-  let {
-    controls = [],
-    toggleProps,
-    ...props
-  } = _ref;
-  // It'll contain state if `ToolbarGroup` is being used within
-  // `<Toolbar label="label" />`
-  const accessibleToolbarState = Object(external_wp_element_["useContext"])(toolbar_context["a" /* default */]);

-  const renderDropdownMenu = internalToggleProps => Object(external_wp_element_["createElement"])(dropdown_menu, Object(esm_extends["a" /* default */])({
-    controls: controls,
-    toggleProps: { ...internalToggleProps,
-      'data-toolbar-item': true
-    }
-  }, props));
+function normalizeArrowKey(event) {
+  var key = event.key,
+      keyCode = event.keyCode;
+  /* istanbul ignore next (ie) */

-  if (accessibleToolbarState) {
-    return Object(external_wp_element_["createElement"])(toolbar_item["a" /* default */], toggleProps, renderDropdownMenu);
+  if (keyCode >= 37 && keyCode <= 40 && key.indexOf('Arrow') !== 0) {
+    return "Arrow" + key;
   }

-  return renderDropdownMenu(toggleProps);
+  return key;
 }
-
-/* harmony default export */ var toolbar_group_collapsed = (ToolbarGroupCollapsed);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/index.js
-
-
-
 /**
- * External dependencies
+ * Simple check if the value passed is object literal
+ * @param {*} obj any things
+ * @return {Boolean} whether it's object literal
  */


+function downshift_esm_isPlainObject(obj) {
+  return Object.prototype.toString.call(obj) === '[object Object]';
+}
 /**
- * WordPress dependencies
+ * Returns the new index in the list, in a circular way. If next value is out of bonds from the total,
+ * it will wrap to either 0 or itemCount - 1.
+ *
+ * @param {number} moveAmount Number of positions to move. Negative to move backwards, positive forwards.
+ * @param {number} baseIndex The initial position to move from.
+ * @param {number} itemCount The total number of items.
+ * @param {Function} getItemNodeFromIndex Used to check if item is disabled.
+ * @param {boolean} circular Specify if navigation is circular. Default is true.
+ * @returns {number} The new index after the move.
  */


-/**
- * Internal dependencies
- */
+function getNextWrappingIndex(moveAmount, baseIndex, itemCount, getItemNodeFromIndex, circular) {
+  if (circular === void 0) {
+    circular = true;
+  }
+
+  if (itemCount === 0) {
+    return -1;
+  }

+  var itemsLastIndex = itemCount - 1;
+
+  if (typeof baseIndex !== 'number' || baseIndex < 0 || baseIndex >= itemCount) {
+    baseIndex = moveAmount > 0 ? -1 : itemsLastIndex + 1;
+  }
+
+  var newIndex = baseIndex + moveAmount;

+  if (newIndex < 0) {
+    newIndex = circular ? itemsLastIndex : 0;
+  } else if (newIndex > itemsLastIndex) {
+    newIndex = circular ? 0 : itemsLastIndex;
+  }

+  var nonDisabledNewIndex = getNextNonDisabledIndex(moveAmount, newIndex, itemCount, getItemNodeFromIndex, circular);

+  if (nonDisabledNewIndex === -1) {
+    return baseIndex >= itemCount ? -1 : baseIndex;
+  }

+  return nonDisabledNewIndex;
+}
 /**
- * Renders a collapsible group of controls
- *
- * The `controls` prop accepts an array of sets. A set is an array of controls.
- * Controls have the following shape:
- *
- * ```
- * {
- *   icon: string,
- *   title: string,
- *   subscript: string,
- *   onClick: Function,
- *   isActive: boolean,
- *   isDisabled: boolean
- * }
- * ```
- *
- * For convenience it is also possible to pass only an array of controls. It is
- * then assumed this is the only set.
- *
- * Either `controls` or `children` is required, otherwise this components
- * renders nothing.
+ * Returns the next index in the list of an item that is not disabled.
  *
- * @param {Object}    props               Component props.
- * @param {Array}     [props.controls]    The controls to render in this toolbar.
- * @param {WPElement} [props.children]    Any other things to render inside the toolbar besides the controls.
- * @param {string}    [props.className]   Class to set on the container div.
- * @param {boolean}   [props.isCollapsed] Turns ToolbarGroup into a dropdown menu.
- * @param {string}    [props.title]       ARIA label for dropdown menu if is collapsed.
+ * @param {number} moveAmount Number of positions to move. Negative to move backwards, positive forwards.
+ * @param {number} baseIndex The initial position to move from.
+ * @param {number} itemCount The total number of items.
+ * @param {Function} getItemNodeFromIndex Used to check if item is disabled.
+ * @param {boolean} circular Specify if navigation is circular. Default is true.
+ * @returns {number} The new index. Returns baseIndex if item is not disabled. Returns next non-disabled item otherwise. If no non-disabled found it will return -1.
  */

-function ToolbarGroup(_ref) {
-  let {
-    controls = [],
-    children,
-    className,
-    isCollapsed,
-    title,
-    ...props
-  } = _ref;
-  // It'll contain state if `ToolbarGroup` is being used within
-  // `<Toolbar label="label" />`
-  const accessibleToolbarState = Object(external_wp_element_["useContext"])(toolbar_context["a" /* default */]);
-
-  if ((!controls || !controls.length) && !children) {
-    return null;
-  }

-  const finalClassName = classnames_default()( // Unfortunately, there's legacy code referencing to `.components-toolbar`
-  // So we can't get rid of it
-  accessibleToolbarState ? 'components-toolbar-group' : 'components-toolbar', className); // Normalize controls to nested array of objects (sets of controls)
+function getNextNonDisabledIndex(moveAmount, baseIndex, itemCount, getItemNodeFromIndex, circular) {
+  var currentElementNode = getItemNodeFromIndex(baseIndex);

-  let controlSets = controls;
+  if (!currentElementNode || !currentElementNode.hasAttribute('disabled')) {
+    return baseIndex;
+  }

-  if (!Array.isArray(controlSets[0])) {
-    controlSets = [controlSets];
+  if (moveAmount > 0) {
+    for (var index = baseIndex + 1; index < itemCount; index++) {
+      if (!getItemNodeFromIndex(index).hasAttribute('disabled')) {
+        return index;
+      }
+    }
+  } else {
+    for (var _index = baseIndex - 1; _index >= 0; _index--) {
+      if (!getItemNodeFromIndex(_index).hasAttribute('disabled')) {
+        return _index;
+      }
+    }
   }

-  if (isCollapsed) {
-    return Object(external_wp_element_["createElement"])(toolbar_group_collapsed, Object(esm_extends["a" /* default */])({
-      label: title,
-      controls: controlSets,
-      className: finalClassName,
-      children: children
-    }, props));
+  if (circular) {
+    return moveAmount > 0 ? getNextNonDisabledIndex(1, 0, itemCount, getItemNodeFromIndex, false) : getNextNonDisabledIndex(-1, itemCount - 1, itemCount, getItemNodeFromIndex, false);
   }

-  return Object(external_wp_element_["createElement"])(toolbar_group_container, Object(esm_extends["a" /* default */])({
-    className: finalClassName
-  }, props), Object(external_lodash_["flatMap"])(controlSets, (controlSet, indexOfSet) => controlSet.map((control, indexOfControl) => Object(external_wp_element_["createElement"])(toolbar_button, Object(esm_extends["a" /* default */])({
-    key: [indexOfSet, indexOfControl].join(),
-    containerClassName: indexOfSet > 0 && indexOfControl === 0 ? 'has-left-divider' : null
-  }, control)))), children);
+  return -1;
 }
+/**
+ * Checks if event target is within the downshift elements.
+ *
+ * @param {EventTarget} target Target to check.
+ * @param {HTMLElement[]} downshiftElements The elements that form downshift (list, toggle button etc).
+ * @param {Window} environment The window context where downshift renders.
+ * @param {boolean} checkActiveElement Whether to also check activeElement.
+ *
+ * @returns {boolean} Whether or not the target is within downshift elements.
+ */

-/* harmony default export */ var toolbar_group = (ToolbarGroup);

-// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/ToolbarState.js
+function targetWithinDownshift(target, downshiftElements, environment, checkActiveElement) {
+  if (checkActiveElement === void 0) {
+    checkActiveElement = true;
+  }
+
+  return downshiftElements.some(function (contextNode) {
+    return contextNode && (isOrContainsNode(contextNode, target, environment) || checkActiveElement && isOrContainsNode(contextNode, environment.document.activeElement, environment));
+  });
+} // eslint-disable-next-line import/no-mutable-exports


+var validateControlledUnchanged = (/* unused pure expression or super */ null && (downshift_esm_noop));
+/* istanbul ignore next */

+if (false) {}

+var cleanupStatus = downshift_esm_debounce(function (documentProp) {
+  getStatusDiv(documentProp).textContent = '';
+}, 500);
+/**
+ * @param {String} status the status message
+ * @param {Object} documentProp document passed by the user.
+ */

+function setStatus(status, documentProp) {
+  var div = getStatusDiv(documentProp);

+  if (!status) {
+    return;
+  }

+  div.textContent = status;
+  cleanupStatus(documentProp);
+}
+/**
+ * Get the status node or create it if it does not already exist.
+ * @param {Object} documentProp document passed by the user.
+ * @return {HTMLElement} the status node.
+ */


+function getStatusDiv(documentProp) {
+  if (documentProp === void 0) {
+    documentProp = document;
+  }

+  var statusDiv = documentProp.getElementById('a11y-status-message');

+  if (statusDiv) {
+    return statusDiv;
+  }

+  statusDiv = documentProp.createElement('div');
+  statusDiv.setAttribute('id', 'a11y-status-message');
+  statusDiv.setAttribute('role', 'status');
+  statusDiv.setAttribute('aria-live', 'polite');
+  statusDiv.setAttribute('aria-relevant', 'additions text');
+  Object.assign(statusDiv.style, {
+    border: '0',
+    clip: 'rect(0 0 0 0)',
+    height: '1px',
+    margin: '-1px',
+    overflow: 'hidden',
+    padding: '0',
+    position: 'absolute',
+    width: '1px'
+  });
+  documentProp.body.appendChild(statusDiv);
+  return statusDiv;
+}

-function useToolbarState(initialState) {
-  if (initialState === void 0) {
-    initialState = {};
-  }
+var unknown =  false ? 0 : 0;
+var mouseUp =  false ? 0 : 1;
+var itemMouseEnter =  false ? 0 : 2;
+var keyDownArrowUp =  false ? 0 : 3;
+var keyDownArrowDown =  false ? 0 : 4;
+var keyDownEscape =  false ? 0 : 5;
+var keyDownEnter =  false ? 0 : 6;
+var keyDownHome =  false ? 0 : 7;
+var keyDownEnd =  false ? 0 : 8;
+var clickItem =  false ? 0 : 9;
+var blurInput =  false ? 0 : 10;
+var changeInput =  false ? 0 : 11;
+var keyDownSpaceButton =  false ? 0 : 12;
+var clickButton =  false ? 0 : 13;
+var blurButton =  false ? 0 : 14;
+var controlledPropUpdatedSelectedItem =  false ? 0 : 15;
+var touchEnd =  false ? 0 : 16;

-  var _useSealedState = useSealedState(initialState),
-      _useSealedState$orien = _useSealedState.orientation,
-      orientation = _useSealedState$orien === void 0 ? "horizontal" : _useSealedState$orien,
-      sealed = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(_useSealedState, ["orientation"]);
+var stateChangeTypes$3 = /*#__PURE__*/Object.freeze({
+  __proto__: null,
+  unknown: unknown,
+  mouseUp: mouseUp,
+  itemMouseEnter: itemMouseEnter,
+  keyDownArrowUp: keyDownArrowUp,
+  keyDownArrowDown: keyDownArrowDown,
+  keyDownEscape: keyDownEscape,
+  keyDownEnter: keyDownEnter,
+  keyDownHome: keyDownHome,
+  keyDownEnd: keyDownEnd,
+  clickItem: clickItem,
+  blurInput: blurInput,
+  changeInput: changeInput,
+  keyDownSpaceButton: keyDownSpaceButton,
+  clickButton: clickButton,
+  blurButton: blurButton,
+  controlledPropUpdatedSelectedItem: controlledPropUpdatedSelectedItem,
+  touchEnd: touchEnd
+});

-  return useCompositeState(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-    orientation: orientation
-  }, sealed));
-}
+var _excluded$4 = (/* unused pure expression or super */ null && (["refKey", "ref"])),
+    _excluded2$3 = (/* unused pure expression or super */ null && (["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"])),
+    _excluded3$2 = (/* unused pure expression or super */ null && (["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"])),
+    _excluded4$1 = (/* unused pure expression or super */ null && (["refKey", "ref"])),
+    _excluded5$1 = (/* unused pure expression or super */ null && (["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"]));

+var Downshift = /*#__PURE__*/(/* unused pure expression or super */ null && (function () {
+  var Downshift = /*#__PURE__*/function (_Component) {
+    _inheritsLoose(Downshift, _Component);

+    function Downshift(_props) {
+      var _this;

-// EXTERNAL MODULE: ./node_modules/reakit/es/__keys-ae468c11.js
-var _keys_ae468c11 = __webpack_require__("mjVI");
+      _this = _Component.call(this, _props) || this; // fancy destructuring + defaults + aliases
+      // this basically says each value of state should either be set to
+      // the initial value or the default value if the initial value is not provided

-// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/Toolbar.js
+      _this.id = _this.props.id || "downshift-" + generateId();
+      _this.menuId = _this.props.menuId || _this.id + "-menu";
+      _this.labelId = _this.props.labelId || _this.id + "-label";
+      _this.inputId = _this.props.inputId || _this.id + "-input";

+      _this.getItemId = _this.props.getItemId || function (index) {
+        return _this.id + "-item-" + index;
+      };

+      _this.input = null;
+      _this.items = [];
+      _this.itemCount = null;
+      _this.previousResultCount = 0;
+      _this.timeoutIds = [];

+      _this.internalSetTimeout = function (fn, time) {
+        var id = setTimeout(function () {
+          _this.timeoutIds = _this.timeoutIds.filter(function (i) {
+            return i !== id;
+          });
+          fn();
+        }, time);

+        _this.timeoutIds.push(id);
+      };

+      _this.setItemCount = function (count) {
+        _this.itemCount = count;
+      };

+      _this.unsetItemCount = function () {
+        _this.itemCount = null;
+      };

+      _this.setHighlightedIndex = function (highlightedIndex, otherStateToSet) {
+        if (highlightedIndex === void 0) {
+          highlightedIndex = _this.props.defaultHighlightedIndex;
+        }

+        if (otherStateToSet === void 0) {
+          otherStateToSet = {};
+        }

+        otherStateToSet = pickState(otherStateToSet);

+        _this.internalSetState(_extends({
+          highlightedIndex: highlightedIndex
+        }, otherStateToSet));
+      };

+      _this.clearSelection = function (cb) {
+        _this.internalSetState({
+          selectedItem: null,
+          inputValue: '',
+          highlightedIndex: _this.props.defaultHighlightedIndex,
+          isOpen: _this.props.defaultIsOpen
+        }, cb);
+      };

+      _this.selectItem = function (item, otherStateToSet, cb) {
+        otherStateToSet = pickState(otherStateToSet);

+        _this.internalSetState(_extends({
+          isOpen: _this.props.defaultIsOpen,
+          highlightedIndex: _this.props.defaultHighlightedIndex,
+          selectedItem: item,
+          inputValue: _this.props.itemToString(item)
+        }, otherStateToSet), cb);
+      };

+      _this.selectItemAtIndex = function (itemIndex, otherStateToSet, cb) {
+        var item = _this.items[itemIndex];

+        if (item == null) {
+          return;
+        }

+        _this.selectItem(item, otherStateToSet, cb);
+      };

+      _this.selectHighlightedItem = function (otherStateToSet, cb) {
+        return _this.selectItemAtIndex(_this.getState().highlightedIndex, otherStateToSet, cb);
+      };

+      _this.internalSetState = function (stateToSet, cb) {
+        var isItemSelected, onChangeArg;
+        var onStateChangeArg = {};
+        var isStateToSetFunction = typeof stateToSet === 'function'; // we want to call `onInputValueChange` before the `setState` call
+        // so someone controlling the `inputValue` state gets notified of
+        // the input change as soon as possible. This avoids issues with
+        // preserving the cursor position.
+        // See https://github.com/downshift-js/downshift/issues/217 for more info.

+        if (!isStateToSetFunction && stateToSet.hasOwnProperty('inputValue')) {
+          _this.props.onInputValueChange(stateToSet.inputValue, _extends({}, _this.getStateAndHelpers(), stateToSet));
+        }

+        return _this.setState(function (state) {
+          state = _this.getState(state);
+          var newStateToSet = isStateToSetFunction ? stateToSet(state) : stateToSet; // Your own function that could modify the state that will be set.

+          newStateToSet = _this.props.stateReducer(state, newStateToSet); // checks if an item is selected, regardless of if it's different from
+          // what was selected before
+          // used to determine if onSelect and onChange callbacks should be called

+          isItemSelected = newStateToSet.hasOwnProperty('selectedItem'); // this keeps track of the object we want to call with setState

+          var nextState = {}; // this is just used to tell whether the state changed

+          var nextFullState = {}; // we need to call on change if the outside world is controlling any of our state
+          // and we're trying to update that state. OR if the selection has changed and we're
+          // trying to update the selection

+          if (isItemSelected && newStateToSet.selectedItem !== state.selectedItem) {
+            onChangeArg = newStateToSet.selectedItem;
+          }

+          newStateToSet.type = newStateToSet.type || unknown;
+          Object.keys(newStateToSet).forEach(function (key) {
+            // onStateChangeArg should only have the state that is
+            // actually changing
+            if (state[key] !== newStateToSet[key]) {
+              onStateChangeArg[key] = newStateToSet[key];
+            } // the type is useful for the onStateChangeArg
+            // but we don't actually want to set it in internal state.
+            // this is an undocumented feature for now... Not all internalSetState
+            // calls support it and I'm not certain we want them to yet.
+            // But it enables users controlling the isOpen state to know when
+            // the isOpen state changes due to mouseup events which is quite handy.


+            if (key === 'type') {
+              return;
+            }

+            nextFullState[key] = newStateToSet[key]; // if it's coming from props, then we don't care to set it internally

+            if (!isControlledProp(_this.props, key)) {
+              nextState[key] = newStateToSet[key];
+            }
+          }); // if stateToSet is a function, then we weren't able to call onInputValueChange
+          // earlier, so we'll call it now that we know what the inputValue state will be.

-var useToolbar = Object(createHook["a" /* createHook */])({
-  name: "Toolbar",
-  compose: useComposite,
-  keys: _keys_ae468c11["a" /* T */],
-  useProps: function useProps(options, htmlProps) {
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({
-      role: "toolbar",
-      "aria-orientation": options.orientation
-    }, htmlProps);
-  }
-});
-var Toolbar = Object(createComponent["a" /* createComponent */])({
-  as: "div",
-  useHook: useToolbar,
-  useCreateElement: function useCreateElement$1(type, props, children) {
-     false ? undefined : void 0;
-    return Object(useCreateElement["a" /* useCreateElement */])(type, props, children);
-  }
-});
+          if (isStateToSetFunction && newStateToSet.hasOwnProperty('inputValue')) {
+            _this.props.onInputValueChange(newStateToSet.inputValue, _extends({}, _this.getStateAndHelpers(), newStateToSet));
+          }

+          return nextState;
+        }, function () {
+          // call the provided callback if it's a function
+          cbToCb(cb)(); // only call the onStateChange and onChange callbacks if
+          // we have relevant information to pass them.

+          var hasMoreStateThanType = Object.keys(onStateChangeArg).length > 1;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar/toolbar-container.js
+          if (hasMoreStateThanType) {
+            _this.props.onStateChange(onStateChangeArg, _this.getStateAndHelpers());
+          }

+          if (isItemSelected) {
+            _this.props.onSelect(stateToSet.selectedItem, _this.getStateAndHelpers());
+          }

+          if (onChangeArg !== undefined) {
+            _this.props.onChange(onChangeArg, _this.getStateAndHelpers());
+          } // this is currently undocumented and therefore subject to change
+          // We'll try to not break it, but just be warned.

-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */
+          _this.props.onUserAction(onStateChangeArg, _this.getStateAndHelpers());
+        });
+      };

+      _this.rootRef = function (node) {
+        return _this._rootNode = node;
+      };

+      _this.getRootProps = function (_temp, _temp2) {
+        var _extends2;

-/**
- * Internal dependencies
- */
+        var _ref = _temp === void 0 ? {} : _temp,
+            _ref$refKey = _ref.refKey,
+            refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey,
+            ref = _ref.ref,
+            rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);

+        var _ref2 = _temp2 === void 0 ? {} : _temp2,
+            _ref2$suppressRefErro = _ref2.suppressRefError,
+            suppressRefError = _ref2$suppressRefErro === void 0 ? false : _ref2$suppressRefErro;

+        // this is used in the render to know whether the user has called getRootProps.
+        // It uses that to know whether to apply the props automatically
+        _this.getRootProps.called = true;
+        _this.getRootProps.refKey = refKey;
+        _this.getRootProps.suppressRefError = suppressRefError;

-function ToolbarContainer(_ref, ref) {
-  let {
-    label,
-    ...props
-  } = _ref;
-  // https://reakit.io/docs/basic-concepts/#state-hooks
-  // Passing baseId for server side rendering (which includes snapshots)
-  // If an id prop is passed to Toolbar, toolbar items will use it as a base for their ids
-  const toolbarState = useToolbarState({
-    loop: true,
-    baseId: props.id,
-    rtl: Object(external_wp_i18n_["isRTL"])()
-  });
-  return (// This will provide state for `ToolbarButton`'s
-    Object(external_wp_element_["createElement"])(toolbar_context["a" /* default */].Provider, {
-      value: toolbarState
-    }, Object(external_wp_element_["createElement"])(Toolbar, Object(esm_extends["a" /* default */])({
-      ref: ref,
-      "aria-label": label
-    }, toolbarState, props)))
-  );
-}
+        var _this$getState = _this.getState(),
+            isOpen = _this$getState.isOpen;

-/* harmony default export */ var toolbar_container = (Object(external_wp_element_["forwardRef"])(ToolbarContainer));
+        return _extends((_extends2 = {}, _extends2[refKey] = handleRefs(ref, _this.rootRef), _extends2.role = 'combobox', _extends2['aria-expanded'] = isOpen, _extends2['aria-haspopup'] = 'listbox', _extends2['aria-owns'] = isOpen ? _this.menuId : null, _extends2['aria-labelledby'] = _this.labelId, _extends2), rest);
+      };

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar/index.js
+      _this.keyDownHandlers = {
+        ArrowDown: function ArrowDown(event) {
+          var _this2 = this;

+          event.preventDefault();

+          if (this.getState().isOpen) {
+            var amount = event.shiftKey ? 5 : 1;
+            this.moveHighlightedIndex(amount, {
+              type: keyDownArrowDown
+            });
+          } else {
+            this.internalSetState({
+              isOpen: true,
+              type: keyDownArrowDown
+            }, function () {
+              var itemCount = _this2.getItemCount();

-/**
- * External dependencies
- */
+              if (itemCount > 0) {
+                var _this2$getState = _this2.getState(),
+                    highlightedIndex = _this2$getState.highlightedIndex;

-/**
- * WordPress dependencies
- */
+                var nextHighlightedIndex = getNextWrappingIndex(1, highlightedIndex, itemCount, function (index) {
+                  return _this2.getItemNodeFromIndex(index);
+                });

+                _this2.setHighlightedIndex(nextHighlightedIndex, {
+                  type: keyDownArrowDown
+                });
+              }
+            });
+          }
+        },
+        ArrowUp: function ArrowUp(event) {
+          var _this3 = this;

+          event.preventDefault();

-/**
- * Internal dependencies
- */
+          if (this.getState().isOpen) {
+            var amount = event.shiftKey ? -5 : -1;
+            this.moveHighlightedIndex(amount, {
+              type: keyDownArrowUp
+            });
+          } else {
+            this.internalSetState({
+              isOpen: true,
+              type: keyDownArrowUp
+            }, function () {
+              var itemCount = _this3.getItemCount();

+              if (itemCount > 0) {
+                var _this3$getState = _this3.getState(),
+                    highlightedIndex = _this3$getState.highlightedIndex;

+                var nextHighlightedIndex = getNextWrappingIndex(-1, highlightedIndex, itemCount, function (index) {
+                  return _this3.getItemNodeFromIndex(index);
+                });

-/**
- * Renders a toolbar.
- *
- * To add controls, simply pass `ToolbarButton` components as children.
- *
- * @param {Object} props             Component props.
- * @param {string} [props.className] Class to set on the container div.
- * @param {string} [props.label]     ARIA label for toolbar container.
- * @param {Object} ref               React Element ref.
- */
+                _this3.setHighlightedIndex(nextHighlightedIndex, {
+                  type: keyDownArrowUp
+                });
+              }
+            });
+          }
+        },
+        Enter: function Enter(event) {
+          if (event.which === 229) {
+            return;
+          }

-function toolbar_Toolbar(_ref, ref) {
-  let {
-    className,
-    label,
-    ...props
-  } = _ref;
+          var _this$getState2 = this.getState(),
+              isOpen = _this$getState2.isOpen,
+              highlightedIndex = _this$getState2.highlightedIndex;

-  if (!label) {
-    external_wp_deprecated_default()('Using Toolbar without label prop', {
-      since: '5.6',
-      alternative: 'ToolbarGroup component',
-      link: 'https://developer.wordpress.org/block-editor/components/toolbar/'
-    });
-    return Object(external_wp_element_["createElement"])(toolbar_group, Object(esm_extends["a" /* default */])({}, props, {
-      className: className
-    }));
-  } // `ToolbarGroup` already uses components-toolbar for compatibility reasons
+          if (isOpen && highlightedIndex != null) {
+            event.preventDefault();
+            var item = this.items[highlightedIndex];
+            var itemNode = this.getItemNodeFromIndex(highlightedIndex);

+            if (item == null || itemNode && itemNode.hasAttribute('disabled')) {
+              return;
+            }

-  const finalClassName = classnames_default()('components-accessible-toolbar', className);
-  return Object(external_wp_element_["createElement"])(toolbar_container, Object(esm_extends["a" /* default */])({
-    className: finalClassName,
-    label: label,
-    ref: ref
-  }, props));
-}
+            this.selectHighlightedItem({
+              type: keyDownEnter
+            });
+          }
+        },
+        Escape: function Escape(event) {
+          event.preventDefault();
+          this.reset(_extends({
+            type: keyDownEscape
+          }, !this.state.isOpen && {
+            selectedItem: null,
+            inputValue: ''
+          }));
+        }
+      };
+      _this.buttonKeyDownHandlers = _extends({}, _this.keyDownHandlers, {
+        ' ': function _(event) {
+          event.preventDefault();
+          this.toggleMenu({
+            type: keyDownSpaceButton
+          });
+        }
+      });
+      _this.inputKeyDownHandlers = _extends({}, _this.keyDownHandlers, {
+        Home: function Home(event) {
+          var _this4 = this;

-/* harmony default export */ var toolbar = (Object(external_wp_element_["forwardRef"])(toolbar_Toolbar));
+          var _this$getState3 = this.getState(),
+              isOpen = _this$getState3.isOpen;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-dropdown-menu/index.js
+          if (!isOpen) {
+            return;
+          }

+          event.preventDefault();
+          var itemCount = this.getItemCount();

+          if (itemCount <= 0 || !isOpen) {
+            return;
+          } // get next non-disabled starting downwards from 0 if that's disabled.

-/**
- * WordPress dependencies
- */

-/**
- * Internal dependencies
- */
+          var newHighlightedIndex = getNextNonDisabledIndex(1, 0, itemCount, function (index) {
+            return _this4.getItemNodeFromIndex(index);
+          }, false);
+          this.setHighlightedIndex(newHighlightedIndex, {
+            type: keyDownHome
+          });
+        },
+        End: function End(event) {
+          var _this5 = this;

+          var _this$getState4 = this.getState(),
+              isOpen = _this$getState4.isOpen;

+          if (!isOpen) {
+            return;
+          }

+          event.preventDefault();
+          var itemCount = this.getItemCount();

+          if (itemCount <= 0 || !isOpen) {
+            return;
+          } // get next non-disabled starting upwards from last index if that's disabled.

-function ToolbarDropdownMenu(props, ref) {
-  const accessibleToolbarState = Object(external_wp_element_["useContext"])(toolbar_context["a" /* default */]);

-  if (!accessibleToolbarState) {
-    return Object(external_wp_element_["createElement"])(dropdown_menu, props);
-  } // ToobarItem will pass all props to the render prop child, which will pass
-  // all props to the toggle of DropdownMenu. This means that ToolbarDropdownMenu
-  // has the same API as DrpodownMenu.
+          var newHighlightedIndex = getNextNonDisabledIndex(-1, itemCount - 1, itemCount, function (index) {
+            return _this5.getItemNodeFromIndex(index);
+          }, false);
+          this.setHighlightedIndex(newHighlightedIndex, {
+            type: keyDownEnd
+          });
+        }
+      });

+      _this.getToggleButtonProps = function (_temp3) {
+        var _ref3 = _temp3 === void 0 ? {} : _temp3,
+            onClick = _ref3.onClick;
+            _ref3.onPress;
+            var onKeyDown = _ref3.onKeyDown,
+            onKeyUp = _ref3.onKeyUp,
+            onBlur = _ref3.onBlur,
+            rest = _objectWithoutPropertiesLoose(_ref3, _excluded2$3);

-  return Object(external_wp_element_["createElement"])(toolbar_item["a" /* default */], Object(esm_extends["a" /* default */])({
-    ref: ref
-  }, props.toggleProps), toolbarItemProps => Object(external_wp_element_["createElement"])(dropdown_menu, Object(esm_extends["a" /* default */])({}, props, {
-    popoverProps: {
-      isAlternate: true,
-      ...props.popoverProps
-    },
-    toggleProps: toolbarItemProps
-  })));
-}
+        var _this$getState5 = _this.getState(),
+            isOpen = _this$getState5.isOpen;

-/* harmony default export */ var toolbar_dropdown_menu = (Object(external_wp_element_["forwardRef"])(ToolbarDropdownMenu));
+        var enabledEventHandlers = {
+          onClick: callAllEventHandlers(onClick, _this.buttonHandleClick),
+          onKeyDown: callAllEventHandlers(onKeyDown, _this.buttonHandleKeyDown),
+          onKeyUp: callAllEventHandlers(onKeyUp, _this.buttonHandleKeyUp),
+          onBlur: callAllEventHandlers(onBlur, _this.buttonHandleBlur)
+        };
+        var eventHandlers = rest.disabled ? {} : enabledEventHandlers;
+        return _extends({
+          type: 'button',
+          role: 'button',
+          'aria-label': isOpen ? 'close menu' : 'open menu',
+          'aria-haspopup': true,
+          'data-toggle': true
+        }, eventHandlers, rest);
+      };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/reset.js
+      _this.buttonHandleKeyUp = function (event) {
+        // Prevent click event from emitting in Firefox
+        event.preventDefault();
+      };

+      _this.buttonHandleKeyDown = function (event) {
+        var key = normalizeArrowKey(event);

-/**
- * WordPress dependencies
- */
+        if (_this.buttonKeyDownHandlers[key]) {
+          _this.buttonKeyDownHandlers[key].call(_assertThisInitialized(_this), event);
+        }
+      };

-const reset_reset = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M7 11.5h10V13H7z"
-}));
-/* harmony default export */ var library_reset = (reset_reset);
+      _this.buttonHandleClick = function (event) {
+        event.preventDefault(); // handle odd case for Safari and Firefox which
+        // don't give the button the focus properly.

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/styles.js
-function tools_panel_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+        /* istanbul ignore if (can't reasonably test this) */

-/**
- * External dependencies
- */
+        if (_this.props.environment.document.activeElement === _this.props.environment.document.body) {
+          event.target.focus();
+        } // to simplify testing components that use downshift, we'll not wrap this in a setTimeout
+        // if the NODE_ENV is test. With the proper build system, this should be dead code eliminated
+        // when building for production and should therefore have no impact on production code.

-/**
- * Internal dependencies
- */

+        if (false) {} else {
+          // Ensure that toggle of menu occurs after the potential blur event in iOS
+          _this.internalSetTimeout(function () {
+            return _this.toggleMenu({
+              type: clickButton
+            });
+          });
+        }
+      };

+      _this.buttonHandleBlur = function (event) {
+        var blurTarget = event.target; // Save blur target for comparison with activeElement later
+        // Need setTimeout, so that when the user presses Tab, the activeElement is the next focused element, not body element

+        _this.internalSetTimeout(function () {
+          if (!_this.isMouseDown && (_this.props.environment.document.activeElement == null || _this.props.environment.document.activeElement.id !== _this.inputId) && _this.props.environment.document.activeElement !== blurTarget // Do nothing if we refocus the same element again (to solve issue in Safari on iOS)
+          ) {
+            _this.reset({
+              type: blurButton
+            });
+          }
+        });
+      };

-const toolsPanelGrid = {
-  spacing: /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])("column-gap:", space(4), ";row-gap:", space(6), ";" + ( true ? "" : undefined),  true ? "" : undefined),
-  item: {
-    fullWidth:  true ? {
-      name: "18iuzk9",
-      styles: "grid-column:1/-1"
-    } : undefined
-  }
-};
-const ToolsPanel = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(toolsPanelGrid.spacing, ";border-top:", config_values.borderWidth, " solid ", COLORS.gray[200], ";margin-top:-1px;padding:", space(4), ";" + ( true ? "" : undefined),  true ? "" : undefined);
-/**
- * Items injected into a ToolsPanel via a virtual bubbling slot will require
- * an inner dom element to be injected. The following rule allows for the
- * CSS grid display to be re-established.
- */
+      _this.getLabelProps = function (props) {
+        return _extends({
+          htmlFor: _this.inputId,
+          id: _this.labelId
+        }, props);
+      };

-const ToolsPanelWithInnerWrapper = columns => {
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(">div:not( :first-of-type ){display:grid;grid-template-columns:", `repeat( ${columns}, 1fr )`, ";", toolsPanelGrid.spacing, " ", toolsPanelGrid.item.fullWidth, ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-};
-const ToolsPanelHiddenInnerWrapper =  true ? {
-  name: "huufmu",
-  styles: ">div:not( :first-of-type ){display:none;}"
-} : undefined;
-const ToolsPanelHeader = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(toolsPanelGrid.item.fullWidth, " gap:", space(2), ";.components-dropdown-menu{margin:", space(-1), " 0;}&&&& .components-dropdown-menu__toggle{padding:0;min-width:", space(6), ";}" + ( true ? "" : undefined),  true ? "" : undefined);
-const ToolsPanelHeading =  true ? {
-  name: "1pmxm02",
-  styles: "font-size:inherit;font-weight:500;line-height:normal;&&{margin:0;}"
-} : undefined;
-const ToolsPanelItem = /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])(toolsPanelGrid.item.fullWidth, "&>div,&>fieldset{padding-bottom:0;margin-bottom:0;max-width:100%;}&& ", base_control_styles_Wrapper, "{margin-bottom:0;", StyledField, "{margin-bottom:0;}}" + ( true ? "" : undefined),  true ? "" : undefined);
-const ToolsPanelItemPlaceholder =  true ? {
-  name: "eivff4",
-  styles: "display:none"
-} : undefined;
-const styles_DropdownMenu =  true ? {
-  name: "16gsvie",
-  styles: "min-width:200px"
-} : undefined;
+      _this.getInputProps = function (_temp4) {
+        var _ref4 = _temp4 === void 0 ? {} : _temp4,
+            onKeyDown = _ref4.onKeyDown,
+            onBlur = _ref4.onBlur,
+            onChange = _ref4.onChange,
+            onInput = _ref4.onInput;
+            _ref4.onChangeText;
+            var rest = _objectWithoutPropertiesLoose(_ref4, _excluded3$2);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/context.js
-/**
- * WordPress dependencies
- */
+        var onChangeKey;
+        var eventHandlers = {};
+        /* istanbul ignore next (preact) */

-/**
- * Internal dependencies
- */
+        {
+          onChangeKey = 'onChange';
+        }

-const context_noop = () => undefined;
+        var _this$getState6 = _this.getState(),
+            inputValue = _this$getState6.inputValue,
+            isOpen = _this$getState6.isOpen,
+            highlightedIndex = _this$getState6.highlightedIndex;

-const ToolsPanelContext = Object(external_wp_element_["createContext"])({
-  menuItems: {
-    default: {},
-    optional: {}
-  },
-  hasMenuItems: false,
-  isResetting: false,
-  shouldRenderPlaceholderItems: false,
-  registerPanelItem: context_noop,
-  deregisterPanelItem: context_noop,
-  flagItemCustomization: context_noop,
-  areAllOptionalControlsHidden: true
-});
-const useToolsPanelContext = () => Object(external_wp_element_["useContext"])(ToolsPanelContext);
+        if (!rest.disabled) {
+          var _eventHandlers;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel-header/hook.js
-/**
- * WordPress dependencies
- */
+          eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange, onInput, _this.inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, _this.inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, _this.inputHandleBlur), _eventHandlers);
+        }

-/**
- * Internal dependencies
- */
+        return _extends({
+          'aria-autocomplete': 'list',
+          'aria-activedescendant': isOpen && typeof highlightedIndex === 'number' && highlightedIndex >= 0 ? _this.getItemId(highlightedIndex) : null,
+          'aria-controls': isOpen ? _this.menuId : null,
+          'aria-labelledby': _this.labelId,
+          // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
+          // revert back since autocomplete="nope" is ignored on latest Chrome and Opera
+          autoComplete: 'off',
+          value: inputValue,
+          id: _this.inputId
+        }, eventHandlers, rest);
+      };

+      _this.inputHandleKeyDown = function (event) {
+        var key = normalizeArrowKey(event);

+        if (key && _this.inputKeyDownHandlers[key]) {
+          _this.inputKeyDownHandlers[key].call(_assertThisInitialized(_this), event);
+        }
+      };

+      _this.inputHandleChange = function (event) {
+        _this.internalSetState({
+          type: changeInput,
+          isOpen: true,
+          inputValue: event.target.value,
+          highlightedIndex: _this.props.defaultHighlightedIndex
+        });
+      };

+      _this.inputHandleBlur = function () {
+        // Need setTimeout, so that when the user presses Tab, the activeElement is the next focused element, not the body element
+        _this.internalSetTimeout(function () {
+          var downshiftButtonIsActive = _this.props.environment.document && !!_this.props.environment.document.activeElement && !!_this.props.environment.document.activeElement.dataset && _this.props.environment.document.activeElement.dataset.toggle && _this._rootNode && _this._rootNode.contains(_this.props.environment.document.activeElement);

-function useToolsPanelHeader(props) {
-  const {
-    className,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'ToolsPanelHeader');
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    return cx(ToolsPanelHeader, className);
-  }, [className]);
-  const dropdownMenuClassName = Object(external_wp_element_["useMemo"])(() => {
-    return cx(styles_DropdownMenu);
-  }, []);
-  const headingClassName = Object(external_wp_element_["useMemo"])(() => {
-    return cx(ToolsPanelHeading);
-  }, []);
-  const {
-    menuItems,
-    hasMenuItems,
-    areAllOptionalControlsHidden
-  } = useToolsPanelContext();
-  return { ...otherProps,
-    areAllOptionalControlsHidden,
-    dropdownMenuClassName,
-    hasMenuItems,
-    headingClassName,
-    menuItems,
-    className: classes
-  };
-}
+          if (!_this.isMouseDown && !downshiftButtonIsActive) {
+            _this.reset({
+              type: blurInput
+            });
+          }
+        });
+      };

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel-header/component.js
+      _this.menuRef = function (node) {
+        _this._menuNode = node;
+      };

+      _this.getMenuProps = function (_temp5, _temp6) {
+        var _extends3;

+        var _ref5 = _temp5 === void 0 ? {} : _temp5,
+            _ref5$refKey = _ref5.refKey,
+            refKey = _ref5$refKey === void 0 ? 'ref' : _ref5$refKey,
+            ref = _ref5.ref,
+            props = _objectWithoutPropertiesLoose(_ref5, _excluded4$1);

-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+        var _ref6 = _temp6 === void 0 ? {} : _temp6,
+            _ref6$suppressRefErro = _ref6.suppressRefError,
+            suppressRefError = _ref6$suppressRefErro === void 0 ? false : _ref6$suppressRefErro;

-/**
- * WordPress dependencies
- */
+        _this.getMenuProps.called = true;
+        _this.getMenuProps.refKey = refKey;
+        _this.getMenuProps.suppressRefError = suppressRefError;
+        return _extends((_extends3 = {}, _extends3[refKey] = handleRefs(ref, _this.menuRef), _extends3.role = 'listbox', _extends3['aria-labelledby'] = props && props['aria-label'] ? null : _this.labelId, _extends3.id = _this.menuId, _extends3), props);
+      };

+      _this.getItemProps = function (_temp7) {
+        var _enabledEventHandlers;

-/**
- * Internal dependencies
- */
+        var _ref7 = _temp7 === void 0 ? {} : _temp7,
+            onMouseMove = _ref7.onMouseMove,
+            onMouseDown = _ref7.onMouseDown,
+            onClick = _ref7.onClick;
+            _ref7.onPress;
+            var index = _ref7.index,
+            _ref7$item = _ref7.item,
+            item = _ref7$item === void 0 ?  true ?
+        /* istanbul ignore next */
+        undefined : 0 : _ref7$item,
+            rest = _objectWithoutPropertiesLoose(_ref7, _excluded5$1);

+        if (index === undefined) {
+          _this.items.push(item);

+          index = _this.items.indexOf(item);
+        } else {
+          _this.items[index] = item;
+        }

+        var onSelectKey = 'onClick';
+        var customClickHandler = onClick;
+        var enabledEventHandlers = (_enabledEventHandlers = {
+          // onMouseMove is used over onMouseEnter here. onMouseMove
+          // is only triggered on actual mouse movement while onMouseEnter
+          // can fire on DOM changes, interrupting keyboard navigation
+          onMouseMove: callAllEventHandlers(onMouseMove, function () {
+            if (index === _this.getState().highlightedIndex) {
+              return;
+            }

+            _this.setHighlightedIndex(index, {
+              type: itemMouseEnter
+            }); // We never want to manually scroll when changing state based
+            // on `onMouseMove` because we will be moving the element out
+            // from under the user which is currently scrolling/moving the
+            // cursor


+            _this.avoidScrolling = true;

+            _this.internalSetTimeout(function () {
+              return _this.avoidScrolling = false;
+            }, 250);
+          }),
+          onMouseDown: callAllEventHandlers(onMouseDown, function (event) {
+            // This prevents the activeElement from being changed
+            // to the item so it can remain with the current activeElement
+            // which is a more common use case.
+            event.preventDefault();
+          })
+        }, _enabledEventHandlers[onSelectKey] = callAllEventHandlers(customClickHandler, function () {
+          _this.selectItemAtIndex(index, {
+            type: clickItem
+          });
+        }), _enabledEventHandlers); // Passing down the onMouseDown handler to prevent redirect
+        // of the activeElement if clicking on disabled items

+        var eventHandlers = rest.disabled ? {
+          onMouseDown: enabledEventHandlers.onMouseDown
+        } : enabledEventHandlers;
+        return _extends({
+          id: _this.getItemId(index),
+          role: 'option',
+          'aria-selected': _this.getState().highlightedIndex === index
+        }, eventHandlers, rest);
+      };

-const tools_panel_header_component_noop = () => {};
+      _this.clearItems = function () {
+        _this.items = [];
+      };

-const DefaultControlsGroup = _ref => {
-  let {
-    items,
-    onClose,
-    toggleItem
-  } = _ref;
+      _this.reset = function (otherStateToSet, cb) {
+        if (otherStateToSet === void 0) {
+          otherStateToSet = {};
+        }

-  if (!items.length) {
-    return null;
-  }
+        otherStateToSet = pickState(otherStateToSet);

-  return Object(external_wp_element_["createElement"])(menu_group, null, items.map(_ref2 => {
-    let [label, hasValue] = _ref2;
-    const icon = hasValue ? library_reset : check["a" /* default */];
-    const itemLabel = hasValue ? Object(external_wp_i18n_["sprintf"])( // translators: %s: The name of the control being reset e.g. "Padding".
-    Object(external_wp_i18n_["__"])('Reset %s'), label) : undefined;
-    return Object(external_wp_element_["createElement"])(menu_item, {
-      key: label,
-      icon: icon,
-      isSelected: true,
-      disabled: !hasValue,
-      label: itemLabel,
-      onClick: () => {
-        toggleItem(label);
-        onClose();
-      },
-      role: "menuitemcheckbox"
-    }, label);
-  }));
-};
+        _this.internalSetState(function (_ref8) {
+          var selectedItem = _ref8.selectedItem;
+          return _extends({
+            isOpen: _this.props.defaultIsOpen,
+            highlightedIndex: _this.props.defaultHighlightedIndex,
+            inputValue: _this.props.itemToString(selectedItem)
+          }, otherStateToSet);
+        }, cb);
+      };

-const OptionalControlsGroup = _ref3 => {
-  let {
-    items,
-    onClose,
-    toggleItem
-  } = _ref3;
+      _this.toggleMenu = function (otherStateToSet, cb) {
+        if (otherStateToSet === void 0) {
+          otherStateToSet = {};
+        }

-  if (!items.length) {
-    return null;
-  }
+        otherStateToSet = pickState(otherStateToSet);

-  return Object(external_wp_element_["createElement"])(menu_group, null, items.map(_ref4 => {
-    let [label, isSelected] = _ref4;
-    const itemLabel = isSelected ? Object(external_wp_i18n_["sprintf"])( // translators: %s: The name of the control being hidden and reset e.g. "Padding".
-    Object(external_wp_i18n_["__"])('Hide and reset %s'), label) : Object(external_wp_i18n_["sprintf"])( // translators: %s: The name of the control to display e.g. "Padding".
-    Object(external_wp_i18n_["__"])('Show %s'), label);
-    return Object(external_wp_element_["createElement"])(menu_item, {
-      key: label,
-      icon: isSelected && check["a" /* default */],
-      isSelected: isSelected,
-      label: itemLabel,
-      onClick: () => {
-        toggleItem(label);
-        onClose();
-      },
-      role: "menuitemcheckbox"
-    }, label);
-  }));
-};
+        _this.internalSetState(function (_ref9) {
+          var isOpen = _ref9.isOpen;
+          return _extends({
+            isOpen: !isOpen
+          }, isOpen && {
+            highlightedIndex: _this.props.defaultHighlightedIndex
+          }, otherStateToSet);
+        }, function () {
+          var _this$getState7 = _this.getState(),
+              isOpen = _this$getState7.isOpen,
+              highlightedIndex = _this$getState7.highlightedIndex;

-const component_ToolsPanelHeader = (props, forwardedRef) => {
-  const {
-    areAllOptionalControlsHidden,
-    dropdownMenuClassName,
-    hasMenuItems,
-    headingClassName,
-    label: labelText,
-    menuItems,
-    resetAll,
-    toggleItem,
-    ...headerProps
-  } = useToolsPanelHeader(props);
+          if (isOpen) {
+            if (_this.getItemCount() > 0 && typeof highlightedIndex === 'number') {
+              _this.setHighlightedIndex(highlightedIndex, otherStateToSet);
+            }
+          }

-  if (!labelText) {
-    return null;
-  }
+          cbToCb(cb)();
+        });
+      };

-  const defaultItems = Object.entries((menuItems === null || menuItems === void 0 ? void 0 : menuItems.default) || {});
-  const optionalItems = Object.entries((menuItems === null || menuItems === void 0 ? void 0 : menuItems.optional) || {});
-  const dropDownMenuIcon = areAllOptionalControlsHidden ? plus["a" /* default */] : more_vertical["a" /* default */];
-  const dropDownMenuLabelText = areAllOptionalControlsHidden ? Object(external_wp_i18n_["_x"])('View and add options', 'Button label to reveal tool panel options') : Object(external_wp_i18n_["_x"])('View options', 'Button label to reveal tool panel options');
-  return Object(external_wp_element_["createElement"])(h_stack_component, Object(esm_extends["a" /* default */])({}, headerProps, {
-    ref: forwardedRef
-  }), Object(external_wp_element_["createElement"])(heading_component, {
-    level: 2,
-    className: headingClassName
-  }, labelText), hasMenuItems && Object(external_wp_element_["createElement"])(dropdown_menu, {
-    icon: dropDownMenuIcon,
-    label: dropDownMenuLabelText,
-    menuProps: {
-      className: dropdownMenuClassName
-    },
-    toggleProps: {
-      isSmall: true
-    }
-  }, _ref5 => {
-    let {
-      onClose = tools_panel_header_component_noop
-    } = _ref5;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(DefaultControlsGroup, {
-      items: defaultItems,
-      onClose: onClose,
-      toggleItem: toggleItem
-    }), Object(external_wp_element_["createElement"])(OptionalControlsGroup, {
-      items: optionalItems,
-      onClose: onClose,
-      toggleItem: toggleItem
-    }), Object(external_wp_element_["createElement"])(menu_group, null, Object(external_wp_element_["createElement"])(menu_item, {
-      variant: 'tertiary',
-      onClick: () => {
-        resetAll();
-        onClose();
-      }
-    }, Object(external_wp_i18n_["__"])('Reset all'))));
-  }));
-};
+      _this.openMenu = function (cb) {
+        _this.internalSetState({
+          isOpen: true
+        }, cb);
+      };

-const ConnectedToolsPanelHeader = Object(context_connect["a" /* contextConnect */])(component_ToolsPanelHeader, 'ToolsPanelHeader');
-/* harmony default export */ var tools_panel_header_component = (ConnectedToolsPanelHeader);
+      _this.closeMenu = function (cb) {
+        _this.internalSetState({
+          isOpen: false
+        }, cb);
+      };

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel/hook.js
-/**
- * WordPress dependencies
- */
+      _this.updateStatus = downshift_esm_debounce(function () {
+        var state = _this.getState();

-/**
- * Internal dependencies
- */
+        var item = _this.items[state.highlightedIndex];

+        var resultCount = _this.getItemCount();

+        var status = _this.props.getA11yStatusMessage(_extends({
+          itemToString: _this.props.itemToString,
+          previousResultCount: _this.previousResultCount,
+          resultCount: resultCount,
+          highlightedItem: item
+        }, state));

+        _this.previousResultCount = resultCount;
+        setStatus(status, _this.props.environment.document);
+      }, 200);

-const DEFAULT_COLUMNS = 2;
+      var _this$props = _this.props,
+          defaultHighlightedIndex = _this$props.defaultHighlightedIndex,
+          _this$props$initialHi = _this$props.initialHighlightedIndex,
+          _highlightedIndex = _this$props$initialHi === void 0 ? defaultHighlightedIndex : _this$props$initialHi,
+          defaultIsOpen = _this$props.defaultIsOpen,
+          _this$props$initialIs = _this$props.initialIsOpen,
+          _isOpen = _this$props$initialIs === void 0 ? defaultIsOpen : _this$props$initialIs,
+          _this$props$initialIn = _this$props.initialInputValue,
+          _inputValue = _this$props$initialIn === void 0 ? '' : _this$props$initialIn,
+          _this$props$initialSe = _this$props.initialSelectedItem,
+          _selectedItem = _this$props$initialSe === void 0 ? null : _this$props$initialSe;

-const generateMenuItems = _ref => {
-  let {
-    panelItems,
-    shouldReset,
-    currentMenuItems
-  } = _ref;
-  const menuItems = {
-    default: {},
-    optional: {}
-  };
-  panelItems.forEach(_ref2 => {
-    var _currentMenuItems$gro;
+      var _state = _this.getState({
+        highlightedIndex: _highlightedIndex,
+        isOpen: _isOpen,
+        inputValue: _inputValue,
+        selectedItem: _selectedItem
+      });

-    let {
-      hasValue,
-      isShownByDefault,
-      label
-    } = _ref2;
-    const group = isShownByDefault ? 'default' : 'optional'; // If a menu item for this label already exists, do not overwrite its value.
-    // This can cause default controls that have been flagged as customized to
-    // lose their value.
+      if (_state.selectedItem != null && _this.props.initialInputValue === undefined) {
+        _state.inputValue = _this.props.itemToString(_state.selectedItem);
+      }

-    const existingItemValue = currentMenuItems === null || currentMenuItems === void 0 ? void 0 : (_currentMenuItems$gro = currentMenuItems[group]) === null || _currentMenuItems$gro === void 0 ? void 0 : _currentMenuItems$gro[label];
-    const value = existingItemValue !== undefined ? existingItemValue : hasValue();
-    menuItems[group][label] = shouldReset ? false : value;
-  });
-  return menuItems;
-};
+      _this.state = _state;
+      return _this;
+    }

-function useToolsPanel(props) {
-  const {
-    className,
-    resetAll,
-    panelId,
-    hasInnerWrapper,
-    shouldRenderPlaceholderItems,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'ToolsPanel');
-  const isResetting = Object(external_wp_element_["useRef"])(false);
-  const wasResetting = isResetting.current; // `isResetting` is cleared via this hook to effectively batch together
-  // the resetAll task. Without this, the flag is cleared after the first
-  // control updates and forces a rerender with subsequent controls then
-  // believing they need to reset, unfortunately using stale data.
+    var _proto = Downshift.prototype;

-  Object(external_wp_element_["useEffect"])(() => {
-    if (wasResetting) {
-      isResetting.current = false;
+    /**
+     * Clear all running timeouts
+     */
+    _proto.internalClearTimeouts = function internalClearTimeouts() {
+      this.timeoutIds.forEach(function (id) {
+        clearTimeout(id);
+      });
+      this.timeoutIds = [];
     }
-  }, [wasResetting]); // Allow panel items to register themselves.
+    /**
+     * Gets the state based on internal state or props
+     * If a state value is passed via props, then that
+     * is the value given, otherwise it's retrieved from
+     * stateToMerge
+     *
+     * @param {Object} stateToMerge defaults to this.state
+     * @return {Object} the state
+     */
+    ;

-  const [panelItems, setPanelItems] = Object(external_wp_element_["useState"])([]);
+    _proto.getState = function getState$1(stateToMerge) {
+      if (stateToMerge === void 0) {
+        stateToMerge = this.state;
+      }

-  const registerPanelItem = item => {
-    setPanelItems(items => {
-      const newItems = [...items]; // If an item with this label is already registered, remove it first.
-      // This can happen when an item is moved between the default and optional
-      // groups.
+      return getState(stateToMerge, this.props);
+    };

-      const existingIndex = newItems.findIndex(oldItem => oldItem.label === item.label);
+    _proto.getItemCount = function getItemCount() {
+      // things read better this way. They're in priority order:
+      // 1. `this.itemCount`
+      // 2. `this.props.itemCount`
+      // 3. `this.items.length`
+      var itemCount = this.items.length;

-      if (existingIndex !== -1) {
-        newItems.splice(existingIndex, 1);
+      if (this.itemCount != null) {
+        itemCount = this.itemCount;
+      } else if (this.props.itemCount !== undefined) {
+        itemCount = this.props.itemCount;
       }

-      return [...newItems, item];
-    });
-  }; // Panels need to deregister on unmount to avoid orphans in menu state.
-  // This is an issue when panel items are being injected via SlotFills.
-
+      return itemCount;
+    };

-  const deregisterPanelItem = label => {
-    // When switching selections between components injecting matching
-    // controls, e.g. both panels have a "padding" control, the
-    // deregistration of the first panel doesn't occur until after the
-    // registration of the next.
-    setPanelItems(items => {
-      const newItems = [...items];
-      const index = newItems.findIndex(item => item.label === label);
+    _proto.getItemNodeFromIndex = function getItemNodeFromIndex(index) {
+      return this.props.environment.document.getElementById(this.getItemId(index));
+    };

-      if (index !== -1) {
-        newItems.splice(index, 1);
+    _proto.scrollHighlightedItemIntoView = function scrollHighlightedItemIntoView() {
+      /* istanbul ignore else (react-native) */
+      {
+        var node = this.getItemNodeFromIndex(this.getState().highlightedIndex);
+        this.props.scrollIntoView(node, this._menuNode);
       }
+    };

-      return newItems;
-    });
-  }; // Manage and share display state of menu items representing child controls.
+    _proto.moveHighlightedIndex = function moveHighlightedIndex(amount, otherStateToSet) {
+      var _this6 = this;

+      var itemCount = this.getItemCount();

-  const [menuItems, setMenuItems] = Object(external_wp_element_["useState"])({
-    default: {},
-    optional: {}
-  }); // Setup menuItems state as panel items register themselves.
+      var _this$getState8 = this.getState(),
+          highlightedIndex = _this$getState8.highlightedIndex;

-  Object(external_wp_element_["useEffect"])(() => {
-    setMenuItems(prevState => {
-      const items = generateMenuItems({
-        panelItems,
-        shouldReset: false,
-        currentMenuItems: prevState
-      });
-      return items;
-    });
-  }, [panelItems]); // Force a menu item to be checked.
-  // This is intended for use with default panel items. They are displayed
-  // separately to optional items and have different display states,
-  // we need to update that when their value is customized.
+      if (itemCount > 0) {
+        var nextHighlightedIndex = getNextWrappingIndex(amount, highlightedIndex, itemCount, function (index) {
+          return _this6.getItemNodeFromIndex(index);
+        });
+        this.setHighlightedIndex(nextHighlightedIndex, otherStateToSet);
+      }
+    };

-  const flagItemCustomization = function (label) {
-    let group = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
-    setMenuItems(items => {
-      const newState = { ...items,
-        [group]: { ...items[group],
-          [label]: true
-        }
+    _proto.getStateAndHelpers = function getStateAndHelpers() {
+      var _this$getState9 = this.getState(),
+          highlightedIndex = _this$getState9.highlightedIndex,
+          inputValue = _this$getState9.inputValue,
+          selectedItem = _this$getState9.selectedItem,
+          isOpen = _this$getState9.isOpen;
+
+      var itemToString = this.props.itemToString;
+      var id = this.id;
+      var getRootProps = this.getRootProps,
+          getToggleButtonProps = this.getToggleButtonProps,
+          getLabelProps = this.getLabelProps,
+          getMenuProps = this.getMenuProps,
+          getInputProps = this.getInputProps,
+          getItemProps = this.getItemProps,
+          openMenu = this.openMenu,
+          closeMenu = this.closeMenu,
+          toggleMenu = this.toggleMenu,
+          selectItem = this.selectItem,
+          selectItemAtIndex = this.selectItemAtIndex,
+          selectHighlightedItem = this.selectHighlightedItem,
+          setHighlightedIndex = this.setHighlightedIndex,
+          clearSelection = this.clearSelection,
+          clearItems = this.clearItems,
+          reset = this.reset,
+          setItemCount = this.setItemCount,
+          unsetItemCount = this.unsetItemCount,
+          setState = this.internalSetState;
+      return {
+        // prop getters
+        getRootProps: getRootProps,
+        getToggleButtonProps: getToggleButtonProps,
+        getLabelProps: getLabelProps,
+        getMenuProps: getMenuProps,
+        getInputProps: getInputProps,
+        getItemProps: getItemProps,
+        // actions
+        reset: reset,
+        openMenu: openMenu,
+        closeMenu: closeMenu,
+        toggleMenu: toggleMenu,
+        selectItem: selectItem,
+        selectItemAtIndex: selectItemAtIndex,
+        selectHighlightedItem: selectHighlightedItem,
+        setHighlightedIndex: setHighlightedIndex,
+        clearSelection: clearSelection,
+        clearItems: clearItems,
+        setItemCount: setItemCount,
+        unsetItemCount: unsetItemCount,
+        setState: setState,
+        // props
+        itemToString: itemToString,
+        // derived
+        id: id,
+        // state
+        highlightedIndex: highlightedIndex,
+        inputValue: inputValue,
+        isOpen: isOpen,
+        selectedItem: selectedItem
       };
-      return newState;
-    });
-  }; // Whether all optional menu items are hidden or not must be tracked
-  // in order to later determine if the panel display is empty and handle
-  // conditional display of a plus icon to indicate the presence of further
-  // menu items.
+    } //////////////////////////// ROOT
+    ;

+    _proto.componentDidMount = function componentDidMount() {
+      var _this7 = this;

-  const [areAllOptionalControlsHidden, setAreAllOptionalControlsHidden] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (menuItems.optional) {
-      const optionalItems = Object.entries(menuItems.optional);
-      const allControlsHidden = optionalItems.length > 0 && !optionalItems.some(_ref3 => {
-        let [, isSelected] = _ref3;
-        return isSelected;
-      });
-      setAreAllOptionalControlsHidden(allControlsHidden);
-    }
-  }, [menuItems.optional]);
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    const hasDefaultMenuItems = (menuItems === null || menuItems === void 0 ? void 0 : menuItems.default) && !!Object.keys(menuItems === null || menuItems === void 0 ? void 0 : menuItems.default).length;
-    const wrapperStyle = hasInnerWrapper && ToolsPanelWithInnerWrapper(DEFAULT_COLUMNS);
-    const emptyStyle = !hasDefaultMenuItems && areAllOptionalControlsHidden && ToolsPanelHiddenInnerWrapper;
-    return cx(ToolsPanel, wrapperStyle, emptyStyle, className);
-  }, [className, hasInnerWrapper, menuItems, areAllOptionalControlsHidden]); // Toggle the checked state of a menu item which is then used to determine
-  // display of the item within the panel.
+      /* istanbul ignore if (react-native) */
+      if (false) {}
+      /* istanbul ignore if (react-native) */

-  const toggleItem = label => {
-    const currentItem = panelItems.find(item => item.label === label);

-    if (!currentItem) {
-      return;
-    }
+      {
+        // this.isMouseDown helps us track whether the mouse is currently held down.
+        // This is useful when the user clicks on an item in the list, but holds the mouse
+        // down long enough for the list to disappear (because the blur event fires on the input)
+        // this.isMouseDown is used in the blur handler on the input to determine whether the blur event should
+        // trigger hiding the menu.
+        var onMouseDown = function onMouseDown() {
+          _this7.isMouseDown = true;
+        };

-    const menuGroup = currentItem.isShownByDefault ? 'default' : 'optional';
-    const newMenuItems = { ...menuItems,
-      [menuGroup]: { ...menuItems[menuGroup],
-        [label]: !menuItems[menuGroup][label]
-      }
-    };
-    setMenuItems(newMenuItems);
-  };
+        var onMouseUp = function onMouseUp(event) {
+          _this7.isMouseDown = false; // if the target element or the activeElement is within a downshift node
+          // then we don't want to reset downshift

-  const getResetAllFilters = () => {
-    const filters = [];
-    panelItems.forEach(item => {
-      if (item.resetAllFilter) {
-        filters.push(item.resetAllFilter);
-      }
-    });
-    return filters;
-  }; // Resets display of children and executes resetAll callback if available.
+          var contextWithinDownshift = targetWithinDownshift(event.target, [_this7._rootNode, _this7._menuNode], _this7.props.environment);

+          if (!contextWithinDownshift && _this7.getState().isOpen) {
+            _this7.reset({
+              type: mouseUp
+            }, function () {
+              return _this7.props.onOuterClick(_this7.getStateAndHelpers());
+            });
+          }
+        }; // Touching an element in iOS gives focus and hover states, but touching out of
+        // the element will remove hover, and persist the focus state, resulting in the
+        // blur event not being triggered.
+        // this.isTouchMove helps us track whether the user is tapping or swiping on a touch screen.
+        // If the user taps outside of Downshift, the component should be reset,
+        // but not if the user is swiping

-  const resetAllItems = () => {
-    if (typeof resetAll === 'function') {
-      isResetting.current = true;
-      resetAll(getResetAllFilters());
-    } // Turn off display of all non-default items.

+        var onTouchStart = function onTouchStart() {
+          _this7.isTouchMove = false;
+        };

-    const resetMenuItems = generateMenuItems({
-      panelItems,
-      shouldReset: true
-    });
-    setMenuItems(resetMenuItems);
-  };
+        var onTouchMove = function onTouchMove() {
+          _this7.isTouchMove = true;
+        };

-  const panelContext = {
-    panelId,
-    menuItems,
-    registerPanelItem,
-    deregisterPanelItem,
-    flagItemCustomization,
-    areAllOptionalControlsHidden,
-    hasMenuItems: !!panelItems.length,
-    isResetting: isResetting.current,
-    shouldRenderPlaceholderItems
-  };
-  return { ...otherProps,
-    panelContext,
-    resetAllItems,
-    toggleItem,
-    className: classes
-  };
-}
+        var onTouchEnd = function onTouchEnd(event) {
+          var contextWithinDownshift = targetWithinDownshift(event.target, [_this7._rootNode, _this7._menuNode], _this7.props.environment, false);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel/component.js
+          if (!_this7.isTouchMove && !contextWithinDownshift && _this7.getState().isOpen) {
+            _this7.reset({
+              type: touchEnd
+            }, function () {
+              return _this7.props.onOuterClick(_this7.getStateAndHelpers());
+            });
+          }
+        };

+        var environment = this.props.environment;
+        environment.addEventListener('mousedown', onMouseDown);
+        environment.addEventListener('mouseup', onMouseUp);
+        environment.addEventListener('touchstart', onTouchStart);
+        environment.addEventListener('touchmove', onTouchMove);
+        environment.addEventListener('touchend', onTouchEnd);

-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+        this.cleanup = function () {
+          _this7.internalClearTimeouts();

-/**
- * Internal dependencies
- */
+          _this7.updateStatus.cancel();

+          environment.removeEventListener('mousedown', onMouseDown);
+          environment.removeEventListener('mouseup', onMouseUp);
+          environment.removeEventListener('touchstart', onTouchStart);
+          environment.removeEventListener('touchmove', onTouchMove);
+          environment.removeEventListener('touchend', onTouchEnd);
+        };
+      }
+    };

+    _proto.shouldScroll = function shouldScroll(prevState, prevProps) {
+      var _ref10 = this.props.highlightedIndex === undefined ? this.getState() : this.props,
+          currentHighlightedIndex = _ref10.highlightedIndex;

+      var _ref11 = prevProps.highlightedIndex === undefined ? prevState : prevProps,
+          prevHighlightedIndex = _ref11.highlightedIndex;

+      var scrollWhenOpen = currentHighlightedIndex && this.getState().isOpen && !prevState.isOpen;
+      var scrollWhenNavigating = currentHighlightedIndex !== prevHighlightedIndex;
+      return scrollWhenOpen || scrollWhenNavigating;
+    };

+    _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
+      if (false) {}

-const component_ToolsPanel = (props, forwardedRef) => {
-  const {
-    children,
-    label,
-    panelContext,
-    resetAllItems,
-    toggleItem,
-    className
-  } = useToolsPanel(props); // Props are not directly passed through to avoid exposing Grid props
-  // until agreement has been reached on how ToolsPanel layout should be
-  // handled.
+      if (isControlledProp(this.props, 'selectedItem') && this.props.selectedItemChanged(prevProps.selectedItem, this.props.selectedItem)) {
+        this.internalSetState({
+          type: controlledPropUpdatedSelectedItem,
+          inputValue: this.props.itemToString(this.props.selectedItem)
+        });
+      }

-  return Object(external_wp_element_["createElement"])(grid_component, {
-    columns: 2,
-    className: className,
-    ref: forwardedRef
-  }, Object(external_wp_element_["createElement"])(ToolsPanelContext.Provider, {
-    value: panelContext
-  }, Object(external_wp_element_["createElement"])(tools_panel_header_component, {
-    label: label,
-    resetAll: resetAllItems,
-    toggleItem: toggleItem
-  }), children));
-};
+      if (!this.avoidScrolling && this.shouldScroll(prevState, prevProps)) {
+        this.scrollHighlightedItemIntoView();
+      }
+      /* istanbul ignore else (react-native) */

-const ConnectedToolsPanel = Object(context_connect["a" /* contextConnect */])(component_ToolsPanel, 'ToolsPanel');
-/* harmony default export */ var tools_panel_component = (ConnectedToolsPanel);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel-item/hook.js
-/**
- * WordPress dependencies
- */
+      {
+        this.updateStatus();
+      }
+    };

+    _proto.componentWillUnmount = function componentWillUnmount() {
+      this.cleanup(); // avoids memory leak
+    };

-/**
- * Internal dependencies
- */
+    _proto.render = function render() {
+      var children = unwrapArray(this.props.children, downshift_esm_noop); // because the items are rerendered every time we call the children
+      // we clear this out each render and it will be populated again as
+      // getItemProps is called.

+      this.clearItems(); // we reset this so we know whether the user calls getRootProps during
+      // this render. If they do then we don't need to do anything,
+      // if they don't then we need to clone the element they return and
+      // apply the props for them.

+      this.getRootProps.called = false;
+      this.getRootProps.refKey = undefined;
+      this.getRootProps.suppressRefError = undefined; // we do something similar for getMenuProps

+      this.getMenuProps.called = false;
+      this.getMenuProps.refKey = undefined;
+      this.getMenuProps.suppressRefError = undefined; // we do something similar for getLabelProps

+      this.getLabelProps.called = false; // and something similar for getInputProps

-function useToolsPanelItem(props) {
-  var _menuItems$menuGroup, _menuItems$menuGroup2;
+      this.getInputProps.called = false;
+      var element = unwrapArray(children(this.getStateAndHelpers()));

-  const {
-    className,
-    hasValue,
-    isShownByDefault,
-    label,
-    panelId,
-    resetAllFilter,
-    onDeselect,
-    onSelect,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'ToolsPanelItem');
-  const {
-    panelId: currentPanelId,
-    menuItems,
-    registerPanelItem,
-    deregisterPanelItem,
-    flagItemCustomization,
-    isResetting,
-    shouldRenderPlaceholderItems: shouldRenderPlaceholder
-  } = useToolsPanelContext();
-  const hasValueCallback = Object(external_wp_element_["useCallback"])(hasValue, [panelId]);
-  const resetAllFilterCallback = Object(external_wp_element_["useCallback"])(resetAllFilter, [panelId]);
-  const previousPanelId = Object(external_wp_compose_["usePrevious"])(currentPanelId);
-  const hasMatchingPanel = currentPanelId === panelId || currentPanelId === null; // Registering the panel item allows the panel to include it in its
-  // automatically generated menu and determine its initial checked status.
+      if (!element) {
+        return null;
+      }

-  Object(external_wp_element_["useEffect"])(() => {
-    if (hasMatchingPanel && previousPanelId !== null) {
-      registerPanelItem({
-        hasValue: hasValueCallback,
-        isShownByDefault,
-        label,
-        resetAllFilter: resetAllFilterCallback,
-        panelId
-      });
-    }
+      if (this.getRootProps.called || this.props.suppressRefError) {
+        if (false) {}

-    return () => {
-      if (previousPanelId === null && !!currentPanelId || currentPanelId === panelId) {
-        deregisterPanelItem(label);
+        return element;
+      } else if (isDOMElement(element)) {
+        // they didn't apply the root props, but we can clone
+        // this and apply the props ourselves
+        return /*#__PURE__*/cloneElement(element, this.getRootProps(getElementProps(element)));
       }
-    };
-  }, [currentPanelId, hasMatchingPanel, isShownByDefault, label, hasValueCallback, panelId, previousPanelId, resetAllFilterCallback]);
-  const isValueSet = hasValue();
-  const wasValueSet = Object(external_wp_compose_["usePrevious"])(isValueSet); // If this item represents a default control it will need to notify the
-  // panel when a custom value has been set.
+      /* istanbul ignore else */

-  Object(external_wp_element_["useEffect"])(() => {
-    if (isShownByDefault && isValueSet && !wasValueSet) {
-      flagItemCustomization(label);
-    }
-  }, [isValueSet, wasValueSet, isShownByDefault, label]); // Note: `label` is used as a key when building menu item state in
-  // `ToolsPanel`.

-  const menuGroup = isShownByDefault ? 'default' : 'optional';
-  const isMenuItemChecked = menuItems === null || menuItems === void 0 ? void 0 : (_menuItems$menuGroup = menuItems[menuGroup]) === null || _menuItems$menuGroup === void 0 ? void 0 : _menuItems$menuGroup[label];
-  const wasMenuItemChecked = Object(external_wp_compose_["usePrevious"])(isMenuItemChecked); // Determine if the panel item's corresponding menu is being toggled and
-  // trigger appropriate callback if it is.
+      if (false) {}
+      /* istanbul ignore next */

-  Object(external_wp_element_["useEffect"])(() => {
-    if (isResetting || !hasMatchingPanel) {
-      return;
-    }

-    if (isMenuItemChecked && !isValueSet && !wasMenuItemChecked) {
-      onSelect === null || onSelect === void 0 ? void 0 : onSelect();
-    }
+      return undefined;
+    };

-    if (!isMenuItemChecked && wasMenuItemChecked) {
-      onDeselect === null || onDeselect === void 0 ? void 0 : onDeselect();
-    }
-  }, [hasMatchingPanel, isMenuItemChecked, isResetting, isValueSet, wasMenuItemChecked]); // The item is shown if it is a default control regardless of whether it
-  // has a value. Optional items are shown when they are checked or have
-  // a value.
+    return Downshift;
+  }(Component);

-  const isShown = isShownByDefault ? (menuItems === null || menuItems === void 0 ? void 0 : (_menuItems$menuGroup2 = menuItems[menuGroup]) === null || _menuItems$menuGroup2 === void 0 ? void 0 : _menuItems$menuGroup2[label]) !== undefined : isMenuItemChecked;
-  const cx = Object(use_cx["a" /* useCx */])();
-  const classes = Object(external_wp_element_["useMemo"])(() => {
-    const placeholderStyle = shouldRenderPlaceholder && !isShown && ToolsPanelItemPlaceholder;
-    return cx(ToolsPanelItem, placeholderStyle, className);
-  }, [isShown, shouldRenderPlaceholder, className]);
-  return { ...otherProps,
-    isShown,
-    shouldRenderPlaceholder,
-    className: classes
+  Downshift.defaultProps = {
+    defaultHighlightedIndex: null,
+    defaultIsOpen: false,
+    getA11yStatusMessage: getA11yStatusMessage$1,
+    itemToString: function itemToString(i) {
+      if (i == null) {
+        return '';
+      }
+
+      if (false) {}
+
+      return String(i);
+    },
+    onStateChange: downshift_esm_noop,
+    onInputValueChange: downshift_esm_noop,
+    onUserAction: downshift_esm_noop,
+    onChange: downshift_esm_noop,
+    onSelect: downshift_esm_noop,
+    onOuterClick: downshift_esm_noop,
+    selectedItemChanged: function selectedItemChanged(prevItem, item) {
+      return prevItem !== item;
+    },
+    environment:
+    /* istanbul ignore next (ssr) */
+    typeof window === 'undefined' ? {} : window,
+    stateReducer: function stateReducer(state, stateToSet) {
+      return stateToSet;
+    },
+    suppressRefError: false,
+    scrollIntoView: scrollIntoView
   };
-}
+  Downshift.stateChangeTypes = stateChangeTypes$3;
+  return Downshift;
+}()));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel-item/component.js
+ false ? 0 : void 0;
+var Downshift$1 = (/* unused pure expression or super */ null && (Downshift));

+function validateGetMenuPropsCalledCorrectly(node, _ref12) {
+  var refKey = _ref12.refKey;

+  if (!node) {
+    // eslint-disable-next-line no-console
+    console.error("downshift: The ref prop \"" + refKey + "\" from getMenuProps was not applied correctly on your menu element.");
+  }
+}

-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+function validateGetRootPropsCalledCorrectly(element, _ref13) {
+  var refKey = _ref13.refKey;
+  var refKeySpecified = refKey !== 'ref';
+  var isComposite = !isDOMElement(element);

-/**
- * Internal dependencies
- */
+  if (isComposite && !refKeySpecified && !isForwardRef(element)) {
+    // eslint-disable-next-line no-console
+    console.error('downshift: You returned a non-DOM element. You must specify a refKey in getRootProps');
+  } else if (!isComposite && refKeySpecified) {
+    // eslint-disable-next-line no-console
+    console.error("downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified \"" + refKey + "\"");
+  }

+  if (!isForwardRef(element) && !getElementProps(element)[refKey]) {
+    // eslint-disable-next-line no-console
+    console.error("downshift: You must apply the ref prop \"" + refKey + "\" from getRootProps onto your root element.");
+  }
+}

+var _excluded$3 = ["isInitialMount", "highlightedIndex", "items", "environment"];
+var dropdownDefaultStateValues = {
+  highlightedIndex: -1,
+  isOpen: false,
+  selectedItem: null,
+  inputValue: ''
+};

+function callOnChangeProps(action, state, newState) {
+  var props = action.props,
+      type = action.type;
+  var changes = {};
+  Object.keys(state).forEach(function (key) {
+    invokeOnChangeHandler(key, action, state, newState);

-// This wraps controls to be conditionally displayed within a tools panel. It
-// prevents props being applied to HTML elements that would make them invalid.
-const component_ToolsPanelItem = (props, forwardedRef) => {
-  const {
-    children,
-    isShown,
-    shouldRenderPlaceholder,
-    ...toolsPanelItemProps
-  } = useToolsPanelItem(props);
+    if (newState[key] !== state[key]) {
+      changes[key] = newState[key];
+    }
+  });

-  if (!isShown) {
-    return shouldRenderPlaceholder ? Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, toolsPanelItemProps, {
-      ref: forwardedRef
-    })) : null;
+  if (props.onStateChange && Object.keys(changes).length) {
+    props.onStateChange(extends_extends({
+      type: type
+    }, changes));
   }
+}

-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({}, toolsPanelItemProps, {
-    ref: forwardedRef
-  }), children);
-};
-
-const ConnectedToolsPanelItem = Object(context_connect["a" /* contextConnect */])(component_ToolsPanelItem, 'ToolsPanelItem');
-/* harmony default export */ var tools_panel_item_component = (ConnectedToolsPanelItem);
+function invokeOnChangeHandler(key, action, state, newState) {
+  var props = action.props,
+      type = action.type;
+  var handler = "on" + capitalizeString(key) + "Change";

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/roving-tab-index-context.js
+  if (props[handler] && newState[key] !== undefined && newState[key] !== state[key]) {
+    props[handler](extends_extends({
+      type: type
+    }, newState));
+  }
+}
 /**
- * WordPress dependencies
+ * Default state reducer that returns the changes.
+ *
+ * @param {Object} s state.
+ * @param {Object} a action with changes.
+ * @returns {Object} changes.
  */

-const RovingTabIndexContext = Object(external_wp_element_["createContext"])();
-const useRovingTabIndexContext = () => Object(external_wp_element_["useContext"])(RovingTabIndexContext);
-const RovingTabIndexProvider = RovingTabIndexContext.Provider;
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/roving-tab-index.js
-

+function stateReducer(s, a) {
+  return a.changes;
+}
 /**
- * WordPress dependencies
+ * Returns a message to be added to aria-live region when item is selected.
+ *
+ * @param {Object} selectionParameters Parameters required to build the message.
+ * @returns {string} The a11y message.
  */

+
+function getA11ySelectionMessage(selectionParameters) {
+  var selectedItem = selectionParameters.selectedItem,
+      itemToStringLocal = selectionParameters.itemToString;
+  return selectedItem ? itemToStringLocal(selectedItem) + " has been selected." : '';
+}
 /**
- * Internal dependencies
+ * Debounced call for updating the a11y message.
  */


-/**
- * Provider for adding roving tab index behaviors to tree grid structures.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/components/src/tree-grid/README.md
- *
- * @param {Object}    props          Component props.
- * @param {WPElement} props.children Children to be rendered
- */
+var updateA11yStatus = downshift_esm_debounce(function (getA11yMessage, document) {
+  setStatus(getA11yMessage(), document);
+}, 200); // istanbul ignore next

-function RovingTabIndex(_ref) {
-  let {
-    children
-  } = _ref;
-  const [lastFocusedElement, setLastFocusedElement] = Object(external_wp_element_["useState"])(); // Use `useMemo` to avoid creation of a new object for the providerValue
-  // on every render. Only create a new object when the `lastFocusedElement`
-  // value changes.
+var downshift_esm_useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? external_React_.useLayoutEffect : external_React_.useEffect;

-  const providerValue = Object(external_wp_element_["useMemo"])(() => ({
-    lastFocusedElement,
-    setLastFocusedElement
-  }), [lastFocusedElement]);
-  return Object(external_wp_element_["createElement"])(RovingTabIndexProvider, {
-    value: providerValue
-  }, children);
+function useElementIds(_ref) {
+  var _ref$id = _ref.id,
+      id = _ref$id === void 0 ? "downshift-" + generateId() : _ref$id,
+      labelId = _ref.labelId,
+      menuId = _ref.menuId,
+      getItemId = _ref.getItemId,
+      toggleButtonId = _ref.toggleButtonId,
+      inputId = _ref.inputId;
+  var elementIdsRef = (0,external_React_.useRef)({
+    labelId: labelId || id + "-label",
+    menuId: menuId || id + "-menu",
+    getItemId: getItemId || function (index) {
+      return id + "-item-" + index;
+    },
+    toggleButtonId: toggleButtonId || id + "-toggle-button",
+    inputId: inputId || id + "-input"
+  });
+  return elementIdsRef.current;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/index.js
-
+function getItemIndex(index, item, items) {
+  if (index !== undefined) {
+    return index;
+  }

+  if (items.length === 0) {
+    return -1;
+  }

-/**
- * External dependencies
- */
+  return items.indexOf(item);
+}

-/**
- * WordPress dependencies
- */
+function itemToString(item) {
+  return item ? String(item) : '';
+}

+function isAcceptedCharacterKey(key) {
+  return /^\S{1}$/.test(key);
+}

+function capitalizeString(string) {
+  return "" + string.slice(0, 1).toUpperCase() + string.slice(1);
+}

+function useLatestRef(val) {
+  var ref = (0,external_React_.useRef)(val); // technically this is not "concurrent mode safe" because we're manipulating
+  // the value during render (so it's not idempotent). However, the places this
+  // hook is used is to support memoizing callbacks which will be called
+  // *during* render, so we need the latest values *during* render.
+  // If not for this, then we'd probably want to use useLayoutEffect instead.

+  ref.current = val;
+  return ref;
+}
 /**
- * Internal dependencies
+ * Computes the controlled state using a the previous state, props,
+ * two reducers, one from downshift and an optional one from the user.
+ * Also calls the onChange handlers for state values that have changed.
+ *
+ * @param {Function} reducer Reducer function from downshift.
+ * @param {Object} initialState Initial state of the hook.
+ * @param {Object} props The hook props.
+ * @returns {Array} An array with the state and an action dispatcher.
  */


-/**
- * Return focusables in a row element, excluding those from other branches
- * nested within the row.
- *
- * @param {Element} rowElement The DOM element representing the row.
- *
- * @return {?Array} The array of focusables in the row.
- */
+function useEnhancedReducer(reducer, initialState, props) {
+  var prevStateRef = (0,external_React_.useRef)();
+  var actionRef = (0,external_React_.useRef)();
+  var enhancedReducer = (0,external_React_.useCallback)(function (state, action) {
+    actionRef.current = action;
+    state = getState(state, action.props);
+    var changes = reducer(state, action);
+    var newState = action.props.stateReducer(state, extends_extends({}, action, {
+      changes: changes
+    }));
+    return newState;
+  }, [reducer]);

-function getRowFocusables(rowElement) {
-  const focusablesInRow = external_wp_dom_["focus"].focusable.find(rowElement, {
-    sequential: true
-  });
+  var _useReducer = (0,external_React_.useReducer)(enhancedReducer, initialState),
+      state = _useReducer[0],
+      dispatch = _useReducer[1];

-  if (!focusablesInRow || !focusablesInRow.length) {
-    return;
-  }
+  var propsRef = useLatestRef(props);
+  var dispatchWithProps = (0,external_React_.useCallback)(function (action) {
+    return dispatch(extends_extends({
+      props: propsRef.current
+    }, action));
+  }, [propsRef]);
+  var action = actionRef.current;
+  (0,external_React_.useEffect)(function () {
+    if (action && prevStateRef.current && prevStateRef.current !== state) {
+      callOnChangeProps(action, getState(prevStateRef.current, action.props), state);
+    }

-  return focusablesInRow.filter(focusable => {
-    return focusable.closest('[role="row"]') === rowElement;
-  });
+    prevStateRef.current = state;
+  }, [state, props, action]);
+  return [state, dispatchWithProps];
 }
 /**
- * Renders both a table and tbody element, used to create a tree hierarchy.
+ * Wraps the useEnhancedReducer and applies the controlled prop values before
+ * returning the new state.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/components/src/tree-grid/README.md
- * @param {Object}    props               Component props.
- * @param {WPElement} props.children      Children to be rendered.
- * @param {Function}  props.onExpandRow   Callback to fire when row is expanded.
- * @param {Function}  props.onCollapseRow Callback to fire when row is collapsed.
- * @param {Object}    ref                 A ref to the underlying DOM table element.
+ * @param {Function} reducer Reducer function from downshift.
+ * @param {Object} initialState Initial state of the hook.
+ * @param {Object} props The hook props.
+ * @returns {Array} An array with the state and an action dispatcher.
  */


-function TreeGrid(_ref, ref) {
-  let {
-    children,
-    onExpandRow = () => {},
-    onCollapseRow = () => {},
-    ...props
-  } = _ref;
-  const onKeyDown = Object(external_wp_element_["useCallback"])(event => {
-    const {
-      keyCode,
-      metaKey,
-      ctrlKey,
-      altKey,
-      shiftKey
-    } = event;
-    const hasModifierKeyPressed = metaKey || ctrlKey || altKey || shiftKey;
-
-    if (hasModifierKeyPressed || !Object(external_lodash_["includes"])([external_wp_keycodes_["UP"], external_wp_keycodes_["DOWN"], external_wp_keycodes_["LEFT"], external_wp_keycodes_["RIGHT"]], keyCode)) {
-      return;
-    } // The event will be handled, stop propagation.
-
-
-    event.stopPropagation();
-    const {
-      activeElement
-    } = document;
-    const {
-      currentTarget: treeGridElement
-    } = event;
-
-    if (!treeGridElement.contains(activeElement)) {
-      return;
-    } // Calculate the columnIndex of the active element.
-
+function useControlledReducer$1(reducer, initialState, props) {
+  var _useEnhancedReducer = useEnhancedReducer(reducer, initialState, props),
+      state = _useEnhancedReducer[0],
+      dispatch = _useEnhancedReducer[1];

-    const activeRow = activeElement.closest('[role="row"]');
-    const focusablesInRow = getRowFocusables(activeRow);
-    const currentColumnIndex = focusablesInRow.indexOf(activeElement);
+  return [getState(state, props), dispatch];
+}

-    if (Object(external_lodash_["includes"])([external_wp_keycodes_["LEFT"], external_wp_keycodes_["RIGHT"]], keyCode)) {
-      // Calculate to the next element.
-      let nextIndex;
+var defaultProps$3 = {
+  itemToString: itemToString,
+  stateReducer: stateReducer,
+  getA11ySelectionMessage: getA11ySelectionMessage,
+  scrollIntoView: scrollIntoView,
+  circularNavigation: false,
+  environment:
+  /* istanbul ignore next (ssr) */
+  typeof window === 'undefined' ? {} : window
+};

-      if (keyCode === external_wp_keycodes_["LEFT"]) {
-        nextIndex = Math.max(0, currentColumnIndex - 1);
-      } else {
-        nextIndex = Math.min(currentColumnIndex + 1, focusablesInRow.length - 1);
-      } // Focus is either at the left or right edge of the grid.
+function getDefaultValue$1(props, propKey, defaultStateValues) {
+  if (defaultStateValues === void 0) {
+    defaultStateValues = dropdownDefaultStateValues;
+  }

+  var defaultPropKey = "default" + capitalizeString(propKey);

-      if (nextIndex === currentColumnIndex) {
-        if (keyCode === external_wp_keycodes_["LEFT"]) {
-          var _activeRow$ariaLevel, _getRowFocusables, _getRowFocusables$;
+  if (defaultPropKey in props) {
+    return props[defaultPropKey];
+  }

-          // Left:
-          // If a row is focused, and it is expanded, collapses the current row.
-          if (activeRow.getAttribute('aria-expanded') === 'true') {
-            onCollapseRow(activeRow);
-            event.preventDefault();
-            return;
-          } // If a row is focused, and it is collapsed, moves to the parent row (if there is one).
+  return defaultStateValues[propKey];
+}

+function getInitialValue$1(props, propKey, defaultStateValues) {
+  if (defaultStateValues === void 0) {
+    defaultStateValues = dropdownDefaultStateValues;
+  }

-          const level = Math.max(parseInt((_activeRow$ariaLevel = activeRow === null || activeRow === void 0 ? void 0 : activeRow.ariaLevel) !== null && _activeRow$ariaLevel !== void 0 ? _activeRow$ariaLevel : 1, 10) - 1, 1);
-          const rows = Array.from(treeGridElement.querySelectorAll('[role="row"]'));
-          let parentRow = activeRow;
-          const currentRowIndex = rows.indexOf(activeRow);
+  if (propKey in props) {
+    return props[propKey];
+  }

-          for (let i = currentRowIndex; i >= 0; i--) {
-            if (parseInt(rows[i].ariaLevel, 10) === level) {
-              parentRow = rows[i];
-              break;
-            }
-          }
+  var initialPropKey = "initial" + capitalizeString(propKey);

-          (_getRowFocusables = getRowFocusables(parentRow)) === null || _getRowFocusables === void 0 ? void 0 : (_getRowFocusables$ = _getRowFocusables[0]) === null || _getRowFocusables$ === void 0 ? void 0 : _getRowFocusables$.focus();
-        }
+  if (initialPropKey in props) {
+    return props[initialPropKey];
+  }

-        if (keyCode === external_wp_keycodes_["RIGHT"]) {
-          // Right:
-          // If a row is focused, and it is collapsed, expands the current row.
-          if (activeRow.getAttribute('aria-expanded') === 'false') {
-            onExpandRow(activeRow);
-            event.preventDefault();
-            return;
-          } // If a row is focused, and it is expanded, focuses the rightmost cell in the row.
+  return getDefaultValue$1(props, propKey, defaultStateValues);
+}

+function getInitialState$2(props) {
+  var selectedItem = getInitialValue$1(props, 'selectedItem');
+  var isOpen = getInitialValue$1(props, 'isOpen');
+  var highlightedIndex = getInitialValue$1(props, 'highlightedIndex');
+  var inputValue = getInitialValue$1(props, 'inputValue');
+  return {
+    highlightedIndex: highlightedIndex < 0 && selectedItem && isOpen ? props.items.indexOf(selectedItem) : highlightedIndex,
+    isOpen: isOpen,
+    selectedItem: selectedItem,
+    inputValue: inputValue
+  };
+}

-          const focusableItems = getRowFocusables(activeRow);
+function getHighlightedIndexOnOpen(props, state, offset, getItemNodeFromIndex) {
+  var items = props.items,
+      initialHighlightedIndex = props.initialHighlightedIndex,
+      defaultHighlightedIndex = props.defaultHighlightedIndex;
+  var selectedItem = state.selectedItem,
+      highlightedIndex = state.highlightedIndex;

-          if (focusableItems.length > 0) {
-            var _focusableItems;
+  if (items.length === 0) {
+    return -1;
+  } // initialHighlightedIndex will give value to highlightedIndex on initial state only.

-            (_focusableItems = focusableItems[focusableItems.length - 1]) === null || _focusableItems === void 0 ? void 0 : _focusableItems.focus();
-          }
-        } // Prevent key use for anything else. For example, Voiceover
-        // will start reading text on continued use of left/right arrow
-        // keys.

+  if (initialHighlightedIndex !== undefined && highlightedIndex === initialHighlightedIndex) {
+    return initialHighlightedIndex;
+  }

-        event.preventDefault();
-        return;
-      } // Focus the next element.
+  if (defaultHighlightedIndex !== undefined) {
+    return defaultHighlightedIndex;
+  }

+  if (selectedItem) {
+    if (offset === 0) {
+      return items.indexOf(selectedItem);
+    }

-      focusablesInRow[nextIndex].focus(); // Prevent key use for anything else. This ensures Voiceover
-      // doesn't try to handle key navigation.
+    return getNextWrappingIndex(offset, items.indexOf(selectedItem), items.length, getItemNodeFromIndex, false);
+  }

-      event.preventDefault();
-    } else if (Object(external_lodash_["includes"])([external_wp_keycodes_["UP"], external_wp_keycodes_["DOWN"]], keyCode)) {
-      // Calculate the rowIndex of the next row.
-      const rows = Array.from(treeGridElement.querySelectorAll('[role="row"]'));
-      const currentRowIndex = rows.indexOf(activeRow);
-      let nextRowIndex;
+  if (offset === 0) {
+    return -1;
+  }

-      if (keyCode === external_wp_keycodes_["UP"]) {
-        nextRowIndex = Math.max(0, currentRowIndex - 1);
-      } else {
-        nextRowIndex = Math.min(currentRowIndex + 1, rows.length - 1);
-      } // Focus is either at the top or bottom edge of the grid. Do nothing.
+  return offset < 0 ? items.length - 1 : 0;
+}
+/**
+ * Reuse the movement tracking of mouse and touch events.
+ *
+ * @param {boolean} isOpen Whether the dropdown is open or not.
+ * @param {Array<Object>} downshiftElementRefs Downshift element refs to track movement (toggleButton, menu etc.)
+ * @param {Object} environment Environment where component/hook exists.
+ * @param {Function} handleBlur Handler on blur from mouse or touch.
+ * @returns {Object} Ref containing whether mouseDown or touchMove event is happening
+ */


-      if (nextRowIndex === currentRowIndex) {
-        // Prevent key use for anything else. For example, Voiceover
-        // will start navigating horizontally when reaching the vertical
-        // bounds of a table.
-        event.preventDefault();
-        return;
-      } // Get the focusables in the next row.
+function useMouseAndTouchTracker(isOpen, downshiftElementRefs, environment, handleBlur) {
+  var mouseAndTouchTrackersRef = (0,external_React_.useRef)({
+    isMouseDown: false,
+    isTouchMove: false
+  });
+  (0,external_React_.useEffect)(function () {
+    // The same strategy for checking if a click occurred inside or outside downsift
+    // as in downshift.js.
+    var onMouseDown = function onMouseDown() {
+      mouseAndTouchTrackersRef.current.isMouseDown = true;
+    };

+    var onMouseUp = function onMouseUp(event) {
+      mouseAndTouchTrackersRef.current.isMouseDown = false;

-      const focusablesInNextRow = getRowFocusables(rows[nextRowIndex]); // If for some reason there are no focusables in the next row, do nothing.
+      if (isOpen && !targetWithinDownshift(event.target, downshiftElementRefs.map(function (ref) {
+        return ref.current;
+      }), environment)) {
+        handleBlur();
+      }
+    };

-      if (!focusablesInNextRow || !focusablesInNextRow.length) {
-        // Prevent key use for anything else. For example, Voiceover
-        // will still focus text when using arrow keys, while this
-        // component should limit navigation to focusables.
-        event.preventDefault();
-        return;
-      } // Try to focus the element in the next row that's at a similar column to the activeElement.
+    var onTouchStart = function onTouchStart() {
+      mouseAndTouchTrackersRef.current.isTouchMove = false;
+    };

+    var onTouchMove = function onTouchMove() {
+      mouseAndTouchTrackersRef.current.isTouchMove = true;
+    };

-      const nextIndex = Math.min(currentColumnIndex, focusablesInNextRow.length - 1);
-      focusablesInNextRow[nextIndex].focus(); // Prevent key use for anything else. This ensures Voiceover
-      // doesn't try to handle key navigation.
+    var onTouchEnd = function onTouchEnd(event) {
+      if (isOpen && !mouseAndTouchTrackersRef.current.isTouchMove && !targetWithinDownshift(event.target, downshiftElementRefs.map(function (ref) {
+        return ref.current;
+      }), environment, false)) {
+        handleBlur();
+      }
+    };

-      event.preventDefault();
-    }
-  }, [onExpandRow, onCollapseRow]);
-  /* Disable reason: A treegrid is implemented using a table element. */
+    environment.addEventListener('mousedown', onMouseDown);
+    environment.addEventListener('mouseup', onMouseUp);
+    environment.addEventListener('touchstart', onTouchStart);
+    environment.addEventListener('touchmove', onTouchMove);
+    environment.addEventListener('touchend', onTouchEnd);
+    return function cleanup() {
+      environment.removeEventListener('mousedown', onMouseDown);
+      environment.removeEventListener('mouseup', onMouseUp);
+      environment.removeEventListener('touchstart', onTouchStart);
+      environment.removeEventListener('touchmove', onTouchMove);
+      environment.removeEventListener('touchend', onTouchEnd);
+    }; // eslint-disable-next-line react-hooks/exhaustive-deps
+  }, [isOpen, environment]);
+  return mouseAndTouchTrackersRef;
+}
+/* istanbul ignore next */
+// eslint-disable-next-line import/no-mutable-exports

-  /* eslint-disable jsx-a11y/no-noninteractive-element-to-interactive-role */

-  return Object(external_wp_element_["createElement"])(RovingTabIndex, null, Object(external_wp_element_["createElement"])("table", Object(esm_extends["a" /* default */])({}, props, {
-    role: "treegrid",
-    onKeyDown: onKeyDown,
-    ref: ref
-  }), Object(external_wp_element_["createElement"])("tbody", null, children)));
-  /* eslint-enable jsx-a11y/no-noninteractive-element-to-interactive-role */
-}
+var useGetterPropsCalledChecker = function useGetterPropsCalledChecker() {
+  return downshift_esm_noop;
+};
+/**
+ * Custom hook that checks if getter props are called correctly.
+ *
+ * @param  {...any} propKeys Getter prop names to be handled.
+ * @returns {Function} Setter function called inside getter props to set call information.
+ */

-/* harmony default export */ var tree_grid = (Object(external_wp_element_["forwardRef"])(TreeGrid));
+/* istanbul ignore next */


+if (false) {}

+function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
+  var isInitialMount = _ref2.isInitialMount,
+      highlightedIndex = _ref2.highlightedIndex,
+      items = _ref2.items,
+      environment = _ref2.environment,
+      rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref2, _excluded$3);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/row.js
+  // Sets a11y status message on changes in state.
+  (0,external_React_.useEffect)(function () {
+    if (isInitialMount || false) {
+      return;
+    }

+    updateA11yStatus(function () {
+      return getA11yMessage(extends_extends({
+        highlightedIndex: highlightedIndex,
+        highlightedItem: items[highlightedIndex],
+        resultCount: items.length
+      }, rest));
+    }, environment.document); // eslint-disable-next-line react-hooks/exhaustive-deps
+  }, dependencyArray);
+}

+function useScrollIntoView(_ref3) {
+  var highlightedIndex = _ref3.highlightedIndex,
+      isOpen = _ref3.isOpen,
+      itemRefs = _ref3.itemRefs,
+      getItemNodeFromIndex = _ref3.getItemNodeFromIndex,
+      menuElement = _ref3.menuElement,
+      scrollIntoViewProp = _ref3.scrollIntoView;
+  // used not to scroll on highlight by mouse.
+  var shouldScrollRef = (0,external_React_.useRef)(true); // Scroll on highlighted item if change comes from keyboard.

-/**
- * WordPress dependencies
- */
+  downshift_esm_useIsomorphicLayoutEffect(function () {
+    if (highlightedIndex < 0 || !isOpen || !Object.keys(itemRefs.current).length) {
+      return;
+    }

+    if (shouldScrollRef.current === false) {
+      shouldScrollRef.current = true;
+    } else {
+      scrollIntoViewProp(getItemNodeFromIndex(highlightedIndex), menuElement);
+    } // eslint-disable-next-line react-hooks/exhaustive-deps

-function TreeGridRow(_ref, ref) {
-  let {
-    children,
-    level,
-    positionInSet,
-    setSize,
-    isExpanded,
-    ...props
-  } = _ref;
-  return (// Disable reason: Due to an error in the ARIA 1.1 specification, the
-    // aria-posinset and aria-setsize properties are not supported on row
-    // elements. This is being corrected in ARIA 1.2. Consequently, the
-    // linting rule fails when validating this markup.
-    //
-    // eslint-disable-next-line jsx-a11y/role-supports-aria-props
-    Object(external_wp_element_["createElement"])("tr", Object(esm_extends["a" /* default */])({}, props, {
-      ref: ref,
-      role: "row",
-      "aria-level": level,
-      "aria-posinset": positionInSet,
-      "aria-setsize": setSize,
-      "aria-expanded": isExpanded
-    }), children)
-  );
-}
+  }, [highlightedIndex]);
+  return shouldScrollRef;
+} // eslint-disable-next-line import/no-mutable-exports

-/* harmony default export */ var tree_grid_row = (Object(external_wp_element_["forwardRef"])(TreeGridRow));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/roving-tab-index-item.js
+var useControlPropsValidator = downshift_esm_noop;
+/* istanbul ignore next */

+if (false) {}

-/**
- * WordPress dependencies
- */
+/* eslint-disable complexity */

-/**
- * Internal dependencies
- */
+function downshiftCommonReducer(state, action, stateChangeTypes) {
+  var type = action.type,
+      props = action.props;
+  var changes;

+  switch (type) {
+    case stateChangeTypes.ItemMouseMove:
+      changes = {
+        highlightedIndex: action.index
+      };
+      break;

-/* harmony default export */ var roving_tab_index_item = (Object(external_wp_element_["forwardRef"])(function RovingTabIndexItem(_ref, forwardedRef) {
-  let {
-    children,
-    as: Component,
-    ...props
-  } = _ref;
-  const localRef = Object(external_wp_element_["useRef"])();
-  const ref = forwardedRef || localRef;
-  const {
-    lastFocusedElement,
-    setLastFocusedElement
-  } = useRovingTabIndexContext();
-  let tabIndex;
+    case stateChangeTypes.MenuMouseLeave:
+      changes = {
+        highlightedIndex: -1
+      };
+      break;

-  if (lastFocusedElement) {
-    tabIndex = lastFocusedElement === ref.current ? 0 : -1;
-  }
+    case stateChangeTypes.ToggleButtonClick:
+    case stateChangeTypes.FunctionToggleMenu:
+      changes = {
+        isOpen: !state.isOpen,
+        highlightedIndex: state.isOpen ? -1 : getHighlightedIndexOnOpen(props, state, 0)
+      };
+      break;

-  const onFocus = event => setLastFocusedElement(event.target);
+    case stateChangeTypes.FunctionOpenMenu:
+      changes = {
+        isOpen: true,
+        highlightedIndex: getHighlightedIndexOnOpen(props, state, 0)
+      };
+      break;

-  const allProps = {
-    ref,
-    tabIndex,
-    onFocus,
-    ...props
-  };
+    case stateChangeTypes.FunctionCloseMenu:
+      changes = {
+        isOpen: false
+      };
+      break;

-  if (typeof children === 'function') {
-    return children(allProps);
-  }
+    case stateChangeTypes.FunctionSetHighlightedIndex:
+      changes = {
+        highlightedIndex: action.highlightedIndex
+      };
+      break;

-  return Object(external_wp_element_["createElement"])(Component, allProps, children);
-}));
+    case stateChangeTypes.FunctionSetInputValue:
+      changes = {
+        inputValue: action.inputValue
+      };
+      break;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/item.js
+    case stateChangeTypes.FunctionReset:
+      changes = {
+        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
+        isOpen: getDefaultValue$1(props, 'isOpen'),
+        selectedItem: getDefaultValue$1(props, 'selectedItem'),
+        inputValue: getDefaultValue$1(props, 'inputValue')
+      };
+      break;

+    default:
+      throw new Error('Reducer called without proper action type.');
+  }

+  return extends_extends({}, state, changes);
+}
+/* eslint-enable complexity */

+function getItemIndexByCharacterKey(_a) {
+    var keysSoFar = _a.keysSoFar, highlightedIndex = _a.highlightedIndex, items = _a.items, itemToString = _a.itemToString, getItemNodeFromIndex = _a.getItemNodeFromIndex;
+    var lowerCasedKeysSoFar = keysSoFar.toLowerCase();
+    for (var index = 0; index < items.length; index++) {
+        var offsetIndex = (index + highlightedIndex + 1) % items.length;
+        var item = items[offsetIndex];
+        if (item !== undefined &&
+            itemToString(item)
+                .toLowerCase()
+                .startsWith(lowerCasedKeysSoFar)) {
+            var element = getItemNodeFromIndex(offsetIndex);
+            if (!(element === null || element === void 0 ? void 0 : element.hasAttribute('disabled'))) {
+                return offsetIndex;
+            }
+        }
+    }
+    return highlightedIndex;
+}
+var propTypes$2 = {
+    items: (prop_types_default()).array.isRequired,
+    itemToString: (prop_types_default()).func,
+    getA11yStatusMessage: (prop_types_default()).func,
+    getA11ySelectionMessage: (prop_types_default()).func,
+    circularNavigation: (prop_types_default()).bool,
+    highlightedIndex: (prop_types_default()).number,
+    defaultHighlightedIndex: (prop_types_default()).number,
+    initialHighlightedIndex: (prop_types_default()).number,
+    isOpen: (prop_types_default()).bool,
+    defaultIsOpen: (prop_types_default()).bool,
+    initialIsOpen: (prop_types_default()).bool,
+    selectedItem: (prop_types_default()).any,
+    initialSelectedItem: (prop_types_default()).any,
+    defaultSelectedItem: (prop_types_default()).any,
+    id: (prop_types_default()).string,
+    labelId: (prop_types_default()).string,
+    menuId: (prop_types_default()).string,
+    getItemId: (prop_types_default()).func,
+    toggleButtonId: (prop_types_default()).string,
+    stateReducer: (prop_types_default()).func,
+    onSelectedItemChange: (prop_types_default()).func,
+    onHighlightedIndexChange: (prop_types_default()).func,
+    onStateChange: (prop_types_default()).func,
+    onIsOpenChange: (prop_types_default()).func,
+    environment: prop_types_default().shape({
+        addEventListener: (prop_types_default()).func,
+        removeEventListener: (prop_types_default()).func,
+        document: prop_types_default().shape({
+            getElementById: (prop_types_default()).func,
+            activeElement: (prop_types_default()).any,
+            body: (prop_types_default()).any
+        })
+    })
+};
 /**
- * WordPress dependencies
+ * Default implementation for status message. Only added when menu is open.
+ * Will specift if there are results in the list, and if so, how many,
+ * and what keys are relevant.
+ *
+ * @param {Object} param the downshift state and other relevant properties
+ * @return {String} the a11y status message
  */
+function getA11yStatusMessage(_a) {
+    var isOpen = _a.isOpen, resultCount = _a.resultCount, previousResultCount = _a.previousResultCount;
+    if (!isOpen) {
+        return '';
+    }
+    if (!resultCount) {
+        return 'No results are available.';
+    }
+    if (resultCount !== previousResultCount) {
+        return resultCount + " result" + (resultCount === 1 ? ' is' : 's are') + " available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.";
+    }
+    return '';
+}
+var defaultProps$2 = __assign(__assign({}, defaultProps$3), { getA11yStatusMessage: getA11yStatusMessage });
+// eslint-disable-next-line import/no-mutable-exports
+var validatePropTypes$2 = downshift_esm_noop;
+/* istanbul ignore next */
+if (false) {}

-/**
- * Internal dependencies
- */
+var MenuKeyDownArrowDown =  false ? 0 : 0;
+var MenuKeyDownArrowUp =  false ? 0 : 1;
+var MenuKeyDownEscape =  false ? 0 : 2;
+var MenuKeyDownHome =  false ? 0 : 3;
+var MenuKeyDownEnd =  false ? 0 : 4;
+var MenuKeyDownEnter =  false ? 0 : 5;
+var MenuKeyDownSpaceButton =  false ? 0 : 6;
+var MenuKeyDownCharacter =  false ? 0 : 7;
+var MenuBlur =  false ? 0 : 8;
+var MenuMouseLeave$1 =  false ? 0 : 9;
+var ItemMouseMove$1 =  false ? 0 : 10;
+var ItemClick$1 =  false ? 0 : 11;
+var ToggleButtonClick$1 =  false ? 0 : 12;
+var ToggleButtonKeyDownArrowDown =  false ? 0 : 13;
+var ToggleButtonKeyDownArrowUp =  false ? 0 : 14;
+var ToggleButtonKeyDownCharacter =  false ? 0 : 15;
+var FunctionToggleMenu$1 =  false ? 0 : 16;
+var FunctionOpenMenu$1 =  false ? 0 : 17;
+var FunctionCloseMenu$1 =  false ? 0 : 18;
+var FunctionSetHighlightedIndex$1 =  false ? 0 : 19;
+var FunctionSelectItem$1 =  false ? 0 : 20;
+var FunctionSetInputValue$1 =  false ? 0 : 21;
+var FunctionReset$2 =  false ? 0 : 22;

+var stateChangeTypes$2 = /*#__PURE__*/Object.freeze({
+  __proto__: null,
+  MenuKeyDownArrowDown: MenuKeyDownArrowDown,
+  MenuKeyDownArrowUp: MenuKeyDownArrowUp,
+  MenuKeyDownEscape: MenuKeyDownEscape,
+  MenuKeyDownHome: MenuKeyDownHome,
+  MenuKeyDownEnd: MenuKeyDownEnd,
+  MenuKeyDownEnter: MenuKeyDownEnter,
+  MenuKeyDownSpaceButton: MenuKeyDownSpaceButton,
+  MenuKeyDownCharacter: MenuKeyDownCharacter,
+  MenuBlur: MenuBlur,
+  MenuMouseLeave: MenuMouseLeave$1,
+  ItemMouseMove: ItemMouseMove$1,
+  ItemClick: ItemClick$1,
+  ToggleButtonClick: ToggleButtonClick$1,
+  ToggleButtonKeyDownArrowDown: ToggleButtonKeyDownArrowDown,
+  ToggleButtonKeyDownArrowUp: ToggleButtonKeyDownArrowUp,
+  ToggleButtonKeyDownCharacter: ToggleButtonKeyDownCharacter,
+  FunctionToggleMenu: FunctionToggleMenu$1,
+  FunctionOpenMenu: FunctionOpenMenu$1,
+  FunctionCloseMenu: FunctionCloseMenu$1,
+  FunctionSetHighlightedIndex: FunctionSetHighlightedIndex$1,
+  FunctionSelectItem: FunctionSelectItem$1,
+  FunctionSetInputValue: FunctionSetInputValue$1,
+  FunctionReset: FunctionReset$2
+});

-/* harmony default export */ var tree_grid_item = (Object(external_wp_element_["forwardRef"])(function TreeGridItem(_ref, ref) {
-  let {
-    children,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(roving_tab_index_item, Object(esm_extends["a" /* default */])({
-    ref: ref
-  }, props), children);
-}));
+/* eslint-disable complexity */

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/cell.js
+function downshiftSelectReducer(state, action) {
+  var type = action.type,
+      props = action.props,
+      shiftKey = action.shiftKey;
+  var changes;

+  switch (type) {
+    case ItemClick$1:
+      changes = {
+        isOpen: getDefaultValue$1(props, 'isOpen'),
+        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
+        selectedItem: props.items[action.index]
+      };
+      break;

+    case ToggleButtonKeyDownCharacter:
+      {
+        var lowercasedKey = action.key;
+        var inputValue = "" + state.inputValue + lowercasedKey;
+        var itemIndex = getItemIndexByCharacterKey({
+          keysSoFar: inputValue,
+          highlightedIndex: state.selectedItem ? props.items.indexOf(state.selectedItem) : -1,
+          items: props.items,
+          itemToString: props.itemToString,
+          getItemNodeFromIndex: action.getItemNodeFromIndex
+        });
+        changes = extends_extends({
+          inputValue: inputValue
+        }, itemIndex >= 0 && {
+          selectedItem: props.items[itemIndex]
+        });
+      }
+      break;

-/**
- * WordPress dependencies
- */
+    case ToggleButtonKeyDownArrowDown:
+      changes = {
+        highlightedIndex: getHighlightedIndexOnOpen(props, state, 1, action.getItemNodeFromIndex),
+        isOpen: true
+      };
+      break;

-/**
- * Internal dependencies
- */
+    case ToggleButtonKeyDownArrowUp:
+      changes = {
+        highlightedIndex: getHighlightedIndexOnOpen(props, state, -1, action.getItemNodeFromIndex),
+        isOpen: true
+      };
+      break;

+    case MenuKeyDownEnter:
+    case MenuKeyDownSpaceButton:
+      changes = extends_extends({
+        isOpen: getDefaultValue$1(props, 'isOpen'),
+        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex')
+      }, state.highlightedIndex >= 0 && {
+        selectedItem: props.items[state.highlightedIndex]
+      });
+      break;

-/* harmony default export */ var tree_grid_cell = (Object(external_wp_element_["forwardRef"])(function TreeGridCell(_ref, ref) {
-  let {
-    children,
-    withoutGridItem = false,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("td", Object(esm_extends["a" /* default */])({}, props, {
-    role: "gridcell"
-  }), withoutGridItem ? children : Object(external_wp_element_["createElement"])(tree_grid_item, {
-    ref: ref
-  }, children));
-}));
+    case MenuKeyDownHome:
+      changes = {
+        highlightedIndex: getNextNonDisabledIndex(1, 0, props.items.length, action.getItemNodeFromIndex, false)
+      };
+      break;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/truncate/component.js
+    case MenuKeyDownEnd:
+      changes = {
+        highlightedIndex: getNextNonDisabledIndex(-1, props.items.length - 1, props.items.length, action.getItemNodeFromIndex, false)
+      };
+      break;

+    case MenuKeyDownEscape:
+      changes = {
+        isOpen: false,
+        highlightedIndex: -1
+      };
+      break;

+    case MenuBlur:
+      changes = {
+        isOpen: false,
+        highlightedIndex: -1
+      };
+      break;

-/**
- * Internal dependencies
- */
+    case MenuKeyDownCharacter:
+      {
+        var _lowercasedKey = action.key;

+        var _inputValue = "" + state.inputValue + _lowercasedKey;

+        var highlightedIndex = getItemIndexByCharacterKey({
+          keysSoFar: _inputValue,
+          highlightedIndex: state.highlightedIndex,
+          items: props.items,
+          itemToString: props.itemToString,
+          getItemNodeFromIndex: action.getItemNodeFromIndex
+        });
+        changes = extends_extends({
+          inputValue: _inputValue
+        }, highlightedIndex >= 0 && {
+          highlightedIndex: highlightedIndex
+        });
+      }
+      break;

-/**
- * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'span'>} props
- * @param {import('react').Ref<any>}                                                         forwardedRef
- */
+    case MenuKeyDownArrowDown:
+      changes = {
+        highlightedIndex: getNextWrappingIndex(shiftKey ? 5 : 1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation)
+      };
+      break;

-function component_Truncate(props, forwardedRef) {
-  const truncateProps = useTruncate(props);
-  return Object(external_wp_element_["createElement"])(view_component["a" /* default */], Object(esm_extends["a" /* default */])({
-    as: "span"
-  }, truncateProps, {
-    ref: forwardedRef
-  }));
-}
-/**
- * `Truncate` is a typography primitive that trims text content.
- * For almost all cases, it is recommended that `Text`, `Heading`, or
- * `Subheading` is used to render text content. However,`Truncate` is
- * available for custom implementations.
- *
- * @example
- * ```jsx
- * import { __experimentalTruncate as Truncate } from `@wordpress/components`;
- *
- * function Example() {
- * 	return (
- * 		<Truncate>
- * 			Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ex
- * 			neque, vulputate a diam et, luctus convallis lacus. Vestibulum ac
- * 			mollis mi. Morbi id elementum massa.
- * 		</Truncate>
- * 	);
- * }
- * ```
- */
+    case MenuKeyDownArrowUp:
+      changes = {
+        highlightedIndex: getNextWrappingIndex(shiftKey ? -5 : -1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation)
+      };
+      break;

+    case FunctionSelectItem$1:
+      changes = {
+        selectedItem: action.selectedItem
+      };
+      break;

-const ConnectedTruncate = Object(context_connect["a" /* contextConnect */])(component_Truncate, 'Truncate');
-/* harmony default export */ var truncate_component = (ConnectedTruncate);
+    default:
+      return downshiftCommonReducer(state, action, stateChangeTypes$2);
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/isolated-event-container/index.js
+  return extends_extends({}, state, changes);
+}
+/* eslint-enable complexity */

+var _excluded$2 = ["onMouseLeave", "refKey", "onKeyDown", "onBlur", "ref"],
+    _excluded2$2 = ["onClick", "onKeyDown", "refKey", "ref"],
+    _excluded3$1 = ["item", "index", "onMouseMove", "onClick", "refKey", "ref"];
+useSelect.stateChangeTypes = stateChangeTypes$2;

+function useSelect(userProps) {
+  if (userProps === void 0) {
+    userProps = {};
+  }

-/**
- * WordPress dependencies
- */
+  validatePropTypes$2(userProps, useSelect); // Props defaults and destructuring.

+  var props = extends_extends({}, defaultProps$2, userProps);

+  var items = props.items,
+      scrollIntoView = props.scrollIntoView,
+      environment = props.environment,
+      initialIsOpen = props.initialIsOpen,
+      defaultIsOpen = props.defaultIsOpen,
+      itemToString = props.itemToString,
+      getA11ySelectionMessage = props.getA11ySelectionMessage,
+      getA11yStatusMessage = props.getA11yStatusMessage; // Initial state depending on controlled props.

-function stopPropagation(event) {
-  event.stopPropagation();
-}
+  var initialState = getInitialState$2(props);

-/* harmony default export */ var isolated_event_container = (Object(external_wp_element_["forwardRef"])((_ref, ref) => {
-  let {
-    children,
-    ...props
-  } = _ref;
-  external_wp_deprecated_default()('wp.components.IsolatedEventContainer', {
-    since: '5.7'
-  }); // Disable reason: this stops certain events from propagating outside of the component.
-  //   - onMouseDown is disabled as this can cause interactions with other DOM elements
+  var _useControlledReducer = useControlledReducer$1(downshiftSelectReducer, initialState, props),
+      state = _useControlledReducer[0],
+      dispatch = _useControlledReducer[1];

-  /* eslint-disable jsx-a11y/no-static-element-interactions */
+  var isOpen = state.isOpen,
+      highlightedIndex = state.highlightedIndex,
+      selectedItem = state.selectedItem,
+      inputValue = state.inputValue; // Element efs.

-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, props, {
-    ref: ref,
-    onMouseDown: stopPropagation
-  }), children);
-  /* eslint-enable jsx-a11y/no-static-element-interactions */
-}));
+  var toggleButtonRef = (0,external_React_.useRef)(null);
+  var menuRef = (0,external_React_.useRef)(null);
+  var itemRefs = (0,external_React_.useRef)({}); // used not to trigger menu blur action in some scenarios.

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/index.js + 8 modules
-var slot_fill = __webpack_require__("dSD1");
+  var shouldBlurRef = (0,external_React_.useRef)(true); // used to keep the inputValue clearTimeout object between renders.

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/use-slot.js
-var use_slot = __webpack_require__("+WFq");
+  var clearTimeoutRef = (0,external_React_.useRef)(null); // prevent id re-generation between renders.

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/z-stack/styles.js
+  var elementIds = useElementIds(props); // used to keep track of how many items we had on previous cycle.

+  var previousResultCountRef = (0,external_React_.useRef)();
+  var isInitialMountRef = (0,external_React_.useRef)(true); // utility callback to get item element.

-function z_stack_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+  var latest = useLatestRef({
+    state: state,
+    props: props
+  }); // Some utils.

-/**
- * External dependencies
- */
+  var getItemNodeFromIndex = (0,external_React_.useCallback)(function (index) {
+    return itemRefs.current[elementIds.getItemId(index)];
+  }, [elementIds]); // Effects.
+  // Sets a11y status message on changes in state.

-const ZStackView = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ebn2ljm1"
-} : undefined)( true ? {
-  name: "5ob2ly",
-  styles: "display:flex;position:relative"
-} : undefined);
-const ZStackChildView = Object(emotion_styled_base_browser_esm["a" /* default */])("div",  true ? {
-  target: "ebn2ljm0"
-} : undefined)(_ref => {
-  let {
-    isLayered,
-    offsetAmount
-  } = _ref;
-  return isLayered ? /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    marginLeft: offsetAmount
-  },  true ? "" : undefined,  true ? "" : undefined) : /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    right: offsetAmount * -1
-  },  true ? "" : undefined,  true ? "" : undefined);
-}, " ", _ref2 => {
-  let {
-    isLayered
-  } = _ref2;
-  return isLayered ? positionAbsolute : positionRelative;
-}, " ", _ref3 => {
-  let {
-    zIndex
-  } = _ref3;
-  return /*#__PURE__*/Object(emotion_react_browser_esm["a" /* css */])({
-    zIndex
-  },  true ? "" : undefined,  true ? "" : undefined);
-}, ";" + ( true ? "" : undefined));
-const positionAbsolute =  true ? {
-  name: "a4hmbt",
-  styles: "position:absolute"
-} : undefined;
-const positionRelative =  true ? {
-  name: "bjn8wh",
-  styles: "position:relative"
-} : undefined;
+  useA11yMessageSetter(getA11yStatusMessage, [isOpen, highlightedIndex, inputValue, items], extends_extends({
+    isInitialMount: isInitialMountRef.current,
+    previousResultCount: previousResultCountRef.current,
+    items: items,
+    environment: environment,
+    itemToString: itemToString
+  }, state)); // Sets a11y status message on changes in selectedItem.

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/z-stack/component.js
+  useA11yMessageSetter(getA11ySelectionMessage, [selectedItem], extends_extends({
+    isInitialMount: isInitialMountRef.current,
+    previousResultCount: previousResultCountRef.current,
+    items: items,
+    environment: environment,
+    itemToString: itemToString
+  }, state)); // Scroll on highlighted item if change comes from keyboard.

+  var shouldScrollRef = useScrollIntoView({
+    menuElement: menuRef.current,
+    highlightedIndex: highlightedIndex,
+    isOpen: isOpen,
+    itemRefs: itemRefs,
+    scrollIntoView: scrollIntoView,
+    getItemNodeFromIndex: getItemNodeFromIndex
+  }); // Sets cleanup for the keysSoFar callback, debounded after 500ms.

+  (0,external_React_.useEffect)(function () {
+    // init the clean function here as we need access to dispatch.
+    clearTimeoutRef.current = downshift_esm_debounce(function (outerDispatch) {
+      outerDispatch({
+        type: FunctionSetInputValue$1,
+        inputValue: ''
+      });
+    }, 500); // Cancel any pending debounced calls on mount

-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+    return function () {
+      clearTimeoutRef.current.cancel();
+    };
+  }, []); // Invokes the keysSoFar callback set up above.

-/**
- * WordPress dependencies
- */
+  (0,external_React_.useEffect)(function () {
+    if (!inputValue) {
+      return;
+    }

-/**
- * Internal dependencies
- */
+    clearTimeoutRef.current(dispatch);
+  }, [dispatch, inputValue]);
+  useControlPropsValidator({
+    isInitialMount: isInitialMountRef.current,
+    props: props,
+    state: state
+  });
+  /* Controls the focus on the menu or the toggle button. */

+  (0,external_React_.useEffect)(function () {
+    // Don't focus menu on first render.
+    if (isInitialMountRef.current) {
+      // Unless it was initialised as open.
+      if ((initialIsOpen || defaultIsOpen || isOpen) && menuRef.current) {
+        menuRef.current.focus();
+      }

+      return;
+    } // Focus menu on open.


+    if (isOpen) {
+      // istanbul ignore else
+      if (menuRef.current) {
+        menuRef.current.focus();
+      }

-function ZStack(props, forwardedRef) {
-  const {
-    children,
-    className,
-    isLayered = true,
-    isReversed = false,
-    offset = 0,
-    ...otherProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'ZStack');
-  const validChildren = getValidChildren(children);
-  const childrenLastIndex = validChildren.length - 1;
-  const clonedChildren = validChildren.map((child, index) => {
-    const zIndex = isReversed ? childrenLastIndex - index : index;
-    const offsetAmount = offset * index;
-    const key = Object(external_wp_element_["isValidElement"])(child) ? child.key : index;
-    return Object(external_wp_element_["createElement"])(ZStackChildView, {
-      isLayered: isLayered,
-      offsetAmount: offsetAmount,
-      zIndex: zIndex,
-      key: key
-    }, child);
-  });
-  return Object(external_wp_element_["createElement"])(ZStackView, Object(esm_extends["a" /* default */])({}, otherProps, {
-    className: className,
-    ref: forwardedRef
-  }), clonedChildren);
-}
+      return;
+    } // Focus toggleButton on close, but not if it was closed with (Shift+)Tab.

-/* harmony default export */ var z_stack_component = (Object(context_connect["a" /* contextConnect */])(ZStack, 'ZStack'));

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/navigate-regions/index.js
+    if (environment.document.activeElement === menuRef.current) {
+      // istanbul ignore else
+      if (toggleButtonRef.current) {
+        shouldBlurRef.current = false;
+        toggleButtonRef.current.focus();
+      }
+    } // eslint-disable-next-line react-hooks/exhaustive-deps

+  }, [isOpen]);
+  (0,external_React_.useEffect)(function () {
+    if (isInitialMountRef.current) {
+      return;
+    }

-/**
- * WordPress dependencies
- */
+    previousResultCountRef.current = items.length;
+  }); // Add mouse/touch events to document.

+  var mouseAndTouchTrackersRef = useMouseAndTouchTracker(isOpen, [menuRef, toggleButtonRef], environment, function () {
+    dispatch({
+      type: MenuBlur
+    });
+  });
+  var setGetterPropCallInfo = useGetterPropsCalledChecker('getMenuProps', 'getToggleButtonProps'); // Make initial ref false.

+  (0,external_React_.useEffect)(function () {
+    isInitialMountRef.current = false;
+  }, []); // Reset itemRefs on close.

-const defaultShortcuts = {
-  previous: [{
-    modifier: 'ctrlShift',
-    character: '`'
-  }, {
-    modifier: 'access',
-    character: 'p'
-  }],
-  next: [{
-    modifier: 'ctrl',
-    character: '`'
-  }, {
-    modifier: 'access',
-    character: 'n'
-  }]
-};
-function useNavigateRegions() {
-  let shortcuts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultShortcuts;
-  const ref = Object(external_wp_element_["useRef"])();
-  const [isFocusingRegions, setIsFocusingRegions] = Object(external_wp_element_["useState"])(false);
+  (0,external_React_.useEffect)(function () {
+    if (!isOpen) {
+      itemRefs.current = {};
+    }
+  }, [isOpen]); // Event handler functions.

-  function focusRegion(offset) {
-    const regions = Array.from(ref.current.querySelectorAll('[role="region"]'));
+  var toggleButtonKeyDownHandlers = (0,external_React_.useMemo)(function () {
+    return {
+      ArrowDown: function ArrowDown(event) {
+        event.preventDefault();
+        dispatch({
+          type: ToggleButtonKeyDownArrowDown,
+          getItemNodeFromIndex: getItemNodeFromIndex,
+          shiftKey: event.shiftKey
+        });
+      },
+      ArrowUp: function ArrowUp(event) {
+        event.preventDefault();
+        dispatch({
+          type: ToggleButtonKeyDownArrowUp,
+          getItemNodeFromIndex: getItemNodeFromIndex,
+          shiftKey: event.shiftKey
+        });
+      }
+    };
+  }, [dispatch, getItemNodeFromIndex]);
+  var menuKeyDownHandlers = (0,external_React_.useMemo)(function () {
+    return {
+      ArrowDown: function ArrowDown(event) {
+        event.preventDefault();
+        dispatch({
+          type: MenuKeyDownArrowDown,
+          getItemNodeFromIndex: getItemNodeFromIndex,
+          shiftKey: event.shiftKey
+        });
+      },
+      ArrowUp: function ArrowUp(event) {
+        event.preventDefault();
+        dispatch({
+          type: MenuKeyDownArrowUp,
+          getItemNodeFromIndex: getItemNodeFromIndex,
+          shiftKey: event.shiftKey
+        });
+      },
+      Home: function Home(event) {
+        event.preventDefault();
+        dispatch({
+          type: MenuKeyDownHome,
+          getItemNodeFromIndex: getItemNodeFromIndex
+        });
+      },
+      End: function End(event) {
+        event.preventDefault();
+        dispatch({
+          type: MenuKeyDownEnd,
+          getItemNodeFromIndex: getItemNodeFromIndex
+        });
+      },
+      Escape: function Escape() {
+        dispatch({
+          type: MenuKeyDownEscape
+        });
+      },
+      Enter: function Enter(event) {
+        event.preventDefault();
+        dispatch({
+          type: MenuKeyDownEnter
+        });
+      },
+      ' ': function _(event) {
+        event.preventDefault();
+        dispatch({
+          type: MenuKeyDownSpaceButton
+        });
+      }
+    };
+  }, [dispatch, getItemNodeFromIndex]); // Action functions.

-    if (!regions.length) {
-      return;
-    }
+  var toggleMenu = (0,external_React_.useCallback)(function () {
+    dispatch({
+      type: FunctionToggleMenu$1
+    });
+  }, [dispatch]);
+  var closeMenu = (0,external_React_.useCallback)(function () {
+    dispatch({
+      type: FunctionCloseMenu$1
+    });
+  }, [dispatch]);
+  var openMenu = (0,external_React_.useCallback)(function () {
+    dispatch({
+      type: FunctionOpenMenu$1
+    });
+  }, [dispatch]);
+  var setHighlightedIndex = (0,external_React_.useCallback)(function (newHighlightedIndex) {
+    dispatch({
+      type: FunctionSetHighlightedIndex$1,
+      highlightedIndex: newHighlightedIndex
+    });
+  }, [dispatch]);
+  var selectItem = (0,external_React_.useCallback)(function (newSelectedItem) {
+    dispatch({
+      type: FunctionSelectItem$1,
+      selectedItem: newSelectedItem
+    });
+  }, [dispatch]);
+  var reset = (0,external_React_.useCallback)(function () {
+    dispatch({
+      type: FunctionReset$2
+    });
+  }, [dispatch]);
+  var setInputValue = (0,external_React_.useCallback)(function (newInputValue) {
+    dispatch({
+      type: FunctionSetInputValue$1,
+      inputValue: newInputValue
+    });
+  }, [dispatch]); // Getter functions.

-    let nextRegion = regions[0];
-    const selectedIndex = regions.indexOf(ref.current.ownerDocument.activeElement);
+  var getLabelProps = (0,external_React_.useCallback)(function (labelProps) {
+    return extends_extends({
+      id: elementIds.labelId,
+      htmlFor: elementIds.toggleButtonId
+    }, labelProps);
+  }, [elementIds]);
+  var getMenuProps = (0,external_React_.useCallback)(function (_temp, _temp2) {
+    var _extends2;

-    if (selectedIndex !== -1) {
-      let nextIndex = selectedIndex + offset;
-      nextIndex = nextIndex === -1 ? regions.length - 1 : nextIndex;
-      nextIndex = nextIndex === regions.length ? 0 : nextIndex;
-      nextRegion = regions[nextIndex];
-    }
+    var _ref = _temp === void 0 ? {} : _temp,
+        onMouseLeave = _ref.onMouseLeave,
+        _ref$refKey = _ref.refKey,
+        refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey,
+        onKeyDown = _ref.onKeyDown,
+        onBlur = _ref.onBlur,
+        ref = _ref.ref,
+        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref, _excluded$2);

-    nextRegion.focus();
-    setIsFocusingRegions(true);
-  }
+    var _ref2 = _temp2 === void 0 ? {} : _temp2,
+        _ref2$suppressRefErro = _ref2.suppressRefError,
+        suppressRefError = _ref2$suppressRefErro === void 0 ? false : _ref2$suppressRefErro;

-  const clickRef = Object(external_wp_compose_["useRefEffect"])(element => {
-    function onClick() {
-      setIsFocusingRegions(false);
-    }
+    var latestState = latest.current.state;

-    element.addEventListener('click', onClick);
-    return () => {
-      element.removeEventListener('click', onClick);
+    var menuHandleKeyDown = function menuHandleKeyDown(event) {
+      var key = normalizeArrowKey(event);
+
+      if (key && menuKeyDownHandlers[key]) {
+        menuKeyDownHandlers[key](event);
+      } else if (isAcceptedCharacterKey(key)) {
+        dispatch({
+          type: MenuKeyDownCharacter,
+          key: key,
+          getItemNodeFromIndex: getItemNodeFromIndex
+        });
+      }
     };
-  }, [setIsFocusingRegions]);
-  return {
-    ref: Object(external_wp_compose_["useMergeRefs"])([ref, clickRef]),
-    className: isFocusingRegions ? 'is-focusing-regions' : '',

-    onKeyDown(event) {
-      if (shortcuts.previous.some(_ref => {
-        let {
-          modifier,
-          character
-        } = _ref;
-        return external_wp_keycodes_["isKeyboardEvent"][modifier](event, character);
-      })) {
-        focusRegion(-1);
-      } else if (shortcuts.next.some(_ref2 => {
-        let {
-          modifier,
-          character
-        } = _ref2;
-        return external_wp_keycodes_["isKeyboardEvent"][modifier](event, character);
-      })) {
-        focusRegion(1);
+    var menuHandleBlur = function menuHandleBlur() {
+      // if the blur was a result of selection, we don't trigger this action.
+      if (shouldBlurRef.current === false) {
+        shouldBlurRef.current = true;
+        return;
       }
-    }

-  };
-}
-/* harmony default export */ var navigate_regions = (Object(external_wp_compose_["createHigherOrderComponent"])(Component => _ref3 => {
-  let {
-    shortcuts,
-    ...props
-  } = _ref3;
-  return Object(external_wp_element_["createElement"])("div", useNavigateRegions(shortcuts), Object(external_wp_element_["createElement"])(Component, props));
-}, 'navigateRegions'));
+      var shouldBlur = !mouseAndTouchTrackersRef.current.isMouseDown;
+      /* istanbul ignore else */
+
+      if (shouldBlur) {
+        dispatch({
+          type: MenuBlur
+        });
+      }
+    };

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js
+    var menuHandleMouseLeave = function menuHandleMouseLeave() {
+      dispatch({
+        type: MenuMouseLeave$1
+      });
+    };

+    setGetterPropCallInfo('getMenuProps', suppressRefError, refKey, menuRef);
+    return extends_extends((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function (menuNode) {
+      menuRef.current = menuNode;
+    }), _extends2.id = elementIds.menuId, _extends2.role = 'listbox', _extends2['aria-labelledby'] = elementIds.labelId, _extends2.tabIndex = -1, _extends2), latestState.isOpen && latestState.highlightedIndex > -1 && {
+      'aria-activedescendant': elementIds.getItemId(latestState.highlightedIndex)
+    }, {
+      onMouseLeave: callAllEventHandlers(onMouseLeave, menuHandleMouseLeave),
+      onKeyDown: callAllEventHandlers(onKeyDown, menuHandleKeyDown),
+      onBlur: callAllEventHandlers(onBlur, menuHandleBlur)
+    }, rest);
+  }, [dispatch, latest, menuKeyDownHandlers, mouseAndTouchTrackersRef, setGetterPropCallInfo, elementIds, getItemNodeFromIndex]);
+  var getToggleButtonProps = (0,external_React_.useCallback)(function (_temp3, _temp4) {
+    var _extends3;

-/**
- * WordPress dependencies
- */
+    var _ref3 = _temp3 === void 0 ? {} : _temp3,
+        onClick = _ref3.onClick,
+        onKeyDown = _ref3.onKeyDown,
+        _ref3$refKey = _ref3.refKey,
+        refKey = _ref3$refKey === void 0 ? 'ref' : _ref3$refKey,
+        ref = _ref3.ref,
+        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref3, _excluded2$2);

-const withConstrainedTabbing = Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => function ComponentWithConstrainedTabbing(props) {
-  const ref = Object(external_wp_compose_["useConstrainedTabbing"])();
-  return Object(external_wp_element_["createElement"])("div", {
-    ref: ref,
-    tabIndex: "-1"
-  }, Object(external_wp_element_["createElement"])(WrappedComponent, props));
-}, 'withConstrainedTabbing');
-/* harmony default export */ var with_constrained_tabbing = (withConstrainedTabbing);
+    var _ref4 = _temp4 === void 0 ? {} : _temp4,
+        _ref4$suppressRefErro = _ref4.suppressRefError,
+        suppressRefError = _ref4$suppressRefErro === void 0 ? false : _ref4$suppressRefErro;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-fallback-styles/index.js
+    var toggleButtonHandleClick = function toggleButtonHandleClick() {
+      dispatch({
+        type: ToggleButtonClick$1
+      });
+    };

+    var toggleButtonHandleKeyDown = function toggleButtonHandleKeyDown(event) {
+      var key = normalizeArrowKey(event);

+      if (key && toggleButtonKeyDownHandlers[key]) {
+        toggleButtonKeyDownHandlers[key](event);
+      } else if (isAcceptedCharacterKey(key)) {
+        dispatch({
+          type: ToggleButtonKeyDownCharacter,
+          key: key,
+          getItemNodeFromIndex: getItemNodeFromIndex
+        });
+      }
+    };

-/**
- * External dependencies
- */
+    var toggleProps = extends_extends((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function (toggleButtonNode) {
+      toggleButtonRef.current = toggleButtonNode;
+    }), _extends3.id = elementIds.toggleButtonId, _extends3['aria-haspopup'] = 'listbox', _extends3['aria-expanded'] = latest.current.state.isOpen, _extends3['aria-labelledby'] = elementIds.labelId + " " + elementIds.toggleButtonId, _extends3), rest);

-/**
- * WordPress dependencies
- */
+    if (!rest.disabled) {
+      toggleProps.onClick = callAllEventHandlers(onClick, toggleButtonHandleClick);
+      toggleProps.onKeyDown = callAllEventHandlers(onKeyDown, toggleButtonHandleKeyDown);
+    }

+    setGetterPropCallInfo('getToggleButtonProps', suppressRefError, refKey, toggleButtonRef);
+    return toggleProps;
+  }, [dispatch, latest, toggleButtonKeyDownHandlers, setGetterPropCallInfo, elementIds, getItemNodeFromIndex]);
+  var getItemProps = (0,external_React_.useCallback)(function (_temp5) {
+    var _extends4;

+    var _ref5 = _temp5 === void 0 ? {} : _temp5,
+        item = _ref5.item,
+        index = _ref5.index,
+        onMouseMove = _ref5.onMouseMove,
+        onClick = _ref5.onClick,
+        _ref5$refKey = _ref5.refKey,
+        refKey = _ref5$refKey === void 0 ? 'ref' : _ref5$refKey,
+        ref = _ref5.ref,
+        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref5, _excluded3$1);

-/* harmony default export */ var with_fallback_styles = (mapNodeToProps => Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => {
-  return class extends external_wp_element_["Component"] {
-    constructor() {
-      super(...arguments);
-      this.nodeRef = this.props.node;
-      this.state = {
-        fallbackStyles: undefined,
-        grabStylesCompleted: false
-      };
-      this.bindRef = this.bindRef.bind(this);
-    }
+    var _latest$current = latest.current,
+        latestState = _latest$current.state,
+        latestProps = _latest$current.props;

-    bindRef(node) {
-      if (!node) {
+    var itemHandleMouseMove = function itemHandleMouseMove() {
+      if (index === latestState.highlightedIndex) {
         return;
       }

-      this.nodeRef = node;
-    }
-
-    componentDidMount() {
-      this.grabFallbackStyles();
-    }
+      shouldScrollRef.current = false;
+      dispatch({
+        type: ItemMouseMove$1,
+        index: index
+      });
+    };

-    componentDidUpdate() {
-      this.grabFallbackStyles();
-    }
+    var itemHandleClick = function itemHandleClick() {
+      dispatch({
+        type: ItemClick$1,
+        index: index
+      });
+    };

-    grabFallbackStyles() {
-      const {
-        grabStylesCompleted,
-        fallbackStyles
-      } = this.state;
+    var itemIndex = getItemIndex(index, item, latestProps.items);

-      if (this.nodeRef && !grabStylesCompleted) {
-        const newFallbackStyles = mapNodeToProps(this.nodeRef, this.props);
+    if (itemIndex < 0) {
+      throw new Error('Pass either item or item index in getItemProps!');
+    }

-        if (!Object(external_lodash_["isEqual"])(newFallbackStyles, fallbackStyles)) {
-          this.setState({
-            fallbackStyles: newFallbackStyles,
-            grabStylesCompleted: !!Object(external_lodash_["every"])(newFallbackStyles)
-          });
-        }
+    var itemProps = extends_extends((_extends4 = {
+      role: 'option',
+      'aria-selected': "" + (itemIndex === latestState.highlightedIndex),
+      id: elementIds.getItemId(itemIndex)
+    }, _extends4[refKey] = handleRefs(ref, function (itemNode) {
+      if (itemNode) {
+        itemRefs.current[elementIds.getItemId(itemIndex)] = itemNode;
       }
-    }
+    }), _extends4), rest);

-    render() {
-      const wrappedComponent = Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, this.props, this.state.fallbackStyles));
-      return this.props.node ? wrappedComponent : Object(external_wp_element_["createElement"])("div", {
-        ref: this.bindRef
-      }, " ", wrappedComponent, " ");
+    if (!rest.disabled) {
+      itemProps.onMouseMove = callAllEventHandlers(onMouseMove, itemHandleMouseMove);
+      itemProps.onClick = callAllEventHandlers(onClick, itemHandleClick);
     }

+    return itemProps;
+  }, [dispatch, latest, shouldScrollRef, elementIds]);
+  return {
+    // prop getters.
+    getToggleButtonProps: getToggleButtonProps,
+    getLabelProps: getLabelProps,
+    getMenuProps: getMenuProps,
+    getItemProps: getItemProps,
+    // actions.
+    toggleMenu: toggleMenu,
+    openMenu: openMenu,
+    closeMenu: closeMenu,
+    setHighlightedIndex: setHighlightedIndex,
+    selectItem: selectItem,
+    reset: reset,
+    setInputValue: setInputValue,
+    // state.
+    highlightedIndex: highlightedIndex,
+    isOpen: isOpen,
+    selectedItem: selectedItem,
+    inputValue: inputValue
   };
-}, 'withFallbackStyles'));
-
-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-filters/index.js
-
+}

-/**
- * External dependencies
- */
+var InputKeyDownArrowDown =  false ? 0 : 0;
+var InputKeyDownArrowUp =  false ? 0 : 1;
+var InputKeyDownEscape =  false ? 0 : 2;
+var InputKeyDownHome =  false ? 0 : 3;
+var InputKeyDownEnd =  false ? 0 : 4;
+var InputKeyDownEnter =  false ? 0 : 5;
+var InputChange =  false ? 0 : 6;
+var InputBlur =  false ? 0 : 7;
+var MenuMouseLeave =  false ? 0 : 8;
+var ItemMouseMove =  false ? 0 : 9;
+var ItemClick =  false ? 0 : 10;
+var ToggleButtonClick =  false ? 0 : 11;
+var FunctionToggleMenu =  false ? 0 : 12;
+var FunctionOpenMenu =  false ? 0 : 13;
+var FunctionCloseMenu =  false ? 0 : 14;
+var FunctionSetHighlightedIndex =  false ? 0 : 15;
+var FunctionSelectItem =  false ? 0 : 16;
+var FunctionSetInputValue =  false ? 0 : 17;
+var FunctionReset$1 =  false ? 0 : 18;
+var ControlledPropUpdatedSelectedItem =  false ? 0 : 19;

-/**
- * WordPress dependencies
- */
+var stateChangeTypes$1 = /*#__PURE__*/Object.freeze({
+  __proto__: null,
+  InputKeyDownArrowDown: InputKeyDownArrowDown,
+  InputKeyDownArrowUp: InputKeyDownArrowUp,
+  InputKeyDownEscape: InputKeyDownEscape,
+  InputKeyDownHome: InputKeyDownHome,
+  InputKeyDownEnd: InputKeyDownEnd,
+  InputKeyDownEnter: InputKeyDownEnter,
+  InputChange: InputChange,
+  InputBlur: InputBlur,
+  MenuMouseLeave: MenuMouseLeave,
+  ItemMouseMove: ItemMouseMove,
+  ItemClick: ItemClick,
+  ToggleButtonClick: ToggleButtonClick,
+  FunctionToggleMenu: FunctionToggleMenu,
+  FunctionOpenMenu: FunctionOpenMenu,
+  FunctionCloseMenu: FunctionCloseMenu,
+  FunctionSetHighlightedIndex: FunctionSetHighlightedIndex,
+  FunctionSelectItem: FunctionSelectItem,
+  FunctionSetInputValue: FunctionSetInputValue,
+  FunctionReset: FunctionReset$1,
+  ControlledPropUpdatedSelectedItem: ControlledPropUpdatedSelectedItem
+});

+function getInitialState$1(props) {
+  var initialState = getInitialState$2(props);
+  var selectedItem = initialState.selectedItem;
+  var inputValue = initialState.inputValue;

+  if (inputValue === '' && selectedItem && props.defaultInputValue === undefined && props.initialInputValue === undefined && props.inputValue === undefined) {
+    inputValue = props.itemToString(selectedItem);
+  }

+  return extends_extends({}, initialState, {
+    inputValue: inputValue
+  });
+}

-const ANIMATION_FRAME_PERIOD = 16;
+var propTypes$1 = {
+  items: (prop_types_default()).array.isRequired,
+  itemToString: (prop_types_default()).func,
+  getA11yStatusMessage: (prop_types_default()).func,
+  getA11ySelectionMessage: (prop_types_default()).func,
+  circularNavigation: (prop_types_default()).bool,
+  highlightedIndex: (prop_types_default()).number,
+  defaultHighlightedIndex: (prop_types_default()).number,
+  initialHighlightedIndex: (prop_types_default()).number,
+  isOpen: (prop_types_default()).bool,
+  defaultIsOpen: (prop_types_default()).bool,
+  initialIsOpen: (prop_types_default()).bool,
+  selectedItem: (prop_types_default()).any,
+  initialSelectedItem: (prop_types_default()).any,
+  defaultSelectedItem: (prop_types_default()).any,
+  inputValue: (prop_types_default()).string,
+  defaultInputValue: (prop_types_default()).string,
+  initialInputValue: (prop_types_default()).string,
+  id: (prop_types_default()).string,
+  labelId: (prop_types_default()).string,
+  menuId: (prop_types_default()).string,
+  getItemId: (prop_types_default()).func,
+  inputId: (prop_types_default()).string,
+  toggleButtonId: (prop_types_default()).string,
+  stateReducer: (prop_types_default()).func,
+  onSelectedItemChange: (prop_types_default()).func,
+  onHighlightedIndexChange: (prop_types_default()).func,
+  onStateChange: (prop_types_default()).func,
+  onIsOpenChange: (prop_types_default()).func,
+  onInputValueChange: (prop_types_default()).func,
+  environment: prop_types_default().shape({
+    addEventListener: (prop_types_default()).func,
+    removeEventListener: (prop_types_default()).func,
+    document: prop_types_default().shape({
+      getElementById: (prop_types_default()).func,
+      activeElement: (prop_types_default()).any,
+      body: (prop_types_default()).any
+    })
+  })
+};
 /**
- * Creates a higher-order component which adds filtering capability to the
- * wrapped component. Filters get applied when the original component is about
- * to be mounted. When a filter is added or removed that matches the hook name,
- * the wrapped component re-renders.
- *
- * @param {string} hookName Hook name exposed to be used by filters.
+ * The useCombobox version of useControlledReducer, which also
+ * checks if the controlled prop selectedItem changed between
+ * renders. If so, it will also update inputValue with its
+ * string equivalent. It uses the common useEnhancedReducer to
+ * compute the rest of the state.
  *
- * @return {Function} Higher-order component factory.
+ * @param {Function} reducer Reducer function from downshift.
+ * @param {Object} initialState Initial state of the hook.
+ * @param {Object} props The hook props.
+ * @returns {Array} An array with the state and an action dispatcher.
  */

-function withFilters(hookName) {
-  return Object(external_wp_compose_["createHigherOrderComponent"])(OriginalComponent => {
-    const namespace = 'core/with-filters/' + hookName;
-    /**
-     * The component definition with current filters applied. Each instance
-     * reuse this shared reference as an optimization to avoid excessive
-     * calls to `applyFilters` when many instances exist.
-     *
-     * @type {?Component}
-     */
+function useControlledReducer(reducer, initialState, props) {
+  var previousSelectedItemRef = (0,external_React_.useRef)();

-    let FilteredComponent;
-    /**
-     * Initializes the FilteredComponent variable once, if not already
-     * assigned. Subsequent calls are effectively a noop.
-     */
+  var _useEnhancedReducer = useEnhancedReducer(reducer, initialState, props),
+      state = _useEnhancedReducer[0],
+      dispatch = _useEnhancedReducer[1]; // ToDo: if needed, make same approach as selectedItemChanged from Downshift.

-    function ensureFilteredComponent() {
-      if (FilteredComponent === undefined) {
-        FilteredComponent = Object(external_wp_hooks_["applyFilters"])(hookName, OriginalComponent);
+
+  (0,external_React_.useEffect)(function () {
+    if (isControlledProp(props, 'selectedItem')) {
+      if (previousSelectedItemRef.current !== props.selectedItem) {
+        dispatch({
+          type: ControlledPropUpdatedSelectedItem,
+          inputValue: props.itemToString(props.selectedItem)
+        });
       }
+
+      previousSelectedItemRef.current = state.selectedItem === previousSelectedItemRef.current ? props.selectedItem : state.selectedItem;
     }
+  });
+  return [getState(state, props), dispatch];
+} // eslint-disable-next-line import/no-mutable-exports

-    class FilteredComponentRenderer extends external_wp_element_["Component"] {
-      constructor() {
-        super(...arguments);
-        ensureFilteredComponent();
-      }

-      componentDidMount() {
-        FilteredComponentRenderer.instances.push(this); // If there were previously no mounted instances for components
-        // filtered on this hook, add the hook handler.
+var validatePropTypes$1 = downshift_esm_noop;
+/* istanbul ignore next */

-        if (FilteredComponentRenderer.instances.length === 1) {
-          Object(external_wp_hooks_["addAction"])('hookRemoved', namespace, onHooksUpdated);
-          Object(external_wp_hooks_["addAction"])('hookAdded', namespace, onHooksUpdated);
-        }
-      }
+if (false) {}

-      componentWillUnmount() {
-        FilteredComponentRenderer.instances = Object(external_lodash_["without"])(FilteredComponentRenderer.instances, this); // If this was the last of the mounted components filtered on
-        // this hook, remove the hook handler.
+var defaultProps$1 = extends_extends({}, defaultProps$3, {
+  getA11yStatusMessage: getA11yStatusMessage$1,
+  circularNavigation: true
+});

-        if (FilteredComponentRenderer.instances.length === 0) {
-          Object(external_wp_hooks_["removeAction"])('hookRemoved', namespace);
-          Object(external_wp_hooks_["removeAction"])('hookAdded', namespace);
-        }
-      }
+/* eslint-disable complexity */

-      render() {
-        return Object(external_wp_element_["createElement"])(FilteredComponent, this.props);
+function downshiftUseComboboxReducer(state, action) {
+  var type = action.type,
+      props = action.props,
+      shiftKey = action.shiftKey;
+  var changes;
+
+  switch (type) {
+    case ItemClick:
+      changes = {
+        isOpen: getDefaultValue$1(props, 'isOpen'),
+        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
+        selectedItem: props.items[action.index],
+        inputValue: props.itemToString(props.items[action.index])
+      };
+      break;
+
+    case InputKeyDownArrowDown:
+      if (state.isOpen) {
+        changes = {
+          highlightedIndex: getNextWrappingIndex(shiftKey ? 5 : 1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation)
+        };
+      } else {
+        changes = {
+          highlightedIndex: getHighlightedIndexOnOpen(props, state, 1, action.getItemNodeFromIndex),
+          isOpen: props.items.length >= 0
+        };
       }

-    }
+      break;

-    FilteredComponentRenderer.instances = [];
-    /**
-     * Updates the FilteredComponent definition, forcing a render for each
-     * mounted instance. This occurs a maximum of once per animation frame.
-     */
+    case InputKeyDownArrowUp:
+      if (state.isOpen) {
+        changes = {
+          highlightedIndex: getNextWrappingIndex(shiftKey ? -5 : -1, state.highlightedIndex, props.items.length, action.getItemNodeFromIndex, props.circularNavigation)
+        };
+      } else {
+        changes = {
+          highlightedIndex: getHighlightedIndexOnOpen(props, state, -1, action.getItemNodeFromIndex),
+          isOpen: props.items.length >= 0
+        };
+      }

-    const throttledForceUpdate = Object(external_lodash_["debounce"])(() => {
-      // Recreate the filtered component, only after delay so that it's
-      // computed once, even if many filters added.
-      FilteredComponent = Object(external_wp_hooks_["applyFilters"])(hookName, OriginalComponent); // Force each instance to render.
+      break;

-      FilteredComponentRenderer.instances.forEach(instance => {
-        instance.forceUpdate();
+    case InputKeyDownEnter:
+      changes = extends_extends({}, state.isOpen && state.highlightedIndex >= 0 && {
+        selectedItem: props.items[state.highlightedIndex],
+        isOpen: getDefaultValue$1(props, 'isOpen'),
+        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
+        inputValue: props.itemToString(props.items[state.highlightedIndex])
       });
-    }, ANIMATION_FRAME_PERIOD);
-    /**
-     * When a filter is added or removed for the matching hook name, each
-     * mounted instance should re-render with the new filters having been
-     * applied to the original component.
-     *
-     * @param {string} updatedHookName Name of the hook that was updated.
-     */
+      break;

-    function onHooksUpdated(updatedHookName) {
-      if (updatedHookName === hookName) {
-        throttledForceUpdate();
-      }
-    }
+    case InputKeyDownEscape:
+      changes = extends_extends({
+        isOpen: false,
+        highlightedIndex: -1
+      }, !state.isOpen && {
+        selectedItem: null,
+        inputValue: ''
+      });
+      break;

-    return FilteredComponentRenderer;
-  }, 'withFilters');
-}
+    case InputKeyDownHome:
+      changes = {
+        highlightedIndex: getNextNonDisabledIndex(1, 0, props.items.length, action.getItemNodeFromIndex, false)
+      };
+      break;

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js
+    case InputKeyDownEnd:
+      changes = {
+        highlightedIndex: getNextNonDisabledIndex(-1, props.items.length - 1, props.items.length, action.getItemNodeFromIndex, false)
+      };
+      break;

+    case InputBlur:
+      changes = extends_extends({
+        isOpen: false,
+        highlightedIndex: -1
+      }, state.highlightedIndex >= 0 && action.selectItem && {
+        selectedItem: props.items[state.highlightedIndex],
+        inputValue: props.itemToString(props.items[state.highlightedIndex])
+      });
+      break;

-/**
- * WordPress dependencies
- */
+    case InputChange:
+      changes = {
+        isOpen: true,
+        highlightedIndex: getDefaultValue$1(props, 'highlightedIndex'),
+        inputValue: action.inputValue
+      };
+      break;

+    case FunctionSelectItem:
+      changes = {
+        selectedItem: action.selectedItem,
+        inputValue: props.itemToString(action.selectedItem)
+      };
+      break;

+    case ControlledPropUpdatedSelectedItem:
+      changes = {
+        inputValue: action.inputValue
+      };
+      break;

-/**
- * Returns true if the given object is component-like. An object is component-
- * like if it is an instance of wp.element.Component, or is a function.
- *
- * @param {*} object Object to test.
- *
- * @return {boolean} Whether object is component-like.
- */
+    default:
+      return downshiftCommonReducer(state, action, stateChangeTypes$1);
+  }

-function isComponentLike(object) {
-  return object instanceof external_wp_element_["Component"] || typeof object === 'function';
+  return extends_extends({}, state, changes);
 }
-/**
- * Higher Order Component used to be used to wrap disposable elements like
- * sidebars, modals, dropdowns. When mounting the wrapped component, we track a
- * reference to the current active element so we know where to restore focus
- * when the component is unmounted.
- *
- * @param {(WPComponent|Object)} options The component to be enhanced with
- *                                       focus return behavior, or an object
- *                                       describing the component and the
- *                                       focus return characteristics.
- *
- * @return {Function} Higher Order Component with the focus restauration behaviour.
- */
+/* eslint-enable complexity */

+var _excluded$1 = ["onMouseLeave", "refKey", "ref"],
+    _excluded2$1 = ["item", "index", "refKey", "ref", "onMouseMove", "onClick", "onPress"],
+    _excluded3 = ["onClick", "onPress", "refKey", "ref"],
+    _excluded4 = ["onKeyDown", "onChange", "onInput", "onBlur", "onChangeText", "refKey", "ref"],
+    _excluded5 = ["refKey", "ref"];
+useCombobox.stateChangeTypes = stateChangeTypes$1;

-/* harmony default export */ var with_focus_return = (Object(external_wp_compose_["createHigherOrderComponent"])(options => {
-  const HoC = function () {
-    let {
-      onFocusReturn
-    } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    return WrappedComponent => {
-      const WithFocusReturn = props => {
-        const ref = Object(external_wp_compose_["useFocusReturn"])(onFocusReturn);
-        return Object(external_wp_element_["createElement"])("div", {
-          ref: ref
-        }, Object(external_wp_element_["createElement"])(WrappedComponent, props));
-      };
+function useCombobox(userProps) {
+  if (userProps === void 0) {
+    userProps = {};
+  }

-      return WithFocusReturn;
-    };
-  };
+  validatePropTypes$1(userProps, useCombobox); // Props defaults and destructuring.

-  if (isComponentLike(options)) {
-    const WrappedComponent = options;
-    return HoC()(WrappedComponent);
-  }
+  var props = extends_extends({}, defaultProps$1, userProps);

-  return HoC(options);
-}, 'withFocusReturn'));
-const with_focus_return_Provider = _ref => {
-  let {
-    children
-  } = _ref;
-  external_wp_deprecated_default()('wp.components.FocusReturnProvider component', {
-    since: '5.7',
-    hint: 'This provider is not used anymore. You can just remove it from your codebase'
-  });
-  return children;
-};
+  var initialIsOpen = props.initialIsOpen,
+      defaultIsOpen = props.defaultIsOpen,
+      items = props.items,
+      scrollIntoView = props.scrollIntoView,
+      environment = props.environment,
+      getA11yStatusMessage = props.getA11yStatusMessage,
+      getA11ySelectionMessage = props.getA11ySelectionMessage,
+      itemToString = props.itemToString; // Initial state depending on controlled props.

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-notices/index.js
+  var initialState = getInitialState$1(props);

+  var _useControlledReducer = useControlledReducer(downshiftUseComboboxReducer, initialState, props),
+      state = _useControlledReducer[0],
+      dispatch = _useControlledReducer[1];

+  var isOpen = state.isOpen,
+      highlightedIndex = state.highlightedIndex,
+      selectedItem = state.selectedItem,
+      inputValue = state.inputValue; // Element refs.

-/**
- * External dependencies
- */
+  var menuRef = (0,external_React_.useRef)(null);
+  var itemRefs = (0,external_React_.useRef)({});
+  var inputRef = (0,external_React_.useRef)(null);
+  var toggleButtonRef = (0,external_React_.useRef)(null);
+  var comboboxRef = (0,external_React_.useRef)(null);
+  var isInitialMountRef = (0,external_React_.useRef)(true); // prevent id re-generation between renders.

-/**
- * WordPress dependencies
- */
+  var elementIds = useElementIds(props); // used to keep track of how many items we had on previous cycle.

+  var previousResultCountRef = (0,external_React_.useRef)(); // utility callback to get item element.

+  var latest = useLatestRef({
+    state: state,
+    props: props
+  });
+  var getItemNodeFromIndex = (0,external_React_.useCallback)(function (index) {
+    return itemRefs.current[elementIds.getItemId(index)];
+  }, [elementIds]); // Effects.
+  // Sets a11y status message on changes in state.

-/**
- * Internal dependencies
- */
+  useA11yMessageSetter(getA11yStatusMessage, [isOpen, highlightedIndex, inputValue, items], extends_extends({
+    isInitialMount: isInitialMountRef.current,
+    previousResultCount: previousResultCountRef.current,
+    items: items,
+    environment: environment,
+    itemToString: itemToString
+  }, state)); // Sets a11y status message on changes in selectedItem.

+  useA11yMessageSetter(getA11ySelectionMessage, [selectedItem], extends_extends({
+    isInitialMount: isInitialMountRef.current,
+    previousResultCount: previousResultCountRef.current,
+    items: items,
+    environment: environment,
+    itemToString: itemToString
+  }, state)); // Scroll on highlighted item if change comes from keyboard.

-/**
- * Override the default edit UI to include notices if supported.
- *
- * @param {WPComponent} OriginalComponent Original component.
- *
- * @return {WPComponent} Wrapped component.
- */
+  var shouldScrollRef = useScrollIntoView({
+    menuElement: menuRef.current,
+    highlightedIndex: highlightedIndex,
+    isOpen: isOpen,
+    itemRefs: itemRefs,
+    scrollIntoView: scrollIntoView,
+    getItemNodeFromIndex: getItemNodeFromIndex
+  });
+  useControlPropsValidator({
+    isInitialMount: isInitialMountRef.current,
+    props: props,
+    state: state
+  }); // Focus the input on first render if required.

-/* harmony default export */ var with_notices = (Object(external_wp_compose_["createHigherOrderComponent"])(OriginalComponent => {
-  function Component(props, ref) {
-    const [noticeList, setNoticeList] = Object(external_wp_element_["useState"])([]);
-    const noticeOperations = Object(external_wp_element_["useMemo"])(() => {
-      /**
-       * Function passed down as a prop that adds a new notice.
-       *
-       * @param {Object} notice Notice to add.
-       */
-      const createNotice = notice => {
-        const noticeToAdd = notice.id ? notice : { ...notice,
-          id: Object(v4["a" /* default */])()
-        };
-        setNoticeList(current => [...current, noticeToAdd]);
-      };
+  (0,external_React_.useEffect)(function () {
+    var focusOnOpen = initialIsOpen || defaultIsOpen || isOpen;

-      return {
-        createNotice,
+    if (focusOnOpen && inputRef.current) {
+      inputRef.current.focus();
+    } // eslint-disable-next-line react-hooks/exhaustive-deps

-        /**
-         * Function passed as a prop that adds a new error notice.
-         *
-         * @param {string} msg Error message of the notice.
-         */
-        createErrorNotice: msg => {
-          createNotice({
-            status: 'error',
-            content: msg
-          });
-        },
+  }, []);
+  (0,external_React_.useEffect)(function () {
+    if (isInitialMountRef.current) {
+      return;
+    }

-        /**
-         * Removes a notice by id.
-         *
-         * @param {string} id Id of the notice to remove.
-         */
-        removeNotice: id => {
-          setNoticeList(current => current.filter(notice => notice.id !== id));
-        },
+    previousResultCountRef.current = items.length;
+  }); // Add mouse/touch events to document.

-        /**
-         * Removes all notices
-         */
-        removeAllNotices: () => {
-          setNoticeList([]);
-        }
-      };
-    }, []);
-    const propsOut = { ...props,
-      noticeList,
-      noticeOperations,
-      noticeUI: noticeList.length > 0 && Object(external_wp_element_["createElement"])(notice_list, {
-        className: "components-with-notices-ui",
-        notices: noticeList,
-        onRemove: noticeOperations.removeNotice
-      })
-    };
-    return isForwardRef ? Object(external_wp_element_["createElement"])(OriginalComponent, Object(esm_extends["a" /* default */])({}, propsOut, {
-      ref: ref
-    })) : Object(external_wp_element_["createElement"])(OriginalComponent, propsOut);
-  }
+  var mouseAndTouchTrackersRef = useMouseAndTouchTracker(isOpen, [comboboxRef, menuRef, toggleButtonRef], environment, function () {
+    dispatch({
+      type: InputBlur,
+      selectItem: false
+    });
+  });
+  var setGetterPropCallInfo = useGetterPropsCalledChecker('getInputProps', 'getComboboxProps', 'getMenuProps'); // Make initial ref false.

-  let isForwardRef;
-  const {
-    render
-  } = OriginalComponent; // Returns a forwardRef if OriginalComponent appears to be a forwardRef
+  (0,external_React_.useEffect)(function () {
+    isInitialMountRef.current = false;
+  }, []); // Reset itemRefs on close.

-  if (typeof render === 'function') {
-    isForwardRef = true;
-    return Object(external_wp_element_["forwardRef"])(Component);
-  }
+  (0,external_React_.useEffect)(function () {
+    if (!isOpen) {
+      itemRefs.current = {};
+    }
+  }, [isOpen]);
+  /* Event handler functions */

-  return Component;
-}));
+  var inputKeyDownHandlers = (0,external_React_.useMemo)(function () {
+    return {
+      ArrowDown: function ArrowDown(event) {
+        event.preventDefault();
+        dispatch({
+          type: InputKeyDownArrowDown,
+          shiftKey: event.shiftKey,
+          getItemNodeFromIndex: getItemNodeFromIndex
+        });
+      },
+      ArrowUp: function ArrowUp(event) {
+        event.preventDefault();
+        dispatch({
+          type: InputKeyDownArrowUp,
+          shiftKey: event.shiftKey,
+          getItemNodeFromIndex: getItemNodeFromIndex
+        });
+      },
+      Home: function Home(event) {
+        if (!latest.current.state.isOpen) {
+          return;
+        }

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/index.js
-// Primitives
- // Components
+        event.preventDefault();
+        dispatch({
+          type: InputKeyDownHome,
+          getItemNodeFromIndex: getItemNodeFromIndex
+        });
+      },
+      End: function End(event) {
+        if (!latest.current.state.isOpen) {
+          return;
+        }

+        event.preventDefault();
+        dispatch({
+          type: InputKeyDownEnd,
+          getItemNodeFromIndex: getItemNodeFromIndex
+        });
+      },
+      Escape: function Escape() {
+        var latestState = latest.current.state;

+        if (latestState.isOpen || latestState.inputValue || latestState.selectedItem || latestState.highlightedIndex > -1) {
+          dispatch({
+            type: InputKeyDownEscape
+          });
+        }
+      },
+      Enter: function Enter(event) {
+        var latestState = latest.current.state; // if closed or no highlighted index, do nothing.

+        if (!latestState.isOpen || latestState.highlightedIndex < 0 || event.which === 229 // if IME composing, wait for next Enter keydown event.
+        ) {
+          return;
+        }

+        event.preventDefault();
+        dispatch({
+          type: InputKeyDownEnter,
+          getItemNodeFromIndex: getItemNodeFromIndex
+        });
+      }
+    };
+  }, [dispatch, latest, getItemNodeFromIndex]); // Getter props.

+  var getLabelProps = (0,external_React_.useCallback)(function (labelProps) {
+    return extends_extends({
+      id: elementIds.labelId,
+      htmlFor: elementIds.inputId
+    }, labelProps);
+  }, [elementIds]);
+  var getMenuProps = (0,external_React_.useCallback)(function (_temp, _temp2) {
+    var _extends2;

+    var _ref = _temp === void 0 ? {} : _temp,
+        onMouseLeave = _ref.onMouseLeave,
+        _ref$refKey = _ref.refKey,
+        refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey,
+        ref = _ref.ref,
+        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref, _excluded$1);

+    var _ref2 = _temp2 === void 0 ? {} : _temp2,
+        _ref2$suppressRefErro = _ref2.suppressRefError,
+        suppressRefError = _ref2$suppressRefErro === void 0 ? false : _ref2$suppressRefErro;

+    setGetterPropCallInfo('getMenuProps', suppressRefError, refKey, menuRef);
+    return extends_extends((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function (menuNode) {
+      menuRef.current = menuNode;
+    }), _extends2.id = elementIds.menuId, _extends2.role = 'listbox', _extends2['aria-labelledby'] = elementIds.labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, function () {
+      dispatch({
+        type: MenuMouseLeave
+      });
+    }), _extends2), rest);
+  }, [dispatch, setGetterPropCallInfo, elementIds]);
+  var getItemProps = (0,external_React_.useCallback)(function (_temp3) {
+    var _extends3, _ref4;

+    var _ref3 = _temp3 === void 0 ? {} : _temp3,
+        item = _ref3.item,
+        index = _ref3.index,
+        _ref3$refKey = _ref3.refKey,
+        refKey = _ref3$refKey === void 0 ? 'ref' : _ref3$refKey,
+        ref = _ref3.ref,
+        onMouseMove = _ref3.onMouseMove,
+        onClick = _ref3.onClick;
+        _ref3.onPress;
+        var rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref3, _excluded2$1);

+    var _latest$current = latest.current,
+        latestProps = _latest$current.props,
+        latestState = _latest$current.state;
+    var itemIndex = getItemIndex(index, item, latestProps.items);

+    if (itemIndex < 0) {
+      throw new Error('Pass either item or item index in getItemProps!');
+    }

+    var onSelectKey = 'onClick';
+    var customClickHandler = onClick;

+    var itemHandleMouseMove = function itemHandleMouseMove() {
+      if (index === latestState.highlightedIndex) {
+        return;
+      }

+      shouldScrollRef.current = false;
+      dispatch({
+        type: ItemMouseMove,
+        index: index
+      });
+    };

+    var itemHandleClick = function itemHandleClick() {
+      dispatch({
+        type: ItemClick,
+        index: index
+      });

+      if (inputRef.current) {
+        inputRef.current.focus();
+      }
+    };

+    return extends_extends((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function (itemNode) {
+      if (itemNode) {
+        itemRefs.current[elementIds.getItemId(itemIndex)] = itemNode;
+      }
+    }), _extends3.role = 'option', _extends3['aria-selected'] = "" + (itemIndex === latestState.highlightedIndex), _extends3.id = elementIds.getItemId(itemIndex), _extends3), !rest.disabled && (_ref4 = {
+      onMouseMove: callAllEventHandlers(onMouseMove, itemHandleMouseMove)
+    }, _ref4[onSelectKey] = callAllEventHandlers(customClickHandler, itemHandleClick), _ref4), rest);
+  }, [dispatch, latest, shouldScrollRef, elementIds]);
+  var getToggleButtonProps = (0,external_React_.useCallback)(function (_temp4) {
+    var _extends4;

+    var _ref5 = _temp4 === void 0 ? {} : _temp4,
+        onClick = _ref5.onClick;
+        _ref5.onPress;
+        var _ref5$refKey = _ref5.refKey,
+        refKey = _ref5$refKey === void 0 ? 'ref' : _ref5$refKey,
+        ref = _ref5.ref,
+        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref5, _excluded3);

+    var toggleButtonHandleClick = function toggleButtonHandleClick() {
+      dispatch({
+        type: ToggleButtonClick
+      });

+      if (!latest.current.state.isOpen && inputRef.current) {
+        inputRef.current.focus();
+      }
+    };

+    return extends_extends((_extends4 = {}, _extends4[refKey] = handleRefs(ref, function (toggleButtonNode) {
+      toggleButtonRef.current = toggleButtonNode;
+    }), _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && extends_extends({}, {
+      onClick: callAllEventHandlers(onClick, toggleButtonHandleClick)
+    }), rest);
+  }, [dispatch, latest, elementIds]);
+  var getInputProps = (0,external_React_.useCallback)(function (_temp5, _temp6) {
+    var _extends5;

+    var _ref6 = _temp5 === void 0 ? {} : _temp5,
+        onKeyDown = _ref6.onKeyDown,
+        onChange = _ref6.onChange,
+        onInput = _ref6.onInput,
+        onBlur = _ref6.onBlur;
+        _ref6.onChangeText;
+        var _ref6$refKey = _ref6.refKey,
+        refKey = _ref6$refKey === void 0 ? 'ref' : _ref6$refKey,
+        ref = _ref6.ref,
+        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref6, _excluded4);

+    var _ref7 = _temp6 === void 0 ? {} : _temp6,
+        _ref7$suppressRefErro = _ref7.suppressRefError,
+        suppressRefError = _ref7$suppressRefErro === void 0 ? false : _ref7$suppressRefErro;

+    setGetterPropCallInfo('getInputProps', suppressRefError, refKey, inputRef);
+    var latestState = latest.current.state;

+    var inputHandleKeyDown = function inputHandleKeyDown(event) {
+      var key = normalizeArrowKey(event);

+      if (key && inputKeyDownHandlers[key]) {
+        inputKeyDownHandlers[key](event);
+      }
+    };

+    var inputHandleChange = function inputHandleChange(event) {
+      dispatch({
+        type: InputChange,
+        inputValue: event.target.value
+      });
+    };

+    var inputHandleBlur = function inputHandleBlur() {
+      /* istanbul ignore else */
+      if (latestState.isOpen && !mouseAndTouchTrackersRef.current.isMouseDown) {
+        dispatch({
+          type: InputBlur,
+          selectItem: true
+        });
+      }
+    };
+    /* istanbul ignore next (preact) */


+    var onChangeKey = 'onChange';
+    var eventHandlers = {};

+    if (!rest.disabled) {
+      var _eventHandlers;

+      eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange, onInput, inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, inputHandleBlur), _eventHandlers);
+    }

+    return extends_extends((_extends5 = {}, _extends5[refKey] = handleRefs(ref, function (inputNode) {
+      inputRef.current = inputNode;
+    }), _extends5.id = elementIds.inputId, _extends5['aria-autocomplete'] = 'list', _extends5['aria-controls'] = elementIds.menuId, _extends5), latestState.isOpen && latestState.highlightedIndex > -1 && {
+      'aria-activedescendant': elementIds.getItemId(latestState.highlightedIndex)
+    }, {
+      'aria-labelledby': elementIds.labelId,
+      // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
+      // revert back since autocomplete="nope" is ignored on latest Chrome and Opera
+      autoComplete: 'off',
+      value: latestState.inputValue
+    }, eventHandlers, rest);
+  }, [dispatch, inputKeyDownHandlers, latest, mouseAndTouchTrackersRef, setGetterPropCallInfo, elementIds]);
+  var getComboboxProps = (0,external_React_.useCallback)(function (_temp7, _temp8) {
+    var _extends6;

+    var _ref8 = _temp7 === void 0 ? {} : _temp7,
+        _ref8$refKey = _ref8.refKey,
+        refKey = _ref8$refKey === void 0 ? 'ref' : _ref8$refKey,
+        ref = _ref8.ref,
+        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref8, _excluded5);

+    var _ref9 = _temp8 === void 0 ? {} : _temp8,
+        _ref9$suppressRefErro = _ref9.suppressRefError,
+        suppressRefError = _ref9$suppressRefErro === void 0 ? false : _ref9$suppressRefErro;

+    setGetterPropCallInfo('getComboboxProps', suppressRefError, refKey, comboboxRef);
+    return extends_extends((_extends6 = {}, _extends6[refKey] = handleRefs(ref, function (comboboxNode) {
+      comboboxRef.current = comboboxNode;
+    }), _extends6.role = 'combobox', _extends6['aria-haspopup'] = 'listbox', _extends6['aria-owns'] = elementIds.menuId, _extends6['aria-expanded'] = latest.current.state.isOpen, _extends6), rest);
+  }, [latest, setGetterPropCallInfo, elementIds]); // returns

+  var toggleMenu = (0,external_React_.useCallback)(function () {
+    dispatch({
+      type: FunctionToggleMenu
+    });
+  }, [dispatch]);
+  var closeMenu = (0,external_React_.useCallback)(function () {
+    dispatch({
+      type: FunctionCloseMenu
+    });
+  }, [dispatch]);
+  var openMenu = (0,external_React_.useCallback)(function () {
+    dispatch({
+      type: FunctionOpenMenu
+    });
+  }, [dispatch]);
+  var setHighlightedIndex = (0,external_React_.useCallback)(function (newHighlightedIndex) {
+    dispatch({
+      type: FunctionSetHighlightedIndex,
+      highlightedIndex: newHighlightedIndex
+    });
+  }, [dispatch]);
+  var selectItem = (0,external_React_.useCallback)(function (newSelectedItem) {
+    dispatch({
+      type: FunctionSelectItem,
+      selectedItem: newSelectedItem
+    });
+  }, [dispatch]);
+  var setInputValue = (0,external_React_.useCallback)(function (newInputValue) {
+    dispatch({
+      type: FunctionSetInputValue,
+      inputValue: newInputValue
+    });
+  }, [dispatch]);
+  var reset = (0,external_React_.useCallback)(function () {
+    dispatch({
+      type: FunctionReset$1
+    });
+  }, [dispatch]);
+  return {
+    // prop getters.
+    getItemProps: getItemProps,
+    getLabelProps: getLabelProps,
+    getMenuProps: getMenuProps,
+    getInputProps: getInputProps,
+    getComboboxProps: getComboboxProps,
+    getToggleButtonProps: getToggleButtonProps,
+    // actions.
+    toggleMenu: toggleMenu,
+    openMenu: openMenu,
+    closeMenu: closeMenu,
+    setHighlightedIndex: setHighlightedIndex,
+    setInputValue: setInputValue,
+    selectItem: selectItem,
+    reset: reset,
+    // state.
+    highlightedIndex: highlightedIndex,
+    isOpen: isOpen,
+    selectedItem: selectedItem,
+    inputValue: inputValue
+  };
+}

+var defaultStateValues = {
+  activeIndex: -1,
+  selectedItems: []
+};
+/**
+ * Returns the initial value for a state key in the following order:
+ * 1. controlled prop, 2. initial prop, 3. default prop, 4. default
+ * value from Downshift.
+ *
+ * @param {Object} props Props passed to the hook.
+ * @param {string} propKey Props key to generate the value for.
+ * @returns {any} The initial value for that prop.
+ */

+function getInitialValue(props, propKey) {
+  return getInitialValue$1(props, propKey, defaultStateValues);
+}
+/**
+ * Returns the default value for a state key in the following order:
+ * 1. controlled prop, 2. default prop, 3. default value from Downshift.
+ *
+ * @param {Object} props Props passed to the hook.
+ * @param {string} propKey Props key to generate the value for.
+ * @returns {any} The initial value for that prop.
+ */


+function getDefaultValue(props, propKey) {
+  return getDefaultValue$1(props, propKey, defaultStateValues);
+}
+/**
+ * Gets the initial state based on the provided props. It uses initial, default
+ * and controlled props related to state in order to compute the initial value.
+ *
+ * @param {Object} props Props passed to the hook.
+ * @returns {Object} The initial state.
+ */


+function downshift_esm_getInitialState(props) {
+  var activeIndex = getInitialValue(props, 'activeIndex');
+  var selectedItems = getInitialValue(props, 'selectedItems');
+  return {
+    activeIndex: activeIndex,
+    selectedItems: selectedItems
+  };
+}
+/**
+ * Returns true if dropdown keydown operation is permitted. Should not be
+ * allowed on keydown with modifier keys (ctrl, alt, shift, meta), on
+ * input element with text content that is either highlighted or selection
+ * cursor is not at the starting position.
+ *
+ * @param {KeyboardEvent} event The event from keydown.
+ * @returns {boolean} Whether the operation is allowed.
+ */


+function isKeyDownOperationPermitted(event) {
+  if (event.shiftKey || event.metaKey || event.ctrlKey || event.altKey) {
+    return false;
+  }

+  var element = event.target;

+  if (element instanceof HTMLInputElement && // if element is a text input
+  element.value !== '' && (element.selectionStart !== 0 || element.selectionEnd !== 0)) {
+    return false;
+  }

+  return true;
+}
+/**
+ * Returns a message to be added to aria-live region when item is removed.
+ *
+ * @param {Object} selectionParameters Parameters required to build the message.
+ * @returns {string} The a11y message.
+ */


+function getA11yRemovalMessage(selectionParameters) {
+  var removedSelectedItem = selectionParameters.removedSelectedItem,
+      itemToStringLocal = selectionParameters.itemToString;
+  return itemToStringLocal(removedSelectedItem) + " has been removed.";
+}

+var propTypes = {
+  selectedItems: (prop_types_default()).array,
+  initialSelectedItems: (prop_types_default()).array,
+  defaultSelectedItems: (prop_types_default()).array,
+  itemToString: (prop_types_default()).func,
+  getA11yRemovalMessage: (prop_types_default()).func,
+  stateReducer: (prop_types_default()).func,
+  activeIndex: (prop_types_default()).number,
+  initialActiveIndex: (prop_types_default()).number,
+  defaultActiveIndex: (prop_types_default()).number,
+  onActiveIndexChange: (prop_types_default()).func,
+  onSelectedItemsChange: (prop_types_default()).func,
+  keyNavigationNext: (prop_types_default()).string,
+  keyNavigationPrevious: (prop_types_default()).string,
+  environment: prop_types_default().shape({
+    addEventListener: (prop_types_default()).func,
+    removeEventListener: (prop_types_default()).func,
+    document: prop_types_default().shape({
+      getElementById: (prop_types_default()).func,
+      activeElement: (prop_types_default()).any,
+      body: (prop_types_default()).any
+    })
+  })
+};
+var defaultProps = {
+  itemToString: defaultProps$3.itemToString,
+  stateReducer: defaultProps$3.stateReducer,
+  environment: defaultProps$3.environment,
+  getA11yRemovalMessage: getA11yRemovalMessage,
+  keyNavigationNext: 'ArrowRight',
+  keyNavigationPrevious: 'ArrowLeft'
+}; // eslint-disable-next-line import/no-mutable-exports

+var validatePropTypes = downshift_esm_noop;
+/* istanbul ignore next */

+if (false) {}

+var SelectedItemClick =  false ? 0 : 0;
+var SelectedItemKeyDownDelete =  false ? 0 : 1;
+var SelectedItemKeyDownBackspace =  false ? 0 : 2;
+var SelectedItemKeyDownNavigationNext =  false ? 0 : 3;
+var SelectedItemKeyDownNavigationPrevious =  false ? 0 : 4;
+var DropdownKeyDownNavigationPrevious =  false ? 0 : 5;
+var DropdownKeyDownBackspace =  false ? 0 : 6;
+var DropdownClick =  false ? 0 : 7;
+var FunctionAddSelectedItem =  false ? 0 : 8;
+var FunctionRemoveSelectedItem =  false ? 0 : 9;
+var FunctionSetSelectedItems =  false ? 0 : 10;
+var FunctionSetActiveIndex =  false ? 0 : 11;
+var FunctionReset =  false ? 0 : 12;
+
+var stateChangeTypes = /*#__PURE__*/Object.freeze({
+  __proto__: null,
+  SelectedItemClick: SelectedItemClick,
+  SelectedItemKeyDownDelete: SelectedItemKeyDownDelete,
+  SelectedItemKeyDownBackspace: SelectedItemKeyDownBackspace,
+  SelectedItemKeyDownNavigationNext: SelectedItemKeyDownNavigationNext,
+  SelectedItemKeyDownNavigationPrevious: SelectedItemKeyDownNavigationPrevious,
+  DropdownKeyDownNavigationPrevious: DropdownKeyDownNavigationPrevious,
+  DropdownKeyDownBackspace: DropdownKeyDownBackspace,
+  DropdownClick: DropdownClick,
+  FunctionAddSelectedItem: FunctionAddSelectedItem,
+  FunctionRemoveSelectedItem: FunctionRemoveSelectedItem,
+  FunctionSetSelectedItems: FunctionSetSelectedItems,
+  FunctionSetActiveIndex: FunctionSetActiveIndex,
+  FunctionReset: FunctionReset
+});

+/* eslint-disable complexity */

+function downshiftMultipleSelectionReducer(state, action) {
+  var type = action.type,
+      index = action.index,
+      props = action.props,
+      selectedItem = action.selectedItem;
+  var activeIndex = state.activeIndex,
+      selectedItems = state.selectedItems;
+  var changes;

+  switch (type) {
+    case SelectedItemClick:
+      changes = {
+        activeIndex: index
+      };
+      break;

+    case SelectedItemKeyDownNavigationPrevious:
+      changes = {
+        activeIndex: activeIndex - 1 < 0 ? 0 : activeIndex - 1
+      };
+      break;

+    case SelectedItemKeyDownNavigationNext:
+      changes = {
+        activeIndex: activeIndex + 1 >= selectedItems.length ? -1 : activeIndex + 1
+      };
+      break;

+    case SelectedItemKeyDownBackspace:
+    case SelectedItemKeyDownDelete:
+      {
+        var newActiveIndex = activeIndex;

+        if (selectedItems.length === 1) {
+          newActiveIndex = -1;
+        } else if (activeIndex === selectedItems.length - 1) {
+          newActiveIndex = selectedItems.length - 2;
+        }

+        changes = extends_extends({
+          selectedItems: [].concat(selectedItems.slice(0, activeIndex), selectedItems.slice(activeIndex + 1))
+        }, {
+          activeIndex: newActiveIndex
+        });
+        break;
+      }

+    case DropdownKeyDownNavigationPrevious:
+      changes = {
+        activeIndex: selectedItems.length - 1
+      };
+      break;

+    case DropdownKeyDownBackspace:
+      changes = {
+        selectedItems: selectedItems.slice(0, selectedItems.length - 1)
+      };
+      break;

+    case FunctionAddSelectedItem:
+      changes = {
+        selectedItems: [].concat(selectedItems, [selectedItem])
+      };
+      break;

+    case DropdownClick:
+      changes = {
+        activeIndex: -1
+      };
+      break;

+    case FunctionRemoveSelectedItem:
+      {
+        var _newActiveIndex = activeIndex;
+        var selectedItemIndex = selectedItems.indexOf(selectedItem);

+        if (selectedItems.length === 1) {
+          _newActiveIndex = -1;
+        } else if (selectedItemIndex === selectedItems.length - 1) {
+          _newActiveIndex = selectedItems.length - 2;
+        }

+        changes = extends_extends({
+          selectedItems: [].concat(selectedItems.slice(0, selectedItemIndex), selectedItems.slice(selectedItemIndex + 1))
+        }, {
+          activeIndex: _newActiveIndex
+        });
+        break;
+      }

+    case FunctionSetSelectedItems:
+      {
+        var newSelectedItems = action.selectedItems;
+        changes = {
+          selectedItems: newSelectedItems
+        };
+        break;
+      }

+    case FunctionSetActiveIndex:
+      {
+        var _newActiveIndex2 = action.activeIndex;
+        changes = {
+          activeIndex: _newActiveIndex2
+        };
+        break;
+      }

+    case FunctionReset:
+      changes = {
+        activeIndex: getDefaultValue(props, 'activeIndex'),
+        selectedItems: getDefaultValue(props, 'selectedItems')
+      };
+      break;

+    default:
+      throw new Error('Reducer called without proper action type.');
+  }

+  return extends_extends({}, state, changes);
+}

+var _excluded = ["refKey", "ref", "onClick", "onKeyDown", "selectedItem", "index"],
+    _excluded2 = ["refKey", "ref", "onKeyDown", "onClick", "preventKeyAction"];
+useMultipleSelection.stateChangeTypes = stateChangeTypes;

+function useMultipleSelection(userProps) {
+  if (userProps === void 0) {
+    userProps = {};
+  }

+  validatePropTypes(userProps, useMultipleSelection); // Props defaults and destructuring.

+  var props = extends_extends({}, defaultProps, userProps);

+  var getA11yRemovalMessage = props.getA11yRemovalMessage,
+      itemToString = props.itemToString,
+      environment = props.environment,
+      keyNavigationNext = props.keyNavigationNext,
+      keyNavigationPrevious = props.keyNavigationPrevious; // Reducer init.

+  var _useControlledReducer = useControlledReducer$1(downshiftMultipleSelectionReducer, downshift_esm_getInitialState(props), props),
+      state = _useControlledReducer[0],
+      dispatch = _useControlledReducer[1];

+  var activeIndex = state.activeIndex,
+      selectedItems = state.selectedItems; // Refs.

+  var isInitialMountRef = (0,external_React_.useRef)(true);
+  var dropdownRef = (0,external_React_.useRef)(null);
+  var previousSelectedItemsRef = (0,external_React_.useRef)(selectedItems);
+  var selectedItemRefs = (0,external_React_.useRef)();
+  selectedItemRefs.current = [];
+  var latest = useLatestRef({
+    state: state,
+    props: props
+  }); // Effects.

+  /* Sets a11y status message on changes in selectedItem. */

+  (0,external_React_.useEffect)(function () {
+    if (isInitialMountRef.current) {
+      return;
+    }

+    if (selectedItems.length < previousSelectedItemsRef.current.length) {
+      var removedSelectedItem = previousSelectedItemsRef.current.find(function (item) {
+        return selectedItems.indexOf(item) < 0;
+      });
+      setStatus(getA11yRemovalMessage({
+        itemToString: itemToString,
+        resultCount: selectedItems.length,
+        removedSelectedItem: removedSelectedItem,
+        activeIndex: activeIndex,
+        activeSelectedItem: selectedItems[activeIndex]
+      }), environment.document);
+    }

+    previousSelectedItemsRef.current = selectedItems; // eslint-disable-next-line react-hooks/exhaustive-deps
+  }, [selectedItems.length]); // Sets focus on active item.

+  (0,external_React_.useEffect)(function () {
+    if (isInitialMountRef.current) {
+      return;
+    }

+    if (activeIndex === -1 && dropdownRef.current) {
+      dropdownRef.current.focus();
+    } else if (selectedItemRefs.current[activeIndex]) {
+      selectedItemRefs.current[activeIndex].focus();
+    }
+  }, [activeIndex]);
+  useControlPropsValidator({
+    isInitialMount: isInitialMountRef.current,
+    props: props,
+    state: state
+  });
+  var setGetterPropCallInfo = useGetterPropsCalledChecker('getDropdownProps'); // Make initial ref false.

+  (0,external_React_.useEffect)(function () {
+    isInitialMountRef.current = false;
+  }, []); // Event handler functions.

+  var selectedItemKeyDownHandlers = (0,external_React_.useMemo)(function () {
+    var _ref;

+    return _ref = {}, _ref[keyNavigationPrevious] = function () {
+      dispatch({
+        type: SelectedItemKeyDownNavigationPrevious
+      });
+    }, _ref[keyNavigationNext] = function () {
+      dispatch({
+        type: SelectedItemKeyDownNavigationNext
+      });
+    }, _ref.Delete = function Delete() {
+      dispatch({
+        type: SelectedItemKeyDownDelete
+      });
+    }, _ref.Backspace = function Backspace() {
+      dispatch({
+        type: SelectedItemKeyDownBackspace
+      });
+    }, _ref;
+  }, [dispatch, keyNavigationNext, keyNavigationPrevious]);
+  var dropdownKeyDownHandlers = (0,external_React_.useMemo)(function () {
+    var _ref2;

+    return _ref2 = {}, _ref2[keyNavigationPrevious] = function (event) {
+      if (isKeyDownOperationPermitted(event)) {
+        dispatch({
+          type: DropdownKeyDownNavigationPrevious
+        });
+      }
+    }, _ref2.Backspace = function Backspace(event) {
+      if (isKeyDownOperationPermitted(event)) {
+        dispatch({
+          type: DropdownKeyDownBackspace
+        });
+      }
+    }, _ref2;
+  }, [dispatch, keyNavigationPrevious]); // Getter props.

+  var getSelectedItemProps = (0,external_React_.useCallback)(function (_temp) {
+    var _extends2;

+    var _ref3 = _temp === void 0 ? {} : _temp,
+        _ref3$refKey = _ref3.refKey,
+        refKey = _ref3$refKey === void 0 ? 'ref' : _ref3$refKey,
+        ref = _ref3.ref,
+        onClick = _ref3.onClick,
+        onKeyDown = _ref3.onKeyDown,
+        selectedItem = _ref3.selectedItem,
+        index = _ref3.index,
+        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref3, _excluded);

+    var latestState = latest.current.state;
+    var itemIndex = getItemIndex(index, selectedItem, latestState.selectedItems);

+    if (itemIndex < 0) {
+      throw new Error('Pass either selectedItem or index in getSelectedItemProps!');
+    }

+    var selectedItemHandleClick = function selectedItemHandleClick() {
+      dispatch({
+        type: SelectedItemClick,
+        index: index
+      });
+    };

+    var selectedItemHandleKeyDown = function selectedItemHandleKeyDown(event) {
+      var key = normalizeArrowKey(event);

+      if (key && selectedItemKeyDownHandlers[key]) {
+        selectedItemKeyDownHandlers[key](event);
+      }
+    };

+    return extends_extends((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function (selectedItemNode) {
+      if (selectedItemNode) {
+        selectedItemRefs.current.push(selectedItemNode);
+      }
+    }), _extends2.tabIndex = index === latestState.activeIndex ? 0 : -1, _extends2.onClick = callAllEventHandlers(onClick, selectedItemHandleClick), _extends2.onKeyDown = callAllEventHandlers(onKeyDown, selectedItemHandleKeyDown), _extends2), rest);
+  }, [dispatch, latest, selectedItemKeyDownHandlers]);
+  var getDropdownProps = (0,external_React_.useCallback)(function (_temp2, _temp3) {
+    var _extends3;

+    var _ref4 = _temp2 === void 0 ? {} : _temp2,
+        _ref4$refKey = _ref4.refKey,
+        refKey = _ref4$refKey === void 0 ? 'ref' : _ref4$refKey,
+        ref = _ref4.ref,
+        onKeyDown = _ref4.onKeyDown,
+        onClick = _ref4.onClick,
+        _ref4$preventKeyActio = _ref4.preventKeyAction,
+        preventKeyAction = _ref4$preventKeyActio === void 0 ? false : _ref4$preventKeyActio,
+        rest = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(_ref4, _excluded2);

+    var _ref5 = _temp3 === void 0 ? {} : _temp3,
+        _ref5$suppressRefErro = _ref5.suppressRefError,
+        suppressRefError = _ref5$suppressRefErro === void 0 ? false : _ref5$suppressRefErro;

+    setGetterPropCallInfo('getDropdownProps', suppressRefError, refKey, dropdownRef);

+    var dropdownHandleKeyDown = function dropdownHandleKeyDown(event) {
+      var key = normalizeArrowKey(event);

+      if (key && dropdownKeyDownHandlers[key]) {
+        dropdownKeyDownHandlers[key](event);
+      }
+    };

+    var dropdownHandleClick = function dropdownHandleClick() {
+      dispatch({
+        type: DropdownClick
+      });
+    };

+    return extends_extends((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function (dropdownNode) {
+      if (dropdownNode) {
+        dropdownRef.current = dropdownNode;
+      }
+    }), _extends3), !preventKeyAction && {
+      onKeyDown: callAllEventHandlers(onKeyDown, dropdownHandleKeyDown),
+      onClick: callAllEventHandlers(onClick, dropdownHandleClick)
+    }, rest);
+  }, [dispatch, dropdownKeyDownHandlers, setGetterPropCallInfo]); // returns

+  var addSelectedItem = (0,external_React_.useCallback)(function (selectedItem) {
+    dispatch({
+      type: FunctionAddSelectedItem,
+      selectedItem: selectedItem
+    });
+  }, [dispatch]);
+  var removeSelectedItem = (0,external_React_.useCallback)(function (selectedItem) {
+    dispatch({
+      type: FunctionRemoveSelectedItem,
+      selectedItem: selectedItem
+    });
+  }, [dispatch]);
+  var setSelectedItems = (0,external_React_.useCallback)(function (newSelectedItems) {
+    dispatch({
+      type: FunctionSetSelectedItems,
+      selectedItems: newSelectedItems
+    });
+  }, [dispatch]);
+  var setActiveIndex = (0,external_React_.useCallback)(function (newActiveIndex) {
+    dispatch({
+      type: FunctionSetActiveIndex,
+      activeIndex: newActiveIndex
+    });
+  }, [dispatch]);
+  var reset = (0,external_React_.useCallback)(function () {
+    dispatch({
+      type: FunctionReset
+    });
+  }, [dispatch]);
+  return {
+    getSelectedItemProps: getSelectedItemProps,
+    getDropdownProps: getDropdownProps,
+    addSelectedItem: addSelectedItem,
+    removeSelectedItem: removeSelectedItem,
+    setSelectedItems: setSelectedItems,
+    setActiveIndex: setActiveIndex,
+    reset: reset,
+    selectedItems: selectedItems,
+    activeIndex: activeIndex
+  };
+}



+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/custom-select-control/index.js



+/**
+ * External dependencies
+ */


+/**
+ * WordPress dependencies
+ */

- // Higher-Order Components



+/**
+ * Internal dependencies
+ */



+const custom_select_control_itemToString = item => item === null || item === void 0 ? void 0 : item.name; // This is needed so that in Windows, where
+// the menu does not necessarily open on
+// key up/down, you can still switch between
+// options with the menu closed.


+const custom_select_control_stateReducer = (_ref, _ref2) => {
+  let {
+    selectedItem
+  } = _ref;
+  let {
+    type,
+    changes,
+    props: {
+      items
+    }
+  } = _ref2;

+  switch (type) {
+    case useSelect.stateChangeTypes.ToggleButtonKeyDownArrowDown:
+      // If we already have a selected item, try to select the next one,
+      // without circular navigation. Otherwise, select the first item.
+      return {
+        selectedItem: items[selectedItem ? Math.min(items.indexOf(selectedItem) + 1, items.length - 1) : 0]
+      };

+    case useSelect.stateChangeTypes.ToggleButtonKeyDownArrowUp:
+      // If we already have a selected item, try to select the previous one,
+      // without circular navigation. Otherwise, select the last item.
+      return {
+        selectedItem: items[selectedItem ? Math.max(items.indexOf(selectedItem) - 1, 0) : items.length - 1]
+      };

-/***/ }),
+    default:
+      return changes;
+  }
+};

-/***/ "SLit":
-/***/ (function(module, exports, __webpack_require__) {
+function CustomSelectControl(_ref3) {
+  var _menuProps$ariaActiv;

-"use strict";
+  let {
+    className,
+    hideLabelFromVision,
+    label,
+    describedBy,
+    options: items,
+    onChange: onSelectedItemChange,
+    value: _selectedItem
+  } = _ref3;
+  const {
+    getLabelProps,
+    getToggleButtonProps,
+    getMenuProps,
+    getItemProps,
+    isOpen,
+    highlightedIndex,
+    selectedItem
+  } = useSelect({
+    initialSelectedItem: items[0],
+    items,
+    itemToString: custom_select_control_itemToString,
+    onSelectedItemChange,
+    ...(typeof _selectedItem !== 'undefined' && _selectedItem !== null ? {
+      selectedItem: _selectedItem
+    } : undefined),
+    stateReducer: custom_select_control_stateReducer
+  });

+  function getDescribedBy() {
+    if (describedBy) {
+      return describedBy;
+    }

-var bind = __webpack_require__("D3zA");
-var GetIntrinsic = __webpack_require__("AM7I");
+    if (!selectedItem) {
+      return (0,external_wp_i18n_namespaceObject.__)('No selection');
+    } // translators: %s: The selected option.

-var $apply = GetIntrinsic('%Function.prototype.apply%');
-var $call = GetIntrinsic('%Function.prototype.call%');
-var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);

-var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
-var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
-var $max = GetIntrinsic('%Math.max%');
+    return (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Currently selected: %s'), selectedItem.name);
+  }

-if ($defineProperty) {
-	try {
-		$defineProperty({}, 'a', { value: 1 });
-	} catch (e) {
-		// IE 8 has a broken defineProperty
-		$defineProperty = null;
-	}
-}
+  const menuProps = getMenuProps({
+    className: 'components-custom-select-control__menu',
+    'aria-hidden': !isOpen
+  });
+  const onKeyDownHandler = (0,external_wp_element_namespaceObject.useCallback)(e => {
+    var _menuProps$onKeyDown;

-module.exports = function callBind(originalFunction) {
-	var func = $reflectApply(bind, $call, arguments);
-	if ($gOPD && $defineProperty) {
-		var desc = $gOPD(func, 'length');
-		if (desc.configurable) {
-			// original length, plus the receiver, minus any additional arguments (after the receiver)
-			$defineProperty(
-				func,
-				'length',
-				{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
-			);
-		}
-	}
-	return func;
-};
+    e.stopPropagation();
+    menuProps === null || menuProps === void 0 ? void 0 : (_menuProps$onKeyDown = menuProps.onKeyDown) === null || _menuProps$onKeyDown === void 0 ? void 0 : _menuProps$onKeyDown.call(menuProps, e);
+  }, [menuProps]); // We need this here, because the null active descendant is not fully ARIA compliant.

-var applyBind = function applyBind() {
-	return $reflectApply(bind, $apply, arguments);
-};
+  if ((_menuProps$ariaActiv = menuProps['aria-activedescendant']) !== null && _menuProps$ariaActiv !== void 0 && _menuProps$ariaActiv.startsWith('downshift-null')) {
+    delete menuProps['aria-activedescendant'];
+  }

-if ($defineProperty) {
-	$defineProperty(module.exports, 'apply', { value: applyBind });
-} else {
-	module.exports.apply = applyBind;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('components-custom-select-control', className)
+  }, hideLabelFromVision ? (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, extends_extends({
+    as: "label"
+  }, getLabelProps()), label) :
+  /* eslint-disable-next-line jsx-a11y/label-has-associated-control, jsx-a11y/label-has-for */
+  (0,external_wp_element_namespaceObject.createElement)("label", getLabelProps({
+    className: 'components-custom-select-control__label'
+  }), label), (0,external_wp_element_namespaceObject.createElement)(build_module_button, getToggleButtonProps({
+    // This is needed because some speech recognition software don't support `aria-labelledby`.
+    'aria-label': label,
+    'aria-labelledby': undefined,
+    className: 'components-custom-select-control__button',
+    isSmall: true,
+    describedBy: getDescribedBy()
+  }), custom_select_control_itemToString(selectedItem), (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+    icon: chevron_down,
+    className: "components-custom-select-control__button-icon"
+  })), (0,external_wp_element_namespaceObject.createElement)("ul", extends_extends({}, menuProps, {
+    onKeyDown: onKeyDownHandler
+  }), isOpen && items.map((item, index) => // eslint-disable-next-line react/jsx-key
+  (0,external_wp_element_namespaceObject.createElement)("li", getItemProps({
+    item,
+    index,
+    key: item.key,
+    className: classnames_default()(item.className, 'components-custom-select-control__item', {
+      'is-highlighted': index === highlightedIndex,
+      'has-hint': !!item.__experimentalHint
+    }),
+    style: item.style
+  }), item.name, item.__experimentalHint && (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-custom-select-control__item-hint"
+  }, item.__experimentalHint), item === selectedItem && (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+    icon: library_check,
+    className: "components-custom-select-control__item-icon"
+  })))));
 }

+// EXTERNAL MODULE: ./node_modules/react-dates/initialize.js
+var initialize = __webpack_require__(4185);
+// EXTERNAL MODULE: external "moment"
+var external_moment_ = __webpack_require__(6292);
+var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_);
+// EXTERNAL MODULE: ./node_modules/react-dates/lib/components/DayPickerSingleDateController.js
+var DayPickerSingleDateController = __webpack_require__(6302);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/date-time/date.js

-/***/ }),
-
-/***/ "SSiF":
-/***/ (function(module, exports, __webpack_require__) {
-
-var e=__webpack_require__("cDcd"),n={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},t=function(t){var r=t.onResize,u=e.useRef();return function(n,t){var r=function(){return n.current&&n.current.contentDocument&&n.current.contentDocument.defaultView};function u(){t();var e=r();e&&e.addEventListener("resize",t)}e.useEffect((function(){return r()?u():n.current&&n.current.addEventListener&&n.current.addEventListener("load",u),function(){var e=r();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(u,(function(){return r(u)})),e.createElement("iframe",{style:n,src:"about:blank",ref:u,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},r=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};module.exports=function(n){void 0===n&&(n=r);var u=e.useState(n(null)),o=u[0],i=u[1],c=e.useCallback((function(e){return i(n(e.current))}),[n]);return[e.useMemo((function(){return e.createElement(t,{onResize:c})}),[c]),o]};

+/**
+ * External dependencies
+ */

-/***/ }),
+ // react-dates doesn't tree-shake correctly, so we import from the individual
+// component here, to avoid including too much of the library

-/***/ "SVgp":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-function memoize(fn) {
-  var cache = Object.create(null);
-  return function (arg) {
-    if (cache[arg] === undefined) cache[arg] = fn(arg);
-    return cache[arg];
-  };
-}
+/**
+ * WordPress dependencies
+ */

-/* harmony default export */ __webpack_exports__["a"] = (memoize);


-/***/ }),
+/**
+ * Module Constants
+ */

-/***/ "SegQ":
-/***/ (function(module, exports, __webpack_require__) {
+const TIMEZONELESS_FORMAT = 'YYYY-MM-DDTHH:mm:ss';
+const ARIAL_LABEL_TIME_FORMAT = 'dddd, LL';

-"use strict";
+function DatePickerDay(_ref) {
+  let {
+    day,
+    events = []
+  } = _ref;
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  /*
+   * a11y hack to make the `There is/are n events` string
+   * available speaking for readers,
+   * re-defining the aria-label attribute.
+   * This attribute is handled by the react-dates component.
+   */

+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    var _ref$current;

-var callBound = __webpack_require__("qeuH");
-var hasToStringTag = __webpack_require__("B6Q+")();
-var has;
-var $exec;
-var isRegexMarker;
-var badStringifier;
+    // Bail when no parent node.
+    if (!(ref !== null && ref !== void 0 && (_ref$current = ref.current) !== null && _ref$current !== void 0 && _ref$current.parentNode)) {
+      return;
+    }

-if (hasToStringTag) {
-	has = callBound('Object.prototype.hasOwnProperty');
-	$exec = callBound('RegExp.prototype.exec');
-	isRegexMarker = {};
+    const {
+      parentNode
+    } = ref.current;
+    const dayAriaLabel = external_moment_default()(day).format(ARIAL_LABEL_TIME_FORMAT);

-	var throwRegexMarker = function () {
-		throw isRegexMarker;
-	};
-	badStringifier = {
-		toString: throwRegexMarker,
-		valueOf: throwRegexMarker
-	};
+    if (!events.length) {
+      // Set aria-label without event description.
+      parentNode.setAttribute('aria-label', dayAriaLabel);
+      return;
+    }

-	if (typeof Symbol.toPrimitive === 'symbol') {
-		badStringifier[Symbol.toPrimitive] = throwRegexMarker;
-	}
+    const dayWithEventsDescription = (0,external_wp_i18n_namespaceObject.sprintf)( // translators: 1: Calendar day format, 2: Calendar event number.
+    (0,external_wp_i18n_namespaceObject._n)('%1$s. There is %2$d event.', '%1$s. There are %2$d events.', events.length), dayAriaLabel, events.length);
+    parentNode.setAttribute('aria-label', dayWithEventsDescription);
+  }, [events.length]);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: ref,
+    className: classnames_default()('components-datetime__date__day', {
+      'has-events': events === null || events === void 0 ? void 0 : events.length
+    })
+  }, day.format('D'));
 }

-var $toString = callBound('Object.prototype.toString');
-var gOPD = Object.getOwnPropertyDescriptor;
-var regexClass = '[object RegExp]';
+class DatePicker extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.onChangeMoment = this.onChangeMoment.bind(this);
+    this.nodeRef = (0,external_wp_element_namespaceObject.createRef)();
+    this.onMonthPreviewedHandler = this.onMonthPreviewedHandler.bind(this);
+  }

-module.exports = hasToStringTag
-	// eslint-disable-next-line consistent-return
-	? function isRegex(value) {
-		if (!value || typeof value !== 'object') {
-			return false;
-		}
+  onMonthPreviewedHandler(newMonthDate) {
+    var _this$props$onMonthPr, _this$props;

-		var descriptor = gOPD(value, 'lastIndex');
-		var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
-		if (!hasLastIndexDataProperty) {
-			return false;
-		}
+    (_this$props$onMonthPr = (_this$props = this.props).onMonthPreviewed) === null || _this$props$onMonthPr === void 0 ? void 0 : _this$props$onMonthPr.call(_this$props, newMonthDate.toISOString());
+    this.keepFocusInside();
+  }
+  /*
+   * Todo: We should remove this function ASAP.
+   * It is kept because focus is lost when we click on the previous and next month buttons.
+   * This focus loss closes the date picker popover.
+   * Ideally we should add an upstream commit on react-dates to fix this issue.
+   */

-		try {
-			$exec(value, badStringifier);
-		} catch (e) {
-			return e === isRegexMarker;
-		}
-	}
-	: function isRegex(value) {
-		// In older browsers, typeof regex incorrectly returns 'function'
-		if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
-			return false;
-		}

-		return $toString(value) === regexClass;
-	};
+  keepFocusInside() {
+    if (!this.nodeRef.current) {
+      return;
+    }

+    const {
+      ownerDocument
+    } = this.nodeRef.current;
+    const {
+      activeElement
+    } = ownerDocument; // If focus was lost.

-/***/ }),
+    if (!activeElement || !this.nodeRef.current.contains(ownerDocument.activeElement)) {
+      // Retrieve the focus region div.
+      const focusRegion = this.nodeRef.current.querySelector('.DayPicker_focusRegion');

-/***/ "SyVe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+      if (!focusRegion) {
+        return;
+      } // Keep the focus on focus region.

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getWindow; });
-/* harmony import */ var _getDocument_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ouKs");

+      focusRegion.focus();
+    }
+  }

-// Thanks to Fluent UI for doing the [research on IE11 memory leak](https://github.com/microsoft/fluentui/pull/9010#issuecomment-490768427)
+  onChangeMoment(newDate) {
+    const {
+      currentDate,
+      onChange
+    } = this.props; // If currentDate is null, use now as momentTime to designate hours, minutes, seconds.

-var _window; // Note: Accessing "window" in IE11 is somewhat expensive, and calling "typeof window"
-// hits a memory leak, whereas aliasing it and calling "typeof _window" does not.
-// Caching the window value at the file scope lets us minimize the impact.
+    const momentDate = currentDate ? external_moment_default()(currentDate) : external_moment_default()();
+    const momentTime = {
+      hours: momentDate.hours(),
+      minutes: momentDate.minutes(),
+      seconds: 0
+    };
+    onChange(newDate.set(momentTime).format(TIMEZONELESS_FORMAT)); // Keep focus on the date picker.

+    this.keepFocusInside();
+  }
+  /**
+   * Create a Moment object from a date string. With no currentDate supplied, default to a Moment
+   * object representing now. If a null value is passed, return a null value.
+   *
+   * @param {?string} currentDate Date representing the currently selected date or null to signify no selection.
+   * @return {?moment.Moment} Moment object for selected date or null.
+   */

-try {
-  _window = window;
-} catch (e) {
-  /* no-op */
-}
-/**
- * Returns `element.ownerDocument.defaultView || window`.
- */

+  getMomentDate(currentDate) {
+    if (null === currentDate) {
+      return null;
+    }

-function getWindow(element) {
-  if (!element) {
-    return _window;
+    return currentDate ? external_moment_default()(currentDate) : external_moment_default()();
   }

-  return Object(_getDocument_js__WEBPACK_IMPORTED_MODULE_0__[/* getDocument */ "a"])(element).defaultView || _window;
-}
-
-
+  getEventsPerDay(day) {
+    var _this$props$events;

+    if (!((_this$props$events = this.props.events) !== null && _this$props$events !== void 0 && _this$props$events.length)) {
+      return [];
+    }

-/***/ }),
+    return this.props.events.filter(eventDay => day.isSame(eventDay.date, 'day'));
+  }

-/***/ "TFEf":
-/***/ (function(module, exports, __webpack_require__) {
+  render() {
+    const {
+      currentDate,
+      isInvalidDate
+    } = this.props;
+    const momentDate = this.getMomentDate(currentDate);
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "components-datetime__date",
+      ref: this.nodeRef
+    }, (0,external_wp_element_namespaceObject.createElement)(DayPickerSingleDateController/* default */.Z, {
+      date: momentDate,
+      daySize: 30,
+      focused: true,
+      hideKeyboardShortcutsPanel: true // This is a hack to force the calendar to update on month or year change
+      // https://github.com/airbnb/react-dates/issues/240#issuecomment-361776665
+      ,
+      key: `datepicker-controller-${momentDate ? momentDate.format('MM-YYYY') : 'null'}`,
+      noBorder: true,
+      numberOfMonths: 1,
+      onDateChange: this.onChangeMoment,
+      transitionDuration: 0,
+      weekDayFormat: "ddd",
+      dayAriaLabelFormat: ARIAL_LABEL_TIME_FORMAT,
+      isRTL: (0,external_wp_i18n_namespaceObject.isRTL)(),
+      isOutsideRange: date => {
+        return isInvalidDate && isInvalidDate(date.toDate());
+      },
+      onPrevMonthClick: this.onMonthPreviewedHandler,
+      onNextMonthClick: this.onMonthPreviewedHandler,
+      renderDayContents: day => (0,external_wp_element_namespaceObject.createElement)(DatePickerDay, {
+        day: day,
+        events: this.getEventsPerDay(day)
+      })
+    }));
+  }

-"use strict";
+}

+/* harmony default export */ var date = (DatePicker);

-var GetIntrinsic = __webpack_require__("Jt44");
+;// CONCATENATED MODULE: external ["wp","date"]
+var external_wp_date_namespaceObject = window["wp"]["date"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/date-time/timezone.js

-var $construct = GetIntrinsic('%Reflect.construct%', true);

-var DefinePropertyOrThrow = __webpack_require__("aflq");
-try {
-	DefinePropertyOrThrow({}, '', { '[[Get]]': function () {} });
-} catch (e) {
-	// Accessor properties aren't supported
-	DefinePropertyOrThrow = null;
-}
+/**
+ * WordPress dependencies
+ */

-// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor

-if (DefinePropertyOrThrow && $construct) {
-	var isConstructorMarker = {};
-	var badArrayLike = {};
-	DefinePropertyOrThrow(badArrayLike, 'length', {
-		'[[Get]]': function () {
-			throw isConstructorMarker;
-		},
-		'[[Enumerable]]': true
-	});
+/**
+ * Internal dependencies
+ */

-	module.exports = function IsConstructor(argument) {
-		try {
-			// `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`:
-			$construct(argument, badArrayLike);
-		} catch (err) {
-			return err === isConstructorMarker;
-		}
-	};
-} else {
-	module.exports = function IsConstructor(argument) {
-		// unfortunately there's no way to truly check this without try/catch `new argument` in old environments
-		return typeof argument === 'function' && !!argument.prototype;
-	};
-}

+/**
+ * Displays timezone information when user timezone is different from site timezone.
+ */

-/***/ }),
+const TimeZone = () => {
+  const {
+    timezone
+  } = (0,external_wp_date_namespaceObject.__experimentalGetSettings)(); // Convert timezone offset to hours.

-/***/ "TFuP":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  const userTimezoneOffset = -1 * (new Date().getTimezoneOffset() / 60); // System timezone and user timezone match, nothing needed.
+  // Compare as numbers because it comes over as string.

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return COMPOSITE_KEYS; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return COMPOSITE_GROUP_KEYS; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return COMPOSITE_ITEM_KEYS; });
-/* unused harmony export c */
-// Automatically generated
-var COMPOSITE_STATE_KEYS = ["baseId", "unstable_idCountRef", "setBaseId", "unstable_virtual", "rtl", "orientation", "items", "groups", "currentId", "loop", "wrap", "shift", "unstable_moves", "unstable_hasActiveWidget", "unstable_includesBaseElement", "registerItem", "unregisterItem", "registerGroup", "unregisterGroup", "move", "next", "previous", "up", "down", "first", "last", "sort", "unstable_setVirtual", "setRTL", "setOrientation", "setCurrentId", "setLoop", "setWrap", "setShift", "reset", "unstable_setIncludesBaseElement", "unstable_setHasActiveWidget"];
-var COMPOSITE_KEYS = COMPOSITE_STATE_KEYS;
-var COMPOSITE_GROUP_KEYS = COMPOSITE_KEYS;
-var COMPOSITE_ITEM_KEYS = COMPOSITE_GROUP_KEYS;
-var COMPOSITE_ITEM_WIDGET_KEYS = COMPOSITE_ITEM_KEYS;
+  if (Number(timezone.offset) === userTimezoneOffset) {
+    return null;
+  }

+  const offsetSymbol = timezone.offset >= 0 ? '+' : '';
+  const zoneAbbr = '' !== timezone.abbr && isNaN(timezone.abbr) ? timezone.abbr : `UTC${offsetSymbol}${timezone.offset}`;
+  const timezoneDetail = 'UTC' === timezone.string ? (0,external_wp_i18n_namespaceObject.__)('Coordinated Universal Time') : `(${zoneAbbr}) ${timezone.string.replace('_', ' ')}`;
+  return (0,external_wp_element_namespaceObject.createElement)(tooltip, {
+    position: "top center",
+    text: timezoneDetail
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-datetime__timezone"
+  }, zoneAbbr));
+};

+/* harmony default export */ var timezone = (TimeZone);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/date-time/time.js

-/***/ }),

-/***/ "TG4+":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * External dependencies
+ */

-"use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.withStylesPropTypes = exports.css = undefined;
+/**
+ * WordPress dependencies
+ */

-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

-exports.withStyles = withStyles;
+/**
+ * Internal dependencies
+ */

-var _object = __webpack_require__("Koq/");

-var _object2 = _interopRequireDefault(_object);

-var _react = __webpack_require__("cDcd");

-var _react2 = _interopRequireDefault(_react);
+/**
+ * Module Constants
+ */

-var _propTypes = __webpack_require__("17x9");
+const time_TIMEZONELESS_FORMAT = 'YYYY-MM-DDTHH:mm:ss';

-var _propTypes2 = _interopRequireDefault(_propTypes);
+function from12hTo24h(hours, isPm) {
+  return isPm ? (hours % 12 + 12) % 24 : hours % 12;
+}
+/**
+ * <UpdateOnBlurAsIntegerField>
+ * A shared component to parse, validate, and handle remounting of the underlying form field element like <input> and <select>.
+ *
+ * @param {Object}        props          Component props.
+ * @param {string}        props.as       Render the component as specific element tag, defaults to "input".
+ * @param {number|string} props.value    The default value of the component which will be parsed to integer.
+ * @param {Function}      props.onUpdate Call back when blurred and validated.
+ */

-var _hoistNonReactStatics = __webpack_require__("2mql");

-var _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);
+function UpdateOnBlurAsIntegerField(_ref) {
+  let {
+    as,
+    value,
+    onUpdate,
+    ...props
+  } = _ref;

-var _constants = __webpack_require__("QEu6");
+  function handleBlur(event) {
+    const {
+      target
+    } = event;

-var _brcast = __webpack_require__("sDMB");
+    if (value === target.value) {
+      return;
+    }

-var _brcast2 = _interopRequireDefault(_brcast);
+    const parsedValue = parseInt(target.value, 10); // Run basic number validation on the input.

-var _ThemedStyleSheet = __webpack_require__("030x");
+    if (!(0,external_lodash_namespaceObject.isInteger)(parsedValue) || typeof props.max !== 'undefined' && parsedValue > props.max || typeof props.min !== 'undefined' && parsedValue < props.min) {
+      // If validation failed, reset the value to the previous valid value.
+      target.value = value;
+    } else {
+      // Otherwise, it's valid, call onUpdate.
+      onUpdate(target.name, parsedValue);
+    }
+  }

-var _ThemedStyleSheet2 = _interopRequireDefault(_ThemedStyleSheet);
+  return (0,external_wp_element_namespaceObject.createElement)(as || 'input', {
+    // Re-mount the input value to accept the latest value as the defaultValue.
+    key: value,
+    defaultValue: value,
+    onBlur: handleBlur,
+    ...props
+  });
+}
+/**
+ * <TimePicker>
+ *
+ * @typedef {Date|string|number} WPValidDateTimeFormat
+ *
+ * @param {Object}                props             Component props.
+ * @param {boolean}               props.is12Hour    Should the time picker showed in 12 hour format or 24 hour format.
+ * @param {WPValidDateTimeFormat} props.currentTime The initial current time the time picker should render.
+ * @param {Function}              props.onChange    Callback function when the date changed.
+ */

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function TimePicker(_ref2) {
+  let {
+    is12Hour,
+    currentTime,
+    onChange
+  } = _ref2;
+  const [date, setDate] = (0,external_wp_element_namespaceObject.useState)(() => // Truncate the date at the minutes, see: #15495.
+  external_moment_default()(currentTime).startOf('minutes')); // Reset the state when currentTime changed.

-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    setDate(currentTime ? external_moment_default()(currentTime).startOf('minutes') : external_moment_default()());
+  }, [currentTime]);
+  const {
+    day,
+    month,
+    year,
+    minutes,
+    hours,
+    am
+  } = (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    day: date.format('DD'),
+    month: date.format('MM'),
+    year: date.format('YYYY'),
+    minutes: date.format('mm'),
+    hours: date.format(is12Hour ? 'hh' : 'HH'),
+    am: date.format('H') <= 11 ? 'AM' : 'PM'
+  }), [date, is12Hour]);
+  /**
+   * Function that sets the date state and calls the onChange with a new date.
+   * The date is truncated at the minutes.
+   *
+   * @param {Object} newDate The date object.
+   */

-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+  function changeDate(newDate) {
+    setDate(newDate);
+    onChange(newDate.format(time_TIMEZONELESS_FORMAT));
+  }

-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /* eslint react/forbid-foreign-prop-types: off */
+  function update(name, value) {
+    // If the 12-hour format is being used and the 'PM' period is selected, then
+    // the incoming value (which ranges 1-12) should be increased by 12 to match
+    // the expected 24-hour format.
+    let adjustedValue = value;

-// Add some named exports to assist in upgrading and for convenience
-var css = exports.css = _ThemedStyleSheet2['default'].resolveLTR;
-var withStylesPropTypes = exports.withStylesPropTypes = {
-  styles: _propTypes2['default'].object.isRequired, // eslint-disable-line react/forbid-prop-types
-  theme: _propTypes2['default'].object.isRequired, // eslint-disable-line react/forbid-prop-types
-  css: _propTypes2['default'].func.isRequired
-};
+    if (name === 'hours' && is12Hour) {
+      adjustedValue = from12hTo24h(value, am === 'PM');
+    } // Clone the date and call the specific setter function according to `name`.

-var EMPTY_STYLES = {};
-var EMPTY_STYLES_FN = function EMPTY_STYLES_FN() {
-  return EMPTY_STYLES;
-};

-var START_MARK = 'react-with-styles.createStyles.start';
-var END_MARK = 'react-with-styles.createStyles.end';
+    const newDate = date.clone()[name](adjustedValue);
+    changeDate(newDate);
+  }

-function baseClass(pureComponent) {
-  if (pureComponent) {
-    if (!_react2['default'].PureComponent) {
-      throw new ReferenceError('withStyles() pureComponent option requires React 15.3.0 or later');
-    }
+  function updateAmPm(value) {
+    return () => {
+      if (am === value) {
+        return;
+      }

-    return _react2['default'].PureComponent;
+      const parsedHours = parseInt(hours, 10);
+      const newDate = date.clone().hours(from12hTo24h(parsedHours, value === 'PM'));
+      changeDate(newDate);
+    };
   }

-  return _react2['default'].Component;
+  const dayFormat = (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-datetime__time-field components-datetime__time-field-day"
+  }, (0,external_wp_element_namespaceObject.createElement)(UpdateOnBlurAsIntegerField, {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Day'),
+    className: "components-datetime__time-field-day-input",
+    type: "number" // The correct function to call in moment.js is "date" not "day".
+    ,
+    name: "date",
+    value: day,
+    step: 1,
+    min: 1,
+    max: 31,
+    onUpdate: update
+  }));
+  const monthFormat = (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-datetime__time-field components-datetime__time-field-month"
+  }, (0,external_wp_element_namespaceObject.createElement)(UpdateOnBlurAsIntegerField, {
+    as: "select",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Month'),
+    className: "components-datetime__time-field-month-select",
+    name: "month",
+    value: month // The value starts from 0, so we have to -1 when setting month.
+    ,
+    onUpdate: (key, value) => update(key, value - 1)
+  }, (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "01"
+  }, (0,external_wp_i18n_namespaceObject.__)('January')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "02"
+  }, (0,external_wp_i18n_namespaceObject.__)('February')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "03"
+  }, (0,external_wp_i18n_namespaceObject.__)('March')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "04"
+  }, (0,external_wp_i18n_namespaceObject.__)('April')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "05"
+  }, (0,external_wp_i18n_namespaceObject.__)('May')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "06"
+  }, (0,external_wp_i18n_namespaceObject.__)('June')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "07"
+  }, (0,external_wp_i18n_namespaceObject.__)('July')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "08"
+  }, (0,external_wp_i18n_namespaceObject.__)('August')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "09"
+  }, (0,external_wp_i18n_namespaceObject.__)('September')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "10"
+  }, (0,external_wp_i18n_namespaceObject.__)('October')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "11"
+  }, (0,external_wp_i18n_namespaceObject.__)('November')), (0,external_wp_element_namespaceObject.createElement)("option", {
+    value: "12"
+  }, (0,external_wp_i18n_namespaceObject.__)('December'))));
+  const dayMonthFormat = is12Hour ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, dayFormat, monthFormat) : (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, monthFormat, dayFormat);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('components-datetime__time')
+  }, (0,external_wp_element_namespaceObject.createElement)("fieldset", null, (0,external_wp_element_namespaceObject.createElement)("legend", {
+    className: "components-datetime__time-legend invisible"
+  }, (0,external_wp_i18n_namespaceObject.__)('Date')), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-datetime__time-wrapper"
+  }, dayMonthFormat, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-datetime__time-field components-datetime__time-field-year"
+  }, (0,external_wp_element_namespaceObject.createElement)(UpdateOnBlurAsIntegerField, {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Year'),
+    className: "components-datetime__time-field-year-input",
+    type: "number",
+    name: "year",
+    step: 1,
+    min: 0,
+    max: 9999,
+    value: year,
+    onUpdate: update
+  })))), (0,external_wp_element_namespaceObject.createElement)("fieldset", null, (0,external_wp_element_namespaceObject.createElement)("legend", {
+    className: "components-datetime__time-legend invisible"
+  }, (0,external_wp_i18n_namespaceObject.__)('Time')), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-datetime__time-wrapper"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-datetime__time-field components-datetime__time-field-time"
+  }, (0,external_wp_element_namespaceObject.createElement)(UpdateOnBlurAsIntegerField, {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Hours'),
+    className: "components-datetime__time-field-hours-input",
+    type: "number",
+    name: "hours",
+    step: 1,
+    min: is12Hour ? 1 : 0,
+    max: is12Hour ? 12 : 23,
+    value: hours,
+    onUpdate: update
+  }), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-datetime__time-separator",
+    "aria-hidden": "true"
+  }, ":"), (0,external_wp_element_namespaceObject.createElement)(UpdateOnBlurAsIntegerField, {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Minutes'),
+    className: "components-datetime__time-field-minutes-input",
+    type: "number",
+    name: "minutes",
+    step: 1,
+    min: 0,
+    max: 59,
+    value: minutes,
+    onUpdate: update
+  })), is12Hour && (0,external_wp_element_namespaceObject.createElement)(button_group, {
+    className: "components-datetime__time-field components-datetime__time-field-am-pm"
+  }, (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    variant: am === 'AM' ? 'primary' : 'secondary',
+    onClick: updateAmPm('AM'),
+    className: "components-datetime__time-am-button"
+  }, (0,external_wp_i18n_namespaceObject.__)('AM')), (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    variant: am === 'PM' ? 'primary' : 'secondary',
+    onClick: updateAmPm('PM'),
+    className: "components-datetime__time-pm-button"
+  }, (0,external_wp_i18n_namespaceObject.__)('PM'))), (0,external_wp_element_namespaceObject.createElement)(timezone, null))));
 }
+/* harmony default export */ var time = (TimePicker);

-var contextTypes = _defineProperty({}, _constants.CHANNEL, _brcast2['default']);
-
-var defaultDirection = _constants.DIRECTIONS.LTR;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/date-time/index.js

-function withStyles(styleFn) {
-  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
-      _ref$stylesPropName = _ref.stylesPropName,
-      stylesPropName = _ref$stylesPropName === undefined ? 'styles' : _ref$stylesPropName,
-      _ref$themePropName = _ref.themePropName,
-      themePropName = _ref$themePropName === undefined ? 'theme' : _ref$themePropName,
-      _ref$cssPropName = _ref.cssPropName,
-      cssPropName = _ref$cssPropName === undefined ? 'css' : _ref$cssPropName,
-      _ref$flushBefore = _ref.flushBefore,
-      flushBefore = _ref$flushBefore === undefined ? false : _ref$flushBefore,
-      _ref$pureComponent = _ref.pureComponent,
-      pureComponent = _ref$pureComponent === undefined ? false : _ref$pureComponent;

-  var styleDefLTR = void 0;
-  var styleDefRTL = void 0;
-  var currentThemeLTR = void 0;
-  var currentThemeRTL = void 0;
-  var BaseClass = baseClass(pureComponent);
+/**
+ * External dependencies
+ */
+// Needed to initialise the default datepicker styles.
+// See: https://github.com/airbnb/react-dates#initialize

-  function getResolveMethod(direction) {
-    return direction === _constants.DIRECTIONS.LTR ? _ThemedStyleSheet2['default'].resolveLTR : _ThemedStyleSheet2['default'].resolveRTL;
-  }

-  function getCurrentTheme(direction) {
-    return direction === _constants.DIRECTIONS.LTR ? currentThemeLTR : currentThemeRTL;
-  }
+/**
+ * WordPress dependencies
+ */

-  function getStyleDef(direction, wrappedComponentName) {
-    var currentTheme = getCurrentTheme(direction);
-    var styleDef = direction === _constants.DIRECTIONS.LTR ? styleDefLTR : styleDefRTL;

-    var registeredTheme = _ThemedStyleSheet2['default'].get();

-    // Return the existing styles if they've already been defined
-    // and if the theme used to create them corresponds to the theme
-    // registered with ThemedStyleSheet
-    if (styleDef && currentTheme === registeredTheme) {
-      return styleDef;
-    }
+/**
+ * Internal dependencies
+ */

-    if (false) {}

-    var isRTL = direction === _constants.DIRECTIONS.RTL;

-    if (isRTL) {
-      styleDefRTL = styleFn ? _ThemedStyleSheet2['default'].createRTL(styleFn) : EMPTY_STYLES_FN;

-      currentThemeRTL = registeredTheme;
-      styleDef = styleDefRTL;
-    } else {
-      styleDefLTR = styleFn ? _ThemedStyleSheet2['default'].createLTR(styleFn) : EMPTY_STYLES_FN;

-      currentThemeLTR = registeredTheme;
-      styleDef = styleDefLTR;
-    }

-    if (false) { var measureName; }
+function DateTimePicker(_ref, ref) {
+  let {
+    currentDate,
+    is12Hour,
+    isInvalidDate,
+    onMonthPreviewed = external_lodash_namespaceObject.noop,
+    onChange,
+    events
+  } = _ref;
+  const [calendarHelpIsVisible, setCalendarHelpIsVisible] = (0,external_wp_element_namespaceObject.useState)(false);

-    return styleDef;
+  function onClickDescriptionToggle() {
+    setCalendarHelpIsVisible(!calendarHelpIsVisible);
   }

-  function getState(direction, wrappedComponentName) {
-    return {
-      resolveMethod: getResolveMethod(direction),
-      styleDef: getStyleDef(direction, wrappedComponentName)
-    };
-  }
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: ref,
+    className: "components-datetime"
+  }, !calendarHelpIsVisible && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(time, {
+    currentTime: currentDate,
+    onChange: onChange,
+    is12Hour: is12Hour
+  }), (0,external_wp_element_namespaceObject.createElement)(date, {
+    currentDate: currentDate,
+    onChange: onChange,
+    isInvalidDate: isInvalidDate,
+    events: events,
+    onMonthPreviewed: onMonthPreviewed
+  })), calendarHelpIsVisible && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-datetime__calendar-help"
+  }, (0,external_wp_element_namespaceObject.createElement)("h4", null, (0,external_wp_i18n_namespaceObject.__)('Click to Select')), (0,external_wp_element_namespaceObject.createElement)("ul", null, (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_i18n_namespaceObject.__)('Click the right or left arrows to select other months in the past or the future.')), (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_i18n_namespaceObject.__)('Click the desired day to select it.'))), (0,external_wp_element_namespaceObject.createElement)("h4", null, (0,external_wp_i18n_namespaceObject.__)('Navigating with a keyboard')), (0,external_wp_element_namespaceObject.createElement)("ul", null, (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)("abbr", {
+    "aria-label": (0,external_wp_i18n_namespaceObject._x)('Enter', 'keyboard button')
+  }, "\u21B5"), ' '
+  /* JSX removes whitespace, but a space is required for screen readers. */
+  , (0,external_wp_element_namespaceObject.createElement)("span", null, (0,external_wp_i18n_namespaceObject.__)('Select the date in focus.'))), (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)("abbr", {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Left and Right Arrows')
+  }, "\u2190/\u2192"), ' '
+  /* JSX removes whitespace, but a space is required for screen readers. */
+  , (0,external_wp_i18n_namespaceObject.__)('Move backward (left) or forward (right) by one day.')), (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)("abbr", {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Up and Down Arrows')
+  }, "\u2191/\u2193"), ' '
+  /* JSX removes whitespace, but a space is required for screen readers. */
+  , (0,external_wp_i18n_namespaceObject.__)('Move backward (up) or forward (down) by one week.')), (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)("abbr", {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Page Up and Page Down')
+  }, (0,external_wp_i18n_namespaceObject.__)('PgUp/PgDn')), ' '
+  /* JSX removes whitespace, but a space is required for screen readers. */
+  , (0,external_wp_i18n_namespaceObject.__)('Move backward (PgUp) or forward (PgDn) by one month.')), (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)("abbr", {
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Home and End')
+  }, (0,external_wp_i18n_namespaceObject.__)('Home/End')), ' '
+  /* JSX removes whitespace, but a space is required for screen readers. */
+  , (0,external_wp_i18n_namespaceObject.__)('Go to the first (Home) or last (End) day of a week.'))))), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-datetime__buttons"
+  }, !calendarHelpIsVisible && currentDate && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-datetime__date-reset-button",
+    variant: "link",
+    onClick: () => onChange(null)
+  }, (0,external_wp_i18n_namespaceObject.__)('Reset')), (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-datetime__date-help-toggle",
+    variant: "link",
+    onClick: onClickDescriptionToggle
+  }, calendarHelpIsVisible ? (0,external_wp_i18n_namespaceObject.__)('Close') : (0,external_wp_i18n_namespaceObject.__)('Calendar Help'))));
+}

-  return function () {
-    function withStylesHOC(WrappedComponent) {
-      var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';
+/* harmony default export */ var date_time = ((0,external_wp_element_namespaceObject.forwardRef)(DateTimePicker));

-      // NOTE: Use a class here so components are ref-able if need be:
-      // eslint-disable-next-line react/prefer-stateless-function
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dimension-control/sizes.js
+/**
+ * Sizes
+ *
+ * defines the sizes used in dimension controls
+ * all hardcoded `size` values are based on the value of
+ * the Sass variable `$block-padding` from
+ * `packages/block-editor/src/components/dimension-control/sizes.js`.
+ */

-      var WithStyles = function (_BaseClass) {
-        _inherits(WithStyles, _BaseClass);
+/**
+ * WordPress dependencies
+ */

-        function WithStyles(props, context) {
-          _classCallCheck(this, WithStyles);
+/**
+ * Finds the correct size object from the provided sizes
+ * table by size slug (eg: `medium`)
+ *
+ * @param {Array}  sizes containing objects for each size definition.
+ * @param {string} slug  a string representation of the size (eg: `medium`).
+ *
+ * @return {Object} the matching size definition.
+ */

-          var _this = _possibleConstructorReturn(this, (WithStyles.__proto__ || Object.getPrototypeOf(WithStyles)).call(this, props, context));
+const findSizeBySlug = (sizes, slug) => sizes.find(size => slug === size.slug);
+/* harmony default export */ var dimension_control_sizes = ([{
+  name: (0,external_wp_i18n_namespaceObject._x)('None', 'Size of a UI element'),
+  slug: 'none'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Small', 'Size of a UI element'),
+  slug: 'small'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Medium', 'Size of a UI element'),
+  slug: 'medium'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Large', 'Size of a UI element'),
+  slug: 'large'
+}, {
+  name: (0,external_wp_i18n_namespaceObject._x)('Extra Large', 'Size of a UI element'),
+  slug: 'xlarge'
+}]);

-          var direction = _this.context[_constants.CHANNEL] ? _this.context[_constants.CHANNEL].getState() : defaultDirection;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/dimension-control/index.js

-          _this.state = getState(direction, wrappedComponentName);
-          return _this;
-        }

-        _createClass(WithStyles, [{
-          key: 'componentDidMount',
-          value: function () {
-            function componentDidMount() {
-              var _this2 = this;
+/**
+ * External dependencies
+ */

-              if (this.context[_constants.CHANNEL]) {
-                // subscribe to future direction changes
-                this.channelUnsubscribe = this.context[_constants.CHANNEL].subscribe(function (direction) {
-                  _this2.setState(getState(direction, wrappedComponentName));
-                });
-              }
-            }

-            return componentDidMount;
-          }()
-        }, {
-          key: 'componentWillUnmount',
-          value: function () {
-            function componentWillUnmount() {
-              if (this.channelUnsubscribe) {
-                this.channelUnsubscribe();
-              }
-            }
+/**
+ * WordPress dependencies
+ */

-            return componentWillUnmount;
-          }()
-        }, {
-          key: 'render',
-          value: function () {
-            function render() {
-              var _ref2;
+/**
+ * Internal dependencies
+ */

-              // As some components will depend on previous styles in
-              // the component tree, we provide the option of flushing the
-              // buffered styles (i.e. to a style tag) **before** the rendering
-              // cycle begins.
-              //
-              // The interfaces provide the optional "flush" method which
-              // is run in turn by ThemedStyleSheet.flush.
-              if (flushBefore) {
-                _ThemedStyleSheet2['default'].flush();
-              }

-              var _state = this.state,
-                  resolveMethod = _state.resolveMethod,
-                  styleDef = _state.styleDef;


-              return _react2['default'].createElement(WrappedComponent, _extends({}, this.props, (_ref2 = {}, _defineProperty(_ref2, themePropName, _ThemedStyleSheet2['default'].get()), _defineProperty(_ref2, stylesPropName, styleDef()), _defineProperty(_ref2, cssPropName, resolveMethod), _ref2)));
-            }
+/**
+ * Internal dependencies
+ */

-            return render;
-          }()
-        }]);

-        return WithStyles;
-      }(BaseClass);
+function DimensionControl(props) {
+  const {
+    label,
+    value,
+    sizes = dimension_control_sizes,
+    icon,
+    onChange,
+    className = ''
+  } = props;

-      WithStyles.WrappedComponent = WrappedComponent;
-      WithStyles.displayName = 'withStyles(' + String(wrappedComponentName) + ')';
-      WithStyles.contextTypes = contextTypes;
-      if (WrappedComponent.propTypes) {
-        WithStyles.propTypes = (0, _object2['default'])({}, WrappedComponent.propTypes);
-        delete WithStyles.propTypes[stylesPropName];
-        delete WithStyles.propTypes[themePropName];
-        delete WithStyles.propTypes[cssPropName];
-      }
-      if (WrappedComponent.defaultProps) {
-        WithStyles.defaultProps = (0, _object2['default'])({}, WrappedComponent.defaultProps);
-      }
+  const onChangeSpacingSize = val => {
+    const theSize = findSizeBySlug(sizes, val);

-      return (0, _hoistNonReactStatics2['default'])(WithStyles, WrappedComponent);
+    if (!theSize || value === theSize.slug) {
+      onChange(undefined);
+    } else if ((0,external_lodash_namespaceObject.isFunction)(onChange)) {
+      onChange(theSize.slug);
     }
+  };

-    return withStylesHOC;
-  }();
+  const formatSizesAsOptions = theSizes => {
+    const options = theSizes.map(_ref => {
+      let {
+        name,
+        slug
+      } = _ref;
+      return {
+        label: name,
+        value: slug
+      };
+    });
+    return [{
+      label: (0,external_wp_i18n_namespaceObject.__)('Default'),
+      value: ''
+    }].concat(options);
+  };
+
+  const selectLabel = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, icon && (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: icon
+  }), label);
+  return (0,external_wp_element_namespaceObject.createElement)(select_control, {
+    className: classnames_default()(className, 'block-editor-dimension-control'),
+    label: selectLabel,
+    hideLabelFromVision: false,
+    value: value,
+    onChange: onChangeSpacingSize,
+    options: formatSizesAsOptions(sizes)
+  });
 }
+/* harmony default export */ var dimension_control = (DimensionControl);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/disabled/styles/disabled-styles.js

-/***/ "TO8r":
-/***/ (function(module, exports) {

-/** Used to match a single whitespace character. */
-var reWhitespace = /\s/;
+function disabled_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
- * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
- * character of `string`.
- *
- * @private
- * @param {string} string The string to inspect.
- * @returns {number} Returns the index of the last non-whitespace character.
+ * External dependencies
  */
-function trimmedEndIndex(string) {
-  var index = string.length;
+const StyledWrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e1ac3xxk0"
+} : 0)( true ? {
+  name: "u2jump",
+  styles: "position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"
+} : 0);

-  while (index-- && reWhitespace.test(string.charAt(index))) {}
-  return index;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/disabled/index.js

-module.exports = trimmedEndIndex;


-/***/ }),
+/**
+ * External dependencies
+ */

-/***/ "TOwV":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+/**
+ * WordPress dependencies
+ */


-if (true) {
-  module.exports = __webpack_require__("qT12");
-} else {}

+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
+const Context = (0,external_wp_element_namespaceObject.createContext)(false);
+const {
+  Consumer,
+  Provider: disabled_Provider
+} = Context;
+/**
+ * Names of control nodes which qualify for disabled behavior.
+ *
+ * See WHATWG HTML Standard: 4.10.18.5: "Enabling and disabling form controls: the disabled attribute".
+ *
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#enabling-and-disabling-form-controls:-the-disabled-attribute
+ *
+ * @type {string[]}
+ */

-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */
+const DISABLED_ELIGIBLE_NODE_NAMES = ['BUTTON', 'FIELDSET', 'INPUT', 'OPTGROUP', 'OPTION', 'SELECT', 'TEXTAREA'];
+/**
+ * @typedef OwnProps
+ * @property {string}                    [className]       Classname for the disabled element.
+ * @property {import('react').ReactNode} children          Children to disable.
+ * @property {boolean}                   [isDisabled=true] Whether to disable the children.
+ */

-(function () {
-	'use strict';
+/**
+ * @param {OwnProps & import('react').HTMLAttributes<HTMLDivElement>} props
+ * @return {JSX.Element} Element wrapping the children to disable them when isDisabled is true.
+ */

-	var hasOwn = {}.hasOwnProperty;
+function Disabled(_ref) {
+  let {
+    className,
+    children,
+    isDisabled = true,
+    ...props
+  } = _ref;

-	function classNames() {
-		var classes = [];
+  /** @type {import('react').RefObject<HTMLDivElement>} */
+  const node = (0,external_wp_element_namespaceObject.useRef)(null);

-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
+  const disable = () => {
+    if (!node.current) {
+      return;
+    }

-			var argType = typeof arg;
+    external_wp_dom_namespaceObject.focus.focusable.find(node.current).forEach(focusable => {
+      if ((0,external_lodash_namespaceObject.includes)(DISABLED_ELIGIBLE_NODE_NAMES, focusable.nodeName)) {
+        focusable.setAttribute('disabled', '');
+      }

-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
+      if (focusable.nodeName === 'A') {
+        focusable.setAttribute('tabindex', '-1');
+      }

-		return classes.join(' ');
-	}
+      const tabIndex = focusable.getAttribute('tabindex');

-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());
+      if (tabIndex !== null && tabIndex !== '-1') {
+        focusable.removeAttribute('tabindex');
+      }

+      if (focusable.hasAttribute('contenteditable')) {
+        focusable.setAttribute('contenteditable', 'false');
+      }
+    });
+  }; // Debounce re-disable since disabling process itself will incur
+  // additional mutations which should be ignored.

-/***/ }),

-/***/ "TUyu":
-/***/ (function(module, exports, __webpack_require__) {
+  const debouncedDisable = (0,external_wp_element_namespaceObject.useCallback)((0,external_lodash_namespaceObject.debounce)(disable, undefined, {
+    leading: true
+  }), []);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    if (!isDisabled) {
+      return;
+    }

-"use strict";
+    disable();
+    /** @type {MutationObserver | undefined} */

+    let observer;

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = registerCSSInterfaceWithDefaultTheme;
+    if (node.current) {
+      observer = new window.MutationObserver(debouncedDisable);
+      observer.observe(node.current, {
+        childList: true,
+        attributes: true,
+        subtree: true
+      });
+    }

-var _reactWithStylesInterfaceCss = __webpack_require__("lzPt");
+    return () => {
+      if (observer) {
+        observer.disconnect();
+      }

-var _reactWithStylesInterfaceCss2 = _interopRequireDefault(_reactWithStylesInterfaceCss);
+      debouncedDisable.cancel();
+    };
+  }, []);

-var _registerInterfaceWithDefaultTheme = __webpack_require__("WI5Z");
+  if (!isDisabled) {
+    return (0,external_wp_element_namespaceObject.createElement)(disabled_Provider, {
+      value: false
+    }, children);
+  }

-var _registerInterfaceWithDefaultTheme2 = _interopRequireDefault(_registerInterfaceWithDefaultTheme);
+  return (0,external_wp_element_namespaceObject.createElement)(disabled_Provider, {
+    value: true
+  }, (0,external_wp_element_namespaceObject.createElement)(StyledWrapper, extends_extends({
+    ref: node,
+    className: classnames_default()(className, 'components-disabled')
+  }, props), children));
+}

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+Disabled.Context = Context;
+Disabled.Consumer = Consumer;
+/* harmony default export */ var disabled = (Disabled);

-function registerCSSInterfaceWithDefaultTheme() {
-  (0, _registerInterfaceWithDefaultTheme2['default'])(_reactWithStylesInterfaceCss2['default']);
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/draggable/index.js

-/***/ }),

-/***/ "Teho":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";
+/**
+ * External dependencies
+ */


-module.exports = function isPrimitive(value) {
-	return value === null || (typeof value !== 'function' && typeof value !== 'object');
-};
+const dragImageClass = 'components-draggable__invisible-drag-image';
+const cloneWrapperClass = 'components-draggable__clone';
+const clonePadding = 0;
+const bodyClass = 'is-dragging-components-draggable';
+/**
+ * @typedef RenderProp
+ * @property {(event: import('react').DragEvent) => void} onDraggableStart `onDragStart` handler.
+ * @property {(event: import('react').DragEvent) => void} onDraggableEnd   `onDragEnd` handler.
+ */

+/**
+ * @typedef Props
+ * @property {(props: RenderProp) => JSX.Element | null}  children                         Children.
+ * @property {(event: import('react').DragEvent) => void} [onDragStart]                    Callback when dragging starts.
+ * @property {(event: import('react').DragEvent) => void} [onDragOver]                     Callback when dragging happens over the document.
+ * @property {(event: import('react').DragEvent) => void} [onDragEnd]                      Callback when dragging ends.
+ * @property {string}                                     [cloneClassname]                 Classname for the cloned element.
+ * @property {string}                                     [elementId]                      ID for the element.
+ * @property {any}                                        [transferData]                   Transfer data for the drag event.
+ * @property {string}                                     [__experimentalTransferDataType] The transfer data type to set.
+ * @property {import('react').ReactNode}                  __experimentalDragComponent      Component to show when dragging.
+ */

-/***/ }),
+/**
+ * @param {Props} props
+ * @return {JSX.Element} A draggable component.
+ */

-/***/ "Thzv":
-/***/ (function(module, exports, __webpack_require__) {
+function Draggable(_ref) {
+  let {
+    children,
+    onDragStart,
+    onDragOver,
+    onDragEnd,
+    cloneClassname,
+    elementId,
+    transferData,
+    __experimentalTransferDataType: transferDataType = 'text',
+    __experimentalDragComponent: dragComponent
+  } = _ref;

-"use strict";
+  /** @type {import('react').MutableRefObject<HTMLDivElement | null>} */
+  const dragComponentRef = (0,external_wp_element_namespaceObject.useRef)(null);
+  const cleanup = (0,external_wp_element_namespaceObject.useRef)(() => {});
+  /**
+   * Removes the element clone, resets cursor, and removes drag listener.
+   *
+   * @param {import('react').DragEvent} event The non-custom DragEvent.
+   */

+  function end(event) {
+    event.preventDefault();
+    cleanup.current();

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+    if (onDragEnd) {
+      onDragEnd(event);
+    }
+  }
+  /**
+   * This method does a couple of things:
+   *
+   * - Clones the current element and spawns clone over original element.
+   * - Adds a fake temporary drag image to avoid browser defaults.
+   * - Sets transfer data.
+   * - Adds dragover listener.
+   *
+   * @param {import('react').DragEvent} event The non-custom DragEvent.
+   */

-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+  function start(event) {
+    // @ts-ignore We know that ownerDocument does exist on an Element
+    const {
+      ownerDocument
+    } = event.target;
+    event.dataTransfer.setData(transferDataType, JSON.stringify(transferData));
+    const cloneWrapper = ownerDocument.createElement('div'); // Reset position to 0,0. Natural stacking order will position this lower, even with a transform otherwise.

-var _object = __webpack_require__("Koq/");
+    cloneWrapper.style.top = 0;
+    cloneWrapper.style.left = 0;
+    const dragImage = ownerDocument.createElement('div'); // Set a fake drag image to avoid browser defaults. Remove from DOM
+    // right after. event.dataTransfer.setDragImage is not supported yet in
+    // IE, we need to check for its existence first.

-var _object2 = _interopRequireDefault(_object);
+    if ('function' === typeof event.dataTransfer.setDragImage) {
+      dragImage.classList.add(dragImageClass);
+      ownerDocument.body.appendChild(dragImage);
+      event.dataTransfer.setDragImage(dragImage, 0, 0);
+    }

-var _react = __webpack_require__("cDcd");
+    cloneWrapper.classList.add(cloneWrapperClass);

-var _react2 = _interopRequireDefault(_react);
+    if (cloneClassname) {
+      cloneWrapper.classList.add(cloneClassname);
+    }

-var _propTypes = __webpack_require__("17x9");
+    let x = 0;
+    let y = 0; // If a dragComponent is defined, the following logic will clone the
+    // HTML node and inject it into the cloneWrapper.

-var _propTypes2 = _interopRequireDefault(_propTypes);
+    if (dragComponentRef.current) {
+      // Position dragComponent at the same position as the cursor.
+      x = event.clientX;
+      y = event.clientY;
+      cloneWrapper.style.transform = `translate( ${x}px, ${y}px )`;
+      const clonedDragComponent = ownerDocument.createElement('div');
+      clonedDragComponent.innerHTML = dragComponentRef.current.innerHTML;
+      cloneWrapper.appendChild(clonedDragComponent); // Inject the cloneWrapper into the DOM.

-var _reactAddonsShallowCompare = __webpack_require__("YZDV");
+      ownerDocument.body.appendChild(cloneWrapper);
+    } else {
+      const element = ownerDocument.getElementById(elementId); // Prepare element clone and append to element wrapper.

-var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);
+      const elementRect = element.getBoundingClientRect();
+      const elementWrapper = element.parentNode;
+      const elementTopOffset = parseInt(elementRect.top, 10);
+      const elementLeftOffset = parseInt(elementRect.left, 10);
+      cloneWrapper.style.width = `${elementRect.width + clonePadding * 2}px`;
+      const clone = element.cloneNode(true);
+      clone.id = `clone-${elementId}`; // Position clone right over the original element (20px padding).

-var _reactMomentProptypes = __webpack_require__("XGBb");
+      x = elementLeftOffset - clonePadding;
+      y = elementTopOffset - clonePadding;
+      cloneWrapper.style.transform = `translate( ${x}px, ${y}px )`; // Hack: Remove iFrames as it's causing the embeds drag clone to freeze

-var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);
+      Array.from(clone.querySelectorAll('iframe')).forEach(child => child.parentNode.removeChild(child));
+      cloneWrapper.appendChild(clone); // Inject the cloneWrapper into the DOM.

-var _airbnbPropTypes = __webpack_require__("Hsqg");
+      elementWrapper.appendChild(cloneWrapper);
+    } // Mark the current cursor coordinates.

-var _reactWithStyles = __webpack_require__("TG4+");

-var _moment = __webpack_require__("wy2R");
+    let cursorLeft = event.clientX;
+    let cursorTop = event.clientY;
+    /**
+     * @param {import('react').DragEvent<Element>} e
+     */

-var _moment2 = _interopRequireDefault(_moment);
+    function over(e) {
+      //Skip doing any work if mouse has not moved.
+      if (cursorLeft === e.clientX && cursorTop === e.clientY) {
+        return;
+      }

-var _consolidatedEvents = __webpack_require__("1TsT");
+      const nextX = x + e.clientX - cursorLeft;
+      const nextY = y + e.clientY - cursorTop;
+      cloneWrapper.style.transform = `translate( ${nextX}px, ${nextY}px )`;
+      cursorLeft = e.clientX;
+      cursorTop = e.clientY;
+      x = nextX;
+      y = nextY;

-var _defaultPhrases = __webpack_require__("vV+G");
+      if (onDragOver) {
+        onDragOver(e);
+      }
+    } // Aim for 60fps (16 ms per frame) for now. We can potentially use requestAnimationFrame (raf) instead,
+    // note that browsers may throttle raf below 60fps in certain conditions.

-var _getPhrasePropTypes = __webpack_require__("yc2e");

-var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
+    const throttledDragOver = (0,external_lodash_namespaceObject.throttle)(over, 16);
+    ownerDocument.addEventListener('dragover', throttledDragOver); // Update cursor to 'grabbing', document wide.

-var _CalendarMonth = __webpack_require__("mMiH");
+    ownerDocument.body.classList.add(bodyClass); // Allow the Synthetic Event to be accessed from asynchronous code.
+    // https://reactjs.org/docs/events.html#event-pooling

-var _CalendarMonth2 = _interopRequireDefault(_CalendarMonth);
+    event.persist();
+    /** @type {number | undefined} */

-var _isTransitionEndSupported = __webpack_require__("dRQD");
+    let timerId;

-var _isTransitionEndSupported2 = _interopRequireDefault(_isTransitionEndSupported);
+    if (onDragStart) {
+      timerId = setTimeout(() => onDragStart(event));
+    }

-var _getTransformStyles = __webpack_require__("q86A");
+    cleanup.current = () => {
+      // Remove drag clone
+      if (cloneWrapper && cloneWrapper.parentNode) {
+        cloneWrapper.parentNode.removeChild(cloneWrapper);
+      }

-var _getTransformStyles2 = _interopRequireDefault(_getTransformStyles);
+      if (dragImage && dragImage.parentNode) {
+        dragImage.parentNode.removeChild(dragImage);
+      } // Reset cursor.

-var _getCalendarMonthWidth = __webpack_require__("m2ax");

-var _getCalendarMonthWidth2 = _interopRequireDefault(_getCalendarMonthWidth);
+      ownerDocument.body.classList.remove(bodyClass);
+      ownerDocument.removeEventListener('dragover', throttledDragOver);
+      clearTimeout(timerId);
+    };
+  }

-var _toISOMonthString = __webpack_require__("jenk");
+  (0,external_wp_element_namespaceObject.useEffect)(() => () => {
+    cleanup.current();
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, children({
+    onDraggableStart: start,
+    onDraggableEnd: end
+  }), dragComponent && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-draggable-drag-component-root",
+    style: {
+      display: 'none'
+    },
+    ref: dragComponentRef
+  }, dragComponent));
+}

-var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/upload.js

-var _isPrevMonth = __webpack_require__("Pq96");

-var _isPrevMonth2 = _interopRequireDefault(_isPrevMonth);
+/**
+ * WordPress dependencies
+ */

-var _isNextMonth = __webpack_require__("6HWY");
+const upload = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_upload = (upload);

-var _isNextMonth2 = _interopRequireDefault(_isNextMonth);
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/use-force-update.js

-var _ModifiersShape = __webpack_require__("J7JS");

-var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);

-var _ScrollableOrientationShape = __webpack_require__("aE6U");

-var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);
+function use_force_update_useForceUpdate() {
+    var unloadingRef = (0,external_React_.useRef)(false);
+    var _a = tslib_es6_read((0,external_React_.useState)(0), 2), forcedRenderCount = _a[0], setForcedRenderCount = _a[1];
+    useUnmountEffect(function () { return (unloadingRef.current = true); });
+    return (0,external_React_.useCallback)(function () {
+        !unloadingRef.current && setForcedRenderCount(forcedRenderCount + 1);
+    }, [forcedRenderCount]);
+}

-var _DayOfWeekShape = __webpack_require__("2S2E");

-var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape);

-var _constants = __webpack_require__("Fv1B");
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
-  enableOutsideDays: _propTypes2['default'].bool,
-  firstVisibleMonthIndex: _propTypes2['default'].number,
-  horizontalMonthPadding: _airbnbPropTypes.nonNegativeInteger,
-  initialMonth: _reactMomentProptypes2['default'].momentObj,
-  isAnimating: _propTypes2['default'].bool,
-  numberOfMonths: _propTypes2['default'].number,
-  modifiers: _propTypes2['default'].objectOf(_propTypes2['default'].objectOf(_ModifiersShape2['default'])),
-  orientation: _ScrollableOrientationShape2['default'],
-  onDayClick: _propTypes2['default'].func,
-  onDayMouseEnter: _propTypes2['default'].func,
-  onDayMouseLeave: _propTypes2['default'].func,
-  onMonthTransitionEnd: _propTypes2['default'].func,
-  onMonthChange: _propTypes2['default'].func,
-  onYearChange: _propTypes2['default'].func,
-  renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
-  renderCalendarDay: _propTypes2['default'].func,
-  renderDayContents: _propTypes2['default'].func,
-  translationValue: _propTypes2['default'].number,
-  renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
-  daySize: _airbnbPropTypes.nonNegativeInteger,
-  focusedDate: _reactMomentProptypes2['default'].momentObj, // indicates focusable day
-  isFocused: _propTypes2['default'].bool, // indicates whether or not to move focus to focusable day
-  firstDayOfWeek: _DayOfWeekShape2['default'],
-  setMonthTitleHeight: _propTypes2['default'].func,
-  isRTL: _propTypes2['default'].bool,
-  transitionDuration: _airbnbPropTypes.nonNegativeInteger,
-  verticalBorderSpacing: _airbnbPropTypes.nonNegativeInteger,
+var presenceId = 0;
+function getPresenceId() {
+    var id = presenceId;
+    presenceId++;
+    return id;
+}
+var PresenceChild = function (_a) {
+    var children = _a.children, initial = _a.initial, isPresent = _a.isPresent, onExitComplete = _a.onExitComplete, custom = _a.custom, presenceAffectsLayout = _a.presenceAffectsLayout;
+    var presenceChildren = useConstant(newChildrenMap);
+    var id = useConstant(getPresenceId);
+    var context = (0,external_React_.useMemo)(function () { return ({
+        id: id,
+        initial: initial,
+        isPresent: isPresent,
+        custom: custom,
+        onExitComplete: function (childId) {
+            presenceChildren.set(childId, true);
+            var allComplete = true;
+            presenceChildren.forEach(function (isComplete) {
+                if (!isComplete)
+                    allComplete = false;
+            });
+            allComplete && (onExitComplete === null || onExitComplete === void 0 ? void 0 : onExitComplete());
+        },
+        register: function (childId) {
+            presenceChildren.set(childId, false);
+            return function () { return presenceChildren.delete(childId); };
+        },
+    }); },
+    /**
+     * If the presence of a child affects the layout of the components around it,
+     * we want to make a new context value to ensure they get re-rendered
+     * so they can detect that layout change.
+     */
+    presenceAffectsLayout ? undefined : [isPresent]);
+    (0,external_React_.useMemo)(function () {
+        presenceChildren.forEach(function (_, key) { return presenceChildren.set(key, false); });
+    }, [isPresent]);
+    /**
+     * If there's no `motion` components to fire exit animations, we want to remove this
+     * component immediately.
+     */
+    external_React_.useEffect(function () {
+        !isPresent && !presenceChildren.size && (onExitComplete === null || onExitComplete === void 0 ? void 0 : onExitComplete());
+    }, [isPresent]);
+    return (external_React_.createElement(PresenceContext_PresenceContext.Provider, { value: context }, children));
+};
+function newChildrenMap() {
+    return new Map();
+}

-  // i18n
-  monthFormat: _propTypes2['default'].string,
-  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases)),
-  dayAriaLabelFormat: _propTypes2['default'].string
-}));

-var defaultProps = {
-  enableOutsideDays: false,
-  firstVisibleMonthIndex: 0,
-  horizontalMonthPadding: 13,
-  initialMonth: (0, _moment2['default'])(),
-  isAnimating: false,
-  numberOfMonths: 1,
-  modifiers: {},
-  orientation: _constants.HORIZONTAL_ORIENTATION,
-  onDayClick: function () {
-    function onDayClick() {}

-    return onDayClick;
-  }(),
-  onDayMouseEnter: function () {
-    function onDayMouseEnter() {}
+;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/components/AnimatePresence/index.js

-    return onDayMouseEnter;
-  }(),
-  onDayMouseLeave: function () {
-    function onDayMouseLeave() {}

-    return onDayMouseLeave;
-  }(),
-  onMonthChange: function () {
-    function onMonthChange() {}

-    return onMonthChange;
-  }(),
-  onYearChange: function () {
-    function onYearChange() {}

-    return onYearChange;
-  }(),
-  onMonthTransitionEnd: function () {
-    function onMonthTransitionEnd() {}

-    return onMonthTransitionEnd;
-  }(),

-  renderMonthText: null,
-  renderCalendarDay: undefined,
-  renderDayContents: null,
-  translationValue: null,
-  renderMonthElement: null,
-  daySize: _constants.DAY_SIZE,
-  focusedDate: null,
-  isFocused: false,
-  firstDayOfWeek: null,
-  setMonthTitleHeight: null,
-  isRTL: false,
-  transitionDuration: 200,
-  verticalBorderSpacing: undefined,

-  // i18n
-  monthFormat: 'MMMM YYYY', // english locale
-  phrases: _defaultPhrases.CalendarDayPhrases,
-  dayAriaLabelFormat: undefined
+function getChildKey(child) {
+    return child.key || "";
+}
+function updateChildLookup(children, allChildren) {
+    var seenChildren =  false ? 0 : null;
+    children.forEach(function (child) {
+        var key = getChildKey(child);
+        if (false) {}
+        allChildren.set(key, child);
+    });
+}
+function onlyElements(children) {
+    var filtered = [];
+    // We use forEach here instead of map as map mutates the component key by preprending `.$`
+    external_React_.Children.forEach(children, function (child) {
+        if ((0,external_React_.isValidElement)(child))
+            filtered.push(child);
+    });
+    return filtered;
+}
+/**
+ * `AnimatePresence` enables the animation of components that have been removed from the tree.
+ *
+ * When adding/removing more than a single child, every child **must** be given a unique `key` prop.
+ *
+ * @library
+ *
+ * Any `Frame` components that have an `exit` property defined will animate out when removed from
+ * the tree.
+ *
+ * ```jsx
+ * import { Frame, AnimatePresence } from 'framer'
+ *
+ * // As items are added and removed from `items`
+ * export function Items({ items }) {
+ *   return (
+ *     <AnimatePresence>
+ *       {items.map(item => (
+ *         <Frame
+ *           key={item.id}
+ *           initial={{ opacity: 0 }}
+ *           animate={{ opacity: 1 }}
+ *           exit={{ opacity: 0 }}
+ *         />
+ *       ))}
+ *     </AnimatePresence>
+ *   )
+ * }
+ * ```
+ *
+ * You can sequence exit animations throughout a tree using variants.
+ *
+ * @motion
+ *
+ * Any `motion` components that have an `exit` property defined will animate out when removed from
+ * the tree.
+ *
+ * ```jsx
+ * import { motion, AnimatePresence } from 'framer-motion'
+ *
+ * export const Items = ({ items }) => (
+ *   <AnimatePresence>
+ *     {items.map(item => (
+ *       <motion.div
+ *         key={item.id}
+ *         initial={{ opacity: 0 }}
+ *         animate={{ opacity: 1 }}
+ *         exit={{ opacity: 0 }}
+ *       />
+ *     ))}
+ *   </AnimatePresence>
+ * )
+ * ```
+ *
+ * You can sequence exit animations throughout a tree using variants.
+ *
+ * If a child contains multiple `motion` components with `exit` props, it will only unmount the child
+ * once all `motion` components have finished animating out. Likewise, any components using
+ * `usePresence` all need to call `safeToRemove`.
+ *
+ * @public
+ */
+var AnimatePresence = function (_a) {
+    var children = _a.children, custom = _a.custom, _b = _a.initial, initial = _b === void 0 ? true : _b, onExitComplete = _a.onExitComplete, exitBeforeEnter = _a.exitBeforeEnter, _c = _a.presenceAffectsLayout, presenceAffectsLayout = _c === void 0 ? true : _c;
+    // We want to force a re-render once all exiting animations have finished. We
+    // either use a local forceRender function, or one from a parent context if it exists.
+    var forceRender = use_force_update_useForceUpdate();
+    var layoutContext = (0,external_React_.useContext)(SharedLayoutContext);
+    if (isSharedLayout(layoutContext)) {
+        forceRender = layoutContext.forceUpdate;
+    }
+    var isInitialRender = (0,external_React_.useRef)(true);
+    // Filter out any children that aren't ReactElements. We can only track ReactElements with a props.key
+    var filteredChildren = onlyElements(children);
+    // Keep a living record of the children we're actually rendering so we
+    // can diff to figure out which are entering and exiting
+    var presentChildren = (0,external_React_.useRef)(filteredChildren);
+    // A lookup table to quickly reference components by key
+    var allChildren = (0,external_React_.useRef)(new Map())
+        .current;
+    // A living record of all currently exiting components.
+    var exiting = (0,external_React_.useRef)(new Set()).current;
+    updateChildLookup(filteredChildren, allChildren);
+    // If this is the initial component render, just deal with logic surrounding whether
+    // we play onMount animations or not.
+    if (isInitialRender.current) {
+        isInitialRender.current = false;
+        return (external_React_.createElement(external_React_.Fragment, null, filteredChildren.map(function (child) { return (external_React_.createElement(PresenceChild, { key: getChildKey(child), isPresent: true, initial: initial ? undefined : false, presenceAffectsLayout: presenceAffectsLayout }, child)); })));
+    }
+    // If this is a subsequent render, deal with entering and exiting children
+    var childrenToRender = tslib_es6_spreadArray([], tslib_es6_read(filteredChildren));
+    // Diff the keys of the currently-present and target children to update our
+    // exiting list.
+    var presentKeys = presentChildren.current.map(getChildKey);
+    var targetKeys = filteredChildren.map(getChildKey);
+    // Diff the present children with our target children and mark those that are exiting
+    var numPresent = presentKeys.length;
+    for (var i = 0; i < numPresent; i++) {
+        var key = presentKeys[i];
+        if (targetKeys.indexOf(key) === -1) {
+            exiting.add(key);
+        }
+        else {
+            // In case this key has re-entered, remove from the exiting list
+            exiting.delete(key);
+        }
+    }
+    // If we currently have exiting children, and we're deferring rendering incoming children
+    // until after all current children have exiting, empty the childrenToRender array
+    if (exitBeforeEnter && exiting.size) {
+        childrenToRender = [];
+    }
+    // Loop through all currently exiting components and clone them to overwrite `animate`
+    // with any `exit` prop they might have defined.
+    exiting.forEach(function (key) {
+        // If this component is actually entering again, early return
+        if (targetKeys.indexOf(key) !== -1)
+            return;
+        var child = allChildren.get(key);
+        if (!child)
+            return;
+        var insertionIndex = presentKeys.indexOf(key);
+        var onExit = function () {
+            allChildren.delete(key);
+            exiting.delete(key);
+            // Remove this child from the present children
+            var removeIndex = presentChildren.current.findIndex(function (presentChild) { return presentChild.key === key; });
+            presentChildren.current.splice(removeIndex, 1);
+            // Defer re-rendering until all exiting children have indeed left
+            if (!exiting.size) {
+                presentChildren.current = filteredChildren;
+                forceRender();
+                onExitComplete && onExitComplete();
+            }
+        };
+        childrenToRender.splice(insertionIndex, 0, external_React_.createElement(PresenceChild, { key: getChildKey(child), isPresent: false, onExitComplete: onExit, custom: custom, presenceAffectsLayout: presenceAffectsLayout }, child));
+    });
+    // Add `MotionContext` even to children that don't need it to ensure we're rendering
+    // the same tree between renders
+    childrenToRender = childrenToRender.map(function (child) {
+        var key = child.key;
+        return exiting.has(key) ? (child) : (external_React_.createElement(PresenceChild, { key: getChildKey(child), isPresent: true, presenceAffectsLayout: presenceAffectsLayout }, child));
+    });
+    presentChildren.current = childrenToRender;
+    if (false) {}
+    return (external_React_.createElement(external_React_.Fragment, null, exiting.size
+        ? childrenToRender
+        : childrenToRender.map(function (child) { return (0,external_React_.cloneElement)(child); })));
 };

-function getMonths(initialMonth, numberOfMonths, withoutTransitionMonths) {
-  var month = initialMonth.clone();
-  if (!withoutTransitionMonths) month = month.subtract(1, 'month');
-
-  var months = [];
-  for (var i = 0; i < (withoutTransitionMonths ? numberOfMonths : numberOfMonths + 2); i += 1) {
-    months.push(month);
-    month = month.clone().add(1, 'month');
-  }

-  return months;
-}

-var CalendarMonthGrid = function (_React$Component) {
-  _inherits(CalendarMonthGrid, _React$Component);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/drop-zone/index.js

-  function CalendarMonthGrid(props) {
-    _classCallCheck(this, CalendarMonthGrid);

-    var _this = _possibleConstructorReturn(this, (CalendarMonthGrid.__proto__ || Object.getPrototypeOf(CalendarMonthGrid)).call(this, props));
+/**
+ * External dependencies
+ */

-    var withoutTransitionMonths = props.orientation === _constants.VERTICAL_SCROLLABLE;
-    _this.state = {
-      months: getMonths(props.initialMonth, props.numberOfMonths, withoutTransitionMonths)
-    };

-    _this.isTransitionEndSupported = (0, _isTransitionEndSupported2['default'])();
-    _this.onTransitionEnd = _this.onTransitionEnd.bind(_this);
-    _this.setContainerRef = _this.setContainerRef.bind(_this);
+/**
+ * WordPress dependencies
+ */

-    _this.locale = _moment2['default'].locale();
-    _this.onMonthSelect = _this.onMonthSelect.bind(_this);
-    _this.onYearSelect = _this.onYearSelect.bind(_this);
-    return _this;
-  }

-  _createClass(CalendarMonthGrid, [{
-    key: 'componentDidMount',
-    value: function () {
-      function componentDidMount() {
-        this.removeEventListener = (0, _consolidatedEvents.addEventListener)(this.container, 'transitionend', this.onTransitionEnd);
-      }

-      return componentDidMount;
-    }()
-  }, {
-    key: 'componentWillReceiveProps',
-    value: function () {
-      function componentWillReceiveProps(nextProps) {
-        var _this2 = this;

-        var initialMonth = nextProps.initialMonth,
-            numberOfMonths = nextProps.numberOfMonths,
-            orientation = nextProps.orientation;
-        var months = this.state.months;
-        var _props = this.props,
-            prevInitialMonth = _props.initialMonth,
-            prevNumberOfMonths = _props.numberOfMonths;

-        var hasMonthChanged = !prevInitialMonth.isSame(initialMonth, 'month');
-        var hasNumberOfMonthsChanged = prevNumberOfMonths !== numberOfMonths;
-        var newMonths = months;

-        if (hasMonthChanged && !hasNumberOfMonthsChanged) {
-          if ((0, _isNextMonth2['default'])(prevInitialMonth, initialMonth)) {
-            newMonths = months.slice(1);
-            newMonths.push(months[months.length - 1].clone().add(1, 'month'));
-          } else if ((0, _isPrevMonth2['default'])(prevInitialMonth, initialMonth)) {
-            newMonths = months.slice(0, months.length - 1);
-            newMonths.unshift(months[0].clone().subtract(1, 'month'));
-          } else {
-            var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
-            newMonths = getMonths(initialMonth, numberOfMonths, withoutTransitionMonths);
-          }
-        }
+/**
+ * Internal dependencies
+ */

-        if (hasNumberOfMonthsChanged) {
-          var _withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
-          newMonths = getMonths(initialMonth, numberOfMonths, _withoutTransitionMonths);
-        }

-        var momentLocale = _moment2['default'].locale();
-        if (this.locale !== momentLocale) {
-          this.locale = momentLocale;
-          newMonths = newMonths.map(function (m) {
-            return m.locale(_this2.locale);
-          });
-        }
+function DropZoneComponent(_ref) {
+  let {
+    className,
+    label,
+    onFilesDrop,
+    onHTMLDrop,
+    onDrop
+  } = _ref;
+  const [isDraggingOverDocument, setIsDraggingOverDocument] = (0,external_wp_element_namespaceObject.useState)();
+  const [isDraggingOverElement, setIsDraggingOverElement] = (0,external_wp_element_namespaceObject.useState)();
+  const [type, setType] = (0,external_wp_element_namespaceObject.useState)();
+  const ref = (0,external_wp_compose_namespaceObject.__experimentalUseDropZone)({
+    onDrop(event) {
+      const files = (0,external_wp_dom_namespaceObject.getFilesFromDataTransfer)(event.dataTransfer);
+      const html = event.dataTransfer.getData('text/html');

-        this.setState({
-          months: newMonths
-        });
+      if (files.length && onFilesDrop) {
+        onFilesDrop(files);
+      } else if (html && onHTMLDrop) {
+        onHTMLDrop(html);
+      } else if (onDrop) {
+        onDrop(event);
       }
+    },

-      return componentWillReceiveProps;
-    }()
-  }, {
-    key: 'shouldComponentUpdate',
-    value: function () {
-      function shouldComponentUpdate(nextProps, nextState) {
-        return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
+    onDragStart(event) {
+      setIsDraggingOverDocument(true);
+      let _type = 'default';
+
+      if ( // Check for the types because sometimes the files themselves
+      // are only available on drop.
+      (0,external_lodash_namespaceObject.includes)(event.dataTransfer.types, 'Files') || (0,external_wp_dom_namespaceObject.getFilesFromDataTransfer)(event.dataTransfer).length > 0) {
+        _type = 'file';
+      } else if ((0,external_lodash_namespaceObject.includes)(event.dataTransfer.types, 'text/html')) {
+        _type = 'html';
       }

-      return shouldComponentUpdate;
-    }()
-  }, {
-    key: 'componentDidUpdate',
-    value: function () {
-      function componentDidUpdate() {
-        var _props2 = this.props,
-            isAnimating = _props2.isAnimating,
-            transitionDuration = _props2.transitionDuration,
-            onMonthTransitionEnd = _props2.onMonthTransitionEnd;
+      setType(_type);
+    },

-        // For IE9, immediately call onMonthTransitionEnd instead of
-        // waiting for the animation to complete. Similarly, if transitionDuration
-        // is set to 0, also immediately invoke the onMonthTransitionEnd callback
+    onDragEnd() {
+      setIsDraggingOverDocument(false);
+      setType();
+    },

-        if ((!this.isTransitionEndSupported || !transitionDuration) && isAnimating) {
-          onMonthTransitionEnd();
-        }
-      }
+    onDragEnter() {
+      setIsDraggingOverElement(true);
+    },

-      return componentDidUpdate;
-    }()
-  }, {
-    key: 'componentWillUnmount',
-    value: function () {
-      function componentWillUnmount() {
-        if (this.removeEventListener) this.removeEventListener();
+    onDragLeave() {
+      setIsDraggingOverElement(false);
+    }
+
+  });
+  const disableMotion = (0,external_wp_compose_namespaceObject.useReducedMotion)();
+  let children;
+  const backdrop = {
+    hidden: {
+      scaleY: 0,
+      opacity: 0
+    },
+    show: {
+      scaleY: 1,
+      opacity: 1,
+      transition: {
+        type: 'tween',
+        duration: 0.2,
+        delay: 0.1,
+        delayChildren: 0.2
+      }
+    },
+    exit: {
+      scaleY: 1,
+      opacity: 0,
+      transition: {
+        duration: 0.3,
+        delayChildren: 0
       }
+    }
+  };
+  const foreground = {
+    hidden: {
+      opacity: 0,
+      scale: 0.75
+    },
+    show: {
+      opacity: 1,
+      scale: 1
+    },
+    exit: {
+      opacity: 0,
+      scale: 0.9
+    }
+  };

-      return componentWillUnmount;
-    }()
-  }, {
-    key: 'onTransitionEnd',
-    value: function () {
-      function onTransitionEnd() {
-        var onMonthTransitionEnd = this.props.onMonthTransitionEnd;
+  if (isDraggingOverElement) {
+    children = (0,external_wp_element_namespaceObject.createElement)(motion.div, {
+      variants: backdrop,
+      initial: disableMotion ? 'show' : 'hidden',
+      animate: "show",
+      exit: disableMotion ? 'show' : 'exit',
+      className: "components-drop-zone__content"
+    }, (0,external_wp_element_namespaceObject.createElement)(motion.div, {
+      variants: foreground
+    }, (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+      icon: library_upload,
+      className: "components-drop-zone__content-icon"
+    }), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "components-drop-zone__content-text"
+    }, label ? label : (0,external_wp_i18n_namespaceObject.__)('Drop files to upload'))));
+  }

-        onMonthTransitionEnd();
-      }
+  const classes = classnames_default()('components-drop-zone', className, {
+    'is-active': (isDraggingOverDocument || isDraggingOverElement) && (type === 'file' && onFilesDrop || type === 'html' && onHTMLDrop || type === 'default' && onDrop),
+    'is-dragging-over-document': isDraggingOverDocument,
+    'is-dragging-over-element': isDraggingOverElement,
+    [`is-dragging-${type}`]: !!type
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: ref,
+    className: classes
+  }, disableMotion ? children : (0,external_wp_element_namespaceObject.createElement)(AnimatePresence, null, children));
+}

-      return onTransitionEnd;
-    }()
-  }, {
-    key: 'onMonthSelect',
-    value: function () {
-      function onMonthSelect(currentMonth, newMonthVal) {
-        var newMonth = currentMonth.clone();
-        var _props3 = this.props,
-            onMonthChange = _props3.onMonthChange,
-            orientation = _props3.orientation;
-        var months = this.state.months;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/drop-zone/provider.js
+/**
+ * WordPress dependencies
+ */

-        var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
-        var initialMonthSubtraction = months.indexOf(currentMonth);
-        if (!withoutTransitionMonths) {
-          initialMonthSubtraction -= 1;
-        }
-        newMonth.set('month', newMonthVal).subtract(initialMonthSubtraction, 'months');
-        onMonthChange(newMonth);
-      }
+function DropZoneProvider(_ref) {
+  let {
+    children
+  } = _ref;
+  external_wp_deprecated_default()('wp.components.DropZoneProvider', {
+    hint: 'wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code.'
+  });
+  return children;
+}

-      return onMonthSelect;
-    }()
-  }, {
-    key: 'onYearSelect',
-    value: function () {
-      function onYearSelect(currentMonth, newYearVal) {
-        var newMonth = currentMonth.clone();
-        var _props4 = this.props,
-            onYearChange = _props4.onYearChange,
-            orientation = _props4.orientation;
-        var months = this.state.months;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/swatch.js

-        var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
-        var initialMonthSubtraction = months.indexOf(currentMonth);
-        if (!withoutTransitionMonths) {
-          initialMonthSubtraction -= 1;
-        }
-        newMonth.set('year', newYearVal).subtract(initialMonthSubtraction, 'months');
-        onYearChange(newMonth);
-      }

-      return onYearSelect;
-    }()
-  }, {
-    key: 'setContainerRef',
-    value: function () {
-      function setContainerRef(ref) {
-        this.container = ref;
-      }
+/**
+ * WordPress dependencies
+ */

-      return setContainerRef;
-    }()
-  }, {
-    key: 'render',
-    value: function () {
-      function render() {
-        var _this3 = this;
+const swatch = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M5 17.7c.4.5.8.9 1.2 1.2l1.1-1.4c-.4-.3-.7-.6-1-1L5 17.7zM5 6.3l1.4 1.1c.3-.4.6-.7 1-1L6.3 5c-.5.4-.9.8-1.3 1.3zm.1 7.8l-1.7.5c.2.6.4 1.1.7 1.6l1.5-.8c-.2-.4-.4-.8-.5-1.3zM4.8 12v-.7L3 11.1v1.8l1.7-.2c.1-.2.1-.5.1-.7zm3 7.9c.5.3 1.1.5 1.6.7l.5-1.7c-.5-.1-.9-.3-1.3-.5l-.8 1.5zM19 6.3c-.4-.5-.8-.9-1.2-1.2l-1.1 1.4c.4.3.7.6 1 1L19 6.3zm-.1 3.6l1.7-.5c-.2-.6-.4-1.1-.7-1.6l-1.5.8c.2.4.4.8.5 1.3zM5.6 8.6l-1.5-.8c-.3.5-.5 1-.7 1.6l1.7.5c.1-.5.3-.9.5-1.3zm2.2-4.5l.8 1.5c.4-.2.8-.4 1.3-.5l-.5-1.7c-.6.2-1.1.4-1.6.7zm8.8 13.5l1.1 1.4c.5-.4.9-.8 1.2-1.2l-1.4-1.1c-.2.3-.5.6-.9.9zm1.8-2.2l1.5.8c.3-.5.5-1.1.7-1.6l-1.7-.5c-.1.5-.3.9-.5 1.3zm2.6-4.3l-1.7.2v1.4l1.7.2V12v-.9zM11.1 3l.2 1.7h1.4l.2-1.7h-1.8zm3 2.1c.5.1.9.3 1.3.5l.8-1.5c-.5-.3-1.1-.5-1.6-.7l-.5 1.7zM12 19.2h-.7l-.2 1.8h1.8l-.2-1.7c-.2-.1-.5-.1-.7-.1zm2.1-.3l.5 1.7c.6-.2 1.1-.4 1.6-.7l-.8-1.5c-.4.2-.8.4-1.3.5z"
+}));
+/* harmony default export */ var library_swatch = (swatch);

-        var _props5 = this.props,
-            enableOutsideDays = _props5.enableOutsideDays,
-            firstVisibleMonthIndex = _props5.firstVisibleMonthIndex,
-            horizontalMonthPadding = _props5.horizontalMonthPadding,
-            isAnimating = _props5.isAnimating,
-            modifiers = _props5.modifiers,
-            numberOfMonths = _props5.numberOfMonths,
-            monthFormat = _props5.monthFormat,
-            orientation = _props5.orientation,
-            translationValue = _props5.translationValue,
-            daySize = _props5.daySize,
-            onDayMouseEnter = _props5.onDayMouseEnter,
-            onDayMouseLeave = _props5.onDayMouseLeave,
-            onDayClick = _props5.onDayClick,
-            renderMonthText = _props5.renderMonthText,
-            renderCalendarDay = _props5.renderCalendarDay,
-            renderDayContents = _props5.renderDayContents,
-            renderMonthElement = _props5.renderMonthElement,
-            onMonthTransitionEnd = _props5.onMonthTransitionEnd,
-            firstDayOfWeek = _props5.firstDayOfWeek,
-            focusedDate = _props5.focusedDate,
-            isFocused = _props5.isFocused,
-            isRTL = _props5.isRTL,
-            styles = _props5.styles,
-            phrases = _props5.phrases,
-            dayAriaLabelFormat = _props5.dayAriaLabelFormat,
-            transitionDuration = _props5.transitionDuration,
-            verticalBorderSpacing = _props5.verticalBorderSpacing,
-            setMonthTitleHeight = _props5.setMonthTitleHeight;
-        var months = this.state.months;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/swatch/index.js

-        var isVertical = orientation === _constants.VERTICAL_ORIENTATION;
-        var isVerticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;
-        var isHorizontal = orientation === _constants.HORIZONTAL_ORIENTATION;

-        var calendarMonthWidth = (0, _getCalendarMonthWidth2['default'])(daySize, horizontalMonthPadding);
+/**
+ * WordPress dependencies
+ */

-        var width = isVertical || isVerticalScrollable ? calendarMonthWidth : (numberOfMonths + 2) * calendarMonthWidth;
+/**
+ * Internal dependencies
+ */

-        var transformType = isVertical || isVerticalScrollable ? 'translateY' : 'translateX';
-        var transformValue = transformType + '(' + String(translationValue) + 'px)';

-        return _react2['default'].createElement(
-          'div',
-          _extends({}, (0, _reactWithStyles.css)(styles.CalendarMonthGrid, isHorizontal && styles.CalendarMonthGrid__horizontal, isVertical && styles.CalendarMonthGrid__vertical, isVerticalScrollable && styles.CalendarMonthGrid__vertical_scrollable, isAnimating && styles.CalendarMonthGrid__animating, isAnimating && transitionDuration && {
-            transition: 'transform ' + String(transitionDuration) + 'ms ease-in-out'
-          }, (0, _object2['default'])({}, (0, _getTransformStyles2['default'])(transformValue), {
-            width: width
-          })), {
-            ref: this.setContainerRef,
-            onTransitionEnd: onMonthTransitionEnd
-          }),
-          months.map(function (month, i) {
-            var isVisible = i >= firstVisibleMonthIndex && i < firstVisibleMonthIndex + numberOfMonths;
-            var hideForAnimation = i === 0 && !isVisible;
-            var showForAnimation = i === 0 && isAnimating && isVisible;
-            var monthString = (0, _toISOMonthString2['default'])(month);
-            return _react2['default'].createElement(
-              'div',
-              _extends({
-                key: monthString
-              }, (0, _reactWithStyles.css)(isHorizontal && styles.CalendarMonthGrid_month__horizontal, hideForAnimation && styles.CalendarMonthGrid_month__hideForAnimation, showForAnimation && !isVertical && !isRTL && {
-                position: 'absolute',
-                left: -calendarMonthWidth
-              }, showForAnimation && !isVertical && isRTL && {
-                position: 'absolute',
-                right: 0
-              }, showForAnimation && isVertical && {
-                position: 'absolute',
-                top: -translationValue
-              }, !isVisible && !isAnimating && styles.CalendarMonthGrid_month__hidden)),
-              _react2['default'].createElement(_CalendarMonth2['default'], {
-                month: month,
-                isVisible: isVisible,
-                enableOutsideDays: enableOutsideDays,
-                modifiers: modifiers[monthString],
-                monthFormat: monthFormat,
-                orientation: orientation,
-                onDayMouseEnter: onDayMouseEnter,
-                onDayMouseLeave: onDayMouseLeave,
-                onDayClick: onDayClick,
-                onMonthSelect: _this3.onMonthSelect,
-                onYearSelect: _this3.onYearSelect,
-                renderMonthText: renderMonthText,
-                renderCalendarDay: renderCalendarDay,
-                renderDayContents: renderDayContents,
-                renderMonthElement: renderMonthElement,
-                firstDayOfWeek: firstDayOfWeek,
-                daySize: daySize,
-                focusedDate: isVisible ? focusedDate : null,
-                isFocused: isFocused,
-                phrases: phrases,
-                setMonthTitleHeight: setMonthTitleHeight,
-                dayAriaLabelFormat: dayAriaLabelFormat,
-                verticalBorderSpacing: verticalBorderSpacing,
-                horizontalMonthPadding: horizontalMonthPadding
-              })
-            );
-          })
-        );
-      }

-      return render;
-    }()
-  }]);
+function Swatch(_ref) {
+  let {
+    fill
+  } = _ref;
+  return fill ? (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-swatch",
+    style: {
+      background: fill
+    }
+  }) : (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: library_swatch
+  });
+}
+
+/* harmony default export */ var build_module_swatch = (Swatch);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/duotone-picker/utils.js
+/**
+ * External dependencies
+ */
+
+
+k([names]);
+/**
+ * Object representation for a color.
+ *
+ * @typedef {Object} RGBColor
+ * @property {number} r Red component of the color in the range [0,1].
+ * @property {number} g Green component of the color in the range [0,1].
+ * @property {number} b Blue component of the color in the range [0,1].
+ */
+
+/**
+ * Calculate the brightest and darkest values from a color palette.
+ *
+ * @param {Object[]} palette Color palette for the theme.
+ *
+ * @return {string[]} Tuple of the darkest color and brightest color.
+ */
+
+function getDefaultColors(palette) {
+  // A default dark and light color are required.
+  if (!palette || palette.length < 2) return ['#000', '#fff'];
+  return palette.map(_ref => {
+    let {
+      color
+    } = _ref;
+    return {
+      color,
+      brightness: w(color).brightness()
+    };
+  }).reduce((_ref2, current) => {
+    let [min, max] = _ref2;
+    return [current.brightness <= min.brightness ? current : min, current.brightness >= max.brightness ? current : max];
+  }, [{
+    brightness: 1
+  }, {
+    brightness: 0
+  }]).map(_ref3 => {
+    let {
+      color
+    } = _ref3;
+    return color;
+  });
+}
+/**
+ * Generate a duotone gradient from a list of colors.
+ *
+ * @param {string[]} colors CSS color strings.
+ * @param {string}   angle  CSS gradient angle.
+ *
+ * @return {string} CSS gradient string for the duotone swatch.
+ */
+
+function getGradientFromCSSColors() {
+  let colors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  let angle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '90deg';
+  const l = 100 / colors.length;
+  const stops = colors.map((c, i) => `${c} ${i * l}%, ${c} ${(i + 1) * l}%`).join(', ');
+  return `linear-gradient( ${angle}, ${stops} )`;
+}
+/**
+ * Convert a color array to an array of color stops.
+ *
+ * @param {string[]} colors CSS colors array
+ *
+ * @return {Object[]} Color stop information.
+ */
+
+function getColorStopsFromColors(colors) {
+  return colors.map((color, i) => ({
+    position: i * 100 / (colors.length - 1),
+    color
+  }));
+}
+/**
+ * Convert a color stop array to an array colors.
+ *
+ * @param {Object[]} colorStops Color stop information.
+ *
+ * @return {string[]} CSS colors array.
+ */
+
+function getColorsFromColorStops() {
+  let colorStops = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  return colorStops.map(_ref4 => {
+    let {
+      color
+    } = _ref4;
+    return color;
+  });
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/duotone-picker/duotone-swatch.js

-  return CalendarMonthGrid;
-}(_react2['default'].Component);

-CalendarMonthGrid.propTypes = propTypes;
-CalendarMonthGrid.defaultProps = defaultProps;
+/**
+ * Internal dependencies
+ */

-exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) {
-  var _ref$reactDates = _ref.reactDates,
-      color = _ref$reactDates.color,
-      noScrollBarOnVerticalScrollable = _ref$reactDates.noScrollBarOnVerticalScrollable,
-      spacing = _ref$reactDates.spacing,
-      zIndex = _ref$reactDates.zIndex;
-  return {
-    CalendarMonthGrid: {
-      background: color.background,
-      textAlign: 'left',
-      zIndex: zIndex
-    },

-    CalendarMonthGrid__animating: {
-      zIndex: zIndex + 1
-    },

-    CalendarMonthGrid__horizontal: {
-      position: 'absolute',
-      left: spacing.dayPickerHorizontalPadding
-    },
+function DuotoneSwatch(_ref) {
+  let {
+    values
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(build_module_swatch, {
+    fill: values && getGradientFromCSSColors(values, '135deg')
+  });
+}

-    CalendarMonthGrid__vertical: {
-      margin: '0 auto'
-    },
+/* harmony default export */ var duotone_swatch = (DuotoneSwatch);

-    CalendarMonthGrid__vertical_scrollable: (0, _object2['default'])({
-      margin: '0 auto',
-      overflowY: 'scroll'
-    }, noScrollBarOnVerticalScrollable && {
-      '-webkitOverflowScrolling': 'touch',
-      '::-webkit-scrollbar': {
-        '-webkit-appearance': 'none',
-        display: 'none'
-      }
-    }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/color-list-picker/index.js

-    CalendarMonthGrid_month__horizontal: {
-      display: 'inline-block',
-      verticalAlign: 'top',
-      minHeight: '100%'
-    },

-    CalendarMonthGrid_month__hideForAnimation: {
-      position: 'absolute',
-      zIndex: zIndex - 1,
-      opacity: 0,
-      pointerEvents: 'none'
-    },
+/**
+ * WordPress dependencies
+ */

-    CalendarMonthGrid_month__hidden: {
-      visibility: 'hidden'
-    }
-  };
-})(CalendarMonthGrid);
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "Tqx9":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["primitives"]; }());

-/***/ }),

-/***/ "U69M":
-/***/ (function(module, exports, __webpack_require__) {
+function ColorOption(_ref) {
+  let {
+    label,
+    value,
+    colors,
+    disableCustomColors,
+    enableAlpha,
+    onChange
+  } = _ref;
+  const [isOpen, setIsOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-color-list-picker__swatch-button",
+    icon: (0,external_wp_element_namespaceObject.createElement)(build_module_swatch, {
+      fill: value
+    }),
+    onClick: () => setIsOpen(prev => !prev)
+  }, label), isOpen && (0,external_wp_element_namespaceObject.createElement)(ColorPalette, {
+    className: "components-color-list-picker__color-picker",
+    colors: colors,
+    value: value,
+    clearable: false,
+    onChange: onChange,
+    disableCustomColors: disableCustomColors,
+    enableAlpha: enableAlpha
+  }));
+}

-"use strict";
+function ColorListPicker(_ref2) {
+  let {
+    colors,
+    labels,
+    value = [],
+    disableCustomColors,
+    enableAlpha,
+    onChange
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-color-list-picker"
+  }, labels.map((label, index) => (0,external_wp_element_namespaceObject.createElement)(ColorOption, {
+    key: index,
+    label: label,
+    value: value[index],
+    colors: colors,
+    disableCustomColors: disableCustomColors,
+    enableAlpha: enableAlpha,
+    onChange: newColor => {
+      const newColors = value.slice();
+      newColors[index] = newColor;
+      onChange(newColors);
+    }
+  })));
+}

+/* harmony default export */ var color_list_picker = (ColorListPicker);

-var GetIntrinsic = __webpack_require__("j1Hc");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/duotone-picker/custom-duotone-bar.js

-var $String = GetIntrinsic('%String%');
-var $TypeError = GetIntrinsic('%TypeError%');

-// https://ecma-international.org/ecma-262/6.0/#sec-tostring
+/**
+ * Internal dependencies
+ */

-module.exports = function ToString(argument) {
-	if (typeof argument === 'symbol') {
-		throw new $TypeError('Cannot convert a Symbol value to a string');
-	}
-	return $String(argument);
-};

+const PLACEHOLDER_VALUES = ['#333', '#CCC'];
+function CustomDuotoneBar(_ref) {
+  let {
+    value,
+    onChange
+  } = _ref;
+  const hasGradient = !!value;
+  const values = hasGradient ? value : PLACEHOLDER_VALUES;
+  const background = getGradientFromCSSColors(values);
+  const controlPoints = getColorStopsFromColors(values);
+  return (0,external_wp_element_namespaceObject.createElement)(CustomGradientBar, {
+    disableInserter: true,
+    background: background,
+    hasGradient: hasGradient,
+    value: controlPoints,
+    onChange: newColorStops => {
+      const newValue = getColorsFromColorStops(newColorStops);
+      onChange(newValue);
+    }
+  });
+}

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/duotone-picker/duotone-picker.js

-/***/ "UAm0":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getStyledClassNameFromKey; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("4eJC");
-/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_1__);
 /**
  * External dependencies
  */

-
 /**
- * Generates the connected component CSS className based on the namespace.
- *
- * @param  namespace The name of the connected component.
- * @return The generated CSS className.
+ * WordPress dependencies
  */

-function getStyledClassName(namespace) {
-  const kebab = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["kebabCase"])(namespace);
-  return `components-${kebab}`;
-}

-const getStyledClassNameFromKey = memize__WEBPACK_IMPORTED_MODULE_1___default()(getStyledClassName);

+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "UFhG":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";


-// var modulo = require('./modulo');
-var $floor = Math.floor;

-// http://262.ecma-international.org/5.1/#sec-5.2
+function DuotonePicker(_ref) {
+  let {
+    clearable = true,
+    colorPalette,
+    duotonePalette,
+    disableCustomColors,
+    disableCustomDuotone,
+    value,
+    onChange
+  } = _ref;
+  const [defaultDark, defaultLight] = (0,external_wp_element_namespaceObject.useMemo)(() => getDefaultColors(colorPalette), [colorPalette]);
+  return (0,external_wp_element_namespaceObject.createElement)(CircularOptionPicker, {
+    options: duotonePalette.map(_ref2 => {
+      let {
+        colors,
+        slug,
+        name
+      } = _ref2;
+      const style = {
+        background: getGradientFromCSSColors(colors, '135deg'),
+        color: 'transparent'
+      };
+      const tooltipText = name !== null && name !== void 0 ? name : (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: duotone code e.g: "dark-grayscale" or "7f7f7f-ffffff".
+      (0,external_wp_i18n_namespaceObject.__)('Duotone code: %s'), slug);
+      const label = name ? (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: The name of the option e.g: "Dark grayscale".
+      (0,external_wp_i18n_namespaceObject.__)('Duotone: %s'), name) : tooltipText;
+      const isSelected = (0,external_lodash_namespaceObject.isEqual)(colors, value);
+      return (0,external_wp_element_namespaceObject.createElement)(CircularOptionPicker.Option, {
+        key: slug,
+        value: colors,
+        isSelected: isSelected,
+        "aria-label": label,
+        tooltipText: tooltipText,
+        style: style,
+        onClick: () => {
+          onChange(isSelected ? undefined : colors);
+        }
+      });
+    }),
+    actions: !!clearable && (0,external_wp_element_namespaceObject.createElement)(CircularOptionPicker.ButtonAction, {
+      onClick: () => onChange(undefined)
+    }, (0,external_wp_i18n_namespaceObject.__)('Clear'))
+  }, !disableCustomColors && !disableCustomDuotone && (0,external_wp_element_namespaceObject.createElement)(CustomDuotoneBar, {
+    value: value,
+    onChange: onChange
+  }), !disableCustomDuotone && (0,external_wp_element_namespaceObject.createElement)(color_list_picker, {
+    labels: [(0,external_wp_i18n_namespaceObject.__)('Shadows'), (0,external_wp_i18n_namespaceObject.__)('Highlights')],
+    colors: colorPalette,
+    value: value,
+    disableCustomColors: disableCustomColors,
+    enableAlpha: true,
+    onChange: newColors => {
+      if (!newColors[0]) {
+        newColors[0] = defaultDark;
+      }

-module.exports = function floor(x) {
-	// return x - modulo(x, 1);
-	return $floor(x);
-};
+      if (!newColors[1]) {
+        newColors[1] = defaultLight;
+      }

+      const newValue = newColors.length >= 2 ? newColors : undefined;
+      onChange(newValue);
+    }
+  }));
+}

-/***/ }),
+/* harmony default export */ var duotone_picker = (DuotonePicker);

-/***/ "UVaH":
-/***/ (function(module, exports, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js

-"use strict";
-/* WEBPACK VAR INJECTION */(function(global) {

-var origSymbol = global.Symbol;
-var hasSymbolSham = __webpack_require__("FpZJ");
+/**
+ * WordPress dependencies
+ */

-module.exports = function hasNativeSymbols() {
-	if (typeof origSymbol !== 'function') { return false; }
-	if (typeof Symbol !== 'function') { return false; }
-	if (typeof origSymbol('foo') !== 'symbol') { return false; }
-	if (typeof Symbol('bar') !== 'symbol') { return false; }
+const external = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
+}));
+/* harmony default export */ var library_external = (external);

-	return hasSymbolSham();
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/external-link/styles/external-link-styles.js

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("yLpj")))

-/***/ }),
+function external_link_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/***/ "UaFt":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * External dependencies
+ */

-"use strict";
+/**
+ * WordPress dependencies
+ */

+const StyledIcon = /*#__PURE__*/emotion_styled_base_browser_esm(icons_build_module_icon,  true ? {
+  target: "etxm6pv0"
+} : 0)( true ? {
+  name: "bqq7t3",
+  styles: "width:1.4em;height:1.4em;margin:-0.2em 0.1em 0;vertical-align:middle;fill:currentColor"
+} : 0);

-var GetIntrinsic = __webpack_require__("j1Hc");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/external-link/index.js

-var $Object = GetIntrinsic('%Object%');

-var isPrimitive = __webpack_require__("BeK9");

-var $preventExtensions = $Object.preventExtensions;
-var $isExtensible = $Object.isExtensible;
+/**
+ * External dependencies
+ */

-// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o

-module.exports = $preventExtensions
-	? function IsExtensible(obj) {
-		return !isPrimitive(obj) && $isExtensible(obj);
-	}
-	: function IsExtensible(obj) {
-		return !isPrimitive(obj);
-	};
+/**
+ * WordPress dependencies
+ */


-/***/ }),

-/***/ "VDVV":
-/***/ (function(module, exports, __webpack_require__) {

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+/**
+ * Internal dependencies
+ */

-var _arrayPrototype = __webpack_require__("/ZKw");

-var _arrayPrototype2 = _interopRequireDefault(_arrayPrototype);

-var _globalCache = __webpack_require__("9pTB");
+function ExternalLink(_ref, ref) {
+  let {
+    href,
+    children,
+    className,
+    rel = '',
+    ...additionalProps
+  } = _ref;
+  rel = (0,external_lodash_namespaceObject.uniq)((0,external_lodash_namespaceObject.compact)([...rel.split(' '), 'external', 'noreferrer', 'noopener'])).join(' ');
+  const classes = classnames_default()('components-external-link', className);
+  return (
+    /* eslint-disable react/jsx-no-target-blank */
+    (0,external_wp_element_namespaceObject.createElement)("a", extends_extends({}, additionalProps, {
+      className: classes,
+      href: href,
+      target: "_blank",
+      rel: rel,
+      ref: ref
+    }), children, (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, {
+      as: "span"
+    },
+    /* translators: accessibility text */
+    (0,external_wp_i18n_namespaceObject.__)('(opens in a new tab)')), (0,external_wp_element_namespaceObject.createElement)(StyledIcon, {
+      icon: library_external,
+      className: "components-external-link__icon"
+    }))
+    /* eslint-enable react/jsx-no-target-blank */

-var _globalCache2 = _interopRequireDefault(_globalCache);
+  );
+}
+/* harmony default export */ var external_link = ((0,external_wp_element_namespaceObject.forwardRef)(ExternalLink));

-var _constants = __webpack_require__("kFtd");
+;// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-26bb1730.js
+// Automatically generated
+var POPOVER_STATE_KEYS = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation", "modal", "unstable_disclosureRef", "setModal", "unstable_referenceRef", "unstable_popoverRef", "unstable_arrowRef", "unstable_popoverStyles", "unstable_arrowStyles", "unstable_originalPlacement", "unstable_update", "placement", "place"];
+var POPOVER_KEYS = POPOVER_STATE_KEYS;
+var POPOVER_ARROW_KEYS = [].concat(POPOVER_KEYS, ["size"]);
+var POPOVER_BACKDROP_KEYS = POPOVER_KEYS;
+var POPOVER_DISCLOSURE_KEYS = POPOVER_BACKDROP_KEYS;

-var _getClassName = __webpack_require__("nLTY");

-var _getClassName2 = _interopRequireDefault(_getClassName);

-var _separateStyles2 = __webpack_require__("3HjQ");
+;// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-ed7b48af.js
+// Automatically generated
+var DIALOG_STATE_KEYS = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation", "modal", "unstable_disclosureRef", "setModal"];
+var DIALOG_KEYS = [].concat(DIALOG_STATE_KEYS, ["hideOnEsc", "hideOnClickOutside", "preventBodyScroll", "unstable_initialFocusRef", "unstable_finalFocusRef", "unstable_orphan", "unstable_autoFocusOnShow", "unstable_autoFocusOnHide"]);
+var DIALOG_BACKDROP_KEYS = DIALOG_STATE_KEYS;
+var DIALOG_DISCLOSURE_KEYS = DIALOG_BACKDROP_KEYS;

-var _separateStyles3 = _interopRequireDefault(_separateStyles2);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-/**
- * Function required as part of the react-with-styles interface. Parses the styles provided by
- * react-with-styles to produce class names based on the style name and optionally the namespace if
- * available.
- *
- * stylesObject {Object} The styles object passed to withStyles.
- *
- * Return an object mapping style names to class names.
- */
-function create(stylesObject) {
-  var stylesToClasses = {};
-  var styleNames = Object.keys(stylesObject);
-  var sharedState = _globalCache2['default'].get(_constants.GLOBAL_CACHE_KEY) || {};
-  var _sharedState$namespac = sharedState.namespace,
-      namespace = _sharedState$namespac === undefined ? '' : _sharedState$namespac;
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Button/Button.js

-  styleNames.forEach(function (styleName) {
-    var className = (0, _getClassName2['default'])(namespace, styleName);
-    stylesToClasses[styleName] = className;
-  });
-  return stylesToClasses;
-}

-/**
- * Process styles to be consumed by a component.
- *
- * stylesArray {Array} Array of the following: values returned by create, plain JavaScript objects
- * representing inline styles, or arrays thereof.
- *
- * Return an object with optional className and style properties to be spread on a component.
- */
-function resolve(stylesArray) {
-  var flattenedStyles = (0, _arrayPrototype2['default'])(stylesArray, Infinity);

-  var _separateStyles = (0, _separateStyles3['default'])(flattenedStyles),
-      classNames = _separateStyles.classNames,
-      hasInlineStyles = _separateStyles.hasInlineStyles,
-      inlineStyles = _separateStyles.inlineStyles;

-  var specificClassNames = classNames.map(function (name, index) {
-    return String(name) + ' ' + String(name) + '_' + String(index + 1);
-  });
-  var className = specificClassNames.join(' ');

-  var result = { className: className };
-  if (hasInlineStyles) result.style = inlineStyles;
-  return result;
-}

-exports['default'] = { create: create, resolve: resolve };

-/***/ }),

-/***/ "VF6F":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";


-var GetIntrinsic = __webpack_require__("AM7I");

-var callBind = __webpack_require__("PrET");

-var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));

-module.exports = function callBoundIntrinsic(name, allowMissing) {
-	var intrinsic = GetIntrinsic(name, !!allowMissing);
-	if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
-		return callBind(intrinsic);
-	}
-	return intrinsic;
-};


-/***/ }),

-/***/ "VKE3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);

+// Automatically generated
+var BUTTON_KEYS = [];

-/**
- * WordPress dependencies
- */
+var useButton = createHook({
+  name: "Button",
+  compose: useClickable,
+  keys: BUTTON_KEYS,
+  useProps: function useProps(_, _ref) {
+    var htmlRef = _ref.ref,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["ref"]);

-const moreVertical = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (moreVertical);
+    var ref = (0,external_React_.useRef)(null);

+    var _React$useState = (0,external_React_.useState)(undefined),
+        role = _React$useState[0],
+        setRole = _React$useState[1];

-/***/ }),
+    var _React$useState2 = (0,external_React_.useState)("button"),
+        type = _React$useState2[0],
+        setType = _React$useState2[1];

-/***/ "Vq1w":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    (0,external_React_.useEffect)(function () {
+      var element = ref.current;

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isPortalEvent; });
-/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("utzN");
+      if (!element) {
+         false ? 0 : void 0;
+        return;
+      }

+      if (!isButton(element)) {
+        if (element.tagName !== "A") {
+          setRole("button");
+        }

-/**
- * Returns `true` if `event` has been fired within a React Portal element.
- */
+        setType(undefined);
+      }
+    }, []);
+    return _objectSpread2({
+      ref: useForkRef(ref, htmlRef),
+      role: role,
+      type: type
+    }, htmlProps);
+  }
+});
+var Button_Button = createComponent({
+  as: "button",
+  memo: true,
+  useHook: useButton
+});

-function isPortalEvent(event) {
-  return !Object(_contains_js__WEBPACK_IMPORTED_MODULE_0__[/* contains */ "a"])(event.currentTarget, event.target);
-}


+;// CONCATENATED MODULE: ./node_modules/reakit/es/Disclosure/Disclosure.js


-/***/ }),

-/***/ "W/NR":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* unused harmony export TOOLTIP_DELAY */
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("oXO/");
-/* harmony import */ var _shortcut__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Cw+6");

-// @ts-nocheck

-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */



-/**
- * Internal dependencies
- */



-/**
- * Time over children to wait before showing tooltip
- *
- * @type {number}
- */

-const TOOLTIP_DELAY = 700;
-const eventCatcher = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-  className: "event-catcher"
-});

-const getDisabledElement = _ref => {
-  let {
-    eventHandlers,
-    child,
-    childrenWithPopover
-  } = _ref;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
-    className: "disabled-element-wrapper"
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(eventCatcher, eventHandlers), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(child, {
-    children: childrenWithPopover
-  })), eventHandlers);
-};

-const getRegularElement = _ref2 => {
-  let {
-    child,
-    eventHandlers,
-    childrenWithPopover
-  } = _ref2;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(child, { ...eventHandlers,
-    children: childrenWithPopover
-  });
-};

-const addPopoverToGrandchildren = _ref3 => {
-  let {
-    grandchildren,
-    isOver,
-    position,
-    text,
-    shortcut
-  } = _ref3;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["concatChildren"])(grandchildren, isOver && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_popover__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], {
-    focusOnMount: false,
-    position: position,
-    className: "components-tooltip",
-    "aria-hidden": "true",
-    animate: false,
-    noArrow: true
-  }, text, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_shortcut__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], {
-    className: "components-tooltip__shortcut",
-    shortcut: shortcut
-  })));
-};

-const emitToChild = (children, eventName, event) => {
-  if (_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Children"].count(children) !== 1) {
-    return;
-  }

-  const child = _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Children"].only(children); // If the underlying element is disabled, do not emit the event.

-  if (child.props.disabled) {
-    return;
-  }

-  if (typeof child.props[eventName] === 'function') {
-    child.props[eventName](event);
-  }
-};
+var useDisclosure = createHook({
+  name: "Disclosure",
+  compose: useButton,
+  keys: DISCLOSURE_KEYS,
+  useProps: function useProps(options, _ref) {
+    var htmlOnClick = _ref.onClick,
+        ariaControls = _ref["aria-controls"],
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["onClick", "aria-controls"]);

-function Tooltip(props) {
-  const {
-    children,
-    position,
-    text,
-    shortcut,
-    delay = TOOLTIP_DELAY
-  } = props;
-  /**
-   * Whether a mouse is currently pressed, used in determining whether
-   * to handle a focus event as displaying the tooltip immediately.
-   *
-   * @type {boolean}
-   */
+    var onClickRef = useLiveRef(htmlOnClick);
+    var controls = ariaControls ? ariaControls + " " + options.baseId : options.baseId;
+    var onClick = (0,external_React_.useCallback)(function (event) {
+      var _onClickRef$current, _options$toggle;
+
+      (_onClickRef$current = onClickRef.current) === null || _onClickRef$current === void 0 ? void 0 : _onClickRef$current.call(onClickRef, event);
+      if (event.defaultPrevented) return;
+      (_options$toggle = options.toggle) === null || _options$toggle === void 0 ? void 0 : _options$toggle.call(options);
+    }, [options.toggle]);
+    return _objectSpread2({
+      "aria-expanded": !!options.visible,
+      "aria-controls": controls,
+      onClick: onClick
+    }, htmlProps);
+  }
+});
+var Disclosure = createComponent({
+  as: "button",
+  memo: true,
+  useHook: useDisclosure
+});

-  const [isMouseDown, setIsMouseDown] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useState"])(false);
-  const [isOver, setIsOver] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useState"])(false);
-  const delayedSetIsOver = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__["useDebounce"])(setIsOver, delay);

-  const createMouseDown = event => {
-    // Preserve original child callback behavior
-    emitToChild(children, 'onMouseDown', event); // On mouse down, the next `mouseup` should revert the value of the
-    // instance property and remove its own event handler. The bind is
-    // made on the document since the `mouseup` might not occur within
-    // the bounds of the element.

-    document.addEventListener('mouseup', cancelIsMouseDown);
-    setIsMouseDown(true);
-  };
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Dialog/DialogDisclosure.js

-  const createMouseUp = event => {
-    emitToChild(children, 'onMouseUp', event);
-    document.removeEventListener('mouseup', cancelIsMouseDown);
-    setIsMouseDown(false);
-  };

-  const createMouseEvent = type => {
-    if (type === 'mouseUp') return createMouseUp;
-    if (type === 'mouseDown') return createMouseDown;
-  };
-  /**
-   * Prebound `isInMouseDown` handler, created as a constant reference to
-   * assure ability to remove in component unmount.
-   *
-   * @type {Function}
-   */


-  const cancelIsMouseDown = createMouseEvent('mouseUp');

-  const createToggleIsOver = (eventName, isDelayed) => {
-    return event => {
-      // Preserve original child callback behavior
-      emitToChild(children, eventName, event); // Mouse events behave unreliably in React for disabled elements,
-      // firing on mouseenter but not mouseleave.  Further, the default
-      // behavior for disabled elements in some browsers is to ignore
-      // mouse events. Don't bother trying to to handle them.
-      //
-      // See: https://github.com/facebook/react/issues/4251

-      if (event.currentTarget.disabled) {
-        return;
-      } // A focus event will occur as a result of a mouse click, but it
-      // should be disambiguated between interacting with the button and
-      // using an explicit focus shift as a cue to display the tooltip.


-      if ('focus' === event.type && isMouseDown) {
-        return;
-      } // Needed in case unsetting is over while delayed set pending, i.e.
-      // quickly blur/mouseleave before delayedSetIsOver is called


-      delayedSetIsOver.cancel();

-      const _isOver = Object(lodash__WEBPACK_IMPORTED_MODULE_1__["includes"])(['focus', 'mouseenter'], event.type);

-      if (_isOver === isOver) {
-        return;
-      }

-      if (isDelayed) {
-        delayedSetIsOver(_isOver);
-      } else {
-        setIsOver(_isOver);
-      }
-    };
-  };

-  const clearOnUnmount = () => {
-    delayedSetIsOver.cancel();
-    document.removeEventListener('mouseup', cancelIsMouseDown);
-  };

-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(() => clearOnUnmount, []);

-  if (_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Children"].count(children) !== 1) {
-    if (false) {}

-    return children;
-  }

-  const eventHandlers = {
-    onMouseEnter: createToggleIsOver('onMouseEnter', true),
-    onMouseLeave: createToggleIsOver('onMouseLeave'),
-    onClick: createToggleIsOver('onClick'),
-    onFocus: createToggleIsOver('onFocus'),
-    onBlur: createToggleIsOver('onBlur'),
-    onMouseDown: createMouseEvent('mouseDown')
-  };
-  const child = _wordpress_element__WEBPACK_IMPORTED_MODULE_0__["Children"].only(children);
-  const {
-    children: grandchildren,
-    disabled
-  } = child.props;
-  const getElementWithPopover = disabled ? getDisabledElement : getRegularElement;
-  const popoverData = {
-    isOver,
-    position,
-    text,
-    shortcut
-  };
-  const childrenWithPopover = addPopoverToGrandchildren({
-    grandchildren,
-    ...popoverData
-  });
-  return getElementWithPopover({
-    child,
-    eventHandlers,
-    childrenWithPopover
-  });
-}

-/* harmony default export */ __webpack_exports__["a"] = (Tooltip);


-/***/ }),

-/***/ "WFqU":
-/***/ (function(module, exports, __webpack_require__) {

-/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
-var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
+var useDialogDisclosure = createHook({
+  name: "DialogDisclosure",
+  compose: useDisclosure,
+  keys: DIALOG_DISCLOSURE_KEYS,
+  useProps: function useProps(options, _ref) {
+    var htmlRef = _ref.ref,
+        htmlOnClick = _ref.onClick,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["ref", "onClick"]);
+
+    var ref = (0,external_React_.useRef)(null);
+    var onClickRef = useLiveRef(htmlOnClick);

-module.exports = freeGlobal;
+    var _React$useState = (0,external_React_.useState)(false),
+        expanded = _React$useState[0],
+        setExpanded = _React$useState[1];

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("yLpj")))
+    var disclosureRef = options.unstable_disclosureRef; // aria-expanded may be used for styling purposes, so we useLayoutEffect

-/***/ }),
+    useIsomorphicEffect(function () {
+      var element = ref.current;
+       false ? 0 : void 0;

-/***/ "WI5Z":
-/***/ (function(module, exports, __webpack_require__) {
+      if (disclosureRef && !disclosureRef.current) {
+        disclosureRef.current = element;
+      }

-"use strict";
+      var isCurrentDisclosure = !(disclosureRef !== null && disclosureRef !== void 0 && disclosureRef.current) || disclosureRef.current === element;
+      setExpanded(!!options.visible && isCurrentDisclosure);
+    }, [options.visible, disclosureRef]);
+    var onClick = (0,external_React_.useCallback)(function (event) {
+      var _onClickRef$current;

+      (_onClickRef$current = onClickRef.current) === null || _onClickRef$current === void 0 ? void 0 : _onClickRef$current.call(onClickRef, event);
+      if (event.defaultPrevented) return;

-Object.defineProperty(exports, "__esModule", {
-  value: true
+      if (disclosureRef) {
+        disclosureRef.current = event.currentTarget;
+      }
+    }, [disclosureRef]);
+    return _objectSpread2({
+      ref: useForkRef(ref, htmlRef),
+      "aria-haspopup": "dialog",
+      "aria-expanded": expanded,
+      onClick: onClick
+    }, htmlProps);
+  }
+});
+var DialogDisclosure = createComponent({
+  as: "button",
+  memo: true,
+  useHook: useDialogDisclosure
 });
-exports['default'] = registerInterfaceWithDefaultTheme;

-var _ThemedStyleSheet = __webpack_require__("030x");

-var _ThemedStyleSheet2 = _interopRequireDefault(_ThemedStyleSheet);

-var _DefaultTheme = __webpack_require__("xOhs");
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Popover/PopoverDisclosure.js

-var _DefaultTheme2 = _interopRequireDefault(_DefaultTheme);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function registerInterfaceWithDefaultTheme(reactWithStylesInterface) {
-  _ThemedStyleSheet2['default'].registerInterface(reactWithStylesInterface);
-  _ThemedStyleSheet2['default'].registerTheme(_DefaultTheme2['default']);
-}

-/***/ }),

-/***/ "WZeS":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";


-var hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';

-var isPrimitive = __webpack_require__("Teho");
-var isCallable = __webpack_require__("IdCN");
-var isDate = __webpack_require__("DmXP");
-var isSymbol = __webpack_require__("/sVA");

-var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) {
-	if (typeof O === 'undefined' || O === null) {
-		throw new TypeError('Cannot call method on ' + O);
-	}
-	if (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) {
-		throw new TypeError('hint must be "string" or "number"');
-	}
-	var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString'];
-	var method, result, i;
-	for (i = 0; i < methodNames.length; ++i) {
-		method = O[methodNames[i]];
-		if (isCallable(method)) {
-			result = method.call(O);
-			if (isPrimitive(result)) {
-				return result;
-			}
-		}
-	}
-	throw new TypeError('No default value');
-};

-var GetMethod = function GetMethod(O, P) {
-	var func = O[P];
-	if (func !== null && typeof func !== 'undefined') {
-		if (!isCallable(func)) {
-			throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function');
-		}
-		return func;
-	}
-	return void 0;
-};

-// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive
-module.exports = function ToPrimitive(input) {
-	if (isPrimitive(input)) {
-		return input;
-	}
-	var hint = 'default';
-	if (arguments.length > 1) {
-		if (arguments[1] === String) {
-			hint = 'string';
-		} else if (arguments[1] === Number) {
-			hint = 'number';
-		}
-	}

-	var exoticToPrim;
-	if (hasSymbols) {
-		if (Symbol.toPrimitive) {
-			exoticToPrim = GetMethod(input, Symbol.toPrimitive);
-		} else if (isSymbol(input)) {
-			exoticToPrim = Symbol.prototype.valueOf;
-		}
-	}
-	if (typeof exoticToPrim !== 'undefined') {
-		var result = exoticToPrim.call(input, hint);
-		if (isPrimitive(result)) {
-			return result;
-		}
-		throw new TypeError('unable to convert exotic object to primitive');
-	}
-	if (hint === 'default' && (isDate(input) || isSymbol(input))) {
-		hint = 'string';
-	}
-	return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint);
-};


-/***/ }),

-/***/ "WbBG":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */



-var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';

-module.exports = ReactPropTypesSecret;


-/***/ }),

-/***/ "Wfh+":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+var usePopoverDisclosure = createHook({
+  name: "PopoverDisclosure",
+  compose: useDialogDisclosure,
+  keys: POPOVER_DISCLOSURE_KEYS,
+  useProps: function useProps(options, _ref) {
+    var htmlRef = _ref.ref,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["ref"]);

+    return _objectSpread2({
+      ref: useForkRef(options.unstable_referenceRef, htmlRef)
+    }, htmlProps);
+  }
+});
+var PopoverDisclosure = createComponent({
+  as: "button",
+  memo: true,
+  useHook: usePopoverDisclosure
+});

-var abs = __webpack_require__("nKkb");
-var floor = __webpack_require__("UFhG");
-var ToNumber = __webpack_require__("Pjai");

-var $isNaN = __webpack_require__("HwJD");
-var $isFinite = __webpack_require__("ald4");
-var $sign = __webpack_require__("6I5v");

-// http://262.ecma-international.org/5.1/#sec-9.4
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/context.js
+/**
+ * WordPress dependencies
+ */

-module.exports = function ToInteger(value) {
-	var number = ToNumber(value);
-	if ($isNaN(number)) { return 0; }
-	if (number === 0 || !$isFinite(number)) { return number; }
-	return $sign(number) * floor(abs(number));
-};
+/**
+ * @type {import('react').Context<import('./types').Context>}
+ */

+const FlyoutContext = (0,external_wp_element_namespaceObject.createContext)({});
+const useFlyoutContext = () => (0,external_wp_element_namespaceObject.useContext)(FlyoutContext);

-/***/ }),
+// EXTERNAL MODULE: ./node_modules/react-resize-aware/dist/index.js
+var react_resize_aware_dist = __webpack_require__(235);
+var react_resize_aware_dist_default = /*#__PURE__*/__webpack_require__.n(react_resize_aware_dist);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/utils.js
+/**
+ * External dependencies
+ */

-/***/ "WmS1":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";

+/**
+ *
+ * @param { { onResize?: () => any } } onResize
+ */

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = toMomentObject;
+function useFlyoutResizeUpdater(_ref) {
+  let {
+    onResize
+  } = _ref;
+  const [resizeListener, sizes] = react_resize_aware_dist_default()();
+  (0,external_wp_compose_namespaceObject.useIsomorphicLayoutEffect)(() => {
+    onResize === null || onResize === void 0 ? void 0 : onResize();
+  }, [sizes.width, sizes.height]);
+  return resizeListener;
+}

-var _moment = __webpack_require__("wy2R");
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/useUpdateEffect.js

-var _moment2 = _interopRequireDefault(_moment);

-var _constants = __webpack_require__("Fv1B");
+/**
+ * A `React.useEffect` that will not run on the first render.
+ */

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+function useUpdateEffect_useUpdateEffect(effect, deps) {
+  var mounted = (0,external_React_.useRef)(false);
+  (0,external_React_.useEffect)(function () {
+    if (mounted.current) {
+      return effect();
+    }

-function toMomentObject(dateString, customFormat) {
-  var dateFormats = customFormat ? [customFormat, _constants.DISPLAY_FORMAT, _constants.ISO_FORMAT] : [_constants.DISPLAY_FORMAT, _constants.ISO_FORMAT];
+    mounted.current = true;
+    return undefined;
+  }, deps);
+}

-  var date = (0, _moment2['default'])(dateString, dateFormats, true);
-  return date.isValid() ? date.hour(12) : null;
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/removeIndexFromArray.js
+/**
+ * Immutably removes an index from an array.
+ *
+ * @example
+ * import { removeIndexFromArray } from "reakit-utils";
+ *
+ * removeIndexFromArray(["a", "b", "c"], 1); // ["a", "c"]
+ *
+ * @returns {Array} A new array without the item in the passed index.
+ */
+function removeIndexFromArray(array, index) {
+  if (index === -1) return array;
+  return [].concat(array.slice(0, index), array.slice(index + 1));
 }

-/***/ }),

-/***/ "WnOg":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* unused harmony export warning */
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/removeItemFromArray.js


 /**
- * Logs `messages` to the console using `console.warn` based on a `condition`.
+ * Immutably removes an item from an array.
  *
  * @example
- * import { warning } from "reakit-warning";
+ * import { removeItemFromArray } from "reakit-utils";
+ *
+ * removeItemFromArray(["a", "b", "c"], "b"); // ["a", "c"]
+ *
+ * // This only works by reference
+ * const obj = {};
+ * removeItemFromArray([obj], {}); // [obj]
+ * removeItemFromArray([obj], obj); // []
  *
- * warning(true, "a", "b"); // console.warn("a", "\n", "b")
- * warning(false, "a", "b"); // does nothing
+ * @returns {Array} A new array without the passed item.
  */

-function warning(condition) {
-  if (false) { var warns, _len, messages, _key, _console; }
+function removeItemFromArray_removeItemFromArray(array, item) {
+  var index = array.indexOf(item);
+  return removeIndexFromArray(array, index);
 }



+;// CONCATENATED MODULE: ./node_modules/reakit/es/MenuContext-6af6cf92.js

-/***/ }),

-/***/ "XGBb":
-/***/ (function(module, exports, __webpack_require__) {

-var moment = __webpack_require__("wy2R");
-var momentValidationWrapper = __webpack_require__("c6aN");
-var core = __webpack_require__("iNdV");
+var MenuContext = /*#__PURE__*/(0,external_React_.createContext)(null);
+function useMenuContext(menuRef, role, options) {
+  var orphan = "unstable_orphan" in options && options.unstable_orphan;
+  var parent = useContext(MenuContext);

-module.exports = {
+  var _React$useState = useState([]),
+      children = _React$useState[0],
+      setChildren = _React$useState[1];

-  momentObj : core.createMomentChecker(
-    'object',
-    function(obj) {
-      return typeof obj === 'object';
-    },
-    function isValid(value) {
-      return momentValidationWrapper.isValidMoment(value);
-    },
-    'Moment'
-  ),
+  var _ref = parent || {},
+      addChildToParent = _ref.addChild,
+      removeChildFromParent = _ref.removeChild;

-  momentString : core.createMomentChecker(
-    'string',
-    function(str) {
-      return typeof str === 'string';
-    },
-    function isValid(value) {
-      return momentValidationWrapper.isValidMoment(moment(value));
-    },
-    'Moment'
-  ),
+  var addChild = useCallback(function (ref) {
+    return setChildren(function (refs) {
+      return [].concat(refs, [ref]);
+    });
+  }, []);
+  var removeChild = useCallback(function (ref) {
+    return setChildren(function (refs) {
+      return removeItemFromArray(refs, ref);
+    });
+  }, []); // If it's a nested menu, add it to parent

-  momentDurationObj : core.createMomentChecker(
-    'object',
-    function(obj) {
-      return typeof obj === 'object';
-    },
-    function isValid(value) {
-      return moment.isDuration(value);
-    },
-    'Duration'
-  ),
+  useEffect(function () {
+    if (!addChildToParent || orphan) return undefined;
+    addChildToParent(menuRef);
+    return function () {
+      removeChildFromParent === null || removeChildFromParent === void 0 ? void 0 : removeChildFromParent(menuRef);
+    };
+  }, [menuRef, addChildToParent, removeChildFromParent, orphan]);
+  var providerValue = useMemo(function () {
+    return {
+      orientation: options.orientation,
+      next: options.next,
+      previous: options.previous,
+      ref: menuRef,
+      role: role,
+      parent: parent,
+      children: children,
+      addChild: addChild,
+      removeChild: removeChild
+    };
+  }, [options.orientation, options.next, options.previous, menuRef, role, parent, children, addChild, removeChild]);
+  var wrapElement = useCallback(function (element) {
+    return /*#__PURE__*/createElement(MenuContext.Provider, {
+      value: providerValue
+    }, element);
+  }, [providerValue]);
+  return wrapElement;
+}

-};


-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/body-scroll-lock/lib/bodyScrollLock.esm.js
+function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

-/***/ "XgzB":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+// Older browsers don't support event options, feature detect it.

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+// Adopted and modified solution from Bohdan Didukh (2017)
+// https://stackoverflow.com/questions/41594997/ios-10-safari-prevent-scrolling-behind-a-fixed-overlay-and-maintain-scroll-posi

+var hasPassiveEvents = false;
+if (typeof window !== 'undefined') {
+  var passiveTestOptions = {
+    get passive() {
+      hasPassiveEvents = true;
+      return undefined;
+    }
+  };
+  window.addEventListener('testPassive', null, passiveTestOptions);
+  window.removeEventListener('testPassive', null, passiveTestOptions);
+}

-/**
- * WordPress dependencies
- */
+var isIosDevice = typeof window !== 'undefined' && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === 'MacIntel' && window.navigator.maxTouchPoints > 1);

-const chevronUp = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronUp);

+var locks = [];
+var documentListenerAdded = false;
+var initialClientY = -1;
+var previousBodyOverflowSetting = void 0;
+var previousBodyPaddingRight = void 0;

-/***/ }),
+// returns true if `el` should be allowed to receive touchmove events.
+var allowTouchMove = function allowTouchMove(el) {
+  return locks.some(function (lock) {
+    if (lock.options.allowTouchMove && lock.options.allowTouchMove(el)) {
+      return true;
+    }

-/***/ "Xtko":
-/***/ (function(module, exports, __webpack_require__) {
+    return false;
+  });
+};

-"use strict";
+var preventDefault = function preventDefault(rawEvent) {
+  var e = rawEvent || window.event;

+  // For the case whereby consumers adds a touchmove event listener to document.
+  // Recall that we do document.addEventListener('touchmove', preventDefault, { passive: false })
+  // in disableBodyScroll - so if we provide this opportunity to allowTouchMove, then
+  // the touchmove event on document will break.
+  if (allowTouchMove(e.target)) {
+    return true;
+  }

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+  // Do not prevent if the event has more than one touch (usually meaning this is a multi touch gesture like pinch to zoom).
+  if (e.touches.length > 1) return true;

-var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
+  if (e.preventDefault) e.preventDefault();

-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+  return false;
+};

-var _object = __webpack_require__("Koq/");
+var setOverflowHidden = function setOverflowHidden(options) {
+  // If previousBodyPaddingRight is already set, don't set it again.
+  if (previousBodyPaddingRight === undefined) {
+    var _reserveScrollBarGap = !!options && options.reserveScrollBarGap === true;
+    var scrollBarGap = window.innerWidth - document.documentElement.clientWidth;

-var _object2 = _interopRequireDefault(_object);
+    if (_reserveScrollBarGap && scrollBarGap > 0) {
+      previousBodyPaddingRight = document.body.style.paddingRight;
+      document.body.style.paddingRight = scrollBarGap + 'px';
+    }
+  }
+
+  // If previousBodyOverflowSetting is already set, don't set it again.
+  if (previousBodyOverflowSetting === undefined) {
+    previousBodyOverflowSetting = document.body.style.overflow;
+    document.body.style.overflow = 'hidden';
+  }
+};

-var _react = __webpack_require__("cDcd");
+var restoreOverflowSetting = function restoreOverflowSetting() {
+  if (previousBodyPaddingRight !== undefined) {
+    document.body.style.paddingRight = previousBodyPaddingRight;

-var _react2 = _interopRequireDefault(_react);
+    // Restore previousBodyPaddingRight to undefined so setOverflowHidden knows it
+    // can be set again.
+    previousBodyPaddingRight = undefined;
+  }

-var _propTypes = __webpack_require__("17x9");
+  if (previousBodyOverflowSetting !== undefined) {
+    document.body.style.overflow = previousBodyOverflowSetting;

-var _propTypes2 = _interopRequireDefault(_propTypes);
+    // Restore previousBodyOverflowSetting to undefined
+    // so setOverflowHidden knows it can be set again.
+    previousBodyOverflowSetting = undefined;
+  }
+};
+
+// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight#Problems_and_solutions
+var isTargetElementTotallyScrolled = function isTargetElementTotallyScrolled(targetElement) {
+  return targetElement ? targetElement.scrollHeight - targetElement.scrollTop <= targetElement.clientHeight : false;
+};
+
+var handleScroll = function handleScroll(event, targetElement) {
+  var clientY = event.targetTouches[0].clientY - initialClientY;
+
+  if (allowTouchMove(event.target)) {
+    return false;
+  }
+
+  if (targetElement && targetElement.scrollTop === 0 && clientY > 0) {
+    // element is at the top of its scroll.
+    return preventDefault(event);
+  }
+
+  if (isTargetElementTotallyScrolled(targetElement) && clientY < 0) {
+    // element is at the bottom of its scroll.
+    return preventDefault(event);
+  }

-var _reactMomentProptypes = __webpack_require__("XGBb");
+  event.stopPropagation();
+  return true;
+};
+
+var disableBodyScroll = function disableBodyScroll(targetElement, options) {
+  // targetElement must be provided
+  if (!targetElement) {
+    // eslint-disable-next-line no-console
+    console.error('disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.');
+    return;
+  }
+
+  // disableBodyScroll must not have been called on this targetElement before
+  if (locks.some(function (lock) {
+    return lock.targetElement === targetElement;
+  })) {
+    return;
+  }

-var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);
+  var lock = {
+    targetElement: targetElement,
+    options: options || {}
+  };

-var _airbnbPropTypes = __webpack_require__("Hsqg");
+  locks = [].concat(_toConsumableArray(locks), [lock]);

-var _moment = __webpack_require__("wy2R");
+  if (isIosDevice) {
+    targetElement.ontouchstart = function (event) {
+      if (event.targetTouches.length === 1) {
+        // detect single touch.
+        initialClientY = event.targetTouches[0].clientY;
+      }
+    };
+    targetElement.ontouchmove = function (event) {
+      if (event.targetTouches.length === 1) {
+        // detect single touch.
+        handleScroll(event, targetElement);
+      }
+    };

-var _moment2 = _interopRequireDefault(_moment);
+    if (!documentListenerAdded) {
+      document.addEventListener('touchmove', preventDefault, hasPassiveEvents ? { passive: false } : undefined);
+      documentListenerAdded = true;
+    }
+  } else {
+    setOverflowHidden(options);
+  }
+};

-var _object3 = __webpack_require__("4cSd");
+var clearAllBodyScrollLocks = function clearAllBodyScrollLocks() {
+  if (isIosDevice) {
+    // Clear all locks ontouchstart/ontouchmove handlers, and the references.
+    locks.forEach(function (lock) {
+      lock.targetElement.ontouchstart = null;
+      lock.targetElement.ontouchmove = null;
+    });

-var _object4 = _interopRequireDefault(_object3);
+    if (documentListenerAdded) {
+      document.removeEventListener('touchmove', preventDefault, hasPassiveEvents ? { passive: false } : undefined);
+      documentListenerAdded = false;
+    }

-var _isTouchDevice = __webpack_require__("LTAC");
+    // Reset initial clientY.
+    initialClientY = -1;
+  } else {
+    restoreOverflowSetting();
+  }

-var _isTouchDevice2 = _interopRequireDefault(_isTouchDevice);
+  locks = [];
+};

-var _defaultPhrases = __webpack_require__("vV+G");
+var enableBodyScroll = function enableBodyScroll(targetElement) {
+  if (!targetElement) {
+    // eslint-disable-next-line no-console
+    console.error('enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.');
+    return;
+  }

-var _getPhrasePropTypes = __webpack_require__("yc2e");
+  locks = locks.filter(function (lock) {
+    return lock.targetElement !== targetElement;
+  });

-var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
+  if (isIosDevice) {
+    targetElement.ontouchstart = null;
+    targetElement.ontouchmove = null;

-var _isSameDay = __webpack_require__("pRvc");
+    if (documentListenerAdded && locks.length === 0) {
+      document.removeEventListener('touchmove', preventDefault, hasPassiveEvents ? { passive: false } : undefined);
+      documentListenerAdded = false;
+    }
+  } else if (!locks.length) {
+    restoreOverflowSetting();
+  }
+};

-var _isSameDay2 = _interopRequireDefault(_isSameDay);

-var _isAfterDay = __webpack_require__("Nho6");
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/closest.js

-var _isAfterDay2 = _interopRequireDefault(_isAfterDay);

-var _getVisibleDays = __webpack_require__("u5Fq");
+/**
+ * Ponyfill for `Element.prototype.closest`
+ *
+ * @example
+ * import { closest } from "reakit-utils";
+ *
+ * closest(document.getElementById("id"), "div");
+ * // same as
+ * document.getElementById("id").closest("div");
+ */
+function closest_closest(element, selectors) {
+  if ("closest" in element) return element.closest(selectors);

-var _getVisibleDays2 = _interopRequireDefault(_getVisibleDays);
+  do {
+    if (matches(element, selectors)) return element;
+    element = element.parentElement || element.parentNode;
+  } while (element !== null && element.nodeType === 1);

-var _isDayVisible = __webpack_require__("IgE5");
+  return null;
+}

-var _isDayVisible2 = _interopRequireDefault(_isDayVisible);

-var _toISODateString = __webpack_require__("pYxT");

-var _toISODateString2 = _interopRequireDefault(_toISODateString);
+;// CONCATENATED MODULE: ./node_modules/reakit/es/DialogBackdropContext-8775f78b.js

-var _toISOMonthString = __webpack_require__("jenk");

-var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString);
+var DialogBackdropContext = /*#__PURE__*/(0,external_React_.createContext)(undefined);

-var _ScrollableOrientationShape = __webpack_require__("aE6U");

-var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);

-var _DayOfWeekShape = __webpack_require__("2S2E");
+;// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isEmpty.js

-var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape);

-var _CalendarInfoPositionShape = __webpack_require__("oR9Z");
+/**
+ * Checks whether `arg` is empty or not.
+ *
+ * @example
+ * import { isEmpty } from "reakit-utils";
+ *
+ * isEmpty([]); // true
+ * isEmpty(["a"]); // false
+ * isEmpty({}); // true
+ * isEmpty({ a: "a" }); // false
+ * isEmpty(); // true
+ * isEmpty(null); // true
+ * isEmpty(undefined); // true
+ * isEmpty(""); // true
+ */

-var _CalendarInfoPositionShape2 = _interopRequireDefault(_CalendarInfoPositionShape);
+function isEmpty(arg) {
+  if (Array.isArray(arg)) return !arg.length;
+  if (isObject_isObject(arg)) return !Object.keys(arg).length;
+  if (arg == null) return true;
+  if (arg === "") return true;
+  return false;
+}

-var _constants = __webpack_require__("Fv1B");

-var _DayPicker = __webpack_require__("Nloh");

-var _DayPicker2 = _interopRequireDefault(_DayPicker);
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Dialog/Dialog.js

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)({
-  date: _reactMomentProptypes2['default'].momentObj,
-  onDateChange: _propTypes2['default'].func,

-  focused: _propTypes2['default'].bool,
-  onFocusChange: _propTypes2['default'].func,
-  onClose: _propTypes2['default'].func,

-  keepOpenOnDateSelect: _propTypes2['default'].bool,
-  isOutsideRange: _propTypes2['default'].func,
-  isDayBlocked: _propTypes2['default'].func,
-  isDayHighlighted: _propTypes2['default'].func,

-  // DayPicker props
-  renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
-  renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
-  enableOutsideDays: _propTypes2['default'].bool,
-  numberOfMonths: _propTypes2['default'].number,
-  orientation: _ScrollableOrientationShape2['default'],
-  withPortal: _propTypes2['default'].bool,
-  initialVisibleMonth: _propTypes2['default'].func,
-  firstDayOfWeek: _DayOfWeekShape2['default'],
-  hideKeyboardShortcutsPanel: _propTypes2['default'].bool,
-  daySize: _airbnbPropTypes.nonNegativeInteger,
-  verticalHeight: _airbnbPropTypes.nonNegativeInteger,
-  noBorder: _propTypes2['default'].bool,
-  verticalBorderSpacing: _airbnbPropTypes.nonNegativeInteger,
-  transitionDuration: _airbnbPropTypes.nonNegativeInteger,
-  horizontalMonthPadding: _airbnbPropTypes.nonNegativeInteger,

-  navPrev: _propTypes2['default'].node,
-  navNext: _propTypes2['default'].node,

-  onPrevMonthClick: _propTypes2['default'].func,
-  onNextMonthClick: _propTypes2['default'].func,
-  onOutsideClick: _propTypes2['default'].func,
-  renderCalendarDay: _propTypes2['default'].func,
-  renderDayContents: _propTypes2['default'].func,
-  renderCalendarInfo: _propTypes2['default'].func,
-  calendarInfoPosition: _CalendarInfoPositionShape2['default'],

-  // accessibility
-  onBlur: _propTypes2['default'].func,
-  isFocused: _propTypes2['default'].bool,
-  showKeyboardShortcuts: _propTypes2['default'].bool,

-  // i18n
-  monthFormat: _propTypes2['default'].string,
-  weekDayFormat: _propTypes2['default'].string,
-  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerPhrases)),
-  dayAriaLabelFormat: _propTypes2['default'].string,

-  isRTL: _propTypes2['default'].bool
-});

-var defaultProps = {
-  date: undefined, // TODO: use null
-  onDateChange: function () {
-    function onDateChange() {}

-    return onDateChange;
-  }(),


-  focused: false,
-  onFocusChange: function () {
-    function onFocusChange() {}

-    return onFocusChange;
-  }(),
-  onClose: function () {
-    function onClose() {}

-    return onClose;
-  }(),


-  keepOpenOnDateSelect: false,
-  isOutsideRange: function () {
-    function isOutsideRange() {}

-    return isOutsideRange;
-  }(),
-  isDayBlocked: function () {
-    function isDayBlocked() {}

-    return isDayBlocked;
-  }(),
-  isDayHighlighted: function () {
-    function isDayHighlighted() {}

-    return isDayHighlighted;
-  }(),


-  // DayPicker props
-  renderMonthText: null,
-  enableOutsideDays: false,
-  numberOfMonths: 1,
-  orientation: _constants.HORIZONTAL_ORIENTATION,
-  withPortal: false,
-  hideKeyboardShortcutsPanel: false,
-  initialVisibleMonth: null,
-  firstDayOfWeek: null,
-  daySize: _constants.DAY_SIZE,
-  verticalHeight: null,
-  noBorder: false,
-  verticalBorderSpacing: undefined,
-  transitionDuration: undefined,
-  horizontalMonthPadding: 13,

-  navPrev: null,
-  navNext: null,

-  onPrevMonthClick: function () {
-    function onPrevMonthClick() {}

-    return onPrevMonthClick;
-  }(),
-  onNextMonthClick: function () {
-    function onNextMonthClick() {}

-    return onNextMonthClick;
-  }(),
-  onOutsideClick: function () {
-    function onOutsideClick() {}

-    return onOutsideClick;
-  }(),


-  renderCalendarDay: undefined,
-  renderDayContents: null,
-  renderCalendarInfo: null,
-  renderMonthElement: null,
-  calendarInfoPosition: _constants.INFO_POSITION_BOTTOM,
+function useDisclosureRef(dialogRef, options) {
+  var ref = (0,external_React_.useRef)(null);
+  var animating = !!(options.animated && options.animating);
+  (0,external_React_.useEffect)(function () {
+    if (options.visible || animating) return undefined; // We get the last focused element before the dialog opens, so we can move
+    // focus back to it when the dialog closes.

-  // accessibility
-  onBlur: function () {
-    function onBlur() {}
+    var onFocus = function onFocus(event) {
+      var target = event.target;

-    return onBlur;
-  }(),
+      if ("focus" in target) {
+        ref.current = target;

-  isFocused: false,
-  showKeyboardShortcuts: false,
+        if (options.unstable_disclosureRef) {
+          options.unstable_disclosureRef.current = target;
+        }
+      }
+    };

-  // i18n
-  monthFormat: 'MMMM YYYY',
-  weekDayFormat: 'dd',
-  phrases: _defaultPhrases.DayPickerPhrases,
-  dayAriaLabelFormat: undefined,
+    var document = getDocument(dialogRef.current);
+    document.addEventListener("focusin", onFocus);
+    return function () {
+      return document.removeEventListener("focusin", onFocus);
+    };
+  }, [options.visible, animating, options.unstable_disclosureRef, dialogRef]);
+  (0,external_React_.useEffect)(function () {
+    var _options$unstable_dis;

-  isRTL: false
-};
+    if (!options.visible || animating) return undefined; // Safari and Firefox on MacOS don't focus on buttons on mouse down.
+    // Instead, they focus on the closest focusable parent (ultimately, the
+    // body element). This works around that by preventing that behavior and
+    // forcing focus on the disclosure button. Otherwise, we wouldn't be able
+    // to close the dialog by clicking again on the disclosure.

-var DayPickerSingleDateController = function (_React$Component) {
-  _inherits(DayPickerSingleDateController, _React$Component);
+    var onMouseDown = function onMouseDown(event) {
+      var element = event.currentTarget;
+      if (!isButton(element)) return;
+      event.preventDefault();
+      element.focus();
+    };

-  function DayPickerSingleDateController(props) {
-    _classCallCheck(this, DayPickerSingleDateController);
+    var disclosure = ((_options$unstable_dis = options.unstable_disclosureRef) === null || _options$unstable_dis === void 0 ? void 0 : _options$unstable_dis.current) || ref.current;
+    disclosure === null || disclosure === void 0 ? void 0 : disclosure.addEventListener("mousedown", onMouseDown);
+    return function () {
+      return disclosure === null || disclosure === void 0 ? void 0 : disclosure.removeEventListener("mousedown", onMouseDown);
+    };
+  }, [options.visible, animating, options.unstable_disclosureRef]);
+  return options.unstable_disclosureRef || ref;
+}

-    var _this = _possibleConstructorReturn(this, (DayPickerSingleDateController.__proto__ || Object.getPrototypeOf(DayPickerSingleDateController)).call(this, props));
+function usePreventBodyScroll(targetRef, options) {
+  var shouldPrevent = Boolean(options.preventBodyScroll && options.visible);
+  (0,external_React_.useEffect)(function () {
+    var element = targetRef.current;
+    if (!element || !shouldPrevent) return undefined;
+    disableBodyScroll(element, {
+      reserveScrollBarGap: true
+    });
+    return function () {
+      return enableBodyScroll(element);
+    };
+  }, [targetRef, shouldPrevent]);
+}

-    _this.isTouchDevice = false;
-    _this.today = (0, _moment2['default'])();
+function useFocusOnShow(dialogRef, nestedDialogs, options) {
+  var initialFocusRef = options.unstable_initialFocusRef;
+  var shouldFocus = options.visible && options.unstable_autoFocusOnShow;
+  var animating = !!(options.animated && options.animating);
+  useUpdateEffect_useUpdateEffect(function () {
+    var dialog = dialogRef.current;
+     false ? 0 : void 0;
+    if (!shouldFocus) return;
+    if (!dialog) return;
+    if (animating) return; // If there're nested open dialogs, let them handle focus

-    _this.modifiers = {
-      today: function () {
-        function today(day) {
-          return _this.isToday(day);
-        }
+    if (nestedDialogs.some(function (child) {
+      return child.current && !child.current.hidden;
+    })) {
+      return;
+    }

-        return today;
-      }(),
-      blocked: function () {
-        function blocked(day) {
-          return _this.isBlocked(day);
-        }
+    if (initialFocusRef !== null && initialFocusRef !== void 0 && initialFocusRef.current) {
+      initialFocusRef.current.focus({
+        preventScroll: true
+      });
+    } else {
+      var tabbable = getFirstTabbableIn(dialog, true);

-        return blocked;
-      }(),
-      'blocked-calendar': function () {
-        function blockedCalendar(day) {
-          return props.isDayBlocked(day);
-        }
+      var isActive = function isActive() {
+        return hasFocusWithin(dialog);
+      };

-        return blockedCalendar;
-      }(),
-      'blocked-out-of-range': function () {
-        function blockedOutOfRange(day) {
-          return props.isOutsideRange(day);
-        }
+      if (tabbable) {
+        ensureFocus(tabbable, {
+          preventScroll: true,
+          isActive: isActive
+        });
+      } else {
+        ensureFocus(dialog, {
+          preventScroll: true,
+          isActive: isActive
+        });
+         false ? 0 : void 0;
+      }
+    }
+  }, [dialogRef, shouldFocus, animating, nestedDialogs, initialFocusRef]);
+}

-        return blockedOutOfRange;
-      }(),
-      'highlighted-calendar': function () {
-        function highlightedCalendar(day) {
-          return props.isDayHighlighted(day);
-        }
+function usePortalRef(dialogRef, options) {
+  var portalRef = (0,external_React_.useRef)(null);
+  (0,external_React_.useEffect)(function () {
+    var dialog = dialogRef.current;
+    if (!dialog || !options.visible) return;
+    portalRef.current = closest_closest(dialog, Portal.__selector);
+  }, [dialogRef, options.visible]);
+  return portalRef;
+}

-        return highlightedCalendar;
-      }(),
-      valid: function () {
-        function valid(day) {
-          return !_this.isBlocked(day);
-        }
+function removeFromDOM(element) {
+  if (element.parentNode == null) return;
+  element.parentNode.removeChild(element);
+}

-        return valid;
-      }(),
-      hovered: function () {
-        function hovered(day) {
-          return _this.isHovered(day);
-        }
+var focusTrapClassName = "__reakit-focus-trap";
+function isFocusTrap(element) {
+  var _element$classList;

-        return hovered;
-      }(),
-      selected: function () {
-        function selected(day) {
-          return _this.isSelected(day);
-        }
+  return (_element$classList = element.classList) === null || _element$classList === void 0 ? void 0 : _element$classList.contains(focusTrapClassName);
+}
+function useFocusTrap(dialogRef, visibleModals, options) {
+  var portalRef = usePortalRef(dialogRef, options);
+  var shouldTrap = options.visible && options.modal;
+  var beforeElement = (0,external_React_.useRef)(null);
+  var afterElement = (0,external_React_.useRef)(null); // Create before and after elements
+  // https://github.com/w3c/aria-practices/issues/545

-        return selected;
-      }(),
-      'first-day-of-week': function () {
-        function firstDayOfWeek(day) {
-          return _this.isFirstDayOfWeek(day);
-        }
+  (0,external_React_.useEffect)(function () {
+    if (!shouldTrap) return undefined;
+    var portal = portalRef.current;

-        return firstDayOfWeek;
-      }(),
-      'last-day-of-week': function () {
-        function lastDayOfWeek(day) {
-          return _this.isLastDayOfWeek(day);
-        }
+    if (!portal) {
+       false ? 0 : void 0;
+      return undefined;
+    }

-        return lastDayOfWeek;
-      }()
-    };
+    if (!beforeElement.current) {
+      var document = getDocument(portal);
+      beforeElement.current = document.createElement("div");
+      beforeElement.current.className = focusTrapClassName;
+      beforeElement.current.tabIndex = 0;
+      beforeElement.current.style.position = "fixed";
+      beforeElement.current.setAttribute("aria-hidden", "true");
+    }

-    var _this$getStateForNewM = _this.getStateForNewMonth(props),
-        currentMonth = _this$getStateForNewM.currentMonth,
-        visibleDays = _this$getStateForNewM.visibleDays;
+    if (!afterElement.current) {
+      afterElement.current = beforeElement.current.cloneNode();
+    }

-    _this.state = {
-      hoverDate: null,
-      currentMonth: currentMonth,
-      visibleDays: visibleDays
+    portal.insertAdjacentElement("beforebegin", beforeElement.current);
+    portal.insertAdjacentElement("afterend", afterElement.current);
+    return function () {
+      if (beforeElement.current) removeFromDOM(beforeElement.current);
+      if (afterElement.current) removeFromDOM(afterElement.current);
     };
+  }, [portalRef, shouldTrap]); // Focus trap

-    _this.onDayMouseEnter = _this.onDayMouseEnter.bind(_this);
-    _this.onDayMouseLeave = _this.onDayMouseLeave.bind(_this);
-    _this.onDayClick = _this.onDayClick.bind(_this);
-
-    _this.onPrevMonthClick = _this.onPrevMonthClick.bind(_this);
-    _this.onNextMonthClick = _this.onNextMonthClick.bind(_this);
-    _this.onMonthChange = _this.onMonthChange.bind(_this);
-    _this.onYearChange = _this.onYearChange.bind(_this);
+  (0,external_React_.useEffect)(function () {
+    var before = beforeElement.current;
+    var after = afterElement.current;
+    if (!shouldTrap || !before || !after) return undefined;

-    _this.getFirstFocusableDay = _this.getFirstFocusableDay.bind(_this);
-    return _this;
-  }
+    var handleFocus = function handleFocus(event) {
+      var dialog = dialogRef.current;
+      if (!dialog || visibleModals.length) return;
+      event.preventDefault();
+      var isAfter = event.target === after;
+      var tabbable = isAfter ? getFirstTabbableIn(dialog) : getLastTabbableIn(dialog);

-  _createClass(DayPickerSingleDateController, [{
-    key: 'componentDidMount',
-    value: function () {
-      function componentDidMount() {
-        this.isTouchDevice = (0, _isTouchDevice2['default'])();
+      if (tabbable) {
+        tabbable.focus();
+      } else {
+        // fallback to dialog
+        dialog.focus();
       }
+    };

-      return componentDidMount;
-    }()
-  }, {
-    key: 'componentWillReceiveProps',
-    value: function () {
-      function componentWillReceiveProps(nextProps) {
-        var _this2 = this;
+    before.addEventListener("focus", handleFocus);
+    after.addEventListener("focus", handleFocus);
+    return function () {
+      before.removeEventListener("focus", handleFocus);
+      after.removeEventListener("focus", handleFocus);
+    };
+  }, [dialogRef, visibleModals, shouldTrap]);
+}

-        var date = nextProps.date,
-            focused = nextProps.focused,
-            isOutsideRange = nextProps.isOutsideRange,
-            isDayBlocked = nextProps.isDayBlocked,
-            isDayHighlighted = nextProps.isDayHighlighted,
-            initialVisibleMonth = nextProps.initialVisibleMonth,
-            numberOfMonths = nextProps.numberOfMonths,
-            enableOutsideDays = nextProps.enableOutsideDays;
-        var _props = this.props,
-            prevIsOutsideRange = _props.isOutsideRange,
-            prevIsDayBlocked = _props.isDayBlocked,
-            prevIsDayHighlighted = _props.isDayHighlighted,
-            prevNumberOfMonths = _props.numberOfMonths,
-            prevEnableOutsideDays = _props.enableOutsideDays,
-            prevInitialVisibleMonth = _props.initialVisibleMonth,
-            prevFocused = _props.focused,
-            prevDate = _props.date;
-        var visibleDays = this.state.visibleDays;
+function hidByFocusingAnotherElement(dialogRef) {
+  var dialog = dialogRef.current;
+  if (!dialog) return false;
+  var activeElement = getActiveElement_getActiveElement(dialog);
+  if (!activeElement) return false;
+  if (contains(dialog, activeElement)) return false;
+  if (isTabbable(activeElement)) return true;
+  if (activeElement.getAttribute("data-dialog") === "true") return true;
+  return false;
+}
+
+function useFocusOnHide(dialogRef, disclosureRef, options) {
+  var shouldFocus = options.unstable_autoFocusOnHide && !options.visible;
+  var animating = !!(options.animated && options.animating);
+  useUpdateEffect_useUpdateEffect(function () {
+    var _options$unstable_fin;

+    if (!shouldFocus) return;
+    if (animating) return; // Hide was triggered by a click/focus on a tabbable element outside
+    // the dialog or on another dialog. We won't change focus then.

-        var recomputeOutsideRange = false;
-        var recomputeDayBlocked = false;
-        var recomputeDayHighlighted = false;
+    if (hidByFocusingAnotherElement(dialogRef)) {
+      return;
+    }

-        if (isOutsideRange !== prevIsOutsideRange) {
-          this.modifiers['blocked-out-of-range'] = function (day) {
-            return isOutsideRange(day);
-          };
-          recomputeOutsideRange = true;
-        }
+    var finalFocusEl = ((_options$unstable_fin = options.unstable_finalFocusRef) === null || _options$unstable_fin === void 0 ? void 0 : _options$unstable_fin.current) || disclosureRef.current;

-        if (isDayBlocked !== prevIsDayBlocked) {
-          this.modifiers['blocked-calendar'] = function (day) {
-            return isDayBlocked(day);
-          };
-          recomputeDayBlocked = true;
-        }
+    if (finalFocusEl) {
+      if (finalFocusEl.id) {
+        var document = getDocument(finalFocusEl);
+        var compositeElement = document.querySelector("[aria-activedescendant='" + finalFocusEl.id + "']");

-        if (isDayHighlighted !== prevIsDayHighlighted) {
-          this.modifiers['highlighted-calendar'] = function (day) {
-            return isDayHighlighted(day);
-          };
-          recomputeDayHighlighted = true;
+        if (compositeElement) {
+          ensureFocus(compositeElement);
+          return;
         }
+      }

-        var recomputePropModifiers = recomputeOutsideRange || recomputeDayBlocked || recomputeDayHighlighted;
+      ensureFocus(finalFocusEl);
+      return;
+    }

-        if (numberOfMonths !== prevNumberOfMonths || enableOutsideDays !== prevEnableOutsideDays || initialVisibleMonth !== prevInitialVisibleMonth && !prevFocused && focused) {
-          var newMonthState = this.getStateForNewMonth(nextProps);
-          var currentMonth = newMonthState.currentMonth;
-          visibleDays = newMonthState.visibleDays;
+     false ? 0 : void 0;
+  }, [shouldFocus, animating, dialogRef, disclosureRef]);
+}

-          this.setState({
-            currentMonth: currentMonth,
-            visibleDays: visibleDays
-          });
-        }
+var DialogContext = /*#__PURE__*/(0,external_React_.createContext)({});
+function useNestedDialogs(dialogRef, options) {
+  var context = (0,external_React_.useContext)(DialogContext);

-        var didDateChange = date !== prevDate;
-        var didFocusChange = focused !== prevFocused;
+  var _React$useState = (0,external_React_.useState)([]),
+      dialogs = _React$useState[0],
+      setDialogs = _React$useState[1];

-        var modifiers = {};
+  var _React$useState2 = (0,external_React_.useState)(dialogs),
+      visibleModals = _React$useState2[0],
+      setVisibleModals = _React$useState2[1];

-        if (didDateChange) {
-          modifiers = this.deleteModifier(modifiers, prevDate, 'selected');
-          modifiers = this.addModifier(modifiers, date, 'selected');
-        }
+  var addDialog = (0,external_React_.useCallback)(function (ref) {
+    var _context$addDialog;

-        if (didFocusChange || recomputePropModifiers) {
-          (0, _object4['default'])(visibleDays).forEach(function (days) {
-            Object.keys(days).forEach(function (day) {
-              var momentObj = (0, _moment2['default'])(day);
-              if (_this2.isBlocked(momentObj)) {
-                modifiers = _this2.addModifier(modifiers, momentObj, 'blocked');
-              } else {
-                modifiers = _this2.deleteModifier(modifiers, momentObj, 'blocked');
-              }
+    (_context$addDialog = context.addDialog) === null || _context$addDialog === void 0 ? void 0 : _context$addDialog.call(context, ref);
+    setDialogs(function (prevDialogs) {
+      return [].concat(prevDialogs, [ref]);
+    });
+  }, [context.addDialog]);
+  var removeDialog = (0,external_React_.useCallback)(function (ref) {
+    var _context$removeDialog;

-              if (didFocusChange || recomputeOutsideRange) {
-                if (isOutsideRange(momentObj)) {
-                  modifiers = _this2.addModifier(modifiers, momentObj, 'blocked-out-of-range');
-                } else {
-                  modifiers = _this2.deleteModifier(modifiers, momentObj, 'blocked-out-of-range');
-                }
-              }
+    (_context$removeDialog = context.removeDialog) === null || _context$removeDialog === void 0 ? void 0 : _context$removeDialog.call(context, ref);
+    setDialogs(function (prevDialogs) {
+      return removeItemFromArray_removeItemFromArray(prevDialogs, ref);
+    });
+  }, [context.removeDialog]);
+  var showDialog = (0,external_React_.useCallback)(function (ref) {
+    var _context$showDialog;

-              if (didFocusChange || recomputeDayBlocked) {
-                if (isDayBlocked(momentObj)) {
-                  modifiers = _this2.addModifier(modifiers, momentObj, 'blocked-calendar');
-                } else {
-                  modifiers = _this2.deleteModifier(modifiers, momentObj, 'blocked-calendar');
-                }
-              }
+    (_context$showDialog = context.showDialog) === null || _context$showDialog === void 0 ? void 0 : _context$showDialog.call(context, ref);
+    setVisibleModals(function (prevDialogs) {
+      return [].concat(prevDialogs, [ref]);
+    });
+  }, [context.showDialog]);
+  var hideDialog = (0,external_React_.useCallback)(function (ref) {
+    var _context$hideDialog;

-              if (didFocusChange || recomputeDayHighlighted) {
-                if (isDayHighlighted(momentObj)) {
-                  modifiers = _this2.addModifier(modifiers, momentObj, 'highlighted-calendar');
-                } else {
-                  modifiers = _this2.deleteModifier(modifiers, momentObj, 'highlighted-calendar');
-                }
-              }
-            });
-          });
-        }
+    (_context$hideDialog = context.hideDialog) === null || _context$hideDialog === void 0 ? void 0 : _context$hideDialog.call(context, ref);
+    setVisibleModals(function (prevDialogs) {
+      return removeItemFromArray_removeItemFromArray(prevDialogs, ref);
+    });
+  }, [context.hideDialog]); // If it's a nested dialog, add it to context

-        var today = (0, _moment2['default'])();
-        if (!(0, _isSameDay2['default'])(this.today, today)) {
-          modifiers = this.deleteModifier(modifiers, this.today, 'today');
-          modifiers = this.addModifier(modifiers, today, 'today');
-          this.today = today;
-        }
+  (0,external_React_.useEffect)(function () {
+    var _context$addDialog2;

-        if (Object.keys(modifiers).length > 0) {
-          this.setState({
-            visibleDays: (0, _object2['default'])({}, visibleDays, modifiers)
-          });
-        }
-      }
+    if (options.unstable_orphan) return undefined;
+    (_context$addDialog2 = context.addDialog) === null || _context$addDialog2 === void 0 ? void 0 : _context$addDialog2.call(context, dialogRef);
+    return function () {
+      var _context$removeDialog2;

-      return componentWillReceiveProps;
-    }()
-  }, {
-    key: 'componentWillUpdate',
-    value: function () {
-      function componentWillUpdate() {
-        this.today = (0, _moment2['default'])();
-      }
+      (_context$removeDialog2 = context.removeDialog) === null || _context$removeDialog2 === void 0 ? void 0 : _context$removeDialog2.call(context, dialogRef);
+    };
+  }, [options.unstable_orphan, context.addDialog, dialogRef, context.removeDialog]);
+  (0,external_React_.useEffect)(function () {
+    var _context$showDialog2;

-      return componentWillUpdate;
-    }()
-  }, {
-    key: 'onDayClick',
-    value: function () {
-      function onDayClick(day, e) {
-        if (e) e.preventDefault();
-        if (this.isBlocked(day)) return;
-        var _props2 = this.props,
-            onDateChange = _props2.onDateChange,
-            keepOpenOnDateSelect = _props2.keepOpenOnDateSelect,
-            onFocusChange = _props2.onFocusChange,
-            onClose = _props2.onClose;
+    if (options.unstable_orphan) return undefined;
+    if (!options.modal) return undefined;
+    if (!options.visible) return undefined;
+    (_context$showDialog2 = context.showDialog) === null || _context$showDialog2 === void 0 ? void 0 : _context$showDialog2.call(context, dialogRef);
+    return function () {
+      var _context$hideDialog2;

+      (_context$hideDialog2 = context.hideDialog) === null || _context$hideDialog2 === void 0 ? void 0 : _context$hideDialog2.call(context, dialogRef);
+    };
+  }, [options.unstable_orphan, options.modal, options.visible, context.showDialog, dialogRef, context.hideDialog]); // Close all nested dialogs when parent dialog closes

-        onDateChange(day);
-        if (!keepOpenOnDateSelect) {
-          onFocusChange({ focused: false });
-          onClose({ date: day });
-        }
-      }
+  (0,external_React_.useEffect)(function () {
+    if (context.visible === false && options.visible && !options.unstable_orphan) {
+      var _options$hide;

-      return onDayClick;
-    }()
-  }, {
-    key: 'onDayMouseEnter',
-    value: function () {
-      function onDayMouseEnter(day) {
-        if (this.isTouchDevice) return;
-        var _state = this.state,
-            hoverDate = _state.hoverDate,
-            visibleDays = _state.visibleDays;
+      (_options$hide = options.hide) === null || _options$hide === void 0 ? void 0 : _options$hide.call(options);
+    }
+  }, [context.visible, options.visible, options.hide, options.unstable_orphan]); // Provider

+  var providerValue = (0,external_React_.useMemo)(function () {
+    return {
+      visible: options.visible,
+      addDialog: addDialog,
+      removeDialog: removeDialog,
+      showDialog: showDialog,
+      hideDialog: hideDialog
+    };
+  }, [options.visible, addDialog, removeDialog, showDialog, hideDialog]);
+  var wrap = (0,external_React_.useCallback)(function (element) {
+    return /*#__PURE__*/(0,external_React_.createElement)(DialogContext.Provider, {
+      value: providerValue
+    }, element);
+  }, [providerValue]);
+  return {
+    dialogs: dialogs,
+    visibleModals: visibleModals,
+    wrap: wrap
+  };
+}

-        var modifiers = this.deleteModifier({}, hoverDate, 'hovered');
-        modifiers = this.addModifier(modifiers, day, 'hovered');
+function dialogContains(target) {
+  return function (dialogRef) {
+    var dialog = dialogRef.current;
+    if (!dialog) return false;
+    if (contains(dialog, target)) return true;
+    var document = getDocument(dialog);
+    var backdrop = document.querySelector("[data-dialog-ref=\"" + dialog.id + "\"]");

-        this.setState({
-          hoverDate: day,
-          visibleDays: (0, _object2['default'])({}, visibleDays, modifiers)
-        });
-      }
+    if (backdrop) {
+      return contains(backdrop, target);
+    }

-      return onDayMouseEnter;
-    }()
-  }, {
-    key: 'onDayMouseLeave',
-    value: function () {
-      function onDayMouseLeave() {
-        var _state2 = this.state,
-            hoverDate = _state2.hoverDate,
-            visibleDays = _state2.visibleDays;
+    return false;
+  };
+}

-        if (this.isTouchDevice || !hoverDate) return;
+function isDisclosure(target, disclosure) {
+  return contains(disclosure, target);
+}

-        var modifiers = this.deleteModifier({}, hoverDate, 'hovered');
+function isInDocument(target) {
+  var document = getDocument(target);

-        this.setState({
-          hoverDate: null,
-          visibleDays: (0, _object2['default'])({}, visibleDays, modifiers)
-        });
-      }
+  if (target.tagName === "HTML") {
+    return true;
+  }

-      return onDayMouseLeave;
-    }()
-  }, {
-    key: 'onPrevMonthClick',
-    value: function () {
-      function onPrevMonthClick() {
-        var _props3 = this.props,
-            onPrevMonthClick = _props3.onPrevMonthClick,
-            numberOfMonths = _props3.numberOfMonths,
-            enableOutsideDays = _props3.enableOutsideDays;
-        var _state3 = this.state,
-            currentMonth = _state3.currentMonth,
-            visibleDays = _state3.visibleDays;
+  return contains(document.body, target);
+}

+function useEventListenerOutside(containerRef, disclosureRef, nestedDialogs, eventType, listener, shouldListen, capture) {
+  var listenerRef = useLiveRef(listener);
+  (0,external_React_.useEffect)(function () {
+    if (!shouldListen) return undefined;

-        var newVisibleDays = {};
-        Object.keys(visibleDays).sort().slice(0, numberOfMonths + 1).forEach(function (month) {
-          newVisibleDays[month] = visibleDays[month];
-        });
+    var onEvent = function onEvent(event) {
+      if (!listenerRef.current) return;
+      var container = containerRef.current;
+      var disclosure = disclosureRef.current;
+      var target = event.target;

-        var prevMonth = currentMonth.clone().subtract(1, 'month');
-        var prevMonthVisibleDays = (0, _getVisibleDays2['default'])(prevMonth, 1, enableOutsideDays);
+      if (!container) {
+         false ? 0 : void 0;
+        return;
+      } // When an element is unmounted right after it receives focus, the focus
+      // event is triggered after that, when the element isn't part of the
+      // current document anymore. So we ignore it.

-        this.setState({
-          currentMonth: prevMonth,
-          visibleDays: (0, _object2['default'])({}, newVisibleDays, this.getModifiers(prevMonthVisibleDays))
-        }, function () {
-          onPrevMonthClick(prevMonth.clone());
-        });
+
+      if (!isInDocument(target)) return; // Event inside dialog
+
+      if (contains(container, target)) return; // Event on disclosure
+
+      if (disclosure && isDisclosure(target, disclosure)) return; // Event inside a nested dialog or focus trap
+
+      if (isFocusTrap(target) || nestedDialogs.some(dialogContains(target))) {
+        return;
       }

-      return onPrevMonthClick;
-    }()
-  }, {
-    key: 'onNextMonthClick',
-    value: function () {
-      function onNextMonthClick() {
-        var _props4 = this.props,
-            onNextMonthClick = _props4.onNextMonthClick,
-            numberOfMonths = _props4.numberOfMonths,
-            enableOutsideDays = _props4.enableOutsideDays;
-        var _state4 = this.state,
-            currentMonth = _state4.currentMonth,
-            visibleDays = _state4.visibleDays;
+      listenerRef.current(event);
+    };

+    var document = getDocument(containerRef.current);
+    document.addEventListener(eventType, onEvent, capture);
+    return function () {
+      return document.removeEventListener(eventType, onEvent, capture);
+    };
+  }, [containerRef, disclosureRef, nestedDialogs, eventType, shouldListen, listenerRef]);
+}

-        var newVisibleDays = {};
-        Object.keys(visibleDays).sort().slice(1).forEach(function (month) {
-          newVisibleDays[month] = visibleDays[month];
-        });
+function useMouseDownRef(dialogRef, options) {
+  var mouseDownRef = (0,external_React_.useRef)();
+  (0,external_React_.useEffect)(function () {
+    if (!options.visible) return undefined;
+    if (!options.hideOnClickOutside) return undefined;
+    var document = getDocument(dialogRef.current);

-        var nextMonth = currentMonth.clone().add(numberOfMonths, 'month');
-        var nextMonthVisibleDays = (0, _getVisibleDays2['default'])(nextMonth, 1, enableOutsideDays);
+    var onMouseDown = function onMouseDown(event) {
+      mouseDownRef.current = event.target;
+    };

-        var newCurrentMonth = currentMonth.clone().add(1, 'month');
-        this.setState({
-          currentMonth: newCurrentMonth,
-          visibleDays: (0, _object2['default'])({}, newVisibleDays, this.getModifiers(nextMonthVisibleDays))
-        }, function () {
-          onNextMonthClick(newCurrentMonth.clone());
-        });
-      }
+    document.addEventListener("mousedown", onMouseDown);
+    return function () {
+      return document.removeEventListener("mousedown", onMouseDown);
+    };
+  }, [options.visible, options.hideOnClickOutside, dialogRef]);
+  return mouseDownRef;
+}

-      return onNextMonthClick;
-    }()
-  }, {
-    key: 'onMonthChange',
-    value: function () {
-      function onMonthChange(newMonth) {
-        var _props5 = this.props,
-            numberOfMonths = _props5.numberOfMonths,
-            enableOutsideDays = _props5.enableOutsideDays,
-            orientation = _props5.orientation;
+function useHideOnClickOutside(dialogRef, disclosureRef, nestedDialogs, options) {
+  var mouseDownRef = useMouseDownRef(dialogRef, options);
+  useEventListenerOutside(dialogRef, disclosureRef, nestedDialogs, "click", function (event) {
+    // Make sure the element that has been clicked is the same that last
+    // triggered the mousedown event. This prevents the dialog from closing
+    // by dragging the cursor (for example, selecting some text inside the
+    // dialog and releasing the mouse outside of it).
+    if (mouseDownRef.current === event.target) {
+      var _options$hide;

-        var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
-        var newVisibleDays = (0, _getVisibleDays2['default'])(newMonth, numberOfMonths, enableOutsideDays, withoutTransitionMonths);
+      (_options$hide = options.hide) === null || _options$hide === void 0 ? void 0 : _options$hide.call(options);
+    }
+  }, options.visible && options.hideOnClickOutside);
+  useEventListenerOutside(dialogRef, disclosureRef, nestedDialogs, "focusin", function (event) {
+    var document = getDocument(dialogRef.current); // Fix for https://github.com/reakit/reakit/issues/619
+    // On IE11, calling element.blur() triggers the focus event on
+    // document.body, so we make sure to ignore it as well.

-        this.setState({
-          currentMonth: newMonth.clone(),
-          visibleDays: this.getModifiers(newVisibleDays)
-        });
-      }
+    if (event.target !== document && event.target !== document.body) {
+      var _options$hide2;

-      return onMonthChange;
-    }()
-  }, {
-    key: 'onYearChange',
-    value: function () {
-      function onYearChange(newMonth) {
-        var _props6 = this.props,
-            numberOfMonths = _props6.numberOfMonths,
-            enableOutsideDays = _props6.enableOutsideDays,
-            orientation = _props6.orientation;
+      (_options$hide2 = options.hide) === null || _options$hide2 === void 0 ? void 0 : _options$hide2.call(options);
+    }
+  }, options.visible && options.hideOnClickOutside);
+}

-        var withoutTransitionMonths = orientation === _constants.VERTICAL_SCROLLABLE;
-        var newVisibleDays = (0, _getVisibleDays2['default'])(newMonth, numberOfMonths, enableOutsideDays, withoutTransitionMonths);
+function useDisableHoverOutside(portalRef, nestedDialogs, options) {
+  var useEvent = function useEvent(eventType) {
+    return useEventListenerOutside(portalRef, {
+      current: null
+    }, nestedDialogs, eventType, function (event) {
+      event.stopPropagation();
+      event.preventDefault();
+    }, options.visible && options.modal, true);
+  };

-        this.setState({
-          currentMonth: newMonth.clone(),
-          visibleDays: this.getModifiers(newVisibleDays)
-        });
+  useEvent("mouseover");
+  useEvent("mousemove");
+  useEvent("mouseout");
+}
+
+/**
+ * When the focused child gets removed from the DOM, we make sure to move focus
+ * to the dialog.
+ */
+function useFocusOnChildUnmount(dialogRef, options) {
+  (0,external_React_.useEffect)(function () {
+    var dialog = dialogRef.current;
+    if (!options.visible || !dialog) return undefined;
+    var observer = new MutationObserver(function (mutations) {
+      var target = mutations[0].target; // If target is not this dialog, then this observer was triggered by a
+      // nested dialog, so we just ignore it here and let the nested dialog
+      // handle it there.
+
+      if (target !== dialog) return;
+      var document = getDocument(dialog);
+      var activeElement = getActiveElement_getActiveElement(dialog); // We can check if the current focused element is the document body. On
+      // IE 11, it's an empty object when the current document is in a frame or
+      // iframe.
+
+      if (activeElement === document.body || isEmpty(activeElement)) {
+        dialog.focus();
       }
+    });
+    observer.observe(dialog, {
+      childList: true,
+      subtree: true
+    });
+    return function () {
+      observer.disconnect();
+    };
+  }, [options.visible, dialogRef]);
+}

-      return onYearChange;
-    }()
-  }, {
-    key: 'getFirstFocusableDay',
-    value: function () {
-      function getFirstFocusableDay(newMonth) {
-        var _this3 = this;
+function isActualElement(element) {
+  return element && element.tagName && element.tagName !== "HTML" && element !== getDocument(element).body;
+}

-        var _props7 = this.props,
-            date = _props7.date,
-            numberOfMonths = _props7.numberOfMonths;
+function useFocusOnBlur(dialogRef, options) {
+  var _React$useReducer = (0,external_React_.useReducer)(function (n) {
+    return n + 1;
+  }, 0),
+      blurred = _React$useReducer[0],
+      scheduleFocus = _React$useReducer[1];

+  useIsomorphicEffect(function () {
+    var dialog = dialogRef.current;
+    if (!options.visible) return;
+    if (!blurred) return; // After blur, if the active element isn't an actual element, this probably
+    // means that element.blur() was called on an element inside the dialog.
+    // In this case, the browser will automatically focus the body element.
+    // So we move focus back to the dialog.

-        var focusedDate = newMonth.clone().startOf('month');
-        if (date) {
-          focusedDate = date.clone();
-        }
+    if (!isActualElement(getActiveElement_getActiveElement(dialog))) {
+       false ? 0 : void 0;
+      dialog === null || dialog === void 0 ? void 0 : dialog.focus();
+    }
+  }, [blurred, dialogRef]);
+  var onBlur = (0,external_React_.useCallback)(function (event) {
+    if (!options.visible) return;
+    var nextActiveElement = getNextActiveElementOnBlur(event);

-        if (this.isBlocked(focusedDate)) {
-          var days = [];
-          var lastVisibleDay = newMonth.clone().add(numberOfMonths - 1, 'months').endOf('month');
-          var currentDay = focusedDate.clone();
-          while (!(0, _isAfterDay2['default'])(currentDay, lastVisibleDay)) {
-            currentDay = currentDay.clone().add(1, 'day');
-            days.push(currentDay);
-          }
+    if (!isActualElement(nextActiveElement)) {
+      scheduleFocus();
+    }
+  }, [options.visible]);
+  return onBlur;
+}
+
+var useDialog = createHook({
+  name: "Dialog",
+  compose: useDisclosureContent,
+  keys: DIALOG_KEYS,
+  useOptions: function useOptions(_ref) {
+    var _ref$modal = _ref.modal,
+        modal = _ref$modal === void 0 ? true : _ref$modal,
+        _ref$hideOnEsc = _ref.hideOnEsc,
+        hideOnEsc = _ref$hideOnEsc === void 0 ? true : _ref$hideOnEsc,
+        _ref$hideOnClickOutsi = _ref.hideOnClickOutside,
+        hideOnClickOutside = _ref$hideOnClickOutsi === void 0 ? true : _ref$hideOnClickOutsi,
+        _ref$preventBodyScrol = _ref.preventBodyScroll,
+        preventBodyScroll = _ref$preventBodyScrol === void 0 ? modal : _ref$preventBodyScrol,
+        _ref$unstable_autoFoc = _ref.unstable_autoFocusOnShow,
+        unstable_autoFocusOnShow = _ref$unstable_autoFoc === void 0 ? true : _ref$unstable_autoFoc,
+        _ref$unstable_autoFoc2 = _ref.unstable_autoFocusOnHide,
+        unstable_autoFocusOnHide = _ref$unstable_autoFoc2 === void 0 ? true : _ref$unstable_autoFoc2,
+        unstable_orphan = _ref.unstable_orphan,
+        options = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["modal", "hideOnEsc", "hideOnClickOutside", "preventBodyScroll", "unstable_autoFocusOnShow", "unstable_autoFocusOnHide", "unstable_orphan"]);
+
+    return _objectSpread2({
+      modal: modal,
+      hideOnEsc: hideOnEsc,
+      hideOnClickOutside: hideOnClickOutside,
+      preventBodyScroll: modal && preventBodyScroll,
+      unstable_autoFocusOnShow: unstable_autoFocusOnShow,
+      unstable_autoFocusOnHide: unstable_autoFocusOnHide,
+      unstable_orphan: modal && unstable_orphan
+    }, options);
+  },
+  useProps: function useProps(options, _ref2) {
+    var htmlRef = _ref2.ref,
+        htmlOnKeyDown = _ref2.onKeyDown,
+        htmlOnBlur = _ref2.onBlur,
+        htmlWrapElement = _ref2.wrapElement,
+        tabIndex = _ref2.tabIndex,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref2, ["ref", "onKeyDown", "onBlur", "wrapElement", "tabIndex"]);

-          var viableDays = days.filter(function (day) {
-            return !_this3.isBlocked(day) && (0, _isAfterDay2['default'])(day, focusedDate);
-          });
-          if (viableDays.length > 0) {
-            var _viableDays = _slicedToArray(viableDays, 1);
+    var dialog = (0,external_React_.useRef)(null);
+    var backdrop = (0,external_React_.useContext)(DialogBackdropContext);
+    var hasBackdrop = backdrop && backdrop === options.baseId;
+    var disclosure = useDisclosureRef(dialog, options);
+    var onKeyDownRef = useLiveRef(htmlOnKeyDown);
+    var onBlurRef = useLiveRef(htmlOnBlur);
+    var focusOnBlur = useFocusOnBlur(dialog, options);

-            focusedDate = _viableDays[0];
-          }
-        }
+    var _useNestedDialogs = useNestedDialogs(dialog, options),
+        dialogs = _useNestedDialogs.dialogs,
+        visibleModals = _useNestedDialogs.visibleModals,
+        wrap = _useNestedDialogs.wrap; // VoiceOver/Safari accepts only one `aria-modal` container, so if there
+    // are visible child modals, then we don't want to set aria-modal on the
+    // parent modal (this component).

-        return focusedDate;
-      }

-      return getFirstFocusableDay;
-    }()
-  }, {
-    key: 'getModifiers',
-    value: function () {
-      function getModifiers(visibleDays) {
-        var _this4 = this;
+    var modal = options.modal && !visibleModals.length ? true : undefined;
+    usePreventBodyScroll(dialog, options);
+    useFocusTrap(dialog, visibleModals, options);
+    useFocusOnChildUnmount(dialog, options);
+    useFocusOnShow(dialog, dialogs, options);
+    useFocusOnHide(dialog, disclosure, options);
+    useHideOnClickOutside(dialog, disclosure, dialogs, options);
+    useDisableHoverOutside(dialog, dialogs, options);
+    var onKeyDown = (0,external_React_.useCallback)(function (event) {
+      var _onKeyDownRef$current;

-        var modifiers = {};
-        Object.keys(visibleDays).forEach(function (month) {
-          modifiers[month] = {};
-          visibleDays[month].forEach(function (day) {
-            modifiers[month][(0, _toISODateString2['default'])(day)] = _this4.getModifiersForDay(day);
-          });
-        });
+      (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
+      if (event.defaultPrevented) return;
+      if (event.key !== "Escape") return;
+      if (!options.hideOnEsc) return;

-        return modifiers;
+      if (!options.hide) {
+         false ? 0 : void 0;
+        return;
       }

-      return getModifiers;
-    }()
-  }, {
-    key: 'getModifiersForDay',
-    value: function () {
-      function getModifiersForDay(day) {
-        var _this5 = this;
-
-        return new Set(Object.keys(this.modifiers).filter(function (modifier) {
-          return _this5.modifiers[modifier](day);
-        }));
-      }
+      event.stopPropagation();
+      options.hide();
+    }, [options.hideOnEsc, options.hide]);
+    var onBlur = (0,external_React_.useCallback)(function (event) {
+      var _onBlurRef$current;

-      return getModifiersForDay;
-    }()
-  }, {
-    key: 'getStateForNewMonth',
-    value: function () {
-      function getStateForNewMonth(nextProps) {
-        var _this6 = this;
+      (_onBlurRef$current = onBlurRef.current) === null || _onBlurRef$current === void 0 ? void 0 : _onBlurRef$current.call(onBlurRef, event);
+      focusOnBlur(event);
+    }, [focusOnBlur]);
+    var wrapElement = (0,external_React_.useCallback)(function (element) {
+      element = wrap(element);

-        var initialVisibleMonth = nextProps.initialVisibleMonth,
-            date = nextProps.date,
-            numberOfMonths = nextProps.numberOfMonths,
-            enableOutsideDays = nextProps.enableOutsideDays;
+      if (options.modal && !hasBackdrop) {
+        element = /*#__PURE__*/(0,external_React_.createElement)(Portal, null, element);
+      }

-        var initialVisibleMonthThunk = initialVisibleMonth || (date ? function () {
-          return date;
-        } : function () {
-          return _this6.today;
-        });
-        var currentMonth = initialVisibleMonthThunk();
-        var visibleDays = this.getModifiers((0, _getVisibleDays2['default'])(currentMonth, numberOfMonths, enableOutsideDays));
-        return { currentMonth: currentMonth, visibleDays: visibleDays };
+      if (htmlWrapElement) {
+        element = htmlWrapElement(element);
       }

-      return getStateForNewMonth;
-    }()
-  }, {
-    key: 'addModifier',
-    value: function () {
-      function addModifier(updatedDays, day, modifier) {
-        var _props8 = this.props,
-            numberOfVisibleMonths = _props8.numberOfMonths,
-            enableOutsideDays = _props8.enableOutsideDays,
-            orientation = _props8.orientation;
-        var _state5 = this.state,
-            firstVisibleMonth = _state5.currentMonth,
-            visibleDays = _state5.visibleDays;
+      return (
+        /*#__PURE__*/
+        // Prevents Menu > Dialog > Menu to behave as a sub menu
+        (0,external_React_.createElement)(MenuContext.Provider, {
+          value: null
+        }, element)
+      );
+    }, [wrap, options.modal, hasBackdrop, htmlWrapElement]);
+    return _objectSpread2({
+      ref: useForkRef(dialog, htmlRef),
+      role: "dialog",
+      tabIndex: tabIndex != null ? tabIndex : -1,
+      "aria-modal": modal,
+      "data-dialog": true,
+      onKeyDown: onKeyDown,
+      onBlur: onBlur,
+      wrapElement: wrapElement
+    }, htmlProps);
+  }
+});
+var Dialog = createComponent({
+  as: "div",
+  useHook: useDialog,
+  useCreateElement: function useCreateElement$1(type, props, children) {
+     false ? 0 : void 0;
+    return useCreateElement(type, props, children);
+  }
+});


-        var currentMonth = firstVisibleMonth;
-        var numberOfMonths = numberOfVisibleMonths;
-        if (orientation === _constants.VERTICAL_SCROLLABLE) {
-          numberOfMonths = Object.keys(visibleDays).length;
-        } else {
-          currentMonth = currentMonth.clone().subtract(1, 'month');
-          numberOfMonths += 2;
-        }
-        if (!day || !(0, _isDayVisible2['default'])(day, currentMonth, numberOfMonths, enableOutsideDays)) {
-          return updatedDays;
-        }

-        var iso = (0, _toISODateString2['default'])(day);
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Popover/Popover.js

-        var updatedDaysAfterAddition = (0, _object2['default'])({}, updatedDays);
-        if (enableOutsideDays) {
-          var monthsToUpdate = Object.keys(visibleDays).filter(function (monthKey) {
-            return Object.keys(visibleDays[monthKey]).indexOf(iso) > -1;
-          });

-          updatedDaysAfterAddition = monthsToUpdate.reduce(function (days, monthIso) {
-            var month = updatedDays[monthIso] || visibleDays[monthIso];
-            var modifiers = new Set(month[iso]);
-            modifiers.add(modifier);
-            return (0, _object2['default'])({}, days, _defineProperty({}, monthIso, (0, _object2['default'])({}, month, _defineProperty({}, iso, modifiers))));
-          }, updatedDaysAfterAddition);
-        } else {
-          var monthIso = (0, _toISOMonthString2['default'])(day);
-          var month = updatedDays[monthIso] || visibleDays[monthIso];

-          var modifiers = new Set(month[iso]);
-          modifiers.add(modifier);
-          updatedDaysAfterAddition = (0, _object2['default'])({}, updatedDaysAfterAddition, _defineProperty({}, monthIso, (0, _object2['default'])({}, month, _defineProperty({}, iso, modifiers))));
-        }

-        return updatedDaysAfterAddition;
-      }

-      return addModifier;
-    }()
-  }, {
-    key: 'deleteModifier',
-    value: function () {
-      function deleteModifier(updatedDays, day, modifier) {
-        var _props9 = this.props,
-            numberOfVisibleMonths = _props9.numberOfMonths,
-            enableOutsideDays = _props9.enableOutsideDays,
-            orientation = _props9.orientation;
-        var _state6 = this.state,
-            firstVisibleMonth = _state6.currentMonth,
-            visibleDays = _state6.visibleDays;


-        var currentMonth = firstVisibleMonth;
-        var numberOfMonths = numberOfVisibleMonths;
-        if (orientation === _constants.VERTICAL_SCROLLABLE) {
-          numberOfMonths = Object.keys(visibleDays).length;
-        } else {
-          currentMonth = currentMonth.clone().subtract(1, 'month');
-          numberOfMonths += 2;
-        }
-        if (!day || !(0, _isDayVisible2['default'])(day, currentMonth, numberOfMonths, enableOutsideDays)) {
-          return updatedDays;
-        }

-        var iso = (0, _toISODateString2['default'])(day);

-        var updatedDaysAfterDeletion = (0, _object2['default'])({}, updatedDays);
-        if (enableOutsideDays) {
-          var monthsToUpdate = Object.keys(visibleDays).filter(function (monthKey) {
-            return Object.keys(visibleDays[monthKey]).indexOf(iso) > -1;
-          });

-          updatedDaysAfterDeletion = monthsToUpdate.reduce(function (days, monthIso) {
-            var month = updatedDays[monthIso] || visibleDays[monthIso];
-            var modifiers = new Set(month[iso]);
-            modifiers['delete'](modifier);
-            return (0, _object2['default'])({}, days, _defineProperty({}, monthIso, (0, _object2['default'])({}, month, _defineProperty({}, iso, modifiers))));
-          }, updatedDaysAfterDeletion);
-        } else {
-          var monthIso = (0, _toISOMonthString2['default'])(day);
-          var month = updatedDays[monthIso] || visibleDays[monthIso];

-          var modifiers = new Set(month[iso]);
-          modifiers['delete'](modifier);
-          updatedDaysAfterDeletion = (0, _object2['default'])({}, updatedDaysAfterDeletion, _defineProperty({}, monthIso, (0, _object2['default'])({}, month, _defineProperty({}, iso, modifiers))));
-        }

-        return updatedDaysAfterDeletion;
-      }

-      return deleteModifier;
-    }()
-  }, {
-    key: 'isBlocked',
-    value: function () {
-      function isBlocked(day) {
-        var _props10 = this.props,
-            isDayBlocked = _props10.isDayBlocked,
-            isOutsideRange = _props10.isOutsideRange;

-        return isDayBlocked(day) || isOutsideRange(day);
-      }

-      return isBlocked;
-    }()
-  }, {
-    key: 'isHovered',
-    value: function () {
-      function isHovered(day) {
-        var _ref = this.state || {},
-            hoverDate = _ref.hoverDate;

-        return (0, _isSameDay2['default'])(day, hoverDate);
-      }

-      return isHovered;
-    }()
-  }, {
-    key: 'isSelected',
-    value: function () {
-      function isSelected(day) {
-        var date = this.props.date;

-        return (0, _isSameDay2['default'])(day, date);
-      }

-      return isSelected;
-    }()
-  }, {
-    key: 'isToday',
-    value: function () {
-      function isToday(day) {
-        return (0, _isSameDay2['default'])(day, this.today);
-      }

-      return isToday;
-    }()
-  }, {
-    key: 'isFirstDayOfWeek',
-    value: function () {
-      function isFirstDayOfWeek(day) {
-        var firstDayOfWeek = this.props.firstDayOfWeek;

-        return day.day() === (firstDayOfWeek || _moment2['default'].localeData().firstDayOfWeek());
-      }

-      return isFirstDayOfWeek;
-    }()
-  }, {
-    key: 'isLastDayOfWeek',
-    value: function () {
-      function isLastDayOfWeek(day) {
-        var firstDayOfWeek = this.props.firstDayOfWeek;

-        return day.day() === ((firstDayOfWeek || _moment2['default'].localeData().firstDayOfWeek()) + 6) % 7;
-      }

-      return isLastDayOfWeek;
-    }()
-  }, {
-    key: 'render',
-    value: function () {
-      function render() {
-        var _props11 = this.props,
-            numberOfMonths = _props11.numberOfMonths,
-            orientation = _props11.orientation,
-            monthFormat = _props11.monthFormat,
-            renderMonthText = _props11.renderMonthText,
-            navPrev = _props11.navPrev,
-            navNext = _props11.navNext,
-            onOutsideClick = _props11.onOutsideClick,
-            withPortal = _props11.withPortal,
-            focused = _props11.focused,
-            enableOutsideDays = _props11.enableOutsideDays,
-            hideKeyboardShortcutsPanel = _props11.hideKeyboardShortcutsPanel,
-            daySize = _props11.daySize,
-            firstDayOfWeek = _props11.firstDayOfWeek,
-            renderCalendarDay = _props11.renderCalendarDay,
-            renderDayContents = _props11.renderDayContents,
-            renderCalendarInfo = _props11.renderCalendarInfo,
-            renderMonthElement = _props11.renderMonthElement,
-            calendarInfoPosition = _props11.calendarInfoPosition,
-            isFocused = _props11.isFocused,
-            isRTL = _props11.isRTL,
-            phrases = _props11.phrases,
-            dayAriaLabelFormat = _props11.dayAriaLabelFormat,
-            onBlur = _props11.onBlur,
-            showKeyboardShortcuts = _props11.showKeyboardShortcuts,
-            weekDayFormat = _props11.weekDayFormat,
-            verticalHeight = _props11.verticalHeight,
-            noBorder = _props11.noBorder,
-            transitionDuration = _props11.transitionDuration,
-            verticalBorderSpacing = _props11.verticalBorderSpacing,
-            horizontalMonthPadding = _props11.horizontalMonthPadding;
-        var _state7 = this.state,
-            currentMonth = _state7.currentMonth,
-            visibleDays = _state7.visibleDays;


-        return _react2['default'].createElement(_DayPicker2['default'], {
-          orientation: orientation,
-          enableOutsideDays: enableOutsideDays,
-          modifiers: visibleDays,
-          numberOfMonths: numberOfMonths,
-          onDayClick: this.onDayClick,
-          onDayMouseEnter: this.onDayMouseEnter,
-          onDayMouseLeave: this.onDayMouseLeave,
-          onPrevMonthClick: this.onPrevMonthClick,
-          onNextMonthClick: this.onNextMonthClick,
-          onMonthChange: this.onMonthChange,
-          onYearChange: this.onYearChange,
-          monthFormat: monthFormat,
-          withPortal: withPortal,
-          hidden: !focused,
-          hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
-          initialVisibleMonth: function () {
-            function initialVisibleMonth() {
-              return currentMonth;
-            }

-            return initialVisibleMonth;
-          }(),
-          firstDayOfWeek: firstDayOfWeek,
-          onOutsideClick: onOutsideClick,
-          navPrev: navPrev,
-          navNext: navNext,
-          renderMonthText: renderMonthText,
-          renderCalendarDay: renderCalendarDay,
-          renderDayContents: renderDayContents,
-          renderCalendarInfo: renderCalendarInfo,
-          renderMonthElement: renderMonthElement,
-          calendarInfoPosition: calendarInfoPosition,
-          isFocused: isFocused,
-          getFirstFocusableDay: this.getFirstFocusableDay,
-          onBlur: onBlur,
-          phrases: phrases,
-          daySize: daySize,
-          isRTL: isRTL,
-          showKeyboardShortcuts: showKeyboardShortcuts,
-          weekDayFormat: weekDayFormat,
-          dayAriaLabelFormat: dayAriaLabelFormat,
-          verticalHeight: verticalHeight,
-          noBorder: noBorder,
-          transitionDuration: transitionDuration,
-          verticalBorderSpacing: verticalBorderSpacing,
-          horizontalMonthPadding: horizontalMonthPadding
-        });
-      }

-      return render;
-    }()
-  }]);

-  return DayPickerSingleDateController;
-}(_react2['default'].Component);

-exports['default'] = DayPickerSingleDateController;


-DayPickerSingleDateController.propTypes = propTypes;
-DayPickerSingleDateController.defaultProps = defaultProps;

-/***/ }),

-/***/ "YLtl":
-/***/ (function(module, exports) {

-(function() { module.exports = window["lodash"]; }());

-/***/ }),
+var usePopover = createHook({
+  name: "Popover",
+  compose: useDialog,
+  keys: POPOVER_KEYS,
+  useOptions: function useOptions(_ref) {
+    var _ref$modal = _ref.modal,
+        modal = _ref$modal === void 0 ? false : _ref$modal,
+        options = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["modal"]);

-/***/ "YZDV":
-/***/ (function(module, exports, __webpack_require__) {
+    return _objectSpread2({
+      modal: modal
+    }, options);
+  },
+  useProps: function useProps(options, _ref2) {
+    var htmlRef = _ref2.ref,
+        htmlStyle = _ref2.style,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref2, ["ref", "style"]);

-"use strict";
-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- *
- * @providesModule shallowCompare
- */
+    return _objectSpread2({
+      ref: useForkRef(options.unstable_popoverRef, htmlRef),
+      style: _objectSpread2(_objectSpread2({}, options.unstable_popoverStyles), htmlStyle)
+    }, htmlProps);
+  }
+});
+var Popover_Popover = createComponent({
+  as: "div",
+  useHook: usePopover,
+  useCreateElement: function useCreateElement$1(type, props, children) {
+     false ? 0 : void 0;
+    return useCreateElement(type, props, children);
+  }
+});



-var hasOwnProperty = Object.prototype.hasOwnProperty;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/styles.js
+

 /**
- * inlined Object.is polyfill to avoid requiring consumers ship their own
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
+ * External dependencies
  */
-function is(x, y) {
-  // SameValue algorithm
-  if (x === y) {
-    // Steps 1-5, 7-10
-    // Steps 6.b-6.e: +0 != -0
-    // Added the nonzero y check to make Flow happy, but it is redundant
-    return x !== 0 || y !== 0 || 1 / x === 1 / y;
-  } else {
-    // Step 6.a: NaN == NaN
-    return x !== x && y !== y;
-  }
-}
+// eslint-disable-next-line no-restricted-imports

 /**
- * Performs equality by iterating through keys on an object and returning false
- * when any key has values which are not strictly equal between the arguments.
- * Returns true when the values of all keys are strictly equal.
+ * Internal dependencies
  */
-function shallowEqual(objA, objB) {
-  if (is(objA, objB)) {
-    return true;
-  }

-  if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
-    return false;
-  }

-  var keysA = Object.keys(objA);
-  var keysB = Object.keys(objB);

-  if (keysA.length !== keysB.length) {
-    return false;
-  }

-  // Test for A's keys different from B.
-  for (var i = 0; i < keysA.length; i++) {
-    if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
-      return false;
-    }
-  }
+const FlyoutContentView = /*#__PURE__*/emotion_styled_base_browser_esm(Popover_Popover,  true ? {
+  target: "e1vtu5161"
+} : 0)("z-index:", Flyout, ";box-sizing:border-box;opacity:0;outline:none;position:relative;transform-origin:center center;transition:opacity ", config_values.transitionDurationFastest, " linear;width:100%;&[data-enter]{opacity:1;}&::before,&::after{display:none;}" + ( true ? "" : 0));
+const CardView = /*#__PURE__*/emotion_styled_base_browser_esm(card_component,  true ? {
+  target: "e1vtu5160"
+} : 0)(card_body_component.selector, "{max-height:80vh;}" + ( true ? "" : 0));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/flyout-content/component.js
+

-  return true;
-}

 /**
- * Does a shallow comparison for props and state.
- * See ReactComponentWithPureRenderMixin
- * See also https://facebook.github.io/react/docs/shallow-compare.html
+ * Internal dependencies
  */
-function shallowCompare(instance, nextProps, nextState) {
-  return (
-    !shallowEqual(instance.props, nextProps) ||
-    !shallowEqual(instance.state, nextState)
-  );
-}

-module.exports = shallowCompare;


-/***/ }),
+/**
+ *
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').ContentProps, 'div', false>} props
+ * @param {import('react').Ref<any>}                                                                          forwardedRef
+ */
+
+function FlyoutContent(props, forwardedRef) {
+  const {
+    children,
+    elevation,
+    maxWidth,
+    style = {},
+    ...otherProps
+  } = useContextSystem(props, 'FlyoutContent');
+  const {
+    label,
+    flyoutState
+  } = useFlyoutContext();

-/***/ "Yesc":
-/***/ (function(module, exports, __webpack_require__) {
+  if (!flyoutState) {
+    throw new Error('`FlyoutContent` must only be used inside a `Flyout`.');
+  }

-"use strict";
+  const showContent = flyoutState.visible || flyoutState.animating;
+  return (0,external_wp_element_namespaceObject.createElement)(FlyoutContentView, extends_extends({
+    "aria-label": label // maxWidth is applied via inline styles in order to avoid the `React does
+    // not recognize the maxWidth prop on a DOM element` error that comes from
+    // passing `maxWidth` as a prop to `FlyoutContentView`
+    ,
+    style: {
+      maxWidth,
+      ...style
+    }
+  }, otherProps, flyoutState), showContent && (0,external_wp_element_namespaceObject.createElement)(CardView, {
+    elevation: elevation,
+    ref: forwardedRef
+  }, children));
+}
+
+const ConnectedFlyoutContent = contextConnect(FlyoutContent, 'FlyoutContent');
+/* harmony default export */ var flyout_content_component = (ConnectedFlyoutContent);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/flyout/hook.js
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

+/**
+ * Internal dependencies
+ */

-var GetIntrinsic = __webpack_require__("j1Hc");

-var $TypeError = GetIntrinsic('%TypeError%');
+/**
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div', false>} props
+ */

-var MAX_SAFE_INTEGER = __webpack_require__("yyeE");
+function useFlyout(props) {
+  const {
+    animated = true,
+    animationDuration = 160,
+    baseId,
+    elevation = 5,
+    id,
+    maxWidth = 360,
+    placement,
+    state,
+    visible,
+    ...otherProps
+  } = useContextSystem(props, 'Flyout');

-var Call = __webpack_require__("u9yu");
-var CreateDataPropertyOrThrow = __webpack_require__("hWh2");
-var Get = __webpack_require__("aBsX");
-var HasProperty = __webpack_require__("1ao6");
-var IsArray = __webpack_require__("Bl8U");
-var LengthOfArrayLike = __webpack_require__("/A+k");
-var ToString = __webpack_require__("U69M");
+  const _flyoutState = usePopoverState({
+    animated: animated ? animationDuration : undefined,
+    baseId: baseId || id,
+    placement,
+    visible,
+    ...otherProps
+  });

-// https://262.ecma-international.org/11.0/#sec-flattenintoarray
+  const flyoutState = state || _flyoutState;
+  return { ...otherProps,
+    elevation,
+    maxWidth,
+    flyoutState
+  };
+}

-// eslint-disable-next-line max-params
-module.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) {
-	var mapperFunction;
-	if (arguments.length > 5) {
-		mapperFunction = arguments[5];
-	}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/flyout/flyout/component.js

-	var targetIndex = start;
-	var sourceIndex = 0;
-	while (sourceIndex < sourceLen) {
-		var P = ToString(sourceIndex);
-		var exists = HasProperty(source, P);
-		if (exists === true) {
-			var element = Get(source, P);
-			if (typeof mapperFunction !== 'undefined') {
-				if (arguments.length <= 6) {
-					throw new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided');
-				}
-				element = Call(mapperFunction, arguments[6], [element, sourceIndex, source]);
-			}
-			var shouldFlatten = false;
-			if (depth > 0) {
-				shouldFlatten = IsArray(element);
-			}
-			if (shouldFlatten) {
-				var elementLen = LengthOfArrayLike(element);
-				targetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1);
-			} else {
-				if (targetIndex >= MAX_SAFE_INTEGER) {
-					throw new $TypeError('index too large');
-				}
-				CreateDataPropertyOrThrow(target, ToString(targetIndex), element);
-				targetIndex += 1;
-			}
-		}
-		sourceIndex += 1;
-	}

-	return targetIndex;
-};

+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

-/***/ }),
+/**
+ * WordPress dependencies
+ */

-/***/ "Z23Y":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["warning"]; }());
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "ZbWB":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";


-var GetIntrinsic = __webpack_require__("j1Hc");

-var $test = GetIntrinsic('RegExp.prototype.test');

-var callBind = __webpack_require__("SLit");
+/**
+ *
+ * @param {import('../../ui/context').WordPressComponentProps<import('../types').Props, 'div', false>} props
+ * @param {import('react').Ref<any>}                                                                   forwardedRef
+ */

-module.exports = function regexTester(regex) {
-	return callBind($test, regex);
-};
+function component_Flyout(props, forwardedRef) {
+  const {
+    children,
+    elevation,
+    label,
+    maxWidth,
+    onVisibleChange,
+    trigger,
+    flyoutState,
+    ...otherProps
+  } = useFlyout(props);
+  const resizeListener = useFlyoutResizeUpdater({
+    onResize: flyoutState.unstable_update
+  });
+  const uniqueId = `flyout-${flyoutState.baseId}`;
+  const labelId = label || uniqueId;
+  const contextProps = (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    label: labelId,
+    flyoutState
+  }), [labelId, flyoutState]);
+  const triggerContent = (0,external_wp_element_namespaceObject.useCallback)(triggerProps => {
+    return (0,external_wp_element_namespaceObject.cloneElement)(trigger, triggerProps);
+  }, [trigger]);
+  use_update_effect(() => {
+    onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(flyoutState.visible);
+  }, [flyoutState.visible]);
+  return (0,external_wp_element_namespaceObject.createElement)(FlyoutContext.Provider, {
+    value: contextProps
+  }, trigger && (0,external_wp_element_namespaceObject.createElement)(PopoverDisclosure, extends_extends({}, flyoutState, {
+    ref: trigger.ref
+  }, trigger.props), triggerContent), (0,external_wp_element_namespaceObject.createElement)(Portal, null, (0,external_wp_element_namespaceObject.createElement)(flyout_content_component, extends_extends({
+    ref: forwardedRef
+  }, otherProps, {
+    elevation: elevation,
+    maxWidth: maxWidth
+  }), resizeListener, children)));
+}
+/**
+ * `Flyout` is a component to render a floating content modal.
+ * It is similar in purpose to a tooltip, but renders content of any sort,
+ * not only simple text.
+ *
+ * @example
+ * ```jsx
+ * import { Button, __experimentalFlyout as Flyout, __experimentalText as } from '@wordpress/components';
+ *
+ * function Example() {
+ * 	return (
+ * 		<Flyout trigger={ <Button>Show/Hide content</Button> }>
+ *			<Text>Code is Poetry</Text>
+ * 		</Flyout>
+ * 	);
+ * }
+ * ```
+ */


-/***/ }),
+const ConnectedFlyout = contextConnect(component_Flyout, 'Flyout');
+/* harmony default export */ var flyout_component = (ConnectedFlyout);

-/***/ "a73V":
-/***/ (function(module, exports, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/styles/focal-point-picker-style.js

-"use strict";

+function focal_point_picker_style_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-var GetIntrinsic = __webpack_require__("j1Hc");
+/**
+ * External dependencies
+ */

-var $match = GetIntrinsic('%Symbol.match%', true);
+/**
+ * Internal dependencies
+ */

-var hasRegExpMatcher = __webpack_require__("SegQ");

-var ToBoolean = __webpack_require__("e87w");

-// https://ecma-international.org/ecma-262/6.0/#sec-isregexp
+const MediaWrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e11wezi78"
+} : 0)( true ? {
+  name: "1g31405",
+  styles: "background-color:transparent;box-sizing:border-box;text-align:center;width:100%"
+} : 0);
+const MediaContainer = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e11wezi77"
+} : 0)( true ? {
+  name: "v0nrlz",
+  styles: "align-items:center;box-sizing:border-box;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.2 );cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;img,video{box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:auto;}"
+} : 0);
+const MediaPlaceholder = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e11wezi76"
+} : 0)("background:", COLORS.lightGray[300], ";box-sizing:border-box;height:170px;max-width:280px;min-width:200px;width:100%;" + ( true ? "" : 0));
+const focal_point_picker_style_UnitControl = /*#__PURE__*/emotion_styled_base_browser_esm(unit_control,  true ? {
+  target: "e11wezi75"
+} : 0)( true ? {
+  name: "1pzk433",
+  styles: "width:100px"
+} : 0);
+const ControlWrapper = /*#__PURE__*/emotion_styled_base_browser_esm(flex_component,  true ? {
+  target: "e11wezi74"
+} : 0)( true ? {
+  name: "ox4xcy",
+  styles: "max-width:320px;padding:1em 0"
+} : 0);
+const GridView = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e11wezi73"
+} : 0)("box-sizing:border-box;left:50%;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%, -50%, 0 );transition:opacity 120ms linear;z-index:1;", _ref => {
+  let {
+    isActive
+  } = _ref;
+  return isActive && `
+		opacity: 1;
+	`;
+}, ";" + ( true ? "" : 0));
+const GridLine = emotion_styled_base_browser_esm("div",  true ? {
+  target: "e11wezi72"
+} : 0)( true ? {
+  name: "1sy4ch9",
+  styles: "box-sizing:border-box;background:white;box-shadow:0 0 2px rgba( 0, 0, 0, 0.6 );position:absolute;opacity:0.4;transform:translateZ( 0 )"
+} : 0);
+const GridLineX = /*#__PURE__*/emotion_styled_base_browser_esm(GridLine,  true ? {
+  target: "e11wezi71"
+} : 0)( true ? {
+  name: "1qp910y",
+  styles: "height:1px;left:0;right:0"
+} : 0);
+const GridLineY = /*#__PURE__*/emotion_styled_base_browser_esm(GridLine,  true ? {
+  target: "e11wezi70"
+} : 0)( true ? {
+  name: "1oz3zka",
+  styles: "width:1px;top:0;bottom:0"
+} : 0);

-module.exports = function IsRegExp(argument) {
-	if (!argument || typeof argument !== 'object') {
-		return false;
-	}
-	if ($match) {
-		var isRegExp = argument[$match];
-		if (typeof isRegExp !== 'undefined') {
-			return ToBoolean(isRegExp);
-		}
-	}
-	return hasRegExpMatcher(argument);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/utils.js
+const INITIAL_BOUNDS = {
+  top: 0,
+  left: 0,
+  bottom: 0,
+  right: 0,
+  width: 0,
+  height: 0
 };
+const VIDEO_EXTENSIONS = ['avi', 'mpg', 'mpeg', 'mov', 'mp4', 'm4v', 'ogg', 'ogv', 'webm', 'wmv'];
+/**
+ * Gets the extension of a file name.
+ *
+ * @param {string} filename The file name.
+ * @return {string} The extension of the file name.
+ */

+function getExtension() {
+  let filename = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
+  const parts = filename.split('.');
+  return parts[parts.length - 1];
+}
+/**
+ * Checks if a file is a video.
+ *
+ * @param {string} filename The file name.
+ * @return {boolean} Whether the file is a video.
+ */

-/***/ }),
+function isVideoType() {
+  let filename = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
+  if (!filename) return false;
+  return VIDEO_EXTENSIONS.includes(getExtension(filename));
+}
+/**
+ * Transforms a fraction value to a percentage value.
+ *
+ * @param {number} fraction The fraction value.
+ * @return {number} A percentage value.
+ */

-/***/ "aA0e":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function fractionToPercentage(fraction) {
+  return Math.round(fraction * 100);
+}

-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var reakit_Toolbar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("zTEx");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _toolbar_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("GK4x");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/controls.js



@@ -63805,1089 +61602,1259 @@ module.exports = function IsRegExp(argument) {
  */


-
 /**
  * Internal dependencies
  */



-function ToolbarItem(_ref, ref) {
+const TEXTCONTROL_MIN = 0;
+const TEXTCONTROL_MAX = 100;
+function FocalPointPickerControls(_ref) {
   let {
-    children,
-    as: Component,
-    ...props
+    onChange = external_lodash_namespaceObject.noop,
+    percentages = {
+      x: 0.5,
+      y: 0.5
+    }
   } = _ref;
-  const accessibleToolbarState = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["useContext"])(_toolbar_context__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"]);
-
-  if (typeof children !== 'function' && !Component) {
-    typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_3___default()('`ToolbarItem` is a generic headless component. You must pass either a `children` prop as a function or an `as` prop as a component. ' + 'See https://developer.wordpress.org/block-editor/components/toolbar-item/') : void 0;
-    return null;
-  }
+  const valueX = fractionToPercentage(percentages.x);
+  const valueY = fractionToPercentage(percentages.y);

-  const allProps = { ...props,
-    ref,
-    'data-toolbar-item': true
-  };
+  const handleChange = (value, axis) => {
+    const num = parseInt(value, 10);

-  if (!accessibleToolbarState) {
-    if (Component) {
-      return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(Component, allProps, children);
+    if (!isNaN(num)) {
+      onChange({ ...percentages,
+        [axis]: num / 100
+      });
     }
+  };

-    return children(allProps);
-  }
+  return (0,external_wp_element_namespaceObject.createElement)(ControlWrapper, {
+    className: "focal-point-picker__controls"
+  }, (0,external_wp_element_namespaceObject.createElement)(controls_UnitControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Left'),
+    value: valueX,
+    onChange: next => handleChange(next, 'x'),
+    dragDirection: "e"
+  }), (0,external_wp_element_namespaceObject.createElement)(controls_UnitControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Top'),
+    value: valueY,
+    onChange: next => handleChange(next, 'y'),
+    dragDirection: "s"
+  }));
+}

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(reakit_Toolbar__WEBPACK_IMPORTED_MODULE_2__[/* ToolbarItem */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, accessibleToolbarState, allProps, {
-    as: Component
-  }), children);
+function controls_UnitControl(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(focal_point_picker_style_UnitControl, extends_extends({
+    className: "focal-point-picker__controls-position-unit-control",
+    labelPosition: "top",
+    max: TEXTCONTROL_MAX,
+    min: TEXTCONTROL_MIN,
+    unit: "%",
+    units: [{
+      value: '%',
+      label: '%'
+    }]
+  }, props));
 }

-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])(ToolbarItem));
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/styles/focal-point-style.js

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))

-/***/ }),
+function focal_point_style_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-/***/ "aBsX":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * External dependencies
+ */

-"use strict";
+/**
+ * WordPress dependencies
+ */

+/**
+ * Internal dependencies
+ */

-var GetIntrinsic = __webpack_require__("j1Hc");

-var $TypeError = GetIntrinsic('%TypeError%');
+const FocalPointWrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "eas61re3"
+} : 0)("background-color:transparent;box-sizing:border-box;cursor:grab;height:30px;margin:-15px 0 0 -15px;opacity:0.8;position:absolute;user-select:none;width:30px;will-change:transform;z-index:10000;", _ref => {
+  let {
+    isDragging
+  } = _ref;
+  return isDragging && 'cursor: grabbing;';
+}, ";" + ( true ? "" : 0));
+const PointerIconSVG = /*#__PURE__*/emotion_styled_base_browser_esm(external_wp_primitives_namespaceObject.SVG,  true ? {
+  target: "eas61re2"
+} : 0)( true ? {
+  name: "qkx60y",
+  styles: "display:block;height:100%;left:0;position:absolute;top:0;width:100%"
+} : 0);
+const PointerIconPathOutline = /*#__PURE__*/emotion_styled_base_browser_esm(external_wp_primitives_namespaceObject.Path,  true ? {
+  target: "eas61re1"
+} : 0)( true ? {
+  name: "1b3qpiw",
+  styles: "fill:white"
+} : 0);
+const PointerIconPathFill = /*#__PURE__*/emotion_styled_base_browser_esm(external_wp_primitives_namespaceObject.Path,  true ? {
+  target: "eas61re0"
+} : 0)("fill:", COLORS.blue.wordpress[700], ";fill:", COLORS.ui.theme, ";" + ( true ? "" : 0));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/focal-point.js

-var inspect = __webpack_require__("4qvr");

-var IsPropertyKey = __webpack_require__("nR7C");
-var Type = __webpack_require__("PoQ0");

 /**
- * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p
- * 1. Assert: Type(O) is Object.
- * 2. Assert: IsPropertyKey(P) is true.
- * 3. Return O.[[Get]](P, O).
+ * Internal dependencies
  */

-module.exports = function Get(O, P) {
-	// 7.3.1.1
-	if (Type(O) !== 'Object') {
-		throw new $TypeError('Assertion failed: Type(O) is not Object');
-	}
-	// 7.3.1.2
-	if (!IsPropertyKey(P)) {
-		throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
-	}
-	// 7.3.1.3
-	return O[P];
-};
+/**
+ * External dependencies
+ */


-/***/ }),
+function FocalPoint(_ref) {
+  let {
+    coordinates = {
+      left: '50%',
+      top: '50%'
+    },
+    ...props
+  } = _ref;
+  const classes = classnames_default()('components-focal-point-picker__icon_container');
+  const style = {
+    left: coordinates.left,
+    top: coordinates.top
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(FocalPointWrapper, extends_extends({}, props, {
+    className: classes,
+    style: style
+  }), (0,external_wp_element_namespaceObject.createElement)(PointerIconSVG, {
+    className: "components-focal-point-picker__icon",
+    xmlns: "http://www.w3.org/2000/svg",
+    viewBox: "0 0 30 30"
+  }, (0,external_wp_element_namespaceObject.createElement)(PointerIconPathOutline, {
+    className: "components-focal-point-picker__icon-outline",
+    d: "M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"
+  }), (0,external_wp_element_namespaceObject.createElement)(PointerIconPathFill, {
+    className: "components-focal-point-picker__icon-fill",
+    d: "M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"
+  })));
+}

-/***/ "aE6U":
-/***/ (function(module, exports, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/grid.js

-"use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+/**
+ * WordPress dependencies
+ */

-var _propTypes = __webpack_require__("17x9");
+/**
+ * Internal dependencies
+ */

-var _propTypes2 = _interopRequireDefault(_propTypes);

-var _constants = __webpack_require__("Fv1B");

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+const {
+  clearTimeout: grid_clearTimeout,
+  setTimeout: grid_setTimeout
+} = typeof window !== 'undefined' ? window : {};
+function FocalPointPickerGrid(_ref) {
+  let {
+    bounds = {},
+    value,
+    ...props
+  } = _ref;
+  const animationProps = useRevealAnimation(value);
+  const style = {
+    width: bounds.width,
+    height: bounds.height
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(GridView, extends_extends({}, props, animationProps, {
+    className: "components-focal-point-picker__grid",
+    style: style
+  }), (0,external_wp_element_namespaceObject.createElement)(GridLineX, {
+    style: {
+      top: '33%'
+    }
+  }), (0,external_wp_element_namespaceObject.createElement)(GridLineX, {
+    style: {
+      top: '66%'
+    }
+  }), (0,external_wp_element_namespaceObject.createElement)(GridLineY, {
+    style: {
+      left: '33%'
+    }
+  }), (0,external_wp_element_namespaceObject.createElement)(GridLineY, {
+    style: {
+      left: '66%'
+    }
+  }));
+}
+/**
+ * Custom hook that renders the "flash" animation whenever the value changes.
+ *
+ * @param {string} value Value of (box) side.
+ */

-exports['default'] = _propTypes2['default'].oneOf([_constants.HORIZONTAL_ORIENTATION, _constants.VERTICAL_ORIENTATION, _constants.VERTICAL_SCROLLABLE]);
+function useRevealAnimation(value) {
+  const [isActive, setIsActive] = (0,external_wp_element_namespaceObject.useState)(false);
+  use_update_effect(() => {
+    setIsActive(true);
+    const timeout = grid_setTimeout(() => {
+      setIsActive(false);
+    }, 600);
+    return () => grid_clearTimeout(timeout);
+  }, [value]);
+  return {
+    isActive
+  };
+}

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/media.js

-/***/ "aI7X":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";

+/**
+ * External dependencies
+ */

-/* eslint no-invalid-this: 1 */
+/**
+ * WordPress dependencies
+ */

-var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
-var slice = Array.prototype.slice;
-var toStr = Object.prototype.toString;
-var funcType = '[object Function]';

-module.exports = function bind(that) {
-    var target = this;
-    if (typeof target !== 'function' || toStr.call(target) !== funcType) {
-        throw new TypeError(ERROR_MESSAGE + target);
-    }
-    var args = slice.call(arguments, 1);
+/**
+ * Internal dependencies
+ */

-    var bound;
-    var binder = function () {
-        if (this instanceof bound) {
-            var result = target.apply(
-                this,
-                args.concat(slice.call(arguments))
-            );
-            if (Object(result) === result) {
-                return result;
-            }
-            return this;
-        } else {
-            return target.apply(
-                that,
-                args.concat(slice.call(arguments))
-            );
-        }
-    };

-    var boundLength = Math.max(0, target.length - args.length);
-    var boundArgs = [];
-    for (var i = 0; i < boundLength; i++) {
-        boundArgs.push('$' + i);
-    }

-    bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
+function media_Media(_ref) {
+  let {
+    alt,
+    autoPlay,
+    src,
+    onLoad = external_lodash_namespaceObject.noop,
+    mediaRef,
+    // Exposing muted prop for test rendering purposes
+    // https://github.com/testing-library/react-testing-library/issues/470
+    muted = true,
+    ...props
+  } = _ref;

-    if (target.prototype) {
-        var Empty = function Empty() {};
-        Empty.prototype = target.prototype;
-        bound.prototype = new Empty();
-        Empty.prototype = null;
-    }
+  if (!src) {
+    return (0,external_wp_element_namespaceObject.createElement)(MediaPlaceholderElement, {
+      className: "components-focal-point-picker__media components-focal-point-picker__media--placeholder",
+      onLoad: onLoad,
+      mediaRef: mediaRef
+    });
+  }

-    return bound;
-};
+  const isVideo = isVideoType(src);
+  return isVideo ? (0,external_wp_element_namespaceObject.createElement)("video", extends_extends({}, props, {
+    autoPlay: autoPlay,
+    className: "components-focal-point-picker__media components-focal-point-picker__media--video",
+    loop: true,
+    muted: muted,
+    onLoadedData: onLoad,
+    ref: mediaRef,
+    src: src
+  })) : (0,external_wp_element_namespaceObject.createElement)("img", extends_extends({}, props, {
+    alt: alt,
+    className: "components-focal-point-picker__media components-focal-point-picker__media--image",
+    onLoad: onLoad,
+    ref: mediaRef,
+    src: src
+  }));
+}

+function MediaPlaceholderElement(_ref2) {
+  let {
+    mediaRef,
+    onLoad = external_lodash_namespaceObject.noop,
+    ...props
+  } = _ref2;
+  const onLoadRef = (0,external_wp_element_namespaceObject.useRef)(onLoad);
+  /**
+   * This async callback mimics the onLoad (img) / onLoadedData (video) callback
+   * for media elements. It is used in the main <FocalPointPicker /> component
+   * to calculate the dimensions + boundaries for positioning.
+   */

-/***/ }),
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    window.requestAnimationFrame(() => {
+      onLoadRef.current();
+    });
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)(MediaPlaceholder, extends_extends({
+    ref: mediaRef
+  }, props));
+}

-/***/ "aU41":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focal-point-picker/index.js

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useForkRef; });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
+
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */


-// https://github.com/mui-org/material-ui/blob/2bcc874cf07b81202968f769cb9c2398c7c11311/packages/material-ui/src/utils/useForkRef.js

-function setRef(ref, value) {
-  if (value === void 0) {
-    value = null;
-  }

-  if (!ref) return;

-  if (typeof ref === "function") {
-    ref(value);
-  } else {
-    ref.current = value;
-  }
-}
 /**
- * Merges up to two React Refs into a single memoized function React Ref so you
- * can pass it to an element.
- *
- * @example
- * import React from "react";
- * import { useForkRef } from "reakit-utils";
- *
- * const Component = React.forwardRef((props, ref) => {
- *   const internalRef = React.useRef();
- *   return <div {...props} ref={useForkRef(internalRef, ref)} />;
- * });
+ * Internal dependencies
  */


-function useForkRef(refA, refB) {
-  return Object(react__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(function () {
-    if (refA == null && refB == null) {
-      return null;
-    }

-    return function (value) {
-      setRef(refA, value);
-      setRef(refB, value);
-    };
-  }, [refA, refB]);
-}




-/***/ }),

-/***/ "aUaa":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+class FocalPointPicker extends external_wp_element_namespaceObject.Component {
+  constructor(props) {
+    super(...arguments);
+    this.state = {
+      isDragging: false,
+      bounds: INITIAL_BOUNDS,
+      percentages: props.value
+    };
+    this.containerRef = (0,external_wp_element_namespaceObject.createRef)();
+    this.mediaRef = (0,external_wp_element_namespaceObject.createRef)();
+    this.onMouseDown = this.startDrag.bind(this);
+    this.onMouseUp = this.stopDrag.bind(this);
+    this.onKeyDown = this.onKeyDown.bind(this);
+    this.onMouseMove = this.doDrag.bind(this);

+    this.ifDraggingStop = () => {
+      if (this.state.isDragging) {
+        this.stopDrag();
+      }
+    };

-var GetIntrinsic = __webpack_require__("v7lB");
+    this.onChangeAtControls = value => {
+      this.updateValue(value);
+      this.props.onChange(value);
+    };

-var $TypeError = GetIntrinsic('%TypeError%');
+    this.updateBounds = this.updateBounds.bind(this);
+    this.updateValue = this.updateValue.bind(this);
+  }

-// http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
+  componentDidMount() {
+    const {
+      defaultView
+    } = this.containerRef.current.ownerDocument;
+    defaultView.addEventListener('resize', this.updateBounds);
+    /*
+     * Set initial bound values.
+     *
+     * This is necessary for Safari:
+     * https://github.com/WordPress/gutenberg/issues/25814
+     */

-module.exports = function CheckObjectCoercible(value, optMessage) {
-	if (value == null) {
-		throw new $TypeError(optMessage || ('Cannot call method on ' + value));
-	}
-	return value;
-};
+    this.updateBounds();
+  }

+  componentDidUpdate(prevProps) {
+    if (prevProps.url !== this.props.url) {
+      this.ifDraggingStop();
+    }
+    /*
+     * Handles cases where the incoming value changes.
+     * An example is the values resetting based on an UNDO action.
+     */

-/***/ }),

-/***/ "abaT":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
+    const {
+      isDragging,
+      percentages: {
+        x,
+        y
+      }
+    } = this.state;
+    const {
+      value
+    } = this.props;

-"use strict";
-/* harmony default export */ __webpack_exports__["a"] = (function(e,f){var a={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var d in a)r[a[d]]=d;var l={};e.prototype.toName=function(f){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var d,i,n=r[this.toHex()];if(n)return n;if(null==f?void 0:f.closest){var o=this.toRgb(),t=1/0,b="black";if(!l.length)for(var c in a)l[c]=new e(a[c]).toRgb();for(var g in a){var u=(d=o,i=l[g],Math.pow(d.r-i.r,2)+Math.pow(d.g-i.g,2)+Math.pow(d.b-i.b,2));u<t&&(t=u,b=g)}return b}};f.string.push([function(f){var r=f.toLowerCase(),d="transparent"===r?"#0000":a[r];return d?new e(d).toRgb():null},"name"])});
+    if (!isDragging && (value.x !== x || value.y !== y)) {
+      this.setState({
+        percentages: this.props.value
+      });
+    }
+  }

+  componentWillUnmount() {
+    const {
+      defaultView
+    } = this.containerRef.current.ownerDocument;
+    defaultView.removeEventListener('resize', this.updateBounds);
+    this.ifDraggingStop();
+  }

-/***/ }),
+  calculateBounds() {
+    const bounds = INITIAL_BOUNDS;

-/***/ "aflq":
-/***/ (function(module, exports, __webpack_require__) {
+    if (!this.mediaRef.current) {
+      return bounds;
+    } // Prevent division by zero when updateBounds runs in componentDidMount

-"use strict";

+    if (this.mediaRef.current.clientWidth === 0 || this.mediaRef.current.clientHeight === 0) {
+      return bounds;
+    }

-var GetIntrinsic = __webpack_require__("j1Hc");
+    const dimensions = {
+      width: this.mediaRef.current.clientWidth,
+      height: this.mediaRef.current.clientHeight
+    };
+    const pickerDimensions = this.pickerDimensions();
+    const widthRatio = pickerDimensions.width / dimensions.width;
+    const heightRatio = pickerDimensions.height / dimensions.height;

-var $TypeError = GetIntrinsic('%TypeError%');
+    if (heightRatio >= widthRatio) {
+      bounds.width = bounds.right = pickerDimensions.width;
+      bounds.height = dimensions.height * widthRatio;
+      bounds.top = (pickerDimensions.height - bounds.height) / 2;
+      bounds.bottom = bounds.top + bounds.height;
+    } else {
+      bounds.height = bounds.bottom = pickerDimensions.height;
+      bounds.width = dimensions.width * heightRatio;
+      bounds.left = (pickerDimensions.width - bounds.width) / 2;
+      bounds.right = bounds.left + bounds.width;
+    }

-var isPropertyDescriptor = __webpack_require__("Qmvf");
-var DefineOwnProperty = __webpack_require__("wTIp");
+    return bounds;
+  }

-var FromPropertyDescriptor = __webpack_require__("rQBh");
-var IsAccessorDescriptor = __webpack_require__("vYfR");
-var IsDataDescriptor = __webpack_require__("6/BL");
-var IsPropertyKey = __webpack_require__("nR7C");
-var SameValue = __webpack_require__("uug5");
-var ToPropertyDescriptor = __webpack_require__("6orR");
-var Type = __webpack_require__("PoQ0");
+  updateValue() {
+    let nextValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    const {
+      x,
+      y
+    } = nextValue;
+    const nextPercentage = {
+      x: parseFloat(x).toFixed(2),
+      y: parseFloat(y).toFixed(2)
+    };
+    this.setState({
+      percentages: nextPercentage
+    });
+  }

-// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow
+  updateBounds() {
+    this.setState({
+      bounds: this.calculateBounds()
+    });
+  }

-module.exports = function DefinePropertyOrThrow(O, P, desc) {
-	if (Type(O) !== 'Object') {
-		throw new $TypeError('Assertion failed: Type(O) is not Object');
-	}
+  startDrag(event) {
+    var _this$props$onDragSta, _this$props;

-	if (!IsPropertyKey(P)) {
-		throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
-	}
+    event.persist();
+    this.containerRef.current.focus();
+    this.setState({
+      isDragging: true
+    });
+    const {
+      ownerDocument
+    } = this.containerRef.current;
+    ownerDocument.addEventListener('mouseup', this.onMouseUp);
+    ownerDocument.addEventListener('mousemove', this.onMouseMove);
+    const value = this.getValueFromPoint({
+      x: event.pageX,
+      y: event.pageY
+    }, event.shiftKey);
+    this.updateValue(value);
+    (_this$props$onDragSta = (_this$props = this.props).onDragStart) === null || _this$props$onDragSta === void 0 ? void 0 : _this$props$onDragSta.call(_this$props, value, event);
+  }

-	var Desc = isPropertyDescriptor({
-		Type: Type,
-		IsDataDescriptor: IsDataDescriptor,
-		IsAccessorDescriptor: IsAccessorDescriptor
-	}, desc) ? desc : ToPropertyDescriptor(desc);
-	if (!isPropertyDescriptor({
-		Type: Type,
-		IsDataDescriptor: IsDataDescriptor,
-		IsAccessorDescriptor: IsAccessorDescriptor
-	}, Desc)) {
-		throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor');
-	}
+  stopDrag(event) {
+    var _this$props$onDragEnd, _this$props2;

-	return DefineOwnProperty(
-		IsDataDescriptor,
-		SameValue,
-		FromPropertyDescriptor,
-		O,
-		P,
-		Desc
-	);
-};
+    const {
+      ownerDocument
+    } = this.containerRef.current;
+    ownerDocument.removeEventListener('mouseup', this.onMouseUp);
+    ownerDocument.removeEventListener('mousemove', this.onMouseMove);
+    this.setState({
+      isDragging: false
+    }, () => {
+      this.props.onChange(this.state.percentages);
+    });
+    (_this$props$onDragEnd = (_this$props2 = this.props).onDragEnd) === null || _this$props$onDragEnd === void 0 ? void 0 : _this$props$onDragEnd.call(_this$props2, event);
+  }

+  onKeyDown(event) {
+    const {
+      keyCode,
+      shiftKey
+    } = event;
+    if (![external_wp_keycodes_namespaceObject.UP, external_wp_keycodes_namespaceObject.DOWN, external_wp_keycodes_namespaceObject.LEFT, external_wp_keycodes_namespaceObject.RIGHT].includes(keyCode)) return;
+    event.preventDefault();
+    const next = { ...this.state.percentages
+    };
+    const step = shiftKey ? 0.1 : 0.01;
+    const delta = keyCode === external_wp_keycodes_namespaceObject.UP || keyCode === external_wp_keycodes_namespaceObject.LEFT ? -1 * step : step;
+    const axis = keyCode === external_wp_keycodes_namespaceObject.UP || keyCode === external_wp_keycodes_namespaceObject.DOWN ? 'y' : 'x';
+    const value = parseFloat(next[axis]) + delta;
+    next[axis] = roundClamp(value, 0, 1, step);
+    this.updateValue(next);
+    this.props.onChange(next);
+  }

-/***/ }),
+  doDrag(event) {
+    var _this$props$onDrag, _this$props3;

-/***/ "ald4":
-/***/ (function(module, exports, __webpack_require__) {
+    // Prevents text-selection when dragging.
+    event.preventDefault();
+    const value = this.getValueFromPoint({
+      x: event.pageX,
+      y: event.pageY
+    }, event.shiftKey);
+    this.updateValue(value);
+    (_this$props$onDrag = (_this$props3 = this.props).onDrag) === null || _this$props$onDrag === void 0 ? void 0 : _this$props$onDrag.call(_this$props3, value, event);
+  }

-"use strict";
+  getValueFromPoint(point, byTenths) {
+    const {
+      bounds
+    } = this.state;
+    const pickerDimensions = this.pickerDimensions();
+    const relativePoint = {
+      left: point.x - pickerDimensions.left,
+      top: point.y - pickerDimensions.top
+    };
+    const left = Math.max(bounds.left, Math.min(relativePoint.left, bounds.right));
+    const top = Math.max(bounds.top, Math.min(relativePoint.top, bounds.bottom));
+    let nextX = (left - bounds.left) / (pickerDimensions.width - bounds.left * 2);
+    let nextY = (top - bounds.top) / (pickerDimensions.height - bounds.top * 2); // Enables holding shift to jump values by 10%

+    const step = byTenths ? 0.1 : 0.01;
+    nextX = roundClamp(nextX, 0, 1, step);
+    nextY = roundClamp(nextY, 0, 1, step);
+    return {
+      x: nextX,
+      y: nextY
+    };
+  }

-var $isNaN = Number.isNaN || function (a) { return a !== a; };
+  pickerDimensions() {
+    const containerNode = this.containerRef.current;

-module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; };
+    if (!containerNode) {
+      return {
+        width: 0,
+        height: 0,
+        left: 0,
+        top: 0
+      };
+    }

+    const {
+      clientHeight,
+      clientWidth
+    } = containerNode;
+    const {
+      top,
+      left
+    } = containerNode.getBoundingClientRect();
+    return {
+      width: clientWidth,
+      height: clientHeight,
+      top: top + document.body.scrollTop,
+      left
+    };
+  }

-/***/ }),
+  iconCoordinates() {
+    const {
+      bounds,
+      percentages: {
+        x,
+        y
+      }
+    } = this.state;

-/***/ "bVTw":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (bounds.left === undefined || bounds.top === undefined) {
+      return {
+        left: '50%',
+        top: '50%'
+      };
+    }
+
+    const {
+      width,
+      height
+    } = this.pickerDimensions();
+    return {
+      left: x * (width - bounds.left * 2) + bounds.left,
+      top: y * (height - bounds.top * 2) + bounds.top
+    };
+  }
+
+  render() {
+    const {
+      autoPlay,
+      className,
+      help,
+      instanceId,
+      label,
+      url
+    } = this.props;
+    const {
+      bounds,
+      isDragging,
+      percentages
+    } = this.state;
+    const iconCoordinates = this.iconCoordinates();
+    const classes = classnames_default()('components-focal-point-picker-control', className);
+    const id = `inspector-focal-point-picker-control-${instanceId}`;
+    return (0,external_wp_element_namespaceObject.createElement)(base_control, {
+      label: label,
+      id: id,
+      help: help,
+      className: classes
+    }, (0,external_wp_element_namespaceObject.createElement)(MediaWrapper, {
+      className: "components-focal-point-picker-wrapper"
+    }, (0,external_wp_element_namespaceObject.createElement)(MediaContainer, {
+      className: "components-focal-point-picker",
+      onKeyDown: this.onKeyDown,
+      onMouseDown: this.onMouseDown,
+      onBlur: this.ifDraggingStop,
+      ref: this.containerRef,
+      role: "button",
+      tabIndex: "-1"
+    }, (0,external_wp_element_namespaceObject.createElement)(FocalPointPickerGrid, {
+      bounds: bounds,
+      value: percentages.x + percentages.y
+    }), (0,external_wp_element_namespaceObject.createElement)(media_Media, {
+      alt: (0,external_wp_i18n_namespaceObject.__)('Media preview'),
+      autoPlay: autoPlay,
+      mediaRef: this.mediaRef,
+      onLoad: this.updateBounds,
+      src: url
+    }), (0,external_wp_element_namespaceObject.createElement)(FocalPoint, {
+      coordinates: iconCoordinates,
+      isDragging: isDragging
+    }))), (0,external_wp_element_namespaceObject.createElement)(FocalPointPickerControls, {
+      percentages: percentages,
+      onChange: this.onChangeAtControls
+    }));
+  }
+
+}
+FocalPointPicker.defaultProps = {
+  autoPlay: true,
+  value: {
+    x: 0.5,
+    y: 0.5
+  },
+  url: null
+};
+/* harmony default export */ var focal_point_picker = ((0,external_wp_compose_namespaceObject.withInstanceId)(FocalPointPicker));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/focusable-iframe/index.js

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
  * WordPress dependencies
  */

-const lineSolid = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  width: "24",
-  height: "24",
-  fill: "none"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M5 11.25h14v1.5H5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (lineSolid);

+function FocusableIframe(_ref) {
+  let {
+    iframeRef,
+    ...props
+  } = _ref;
+  const ref = (0,external_wp_compose_namespaceObject.useMergeRefs)([iframeRef, (0,external_wp_compose_namespaceObject.useFocusableIframe)()]);
+  external_wp_deprecated_default()('wp.components.FocusableIframe', {
+    alternative: 'wp.compose.useFocusableIframe'
+  }); // Disable reason: The rendered iframe is a pass-through component,
+  // assigning props inherited from the rendering parent. It's the
+  // responsibility of the parent to assign a title.
+  // eslint-disable-next-line jsx-a11y/iframe-has-title

-/***/ }),
+  return (0,external_wp_element_namespaceObject.createElement)("iframe", extends_extends({
+    ref: ref
+  }, props));
+}

-/***/ "bWcr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Radio/RadioState.js

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */

-const closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (closeSmall);


-/***/ }),

-/***/ "c6aN":
-/***/ (function(module, exports, __webpack_require__) {

-var moment = __webpack_require__("wy2R");

-function isValidMoment(testMoment) {
-  if (typeof moment.isMoment === 'function' && !moment.isMoment(testMoment)) {
-    return false;
-  }

-  /* istanbul ignore else  */
-  if (typeof testMoment.isValid === 'function') {
-    // moment 1.7.0+
-    return testMoment.isValid();
-  }

-  /* istanbul ignore next */
-  return !isNaN(testMoment);
-}

-module.exports = {
-  isValidMoment : isValidMoment,
-};

+function useRadioState(initialState) {
+  if (initialState === void 0) {
+    initialState = {};
+  }

-/***/ }),
+  var _useSealedState = useSealedState(initialState),
+      initialValue = _useSealedState.state,
+      _useSealedState$loop = _useSealedState.loop,
+      loop = _useSealedState$loop === void 0 ? true : _useSealedState$loop,
+      sealed = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_useSealedState, ["state", "loop"]);

-/***/ "cD2C":
-/***/ (function(module, exports, __webpack_require__) {
+  var _React$useState = (0,external_React_.useState)(initialValue),
+      state = _React$useState[0],
+      setState = _React$useState[1];

-"use strict";
+  var composite = useCompositeState(_objectSpread2(_objectSpread2({}, sealed), {}, {
+    loop: loop
+  }));
+  return _objectSpread2(_objectSpread2({}, composite), {}, {
+    state: state,
+    setState: setState
+  });
+}


-if (true) {
-  module.exports = __webpack_require__("5aBA");
-} else {}

+;// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-d251e56b.js
+// Automatically generated
+var RADIO_STATE_KEYS = ["baseId", "unstable_idCountRef", "unstable_virtual", "rtl", "orientation", "items", "groups", "currentId", "loop", "wrap", "shift", "unstable_moves", "unstable_hasActiveWidget", "unstable_includesBaseElement", "state", "setBaseId", "registerItem", "unregisterItem", "registerGroup", "unregisterGroup", "move", "next", "previous", "up", "down", "first", "last", "sort", "unstable_setVirtual", "setRTL", "setOrientation", "setCurrentId", "setLoop", "setWrap", "setShift", "reset", "unstable_setIncludesBaseElement", "unstable_setHasActiveWidget", "setState"];
+var RADIO_KEYS = [].concat(RADIO_STATE_KEYS, ["value", "checked", "unstable_checkOnFocus"]);
+var RADIO_GROUP_KEYS = RADIO_STATE_KEYS;

-/***/ }),

-/***/ "cDcd":
-/***/ (function(module, exports) {

-(function() { module.exports = window["React"]; }());
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Radio/RadioGroup.js

-/***/ }),

-/***/ "cGtP":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */

-const search = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (search);


-/***/ }),

-/***/ "dRQD":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = isTransitionEndSupported;
-function isTransitionEndSupported() {
-  return !!(typeof window !== 'undefined' && 'TransitionEvent' in window);
-}

-/***/ }),

-/***/ "dSD1":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ slot_fill_Fill; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ slot_fill_Slot; });
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ Provider; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ createSlotFill; });

-// UNUSED EXPORTS: useSlot

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/context.js
-// @ts-nocheck

-/**
- * WordPress dependencies
- */

-const SlotFillContext = Object(external_wp_element_["createContext"])({
-  registerSlot: () => {},
-  unregisterSlot: () => {},
-  registerFill: () => {},
-  unregisterFill: () => {},
-  getSlot: () => {},
-  getFills: () => {},
-  subscribe: () => {}
-});
-/* harmony default export */ var context = (SlotFillContext);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/use-slot.js
-// @ts-nocheck

-/**
- * WordPress dependencies
- */

-/**
- * Internal dependencies
- */


-/**
- * React hook returning the active slot given a name.
- *
- * @param {string} name Slot name.
- * @return {Object} Slot object.
- */

-const useSlot = name => {
-  const {
-    getSlot,
-    subscribe
-  } = Object(external_wp_element_["useContext"])(context);
-  const [slot, setSlot] = Object(external_wp_element_["useState"])(getSlot(name));
-  Object(external_wp_element_["useEffect"])(() => {
-    setSlot(getSlot(name));
-    const unsubscribe = subscribe(() => {
-      setSlot(getSlot(name));
-    });
-    return unsubscribe;
-  }, [name]);
-  return slot;
-};

-/* harmony default export */ var use_slot = (useSlot);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/fill.js
+var useRadioGroup = createHook({
+  name: "RadioGroup",
+  compose: useComposite,
+  keys: RADIO_GROUP_KEYS,
+  useProps: function useProps(_, htmlProps) {
+    return _objectSpread2({
+      role: "radiogroup"
+    }, htmlProps);
+  }
+});
+var RadioGroup = createComponent({
+  as: "div",
+  useHook: useRadioGroup,
+  useCreateElement: function useCreateElement$1(type, props, children) {
+     false ? 0 : void 0;
+    return useCreateElement(type, props, children);
+  }
+});
+
+

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control/styles.js

-// @ts-nocheck
+
+function toggle_group_control_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

 /**
  * External dependencies
  */

+
 /**
- * WordPress dependencies
+ * Internal dependencies
  */

+const ToggleGroupControl = /*#__PURE__*/emotion_react_browser_esm_css("background:", COLORS.ui.background, ";border:1px solid;border-color:", COLORS.ui.border, ";border-radius:", config_values.controlBorderRadius, ";display:inline-flex;min-height:", config_values.controlHeight, ";min-width:0;padding:2px;position:relative;transition:transform ", config_values.transitionDurationFastest, " linear;", reduceMotion('transition'), " &:hover{border-color:", COLORS.ui.borderHover, ";}&:focus-within{border-color:", COLORS.ui.borderFocus, ";box-shadow:", config_values.controlBoxShadowFocus, ";outline:none;z-index:1;}" + ( true ? "" : 0),  true ? "" : 0);
+const toggle_group_control_styles_block =  true ? {
+  name: "7whenc",
+  styles: "display:flex;width:100%"
+} : 0;
+const BackdropView = emotion_styled_base_browser_esm("div",  true ? {
+  target: "eakva830"
+} : 0)("background:", COLORS.gray[900], ";border-radius:", config_values.controlBorderRadius, ";box-shadow:", config_values.toggleGroupControlBackdropBoxShadow, ";left:0;position:absolute;top:2px;bottom:2px;transition:transform ", config_values.transitionDurationFast, " ease;", reduceMotion('transition'), " z-index:1;" + ( true ? "" : 0));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control/toggle-group-control-backdrop.js
+

 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+/**
+ * Internal dependencies
+ */



-function fill_FillComponent(_ref) {
+function ToggleGroupControlBackdrop(_ref) {
   let {
-    name,
-    children,
-    registerFill,
-    unregisterFill
+    containerRef,
+    containerWidth,
+    isAdaptiveWidth,
+    state
   } = _ref;
-  const slot = use_slot(name);
-  const ref = Object(external_wp_element_["useRef"])({
-    name,
-    children
-  });
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    registerFill(name, ref.current);
-    return () => unregisterFill(name, ref.current);
-  }, []);
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    ref.current.children = children;
+  const [left, setLeft] = (0,external_wp_element_namespaceObject.useState)(0);
+  const [width, setWidth] = (0,external_wp_element_namespaceObject.useState)(0);
+  const [canAnimate, setCanAnimate] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [renderBackdrop, setRenderBackdrop] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const containerNode = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current;
+    if (!containerNode) return;
+    /**
+     * Workaround for Reakit
+     */

-    if (slot) {
-      slot.forceUpdate();
-    }
-  }, [children]);
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    if (name === ref.current.name) {
-      // ignore initial effect
+    const targetNode = containerNode.querySelector(`[data-value="${state}"]`);
+    setRenderBackdrop(!!targetNode);
+
+    if (!targetNode) {
       return;
     }

-    unregisterFill(ref.current.name, ref.current);
-    ref.current.name = name;
-    registerFill(name, ref.current);
-  }, [name]);
+    const computeDimensions = () => {
+      const {
+        width: offsetWidth,
+        x
+      } = targetNode.getBoundingClientRect();
+      const {
+        x: parentX
+      } = containerNode.getBoundingClientRect();
+      const borderWidth = 1;
+      const offsetLeft = x - parentX - borderWidth;
+      setLeft(offsetLeft);
+      setWidth(offsetWidth);
+    }; // Fix to make the component appear as expected inside popovers.
+    // If the targetNode width is 0 it means the element was not yet rendered we should allow
+    // some time for the render to happen.
+    // requestAnimationFrame instead of setTimeout with a small time does not seems to work.

-  if (!slot || !slot.node) {
-    return null;
-  } // If a function is passed as a child, provide it with the fillProps.

+    const dimensionsRequestId = window.setTimeout(computeDimensions, 100);
+    let animationRequestId;

-  if (Object(external_lodash_["isFunction"])(children)) {
-    children = children(slot.props.fillProps);
+    if (!canAnimate) {
+      animationRequestId = window.requestAnimationFrame(() => {
+        setCanAnimate(true);
+      });
+    }
+
+    return () => {
+      window.clearTimeout(dimensionsRequestId);
+      window.cancelAnimationFrame(animationRequestId);
+    };
+  }, [canAnimate, containerRef, containerWidth, state, isAdaptiveWidth]);
+
+  if (!renderBackdrop) {
+    return null;
   }

-  return Object(external_wp_element_["createPortal"])(children, slot.node);
+  return (0,external_wp_element_namespaceObject.createElement)(BackdropView, {
+    role: "presentation",
+    style: {
+      transform: `translateX(${left}px)`,
+      transition: canAnimate ? undefined : 'none',
+      width
+    }
+  });
 }

-const Fill = props => Object(external_wp_element_["createElement"])(context.Consumer, null, _ref2 => {
-  let {
-    registerFill,
-    unregisterFill
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(fill_FillComponent, Object(esm_extends["a" /* default */])({}, props, {
-    registerFill: registerFill,
-    unregisterFill: unregisterFill
-  }));
-});
+/* harmony default export */ var toggle_group_control_backdrop = ((0,external_wp_element_namespaceObject.memo)(ToggleGroupControlBackdrop));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/context.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */

-/* harmony default export */ var slot_fill_fill = (Fill);
+const ToggleGroupControlContext = (0,external_wp_element_namespaceObject.createContext)({});
+const useToggleGroupControlContext = () => (0,external_wp_element_namespaceObject.useContext)(ToggleGroupControlContext);
+/* harmony default export */ var toggle_group_control_context = (ToggleGroupControlContext);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/slot.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control/component.js


-// @ts-nocheck

 /**
  * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports
+// eslint-disable-next-line no-restricted-imports
+

 /**
  * WordPress dependencies
  */


+
 /**
  * Internal dependencies
  */



-class slot_SlotComponent extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.isUnmounted = false;
-    this.bindNode = this.bindNode.bind(this);
-  }
-
-  componentDidMount() {
-    const {
-      registerSlot
-    } = this.props;
-    registerSlot(this.props.name, this);
-  }

-  componentWillUnmount() {
-    const {
-      unregisterSlot
-    } = this.props;
-    this.isUnmounted = true;
-    unregisterSlot(this.props.name, this);
-  }

-  componentDidUpdate(prevProps) {
-    const {
-      name,
-      unregisterSlot,
-      registerSlot
-    } = this.props;

-    if (prevProps.name !== name) {
-      unregisterSlot(prevProps.name);
-      registerSlot(name, this);
-    }
-  }

-  bindNode(node) {
-    this.node = node;
-  }

-  forceUpdate() {
-    if (this.isUnmounted) {
-      return;
-    }

-    super.forceUpdate();
-  }
+const component_noop = () => {};

-  render() {
-    const {
-      children,
-      name,
-      fillProps = {},
-      getFills
-    } = this.props;
-    const fills = Object(external_lodash_["map"])(getFills(name, this), fill => {
-      const fillChildren = Object(external_lodash_["isFunction"])(fill.children) ? fill.children(fillProps) : fill.children;
-      return external_wp_element_["Children"].map(fillChildren, (child, childIndex) => {
-        if (!child || Object(external_lodash_["isString"])(child)) {
-          return child;
-        }
+function component_ToggleGroupControl(props, forwardedRef) {
+  const {
+    className,
+    isAdaptiveWidth = false,
+    isBlock = false,
+    label,
+    hideLabelFromVision = false,
+    help,
+    onChange = component_noop,
+    value,
+    children,
+    ...otherProps
+  } = useContextSystem(props, 'ToggleGroupControl');
+  const cx = useCx();
+  const containerRef = (0,external_wp_element_namespaceObject.useRef)();
+  const [resizeListener, sizes] = react_resize_aware_dist_default()();
+  const baseId = (0,external_wp_compose_namespaceObject.useInstanceId)(component_ToggleGroupControl, 'toggle-group-control').toString();
+  const radio = useRadioState({
+    baseId,
+    state: value
+  }); // Propagate radio.state change

-        const childKey = child.key || childIndex;
-        return Object(external_wp_element_["cloneElement"])(child, {
-          key: childKey
-        });
-      });
-    }).filter( // In some cases fills are rendered only when some conditions apply.
-    // This ensures that we only use non-empty fills when rendering, i.e.,
-    // it allows us to render wrappers only when the fills are actually present.
-    Object(external_lodash_["negate"])(external_wp_element_["isEmptyElement"]));
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_lodash_["isFunction"])(children) ? children(fills) : fills);
-  }
+  use_update_effect(() => {
+    onChange(radio.state);
+  }, [radio.state]); // Sync incoming value with radio.state

+  use_update_effect(() => {
+    if (value !== radio.state) {
+      radio.setState(value);
+    }
+  }, [value]);
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => cx(ToggleGroupControl, isBlock && toggle_group_control_styles_block, 'medium', className), [className, isBlock]);
+  return (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    help: help
+  }, (0,external_wp_element_namespaceObject.createElement)(toggle_group_control_context.Provider, {
+    value: { ...radio,
+      isBlock: !isAdaptiveWidth
+    }
+  }, !hideLabelFromVision && (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)(base_control.VisualLabel, null, label)), (0,external_wp_element_namespaceObject.createElement)(RadioGroup, extends_extends({}, radio, {
+    "aria-label": label,
+    as: component,
+    className: classes
+  }, otherProps, {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([containerRef, forwardedRef])
+  }), resizeListener, (0,external_wp_element_namespaceObject.createElement)(toggle_group_control_backdrop, extends_extends({}, radio, {
+    containerRef: containerRef,
+    containerWidth: sizes.width,
+    isAdaptiveWidth: isAdaptiveWidth
+  })), children)));
 }
-
-const Slot = props => Object(external_wp_element_["createElement"])(context.Consumer, null, _ref => {
-  let {
-    registerSlot,
-    unregisterSlot,
-    getFills
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(slot_SlotComponent, Object(esm_extends["a" /* default */])({}, props, {
-    registerSlot: registerSlot,
-    unregisterSlot: unregisterSlot,
-    getFills: getFills
-  }));
-});
-
-/* harmony default export */ var slot_fill_slot = (Slot);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/use-slot.js
-var bubbles_virtually_use_slot = __webpack_require__("+WFq");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/fill.js
-// @ts-nocheck
-
 /**
- * WordPress dependencies
+ * `ToggleGroupControl` is a form component that lets users choose options
+ * represented in horizontal segments. To render options for this control use
+ * `ToggleGroupControlOption` component.
+ *
+ * Only use this control when you know for sure the labels of items inside won't
+ * wrap. For items with longer labels, you can consider a `SelectControl` or a
+ * `CustomSelectControl` component instead.
+ *
+ * @example
+ * ```jsx
+ * import {
+ *   __experimentalToggleGroupControl as ToggleGroupControl,
+ *   __experimentalToggleGroupControlOption as ToggleGroupControlOption,
+ * } from '@wordpress/components';
+ *
+ * function Example() {
+ *   return (
+ *     <ToggleGroupControl label="my label" value="vertical" isBlock>
+ *       <ToggleGroupControlOption value="horizontal" label="Horizontal" />
+ *       <ToggleGroupControlOption value="vertical" label="Vertical" />
+ *     </ToggleGroupControl>
+ *   );
+ * }
+ * ```
  */

-/**
- * Internal dependencies
- */

+const ConnectedToggleGroupControl = contextConnect(component_ToggleGroupControl, 'ToggleGroupControl');
+/* harmony default export */ var toggle_group_control_component = (ConnectedToggleGroupControl);

+;// CONCATENATED MODULE: ./node_modules/reakit/es/Radio/Radio.js

-function useForceUpdate() {
-  const [, setState] = Object(external_wp_element_["useState"])({});
-  const mounted = Object(external_wp_element_["useRef"])(true);
-  Object(external_wp_element_["useEffect"])(() => {
-    return () => {
-      mounted.current = false;
-    };
-  }, []);
-  return () => {
-    if (mounted.current) {
-      setState({});
-    }
-  };
-}

-function fill_Fill(_ref) {
-  let {
-    name,
-    children
-  } = _ref;
-  const slot = Object(bubbles_virtually_use_slot["a" /* default */])(name);
-  const ref = Object(external_wp_element_["useRef"])({
-    rerender: useForceUpdate()
-  });
-  Object(external_wp_element_["useEffect"])(() => {
-    // We register fills so we can keep track of their existance.
-    // Some Slot implementations need to know if there're already fills
-    // registered so they can choose to render themselves or not.
-    slot.registerFill(ref);
-    return () => {
-      slot.unregisterFill(ref);
-    };
-  }, [slot.registerFill, slot.unregisterFill]);

-  if (!slot.ref || !slot.ref.current) {
-    return null;
-  }

-  if (typeof children === 'function') {
-    children = children(slot.fillProps);
-  }

-  return Object(external_wp_element_["createPortal"])(children, slot.ref.current);
-}

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/slot-fill-context.js
-var slot_fill_context = __webpack_require__("JYkG");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/slot.js


-// @ts-nocheck

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */



-function slot_Slot(_ref, forwardedRef) {
-  let {
-    name,
-    fillProps = {},
-    as: Component = 'div',
-    ...props
-  } = _ref;
-  const registry = Object(external_wp_element_["useContext"])(slot_fill_context["a" /* default */]);
-  const ref = Object(external_wp_element_["useRef"])();
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    registry.registerSlot(name, ref, fillProps);
-    return () => {
-      registry.unregisterSlot(name, ref);
-    }; // We are not including fillProps in the deps because we don't want to
-    // unregister and register the slot whenever fillProps change, which would
-    // cause the fill to be re-mounted. We are only considering the initial value
-    // of fillProps.
-  }, [registry.registerSlot, registry.unregisterSlot, name]); // fillProps may be an update that interacts with the layout, so we
-  // useLayoutEffect

-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    registry.updateSlot(name, fillProps);
-  });
-  return Object(external_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({
-    ref: Object(external_wp_compose_["useMergeRefs"])([forwardedRef, ref])
-  }, props));
-}

-/* harmony default export */ var bubbles_virtually_slot = (Object(external_wp_element_["forwardRef"])(slot_Slot));

-// EXTERNAL MODULE: external ["wp","isShallowEqual"]
-var external_wp_isShallowEqual_ = __webpack_require__("rl8x");
-var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/slot-fill-provider.js

-// @ts-nocheck

-/**
- * WordPress dependencies
- */


-/**
- * Internal dependencies
- */



-function useSlotRegistry() {
-  const [slots, setSlots] = Object(external_wp_element_["useState"])({});
-  const [fills, setFills] = Object(external_wp_element_["useState"])({});
-  const registerSlot = Object(external_wp_element_["useCallback"])((name, ref, fillProps) => {
-    setSlots(prevSlots => {
-      const slot = prevSlots[name] || {};
-      return { ...prevSlots,
-        [name]: { ...slot,
-          ref: ref || slot.ref,
-          fillProps: fillProps || slot.fillProps || {}
-        }
-      };
-    });
-  }, []);
-  const unregisterSlot = Object(external_wp_element_["useCallback"])((name, ref) => {
-    setSlots(prevSlots => {
-      const {
-        [name]: slot,
-        ...nextSlots
-      } = prevSlots; // Make sure we're not unregistering a slot registered by another element
-      // See https://github.com/WordPress/gutenberg/pull/19242#issuecomment-590295412

-      if ((slot === null || slot === void 0 ? void 0 : slot.ref) === ref) {
-        return nextSlots;
-      }

-      return prevSlots;
-    });
-  }, []);
-  const updateSlot = Object(external_wp_element_["useCallback"])((name, fillProps) => {
-    const slot = slots[name];

-    if (!slot) {
-      return;
-    }

-    if (!external_wp_isShallowEqual_default()(slot.fillProps, fillProps)) {
-      slot.fillProps = fillProps;
-      const slotFills = fills[name];

-      if (slotFills) {
-        // Force update fills
-        slotFills.map(fill => fill.current.rerender());
-      }
-    }
-  }, [slots, fills]);
-  const registerFill = Object(external_wp_element_["useCallback"])((name, ref) => {
-    setFills(prevFills => ({ ...prevFills,
-      [name]: [...(prevFills[name] || []), ref]
-    }));
-  }, []);
-  const unregisterFill = Object(external_wp_element_["useCallback"])((name, ref) => {
-    setFills(prevFills => {
-      if (prevFills[name]) {
-        return { ...prevFills,
-          [name]: prevFills[name].filter(fillRef => fillRef !== ref)
-        };
-      }

-      return prevFills;
-    });
-  }, []); // Memoizing the return value so it can be directly passed to Provider value
+function getChecked(options) {
+  if (typeof options.checked !== "undefined") {
+    return options.checked;
+  }

-  const registry = Object(external_wp_element_["useMemo"])(() => ({
-    slots,
-    fills,
-    registerSlot,
-    updateSlot,
-    unregisterSlot,
-    registerFill,
-    unregisterFill
-  }), [slots, fills, registerSlot, updateSlot, unregisterSlot, registerFill, unregisterFill]);
-  return registry;
+  return typeof options.value !== "undefined" && options.state === options.value;
 }

-function slot_fill_provider_SlotFillProvider(_ref) {
-  let {
-    children
-  } = _ref;
-  const registry = useSlotRegistry();
-  return Object(external_wp_element_["createElement"])(slot_fill_context["a" /* default */].Provider, {
-    value: registry
-  }, children);
-}
+function useInitialChecked(options) {
+  var _React$useState = (0,external_React_.useState)(function () {
+    return getChecked(options);
+  }),
+      initialChecked = _React$useState[0];

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/provider.js
+  var _React$useState2 = (0,external_React_.useState)(options.currentId),
+      initialCurrentId = _React$useState2[0];

-// @ts-nocheck
+  var id = options.id,
+      setCurrentId = options.setCurrentId;
+  (0,external_React_.useEffect)(function () {
+    if (initialChecked && id && initialCurrentId !== id) {
+      setCurrentId === null || setCurrentId === void 0 ? void 0 : setCurrentId(id);
+    }
+  }, [initialChecked, id, setCurrentId, initialCurrentId]);
+}

-/**
- * External dependencies
- */
+function fireChange(element, onChange) {
+  var event = createEvent(element, "change");
+  Object.defineProperties(event, {
+    type: {
+      value: "change"
+    },
+    target: {
+      value: element
+    },
+    currentTarget: {
+      value: element
+    }
+  });
+  onChange === null || onChange === void 0 ? void 0 : onChange(event);
+}

-/**
- * WordPress dependencies
- */
+var useRadio = createHook({
+  name: "Radio",
+  compose: useCompositeItem,
+  keys: RADIO_KEYS,
+  useOptions: function useOptions(_ref, _ref2) {
+    var _options$value;

+    var value = _ref2.value,
+        checked = _ref2.checked;

-/**
- * Internal dependencies
- */
+    var _ref$unstable_clickOn = _ref.unstable_clickOnEnter,
+        unstable_clickOnEnter = _ref$unstable_clickOn === void 0 ? false : _ref$unstable_clickOn,
+        _ref$unstable_checkOn = _ref.unstable_checkOnFocus,
+        unstable_checkOnFocus = _ref$unstable_checkOn === void 0 ? true : _ref$unstable_checkOn,
+        options = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref, ["unstable_clickOnEnter", "unstable_checkOnFocus"]);

+    return _objectSpread2(_objectSpread2({
+      checked: checked,
+      unstable_clickOnEnter: unstable_clickOnEnter,
+      unstable_checkOnFocus: unstable_checkOnFocus
+    }, options), {}, {
+      value: (_options$value = options.value) != null ? _options$value : value
+    });
+  },
+  useProps: function useProps(options, _ref3) {
+    var htmlRef = _ref3.ref,
+        htmlOnChange = _ref3.onChange,
+        htmlOnClick = _ref3.onClick,
+        htmlProps = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_ref3, ["ref", "onChange", "onClick"]);

-class provider_SlotFillProvider extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.registerSlot = this.registerSlot.bind(this);
-    this.registerFill = this.registerFill.bind(this);
-    this.unregisterSlot = this.unregisterSlot.bind(this);
-    this.unregisterFill = this.unregisterFill.bind(this);
-    this.getSlot = this.getSlot.bind(this);
-    this.getFills = this.getFills.bind(this);
-    this.hasFills = this.hasFills.bind(this);
-    this.subscribe = this.subscribe.bind(this);
-    this.slots = {};
-    this.fills = {};
-    this.listeners = [];
-    this.contextValue = {
-      registerSlot: this.registerSlot,
-      unregisterSlot: this.unregisterSlot,
-      registerFill: this.registerFill,
-      unregisterFill: this.unregisterFill,
-      getSlot: this.getSlot,
-      getFills: this.getFills,
-      hasFills: this.hasFills,
-      subscribe: this.subscribe
-    };
-  }
+    var ref = (0,external_React_.useRef)(null);

-  registerSlot(name, slot) {
-    const previousSlot = this.slots[name];
-    this.slots[name] = slot;
-    this.triggerListeners(); // Sometimes the fills are registered after the initial render of slot
-    // But before the registerSlot call, we need to rerender the slot
+    var _React$useState3 = (0,external_React_.useState)(true),
+        isNativeRadio = _React$useState3[0],
+        setIsNativeRadio = _React$useState3[1];

-    this.forceUpdateSlot(name); // If a new instance of a slot is being mounted while another with the
-    // same name exists, force its update _after_ the new slot has been
-    // assigned into the instance, such that its own rendering of children
-    // will be empty (the new Slot will subsume all fills for this name).
+    var checked = getChecked(options);
+    var isCurrentItemRef = useLiveRef(options.currentId === options.id);
+    var onChangeRef = useLiveRef(htmlOnChange);
+    var onClickRef = useLiveRef(htmlOnClick);
+    useInitialChecked(options);
+    (0,external_React_.useEffect)(function () {
+      var element = ref.current;

-    if (previousSlot) {
-      previousSlot.forceUpdate();
-    }
-  }
+      if (!element) {
+         false ? 0 : void 0;
+        return;
+      }

-  registerFill(name, instance) {
-    this.fills[name] = [...(this.fills[name] || []), instance];
-    this.forceUpdateSlot(name);
-  }
+      if (element.tagName !== "INPUT" || element.type !== "radio") {
+        setIsNativeRadio(false);
+      }
+    }, []);
+    var onChange = (0,external_React_.useCallback)(function (event) {
+      var _onChangeRef$current, _options$setState;

-  unregisterSlot(name, instance) {
-    // If a previous instance of a Slot by this name unmounts, do nothing,
-    // as the slot and its fills should only be removed for the current
-    // known instance.
-    if (this.slots[name] !== instance) {
-      return;
-    }
+      (_onChangeRef$current = onChangeRef.current) === null || _onChangeRef$current === void 0 ? void 0 : _onChangeRef$current.call(onChangeRef, event);
+      if (event.defaultPrevented) return;
+      if (options.disabled) return;
+      (_options$setState = options.setState) === null || _options$setState === void 0 ? void 0 : _options$setState.call(options, options.value);
+    }, [options.disabled, options.setState, options.value]);
+    var onClick = (0,external_React_.useCallback)(function (event) {
+      var _onClickRef$current;

-    delete this.slots[name];
-    this.triggerListeners();
-  }
+      (_onClickRef$current = onClickRef.current) === null || _onClickRef$current === void 0 ? void 0 : _onClickRef$current.call(onClickRef, event);
+      if (event.defaultPrevented) return;
+      if (isNativeRadio) return;
+      fireChange(event.currentTarget, onChange);
+    }, [onChange, isNativeRadio]);
+    (0,external_React_.useEffect)(function () {
+      var element = ref.current;
+      if (!element) return;

-  unregisterFill(name, instance) {
-    this.fills[name] = Object(external_lodash_["without"])(this.fills[name], instance);
-    this.forceUpdateSlot(name);
+      if (options.unstable_moves && isCurrentItemRef.current && options.unstable_checkOnFocus) {
+        fireChange(element, onChange);
+      }
+    }, [options.unstable_moves, options.unstable_checkOnFocus, onChange]);
+    return _objectSpread2({
+      ref: useForkRef(ref, htmlRef),
+      role: !isNativeRadio ? "radio" : undefined,
+      type: isNativeRadio ? "radio" : undefined,
+      value: isNativeRadio ? options.value : undefined,
+      name: isNativeRadio ? options.baseId : undefined,
+      "aria-checked": checked,
+      checked: checked,
+      onChange: onChange,
+      onClick: onClick
+    }, htmlProps);
   }
+});
+var Radio = createComponent({
+  as: "input",
+  memo: true,
+  useHook: useRadio
+});

-  getSlot(name) {
-    return this.slots[name];
-  }

-  getFills(name, slotInstance) {
-    // Fills should only be returned for the current instance of the slot
-    // in which they occupy.
-    if (this.slots[name] !== slotInstance) {
-      return [];
-    }

-    return this.fills[name];
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control-option/styles.js

-  hasFills(name) {
-    return this.fills[name] && !!this.fills[name].length;
-  }

-  forceUpdateSlot(name) {
-    const slot = this.getSlot(name);
+function toggle_group_control_option_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-    if (slot) {
-      slot.forceUpdate();
-    }
-  }
+/**
+ * External dependencies
+ */

-  triggerListeners() {
-    this.listeners.forEach(listener => listener());
-  }

-  subscribe(listener) {
-    this.listeners.push(listener);
-    return () => {
-      this.listeners = Object(external_lodash_["without"])(this.listeners, listener);
-    };
-  }
+/**
+ * Internal dependencies
+ */

-  render() {
-    return Object(external_wp_element_["createElement"])(context.Provider, {
-      value: this.contextValue
-    }, this.props.children);
-  }
+const LabelView = emotion_styled_base_browser_esm("div",  true ? {
+  target: "eu1cvm72"
+} : 0)( true ? {
+  name: "sln1fl",
+  styles: "display:inline-flex;max-width:100%;min-width:0;position:relative"
+} : 0);
+const labelBlock =  true ? {
+  name: "82a6rk",
+  styles: "flex:1"
+} : 0;
+const buttonView = /*#__PURE__*/emotion_react_browser_esm_css("align-items:center;appearance:none;background:transparent;border:none;border-radius:", config_values.controlBorderRadius, ";color:", COLORS.gray[700], ";cursor:pointer;display:flex;height:100%;justify-content:center;line-height:100%;outline:none;padding:0 12px;position:relative;text-align:center;transition:background ", config_values.transitionDurationFast, " linear,color ", config_values.transitionDurationFast, " linear,font-weight 60ms linear;", reduceMotion('transition'), " user-select:none;width:100%;z-index:2;&::-moz-focus-inner{border:0;}&:active{background:", config_values.toggleGroupControlBackgroundColor, ";}" + ( true ? "" : 0),  true ? "" : 0);
+const buttonActive = /*#__PURE__*/emotion_react_browser_esm_css("color:", COLORS.white, ";&:active{background:transparent;}" + ( true ? "" : 0),  true ? "" : 0);
+const ButtonContentView = emotion_styled_base_browser_esm("div",  true ? {
+  target: "eu1cvm71"
+} : 0)("font-size:", config_values.fontSize, ";line-height:1;position:absolute;top:50%;left:50%;transform:translate( -50%, -50% );" + ( true ? "" : 0));
+const separatorActive =  true ? {
+  name: "1qsuvl4",
+  styles: "background:transparent"
+} : 0;
+const LabelPlaceholderView = emotion_styled_base_browser_esm("div",  true ? {
+  target: "eu1cvm70"
+} : 0)("font-size:", config_values.fontSize, ";font-weight:bold;height:0;overflow:hidden;visibility:hidden;" + ( true ? "" : 0));
+const medium = /*#__PURE__*/emotion_react_browser_esm_css("min-height:", config_values.controlHeight, ";" + ( true ? "" : 0),  true ? "" : 0);

-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-group-control/toggle-group-control-option/component.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/index.js


-// @ts-nocheck
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports
+// eslint-disable-next-line no-restricted-imports

 /**
  * WordPress dependencies
  */

+
 /**
  * Internal dependencies
  */
@@ -64897,1357 +62864,2012 @@ class provider_SlotFillProvider extends external_wp_element_["Component"] {



+const {
+  ButtonContentView: component_ButtonContentView,
+  LabelPlaceholderView: component_LabelPlaceholderView,
+  LabelView: component_LabelView
+} = toggle_group_control_option_styles_namespaceObject;

-
-function slot_fill_Fill(props) {
-  // We're adding both Fills here so they can register themselves before
-  // their respective slot has been registered. Only the Fill that has a slot
-  // will render. The other one will return null.
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(slot_fill_fill, props), Object(external_wp_element_["createElement"])(fill_Fill, props));
-}
-const slot_fill_Slot = Object(external_wp_element_["forwardRef"])((_ref, ref) => {
+const WithToolTip = _ref => {
   let {
-    bubblesVirtually,
-    ...props
+    showTooltip,
+    text,
+    children
   } = _ref;

-  if (bubblesVirtually) {
-    return Object(external_wp_element_["createElement"])(bubbles_virtually_slot, Object(esm_extends["a" /* default */])({}, props, {
-      ref: ref
-    }));
+  if (showTooltip && text) {
+    return (0,external_wp_element_namespaceObject.createElement)(tooltip, {
+      text: text,
+      position: "top center"
+    }, children);
   }

-  return Object(external_wp_element_["createElement"])(slot_fill_slot, props);
-});
-function Provider(_ref2) {
-  let {
-    children,
-    ...props
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(provider_SlotFillProvider, props, Object(external_wp_element_["createElement"])(slot_fill_provider_SlotFillProvider, null, children));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, children);
+};
+
+function ToggleGroupControlOption(props, forwardedRef) {
+  const toggleGroupControlContext = useToggleGroupControlContext();
+  const id = (0,external_wp_compose_namespaceObject.useInstanceId)(ToggleGroupControlOption, toggleGroupControlContext.baseId || 'toggle-group-control-option');
+  const buttonProps = useContextSystem({ ...props,
+    id
+  }, 'ToggleGroupControlOption');
+  const {
+    className,
+    isBlock = false,
+    label,
+    value,
+    showTooltip = false,
+    ...radioProps
+  } = { ...toggleGroupControlContext,
+    ...buttonProps
+  };
+  const isActive = radioProps.state === value;
+  const cx = useCx();
+  const labelViewClasses = cx(isBlock && labelBlock);
+  const classes = cx(buttonView, className, isActive && buttonActive);
+  const optionLabel = !!radioProps['aria-label'] ? radioProps['aria-label'] : label;
+  return (0,external_wp_element_namespaceObject.createElement)(component_LabelView, {
+    className: labelViewClasses,
+    "data-active": isActive
+  }, (0,external_wp_element_namespaceObject.createElement)(WithToolTip, {
+    showTooltip: showTooltip,
+    text: optionLabel
+  }, (0,external_wp_element_namespaceObject.createElement)(Radio, extends_extends({}, radioProps, {
+    as: "button",
+    "aria-label": optionLabel,
+    className: classes,
+    "data-value": value,
+    ref: forwardedRef,
+    value: value
+  }), (0,external_wp_element_namespaceObject.createElement)(component_ButtonContentView, null, label), (0,external_wp_element_namespaceObject.createElement)(component_LabelPlaceholderView, {
+    "aria-hidden": true
+  }, label))));
 }
-function createSlotFill(name) {
-  const FillComponent = props => Object(external_wp_element_["createElement"])(slot_fill_Fill, Object(esm_extends["a" /* default */])({
-    name: name
-  }, props));
+/**
+ * `ToggleGroupControlOption` is a form component and is meant to be used as a
+ * child of `ToggleGroupControl`.
+ *
+ * @example
+ * ```jsx
+ * import {
+ *   __experimentalToggleGroupControl as ToggleGroupControl,
+ *   __experimentalToggleGroupControlOption as ToggleGroupControlOption,
+ * } from '@wordpress/components';
+ *
+ * function Example() {
+ *   return (
+ *     <ToggleGroupControl label="my label" value="vertical" isBlock>
+ *       <ToggleGroupControlOption value="horizontal" label="Horizontal" />
+ *       <ToggleGroupControlOption value="vertical" label="Vertical" />
+ *     </ToggleGroupControl>
+ *   );
+ * }
+ * ```
+ */

-  FillComponent.displayName = name + 'Fill';

-  const SlotComponent = props => Object(external_wp_element_["createElement"])(slot_fill_Slot, Object(esm_extends["a" /* default */])({
-    name: name
-  }, props));
+const ConnectedToggleGroupControlOption = contextConnect(ToggleGroupControlOption, 'ToggleGroupControlOption');
+/* harmony default export */ var toggle_group_control_option_component = (ConnectedToggleGroupControlOption);

-  SlotComponent.displayName = name + 'Slot';
-  SlotComponent.__unstableName = name;
-  return {
-    Fill: FillComponent,
-    Slot: SlotComponent
-  };
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/font-size-picker/utils.js
+/**
+ * WordPress dependencies
+ */

+const DEFAULT_FONT_SIZE = 'default';
+const DEFAULT_FONT_SIZE_OPTION = {
+  slug: DEFAULT_FONT_SIZE,
+  name: (0,external_wp_i18n_namespaceObject.__)('Default')
+};
+const CUSTOM_FONT_SIZE = 'custom';
+const CUSTOM_FONT_SIZE_OPTION = {
+  slug: CUSTOM_FONT_SIZE,
+  name: (0,external_wp_i18n_namespaceObject.__)('Custom')
+};
+/**
+ * In case we have at most five font sizes, where at least one the them
+ * contain a complex css value(clamp, var, etc..) show a incremental sequence
+ * of numbers as a label of the font size. We do this because complex css values
+ * cannot be caluclated properly and the incremental sequence of numbers as labels
+ * can help the user better mentally map the different available font sizes.
+ */

+const FONT_SIZES_ALIASES = ['1', '2', '3', '4', '5'];
+/**
+ * Helper util to split a font size to its numeric value
+ * and its `unit`, if exists.
+ *
+ * @param {string|number} size Font size.
+ * @return {[number, string]} An array with the numeric value and the unit if exists.
+ */

-/***/ }),
+function splitValueAndUnitFromSize(size) {
+  const [numericValue, unit] = `${size}`.match(/[\d\.]+|\D+/g);

-/***/ "e87w":
-/***/ (function(module, exports, __webpack_require__) {
+  if (!isNaN(parseFloat(numericValue)) && isFinite(numericValue)) {
+    return [numericValue, unit];
+  }

-"use strict";
+  return [];
+}
+/**
+ * Some themes use css vars for their font sizes, so until we
+ * have the way of calculating them don't display them.
+ *
+ * @param {string|number} value The value that is checked.
+ * @return {boolean} Whether the value is a simple css value.
+ */

+function isSimpleCssValue(value) {
+  const sizeRegex = /^[\d\.]+(px|em|rem|vw|vh|%)?$/i;
+  return sizeRegex.test(value);
+}
+/**
+ * Return font size options in the proper format depending
+ * on the currently used control (select, toggle group).
+ *
+ * @param {boolean}  useSelectControl               Whether to use a select control.
+ * @param {Object[]} optionsArray                   Array of available font sizes objects.
+ * @param {*}        disableCustomFontSizes         Flag that indicates if custom font sizes are disabled.
+ * @param {boolean}  optionsContainComplexCssValues Whether font sizes contain at least one complex css value(clamp, var, etc..).
+ * @return {Object[]|null} Array of font sizes in proper format for the used control.
+ */

-// http://262.ecma-international.org/5.1/#sec-9.2
+function getFontSizeOptions(useSelectControl, optionsArray, disableCustomFontSizes, optionsContainComplexCssValues) {
+  if (disableCustomFontSizes && !optionsArray.length) {
+    return null;
+  }

-module.exports = function ToBoolean(value) { return !!value; };
+  return useSelectControl ? getSelectOptions(optionsArray, disableCustomFontSizes) : getToggleGroupOptions(optionsArray, optionsContainComplexCssValues);
+}

+function getSelectOptions(optionsArray, disableCustomFontSizes) {
+  const options = [DEFAULT_FONT_SIZE_OPTION, ...optionsArray, ...(disableCustomFontSizes ? [] : [CUSTOM_FONT_SIZE_OPTION])];
+  return options.map(_ref => {
+    let {
+      slug,
+      name,
+      size
+    } = _ref;
+    return {
+      key: slug,
+      name,
+      size,
+      __experimentalHint: size && isSimpleCssValue(size) && parseFloat(size)
+    };
+  });
+}

-/***/ }),
+function getToggleGroupOptions(optionsArray, optionsContainComplexCssValues) {
+  return optionsArray.map((_ref2, index) => {
+    let {
+      slug,
+      size,
+      name
+    } = _ref2;
+    let label = optionsContainComplexCssValues ? FONT_SIZES_ALIASES[index] : size;

-/***/ "eH4f":
-/***/ (function(module, exports, __webpack_require__) {
+    if (!optionsContainComplexCssValues && typeof size === 'string') {
+      const [numericValue] = splitValueAndUnitFromSize(size);
+      label = numericValue;
+    }

-"use strict";
+    return {
+      key: slug,
+      value: size,
+      label,
+      name
+    };
+  });
+}

+function getSelectedOption(fontSizes, value) {
+  if (!value) {
+    return DEFAULT_FONT_SIZE_OPTION;
+  }

-module.exports = __webpack_require__("laOf");
+  return fontSizes.find(font => font.size === value) || CUSTOM_FONT_SIZE_OPTION;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/font-size-picker/index.js

-/***/ }),

-/***/ "eJkf":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+/**
+ * WordPress dependencies
+ */


-/* eslint complexity: [2, 18], max-statements: [2, 33] */
-module.exports = function hasSymbols() {
-	if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
-	if (typeof Symbol.iterator === 'symbol') { return true; }

-	var obj = {};
-	var sym = Symbol('test');
-	var symObj = Object(sym);
-	if (typeof sym === 'string') { return false; }
+/**
+ * Internal dependencies
+ */

-	if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
-	if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }

-	// temp disabled per https://github.com/ljharb/object.assign/issues/17
-	// if (sym instanceof Symbol) { return false; }
-	// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
-	// if (!(symObj instanceof Symbol)) { return false; }

-	// if (typeof Symbol.prototype.toString !== 'function') { return false; }
-	// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }

-	var symVal = 42;
-	obj[sym] = symVal;
-	for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
-	if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }

-	if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }

-	var syms = Object.getOwnPropertySymbols(obj);
-	if (syms.length !== 1 || syms[0] !== sym) { return false; }

-	if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }

-	if (typeof Object.getOwnPropertyDescriptor === 'function') {
-		var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
-		if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
-	}

-	return true;
-};

+function FontSizePicker(_ref, ref) {
+  var _fontSizes$, _value$endsWith;

-/***/ }),
+  let {
+    fallbackFontSize,
+    fontSizes = [],
+    disableCustomFontSizes = false,
+    onChange,
+    value,
+    withSlider = false,
+    withReset = true
+  } = _ref;
+  const hasUnits = [typeof value, typeof (fontSizes === null || fontSizes === void 0 ? void 0 : (_fontSizes$ = fontSizes[0]) === null || _fontSizes$ === void 0 ? void 0 : _fontSizes$.size)].includes('string');
+  const noUnitsValue = !hasUnits ? value : parseInt(value);
+  const isPixelValue = typeof value === 'number' || (value === null || value === void 0 ? void 0 : (_value$endsWith = value.endsWith) === null || _value$endsWith === void 0 ? void 0 : _value$endsWith.call(value, 'px'));
+  const units = useCustomUnits({
+    availableUnits: ['px', 'em', 'rem']
+  });
+  /**
+   * The main font size UI displays a toggle group when the presets are less
+   * than six and a select control when they are more.
+   */

-/***/ "eNtd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  const fontSizesContainComplexValues = fontSizes.some(_ref2 => {
+    let {
+      size
+    } = _ref2;
+    return !isSimpleCssValue(size);
+  });
+  const shouldUseSelectControl = fontSizes.length > 5;
+  const options = (0,external_wp_element_namespaceObject.useMemo)(() => getFontSizeOptions(shouldUseSelectControl, fontSizes, disableCustomFontSizes, fontSizesContainComplexValues), [shouldUseSelectControl, fontSizes, disableCustomFontSizes, fontSizesContainComplexValues]);
+  const selectedOption = getSelectedOption(fontSizes, value);
+  const isCustomValue = selectedOption.slug === CUSTOM_FONT_SIZE;
+  const [showCustomValueControl, setShowCustomValueControl] = (0,external_wp_element_namespaceObject.useState)(!disableCustomFontSizes && isCustomValue);
+  const headerHint = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (showCustomValueControl) {
+      return `(${(0,external_wp_i18n_namespaceObject.__)('Custom')})`;
+    } // If we have a custom value that is not available in the font sizes,
+    // show it as a hint as long as it's a simple CSS value.

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useLiveRef; });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _useIsomorphicEffect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("AXvK");

+    if (isCustomValue) {
+      return isSimpleCssValue(value) && `(${value})`;
+    }

+    if (shouldUseSelectControl) {
+      return isSimpleCssValue(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.size) && `(${selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.size})`;
+    } // Calculate the `hint` for toggle group control.


+    let hint = selectedOption.name;

+    if (!fontSizesContainComplexValues && typeof selectedOption.size === 'string') {
+      const [, unit] = splitValueAndUnitFromSize(selectedOption.size);
+      hint += `(${unit})`;
+    }

-/**
- * A `React.Ref` that keeps track of the passed `value`.
- */
+    return hint;
+  }, [showCustomValueControl, selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.slug, value, isCustomValue, fontSizesContainComplexValues]);

-function useLiveRef(value) {
-  var ref = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(value);
-  Object(_useIsomorphicEffect_js__WEBPACK_IMPORTED_MODULE_1__[/* useIsomorphicEffect */ "a"])(function () {
-    ref.current = value;
-  });
-  return ref;
-}
+  if (!options) {
+    return null;
+  } // This is used for select control only. We need to add support
+  // for ToggleGroupControl.


+  const currentFontSizeSR = (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: Currently selected font size.
+  (0,external_wp_i18n_namespaceObject.__)('Currently selected font size: %s'), selectedOption.name);
+  const baseClassName = 'components-font-size-picker';
+  return (0,external_wp_element_namespaceObject.createElement)("fieldset", extends_extends({
+    className: baseClassName
+  }, ref ? {} : {
+    ref
+  }), (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, {
+    as: "legend"
+  }, (0,external_wp_i18n_namespaceObject.__)('Font size')), (0,external_wp_element_namespaceObject.createElement)(flex_component, {
+    justify: "space-between",
+    className: `${baseClassName}__header`
+  }, (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_i18n_namespaceObject.__)('Size'), headerHint && (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: `${baseClassName}__header__hint`
+  }, headerHint)), !disableCustomFontSizes && (0,external_wp_element_namespaceObject.createElement)(flex_item_component, null, (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    label: showCustomValueControl ? (0,external_wp_i18n_namespaceObject.__)('Use size preset') : (0,external_wp_i18n_namespaceObject.__)('Set custom size'),
+    showTooltip: false,
+    icon: library_settings,
+    onClick: () => {
+      setShowCustomValueControl(!showCustomValueControl);
+    },
+    isPressed: showCustomValueControl,
+    isSmall: true
+  }))), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: `${baseClassName}__controls`
+  }, !!fontSizes.length && shouldUseSelectControl && !showCustomValueControl && (0,external_wp_element_namespaceObject.createElement)(CustomSelectControl, {
+    className: `${baseClassName}__select`,
+    label: (0,external_wp_i18n_namespaceObject.__)('Font size'),
+    hideLabelFromVision: true,
+    describedBy: currentFontSizeSR,
+    options: options,
+    value: options.find(option => option.key === selectedOption.slug),
+    onChange: _ref3 => {
+      let {
+        selectedItem
+      } = _ref3;
+      onChange(hasUnits ? selectedItem.size : Number(selectedItem.size));

+      if (selectedItem.key === CUSTOM_FONT_SIZE) {
+        setShowCustomValueControl(true);
+      }
+    }
+  }), !shouldUseSelectControl && !showCustomValueControl && (0,external_wp_element_namespaceObject.createElement)(toggle_group_control_component, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Font size'),
+    hideLabelFromVision: true,
+    value: value,
+    onChange: newValue => {
+      onChange(hasUnits ? newValue : Number(newValue));
+    },
+    isBlock: true
+  }, options.map(option => (0,external_wp_element_namespaceObject.createElement)(toggle_group_control_option_component, {
+    key: option.key,
+    value: option.value,
+    label: option.label,
+    "aria-label": option.name,
+    showTooltip: true
+  }))), !withSlider && !disableCustomFontSizes && showCustomValueControl && (0,external_wp_element_namespaceObject.createElement)(flex_component, {
+    justify: "space-between",
+    className: `${baseClassName}__custom-size-control`
+  }, (0,external_wp_element_namespaceObject.createElement)(flex_item_component, {
+    isBlock: true
+  }, (0,external_wp_element_namespaceObject.createElement)(unit_control, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Custom'),
+    labelPosition: "top",
+    hideLabelFromVision: true,
+    value: value,
+    onChange: nextSize => {
+      if (0 === parseFloat(nextSize) || !nextSize) {
+        onChange(undefined);
+      } else {
+        onChange(hasUnits ? nextSize : parseInt(nextSize, 10));
+      }
+    },
+    units: hasUnits ? units : false
+  })), withReset && (0,external_wp_element_namespaceObject.createElement)(flex_item_component, {
+    isBlock: true
+  }, (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-color-palette__clear",
+    disabled: value === undefined,
+    onClick: () => {
+      onChange(undefined);
+    },
+    isSmall: true,
+    variant: "secondary"
+  }, (0,external_wp_i18n_namespaceObject.__)('Reset'))))), withSlider && (0,external_wp_element_namespaceObject.createElement)(range_control, {
+    className: `${baseClassName}__custom-input`,
+    label: (0,external_wp_i18n_namespaceObject.__)('Custom Size'),
+    value: isPixelValue && noUnitsValue || '',
+    initialPosition: fallbackFontSize,
+    onChange: newValue => {
+      onChange(hasUnits ? newValue + 'px' : newValue);
+    },
+    min: 12,
+    max: 100
+  }));
+}

-/***/ }),
+/* harmony default export */ var font_size_picker = ((0,external_wp_element_namespaceObject.forwardRef)(FontSizePicker));

-/***/ "eUCI":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-file-upload/index.js

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SystemContext; });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);


-var SystemContext = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])({});
+/**
+ * WordPress dependencies
+ */

+/**
+ * Internal dependencies
+ */



-/***/ }),
+function FormFileUpload(_ref) {
+  let {
+    accept,
+    children,
+    multiple = false,
+    onChange,
+    render,
+    ...props
+  } = _ref;
+  const ref = (0,external_wp_element_namespaceObject.useRef)();

-/***/ "eVQB":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  const openFileDialog = () => {
+    ref.current.click();
+  };

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getRegisteredStyles; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return insertStyles; });
-var isBrowser = "object" !== 'undefined';
-function getRegisteredStyles(registered, registeredStyles, classNames) {
-  var rawClassName = '';
-  classNames.split(' ').forEach(function (className) {
-    if (registered[className] !== undefined) {
-      registeredStyles.push(registered[className] + ";");
-    } else {
-      rawClassName += className + " ";
-    }
-  });
-  return rawClassName;
+  const ui = render ? render({
+    openFileDialog
+  }) : (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+    onClick: openFileDialog
+  }, props), children);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-form-file-upload"
+  }, ui, (0,external_wp_element_namespaceObject.createElement)("input", {
+    type: "file",
+    ref: ref,
+    multiple: multiple,
+    style: {
+      display: 'none'
+    },
+    accept: accept,
+    onChange: onChange
+  }));
 }
-var insertStyles = function insertStyles(cache, serialized, isStringTag) {
-  var className = cache.key + "-" + serialized.name;

-  if ( // we only need to add the styles to the registered cache if the
-  // class name could be used further down
-  // the tree but if it's a string tag, we know it won't
-  // so we don't have to add it to registered cache.
-  // this improves memory usage since we can avoid storing the whole style string
-  (isStringTag === false || // we need to always store it if we're in compat mode and
-  // in node since emotion-server relies on whether a style is in
-  // the registered cache to know whether a style is global or not
-  // also, note that this check will be dead code eliminated in the browser
-  isBrowser === false ) && cache.registered[className] === undefined) {
-    cache.registered[className] = serialized.styles;
-  }
+/* harmony default export */ var form_file_upload = (FormFileUpload);

-  if (cache.inserted[serialized.name] === undefined) {
-    var current = serialized;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-toggle/index.js

-    do {
-      var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);

-      current = current.next;
-    } while (current !== undefined);
-  }
-};

+/**
+ * External dependencies
+ */



-/***/ }),
+function FormToggle(_ref) {
+  let {
+    className,
+    checked,
+    id,
+    disabled,
+    onChange = external_lodash_namespaceObject.noop,
+    ...props
+  } = _ref;
+  const wrapperClasses = classnames_default()('components-form-toggle', className, {
+    'is-checked': checked,
+    'is-disabled': disabled
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: wrapperClasses
+  }, (0,external_wp_element_namespaceObject.createElement)("input", extends_extends({
+    className: "components-form-toggle__input",
+    id: id,
+    type: "checkbox",
+    checked: checked,
+    onChange: onChange,
+    disabled: disabled
+  }, props)), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-form-toggle__track"
+  }), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-form-toggle__thumb"
+  }));
+}

-/***/ "ek6p":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var form_toggle = (FormToggle);

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CacheProvider; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return Emotion; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return ThemeContext; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __unsafe_useEmotionCache; });
-/* unused harmony export a */
-/* unused harmony export b */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return createEmotionProps; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return hasOwnProperty; });
-/* unused harmony export u */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return withEmotionCache; });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _emotion_cache__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("+1VY");
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("wx14");
-/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("gRFL");
-/* harmony import */ var _isolated_hnrs_dist_emotion_react_isolated_hnrs_browser_esm_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("i2T3");
-/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("eVQB");
-/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("Exhd");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-token-field/token.js


+/**
+ * External dependencies
+ */


+/**
+ * WordPress dependencies
+ */




-var hasOwnProperty = {}.hasOwnProperty;
+/**
+ * Internal dependencies
+ */

-var EmotionCacheContext = /* #__PURE__ */Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])( // we're doing this to avoid preconstruct's dead code elimination in this one case
-// because this module is primarily intended for the browser and node
-// but it's also required in react native and similar environments sometimes
-// and we could have a special build just for that
-// but this is much easier and the native packages
-// might use a different theme context in the future anyway
-typeof HTMLElement !== 'undefined' ? /* #__PURE__ */Object(_emotion_cache__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({
-  key: 'css'
-}) : null);

-if (false) {}

-var CacheProvider = EmotionCacheContext.Provider;
-var __unsafe_useEmotionCache = function useEmotionCache() {
-  return Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(EmotionCacheContext);
-};
+function Token(_ref) {
+  let {
+    value,
+    status,
+    title,
+    displayTransform,
+    isBorderless = false,
+    disabled = false,
+    onClickRemove = external_lodash_namespaceObject.noop,
+    onMouseEnter,
+    onMouseLeave,
+    messages,
+    termPosition,
+    termsCount
+  } = _ref;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(Token);
+  const tokenClasses = classnames_default()('components-form-token-field__token', {
+    'is-error': 'error' === status,
+    'is-success': 'success' === status,
+    'is-validating': 'validating' === status,
+    'is-borderless': isBorderless,
+    'is-disabled': disabled
+  });

-var withEmotionCache = function withEmotionCache(func) {
-  // $FlowFixMe
-  return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])(function (props, ref) {
-    // the cache will never be null in the browser
-    var cache = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(EmotionCacheContext);
-    return func(props, cache, ref);
+  const onClick = () => onClickRemove({
+    value
   });
-};

-var ThemeContext = /* #__PURE__ */Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])({});
+  const transformedValue = displayTransform(value);
+  const termPositionAndCount = (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */
+  (0,external_wp_i18n_namespaceObject.__)('%1$s (%2$s of %3$s)'), transformedValue, termPosition, termsCount);
+  return (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: tokenClasses,
+    onMouseEnter: onMouseEnter,
+    onMouseLeave: onMouseLeave,
+    title: title
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-form-token-field__token-text",
+    id: `components-form-token-field__token-text-${instanceId}`
+  }, (0,external_wp_element_namespaceObject.createElement)(visually_hidden_component, {
+    as: "span"
+  }, termPositionAndCount), (0,external_wp_element_namespaceObject.createElement)("span", {
+    "aria-hidden": "true"
+  }, transformedValue)), (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-form-token-field__remove-token",
+    icon: close_small,
+    onClick: !disabled && onClick,
+    label: messages.remove,
+    "aria-describedby": `components-form-token-field__token-text-${instanceId}`
+  }));
+}

-if (false) {}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-spoken-messages/index.js

-var useTheme = function useTheme() {
-  return Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(ThemeContext);
-};

-var getTheme = function getTheme(outerTheme, theme) {
-  if (typeof theme === 'function') {
-    var mergedTheme = theme(outerTheme);

-    if (false) {}
+/**
+ * WordPress dependencies
+ */

-    return mergedTheme;
-  }

-  if (false) {}
+/**
+ * A Higher Order Component used to be provide speak and debounced speak
+ * functions.
+ *
+ * @see https://developer.wordpress.org/block-editor/packages/packages-a11y/#speak
+ *
+ * @param {WPComponent} Component The component to be wrapped.
+ *
+ * @return {WPComponent} The wrapped component.
+ */

-  return Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({}, outerTheme, theme);
-};
+/* harmony default export */ var with_spoken_messages = ((0,external_wp_compose_namespaceObject.createHigherOrderComponent)(Component => props => (0,external_wp_element_namespaceObject.createElement)(Component, extends_extends({}, props, {
+  speak: external_wp_a11y_namespaceObject.speak,
+  debouncedSpeak: (0,external_wp_compose_namespaceObject.useDebounce)(external_wp_a11y_namespaceObject.speak, 500)
+})), 'withSpokenMessages'));

-var createCacheWithTheme = /* #__PURE__ */Object(_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(function (outerTheme) {
-  return Object(_emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(function (theme) {
-    return getTheme(outerTheme, theme);
-  });
-});
-var ThemeProvider = function ThemeProvider(props) {
-  var theme = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(ThemeContext);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/form-token-field/index.js

-  if (props.theme !== theme) {
-    theme = createCacheWithTheme(theme)(props.theme);
-  }

-  return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(ThemeContext.Provider, {
-    value: theme
-  }, props.children);
-};
-function withTheme(Component) {
-  var componentName = Component.displayName || Component.name || 'Component';
+/**
+ * External dependencies
+ */

-  var render = function render(props, ref) {
-    var theme = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(ThemeContext);
-    return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(Component, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])({
-      theme: theme,
-      ref: ref
-    }, props));
-  }; // $FlowFixMe

+/**
+ * WordPress dependencies
+ */

-  var WithTheme = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])(render);
-  WithTheme.displayName = "WithTheme(" + componentName + ")";
-  return Object(_isolated_hnrs_dist_emotion_react_isolated_hnrs_browser_esm_js__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(WithTheme, Component);
-}

-var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
-  // V8
-  var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);

-  if (match) {
-    // The match may be something like 'Object.createEmotionProps'
-    var parts = match[1].split('.');
-    return parts[parts.length - 1];
-  } // Safari / Firefox


-  match = /^([A-Za-z0-9$.]+)@/.exec(line);
-  if (match) return match[1];
-  return undefined;
-};

-var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
-// identifiers, thus we only need to replace what is a valid character for JS,
-// but not for CSS.
+/**
+ * Internal dependencies
+ */

-var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
-  return identifier.replace(/\$/g, '-');
-};

-var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
-  if (!stackTrace) return undefined;
-  var lines = stackTrace.split('\n');

-  for (var i = 0; i < lines.length; i++) {
-    var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"

-    if (!functionName) continue; // If we reach one of these, we have gone too far and should quit

-    if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
-    // uppercase letter
+const initialState = {
+  incompleteTokenValue: '',
+  inputOffsetFromEnd: 0,
+  isActive: false,
+  isExpanded: false,
+  selectedSuggestionIndex: -1,
+  selectedSuggestionScroll: false
+};

-    if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
+class FormTokenField extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.state = initialState;
+    this.onKeyDown = this.onKeyDown.bind(this);
+    this.onKeyPress = this.onKeyPress.bind(this);
+    this.onFocus = this.onFocus.bind(this);
+    this.onBlur = this.onBlur.bind(this);
+    this.deleteTokenBeforeInput = this.deleteTokenBeforeInput.bind(this);
+    this.deleteTokenAfterInput = this.deleteTokenAfterInput.bind(this);
+    this.addCurrentToken = this.addCurrentToken.bind(this);
+    this.onContainerTouched = this.onContainerTouched.bind(this);
+    this.renderToken = this.renderToken.bind(this);
+    this.onTokenClickRemove = this.onTokenClickRemove.bind(this);
+    this.onSuggestionHovered = this.onSuggestionHovered.bind(this);
+    this.onSuggestionSelected = this.onSuggestionSelected.bind(this);
+    this.onInputChange = this.onInputChange.bind(this);
+    this.bindInput = this.bindInput.bind(this);
+    this.bindTokensAndInput = this.bindTokensAndInput.bind(this);
+    this.updateSuggestions = this.updateSuggestions.bind(this);
   }

-  return undefined;
-};
-
-var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
-var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
-var createEmotionProps = function createEmotionProps(type, props) {
-  if (false) {}
+  componentDidUpdate(prevProps) {
+    // Make sure to focus the input when the isActive state is true.
+    if (this.state.isActive && !this.input.hasFocus()) {
+      this.input.focus();
+    }

-  var newProps = {};
+    const {
+      suggestions,
+      value
+    } = this.props;
+    const suggestionsDidUpdate = !external_wp_isShallowEqual_default()(suggestions, prevProps.suggestions);

-  for (var key in props) {
-    if (hasOwnProperty.call(props, key)) {
-      newProps[key] = props[key];
+    if (suggestionsDidUpdate || value !== prevProps.value) {
+      this.updateSuggestions(suggestionsDidUpdate);
     }
   }

-  newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
-  // the label hasn't already been computed
-
-  if (false) { var label; }
-
-  return newProps;
-};
-
-var Noop = function Noop() {
-  return null;
-};
-
-var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
-  var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
-  // not passing the registered cache to serializeStyles because it would
-  // make certain babel optimisations not possible
+  static getDerivedStateFromProps(props, state) {
+    if (!props.disabled || !state.isActive) {
+      return null;
+    }

-  if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
-    cssProp = cache.registered[cssProp];
+    return {
+      isActive: false,
+      incompleteTokenValue: ''
+    };
   }

-  var type = props[typePropName];
-  var registeredStyles = [cssProp];
-  var className = '';
+  bindInput(ref) {
+    this.input = ref;
+  }

-  if (typeof props.className === 'string') {
-    className = Object(_emotion_utils__WEBPACK_IMPORTED_MODULE_5__[/* getRegisteredStyles */ "a"])(cache.registered, registeredStyles, props.className);
-  } else if (props.className != null) {
-    className = props.className + " ";
+  bindTokensAndInput(ref) {
+    this.tokensAndInput = ref;
   }

-  var serialized = Object(_emotion_serialize__WEBPACK_IMPORTED_MODULE_6__[/* serializeStyles */ "a"])(registeredStyles, undefined, Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(ThemeContext));
+  onFocus(event) {
+    const {
+      __experimentalExpandOnFocus
+    } = this.props; // If focus is on the input or on the container, set the isActive state to true.

-  if (false) { var labelFromStack; }
+    if (this.input.hasFocus() || event.target === this.tokensAndInput) {
+      this.setState({
+        isActive: true,
+        isExpanded: !!__experimentalExpandOnFocus || this.state.isExpanded
+      });
+    } else {
+      /*
+       * Otherwise, focus is on one of the token "remove" buttons and we
+       * set the isActive state to false to prevent the input to be
+       * re-focused, see componentDidUpdate().
+       */
+      this.setState({
+        isActive: false
+      });
+    }

-  var rules = Object(_emotion_utils__WEBPACK_IMPORTED_MODULE_5__[/* insertStyles */ "b"])(cache, serialized, typeof type === 'string');
-  className += cache.key + "-" + serialized.name;
-  var newProps = {};
+    if ('function' === typeof this.props.onFocus) {
+      this.props.onFocus(event);
+    }
+  }

-  for (var key in props) {
-    if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && ( true || false)) {
-      newProps[key] = props[key];
+  onBlur() {
+    if (this.inputHasValidValue()) {
+      this.setState({
+        isActive: false
+      });
+    } else {
+      this.setState(initialState);
     }
   }

-  newProps.ref = ref;
-  newProps.className = className;
-  var ele = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(type, newProps);
-  var possiblyStyleElement = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(Noop, null);
+  onKeyDown(event) {
+    let preventDefault = false;

+    if (event.defaultPrevented) {
+      return;
+    }

-  return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createElement"])(react__WEBPACK_IMPORTED_MODULE_0__["Fragment"], null, possiblyStyleElement, ele);
-});
+    switch (event.keyCode) {
+      case external_wp_keycodes_namespaceObject.BACKSPACE:
+        preventDefault = this.handleDeleteKey(this.deleteTokenBeforeInput);
+        break;

-if (false) {}
+      case external_wp_keycodes_namespaceObject.ENTER:
+        preventDefault = this.addCurrentToken();
+        break;

+      case external_wp_keycodes_namespaceObject.LEFT:
+        preventDefault = this.handleLeftArrowKey();
+        break;

+      case external_wp_keycodes_namespaceObject.UP:
+        preventDefault = this.handleUpArrowKey();
+        break;

+      case external_wp_keycodes_namespaceObject.RIGHT:
+        preventDefault = this.handleRightArrowKey();
+        break;

-/***/ }),
+      case external_wp_keycodes_namespaceObject.DOWN:
+        preventDefault = this.handleDownArrowKey();
+        break;

-/***/ "ep+1":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+      case external_wp_keycodes_namespaceObject.DELETE:
+        preventDefault = this.handleDeleteKey(this.deleteTokenAfterInput);
+        break;

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StyleSheet; });
-/*
+      case external_wp_keycodes_namespaceObject.SPACE:
+        if (this.props.tokenizeOnSpace) {
+          preventDefault = this.addCurrentToken();
+        }

-Based off glamor's StyleSheet, thanks Sunil ❤️
+        break;

-high performance StyleSheet for css-in-js systems
+      case external_wp_keycodes_namespaceObject.ESCAPE:
+        preventDefault = this.handleEscapeKey(event);
+        break;

-- uses multiple style tags behind the scenes for millions of rules
-- uses `insertRule` for appending in production for *much* faster performance
+      default:
+        break;
+    }

-// usage
+    if (preventDefault) {
+      event.preventDefault();
+    }
+  }

-import { StyleSheet } from '@emotion/sheet'
+  onKeyPress(event) {
+    let preventDefault = false;

-let styleSheet = new StyleSheet({ key: '', container: document.head })
+    switch (event.charCode) {
+      case 44:
+        // comma
+        preventDefault = this.handleCommaKey();
+        break;

-styleSheet.insert('#box { border: 1px solid red; }')
-- appends a css rule into the stylesheet
+      default:
+        break;
+    }

-styleSheet.flush()
-- empties the stylesheet of all its contents
+    if (preventDefault) {
+      event.preventDefault();
+    }
+  }

-*/
-// $FlowFixMe
-function sheetForTag(tag) {
-  if (tag.sheet) {
-    // $FlowFixMe
-    return tag.sheet;
-  } // this weirdness brought to you by firefox
+  onContainerTouched(event) {
+    // Prevent clicking/touching the tokensAndInput container from blurring
+    // the input and adding the current token.
+    if (event.target === this.tokensAndInput && this.state.isActive) {
+      event.preventDefault();
+    }
+  }

-  /* istanbul ignore next */
+  onTokenClickRemove(event) {
+    this.deleteToken(event.value);
+    this.input.focus();
+  }

+  onSuggestionHovered(suggestion) {
+    const index = this.getMatchingSuggestions().indexOf(suggestion);

-  for (var i = 0; i < document.styleSheets.length; i++) {
-    if (document.styleSheets[i].ownerNode === tag) {
-      // $FlowFixMe
-      return document.styleSheets[i];
+    if (index >= 0) {
+      this.setState({
+        selectedSuggestionIndex: index,
+        selectedSuggestionScroll: false
+      });
     }
   }
-}
-
-function createStyleElement(options) {
-  var tag = document.createElement('style');
-  tag.setAttribute('data-emotion', options.key);

-  if (options.nonce !== undefined) {
-    tag.setAttribute('nonce', options.nonce);
+  onSuggestionSelected(suggestion) {
+    this.addNewToken(suggestion);
   }

-  tag.appendChild(document.createTextNode(''));
-  tag.setAttribute('data-s', '');
-  return tag;
-}
+  onInputChange(event) {
+    const text = event.value;
+    const separator = this.props.tokenizeOnSpace ? /[ ,\t]+/ : /[,\t]+/;
+    const items = text.split(separator);
+    const tokenValue = (0,external_lodash_namespaceObject.last)(items) || '';

-var StyleSheet = /*#__PURE__*/function () {
-  function StyleSheet(options) {
-    var _this = this;
+    if (items.length > 1) {
+      this.addNewTokens(items.slice(0, -1));
+    }

-    this._insertTag = function (tag) {
-      var before;
+    this.setState({
+      incompleteTokenValue: tokenValue
+    }, this.updateSuggestions);
+    this.props.onInputChange(tokenValue);
+  }

-      if (_this.tags.length === 0) {
-        if (_this.insertionPoint) {
-          before = _this.insertionPoint.nextSibling;
-        } else if (_this.prepend) {
-          before = _this.container.firstChild;
-        } else {
-          before = _this.before;
-        }
-      } else {
-        before = _this.tags[_this.tags.length - 1].nextSibling;
-      }
+  handleDeleteKey(deleteToken) {
+    let preventDefault = false;

-      _this.container.insertBefore(tag, before);
+    if (this.input.hasFocus() && this.isInputEmpty()) {
+      deleteToken();
+      preventDefault = true;
+    }

-      _this.tags.push(tag);
-    };
+    return preventDefault;
+  }

-    this.isSpeedy = options.speedy === undefined ? "production" === 'production' : options.speedy;
-    this.tags = [];
-    this.ctr = 0;
-    this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
+  handleLeftArrowKey() {
+    let preventDefault = false;

-    this.key = options.key;
-    this.container = options.container;
-    this.prepend = options.prepend;
-    this.insertionPoint = options.insertionPoint;
-    this.before = null;
-  }
+    if (this.isInputEmpty()) {
+      this.moveInputBeforePreviousToken();
+      preventDefault = true;
+    }

-  var _proto = StyleSheet.prototype;
+    return preventDefault;
+  }

-  _proto.hydrate = function hydrate(nodes) {
-    nodes.forEach(this._insertTag);
-  };
+  handleRightArrowKey() {
+    let preventDefault = false;

-  _proto.insert = function insert(rule) {
-    // the max length is how many rules we have per style tag, it's 65000 in speedy mode
-    // it's 1 in dev because we insert source maps that map a single rule to a location
-    // and you can only have one source map per style tag
-    if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
-      this._insertTag(createStyleElement(this));
+    if (this.isInputEmpty()) {
+      this.moveInputAfterNextToken();
+      preventDefault = true;
     }

-    var tag = this.tags[this.tags.length - 1];
+    return preventDefault;
+  }
+
+  handleUpArrowKey() {
+    this.setState((state, props) => ({
+      selectedSuggestionIndex: (state.selectedSuggestionIndex === 0 ? this.getMatchingSuggestions(state.incompleteTokenValue, props.suggestions, props.value, props.maxSuggestions, props.saveTransform).length : state.selectedSuggestionIndex) - 1,
+      selectedSuggestionScroll: true
+    }));
+    return true; // preventDefault
+  }

-    if (false) { var isImportRule; }
+  handleDownArrowKey() {
+    this.setState((state, props) => ({
+      selectedSuggestionIndex: (state.selectedSuggestionIndex + 1) % this.getMatchingSuggestions(state.incompleteTokenValue, props.suggestions, props.value, props.maxSuggestions, props.saveTransform).length,
+      selectedSuggestionScroll: true
+    }));
+    return true; // preventDefault
+  }

-    if (this.isSpeedy) {
-      var sheet = sheetForTag(tag);
+  handleEscapeKey(event) {
+    this.setState({
+      incompleteTokenValue: event.target.value,
+      isExpanded: false,
+      selectedSuggestionIndex: -1,
+      selectedSuggestionScroll: false
+    });
+    return true; // preventDefault
+  }

-      try {
-        // this is the ultrafast version, works across browsers
-        // the big drawback is that the css won't be editable in devtools
-        sheet.insertRule(rule, sheet.cssRules.length);
-      } catch (e) {
-        if (false) {}
-      }
-    } else {
-      tag.appendChild(document.createTextNode(rule));
+  handleCommaKey() {
+    if (this.inputHasValidValue()) {
+      this.addNewToken(this.state.incompleteTokenValue);
     }

-    this.ctr++;
-  };
+    return true; // preventDefault
+  }

-  _proto.flush = function flush() {
-    // $FlowFixMe
-    this.tags.forEach(function (tag) {
-      return tag.parentNode && tag.parentNode.removeChild(tag);
-    });
-    this.tags = [];
-    this.ctr = 0;
+  moveInputToIndex(index) {
+    this.setState((state, props) => ({
+      inputOffsetFromEnd: props.value.length - Math.max(index, -1) - 1
+    }));
+  }

-    if (false) {}
-  };
+  moveInputBeforePreviousToken() {
+    this.setState((state, props) => ({
+      inputOffsetFromEnd: Math.min(state.inputOffsetFromEnd + 1, props.value.length)
+    }));
+  }

-  return StyleSheet;
-}();
+  moveInputAfterNextToken() {
+    this.setState(state => ({
+      inputOffsetFromEnd: Math.max(state.inputOffsetFromEnd - 1, 0)
+    }));
+  }

+  deleteTokenBeforeInput() {
+    const index = this.getIndexOfInput() - 1;

+    if (index > -1) {
+      this.deleteToken(this.props.value[index]);
+    }
+  }

+  deleteTokenAfterInput() {
+    const index = this.getIndexOfInput();

-/***/ }),
+    if (index < this.props.value.length) {
+      this.deleteToken(this.props.value[index]); // update input offset since it's the offset from the last token

-/***/ "fHnH":
-/***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
+      this.moveInputToIndex(index);
+    }
+  }

-"use strict";
-/* unused harmony export Colord */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return w; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return k; });
-/* unused harmony export getFormat */
-/* unused harmony export random */
-var r={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},n=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*r)/n+0},e=function(r,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),r>n?n:r>t?r:t},u=function(r){return(r=isFinite(r)?r%360:0)>0?r:r+360},a=function(r){return{r:e(r.r,0,255),g:e(r.g,0,255),b:e(r.b,0,255),a:e(r.a)}},o=function(r){return{r:n(r.r),g:n(r.g),b:n(r.b),a:n(r.a,3)}},i=/^#([0-9a-f]{3,8})$/i,s=function(r){var t=r.toString(16);return t.length<2?"0"+t:t},h=function(r){var t=r.r,n=r.g,e=r.b,u=r.a,a=Math.max(t,n,e),o=a-Math.min(t,n,e),i=o?a===t?(n-e)/o:a===n?2+(e-t)/o:4+(t-n)/o:0;return{h:60*(i<0?i+6:i),s:a?o/a*100:0,v:a/255*100,a:u}},b=function(r){var t=r.h,n=r.s,e=r.v,u=r.a;t=t/360*6,n/=100,e/=100;var a=Math.floor(t),o=e*(1-n),i=e*(1-(t-a)*n),s=e*(1-(1-t+a)*n),h=a%6;return{r:255*[e,i,o,o,s,e][h],g:255*[s,e,e,i,o,o][h],b:255*[o,o,s,e,e,i][h],a:u}},g=function(r){return{h:u(r.h),s:e(r.s,0,100),l:e(r.l,0,100),a:e(r.a)}},d=function(r){return{h:n(r.h),s:n(r.s),l:n(r.l),a:n(r.a,3)}},f=function(r){return b((n=(t=r).s,{h:t.h,s:(n*=((e=t.l)<50?e:100-e)/100)>0?2*n/(e+n)*100:0,v:e+n,a:t.a}));var t,n,e},c=function(r){return{h:(t=h(r)).h,s:(u=(200-(n=t.s))*(e=t.v)/100)>0&&u<200?n*e/100/(u<=100?u:200-u)*100:0,l:u/2,a:t.a};var t,n,e,u},l=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,p=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,v=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,m=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y={string:[[function(r){var t=i.exec(r);return t?(r=t[1]).length<=4?{r:parseInt(r[0]+r[0],16),g:parseInt(r[1]+r[1],16),b:parseInt(r[2]+r[2],16),a:4===r.length?n(parseInt(r[3]+r[3],16)/255,2):1}:6===r.length||8===r.length?{r:parseInt(r.substr(0,2),16),g:parseInt(r.substr(2,2),16),b:parseInt(r.substr(4,2),16),a:8===r.length?n(parseInt(r.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(r){var t=v.exec(r)||m.exec(r);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(t){var n=l.exec(t)||p.exec(t);if(!n)return null;var e,u,a=g({h:(e=n[1],u=n[2],void 0===u&&(u="deg"),Number(e)*(r[u]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)});return f(a)},"hsl"]],object:[[function(r){var n=r.r,e=r.g,u=r.b,o=r.a,i=void 0===o?1:o;return t(n)&&t(e)&&t(u)?a({r:Number(n),g:Number(e),b:Number(u),a:Number(i)}):null},"rgb"],[function(r){var n=r.h,e=r.s,u=r.l,a=r.a,o=void 0===a?1:a;if(!t(n)||!t(e)||!t(u))return null;var i=g({h:Number(n),s:Number(e),l:Number(u),a:Number(o)});return f(i)},"hsl"],[function(r){var n=r.h,a=r.s,o=r.v,i=r.a,s=void 0===i?1:i;if(!t(n)||!t(a)||!t(o))return null;var h=function(r){return{h:u(r.h),s:e(r.s,0,100),v:e(r.v,0,100),a:e(r.a)}}({h:Number(n),s:Number(a),v:Number(o),a:Number(s)});return b(h)},"hsv"]]},N=function(r,t){for(var n=0;n<t.length;n++){var e=t[n][0](r);if(e)return[e,t[n][1]]}return[null,void 0]},x=function(r){return"string"==typeof r?N(r.trim(),y.string):"object"==typeof r&&null!==r?N(r,y.object):[null,void 0]},I=function(r){return x(r)[1]},M=function(r,t){var n=c(r);return{h:n.h,s:e(n.s+100*t,0,100),l:n.l,a:n.a}},H=function(r){return(299*r.r+587*r.g+114*r.b)/1e3/255},$=function(r,t){var n=c(r);return{h:n.h,s:n.s,l:e(n.l+100*t,0,100),a:n.a}},j=function(){function r(r){this.parsed=x(r)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(H(this.rgba),2)},r.prototype.isDark=function(){return H(this.rgba)<.5},r.prototype.isLight=function(){return H(this.rgba)>=.5},r.prototype.toHex=function(){return r=o(this.rgba),t=r.r,e=r.g,u=r.b,i=(a=r.a)<1?s(n(255*a)):"","#"+s(t)+s(e)+s(u)+i;var r,t,e,u,a,i},r.prototype.toRgb=function(){return o(this.rgba)},r.prototype.toRgbString=function(){return r=o(this.rgba),t=r.r,n=r.g,e=r.b,(u=r.a)<1?"rgba("+t+", "+n+", "+e+", "+u+")":"rgb("+t+", "+n+", "+e+")";var r,t,n,e,u},r.prototype.toHsl=function(){return d(c(this.rgba))},r.prototype.toHslString=function(){return r=d(c(this.rgba)),t=r.h,n=r.s,e=r.l,(u=r.a)<1?"hsla("+t+", "+n+"%, "+e+"%, "+u+")":"hsl("+t+", "+n+"%, "+e+"%)";var r,t,n,e,u},r.prototype.toHsv=function(){return r=h(this.rgba),{h:n(r.h),s:n(r.s),v:n(r.v),a:n(r.a,3)};var r},r.prototype.invert=function(){return w({r:255-(r=this.rgba).r,g:255-r.g,b:255-r.b,a:r.a});var r},r.prototype.saturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,r))},r.prototype.desaturate=function(r){return void 0===r&&(r=.1),w(M(this.rgba,-r))},r.prototype.grayscale=function(){return w(M(this.rgba,-1))},r.prototype.lighten=function(r){return void 0===r&&(r=.1),w($(this.rgba,r))},r.prototype.darken=function(r){return void 0===r&&(r=.1),w($(this.rgba,-r))},r.prototype.rotate=function(r){return void 0===r&&(r=15),this.hue(this.hue()+r)},r.prototype.alpha=function(r){return"number"==typeof r?w({r:(t=this.rgba).r,g:t.g,b:t.b,a:r}):n(this.rgba.a,3);var t},r.prototype.hue=function(r){var t=c(this.rgba);return"number"==typeof r?w({h:r,s:t.s,l:t.l,a:t.a}):n(t.h)},r.prototype.isEqual=function(r){return this.toHex()===w(r).toHex()},r}(),w=function(r){return r instanceof j?r:new j(r)},S=[],k=function(r){r.forEach(function(r){S.indexOf(r)<0&&(r(j,y),S.push(r))})},E=function(){return new j({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})};
+  addCurrentToken() {
+    let preventDefault = false;
+    const selectedSuggestion = this.getSelectedSuggestion();

+    if (selectedSuggestion) {
+      this.addNewToken(selectedSuggestion);
+      preventDefault = true;
+    } else if (this.inputHasValidValue()) {
+      this.addNewToken(this.state.incompleteTokenValue);
+      preventDefault = true;
+    }

-/***/ }),
+    return preventDefault;
+  }

-/***/ "faye":
-/***/ (function(module, exports) {
+  addNewTokens(tokens) {
+    const tokensToAdd = (0,external_lodash_namespaceObject.uniq)(tokens.map(this.props.saveTransform).filter(Boolean).filter(token => !this.valueContainsToken(token)));

-(function() { module.exports = window["ReactDOM"]; }());
+    if (tokensToAdd.length > 0) {
+      const newValue = (0,external_lodash_namespaceObject.clone)(this.props.value);
+      newValue.splice.apply(newValue, [this.getIndexOfInput(), 0].concat(tokensToAdd));
+      this.props.onChange(newValue);
+    }
+  }

-/***/ }),
+  addNewToken(token) {
+    const {
+      __experimentalExpandOnFocus,
+      __experimentalValidateInput
+    } = this.props;

-/***/ "g56x":
-/***/ (function(module, exports) {
+    if (!__experimentalValidateInput(token)) {
+      this.props.speak(this.props.messages.__experimentalInvalid, 'assertive');
+      return;
+    }

-(function() { module.exports = window["wp"]["hooks"]; }());
+    this.addNewTokens([token]);
+    this.props.speak(this.props.messages.added, 'assertive');
+    this.setState({
+      incompleteTokenValue: '',
+      selectedSuggestionIndex: -1,
+      selectedSuggestionScroll: false,
+      isExpanded: !__experimentalExpandOnFocus
+    });

-/***/ }),
+    if (this.state.isActive) {
+      this.input.focus();
+    }
+  }

-/***/ "gCm3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  deleteToken(token) {
+    const newTokens = this.props.value.filter(item => {
+      return this.getTokenValue(item) !== this.getTokenValue(token);
+    });
+    this.props.onChange(newTokens);
+    this.props.speak(this.props.messages.removed, 'assertive');
+  }

-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
+  getTokenValue(token) {
+    if ('object' === typeof token) {
+      return token.value;
+    }

-// CONCATENATED MODULE: ./node_modules/framer-motion/node_modules/@emotion/memoize/dist/memoize.browser.esm.js
-function memoize(fn) {
-  var cache = {};
-  return function (arg) {
-    if (cache[arg] === undefined) cache[arg] = fn(arg);
-    return cache[arg];
-  };
-}
+    return token;
+  }

-/* harmony default export */ var memoize_browser_esm = (memoize);
+  getMatchingSuggestions() {
+    let searchValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.state.incompleteTokenValue;
+    let suggestions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.props.suggestions;
+    let value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.props.value;
+    let maxSuggestions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : this.props.maxSuggestions;
+    let saveTransform = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.props.saveTransform;
+    let match = saveTransform(searchValue);
+    const startsWithMatch = [];
+    const containsMatch = [];

-// CONCATENATED MODULE: ./node_modules/framer-motion/node_modules/@emotion/is-prop-valid/dist/is-prop-valid.browser.esm.js
+    if (match.length === 0) {
+      suggestions = (0,external_lodash_namespaceObject.difference)(suggestions, value);
+    } else {
+      match = match.toLocaleLowerCase();
+      (0,external_lodash_namespaceObject.each)(suggestions, suggestion => {
+        const index = suggestion.toLocaleLowerCase().indexOf(match);

+        if (value.indexOf(suggestion) === -1) {
+          if (index === 0) {
+            startsWithMatch.push(suggestion);
+          } else if (index > 0) {
+            containsMatch.push(suggestion);
+          }
+        }
+      });
+      suggestions = startsWithMatch.concat(containsMatch);
+    }

-var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
+    return (0,external_lodash_namespaceObject.take)(suggestions, maxSuggestions);
+  }

-var index = memoize_browser_esm(function (prop) {
-  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
-  /* o */
-  && prop.charCodeAt(1) === 110
-  /* n */
-  && prop.charCodeAt(2) < 91;
-}
-/* Z+1 */
-);
+  getSelectedSuggestion() {
+    if (this.state.selectedSuggestionIndex !== -1) {
+      return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex];
+    }
+  }

-/* harmony default export */ var is_prop_valid_browser_esm = __webpack_exports__["default"] = (index);
+  valueContainsToken(token) {
+    return (0,external_lodash_namespaceObject.some)(this.props.value, item => {
+      return this.getTokenValue(token) === this.getTokenValue(item);
+    });
+  }

+  getIndexOfInput() {
+    return this.props.value.length - this.state.inputOffsetFromEnd;
+  }

-/***/ }),
+  isInputEmpty() {
+    return this.state.incompleteTokenValue.length === 0;
+  }

-/***/ "gRFL":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  inputHasValidValue() {
+    return this.props.saveTransform(this.state.incompleteTokenValue).length > 0;
+  }

-"use strict";
-var weakMemoize = function weakMemoize(func) {
-  // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
-  var cache = new WeakMap();
-  return function (arg) {
-    if (cache.has(arg)) {
-      // $FlowFixMe
-      return cache.get(arg);
+  updateSuggestions() {
+    let resetSelectedSuggestion = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
+    const {
+      __experimentalExpandOnFocus
+    } = this.props;
+    const {
+      incompleteTokenValue
+    } = this.state;
+    const inputHasMinimumChars = incompleteTokenValue.trim().length > 1;
+    const matchingSuggestions = this.getMatchingSuggestions(incompleteTokenValue);
+    const hasMatchingSuggestions = matchingSuggestions.length > 0;
+    const newState = {
+      isExpanded: __experimentalExpandOnFocus || inputHasMinimumChars && hasMatchingSuggestions
+    };
+
+    if (resetSelectedSuggestion) {
+      newState.selectedSuggestionIndex = -1;
+      newState.selectedSuggestionScroll = false;
     }

-    var ret = func(arg);
-    cache.set(arg, ret);
-    return ret;
-  };
-};
+    this.setState(newState);

-/* harmony default export */ __webpack_exports__["a"] = (weakMemoize);
+    if (inputHasMinimumChars) {
+      const {
+        debouncedSpeak
+      } = this.props;
+      const message = hasMatchingSuggestions ? (0,external_wp_i18n_namespaceObject.sprintf)(
+      /* translators: %d: number of results. */
+      (0,external_wp_i18n_namespaceObject._n)('%d result found, use up and down arrow keys to navigate.', '%d results found, use up and down arrow keys to navigate.', matchingSuggestions.length), matchingSuggestions.length) : (0,external_wp_i18n_namespaceObject.__)('No results.');
+      debouncedSpeak(message, 'assertive');
+    }
+  }

+  renderTokensAndInput() {
+    const components = (0,external_lodash_namespaceObject.map)(this.props.value, this.renderToken);
+    components.splice(this.getIndexOfInput(), 0, this.renderInput());
+    return components;
+  }

-/***/ }),
+  renderToken(token, index, tokens) {
+    const value = this.getTokenValue(token);
+    const status = token.status ? token.status : undefined;
+    const termPosition = index + 1;
+    const termsCount = tokens.length;
+    return (0,external_wp_element_namespaceObject.createElement)(Token, {
+      key: 'token-' + value,
+      value: value,
+      status: status,
+      title: token.title,
+      displayTransform: this.props.displayTransform,
+      onClickRemove: this.onTokenClickRemove,
+      isBorderless: token.isBorderless || this.props.isBorderless,
+      onMouseEnter: token.onMouseEnter,
+      onMouseLeave: token.onMouseLeave,
+      disabled: 'error' !== status && this.props.disabled,
+      messages: this.props.messages,
+      termsCount: termsCount,
+      termPosition: termPosition
+    });
+  }

-/***/ "gZI3":
-/***/ (function(module, exports, __webpack_require__) {
+  renderInput() {
+    const {
+      autoCapitalize,
+      autoComplete,
+      maxLength,
+      placeholder,
+      value,
+      instanceId
+    } = this.props;
+    let props = {
+      instanceId,
+      autoCapitalize,
+      autoComplete,
+      placeholder: value.length === 0 ? placeholder : '',
+      ref: this.bindInput,
+      key: 'input',
+      disabled: this.props.disabled,
+      value: this.state.incompleteTokenValue,
+      onBlur: this.onBlur,
+      isExpanded: this.state.isExpanded,
+      selectedSuggestionIndex: this.state.selectedSuggestionIndex
+    };

-"use strict";
+    if (!(maxLength && value.length >= maxLength)) {
+      props = { ...props,
+        onChange: this.onInputChange
+      };
+    }

+    return (0,external_wp_element_namespaceObject.createElement)(token_input, props);
+  }

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+  render() {
+    const {
+      disabled,
+      label = (0,external_wp_i18n_namespaceObject.__)('Add item'),
+      instanceId,
+      className,
+      __experimentalShowHowTo
+    } = this.props;
+    const {
+      isExpanded
+    } = this.state;
+    const classes = classnames_default()(className, 'components-form-token-field__input-container', {
+      'is-active': this.state.isActive,
+      'is-disabled': disabled
+    });
+    let tokenFieldProps = {
+      className: 'components-form-token-field',
+      tabIndex: '-1'
+    };
+    const matchingSuggestions = this.getMatchingSuggestions();

-var _react = __webpack_require__("cDcd");
+    if (!disabled) {
+      tokenFieldProps = Object.assign({}, tokenFieldProps, {
+        onKeyDown: this.onKeyDown,
+        onKeyPress: this.onKeyPress,
+        onFocus: this.onFocus
+      });
+    } // Disable reason: There is no appropriate role which describes the
+    // input container intended accessible usability.
+    // TODO: Refactor click detection to use blur to stop propagation.

-var _react2 = _interopRequireDefault(_react);
+    /* eslint-disable jsx-a11y/no-static-element-interactions */

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-var RightArrow = function () {
-  function RightArrow(props) {
-    return _react2['default'].createElement(
-      'svg',
-      props,
-      _react2['default'].createElement('path', {
-        d: 'M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z'
-      })
-    );
+    return (0,external_wp_element_namespaceObject.createElement)("div", tokenFieldProps, (0,external_wp_element_namespaceObject.createElement)("label", {
+      htmlFor: `components-form-token-input-${instanceId}`,
+      className: "components-form-token-field__label"
+    }, label), (0,external_wp_element_namespaceObject.createElement)("div", {
+      ref: this.bindTokensAndInput,
+      className: classes,
+      tabIndex: "-1",
+      onMouseDown: this.onContainerTouched,
+      onTouchStart: this.onContainerTouched
+    }, this.renderTokensAndInput(), isExpanded && (0,external_wp_element_namespaceObject.createElement)(suggestions_list, {
+      instanceId: instanceId,
+      match: this.props.saveTransform(this.state.incompleteTokenValue),
+      displayTransform: this.props.displayTransform,
+      suggestions: matchingSuggestions,
+      selectedIndex: this.state.selectedSuggestionIndex,
+      scrollIntoView: this.state.selectedSuggestionScroll,
+      onHover: this.onSuggestionHovered,
+      onSelect: this.onSuggestionSelected
+    })), __experimentalShowHowTo && (0,external_wp_element_namespaceObject.createElement)("p", {
+      id: `components-form-token-suggestions-howto-${instanceId}`,
+      className: "components-form-token-field__help"
+    }, this.props.tokenizeOnSpace ? (0,external_wp_i18n_namespaceObject.__)('Separate with commas, spaces, or the Enter key.') : (0,external_wp_i18n_namespaceObject.__)('Separate with commas or the Enter key.')));
+    /* eslint-enable jsx-a11y/no-static-element-interactions */
   }

-  return RightArrow;
-}();
+}

-RightArrow.defaultProps = {
-  viewBox: '0 0 1000 1000'
+FormTokenField.defaultProps = {
+  suggestions: Object.freeze([]),
+  maxSuggestions: 100,
+  value: Object.freeze([]),
+  displayTransform: external_lodash_namespaceObject.identity,
+  saveTransform: token => token.trim(),
+  onChange: () => {},
+  onInputChange: () => {},
+  isBorderless: false,
+  disabled: false,
+  tokenizeOnSpace: false,
+  messages: {
+    added: (0,external_wp_i18n_namespaceObject.__)('Item added.'),
+    removed: (0,external_wp_i18n_namespaceObject.__)('Item removed.'),
+    remove: (0,external_wp_i18n_namespaceObject.__)('Remove item'),
+    __experimentalInvalid: (0,external_wp_i18n_namespaceObject.__)('Invalid item')
+  },
+  __experimentalExpandOnFocus: false,
+  __experimentalValidateInput: () => true,
+  __experimentalShowHowTo: true
 };
-exports['default'] = RightArrow;
+/* harmony default export */ var form_token_field = (with_spoken_messages((0,external_wp_compose_namespaceObject.withInstanceId)(FormTokenField)));

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/grid/utils.js
+const grid_utils_ALIGNMENTS = {
+  bottom: {
+    alignItems: 'flex-end',
+    justifyContent: 'center'
+  },
+  bottomLeft: {
+    alignItems: 'flex-start',
+    justifyContent: 'flex-end'
+  },
+  bottomRight: {
+    alignItems: 'flex-end',
+    justifyContent: 'flex-end'
+  },
+  center: {
+    alignItems: 'center',
+    justifyContent: 'center'
+  },
+  spaced: {
+    alignItems: 'center',
+    justifyContent: 'space-between'
+  },
+  left: {
+    alignItems: 'center',
+    justifyContent: 'flex-start'
+  },
+  right: {
+    alignItems: 'center',
+    justifyContent: 'flex-end'
+  },
+  stretch: {
+    alignItems: 'stretch'
+  },
+  top: {
+    alignItems: 'flex-start',
+    justifyContent: 'center'
+  },
+  topLeft: {
+    alignItems: 'flex-start',
+    justifyContent: 'flex-start'
+  },
+  topRight: {
+    alignItems: 'flex-start',
+    justifyContent: 'flex-end'
+  }
+};
+/* eslint-disable jsdoc/valid-types */

-/***/ "gdqT":
-/***/ (function(module, exports) {
+/**
+ * @param {keyof typeof ALIGNMENTS | undefined} alignment
+ * @return {{ alignItems?: import('react').CSSProperties['alignItems'], justifyContent?: import('react').CSSProperties['justifyContent']}} CSS props for alignment
+ */

-(function() { module.exports = window["wp"]["a11y"]; }());
+function utils_getAlignmentProps(alignment) {
+  const alignmentProps = alignment ? grid_utils_ALIGNMENTS[alignment] : {};
+  return alignmentProps;
+}
+/* eslint-enable jsdoc/valid-types */

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/grid/hook.js
+/**
+ * External dependencies
+ */

-/***/ "h6xH":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";

+/**
+ * Internal dependencies
+ */

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = isBeforeDay;

-var _moment = __webpack_require__("wy2R");

-var _moment2 = _interopRequireDefault(_moment);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function isBeforeDay(a, b) {
-  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;

-  var aYear = a.year();
-  var aMonth = a.month();
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ */

-  var bYear = b.year();
-  var bMonth = b.month();
+function useGrid(props) {
+  const {
+    align,
+    alignment,
+    className,
+    columnGap,
+    columns = 2,
+    gap = 3,
+    isInline = false,
+    justify,
+    rowGap,
+    rows,
+    templateColumns,
+    templateRows,
+    ...otherProps
+  } = useContextSystem(props, 'Grid');
+  const columnsAsArray = Array.isArray(columns) ? columns : [columns];
+  const column = useResponsiveValue(columnsAsArray);
+  const rowsAsArray = Array.isArray(rows) ? rows : [rows];
+  const row = useResponsiveValue(rowsAsArray);
+  const gridTemplateColumns = templateColumns || !!columns && `repeat( ${column}, 1fr )`;
+  const gridTemplateRows = templateRows || !!rows && `repeat( ${row}, 1fr )`;
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const alignmentProps = utils_getAlignmentProps(alignment);
+    const gridClasses = /*#__PURE__*/emotion_react_browser_esm_css({
+      alignItems: align,
+      display: isInline ? 'inline-grid' : 'grid',
+      gap: `calc( ${config_values.gridBase} * ${gap} )`,
+      gridTemplateColumns: gridTemplateColumns || undefined,
+      gridTemplateRows: gridTemplateRows || undefined,
+      gridRowGap: rowGap,
+      gridColumnGap: columnGap,
+      justifyContent: justify,
+      verticalAlign: isInline ? 'middle' : undefined,
+      ...alignmentProps
+    },  true ? "" : 0,  true ? "" : 0);
+    return cx(gridClasses, className);
+  }, [align, alignment, className, columnGap, gap, gridTemplateColumns, gridTemplateRows, isInline, justify, rowGap]);
+  return { ...otherProps,
+    className: classes
+  };
+}

-  var isSameYear = aYear === bYear;
-  var isSameMonth = aMonth === bMonth;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/grid/component.js

-  if (isSameYear && isSameMonth) return a.date() < b.date();
-  if (isSameYear) return aMonth < bMonth;
-  return aYear < bYear;
-}

-/***/ }),

-/***/ "h9+V":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Internal dependencies
+ */
+

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ useCx; });
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ * @param {import('react').Ref<any>}                                                        forwardedRef
+ */
+
+function Grid(props, forwardedRef) {
+  const gridProps = useGrid(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, gridProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `Grid` is a primitive layout component that can arrange content in a grid configuration.
+ *
+ * @example
+ * ```jsx
+ * import {
+ * 	__experimentalGrid as Grid,
+ * 	__experimentalText as Text
+ * } from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<Grid columns={ 3 }>
+ * 			<Text>Code</Text>
+ * 			<Text>is</Text>
+ * 			<Text>Poetry</Text>
+ * 		</Grid>
+ * 	);
+ * }
+ * ```
+ */

-// EXTERNAL MODULE: ./node_modules/@emotion/react/dist/emotion-element-699e6908.browser.esm.js
-var emotion_element_699e6908_browser_esm = __webpack_require__("ek6p");

-// EXTERNAL MODULE: ./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
-var emotion_utils_browser_esm = __webpack_require__("eVQB");
+const ConnectedGrid = contextConnect(Grid, 'Grid');
+/* harmony default export */ var grid_component = (ConnectedGrid);

-// EXTERNAL MODULE: ./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js + 1 modules
-var emotion_cache_browser_esm = __webpack_require__("+1VY");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/modal/aria-helper.js
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js + 2 modules
-var emotion_serialize_browser_esm = __webpack_require__("Exhd");
+const LIVE_REGION_ARIA_ROLES = new Set(['alert', 'status', 'log', 'marquee', 'timer']);
+let hiddenElements = [],
+    isHidden = false;
+/**
+ * Hides all elements in the body element from screen-readers except
+ * the provided element and elements that should not be hidden from
+ * screen-readers.
+ *
+ * The reason we do this is because `aria-modal="true"` currently is bugged
+ * in Safari, and support is spotty in other browsers overall. In the future
+ * we should consider removing these helper functions in favor of
+ * `aria-modal="true"`.
+ *
+ * @param {Element} unhiddenElement The element that should not be hidden.
+ */

-// CONCATENATED MODULE: ./node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
+function hideApp(unhiddenElement) {
+  if (isHidden) {
+    return;
+  }

+  const elements = document.body.children;
+  (0,external_lodash_namespaceObject.forEach)(elements, element => {
+    if (element === unhiddenElement) {
+      return;
+    }

+    if (elementShouldBeHidden(element)) {
+      element.setAttribute('aria-hidden', 'true');
+      hiddenElements.push(element);
+    }
+  });
+  isHidden = true;
+}
+/**
+ * Determines if the passed element should not be hidden from screen readers.
+ *
+ * @param {HTMLElement} element The element that should be checked.
+ *
+ * @return {boolean} Whether the element should not be hidden from screen-readers.
+ */

+function elementShouldBeHidden(element) {
+  const role = element.getAttribute('role');
+  return !(element.tagName === 'SCRIPT' || element.hasAttribute('aria-hidden') || element.hasAttribute('aria-live') || LIVE_REGION_ARIA_ROLES.has(role));
+}
+/**
+ * Makes all elements in the body that have been hidden by `hideApp`
+ * visible again to screen-readers.
+ */

-function insertWithoutScoping(cache, serialized) {
-  if (cache.inserted[serialized.name] === undefined) {
-    return cache.insert('', serialized, cache.sheet, true);
+function showApp() {
+  if (!isHidden) {
+    return;
   }
+
+  (0,external_lodash_namespaceObject.forEach)(hiddenElements, element => {
+    element.removeAttribute('aria-hidden');
+  });
+  hiddenElements = [];
+  isHidden = false;
 }

-function merge(registered, css, className) {
-  var registeredStyles = [];
-  var rawClassName = Object(emotion_utils_browser_esm["a" /* getRegisteredStyles */])(registered, registeredStyles, className);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
+// Unique ID creation requires a high quality random # generator. In the browser we therefore
+// require the crypto API and do not support built-in fallback to lower quality random number
+// generators (like Math.random()).
+var getRandomValues;
+var rnds8 = new Uint8Array(16);
+function rng() {
+  // lazy load so that environments that need to polyfill have a chance to do so
+  if (!getRandomValues) {
+    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
+    // find the complete implementation of crypto (msCrypto) on IE11.
+    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);

-  if (registeredStyles.length < 2) {
-    return className;
+    if (!getRandomValues) {
+      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
+    }
   }

-  return rawClassName + css(registeredStyles);
+  return getRandomValues(rnds8);
 }
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
+/* harmony default export */ var regex = (/^(?:[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);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js

-var emotion_css_create_instance_esm_createEmotion = function createEmotion(options) {
-  var cache = Object(emotion_cache_browser_esm["a" /* default */])(options); // $FlowFixMe

-  cache.sheet.speedy = function (value) {
-    if (false) {}
+function validate(uuid) {
+  return typeof uuid === 'string' && regex.test(uuid);
+}

-    this.isSpeedy = value;
-  };
+/* harmony default export */ var esm_browser_validate = (validate);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js

-  cache.compat = true;
+/**
+ * Convert array of 16 byte values to UUID string format of the form:
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
+ */

-  var css = function css() {
-    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-      args[_key] = arguments[_key];
-    }
+var byteToHex = [];

-    var serialized = Object(emotion_serialize_browser_esm["a" /* serializeStyles */])(args, cache.registered, undefined);
-    Object(emotion_utils_browser_esm["b" /* insertStyles */])(cache, serialized, false);
-    return cache.key + "-" + serialized.name;
-  };
+for (var stringify_i = 0; stringify_i < 256; ++stringify_i) {
+  byteToHex.push((stringify_i + 0x100).toString(16).substr(1));
+}

-  var keyframes = function keyframes() {
-    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-      args[_key2] = arguments[_key2];
-    }
+function stringify_stringify(arr) {
+  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
+  // Note: Be careful editing this code!  It's been tuned for performance
+  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
+  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
+  // of the following:
+  // - One or more input array values don't map to a hex octet (leading to
+  // "undefined" in the uuid)
+  // - Invalid input values for the RFC `version` or `variant` fields

-    var serialized = Object(emotion_serialize_browser_esm["a" /* serializeStyles */])(args, cache.registered);
-    var animation = "animation-" + serialized.name;
-    insertWithoutScoping(cache, {
-      name: serialized.name,
-      styles: "@keyframes " + animation + "{" + serialized.styles + "}"
-    });
-    return animation;
-  };
+  if (!esm_browser_validate(uuid)) {
+    throw TypeError('Stringified UUID is invalid');
+  }

-  var injectGlobal = function injectGlobal() {
-    for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
-      args[_key3] = arguments[_key3];
-    }
+  return uuid;
+}

-    var serialized = Object(emotion_serialize_browser_esm["a" /* serializeStyles */])(args, cache.registered);
-    insertWithoutScoping(cache, serialized);
-  };
+/* harmony default export */ var esm_browser_stringify = (stringify_stringify);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js

-  var cx = function cx() {
-    for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
-      args[_key4] = arguments[_key4];
-    }

-    return merge(cache.registered, css, classnames(args));
-  };

-  return {
-    css: css,
-    cx: cx,
-    injectGlobal: injectGlobal,
-    keyframes: keyframes,
-    hydrate: function hydrate(ids) {
-      ids.forEach(function (key) {
-        cache.inserted[key] = true;
-      });
-    },
-    flush: function flush() {
-      cache.registered = {};
-      cache.inserted = {};
-      cache.sheet.flush();
-    },
-    // $FlowFixMe
-    sheet: cache.sheet,
-    cache: cache,
-    getRegisteredStyles: emotion_utils_browser_esm["a" /* getRegisteredStyles */].bind(null, cache.registered),
-    merge: merge.bind(null, cache.registered, css)
-  };
-};
+function v4(options, buf, offset) {
+  options = options || {};
+  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`

-var classnames = function classnames(args) {
-  var cls = '';
+  rnds[6] = rnds[6] & 0x0f | 0x40;
+  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided

-  for (var i = 0; i < args.length; i++) {
-    var arg = args[i];
-    if (arg == null) continue;
-    var toAdd = void 0;
+  if (buf) {
+    offset = offset || 0;

-    switch (typeof arg) {
-      case 'boolean':
-        break;
+    for (var i = 0; i < 16; ++i) {
+      buf[offset + i] = rnds[i];
+    }

-      case 'object':
-        {
-          if (Array.isArray(arg)) {
-            toAdd = classnames(arg);
-          } else {
-            toAdd = '';
+    return buf;
+  }

-            for (var k in arg) {
-              if (arg[k] && k) {
-                toAdd && (toAdd += ' ');
-                toAdd += k;
-              }
-            }
-          }
+  return esm_browser_stringify(rnds);
+}

-          break;
-        }
+/* harmony default export */ var esm_browser_v4 = (v4);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/style-provider/index.js

-      default:
-        {
-          toAdd = arg;
-        }
-    }

-    if (toAdd) {
-      cls && (cls += ' ');
-      cls += toAdd;
-    }
-  }
+/**
+ * External dependencies
+ */

-  return cls;
-};

-/* harmony default export */ var emotion_css_create_instance_esm = (emotion_css_create_instance_esm_createEmotion);

-// CONCATENATED MODULE: ./node_modules/@emotion/css/dist/emotion-css.esm.js

+const uuidCache = new Set();
+const memoizedCreateCacheWithContainer = memize_default()(container => {
+  // emotion only accepts alphabetical and hyphenated keys so we just strip the numbers from the UUID. It _should_ be fine.
+  let key = esm_browser_v4().replace(/[0-9]/g, '');

+  while (uuidCache.has(key)) {
+    key = esm_browser_v4().replace(/[0-9]/g, '');
+  }

+  uuidCache.add(key);
+  return emotion_cache_browser_esm({
+    container,
+    key
+  });
+});
+function StyleProvider(_ref) {
+  let {
+    children,
+    document
+  } = _ref;

+  if (!document) {
+    return null;
+  }

-var _createEmotion = emotion_css_create_instance_esm({
-  key: 'css'
-}),
-    flush = _createEmotion.flush,
-    hydrate = _createEmotion.hydrate,
-    emotion_css_esm_cx = _createEmotion.cx,
-    emotion_css_esm_merge = _createEmotion.merge,
-    getRegisteredStyles = _createEmotion.getRegisteredStyles,
-    emotion_css_esm_injectGlobal = _createEmotion.injectGlobal,
-    emotion_css_esm_keyframes = _createEmotion.keyframes,
-    emotion_css_esm_css = _createEmotion.css,
-    sheet = _createEmotion.sheet,
-    emotion_css_esm_cache = _createEmotion.cache;
+  const cache = memoizedCreateCacheWithContainer(document.head);
+  return (0,external_wp_element_namespaceObject.createElement)(CacheProvider, {
+    value: cache
+  }, children);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/modal/index.js


-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-cx.js
 /**
  * External dependencies
  */

- // eslint-disable-next-line no-restricted-imports
-
-
 /**
  * WordPress dependencies
  */



-const isSerializedStyles = o => typeof o !== 'undefined' && o !== null && ['name', 'styles'].every(p => typeof o[p] !== 'undefined');
-/**
- * Retrieve a `cx` function that knows how to handle `SerializedStyles`
- * returned by the `@emotion/react` `css` function in addition to what
- * `cx` normally knows how to handle. It also hooks into the Emotion
- * Cache, allowing `css` calls to work inside iframes.
- *
- * @example
- * import { css } from '@emotion/react';
- *
- * const styles = css`
- * 	color: red
- * `;
- *
- * function RedText( { className, ...props } ) {
- * 	const cx = useCx();
- *
- * 	const classes = cx(styles, className);
- *
- * 	return <span className={classes} {...props} />;
- * }
- */
-
-
-const useCx = () => {
-  const cache = Object(emotion_element_699e6908_browser_esm["d" /* _ */])();
-  const cx = Object(external_wp_element_["useCallback"])(function () {
-    if (cache === null) {
-      throw new Error('The `useCx` hook should be only used within a valid Emotion Cache Context');
-    }
-
-    for (var _len = arguments.length, classNames = new Array(_len), _key = 0; _key < _len; _key++) {
-      classNames[_key] = arguments[_key];
-    }
-
-    return emotion_css_esm_cx(...classNames.map(arg => {
-      if (isSerializedStyles(arg)) {
-        Object(emotion_utils_browser_esm["b" /* insertStyles */])(cache, arg, false);
-        return `${cache.key}-${arg.name}`;
-      }
-
-      return arg;
-    }));
-  }, [cache]);
-  return cx;
-};
-
-
-/***/ }),
-
-/***/ "hE48":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ createComponent; });
-
-// EXTERNAL MODULE: external "React"
-var external_React_ = __webpack_require__("cDcd");
-
-// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
-var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__("RDTF");
-
-// EXTERNAL MODULE: ./node_modules/reakit-system/es/useCreateElement.js
-var useCreateElement = __webpack_require__("IVEb");
-
-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/_rollupPluginBabelHelpers-1f0bf8c2.js
-var _rollupPluginBabelHelpers_1f0bf8c2 = __webpack_require__("I/A+");

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/isObject.js
-var isObject = __webpack_require__("Ptb8");

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/isPlainObject.js


 /**
- * Checks whether `arg` is a plain object or not.
- *
- * @returns {boolean}
+ * Internal dependencies
  */

-function isPlainObject(arg) {
-  var _proto$constructor;
-
-  if (!Object(isObject["a" /* isObject */])(arg)) return false;
-  var proto = Object.getPrototypeOf(arg);
-  if (proto == null) return true;
-  return ((_proto$constructor = proto.constructor) === null || _proto$constructor === void 0 ? void 0 : _proto$constructor.toString()) === Object.toString();
-}


+ // Used to count the number of open modals.

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/splitProps.js
+let openModalCount = 0;
+function Modal(_ref) {
+  let {
+    bodyOpenClassName = 'modal-open',
+    role = 'dialog',
+    title = null,
+    focusOnMount = true,
+    shouldCloseOnEsc = true,
+    shouldCloseOnClickOutside = true,
+    isDismissable,
+    // Deprecated
+    isDismissible = isDismissable || true,

+    /* accessibility */
+    aria = {
+      labelledby: null,
+      describedby: null
+    },
+    onRequestClose,
+    icon,
+    closeButtonLabel,
+    children,
+    style,
+    overlayClassName,
+    className,
+    contentLabel,
+    onKeyDown,
+    isFullScreen = false
+  } = _ref;
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(Modal);
+  const headingId = title ? `components-modal-header-${instanceId}` : aria.labelledby;
+  const focusOnMountRef = (0,external_wp_compose_namespaceObject.useFocusOnMount)(focusOnMount);
+  const constrainedTabbingRef = (0,external_wp_compose_namespaceObject.useConstrainedTabbing)();
+  const focusReturnRef = (0,external_wp_compose_namespaceObject.useFocusReturn)();
+  const focusOutsideProps = (0,external_wp_compose_namespaceObject.__experimentalUseFocusOutside)(onRequestClose);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    openModalCount++;

+    if (openModalCount === 1) {
+      hideApp(ref.current);
+      document.body.classList.add(bodyOpenClassName);
+    }

+    return () => {
+      openModalCount--;

-/**
- * Splits an object (`props`) into a tuple where the first item is an object
- * with the passed `keys`, and the second item is an object with these keys
- * omitted.
- *
- * @deprecated will be removed in version 2
- *
- * @example
- * import { splitProps } from "reakit-utils";
- *
- * splitProps({ a: "a", b: "b" }, ["a"]); // [{ a: "a" }, { b: "b" }]
- */
+      if (openModalCount === 0) {
+        document.body.classList.remove(bodyOpenClassName);
+        showApp();
+      }
+    };
+  }, []);

-function __deprecatedSplitProps(props, keys) {
-  var propsKeys = Object.keys(props);
-  var picked = {};
-  var omitted = {};
+  if (isDismissable) {
+    external_wp_deprecated_default()('isDismissable prop of the Modal component', {
+      since: '5.4',
+      alternative: 'isDismissible prop (renamed) of the Modal component'
+    });
+  }

-  for (var _i = 0, _propsKeys = propsKeys; _i < _propsKeys.length; _i++) {
-    var key = _propsKeys[_i];
+  function handleEscapeKeyDown(event) {
+    if (shouldCloseOnEsc && event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented) {
+      event.preventDefault();

-    if (keys.indexOf(key) >= 0) {
-      picked[key] = props[key];
-    } else {
-      omitted[key] = props[key];
+      if (onRequestClose) {
+        onRequestClose(event);
+      }
     }
   }

-  return [picked, omitted];
+  return (0,external_wp_element_namespaceObject.createPortal)( // eslint-disable-next-line jsx-a11y/no-static-element-interactions
+  (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: ref,
+    className: classnames_default()('components-modal__screen-overlay', overlayClassName),
+    onKeyDown: handleEscapeKeyDown
+  }, (0,external_wp_element_namespaceObject.createElement)(StyleProvider, {
+    document: document
+  }, (0,external_wp_element_namespaceObject.createElement)("div", extends_extends({
+    className: classnames_default()('components-modal__frame', className, {
+      'is-full-screen': isFullScreen
+    }),
+    style: style,
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([constrainedTabbingRef, focusReturnRef, focusOnMountRef]),
+    role: role,
+    "aria-label": contentLabel,
+    "aria-labelledby": contentLabel ? null : headingId,
+    "aria-describedby": aria.describedby,
+    tabIndex: "-1"
+  }, shouldCloseOnClickOutside ? focusOutsideProps : {}, {
+    onKeyDown: onKeyDown
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: 'components-modal__content',
+    role: "document"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-modal__header"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-modal__header-heading-container"
+  }, icon && (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-modal__icon-container",
+    "aria-hidden": true
+  }, icon), title && (0,external_wp_element_namespaceObject.createElement)("h1", {
+    id: headingId,
+    className: "components-modal__header-heading"
+  }, title)), isDismissible && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    onClick: onRequestClose,
+    icon: close_small,
+    label: closeButtonLabel || (0,external_wp_i18n_namespaceObject.__)('Close dialog')
+  })), children)))), document.body);
 }
-/**
- * Splits an object (`props`) into a tuple where the first item
- * is the `state` property, and the second item is the rest of the properties.
- *
- * It is also backward compatible with version 1. If `keys` are passed then
- * splits an object (`props`) into a tuple where the first item is an object
- * with the passed `keys`, and the second item is an object with these keys
- * omitted.
- *
- * @example
- * import { splitProps } from "reakit-utils";
- *
- * splitProps({ a: "a", b: "b" }, ["a"]); // [{ a: "a" }, { b: "b" }]
- *
- * @example
- * import { splitProps } from "reakit-utils";
- *
- * splitProps({ state: { a: "a" }, b: "b" }); // [{ a: "a" }, { b: "b" }]
- */
-

-function splitProps(props, keys) {
-  if (keys === void 0) {
-    keys = [];
-  }
-
-  if (!isPlainObject(props.state)) {
-    return __deprecatedSplitProps(props, keys);
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/icons.js

-  var _deprecatedSplitProp = __deprecatedSplitProps(props, [].concat(keys, ["state"])),
-      picked = _deprecatedSplitProp[0],
-      omitted = _deprecatedSplitProp[1];
-
-  var state = picked.state,
-      restPicked = Object(_rollupPluginBabelHelpers_1f0bf8c2["a" /* _ */])(picked, ["state"]);
-
-  return [Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, state), restPicked), omitted];
-}

+/**
+ * WordPress dependencies
+ */

+const PageControlIcon = _ref => {
+  let {
+    isSelected
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+    width: "8",
+    height: "8",
+    fill: "none",
+    xmlns: "http://www.w3.org/2000/svg"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Circle, {
+    cx: "4",
+    cy: "4",
+    r: "4",
+    fill: isSelected ? '#419ECD' : '#E1E3E6'
+  }));
+};

-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
-var shallowEqual = __webpack_require__("uqqE");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/page-control.js

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/normalizePropsAreEqual.js

+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */


 /**
- * This higher order functions take `propsAreEqual` function and
- * returns a new function which normalizes the props.
- *
- * Normalizing in our case is making sure the `propsAreEqual` works with
- * both version 1 (object spreading) and version 2 (state object) state passing.
- *
- * To achieve this, the returned function in case of a state object
- * will spread the state object in both `prev` and `next props.
- *
- * Other case it just returns the function as is which makes sure
- * that we are still backward compatible
+ * Internal dependencies
  */
-function normalizePropsAreEqual(propsAreEqual) {
-  if (propsAreEqual.name === "normalizePropsAreEqualInner") {
-    return propsAreEqual;
-  }

-  return function normalizePropsAreEqualInner(prev, next) {
-    if (!isPlainObject(prev.state) || !isPlainObject(next.state)) {
-      return propsAreEqual(prev, next);
-    }

-    return propsAreEqual(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, prev.state), prev), Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])(Object(_rollupPluginBabelHelpers_1f0bf8c2["b" /* a */])({}, next.state), next));
-  };
+
+function PageControl(_ref) {
+  let {
+    currentPage,
+    numberOfPages,
+    setCurrentPage
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("ul", {
+    className: "components-guide__page-control",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Guide controls')
+  }, (0,external_lodash_namespaceObject.times)(numberOfPages, page => (0,external_wp_element_namespaceObject.createElement)("li", {
+    key: page // Set aria-current="step" on the active page, see https://www.w3.org/TR/wai-aria-1.1/#aria-current
+    ,
+    "aria-current": page === currentPage ? 'step' : undefined
+  }, (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    key: page,
+    icon: (0,external_wp_element_namespaceObject.createElement)(PageControlIcon, {
+      isSelected: page === currentPage
+    }),
+    "aria-label": (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: 1: current page number 2: total number of pages */
+    (0,external_wp_i18n_namespaceObject.__)('Page %1$d of %2$d'), page + 1, numberOfPages),
+    onClick: () => setCurrentPage(page)
+  }))));
 }

-
-
-// CONCATENATED MODULE: ./node_modules/reakit-system/es/createComponent.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/finish-button.js



+/**
+ * WordPress dependencies
+ */

+/**
+ * Internal dependencies
+ */


+function FinishButton(props) {
+  const ref = (0,external_wp_element_namespaceObject.useRef)(); // Focus the button on mount if nothing else is focused. This prevents a
+  // focus loss when the 'Next' button is swapped out.

+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    const {
+      ownerDocument
+    } = ref.current;
+    const {
+      activeElement,
+      body
+    } = ownerDocument;

-function forwardRef(component) {
-  return /*#__PURE__*/Object(external_React_["forwardRef"])(component);
+    if (!activeElement || activeElement === body) {
+      ref.current.focus();
+    }
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({}, props, {
+    ref: ref
+  }));
 }

-function memo(component, propsAreEqual) {
-  return /*#__PURE__*/Object(external_React_["memo"])(component, propsAreEqual);
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/index.js
+

 /**
- * Creates a React component.
- *
- * @example
- * import { createComponent } from "reakit-system";
- *
- * const A = createComponent({ as: "a" });
- *
- * @param options
+ * External dependencies
  */
-function createComponent(_ref) {
-  var type = _ref.as,
-      useHook = _ref.useHook,
-      shouldMemo = _ref.memo,
-      _ref$propsAreEqual = _ref.propsAreEqual,
-      propsAreEqual = _ref$propsAreEqual === void 0 ? useHook === null || useHook === void 0 ? void 0 : useHook.unstable_propsAreEqual : _ref$propsAreEqual,
-      _ref$keys = _ref.keys,
-      keys = _ref$keys === void 0 ? (useHook === null || useHook === void 0 ? void 0 : useHook.__keys) || [] : _ref$keys,
-      _ref$useCreateElement = _ref.useCreateElement,
-      useCreateElement$1 = _ref$useCreateElement === void 0 ? useCreateElement["a" /* useCreateElement */] : _ref$useCreateElement;

-  var Comp = function Comp(_ref2, ref) {
-    var _ref2$as = _ref2.as,
-        as = _ref2$as === void 0 ? type : _ref2$as,
-        props = Object(_rollupPluginBabelHelpers_0c84a174["b" /* a */])(_ref2, ["as"]);
-
-    if (useHook) {
-      var _as$render;
+/**
+ * WordPress dependencies
+ */

-      var _splitProps = splitProps(props, keys),
-          _options = _splitProps[0],
-          htmlProps = _splitProps[1];

-      var _useHook = useHook(_options, Object(_rollupPluginBabelHelpers_0c84a174["a" /* _ */])({
-        ref: ref
-      }, htmlProps)),
-          wrapElement = _useHook.wrapElement,
-          elementProps = Object(_rollupPluginBabelHelpers_0c84a174["b" /* a */])(_useHook, ["wrapElement"]); // @ts-ignore


-      var asKeys = ((_as$render = as.render) === null || _as$render === void 0 ? void 0 : _as$render.__keys) || as.__keys;
-      var asOptions = asKeys && splitProps(props, asKeys)[0];
-      var allProps = asOptions ? Object(_rollupPluginBabelHelpers_0c84a174["a" /* _ */])(Object(_rollupPluginBabelHelpers_0c84a174["a" /* _ */])({}, elementProps), asOptions) : elementProps;

-      var _element = useCreateElement$1(as, allProps);
+/**
+ * Internal dependencies
+ */

-      if (wrapElement) {
-        return wrapElement(_element);
-      }

-      return _element;
-    }

-    return useCreateElement$1(as, Object(_rollupPluginBabelHelpers_0c84a174["a" /* _ */])({
-      ref: ref
-    }, props));
-  };

-  if (false) {}

-  Comp = forwardRef(Comp);
+function Guide(_ref) {
+  let {
+    children,
+    className,
+    contentLabel,
+    finishButtonText,
+    onFinish,
+    pages = []
+  } = _ref;
+  const [currentPage, setCurrentPage] = (0,external_wp_element_namespaceObject.useState)(0);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (external_wp_element_namespaceObject.Children.count(children)) {
+      external_wp_deprecated_default()('Passing children to <Guide>', {
+        since: '5.5',
+        alternative: 'the `pages` prop'
+      });
+    }
+  }, [children]);

-  if (shouldMemo) {
-    Comp = memo(Comp, propsAreEqual && normalizePropsAreEqual(propsAreEqual));
+  if (external_wp_element_namespaceObject.Children.count(children)) {
+    pages = external_wp_element_namespaceObject.Children.map(children, child => ({
+      content: child
+    }));
   }

-  Comp.__keys = keys;
-  Comp.unstable_propsAreEqual = normalizePropsAreEqual(propsAreEqual || shallowEqual["a" /* shallowEqual */]);
-  return Comp;
-}
-
-
-
-
-/***/ }),
+  const canGoBack = currentPage > 0;
+  const canGoForward = currentPage < pages.length - 1;

-/***/ "hWh2":
-/***/ (function(module, exports, __webpack_require__) {
+  const goBack = () => {
+    if (canGoBack) {
+      setCurrentPage(currentPage - 1);
+    }
+  };

-"use strict";
+  const goForward = () => {
+    if (canGoForward) {
+      setCurrentPage(currentPage + 1);
+    }
+  };

+  if (pages.length === 0) {
+    return null;
+  }

-var GetIntrinsic = __webpack_require__("j1Hc");
+  return (0,external_wp_element_namespaceObject.createElement)(Modal, {
+    className: classnames_default()('components-guide', className),
+    contentLabel: contentLabel,
+    onRequestClose: onFinish,
+    onKeyDown: event => {
+      if (event.keyCode === external_wp_keycodes_namespaceObject.LEFT) {
+        goBack();
+      } else if (event.keyCode === external_wp_keycodes_namespaceObject.RIGHT) {
+        goForward();
+      }
+    }
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-guide__container"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-guide__page"
+  }, pages[currentPage].image, pages.length > 1 && (0,external_wp_element_namespaceObject.createElement)(PageControl, {
+    currentPage: currentPage,
+    numberOfPages: pages.length,
+    setCurrentPage: setCurrentPage
+  }), pages[currentPage].content, !canGoForward && (0,external_wp_element_namespaceObject.createElement)(FinishButton, {
+    className: "components-guide__inline-finish-button",
+    onClick: onFinish
+  }, finishButtonText || (0,external_wp_i18n_namespaceObject.__)('Finish'))), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-guide__footer"
+  }, canGoBack && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-guide__back-button",
+    onClick: goBack
+  }, (0,external_wp_i18n_namespaceObject.__)('Previous')), canGoForward && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-guide__forward-button",
+    onClick: goForward
+  }, (0,external_wp_i18n_namespaceObject.__)('Next')), !canGoForward && (0,external_wp_element_namespaceObject.createElement)(FinishButton, {
+    className: "components-guide__finish-button",
+    onClick: onFinish
+  }, finishButtonText || (0,external_wp_i18n_namespaceObject.__)('Finish')))));
+}

-var $TypeError = GetIntrinsic('%TypeError%');
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/guide/page.js

-var CreateDataProperty = __webpack_require__("S3lO");
-var IsPropertyKey = __webpack_require__("nR7C");
-var Type = __webpack_require__("PoQ0");

-// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow
+/**
+ * WordPress dependencies
+ */

-module.exports = function CreateDataPropertyOrThrow(O, P, V) {
-	if (Type(O) !== 'Object') {
-		throw new $TypeError('Assertion failed: Type(O) is not Object');
-	}
-	if (!IsPropertyKey(P)) {
-		throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
-	}
-	var success = CreateDataProperty(O, P, V);
-	if (!success) {
-		throw new $TypeError('unable to create data property');
-	}
-	return success;
-};

+function GuidePage(props) {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    external_wp_deprecated_default()('<GuidePage>', {
+      since: '5.5',
+      alternative: 'the `pages` prop in <Guide>'
+    });
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)("div", props);
+}

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/button/deprecated.js

-/***/ "i2T3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2mql");
-/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__);
+// @ts-nocheck

+/**
+ * WordPress dependencies
+ */

-// this file isolates this package that is not tree-shakeable
-// and if this module doesn't actually contain any logic of its own
-// then Rollup just use 'hoist-non-react-statics' directly in other chunks

-var hoistNonReactStatics = (function (targetComponent, sourceComponent) {
-  return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0___default()(targetComponent, sourceComponent);
-});
+/**
+ * Internal dependencies
+ */

-/* harmony default export */ __webpack_exports__["a"] = (hoistNonReactStatics);


-/***/ }),
+function IconButton(_ref, ref) {
+  let {
+    labelPosition,
+    size,
+    tooltip,
+    label,
+    ...props
+  } = _ref;
+  external_wp_deprecated_default()('wp.components.IconButton', {
+    since: '5.4',
+    alternative: 'wp.components.Button'
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({}, props, {
+    ref: ref,
+    tooltipPosition: labelPosition,
+    iconSize: size,
+    showTooltip: tooltip !== undefined ? !!tooltip : undefined,
+    label: tooltip || label
+  }));
+}

-/***/ "iB/h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var deprecated = ((0,external_wp_element_namespaceObject.forwardRef)(IconButton));

-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("gdqT");
-/* harmony import */ var _wordpress_a11y__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("l3Sj");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("kA6J");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/keyboard-shortcuts/index.js


 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */
@@ -66255,3297 +64877,3945 @@ var hoistNonReactStatics = (function (targetComponent, sourceComponent) {



-
-/**
- * Internal dependencies
- */
-
-
-const NOTICE_TIMEOUT = 10000;
-/** @typedef {import('@wordpress/element').WPElement} WPElement */
-
-/**
- * Custom hook which announces the message with the given politeness, if a
- * valid message is provided.
- *
- * @param {string|WPElement}     [message]  Message to announce.
- * @param {'polite'|'assertive'} politeness Politeness to announce.
- */
-
-function useSpokenMessage(message, politeness) {
-  const spokenMessage = typeof message === 'string' ? message : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["renderToString"])(message);
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(() => {
-    if (spokenMessage) {
-      Object(_wordpress_a11y__WEBPACK_IMPORTED_MODULE_3__["speak"])(spokenMessage, politeness);
-    }
-  }, [spokenMessage, politeness]);
+function KeyboardShortcut(_ref) {
+  let {
+    target,
+    callback,
+    shortcut,
+    bindGlobal,
+    eventName
+  } = _ref;
+  (0,external_wp_compose_namespaceObject.useKeyboardShortcut)(shortcut, callback, {
+    bindGlobal,
+    target,
+    eventName
+  });
+  return null;
 }

-function Snackbar(_ref, ref) {
+function KeyboardShortcuts(_ref2) {
   let {
-    className,
     children,
-    spokenMessage = children,
-    politeness = 'polite',
-    actions = [],
-    onRemove = lodash__WEBPACK_IMPORTED_MODULE_1__["noop"],
-    icon = null,
-    explicitDismiss = false,
-    // onDismiss is a callback executed when the snackbar is dismissed.
-    // It is distinct from onRemove, which _looks_ like a callback but is
-    // actually the function to call to remove the snackbar from the UI.
-    onDismiss = lodash__WEBPACK_IMPORTED_MODULE_1__["noop"],
-    listRef
-  } = _ref;
-  onDismiss = onDismiss || lodash__WEBPACK_IMPORTED_MODULE_1__["noop"];
+    shortcuts,
+    bindGlobal,
+    eventName
+  } = _ref2;
+  const target = (0,external_wp_element_namespaceObject.useRef)();
+  const element = (0,external_lodash_namespaceObject.map)(shortcuts, (callback, shortcut) => (0,external_wp_element_namespaceObject.createElement)(KeyboardShortcut, {
+    key: shortcut,
+    shortcut: shortcut,
+    callback: callback,
+    bindGlobal: bindGlobal,
+    eventName: eventName,
+    target: target
+  })); // Render as non-visual if there are no children pressed. Keyboard
+  // events will be bound to the document instead.

-  function dismissMe(event) {
-    if (event && event.preventDefault) {
-      event.preventDefault();
-    } // Prevent focus loss by moving it to the list element.
+  if (!external_wp_element_namespaceObject.Children.count(children)) {
+    return element;
+  }

+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: target
+  }, element, children);
+}

-    listRef.current.focus();
-    onDismiss();
-    onRemove();
-  }
+/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);

-  function onActionClick(event, onClick) {
-    event.stopPropagation();
-    onRemove();
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-group/index.js

-    if (onClick) {
-      onClick(event);
-    }
-  }
+// @ts-nocheck

-  useSpokenMessage(spokenMessage, politeness); // Only set up the timeout dismiss if we're not explicitly dismissing.
+/**
+ * External dependencies
+ */

-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(() => {
-    const timeoutHandle = setTimeout(() => {
-      if (!explicitDismiss) {
-        onDismiss();
-        onRemove();
-      }
-    }, NOTICE_TIMEOUT);
-    return () => clearTimeout(timeoutHandle);
-  }, [onDismiss, onRemove]);
-  const classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()(className, 'components-snackbar', {
-    'components-snackbar-explicit-dismiss': !!explicitDismiss
-  });
+/**
+ * WordPress dependencies
+ */

-  if (actions && actions.length > 1) {
-    // we need to inform developers that snackbar only accepts 1 action
-    typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_5___default()('Snackbar can only have 1 action, use Notice if your message require many messages') : void 0; // return first element only while keeping it inside an array

-    actions = [actions[0]];
+
+function MenuGroup(props) {
+  const {
+    children,
+    className = '',
+    label,
+    hideSeparator
+  } = props;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(MenuGroup);
+
+  if (!external_wp_element_namespaceObject.Children.count(children)) {
+    return null;
   }

-  const snackbarContentClassnames = classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-snackbar__content', {
-    'components-snackbar__content-with-icon': !!icon
+  const labelId = `components-menu-group-label-${instanceId}`;
+  const classNames = classnames_default()(className, 'components-menu-group', {
+    'has-hidden-separator': hideSeparator
   });
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    ref: ref,
-    className: classes,
-    onClick: !explicitDismiss ? dismissMe : lodash__WEBPACK_IMPORTED_MODULE_1__["noop"],
-    tabIndex: "0",
-    role: !explicitDismiss ? 'button' : '',
-    onKeyPress: !explicitDismiss ? dismissMe : lodash__WEBPACK_IMPORTED_MODULE_1__["noop"],
-    "aria-label": !explicitDismiss ? Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_4__["__"])('Dismiss this notice') : ''
-  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    className: snackbarContentClassnames
-  }, icon && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
-    className: "components-snackbar__icon"
-  }, icon), children, actions.map((_ref2, index) => {
-    let {
-      label,
-      onClick,
-      url
-    } = _ref2;
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(___WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], {
-      key: index,
-      href: url,
-      variant: "tertiary",
-      onClick: event => onActionClick(event, onClick),
-      className: "components-snackbar__action"
-    }, label);
-  }), explicitDismiss && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", {
-    role: "button",
-    "aria-label": "Dismiss this notice",
-    tabIndex: "0",
-    className: "components-snackbar__dismiss-button",
-    onClick: dismissMe,
-    onKeyPress: dismissMe
-  }, "\u2715")));
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classNames
+  }, label && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-menu-group__label",
+    id: labelId,
+    "aria-hidden": "true"
+  }, label), (0,external_wp_element_namespaceObject.createElement)("div", {
+    role: "group",
+    "aria-labelledby": label ? labelId : null
+  }, children));
 }
+/* harmony default export */ var menu_group = (MenuGroup);

-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["forwardRef"])(Snackbar));
-
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-item/index.js

-/***/ }),

-/***/ "iClF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+// @ts-nocheck

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 /**
- * WordPress dependencies
+ * External dependencies
  */

-/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */

 /**
- * Return an SVG icon.
- *
- * @param {IconProps} props icon is the SVG component to render
- *                          size is a number specifiying the icon size in pixels
- *                          Other props will be passed to wrapped SVG component
- *
- * @return {JSX.Element}  Icon component
+ * WordPress dependencies
  */

-function Icon(_ref) {
-  let {
-    icon,
-    size = 24,
-    ...props
-  } = _ref;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
-    width: size,
-    height: size,
-    ...props
-  });
-}

-/* harmony default export */ __webpack_exports__["a"] = (Icon);
+/**
+ * Internal dependencies
+ */


-/***/ }),

-/***/ "iNdV":
-/***/ (function(module, exports) {

-var messages = {
-  invalidPredicate: '`predicate` must be a function',
-  invalidPropValidator: '`propValidator` must be a function',
-  requiredCore: 'is marked as required',
-  invalidTypeCore: 'Invalid input type',
-  predicateFailureCore: 'Failed to succeed with predicate',
-  anonymousMessage: '<<anonymous>>',
-  baseInvalidMessage: 'Invalid ',
-};
+function MenuItem(props, ref) {
+  let {
+    children,
+    info,
+    className,
+    icon,
+    iconPosition = 'right',
+    shortcut,
+    isSelected,
+    role = 'menuitem',
+    ...buttonProps
+  } = props;
+  className = classnames_default()('components-menu-item__button', className);

-function constructPropValidatorVariations(propValidator) {
-  if (typeof propValidator !== 'function') {
-    throw new Error(messages.invalidPropValidator);
+  if (info) {
+    children = (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "components-menu-item__info-wrapper"
+    }, (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "components-menu-item__item"
+    }, children), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "components-menu-item__info"
+    }, info));
   }

-  var requiredPropValidator = propValidator.bind(null, false, null);
-  requiredPropValidator.isRequired = propValidator.bind(null, true, null);
-
-  requiredPropValidator.withPredicate = function predicateApplication(predicate) {
-    if (typeof predicate !== 'function') {
-      throw new Error(messages.invalidPredicate);
-    }
-    var basePropValidator = propValidator.bind(null, false, predicate);
-    basePropValidator.isRequired = propValidator.bind(null, true, predicate);
-    return basePropValidator;
-  };
+  if (icon && !(0,external_lodash_namespaceObject.isString)(icon)) {
+    icon = (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+      className: classnames_default()('components-menu-items__item-icon', {
+        'has-icon-right': iconPosition === 'right'
+      })
+    });
+  }

-  return requiredPropValidator;
+  return (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+    ref: ref // Make sure aria-checked matches spec https://www.w3.org/TR/wai-aria-1.1/#aria-checked
+    ,
+    "aria-checked": role === 'menuitemcheckbox' || role === 'menuitemradio' ? isSelected : undefined,
+    role: role,
+    icon: iconPosition === 'left' ? icon : undefined,
+    className: className
+  }, buttonProps), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-menu-item__item"
+  }, children), (0,external_wp_element_namespaceObject.createElement)(build_module_shortcut, {
+    className: "components-menu-item__shortcut",
+    shortcut: shortcut
+  }), icon && iconPosition === 'right' && (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: icon
+  }));
 }
+/* harmony default export */ var menu_item = ((0,external_wp_element_namespaceObject.forwardRef)(MenuItem));

-function createInvalidRequiredErrorMessage(propName, componentName, value) {
-  return new Error(
-    'The prop `' + propName + '` ' + messages.requiredCore +
-    ' in `' + componentName + '`, but its value is `' + value + '`.'
-  );
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/menu-items-choice/index.js

-var independentGuardianValue = -1;

-function preValidationRequireCheck(isRequired, componentName, propFullName, propValue) {
-  var isPropValueUndefined = typeof propValue === 'undefined';
-  var isPropValueNull = propValue === null;
+/**
+ * External dependencies
+ */

-  if (isRequired) {
-    if (isPropValueUndefined) {
-      return createInvalidRequiredErrorMessage(propFullName, componentName, 'undefined');
-    } else if (isPropValueNull) {
-      return createInvalidRequiredErrorMessage(propFullName, componentName, 'null');
-    }
-  }
+/**
+ * WordPress dependencies
+ */

-  if (isPropValueUndefined || isPropValueNull) {
-    return null;
-  }

-  return independentGuardianValue;
-}
+/**
+ * Internal dependencies
+ */

-function createMomentChecker(type, typeValidator, validator, momentType) {

-  function propValidator(
-    isRequired, // Bound parameter to indicate with the propType is required
-    predicate, // Bound parameter to allow user to add dynamic validation
-    props,
-    propName,
-    componentName,
-    location,
-    propFullName
-  ) {
-    var propValue = props[ propName ];
-    var propType = typeof propValue;
+function MenuItemsChoice(_ref) {
+  let {
+    choices = [],
+    onHover = external_lodash_namespaceObject.noop,
+    onSelect,
+    value
+  } = _ref;
+  return choices.map(item => {
+    const isSelected = value === item.value;
+    return (0,external_wp_element_namespaceObject.createElement)(menu_item, {
+      key: item.value,
+      role: "menuitemradio",
+      icon: isSelected && library_check,
+      info: item.info,
+      isSelected: isSelected,
+      shortcut: item.shortcut,
+      className: "components-menu-items-choice",
+      onClick: () => {
+        if (!isSelected) {
+          onSelect(item.value);
+        }
+      },
+      onMouseEnter: () => onHover(item.value),
+      onMouseLeave: () => onHover(null),
+      "aria-label": item['aria-label']
+    }, item.label);
+  });
+}

-    componentName = componentName || messages.anonymousMessage;
-    propFullName = propFullName || propName;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigable-container/tabbable.js

-    var preValidationRequireCheckValue = preValidationRequireCheck(
-      isRequired, componentName, propFullName, propValue
-    );

-    if (preValidationRequireCheckValue !== independentGuardianValue) {
-      return preValidationRequireCheckValue;
-    }
+// @ts-nocheck

-    if (typeValidator && !typeValidator(propValue)) {
-      return new Error(
-        messages.invalidTypeCore + ': `' + propName + '` of type `' + propType + '` ' +
-        'supplied to `' + componentName + '`, expected `' + type + '`.'
-      );
-    }
+/**
+ * WordPress dependencies
+ */

-    if (!validator(propValue)) {
-      return new Error(
-        messages.baseInvalidMessage + location + ' `' + propName + '` of type `' + propType + '` ' +
-        'supplied to `' + componentName + '`, expected `' + momentType + '`.'
-      );
-    }

-    if (predicate && !predicate(propValue)) {
-      var predicateName = predicate.name || messages.anonymousMessage;
-      return new Error(
-        messages.baseInvalidMessage + location + ' `' + propName + '` of type `' + propType + '` ' +
-        'supplied to `' + componentName + '`. ' + messages.predicateFailureCore + ' `' +
-        predicateName + '`.'
-      );
-    }
+/**
+ * Internal dependencies
+ */

-    return null;

-  }
+function TabbableContainer(_ref, ref) {
+  let {
+    eventToOffset,
+    ...props
+  } = _ref;

-  return constructPropValidatorVariations(propValidator);
+  const innerEventToOffset = evt => {
+    const {
+      keyCode,
+      shiftKey
+    } = evt;

-}
+    if (external_wp_keycodes_namespaceObject.TAB === keyCode) {
+      return shiftKey ? -1 : 1;
+    } // Allow custom handling of keys besides Tab.
+    //
+    // By default, TabbableContainer will move focus forward on Tab and
+    // backward on Shift+Tab. The handler below will be used for all other
+    // events. The semantics for `eventToOffset`'s return
+    // values are the following:
+    //
+    // - +1: move focus forward
+    // - -1: move focus backward
+    // -  0: don't move focus, but acknowledge event and thus stop it
+    // - undefined: do nothing, let the event propagate

-module.exports = {
-  constructPropValidatorVariations: constructPropValidatorVariations,
-  createMomentChecker: createMomentChecker,
-  messages: messages,
-};

+    if (eventToOffset) {
+      return eventToOffset(evt);
+    }
+  };

-/***/ }),
+  return (0,external_wp_element_namespaceObject.createElement)(container, extends_extends({
+    ref: ref,
+    stopNavigationEvents: true,
+    onlyBrowserTabstops: true,
+    eventToOffset: innerEventToOffset
+  }, props));
+}
+/* harmony default export */ var tabbable = ((0,external_wp_element_namespaceObject.forwardRef)(TabbableContainer));

-/***/ "iSWJ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/constants.js
+const ROOT_MENU = 'root';
+const SEARCH_FOCUS_DELAY = 100;

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/context.js
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/ui/context/use-context-system.js
-var use_context_system = __webpack_require__("C6yU");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/ui/context/context-connect.js
-var context_connect = __webpack_require__("7Jlx");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/styles.js
-/** @type {import('react').CSSProperties} */
-const visuallyHidden = {
-  border: 0,
-  clip: 'rect(1px, 1px, 1px, 1px)',
-  WebkitClipPath: 'inset( 50% )',
-  clipPath: 'inset( 50% )',
-  height: '1px',
-  margin: '-1px',
-  overflow: 'hidden',
-  padding: 0,
-  position: 'absolute',
-  width: '1px',
-  wordWrap: 'normal'
-};
+const NavigationContext = (0,external_wp_element_namespaceObject.createContext)({
+  activeItem: undefined,
+  activeMenu: ROOT_MENU,
+  setActiveMenu: external_lodash_namespaceObject.noop,
+  isMenuEmpty: external_lodash_namespaceObject.noop,
+  navigationTree: {
+    items: {},
+    getItem: external_lodash_namespaceObject.noop,
+    addItem: external_lodash_namespaceObject.noop,
+    removeItem: external_lodash_namespaceObject.noop,
+    menus: {},
+    getMenu: external_lodash_namespaceObject.noop,
+    addMenu: external_lodash_namespaceObject.noop,
+    removeMenu: external_lodash_namespaceObject.noop,
+    childMenu: {},
+    traverseMenu: external_lodash_namespaceObject.noop,
+    isMenuEmpty: external_lodash_namespaceObject.noop
+  }
+});
+const useNavigationContext = () => (0,external_wp_element_namespaceObject.useContext)(NavigationContext);

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/view/component.js
-var component = __webpack_require__("q9zb");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/component.js

+/**
+ * WordPress dependencies
+ */

+const search = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_search = (search);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/hooks/use-combined-ref.js
 /**
- * Internal dependencies
+ * WordPress dependencies
+ */
+
+/**
+ * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports
+
+function useCombinedRef() {
+  for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
+    refs[_key] = arguments[_key];
+  }
+
+  const targetRef = (0,external_wp_element_namespaceObject.useRef)(null);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    refs.forEach(ref => {
+      if (!ref) return;
+
+      if (typeof ref === 'function') {
+        ref(targetRef.current);
+      } else {
+        ref.current = targetRef.current;
+      }
+    });
+  }, [refs]);
+  return targetRef;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/search-control/index.js


 /**
- * @param {import('../ui/context').WordPressComponentProps<{ children: import('react').ReactNode }, 'div'>} props
- * @param {import('react').Ref<any>}                                                                        forwardedRef
+ * External dependencies
  */

-function VisuallyHidden(props, forwardedRef) {
-  const {
-    style: styleProp,
-    ...contextProps
-  } = Object(use_context_system["a" /* useContextSystem */])(props, 'VisuallyHidden');
-  return Object(external_wp_element_["createElement"])(component["a" /* default */], Object(esm_extends["a" /* default */])({
-    ref: forwardedRef
-  }, contextProps, {
-    style: { ...visuallyHidden,
-      ...(styleProp || {})
-    }
-  }));
-}
 /**
- * `VisuallyHidden` is a component used to render text intended to be visually
- * hidden, but will show for alternate devices, for example a screen reader.
- *
- * @example
- * ```jsx
- * import { VisuallyHidden } from `@wordpress/components`;
- *
- * function Example() {
- * 	return (
- * 		<VisuallyHidden>
- * 			<label>Code is Poetry</label>
- * 		</VisuallyHidden>
- * 	);
- * }
- * ```
+ * WordPress dependencies
  */


-const ConnectedVisuallyHidden = Object(context_connect["a" /* contextConnect */])(VisuallyHidden, 'VisuallyHidden');
-/* harmony default export */ var visually_hidden_component = __webpack_exports__["a"] = (ConnectedVisuallyHidden);


-/***/ }),

-/***/ "iYXd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Internal dependencies
+ */

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return findFirstEnabledItem; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getCurrentId; });
-function findFirstEnabledItem(items, excludeId) {
-  if (excludeId) {
-    return items.find(function (item) {
-      return !item.disabled && item.id !== excludeId;
-    });
-  }

-  return items.find(function (item) {
-    return !item.disabled;
-  });
-}

-function getCurrentId(options, passedId) {
-  var _findFirstEnabledItem;

-  if (passedId || passedId === null) {
-    return passedId;
-  }

-  if (options.currentId || options.currentId === null) {
-    return options.currentId;
-  }
+function SearchControl(_ref, ref) {
+  let {
+    className,
+    onChange,
+    onKeyDown,
+    value,
+    label,
+    placeholder = (0,external_wp_i18n_namespaceObject.__)('Search'),
+    hideLabelFromVision = true,
+    help,
+    onClose
+  } = _ref;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(SearchControl);
+  const searchInput = useCombinedRef(ref);
+  const id = `components-search-control-${instanceId}`;

-  return (_findFirstEnabledItem = findFirstEnabledItem(options.items || [])) === null || _findFirstEnabledItem === void 0 ? void 0 : _findFirstEnabledItem.id;
+  const renderRightButton = () => {
+    if (onClose) {
+      return (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+        icon: close_small,
+        label: (0,external_wp_i18n_namespaceObject.__)('Close search'),
+        onClick: onClose
+      });
+    }
+
+    if (!!value) {
+      return (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+        icon: close_small,
+        label: (0,external_wp_i18n_namespaceObject.__)('Reset search'),
+        onClick: () => {
+          onChange('');
+          searchInput.current.focus();
+        }
+      });
+    }
+
+    return (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+      icon: library_search
+    });
+  };
+
+  return (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    label: label,
+    id: id,
+    hideLabelFromVision: hideLabelFromVision,
+    help: help,
+    className: classnames_default()(className, 'components-search-control')
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-search-control__input-wrapper"
+  }, (0,external_wp_element_namespaceObject.createElement)("input", {
+    ref: searchInput,
+    className: "components-search-control__input",
+    id: id,
+    type: "search",
+    placeholder: placeholder,
+    onChange: event => onChange(event.target.value),
+    onKeyDown: onKeyDown,
+    autoComplete: "off",
+    value: value || ''
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-search-control__icon"
+  }, renderRightButton())));
 }

+/* harmony default export */ var search_control = ((0,external_wp_element_namespaceObject.forwardRef)(SearchControl));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/styles/navigation-styles.js


-/***/ }),
+function navigation_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
+
+/**
+ * External dependencies
+ */

-/***/ "ib7Q":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";
+/**
+ * Internal dependencies
+ */


-var getPolyfill = __webpack_require__("xoj2");
-var define = __webpack_require__("82c2");

-module.exports = function shimValues() {
-	var polyfill = getPolyfill();
-	define(Object, { values: polyfill }, {
-		values: function testValues() {
-			return Object.values !== polyfill;
-		}
-	});
-	return polyfill;
-};


-/***/ }),

-/***/ "ixyq":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";

+const NavigationUI = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ejwewyf11"
+} : 0)("width:100%;box-sizing:border-box;padding:0 ", space(4), ";overflow:hidden;" + ( true ? "" : 0));
+const MenuUI = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ejwewyf10"
+} : 0)("margin-top:", space(6), ";margin-bottom:", space(6), ";display:flex;flex-direction:column;ul{padding:0;margin:0;list-style:none;}.components-navigation__back-button{margin-bottom:", space(6), ";}.components-navigation__group+.components-navigation__group{margin-top:", space(6), ";}" + ( true ? "" : 0));
+const MenuBackButtonUI = /*#__PURE__*/emotion_styled_base_browser_esm(build_module_button,  true ? {
+  target: "ejwewyf9"
+} : 0)( true ? {
+  name: "26l0q2",
+  styles: "&.is-tertiary{color:inherit;opacity:0.7;&:hover:not( :disabled ){opacity:1;box-shadow:none;color:inherit;}&:active:not( :disabled ){background:transparent;opacity:1;color:inherit;}}"
+} : 0);
+const MenuTitleUI = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ejwewyf8"
+} : 0)( true ? {
+  name: "1aubja5",
+  styles: "overflow:hidden;width:100%"
+} : 0);
+const MenuTitleActionsUI = emotion_styled_base_browser_esm("span",  true ? {
+  target: "ejwewyf7"
+} : 0)("height:", space(6), ";.components-button.is-small{color:inherit;opacity:0.7;margin-right:", space(1), ";padding:0;&:active:not( :disabled ){background:none;opacity:1;color:inherit;}&:hover:not( :disabled ){box-shadow:none;opacity:1;color:inherit;}}" + ( true ? "" : 0));
+const MenuTitleSearchUI = /*#__PURE__*/emotion_styled_base_browser_esm(search_control,  true ? {
+  target: "ejwewyf6"
+} : 0)( true ? {
+  name: "za3n3e",
+  styles: "input[type='search'].components-search-control__input{margin:0;background:#303030;color:#fff;&:focus{background:#434343;color:#fff;}&::placeholder{color:rgba( 255, 255, 255, 0.6 );}}svg{fill:white;}.components-button.has-icon{padding:0;min-width:auto;}"
+} : 0);
+const GroupTitleUI = /*#__PURE__*/emotion_styled_base_browser_esm(heading_component,  true ? {
+  target: "ejwewyf5"
+} : 0)("min-height:", space(12), ";align-items:center;color:inherit;display:flex;justify-content:space-between;margin-bottom:", space(2), ";padding:", () => (0,external_wp_i18n_namespaceObject.isRTL)() ? `${space(1)} ${space(4)} ${space(1)} ${space(2)}` : `${space(1)} ${space(2)} ${space(1)} ${space(4)}`, ";" + ( true ? "" : 0));
+const ItemBaseUI = emotion_styled_base_browser_esm("li",  true ? {
+  target: "ejwewyf4"
+} : 0)("border-radius:2px;color:inherit;margin-bottom:0;>button,>a.components-button,>a{width:100%;color:inherit;opacity:0.7;padding:", space(2), " ", space(4), ";", rtl({
+  textAlign: 'left'
+}, {
+  textAlign: 'right'
+}), " &:hover,&:focus:not( [aria-disabled='true'] ):active,&:active:not( [aria-disabled='true'] ):active{color:inherit;opacity:1;}}&.is-active{background-color:", UI.theme, ";color:", BASE.white, ";>button,>a{color:", BASE.white, ";opacity:1;}}>svg path{color:", G2.lightGray.ui, ";}" + ( true ? "" : 0));
+const ItemUI = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ejwewyf3"
+} : 0)("display:flex;align-items:center;height:auto;min-height:40px;margin:0;padding:", space(1.5), " ", space(4), ";font-weight:400;line-height:20px;width:100%;color:inherit;opacity:0.7;" + ( true ? "" : 0));
+const ItemIconUI = emotion_styled_base_browser_esm("span",  true ? {
+  target: "ejwewyf2"
+} : 0)("display:flex;margin-right:", space(2), ";" + ( true ? "" : 0));
+const ItemBadgeUI = emotion_styled_base_browser_esm("span",  true ? {
+  target: "ejwewyf1"
+} : 0)("margin-left:", () => (0,external_wp_i18n_namespaceObject.isRTL)() ? '0' : space(2), ";margin-right:", () => (0,external_wp_i18n_namespaceObject.isRTL)() ? space(2) : '0', ";display:inline-flex;padding:", space(1), " ", space(3), ";border-radius:2px;animation:fade-in 250ms ease-out;@keyframes fade-in{from{opacity:0;}to{opacity:1;}}", reduceMotion('animation'), ";" + ( true ? "" : 0));
+const ItemTitleUI = /*#__PURE__*/emotion_styled_base_browser_esm(text_component,  true ? {
+  target: "ejwewyf0"
+} : 0)(() => (0,external_wp_i18n_namespaceObject.isRTL)() ? 'margin-left: auto;' : 'margin-right: auto;', " font-size:14px;line-height:20px;color:inherit;" + ( true ? "" : 0));

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = calculateDimension;
-function calculateDimension(el, axis) {
-  var borderBox = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-  var withMargin = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/use-navigation-tree-nodes.js
+/**
+ * External dependencies
+ */

-  if (!el) {
-    return 0;
-  }
+/**
+ * WordPress dependencies
+ */

-  var axisStart = axis === 'width' ? 'Left' : 'Top';
-  var axisEnd = axis === 'width' ? 'Right' : 'Bottom';

-  // Only read styles if we need to
-  var style = !borderBox || withMargin ? window.getComputedStyle(el) : null;
+const useNavigationTreeNodes = () => {
+  const [nodes, setNodes] = (0,external_wp_element_namespaceObject.useState)({});

-  // Offset includes border and padding
-  var offsetWidth = el.offsetWidth,
-      offsetHeight = el.offsetHeight;
+  const getNode = key => nodes[key];

-  var size = axis === 'width' ? offsetWidth : offsetHeight;
+  const addNode = (key, value) => setNodes(original => ({ ...original,
+    [key]: (0,external_lodash_namespaceObject.omit)(value, 'children')
+  }));

-  // Get the inner size
-  if (!borderBox) {
-    size -= parseFloat(style['padding' + axisStart]) + parseFloat(style['padding' + axisEnd]) + parseFloat(style['border' + axisStart + 'Width']) + parseFloat(style['border' + axisEnd + 'Width']);
-  }
+  const removeNode = key => setNodes(original => (0,external_lodash_namespaceObject.omit)(original, key));

-  // Apply margin
-  if (withMargin) {
-    size += parseFloat(style['margin' + axisStart]) + parseFloat(style['margin' + axisEnd]);
-  }
+  return {
+    nodes,
+    getNode,
+    addNode,
+    removeNode
+  };
+};

-  return size;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/use-create-navigation-tree.js
+/**
+ * WordPress dependencies
+ */

-/***/ }),
+/**
+ * Internal dependencies
+ */

-/***/ "j1Hc":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+const useCreateNavigationTree = () => {
+  const {
+    nodes: items,
+    getNode: getItem,
+    addNode: addItem,
+    removeNode: removeItem
+  } = useNavigationTreeNodes();
+  const {
+    nodes: menus,
+    getNode: getMenu,
+    addNode: addMenu,
+    removeNode: removeMenu
+  } = useNavigationTreeNodes();
+  /**
+   * Stores direct nested menus of menus
+   * This makes it easy to traverse menu tree
+   *
+   * Key is the menu prop of the menu
+   * Value is an array of menu keys
+   */

+  const [childMenu, setChildMenu] = (0,external_wp_element_namespaceObject.useState)({});

-var undefined;
+  const getChildMenu = menu => childMenu[menu] || [];

-var $SyntaxError = SyntaxError;
-var $Function = Function;
-var $TypeError = TypeError;
+  const traverseMenu = (startMenu, callback) => {
+    const visited = [];
+    let queue = [startMenu];
+    let current;

-// eslint-disable-next-line consistent-return
-var getEvalledConstructor = function (expressionSyntax) {
-	try {
-		return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
-	} catch (e) {}
-};
+    while (queue.length > 0) {
+      current = getMenu(queue.shift());

-var $gOPD = Object.getOwnPropertyDescriptor;
-if ($gOPD) {
-	try {
-		$gOPD({}, '');
-	} catch (e) {
-		$gOPD = null; // this is IE 8, which has a broken gOPD
-	}
-}
+      if (!current || visited.includes(current.menu)) {
+        continue;
+      }

-var throwTypeError = function () {
-	throw new $TypeError();
-};
-var ThrowTypeError = $gOPD
-	? (function () {
-		try {
-			// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
-			arguments.callee; // IE 8 does not throw here
-			return throwTypeError;
-		} catch (calleeThrows) {
-			try {
-				// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
-				return $gOPD(arguments, 'callee').get;
-			} catch (gOPDthrows) {
-				return throwTypeError;
-			}
-		}
-	}())
-	: throwTypeError;
+      visited.push(current.menu);
+      queue = [...queue, ...getChildMenu(current.menu)];

-var hasSymbols = __webpack_require__("HyUg")();
+      if (callback(current) === false) {
+        break;
+      }
+    }
+  };

-var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
+  const isMenuEmpty = menuToCheck => {
+    let isEmpty = true;
+    traverseMenu(menuToCheck, current => {
+      if (!current.isEmpty) {
+        isEmpty = false;
+        return false;
+      }
+    });
+    return isEmpty;
+  };

-var needsEval = {};
+  return {
+    items,
+    getItem,
+    addItem,
+    removeItem,
+    menus,
+    getMenu,
+    addMenu: (key, value) => {
+      setChildMenu(state => {
+        const newState = { ...state
+        };

-var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
+        if (!newState[value.parentMenu]) {
+          newState[value.parentMenu] = [];
+        }

-var INTRINSICS = {
-	'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
-	'%Array%': Array,
-	'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
-	'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
-	'%AsyncFromSyncIteratorPrototype%': undefined,
-	'%AsyncFunction%': needsEval,
-	'%AsyncGenerator%': needsEval,
-	'%AsyncGeneratorFunction%': needsEval,
-	'%AsyncIteratorPrototype%': needsEval,
-	'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
-	'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
-	'%Boolean%': Boolean,
-	'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
-	'%Date%': Date,
-	'%decodeURI%': decodeURI,
-	'%decodeURIComponent%': decodeURIComponent,
-	'%encodeURI%': encodeURI,
-	'%encodeURIComponent%': encodeURIComponent,
-	'%Error%': Error,
-	'%eval%': eval, // eslint-disable-line no-eval
-	'%EvalError%': EvalError,
-	'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
-	'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
-	'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
-	'%Function%': $Function,
-	'%GeneratorFunction%': needsEval,
-	'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
-	'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
-	'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
-	'%isFinite%': isFinite,
-	'%isNaN%': isNaN,
-	'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
-	'%JSON%': typeof JSON === 'object' ? JSON : undefined,
-	'%Map%': typeof Map === 'undefined' ? undefined : Map,
-	'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
-	'%Math%': Math,
-	'%Number%': Number,
-	'%Object%': Object,
-	'%parseFloat%': parseFloat,
-	'%parseInt%': parseInt,
-	'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
-	'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
-	'%RangeError%': RangeError,
-	'%ReferenceError%': ReferenceError,
-	'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
-	'%RegExp%': RegExp,
-	'%Set%': typeof Set === 'undefined' ? undefined : Set,
-	'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
-	'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
-	'%String%': String,
-	'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
-	'%Symbol%': hasSymbols ? Symbol : undefined,
-	'%SyntaxError%': $SyntaxError,
-	'%ThrowTypeError%': ThrowTypeError,
-	'%TypedArray%': TypedArray,
-	'%TypeError%': $TypeError,
-	'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
-	'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
-	'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
-	'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
-	'%URIError%': URIError,
-	'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
-	'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
-	'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
+        newState[value.parentMenu].push(key);
+        return newState;
+      });
+      addMenu(key, value);
+    },
+    removeMenu,
+    childMenu,
+    traverseMenu,
+    isMenuEmpty
+  };
 };

-var doEval = function doEval(name) {
-	var value;
-	if (name === '%AsyncFunction%') {
-		value = getEvalledConstructor('async function () {}');
-	} else if (name === '%GeneratorFunction%') {
-		value = getEvalledConstructor('function* () {}');
-	} else if (name === '%AsyncGeneratorFunction%') {
-		value = getEvalledConstructor('async function* () {}');
-	} else if (name === '%AsyncGenerator%') {
-		var fn = doEval('%AsyncGeneratorFunction%');
-		if (fn) {
-			value = fn.prototype;
-		}
-	} else if (name === '%AsyncIteratorPrototype%') {
-		var gen = doEval('%AsyncGenerator%');
-		if (gen) {
-			value = getProto(gen.prototype);
-		}
-	}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/index.js

-	INTRINSICS[name] = value;

-	return value;
-};
+/**
+ * External dependencies
+ */

-var LEGACY_ALIASES = {
-	'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
-	'%ArrayPrototype%': ['Array', 'prototype'],
-	'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
-	'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
-	'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
-	'%ArrayProto_values%': ['Array', 'prototype', 'values'],
-	'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
-	'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
-	'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
-	'%BooleanPrototype%': ['Boolean', 'prototype'],
-	'%DataViewPrototype%': ['DataView', 'prototype'],
-	'%DatePrototype%': ['Date', 'prototype'],
-	'%ErrorPrototype%': ['Error', 'prototype'],
-	'%EvalErrorPrototype%': ['EvalError', 'prototype'],
-	'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
-	'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
-	'%FunctionPrototype%': ['Function', 'prototype'],
-	'%Generator%': ['GeneratorFunction', 'prototype'],
-	'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
-	'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
-	'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
-	'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
-	'%JSONParse%': ['JSON', 'parse'],
-	'%JSONStringify%': ['JSON', 'stringify'],
-	'%MapPrototype%': ['Map', 'prototype'],
-	'%NumberPrototype%': ['Number', 'prototype'],
-	'%ObjectPrototype%': ['Object', 'prototype'],
-	'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
-	'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
-	'%PromisePrototype%': ['Promise', 'prototype'],
-	'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
-	'%Promise_all%': ['Promise', 'all'],
-	'%Promise_reject%': ['Promise', 'reject'],
-	'%Promise_resolve%': ['Promise', 'resolve'],
-	'%RangeErrorPrototype%': ['RangeError', 'prototype'],
-	'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
-	'%RegExpPrototype%': ['RegExp', 'prototype'],
-	'%SetPrototype%': ['Set', 'prototype'],
-	'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
-	'%StringPrototype%': ['String', 'prototype'],
-	'%SymbolPrototype%': ['Symbol', 'prototype'],
-	'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
-	'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
-	'%TypeErrorPrototype%': ['TypeError', 'prototype'],
-	'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
-	'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
-	'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
-	'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
-	'%URIErrorPrototype%': ['URIError', 'prototype'],
-	'%WeakMapPrototype%': ['WeakMap', 'prototype'],
-	'%WeakSetPrototype%': ['WeakSet', 'prototype']
-};

-var bind = __webpack_require__("D3zA");
-var hasOwn = __webpack_require__("oNNP");
-var $concat = bind.call(Function.call, Array.prototype.concat);
-var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
-var $replace = bind.call(Function.call, String.prototype.replace);
-var $strSlice = bind.call(Function.call, String.prototype.slice);
+/**
+ * WordPress dependencies
+ */

-/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
-var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
-var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
-var stringToPath = function stringToPath(string) {
-	var first = $strSlice(string, 0, 1);
-	var last = $strSlice(string, -1);
-	if (first === '%' && last !== '%') {
-		throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
-	} else if (last === '%' && first !== '%') {
-		throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
-	}
-	var result = [];
-	$replace(string, rePropName, function (match, number, quote, subString) {
-		result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
-	});
-	return result;
-};
-/* end adaptation */

-var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
-	var intrinsicName = name;
-	var alias;
-	if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
-		alias = LEGACY_ALIASES[intrinsicName];
-		intrinsicName = '%' + alias[0] + '%';
-	}

-	if (hasOwn(INTRINSICS, intrinsicName)) {
-		var value = INTRINSICS[intrinsicName];
-		if (value === needsEval) {
-			value = doEval(intrinsicName);
-		}
-		if (typeof value === 'undefined' && !allowMissing) {
-			throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
-		}
+/**
+ * Internal dependencies
+ */

-		return {
-			alias: alias,
-			name: intrinsicName,
-			value: value
-		};
-	}

-	throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
-};

-module.exports = function GetIntrinsic(name, allowMissing) {
-	if (typeof name !== 'string' || name.length === 0) {
-		throw new $TypeError('intrinsic name must be a non-empty string');
-	}
-	if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
-		throw new $TypeError('"allowMissing" argument must be a boolean');
-	}

-	var parts = stringToPath(name);
-	var intrinsicBaseName = parts.length > 0 ? parts[0] : '';

-	var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
-	var intrinsicRealName = intrinsic.name;
-	var value = intrinsic.value;
-	var skipFurtherCaching = false;

-	var alias = intrinsic.alias;
-	if (alias) {
-		intrinsicBaseName = alias[0];
-		$spliceApply(parts, $concat([0, 1], alias));
-	}
+function Navigation(_ref) {
+  let {
+    activeItem,
+    activeMenu = ROOT_MENU,
+    children,
+    className,
+    onActivateMenu = external_lodash_namespaceObject.noop
+  } = _ref;
+  const [menu, setMenu] = (0,external_wp_element_namespaceObject.useState)(activeMenu);
+  const [slideOrigin, setSlideOrigin] = (0,external_wp_element_namespaceObject.useState)();
+  const navigationTree = useCreateNavigationTree();
+  const defaultSlideOrigin = (0,external_wp_i18n_namespaceObject.isRTL)() ? 'right' : 'left';

-	for (var i = 1, isOwn = true; i < parts.length; i += 1) {
-		var part = parts[i];
-		var first = $strSlice(part, 0, 1);
-		var last = $strSlice(part, -1);
-		if (
-			(
-				(first === '"' || first === "'" || first === '`')
-				|| (last === '"' || last === "'" || last === '`')
-			)
-			&& first !== last
-		) {
-			throw new $SyntaxError('property names with quotes must have matching quotes');
-		}
-		if (part === 'constructor' || !isOwn) {
-			skipFurtherCaching = true;
-		}
+  const setActiveMenu = function (menuId) {
+    let slideInOrigin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultSlideOrigin;

-		intrinsicBaseName += '.' + part;
-		intrinsicRealName = '%' + intrinsicBaseName + '%';
+    if (!navigationTree.getMenu(menuId)) {
+      return;
+    }

-		if (hasOwn(INTRINSICS, intrinsicRealName)) {
-			value = INTRINSICS[intrinsicRealName];
-		} else if (value != null) {
-			if (!(part in value)) {
-				if (!allowMissing) {
-					throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
-				}
-				return void undefined;
-			}
-			if ($gOPD && (i + 1) >= parts.length) {
-				var desc = $gOPD(value, part);
-				isOwn = !!desc;
+    setSlideOrigin(slideInOrigin);
+    setMenu(menuId);
+    onActivateMenu(menuId);
+  }; // Used to prevent the sliding animation on mount

-				// By convention, when a data property is converted to an accessor
-				// property to emulate a data property that does not suffer from
-				// the override mistake, that accessor's getter is marked with
-				// an `originalValue` property. Here, when we detect this, we
-				// uphold the illusion by pretending to see that original data
-				// property, i.e., returning the value rather than the getter
-				// itself.
-				if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
-					value = desc.get;
-				} else {
-					value = value[part];
-				}
-			} else {
-				isOwn = hasOwn(value, part);
-				value = value[part];
-			}

-			if (isOwn && !skipFurtherCaching) {
-				INTRINSICS[intrinsicRealName] = value;
-			}
-		}
-	}
-	return value;
-};
+  const isMounted = (0,external_wp_element_namespaceObject.useRef)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!isMounted.current) {
+      isMounted.current = true;
+    }
+  }, []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (activeMenu !== menu) {
+      setActiveMenu(activeMenu);
+    }
+  }, [activeMenu]);
+  const context = {
+    activeItem,
+    activeMenu: menu,
+    setActiveMenu,
+    navigationTree
+  };
+  const classes = classnames_default()('components-navigation', className);
+  const animateClassName = getAnimateClassName({
+    type: 'slide-in',
+    origin: slideOrigin
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(NavigationUI, {
+    className: classes
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    key: menu,
+    className: classnames_default()({
+      [animateClassName]: isMounted.current && slideOrigin
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)(NavigationContext.Provider, {
+    value: context
+  }, children)));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js

-/***/ }),

-/***/ "jB5C":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";
+const chevronRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
+}));
+/* harmony default export */ var chevron_right = (chevronRight);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js

-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
+/**
+ * WordPress dependencies
+ */

-var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;
+const chevronLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
+}));
+/* harmony default export */ var chevron_left = (chevronLeft);

-function getClientPosition(elem) {
-  var box = undefined;
-  var x = undefined;
-  var y = undefined;
-  var doc = elem.ownerDocument;
-  var body = doc.body;
-  var docElem = doc && doc.documentElement;
-  // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式
-  box = elem.getBoundingClientRect();
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/back-button/index.js

-  // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop
-  // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确
-  // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin

-  x = box.left;
-  y = box.top;
+/**
+ * External dependencies
+ */

-  // In IE, most of the time, 2 extra pixels are added to the top and left
-  // due to the implicit 2-pixel inset border.  In IE6/7 quirks mode and
-  // IE6 standards mode, this border can be overridden by setting the
-  // document element's border to zero -- thus, we cannot rely on the
-  // offset always being 2 pixels.
+/**
+ * WordPress dependencies
+ */

-  // In quirks mode, the offset can be determined by querying the body's
-  // clientLeft/clientTop, but in standards mode, it is found by querying
-  // the document element's clientLeft/clientTop.  Since we already called
-  // getClientBoundingRect we have already forced a reflow, so it is not
-  // too expensive just to query them all.

-  // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的
-  // 窗口边框标准是设 documentElement ,quirks 时设置 body
-  // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去
-  // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置
-  // 标准 ie 下 docElem.clientTop 就是 border-top
-  // ie7 html 即窗口边框改变不了。永远为 2
-  // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0

-  x -= docElem.clientLeft || body.clientLeft || 0;
-  y -= docElem.clientTop || body.clientTop || 0;

-  return {
-    left: x,
-    top: y
+/**
+ * Internal dependencies
+ */
+
+
+
+
+function NavigationBackButton(_ref, ref) {
+  var _navigationTree$getMe;
+
+  let {
+    backButtonLabel,
+    className,
+    href,
+    onClick,
+    parentMenu
+  } = _ref;
+  const {
+    setActiveMenu,
+    navigationTree
+  } = useNavigationContext();
+  const classes = classnames_default()('components-navigation__back-button', className);
+  const parentMenuTitle = (_navigationTree$getMe = navigationTree.getMenu(parentMenu)) === null || _navigationTree$getMe === void 0 ? void 0 : _navigationTree$getMe.title;
+
+  const handleOnClick = event => {
+    if (typeof onClick === 'function') {
+      onClick(event);
+    }
+
+    const animationDirection = (0,external_wp_i18n_namespaceObject.isRTL)() ? 'left' : 'right';
+
+    if (parentMenu && !event.defaultPrevented) {
+      setActiveMenu(parentMenu, animationDirection);
+    }
   };
+
+  const icon = (0,external_wp_i18n_namespaceObject.isRTL)() ? chevron_right : chevron_left;
+  return (0,external_wp_element_namespaceObject.createElement)(MenuBackButtonUI, {
+    className: classes,
+    href: href,
+    variant: "tertiary",
+    ref: ref,
+    onClick: handleOnClick
+  }, (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+    icon: icon
+  }), backButtonLabel || parentMenuTitle || (0,external_wp_i18n_namespaceObject.__)('Back'));
 }

-function getScroll(w, top) {
-  var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];
-  var method = 'scroll' + (top ? 'Top' : 'Left');
-  if (typeof ret !== 'number') {
-    var d = w.document;
-    // ie6,7,8 standard mode
-    ret = d.documentElement[method];
-    if (typeof ret !== 'number') {
-      // quirks mode
-      ret = d.body[method];
+/* harmony default export */ var back_button = ((0,external_wp_element_namespaceObject.forwardRef)(NavigationBackButton));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/group/context.js
+/**
+ * WordPress dependencies
+ */
+
+const NavigationGroupContext = (0,external_wp_element_namespaceObject.createContext)({
+  group: undefined
+});
+const useNavigationGroupContext = () => (0,external_wp_element_namespaceObject.useContext)(NavigationGroupContext);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/group/index.js
+
+
+/**
+ * External dependencies
+ */
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+function NavigationGroup(_ref) {
+  let {
+    children,
+    className,
+    title
+  } = _ref;
+  const [groupId] = (0,external_wp_element_namespaceObject.useState)((0,external_lodash_namespaceObject.uniqueId)('group-'));
+  const {
+    navigationTree: {
+      items
     }
+  } = useNavigationContext();
+  const context = {
+    group: groupId
+  }; // Keep the children rendered to make sure invisible items are included in the navigation tree.
+
+  if (!(0,external_lodash_namespaceObject.find)(items, {
+    group: groupId,
+    _isVisible: true
+  })) {
+    return (0,external_wp_element_namespaceObject.createElement)(NavigationGroupContext.Provider, {
+      value: context
+    }, children);
   }
-  return ret;
-}

-function getScrollLeft(w) {
-  return getScroll(w);
+  const groupTitleId = `components-navigation__group-title-${groupId}`;
+  const classes = classnames_default()('components-navigation__group', className);
+  return (0,external_wp_element_namespaceObject.createElement)(NavigationGroupContext.Provider, {
+    value: context
+  }, (0,external_wp_element_namespaceObject.createElement)("li", {
+    className: classes
+  }, title && (0,external_wp_element_namespaceObject.createElement)(GroupTitleUI, {
+    className: "components-navigation__group-title",
+    id: groupTitleId,
+    level: 3
+  }, title), (0,external_wp_element_namespaceObject.createElement)("ul", {
+    "aria-labelledby": groupTitleId,
+    role: "group"
+  }, children)));
 }

-function getScrollTop(w) {
-  return getScroll(w, true);
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/item/base-content.js

-function getOffset(el) {
-  var pos = getClientPosition(el);
-  var doc = el.ownerDocument;
-  var w = doc.defaultView || doc.parentWindow;
-  pos.left += getScrollLeft(w);
-  pos.top += getScrollTop(w);
-  return pos;
-}
-function _getComputedStyle(elem, name, computedStyle_) {
-  var val = '';
-  var d = elem.ownerDocument;
-  var computedStyle = computedStyle_ || d.defaultView.getComputedStyle(elem, null);

-  // https://github.com/kissyteam/kissy/issues/61
-  if (computedStyle) {
-    val = computedStyle.getPropertyValue(name) || computedStyle[name];
-  }
+/**
+ * Internal dependencies
+ */

-  return val;
+function NavigationItemBaseContent(props) {
+  const {
+    badge,
+    title
+  } = props;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, title && (0,external_wp_element_namespaceObject.createElement)(ItemTitleUI, {
+    className: "components-navigation__item-title",
+    variant: "body.small",
+    as: "span"
+  }, title), badge && (0,external_wp_element_namespaceObject.createElement)(ItemBadgeUI, {
+    className: "components-navigation__item-badge"
+  }, badge));
 }

-var _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');
-var RE_POS = /^(top|right|bottom|left)$/;
-var CURRENT_STYLE = 'currentStyle';
-var RUNTIME_STYLE = 'runtimeStyle';
-var LEFT = 'left';
-var PX = 'px';
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/context.js
+/**
+ * WordPress dependencies
+ */

-function _getComputedStyleIE(elem, name) {
-  // currentStyle maybe null
-  // http://msdn.microsoft.com/en-us/library/ms535231.aspx
-  var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];
+const NavigationMenuContext = (0,external_wp_element_namespaceObject.createContext)({
+  menu: undefined,
+  search: ''
+});
+const useNavigationMenuContext = () => (0,external_wp_element_namespaceObject.useContext)(NavigationMenuContext);

-  // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值
-  // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19
-  // 在 ie 下不对,需要直接用 offset 方式
-  // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/utils.js
+/**
+ * External dependencies
+ */
+ // @see packages/block-editor/src/components/inserter/search-items.js
+
+const normalizeInput = input => (0,external_lodash_namespaceObject.deburr)(input).replace(/^\//, '').toLowerCase();
+const normalizedSearch = (title, search) => -1 !== normalizeInput(title).indexOf(normalizeInput(search));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/item/use-navigation-tree-item.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+const useNavigationTreeItem = (itemId, props) => {
+  const {
+    activeMenu,
+    navigationTree: {
+      addItem,
+      removeItem
+    }
+  } = useNavigationContext();
+  const {
+    group
+  } = useNavigationGroupContext();
+  const {
+    menu,
+    search
+  } = useNavigationMenuContext();
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const isMenuActive = activeMenu === menu;
+    const isItemVisible = !search || normalizedSearch(props.title, search);
+    addItem(itemId, { ...props,
+      group,
+      menu,
+      _isVisible: isMenuActive && isItemVisible
+    });
+    return () => {
+      removeItem(itemId);
+    };
+  }, [activeMenu, search]);
+};

-  // From the awesome hack by Dean Edwards
-  // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
-  // If we're not dealing with a regular pixel number
-  // but a number that has a weird ending, we need to convert it to pixels
-  // exclude left right for relativity
-  if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {
-    // Remember the original values
-    var style = elem.style;
-    var left = style[LEFT];
-    var rsLeft = elem[RUNTIME_STYLE][LEFT];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/item/base.js

-    // prevent flashing of content
-    elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];

-    // Put in the new values to get a computed value out
-    style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;
-    ret = style.pixelLeft + PX;

-    // Revert the changed values
-    style[LEFT] = left;
+/**
+ * External dependencies
+ */

-    elem[RUNTIME_STYLE][LEFT] = rsLeft;
-  }
-  return ret === '' ? 'auto' : ret;
-}

-var getComputedStyleX = undefined;
-if (typeof window !== 'undefined') {
-  getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;
-}
+/**
+ * WordPress dependencies
+ */

-function each(arr, fn) {
-  for (var i = 0; i < arr.length; i++) {
-    fn(arr[i]);
-  }
-}

-function isBorderBoxFn(elem) {
-  return getComputedStyleX(elem, 'boxSizing') === 'border-box';
-}
+/**
+ * Internal dependencies
+ */

-var BOX_MODELS = ['margin', 'border', 'padding'];
-var CONTENT_INDEX = -1;
-var PADDING_INDEX = 2;
-var BORDER_INDEX = 1;
-var MARGIN_INDEX = 0;

-function swap(elem, options, callback) {
-  var old = {};
-  var style = elem.style;
-  var name = undefined;

-  // Remember the old values, and insert the new ones
-  for (name in options) {
-    if (options.hasOwnProperty(name)) {
-      old[name] = style[name];
-      style[name] = options[name];
-    }
-  }

-  callback.call(elem);
+function NavigationItemBase(props) {
+  var _navigationTree$getIt;

-  // Revert the old values
-  for (name in options) {
-    if (options.hasOwnProperty(name)) {
-      style[name] = old[name];
-    }
-  }
-}
+  const {
+    children,
+    className,
+    ...restProps
+  } = props;
+  const [itemId] = (0,external_wp_element_namespaceObject.useState)((0,external_lodash_namespaceObject.uniqueId)('item-'));
+  useNavigationTreeItem(itemId, props);
+  const {
+    navigationTree
+  } = useNavigationContext();

-function getPBMWidth(elem, props, which) {
-  var value = 0;
-  var prop = undefined;
-  var j = undefined;
-  var i = undefined;
-  for (j = 0; j < props.length; j++) {
-    prop = props[j];
-    if (prop) {
-      for (i = 0; i < which.length; i++) {
-        var cssProp = undefined;
-        if (prop === 'border') {
-          cssProp = prop + which[i] + 'Width';
-        } else {
-          cssProp = prop + which[i];
-        }
-        value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;
-      }
-    }
+  if (!((_navigationTree$getIt = navigationTree.getItem(itemId)) !== null && _navigationTree$getIt !== void 0 && _navigationTree$getIt._isVisible)) {
+    return null;
   }
-  return value;
-}

-/**
- * A crude way of determining if an object is a window
- * @member util
- */
-function isWindow(obj) {
-  // must use == for ie8
-  /* eslint eqeqeq:0 */
-  return obj != null && obj == obj.window;
+  const classes = classnames_default()('components-navigation__item', className);
+  return (0,external_wp_element_namespaceObject.createElement)(ItemBaseUI, extends_extends({
+    className: classes
+  }, restProps), children);
 }

-var domUtils = {};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/item/index.js

-each(['Width', 'Height'], function (name) {
-  domUtils['doc' + name] = function (refWin) {
-    var d = refWin.document;
-    return Math.max(
-    // firefox chrome documentElement.scrollHeight< body.scrollHeight
-    // ie standard mode : documentElement.scrollHeight> body.scrollHeight
-    d.documentElement['scroll' + name],
-    // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?
-    d.body['scroll' + name], domUtils['viewport' + name](d));
-  };

-  domUtils['viewport' + name] = function (win) {
-    // pc browser includes scrollbar in window.innerWidth
-    var prop = 'client' + name;
-    var doc = win.document;
-    var body = doc.body;
-    var documentElement = doc.documentElement;
-    var documentElementProp = documentElement[prop];
-    // 标准模式取 documentElement
-    // backcompat 取 body
-    return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;
-  };
-});

-/*
- 得到元素的大小信息
- @param elem
- @param name
- @param {String} [extra]  'padding' : (css width) + padding
- 'border' : (css width) + padding + border
- 'margin' : (css width) + padding + border + margin
+/**
+ * External dependencies
  */
-function getWH(elem, name, extra) {
-  if (isWindow(elem)) {
-    return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);
-  } else if (elem.nodeType === 9) {
-    return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);
-  }
-  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
-  var borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;
-  var computedStyle = getComputedStyleX(elem);
-  var isBorderBox = isBorderBoxFn(elem, computedStyle);
-  var cssBoxValue = 0;
-  if (borderBoxValue == null || borderBoxValue <= 0) {
-    borderBoxValue = undefined;
-    // Fall back to computed then un computed css if necessary
-    cssBoxValue = getComputedStyleX(elem, name);
-    if (cssBoxValue == null || Number(cssBoxValue) < 0) {
-      cssBoxValue = elem.style[name] || 0;
-    }
-    // Normalize '', auto, and prepare for extra
-    cssBoxValue = parseFloat(cssBoxValue) || 0;
-  }
-  if (extra === undefined) {
-    extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;
-  }
-  var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;
-  var val = borderBoxValue || cssBoxValue;
-  if (extra === CONTENT_INDEX) {
-    if (borderBoxValueOrIsBorderBox) {
-      return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);
-    }
-    return cssBoxValue;
-  }
-  if (borderBoxValueOrIsBorderBox) {
-    var padding = extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle);
-    return val + (extra === BORDER_INDEX ? 0 : padding);
-  }
-  return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);
-}

-var cssShow = {
-  position: 'absolute',
-  visibility: 'hidden',
-  display: 'block'
-};

-// fix #119 : https://github.com/kissyteam/kissy/issues/119
-function getWHIgnoreDisplay(elem) {
-  var val = undefined;
-  var args = arguments;
-  // in case elem is window
-  // elem.offsetWidth === undefined
-  if (elem.offsetWidth !== 0) {
-    val = getWH.apply(undefined, args);
-  } else {
-    swap(elem, cssShow, function () {
-      val = getWH.apply(undefined, args);
-    });
-  }
-  return val;
-}
+/**
+ * WordPress dependencies
+ */

-function css(el, name, v) {
-  var value = v;
-  if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {
-    for (var i in name) {
-      if (name.hasOwnProperty(i)) {
-        css(el, i, name[i]);
-      }
-    }
-    return undefined;
-  }
-  if (typeof value !== 'undefined') {
-    if (typeof value === 'number') {
-      value += 'px';
-    }
-    el.style[name] = value;
-    return undefined;
-  }
-  return getComputedStyleX(el, name);
-}

-each(['width', 'height'], function (name) {
-  var first = name.charAt(0).toUpperCase() + name.slice(1);
-  domUtils['outer' + first] = function (el, includeMargin) {
-    return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);
-  };
-  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];

-  domUtils[name] = function (elem, val) {
-    if (val !== undefined) {
-      if (elem) {
-        var computedStyle = getComputedStyleX(elem);
-        var isBorderBox = isBorderBoxFn(elem);
-        if (isBorderBox) {
-          val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);
-        }
-        return css(elem, name, val);
-      }
-      return undefined;
-    }
-    return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);
-  };
-});
+/**
+ * Internal dependencies
+ */

-// 设置 elem 相对 elem.ownerDocument 的坐标
-function setOffset(elem, offset) {
-  // set position first, in-case top/left are set even on static elem
-  if (css(elem, 'position') === 'static') {
-    elem.style.position = 'relative';
-  }

-  var old = getOffset(elem);
-  var ret = {};
-  var current = undefined;
-  var key = undefined;

-  for (key in offset) {
-    if (offset.hasOwnProperty(key)) {
-      current = parseFloat(css(elem, key)) || 0;
-      ret[key] = current + offset[key] - old[key];
-    }
-  }
-  css(elem, ret);
-}

-module.exports = _extends({
-  getWindow: function getWindow(node) {
-    var doc = node.ownerDocument || node;
-    return doc.defaultView || doc.parentWindow;
-  },
-  offset: function offset(el, value) {
-    if (typeof value !== 'undefined') {
-      setOffset(el, value);
-    } else {
-      return getOffset(el);
-    }
-  },

-  isWindow: isWindow,
-  each: each,
-  css: css,
-  clone: function clone(obj) {
-    var ret = {};
-    for (var i in obj) {
-      if (obj.hasOwnProperty(i)) {
-        ret[i] = obj[i];
-      }
-    }
-    var overflow = obj.overflow;
-    if (overflow) {
-      for (var i in obj) {
-        if (obj.hasOwnProperty(i)) {
-          ret.overflow[i] = obj.overflow[i];
-        }
-      }
-    }
-    return ret;
-  },
-  scrollLeft: function scrollLeft(w, v) {
-    if (isWindow(w)) {
-      if (v === undefined) {
-        return getScrollLeft(w);
-      }
-      window.scrollTo(v, getScrollTop(w));
-    } else {
-      if (v === undefined) {
-        return w.scrollLeft;
-      }
-      w.scrollLeft = v;
-    }
-  },
-  scrollTop: function scrollTop(w, v) {
-    if (isWindow(w)) {
-      if (v === undefined) {
-        return getScrollTop(w);
-      }
-      window.scrollTo(getScrollLeft(w), v);
-    } else {
-      if (v === undefined) {
-        return w.scrollTop;
-      }
-      w.scrollTop = v;
+
+function NavigationItem(props) {
+  const {
+    badge,
+    children,
+    className,
+    href,
+    item,
+    navigateToMenu,
+    onClick = external_lodash_namespaceObject.noop,
+    title,
+    icon,
+    hideIfTargetMenuEmpty,
+    isText,
+    ...restProps
+  } = props;
+  const {
+    activeItem,
+    setActiveMenu,
+    navigationTree: {
+      isMenuEmpty
     }
-  },
+  } = useNavigationContext(); // If hideIfTargetMenuEmpty prop is true
+  // And the menu we are supposed to navigate to
+  // Is marked as empty, then we skip rendering the item

-  viewportWidth: 0,
-  viewportHeight: 0
-}, domUtils);
+  if (hideIfTargetMenuEmpty && navigateToMenu && isMenuEmpty(navigateToMenu)) {
+    return null;
+  }

-/***/ }),
+  const isActive = item && activeItem === item;
+  const classes = classnames_default()(className, {
+    'is-active': isActive
+  });

-/***/ "jXQH":
-/***/ (function(module, exports, __webpack_require__) {
+  const onItemClick = event => {
+    if (navigateToMenu) {
+      setActiveMenu(navigateToMenu);
+    }

-var trimmedEndIndex = __webpack_require__("TO8r");
+    onClick(event);
+  };

-/** Used to match leading whitespace. */
-var reTrimStart = /^\s+/;
+  const navigationIcon = (0,external_wp_i18n_namespaceObject.isRTL)() ? chevron_left : chevron_right;
+  const baseProps = children ? props : { ...props,
+    onClick: undefined
+  };
+  const itemProps = isText ? restProps : {
+    as: build_module_button,
+    href,
+    onClick: onItemClick,
+    'aria-current': isActive ? 'page' : undefined,
+    ...restProps
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(NavigationItemBase, extends_extends({}, baseProps, {
+    className: classes
+  }), children || (0,external_wp_element_namespaceObject.createElement)(ItemUI, itemProps, icon && (0,external_wp_element_namespaceObject.createElement)(ItemIconUI, null, (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+    icon: icon
+  })), (0,external_wp_element_namespaceObject.createElement)(NavigationItemBaseContent, {
+    title: title,
+    badge: badge
+  }), navigateToMenu && (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+    icon: navigationIcon
+  })));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/use-navigation-tree-menu.js
 /**
- * The base implementation of `_.trim`.
- *
- * @private
- * @param {string} string The string to trim.
- * @returns {string} Returns the trimmed string.
+ * WordPress dependencies
  */
-function baseTrim(string) {
-  return string
-    ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
-    : string;
-}

-module.exports = baseTrim;
+/**
+ * Internal dependencies
+ */


-/***/ }),

-/***/ "jenk":
-/***/ (function(module, exports, __webpack_require__) {
+const useNavigationTreeMenu = props => {
+  const {
+    navigationTree: {
+      addMenu,
+      removeMenu
+    }
+  } = useNavigationContext();
+  const key = props.menu || ROOT_MENU;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    addMenu(key, { ...props,
+      menu: key
+    });
+    return () => {
+      removeMenu(key);
+    };
+  }, []);
+};

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/menu-title-search.js


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = toISOMonthString;
+/**
+ * External dependencies
+ */

-var _moment = __webpack_require__("wy2R");
+/**
+ * WordPress dependencies
+ */

-var _moment2 = _interopRequireDefault(_moment);

-var _toMomentObject = __webpack_require__("WmS1");

-var _toMomentObject2 = _interopRequireDefault(_toMomentObject);

-var _constants = __webpack_require__("Fv1B");
+/**
+ * Internal dependencies
+ */

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function toISOMonthString(date, currentFormat) {
-  var dateObj = _moment2['default'].isMoment(date) ? date : (0, _toMomentObject2['default'])(date, currentFormat);
-  if (!dateObj) return null;

-  return dateObj.format(_constants.ISO_MONTH_FORMAT);
-}

-/***/ }),

-/***/ "k2cL":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isSelfTarget; });
-/**
- * Returns `true` if `event.target` and `event.currentTarget` are the same.
- */
-function isSelfTarget(event) {
-  return event.target === event.currentTarget;
-}

+function MenuTitleSearch(_ref) {
+  let {
+    debouncedSpeak,
+    onCloseSearch,
+    onSearch,
+    search,
+    title
+  } = _ref;
+  const {
+    navigationTree: {
+      items
+    }
+  } = useNavigationContext();
+  const {
+    menu
+  } = useNavigationMenuContext();
+  const inputRef = (0,external_wp_element_namespaceObject.useRef)(); // Wait for the slide-in animation to complete before autofocusing the input.
+  // This prevents scrolling to the input during the animation.

+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const delayedFocus = setTimeout(() => {
+      inputRef.current.focus();
+    }, SEARCH_FOCUS_DELAY);
+    return () => {
+      clearTimeout(delayedFocus);
+    };
+  }, []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!search) {
+      return;
+    }

+    const count = (0,external_lodash_namespaceObject.filter)(items, '_isVisible').length;
+    const resultsFoundMessage = (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %d: number of results. */
+    (0,external_wp_i18n_namespaceObject._n)('%d result found.', '%d results found.', count), count);
+    debouncedSpeak(resultsFoundMessage);
+  }, [items, search]);

-/***/ }),
+  const onClose = () => {
+    onSearch('');
+    onCloseSearch();
+  };

-/***/ "k8OV":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  function onKeyDown(event) {
+    if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented) {
+      event.preventDefault();
+      onClose();
+    }
+  }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ScrollLock; });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * WordPress dependencies
- */
+  const inputId = `components-navigation__menu-title-search-${menu}`;
+  const placeholder = (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: placeholder for menu search box. %s: menu title */
+  (0,external_wp_i18n_namespaceObject.__)('Search %s'), title === null || title === void 0 ? void 0 : title.toLowerCase()).trim();
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-navigation__menu-title-search"
+  }, (0,external_wp_element_namespaceObject.createElement)(MenuTitleSearchUI, {
+    autoComplete: "off",
+    className: "components-navigation__menu-search-input",
+    id: inputId,
+    onChange: value => onSearch(value),
+    onKeyDown: onKeyDown,
+    placeholder: placeholder,
+    onClose: onClose,
+    ref: inputRef,
+    type: "search",
+    value: search
+  }));
+}
+
+/* harmony default export */ var menu_title_search = (with_spoken_messages(MenuTitleSearch));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/menu-title.js

-/*
- * Setting `overflow: hidden` on html and body elements resets body scroll in iOS.
- * Save scroll top so we can restore it after locking scroll.
- *
- * NOTE: It would be cleaner and possibly safer to find a localized solution such
- * as preventing default on certain touchmove events.
- */

-let previousScrollTop = 0;
 /**
- * @param {boolean} locked
+ * WordPress dependencies
  */

-function setLocked(locked) {
-  const scrollingElement = document.scrollingElement || document.body;

-  if (locked) {
-    previousScrollTop = scrollingElement.scrollTop;
-  }

-  const methodName = locked ? 'add' : 'remove';
-  scrollingElement.classList[methodName]('lockscroll'); // Adding the class to the document element seems to be necessary in iOS.
+/**
+ * Internal dependencies
+ */

-  document.documentElement.classList[methodName]('lockscroll');

-  if (!locked) {
-    scrollingElement.scrollTop = previousScrollTop;
-  }
-}

-let lockCounter = 0;
-/**
- * A component that will lock scrolling when it is mounted and unlock scrolling when it is unmounted.
- *
- * @return {null} Render nothing.
- */

-function ScrollLock() {
-  Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(() => {
-    if (lockCounter === 0) {
-      setLocked(true);
-    }

-    ++lockCounter;
-    return () => {
-      if (lockCounter === 1) {
-        setLocked(false);
-      }

-      --lockCounter;
-    };
-  }, []);
-  return null;
-}

+function NavigationMenuTitle(_ref) {
+  let {
+    hasSearch,
+    onSearch,
+    search,
+    title,
+    titleAction
+  } = _ref;
+  const [isSearching, setIsSearching] = (0,external_wp_element_namespaceObject.useState)(false);
+  const {
+    menu
+  } = useNavigationMenuContext();
+  const searchButtonRef = (0,external_wp_element_namespaceObject.useRef)();
+
+  if (!title) {
+    return null;
+  }

-/***/ }),
+  const onCloseSearch = () => {
+    setIsSearching(false); // Wait for the slide-in animation to complete before focusing the search button.
+    // eslint-disable-next-line @wordpress/react-no-unsafe-timeout

-/***/ "kA6J":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    setTimeout(() => {
+      searchButtonRef.current.focus();
+    }, SEARCH_FOCUS_DELAY);
+  };

-"use strict";
-/* unused harmony export Button */
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("TSYQ");
-/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("NMb1");
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("W/NR");
-/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("9VDH");
-/* harmony import */ var _visually_hidden__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("iSWJ");
+  const menuTitleId = `components-navigation__menu-title-${menu}`;
+  /* translators: search button label for menu search box. %s: menu title */
+
+  const searchButtonLabel = (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Search in %s'), title);
+  return (0,external_wp_element_namespaceObject.createElement)(MenuTitleUI, {
+    className: "components-navigation__menu-title"
+  }, !isSearching && (0,external_wp_element_namespaceObject.createElement)(GroupTitleUI, {
+    as: "h2",
+    className: "components-navigation__menu-title-heading",
+    level: 3
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    id: menuTitleId
+  }, title), (hasSearch || titleAction) && (0,external_wp_element_namespaceObject.createElement)(MenuTitleActionsUI, null, titleAction, hasSearch && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    isSmall: true,
+    variant: "tertiary",
+    label: searchButtonLabel,
+    onClick: () => setIsSearching(true),
+    ref: searchButtonRef
+  }, (0,external_wp_element_namespaceObject.createElement)(icons_build_module_icon, {
+    icon: library_search
+  })))), isSearching && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: getAnimateClassName({
+      type: 'slide-in',
+      origin: 'left'
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)(menu_title_search, {
+    onCloseSearch: onCloseSearch,
+    onSearch: onSearch,
+    search: search,
+    title: title
+  })));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/search-no-results-found.js

-// @ts-nocheck

 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */


-
-
 /**
  * Internal dependencies
  */



-
-const disabledEventsOnDisabledButton = ['onMouseDown', 'onClick'];
-
-function useDeprecatedProps(_ref) {
+function NavigationSearchNoResultsFound(_ref) {
   let {
-    isDefault,
-    isPrimary,
-    isSecondary,
-    isTertiary,
-    isLink,
-    variant,
-    ...otherProps
+    search
   } = _ref;
-  let computedVariant = variant;
-
-  if (isPrimary) {
-    var _computedVariant;
+  const {
+    navigationTree: {
+      items
+    }
+  } = useNavigationContext();
+  const resultsCount = (0,external_lodash_namespaceObject.filter)(items, '_isVisible').length;

-    (_computedVariant = computedVariant) !== null && _computedVariant !== void 0 ? _computedVariant : computedVariant = 'primary';
+  if (!search || !!resultsCount) {
+    return null;
   }

-  if (isTertiary) {
-    var _computedVariant2;
+  return (0,external_wp_element_namespaceObject.createElement)(ItemBaseUI, null, (0,external_wp_element_namespaceObject.createElement)(ItemUI, null, (0,external_wp_i18n_namespaceObject.__)('No results found.'), " "));
+}

-    (_computedVariant2 = computedVariant) !== null && _computedVariant2 !== void 0 ? _computedVariant2 : computedVariant = 'tertiary';
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigation/menu/index.js

-  if (isSecondary) {
-    var _computedVariant3;

-    (_computedVariant3 = computedVariant) !== null && _computedVariant3 !== void 0 ? _computedVariant3 : computedVariant = 'secondary';
-  }
+/**
+ * External dependencies
+ */

-  if (isDefault) {
-    var _computedVariant4;
+/**
+ * WordPress dependencies
+ */

-    _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_4___default()('Button isDefault prop', {
-      since: '5.4',
-      alternative: 'variant="secondary"'
-    });
-    (_computedVariant4 = computedVariant) !== null && _computedVariant4 !== void 0 ? _computedVariant4 : computedVariant = 'secondary';
-  }

-  if (isLink) {
-    var _computedVariant5;
+/**
+ * Internal dependencies
+ */

-    (_computedVariant5 = computedVariant) !== null && _computedVariant5 !== void 0 ? _computedVariant5 : computedVariant = 'link';
-  }

-  return { ...otherProps,
-    variant: computedVariant
-  };
-}

-function Button(props, ref) {
-  const {
-    href,
-    target,
-    isSmall,
-    isPressed,
-    isBusy,
-    isDestructive,
-    className,
-    disabled,
-    icon,
-    iconPosition = 'left',
-    iconSize,
-    showTooltip,
-    tooltipPosition,
-    shortcut,
-    label,
-    children,
-    text,
-    variant,
-    __experimentalIsFocusable: isFocusable,
-    describedBy,
-    ...additionalProps
-  } = useDeprecatedProps(props);
-  const instanceId = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_5__["useInstanceId"])(Button, 'components-button__description');
-  const classes = classnames__WEBPACK_IMPORTED_MODULE_2___default()('components-button', className, {
-    'is-secondary': variant === 'secondary',
-    'is-primary': variant === 'primary',
-    'is-small': isSmall,
-    'is-tertiary': variant === 'tertiary',
-    'is-pressed': isPressed,
-    'is-busy': isBusy,
-    'is-link': variant === 'link',
-    'is-destructive': isDestructive,
-    'has-text': !!icon && !!children,
-    'has-icon': !!icon
-  });
-  const trulyDisabled = disabled && !isFocusable;
-  const Tag = href !== undefined && !trulyDisabled ? 'a' : 'button';
-  const tagProps = Tag === 'a' ? {
-    href,
-    target
-  } : {
-    type: 'button',
-    disabled: trulyDisabled,
-    'aria-pressed': isPressed
-  };

-  if (disabled && isFocusable) {
-    // In this case, the button will be disabled, but still focusable and
-    // perceivable by screen reader users.
-    tagProps['aria-disabled'] = true;

-    for (const disabledEvent of disabledEventsOnDisabledButton) {
-      additionalProps[disabledEvent] = event => {
-        event.stopPropagation();
-        event.preventDefault();
-      };
-    }
-  } // Should show the tooltip if...


-  const shouldShowTooltip = !trulyDisabled && ( // an explicit tooltip is passed or...
-  showTooltip && label || // there's a shortcut or...
-  shortcut || // there's a label and...
-  !!label && ( // the children are empty and...
-  !children || Object(lodash__WEBPACK_IMPORTED_MODULE_3__["isArray"])(children) && !children.length) && // the tooltip is not explicitly disabled.
-  false !== showTooltip);
-  const descriptionId = describedBy ? instanceId : null;
-  const describedById = additionalProps['aria-describedby'] || descriptionId;
-  const element = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(Tag, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, tagProps, additionalProps, {
-    className: classes,
-    "aria-label": additionalProps['aria-label'] || label,
-    "aria-describedby": describedById,
-    ref: ref
-  }), icon && iconPosition === 'left' && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_icon__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], {
-    icon: icon,
-    size: iconSize
-  }), text && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, text), icon && iconPosition === 'right' && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_icon__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], {
-    icon: icon,
-    size: iconSize
-  }), children);

-  if (!shouldShowTooltip) {
-    return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, element, describedBy && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_visually_hidden__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("span", {
-      id: descriptionId
-    }, describedBy)));
-  }

-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_tooltip__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], {
-    text: describedBy ? describedBy : label,
-    shortcut: shortcut,
-    position: tooltipPosition
-  }, element), describedBy && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_visually_hidden__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("span", {
-    id: descriptionId
-  }, describedBy)));
-}
-/* harmony default export */ __webpack_exports__["a"] = (Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["forwardRef"])(Button));

+function NavigationMenu(props) {
+  const {
+    backButtonLabel,
+    children,
+    className,
+    hasSearch,
+    menu = ROOT_MENU,
+    onBackButtonClick,
+    onSearch: setControlledSearch,
+    parentMenu,
+    search: controlledSearch,
+    isSearchDebouncing,
+    title,
+    titleAction
+  } = props;
+  const [uncontrolledSearch, setUncontrolledSearch] = (0,external_wp_element_namespaceObject.useState)('');
+  useNavigationTreeMenu(props);
+  const {
+    activeMenu
+  } = useNavigationContext();
+  const context = {
+    menu,
+    search: uncontrolledSearch
+  }; // Keep the children rendered to make sure invisible items are included in the navigation tree

-/***/ }),
+  if (activeMenu !== menu) {
+    return (0,external_wp_element_namespaceObject.createElement)(NavigationMenuContext.Provider, {
+      value: context
+    }, children);
+  }

-/***/ "kFtd":
-/***/ (function(module, exports) {
+  const isControlledSearch = !!setControlledSearch;
+  const search = isControlledSearch ? controlledSearch : uncontrolledSearch;
+  const onSearch = isControlledSearch ? setControlledSearch : setUncontrolledSearch;
+  const menuTitleId = `components-navigation__menu-title-${menu}`;
+  const classes = classnames_default()('components-navigation__menu', className);
+  return (0,external_wp_element_namespaceObject.createElement)(NavigationMenuContext.Provider, {
+    value: context
+  }, (0,external_wp_element_namespaceObject.createElement)(MenuUI, {
+    className: classes
+  }, (parentMenu || onBackButtonClick) && (0,external_wp_element_namespaceObject.createElement)(back_button, {
+    backButtonLabel: backButtonLabel,
+    parentMenu: parentMenu,
+    onClick: onBackButtonClick
+  }), title && (0,external_wp_element_namespaceObject.createElement)(NavigationMenuTitle, {
+    hasSearch: hasSearch,
+    onSearch: onSearch,
+    search: search,
+    title: title,
+    titleAction: titleAction
+  }), (0,external_wp_element_namespaceObject.createElement)(navigable_container_menu, null, (0,external_wp_element_namespaceObject.createElement)("ul", {
+    "aria-labelledby": menuTitleId
+  }, children, search && !isSearchDebouncing && (0,external_wp_element_namespaceObject.createElement)(NavigationSearchNoResultsFound, {
+    search: search
+  })))));
+}

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-var GLOBAL_CACHE_KEY = 'reactWithStylesInterfaceCSS';
-var MAX_SPECIFICITY = 20;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigator/context.js
+/**
+ * WordPress dependencies
+ */

-exports.GLOBAL_CACHE_KEY = GLOBAL_CACHE_KEY;
-exports.MAX_SPECIFICITY = MAX_SPECIFICITY;
+/**
+ * Internal dependencies
+ */

-/***/ }),
+const initialContextValue = [{}, () => {}];
+const NavigatorContext = (0,external_wp_element_namespaceObject.createContext)(initialContextValue);

-/***/ "kTC8":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigator/navigator-provider/component.js

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CompositeItem; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return useCompositeItem; });
-/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
-/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("hE48");
-/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("qdes");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("aU41");
-/* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("KA1K");
-/* harmony import */ var reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("eNtd");
-/* harmony import */ var reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("k2cL");
-/* harmony import */ var reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("PcHe");
-/* harmony import */ var reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("Vq1w");
-/* harmony import */ var _Clickable_Clickable_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("JLmN");
-/* harmony import */ var reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("ouKs");
-/* harmony import */ var _getCurrentId_5aa9849e_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("iYXd");
-/* harmony import */ var _keys_6742f591_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("TFuP");
-/* harmony import */ var _userFocus_e16425e3_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("Mih7");
-/* harmony import */ var reakit_utils_isTextField__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("4po3");
-/* harmony import */ var reakit_utils_ensureFocus__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("AClM");
-/* harmony import */ var _Id_Id_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("ym77");
-/* harmony import */ var _setTextFieldValue_0a221f4e_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("0HL0");


+function component_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

+/**
+ * WordPress dependencies
+ */


+/**
+ * Internal dependencies
+ */






+var component_ref =  true ? {
+  name: "15bx5k",
+  styles: "overflow-x:hidden"
+} : 0;

+function NavigatorProvider(props, forwardedRef) {
+  const {
+    initialPath,
+    children,
+    className,
+    ...otherProps
+  } = useContextSystem(props, 'NavigatorProvider');
+  const [path, setPath] = (0,external_wp_element_namespaceObject.useState)({
+    path: initialPath
+  });
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)( // Prevents horizontal overflow while animating screen transitions
+  () => cx(component_ref, className), [className]);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({
+    ref: forwardedRef,
+    className: classes
+  }, otherProps), (0,external_wp_element_namespaceObject.createElement)(NavigatorContext.Provider, {
+    value: [path, setPath]
+  }, children));
+}
+/**
+ * The `NavigatorProvider` component allows rendering nested panels or menus (via the `NavigatorScreen` component) and navigate between these different states (via the `useNavigator` hook).
+ * The Global Styles sidebar is an example of this. The `Navigator*` family of components is _not_ opinionated in terms of UI, and can be composed with any UI components to navigate between the nested screens.
+ *
+ * @example
+ * ```jsx
+ * import {
+ *   __experimentalNavigatorProvider as NavigatorProvider,
+ *   __experimentalNavigatorScreen as NavigatorScreen,
+ *   __experimentalUseNavigator as useNavigator,
+ * } from '@wordpress/components';
+ *
+ * function NavigatorButton( {
+ *   path,
+ *   isBack = false,
+ *   ...props
+ * } ) {
+ *   const navigator = useNavigator();
+ *   return (
+ *   	<Button
+ *   	  onClick={ () => navigator.push( path, { isBack } ) }
+ *   	  { ...props }
+ *   	/>
+ *   );
+ * }
+ *
+ * const MyNavigation = () => (
+ *   <NavigatorProvider initialPath="/">
+ *     <NavigatorScreen path="/">
+ *       <p>This is the home screen.</p>
+ *   	   <NavigatorButton isPrimary path="/child">
+ *          Navigate to child screen.
+ *       </NavigatorButton>
+ *     </NavigatorScreen>
+ *
+ *     <NavigatorScreen path="/child">
+ *       <p>This is the child screen.</p>
+ *       <NavigatorButton isPrimary path="/" isBack>
+ *         Go back
+ *       </NavigatorButton>
+ *     </NavigatorScreen>
+ *   </NavigatorProvider>
+ * );
+ * ```
+ */


+const ConnectedNavigatorProvider = contextConnect(NavigatorProvider, 'NavigatorProvider');
+/* harmony default export */ var navigator_provider_component = (ConnectedNavigatorProvider);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigator/navigator-screen/component.js



+function navigator_screen_component_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports
+// eslint-disable-next-line no-restricted-imports


+/**
+ * WordPress dependencies
+ */




+/**
+ * Internal dependencies
+ */



-function getWidget(itemElement) {
-  return itemElement.querySelector("[data-composite-item-widget]");
-}

-function useItem(options) {
-  return Object(react__WEBPACK_IMPORTED_MODULE_3__["useMemo"])(function () {
-    var _options$items;

-    return (_options$items = options.items) === null || _options$items === void 0 ? void 0 : _options$items.find(function (item) {
-      return options.id && item.id === options.id;
-    });
-  }, [options.items, options.id]);
-}
+const animationEnterDelay = 0;
+const animationEnterDuration = 0.14;
+const animationExitDuration = 0.14;
+const animationExitDelay = 0; // Props specific to `framer-motion` can't be currently passed to `NavigatorScreen`,
+// as some of them would overlap with HTML props (e.g. `onAnimationStart`, ...)

-function targetIsAnotherItem(event, items) {
-  if (Object(reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__[/* isSelfTarget */ "a"])(event)) return false;
+var navigator_screen_component_ref =  true ? {
+  name: "14x3t6z",
+  styles: "overflow-x:auto;max-height:100%"
+} : 0;

-  for (var _iterator = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* b */ "c"])(items), _step; !(_step = _iterator()).done;) {
-    var item = _step.value;
+function NavigatorScreen(props, forwardedRef) {
+  const {
+    children,
+    className,
+    path,
+    ...otherProps
+  } = useContextSystem(props, 'NavigatorScreen');
+  const prefersReducedMotion = (0,external_wp_compose_namespaceObject.useReducedMotion)();
+  const [currentPath] = (0,external_wp_element_namespaceObject.useContext)(NavigatorContext);
+  const isMatch = currentPath.path === path;
+  const ref = (0,external_wp_compose_namespaceObject.useFocusOnMount)();
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => cx(navigator_screen_component_ref, className), [className]); // This flag is used to only apply the focus on mount when the actual path changes.
+  // It avoids the focus to happen on the first render.

-    if (item.ref.current === event.target) {
-      return true;
-    }
+  const [hasPathChanged, setHasPathChanged] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    setHasPathChanged(true);
+  }, [path]);
+
+  if (!isMatch) {
+    return null;
   }

-  return false;
-}
+  if (prefersReducedMotion) {
+    return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({
+      ref: forwardedRef,
+      className: classes
+    }, otherProps), children);
+  }

-var useCompositeItem = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
-  name: "CompositeItem",
-  compose: [_Clickable_Clickable_js__WEBPACK_IMPORTED_MODULE_10__[/* useClickable */ "a"], _Id_Id_js__WEBPACK_IMPORTED_MODULE_17__[/* unstable_useId */ "a"]],
-  keys: _keys_6742f591_js__WEBPACK_IMPORTED_MODULE_13__[/* b */ "c"],
-  propsAreEqual: function propsAreEqual(prev, next) {
-    if (!next.id || prev.id !== next.id) {
-      return _Clickable_Clickable_js__WEBPACK_IMPORTED_MODULE_10__[/* useClickable */ "a"].unstable_propsAreEqual(prev, next);
+  const animate = {
+    opacity: 1,
+    transition: {
+      delay: animationEnterDelay,
+      duration: animationEnterDuration,
+      ease: 'easeInOut'
+    },
+    x: 0
+  };
+  const initial = {
+    opacity: 0,
+    x: (0,external_wp_i18n_namespaceObject.isRTL)() && currentPath.isBack || !(0,external_wp_i18n_namespaceObject.isRTL)() && !currentPath.isBack ? 50 : -50
+  };
+  const exit = {
+    delay: animationExitDelay,
+    opacity: 0,
+    x: !(0,external_wp_i18n_namespaceObject.isRTL)() && currentPath.isBack || (0,external_wp_i18n_namespaceObject.isRTL)() && !currentPath.isBack ? 50 : -50,
+    transition: {
+      duration: animationExitDuration,
+      ease: 'easeInOut'
     }
+  };
+  const animatedProps = {
+    animate,
+    exit,
+    initial
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(motion.div, extends_extends({
+    ref: hasPathChanged ? ref : undefined,
+    className: classes
+  }, otherProps, animatedProps), children);
+}
+/**
+ * The `NavigatorScreen` component represents a single view/screen/panel/menu and is supposed to be used in combination with the `NavigatorProvider` component.
+ *
+ * @example
+ * ```jsx
+ * import {
+ *   __experimentalNavigatorProvider as NavigatorProvider,
+ *   __experimentalNavigatorScreen as NavigatorScreen,
+ *   __experimentalUseNavigator as useNavigator,
+ * } from '@wordpress/components';
+ *
+ * function NavigatorButton( {
+ *   path,
+ *   isBack = false,
+ *   ...props
+ * } ) {
+ *   const navigator = useNavigator();
+ *   return (
+ *   	<Button
+ *   	  onClick={ () => navigator.push( path, { isBack } ) }
+ *   	  { ...props }
+ *   	/>
+ *   );
+ * }
+ *
+ * const MyNavigation = () => (
+ *   <NavigatorProvider initialPath="/">
+ *     <NavigatorScreen path="/">
+ *       <p>This is the home screen.</p>
+ *   	   <NavigatorButton isPrimary path="/child">
+ *          Navigate to child screen.
+ *       </NavigatorButton>
+ *     </NavigatorScreen>
+ *
+ *     <NavigatorScreen path="/child">
+ *       <p>This is the child screen.</p>
+ *       <NavigatorButton isPrimary path="/" isBack>
+ *         Go back
+ *       </NavigatorButton>
+ *     </NavigatorScreen>
+ *   </NavigatorProvider>
+ * );
+ * ```
+ */

-    var prevCurrentId = prev.currentId,
-        prevMoves = prev.unstable_moves,
-        prevProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(prev, ["currentId", "unstable_moves"]);

-    var nextCurrentId = next.currentId,
-        nextMoves = next.unstable_moves,
-        nextProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(next, ["currentId", "unstable_moves"]);
+const ConnectedNavigatorScreen = contextConnect(NavigatorScreen, 'NavigatorScreen');
+/* harmony default export */ var navigator_screen_component = (ConnectedNavigatorScreen);

-    if (nextCurrentId !== prevCurrentId) {
-      if (next.id === nextCurrentId || next.id === prevCurrentId) {
-        return false;
-      }
-    } else if (prevMoves !== nextMoves) {
-      return false;
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/navigator/use-navigator.js
+/**
+ * WordPress dependencies
+ */

-    return _Clickable_Clickable_js__WEBPACK_IMPORTED_MODULE_10__[/* useClickable */ "a"].unstable_propsAreEqual(prevProps, nextProps);
-  },
-  useOptions: function useOptions(options) {
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])(Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({}, options), {}, {
-      id: options.id,
-      currentId: Object(_getCurrentId_5aa9849e_js__WEBPACK_IMPORTED_MODULE_12__[/* g */ "b"])(options),
-      unstable_clickOnSpace: options.unstable_hasActiveWidget ? false : options.unstable_clickOnSpace
-    });
-  },
-  useProps: function useProps(options, _ref) {
-    var _options$items2;
+/**
+ * Internal dependencies
+ */

-    var htmlRef = _ref.ref,
-        _ref$tabIndex = _ref.tabIndex,
-        htmlTabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,
-        htmlOnMouseDown = _ref.onMouseDown,
-        htmlOnFocus = _ref.onFocus,
-        htmlOnBlurCapture = _ref.onBlurCapture,
-        htmlOnKeyDown = _ref.onKeyDown,
-        htmlOnClick = _ref.onClick,
-        htmlProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(_ref, ["ref", "tabIndex", "onMouseDown", "onFocus", "onBlurCapture", "onKeyDown", "onClick"]);

-    var ref = Object(react__WEBPACK_IMPORTED_MODULE_3__["useRef"])(null);
-    var id = options.id;
-    var trulyDisabled = options.disabled && !options.focusable;
-    var isCurrentItem = options.currentId === id;
-    var isCurrentItemRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(isCurrentItem);
-    var hasFocusedComposite = Object(react__WEBPACK_IMPORTED_MODULE_3__["useRef"])(false);
-    var item = useItem(options);
-    var onMouseDownRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnMouseDown);
-    var onFocusRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnFocus);
-    var onBlurCaptureRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnBlurCapture);
-    var onKeyDownRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnKeyDown);
-    var onClickRef = Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__[/* useLiveRef */ "a"])(htmlOnClick);
-    var shouldTabIndex = !options.unstable_virtual && !options.unstable_hasActiveWidget && isCurrentItem || // We don't want to set tabIndex="-1" when using CompositeItem as a
-    // standalone component, without state props.
-    !((_options$items2 = options.items) !== null && _options$items2 !== void 0 && _options$items2.length);
-    Object(react__WEBPACK_IMPORTED_MODULE_3__["useEffect"])(function () {
-      var _options$registerItem;

-      if (!id) return undefined;
-      (_options$registerItem = options.registerItem) === null || _options$registerItem === void 0 ? void 0 : _options$registerItem.call(options, {
-        id: id,
-        ref: ref,
-        disabled: !!trulyDisabled
+/**
+ * Retrieves a `navigator` instance.
+ */
+function useNavigator() {
+  const [, setPath] = (0,external_wp_element_namespaceObject.useContext)(NavigatorContext);
+  return {
+    push(path, options) {
+      setPath({
+        path,
+        ...options
       });
-      return function () {
-        var _options$unregisterIt;
+    }

-        (_options$unregisterIt = options.unregisterItem) === null || _options$unregisterIt === void 0 ? void 0 : _options$unregisterIt.call(options, id);
-      };
-    }, [id, trulyDisabled, options.registerItem, options.unregisterItem]);
-    Object(react__WEBPACK_IMPORTED_MODULE_3__["useEffect"])(function () {
-      var element = ref.current;
+  };
+}

-      if (!element) {
-         false ? undefined : void 0;
-        return;
-      } // `moves` will be incremented whenever next, previous, up, down, first,
-      // last or move have been called. This means that the composite item will
-      // be focused whenever some of these functions are called. We're using
-      // isCurrentItemRef instead of isCurrentItem because we don't want to
-      // focus the item if isCurrentItem changes (and options.moves doesn't).
+/* harmony default export */ var use_navigator = (useNavigator);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/notice/index.js

-      if (options.unstable_moves && isCurrentItemRef.current) {
-        Object(_userFocus_e16425e3_js__WEBPACK_IMPORTED_MODULE_14__[/* u */ "c"])(element);
-      }
-    }, [options.unstable_moves]);
-    var onMouseDown = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
-      var _onMouseDownRef$curre;

-      (_onMouseDownRef$curre = onMouseDownRef.current) === null || _onMouseDownRef$curre === void 0 ? void 0 : _onMouseDownRef$curre.call(onMouseDownRef, event);
-      Object(_userFocus_e16425e3_js__WEBPACK_IMPORTED_MODULE_14__[/* s */ "b"])(event.currentTarget, true);
-    }, []);
-    var onFocus = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
-      var _onFocusRef$current, _options$setCurrentId;
+/**
+ * External dependencies
+ */

-      var shouldFocusComposite = Object(_userFocus_e16425e3_js__WEBPACK_IMPORTED_MODULE_14__[/* h */ "a"])(event.currentTarget);
-      Object(_userFocus_e16425e3_js__WEBPACK_IMPORTED_MODULE_14__[/* s */ "b"])(event.currentTarget, false);
-      (_onFocusRef$current = onFocusRef.current) === null || _onFocusRef$current === void 0 ? void 0 : _onFocusRef$current.call(onFocusRef, event);
-      if (event.defaultPrevented) return;
-      if (Object(reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_9__[/* isPortalEvent */ "a"])(event)) return;
-      if (!id) return;
-      if (targetIsAnotherItem(event, options.items)) return;
-      (_options$setCurrentId = options.setCurrentId) === null || _options$setCurrentId === void 0 ? void 0 : _options$setCurrentId.call(options, id); // When using aria-activedescendant, we want to make sure that the
-      // composite container receives focus, not the composite item.
-      // But we don't want to do this if the target is another focusable
-      // element inside the composite item, such as CompositeItemWidget.

-      if (shouldFocusComposite && options.unstable_virtual && options.baseId && Object(reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__[/* isSelfTarget */ "a"])(event)) {
-        var target = event.target;
-        var composite = Object(reakit_utils_getDocument__WEBPACK_IMPORTED_MODULE_11__[/* getDocument */ "a"])(target).getElementById(options.baseId);
+/**
+ * WordPress dependencies
+ */

-        if (composite) {
-          hasFocusedComposite.current = true;
-          Object(reakit_utils_ensureFocus__WEBPACK_IMPORTED_MODULE_16__[/* ensureFocus */ "a"])(composite);
-        }
-      }
-    }, [id, options.items, options.setCurrentId, options.unstable_virtual, options.baseId]);
-    var onBlurCapture = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
-      var _onBlurCaptureRef$cur;

-      (_onBlurCaptureRef$cur = onBlurCaptureRef.current) === null || _onBlurCaptureRef$cur === void 0 ? void 0 : _onBlurCaptureRef$cur.call(onBlurCaptureRef, event);
-      if (event.defaultPrevented) return;

-      if (options.unstable_virtual && hasFocusedComposite.current) {
-        // When hasFocusedComposite is true, composite has been focused right
-        // after focusing this item. This is an intermediate blur event, so
-        // we ignore it.
-        hasFocusedComposite.current = false;
-        event.preventDefault();
-        event.stopPropagation();
-      }
-    }, [options.unstable_virtual]);
-    var onKeyDown = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
-      var _onKeyDownRef$current;

-      if (!Object(reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__[/* isSelfTarget */ "a"])(event)) return;
-      var isVertical = options.orientation !== "horizontal";
-      var isHorizontal = options.orientation !== "vertical";
-      var isGrid = !!(item !== null && item !== void 0 && item.groupId);
-      var keyMap = {
-        ArrowUp: (isGrid || isVertical) && options.up,
-        ArrowRight: (isGrid || isHorizontal) && options.next,
-        ArrowDown: (isGrid || isVertical) && options.down,
-        ArrowLeft: (isGrid || isHorizontal) && options.previous,
-        Home: function Home() {
-          if (!isGrid || event.ctrlKey) {
-            var _options$first;

-            (_options$first = options.first) === null || _options$first === void 0 ? void 0 : _options$first.call(options);
-          } else {
-            var _options$previous;
+/**
+ * Internal dependencies
+ */

-            (_options$previous = options.previous) === null || _options$previous === void 0 ? void 0 : _options$previous.call(options, true);
-          }
-        },
-        End: function End() {
-          if (!isGrid || event.ctrlKey) {
-            var _options$last;

-            (_options$last = options.last) === null || _options$last === void 0 ? void 0 : _options$last.call(options);
-          } else {
-            var _options$next;
+/** @typedef {import('@wordpress/element').WPElement} WPElement */

-            (_options$next = options.next) === null || _options$next === void 0 ? void 0 : _options$next.call(options, true);
-          }
-        },
-        PageUp: function PageUp() {
-          if (isGrid) {
-            var _options$up;
+/**
+ * Custom hook which announces the message with the given politeness, if a
+ * valid message is provided.
+ *
+ * @param {string|WPElement}     [message]  Message to announce.
+ * @param {'polite'|'assertive'} politeness Politeness to announce.
+ */

-            (_options$up = options.up) === null || _options$up === void 0 ? void 0 : _options$up.call(options, true);
-          } else {
-            var _options$first2;
+function useSpokenMessage(message, politeness) {
+  const spokenMessage = typeof message === 'string' ? message : (0,external_wp_element_namespaceObject.renderToString)(message);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (spokenMessage) {
+      (0,external_wp_a11y_namespaceObject.speak)(spokenMessage, politeness);
+    }
+  }, [spokenMessage, politeness]);
+}
+/**
+ * Given a notice status, returns an assumed default politeness for the status.
+ * Defaults to 'assertive'.
+ *
+ * @param {string} [status] Notice status.
+ *
+ * @return {'polite'|'assertive'} Notice politeness.
+ */

-            (_options$first2 = options.first) === null || _options$first2 === void 0 ? void 0 : _options$first2.call(options);
-          }
-        },
-        PageDown: function PageDown() {
-          if (isGrid) {
-            var _options$down;

-            (_options$down = options.down) === null || _options$down === void 0 ? void 0 : _options$down.call(options, true);
-          } else {
-            var _options$last2;
+function getDefaultPoliteness(status) {
+  switch (status) {
+    case 'success':
+    case 'warning':
+    case 'info':
+      return 'polite';

-            (_options$last2 = options.last) === null || _options$last2 === void 0 ? void 0 : _options$last2.call(options);
-          }
-        }
-      };
-      var action = keyMap[event.key];
+    case 'error':
+    default:
+      return 'assertive';
+  }
+}

-      if (action) {
-        event.preventDefault();
-        action();
-        return;
-      }
+function Notice(_ref) {
+  let {
+    className,
+    status = 'info',
+    children,
+    spokenMessage = children,
+    onRemove = external_lodash_namespaceObject.noop,
+    isDismissible = true,
+    actions = [],
+    politeness = getDefaultPoliteness(status),
+    __unstableHTML,
+    // onDismiss is a callback executed when the notice is dismissed.
+    // It is distinct from onRemove, which _looks_ like a callback but is
+    // actually the function to call to remove the notice from the UI.
+    onDismiss = external_lodash_namespaceObject.noop
+  } = _ref;
+  useSpokenMessage(spokenMessage, politeness);
+  const classes = classnames_default()(className, 'components-notice', 'is-' + status, {
+    'is-dismissible': isDismissible
+  });

-      (_onKeyDownRef$current = onKeyDownRef.current) === null || _onKeyDownRef$current === void 0 ? void 0 : _onKeyDownRef$current.call(onKeyDownRef, event);
-      if (event.defaultPrevented) return;
+  if (__unstableHTML) {
+    children = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, null, children);
+  }

-      if (event.key.length === 1 && event.key !== " ") {
-        var widget = getWidget(event.currentTarget);
+  const onDismissNotice = event => {
+    var _event$preventDefault;

-        if (widget && Object(reakit_utils_isTextField__WEBPACK_IMPORTED_MODULE_15__[/* isTextField */ "a"])(widget)) {
-          widget.focus();
-          Object(_setTextFieldValue_0a221f4e_js__WEBPACK_IMPORTED_MODULE_18__[/* s */ "a"])(widget, "");
-        }
-      } else if (event.key === "Delete" || event.key === "Backspace") {
-        var _widget = getWidget(event.currentTarget);
+    event === null || event === void 0 ? void 0 : (_event$preventDefault = event.preventDefault) === null || _event$preventDefault === void 0 ? void 0 : _event$preventDefault.call(event);
+    onDismiss();
+    onRemove();
+  };

-        if (_widget && Object(reakit_utils_isTextField__WEBPACK_IMPORTED_MODULE_15__[/* isTextField */ "a"])(_widget)) {
-          event.preventDefault();
-          Object(_setTextFieldValue_0a221f4e_js__WEBPACK_IMPORTED_MODULE_18__[/* s */ "a"])(_widget, "");
-        }
-      }
-    }, [options.orientation, item, options.up, options.next, options.down, options.previous, options.first, options.last]);
-    var onClick = Object(react__WEBPACK_IMPORTED_MODULE_3__["useCallback"])(function (event) {
-      var _onClickRef$current;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classes
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-notice__content"
+  }, children, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-notice__actions"
+  }, actions.map((_ref2, index) => {
+    let {
+      className: buttonCustomClasses,
+      label,
+      isPrimary,
+      variant,
+      noDefaultClasses = false,
+      onClick,
+      url
+    } = _ref2;
+    let computedVariant = variant;

-      (_onClickRef$current = onClickRef.current) === null || _onClickRef$current === void 0 ? void 0 : _onClickRef$current.call(onClickRef, event);
-      if (event.defaultPrevented) return;
-      var element = event.currentTarget;
-      var widget = getWidget(element);
+    if (variant !== 'primary' && !noDefaultClasses) {
+      computedVariant = !url ? 'secondary' : 'link';
+    }

-      if (widget && !Object(reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_8__[/* hasFocusWithin */ "a"])(widget)) {
-        // If there's a widget inside the composite item, we make sure it's
-        // focused when pressing enter, space or clicking on the composite item.
-        widget.focus();
-      }
-    }, []);
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
-      ref: Object(reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__[/* useForkRef */ "a"])(ref, htmlRef),
-      id: id,
-      tabIndex: shouldTabIndex ? htmlTabIndex : -1,
-      "aria-selected": options.unstable_virtual && isCurrentItem ? true : undefined,
-      onMouseDown: onMouseDown,
-      onFocus: onFocus,
-      onBlurCapture: onBlurCapture,
-      onKeyDown: onKeyDown,
-      onClick: onClick
-    }, htmlProps);
-  }
-});
-var CompositeItem = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
-  as: "button",
-  memo: true,
-  useHook: useCompositeItem
-});
+    if (typeof computedVariant === 'undefined' && isPrimary) {
+      computedVariant = 'primary';
+    }

+    return (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+      key: index,
+      href: url,
+      variant: computedVariant,
+      onClick: url ? undefined : onClick,
+      className: classnames_default()('components-notice__action', buttonCustomClasses)
+    }, label);
+  }))), isDismissible && (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+    className: "components-notice__dismiss",
+    icon: library_close,
+    label: (0,external_wp_i18n_namespaceObject.__)('Dismiss this notice'),
+    onClick: onDismissNotice,
+    showTooltip: false
+  }));
+}

+/* harmony default export */ var build_module_notice = (Notice);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/notice/list.js

-/***/ }),

-/***/ "khzz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createEvent; });
-/* harmony import */ var _getDocument_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ouKs");
+/**
+ * External dependencies
+ */


 /**
- * Creates an `Event` in a way that also works on IE 11.
+ * Internal dependencies
+ */
+
+
+/**
+ * Renders a list of notices.
  *
- * @example
- * import { createEvent } from "reakit-utils";
+ * @param {Object}   $0           Props passed to the component.
+ * @param {Array}    $0.notices   Array of notices to render.
+ * @param {Function} $0.onRemove  Function called when a notice should be removed / dismissed.
+ * @param {Object}   $0.className Name of the class used by the component.
+ * @param {Object}   $0.children  Array of children to be rendered inside the notice list.
  *
- * const el = document.getElementById("id");
- * el.dispatchEvent(createEvent(el, "blur", { bubbles: false }));
+ * @return {Object} The rendered notices list.
  */

-function createEvent(element, type, eventInit) {
-  if (typeof Event === "function") {
-    return new Event(type, eventInit);
-  } // IE 11 doesn't support Event constructors
+function NoticeList(_ref) {
+  let {
+    notices,
+    onRemove = external_lodash_namespaceObject.noop,
+    className,
+    children
+  } = _ref;

+  const removeNotice = id => () => onRemove(id);

-  var event = Object(_getDocument_js__WEBPACK_IMPORTED_MODULE_0__[/* getDocument */ "a"])(element).createEvent("Event");
-  event.initEvent(type, eventInit === null || eventInit === void 0 ? void 0 : eventInit.bubbles, eventInit === null || eventInit === void 0 ? void 0 : eventInit.cancelable);
-  return event;
+  className = classnames_default()('components-notice-list', className);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: className
+  }, children, [...notices].reverse().map(notice => (0,external_wp_element_namespaceObject.createElement)(build_module_notice, extends_extends({}, (0,external_lodash_namespaceObject.omit)(notice, ['content']), {
+    key: notice.id,
+    onRemove: removeNotice(notice.id)
+  }), notice.content)));
 }

+/* harmony default export */ var list = (NoticeList);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/panel/header.js


-/***/ }),
+function PanelHeader(_ref) {
+  let {
+    label,
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-panel__header"
+  }, label && (0,external_wp_element_namespaceObject.createElement)("h2", null, label), children);
+}

-/***/ "knm9":
-/***/ (function(module, exports, __webpack_require__) {
+/* harmony default export */ var panel_header = (PanelHeader);

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/panel/index.js


-var GetIntrinsic = __webpack_require__("j1Hc");
+/**
+ * External dependencies
+ */

-var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
-if ($gOPD) {
-	try {
-		$gOPD([], 'length');
-	} catch (e) {
-		// IE 8 has a broken gOPD
-		$gOPD = null;
-	}
-}
+/**
+ * WordPress dependencies
+ */

-module.exports = $gOPD;

+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "kqkJ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* unused harmony export getAllFocusableIn */
-/* unused harmony export getAllTabbableIn */
-/* unused harmony export getClosestFocusable */
-/* unused harmony export getFirstFocusableIn */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getFirstTabbableIn; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getLastTabbableIn; });
-/* unused harmony export getNextTabbableIn */
-/* unused harmony export getPreviousTabbableIn */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isFocusable; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isTabbable; });
-/* harmony import */ var _matches_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9Zbq");
-/* harmony import */ var _closest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("APjL");
-/* harmony import */ var _getActiveElement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Nym8");
+function Panel(_ref, ref) {
+  let {
+    header,
+    className,
+    children
+  } = _ref;
+  const classNames = classnames_default()(className, 'components-panel');
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classNames,
+    ref: ref
+  }, header && (0,external_wp_element_namespaceObject.createElement)(panel_header, {
+    label: header
+  }), children);
+}

+/* harmony default export */ var panel = ((0,external_wp_element_namespaceObject.forwardRef)(Panel));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-up.js


+/**
+ * WordPress dependencies
+ */
+
+const chevronUp = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"
+}));
+/* harmony default export */ var chevron_up = (chevronUp);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/panel/body.js

-/** @module tabbable */
-var selector = "input:not([type='hidden']):not([disabled]), select:not([disabled]), " + "textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], " + "iframe, object, embed, area[href], audio[controls], video[controls], " + "[contenteditable]:not([contenteditable='false'])";

-function isVisible(element) {
-  var htmlElement = element;
-  return htmlElement.offsetWidth > 0 || htmlElement.offsetHeight > 0 || element.getClientRects().length > 0;
-}

-function hasNegativeTabIndex(element) {
-  var tabIndex = parseInt(element.getAttribute("tabindex") || "0", 10);
-  return tabIndex < 0;
-}
 /**
- * Checks whether `element` is focusable or not.
- *
- * @memberof tabbable
- *
- * @example
- * import { isFocusable } from "reakit-utils";
- *
- * isFocusable(document.querySelector("input")); // true
- * isFocusable(document.querySelector("input[tabindex='-1']")); // true
- * isFocusable(document.querySelector("input[hidden]")); // false
- * isFocusable(document.querySelector("input:disabled")); // false
+ * External dependencies
  */


-function isFocusable(element) {
-  return Object(_matches_js__WEBPACK_IMPORTED_MODULE_0__[/* matches */ "a"])(element, selector) && isVisible(element);
-}
 /**
- * Checks whether `element` is tabbable or not.
- *
- * @memberof tabbable
- *
- * @example
- * import { isTabbable } from "reakit-utils";
- *
- * isTabbable(document.querySelector("input")); // true
- * isTabbable(document.querySelector("input[tabindex='-1']")); // false
- * isTabbable(document.querySelector("input[hidden]")); // false
- * isTabbable(document.querySelector("input:disabled")); // false
+ * WordPress dependencies
  */

-function isTabbable(element) {
-  return isFocusable(element) && !hasNegativeTabIndex(element);
-}
+
+
+
 /**
- * Returns all the focusable elements in `container`.
- *
- * @memberof tabbable
- *
- * @param {Element} container
- *
- * @returns {Element[]}
+ * Internal dependencies
  */

-function getAllFocusableIn(container) {
-  var allFocusable = Array.from(container.querySelectorAll(selector));
-  allFocusable.unshift(container);
-  return allFocusable.filter(isFocusable);
+
+
+
+function PanelBody(_ref, ref) {
+  let {
+    buttonProps = {},
+    children,
+    className,
+    icon,
+    initialOpen,
+    onToggle = external_lodash_namespaceObject.noop,
+    opened,
+    title,
+    scrollAfterOpen = true
+  } = _ref;
+  const [isOpened, setIsOpened] = use_controlled_state(opened, {
+    initial: initialOpen === undefined ? true : initialOpen
+  });
+  const nodeRef = (0,external_wp_element_namespaceObject.useRef)(); // Defaults to 'smooth' scrolling
+  // https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
+
+  const scrollBehavior = (0,external_wp_compose_namespaceObject.useReducedMotion)() ? 'auto' : 'smooth';
+
+  const handleOnToggle = event => {
+    event.preventDefault();
+    const next = !isOpened;
+    setIsOpened(next);
+    onToggle(next);
+  }; // Ref is used so that the effect does not re-run upon scrollAfterOpen changing value
+
+
+  const scrollAfterOpenRef = (0,external_wp_element_namespaceObject.useRef)();
+  scrollAfterOpenRef.current = scrollAfterOpen; // Runs after initial render
+
+  use_update_effect(() => {
+    var _nodeRef$current;
+
+    if (isOpened && scrollAfterOpenRef.current && (_nodeRef$current = nodeRef.current) !== null && _nodeRef$current !== void 0 && _nodeRef$current.scrollIntoView) {
+      /*
+       * Scrolls the content into view when visible.
+       * This improves the UX when there are multiple stacking <PanelBody />
+       * components in a scrollable container.
+       */
+      nodeRef.current.scrollIntoView({
+        inline: 'nearest',
+        block: 'nearest',
+        behavior: scrollBehavior
+      });
+    }
+  }, [isOpened, scrollBehavior]);
+  const classes = classnames_default()('components-panel__body', className, {
+    'is-opened': isOpened
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classes,
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([nodeRef, ref])
+  }, (0,external_wp_element_namespaceObject.createElement)(PanelBodyTitle, extends_extends({
+    icon: icon,
+    isOpened: isOpened,
+    onClick: handleOnToggle,
+    title: title
+  }, buttonProps)), typeof children === 'function' ? children({
+    opened: isOpened
+  }) : isOpened && children);
 }
-/**
- * Returns the first focusable element in `container`.
- *
- * @memberof tabbable
- *
- * @param {Element} container
- *
- * @returns {Element|null}
- */
+const PanelBodyTitle = (0,external_wp_element_namespaceObject.forwardRef)((_ref2, ref) => {
+  let {
+    isOpened,
+    icon,
+    title,
+    ...props
+  } = _ref2;
+  if (!title) return null;
+  return (0,external_wp_element_namespaceObject.createElement)("h2", {
+    className: "components-panel__body-title"
+  }, (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+    className: "components-panel__body-toggle",
+    "aria-expanded": isOpened,
+    ref: ref
+  }, props), (0,external_wp_element_namespaceObject.createElement)("span", {
+    "aria-hidden": "true"
+  }, (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    className: "components-panel__arrow",
+    icon: isOpened ? chevron_up : chevron_down
+  })), title, icon && (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: icon,
+    className: "components-panel__icon",
+    size: 20
+  })));
+});
+const body_ForwardedComponent = (0,external_wp_element_namespaceObject.forwardRef)(PanelBody);
+body_ForwardedComponent.displayName = 'PanelBody';
+/* harmony default export */ var body = (body_ForwardedComponent);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/panel/row.js

-function getFirstFocusableIn(container) {
-  var _getAllFocusableIn = getAllFocusableIn(container),
-      first = _getAllFocusableIn[0];

-  return first || null;
-}
 /**
- * Returns all the tabbable elements in `container`, including the container
- * itself.
- *
- * @memberof tabbable
- *
- * @param {Element} container
- * @param fallbackToFocusable If `true`, it'll return focusable elements if there are no tabbable ones.
- *
- * @returns {Element[]}
+ * External dependencies
  */

-function getAllTabbableIn(container, fallbackToFocusable) {
-  var allFocusable = Array.from(container.querySelectorAll(selector));
-  var allTabbable = allFocusable.filter(isTabbable);
+/**
+ * WordPress dependencies
+ */

-  if (isTabbable(container)) {
-    allTabbable.unshift(container);
-  }

-  if (!allTabbable.length && fallbackToFocusable) {
-    return allFocusable;
-  }
+const PanelRow = (0,external_wp_element_namespaceObject.forwardRef)((_ref, ref) => {
+  let {
+    className,
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('components-panel__row', className),
+    ref: ref
+  }, children);
+});
+/* harmony default export */ var row = (PanelRow);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/placeholder/index.js

-  return allTabbable;
-}
-/**
- * Returns the first tabbable element in `container`, including the container
- * itself if it's tabbable.
- *
- * @memberof tabbable
- *
- * @param {Element} container
- * @param fallbackToFocusable If `true`, it'll return the first focusable element if there are no tabbable ones.
- *
- * @returns {Element|null}
- */

-function getFirstTabbableIn(container, fallbackToFocusable) {
-  var _getAllTabbableIn = getAllTabbableIn(container, fallbackToFocusable),
-      first = _getAllTabbableIn[0];

-  return first || null;
-}
 /**
- * Returns the last tabbable element in `container`, including the container
- * itself if it's tabbable.
- *
- * @memberof tabbable
- *
- * @param {Element} container
- * @param fallbackToFocusable If `true`, it'll return the last focusable element if there are no tabbable ones.
- *
- * @returns {Element|null}
+ * External dependencies
  */

-function getLastTabbableIn(container, fallbackToFocusable) {
-  var allTabbable = getAllTabbableIn(container, fallbackToFocusable);
-  return allTabbable[allTabbable.length - 1] || null;
-}
 /**
- * Returns the next tabbable element in `container`.
- *
- * @memberof tabbable
- *
- * @param {Element} container
- * @param fallbackToFocusable If `true`, it'll return the next focusable element if there are no tabbable ones.
- *
- * @returns {Element|null}
+ * WordPress dependencies
  */

-function getNextTabbableIn(container, fallbackToFocusable) {
-  var activeElement = Object(_getActiveElement_js__WEBPACK_IMPORTED_MODULE_2__[/* getActiveElement */ "a"])(container);
-  var allFocusable = getAllFocusableIn(container);
-  var index = allFocusable.indexOf(activeElement);
-  var slice = allFocusable.slice(index + 1);
-  return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null);
-}
+
 /**
- * Returns the previous tabbable element in `container`.
- *
- * @memberof tabbable
- *
- * @param {Element} container
- * @param fallbackToFocusable If `true`, it'll return the previous focusable element if there are no tabbable ones.
- *
- * @returns {Element|null}
+ * Internal dependencies
  */

-function getPreviousTabbableIn(container, fallbackToFocusable) {
-  var activeElement = Object(_getActiveElement_js__WEBPACK_IMPORTED_MODULE_2__[/* getActiveElement */ "a"])(container);
-  var allFocusable = getAllFocusableIn(container).reverse();
-  var index = allFocusable.indexOf(activeElement);
-  var slice = allFocusable.slice(index + 1);
-  return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null);
-}
+
 /**
- * Returns the closest focusable element.
- *
- * @memberof tabbable
+ * Renders a placeholder. Normally used by blocks to render their empty state.
  *
- * @param {Element} container
+ * @param {Object}    props                The component props.
+ * @param {WPIcon}    props.icon           An icon rendered before the label.
+ * @param {WPElement} props.children       Children to be rendered.
+ * @param {string}    props.label          Title of the placeholder.
+ * @param {string}    props.instructions   Instructions of the placeholder.
+ * @param {string}    props.className      Class to set on the container div.
+ * @param {Object}    props.notices        A rendered notices list.
+ * @param {Object}    props.preview        Preview to be rendered in the placeholder.
+ * @param {boolean}   props.isColumnLayout Whether a column layout should be used.
  *
- * @returns {Element|null}
+ * @return {Object} The rendered placeholder.
  */

-function getClosestFocusable(element) {
-  while (element && !isFocusable(element)) {
-    element = Object(_closest_js__WEBPACK_IMPORTED_MODULE_1__[/* closest */ "a"])(element, selector);
+function Placeholder(_ref) {
+  let {
+    icon,
+    children,
+    label,
+    instructions,
+    className,
+    notices,
+    preview,
+    isColumnLayout,
+    ...additionalProps
+  } = _ref;
+  const [resizeListener, {
+    width
+  }] = (0,external_wp_compose_namespaceObject.useResizeObserver)(); // Since `useResizeObserver` will report a width of `null` until after the
+  // first render, avoid applying any modifier classes until width is known.
+
+  let modifierClassNames;
+
+  if (typeof width === 'number') {
+    modifierClassNames = {
+      'is-large': width >= 480,
+      'is-medium': width >= 160 && width < 480,
+      'is-small': width < 160
+    };
   }

-  return element;
+  const classes = classnames_default()('components-placeholder', className, modifierClassNames);
+  const fieldsetClasses = classnames_default()('components-placeholder__fieldset', {
+    'is-column-layout': isColumnLayout
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", extends_extends({}, additionalProps, {
+    className: classes
+  }), resizeListener, notices, preview && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-placeholder__preview"
+  }, preview), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-placeholder__label"
+  }, (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: icon
+  }), label), !!instructions && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-placeholder__instructions"
+  }, instructions), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: fieldsetClasses
+  }, children));
 }

+/* harmony default export */ var placeholder = (Placeholder);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/query-controls/terms.js
+/**
+ * External dependencies
+ */

+/**
+ * Returns terms in a tree form.
+ *
+ * @param {Array} flatTerms Array of terms in flat format.
+ *
+ * @return {Array} Array of terms in tree format.
+ */

-/***/ }),
+function buildTermsTree(flatTerms) {
+  const flatTermsWithParentAndChildren = flatTerms.map(term => {
+    return {
+      children: [],
+      parent: null,
+      ...term
+    };
+  });
+  const termsByParent = (0,external_lodash_namespaceObject.groupBy)(flatTermsWithParentAndChildren, 'parent');

-/***/ "l3Sj":
-/***/ (function(module, exports) {
+  if (termsByParent.null && termsByParent.null.length) {
+    return flatTermsWithParentAndChildren;
+  }

-(function() { module.exports = window["wp"]["i18n"]; }());
+  const fillWithChildren = terms => {
+    return terms.map(term => {
+      const children = termsByParent[term.id];
+      return { ...term,
+        children: children && children.length ? fillWithChildren(children) : []
+      };
+    });
+  };

-/***/ }),
+  return fillWithChildren(termsByParent['0'] || []);
+}

-/***/ "laOf":
-/***/ (function(module, exports, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-select/index.js

-"use strict";


-var GetIntrinsic = __webpack_require__("j1Hc");
+/**
+ * External dependencies
+ */

-var $TypeError = GetIntrinsic('%TypeError%');
+/**
+ * WordPress dependencies
+ */

-// http://262.ecma-international.org/5.1/#sec-9.10

-module.exports = function CheckObjectCoercible(value, optMessage) {
-	if (value == null) {
-		throw new $TypeError(optMessage || ('Cannot call method on ' + value));
-	}
-	return value;
-};
+/**
+ * Internal dependencies
+ */


-/***/ }),

-/***/ "lzPt":
-/***/ (function(module, exports, __webpack_require__) {
+function tree_select_getSelectOptions(tree) {
+  let level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
+  return (0,external_lodash_namespaceObject.flatMap)(tree, treeNode => [{
+    value: treeNode.id,
+    label: (0,external_lodash_namespaceObject.repeat)('\u00A0', level * 3) + (0,external_lodash_namespaceObject.unescape)(treeNode.name)
+  }, ...tree_select_getSelectOptions(treeNode.children || [], level + 1)]);
+}

-// eslint-disable-next-line import/no-unresolved
-module.exports = __webpack_require__("VDVV").default;
+function TreeSelect(_ref) {
+  let {
+    label,
+    noOptionLabel,
+    onChange,
+    selectedId,
+    tree,
+    ...props
+  } = _ref;
+  const options = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return (0,external_lodash_namespaceObject.compact)([noOptionLabel && {
+      value: '',
+      label: noOptionLabel
+    }, ...tree_select_getSelectOptions(tree)]);
+  }, [noOptionLabel, tree]);
+  return (0,external_wp_element_namespaceObject.createElement)(select_control, extends_extends({
+    label,
+    options,
+    onChange,
+    value: selectedId
+  }, props));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/query-controls/category-select.js

-/***/ }),

-/***/ "m2ax":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+/**
+ * Internal dependencies
+ */


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports["default"] = getCalendarMonthWidth;
-function getCalendarMonthWidth(daySize, calendarMonthPadding) {
-  return 7 * daySize + 2 * calendarMonthPadding + 1;
-}
+/**
+ * WordPress dependencies
+ */

-/***/ }),

-/***/ "mMiH":
-/***/ (function(module, exports, __webpack_require__) {
+function CategorySelect(_ref) {
+  let {
+    label,
+    noOptionLabel,
+    categoriesList,
+    selectedCategoryId,
+    onChange,
+    ...props
+  } = _ref;
+  const termsTree = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return buildTermsTree(categoriesList);
+  }, [categoriesList]);
+  return (0,external_wp_element_namespaceObject.createElement)(TreeSelect, extends_extends({
+    label,
+    noOptionLabel,
+    onChange,
+    tree: termsTree,
+    selectedId: selectedCategoryId
+  }, props));
+}

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/query-controls/author-select.js


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+/**
+ * Internal dependencies
+ */

-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

-var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
+function AuthorSelect(_ref) {
+  let {
+    label,
+    noOptionLabel,
+    authorList,
+    selectedAuthorId,
+    onChange
+  } = _ref;
+  if (!authorList) return null;
+  const termsTree = buildTermsTree(authorList);
+  return (0,external_wp_element_namespaceObject.createElement)(TreeSelect, {
+    label,
+    noOptionLabel,
+    onChange,
+    tree: termsTree,
+    selectedId: selectedAuthorId
+  });
+}

-var _object = __webpack_require__("Koq/");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/query-controls/index.js

-var _object2 = _interopRequireDefault(_object);

-var _react = __webpack_require__("cDcd");
+/**
+ * WordPress dependencies
+ */

-var _react2 = _interopRequireDefault(_react);
+/**
+ * Internal dependencies
+ */

-var _propTypes = __webpack_require__("17x9");

-var _propTypes2 = _interopRequireDefault(_propTypes);

-var _reactAddonsShallowCompare = __webpack_require__("YZDV");

-var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);
+const DEFAULT_MIN_ITEMS = 1;
+const DEFAULT_MAX_ITEMS = 100;
+const MAX_CATEGORIES_SUGGESTIONS = 20;
+function QueryControls(_ref) {
+  let {
+    authorList,
+    selectedAuthorId,
+    categoriesList,
+    selectedCategoryId,
+    categorySuggestions,
+    selectedCategories,
+    numberOfItems,
+    order,
+    orderBy,
+    maxItems = DEFAULT_MAX_ITEMS,
+    minItems = DEFAULT_MIN_ITEMS,
+    onCategoryChange,
+    onAuthorChange,
+    onNumberOfItemsChange,
+    onOrderChange,
+    onOrderByChange
+  } = _ref;
+  return [onOrderChange && onOrderByChange && (0,external_wp_element_namespaceObject.createElement)(select_control, {
+    key: "query-controls-order-select",
+    label: (0,external_wp_i18n_namespaceObject.__)('Order by'),
+    value: `${orderBy}/${order}`,
+    options: [{
+      label: (0,external_wp_i18n_namespaceObject.__)('Newest to oldest'),
+      value: 'date/desc'
+    }, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Oldest to newest'),
+      value: 'date/asc'
+    }, {
+      /* translators: label for ordering posts by title in ascending order */
+      label: (0,external_wp_i18n_namespaceObject.__)('A → Z'),
+      value: 'title/asc'
+    }, {
+      /* translators: label for ordering posts by title in descending order */
+      label: (0,external_wp_i18n_namespaceObject.__)('Z → A'),
+      value: 'title/desc'
+    }],
+    onChange: value => {
+      const [newOrderBy, newOrder] = value.split('/');

-var _reactMomentProptypes = __webpack_require__("XGBb");
+      if (newOrder !== order) {
+        onOrderChange(newOrder);
+      }

-var _reactMomentProptypes2 = _interopRequireDefault(_reactMomentProptypes);
+      if (newOrderBy !== orderBy) {
+        onOrderByChange(newOrderBy);
+      }
+    }
+  }), categoriesList && onCategoryChange && (0,external_wp_element_namespaceObject.createElement)(CategorySelect, {
+    key: "query-controls-category-select",
+    categoriesList: categoriesList,
+    label: (0,external_wp_i18n_namespaceObject.__)('Category'),
+    noOptionLabel: (0,external_wp_i18n_namespaceObject.__)('All'),
+    selectedCategoryId: selectedCategoryId,
+    onChange: onCategoryChange
+  }), categorySuggestions && onCategoryChange && (0,external_wp_element_namespaceObject.createElement)(form_token_field, {
+    key: "query-controls-categories-select",
+    label: (0,external_wp_i18n_namespaceObject.__)('Categories'),
+    value: selectedCategories && selectedCategories.map(item => ({
+      id: item.id,
+      value: item.name || item.value
+    })),
+    suggestions: Object.keys(categorySuggestions),
+    onChange: onCategoryChange,
+    maxSuggestions: MAX_CATEGORIES_SUGGESTIONS
+  }), onAuthorChange && (0,external_wp_element_namespaceObject.createElement)(AuthorSelect, {
+    key: "query-controls-author-select",
+    authorList: authorList,
+    label: (0,external_wp_i18n_namespaceObject.__)('Author'),
+    noOptionLabel: (0,external_wp_i18n_namespaceObject.__)('All'),
+    selectedAuthorId: selectedAuthorId,
+    onChange: onAuthorChange
+  }), onNumberOfItemsChange && (0,external_wp_element_namespaceObject.createElement)(range_control, {
+    key: "query-controls-range-control",
+    label: (0,external_wp_i18n_namespaceObject.__)('Number of items'),
+    value: numberOfItems,
+    onChange: onNumberOfItemsChange,
+    min: minItems,
+    max: maxItems,
+    required: true
+  })];
+}

-var _airbnbPropTypes = __webpack_require__("Hsqg");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/radio-context/index.js
+/**
+ * WordPress dependencies
+ */

-var _reactWithStyles = __webpack_require__("TG4+");
+const RadioContext = (0,external_wp_element_namespaceObject.createContext)({
+  state: null,
+  setState: () => {}
+});
+/* harmony default export */ var radio_context = (RadioContext);

-var _moment = __webpack_require__("wy2R");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/radio/index.js

-var _moment2 = _interopRequireDefault(_moment);

-var _defaultPhrases = __webpack_require__("vV+G");

-var _getPhrasePropTypes = __webpack_require__("yc2e");
+/**
+ * External dependencies
+ */

-var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);
+/**
+ * WordPress dependencies
+ */

-var _CalendarWeek = __webpack_require__("2Q00");

-var _CalendarWeek2 = _interopRequireDefault(_CalendarWeek);
+/**
+ * Internal dependencies
+ */

-var _CalendarDay = __webpack_require__("N3k4");

-var _CalendarDay2 = _interopRequireDefault(_CalendarDay);

-var _calculateDimension = __webpack_require__("ixyq");

-var _calculateDimension2 = _interopRequireDefault(_calculateDimension);
+function radio_Radio(_ref, ref) {
+  let {
+    children,
+    value,
+    ...props
+  } = _ref;
+  const radioContext = (0,external_wp_element_namespaceObject.useContext)(radio_context);
+  const checked = radioContext.state === value;
+  return (0,external_wp_element_namespaceObject.createElement)(Radio, extends_extends({
+    ref: ref,
+    as: build_module_button,
+    variant: checked ? 'primary' : 'secondary',
+    value: value
+  }, radioContext, props), children || value);
+}

-var _getCalendarMonthWeeks = __webpack_require__("F7ZS");
+/* harmony default export */ var build_module_radio = ((0,external_wp_element_namespaceObject.forwardRef)(radio_Radio));

-var _getCalendarMonthWeeks2 = _interopRequireDefault(_getCalendarMonthWeeks);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/radio-group/index.js

-var _isSameDay = __webpack_require__("pRvc");

-var _isSameDay2 = _interopRequireDefault(_isSameDay);

-var _toISODateString = __webpack_require__("pYxT");
+/**
+ * External dependencies
+ */

-var _toISODateString2 = _interopRequireDefault(_toISODateString);
+/**
+ * WordPress dependencies
+ */

-var _ModifiersShape = __webpack_require__("J7JS");

-var _ModifiersShape2 = _interopRequireDefault(_ModifiersShape);
+/**
+ * Internal dependencies
+ */

-var _ScrollableOrientationShape = __webpack_require__("aE6U");

-var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);

-var _DayOfWeekShape = __webpack_require__("2S2E");

-var _DayOfWeekShape2 = _interopRequireDefault(_DayOfWeekShape);
+function radio_group_RadioGroup(_ref, ref) {
+  let {
+    label,
+    checked,
+    defaultChecked,
+    disabled,
+    onChange,
+    ...props
+  } = _ref;
+  const radioState = useRadioState({
+    state: defaultChecked,
+    baseId: props.id
+  });
+  const radioContext = { ...radioState,
+    disabled,
+    // controlled or uncontrolled
+    state: checked !== null && checked !== void 0 ? checked : radioState.state,
+    setState: onChange !== null && onChange !== void 0 ? onChange : radioState.setState
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(radio_context.Provider, {
+    value: radioContext
+  }, (0,external_wp_element_namespaceObject.createElement)(RadioGroup, extends_extends({
+    ref: ref,
+    as: button_group,
+    "aria-label": label
+  }, radioState, props)));
+}

-var _constants = __webpack_require__("Fv1B");
+/* harmony default export */ var radio_group = ((0,external_wp_element_namespaceObject.forwardRef)(radio_group_RadioGroup));

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/radio-control/index.js

-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint react/no-array-index-key: 0 */
+/**
+ * External dependencies
+ */

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
-  month: _reactMomentProptypes2['default'].momentObj,
-  horizontalMonthPadding: _airbnbPropTypes.nonNegativeInteger,
-  isVisible: _propTypes2['default'].bool,
-  enableOutsideDays: _propTypes2['default'].bool,
-  modifiers: _propTypes2['default'].objectOf(_ModifiersShape2['default']),
-  orientation: _ScrollableOrientationShape2['default'],
-  daySize: _airbnbPropTypes.nonNegativeInteger,
-  onDayClick: _propTypes2['default'].func,
-  onDayMouseEnter: _propTypes2['default'].func,
-  onDayMouseLeave: _propTypes2['default'].func,
-  onMonthSelect: _propTypes2['default'].func,
-  onYearSelect: _propTypes2['default'].func,
-  renderMonthText: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
-  renderCalendarDay: _propTypes2['default'].func,
-  renderDayContents: _propTypes2['default'].func,
-  renderMonthElement: (0, _airbnbPropTypes.mutuallyExclusiveProps)(_propTypes2['default'].func, 'renderMonthText', 'renderMonthElement'),
-  firstDayOfWeek: _DayOfWeekShape2['default'],
-  setMonthTitleHeight: _propTypes2['default'].func,
-  verticalBorderSpacing: _airbnbPropTypes.nonNegativeInteger,

-  focusedDate: _reactMomentProptypes2['default'].momentObj, // indicates focusable day
-  isFocused: _propTypes2['default'].bool, // indicates whether or not to move focus to focusable day
+/**
+ * WordPress dependencies
+ */

-  // i18n
-  monthFormat: _propTypes2['default'].string,
-  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.CalendarDayPhrases)),
-  dayAriaLabelFormat: _propTypes2['default'].string
-}));

-var defaultProps = {
-  month: (0, _moment2['default'])(),
-  horizontalMonthPadding: 13,
-  isVisible: true,
-  enableOutsideDays: false,
-  modifiers: {},
-  orientation: _constants.HORIZONTAL_ORIENTATION,
-  daySize: _constants.DAY_SIZE,
-  onDayClick: function () {
-    function onDayClick() {}
+/**
+ * Internal dependencies
+ */

-    return onDayClick;
-  }(),
-  onDayMouseEnter: function () {
-    function onDayMouseEnter() {}

-    return onDayMouseEnter;
-  }(),
-  onDayMouseLeave: function () {
-    function onDayMouseLeave() {}
+function RadioControl(_ref) {
+  let {
+    label,
+    className,
+    selected,
+    help,
+    onChange,
+    hideLabelFromVision,
+    options = [],
+    ...props
+  } = _ref;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(RadioControl);
+  const id = `inspector-radio-control-${instanceId}`;

-    return onDayMouseLeave;
-  }(),
-  onMonthSelect: function () {
-    function onMonthSelect() {}
+  const onChangeValue = event => onChange(event.target.value);

-    return onMonthSelect;
-  }(),
-  onYearSelect: function () {
-    function onYearSelect() {}
+  return !(0,external_lodash_namespaceObject.isEmpty)(options) && (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    label: label,
+    id: id,
+    hideLabelFromVision: hideLabelFromVision,
+    help: help,
+    className: classnames_default()(className, 'components-radio-control')
+  }, options.map((option, index) => (0,external_wp_element_namespaceObject.createElement)("div", {
+    key: `${id}-${index}`,
+    className: "components-radio-control__option"
+  }, (0,external_wp_element_namespaceObject.createElement)("input", extends_extends({
+    id: `${id}-${index}`,
+    className: "components-radio-control__input",
+    type: "radio",
+    name: id,
+    value: option.value,
+    onChange: onChangeValue,
+    checked: option.value === selected,
+    "aria-describedby": !!help ? `${id}__help` : undefined
+  }, props)), (0,external_wp_element_namespaceObject.createElement)("label", {
+    htmlFor: `${id}-${index}`
+  }, option.label))));
+}

-    return onYearSelect;
-  }(),
+;// CONCATENATED MODULE: ./node_modules/re-resizable/lib/resizer.js
+var resizer_extends = (undefined && undefined.__extends) || (function () {
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    };
+    return function (d, b) {
+        if (typeof b !== "function" && b !== null)
+            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
+        extendStatics(d, b);
+        function __() { this.constructor = d; }
+        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+    };
+})();
+var resizer_assign = (undefined && undefined.__assign) || function () {
+    resizer_assign = Object.assign || function(t) {
+        for (var s, i = 1, n = arguments.length; i < n; i++) {
+            s = arguments[i];
+            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
+                t[p] = s[p];
+        }
+        return t;
+    };
+    return resizer_assign.apply(this, arguments);
+};

-  renderMonthText: null,
-  renderCalendarDay: function () {
-    function renderCalendarDay(props) {
-      return _react2['default'].createElement(_CalendarDay2['default'], props);
+var styles = {
+    top: {
+        width: '100%',
+        height: '10px',
+        top: '-5px',
+        left: '0px',
+        cursor: 'row-resize',
+    },
+    right: {
+        width: '10px',
+        height: '100%',
+        top: '0px',
+        right: '-5px',
+        cursor: 'col-resize',
+    },
+    bottom: {
+        width: '100%',
+        height: '10px',
+        bottom: '-5px',
+        left: '0px',
+        cursor: 'row-resize',
+    },
+    left: {
+        width: '10px',
+        height: '100%',
+        top: '0px',
+        left: '-5px',
+        cursor: 'col-resize',
+    },
+    topRight: {
+        width: '20px',
+        height: '20px',
+        position: 'absolute',
+        right: '-10px',
+        top: '-10px',
+        cursor: 'ne-resize',
+    },
+    bottomRight: {
+        width: '20px',
+        height: '20px',
+        position: 'absolute',
+        right: '-10px',
+        bottom: '-10px',
+        cursor: 'se-resize',
+    },
+    bottomLeft: {
+        width: '20px',
+        height: '20px',
+        position: 'absolute',
+        left: '-10px',
+        bottom: '-10px',
+        cursor: 'sw-resize',
+    },
+    topLeft: {
+        width: '20px',
+        height: '20px',
+        position: 'absolute',
+        left: '-10px',
+        top: '-10px',
+        cursor: 'nw-resize',
+    },
+};
+var Resizer = /** @class */ (function (_super) {
+    resizer_extends(Resizer, _super);
+    function Resizer() {
+        var _this = _super !== null && _super.apply(this, arguments) || this;
+        _this.onMouseDown = function (e) {
+            _this.props.onResizeStart(e, _this.props.direction);
+        };
+        _this.onTouchStart = function (e) {
+            _this.props.onResizeStart(e, _this.props.direction);
+        };
+        return _this;
     }
+    Resizer.prototype.render = function () {
+        return (external_React_.createElement("div", { className: this.props.className || '', style: resizer_assign(resizer_assign({ position: 'absolute', userSelect: 'none' }, styles[this.props.direction]), (this.props.replaceStyles || {})), onMouseDown: this.onMouseDown, onTouchStart: this.onTouchStart }, this.props.children));
+    };
+    return Resizer;
+}(external_React_.PureComponent));

-    return renderCalendarDay;
-  }(),
-  renderDayContents: null,
-  renderMonthElement: null,
-  firstDayOfWeek: null,
-  setMonthTitleHeight: null,
-
-  focusedDate: null,
-  isFocused: false,

-  // i18n
-  monthFormat: 'MMMM YYYY', // english locale
-  phrases: _defaultPhrases.CalendarDayPhrases,
-  dayAriaLabelFormat: undefined,
-  verticalBorderSpacing: undefined
+// EXTERNAL MODULE: ./node_modules/fast-memoize/src/index.js
+var src = __webpack_require__(2920);
+var src_default = /*#__PURE__*/__webpack_require__.n(src);
+;// CONCATENATED MODULE: ./node_modules/re-resizable/lib/index.js
+var lib_extends = (undefined && undefined.__extends) || (function () {
+    var extendStatics = function (d, b) {
+        extendStatics = Object.setPrototypeOf ||
+            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
+        return extendStatics(d, b);
+    };
+    return function (d, b) {
+        if (typeof b !== "function" && b !== null)
+            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
+        extendStatics(d, b);
+        function __() { this.constructor = d; }
+        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+    };
+})();
+var lib_assign = (undefined && undefined.__assign) || function () {
+    lib_assign = Object.assign || function(t) {
+        for (var s, i = 1, n = arguments.length; i < n; i++) {
+            s = arguments[i];
+            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
+                t[p] = s[p];
+        }
+        return t;
+    };
+    return lib_assign.apply(this, arguments);
 };

-var CalendarMonth = function (_React$Component) {
-  _inherits(CalendarMonth, _React$Component);
-
-  function CalendarMonth(props) {
-    _classCallCheck(this, CalendarMonth);

-    var _this = _possibleConstructorReturn(this, (CalendarMonth.__proto__ || Object.getPrototypeOf(CalendarMonth)).call(this, props));

-    _this.state = {
-      weeks: (0, _getCalendarMonthWeeks2['default'])(props.month, props.enableOutsideDays, props.firstDayOfWeek == null ? _moment2['default'].localeData().firstDayOfWeek() : props.firstDayOfWeek)
+var DEFAULT_SIZE = {
+    width: 'auto',
+    height: 'auto',
+};
+var lib_clamp = src_default()(function (n, min, max) { return Math.max(Math.min(n, max), min); });
+var snap = src_default()(function (n, size) { return Math.round(n / size) * size; });
+var hasDirection = src_default()(function (dir, target) {
+    return new RegExp(dir, 'i').test(target);
+});
+// INFO: In case of window is a Proxy and does not porxy Events correctly, use isTouchEvent & isMouseEvent to distinguish event type instead of `instanceof`.
+var lib_isTouchEvent = function (event) {
+    return Boolean(event.touches && event.touches.length);
+};
+var lib_isMouseEvent = function (event) {
+    return Boolean((event.clientX || event.clientX === 0) &&
+        (event.clientY || event.clientY === 0));
+};
+var findClosestSnap = src_default()(function (n, snapArray, snapGap) {
+    if (snapGap === void 0) { snapGap = 0; }
+    var closestGapIndex = snapArray.reduce(function (prev, curr, index) { return (Math.abs(curr - n) < Math.abs(snapArray[prev] - n) ? index : prev); }, 0);
+    var gap = Math.abs(snapArray[closestGapIndex] - n);
+    return snapGap === 0 || gap < snapGap ? snapArray[closestGapIndex] : n;
+});
+var endsWith = src_default()(function (str, searchStr) {
+    return str.substr(str.length - searchStr.length, searchStr.length) === searchStr;
+});
+var getStringSize = src_default()(function (n) {
+    n = n.toString();
+    if (n === 'auto') {
+        return n;
+    }
+    if (endsWith(n, 'px')) {
+        return n;
+    }
+    if (endsWith(n, '%')) {
+        return n;
+    }
+    if (endsWith(n, 'vh')) {
+        return n;
+    }
+    if (endsWith(n, 'vw')) {
+        return n;
+    }
+    if (endsWith(n, 'vmax')) {
+        return n;
+    }
+    if (endsWith(n, 'vmin')) {
+        return n;
+    }
+    return n + "px";
+});
+var getPixelSize = function (size, parentSize, innerWidth, innerHeight) {
+    if (size && typeof size === 'string') {
+        if (endsWith(size, 'px')) {
+            return Number(size.replace('px', ''));
+        }
+        if (endsWith(size, '%')) {
+            var ratio = Number(size.replace('%', '')) / 100;
+            return parentSize * ratio;
+        }
+        if (endsWith(size, 'vw')) {
+            var ratio = Number(size.replace('vw', '')) / 100;
+            return innerWidth * ratio;
+        }
+        if (endsWith(size, 'vh')) {
+            var ratio = Number(size.replace('vh', '')) / 100;
+            return innerHeight * ratio;
+        }
+    }
+    return size;
+};
+var calculateNewMax = src_default()(function (parentSize, innerWidth, innerHeight, maxWidth, maxHeight, minWidth, minHeight) {
+    maxWidth = getPixelSize(maxWidth, parentSize.width, innerWidth, innerHeight);
+    maxHeight = getPixelSize(maxHeight, parentSize.height, innerWidth, innerHeight);
+    minWidth = getPixelSize(minWidth, parentSize.width, innerWidth, innerHeight);
+    minHeight = getPixelSize(minHeight, parentSize.height, innerWidth, innerHeight);
+    return {
+        maxWidth: typeof maxWidth === 'undefined' ? undefined : Number(maxWidth),
+        maxHeight: typeof maxHeight === 'undefined' ? undefined : Number(maxHeight),
+        minWidth: typeof minWidth === 'undefined' ? undefined : Number(minWidth),
+        minHeight: typeof minHeight === 'undefined' ? undefined : Number(minHeight),
+    };
+});
+var definedProps = [
+    'as',
+    'style',
+    'className',
+    'grid',
+    'snap',
+    'bounds',
+    'boundsByDirection',
+    'size',
+    'defaultSize',
+    'minWidth',
+    'minHeight',
+    'maxWidth',
+    'maxHeight',
+    'lockAspectRatio',
+    'lockAspectRatioExtraWidth',
+    'lockAspectRatioExtraHeight',
+    'enable',
+    'handleStyles',
+    'handleClasses',
+    'handleWrapperStyle',
+    'handleWrapperClass',
+    'children',
+    'onResizeStart',
+    'onResize',
+    'onResizeStop',
+    'handleComponent',
+    'scale',
+    'resizeRatio',
+    'snapGap',
+];
+// HACK: This class is used to calculate % size.
+var baseClassName = '__resizable_base__';
+var Resizable = /** @class */ (function (_super) {
+    lib_extends(Resizable, _super);
+    function Resizable(props) {
+        var _this = _super.call(this, props) || this;
+        _this.ratio = 1;
+        _this.resizable = null;
+        // For parent boundary
+        _this.parentLeft = 0;
+        _this.parentTop = 0;
+        // For boundary
+        _this.resizableLeft = 0;
+        _this.resizableRight = 0;
+        _this.resizableTop = 0;
+        _this.resizableBottom = 0;
+        // For target boundary
+        _this.targetLeft = 0;
+        _this.targetTop = 0;
+        _this.appendBase = function () {
+            if (!_this.resizable || !_this.window) {
+                return null;
+            }
+            var parent = _this.parentNode;
+            if (!parent) {
+                return null;
+            }
+            var element = _this.window.document.createElement('div');
+            element.style.width = '100%';
+            element.style.height = '100%';
+            element.style.position = 'absolute';
+            element.style.transform = 'scale(0, 0)';
+            element.style.left = '0';
+            element.style.flex = '0';
+            if (element.classList) {
+                element.classList.add(baseClassName);
+            }
+            else {
+                element.className += baseClassName;
+            }
+            parent.appendChild(element);
+            return element;
+        };
+        _this.removeBase = function (base) {
+            var parent = _this.parentNode;
+            if (!parent) {
+                return;
+            }
+            parent.removeChild(base);
+        };
+        _this.ref = function (c) {
+            if (c) {
+                _this.resizable = c;
+            }
+        };
+        _this.state = {
+            isResizing: false,
+            width: typeof (_this.propsSize && _this.propsSize.width) === 'undefined'
+                ? 'auto'
+                : _this.propsSize && _this.propsSize.width,
+            height: typeof (_this.propsSize && _this.propsSize.height) === 'undefined'
+                ? 'auto'
+                : _this.propsSize && _this.propsSize.height,
+            direction: 'right',
+            original: {
+                x: 0,
+                y: 0,
+                width: 0,
+                height: 0,
+            },
+            backgroundStyle: {
+                height: '100%',
+                width: '100%',
+                backgroundColor: 'rgba(0,0,0,0)',
+                cursor: 'auto',
+                opacity: 0,
+                position: 'fixed',
+                zIndex: 9999,
+                top: '0',
+                left: '0',
+                bottom: '0',
+                right: '0',
+            },
+            flexBasis: undefined,
+        };
+        _this.onResizeStart = _this.onResizeStart.bind(_this);
+        _this.onMouseMove = _this.onMouseMove.bind(_this);
+        _this.onMouseUp = _this.onMouseUp.bind(_this);
+        return _this;
+    }
+    Object.defineProperty(Resizable.prototype, "parentNode", {
+        get: function () {
+            if (!this.resizable) {
+                return null;
+            }
+            return this.resizable.parentNode;
+        },
+        enumerable: false,
+        configurable: true
+    });
+    Object.defineProperty(Resizable.prototype, "window", {
+        get: function () {
+            if (!this.resizable) {
+                return null;
+            }
+            if (!this.resizable.ownerDocument) {
+                return null;
+            }
+            return this.resizable.ownerDocument.defaultView;
+        },
+        enumerable: false,
+        configurable: true
+    });
+    Object.defineProperty(Resizable.prototype, "propsSize", {
+        get: function () {
+            return this.props.size || this.props.defaultSize || DEFAULT_SIZE;
+        },
+        enumerable: false,
+        configurable: true
+    });
+    Object.defineProperty(Resizable.prototype, "size", {
+        get: function () {
+            var width = 0;
+            var height = 0;
+            if (this.resizable && this.window) {
+                var orgWidth = this.resizable.offsetWidth;
+                var orgHeight = this.resizable.offsetHeight;
+                // HACK: Set position `relative` to get parent size.
+                //       This is because when re-resizable set `absolute`, I can not get base width correctly.
+                var orgPosition = this.resizable.style.position;
+                if (orgPosition !== 'relative') {
+                    this.resizable.style.position = 'relative';
+                }
+                // INFO: Use original width or height if set auto.
+                width = this.resizable.style.width !== 'auto' ? this.resizable.offsetWidth : orgWidth;
+                height = this.resizable.style.height !== 'auto' ? this.resizable.offsetHeight : orgHeight;
+                // Restore original position
+                this.resizable.style.position = orgPosition;
+            }
+            return { width: width, height: height };
+        },
+        enumerable: false,
+        configurable: true
+    });
+    Object.defineProperty(Resizable.prototype, "sizeStyle", {
+        get: function () {
+            var _this = this;
+            var size = this.props.size;
+            var getSize = function (key) {
+                if (typeof _this.state[key] === 'undefined' || _this.state[key] === 'auto') {
+                    return 'auto';
+                }
+                if (_this.propsSize && _this.propsSize[key] && endsWith(_this.propsSize[key].toString(), '%')) {
+                    if (endsWith(_this.state[key].toString(), '%')) {
+                        return _this.state[key].toString();
+                    }
+                    var parentSize = _this.getParentSize();
+                    var value = Number(_this.state[key].toString().replace('px', ''));
+                    var percent = (value / parentSize[key]) * 100;
+                    return percent + "%";
+                }
+                return getStringSize(_this.state[key]);
+            };
+            var width = size && typeof size.width !== 'undefined' && !this.state.isResizing
+                ? getStringSize(size.width)
+                : getSize('width');
+            var height = size && typeof size.height !== 'undefined' && !this.state.isResizing
+                ? getStringSize(size.height)
+                : getSize('height');
+            return { width: width, height: height };
+        },
+        enumerable: false,
+        configurable: true
+    });
+    Resizable.prototype.getParentSize = function () {
+        if (!this.parentNode) {
+            if (!this.window) {
+                return { width: 0, height: 0 };
+            }
+            return { width: this.window.innerWidth, height: this.window.innerHeight };
+        }
+        var base = this.appendBase();
+        if (!base) {
+            return { width: 0, height: 0 };
+        }
+        // INFO: To calculate parent width with flex layout
+        var wrapChanged = false;
+        var wrap = this.parentNode.style.flexWrap;
+        if (wrap !== 'wrap') {
+            wrapChanged = true;
+            this.parentNode.style.flexWrap = 'wrap';
+            // HACK: Use relative to get parent padding size
+        }
+        base.style.position = 'relative';
+        base.style.minWidth = '100%';
+        var size = {
+            width: base.offsetWidth,
+            height: base.offsetHeight,
+        };
+        if (wrapChanged) {
+            this.parentNode.style.flexWrap = wrap;
+        }
+        this.removeBase(base);
+        return size;
+    };
+    Resizable.prototype.bindEvents = function () {
+        if (this.window) {
+            this.window.addEventListener('mouseup', this.onMouseUp);
+            this.window.addEventListener('mousemove', this.onMouseMove);
+            this.window.addEventListener('mouseleave', this.onMouseUp);
+            this.window.addEventListener('touchmove', this.onMouseMove, {
+                capture: true,
+                passive: false,
+            });
+            this.window.addEventListener('touchend', this.onMouseUp);
+        }
+    };
+    Resizable.prototype.unbindEvents = function () {
+        if (this.window) {
+            this.window.removeEventListener('mouseup', this.onMouseUp);
+            this.window.removeEventListener('mousemove', this.onMouseMove);
+            this.window.removeEventListener('mouseleave', this.onMouseUp);
+            this.window.removeEventListener('touchmove', this.onMouseMove, true);
+            this.window.removeEventListener('touchend', this.onMouseUp);
+        }
     };
-
-    _this.setCaptionRef = _this.setCaptionRef.bind(_this);
-    _this.setMonthTitleHeight = _this.setMonthTitleHeight.bind(_this);
-    return _this;
-  }
-
-  _createClass(CalendarMonth, [{
-    key: 'componentDidMount',
-    value: function () {
-      function componentDidMount() {
-        this.setMonthTitleHeightTimeout = setTimeout(this.setMonthTitleHeight, 0);
-      }
-
-      return componentDidMount;
-    }()
-  }, {
-    key: 'componentWillReceiveProps',
-    value: function () {
-      function componentWillReceiveProps(nextProps) {
-        var month = nextProps.month,
-            enableOutsideDays = nextProps.enableOutsideDays,
-            firstDayOfWeek = nextProps.firstDayOfWeek;
-        var _props = this.props,
-            prevMonth = _props.month,
-            prevEnableOutsideDays = _props.enableOutsideDays,
-            prevFirstDayOfWeek = _props.firstDayOfWeek;
-
-        if (!month.isSame(prevMonth) || enableOutsideDays !== prevEnableOutsideDays || firstDayOfWeek !== prevFirstDayOfWeek) {
-          this.setState({
-            weeks: (0, _getCalendarMonthWeeks2['default'])(month, enableOutsideDays, firstDayOfWeek == null ? _moment2['default'].localeData().firstDayOfWeek() : firstDayOfWeek)
-          });
+    Resizable.prototype.componentDidMount = function () {
+        if (!this.resizable || !this.window) {
+            return;
         }
-      }
-
-      return componentWillReceiveProps;
-    }()
-  }, {
-    key: 'shouldComponentUpdate',
-    value: function () {
-      function shouldComponentUpdate(nextProps, nextState) {
-        return (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState);
-      }
-
-      return shouldComponentUpdate;
-    }()
-  }, {
-    key: 'componentWillUnmount',
-    value: function () {
-      function componentWillUnmount() {
-        if (this.setMonthTitleHeightTimeout) {
-          clearTimeout(this.setMonthTitleHeightTimeout);
+        var computedStyle = this.window.getComputedStyle(this.resizable);
+        this.setState({
+            width: this.state.width || this.size.width,
+            height: this.state.height || this.size.height,
+            flexBasis: computedStyle.flexBasis !== 'auto' ? computedStyle.flexBasis : undefined,
+        });
+    };
+    Resizable.prototype.componentWillUnmount = function () {
+        if (this.window) {
+            this.unbindEvents();
         }
-      }
-
-      return componentWillUnmount;
-    }()
-  }, {
-    key: 'setMonthTitleHeight',
-    value: function () {
-      function setMonthTitleHeight() {
-        var setMonthTitleHeight = this.props.setMonthTitleHeight;
-
-        if (setMonthTitleHeight) {
-          var captionHeight = (0, _calculateDimension2['default'])(this.captionRef, 'height', true, true);
-          setMonthTitleHeight(captionHeight);
+    };
+    Resizable.prototype.createSizeForCssProperty = function (newSize, kind) {
+        var propsSize = this.propsSize && this.propsSize[kind];
+        return this.state[kind] === 'auto' &&
+            this.state.original[kind] === newSize &&
+            (typeof propsSize === 'undefined' || propsSize === 'auto')
+            ? 'auto'
+            : newSize;
+    };
+    Resizable.prototype.calculateNewMaxFromBoundary = function (maxWidth, maxHeight) {
+        var boundsByDirection = this.props.boundsByDirection;
+        var direction = this.state.direction;
+        var widthByDirection = boundsByDirection && hasDirection('left', direction);
+        var heightByDirection = boundsByDirection && hasDirection('top', direction);
+        var boundWidth;
+        var boundHeight;
+        if (this.props.bounds === 'parent') {
+            var parent_1 = this.parentNode;
+            if (parent_1) {
+                boundWidth = widthByDirection
+                    ? this.resizableRight - this.parentLeft
+                    : parent_1.offsetWidth + (this.parentLeft - this.resizableLeft);
+                boundHeight = heightByDirection
+                    ? this.resizableBottom - this.parentTop
+                    : parent_1.offsetHeight + (this.parentTop - this.resizableTop);
+            }
         }
-      }
-
-      return setMonthTitleHeight;
-    }()
-  }, {
-    key: 'setCaptionRef',
-    value: function () {
-      function setCaptionRef(ref) {
-        this.captionRef = ref;
-      }
-
-      return setCaptionRef;
-    }()
-  }, {
-    key: 'render',
-    value: function () {
-      function render() {
-        var _props2 = this.props,
-            dayAriaLabelFormat = _props2.dayAriaLabelFormat,
-            daySize = _props2.daySize,
-            focusedDate = _props2.focusedDate,
-            horizontalMonthPadding = _props2.horizontalMonthPadding,
-            isFocused = _props2.isFocused,
-            isVisible = _props2.isVisible,
-            modifiers = _props2.modifiers,
-            month = _props2.month,
-            monthFormat = _props2.monthFormat,
-            onDayClick = _props2.onDayClick,
-            onDayMouseEnter = _props2.onDayMouseEnter,
-            onDayMouseLeave = _props2.onDayMouseLeave,
-            onMonthSelect = _props2.onMonthSelect,
-            onYearSelect = _props2.onYearSelect,
-            orientation = _props2.orientation,
-            phrases = _props2.phrases,
-            renderCalendarDay = _props2.renderCalendarDay,
-            renderDayContents = _props2.renderDayContents,
-            renderMonthElement = _props2.renderMonthElement,
-            renderMonthText = _props2.renderMonthText,
-            styles = _props2.styles,
-            verticalBorderSpacing = _props2.verticalBorderSpacing;
-        var weeks = this.state.weeks;
-
-        var monthTitle = renderMonthText ? renderMonthText(month) : month.format(monthFormat);
-
-        var verticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;
-
-        return _react2['default'].createElement(
-          'div',
-          _extends({}, (0, _reactWithStyles.css)(styles.CalendarMonth, { padding: '0 ' + String(horizontalMonthPadding) + 'px' }), {
-            'data-visible': isVisible
-          }),
-          _react2['default'].createElement(
-            'div',
-            _extends({
-              ref: this.setCaptionRef
-            }, (0, _reactWithStyles.css)(styles.CalendarMonth_caption, verticalScrollable && styles.CalendarMonth_caption__verticalScrollable)),
-            renderMonthElement ? renderMonthElement({ month: month, onMonthSelect: onMonthSelect, onYearSelect: onYearSelect }) : _react2['default'].createElement(
-              'strong',
-              null,
-              monthTitle
-            )
-          ),
-          _react2['default'].createElement(
-            'table',
-            _extends({}, (0, _reactWithStyles.css)(!verticalBorderSpacing && styles.CalendarMonth_table, verticalBorderSpacing && styles.CalendarMonth_verticalSpacing, verticalBorderSpacing && { borderSpacing: '0px ' + String(verticalBorderSpacing) + 'px' }), {
-              role: 'presentation'
-            }),
-            _react2['default'].createElement(
-              'tbody',
-              null,
-              weeks.map(function (week, i) {
-                return _react2['default'].createElement(
-                  _CalendarWeek2['default'],
-                  { key: i },
-                  week.map(function (day, dayOfWeek) {
-                    return renderCalendarDay({
-                      key: dayOfWeek,
-                      day: day,
-                      daySize: daySize,
-                      isOutsideDay: !day || day.month() !== month.month(),
-                      tabIndex: isVisible && (0, _isSameDay2['default'])(day, focusedDate) ? 0 : -1,
-                      isFocused: isFocused,
-                      onDayMouseEnter: onDayMouseEnter,
-                      onDayMouseLeave: onDayMouseLeave,
-                      onDayClick: onDayClick,
-                      renderDayContents: renderDayContents,
-                      phrases: phrases,
-                      modifiers: modifiers[(0, _toISODateString2['default'])(day)],
-                      ariaLabelFormat: dayAriaLabelFormat
-                    });
-                  })
-                );
-              })
-            )
-          )
-        );
-      }
-
-      return render;
-    }()
-  }]);
-
-  return CalendarMonth;
-}(_react2['default'].Component);
-
-CalendarMonth.propTypes = propTypes;
-CalendarMonth.defaultProps = defaultProps;
-
-exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref) {
-  var _ref$reactDates = _ref.reactDates,
-      color = _ref$reactDates.color,
-      font = _ref$reactDates.font,
-      spacing = _ref$reactDates.spacing;
-  return {
-    CalendarMonth: {
-      background: color.background,
-      textAlign: 'center',
-      verticalAlign: 'top',
-      userSelect: 'none'
-    },
-
-    CalendarMonth_table: {
-      borderCollapse: 'collapse',
-      borderSpacing: 0
-    },
-
-    CalendarMonth_verticalSpacing: {
-      borderCollapse: 'separate'
-    },
-
-    CalendarMonth_caption: {
-      color: color.text,
-      fontSize: font.captionSize,
-      textAlign: 'center',
-      paddingTop: spacing.captionPaddingTop,
-      paddingBottom: spacing.captionPaddingBottom,
-      captionSide: 'initial'
-    },
-
-    CalendarMonth_caption__verticalScrollable: {
-      paddingTop: 12,
-      paddingBottom: 7
-    }
-  };
-})(CalendarMonth);
-
-/***/ }),
+        else if (this.props.bounds === 'window') {
+            if (this.window) {
+                boundWidth = widthByDirection ? this.resizableRight : this.window.innerWidth - this.resizableLeft;
+                boundHeight = heightByDirection ? this.resizableBottom : this.window.innerHeight - this.resizableTop;
+            }
+        }
+        else if (this.props.bounds) {
+            boundWidth = widthByDirection
+                ? this.resizableRight - this.targetLeft
+                : this.props.bounds.offsetWidth + (this.targetLeft - this.resizableLeft);
+            boundHeight = heightByDirection
+                ? this.resizableBottom - this.targetTop
+                : this.props.bounds.offsetHeight + (this.targetTop - this.resizableTop);
+        }
+        if (boundWidth && Number.isFinite(boundWidth)) {
+            maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth;
+        }
+        if (boundHeight && Number.isFinite(boundHeight)) {
+            maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight;
+        }
+        return { maxWidth: maxWidth, maxHeight: maxHeight };
+    };
+    Resizable.prototype.calculateNewSizeFromDirection = function (clientX, clientY) {
+        var scale = this.props.scale || 1;
+        var resizeRatio = this.props.resizeRatio || 1;
+        var _a = this.state, direction = _a.direction, original = _a.original;
+        var _b = this.props, lockAspectRatio = _b.lockAspectRatio, lockAspectRatioExtraHeight = _b.lockAspectRatioExtraHeight, lockAspectRatioExtraWidth = _b.lockAspectRatioExtraWidth;
+        var newWidth = original.width;
+        var newHeight = original.height;
+        var extraHeight = lockAspectRatioExtraHeight || 0;
+        var extraWidth = lockAspectRatioExtraWidth || 0;
+        if (hasDirection('right', direction)) {
+            newWidth = original.width + ((clientX - original.x) * resizeRatio) / scale;
+            if (lockAspectRatio) {
+                newHeight = (newWidth - extraWidth) / this.ratio + extraHeight;
+            }
+        }
+        if (hasDirection('left', direction)) {
+            newWidth = original.width - ((clientX - original.x) * resizeRatio) / scale;
+            if (lockAspectRatio) {
+                newHeight = (newWidth - extraWidth) / this.ratio + extraHeight;
+            }
+        }
+        if (hasDirection('bottom', direction)) {
+            newHeight = original.height + ((clientY - original.y) * resizeRatio) / scale;
+            if (lockAspectRatio) {
+                newWidth = (newHeight - extraHeight) * this.ratio + extraWidth;
+            }
+        }
+        if (hasDirection('top', direction)) {
+            newHeight = original.height - ((clientY - original.y) * resizeRatio) / scale;
+            if (lockAspectRatio) {
+                newWidth = (newHeight - extraHeight) * this.ratio + extraWidth;
+            }
+        }
+        return { newWidth: newWidth, newHeight: newHeight };
+    };
+    Resizable.prototype.calculateNewSizeFromAspectRatio = function (newWidth, newHeight, max, min) {
+        var _a = this.props, lockAspectRatio = _a.lockAspectRatio, lockAspectRatioExtraHeight = _a.lockAspectRatioExtraHeight, lockAspectRatioExtraWidth = _a.lockAspectRatioExtraWidth;
+        var computedMinWidth = typeof min.width === 'undefined' ? 10 : min.width;
+        var computedMaxWidth = typeof max.width === 'undefined' || max.width < 0 ? newWidth : max.width;
+        var computedMinHeight = typeof min.height === 'undefined' ? 10 : min.height;
+        var computedMaxHeight = typeof max.height === 'undefined' || max.height < 0 ? newHeight : max.height;
+        var extraHeight = lockAspectRatioExtraHeight || 0;
+        var extraWidth = lockAspectRatioExtraWidth || 0;
+        if (lockAspectRatio) {
+            var extraMinWidth = (computedMinHeight - extraHeight) * this.ratio + extraWidth;
+            var extraMaxWidth = (computedMaxHeight - extraHeight) * this.ratio + extraWidth;
+            var extraMinHeight = (computedMinWidth - extraWidth) / this.ratio + extraHeight;
+            var extraMaxHeight = (computedMaxWidth - extraWidth) / this.ratio + extraHeight;
+            var lockedMinWidth = Math.max(computedMinWidth, extraMinWidth);
+            var lockedMaxWidth = Math.min(computedMaxWidth, extraMaxWidth);
+            var lockedMinHeight = Math.max(computedMinHeight, extraMinHeight);
+            var lockedMaxHeight = Math.min(computedMaxHeight, extraMaxHeight);
+            newWidth = lib_clamp(newWidth, lockedMinWidth, lockedMaxWidth);
+            newHeight = lib_clamp(newHeight, lockedMinHeight, lockedMaxHeight);
+        }
+        else {
+            newWidth = lib_clamp(newWidth, computedMinWidth, computedMaxWidth);
+            newHeight = lib_clamp(newHeight, computedMinHeight, computedMaxHeight);
+        }
+        return { newWidth: newWidth, newHeight: newHeight };
+    };
+    Resizable.prototype.setBoundingClientRect = function () {
+        // For parent boundary
+        if (this.props.bounds === 'parent') {
+            var parent_2 = this.parentNode;
+            if (parent_2) {
+                var parentRect = parent_2.getBoundingClientRect();
+                this.parentLeft = parentRect.left;
+                this.parentTop = parentRect.top;
+            }
+        }
+        // For target(html element) boundary
+        if (this.props.bounds && typeof this.props.bounds !== 'string') {
+            var targetRect = this.props.bounds.getBoundingClientRect();
+            this.targetLeft = targetRect.left;
+            this.targetTop = targetRect.top;
+        }
+        // For boundary
+        if (this.resizable) {
+            var _a = this.resizable.getBoundingClientRect(), left = _a.left, top_1 = _a.top, right = _a.right, bottom = _a.bottom;
+            this.resizableLeft = left;
+            this.resizableRight = right;
+            this.resizableTop = top_1;
+            this.resizableBottom = bottom;
+        }
+    };
+    Resizable.prototype.onResizeStart = function (event, direction) {
+        if (!this.resizable || !this.window) {
+            return;
+        }
+        var clientX = 0;
+        var clientY = 0;
+        if (event.nativeEvent && lib_isMouseEvent(event.nativeEvent)) {
+            clientX = event.nativeEvent.clientX;
+            clientY = event.nativeEvent.clientY;
+        }
+        else if (event.nativeEvent && lib_isTouchEvent(event.nativeEvent)) {
+            clientX = event.nativeEvent.touches[0].clientX;
+            clientY = event.nativeEvent.touches[0].clientY;
+        }
+        if (this.props.onResizeStart) {
+            if (this.resizable) {
+                var startResize = this.props.onResizeStart(event, direction, this.resizable);
+                if (startResize === false) {
+                    return;
+                }
+            }
+        }
+        // Fix #168
+        if (this.props.size) {
+            if (typeof this.props.size.height !== 'undefined' && this.props.size.height !== this.state.height) {
+                this.setState({ height: this.props.size.height });
+            }
+            if (typeof this.props.size.width !== 'undefined' && this.props.size.width !== this.state.width) {
+                this.setState({ width: this.props.size.width });
+            }
+        }
+        // For lockAspectRatio case
+        this.ratio =
+            typeof this.props.lockAspectRatio === 'number' ? this.props.lockAspectRatio : this.size.width / this.size.height;
+        var flexBasis;
+        var computedStyle = this.window.getComputedStyle(this.resizable);
+        if (computedStyle.flexBasis !== 'auto') {
+            var parent_3 = this.parentNode;
+            if (parent_3) {
+                var dir = this.window.getComputedStyle(parent_3).flexDirection;
+                this.flexDir = dir.startsWith('row') ? 'row' : 'column';
+                flexBasis = computedStyle.flexBasis;
+            }
+        }
+        // For boundary
+        this.setBoundingClientRect();
+        this.bindEvents();
+        var state = {
+            original: {
+                x: clientX,
+                y: clientY,
+                width: this.size.width,
+                height: this.size.height,
+            },
+            isResizing: true,
+            backgroundStyle: lib_assign(lib_assign({}, this.state.backgroundStyle), { cursor: this.window.getComputedStyle(event.target).cursor || 'auto' }),
+            direction: direction,
+            flexBasis: flexBasis,
+        };
+        this.setState(state);
+    };
+    Resizable.prototype.onMouseMove = function (event) {
+        if (!this.state.isResizing || !this.resizable || !this.window) {
+            return;
+        }
+        if (this.window.TouchEvent && lib_isTouchEvent(event)) {
+            try {
+                event.preventDefault();
+                event.stopPropagation();
+            }
+            catch (e) {
+                // Ignore on fail
+            }
+        }
+        var _a = this.props, maxWidth = _a.maxWidth, maxHeight = _a.maxHeight, minWidth = _a.minWidth, minHeight = _a.minHeight;
+        var clientX = lib_isTouchEvent(event) ? event.touches[0].clientX : event.clientX;
+        var clientY = lib_isTouchEvent(event) ? event.touches[0].clientY : event.clientY;
+        var _b = this.state, direction = _b.direction, original = _b.original, width = _b.width, height = _b.height;
+        var parentSize = this.getParentSize();
+        var max = calculateNewMax(parentSize, this.window.innerWidth, this.window.innerHeight, maxWidth, maxHeight, minWidth, minHeight);
+        maxWidth = max.maxWidth;
+        maxHeight = max.maxHeight;
+        minWidth = max.minWidth;
+        minHeight = max.minHeight;
+        // Calculate new size
+        var _c = this.calculateNewSizeFromDirection(clientX, clientY), newHeight = _c.newHeight, newWidth = _c.newWidth;
+        // Calculate max size from boundary settings
+        var boundaryMax = this.calculateNewMaxFromBoundary(maxWidth, maxHeight);
+        // Calculate new size from aspect ratio
+        var newSize = this.calculateNewSizeFromAspectRatio(newWidth, newHeight, { width: boundaryMax.maxWidth, height: boundaryMax.maxHeight }, { width: minWidth, height: minHeight });
+        newWidth = newSize.newWidth;
+        newHeight = newSize.newHeight;
+        if (this.props.grid) {
+            var newGridWidth = snap(newWidth, this.props.grid[0]);
+            var newGridHeight = snap(newHeight, this.props.grid[1]);
+            var gap = this.props.snapGap || 0;
+            newWidth = gap === 0 || Math.abs(newGridWidth - newWidth) <= gap ? newGridWidth : newWidth;
+            newHeight = gap === 0 || Math.abs(newGridHeight - newHeight) <= gap ? newGridHeight : newHeight;
+        }
+        if (this.props.snap && this.props.snap.x) {
+            newWidth = findClosestSnap(newWidth, this.props.snap.x, this.props.snapGap);
+        }
+        if (this.props.snap && this.props.snap.y) {
+            newHeight = findClosestSnap(newHeight, this.props.snap.y, this.props.snapGap);
+        }
+        var delta = {
+            width: newWidth - original.width,
+            height: newHeight - original.height,
+        };
+        if (width && typeof width === 'string') {
+            if (endsWith(width, '%')) {
+                var percent = (newWidth / parentSize.width) * 100;
+                newWidth = percent + "%";
+            }
+            else if (endsWith(width, 'vw')) {
+                var vw = (newWidth / this.window.innerWidth) * 100;
+                newWidth = vw + "vw";
+            }
+            else if (endsWith(width, 'vh')) {
+                var vh = (newWidth / this.window.innerHeight) * 100;
+                newWidth = vh + "vh";
+            }
+        }
+        if (height && typeof height === 'string') {
+            if (endsWith(height, '%')) {
+                var percent = (newHeight / parentSize.height) * 100;
+                newHeight = percent + "%";
+            }
+            else if (endsWith(height, 'vw')) {
+                var vw = (newHeight / this.window.innerWidth) * 100;
+                newHeight = vw + "vw";
+            }
+            else if (endsWith(height, 'vh')) {
+                var vh = (newHeight / this.window.innerHeight) * 100;
+                newHeight = vh + "vh";
+            }
+        }
+        var newState = {
+            width: this.createSizeForCssProperty(newWidth, 'width'),
+            height: this.createSizeForCssProperty(newHeight, 'height'),
+        };
+        if (this.flexDir === 'row') {
+            newState.flexBasis = newState.width;
+        }
+        else if (this.flexDir === 'column') {
+            newState.flexBasis = newState.height;
+        }
+        this.setState(newState);
+        if (this.props.onResize) {
+            this.props.onResize(event, direction, this.resizable, delta);
+        }
+    };
+    Resizable.prototype.onMouseUp = function (event) {
+        var _a = this.state, isResizing = _a.isResizing, direction = _a.direction, original = _a.original;
+        if (!isResizing || !this.resizable) {
+            return;
+        }
+        var delta = {
+            width: this.size.width - original.width,
+            height: this.size.height - original.height,
+        };
+        if (this.props.onResizeStop) {
+            this.props.onResizeStop(event, direction, this.resizable, delta);
+        }
+        if (this.props.size) {
+            this.setState(this.props.size);
+        }
+        this.unbindEvents();
+        this.setState({
+            isResizing: false,
+            backgroundStyle: lib_assign(lib_assign({}, this.state.backgroundStyle), { cursor: 'auto' }),
+        });
+    };
+    Resizable.prototype.updateSize = function (size) {
+        this.setState({ width: size.width, height: size.height });
+    };
+    Resizable.prototype.renderResizer = function () {
+        var _this = this;
+        var _a = this.props, enable = _a.enable, handleStyles = _a.handleStyles, handleClasses = _a.handleClasses, handleWrapperStyle = _a.handleWrapperStyle, handleWrapperClass = _a.handleWrapperClass, handleComponent = _a.handleComponent;
+        if (!enable) {
+            return null;
+        }
+        var resizers = Object.keys(enable).map(function (dir) {
+            if (enable[dir] !== false) {
+                return (external_React_.createElement(Resizer, { key: dir, direction: dir, onResizeStart: _this.onResizeStart, replaceStyles: handleStyles && handleStyles[dir], className: handleClasses && handleClasses[dir] }, handleComponent && handleComponent[dir] ? handleComponent[dir] : null));
+            }
+            return null;
+        });
+        // #93 Wrap the resize box in span (will not break 100% width/height)
+        return (external_React_.createElement("div", { className: handleWrapperClass, style: handleWrapperStyle }, resizers));
+    };
+    Resizable.prototype.render = function () {
+        var _this = this;
+        var extendsProps = Object.keys(this.props).reduce(function (acc, key) {
+            if (definedProps.indexOf(key) !== -1) {
+                return acc;
+            }
+            acc[key] = _this.props[key];
+            return acc;
+        }, {});
+        var style = lib_assign(lib_assign(lib_assign({ position: 'relative', userSelect: this.state.isResizing ? 'none' : 'auto' }, this.props.style), this.sizeStyle), { maxWidth: this.props.maxWidth, maxHeight: this.props.maxHeight, minWidth: this.props.minWidth, minHeight: this.props.minHeight, boxSizing: 'border-box', flexShrink: 0 });
+        if (this.state.flexBasis) {
+            style.flexBasis = this.state.flexBasis;
+        }
+        var Wrapper = this.props.as || 'div';
+        return (external_React_.createElement(Wrapper, lib_assign({ ref: this.ref, style: style, className: this.props.className }, extendsProps),
+            this.state.isResizing && external_React_.createElement("div", { style: this.state.backgroundStyle }),
+            this.props.children,
+            this.renderResizer()));
+    };
+    Resizable.defaultProps = {
+        as: 'div',
+        onResizeStart: function () { },
+        onResize: function () { },
+        onResizeStop: function () { },
+        enable: {
+            top: true,
+            right: true,
+            bottom: true,
+            left: true,
+            topRight: true,
+            bottomRight: true,
+            bottomLeft: true,
+            topLeft: true,
+        },
+        style: {},
+        grid: [1, 1],
+        lockAspectRatio: false,
+        lockAspectRatioExtraWidth: 0,
+        lockAspectRatioExtraHeight: 0,
+        scale: 1,
+        resizeRatio: 1,
+        snapGap: 0,
+    };
+    return Resizable;
+}(external_React_.PureComponent));

-/***/ "mi6C":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/resize-tooltip/utils.js
+/**
+ * External dependencies
+ */


 /**
  * WordPress dependencies
  */

-const settings = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (settings);
-
-
-/***/ }),
-
-/***/ "mjVI":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TOOLBAR_KEYS; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return TOOLBAR_ITEM_KEYS; });
-/* unused harmony export b */
-// Automatically generated
-var TOOLBAR_STATE_KEYS = ["baseId", "unstable_idCountRef", "unstable_virtual", "rtl", "orientation", "items", "groups", "currentId", "loop", "wrap", "shift", "unstable_moves", "unstable_hasActiveWidget", "unstable_includesBaseElement", "setBaseId", "registerItem", "unregisterItem", "registerGroup", "unregisterGroup", "move", "next", "previous", "up", "down", "first", "last", "sort", "unstable_setVirtual", "setRTL", "setOrientation", "setCurrentId", "setLoop", "setWrap", "setShift", "reset", "unstable_setIncludesBaseElement", "unstable_setHasActiveWidget"];
-var TOOLBAR_KEYS = TOOLBAR_STATE_KEYS;
-var TOOLBAR_ITEM_KEYS = TOOLBAR_KEYS;
-var TOOLBAR_SEPARATOR_KEYS = TOOLBAR_ITEM_KEYS;
-
-
-
-
-/***/ }),
-
-/***/ "n1Y7":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-var define = __webpack_require__("82c2");
-
-var implementation = __webpack_require__("nRDI");
-var getPolyfill = __webpack_require__("5yQQ");
-var polyfill = getPolyfill();
-var shim = __webpack_require__("Gn0q");
-
-var boundContains = function contains(node, other) {
-	return polyfill.apply(node, [other]);
-};
-
-define(boundContains, {
-	getPolyfill: getPolyfill,
-	implementation: implementation,
-	shim: shim
-});
-
-module.exports = boundContains;
-
-
-/***/ }),
-
-/***/ "nKkb":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-

-var GetIntrinsic = __webpack_require__("j1Hc");
-
-var $abs = GetIntrinsic('%Math.abs%');
-
-// http://262.ecma-international.org/5.1/#sec-5.2
-
-module.exports = function abs(x) {
-	return $abs(x);
+const {
+  clearTimeout: utils_clearTimeout,
+  setTimeout: utils_setTimeout
+} = window;
+const POSITIONS = {
+  bottom: 'bottom',
+  corner: 'corner'
 };

-
-/***/ }),
-
-/***/ "nLTY":
-/***/ (function(module, exports) {
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = getClassName;
 /**
- * Construct a class name.
+ * Custom hook that manages resize listener events. It also provides a label
+ * based on current resize width x height values.
  *
- * namespace {String} Used to construct unique class names.
- * styleName {String} Name identifying the specific style.
+ * @param  props
+ * @param  props.axis        Only shows the label corresponding to the axis.
+ * @param  props.fadeTimeout Duration (ms) before deactivating the resize label.
+ * @param  props.onResize    Callback when a resize occurs. Provides { width, height } callback.
+ * @param  props.position    Adjusts label value.
+ * @param  props.showPx      Whether to add `PX` to the label.
  *
- * Return the class name.
+ * @return Properties for hook.
  */
-function getClassName(namespace, styleName) {
-  var namespaceSegment = namespace.length > 0 ? String(namespace) + '__' : '';
-  return '' + namespaceSegment + String(styleName);
-}
-
-/***/ }),
-
-/***/ "nR7C":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
-
-module.exports = function IsPropertyKey(argument) {
-	return typeof argument === 'string' || typeof argument === 'symbol';
-};
-
-
-/***/ }),
-
-/***/ "nRDI":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
+function useResizeLabel(_ref) {
+  let {
+    axis,
+    fadeTimeout = 180,
+    onResize = external_lodash_namespaceObject.noop,
+    position = POSITIONS.bottom,
+    showPx = false
+  } = _ref;

-module.exports = function contains(other) {
-	if (arguments.length < 1) {
-		throw new TypeError('1 argument is required');
-	}
-	if (typeof other !== 'object') {
-		throw new TypeError('Argument 1 (”other“) to Node.contains must be an instance of Node');
-	}
+  /*
+   * The width/height values derive from this special useResizeAware hook.
+   * This custom hook uses injects an iFrame into the element, allowing it
+   * to tap into the onResize (window) callback events.
+   */
+  const [resizeListener, sizes] = react_resize_aware_dist_default()();
+  /*
+   * Indicates if the x/y axis is preferred.
+   * If set, we will avoid resetting the moveX and moveY values.
+   * This will allow for the preferred axis values to persist in the label.
+   */

-	var node = other;
-	do {
-		if (this === node) {
-			return true;
-		}
-		if (node) {
-			node = node.parentNode;
-		}
-	} while (node);
+  const isAxisControlled = !!axis;
+  /*
+   * The moveX and moveY values are used to track whether the label should
+   * display width, height, or width x height.
+   */

-	return false;
-};
+  const [moveX, setMoveX] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [moveY, setMoveY] = (0,external_wp_element_namespaceObject.useState)(false);
+  /*
+   * Cached dimension values to check for width/height updates from the
+   * sizes property from useResizeAware()
+   */

+  const {
+    width,
+    height
+  } = sizes;
+  const heightRef = (0,external_wp_element_namespaceObject.useRef)(height);
+  const widthRef = (0,external_wp_element_namespaceObject.useRef)(width);
+  /*
+   * This timeout is used with setMoveX and setMoveY to determine of
+   * both width and height values have changed at (roughly) the same time.
+   */

-/***/ }),
+  const moveTimeoutRef = (0,external_wp_element_namespaceObject.useRef)();

-/***/ "nmnc":
-/***/ (function(module, exports, __webpack_require__) {
+  const unsetMoveXY = () => {
+    /*
+     * If axis is controlled, we will avoid resetting the moveX and moveY values.
+     * This will allow for the preferred axis values to persist in the label.
+     */
+    if (isAxisControlled) return;
+    setMoveX(false);
+    setMoveY(false);
+  };

-var root = __webpack_require__("Kz5y");
+  const debounceUnsetMoveXY = () => {
+    if (moveTimeoutRef.current) {
+      utils_clearTimeout(moveTimeoutRef.current);
+    }

-/** Built-in value references. */
-var Symbol = root.Symbol;
+    moveTimeoutRef.current = utils_setTimeout(unsetMoveXY, fadeTimeout);
+  };

-module.exports = Symbol;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    /*
+     * On the initial render of useResizeAware, the height and width values are
+     * null. They are calculated then set using via an internal useEffect hook.
+     */
+    const isRendered = width !== null || height !== null;
+    if (!isRendered) return;
+    const didWidthChange = width !== widthRef.current;
+    const didHeightChange = height !== heightRef.current;
+    if (!didWidthChange && !didHeightChange) return;
+    /*
+     * After the initial render, the useResizeAware will set the first
+     * width and height values. We'll sync those values with our
+     * width and height refs. However, we shouldn't render our Tooltip
+     * label on this first cycle.
+     */

+    if (width && !widthRef.current && height && !heightRef.current) {
+      widthRef.current = width;
+      heightRef.current = height;
+      return;
+    }
+    /*
+     * After the first cycle, we can track width and height changes.
+     */

-/***/ }),

-/***/ "oNNP":
-/***/ (function(module, exports, __webpack_require__) {
+    if (didWidthChange) {
+      setMoveX(true);
+      widthRef.current = width;
+    }

-"use strict";
+    if (didHeightChange) {
+      setMoveY(true);
+      heightRef.current = height;
+    }

+    onResize({
+      width,
+      height
+    });
+    debounceUnsetMoveXY();
+  }, [width, height]);
+  const label = getSizeLabel({
+    axis,
+    height,
+    moveX,
+    moveY,
+    position,
+    showPx,
+    width
+  });
+  return {
+    label,
+    resizeListener
+  };
+}

-var bind = __webpack_require__("D3zA");
+/**
+ * Gets the resize label based on width and height values (as well as recent changes).
+ *
+ * @param  props
+ * @param  props.axis     Only shows the label corresponding to the axis.
+ * @param  props.height   Height value.
+ * @param  props.moveX    Recent width (x axis) changes.
+ * @param  props.moveY    Recent width (y axis) changes.
+ * @param  props.position Adjusts label value.
+ * @param  props.showPx   Whether to add `PX` to the label.
+ * @param  props.width    Width value.
+ *
+ * @return The rendered label.
+ */
+function getSizeLabel(_ref2) {
+  let {
+    axis,
+    height,
+    moveX = false,
+    moveY = false,
+    position = POSITIONS.bottom,
+    showPx = false,
+    width
+  } = _ref2;
+  if (!moveX && !moveY) return undefined;
+  /*
+   * Corner position...
+   * We want the label to appear like width x height.
+   */

-module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
+  if (position === POSITIONS.corner) {
+    return `${width} x ${height}`;
+  }
+  /*
+   * Other POSITIONS...
+   * The label will combine both width x height values if both
+   * values have recently been changed.
+   *
+   * Otherwise, only width or height will be displayed.
+   * The `PX` unit will be added, if specified by the `showPx` prop.
+   */


-/***/ }),
+  const labelUnit = showPx ? ' px' : '';

-/***/ "oOcr":
-/***/ (function(module, exports, __webpack_require__) {
+  if (axis) {
+    if (axis === 'x' && moveX) {
+      return `${width}${labelUnit}`;
+    }

-"use strict";
+    if (axis === 'y' && moveY) {
+      return `${height}${labelUnit}`;
+    }
+  }

+  if (moveX && moveY) {
+    return `${width} x ${height}`;
+  }

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = getPhrase;
-function getPhrase(phrase, args) {
-  if (typeof phrase === 'string') return phrase;
+  if (moveX) {
+    return `${width}${labelUnit}`;
+  }

-  if (typeof phrase === 'function') {
-    return phrase(args);
+  if (moveY) {
+    return `${height}${labelUnit}`;
   }

-  return '';
+  return undefined;
 }

-/***/ }),
-
-/***/ "oR9Z":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-
-var _propTypes = __webpack_require__("17x9");
-
-var _propTypes2 = _interopRequireDefault(_propTypes);
-
-var _constants = __webpack_require__("Fv1B");
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js

-exports['default'] = _propTypes2['default'].oneOf([_constants.INFO_POSITION_TOP, _constants.INFO_POSITION_BOTTOM, _constants.INFO_POSITION_BEFORE, _constants.INFO_POSITION_AFTER]);

-/***/ }),
-
-/***/ "oXO/":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+function resize_tooltip_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);

-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
+const resize_tooltip_styles_Root = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ekdag503"
+} : 0)( true ? {
+  name: "1cd7zoc",
+  styles: "bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0"
+} : 0);
+const TooltipWrapper = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ekdag502"
+} : 0)( true ? {
+  name: "ajymcs",
+  styles: "align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear"
+} : 0);
+const resize_tooltip_styles_Tooltip = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ekdag501"
+} : 0)("background:", COLORS.ui.border, ";border-radius:2px;box-sizing:border-box;font-size:12px;color:", COLORS.ui.textDark, ";padding:4px 8px;position:relative;" + ( true ? "" : 0)); // TODO: Resolve need to use &&& to increase specificity
+// https://github.com/WordPress/gutenberg/issues/18483

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+const LabelText = /*#__PURE__*/emotion_styled_base_browser_esm(text_component,  true ? {
+  target: "ekdag500"
+} : 0)("&&&{color:", COLORS.ui.textDark, ";display:block;font-size:13px;line-height:1.4;}" + ( true ? "" : 0));

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
-var library_close = __webpack_require__("w95h");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/resize-tooltip/label.js

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/utils.js
-// @ts-nocheck

 /**
- * WordPress dependencies
+ * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports

 /**
- * Module constants
+ * WordPress dependencies
  */

-const HEIGHT_OFFSET = 10; // used by the arrow and a bit of empty space

 /**
- * Utility used to compute the popover position over the xAxis
- *
- * @param {Object}  anchorRect            Anchor Rect.
- * @param {Object}  contentSize           Content Size.
- * @param {string}  xAxis                 Desired xAxis.
- * @param {string}  corner                Desired corner.
- * @param {boolean} stickyBoundaryElement The boundary element to use when
- *                                        switching between sticky and normal
- *                                        position.
- * @param {string}  chosenYAxis           yAxis to be used.
- * @param {Element} boundaryElement       Boundary element.
- * @param {boolean} forcePosition         Don't adjust position based on anchor.
- * @param {boolean} forceXAlignment       Don't adjust alignment based on YAxis
- *
- * @return {Object} Popover xAxis position and constraints.
+ * Internal dependencies
  */

-function computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, stickyBoundaryElement, chosenYAxis, boundaryElement, forcePosition, forceXAlignment) {
-  const {
-    width
-  } = contentSize; // Correct xAxis for RTL support
-
-  if (xAxis === 'left' && Object(external_wp_i18n_["isRTL"])()) {
-    xAxis = 'right';
-  } else if (xAxis === 'right' && Object(external_wp_i18n_["isRTL"])()) {
-    xAxis = 'left';
-  }
-
-  if (corner === 'left' && Object(external_wp_i18n_["isRTL"])()) {
-    corner = 'right';
-  } else if (corner === 'right' && Object(external_wp_i18n_["isRTL"])()) {
-    corner = 'left';
-  } // x axis alignment choices
-
-
-  const anchorMidPoint = Math.round(anchorRect.left + anchorRect.width / 2);
-  const centerAlignment = {
-    popoverLeft: anchorMidPoint,
-    contentWidth: (anchorMidPoint - width / 2 > 0 ? width / 2 : anchorMidPoint) + (anchorMidPoint + width / 2 > window.innerWidth ? window.innerWidth - anchorMidPoint : width / 2)
-  };
-  let leftAlignmentX = anchorRect.left;
-
-  if (corner === 'right') {
-    leftAlignmentX = anchorRect.right;
-  } else if (chosenYAxis !== 'middle' && !forceXAlignment) {
-    leftAlignmentX = anchorMidPoint;
-  }

-  let rightAlignmentX = anchorRect.right;

-  if (corner === 'left') {
-    rightAlignmentX = anchorRect.left;
-  } else if (chosenYAxis !== 'middle' && !forceXAlignment) {
-    rightAlignmentX = anchorMidPoint;
-  }
+const CORNER_OFFSET = 4;
+const CURSOR_OFFSET_TOP = CORNER_OFFSET * 2.5;

-  const leftAlignment = {
-    popoverLeft: leftAlignmentX,
-    contentWidth: leftAlignmentX - width > 0 ? width : leftAlignmentX
+function resize_tooltip_label_Label(_ref, ref) {
+  let {
+    label,
+    position = POSITIONS.corner,
+    zIndex = 1000,
+    ...props
+  } = _ref;
+  const showLabel = !!label;
+  const isBottom = position === POSITIONS.bottom;
+  const isCorner = position === POSITIONS.corner;
+  if (!showLabel) return null;
+  let style = {
+    opacity: showLabel ? 1 : undefined,
+    zIndex
   };
-  const rightAlignment = {
-    popoverLeft: rightAlignmentX,
-    contentWidth: rightAlignmentX + width > window.innerWidth ? window.innerWidth - rightAlignmentX : width
-  }; // Choosing the x axis
-
-  let chosenXAxis = xAxis;
-  let contentWidth = null;
-
-  if (!stickyBoundaryElement && !forcePosition) {
-    if (xAxis === 'center' && centerAlignment.contentWidth === width) {
-      chosenXAxis = 'center';
-    } else if (xAxis === 'left' && leftAlignment.contentWidth === width) {
-      chosenXAxis = 'left';
-    } else if (xAxis === 'right' && rightAlignment.contentWidth === width) {
-      chosenXAxis = 'right';
-    } else {
-      chosenXAxis = leftAlignment.contentWidth > rightAlignment.contentWidth ? 'left' : 'right';
-      const chosenWidth = chosenXAxis === 'left' ? leftAlignment.contentWidth : rightAlignment.contentWidth; // Limit width of the content to the viewport width
-
-      if (width > window.innerWidth) {
-        contentWidth = window.innerWidth;
-      } // If we can't find any alignment options that could fit
-      // our content, then let's fallback to the center of the viewport.
+  let labelStyle = {};

+  if (isBottom) {
+    style = { ...style,
+      position: 'absolute',
+      bottom: CURSOR_OFFSET_TOP * -1,
+      left: '50%',
+      transform: 'translate(-50%, 0)'
+    };
+    labelStyle = {
+      transform: `translate(0, 100%)`
+    };
+  }

-      if (chosenWidth !== width) {
-        chosenXAxis = 'center';
-        centerAlignment.popoverLeft = window.innerWidth / 2;
-      }
-    }
+  if (isCorner) {
+    style = { ...style,
+      position: 'absolute',
+      top: CORNER_OFFSET,
+      right: (0,external_wp_i18n_namespaceObject.isRTL)() ? undefined : CORNER_OFFSET,
+      left: (0,external_wp_i18n_namespaceObject.isRTL)() ? CORNER_OFFSET : undefined
+    };
   }

-  let popoverLeft;
+  return (0,external_wp_element_namespaceObject.createElement)(TooltipWrapper, extends_extends({
+    "aria-hidden": "true",
+    className: "components-resizable-tooltip__tooltip-wrapper",
+    ref: ref,
+    style: style
+  }, props), (0,external_wp_element_namespaceObject.createElement)(resize_tooltip_styles_Tooltip, {
+    className: "components-resizable-tooltip__tooltip",
+    style: labelStyle
+  }, (0,external_wp_element_namespaceObject.createElement)(LabelText, {
+    as: "span"
+  }, label)));
+}

-  if (chosenXAxis === 'center') {
-    popoverLeft = centerAlignment.popoverLeft;
-  } else if (chosenXAxis === 'left') {
-    popoverLeft = leftAlignment.popoverLeft;
-  } else {
-    popoverLeft = rightAlignment.popoverLeft;
-  }
+const label_ForwardedComponent = (0,external_wp_element_namespaceObject.forwardRef)(resize_tooltip_label_Label);
+/* harmony default export */ var resize_tooltip_label = (label_ForwardedComponent);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/resize-tooltip/index.js

-  if (boundaryElement) {
-    popoverLeft = Math.min(popoverLeft, boundaryElement.offsetLeft + boundaryElement.offsetWidth - width); // Avoid the popover being position beyond the left boundary if the
-    // direction is left to right.

-    if (!Object(external_wp_i18n_["isRTL"])()) {
-      popoverLeft = Math.max(popoverLeft, 0);
-    }
-  }

-  return {
-    xAxis: chosenXAxis,
-    popoverLeft,
-    contentWidth
-  };
-}
 /**
- * Utility used to compute the popover position over the yAxis
- *
- * @param {Object}       anchorRect            Anchor Rect.
- * @param {Object}       contentSize           Content Size.
- * @param {string}       yAxis                 Desired yAxis.
- * @param {string}       corner                Desired corner.
- * @param {boolean}      stickyBoundaryElement The boundary element to use when switching between sticky
- *                                             and normal position.
- * @param {Element}      anchorRef             The anchor element.
- * @param {Element}      relativeOffsetTop     If applicable, top offset of the relative positioned
- *                                             parent container.
- * @param {boolean}      forcePosition         Don't adjust position based on anchor.
- * @param {Element|null} editorWrapper         Element that wraps the editor content. Used to access
- *                                             scroll position to determine sticky behavior.
- * @return {Object} Popover xAxis position and constraints.
+ * External dependencies
  */

-function computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, stickyBoundaryElement, anchorRef, relativeOffsetTop, forcePosition, editorWrapper) {
-  const {
-    height
-  } = contentSize;
-
-  if (stickyBoundaryElement) {
-    const stickyRect = stickyBoundaryElement.getBoundingClientRect();
-    const stickyPositionTop = stickyRect.top + height - relativeOffsetTop;
-    const stickyPositionBottom = stickyRect.bottom - height - relativeOffsetTop;
-
-    if (anchorRect.top <= stickyPositionTop) {
-      if (editorWrapper) {
-        // If a popover cannot be positioned above the anchor, even after scrolling, we must
-        // ensure we use the bottom position instead of the popover slot.  This prevents the
-        // popover from always restricting block content and interaction while selected if the
-        // block is near the top of the site editor.
-        const isRoomAboveInCanvas = height + HEIGHT_OFFSET < editorWrapper.scrollTop + anchorRect.top;

-        if (!isRoomAboveInCanvas) {
-          return {
-            yAxis: 'bottom',
-            // If the bottom of the block is also below the bottom sticky position (ex -
-            // block is also taller than the editor window), return the bottom sticky
-            // position instead.  We do this instead of the top sticky position both to
-            // allow a smooth transition and more importantly to ensure every section of
-            // the block can be free from popover obscuration at some point in the
-            // scroll position.
-            popoverTop: Math.min(anchorRect.bottom, stickyPositionBottom)
-          };
-        }
-      } // Default sticky behavior.
+/**
+ * WordPress dependencies
+ */

+ // eslint-disable-next-line no-restricted-imports

-      return {
-        yAxis,
-        popoverTop: Math.min(anchorRect.bottom, stickyPositionTop)
-      };
-    }
-  } // y axis alignment choices
+/**
+ * Internal dependencies
+ */


-  let anchorMidPoint = anchorRect.top + anchorRect.height / 2;

-  if (corner === 'bottom') {
-    anchorMidPoint = anchorRect.bottom;
-  } else if (corner === 'top') {
-    anchorMidPoint = anchorRect.top;
-  }

-  const middleAlignment = {
-    popoverTop: anchorMidPoint,
-    contentHeight: (anchorMidPoint - height / 2 > 0 ? height / 2 : anchorMidPoint) + (anchorMidPoint + height / 2 > window.innerHeight ? window.innerHeight - anchorMidPoint : height / 2)
-  };
-  const topAlignment = {
-    popoverTop: anchorRect.top,
-    contentHeight: anchorRect.top - HEIGHT_OFFSET - height > 0 ? height : anchorRect.top - HEIGHT_OFFSET
-  };
-  const bottomAlignment = {
-    popoverTop: anchorRect.bottom,
-    contentHeight: anchorRect.bottom + HEIGHT_OFFSET + height > window.innerHeight ? window.innerHeight - HEIGHT_OFFSET - anchorRect.bottom : height
-  }; // Choosing the y axis
+function ResizeTooltip(_ref, ref) {
+  let {
+    axis,
+    className,
+    fadeTimeout = 180,
+    isVisible = true,
+    labelRef,
+    onResize = external_lodash_namespaceObject.noop,
+    position = POSITIONS.bottom,
+    showPx = true,
+    zIndex = 1000,
+    ...props
+  } = _ref;
+  const {
+    label,
+    resizeListener
+  } = useResizeLabel({
+    axis,
+    fadeTimeout,
+    onResize,
+    showPx,
+    position
+  });
+  if (!isVisible) return null;
+  const classes = classnames_default()('components-resize-tooltip', className);
+  return (0,external_wp_element_namespaceObject.createElement)(resize_tooltip_styles_Root, extends_extends({
+    "aria-hidden": "true",
+    className: classes,
+    ref: ref
+  }, props), resizeListener, (0,external_wp_element_namespaceObject.createElement)(resize_tooltip_label, {
+    "aria-hidden": props['aria-hidden'],
+    label: label,
+    position: position,
+    ref: labelRef,
+    zIndex: zIndex
+  }));
+}

-  let chosenYAxis = yAxis;
-  let contentHeight = null;
+const resize_tooltip_ForwardedComponent = (0,external_wp_element_namespaceObject.forwardRef)(ResizeTooltip);
+/* harmony default export */ var resize_tooltip = (resize_tooltip_ForwardedComponent);

-  if (!stickyBoundaryElement && !forcePosition) {
-    if (yAxis === 'middle' && middleAlignment.contentHeight === height) {
-      chosenYAxis = 'middle';
-    } else if (yAxis === 'top' && topAlignment.contentHeight === height) {
-      chosenYAxis = 'top';
-    } else if (yAxis === 'bottom' && bottomAlignment.contentHeight === height) {
-      chosenYAxis = 'bottom';
-    } else {
-      chosenYAxis = topAlignment.contentHeight > bottomAlignment.contentHeight ? 'top' : 'bottom';
-      const chosenHeight = chosenYAxis === 'top' ? topAlignment.contentHeight : bottomAlignment.contentHeight;
-      contentHeight = chosenHeight !== height ? chosenHeight : null;
-    }
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/resizable-box/index.js

-  let popoverTop;

-  if (chosenYAxis === 'middle') {
-    popoverTop = middleAlignment.popoverTop;
-  } else if (chosenYAxis === 'top') {
-    popoverTop = topAlignment.popoverTop;
-  } else {
-    popoverTop = bottomAlignment.popoverTop;
-  }

-  return {
-    yAxis: chosenYAxis,
-    popoverTop,
-    contentHeight
-  };
-}
 /**
- * Utility used to compute the popover position and the content max width/height for a popover given
- * its anchor rect and its content size.
- *
- * @param {Object}       anchorRect            Anchor Rect.
- * @param {Object}       contentSize           Content Size.
- * @param {string}       position              Position.
- * @param {boolean}      stickyBoundaryElement The boundary element to use when switching between
- *                                             sticky and normal position.
- * @param {Element}      anchorRef             The anchor element.
- * @param {number}       relativeOffsetTop     If applicable, top offset of the relative positioned
- *                                             parent container.
- * @param {Element}      boundaryElement       Boundary element.
- * @param {boolean}      forcePosition         Don't adjust position based on anchor.
- * @param {boolean}      forceXAlignment       Don't adjust alignment based on YAxis
- * @param {Element|null} editorWrapper         Element that wraps the editor content. Used to access
- *                                             scroll position to determine sticky behavior.
- * @return {Object} Popover position and constraints.
+ * WordPress dependencies
  */

-function computePopoverPosition(anchorRect, contentSize) {
-  let position = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'top';
-  let stickyBoundaryElement = arguments.length > 3 ? arguments[3] : undefined;
-  let anchorRef = arguments.length > 4 ? arguments[4] : undefined;
-  let relativeOffsetTop = arguments.length > 5 ? arguments[5] : undefined;
-  let boundaryElement = arguments.length > 6 ? arguments[6] : undefined;
-  let forcePosition = arguments.length > 7 ? arguments[7] : undefined;
-  let forceXAlignment = arguments.length > 8 ? arguments[8] : undefined;
-  let editorWrapper = arguments.length > 9 ? arguments[9] : undefined;
-  const [yAxis, xAxis = 'center', corner] = position.split(' ');
-  const yAxisPosition = computePopoverYAxisPosition(anchorRect, contentSize, yAxis, corner, stickyBoundaryElement, anchorRef, relativeOffsetTop, forcePosition, editorWrapper);
-  const xAxisPosition = computePopoverXAxisPosition(anchorRect, contentSize, xAxis, corner, stickyBoundaryElement, yAxisPosition.yAxis, boundaryElement, forcePosition, forceXAlignment);
-  return { ...xAxisPosition,
-    ...yAxisPosition
-  };
-}
 /**
- * Offsets the given rect by the position of the iframe that contains the
- * element. If the owner document is not in an iframe then it returns with the
- * original rect. If the popover container document and the anchor document are
- * the same, the original rect will also be returned.
- *
- * @param {DOMRect}  rect          bounds of the element
- * @param {Document} ownerDocument document of the element
- * @param {Element}  container     The popover container to position.
- *
- * @return {DOMRect} offsetted bounds
+ * External dependencies
  */

-function offsetIframe(rect, ownerDocument, container) {
-  const {
-    defaultView
-  } = ownerDocument;
-  const {
-    frameElement
-  } = defaultView;
-
-  if (!frameElement || ownerDocument === container.ownerDocument) {
-    return rect;
-  }

-  const iframeRect = frameElement.getBoundingClientRect();
-  return new defaultView.DOMRect(rect.left + iframeRect.left, rect.top + iframeRect.top, rect.width, rect.height);
-}

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/button/index.js
-var build_module_button = __webpack_require__("kA6J");

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/scroll-lock/index.js
-var scroll_lock = __webpack_require__("k8OV");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/use-slot.js
-var use_slot = __webpack_require__("+WFq");
+const HANDLE_CLASS_NAME = 'components-resizable-box__handle';
+const SIDE_HANDLE_CLASS_NAME = 'components-resizable-box__side-handle';
+const CORNER_HANDLE_CLASS_NAME = 'components-resizable-box__corner-handle';
+const HANDLE_CLASSES = {
+  top: classnames_default()(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top'),
+  right: classnames_default()(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-right'),
+  bottom: classnames_default()(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom'),
+  left: classnames_default()(HANDLE_CLASS_NAME, SIDE_HANDLE_CLASS_NAME, 'components-resizable-box__handle-left'),
+  topLeft: classnames_default()(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top', 'components-resizable-box__handle-left'),
+  topRight: classnames_default()(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-top', 'components-resizable-box__handle-right'),
+  bottomRight: classnames_default()(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom', 'components-resizable-box__handle-right'),
+  bottomLeft: classnames_default()(HANDLE_CLASS_NAME, CORNER_HANDLE_CLASS_NAME, 'components-resizable-box__handle-bottom', 'components-resizable-box__handle-left')
+}; // Removes the inline styles in the drag handles.

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/index.js + 8 modules
-var slot_fill = __webpack_require__("dSD1");
+const HANDLE_STYLES_OVERRIDES = {
+  width: undefined,
+  height: undefined,
+  top: undefined,
+  right: undefined,
+  bottom: undefined,
+  left: undefined
+};
+const HANDLE_STYLES = {
+  top: HANDLE_STYLES_OVERRIDES,
+  right: HANDLE_STYLES_OVERRIDES,
+  bottom: HANDLE_STYLES_OVERRIDES,
+  left: HANDLE_STYLES_OVERRIDES,
+  topLeft: HANDLE_STYLES_OVERRIDES,
+  topRight: HANDLE_STYLES_OVERRIDES,
+  bottomRight: HANDLE_STYLES_OVERRIDES,
+  bottomLeft: HANDLE_STYLES_OVERRIDES
+};

-// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/animate/index.js
-var build_module_animate = __webpack_require__("L8Kx");
+function ResizableBox(_ref, ref) {
+  let {
+    className,
+    children,
+    showHandle = true,
+    __experimentalShowTooltip: showTooltip = false,
+    __experimentalTooltipProps: tooltipProps = {},
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(Resizable, extends_extends({
+    className: classnames_default()('components-resizable-box__container', showHandle && 'has-show-handle', className),
+    handleClasses: HANDLE_CLASSES,
+    handleStyles: HANDLE_STYLES,
+    ref: ref
+  }, props), children, showTooltip && (0,external_wp_element_namespaceObject.createElement)(resize_tooltip, tooltipProps));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/popover/index.js
+/* harmony default export */ var resizable_box = ((0,external_wp_element_namespaceObject.forwardRef)(ResizableBox));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/responsive-wrapper/index.js

-// @ts-nocheck

 /**
  * External dependencies
@@ -69558,3286 +68828,3340 @@ var build_module_animate = __webpack_require__("L8Kx");



+function ResponsiveWrapper(_ref) {
+  let {
+    naturalWidth,
+    naturalHeight,
+    children,
+    isInline = false
+  } = _ref;
+  const [containerResizeListener, {
+    width: containerWidth
+  }] = (0,external_wp_compose_namespaceObject.useResizeObserver)();
+
+  if (external_wp_element_namespaceObject.Children.count(children) !== 1) {
+    return null;
+  }
+
+  const imageStyle = {
+    paddingBottom: naturalWidth < containerWidth ? naturalHeight : naturalHeight / naturalWidth * 100 + '%'
+  };
+  const TagName = isInline ? 'span' : 'div';
+  return (0,external_wp_element_namespaceObject.createElement)(TagName, {
+    className: "components-responsive-wrapper"
+  }, containerResizeListener, (0,external_wp_element_namespaceObject.createElement)(TagName, {
+    style: imageStyle
+  }), (0,external_wp_element_namespaceObject.cloneElement)(children, {
+    className: classnames_default()('components-responsive-wrapper__content', children.props.className)
+  }));
+}
+
+/* harmony default export */ var responsive_wrapper = (ResponsiveWrapper);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/sandbox/index.js
+

 /**
- * Internal dependencies
+ * WordPress dependencies
  */


+const observeAndResizeJS = `
+	( function() {
+		var observer;

+		if ( ! window.MutationObserver || ! document.body || ! window.parent ) {
+			return;
+		}

+		function sendResize() {
+			var clientBoundingRect = document.body.getBoundingClientRect();

+			window.parent.postMessage( {
+				action: 'resize',
+				width: clientBoundingRect.width,
+				height: clientBoundingRect.height,
+			}, '*' );
+		}

-/**
- * Name of slot in which popover should fill.
- *
- * @type {string}
- */
+		observer = new MutationObserver( sendResize );
+		observer.observe( document.body, {
+			attributes: true,
+			attributeOldValue: false,
+			characterData: true,
+			characterDataOldValue: false,
+			childList: true,
+			subtree: true
+		} );

-const SLOT_NAME = 'Popover';
-const slotNameContext = Object(external_wp_element_["createContext"])();
+		window.addEventListener( 'load', sendResize, true );

-function computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect) {
-  let anchorRef = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
-  let shouldAnchorIncludePadding = arguments.length > 4 ? arguments[4] : undefined;
-  let container = arguments.length > 5 ? arguments[5] : undefined;
+		// Hack: Remove viewport unit styles, as these are relative
+		// the iframe root and interfere with our mechanism for
+		// determining the unconstrained page bounds.
+		function removeViewportStyles( ruleOrNode ) {
+			if( ruleOrNode.style ) {
+				[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {
+					if ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {
+						ruleOrNode.style[ style ] = '';
+					}
+				} );
+			}
+		}

-  if (anchorRect) {
-    return anchorRect;
+		Array.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );
+		Array.prototype.forEach.call( document.styleSheets, function( stylesheet ) {
+			Array.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );
+		} );
+
+		document.body.style.position = 'absolute';
+		document.body.style.width = '100%';
+		document.body.setAttribute( 'data-resizable-iframe-connected', '' );
+
+		sendResize();
+
+		// Resize events can change the width of elements with 100% width, but we don't
+		// get an DOM mutations for that, so do the resize when the window is resized, too.
+		window.addEventListener( 'resize', sendResize, true );
+} )();`;
+const style = `
+	body {
+		margin: 0;
+	}
+	html,
+	body,
+	body > div,
+	body > div iframe {
+		width: 100%;
+	}
+	html.wp-has-aspect-ratio,
+	body.wp-has-aspect-ratio,
+	body.wp-has-aspect-ratio > div,
+	body.wp-has-aspect-ratio > div iframe {
+		height: 100%;
+		overflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */
+	}
+	body > div > * {
+		margin-top: 0 !important; /* Has to have !important to override inline styles. */
+		margin-bottom: 0 !important;
+	}
+`;
+function Sandbox(_ref) {
+  let {
+    html = '',
+    title = '',
+    type,
+    styles = [],
+    scripts = [],
+    onFocus
+  } = _ref;
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const [width, setWidth] = (0,external_wp_element_namespaceObject.useState)(0);
+  const [height, setHeight] = (0,external_wp_element_namespaceObject.useState)(0);
+
+  function isFrameAccessible() {
+    try {
+      return !!ref.current.contentDocument.body;
+    } catch (e) {
+      return false;
+    }
   }

-  if (getAnchorRect) {
-    if (!anchorRefFallback.current) {
+  function trySandbox() {
+    let forceRerender = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+
+    if (!isFrameAccessible()) {
       return;
     }

-    const rect = getAnchorRect(anchorRefFallback.current);
-    return offsetIframe(rect, rect.ownerDocument || anchorRefFallback.current.ownerDocument, container);
-  }
+    const {
+      contentDocument,
+      ownerDocument
+    } = ref.current;
+    const {
+      body
+    } = contentDocument;

-  if (anchorRef !== false) {
-    if (!anchorRef || !window.Range || !window.Element || !window.DOMRect) {
+    if (!forceRerender && null !== body.getAttribute('data-resizable-iframe-connected')) {
       return;
-    } // Duck-type to check if `anchorRef` is an instance of Range
-    // `anchorRef instanceof window.Range` checks will break across document boundaries
-    // such as in an iframe
+    } // put the html snippet into a html document, and then write it to the iframe's document
+    // we can use this in the future to inject custom styles or scripts.
+    // Scripts go into the body rather than the head, to support embedded content such as Instagram
+    // that expect the scripts to be part of the body.


-    if (typeof (anchorRef === null || anchorRef === void 0 ? void 0 : anchorRef.cloneRange) === 'function') {
-      return offsetIframe(Object(external_wp_dom_["getRectangleFromRange"])(anchorRef), anchorRef.endContainer.ownerDocument, container);
-    } // Duck-type to check if `anchorRef` is an instance of Element
-    // `anchorRef instanceof window.Element` checks will break across document boundaries
-    // such as in an iframe
+    const htmlDoc = (0,external_wp_element_namespaceObject.createElement)("html", {
+      lang: ownerDocument.documentElement.lang,
+      className: type
+    }, (0,external_wp_element_namespaceObject.createElement)("head", null, (0,external_wp_element_namespaceObject.createElement)("title", null, title), (0,external_wp_element_namespaceObject.createElement)("style", {
+      dangerouslySetInnerHTML: {
+        __html: style
+      }
+    }), styles.map((rules, i) => (0,external_wp_element_namespaceObject.createElement)("style", {
+      key: i,
+      dangerouslySetInnerHTML: {
+        __html: rules
+      }
+    }))), (0,external_wp_element_namespaceObject.createElement)("body", {
+      "data-resizable-iframe-connected": "data-resizable-iframe-connected",
+      className: type
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      dangerouslySetInnerHTML: {
+        __html: html
+      }
+    }), (0,external_wp_element_namespaceObject.createElement)("script", {
+      type: "text/javascript",
+      dangerouslySetInnerHTML: {
+        __html: observeAndResizeJS
+      }
+    }), scripts.map(src => (0,external_wp_element_namespaceObject.createElement)("script", {
+      key: src,
+      src: src
+    })))); // writing the document like this makes it act in the same way as if it was
+    // loaded over the network, so DOM creation and mutation, script execution, etc.
+    // all work as expected

+    contentDocument.open();
+    contentDocument.write('<!DOCTYPE html>' + (0,external_wp_element_namespaceObject.renderToString)(htmlDoc));
+    contentDocument.close();
+  }

-    if (typeof (anchorRef === null || anchorRef === void 0 ? void 0 : anchorRef.getBoundingClientRect) === 'function') {
-      const rect = offsetIframe(anchorRef.getBoundingClientRect(), anchorRef.ownerDocument, container);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    trySandbox();

-      if (shouldAnchorIncludePadding) {
-        return rect;
+    function tryNoForceSandbox() {
+      trySandbox(false);
+    }
+
+    function checkMessageForResize(event) {
+      const iframe = ref.current; // Verify that the mounted element is the source of the message
+
+      if (!iframe || iframe.contentWindow !== event.source) {
+        return;
+      } // Attempt to parse the message data as JSON if passed as string
+
+
+      let data = event.data || {};
+
+      if ('string' === typeof data) {
+        try {
+          data = JSON.parse(data);
+        } catch (e) {}
+      } // Update the state only if the message is formatted as we expect,
+      // i.e. as an object with a 'resize' action.
+
+
+      if ('resize' !== data.action) {
+        return;
       }

-      return withoutPadding(rect, anchorRef);
+      setWidth(data.width);
+      setHeight(data.height);
     }

     const {
-      top,
-      bottom
-    } = anchorRef;
-    const topRect = top.getBoundingClientRect();
-    const bottomRect = bottom.getBoundingClientRect();
-    const rect = offsetIframe(new window.DOMRect(topRect.left, topRect.top, topRect.width, bottomRect.bottom - topRect.top), top.ownerDocument, container);
-
-    if (shouldAnchorIncludePadding) {
-      return rect;
-    }
+      ownerDocument
+    } = ref.current;
+    const {
+      defaultView
+    } = ownerDocument; // This used to be registered using <iframe onLoad={} />, but it made the iframe blank
+    // after reordering the containing block. See these two issues for more details:
+    // https://github.com/WordPress/gutenberg/issues/6146
+    // https://github.com/facebook/react/issues/18752

-    return withoutPadding(rect, anchorRef);
-  }
+    ref.current.addEventListener('load', tryNoForceSandbox, false);
+    defaultView.addEventListener('message', checkMessageForResize);
+    return () => {
+      var _ref$current;

-  if (!anchorRefFallback.current) {
-    return;
-  }
+      (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.removeEventListener('load', tryNoForceSandbox, false);
+      defaultView.addEventListener('message', checkMessageForResize);
+    };
+  }, []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    trySandbox();
+  }, [title, type, styles, scripts]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    trySandbox(true);
+  }, [html]);
+  return (0,external_wp_element_namespaceObject.createElement)("iframe", {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, (0,external_wp_compose_namespaceObject.useFocusableIframe)()]),
+    title: title,
+    className: "components-sandbox",
+    sandbox: "allow-scripts allow-same-origin allow-presentation",
+    onFocus: onFocus,
+    width: Math.ceil(width),
+    height: Math.ceil(height)
+  });
+}

-  const {
-    parentNode
-  } = anchorRefFallback.current;
-  const rect = offsetIframe(parentNode.getBoundingClientRect(), parentNode.ownerDocument, container);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/snackbar/index.js

-  if (shouldAnchorIncludePadding) {
-    return rect;
-  }

-  return withoutPadding(rect, parentNode);
-}
+/**
+ * External dependencies
+ */

-function getComputedStyle(node) {
-  return node.ownerDocument.defaultView.getComputedStyle(node);
-}

-function withoutPadding(rect, element) {
-  const {
-    paddingTop,
-    paddingBottom,
-    paddingLeft,
-    paddingRight
-  } = getComputedStyle(element);
-  const top = paddingTop ? parseInt(paddingTop, 10) : 0;
-  const bottom = paddingBottom ? parseInt(paddingBottom, 10) : 0;
-  const left = paddingLeft ? parseInt(paddingLeft, 10) : 0;
-  const right = paddingRight ? parseInt(paddingRight, 10) : 0;
-  return {
-    x: rect.left + left,
-    y: rect.top + top,
-    width: rect.width - left - right,
-    height: rect.height - top - bottom,
-    left: rect.left + left,
-    right: rect.right - right,
-    top: rect.top + top,
-    bottom: rect.bottom - bottom
-  };
-}
 /**
- * Sets or removes an element attribute.
- *
- * @param {Element} element The element to modify.
- * @param {string}  name    The attribute name to set or remove.
- * @param {?string} value   The value to set. A falsy value will remove the
- *                          attribute.
+ * WordPress dependencies
  */


-function setAttribute(element, name, value) {
-  if (!value) {
-    if (element.hasAttribute(name)) {
-      element.removeAttribute(name);
-    }
-  } else if (element.getAttribute(name) !== value) {
-    element.setAttribute(name, value);
-  }
-}
+
+
+
 /**
- * Sets or removes an element style property.
- *
- * @param {Element} element  The element to modify.
- * @param {string}  property The property to set or remove.
- * @param {?string} value    The value to set. A falsy value will remove the
- *                           property.
+ * Internal dependencies
  */


-function setStyle(element, property) {
-  let value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
+const NOTICE_TIMEOUT = 10000;
+/** @typedef {import('@wordpress/element').WPElement} WPElement */

-  if (element.style[property] !== value) {
-    element.style[property] = value;
-  }
-}
 /**
- * Sets or removes an element class.
+ * Custom hook which announces the message with the given politeness, if a
+ * valid message is provided.
  *
- * @param {Element} element The element to modify.
- * @param {string}  name    The class to set or remove.
- * @param {boolean} toggle  True to set the class, false to remove.
+ * @param {string|WPElement}     [message]  Message to announce.
+ * @param {'polite'|'assertive'} politeness Politeness to announce.
  */

-
-function setClass(element, name, toggle) {
-  if (toggle) {
-    if (!element.classList.contains(name)) {
-      element.classList.add(name);
+function snackbar_useSpokenMessage(message, politeness) {
+  const spokenMessage = typeof message === 'string' ? message : (0,external_wp_element_namespaceObject.renderToString)(message);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (spokenMessage) {
+      (0,external_wp_a11y_namespaceObject.speak)(spokenMessage, politeness);
     }
-  } else if (element.classList.contains(name)) {
-    element.classList.remove(name);
-  }
-}
-
-function getAnchorDocument(anchor) {
-  if (!anchor) {
-    return;
-  }
-
-  if (anchor.endContainer) {
-    return anchor.endContainer.ownerDocument;
-  }
-
-  if (anchor.top) {
-    return anchor.top.ownerDocument;
-  }
-
-  return anchor.ownerDocument;
+  }, [spokenMessage, politeness]);
 }

-const Popover = (_ref, ref) => {
+function Snackbar(_ref, ref) {
   let {
-    headerTitle,
-    onClose,
-    children,
     className,
-    noArrow = true,
-    isAlternate,
-    // Disable reason: We generate the `...contentProps` rest as remainder
-    // of props which aren't explicitly handled by this component.
+    children,
+    spokenMessage = children,
+    politeness = 'polite',
+    actions = [],
+    onRemove = external_lodash_namespaceObject.noop,
+    icon = null,
+    explicitDismiss = false,
+    // onDismiss is a callback executed when the snackbar is dismissed.
+    // It is distinct from onRemove, which _looks_ like a callback but is
+    // actually the function to call to remove the snackbar from the UI.
+    onDismiss = external_lodash_namespaceObject.noop,
+    listRef
+  } = _ref;
+  onDismiss = onDismiss || external_lodash_namespaceObject.noop;

-    /* eslint-disable no-unused-vars */
-    position = 'bottom right',
-    range,
-    focusOnMount = 'firstElement',
-    anchorRef,
-    shouldAnchorIncludePadding,
-    anchorRect,
-    getAnchorRect,
-    expandOnMobile,
-    animate = true,
-    onFocusOutside,
-    __unstableStickyBoundaryElement,
-    __unstableSlotName = SLOT_NAME,
-    __unstableObserveElement,
-    __unstableBoundaryParent,
-    __unstableForcePosition,
-    __unstableForceXAlignment,
-    __unstableEditorCanvasWrapper,
+  function dismissMe(event) {
+    if (event && event.preventDefault) {
+      event.preventDefault();
+    } // Prevent focus loss by moving it to the list element.

-    /* eslint-enable no-unused-vars */
-    ...contentProps
-  } = _ref;
-  const anchorRefFallback = Object(external_wp_element_["useRef"])(null);
-  const contentRef = Object(external_wp_element_["useRef"])(null);
-  const containerRef = Object(external_wp_element_["useRef"])();
-  const isMobileViewport = Object(external_wp_compose_["useViewportMatch"])('medium', '<');
-  const [animateOrigin, setAnimateOrigin] = Object(external_wp_element_["useState"])();

-  const slotName = Object(external_wp_element_["useContext"])(slotNameContext) || __unstableSlotName;
+    listRef.current.focus();
+    onDismiss();
+    onRemove();
+  }

-  const slot = Object(use_slot["a" /* default */])(slotName);
-  const isExpanded = expandOnMobile && isMobileViewport;
-  const [containerResizeListener, contentSize] = Object(external_wp_compose_["useResizeObserver"])();
-  noArrow = isExpanded || noArrow;
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    if (isExpanded) {
-      setClass(containerRef.current, 'is-without-arrow', noArrow);
-      setClass(containerRef.current, 'is-alternate', isAlternate);
-      setAttribute(containerRef.current, 'data-x-axis');
-      setAttribute(containerRef.current, 'data-y-axis');
-      setStyle(containerRef.current, 'top');
-      setStyle(containerRef.current, 'left');
-      setStyle(contentRef.current, 'maxHeight');
-      setStyle(contentRef.current, 'maxWidth');
-      return;
-    }
+  function onActionClick(event, onClick) {
+    event.stopPropagation();
+    onRemove();

-    const refresh = () => {
-      if (!containerRef.current || !contentRef.current) {
-        return;
-      }
+    if (onClick) {
+      onClick(event);
+    }
+  }

-      let anchor = computeAnchorRect(anchorRefFallback, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding, containerRef.current);
+  snackbar_useSpokenMessage(spokenMessage, politeness); // Only set up the timeout dismiss if we're not explicitly dismissing.

-      if (!anchor) {
-        return;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const timeoutHandle = setTimeout(() => {
+      if (!explicitDismiss) {
+        onDismiss();
+        onRemove();
       }
+    }, NOTICE_TIMEOUT);
+    return () => clearTimeout(timeoutHandle);
+  }, [onDismiss, onRemove]);
+  const classes = classnames_default()(className, 'components-snackbar', {
+    'components-snackbar-explicit-dismiss': !!explicitDismiss
+  });

-      const {
-        offsetParent,
-        ownerDocument
-      } = containerRef.current;
-      let relativeOffsetTop = 0; // If there is a positioned ancestor element that is not the body,
-      // subtract the position from the anchor rect. If the position of
-      // the popover is fixed, the offset parent is null or the body
-      // element, in which case the position is relative to the viewport.
-      // See https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent
+  if (actions && actions.length > 1) {
+    // we need to inform developers that snackbar only accepts 1 action
+    typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0; // return first element only while keeping it inside an array

-      if (offsetParent && offsetParent !== ownerDocument.body) {
-        const offsetParentRect = offsetParent.getBoundingClientRect();
-        relativeOffsetTop = offsetParentRect.top;
-        anchor = new window.DOMRect(anchor.left - offsetParentRect.left, anchor.top - offsetParentRect.top, anchor.width, anchor.height);
-      }
+    actions = [actions[0]];
+  }

-      let boundaryElement;
+  const snackbarContentClassnames = classnames_default()('components-snackbar__content', {
+    'components-snackbar__content-with-icon': !!icon
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: ref,
+    className: classes,
+    onClick: !explicitDismiss ? dismissMe : external_lodash_namespaceObject.noop,
+    tabIndex: "0",
+    role: !explicitDismiss ? 'button' : '',
+    onKeyPress: !explicitDismiss ? dismissMe : external_lodash_namespaceObject.noop,
+    "aria-label": !explicitDismiss ? (0,external_wp_i18n_namespaceObject.__)('Dismiss this notice') : ''
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: snackbarContentClassnames
+  }, icon && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-snackbar__icon"
+  }, icon), children, actions.map((_ref2, index) => {
+    let {
+      label,
+      onClick,
+      url
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(build_module_button, {
+      key: index,
+      href: url,
+      variant: "tertiary",
+      onClick: event => onActionClick(event, onClick),
+      className: "components-snackbar__action"
+    }, label);
+  }), explicitDismiss && (0,external_wp_element_namespaceObject.createElement)("span", {
+    role: "button",
+    "aria-label": "Dismiss this notice",
+    tabIndex: "0",
+    className: "components-snackbar__dismiss-button",
+    onClick: dismissMe,
+    onKeyPress: dismissMe
+  }, "\u2715")));
+}

-      if (__unstableBoundaryParent) {
-        boundaryElement = containerRef.current.parentElement;
-      }
+/* harmony default export */ var snackbar = ((0,external_wp_element_namespaceObject.forwardRef)(Snackbar));

-      const usedContentSize = !contentSize.height ? contentRef.current.getBoundingClientRect() : contentSize;
-      const {
-        popoverTop,
-        popoverLeft,
-        xAxis,
-        yAxis,
-        contentHeight,
-        contentWidth
-      } = computePopoverPosition(anchor, usedContentSize, position, __unstableStickyBoundaryElement, containerRef.current, relativeOffsetTop, boundaryElement, __unstableForcePosition, __unstableForceXAlignment, __unstableEditorCanvasWrapper);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/snackbar/list.js

-      if (typeof popoverTop === 'number' && typeof popoverLeft === 'number') {
-        setStyle(containerRef.current, 'top', popoverTop + 'px');
-        setStyle(containerRef.current, 'left', popoverLeft + 'px');
-      }

-      setClass(containerRef.current, 'is-without-arrow', noArrow || xAxis === 'center' && yAxis === 'middle');
-      setClass(containerRef.current, 'is-alternate', isAlternate);
-      setAttribute(containerRef.current, 'data-x-axis', xAxis);
-      setAttribute(containerRef.current, 'data-y-axis', yAxis);
-      setStyle(contentRef.current, 'maxHeight', typeof contentHeight === 'number' ? contentHeight + 'px' : '');
-      setStyle(contentRef.current, 'maxWidth', typeof contentWidth === 'number' ? contentWidth + 'px' : ''); // Compute the animation position

-      const yAxisMapping = {
-        top: 'bottom',
-        bottom: 'top'
-      };
-      const xAxisMapping = {
-        left: 'right',
-        right: 'left'
-      };
-      const animateYAxis = yAxisMapping[yAxis] || 'middle';
-      const animateXAxis = xAxisMapping[xAxis] || 'center';
-      setAnimateOrigin(animateXAxis + ' ' + animateYAxis);
-    };
+/**
+ * External dependencies
+ */

-    refresh();
-    const {
-      ownerDocument
-    } = containerRef.current;
-    const {
-      defaultView
-    } = ownerDocument;
-    /*
-     * There are sometimes we need to reposition or resize the popover that
-     * are not handled by the resize/scroll window events (i.e. CSS changes
-     * in the layout that changes the position of the anchor).
-     *
-     * For these situations, we refresh the popover every 0.5s
-     */

-    const intervalHandle = defaultView.setInterval(refresh, 500);
-    let rafId;
+/**
+ * WordPress dependencies
+ */

-    const refreshOnAnimationFrame = () => {
-      defaultView.cancelAnimationFrame(rafId);
-      rafId = defaultView.requestAnimationFrame(refresh);
-    }; // Sometimes a click trigger a layout change that affects the popover
-    // position. This is an opportunity to immediately refresh rather than
-    // at the interval.


-    defaultView.addEventListener('click', refreshOnAnimationFrame);
-    defaultView.addEventListener('resize', refresh);
-    defaultView.addEventListener('scroll', refresh, true);
-    const anchorDocument = getAnchorDocument(anchorRef); // If the anchor is within an iframe, the popover position also needs
-    // to refrest when the iframe content is scrolled or resized.
+/**
+ * Internal dependencies
+ */

-    if (anchorDocument && anchorDocument !== ownerDocument) {
-      anchorDocument.defaultView.addEventListener('resize', refresh);
-      anchorDocument.defaultView.addEventListener('scroll', refresh, true);
-    }

-    let observer;

-    if (__unstableObserveElement) {
-      observer = new defaultView.MutationObserver(refresh);
-      observer.observe(__unstableObserveElement, {
-        attributes: true
-      });
+const SNACKBAR_VARIANTS = {
+  init: {
+    height: 0,
+    opacity: 0
+  },
+  open: {
+    height: 'auto',
+    opacity: 1,
+    transition: {
+      height: {
+        stiffness: 1000,
+        velocity: -100
+      }
+    }
+  },
+  exit: {
+    opacity: 0,
+    transition: {
+      duration: 0.5
     }
+  }
+};
+const SNACKBAR_REDUCE_MOTION_VARIANTS = {
+  init: false,
+  open: false,
+  exit: false
+};
+/**
+ * Renders a list of notices.
+ *
+ * @param {Object}   $0           Props passed to the component.
+ * @param {Array}    $0.notices   Array of notices to render.
+ * @param {Function} $0.onRemove  Function called when a notice should be removed / dismissed.
+ * @param {Object}   $0.className Name of the class used by the component.
+ * @param {Object}   $0.children  Array of children to be rendered inside the notice list.
+ *
+ * @return {Object} The rendered notices list.
+ */

-    return () => {
-      defaultView.clearInterval(intervalHandle);
-      defaultView.removeEventListener('resize', refresh);
-      defaultView.removeEventListener('scroll', refresh, true);
-      defaultView.removeEventListener('click', refreshOnAnimationFrame);
-      defaultView.cancelAnimationFrame(rafId);
+function SnackbarList(_ref) {
+  let {
+    notices,
+    className,
+    children,
+    onRemove = external_lodash_namespaceObject.noop
+  } = _ref;
+  const listRef = (0,external_wp_element_namespaceObject.useRef)();
+  const isReducedMotion = (0,external_wp_compose_namespaceObject.useReducedMotion)();
+  className = classnames_default()('components-snackbar-list', className);

-      if (anchorDocument && anchorDocument !== ownerDocument) {
-        var _anchorDocument$defau, _anchorDocument$defau2;
+  const removeNotice = notice => () => onRemove(notice.id);

-        (_anchorDocument$defau = anchorDocument.defaultView) === null || _anchorDocument$defau === void 0 ? void 0 : _anchorDocument$defau.removeEventListener('resize', refresh);
-        (_anchorDocument$defau2 = anchorDocument.defaultView) === null || _anchorDocument$defau2 === void 0 ? void 0 : _anchorDocument$defau2.removeEventListener('scroll', refresh, true);
-      }
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: className,
+    tabIndex: -1,
+    ref: listRef
+  }, children, (0,external_wp_element_namespaceObject.createElement)(AnimatePresence, null, notices.map(notice => {
+    return (0,external_wp_element_namespaceObject.createElement)(motion.div, {
+      layout: !isReducedMotion //see https://www.framer.com/docs/animation/#layout-animations
+      ,
+      initial: 'init',
+      animate: 'open',
+      exit: 'exit',
+      key: notice.id,
+      variants: isReducedMotion ? SNACKBAR_REDUCE_MOTION_VARIANTS : SNACKBAR_VARIANTS
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "components-snackbar-list__notice-container"
+    }, (0,external_wp_element_namespaceObject.createElement)(snackbar, extends_extends({}, (0,external_lodash_namespaceObject.omit)(notice, ['content']), {
+      onRemove: removeNotice(notice),
+      listRef: listRef
+    }), notice.content)));
+  })));
+}

-      if (observer) {
-        observer.disconnect();
-      }
-    };
-  }, [isExpanded, anchorRect, getAnchorRect, anchorRef, shouldAnchorIncludePadding, position, contentSize, __unstableStickyBoundaryElement, __unstableObserveElement, __unstableBoundaryParent]);
+/* harmony default export */ var snackbar_list = (SnackbarList);

-  const onDialogClose = (type, event) => {
-    // Ideally the popover should have just a single onClose prop and
-    // not three props that potentially do the same thing.
-    if (type === 'focus-outside' && onFocusOutside) {
-      onFocusOutside(event);
-    } else if (onClose) {
-      onClose();
-    }
-  };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/spinner/styles/spinner-styles.js

-  const [dialogRef, dialogProps] = Object(external_wp_compose_["__experimentalUseDialog"])({
-    focusOnMount,
-    __unstableOnClose: onDialogClose,
-    onClose: onDialogClose
-  });
-  const mergedRefs = Object(external_wp_compose_["useMergeRefs"])([containerRef, dialogRef, ref]);
-  /** @type {false | string} */

-  const animateClassName = Boolean(animate && animateOrigin) && Object(build_module_animate["b" /* getAnimateClassName */])({
-    type: 'appear',
-    origin: animateOrigin
-  }); // Disable reason: We care to capture the _bubbled_ events from inputs
-  // within popover as inferring close intent.
+/**
+ * External dependencies
+ */

-  let content = // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
-  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
-  Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-    className: classnames_default()('components-popover', className, animateClassName, {
-      'is-expanded': isExpanded,
-      'is-without-arrow': noArrow,
-      'is-alternate': isAlternate
-    })
-  }, contentProps, {
-    ref: mergedRefs
-  }, dialogProps, {
-    tabIndex: "-1"
-  }), isExpanded && Object(external_wp_element_["createElement"])(scroll_lock["a" /* default */], null), isExpanded && Object(external_wp_element_["createElement"])("div", {
-    className: "components-popover__header"
-  }, Object(external_wp_element_["createElement"])("span", {
-    className: "components-popover__header-title"
-  }, headerTitle), Object(external_wp_element_["createElement"])(build_module_button["a" /* default */], {
-    className: "components-popover__close",
-    icon: library_close["a" /* default */],
-    onClick: onClose
-  })), Object(external_wp_element_["createElement"])("div", {
-    ref: contentRef,
-    className: "components-popover__content"
-  }, Object(external_wp_element_["createElement"])("div", {
-    style: {
-      position: 'relative'
-    }
-  }, containerResizeListener, children)));
+/**
+ * Internal dependencies
+ */

-  if (slot.ref) {
-    content = Object(external_wp_element_["createElement"])(slot_fill["a" /* Fill */], {
-      name: slotName
-    }, content);
-  }

-  if (anchorRef || anchorRect) {
-    return content;
-  }
+const spinAnimation = emotion_react_browser_esm_keyframes`
+	from {
+		transform: rotate(0deg);
+	}

-  return Object(external_wp_element_["createElement"])("span", {
-    ref: anchorRefFallback
-  }, content);
-};
+	to {
+		transform: rotate(360deg);
+	}
+`;
+const topLeft = `calc( ( ${config_values.spinnerSize} - ${config_values.spinnerSize} * ( 2 / 3 ) ) / 2 )`;
+const StyledSpinner = emotion_styled_base_browser_esm("span",  true ? {
+  target: "e1s472tg0"
+} : 0)("display:inline-block;background-color:", COLORS.gray[600], ";width:", config_values.spinnerSize, ";height:", config_values.spinnerSize, ";opacity:0.7;margin:5px 11px 0;border-radius:100%;position:relative;&::before{content:'';position:absolute;background-color:", COLORS.white, ";top:", topLeft, ";left:", topLeft, ";width:calc( ", config_values.spinnerSize, " / 4.5 );height:calc( ", config_values.spinnerSize, " / 4.5 );border-radius:100%;transform-origin:calc( ", config_values.spinnerSize, " / 3 ) calc( ", config_values.spinnerSize, " / 3 );animation:", spinAnimation, " 1s infinite linear;}" + ( true ? "" : 0));

-const PopoverContainer = Object(external_wp_element_["forwardRef"])(Popover);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/spinner/index.js

-function PopoverSlot(_ref2, ref) {
-  let {
-    name = SLOT_NAME
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(slot_fill["c" /* Slot */], {
-    bubblesVirtually: true,
-    name: name,
-    className: "popover-slot",
-    ref: ref
+
+/**
+ * Internal dependencies
+ */
+
+function Spinner() {
+  return (0,external_wp_element_namespaceObject.createElement)(StyledSpinner, {
+    className: "components-spinner"
   });
 }

-PopoverContainer.Slot = Object(external_wp_element_["forwardRef"])(PopoverSlot);
-PopoverContainer.__unstableSlotNameProvider = slotNameContext.Provider;
-/* harmony default export */ var popover = __webpack_exports__["a"] = (PopoverContainer);
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/surface/component.js

-/***/ }),

-/***/ "ouKs":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getDocument; });
 /**
- * Returns `element.ownerDocument || document`.
+ * Internal dependencies
  */
-function getDocument(element) {
-  return element ? element.ownerDocument || element : document;
-}
-



-/***/ }),
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'div'>} props
+ * @param {import('react').Ref<any>}                                                        forwardedRef
+ */

-/***/ "pRvc":
-/***/ (function(module, exports, __webpack_require__) {
+function component_Surface(props, forwardedRef) {
+  const surfaceProps = useSurface(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, surfaceProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `Surface` is a core component that renders a primary background color.
+ *
+ * In the example below, notice how the `Surface` renders in white (or dark gray if in dark mode).
+ *
+ * ```jsx
+ * import {
+ *	__experimentalSurface as Surface,
+ *	__experimentalText as Text,
+ * } from '@wordpress/components';
+ *
+ * function Example() {
+ * 	return (
+ * 		<Surface>
+ * 			<Text>Code is Poetry</Text>
+ * 		</Surface>
+ * 	);
+ * }
+ * ```
+ */

-"use strict";

+const ConnectedSurface = contextConnect(component_Surface, 'Surface');
+/* harmony default export */ var surface_component = (ConnectedSurface);

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = isSameDay;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tab-panel/index.js

-var _moment = __webpack_require__("wy2R");

-var _moment2 = _interopRequireDefault(_moment);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+/**
+ * External dependencies
+ */

-function isSameDay(a, b) {
-  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
-  // Compare least significant, most likely to change units first
-  // Moment's isSame clones moment inputs and is a tad slow
-  return a.date() === b.date() && a.month() === b.month() && a.year() === b.year();
-}

-/***/ }),
+/**
+ * WordPress dependencies
+ */

-/***/ "pVnL":
-/***/ (function(module, exports) {

-function _extends() {
-  module.exports = _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
+/**
+ * Internal dependencies
+ */

-    return target;
-  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
-  return _extends.apply(this, arguments);
-}

-module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;

-/***/ }),

-/***/ "pYxT":
-/***/ (function(module, exports, __webpack_require__) {
+const TabButton = _ref => {
+  let {
+    tabId,
+    onClick,
+    children,
+    selected,
+    ...rest
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+    role: "tab",
+    tabIndex: selected ? null : -1,
+    "aria-selected": selected,
+    id: tabId,
+    onClick: onClick
+  }, rest), children);
+};

-"use strict";
+function TabPanel(_ref2) {
+  var _selectedTab$name;

+  let {
+    className,
+    children,
+    tabs,
+    initialTabName,
+    orientation = 'horizontal',
+    activeClass = 'is-active',
+    onSelect = external_lodash_namespaceObject.noop
+  } = _ref2;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(TabPanel, 'tab-panel');
+  const [selected, setSelected] = (0,external_wp_element_namespaceObject.useState)(null);

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = toISODateString;
+  const handleClick = tabKey => {
+    setSelected(tabKey);
+    onSelect(tabKey);
+  };

-var _moment = __webpack_require__("wy2R");
+  const onNavigate = (childIndex, child) => {
+    child.click();
+  };

-var _moment2 = _interopRequireDefault(_moment);
+  const selectedTab = (0,external_lodash_namespaceObject.find)(tabs, {
+    name: selected
+  });
+  const selectedId = `${instanceId}-${(_selectedTab$name = selectedTab === null || selectedTab === void 0 ? void 0 : selectedTab.name) !== null && _selectedTab$name !== void 0 ? _selectedTab$name : 'none'}`;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const newSelectedTab = (0,external_lodash_namespaceObject.find)(tabs, {
+      name: selected
+    });

-var _toMomentObject = __webpack_require__("WmS1");
+    if (!newSelectedTab) {
+      setSelected(initialTabName || (tabs.length > 0 ? tabs[0].name : null));
+    }
+  }, [tabs]);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: className
+  }, (0,external_wp_element_namespaceObject.createElement)(navigable_container_menu, {
+    role: "tablist",
+    orientation: orientation,
+    onNavigate: onNavigate,
+    className: "components-tab-panel__tabs"
+  }, tabs.map(tab => (0,external_wp_element_namespaceObject.createElement)(TabButton, {
+    className: classnames_default()('components-tab-panel__tabs-item', tab.className, {
+      [activeClass]: tab.name === selected
+    }),
+    tabId: `${instanceId}-${tab.name}`,
+    "aria-controls": `${instanceId}-${tab.name}-view`,
+    selected: tab.name === selected,
+    key: tab.name,
+    onClick: (0,external_lodash_namespaceObject.partial)(handleClick, tab.name)
+  }, tab.title))), selectedTab && (0,external_wp_element_namespaceObject.createElement)("div", {
+    key: selectedId,
+    "aria-labelledby": selectedId,
+    role: "tabpanel",
+    id: `${selectedId}-view`,
+    className: "components-tab-panel__tab-content"
+  }, children(selectedTab)));
+}

-var _toMomentObject2 = _interopRequireDefault(_toMomentObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text-control/index.js

-var _constants = __webpack_require__("Fv1B");

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function toISODateString(date, currentFormat) {
-  var dateObj = _moment2['default'].isMoment(date) ? date : (0, _toMomentObject2['default'])(date, currentFormat);
-  if (!dateObj) return null;
+/**
+ * WordPress dependencies
+ */

-  return dateObj.format(_constants.ISO_FORMAT);
-}

-/***/ }),
+/**
+ * Internal dependencies
+ */

-/***/ "q86A":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+/**
+ * @typedef OwnProps
+ * @property {string}                  label                 Label for the control.
+ * @property {boolean}                 [hideLabelFromVision] Whether to accessibly hide the label.
+ * @property {string}                  value                 Value of the input.
+ * @property {string}                  [help]                Optional help text for the control.
+ * @property {string}                  [className]           Classname passed to BaseControl wrapper
+ * @property {(value: string) => void} onChange              Handle changes.
+ * @property {string}                  [type='text']         Type of the input.
+ */

+/** @typedef {OwnProps & import('react').ComponentProps<'input'>} Props */

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports["default"] = getTransformStyles;
-function getTransformStyles(transformValue) {
-  return {
-    transform: transformValue,
-    msTransform: transformValue,
-    MozTransform: transformValue,
-    WebkitTransform: transformValue
-  };
-}
+/**
+ *
+ * @param {Props}                                 props Props
+ * @param {import('react').Ref<HTMLInputElement>} [ref]
+ */

-/***/ }),
+function TextControl(_ref, ref) {
+  let {
+    label,
+    hideLabelFromVision,
+    value,
+    help,
+    className,
+    onChange,
+    type = 'text',
+    ...props
+  } = _ref;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(TextControl);
+  const id = `inspector-text-control-${instanceId}`;

-/***/ "q9zb":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  const onChangeValue = (
+  /** @type {import('react').ChangeEvent<HTMLInputElement>} */
+  event) => onChange(event.target.value);

-"use strict";
-/* harmony import */ var _emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("DZdY");
+  return (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    label: label,
+    hideLabelFromVision: hideLabelFromVision,
+    id: id,
+    help: help,
+    className: className
+  }, (0,external_wp_element_namespaceObject.createElement)("input", extends_extends({
+    className: "components-text-control__input",
+    type: type,
+    id: id,
+    value: value,
+    onChange: onChangeValue,
+    "aria-describedby": !!help ? id + '__help' : undefined,
+    ref: ref
+  }, props)));
+}

+/* harmony default export */ var text_control = ((0,external_wp_element_namespaceObject.forwardRef)(TextControl));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/input/base.js
 /**
  * External dependencies
  */

 /**
- * `View` is a core component that renders everything in the library.
- * It is the principle component in the entire library.
- *
- * @example
- * ```jsx
- * import { View } from `@wordpress/components`;
- *
- * function Example() {
- * 	return (
- * 		<View>
- * 			 Code is Poetry
- * 		</View>
- * 	);
- * }
- * ```
- *
- * @type {import('../ui/context').WordPressComponent<'div', { children?: import('react').ReactNode }, true>}
+ * Internal dependencies
  */
-// @ts-ignore
-const View = Object(_emotion_styled_base__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])("div",  true ? {
-  target: "em57xhy0"
-} : undefined)( true ? "" : undefined);

-View.selector = '.components-view';
-View.displayName = 'View';
-/* harmony default export */ __webpack_exports__["a"] = (View);


-/***/ }),

-/***/ "qGip":
-/***/ (function(module, exports, __webpack_require__) {
+const inputStyleNeutral = /*#__PURE__*/emotion_react_browser_esm_css("box-shadow:0 0 0 transparent;transition:box-shadow 0.1s linear;border-radius:", config_values.radiusBlockUi, ";border:", config_values.borderWidth, " solid ", COLORS.ui.border, ";" + ( true ? "" : 0),  true ? "" : 0);
+const inputStyleFocus = /*#__PURE__*/emotion_react_browser_esm_css("border-color:var( --wp-admin-theme-color );box-shadow:0 0 0 calc( ", config_values.borderWidthFocus, " - ", config_values.borderWidth, " ) var( --wp-admin-theme-color );outline:2px solid transparent;" + ( true ? "" : 0),  true ? "" : 0);

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/breakpoint-values.js
+/* harmony default export */ var breakpoint_values = ({
+  huge: '1440px',
+  wide: '1280px',
+  'x-large': '1080px',
+  large: '960px',
+  // admin sidebar auto folds
+  medium: '782px',
+  // adminbar goes big
+  small: '600px',
+  mobile: '480px',
+  'zoomed-in': '280px'
+});

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/breakpoint.js
+/**
+ * Internal dependencies
+ */

-/* eslint complexity: [2, 18], max-statements: [2, 33] */
-module.exports = function hasSymbols() {
-	if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
-	if (typeof Symbol.iterator === 'symbol') { return true; }
+/**
+ * @param {keyof breakpoints} point
+ * @return {string} Media query declaration.
+ */

-	var obj = {};
-	var sym = Symbol('test');
-	var symObj = Object(sym);
-	if (typeof sym === 'string') { return false; }
+const breakpoint = point => `@media (min-width: ${breakpoint_values[point]})`;

-	if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
-	if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/utils/input/input-control.js
+/**
+ * External dependencies
+ */

-	// temp disabled per https://github.com/ljharb/object.assign/issues/17
-	// if (sym instanceof Symbol) { return false; }
-	// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
-	// if (!(symObj instanceof Symbol)) { return false; }
+/**
+ * Internal dependencies
+ */

-	// if (typeof Symbol.prototype.toString !== 'function') { return false; }
-	// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }

-	var symVal = 42;
-	obj[sym] = symVal;
-	for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
-	if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }

-	if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }

-	var syms = Object.getOwnPropertySymbols(obj);
-	if (syms.length !== 1 || syms[0] !== sym) { return false; }

-	if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
+const inputControl = /*#__PURE__*/emotion_react_browser_esm_css("font-family:", font('default.fontFamily'), ";padding:6px 8px;", inputStyleNeutral, ";font-size:", font('mobileTextMinFontSize'), ";line-height:normal;", breakpoint('small'), "{font-size:", font('default.fontSize'), ";line-height:normal;}&:focus{", inputStyleFocus, ";}&::-webkit-input-placeholder{color:", COLORS.darkGray.placeholder, ";}&::-moz-placeholder{opacity:1;color:", COLORS.darkGray.placeholder, ";}&:-ms-input-placeholder{color:", COLORS.darkGray.placeholder, ";}.is-dark-theme &{&::-webkit-input-placeholder{color:", COLORS.lightGray.placeholder, ";}&::-moz-placeholder{opacity:1;color:", COLORS.lightGray.placeholder, ";}&:-ms-input-placeholder{color:", COLORS.lightGray.placeholder, ";}}" + ( true ? "" : 0),  true ? "" : 0);

-	if (typeof Object.getOwnPropertyDescriptor === 'function') {
-		var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
-		if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
-	}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/textarea-control/styles/textarea-control-styles.js

-	return true;
-};

+/**
+ * External dependencies
+ */

-/***/ }),
+/**
+ * Internal dependencies
+ */

-/***/ "qOxZ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+const StyledTextarea = emotion_styled_base_browser_esm("textarea",  true ? {
+  target: "ebk7yr50"
+} : 0)("width:100%;", inputControl, ";" + ( true ? "" : 0));

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return fireEvent; });
-/* harmony import */ var _createEvent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("khzz");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/textarea-control/index.js



 /**
- * Creates and dispatches `Event` in a way that also works on IE 11.
- *
- * @example
- * import { fireEvent } from "reakit-utils";
- *
- * fireEvent(document.getElementById("id"), "blur", {
- *   bubbles: true,
- *   cancelable: true,
- * });
+ * WordPress dependencies
  */

-function fireEvent(element, type, eventInit) {
-  return element.dispatchEvent(Object(_createEvent_js__WEBPACK_IMPORTED_MODULE_0__[/* createEvent */ "a"])(element, type, eventInit));
-}
-
+/**
+ * Internal dependencies
+ */



-/***/ }),
+function TextareaControl(_ref) {
+  let {
+    label,
+    hideLabelFromVision,
+    value,
+    help,
+    onChange,
+    rows = 4,
+    className,
+    ...props
+  } = _ref;
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(TextareaControl);
+  const id = `inspector-textarea-control-${instanceId}`;

-/***/ "qRz9":
-/***/ (function(module, exports) {
+  const onChangeValue = event => onChange(event.target.value);

-(function() { module.exports = window["wp"]["richText"]; }());
+  return (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    label: label,
+    hideLabelFromVision: hideLabelFromVision,
+    id: id,
+    help: help,
+    className: className
+  }, (0,external_wp_element_namespaceObject.createElement)(StyledTextarea, extends_extends({
+    className: "components-textarea-control__input",
+    id: id,
+    rows: rows,
+    onChange: onChangeValue,
+    "aria-describedby": !!help ? id + '__help' : undefined,
+    value: value
+  }, props)));
+}

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/text-highlight/index.js

-/***/ "qT12":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
-/** @license React v16.13.1
- * react-is.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+/**
+ * External dependencies
  */

-var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
-Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
-function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;
-exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};
-exports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};
-exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;
+/**
+ * WordPress dependencies
+ */


-/***/ }),

-/***/ "qdes":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+const TextHighlight = _ref => {
+  let {
+    text = '',
+    highlight = ''
+  } = _ref;
+  const trimmedHighlightText = highlight.trim();

-"use strict";
+  if (!trimmedHighlightText) {
+    return text;
+  }

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ createHook; });
+  const regex = new RegExp(`(${(0,external_lodash_namespaceObject.escapeRegExp)(trimmedHighlightText)})`, 'gi');
+  return (0,external_wp_element_namespaceObject.createInterpolateElement)(text.replace(regex, '<mark>$&</mark>'), {
+    mark: (0,external_wp_element_namespaceObject.createElement)("mark", null)
+  });
+};

-// EXTERNAL MODULE: external "React"
-var external_React_ = __webpack_require__("cDcd");
+/* harmony default export */ var text_highlight = (TextHighlight);

-// EXTERNAL MODULE: ./node_modules/reakit-system/es/SystemContext.js
-var SystemContext = __webpack_require__("eUCI");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tip/index.js

-// CONCATENATED MODULE: ./node_modules/reakit-system/es/useToken.js

+/**
+ * WordPress dependencies
+ */

+/**
+ * @typedef Props
+ * @property {import('react').ReactNode} children Children to render in the tip.
+ */

 /**
- * React custom hook that returns the value of any token defined in the
- * SystemContext. It's mainly used internally in [`useOptions`](#useoptions)
- * and [`useProps`](#useprops).
- *
- * @example
- * import { SystemProvider, useToken } from "reakit-system";
- *
- * const system = {
- *   token: "value",
- * };
- *
- * function Component(props) {
- *   const token = useToken("token", "default value");
- *   return <div {...props}>{token}</div>;
- * }
- *
- * function App() {
- *   return (
- *     <SystemProvider unstable_system={system}>
- *       <Component />
- *     </SystemProvider>
- *   );
- * }
+ * @param {Props} props
+ * @return {JSX.Element} Element
  */

-function useToken(token, defaultValue) {
-  Object(external_React_["useDebugValue"])(token);
-  var context = Object(external_React_["useContext"])(SystemContext["a" /* SystemContext */]);
-  return context[token] != null ? context[token] : defaultValue;
+function Tip(props) {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-tip"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+    width: "24",
+    height: "24",
+    viewBox: "0 0 24 24"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+    d: "M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"
+  })), (0,external_wp_element_namespaceObject.createElement)("p", null, props.children));
 }

+/* harmony default export */ var tip = (Tip);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toggle-control/index.js


-// CONCATENATED MODULE: ./node_modules/reakit-system/es/useProps.js
+/**
+ * External dependencies
+ */


+/**
+ * WordPress dependencies
+ */


 /**
- * React custom hook that returns the props returned by a given
- * `use${name}Props` in the SystemContext.
- *
- * @example
- * import { SystemProvider, useProps } from "reakit-system";
- *
- * const system = {
- *   useAProps(options, htmlProps) {
- *     return {
- *       ...htmlProps,
- *       href: options.url,
- *     };
- *   },
- * };
- *
- * function A({ url, ...htmlProps }) {
- *   const props = useProps("A", { url }, htmlProps);
- *   return <a {...props} />;
- * }
- *
- * function App() {
- *   return (
- *     <SystemProvider unstable_system={system}>
- *       <A url="url">It will convert url into href in useAProps</A>
- *     </SystemProvider>
- *   );
- * }
+ * Internal dependencies
  */

-function useProps(name, options, htmlProps) {
-  if (options === void 0) {
-    options = {};
+
+
+function ToggleControl(_ref) {
+  let {
+    label,
+    checked,
+    help,
+    className,
+    onChange,
+    disabled
+  } = _ref;
+
+  function onChangeToggle(event) {
+    onChange(event.target.checked);
   }

-  if (htmlProps === void 0) {
-    htmlProps = {};
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ToggleControl);
+  const id = `inspector-toggle-control-${instanceId}`;
+  let describedBy, helpLabel;
+
+  if (help) {
+    describedBy = id + '__help';
+    helpLabel = (0,external_lodash_namespaceObject.isFunction)(help) ? help(checked) : help;
   }

-  var hookName = "use" + name + "Props";
-  Object(external_React_["useDebugValue"])(hookName);
-  var useHook = useToken(hookName);
+  return (0,external_wp_element_namespaceObject.createElement)(base_control, {
+    id: id,
+    help: helpLabel,
+    className: classnames_default()('components-toggle-control', className)
+  }, (0,external_wp_element_namespaceObject.createElement)(form_toggle, {
+    id: id,
+    checked: checked,
+    onChange: onChangeToggle,
+    "aria-describedby": describedBy,
+    disabled: disabled
+  }), (0,external_wp_element_namespaceObject.createElement)("label", {
+    htmlFor: id,
+    className: "components-toggle-control__label"
+  }, label));
+}
+
+;// CONCATENATED MODULE: ./node_modules/reakit/es/__keys-ae468c11.js
+// Automatically generated
+var TOOLBAR_STATE_KEYS = ["baseId", "unstable_idCountRef", "unstable_virtual", "rtl", "orientation", "items", "groups", "currentId", "loop", "wrap", "shift", "unstable_moves", "unstable_hasActiveWidget", "unstable_includesBaseElement", "setBaseId", "registerItem", "unregisterItem", "registerGroup", "unregisterGroup", "move", "next", "previous", "up", "down", "first", "last", "sort", "unstable_setVirtual", "setRTL", "setOrientation", "setCurrentId", "setLoop", "setWrap", "setShift", "reset", "unstable_setIncludesBaseElement", "unstable_setHasActiveWidget"];
+var TOOLBAR_KEYS = TOOLBAR_STATE_KEYS;
+var TOOLBAR_ITEM_KEYS = TOOLBAR_KEYS;
+var TOOLBAR_SEPARATOR_KEYS = (/* unused pure expression or super */ null && (TOOLBAR_ITEM_KEYS));
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/ToolbarItem.js
+
+
+
+
+
+

-  if (useHook) {
-    return useHook(options, htmlProps);
-  }

-  return htmlProps;
-}



-// EXTERNAL MODULE: ./node_modules/reakit-system/es/_rollupPluginBabelHelpers-0c84a174.js
-var _rollupPluginBabelHelpers_0c84a174 = __webpack_require__("RDTF");

-// CONCATENATED MODULE: ./node_modules/reakit-system/es/useOptions.js





-/**
- * React custom hook that returns the options returned by a given
- * `use${name}Options` in the SystemContext.
- *
- * @example
- * import React from "react";
- * import { SystemProvider, useOptions } from "reakit-system";
- *
- * const system = {
- *   useAOptions(options, htmlProps) {
- *     return {
- *       ...options,
- *       url: htmlProps.href,
- *     };
- *   },
- * };
- *
- * function A({ url, ...htmlProps }) {
- *   const options = useOptions("A", { url }, htmlProps);
- *   return <a href={options.url} {...htmlProps} />;
- * }
- *
- * function App() {
- *   return (
- *     <SystemProvider unstable_system={system}>
- *       <A href="url">
- *         It will convert href into url in useAOptions and then url into href in A
- *       </A>
- *     </SystemProvider>
- *   );
- * }
- */

-function useOptions(name, options, htmlProps) {
-  if (options === void 0) {
-    options = {};
-  }

-  if (htmlProps === void 0) {
-    htmlProps = {};
-  }

-  var hookName = "use" + name + "Options";
-  Object(external_React_["useDebugValue"])(hookName);
-  var useHook = useToken(hookName);

-  if (useHook) {
-    return Object(_rollupPluginBabelHelpers_0c84a174["a" /* _ */])(Object(_rollupPluginBabelHelpers_0c84a174["a" /* _ */])({}, options), useHook(options, htmlProps));
-  }

-  return options;
-}



-// EXTERNAL MODULE: ./node_modules/reakit-utils/es/shallowEqual.js
-var shallowEqual = __webpack_require__("uqqE");

-// CONCATENATED MODULE: ./node_modules/reakit-utils/es/toArray.js
-/**
- * Transforms `arg` into an array if it's not already.
- *
- * @example
- * import { toArray } from "reakit-utils";
- *
- * toArray("a"); // ["a"]
- * toArray(["a"]); // ["a"]
- */
-function toArray(arg) {
-  if (Array.isArray(arg)) {
-    return arg;
-  }

-  return typeof arg !== "undefined" ? [arg] : [];
-}



-// CONCATENATED MODULE: ./node_modules/reakit-system/es/createHook.js

+var useToolbarItem = createHook({
+  name: "ToolbarItem",
+  compose: useCompositeItem,
+  keys: TOOLBAR_ITEM_KEYS
+});
+var ToolbarItem = createComponent({
+  as: "button",
+  memo: true,
+  useHook: useToolbarItem
+});



+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-context/index.js
+/**
+ * WordPress dependencies
+ */

+const ToolbarContext = (0,external_wp_element_namespaceObject.createContext)();
+/* harmony default export */ var toolbar_context = (ToolbarContext);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-item/index.js



 /**
- * Creates a React custom hook that will return component props.
- *
- * @example
- * import { createHook } from "reakit-system";
- *
- * const useA = createHook({
- *   name: "A",
- *   keys: ["url"], // custom props/options keys
- *   useProps(options, htmlProps) {
- *     return {
- *       ...htmlProps,
- *       href: options.url,
- *     };
- *   },
- * });
- *
- * function A({ url, ...htmlProps }) {
- *   const props = useA({ url }, htmlProps);
- *   return <a {...props} />;
- * }
- *
- * @param options
+ * External dependencies
  */
-function createHook(options) {
-  var _options$useState, _composedHooks$;

-  var composedHooks = toArray(options.compose);
+/**
+ * WordPress dependencies
+ */

-  var __useOptions = function __useOptions(hookOptions, htmlProps) {
-    // Call the current hook's useOptions first
-    if (options.useOptions) {
-      hookOptions = options.useOptions(hookOptions, htmlProps);
-    } // If there's name, call useOptions from the system context


-    if (options.name) {
-      hookOptions = useOptions(options.name, hookOptions, htmlProps);
-    } // Run composed hooks useOptions
+/**
+ * Internal dependencies
+ */


-    if (options.compose) {
-      for (var _iterator = Object(_rollupPluginBabelHelpers_0c84a174["c" /* b */])(composedHooks), _step; !(_step = _iterator()).done;) {
-        var hook = _step.value;
-        hookOptions = hook.__useOptions(hookOptions, htmlProps);
-      }
-    }

-    return hookOptions;
+function toolbar_item_ToolbarItem(_ref, ref) {
+  let {
+    children,
+    as: Component,
+    ...props
+  } = _ref;
+  const accessibleToolbarState = (0,external_wp_element_namespaceObject.useContext)(toolbar_context);
+
+  if (typeof children !== 'function' && !Component) {
+    typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0;
+    return null;
+  }
+
+  const allProps = { ...props,
+    ref,
+    'data-toolbar-item': true
   };

-  var useHook = function useHook(hookOptions, htmlProps, unstable_ignoreUseOptions) {
-    if (hookOptions === void 0) {
-      hookOptions = {};
+  if (!accessibleToolbarState) {
+    if (Component) {
+      return (0,external_wp_element_namespaceObject.createElement)(Component, allProps, children);
     }

-    if (htmlProps === void 0) {
-      htmlProps = {};
-    }
+    return children(allProps);
+  }

-    if (unstable_ignoreUseOptions === void 0) {
-      unstable_ignoreUseOptions = false;
-    }
+  return (0,external_wp_element_namespaceObject.createElement)(ToolbarItem, extends_extends({}, accessibleToolbarState, allProps, {
+    as: Component
+  }), children);
+}

-    // This won't execute when useHook was called from within another useHook
-    if (!unstable_ignoreUseOptions) {
-      hookOptions = __useOptions(hookOptions, htmlProps);
-    } // Call the current hook's useProps
+/* harmony default export */ var toolbar_item = ((0,external_wp_element_namespaceObject.forwardRef)(toolbar_item_ToolbarItem));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-button/toolbar-button-container.js

-    if (options.useProps) {
-      htmlProps = options.useProps(hookOptions, htmlProps);
-    } // If there's name, call useProps from the system context

+const ToolbarButtonContainer = props => (0,external_wp_element_namespaceObject.createElement)("div", {
+  className: props.className
+}, props.children);

-    if (options.name) {
-      htmlProps = useProps(options.name, hookOptions, htmlProps);
-    }
+/* harmony default export */ var toolbar_button_container = (ToolbarButtonContainer);

-    if (options.compose) {
-      if (options.useComposeOptions) {
-        hookOptions = options.useComposeOptions(hookOptions, htmlProps);
-      }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-button/index.js

-      if (options.useComposeProps) {
-        htmlProps = options.useComposeProps(hookOptions, htmlProps);
-      } else {
-        for (var _iterator2 = Object(_rollupPluginBabelHelpers_0c84a174["c" /* b */])(composedHooks), _step2; !(_step2 = _iterator2()).done;) {
-          var hook = _step2.value;
-          htmlProps = hook(hookOptions, htmlProps, true);
-        }
-      }
-    } // Remove undefined values from htmlProps


-    var finalHTMLProps = {};
-    var definedHTMLProps = htmlProps || {};
+/**
+ * External dependencies
+ */

-    for (var prop in definedHTMLProps) {
-      if (definedHTMLProps[prop] !== undefined) {
-        finalHTMLProps[prop] = definedHTMLProps[prop];
-      }
-    }
+/**
+ * WordPress dependencies
+ */

-    return finalHTMLProps;
-  };

-  useHook.__useOptions = __useOptions;
-  var composedKeys = composedHooks.reduce(function (keys, hook) {
-    keys.push.apply(keys, hook.__keys || []);
-    return keys;
-  }, []); // It's used by createComponent to split option props (keys) and html props
+/**
+ * Internal dependencies
+ */

-  useHook.__keys = [].concat(composedKeys, ((_options$useState = options.useState) === null || _options$useState === void 0 ? void 0 : _options$useState.__keys) || [], options.keys || []);
-  useHook.unstable_propsAreEqual = options.propsAreEqual || ((_composedHooks$ = composedHooks[0]) === null || _composedHooks$ === void 0 ? void 0 : _composedHooks$.unstable_propsAreEqual) || shallowEqual["a" /* shallowEqual */];

-  if (false) {}

-  return useHook;
-}



+function ToolbarButton(_ref, ref) {
+  let {
+    containerClassName,
+    className,
+    extraProps,
+    children,
+    title,
+    isActive,
+    isDisabled,
+    ...props
+  } = _ref;
+  const accessibleToolbarState = (0,external_wp_element_namespaceObject.useContext)(toolbar_context);

-/***/ }),
+  if (!accessibleToolbarState) {
+    return (0,external_wp_element_namespaceObject.createElement)(toolbar_button_container, {
+      className: containerClassName
+    }, (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+      ref: ref,
+      icon: props.icon,
+      label: title,
+      shortcut: props.shortcut,
+      "data-subscript": props.subscript,
+      onClick: event => {
+        event.stopPropagation();

-/***/ "qeuH":
-/***/ (function(module, exports, __webpack_require__) {
+        if (props.onClick) {
+          props.onClick(event);
+        }
+      },
+      className: classnames_default()('components-toolbar__control', className),
+      isPressed: isActive,
+      disabled: isDisabled,
+      "data-toolbar-item": true
+    }, extraProps, props), children));
+  } // ToobarItem will pass all props to the render prop child, which will pass
+  // all props to Button. This means that ToolbarButton has the same API as
+  // Button.

-"use strict";

+  return (0,external_wp_element_namespaceObject.createElement)(toolbar_item, extends_extends({
+    className: classnames_default()('components-toolbar-button', className)
+  }, extraProps, props, {
+    ref: ref
+  }), toolbarItemProps => (0,external_wp_element_namespaceObject.createElement)(build_module_button, extends_extends({
+    label: title,
+    isPressed: isActive,
+    disabled: isDisabled
+  }, toolbarItemProps), children));
+}
+
+/* harmony default export */ var toolbar_button = ((0,external_wp_element_namespaceObject.forwardRef)(ToolbarButton));

-var GetIntrinsic = __webpack_require__("AM7I");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/toolbar-group-container.js

-var callBind = __webpack_require__("SLit");

-var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));

-module.exports = function callBoundIntrinsic(name, allowMissing) {
-	var intrinsic = GetIntrinsic(name, !!allowMissing);
-	if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
-		return callBind(intrinsic);
-	}
-	return intrinsic;
+const ToolbarGroupContainer = _ref => {
+  let {
+    className,
+    children,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", extends_extends({
+    className: className
+  }, props), children);
 };

+/* harmony default export */ var toolbar_group_container = (ToolbarGroupContainer);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/toolbar-group-collapsed.js

-/***/ "rQBh":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";

+/**
+ * WordPress dependencies
+ */

-var assertRecord = __webpack_require__("10Kj");
+/**
+ * Internal dependencies
+ */

-var Type = __webpack_require__("PoQ0");

-// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor

-module.exports = function FromPropertyDescriptor(Desc) {
-	if (typeof Desc === 'undefined') {
-		return Desc;
-	}

-	assertRecord(Type, 'Property Descriptor', 'Desc', Desc);

-	var obj = {};
-	if ('[[Value]]' in Desc) {
-		obj.value = Desc['[[Value]]'];
-	}
-	if ('[[Writable]]' in Desc) {
-		obj.writable = Desc['[[Writable]]'];
-	}
-	if ('[[Get]]' in Desc) {
-		obj.get = Desc['[[Get]]'];
-	}
-	if ('[[Set]]' in Desc) {
-		obj.set = Desc['[[Set]]'];
-	}
-	if ('[[Enumerable]]' in Desc) {
-		obj.enumerable = Desc['[[Enumerable]]'];
-	}
-	if ('[[Configurable]]' in Desc) {
-		obj.configurable = Desc['[[Configurable]]'];
-	}
-	return obj;
-};
+function ToolbarGroupCollapsed(_ref) {
+  let {
+    controls = [],
+    toggleProps,
+    ...props
+  } = _ref;
+  // It'll contain state if `ToolbarGroup` is being used within
+  // `<Toolbar label="label" />`
+  const accessibleToolbarState = (0,external_wp_element_namespaceObject.useContext)(toolbar_context);

+  const renderDropdownMenu = internalToggleProps => (0,external_wp_element_namespaceObject.createElement)(dropdown_menu, extends_extends({
+    controls: controls,
+    toggleProps: { ...internalToggleProps,
+      'data-toolbar-item': true
+    }
+  }, props));

-/***/ }),
+  if (accessibleToolbarState) {
+    return (0,external_wp_element_namespaceObject.createElement)(toolbar_item, toggleProps, renderDropdownMenu);
+  }

-/***/ "rQy3":
-/***/ (function(module, exports, __webpack_require__) {
+  return renderDropdownMenu(toggleProps);
+}

-"use strict";
+/* harmony default export */ var toolbar_group_collapsed = (ToolbarGroupCollapsed);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-group/index.js

-var has = __webpack_require__("oNNP");
-var RequireObjectCoercible = __webpack_require__("25kQ");
-var callBound = __webpack_require__("VF6F");

-var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');

-module.exports = function values(O) {
-	var obj = RequireObjectCoercible(O);
-	var vals = [];
-	for (var key in obj) {
-		if (has(obj, key) && $isEnumerable(obj, key)) {
-			vals.push(obj[key]);
-		}
-	}
-	return vals;
-};
+/**
+ * External dependencies
+ */


-/***/ }),
+/**
+ * WordPress dependencies
+ */

-/***/ "reMF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isUA; });
-/* harmony import */ var _canUseDOM_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("+ipW");
+/**
+ * Internal dependencies
+ */
+




 /**
- * Checks if a given string exists in the user agent string.
+ * Renders a collapsible group of controls
+ *
+ * The `controls` prop accepts an array of sets. A set is an array of controls.
+ * Controls have the following shape:
+ *
+ * ```
+ * {
+ *   icon: string,
+ *   title: string,
+ *   subscript: string,
+ *   onClick: Function,
+ *   isActive: boolean,
+ *   isDisabled: boolean
+ * }
+ * ```
+ *
+ * For convenience it is also possible to pass only an array of controls. It is
+ * then assumed this is the only set.
+ *
+ * Either `controls` or `children` is required, otherwise this components
+ * renders nothing.
+ *
+ * @param {Object}    props               Component props.
+ * @param {Array}     [props.controls]    The controls to render in this toolbar.
+ * @param {WPElement} [props.children]    Any other things to render inside the toolbar besides the controls.
+ * @param {string}    [props.className]   Class to set on the container div.
+ * @param {boolean}   [props.isCollapsed] Turns ToolbarGroup into a dropdown menu.
+ * @param {string}    [props.title]       ARIA label for dropdown menu if is collapsed.
  */

-function isUA(string) {
-  if (!_canUseDOM_js__WEBPACK_IMPORTED_MODULE_0__[/* canUseDOM */ "a"]) return false;
-  return window.navigator.userAgent.indexOf(string) !== -1;
+function ToolbarGroup(_ref) {
+  let {
+    controls = [],
+    children,
+    className,
+    isCollapsed,
+    title,
+    ...props
+  } = _ref;
+  // It'll contain state if `ToolbarGroup` is being used within
+  // `<Toolbar label="label" />`
+  const accessibleToolbarState = (0,external_wp_element_namespaceObject.useContext)(toolbar_context);
+
+  if ((!controls || !controls.length) && !children) {
+    return null;
+  }
+
+  const finalClassName = classnames_default()( // Unfortunately, there's legacy code referencing to `.components-toolbar`
+  // So we can't get rid of it
+  accessibleToolbarState ? 'components-toolbar-group' : 'components-toolbar', className); // Normalize controls to nested array of objects (sets of controls)
+
+  let controlSets = controls;
+
+  if (!Array.isArray(controlSets[0])) {
+    controlSets = [controlSets];
+  }
+
+  if (isCollapsed) {
+    return (0,external_wp_element_namespaceObject.createElement)(toolbar_group_collapsed, extends_extends({
+      label: title,
+      controls: controlSets,
+      className: finalClassName,
+      children: children
+    }, props));
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(toolbar_group_container, extends_extends({
+    className: finalClassName
+  }, props), (0,external_lodash_namespaceObject.flatMap)(controlSets, (controlSet, indexOfSet) => controlSet.map((control, indexOfControl) => (0,external_wp_element_namespaceObject.createElement)(toolbar_button, extends_extends({
+    key: [indexOfSet, indexOfControl].join(),
+    containerClassName: indexOfSet > 0 && indexOfControl === 0 ? 'has-left-divider' : null
+  }, control)))), children);
 }

+/* harmony default export */ var toolbar_group = (ToolbarGroup);

+;// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/ToolbarState.js


-/***/ }),

-/***/ "rl8x":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["isShallowEqual"]; }());

-/***/ }),

-/***/ "sDMB":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});

-var _propTypes = __webpack_require__("17x9");

-var _propTypes2 = _interopRequireDefault(_propTypes);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-exports['default'] = _propTypes2['default'].shape({
-  getState: _propTypes2['default'].func,
-  setState: _propTypes2['default'].func,
-  subscribe: _propTypes2['default'].func
-});
+function useToolbarState(initialState) {
+  if (initialState === void 0) {
+    initialState = {};
+  }
+
+  var _useSealedState = useSealedState(initialState),
+      _useSealedState$orien = _useSealedState.orientation,
+      orientation = _useSealedState$orien === void 0 ? "horizontal" : _useSealedState$orien,
+      sealed = _rollupPluginBabelHelpers_1f0bf8c2_objectWithoutPropertiesLoose(_useSealedState, ["orientation"]);
+
+  return useCompositeState(_objectSpread2({
+    orientation: orientation
+  }, sealed));
+}
+
+
+
+;// CONCATENATED MODULE: ./node_modules/reakit/es/Toolbar/Toolbar.js
+
+
+
+

-/***/ }),

-/***/ "sEfC":
-/***/ (function(module, exports, __webpack_require__) {

-var isObject = __webpack_require__("GoyQ"),
-    now = __webpack_require__("QIyF"),
-    toNumber = __webpack_require__("tLB3");

-/** Error message constants. */
-var FUNC_ERROR_TEXT = 'Expected a function';

-/* Built-in method references for those with the same name as other `lodash` methods. */
-var nativeMax = Math.max,
-    nativeMin = Math.min;

-/**
- * Creates a debounced function that delays invoking `func` until after `wait`
- * milliseconds have elapsed since the last time the debounced function was
- * invoked. The debounced function comes with a `cancel` method to cancel
- * delayed `func` invocations and a `flush` method to immediately invoke them.
- * Provide `options` to indicate whether `func` should be invoked on the
- * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
- * with the last arguments provided to the debounced function. Subsequent
- * calls to the debounced function return the result of the last `func`
- * invocation.
- *
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
- * invoked on the trailing edge of the timeout only if the debounced function
- * is invoked more than once during the `wait` timeout.
- *
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
- *
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
- * for details over the differences between `_.debounce` and `_.throttle`.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Function
- * @param {Function} func The function to debounce.
- * @param {number} [wait=0] The number of milliseconds to delay.
- * @param {Object} [options={}] The options object.
- * @param {boolean} [options.leading=false]
- *  Specify invoking on the leading edge of the timeout.
- * @param {number} [options.maxWait]
- *  The maximum time `func` is allowed to be delayed before it's invoked.
- * @param {boolean} [options.trailing=true]
- *  Specify invoking on the trailing edge of the timeout.
- * @returns {Function} Returns the new debounced function.
- * @example
- *
- * // Avoid costly calculations while the window size is in flux.
- * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
- *
- * // Invoke `sendMail` when clicked, debouncing subsequent calls.
- * jQuery(element).on('click', _.debounce(sendMail, 300, {
- *   'leading': true,
- *   'trailing': false
- * }));
- *
- * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
- * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
- * var source = new EventSource('/stream');
- * jQuery(source).on('message', debounced);
- *
- * // Cancel the trailing debounced invocation.
- * jQuery(window).on('popstate', debounced.cancel);
- */
-function debounce(func, wait, options) {
-  var lastArgs,
-      lastThis,
-      maxWait,
-      result,
-      timerId,
-      lastCallTime,
-      lastInvokeTime = 0,
-      leading = false,
-      maxing = false,
-      trailing = true;

-  if (typeof func != 'function') {
-    throw new TypeError(FUNC_ERROR_TEXT);
-  }
-  wait = toNumber(wait) || 0;
-  if (isObject(options)) {
-    leading = !!options.leading;
-    maxing = 'maxWait' in options;
-    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
-    trailing = 'trailing' in options ? !!options.trailing : trailing;
-  }

-  function invokeFunc(time) {
-    var args = lastArgs,
-        thisArg = lastThis;

-    lastArgs = lastThis = undefined;
-    lastInvokeTime = time;
-    result = func.apply(thisArg, args);
-    return result;
-  }

-  function leadingEdge(time) {
-    // Reset any `maxWait` timer.
-    lastInvokeTime = time;
-    // Start the timer for the trailing edge.
-    timerId = setTimeout(timerExpired, wait);
-    // Invoke the leading edge.
-    return leading ? invokeFunc(time) : result;
-  }

-  function remainingWait(time) {
-    var timeSinceLastCall = time - lastCallTime,
-        timeSinceLastInvoke = time - lastInvokeTime,
-        timeWaiting = wait - timeSinceLastCall;

-    return maxing
-      ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
-      : timeWaiting;
-  }

-  function shouldInvoke(time) {
-    var timeSinceLastCall = time - lastCallTime,
-        timeSinceLastInvoke = time - lastInvokeTime;

-    // Either this is the first call, activity has stopped and we're at the
-    // trailing edge, the system time has gone backwards and we're treating
-    // it as the trailing edge, or we've hit the `maxWait` limit.
-    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
-      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
-  }

-  function timerExpired() {
-    var time = now();
-    if (shouldInvoke(time)) {
-      return trailingEdge(time);
-    }
-    // Restart the timer.
-    timerId = setTimeout(timerExpired, remainingWait(time));
-  }

-  function trailingEdge(time) {
-    timerId = undefined;

-    // Only invoke if we have `lastArgs` which means `func` has been
-    // debounced at least once.
-    if (trailing && lastArgs) {
-      return invokeFunc(time);
-    }
-    lastArgs = lastThis = undefined;
-    return result;
-  }

-  function cancel() {
-    if (timerId !== undefined) {
-      clearTimeout(timerId);
-    }
-    lastInvokeTime = 0;
-    lastArgs = lastCallTime = lastThis = timerId = undefined;
-  }

-  function flush() {
-    return timerId === undefined ? result : trailingEdge(now());
-  }

-  function debounced() {
-    var time = now(),
-        isInvoking = shouldInvoke(time);

-    lastArgs = arguments;
-    lastThis = this;
-    lastCallTime = time;

-    if (isInvoking) {
-      if (timerId === undefined) {
-        return leadingEdge(lastCallTime);
-      }
-      if (maxing) {
-        // Handle invocations in a tight loop.
-        clearTimeout(timerId);
-        timerId = setTimeout(timerExpired, wait);
-        return invokeFunc(lastCallTime);
-      }
-    }
-    if (timerId === undefined) {
-      timerId = setTimeout(timerExpired, wait);
-    }
-    return result;
+
+
+
+
+
+var useToolbar = createHook({
+  name: "Toolbar",
+  compose: useComposite,
+  keys: TOOLBAR_KEYS,
+  useProps: function useProps(options, htmlProps) {
+    return _objectSpread2({
+      role: "toolbar",
+      "aria-orientation": options.orientation
+    }, htmlProps);
   }
-  debounced.cancel = cancel;
-  debounced.flush = flush;
-  return debounced;
-}
+});
+var Toolbar = createComponent({
+  as: "div",
+  useHook: useToolbar,
+  useCreateElement: function useCreateElement$1(type, props, children) {
+     false ? 0 : void 0;
+    return useCreateElement(type, props, children);
+  }
+});

-module.exports = debounce;


-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar/toolbar-container.js

-/***/ "sYn3":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";

+/**
+ * External dependencies
+ */

-var keysShim;
-if (!Object.keys) {
-	// modified from https://github.com/es-shims/es5-shim
-	var has = Object.prototype.hasOwnProperty;
-	var toStr = Object.prototype.toString;
-	var isArgs = __webpack_require__("1KsK"); // eslint-disable-line global-require
-	var isEnumerable = Object.prototype.propertyIsEnumerable;
-	var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
-	var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');
-	var dontEnums = [
-		'toString',
-		'toLocaleString',
-		'valueOf',
-		'hasOwnProperty',
-		'isPrototypeOf',
-		'propertyIsEnumerable',
-		'constructor'
-	];
-	var equalsConstructorPrototype = function (o) {
-		var ctor = o.constructor;
-		return ctor && ctor.prototype === o;
-	};
-	var excludedKeys = {
-		$applicationCache: true,
-		$console: true,
-		$external: true,
-		$frame: true,
-		$frameElement: true,
-		$frames: true,
-		$innerHeight: true,
-		$innerWidth: true,
-		$onmozfullscreenchange: true,
-		$onmozfullscreenerror: true,
-		$outerHeight: true,
-		$outerWidth: true,
-		$pageXOffset: true,
-		$pageYOffset: true,
-		$parent: true,
-		$scrollLeft: true,
-		$scrollTop: true,
-		$scrollX: true,
-		$scrollY: true,
-		$self: true,
-		$webkitIndexedDB: true,
-		$webkitStorageInfo: true,
-		$window: true
-	};
-	var hasAutomationEqualityBug = (function () {
-		/* global window */
-		if (typeof window === 'undefined') { return false; }
-		for (var k in window) {
-			try {
-				if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
-					try {
-						equalsConstructorPrototype(window[k]);
-					} catch (e) {
-						return true;
-					}
-				}
-			} catch (e) {
-				return true;
-			}
-		}
-		return false;
-	}());
-	var equalsConstructorPrototypeIfNotBuggy = function (o) {
-		/* global window */
-		if (typeof window === 'undefined' || !hasAutomationEqualityBug) {
-			return equalsConstructorPrototype(o);
-		}
-		try {
-			return equalsConstructorPrototype(o);
-		} catch (e) {
-			return false;
-		}
-	};
+/**
+ * WordPress dependencies
+ */

-	keysShim = function keys(object) {
-		var isObject = object !== null && typeof object === 'object';
-		var isFunction = toStr.call(object) === '[object Function]';
-		var isArguments = isArgs(object);
-		var isString = isObject && toStr.call(object) === '[object String]';
-		var theKeys = [];

-		if (!isObject && !isFunction && !isArguments) {
-			throw new TypeError('Object.keys called on a non-object');
-		}

-		var skipProto = hasProtoEnumBug && isFunction;
-		if (isString && object.length > 0 && !has.call(object, 0)) {
-			for (var i = 0; i < object.length; ++i) {
-				theKeys.push(String(i));
-			}
-		}
+/**
+ * Internal dependencies
+ */

-		if (isArguments && object.length > 0) {
-			for (var j = 0; j < object.length; ++j) {
-				theKeys.push(String(j));
-			}
-		} else {
-			for (var name in object) {
-				if (!(skipProto && name === 'prototype') && has.call(object, name)) {
-					theKeys.push(String(name));
-				}
-			}
-		}

-		if (hasDontEnumBug) {
-			var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);

-			for (var k = 0; k < dontEnums.length; ++k) {
-				if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
-					theKeys.push(dontEnums[k]);
-				}
-			}
-		}
-		return theKeys;
-	};
+function ToolbarContainer(_ref, ref) {
+  let {
+    label,
+    ...props
+  } = _ref;
+  // https://reakit.io/docs/basic-concepts/#state-hooks
+  // Passing baseId for server side rendering (which includes snapshots)
+  // If an id prop is passed to Toolbar, toolbar items will use it as a base for their ids
+  const toolbarState = useToolbarState({
+    loop: true,
+    baseId: props.id,
+    rtl: (0,external_wp_i18n_namespaceObject.isRTL)()
+  });
+  return (// This will provide state for `ToolbarButton`'s
+    (0,external_wp_element_namespaceObject.createElement)(toolbar_context.Provider, {
+      value: toolbarState
+    }, (0,external_wp_element_namespaceObject.createElement)(Toolbar, extends_extends({
+      ref: ref,
+      "aria-label": label
+    }, toolbarState, props)))
+  );
 }
-module.exports = keysShim;

+/* harmony default export */ var toolbar_container = ((0,external_wp_element_namespaceObject.forwardRef)(ToolbarContainer));

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar/index.js

-/***/ "tLB3":
-/***/ (function(module, exports, __webpack_require__) {

-var baseTrim = __webpack_require__("jXQH"),
-    isObject = __webpack_require__("GoyQ"),
-    isSymbol = __webpack_require__("/9aa");

-/** Used as references for various `Number` constants. */
-var NAN = 0 / 0;
+/**
+ * External dependencies
+ */

-/** Used to detect bad signed hexadecimal string values. */
-var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
+/**
+ * WordPress dependencies
+ */

-/** Used to detect binary string values. */
-var reIsBinary = /^0b[01]+$/i;

-/** Used to detect octal string values. */
-var reIsOctal = /^0o[0-7]+$/i;

-/** Built-in method references without a dependency on `root`. */
-var freeParseInt = parseInt;
+/**
+ * Internal dependencies
+ */
+
+

 /**
- * Converts `value` to a number.
- *
- * @static
- * @memberOf _
- * @since 4.0.0
- * @category Lang
- * @param {*} value The value to process.
- * @returns {number} Returns the number.
- * @example
- *
- * _.toNumber(3.2);
- * // => 3.2
- *
- * _.toNumber(Number.MIN_VALUE);
- * // => 5e-324
+ * Renders a toolbar.
  *
- * _.toNumber(Infinity);
- * // => Infinity
+ * To add controls, simply pass `ToolbarButton` components as children.
  *
- * _.toNumber('3.2');
- * // => 3.2
+ * @param {Object} props             Component props.
+ * @param {string} [props.className] Class to set on the container div.
+ * @param {string} [props.label]     ARIA label for toolbar container.
+ * @param {Object} ref               React Element ref.
  */
-function toNumber(value) {
-  if (typeof value == 'number') {
-    return value;
-  }
-  if (isSymbol(value)) {
-    return NAN;
-  }
-  if (isObject(value)) {
-    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
-    value = isObject(other) ? (other + '') : other;
-  }
-  if (typeof value != 'string') {
-    return value === 0 ? value : +value;
-  }
-  value = baseTrim(value);
-  var isBinary = reIsBinary.test(value);
-  return (isBinary || reIsOctal.test(value))
-    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
-    : (reIsBadHex.test(value) ? NAN : +value);
+
+function toolbar_Toolbar(_ref, ref) {
+  let {
+    className,
+    label,
+    ...props
+  } = _ref;
+
+  if (!label) {
+    external_wp_deprecated_default()('Using Toolbar without label prop', {
+      since: '5.6',
+      alternative: 'ToolbarGroup component',
+      link: 'https://developer.wordpress.org/block-editor/components/toolbar/'
+    });
+    return (0,external_wp_element_namespaceObject.createElement)(toolbar_group, extends_extends({}, props, {
+      className: className
+    }));
+  } // `ToolbarGroup` already uses components-toolbar for compatibility reasons
+
+
+  const finalClassName = classnames_default()('components-accessible-toolbar', className);
+  return (0,external_wp_element_namespaceObject.createElement)(toolbar_container, extends_extends({
+    className: finalClassName,
+    label: label,
+    ref: ref
+  }, props));
 }

-module.exports = toNumber;
+/* harmony default export */ var toolbar = ((0,external_wp_element_namespaceObject.forwardRef)(toolbar_Toolbar));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/toolbar-dropdown-menu/index.js

-/***/ }),

-/***/ "tQ+x":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* unused harmony export REACT_TYPEOF_KEY */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return COMPONENT_NAMESPACE; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return CONNECTED_NAMESPACE; });
-/* unused harmony export CONTEXT_COMPONENT_NAMESPACE */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return CONNECT_STATIC_NAMESPACE; });
-const REACT_TYPEOF_KEY = '$$typeof';
-const COMPONENT_NAMESPACE = 'data-wp-component';
-const CONNECTED_NAMESPACE = 'data-wp-c16t';
-const CONTEXT_COMPONENT_NAMESPACE = 'data-wp-c5tc8t';
 /**
- * Special key where the connected namespaces are stored.
- * This is attached to Context connected components as a static property.
+ * WordPress dependencies
  */

-const CONNECT_STATIC_NAMESPACE = '__contextSystemKey__';
+/**
+ * Internal dependencies
+ */


-/***/ }),

-/***/ "u5Fq":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";

+function ToolbarDropdownMenu(props, ref) {
+  const accessibleToolbarState = (0,external_wp_element_namespaceObject.useContext)(toolbar_context);

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = getVisibleDays;
+  if (!accessibleToolbarState) {
+    return (0,external_wp_element_namespaceObject.createElement)(dropdown_menu, props);
+  } // ToobarItem will pass all props to the render prop child, which will pass
+  // all props to the toggle of DropdownMenu. This means that ToolbarDropdownMenu
+  // has the same API as DrpodownMenu.

-var _moment = __webpack_require__("wy2R");

-var _moment2 = _interopRequireDefault(_moment);
+  return (0,external_wp_element_namespaceObject.createElement)(toolbar_item, extends_extends({
+    ref: ref
+  }, props.toggleProps), toolbarItemProps => (0,external_wp_element_namespaceObject.createElement)(dropdown_menu, extends_extends({}, props, {
+    popoverProps: {
+      isAlternate: true,
+      ...props.popoverProps
+    },
+    toggleProps: toolbarItemProps
+  })));
+}

-var _toISOMonthString = __webpack_require__("jenk");
+/* harmony default export */ var toolbar_dropdown_menu = ((0,external_wp_element_namespaceObject.forwardRef)(ToolbarDropdownMenu));

-var _toISOMonthString2 = _interopRequireDefault(_toISOMonthString);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/reset.js

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function getVisibleDays(month, numberOfMonths, enableOutsideDays, withoutTransitionMonths) {
-  if (!_moment2['default'].isMoment(month)) return {};
+/**
+ * WordPress dependencies
+ */

-  var visibleDaysByMonth = {};
-  var currentMonth = withoutTransitionMonths ? month.clone() : month.clone().subtract(1, 'month');
-  for (var i = 0; i < (withoutTransitionMonths ? numberOfMonths : numberOfMonths + 2); i += 1) {
-    var visibleDays = [];
+const reset_reset = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M7 11.5h10V13H7z"
+}));
+/* harmony default export */ var library_reset = (reset_reset);

-    // set utc offset to get correct dates in future (when timezone changes)
-    var baseDate = currentMonth.clone();
-    var firstOfMonth = baseDate.clone().startOf('month').hour(12);
-    var lastOfMonth = baseDate.clone().endOf('month').hour(12);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/styles.js
+function tools_panel_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-    var currentDay = firstOfMonth.clone();
+/**
+ * External dependencies
+ */

-    // days belonging to the previous month
-    if (enableOutsideDays) {
-      for (var j = 0; j < currentDay.weekday(); j += 1) {
-        var prevDay = currentDay.clone().subtract(j + 1, 'day');
-        visibleDays.unshift(prevDay);
-      }
-    }
+/**
+ * Internal dependencies
+ */

-    while (currentDay < lastOfMonth) {
-      visibleDays.push(currentDay.clone());
-      currentDay.add(1, 'day');
-    }

-    if (enableOutsideDays) {
-      // weekday() returns the index of the day of the week according to the locale
-      // this means if the week starts on Monday, weekday() will return 0 for a Monday date, not 1
-      if (currentDay.weekday() !== 0) {
-        // days belonging to the next month
-        for (var k = currentDay.weekday(), count = 0; k < 7; k += 1, count += 1) {
-          var nextDay = currentDay.clone().add(count, 'day');
-          visibleDays.push(nextDay);
-        }
-      }
-    }

-    visibleDaysByMonth[(0, _toISOMonthString2['default'])(currentMonth)] = visibleDays;
-    currentMonth = currentMonth.clone().add(1, 'month');
+
+const toolsPanelGrid = {
+  spacing: /*#__PURE__*/emotion_react_browser_esm_css("column-gap:", space(4), ";row-gap:", space(6), ";" + ( true ? "" : 0),  true ? "" : 0),
+  item: {
+    fullWidth:  true ? {
+      name: "18iuzk9",
+      styles: "grid-column:1/-1"
+    } : 0
   }
+};
+const ToolsPanel = /*#__PURE__*/emotion_react_browser_esm_css(toolsPanelGrid.spacing, ";border-top:", config_values.borderWidth, " solid ", COLORS.gray[200], ";margin-top:-1px;padding:", space(4), ";" + ( true ? "" : 0),  true ? "" : 0);
+/**
+ * Items injected into a ToolsPanel via a virtual bubbling slot will require
+ * an inner dom element to be injected. The following rule allows for the
+ * CSS grid display to be re-established.
+ */

-  return visibleDaysByMonth;
-}
+const ToolsPanelWithInnerWrapper = columns => {
+  return /*#__PURE__*/emotion_react_browser_esm_css(">div:not( :first-of-type ){display:grid;grid-template-columns:", `repeat( ${columns}, 1fr )`, ";", toolsPanelGrid.spacing, " ", toolsPanelGrid.item.fullWidth, ";}" + ( true ? "" : 0),  true ? "" : 0);
+};
+const ToolsPanelHiddenInnerWrapper =  true ? {
+  name: "huufmu",
+  styles: ">div:not( :first-of-type ){display:none;}"
+} : 0;
+const ToolsPanelHeader = /*#__PURE__*/emotion_react_browser_esm_css(toolsPanelGrid.item.fullWidth, " gap:", space(2), ";.components-dropdown-menu{margin:", space(-1), " 0;}&&&& .components-dropdown-menu__toggle{padding:0;min-width:", space(6), ";}" + ( true ? "" : 0),  true ? "" : 0);
+const ToolsPanelHeading =  true ? {
+  name: "1pmxm02",
+  styles: "font-size:inherit;font-weight:500;line-height:normal;&&{margin:0;}"
+} : 0;
+const ToolsPanelItem = /*#__PURE__*/emotion_react_browser_esm_css(toolsPanelGrid.item.fullWidth, "&>div,&>fieldset{padding-bottom:0;margin-bottom:0;max-width:100%;}&& ", base_control_styles_Wrapper, "{margin-bottom:0;", StyledField, "{margin-bottom:0;}}" + ( true ? "" : 0),  true ? "" : 0);
+const ToolsPanelItemPlaceholder =  true ? {
+  name: "eivff4",
+  styles: "display:none"
+} : 0;
+const styles_DropdownMenu =  true ? {
+  name: "16gsvie",
+  styles: "min-width:200px"
+} : 0;

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/context.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */

-/***/ "u9yu":
-/***/ (function(module, exports, __webpack_require__) {
+const context_noop = () => undefined;
+
+const ToolsPanelContext = (0,external_wp_element_namespaceObject.createContext)({
+  menuItems: {
+    default: {},
+    optional: {}
+  },
+  hasMenuItems: false,
+  isResetting: false,
+  shouldRenderPlaceholderItems: false,
+  registerPanelItem: context_noop,
+  deregisterPanelItem: context_noop,
+  flagItemCustomization: context_noop,
+  areAllOptionalControlsHidden: true
+});
+const useToolsPanelContext = () => (0,external_wp_element_namespaceObject.useContext)(ToolsPanelContext);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel-header/hook.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */

-"use strict";


-var GetIntrinsic = __webpack_require__("j1Hc");
-var callBound = __webpack_require__("qeuH");

-var $TypeError = GetIntrinsic('%TypeError%');

-var IsArray = __webpack_require__("Bl8U");
+function useToolsPanelHeader(props) {
+  const {
+    className,
+    ...otherProps
+  } = useContextSystem(props, 'ToolsPanelHeader');
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return cx(ToolsPanelHeader, className);
+  }, [className]);
+  const dropdownMenuClassName = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return cx(styles_DropdownMenu);
+  }, []);
+  const headingClassName = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return cx(ToolsPanelHeading);
+  }, []);
+  const {
+    menuItems,
+    hasMenuItems,
+    areAllOptionalControlsHidden
+  } = useToolsPanelContext();
+  return { ...otherProps,
+    areAllOptionalControlsHidden,
+    dropdownMenuClassName,
+    hasMenuItems,
+    headingClassName,
+    menuItems,
+    className: classes
+  };
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel-header/component.js
+
+

-var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%');
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

-// https://ecma-international.org/ecma-262/6.0/#sec-call
+/**
+ * WordPress dependencies
+ */

-module.exports = function Call(F, V) {
-	var argumentsList = arguments.length > 2 ? arguments[2] : [];
-	if (!IsArray(argumentsList)) {
-		throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');
-	}
-	return $apply(F, V, argumentsList);
-};

+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "ulUS":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = isSameMonth;

-var _moment = __webpack_require__("wy2R");

-var _moment2 = _interopRequireDefault(_moment);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function isSameMonth(a, b) {
-  if (!_moment2['default'].isMoment(a) || !_moment2['default'].isMoment(b)) return false;
-  // Compare least significant, most likely to change units first
-  // Moment's isSame clones moment inputs and is a tad slow
-  return a.month() === b.month() && a.year() === b.year();
-}
+const tools_panel_header_component_noop = () => {};

-/***/ }),
+const DefaultControlsGroup = _ref => {
+  let {
+    items,
+    onClose,
+    toggleItem
+  } = _ref;

-/***/ "uqqE":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (!items.length) {
+    return null;
+  }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return shallowEqual; });
-/**
- * Compares two objects.
- *
- * @example
- * import { shallowEqual } from "reakit-utils";
- *
- * shallowEqual({ a: "a" }, {}); // false
- * shallowEqual({ a: "a" }, { b: "b" }); // false
- * shallowEqual({ a: "a" }, { a: "a" }); // true
- * shallowEqual({ a: "a" }, { a: "a", b: "b" }); // false
- */
-function shallowEqual(objA, objB) {
-  if (objA === objB) return true;
-  if (!objA) return false;
-  if (!objB) return false;
-  if (typeof objA !== "object") return false;
-  if (typeof objB !== "object") return false;
-  var aKeys = Object.keys(objA);
-  var bKeys = Object.keys(objB);
-  var length = aKeys.length;
-  if (bKeys.length !== length) return false;
+  return (0,external_wp_element_namespaceObject.createElement)(menu_group, null, items.map(_ref2 => {
+    let [label, hasValue] = _ref2;
+    const icon = hasValue ? library_reset : library_check;
+    const itemLabel = hasValue ? (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: The name of the control being reset e.g. "Padding".
+    (0,external_wp_i18n_namespaceObject.__)('Reset %s'), label) : undefined;
+    return (0,external_wp_element_namespaceObject.createElement)(menu_item, {
+      key: label,
+      icon: icon,
+      isSelected: true,
+      disabled: !hasValue,
+      label: itemLabel,
+      onClick: () => {
+        toggleItem(label);
+        onClose();
+      },
+      role: "menuitemcheckbox"
+    }, label);
+  }));
+};

-  for (var _i = 0, _aKeys = aKeys; _i < _aKeys.length; _i++) {
-    var key = _aKeys[_i];
+const OptionalControlsGroup = _ref3 => {
+  let {
+    items,
+    onClose,
+    toggleItem
+  } = _ref3;

-    if (objA[key] !== objB[key]) {
-      return false;
-    }
+  if (!items.length) {
+    return null;
   }

-  return true;
-}
-
+  return (0,external_wp_element_namespaceObject.createElement)(menu_group, null, items.map(_ref4 => {
+    let [label, isSelected] = _ref4;
+    const itemLabel = isSelected ? (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: The name of the control being hidden and reset e.g. "Padding".
+    (0,external_wp_i18n_namespaceObject.__)('Hide and reset %s'), label) : (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: The name of the control to display e.g. "Padding".
+    (0,external_wp_i18n_namespaceObject.__)('Show %s'), label);
+    return (0,external_wp_element_namespaceObject.createElement)(menu_item, {
+      key: label,
+      icon: isSelected && library_check,
+      isSelected: isSelected,
+      label: itemLabel,
+      onClick: () => {
+        toggleItem(label);
+        onClose();
+      },
+      role: "menuitemcheckbox"
+    }, label);
+  }));
+};

+const component_ToolsPanelHeader = (props, forwardedRef) => {
+  const {
+    areAllOptionalControlsHidden,
+    dropdownMenuClassName,
+    hasMenuItems,
+    headingClassName,
+    label: labelText,
+    menuItems,
+    resetAll,
+    toggleItem,
+    ...headerProps
+  } = useToolsPanelHeader(props);

+  if (!labelText) {
+    return null;
+  }

-/***/ }),
+  const defaultItems = Object.entries((menuItems === null || menuItems === void 0 ? void 0 : menuItems.default) || {});
+  const optionalItems = Object.entries((menuItems === null || menuItems === void 0 ? void 0 : menuItems.optional) || {});
+  const dropDownMenuIcon = areAllOptionalControlsHidden ? library_plus : more_vertical;
+  const dropDownMenuLabelText = areAllOptionalControlsHidden ? (0,external_wp_i18n_namespaceObject._x)('View and add options', 'Button label to reveal tool panel options') : (0,external_wp_i18n_namespaceObject._x)('View options', 'Button label to reveal tool panel options');
+  return (0,external_wp_element_namespaceObject.createElement)(h_stack_component, extends_extends({}, headerProps, {
+    ref: forwardedRef
+  }), (0,external_wp_element_namespaceObject.createElement)(heading_component, {
+    level: 2,
+    className: headingClassName
+  }, labelText), hasMenuItems && (0,external_wp_element_namespaceObject.createElement)(dropdown_menu, {
+    icon: dropDownMenuIcon,
+    label: dropDownMenuLabelText,
+    menuProps: {
+      className: dropdownMenuClassName
+    },
+    toggleProps: {
+      isSmall: true
+    }
+  }, _ref5 => {
+    let {
+      onClose = tools_panel_header_component_noop
+    } = _ref5;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(DefaultControlsGroup, {
+      items: defaultItems,
+      onClose: onClose,
+      toggleItem: toggleItem
+    }), (0,external_wp_element_namespaceObject.createElement)(OptionalControlsGroup, {
+      items: optionalItems,
+      onClose: onClose,
+      toggleItem: toggleItem
+    }), (0,external_wp_element_namespaceObject.createElement)(menu_group, null, (0,external_wp_element_namespaceObject.createElement)(menu_item, {
+      variant: 'tertiary',
+      onClick: () => {
+        resetAll();
+        onClose();
+      }
+    }, (0,external_wp_i18n_namespaceObject.__)('Reset all'))));
+  }));
+};

-/***/ "utzN":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+const ConnectedToolsPanelHeader = contextConnect(component_ToolsPanelHeader, 'ToolsPanelHeader');
+/* harmony default export */ var tools_panel_header_component = (ConnectedToolsPanelHeader);

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return contains; });
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel/hook.js
 /**
- * Similar to `Element.prototype.contains`, but a little bit faster when
- * `element` is the same as `child`.
- *
- * @example
- * import { contains } from "reakit-utils";
- *
- * contains(document.getElementById("parent"), document.getElementById("child"));
+ * WordPress dependencies
  */
-function contains(parent, child) {
-  return parent === child || parent.contains(child);
-}

+/**
+ * Internal dependencies
+ */



-/***/ }),

-/***/ "uug5":
-/***/ (function(module, exports, __webpack_require__) {
+const DEFAULT_COLUMNS = 2;

-"use strict";
+const generateMenuItems = _ref => {
+  let {
+    panelItems,
+    shouldReset,
+    currentMenuItems
+  } = _ref;
+  const menuItems = {
+    default: {},
+    optional: {}
+  };
+  panelItems.forEach(_ref2 => {
+    var _currentMenuItems$gro;

+    let {
+      hasValue,
+      isShownByDefault,
+      label
+    } = _ref2;
+    const group = isShownByDefault ? 'default' : 'optional'; // If a menu item for this label already exists, do not overwrite its value.
+    // This can cause default controls that have been flagged as customized to
+    // lose their value.

-var $isNaN = __webpack_require__("HwJD");
+    const existingItemValue = currentMenuItems === null || currentMenuItems === void 0 ? void 0 : (_currentMenuItems$gro = currentMenuItems[group]) === null || _currentMenuItems$gro === void 0 ? void 0 : _currentMenuItems$gro[label];
+    const value = existingItemValue !== undefined ? existingItemValue : hasValue();
+    menuItems[group][label] = shouldReset ? false : value;
+  });
+  return menuItems;
+};

-// http://262.ecma-international.org/5.1/#sec-9.12
+function useToolsPanel(props) {
+  const {
+    className,
+    resetAll,
+    panelId,
+    hasInnerWrapper,
+    shouldRenderPlaceholderItems,
+    ...otherProps
+  } = useContextSystem(props, 'ToolsPanel');
+  const isResetting = (0,external_wp_element_namespaceObject.useRef)(false);
+  const wasResetting = isResetting.current; // `isResetting` is cleared via this hook to effectively batch together
+  // the resetAll task. Without this, the flag is cleared after the first
+  // control updates and forces a rerender with subsequent controls then
+  // believing they need to reset, unfortunately using stale data.

-module.exports = function SameValue(x, y) {
-	if (x === y) { // 0 === -0, but they are not identical.
-		if (x === 0) { return 1 / x === 1 / y; }
-		return true;
-	}
-	return $isNaN(x) && $isNaN(y);
-};
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (wasResetting) {
+      isResetting.current = false;
+    }
+  }, [wasResetting]); // Allow panel items to register themselves.

+  const [panelItems, setPanelItems] = (0,external_wp_element_namespaceObject.useState)([]);

-/***/ }),
+  const registerPanelItem = item => {
+    setPanelItems(items => {
+      const newItems = [...items]; // If an item with this label is already registered, remove it first.
+      // This can happen when an item is moved between the default and optional
+      // groups.

-/***/ "v3P4":
-/***/ (function(module, exports, __webpack_require__) {
+      const existingIndex = newItems.findIndex(oldItem => oldItem.label === item.label);

-"use strict";
+      if (existingIndex !== -1) {
+        newItems.splice(existingIndex, 1);
+      }

+      return [...newItems, item];
+    });
+  }; // Panels need to deregister on unmount to avoid orphans in menu state.
+  // This is an issue when panel items are being injected via SlotFills.

-var define = __webpack_require__("82c2");
-var getPolyfill = __webpack_require__("22yB");

-module.exports = function shimFlat() {
-	var polyfill = getPolyfill();
-	define(
-		Array.prototype,
-		{ flat: polyfill },
-		{ flat: function () { return Array.prototype.flat !== polyfill; } }
-	);
-	return polyfill;
-};
+  const deregisterPanelItem = label => {
+    // When switching selections between components injecting matching
+    // controls, e.g. both panels have a "padding" control, the
+    // deregistration of the first panel doesn't occur until after the
+    // registration of the next.
+    setPanelItems(items => {
+      const newItems = [...items];
+      const index = newItems.findIndex(item => item.label === label);

+      if (index !== -1) {
+        newItems.splice(index, 1);
+      }

-/***/ }),
+      return newItems;
+    });
+  }; // Manage and share display state of menu items representing child controls.

-/***/ "v7lB":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+  const [menuItems, setMenuItems] = (0,external_wp_element_namespaceObject.useState)({
+    default: {},
+    optional: {}
+  }); // Setup menuItems state as panel items register themselves.

+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    setMenuItems(prevState => {
+      const items = generateMenuItems({
+        panelItems,
+        shouldReset: false,
+        currentMenuItems: prevState
+      });
+      return items;
+    });
+  }, [panelItems]); // Force a menu item to be checked.
+  // This is intended for use with default panel items. They are displayed
+  // separately to optional items and have different display states,
+  // we need to update that when their value is customized.

-/* globals
-	AggregateError,
-	Atomics,
-	FinalizationRegistry,
-	SharedArrayBuffer,
-	WeakRef,
-*/
+  const flagItemCustomization = function (label) {
+    let group = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
+    setMenuItems(items => {
+      const newState = { ...items,
+        [group]: { ...items[group],
+          [label]: true
+        }
+      };
+      return newState;
+    });
+  }; // Whether all optional menu items are hidden or not must be tracked
+  // in order to later determine if the panel display is empty and handle
+  // conditional display of a plus icon to indicate the presence of further
+  // menu items.

-var undefined;

-var $SyntaxError = SyntaxError;
-var $Function = Function;
-var $TypeError = TypeError;
+  const [areAllOptionalControlsHidden, setAreAllOptionalControlsHidden] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (menuItems.optional) {
+      const optionalItems = Object.entries(menuItems.optional);
+      const allControlsHidden = optionalItems.length > 0 && !optionalItems.some(_ref3 => {
+        let [, isSelected] = _ref3;
+        return isSelected;
+      });
+      setAreAllOptionalControlsHidden(allControlsHidden);
+    }
+  }, [menuItems.optional]);
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const hasDefaultMenuItems = (menuItems === null || menuItems === void 0 ? void 0 : menuItems.default) && !!Object.keys(menuItems === null || menuItems === void 0 ? void 0 : menuItems.default).length;
+    const wrapperStyle = hasInnerWrapper && ToolsPanelWithInnerWrapper(DEFAULT_COLUMNS);
+    const emptyStyle = !hasDefaultMenuItems && areAllOptionalControlsHidden && ToolsPanelHiddenInnerWrapper;
+    return cx(ToolsPanel, wrapperStyle, emptyStyle, className);
+  }, [className, hasInnerWrapper, menuItems, areAllOptionalControlsHidden]); // Toggle the checked state of a menu item which is then used to determine
+  // display of the item within the panel.

-// eslint-disable-next-line consistent-return
-var getEvalledConstructor = function (expressionSyntax) {
-	try {
-		// eslint-disable-next-line no-new-func
-		return Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
-	} catch (e) {}
-};
+  const toggleItem = label => {
+    const currentItem = panelItems.find(item => item.label === label);

-var $gOPD = Object.getOwnPropertyDescriptor;
-if ($gOPD) {
-	try {
-		$gOPD({}, '');
-	} catch (e) {
-		$gOPD = null; // this is IE 8, which has a broken gOPD
-	}
-}
+    if (!currentItem) {
+      return;
+    }

-var throwTypeError = function () { throw new $TypeError(); };
-var ThrowTypeError = $gOPD
-	? (function () {
-		try {
-			// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
-			arguments.callee; // IE 8 does not throw here
-			return throwTypeError;
-		} catch (calleeThrows) {
-			try {
-				// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
-				return $gOPD(arguments, 'callee').get;
-			} catch (gOPDthrows) {
-				return throwTypeError;
-			}
-		}
-	}())
-	: throwTypeError;
+    const menuGroup = currentItem.isShownByDefault ? 'default' : 'optional';
+    const newMenuItems = { ...menuItems,
+      [menuGroup]: { ...menuItems[menuGroup],
+        [label]: !menuItems[menuGroup][label]
+      }
+    };
+    setMenuItems(newMenuItems);
+  };

-var hasSymbols = __webpack_require__("UVaH")();
+  const getResetAllFilters = () => {
+    const filters = [];
+    panelItems.forEach(item => {
+      if (item.resetAllFilter) {
+        filters.push(item.resetAllFilter);
+      }
+    });
+    return filters;
+  }; // Resets display of children and executes resetAll callback if available.

-var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto

-var asyncGenFunction = getEvalledConstructor('async function* () {}');
-var asyncGenFunctionPrototype = asyncGenFunction ? asyncGenFunction.prototype : undefined;
-var asyncGenPrototype = asyncGenFunctionPrototype ? asyncGenFunctionPrototype.prototype : undefined;
+  const resetAllItems = () => {
+    if (typeof resetAll === 'function') {
+      isResetting.current = true;
+      resetAll(getResetAllFilters());
+    } // Turn off display of all non-default items.

-var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);

-var INTRINSICS = {
-	'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
-	'%Array%': Array,
-	'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
-	'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
-	'%AsyncFromSyncIteratorPrototype%': undefined,
-	'%AsyncFunction%': getEvalledConstructor('async function () {}'),
-	'%AsyncGenerator%': asyncGenFunctionPrototype,
-	'%AsyncGeneratorFunction%': asyncGenFunction,
-	'%AsyncIteratorPrototype%': asyncGenPrototype ? getProto(asyncGenPrototype) : undefined,
-	'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
-	'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
-	'%Boolean%': Boolean,
-	'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
-	'%Date%': Date,
-	'%decodeURI%': decodeURI,
-	'%decodeURIComponent%': decodeURIComponent,
-	'%encodeURI%': encodeURI,
-	'%encodeURIComponent%': encodeURIComponent,
-	'%Error%': Error,
-	'%eval%': eval, // eslint-disable-line no-eval
-	'%EvalError%': EvalError,
-	'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
-	'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
-	'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
-	'%Function%': $Function,
-	'%GeneratorFunction%': getEvalledConstructor('function* () {}'),
-	'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
-	'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
-	'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
-	'%isFinite%': isFinite,
-	'%isNaN%': isNaN,
-	'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
-	'%JSON%': typeof JSON === 'object' ? JSON : undefined,
-	'%Map%': typeof Map === 'undefined' ? undefined : Map,
-	'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
-	'%Math%': Math,
-	'%Number%': Number,
-	'%Object%': Object,
-	'%parseFloat%': parseFloat,
-	'%parseInt%': parseInt,
-	'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
-	'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
-	'%RangeError%': RangeError,
-	'%ReferenceError%': ReferenceError,
-	'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
-	'%RegExp%': RegExp,
-	'%Set%': typeof Set === 'undefined' ? undefined : Set,
-	'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
-	'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
-	'%String%': String,
-	'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
-	'%Symbol%': hasSymbols ? Symbol : undefined,
-	'%SyntaxError%': $SyntaxError,
-	'%ThrowTypeError%': ThrowTypeError,
-	'%TypedArray%': TypedArray,
-	'%TypeError%': $TypeError,
-	'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
-	'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
-	'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
-	'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
-	'%URIError%': URIError,
-	'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
-	'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
-	'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
-};
+    const resetMenuItems = generateMenuItems({
+      panelItems,
+      shouldReset: true
+    });
+    setMenuItems(resetMenuItems);
+  };

-var LEGACY_ALIASES = {
-	'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
-	'%ArrayPrototype%': ['Array', 'prototype'],
-	'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
-	'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
-	'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
-	'%ArrayProto_values%': ['Array', 'prototype', 'values'],
-	'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
-	'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
-	'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
-	'%BooleanPrototype%': ['Boolean', 'prototype'],
-	'%DataViewPrototype%': ['DataView', 'prototype'],
-	'%DatePrototype%': ['Date', 'prototype'],
-	'%ErrorPrototype%': ['Error', 'prototype'],
-	'%EvalErrorPrototype%': ['EvalError', 'prototype'],
-	'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
-	'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
-	'%FunctionPrototype%': ['Function', 'prototype'],
-	'%Generator%': ['GeneratorFunction', 'prototype'],
-	'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
-	'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
-	'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
-	'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
-	'%JSONParse%': ['JSON', 'parse'],
-	'%JSONStringify%': ['JSON', 'stringify'],
-	'%MapPrototype%': ['Map', 'prototype'],
-	'%NumberPrototype%': ['Number', 'prototype'],
-	'%ObjectPrototype%': ['Object', 'prototype'],
-	'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
-	'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
-	'%PromisePrototype%': ['Promise', 'prototype'],
-	'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
-	'%Promise_all%': ['Promise', 'all'],
-	'%Promise_reject%': ['Promise', 'reject'],
-	'%Promise_resolve%': ['Promise', 'resolve'],
-	'%RangeErrorPrototype%': ['RangeError', 'prototype'],
-	'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
-	'%RegExpPrototype%': ['RegExp', 'prototype'],
-	'%SetPrototype%': ['Set', 'prototype'],
-	'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
-	'%StringPrototype%': ['String', 'prototype'],
-	'%SymbolPrototype%': ['Symbol', 'prototype'],
-	'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
-	'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
-	'%TypeErrorPrototype%': ['TypeError', 'prototype'],
-	'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
-	'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
-	'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
-	'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
-	'%URIErrorPrototype%': ['URIError', 'prototype'],
-	'%WeakMapPrototype%': ['WeakMap', 'prototype'],
-	'%WeakSetPrototype%': ['WeakSet', 'prototype']
-};
+  const panelContext = {
+    panelId,
+    menuItems,
+    registerPanelItem,
+    deregisterPanelItem,
+    flagItemCustomization,
+    areAllOptionalControlsHidden,
+    hasMenuItems: !!panelItems.length,
+    isResetting: isResetting.current,
+    shouldRenderPlaceholderItems
+  };
+  return { ...otherProps,
+    panelContext,
+    resetAllItems,
+    toggleItem,
+    className: classes
+  };
+}

-var bind = __webpack_require__("D3zA");
-var hasOwn = __webpack_require__("oNNP");
-var $concat = bind.call(Function.call, Array.prototype.concat);
-var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
-var $replace = bind.call(Function.call, String.prototype.replace);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel/component.js

-/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
-var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
-var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
-var stringToPath = function stringToPath(string) {
-	var result = [];
-	$replace(string, rePropName, function (match, number, quote, subString) {
-		result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
-	});
-	return result;
-};
-/* end adaptation */

-var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
-	var intrinsicName = name;
-	var alias;
-	if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
-		alias = LEGACY_ALIASES[intrinsicName];
-		intrinsicName = '%' + alias[0] + '%';
-	}
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

-	if (hasOwn(INTRINSICS, intrinsicName)) {
-		var value = INTRINSICS[intrinsicName];
-		if (typeof value === 'undefined' && !allowMissing) {
-			throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
-		}
+/**
+ * Internal dependencies
+ */

-		return {
-			alias: alias,
-			name: intrinsicName,
-			value: value
-		};
-	}

-	throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
+
+
+
+
+const component_ToolsPanel = (props, forwardedRef) => {
+  const {
+    children,
+    label,
+    panelContext,
+    resetAllItems,
+    toggleItem,
+    className
+  } = useToolsPanel(props); // Props are not directly passed through to avoid exposing Grid props
+  // until agreement has been reached on how ToolsPanel layout should be
+  // handled.
+
+  return (0,external_wp_element_namespaceObject.createElement)(grid_component, {
+    columns: 2,
+    className: className,
+    ref: forwardedRef
+  }, (0,external_wp_element_namespaceObject.createElement)(ToolsPanelContext.Provider, {
+    value: panelContext
+  }, (0,external_wp_element_namespaceObject.createElement)(tools_panel_header_component, {
+    label: label,
+    resetAll: resetAllItems,
+    toggleItem: toggleItem
+  }), children));
 };

-module.exports = function GetIntrinsic(name, allowMissing) {
-	if (typeof name !== 'string' || name.length === 0) {
-		throw new $TypeError('intrinsic name must be a non-empty string');
-	}
-	if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
-		throw new $TypeError('"allowMissing" argument must be a boolean');
-	}
+const ConnectedToolsPanel = contextConnect(component_ToolsPanel, 'ToolsPanel');
+/* harmony default export */ var tools_panel_component = (ConnectedToolsPanel);

-	var parts = stringToPath(name);
-	var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel-item/hook.js
+/**
+ * WordPress dependencies
+ */

-	var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
-	var intrinsicRealName = intrinsic.name;
-	var value = intrinsic.value;
-	var skipFurtherCaching = false;

-	var alias = intrinsic.alias;
-	if (alias) {
-		intrinsicBaseName = alias[0];
-		$spliceApply(parts, $concat([0, 1], alias));
-	}
+/**
+ * Internal dependencies
+ */

-	for (var i = 1, isOwn = true; i < parts.length; i += 1) {
-		var part = parts[i];
-		if (part === 'constructor' || !isOwn) {
-			skipFurtherCaching = true;
-		}

-		intrinsicBaseName += '.' + part;
-		intrinsicRealName = '%' + intrinsicBaseName + '%';

-		if (hasOwn(INTRINSICS, intrinsicRealName)) {
-			value = INTRINSICS[intrinsicRealName];
-		} else if (value != null) {
-			if ($gOPD && (i + 1) >= parts.length) {
-				var desc = $gOPD(value, part);
-				isOwn = !!desc;

-				if (!allowMissing && !(part in value)) {
-					throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
-				}
-				// By convention, when a data property is converted to an accessor
-				// property to emulate a data property that does not suffer from
-				// the override mistake, that accessor's getter is marked with
-				// an `originalValue` property. Here, when we detect this, we
-				// uphold the illusion by pretending to see that original data
-				// property, i.e., returning the value rather than the getter
-				// itself.
-				if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
-					value = desc.get;
-				} else {
-					value = value[part];
-				}
-			} else {
-				isOwn = hasOwn(value, part);
-				value = value[part];
-			}

-			if (isOwn && !skipFurtherCaching) {
-				INTRINSICS[intrinsicRealName] = value;
-			}
-		}
-	}
-	return value;
-};
+function useToolsPanelItem(props) {
+  var _menuItems$menuGroup, _menuItems$menuGroup2;

+  const {
+    className,
+    hasValue,
+    isShownByDefault,
+    label,
+    panelId,
+    resetAllFilter,
+    onDeselect,
+    onSelect,
+    ...otherProps
+  } = useContextSystem(props, 'ToolsPanelItem');
+  const {
+    panelId: currentPanelId,
+    menuItems,
+    registerPanelItem,
+    deregisterPanelItem,
+    flagItemCustomization,
+    isResetting,
+    shouldRenderPlaceholderItems: shouldRenderPlaceholder
+  } = useToolsPanelContext();
+  const hasValueCallback = (0,external_wp_element_namespaceObject.useCallback)(hasValue, [panelId]);
+  const resetAllFilterCallback = (0,external_wp_element_namespaceObject.useCallback)(resetAllFilter, [panelId]);
+  const previousPanelId = (0,external_wp_compose_namespaceObject.usePrevious)(currentPanelId);
+  const hasMatchingPanel = currentPanelId === panelId || currentPanelId === null; // Registering the panel item allows the panel to include it in its
+  // automatically generated menu and determine its initial checked status.

-/***/ }),
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (hasMatchingPanel && previousPanelId !== null) {
+      registerPanelItem({
+        hasValue: hasValueCallback,
+        isShownByDefault,
+        label,
+        resetAllFilter: resetAllFilterCallback,
+        panelId
+      });
+    }

-/***/ "vLdR":
-/***/ (function(module, exports, __webpack_require__) {
+    return () => {
+      if (previousPanelId === null && !!currentPanelId || currentPanelId === panelId) {
+        deregisterPanelItem(label);
+      }
+    };
+  }, [currentPanelId, hasMatchingPanel, isShownByDefault, label, hasValueCallback, panelId, previousPanelId, resetAllFilterCallback]);
+  const isValueSet = hasValue();
+  const wasValueSet = (0,external_wp_compose_namespaceObject.usePrevious)(isValueSet); // If this item represents a default control it will need to notify the
+  // panel when a custom value has been set.

-"use strict";
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isShownByDefault && isValueSet && !wasValueSet) {
+      flagItemCustomization(label);
+    }
+  }, [isValueSet, wasValueSet, isShownByDefault, label]); // Note: `label` is used as a key when building menu item state in
+  // `ToolsPanel`.

+  const menuGroup = isShownByDefault ? 'default' : 'optional';
+  const isMenuItemChecked = menuItems === null || menuItems === void 0 ? void 0 : (_menuItems$menuGroup = menuItems[menuGroup]) === null || _menuItems$menuGroup === void 0 ? void 0 : _menuItems$menuGroup[label];
+  const wasMenuItemChecked = (0,external_wp_compose_namespaceObject.usePrevious)(isMenuItemChecked); // Determine if the panel item's corresponding menu is being toggled and
+  // trigger appropriate callback if it is.

-// http://262.ecma-international.org/5.1/#sec-9.1
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isResetting || !hasMatchingPanel) {
+      return;
+    }

-module.exports = __webpack_require__("Lxf3");
+    if (isMenuItemChecked && !isValueSet && !wasMenuItemChecked) {
+      onSelect === null || onSelect === void 0 ? void 0 : onSelect();
+    }

+    if (!isMenuItemChecked && wasMenuItemChecked) {
+      onDeselect === null || onDeselect === void 0 ? void 0 : onDeselect();
+    }
+  }, [hasMatchingPanel, isMenuItemChecked, isResetting, isValueSet, wasMenuItemChecked]); // The item is shown if it is a default control regardless of whether it
+  // has a value. Optional items are shown when they are checked or have
+  // a value.

-/***/ }),
+  const isShown = isShownByDefault ? (menuItems === null || menuItems === void 0 ? void 0 : (_menuItems$menuGroup2 = menuItems[menuGroup]) === null || _menuItems$menuGroup2 === void 0 ? void 0 : _menuItems$menuGroup2[label]) !== undefined : isMenuItemChecked;
+  const cx = useCx();
+  const classes = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const placeholderStyle = shouldRenderPlaceholder && !isShown && ToolsPanelItemPlaceholder;
+    return cx(ToolsPanelItem, placeholderStyle, className);
+  }, [isShown, shouldRenderPlaceholder, className]);
+  return { ...otherProps,
+    isShown,
+    shouldRenderPlaceholder,
+    className: classes
+  };
+}

-/***/ "vUUf":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tools-panel/tools-panel-item/component.js

-"use strict";
-/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wx14");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);


+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

 /**
- * @typedef OwnProps
- *
- * @property {import('./types').IconKey} icon        Icon name
- * @property {string}                    [className] Class name
+ * Internal dependencies
  */

-/** @typedef {import('react').ComponentPropsWithoutRef<'span'> & OwnProps} Props */

+
+
+// This wraps controls to be conditionally displayed within a tools panel. It
+// prevents props being applied to HTML elements that would make them invalid.
+const component_ToolsPanelItem = (props, forwardedRef) => {
+  const {
+    children,
+    isShown,
+    shouldRenderPlaceholder,
+    ...toolsPanelItemProps
+  } = useToolsPanelItem(props);
+
+  if (!isShown) {
+    return shouldRenderPlaceholder ? (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, toolsPanelItemProps, {
+      ref: forwardedRef
+    })) : null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({}, toolsPanelItemProps, {
+    ref: forwardedRef
+  }), children);
+};
+
+const ConnectedToolsPanelItem = contextConnect(component_ToolsPanelItem, 'ToolsPanelItem');
+/* harmony default export */ var tools_panel_item_component = (ConnectedToolsPanelItem);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/roving-tab-index-context.js
 /**
- * @param {Props} props
- * @return {JSX.Element} Element
+ * WordPress dependencies
  */
-function Dashicon(_ref) {
+
+const RovingTabIndexContext = (0,external_wp_element_namespaceObject.createContext)();
+const useRovingTabIndexContext = () => (0,external_wp_element_namespaceObject.useContext)(RovingTabIndexContext);
+const RovingTabIndexProvider = RovingTabIndexContext.Provider;
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/roving-tab-index.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+/**
+ * Provider for adding roving tab index behaviors to tree grid structures.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/components/src/tree-grid/README.md
+ *
+ * @param {Object}    props          Component props.
+ * @param {WPElement} props.children Children to be rendered
+ */
+
+function RovingTabIndex(_ref) {
   let {
-    icon,
-    className,
-    ...extraProps
+    children
   } = _ref;
-  const iconClass = ['dashicon', 'dashicons', 'dashicons-' + icon, className].filter(Boolean).join(' ');
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("span", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
-    className: iconClass
-  }, extraProps));
-}
+  const [lastFocusedElement, setLastFocusedElement] = (0,external_wp_element_namespaceObject.useState)(); // Use `useMemo` to avoid creation of a new object for the providerValue
+  // on every render. Only create a new object when the `lastFocusedElement`
+  // value changes.

-/* harmony default export */ __webpack_exports__["a"] = (Dashicon);
+  const providerValue = (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    lastFocusedElement,
+    setLastFocusedElement
+  }), [lastFocusedElement]);
+  return (0,external_wp_element_namespaceObject.createElement)(RovingTabIndexProvider, {
+    value: providerValue
+  }, children);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/index.js

-/***/ }),

-/***/ "vV+G":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-var calendarLabel = 'Calendar';
-var closeDatePicker = 'Close';
-var focusStartDate = 'Interact with the calendar and add the check-in date for your trip.';
-var clearDate = 'Clear Date';
-var clearDates = 'Clear Dates';
-var jumpToPrevMonth = 'Move backward to switch to the previous month.';
-var jumpToNextMonth = 'Move forward to switch to the next month.';
-var keyboardShortcuts = 'Keyboard Shortcuts';
-var showKeyboardShortcutsPanel = 'Open the keyboard shortcuts panel.';
-var hideKeyboardShortcutsPanel = 'Close the shortcuts panel.';
-var openThisPanel = 'Open this panel.';
-var enterKey = 'Enter key';
-var leftArrowRightArrow = 'Right and left arrow keys';
-var upArrowDownArrow = 'up and down arrow keys';
-var pageUpPageDown = 'page up and page down keys';
-var homeEnd = 'Home and end keys';
-var escape = 'Escape key';
-var questionMark = 'Question mark';
-var selectFocusedDate = 'Select the date in focus.';
-var moveFocusByOneDay = 'Move backward (left) and forward (right) by one day.';
-var moveFocusByOneWeek = 'Move backward (up) and forward (down) by one week.';
-var moveFocusByOneMonth = 'Switch months.';
-var moveFocustoStartAndEndOfWeek = 'Go to the first or last day of a week.';
-var returnFocusToInput = 'Return to the date input field.';
-var keyboardNavigationInstructions = 'Press the down arrow key to interact with the calendar and\n  select a date. Press the question mark key to get the keyboard shortcuts for changing dates.';

-var chooseAvailableStartDate = function chooseAvailableStartDate(_ref) {
-  var date = _ref.date;
-  return 'Choose ' + String(date) + ' as your check-in date. It\u2019s available.';
-};
-var chooseAvailableEndDate = function chooseAvailableEndDate(_ref2) {
-  var date = _ref2.date;
-  return 'Choose ' + String(date) + ' as your check-out date. It\u2019s available.';
-};
-var chooseAvailableDate = function chooseAvailableDate(_ref3) {
-  var date = _ref3.date;
-  return date;
-};
-var dateIsUnavailable = function dateIsUnavailable(_ref4) {
-  var date = _ref4.date;
-  return 'Not available. ' + String(date);
-};
-var dateIsSelected = function dateIsSelected(_ref5) {
-  var date = _ref5.date;
-  return 'Selected. ' + String(date);
-};

-exports['default'] = {
-  calendarLabel: calendarLabel,
-  closeDatePicker: closeDatePicker,
-  focusStartDate: focusStartDate,
-  clearDate: clearDate,
-  clearDates: clearDates,
-  jumpToPrevMonth: jumpToPrevMonth,
-  jumpToNextMonth: jumpToNextMonth,
-  keyboardShortcuts: keyboardShortcuts,
-  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
-  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
-  openThisPanel: openThisPanel,
-  enterKey: enterKey,
-  leftArrowRightArrow: leftArrowRightArrow,
-  upArrowDownArrow: upArrowDownArrow,
-  pageUpPageDown: pageUpPageDown,
-  homeEnd: homeEnd,
-  escape: escape,
-  questionMark: questionMark,
-  selectFocusedDate: selectFocusedDate,
-  moveFocusByOneDay: moveFocusByOneDay,
-  moveFocusByOneWeek: moveFocusByOneWeek,
-  moveFocusByOneMonth: moveFocusByOneMonth,
-  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
-  returnFocusToInput: returnFocusToInput,
-  keyboardNavigationInstructions: keyboardNavigationInstructions,

-  chooseAvailableStartDate: chooseAvailableStartDate,
-  chooseAvailableEndDate: chooseAvailableEndDate,
-  dateIsUnavailable: dateIsUnavailable,
-  dateIsSelected: dateIsSelected
-};
-var DateRangePickerPhrases = exports.DateRangePickerPhrases = {
-  calendarLabel: calendarLabel,
-  closeDatePicker: closeDatePicker,
-  clearDates: clearDates,
-  focusStartDate: focusStartDate,
-  jumpToPrevMonth: jumpToPrevMonth,
-  jumpToNextMonth: jumpToNextMonth,
-  keyboardShortcuts: keyboardShortcuts,
-  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
-  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
-  openThisPanel: openThisPanel,
-  enterKey: enterKey,
-  leftArrowRightArrow: leftArrowRightArrow,
-  upArrowDownArrow: upArrowDownArrow,
-  pageUpPageDown: pageUpPageDown,
-  homeEnd: homeEnd,
-  escape: escape,
-  questionMark: questionMark,
-  selectFocusedDate: selectFocusedDate,
-  moveFocusByOneDay: moveFocusByOneDay,
-  moveFocusByOneWeek: moveFocusByOneWeek,
-  moveFocusByOneMonth: moveFocusByOneMonth,
-  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
-  returnFocusToInput: returnFocusToInput,
-  keyboardNavigationInstructions: keyboardNavigationInstructions,
-  chooseAvailableStartDate: chooseAvailableStartDate,
-  chooseAvailableEndDate: chooseAvailableEndDate,
-  dateIsUnavailable: dateIsUnavailable,
-  dateIsSelected: dateIsSelected
-};
+/**
+ * Internal dependencies
+ */

-var DateRangePickerInputPhrases = exports.DateRangePickerInputPhrases = {
-  focusStartDate: focusStartDate,
-  clearDates: clearDates,
-  keyboardNavigationInstructions: keyboardNavigationInstructions
-};

-var SingleDatePickerPhrases = exports.SingleDatePickerPhrases = {
-  calendarLabel: calendarLabel,
-  closeDatePicker: closeDatePicker,
-  clearDate: clearDate,
-  jumpToPrevMonth: jumpToPrevMonth,
-  jumpToNextMonth: jumpToNextMonth,
-  keyboardShortcuts: keyboardShortcuts,
-  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
-  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
-  openThisPanel: openThisPanel,
-  enterKey: enterKey,
-  leftArrowRightArrow: leftArrowRightArrow,
-  upArrowDownArrow: upArrowDownArrow,
-  pageUpPageDown: pageUpPageDown,
-  homeEnd: homeEnd,
-  escape: escape,
-  questionMark: questionMark,
-  selectFocusedDate: selectFocusedDate,
-  moveFocusByOneDay: moveFocusByOneDay,
-  moveFocusByOneWeek: moveFocusByOneWeek,
-  moveFocusByOneMonth: moveFocusByOneMonth,
-  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
-  returnFocusToInput: returnFocusToInput,
-  keyboardNavigationInstructions: keyboardNavigationInstructions,
-  chooseAvailableDate: chooseAvailableDate,
-  dateIsUnavailable: dateIsUnavailable,
-  dateIsSelected: dateIsSelected
-};
+/**
+ * Return focusables in a row element, excluding those from other branches
+ * nested within the row.
+ *
+ * @param {Element} rowElement The DOM element representing the row.
+ *
+ * @return {?Array} The array of focusables in the row.
+ */

-var SingleDatePickerInputPhrases = exports.SingleDatePickerInputPhrases = {
-  clearDate: clearDate,
-  keyboardNavigationInstructions: keyboardNavigationInstructions
-};
+function getRowFocusables(rowElement) {
+  const focusablesInRow = external_wp_dom_namespaceObject.focus.focusable.find(rowElement, {
+    sequential: true
+  });

-var DayPickerPhrases = exports.DayPickerPhrases = {
-  calendarLabel: calendarLabel,
-  jumpToPrevMonth: jumpToPrevMonth,
-  jumpToNextMonth: jumpToNextMonth,
-  keyboardShortcuts: keyboardShortcuts,
-  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
-  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
-  openThisPanel: openThisPanel,
-  enterKey: enterKey,
-  leftArrowRightArrow: leftArrowRightArrow,
-  upArrowDownArrow: upArrowDownArrow,
-  pageUpPageDown: pageUpPageDown,
-  homeEnd: homeEnd,
-  escape: escape,
-  questionMark: questionMark,
-  selectFocusedDate: selectFocusedDate,
-  moveFocusByOneDay: moveFocusByOneDay,
-  moveFocusByOneWeek: moveFocusByOneWeek,
-  moveFocusByOneMonth: moveFocusByOneMonth,
-  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
-  returnFocusToInput: returnFocusToInput,
-  chooseAvailableStartDate: chooseAvailableStartDate,
-  chooseAvailableEndDate: chooseAvailableEndDate,
-  chooseAvailableDate: chooseAvailableDate,
-  dateIsUnavailable: dateIsUnavailable,
-  dateIsSelected: dateIsSelected
-};
+  if (!focusablesInRow || !focusablesInRow.length) {
+    return;
+  }

-var DayPickerKeyboardShortcutsPhrases = exports.DayPickerKeyboardShortcutsPhrases = {
-  keyboardShortcuts: keyboardShortcuts,
-  showKeyboardShortcutsPanel: showKeyboardShortcutsPanel,
-  hideKeyboardShortcutsPanel: hideKeyboardShortcutsPanel,
-  openThisPanel: openThisPanel,
-  enterKey: enterKey,
-  leftArrowRightArrow: leftArrowRightArrow,
-  upArrowDownArrow: upArrowDownArrow,
-  pageUpPageDown: pageUpPageDown,
-  homeEnd: homeEnd,
-  escape: escape,
-  questionMark: questionMark,
-  selectFocusedDate: selectFocusedDate,
-  moveFocusByOneDay: moveFocusByOneDay,
-  moveFocusByOneWeek: moveFocusByOneWeek,
-  moveFocusByOneMonth: moveFocusByOneMonth,
-  moveFocustoStartAndEndOfWeek: moveFocustoStartAndEndOfWeek,
-  returnFocusToInput: returnFocusToInput
-};
+  return focusablesInRow.filter(focusable => {
+    return focusable.closest('[role="row"]') === rowElement;
+  });
+}
+/**
+ * Renders both a table and tbody element, used to create a tree hierarchy.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/components/src/tree-grid/README.md
+ * @param {Object}    props               Component props.
+ * @param {WPElement} props.children      Children to be rendered.
+ * @param {Function}  props.onExpandRow   Callback to fire when row is expanded.
+ * @param {Function}  props.onCollapseRow Callback to fire when row is collapsed.
+ * @param {Object}    ref                 A ref to the underlying DOM table element.
+ */

-var DayPickerNavigationPhrases = exports.DayPickerNavigationPhrases = {
-  jumpToPrevMonth: jumpToPrevMonth,
-  jumpToNextMonth: jumpToNextMonth
-};

-var CalendarDayPhrases = exports.CalendarDayPhrases = {
-  chooseAvailableDate: chooseAvailableDate,
-  dateIsUnavailable: dateIsUnavailable,
-  dateIsSelected: dateIsSelected
-};
+function TreeGrid(_ref, ref) {
+  let {
+    children,
+    onExpandRow = () => {},
+    onCollapseRow = () => {},
+    ...props
+  } = _ref;
+  const onKeyDown = (0,external_wp_element_namespaceObject.useCallback)(event => {
+    const {
+      keyCode,
+      metaKey,
+      ctrlKey,
+      altKey,
+      shiftKey
+    } = event;
+    const hasModifierKeyPressed = metaKey || ctrlKey || altKey || shiftKey;

-/***/ }),
+    if (hasModifierKeyPressed || !(0,external_lodash_namespaceObject.includes)([external_wp_keycodes_namespaceObject.UP, external_wp_keycodes_namespaceObject.DOWN, external_wp_keycodes_namespaceObject.LEFT, external_wp_keycodes_namespaceObject.RIGHT], keyCode)) {
+      return;
+    } // The event will be handled, stop propagation.

-/***/ "vYfR":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+    event.stopPropagation();
+    const {
+      activeElement
+    } = document;
+    const {
+      currentTarget: treeGridElement
+    } = event;

+    if (!treeGridElement.contains(activeElement)) {
+      return;
+    } // Calculate the columnIndex of the active element.

-var has = __webpack_require__("oNNP");

-var assertRecord = __webpack_require__("10Kj");
+    const activeRow = activeElement.closest('[role="row"]');
+    const focusablesInRow = getRowFocusables(activeRow);
+    const currentColumnIndex = focusablesInRow.indexOf(activeElement);

-var Type = __webpack_require__("PoQ0");
+    if ((0,external_lodash_namespaceObject.includes)([external_wp_keycodes_namespaceObject.LEFT, external_wp_keycodes_namespaceObject.RIGHT], keyCode)) {
+      // Calculate to the next element.
+      let nextIndex;

-// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor
+      if (keyCode === external_wp_keycodes_namespaceObject.LEFT) {
+        nextIndex = Math.max(0, currentColumnIndex - 1);
+      } else {
+        nextIndex = Math.min(currentColumnIndex + 1, focusablesInRow.length - 1);
+      } // Focus is either at the left or right edge of the grid.

-module.exports = function IsAccessorDescriptor(Desc) {
-	if (typeof Desc === 'undefined') {
-		return false;
-	}

-	assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
+      if (nextIndex === currentColumnIndex) {
+        if (keyCode === external_wp_keycodes_namespaceObject.LEFT) {
+          var _activeRow$ariaLevel, _getRowFocusables, _getRowFocusables$;

-	if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) {
-		return false;
-	}
+          // Left:
+          // If a row is focused, and it is expanded, collapses the current row.
+          if (activeRow.getAttribute('aria-expanded') === 'true') {
+            onCollapseRow(activeRow);
+            event.preventDefault();
+            return;
+          } // If a row is focused, and it is collapsed, moves to the parent row (if there is one).

-	return true;
-};

+          const level = Math.max(parseInt((_activeRow$ariaLevel = activeRow === null || activeRow === void 0 ? void 0 : activeRow.ariaLevel) !== null && _activeRow$ariaLevel !== void 0 ? _activeRow$ariaLevel : 1, 10) - 1, 1);
+          const rows = Array.from(treeGridElement.querySelectorAll('[role="row"]'));
+          let parentRow = activeRow;
+          const currentRowIndex = rows.indexOf(activeRow);

-/***/ }),
+          for (let i = currentRowIndex; i >= 0; i--) {
+            if (parseInt(rows[i].ariaLevel, 10) === level) {
+              parentRow = rows[i];
+              break;
+            }
+          }

-/***/ "w95h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+          (_getRowFocusables = getRowFocusables(parentRow)) === null || _getRowFocusables === void 0 ? void 0 : (_getRowFocusables$ = _getRowFocusables[0]) === null || _getRowFocusables$ === void 0 ? void 0 : _getRowFocusables$.focus();
+        }

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+        if (keyCode === external_wp_keycodes_namespaceObject.RIGHT) {
+          // Right:
+          // If a row is focused, and it is collapsed, expands the current row.
+          if (activeRow.getAttribute('aria-expanded') === 'false') {
+            onExpandRow(activeRow);
+            event.preventDefault();
+            return;
+          } // If a row is focused, and it is expanded, focuses the rightmost cell in the row.


-/**
- * WordPress dependencies
- */
+          const focusableItems = getRowFocusables(activeRow);

-const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (close);
+          if (focusableItems.length > 0) {
+            var _focusableItems;

+            (_focusableItems = focusableItems[focusableItems.length - 1]) === null || _focusableItems === void 0 ? void 0 : _focusableItems.focus();
+          }
+        } // Prevent key use for anything else. For example, Voiceover
+        // will start reading text on continued use of left/right arrow
+        // keys.

-/***/ }),

-/***/ "wTIp":
-/***/ (function(module, exports, __webpack_require__) {
+        event.preventDefault();
+        return;
+      } // Focus the next element.

-"use strict";

+      focusablesInRow[nextIndex].focus(); // Prevent key use for anything else. This ensures Voiceover
+      // doesn't try to handle key navigation.

-var GetIntrinsic = __webpack_require__("j1Hc");
+      event.preventDefault();
+    } else if ((0,external_lodash_namespaceObject.includes)([external_wp_keycodes_namespaceObject.UP, external_wp_keycodes_namespaceObject.DOWN], keyCode)) {
+      // Calculate the rowIndex of the next row.
+      const rows = Array.from(treeGridElement.querySelectorAll('[role="row"]'));
+      const currentRowIndex = rows.indexOf(activeRow);
+      let nextRowIndex;

-var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
+      if (keyCode === external_wp_keycodes_namespaceObject.UP) {
+        nextRowIndex = Math.max(0, currentRowIndex - 1);
+      } else {
+        nextRowIndex = Math.min(currentRowIndex + 1, rows.length - 1);
+      } // Focus is either at the top or bottom edge of the grid. Do nothing.

-if ($defineProperty) {
-	try {
-		$defineProperty({}, 'a', { value: 1 });
-	} catch (e) {
-		// IE 8 has a broken defineProperty
-		$defineProperty = null;
-	}
-}

-// node v0.6 has a bug where array lengths can be Set but not Defined
-var hasArrayLengthDefineBug = Object.defineProperty && Object.defineProperty([], 'length', { value: 1 }).length === 0;
+      if (nextRowIndex === currentRowIndex) {
+        // Prevent key use for anything else. For example, Voiceover
+        // will start navigating horizontally when reaching the vertical
+        // bounds of a table.
+        event.preventDefault();
+        return;
+      } // Get the focusables in the next row.

-// eslint-disable-next-line global-require
-var isArray = hasArrayLengthDefineBug && __webpack_require__("9cOx"); // this does not depend on any other AOs.

-var callBound = __webpack_require__("qeuH");
+      const focusablesInNextRow = getRowFocusables(rows[nextRowIndex]); // If for some reason there are no focusables in the next row, do nothing.

-var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
+      if (!focusablesInNextRow || !focusablesInNextRow.length) {
+        // Prevent key use for anything else. For example, Voiceover
+        // will still focus text when using arrow keys, while this
+        // component should limit navigation to focusables.
+        event.preventDefault();
+        return;
+      } // Try to focus the element in the next row that's at a similar column to the activeElement.

-// eslint-disable-next-line max-params
-module.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
-	if (!$defineProperty) {
-		if (!IsDataDescriptor(desc)) {
-			// ES3 does not support getters/setters
-			return false;
-		}
-		if (!desc['[[Configurable]]'] || !desc['[[Writable]]']) {
-			return false;
-		}

-		// fallback for ES3
-		if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {
-			// a non-enumerable existing property
-			return false;
-		}
+      const nextIndex = Math.min(currentColumnIndex, focusablesInNextRow.length - 1);
+      focusablesInNextRow[nextIndex].focus(); // Prevent key use for anything else. This ensures Voiceover
+      // doesn't try to handle key navigation.

-		// property does not exist at all, or exists but is enumerable
-		var V = desc['[[Value]]'];
-		// eslint-disable-next-line no-param-reassign
-		O[P] = V; // will use [[Define]]
-		return SameValue(O[P], V);
-	}
-	if (
-		hasArrayLengthDefineBug
-		&& P === 'length'
-		&& '[[Value]]' in desc
-		&& isArray(O)
-		&& O.length !== desc['[[Value]]']
-	) {
-		// eslint-disable-next-line no-param-reassign
-		O.length = desc['[[Value]]'];
-		return O.length === desc['[[Value]]'];
-	}
+      event.preventDefault();
+    }
+  }, [onExpandRow, onCollapseRow]);
+  /* Disable reason: A treegrid is implemented using a table element. */

-	$defineProperty(O, P, FromPropertyDescriptor(desc));
-	return true;
-};
+  /* eslint-disable jsx-a11y/no-noninteractive-element-to-interactive-role */

+  return (0,external_wp_element_namespaceObject.createElement)(RovingTabIndex, null, (0,external_wp_element_namespaceObject.createElement)("table", extends_extends({}, props, {
+    role: "treegrid",
+    onKeyDown: onKeyDown,
+    ref: ref
+  }), (0,external_wp_element_namespaceObject.createElement)("tbody", null, children)));
+  /* eslint-enable jsx-a11y/no-noninteractive-element-to-interactive-role */
+}

-/***/ }),
+/* harmony default export */ var tree_grid = ((0,external_wp_element_namespaceObject.forwardRef)(TreeGrid));

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }

-    return target;
-  };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/row.js

-  return _extends.apply(this, arguments);
-}

-/***/ }),

-/***/ "wy2R":
-/***/ (function(module, exports) {
+/**
+ * WordPress dependencies
+ */

-(function() { module.exports = window["moment"]; }());

-/***/ }),
+function TreeGridRow(_ref, ref) {
+  let {
+    children,
+    level,
+    positionInSet,
+    setSize,
+    isExpanded,
+    ...props
+  } = _ref;
+  return (// Disable reason: Due to an error in the ARIA 1.1 specification, the
+    // aria-posinset and aria-setsize properties are not supported on row
+    // elements. This is being corrected in ARIA 1.2. Consequently, the
+    // linting rule fails when validating this markup.
+    //
+    // eslint-disable-next-line jsx-a11y/role-supports-aria-props
+    (0,external_wp_element_namespaceObject.createElement)("tr", extends_extends({}, props, {
+      ref: ref,
+      role: "row",
+      "aria-level": level,
+      "aria-posinset": positionInSet,
+      "aria-setsize": setSize,
+      "aria-expanded": isExpanded
+    }), children)
+  );
+}

-/***/ "xEte":
-/***/ (function(module, exports, __webpack_require__) {
+/* harmony default export */ var tree_grid_row = ((0,external_wp_element_namespaceObject.forwardRef)(TreeGridRow));

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/roving-tab-index-item.js


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+/**
+ * WordPress dependencies
+ */

-var _react = __webpack_require__("cDcd");
+/**
+ * Internal dependencies
+ */

-var _react2 = _interopRequireDefault(_react);

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
+/* harmony default export */ var roving_tab_index_item = ((0,external_wp_element_namespaceObject.forwardRef)(function RovingTabIndexItem(_ref, forwardedRef) {
+  let {
+    children,
+    as: Component,
+    ...props
+  } = _ref;
+  const localRef = (0,external_wp_element_namespaceObject.useRef)();
+  const ref = forwardedRef || localRef;
+  const {
+    lastFocusedElement,
+    setLastFocusedElement
+  } = useRovingTabIndexContext();
+  let tabIndex;

-var CloseButton = function () {
-  function CloseButton(props) {
-    return _react2['default'].createElement(
-      'svg',
-      props,
-      _react2['default'].createElement('path', {
-        fillRule: 'evenodd',
-        d: 'M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z'
-      })
-    );
+  if (lastFocusedElement) {
+    tabIndex = lastFocusedElement === ref.current ? 0 : -1;
   }

-  return CloseButton;
-}();
+  const onFocus = event => setLastFocusedElement(event.target);

-CloseButton.defaultProps = {
-  viewBox: '0 0 12 12'
-};
-exports['default'] = CloseButton;
+  const allProps = {
+    ref,
+    tabIndex,
+    onFocus,
+    ...props
+  };

-/***/ }),
+  if (typeof children === 'function') {
+    return children(allProps);
+  }

-/***/ "xOhs":
-/***/ (function(module, exports, __webpack_require__) {
+  return (0,external_wp_element_namespaceObject.createElement)(Component, allProps, children);
+}));

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/item.js


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-var core = {
-  white: '#fff',
-  gray: '#484848',
-  grayLight: '#82888a',
-  grayLighter: '#cacccd',
-  grayLightest: '#f2f2f2',

-  borderMedium: '#c4c4c4',
-  border: '#dbdbdb',
-  borderLight: '#e4e7e7',
-  borderLighter: '#eceeee',
-  borderBright: '#f4f5f5',
+/**
+ * WordPress dependencies
+ */

-  primary: '#00a699',
-  primaryShade_1: '#33dacd',
-  primaryShade_2: '#66e2da',
-  primaryShade_3: '#80e8e0',
-  primaryShade_4: '#b2f1ec',
-  primary_dark: '#008489',
+/**
+ * Internal dependencies
+ */

-  secondary: '#007a87',

-  yellow: '#ffe8bc',
-  yellow_dark: '#ffce71'
-};
+/* harmony default export */ var tree_grid_item = ((0,external_wp_element_namespaceObject.forwardRef)(function TreeGridItem(_ref, ref) {
+  let {
+    children,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(roving_tab_index_item, extends_extends({
+    ref: ref
+  }, props), children);
+}));

-exports['default'] = {
-  reactDates: {
-    zIndex: 0,
-    border: {
-      input: {
-        border: 0,
-        borderTop: 0,
-        borderRight: 0,
-        borderBottom: '2px solid transparent',
-        borderLeft: 0,
-        outlineFocused: 0,
-        borderFocused: 0,
-        borderTopFocused: 0,
-        borderLeftFocused: 0,
-        borderBottomFocused: '2px solid ' + String(core.primary_dark),
-        borderRightFocused: 0,
-        borderRadius: 0
-      },
-      pickerInput: {
-        borderWidth: 1,
-        borderStyle: 'solid',
-        borderRadius: 2
-      }
-    },
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/tree-grid/cell.js

-    color: {
-      core: core,

-      disabled: core.grayLightest,

-      background: core.white,
-      backgroundDark: '#f2f2f2',
-      backgroundFocused: core.white,
-      border: 'rgb(219, 219, 219)',
-      text: core.gray,
-      textDisabled: core.border,
-      textFocused: '#007a87',
-      placeholderText: '#757575',
+/**
+ * WordPress dependencies
+ */

-      outside: {
-        backgroundColor: core.white,
-        backgroundColor_active: core.white,
-        backgroundColor_hover: core.white,
-        color: core.gray,
-        color_active: core.gray,
-        color_hover: core.gray
-      },
+/**
+ * Internal dependencies
+ */

-      highlighted: {
-        backgroundColor: core.yellow,
-        backgroundColor_active: core.yellow_dark,
-        backgroundColor_hover: core.yellow_dark,
-        color: core.gray,
-        color_active: core.gray,
-        color_hover: core.gray
-      },

-      minimumNights: {
-        backgroundColor: core.white,
-        backgroundColor_active: core.white,
-        backgroundColor_hover: core.white,
-        borderColor: core.borderLighter,
-        color: core.grayLighter,
-        color_active: core.grayLighter,
-        color_hover: core.grayLighter
-      },
+/* harmony default export */ var cell = ((0,external_wp_element_namespaceObject.forwardRef)(function TreeGridCell(_ref, ref) {
+  let {
+    children,
+    withoutGridItem = false,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("td", extends_extends({}, props, {
+    role: "gridcell"
+  }), withoutGridItem ? children : (0,external_wp_element_namespaceObject.createElement)(tree_grid_item, {
+    ref: ref
+  }, children));
+}));

-      hoveredSpan: {
-        backgroundColor: core.primaryShade_4,
-        backgroundColor_active: core.primaryShade_3,
-        backgroundColor_hover: core.primaryShade_4,
-        borderColor: core.primaryShade_3,
-        borderColor_active: core.primaryShade_3,
-        borderColor_hover: core.primaryShade_3,
-        color: core.secondary,
-        color_active: core.secondary,
-        color_hover: core.secondary
-      },
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/truncate/component.js

-      selectedSpan: {
-        backgroundColor: core.primaryShade_2,
-        backgroundColor_active: core.primaryShade_1,
-        backgroundColor_hover: core.primaryShade_1,
-        borderColor: core.primaryShade_1,
-        borderColor_active: core.primary,
-        borderColor_hover: core.primary,
-        color: core.white,
-        color_active: core.white,
-        color_hover: core.white
-      },

-      selected: {
-        backgroundColor: core.primary,
-        backgroundColor_active: core.primary,
-        backgroundColor_hover: core.primary,
-        borderColor: core.primary,
-        borderColor_active: core.primary,
-        borderColor_hover: core.primary,
-        color: core.white,
-        color_active: core.white,
-        color_hover: core.white
-      },

-      blocked_calendar: {
-        backgroundColor: core.grayLighter,
-        backgroundColor_active: core.grayLighter,
-        backgroundColor_hover: core.grayLighter,
-        borderColor: core.grayLighter,
-        borderColor_active: core.grayLighter,
-        borderColor_hover: core.grayLighter,
-        color: core.grayLight,
-        color_active: core.grayLight,
-        color_hover: core.grayLight
-      },
+/**
+ * Internal dependencies
+ */

-      blocked_out_of_range: {
-        backgroundColor: core.white,
-        backgroundColor_active: core.white,
-        backgroundColor_hover: core.white,
-        borderColor: core.borderLight,
-        borderColor_active: core.borderLight,
-        borderColor_hover: core.borderLight,
-        color: core.grayLighter,
-        color_active: core.grayLighter,
-        color_hover: core.grayLighter
-      }
-    },

-    spacing: {
-      dayPickerHorizontalPadding: 9,
-      captionPaddingTop: 22,
-      captionPaddingBottom: 37,
-      inputPadding: 0,
-      displayTextPaddingVertical: undefined,
-      displayTextPaddingTop: 11,
-      displayTextPaddingBottom: 9,
-      displayTextPaddingHorizontal: undefined,
-      displayTextPaddingLeft: 11,
-      displayTextPaddingRight: 11,
-      displayTextPaddingVertical_small: undefined,
-      displayTextPaddingTop_small: 7,
-      displayTextPaddingBottom_small: 5,
-      displayTextPaddingHorizontal_small: undefined,
-      displayTextPaddingLeft_small: 7,
-      displayTextPaddingRight_small: 7
-    },

-    sizing: {
-      inputWidth: 130,
-      inputWidth_small: 97,
-      arrowWidth: 24
-    },
+/**
+ * @param {import('../ui/context').WordPressComponentProps<import('./types').Props, 'span'>} props
+ * @param {import('react').Ref<any>}                                                         forwardedRef
+ */
+
+function component_Truncate(props, forwardedRef) {
+  const truncateProps = useTruncate(props);
+  return (0,external_wp_element_namespaceObject.createElement)(component, extends_extends({
+    as: "span"
+  }, truncateProps, {
+    ref: forwardedRef
+  }));
+}
+/**
+ * `Truncate` is a typography primitive that trims text content.
+ * For almost all cases, it is recommended that `Text`, `Heading`, or
+ * `Subheading` is used to render text content. However,`Truncate` is
+ * available for custom implementations.
+ *
+ * @example
+ * ```jsx
+ * import { __experimentalTruncate as Truncate } from `@wordpress/components`;
+ *
+ * function Example() {
+ * 	return (
+ * 		<Truncate>
+ * 			Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ex
+ * 			neque, vulputate a diam et, luctus convallis lacus. Vestibulum ac
+ * 			mollis mi. Morbi id elementum massa.
+ * 		</Truncate>
+ * 	);
+ * }
+ * ```
+ */
+

-    noScrollBarOnVerticalScrollable: false,
+const ConnectedTruncate = contextConnect(component_Truncate, 'Truncate');
+/* harmony default export */ var truncate_component = (ConnectedTruncate);

-    font: {
-      size: 14,
-      captionSize: 18,
-      input: {
-        size: 19,
-        lineHeight: '24px',
-        size_small: 15,
-        lineHeight_small: '18px',
-        letterSpacing_small: '0.2px',
-        styleDisabled: 'italic'
-      }
-    }
-  }
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/isolated-event-container/index.js

-/***/ }),

-/***/ "xoj2":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+/**
+ * WordPress dependencies
+ */


-var implementation = __webpack_require__("rQy3");

-module.exports = function getPolyfill() {
-	return typeof Object.values === 'function' ? Object.values : implementation;
-};
+function stopPropagation(event) {
+  event.stopPropagation();
+}

+/* harmony default export */ var isolated_event_container = ((0,external_wp_element_namespaceObject.forwardRef)((_ref, ref) => {
+  let {
+    children,
+    ...props
+  } = _ref;
+  external_wp_deprecated_default()('wp.components.IsolatedEventContainer', {
+    since: '5.7'
+  }); // Disable reason: this stops certain events from propagating outside of the component.
+  //   - onMouseDown is disabled as this can cause interactions with other DOM elements

-/***/ }),
+  /* eslint-disable jsx-a11y/no-static-element-interactions */

-/***/ "yLpj":
-/***/ (function(module, exports) {
+  return (0,external_wp_element_namespaceObject.createElement)("div", extends_extends({}, props, {
+    ref: ref,
+    onMouseDown: stopPropagation
+  }), children);
+  /* eslint-enable jsx-a11y/no-static-element-interactions */
+}));

-var g;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/z-stack/styles.js

-// This works in non-strict mode
-g = (function() {
-	return this;
-})();

-try {
-	// This works if eval is allowed (see CSP)
-	g = g || new Function("return this")();
-} catch (e) {
-	// This works if the window reference is available
-	if (typeof window === "object") g = window;
-}
+function z_stack_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }

-// g can still be undefined, but nothing to do about it...
-// We return undefined, instead of nothing here, so it's
-// easier to handle this case. if(!global) { ...}
+/**
+ * External dependencies
+ */

-module.exports = g;
+const ZStackView = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ebn2ljm1"
+} : 0)( true ? {
+  name: "5ob2ly",
+  styles: "display:flex;position:relative"
+} : 0);
+const ZStackChildView = emotion_styled_base_browser_esm("div",  true ? {
+  target: "ebn2ljm0"
+} : 0)(_ref => {
+  let {
+    isLayered,
+    offsetAmount
+  } = _ref;
+  return isLayered ? /*#__PURE__*/emotion_react_browser_esm_css({
+    marginLeft: offsetAmount
+  },  true ? "" : 0,  true ? "" : 0) : /*#__PURE__*/emotion_react_browser_esm_css({
+    right: offsetAmount * -1
+  },  true ? "" : 0,  true ? "" : 0);
+}, " ", _ref2 => {
+  let {
+    isLayered
+  } = _ref2;
+  return isLayered ? positionAbsolute : positionRelative;
+}, " ", _ref3 => {
+  let {
+    zIndex
+  } = _ref3;
+  return /*#__PURE__*/emotion_react_browser_esm_css({
+    zIndex
+  },  true ? "" : 0,  true ? "" : 0);
+}, ";" + ( true ? "" : 0));
+const positionAbsolute =  true ? {
+  name: "a4hmbt",
+  styles: "position:absolute"
+} : 0;
+const positionRelative =  true ? {
+  name: "bjn8wh",
+  styles: "position:relative"
+} : 0;

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/z-stack/component.js

-/***/ }),

-/***/ "yLpt":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

+/**
+ * WordPress dependencies
+ */

-var implementation = __webpack_require__("FufO");
+/**
+ * Internal dependencies
+ */

-var lacksProperEnumerationOrder = function () {
-	if (!Object.assign) {
-		return false;
-	}
-	/*
-	 * v8, specifically in node 4.x, has a bug with incorrect property enumeration order
-	 * note: this does not detect the bug unless there's 20 characters
-	 */
-	var str = 'abcdefghijklmnopqrst';
-	var letters = str.split('');
-	var map = {};
-	for (var i = 0; i < letters.length; ++i) {
-		map[letters[i]] = letters[i];
-	}
-	var obj = Object.assign({}, map);
-	var actual = '';
-	for (var k in obj) {
-		actual += k;
-	}
-	return str !== actual;
-};

-var assignHasPendingExceptions = function () {
-	if (!Object.assign || !Object.preventExtensions) {
-		return false;
-	}
-	/*
-	 * Firefox 37 still has "pending exception" logic in its Object.assign implementation,
-	 * which is 72% slower than our shim, and Firefox 40's native implementation.
-	 */
-	var thrower = Object.preventExtensions({ 1: 2 });
-	try {
-		Object.assign(thrower, 'xy');
-	} catch (e) {
-		return thrower[1] === 'y';
-	}
-	return false;
-};

-module.exports = function getPolyfill() {
-	if (!Object.assign) {
-		return implementation;
-	}
-	if (lacksProperEnumerationOrder()) {
-		return implementation;
-	}
-	if (assignHasPendingExceptions()) {
-		return implementation;
-	}
-	return Object.assign;
-};


-/***/ }),
+function ZStack(props, forwardedRef) {
+  const {
+    children,
+    className,
+    isLayered = true,
+    isReversed = false,
+    offset = 0,
+    ...otherProps
+  } = useContextSystem(props, 'ZStack');
+  const validChildren = getValidChildren(children);
+  const childrenLastIndex = validChildren.length - 1;
+  const clonedChildren = validChildren.map((child, index) => {
+    const zIndex = isReversed ? childrenLastIndex - index : index;
+    const offsetAmount = offset * index;
+    const key = (0,external_wp_element_namespaceObject.isValidElement)(child) ? child.key : index;
+    return (0,external_wp_element_namespaceObject.createElement)(ZStackChildView, {
+      isLayered: isLayered,
+      offsetAmount: offsetAmount,
+      zIndex: zIndex,
+      key: key
+    }, child);
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(ZStackView, extends_extends({}, otherProps, {
+    className: className,
+    ref: forwardedRef
+  }), clonedChildren);
+}

-/***/ "yN6O":
-/***/ (function(module, exports, __webpack_require__) {
+/* harmony default export */ var z_stack_component = (contextConnect(ZStack, 'ZStack'));

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/navigate-regions/index.js


-var ArraySpeciesCreate = __webpack_require__("KtDd");
-var FlattenIntoArray = __webpack_require__("Yesc");
-var Get = __webpack_require__("aBsX");
-var ToIntegerOrInfinity = __webpack_require__("3iup");
-var ToLength = __webpack_require__("3HW2");
-var ToObject = __webpack_require__("PFEc");
+/**
+ * WordPress dependencies
+ */

-module.exports = function flat() {
-	var O = ToObject(this);
-	var sourceLen = ToLength(Get(O, 'length'));

-	var depthNum = 1;
-	if (arguments.length > 0 && typeof arguments[0] !== 'undefined') {
-		depthNum = ToIntegerOrInfinity(arguments[0]);
-	}

-	var A = ArraySpeciesCreate(O, 0);
-	FlattenIntoArray(A, O, sourceLen, 0, depthNum);
-	return A;
+const defaultShortcuts = {
+  previous: [{
+    modifier: 'ctrlShift',
+    character: '`'
+  }, {
+    modifier: 'access',
+    character: 'p'
+  }],
+  next: [{
+    modifier: 'ctrl',
+    character: '`'
+  }, {
+    modifier: 'access',
+    character: 'n'
+  }]
 };
+function useNavigateRegions() {
+  let shortcuts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultShortcuts;
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const [isFocusingRegions, setIsFocusingRegions] = (0,external_wp_element_namespaceObject.useState)(false);

+  function focusRegion(offset) {
+    const regions = Array.from(ref.current.querySelectorAll('[role="region"]'));

-/***/ }),
+    if (!regions.length) {
+      return;
+    }

-/***/ "yc2e":
-/***/ (function(module, exports, __webpack_require__) {
+    let nextRegion = regions[0];
+    const selectedIndex = regions.indexOf(ref.current.ownerDocument.activeElement);

-"use strict";
+    if (selectedIndex !== -1) {
+      let nextIndex = selectedIndex + offset;
+      nextIndex = nextIndex === -1 ? regions.length - 1 : nextIndex;
+      nextIndex = nextIndex === regions.length ? 0 : nextIndex;
+      nextRegion = regions[nextIndex];
+    }

+    nextRegion.focus();
+    setIsFocusingRegions(true);
+  }

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports['default'] = getPhrasePropTypes;
+  const clickRef = (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
+    function onClick() {
+      setIsFocusingRegions(false);
+    }

-var _object = __webpack_require__("Koq/");
+    element.addEventListener('click', onClick);
+    return () => {
+      element.removeEventListener('click', onClick);
+    };
+  }, [setIsFocusingRegions]);
+  return {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, clickRef]),
+    className: isFocusingRegions ? 'is-focusing-regions' : '',

-var _object2 = _interopRequireDefault(_object);
+    onKeyDown(event) {
+      if (shortcuts.previous.some(_ref => {
+        let {
+          modifier,
+          character
+        } = _ref;
+        return external_wp_keycodes_namespaceObject.isKeyboardEvent[modifier](event, character);
+      })) {
+        focusRegion(-1);
+      } else if (shortcuts.next.some(_ref2 => {
+        let {
+          modifier,
+          character
+        } = _ref2;
+        return external_wp_keycodes_namespaceObject.isKeyboardEvent[modifier](event, character);
+      })) {
+        focusRegion(1);
+      }
+    }

-var _propTypes = __webpack_require__("17x9");
+  };
+}
+/* harmony default export */ var navigate_regions = ((0,external_wp_compose_namespaceObject.createHigherOrderComponent)(Component => _ref3 => {
+  let {
+    shortcuts,
+    ...props
+  } = _ref3;
+  return (0,external_wp_element_namespaceObject.createElement)("div", useNavigateRegions(shortcuts), (0,external_wp_element_namespaceObject.createElement)(Component, props));
+}, 'navigateRegions'));

-var _propTypes2 = _interopRequireDefault(_propTypes);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-constrained-tabbing/index.js

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+/**
+ * WordPress dependencies
+ */

-function getPhrasePropTypes(defaultPhrases) {
-  return Object.keys(defaultPhrases).reduce(function (phrases, key) {
-    return (0, _object2['default'])({}, phrases, _defineProperty({}, key, _propTypes2['default'].oneOfType([_propTypes2['default'].string, _propTypes2['default'].func, _propTypes2['default'].node])));
-  }, {});
-}
+const withConstrainedTabbing = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => function ComponentWithConstrainedTabbing(props) {
+  const ref = (0,external_wp_compose_namespaceObject.useConstrainedTabbing)();
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: ref,
+    tabIndex: "-1"
+  }, (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, props));
+}, 'withConstrainedTabbing');
+/* harmony default export */ var with_constrained_tabbing = (withConstrainedTabbing);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-fallback-styles/index.js

-/***/ "ym77":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* unused harmony export unstable_Id */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return unstable_useId; });
-/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
-/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("hE48");
-/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("qdes");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _IdProvider_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("KCH1");

+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */



+/* harmony default export */ var with_fallback_styles = (mapNodeToProps => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => {
+  return class extends external_wp_element_namespaceObject.Component {
+    constructor() {
+      super(...arguments);
+      this.nodeRef = this.props.node;
+      this.state = {
+        fallbackStyles: undefined,
+        grabStylesCompleted: false
+      };
+      this.bindRef = this.bindRef.bind(this);
+    }

-// Automatically generated
-var ID_STATE_KEYS = ["baseId", "unstable_idCountRef", "setBaseId"];
-var ID_KEYS = [].concat(ID_STATE_KEYS, ["id"]);
+    bindRef(node) {
+      if (!node) {
+        return;
+      }

-var unstable_useId = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
-  keys: ID_KEYS,
-  useOptions: function useOptions(options, htmlProps) {
-    var generateId = Object(react__WEBPACK_IMPORTED_MODULE_3__["useContext"])(_IdProvider_js__WEBPACK_IMPORTED_MODULE_4__[/* unstable_IdContext */ "a"]);
+      this.nodeRef = node;
+    }

-    var _React$useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(function () {
-      // This comes from useIdState
-      if (options.unstable_idCountRef) {
-        options.unstable_idCountRef.current += 1;
-        return "-" + options.unstable_idCountRef.current;
-      } // If there's no useIdState, we check if `baseId` was passed (as a prop,
-      // not from useIdState).
+    componentDidMount() {
+      this.grabFallbackStyles();
+    }

+    componentDidUpdate() {
+      this.grabFallbackStyles();
+    }

-      if (options.baseId) {
-        return "-" + generateId("");
-      }
+    grabFallbackStyles() {
+      const {
+        grabStylesCompleted,
+        fallbackStyles
+      } = this.state;

-      return "";
-    }),
-        suffix = _React$useState[0]; // `baseId` will be the prop passed directly as a prop or via useIdState.
-    // If there's neither, then it'll fallback to Context's generateId.
-    // This generateId can result in a sequential ID (if there's a Provider)
-    // or a random string (without Provider).
+      if (this.nodeRef && !grabStylesCompleted) {
+        const newFallbackStyles = mapNodeToProps(this.nodeRef, this.props);

+        if (!(0,external_lodash_namespaceObject.isEqual)(newFallbackStyles, fallbackStyles)) {
+          this.setState({
+            fallbackStyles: newFallbackStyles,
+            grabStylesCompleted: !!(0,external_lodash_namespaceObject.every)(newFallbackStyles)
+          });
+        }
+      }
+    }

-    var baseId = Object(react__WEBPACK_IMPORTED_MODULE_3__["useMemo"])(function () {
-      return options.baseId || generateId();
-    }, [options.baseId, generateId]);
-    var id = htmlProps.id || options.id || "" + baseId + suffix;
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])(Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({}, options), {}, {
-      id: id
-    });
-  },
-  useProps: function useProps(options, htmlProps) {
-    return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* a */ "b"])({
-      id: options.id
-    }, htmlProps);
-  }
-});
-var unstable_Id = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
-  as: "div",
-  useHook: unstable_useId
-});
+    render() {
+      const wrappedComponent = (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, extends_extends({}, this.props, this.state.fallbackStyles));
+      return this.props.node ? wrappedComponent : (0,external_wp_element_namespaceObject.createElement)("div", {
+        ref: this.bindRef
+      }, " ", wrappedComponent, " ");
+    }

+  };
+}, 'withFallbackStyles'));

+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-filters/index.js


-/***/ }),
+/**
+ * External dependencies
+ */

-/***/ "yyeE":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";


-var GetIntrinsic = __webpack_require__("j1Hc");

-var $Math = GetIntrinsic('%Math%');
-var $Number = GetIntrinsic('%Number%');
+const ANIMATION_FRAME_PERIOD = 16;
+/**
+ * Creates a higher-order component which adds filtering capability to the
+ * wrapped component. Filters get applied when the original component is about
+ * to be mounted. When a filter is added or removed that matches the hook name,
+ * the wrapped component re-renders.
+ *
+ * @param {string} hookName Hook name exposed to be used by filters.
+ *
+ * @return {Function} Higher-order component factory.
+ */

-module.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;
+function withFilters(hookName) {
+  return (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(OriginalComponent => {
+    const namespace = 'core/with-filters/' + hookName;
+    /**
+     * The component definition with current filters applied. Each instance
+     * reuse this shared reference as an optimization to avoid excessive
+     * calls to `applyFilters` when many instances exist.
+     *
+     * @type {?Component}
+     */

+    let FilteredComponent;
+    /**
+     * Initializes the FilteredComponent variable once, if not already
+     * assigned. Subsequent calls are effectively a noop.
+     */

-/***/ }),
+    function ensureFilteredComponent() {
+      if (FilteredComponent === undefined) {
+        FilteredComponent = (0,external_wp_hooks_namespaceObject.applyFilters)(hookName, OriginalComponent);
+      }
+    }

-/***/ "zGFp":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    class FilteredComponentRenderer extends external_wp_element_namespaceObject.Component {
+      constructor() {
+        super(...arguments);
+        ensureFilteredComponent();
+      }

-"use strict";
-/* unused harmony export Role */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useRole; });
-/* harmony import */ var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("BZp5");
-/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("hE48");
-/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("qdes");
-/* harmony import */ var reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("uqqE");
+      componentDidMount() {
+        FilteredComponentRenderer.instances.push(this); // If there were previously no mounted instances for components
+        // filtered on this hook, add the hook handler.
+
+        if (FilteredComponentRenderer.instances.length === 1) {
+          (0,external_wp_hooks_namespaceObject.addAction)('hookRemoved', namespace, onHooksUpdated);
+          (0,external_wp_hooks_namespaceObject.addAction)('hookAdded', namespace, onHooksUpdated);
+        }
+      }

+      componentWillUnmount() {
+        FilteredComponentRenderer.instances = (0,external_lodash_namespaceObject.without)(FilteredComponentRenderer.instances, this); // If this was the last of the mounted components filtered on
+        // this hook, remove the hook handler.

+        if (FilteredComponentRenderer.instances.length === 0) {
+          (0,external_wp_hooks_namespaceObject.removeAction)('hookRemoved', namespace);
+          (0,external_wp_hooks_namespaceObject.removeAction)('hookAdded', namespace);
+        }
+      }

+      render() {
+        return (0,external_wp_element_namespaceObject.createElement)(FilteredComponent, this.props);
+      }

+    }

-// Automatically generated
-var ROLE_KEYS = ["unstable_system"];
+    FilteredComponentRenderer.instances = [];
+    /**
+     * Updates the FilteredComponent definition, forcing a render for each
+     * mounted instance. This occurs a maximum of once per animation frame.
+     */

-var useRole = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__[/* createHook */ "a"])({
-  name: "Role",
-  keys: ROLE_KEYS,
-  propsAreEqual: function propsAreEqual(prev, next) {
-    var prevSystem = prev.unstable_system,
-        prevProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(prev, ["unstable_system"]);
+    const throttledForceUpdate = (0,external_lodash_namespaceObject.debounce)(() => {
+      // Recreate the filtered component, only after delay so that it's
+      // computed once, even if many filters added.
+      FilteredComponent = (0,external_wp_hooks_namespaceObject.applyFilters)(hookName, OriginalComponent); // Force each instance to render.

-    var nextSystem = next.unstable_system,
-        nextProps = Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__[/* _ */ "a"])(next, ["unstable_system"]);
+      FilteredComponentRenderer.instances.forEach(instance => {
+        instance.forceUpdate();
+      });
+    }, ANIMATION_FRAME_PERIOD);
+    /**
+     * When a filter is added or removed for the matching hook name, each
+     * mounted instance should re-render with the new filters having been
+     * applied to the original component.
+     *
+     * @param {string} updatedHookName Name of the hook that was updated.
+     */

-    if (prevSystem !== nextSystem && !Object(reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__[/* shallowEqual */ "a"])(prevSystem, nextSystem)) {
-      return false;
+    function onHooksUpdated(updatedHookName) {
+      if (updatedHookName === hookName) {
+        throttledForceUpdate();
+      }
     }

-    return Object(reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__[/* shallowEqual */ "a"])(prevProps, nextProps);
-  }
-});
-var Role = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__[/* createComponent */ "a"])({
-  as: "div",
-  useHook: useRole
-});
+    return FilteredComponentRenderer;
+  }, 'withFilters');
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-focus-return/index.js


+/**
+ * WordPress dependencies
+ */

-/***/ }),

-/***/ "zN8g":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";
+/**
+ * Returns true if the given object is component-like. An object is component-
+ * like if it is an instance of wp.element.Component, or is a function.
+ *
+ * @param {*} object Object to test.
+ *
+ * @return {boolean} Whether object is component-like.
+ */
+
+function isComponentLike(object) {
+  return object instanceof external_wp_element_namespaceObject.Component || typeof object === 'function';
+}
+/**
+ * Higher Order Component used to be used to wrap disposable elements like
+ * sidebars, modals, dropdowns. When mounting the wrapped component, we track a
+ * reference to the current active element so we know where to restore focus
+ * when the component is unmounted.
+ *
+ * @param {(WPComponent|Object)} options The component to be enhanced with
+ *                                       focus return behavior, or an object
+ *                                       describing the component and the
+ *                                       focus return characteristics.
+ *
+ * @return {Function} Higher Order Component with the focus restauration behaviour.
+ */


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+/* harmony default export */ var with_focus_return = ((0,external_wp_compose_namespaceObject.createHigherOrderComponent)(options => {
+  const HoC = function () {
+    let {
+      onFocusReturn
+    } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    return WrappedComponent => {
+      const WithFocusReturn = props => {
+        const ref = (0,external_wp_compose_namespaceObject.useFocusReturn)(onFocusReturn);
+        return (0,external_wp_element_namespaceObject.createElement)("div", {
+          ref: ref
+        }, (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, props));
+      };

-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+      return WithFocusReturn;
+    };
+  };
+
+  if (isComponentLike(options)) {
+    const WrappedComponent = options;
+    return HoC()(WrappedComponent);
+  }
+
+  return HoC(options);
+}, 'withFocusReturn'));
+const with_focus_return_Provider = _ref => {
+  let {
+    children
+  } = _ref;
+  external_wp_deprecated_default()('wp.components.FocusReturnProvider component', {
+    since: '5.7',
+    hint: 'This provider is not used anymore. You can just remove it from your codebase'
+  });
+  return children;
+};

-var _object = __webpack_require__("Koq/");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/higher-order/with-notices/index.js

-var _object2 = _interopRequireDefault(_object);

-var _react = __webpack_require__("cDcd");

-var _react2 = _interopRequireDefault(_react);
+/**
+ * External dependencies
+ */

-var _propTypes = __webpack_require__("17x9");
+/**
+ * WordPress dependencies
+ */

-var _propTypes2 = _interopRequireDefault(_propTypes);

-var _airbnbPropTypes = __webpack_require__("Hsqg");

-var _reactWithStyles = __webpack_require__("TG4+");
+/**
+ * Internal dependencies
+ */

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
-  unicode: _propTypes2['default'].string.isRequired,
-  label: _propTypes2['default'].string.isRequired,
-  action: _propTypes2['default'].string.isRequired,
-  block: _propTypes2['default'].bool
-}));
+/**
+ * Override the default edit UI to include notices if supported.
+ *
+ * @param {WPComponent} OriginalComponent Original component.
+ *
+ * @return {WPComponent} Wrapped component.
+ */

-var defaultProps = {
-  block: false
-};
+/* harmony default export */ var with_notices = ((0,external_wp_compose_namespaceObject.createHigherOrderComponent)(OriginalComponent => {
+  function Component(props, ref) {
+    const [noticeList, setNoticeList] = (0,external_wp_element_namespaceObject.useState)([]);
+    const noticeOperations = (0,external_wp_element_namespaceObject.useMemo)(() => {
+      /**
+       * Function passed down as a prop that adds a new notice.
+       *
+       * @param {Object} notice Notice to add.
+       */
+      const createNotice = notice => {
+        const noticeToAdd = notice.id ? notice : { ...notice,
+          id: esm_browser_v4()
+        };
+        setNoticeList(current => [...current, noticeToAdd]);
+      };

-function KeyboardShortcutRow(_ref) {
-  var unicode = _ref.unicode,
-      label = _ref.label,
-      action = _ref.action,
-      block = _ref.block,
-      styles = _ref.styles;
+      return {
+        createNotice,

-  return _react2['default'].createElement(
-    'li',
-    (0, _reactWithStyles.css)(styles.KeyboardShortcutRow, block && styles.KeyboardShortcutRow__block),
-    _react2['default'].createElement(
-      'div',
-      (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_keyContainer, block && styles.KeyboardShortcutRow_keyContainer__block),
-      _react2['default'].createElement(
-        'span',
-        _extends({}, (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_key), {
-          role: 'img',
-          'aria-label': String(label) + ',' // add comma so screen readers will pause before reading action
-        }),
-        unicode
-      )
-    ),
-    _react2['default'].createElement(
-      'div',
-      (0, _reactWithStyles.css)(styles.KeyboardShortcutRow_action),
-      action
-    )
-  );
-}
+        /**
+         * Function passed as a prop that adds a new error notice.
+         *
+         * @param {string} msg Error message of the notice.
+         */
+        createErrorNotice: msg => {
+          createNotice({
+            status: 'error',
+            content: msg
+          });
+        },

-KeyboardShortcutRow.propTypes = propTypes;
-KeyboardShortcutRow.defaultProps = defaultProps;
+        /**
+         * Removes a notice by id.
+         *
+         * @param {string} id Id of the notice to remove.
+         */
+        removeNotice: id => {
+          setNoticeList(current => current.filter(notice => notice.id !== id));
+        },

-exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
-  var color = _ref2.reactDates.color;
-  return {
-    KeyboardShortcutRow: {
-      listStyle: 'none',
-      margin: '6px 0'
-    },
+        /**
+         * Removes all notices
+         */
+        removeAllNotices: () => {
+          setNoticeList([]);
+        }
+      };
+    }, []);
+    const propsOut = { ...props,
+      noticeList,
+      noticeOperations,
+      noticeUI: noticeList.length > 0 && (0,external_wp_element_namespaceObject.createElement)(list, {
+        className: "components-with-notices-ui",
+        notices: noticeList,
+        onRemove: noticeOperations.removeNotice
+      })
+    };
+    return isForwardRef ? (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, extends_extends({}, propsOut, {
+      ref: ref
+    })) : (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, propsOut);
+  }

-    KeyboardShortcutRow__block: {
-      marginBottom: 16
-    },
+  let isForwardRef;
+  const {
+    render
+  } = OriginalComponent; // Returns a forwardRef if OriginalComponent appears to be a forwardRef

-    KeyboardShortcutRow_keyContainer: {
-      display: 'inline-block',
-      whiteSpace: 'nowrap',
-      textAlign: 'right',
-      marginRight: 6
-    },
+  if (typeof render === 'function') {
+    isForwardRef = true;
+    return (0,external_wp_element_namespaceObject.forwardRef)(Component);
+  }

-    KeyboardShortcutRow_keyContainer__block: {
-      textAlign: 'left',
-      display: 'inline'
-    },
+  return Component;
+}));

-    KeyboardShortcutRow_key: {
-      fontFamily: 'monospace',
-      fontSize: 12,
-      textTransform: 'uppercase',
-      background: color.core.grayLightest,
-      padding: '2px 6px'
-    },
+;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/index.js
+// Primitives
+ // Components

-    KeyboardShortcutRow_action: {
-      display: 'inline',
-      wordBreak: 'break-word',
-      marginLeft: 8
-    }
-  };
-})(KeyboardShortcutRow);

-/***/ }),

-/***/ "zTEx":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ToolbarItem; });
-/* unused harmony export useToolbarItem */
-/* harmony import */ var reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("hE48");
-/* harmony import */ var reakit_system_createHook__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("qdes");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var reakit_warning__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("KA1K");
-/* harmony import */ var _Composite_CompositeItem_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("kTC8");
-/* harmony import */ var _keys_ae468c11_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("mjVI");



@@ -72869,466 +72193,100 @@ exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {



-var useToolbarItem = Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_1__[/* createHook */ "a"])({
-  name: "ToolbarItem",
-  compose: _Composite_CompositeItem_js__WEBPACK_IMPORTED_MODULE_4__[/* useCompositeItem */ "b"],
-  keys: _keys_ae468c11_js__WEBPACK_IMPORTED_MODULE_5__[/* a */ "b"]
-});
-var ToolbarItem = Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_0__[/* createComponent */ "a"])({
-  as: "button",
-  memo: true,
-  useHook: useToolbarItem
-});




-/***/ }),

-/***/ "zfJ5":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
-  value: true
-});

-var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

-var _object = __webpack_require__("Koq/");

-var _object2 = _interopRequireDefault(_object);

-var _react = __webpack_require__("cDcd");

-var _react2 = _interopRequireDefault(_react);

-var _propTypes = __webpack_require__("17x9");

-var _propTypes2 = _interopRequireDefault(_propTypes);

-var _airbnbPropTypes = __webpack_require__("Hsqg");

-var _reactWithStyles = __webpack_require__("TG4+");

-var _defaultPhrases = __webpack_require__("vV+G");

-var _getPhrasePropTypes = __webpack_require__("yc2e");

-var _getPhrasePropTypes2 = _interopRequireDefault(_getPhrasePropTypes);

-var _LeftArrow = __webpack_require__("0XP8");

-var _LeftArrow2 = _interopRequireDefault(_LeftArrow);

-var _RightArrow = __webpack_require__("gZI3");

-var _RightArrow2 = _interopRequireDefault(_RightArrow);

-var _ChevronUp = __webpack_require__("9gmn");

-var _ChevronUp2 = _interopRequireDefault(_ChevronUp);

-var _ChevronDown = __webpack_require__("DHWS");

-var _ChevronDown2 = _interopRequireDefault(_ChevronDown);

-var _ScrollableOrientationShape = __webpack_require__("aE6U");

-var _ScrollableOrientationShape2 = _interopRequireDefault(_ScrollableOrientationShape);

-var _constants = __webpack_require__("Fv1B");

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

-function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

-var propTypes = (0, _airbnbPropTypes.forbidExtraProps)((0, _object2['default'])({}, _reactWithStyles.withStylesPropTypes, {
-  navPrev: _propTypes2['default'].node,
-  navNext: _propTypes2['default'].node,
-  orientation: _ScrollableOrientationShape2['default'],

-  onPrevMonthClick: _propTypes2['default'].func,
-  onNextMonthClick: _propTypes2['default'].func,

-  // internationalization
-  phrases: _propTypes2['default'].shape((0, _getPhrasePropTypes2['default'])(_defaultPhrases.DayPickerNavigationPhrases)),

-  isRTL: _propTypes2['default'].bool
-}));

-var defaultProps = {
-  navPrev: null,
-  navNext: null,
-  orientation: _constants.HORIZONTAL_ORIENTATION,

-  onPrevMonthClick: function () {
-    function onPrevMonthClick() {}

-    return onPrevMonthClick;
-  }(),
-  onNextMonthClick: function () {
-    function onNextMonthClick() {}

-    return onNextMonthClick;
-  }(),


-  // internationalization
-  phrases: _defaultPhrases.DayPickerNavigationPhrases,
-  isRTL: false
-};

-function DayPickerNavigation(_ref) {
-  var navPrev = _ref.navPrev,
-      navNext = _ref.navNext,
-      onPrevMonthClick = _ref.onPrevMonthClick,
-      onNextMonthClick = _ref.onNextMonthClick,
-      orientation = _ref.orientation,
-      phrases = _ref.phrases,
-      isRTL = _ref.isRTL,
-      styles = _ref.styles;

-  var isHorizontal = orientation === _constants.HORIZONTAL_ORIENTATION;
-  var isVertical = orientation !== _constants.HORIZONTAL_ORIENTATION;
-  var isVerticalScrollable = orientation === _constants.VERTICAL_SCROLLABLE;

-  var navPrevIcon = navPrev;
-  var navNextIcon = navNext;
-  var isDefaultNavPrev = false;
-  var isDefaultNavNext = false;
-  if (!navPrevIcon) {
-    isDefaultNavPrev = true;
-    var Icon = isVertical ? _ChevronUp2['default'] : _LeftArrow2['default'];
-    if (isRTL && !isVertical) {
-      Icon = _RightArrow2['default'];
-    }
-    navPrevIcon = _react2['default'].createElement(Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical));
-  }

-  if (!navNextIcon) {
-    isDefaultNavNext = true;
-    var _Icon = isVertical ? _ChevronDown2['default'] : _RightArrow2['default'];
-    if (isRTL && !isVertical) {
-      _Icon = _LeftArrow2['default'];
-    }
-    navNextIcon = _react2['default'].createElement(_Icon, (0, _reactWithStyles.css)(isHorizontal && styles.DayPickerNavigation_svg__horizontal, isVertical && styles.DayPickerNavigation_svg__vertical));
-  }

-  var isDefaultNav = isVerticalScrollable ? isDefaultNavNext : isDefaultNavNext || isDefaultNavPrev;

-  return _react2['default'].createElement(
-    'div',
-    _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation, isHorizontal && styles.DayPickerNavigation__horizontal].concat(_toConsumableArray(isVertical && [styles.DayPickerNavigation__vertical, isDefaultNav && styles.DayPickerNavigation__verticalDefault]), _toConsumableArray(isVerticalScrollable && [styles.DayPickerNavigation__verticalScrollable, isDefaultNav && styles.DayPickerNavigation__verticalScrollableDefault]))),
-    !isVerticalScrollable && _react2['default'].createElement(
-      'div',
-      _extends({
-        role: 'button',
-        tabIndex: '0'
-      }, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavPrev && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__horizontalDefault, !isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical].concat(_toConsumableArray(isDefaultNavPrev && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_prevButton__verticalDefault]))))), {
-        'aria-label': phrases.jumpToPrevMonth,
-        onClick: onPrevMonthClick,
-        onKeyUp: function () {
-          function onKeyUp(e) {
-            var key = e.key;

-            if (key === 'Enter' || key === ' ') onPrevMonthClick(e);
-          }

-          return onKeyUp;
-        }(),
-        onMouseUp: function () {
-          function onMouseUp(e) {
-            e.currentTarget.blur();
-          }

-          return onMouseUp;
-        }()
-      }),
-      navPrevIcon
-    ),
-    _react2['default'].createElement(
-      'div',
-      _extends({
-        role: 'button',
-        tabIndex: '0'
-      }, _reactWithStyles.css.apply(undefined, [styles.DayPickerNavigation_button, isDefaultNavNext && styles.DayPickerNavigation_button__default].concat(_toConsumableArray(isHorizontal && [styles.DayPickerNavigation_button__horizontal].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__horizontalDefault, isRTL && styles.DayPickerNavigation_leftButton__horizontalDefault, !isRTL && styles.DayPickerNavigation_rightButton__horizontalDefault]))), _toConsumableArray(isVertical && [styles.DayPickerNavigation_button__vertical, styles.DayPickerNavigation_nextButton__vertical].concat(_toConsumableArray(isDefaultNavNext && [styles.DayPickerNavigation_button__verticalDefault, styles.DayPickerNavigation_nextButton__verticalDefault, isVerticalScrollable && styles.DayPickerNavigation_nextButton__verticalScrollableDefault]))))), {
-        'aria-label': phrases.jumpToNextMonth,
-        onClick: onNextMonthClick,
-        onKeyUp: function () {
-          function onKeyUp(e) {
-            var key = e.key;

-            if (key === 'Enter' || key === ' ') onNextMonthClick(e);
-          }

-          return onKeyUp;
-        }(),
-        onMouseUp: function () {
-          function onMouseUp(e) {
-            e.currentTarget.blur();
-          }

-          return onMouseUp;
-        }()
-      }),
-      navNextIcon
-    )
-  );
-}

-DayPickerNavigation.propTypes = propTypes;
-DayPickerNavigation.defaultProps = defaultProps;

-exports['default'] = (0, _reactWithStyles.withStyles)(function (_ref2) {
-  var _ref2$reactDates = _ref2.reactDates,
-      color = _ref2$reactDates.color,
-      zIndex = _ref2$reactDates.zIndex;
-  return {
-    DayPickerNavigation: {
-      position: 'relative',
-      zIndex: zIndex + 2
-    },

-    DayPickerNavigation__horizontal: {
-      height: 0
-    },

-    DayPickerNavigation__vertical: {},
-    DayPickerNavigation__verticalScrollable: {},

-    DayPickerNavigation__verticalDefault: {
-      position: 'absolute',
-      width: '100%',
-      height: 52,
-      bottom: 0,
-      left: 0
-    },

-    DayPickerNavigation__verticalScrollableDefault: {
-      position: 'relative'
-    },

-    DayPickerNavigation_button: {
-      cursor: 'pointer',
-      userSelect: 'none',
-      border: 0,
-      padding: 0,
-      margin: 0
-    },

-    DayPickerNavigation_button__default: {
-      border: '1px solid ' + String(color.core.borderLight),
-      backgroundColor: color.background,
-      color: color.placeholderText,

-      ':focus': {
-        border: '1px solid ' + String(color.core.borderMedium)
-      },

-      ':hover': {
-        border: '1px solid ' + String(color.core.borderMedium)
-      },

-      ':active': {
-        background: color.backgroundDark
-      }
-    },

-    DayPickerNavigation_button__horizontal: {},

-    DayPickerNavigation_button__horizontalDefault: {
-      position: 'absolute',
-      top: 18,
-      lineHeight: 0.78,
-      borderRadius: 3,
-      padding: '6px 9px'
-    },

-    DayPickerNavigation_leftButton__horizontalDefault: {
-      left: 22
-    },

-    DayPickerNavigation_rightButton__horizontalDefault: {
-      right: 22
-    },

-    DayPickerNavigation_button__vertical: {},

-    DayPickerNavigation_button__verticalDefault: {
-      padding: 5,
-      background: color.background,
-      boxShadow: '0 0 5px 2px rgba(0, 0, 0, 0.1)',
-      position: 'relative',
-      display: 'inline-block',
-      height: '100%',
-      width: '50%'
-    },

-    DayPickerNavigation_prevButton__verticalDefault: {},

-    DayPickerNavigation_nextButton__verticalDefault: {
-      borderLeft: 0
-    },

-    DayPickerNavigation_nextButton__verticalScrollableDefault: {
-      width: '100%'
-    },

-    DayPickerNavigation_svg__horizontal: {
-      height: 19,
-      width: 19,
-      fill: color.core.grayLight,
-      display: 'block'
-    },

-    DayPickerNavigation_svg__vertical: {
-      height: 42,
-      width: 42,
-      fill: color.text,
-      display: 'block'
-    }
-  };
-})(DayPickerNavigation);

-/***/ }),

-/***/ "zt9T":
-/***/ (function(module, exports, __webpack_require__) {

-"use strict";


-var util = __webpack_require__("jB5C");
+ // Higher-Order Components

-function scrollIntoView(elem, container, config) {
-  config = config || {};
-  // document 归一化到 window
-  if (container.nodeType === 9) {
-    container = util.getWindow(container);
-  }

-  var allowHorizontalScroll = config.allowHorizontalScroll;
-  var onlyScrollIfNeeded = config.onlyScrollIfNeeded;
-  var alignWithTop = config.alignWithTop;
-  var alignWithLeft = config.alignWithLeft;
-  var offsetTop = config.offsetTop || 0;
-  var offsetLeft = config.offsetLeft || 0;
-  var offsetBottom = config.offsetBottom || 0;
-  var offsetRight = config.offsetRight || 0;

-  allowHorizontalScroll = allowHorizontalScroll === undefined ? true : allowHorizontalScroll;

-  var isWin = util.isWindow(container);
-  var elemOffset = util.offset(elem);
-  var eh = util.outerHeight(elem);
-  var ew = util.outerWidth(elem);
-  var containerOffset = undefined;
-  var ch = undefined;
-  var cw = undefined;
-  var containerScroll = undefined;
-  var diffTop = undefined;
-  var diffBottom = undefined;
-  var win = undefined;
-  var winScroll = undefined;
-  var ww = undefined;
-  var wh = undefined;

-  if (isWin) {
-    win = container;
-    wh = util.height(win);
-    ww = util.width(win);
-    winScroll = {
-      left: util.scrollLeft(win),
-      top: util.scrollTop(win)
-    };
-    // elem 相对 container 可视视窗的距离
-    diffTop = {
-      left: elemOffset.left - winScroll.left - offsetLeft,
-      top: elemOffset.top - winScroll.top - offsetTop
-    };
-    diffBottom = {
-      left: elemOffset.left + ew - (winScroll.left + ww) + offsetRight,
-      top: elemOffset.top + eh - (winScroll.top + wh) + offsetBottom
-    };
-    containerScroll = winScroll;
-  } else {
-    containerOffset = util.offset(container);
-    ch = container.clientHeight;
-    cw = container.clientWidth;
-    containerScroll = {
-      left: container.scrollLeft,
-      top: container.scrollTop
-    };
-    // elem 相对 container 可视视窗的距离
-    // 注意边框, offset 是边框到根节点
-    diffTop = {
-      left: elemOffset.left - (containerOffset.left + (parseFloat(util.css(container, 'borderLeftWidth')) || 0)) - offsetLeft,
-      top: elemOffset.top - (containerOffset.top + (parseFloat(util.css(container, 'borderTopWidth')) || 0)) - offsetTop
-    };
-    diffBottom = {
-      left: elemOffset.left + ew - (containerOffset.left + cw + (parseFloat(util.css(container, 'borderRightWidth')) || 0)) + offsetRight,
-      top: elemOffset.top + eh - (containerOffset.top + ch + (parseFloat(util.css(container, 'borderBottomWidth')) || 0)) + offsetBottom
-    };
-  }

-  if (diffTop.top < 0 || diffBottom.top > 0) {
-    // 强制向上
-    if (alignWithTop === true) {
-      util.scrollTop(container, containerScroll.top + diffTop.top);
-    } else if (alignWithTop === false) {
-      util.scrollTop(container, containerScroll.top + diffBottom.top);
-    } else {
-      // 自动调整
-      if (diffTop.top < 0) {
-        util.scrollTop(container, containerScroll.top + diffTop.top);
-      } else {
-        util.scrollTop(container, containerScroll.top + diffBottom.top);
-      }
-    }
-  } else {
-    if (!onlyScrollIfNeeded) {
-      alignWithTop = alignWithTop === undefined ? true : !!alignWithTop;
-      if (alignWithTop) {
-        util.scrollTop(container, containerScroll.top + diffTop.top);
-      } else {
-        util.scrollTop(container, containerScroll.top + diffBottom.top);
-      }
-    }
-  }

-  if (allowHorizontalScroll) {
-    if (diffTop.left < 0 || diffBottom.left > 0) {
-      // 强制向上
-      if (alignWithLeft === true) {
-        util.scrollLeft(container, containerScroll.left + diffTop.left);
-      } else if (alignWithLeft === false) {
-        util.scrollLeft(container, containerScroll.left + diffBottom.left);
-      } else {
-        // 自动调整
-        if (diffTop.left < 0) {
-          util.scrollLeft(container, containerScroll.left + diffTop.left);
-        } else {
-          util.scrollLeft(container, containerScroll.left + diffBottom.left);
-        }
-      }
-    } else {
-      if (!onlyScrollIfNeeded) {
-        alignWithLeft = alignWithLeft === undefined ? true : !!alignWithLeft;
-        if (alignWithLeft) {
-          util.scrollLeft(container, containerScroll.left + diffTop.left);
-        } else {
-          util.scrollLeft(container, containerScroll.left + diffBottom.left);
-        }
-      }
-    }
-  }
-}

-module.exports = scrollIntoView;

-/***/ })

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).components = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/components.min.js b/wp-includes/js/dist/components.min.js
index ecf4cf1671..15c836759f 100644
--- a/wp-includes/js/dist/components.min.js
+++ b/wp-includes/js/dist/components.min.js
@@ -1,5 +1,10 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.components=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="SB3u")}({"+1VY":function(e,t,n){"use strict";var r=n("ep+1"),o="-ms-",a="-moz-",i="-webkit-",c="comm",s="rule",l="decl",u="@keyframes",d=Math.abs,f=String.fromCharCode,p=Object.assign;function b(e){return e.trim()}function h(e,t,n){return e.replace(t,n)}function m(e,t){return e.indexOf(t)}function v(e,t){return 0|e.charCodeAt(t)}function g(e,t,n){return e.slice(t,n)}function y(e){return e.length}function O(e){return e.length}function j(e,t){return t.push(e),e}function w(e,t){return e.map(t).join("")}var x=1,_=1,E=0,k=0,S=0,C="";function P(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:x,column:_,length:i,return:""}}function T(e,t){return p(P("",null,null,"",null,null,0),e,{length:-e.length},t)}function M(){return S=k>0?v(C,--k):0,_--,10===S&&(_=1,x--),S}function D(){return S=k<E?v(C,k++):0,_++,10===S&&(_=1,x++),S}function I(){return v(C,k)}function R(){return k}function A(e,t){return g(C,e,t)}function N(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function L(e){return x=_=1,E=y(C=e),k=0,[]}function F(e){return C="",e}function z(e){return b(A(k-1,function e(t){for(;D();)switch(S){case t:return k;case 34:case 39:34!==t&&39!==t&&e(S);break;case 40:41===t&&e(t);break;case 92:D()}return k}(91===e?e+2:40===e?e+1:e)))}function B(e){for(;(S=I())&&S<33;)D();return N(e)>2||N(S)>3?"":" "}function H(e,t){for(;--t&&D()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return A(e,R()+(t<6&&32==I()&&32==D()))}function V(e,t){for(;D()&&e+S!==57&&(e+S!==84||47!==I()););return"/*"+A(t,k-1)+"*"+f(47===e?e:D())}function W(e){for(;!N(I());)D();return A(e,k)}function U(e){return F(function e(t,n,r,o,a,i,c,s,l){var u=0,d=0,p=c,b=0,v=0,g=0,O=1,w=1,x=1,_=0,E="",k=a,S=i,C=o,P=E;for(;w;)switch(g=_,_=D()){case 40:if(108!=g&&58==P.charCodeAt(p-1)){-1!=m(P+=h(z(_),"&","&\f"),"&\f")&&(x=-1);break}case 34:case 39:case 91:P+=z(_);break;case 9:case 10:case 13:case 32:P+=B(g);break;case 92:P+=H(R()-1,7);continue;case 47:switch(I()){case 42:case 47:j(G(V(D(),R()),n,r),l);break;default:P+="/"}break;case 123*O:s[u++]=y(P)*x;case 125*O:case 59:case 0:switch(_){case 0:case 125:w=0;case 59+d:v>0&&y(P)-p&&j(v>32?$(P+";",o,r,p-1):$(h(P," ","")+";",o,r,p-2),l);break;case 59:P+=";";default:if(j(C=K(P,n,r,u,d,a,s,E,k=[],S=[],p),i),123===_)if(0===d)e(P,n,C,C,k,i,p,s,S);else switch(b){case 100:case 109:case 115:e(t,C,C,o&&j(K(t,C,C,0,0,a,s,E,a,k=[],p),S),a,S,p,s,o?k:S);break;default:e(P,C,C,C,[""],S,0,s,S)}}u=d=v=0,O=x=1,E=P="",p=c;break;case 58:p=1+y(P),v=g;default:if(O<1)if(123==_)--O;else if(125==_&&0==O++&&125==M())continue;switch(P+=f(_),_*O){case 38:x=d>0?1:(P+="\f",-1);break;case 44:s[u++]=(y(P)-1)*x,x=1;break;case 64:45===I()&&(P+=z(D())),b=I(),d=p=y(E=P+=W(R())),_++;break;case 45:45===g&&2==y(P)&&(O=0)}}return i}("",null,null,null,[""],e=L(e),0,[0],e))}function K(e,t,n,r,o,a,i,c,l,u,f){for(var p=o-1,m=0===o?a:[""],v=O(m),y=0,j=0,w=0;y<r;++y)for(var x=0,_=g(e,p+1,p=d(j=i[y])),E=e;x<v;++x)(E=b(j>0?m[x]+" "+_:h(_,/&\f/g,m[x])))&&(l[w++]=E);return P(e,t,n,0===o?s:c,l,u,f)}function G(e,t,n){return P(e,t,n,c,f(S),g(e,2,-2),0)}function $(e,t,n,r){return P(e,t,n,l,g(e,0,r),g(e,r+1,-1),r)}function q(e,t){switch(function(e,t){return(((t<<2^v(e,0))<<2^v(e,1))<<2^v(e,2))<<2^v(e,3)}(e,t)){case 5103:return i+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return i+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return i+e+a+e+o+e+e;case 6828:case 4268:return i+e+o+e+e;case 6165:return i+e+o+"flex-"+e+e;case 5187:return i+e+h(e,/(\w+).+(:[^]+)/,i+"box-$1$2"+o+"flex-$1$2")+e;case 5443:return i+e+o+"flex-item-"+h(e,/flex-|-self/,"")+e;case 4675:return i+e+o+"flex-line-pack"+h(e,/align-content|flex-|-self/,"")+e;case 5548:return i+e+o+h(e,"shrink","negative")+e;case 5292:return i+e+o+h(e,"basis","preferred-size")+e;case 6060:return i+"box-"+h(e,"-grow","")+i+e+o+h(e,"grow","positive")+e;case 4554:return i+h(e,/([^-])(transform)/g,"$1"+i+"$2")+e;case 6187:return h(h(h(e,/(zoom-|grab)/,i+"$1"),/(image-set)/,i+"$1"),e,"")+e;case 5495:case 3959:return h(e,/(image-set\([^]*)/,i+"$1$`$1");case 4968:return h(h(e,/(.+:)(flex-)?(.*)/,i+"box-pack:$3"+o+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+i+e+e;case 4095:case 3583:case 4068:case 2532:return h(e,/(.+)-inline(.+)/,i+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(y(e)-1-t>6)switch(v(e,t+1)){case 109:if(45!==v(e,t+4))break;case 102:return h(e,/(.+:)(.+)-([^]+)/,"$1"+i+"$2-$3$1"+a+(108==v(e,t+3)?"$3":"$2-$3"))+e;case 115:return~m(e,"stretch")?q(h(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==v(e,t+1))break;case 6444:switch(v(e,y(e)-3-(~m(e,"!important")&&10))){case 107:return h(e,":",":"+i)+e;case 101:return h(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+i+(45===v(e,14)?"inline-":"")+"box$3$1"+i+"$2$3$1"+o+"$2box$3")+e}break;case 5936:switch(v(e,t+11)){case 114:return i+e+o+h(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return i+e+o+h(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return i+e+o+h(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return i+e+o+e+e}return e}function Y(e,t){for(var n="",r=O(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function X(e,t,n,r){switch(e.type){case"@import":case l:return e.return=e.return||e.value;case c:return"";case u:return e.return=e.value+"{"+Y(e.children,r)+"}";case s:e.value=e.props.join(",")}return y(n=Y(e.children,r))?e.return=e.value+"{"+n+"}":""}function Z(e){return function(t){t.root||(t=t.return)&&e(t)}}n("gRFL"),n("SVgp");var J=function(e,t,n){for(var r=0,o=0;r=o,o=I(),38===r&&12===o&&(t[n]=1),!N(o);)D();return A(e,k)},Q=function(e,t){return F(function(e,t){var n=-1,r=44;do{switch(N(r)){case 0:38===r&&12===I()&&(t[n]=1),e[n]+=J(k-1,t,n);break;case 2:e[n]+=z(r);break;case 4:if(44===r){e[++n]=58===I()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=f(r)}}while(r=D());return e}(L(e),t))},ee=new WeakMap,te=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ee.get(n))&&!r){ee.set(e,!0);for(var o=[],a=Q(t,o),i=n.props,c=0,s=0;c<a.length;c++)for(var l=0;l<i.length;l++,s++)e.props[s]=o[c]?a[c].replace(/&\f/g,i[l]):i[l]+" "+a[c]}}},ne=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case l:e.return=q(e.value,e.length);break;case u:return Y([T(e,{value:h(e.value,"@","@"+i)})],r);case s:if(e.length)return w(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Y([T(e,{props:[h(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Y([T(e,{props:[h(t,/:(plac\w+)/,":"+i+"input-$1")]}),T(e,{props:[h(t,/:(plac\w+)/,":-moz-$1")]}),T(e,{props:[h(t,/:(plac\w+)/,o+"input-$1")]})],r)}return""}))}}];t.a=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var a,i,c={},s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)c[t[n]]=!0;s.push(e)}));var l=[te,ne];var u,d=[X,Z((function(e){u.insert(e)}))],f=function(e){var t=O(e);return function(n,r,o,a){for(var i="",c=0;c<t;c++)i+=e[c](n,r,o,a)||"";return i}}(l.concat(o,d));i=function(e,t,n,r){u=n,Y(U(e?e+"{"+t.styles+"}":t.styles),f),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new r.a({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:c,registered:{},insert:i};return p.sheet.hydrate(s),p}},"+51k":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},"+WFq":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("GRId"),o=n("JYkG");function a(e){const t=Object(r.useContext)(o.a),n=t.slots[e]||{},a=t.fills[e],i=Object(r.useMemo)(()=>a||[],[a]);return{...n,updateSlot:Object(r.useCallback)(n=>{t.updateSlot(e,n)},[e,t.updateSlot]),unregisterSlot:Object(r.useCallback)(n=>{t.unregisterSlot(e,n)},[e,t.unregisterSlot]),fills:i,registerFill:Object(r.useCallback)(n=>{t.registerFill(e,n)},[e,t.registerFill]),unregisterFill:Object(r.useCallback)(n=>{t.unregisterFill(e,n)},[e,t.unregisterFill])}}},"+ipW":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("SyVe");var o,a=(o=Object(r.a)(),Boolean(void 0!==o&&o.document&&o.document.createElement))},"/9aa":function(e,t,n){var r=n("NykK"),o=n("ExA7");e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},"/A+k":function(e,t,n){"use strict";var r=n("j1Hc")("%TypeError%"),o=n("aBsX"),a=n("3HW2"),i=n("PoQ0");e.exports=function(e){if("Object"!==i(e))throw new r("Assertion failed: `obj` must be an Object");return a(o(e,"length"))}},"/ZKw":function(e,t,n){"use strict";var r=n("82c2"),o=n("SLit"),a=n("yN6O"),i=n("22yB"),c=i(),s=n("v3P4"),l=o(c);r(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},"/sVA":function(e,t,n){"use strict";var r=Object.prototype.toString;if(n("UVaH")()){var o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&a.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},0:function(e,t){},"030x":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0;function a(e,t){var n=t(e(o));return function(){return n}}function i(e){return a(e,r.createLTR||r.create)}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=r.resolve(t);return o}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveLTR?r.resolveLTR(t):c(t)}t.default={registerTheme:function(e){o=e},registerInterface:function(e){r=e},create:i,createLTR:i,createRTL:function(e){return a(e,r.createRTL||r.create)},get:function(){return o},resolve:s,resolveLTR:s,resolveRTL:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveRTL?r.resolveRTL(t):c(t)},flush:function(){r.flush&&r.flush()}}},"0Dl3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.localeData().firstDayOfWeek(),n=e.clone().startOf("month"),r=i(n,t);return Math.ceil((r+e.daysInMonth())/7)};var r,o=n("wy2R"),a=(r=o)&&r.__esModule?r:{default:r};function i(e,t){return(e.day()-t+7)%7}},"0HL0":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("qOxZ");function o(e,t){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){var n,o=Object.getPrototypeOf(e),a=null===(n=Object.getOwnPropertyDescriptor(o,"value"))||void 0===n?void 0:n.set;a&&(a.call(e,t),Object(r.a)(e,"input",{bubbles:!0}))}}},"0XP8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("cDcd"),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e){return a.default.createElement("svg",e,a.default.createElement("path",{d:"M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z"}))};i.defaultProps={viewBox:"0 0 1000 1000"},t.default=i},"1+Kn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BOTTOM_RIGHT=t.TOP_RIGHT=t.TOP_LEFT=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=b(n("Koq/")),i=b(n("cDcd")),c=b(n("17x9")),s=n("Hsqg"),l=n("TG4+"),u=n("vV+G"),d=b(n("yc2e")),f=b(n("zN8g")),p=b(n("xEte"));function b(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=t.TOP_LEFT="top-left",g=t.TOP_RIGHT="top-right",y=t.BOTTOM_RIGHT="bottom-right",O=(0,s.forbidExtraProps)((0,a.default)({},l.withStylesPropTypes,{block:c.default.bool,buttonLocation:c.default.oneOf([v,g,y]),showKeyboardShortcutsPanel:c.default.bool,openKeyboardShortcutsPanel:c.default.func,closeKeyboardShortcutsPanel:c.default.func,phrases:c.default.shape((0,d.default)(u.DayPickerKeyboardShortcutsPhrases))})),j={block:!1,buttonLocation:y,showKeyboardShortcutsPanel:!1,openKeyboardShortcutsPanel:function(){},closeKeyboardShortcutsPanel:function(){},phrases:u.DayPickerKeyboardShortcutsPhrases};function w(e){return[{unicode:"↵",label:e.enterKey,action:e.selectFocusedDate},{unicode:"←/→",label:e.leftArrowRightArrow,action:e.moveFocusByOneDay},{unicode:"↑/↓",label:e.upArrowDownArrow,action:e.moveFocusByOneWeek},{unicode:"PgUp/PgDn",label:e.pageUpPageDown,action:e.moveFocusByOneMonth},{unicode:"Home/End",label:e.homeEnd,action:e.moveFocustoStartAndEndOfWeek},{unicode:"Esc",label:e.escape,action:e.returnFocusToInput},{unicode:"?",label:e.questionMark,action:e.openThisPanel}]}var x=function(e){function t(){var e;h(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),i=a.props.phrases;return a.keyboardShortcuts=w(i),a.onShowKeyboardShortcutsButtonClick=a.onShowKeyboardShortcutsButtonClick.bind(a),a.setShowKeyboardShortcutsButtonRef=a.setShowKeyboardShortcutsButtonRef.bind(a),a.setHideKeyboardShortcutsButtonRef=a.setHideKeyboardShortcutsButtonRef.bind(a),a.handleFocus=a.handleFocus.bind(a),a.onKeyDown=a.onKeyDown.bind(a),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.phrases;e.phrases!==t&&(this.keyboardShortcuts=w(e.phrases))}},{key:"componentDidUpdate",value:function(){this.handleFocus()}},{key:"onKeyDown",value:function(e){e.stopPropagation();var t=this.props.closeKeyboardShortcutsPanel;switch(e.key){case"Enter":case" ":case"Spacebar":case"Escape":t();break;case"ArrowUp":case"ArrowDown":break;case"Tab":case"Home":case"End":case"PageUp":case"PageDown":case"ArrowLeft":case"ArrowRight":e.preventDefault()}}},{key:"onShowKeyboardShortcutsButtonClick",value:function(){var e=this;(0,this.props.openKeyboardShortcutsPanel)((function(){e.showKeyboardShortcutsButton.focus()}))}},{key:"setShowKeyboardShortcutsButtonRef",value:function(e){this.showKeyboardShortcutsButton=e}},{key:"setHideKeyboardShortcutsButtonRef",value:function(e){this.hideKeyboardShortcutsButton=e}},{key:"handleFocus",value:function(){this.hideKeyboardShortcutsButton&&this.hideKeyboardShortcutsButton.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.block,o=t.buttonLocation,a=t.showKeyboardShortcutsPanel,c=t.closeKeyboardShortcutsPanel,s=t.styles,u=t.phrases,d=a?u.hideKeyboardShortcutsPanel:u.showKeyboardShortcutsPanel,b=o===y,h=o===g,m=o===v;return i.default.createElement("div",null,i.default.createElement("button",r({ref:this.setShowKeyboardShortcutsButtonRef},(0,l.css)(s.DayPickerKeyboardShortcuts_buttonReset,s.DayPickerKeyboardShortcuts_show,b&&s.DayPickerKeyboardShortcuts_show__bottomRight,h&&s.DayPickerKeyboardShortcuts_show__topRight,m&&s.DayPickerKeyboardShortcuts_show__topLeft),{type:"button","aria-label":d,onClick:this.onShowKeyboardShortcutsButtonClick,onKeyDown:function(t){"Enter"===t.key?t.preventDefault():"Space"===t.key&&e.onShowKeyboardShortcutsButtonClick(t)},onMouseUp:function(e){e.currentTarget.blur()}}),i.default.createElement("span",(0,l.css)(s.DayPickerKeyboardShortcuts_showSpan,b&&s.DayPickerKeyboardShortcuts_showSpan__bottomRight,h&&s.DayPickerKeyboardShortcuts_showSpan__topRight,m&&s.DayPickerKeyboardShortcuts_showSpan__topLeft),"?")),a&&i.default.createElement("div",r({},(0,l.css)(s.DayPickerKeyboardShortcuts_panel),{role:"dialog","aria-labelledby":"DayPickerKeyboardShortcuts_title","aria-describedby":"DayPickerKeyboardShortcuts_description"}),i.default.createElement("div",r({},(0,l.css)(s.DayPickerKeyboardShortcuts_title),{id:"DayPickerKeyboardShortcuts_title"}),u.keyboardShortcuts),i.default.createElement("button",r({ref:this.setHideKeyboardShortcutsButtonRef},(0,l.css)(s.DayPickerKeyboardShortcuts_buttonReset,s.DayPickerKeyboardShortcuts_close),{type:"button",tabIndex:"0","aria-label":u.hideKeyboardShortcutsPanel,onClick:c,onKeyDown:this.onKeyDown}),i.default.createElement(p.default,(0,l.css)(s.DayPickerKeyboardShortcuts_closeSvg))),i.default.createElement("ul",r({},(0,l.css)(s.DayPickerKeyboardShortcuts_list),{id:"DayPickerKeyboardShortcuts_description"}),this.keyboardShortcuts.map((function(e){var t=e.unicode,r=e.label,o=e.action;return i.default.createElement(f.default,{key:r,unicode:t,label:r,action:o,block:n})})))))}}]),t}(i.default.Component);x.propTypes=O,x.defaultProps=j,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.zIndex;return{DayPickerKeyboardShortcuts_buttonReset:{background:"none",border:0,borderRadius:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",padding:0,cursor:"pointer",fontSize:r.size,":active":{outline:"none"}},DayPickerKeyboardShortcuts_show:{width:22,position:"absolute",zIndex:o+2},DayPickerKeyboardShortcuts_show__bottomRight:{borderTop:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),bottom:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topRight:{borderBottom:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),top:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topLeft:{borderBottom:"26px solid transparent",borderLeft:"33px solid "+String(n.core.primary),top:0,left:0,":hover":{borderLeft:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_showSpan:{color:n.core.white,position:"absolute"},DayPickerKeyboardShortcuts_showSpan__bottomRight:{bottom:0,right:-28},DayPickerKeyboardShortcuts_showSpan__topRight:{top:1,right:-28},DayPickerKeyboardShortcuts_showSpan__topLeft:{top:1,left:-28},DayPickerKeyboardShortcuts_panel:{overflow:"auto",background:n.background,border:"1px solid "+String(n.core.border),borderRadius:2,position:"absolute",top:0,bottom:0,right:0,left:0,zIndex:o+2,padding:22,margin:33},DayPickerKeyboardShortcuts_title:{fontSize:16,fontWeight:"bold",margin:0},DayPickerKeyboardShortcuts_list:{listStyle:"none",padding:0,fontSize:r.size},DayPickerKeyboardShortcuts_close:{position:"absolute",right:22,top:22,zIndex:o+2,":active":{outline:"none"}},DayPickerKeyboardShortcuts_closeSvg:{height:15,width:15,fill:n.core.grayLighter,":hover":{fill:n.core.grayLight},":focus":{fill:n.core.grayLight}}}}))(x)},"10Kj":function(e,t,n){"use strict";var r=n("j1Hc"),o=r("%TypeError%"),a=r("%SyntaxError%"),i=n("oNNP"),c={"Property Descriptor":function(e,t){if("Object"!==e(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(i(t,r)&&!n[r])return!1;var a=i(t,"[[Value]]"),c=i(t,"[[Get]]")||i(t,"[[Set]]");if(a&&c)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var i=c[t];if("function"!=typeof i)throw new a("unknown record type: "+t);if(!i(e,r))throw new o(n+" must be a "+t)}},"16Al":function(e,t,n){"use strict";var r=n("WbBG");function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},"17x9":function(e,t,n){e.exports=n("16Al")()},"1CF3":function(e,t){e.exports=window.wp.dom},"1KsK":function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},"1P9b":function(e,t,n){"use strict";e.exports=n("Asd8")},"1TsT":function(e,t,n){"use strict";n.r(t),n.d(t,"addEventListener",(function(){return s}));var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var o=void 0;function a(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}()),o}function i(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function c(e){this.target=e,this.events={}}c.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},c.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},c.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);i(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var a=!0;return function(){if(a){a=!1,i(o);var c=o.nextHandlers.indexOf(t);o.nextHandlers.splice(c,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};function s(e,t,n,r){e.__consolidated_events_handlers__||(e.__consolidated_events_handlers__=new c(e));var o=function(e){if(e)return a()?e:!!e.capture}(r);return e.__consolidated_events_handlers__.add(t,n,o)}},"1ao6":function(e,t,n){"use strict";var r=n("j1Hc")("%TypeError%"),o=n("nR7C"),a=n("PoQ0");e.exports=function(e,t){if("Object"!==a(e))throw new r("Assertion failed: `O` must be an Object");if(!o(t))throw new r("Assertion failed: `P` must be a Property Key");return t in e}},"1iEr":function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=a},"1seS":function(e,t,n){"use strict";var r=Array.prototype.slice,o=n("1KsK"),a=Object.keys,i=a?function(e){return a(e)}:n("sYn3"),c=Object.keys;i.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?c(r.call(e)):c(e)}):Object.keys=i;return Object.keys||i},e.exports=i},"22yB":function(e,t,n){"use strict";var r=n("yN6O");e.exports=function(){return Array.prototype.flat||r}},"25kQ":function(e,t,n){"use strict";e.exports=n("aUaa")},"2Q00":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=c(n("cDcd")),o=n("Hsqg"),a=c(n("N3k4")),i=c(n("GET3"));function c(e){return e&&e.__esModule?e:{default:e}}var s=(0,o.forbidExtraProps)({children:(0,o.or)([(0,o.childrenOfType)(a.default),(0,o.childrenOfType)(i.default)]).isRequired});function l(e){var t=e.children;return r.default.createElement("tr",null,t)}l.propTypes=s},"2S2E":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("17x9"),a=(r=o)&&r.__esModule?r:{default:r},i=n("Fv1B");t.default=a.default.oneOf(i.WEEKDAYS)},"2gm7":function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=a},"2mql":function(e,t,n){"use strict";var r=n("TOwV"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function s(e){return r.isMemo(e)?i:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,b=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(b){var o=p(n);o&&o!==b&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var c=s(t),h=s(n),m=0;m<i.length;++m){var v=i[m];if(!(a[v]||r&&r[v]||h&&h[v]||c&&c[v])){var g=f(n,v);try{l(t,v,g)}catch(e){}}}}return t}},"3HW2":function(e,t,n){"use strict";var r=n("yyeE"),o=n("3iup");e.exports=function(e){var t=o(e);return t<=0?0:t>r?r:t}},"3HjQ":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o<e.length;o++){var a=e[o];a&&("string"==typeof a?t.push(a):(Object.assign(r,a),n=!0))}return{classNames:t,hasInlineStyles:n,inlineStyles:r}}},"3gBW":function(e,t,n){e.exports=n("50qU")},"3iup":function(e,t,n){"use strict";var r=n("Wfh+"),o=n("Rhcr");e.exports=function(e){var t=o(e);return 0!==t&&(t=r(t)),0===t?0:t}},"4cSd":function(e,t,n){"use strict";var r=n("82c2"),o=n("PrET"),a=n("rQy3"),i=n("xoj2"),c=n("ib7Q"),s=o(i(),Object);r(s,{getPolyfill:i,implementation:a,shim:c}),e.exports=s},"4eJC":function(e,t,n){e.exports=function(e,t){var n,r,o=0;function a(){var a,i,c=n,s=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(i=0;i<s;i++)if(c.args[i]!==arguments[i]){c=c.next;continue e}return c!==n&&(c===r&&(r=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=n,c.prev=null,n.prev=c,n=c),c.val}c=c.next}for(a=new Array(s),i=0;i<s;i++)a[i]=arguments[i];return c={args:a,val:e.apply(null,a)},n?(n.prev=c,c.next=n):r=c,o===t.maxSize?(r=r.prev).next=null:o++,n=c,c.val}return t=t||{},a.clear=function(){n=null,r=null,o=0},a}},"4po3":function(e,t,n){"use strict";function r(e){try{var t=e instanceof HTMLInputElement&&null!==e.selectionStart,n="TEXTAREA"===e.tagName,r="true"===e.contentEditable;return t||n||r||!1}catch(e){return!1}}n.d(t,"a",(function(){return r}))},"4qvr":function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&"function"==typeof o.get?o.get:null,i=r&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=c&&s&&"function"==typeof s.get?s.get:null,u=c&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,b=Boolean.prototype.valueOf,h=Object.prototype.toString,m=Function.prototype.toString,v=String.prototype.match,g=String.prototype.slice,y=String.prototype.replace,O=String.prototype.toUpperCase,j=String.prototype.toLowerCase,w=RegExp.prototype.test,x=Array.prototype.concat,_=Array.prototype.join,E=Array.prototype.slice,k=Math.floor,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,M="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,D=Object.prototype.propertyIsEnumerable,I=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||w.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-k(-e):k(e);if(r!==e){var o=String(r),a=g.call(t,o.length+1);return y.call(o,n,"$&_")+"."+y.call(y.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var A=n(0).custom,N=A&&B(A)?A:null;function L(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function F(e){return y.call(String(e),/"/g,"&quot;")}function z(e){return!("[object Array]"!==W(e)||M&&"object"==typeof e&&M in e)}function B(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!P)return!1;try{return P.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,o){var c=n||{};if(V(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=!V(c,"customInspect")||c.customInspect;if("boolean"!=typeof s&&"symbol"!==s)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return e(g.call(t,0,n.maxStringLength),n)+o}return L(y.call(y.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,K),"single",n)}(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var O=String(t);return h?R(t,O):O}if("bigint"==typeof t){var w=String(t)+"n";return h?R(t,w):w}var k=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=k&&k>0&&"object"==typeof t)return z(t)?"[Array]":"[Object]";var C=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=_.call(Array(e.indent+1)," ")}return{base:n,prev:_.call(Array(t+1),n)}}(c,r);if(void 0===o)o=[];else if(U(o,t)>=0)return"[Circular]";function A(t,n,a){if(n&&(o=E.call(o)).push(n),a){var i={depth:c.depth};return V(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,r+1,o)}return e(t,c,r+1,o)}if("function"==typeof t){var H=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),Z=X(t,A);return"[Function"+(H?": "+H:" (anonymous)")+"]"+(Z.length>0?" { "+_.call(Z,", ")+" }":"")}if(B(t)){var J=T?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(t);return"object"!=typeof t||T?J:G(J)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var Q="<"+j.call(String(t.nodeName)),ee=t.attributes||[],te=0;te<ee.length;te++)Q+=" "+ee[te].name+"="+L(F(ee[te].value),"double",c);return Q+=">",t.childNodes&&t.childNodes.length&&(Q+="..."),Q+="</"+j.call(String(t.nodeName))+">"}if(z(t)){if(0===t.length)return"[]";var ne=X(t,A);return C&&!function(e){for(var t=0;t<e.length;t++)if(U(e[t],"\n")>=0)return!1;return!0}(ne)?"["+Y(ne,C)+"]":"[ "+_.call(ne,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||M&&"object"==typeof e&&M in e)}(t)){var re=X(t,A);return"cause"in t&&!D.call(t,"cause")?"{ ["+String(t)+"] "+_.call(x.call("[cause]: "+A(t.cause),re),", ")+" }":0===re.length?"["+String(t)+"]":"{ ["+String(t)+"] "+_.call(re,", ")+" }"}if("object"==typeof t&&s){if(N&&"function"==typeof t[N])return t[N]();if("symbol"!==s&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var oe=[];return i.call(t,(function(e,n){oe.push(A(n,t,!0)+" => "+A(e,t))})),q("Map",a.call(t),oe,C)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ae=[];return u.call(t,(function(e){ae.push(A(e,t))})),q("Set",l.call(t),ae,C)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==W(e)||M&&"object"==typeof e&&M in e)}(t))return G(A(Number(t)));if(function(e){if(!e||"object"!=typeof e||!S)return!1;try{return S.call(e),!0}catch(e){}return!1}(t))return G(A(S.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||M&&"object"==typeof e&&M in e)}(t))return G(b.call(t));if(function(e){return!("[object String]"!==W(e)||M&&"object"==typeof e&&M in e)}(t))return G(A(String(t)));if(!function(e){return!("[object Date]"!==W(e)||M&&"object"==typeof e&&M in e)}(t)&&!function(e){return!("[object RegExp]"!==W(e)||M&&"object"==typeof e&&M in e)}(t)){var ie=X(t,A),ce=I?I(t)===Object.prototype:t instanceof Object||t.constructor===Object,se=t instanceof Object?"":"null prototype",le=!ce&&M&&Object(t)===t&&M in t?g.call(W(t),8,-1):se?"Object":"",ue=(ce||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(le||se?"["+_.call(x.call([],le||[],se||[]),": ")+"] ":"");return 0===ie.length?ue+"{}":C?ue+"{"+Y(ie,C)+"}":ue+"{ "+_.call(ie,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return H.call(e,t)}function W(e){return h.call(e)}function U(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+O.call(t.toString(16))}function G(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function q(e,t,n,r){return e+" ("+t+") {"+(r?Y(n,r):_.call(n,", "))+"}"}function Y(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+_.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=z(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=V(e,o)?t(e[o],e):""}var a,i="function"==typeof C?C(e):[];if(T){a={};for(var c=0;c<i.length;c++)a["$"+i[c]]=i[c]}for(var s in e)V(e,s)&&(n&&String(Number(s))===s&&s<e.length||T&&a["$"+s]instanceof Symbol||(w.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if("function"==typeof C)for(var l=0;l<i.length;l++)D.call(e,i[l])&&r.push("["+t(i[l])+"]: "+t(e[i[l]],e));return r}},"50qU":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n("cDcd")),a=u(n("17x9")),i=n("Hsqg"),c=n("1TsT"),s=u(n("4cSd")),l=u(n("n1Y7"));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p={BLOCK:"block",FLEX:"flex",INLINE:"inline",INLINE_BLOCK:"inline-block",CONTENTS:"contents"},b=(0,i.forbidExtraProps)({children:a.default.node.isRequired,onOutsideClick:a.default.func.isRequired,disabled:a.default.bool,useCapture:a.default.bool,display:a.default.oneOf((0,s.default)(p))}),h={disabled:!1,useCapture:!0,display:p.BLOCK},m=function(e){function t(){var e;d(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return a.onMouseDown=a.onMouseDown.bind(a),a.onMouseUp=a.onMouseUp.bind(a),a.setChildNodeRef=a.setChildNodeRef.bind(a),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.disabled,n=e.useCapture;t||this.addMouseDownEventListener(n)}},{key:"componentDidUpdate",value:function(e){var t=e.disabled,n=this.props,r=n.disabled,o=n.useCapture;t!==r&&(r?this.removeEventListeners():this.addMouseDownEventListener(o))}},{key:"componentWillUnmount",value:function(){this.removeEventListeners()}},{key:"onMouseDown",value:function(e){var t=this.props.useCapture;this.childNode&&(0,l.default)(this.childNode,e.target)||(this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),this.removeMouseUp=(0,c.addEventListener)(document,"mouseup",this.onMouseUp,{capture:t}))}},{key:"onMouseUp",value:function(e){var t=this.props.onOutsideClick,n=this.childNode&&(0,l.default)(this.childNode,e.target);this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),n||t(e)}},{key:"setChildNodeRef",value:function(e){this.childNode=e}},{key:"addMouseDownEventListener",value:function(e){this.removeMouseDown=(0,c.addEventListener)(document,"mousedown",this.onMouseDown,{capture:e})}},{key:"removeEventListeners",value:function(){this.removeMouseDown&&this.removeMouseDown(),this.removeMouseUp&&this.removeMouseUp()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.display;return o.default.createElement("div",{ref:this.setChildNodeRef,style:n!==p.BLOCK&&(0,s.default)(p).includes(n)?{display:n}:void 0},t)}}]),t}(o.default.Component);t.default=m,m.propTypes=b,m.defaultProps=h},"5V/u":function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.findAll=function(e){var t=e.autoEscape,a=e.caseSensitive,i=void 0!==a&&a,c=e.findChunks,s=void 0===c?r:c,l=e.sanitize,u=e.searchWords,d=e.textToHighlight;return o({chunksToHighlight:n({chunks:s({autoEscape:t,caseSensitive:i,sanitize:l,searchWords:u,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?a:r,i=e.searchWords,c=e.textToHighlight;return c=o(c),i.filter((function(e){return e})).reduce((function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var a=new RegExp(r,n?"g":"gi"),i=void 0;i=a.exec(c);){var s=i.index,l=a.lastIndex;l>s&&e.push({highlight:!1,start:s,end:l}),i.index===a.lastIndex&&a.lastIndex++}return e}),[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var a=0;t.forEach((function(e){o(a,e.start,!1),o(e.start,e.end,!0),a=e.end})),o(a,n,!1)}return r};function a(e){return e}}])},"5aBA":function(e,t,n){"use strict";
+!function(){var e={5096:function(e){"use strict";function t(){return null}function n(){return t}t.isRequired=t,e.exports={and:n,between:n,booleanSome:n,childrenHavePropXorChildren:n,childrenOf:n,childrenOfType:n,childrenSequenceOf:n,componentWithName:n,disallowedIf:n,elementType:n,empty:n,explicitNull:n,forbidExtraProps:Object,integer:n,keysOf:n,mutuallyExclusiveProps:n,mutuallyExclusiveTrueProps:n,nChildren:n,nonNegativeInteger:t,nonNegativeNumber:n,numericString:n,object:n,or:n,predicate:n,range:n,ref:n,requiredBy:n,restrictedProp:n,sequenceOf:n,shape:n,stringEndsWith:n,stringStartsWith:n,uniqueArray:n,uniqueArrayOf:n,valuesOf:n,withShape:n}},4882:function(e,t,n){e.exports=n(5096)},4485:function(e,t,n){"use strict";var r=n(1539),o=n(6739),i=n(6448),a=n(1723),s=n(6840),l=n(1283);e.exports=function(){var e=l(this),t=s(i(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=a(arguments[0]));var u=r(e,0);return o(u,e,t,0,n),u}},116:function(e,t,n){"use strict";var r=n(9170),o=n(9961),i=n(4485),a=n(616),s=a(),l=n(2059),u=o(s);r(u,{getPolyfill:a,implementation:i,shim:l}),e.exports=u},9630:function(e,t,n){"use strict";var r=n(1801),o=n(9961),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},9961:function(e,t,n){"use strict";var r=n(1930),o=n(1801),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=s(r,a,arguments);if(l&&u){var n=l(t,"length");n.configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var d=function(){return s(r,i,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},4219:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=n(9828)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?r:f(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":h,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},v=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=f(o.prototype))}return m[t]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n(1930),b=n(9284),w=y.call(Function.call,Array.prototype.concat),_=y.call(Function.apply,Array.prototype.splice),x=y.call(Function.call,String.prototype.replace),E=y.call(Function.call,String.prototype.slice),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,C=function(e){var t=E(e,0,1),n=E(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,k,(function(e,t,n,o){r[r.length]=n?x(o,S,"$1"):t||e})),r},P=function(e,t){var n,r=e;if(b(g,r)&&(r="%"+(n=g[r])[0]+"%"),b(m,r)){var i=m[r];if(i===p&&(i=v(r)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=C(e),r=n.length>0?n[0]:"",i=P("%"+r+"%",t),s=i.name,u=i.value,c=!1,d=i.alias;d&&(r=d[0],_(n,w([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],v=E(h,0,1),g=E(h,-1);if(('"'===v||"'"===v||"`"===v||'"'===g||"'"===g||"`"===g)&&v!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&p||(c=!0),b(m,s="%"+(r+="."+h)+"%"))u=m[s];else if(null!=u){if(!(h in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var y=l(u,h);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[h]}else p=b(u,h),u=u[h];p&&!c&&(m[s]=u)}}return u}},9828:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(5960);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},5960:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},4363:function(e){"use strict";var t,n,r=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o((function(){throw 42}),null,t)}catch(e){e!==n&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(e){try{var t=r.call(e);return i.test(t)}catch(e){return!1}},s=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,u="object"==typeof document&&void 0===document.all&&void 0!==document.all?document.all:{};e.exports=o?function(e){if(e===u)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;try{o(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)}:function(e){if(e===u)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(l)return function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=s.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},4221:function(e,t,n){"use strict";var r,o,i,a,s=n(9630),l=n(4111)();if(l){r=s("Object.prototype.hasOwnProperty"),o=s("RegExp.prototype.exec"),i={};var u=function(){throw i};a={toString:u,valueOf:u},"symbol"==typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=u)}var c=s("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=l?function(e){if(!e||"object"!=typeof e)return!1;var t=d(e,"lastIndex");if(!(t&&r(t,"value")))return!1;try{o(e,a)}catch(e){return e===i}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===c(e)}},3205:function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,v=Function.prototype.toString,g=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,x=RegExp.prototype.test,E=Array.prototype.concat,k=Array.prototype.join,S=Array.prototype.slice,C=Math.floor,P="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,D="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,A=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-C(-e):C(e);if(r!==e){var o=String(r),i=y.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var N=n(4080).custom,L=N&&B(N)?N:null;function F(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function j(e){return b.call(String(e),/"/g,"&quot;")}function z(e){return!("[object Array]"!==W(e)||D&&"object"==typeof e&&D in e)}function B(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!M)return!1;try{return M.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(V(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!V(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return $(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return m?R(t,w):w}if("bigint"==typeof t){var x=String(t)+"n";return m?R(t,x):x}var C=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=C&&C>0&&"object"==typeof t)return z(t)?"[Array]":"[Object]";var O=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}(s,r);if(void 0===o)o=[];else if(U(o,t)>=0)return"[Circular]";function N(t,n,i){if(n&&(o=S.call(o)).push(n),i){var a={depth:s.depth};return V(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"==typeof t){var H=function(e){if(e.name)return e.name;var t=g.call(v.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),K=Z(t,N);return"[Function"+(H?": "+H:" (anonymous)")+"]"+(K.length>0?" { "+k.call(K,", ")+" }":"")}if(B(t)){var J=T?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):M.call(t);return"object"!=typeof t||T?J:G(J)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var Q="<"+_.call(String(t.nodeName)),ee=t.attributes||[],te=0;te<ee.length;te++)Q+=" "+ee[te].name+"="+F(j(ee[te].value),"double",s);return Q+=">",t.childNodes&&t.childNodes.length&&(Q+="..."),Q+="</"+_.call(String(t.nodeName))+">"}if(z(t)){if(0===t.length)return"[]";var ne=Z(t,N);return O&&!function(e){for(var t=0;t<e.length;t++)if(U(e[t],"\n")>=0)return!1;return!0}(ne)?"["+X(ne,O)+"]":"[ "+k.call(ne,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||D&&"object"==typeof e&&D in e)}(t)){var re=Z(t,N);return"cause"in t&&!I.call(t,"cause")?"{ ["+String(t)+"] "+k.call(E.call("[cause]: "+N(t.cause),re),", ")+" }":0===re.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(re,", ")+" }"}if("object"==typeof t&&l){if(L&&"function"==typeof t[L])return t[L]();if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var oe=[];return a.call(t,(function(e,n){oe.push(N(n,t,!0)+" => "+N(e,t))})),Y("Map",i.call(t),oe,O)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ie=[];return c.call(t,(function(e){ie.push(N(e,t))})),Y("Set",u.call(t),ie,O)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return q("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return q("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return q("WeakRef");if(function(e){return!("[object Number]"!==W(e)||D&&"object"==typeof e&&D in e)}(t))return G(N(Number(t)));if(function(e){if(!e||"object"!=typeof e||!P)return!1;try{return P.call(e),!0}catch(e){}return!1}(t))return G(N(P.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||D&&"object"==typeof e&&D in e)}(t))return G(h.call(t));if(function(e){return!("[object String]"!==W(e)||D&&"object"==typeof e&&D in e)}(t))return G(N(String(t)));if(!function(e){return!("[object Date]"!==W(e)||D&&"object"==typeof e&&D in e)}(t)&&!function(e){return!("[object RegExp]"!==W(e)||D&&"object"==typeof e&&D in e)}(t)){var ae=Z(t,N),se=A?A(t)===Object.prototype:t instanceof Object||t.constructor===Object,le=t instanceof Object?"":"null prototype",ue=!se&&D&&Object(t)===t&&D in t?y.call(W(t),8,-1):le?"Object":"",ce=(se||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ue||le?"["+k.call(E.call([],ue||[],le||[]),": ")+"] ":"");return 0===ae.length?ce+"{}":O?ce+"{"+X(ae,O)+"}":ce+"{ "+k.call(ae,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return H.call(e,t)}function W(e){return m.call(e)}function U(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function $(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return $(y.call(e,0,t.maxStringLength),t)+r}return F(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,K),"single",t)}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function G(e){return"Object("+e+")"}function q(e){return e+" { ? }"}function Y(e,t,n,r){return e+" ("+t+") {"+(r?X(n,r):k.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=z(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=V(e,o)?t(e[o],e):""}var i,a="function"==typeof O?O(e):[];if(T){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var l in e)V(e,l)&&(n&&String(Number(l))===l&&l<e.length||T&&i["$"+l]instanceof Symbol||(x.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof O)for(var u=0;u<a.length;u++)I.call(e,a[u])&&r.push("["+t(a[u])+"]: "+t(e[a[u]],e));return r}},616:function(e,t,n){"use strict";var r=n(4485);e.exports=function(){return Array.prototype.flat||r}},2059:function(e,t,n){"use strict";var r=n(9170),o=n(616);e.exports=function(){var e=o();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},7615:function(e,t,n){"use strict";var r=n(1801),o=n(2550),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},2550:function(e,t,n){"use strict";var r=n(1930),o=n(1801),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.defineProperty%",!0);if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(){return s(r,a,arguments)};var u=function(){return s(r,i,arguments)};l?l(e.exports,"apply",{value:u}):e.exports.apply=u},4403:function(e,t){var n;
+/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},8495:function(e,t,n){"use strict";n.r(t),n.d(t,{addEventListener:function(){return u}});var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var o=void 0;function i(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}()),o}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);a(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(o);var s=o.nextHandlers.indexOf(t);o.nextHandlers.splice(s,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};var l="__consolidated_events_handlers__";function u(e,t,n,r){e[l]||(e[l]=new s(e));var o=function(e){if(e)return i()?e:!!e.capture}(r);return e[l].add(t,n,o)}},9170:function(e,t,n){"use strict";var r=n(806),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),u=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)u(e,i[s],t[i[s]],n[i[s]])};c.supportsDescriptors=!!l,e.exports=c},8110:function(e){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},6789:function(e,t,n){"use strict";var r=n(9170),o=n(8110),i=n(8267),a=i(),s=function(e,t){return a.apply(e,[t])};r(s,{getPolyfill:i,implementation:o,shim:n(714)}),e.exports=s},8267:function(e,t,n){"use strict";var r=n(8110);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)try{if("boolean"==typeof document.body.contains.call(document,""))return document.body.contains}catch(e){}}return r}},714:function(e,t,n){"use strict";var r=n(9170),o=n(8267);e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},1345:function(e,t,n){"use strict";var r=n(5022);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,l=n.offsetTop||0,u=n.offsetLeft||0,c=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),p=r.offset(e),h=r.outerHeight(e),m=r.outerWidth(e),v=void 0,g=void 0,y=void 0,b=void 0,w=void 0,_=void 0,x=void 0,E=void 0,k=void 0,S=void 0;f?(x=t,S=r.height(x),k=r.width(x),E={left:r.scrollLeft(x),top:r.scrollTop(x)},w={left:p.left-E.left-u,top:p.top-E.top-l},_={left:p.left+m-(E.left+k)+d,top:p.top+h-(E.top+S)+c},b=E):(v=r.offset(t),g=t.clientHeight,y=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},w={left:p.left-(v.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-u,top:p.top-(v.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},_={left:p.left+m-(v.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:p.top+h-(v.top+g+(parseFloat(r.css(t,"borderBottomWidth"))||0))+c}),w.top<0||_.top>0?!0===a?r.scrollTop(t,b.top+w.top):!1===a?r.scrollTop(t,b.top+_.top):w.top<0?r.scrollTop(t,b.top+w.top):r.scrollTop(t,b.top+_.top):i||((a=void 0===a||!!a)?r.scrollTop(t,b.top+w.top):r.scrollTop(t,b.top+_.top)),o&&(w.left<0||_.left>0?!0===s?r.scrollLeft(t,b.left+w.left):!1===s?r.scrollLeft(t,b.left+_.left):w.left<0?r.scrollLeft(t,b.left+w.left):r.scrollLeft(t,b.left+_.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,b.left+w.left):r.scrollLeft(t,b.left+_.left)))}},5425:function(e,t,n){"use strict";e.exports=n(1345)},5022:function(e){"use strict";var t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function r(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function o(e){return r(e)}function i(e){return r(e,!0)}function a(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=o(r),t.top+=i(r),t}var s=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),l=/^(top|right|bottom|left)$/;var u=void 0;function c(e,t){for(var n=0;n<e.length;n++)t(e[n])}function d(e){return"border-box"===u(e,"boxSizing")}"undefined"!=typeof window&&(u=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(s.test(n)&&!l.test(t)){var r=e.style,o=r.left,i=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,r.left="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r.left=o,e.runtimeStyle.left=i}return""===n?"auto":n});var f=["margin","border","padding"];function p(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function h(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s=void 0;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(u(e,s))||0}return r}function m(e){return null!=e&&e==e.window}var v={};function g(e,t,n){if(m(e))return"width"===t?v.viewportWidth(e):v.viewportHeight(e);if(9===e.nodeType)return"width"===t?v.docWidth(e):v.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(u(e),d(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=u(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var s=void 0!==o||i,l=o||a;if(-1===n)return s?l-h(e,["border","padding"],r):a;if(s){var c=2===n?-h(e,["border"],r):h(e,["margin"],r);return l+(1===n?0:c)}return a+h(e,f.slice(n),r)}c(["Width","Height"],(function(e){v["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],v["viewport"+e](n))},v["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var y={position:"absolute",visibility:"hidden",display:"block"};function b(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=g.apply(void 0,n):p(e,y,(function(){t=g.apply(void 0,n)})),t}function w(e,t,r){var o=r;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==o?("number"==typeof o&&(o+="px"),void(e.style[t]=o)):u(e,t);for(var i in t)t.hasOwnProperty(i)&&w(e,i,t[i])}c(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);v["outer"+t]=function(t,n){return t&&b(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];v[e]=function(t,r){if(void 0===r)return t&&b(t,e,-1);if(t){u(t);return d(t)&&(r+=h(t,["padding","border"],n)),w(t,e,r)}}})),e.exports=t({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return a(e);!function(e,t){"static"===w(e,"position")&&(e.style.position="relative");var n=a(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(w(e,i))||0,r[i]=o+t[i]-n[i]);w(e,r)}(e,t)},isWindow:m,each:c,css:w,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(m(e)){if(void 0===t)return o(e);window.scrollTo(t,i(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(m(e)){if(void 0===t)return i(e);window.scrollTo(o(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},v)},9214:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,s=60109,l=60110,u=60112,c=60113,d=60120,f=60115,p=60116,h=60121,m=60122,v=60117,g=60129,y=60131;
 /** @license React v17.0.2
  * react-is.production.min.js
  *
@@ -7,7 +12,15 @@ this.wp=this.wp||{},this.wp.components=function(e){var t={};function n(r){if(t[r
  *
  * This source code is licensed under the MIT license found in the
  * LICENSE file in the root directory of this source tree.
- */var r=60103,o=60106,a=60107,i=60108,c=60114,s=60109,l=60110,u=60112,d=60113,f=60120,p=60115,b=60116,h=60121,m=60122,v=60117,g=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var O=Symbol.for;r=O("react.element"),o=O("react.portal"),a=O("react.fragment"),i=O("react.strict_mode"),c=O("react.profiler"),s=O("react.provider"),l=O("react.context"),u=O("react.forward_ref"),d=O("react.suspense"),f=O("react.suspense_list"),p=O("react.memo"),b=O("react.lazy"),h=O("react.block"),m=O("react.server.block"),v=O("react.fundamental"),g=O("react.debug_trace_mode"),y=O("react.legacy_hidden")}function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case a:case c:case i:case d:case f:return e;default:switch(e=e&&e.$$typeof){case l:case u:case b:case p:case s:return e;default:return t}}case o:return t}}}var w=s,x=r,_=u,E=a,k=b,S=p,C=o,P=c,T=i,M=d;t.ContextConsumer=l,t.ContextProvider=w,t.Element=x,t.ForwardRef=_,t.Fragment=E,t.Lazy=k,t.Memo=S,t.Portal=C,t.Profiler=P,t.StrictMode=T,t.Suspense=M,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return j(e)===l},t.isContextProvider=function(e){return j(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return j(e)===u},t.isFragment=function(e){return j(e)===a},t.isLazy=function(e){return j(e)===b},t.isMemo=function(e){return j(e)===p},t.isPortal=function(e){return j(e)===o},t.isProfiler=function(e){return j(e)===c},t.isStrictMode=function(e){return j(e)===i},t.isSuspense=function(e){return j(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===c||e===g||e===i||e===d||e===f||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===v||e.$$typeof===h||e[0]===m)},t.typeOf=j},"5yQQ":function(e,t,n){"use strict";var r=n("nRDI");e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)try{if("boolean"==typeof document.body.contains.call(document,""))return document.body.contains}catch(e){}}return r}},"6/BL":function(e,t,n){"use strict";var r=n("oNNP"),o=n("10Kj"),a=n("PoQ0");e.exports=function(e){return void 0!==e&&(o(a,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},"60zJ":function(e,t,n){"use strict";e.exports=function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0}},"6Ehn":function(e,t,n){"use strict";var r=n("j1Hc"),o=r("%Array.prototype%"),a=r("%RangeError%"),i=r("%SyntaxError%"),c=r("%TypeError%"),s=n("J2ba"),l=Math.pow(2,32)-1,u=r("%Object.setPrototypeOf%",!0)||([].__proto__!==o?null:function(e,t){return e.__proto__=t,e});e.exports=function(e){if(!s(e)||e<0)throw new c("Assertion failed: `length` must be an integer Number >= 0");if(e>l)throw new a("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:o,n=[];if(t!==o){if(!u)throw new i("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");u(n,t)}return 0!==e&&(n.length=e),n}},"6HWY":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().add(1,"month"),t)};var r=a(n("wy2R")),o=a(n("ulUS"));function a(e){return e&&e.__esModule?e:{default:e}}},"6I5v":function(e,t,n){"use strict";e.exports=function(e){return e>=0?1:-1}},"6XE+":function(e,t,n){"use strict";var r=n("j1Hc"),o=n("knm9"),a=r("%TypeError%"),i=n("qeuH")("Object.prototype.propertyIsEnumerable"),c=n("oNNP"),s=n("Bl8U"),l=n("nR7C"),u=n("a73V"),d=n("6orR"),f=n("PoQ0");e.exports=function(e,t){if("Object"!==f(e))throw new a("Assertion failed: O must be an Object");if(!l(t))throw new a("Assertion failed: P must be a Property Key");if(c(e,t)){if(!o){var n=s(e)&&"length"===t,r=u(e)&&"lastIndex"===t;return{"[[Configurable]]":!(n||r),"[[Enumerable]]":i(e,t),"[[Value]]":e[t],"[[Writable]]":!0}}return d(o(e,t))}}},"6orR":function(e,t,n){"use strict";var r=n("oNNP"),o=n("j1Hc")("%TypeError%"),a=n("PoQ0"),i=n("e87w"),c=n("1P9b");e.exports=function(e){if("Object"!==a(e))throw new o("ToPropertyDescriptor requires an object");var t={};if(r(e,"enumerable")&&(t["[[Enumerable]]"]=i(e.enumerable)),r(e,"configurable")&&(t["[[Configurable]]"]=i(e.configurable)),r(e,"value")&&(t["[[Value]]"]=e.value),r(e,"writable")&&(t["[[Writable]]"]=i(e.writable)),r(e,"get")){var n=e.get;if(void 0!==n&&!c(n))throw new o("getter must be a function");t["[[Get]]"]=n}if(r(e,"set")){var s=e.set;if(void 0!==s&&!c(s))throw new o("setter must be a function");t["[[Set]]"]=s}if((r(t,"[[Get]]")||r(t,"[[Set]]"))&&(r(t,"[[Value]]")||r(t,"[[Writable]]")))throw new o("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},"6zzY":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));var r=n("GRId"),o=n("YLtl");n("Z23Y");const a=Object(r.createContext)({}),i=()=>Object(r.useContext)(a);function c(t){let{value:n}=t;const a=i(),c=Object(r.useRef)(n);!function(e,t){const n=Object(r.useRef)(!1);Object(r.useEffect)(()=>{if(n.current)return e();n.current=!0},t)}(()=>{Object(o.isEqual)(c.current,n)&&c.current!==n&&void 0!==e&&e.env},[n]);return Object(r.useMemo)(()=>Object(o.merge)(Object(o.cloneDeep)(a),n),[a,n])}const s=Object(r.memo)(e=>{let{children:t,value:n}=e;const o=c({value:n});return Object(r.createElement)(a.Provider,{value:o},t)})}).call(this,n("8oxB"))},"71Og":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=["button","color","file","image","reset","submit"];function o(e){if("BUTTON"===e.tagName)return!0;if("INPUT"===e.tagName){var t=e;return-1!==r.indexOf(t.type)}return!1}},"75pU":function(e,t){function n(e,t,n,r){var o,a=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),i=t.get(a);return void 0===i&&(i=e.call(this,r),t.set(a,i)),i}function r(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),a=t.get(o);return void 0===a&&(a=e.apply(this,r),t.set(o,a)),a}function o(e,t,n,r,o){return n.bind(t,e,r,o)}function a(e,t){return o(e,this,1===e.length?n:r,t.cache.create(),t.serializer)}function i(){return JSON.stringify(arguments)}function c(){this.cache=Object.create(null)}c.prototype.has=function(e){return e in this.cache},c.prototype.get=function(e){return this.cache[e]},c.prototype.set=function(e,t){this.cache[e]=t};var s={create:function(){return new c}};e.exports=function(e,t){var n=t&&t.cache?t.cache:s,r=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:a)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return o(e,this,r,t.cache.create(),t.serializer)},monadic:function(e,t){return o(e,this,n,t.cache.create(),t.serializer)}}},"7Cbv":function(e,t,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 c=function(e){return"string"==typeof e&&i.test(e)},s=[],l=0;l<256;++l)s.push((l+256).toString(16).substr(1));var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]).toLowerCase();if(!c(n))throw TypeError("Stringified UUID is invalid");return n};t.a=function(e,t,n){var r=(e=e||{}).random||(e.rng||a)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return u(r)}},"7Jlx":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var r=n("YLtl"),o=n("GRId"),a=(n("Z23Y"),n("tQ+x")),i=n("UAm0");function c(t,n){let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{memo:s=!1}=c;let l=Object(o.forwardRef)(t);s&&(l=Object(o.memo)(l)),void 0===n&&void 0!==e&&e.env;let u=l[a.c]||[n];return Array.isArray(n)&&(u=[...u,...n]),"string"==typeof n&&(u=[...u,n]),l.displayName=n,l[a.c]=Object(r.uniq)(u),l.selector="."+Object(i.a)(n),l}function s(e){if(!e)return[];let t=[];return e[a.c]&&(t=e[a.c]),e.type&&e.type[a.c]&&(t=e.type[a.c]),t}function l(e,t){return!!e&&("string"==typeof t?s(e).includes(t):!!Array.isArray(t)&&t.some(t=>s(e).includes(t)))}}).call(this,n("8oxB"))},"7bKH":function(e,t,n){"use strict";var r=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},o=function(e){return.2126*r(e.r)+.7152*r(e.g)+.0722*r(e.b)};t.a=function(e){e.prototype.luminance=function(){return e=o(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,r,a,i,c,s,l,u=t instanceof e?t:new e(t);return i=this.rgba,c=u.toRgb(),n=(s=o(i))>(l=o(c))?(s+.05)/(l+.05):(l+.05)/(s+.05),void 0===(r=2)&&(r=0),void 0===a&&(a=Math.pow(10,r)),Math.floor(a*n)/a+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(i=void 0===(a=(n=t).size)?"normal":a,"AAA"===(o=void 0===(r=n.level)?"AA":r)&&"normal"===i?7:"AA"===o&&"large"===i?3:4.5);var n,r,o,a,i}}},"82c2":function(e,t,n){"use strict";var r=n("1seS"),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,c=Object.defineProperty,s=c&&function(){var e={};try{for(var t in c(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),l=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===a.call(o)&&r())&&(s?c(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var c=0;c<a.length;c+=1)l(e,a[c],t[a[c]],n[a[c]])};u.supportsDescriptors=!!s,e.exports=u},"8R9v":function(e,t,n){"use strict";var r=n("82c2"),o=n("yLpt");e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},"8oxB":function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!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:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,l=[],u=!1,d=-1;function f(){u&&s&&(u=!1,s.length?l=s.concat(l):d=-1,l.length&&p())}function p(){if(!u){var e=c(f);u=!0;for(var t=l.length;t;){for(s=l,l=[];++d<t;)s&&s[d].run();d=-1,t=l.length}s=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function b(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new b(e,t)),1!==l.length||u||c(p)},b.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},"8sMu":function(e,t,n){"use strict";var r=Math.floor;e.exports=function(e){return r(e)}},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},"9VDH":function(e,t,n){"use strict";var r=n("wx14"),o=n("GRId"),a=n("Tqx9"),i=n("vUUf");t.a=function(e){let{icon:t=null,size:n=24,...c}=e;if("string"==typeof t)return Object(o.createElement)(i.a,Object(r.a)({icon:t},c));if(Object(o.isValidElement)(t)&&i.a===t.type)return Object(o.cloneElement)(t,{...c});if("function"==typeof t)return t.prototype instanceof o.Component?Object(o.createElement)(t,{size:n,...c}):t({size:n,...c});if(t&&("svg"===t.type||t.type===a.SVG)){const e={width:n,height:n,...t.props,...c};return Object(o.createElement)(a.SVG,e)}return Object(o.isValidElement)(t)?Object(o.cloneElement)(t,{size:n,...c}):t}},"9Zbq":function(e,t,n){"use strict";function r(e,t){return"matches"in e?e.matches(t):"msMatchesSelector"in e?e.msMatchesSelector(t):e.webkitMatchesSelector(t)}n.d(t,"a",(function(){return r}))},"9cOx":function(e,t,n){"use strict";var r=n("j1Hc")("%Array%"),o=!r.isArray&&n("qeuH")("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===o(e)}},"9gmn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("cDcd"),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e){return a.default.createElement("svg",e,a.default.createElement("path",{d:"M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z"}))};i.defaultProps={viewBox:"0 0 1000 1000"},t.default=i},"9pTB":function(e,t,n){"use strict";(function(t){var r=n("82c2"),o=n("/sVA"),a="__ global cache key __";"function"==typeof Symbol&&o(Symbol("foo"))&&"function"==typeof Symbol.for&&(a=Symbol.for(a));var i=function(){return!0},c=function(){if(!t[a]){var e={};e[a]={};var n={};n[a]=i,r(t,e,n)}return t[a]},s=c(),l=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete t[a],s=c()},delete:function(e){return u(e),delete s[l(e)],!d.has(e)},get:function(e){return u(e),s[l(e)]},has:function(e){return u(e),l(e)in s},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var a={};return a[n]=i,r(s,o,a),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d}).call(this,n("yLpj"))},AClM:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("Nym8");function o(e){var t=Object(r.a)(e);if(!t)return!1;if(t===e)return!0;var n=t.getAttribute("aria-activedescendant");return!!n&&n===e.id}function a(e,t){var n=void 0===t?{}:t,r=n.preventScroll,a=n.isActive,i=void 0===a?o:a;return i(e)?-1:(e.focus({preventScroll:r}),i(e)?-1:requestAnimationFrame((function(){e.focus({preventScroll:r})})))}},AM7I:function(e,t,n){"use strict";var r=SyntaxError,o=Function,a=TypeError,i=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var s=function(){throw new a},l=c?function(){try{return s}catch(e){try{return c(arguments,"callee").get}catch(e){return s}}}():s,u=n("UVaH")(),d=Object.getPrototypeOf||function(e){return e.__proto__},f=i("async function* () {}"),p=f?f.prototype:void 0,b=p?p.prototype:void 0,h="undefined"==typeof Uint8Array?void 0:d(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?d([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":i("async function () {}"),"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":b?d(b):void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":i("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?d(d([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?d((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?d((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?d(""[Symbol.iterator]()):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n("D3zA"),y=n("oNNP"),O=g.call(Function.call,Array.prototype.concat),j=g.call(Function.apply,Array.prototype.splice),w=g.call(Function.call,String.prototype.replace),x=g.call(Function.call,String.prototype.slice),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,k=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var o=[];return w(e,_,(function(e,t,n,r){o[o.length]=n?w(r,E,"$1"):t||e})),o},S=function(e,t){var n,o=e;if(y(v,o)&&(o="%"+(n=v[o])[0]+"%"),y(m,o)){var i=m[o];if(void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=k(e),o=n.length>0?n[0]:"",i=S("%"+o+"%",t),s=i.name,l=i.value,u=!1,d=i.alias;d&&(o=d[0],j(n,O([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var b=n[f],h=x(b,0,1),v=x(b,-1);if(('"'===h||"'"===h||"`"===h||'"'===v||"'"===v||"`"===v)&&h!==v)throw new r("property names with quotes must have matching quotes");if("constructor"!==b&&p||(u=!0),y(m,s="%"+(o+="."+b)+"%"))l=m[s];else if(null!=l){if(!(b in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&f+1>=n.length){var g=c(l,b);l=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:l[b]}else p=y(l,b),l=l[b];p&&!u&&(m[s]=l)}}return l}},AP2z:function(e,t,n){var r=n("nmnc"),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[c]=n:delete e[c]),o}},APjL:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("9Zbq");function o(e,t){if("closest"in e)return e.closest(t);do{if(Object(r.a)(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}},AXvK:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("cDcd"),o=n("+ipW").a?r.useLayoutEffect:r.useEffect},Ae65:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){var c=o.chooseAvailableDate,s=o.dateIsUnavailable,l=o.dateIsSelected,u={width:n,height:n-1},d=r.has("blocked-minimum-nights")||r.has("blocked-calendar")||r.has("blocked-out-of-range"),f=r.has("selected")||r.has("selected-start")||r.has("selected-end"),p=!f&&(r.has("hovered-span")||r.has("after-hovered-start")),b=r.has("blocked-out-of-range"),h={date:e.format(t)},m=(0,a.default)(c,h);r.has(i.BLOCKED_MODIFIER)?m=(0,a.default)(s,h):f&&(m=(0,a.default)(l,h));return{daySizeStyles:u,useDefaultCursor:d,selected:f,hoveredSpan:p,isOutsideRange:b,ariaLabel:m}};var r,o=n("oOcr"),a=(r=o)&&r.__esModule?r:{default:r},i=n("Fv1B")},AeFk:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));n("cDcd"),n("+1VY"),n("ek6p"),n("pVnL"),n("gRFL"),n("2mql"),n("eVQB");var r=n("Exhd");n("ep+1");function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(r.a)(t)}var a=function(){var e=o.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},Asd8:function(e,t,n){"use strict";var r,o,a=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={},i((function(){throw 42}),null,r)}catch(e){e!==o&&(i=null)}else i=null;var c=/^\s*class\b/,s=function(e){try{var t=a.call(e);return c.test(t)}catch(e){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,d="object"==typeof document&&void 0===document.all&&void 0!==document.all?document.all:{};e.exports=i?function(e){if(e===d)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;try{i(e,null,r)}catch(e){if(e!==o)return!1}return!s(e)}:function(e){if(e===d)return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(u)return function(e){try{return!s(e)&&(a.call(e),!0)}catch(e){return!1}}(e);if(s(e))return!1;var t=l.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},"B6Q+":function(e,t,n){"use strict";var r=n("qGip");e.exports=function(){return r()&&!!Symbol.toStringTag}},BZp5:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}))},BeK9:function(e,t,n){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},Bl8U:function(e,t,n){"use strict";var r=n("j1Hc")("%Array%"),o=!r.isArray&&n("qeuH")("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===o(e)}},Bpkj:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.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=a},C6yU:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));n("Z23Y");var r=n("6zzY"),o=n("Ohaz"),a=n("UAm0"),i=n("h9+V");function c(t,n){const c=Object(r.b)();void 0===n&&void 0!==e&&e.env;const s=(null==c?void 0:c[n])||{},l={...Object(o.a)(),...Object(o.b)(n)},{_overrides:u,...d}=s,f=Object.entries(d).length?Object.assign({},d,t):t,p=Object(i.a)()(Object(a.a)(n),t.className),b="function"==typeof f.renderChildren?f.renderChildren(f):f.children;for(const e in f)l[e]=f[e];for(const e in u)l[e]=u[e];return l.children=b,l.className=p,l}}).call(this,n("8oxB"))},"Cw+6":function(e,t,n){"use strict";var r=n("GRId"),o=n("YLtl");t.a=function(e){let t,n,{shortcut:a,className:i}=e;return a?(Object(o.isString)(a)&&(t=a),Object(o.isObject)(a)&&(t=a.display,n=a.ariaLabel),Object(r.createElement)("span",{className:i,"aria-label":n},t)):null}},Cx2f:function(e,t,n){"use strict";var r=n("WZeS");e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},D3zA:function(e,t,n){"use strict";var r=n("aI7X");e.exports=Function.prototype.bind||r},DHWS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("cDcd"),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e){return a.default.createElement("svg",e,a.default.createElement("path",{d:"M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z"}))};i.defaultProps={viewBox:"0 0 1000 1000"},t.default=i},DZdY:function(e,t,n){"use strict";var r=n("wx14"),o=n("cDcd"),a=n("SVgp"),i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,c=Object(a.a)((function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),s=n("ek6p"),l=n("eVQB"),u=n("Exhd"),d=c,f=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:f},b=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(){return null};t.a=function e(t,n){var a,i,c=t.__emotion_real===t,d=c&&t.__emotion_base||t;void 0!==n&&(a=n.label,i=n.target);var f=b(t,n,c),m=f||p(d),v=!m("as");return function(){var g=arguments,y=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&y.push("label:"+a+";"),null==g[0]||void 0===g[0].raw)y.push.apply(y,g);else{0,y.push(g[0][0]);for(var O=g.length,j=1;j<O;j++)y.push(g[j],g[0][j])}var w=Object(s.g)((function(e,t,n){var r=v&&e.as||d,a="",c=[],b=e;if(null==e.theme){for(var g in b={},e)b[g]=e[g];b.theme=Object(o.useContext)(s.c)}"string"==typeof e.className?a=Object(l.a)(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var O=Object(u.a)(y.concat(c),t.registered,b);Object(l.b)(t,O,"string"==typeof r);a+=t.key+"-"+O.name,void 0!==i&&(a+=" "+i);var j=v&&void 0===f?p(r):m,w={};for(var x in e)v&&"as"===x||j(x)&&(w[x]=e[x]);w.className=a,w.ref=n;var _=Object(o.createElement)(r,w),E=Object(o.createElement)(h,null);return Object(o.createElement)(o.Fragment,null,E,_)}));return w.displayName=void 0!==a?a:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",w.defaultProps=t.defaultProps,w.__emotion_real=w,w.__emotion_base=d,w.__emotion_styles=y,w.__emotion_forwardProp=f,Object.defineProperty(w,"toString",{value:function(){return"."+i}}),w.withComponent=function(t,o){return e(t,Object(r.a)({},n,o,{shouldForwardProp:b(w,o,!0)})).apply(void 0,y)},w}}},DciD:function(e,t,n){"use strict";function r(){return null}function o(){return r}r.isRequired=r,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,empty:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:r,nonNegativeNumber:o,numericString:o,object:o,or:o,predicate:o,range:o,ref:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringEndsWith:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},DmXP:function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(a?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},DzJC:function(e,t,n){var r=n("sEfC"),o=n("GoyQ");e.exports=function(e,t,n){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,i="trailing"in n?!!n.trailing:i),r(e,t,{leading:a,maxWait:t,trailing:i})}},ExA7:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},Exhd:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=n("SVgp"),i=/[A-Z]|^ms/g,c=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},u=Object(a.a)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(c,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=f(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":l(i)&&(r+=u(a)+":"+d(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var c=f(e,t,i);switch(a){case"animation":case"animationName":r+=u(a)+":"+c+";";break;default:r+=a+"{"+c+"}"}}else for(var s=0;s<i.length;s++)l(i[s])&&(r+=u(a)+":"+d(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=p,a=n(e);return p=o,f(e,t,a)}break;case"string":}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var p,b=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var h=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,a="";p=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,a+=f(n,t,i)):a+=i[0];for(var c=1;c<e.length;c++)a+=f(n,t,e[c]),o&&(a+=i[c]);b.lastIndex=0;for(var s,l="";null!==(s=b.exec(a));)l+="-"+s[1];return{name:r(a)+l,styles:a,next:p}}},F7ZS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.localeData().firstDayOfWeek();if(!a.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===i.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),o=e.clone().endOf("month").hour(12),c=(r.day()+7-n)%7,s=(n+6-o.day())%7,l=r.clone().subtract(c,"day"),u=o.clone().add(s,"day"),d=u.diff(l,"days")+1,f=l.clone(),p=[],b=0;b<d;b+=1){b%7==0&&p.push([]);var h=null;(b>=c&&b<d-s||t)&&(h=f.clone()),p[p.length-1].push(h),f.add(1,"day")}return p};var r,o=n("wy2R"),a=(r=o)&&r.__esModule?r:{default:r},i=n("Fv1B")},FpZJ:function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},FqII:function(e,t){e.exports=window.wp.date},FufO:function(e,t,n){"use strict";var r=n("1seS"),o=function(e){return null!=e},a=n("FpZJ")(),i=n("VF6F"),c=Object,s=i("Array.prototype.push"),l=i("Object.prototype.propertyIsEnumerable"),u=a?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(!o(e))throw new TypeError("target must be an object");var n,i,d,f,p,b,h,m=c(e);for(n=1;n<arguments.length;++n){i=c(arguments[n]),f=r(i);var v=a&&(Object.getOwnPropertySymbols||u);if(v)for(p=v(i),d=0;d<p.length;++d)h=p[d],l(i,h)&&s(f,h);for(d=0;d<f.length;++d)b=i[h=f[d]],l(i,h)&&(m[h]=b)}return m}},Fv1B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},G3V0:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("BZp5"),o=n("hE48"),a=n("qdes"),i=n("cDcd"),c=n("aU41"),s=n("71Og"),l=(n("KA1K"),n("eNtd")),u=n("AXvK"),d=n("PcHe"),f=n("Vq1w"),p=n("reMF"),b=n("kqkJ"),h=n("zGFp"),m=Object(p.a)("Mac")&&!Object(p.a)("Chrome")&&(Object(p.a)("Safari")||Object(p.a)("Firefox"));function v(e){!Object(d.a)(e)&&Object(b.c)(e)&&e.focus()}function g(e,t,n,r){return e?t&&!n?-1:void 0:t?r:r||0}function y(e,t){return Object(i.useCallback)((function(n){var r;null===(r=e.current)||void 0===r||r.call(e,n),n.defaultPrevented||t&&(n.stopPropagation(),n.preventDefault())}),[e,t])}var O=Object(a.a)({name:"Tabbable",compose:h.a,keys:["disabled","focusable"],useOptions:function(e,t){var n=t.disabled;return Object(r.b)({disabled:n},e)},useProps:function(e,t){var n=t.ref,o=t.tabIndex,a=t.onClickCapture,d=t.onMouseDownCapture,p=t.onMouseDown,b=t.onKeyPressCapture,h=t.style,O=Object(r.a)(t,["ref","tabIndex","onClickCapture","onMouseDownCapture","onMouseDown","onKeyPressCapture","style"]),j=Object(i.useRef)(null),w=Object(l.a)(a),x=Object(l.a)(d),_=Object(l.a)(p),E=Object(l.a)(b),k=!!e.disabled&&!e.focusable,S=Object(i.useState)(!0),C=S[0],P=S[1],T=Object(i.useState)(!0),M=T[0],D=T[1],I=e.disabled?Object(r.b)({pointerEvents:"none"},h):h;Object(u.a)((function(){var e=j.current;e&&(["BUTTON","INPUT","SELECT","TEXTAREA","A"].includes(e.tagName)||P(!1),function(e){return["BUTTON","INPUT","SELECT","TEXTAREA"].includes(e.tagName)}(e)||D(!1))}),[]);var R=y(w,e.disabled),A=y(x,e.disabled),N=y(E,e.disabled),L=Object(i.useCallback)((function(e){var t;null===(t=_.current)||void 0===t||t.call(_,e);var n=e.currentTarget;if(!e.defaultPrevented&&m&&!Object(f.a)(e)&&Object(s.a)(n)){var r=requestAnimationFrame((function(){n.removeEventListener("mouseup",o,!0),v(n)})),o=function(){cancelAnimationFrame(r),v(n)};n.addEventListener("mouseup",o,{once:!0,capture:!0})}}),[]);return Object(r.b)({ref:Object(c.a)(j,n),style:I,tabIndex:g(k,C,M,o),disabled:!(!k||!M)||void 0,"aria-disabled":!!e.disabled||void 0,onClickCapture:R,onMouseDownCapture:A,onMouseDown:L,onKeyPressCapture:N},O)}});Object(o.a)({as:"div",useHook:O})},GET3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=v(n("Koq/")),i=v(n("cDcd")),c=v(n("17x9")),s=v(n("YZDV")),l=v(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=v(n("wy2R")),p=n("vV+G"),b=v(n("yc2e")),h=v(n("Ae65")),m=n("Fv1B");function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var O=v(n("xOhs")).default.reactDates.color;function j(e,t){if(!e)return null;var n=e.hover;return t&&n?n:e}var w=c.default.shape({background:c.default.string,border:(0,u.or)([c.default.string,c.default.number]),color:c.default.string,hover:c.default.shape({background:c.default.string,border:(0,u.or)([c.default.string,c.default.number]),color:c.default.string})}),x=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:c.default.bool,modifiers:c.default.instanceOf(Set),isFocused:c.default.bool,tabIndex:c.default.oneOf([0,-1]),onDayClick:c.default.func,onDayMouseEnter:c.default.func,onDayMouseLeave:c.default.func,renderDayContents:c.default.func,ariaLabelFormat:c.default.string,defaultStyles:w,outsideStyles:w,todayStyles:w,firstDayOfWeekStyles:w,lastDayOfWeekStyles:w,highlightedCalendarStyles:w,blockedMinNightsStyles:w,blockedCalendarStyles:w,blockedOutOfRangeStyles:w,hoveredSpanStyles:w,selectedSpanStyles:w,lastInRangeStyles:w,selectedStyles:w,selectedStartStyles:w,selectedEndStyles:w,afterHoveredStartStyles:w,phrases:c.default.shape((0,b.default)(p.CalendarDayPhrases))})),_=t.defaultStyles={border:"1px solid "+String(O.core.borderLight),color:O.text,background:O.background,hover:{background:O.core.borderLight,border:"1px double "+String(O.core.borderLight),color:"inherit"}},E=t.outsideStyles={background:O.outside.backgroundColor,border:0,color:O.outside.color},k=t.highlightedCalendarStyles={background:O.highlighted.backgroundColor,color:O.highlighted.color,hover:{background:O.highlighted.backgroundColor_hover,color:O.highlighted.color_active}},S=t.blockedMinNightsStyles={background:O.minimumNights.backgroundColor,border:"1px solid "+String(O.minimumNights.borderColor),color:O.minimumNights.color,hover:{background:O.minimumNights.backgroundColor_hover,color:O.minimumNights.color_active}},C=t.blockedCalendarStyles={background:O.blocked_calendar.backgroundColor,border:"1px solid "+String(O.blocked_calendar.borderColor),color:O.blocked_calendar.color,hover:{background:O.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(O.blocked_calendar.borderColor),color:O.blocked_calendar.color_active}},P=t.blockedOutOfRangeStyles={background:O.blocked_out_of_range.backgroundColor,border:"1px solid "+String(O.blocked_out_of_range.borderColor),color:O.blocked_out_of_range.color,hover:{background:O.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(O.blocked_out_of_range.borderColor),color:O.blocked_out_of_range.color_active}},T=t.hoveredSpanStyles={background:O.hoveredSpan.backgroundColor,border:"1px solid "+String(O.hoveredSpan.borderColor),color:O.hoveredSpan.color,hover:{background:O.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(O.hoveredSpan.borderColor),color:O.hoveredSpan.color_active}},M=t.selectedSpanStyles={background:O.selectedSpan.backgroundColor,border:"1px solid "+String(O.selectedSpan.borderColor),color:O.selectedSpan.color,hover:{background:O.selectedSpan.backgroundColor_hover,border:"1px solid "+String(O.selectedSpan.borderColor),color:O.selectedSpan.color_active}},D=t.lastInRangeStyles={borderRight:O.core.primary},I=t.selectedStyles={background:O.selected.backgroundColor,border:"1px solid "+String(O.selected.borderColor),color:O.selected.color,hover:{background:O.selected.backgroundColor_hover,border:"1px solid "+String(O.selected.borderColor),color:O.selected.color_active}},R={day:(0,f.default)(),daySize:m.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",defaultStyles:_,outsideStyles:E,todayStyles:{},highlightedCalendarStyles:k,blockedMinNightsStyles:S,blockedCalendarStyles:C,blockedOutOfRangeStyles:P,hoveredSpanStyles:T,selectedSpanStyles:M,lastInRangeStyles:D,selectedStyles:I,selectedStartStyles:{},selectedEndStyles:{},afterHoveredStartStyles:{},firstDayOfWeekStyles:{},lastDayOfWeekStyles:{},phrases:p.CalendarDayPhrases},A=function(e){function t(){var e;g(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=y(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return a.state={isHovered:!1},a.setButtonRef=a.setButtonRef.bind(a),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,s.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){var n=this.props.onDayMouseEnter;this.setState({isHovered:!0}),n(e,t)}},{key:"onDayMouseLeave",value:function(e,t){var n=this.props.onDayMouseLeave;this.setState({isHovered:!1}),n(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,a=t.daySize,c=t.isOutsideDay,s=t.modifiers,l=t.tabIndex,u=t.renderDayContents,f=t.styles,p=t.phrases,b=t.defaultStyles,m=t.outsideStyles,v=t.todayStyles,g=t.firstDayOfWeekStyles,y=t.lastDayOfWeekStyles,O=t.highlightedCalendarStyles,w=t.blockedMinNightsStyles,x=t.blockedCalendarStyles,_=t.blockedOutOfRangeStyles,E=t.hoveredSpanStyles,k=t.selectedSpanStyles,S=t.lastInRangeStyles,C=t.selectedStyles,P=t.selectedStartStyles,T=t.selectedEndStyles,M=t.afterHoveredStartStyles,D=this.state.isHovered;if(!n)return i.default.createElement("td",null);var I=(0,h.default)(n,o,a,s,p),R=I.daySizeStyles,A=I.useDefaultCursor,N=I.selected,L=I.hoveredSpan,F=I.isOutsideRange,z=I.ariaLabel;return i.default.createElement("td",r({},(0,d.css)(f.CalendarDay,A&&f.CalendarDay__defaultCursor,R,j(b,D),c&&j(m,D),s.has("today")&&j(v,D),s.has("first-day-of-week")&&j(g,D),s.has("last-day-of-week")&&j(y,D),s.has("highlighted-calendar")&&j(O,D),s.has("blocked-minimum-nights")&&j(w,D),s.has("blocked-calendar")&&j(x,D),L&&j(E,D),s.has("after-hovered-start")&&j(M,D),s.has("selected-span")&&j(k,D),s.has("last-in-range")&&j(S,D),N&&j(C,D),s.has("selected-start")&&j(P,D),s.has("selected-end")&&j(T,D),F&&j(_,D)),{role:"button",ref:this.setButtonRef,"aria-label":z,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:l}),u?u(n,s):n.format("D"))}}]),t}(i.default.Component);A.propTypes=x,A.defaultProps=R,t.PureCustomizableCalendarDay=A,t.default=(0,d.withStyles)((function(e){return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:e.reactDates.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"}}}))(A)},GG7f:function(e,t,n){n("H24B")},GK4x:function(e,t,n){"use strict";var r=n("GRId");const o=Object(r.createContext)();t.a=o},GRId:function(e,t){e.exports=window.wp.element},Gn0q:function(e,t,n){"use strict";var r=n("82c2"),o=n("5yQQ");e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},GoyQ:function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},H24B:function(e,t,n){"use strict";var r,o=n("TUyu");(0,((r=o)&&r.__esModule?r:{default:r}).default)()},Hsqg:function(e,t,n){e.exports=n("DciD")},HwJD:function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},HyUg:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n("eJkf");e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},"I/A+":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}))},IVEb:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("cDcd"),o=n("eUCI"),a=n("RDTF");var i=function(e,t,n){void 0===n&&(n=t.children);var i=Object(r.useContext)(o.a);if(i.useCreateElement)return i.useCreateElement(e,t,n);if("string"==typeof e&&function(e){return"function"==typeof e}(n)){t.children;return n(Object(a.b)(t,["children"]))}return Object(r.createElement)(e,t,n)}},IdCN:function(e,t,n){"use strict";var r,o,a=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw o}}),o={},i((function(){throw 42}),null,r)}catch(e){e!==o&&(i=null)}else i=null;var c=/^\s*class\b/,s=function(e){try{var t=a.call(e);return c.test(t)}catch(e){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=i?function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;try{i(e,null,r)}catch(e){if(e!==o)return!1}return!s(e)}:function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(u)return function(e){try{return!s(e)&&(a.call(e),!0)}catch(e){return!1}}(e);if(s(e))return!1;var t=l.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},IgE5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){var i=t.clone().startOf("month");a&&(i=i.startOf("week"));if((0,r.default)(e,i))return!1;var c=t.clone().add(n-1,"months").endOf("month");a&&(c=c.endOf("week"));return!(0,o.default)(e,c)};var r=a(n("h6xH")),o=a(n("Nho6"));function a(e){return e&&e.__esModule?e:{default:e}}},J2ba:function(e,t,n){"use strict";var r=n("S8ty"),o=n("8sMu"),a=n("PoQ0"),i=n("HwJD"),c=n("ald4");e.exports=function(e){if("Number"!==a(e)||i(e)||!c(e))return!1;var t=r(e);return o(t)===t}},J7JS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("17x9"),a=(r=o)&&r.__esModule?r:{default:r},i=n("Hsqg");function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=(0,i.and)([a.default.instanceOf(Set),function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=e[t],l=void 0;return[].concat(s(i)).some((function(e,n){var o,i=String(t)+": index "+String(n);return null!=(l=(o=a.default.string).isRequired.apply(o,[c({},i,e),i].concat(r)))})),null==l?null:l}],"Modifiers (Set of Strings)")},JLmN:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("BZp5"),o=n("hE48"),a=n("qdes"),i=n("cDcd"),c=n("71Og"),s=(n("KA1K"),n("eNtd")),l=n("k2cL"),u=n("G3V0");var d=Object(a.a)({name:"Clickable",compose:u.a,keys:["unstable_clickOnEnter","unstable_clickOnSpace"],useOptions:function(e){var t=e.unstable_clickOnEnter,n=void 0===t||t,o=e.unstable_clickOnSpace,a=void 0===o||o,i=Object(r.a)(e,["unstable_clickOnEnter","unstable_clickOnSpace"]);return Object(r.b)({unstable_clickOnEnter:n,unstable_clickOnSpace:a},i)},useProps:function(e,t){var n=t.onKeyDown,o=t.onKeyUp,a=Object(r.a)(t,["onKeyDown","onKeyUp"]),u=Object(i.useState)(!1),d=u[0],f=u[1],p=Object(s.a)(n),b=Object(s.a)(o),h=Object(i.useCallback)((function(t){var n;if(null===(n=p.current)||void 0===n||n.call(p,t),!t.defaultPrevented&&!e.disabled&&!t.metaKey&&Object(l.a)(t)){var r=e.unstable_clickOnEnter&&"Enter"===t.key,o=e.unstable_clickOnSpace&&" "===t.key;if(r||o){if(function(e){var t=e.currentTarget;return!!e.isTrusted&&(Object(c.a)(t)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||"A"===t.tagName||"SELECT"===t.tagName)}(t))return;t.preventDefault(),r?t.currentTarget.click():o&&f(!0)}}}),[e.disabled,e.unstable_clickOnEnter,e.unstable_clickOnSpace]),m=Object(i.useCallback)((function(t){var n;if(null===(n=b.current)||void 0===n||n.call(b,t),!t.defaultPrevented&&!e.disabled&&!t.metaKey){var r=e.unstable_clickOnSpace&&" "===t.key;d&&r&&(f(!1),t.currentTarget.click())}}),[e.disabled,e.unstable_clickOnSpace,d]);return Object(r.b)({"data-active":d||void 0,onKeyDown:h,onKeyUp:m},a)}});Object(o.a)({as:"button",memo:!0,useHook:d})},JYkG:function(e,t,n){"use strict";(function(e){var r=n("GRId");n("Z23Y");const o=Object(r.createContext)({slots:{},fills:{},registerSlot:()=>{void 0!==e&&e.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});t.a=o}).call(this,n("8oxB"))},Jt44:function(e,t,n){"use strict";e.exports=n("j1Hc")},Jx1U:function(e,t){var n={};n.parse=function(){var e=/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,t=/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,n=/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,r=/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,o=/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,a=/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,i=/^(left|center|right|top|bottom)/i,c=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,s=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,l=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,u=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,d=/^\(/,f=/^\)/,p=/^,/,b=/^\#([0-9a-fA-F]+)/,h=/^([a-zA-Z]+)/,m=/^rgb/i,v=/^rgba/i,g=/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/,y="";function O(e){var t=new Error(y+": "+e);throw t.source=y,t}function j(){var e=T(w);return y.length>0&&O("Invalid input not EOF"),e}function w(){return x("linear-gradient",e,E)||x("repeating-linear-gradient",t,E)||x("radial-gradient",n,k)||x("repeating-radial-gradient",r,k)}function x(e,t,n){return _(t,(function(t){var r=n();return r&&(N(p)||O("Missing comma before color stops")),{type:e,orientation:r,colorStops:T(M)}}))}function _(e,t){var n=N(e);if(n)return N(d)||O("Missing ("),result=t(n),N(f)||O("Missing )"),result}function E(){return A("directional",o,1)||A("angular",u,1)}function k(){var e,t,n=S();return n&&((e=[]).push(n),t=y,N(p)&&((n=S())?e.push(n):y=t)),e}function S(){var e=function(){var e=A("shape",/^(circle)/i,0);e&&(e.style=R()||C());return e}()||function(){var e=A("shape",/^(ellipse)/i,0);e&&(e.style=I()||C());return e}();if(e)e.at=function(){if(A("position",/^at/,0)){var e=P();return e||O("Missing positioning value"),e}}();else{var t=P();t&&(e={type:"default-radial",at:t})}return e}function C(){return A("extent-keyword",a,1)}function P(){var e={x:I(),y:I()};if(e.x||e.y)return{type:"position",value:e}}function T(e){var t=e(),n=[];if(t)for(n.push(t);N(p);)(t=e())?n.push(t):O("One extra comma");return n}function M(){var e=A("hex",b,1)||_(v,(function(){return{type:"rgba",value:T(D)}}))||_(m,(function(){return{type:"rgb",value:T(D)}}))||A("literal",h,0);return e||O("Expected color definition"),e.length=I(),e}function D(){return N(g)[1]}function I(){return A("%",s,1)||A("position-keyword",i,1)||R()}function R(){return A("px",c,1)||A("em",l,1)}function A(e,t,n){var r=N(t);if(r)return{type:e,value:r[n]}}function N(e){var t,n;return(n=/^[\n\r\t\s]+/.exec(y))&&L(n[0].length),(t=e.exec(y))&&L(t[0].length),t}function L(e){y=y.substr(e)}return function(e){return y=e.toString(),j()}}(),t.parse=(n||{}).parse},"K+tz":function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.a=a},K9lf:function(e,t){e.exports=window.wp.compose},KA1K:function(e,t,n){"use strict";n("WnOg"),n("cDcd"),n("Ptb8")},KCH1:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("cDcd");function o(e){return void 0===e&&(e="id"),(e?e+"-":"")+Math.random().toString(32).substr(2,6)}var a=Object(r.createContext)(o)},KfNM:function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},"Koq/":function(e,t,n){"use strict";var r=n("82c2"),o=n("PrET"),a=n("FufO"),i=n("yLpt"),c=n("8R9v"),s=o.apply(i()),l=function(e,t){return s(Object,arguments)};r(l,{getPolyfill:i,implementation:a,shim:c}),e.exports=l},KtDd:function(e,t,n){"use strict";var r=n("j1Hc"),o=r("%Symbol.species%",!0),a=r("%TypeError%"),i=n("6Ehn"),c=n("aBsX"),s=n("Bl8U"),l=n("TFEf"),u=n("J2ba"),d=n("PoQ0");e.exports=function(e,t){if(!u(t)||t<0)throw new a("Assertion failed: length must be an integer >= 0");if(!s(e))return i(t);var n=c(e,"constructor");if(o&&"Object"===d(n)&&null===(n=c(n,o))&&(n=void 0),void 0===n)return i(t);if(!l(n))throw new a("C must be a constructor");return new n(t)}},Kz5y:function(e,t,n){var r=n("WFqU"),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},L8Kx:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return c}));var r=n("TSYQ"),o=n.n(r);function a(e){return"appear"===e?"top":"left"}function i(e){if("loading"===e.type)return o()("components-animate__loading");const{type:t,origin:n=a(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return o()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?o()("components-animate__slide-in","is-from-"+n):void 0}function c(e){let{type:t,options:n={},children:r}=e;return r({className:i({type:t,...n})})}},LTAC:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},Lxf3:function(e,t,n){"use strict";var r=Object.prototype.toString,o=n("Teho"),a=n("IdCN"),i=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===r.call(e)?String:Number)===String||t===Number){var n,i,c=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<c.length;++i)if(a(e[c[i]])&&(n=e[c[i]](),o(n)))return n;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")};e.exports=function(e){return o(e)?e:arguments.length>1?i(e,arguments[1]):i(e)}},Mih7:function(e,t,n){"use strict";function r(e){e.userFocus=!0,e.focus(),e.userFocus=!1}function o(e){return!!e.userFocus}function a(e,t){e.userFocus=t}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r}))},Mp0b:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.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=a},N3k4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=g(n("Koq/")),i=g(n("cDcd")),c=g(n("17x9")),s=g(n("YZDV")),l=g(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=g(n("wy2R")),p=n("vV+G"),b=g(n("yc2e")),h=g(n("Ae65")),m=g(n("J7JS")),v=n("Fv1B");function g(e){return e&&e.__esModule?e:{default:e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var j=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:c.default.bool,modifiers:m.default,isFocused:c.default.bool,tabIndex:c.default.oneOf([0,-1]),onDayClick:c.default.func,onDayMouseEnter:c.default.func,onDayMouseLeave:c.default.func,renderDayContents:c.default.func,ariaLabelFormat:c.default.string,phrases:c.default.shape((0,b.default)(p.CalendarDayPhrases))})),w={day:(0,f.default)(),daySize:v.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",phrases:p.CalendarDayPhrases},x=function(e){function t(){var e;y(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=O(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return a.setButtonRef=a.setButtonRef.bind(a),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,s.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){(0,this.props.onDayMouseEnter)(e,t)}},{key:"onDayMouseLeave",value:function(e,t){(0,this.props.onDayMouseLeave)(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,a=t.daySize,c=t.isOutsideDay,s=t.modifiers,l=t.renderDayContents,u=t.tabIndex,f=t.styles,p=t.phrases;if(!n)return i.default.createElement("td",null);var b=(0,h.default)(n,o,a,s,p),m=b.daySizeStyles,v=b.useDefaultCursor,g=b.selected,y=b.hoveredSpan,O=b.isOutsideRange,j=b.ariaLabel;return i.default.createElement("td",r({},(0,d.css)(f.CalendarDay,v&&f.CalendarDay__defaultCursor,f.CalendarDay__default,c&&f.CalendarDay__outside,s.has("today")&&f.CalendarDay__today,s.has("first-day-of-week")&&f.CalendarDay__firstDayOfWeek,s.has("last-day-of-week")&&f.CalendarDay__lastDayOfWeek,s.has("hovered-offset")&&f.CalendarDay__hovered_offset,s.has("highlighted-calendar")&&f.CalendarDay__highlighted_calendar,s.has("blocked-minimum-nights")&&f.CalendarDay__blocked_minimum_nights,s.has("blocked-calendar")&&f.CalendarDay__blocked_calendar,y&&f.CalendarDay__hovered_span,s.has("selected-span")&&f.CalendarDay__selected_span,s.has("last-in-range")&&f.CalendarDay__last_in_range,s.has("selected-start")&&f.CalendarDay__selected_start,s.has("selected-end")&&f.CalendarDay__selected_end,g&&f.CalendarDay__selected,O&&f.CalendarDay__blocked_out_of_range,m),{role:"button",ref:this.setButtonRef,"aria-label":j,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:u}),l?l(n,s):n.format("D"))}}]),t}(i.default.Component);x.propTypes=j,x.defaultProps=w,t.PureCalendarDay=x,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color;return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:t.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"},CalendarDay__default:{border:"1px solid "+String(n.core.borderLight),color:n.text,background:n.background,":hover":{background:n.core.borderLight,border:"1px double "+String(n.core.borderLight),color:"inherit"}},CalendarDay__hovered_offset:{background:n.core.borderBright,border:"1px double "+String(n.core.borderLight),color:"inherit"},CalendarDay__outside:{border:0,background:n.outside.backgroundColor,color:n.outside.color,":hover":{border:0}},CalendarDay__blocked_minimum_nights:{background:n.minimumNights.backgroundColor,border:"1px solid "+String(n.minimumNights.borderColor),color:n.minimumNights.color,":hover":{background:n.minimumNights.backgroundColor_hover,color:n.minimumNights.color_active},":active":{background:n.minimumNights.backgroundColor_active,color:n.minimumNights.color_active}},CalendarDay__highlighted_calendar:{background:n.highlighted.backgroundColor,color:n.highlighted.color,":hover":{background:n.highlighted.backgroundColor_hover,color:n.highlighted.color_active},":active":{background:n.highlighted.backgroundColor_active,color:n.highlighted.color_active}},CalendarDay__selected_span:{background:n.selectedSpan.backgroundColor,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color,":hover":{background:n.selectedSpan.backgroundColor_hover,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active},":active":{background:n.selectedSpan.backgroundColor_active,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active}},CalendarDay__last_in_range:{borderRight:n.core.primary},CalendarDay__selected:{background:n.selected.backgroundColor,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color,":hover":{background:n.selected.backgroundColor_hover,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active},":active":{background:n.selected.backgroundColor_active,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active}},CalendarDay__hovered_span:{background:n.hoveredSpan.backgroundColor,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color,":hover":{background:n.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active},":active":{background:n.hoveredSpan.backgroundColor_active,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active}},CalendarDay__blocked_calendar:{background:n.blocked_calendar.backgroundColor,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color,":hover":{background:n.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active},":active":{background:n.blocked_calendar.backgroundColor_active,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active}},CalendarDay__blocked_out_of_range:{background:n.blocked_out_of_range.backgroundColor,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color,":hover":{background:n.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active},":active":{background:n.blocked_out_of_range.backgroundColor_active,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active}},CalendarDay__selected_start:{},CalendarDay__selected_end:{},CalendarDay__today:{},CalendarDay__firstDayOfWeek:{},CalendarDay__lastDayOfWeek:{}}}))(x)},NMb1:function(e,t){e.exports=window.wp.deprecated},NTP4:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.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=a},NWDH:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=a},Nho6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(!(0,o.default)(e,t)&&!(0,a.default)(e,t))};var r=i(n("wy2R")),o=i(n("h6xH")),a=i(n("pRvc"));function i(e){return e&&e.__esModule?e:{default:e}}},Nloh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=M(n("Koq/")),i=M(n("cDcd")),c=M(n("17x9")),s=M(n("YZDV")),l=n("Hsqg"),u=n("TG4+"),d=M(n("wy2R")),f=M(n("DzJC")),p=M(n("LTAC")),b=M(n("3gBW")),h=n("vV+G"),m=M(n("yc2e")),v=M(n("Thzv")),g=M(n("zfJ5")),y=n("1+Kn"),O=M(y),j=M(n("0Dl3")),w=M(n("m2ax")),x=M(n("ixyq")),_=M(n("+51k")),E=M(n("IgE5")),k=M(n("J7JS")),S=M(n("aE6U")),C=M(n("2S2E")),P=M(n("oR9Z")),T=n("Fv1B");function M(e){return e&&e.__esModule?e:{default:e}}function D(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var I=(0,l.forbidExtraProps)((0,a.default)({},u.withStylesPropTypes,{enableOutsideDays:c.default.bool,numberOfMonths:c.default.number,orientation:S.default,withPortal:c.default.bool,onOutsideClick:c.default.func,hidden:c.default.bool,initialVisibleMonth:c.default.func,firstDayOfWeek:C.default,renderCalendarInfo:c.default.func,calendarInfoPosition:P.default,hideKeyboardShortcutsPanel:c.default.bool,daySize:l.nonNegativeInteger,isRTL:c.default.bool,verticalHeight:l.nonNegativeInteger,noBorder:c.default.bool,transitionDuration:l.nonNegativeInteger,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:c.default.node,navNext:c.default.node,noNavButtons:c.default.bool,onPrevMonthClick:c.default.func,onNextMonthClick:c.default.func,onMonthChange:c.default.func,onYearChange:c.default.func,onMultiplyScrollableMonths:c.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),modifiers:c.default.objectOf(c.default.objectOf(k.default)),renderCalendarDay:c.default.func,renderDayContents:c.default.func,onDayClick:c.default.func,onDayMouseEnter:c.default.func,onDayMouseLeave:c.default.func,isFocused:c.default.bool,getFirstFocusableDay:c.default.func,onBlur:c.default.func,showKeyboardShortcuts:c.default.bool,monthFormat:c.default.string,weekDayFormat:c.default.string,phrases:c.default.shape((0,m.default)(h.DayPickerPhrases)),dayAriaLabelFormat:c.default.string})),R=t.defaultProps={enableOutsideDays:!1,numberOfMonths:2,orientation:T.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){},hidden:!1,initialVisibleMonth:function(){return(0,d.default)()},firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:T.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:T.DAY_SIZE,isRTL:!1,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onMonthChange:function(){},onYearChange:function(){},onMultiplyScrollableMonths:function(){},renderMonthText:null,renderMonthElement:null,modifiers:{},renderCalendarDay:void 0,renderDayContents:null,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},isFocused:!1,getFirstFocusableDay:null,onBlur:function(){},showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:h.DayPickerPhrases,dayAriaLabelFormat:void 0},A=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=e.hidden?(0,d.default)():e.initialVisibleMonth(),o=r.clone().startOf("month");e.getFirstFocusableDay&&(o=e.getFirstFocusableDay(r));var a=e.horizontalMonthPadding,i=e.isRTL&&n.isHorizontal()?-(0,w.default)(e.daySize,a):0;return n.hasSetInitialVisibleMonth=!e.hidden,n.state={currentMonth:r,monthTransition:null,translationValue:i,scrollableMonthMultiple:1,calendarMonthWidth:(0,w.default)(e.daySize,a),focusedDate:!e.hidden||e.isFocused?o:null,nextFocusedDate:null,showKeyboardShortcuts:e.showKeyboardShortcuts,onKeyboardShortcutsPanelClose:function(){},isTouchDevice:(0,p.default)(),withMouseInteractions:!0,calendarInfoWidth:0,monthTitleHeight:null,hasSetHeight:!1},n.setCalendarMonthWeeks(r),n.calendarMonthGridHeight=0,n.setCalendarInfoWidthTimeout=null,n.onKeyDown=n.onKeyDown.bind(n),n.throttledKeyDown=(0,f.default)(n.onFinalKeyDown,200,{trailing:!1}),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.multiplyScrollableMonths=n.multiplyScrollableMonths.bind(n),n.updateStateAfterMonthTransition=n.updateStateAfterMonthTransition.bind(n),n.openKeyboardShortcutsPanel=n.openKeyboardShortcutsPanel.bind(n),n.closeKeyboardShortcutsPanel=n.closeKeyboardShortcutsPanel.bind(n),n.setCalendarInfoRef=n.setCalendarInfoRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.setTransitionContainerRef=n.setTransitionContainerRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this.state.currentMonth;this.calendarInfo?this.setState({isTouchDevice:(0,p.default)(),calendarInfoWidth:(0,x.default)(this.calendarInfo,"width",!0,!0)}):this.setState({isTouchDevice:(0,p.default)()}),this.setCalendarMonthWeeks(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.hidden,n=e.isFocused,r=e.showKeyboardShortcuts,o=e.onBlur,a=e.renderMonthText,i=e.horizontalMonthPadding,c=this.state.currentMonth;t||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var s=this.props,l=s.daySize,u=s.isFocused,d=s.renderMonthText;if(e.daySize!==l&&this.setState({calendarMonthWidth:(0,w.default)(e.daySize,i)}),n!==u)if(n){var f=this.getFocusedDay(c),p=this.state.onKeyboardShortcutsPanelClose;e.showKeyboardShortcuts&&(p=o),this.setState({showKeyboardShortcuts:r,onKeyboardShortcutsPanelClose:p,focusedDate:f,withMouseInteractions:!1})}else this.setState({focusedDate:null});a!==d&&this.setState({monthTitleHeight:null})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,s.default)(this,e,t)}},{key:"componentWillUpdate",value:function(){var e=this,t=this.props.transitionDuration;this.calendarInfo&&(this.setCalendarInfoWidthTimeout=setTimeout((function(){var t=e.state.calendarInfoWidth,n=(0,x.default)(e.calendarInfo,"width",!0,!0);t!==n&&e.setState({calendarInfoWidth:n})}),t))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.orientation,r=t.daySize,o=t.isFocused,a=t.numberOfMonths,i=this.state,c=i.focusedDate,s=i.monthTitleHeight;if(this.isHorizontal()&&(n!==e.orientation||r!==e.daySize)){var l=this.calendarMonthWeeks.slice(1,a+1),u=s+Math.max.apply(Math,[0].concat(D(l)))*(r-1)+1;this.adjustDayPickerHeight(u)}e.isFocused||!o||c||this.container.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.setCalendarInfoWidthTimeout)}},{key:"onKeyDown",value:function(e){e.stopPropagation(),T.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){this.setState({withMouseInteractions:!1});var t=this.props,n=t.onBlur,r=t.isRTL,o=this.state,a=o.focusedDate,i=o.showKeyboardShortcuts;if(a){var c=a.clone(),s=!1,l=(0,_.default)(),u=function(){l&&l.focus()};switch(e.key){case"ArrowUp":e.preventDefault(),c.subtract(1,"week"),s=this.maybeTransitionPrevMonth(c);break;case"ArrowLeft":e.preventDefault(),r?c.add(1,"day"):c.subtract(1,"day"),s=this.maybeTransitionPrevMonth(c);break;case"Home":e.preventDefault(),c.startOf("week"),s=this.maybeTransitionPrevMonth(c);break;case"PageUp":e.preventDefault(),c.subtract(1,"month"),s=this.maybeTransitionPrevMonth(c);break;case"ArrowDown":e.preventDefault(),c.add(1,"week"),s=this.maybeTransitionNextMonth(c);break;case"ArrowRight":e.preventDefault(),r?c.subtract(1,"day"):c.add(1,"day"),s=this.maybeTransitionNextMonth(c);break;case"End":e.preventDefault(),c.endOf("week"),s=this.maybeTransitionNextMonth(c);break;case"PageDown":e.preventDefault(),c.add(1,"month"),s=this.maybeTransitionNextMonth(c);break;case"?":this.openKeyboardShortcutsPanel(u);break;case"Escape":i?this.closeKeyboardShortcutsPanel():n()}s||this.setState({focusedDate:c})}}},{key:"onPrevMonthClick",value:function(e,t){var n=this.props,r=n.daySize,o=n.isRTL,a=n.numberOfMonths,i=this.state,c=i.calendarMonthWidth,s=i.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical())l=s+this.calendarMonthWeeks[0]*(r-1)+1;else if(this.isHorizontal()){l=c,o&&(l=-2*c);var u=this.calendarMonthWeeks.slice(0,a),d=s+Math.max.apply(Math,[0].concat(D(u)))*(r-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:"prev",translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"onMonthChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:"month_selection",translationValue:1e-5,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onYearChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:"year_selection",translationValue:1e-4,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onNextMonthClick",value:function(e,t){var n=this.props,r=n.isRTL,o=n.numberOfMonths,a=n.daySize,i=this.state,c=i.calendarMonthWidth,s=i.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical()&&(l=-(s+this.calendarMonthWeeks[1]*(a-1)+1)),this.isHorizontal()){l=-c,r&&(l=0);var u=this.calendarMonthWeeks.slice(2,o+2),d=s+Math.max.apply(Math,[0].concat(D(u)))*(a-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:"next",translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"getFirstDayOfWeek",value:function(){var e=this.props.firstDayOfWeek;return null==e?d.default.localeData().firstDayOfWeek():e}},{key:"getFirstVisibleIndex",value:function(){var e=this.props.orientation,t=this.state.monthTransition;if(e===T.VERTICAL_SCROLLABLE)return 0;var n=1;return"prev"===t?n-=1:"next"===t&&(n+=1),n}},{key:"getFocusedDay",value:function(e){var t=this.props,n=t.getFirstFocusableDay,r=t.numberOfMonths,o=void 0;return n&&(o=n(e)),!e||o&&(0,E.default)(o,e,r)||(o=e.clone().startOf("month")),o}},{key:"setMonthTitleHeight",value:function(e){var t=this;this.setState({monthTitleHeight:e},(function(){t.calculateAndSetDayPickerHeight()}))}},{key:"setCalendarMonthWeeks",value:function(e){var t=this.props.numberOfMonths;this.calendarMonthWeeks=[];for(var n=e.clone().subtract(1,"months"),r=this.getFirstDayOfWeek(),o=0;o<t+2;o+=1){var a=(0,j.default)(n,r);this.calendarMonthWeeks.push(a),n=n.add(1,"months")}}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setCalendarInfoRef",value:function(e){this.calendarInfo=e}},{key:"setTransitionContainerRef",value:function(e){this.transitionContainer=e}},{key:"maybeTransitionNextMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,a=e.month(),i=o.month(),c=(0,E.default)(e,r,t);return a!==i&&!c&&(this.onNextMonthClick(e),!0)}},{key:"maybeTransitionPrevMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,a=e.month(),i=o.month(),c=(0,E.default)(e,r,t);return a!==i&&!c&&(this.onPrevMonthClick(e),!0)}},{key:"multiplyScrollableMonths",value:function(e){var t=this.props.onMultiplyScrollableMonths;e&&e.preventDefault(),t&&t(e),this.setState((function(e){return{scrollableMonthMultiple:e.scrollableMonthMultiple+1}}))}},{key:"isHorizontal",value:function(){return this.props.orientation===T.HORIZONTAL_ORIENTATION}},{key:"isVertical",value:function(){var e=this.props.orientation;return e===T.VERTICAL_ORIENTATION||e===T.VERTICAL_SCROLLABLE}},{key:"updateStateAfterMonthTransition",value:function(){var e=this,t=this.props,n=t.onPrevMonthClick,r=t.onNextMonthClick,o=t.numberOfMonths,a=t.onMonthChange,i=t.onYearChange,c=t.isRTL,s=this.state,l=s.currentMonth,u=s.monthTransition,d=s.focusedDate,f=s.nextFocusedDate,p=s.withMouseInteractions,b=s.calendarMonthWidth;if(u){var h=l.clone(),m=this.getFirstDayOfWeek();if("prev"===u){h.subtract(1,"month"),n&&n(h);var v=h.clone().subtract(1,"month"),g=(0,j.default)(v,m);this.calendarMonthWeeks=[g].concat(D(this.calendarMonthWeeks.slice(0,-1)))}else if("next"===u){h.add(1,"month"),r&&r(h);var y=h.clone().add(o,"month"),O=(0,j.default)(y,m);this.calendarMonthWeeks=[].concat(D(this.calendarMonthWeeks.slice(1)),[O])}else"month_selection"===u?a&&a(h):"year_selection"===u&&i&&i(h);var w=null;f?w=f:d||p||(w=this.getFocusedDay(h)),this.setState({currentMonth:h,monthTransition:null,translationValue:c&&this.isHorizontal()?-b:0,nextFocusedDate:null,focusedDate:w},(function(){if(p){var t=(0,_.default)();t&&t!==document.body&&e.container.contains(t)&&t.blur()}}))}}},{key:"adjustDayPickerHeight",value:function(e){var t=this,n=e+23;n!==this.calendarMonthGridHeight&&(this.transitionContainer.style.height=String(n)+"px",this.calendarMonthGridHeight||setTimeout((function(){t.setState({hasSetHeight:!0})}),0),this.calendarMonthGridHeight=n)}},{key:"calculateAndSetDayPickerHeight",value:function(){var e=this.props,t=e.daySize,n=e.numberOfMonths,r=this.state.monthTitleHeight,o=this.calendarMonthWeeks.slice(1,n+1),a=r+Math.max.apply(Math,[0].concat(D(o)))*(t-1)+1;this.isHorizontal()&&this.adjustDayPickerHeight(a)}},{key:"openKeyboardShortcutsPanel",value:function(e){this.setState({showKeyboardShortcuts:!0,onKeyboardShortcutsPanelClose:e})}},{key:"closeKeyboardShortcutsPanel",value:function(){var e=this.state.onKeyboardShortcutsPanelClose;e&&e(),this.setState({onKeyboardShortcutsPanelClose:null,showKeyboardShortcuts:!1})}},{key:"renderNavigation",value:function(){var e=this,t=this.props,n=t.navPrev,r=t.navNext,o=t.noNavButtons,a=t.orientation,c=t.phrases,s=t.isRTL;if(o)return null;var l=void 0;return l=a===T.VERTICAL_SCROLLABLE?this.multiplyScrollableMonths:function(t){e.onNextMonthClick(null,t)},i.default.createElement(g.default,{onPrevMonthClick:function(t){e.onPrevMonthClick(null,t)},onNextMonthClick:l,navPrev:n,navNext:r,orientation:a,phrases:c,isRTL:s})}},{key:"renderWeekHeader",value:function(e){var t=this.props,n=t.daySize,o=t.horizontalMonthPadding,a=t.orientation,c=t.weekDayFormat,s=t.styles,l=this.state.calendarMonthWidth,f=a===T.VERTICAL_SCROLLABLE,p={left:e*l},b={marginLeft:-l/2},h={};this.isHorizontal()?h=p:this.isVertical()&&!f&&(h=b);for(var m=this.getFirstDayOfWeek(),v=[],g=0;g<7;g+=1)v.push(i.default.createElement("li",r({key:g},(0,u.css)(s.DayPicker_weekHeader_li,{width:n})),i.default.createElement("small",null,(0,d.default)().day((g+m)%7).format(c))));return i.default.createElement("div",r({},(0,u.css)(s.DayPicker_weekHeader,this.isVertical()&&s.DayPicker_weekHeader__vertical,f&&s.DayPicker_weekHeader__verticalScrollable,h,{padding:"0 "+String(o)+"px"}),{key:"week-"+String(e)}),i.default.createElement("ul",(0,u.css)(s.DayPicker_weekHeader_ul),v))}},{key:"render",value:function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,o=t.currentMonth,a=t.monthTransition,c=t.translationValue,s=t.scrollableMonthMultiple,l=t.focusedDate,d=t.showKeyboardShortcuts,f=t.isTouchDevice,p=t.hasSetHeight,h=t.calendarInfoWidth,m=t.monthTitleHeight,g=this.props,j=g.enableOutsideDays,w=g.numberOfMonths,x=g.orientation,_=g.modifiers,E=g.withPortal,k=g.onDayClick,S=g.onDayMouseEnter,C=g.onDayMouseLeave,P=g.firstDayOfWeek,M=g.renderMonthText,D=g.renderCalendarDay,I=g.renderDayContents,R=g.renderCalendarInfo,A=g.renderMonthElement,N=g.calendarInfoPosition,L=g.hideKeyboardShortcutsPanel,F=g.onOutsideClick,z=g.monthFormat,B=g.daySize,H=g.isFocused,V=g.isRTL,W=g.styles,U=g.theme,K=g.phrases,G=g.verticalHeight,$=g.dayAriaLabelFormat,q=g.noBorder,Y=g.transitionDuration,X=g.verticalBorderSpacing,Z=g.horizontalMonthPadding,J=U.reactDates.spacing.dayPickerHorizontalPadding,Q=this.isHorizontal(),ee=this.isVertical()?1:w,te=[],ne=0;ne<ee;ne+=1)te.push(this.renderWeekHeader(ne));var re=x===T.VERTICAL_SCROLLABLE,oe=void 0;Q?oe=this.calendarMonthGridHeight:!this.isVertical()||re||E||(oe=G||1.75*n);var ae=null!==a,ie=!ae&&H,ce=y.BOTTOM_RIGHT;this.isVertical()&&(ce=E?y.TOP_LEFT:y.TOP_RIGHT);var se=Q&&p,le=N===T.INFO_POSITION_TOP,ue=N===T.INFO_POSITION_BOTTOM,de=N===T.INFO_POSITION_BEFORE,fe=N===T.INFO_POSITION_AFTER,pe=de||fe,be=R&&i.default.createElement("div",r({ref:this.setCalendarInfoRef},(0,u.css)(pe&&W.DayPicker_calendarInfo__horizontal)),R()),he=R&&pe?h:0,me=this.getFirstVisibleIndex(),ve=n*w+2*J,ge=ve+he+1,ye={width:Q&&ve,height:oe},Oe={width:Q&&ve},je={width:Q&&ge,marginLeft:Q&&E?-ge/2:null,marginTop:Q&&E?-n/2:null};return i.default.createElement("div",r({role:"application","aria-label":K.calendarLabel},(0,u.css)(W.DayPicker,Q&&W.DayPicker__horizontal,re&&W.DayPicker__verticalScrollable,Q&&E&&W.DayPicker_portal__horizontal,this.isVertical()&&E&&W.DayPicker_portal__vertical,je,!m&&W.DayPicker__hidden,!q&&W.DayPicker__withBorder)),i.default.createElement(b.default,{onOutsideClick:F},(le||de)&&be,i.default.createElement("div",(0,u.css)(Oe,pe&&Q&&W.DayPicker_wrapper__horizontal),i.default.createElement("div",r({},(0,u.css)(W.DayPicker_weekHeaders,Q&&W.DayPicker_weekHeaders__horizontal),{"aria-hidden":"true",role:"presentation"}),te),i.default.createElement("div",r({},(0,u.css)(W.DayPicker_focusRegion),{ref:this.setContainerRef,onClick:function(e){e.stopPropagation()},onKeyDown:this.onKeyDown,onMouseUp:function(){e.setState({withMouseInteractions:!0})},role:"region",tabIndex:-1}),!re&&this.renderNavigation(),i.default.createElement("div",r({},(0,u.css)(W.DayPicker_transitionContainer,se&&W.DayPicker_transitionContainer__horizontal,this.isVertical()&&W.DayPicker_transitionContainer__vertical,re&&W.DayPicker_transitionContainer__verticalScrollable,ye),{ref:this.setTransitionContainerRef}),i.default.createElement(v.default,{setMonthTitleHeight:m?void 0:this.setMonthTitleHeight,translationValue:c,enableOutsideDays:j,firstVisibleMonthIndex:me,initialMonth:o,isAnimating:ae,modifiers:_,orientation:x,numberOfMonths:w*s,onDayClick:k,onDayMouseEnter:S,onDayMouseLeave:C,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:M,renderCalendarDay:D,renderDayContents:I,renderMonthElement:A,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:z,daySize:B,firstDayOfWeek:P,isFocused:ie,focusedDate:l,phrases:K,isRTL:V,dayAriaLabelFormat:$,transitionDuration:Y,verticalBorderSpacing:X,horizontalMonthPadding:Z}),re&&this.renderNavigation()),!f&&!L&&i.default.createElement(O.default,{block:this.isVertical()&&!E,buttonLocation:ce,showKeyboardShortcutsPanel:d,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:K}))),(ue||fe)&&be))}}]),t}(i.default.Component);A.propTypes=I,A.defaultProps=R,t.PureDayPicker=A,t.default=(0,u.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.noScrollBarOnVerticalScrollable,i=t.spacing,c=t.zIndex;return{DayPicker:{background:n.background,position:"relative",textAlign:"left"},DayPicker__horizontal:{background:n.background},DayPicker__verticalScrollable:{height:"100%"},DayPicker__hidden:{visibility:"hidden"},DayPicker__withBorder:{boxShadow:"0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)",borderRadius:3},DayPicker_portal__horizontal:{boxShadow:"none",position:"absolute",left:"50%",top:"50%"},DayPicker_portal__vertical:{position:"initial"},DayPicker_focusRegion:{outline:"none"},DayPicker_calendarInfo__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_wrapper__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_weekHeaders:{position:"relative"},DayPicker_weekHeaders__horizontal:{marginLeft:i.dayPickerHorizontalPadding},DayPicker_weekHeader:{color:n.placeholderText,position:"absolute",top:62,zIndex:c+2,textAlign:"left"},DayPicker_weekHeader__vertical:{left:"50%"},DayPicker_weekHeader__verticalScrollable:{top:0,display:"table-row",borderBottom:"1px solid "+String(n.core.border),background:n.background,marginLeft:0,left:0,width:"100%",textAlign:"center"},DayPicker_weekHeader_ul:{listStyle:"none",margin:"1px 0",paddingLeft:0,paddingRight:0,fontSize:r.size},DayPicker_weekHeader_li:{display:"inline-block",textAlign:"center"},DayPicker_transitionContainer:{position:"relative",overflow:"hidden",borderRadius:3},DayPicker_transitionContainer__horizontal:{transition:"height 0.2s ease-in-out"},DayPicker_transitionContainer__vertical:{width:"100%"},DayPicker_transitionContainer__verticalScrollable:(0,a.default)({paddingTop:20,height:"100%",position:"absolute",top:0,bottom:0,right:0,left:0,overflowY:"scroll"},o&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}})}}))(A)},NykK:function(e,t,n){var r=n("nmnc"),o=n("AP2z"),a=n("KfNM"),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},Nym8:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("ouKs");function o(e){var t=Object(r.a)(e).activeElement;return null!=t&&t.nodeName?t:null}},Ohaz:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n("tQ+x");function o(e){return{[r.a]:e}}function a(){return{[r.b]:!0}}},PFEc:function(e,t,n){"use strict";var r=n("j1Hc")("%Object%"),o=n("eH4f");e.exports=function(e){return o(e),r(e)}},PcHe:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("Nym8"),o=n("utzN");function a(e){var t=Object(r.a)(e);if(!t)return!1;if(Object(o.a)(e,t))return!0;var n=t.getAttribute("aria-activedescendant");return!!n&&(n===e.id||!!e.querySelector("#"+n))}},Pjai:function(e,t,n){"use strict";var r=n("vLdR");e.exports=function(e){var t=r(e,Number);if("string"!=typeof t)return+t;var n=t.replace(/^[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+|[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+$/g,"");return/^0[ob]|^[+-]0x/.test(n)?NaN:+n}},PoQ0:function(e,t,n){"use strict";var r=n("60zJ");e.exports=function(e){return"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":r(e)}},Pq96:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().subtract(1,"month"),t)};var r=a(n("wy2R")),o=a(n("ulUS"));function a(e){return e&&e.__esModule?e:{default:e}}},PrET:function(e,t,n){"use strict";var r=n("D3zA"),o=n("AM7I"),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(i,a),s=o("%Object.defineProperty%",!0);if(s)try{s({},"a",{value:1})}catch(e){s=null}e.exports=function(){return c(r,i,arguments)};var l=function(){return c(r,a,arguments)};s?s(e.exports,"apply",{value:l}):e.exports.apply=l},Ptb8:function(e,t,n){"use strict";function r(e){return"object"==typeof e&&null!=e}n.d(t,"a",(function(){return r}))},Q4Sy:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=a},QEu6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},QIyF:function(e,t,n){var r=n("Kz5y");e.exports=function(){return r.Date.now()}},Qmvf:function(e,t,n){"use strict";var r=n("j1Hc"),o=n("oNNP"),a=r("%TypeError%");e.exports=function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(o(t,r)&&!n[r])return!1;if(e.IsDataDescriptor(t)&&e.IsAccessorDescriptor(t))throw new a("Property Descriptors may not be both accessor and data descriptors");return!0}},RDTF:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s}))},RMJe:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.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=a},Rhcr:function(e,t,n){"use strict";var r=n("j1Hc"),o=r("%TypeError%"),a=r("%Number%"),i=r("%RegExp%"),c=r("%parseInt%"),s=n("qeuH"),l=n("ZbWB"),u=n("BeK9"),d=s("String.prototype.slice"),f=l(/^0b[01]+$/i),p=l(/^0o[0-7]+$/i),b=l(/^[-+]0x[0-9a-f]+$/i),h=l(new i("["+["…","​","￾"].join("")+"]","g")),m=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),v=new RegExp("(^["+m+"]+)|(["+m+"]+$)","g"),g=s("String.prototype.replace"),y=n("Cx2f");e.exports=function e(t){var n=u(t)?t:y(t,a);if("symbol"==typeof n)throw new o("Cannot convert a Symbol value to a number");if("bigint"==typeof n)throw new o("Conversion from 'BigInt' to 'number' is not allowed.");if("string"==typeof n){if(f(n))return e(c(d(n,2),2));if(p(n))return e(c(d(n,2),8));if(h(n)||b(n))return NaN;var r=function(e){return g(e,v,"")}(n);if(r!==n)return e(r)}return a(n)}},RxS6:function(e,t){e.exports=window.wp.keycodes},S3lO:function(e,t,n){"use strict";var r=n("j1Hc")("%TypeError%"),o=n("wTIp"),a=n("rQBh"),i=n("6XE+"),c=n("6/BL"),s=n("UaFt"),l=n("nR7C"),u=n("uug5"),d=n("PoQ0");e.exports=function(e,t,n){if("Object"!==d(e))throw new r("Assertion failed: Type(O) is not Object");if(!l(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var f=i(e,t),p=!f||s(e);return!(f&&(!f["[[Writable]]"]||!f["[[Configurable]]"])||!p)&&o(c,u,a,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},S8ty:function(e,t,n){"use strict";var r=n("j1Hc")("%Math.abs%");e.exports=function(e){return r(e)}},SB3u:function(e,t,n){"use strict";n.r(t),n.d(t,"SVG",(function(){return i.SVG})),n.d(t,"Path",(function(){return i.Path})),n.d(t,"Circle",(function(){return i.Circle})),n.d(t,"Polygon",(function(){return i.Polygon})),n.d(t,"Rect",(function(){return i.Rect})),n.d(t,"G",(function(){return i.G})),n.d(t,"HorizontalRule",(function(){return i.HorizontalRule})),n.d(t,"BlockQuotation",(function(){return i.BlockQuotation})),n.d(t,"__experimentalAlignmentMatrixControl",(function(){return nt})),n.d(t,"Animate",(function(){return rt.a})),n.d(t,"__unstableGetAnimateClassName",(function(){return rt.b})),n.d(t,"__unstableMotion",(function(){return es})),n.d(t,"AnglePickerControl",(function(){return nd})),n.d(t,"Autocomplete",(function(){return ud})),n.d(t,"__unstableUseAutocompleteProps",(function(){return ld})),n.d(t,"BaseControl",(function(){return gd})),n.d(t,"__experimentalBoxControl",(function(){return Xf})),n.d(t,"Button",(function(){return id.a})),n.d(t,"ButtonGroup",(function(){return Zf})),n.d(t,"Card",(function(){return Pp})),n.d(t,"CardBody",(function(){return Lp})),n.d(t,"CardDivider",(function(){return Vp})),n.d(t,"CardFooter",(function(){return Wp})),n.d(t,"CardHeader",(function(){return Up})),n.d(t,"CardMedia",(function(){return Kp})),n.d(t,"CheckboxControl",(function(){return qp})),n.d(t,"ClipboardButton",(function(){return Yp})),n.d(t,"__experimentalPaletteEdit",(function(){return Zg})),n.d(t,"ColorIndicator",(function(){return Jg})),n.d(t,"ColorPalette",(function(){return qv})),n.d(t,"ColorPicker",(function(){return wv})),n.d(t,"ComboboxControl",(function(){return sy})),n.d(t,"__unstableComposite",(function(){return $e})),n.d(t,"__unstableCompositeGroup",(function(){return Ze})),n.d(t,"__unstableCompositeItem",(function(){return b.a})),n.d(t,"__unstableUseCompositeState",(function(){return we})),n.d(t,"CustomSelectControl",(function(){return bO})),n.d(t,"Dashicon",(function(){return hO.a})),n.d(t,"DateTimePicker",(function(){return CO})),n.d(t,"DatePicker",(function(){return wO})),n.d(t,"TimePicker",(function(){return SO})),n.d(t,"__experimentalDimensionControl",(function(){return TO})),n.d(t,"Disabled",(function(){return LO})),n.d(t,"__unstableDisclosureContent",(function(){return um})),n.d(t,"__experimentalDivider",(function(){return Hp})),n.d(t,"Draggable",(function(){return zO})),n.d(t,"DropZone",(function(){return $O})),n.d(t,"DropZoneProvider",(function(){return qO})),n.d(t,"Dropdown",(function(){return Bv})),n.d(t,"DropdownMenu",(function(){return Ig})),n.d(t,"DuotoneSwatch",(function(){return JO})),n.d(t,"DuotonePicker",(function(){return rj})),n.d(t,"__experimentalElevation",(function(){return tp})),n.d(t,"ExternalLink",(function(){return ij})),n.d(t,"Flex",(function(){return Cs})),n.d(t,"FlexBlock",(function(){return fs})),n.d(t,"FlexItem",(function(){return ps})),n.d(t,"__experimentalFlyout",(function(){return aw})),n.d(t,"FocalPointPicker",(function(){return Dw})),n.d(t,"FocusableIframe",(function(){return Iw})),n.d(t,"FontSizePicker",(function(){return vx})),n.d(t,"FormFileUpload",(function(){return gx})),n.d(t,"FormToggle",(function(){return yx})),n.d(t,"FormTokenField",(function(){return kx})),n.d(t,"GradientPicker",(function(){return _g})),n.d(t,"CustomGradientPicker",(function(){return jg})),n.d(t,"__experimentalGrid",(function(){return Px})),n.d(t,"Guide",(function(){return Kx})),n.d(t,"GuidePage",(function(){return Gx})),n.d(t,"__experimentalHeading",(function(){return Wv})),n.d(t,"__experimentalHStack",(function(){return ob})),n.d(t,"Icon",(function(){return ub.a})),n.d(t,"IconButton",(function(){return $x})),n.d(t,"__experimentalItemGroup",(function(){return Fv})),n.d(t,"__experimentalItem",(function(){return Rg})),n.d(t,"__experimentalInputControl",(function(){return qu})),n.d(t,"KeyboardShortcuts",(function(){return Yx})),n.d(t,"MenuGroup",(function(){return Xx})),n.d(t,"MenuItem",(function(){return Jx})),n.d(t,"MenuItemsChoice",(function(){return Qx})),n.d(t,"Modal",(function(){return Hx})),n.d(t,"ScrollLock",(function(){return e_.a})),n.d(t,"NavigableMenu",(function(){return Mg})),n.d(t,"TabbableContainer",(function(){return t_})),n.d(t,"__experimentalNavigation",(function(){return O_})),n.d(t,"__experimentalNavigationBackButton",(function(){return x_})),n.d(t,"__experimentalNavigationGroup",(function(){return E_})),n.d(t,"__experimentalNavigationItem",(function(){return D_})),n.d(t,"__experimentalNavigationMenu",(function(){return N_})),n.d(t,"__experimentalNavigatorProvider",(function(){return z_})),n.d(t,"__experimentalNavigatorScreen",(function(){return H_})),n.d(t,"__experimentalUseNavigator",(function(){return V_})),n.d(t,"Notice",(function(){return K_})),n.d(t,"__experimentalNumberControl",(function(){return kd})),n.d(t,"NoticeList",(function(){return G_})),n.d(t,"Panel",(function(){return q_})),n.d(t,"PanelBody",(function(){return J_})),n.d(t,"PanelHeader",(function(){return $_})),n.d(t,"PanelRow",(function(){return Q_})),n.d(t,"Placeholder",(function(){return eE})),n.d(t,"Popover",(function(){return cd.a})),n.d(t,"QueryControls",(function(){return sE})),n.d(t,"__experimentalRadio",(function(){return uE})),n.d(t,"__experimentalRadioGroup",(function(){return dE})),n.d(t,"RadioControl",(function(){return fE})),n.d(t,"RangeControl",(function(){return Lb})),n.d(t,"ResizableBox",(function(){return YE})),n.d(t,"ResponsiveWrapper",(function(){return XE})),n.d(t,"SandBox",(function(){return QE})),n.d(t,"SearchControl",(function(){return i_})),n.d(t,"SelectControl",(function(){return lb})),n.d(t,"Snackbar",(function(){return ek.a})),n.d(t,"SnackbarList",(function(){return rk})),n.d(t,"__experimentalSpacer",(function(){return td})),n.d(t,"__experimentalScrollable",(function(){return Np})),n.d(t,"Spinner",(function(){return ck})),n.d(t,"__experimentalSurface",(function(){return sk})),n.d(t,"TabPanel",(function(){return uk})),n.d(t,"__experimentalText",(function(){return ol})),n.d(t,"TextControl",(function(){return dk})),n.d(t,"TextareaControl",(function(){return vk})),n.d(t,"TextHighlight",(function(){return gk})),n.d(t,"Tip",(function(){return yk})),n.d(t,"ToggleControl",(function(){return Ok})),n.d(t,"__experimentalToggleGroupControl",(function(){return $w})),n.d(t,"__experimentalToggleGroupControlOption",(function(){return ux})),n.d(t,"Toolbar",(function(){return Dk})),n.d(t,"ToolbarButton",(function(){return _k})),n.d(t,"ToolbarDropdownMenu",(function(){return Ik})),n.d(t,"__experimentalToolbarContext",(function(){return wk.a})),n.d(t,"ToolbarGroup",(function(){return Sk})),n.d(t,"ToolbarItem",(function(){return jk.a})),n.d(t,"__experimentalToolsPanel",(function(){return Jk})),n.d(t,"__experimentalToolsPanelItem",(function(){return Qk})),n.d(t,"__experimentalToolsPanelContext",(function(){return Uk})),n.d(t,"Tooltip",(function(){return h.a})),n.d(t,"__experimentalTreeGrid",(function(){return oS})),n.d(t,"__experimentalTreeGridRow",(function(){return aS})),n.d(t,"__experimentalTreeGridCell",(function(){return sS})),n.d(t,"__experimentalTreeGridItem",(function(){return cS})),n.d(t,"TreeSelect",(function(){return rE})),n.d(t,"__experimentalTruncate",(function(){return lS})),n.d(t,"__experimentalUnitControl",(function(){return qd})),n.d(t,"__experimentalUseCustomUnits",(function(){return Ud})),n.d(t,"__experimentalParseUnit",(function(){return Vd})),n.d(t,"__experimentalView",(function(){return ns.a})),n.d(t,"VisuallyHidden",(function(){return m.a})),n.d(t,"__experimentalVStack",(function(){return zv})),n.d(t,"IsolatedEventContainer",(function(){return dS})),n.d(t,"createSlotFill",(function(){return fS.d})),n.d(t,"Slot",(function(){return fS.c})),n.d(t,"Fill",(function(){return fS.a})),n.d(t,"SlotFillProvider",(function(){return fS.b})),n.d(t,"__experimentalUseSlot",(function(){return pS.a})),n.d(t,"__experimentalStyleProvider",(function(){return zx})),n.d(t,"__experimentalZStack",(function(){return gS})),n.d(t,"navigateRegions",(function(){return jS})),n.d(t,"__unstableUseNavigateRegions",(function(){return OS})),n.d(t,"withConstrainedTabbing",(function(){return wS})),n.d(t,"withFallbackStyles",(function(){return xS})),n.d(t,"withFilters",(function(){return ES})),n.d(t,"withFocusOutside",(function(){return iy})),n.d(t,"withFocusReturn",(function(){return kS})),n.d(t,"FocusReturnProvider",(function(){return SS})),n.d(t,"withNotices",(function(){return CS})),n.d(t,"withSpokenMessages",(function(){return xx}));var r={};n.r(r),n.d(r,"Text",(function(){return Ws})),n.d(r,"block",(function(){return Us})),n.d(r,"positive",(function(){return Ks})),n.d(r,"destructive",(function(){return Gs})),n.d(r,"muted",(function(){return $s})),n.d(r,"highlighterText",(function(){return qs})),n.d(r,"upperCase",(function(){return Ys}));var o={};n.r(o),n.d(o,"TooltipContent",(function(){return ym})),n.d(o,"TooltipPopoverView",(function(){return Om})),n.d(o,"noOutline",(function(){return jm})),n.d(o,"TooltipShortcut",(function(){return wm}));var a={};n.r(a),n.d(a,"LabelView",(function(){return Jw})),n.d(a,"labelBlock",(function(){return Qw})),n.d(a,"buttonView",(function(){return ex})),n.d(a,"buttonActive",(function(){return tx})),n.d(a,"ButtonContentView",(function(){return nx})),n.d(a,"separatorActive",(function(){return rx})),n.d(a,"LabelPlaceholderView",(function(){return ox})),n.d(a,"medium",(function(){return ax}));var i=n("Tqx9"),c=n("wx14"),s=n("GRId"),l=n("YLtl"),u=n("TSYQ"),d=n.n(u),f=n("l3Sj"),p=n("K9lf"),b=n("kTC8"),h=n("W/NR"),m=n("iSWJ");const v=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],g={"top left":Object(f.__)("Top Left"),"top center":Object(f.__)("Top Center"),"top right":Object(f.__)("Top Right"),"center left":Object(f.__)("Center Left"),"center center":Object(f.__)("Center Center"),"center right":Object(f.__)("Center Right"),"bottom left":Object(f.__)("Bottom Left"),"bottom center":Object(f.__)("Bottom Center"),"bottom right":Object(f.__)("Bottom Right")},y=Object(l.flattenDeep)(v);function O(e){return("center"===e?"center center":e).replace("-"," ")}function j(e,t){return`${e}-${O(t).replace(" ","-")}`}var w=n("DZdY"),x=n("AeFk"),_=n("fHnH"),E=n("abaT");function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Object(_.a)(e).alpha(t).toRgbString()}Object(_.b)([E.a]);const S={black:"#000",white:"#fff"},C={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",200:"#ddd",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e",heading:"#050505"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},P={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:k(C.gray[900],.62)},T={900:k("#000510",.9),800:k("#00000a",.85),700:k("#06060b",.8),600:k("#000913",.75),500:k("#0a1829",.7),400:k("#0a1829",.65),300:k("#0e1c2e",.62),200:k("#162435",.55),100:k("#223443",.5),backgroundFill:k(P[700],.7)},M={900:k("#304455",.45),800:k("#425863",.4),700:k("#667886",.35),600:k("#7b86a2",.3),500:k("#9197a2",.25),400:k("#95959c",.2),300:k("#829493",.15),200:k("#8b8b96",.1),100:k("#747474",.05)},D={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:k(S.white,.65)},I={900:k(S.white,.5),800:k(S.white,.45),700:k(S.white,.4),600:k(S.white,.35),500:k(S.white,.3),400:k(S.white,.25),300:k(S.white,.2),200:k(S.white,.15),100:k(S.white,.1),backgroundFill:k(D[300],.8)},R={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},A={theme:`var( --wp-admin-theme-color, ${R.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${R.medium.focus})`},N={theme:A.theme,background:S.white,backgroundDisabled:D[200],border:C.gray[700],borderHover:C.gray[700],borderFocus:A.themeDark10,borderDisabled:C.gray[400],borderLight:C.gray[200],label:P[500],textDisabled:P[150],textDark:S.white,textLight:S.black},L={...S,darkGray:Object(l.merge)({},P,C.darkGray),darkOpacity:T,darkOpacityLight:M,mediumGray:C.mediumGray,gray:C.gray,lightGray:Object(l.merge)({},D,C.lightGray),lightGrayLight:I,blue:Object(l.merge)({},R,C.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:A,ui:N};function F(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transition";switch(t){case"transition":e="transition-duration: 0ms;";break;case"animation":e="animation-duration: 1ms;";break;default:e="\n\t\t\t\tanimation-duration: 1ms;\n\t\t\t\ttransition-duration: 0ms;\n\t\t\t"}return`\n\t\t@media ( prefers-reduced-motion: reduce ) {\n\t\t\t${e};\n\t\t}\n\t`}var z={name:"lp9rn7",styles:"border-radius:2px;box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr );outline:none"};const B=()=>z,H=Object(w.a)("div",{target:"e1od1u4s3"})(B,";border:1px solid transparent;cursor:pointer;grid-template-columns:auto;",e=>{let{size:t=92}=e;return Object(x.a)("grid-template-rows:repeat( 3, calc( ",t,"px / 3 ) );width:",t,"px;","")},";"),V=Object(w.a)("div",{target:"e1od1u4s2"})({name:"1x5gbbj",styles:"box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr )"}),W=e=>Object(x.a)("background:currentColor;box-sizing:border-box;display:grid;margin:auto;transition:all 120ms linear;",F("transition")," ",(e=>{let{isActive:t}=e;const n=t?"0 0 0 2px "+L.black:null,r=t?L.black:L.lightGray[800],o=t?L.black:L.blue.medium.focus;return Object(x.a)("box-shadow:",n,";color:",r,";*:hover>&{color:",o,";}","")})(e),";",""),U=Object(w.a)("span",{target:"e1od1u4s1"})("height:6px;width:6px;",W,";"),K=Object(w.a)("span",{target:"e1od1u4s0"})({name:"rjf3ub",styles:"appearance:none;border:none;box-sizing:border-box;margin:0;display:flex;position:relative;outline:none;align-items:center;justify-content:center;padding:0"});function G(e){let{isActive:t=!1,value:n,...r}=e;const o=g[n];return Object(s.createElement)(h.a,{text:o},Object(s.createElement)(b.a,Object(c.a)({as:K,role:"gridcell"},r),Object(s.createElement)(m.a,null,n),Object(s.createElement)(U,{isActive:t,role:"presentation"})))}var $=n("BZp5"),q=n("cDcd"),Y=n.n(q),X=n("AXvK");function Z(e){return Object(q.useState)(e)[0]}var J=n("ouKs");function Q(e){for(var t,n=[[]],r=function(){var e=t.value,r=n.find((function(t){return!t[0]||t[0].groupId===e.groupId}));r?r.push(e):n.push([e])},o=Object($.c)(e);!(t=o()).done;)r();return n}function ee(e){for(var t,n=[],r=Object($.c)(e);!(t=r()).done;){var o=t.value;n.push.apply(n,o)}return n}function te(e){return e.slice().reverse()}var ne=n("iYXd");function re(e,t){if(t)return null==e?void 0:e.find((function(e){return e.id===t&&!e.disabled}))}function oe(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}var ae=n("KCH1");function ie(e){void 0===e&&(e={});var t=Z(e).baseId,n=Object(q.useContext)(ae.a),r=Object(q.useRef)(0),o=Object(q.useState)((function(){return t||n()}));return{baseId:o[0],setBaseId:o[1],unstable_idCountRef:r}}function ce(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function se(e,t){return e.findIndex((function(e){return!(!e.ref.current||!t.ref.current)&&ce(t.ref.current,e.ref.current)}))}function le(e){for(var t,n=0,r=Object($.c)(e);!(t=r()).done;){var o=t.value.length;o>n&&(n=o)}return n}function ue(e){for(var t=Q(e),n=le(t),r=[],o=0;o<n;o+=1)for(var a,i=Object($.c)(t);!(a=i()).done;){var c=a.value;c[o]&&r.push(Object($.b)(Object($.b)({},c[o]),{},{groupId:c[o].groupId?""+o:void 0}))}return r}function de(e,t,n){for(var r,o=le(e),a=Object($.c)(e);!(r=a()).done;)for(var i=r.value,c=0;c<o;c+=1){var s=i[c];if(!s||n&&s.disabled){var l=0===c&&n?Object(ne.a)(i):i[c-1];i[c]=l&&t!==(null==l?void 0:l.id)&&n?l:{id:"__EMPTY_ITEM__",disabled:!0,ref:{current:null},groupId:null==l?void 0:l.groupId}}}return e}var fe={id:null,ref:{current:null}};function pe(e,t){return e.filter((function(e){return e.groupId===t}))}var be={horizontal:"vertical",vertical:"horizontal"};function he(e,t,n){return n in e?[].concat(e.slice(0,n),[t],e.slice(n)):[].concat(e,[t])}function me(e){var t=e.map((function(e,t){return[t,e]})),n=!1;return t.sort((function(e,t){var r=e[0],o=e[1],a=t[0],i=t[1],c=o.ref.current,s=i.ref.current;return c&&s?ce(c,s)?(r>a&&(n=!0),-1):(r<a&&(n=!0),1):0})),n?t.map((function(e){e[0];return e[1]})):e}function ve(e,t){var n=me(e);e!==n&&t(n)}function ge(e,t){var n=Object(q.useRef)([]);Object(q.useEffect)((function(){for(var r,o=function(e){for(var t,n=e[0],r=e.slice(1),o=null==n||null===(t=n.ref.current)||void 0===t?void 0:t.parentElement,a=function(){var e=o;if(r.every((function(t){return e.contains(t.ref.current)})))return{v:o};o=o.parentElement};o;){var i=a();if("object"==typeof i)return i.v}return Object(J.a)(o).body}(e),a=new IntersectionObserver((function(){!!n.current.length&&ve(e,t),n.current=e}),{root:o}),i=Object($.c)(e);!(r=i()).done;){var c=r.value;c.ref.current&&a.observe(c.ref.current)}return function(){a.disconnect()}}),[e])}function ye(e,t){"function"==typeof IntersectionObserver?ge(e,t):function(e,t){Object(q.useEffect)((function(){var n=setTimeout((function(){return ve(e,t)}),250);return function(){return clearTimeout(n)}}))}(e,t)}function Oe(e,t){var n=e.unstable_virtual,r=e.rtl,o=e.orientation,a=e.items,i=e.groups,c=e.currentId,s=e.loop,l=e.wrap,u=e.pastIds,d=e.shift,f=e.unstable_moves,p=e.unstable_includesBaseElement,b=e.initialVirtual,h=e.initialRTL,m=e.initialOrientation,v=e.initialCurrentId,g=e.initialLoop,y=e.initialWrap,O=e.initialShift,j=e.hasSetCurrentId;switch(t.type){case"registerGroup":var w=t.group;if(0===i.length)return Object($.b)(Object($.b)({},e),{},{groups:[w]});var x=se(i,w);return Object($.b)(Object($.b)({},e),{},{groups:he(i,w,x)});case"unregisterGroup":var _=t.id,E=i.filter((function(e){return e.id!==_}));return E.length===i.length?e:Object($.b)(Object($.b)({},e),{},{groups:E});case"registerItem":var k,S=t.item,C=i.find((function(e){var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(S.ref.current)})),P=Object($.b)({groupId:null==C?void 0:C.id},S),T=se(a,P),M=Object($.b)(Object($.b)({},e),{},{items:he(a,P,T)});return j||f||void 0!==v?M:Object($.b)(Object($.b)({},M),{},{currentId:null===(k=Object(ne.a)(M.items))||void 0===k?void 0:k.id});case"unregisterItem":var D=t.id,I=a.filter((function(e){return e.id!==D}));if(I.length===a.length)return e;var R=u.filter((function(e){return e!==D})),A=Object($.b)(Object($.b)({},e),{},{pastIds:R,items:I});if(c&&c===D){var N=p?null:Object(ne.b)(Object($.b)(Object($.b)({},A),{},{currentId:R[0]}));return Object($.b)(Object($.b)({},A),{},{currentId:N})}return A;case"move":var L=t.id;if(void 0===L)return e;var F=u.filter((function(e){return e!==c&&e!==L})),z=c?[c].concat(F):F,B=Object($.b)(Object($.b)({},e),{},{pastIds:z});if(null===L)return Object($.b)(Object($.b)({},B),{},{unstable_moves:f+1,currentId:Object(ne.b)(B,L)});var H=re(a,L);return Object($.b)(Object($.b)({},B),{},{unstable_moves:H?f+1:f,currentId:Object(ne.b)(B,null==H?void 0:H.id)});case"next":if(null==c)return Oe(e,Object($.b)(Object($.b)({},t),{},{type:"first"}));var V=r&&"vertical"!==o,W=V?te(a):a,U=W.find((function(e){return e.id===c}));if(!U)return Oe(e,Object($.b)(Object($.b)({},t),{},{type:"first"}));var K=!!U.groupId,G=W.indexOf(U),q=W.slice(G+1),Y=pe(q,U.groupId);if(t.allTheWay){var X=Object(ne.a)(V?pe(W,U.groupId):te(Y));return Oe(e,Object($.b)(Object($.b)({},t),{},{type:"move",id:null==X?void 0:X.id}))}var Z=function(e){return e&&be[e]}(K?o||"horizontal":o),J=s&&s!==Z,ae=K&&l&&l!==Z,ie=t.hasNullItem||!K&&J&&p;if(J){var ce=function(e,t,n){var r=e.findIndex((function(e){return e.id===t}));return[].concat(e.slice(r+1),n?[fe]:[],e.slice(0,r))}(ae&&!ie?W:pe(W,U.groupId),c,ie),le=Object(ne.a)(ce,c);return Oe(e,Object($.b)(Object($.b)({},t),{},{type:"move",id:null==le?void 0:le.id}))}if(ae){var ve=Object(ne.a)(ie?Y:q,c),ge=ie?(null==ve?void 0:ve.id)||null:null==ve?void 0:ve.id;return Oe(e,Object($.b)(Object($.b)({},t),{},{type:"move",id:ge}))}var ye=Object(ne.a)(Y,c);return Oe(e,!ye&&ie?Object($.b)(Object($.b)({},t),{},{type:"move",id:null}):Object($.b)(Object($.b)({},t),{},{type:"move",id:null==ye?void 0:ye.id}));case"previous":var je=!!!i.length&&p,we=Oe(Object($.b)(Object($.b)({},e),{},{items:te(a)}),Object($.b)(Object($.b)({},t),{},{type:"next",hasNullItem:je}));return Object($.b)(Object($.b)({},we),{},{items:a});case"down":var xe=d&&!t.allTheWay,_e=ue(ee(de(Q(a),c,xe))),Ee=s&&"horizontal"!==s&&p,ke=Oe(Object($.b)(Object($.b)({},e),{},{orientation:"vertical",items:_e}),Object($.b)(Object($.b)({},t),{},{type:"next",hasNullItem:Ee}));return Object($.b)(Object($.b)({},ke),{},{orientation:o,items:a});case"up":var Se=d&&!t.allTheWay,Ce=ue(te(ee(de(Q(a),c,Se)))),Pe=p,Te=Oe(Object($.b)(Object($.b)({},e),{},{orientation:"vertical",items:Ce}),Object($.b)(Object($.b)({},t),{},{type:"next",hasNullItem:Pe}));return Object($.b)(Object($.b)({},Te),{},{orientation:o,items:a});case"first":var Me=Object(ne.a)(a);return Oe(e,Object($.b)(Object($.b)({},t),{},{type:"move",id:null==Me?void 0:Me.id}));case"last":var De=Oe(Object($.b)(Object($.b)({},e),{},{items:te(a)}),Object($.b)(Object($.b)({},t),{},{type:"first"}));return Object($.b)(Object($.b)({},De),{},{items:a});case"sort":return Object($.b)(Object($.b)({},e),{},{items:me(a),groups:me(i)});case"setVirtual":return Object($.b)(Object($.b)({},e),{},{unstable_virtual:oe(t.virtual,n)});case"setRTL":return Object($.b)(Object($.b)({},e),{},{rtl:oe(t.rtl,r)});case"setOrientation":return Object($.b)(Object($.b)({},e),{},{orientation:oe(t.orientation,o)});case"setCurrentId":var Ie=Object(ne.b)(Object($.b)(Object($.b)({},e),{},{currentId:oe(t.currentId,c)}));return Object($.b)(Object($.b)({},e),{},{currentId:Ie,hasSetCurrentId:!0});case"setLoop":return Object($.b)(Object($.b)({},e),{},{loop:oe(t.loop,s)});case"setWrap":return Object($.b)(Object($.b)({},e),{},{wrap:oe(t.wrap,l)});case"setShift":return Object($.b)(Object($.b)({},e),{},{shift:oe(t.shift,d)});case"setIncludesBaseElement":return Object($.b)(Object($.b)({},e),{},{unstable_includesBaseElement:oe(t.includesBaseElement,p)});case"reset":return Object($.b)(Object($.b)({},e),{},{unstable_virtual:b,rtl:h,orientation:m,currentId:Object(ne.b)(Object($.b)(Object($.b)({},e),{},{currentId:v})),loop:g,wrap:y,shift:O,unstable_moves:0,pastIds:[]});case"setItems":return Object($.b)(Object($.b)({},e),{},{items:t.items});default:throw new Error}}function je(e){return Object(q.useCallback)(e,[])}function we(e){void 0===e&&(e={});var t=Z(e),n=t.unstable_virtual,r=void 0!==n&&n,o=t.rtl,a=void 0!==o&&o,i=t.orientation,c=t.currentId,s=t.loop,l=void 0!==s&&s,u=t.wrap,d=void 0!==u&&u,f=t.shift,p=void 0!==f&&f,b=t.unstable_includesBaseElement,h=ie(Object($.a)(t,["unstable_virtual","rtl","orientation","currentId","loop","wrap","shift","unstable_includesBaseElement"])),m=Object(q.useReducer)(Oe,{unstable_virtual:r,rtl:a,orientation:i,items:[],groups:[],currentId:c,loop:l,wrap:d,shift:p,unstable_moves:0,pastIds:[],unstable_includesBaseElement:null!=b?b:null===c,initialVirtual:r,initialRTL:a,initialOrientation:i,initialCurrentId:c,initialLoop:l,initialWrap:d,initialShift:p}),v=m[0],g=(v.pastIds,v.initialVirtual,v.initialRTL,v.initialOrientation,v.initialCurrentId,v.initialLoop,v.initialWrap,v.initialShift,v.hasSetCurrentId,Object($.a)(v,["pastIds","initialVirtual","initialRTL","initialOrientation","initialCurrentId","initialLoop","initialWrap","initialShift","hasSetCurrentId"])),y=m[1],O=Object(q.useState)(!1),j=O[0],w=O[1],x=function(){var e=Object(q.useRef)(!1);return Object(X.a)((function(){return function(){e.current=!0}}),[]),e}(),_=Object(q.useCallback)((function(e){return y({type:"setItems",items:e})}),[]);return ye(g.items,_),Object($.b)(Object($.b)(Object($.b)({},h),g),{},{unstable_hasActiveWidget:j,unstable_setHasActiveWidget:w,registerItem:je((function(e){x.current||y({type:"registerItem",item:e})})),unregisterItem:je((function(e){x.current||y({type:"unregisterItem",id:e})})),registerGroup:je((function(e){x.current||y({type:"registerGroup",group:e})})),unregisterGroup:je((function(e){x.current||y({type:"unregisterGroup",id:e})})),move:je((function(e){return y({type:"move",id:e})})),next:je((function(e){return y({type:"next",allTheWay:e})})),previous:je((function(e){return y({type:"previous",allTheWay:e})})),up:je((function(e){return y({type:"up",allTheWay:e})})),down:je((function(e){return y({type:"down",allTheWay:e})})),first:je((function(){return y({type:"first"})})),last:je((function(){return y({type:"last"})})),sort:je((function(){return y({type:"sort"})})),unstable_setVirtual:je((function(e){return y({type:"setVirtual",virtual:e})})),setRTL:je((function(e){return y({type:"setRTL",rtl:e})})),setOrientation:je((function(e){return y({type:"setOrientation",orientation:e})})),setCurrentId:je((function(e){return y({type:"setCurrentId",currentId:e})})),setLoop:je((function(e){return y({type:"setLoop",loop:e})})),setWrap:je((function(e){return y({type:"setWrap",wrap:e})})),setShift:je((function(e){return y({type:"setShift",shift:e})})),unstable_setIncludesBaseElement:je((function(e){return y({type:"setIncludesBaseElement",includesBaseElement:e})})),reset:je((function(){return y({type:"reset"})}))})}var xe=n("hE48"),_e=n("qdes"),Ee=n("aU41"),ke=(n("KA1K"),n("eNtd")),Se=n("k2cL"),Ce=n("zGFp"),Pe=n("G3V0"),Te=n("IVEb"),Me=n("I/A+"),De=n("khzz");function Ie(e,t,n){return void 0===n&&(n={}),"function"==typeof FocusEvent?new FocusEvent(t,n):Object(De.a)(e,t,n)}function Re(e,t){var n=Ie(e,"blur",t),r=e.dispatchEvent(n),o=Object(Me.b)(Object(Me.b)({},t),{},{bubbles:!0});return e.dispatchEvent(Ie(e,"focusout",o)),r}var Ae=n("SyVe");function Ne(e,t,n){return e.dispatchEvent(function(e,t,n){if(void 0===n&&(n={}),"function"==typeof KeyboardEvent)return new KeyboardEvent(t,n);var r=Object(J.a)(e).createEvent("KeyboardEvent");return r.initKeyboardEvent(t,n.bubbles,n.cancelable,Object(Ae.a)(e),n.key,n.location,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey),r}(e,t,n))}var Le=n("+ipW"),Fe=n("Nym8"),ze=Le.a&&"msCrypto"in window;function Be(e){return ze?Object(Fe.a)(e.currentTarget):e.relatedTarget}var He=n("TFuP"),Ve=n("Mih7"),We=Le.a&&"msCrypto"in window;function Ue(e,t,n){var r=Object(ke.a)(n);return Object(q.useCallback)((function(n){var o;if(null===(o=r.current)||void 0===o||o.call(r,n),!n.defaultPrevented&&e&&function(e){return!!Object(Se.a)(e)&&(!e.metaKey&&"Tab"!==e.key)}(n)){var a=null==t?void 0:t.ref.current;a&&(Ne(a,n.type,n)||n.preventDefault(),n.currentTarget.contains(a)&&n.stopPropagation())}}),[e,t])}function Ke(e,t){return null==e?void 0:e.some((function(e){return!!t&&e.ref.current===t}))}var Ge=Object(_e.a)({name:"Composite",compose:[Pe.a],keys:He.a,useOptions:function(e){return Object($.b)(Object($.b)({},e),{},{currentId:Object(ne.b)(e)})},useProps:function(e,t){var n=t.ref,r=t.onFocusCapture,o=t.onFocus,a=t.onBlurCapture,i=t.onKeyDown,c=t.onKeyDownCapture,s=t.onKeyUpCapture,l=Object($.a)(t,["ref","onFocusCapture","onFocus","onBlurCapture","onKeyDown","onKeyDownCapture","onKeyUpCapture"]),u=Object(q.useRef)(null),d=re(e.items,e.currentId),f=Object(q.useRef)(null),p=Object(ke.a)(r),b=Object(ke.a)(o),h=Object(ke.a)(a),m=Object(ke.a)(i),v=function(e){var t=Object(ke.a)(e),n=Object(q.useReducer)((function(e){return e+1}),0),r=n[0],o=n[1];return Object(q.useEffect)((function(){var e,n=null===(e=t.current)||void 0===e?void 0:e.ref.current;r&&n&&Object(Ve.c)(n)}),[r]),o}(d),g=We?function(e){var t=Object(q.useRef)(null);return Object(q.useEffect)((function(){var n=Object(J.a)(e.current),r=function(e){var n=e.target;t.current=n};return n.addEventListener("focus",r,!0),function(){n.removeEventListener("focus",r,!0)}}),[]),t}(u):void 0;Object(q.useEffect)((function(){var t=u.current;e.unstable_moves&&!d&&(null==t||t.focus())}),[e.unstable_moves,d]);var y=Ue(e.unstable_virtual,d,c),O=Ue(e.unstable_virtual,d,s),j=Object(q.useCallback)((function(t){var n;if(null===(n=p.current)||void 0===n||n.call(p,t),!t.defaultPrevented&&e.unstable_virtual){var r=(null==g?void 0:g.current)||t.relatedTarget,o=Ke(e.items,r);Object(Se.a)(t)&&o&&(t.stopPropagation(),f.current=r)}}),[e.unstable_virtual,e.items]),w=Object(q.useCallback)((function(t){var n;if(null===(n=b.current)||void 0===n||n.call(b,t),!t.defaultPrevented)if(e.unstable_virtual)Object(Se.a)(t)&&v();else if(Object(Se.a)(t)){var r;null===(r=e.setCurrentId)||void 0===r||r.call(e,null)}}),[e.unstable_virtual,e.setCurrentId]),x=Object(q.useCallback)((function(t){var n;if(null===(n=h.current)||void 0===n||n.call(h,t),!t.defaultPrevented&&e.unstable_virtual){var r=(null==d?void 0:d.ref.current)||null,o=Be(t),a=Ke(e.items,o);if(Object(Se.a)(t)&&a)o===r?f.current&&f.current!==o&&Re(f.current,t):r&&Re(r,t),t.stopPropagation();else!Ke(e.items,t.target)&&r&&Re(r,t)}}),[e.unstable_virtual,e.items,d]),_=Object(q.useCallback)((function(t){var n,r;if(null===(n=m.current)||void 0===n||n.call(m,t),!t.defaultPrevented&&null===e.currentId&&Object(Se.a)(t)){var o="horizontal"!==e.orientation,a="vertical"!==e.orientation,i=!(null===(r=e.groups)||void 0===r||!r.length),c={ArrowUp:(i||o)&&function(){if(i){var t,n=(o=e.items,Object(ne.a)(ee(te(Q(o)))));if(null!=n&&n.id)null===(t=e.move)||void 0===t||t.call(e,n.id)}else{var r;null===(r=e.last)||void 0===r||r.call(e)}var o},ArrowRight:(i||a)&&e.first,ArrowDown:(i||o)&&e.first,ArrowLeft:(i||a)&&e.last,Home:e.first,End:e.last,PageUp:e.first,PageDown:e.last}[t.key];c&&(t.preventDefault(),c())}}),[e.currentId,e.orientation,e.groups,e.items,e.move,e.last,e.first]);return Object($.b)({ref:Object(Ee.a)(u,n),id:e.baseId,onFocus:w,onFocusCapture:j,onBlurCapture:x,onKeyDownCapture:y,onKeyDown:_,onKeyUpCapture:O,"aria-activedescendant":e.unstable_virtual&&(null==d?void 0:d.id)||void 0},l)},useComposeProps:function(e,t){t=Object(Ce.a)(e,t,!0);var n=Object(Pe.a)(e,t,!0);return e.unstable_virtual||null===e.currentId?Object($.b)({tabIndex:0},n):Object($.b)(Object($.b)({},t),{},{ref:n.ref})}}),$e=Object(xe.a)({as:"div",useHook:Ge,useCreateElement:function(e,t,n){return Object(Te.a)(e,t,n)}}),qe=n("ym77"),Ye=Object(_e.a)({name:"Group",compose:Ce.a,keys:[],useProps:function(e,t){return Object($.b)({role:"group"},t)}}),Xe=(Object(xe.a)({as:"div",useHook:Ye}),Object(_e.a)({name:"CompositeGroup",compose:[Ye,qe.a],keys:He.b,propsAreEqual:function(e,t){if(!t.id||e.id!==t.id)return Ye.unstable_propsAreEqual(e,t);var n=e.currentId,r=(e.unstable_moves,Object($.a)(e,["currentId","unstable_moves"])),o=t.currentId,a=(t.unstable_moves,Object($.a)(t,["currentId","unstable_moves"]));if(e.items&&t.items){var i=re(e.items,n),c=re(t.items,o),s=null==i?void 0:i.groupId,l=null==c?void 0:c.groupId;if(t.id===l||t.id===s)return!1}return Ye.unstable_propsAreEqual(r,a)},useProps:function(e,t){var n=t.ref,r=Object($.a)(t,["ref"]),o=Object(q.useRef)(null),a=e.id;return Object(X.a)((function(){var t;if(a)return null===(t=e.registerGroup)||void 0===t||t.call(e,{id:a,ref:o}),function(){var t;null===(t=e.unregisterGroup)||void 0===t||t.call(e,a)}}),[a,e.registerGroup,e.unregisterGroup]),Object($.b)({ref:Object(Ee.a)(o,n)},r)}})),Ze=Object(xe.a)({as:"div",useHook:Xe});Object(w.a)("div",{target:"elqsdmc2"})({name:"ogl07i",styles:"box-sizing:border-box;padding:2px"});const Je=Object(w.a)("div",{target:"elqsdmc1"})("transform-origin:top left;height:100%;width:100%;",B,";",()=>Object(x.a)({gridTemplateRows:"repeat( 3, calc( 21px / 3))",padding:1.5,maxHeight:24,maxWidth:24},"",""),";",e=>{let{disablePointerEvents:t}=e;return Object(x.a)({pointerEvents:t?"none":null},"","")},";"),Qe=Object(w.a)("span",{target:"elqsdmc0"})("height:2px;width:2px;",W,";",e=>{let{isActive:t}=e;const n=t?"0 0 0 1px currentColor":null;return Object(x.a)("box-shadow:",n,";color:currentColor;*:hover>&{color:currentColor;}","")},";"),et=K,tt=24;function nt(e){let{className:t,id:n,label:r=Object(f.__)("Alignment Matrix Control"),defaultValue:o="center center",value:a,onChange:i=l.noop,width:u=92,...b}=e;const[h]=Object(s.useState)(null!=a?a:o),m=function(e){const t=Object(p.useInstanceId)(nt,"alignment-matrix-control");return e||t}(n),g=j(m,h),y=we({baseId:m,currentId:g,rtl:Object(f.isRTL)()});Object(s.useEffect)(()=>{void 0!==a&&y.setCurrentId(j(m,a))},[a,y.setCurrentId]);const O=d()("component-alignment-matrix-control",t);return Object(s.createElement)($e,Object(c.a)({},b,y,{"aria-label":r,as:H,className:O,role:"grid",width:u}),v.map((e,t)=>Object(s.createElement)(Ze,Object(c.a)({},y,{as:V,role:"row",key:t}),e.map(e=>{const t=j(m,e),n=y.currentId===t;return Object(s.createElement)(G,Object(c.a)({},y,{id:t,isActive:n,key:e,value:e,onFocus:()=>{i(e)},tabIndex:n?0:-1}))}))))}nt.Icon=function(e){let{className:t,disablePointerEvents:n=!0,size:r=tt,style:o={},value:a="center",...i}=e;const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"center";const t=O(e).replace("-"," "),n=y.indexOf(t);return n>-1?n:void 0}(a),u=(r/tt).toFixed(2),f=d()("component-alignment-matrix-control-icon",t),p={...o,transform:`scale(${u})`};return Object(s.createElement)(Je,Object(c.a)({},i,{className:f,disablePointerEvents:n,role:"presentation",size:r,style:p}),y.map((e,t)=>{const n=l===t;return Object(s.createElement)(et,{key:e},Object(s.createElement)(Qe,{isActive:n}))}))};var rt=n("L8Kx"),ot=function(e,t){return(ot=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)};
+ */if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),l=b("react.context"),u=b("react.forward_ref"),c=b("react.suspense"),d=b("react.suspense_list"),f=b("react.memo"),p=b("react.lazy"),h=b("react.block"),m=b("react.server.block"),v=b("react.fundamental"),g=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case p:case f:case s:return e;default:return t}}case r:return t}}}},2797:function(e,t,n){"use strict";n(9214)},5249:function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(3777),i=n(5443),a=n(8659),s=n(3082),l=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,a,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(n=e[s[a]],i(n)&&(r=n.call(e),o(r)))return r;throw new TypeError("No default value")},u=function(e,t){var n=e[t];if(null!=n){if(!i(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}};e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=u(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var i=t.call(e,n);if(o(i))return i;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(a(e)||s(e))&&(n="string"),l(e,"default"===n?"number":n)}},8023:function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(3777),i=n(5443),a=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===r.call(e)?String:Number)===String||t===Number){var n,a,s=t===String?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(i(e[s[a]])&&(n=e[s[a]](),o(n)))return n;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")};e.exports=function(e){return o(e)?e:arguments.length>1?a(e,arguments[1]):a(e)}},3777:function(e){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},2920:function(e){function t(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),a=t.get(i);return void 0===a&&(a=e.call(this,r),t.set(i,a)),a}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function r(e,t,n,r,o){return n.bind(t,e,r,o)}function o(e,o){return r(e,this,1===e.length?t:n,o.cache.create(),o.serializer)}function i(){return JSON.stringify(arguments)}function a(){this.cache=Object.create(null)}a.prototype.has=function(e){return e in this.cache},a.prototype.get=function(e){return this.cache[e]},a.prototype.set=function(e,t){this.cache[e]=t};var s={create:function(){return new a}};e.exports=function(e,t){var n=t&&t.cache?t.cache:s,r=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:o)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return r(e,this,n,t.cache.create(),t.serializer)},monadic:function(e,n){return r(e,this,t,n.cache.create(),n.serializer)}}},3889:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}))},9930:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,o="[object Function]";e.exports=function(e){var i=this;if("function"!=typeof i||r.call(i)!==o)throw new TypeError(t+i);for(var a,s=n.call(arguments,1),l=function(){if(this instanceof a){var t=i.apply(this,s.concat(n.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(n.call(arguments)))},u=Math.max(0,i.length-s.length),c=[],d=0;d<u;d++)c.push("$"+d);if(a=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(l),i.prototype){var f=function(){};f.prototype=i.prototype,a.prototype=new f,f.prototype=null}return a}},1930:function(e,t,n){"use strict";var r=n(9930);e.exports=Function.prototype.bind||r},1801:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=n(9905)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p=s("async function* () {}"),h=p?p.prototype:r,m=h?h.prototype:r,v="undefined"==typeof Uint8Array?r:f(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":s("async function () {}"),"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":m?f(m):r,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":v,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(1930),w=n(9284),_=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),E=b.call(Function.call,String.prototype.replace),k=b.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,P=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return E(e,S,(function(e,t,n,o){r[r.length]=n?E(o,C,"$1"):t||e})),r},O=function(e,t){var n,r=e;if(w(y,r)&&(r="%"+(n=y[r])[0]+"%"),w(g,r)){var i=g[r];if(void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=P(e),r=n.length>0?n[0]:"",i=O("%"+r+"%",t),s=i.name,u=i.value,c=!1,d=i.alias;d&&(r=d[0],x(n,_([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],m=k(h,0,1),v=k(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===v||"'"===v||"`"===v)&&m!==v)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&p||(c=!0),w(g,s="%"+(r+="."+h)+"%"))u=g[s];else if(null!=u){if(!(h in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var y=l(u,h);u=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[h]}else p=w(u,h),u=u[h];p&&!c&&(g[s]=u)}}return u}},5371:function(e,t,n){"use strict";var r=n(9170),o=n(3082),i="__ global cache key __";"function"==typeof Symbol&&o(Symbol("foo"))&&"function"==typeof Symbol.for&&(i=Symbol.for(i));var a=function(){return!0},s=function(){if(!n.g[i]){var e={};e[i]={};var t={};t[i]=a,r(n.g,e,t)}return n.g[i]},l=s(),u=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},c=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete n.g[i],l=s()},delete:function(e){return c(e),delete l[u(e)],!d.has(e)},get:function(e){return c(e),l[u(e)]},has:function(e){return c(e),u(e)in l},set:function(e,t){c(e);var n=u(e),o={};o[n]=t;var i={};return i[n]=a,r(l,o,i),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d},7115:function(e,t){var n={};n.parse=function(){var e=/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,t=/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,n=/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,r=/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,o=/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,i=/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,a=/^(left|center|right|top|bottom)/i,s=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,l=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,u=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,c=/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,d=/^\(/,f=/^\)/,p=/^,/,h=/^\#([0-9a-fA-F]+)/,m=/^([a-zA-Z]+)/,v=/^rgb/i,g=/^rgba/i,y=/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/,b="";function w(e){var t=new Error(b+": "+e);throw t.source=b,t}function _(){var e=T(x);return b.length>0&&w("Invalid input not EOF"),e}function x(){return E("linear-gradient",e,S)||E("repeating-linear-gradient",t,S)||E("radial-gradient",n,C)||E("repeating-radial-gradient",r,C)}function E(e,t,n){return k(t,(function(t){var r=n();return r&&(L(p)||w("Missing comma before color stops")),{type:e,orientation:r,colorStops:T(D)}}))}function k(e,t){var n=L(e);if(n)return L(d)||w("Missing ("),result=t(n),L(f)||w("Missing )"),result}function S(){return N("directional",o,1)||N("angular",c,1)}function C(){var e,t,n=P();return n&&((e=[]).push(n),t=b,L(p)&&((n=P())?e.push(n):b=t)),e}function P(){var e=function(){var e=N("shape",/^(circle)/i,0);e&&(e.style=R()||O());return e}()||function(){var e=N("shape",/^(ellipse)/i,0);e&&(e.style=A()||O());return e}();if(e)e.at=function(){if(N("position",/^at/,0)){var e=M();return e||w("Missing positioning value"),e}}();else{var t=M();t&&(e={type:"default-radial",at:t})}return e}function O(){return N("extent-keyword",i,1)}function M(){var e={x:A(),y:A()};if(e.x||e.y)return{type:"position",value:e}}function T(e){var t=e(),n=[];if(t)for(n.push(t);L(p);)(t=e())?n.push(t):w("One extra comma");return n}function D(){var e=N("hex",h,1)||k(g,(function(){return{type:"rgba",value:T(I)}}))||k(v,(function(){return{type:"rgb",value:T(I)}}))||N("literal",m,0);return e||w("Expected color definition"),e.length=A(),e}function I(){return L(y)[1]}function A(){return N("%",l,1)||N("position-keyword",a,1)||R()}function R(){return N("px",s,1)||N("em",u,1)}function N(e,t,n){var r=L(t);if(r)return{type:e,value:r[n]}}function L(e){var t,n;return(n=/^[\n\r\t\s]+/.exec(b))&&F(n[0].length),(t=e.exec(b))&&F(t[0].length),t}function F(e){b=b.substr(e)}return function(e){return b=e.toString(),_()}}(),t.parse=(n||{}).parse},9905:function(e,t,n){"use strict";var r=n.g.Symbol,o=n(5682);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},5682:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},81:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},4111:function(e,t,n){"use strict";var r=n(81);e.exports=function(){return r()&&!!Symbol.toStringTag}},9284:function(e,t,n){"use strict";var r=n(1930);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},3138:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,a=void 0!==i&&i,s=e.findChunks,l=void 0===s?r:s,u=e.sanitize,c=e.searchWords,d=e.textToHighlight;return o({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:a,sanitize:u,searchWords:c,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?i:r,a=e.searchWords,s=e.textToHighlight;return s=o(s),a.filter((function(e){return e})).reduce((function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var i=new RegExp(r,n?"g":"gi"),a=void 0;a=i.exec(s);){var l=a.index,u=i.lastIndex;u>l&&e.push({highlight:!1,start:l,end:u}),a.index===i.lastIndex&&i.lastIndex++}return e}),[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var i=0;t.forEach((function(e){o(i,e.start,!1),o(e.start,e.end,!0),i=e.end})),o(i,n,!1)}return r};function i(e){return e}}])},1281:function(e,t,n){"use strict";var r=n(338),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=f(n,g);try{u(t,g,y)}catch(e){}}}}return t}},5443:function(e){"use strict";var t,n,r=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o((function(){throw 42}),null,t)}catch(e){e!==n&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(e){try{var t=r.call(e);return i.test(t)}catch(e){return!1}},s=Object.prototype.toString,l="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=o?function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;try{o(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)}:function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(l)return function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}}(e);if(a(e))return!1;var t=s.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},8659:function(e){"use strict";var t=Date.prototype.getDay,n=Object.prototype.toString,r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(r?function(e){try{return t.call(e),!0}catch(e){return!1}}(e):"[object Date]"===n.call(e))}},3082:function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(9905)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},5834:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},4937:function(e,t,n){var r=n(158).Symbol;e.exports=r},194:function(e,t,n){var r=n(4937),o=n(5401),i=n(2445),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},2383:function(e,t,n){var r=n(8725),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},4528:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},5401:function(e,t,n){var r=n(4937),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},2445:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},158:function(e,t,n){var r=n(4528),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},8725:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},6897:function(e,t,n){var r=n(3619),o=n(8253),i=n(5053),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,c,d,f,p,h=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=u;return l=u=void 0,h=t,d=e.apply(r,n)}function b(e){return h=e,f=setTimeout(_,t),m?y(e):d}function w(e){var n=e-p;return void 0===p||n>=t||n<0||v&&e-h>=c}function _(){var e=o();if(w(e))return x(e);f=setTimeout(_,function(e){var n=t-(e-p);return v?s(n,c-(e-h)):n}(e))}function x(e){return f=void 0,g&&l?y(e):(l=u=void 0,d)}function E(){var e=o(),n=w(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return b(p);if(v)return clearTimeout(f),f=setTimeout(_,t),y(p)}return void 0===f&&(f=setTimeout(_,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,c=(v="maxWait"in n)?a(i(n.maxWait)||0,t):c,g="trailing"in n?!!n.trailing:g),E.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=p=u=f=void 0},E.flush=function(){return void 0===f?d:x(o())},E}},3619:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},1653:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},1878:function(e,t,n){var r=n(194),o=n(1653);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},8253:function(e,t,n){var r=n(158);e.exports=function(){return r.Date.now()}},8172:function(e,t,n){var r=n(6897),o=n(3619);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},5053:function(e,t,n){var r=n(2383),o=n(3619),i=n(1878),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},9756:function(e){e.exports=function(e,t){var n,r,o=0;function i(){var i,a,s=n,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<l;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return s={args:i,val:e.apply(null,i)},n?(n.prev=s,s.next=n):r=s,o===t.maxSize?(r=r.prev).next=null:o++,n=s,s.val}return t=t||{},i.clear=function(){n=null,r=null,o=0},i}},8383:function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(4418),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),f=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=u&&n;if(s&&e.length>0&&!o.call(e,0))for(var m=0;m<e.length;++m)f.push(String(m));if(r&&e.length>0)for(var v=0;v<e.length;++v)f.push(String(v));else for(var g in e)h&&"prototype"===g||!o.call(e,g)||f.push(String(g));if(l)for(var y=function(e){if("undefined"==typeof window||!p)return d(e);try{return d(e)}catch(e){return!1}}(e),b=0;b<c.length;++b)y&&"constructor"===c[b]||!o.call(e,c[b])||f.push(c[b]);return f}}e.exports=r},806:function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(4418),i=Object.keys,a=i?function(e){return i(e)}:n(8383),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},4418:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},2148:function(e,t,n){"use strict";var r=n(806),o=function(e){return null!=e},i=n(5682)(),a=n(7615),s=Object,l=a("Array.prototype.push"),u=a("Object.prototype.propertyIsEnumerable"),c=i?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(!o(e))throw new TypeError("target must be an object");var n,a,d,f,p,h,m,v=s(e);for(n=1;n<arguments.length;++n){a=s(arguments[n]),f=r(a);var g=i&&(Object.getOwnPropertySymbols||c);if(g)for(p=g(a),d=0;d<p.length;++d)m=p[d],u(a,m)&&l(f,m);for(d=0;d<f.length;++d)h=a[m=f[d]],u(a,m)&&(v[m]=h)}return v}},4011:function(e,t,n){"use strict";var r=n(9170),o=n(2550),i=n(2148),a=n(293),s=n(2666),l=o.apply(a()),u=function(e,t){return l(Object,arguments)};r(u,{getPolyfill:a,implementation:i,shim:s}),e.exports=u},293:function(e,t,n){"use strict";var r=n(2148);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},2666:function(e,t,n){"use strict";var r=n(9170),o=n(293);e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},1631:function(e,t,n){"use strict";var r=n(9284),o=n(604),i=n(7615)("Object.prototype.propertyIsEnumerable");e.exports=function(e){var t=o(e),n=[];for(var a in t)r(t,a)&&i(t,a)&&n.push(t[a]);return n}},5861:function(e,t,n){"use strict";var r=n(9170),o=n(2550),i=n(1631),a=n(779),s=n(7256),l=o(a(),Object);r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},604:function(e,t,n){"use strict";e.exports=n(2559)},2559:function(e,t,n){"use strict";var r=n(6732)("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},6732:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,d=n(9905)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p=s("async function* () {}"),h=p?p.prototype:r,m=h?h.prototype:r,v="undefined"==typeof Uint8Array?r:f(Uint8Array),g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":s("async function () {}"),"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":m?f(m):r,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":v,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(1930),w=n(9284),_=b.call(Function.call,Array.prototype.concat),x=b.call(Function.apply,Array.prototype.splice),E=b.call(Function.call,String.prototype.replace),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,C=function(e){var t=[];return E(e,k,(function(e,n,r,o){t[t.length]=r?E(o,S,"$1"):n||e})),t},P=function(e,t){var n,r=e;if(w(y,r)&&(r="%"+(n=y[r])[0]+"%"),w(g,r)){var i=g[r];if(void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=C(e),r=n.length>0?n[0]:"",o=P("%"+r+"%",t),i=o.name,s=o.value,u=!1,c=o.alias;c&&(r=c[0],x(n,_([0,1],c)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d];if("constructor"!==p&&f||(u=!0),w(g,i="%"+(r+="."+p)+"%"))s=g[i];else if(null!=s){if(l&&d+1>=n.length){var h=l(s,p);if(f=!!h,!t&&!(p in s))throw new a("base intrinsic for "+e+" exists, but the property is not available.");s=f&&"get"in h&&!("originalValue"in h.get)?h.get:s[p]}else f=w(s,p),s=s[p];f&&!u&&(g[i]=s)}}return s}},779:function(e,t,n){"use strict";var r=n(1631);e.exports=function(){return"function"==typeof Object.values?Object.values:r}},7256:function(e,t,n){"use strict";var r=n(779),o=n(9170);e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},5372:function(e,t,n){"use strict";var r=n(9567);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},2652:function(e,t,n){e.exports=n(5372)()},9567:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2541:function(e){"use strict";var t=Object.prototype.hasOwnProperty;function n(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function r(e,r){if(n(e,r))return!0;if("object"!=typeof e||null===e||"object"!=typeof r||null===r)return!1;var o=Object.keys(e),i=Object.keys(r);if(o.length!==i.length)return!1;for(var a=0;a<o.length;a++)if(!t.call(r,o[a])||!n(e[o[a]],r[o[a]]))return!1;return!0}e.exports=function(e,t,n){return!r(e.props,t)||!r(e.state,n)}},4185:function(e,t,n){n(17)},7617:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=y(n(4011)),a=y(n(9196)),s=y(n(2652)),l=y(n(2541)),u=y(n(6150)),c=n(4882),d=n(3576),f=y(n(6292)),p=n(6030),h=y(n(2893)),m=y(n(7475)),v=y(n(6747)),g=n(257);function y(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var _=(0,c.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{day:u.default.momentObj,daySize:c.nonNegativeInteger,isOutsideDay:s.default.bool,modifiers:v.default,isFocused:s.default.bool,tabIndex:s.default.oneOf([0,-1]),onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,renderDayContents:s.default.func,ariaLabelFormat:s.default.string,phrases:s.default.shape((0,h.default)(p.CalendarDayPhrases))})),x={day:(0,f.default)(),daySize:g.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",phrases:p.CalendarDayPhrases},E=function(e){function t(){var e;b(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=w(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.setButtonRef=i.setButtonRef.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,l.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){(0,this.props.onDayMouseEnter)(e,t)}},{key:"onDayMouseLeave",value:function(e,t){(0,this.props.onDayMouseLeave)(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,i=t.daySize,s=t.isOutsideDay,l=t.modifiers,u=t.renderDayContents,c=t.tabIndex,f=t.styles,p=t.phrases;if(!n)return a.default.createElement("td",null);var h=(0,m.default)(n,o,i,l,p),v=h.daySizeStyles,g=h.useDefaultCursor,y=h.selected,b=h.hoveredSpan,w=h.isOutsideRange,_=h.ariaLabel;return a.default.createElement("td",r({},(0,d.css)(f.CalendarDay,g&&f.CalendarDay__defaultCursor,f.CalendarDay__default,s&&f.CalendarDay__outside,l.has("today")&&f.CalendarDay__today,l.has("first-day-of-week")&&f.CalendarDay__firstDayOfWeek,l.has("last-day-of-week")&&f.CalendarDay__lastDayOfWeek,l.has("hovered-offset")&&f.CalendarDay__hovered_offset,l.has("highlighted-calendar")&&f.CalendarDay__highlighted_calendar,l.has("blocked-minimum-nights")&&f.CalendarDay__blocked_minimum_nights,l.has("blocked-calendar")&&f.CalendarDay__blocked_calendar,b&&f.CalendarDay__hovered_span,l.has("selected-span")&&f.CalendarDay__selected_span,l.has("last-in-range")&&f.CalendarDay__last_in_range,l.has("selected-start")&&f.CalendarDay__selected_start,l.has("selected-end")&&f.CalendarDay__selected_end,y&&f.CalendarDay__selected,w&&f.CalendarDay__blocked_out_of_range,v),{role:"button",ref:this.setButtonRef,"aria-label":_,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:c}),u?u(n,l):n.format("D"))}}]),t}(a.default.Component);E.propTypes=_,E.defaultProps=x,t.PureCalendarDay=E,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color;return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:t.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"},CalendarDay__default:{border:"1px solid "+String(n.core.borderLight),color:n.text,background:n.background,":hover":{background:n.core.borderLight,border:"1px double "+String(n.core.borderLight),color:"inherit"}},CalendarDay__hovered_offset:{background:n.core.borderBright,border:"1px double "+String(n.core.borderLight),color:"inherit"},CalendarDay__outside:{border:0,background:n.outside.backgroundColor,color:n.outside.color,":hover":{border:0}},CalendarDay__blocked_minimum_nights:{background:n.minimumNights.backgroundColor,border:"1px solid "+String(n.minimumNights.borderColor),color:n.minimumNights.color,":hover":{background:n.minimumNights.backgroundColor_hover,color:n.minimumNights.color_active},":active":{background:n.minimumNights.backgroundColor_active,color:n.minimumNights.color_active}},CalendarDay__highlighted_calendar:{background:n.highlighted.backgroundColor,color:n.highlighted.color,":hover":{background:n.highlighted.backgroundColor_hover,color:n.highlighted.color_active},":active":{background:n.highlighted.backgroundColor_active,color:n.highlighted.color_active}},CalendarDay__selected_span:{background:n.selectedSpan.backgroundColor,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color,":hover":{background:n.selectedSpan.backgroundColor_hover,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active},":active":{background:n.selectedSpan.backgroundColor_active,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active}},CalendarDay__last_in_range:{borderRight:n.core.primary},CalendarDay__selected:{background:n.selected.backgroundColor,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color,":hover":{background:n.selected.backgroundColor_hover,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active},":active":{background:n.selected.backgroundColor_active,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active}},CalendarDay__hovered_span:{background:n.hoveredSpan.backgroundColor,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color,":hover":{background:n.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active},":active":{background:n.hoveredSpan.backgroundColor_active,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active}},CalendarDay__blocked_calendar:{background:n.blocked_calendar.backgroundColor,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color,":hover":{background:n.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active},":active":{background:n.blocked_calendar.backgroundColor_active,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active}},CalendarDay__blocked_out_of_range:{background:n.blocked_out_of_range.backgroundColor,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color,":hover":{background:n.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active},":active":{background:n.blocked_out_of_range.backgroundColor_active,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active}},CalendarDay__selected_start:{},CalendarDay__selected_end:{},CalendarDay__today:{},CalendarDay__firstDayOfWeek:{},CalendarDay__lastDayOfWeek:{}}}))(E)},5986:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=S(n(4011)),a=S(n(9196)),s=S(n(2652)),l=S(n(2541)),u=S(n(6150)),c=n(4882),d=n(3576),f=S(n(6292)),p=n(6030),h=S(n(2893)),m=S(n(4604)),v=S(n(7617)),g=S(n(8607)),y=S(n(5644)),b=S(n(3923)),w=S(n(7310)),_=S(n(6747)),x=S(n(6553)),E=S(n(243)),k=n(257);function S(e){return e&&e.__esModule?e:{default:e}}var C=(0,c.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{month:u.default.momentObj,horizontalMonthPadding:c.nonNegativeInteger,isVisible:s.default.bool,enableOutsideDays:s.default.bool,modifiers:s.default.objectOf(_.default),orientation:x.default,daySize:c.nonNegativeInteger,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthSelect:s.default.func,onYearSelect:s.default.func,renderMonthText:(0,c.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderMonthElement:(0,c.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),firstDayOfWeek:E.default,setMonthTitleHeight:s.default.func,verticalBorderSpacing:c.nonNegativeInteger,focusedDate:u.default.momentObj,isFocused:s.default.bool,monthFormat:s.default.string,phrases:s.default.shape((0,h.default)(p.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),P={month:(0,f.default)(),horizontalMonthPadding:13,isVisible:!0,enableOutsideDays:!1,modifiers:{},orientation:k.HORIZONTAL_ORIENTATION,daySize:k.DAY_SIZE,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthSelect:function(){},onYearSelect:function(){},renderMonthText:null,renderCalendarDay:function(e){return a.default.createElement(v.default,e)},renderDayContents:null,renderMonthElement:null,firstDayOfWeek:null,setMonthTitleHeight:null,focusedDate:null,isFocused:!1,monthFormat:"MMMM YYYY",phrases:p.CalendarDayPhrases,dayAriaLabelFormat:void 0,verticalBorderSpacing:void 0},O=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={weeks:(0,y.default)(e.month,e.enableOutsideDays,null==e.firstDayOfWeek?f.default.localeData().firstDayOfWeek():e.firstDayOfWeek)},n.setCaptionRef=n.setCaptionRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.setMonthTitleHeightTimeout=setTimeout(this.setMonthTitleHeight,0)}},{key:"componentWillReceiveProps",value:function(e){var t=e.month,n=e.enableOutsideDays,r=e.firstDayOfWeek,o=this.props,i=o.month,a=o.enableOutsideDays,s=o.firstDayOfWeek;t.isSame(i)&&n===a&&r===s||this.setState({weeks:(0,y.default)(t,n,null==r?f.default.localeData().firstDayOfWeek():r)})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,l.default)(this,e,t)}},{key:"componentWillUnmount",value:function(){this.setMonthTitleHeightTimeout&&clearTimeout(this.setMonthTitleHeightTimeout)}},{key:"setMonthTitleHeight",value:function(){var e=this.props.setMonthTitleHeight;e&&e((0,g.default)(this.captionRef,"height",!0,!0))}},{key:"setCaptionRef",value:function(e){this.captionRef=e}},{key:"render",value:function(){var e=this.props,t=e.dayAriaLabelFormat,n=e.daySize,o=e.focusedDate,i=e.horizontalMonthPadding,s=e.isFocused,l=e.isVisible,u=e.modifiers,c=e.month,f=e.monthFormat,p=e.onDayClick,h=e.onDayMouseEnter,v=e.onDayMouseLeave,g=e.onMonthSelect,y=e.onYearSelect,_=e.orientation,x=e.phrases,E=e.renderCalendarDay,S=e.renderDayContents,C=e.renderMonthElement,P=e.renderMonthText,O=e.styles,M=e.verticalBorderSpacing,T=this.state.weeks,D=P?P(c):c.format(f),I=_===k.VERTICAL_SCROLLABLE;return a.default.createElement("div",r({},(0,d.css)(O.CalendarMonth,{padding:"0 "+String(i)+"px"}),{"data-visible":l}),a.default.createElement("div",r({ref:this.setCaptionRef},(0,d.css)(O.CalendarMonth_caption,I&&O.CalendarMonth_caption__verticalScrollable)),C?C({month:c,onMonthSelect:g,onYearSelect:y}):a.default.createElement("strong",null,D)),a.default.createElement("table",r({},(0,d.css)(!M&&O.CalendarMonth_table,M&&O.CalendarMonth_verticalSpacing,M&&{borderSpacing:"0px "+String(M)+"px"}),{role:"presentation"}),a.default.createElement("tbody",null,T.map((function(e,r){return a.default.createElement(m.default,{key:r},e.map((function(e,r){return E({key:r,day:e,daySize:n,isOutsideDay:!e||e.month()!==c.month(),tabIndex:l&&(0,b.default)(e,o)?0:-1,isFocused:s,onDayMouseEnter:h,onDayMouseLeave:v,onDayClick:p,renderDayContents:S,phrases:x,modifiers:u[(0,w.default)(e)],ariaLabelFormat:t})})))})))))}}]),t}(a.default.Component);O.propTypes=C,O.defaultProps=P,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.spacing;return{CalendarMonth:{background:n.background,textAlign:"center",verticalAlign:"top",userSelect:"none"},CalendarMonth_table:{borderCollapse:"collapse",borderSpacing:0},CalendarMonth_verticalSpacing:{borderCollapse:"separate"},CalendarMonth_caption:{color:n.text,fontSize:r.captionSize,textAlign:"center",paddingTop:o.captionPaddingTop,paddingBottom:o.captionPaddingBottom,captionSide:"initial"},CalendarMonth_caption__verticalScrollable:{paddingTop:12,paddingBottom:7}}}))(O)},7938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=P(n(4011)),a=P(n(9196)),s=P(n(2652)),l=P(n(2541)),u=P(n(6150)),c=n(4882),d=n(3576),f=P(n(6292)),p=n(8495),h=n(6030),m=P(n(2893)),v=P(n(5986)),g=P(n(7978)),y=P(n(8304)),b=P(n(8964)),w=P(n(2705)),_=P(n(3858)),x=P(n(1310)),E=P(n(6747)),k=P(n(6553)),S=P(n(243)),C=n(257);function P(e){return e&&e.__esModule?e:{default:e}}var O=(0,c.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{enableOutsideDays:s.default.bool,firstVisibleMonthIndex:s.default.number,horizontalMonthPadding:c.nonNegativeInteger,initialMonth:u.default.momentObj,isAnimating:s.default.bool,numberOfMonths:s.default.number,modifiers:s.default.objectOf(s.default.objectOf(E.default)),orientation:k.default,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthTransitionEnd:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,renderMonthText:(0,c.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,translationValue:s.default.number,renderMonthElement:(0,c.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),daySize:c.nonNegativeInteger,focusedDate:u.default.momentObj,isFocused:s.default.bool,firstDayOfWeek:S.default,setMonthTitleHeight:s.default.func,isRTL:s.default.bool,transitionDuration:c.nonNegativeInteger,verticalBorderSpacing:c.nonNegativeInteger,monthFormat:s.default.string,phrases:s.default.shape((0,m.default)(h.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),M={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,f.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:C.HORIZONTAL_ORIENTATION,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthChange:function(){},onYearChange:function(){},onMonthTransitionEnd:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,translationValue:null,renderMonthElement:null,daySize:C.DAY_SIZE,focusedDate:null,isFocused:!1,firstDayOfWeek:null,setMonthTitleHeight:null,isRTL:!1,transitionDuration:200,verticalBorderSpacing:void 0,monthFormat:"MMMM YYYY",phrases:h.CalendarDayPhrases,dayAriaLabelFormat:void 0};function T(e,t,n){var r=e.clone();n||(r=r.subtract(1,"month"));for(var o=[],i=0;i<(n?t:t+2);i+=1)o.push(r),r=r.clone().add(1,"month");return o}var D=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=e.orientation===C.VERTICAL_SCROLLABLE;return n.state={months:T(e.initialMonth,e.numberOfMonths,r)},n.isTransitionEndSupported=(0,g.default)(),n.onTransitionEnd=n.onTransitionEnd.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.locale=f.default.locale(),n.onMonthSelect=n.onMonthSelect.bind(n),n.onYearSelect=n.onYearSelect.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,p.addEventListener)(this.container,"transitionend",this.onTransitionEnd)}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.initialMonth,r=e.numberOfMonths,o=e.orientation,i=this.state.months,a=this.props,s=a.initialMonth,l=a.numberOfMonths!==r,u=i;s.isSame(n,"month")||l||((0,x.default)(s,n)?(u=i.slice(1)).push(i[i.length-1].clone().add(1,"month")):(0,_.default)(s,n)?(u=i.slice(0,i.length-1)).unshift(i[0].clone().subtract(1,"month")):u=T(n,r,o===C.VERTICAL_SCROLLABLE));l&&(u=T(n,r,o===C.VERTICAL_SCROLLABLE));var c=f.default.locale();this.locale!==c&&(this.locale=c,u=u.map((function(e){return e.locale(t.locale)}))),this.setState({months:u})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,l.default)(this,e,t)}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.isAnimating,n=e.transitionDuration,r=e.onMonthTransitionEnd;this.isTransitionEndSupported&&n||!t||r()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener()}},{key:"onTransitionEnd",value:function(){(0,this.props.onMonthTransitionEnd)()}},{key:"onMonthSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onMonthChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,l=a.indexOf(e);s||(l-=1),n.set("month",t).subtract(l,"months"),o(n)}},{key:"onYearSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onYearChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,l=a.indexOf(e);s||(l-=1),n.set("year",t).subtract(l,"months"),o(n)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.enableOutsideDays,o=t.firstVisibleMonthIndex,s=t.horizontalMonthPadding,l=t.isAnimating,u=t.modifiers,c=t.numberOfMonths,f=t.monthFormat,p=t.orientation,h=t.translationValue,m=t.daySize,g=t.onDayMouseEnter,_=t.onDayMouseLeave,x=t.onDayClick,E=t.renderMonthText,k=t.renderCalendarDay,S=t.renderDayContents,P=t.renderMonthElement,O=t.onMonthTransitionEnd,M=t.firstDayOfWeek,T=t.focusedDate,D=t.isFocused,I=t.isRTL,A=t.styles,R=t.phrases,N=t.dayAriaLabelFormat,L=t.transitionDuration,F=t.verticalBorderSpacing,j=t.setMonthTitleHeight,z=this.state.months,B=p===C.VERTICAL_ORIENTATION,H=p===C.VERTICAL_SCROLLABLE,V=p===C.HORIZONTAL_ORIENTATION,W=(0,b.default)(m,s),U=B||H?W:(c+2)*W,$=(B||H?"translateY":"translateX")+"("+String(h)+"px)";return a.default.createElement("div",r({},(0,d.css)(A.CalendarMonthGrid,V&&A.CalendarMonthGrid__horizontal,B&&A.CalendarMonthGrid__vertical,H&&A.CalendarMonthGrid__vertical_scrollable,l&&A.CalendarMonthGrid__animating,l&&L&&{transition:"transform "+String(L)+"ms ease-in-out"},(0,i.default)({},(0,y.default)($),{width:U})),{ref:this.setContainerRef,onTransitionEnd:O}),z.map((function(t,i){var y=i>=o&&i<o+c,b=0===i&&!y,C=0===i&&l&&y,O=(0,w.default)(t);return a.default.createElement("div",r({key:O},(0,d.css)(V&&A.CalendarMonthGrid_month__horizontal,b&&A.CalendarMonthGrid_month__hideForAnimation,C&&!B&&!I&&{position:"absolute",left:-W},C&&!B&&I&&{position:"absolute",right:0},C&&B&&{position:"absolute",top:-h},!y&&!l&&A.CalendarMonthGrid_month__hidden)),a.default.createElement(v.default,{month:t,isVisible:y,enableOutsideDays:n,modifiers:u[O],monthFormat:f,orientation:p,onDayMouseEnter:g,onDayMouseLeave:_,onDayClick:x,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:E,renderCalendarDay:k,renderDayContents:S,renderMonthElement:P,firstDayOfWeek:M,daySize:m,focusedDate:y?T:null,isFocused:D,phrases:R,setMonthTitleHeight:j,dayAriaLabelFormat:N,verticalBorderSpacing:F,horizontalMonthPadding:s}))})))}}]),t}(a.default.Component);D.propTypes=O,D.defaultProps=M,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.noScrollBarOnVerticalScrollable,o=t.spacing,a=t.zIndex;return{CalendarMonthGrid:{background:n.background,textAlign:"left",zIndex:a},CalendarMonthGrid__animating:{zIndex:a+1},CalendarMonthGrid__horizontal:{position:"absolute",left:o.dayPickerHorizontalPadding},CalendarMonthGrid__vertical:{margin:"0 auto"},CalendarMonthGrid__vertical_scrollable:(0,i.default)({margin:"0 auto",overflowY:"scroll"},r&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}}),CalendarMonthGrid_month__horizontal:{display:"inline-block",verticalAlign:"top",minHeight:"100%"},CalendarMonthGrid_month__hideForAnimation:{position:"absolute",zIndex:a-1,opacity:0,pointerEvents:"none"},CalendarMonthGrid_month__hidden:{visibility:"hidden"}}}))(D)},4604:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=s(n(9196)),o=n(4882),i=s(n(7617)),a=s(n(6698));function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,o.forbidExtraProps)({children:(0,o.or)([(0,o.childrenOfType)(i.default),(0,o.childrenOfType)(a.default)]).isRequired});function u(e){var t=e.children;return r.default.createElement("tr",null,t)}u.propTypes=l},9588:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(9196),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},1809:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(9196),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},6973:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(9196),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{fillRule:"evenodd",d:"M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z"}))};a.defaultProps={viewBox:"0 0 12 12"},t.default=a},6698:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=g(n(4011)),a=g(n(9196)),s=g(n(2652)),l=g(n(2541)),u=g(n(6150)),c=n(4882),d=n(3576),f=g(n(6292)),p=n(6030),h=g(n(2893)),m=g(n(7475)),v=n(257);function g(e){return e&&e.__esModule?e:{default:e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var w=g(n(8158)).default.reactDates.color;function _(e,t){if(!e)return null;var n=e.hover;return t&&n?n:e}var x=s.default.shape({background:s.default.string,border:(0,c.or)([s.default.string,s.default.number]),color:s.default.string,hover:s.default.shape({background:s.default.string,border:(0,c.or)([s.default.string,s.default.number]),color:s.default.string})}),E=(0,c.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{day:u.default.momentObj,daySize:c.nonNegativeInteger,isOutsideDay:s.default.bool,modifiers:s.default.instanceOf(Set),isFocused:s.default.bool,tabIndex:s.default.oneOf([0,-1]),onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,renderDayContents:s.default.func,ariaLabelFormat:s.default.string,defaultStyles:x,outsideStyles:x,todayStyles:x,firstDayOfWeekStyles:x,lastDayOfWeekStyles:x,highlightedCalendarStyles:x,blockedMinNightsStyles:x,blockedCalendarStyles:x,blockedOutOfRangeStyles:x,hoveredSpanStyles:x,selectedSpanStyles:x,lastInRangeStyles:x,selectedStyles:x,selectedStartStyles:x,selectedEndStyles:x,afterHoveredStartStyles:x,phrases:s.default.shape((0,h.default)(p.CalendarDayPhrases))})),k=t.defaultStyles={border:"1px solid "+String(w.core.borderLight),color:w.text,background:w.background,hover:{background:w.core.borderLight,border:"1px double "+String(w.core.borderLight),color:"inherit"}},S=t.outsideStyles={background:w.outside.backgroundColor,border:0,color:w.outside.color},C=t.highlightedCalendarStyles={background:w.highlighted.backgroundColor,color:w.highlighted.color,hover:{background:w.highlighted.backgroundColor_hover,color:w.highlighted.color_active}},P=t.blockedMinNightsStyles={background:w.minimumNights.backgroundColor,border:"1px solid "+String(w.minimumNights.borderColor),color:w.minimumNights.color,hover:{background:w.minimumNights.backgroundColor_hover,color:w.minimumNights.color_active}},O=t.blockedCalendarStyles={background:w.blocked_calendar.backgroundColor,border:"1px solid "+String(w.blocked_calendar.borderColor),color:w.blocked_calendar.color,hover:{background:w.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(w.blocked_calendar.borderColor),color:w.blocked_calendar.color_active}},M=t.blockedOutOfRangeStyles={background:w.blocked_out_of_range.backgroundColor,border:"1px solid "+String(w.blocked_out_of_range.borderColor),color:w.blocked_out_of_range.color,hover:{background:w.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(w.blocked_out_of_range.borderColor),color:w.blocked_out_of_range.color_active}},T=t.hoveredSpanStyles={background:w.hoveredSpan.backgroundColor,border:"1px solid "+String(w.hoveredSpan.borderColor),color:w.hoveredSpan.color,hover:{background:w.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(w.hoveredSpan.borderColor),color:w.hoveredSpan.color_active}},D=t.selectedSpanStyles={background:w.selectedSpan.backgroundColor,border:"1px solid "+String(w.selectedSpan.borderColor),color:w.selectedSpan.color,hover:{background:w.selectedSpan.backgroundColor_hover,border:"1px solid "+String(w.selectedSpan.borderColor),color:w.selectedSpan.color_active}},I=t.lastInRangeStyles={borderRight:w.core.primary},A=t.selectedStyles={background:w.selected.backgroundColor,border:"1px solid "+String(w.selected.borderColor),color:w.selected.color,hover:{background:w.selected.backgroundColor_hover,border:"1px solid "+String(w.selected.borderColor),color:w.selected.color_active}},R={day:(0,f.default)(),daySize:v.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",defaultStyles:k,outsideStyles:S,todayStyles:{},highlightedCalendarStyles:C,blockedMinNightsStyles:P,blockedCalendarStyles:O,blockedOutOfRangeStyles:M,hoveredSpanStyles:T,selectedSpanStyles:D,lastInRangeStyles:I,selectedStyles:A,selectedStartStyles:{},selectedEndStyles:{},afterHoveredStartStyles:{},firstDayOfWeekStyles:{},lastDayOfWeekStyles:{},phrases:p.CalendarDayPhrases},N=function(e){function t(){var e;y(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=b(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.state={isHovered:!1},i.setButtonRef=i.setButtonRef.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,l.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){var n=this.props.onDayMouseEnter;this.setState({isHovered:!0}),n(e,t)}},{key:"onDayMouseLeave",value:function(e,t){var n=this.props.onDayMouseLeave;this.setState({isHovered:!1}),n(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,i=t.daySize,s=t.isOutsideDay,l=t.modifiers,u=t.tabIndex,c=t.renderDayContents,f=t.styles,p=t.phrases,h=t.defaultStyles,v=t.outsideStyles,g=t.todayStyles,y=t.firstDayOfWeekStyles,b=t.lastDayOfWeekStyles,w=t.highlightedCalendarStyles,x=t.blockedMinNightsStyles,E=t.blockedCalendarStyles,k=t.blockedOutOfRangeStyles,S=t.hoveredSpanStyles,C=t.selectedSpanStyles,P=t.lastInRangeStyles,O=t.selectedStyles,M=t.selectedStartStyles,T=t.selectedEndStyles,D=t.afterHoveredStartStyles,I=this.state.isHovered;if(!n)return a.default.createElement("td",null);var A=(0,m.default)(n,o,i,l,p),R=A.daySizeStyles,N=A.useDefaultCursor,L=A.selected,F=A.hoveredSpan,j=A.isOutsideRange,z=A.ariaLabel;return a.default.createElement("td",r({},(0,d.css)(f.CalendarDay,N&&f.CalendarDay__defaultCursor,R,_(h,I),s&&_(v,I),l.has("today")&&_(g,I),l.has("first-day-of-week")&&_(y,I),l.has("last-day-of-week")&&_(b,I),l.has("highlighted-calendar")&&_(w,I),l.has("blocked-minimum-nights")&&_(x,I),l.has("blocked-calendar")&&_(E,I),F&&_(S,I),l.has("after-hovered-start")&&_(D,I),l.has("selected-span")&&_(C,I),l.has("last-in-range")&&_(P,I),L&&_(O,I),l.has("selected-start")&&_(M,I),l.has("selected-end")&&_(T,I),j&&_(k,I)),{role:"button",ref:this.setButtonRef,"aria-label":z,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:u}),c?c(n,l):n.format("D"))}}]),t}(a.default.Component);N.propTypes=E,N.defaultProps=R,t.PureCustomizableCalendarDay=N,t.default=(0,d.withStyles)((function(e){return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:e.reactDates.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"}}}))(N)},8665:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=D(n(4011)),a=D(n(9196)),s=D(n(2652)),l=D(n(2541)),u=n(4882),c=n(3576),d=D(n(6292)),f=D(n(8172)),p=D(n(5834)),h=D(n(6606)),m=n(6030),v=D(n(2893)),g=D(n(7938)),y=D(n(3895)),b=n(600),w=D(b),_=D(n(4112)),x=D(n(8964)),E=D(n(8607)),k=D(n(5814)),S=D(n(5713)),C=D(n(6747)),P=D(n(6553)),O=D(n(243)),M=D(n(8182)),T=n(257);function D(e){return e&&e.__esModule?e:{default:e}}function I(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var A="prev",R="next",N="month_selection",L="year_selection",F=(0,u.forbidExtraProps)((0,i.default)({},c.withStylesPropTypes,{enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:P.default,withPortal:s.default.bool,onOutsideClick:s.default.func,hidden:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:O.default,renderCalendarInfo:s.default.func,calendarInfoPosition:M.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:u.nonNegativeInteger,isRTL:s.default.bool,verticalHeight:u.nonNegativeInteger,noBorder:s.default.bool,transitionDuration:u.nonNegativeInteger,verticalBorderSpacing:u.nonNegativeInteger,horizontalMonthPadding:u.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,noNavButtons:s.default.bool,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,onMultiplyScrollableMonths:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),modifiers:s.default.objectOf(s.default.objectOf(C.default)),renderCalendarDay:s.default.func,renderDayContents:s.default.func,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,isFocused:s.default.bool,getFirstFocusableDay:s.default.func,onBlur:s.default.func,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,v.default)(m.DayPickerPhrases)),dayAriaLabelFormat:s.default.string})),j=t.defaultProps={enableOutsideDays:!1,numberOfMonths:2,orientation:T.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){},hidden:!1,initialVisibleMonth:function(){return(0,d.default)()},firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:T.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:T.DAY_SIZE,isRTL:!1,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onMonthChange:function(){},onYearChange:function(){},onMultiplyScrollableMonths:function(){},renderMonthText:null,renderMonthElement:null,modifiers:{},renderCalendarDay:void 0,renderDayContents:null,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},isFocused:!1,getFirstFocusableDay:null,onBlur:function(){},showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:m.DayPickerPhrases,dayAriaLabelFormat:void 0},z=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=e.hidden?(0,d.default)():e.initialVisibleMonth(),o=r.clone().startOf("month");e.getFirstFocusableDay&&(o=e.getFirstFocusableDay(r));var i=e.horizontalMonthPadding,a=e.isRTL&&n.isHorizontal()?-(0,x.default)(e.daySize,i):0;return n.hasSetInitialVisibleMonth=!e.hidden,n.state={currentMonth:r,monthTransition:null,translationValue:a,scrollableMonthMultiple:1,calendarMonthWidth:(0,x.default)(e.daySize,i),focusedDate:!e.hidden||e.isFocused?o:null,nextFocusedDate:null,showKeyboardShortcuts:e.showKeyboardShortcuts,onKeyboardShortcutsPanelClose:function(){},isTouchDevice:(0,p.default)(),withMouseInteractions:!0,calendarInfoWidth:0,monthTitleHeight:null,hasSetHeight:!1},n.setCalendarMonthWeeks(r),n.calendarMonthGridHeight=0,n.setCalendarInfoWidthTimeout=null,n.onKeyDown=n.onKeyDown.bind(n),n.throttledKeyDown=(0,f.default)(n.onFinalKeyDown,200,{trailing:!1}),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.multiplyScrollableMonths=n.multiplyScrollableMonths.bind(n),n.updateStateAfterMonthTransition=n.updateStateAfterMonthTransition.bind(n),n.openKeyboardShortcutsPanel=n.openKeyboardShortcutsPanel.bind(n),n.closeKeyboardShortcutsPanel=n.closeKeyboardShortcutsPanel.bind(n),n.setCalendarInfoRef=n.setCalendarInfoRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.setTransitionContainerRef=n.setTransitionContainerRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this.state.currentMonth;this.calendarInfo?this.setState({isTouchDevice:(0,p.default)(),calendarInfoWidth:(0,E.default)(this.calendarInfo,"width",!0,!0)}):this.setState({isTouchDevice:(0,p.default)()}),this.setCalendarMonthWeeks(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.hidden,n=e.isFocused,r=e.showKeyboardShortcuts,o=e.onBlur,i=e.renderMonthText,a=e.horizontalMonthPadding,s=this.state.currentMonth;t||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var l=this.props,u=l.daySize,c=l.isFocused,d=l.renderMonthText;if(e.daySize!==u&&this.setState({calendarMonthWidth:(0,x.default)(e.daySize,a)}),n!==c)if(n){var f=this.getFocusedDay(s),p=this.state.onKeyboardShortcutsPanelClose;e.showKeyboardShortcuts&&(p=o),this.setState({showKeyboardShortcuts:r,onKeyboardShortcutsPanelClose:p,focusedDate:f,withMouseInteractions:!1})}else this.setState({focusedDate:null});i!==d&&this.setState({monthTitleHeight:null})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,l.default)(this,e,t)}},{key:"componentWillUpdate",value:function(){var e=this,t=this.props.transitionDuration;this.calendarInfo&&(this.setCalendarInfoWidthTimeout=setTimeout((function(){var t=e.state.calendarInfoWidth,n=(0,E.default)(e.calendarInfo,"width",!0,!0);t!==n&&e.setState({calendarInfoWidth:n})}),t))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.orientation,r=t.daySize,o=t.isFocused,i=t.numberOfMonths,a=this.state,s=a.focusedDate,l=a.monthTitleHeight;if(this.isHorizontal()&&(n!==e.orientation||r!==e.daySize)){var u=this.calendarMonthWeeks.slice(1,i+1),c=l+Math.max.apply(Math,[0].concat(I(u)))*(r-1)+1;this.adjustDayPickerHeight(c)}e.isFocused||!o||s||this.container.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.setCalendarInfoWidthTimeout)}},{key:"onKeyDown",value:function(e){e.stopPropagation(),T.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){this.setState({withMouseInteractions:!1});var t=this.props,n=t.onBlur,r=t.isRTL,o=this.state,i=o.focusedDate,a=o.showKeyboardShortcuts;if(i){var s=i.clone(),l=!1,u=(0,k.default)(),c=function(){u&&u.focus()};switch(e.key){case"ArrowUp":e.preventDefault(),s.subtract(1,"week"),l=this.maybeTransitionPrevMonth(s);break;case"ArrowLeft":e.preventDefault(),r?s.add(1,"day"):s.subtract(1,"day"),l=this.maybeTransitionPrevMonth(s);break;case"Home":e.preventDefault(),s.startOf("week"),l=this.maybeTransitionPrevMonth(s);break;case"PageUp":e.preventDefault(),s.subtract(1,"month"),l=this.maybeTransitionPrevMonth(s);break;case"ArrowDown":e.preventDefault(),s.add(1,"week"),l=this.maybeTransitionNextMonth(s);break;case"ArrowRight":e.preventDefault(),r?s.subtract(1,"day"):s.add(1,"day"),l=this.maybeTransitionNextMonth(s);break;case"End":e.preventDefault(),s.endOf("week"),l=this.maybeTransitionNextMonth(s);break;case"PageDown":e.preventDefault(),s.add(1,"month"),l=this.maybeTransitionNextMonth(s);break;case"?":this.openKeyboardShortcutsPanel(c);break;case"Escape":a?this.closeKeyboardShortcutsPanel():n()}l||this.setState({focusedDate:s})}}},{key:"onPrevMonthClick",value:function(e,t){var n=this.props,r=n.daySize,o=n.isRTL,i=n.numberOfMonths,a=this.state,s=a.calendarMonthWidth,l=a.monthTitleHeight;t&&t.preventDefault();var u=void 0;if(this.isVertical())u=l+this.calendarMonthWeeks[0]*(r-1)+1;else if(this.isHorizontal()){u=s,o&&(u=-2*s);var c=this.calendarMonthWeeks.slice(0,i),d=l+Math.max.apply(Math,[0].concat(I(c)))*(r-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:A,translationValue:u,focusedDate:null,nextFocusedDate:e})}},{key:"onMonthChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:N,translationValue:1e-5,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onYearChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:L,translationValue:1e-4,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onNextMonthClick",value:function(e,t){var n=this.props,r=n.isRTL,o=n.numberOfMonths,i=n.daySize,a=this.state,s=a.calendarMonthWidth,l=a.monthTitleHeight;t&&t.preventDefault();var u=void 0;if(this.isVertical()&&(u=-(l+this.calendarMonthWeeks[1]*(i-1)+1)),this.isHorizontal()){u=-s,r&&(u=0);var c=this.calendarMonthWeeks.slice(2,o+2),d=l+Math.max.apply(Math,[0].concat(I(c)))*(i-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:R,translationValue:u,focusedDate:null,nextFocusedDate:e})}},{key:"getFirstDayOfWeek",value:function(){var e=this.props.firstDayOfWeek;return null==e?d.default.localeData().firstDayOfWeek():e}},{key:"getFirstVisibleIndex",value:function(){var e=this.props.orientation,t=this.state.monthTransition;if(e===T.VERTICAL_SCROLLABLE)return 0;var n=1;return t===A?n-=1:t===R&&(n+=1),n}},{key:"getFocusedDay",value:function(e){var t=this.props,n=t.getFirstFocusableDay,r=t.numberOfMonths,o=void 0;return n&&(o=n(e)),!e||o&&(0,S.default)(o,e,r)||(o=e.clone().startOf("month")),o}},{key:"setMonthTitleHeight",value:function(e){var t=this;this.setState({monthTitleHeight:e},(function(){t.calculateAndSetDayPickerHeight()}))}},{key:"setCalendarMonthWeeks",value:function(e){var t=this.props.numberOfMonths;this.calendarMonthWeeks=[];for(var n=e.clone().subtract(1,"months"),r=this.getFirstDayOfWeek(),o=0;o<t+2;o+=1){var i=(0,_.default)(n,r);this.calendarMonthWeeks.push(i),n=n.add(1,"months")}}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setCalendarInfoRef",value:function(e){this.calendarInfo=e}},{key:"setTransitionContainerRef",value:function(e){this.transitionContainer=e}},{key:"maybeTransitionNextMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,S.default)(e,r,t);return i!==a&&!s&&(this.onNextMonthClick(e),!0)}},{key:"maybeTransitionPrevMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,S.default)(e,r,t);return i!==a&&!s&&(this.onPrevMonthClick(e),!0)}},{key:"multiplyScrollableMonths",value:function(e){var t=this.props.onMultiplyScrollableMonths;e&&e.preventDefault(),t&&t(e),this.setState((function(e){return{scrollableMonthMultiple:e.scrollableMonthMultiple+1}}))}},{key:"isHorizontal",value:function(){return this.props.orientation===T.HORIZONTAL_ORIENTATION}},{key:"isVertical",value:function(){var e=this.props.orientation;return e===T.VERTICAL_ORIENTATION||e===T.VERTICAL_SCROLLABLE}},{key:"updateStateAfterMonthTransition",value:function(){var e=this,t=this.props,n=t.onPrevMonthClick,r=t.onNextMonthClick,o=t.numberOfMonths,i=t.onMonthChange,a=t.onYearChange,s=t.isRTL,l=this.state,u=l.currentMonth,c=l.monthTransition,d=l.focusedDate,f=l.nextFocusedDate,p=l.withMouseInteractions,h=l.calendarMonthWidth;if(c){var m=u.clone(),v=this.getFirstDayOfWeek();if(c===A){m.subtract(1,"month"),n&&n(m);var g=m.clone().subtract(1,"month"),y=(0,_.default)(g,v);this.calendarMonthWeeks=[y].concat(I(this.calendarMonthWeeks.slice(0,-1)))}else if(c===R){m.add(1,"month"),r&&r(m);var b=m.clone().add(o,"month"),w=(0,_.default)(b,v);this.calendarMonthWeeks=[].concat(I(this.calendarMonthWeeks.slice(1)),[w])}else c===N?i&&i(m):c===L&&a&&a(m);var x=null;f?x=f:d||p||(x=this.getFocusedDay(m)),this.setState({currentMonth:m,monthTransition:null,translationValue:s&&this.isHorizontal()?-h:0,nextFocusedDate:null,focusedDate:x},(function(){if(p){var t=(0,k.default)();t&&t!==document.body&&e.container.contains(t)&&t.blur()}}))}}},{key:"adjustDayPickerHeight",value:function(e){var t=this,n=e+23;n!==this.calendarMonthGridHeight&&(this.transitionContainer.style.height=String(n)+"px",this.calendarMonthGridHeight||setTimeout((function(){t.setState({hasSetHeight:!0})}),0),this.calendarMonthGridHeight=n)}},{key:"calculateAndSetDayPickerHeight",value:function(){var e=this.props,t=e.daySize,n=e.numberOfMonths,r=this.state.monthTitleHeight,o=this.calendarMonthWeeks.slice(1,n+1),i=r+Math.max.apply(Math,[0].concat(I(o)))*(t-1)+1;this.isHorizontal()&&this.adjustDayPickerHeight(i)}},{key:"openKeyboardShortcutsPanel",value:function(e){this.setState({showKeyboardShortcuts:!0,onKeyboardShortcutsPanelClose:e})}},{key:"closeKeyboardShortcutsPanel",value:function(){var e=this.state.onKeyboardShortcutsPanelClose;e&&e(),this.setState({onKeyboardShortcutsPanelClose:null,showKeyboardShortcuts:!1})}},{key:"renderNavigation",value:function(){var e=this,t=this.props,n=t.navPrev,r=t.navNext,o=t.noNavButtons,i=t.orientation,s=t.phrases,l=t.isRTL;if(o)return null;var u=void 0;return u=i===T.VERTICAL_SCROLLABLE?this.multiplyScrollableMonths:function(t){e.onNextMonthClick(null,t)},a.default.createElement(y.default,{onPrevMonthClick:function(t){e.onPrevMonthClick(null,t)},onNextMonthClick:u,navPrev:n,navNext:r,orientation:i,phrases:s,isRTL:l})}},{key:"renderWeekHeader",value:function(e){var t=this.props,n=t.daySize,o=t.horizontalMonthPadding,i=t.orientation,s=t.weekDayFormat,l=t.styles,u=this.state.calendarMonthWidth,f=i===T.VERTICAL_SCROLLABLE,p={left:e*u},h={marginLeft:-u/2},m={};this.isHorizontal()?m=p:this.isVertical()&&!f&&(m=h);for(var v=this.getFirstDayOfWeek(),g=[],y=0;y<7;y+=1)g.push(a.default.createElement("li",r({key:y},(0,c.css)(l.DayPicker_weekHeader_li,{width:n})),a.default.createElement("small",null,(0,d.default)().day((y+v)%7).format(s))));return a.default.createElement("div",r({},(0,c.css)(l.DayPicker_weekHeader,this.isVertical()&&l.DayPicker_weekHeader__vertical,f&&l.DayPicker_weekHeader__verticalScrollable,m,{padding:"0 "+String(o)+"px"}),{key:"week-"+String(e)}),a.default.createElement("ul",(0,c.css)(l.DayPicker_weekHeader_ul),g))}},{key:"render",value:function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,o=t.currentMonth,i=t.monthTransition,s=t.translationValue,l=t.scrollableMonthMultiple,u=t.focusedDate,d=t.showKeyboardShortcuts,f=t.isTouchDevice,p=t.hasSetHeight,m=t.calendarInfoWidth,v=t.monthTitleHeight,y=this.props,_=y.enableOutsideDays,x=y.numberOfMonths,E=y.orientation,k=y.modifiers,S=y.withPortal,C=y.onDayClick,P=y.onDayMouseEnter,O=y.onDayMouseLeave,M=y.firstDayOfWeek,D=y.renderMonthText,I=y.renderCalendarDay,A=y.renderDayContents,R=y.renderCalendarInfo,N=y.renderMonthElement,L=y.calendarInfoPosition,F=y.hideKeyboardShortcutsPanel,j=y.onOutsideClick,z=y.monthFormat,B=y.daySize,H=y.isFocused,V=y.isRTL,W=y.styles,U=y.theme,$=y.phrases,K=y.verticalHeight,G=y.dayAriaLabelFormat,q=y.noBorder,Y=y.transitionDuration,X=y.verticalBorderSpacing,Z=y.horizontalMonthPadding,J=U.reactDates.spacing.dayPickerHorizontalPadding,Q=this.isHorizontal(),ee=this.isVertical()?1:x,te=[],ne=0;ne<ee;ne+=1)te.push(this.renderWeekHeader(ne));var re=E===T.VERTICAL_SCROLLABLE,oe=void 0;Q?oe=this.calendarMonthGridHeight:!this.isVertical()||re||S||(oe=K||1.75*n);var ie=null!==i,ae=!ie&&H,se=b.BOTTOM_RIGHT;this.isVertical()&&(se=S?b.TOP_LEFT:b.TOP_RIGHT);var le=Q&&p,ue=L===T.INFO_POSITION_TOP,ce=L===T.INFO_POSITION_BOTTOM,de=L===T.INFO_POSITION_BEFORE,fe=L===T.INFO_POSITION_AFTER,pe=de||fe,he=R&&a.default.createElement("div",r({ref:this.setCalendarInfoRef},(0,c.css)(pe&&W.DayPicker_calendarInfo__horizontal)),R()),me=R&&pe?m:0,ve=this.getFirstVisibleIndex(),ge=n*x+2*J,ye=ge+me+1,be={width:Q&&ge,height:oe},we={width:Q&&ge},_e={width:Q&&ye,marginLeft:Q&&S?-ye/2:null,marginTop:Q&&S?-n/2:null};return a.default.createElement("div",r({role:"application","aria-label":$.calendarLabel},(0,c.css)(W.DayPicker,Q&&W.DayPicker__horizontal,re&&W.DayPicker__verticalScrollable,Q&&S&&W.DayPicker_portal__horizontal,this.isVertical()&&S&&W.DayPicker_portal__vertical,_e,!v&&W.DayPicker__hidden,!q&&W.DayPicker__withBorder)),a.default.createElement(h.default,{onOutsideClick:j},(ue||de)&&he,a.default.createElement("div",(0,c.css)(we,pe&&Q&&W.DayPicker_wrapper__horizontal),a.default.createElement("div",r({},(0,c.css)(W.DayPicker_weekHeaders,Q&&W.DayPicker_weekHeaders__horizontal),{"aria-hidden":"true",role:"presentation"}),te),a.default.createElement("div",r({},(0,c.css)(W.DayPicker_focusRegion),{ref:this.setContainerRef,onClick:function(e){e.stopPropagation()},onKeyDown:this.onKeyDown,onMouseUp:function(){e.setState({withMouseInteractions:!0})},role:"region",tabIndex:-1}),!re&&this.renderNavigation(),a.default.createElement("div",r({},(0,c.css)(W.DayPicker_transitionContainer,le&&W.DayPicker_transitionContainer__horizontal,this.isVertical()&&W.DayPicker_transitionContainer__vertical,re&&W.DayPicker_transitionContainer__verticalScrollable,be),{ref:this.setTransitionContainerRef}),a.default.createElement(g.default,{setMonthTitleHeight:v?void 0:this.setMonthTitleHeight,translationValue:s,enableOutsideDays:_,firstVisibleMonthIndex:ve,initialMonth:o,isAnimating:ie,modifiers:k,orientation:E,numberOfMonths:x*l,onDayClick:C,onDayMouseEnter:P,onDayMouseLeave:O,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:D,renderCalendarDay:I,renderDayContents:A,renderMonthElement:N,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:z,daySize:B,firstDayOfWeek:M,isFocused:ae,focusedDate:u,phrases:$,isRTL:V,dayAriaLabelFormat:G,transitionDuration:Y,verticalBorderSpacing:X,horizontalMonthPadding:Z}),re&&this.renderNavigation()),!f&&!F&&a.default.createElement(w.default,{block:this.isVertical()&&!S,buttonLocation:se,showKeyboardShortcutsPanel:d,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:$}))),(ce||fe)&&he))}}]),t}(a.default.Component);z.propTypes=F,z.defaultProps=j,t.PureDayPicker=z,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.noScrollBarOnVerticalScrollable,a=t.spacing,s=t.zIndex;return{DayPicker:{background:n.background,position:"relative",textAlign:"left"},DayPicker__horizontal:{background:n.background},DayPicker__verticalScrollable:{height:"100%"},DayPicker__hidden:{visibility:"hidden"},DayPicker__withBorder:{boxShadow:"0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)",borderRadius:3},DayPicker_portal__horizontal:{boxShadow:"none",position:"absolute",left:"50%",top:"50%"},DayPicker_portal__vertical:{position:"initial"},DayPicker_focusRegion:{outline:"none"},DayPicker_calendarInfo__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_wrapper__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_weekHeaders:{position:"relative"},DayPicker_weekHeaders__horizontal:{marginLeft:a.dayPickerHorizontalPadding},DayPicker_weekHeader:{color:n.placeholderText,position:"absolute",top:62,zIndex:s+2,textAlign:"left"},DayPicker_weekHeader__vertical:{left:"50%"},DayPicker_weekHeader__verticalScrollable:{top:0,display:"table-row",borderBottom:"1px solid "+String(n.core.border),background:n.background,marginLeft:0,left:0,width:"100%",textAlign:"center"},DayPicker_weekHeader_ul:{listStyle:"none",margin:"1px 0",paddingLeft:0,paddingRight:0,fontSize:r.size},DayPicker_weekHeader_li:{display:"inline-block",textAlign:"center"},DayPicker_transitionContainer:{position:"relative",overflow:"hidden",borderRadius:3},DayPicker_transitionContainer__horizontal:{transition:"height 0.2s ease-in-out"},DayPicker_transitionContainer__vertical:{width:"100%"},DayPicker_transitionContainer__verticalScrollable:(0,i.default)({paddingTop:20,height:"100%",position:"absolute",top:0,bottom:0,right:0,left:0,overflowY:"scroll"},o&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}})}}))(z)},600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BOTTOM_RIGHT=t.TOP_RIGHT=t.TOP_LEFT=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=h(n(4011)),a=h(n(9196)),s=h(n(2652)),l=n(4882),u=n(3576),c=n(6030),d=h(n(2893)),f=h(n(5820)),p=h(n(6973));function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=t.TOP_LEFT="top-left",y=t.TOP_RIGHT="top-right",b=t.BOTTOM_RIGHT="bottom-right",w=(0,l.forbidExtraProps)((0,i.default)({},u.withStylesPropTypes,{block:s.default.bool,buttonLocation:s.default.oneOf([g,y,b]),showKeyboardShortcutsPanel:s.default.bool,openKeyboardShortcutsPanel:s.default.func,closeKeyboardShortcutsPanel:s.default.func,phrases:s.default.shape((0,d.default)(c.DayPickerKeyboardShortcutsPhrases))})),_={block:!1,buttonLocation:b,showKeyboardShortcutsPanel:!1,openKeyboardShortcutsPanel:function(){},closeKeyboardShortcutsPanel:function(){},phrases:c.DayPickerKeyboardShortcutsPhrases};function x(e){return[{unicode:"↵",label:e.enterKey,action:e.selectFocusedDate},{unicode:"←/→",label:e.leftArrowRightArrow,action:e.moveFocusByOneDay},{unicode:"↑/↓",label:e.upArrowDownArrow,action:e.moveFocusByOneWeek},{unicode:"PgUp/PgDn",label:e.pageUpPageDown,action:e.moveFocusByOneMonth},{unicode:"Home/End",label:e.homeEnd,action:e.moveFocustoStartAndEndOfWeek},{unicode:"Esc",label:e.escape,action:e.returnFocusToInput},{unicode:"?",label:e.questionMark,action:e.openThisPanel}]}var E=function(e){function t(){var e;m(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=v(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),a=i.props.phrases;return i.keyboardShortcuts=x(a),i.onShowKeyboardShortcutsButtonClick=i.onShowKeyboardShortcutsButtonClick.bind(i),i.setShowKeyboardShortcutsButtonRef=i.setShowKeyboardShortcutsButtonRef.bind(i),i.setHideKeyboardShortcutsButtonRef=i.setHideKeyboardShortcutsButtonRef.bind(i),i.handleFocus=i.handleFocus.bind(i),i.onKeyDown=i.onKeyDown.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.phrases;e.phrases!==t&&(this.keyboardShortcuts=x(e.phrases))}},{key:"componentDidUpdate",value:function(){this.handleFocus()}},{key:"onKeyDown",value:function(e){e.stopPropagation();var t=this.props.closeKeyboardShortcutsPanel;switch(e.key){case"Enter":case" ":case"Spacebar":case"Escape":t();break;case"ArrowUp":case"ArrowDown":default:break;case"Tab":case"Home":case"End":case"PageUp":case"PageDown":case"ArrowLeft":case"ArrowRight":e.preventDefault()}}},{key:"onShowKeyboardShortcutsButtonClick",value:function(){var e=this;(0,this.props.openKeyboardShortcutsPanel)((function(){e.showKeyboardShortcutsButton.focus()}))}},{key:"setShowKeyboardShortcutsButtonRef",value:function(e){this.showKeyboardShortcutsButton=e}},{key:"setHideKeyboardShortcutsButtonRef",value:function(e){this.hideKeyboardShortcutsButton=e}},{key:"handleFocus",value:function(){this.hideKeyboardShortcutsButton&&this.hideKeyboardShortcutsButton.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.block,o=t.buttonLocation,i=t.showKeyboardShortcutsPanel,s=t.closeKeyboardShortcutsPanel,l=t.styles,c=t.phrases,d=i?c.hideKeyboardShortcutsPanel:c.showKeyboardShortcutsPanel,h=o===b,m=o===y,v=o===g;return a.default.createElement("div",null,a.default.createElement("button",r({ref:this.setShowKeyboardShortcutsButtonRef},(0,u.css)(l.DayPickerKeyboardShortcuts_buttonReset,l.DayPickerKeyboardShortcuts_show,h&&l.DayPickerKeyboardShortcuts_show__bottomRight,m&&l.DayPickerKeyboardShortcuts_show__topRight,v&&l.DayPickerKeyboardShortcuts_show__topLeft),{type:"button","aria-label":d,onClick:this.onShowKeyboardShortcutsButtonClick,onKeyDown:function(t){"Enter"===t.key?t.preventDefault():"Space"===t.key&&e.onShowKeyboardShortcutsButtonClick(t)},onMouseUp:function(e){e.currentTarget.blur()}}),a.default.createElement("span",(0,u.css)(l.DayPickerKeyboardShortcuts_showSpan,h&&l.DayPickerKeyboardShortcuts_showSpan__bottomRight,m&&l.DayPickerKeyboardShortcuts_showSpan__topRight,v&&l.DayPickerKeyboardShortcuts_showSpan__topLeft),"?")),i&&a.default.createElement("div",r({},(0,u.css)(l.DayPickerKeyboardShortcuts_panel),{role:"dialog","aria-labelledby":"DayPickerKeyboardShortcuts_title","aria-describedby":"DayPickerKeyboardShortcuts_description"}),a.default.createElement("div",r({},(0,u.css)(l.DayPickerKeyboardShortcuts_title),{id:"DayPickerKeyboardShortcuts_title"}),c.keyboardShortcuts),a.default.createElement("button",r({ref:this.setHideKeyboardShortcutsButtonRef},(0,u.css)(l.DayPickerKeyboardShortcuts_buttonReset,l.DayPickerKeyboardShortcuts_close),{type:"button",tabIndex:"0","aria-label":c.hideKeyboardShortcutsPanel,onClick:s,onKeyDown:this.onKeyDown}),a.default.createElement(p.default,(0,u.css)(l.DayPickerKeyboardShortcuts_closeSvg))),a.default.createElement("ul",r({},(0,u.css)(l.DayPickerKeyboardShortcuts_list),{id:"DayPickerKeyboardShortcuts_description"}),this.keyboardShortcuts.map((function(e){var t=e.unicode,r=e.label,o=e.action;return a.default.createElement(f.default,{key:r,unicode:t,label:r,action:o,block:n})})))))}}]),t}(a.default.Component);E.propTypes=w,E.defaultProps=_,t.default=(0,u.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.zIndex;return{DayPickerKeyboardShortcuts_buttonReset:{background:"none",border:0,borderRadius:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",padding:0,cursor:"pointer",fontSize:r.size,":active":{outline:"none"}},DayPickerKeyboardShortcuts_show:{width:22,position:"absolute",zIndex:o+2},DayPickerKeyboardShortcuts_show__bottomRight:{borderTop:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),bottom:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topRight:{borderBottom:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),top:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topLeft:{borderBottom:"26px solid transparent",borderLeft:"33px solid "+String(n.core.primary),top:0,left:0,":hover":{borderLeft:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_showSpan:{color:n.core.white,position:"absolute"},DayPickerKeyboardShortcuts_showSpan__bottomRight:{bottom:0,right:-28},DayPickerKeyboardShortcuts_showSpan__topRight:{top:1,right:-28},DayPickerKeyboardShortcuts_showSpan__topLeft:{top:1,left:-28},DayPickerKeyboardShortcuts_panel:{overflow:"auto",background:n.background,border:"1px solid "+String(n.core.border),borderRadius:2,position:"absolute",top:0,bottom:0,right:0,left:0,zIndex:o+2,padding:22,margin:33},DayPickerKeyboardShortcuts_title:{fontSize:16,fontWeight:"bold",margin:0},DayPickerKeyboardShortcuts_list:{listStyle:"none",padding:0,fontSize:r.size},DayPickerKeyboardShortcuts_close:{position:"absolute",right:22,top:22,zIndex:o+2,":active":{outline:"none"}},DayPickerKeyboardShortcuts_closeSvg:{height:15,width:15,fill:n.core.grayLighter,":hover":{fill:n.core.grayLight},":focus":{fill:n.core.grayLight}}}}))(E)},3895:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=g(n(4011)),i=g(n(9196)),a=g(n(2652)),s=n(4882),l=n(3576),u=n(6030),c=g(n(2893)),d=g(n(8)),f=g(n(4921)),p=g(n(1809)),h=g(n(9588)),m=g(n(6553)),v=n(257);function g(e){return e&&e.__esModule?e:{default:e}}function y(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var b=(0,s.forbidExtraProps)((0,o.default)({},l.withStylesPropTypes,{navPrev:a.default.node,navNext:a.default.node,orientation:m.default,onPrevMonthClick:a.default.func,onNextMonthClick:a.default.func,phrases:a.default.shape((0,c.default)(u.DayPickerNavigationPhrases)),isRTL:a.default.bool})),w={navPrev:null,navNext:null,orientation:v.HORIZONTAL_ORIENTATION,onPrevMonthClick:function(){},onNextMonthClick:function(){},phrases:u.DayPickerNavigationPhrases,isRTL:!1};function _(e){var t=e.navPrev,n=e.navNext,o=e.onPrevMonthClick,a=e.onNextMonthClick,s=e.orientation,u=e.phrases,c=e.isRTL,m=e.styles,g=s===v.HORIZONTAL_ORIENTATION,b=s!==v.HORIZONTAL_ORIENTATION,w=s===v.VERTICAL_SCROLLABLE,_=t,x=n,E=!1,k=!1;if(!_){E=!0;var S=b?p.default:d.default;c&&!b&&(S=f.default),_=i.default.createElement(S,(0,l.css)(g&&m.DayPickerNavigation_svg__horizontal,b&&m.DayPickerNavigation_svg__vertical))}if(!x){k=!0;var C=b?h.default:f.default;c&&!b&&(C=d.default),x=i.default.createElement(C,(0,l.css)(g&&m.DayPickerNavigation_svg__horizontal,b&&m.DayPickerNavigation_svg__vertical))}var P=w?k:k||E;return i.default.createElement("div",l.css.apply(void 0,[m.DayPickerNavigation,g&&m.DayPickerNavigation__horizontal].concat(y(b&&[m.DayPickerNavigation__vertical,P&&m.DayPickerNavigation__verticalDefault]),y(w&&[m.DayPickerNavigation__verticalScrollable,P&&m.DayPickerNavigation__verticalScrollableDefault]))),!w&&i.default.createElement("div",r({role:"button",tabIndex:"0"},l.css.apply(void 0,[m.DayPickerNavigation_button,E&&m.DayPickerNavigation_button__default].concat(y(g&&[m.DayPickerNavigation_button__horizontal].concat(y(E&&[m.DayPickerNavigation_button__horizontalDefault,!c&&m.DayPickerNavigation_leftButton__horizontalDefault,c&&m.DayPickerNavigation_rightButton__horizontalDefault]))),y(b&&[m.DayPickerNavigation_button__vertical].concat(y(E&&[m.DayPickerNavigation_button__verticalDefault,m.DayPickerNavigation_prevButton__verticalDefault]))))),{"aria-label":u.jumpToPrevMonth,onClick:o,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||o(e)},onMouseUp:function(e){e.currentTarget.blur()}}),_),i.default.createElement("div",r({role:"button",tabIndex:"0"},l.css.apply(void 0,[m.DayPickerNavigation_button,k&&m.DayPickerNavigation_button__default].concat(y(g&&[m.DayPickerNavigation_button__horizontal].concat(y(k&&[m.DayPickerNavigation_button__horizontalDefault,c&&m.DayPickerNavigation_leftButton__horizontalDefault,!c&&m.DayPickerNavigation_rightButton__horizontalDefault]))),y(b&&[m.DayPickerNavigation_button__vertical,m.DayPickerNavigation_nextButton__vertical].concat(y(k&&[m.DayPickerNavigation_button__verticalDefault,m.DayPickerNavigation_nextButton__verticalDefault,w&&m.DayPickerNavigation_nextButton__verticalScrollableDefault]))))),{"aria-label":u.jumpToNextMonth,onClick:a,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||a(e)},onMouseUp:function(e){e.currentTarget.blur()}}),x))}_.propTypes=b,_.defaultProps=w,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.color;return{DayPickerNavigation:{position:"relative",zIndex:t.zIndex+2},DayPickerNavigation__horizontal:{height:0},DayPickerNavigation__vertical:{},DayPickerNavigation__verticalScrollable:{},DayPickerNavigation__verticalDefault:{position:"absolute",width:"100%",height:52,bottom:0,left:0},DayPickerNavigation__verticalScrollableDefault:{position:"relative"},DayPickerNavigation_button:{cursor:"pointer",userSelect:"none",border:0,padding:0,margin:0},DayPickerNavigation_button__default:{border:"1px solid "+String(n.core.borderLight),backgroundColor:n.background,color:n.placeholderText,":focus":{border:"1px solid "+String(n.core.borderMedium)},":hover":{border:"1px solid "+String(n.core.borderMedium)},":active":{background:n.backgroundDark}},DayPickerNavigation_button__horizontal:{},DayPickerNavigation_button__horizontalDefault:{position:"absolute",top:18,lineHeight:.78,borderRadius:3,padding:"6px 9px"},DayPickerNavigation_leftButton__horizontalDefault:{left:22},DayPickerNavigation_rightButton__horizontalDefault:{right:22},DayPickerNavigation_button__vertical:{},DayPickerNavigation_button__verticalDefault:{padding:5,background:n.background,boxShadow:"0 0 5px 2px rgba(0, 0, 0, 0.1)",position:"relative",display:"inline-block",height:"100%",width:"50%"},DayPickerNavigation_prevButton__verticalDefault:{},DayPickerNavigation_nextButton__verticalDefault:{borderLeft:0},DayPickerNavigation_nextButton__verticalScrollableDefault:{width:"100%"},DayPickerNavigation_svg__horizontal:{height:19,width:19,fill:n.core.grayLight,display:"block"},DayPickerNavigation_svg__vertical:{height:42,width:42,fill:n.text,display:"block"}}}))(_)},6302:function(e,t,n){"use strict";var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=C(n(4011)),a=C(n(9196)),s=C(n(2652)),l=C(n(6150)),u=n(4882),c=C(n(6292)),d=C(n(5861)),f=C(n(5834)),p=n(6030),h=C(n(2893)),m=C(n(3923)),v=C(n(7365)),g=C(n(3268)),y=C(n(5713)),b=C(n(7310)),w=C(n(2705)),_=C(n(6553)),x=C(n(243)),E=C(n(8182)),k=n(257),S=C(n(8665));function C(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=(0,u.forbidExtraProps)({date:l.default.momentObj,onDateChange:s.default.func,focused:s.default.bool,onFocusChange:s.default.func,onClose:s.default.func,keepOpenOnDateSelect:s.default.bool,isOutsideRange:s.default.func,isDayBlocked:s.default.func,isDayHighlighted:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:_.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:x.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:u.nonNegativeInteger,verticalHeight:u.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:u.nonNegativeInteger,transitionDuration:u.nonNegativeInteger,horizontalMonthPadding:u.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onOutsideClick:s.default.func,renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderCalendarInfo:s.default.func,calendarInfoPosition:E.default,onBlur:s.default.func,isFocused:s.default.bool,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,h.default)(p.DayPickerPhrases)),dayAriaLabelFormat:s.default.string,isRTL:s.default.bool}),M={date:void 0,onDateChange:function(){},focused:!1,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:k.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,firstDayOfWeek:null,daySize:k.DAY_SIZE,verticalHeight:null,noBorder:!1,verticalBorderSpacing:void 0,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:k.INFO_POSITION_BOTTOM,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:p.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},T=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.isTouchDevice=!1,n.today=(0,c.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},hovered:function(e){return n.isHovered(e)},selected:function(e){return n.isSelected(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,i=r.visibleDays;return n.state={hoverDate:null,currentMonth:o,visibleDays:i},n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onDayClick=n.onDayClick.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.isTouchDevice=(0,f.default)()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.date,r=e.focused,o=e.isOutsideRange,a=e.isDayBlocked,s=e.isDayHighlighted,l=e.initialVisibleMonth,u=e.numberOfMonths,f=e.enableOutsideDays,p=this.props,h=p.isOutsideRange,v=p.isDayBlocked,g=p.isDayHighlighted,y=p.numberOfMonths,b=p.enableOutsideDays,w=p.initialVisibleMonth,_=p.focused,x=p.date,E=this.state.visibleDays,k=!1,S=!1,C=!1;o!==h&&(this.modifiers["blocked-out-of-range"]=function(e){return o(e)},k=!0),a!==v&&(this.modifiers["blocked-calendar"]=function(e){return a(e)},S=!0),s!==g&&(this.modifiers["highlighted-calendar"]=function(e){return s(e)},C=!0);var P=k||S||C;if(u!==y||f!==b||l!==w&&!_&&r){var O=this.getStateForNewMonth(e),M=O.currentMonth;E=O.visibleDays,this.setState({currentMonth:M,visibleDays:E})}var T=r!==_,D={};n!==x&&(D=this.deleteModifier(D,x,"selected"),D=this.addModifier(D,n,"selected")),(T||P)&&(0,d.default)(E).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,c.default)(e);D=t.isBlocked(n)?t.addModifier(D,n,"blocked"):t.deleteModifier(D,n,"blocked"),(T||k)&&(D=o(n)?t.addModifier(D,n,"blocked-out-of-range"):t.deleteModifier(D,n,"blocked-out-of-range")),(T||S)&&(D=a(n)?t.addModifier(D,n,"blocked-calendar"):t.deleteModifier(D,n,"blocked-calendar")),(T||C)&&(D=s(n)?t.addModifier(D,n,"highlighted-calendar"):t.deleteModifier(D,n,"highlighted-calendar"))}))}));var I=(0,c.default)();(0,m.default)(this.today,I)||(D=this.deleteModifier(D,this.today,"today"),D=this.addModifier(D,I,"today"),this.today=I),Object.keys(D).length>0&&this.setState({visibleDays:(0,i.default)({},E,D)})}},{key:"componentWillUpdate",value:function(){this.today=(0,c.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,i=n.onFocusChange,a=n.onClose;r(e),o||(i({focused:!1}),a({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,i.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,i.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,l={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){l[e]=s[e]}));var u=a.clone().subtract(1,"month"),c=(0,g.default)(u,1,r);this.setState({currentMonth:u,visibleDays:(0,i.default)({},l,this.getModifiers(c))},(function(){t(u.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,l={};Object.keys(s).sort().slice(1).forEach((function(e){l[e]=s[e]}));var u=a.clone().add(n,"month"),c=(0,g.default)(u,1,r),d=a.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},l,this.getModifiers(c))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===k.VERTICAL_SCROLLABLE,i=(0,g.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===k.VERTICAL_SCROLLABLE,i=(0,g.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,i=n.numberOfMonths,a=e.clone().startOf("month");if(o&&(a=o.clone()),this.isBlocked(a)){for(var s=[],l=e.clone().add(i-1,"months").endOf("month"),u=a.clone();!(0,v.default)(u,l);)u=u.clone().add(1,"day"),s.push(u);var c=s.filter((function(e){return!t.isBlocked(e)&&(0,v.default)(e,a)}));if(c.length>0){var d=r(c,1);a=d[0]}}return a}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,b.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,i=e.enableOutsideDays,a=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:a,visibleDays:this.getModifiers((0,g.default)(a,o,i))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,l=this.state,u=l.currentMonth,c=l.visibleDays,d=u,f=o;if(s===k.VERTICAL_SCROLLABLE?f=Object.keys(c).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,y.default)(t,d,f,a))return e;var p=(0,b.default)(t),h=(0,i.default)({},e);if(a)h=Object.keys(c).filter((function(e){return Object.keys(c[e]).indexOf(p)>-1})).reduce((function(t,r){var o=e[r]||c[r],a=new Set(o[p]);return a.add(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},p,a))))}),h);else{var m=(0,w.default)(t),v=e[m]||c[m],g=new Set(v[p]);g.add(n),h=(0,i.default)({},h,P({},m,(0,i.default)({},v,P({},p,g))))}return h}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,l=this.state,u=l.currentMonth,c=l.visibleDays,d=u,f=o;if(s===k.VERTICAL_SCROLLABLE?f=Object.keys(c).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,y.default)(t,d,f,a))return e;var p=(0,b.default)(t),h=(0,i.default)({},e);if(a)h=Object.keys(c).filter((function(e){return Object.keys(c[e]).indexOf(p)>-1})).reduce((function(t,r){var o=e[r]||c[r],a=new Set(o[p]);return a.delete(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},p,a))))}),h);else{var m=(0,w.default)(t),v=e[m]||c[m],g=new Set(v[p]);g.delete(n),h=(0,i.default)({},h,P({},m,(0,i.default)({},v,P({},p,g))))}return h}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,m.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,m.default)(e,t)}},{key:"isToday",value:function(e){return(0,m.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||c.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||c.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.navPrev,s=e.navNext,l=e.onOutsideClick,u=e.withPortal,c=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,p=e.daySize,h=e.firstDayOfWeek,m=e.renderCalendarDay,v=e.renderDayContents,g=e.renderCalendarInfo,y=e.renderMonthElement,b=e.calendarInfoPosition,w=e.isFocused,_=e.isRTL,x=e.phrases,E=e.dayAriaLabelFormat,k=e.onBlur,C=e.showKeyboardShortcuts,P=e.weekDayFormat,O=e.verticalHeight,M=e.noBorder,T=e.transitionDuration,D=e.verticalBorderSpacing,I=e.horizontalMonthPadding,A=this.state,R=A.currentMonth,N=A.visibleDays;return a.default.createElement(S.default,{orientation:n,enableOutsideDays:d,modifiers:N,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:u,hidden:!c,hideKeyboardShortcutsPanel:f,initialVisibleMonth:function(){return R},firstDayOfWeek:h,onOutsideClick:l,navPrev:i,navNext:s,renderMonthText:o,renderCalendarDay:m,renderDayContents:v,renderCalendarInfo:g,renderMonthElement:y,calendarInfoPosition:b,isFocused:w,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:k,phrases:x,daySize:p,isRTL:_,showKeyboardShortcuts:C,weekDayFormat:P,dayAriaLabelFormat:E,verticalHeight:O,noBorder:M,transitionDuration:T,verticalBorderSpacing:D,horizontalMonthPadding:I})}}]),t}(a.default.Component);t.Z=T,T.propTypes=O,T.defaultProps=M},5820:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=u(n(4011)),i=u(n(9196)),a=u(n(2652)),s=n(4882),l=n(3576);function u(e){return e&&e.__esModule?e:{default:e}}var c=(0,s.forbidExtraProps)((0,o.default)({},l.withStylesPropTypes,{unicode:a.default.string.isRequired,label:a.default.string.isRequired,action:a.default.string.isRequired,block:a.default.bool}));function d(e){var t=e.unicode,n=e.label,o=e.action,a=e.block,s=e.styles;return i.default.createElement("li",(0,l.css)(s.KeyboardShortcutRow,a&&s.KeyboardShortcutRow__block),i.default.createElement("div",(0,l.css)(s.KeyboardShortcutRow_keyContainer,a&&s.KeyboardShortcutRow_keyContainer__block),i.default.createElement("span",r({},(0,l.css)(s.KeyboardShortcutRow_key),{role:"img","aria-label":String(n)+","}),t)),i.default.createElement("div",(0,l.css)(s.KeyboardShortcutRow_action),o))}d.propTypes=c,d.defaultProps={block:!1},t.default=(0,l.withStyles)((function(e){return{KeyboardShortcutRow:{listStyle:"none",margin:"6px 0"},KeyboardShortcutRow__block:{marginBottom:16},KeyboardShortcutRow_keyContainer:{display:"inline-block",whiteSpace:"nowrap",textAlign:"right",marginRight:6},KeyboardShortcutRow_keyContainer__block:{textAlign:"left",display:"inline"},KeyboardShortcutRow_key:{fontFamily:"monospace",fontSize:12,textTransform:"uppercase",background:e.reactDates.color.core.grayLightest,padding:"2px 6px"},KeyboardShortcutRow_action:{display:"inline",wordBreak:"break-word",marginLeft:8}}}))(d)},8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(9196),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},4921:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(9196),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},257:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},6030:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="Calendar",r="Close",o="Interact with the calendar and add the check-in date for your trip.",i="Clear Date",a="Clear Dates",s="Move backward to switch to the previous month.",l="Move forward to switch to the next month.",u="Keyboard Shortcuts",c="Open the keyboard shortcuts panel.",d="Close the shortcuts panel.",f="Open this panel.",p="Enter key",h="Right and left arrow keys",m="up and down arrow keys",v="page up and page down keys",g="Home and end keys",y="Escape key",b="Question mark",w="Select the date in focus.",_="Move backward (left) and forward (right) by one day.",x="Move backward (up) and forward (down) by one week.",E="Switch months.",k="Go to the first or last day of a week.",S="Return to the date input field.",C="Press the down arrow key to interact with the calendar and\n  select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",P=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},O=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},M=function(e){return e.date},T=function(e){var t=e.date;return"Not available. "+String(t)},D=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:n,closeDatePicker:r,focusStartDate:o,clearDate:i,clearDates:a,jumpToPrevMonth:s,jumpToNextMonth:l,keyboardShortcuts:u,showKeyboardShortcutsPanel:c,hideKeyboardShortcutsPanel:d,openThisPanel:f,enterKey:p,leftArrowRightArrow:h,upArrowDownArrow:m,pageUpPageDown:v,homeEnd:g,escape:y,questionMark:b,selectFocusedDate:w,moveFocusByOneDay:_,moveFocusByOneWeek:x,moveFocusByOneMonth:E,moveFocustoStartAndEndOfWeek:k,returnFocusToInput:S,keyboardNavigationInstructions:C,chooseAvailableStartDate:P,chooseAvailableEndDate:O,dateIsUnavailable:T,dateIsSelected:D};t.DateRangePickerPhrases={calendarLabel:n,closeDatePicker:r,clearDates:a,focusStartDate:o,jumpToPrevMonth:s,jumpToNextMonth:l,keyboardShortcuts:u,showKeyboardShortcutsPanel:c,hideKeyboardShortcutsPanel:d,openThisPanel:f,enterKey:p,leftArrowRightArrow:h,upArrowDownArrow:m,pageUpPageDown:v,homeEnd:g,escape:y,questionMark:b,selectFocusedDate:w,moveFocusByOneDay:_,moveFocusByOneWeek:x,moveFocusByOneMonth:E,moveFocustoStartAndEndOfWeek:k,returnFocusToInput:S,keyboardNavigationInstructions:C,chooseAvailableStartDate:P,chooseAvailableEndDate:O,dateIsUnavailable:T,dateIsSelected:D},t.DateRangePickerInputPhrases={focusStartDate:o,clearDates:a,keyboardNavigationInstructions:C},t.SingleDatePickerPhrases={calendarLabel:n,closeDatePicker:r,clearDate:i,jumpToPrevMonth:s,jumpToNextMonth:l,keyboardShortcuts:u,showKeyboardShortcutsPanel:c,hideKeyboardShortcutsPanel:d,openThisPanel:f,enterKey:p,leftArrowRightArrow:h,upArrowDownArrow:m,pageUpPageDown:v,homeEnd:g,escape:y,questionMark:b,selectFocusedDate:w,moveFocusByOneDay:_,moveFocusByOneWeek:x,moveFocusByOneMonth:E,moveFocustoStartAndEndOfWeek:k,returnFocusToInput:S,keyboardNavigationInstructions:C,chooseAvailableDate:M,dateIsUnavailable:T,dateIsSelected:D},t.SingleDatePickerInputPhrases={clearDate:i,keyboardNavigationInstructions:C},t.DayPickerPhrases={calendarLabel:n,jumpToPrevMonth:s,jumpToNextMonth:l,keyboardShortcuts:u,showKeyboardShortcutsPanel:c,hideKeyboardShortcutsPanel:d,openThisPanel:f,enterKey:p,leftArrowRightArrow:h,upArrowDownArrow:m,pageUpPageDown:v,homeEnd:g,escape:y,questionMark:b,selectFocusedDate:w,moveFocusByOneDay:_,moveFocusByOneWeek:x,moveFocusByOneMonth:E,moveFocustoStartAndEndOfWeek:k,returnFocusToInput:S,chooseAvailableStartDate:P,chooseAvailableEndDate:O,chooseAvailableDate:M,dateIsUnavailable:T,dateIsSelected:D},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:u,showKeyboardShortcutsPanel:c,hideKeyboardShortcutsPanel:d,openThisPanel:f,enterKey:p,leftArrowRightArrow:h,upArrowDownArrow:m,pageUpPageDown:v,homeEnd:g,escape:y,questionMark:b,selectFocusedDate:w,moveFocusByOneDay:_,moveFocusByOneWeek:x,moveFocusByOneMonth:E,moveFocustoStartAndEndOfWeek:k,returnFocusToInput:S},t.DayPickerNavigationPhrases={jumpToPrevMonth:s,jumpToNextMonth:l},t.CalendarDayPhrases={chooseAvailableDate:M,dateIsUnavailable:T,dateIsSelected:D}},17:function(e,t,n){"use strict";var r,o=n(9305);(0,((r=o)&&r.__esModule?r:{default:r}).default)()},8182:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2652),i=(r=o)&&r.__esModule?r:{default:r},a=n(257);t.default=i.default.oneOf([a.INFO_POSITION_TOP,a.INFO_POSITION_BOTTOM,a.INFO_POSITION_BEFORE,a.INFO_POSITION_AFTER])},243:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2652),i=(r=o)&&r.__esModule?r:{default:r},a=n(257);t.default=i.default.oneOf(a.WEEKDAYS)},6747:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2652),i=(r=o)&&r.__esModule?r:{default:r},a=n(4882);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=(0,a.and)([i.default.instanceOf(Set),function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=e[t],u=void 0;return[].concat(l(a)).some((function(e,n){var o,a=String(t)+": index "+String(n);return null!=(u=(o=i.default.string).isRequired.apply(o,[s({},a,e),a].concat(r)))})),null==u?null:u}],"Modifiers (Set of Strings)")},6553:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2652),i=(r=o)&&r.__esModule?r:{default:r},a=n(257);t.default=i.default.oneOf([a.HORIZONTAL_ORIENTATION,a.VERTICAL_ORIENTATION,a.VERTICAL_SCROLLABLE])},8158:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={white:"#fff",gray:"#484848",grayLight:"#82888a",grayLighter:"#cacccd",grayLightest:"#f2f2f2",borderMedium:"#c4c4c4",border:"#dbdbdb",borderLight:"#e4e7e7",borderLighter:"#eceeee",borderBright:"#f4f5f5",primary:"#00a699",primaryShade_1:"#33dacd",primaryShade_2:"#66e2da",primaryShade_3:"#80e8e0",primaryShade_4:"#b2f1ec",primary_dark:"#008489",secondary:"#007a87",yellow:"#ffe8bc",yellow_dark:"#ffce71"};t.default={reactDates:{zIndex:0,border:{input:{border:0,borderTop:0,borderRight:0,borderBottom:"2px solid transparent",borderLeft:0,outlineFocused:0,borderFocused:0,borderTopFocused:0,borderLeftFocused:0,borderBottomFocused:"2px solid "+String(n.primary_dark),borderRightFocused:0,borderRadius:0},pickerInput:{borderWidth:1,borderStyle:"solid",borderRadius:2}},color:{core:n,disabled:n.grayLightest,background:n.white,backgroundDark:"#f2f2f2",backgroundFocused:n.white,border:"rgb(219, 219, 219)",text:n.gray,textDisabled:n.border,textFocused:"#007a87",placeholderText:"#757575",outside:{backgroundColor:n.white,backgroundColor_active:n.white,backgroundColor_hover:n.white,color:n.gray,color_active:n.gray,color_hover:n.gray},highlighted:{backgroundColor:n.yellow,backgroundColor_active:n.yellow_dark,backgroundColor_hover:n.yellow_dark,color:n.gray,color_active:n.gray,color_hover:n.gray},minimumNights:{backgroundColor:n.white,backgroundColor_active:n.white,backgroundColor_hover:n.white,borderColor:n.borderLighter,color:n.grayLighter,color_active:n.grayLighter,color_hover:n.grayLighter},hoveredSpan:{backgroundColor:n.primaryShade_4,backgroundColor_active:n.primaryShade_3,backgroundColor_hover:n.primaryShade_4,borderColor:n.primaryShade_3,borderColor_active:n.primaryShade_3,borderColor_hover:n.primaryShade_3,color:n.secondary,color_active:n.secondary,color_hover:n.secondary},selectedSpan:{backgroundColor:n.primaryShade_2,backgroundColor_active:n.primaryShade_1,backgroundColor_hover:n.primaryShade_1,borderColor:n.primaryShade_1,borderColor_active:n.primary,borderColor_hover:n.primary,color:n.white,color_active:n.white,color_hover:n.white},selected:{backgroundColor:n.primary,backgroundColor_active:n.primary,backgroundColor_hover:n.primary,borderColor:n.primary,borderColor_active:n.primary,borderColor_hover:n.primary,color:n.white,color_active:n.white,color_hover:n.white},blocked_calendar:{backgroundColor:n.grayLighter,backgroundColor_active:n.grayLighter,backgroundColor_hover:n.grayLighter,borderColor:n.grayLighter,borderColor_active:n.grayLighter,borderColor_hover:n.grayLighter,color:n.grayLight,color_active:n.grayLight,color_hover:n.grayLight},blocked_out_of_range:{backgroundColor:n.white,backgroundColor_active:n.white,backgroundColor_hover:n.white,borderColor:n.borderLight,borderColor_active:n.borderLight,borderColor_hover:n.borderLight,color:n.grayLighter,color_active:n.grayLighter,color_hover:n.grayLighter}},spacing:{dayPickerHorizontalPadding:9,captionPaddingTop:22,captionPaddingBottom:37,inputPadding:0,displayTextPaddingVertical:void 0,displayTextPaddingTop:11,displayTextPaddingBottom:9,displayTextPaddingHorizontal:void 0,displayTextPaddingLeft:11,displayTextPaddingRight:11,displayTextPaddingVertical_small:void 0,displayTextPaddingTop_small:7,displayTextPaddingBottom_small:5,displayTextPaddingHorizontal_small:void 0,displayTextPaddingLeft_small:7,displayTextPaddingRight_small:7},sizing:{inputWidth:130,inputWidth_small:97,arrowWidth:24},noScrollBarOnVerticalScrollable:!1,font:{size:14,captionSize:18,input:{size:19,lineHeight:"24px",size_small:15,lineHeight_small:"18px",letterSpacing_small:"0.2px",styleDisabled:"italic"}}}}},8607:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",i="width"===t?"Right":"Bottom",a=!n||r?window.getComputedStyle(e):null,s=e.offsetWidth,l=e.offsetHeight,u="width"===t?s:l;n||(u-=parseFloat(a["padding"+o])+parseFloat(a["padding"+i])+parseFloat(a["border"+o+"Width"])+parseFloat(a["border"+i+"Width"]));r&&(u+=parseFloat(a["margin"+o])+parseFloat(a["margin"+i]));return u}},5814:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},7475:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){var s=o.chooseAvailableDate,l=o.dateIsUnavailable,u=o.dateIsSelected,c={width:n,height:n-1},d=r.has("blocked-minimum-nights")||r.has("blocked-calendar")||r.has("blocked-out-of-range"),f=r.has("selected")||r.has("selected-start")||r.has("selected-end"),p=!f&&(r.has("hovered-span")||r.has("after-hovered-start")),h=r.has("blocked-out-of-range"),m={date:e.format(t)},v=(0,i.default)(s,m);r.has(a.BLOCKED_MODIFIER)?v=(0,i.default)(l,m):f&&(v=(0,i.default)(u,m));return{daySizeStyles:c,useDefaultCursor:d,selected:f,hoveredSpan:p,isOutsideRange:h,ariaLabel:v}};var r,o=n(7098),i=(r=o)&&r.__esModule?r:{default:r},a=n(257)},5644:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.default.localeData().firstDayOfWeek();if(!i.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===a.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),o=e.clone().endOf("month").hour(12),s=(r.day()+7-n)%7,l=(n+6-o.day())%7,u=r.clone().subtract(s,"day"),c=o.clone().add(l,"day"),d=c.diff(u,"days")+1,f=u.clone(),p=[],h=0;h<d;h+=1){h%7==0&&p.push([]);var m=null;(h>=s&&h<d-l||t)&&(m=f.clone()),p[p.length-1].push(m),f.add(1,"day")}return p};var r,o=n(6292),i=(r=o)&&r.__esModule?r:{default:r},a=n(257)},8964:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 7*e+2*t+1}},4112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.default.localeData().firstDayOfWeek(),n=e.clone().startOf("month"),r=a(n,t);return Math.ceil((r+e.daysInMonth())/7)};var r,o=n(6292),i=(r=o)&&r.__esModule?r:{default:r};function a(e,t){return(e.day()-t+7)%7}},7098:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},2893:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=i(n(4011)),o=i(n(2652));function i(e){return e&&e.__esModule?e:{default:e}}},8304:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{transform:e,msTransform:e,MozTransform:e,WebkitTransform:e}}},3268:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){if(!r.default.isMoment(e))return{};for(var a={},s=i?e.clone():e.clone().subtract(1,"month"),l=0;l<(i?t:t+2);l+=1){var u=[],c=s.clone(),d=c.clone().startOf("month").hour(12),f=c.clone().endOf("month").hour(12),p=d.clone();if(n)for(var h=0;h<p.weekday();h+=1){var m=p.clone().subtract(h+1,"day");u.unshift(m)}for(;p<f;)u.push(p.clone()),p.add(1,"day");if(n&&0!==p.weekday())for(var v=p.weekday(),g=0;v<7;v+=1,g+=1){var y=p.clone().add(g,"day");u.push(y)}a[(0,o.default)(s)]=u,s=s.clone().add(1,"month")}return a};var r=i(n(6292)),o=i(n(2705));function i(e){return e&&e.__esModule?e:{default:e}}},7365:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(!(0,o.default)(e,t)&&!(0,i.default)(e,t))};var r=a(n(6292)),o=a(n(862)),i=a(n(3923));function a(e){return e&&e.__esModule?e:{default:e}}},862:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!i.default.isMoment(e)||!i.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),a=t.month(),s=n===o,l=r===a;return s&&l?e.date()<t.date():s?r<a:n<o};var r,o=n(6292),i=(r=o)&&r.__esModule?r:{default:r}},5713:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=t.clone().startOf("month");i&&(a=a.startOf("week"));if((0,r.default)(e,a))return!1;var s=t.clone().add(n-1,"months").endOf("month");i&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=i(n(862)),o=i(n(7365));function i(e){return e&&e.__esModule?e:{default:e}}},1310:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().add(1,"month"),t)};var r=i(n(6292)),o=i(n(4669));function i(e){return e&&e.__esModule?e:{default:e}}},3858:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().subtract(1,"month"),t)};var r=i(n(6292)),o=i(n(4669));function i(e){return e&&e.__esModule?e:{default:e}}},3923:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year())};var r,o=n(6292),i=(r=o)&&r.__esModule?r:{default:r}},4669:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.month()===t.month()&&e.year()===t.year())};var r,o=n(6292),i=(r=o)&&r.__esModule?r:{default:r}},7978:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("TransitionEvent"in window))}},9305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,o.default)(r.default)};var r=i(n(5553)),o=i(n(1980));function i(e){return e&&e.__esModule?e:{default:e}}},1980:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r.default.registerInterface(e),r.default.registerTheme(o.default)};var r=i(n(9349)),o=i(n(8158));function i(e){return e&&e.__esModule?e:{default:e}}},7310:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_FORMAT):null};var r=a(n(6292)),o=a(n(2008)),i=n(257);function a(e){return e&&e.__esModule?e:{default:e}}},2705:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_MONTH_FORMAT):null};var r=a(n(6292)),o=a(n(2008)),i=n(257);function a(e){return e&&e.__esModule?e:{default:e}}},2008:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,a.DISPLAY_FORMAT,a.ISO_FORMAT]:[a.DISPLAY_FORMAT,a.ISO_FORMAT],r=(0,i.default)(e,n,!0);return r.isValid()?r.hour(12):null};var r,o=n(6292),i=(r=o)&&r.__esModule?r:{default:r},a=n(257)},4821:function(e,t){"use strict";
+/** @license React v16.13.1
+ * react-is.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return _(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||_(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===v},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=_},338:function(e,t,n){"use strict";e.exports=n(4821)},9217:function(e){var t={invalidPredicate:"`predicate` must be a function",invalidPropValidator:"`propValidator` must be a function",requiredCore:"is marked as required",invalidTypeCore:"Invalid input type",predicateFailureCore:"Failed to succeed with predicate",anonymousMessage:"<<anonymous>>",baseInvalidMessage:"Invalid "};function n(e){if("function"!=typeof e)throw new Error(t.invalidPropValidator);var n=e.bind(null,!1,null);return n.isRequired=e.bind(null,!0,null),n.withPredicate=function(n){if("function"!=typeof n)throw new Error(t.invalidPredicate);var r=e.bind(null,!1,n);return r.isRequired=e.bind(null,!0,n),r},n}function r(e,n,r){return new Error("The prop `"+e+"` "+t.requiredCore+" in `"+n+"`, but its value is `"+r+"`.")}e.exports={constructPropValidatorVariations:n,createMomentChecker:function(e,o,i,a){return n((function(n,s,l,u,c,d,f){var p=l[u],h=typeof p,m=function(e,t,n,o){var i=void 0===o,a=null===o;if(e){if(i)return r(n,t,"undefined");if(a)return r(n,t,"null")}return i||a?null:-1}(n,c=c||t.anonymousMessage,f=f||u,p);if(-1!==m)return m;if(o&&!o(p))return new Error(t.invalidTypeCore+": `"+u+"` of type `"+h+"` supplied to `"+c+"`, expected `"+e+"`.");if(!i(p))return new Error(t.baseInvalidMessage+d+" `"+u+"` of type `"+h+"` supplied to `"+c+"`, expected `"+a+"`.");if(s&&!s(p)){var v=s.name||t.anonymousMessage;return new Error(t.baseInvalidMessage+d+" `"+u+"` of type `"+h+"` supplied to `"+c+"`. "+t.predicateFailureCore+" `"+v+"`.")}return null}))},messages:t}},6150:function(e,t,n){var r=n(6292),o=n(3416),i=n(9217);e.exports={momentObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:i.createMomentChecker("string",(function(e){return"string"==typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return r.isDuration(e)}),"Duration")}},3416:function(e,t,n){var r=n(6292);e.exports={isValidMoment:function(e){return!("function"==typeof r.isMoment&&!r.isMoment(e))&&("function"==typeof e.isValid?e.isValid():!isNaN(e))}}},2239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(9196)),i=c(n(2652)),a=n(4882),s=n(8495),l=c(n(5861)),u=c(n(6789));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var p={BLOCK:"block",FLEX:"flex",INLINE:"inline",INLINE_BLOCK:"inline-block",CONTENTS:"contents"},h=(0,a.forbidExtraProps)({children:i.default.node.isRequired,onOutsideClick:i.default.func.isRequired,disabled:i.default.bool,useCapture:i.default.bool,display:i.default.oneOf((0,l.default)(p))}),m={disabled:!1,useCapture:!0,display:p.BLOCK},v=function(e){function t(){var e;d(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.onMouseDown=i.onMouseDown.bind(i),i.onMouseUp=i.onMouseUp.bind(i),i.setChildNodeRef=i.setChildNodeRef.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.disabled,n=e.useCapture;t||this.addMouseDownEventListener(n)}},{key:"componentDidUpdate",value:function(e){var t=e.disabled,n=this.props,r=n.disabled,o=n.useCapture;t!==r&&(r?this.removeEventListeners():this.addMouseDownEventListener(o))}},{key:"componentWillUnmount",value:function(){this.removeEventListeners()}},{key:"onMouseDown",value:function(e){var t=this.props.useCapture;this.childNode&&(0,u.default)(this.childNode,e.target)||(this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),this.removeMouseUp=(0,s.addEventListener)(document,"mouseup",this.onMouseUp,{capture:t}))}},{key:"onMouseUp",value:function(e){var t=this.props.onOutsideClick,n=this.childNode&&(0,u.default)(this.childNode,e.target);this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),n||t(e)}},{key:"setChildNodeRef",value:function(e){this.childNode=e}},{key:"addMouseDownEventListener",value:function(e){this.removeMouseDown=(0,s.addEventListener)(document,"mousedown",this.onMouseDown,{capture:e})}},{key:"removeEventListeners",value:function(){this.removeMouseDown&&this.removeMouseDown(),this.removeMouseUp&&this.removeMouseUp()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.display;return o.default.createElement("div",{ref:this.setChildNodeRef,style:n!==p.BLOCK&&(0,l.default)(p).includes(n)?{display:n}:void 0},t)}}]),t}(o.default.Component);t.default=v,v.propTypes=h,v.defaultProps=m},6606:function(e,t,n){e.exports=n(2239)},235:function(e,t,n){var r=n(9196),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},i=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function o(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?o():e.current&&e.current.addEventListener&&e.current.addEventListener("load",o),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},a=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=a);var t=r.useState(e(null)),n=t[0],o=t[1],s=r.useCallback((function(t){return o(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(i,{onResize:s})}),[s]),n]}},5080:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},6640:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(2652),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default.shape({getState:i.default.func,setState:i.default.func,subscribe:i.default.func})},3688:function(e,t,n){var r=l(n(116)),o=l(n(5371)),i=n(6930),a=l(n(1689)),s=l(n(1881));function l(e){return e&&e.__esModule?e:{default:e}}t.default={create:function(e){var t={},n=Object.keys(e),r=(o.default.get(i.GLOBAL_CACHE_KEY)||{}).namespace,s=void 0===r?"":r;return n.forEach((function(e){var n=(0,a.default)(s,e);t[e]=n})),t},resolve:function(e){var t=(0,r.default)(e,1/0),n=(0,s.default)(t),o=n.classNames,i=n.hasInlineStyles,a=n.inlineStyles,l={className:o.map((function(e,t){return String(e)+" "+String(e)+"_"+String(t+1)})).join(" ")};return i&&(l.style=a),l}}},6930:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},1689:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},1881:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o<e.length;o++){var i=e[o];i&&("string"==typeof i?t.push(i):(Object.assign(r,i),n=!0))}return{classNames:t,hasInlineStyles:n,inlineStyles:r}}},5553:function(e,t,n){e.exports=n(3688).default},9349:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0,r=void 0;function o(e,t){var n=t(e(r));return function(){return n}}function i(e){return o(e,n.createLTR||n.create)}function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=n.resolve(t);return o}function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.resolveLTR?n.resolveLTR(t):a(t)}t.default={registerTheme:function(e){r=e},registerInterface:function(e){n=e},create:i,createLTR:i,createRTL:function(e){return o(e,n.createRTL||n.create)},get:function(){return r},resolve:s,resolveLTR:s,resolveRTL:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.resolveRTL?n.resolveRTL(t):a(t)},flush:function(){n.flush&&n.flush()}}},3576:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.withStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,s=void 0===n?"styles":n,c=t.themePropName,f=void 0===c?"theme":c,g=t.cssPropName,x=void 0===g?"css":g,E=t.flushBefore,k=void 0!==E&&E,S=t.pureComponent,C=void 0!==S&&S,P=void 0,O=void 0,M=void 0,T=void 0,D=b(C);function I(e){return e===u.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function A(e){return e===u.DIRECTIONS.LTR?M:T}function R(t,n){var r=A(t),o=t===u.DIRECTIONS.LTR?P:O,i=d.default.get();return o&&r===i||(t===u.DIRECTIONS.RTL?(O=e?d.default.createRTL(e):y,T=i,o=O):(P=e?d.default.createLTR(e):y,M=i,o=P)),o}function N(e,t){return{resolveMethod:I(e),styleDef:R(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){p(this,n);var r=h(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[u.CHANNEL]?r.context[u.CHANNEL].getState():_;return r.state=N(o),r}return m(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[u.CHANNEL]&&(this.channelUnsubscribe=this.context[u.CHANNEL].subscribe((function(t){e.setState(N(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;k&&d.default.flush();var n=this.state,o=n.resolveMethod,i=n.styleDef;return a.default.createElement(e,r({},this.props,(v(t={},f,d.default.get()),v(t,s,i()),v(t,x,o),t)))}}]),n}(D);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=w,e.propTypes&&(n.propTypes=(0,i.default)({},e.propTypes),delete n.propTypes[s],delete n.propTypes[f],delete n.propTypes[x]),e.defaultProps&&(n.defaultProps=(0,i.default)({},e.defaultProps)),(0,l.default)(n,e)}};var i=f(n(4011)),a=f(n(9196)),s=f(n(2652)),l=f(n(1281)),u=n(5080),c=f(n(6640)),d=f(n(9349));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:s.default.object.isRequired,theme:s.default.object.isRequired,css:s.default.func.isRequired};var g={},y=function(){return g};function b(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}var w=v({},u.CHANNEL,c.default),_=u.DIRECTIONS.LTR},9196:function(e){"use strict";e.exports=window.React},6292:function(e){"use strict";e.exports=window.moment},4080:function(){},7472:function(e,t,n){"use strict";var r=n(4219)("%Array%"),o=!r.isArray&&n(9630)("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===o(e)}},3665:function(e,t,n){"use strict";var r=n(4219),o=r("%Array.prototype%"),i=r("%RangeError%"),a=r("%SyntaxError%"),s=r("%TypeError%"),l=n(485),u=Math.pow(2,32)-1,c=r("%Object.setPrototypeOf%",!0)||([].__proto__!==o?null:function(e,t){return e.__proto__=t,e});e.exports=function(e){if(!l(e)||e<0)throw new s("Assertion failed: `length` must be an integer Number >= 0");if(e>u)throw new i("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:o,n=[];if(t!==o){if(!c)throw new a("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");c(n,t)}return 0!==e&&(n.length=e),n}},1539:function(e,t,n){"use strict";var r=n(4219),o=r("%Symbol.species%",!0),i=r("%TypeError%"),a=n(3665),s=n(6448),l=n(5971),u=n(4065),c=n(485),d=n(9747);e.exports=function(e,t){if(!c(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");if(!l(e))return a(t);var n=s(e,"constructor");if(o&&"Object"===d(n)&&null===(n=s(n,o))&&(n=void 0),void 0===n)return a(t);if(!u(n))throw new i("C must be a constructor");return new n(t)}},8323:function(e,t,n){"use strict";var r=n(4219),o=n(9630),i=r("%TypeError%"),a=n(5971),s=r("%Reflect.apply%",!0)||o("%Function.prototype.apply%");e.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!a(n))throw new i("Assertion failed: optional `argumentsList`, if provided, must be a List");return s(e,t,n)}},5597:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(1327),i=n(8487),a=n(6403),s=n(1392),l=n(3428),u=n(3290),c=n(9836),d=n(9747);e.exports=function(e,t,n){if("Object"!==d(e))throw new r("Assertion failed: Type(O) is not Object");if(!u(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var f=a(e,t),p=!f||l(e);return!(f&&(!f["[[Writable]]"]||!f["[[Configurable]]"])||!p)&&o(s,c,i,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0})}},3323:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(5597),i=n(3290),a=n(9747);e.exports=function(e,t,n){if("Object"!==a(e))throw new r("Assertion failed: Type(O) is not Object");if(!i(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var s=o(e,t,n);if(!s)throw new r("unable to create data property");return s}},6356:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(8682),i=n(1327),a=n(8487),s=n(7857),l=n(1392),u=n(3290),c=n(9836),d=n(2402),f=n(9747);e.exports=function(e,t,n){if("Object"!==f(e))throw new r("Assertion failed: Type(O) is not Object");if(!u(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var p=o({Type:f,IsDataDescriptor:l,IsAccessorDescriptor:s},n)?n:d(n);if(!o({Type:f,IsDataDescriptor:l,IsAccessorDescriptor:s},p))throw new r("Assertion failed: Desc is not a valid Property Descriptor");return i(l,c,a,e,t,p)}},6739:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(8540),i=n(8323),a=n(3323),s=n(6448),l=n(3059),u=n(5971),c=n(2151),d=n(6888);e.exports=function e(t,n,f,p,h){var m;arguments.length>5&&(m=arguments[5]);for(var v=p,g=0;g<f;){var y=d(g),b=l(n,y);if(!0===b){var w=s(n,y);if(void 0!==m){if(arguments.length<=6)throw new r("Assertion failed: thisArg is required when mapperFunction is provided");w=i(m,arguments[6],[w,g,n])}var _=!1;if(h>0&&(_=u(w)),_){var x=c(w);v=e(t,w,x,v,h-1)}else{if(v>=o)throw new r("index too large");a(t,d(v),w),v+=1}}g+=1}return v}},8487:function(e,t,n){"use strict";var r=n(5114),o=n(9747);e.exports=function(e){if(void 0===e)return e;r(o,"Property Descriptor","Desc",e);var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=e["[[Configurable]]"]),t}},6448:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(3205),i=n(3290),a=n(9747);e.exports=function(e,t){if("Object"!==a(e))throw new r("Assertion failed: Type(O) is not Object");if(!i(t))throw new r("Assertion failed: IsPropertyKey(P) is not true, got "+o(t));return e[t]}},3059:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(3290),i=n(9747);e.exports=function(e,t){if("Object"!==i(e))throw new r("Assertion failed: `O` must be an Object");if(!o(t))throw new r("Assertion failed: `P` must be a Property Key");return t in e}},7857:function(e,t,n){"use strict";var r=n(9284),o=n(5114),i=n(9747);e.exports=function(e){return void 0!==e&&(o(i,"Property Descriptor","Desc",e),!(!r(e,"[[Get]]")&&!r(e,"[[Set]]")))}},5971:function(e,t,n){"use strict";var r=n(4219)("%Array%"),o=!r.isArray&&n(9630)("Object.prototype.toString");e.exports=r.isArray||function(e){return"[object Array]"===o(e)}},1089:function(e,t,n){"use strict";e.exports=n(4363)},4065:function(e,t,n){"use strict";var r=n(137)("%Reflect.construct%",!0),o=n(6356);try{o({},"",{"[[Get]]":function(){}})}catch(e){o=null}if(o&&r){var i={},a={};o(a,"length",{"[[Get]]":function(){throw i},"[[Enumerable]]":!0}),e.exports=function(e){try{r(e,a)}catch(e){return e===i}}}else e.exports=function(e){return"function"==typeof e&&!!e.prototype}},1392:function(e,t,n){"use strict";var r=n(9284),o=n(5114),i=n(9747);e.exports=function(e){return void 0!==e&&(o(i,"Property Descriptor","Desc",e),!(!r(e,"[[Value]]")&&!r(e,"[[Writable]]")))}},3428:function(e,t,n){"use strict";var r=n(4219)("%Object%"),o=n(5019),i=r.preventExtensions,a=r.isExtensible;e.exports=i?function(e){return!o(e)&&a(e)}:function(e){return!o(e)}},485:function(e,t,n){"use strict";var r=n(13),o=n(5127),i=n(9747),a=n(3234),s=n(7061);e.exports=function(e){if("Number"!==i(e)||a(e)||!s(e))return!1;var t=r(e);return o(t)===t}},3290:function(e){"use strict";e.exports=function(e){return"string"==typeof e||"symbol"==typeof e}},1275:function(e,t,n){"use strict";var r=n(4219)("%Symbol.match%",!0),o=n(4221),i=n(3704);e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(r){var t=e[r];if(void 0!==t)return i(t)}return o(e)}},2151:function(e,t,n){"use strict";var r=n(4219)("%TypeError%"),o=n(6448),i=n(6840),a=n(9747);e.exports=function(e){if("Object"!==a(e))throw new r("Assertion failed: `obj` must be an Object");return i(o(e,"length"))}},6403:function(e,t,n){"use strict";var r=n(4219),o=n(5180),i=r("%TypeError%"),a=n(9630)("Object.prototype.propertyIsEnumerable"),s=n(9284),l=n(5971),u=n(3290),c=n(1275),d=n(2402),f=n(9747);e.exports=function(e,t){if("Object"!==f(e))throw new i("Assertion failed: O must be an Object");if(!u(t))throw new i("Assertion failed: P must be a Property Key");if(s(e,t)){if(!o){var n=l(e)&&"length"===t,r=c(e)&&"lastIndex"===t;return{"[[Configurable]]":!(n||r),"[[Enumerable]]":a(e,t),"[[Value]]":e[t],"[[Writable]]":!0}}return d(o(e,t))}}},6953:function(e,t,n){"use strict";e.exports=n(3031)},9836:function(e,t,n){"use strict";var r=n(3234);e.exports=function(e,t){return e===t?0!==e||1/e==1/t:r(e)&&r(t)}},3704:function(e){"use strict";e.exports=function(e){return!!e}},1723:function(e,t,n){"use strict";var r=n(8537),o=n(5541);e.exports=function(e){var t=o(e);return 0!==t&&(t=r(t)),0===t?0:t}},6840:function(e,t,n){"use strict";var r=n(8540),o=n(1723);e.exports=function(e){var t=o(e);return t<=0?0:t>r?r:t}},5541:function(e,t,n){"use strict";var r=n(4219),o=r("%TypeError%"),i=r("%Number%"),a=r("%RegExp%"),s=r("%parseInt%"),l=n(9630),u=n(8441),c=n(5019),d=l("String.prototype.slice"),f=u(/^0b[01]+$/i),p=u(/^0o[0-7]+$/i),h=u(/^[-+]0x[0-9a-f]+$/i),m=u(new a("["+["…","​","￾"].join("")+"]","g")),v=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),g=new RegExp("(^["+v+"]+)|(["+v+"]+$)","g"),y=l("String.prototype.replace"),b=n(6745);e.exports=function e(t){var n=c(t)?t:b(t,i);if("symbol"==typeof n)throw new o("Cannot convert a Symbol value to a number");if("bigint"==typeof n)throw new o("Conversion from 'BigInt' to 'number' is not allowed.");if("string"==typeof n){if(f(n))return e(s(d(n,2),2));if(p(n))return e(s(d(n,2),8));if(m(n)||h(n))return NaN;var r=function(e){return y(e,g,"")}(n);if(r!==n)return e(r)}return i(n)}},1283:function(e,t,n){"use strict";var r=n(4219)("%Object%"),o=n(6953);e.exports=function(e){return o(e),r(e)}},6745:function(e,t,n){"use strict";var r=n(5249);e.exports=function(e){return arguments.length>1?r(e,arguments[1]):r(e)}},2402:function(e,t,n){"use strict";var r=n(9284),o=n(4219)("%TypeError%"),i=n(9747),a=n(3704),s=n(1089);e.exports=function(e){if("Object"!==i(e))throw new o("ToPropertyDescriptor requires an object");var t={};if(r(e,"enumerable")&&(t["[[Enumerable]]"]=a(e.enumerable)),r(e,"configurable")&&(t["[[Configurable]]"]=a(e.configurable)),r(e,"value")&&(t["[[Value]]"]=e.value),r(e,"writable")&&(t["[[Writable]]"]=a(e.writable)),r(e,"get")){var n=e.get;if(void 0!==n&&!s(n))throw new o("getter must be a function");t["[[Get]]"]=n}if(r(e,"set")){var l=e.set;if(void 0!==l&&!s(l))throw new o("setter must be a function");t["[[Set]]"]=l}if((r(t,"[[Get]]")||r(t,"[[Set]]"))&&(r(t,"[[Value]]")||r(t,"[[Writable]]")))throw new o("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},6888:function(e,t,n){"use strict";var r=n(4219),o=r("%String%"),i=r("%TypeError%");e.exports=function(e){if("symbol"==typeof e)throw new i("Cannot convert a Symbol value to a string");return o(e)}},9747:function(e,t,n){"use strict";var r=n(290);e.exports=function(e){return"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":r(e)}},13:function(e,t,n){"use strict";var r=n(4219)("%Math.abs%");e.exports=function(e){return r(e)}},5127:function(e){"use strict";var t=Math.floor;e.exports=function(e){return t(e)}},3031:function(e,t,n){"use strict";var r=n(4219)("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},8537:function(e,t,n){"use strict";var r=n(6195),o=n(7914),i=n(4018),a=n(3234),s=n(7061),l=n(2163);e.exports=function(e){var t=i(e);return a(t)?0:0!==t&&s(t)?l(t)*o(r(t)):t}},4018:function(e,t,n){"use strict";var r=n(583);e.exports=function(e){var t=r(e,Number);if("string"!=typeof t)return+t;var n=t.replace(/^[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+|[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+$/g,"");return/^0[ob]|^[+-]0x/.test(n)?NaN:+n}},583:function(e,t,n){"use strict";e.exports=n(8023)},290:function(e){"use strict";e.exports=function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0}},6195:function(e,t,n){"use strict";var r=n(4219)("%Math.abs%");e.exports=function(e){return r(e)}},7914:function(e){"use strict";var t=Math.floor;e.exports=function(e){return t(e)}},137:function(e,t,n){"use strict";e.exports=n(4219)},1327:function(e,t,n){"use strict";var r=n(4219)("%Object.defineProperty%",!0);if(r)try{r({},"a",{value:1})}catch(e){r=null}var o=Object.defineProperty&&0===Object.defineProperty([],"length",{value:1}).length,i=o&&n(7472),a=n(9630)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,n,s,l,u){if(!r){if(!e(u))return!1;if(!u["[[Configurable]]"]||!u["[[Writable]]"])return!1;if(l in s&&a(s,l)!==!!u["[[Enumerable]]"])return!1;var c=u["[[Value]]"];return s[l]=c,t(s[l],c)}return o&&"length"===l&&"[[Value]]"in u&&i(s)&&s.length!==u["[[Value]]"]?(s.length=u["[[Value]]"],s.length===u["[[Value]]"]):(r(s,l,n(u)),!0)}},5114:function(e,t,n){"use strict";var r=n(4219),o=r("%TypeError%"),i=r("%SyntaxError%"),a=n(9284),s={"Property Descriptor":function(e,t){if("Object"!==e(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(a(t,r)&&!n[r])return!1;var i=a(t,"[[Value]]"),s=a(t,"[[Get]]")||a(t,"[[Set]]");if(i&&s)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var a=s[t];if("function"!=typeof a)throw new i("unknown record type: "+t);if(!a(e,r))throw new o(n+" must be a "+t)}},5180:function(e,t,n){"use strict";var r=n(4219)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},7061:function(e){"use strict";var t=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!t(e)&&e!==1/0&&e!==-1/0}},3234:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},5019:function(e){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},8682:function(e,t,n){"use strict";var r=n(4219),o=n(9284),i=r("%TypeError%");e.exports=function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(o(t,r)&&!n[r])return!1;if(e.IsDataDescriptor(t)&&e.IsAccessorDescriptor(t))throw new i("Property Descriptors may not be both accessor and data descriptors");return!0}},8540:function(e,t,n){"use strict";var r=n(4219),o=r("%Math%"),i=r("%Number%");e.exports=i.MAX_SAFE_INTEGER||o.pow(2,53)-1},8441:function(e,t,n){"use strict";var r=n(4219)("RegExp.prototype.test"),o=n(9961);e.exports=function(e){return o(r,e)}},2163:function(e){"use strict";e.exports=function(e){return e>=0?1:-1}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r),n.d(r,{AnglePickerControl:function(){return Rm},Animate:function(){return hr},Autocomplete:function(){return Bm},BaseControl:function(){return qm},BlockQuotation:function(){return i.BlockQuotation},Button:function(){return Vn},ButtonGroup:function(){return Pg},Card:function(){return iy},CardBody:function(){return py},CardDivider:function(){return yy},CardFooter:function(){return by},CardHeader:function(){return wy},CardMedia:function(){return _y},CheckboxControl:function(){return ky},Circle:function(){return i.Circle},ClipboardButton:function(){return Sy},ColorIndicator:function(){return WE},ColorPalette:function(){return Bx},ColorPicker:function(){return px},ComboboxControl:function(){return QE},CustomGradientPicker:function(){return fE},CustomSelectControl:function(){return iS},Dashicon:function(){return He},DatePicker:function(){return fS},DateTimePicker:function(){return yS},Disabled:function(){return PS},Draggable:function(){return MS},DropZone:function(){return FS},DropZoneProvider:function(){return jS},Dropdown:function(){return Dx},DropdownMenu:function(){return EE},DuotonePicker:function(){return GS},DuotoneSwatch:function(){return VS},ExternalLink:function(){return XS},Fill:function(){return lr},Flex:function(){return $f},FlexBlock:function(){return Df},FlexItem:function(){return If},FocalPointPicker:function(){return gP},FocusReturnProvider:function(){return wI},FocusableIframe:function(){return yP},FontSizePicker:function(){return rO},FormFileUpload:function(){return oO},FormToggle:function(){return iO},FormTokenField:function(){return cO},G:function(){return i.G},GradientPicker:function(){return mE},Guide:function(){return NO},GuidePage:function(){return LO},HorizontalRule:function(){return i.HorizontalRule},Icon:function(){return Ve},IconButton:function(){return FO},IsolatedEventContainer:function(){return aI},KeyboardShortcuts:function(){return zO},MenuGroup:function(){return BO},MenuItem:function(){return HO},MenuItemsChoice:function(){return VO},Modal:function(){return DO},NavigableMenu:function(){return _E},Notice:function(){return AM},NoticeList:function(){return RM},Panel:function(){return LM},PanelBody:function(){return BM},PanelHeader:function(){return NM},PanelRow:function(){return VM},Path:function(){return i.Path},Placeholder:function(){return WM},Polygon:function(){return i.Polygon},Popover:function(){return xr},QueryControls:function(){return ZM},RadioControl:function(){return tT},RangeControl:function(){return mb},Rect:function(){return i.Rect},ResizableBox:function(){return HT},ResponsiveWrapper:function(){return VT},SVG:function(){return i.SVG},SandBox:function(){return $T},ScrollLock:function(){return Kn},SearchControl:function(){return qO},SelectControl:function(){return zy},Slot:function(){return ur},SlotFillProvider:function(){return cr},Snackbar:function(){return KT},SnackbarList:function(){return YT},Spinner:function(){return QT},TabPanel:function(){return nD},TabbableContainer:function(){return WO},TextControl:function(){return rD},TextHighlight:function(){return cD},TextareaControl:function(){return uD},TimePicker:function(){return gS},Tip:function(){return dD},ToggleControl:function(){return fD},Toolbar:function(){return CD},ToolbarButton:function(){return bD},ToolbarDropdownMenu:function(){return PD},ToolbarGroup:function(){return xD},ToolbarItem:function(){return gD},Tooltip:function(){return Mr},TreeSelect:function(){return KM},VisuallyHidden:function(){return Bn},__experimentalAlignmentMatrixControl:function(){return wi},__experimentalBoxControl:function(){return Cg},__experimentalDimensionControl:function(){return wS},__experimentalDivider:function(){return gy},__experimentalElevation:function(){return Dg},__experimentalFlyout:function(){return UC},__experimentalGrid:function(){return pO},__experimentalHStack:function(){return Ry},__experimentalHeading:function(){return Nx},__experimentalInputControl:function(){return Sm},__experimentalItem:function(){return kE},__experimentalItemGroup:function(){return Mx},__experimentalNavigation:function(){return lM},__experimentalNavigationBackButton:function(){return dM},__experimentalNavigationGroup:function(){return pM},__experimentalNavigationItem:function(){return wM},__experimentalNavigationMenu:function(){return kM},__experimentalNavigatorProvider:function(){return PM},__experimentalNavigatorScreen:function(){return TM},__experimentalNumberControl:function(){return nv},__experimentalPaletteEdit:function(){return VE},__experimentalParseUnit:function(){return yv},__experimentalRadio:function(){return QM},__experimentalRadioGroup:function(){return eT},__experimentalScrollable:function(){return fy},__experimentalSpacer:function(){return Am},__experimentalStyleProvider:function(){return MO},__experimentalSurface:function(){return eD},__experimentalText:function(){return _p},__experimentalToggleGroupControl:function(){return DP},__experimentalToggleGroupControlOption:function(){return YP},__experimentalToolbarContext:function(){return vD},__experimentalToolsPanel:function(){return GD},__experimentalToolsPanelContext:function(){return jD},__experimentalToolsPanelItem:function(){return qD},__experimentalTreeGrid:function(){return QD},__experimentalTreeGridCell:function(){return rI},__experimentalTreeGridItem:function(){return nI},__experimentalTreeGridRow:function(){return eI},__experimentalTruncate:function(){return oI},__experimentalUnitControl:function(){return Sv},__experimentalUseCustomUnits:function(){return wv},__experimentalUseNavigator:function(){return DM},__experimentalUseSlot:function(){return er},__experimentalVStack:function(){return Tx},__experimentalView:function(){return zn},__experimentalZStack:function(){return dI},__unstableComposite:function(){return fi},__unstableCompositeGroup:function(){return mi},__unstableCompositeItem:function(){return Ae},__unstableDisclosureContent:function(){return Qw},__unstableGetAnimateClassName:function(){return pr},__unstableMotion:function(){return Ef},__unstableUseAutocompleteProps:function(){return zm},__unstableUseCompositeState:function(){return ni},__unstableUseNavigateRegions:function(){return pI},createSlotFill:function(){return dr},navigateRegions:function(){return hI},withConstrainedTabbing:function(){return mI},withFallbackStyles:function(){return vI},withFilters:function(){return yI},withFocusOutside:function(){return ZE},withFocusReturn:function(){return bI},withNotices:function(){return _I},withSpokenMessages:function(){return sO}});var e={};n.r(e),n.d(e,{Text:function(){return ap},block:function(){return sp},destructive:function(){return up},highlighterText:function(){return dp},muted:function(){return cp},positive:function(){return lp},upperCase:function(){return fp}});var t={};n.r(t),n.d(t,{TooltipContent:function(){return l_},TooltipPopoverView:function(){return u_},TooltipShortcut:function(){return d_},noOutline:function(){return c_}});var o={};n.r(o),n.d(o,{ButtonContentView:function(){return BP},LabelPlaceholderView:function(){return VP},LabelView:function(){return LP},buttonActive:function(){return zP},buttonView:function(){return jP},labelBlock:function(){return FP},medium:function(){return WP},separatorActive:function(){return HP}});var i=window.wp.primitives;function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=window.wp.element,l=window.lodash,u=n(4403),c=n.n(u),d=window.wp.i18n,f=window.wp.compose;function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var b=n(9196),w=n.n(b);function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var P=(0,b.createContext)({});var O,M=function(e,t,n){void 0===n&&(n=t.children);var r=(0,b.useContext)(P);if(r.useCreateElement)return r.useCreateElement(e,t,n);if("string"==typeof e&&function(e){return"function"==typeof e}(n)){t.children;return n(k(t,["children"]))}return(0,b.createElement)(e,t,n)};function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e){return"object"==typeof e&&null!=e}function R(e){var t;if(!A(e))return!1;var n=Object.getPrototypeOf(e);return null==n||(null===(t=n.constructor)||void 0===t?void 0:t.toString())===Object.toString()}function N(e,t){for(var n={},r={},o=0,i=Object.keys(e);o<i.length;o++){var a=i[o];t.indexOf(a)>=0?n[a]=e[a]:r[a]=e[a]}return[n,r]}function L(e,t){if(void 0===t&&(t=[]),!R(e.state))return N(e,t);var n=N(e,[].concat(t,["state"])),r=n[0],o=n[1],i=r.state,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(r,["state"]);return[I(I({},i),a),o]}function F(e,t){if(e===t)return!0;if(!e)return!1;if(!t)return!1;if("object"!=typeof e)return!1;if("object"!=typeof t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0,a=n;i<a.length;i++){var s=a[i];if(e[s]!==t[s])return!1}return!0}function j(e){return"normalizePropsAreEqualInner"===e.name?e:function(t,n){return R(t.state)&&R(n.state)?e(I(I({},t.state),t),I(I({},n.state),n)):e(t,n)}}function z(e){var t=e.as,n=e.useHook,r=e.memo,o=e.propsAreEqual,i=void 0===o?null==n?void 0:n.unstable_propsAreEqual:o,a=e.keys,s=void 0===a?(null==n?void 0:n.__keys)||[]:a,l=e.useCreateElement,u=void 0===l?M:l,c=function(e,r){var o=e.as,i=void 0===o?t:o,a=k(e,["as"]);if(n){var l,c=L(a,s),d=c[0],f=c[1],p=n(d,E({ref:r},f)),h=p.wrapElement,m=k(p,["wrapElement"]),v=(null===(l=i.render)||void 0===l?void 0:l.__keys)||i.__keys,g=v&&L(a,v)[0],y=g?E(E({},m),g):m,b=u(i,y);return h?h(b):b}return u(i,E({ref:r},a))};return c=function(e){return(0,b.forwardRef)(e)}(c),r&&(c=function(e,t){return(0,b.memo)(e,t)}(c,i&&j(i))),c.__keys=s,c.unstable_propsAreEqual=j(i||F),c}function B(e,t){(0,b.useDebugValue)(e);var n=(0,b.useContext)(P);return null!=n[e]?n[e]:t}function H(e){var t,n,r,o=(r=e.compose,Array.isArray(r)?r:void 0!==r?[r]:[]),i=function(t,n){if(e.useOptions&&(t=e.useOptions(t,n)),e.name&&(t=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r="use"+e+"Options";(0,b.useDebugValue)(r);var o=B(r);return o?E(E({},t),o(t,n)):t}(e.name,t,n)),e.compose)for(var r,i=C(o);!(r=i()).done;){t=r.value.__useOptions(t,n)}return t},a=function(t,n,r){if(void 0===t&&(t={}),void 0===n&&(n={}),void 0===r&&(r=!1),r||(t=i(t,n)),e.useProps&&(n=e.useProps(t,n)),e.name&&(n=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r="use"+e+"Props";(0,b.useDebugValue)(r);var o=B(r);return o?o(t,n):n}(e.name,t,n)),e.compose)if(e.useComposeOptions&&(t=e.useComposeOptions(t,n)),e.useComposeProps)n=e.useComposeProps(t,n);else for(var a,s=C(o);!(a=s()).done;){n=(0,a.value)(t,n,!0)}var l={},u=n||{};for(var c in u)void 0!==u[c]&&(l[c]=u[c]);return l};a.__useOptions=i;var s=o.reduce((function(e,t){return e.push.apply(e,t.__keys||[]),e}),[]);return a.__keys=[].concat(s,(null===(t=e.useState)||void 0===t?void 0:t.__keys)||[],e.keys||[]),a.unstable_propsAreEqual=e.propsAreEqual||(null===(n=o[0])||void 0===n?void 0:n.unstable_propsAreEqual)||F,a}function V(e,t){void 0===t&&(t=null),e&&("function"==typeof e?e(t):e.current=t)}function W(e,t){return(0,b.useMemo)((function(){return null==e&&null==t?null:function(n){V(e,n),V(t,n)}}),[e,t])}function U(e){return e?e.ownerDocument||e:document}try{O=window}catch(e){}function $(e){return e&&U(e).defaultView||O}var K=function(){var e=$();return Boolean(void 0!==e&&e.document&&e.document.createElement)}(),G=K?b.useLayoutEffect:b.useEffect;function q(e){var t=(0,b.useRef)(e);return G((function(){t.current=e})),t}function Y(e){return e.target===e.currentTarget}function X(e){var t=U(e).activeElement;return null!=t&&t.nodeName?t:null}function Z(e,t){return e===t||e.contains(t)}function J(e){var t=X(e);if(!t)return!1;if(Z(e,t))return!0;var n=t.getAttribute("aria-activedescendant");return!!n&&(n===e.id||!!e.querySelector("#"+n))}function Q(e){return!Z(e.currentTarget,e.target)}var ee=["button","color","file","image","reset","submit"];function te(e){if("BUTTON"===e.tagName)return!0;if("INPUT"===e.tagName){var t=e;return-1!==ee.indexOf(t.type)}return!1}function ne(e){return!!K&&-1!==window.navigator.userAgent.indexOf(e)}function re(e,t){return"matches"in e?e.matches(t):"msMatchesSelector"in e?e.msMatchesSelector(t):e.webkitMatchesSelector(t)}var oe="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function ie(e){return re(e,oe)&&function(e){var t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}(e)}function ae(e){return ie(e)&&!function(e){return parseInt(e.getAttribute("tabindex")||"0",10)<0}(e)}function se(e,t){var n=Array.from(e.querySelectorAll(oe)),r=n.filter(ae);return ae(e)&&r.unshift(e),!r.length&&t?n:r}function le(e,t){return se(e,t)[0]||null}var ue=H({name:"Role",keys:["unstable_system"],propsAreEqual:function(e,t){var n=e.unstable_system,r=v(e,["unstable_system"]),o=t.unstable_system,i=v(t,["unstable_system"]);return!(n!==o&&!F(n,o))&&F(r,i)}}),ce=(z({as:"div",useHook:ue}),ne("Mac")&&!ne("Chrome")&&(ne("Safari")||ne("Firefox")));function de(e){!J(e)&&ie(e)&&e.focus()}function fe(e,t,n,r){return e?t&&!n?-1:void 0:t?r:r||0}function pe(e,t){return(0,b.useCallback)((function(n){var r;null===(r=e.current)||void 0===r||r.call(e,n),n.defaultPrevented||t&&(n.stopPropagation(),n.preventDefault())}),[e,t])}var he=H({name:"Tabbable",compose:ue,keys:["disabled","focusable"],useOptions:function(e,t){return m({disabled:t.disabled},e)},useProps:function(e,t){var n=t.ref,r=t.tabIndex,o=t.onClickCapture,i=t.onMouseDownCapture,a=t.onMouseDown,s=t.onKeyPressCapture,l=t.style,u=v(t,["ref","tabIndex","onClickCapture","onMouseDownCapture","onMouseDown","onKeyPressCapture","style"]),c=(0,b.useRef)(null),d=q(o),f=q(i),p=q(a),h=q(s),g=!!e.disabled&&!e.focusable,y=(0,b.useState)(!0),w=y[0],_=y[1],x=(0,b.useState)(!0),E=x[0],k=x[1],S=e.disabled?m({pointerEvents:"none"},l):l;G((function(){var e=c.current;e&&(["BUTTON","INPUT","SELECT","TEXTAREA","A"].includes(e.tagName)||_(!1),function(e){return["BUTTON","INPUT","SELECT","TEXTAREA"].includes(e.tagName)}(e)||k(!1))}),[]);var C=pe(d,e.disabled),P=pe(f,e.disabled),O=pe(h,e.disabled),M=(0,b.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e);var n=e.currentTarget;if(!e.defaultPrevented&&ce&&!Q(e)&&te(n)){var r=requestAnimationFrame((function(){n.removeEventListener("mouseup",o,!0),de(n)})),o=function(){cancelAnimationFrame(r),de(n)};n.addEventListener("mouseup",o,{once:!0,capture:!0})}}),[]);return m({ref:W(c,n),style:S,tabIndex:fe(g,w,E,r),disabled:!(!g||!E)||void 0,"aria-disabled":!!e.disabled||void 0,onClickCapture:C,onMouseDownCapture:P,onMouseDown:M,onKeyPressCapture:O},u)}});z({as:"div",useHook:he});var me=H({name:"Clickable",compose:he,keys:["unstable_clickOnEnter","unstable_clickOnSpace"],useOptions:function(e){var t=e.unstable_clickOnEnter,n=void 0===t||t,r=e.unstable_clickOnSpace;return m({unstable_clickOnEnter:n,unstable_clickOnSpace:void 0===r||r},v(e,["unstable_clickOnEnter","unstable_clickOnSpace"]))},useProps:function(e,t){var n=t.onKeyDown,r=t.onKeyUp,o=v(t,["onKeyDown","onKeyUp"]),i=(0,b.useState)(!1),a=i[0],s=i[1],l=q(n),u=q(r),c=(0,b.useCallback)((function(t){var n;if(null===(n=l.current)||void 0===n||n.call(l,t),!t.defaultPrevented&&!e.disabled&&!t.metaKey&&Y(t)){var r=e.unstable_clickOnEnter&&"Enter"===t.key,o=e.unstable_clickOnSpace&&" "===t.key;if(r||o){if(function(e){var t=e.currentTarget;return!!e.isTrusted&&(te(t)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||"A"===t.tagName||"SELECT"===t.tagName)}(t))return;t.preventDefault(),r?t.currentTarget.click():o&&s(!0)}}}),[e.disabled,e.unstable_clickOnEnter,e.unstable_clickOnSpace]),d=(0,b.useCallback)((function(t){var n;if(null===(n=u.current)||void 0===n||n.call(u,t),!t.defaultPrevented&&!e.disabled&&!t.metaKey){var r=e.unstable_clickOnSpace&&" "===t.key;a&&r&&(s(!1),t.currentTarget.click())}}),[e.disabled,e.unstable_clickOnSpace,a]);return m({"data-active":a||void 0,onKeyDown:c,onKeyUp:d},o)}});z({as:"button",memo:!0,useHook:me});function ve(e,t){return t?e.find((function(e){return!e.disabled&&e.id!==t})):e.find((function(e){return!e.disabled}))}function ge(e,t){var n;return t||null===t?t:e.currentId||null===e.currentId?e.currentId:null===(n=ve(e.items||[]))||void 0===n?void 0:n.id}var ye=["baseId","unstable_idCountRef","setBaseId","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget"],be=ye,we=be;function _e(e){e.userFocus=!0,e.focus(),e.userFocus=!1}function xe(e,t){e.userFocus=t}function Ee(e){try{var t=e instanceof HTMLInputElement&&null!==e.selectionStart,n="TEXTAREA"===e.tagName,r="true"===e.contentEditable;return t||n||r||!1}catch(e){return!1}}function ke(e){var t=X(e);if(!t)return!1;if(t===e)return!0;var n=t.getAttribute("aria-activedescendant");return!!n&&n===e.id}function Se(e,t){var n=void 0===t?{}:t,r=n.preventScroll,o=n.isActive,i=void 0===o?ke:o;return i(e)?-1:(e.focus({preventScroll:r}),i(e)?-1:requestAnimationFrame((function(){e.focus({preventScroll:r})})))}function Ce(e){return void 0===e&&(e="id"),(e?e+"-":"")+Math.random().toString(32).substr(2,6)}var Pe=(0,b.createContext)(Ce);var Oe=H({keys:[].concat(["baseId","unstable_idCountRef","setBaseId"],["id"]),useOptions:function(e,t){var n=(0,b.useContext)(Pe),r=(0,b.useState)((function(){return e.unstable_idCountRef?(e.unstable_idCountRef.current+=1,"-"+e.unstable_idCountRef.current):e.baseId?"-"+n(""):""}))[0],o=(0,b.useMemo)((function(){return e.baseId||n()}),[e.baseId,n]),i=t.id||e.id||""+o+r;return m(m({},e),{},{id:i})},useProps:function(e,t){return m({id:e.id},t)}});z({as:"div",useHook:Oe});function Me(e,t,n){if("function"==typeof Event)return new Event(t,n);var r=U(e).createEvent("Event");return r.initEvent(t,null==n?void 0:n.bubbles,null==n?void 0:n.cancelable),r}function Te(e,t){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){var n,r=Object.getPrototypeOf(e),o=null===(n=Object.getOwnPropertyDescriptor(r,"value"))||void 0===n?void 0:n.set;o&&(o.call(e,t),function(e,t,n){e.dispatchEvent(Me(e,t,n))}(e,"input",{bubbles:!0}))}}function De(e){return e.querySelector("[data-composite-item-widget]")}var Ie=H({name:"CompositeItem",compose:[me,Oe],keys:we,propsAreEqual:function(e,t){if(!t.id||e.id!==t.id)return me.unstable_propsAreEqual(e,t);var n=e.currentId,r=e.unstable_moves,o=v(e,["currentId","unstable_moves"]),i=t.currentId,a=t.unstable_moves,s=v(t,["currentId","unstable_moves"]);if(i!==n){if(t.id===i||t.id===n)return!1}else if(r!==a)return!1;return me.unstable_propsAreEqual(o,s)},useOptions:function(e){return m(m({},e),{},{id:e.id,currentId:ge(e),unstable_clickOnSpace:!e.unstable_hasActiveWidget&&e.unstable_clickOnSpace})},useProps:function(e,t){var n,r=t.ref,o=t.tabIndex,i=void 0===o?0:o,a=t.onMouseDown,s=t.onFocus,l=t.onBlurCapture,u=t.onKeyDown,c=t.onClick,d=v(t,["ref","tabIndex","onMouseDown","onFocus","onBlurCapture","onKeyDown","onClick"]),f=(0,b.useRef)(null),p=e.id,h=e.disabled&&!e.focusable,g=e.currentId===p,w=q(g),_=(0,b.useRef)(!1),x=function(e){return(0,b.useMemo)((function(){var t;return null===(t=e.items)||void 0===t?void 0:t.find((function(t){return e.id&&t.id===e.id}))}),[e.items,e.id])}(e),E=q(a),k=q(s),S=q(l),C=q(u),P=q(c),O=!e.unstable_virtual&&!e.unstable_hasActiveWidget&&g||!(null!==(n=e.items)&&void 0!==n&&n.length);(0,b.useEffect)((function(){var t;if(p)return null===(t=e.registerItem)||void 0===t||t.call(e,{id:p,ref:f,disabled:!!h}),function(){var t;null===(t=e.unregisterItem)||void 0===t||t.call(e,p)}}),[p,h,e.registerItem,e.unregisterItem]),(0,b.useEffect)((function(){var t=f.current;t&&e.unstable_moves&&w.current&&_e(t)}),[e.unstable_moves]);var M=(0,b.useCallback)((function(e){var t;null===(t=E.current)||void 0===t||t.call(E,e),xe(e.currentTarget,!0)}),[]),T=(0,b.useCallback)((function(t){var n,r,o=!!t.currentTarget.userFocus;if(xe(t.currentTarget,!1),null===(n=k.current)||void 0===n||n.call(k,t),!t.defaultPrevented&&!Q(t)&&p&&!function(e,t){if(Y(e))return!1;for(var n,r=y(t);!(n=r()).done;)if(n.value.ref.current===e.target)return!0;return!1}(t,e.items)&&(null===(r=e.setCurrentId)||void 0===r||r.call(e,p),o&&e.unstable_virtual&&e.baseId&&Y(t))){var i=U(t.target).getElementById(e.baseId);i&&(_.current=!0,Se(i))}}),[p,e.items,e.setCurrentId,e.unstable_virtual,e.baseId]),D=(0,b.useCallback)((function(t){var n;null===(n=S.current)||void 0===n||n.call(S,t),t.defaultPrevented||e.unstable_virtual&&_.current&&(_.current=!1,t.preventDefault(),t.stopPropagation())}),[e.unstable_virtual]),I=(0,b.useCallback)((function(t){var n;if(Y(t)){var r="horizontal"!==e.orientation,o="vertical"!==e.orientation,i=!(null==x||!x.groupId),a={ArrowUp:(i||r)&&e.up,ArrowRight:(i||o)&&e.next,ArrowDown:(i||r)&&e.down,ArrowLeft:(i||o)&&e.previous,Home:function(){var n,r;!i||t.ctrlKey?null===(n=e.first)||void 0===n||n.call(e):null===(r=e.previous)||void 0===r||r.call(e,!0)},End:function(){var n,r;!i||t.ctrlKey?null===(n=e.last)||void 0===n||n.call(e):null===(r=e.next)||void 0===r||r.call(e,!0)},PageUp:function(){var t,n;i?null===(t=e.up)||void 0===t||t.call(e,!0):null===(n=e.first)||void 0===n||n.call(e)},PageDown:function(){var t,n;i?null===(t=e.down)||void 0===t||t.call(e,!0):null===(n=e.last)||void 0===n||n.call(e)}}[t.key];if(a)return t.preventDefault(),void a();if(null===(n=C.current)||void 0===n||n.call(C,t),!t.defaultPrevented)if(1===t.key.length&&" "!==t.key){var s=De(t.currentTarget);s&&Ee(s)&&(s.focus(),Te(s,""))}else if("Delete"===t.key||"Backspace"===t.key){var l=De(t.currentTarget);l&&Ee(l)&&(t.preventDefault(),Te(l,""))}}}),[e.orientation,x,e.up,e.next,e.down,e.previous,e.first,e.last]),A=(0,b.useCallback)((function(e){var t;if(null===(t=P.current)||void 0===t||t.call(P,e),!e.defaultPrevented){var n=De(e.currentTarget);n&&!J(n)&&n.focus()}}),[]);return m({ref:W(f,r),id:p,tabIndex:O?i:-1,"aria-selected":!(!e.unstable_virtual||!g)||void 0,onMouseDown:M,onFocus:T,onBlurCapture:D,onKeyDown:I,onClick:A},d)}}),Ae=z({as:"button",memo:!0,useHook:Ie}),Re=window.wp.dom;var Ne=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.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"}));function Le(e,t,n,r,o,i,a,s,l){const{width:u}=t;"left"===n&&(0,d.isRTL)()?n="right":"right"===n&&(0,d.isRTL)()&&(n="left"),"left"===r&&(0,d.isRTL)()?r="right":"right"===r&&(0,d.isRTL)()&&(r="left");const c=Math.round(e.left+e.width/2),f={popoverLeft:c,contentWidth:(c-u/2>0?u/2:c)+(c+u/2>window.innerWidth?window.innerWidth-c:u/2)};let p=e.left;"right"===r?p=e.right:"middle"===i||l||(p=c);let h=e.right;"left"===r?h=e.left:"middle"===i||l||(h=c);const m={popoverLeft:p,contentWidth:p-u>0?u:p},v={popoverLeft:h,contentWidth:h+u>window.innerWidth?window.innerWidth-h:u};let g,y=n,b=null;if(!o&&!s)if("center"===n&&f.contentWidth===u)y="center";else if("left"===n&&m.contentWidth===u)y="left";else if("right"===n&&v.contentWidth===u)y="right";else{y=m.contentWidth>v.contentWidth?"left":"right";const e="left"===y?m.contentWidth:v.contentWidth;u>window.innerWidth&&(b=window.innerWidth),e!==u&&(y="center",f.popoverLeft=window.innerWidth/2)}return g="center"===y?f.popoverLeft:"left"===y?m.popoverLeft:v.popoverLeft,a&&(g=Math.min(g,a.offsetLeft+a.offsetWidth-u),(0,d.isRTL)()||(g=Math.max(g,0))),{xAxis:y,popoverLeft:g,contentWidth:b}}function Fe(e,t,n,r,o,i,a,s,l){const{height:u}=t;if(o){const t=o.getBoundingClientRect(),r=t.top+u-a,i=t.bottom-u-a;if(e.top<=r){if(l){if(!(u+10<l.scrollTop+e.top))return{yAxis:"bottom",popoverTop:Math.min(e.bottom,i)}}return{yAxis:n,popoverTop:Math.min(e.bottom,r)}}}let c=e.top+e.height/2;"bottom"===r?c=e.bottom:"top"===r&&(c=e.top);const d={popoverTop:c,contentHeight:(c-u/2>0?u/2:c)+(c+u/2>window.innerHeight?window.innerHeight-c:u/2)},f={popoverTop:e.top,contentHeight:e.top-10-u>0?u:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+u>window.innerHeight?window.innerHeight-10-e.bottom:u};let h,m=n,v=null;if(!o&&!s)if("middle"===n&&d.contentHeight===u)m="middle";else if("top"===n&&f.contentHeight===u)m="top";else if("bottom"===n&&p.contentHeight===u)m="bottom";else{m=f.contentHeight>p.contentHeight?"top":"bottom";const e="top"===m?f.contentHeight:p.contentHeight;v=e!==u?e:null}return h="middle"===m?d.popoverTop:"top"===m?f.popoverTop:p.popoverTop,{yAxis:m,popoverTop:h,contentHeight:v}}function je(e,t,n){const{defaultView:r}=t,{frameElement:o}=r;if(!o||t===n.ownerDocument)return e;const i=o.getBoundingClientRect();return new r.DOMRect(e.left+i.left,e.top+i.top,e.width,e.height)}var ze=window.wp.deprecated,Be=n.n(ze);var He=function(e){let{icon:t,className:n,...r}=e;const o=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" ");return(0,s.createElement)("span",a({className:o},r))};var Ve=function(e){let{icon:t=null,size:n=24,...r}=e;if("string"==typeof t)return(0,s.createElement)(He,a({icon:t},r));if((0,s.isValidElement)(t)&&He===t.type)return(0,s.cloneElement)(t,{...r});if("function"==typeof t)return t.prototype instanceof s.Component?(0,s.createElement)(t,{size:n,...r}):t({size:n,...r});if(t&&("svg"===t.type||t.type===i.SVG)){const e={width:n,height:n,...t.props,...r};return(0,s.createElement)(i.SVG,e)}return(0,s.isValidElement)(t)?(0,s.cloneElement)(t,{size:n,...r}):t};window.wp.warning;const We=(0,s.createContext)({}),Ue=()=>(0,s.useContext)(We);function $e(e){let{value:t}=e;const n=Ue(),r=(0,s.useRef)(t);!function(e,t){const n=(0,s.useRef)(!1);(0,s.useEffect)((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{(0,l.isEqual)(r.current,t)&&r.current!==t&&"undefined"!=typeof process&&process.env}),[t]);return(0,s.useMemo)((()=>(0,l.merge)((0,l.cloneDeep)(n),t)),[n,t])}const Ke=(0,s.memo)((e=>{let{children:t,value:n}=e;const r=$e({value:n});return(0,s.createElement)(We.Provider,{value:r},t)}));var Ge=n(9756),qe=n.n(Ge);const Ye=qe()((function(e){return`components-${(0,l.kebabCase)(e)}`}));var Xe=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ze=Math.abs,Je=String.fromCharCode,Qe=Object.assign;function et(e){return e.trim()}function tt(e,t,n){return e.replace(t,n)}function nt(e,t){return e.indexOf(t)}function rt(e,t){return 0|e.charCodeAt(t)}function ot(e,t,n){return e.slice(t,n)}function it(e){return e.length}function at(e){return e.length}function st(e,t){return t.push(e),e}var lt=1,ut=1,ct=0,dt=0,ft=0,pt="";function ht(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:lt,column:ut,length:a,return:""}}function mt(e,t){return Qe(ht("",null,null,"",null,null,0),e,{length:-e.length},t)}function vt(){return ft=dt>0?rt(pt,--dt):0,ut--,10===ft&&(ut=1,lt--),ft}function gt(){return ft=dt<ct?rt(pt,dt++):0,ut++,10===ft&&(ut=1,lt++),ft}function yt(){return rt(pt,dt)}function bt(){return dt}function wt(e,t){return ot(pt,e,t)}function _t(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function xt(e){return lt=ut=1,ct=it(pt=e),dt=0,[]}function Et(e){return pt="",e}function kt(e){return et(wt(dt-1,Pt(91===e?e+2:40===e?e+1:e)))}function St(e){for(;(ft=yt())&&ft<33;)gt();return _t(e)>2||_t(ft)>3?"":" "}function Ct(e,t){for(;--t&&gt()&&!(ft<48||ft>102||ft>57&&ft<65||ft>70&&ft<97););return wt(e,bt()+(t<6&&32==yt()&&32==gt()))}function Pt(e){for(;gt();)switch(ft){case e:return dt;case 34:case 39:34!==e&&39!==e&&Pt(ft);break;case 40:41===e&&Pt(e);break;case 92:gt()}return dt}function Ot(e,t){for(;gt()&&e+ft!==57&&(e+ft!==84||47!==yt()););return"/*"+wt(t,dt-1)+"*"+Je(47===e?e:gt())}function Mt(e){for(;!_t(yt());)gt();return wt(e,dt)}var Tt="-ms-",Dt="-moz-",It="-webkit-",At="comm",Rt="rule",Nt="decl",Lt="@keyframes";function Ft(e,t){for(var n="",r=at(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function jt(e,t,n,r){switch(e.type){case"@import":case Nt:return e.return=e.return||e.value;case At:return"";case Lt:return e.return=e.value+"{"+Ft(e.children,r)+"}";case Rt:e.value=e.props.join(",")}return it(n=Ft(e.children,r))?e.return=e.value+"{"+n+"}":""}function zt(e,t){switch(function(e,t){return(((t<<2^rt(e,0))<<2^rt(e,1))<<2^rt(e,2))<<2^rt(e,3)}(e,t)){case 5103:return It+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return It+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return It+e+Dt+e+Tt+e+e;case 6828:case 4268:return It+e+Tt+e+e;case 6165:return It+e+Tt+"flex-"+e+e;case 5187:return It+e+tt(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return It+e+Tt+"flex-item-"+tt(e,/flex-|-self/,"")+e;case 4675:return It+e+Tt+"flex-line-pack"+tt(e,/align-content|flex-|-self/,"")+e;case 5548:return It+e+Tt+tt(e,"shrink","negative")+e;case 5292:return It+e+Tt+tt(e,"basis","preferred-size")+e;case 6060:return It+"box-"+tt(e,"-grow","")+It+e+Tt+tt(e,"grow","positive")+e;case 4554:return It+tt(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return tt(tt(tt(e,/(zoom-|grab)/,It+"$1"),/(image-set)/,It+"$1"),e,"")+e;case 5495:case 3959:return tt(e,/(image-set\([^]*)/,It+"$1$`$1");case 4968:return tt(tt(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+It+e+e;case 4095:case 3583:case 4068:case 2532:return tt(e,/(.+)-inline(.+)/,It+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(it(e)-1-t>6)switch(rt(e,t+1)){case 109:if(45!==rt(e,t+4))break;case 102:return tt(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+Dt+(108==rt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~nt(e,"stretch")?zt(tt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==rt(e,t+1))break;case 6444:switch(rt(e,it(e)-3-(~nt(e,"!important")&&10))){case 107:return tt(e,":",":"+It)+e;case 101:return tt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+It+(45===rt(e,14)?"inline-":"")+"box$3$1"+It+"$2$3$1"+Tt+"$2box$3")+e}break;case 5936:switch(rt(e,t+11)){case 114:return It+e+Tt+tt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return It+e+Tt+tt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return It+e+Tt+tt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return It+e+Tt+e+e}return e}function Bt(e){return Et(Ht("",null,null,null,[""],e=xt(e),0,[0],e))}function Ht(e,t,n,r,o,i,a,s,l){for(var u=0,c=0,d=a,f=0,p=0,h=0,m=1,v=1,g=1,y=0,b="",w=o,_=i,x=r,E=b;v;)switch(h=y,y=gt()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=nt(E+=tt(kt(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=kt(y);break;case 9:case 10:case 13:case 32:E+=St(h);break;case 92:E+=Ct(bt()-1,7);continue;case 47:switch(yt()){case 42:case 47:st(Wt(Ot(gt(),bt()),t,n),l);break;default:E+="/"}break;case 123*m:s[u++]=it(E)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:p>0&&it(E)-d&&st(p>32?Ut(E+";",r,n,d-1):Ut(tt(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(st(x=Vt(E,t,n,u,c,o,s,b,w=[],_=[],d),i),123===y)if(0===c)Ht(E,t,x,x,w,i,d,s,_);else switch(f){case 100:case 109:case 115:Ht(e,x,x,r&&st(Vt(e,x,x,0,0,o,s,b,o,w=[],d),_),o,_,d,s,r?w:_);break;default:Ht(E,x,x,x,[""],_,0,s,_)}}u=c=p=0,m=g=1,b=E="",d=a;break;case 58:d=1+it(E),p=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==vt())continue;switch(E+=Je(y),y*m){case 38:g=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(it(E)-1)*g,g=1;break;case 64:45===yt()&&(E+=kt(gt())),f=yt(),c=d=it(b=E+=Mt(bt())),y++;break;case 45:45===h&&2==it(E)&&(m=0)}}return i}function Vt(e,t,n,r,o,i,a,s,l,u,c){for(var d=o-1,f=0===o?i:[""],p=at(f),h=0,m=0,v=0;h<r;++h)for(var g=0,y=ot(e,d+1,d=Ze(m=a[h])),b=e;g<p;++g)(b=et(m>0?f[g]+" "+y:tt(y,/&\f/g,f[g])))&&(l[v++]=b);return ht(e,t,n,0===o?Rt:s,l,u,c)}function Wt(e,t,n){return ht(e,t,n,At,Je(ft),ot(e,2,-2),0)}function Ut(e,t,n,r){return ht(e,t,n,Nt,ot(e,0,r),ot(e,r+1,-1),r)}var $t=function(e,t,n){for(var r=0,o=0;r=o,o=yt(),38===r&&12===o&&(t[n]=1),!_t(o);)gt();return wt(e,dt)},Kt=function(e,t){return Et(function(e,t){var n=-1,r=44;do{switch(_t(r)){case 0:38===r&&12===yt()&&(t[n]=1),e[n]+=$t(dt-1,t,n);break;case 2:e[n]+=kt(r);break;case 4:if(44===r){e[++n]=58===yt()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Je(r)}}while(r=gt());return e}(xt(e),t))},Gt=new WeakMap,qt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Gt.get(n))&&!r){Gt.set(e,!0);for(var o=[],i=Kt(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},Yt=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Xt=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Nt:e.return=zt(e.value,e.length);break;case Lt:return Ft([mt(e,{value:tt(e.value,"@","@"+It)})],r);case Rt:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ft([mt(e,{props:[tt(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ft([mt(e,{props:[tt(t,/:(plac\w+)/,":-webkit-input-$1")]}),mt(e,{props:[tt(t,/:(plac\w+)/,":-moz-$1")]}),mt(e,{props:[tt(t,/:(plac\w+)/,Tt+"input-$1")]})],r)}return""}))}}],Zt=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Xt;var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,u,c,d,f=[jt,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[qt,Yt].concat(r,f),c=at(u),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){l=n,function(e){Ft(Bt(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new Xe({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return h.sheet.hydrate(s),h};var Jt=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Qt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var en=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},tn=/[A-Z]|^ms/g,nn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rn=function(e){return 45===e.charCodeAt(1)},on=function(e){return null!=e&&"boolean"!=typeof e},an=en((function(e){return rn(e)?e:e.replace(tn,"-$&").toLowerCase()})),sn=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(nn,(function(e,t,n){return un={name:t,styles:n,next:un},t}))}return 1===Qt[e]||rn(e)||"number"!=typeof t||0===t?t:t+"px"};function ln(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return un={name:n.name,styles:n.styles,next:un},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)un={name:r.name,styles:r.styles,next:un},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ln(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":on(a)&&(r+=an(i)+":"+sn(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=ln(e,t,a);switch(i){case"animation":case"animationName":r+=an(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)on(a[l])&&(r+=an(i)+":"+sn(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=un,i=n(e);return un=o,ln(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var un,cn=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var dn=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";un=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=ln(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=ln(n,t,e[a]),r&&(o+=i[a]);cn.lastIndex=0;for(var s,l="";null!==(s=cn.exec(o));)l+="-"+s[1];return{name:Jt(o)+l,styles:o,next:un}},fn=(0,b.createContext)("undefined"!=typeof HTMLElement?Zt({key:"css"}):null);var pn=fn.Provider,hn=function(e){return(0,b.forwardRef)((function(t,n){var r=(0,b.useContext)(fn);return e(t,r,n)}))},mn=(0,b.createContext)({});function vn(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var gn=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0);o=o.next}while(void 0!==o)}};function yn(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function bn(e,t,n){var r=[],o=vn(e,r,n);return r.length<2?n:o+t(r)}var wn=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},_n=function(e){var t=Zt(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=dn(n,t.registered,void 0);return gn(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return bn(t.registered,n,wn(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=dn(n,t.registered);yn(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=dn(n,t.registered),i="animation-"+o.name;return yn(t,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:vn.bind(null,t.registered),merge:bn.bind(null,t.registered,n)}},xn=_n({key:"css"}),En=(xn.flush,xn.hydrate,xn.cx);xn.merge,xn.getRegisteredStyles,xn.injectGlobal,xn.keyframes,xn.css,xn.sheet,xn.cache;const kn=e=>null!=e&&["name","styles"].every((t=>void 0!==e[t])),Sn=()=>{const e=(0,b.useContext)(fn),t=(0,s.useCallback)((function(){if(null===e)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return En(...n.map((t=>kn(t)?(gn(e,t,!1),`${e.key}-${t.name}`):t)))}),[e]);return t};function Cn(e,t){const n=Ue();void 0===t&&"undefined"!=typeof process&&process.env;const r=(null==n?void 0:n[t])||{},o={"data-wp-c16t":!0,...(i=t,{"data-wp-component":i})};var i;const{_overrides:a,...s}=r,l=Object.entries(s).length?Object.assign({},s,e):e,u=Sn()(Ye(t),e.className),c="function"==typeof l.renderChildren?l.renderChildren(l):l.children;for(const e in l)o[e]=l[e];for(const e in a)o[e]=a[e];return o.children=c,o.className=u,o}function Pn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{memo:r=!1}=n;let o=(0,s.forwardRef)(e);r&&(o=(0,s.memo)(o)),void 0===t&&"undefined"!=typeof process&&process.env;let i=o.__contextSystemKey__||[t];return Array.isArray(t)&&(i=[...i,...t]),"string"==typeof t&&(i=[...i,t]),o.displayName=t,o.__contextSystemKey__=(0,l.uniq)(i),o.selector=`.${Ye(t)}`,o}function On(e){if(!e)return[];let t=[];return e.__contextSystemKey__&&(t=e.__contextSystemKey__),e.type&&e.type.__contextSystemKey__&&(t=e.type.__contextSystemKey__),t}function Mn(e,t){return!!e&&("string"==typeof t?On(e).includes(t):!!Array.isArray(t)&&t.some((t=>On(e).includes(t))))}const Tn={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal"};var Dn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,In=en((function(e){return Dn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),An=function(e){return"theme"!==e},Rn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?In:An},Nn=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Ln=function(){return null},Fn=function e(t,n){var r,o,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=Nn(t,n,i),u=l||Rn(s),c=!u("as");return function(){var d=arguments,f=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{0,f.push(d[0][0]);for(var p=d.length,h=1;h<p;h++)f.push(d[h],d[0][h])}var m=hn((function(e,t,n){var r=c&&e.as||s,i="",a=[],d=e;if(null==e.theme){for(var p in d={},e)d[p]=e[p];d.theme=(0,b.useContext)(mn)}"string"==typeof e.className?i=vn(t.registered,a,e.className):null!=e.className&&(i=e.className+" ");var h=dn(f.concat(a),t.registered,d);gn(t,h,"string"==typeof r);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=c&&void 0===l?Rn(r):u,v={};for(var g in e)c&&"as"===g||m(g)&&(v[g]=e[g]);v.className=i,v.ref=n;var y=(0,b.createElement)(r,v),w=(0,b.createElement)(Ln,null);return(0,b.createElement)(b.Fragment,null,w,y)}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=f,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,a({},n,r,{shouldForwardProp:Nn(m,r,!0)})).apply(void 0,f)},m}};const jn=Fn("div",{target:"em57xhy0"})("");jn.selector=".components-view",jn.displayName="View";var zn=jn;var Bn=Pn((function(e,t){const{style:n,...r}=Cn(e,"VisuallyHidden");return(0,s.createElement)(zn,a({ref:t},r,{style:{...Tn,...n||{}}}))}),"VisuallyHidden");const Hn=["onMouseDown","onClick"];var Vn=(0,s.forwardRef)((function e(t,n){const{href:r,target:o,isSmall:i,isPressed:u,isBusy:d,isDestructive:p,className:h,disabled:m,icon:v,iconPosition:g="left",iconSize:y,showTooltip:b,tooltipPosition:w,shortcut:_,label:x,children:E,text:k,variant:S,__experimentalIsFocusable:C,describedBy:P,...O}=function(e){let{isDefault:t,isPrimary:n,isSecondary:r,isTertiary:o,isLink:i,variant:a,...s}=e,l=a;var u,c,d,f,p;return n&&(null!==(u=l)&&void 0!==u||(l="primary")),o&&(null!==(c=l)&&void 0!==c||(l="tertiary")),r&&(null!==(d=l)&&void 0!==d||(l="secondary")),t&&(Be()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"'}),null!==(f=l)&&void 0!==f||(l="secondary")),i&&(null!==(p=l)&&void 0!==p||(l="link")),{...s,variant:l}}(t),M=(0,f.useInstanceId)(e,"components-button__description"),T=c()("components-button",h,{"is-secondary":"secondary"===S,"is-primary":"primary"===S,"is-small":i,"is-tertiary":"tertiary"===S,"is-pressed":u,"is-busy":d,"is-link":"link"===S,"is-destructive":p,"has-text":!!v&&!!E,"has-icon":!!v}),D=m&&!C,I=void 0===r||D?"button":"a",A="a"===I?{href:r,target:o}:{type:"button",disabled:D,"aria-pressed":u};if(m&&C){A["aria-disabled"]=!0;for(const e of Hn)O[e]=e=>{e.stopPropagation(),e.preventDefault()}}const R=!D&&(b&&x||_||!!x&&(!E||(0,l.isArray)(E)&&!E.length)&&!1!==b),N=P?M:null,L=O["aria-describedby"]||N,F=(0,s.createElement)(I,a({},A,O,{className:T,"aria-label":O["aria-label"]||x,"aria-describedby":L,ref:n}),v&&"left"===g&&(0,s.createElement)(Ve,{icon:v,size:y}),k&&(0,s.createElement)(s.Fragment,null,k),v&&"right"===g&&(0,s.createElement)(Ve,{icon:v,size:y}),E);return R?(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Mr,{text:P||x,shortcut:_,position:w},F),P&&(0,s.createElement)(Bn,null,(0,s.createElement)("span",{id:N},P))):(0,s.createElement)(s.Fragment,null,F,P&&(0,s.createElement)(Bn,null,(0,s.createElement)("span",{id:N},P)))}));let Wn=0;function Un(e){const t=document.scrollingElement||document.body;e&&(Wn=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=Wn)}let $n=0;function Kn(){return(0,s.useEffect)((()=>(0===$n&&Un(!0),++$n,()=>{1===$n&&Un(!1),--$n})),[]),null}var Gn=(0,s.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});var qn=e=>{const{getSlot:t,subscribe:n}=(0,s.useContext)(Gn),[r,o]=(0,s.useState)(t(e));return(0,s.useEffect)((()=>{o(t(e));return n((()=>{o(t(e))}))}),[e]),r};function Yn(e){let{name:t,children:n,registerFill:r,unregisterFill:o}=e;const i=qn(t),a=(0,s.useRef)({name:t,children:n});return(0,s.useLayoutEffect)((()=>(r(t,a.current),()=>o(t,a.current))),[]),(0,s.useLayoutEffect)((()=>{a.current.children=n,i&&i.forceUpdate()}),[n]),(0,s.useLayoutEffect)((()=>{t!==a.current.name&&(o(a.current.name,a.current),a.current.name=t,r(t,a.current))}),[t]),i&&i.node?((0,l.isFunction)(n)&&(n=n(i.props.fillProps)),(0,s.createPortal)(n,i.node)):null}var Xn=e=>(0,s.createElement)(Gn.Consumer,null,(t=>{let{registerFill:n,unregisterFill:r}=t;return(0,s.createElement)(Yn,a({},e,{registerFill:n,unregisterFill:r}))}));class Zn extends s.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:t,fillProps:n={},getFills:r}=this.props,o=(0,l.map)(r(t,this),(e=>{const t=(0,l.isFunction)(e.children)?e.children(n):e.children;return s.Children.map(t,((e,t)=>{if(!e||(0,l.isString)(e))return e;const n=e.key||t;return(0,s.cloneElement)(e,{key:n})}))})).filter((0,l.negate)(s.isEmptyElement));return(0,s.createElement)(s.Fragment,null,(0,l.isFunction)(e)?e(o):o)}}var Jn=e=>(0,s.createElement)(Gn.Consumer,null,(t=>{let{registerSlot:n,unregisterSlot:r,getFills:o}=t;return(0,s.createElement)(Zn,a({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}));var Qn=(0,s.createContext)({slots:{},fills:{},registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}});function er(e){const t=(0,s.useContext)(Qn),n=t.slots[e]||{},r=t.fills[e],o=(0,s.useMemo)((()=>r||[]),[r]);return{...n,updateSlot:(0,s.useCallback)((n=>{t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:(0,s.useCallback)((n=>{t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:o,registerFill:(0,s.useCallback)((n=>{t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:(0,s.useCallback)((n=>{t.unregisterFill(e,n)}),[e,t.unregisterFill])}}function tr(){const[,e]=(0,s.useState)({}),t=(0,s.useRef)(!0);return(0,s.useEffect)((()=>()=>{t.current=!1}),[]),()=>{t.current&&e({})}}function nr(e){let{name:t,children:n}=e;const r=er(t),o=(0,s.useRef)({rerender:tr()});return(0,s.useEffect)((()=>(r.registerFill(o),()=>{r.unregisterFill(o)})),[r.registerFill,r.unregisterFill]),r.ref&&r.ref.current?("function"==typeof n&&(n=n(r.fillProps)),(0,s.createPortal)(n,r.ref.current)):null}var rr=(0,s.forwardRef)((function(e,t){let{name:n,fillProps:r={},as:o="div",...i}=e;const l=(0,s.useContext)(Qn),u=(0,s.useRef)();return(0,s.useLayoutEffect)((()=>(l.registerSlot(n,u,r),()=>{l.unregisterSlot(n,u)})),[l.registerSlot,l.unregisterSlot,n]),(0,s.useLayoutEffect)((()=>{l.updateSlot(n,r)})),(0,s.createElement)(o,a({ref:(0,f.useMergeRefs)([t,u])},i))})),or=window.wp.isShallowEqual,ir=n.n(or);function ar(e){let{children:t}=e;const n=function(){const[e,t]=(0,s.useState)({}),[n,r]=(0,s.useState)({}),o=(0,s.useCallback)(((e,n,r)=>{t((t=>{const o=t[e]||{};return{...t,[e]:{...o,ref:n||o.ref,fillProps:r||o.fillProps||{}}}}))}),[]),i=(0,s.useCallback)(((e,n)=>{t((t=>{const{[e]:r,...o}=t;return(null==r?void 0:r.ref)===n?o:t}))}),[]),a=(0,s.useCallback)(((t,r)=>{const o=e[t];if(o&&!ir()(o.fillProps,r)){o.fillProps=r;const e=n[t];e&&e.map((e=>e.current.rerender()))}}),[e,n]),l=(0,s.useCallback)(((e,t)=>{r((n=>({...n,[e]:[...n[e]||[],t]})))}),[]),u=(0,s.useCallback)(((e,t)=>{r((n=>n[e]?{...n,[e]:n[e].filter((e=>e!==t))}:n))}),[]);return(0,s.useMemo)((()=>({slots:e,fills:n,registerSlot:o,updateSlot:a,unregisterSlot:i,registerFill:l,unregisterFill:u})),[e,n,o,a,i,l,u])}();return(0,s.createElement)(Qn.Provider,{value:n},t)}class sr extends s.Component{constructor(){super(...arguments),this.registerSlot=this.registerSlot.bind(this),this.registerFill=this.registerFill.bind(this),this.unregisterSlot=this.unregisterSlot.bind(this),this.unregisterFill=this.unregisterFill.bind(this),this.getSlot=this.getSlot.bind(this),this.getFills=this.getFills.bind(this),this.hasFills=this.hasFills.bind(this),this.subscribe=this.subscribe.bind(this),this.slots={},this.fills={},this.listeners=[],this.contextValue={registerSlot:this.registerSlot,unregisterSlot:this.unregisterSlot,registerFill:this.registerFill,unregisterFill:this.unregisterFill,getSlot:this.getSlot,getFills:this.getFills,hasFills:this.hasFills,subscribe:this.subscribe}}registerSlot(e,t){const n=this.slots[e];this.slots[e]=t,this.triggerListeners(),this.forceUpdateSlot(e),n&&n.forceUpdate()}registerFill(e,t){this.fills[e]=[...this.fills[e]||[],t],this.forceUpdateSlot(e)}unregisterSlot(e,t){this.slots[e]===t&&(delete this.slots[e],this.triggerListeners())}unregisterFill(e,t){this.fills[e]=(0,l.without)(this.fills[e],t),this.forceUpdateSlot(e)}getSlot(e){return this.slots[e]}getFills(e,t){return this.slots[e]!==t?[]:this.fills[e]}hasFills(e){return this.fills[e]&&!!this.fills[e].length}forceUpdateSlot(e){const t=this.getSlot(e);t&&t.forceUpdate()}triggerListeners(){this.listeners.forEach((e=>e()))}subscribe(e){return this.listeners.push(e),()=>{this.listeners=(0,l.without)(this.listeners,e)}}render(){return(0,s.createElement)(Gn.Provider,{value:this.contextValue},this.props.children)}}function lr(e){return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Xn,e),(0,s.createElement)(nr,e))}const ur=(0,s.forwardRef)(((e,t)=>{let{bubblesVirtually:n,...r}=e;return n?(0,s.createElement)(rr,a({},r,{ref:t})):(0,s.createElement)(Jn,r)}));function cr(e){let{children:t,...n}=e;return(0,s.createElement)(sr,n,(0,s.createElement)(ar,null,t))}function dr(e){const t=t=>(0,s.createElement)(lr,a({name:e},t));t.displayName=e+"Fill";const n=t=>(0,s.createElement)(ur,a({name:e},t));return n.displayName=e+"Slot",n.__unstableName=e,{Fill:t,Slot:n}}function fr(e){return"appear"===e?"top":"left"}function pr(e){if("loading"===e.type)return c()("components-animate__loading");const{type:t,origin:n=fr(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return c()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?c()("components-animate__slide-in","is-from-"+n):void 0}function hr(e){let{type:t,options:n={},children:r}=e;return r({className:pr({type:t,...n})})}const mr="Popover",vr=(0,s.createContext)();function gr(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i}=function(e){return e.ownerDocument.defaultView.getComputedStyle(e)}(t),a=n?parseInt(n,10):0,s=r?parseInt(r,10):0,l=o?parseInt(o,10):0,u=i?parseInt(i,10):0;return{x:e.left+l,y:e.top+a,width:e.width-l-u,height:e.height-a-s,left:e.left+l,right:e.right-u,top:e.top+a,bottom:e.bottom-s}}function yr(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function br(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function wr(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const _r=(0,s.forwardRef)(((e,t)=>{let{headerTitle:n,onClose:r,children:o,className:i,noArrow:l=!0,isAlternate:u,position:d="bottom right",range:p,focusOnMount:h="firstElement",anchorRef:m,shouldAnchorIncludePadding:v,anchorRect:g,getAnchorRect:y,expandOnMobile:b,animate:w=!0,onFocusOutside:_,__unstableStickyBoundaryElement:x,__unstableSlotName:E=mr,__unstableObserveElement:k,__unstableBoundaryParent:S,__unstableForcePosition:C,__unstableForceXAlignment:P,__unstableEditorCanvasWrapper:O,...M}=e;const T=(0,s.useRef)(null),D=(0,s.useRef)(null),I=(0,s.useRef)(),A=(0,f.useViewportMatch)("medium","<"),[R,N]=(0,s.useState)(),L=(0,s.useContext)(vr)||E,F=er(L),j=b&&A,[z,B]=(0,f.useResizeObserver)();l=j||l,(0,s.useLayoutEffect)((()=>{if(j)return wr(I.current,"is-without-arrow",l),wr(I.current,"is-alternate",u),yr(I.current,"data-x-axis"),yr(I.current,"data-y-axis"),br(I.current,"top"),br(I.current,"left"),br(D.current,"maxHeight"),void br(D.current,"maxWidth");const e=()=>{if(!I.current||!D.current)return;let e=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0;if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return je(t,t.ownerDocument||e.current.ownerDocument,i)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return je((0,Re.getRectangleFromRange)(r),r.endContainer.ownerDocument,i);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=je(r.getBoundingClientRect(),r.ownerDocument,i);return o?e:gr(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),a=t.getBoundingClientRect(),s=je(new window.DOMRect(n.left,n.top,n.width,a.bottom-n.top),e.ownerDocument,i);return o?s:gr(s,r)}if(!e.current)return;const{parentNode:a}=e.current,s=je(a.getBoundingClientRect(),a.ownerDocument,i);return o?s:gr(s,a)}(T,g,y,m,v,I.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=I.current;let r,o=0;if(t&&t!==n.body){const n=t.getBoundingClientRect();o=n.top,e=new window.DOMRect(e.left-n.left,e.top-n.top,e.width,e.height)}S&&(r=I.current.parentElement);const i=B.height?B:D.current.getBoundingClientRect(),{popoverTop:a,popoverLeft:s,xAxis:c,yAxis:f,contentHeight:p,contentWidth:h}=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,s=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0;const[u,c="center",d]=n.split(" "),f=Fe(e,t,u,d,r,0,o,a,l);return{...Le(e,t,c,d,r,f.yAxis,i,a,s),...f}}(e,i,d,x,I.current,o,r,C,P,O);"number"==typeof a&&"number"==typeof s&&(br(I.current,"top",a+"px"),br(I.current,"left",s+"px")),wr(I.current,"is-without-arrow",l||"center"===c&&"middle"===f),wr(I.current,"is-alternate",u),yr(I.current,"data-x-axis",c),yr(I.current,"data-y-axis",f),br(D.current,"maxHeight","number"==typeof p?p+"px":""),br(D.current,"maxWidth","number"==typeof h?h+"px":"");N(({left:"right",right:"left"}[c]||"center")+" "+({top:"bottom",bottom:"top"}[f]||"middle"))};e();const{ownerDocument:t}=I.current,{defaultView:n}=t,r=n.setInterval(e,500);let o;const i=()=>{n.cancelAnimationFrame(o),o=n.requestAnimationFrame(e)};n.addEventListener("click",i),n.addEventListener("resize",e),n.addEventListener("scroll",e,!0);const a=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(m);let s;return a&&a!==t&&(a.defaultView.addEventListener("resize",e),a.defaultView.addEventListener("scroll",e,!0)),k&&(s=new n.MutationObserver(e),s.observe(k,{attributes:!0})),()=>{var l,u;(n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",i),n.cancelAnimationFrame(o),a&&a!==t)&&(null===(l=a.defaultView)||void 0===l||l.removeEventListener("resize",e),null===(u=a.defaultView)||void 0===u||u.removeEventListener("scroll",e,!0));s&&s.disconnect()}}),[j,g,y,m,v,d,B,x,k,S]);const H=(e,t)=>{"focus-outside"===e&&_?_(t):r&&r()},[V,W]=(0,f.__experimentalUseDialog)({focusOnMount:h,__unstableOnClose:H,onClose:H}),U=(0,f.useMergeRefs)([I,V,t]),$=Boolean(w&&R)&&pr({type:"appear",origin:R});let K=(0,s.createElement)("div",a({className:c()("components-popover",i,$,{"is-expanded":j,"is-without-arrow":l,"is-alternate":u})},M,{ref:U},W,{tabIndex:"-1"}),j&&(0,s.createElement)(Kn,null),j&&(0,s.createElement)("div",{className:"components-popover__header"},(0,s.createElement)("span",{className:"components-popover__header-title"},n),(0,s.createElement)(Vn,{className:"components-popover__close",icon:Ne,onClick:r})),(0,s.createElement)("div",{ref:D,className:"components-popover__content"},(0,s.createElement)("div",{style:{position:"relative"}},z,o)));return F.ref&&(K=(0,s.createElement)(lr,{name:L},K)),m||g?K:(0,s.createElement)("span",{ref:T},K)}));_r.Slot=(0,s.forwardRef)((function(e,t){let{name:n=mr}=e;return(0,s.createElement)(ur,{bubblesVirtually:!0,name:n,className:"popover-slot",ref:t})})),_r.__unstableSlotNameProvider=vr.Provider;var xr=_r;var Er=function(e){let t,n,{shortcut:r,className:o}=e;return r?((0,l.isString)(r)&&(t=r),(0,l.isObject)(r)&&(t=r.display,n=r.ariaLabel),(0,s.createElement)("span",{className:o,"aria-label":n},t)):null};const kr=700,Sr=(0,s.createElement)("div",{className:"event-catcher"}),Cr=e=>{let{eventHandlers:t,child:n,childrenWithPopover:r}=e;return(0,s.cloneElement)((0,s.createElement)("span",{className:"disabled-element-wrapper"},(0,s.cloneElement)(Sr,t),(0,s.cloneElement)(n,{children:r})),t)},Pr=e=>{let{child:t,eventHandlers:n,childrenWithPopover:r}=e;return(0,s.cloneElement)(t,{...n,children:r})},Or=(e,t,n)=>{if(1!==s.Children.count(e))return;const r=s.Children.only(e);r.props.disabled||"function"==typeof r.props[t]&&r.props[t](n)};var Mr=function(e){const{children:t,position:n,text:r,shortcut:o,delay:i=kr}=e,[a,u]=(0,s.useState)(!1),[c,d]=(0,s.useState)(!1),p=(0,f.useDebounce)(d,i),h=e=>{Or(t,"onMouseDown",e),document.addEventListener("mouseup",g),u(!0)},m=e=>{Or(t,"onMouseUp",e),document.removeEventListener("mouseup",g),u(!1)},v=e=>"mouseUp"===e?m:"mouseDown"===e?h:void 0,g=v("mouseUp"),y=(e,n)=>r=>{if(Or(t,e,r),r.currentTarget.disabled)return;if("focus"===r.type&&a)return;p.cancel();const o=(0,l.includes)(["focus","mouseenter"],r.type);o!==c&&(n?p(o):d(o))},b=()=>{p.cancel(),document.removeEventListener("mouseup",g)};if((0,s.useEffect)((()=>b),[]),1!==s.Children.count(t))return t;const w={onMouseEnter:y("onMouseEnter",!0),onMouseLeave:y("onMouseLeave"),onClick:y("onClick"),onFocus:y("onFocus"),onBlur:y("onBlur"),onMouseDown:v("mouseDown")},_=s.Children.only(t),{children:x,disabled:E}=_.props,k=E?Cr:Pr,S=(e=>{let{grandchildren:t,isOver:n,position:r,text:o,shortcut:i}=e;return(0,s.concatChildren)(t,n&&(0,s.createElement)(xr,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,(0,s.createElement)(Er,{className:"components-tooltip__shortcut",shortcut:i})))})({grandchildren:x,...{isOver:c,position:n,text:r,shortcut:o}});return k({child:_,eventHandlers:w,childrenWithPopover:S})};const Tr=[["top left","top center","top right"],["center left","center center","center right"],["bottom left","bottom center","bottom right"]],Dr={"top left":(0,d.__)("Top Left"),"top center":(0,d.__)("Top Center"),"top right":(0,d.__)("Top Right"),"center left":(0,d.__)("Center Left"),"center center":(0,d.__)("Center Center"),"center right":(0,d.__)("Center Right"),"bottom left":(0,d.__)("Bottom Left"),"bottom center":(0,d.__)("Bottom Center"),"bottom right":(0,d.__)("Bottom Right")},Ir=(0,l.flattenDeep)(Tr);function Ar(e){return("center"===e?"center center":e).replace("-"," ")}function Rr(e,t){return`${e}-${Ar(t).replace(" ","-")}`}n(1281);function Nr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return dn(t)}var Lr={grad:.9,turn:360,rad:360/(2*Math.PI)},Fr=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},jr=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},zr=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},Br=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Hr=function(e){return{r:zr(e.r,0,255),g:zr(e.g,0,255),b:zr(e.b,0,255),a:zr(e.a)}},Vr=function(e){return{r:jr(e.r),g:jr(e.g),b:jr(e.b),a:jr(e.a,3)}},Wr=/^#([0-9a-f]{3,8})$/i,Ur=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},$r=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),a=i-Math.min(t,n,r),s=a?i===t?(n-r)/a:i===n?2+(r-t)/a:4+(t-n)/a:0;return{h:60*(s<0?s+6:s),s:i?a/i*100:0,v:i/255*100,a:o}},Kr=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),a=r*(1-n),s=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:255*[r,s,a,a,l,r][u],g:255*[l,r,r,s,a,a][u],b:255*[a,a,l,r,r,s][u],a:o}},Gr=function(e){return{h:Br(e.h),s:zr(e.s,0,100),l:zr(e.l,0,100),a:zr(e.a)}},qr=function(e){return{h:jr(e.h),s:jr(e.s),l:jr(e.l),a:jr(e.a,3)}},Yr=function(e){return Kr((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},Xr=function(e){return{h:(t=$r(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},Zr=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Jr=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Qr=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,eo=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,to={string:[[function(e){var t=Wr.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?jr(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?jr(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Qr.exec(e)||eo.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Hr({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=Zr.exec(e)||Jr.exec(e);if(!t)return null;var n,r,o=Gr({h:(n=t[1],r=t[2],void 0===r&&(r="deg"),Number(n)*(Lr[r]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return Yr(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=void 0===o?1:o;return Fr(t)&&Fr(n)&&Fr(r)?Hr({r:Number(t),g:Number(n),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,i=void 0===o?1:o;if(!Fr(t)||!Fr(n)||!Fr(r))return null;var a=Gr({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return Yr(a)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,i=void 0===o?1:o;if(!Fr(t)||!Fr(n)||!Fr(r))return null;var a=function(e){return{h:Br(e.h),s:zr(e.s,0,100),v:zr(e.v,0,100),a:zr(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(i)});return Kr(a)},"hsv"]]},no=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},ro=function(e){return"string"==typeof e?no(e.trim(),to.string):"object"==typeof e&&null!==e?no(e,to.object):[null,void 0]},oo=function(e,t){var n=Xr(e);return{h:n.h,s:zr(n.s+100*t,0,100),l:n.l,a:n.a}},io=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},ao=function(e,t){var n=Xr(e);return{h:n.h,s:n.s,l:zr(n.l+100*t,0,100),a:n.a}},so=function(){function e(e){this.parsed=ro(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return jr(io(this.rgba),2)},e.prototype.isDark=function(){return io(this.rgba)<.5},e.prototype.isLight=function(){return io(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=Vr(this.rgba)).r,n=e.g,r=e.b,i=(o=e.a)<1?Ur(jr(255*o)):"","#"+Ur(t)+Ur(n)+Ur(r)+i;var e,t,n,r,o,i},e.prototype.toRgb=function(){return Vr(this.rgba)},e.prototype.toRgbString=function(){return t=(e=Vr(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return qr(Xr(this.rgba))},e.prototype.toHslString=function(){return t=(e=qr(Xr(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=$r(this.rgba),{h:jr(e.h),s:jr(e.s),v:jr(e.v),a:jr(e.a,3)};var e},e.prototype.invert=function(){return lo({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),lo(oo(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),lo(oo(this.rgba,-e))},e.prototype.grayscale=function(){return lo(oo(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),lo(ao(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),lo(ao(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?lo({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):jr(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=Xr(this.rgba);return"number"==typeof e?lo({h:e,s:t.s,l:t.l,a:t.a}):jr(t.h)},e.prototype.isEqual=function(e){return this.toHex()===lo(e).toHex()},e}(),lo=function(e){return e instanceof so?e:new so(e)},uo=[],co=function(e){e.forEach((function(e){uo.indexOf(e)<0&&(e(so,to),uo.push(e))}))};function fo(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"},r={};for(var o in n)r[n[o]]=o;var i={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,a,s=r[this.toHex()];if(s)return s;if(null==t?void 0:t.closest){var l=this.toRgb(),u=1/0,c="black";if(!i.length)for(var d in n)i[d]=new e(n[d]).toRgb();for(var f in n){var p=(o=l,a=i[f],Math.pow(o.r-a.r,2)+Math.pow(o.g-a.g,2)+Math.pow(o.b-a.b,2));p<u&&(u=p,c=f)}return c}},t.string.push([function(t){var r=t.toLowerCase(),o="transparent"===r?"#0000":n[r];return o?new e(o).toRgb():null},"name"])}function po(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return lo(e).alpha(t).toRgbString()}co([fo]);const ho={black:"#000",white:"#fff"},mo={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",200:"#ddd",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e",heading:"#050505"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},vo={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:po(mo.gray[900],.62)},go={900:po("#000510",.9),800:po("#00000a",.85),700:po("#06060b",.8),600:po("#000913",.75),500:po("#0a1829",.7),400:po("#0a1829",.65),300:po("#0e1c2e",.62),200:po("#162435",.55),100:po("#223443",.5),backgroundFill:po(vo[700],.7)},yo={900:po("#304455",.45),800:po("#425863",.4),700:po("#667886",.35),600:po("#7b86a2",.3),500:po("#9197a2",.25),400:po("#95959c",.2),300:po("#829493",.15),200:po("#8b8b96",.1),100:po("#747474",.05)},bo={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:po(ho.white,.65)},wo={900:po(ho.white,.5),800:po(ho.white,.45),700:po(ho.white,.4),600:po(ho.white,.35),500:po(ho.white,.3),400:po(ho.white,.25),300:po(ho.white,.2),200:po(ho.white,.15),100:po(ho.white,.1),backgroundFill:po(bo[300],.8)},_o={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},xo={theme:`var( --wp-admin-theme-color, ${_o.wordpress[700]})`,themeDark10:`var( --wp-admin-theme-color-darker-10, ${_o.medium.focus})`},Eo={theme:xo.theme,background:ho.white,backgroundDisabled:bo[200],border:mo.gray[700],borderHover:mo.gray[700],borderFocus:xo.themeDark10,borderDisabled:mo.gray[400],borderLight:mo.gray[200],label:vo[500],textDisabled:vo[150],textDark:ho.white,textLight:ho.black},ko={...ho,darkGray:(0,l.merge)({},vo,mo.darkGray),darkOpacity:go,darkOpacityLight:yo,mediumGray:mo.mediumGray,gray:mo.gray,lightGray:(0,l.merge)({},bo,mo.lightGray),lightGrayLight:wo,blue:(0,l.merge)({},_o,mo.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:xo,ui:Eo};function So(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transition";switch(t){case"transition":e="transition-duration: 0ms;";break;case"animation":e="animation-duration: 1ms;";break;default:e="\n\t\t\t\tanimation-duration: 1ms;\n\t\t\t\ttransition-duration: 0ms;\n\t\t\t"}return`\n\t\t@media ( prefers-reduced-motion: reduce ) {\n\t\t\t${e};\n\t\t}\n\t`}var Co={name:"lp9rn7",styles:"border-radius:2px;box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr );outline:none"};const Po=()=>Co,Oo=Fn("div",{target:"e1od1u4s3"})(Po,";border:1px solid transparent;cursor:pointer;grid-template-columns:auto;",(e=>{let{size:t=92}=e;return Nr("grid-template-rows:repeat( 3, calc( ",t,"px / 3 ) );width:",t,"px;","")}),";"),Mo=Fn("div",{target:"e1od1u4s2"})({name:"1x5gbbj",styles:"box-sizing:border-box;display:grid;grid-template-columns:repeat( 3, 1fr )"}),To=e=>Nr("background:currentColor;box-sizing:border-box;display:grid;margin:auto;transition:all 120ms linear;",So("transition")," ",(e=>{let{isActive:t}=e;return Nr("box-shadow:",t?`0 0 0 2px ${ko.black}`:null,";color:",t?ko.black:ko.lightGray[800],";*:hover>&{color:",t?ko.black:ko.blue.medium.focus,";}","")})(e),";",""),Do=Fn("span",{target:"e1od1u4s1"})("height:6px;width:6px;",To,";"),Io=Fn("span",{target:"e1od1u4s0"})({name:"rjf3ub",styles:"appearance:none;border:none;box-sizing:border-box;margin:0;display:flex;position:relative;outline:none;align-items:center;justify-content:center;padding:0"});function Ao(e){let{isActive:t=!1,value:n,...r}=e;const o=Dr[n];return(0,s.createElement)(Mr,{text:o},(0,s.createElement)(Ae,a({as:Io,role:"gridcell"},r),(0,s.createElement)(Bn,null,n),(0,s.createElement)(Do,{isActive:t,role:"presentation"})))}function Ro(e){return(0,b.useState)(e)[0]}function No(e){for(var t,n=[[]],r=function(){var e=t.value,r=n.find((function(t){return!t[0]||t[0].groupId===e.groupId}));r?r.push(e):n.push([e])},o=y(e);!(t=o()).done;)r();return n}function Lo(e){for(var t,n=[],r=y(e);!(t=r()).done;){var o=t.value;n.push.apply(n,o)}return n}function Fo(e){return e.slice().reverse()}function jo(e,t){if(t)return null==e?void 0:e.find((function(e){return e.id===t&&!e.disabled}))}function zo(e,t){return function(e){return"function"==typeof e}(e)?e(t):e}function Bo(e){void 0===e&&(e={});var t=Ro(e).baseId,n=(0,b.useContext)(Pe),r=(0,b.useRef)(0),o=(0,b.useState)((function(){return t||n()}));return{baseId:o[0],setBaseId:o[1],unstable_idCountRef:r}}function Ho(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function Vo(e,t){return e.findIndex((function(e){return!(!e.ref.current||!t.ref.current)&&Ho(t.ref.current,e.ref.current)}))}function Wo(e){for(var t,n=0,r=y(e);!(t=r()).done;){var o=t.value.length;o>n&&(n=o)}return n}function Uo(e){for(var t=No(e),n=Wo(t),r=[],o=0;o<n;o+=1)for(var i,a=y(t);!(i=a()).done;){var s=i.value;s[o]&&r.push(m(m({},s[o]),{},{groupId:s[o].groupId?""+o:void 0}))}return r}function $o(e,t,n){for(var r,o=Wo(e),i=y(e);!(r=i()).done;)for(var a=r.value,s=0;s<o;s+=1){var l=a[s];if(!l||n&&l.disabled){var u=0===s&&n?ve(a):a[s-1];a[s]=u&&t!==(null==u?void 0:u.id)&&n?u:{id:"__EMPTY_ITEM__",disabled:!0,ref:{current:null},groupId:null==u?void 0:u.groupId}}}return e}var Ko={id:null,ref:{current:null}};function Go(e,t){return e.filter((function(e){return e.groupId===t}))}var qo={horizontal:"vertical",vertical:"horizontal"};function Yo(e,t,n){return n in e?[].concat(e.slice(0,n),[t],e.slice(n)):[].concat(e,[t])}function Xo(e){var t=e.map((function(e,t){return[t,e]})),n=!1;return t.sort((function(e,t){var r=e[0],o=e[1],i=t[0],a=t[1],s=o.ref.current,l=a.ref.current;return s&&l?Ho(s,l)?(r>i&&(n=!0),-1):(r<i&&(n=!0),1):0})),n?t.map((function(e){e[0];return e[1]})):e}function Zo(e,t){var n=Xo(e);e!==n&&t(n)}function Jo(e,t){var n=(0,b.useRef)([]);(0,b.useEffect)((function(){for(var r,o=function(e){for(var t,n=e[0],r=e.slice(1),o=null==n||null===(t=n.ref.current)||void 0===t?void 0:t.parentElement,i=function(){var e=o;if(r.every((function(t){return e.contains(t.ref.current)})))return{v:o};o=o.parentElement};o;){var a=i();if("object"==typeof a)return a.v}return U(o).body}(e),i=new IntersectionObserver((function(){!!n.current.length&&Zo(e,t),n.current=e}),{root:o}),a=y(e);!(r=a()).done;){var s=r.value;s.ref.current&&i.observe(s.ref.current)}return function(){i.disconnect()}}),[e])}function Qo(e,t){"function"==typeof IntersectionObserver?Jo(e,t):function(e,t){(0,b.useEffect)((function(){var n=setTimeout((function(){return Zo(e,t)}),250);return function(){return clearTimeout(n)}}))}(e,t)}function ei(e,t){var n=e.unstable_virtual,r=e.rtl,o=e.orientation,i=e.items,a=e.groups,s=e.currentId,l=e.loop,u=e.wrap,c=e.pastIds,d=e.shift,f=e.unstable_moves,p=e.unstable_includesBaseElement,h=e.initialVirtual,v=e.initialRTL,g=e.initialOrientation,y=e.initialCurrentId,b=e.initialLoop,w=e.initialWrap,_=e.initialShift,x=e.hasSetCurrentId;switch(t.type){case"registerGroup":var E=t.group;if(0===a.length)return m(m({},e),{},{groups:[E]});var k=Vo(a,E);return m(m({},e),{},{groups:Yo(a,E,k)});case"unregisterGroup":var S=t.id,C=a.filter((function(e){return e.id!==S}));return C.length===a.length?e:m(m({},e),{},{groups:C});case"registerItem":var P,O=t.item,M=a.find((function(e){var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(O.ref.current)})),T=m({groupId:null==M?void 0:M.id},O),D=Vo(i,T),I=m(m({},e),{},{items:Yo(i,T,D)});return x||f||void 0!==y?I:m(m({},I),{},{currentId:null===(P=ve(I.items))||void 0===P?void 0:P.id});case"unregisterItem":var A=t.id,R=i.filter((function(e){return e.id!==A}));if(R.length===i.length)return e;var N=c.filter((function(e){return e!==A})),L=m(m({},e),{},{pastIds:N,items:R});if(s&&s===A){var F=p?null:ge(m(m({},L),{},{currentId:N[0]}));return m(m({},L),{},{currentId:F})}return L;case"move":var j=t.id;if(void 0===j)return e;var z=c.filter((function(e){return e!==s&&e!==j})),B=s?[s].concat(z):z,H=m(m({},e),{},{pastIds:B});if(null===j)return m(m({},H),{},{unstable_moves:f+1,currentId:ge(H,j)});var V=jo(i,j);return m(m({},H),{},{unstable_moves:V?f+1:f,currentId:ge(H,null==V?void 0:V.id)});case"next":if(null==s)return ei(e,m(m({},t),{},{type:"first"}));var W=r&&"vertical"!==o,U=W?Fo(i):i,$=U.find((function(e){return e.id===s}));if(!$)return ei(e,m(m({},t),{},{type:"first"}));var K=!!$.groupId,G=U.indexOf($),q=U.slice(G+1),Y=Go(q,$.groupId);if(t.allTheWay){var X=ve(W?Go(U,$.groupId):Fo(Y));return ei(e,m(m({},t),{},{type:"move",id:null==X?void 0:X.id}))}var Z=function(e){return e&&qo[e]}(K?o||"horizontal":o),J=l&&l!==Z,Q=K&&u&&u!==Z,ee=t.hasNullItem||!K&&J&&p;if(J){var te=function(e,t,n){var r=e.findIndex((function(e){return e.id===t}));return[].concat(e.slice(r+1),n?[Ko]:[],e.slice(0,r))}(Q&&!ee?U:Go(U,$.groupId),s,ee),ne=ve(te,s);return ei(e,m(m({},t),{},{type:"move",id:null==ne?void 0:ne.id}))}if(Q){var re=ve(ee?Y:q,s),oe=ee?(null==re?void 0:re.id)||null:null==re?void 0:re.id;return ei(e,m(m({},t),{},{type:"move",id:oe}))}var ie=ve(Y,s);return ei(e,!ie&&ee?m(m({},t),{},{type:"move",id:null}):m(m({},t),{},{type:"move",id:null==ie?void 0:ie.id}));case"previous":var ae=!!!a.length&&p,se=ei(m(m({},e),{},{items:Fo(i)}),m(m({},t),{},{type:"next",hasNullItem:ae}));return m(m({},se),{},{items:i});case"down":var le=d&&!t.allTheWay,ue=Uo(Lo($o(No(i),s,le))),ce=l&&"horizontal"!==l&&p,de=ei(m(m({},e),{},{orientation:"vertical",items:ue}),m(m({},t),{},{type:"next",hasNullItem:ce}));return m(m({},de),{},{orientation:o,items:i});case"up":var fe=d&&!t.allTheWay,pe=Uo(Fo(Lo($o(No(i),s,fe)))),he=p,me=ei(m(m({},e),{},{orientation:"vertical",items:pe}),m(m({},t),{},{type:"next",hasNullItem:he}));return m(m({},me),{},{orientation:o,items:i});case"first":var ye=ve(i);return ei(e,m(m({},t),{},{type:"move",id:null==ye?void 0:ye.id}));case"last":var be=ei(m(m({},e),{},{items:Fo(i)}),m(m({},t),{},{type:"first"}));return m(m({},be),{},{items:i});case"sort":return m(m({},e),{},{items:Xo(i),groups:Xo(a)});case"setVirtual":return m(m({},e),{},{unstable_virtual:zo(t.virtual,n)});case"setRTL":return m(m({},e),{},{rtl:zo(t.rtl,r)});case"setOrientation":return m(m({},e),{},{orientation:zo(t.orientation,o)});case"setCurrentId":var we=ge(m(m({},e),{},{currentId:zo(t.currentId,s)}));return m(m({},e),{},{currentId:we,hasSetCurrentId:!0});case"setLoop":return m(m({},e),{},{loop:zo(t.loop,l)});case"setWrap":return m(m({},e),{},{wrap:zo(t.wrap,u)});case"setShift":return m(m({},e),{},{shift:zo(t.shift,d)});case"setIncludesBaseElement":return m(m({},e),{},{unstable_includesBaseElement:zo(t.includesBaseElement,p)});case"reset":return m(m({},e),{},{unstable_virtual:h,rtl:v,orientation:g,currentId:ge(m(m({},e),{},{currentId:y})),loop:b,wrap:w,shift:_,unstable_moves:0,pastIds:[]});case"setItems":return m(m({},e),{},{items:t.items});default:throw new Error}}function ti(e){return(0,b.useCallback)(e,[])}function ni(e){void 0===e&&(e={});var t=Ro(e),n=t.unstable_virtual,r=void 0!==n&&n,o=t.rtl,i=void 0!==o&&o,a=t.orientation,s=t.currentId,l=t.loop,u=void 0!==l&&l,c=t.wrap,d=void 0!==c&&c,f=t.shift,p=void 0!==f&&f,h=t.unstable_includesBaseElement,g=Bo(v(t,["unstable_virtual","rtl","orientation","currentId","loop","wrap","shift","unstable_includesBaseElement"])),y=(0,b.useReducer)(ei,{unstable_virtual:r,rtl:i,orientation:a,items:[],groups:[],currentId:s,loop:u,wrap:d,shift:p,unstable_moves:0,pastIds:[],unstable_includesBaseElement:null!=h?h:null===s,initialVirtual:r,initialRTL:i,initialOrientation:a,initialCurrentId:s,initialLoop:u,initialWrap:d,initialShift:p}),w=y[0],_=(w.pastIds,w.initialVirtual,w.initialRTL,w.initialOrientation,w.initialCurrentId,w.initialLoop,w.initialWrap,w.initialShift,w.hasSetCurrentId,v(w,["pastIds","initialVirtual","initialRTL","initialOrientation","initialCurrentId","initialLoop","initialWrap","initialShift","hasSetCurrentId"])),x=y[1],E=(0,b.useState)(!1),k=E[0],S=E[1],C=function(){var e=(0,b.useRef)(!1);return G((function(){return function(){e.current=!0}}),[]),e}(),P=(0,b.useCallback)((function(e){return x({type:"setItems",items:e})}),[]);return Qo(_.items,P),m(m(m({},g),_),{},{unstable_hasActiveWidget:k,unstable_setHasActiveWidget:S,registerItem:ti((function(e){C.current||x({type:"registerItem",item:e})})),unregisterItem:ti((function(e){C.current||x({type:"unregisterItem",id:e})})),registerGroup:ti((function(e){C.current||x({type:"registerGroup",group:e})})),unregisterGroup:ti((function(e){C.current||x({type:"unregisterGroup",id:e})})),move:ti((function(e){return x({type:"move",id:e})})),next:ti((function(e){return x({type:"next",allTheWay:e})})),previous:ti((function(e){return x({type:"previous",allTheWay:e})})),up:ti((function(e){return x({type:"up",allTheWay:e})})),down:ti((function(e){return x({type:"down",allTheWay:e})})),first:ti((function(){return x({type:"first"})})),last:ti((function(){return x({type:"last"})})),sort:ti((function(){return x({type:"sort"})})),unstable_setVirtual:ti((function(e){return x({type:"setVirtual",virtual:e})})),setRTL:ti((function(e){return x({type:"setRTL",rtl:e})})),setOrientation:ti((function(e){return x({type:"setOrientation",orientation:e})})),setCurrentId:ti((function(e){return x({type:"setCurrentId",currentId:e})})),setLoop:ti((function(e){return x({type:"setLoop",loop:e})})),setWrap:ti((function(e){return x({type:"setWrap",wrap:e})})),setShift:ti((function(e){return x({type:"setShift",shift:e})})),unstable_setIncludesBaseElement:ti((function(e){return x({type:"setIncludesBaseElement",includesBaseElement:e})})),reset:ti((function(){return x({type:"reset"})}))})}function ri(e,t,n){return void 0===n&&(n={}),"function"==typeof FocusEvent?new FocusEvent(t,n):Me(e,t,n)}function oi(e,t){var n=ri(e,"blur",t),r=e.dispatchEvent(n),o=I(I({},t),{},{bubbles:!0});return e.dispatchEvent(ri(e,"focusout",o)),r}function ii(e,t,n){return e.dispatchEvent(function(e,t,n){if(void 0===n&&(n={}),"function"==typeof KeyboardEvent)return new KeyboardEvent(t,n);var r=U(e).createEvent("KeyboardEvent");return r.initKeyboardEvent(t,n.bubbles,n.cancelable,$(e),n.key,n.location,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey),r}(e,t,n))}var ai=K&&"msCrypto"in window;function si(e){return ai?X(e.currentTarget):e.relatedTarget}var li=K&&"msCrypto"in window;function ui(e,t,n){var r=q(n);return(0,b.useCallback)((function(n){var o;if(null===(o=r.current)||void 0===o||o.call(r,n),!n.defaultPrevented&&e&&function(e){return!!Y(e)&&!e.metaKey&&"Tab"!==e.key}(n)){var i=null==t?void 0:t.ref.current;i&&(ii(i,n.type,n)||n.preventDefault(),n.currentTarget.contains(i)&&n.stopPropagation())}}),[e,t])}function ci(e,t){return null==e?void 0:e.some((function(e){return!!t&&e.ref.current===t}))}var di=H({name:"Composite",compose:[he],keys:ye,useOptions:function(e){return m(m({},e),{},{currentId:ge(e)})},useProps:function(e,t){var n=t.ref,r=t.onFocusCapture,o=t.onFocus,i=t.onBlurCapture,a=t.onKeyDown,s=t.onKeyDownCapture,l=t.onKeyUpCapture,u=v(t,["ref","onFocusCapture","onFocus","onBlurCapture","onKeyDown","onKeyDownCapture","onKeyUpCapture"]),c=(0,b.useRef)(null),d=jo(e.items,e.currentId),f=(0,b.useRef)(null),p=q(r),h=q(o),g=q(i),y=q(a),w=function(e){var t=q(e),n=(0,b.useReducer)((function(e){return e+1}),0),r=n[0],o=n[1];return(0,b.useEffect)((function(){var e,n=null===(e=t.current)||void 0===e?void 0:e.ref.current;r&&n&&_e(n)}),[r]),o}(d),_=li?function(e){var t=(0,b.useRef)(null);return(0,b.useEffect)((function(){var n=U(e.current),r=function(e){var n=e.target;t.current=n};return n.addEventListener("focus",r,!0),function(){n.removeEventListener("focus",r,!0)}}),[]),t}(c):void 0;(0,b.useEffect)((function(){var t=c.current;e.unstable_moves&&!d&&(null==t||t.focus())}),[e.unstable_moves,d]);var x=ui(e.unstable_virtual,d,s),E=ui(e.unstable_virtual,d,l),k=(0,b.useCallback)((function(t){var n;if(null===(n=p.current)||void 0===n||n.call(p,t),!t.defaultPrevented&&e.unstable_virtual){var r=(null==_?void 0:_.current)||t.relatedTarget,o=ci(e.items,r);Y(t)&&o&&(t.stopPropagation(),f.current=r)}}),[e.unstable_virtual,e.items]),S=(0,b.useCallback)((function(t){var n;if(null===(n=h.current)||void 0===n||n.call(h,t),!t.defaultPrevented)if(e.unstable_virtual)Y(t)&&w();else if(Y(t)){var r;null===(r=e.setCurrentId)||void 0===r||r.call(e,null)}}),[e.unstable_virtual,e.setCurrentId]),C=(0,b.useCallback)((function(t){var n;if(null===(n=g.current)||void 0===n||n.call(g,t),!t.defaultPrevented&&e.unstable_virtual){var r=(null==d?void 0:d.ref.current)||null,o=si(t),i=ci(e.items,o);if(Y(t)&&i)o===r?f.current&&f.current!==o&&oi(f.current,t):r&&oi(r,t),t.stopPropagation();else!ci(e.items,t.target)&&r&&oi(r,t)}}),[e.unstable_virtual,e.items,d]),P=(0,b.useCallback)((function(t){var n,r;if(null===(n=y.current)||void 0===n||n.call(y,t),!t.defaultPrevented&&null===e.currentId&&Y(t)){var o="horizontal"!==e.orientation,i="vertical"!==e.orientation,a=!(null===(r=e.groups)||void 0===r||!r.length),s={ArrowUp:(a||o)&&function(){if(a){var t,n=ve(Lo(Fo(No(e.items))));if(null!=n&&n.id)null===(t=e.move)||void 0===t||t.call(e,n.id)}else{var r;null===(r=e.last)||void 0===r||r.call(e)}},ArrowRight:(a||i)&&e.first,ArrowDown:(a||o)&&e.first,ArrowLeft:(a||i)&&e.last,Home:e.first,End:e.last,PageUp:e.first,PageDown:e.last},l=s[t.key];l&&(t.preventDefault(),l())}}),[e.currentId,e.orientation,e.groups,e.items,e.move,e.last,e.first]);return m({ref:W(c,n),id:e.baseId,onFocus:S,onFocusCapture:k,onBlurCapture:C,onKeyDownCapture:x,onKeyDown:P,onKeyUpCapture:E,"aria-activedescendant":e.unstable_virtual&&(null==d?void 0:d.id)||void 0},u)},useComposeProps:function(e,t){t=ue(e,t,!0);var n=he(e,t,!0);return e.unstable_virtual||null===e.currentId?m({tabIndex:0},n):m(m({},t),{},{ref:n.ref})}}),fi=z({as:"div",useHook:di,useCreateElement:function(e,t,n){return M(e,t,n)}}),pi=H({name:"Group",compose:ue,keys:[],useProps:function(e,t){return m({role:"group"},t)}}),hi=(z({as:"div",useHook:pi}),H({name:"CompositeGroup",compose:[pi,Oe],keys:be,propsAreEqual:function(e,t){if(!t.id||e.id!==t.id)return pi.unstable_propsAreEqual(e,t);var n=e.currentId,r=(e.unstable_moves,v(e,["currentId","unstable_moves"])),o=t.currentId,i=(t.unstable_moves,v(t,["currentId","unstable_moves"]));if(e.items&&t.items){var a=jo(e.items,n),s=jo(t.items,o),l=null==a?void 0:a.groupId,u=null==s?void 0:s.groupId;if(t.id===u||t.id===l)return!1}return pi.unstable_propsAreEqual(r,i)},useProps:function(e,t){var n=t.ref,r=v(t,["ref"]),o=(0,b.useRef)(null),i=e.id;return G((function(){var t;if(i)return null===(t=e.registerGroup)||void 0===t||t.call(e,{id:i,ref:o}),function(){var t;null===(t=e.unregisterGroup)||void 0===t||t.call(e,i)}}),[i,e.registerGroup,e.unregisterGroup]),m({ref:W(o,n)},r)}})),mi=z({as:"div",useHook:hi});Fn("div",{target:"elqsdmc2"})({name:"ogl07i",styles:"box-sizing:border-box;padding:2px"});const vi=Fn("div",{target:"elqsdmc1"})("transform-origin:top left;height:100%;width:100%;",Po,";",(()=>Nr({gridTemplateRows:"repeat( 3, calc( 21px / 3))",padding:1.5,maxHeight:24,maxWidth:24},"","")),";",(e=>{let{disablePointerEvents:t}=e;return Nr({pointerEvents:t?"none":null},"","")}),";"),gi=Fn("span",{target:"elqsdmc0"})("height:2px;width:2px;",To,";",(e=>{let{isActive:t}=e;return Nr("box-shadow:",t?"0 0 0 1px currentColor":null,";color:currentColor;*:hover>&{color:currentColor;}","")}),";"),yi=Io,bi=24;function wi(e){let{className:t,id:n,label:r=(0,d.__)("Alignment Matrix Control"),defaultValue:o="center center",value:i,onChange:u=l.noop,width:p=92,...h}=e;const[m]=(0,s.useState)(null!=i?i:o),v=function(e){const t=(0,f.useInstanceId)(wi,"alignment-matrix-control");return e||t}(n),g=Rr(v,m),y=ni({baseId:v,currentId:g,rtl:(0,d.isRTL)()});(0,s.useEffect)((()=>{void 0!==i&&y.setCurrentId(Rr(v,i))}),[i,y.setCurrentId]);const b=c()("component-alignment-matrix-control",t);return(0,s.createElement)(fi,a({},h,y,{"aria-label":r,as:Oo,className:b,role:"grid",width:p}),Tr.map(((e,t)=>(0,s.createElement)(mi,a({},y,{as:Mo,role:"row",key:t}),e.map((e=>{const t=Rr(v,e),n=y.currentId===t;return(0,s.createElement)(Ao,a({},y,{id:t,isActive:n,key:e,value:e,onFocus:()=>{u(e)},tabIndex:n?0:-1}))}))))))}wi.Icon=function(e){let{className:t,disablePointerEvents:n=!0,size:r=bi,style:o={},value:i="center",...l}=e;const u=function(){const e=Ar(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"center").replace("-"," "),t=Ir.indexOf(e);return t>-1?t:void 0}(i),d=(r/bi).toFixed(2),f=c()("component-alignment-matrix-control-icon",t),p={...o,transform:`scale(${d})`};return(0,s.createElement)(vi,a({},l,{className:f,disablePointerEvents:n,role:"presentation",size:r,style:p}),Ir.map(((e,t)=>{const n=u===t;return(0,s.createElement)(yi,{key:e},(0,s.createElement)(gi,{isActive:n}))})))};
 /*! *****************************************************************************
 Copyright (c) Microsoft Corporation.

@@ -21,7 +34,8 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 PERFORMANCE OF THIS SOFTWARE.
-***************************************************************************** */function at(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ot(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var it=function(){return(it=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ct(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function st(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function lt(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var ut=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},dt={measureLayout:ut(["layout","layoutId","drag","_layoutResetTransform"]),animation:ut(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:ut(["exit"]),drag:ut(["drag","dragControls"]),focus:ut(["whileFocus"]),hover:ut(["whileHover","onHoverStart","onHoverEnd"]),tap:ut(["whileTap","onTap","onTapStart","onTapCancel"]),pan:ut(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:ut(["layout","layoutId"])};var ft=Object(q.createContext)({strict:!1}),pt=Object.keys(dt),bt=pt.length;var ht=Object(q.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),mt=Object(q.createContext)({});var vt=Object(q.createContext)(null);function gt(e){var t=Object(q.useRef)(null);return null===t.current&&(t.current=e()),t.current}function yt(){var e=Object(q.useContext)(vt);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=xt();Object(q.useEffect)((function(){return r(o)}),[]);return!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}function Ot(e){return null===e||e.isPresent}var jt=0,wt=function(){return jt++},xt=function(){return gt(wt)},_t=Object(q.createContext)(null),Et="undefined"!=typeof window,kt=Et?q.useLayoutEffect:q.useEffect;function St(e,t,n,r){var o=Object(q.useContext)(ht),a=Object(q.useContext)(ft),i=Object(q.useContext)(mt).visualElement,c=Object(q.useContext)(vt),s=function(e){var t=e.layoutId,n=Object(q.useContext)(_t);return n&&void 0!==t?n+"-"+t:t}(n),l=Object(q.useRef)(void 0);r||(r=a.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:it(it({},n),{layoutId:s}),presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial)}));var u=l.current;return kt((function(){u&&(u.setProps(it(it(it({},o),n),{layoutId:s})),u.isPresent=Ot(c),u.isPresenceRoot=!i||i.presenceId!==(null==c?void 0:c.id),u.syncRender())})),Object(q.useEffect)((function(){var e;u&&(null===(e=u.animationState)||void 0===e||e.animateChanges())})),kt((function(){return function(){return null==u?void 0:u.notifyUnmount()}}),[]),u}function Ct(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Pt(e){return Array.isArray(e)}function Tt(e){return"string"==typeof e||Pt(e)}function Mt(e,t,n,r,o){var a;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function Dt(e,t,n){var r=e.getProps();return Mt(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function It(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||Tt(e.initial)||Tt(e.animate)||Tt(e.whileHover)||Tt(e.whileDrag)||Tt(e.whileTap)||Tt(e.whileFocus)||Tt(e.exit)}function Rt(e){return Boolean(It(e)||e.variants)}function At(e,t){var n=function(e,t){if(It(e)){var n=e.initial,r=e.animate;return{initial:!1===n||Tt(n)?n:void 0,animate:Tt(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,Object(q.useContext)(mt)),r=n.initial,o=n.animate;return Object(q.useMemo)((function(){return{initial:r,animate:o}}),t?[Nt(r),Nt(o)]:[])}function Nt(e){return Array.isArray(e)?e.join(" "):e}function Lt(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.useRender,o=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e){var n=e[t];null!==n&&(dt[t].Component=n)}}(t),Object(q.forwardRef)((function(e,t){var i=Object(q.useContext)(ht).isStatic,c=null,s=At(e,i),l=o(e,i);return!i&&Et&&(s.visualElement=St(a,l,e,n),c=function(e,t,n){var r=[];if(Object(q.useContext)(ft),!t)return null;for(var o=0;o<bt;o++){var a=pt[o],i=dt[a],c=i.isEnabled,s=i.Component;c(e)&&s&&r.push(q.createElement(s,it({key:a},e,{visualElement:t})))}return r}(e,s.visualElement)),q.createElement(q.Fragment,null,q.createElement(mt.Provider,{value:s},r(a,e,function(e,t,n){return Object(q.useCallback)((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):Ct(n)&&(n.current=r))}),[t])}(l,s.visualElement,t),l,i)),c)}))}function Ft(e){function t(t,n){return void 0===n&&(n={}),Lt(e(t,n))}var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var zt=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Bt(e){return"string"==typeof e&&!e.includes("-")&&!!(zt.indexOf(e)>-1||/[A-Z]/.test(e))}var Ht={};var Vt=["","X","Y","Z"],Wt=["transformPerspective","x","y","z"];function Ut(e,t){return Wt.indexOf(e)-Wt.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return Vt.forEach((function(t){return Wt.push(e+t)}))}));var Kt=new Set(Wt);function Gt(e){return Kt.has(e)}var $t=new Set(["originX","originY","originZ"]);function qt(e){return $t.has(e)}function Yt(e,t){var n=t.layout,r=t.layoutId;return Gt(e)||qt(e)||(n||void 0!==r)&&(!!Ht[e]||"opacity"===e)}var Xt=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},Zt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Jt(e){return e.startsWith("--")}var Qt=function(e,t){return t&&"number"==typeof e?t.transform(e):e},en=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},tn=function(e){return e%1?Number(e.toFixed(5)):e},nn=/(-)?([\d]*\.?[\d])+/g,rn=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,on=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function an(e){return"string"==typeof e}var cn=function(e){return{test:function(t){return an(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},sn=cn("deg"),ln=cn("%"),un=cn("px"),dn=cn("vh"),fn=cn("vw"),pn=it(it({},ln),{parse:function(e){return ln.parse(e)/100},transform:function(e){return ln.transform(100*e)}}),bn={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},hn=it(it({},bn),{transform:en(0,1)}),mn=it(it({},bn),{default:1}),vn=it(it({},bn),{transform:Math.round}),gn={borderWidth:un,borderTopWidth:un,borderRightWidth:un,borderBottomWidth:un,borderLeftWidth:un,borderRadius:un,radius:un,borderTopLeftRadius:un,borderTopRightRadius:un,borderBottomRightRadius:un,borderBottomLeftRadius:un,width:un,maxWidth:un,height:un,maxHeight:un,size:un,top:un,right:un,bottom:un,left:un,padding:un,paddingTop:un,paddingRight:un,paddingBottom:un,paddingLeft:un,margin:un,marginTop:un,marginRight:un,marginBottom:un,marginLeft:un,rotate:sn,rotateX:sn,rotateY:sn,rotateZ:sn,scale:mn,scaleX:mn,scaleY:mn,scaleZ:mn,skew:sn,skewX:sn,skewY:sn,distance:un,translateX:un,translateY:un,translateZ:un,x:un,y:un,z:un,perspective:un,transformPerspective:un,opacity:hn,originX:pn,originY:pn,originZ:un,zIndex:vn,fillOpacity:hn,strokeOpacity:hn,numOctaves:vn};function yn(e,t,n,r,o,a,i,c){var s,l=e.style,u=e.vars,d=e.transform,f=e.transformKeys,p=e.transformOrigin;f.length=0;var b=!1,h=!1,m=!0;for(var v in t){var g=t[v];if(Jt(v))u[v]=g;else{var y=gn[v],O=Qt(g,y);if(Gt(v)){if(b=!0,d[v]=O,f.push(v),!m)continue;g!==(null!==(s=y.default)&&void 0!==s?s:0)&&(m=!1)}else if(qt(v))p[v]=O,h=!0;else if((null==n?void 0:n.isHydrated)&&(null==r?void 0:r.isHydrated)&&Ht[v]){var j=Ht[v].process(g,r,n),w=Ht[v].applyTo;if(w)for(var x=w.length,_=0;_<x;_++)l[w[_]]=j;else l[v]=j}else l[v]=O}}r&&n&&i&&c?(l.transform=i(r.deltaFinal,r.treeScale,b?d:void 0),a&&(l.transform=a(d,l.transform)),l.transformOrigin=c(r)):(b&&(l.transform=function(e,t,n,r){var o=e.transform,a=e.transformKeys,i=t.enableHardwareAcceleration,c=void 0===i||i,s=t.allowTransformNone,l=void 0===s||s,u="";a.sort(Ut);for(var d=!1,f=a.length,p=0;p<f;p++){var b=a[p];u+=(Zt[b]||b)+"("+o[b]+") ","z"===b&&(d=!0)}return!d&&c?u+="translateZ(0)":u=u.trim(),r?u=r(o,n?"":u):l&&n&&(u="none"),u}(e,o,m,a)),h&&(l.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,a=e.originZ;return n+" "+o+" "+(void 0===a?0:a)}(p)))}var On=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function jn(e,t,n){for(var r in t)Xt(t[r])||Yt(r,n)||(e[r]=t[r])}function wn(e,t,n){var r={};return jn(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return Object(q.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};yn(e,t,void 0,void 0,{enableHardwareAcceleration:!n},r);var o=e.style;return it(it({},e.vars),o)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}function xn(e,t,n){var r={},o=wn(e,t,n);return Boolean(e.drag)&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),r.style=o,r}var _n=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function En(e){return _n.has(e)}var kn=function(e){return!En(e)};try{var Sn=n("gCm3").default;kn=function(e){return e.startsWith("on")?!En(e):Sn(e)}}catch(e){}function Cn(e,t,n){return"string"==typeof e?e:un.transform(t+n*e)}var Pn=function(e,t){return un.transform(e*t)},Tn={offset:"stroke-dashoffset",array:"stroke-dasharray"},Mn={offset:"strokeDashoffset",array:"strokeDasharray"};function Dn(e,t,n,r,o,a,i,c){var s=t.attrX,l=t.attrY,u=t.originX,d=t.originY,f=t.pathLength,p=t.pathSpacing,b=void 0===p?1:p,h=t.pathOffset,m=void 0===h?0:h;yn(e,ct(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,a,i,c),e.attrs=e.style,e.style={};var v=e.attrs,g=e.style,y=e.dimensions,O=e.totalPathLength;v.transform&&(y&&(g.transform=v.transform),delete v.transform),y&&(void 0!==u||void 0!==d||g.transform)&&(g.transformOrigin=function(e,t,n){return Cn(t,e.x,e.width)+" "+Cn(n,e.y,e.height)}(y,void 0!==u?u:.5,void 0!==d?d:.5)),void 0!==s&&(v.x=s),void 0!==l&&(v.y=l),void 0!==O&&void 0!==f&&function(e,t,n,r,o,a){void 0===r&&(r=1),void 0===o&&(o=0),void 0===a&&(a=!0);var i=a?Tn:Mn;e[i.offset]=Pn(-o,t);var c=Pn(n,t),s=Pn(r,t);e[i.array]=c+" "+s}(v,O,f,b,m,!1)}var In=function(){return it(it({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Rn(e,t){var n=Object(q.useMemo)((function(){var n=In();return Dn(n,t,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),it(it({},n.attrs),{style:it({},n.style)})}),[t]);if(e.style){var r={};jn(r,e.style,e),n.style=it(it({},r),n.style)}return n}function An(e){void 0===e&&(e=!1);return function(t,n,r,o,a){var i=o.latestValues,c=(Bt(t)?Rn:xn)(n,i,a),s=function(e,t,n){var r={};for(var o in e)(kn(o)||!0===n&&En(o)||!t&&!En(o))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l=it(it(it({},s),c),{ref:r});return Object(q.createElement)(t,l)}}var Nn=/([a-z])([A-Z])/g,Ln=function(e){return e.replace(Nn,"$1-$2").toLowerCase()};function Fn(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var zn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function Bn(e,t){for(var n in Fn(e,t),t.attrs)e.setAttribute(zn.has(n)?n:Ln(n),t.attrs[n])}function Hn(e){var t=e.style,n={};for(var r in t)(Xt(t[r])||Yt(r,e))&&(n[r]=t[r]);return n}function Vn(e){var t=Hn(e);for(var n in e){if(Xt(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function Wn(e){return"object"==typeof e&&"function"==typeof e.start}var Un=function(e){return Array.isArray(e)};function Kn(e){var t,n=Xt(e)?e.get():e;return t=n,Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)?n.toValue():n}function Gn(e,t,n,r){var o=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,c={latestValues:qn(t,n,r,o),renderState:a()};return i&&(c.mount=function(e){return i(t,e,c)}),c}var $n=function(e){return function(t,n){var r=Object(q.useContext)(mt),o=Object(q.useContext)(vt);return n?Gn(e,t,r,o):gt((function(){return Gn(e,t,r,o)}))}};function qn(e,t,n,r){var o={},a=!1===(null==n?void 0:n.initial),i=r(e);for(var c in i)o[c]=Kn(i[c]);var s=e.initial,l=e.animate,u=It(e),d=Rt(e);t&&d&&!u&&!1!==e.inherit&&(null!=s||(s=t.initial),null!=l||(l=t.animate));var f=a||!1===s?l:s;f&&"boolean"!=typeof f&&!Wn(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var n=Mt(e,t);if(n){var r=n.transitionEnd;n.transition;var a=ct(n,["transitionEnd","transition"]);for(var i in a)o[i]=a[i];for(var i in r)o[i]=r[i]}}));return o}var Yn={useVisualState:$n({scrapeMotionValuesFromProps:Vn,createRenderState:In,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),Dn(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),Bn(t,r)}})};var Xn,Zn={useVisualState:$n({scrapeMotionValuesFromProps:Hn,createRenderState:On})};function Jn(e,t,n,r){var o=t.forwardMotionProps,a=void 0!==o&&o,i=Bt(e)?Yn:Zn;return it(it({},i),{preloadedFeatures:n,useRender:An(a),createVisualElement:r,Component:e})}function Qn(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function er(e,t,n,r){Object(q.useEffect)((function(){var o=e.current;if(n&&o)return Qn(o,t,n,r)}),[e,t,n,r])}function tr(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function nr(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(Xn||(Xn={}));var rr={pageX:0,pageY:0};function or(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||rr;return{x:n[t+"X"],y:n[t+"Y"]}}function ar(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function ir(e,t){return void 0===t&&(t="page"),{point:nr(e)?or(e,t):ar(e,t)}}var cr=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,ir(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},sr={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},lr={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function ur(e){return Et&&null===window.onpointerdown?e:Et&&null===window.ontouchstart?lr[e]:Et&&null===window.onmousedown?sr[e]:e}function dr(e,t,n,r){return Qn(e,ur(t),cr(n,"pointerdown"===t),r)}function fr(e,t,n,r){return er(e,ur(t),n&&cr(n,"pointerdown"===t),r)}function pr(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var br=pr("dragHorizontal"),hr=pr("dragVertical");function mr(e){var t=!1;if("y"===e)t=hr();else if("x"===e)t=br();else{var n=br(),r=hr();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function vr(){var e=mr(!0);return!e||(e(),!1)}function gr(e,t,n){return function(r,o){var a;tr(r)&&!vr()&&(null==n||n(r,o),null===(a=e.animationState)||void 0===a||a.setActive(Xn.Hover,t))}}var yr=function(e,t){return!!t&&(e===t||yr(e,t.parentElement))};function Or(e){return Object(q.useEffect)((function(){return function(){return e()}}),[])}var jr=function(e,t){return function(n){return t(e(n))}},wr=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(jr)};var xr=function(e){return function(t){return e(t),null}},_r={tap:xr((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,a=e.visualElement,i=t||n||r||o,c=Object(q.useRef)(!1),s=Object(q.useRef)(null);function l(){var e;null===(e=s.current)||void 0===e||e.call(s),s.current=null}function u(){var e;return l(),c.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(Xn.Tap,!1),!vr()}function d(e,n){u()&&(yr(a.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function f(e,t){u()&&(null==r||r(e,t))}fr(a,"pointerdown",i?function(e,t){var r;l(),c.current||(c.current=!0,s.current=wr(dr(window,"pointerup",d),dr(window,"pointercancel",f)),null==n||n(e,t),null===(r=a.animationState)||void 0===r||r.setActive(Xn.Tap,!0))}:void 0),Or(l)})),focus:xr((function(e){var t=e.whileFocus,n=e.visualElement;er(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Xn.Focus,!0)}:void 0),er(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Xn.Focus,!1)}:void 0)})),hover:xr((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;fr(o,"pointerenter",t||r?gr(o,!0,t):void 0),fr(o,"pointerleave",n||r?gr(o,!1,n):void 0)}))};function Er(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var kr=function(e,t,n){return Math.min(Math.max(n,e),t)};function Sr(e){var t,n,r=e.duration,o=void 0===r?800:r,a=e.bounce,i=void 0===a?.25:a,c=e.velocity,s=void 0===c?0:c,l=e.mass,u=void 0===l?1:l,d=1-i;d=kr(.05,1,d),o=kr(.01,10,o/1e3),d<1?(t=function(e){var t=e*d,n=t*o;return.001-(t-s)/Cr(e,d)*Math.exp(-n)},n=function(e){var n=e*d*o,r=n*s+s,a=Math.pow(d,2)*Math.pow(e,2)*o,i=Math.exp(-n),c=Cr(Math.pow(e,2),d);return(.001-t(e)>0?-1:1)*((r-a)*i)/c}):(t=function(e){return Math.exp(-e*o)*((e-s)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(s-e))});var f=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(f))return{stiffness:100,damping:10,duration:o};var p=Math.pow(f,2)*u;return{stiffness:p,damping:2*d*Math.sqrt(u*p),duration:o}}function Cr(e,t){return e*Math.sqrt(1-t*t)}var Pr=["duration","bounce"],Tr=["stiffness","damping","mass"];function Mr(e,t){return t.some((function(t){return void 0!==e[t]}))}function Dr(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,a=e.restSpeed,i=void 0===a?2:a,c=e.restDelta,s=ct(e,["from","to","restSpeed","restDelta"]),l={done:!1,value:n},u=function(e){var t=it({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Mr(e,Tr)&&Mr(e,Pr)){var n=Sr(e);(t=it(it(it({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(s),d=u.stiffness,f=u.damping,p=u.mass,b=u.velocity,h=u.duration,m=u.isResolvedFromDuration,v=Ir,g=Ir;function y(){var e=b?-b/1e3:0,t=o-n,r=f/(2*Math.sqrt(d*p)),a=Math.sqrt(d/p)/1e3;if(null!=c||(c=Math.abs(o-n)<=1?.01:.4),r<1){var i=Cr(a,r);v=function(n){var c=Math.exp(-r*a*n);return o-c*((e+r*a*t)/i*Math.sin(i*n)+t*Math.cos(i*n))},g=function(n){var o=Math.exp(-r*a*n);return r*a*o*(Math.sin(i*n)*(e+r*a*t)/i+t*Math.cos(i*n))-o*(Math.cos(i*n)*(e+r*a*t)-i*t*Math.sin(i*n))}}else if(1===r)v=function(n){return o-Math.exp(-a*n)*(t+(e+a*t)*n)};else{var s=a*Math.sqrt(r*r-1);v=function(n){var i=Math.exp(-r*a*n),c=Math.min(s*n,300);return o-i*((e+r*a*t)*Math.sinh(c)+s*t*Math.cosh(c))/s}}}return y(),{next:function(e){var t=v(e);if(m)l.done=e>=h;else{var n=1e3*g(e),r=Math.abs(n)<=i,a=Math.abs(o-t)<=c;l.done=r&&a}return l.value=l.done?o:t,l},flipTarget:function(){var e;b=-b,n=(e=[o,n])[0],o=e[1],y()}}}Dr.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var Ir=function(e){return 0},Rr=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},Ar=function(e,t,n){return-n*e+n*t+e},Nr=function(e,t){return function(n){return Boolean(an(n)&&on.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},Lr=function(e,t,n){return function(r){var o;if(!an(r))return r;var a=r.match(nn),i=a[0],c=a[1],s=a[2],l=a[3];return(o={})[e]=parseFloat(i),o[t]=parseFloat(c),o[n]=parseFloat(s),o.alpha=void 0!==l?parseFloat(l):1,o}},Fr=en(0,255),zr=it(it({},bn),{transform:function(e){return Math.round(Fr(e))}}),Br={test:Nr("rgb","red"),parse:Lr("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,a=void 0===o?1:o;return"rgba("+zr.transform(t)+", "+zr.transform(n)+", "+zr.transform(r)+", "+tn(hn.transform(a))+")"}};var Hr={test:Nr("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Br.transform},Vr={test:Nr("hsl","hue"),parse:Lr("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,a=void 0===o?1:o;return"hsla("+Math.round(t)+", "+ln.transform(tn(n))+", "+ln.transform(tn(r))+", "+tn(hn.transform(a))+")"}},Wr=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Ur=[Hr,Br,Vr],Kr=function(e){return Ur.find((function(t){return t.test(e)}))},Gr=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},$r=function(e,t){var n=Kr(e),r=Kr(t);Gr(e),Gr(t),n.transform,r.transform;var o=n.parse(e),a=r.parse(t),i=it({},o),c=n===Vr?Ar:Wr;return function(e){for(var t in i)"alpha"!==t&&(i[t]=c(o[t],a[t],e));return i.alpha=Ar(o.alpha,a.alpha,e),n.transform(i)}},qr={test:function(e){return Br.test(e)||Hr.test(e)||Vr.test(e)},parse:function(e){return Br.test(e)?Br.parse(e):Vr.test(e)?Vr.parse(e):Hr.parse(e)},transform:function(e){return an(e)?e:e.hasOwnProperty("red")?Br.transform(e):Vr.transform(e)}};function Yr(e){var t=[],n=0,r=e.match(rn);r&&(n=r.length,e=e.replace(rn,"${c}"),t.push.apply(t,r.map(qr.parse)));var o=e.match(nn);return o&&(e=e.replace(nn,"${n}"),t.push.apply(t,o.map(bn.parse))),{values:t,numColors:n,tokenised:e}}function Xr(e){return Yr(e).values}function Zr(e){var t=Yr(e),n=t.values,r=t.numColors,o=t.tokenised,a=n.length;return function(e){for(var t=o,n=0;n<a;n++)t=t.replace(n<r?"${c}":"${n}",n<r?qr.transform(e[n]):tn(e[n]));return t}}var Jr=function(e){return"number"==typeof e?0:e};var Qr={test:function(e){var t,n,r,o;return isNaN(e)&&an(e)&&(null!==(n=null===(t=e.match(nn))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(rn))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Xr,createTransformer:Zr,getAnimatableNone:function(e){var t=Xr(e);return Zr(e)(t.map(Jr))}},eo=function(e){return"number"==typeof e};function to(e,t){return eo(e)?function(n){return Ar(e,t,n)}:qr.test(e)?$r(e,t):ao(e,t)}var no=function(e,t){var n=lt([],e),r=n.length,o=e.map((function(e,n){return to(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},ro=function(e,t){var n=it(it({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=to(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function oo(e){for(var t=Qr.parse(e),n=t.length,r=0,o=0,a=0,i=0;i<n;i++)r||"number"==typeof t[i]?r++:void 0!==t[i].hue?a++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:a}}var ao=function(e,t){var n=Qr.createTransformer(t),r=oo(e),o=oo(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),wr(no(r.parsed,o.parsed),n)},io=function(e,t){return function(n){return Ar(e,t,n)}};function co(e,t,n){for(var r,o=[],a=n||("number"==typeof(r=e[0])?io:"string"==typeof r?qr.test(r)?$r:ao:Array.isArray(r)?no:"object"==typeof r?ro:void 0),i=e.length-1,c=0;c<i;c++){var s=a(e[c],e[c+1]);if(t){var l=Array.isArray(t)?t[c]:t;s=wr(l,s)}o.push(s)}return o}function so(e,t,n){var r=void 0===n?{}:n,o=r.clamp,a=void 0===o||o,i=r.ease,c=r.mixer,s=e.length;t.length,!i||!Array.isArray(i)||i.length,e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var l=co(t,i,c),u=2===s?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(Rr(n,r,e))}}(e,l):function(e,t){var n=e.length,r=n-1;return function(o){var a=0,i=!1;if(o<=e[0]?i=!0:o>=e[r]&&(a=r-1,i=!0),!i){for(var c=1;c<n&&!(e[c]>o||c===r);c++);a=c-1}var s=Rr(e[a],e[a+1],o);return t[a](s)}}(e,l);return a?function(t){return u(kr(e[0],e[s-1],t))}:u}var lo,uo=function(e){return function(t){return 1-e(1-t)}},fo=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},po=function(e){return function(t){return t*t*((e+1)*t-e)}},bo=function(e){return e},ho=(lo=2,function(e){return Math.pow(e,lo)}),mo=uo(ho),vo=fo(ho),go=function(e){return 1-Math.sin(Math.acos(e))},yo=uo(go),Oo=fo(yo),jo=po(1.525),wo=uo(jo),xo=fo(jo),_o=function(e){var t=po(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),Eo=function(e){if(1===e||0===e)return e;var t=e*e;return e<4/11?7.5625*t:e<8/11?9.075*t-9.9*e+3.4:e<.9?4356/361*t-35442/1805*e+16061/1805:10.8*e*e-20.52*e+10.72},ko=uo(Eo);function So(e,t){return e.map((function(){return t||vo})).splice(0,e.length-1)}function Co(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,a=e.ease,i=e.offset,c=e.duration,s=void 0===c?300:c,l={done:!1,value:n},u=Array.isArray(o)?o:[n,o],d=function(e,t){return e.map((function(e){return e*t}))}(i&&i.length===u.length?i:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(u),s);function f(){return so(d,u,{ease:Array.isArray(a)?a:So(u,a)})}var p=f();return{next:function(e){return l.value=p(e),l.done=e>=s,l},flipTarget:function(){u.reverse(),p=f()}}}var Po={keyframes:Co,spring:Dr,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,a=e.power,i=void 0===a?.8:a,c=e.timeConstant,s=void 0===c?350:c,l=e.restDelta,u=void 0===l?.5:l,d=e.modifyTarget,f={done:!1,value:o},p=i*n,b=o+p,h=void 0===d?b:d(b);return h!==b&&(p=h-o),{next:function(e){var t=-p*Math.exp(-e/s);return f.done=!(t>u||t<-u),f.value=f.done?h:h+t,f},flipTarget:function(){}}}};var To="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},Mo="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(To())}),1/60*1e3)};var Do=!0,Io=!1,Ro=!1,Ao={delta:0,timestamp:0},No=["read","update","preRender","render","postRender"],Lo=No.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,a=new WeakSet,i={schedule:function(e,i,c){void 0===i&&(i=!1),void 0===c&&(c=!1);var s=c&&o,l=s?t:n;return i&&a.add(e),-1===l.indexOf(e)&&(l.push(e),s&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:function(c){var s;if(o=!0,t=(s=[n,t])[0],(n=s[1]).length=0,r=t.length)for(var l=0;l<r;l++){var u=t[l];u(c),a.has(u)&&(i.schedule(u),e())}o=!1}};return i}((function(){return Io=!0})),e}),{}),Fo=No.reduce((function(e,t){var n=Lo[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),Io||Wo(),n.schedule(e,t,r)},e}),{}),zo=No.reduce((function(e,t){return e[t]=Lo[t].cancel,e}),{}),Bo=No.reduce((function(e,t){return e[t]=function(){return Lo[t].process(Ao)},e}),{}),Ho=function(e){return Lo[e].process(Ao)},Vo=function(e){Io=!1,Ao.delta=Do?1/60*1e3:Math.max(Math.min(e-Ao.timestamp,40),1),Ao.timestamp=e,Ro=!0,No.forEach(Ho),Ro=!1,Io&&(Do=!1,Mo(Vo))},Wo=function(){Io=!0,Do=!0,Ro||Mo(Vo)},Uo=function(){return Ao},Ko=Fo;function Go(e,t,n){return void 0===n&&(n=0),e-t-n}var $o=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return Ko.update(t,!0)},stop:function(){return zo.update(t)}}};function qo(e){var t,n,r,o,a,i=e.from,c=e.autoplay,s=void 0===c||c,l=e.driver,u=void 0===l?$o:l,d=e.elapsed,f=void 0===d?0:d,p=e.repeat,b=void 0===p?0:p,h=e.repeatType,m=void 0===h?"loop":h,v=e.repeatDelay,g=void 0===v?0:v,y=e.onPlay,O=e.onStop,j=e.onComplete,w=e.onRepeat,x=e.onUpdate,_=ct(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),E=_.to,k=0,S=_.duration,C=!1,P=!0,T=function(e){if(Array.isArray(e.to))return Co;if(Po[e.type])return Po[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Co:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Dr:Co}(_);(null===(n=(t=T).needsInterpolation)||void 0===n?void 0:n.call(t,i,E))&&(a=so([0,100],[i,E],{clamp:!1}),i=0,E=100);var M=T(it(it({},_),{from:i,to:E}));function D(){k++,"reverse"===m?f=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?Go(t+-e,t,n):t-(e-t)+n}(f,S,g,P=k%2==0):(f=Go(f,S,g),"mirror"===m&&M.flipTarget()),C=!1,w&&w()}function I(e){if(P||(e=-e),f+=e,!C){var t=M.next(Math.max(0,f));o=t.value,a&&(o=a(o)),C=P?t.done:f<=0}null==x||x(o),C&&(0===k&&(null!=S||(S=f)),k<b?function(e,t,n,r){return r?e>=t+n:e<=-n}(f,S,g,P)&&D():(r.stop(),j&&j()))}return s&&(null==y||y(),(r=u(I)).start()),{stop:function(){null==O||O(),r.stop()}}}function Yo(e,t){return t?e*(1e3/t):0}var Xo=function(e){return 1e3*e},Zo=function(e,t){return 1-3*t+3*e},Jo=function(e,t){return 3*t-6*e},Qo=function(e){return 3*e},ea=function(e,t,n){return((Zo(t,n)*e+Jo(t,n))*e+Qo(t))*e},ta=function(e,t,n){return 3*Zo(t,n)*e*e+2*Jo(t,n)*e+Qo(t)};function na(e,t,n,r){if(e===t&&n===r)return bo;for(var o=new Float32Array(11),a=0;a<11;++a)o[a]=ea(.1*a,e,n);function i(t){for(var r=0,a=1;10!==a&&o[a]<=t;++a)r+=.1;--a;var i=r+.1*((t-o[a])/(o[a+1]-o[a])),c=ta(i,e,n);return c>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var a=ta(t,n,r);if(0===a)return t;t-=(ea(t,n,r)-e)/a}return t}(t,i,e,n):0===c?i:function(e,t,n,r,o){var a,i,c=0;do{(a=ea(i=t+(n-t)/2,r,o)-e)>0?n=i:t=i}while(Math.abs(a)>1e-7&&++c<10);return i}(t,r,r+.1,e,n)}return function(e){return 0===e||1===e?e:ea(i(e),t,r)}}var ra={linear:bo,easeIn:ho,easeInOut:vo,easeOut:mo,circIn:go,circInOut:Oo,circOut:yo,backIn:jo,backInOut:xo,backOut:wo,anticipate:_o,bounceIn:ko,bounceInOut:function(e){return e<.5?.5*(1-Eo(1-2*e)):.5*Eo(2*e-1)+.5},bounceOut:Eo},oa=function(e){if(Array.isArray(e)){e.length;var t=st(e,4);return na(t[0],t[1],t[2],t[3])}return"string"==typeof e?ra[e]:e},aa=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Qr.test(t)||t.startsWith("url(")))},ia=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},ca=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},sa=function(){return{type:"keyframes",ease:"linear",duration:.3}},la=function(e){return{type:"keyframes",duration:.8,values:e}},ua={x:ia,y:ia,z:ia,rotate:ia,rotateX:ia,rotateY:ia,rotateZ:ia,scaleX:ca,scaleY:ca,scale:ca,opacity:sa,backgroundColor:sa,color:sa,default:ca},da=new Set(["brightness","contrast","saturate","opacity"]);function fa(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(nn)||[])[0];if(!o)return e;var a=r.replace(o,""),i=da.has(n)?1:0;return o!==r&&(i*=100),n+"("+i+a+")"}var pa=/([a-z-]*)\(.*?\)/g,ba=it(it({},Qr),{getAnimatableNone:function(e){var t=e.match(pa);return t?t.map(fa).join(" "):e}}),ha=it(it({},gn),{color:qr,backgroundColor:qr,outlineColor:qr,fill:qr,stroke:qr,borderColor:qr,borderTopColor:qr,borderRightColor:qr,borderBottomColor:qr,borderLeftColor:qr,filter:ba,WebkitFilter:ba}),ma=function(e){return ha[e]};function va(e,t){var n,r=ma(e);return r!==ba&&(r=Qr),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function ga(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,a=e.loop,i=ct(e,["ease","times","yoyo","flip","loop"]),c=it({},i);return n&&(c.offset=n),i.duration&&(c.duration=Xo(i.duration)),i.repeatDelay&&(c.repeatDelay=Xo(i.repeatDelay)),t&&(c.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(oa):oa(t)),"tween"===i.type&&(c.type="keyframes"),(r||a||o)&&(!0,r?c.repeatType="reverse":a?c.repeatType="loop":o&&(c.repeatType="mirror"),c.repeat=a||r||o||i.repeat),"spring"!==i.type&&(c.type="keyframes"),c}function ya(e,t,n){var r,o,a,i;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=lt([],st(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=ct(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=it(it({},e),(o=n,a=t.to,i=Un(a)?la:ua[o]||ua.default,it({to:a},i(a))))),it(it({},t),ga(e))}function Oa(e,t,n,r,o){var a,i=xa(r,e),c=null!==(a=i.from)&&void 0!==a?a:t.get(),s=aa(e,n);"none"===c&&s&&"string"==typeof n?c=va(e,n):ja(c)&&"string"==typeof n?c=wa(n):!Array.isArray(n)&&ja(n)&&"string"==typeof c&&(n=wa(c));var l=aa(e,c);return l&&s&&!1!==i.type?function(){var r={from:c,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===i.type||"decay"===i.type?function(e){var t,n=e.from,r=void 0===n?0:n,o=e.velocity,a=void 0===o?0:o,i=e.min,c=e.max,s=e.power,l=void 0===s?.8:s,u=e.timeConstant,d=void 0===u?750:u,f=e.bounceStiffness,p=void 0===f?500:f,b=e.bounceDamping,h=void 0===b?10:b,m=e.restDelta,v=void 0===m?1:m,g=e.modifyTarget,y=e.driver,O=e.onUpdate,j=e.onComplete;function w(e){return void 0!==i&&e<i||void 0!==c&&e>c}function x(e){return void 0===i?c:void 0===c||Math.abs(i-e)<Math.abs(c-e)?i:c}function _(e){null==t||t.stop(),t=qo(it(it({},e),{driver:y,onUpdate:function(t){var n;null==O||O(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:j}))}function E(e){_(it({type:"spring",stiffness:p,damping:h,restDelta:v},e))}if(w(r))E({from:r,velocity:a,to:x(r)});else{var k=l*a+r;void 0!==g&&(k=g(k));var S,C,P=x(k),T=P===i?-1:1;_({type:"decay",from:r,velocity:a,timeConstant:d,power:l,restDelta:v,modifyTarget:g,onUpdate:w(k)?function(e){S=C,C=e,a=Yo(e-S,Uo().delta),(1===T&&e>P||-1===T&&e<P)&&E({from:e,to:P,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(it(it({},r),i)):qo(it(it({},ya(i,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=i.onUpdate)||void 0===t||t.call(i,e)},onComplete:function(){var e;r.onComplete(),null===(e=i.onComplete)||void 0===e||e.call(i)}}))}:function(){var e;return t.set(n),o(),null===(e=null==i?void 0:i.onComplete)||void 0===e||e.call(i),{stop:function(){}}}}function ja(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function wa(e){return"number"==typeof e?0:va("",e)}function xa(e,t){return e[t]||e.default||e}function _a(e,t,n,r){return void 0===r&&(r={}),t.start((function(o){var a,i,c=Oa(e,t,n,r,o),s=function(e,t){var n;return null!==(n=(xa(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),l=function(){return i=c()};return s?a=setTimeout(l,Xo(s)):l(),function(){clearTimeout(a),null==i||i.stop()}}))}function Ea(e,t){-1===e.indexOf(t)&&e.push(t)}function ka(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Sa=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Ea(this.subscriptions,e),function(){return ka(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var a=this.subscriptions[o];a&&a(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Ca=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Sa,this.velocityUpdateSubscribers=new Sa,this.renderSubscribers=new Sa,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=Uo(),o=r.delta,a=r.timestamp;n.lastUpdated!==a&&(n.timeDelta=o,n.lastUpdated=a,Ko.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return Ko.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Yo(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Pa(e){return new Ca(e)}var Ta=function(e){return function(t){return t.test(e)}},Ma=[bn,un,ln,sn,fn,dn,{test:function(e){return"auto"===e},parse:function(e){return e}}],Da=function(e){return Ma.find(Ta(e))},Ia=lt(lt([],st(Ma)),[qr,Qr]),Ra=function(e){return Ia.find(Ta(e))};function Aa(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Pa(n))}function Na(e,t){var n=Dt(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,a=void 0===o?{}:o;r.transition;var i,c=ct(r,["transitionEnd","transition"]);for(var s in c=it(it({},c),a)){Aa(e,s,(i=c[s],Un(i)?i[i.length-1]||0:i))}}function La(e,t){if(t)return(t[e]||t.default||t).from}function Fa(e,t,n){var r;void 0===n&&(n={});var o=Dt(e,t,n.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;n.transitionOverride&&(i=n.transitionOverride);var c=o?function(){return za(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=i.delayChildren,a=void 0===o?0:o,c=i.staggerChildren,s=i.staggerDirection;return function(e,t,n,r,o,a){void 0===n&&(n=0);void 0===r&&(r=0);void 0===o&&(o=1);var i=[],c=(e.variantChildren.size-1)*r,s=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),c-e*r};return Array.from(e.variantChildren).sort(Ba).forEach((function(e,r){i.push(Fa(e,t,it(it({},a),{delay:n+s(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(i)}(e,t,a+r,c,s,n)}:function(){return Promise.resolve()},l=i.when;if(l){var u=st("beforeChildren"===l?[c,s]:[s,c],2),d=u[0],f=u[1];return d().then(f)}return Promise.all([c(),s(n.delay)])}function za(e,t,n){var r,o=void 0===n?{}:n,a=o.delay,i=void 0===a?0:a,c=o.transitionOverride,s=o.type,l=e.makeTargetAnimatable(t),u=l.transition,d=void 0===u?e.getDefaultTransition():u,f=l.transitionEnd,p=ct(l,["transition","transitionEnd"]);c&&(d=c);var b=[],h=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var m in p){var v=e.getValue(m),g=p[m];if(!(!v||void 0===g||h&&Ha(h,m))){var y=_a(m,v,g,it({delay:i},d));b.push(y)}}return Promise.all(b).then((function(){f&&Na(e,f)}))}function Ba(e,t){return e.sortNodePosition(t)}function Ha(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var Va=[Xn.Animate,Xn.Hover,Xn.Tap,Xn.Drag,Xn.Focus,Xn.Exit],Wa=lt([],st(Va)).reverse(),Ua=Va.length;function Ka(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return Fa(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=Fa(e,t,n);else{var a="function"==typeof t?Dt(e,t,n.custom):t;r=za(e,a,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function Ga(e){var t,n=Ka(e),r=((t={})[Xn.Animate]=$a(!0),t[Xn.Hover]=$a(),t[Xn.Tap]=$a(),t[Xn.Drag]=$a(),t[Xn.Focus]=$a(),t[Xn.Exit]=$a(),t),o={},a=!0,i=function(t,n){var r=Dt(e,n);if(r){r.transition;var o=r.transitionEnd,a=ct(r,["transition","transitionEnd"]);t=it(it(it({},t),a),o)}return t};function c(t,c){for(var s,l=e.getProps(),u=e.getVariantContext(!0)||{},d=[],f=new Set,p={},b=1/0,h=function(n){var o=Wa[n],h=r[o],m=null!==(s=l[o])&&void 0!==s?s:u[o],v=Tt(m),g=o===c?h.isActive:null;!1===g&&(b=n);var y=m===u[o]&&m!==l[o]&&v;if(y&&a&&e.manuallyAnimateOnMount&&(y=!1),h.protectedKeys=it({},p),!h.isActive&&null===g||!m&&!h.prevProp||Wn(m)||"boolean"==typeof m)return"continue";var O=function(e,t){if("string"==typeof t)return t!==e;if(Pt(t))return!Er(t,e);return!1}(h.prevProp,m)||o===c&&h.isActive&&!y&&v||n>b&&v,j=Array.isArray(m)?m:[m],w=j.reduce(i,{});!1===g&&(w={});var x=h.prevResolvedValues,_=void 0===x?{}:x,E=it(it({},_),w),k=function(e){O=!0,f.delete(e),h.needsAnimating[e]=!0};for(var S in E){var C=w[S],P=_[S];p.hasOwnProperty(S)||(C!==P?Un(C)&&Un(P)?Er(C,P)?h.protectedKeys[S]=!0:k(S):void 0!==C?k(S):f.add(S):void 0!==C&&f.has(S)?k(S):h.protectedKeys[S]=!0)}h.prevProp=m,h.prevResolvedValues=w,h.isActive&&(p=it(it({},p),w)),a&&e.blockInitialAnimation&&(O=!1),O&&!y&&d.push.apply(d,lt([],st(j.map((function(e){return{animation:e,options:it({type:o},t)}})))))},m=0;m<Ua;m++)h(m);if(o=it({},p),f.size){var v={};f.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(v[t]=n)})),d.push({animation:v})}var g=Boolean(d.length);return a&&!1===l.initial&&!e.manuallyAnimateOnMount&&(g=!1),a=!1,g?n(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:c,setActive:function(t,n,o){var a;return r[t].isActive===n?Promise.resolve():(null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n,c(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}function $a(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var qa={animation:xr((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=Ga(t)),Wn(n)&&Object(q.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:xr((function(e){var t=e.custom,n=e.visualElement,r=st(yt(),2),o=r[0],a=r[1],i=Object(q.useContext)(vt);Object(q.useEffect)((function(){var e,r,c=null===(e=n.animationState)||void 0===e?void 0:e.setActive(Xn.Exit,!o,{custom:null!==(r=null==i?void 0:i.custom)&&void 0!==r?r:t});!o&&(null==c||c.then(a))}),[o])}))},Ya=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Xa=function(e){return Ya(e)&&e.hasOwnProperty("z")},Za=function(e,t){return Math.abs(e-t)};function Ja(e,t){if(eo(e)&&eo(t))return Za(e,t);if(Ya(e)&&Ya(t)){var n=Za(e.x,t.x),r=Za(e.y,t.y),o=Xa(e)&&Xa(t)?Za(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var Qa=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=ni(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=Ja(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,a=Uo().timestamp;r.history.push(it(it({},o),{timestamp:a}));var i=r.handlers,c=i.onStart,s=i.onMove;t||(c&&c(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=ei(t,r.transformPagePoint),tr(e)&&0===e.buttons?r.handlePointerUp(e,t):Ko.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,a=n.onSessionEnd,i=ni(ei(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,i),a&&a(e,i)},!(nr(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=ei(ir(e),this.transformPagePoint),i=a.point,c=Uo().timestamp;this.history=[it(it({},i),{timestamp:c})];var s=t.onSessionStart;s&&s(e,ni(a,this.history)),this.removeListeners=wr(dr(window,"pointermove",this.handlePointerMove),dr(window,"pointerup",this.handlePointerUp),dr(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),zo.update(this.updatePoint)},e}();function ei(e,t){return t?{point:t(e.point)}:e}function ti(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ni(e,t){var n=e.point;return{point:n,delta:ti(n,oi(t)),offset:ti(n,ri(t)),velocity:ai(t,.1)}}function ri(e){return e[0]}function oi(e){return e[e.length-1]}function ai(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=oi(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Xo(t)));)n--;if(!r)return{x:0,y:0};var a=(o.timestamp-r.timestamp)/1e3;if(0===a)return{x:0,y:0};var i={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function ii(e){return e}function ci(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var si={translate:0,scale:1,origin:0,originPoint:0};function li(){return{x:it({},si),y:it({},si)}}function ui(e){return[e("x"),e("y")]}function di(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?Ar(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Ar(o,e,n.max):Math.min(e,o)),e}function fi(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function pi(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=st([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function bi(e,t,n){return{min:hi(e,t),max:hi(e,n)}}function hi(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function mi(e,t){return ci(function(e,t){var n=e.top,r=e.left,o=e.bottom,a=e.right;void 0===t&&(t=ii);var i=t({x:r,y:n}),c=t({x:a,y:o});return{top:i.y,left:i.x,bottom:c.y,right:c.x}}(e.getBoundingClientRect(),t))}function vi(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Ja(e,t)<n}function gi(e){return e.max-e.min}function yi(e,t){var n=.5,r=gi(e),o=gi(t);return o>r?n=Rr(t.min,t.max-r,e.min):r>o&&(n=Rr(e.min,e.max-o,t.min)),kr(0,1,n)}function Oi(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=Ar(t.min,t.max,e.origin),e.scale=gi(n)/gi(t),vi(e.scale,1,1e-4)&&(e.scale=1),e.translate=Ar(n.min,n.max,e.origin)-e.originPoint,vi(e.translate)&&(e.translate=0)}function ji(e,t,n,r){Oi(e.x,t.x,n.x,wi(r.originX)),Oi(e.y,t.y,n.y,wi(r.originY))}function wi(e){return"number"==typeof e?e:.5}function xi(e,t,n){e.min=n.min+t.min,e.max=e.min+gi(t)}var _i=function(e,t){return e.depth-t.depth};function Ei(e){return e.projection.isEnabled||e.shouldResetTransform()}function ki(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&ki(n,t),Ei(e)&&t.push(e),t}function Si(e){if(!e.shouldResetTransform()){var t,n=e.getLayoutState();e.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=e.measureViewportBox(),n.layoutCorrected=(t=n.layout,{x:it({},t.x),y:it({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),Ko.update((function(){return e.rebaseProjectionTarget()}))}}function Ci(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Pi(e,t){return{x:Ci(e.x,t.x),y:Ci(e.y,t.y)}}function Ti(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function Mi(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function Di(e,t){e.min=t.min,e.max=t.max}function Ii(e,t,n){return n+t*(e-n)}function Ri(e,t,n,r,o){return void 0!==o&&(e=Ii(e,o,r)),Ii(e,n,r)+t}function Ai(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=Ri(e.min,t,n,r,o),e.max=Ri(e.max,t,n,r,o)}function Ni(e,t){var n=t.x,r=t.y;Ai(e.x,n.translate,n.scale,n.originPoint),Ai(e.y,r.translate,r.scale,r.originPoint)}function Li(e,t,n,r){var o=st(r,3),a=o[0],i=o[1],c=o[2];e.min=t.min,e.max=t.max;var s=void 0!==n[c]?n[c]:.5,l=Ar(t.min,t.max,s);Ai(e,n[a],n[i],l,n.scale)}var Fi=["x","scaleX","originX"],zi=["y","scaleY","originY"];function Bi(e,t,n){Li(e.x,t.x,n,Fi),Li(e.y,t.y,n,zi)}function Hi(e,t,n,r,o){return e=Ii(e-=t,1/n,r),void 0!==o&&(e=Ii(e,1/o,r)),e}function Vi(e,t,n){var r=st(n,3),o=r[0],a=r[1],i=r[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var a=Ar(e.min,e.max,r)-t;e.min=Hi(e.min,t,n,a,o),e.max=Hi(e.max,t,n,a,o)}(e,t[o],t[a],t[i],t.scale)}function Wi(e,t){Vi(e.x,t,Fi),Vi(e.y,t,zi)}var Ui=new Set;function Ki(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function Gi(e){return Ui.add(e),function(){return Ui.delete(e)}}function $i(){if(Ui.size){var e=0,t=[[]],n=[],r=function(n){return Ki(t,n,e)},o=function(t){Ki(n,t,e),e++};Ui.forEach((function(t){t(r,o),e=0})),Ui.clear();for(var a=n.length,i=0;i<=a;i++)t[i]&&t[i].forEach(Yi),n[i]&&n[i].forEach(Yi)}}var qi,Yi=function(e){return e()},Xi=new WeakMap,Zi=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),Xi.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,a=void 0!==o&&o,i=r.cursorProgress,c=this.props.transformPagePoint;this.panSession=new Qa(e,{onSessionStart:function(e){var t;n.stopMotion();var r=function(e){return ir(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=Gi((function(e,t){var o=ki(n.visualElement),c=function(e){var t=[],n=function(e){Ei(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort(_i)}(n.visualElement),s=lt(lt([],st(o)),st(c)),l=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){s.forEach((function(e){return e.resetTransform()}))})),e((function(){Si(n.visualElement),c.forEach(Si)})),t((function(){s.forEach((function(e){return e.restoreTransform()})),a&&(l=n.snapToCursor(r))})),e((function(){Boolean(n.getAxisMotionValue("x")&&!n.isExternalDrag())||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;ui((function(t){if(!l){var o=e.target[t],a=o.min,c=o.max;n.cursorProgress[t]=i?i[t]:Rr(a,c,r[t])}var s=n.getAxisMotionValue(t);s&&(n.originPoint[t]=s.get())}))})),t((function(){Bo.update(),Bo.preRender(),Bo.render(),Bo.postRender()})),e((function(){return n.resolveDragConstraints()}))}))},onStart:function(e,t){var r,o,a,i=n.props,c=i.drag,s=i.dragPropagation;(!c||s||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=mr(c),n.openGlobalLock))&&($i(),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(a=n.visualElement.animationState)||void 0===a||a.setActive(Xn.Drag,!0))},onMove:function(e,t){var r,o,a,i,c=n.props,s=c.dragPropagation,l=c.dragDirectionLock;if(s||n.openGlobalLock){var u=t.offset;if(l&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(u),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",t.point,u),n.updateAxis("y",t.point,u),null===(i=(a=n.props).onDrag)||void 0===i||i.call(a,e,t),qi=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:c})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!n&&(Ct(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,a=t.right;return{x:fi(e.x,r,a),y:fi(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:bi(e,"left","right"),y:bi(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&ui((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,a=t.current;this.constraintsBox=mi(a,o);var i=function(e,t){return{x:pi(e.x,t.x),y:pi(e.y,t.y)}}(e,this.constraintsBox);if(r){var c=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(i));this.hasMutatedConstraints=!!c,c&&(i=ci(c))}return i},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Xn.Drag,!1)},e.prototype.stop=function(e,t){var n,r,o;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var a=this.isDragging;if(this.cancelDrag(),a){var i=t.velocity;this.animateDragEnd(i),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return ui((function(n){if(Ji(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var o=t.visualElement.getLayoutState().layout,a=o[n].max-o[n].min,i=o[n].min+a/2,c=e[n]-i;t.originPoint[n]=e[n],r.set(c)}})).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(Ji(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?di(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,a=this.cursorProgress[e],i=function(e,t,n,r,o){var a=e-t*n;return r?di(a,r,o):a}(t[e],o,a,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,i,i+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,a=e.dragPropagation,i=void 0!==a&&a,c=e.dragConstraints,s=void 0!==c&&c,l=e.dragElastic,u=void 0===l?.35:l,d=e.dragMomentum,f=void 0===d||d,p=ct(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=it({drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:s,dragElastic:u,dragMomentum:f},p)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,o=n.dragMomentum,a=n.dragElastic,i=n.dragTransition,c=function(e,t){void 0===t&&(t=!0);var n,r=e.getProjectionParent();return!!r&&(t?Wi(n=Pi(r.projection.target,e.projection.target),r.getLatestValues()):n=Pi(r.getLayoutState().layout,e.getLayoutState().layout),ui((function(t){return e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),s=this.constraints||{};if(c&&Object.keys(s).length&&this.isLayoutDrag()){var l=this.visualElement.getProjectionParent();if(l){var u=Pi(l.projection.targetFinal,s);ui((function(e){var t=u[e],n=t.min,r=t.max;s[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}}))}}var d=ui((function(n){var l;if(Ji(n,r,t.currentDirection)){var u=null!==(l=null==s?void 0:s[n])&&void 0!==l?l:{},d=a?200:1e6,f=a?40:1e7,p=it(it({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},i),u);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,p):t.visualElement.startLayoutAnimation(n,p,c)}}));return Promise.all(d).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;ui((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),_a(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if(Ct(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};ui((function(t){r[t]=yi(e.visualElement.projection.target[t],e.constraintsBox[t])})),this.updateConstraints((function(){ui((function(t){if(Ji(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=Ar(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),a=o.min,i=o.max;e.visualElement.setProjectionTargetAxis(t,a,i)}}))})),setTimeout($i,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=Gi((function(n,r){var o=ki(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return Si(t.visualElement)})),r((function(){return o.forEach((function(e){return e.restoreTransform()}))})),n((function(){t.resolveDragConstraints()})),e&&r(e)}))},e.prototype.mount=function(e){var t=this,n=dr(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=Qn(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),a=e.prevDragCursor;return a&&this.start(qi,{cursorProgress:a}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function Ji(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var Qi,ec,tc={pan:xr((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,a=e.visualElement,i=t||n||r||o,c=Object(q.useRef)(null),s=Object(q.useContext)(ht).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){c.current=null,r&&r(e,t)}};Object(q.useEffect)((function(){null!==c.current&&c.current.updateHandlers(l)})),fr(a,"pointerdown",i&&function(e){c.current=new Qa(e,l,{transformPagePoint:s})}),Or((function(){return c.current&&c.current.end()}))})),drag:xr((function(e){var t=e.dragControls,n=e.visualElement,r=Object(q.useContext)(ht).transformPagePoint,o=gt((function(){return new Zi({visualElement:n})}));o.setProps(it(it({},e),{transformPagePoint:r})),Object(q.useEffect)((function(){return t&&t.subscribe(o)}),[o]),Object(q.useEffect)((function(){return o.mount(n)}),[])}))};function nc(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(Qi||(Qi={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(ec||(ec={}));var rc=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function oc(e,t,n){void 0===n&&(n=1);var r=st(function(e){var t=rc.exec(e);if(!t)return[,];var n=st(t,3);return[n[1],n[2]]}(e),2),o=r[0],a=r[1];if(o){var i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():nc(a)?oc(a,t,n+1):a}}function ac(e,t){return e/(t.max-t.min)*100}var ic={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!un.test(e))return e;e=parseFloat(e)}return ac(e,r.x)+"% "+ac(e,r.y)+"%"}},cc={borderRadius:it(it({},ic),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ic,borderTopRightRadius:ic,borderBottomLeftRadius:ic,borderBottomRightRadius:ic,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(rc,(function(e){return i.push(e),"_$css"})));var c=Qr.parse(e);if(c.length>5)return o;var s=Qr.createTransformer(e),l="number"!=typeof c[0]?1:0,u=n.x.scale*r.x,d=n.y.scale*r.y;c[0+l]/=u,c[1+l]/=d;var f=Ar(u,d,.5);"number"==typeof c[2+l]&&(c[2+l]/=f),"number"==typeof c[3+l]&&(c[3+l]/=f);var p=s(c);if(a){var b=0;p=p.replace("_$css",(function(){var e=i[b];return b++,e}))}return p}}},sc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var o=r.originBox,a=r.targetBox,i=r.visibilityAction,c=r.shouldStackAnimate,s=r.onComplete,l=r.prevParent,u=ct(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,f=d.visualElement,p=d.layout;if(!1===c)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===c){c&&(t.isAnimatingTree=!0),n=o||n,e=a||e;var b=!1,h=f.getProjectionParent();if(h){var m=h.prevViewportBox,v=h.getLayoutState().layout;l&&(a&&(v=l.getLayoutState().layout),o&&!Ti(l,h)&&l.prevViewportBox&&(m=l.prevViewportBox)),m&&bc(l,o,a)&&(b=!0,n=Pi(m,n),e=Pi(v,e))}var g=lc(n,e),y=ui((function(r){var o,a;if("position"===p){var c=e[r].max-e[r].min;n[r].max=n[r].min+c}if(!f.projection.isTargetLocked)return void 0===i?g?t.animateAxis(r,e[r],n[r],it(it({},u),{isRelative:b})):(null===(a=(o=t.stopAxisAnimation)[r])||void 0===a||a.call(o),f.setProjectionTargetAxis(r,e[r].min,e[r].max,b)):void f.setVisibility(i===ec.Show)}));return f.syncRender(),Promise.all(y).then((function(){t.isAnimatingTree=!1,s&&s(),f.notifyLayoutAnimationComplete()}))}},t}return at(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=_a,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)Ht[t]=e[t]}(cc)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),ui((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,a,i=this,c=void 0===r?{}:r,s=c.transition,l=c.isRelative;if(!this.isAnimating[e]||!fc(t,this.currentAnimationTarget[e])){null===(a=(o=this.stopAxisAnimation)[e])||void 0===a||a.call(o),this.isAnimating[e]=!0;var u=this.props.visualElement,d=this.frameTarget[e],f=u.getProjectionAnimationProgress()[e];f.clearListeners(),f.set(0),f.set(0);var p=function(){var r=f.get()/1e3;!function(e,t,n,r){e.min=Ar(t.min,n.min,r),e.max=Ar(t.max,n.max,r)}(d,n,t,r),u.setProjectionTargetAxis(e,d.min,d.max,l)};p();var b=f.onChange(p);this.stopAxisAnimation[e]=function(){i.isAnimating[e]=!1,f.stop(),b()},this.currentAnimationTarget[e]=t;var h=s||u.getDefaultTransition()||pc;return _a("x"===e?"layoutX":"layoutY",f,1e3,h&&xa(h,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(q.Component);function lc(e,t){return!(dc(e)||dc(t)||fc(e.x,t.x)&&fc(e.y,t.y))}var uc={min:0,max:0};function dc(e){return fc(e.x,uc)&&fc(e.y,uc)}function fc(e,t){return e.min===t.min&&e.max===t.max}var pc={duration:.45,ease:[.4,0,.1,1]};function bc(e,t,n){return e||!e&&!(t||n)}var hc={layoutReady:function(e){return e.notifyLayoutReady()}};function mc(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?hc:t,r=n.layoutReady,o=n.parent;Gi((function(t,n){var a=Array.from(e).sort(_i),i=o?ki(o):[];n((function(){lt(lt([],st(i)),st(a)).forEach((function(e){return e.resetTransform()}))})),t((function(){a.forEach(Si)})),n((function(){i.forEach((function(e){return e.restoreTransform()})),a.forEach(r)})),t((function(){a.forEach((function(e){e.isPresent&&(e.presence=Qi.Present)}))})),n((function(){Bo.preRender(),Bo.render()})),t((function(){Ko.postRender((function(){return a.forEach(vc)})),e.clear()}))})),$i()}}}function vc(e){e.prevViewportBox=e.projection.target}var gc=Object(q.createContext)(mc()),yc=Object(q.createContext)(mc());function Oc(e){return!!e.forceUpdate}var jc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return at(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;Oc(t)&&t.register(r),Oc(n)&&n.register(r),r.onUnmount((function(){Oc(t)&&t.remove(r),Oc(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return Oc(t)?t.syncUpdate():(!function(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;Oc(e)||e.flush()},t.prototype.render=function(){return null},t}(Y.a.Component);var wc={measureLayout:function(e){var t=Object(q.useContext)(gc),n=Object(q.useContext)(yc);return Y.a.createElement(jc,it({},e,{syncLayout:t,framerSyncLayout:n}))},layoutAnimation:function(e){var t=st(yt(),2)[1];return q.createElement(sc,it({},e,{safeToRemove:t}))}};function xc(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:li(),deltaFinal:li(),deltaTransform:""}}var _c=xc();function Ec(e,t,n){var r=e.x,o=e.y,a="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var i=n.rotate,c=n.rotateX,s=n.rotateY;i&&(a+="rotate("+i+") "),c&&(a+="rotateX("+c+") "),s&&(a+="rotateY("+s+") ")}return a+="scale("+r.scale+", "+o.scale+")",n||a!==Sc?a:""}function kc(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var Sc=Ec(_c.delta,_c.treeScale,{x:1,y:1}),Cc=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function Pc(e,t,n,r){var o,a,i=e.delta,c=e.layout,s=e.layoutCorrected,l=e.treeScale,u=t.target;a=c,Di((o=s).x,a.x),Di(o.y,a.y),function(e,t,n){var r=n.length;if(r){var o,a;t.x=t.y=1;for(var i=0;i<r;i++)a=(o=n[i]).getLayoutState().delta,t.x*=a.x.scale,t.y*=a.y.scale,Ni(e,a),Mi(o)&&Bi(e,e,o.getLatestValues())}}(s,l,n),ji(i,s,u,r)}var Tc=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Ea(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){ka(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(_i),this.isDirty=!1,this.children.forEach(e)},e}();var Mc=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,a=e.makeTargetAnimatable,i=e.measureViewportBox,c=e.render,s=e.readValueFromInstance,l=e.resetTransform,u=e.restoreTransform,d=e.removeValueFromRenderState,f=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var b=e.parent,h=e.props,m=e.presenceId,v=e.blockInitialAnimation,g=e.visualState;void 0===t&&(t={});var y,O,j,w,x,_,E=g.latestValues,k=g.renderState,S=function(){var e=Cc.map((function(){return new Sa})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return Cc.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var a="on"+r,i=e[a];i&&(t[r]=n[a](i))}))}};return e.forEach((function(e,t){n["on"+Cc[t]]=function(t){return e.add(t)},n["notify"+Cc[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,lt([],st(t)))}})),n}(),C={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},P=C,T=E,M=xc(),D=!1,I=new Map,R=new Map,A={},N=it({},E);function L(){y&&(G.isProjectionReady()&&(Bi(P.targetFinal,P.target,T),ji(M.deltaFinal,M.layoutCorrected,P.targetFinal,E)),F(),c(y,k))}function F(){var e=E;if(w&&w.isActive()){var n=w.getCrossfadeState(G);n&&(e=n)}r(G,k,e,P,M,t,h)}function z(){S.notifyUpdate(E)}function B(){G.layoutTree.forEach(Ic)}var H=p(h);for(var V in H){var W=H[V];void 0!==E[V]&&Xt(W)&&W.set(E[V],!1)}var U=It(h),K=Rt(h),G=it(it({treeType:n,current:null,depth:b?b.depth+1:0,parent:b,children:new Set,path:b?lt(lt([],st(b.path)),[b]):[],layoutTree:b?b.layoutTree:new Tc,presenceId:m,projection:C,variantChildren:K?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==b?void 0:b.isMounted()),blockInitialAnimation:v,isMounted:function(){return Boolean(y)},mount:function(e){y=G.current=e,G.pointTo(G),K&&b&&!U&&(_=null==b?void 0:b.addVariantChild(G)),null==b||b.children.add(G)},unmount:function(){zo.update(z),zo.render(L),zo.preRender(G.updateLayoutProjection),R.forEach((function(e){return e()})),G.stopLayoutAnimation(),G.layoutTree.remove(G),null==_||_(),null==b||b.children.delete(G),null==j||j(),S.clearAllListeners()},addVariantChild:function(e){var t,n=G.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return f&&n===e.treeType?f(G.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return K?G:null==b?void 0:b.getClosestVariantNode()},scheduleUpdateLayoutProjection:b?b.scheduleUpdateLayoutProjection:function(){return Ko.preRender(G.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return h.layoutId},getInstance:function(){return y},getStaticValue:function(e){return E[e]},setStaticValue:function(e,t){return E[e]=t},getLatestValues:function(){return E},setVisibility:function(e){G.isVisible!==e&&(G.isVisible=e,G.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(G,e,h,t)},addValue:function(e,t){G.hasValue(e)&&G.removeValue(e),I.set(e,t),E[e]=t.get(),function(e,t){var n=t.onChange((function(t){E[e]=t,h.onUpdate&&Ko.update(z,!1,!0)})),r=t.onRenderRequest(G.scheduleRender);R.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;I.delete(e),null===(t=R.get(e))||void 0===t||t(),R.delete(e),delete E[e],d(e,k)},hasValue:function(e){return I.has(e)},getValue:function(e,t){var n=I.get(e);return void 0===n&&void 0!==t&&(n=Pa(t),G.addValue(e,n)),n},forEachValue:function(e){return I.forEach(e)},readValue:function(e){var n;return null!==(n=E[e])&&void 0!==n?n:s(y,e,t)},setBaseTarget:function(e,t){N[e]=t},getBaseTarget:function(e){if(o){var t=o(h,e);if(void 0!==t&&!Xt(t))return t}return N[e]}},S),{build:function(){return F(),k},scheduleRender:function(){Ko.render(L,!1,!0)},syncRender:L,setProps:function(e){h=e,S.updatePropListeners(e),A=function(e,t,n){var r;for(var o in t){var a=t[o],i=n[o];if(Xt(a))e.addValue(o,a);else if(Xt(i))e.addValue(o,Pa(a));else if(i!==a)if(e.hasValue(o)){var c=e.getValue(o);!c.hasAnimated&&c.set(a)}else e.addValue(o,Pa(null!==(r=e.getStaticValue(o))&&void 0!==r?r:a))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(G,p(h),A)},getProps:function(){return h},getVariant:function(e){var t;return null===(t=h.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return h.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==b?void 0:b.getVariantContext();if(!U){var t=(null==b?void 0:b.getVariantContext())||{};return void 0!==h.initial&&(t.initial=h.initial),t}for(var n={},r=0;r<Nc;r++){var o=Ac[r],a=h[o];(Tt(a)||!1===a)&&(n[o]=a)}return n},enableLayoutProjection:function(){C.isEnabled=!0,G.layoutTree.add(G)},lockProjectionTarget:function(){C.isTargetLocked=!0},unlockProjectionTarget:function(){G.stopLayoutAnimation(),C.isTargetLocked=!1},getLayoutState:function(){return M},setCrossfader:function(e){w=e},isProjectionReady:function(){return C.isEnabled&&C.isHydrated&&M.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=G.getProjectionAnimationProgress()[e],o=n?C.relativeTarget[e]:C.target[e],a=o.min,i=o.max-a;return r.clearListeners(),r.set(a),r.set(a),r.onChange((function(t){G.setProjectionTargetAxis(e,t,t+i,n)})),G.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){ui((function(e){return G.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=i(y,t);return e||Wi(n,E),n},getProjectionAnimationProgress:function(){return x||(x={x:Pa(0),y:Pa(0)}),x},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(C.relativeTarget||(C.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=C.relativeTarget[e]):(C.relativeTarget=void 0,o=C.target[e]),C.isHydrated=!0,o.min=t,o.max=n,D=!0,S.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=M.layout);var n=G.getProjectionAnimationProgress(),r=n.x,o=n.y,a=!(C.relativeTarget||C.isTargetLocked||r.isAnimating()||o.isAnimating());(e||a)&&ui((function(e){var n=t[e],r=n.min,o=n.max;G.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var n=Pi(t.getLayoutState().layout,e.getLayoutState().layout);ui((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(G),G.notifyLayoutUpdate(M.layout,G.prevViewportBox||M.layout,e)},resetTransform:function(){return l(G,y,h)},restoreTransform:function(){return u(y,k)},updateLayoutProjection:function(){if(G.isProjectionReady()){var e=M.delta,t=M.treeScale,n=t.x,r=t.y,o=M.deltaTransform;Pc(M,P,G.path,E),D&&G.notifyViewportBoxUpdate(P.target,e),D=!1;var a=Ec(e,t);a===o&&n===t.x&&r===t.y||G.scheduleRender(),M.deltaTransform=a}},updateTreeLayoutProjection:function(){G.layoutTree.forEach(Dc),Ko.preRender(B,!1,!0)},getProjectionParent:function(){if(void 0===O){for(var e=!1,t=G.path.length-1;t>=0;t--){var n=G.path[t];if(n.projection.isEnabled){e=n;break}}O=e}return O},resolveRelativeTargetBox:function(){var e=G.getProjectionParent();if(C.relativeTarget&&e&&(function(e,t){xi(e.target.x,e.relativeTarget.x,t.target.x),xi(e.target.y,e.relativeTarget.y,t.target.y)}(C,e.projection),Mi(e))){var t=C.target;Bi(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(h._layoutResetTransform)},pointTo:function(e){P=e.projection,T=e.getLatestValues(),null==j||j(),j=wr(e.onSetAxisTarget(G.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;G.isPresent?G.presence=Qi.Present:null===(e=G.layoutSafeToRemove)||void 0===e||e.call(G)})))},isPresent:!0,presence:Qi.Entering});return G}};function Dc(e){e.resolveRelativeTargetBox()}function Ic(e){e.updateLayoutProjection()}var Rc,Ac=lt(["initial"],st(Va)),Nc=Ac.length,Lc=new Set(["width","height","top","left","right","bottom","x","y"]),Fc=function(e){return Lc.has(e)},zc=function(e,t){e.set(t,!1),e.set(t)},Bc=function(e){return e===bn||e===un};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Rc||(Rc={}));var Hc=function(e,t){return parseFloat(e.split(", ")[t])},Vc=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var a=o.match(/^matrix3d\((.+)\)$/);if(a)return Hc(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?Hc(i[1],e):0}},Wc=new Set(["x","y","z"]),Uc=Wt.filter((function(e){return!Wc.has(e)}));var Kc={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Vc(4,13),y:Vc(5,14)},Gc=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=it({},t),r=it({},r);var o=Object.keys(t).filter(Fc),a=[],i=!1,c=[];if(o.forEach((function(o){var s=e.getValue(o);if(e.hasValue(o)){var l,u=n[o],d=t[o],f=Da(u);if(Un(d))for(var p=d.length,b=null===d[0]?1:0;b<p;b++)l?Da(d[b]):(l=Da(d[b]))===f||Bc(f)&&Bc(l);else l=Da(d);if(f!==l)if(Bc(f)&&Bc(l)){var h=s.get();"string"==typeof h&&s.set(parseFloat(h)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&l===un&&(t[o]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==l?void 0:l.transform)&&(0===u||0===d)?0===u?s.set(l.transform(u)):t[o]=f.transform(d):(i||(a=function(e){var t=[];return Uc.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),i=!0),c.push(o),r[o]=void 0!==r[o]?r[o]:t[o],zc(s,d))}})),c.length){var s=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),a=getComputedStyle(o),i=a.display,c={top:a.top,left:a.left,bottom:a.bottom,right:a.right,transform:a.transform};"none"===i&&t.setStaticValue("display",e.display||"block"),t.syncRender();var s=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);zc(o,Kc[n](r,c)),e[n]=Kc[n](s,a)})),e}(t,e,c);return a.length&&a.forEach((function(t){var n=st(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:s,transitionEnd:r}}return{target:t,transitionEnd:r}};function $c(e,t,n,r){return function(e){return Object.keys(e).some(Fc)}(t)?Gc(e,t,n,r):{target:t,transitionEnd:r}}var qc=function(e,t,n,r){var o=function(e,t,n){var r,o=ct(t,[]),a=e.getInstance();if(!(a instanceof HTMLElement))return{target:o,transitionEnd:n};for(var i in n&&(n=it({},n)),e.forEachValue((function(e){var t=e.get();if(nc(t)){var n=oc(t,a);n&&e.set(n)}})),o){var c=o[i];if(nc(c)){var s=oc(c,a);s&&(o[i]=s,n&&(null!==(r=n[i])&&void 0!==r||(n[i]=c)))}}return{target:o,transitionEnd:n}}(e,t,r);return $c(e,t=o.target,n,r=o.transitionEnd)};var Yc={treeType:"dom",readValueFromInstance:function(e,t){if(Gt(t)){var n=ma(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(Jt(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return mi(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var a=t.transition,i=t.transitionEnd,c=ct(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,a={};for(var i in e)a[i]=null!==(r=La(i,t))&&void 0!==r?r:null===(o=n.getValue(i))||void 0===o?void 0:o.get();return a}(c,a||{},e);if(o&&(i&&(i=o(i)),c&&(c=o(c)),s&&(s=o(s))),r){!function(e,t,n){var r,o,a,i,c=Object.keys(t).filter((function(t){return!e.hasValue(t)})),s=c.length;if(s)for(var l=0;l<s;l++){var u=c[l],d=t[u],f=null;Array.isArray(d)&&(f=d[0]),null===f&&(f=null!==(o=null!==(r=n[u])&&void 0!==r?r:e.readValue(u))&&void 0!==o?o:t[u]),null!=f&&("string"==typeof f&&/^\-?\d*\.?\d+$/.test(f)?f=parseFloat(f):!Ra(f)&&Qr.test(d)&&(f=va(u,d)),e.addValue(u,Pa(f)),null!==(a=(i=n)[u])&&void 0!==a||(i[u]=f),e.setBaseTarget(u,f))}}(e,c,s);var l=qc(e,c,s,i);i=l.transitionEnd,c=l.target}return it({transition:a,transitionEnd:i},c)},scrapeMotionValuesFromProps:Hn,build:function(e,t,n,r,o,a,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var c=r.isEnabled&&o.isHydrated;yn(t,n,r,o,a,i.transformTemplate,c?Ec:void 0,c?kc:void 0)},render:Fn},Xc=Mc(Yc),Zc=Mc(it(it({},Yc),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Gt(t)?(null===(n=ma(t))||void 0===n?void 0:n.default)||0:(t=zn.has(t)?t:Ln(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Vn,build:function(e,t,n,r,o,a,i){var c=r.isEnabled&&o.isHydrated;Dn(t,n,r,o,a,i.transformTemplate,c?Ec:void 0,c?kc:void 0)},render:Bn})),Jc=function(e,t){return Bt(e)?Zc(t,{enableHardwareAcceleration:!1}):Xc(t,{enableHardwareAcceleration:!0})},Qc=it(it(it(it({},qa),_r),tc),wc),es=Ft((function(e,t){return Jn(e,t,Qc,Jc)}));var ts=n("7Jlx"),ns=n("q9zb"),rs=n("C6yU");const os=Object(s.createContext)({flexItemDisplay:void 0});const as={name:"zjik7",styles:"display:flex"},is={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"},cs={name:"82a6rk",styles:"flex:1"},ss={name:"13nosa1",styles:">*{min-height:0;}"},ls={name:"1pwxzk4",styles:">*{min-width:0;}"};var us=n("h9+V");function ds(e){const{className:t,display:n,isBlock:r=!1,...o}=Object(rs.a)(e,"FlexItem"),a={},i=Object(s.useContext)(os).flexItemDisplay;a.Base=Object(x.a)({display:n||i},"","");return{...o,className:Object(us.a)()(is,a.Base,r&&cs,t)}}var fs=Object(ts.a)((function(e,t){const n=function(e){return ds({isBlock:!0,...Object(rs.a)(e,"FlexBlock")})}(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"FlexBlock");var ps=Object(ts.a)((function(e,t){const n=ds(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"FlexItem"),bs=n("NMb1"),hs=n.n(bs);const ms=["40em","52em","64em"],vs=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{defaultIndex:t=0}=e;if("number"!=typeof t)throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>ms.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${ms.length} breakpoints, got index ${t}`);const[n,r]=Object(s.useState)(t);return Object(s.useEffect)(()=>{const e=()=>{const e=ms.filter(e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches).length;n!==e&&r(e)};return e(),"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",e)}},[n]),n};function gs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=vs(t);if(!Array.isArray(e)&&"function"!=typeof e)return e;const r=e||[];return r[n>=r.length?r.length-1:n]}function ys(e){var t,n;if(void 0===e)return;if(!e)return"0";const r="number"==typeof e?e:Number(e);return"undefined"!=typeof window&&null!==(t=window.CSS)&&void 0!==t&&null!==(n=t.supports)&&void 0!==n&&n.call(t,"margin",e.toString())||Number.isNaN(r)?e.toString():`calc(4px * ${e})`}const Os=new RegExp(/-left/g),js=new RegExp(/-right/g),ws=new RegExp(/Left/g),xs=new RegExp(/Right/g);function _s(e){return"left"===e?"right":"right"===e?"left":Os.test(e)?e.replace(Os,"-right"):js.test(e)?e.replace(js,"-left"):ws.test(e)?e.replace(ws,"Right"):xs.test(e)?e.replace(xs,"Left"):e}const Es=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(l.mapKeys)(e,(e,t)=>_s(t))};function ks(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return()=>t?Object(f.isRTL)()?Object(x.a)(t,""):Object(x.a)(e,""):Object(f.isRTL)()?Object(x.a)(Es(e),""):Object(x.a)(e,"")}function Ss(e){const{align:t="center",className:n,direction:r="row",expanded:o=!0,gap:a=2,justify:i="space-between",wrap:c=!1,...l}=Object(rs.a)(function(e){let{isReversed:t,...n}=e;return void 0!==t?(hs()("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...n,direction:t?"row-reverse":"row"}):n}(e),"Flex"),u=gs(Array.isArray(r)?r:[r]),d="string"==typeof u&&!!u.includes("column"),f="string"==typeof u&&u.includes("reverse"),p=Object(us.a)();return{...l,className:Object(s.useMemo)(()=>{const e={};return e.Base=Object(x.a)({alignItems:d?"normal":t,flexDirection:u,flexWrap:c?"wrap":void 0,justifyContent:i,height:d&&o?"100%":void 0,width:!d&&o?"100%":void 0,marginBottom:c?`calc(${ys(a)} * -1)`:void 0},"",""),e.Items=Object(x.a)(">*+*:not( marquee ){margin-top:",d?ys(a):void 0,";",ks({marginLeft:d||f?void 0:ys(a),marginRight:!d&&f?ys(a):void 0})(),";}",""),e.WrapItems=Object(x.a)(">*:not( marquee ){margin-bottom:",ys(a),";",ks({marginLeft:!d&&f?ys(a):void 0,marginRight:d||f?void 0:ys(a)})(),";}>*:last-child:not( marquee ){",ks({marginLeft:!d&&f?0:void 0,marginRight:d||f?void 0:0})(),";}",""),p(as,e.Base,c?e.WrapItems:e.Items,d?ss:ls,n)},[t,n,u,o,a,d,f,i,c,ks.watch()]),isColumn:d}}ks.watch=()=>Object(f.isRTL)();var Cs=Object(ts.a)((function(e,t){const{children:n,isColumn:r,...o}=Ss(e);return Object(s.createElement)(os.Provider,{value:{flexItemDisplay:r?"block":void 0}},Object(s.createElement)(ns.a,Object(c.a)({},o,{ref:t}),n))}),"Flex");const Ps={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},Ts="…",Ms={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},Ds={ellipsis:Ts,ellipsizeMode:Ms.auto,limit:0,numberOfLines:0};function Is(e,t,n,r){if("string"!=typeof e)return"";const o=e.length,a=~~t,i=~~n,c=Object(l.isNil)(r)?Ts:r;return 0===a&&0===i||a>=o||i>=o||a+i>=o?e:0===i?e.slice(0,a)+c:e.slice(0,a)+c+e.slice(o-i)}function Rs(e){const{className:t,children:n,ellipsis:r=Ts,ellipsizeMode:o=Ms.auto,limit:a=0,numberOfLines:i=0,...c}=Object(rs.a)(e,"Truncate"),l=Object(us.a)(),u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n={...Ds,...t},{ellipsis:r,ellipsizeMode:o,limit:a}=n;if(o===Ms.none)return e;let i,c;switch(o){case Ms.head:i=0,c=a;break;case Ms.middle:i=Math.floor(a/2),c=Math.floor(a/2);break;default:i=a,c=0}const s=o!==Ms.auto?Is(e,i,c,r):e;return s}("string"==typeof n?n:"",{ellipsis:r,ellipsizeMode:o,limit:a,numberOfLines:i}),d=o===Ms.auto;return{...c,className:Object(s.useMemo)(()=>{const e={};return e.numberOfLines=Object(x.a)("-webkit-box-orient:vertical;-webkit-line-clamp:",i,";display:-webkit-box;overflow:hidden;",""),l(d&&!i&&Ps,d&&!!i&&e.numberOfLines,t)},[t,i,d]),children:u}}var As=n("4eJC"),Ns=n.n(As);let Ls;Object(_.b)([E.a]);const Fs=Ns()((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&Object(_.a)(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!Ls){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),Ls=e}return Ls}}();if(!r)return"";r.style.background=e;const o=null===(t=window)||void 0===t?void 0:t.getComputedStyle(r).background;return r.style.background="",o||""}));function zs(e){return"#000000"===function(e){const t=Fs(e);return Object(_.a)(t).isLight()?"#000000":"#ffffff"}(e)?"dark":"light"}const Bs={controlSurfaceColor:L.white,controlTextActiveColor:L.ui.theme,controlPaddingX:"12px",controlPaddingXLarge:"calc(12px * 1.3334)",controlPaddingXSmall:"calc(12px / 1.3334)",controlBackgroundColor:L.white,controlBorderRadius:"2px",controlBorderColor:L.gray[700],controlBoxShadow:"transparent",controlBorderColorHover:L.gray[700],controlBoxShadowFocus:"0 0 0 0.5px "+L.admin.theme,controlDestructiveBorderColor:L.alert.red,controlHeight:"36px",controlHeightXSmall:"calc( 36px * 0.6 )",controlHeightSmall:"calc( 36px * 0.8 )",controlHeightLarge:"calc( 36px * 1.2 )",controlHeightXLarge:"calc( 36px * 1.4 )"},Hs={toggleGroupControlBackgroundColor:Bs.controlBackgroundColor,toggleGroupControlBorderColor:L.ui.border,toggleGroupControlBackdropBackgroundColor:Bs.controlSurfaceColor,toggleGroupControlBackdropBorderColor:L.ui.border,toggleGroupControlBackdropBoxShadow:"transparent",toggleGroupControlButtonColorActive:Bs.controlBackgroundColor};var Vs={...Bs,...Hs,colorDivider:"rgba(0, 0, 0, 0.1)",colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",elevationIntensity:1,radiusBlockUi:"2px",borderWidth:"1px",borderWidthFocus:"1.5px",borderWidthTab:"4px",spinnerSize:"18px",fontSize:"13px",fontSizeH1:"calc(2.44 * 13px)",fontSizeH2:"calc(1.95 * 13px)",fontSizeH3:"calc(1.56 * 13px)",fontSizeH4:"calc(1.25 * 13px)",fontSizeH5:"13px",fontSizeH6:"calc(0.8 * 13px)",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * 13px)",fontSizeXSmall:"calc(0.75 * 13px)",fontLineHeightBase:"1.2",fontWeight:"normal",fontWeightHeading:"600",gridBase:"4px",cardBorderRadius:"2px",cardPaddingXSmall:""+ys(2),cardPaddingSmall:""+ys(4),cardPaddingMedium:`${ys(4)} ${ys(6)}`,cardPaddingLarge:`${ys(6)} ${ys(8)}`,surfaceBackgroundColor:L.white,surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:L.white,surfaceColor:L.white,transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"};const Ws=Object(x.a)("color:",L.darkGray.primary,";line-height:",Vs.fontLineHeightBase,";margin:0;",""),Us={name:"4zleql",styles:"display:block"},Ks=Object(x.a)("color:",L.alert.green,";",""),Gs=Object(x.a)("color:",L.alert.red,";",""),$s=Object(x.a)("color:",L.mediumGray.text,";",""),qs=Object(x.a)("mark{background:",L.alert.yellow,";border-radius:2px;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),Ys={name:"50zrmy",styles:"text-transform:uppercase"};var Xs=n("5V/u");const Zs=Ns()(e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t});const Js={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},Qs=[1,2,3,4,5,6].flatMap(e=>[e,e.toString()]);function el(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:13;if(e in Js)return el(Js[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}const t=`(${e} / 13)`;return`calc(${t} * ${Vs.fontSize})`}function tl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;if(!Qs.includes(e))return el(e);const t="fontSizeH"+e;return Vs[t]}var nl={name:"50zrmy",styles:"text-transform:uppercase"};function rl(e){const{adjustLineHeightForInnerControls:t,align:n,children:o,className:a,color:i,ellipsizeMode:c,isDestructive:u=!1,display:d,highlightEscape:f=!1,highlightCaseSensitive:p=!1,highlightWords:b,highlightSanitize:h,isBlock:m=!1,letterSpacing:v,lineHeight:g,optimizeReadabilityFor:y,size:O,truncate:j=!1,upperCase:w=!1,variant:_,weight:E=Vs.fontWeight,...k}=Object(rs.a)(e,"Text");let S=o;const C=Array.isArray(b),P="caption"===O;if(C){if("string"!=typeof o)throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");S=function(e){let{activeClassName:t="",activeIndex:n=-1,activeStyle:r,autoEscape:o,caseSensitive:a=!1,children:i,findChunks:c,highlightClassName:l="",highlightStyle:u={},highlightTag:d="mark",sanitize:f,searchWords:p=[],unhighlightClassName:b="",unhighlightStyle:h}=e;if(!i)return null;if("string"!=typeof i)return i;const m=i,v=Object(Xs.findAll)({autoEscape:o,caseSensitive:a,findChunks:c,sanitize:f,searchWords:p,textToHighlight:m}),g=d;let y,O=-1,j="";return v.map((e,o)=>{const i=m.substr(e.start,e.end-e.start);if(e.highlight){let e;O++,"object"==typeof l?a?e=l[i]:(l=Zs(l),e=l[i.toLowerCase()]):e=l;const c=O===+n;j=`${e} ${c?t:""}`,y=!0===c&&null!==r?Object.assign({},u,r):u;const d={children:i,className:j,key:o,style:y};return"string"!=typeof g&&(d.highlightIndex=O),Object(s.createElement)(g,d)}return Object(s.createElement)("span",{children:i,className:b,key:o,style:h})})}({autoEscape:f,children:o,caseSensitive:p,searchWords:b,sanitize:h})}const T=Object(us.a)();let M;!0===j&&(M="auto"),!1===j&&(M="none");const D=Rs({...k,className:Object(s.useMemo)(()=>{const e={},o=function(e,t){if(t)return t;if(!e)return;let n=`calc(${Vs.controlHeight} + ${ys(2)})`;switch(e){case"large":n=`calc(${Vs.controlHeightLarge} + ${ys(2)})`;break;case"small":n=`calc(${Vs.controlHeightSmall} + ${ys(2)})`;break;case"xSmall":n=`calc(${Vs.controlHeightXSmall} + ${ys(2)})`}return n}(t,g);if(e.Base=Object(x.a)({color:i,display:d,fontSize:el(O),fontWeight:E,lineHeight:o,letterSpacing:v,textAlign:n},"",""),e.upperCase=nl,e.optimalTextColor=null,y){const t="dark"===zs(y);e.optimalTextColor=t?Object(x.a)({color:L.black},"",""):Object(x.a)({color:L.white},"","")}return T(Ws,e.Base,e.optimalTextColor,u&&Gs,!!C&&qs,m&&Us,P&&$s,_&&r[_],w&&e.upperCase,a)},[t,n,a,i,d,m,P,u,C,v,g,y,O,w,_,E]),children:o,ellipsizeMode:c||M});return!j&&Array.isArray(o)&&(S=s.Children.map(o,e=>{if(!Object(l.isPlainObject)(e)||!("props"in e))return e;return Object(ts.b)(e,["Link"])?Object(s.cloneElement)(e,{size:e.props.size||"inherit"}):e})),{...D,children:j?D.children:S}}var ol=Object(ts.a)((function(e,t){const n=rl(e);return Object(s.createElement)(ns.a,Object(c.a)({as:"span"},n,{ref:t}))}),"Text");var al={name:"1739oy8",styles:"z-index:1"};const il=e=>{let{isFocused:t}=e;return t?al:""};var cl={name:"2o6p8u",styles:"justify-content:space-between"},sl={name:"14qk3ip",styles:"align-items:flex-start;flex-direction:column-reverse"},ll={name:"hbng6e",styles:"align-items:flex-start;flex-direction:column"};const ul=e=>{let{labelPosition:t}=e;switch(t){case"top":return ll;case"bottom":return sl;case"edge":return cl;default:return""}},dl=Object(w.a)(Cs,{target:"em5sgkm7"})("position:relative;border-radius:2px;padding-top:0;",il," ",ul,";");var fl={name:"wyxldh",styles:"margin:0 !important"};var pl={name:"1d3w5wq",styles:"width:100%"};const bl=Object(w.a)("div",{target:"em5sgkm6"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",e=>{let{disabled:t}=e;const n=t?L.ui.backgroundDisabled:L.ui.background;return Object(x.a)({backgroundColor:n},"","")}," ",e=>{let{hideLabel:t}=e;return t?fl:null}," ",e=>{let{__unstableInputWidth:t,labelPosition:n}=e;return t?"side"===n?"":"edge"===n?Object(x.a)({flex:"0 0 "+t},"",""):Object(x.a)({width:t},"",""):pl},";"),hl=Object(w.a)("input",{target:"em5sgkm5"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",L.black,";display:block;margin:0;outline:none;padding-left:8px;padding-right:8px;width:100%;",e=>{let t,n,{isDragging:r,dragCursor:o}=e;return r&&(t=Object(x.a)("cursor:",o,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),r&&o&&(n=Object(x.a)("&:active{cursor:",o,";}","")),Object(x.a)(t," ",n,";","")}," ",e=>{let{disabled:t}=e;return t?Object(x.a)({color:L.ui.textDisabled},"",""):""}," ",e=>{let{inputSize:t}=e;const n={default:"13px",small:"11px"},r=n[t]||n.default;return r?Object(x.a)("font-size:","16px",";@media ( min-width: 600px ){font-size:",r,";}",""):""}," ",e=>{let{inputSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}},r=n[t]||n.default;return Object(x.a)(r,"","")}," &::-webkit-input-placeholder{line-height:normal;}}"),ml=e=>{let{labelPosition:t}=e,n=4;return"edge"!==t&&"side"!==t||(n=0),Object(x.a)({paddingTop:0,paddingBottom:n},"","")},vl=Object(w.a)(ol,{target:"em5sgkm4"})("&&&{box-sizing:border-box;color:currentColor;display:block;margin:0;max-width:100%;z-index:1;",ml," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"),gl=e=>Object(s.createElement)(vl,Object(c.a)({},e,{as:"label"})),yl=Object(w.a)(ps,{target:"em5sgkm3"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),Ol=Object(w.a)("div",{target:"em5sgkm2"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",e=>{let t,{disabled:n,isFocused:r}=e,o=r?L.ui.borderFocus:L.ui.border;return r&&(t=`0 0 0 1px ${L.ui.borderFocus} inset`),n&&(o=L.ui.borderDisabled),Object(x.a)({boxShadow:t,borderColor:o,borderStyle:"solid",borderWidth:1},"","")}," ",ks({paddingLeft:2}),";}"),jl=Object(w.a)("span",{target:"em5sgkm1"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),wl=Object(w.a)("span",{target:"em5sgkm0"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"});var xl=Object(s.memo)((function(e){let{disabled:t=!1,isFocused:n=!1}=e;return Object(s.createElement)(Ol,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:t,isFocused:n})}));function _l(e){let{children:t,hideLabelFromVision:n,htmlFor:r,...o}=e;return t?n?Object(s.createElement)(m.a,{as:"label",htmlFor:r},t):Object(s.createElement)(gl,Object(c.a)({htmlFor:r},o),t):null}function El(e,t){let{__unstableInputWidth:n,children:r,className:o,disabled:a=!1,hideLabelFromVision:i=!1,labelPosition:l,id:u,isFocused:d=!1,label:f,prefix:b,size:h="default",suffix:m,...v}=e;const g=function(e){const t=Object(p.useInstanceId)(El);return e||"input-base-control-"+t}(u),y=i||!f;return Object(s.createElement)(dl,Object(c.a)({},v,function(e){const t={};switch(e){case"top":t.direction="column",t.gap=0;break;case"bottom":t.direction="column-reverse",t.gap=0;break;case"edge":t.justify="space-between"}return t}(l),{className:o,isFocused:d,labelPosition:l,ref:t}),Object(s.createElement)(yl,null,Object(s.createElement)(_l,{className:"components-input-control__label",hideLabelFromVision:i,labelPosition:l,htmlFor:g,size:h},f)),Object(s.createElement)(bl,{__unstableInputWidth:n,className:"components-input-control__container",disabled:a,hideLabel:y,labelPosition:l},b&&Object(s.createElement)(jl,{className:"components-input-control__prefix"},b),r,m&&Object(s.createElement)(wl,{className:"components-input-control__suffix"},m),Object(s.createElement)(xl,{disabled:a,isFocused:d})))}var kl=Object(s.forwardRef)(El);function Sl(e,t){return e.map((function(e,n){return e+t[n]}))}function Cl(e,t){return e.map((function(e,n){return e-t[n]}))}function Pl(e){return Math.hypot.apply(Math,e)}function Tl(e,t,n){var r=Pl(t),o=0===r?0:1/r,a=0===n?0:1/n,i=a*r,c=t.map((function(e){return a*e})),s=t.map((function(e){return o*e}));return{velocities:c,velocity:i,distance:Pl(e),direction:s}}function Ml(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}function Dl(e,t,n){return 0===t||Math.abs(t)===1/0?function(e,t){return Math.pow(e,5*t)}(e,n):e*t*n/(t+n*e)}function Il(e,t,n,r){return void 0===r&&(r=.15),0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-Dl(t-e,n-t,r)+t:e>n?+Dl(e-n,n-t,r)+n:e}function Rl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Al(){return(Al=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Nl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ll(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Fl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bl(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return zl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zl(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function Hl(){}function Vl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?Hl:1===t.length?t[0]:function(){for(var e,n,r=Bl(t);!(n=r()).done;){var o=n.value;e=o.apply(this,arguments)||e}return e}}function Wl(e,t){if(void 0===e){if(void 0===t)throw new Error("Must define fallback value if undefined is expected");e=t}return Array.isArray(e)?e:[e,e]}function Ul(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}return e}function Kl(e,t){void 0===e&&(e={});for(var n={},r=0,o=Object.entries(t);r<o.length;r++){var a=o[r],i=a[0],c=a[1];switch(typeof c){case"function":n[i]=c.call(n,e[i],i,e);break;case"object":n[i]=Kl(e[i],c);break;case"boolean":c&&(n[i]=e[i])}}return n}function Gl(){return"undefined"!=typeof window&&"ontouchstart"in window}function $l(e){return"pointerId"in e?null:"touchend"===e.type?e.changedTouches:e.targetTouches}function ql(e){return Array.from($l(e)).map((function(e){return e.identifier}))}function Yl(e){return{buttons:"buttons"in e?e.buttons:0,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}var Xl=function(e){return e};function Zl(e,t){void 0===t&&(t=Xl);var n=$l(e),r=n?n[0]:e;return t([r.clientX,r.clientY])}var Jl={threshold:function(e){return void 0===e&&(e=0),Wl(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return Wl(.15);case!1:return Wl(0);default:return Wl(e)}},enabled:function(e){return void 0===e&&(e=!0),e},triggerAllEvents:function(e){return void 0===e&&(e=!1),e},initial:function(e){return void 0===e&&(e=0),"function"==typeof e?e:Wl(e)},transform:!0},Ql=Al({},Jl,{axis:!0,lockDirection:function(e){return void 0===e&&(e=!1),e},bounds:function(e){if(void 0===e&&(e={}),"function"==typeof e)return function(t){return Ql.bounds(e(t))};var t=e,n=t.left,r=void 0===n?-1/0:n,o=t.right,a=void 0===o?1/0:o,i=t.top,c=void 0===i?-1/0:i,s=t.bottom;return[[r,a],[c,void 0===s?1/0:s]]}}),eu="undefined"!=typeof window&&window.document&&window.document.createElement,tu={enabled:function(e){return void 0===e&&(e=!0),e},domTarget:!0,window:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return void 0===e&&(e=eu?window:void 0),e})),eventOptions:function(e){var t=void 0===e?{}:e,n=t.passive,r=void 0===n||n,o=t.capture;return{passive:r,capture:void 0!==o&&o}},transform:!0},nu=Al({},Ql,{useTouch:function(e){void 0===e&&(e=!1);var t=Gl(),n="undefined"!=typeof window&&"onpointerdown"in window;return!(!e||!t)||!(!t||n)},experimental_preventWindowScrollY:function(e){return void 0===e&&(e=!1),e},threshold:function(e,t,n){var r=n.filterTaps,o=void 0!==r&&r,a=n.lockDirection,i=void 0!==a&&a,c=n.axis,s=Wl(e,o?3:i||(void 0===c?void 0:c)?1:0);return this.filterTaps=o,s},swipeVelocity:function(e){return void 0===e&&(e=.5),Wl(e)},swipeDistance:function(e){return void 0===e&&(e=50),Wl(e)},swipeDuration:function(e){return void 0===e&&(e=250),e},delay:function(e){switch(void 0===e&&(e=0),e){case!0:return 180;case!1:return 0;default:return e}}});function ru(e){return void 0===e&&(e={}),Kl(e,tu)}function ou(e){return void 0===e&&(e={}),Kl(e,nu)}function au(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,a=Ll(e,["domTarget","eventOptions","window","enabled"]),i=ru({domTarget:t,eventOptions:n,window:r,enabled:o});return i.hover=Al({enabled:!0},a),i}function iu(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,a=Ll(e,["domTarget","eventOptions","window","enabled"]),i=ru({domTarget:t,eventOptions:n,window:r,enabled:o});return i.drag=ou(a),i}function cu(e){return Al({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_threshold:[0,0],_lastEventType:void 0,_dragStarted:!1,_dragPreventScroll:!1,_dragIsTap:!0,_dragDelayed:!1,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:Hl,canceled:!1,memo:void 0,args:void 0},e)}function su(){return{shared:{hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1,locked:!1},drag:cu({_pointerId:void 0,axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,tap:!1,swipe:[0,0]}),pinch:cu({_pointerIds:[],da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:cu({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:cu({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:cu({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var lu=new Map,uu=function(e){return e},du=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this.controller=e,this.args=t,this.debounced=!0,this.setTimeout=function(e,t){var r;void 0===t&&(t=140),clearTimeout(n.controller.timeouts[n.stateKey]);for(var o=arguments.length,a=new Array(o>2?o-2:0),i=2;i<o;i++)a[i-2]=arguments[i];n.controller.timeouts[n.stateKey]=(r=window).setTimeout.apply(r,[e,t].concat(a))},this.clearTimeout=function(){clearTimeout(n.controller.timeouts[n.stateKey])},this.fireGestureHandler=function(e){if(void 0===e&&(e=!1),n.state._blocked)return n.debounced||(n.state._active=!1,n.clean()),null;if(!e&&!n.state.intentional&&!n.config.triggerAllEvents)return null;if(n.state.intentional){var t=n.state.active,r=n.state._active;n.state.active=r,n.state.first=r&&!t,n.state.last=t&&!r,n.controller.state.shared[n.ingKey]=r}var o=n.controller.pointerIds.size||n.controller.touchIds.size,a=n.controller.state.shared.buttons>0||o>0,i=Al({},n.controller.state.shared,n.state,n.mapStateValues(n.state),{locked:!!document.pointerLockElement,touches:o,down:a}),c=n.handler(i);return n.state.memo=void 0!==c?c:n.state.memo,i},this.controller=e,this.args=t}var t,n,r,o=e.prototype;return o.updateSharedState=function(e){Object.assign(this.controller.state.shared,e)},o.updateGestureState=function(e){Object.assign(this.state,e)},o.checkIntentionality=function(e,t){return{_intentional:e,_blocked:!1}},o.getMovement=function(e){var t=this.config.rubberband,n=this.state,r=n._bounds,o=n._initial,a=n._active,i=n._intentional,c=n.lastOffset,s=n.movement,l=n._threshold,u=this.getInternalMovement(e,this.state),d=!1===i[0]?fu(u[0],l[0]):i[0],f=!1===i[1]?fu(u[1],l[1]):i[1],p=this.checkIntentionality([d,f],u);if(p._blocked)return Al({},p,{_movement:u,delta:[0,0]});var b=p._intentional,h=u,m=[!1!==b[0]?u[0]-b[0]:0,!1!==b[1]?u[1]-b[1]:0],v=Sl(m,c),g=a?t:[0,0];return m=pu(r,Sl(m,o),g),Al({},p,{intentional:!1!==b[0]||!1!==b[1],_initial:o,_movement:h,movement:m,values:e,offset:pu(r,v,g),delta:Cl(m,s)})},o.clean=function(){this.clearTimeout()},t=e,(n=[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}},{key:"transform",get:function(){return this.config.transform||this.controller.config.transform||uu}}])&&Rl(t.prototype,n),r&&Rl(t,r),e}();function fu(e,t){return Math.abs(e)>=t&&Ml(e)*t}function pu(e,t,n){var r=t[0],o=t[1],a=n[0],i=n[1],c=e[0],s=c[0],l=c[1],u=e[1],d=u[0],f=u[1];return[Il(r,s,l,a),Il(o,d,f,i)]}function bu(e,t,n){var r=e.state,o=t.timeStamp,a=t.type,i=r.values;return{_lastEventType:a,event:t,timeStamp:o,elapsedTime:n?0:o-r.startTime,previous:i}}function hu(e,t,n,r){var o=e.state,a=e.config,i=e.stateKey,c=e.args,s=e.transform,l=o.offset,u=n.timeStamp,d=a.initial,f=a.bounds,p=Cl(s(a.threshold),s([0,0])).map(Math.abs),b=Al({},su()[i],{_active:!0,args:c,values:t,initial:null!=r?r:t,_threshold:p,offset:l,lastOffset:l,startTime:u});return Al({},b,{_initial:Ul(d,b),_bounds:Ul(f,b)})}var mu=function(e){var t=this;this.classes=e,this.pointerIds=new Set,this.touchIds=new Set,this.supportsTouchEvents=Gl(),this.supportsGestureEvents=function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),this.bind=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var o,a={},i=Bl(t.classes);!(o=i()).done;){var c=o.value;new c(t,n).addBindings(a)}var s=function(e){Eu(a,e,(function(r){return t.nativeRefs[e](Al({},t.state.shared,{event:r,args:n}))}))};for(var l in t.nativeRefs)s(l);return t.config.domTarget?ju(t,a):wu(t,a)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=_u(t.config),n=t.config.eventOptions;e&&Su(e,xu(t.domListeners),n),Object.values(t.timeouts).forEach(clearTimeout),function(e){var t=e.config,n=t.window,r=t.eventOptions,o=e.windowListeners;if(!n)return;for(var a in o){var i=o[a];Su(n,i,r)}e.windowListeners={}}(t)},this.classes=e,this.state=su(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function vu(e,t){"pointerId"in t?e.pointerIds.add(t.pointerId):e.touchIds=new Set(ql(t))}function gu(e,t){"pointerId"in t?e.pointerIds.delete(t.pointerId):ql(t).forEach((function(t){return e.touchIds.delete(t)}))}function yu(e,t,n){var r=e.config,o=e.windowListeners;void 0===n&&(n=r.eventOptions),r.window&&(Su(r.window,o[t],n),delete o[t])}function Ou(e,t,n,r){var o=e.config,a=e.windowListeners;void 0===n&&(n=[]),void 0===r&&(r=o.eventOptions),o.window&&(Su(o.window,a[t],r),ku(o.window,a[t]=n,r))}function ju(e,t){var n=e.config,r=e.domListeners,o=_u(n);if(!o)throw new Error("domTarget must be defined");var a=n.eventOptions;Su(o,xu(r),a);for(var i=0,c=Object.entries(t);i<c.length;i++){var s=c[i],l=s[0],u=s[1],d=l.slice(2).toLowerCase();r.push([d,Vl.apply(void 0,u)])}ku(o,r,a)}function wu(e,t){for(var n={},r=e.config.eventOptions.capture?"Capture":"",o=0,a=Object.entries(t);o<a.length;o++){var i=a[o],c=i[0],s=i[1],l=Array.isArray(s)?s:[s];n[c+r]=Vl.apply(void 0,l)}return n}function xu(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function _u(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function Eu(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function ku(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=Bl(t);!(r=o()).done;){var a=r.value,i=a[0],c=a[1];e.addEventListener(i,c,n)}}function Su(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=Bl(t);!(r=o()).done;){var a=r.value,i=a[0],c=a[1];e.removeEventListener(i,c,n)}}function Cu(e,t,n){void 0===n&&(n={});var r=function(e){var t=new Set;e.drag&&t.add(lu.get("drag"));e.wheel&&t.add(lu.get("wheel"));e.scroll&&t.add(lu.get("scroll"));e.move&&t.add(lu.get("move"));e.pinch&&t.add(lu.get("pinch"));e.hover&&t.add(lu.get("hover"));return t}(e),o=Y.a.useMemo((function(){return new mu(r)}),[]);return o.config=t,o.handlers=e,o.nativeRefs=n,Y.a.useEffect(o.effect,[]),o.config.domTarget?Pu:o.bind}function Pu(){0}var Tu=function(e){function t(){return e.apply(this,arguments)||this}Nl(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return Cl(e,t.initial)},n.checkIntentionality=function(e,t){if(!1===e[0]&&!1===e[1])return{_intentional:e,axis:this.state.axis};var n=t.map(Math.abs),r=n[0],o=n[1],a=this.state.axis||(r>o?"x":r<o?"y":void 0);return this.config.axis||this.config.lockDirection?a?this.config.axis&&a!==this.config.axis?{_intentional:e,_blocked:!0,axis:a}:(e["x"===a?1:0]=!1,{_intentional:e,_blocked:!1,axis:a}):{_intentional:[!1,!1],_blocked:!1,axis:a}:{_intentional:e,_blocked:!1,axis:a}},n.getKinematics=function(e,t){var n=this.getMovement(e);if(!n._blocked){var r=t.timeStamp-this.state.timeStamp;Object.assign(n,Tl(n.movement,n.delta,r))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(du);function Mu(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}var Du=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).ingKey="dragging",t.stateKey="drag",t.setPointerCapture=function(e){if(!t.config.useTouch&&!document.pointerLockElement){var n=e.target,r=e.pointerId;n&&"setPointerCapture"in n&&n.setPointerCapture(r),t.updateGestureState({_dragTarget:n,_dragPointerId:r})}},t.releasePointerCapture=function(){if(!t.config.useTouch&&!document.pointerLockElement){var e=t.state,n=e._dragTarget,r=e._dragPointerId;if(r&&n&&"releasePointerCapture"in n&&(!("hasPointerCapture"in n)||n.hasPointerCapture(r)))try{n.releasePointerCapture(r)}catch(e){}}},t.preventScroll=function(e){t.state._dragPreventScroll&&e.cancelable&&e.preventDefault()},t.getEventId=function(e){return t.config.useTouch?e.changedTouches[0].identifier:e.pointerId},t.isValidEvent=function(e){return t.state._pointerId===t.getEventId(e)},t.shouldPreventWindowScrollY=t.config.experimental_preventWindowScrollY&&t.controller.supportsTouchEvents,t.setUpWindowScrollDetection=function(e){Mu(e),Ou(t.controller,t.stateKey,[["touchmove",t.preventScroll],["touchend",t.clean.bind(Fl(t))],["touchcancel",t.clean.bind(Fl(t))]],{passive:!1}),t.setTimeout(t.startDrag.bind(Fl(t)),250,e)},t.setUpDelayedDragTrigger=function(e){t.state._dragDelayed=!0,Mu(e),t.setTimeout(t.startDrag.bind(Fl(t)),t.config.delay,e)},t.setStartState=function(e){var n=Zl(e,t.transform);t.updateSharedState(Yl(e)),t.updateGestureState(Al({},hu(Fl(t),n,e),bu(Fl(t),e,!0),{_pointerId:t.getEventId(e)})),t.updateGestureState(t.getMovement(n))},t.onDragStart=function(e){vu(t.controller,e),t.enabled&&!t.state._active&&(t.setStartState(e),t.setPointerCapture(e),t.shouldPreventWindowScrollY?t.setUpWindowScrollDetection(e):t.config.delay>0?t.setUpDelayedDragTrigger(e):t.startDrag(e,!0))},t.onDragChange=function(e){if(!t.state.canceled&&t.state._active&&t.isValidEvent(e)&&(t.state._lastEventType!==e.type||e.timeStamp!==t.state.timeStamp)){var n;if(document.pointerLockElement){var r=e.movementX,o=e.movementY;n=Sl(t.transform([r,o]),t.state.values)}else n=Zl(e,t.transform);var a=t.getKinematics(n,e);if(!t.state._dragStarted){if(t.state._dragDelayed)return void t.startDrag(e);if(!t.shouldPreventWindowScrollY)return;if(t.state._dragPreventScroll||!a.axis)return;if("x"!==a.axis)return void(t.state._active=!1);t.startDrag(e)}var i=Yl(e);t.updateSharedState(i);var c=bu(Fl(t),e),s=Pl(a._movement),l=t.state._dragIsTap;l&&s>=3&&(l=!1),t.updateGestureState(Al({},c,a,{_dragIsTap:l})),t.fireGestureHandler()}},t.onDragEnd=function(e){if(gu(t.controller,e),t.isValidEvent(e)&&(t.clean(),t.state._active)){t.state._active=!1;var n=t.state._dragIsTap,r=t.state.velocities,o=r[0],a=r[1],i=t.state.movement,c=i[0],s=i[1],l=t.state._intentional,u=l[0],d=l[1],f=t.config.swipeVelocity,p=f[0],b=f[1],h=t.config.swipeDistance,m=h[0],v=h[1],g=t.config.swipeDuration,y=Al({},bu(Fl(t),e),t.getMovement(t.state.values)),O=[0,0];y.elapsedTime<g&&(!1!==u&&Math.abs(o)>p&&Math.abs(c)>m&&(O[0]=Ml(o)),!1!==d&&Math.abs(a)>b&&Math.abs(s)>v&&(O[1]=Ml(a))),t.updateSharedState({buttons:0}),t.updateGestureState(Al({},y,{tap:n,swipe:O})),t.fireGestureHandler(t.config.filterTaps&&!0===n)}},t.clean=function(){e.prototype.clean.call(Fl(t)),t.state._dragStarted=!1,t.releasePointerCapture(),yu(t.controller,t.stateKey)},t.onCancel=function(){t.state.canceled||(t.updateGestureState({canceled:!0,_active:!1}),t.updateSharedState({buttons:0}),setTimeout((function(){return t.fireGestureHandler()}),0))},t.onClick=function(e){t.state._dragIsTap||e.stopPropagation()},t}Nl(t,e);var n=t.prototype;return n.startDrag=function(e,t){void 0===t&&(t=!1),this.state._active&&!this.state._dragStarted&&(t||this.setStartState(e),this.updateGestureState({_dragStarted:!0,_dragPreventScroll:!0,cancel:this.onCancel}),this.clearTimeout(),this.fireGestureHandler())},n.addBindings=function(e){(this.config.useTouch?(Eu(e,"onTouchStart",this.onDragStart),Eu(e,"onTouchMove",this.onDragChange),Eu(e,"onTouchEnd",this.onDragEnd),Eu(e,"onTouchCancel",this.onDragEnd)):(Eu(e,"onPointerDown",this.onDragStart),Eu(e,"onPointerMove",this.onDragChange),Eu(e,"onPointerUp",this.onDragEnd),Eu(e,"onPointerCancel",this.onDragEnd)),this.config.filterTaps)&&Eu(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(Tu);function Iu(e,t){var n,r,o=[],a=!1;return function(){for(var i=arguments.length,c=new Array(i),s=0;s<i;s++)c[s]=arguments[s];return a&&n===this&&t(c,o)||(r=e.apply(this,c),a=!0,n=this,o=c),r}}function Ru(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,a,i;if(Array.isArray(t)){if((r=t.length)!==n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if("function"==typeof Map&&t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i=t.entries();!(o=i.next()).done;)if(!n.has(o.value[0]))return!1;for(i=t.entries();!(o=i.next()).done;)if(!e(o.value[1],n.get(o.value[0])))return!1;return!0}if("function"==typeof Set&&t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i=t.entries();!(o=i.next()).done;)if(!n.has(o.value[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;if("undefined"!=typeof Element&&t instanceof Element)return!1;for(o=r;0!=o--;)if(!("_owner"===a[o]&&t.$$typeof||e(t[a[o]],n[a[o]])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}var Au=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).ingKey="moving",t.stateKey="move",t.debounced=!0,t.onMove=function(e){t.enabled&&(t.setTimeout(t.onMoveEnd),t.state._active?t.onMoveChange(e):t.onMoveStart(e))},t.onMoveStart=function(e){t.updateSharedState(Yl(e));var n=Zl(e,t.transform);t.updateGestureState(Al({},hu(Fl(t),n,e),bu(Fl(t),e,!0))),t.updateGestureState(t.getMovement(n)),t.fireGestureHandler()},t.onMoveChange=function(e){t.updateSharedState(Yl(e));var n=Zl(e,t.transform);t.updateGestureState(Al({},bu(Fl(t),e),t.getKinematics(n,e))),t.fireGestureHandler()},t.onMoveEnd=function(){if(t.clean(),t.state._active){var e=t.state.values;t.updateGestureState(t.getMovement(e)),t.updateGestureState({velocities:[0,0],velocity:0,_active:!1}),t.fireGestureHandler()}},t.hoverTransform=function(){return t.controller.config.hover.transform||t.controller.config.transform},t.onPointerEnter=function(e){if(t.controller.state.shared.hovering=!0,t.controller.config.enabled){if(t.controller.config.hover.enabled){var n=Zl(e,t.hoverTransform()),r=Al({},t.controller.state.shared,t.state,bu(Fl(t),e,!0),{args:t.args,values:n,active:!0,hovering:!0});t.controller.handlers.hover(Al({},r,t.mapStateValues(r)))}"move"in t.controller.handlers&&t.onMoveStart(e)}},t.onPointerLeave=function(e){if(t.controller.state.shared.hovering=!1,"move"in t.controller.handlers&&t.onMoveEnd(),t.controller.config.hover.enabled){var n=Zl(e,t.hoverTransform()),r=Al({},t.controller.state.shared,t.state,bu(Fl(t),e),{args:t.args,values:n,active:!1});t.controller.handlers.hover(Al({},r,t.mapStateValues(r)))}},t}return Nl(t,e),t.prototype.addBindings=function(e){"move"in this.controller.handlers&&Eu(e,"onPointerMove",this.onMove),"hover"in this.controller.handlers&&(Eu(e,"onPointerEnter",this.onPointerEnter),Eu(e,"onPointerLeave",this.onPointerLeave))},t}(Tu);var Nu=n("RxS6");const Lu=e=>e,Fu={_event:{},error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""};function zu(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fu;const{value:t}=e;return{...Fu,...e,initialValue:t}}const Bu=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.reduceRight((e,t)=>{const r=t(...n);return Object(l.isEmpty)(r)?e:{...e,...r}},{})}};function Hu(e){return(t,n)=>{const r={...t};switch(n.type){case"PRESS_UP":case"PRESS_DOWN":r.isDirty=!1;break;case"DRAG_START":r.isDragging=!0;break;case"DRAG_END":r.isDragging=!1;break;case"CHANGE":r.error=null,r.value=n.payload.value,t.isPressEnterToChange&&(r.isDirty=!0);break;case"COMMIT":r.value=n.payload.value,r.isDirty=!1;break;case"RESET":r.error=null,r.isDirty=!1,r.value=n.payload.value||t.initialValue;break;case"UPDATE":r.value=n.payload.value,r.isDirty=!1;break;case"INVALIDATE":r.error=n.payload.error}return n.payload.event&&(r._event=n.payload.event),e(r,n)}}function Vu(e){return null!=e}function Wu(e){const t=""===e;return!Vu(e)||t}function Uu(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return null!==(e=t.find(Vu))&&void 0!==e?e:n}var Ku=function(e,t){const n=Object(s.useRef)(!1);Object(s.useEffect)(()=>{if(n.current)return e();n.current=!0},t)};var Gu=Object(s.forwardRef)((function(e,t){let{disabled:n=!1,dragDirection:r="n",dragThreshold:o=10,id:a,isDragEnabled:i=!1,isFocused:u,isPressEnterToChange:d=!1,onBlur:f=l.noop,onChange:p=l.noop,onDrag:b=l.noop,onDragEnd:h=l.noop,onDragStart:m=l.noop,onFocus:v=l.noop,onKeyDown:g=l.noop,onValidate:y=l.noop,size:O="default",setIsFocused:j,stateReducer:w=(e=>e),value:x,type:_,...E}=e;const{state:k,change:S,commit:C,drag:P,dragEnd:T,dragStart:M,invalidate:D,pressDown:I,pressEnter:R,pressUp:A,reset:N,update:L}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lu,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fu;const[n,r]=Object(s.useReducer)(Hu(e),zu(t)),o=e=>(t,n)=>{n&&n.persist&&n.persist(),r({type:e,payload:{value:t,event:n}})},a=e=>t=>{t&&t.persist&&t.persist(),r({type:e,payload:{event:t}})},i=e=>t=>{r({type:e,payload:t})},c=o("CHANGE"),l=(e,t)=>r({type:"INVALIDATE",payload:{error:e,event:t}}),u=o("RESET"),d=o("COMMIT"),f=o("UPDATE"),p=i("DRAG_START"),b=i("DRAG"),h=i("DRAG_END"),m=a("PRESS_UP"),v=a("PRESS_DOWN"),g=a("PRESS_ENTER");return{change:c,commit:d,dispatch:r,drag:b,dragEnd:h,dragStart:p,invalidate:l,pressDown:v,pressEnter:g,pressUp:m,reset:u,state:n,update:f}}(w,{isDragEnabled:i,value:x,isPressEnterToChange:d}),{_event:F,value:z,isDragging:B,isDirty:H}=k,V=Object(s.useRef)(!1),W=function(e,t){const n=function(e){let t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize"}return t}(t);return Object(s.useEffect)(()=>{document.documentElement.style.cursor=e?n:null},[e]),n}(B,r);Ku(()=>{x!==z&&(u||V.current?H||(p(z,{event:F}),V.current=!1):L(x,F))},[z,H,u,x]);const U=e=>{const t=e.currentTarget.value;try{y(t),C(t,e)}catch(t){D(t,e)}},K=function(e,t){void 0===t&&(t={}),lu.set("drag",Du);var n=Object(q.useRef)();return n.current||(n.current=Iu(iu,Ru)),Cu({drag:e},n.current(t))}(e=>{const{distance:t,dragging:n,event:r}=e;if(r.persist(),t){if(r.stopPropagation(),!n)return h(e),void T(e);b(e),P(e),B||(m(e),M(e))}},{threshold:o,enabled:i}),G=i?K():{};let $;return"number"===_&&($=e=>{var t;null===(t=E.onMouseDown)||void 0===t||t.call(E,e),e.currentTarget!==e.currentTarget.ownerDocument.activeElement&&e.currentTarget.focus()}),Object(s.createElement)(hl,Object(c.a)({},E,G,{className:"components-input-control__input",disabled:n,dragCursor:W,isDragging:B,id:a,onBlur:e=>{f(e),null==j||j(!1),d&&H&&(V.current=!0,Wu(z)?N(x,e):U(e))},onChange:e=>{const t=e.target.value;S(t,e)},onFocus:e=>{v(e),null==j||j(!0)},onKeyDown:e=>{const{keyCode:t}=e;switch(g(e),t){case Nu.UP:A(e);break;case Nu.DOWN:I(e);break;case Nu.ENTER:R(e),d&&(e.preventDefault(),U(e))}},onMouseDown:$,ref:t,inputSize:O,value:z,type:_}))}));function $u(e,t){let{__unstableStateReducer:n=(e=>e),__unstableInputWidth:r,className:o,disabled:a=!1,hideLabelFromVision:i=!1,id:u,isPressEnterToChange:f=!1,label:b,labelPosition:h="top",onChange:m=l.noop,onValidate:v=l.noop,onKeyDown:g=l.noop,prefix:y,size:O="default",suffix:j,value:w,...x}=e;const[_,E]=Object(s.useState)(!1),k=function(e){const t=Object(p.useInstanceId)($u);return e||"inspector-input-control-"+t}(u),S=d()("components-input-control",o);return Object(s.createElement)(kl,{__unstableInputWidth:r,className:S,disabled:a,gap:3,hideLabelFromVision:i,id:k,isFocused:_,justify:"left",label:b,labelPosition:h,prefix:y,size:O,suffix:j},Object(s.createElement)(Gu,Object(c.a)({},x,{className:"components-input-control__input",disabled:a,id:k,isFocused:_,isPressEnterToChange:f,onChange:m,onKeyDown:g,onValidate:v,ref:t,setIsFocused:E,size:O,stateReducer:n,value:w})))}var qu=Object(s.forwardRef)($u);const Yu=Object(w.a)(Cs,{target:"e65ony43"})("margin-bottom:",ys(2),";"),Xu=Object(w.a)("div",{target:"e65ony42"})("border-radius:50%;border:",Vs.borderWidth," solid ",L.ui.border,";box-sizing:border-box;cursor:grab;height:",32,"px;overflow:hidden;width:",32,"px;"),Zu=Object(w.a)("div",{target:"e65ony41"})({name:"1bhd2sw",styles:"box-sizing:border-box;position:relative;width:100%;height:100%"}),Ju=Object(w.a)("div",{target:"e65ony40"})("background:",L.admin.theme,";border-radius:50%;border:",3,"px solid ",L.admin.theme,";bottom:0;box-sizing:border-box;display:block;height:0px;left:0;margin:auto;position:absolute;right:0;top:-",16,"px;width:0px;");var Qu=function(e){let{value:t,onChange:n,...r}=e;const o=Object(s.useRef)(),a=Object(s.useRef)(),i=Object(s.useRef)(),l=e=>{const{x:t,y:r}=a.current,{ownerDocument:i}=o.current;e.preventDefault(),i.activeElement.blur(),n(function(e,t,n,r){const o=r-t,a=n-e,i=Math.atan2(o,a),c=Math.round(i*(180/Math.PI))+90;if(c<0)return 360+c;return c}(t,r,e.clientX,e.clientY))},{startDrag:u,isDragging:d}=Object(p.__experimentalUseDragging)({onDragStart:e=>{(()=>{const e=o.current.getBoundingClientRect();a.current={x:e.x+e.width/2,y:e.y+e.height/2}})(),l(e)},onDragMove:l,onDragEnd:l});return Object(s.useEffect)(()=>{d?(void 0===i.current&&(i.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=i.current||null,i.current=void 0)},[d]),Object(s.createElement)(Xu,Object(c.a)({ref:o,onMouseDown:u,className:"components-angle-picker-control__angle-circle",style:d?{cursor:"grabbing"}:void 0},r),Object(s.createElement)(Zu,{style:t?{transform:`rotate(${t}deg)`}:void 0,className:"components-angle-picker-control__angle-circle-indicator-wrapper"},Object(s.createElement)(Ju,{className:"components-angle-picker-control__angle-circle-indicator"})))};const ed=e=>null!=e;var td=Object(ts.a)((function(e,t){const n=function(e){const{className:t,margin:n,marginBottom:r=2,marginLeft:o,marginRight:a,marginTop:i,marginX:c,marginY:s,padding:l,paddingBottom:u,paddingLeft:d,paddingRight:f,paddingTop:p,paddingX:b,paddingY:h,...m}=Object(rs.a)(e,"Spacer");return{...m,className:Object(us.a)()(ed(n)&&Object(x.a)("margin:",ys(n),";",""),ed(s)&&Object(x.a)("margin-bottom:",ys(s),";margin-top:",ys(s),";",""),ed(c)&&Object(x.a)("margin-left:",ys(c),";margin-right:",ys(c),";",""),ed(i)&&Object(x.a)("margin-top:",ys(i),";",""),ed(r)&&Object(x.a)("margin-bottom:",ys(r),";",""),ed(o)&&Object(x.a)("margin-left:",ys(o),";",""),ed(a)&&Object(x.a)("margin-right:",ys(a),";",""),ed(l)&&Object(x.a)("padding:",ys(l),";",""),ed(h)&&Object(x.a)("padding-bottom:",ys(h),";padding-top:",ys(h),";",""),ed(b)&&Object(x.a)("padding-left:",ys(b),";padding-right:",ys(b),";",""),ed(p)&&Object(x.a)("padding-top:",ys(p),";",""),ed(u)&&Object(x.a)("padding-bottom:",ys(u),";",""),ed(d)&&Object(x.a)("padding-left:",ys(d),";",""),ed(f)&&Object(x.a)("padding-right:",ys(f),";",""),t)}}(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"Spacer");function nd(e){let{className:t,label:n=Object(f.__)("Angle"),onChange:r,value:o}=e;const a=d()("components-angle-picker-control",t);return Object(s.createElement)(Yu,{className:a},Object(s.createElement)(fs,null,Object(s.createElement)(qu,{label:n,className:"components-angle-picker-control__input-field",max:360,min:0,onChange:e=>{const t=""!==e?parseInt(e,10):0;r(t)},step:"1",value:o,hideHTMLArrows:!0,suffix:Object(s.createElement)(td,{as:ol,marginRight:ys(3),style:{color:"var( --wp-admin-theme-color )"}},"°")})),Object(s.createElement)(ps,{style:{marginLeft:ys(4),marginBottom:ys(1),marginTop:"auto"}},Object(s.createElement)(Qu,{"aria-hidden":"true",value:o,onChange:r})))}var rd=n("qRz9"),od=n("gdqT");function ad(e){return t=>{const[n,r]=Object(s.useState)([]);return Object(s.useLayoutEffect)(()=>{const{options:n,isDebounced:o}=e,a=Object(l.debounce)(()=>{const o=Promise.resolve("function"==typeof n?n(t):n).then(n=>{if(o.canceled)return;const a=n.map((t,n)=>({key:`${e.name}-${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[],isDisabled:!!e.isOptionDisabled&&e.isOptionDisabled(t)})),i=new RegExp("(?:\\b|\\s|^)"+Object(l.escapeRegExp)(t),"i");r(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const r=[];for(let o=0;o<t.length;o++){const a=t[o];let{keywords:i=[]}=a;"string"==typeof a.label&&(i=[...i,a.label]);if(i.some(t=>e.test(Object(l.deburr)(t)))&&(r.push(a),r.length===n))break}return r}(i,a))});return o},o?250:0),i=a();return()=>{a.cancel(),i&&(i.canceled=!0)}},[t]),[n]}}var id=n("kA6J"),cd=n("oXO/");function sd(e){let{record:t,onChange:n,onReplace:r,completers:o,contentRef:a}=e;const i=Object(p.useDebounce)(od.speak,500),c=Object(p.useInstanceId)(sd),[u,b]=Object(s.useState)(0),[h,m]=Object(s.useState)([]),[v,g]=Object(s.useState)(""),[y,O]=Object(s.useState)(null),[j,w]=Object(s.useState)(null),[x,_]=Object(s.useState)(!1);function E(e){const{getOptionCompletion:o}=y||{};if(!e.isDisabled){if(o){const a=o(e.value,v),{action:i,value:c}=void 0===a.action||void 0===a.value?{action:"insert-at-caret",value:a}:a;if("replace"===i)return void r([c]);"insert-at-caret"===i&&function(e){const r=t.start,o=r-y.triggerPrefix.length-v.length,a=Object(rd.create)({html:Object(s.renderToString)(e)});n(Object(rd.insert)(t,a,o,r))}(c)}k()}}function k(){b(0),m([]),g(""),O(null),w(null)}let S;Object(rd.isCollapsed)(t)&&(S=Object(rd.getTextContent)(Object(rd.slice)(t,0))),Object(s.useEffect)(()=>{if(!S)return void k();const e=Object(l.deburr)(S),n=Object(rd.getTextContent)(Object(rd.slice)(t,void 0,Object(rd.getTextContent)(t).length)),r=Object(l.find)(o,t=>{let{triggerPrefix:r,allowContext:o}=t;const a=e.lastIndexOf(r);if(-1===a)return!1;const i=e.slice(a+r.length);if(i.length>50)return!1;const c=0===h.length,s=1===i.split(/\s/).length,l=x&&i.split(/\s/).length<=3;return!(c&&!l&&!s)&&(!(o&&!o(e.slice(0,a),n))&&(!/^\s/.test(i)&&!/\s\s+$/.test(i)&&/[\u0000-\uFFFF]*$/.test(i)))});if(!r)return void k();const a=Object(l.escapeRegExp)(r.triggerPrefix),i=e.slice(e.lastIndexOf(r.triggerPrefix)).match(new RegExp(a+"([\0-￿]*)$")),c=i&&i[1];O(r),w(()=>r!==y?function(e){const t=e.useItems?e.useItems:ad(e);return function(e){let{filterValue:n,instanceId:r,listBoxId:o,className:a,selectedIndex:i,onChangeOptions:c,onSelect:u,onReset:f,value:p,contentRef:b}=e;const[h]=t(n),m=Object(rd.useAnchorRef)({ref:b,value:p});return Object(s.useLayoutEffect)(()=>{c(h)},[h]),!h.length>0?null:Object(s.createElement)(cd.a,{focusOnMount:!1,onClose:f,position:"top right",className:"components-autocomplete__popover",anchorRef:m},Object(s.createElement)("div",{id:o,role:"listbox",className:"components-autocomplete__results"},Object(l.map)(h,(e,t)=>Object(s.createElement)(id.a,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===i,disabled:e.isDisabled,className:d()("components-autocomplete__result",a,{"is-selected":t===i}),onClick:()=>u(e)},e.label))))}}(r):j),g(c)},[S]);const{key:C=""}=h[u]||{},{className:P}=y||{},T=!!y&&h.length>0,M=T?"components-autocomplete-listbox-"+c:null;return{listBoxId:M,activeId:T?`components-autocomplete-item-${c}-${C}`:null,onKeyDown:function(e){if(_(e.keyCode===Nu.BACKSPACE),y&&0!==h.length&&!e.defaultPrevented){switch(e.keyCode){case Nu.UP:b((0===u?h.length:u)-1);break;case Nu.DOWN:b((u+1)%h.length);break;case Nu.ESCAPE:O(null),w(null),e.preventDefault();break;case Nu.ENTER:E(h[u]);break;case Nu.LEFT:case Nu.RIGHT:return void k();default:return}e.preventDefault()}},popover:void 0!==t.start&&j&&Object(s.createElement)(j,{className:P,filterValue:v,instanceId:c,listBoxId:M,selectedIndex:u,onChangeOptions:function(e){b(e.length===h.length?u:0),m(e),function(e){i&&(e.length?i(Object(f.sprintf)(Object(f._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"):i(Object(f.__)("No results."),"assertive"))}(e)},onSelect:E,value:t,contentRef:a,reset:k})}}function ld(e){const t=Object(s.useRef)(),n=Object(s.useRef)(),{popover:r,listBoxId:o,activeId:a,onKeyDown:i}=sd({...e,contentRef:t});return n.current=i,{ref:Object(p.useMergeRefs)([t,Object(p.useRefEffect)(e=>{function t(e){n.current(e)}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}},[])]),children:r,"aria-autocomplete":o?"list":void 0,"aria-owns":o,"aria-activedescendant":a}}function ud(e){let{children:t,isSelected:n,...r}=e;const{popover:o,...a}=sd(r);return Object(s.createElement)(s.Fragment,null,t(a),n&&o)}var dd={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function fd(e){return Object(l.get)(dd,e,"")}const pd=Object(w.a)("div",{target:"e1puf3u3"})("font-family:",fd("default.fontFamily"),";font-size:",fd("default.fontSize"),";"),bd=Object(w.a)("div",{target:"e1puf3u2"})("margin-bottom:",ys(2),";.components-panel__row &{margin-bottom:inherit;}"),hd=Object(w.a)("label",{target:"e1puf3u1"})("display:inline-block;margin-bottom:",ys(2),";"),md=Object(w.a)("p",{target:"e1puf3u0"})("font-size:",fd("helpText.fontSize"),";font-style:normal;color:",L.mediumGray.text,";");function vd(e){let{id:t,label:n,hideLabelFromVision:r,help:o,className:a,children:i}=e;return Object(s.createElement)(pd,{className:d()("components-base-control",a)},Object(s.createElement)(bd,{className:"components-base-control__field"},n&&t&&(r?Object(s.createElement)(m.a,{as:"label",htmlFor:t},n):Object(s.createElement)(hd,{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?Object(s.createElement)(m.a,{as:"label"},n):Object(s.createElement)(vd.VisualLabel,null,n)),i),!!o&&Object(s.createElement)(md,{id:t?t+"__help":void 0,className:"components-base-control__help"},o))}vd.VisualLabel=e=>{let{className:t,children:n}=e;return t=d()("components-base-control__label",t),Object(s.createElement)("span",{className:t},n)};var gd=vd;var yd={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"};const Od=e=>{let{hideHTMLArrows:t}=e;return t?yd:""},jd=Object(w.a)(qu,{target:"ep48uk90"})(Od,";");function wd(e){const t=Number(e);return isNaN(t)?0:t}function xd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((e,t)=>e+wd(t),0)}function _d(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}function Ed(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const o=wd(e),a=wd(r),i=_d(r),c=Math.round(o/a)*a,s=Object(l.clamp)(c,t,n);return i?wd(s.toFixed(i)):s}var kd=Object(s.forwardRef)((function(e,t){let{__unstableStateReducer:n=(e=>e),className:r,dragDirection:o="n",hideHTMLArrows:a=!1,isDragEnabled:i=!0,isShiftStepEnabled:l=!0,label:u,max:p=1/0,min:b=-1/0,required:h=!1,shiftStep:m=10,step:v=1,type:g="number",value:y,...O}=e;const j="any"===v,w=j?1:parseFloat(v),x=Ed(0,b,p,w),_=(e,t)=>j?Math.min(p,Math.max(b,e)):Ed(e,b,p,null!=t?t:w),E="number"===g?"off":null,k=d()("components-number-control",r);return Object(s.createElement)(jd,Object(c.a)({autoComplete:E,inputMode:"numeric"},O,{className:k,dragDirection:o,hideHTMLArrows:a,isDragEnabled:i,label:u,max:p,min:b,ref:t,required:h,step:v,type:g,value:y,__unstableStateReducer:Bu((e,t)=>{const{type:n,payload:r}=t,a=null==r?void 0:r.event,c=e.value;if("PRESS_UP"===n||"PRESS_DOWN"===n){const t=a.shiftKey&&l,r=t?parseFloat(m)*w:w;let o=Wu(c)?x:c;null!=a&&a.preventDefault&&a.preventDefault(),"PRESS_UP"===n&&(o=xd(o,r)),"PRESS_DOWN"===n&&(o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((e,t,n)=>{const r=wd(t);return 0===n?r:e-r},0)}(o,r)),e.value=_(o,t?r:null)}if("DRAG"===n&&i){const[t,n]=r.delta,a=r.shiftKey&&l,i=a?parseFloat(m)*w:w;let s,u;switch(o){case"n":u=n,s=-1;break;case"e":u=t,s=Object(f.isRTL)()?-1:1;break;case"s":u=n,s=1;break;case"w":u=t,s=Object(f.isRTL)()?1:-1}if(0!==u){u=Math.ceil(Math.abs(u))*Math.sign(u);const t=u*i*s;e.value=_(xd(c,t),a?i:null)}}if("PRESS_ENTER"===n||"COMMIT"===n){const t=!1===h&&""===c;e.value=t?c:_(c)}return e},n)}))}));const Sd=Object(w.a)("div",{target:"e1bagdl33"})({name:"100d0a9",styles:"box-sizing:border-box;position:relative"}),Cd=e=>{let{disableUnits:t}=e;const n=t?3:24;return Object(x.a)(ks({paddingRight:n})(),";","")};var Pd={name:"1y65o8",styles:"&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"};const Td=e=>{let{disableUnits:t}=e;return t?"":Pd},Md=Object(w.a)(kd,{target:"e1bagdl32"})("&&&{input{appearance:none;-moz-appearance:textfield;display:block;width:100%;",Td,";",Cd,";}}"),Dd=e=>Object(x.a)("appearance:none;background:transparent;border-radius:2px;border:none;box-sizing:border-box;color:",L.darkGray[500],";display:block;font-size:8px;line-height:1;letter-spacing:-0.5px;outline:none;padding:2px 1px;position:absolute;text-align-last:center;text-transform:uppercase;width:20px;",ks({borderTopLeftRadius:0,borderBottomLeftRadius:0})()," ",ks({right:0})()," ",(e=>{let{selectSize:t}=e;return Object(x.a)({default:{height:28,lineHeight:"24px",minHeight:28,top:1},small:{height:22,lineHeight:"18px",minHeight:22,top:1}}[t],"","")})(e),";",""),Id=Object(w.a)("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",Dd,";}"),Rd=Object(w.a)("select",{target:"e1bagdl30"})("&&&{",Dd,";cursor:pointer;border:1px solid transparent;&:hover{background-color:",L.lightGray[300],";}&:focus{border-color:",L.ui.borderFocus,";outline:2px solid transparent;outline-offset:0;}&:disabled{cursor:initial;&:hover{background-color:transparent;}}}"),Ad="web"===s.Platform.OS,Nd={px:{value:"px",label:Ad?"px":Object(f.__)("Pixels (px)"),default:"",a11yLabel:Object(f.__)("Pixels (px)"),step:1},"%":{value:"%",label:Ad?"%":Object(f.__)("Percentage (%)"),default:"",a11yLabel:Object(f.__)("Percent (%)"),step:.1},em:{value:"em",label:Ad?"em":Object(f.__)("Relative to parent font size (em)"),default:"",a11yLabel:Object(f._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:Ad?"rem":Object(f.__)("Relative to root font size (rem)"),default:"",a11yLabel:Object(f._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:Ad?"vw":Object(f.__)("Viewport width (vw)"),default:"",a11yLabel:Object(f.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:Ad?"vh":Object(f.__)("Viewport height (vh)"),default:"",a11yLabel:Object(f.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:Ad?"vmin":Object(f.__)("Viewport smallest dimension (vmin)"),default:"",a11yLabel:Object(f.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:Ad?"vmax":Object(f.__)("Viewport largest dimension (vmax)"),default:"",a11yLabel:Object(f.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:Ad?"ch":Object(f.__)("Width of the zero (0) character (ch)"),default:"",a11yLabel:Object(f.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:Ad?"ex":Object(f.__)("x-height of the font (ex)"),default:"",a11yLabel:Object(f.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:Ad?"cm":Object(f.__)("Centimeters (cm)"),default:"",a11yLabel:Object(f.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:Ad?"mm":Object(f.__)("Millimeters (mm)"),default:"",a11yLabel:Object(f.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:Ad?"in":Object(f.__)("Inches (in)"),default:"",a11yLabel:Object(f.__)("Inches (in)"),step:.001},pc:{value:"pc",label:Ad?"pc":Object(f.__)("Picas (pc)"),default:"",a11yLabel:Object(f.__)("Picas (pc)"),step:1},pt:{value:"pt",label:Ad?"pt":Object(f.__)("Points (pt)"),default:"",a11yLabel:Object(f.__)("Points (pt)"),step:1}},Ld=Object.values(Nd),Fd=[Nd.px,Nd["%"],Nd.em,Nd.rem,Nd.vw,Nd.vh],zd=Nd.px;function Bd(e,t,n){return Vd(t?`${e}${t}`:e,n)}function Hd(e){return Array.isArray(e)&&!!e.length}function Vd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ld;const n=String(e).trim();let r=parseFloat(n);r=isNaN(r)?"":r;const o=n.match(/[\d.\-\+]*\s*(.*)/);let a=void 0!==(null==o?void 0:o[1])?o[1]:"";if(a=a.toLowerCase(),Hd(t)&&!1!==t){const e=t.find(e=>e.value===a);a=null==e?void 0:e.value}else a=zd.value;return[r,a]}function Wd(e,t,n,r){const[o,a]=Vd(e,t);let i,c=o;var s;(Number.isFinite(o)&&""!==o||(c=n),i=a||r,Array.isArray(t)&&Hd(t)&&!i)&&(i=null===(s=t[0])||void 0===s?void 0:s.value);return[c,i]}const Ud=e=>{let{units:t,availableUnits:n,defaultValues:r}=e;t=t||Ld;const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return Array.isArray(t)?t.filter(t=>e.includes(t.value)):[]}(n||[],t);return r&&o.forEach((e,t)=>{r[e.value]&&(o[t].default=r[e.value])}),0!==o.length&&o};function Kd(e){let{className:t,isUnitSelectTabbable:n=!0,onChange:r=l.noop,size:o="default",unit:a="px",units:i=Fd,...u}=e;if(!i||!Hd(i)||1===(null==i?void 0:i.length))return Object(s.createElement)(Id,{className:"components-unit-control__unit-label",selectSize:o},a);const f=d()("components-unit-control__select",t);return Object(s.createElement)(Rd,Object(c.a)({className:f,onChange:e=>{const{value:t}=e.target,n=i.find(e=>e.value===t);r(t,{event:e,data:n})},selectSize:o,tabIndex:n?void 0:-1,value:a},u),i.map(e=>Object(s.createElement)("option",{value:e.value,key:e.value},e.label)))}const Gd={initial:void 0,fallback:""};var $d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gd;const{initial:n,fallback:r}={...Gd,...t},[o,a]=Object(s.useState)(e),i=Vu(e);Object(s.useEffect)(()=>{i&&o&&a(void 0)},[i,o]);const c=Uu([e,o,n],r),l=e=>{i||a(e)};return[c,l]};var qd=Object(s.forwardRef)((function(e,t){let{__unstableStateReducer:n=(e=>e),autoComplete:r="off",className:o,disabled:a=!1,disableUnits:i=!1,isPressEnterToChange:u=!1,isResetValueOnUnitChange:p=!1,isUnitSelectTabbable:b=!0,label:h,onChange:m=l.noop,onUnitChange:v=l.noop,size:g="default",style:y,unit:O,units:j=Fd,value:w,...x}=e;const _=Object(s.useMemo)(()=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ld;if(!Array.isArray(n))return n;const r=[...n],[,o]=Bd(e,t,Ld);return o&&!r.some(e=>e.value===o)&&Nd[o]&&r.unshift(Nd[o]),r}(w,O,j),[w,O,j]),[E,k]=Bd(w,O,_),[S,C]=$d(O,{initial:k,fallback:""}),P=Object(s.useRef)(null),T=d()("components-unit-control",o),M=e=>{if(!isNaN(Number(e.currentTarget.value)))return void(P.current=null);const[t,n]=Wd(e.currentTarget.value,_,E,S);if(P.current=t.toString(),u&&n!==S){const r={event:e,data:Array.isArray(_)?_.find(e=>e.value===n):void 0};m(`${t}${n}`,r),v(n,r),C(n)}},D=M,I=i?null:Object(s.createElement)(Kd,{"aria-label":Object(f.__)("Select unit"),disabled:a,isUnitSelectTabbable:b,onChange:(e,t)=>{const{data:n}=t;let r=`${E}${e}`;p&&void 0!==(null==n?void 0:n.default)&&(r=`${n.default}${e}`),m(r,t),v(e,t),C(e)},size:g,unit:S,units:_});let R=x.step;if(!R&&_){var A;const e=_.find(e=>e.value===S);R=null!==(A=null==e?void 0:e.step)&&void 0!==A?A:1}return Object(s.createElement)(Sd,{className:"components-unit-control-wrapper",style:y},Object(s.createElement)(Md,Object(c.a)({"aria-label":h,type:u?"text":"number"},Object(l.omit)(x,["children"]),{autoComplete:r,className:T,disabled:a,disableUnits:i,isPressEnterToChange:u,label:h,onBlur:D,onKeyDown:e=>{const{keyCode:t}=e;t===Nu.ENTER&&M(e)},onChange:(e,t)=>{""!==e?(e=Wd(e,_,E,S).join(""),m(e,t)):m("",t)},ref:t,size:g,suffix:I,value:E,step:R,__unstableStateReducer:Bu((e,t)=>("COMMIT"===t.type&&null!==P.current&&(e.value=P.current,P.current=null),e),n)})))}));const Yd=Object(w.a)("div",{target:"e7pk0lh6"})({name:"14bvcyk",styles:"box-sizing:border-box;max-width:235px;padding-bottom:12px;width:100%"}),Xd=Object(w.a)(Cs,{target:"e7pk0lh5"})("color:",L.ui.label,";padding-bottom:8px;"),Zd=Object(w.a)(Cs,{target:"e7pk0lh4"})({name:"aujtid",styles:"min-height:30px;gap:0"}),Jd=Object(w.a)("div",{target:"e7pk0lh3"})({name:"112jwab",styles:"box-sizing:border-box;max-width:80px"}),Qd=Object(w.a)(Cs,{target:"e7pk0lh2"})({name:"xy18ro",styles:"justify-content:center;padding-top:8px"}),ef=Object(w.a)(Cs,{target:"e7pk0lh1"})({name:"3tw5wk",styles:"position:relative;height:100%;width:100%;justify-content:flex-start"});var tf={name:"1ch9yvl",styles:"border-radius:0"},nf={name:"tg3mx0",styles:"border-radius:2px"};const rf=e=>{let{isFirst:t,isLast:n,isOnly:r}=e;return t?ks({borderTopRightRadius:0,borderBottomRightRadius:0})():n?ks({borderTopLeftRadius:0,borderBottomLeftRadius:0})():r?nf:tf},of=e=>{let{isFirst:t,isOnly:n}=e;return ks({marginLeft:t||n?0:-1})()},af=Object(w.a)(qd,{target:"e7pk0lh0"})("max-width:60px;",rf,";",of,";");function cf(e){let{isFirst:t,isLast:n,isOnly:r,onHoverOn:o=l.noop,onHoverOff:a=l.noop,label:i,value:u,...d}=e;const f=function(e,t){void 0===t&&(t={}),lu.set("hover",Au);var n=Object(q.useRef)();return n.current||(n.current=Iu(au,Ru)),Cu({hover:e},n.current(t))}(e=>{let{event:t,...n}=e;n.hovering?o(t,n):a(t,n)});return Object(s.createElement)(Jd,f(),Object(s.createElement)(sf,{text:i},Object(s.createElement)(af,Object(c.a)({"aria-label":i,className:"component-box-control__unit-control",hideHTMLArrows:!0,isFirst:t,isLast:n,isOnly:r,isPressEnterToChange:!0,isResetValueOnUnitChange:!1,value:u},d))))}function sf(e){let{children:t,text:n}=e;return n?Object(s.createElement)(h.a,{text:n,position:"top"},Object(s.createElement)("div",null,t)):t}const lf={all:Object(f.__)("All"),top:Object(f.__)("Top"),bottom:Object(f.__)("Bottom"),left:Object(f.__)("Left"),right:Object(f.__)("Right"),mixed:Object(f.__)("Mixed"),vertical:Object(f.__)("Vertical"),horizontal:Object(f.__)("Horizontal")},uf={top:null,right:null,bottom:null,left:null},df={top:!1,right:!1,bottom:!1,left:!1},ff=["top","right","bottom","left"];function pf(e){return e.sort((t,n)=>e.filter(e=>e===t).length-e.filter(e=>e===n).length).pop()}function bf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ff;const n=gf(t),r=n.map(t=>Vd(e[t])),o=r.map(e=>e[0]),a=r.map(e=>e[1]),i=o.every(e=>e===o[0])?o[0]:"",c=pf(a),s=Object(l.isNumber)(i)?`${i}${c}`:null;return s}function hf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ff;const n=bf(e,t),r=isNaN(parseFloat(n));return r}function mf(e){return void 0!==e&&!Object(l.isEmpty)(Object.values(e).filter(e=>!!e&&/\d/.test(e)))}function vf(e,t){let n="all";return e||(n=t?"vertical":"top"),n}function gf(e){const t=[];if(null==e||!e.length)return ff;if(e.includes("vertical"))t.push("top","bottom");else if(e.includes("horizontal"))t.push("left","right");else{const n=ff.filter(t=>e.includes(t));t.push(...n)}return t}function yf(e){let{onChange:t=l.noop,onFocus:n=l.noop,onHoverOn:r=l.noop,onHoverOff:o=l.noop,values:a,sides:i,selectedUnits:u,setSelectedUnits:d,...f}=e;const p=bf(a,i),b=mf(a)&&hf(a,i),h=b?lf.mixed:null,m=p?void 0:function(e){if(!e||"object"!=typeof e)return;return pf(Object.values(e).filter(Boolean))}(u),v=(e,t)=>{const n={...e};return null!=i&&i.length?i.forEach(e=>{"vertical"===e?(n.top=t,n.bottom=t):"horizontal"===e?(n.left=t,n.right=t):n[e]=t}):ff.forEach(e=>n[e]=t),n};return Object(s.createElement)(cf,Object(c.a)({},f,{disableUnits:b,isOnly:!0,value:p,unit:m,onChange:e=>{const n=!isNaN(parseFloat(e)),r=v(a,n?e:void 0);t(r)},onUnitChange:e=>{const t=v(u,e);d(t)},onFocus:e=>{n(e,{side:"all"})},onHoverOn:()=>{r({top:!0,bottom:!0,left:!0,right:!0})},onHoverOff:()=>{o({top:!1,bottom:!1,left:!1,right:!1})},placeholder:h}))}function Of(e){let{onChange:t=l.noop,onFocus:n=l.noop,onHoverOn:r=l.noop,onHoverOff:o=l.noop,values:a,selectedUnits:i,setSelectedUnits:u,sides:d,...f}=e;const p=e=>t=>{n(t,{side:e})},b=e=>()=>{r({[e]:!0})},h=e=>()=>{o({[e]:!1})},m=e=>(n,r)=>{let{event:o}=r;const{altKey:i}=o,c={...a},s=!isNaN(parseFloat(n))?n:void 0;if(c[e]=s,i)switch(e){case"top":c.bottom=s;break;case"bottom":c.top=s;break;case"left":c.right=s;break;case"right":c.left=s}(e=>{t(e)})(c)},v=e=>t=>{const n={...i};n[e]=t,u(n)},g=null!=d&&d.length?ff.filter(e=>d.includes(e)):ff,y=g[0],O=g[g.length-1],j=y===O&&y;return Object(s.createElement)(Qd,{className:"component-box-control__input-controls-wrapper"},Object(s.createElement)(ef,{gap:0,align:"top",className:"component-box-control__input-controls"},g.map(e=>Object(s.createElement)(cf,Object(c.a)({},f,{isFirst:y===e,isLast:O===e,isOnly:j===e,value:a[e],unit:a[e]?void 0:i[e],onChange:m(e),onUnitChange:v(e),onFocus:p(e),onHoverOn:b(e),onHoverOff:h(e),label:lf[e],key:"box-control-"+e})))))}const jf=["vertical","horizontal"];function wf(e){let{onChange:t,onFocus:n,onHoverOn:r,onHoverOff:o,values:a,selectedUnits:i,setSelectedUnits:l,sides:u,...d}=e;const f=e=>t=>{n&&n(t,{side:e})},p=e=>()=>{r&&("vertical"===e&&r({top:!0,bottom:!0}),"horizontal"===e&&r({left:!0,right:!0}))},b=e=>()=>{o&&("vertical"===e&&o({top:!1,bottom:!1}),"horizontal"===e&&o({left:!1,right:!1}))},h=e=>n=>{if(!t)return;const r={...a},o=!isNaN(parseFloat(n))?n:void 0;"vertical"===e&&(r.top=o,r.bottom=o),"horizontal"===e&&(r.left=o,r.right=o),t(r)},m=e=>t=>{const n={...i};"vertical"===e&&(n.top=t,n.bottom=t),"horizontal"===e&&(n.left=t,n.right=t),l(n)},v=null!=u&&u.length?jf.filter(e=>u.includes(e)):jf,g=v[0],y=v[v.length-1],O=g===y;return Object(s.createElement)(ef,{gap:0,align:"top",className:"component-box-control__vertical-horizontal-input-controls"},v.map(e=>Object(s.createElement)(cf,Object(c.a)({},d,{isFirst:g===e,isLast:y===e,isOnly:O===e,value:"vertical"===e?a.top:a.left,unit:"vertical"===e?i.top:i.left,onChange:h(e),onUnitChange:m(e),onFocus:f(e),onHoverOn:p(e),onHoverOff:b(e),label:lf[e],key:e}))))}const xf=Object(w.a)("span",{target:"eaw9yqk8"})({name:"1w884gc",styles:"box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px"}),_f=Object(w.a)("span",{target:"eaw9yqk7"})({name:"i6vjox",styles:"box-sizing:border-box;display:block;position:relative;width:100%;height:100%"}),Ef=Object(w.a)("span",{target:"eaw9yqk6"})("box-sizing:border-box;display:block;pointer-events:none;position:absolute;",e=>{let{isFocused:t}=e;return Object(x.a)({backgroundColor:"currentColor",opacity:t?1:.3},"","")},";"),kf=Object(w.a)(Ef,{target:"eaw9yqk5"})({name:"1k2w39q",styles:"bottom:3px;top:3px;width:2px"}),Sf=Object(w.a)(Ef,{target:"eaw9yqk4"})({name:"1q9b07k",styles:"height:2px;left:3px;right:3px"}),Cf=Object(w.a)(Sf,{target:"eaw9yqk3"})({name:"abcix4",styles:"top:0"}),Pf=Object(w.a)(kf,{target:"eaw9yqk2"})({name:"1wf8jf",styles:"right:0"}),Tf=Object(w.a)(Sf,{target:"eaw9yqk1"})({name:"8tapst",styles:"bottom:0"}),Mf=Object(w.a)(kf,{target:"eaw9yqk0"})({name:"1ode3cm",styles:"left:0"});function Df(e){let{size:t=24,side:n="all",sides:r,...o}=e;const a=e=>!(e=>(null==r?void 0:r.length)&&!r.includes(e))(e)&&("all"===n||n===e),i=a("top")||a("vertical"),l=a("right")||a("horizontal"),u=a("bottom")||a("vertical"),d=a("left")||a("horizontal"),f=t/24;return Object(s.createElement)(xf,Object(c.a)({style:{transform:`scale(${f})`}},o),Object(s.createElement)(_f,null,Object(s.createElement)(Cf,{isFocused:i}),Object(s.createElement)(Pf,{isFocused:l}),Object(s.createElement)(Tf,{isFocused:u}),Object(s.createElement)(Mf,{isFocused:d})))}var If=n("Bpkj"),Rf=n("Mp0b");function Af(e){let{isLinked:t,...n}=e;const r=t?Object(f.__)("Unlink Sides"):Object(f.__)("Link Sides");return Object(s.createElement)(h.a,{text:r},Object(s.createElement)("span",null,Object(s.createElement)(id.a,Object(c.a)({},n,{className:"component-box-control__linked-button",variant:t?"primary":"secondary",isSmall:!0,icon:t?If.a:Rf.a,iconSize:16,"aria-label":r}))))}var Nf={name:"11f5o9n",styles:"bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1"};const Lf=Object(w.a)("div",{target:"e1df9b4q5"})("box-sizing:border-box;position:relative;",e=>{let{isPositionAbsolute:t}=e;return t?Nf:""},";"),Ff=Object(w.a)("div",{target:"e1df9b4q4"})("box-sizing:border-box;background:",L.blue.wordpress[700],";background:",L.ui.theme,";filter:brightness( 1 );opacity:0;position:absolute;pointer-events:none;transition:opacity 120ms linear;z-index:1;",e=>{let{isActive:t}=e;return t&&"\n\t\topacity: 0.3;\n\t"},";"),zf=Object(w.a)(Ff,{target:"e1df9b4q3"})({name:"5i97ct",styles:"top:0;left:0;right:0"}),Bf=Object(w.a)(Ff,{target:"e1df9b4q2"})("top:0;bottom:0;",ks({right:0}),";"),Hf=Object(w.a)(Ff,{target:"e1df9b4q1"})({name:"8cxke2",styles:"bottom:0;left:0;right:0"}),Vf=Object(w.a)(Ff,{target:"e1df9b4q0"})("top:0;bottom:0;",ks({left:0}),";");function Wf(e){let{showValues:t=df,values:n}=e;const{top:r,right:o,bottom:a,left:i}=n;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Uf,{isVisible:t.top,value:r}),Object(s.createElement)(Kf,{isVisible:t.right,value:o}),Object(s.createElement)(Gf,{isVisible:t.bottom,value:a}),Object(s.createElement)($f,{isVisible:t.left,value:i}))}function Uf(e){let{isVisible:t=!1,value:n}=e;const r=n,o=qf(r).isActive||t;return Object(s.createElement)(zf,{isActive:o,style:{height:r}})}function Kf(e){let{isVisible:t=!1,value:n}=e;const r=n,o=qf(r).isActive||t;return Object(s.createElement)(Bf,{isActive:o,style:{width:r}})}function Gf(e){let{isVisible:t=!1,value:n}=e;const r=n,o=qf(r).isActive||t;return Object(s.createElement)(Hf,{isActive:o,style:{height:r}})}function $f(e){let{isVisible:t=!1,value:n}=e;const r=n,o=qf(r).isActive||t;return Object(s.createElement)(Vf,{isActive:o,style:{width:r}})}function qf(e){const[t,n]=Object(s.useState)(!1),r=Object(s.useRef)(e),o=Object(s.useRef)(),a=()=>{o.current&&window.clearTimeout(o.current)};return Object(s.useEffect)(()=>(e!==r.current&&(n(!0),r.current=e,a(),o.current=setTimeout(()=>{n(!1)},400)),()=>a()),[e]),{isActive:t}}const Yf={min:0};function Xf(e){let{id:t,inputProps:n=Yf,onChange:r=l.noop,onChangeShowVisualizer:o=l.noop,label:a=Object(f.__)("Box Control"),values:i,units:u,sides:d,splitOnAxis:b=!1,allowReset:h=!0,resetValues:m=uf}=e;const[v,g]=$d(i,{fallback:uf}),y=v||uf,O=mf(i),j=1===(null==d?void 0:d.length),[w,x]=Object(s.useState)(O),[_,E]=Object(s.useState)(!O||!hf(y)||j),[k,S]=Object(s.useState)(vf(_,b)),[C,P]=Object(s.useState)({top:Vd(null==i?void 0:i.top)[1],right:Vd(null==i?void 0:i.right)[1],bottom:Vd(null==i?void 0:i.bottom)[1],left:Vd(null==i?void 0:i.left)[1]}),T=function(e){const t=Object(p.useInstanceId)(Xf,"inspector-box-control");return e||t}(t),M=T+"-heading",D={...n,onChange:e=>{r(e),g(e),x(!0)},onFocus:(e,t)=>{let{side:n}=t;S(n)},onHoverOn:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o({...df,...e})},onHoverOff:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o({...df,...e})},isLinked:_,units:u,selectedUnits:C,setSelectedUnits:P,sides:d,values:y};return Object(s.createElement)(Yd,{id:T,role:"region","aria-labelledby":M},Object(s.createElement)(Xd,{className:"component-box-control__header"},Object(s.createElement)(ps,null,Object(s.createElement)(ol,{id:M,className:"component-box-control__label"},a)),h&&Object(s.createElement)(ps,null,Object(s.createElement)(id.a,{className:"component-box-control__reset-button",isSecondary:!0,isSmall:!0,onClick:()=>{r(m),g(m),P(m),x(!1)},disabled:!w},Object(f.__)("Reset")))),Object(s.createElement)(Zd,{className:"component-box-control__header-control-wrapper"},Object(s.createElement)(ps,null,Object(s.createElement)(Df,{side:k,sides:d})),_&&Object(s.createElement)(fs,null,Object(s.createElement)(yf,Object(c.a)({"aria-label":a},D))),!_&&b&&Object(s.createElement)(fs,null,Object(s.createElement)(wf,D)),!j&&Object(s.createElement)(ps,null,Object(s.createElement)(Af,{onClick:()=>{E(!_),S(vf(!_,b))},isLinked:_}))),!_&&!b&&Object(s.createElement)(Of,D))}Xf.__Visualizer=function(e){let{children:t,showValues:n=df,values:r=uf,...o}=e;const a=!t;return Object(s.createElement)(Lf,Object(c.a)({},o,{isPositionAbsolute:a,"aria-hidden":"true"}),Object(s.createElement)(Wf,{showValues:n,values:r}),t)};var Zf=Object(s.forwardRef)((function(e,t){let{className:n,...r}=e;const o=d()("components-button-group",n);return Object(s.createElement)("div",Object(c.a)({ref:t,role:"group",className:o},r))})),Jf=n("6zzY");const Qf={name:"12ip69d",styles:"background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"};function ep(e){return`0 ${e}px ${2*e}px 0\n\t${`rgba(0 ,0, 0, ${e/20})`}`}var tp=Object(ts.a)((function(e,t){const n=function(e){const{active:t,borderRadius:n="inherit",className:r,focus:o,hover:a,isInteractive:i=!1,offset:c=0,value:u=0,...d}=Object(rs.a)(e,"Elevation"),f=Object(us.a)();return{...d,className:Object(s.useMemo)(()=>{let e=Object(l.isNil)(a)?2*u:a,s=Object(l.isNil)(t)?u/2:t;i||(e=Object(l.isNil)(a)?void 0:a,s=Object(l.isNil)(t)?void 0:t);const d=`box-shadow ${Vs.transitionDuration} ${Vs.transitionTimingFunction}`,p={};return p.Base=Object(x.a)({borderRadius:n,bottom:c,boxShadow:ep(u),opacity:Vs.elevationIntensity,left:c,right:c,top:c,transition:d},F("transition"),"",""),Object(l.isNil)(e)||(p.hover=Object(x.a)("*:hover>&{box-shadow:",ep(e),";}","")),Object(l.isNil)(s)||(p.active=Object(x.a)("*:active>&{box-shadow:",ep(s),";}","")),Object(l.isNil)(o)||(p.focus=Object(x.a)("*:focus>&{box-shadow:",ep(o),";}","")),f(Qf,p.Base,p.hover&&p.hover,p.focus&&p.focus,p.active&&p.active,r)},[t,n,r,o,a,i,c,u]),"aria-hidden":!0}}(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"Elevation");const np=Object(x.a)("box-shadow:0 0 0 1px ",Vs.surfaceBorderColor,";outline:none;",""),rp={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},op={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"},ap={name:"13udsys",styles:"height:100%"},ip={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},cp={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"},sp={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"},lp=Object(x.a)("&:first-of-type{border-top-left-radius:",Vs.cardBorderRadius,";border-top-right-radius:",Vs.cardBorderRadius,";}&:last-of-type{border-bottom-left-radius:",Vs.cardBorderRadius,";border-bottom-right-radius:",Vs.cardBorderRadius,";}",""),up=Object(x.a)("border-color:",Vs.colorDivider,";",""),dp={name:"1t90u8d",styles:"box-shadow:none"},fp={name:"1e1ncky",styles:"border:none"},pp=Object(x.a)("border-radius:",Vs.cardBorderRadius,";",""),bp=Object(x.a)("padding:",Vs.cardPaddingXSmall,";",""),hp={large:Object(x.a)("padding:",Vs.cardPaddingLarge,";",""),medium:Object(x.a)("padding:",Vs.cardPaddingMedium,";",""),small:Object(x.a)("padding:",Vs.cardPaddingSmall,";",""),xSmall:bp,extraSmall:bp},mp=Object(x.a)("background-color:",L.lightGray[200],";",""),vp=Object(x.a)("background-color:",Vs.surfaceColor,";color:",L.black,";position:relative;","");Vs.surfaceBackgroundColor;const gp=Object(x.a)("",""),yp=Object(x.a)("background:",Vs.surfaceBackgroundTintColor,";",""),Op=Object(x.a)("background:",Vs.surfaceBackgroundTertiaryColor,";",""),jp=e=>[e,e].join(" "),wp=e=>["90deg",[Vs.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),xp=e=>[[Vs.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),_p=(e,t)=>Object(x.a)("background:",(e=>[`linear-gradient( ${wp(e)} ) center`,`linear-gradient( ${xp(e)} ) center`,Vs.surfaceBorderBoldColor].join(","))(t),";background-size:",jp(e),";",""),Ep=[`linear-gradient( ${[Vs.surfaceBorderSubtleColor+" 1px","transparent 1px"].join(",")} )`,`linear-gradient( ${["90deg",Vs.surfaceBorderSubtleColor+" 1px","transparent 1px"].join(",")} )`].join(","),kp=(e,t,n)=>{switch(e){case"dotted":return _p(t,n);case"grid":return(e=>Object(x.a)("background:",Vs.surfaceBackgroundColor,";background-image:",Ep,";background-size:",jp(e),";",""))(t);case"primary":return gp;case"secondary":return yp;case"tertiary":return Op}};function Sp(e){const{backgroundSize:t=12,borderBottom:n=!1,borderLeft:r=!1,borderRight:o=!1,borderTop:a=!1,className:i,variant:c="primary",...l}=Object(rs.a)(e,"Surface"),u=Object(us.a)();return{...l,className:Object(s.useMemo)(()=>{const e={};return e.borders=function(e){let{borderBottom:t,borderLeft:n,borderRight:r,borderTop:o}=e;const a="1px solid "+Vs.surfaceBorderColor;return Object(x.a)({borderBottom:t?a:void 0,borderLeft:n?a:void 0,borderRight:r?a:void 0,borderTop:o?a:void 0},"","")}({borderBottom:n,borderLeft:r,borderRight:o,borderTop:a}),u(vp,e.borders,kp(c,t+"px",t-1+"px"),i)},[t,n,r,o,a,i,c])}}function Cp(e){const{className:t,elevation:n=0,isBorderless:r=!1,isRounded:o=!0,size:a="medium",...i}=Object(rs.a)(function(e){let{elevation:t,isElevated:n,...r}=e;const o={...r};let a=t;var i;return n&&(hs()("Card isElevated prop",{since:"5.9",alternative:"elevation"}),null!==(i=a)&&void 0!==i||(a=2)),void 0!==a&&(o.elevation=a),o}(e),"Card"),c=Object(us.a)();return{...Sp({...i,className:Object(s.useMemo)(()=>c(np,r&&dp,o&&pp,t),[t,r,o])}),elevation:n,isBorderless:r,isRounded:o,size:a}}var Pp=Object(ts.a)((function(e,t){const{children:n,elevation:r,isBorderless:o,isRounded:a,size:i,...l}=Cp(e),u=a?Vs.cardBorderRadius:0,d=Object(us.a)(),f=Object(s.useMemo)(()=>d(Object(x.a)({borderRadius:u},"","")),[u]),p=Object(s.useMemo)(()=>{const e={size:i,isBorderless:o};return{CardBody:e,CardHeader:e,CardFooter:e}},[o,i]);return Object(s.createElement)(Jf.a,{value:p},Object(s.createElement)(ns.a,Object(c.a)({},l,{ref:t}),Object(s.createElement)(ns.a,{className:d(ap)},n),Object(s.createElement)(tp,{className:f,isInteractive:!1,value:r?1:0}),Object(s.createElement)(tp,{className:f,isInteractive:!1,value:r})))}),"Card");const Tp=Object(x.a)("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:",Vs.colorScrollbarTrack,";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",Vs.colorScrollbarThumb,";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:",Vs.colorScrollbarThumbHover,";}}",""),Mp={name:"13udsys",styles:"height:100%"},Dp={name:"7zq9w",styles:"scroll-behavior:smooth"},Ip={name:"q33xhg",styles:"overflow-x:auto;overflow-y:hidden"},Rp={name:"103x71s",styles:"overflow-x:hidden;overflow-y:auto"},Ap={name:"umwchj",styles:"overflow-y:auto"};var Np=Object(ts.a)((function(e,t){const n=function(e){const{className:t,scrollDirection:n="y",smoothScroll:r=!1,...o}=Object(rs.a)(e,"Scrollable"),a=Object(us.a)();return{...o,className:Object(s.useMemo)(()=>a(Mp,Tp,r&&Dp,"x"===n&&Ip,"y"===n&&Rp,"auto"===n&&Ap,t),[t,n,r])}}(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"Scrollable");var Lp=Object(ts.a)((function(e,t){const{isScrollable:n,...r}=function(e){const{className:t,isScrollable:n=!1,isShady:r=!1,size:o="medium",...a}=Object(rs.a)(e,"CardBody"),i=Object(us.a)();return{...a,className:Object(s.useMemo)(()=>i(ip,lp,hp[o],r&&mp,"components-card__body",t),[t,r,o]),isScrollable:n}}(e);return n?Object(s.createElement)(Np,Object(c.a)({},r,{ref:t})):Object(s.createElement)(ns.a,Object(c.a)({},r,{ref:t}))}),"CardBody"),Fp=Object(_e.a)({name:"Separator",compose:Ce.a,keys:["orientation"],useOptions:function(e){var t=e.orientation,n=void 0===t?"horizontal":t,r=Object($.a)(e,["orientation"]);return Object($.b)({orientation:n},r)},useProps:function(e,t){return Object($.b)({role:"separator","aria-orientation":e.orientation},t)}}),zp=Object(xe.a)({as:"hr",memo:!0,useHook:Fp});const Bp=Object(w.a)("hr",{target:"e19on6iw0"})("border-color:",Vs.colorDivider,";border-width:0 0 1px 0;height:0;margin:0;width:auto;",e=>{let{margin:t,marginTop:n,marginBottom:r}=e;return void 0!==t?Object(x.a)({marginBottom:ys(t),marginTop:ys(t)},"",""):Object(x.a)({marginTop:ys(n),marginBottom:ys(r)},"","")},";");var Hp=Object(ts.a)((function(e,t){const n=Object(rs.a)(e,"Divider");return Object(s.createElement)(zp,Object(c.a)({as:Bp},n,{ref:t}))}),"Divider");var Vp=Object(ts.a)((function(e,t){const n=function(e){const{className:t,...n}=Object(rs.a)(e,"CardDivider"),r=Object(us.a)();return{...n,className:Object(s.useMemo)(()=>r(sp,up,"components-card__divider",t),[t])}}(e);return Object(s.createElement)(Hp,Object(c.a)({},n,{ref:t}))}),"CardDivider");var Wp=Object(ts.a)((function(e,t){const n=function(e){const{className:t,justify:n,isBorderless:r=!1,isShady:o=!1,size:a="medium",...i}=Object(rs.a)(e,"CardFooter"),c=Object(us.a)();return{...i,className:Object(s.useMemo)(()=>c(op,lp,up,hp[a],r&&fp,o&&mp,"components-card__footer",t),[t,r,o,a]),justify:n}}(e);return Object(s.createElement)(Cs,Object(c.a)({},n,{ref:t}))}),"CardFooter");var Up=Object(ts.a)((function(e,t){const n=function(e){const{className:t,isBorderless:n=!1,isShady:r=!1,size:o="medium",...a}=Object(rs.a)(e,"CardHeader"),i=Object(us.a)();return{...a,className:Object(s.useMemo)(()=>i(rp,lp,up,hp[o],n&&fp,r&&mp,"components-card__header",t),[t,n,r,o])}}(e);return Object(s.createElement)(Cs,Object(c.a)({},n,{ref:t}))}),"CardHeader");var Kp=Object(ts.a)((function(e,t){const n=function(e){const{className:t,...n}=Object(rs.a)(e,"CardMedia"),r=Object(us.a)();return{...n,className:Object(s.useMemo)(()=>r(cp,lp,"components-card__media",t),[t])}}(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"CardMedia"),Gp=n("iClF"),$p=n("RMJe");function qp(e){let{label:t,className:n,heading:r,checked:o,help:a,onChange:i,...l}=e;r&&hs()("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",plugin:"Gutenberg"});const u="inspector-checkbox-control-"+Object(p.useInstanceId)(qp);return Object(s.createElement)(gd,{label:r,id:u,help:a,className:d()("components-checkbox-control",n)},Object(s.createElement)("span",{className:"components-checkbox-control__input-container"},Object(s.createElement)("input",Object(c.a)({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>i(e.target.checked),checked:o,"aria-describedby":a?u+"__help":void 0},l)),o?Object(s.createElement)(Gp.a,{icon:$p.a,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(s.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))}function Yp(e){let{className:t,children:n,onCopy:r,onFinishCopy:o,text:a,...i}=e;hs()("wp.components.ClipboardButton",{since:"10.3",plugin:"Gutenberg",alternative:"wp.compose.useCopyToClipboard"});const l=Object(s.useRef)(),u=Object(p.useCopyToClipboard)(a,()=>{r(),clearTimeout(l.current),o&&(l.current=setTimeout(()=>o(),4e3))});Object(s.useEffect)(()=>{clearTimeout(l.current)},[]);const f=d()("components-clipboard-button",t);return Object(s.createElement)(id.a,Object(c.a)({},i,{className:f,ref:u,onCopy:e=>{e.target.focus()}}),n)}var Xp=n("bVTw"),Zp=n("Q4Sy"),Jp=n("VKE3"),Qp=n("mi6C");const eb={bottom:{align:"flex-end",justify:"center"},bottomLeft:{align:"flex-start",justify:"flex-end"},bottomRight:{align:"flex-end",justify:"flex-end"},center:{align:"center",justify:"center"},edge:{align:"center",justify:"space-between"},left:{align:"center",justify:"flex-start"},right:{align:"center",justify:"flex-end"},stretch:{align:"stretch"},top:{align:"flex-start",justify:"center"},topLeft:{align:"flex-start",justify:"flex-start"},topRight:{align:"flex-start",justify:"flex-end"}},tb={bottom:{justify:"flex-end",align:"center"},bottomLeft:{justify:"flex-start",align:"flex-end"},bottomRight:{justify:"flex-end",align:"flex-end"},center:{justify:"center",align:"center"},edge:{justify:"space-between",align:"center"},left:{justify:"center",align:"flex-start"},right:{justify:"center",align:"flex-end"},stretch:{justify:"stretch"},top:{justify:"flex-start",align:"center"},topLeft:{justify:"flex-start",align:"flex-start"},topRight:{justify:"flex-start",align:"flex-end"}};function nb(e){return"string"==typeof e?[e]:s.Children.toArray(e).filter(e=>Object(s.isValidElement)(e))}function rb(e){const{alignment:t="edge",children:n,direction:r,spacing:o=2,...a}=Object(rs.a)(e,"HStack"),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"row";if(Object(l.isNil)(e))return{};const n="column"===t,r=n?tb:eb,o=e in r?r[e]:{align:e};return o}(t,r);return Ss({children:nb(n).map((e,t)=>{const n=e.key||"hstack-"+t;return Object(ts.b)(e,["Spacer"])?Object(s.createElement)(ps,Object(c.a)({isBlock:!0,key:n},e.props)):e}),direction:r,justify:"center",...i,...a,gap:o})}var ob=Object(ts.a)((function(e,t){const n=rb(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"HStack"),ab=n("NWDH");const ib=Object(w.a)("select",{target:"e1mv6sxx1"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",L.black,";display:block;margin:0;width:100%;",e=>{let{disabled:t}=e;return t?Object(x.a)({color:L.ui.textDisabled},"",""):""},";",e=>{let{selectSize:t}=e;const n={default:"13px",small:"11px"}[t];return n?Object(x.a)("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""},";",e=>{let{selectSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}},r=n[t]||n.default;return Object(x.a)(r,"","")},";",ks({paddingLeft:8,paddingRight:24}),";}"),cb=Object(w.a)("div",{target:"e1mv6sxx0"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",ks({right:0})," svg{display:block;}");function sb(e,t){let{className:n,disabled:r=!1,help:o,hideLabelFromVision:a,id:i,label:u,multiple:f=!1,onBlur:b=l.noop,onChange:h=l.noop,onFocus:m=l.noop,options:v=[],size:g="default",value:y,labelPosition:O="top",children:j,prefix:w,suffix:x,..._}=e;const[E,k]=Object(s.useState)(!1),S=function(e){const t=Object(p.useInstanceId)(sb);return e||"inspector-select-control-"+t}(i),C=o?S+"__help":void 0;if(Object(l.isEmpty)(v)&&!j)return null;const P=d()("components-select-control",n);return Object(s.createElement)(gd,{help:o,id:S},Object(s.createElement)(kl,{className:P,disabled:r,hideLabelFromVision:a,id:S,isFocused:E,label:u,size:g,suffix:x||Object(s.createElement)(cb,null,Object(s.createElement)(Gp.a,{icon:ab.a,size:18})),prefix:w,labelPosition:O},Object(s.createElement)(ib,Object(c.a)({},_,{"aria-describedby":C,className:"components-select-control__input",disabled:r,id:S,multiple:f,onBlur:e=>{b(e),k(!1)},onChange:e=>{if(f){const t=Array.from(e.target.options).filter(e=>{let{selected:t}=e;return t}).map(e=>{let{value:t}=e;return t});h(t)}else h(e.target.value,{event:e})},onFocus:e=>{m(e),k(!0)},ref:t,selectSize:g,value:y}),j||v.map((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return Object(s.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)}))))}var lb=Object(s.forwardRef)(sb),ub=n("9VDH");function db(e,t,n){return"number"!=typeof e?null:parseFloat(Object(l.clamp)(e,t,n))}const fb=()=>Object(x.a)({height:30,minHeight:30},"",""),pb=Object(w.a)("div",{target:"exqw8y214"})({name:"17z6zai",styles:"-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%"}),bb=Object(w.a)("div",{target:"exqw8y213"})("box-sizing:border-box;color:",L.blue.medium.focus,";display:block;flex:1;position:relative;width:100%;",e=>{let{color:t=L.ui.borderFocus}=e;return Object(x.a)({color:t},"","")},";",fb,";",e=>{let{marks:t}=e;return Object(x.a)({marginBottom:t?16:null},"","")},";"),hb=Object(w.a)("span",{target:"exqw8y212"})("margin-top:",4,"px;",ks({marginRight:6}),";"),mb=Object(w.a)("span",{target:"exqw8y211"})("margin-top:",4,"px;",ks({marginLeft:16}),";"),vb=Object(w.a)("span",{target:"exqw8y210"})("background-color:",L.lightGray[600],";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:",4,"px;position:absolute;margin-top:",13,"px;top:0;border-radius:",4,"px;",e=>{let{disabled:t,railColor:n}=e,r=n||null;return t&&(r=L.lightGray[400]),Object(x.a)({background:r},"","")},";"),gb=Object(w.a)("span",{target:"exqw8y29"})("background-color:currentColor;border-radius:",4,"px;box-sizing:border-box;height:",4,"px;pointer-events:none;display:block;position:absolute;margin-top:",13,"px;top:0;",e=>{let{disabled:t,trackColor:n}=e,r=n||"currentColor";return t&&(r=L.lightGray[800]),Object(x.a)({background:r},"","")},";"),yb=Object(w.a)("span",{target:"exqw8y28"})({name:"1xuuvmv",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none"}),Ob=Object(w.a)("span",{target:"exqw8y27"})("box-sizing:border-box;height:",12,"px;left:0;position:absolute;top:-4px;width:1px;",e=>{let{disabled:t,isFilled:n}=e,r=n?"currentColor":L.lightGray[600];return t&&(r=L.lightGray[800]),Object(x.a)({backgroundColor:r},"","")},";"),jb=Object(w.a)("span",{target:"exqw8y26"})("box-sizing:border-box;color:",L.lightGray[600],";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",e=>{let{isFilled:t}=e;return Object(x.a)({color:t?L.darkGray[300]:L.lightGray[600]},"","")},";");var wb={name:"1sb75b3",styles:"background-color:var( --wp-admin-theme-color )"};const xb=e=>{let{disabled:t}=e;return t?Object(x.a)("background-color:",L.lightGray[800],";",""):wb},_b=Object(w.a)("span",{target:"exqw8y25"})("align-items:center;box-sizing:border-box;display:flex;height:",12,"px;justify-content:center;margin-top:",9,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",12,"px;border-radius:50%;",xb,";",ks({marginLeft:-10}),";",ks({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),Eb=Object(w.a)("span",{target:"exqw8y24"})("align-items:center;border-radius:50%;box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",xb,";",e=>{let{isFocused:t}=e;return t?Object(x.a)("&::before{content:' ';position:absolute;background-color:var( --wp-admin-theme-color );opacity:0.4;border-radius:50%;height:",20,"px;width:",20,"px;top:-4px;left:-4px;}",""):""},";"),kb=Object(w.a)("input",{target:"exqw8y23"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",6,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",12,"px );");var Sb={name:"1cypxip",styles:"top:-80%"},Cb={name:"1lr98c4",styles:"bottom:-80%"};const Pb=Object(w.a)("span",{target:"exqw8y22"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;",e=>{let{show:t}=e;return Object(x.a)({opacity:t?1:0},"","")},";",e=>{let{position:t}=e;return"bottom"===t?Cb:Sb},";",F("transition"),";",ks({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),Tb=Object(w.a)(kd,{target:"exqw8y21"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",ys(16),"!important;input[type='number']&{",fb,";}",ks({marginLeft:ys(4)+" !important"}),";"),Mb=Object(w.a)("span",{target:"exqw8y20"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",fb,";}",ks({marginLeft:8}),";");var Db=Object(s.forwardRef)((function(e,t){let{describedBy:n,label:r,onHideTooltip:o=l.noop,onMouseLeave:a=l.noop,onMouseMove:i=l.noop,onShowTooltip:u=l.noop,value:d,...f}=e;const p=function(e){let{onHide:t=l.noop,onMouseLeave:n=l.noop,onMouseMove:r=l.noop,onShow:o=l.noop,timeout:a=300}=e;const[i,c]=Object(s.useState)(!1),u=Object(s.useRef)(),d=Object(s.useCallback)(e=>{window.clearTimeout(u.current),u.current=setTimeout(e,a)},[a]),f=Object(s.useCallback)(e=>{r(e),d(()=>{i||(c(!0),o())})},[]),p=Object(s.useCallback)(e=>{n(e),d(()=>{c(!1),t()})},[]);return Object(s.useEffect)(()=>()=>{window.clearTimeout(u.current)}),{onMouseMove:f,onMouseLeave:p}}({onHide:o,onMouseLeave:a,onMouseMove:i,onShow:u});return Object(s.createElement)(kb,Object(c.a)({},f,p,{"aria-describedby":n,"aria-label":r,"aria-hidden":!1,ref:t,tabIndex:0,type:"range",value:d}))}));function Ib(e){let{className:t,isFilled:n=!1,label:r,style:o={},...a}=e;const i=d()("components-range-control__mark",n&&"is-filled",t),l=d()("components-range-control__mark-label",n&&"is-filled");return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Ob,Object(c.a)({},a,{"aria-hidden":"true",className:i,isFilled:n,style:o})),r&&Object(s.createElement)(jb,{"aria-hidden":"true",className:l,isFilled:n,style:o},r))}function Rb(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:a=1,value:i=0,...l}=e;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(vb,Object(c.a)({disabled:t},l)),n&&Object(s.createElement)(Ab,{disabled:t,marks:n,min:r,max:o,step:a,value:i}))}function Ab(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:a=1,value:i=0}=e;"any"===a&&(a=1);const l=function(e){let{marks:t,min:n=0,max:r=100,step:o=1,value:a=0}=e;if(!t)return[];const i=r-n;if(!Array.isArray(t)){t=[];const e=1+Math.round(i/o);for(;e>t.push({value:o*t.length+n}););}const c=[];return t.forEach((e,t)=>{if(e.value<n||e.value>r)return;const o="mark-"+t,s=e.value<=a,l=(e.value-n)/i*100+"%",u={[Object(f.isRTL)()?"right":"left"]:l};c.push({...e,isFilled:s,key:o,style:u})}),c}({marks:n,min:r,max:o,step:a,value:i});return Object(s.createElement)(yb,{"aria-hidden":"true",className:"components-range-control__marks"},l.map(e=>Object(s.createElement)(Ib,Object(c.a)({},e,{key:e.key,"aria-hidden":"true",disabled:t}))))}function Nb(e){let{className:t,inputRef:n,tooltipPosition:r,show:o=!1,style:a={},value:i=0,renderTooltipContent:l=(e=>e),zIndex:u=100,...f}=e;const p=function(e){let{inputRef:t,tooltipPosition:n}=e;const[r,o]=Object(s.useState)(),a=Object(s.useCallback)(()=>{t&&t.current&&o(n)},[n]);return Object(s.useEffect)(()=>{a()},[a]),Object(s.useEffect)(()=>(window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)})),r}({inputRef:n,tooltipPosition:r}),b=d()("components-simple-tooltip",t),h={...a,zIndex:u};return Object(s.createElement)(Pb,Object(c.a)({},f,{"aria-hidden":o,className:b,position:p,show:o,role:"tooltip",style:h}),l(i))}var Lb=Object(s.forwardRef)((function e(t,n){var r;let{afterIcon:o,allowReset:a=!1,beforeIcon:i,className:u,currentInput:b,color:h=L.ui.theme,disabled:m=!1,help:v,initialPosition:g,isShiftStepEnabled:y=!0,label:O,hideLabelFromVision:j=!1,marks:w=!1,max:x=100,min:_=0,onBlur:E=l.noop,onChange:k=l.noop,onFocus:S=l.noop,onMouseMove:C=l.noop,onMouseLeave:P=l.noop,railColor:T,resetFallbackValue:M,renderTooltipContent:D=(e=>e),showTooltip:I,shiftStep:R=10,step:A=1,trackColor:N,value:F,withInputField:z=!0,...B}=t;const[H,V]=function(e){let{min:t,max:n,value:r,initial:o}=e;const[a,i]=$d(db(r,t,n),{initial:o,fallback:null});return[a,Object(s.useCallback)(e=>{i(null===e?null:db(e,t,n))},[t,n])]}({min:_,max:x,value:F,initial:g}),W=Object(s.useRef)(!1);"any"===A&&(I=!1,z=!1);const[U,K]=Object(s.useState)(I),[G,$]=Object(s.useState)(!1),q=Object(s.useRef)(),Y=null===(r=q.current)||void 0===r?void 0:r.matches(":focus"),X=!m&&G,Z=null===H,J=Z?"":void 0!==H?H:b,Q=Z?(x-_)/2+_:H,ee=Z?50:(H-_)/(x-_)*100,te=Object(l.clamp)(ee,0,100)+"%",ne=d()("components-range-control",u),re=d()("components-range-control__wrapper",!!w&&"is-marked"),oe=Object(p.useInstanceId)(e,"inspector-range-control"),ae=v?oe+"__help":void 0,ie=!1!==I&&Object(l.isFinite)(H),ce=()=>{let e=parseFloat(M),t=e;isNaN(e)&&(e=null,t=void 0),V(e),k(t)},se={[Object(f.isRTL)()?"right":"left"]:te};return Object(s.createElement)(gd,{className:ne,label:O,hideLabelFromVision:j,id:oe,help:v},Object(s.createElement)(pb,{className:"components-range-control__root"},i&&Object(s.createElement)(hb,null,Object(s.createElement)(ub.a,{icon:i})),Object(s.createElement)(bb,{className:re,color:h,marks:!!w},Object(s.createElement)(Db,Object(c.a)({},B,{className:"components-range-control__slider",describedBy:ae,disabled:m,id:oe,label:O,max:x,min:_,onBlur:e=>{E(e),$(!1),K(!1)},onChange:e=>{const t=parseFloat(e.target.value);V(t),k(t)},onFocus:e=>{S(e),$(!0),K(!0)},onMouseMove:C,onMouseLeave:P,ref:e=>{q.current=e,n&&n(e)},step:A,value:J})),Object(s.createElement)(Rb,{"aria-hidden":!0,disabled:m,marks:w,max:x,min:_,railColor:T,step:A,value:Q}),Object(s.createElement)(gb,{"aria-hidden":!0,className:"components-range-control__track",disabled:m,style:{width:te},trackColor:N}),Object(s.createElement)(_b,{style:se,disabled:m},Object(s.createElement)(Eb,{"aria-hidden":!0,isFocused:X,disabled:m})),ie&&Object(s.createElement)(Nb,{className:"components-range-control__tooltip",inputRef:q,tooltipPosition:"bottom",renderTooltipContent:D,show:Y||U,style:se,value:H})),o&&Object(s.createElement)(mb,null,Object(s.createElement)(ub.a,{icon:o})),z&&Object(s.createElement)(Tb,{"aria-label":O,className:"components-range-control__number",disabled:m,inputMode:"decimal",isShiftStepEnabled:y,max:x,min:_,onBlur:()=>{W.current&&(ce(),W.current=!1)},onChange:e=>{e=parseFloat(e),V(e),isNaN(e)?a&&(W.current=!0):((e<_||e>x)&&(e=db(e,_,x)),k(e),W.current=!1)},shiftStep:R,step:A,value:J}),a&&Object(s.createElement)(Mb,null,Object(s.createElement)(id.a,{className:"components-range-control__reset",disabled:m||void 0===H,variant:"secondary",isSmall:!0,onClick:ce},Object(f.__)("Reset")))))}));const Fb=Object(w.a)(kd,{target:"ez9hsf46"})(bl,"{width:",ys(24),";}"),zb=Object(w.a)(lb,{target:"ez9hsf45"})("margin-left:",ys(-2),";width:5em;",Ol,"{display:none;}"),Bb=Object(w.a)(Lb,{target:"ez9hsf44"})("flex:1;",bd,"{margin-bottom:0;}"),Hb=`\n&&& ${hl} {\n\theight: 40px;\n}`,Vb=`\n.react-colorful__interactive {\n\twidth: calc( 100% - ${ys(2)} );\n\tmargin-left: ${ys(1)};\n}`,Wb=Object(w.a)("div",{target:"ez9hsf43"})("padding:",ys(2)," ",ys(4),";"),Ub=Object(w.a)("div",{target:"ez9hsf42"})("width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",ys(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:16px;margin-bottom:",ys(2),";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",Vs.borderWidthFocus," #fff;}",Vb," ",bd,"{margin-bottom:0;}",Hb,";"),Kb=Object(w.a)(id.a,{target:"ez9hsf41"})("&&&&&{min-width:",ys(6),";padding:0;}"),Gb=Object(w.a)(qu,{target:"ez9hsf40"})({name:"1287a6j",styles:"width:8em"});var $b=n("uqqE"),qb=n("reMF");function Yb(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Xb(e){return e instanceof Yb(e).Element||e instanceof Element}function Zb(e){return e instanceof Yb(e).HTMLElement||e instanceof HTMLElement}function Jb(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Yb(e).ShadowRoot||e instanceof ShadowRoot)}var Qb=Math.max,eh=Math.min,th=Math.round;function nh(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Zb(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=th(n.width)/i||1),a>0&&(o=th(n.height)/a||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function rh(e){var t=Yb(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function oh(e){return e?(e.nodeName||"").toLowerCase():null}function ah(e){return((Xb(e)?e.ownerDocument:e.document)||window.document).documentElement}function ih(e){return nh(ah(e)).left+rh(e).scrollLeft}function ch(e){return Yb(e).getComputedStyle(e)}function sh(e){var t=ch(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function lh(e,t,n){void 0===n&&(n=!1);var r,o,a=Zb(t),i=Zb(t)&&function(e){var t=e.getBoundingClientRect(),n=th(t.width)/e.offsetWidth||1,r=th(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),c=ah(t),s=nh(e,i),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==oh(t)||sh(c))&&(l=(r=t)!==Yb(r)&&Zb(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:rh(r)),Zb(t)?((u=nh(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):c&&(u.x=ih(c))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function uh(e){var t=nh(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function dh(e){return"html"===oh(e)?e:e.assignedSlot||e.parentNode||(Jb(e)?e.host:null)||ah(e)}function fh(e,t){var n;void 0===t&&(t=[]);var r=function e(t){return["html","body","#document"].indexOf(oh(t))>=0?t.ownerDocument.body:Zb(t)&&sh(t)?t:e(dh(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Yb(r),i=o?[a].concat(a.visualViewport||[],sh(r)?r:[]):r,c=t.concat(i);return o?c:c.concat(fh(dh(i)))}function ph(e){return["table","td","th"].indexOf(oh(e))>=0}function bh(e){return Zb(e)&&"fixed"!==ch(e).position?e.offsetParent:null}function hh(e){for(var t=Yb(e),n=bh(e);n&&ph(n)&&"static"===ch(n).position;)n=bh(n);return n&&("html"===oh(n)||"body"===oh(n)&&"static"===ch(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Zb(e)&&"fixed"===ch(e).position)return null;for(var n=dh(e);Zb(n)&&["html","body"].indexOf(oh(n))<0;){var r=ch(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var mh="top",vh="bottom",gh="right",yh="left",Oh=[mh,vh,gh,yh],jh=Oh.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),wh=[].concat(Oh,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),xh=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _h(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}})),r.push(o)}(e)})),r}var Eh={placement:"bottom",modifiers:[],strategy:"absolute"};function kh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Sh(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Eh:o;return function(e,t,n){void 0===n&&(n=a);var o,i,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Eh,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,u={state:c,setOptions:function(n){var o="function"==typeof n?n(c.options):n;d(),c.options=Object.assign({},a,c.options,o),c.scrollParents={reference:Xb(e)?fh(e):e.contextElement?fh(e.contextElement):[],popper:fh(t)};var i=function(e){var t=_h(e);return xh.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,c.options.modifiers)));return c.orderedModifiers=i.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:c,name:t,instance:u,options:r});s.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!l){var e=c.elements,t=e.reference,n=e.popper;if(kh(t,n)){c.rects={reference:lh(t,hh(n),"fixed"===c.options.strategy),popper:uh(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var o=c.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(c=a({state:c,options:s,name:d,instance:u})||c)}else c.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(c)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),l=!0}};if(!kh(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Ch={passive:!0};function Ph(e){return e.split("-")[0]}function Th(e){return e.split("-")[1]}function Mh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dh(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Ph(o):null,i=o?Th(o):null,c=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case mh:t={x:c,y:n.y-r.height};break;case vh:t={x:c,y:n.y+n.height};break;case gh:t={x:n.x+n.width,y:s};break;case yh:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var l=a?Mh(a):null;if(null!=l){var u="y"===l?"height":"width";switch(i){case"start":t[l]=t[l]-(n[u]/2-r[u]/2);break;case"end":t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}var Ih={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Rh(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,c=e.position,s=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,b=i.y,h=void 0===b?0:b,m="function"==typeof u?u({x:p,y:h}):{x:p,y:h};p=m.x,h=m.y;var v=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),y=yh,O=mh,j=window;if(l){var w=hh(n),x="clientHeight",_="clientWidth";if(w===Yb(n)&&"static"!==ch(w=ah(n)).position&&"absolute"===c&&(x="scrollHeight",_="scrollWidth"),w=w,o===mh||(o===yh||o===gh)&&"end"===a)O=vh,h-=(d&&j.visualViewport?j.visualViewport.height:w[x])-r.height,h*=s?1:-1;if(o===yh||(o===mh||o===vh)&&"end"===a)y=gh,p-=(d&&j.visualViewport?j.visualViewport.width:w[_])-r.width,p*=s?1:-1}var E,k=Object.assign({position:c},l&&Ih),S=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:th(t*r)/r||0,y:th(n*r)/r||0}}({x:p,y:h}):{x:p,y:h};return p=S.x,h=S.y,s?Object.assign({},k,((E={})[O]=g?"0":"",E[y]=v?"0":"",E.transform=(j.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",E)):Object.assign({},k,((t={})[O]=g?h+"px":"",t[y]=v?p+"px":"",t.transform="",t))}var Ah={left:"right",right:"left",bottom:"top",top:"bottom"};function Nh(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ah[e]}))}var Lh={start:"end",end:"start"};function Fh(e){return e.replace(/start|end/g,(function(e){return Lh[e]}))}function zh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Jb(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Bh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Hh(e,t){return"viewport"===t?Bh(function(e){var t=Yb(e),n=ah(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,c=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,c=r.offsetTop)),{width:o,height:a,x:i+ih(e),y:c}}(e)):Xb(t)?function(e){var t=nh(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Bh(function(e){var t,n=ah(e),r=rh(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Qb(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Qb(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+ih(e),s=-r.scrollTop;return"rtl"===ch(o||n).direction&&(c+=Qb(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:c,y:s}}(ah(e)))}function Vh(e,t,n){var r="clippingParents"===t?function(e){var t=fh(dh(e)),n=["absolute","fixed"].indexOf(ch(e).position)>=0&&Zb(e)?hh(e):e;return Xb(n)?t.filter((function(e){return Xb(e)&&zh(e,n)&&"body"!==oh(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=Hh(e,n);return t.top=Qb(r.top,t.top),t.right=eh(r.right,t.right),t.bottom=eh(r.bottom,t.bottom),t.left=Qb(r.left,t.left),t}),Hh(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Wh(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Uh(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Kh(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,i=void 0===a?"clippingParents":a,c=n.rootBoundary,s=void 0===c?"viewport":c,l=n.elementContext,u=void 0===l?"popper":l,d=n.altBoundary,f=void 0!==d&&d,p=n.padding,b=void 0===p?0:p,h=Wh("number"!=typeof b?b:Uh(b,Oh)),m="popper"===u?"reference":"popper",v=e.rects.popper,g=e.elements[f?m:u],y=Vh(Xb(g)?g:g.contextElement||ah(e.elements.popper),i,s),O=nh(e.elements.reference),j=Dh({reference:O,element:v,strategy:"absolute",placement:o}),w=Bh(Object.assign({},v,j)),x="popper"===u?w:O,_={top:y.top-x.top+h.top,bottom:x.bottom-y.bottom+h.bottom,left:y.left-x.left+h.left,right:x.right-y.right+h.right},E=e.modifiersData.offset;if("popper"===u&&E){var k=E[o];Object.keys(_).forEach((function(e){var t=[gh,vh].indexOf(e)>=0?1:-1,n=[mh,vh].indexOf(e)>=0?"y":"x";_[e]+=k[n]*t}))}return _}function Gh(e,t,n){return Qb(e,eh(t,n))}function $h(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function qh(e){return[mh,gh,vh,yh].some((function(t){return e[t]>=0}))}var Yh=Sh({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,c=void 0===i||i,s=Yb(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",n.update,Ch)})),c&&s.addEventListener("resize",n.update,Ch),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",n.update,Ch)})),c&&s.removeEventListener("resize",n.update,Ch)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Dh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,c=n.roundOffsets,s=void 0===c||c,l={placement:Ph(t.placement),variation:Th(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Rh(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Rh(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Zb(o)&&oh(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Zb(r)&&oh(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=wh.reduce((function(e,n){return e[n]=function(e,t,n){var r=Ph(e),o=[yh,mh].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],c=a[1];return i=i||0,c=(c||0)*o,[yh,gh].indexOf(r)>=0?{x:c,y:i}:{x:i,y:c}}(n,t.rects,a),e}),{}),c=i[t.placement],s=c.x,l=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0===i||i,s=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,b=void 0===p||p,h=n.allowedAutoPlacements,m=t.options.placement,v=Ph(m),g=s||(v===m||!b?[Nh(m)]:function(e){if("auto"===Ph(e))return[];var t=Nh(e);return[Fh(e),t,Fh(t)]}(m)),y=[m].concat(g).reduce((function(e,n){return e.concat("auto"===Ph(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,c=n.flipVariations,s=n.allowedAutoPlacements,l=void 0===s?wh:s,u=Th(r),d=u?c?jh:jh.filter((function(e){return Th(e)===u})):Oh,f=d.filter((function(e){return l.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Kh(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Ph(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:b,allowedAutoPlacements:h}):n)}),[]),O=t.rects.reference,j=t.rects.popper,w=new Map,x=!0,_=y[0],E=0;E<y.length;E++){var k=y[E],S=Ph(k),C="start"===Th(k),P=[mh,vh].indexOf(S)>=0,T=P?"width":"height",M=Kh(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),D=P?C?gh:yh:C?vh:mh;O[T]>j[T]&&(D=Nh(D));var I=Nh(D),R=[];if(a&&R.push(M[S]<=0),c&&R.push(M[D]<=0,M[I]<=0),R.every((function(e){return e}))){_=k,x=!1;break}w.set(k,R)}if(x)for(var A=function(e){var t=y.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},N=b?3:1;N>0;N--){if("break"===A(N))break}t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0!==i&&i,s=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,b=n.tetherOffset,h=void 0===b?0:b,m=Kh(t,{boundary:s,rootBoundary:l,padding:d,altBoundary:u}),v=Ph(t.placement),g=Th(t.placement),y=!g,O=Mh(v),j="x"===O?"y":"x",w=t.modifiersData.popperOffsets,x=t.rects.reference,_=t.rects.popper,E="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,k="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(w){if(a){var P,T="y"===O?mh:yh,M="y"===O?vh:gh,D="y"===O?"height":"width",I=w[O],R=I+m[T],A=I-m[M],N=p?-_[D]/2:0,L="start"===g?x[D]:_[D],F="start"===g?-_[D]:-x[D],z=t.elements.arrow,B=p&&z?uh(z):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[T],W=H[M],U=Gh(0,x[D],B[D]),K=y?x[D]/2-N-U-V-k.mainAxis:L-U-V-k.mainAxis,G=y?-x[D]/2+N+U+W+k.mainAxis:F+U+W+k.mainAxis,$=t.elements.arrow&&hh(t.elements.arrow),q=$?"y"===O?$.clientTop||0:$.clientLeft||0:0,Y=null!=(P=null==S?void 0:S[O])?P:0,X=I+G-Y,Z=Gh(p?eh(R,I+K-Y-q):R,I,p?Qb(A,X):A);w[O]=Z,C[O]=Z-I}if(c){var J,Q="x"===O?mh:yh,ee="x"===O?vh:gh,te=w[j],ne="y"===j?"height":"width",re=te+m[Q],oe=te-m[ee],ae=-1!==[mh,yh].indexOf(v),ie=null!=(J=null==S?void 0:S[j])?J:0,ce=ae?re:te-x[ne]-_[ne]-ie+k.altAxis,se=ae?te+x[ne]+_[ne]-ie-k.altAxis:oe,le=p&&ae?function(e,t,n){var r=Gh(e,t,n);return r>n?n:r}(ce,te,se):Gh(p?ce:re,te,p?se:oe);w[j]=le,C[j]=le-te}t.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,c=Ph(n.placement),s=Mh(c),l=[yh,gh].indexOf(c)>=0?"height":"width";if(a&&i){var u=function(e,t){return Wh("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Uh(e,Oh))}(o.padding,n),d=uh(a),f="y"===s?mh:yh,p="y"===s?vh:gh,b=n.rects.reference[l]+n.rects.reference[s]-i[s]-n.rects.popper[l],h=i[s]-n.rects.reference[s],m=hh(a),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,g=b/2-h/2,y=u[f],O=v-d[l]-u[p],j=v/2-d[l]/2+g,w=Gh(y,j,O),x=s;n.modifiersData[r]=((t={})[x]=w,t.centerOffset=w-j,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&zh(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Kh(t,{elementContext:"reference"}),c=Kh(t,{altBoundary:!0}),s=$h(i,r),l=$h(c,o,a),u=qh(s),d=qh(l);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function Xh(e){void 0===e&&(e={});var t,n,r=Z(e),o=r.visible,a=void 0!==o&&o,i=r.animated,c=void 0!==i&&i,s=ie(Object($.a)(r,["visible","animated"])),l=Object(q.useState)(a),u=l[0],d=l[1],f=Object(q.useState)(c),p=f[0],b=f[1],h=Object(q.useState)(!1),m=h[0],v=h[1],g=(t=u,n=Object(q.useRef)(null),Object(X.a)((function(){n.current=t}),[t]),n),y=null!=g.current&&g.current!==u;p&&!m&&y&&v(!0),Object(q.useEffect)((function(){if("number"==typeof p&&m){var e=setTimeout((function(){return v(!1)}),p);return function(){clearTimeout(e)}}return function(){}}),[p,m]);var O=Object(q.useCallback)((function(){return d(!0)}),[]),j=Object(q.useCallback)((function(){return d(!1)}),[]),w=Object(q.useCallback)((function(){return d((function(e){return!e}))}),[]),x=Object(q.useCallback)((function(){return v(!1)}),[]);return Object($.b)(Object($.b)({},s),{},{visible:u,animated:p,animating:m,show:O,hide:j,toggle:w,setVisible:d,setAnimated:b,stopAnimation:x})}var Zh=Object(qb.a)("Mac")&&!Object(qb.a)("Chrome")&&Object(qb.a)("Safari");function Jh(e){return function(t){return e&&!Object($b.a)(t,e)?e:t}}function Qh(e){void 0===e&&(e={});var t=Z(e),n=t.gutter,r=void 0===n?12:n,o=t.placement,a=void 0===o?"bottom":o,i=t.unstable_flip,c=void 0===i||i,s=t.unstable_offset,l=t.unstable_preventOverflow,u=void 0===l||l,d=t.unstable_fixed,f=void 0!==d&&d,p=t.modal,b=void 0!==p&&p,h=Object($.a)(t,["gutter","placement","unstable_flip","unstable_offset","unstable_preventOverflow","unstable_fixed","modal"]),m=Object(q.useRef)(null),v=Object(q.useRef)(null),g=Object(q.useRef)(null),y=Object(q.useRef)(null),O=Object(q.useState)(a),j=O[0],w=O[1],x=Object(q.useState)(a),_=x[0],E=x[1],k=Object(q.useState)(s||[0,r])[0],S=Object(q.useState)({position:"fixed",left:"100%",top:"100%"}),C=S[0],P=S[1],T=Object(q.useState)({}),M=T[0],D=T[1],I=function(e){void 0===e&&(e={});var t=Z(e),n=t.modal,r=void 0===n||n,o=Xh(Object($.a)(t,["modal"])),a=Object(q.useState)(r),i=a[0],c=a[1],s=Object(q.useRef)(null);return Object($.b)(Object($.b)({},o),{},{modal:i,setModal:c,unstable_disclosureRef:s})}(Object($.b)({modal:b},h)),R=Object(q.useCallback)((function(){return!!m.current&&(m.current.forceUpdate(),!0)}),[]),A=Object(q.useCallback)((function(e){e.placement&&E(e.placement),e.styles&&(P(Jh(e.styles.popper)),y.current&&D(Jh(e.styles.arrow)))}),[]);return Object(X.a)((function(){return v.current&&g.current&&(m.current=Yh(v.current,g.current,{placement:j,strategy:f?"fixed":"absolute",onFirstUpdate:Zh?A:void 0,modifiers:[{name:"eventListeners",enabled:I.visible},{name:"applyStyles",enabled:!1},{name:"flip",enabled:c,options:{padding:8}},{name:"offset",options:{offset:k}},{name:"preventOverflow",enabled:u,options:{tetherOffset:function(){var e;return(null===(e=y.current)||void 0===e?void 0:e.clientWidth)||0}}},{name:"arrow",enabled:!!y.current,options:{element:y.current}},{name:"updateState",phase:"write",requires:["computeStyles"],enabled:I.visible&&!0,fn:function(e){var t=e.state;return A(t)}}]})),function(){m.current&&(m.current.destroy(),m.current=null)}}),[j,f,I.visible,c,k,u]),Object(q.useEffect)((function(){if(I.visible){var e=window.requestAnimationFrame((function(){var e;null===(e=m.current)||void 0===e||e.forceUpdate()}));return function(){window.cancelAnimationFrame(e)}}}),[I.visible]),Object($.b)(Object($.b)({},I),{},{unstable_referenceRef:v,unstable_popoverRef:g,unstable_arrowRef:y,unstable_popoverStyles:C,unstable_arrowStyles:M,unstable_update:R,unstable_originalPlacement:j,placement:_,place:w})}var em={currentTooltipId:null,listeners:new Set,subscribe:function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},show:function(e){this.currentTooltipId=e,this.listeners.forEach((function(t){return t(e)}))},hide:function(e){this.currentTooltipId===e&&(this.currentTooltipId=null,this.listeners.forEach((function(e){return e(null)})))}};var tm=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","unstable_disclosureRef","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","place","unstable_timeout","unstable_setTimeout"],nm=[].concat(tm,["unstable_portal"]),rm=tm,om=Object(_e.a)({name:"TooltipReference",compose:Ce.a,keys:rm,useProps:function(e,t){var n=t.ref,r=t.onFocus,o=t.onBlur,a=t.onMouseEnter,i=t.onMouseLeave,c=Object($.a)(t,["ref","onFocus","onBlur","onMouseEnter","onMouseLeave"]),s=Object(ke.a)(r),l=Object(ke.a)(o),u=Object(ke.a)(a),d=Object(ke.a)(i),f=Object(q.useCallback)((function(t){var n,r;null===(n=s.current)||void 0===n||n.call(s,t),t.defaultPrevented||null===(r=e.show)||void 0===r||r.call(e)}),[e.show]),p=Object(q.useCallback)((function(t){var n,r;null===(n=l.current)||void 0===n||n.call(l,t),t.defaultPrevented||null===(r=e.hide)||void 0===r||r.call(e)}),[e.hide]),b=Object(q.useCallback)((function(t){var n,r;null===(n=u.current)||void 0===n||n.call(u,t),t.defaultPrevented||null===(r=e.show)||void 0===r||r.call(e)}),[e.show]),h=Object(q.useCallback)((function(t){var n,r;null===(n=d.current)||void 0===n||n.call(d,t),t.defaultPrevented||null===(r=e.hide)||void 0===r||r.call(e)}),[e.hide]);return Object($.b)({ref:Object(Ee.a)(e.unstable_referenceRef,n),tabIndex:0,onFocus:f,onBlur:p,onMouseEnter:b,onMouseLeave:h,"aria-describedby":e.baseId},c)}}),am=Object(xe.a)({as:"div",useHook:om});const im=Object(s.createContext)({});var cm=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation"],sm=cm,lm=Object(_e.a)({name:"DisclosureContent",compose:Ce.a,keys:sm,useProps:function(e,t){var n=t.onTransitionEnd,r=t.onAnimationEnd,o=t.style,a=Object($.a)(t,["onTransitionEnd","onAnimationEnd","style"]),i=e.animated&&e.animating,c=Object(q.useState)(null),s=c[0],l=c[1],u=!e.visible&&!i,d=u?Object($.b)({display:"none"},o):o,f=Object(ke.a)(n),p=Object(ke.a)(r),b=Object(q.useRef)(0);Object(q.useEffect)((function(){if(e.animated)return b.current=window.requestAnimationFrame((function(){b.current=window.requestAnimationFrame((function(){e.visible?l("enter"):l(i?"leave":null)}))})),function(){return window.cancelAnimationFrame(b.current)}}),[e.animated,e.visible,i]);var h=Object(q.useCallback)((function(t){var n;Object(Se.a)(t)&&(i&&!0===e.animated&&(null===(n=e.stopAnimation)||void 0===n||n.call(e)))}),[e.animated,i,e.stopAnimation]),m=Object(q.useCallback)((function(e){var t;null===(t=f.current)||void 0===t||t.call(f,e),h(e)}),[h]),v=Object(q.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),h(e)}),[h]);return Object($.b)({id:e.baseId,"data-enter":"enter"===s?"":void 0,"data-leave":"leave"===s?"":void 0,onTransitionEnd:m,onAnimationEnd:v,hidden:u,style:d},a)}}),um=Object(xe.a)({as:"div",useHook:lm}),dm=n("faye");function fm(){return Le.a?document.body:null}var pm=Object(q.createContext)(fm());function bm(e){var t=e.children,n=Object(q.useContext)(pm)||fm(),r=Object(q.useState)((function(){if(Le.a){var e=document.createElement("div");return e.className=bm.__className,e}return null}))[0];return Object(X.a)((function(){if(r&&n)return n.appendChild(r),function(){n.removeChild(r)}}),[r,n]),r?Object(dm.createPortal)(Object(q.createElement)(pm.Provider,{value:r},t),r):null}function hm(e){e.defaultPrevented||"Escape"===e.key&&em.show(null)}bm.__className="__reakit-portal",bm.__selector="."+bm.__className;var mm=Object(_e.a)({name:"Tooltip",compose:lm,keys:nm,useOptions:function(e){var t=e.unstable_portal,n=void 0===t||t,r=Object($.a)(e,["unstable_portal"]);return Object($.b)({unstable_portal:n},r)},useProps:function(e,t){var n=t.ref,r=t.style,o=t.wrapElement,a=Object($.a)(t,["ref","style","wrapElement"]);Object(q.useEffect)((function(){var t;Object(J.a)(null===(t=e.unstable_popoverRef)||void 0===t?void 0:t.current).addEventListener("keydown",hm)}),[]);var i=Object(q.useCallback)((function(t){return e.unstable_portal&&(t=Object(q.createElement)(bm,null,t)),o?o(t):t}),[e.unstable_portal,o]);return Object($.b)({ref:Object(Ee.a)(e.unstable_popoverRef,n),role:"tooltip",style:Object($.b)(Object($.b)({},e.unstable_popoverStyles),{},{pointerEvents:"none"},r),wrapElement:i},a)}}),vm=Object(xe.a)({as:"div",memo:!0,useHook:mm});var gm=Object(ts.a)((function(e,t){const{as:n="span",shortcut:r,className:o,...a}=Object(rs.a)(e,"Shortcut");if(!r)return null;let i,l;return"string"==typeof r?i=r:(i=r.display,l=r.ariaLabel),Object(s.createElement)(ns.a,Object(c.a)({as:n,className:o,"aria-label":l,ref:t},a),i)}),"Shortcut");const ym=Object(x.a)("z-index:",1000002,";box-sizing:border-box;opacity:0;outline:none;transform-origin:top center;transition:opacity ",Vs.transitionDurationFastest," ease;&[data-enter]{opacity:1;}",""),Om=Object(w.a)("div",{target:"e7tfjmw1"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-shadow:0 0 0 1px rgba( 255, 255, 255, 0.04 );color:",L.white,";padding:4px 8px;"),jm={name:"12mkfdx",styles:"outline:none"},wm=Object(w.a)(gm,{target:"e7tfjmw0"})("display:inline-block;margin-left:",ys(1),";"),{TooltipPopoverView:xm}=o;var _m=Object(ts.a)((function(e,t){const{children:n,className:r,...o}=Object(rs.a)(e,"TooltipContent"),{tooltip:a}=Object(s.useContext)(im),i=Object(us.a)()(ym,r);return Object(s.createElement)(vm,Object(c.a)({as:ns.a},o,a,{className:i,ref:t}),Object(s.createElement)(xm,null,n))}),"TooltipContent");var Em=Object(ts.a)((function(e,t){const{animated:n=!0,animationDuration:r=160,baseId:o,children:a,content:i,focusable:l=!0,gutter:u=4,id:d,modal:f=!0,placement:p,visible:b=!1,shortcut:h,...m}=Object(rs.a)(e,"Tooltip"),v=function(e){void 0===e&&(e={});var t=Z(e),n=t.placement,r=void 0===n?"top":n,o=t.unstable_timeout,a=void 0===o?0:o,i=Object($.a)(t,["placement","unstable_timeout"]),c=Object(q.useState)(a),s=c[0],l=c[1],u=Object(q.useRef)(null),d=Object(q.useRef)(null),f=Qh(Object($.b)(Object($.b)({},i),{},{placement:r})),p=(f.modal,f.setModal,Object($.a)(f,["modal","setModal"])),b=Object(q.useCallback)((function(){null!==u.current&&window.clearTimeout(u.current),null!==d.current&&window.clearTimeout(d.current)}),[]),h=Object(q.useCallback)((function(){b(),p.hide(),d.current=window.setTimeout((function(){em.hide(p.baseId)}),s)}),[b,p.hide,s,p.baseId]),m=Object(q.useCallback)((function(){b(),!s||em.currentTooltipId?(em.show(p.baseId),p.show()):(em.show(null),u.current=window.setTimeout((function(){em.show(p.baseId),p.show()}),s))}),[b,s,p.show,p.baseId]);return Object(q.useEffect)((function(){return em.subscribe((function(e){e!==p.baseId&&(b(),p.visible&&p.hide())}))}),[p.baseId,b,p.visible,p.hide]),Object(q.useEffect)((function(){return function(){b(),em.hide(p.baseId)}}),[b,p.baseId]),Object($.b)(Object($.b)({},p),{},{hide:h,show:m,unstable_timeout:s,unstable_setTimeout:l})}({animated:n?r:void 0,baseId:o||d,gutter:u,placement:p,visible:b,...m}),g=Object(s.useMemo)(()=>({tooltip:v}),[v]);return Object(s.createElement)(im.Provider,{value:g},i&&Object(s.createElement)(_m,{unstable_portal:f,ref:t},i,h&&Object(s.createElement)(wm,{shortcut:h})),a&&Object(s.createElement)(am,Object(c.a)({},v,a.props,{ref:null==a?void 0:a.ref}),e=>(l||(e.tabIndex=void 0),Object(s.cloneElement)(a,e))))}),"Tooltip");const km=e=>{let{values:t}=e;return Object(s.createElement)(s.Fragment,null,t.map(e=>{let[t,n]=e;return Object(s.createElement)(ps,{key:n,isBlock:!0,display:"flex"},Object(s.createElement)(ol,{color:"blue"},n),Object(s.createElement)(ol,null,t))}))},Sm=e=>{let{color:t,enableAlpha:n}=e;const{h:r,s:o,l:a,a:i}=t.toHsl(),c=[[Math.floor(r),"H"],[Math.round(100*o),"S"],[Math.round(100*a),"L"]];return n&&c.push([Math.round(100*i),"A"]),Object(s.createElement)(km,{values:c})},Cm=e=>{let{color:t,enableAlpha:n}=e;const{r:r,g:o,b:a,a:i}=t.toRgb(),c=[[r,"R"],[o,"G"],[a,"B"]];return n&&c.push([Math.round(100*i),"A"]),Object(s.createElement)(km,{values:c})},Pm=e=>{let{color:t}=e;const n=t.toHex().slice(1).toUpperCase();return Object(s.createElement)(ps,null,Object(s.createElement)(ol,{color:"blue"},"#"),Object(s.createElement)(ol,null,n))},Tm=e=>{let{color:t,colorType:n,enableAlpha:r}=e;const[o,a]=Object(s.useState)(null),i=Object(s.useRef)(),c={color:t,enableAlpha:r},l=(e=>{switch(e){case"hsl":return Sm;case"rgb":return Cm;default:case"hex":return Pm}})(n),u=Object(p.useCopyToClipboard)(()=>{switch(n){case"hsl":return t.toHslString();case"rgb":return t.toRgbString();default:case"hex":return t.toHex()}},()=>{i.current&&clearTimeout(i.current),a(t.toHex()),i.current=setTimeout(()=>{a(null),i.current=void 0},3e3)});return Object(s.useEffect)(()=>()=>{i.current&&clearTimeout(i.current)},[]),Object(s.createElement)(Em,{content:Object(s.createElement)(ol,{color:"white"},o===t.toHex()?Object(f.__)("Copied!"):Object(f.__)("Copy"))},Object(s.createElement)(Cs,{justify:"flex-start",gap:ys(1),ref:u,style:{height:30}},Object(s.createElement)(l,c)))},Mm=e=>{let{min:t,max:n,label:r,abbreviation:o,onChange:a,value:i}=e;return Object(s.createElement)(td,{as:ob,spacing:4},Object(s.createElement)(Fb,{min:t,max:n,label:r,hideLabelFromVision:!0,value:i,onChange:a,prefix:Object(s.createElement)(td,{as:ol,paddingLeft:ys(3.5),color:"blue",lineHeight:1},o),hideHTMLArrows:!0}),Object(s.createElement)(Bb,{label:r,hideLabelFromVision:!0,min:t,max:n,value:i,onChange:a,withInputField:!1}))},Dm=e=>{let{color:t,onChange:n,enableAlpha:r}=e;const{r:o,g:a,b:i,a:c}=t.toRgb();return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Mm,{min:0,max:255,label:"Red",abbreviation:"R",value:o,onChange:e=>n(Object(_.a)({r:e,g:a,b:i,a:c}))}),Object(s.createElement)(Mm,{min:0,max:255,label:"Green",abbreviation:"G",value:a,onChange:e=>n(Object(_.a)({r:o,g:e,b:i,a:c}))}),Object(s.createElement)(Mm,{min:0,max:255,label:"Blue",abbreviation:"B",value:i,onChange:e=>n(Object(_.a)({r:o,g:a,b:e,a:c}))}),r&&Object(s.createElement)(Mm,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*c),onChange:e=>n(Object(_.a)({r:o,g:a,b:i,a:e/100}))}))},Im=e=>{let{color:t,onChange:n,enableAlpha:r}=e;const{h:o,s:a,l:i,a:c}=t.toHsl();return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Mm,{min:0,max:359,label:"Hue",abbreviation:"H",value:o,onChange:e=>{n(Object(_.a)({h:e,s:a,l:i,a:c}))}}),Object(s.createElement)(Mm,{min:0,max:100,label:"Saturation",abbreviation:"S",value:a,onChange:e=>{n(Object(_.a)({h:o,s:e,l:i,a:c}))}}),Object(s.createElement)(Mm,{min:0,max:100,label:"Lightness",abbreviation:"L",value:i,onChange:e=>{n(Object(_.a)({h:o,s:a,l:e,a:c}))}}),r&&Object(s.createElement)(Mm,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*c),onChange:e=>{n(Object(_.a)({h:o,s:a,l:i,a:e/100}))}}))},Rm=e=>{let{color:t,onChange:n,enableAlpha:r}=e;return Object(s.createElement)(Gb,{prefix:Object(s.createElement)(td,{as:ol,marginLeft:ys(3.5),color:"blue",lineHeight:1},"#"),value:t.toHex().slice(1).toUpperCase(),onChange:e=>{n(Object(_.a)("#"+e))},onValidate:e=>{if(!Object(_.a)("#"+e).isValid())throw new Error("Invalid hex color input")},maxLength:r?8:6,label:Object(f.__)("Hex color"),hideLabelFromVision:!0})},Am=e=>{let{colorType:t,color:n,onChange:r,enableAlpha:o}=e;const a={color:n,onChange:r,enableAlpha:o};switch(t){case"hsl":return Object(s.createElement)(Im,a);case"rgb":return Object(s.createElement)(Dm,a);default:case"hex":return Object(s.createElement)(Rm,a)}};function Nm(){return(Nm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Lm(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}function Fm(e){var t=Object(q.useRef)(e),n=Object(q.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var zm=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e<t?t:e},Bm=function(e){return"touches"in e},Hm=function(e){return e&&e.ownerDocument.defaultView||self},Vm=function(e,t,n){var r=e.getBoundingClientRect(),o=Bm(t)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].identifier===t)return e[n];return e[0]}(t.touches,n):t;return{left:zm((o.pageX-(r.left+Hm(e).pageXOffset))/r.width),top:zm((o.pageY-(r.top+Hm(e).pageYOffset))/r.height)}},Wm=function(e){!Bm(e)&&e.preventDefault()},Um=Y.a.memo((function(e){var t=e.onMove,n=e.onKey,r=Lm(e,["onMove","onKey"]),o=Object(q.useRef)(null),a=Fm(t),i=Fm(n),c=Object(q.useRef)(null),s=Object(q.useRef)(!1),l=Object(q.useMemo)((function(){var e=function(e){Wm(e),(Bm(e)?e.touches.length>0:e.buttons>0)&&o.current?a(Vm(o.current,e,c.current)):n(!1)},t=function(){return n(!1)};function n(n){var r=s.current,a=Hm(o.current),i=n?a.addEventListener:a.removeEventListener;i(r?"touchmove":"mousemove",e),i(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=o.current;if(r&&(Wm(t),!function(e,t){return t&&!Bm(e)}(t,s.current)&&r)){if(Bm(t)){s.current=!0;var i=t.changedTouches||[];i.length&&(c.current=i[0].identifier)}r.focus(),a(Vm(r,t,c.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),i({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]}),[i,a]),u=l[0],d=l[1],f=l[2];return Object(q.useEffect)((function(){return f}),[f]),Y.a.createElement("div",Nm({},r,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:o,onKeyDown:d,tabIndex:0,role:"slider"}))})),Km=function(e){return e.filter(Boolean).join(" ")},Gm=function(e){var t=e.color,n=e.left,r=e.top,o=void 0===r?.5:r,a=Km(["react-colorful__pointer",e.className]);return Y.a.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},Y.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},$m=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},qm=(Math.PI,function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:$m(e.h),s:$m(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:$m(o/2),a:$m(r,2)}}),Ym=function(e){var t=qm(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},Xm=function(e){var t=qm(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},Zm=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),i=r*(1-n),c=r*(1-(t-a)*n),s=r*(1-(1-t+a)*n),l=a%6;return{r:$m(255*[r,c,i,i,s,r][l]),g:$m(255*[s,r,r,c,i,i][l]),b:$m(255*[i,i,s,r,r,c][l]),a:$m(o,2)}},Jm=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ev({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)}):{h:0,s:0,v:0,a:1}},Qm=Jm,ev=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),i=a-Math.min(t,n,r),c=i?a===t?(n-r)/i:a===n?2+(r-t)/i:4+(t-n)/i:0;return{h:$m(60*(c<0?c+6:c)),s:$m(a?i/a*100:0),v:$m(a/255*100),a:o}},tv=Y.a.memo((function(e){var t=e.hue,n=e.onChange,r=Km(["react-colorful__hue",e.className]);return Y.a.createElement("div",{className:r},Y.a.createElement(Um,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:zm(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":$m(t)},Y.a.createElement(Gm,{className:"react-colorful__hue-pointer",left:t/360,color:Ym({h:t,s:100,v:100,a:1})})))})),nv=Y.a.memo((function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:Ym({h:t.h,s:100,v:100,a:1})};return Y.a.createElement("div",{className:"react-colorful__saturation",style:r},Y.a.createElement(Um,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:zm(t.s+100*e.left,0,100),v:zm(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+$m(t.s)+"%, Brightness "+$m(t.v)+"%"},Y.a.createElement(Gm,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Ym(t)})))})),rv=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},ov=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")};function av(e,t,n){var r=Fm(n),o=Object(q.useState)((function(){return e.toHsva(t)})),a=o[0],i=o[1],c=Object(q.useRef)({color:t,hsva:a});Object(q.useEffect)((function(){if(!e.equal(t,c.current.color)){var n=e.toHsva(t);c.current={hsva:n,color:t},i(n)}}),[t,e]),Object(q.useEffect)((function(){var t;rv(a,c.current.hsva)||e.equal(t=e.fromHsva(a),c.current.color)||(c.current={hsva:a,color:t},r(t))}),[a,e,r]);var s=Object(q.useCallback)((function(e){i((function(t){return Object.assign({},t,e)}))}),[]);return[a,s]}var iv,cv="undefined"!=typeof window?q.useLayoutEffect:q.useEffect,sv=new Map,lv=function(e){cv((function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!sv.has(t)){var r=t.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',sv.set(t,r);var o=iv||n.nc;o&&r.setAttribute("nonce",o),t.head.appendChild(r)}}),[])},uv=function(e){var t=e.className,n=e.colorModel,r=e.color,o=void 0===r?n.defaultColor:r,a=e.onChange,i=Lm(e,["className","colorModel","color","onChange"]),c=Object(q.useRef)(null);lv(c);var s=av(n,o,a),l=s[0],u=s[1],d=Km(["react-colorful",t]);return Y.a.createElement("div",Nm({},i,{ref:c,className:d}),Y.a.createElement(nv,{hsva:l,onChange:u}),Y.a.createElement(tv,{hue:l.h,onChange:u,className:"react-colorful__last-control"}))},dv=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+Xm(Object.assign({},n,{a:0}))+", "+Xm(Object.assign({},n,{a:1}))+")"},a=Km(["react-colorful__alpha",t]);return Y.a.createElement("div",{className:a},Y.a.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),Y.a.createElement(Um,{onMove:function(e){r({a:e.left})},onKey:function(e){r({a:zm(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":$m(100*n.a)+"%"},Y.a.createElement(Gm,{className:"react-colorful__alpha-pointer",left:n.a,color:Xm(n)})))},fv=function(e){var t=e.className,n=e.colorModel,r=e.color,o=void 0===r?n.defaultColor:r,a=e.onChange,i=Lm(e,["className","colorModel","color","onChange"]),c=Object(q.useRef)(null);lv(c);var s=av(n,o,a),l=s[0],u=s[1],d=Km(["react-colorful",t]);return Y.a.createElement("div",Nm({},i,{ref:c,className:d}),Y.a.createElement(nv,{hsva:l,onChange:u}),Y.a.createElement(tv,{hue:l.h,onChange:u}),Y.a.createElement(dv,{hsva:l,onChange:u,className:"react-colorful__last-control"}))},pv={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Jm,fromHsva:function(e){var t=Zm(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:ov},bv=function(e){return Y.a.createElement(fv,Nm({},e,{colorModel:pv}))},hv={defaultColor:"rgb(0, 0, 0)",toHsva:Qm,fromHsva:function(e){var t=Zm(e);return"rgb("+t.r+", "+t.g+", "+t.b+")"},equal:ov},mv=function(e){return Y.a.createElement(uv,Nm({},e,{colorModel:hv}))};const vv=e=>{let{color:t,enableAlpha:n,onChange:r}=e;const o=n?bv:mv,a=Object(s.useMemo)(()=>t.toRgbString(),[t]);return Object(s.createElement)(o,{color:a,onChange:e=>{r(Object(_.a)(e))}})};Object(_.b)([E.a]);const gv=[{label:"RGB",value:"rgb"},{label:"HSL",value:"hsl"},{label:"Hex",value:"hex"}];var yv=Object(ts.a)((e,t)=>{const{enableAlpha:n=!1,color:r,onChange:o,defaultValue:a="#fff",copyFormat:i,...l}=Object(rs.a)(e,"ColorPicker"),[u,d]=function(e){let{defaultValue:t,onChange:n,value:r}=e;const o=void 0!==r,a=o?r:t,[i,c]=Object(s.useState)(a);let l;return l=o&&"function"==typeof n?n:o||"function"!=typeof n?c:e=>{n(e),c(e)},[o?r:i,l]}({onChange:o,value:r,defaultValue:a}),b=Object(s.useMemo)(()=>Object(_.a)(u),[u]),h=Object(p.useDebounce)(d),m=Object(q.useCallback)(e=>{h(e.toHex())},[h]),[v,g]=Object(s.useState)(!1),[y,O]=Object(s.useState)(i||"hex");return Object(s.createElement)(Ub,Object(c.a)({ref:t},l),Object(s.createElement)(vv,{onChange:m,color:b,enableAlpha:n}),Object(s.createElement)(Wb,null,Object(s.createElement)(ob,{justify:"space-between"},v?Object(s.createElement)(zb,{options:gv,value:y,onChange:e=>O(e),label:Object(f.__)("Color format"),hideLabelFromVision:!0}):Object(s.createElement)(Tm,{color:b,colorType:i||y,enableAlpha:n}),Object(s.createElement)(Kb,{isSmall:!0,onClick:()=>g(!v),icon:Qp.a,isPressed:v,label:v?Object(f.__)("Hide detailed inputs"):Object(f.__)("Show detailed inputs")})),Object(s.createElement)(td,{margin:4}),v&&Object(s.createElement)(Am,{colorType:y,color:b,onChange:m,enableAlpha:n})))},"ColorPicker");function Ov(e){var t;return void 0!==e.onChangeComplete||void 0!==e.disableAlpha||"string"==typeof(null===(t=e.color)||void 0===t?void 0:t.hex)}const jv=Ns()(e=>{const t=Object(_.a)(e),n=t.toHex(),r=t.toRgb(),o=t.toHsv(),a=t.toHsl();return{hex:n,rgb:r,hsv:o,hsl:a,source:"hex",oldHue:a.h}});const wv=e=>Object(s.createElement)(yv,function(e){const t=Object(s.useCallback)(t=>{var n;return Ov(e)?e.onChangeComplete(jv(t)):null===(n=e.onChange)||void 0===n?void 0:n.call(e,t)},[e.onChangeComplete,e.onChange]),n=Object(s.useMemo)(()=>Ov(e)?function(e){if(void 0!==(null==e?void 0:e.color))return"string"==typeof e.color?e.color:e.color.hex?e.color.hex:void 0}(e):e.color,[e.color]),r=Object(s.useMemo)(()=>Ov(e)?!e.disableAlpha:e.enableAlpha,[e.disableAlpha,e.enableAlpha]);return{...Ov(e)?{}:e,onChange:t,color:n,enableAlpha:r}}(e));const xv=Object(x.a)("appearance:none;border:1px solid transparent;cursor:pointer;background:none;text-align:left;&:hover{color:",L.admin.theme,";}&:focus{background-color:transparent;color:",L.admin.theme,";border-color:",L.admin.theme,";outline:3px solid transparent;}",""),_v={name:"1bcj5ek",styles:"width:100%;display:block"},Ev={name:"5vij5u",styles:"width:100%;display:block;margin:0"},kv=Object(x.a)("border:1px solid ",Vs.surfaceBorderColor,";",""),Sv=Object(x.a)(">*:not( marquee )>*{border-bottom:1px solid ",Vs.surfaceBorderColor,";}>*:last-of-type>*:not( :focus ){border-bottom-color:transparent;}",""),Cv=Vs.controlBorderRadius,Pv=Object(x.a)("border-radius:",Cv,";",""),Tv=Object(x.a)("border-radius:",Cv,";>*:first-of-type>*{border-top-left-radius:",Cv,";border-top-right-radius:",Cv,";}>*:last-of-type>*{border-bottom-left-radius:",Cv,";border-bottom-right-radius:",Cv,";}",""),Mv=`calc(${Vs.fontSize} * ${Vs.fontLineHeightBase})`,Dv=`calc((${Vs.controlHeight} - ${Mv} - 2px) / 2)`,Iv=`calc((${Vs.controlHeightSmall} - ${Mv} - 2px) / 2)`,Rv=`calc((${Vs.controlHeightLarge} - ${Mv} - 2px) / 2)`,Av={small:Object(x.a)("padding:",Iv," ",Vs.controlPaddingXSmall,";",""),medium:Object(x.a)("padding:",Dv," ",Vs.controlPaddingX,";",""),large:Object(x.a)("padding:",Rv," ",Vs.controlPaddingXLarge,";","")};const Nv=Object(s.createContext)({size:"medium"}),Lv=()=>Object(s.useContext)(Nv);var Fv=Object(ts.a)((function(e,t){const{isBordered:n,isSeparated:r,size:o,...a}=function(e){const{className:t,isBordered:n=!1,isRounded:r=!0,isSeparated:o=!1,role:a="list",...i}=Object(rs.a)(e,"ItemGroup");return{isBordered:n,className:Object(us.a)()(n&&kv,o&&Sv,r&&Tv,t),role:a,isSeparated:o,...i}}(e),{size:i}=Lv(),l={spacedAround:!n&&!r,size:o||i};return Object(s.createElement)(Nv.Provider,{value:l},Object(s.createElement)(ns.a,Object(c.a)({},a,{ref:t})))}),"ItemGroup");var zv=Object(ts.a)((function(e,t){const n=function(e){const{expanded:t=!1,...n}=Object(rs.a)(e,"VStack");return rb({direction:"column",expanded:t,...n})}(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"VStack");function Bv(e){var t;let{renderContent:n,renderToggle:r,position:o="bottom right",className:a,contentClassName:i,expandOnMobile:l,headerTitle:u,focusOnMount:f,popoverProps:p,onClose:b,onToggle:h}=e;const m=Object(s.useRef)(),[v,g]=function(e,t){const[n,r]=Object(s.useState)(e);return[n,e=>{r(e),t&&t(e)}]}(!1,h);function y(){b&&b(),g(!1)}Object(s.useEffect)(()=>()=>{h&&h(!1)},[]);const O={isOpen:v,onToggle:function(){g(!v)},onClose:y};return Object(s.createElement)("div",{className:d()("components-dropdown",a),ref:m,tabIndex:"-1"},r(O),v&&Object(s.createElement)(cd.a,Object(c.a)({position:o,onClose:y,onFocusOutside:function(){const{ownerDocument:e}=m.current,t=e.activeElement.closest('[role="dialog"]');m.current.contains(e.activeElement)||t&&!t.contains(m.current)||y()},expandOnMobile:l,headerTitle:u,focusOnMount:f},p,{anchorRef:null!==(t=null==p?void 0:p.anchorRef)&&void 0!==t?t:m.current,className:d()("components-dropdown__content",p?p.className:void 0,i)}),n(O)))}function Hv(e){let{actions:t,className:n,options:r,children:o}=e;return Object(s.createElement)("div",{className:d()("components-circular-option-picker",n)},Object(s.createElement)("div",{className:"components-circular-option-picker__swatches"},r),o,t&&Object(s.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},t))}Hv.Option=function(e){let{className:t,isSelected:n,selectedIconProps:r,tooltipText:o,...a}=e;const i=Object(s.createElement)(id.a,Object(c.a)({isPressed:n,className:"components-circular-option-picker__option"},a));return Object(s.createElement)("div",{className:d()(t,"components-circular-option-picker__option-wrapper")},o?Object(s.createElement)(h.a,{text:o},i):i,n&&Object(s.createElement)(Gp.a,Object(c.a)({icon:$p.a},r||{})))},Hv.ButtonAction=function(e){let{className:t,children:n,...r}=e;return Object(s.createElement)(id.a,Object(c.a)({className:d()("components-circular-option-picker__clear",t),isSmall:!0,variant:"secondary"},r),n)},Hv.DropdownLinkAction=function(e){let{buttonProps:t,className:n,dropdownProps:r,linkText:o}=e;return Object(s.createElement)(Bv,Object(c.a)({className:d()("components-circular-option-picker__dropdown-link-action",n),renderToggle:e=>{let{isOpen:n,onToggle:r}=e;return Object(s.createElement)(id.a,Object(c.a)({"aria-expanded":n,"aria-haspopup":"true",onClick:r,variant:"link"},t),o)}},r))};var Vv=n("7bKH");var Wv=Object(ts.a)((function(e,t){const n=function(e){const{as:t,level:n=2,...r}=Object(rs.a)(e,"Heading"),o=t||"h"+n,a={};return"string"==typeof o&&"h"!==o[0]&&(a.role="heading",a["aria-level"]="string"==typeof n?parseInt(n):n),{...rl({color:L.darkGray.heading,size:tl(n),isBlock:!0,weight:Vs.fontWeightHeading,...r}),...a,as:o}}(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"Heading");const Uv=Object(w.a)(Wv,{target:"e1uu5br00"})({name:"13lxv2o",styles:"text-transform:uppercase;line-height:24px;font-weight:500;&&&{font-size:11px;margin-bottom:0;}"});function Kv(e){let{className:t,clearColor:n,colors:r,onChange:o,value:a,actions:i}=e;const c=Object(s.useMemo)(()=>Object(l.map)(r,e=>{let{color:t,name:r}=e;const i=Object(_.a)(t);return Object(s.createElement)(Hv.Option,{key:t,isSelected:a===t,selectedIconProps:a===t?{fill:i.contrast()>i.contrast("#000")?"#fff":"#000"}:{},tooltipText:r||Object(f.sprintf)(Object(f.__)("Color code: %s"),t),style:{backgroundColor:t,color:t},onClick:a===t?n:()=>o(t),"aria-label":r?Object(f.sprintf)(Object(f.__)("Color: %s"),r):Object(f.sprintf)(Object(f.__)("Color code: %s"),t)})}),[r,a,o,n]);return Object(s.createElement)(Hv,{className:t,options:c,actions:i})}function Gv(e){let{className:t,clearColor:n,colors:r,onChange:o,value:a,actions:i}=e;return Object(s.createElement)(zv,{spacing:3,className:t},r.map((e,t)=>{let{name:c,colors:l}=e;return Object(s.createElement)(zv,{spacing:2,key:t},Object(s.createElement)(Uv,null,c),Object(s.createElement)(Kv,{clearColor:n,colors:l,onChange:o,value:a,actions:r.length===t+1?i:null}))}))}function $v(e){let{isRenderedInSidebar:t,...n}=e;return Object(s.createElement)(Bv,Object(c.a)({contentClassName:d()("components-color-palette__custom-color-dropdown-content",{"is-rendered-in-sidebar":t})},n))}function qv(e){let{clearable:t=!0,className:n,colors:r,disableCustomColors:o=!1,enableAlpha:a,onChange:i,value:c,__experimentalHasMultipleOrigins:l=!1,__experimentalIsRenderedInSidebar:u=!1}=e;const d=Object(s.useCallback)(()=>i(void 0),[i]),p=l&&null!=r&&r.length?Gv:Kv;let b;u&&(b="bottom left");const h=Object(_.a)(c);return Object(s.createElement)(zv,{spacing:3,className:n},!o&&Object(s.createElement)($v,{position:b,isRenderedInSidebar:u,renderContent:()=>Object(s.createElement)(wv,{color:c,onChange:e=>i(e),enableAlpha:a}),renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(s.createElement)("button",{className:"components-color-palette__custom-color","aria-expanded":t,"aria-haspopup":"true",onClick:n,"aria-label":Object(f.__)("Custom color picker"),style:{background:c,color:h.contrast()>h.contrast("#000")?"#fff":"#000"}},c)}}),Object(s.createElement)(p,{clearable:t,clearColor:d,colors:r,onChange:i,value:c,actions:!!t&&Object(s.createElement)(Hv.ButtonAction,{onClick:d},Object(f.__)("Clear"))}))}Object(_.b)([E.a,Vv.a]);function Yv(e){return Math.max(0,Math.min(100,e))}function Xv(e,t,n){const r=e.slice();return r[t]=n,r}function Zv(e,t,n){if(function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=e[t].position,a=Math.min(o,n),i=Math.max(o,n);return e.some((e,o)=>{let{position:c}=e;return o!==t&&(Math.abs(c-n)<r||a<c&&c<i)})}(e,t,n))return e;return Xv(e,t,{...e[t],position:n})}function Jv(e,t,n){return Xv(e,t,{...e[t],color:n})}function Qv(e,t,n){if(!t)return;const{x:r,width:o}=t.getBoundingClientRect(),a=e-r-5-n/2,i=o-5-16;return Math.round(Yv(100*a/i))}function eg(e){let{isOpen:t,position:n,color:r,...o}=e;const a="components-custom-gradient-picker__control-point-button-description-"+Object(p.useInstanceId)(eg);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(id.a,Object(c.a)({"aria-label":Object(f.sprintf)(Object(f.__)("Gradient control point at position %1$s%% with color code %2$s."),n,r),"aria-describedby":a,"aria-haspopup":"true","aria-expanded":t,className:d()("components-custom-gradient-picker__control-point-button",{"is-active":t}),style:{left:n+"%"}},o)),Object(s.createElement)(m.a,{id:a},Object(f.__)("Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.")))}function tg(e){let{isRenderedInSidebar:t,gradientPickerDomRef:n,...r}=e;const o=Object(s.useMemo)(()=>{const e={className:"components-custom-gradient-picker__color-picker-popover",position:"top"};return t&&(e.anchorRef=n.current,e.position="bottom left"),e},[n.current,t]);return Object(s.createElement)($v,Object(c.a)({isRenderedInSidebar:t,popoverProps:o},r))}function ng(e){let{disableRemove:t,disableAlpha:n,gradientPickerDomRef:r,ignoreMarkerPosition:o,value:a,onChange:i,onStartControlPointChange:c,onStopControlPointChange:l,__experimentalIsRenderedInSidebar:u}=e;const d=Object(s.useRef)(),p=e=>{const t=Qv(e.clientX,r.current,16),{initialPosition:n,index:o,significantMoveHappened:c}=d.current;!c&&Math.abs(n-t)>=5&&(d.current.significantMoveHappened=!0),i(Zv(a,o,t))},b=()=>{window&&window.removeEventListener&&d.current&&d.current.listenersActivated&&(window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",b),l(),d.current.listenersActivated=!1)};return Object(s.useEffect)(()=>()=>{b()},[]),a.map((e,h)=>{const m=null==e?void 0:e.position;return o!==m&&Object(s.createElement)(tg,{gradientPickerDomRef:r,isRenderedInSidebar:u,key:h,onClose:l,renderToggle:t=>{let{isOpen:n,onToggle:r}=t;return Object(s.createElement)(eg,{key:h,onClick:()=>{d.current&&d.current.significantMoveHappened||(n?l():c(),r())},onMouseDown:()=>{window&&window.addEventListener&&(d.current={initialPosition:m,index:h,significantMoveHappened:!1,listenersActivated:!0},c(),window.addEventListener("mousemove",p),window.addEventListener("mouseup",b))},onKeyDown:t=>{t.keyCode===Nu.LEFT?(t.stopPropagation(),i(Zv(a,h,Yv(e.position-10)))):t.keyCode===Nu.RIGHT&&(t.stopPropagation(),i(Zv(a,h,Yv(e.position+10))))},isOpen:n,position:e.position,color:e.color})},renderContent:r=>{let{onClose:o}=r;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(wv,{enableAlpha:!n,color:e.color,onChange:e=>{i(Jv(a,h,Object(_.a)(e).toRgbString()))}}),!t&&a.length>2&&Object(s.createElement)(id.a,{className:"components-custom-gradient-picker__remove-control-point",onClick:()=>{i(function(e,t){return e.filter((e,n)=>n!==t)}(a,h)),o()},variant:"link"},Object(f.__)("Remove Control Point")))}})})}ng.InsertPoint=function(e){let{value:t,onChange:n,onOpenInserter:r,onCloseInserter:o,insertPosition:a,disableAlpha:i,__experimentalIsRenderedInSidebar:c,gradientPickerDomRef:l}=e;const[u,d]=Object(s.useState)(!1);return Object(s.createElement)(tg,{gradientPickerDomRef:l,isRenderedInSidebar:c,className:"components-custom-gradient-picker__inserter",onClose:()=>{o()},renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(s.createElement)(id.a,{"aria-expanded":t,"aria-haspopup":"true",onClick:()=>{t?o():(d(!1),r()),n()},className:"components-custom-gradient-picker__insert-point",icon:Zp.a,style:{left:null!==a?a+"%":void 0}})},renderContent:()=>Object(s.createElement)(wv,{enableAlpha:!i,onChange:e=>{u?n(function(e,t,n){const r=e.findIndex(e=>e.position===t);return Jv(e,r,n)}(t,a,Object(_.a)(e).toRgbString())):(n(function(e,t,n){const r=e.findIndex(e=>e.position>t),o={color:n,position:t},a=e.slice();return a.splice(r-1,0,o),a}(t,a,Object(_.a)(e).toRgbString())),d(!0))}})})};var rg=ng;function og(e,t){switch(t.type){case"MOVE_INSERTER":if("IDLE"===e.id||"MOVING_INSERTER"===e.id)return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if("MOVING_INSERTER"===e.id)return{id:"IDLE"};break;case"OPEN_INSERTER":if("MOVING_INSERTER"===e.id)return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if("INSERTING_CONTROL_POINT"===e.id)return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if("IDLE"===e.id)return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if("MOVING_CONTROL_POINT"===e.id)return{id:"IDLE"}}return e}const ag={id:"IDLE"};function ig(e){let{background:t,hasGradient:n,value:r,onChange:o,disableInserter:a=!1,disableAlpha:i=!1,__experimentalIsRenderedInSidebar:c}=e;const u=Object(s.useRef)(),[f,p]=Object(s.useReducer)(og,ag),b=e=>{const t=Qv(e.clientX,u.current,16);Object(l.some)(r,e=>{let{position:n}=e;return Math.abs(t-n)<10})?"MOVING_INSERTER"===f.id&&p({type:"STOP_INSERTER_MOVE"}):p({type:"MOVE_INSERTER",insertPosition:t})},h="MOVING_INSERTER"===f.id,m="INSERTING_CONTROL_POINT"===f.id;return Object(s.createElement)("div",{ref:u,className:d()("components-custom-gradient-picker__gradient-bar",{"has-gradient":n}),onMouseEnter:b,onMouseMove:b,style:{background:t},onMouseLeave:()=>{p({type:"STOP_INSERTER_MOVE"})}},Object(s.createElement)("div",{className:"components-custom-gradient-picker__markers-container"},!a&&(h||m)&&Object(s.createElement)(rg.InsertPoint,{__experimentalIsRenderedInSidebar:c,gradientPickerDomRef:u,disableAlpha:i,insertPosition:f.insertPosition,value:r,onChange:o,onOpenInserter:()=>{p({type:"OPEN_INSERTER"})},onCloseInserter:()=>{p({type:"CLOSE_INSERTER"})}}),Object(s.createElement)(rg,{__experimentalIsRenderedInSidebar:c,disableAlpha:i,disableRemove:a,gradientPickerDomRef:u,ignoreMarkerPosition:m?f.insertPosition:void 0,value:r,onChange:o,onStartControlPointChange:()=>{p({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{p({type:"STOP_CONTROL_CHANGE"})}})))}var cg=n("Jx1U"),sg=n.n(cg);const lg="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",ug={type:"angular",value:90},dg=[{value:"linear-gradient",label:Object(f.__)("Linear")},{value:"radial-gradient",label:Object(f.__)("Radial")}],fg={top:0,"top right":45,"right top":45,right:90,"right bottom":135,"bottom right":135,bottom:180,"bottom left":225,"left bottom":225,left:270,"top left":315,"left top":315};function pg(e){let{type:t,value:n,length:r}=e;return`${function(e){let{type:t,value:n}=e;return"literal"===t?n:"hex"===t?"#"+n:`${t}(${n.join(",")})`}({type:t,value:n})} ${function(e){if(!e)return"";const{value:t,type:n}=e;return`${t}${n}`}(r)}`}function bg(e){let{type:t,orientation:n,colorStops:r}=e;const o=function(e){if(e&&"angular"===e.type)return e.value+"deg"}(n),a=r.sort((e,t)=>Object(l.get)(e,["length","value"],0)-Object(l.get)(t,["length","value"],0)).map(pg);return`${t}(${Object(l.compact)([o,...a]).join(",")})`}function hg(e){return void 0===e.length||"%"!==e.length.type}function mg(e){switch(e.type){case"hex":return"#"+e.value;case"literal":return e.value;case"rgb":case"rgba":return`${e.type}(${e.value.join(",")})`;default:return"transparent"}}Object(_.b)([E.a]);const vg=Object(w.a)(fs,{target:"e99xvul1"})({name:"1gvx10y",styles:"flex-grow:5"}),gg=Object(w.a)(fs,{target:"e99xvul0"})({name:"1gvx10y",styles:"flex-grow:5"}),yg=e=>{let{gradientAST:t,hasGradient:n,onChange:r}=e;const o=Object(l.get)(t,["orientation","value"],180);return Object(s.createElement)(nd,{onChange:e=>{r(bg({...t,orientation:{type:"angular",value:e}}))},labelPosition:"top",value:n?o:""})},Og=e=>{let{gradientAST:t,hasGradient:n,onChange:r}=e;const{type:o}=t;return Object(s.createElement)(lb,{className:"components-custom-gradient-picker__type-picker",label:Object(f.__)("Type"),labelPosition:"top",onChange:e=>{"linear-gradient"===e&&r(bg({...t,...t.orientation?{}:{orientation:ug},type:"linear-gradient"})),"radial-gradient"===e&&r(bg({...Object(l.omit)(t,["orientation"]),type:"radial-gradient"}))},options:dg,value:n&&o})};function jg(e){let{value:t,onChange:n,__experimentalIsRenderedInSidebar:r}=e;const o=function(e){var t;let n;try{n=sg.a.parse(e)[0],n.value=e}catch(e){n=sg.a.parse(lg)[0],n.value=lg}if("directional"===(null===(t=n.orientation)||void 0===t?void 0:t.type)&&(n.orientation.type="angular",n.orientation.value=fg[n.orientation.value].toString()),n.colorStops.some(hg)){const{colorStops:e}=n,t=100/(e.length-1);e.forEach((e,n)=>{e.length={value:t*n,type:"%"}}),n.value=bg(n)}return n}(t),a=function(e){return bg({type:"linear-gradient",orientation:ug,colorStops:e.colorStops})}(o),i=o.value!==lg,c=o.colorStops.map(e=>({color:mg(e),position:parseInt(e.length.value)}));return Object(s.createElement)("div",{className:"components-custom-gradient-picker"},Object(s.createElement)(ig,{__experimentalIsRenderedInSidebar:r,background:a,hasGradient:i,value:c,onChange:e=>{n(bg(function(e,t){return{...e,colorStops:t.map(e=>{let{position:t,color:n}=e;const{r:r,g:o,b:a,a:i}=Object(_.a)(n).toRgb();return{length:{type:"%",value:t.toString()},type:i<1?"rgba":"rgb",value:i<1?[r,o,a,i]:[r,o,a]}})}}(o,e)))}}),Object(s.createElement)(Cs,{gap:3,className:"components-custom-gradient-picker__ui-line"},Object(s.createElement)(vg,null,Object(s.createElement)(Og,{gradientAST:o,hasGradient:i,onChange:n})),Object(s.createElement)(gg,null,"linear-gradient"===o.type&&Object(s.createElement)(yg,{gradientAST:o,hasGradient:i,onChange:n}))))}function wg(e){let{className:t,clearGradient:n,gradients:r,onChange:o,value:a,actions:i,content:c}=e;const u=Object(s.useMemo)(()=>Object(l.map)(r,e=>{let{gradient:t,name:r}=e;return Object(s.createElement)(Hv.Option,{key:t,value:t,isSelected:a===t,tooltipText:r||Object(f.sprintf)(Object(f.__)("Gradient code: %s"),t),style:{color:"rgba( 0,0,0,0 )",background:t},onClick:a===t?n:()=>o(t),"aria-label":r?Object(f.sprintf)(Object(f.__)("Gradient: %s"),r):Object(f.sprintf)(Object(f.__)("Gradient code: %s"),t)})}),[r,a,o,n]);return Object(s.createElement)(Hv,{className:t,options:u,actions:i},c)}function xg(e){let{className:t,clearGradient:n,gradients:r,onChange:o,value:a,actions:i,content:l}=e;return Object(s.createElement)(zv,{spacing:3,className:t},r.map((e,t)=>{let{name:u,gradients:d}=e;return Object(s.createElement)(zv,{spacing:2,key:t},Object(s.createElement)(Uv,null,u),Object(s.createElement)(wg,Object(c.a)({clearGradient:n,gradients:d,onChange:o,value:a},r.length===t+1?{actions:i,content:l}:{})))}))}function _g(e){let{className:t,gradients:n,onChange:r,value:o,clearable:a=!0,disableCustomGradients:i=!1,__experimentalHasMultipleOrigins:c,__experimentalIsRenderedInSidebar:l}=e;const u=Object(s.useCallback)(()=>r(void 0),[r]),d=c&&null!=n&&n.length?xg:wg;return Object(s.createElement)(d,{className:t,clearable:a,clearGradient:u,gradients:n,onChange:r,value:o,actions:a&&((null==n?void 0:n.length)||!i)&&Object(s.createElement)(Hv.ButtonAction,{onClick:u},Object(f.__)("Clear")),content:!i&&Object(s.createElement)(jg,{__experimentalIsRenderedInSidebar:l,value:o,onChange:r})})}var Eg=Object(s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(i.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"})),kg=n("1CF3");const Sg=["menuitem","menuitemradio","menuitemcheckbox"];class Cg extends s.Component{constructor(){super(...arguments),this.onKeyDown=this.onKeyDown.bind(this),this.bindContainer=this.bindContainer.bind(this),this.getFocusableContext=this.getFocusableContext.bind(this),this.getFocusableIndex=this.getFocusableIndex.bind(this)}componentDidMount(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}componentWillUnmount(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}bindContainer(e){const{forwardedRef:t}=this.props;this.container=e,Object(l.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}getFocusableContext(e){const{onlyBrowserTabstops:t}=this.props,n=(t?kg.focus.tabbable:kg.focus.focusable).find(this.container),r=this.getFocusableIndex(n,e);return r>-1&&e?{index:r,target:e,focusables:n}:null}getFocusableIndex(e,t){const n=e.indexOf(t);if(-1!==n)return n}onKeyDown(e){this.props.onKeyDown&&this.props.onKeyDown(e);const{getFocusableContext:t}=this,{cycle:n=!0,eventToOffset:r,onNavigate:o=l.noop,stopNavigationEvents:a}=this.props,i=r(e);if(void 0!==i&&a){e.stopImmediatePropagation();const t=e.target.getAttribute("role");Sg.includes(t)&&e.preventDefault()}if(!i)return;const c=t(e.target.ownerDocument.activeElement);if(!c)return;const{index:s,focusables:u}=c,d=n?function(e,t,n){const r=e+n;return r<0?t+r:r>=t?r-t:r}(s,u.length,i):s+i;d>=0&&d<u.length&&(u[d].focus(),o(d,u[d]))}render(){const{children:e,...t}=this.props;return Object(s.createElement)("div",Object(c.a)({ref:this.bindContainer},Object(l.omit)(t,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),e)}}const Pg=(e,t)=>Object(s.createElement)(Cg,Object(c.a)({},e,{forwardedRef:t}));Pg.displayName="NavigableContainer";var Tg=Object(s.forwardRef)(Pg);var Mg=Object(s.forwardRef)((function(e,t){let{role:n="menu",orientation:r="vertical",...o}=e;return Object(s.createElement)(Tg,Object(c.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:n,"aria-orientation":"presentation"===n?null:r,eventToOffset:e=>{const{keyCode:t}=e;let n=[Nu.DOWN],o=[Nu.UP];return"horizontal"===r&&(n=[Nu.RIGHT],o=[Nu.LEFT]),"both"===r&&(n=[Nu.RIGHT,Nu.DOWN],o=[Nu.LEFT,Nu.UP]),Object(l.includes)(n,t)?1:Object(l.includes)(o,t)?-1:Object(l.includes)([Nu.DOWN,Nu.UP,Nu.LEFT,Nu.RIGHT],t)?0:void 0}},o))}));function Dg(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...e,...t};return t.className&&e.className&&(n.className=d()(t.className,e.className)),n}var Ig=function(e){const{children:t,className:n,controls:r,icon:o=Eg,label:a,popoverProps:i,toggleProps:u,menuProps:f,disableOpenOnArrowDown:p=!1,text:b,noIcons:h}=e;if(Object(l.isEmpty)(r)&&!Object(l.isFunction)(t))return null;let m;Object(l.isEmpty)(r)||(m=r,Array.isArray(m[0])||(m=[m]));const v=Dg({className:"components-dropdown-menu__popover"},i);return Object(s.createElement)(Bv,{className:d()("components-dropdown-menu",n),popoverProps:v,renderToggle:e=>{var t;let{isOpen:n,onToggle:r}=e;const i=Dg({className:d()("components-dropdown-menu__toggle",{"is-opened":n})},u);return Object(s.createElement)(id.a,Object(c.a)({},i,{icon:o,onClick:e=>{r(e),i.onClick&&i.onClick(e)},onKeyDown:e=>{(e=>{p||n||e.keyCode!==Nu.DOWN||(e.preventDefault(),r())})(e),i.onKeyDown&&i.onKeyDown(e)},"aria-haspopup":"true","aria-expanded":n,label:a,text:b,showTooltip:null===(t=null==u?void 0:u.showTooltip)||void 0===t||t}),i.children)},renderContent:e=>{const n=Dg({"aria-label":a,className:d()("components-dropdown-menu__menu",{"no-icons":h})},f);return Object(s.createElement)(Mg,Object(c.a)({},n,{role:"menu"}),Object(l.isFunction)(t)?t(e):null,Object(l.flatMap)(m,(t,n)=>t.map((t,r)=>Object(s.createElement)(id.a,{key:[n,r].join(),onClick:n=>{n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:d()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive,"is-icon-only":!t.title}),icon:t.icon,label:t.label,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",disabled:t.isDisabled},t.title))))}})};var Rg=Object(ts.a)((function(e,t){const{role:n,wrapperClassName:r,...o}=function(e){const{as:t,className:n,onClick:r,role:o="listitem",size:a,...i}=Object(rs.a)(e,"Item"),{spacedAround:c,size:l}=Lv(),u=a||l,d=t||(void 0!==r?"button":"div"),f=Object(us.a)(),p=Object(s.useMemo)(()=>f("button"===d&&xv,Av[u]||Av.medium,Ev,c&&Pv,n),[d,n,u,c]),b=f(_v);return{as:d,className:p,onClick:r,wrapperClassName:b,role:o,...i}}(e);return Object(s.createElement)("div",{role:n,className:r},Object(s.createElement)(ns.a,Object(c.a)({},o,{ref:t})))}),"Item");const Ag=Object(w.a)(Hv.Option,{target:"e5bw3229"})("width:",ys(6),";height:",ys(6),";pointer-events:none;"),Ng=Object(w.a)(qu,{target:"e5bw3228"})(bl,"{background:",L.gray[100],";border-radius:2px;",hl,hl,hl,hl,"{height:",ys(8),";}",Ol,Ol,Ol,"{border-color:transparent;box-shadow:none;}}"),Lg=Object(w.a)(Rg,{target:"e5bw3227"})("padding:3px 0 3px ",ys(3),";height:calc( 40px - ",Vs.borderWidth," );"),Fg=Object(w.a)("div",{target:"e5bw3226"})("line-height:",ys(8),";margin-left:",ys(2),";margin-right:",ys(2),";white-space:nowrap;overflow:hidden;"),zg=Object(w.a)(Wv,{target:"e5bw3225"})("text-transform:uppercase;line-height:",ys(6),";font-weight:500;&&&{font-size:11px;margin-bottom:0;}"),Bg=Object(w.a)(ns.a,{target:"e5bw3224"})("height:",ys(6),";display:flex;"),Hg=Object(w.a)(ob,{target:"e5bw3223"})("margin-bottom:",ys(2),";"),Vg=Object(w.a)(ns.a,{target:"e5bw3222"})({name:"u6wnko",styles:"&&&{.components-button.has-icon{min-width:0;padding:0;}}"}),Wg=Object(w.a)(id.a,{target:"e5bw3221"})("&&{color:",L.ui.theme,";}"),Ug=Object(w.a)(id.a,{target:"e5bw3220"})("&&{margin-top:",ys(1),";}");function Kg(e){let{value:t,onChange:n,label:r}=e;return Object(s.createElement)(Ng,{label:r,hideLabelFromVision:!0,value:t,onChange:n})}function Gg(e){return Object(f.sprintf)(Object(f.__)("Color %s "),e+1)}function $g(e){let{canOnlyChangeValues:t,element:n,onChange:r,isEditing:o,onStartEditing:a,onRemove:i,onStopEditing:u,slugPrefix:d,isGradient:b}=e;const h=Object(p.__experimentalUseFocusOutside)(u),m=b?n.gradient:n.color;return Object(s.createElement)(Lg,Object(c.a)({as:"div",onClick:a},o?h:{}),Object(s.createElement)(ob,{justify:"flex-start"},Object(s.createElement)(ps,null,Object(s.createElement)(Ag,{style:{background:m,color:"transparent"}})),Object(s.createElement)(ps,null,o&&!t?Object(s.createElement)(Kg,{label:b?Object(f.__)("Gradient name"):Object(f.__)("Color name"),value:n.name,onChange:e=>r({...n,name:e,slug:d+Object(l.kebabCase)(e)})}):Object(s.createElement)(Fg,null,n.name)),o&&!t&&Object(s.createElement)(ps,null,Object(s.createElement)(Ug,{isSmall:!0,icon:Xp.a,label:Object(f.__)("Remove color"),onClick:i}))),o&&Object(s.createElement)(cd.a,{position:"bottom left",className:"components-palette-edit__popover"},!b&&Object(s.createElement)(wv,{color:m,onChange:e=>r({...n,color:e})}),b&&Object(s.createElement)(jg,{__experimentalIsRenderedInSidebar:!0,value:m,onChange:e=>r({...n,gradient:e})})))}function qg(e,t,n){let{slug:r,color:o,gradient:a}=t;return r===e+Object(l.kebabCase)(Gg(n))&&(!!o&&"#000"===o||!!a&&a===lg)}function Yg(e){let{elements:t,onChange:n,editingElement:r,setEditingElement:o,canOnlyChangeValues:a,slugPrefix:i,isGradient:c}=e;const l=Object(s.useRef)();return Object(s.useEffect)(()=>{l.current=t},[t]),Object(s.useEffect)(()=>()=>{if(l.current.some((e,t)=>qg(i,e,t))){const e=l.current.filter((e,t)=>!qg(i,e,t));n(e.length?e:void 0)}},[]),Object(s.createElement)(zv,{spacing:3},Object(s.createElement)(Fv,{isBordered:!0,isSeparated:!0},t.map((e,l)=>Object(s.createElement)($g,{isGradient:c,canOnlyChangeValues:a,key:l,element:e,onStartEditing:()=>{r!==l&&o(l)},onChange:e=>{n(t.map((t,n)=>n===l?e:t))},onRemove:()=>{o(null);const e=t.filter((e,t)=>t!==l);n(e.length?e:void 0)},isEditing:l===r,onStopEditing:()=>{l===r&&o(null)},slugPrefix:i}))))}const Xg=[];function Zg(e){let{gradients:t,colors:n=Xg,onChange:r,paletteLabel:o,emptyMessage:a,canOnlyChangeValues:i,canReset:c,slugPrefix:u=""}=e;const d=!!t,p=d?t:n,[b,h]=Object(s.useState)(!1),[m,v]=Object(s.useState)(null),g=b&&m&&p[m]&&!p[m].slug,y=p.length,O=y>0;return Object(s.createElement)(Vg,null,Object(s.createElement)(Hg,null,Object(s.createElement)(zg,null,o),Object(s.createElement)(Bg,null,b&&Object(s.createElement)(Wg,{isSmall:!0,onClick:()=>{h(!1),v(null)}},Object(f.__)("Done")),!i&&Object(s.createElement)(id.a,{isSmall:!0,isPressed:g,icon:Zp.a,label:d?Object(f.__)("Add gradient"):Object(f.__)("Add color"),onClick:()=>{const e=Gg(y);r([...p,{...d?{gradient:lg}:{color:"#000"},name:e,slug:u+Object(l.kebabCase)(e)}]),h(!0),v(p.length)}}),O&&(!b||!i||c)&&Object(s.createElement)(Ig,{icon:Jp.a,label:d?Object(f.__)("Gradient options"):Object(f.__)("Color options"),toggleProps:{isSmall:!0}},e=>{let{onClose:t}=e;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Mg,{role:"menu"},!b&&Object(s.createElement)(id.a,{variant:"tertiary",onClick:()=>{h(!0),t()},className:"components-palette-edit__menu-button"},d?Object(f.__)("Edit gradients"):Object(f.__)("Edit colors")),!i&&Object(s.createElement)(id.a,{variant:"tertiary",onClick:()=>{v(null),h(!1),r(),t()},className:"components-palette-edit__menu-button"},d?Object(f.__)("Remove all gradients"):Object(f.__)("Remove all colors")),c&&Object(s.createElement)(id.a,{variant:"tertiary",onClick:()=>{v(null),r(),t()}},d?Object(f.__)("Reset gradient"):Object(f.__)("Reset colors"))))}))),O&&Object(s.createElement)(s.Fragment,null,b&&Object(s.createElement)(Yg,{canOnlyChangeValues:i,elements:p,onChange:r,editingElement:m,setEditingElement:v,slugPrefix:u,isGradient:d}),!b&&(d?Object(s.createElement)(_g,{gradients:t,onChange:()=>{},clearable:!1,disableCustomGradients:!0}):Object(s.createElement)(qv,{colors:n,onChange:()=>{},clearable:!1,disableCustomColors:!0}))),!O&&a)}var Jg=e=>{let{className:t,colorValue:n,...r}=e;return Object(s.createElement)("span",Object(c.a)({className:d()("component-color-indicator",t),style:{background:n}},r))},Qg=n("bWcr");class ey extends s.Component{constructor(){super(...arguments),this.onChange=this.onChange.bind(this),this.bindInput=this.bindInput.bind(this)}focus(){this.input.focus()}hasFocus(){return this.input===this.input.ownerDocument.activeElement}bindInput(e){this.input=e}onChange(e){this.props.onChange({value:e.target.value})}render(){const{value:e,isExpanded:t,instanceId:n,selectedSuggestionIndex:r,className:o,onChange:a,...i}=this.props,l=e?e.length+1:0;return Object(s.createElement)("input",Object(c.a)({ref:this.bindInput,id:"components-form-token-input-"+n,type:"text"},i,{value:e||"",onChange:a?this.onChange:void 0,size:l,className:d()(o,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":t,"aria-autocomplete":"list","aria-owns":t?"components-form-token-suggestions-"+n:void 0,"aria-activedescendant":-1!==r?`components-form-token-suggestions-${n}-${r}`:void 0,"aria-describedby":"components-form-token-suggestions-howto-"+n}))}}var ty=ey,ny=n("9Do8"),ry=n.n(ny);class oy extends s.Component{constructor(){super(...arguments),this.handleMouseDown=this.handleMouseDown.bind(this),this.bindList=this.bindList.bind(this)}componentDidUpdate(){this.props.selectedIndex>-1&&this.props.scrollIntoView&&this.list.children[this.props.selectedIndex]&&(this.scrollingIntoView=!0,ry()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout(()=>{this.scrollingIntoView=!1},100))}bindList(e){this.list=e}handleHover(e){return()=>{this.scrollingIntoView||this.props.onHover(e)}}handleClick(e){return()=>{this.props.onSelect(e)}}handleMouseDown(e){e.preventDefault()}computeSuggestionMatch(e){const t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;const n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}render(){return Object(s.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-"+this.props.instanceId,role:"listbox"},Object(l.map)(this.props.suggestions,(e,t)=>{const n=this.computeSuggestionMatch(e),r=d()("components-form-token-field__suggestion",{"is-selected":t===this.props.selectedIndex});return Object(s.createElement)("li",{id:`components-form-token-suggestions-${this.props.instanceId}-${t}`,role:"option",className:r,key:null!=e&&e.value?e.value:this.props.displayTransform(e),onMouseDown:this.handleMouseDown,onClick:this.handleClick(e),onMouseEnter:this.handleHover(e),"aria-selected":t===this.props.selectedIndex},n?Object(s.createElement)("span",{"aria-label":this.props.displayTransform(e)},n.suggestionBeforeMatch,Object(s.createElement)("strong",{className:"components-form-token-field__suggestion-match"},n.suggestionMatch),n.suggestionAfterMatch):this.props.displayTransform(e))}))}}oy.defaultProps={match:"",onHover:()=>{},onSelect:()=>{},suggestions:Object.freeze([])};var ay=Object(p.withSafeTimeout)(oy),iy=Object(p.createHigherOrderComponent)(e=>t=>{const[n,r]=Object(s.useState)(),o=Object(s.useCallback)(e=>r(()=>null!=e&&e.handleFocusOutside?e.handleFocusOutside.bind(e):void 0),[]);return Object(s.createElement)("div",Object(p.__experimentalUseFocusOutside)(n),Object(s.createElement)(e,Object(c.a)({ref:o},t)))},"withFocusOutside");const cy=iy(class extends s.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return this.props.children}});var sy=function e(t){var n;let{value:r,label:o,options:a,onChange:i,onFilterValueChange:c=l.noop,hideLabelFromVision:u,help:b,allowReset:h=!0,className:m,messages:v={selected:Object(f.__)("Item selected.")}}=t;const g=a.find(e=>e.value===r),y=null!==(n=null==g?void 0:g.label)&&void 0!==n?n:"",O=Object(p.useInstanceId)(e),[j,w]=Object(s.useState)(g||null),[x,_]=Object(s.useState)(!1),[E,k]=Object(s.useState)(!1),[S,C]=Object(s.useState)(""),P=Object(s.useRef)(),T=Object(s.useMemo)(()=>{const e=[],t=[],n=Object(l.deburr)(S.toLocaleLowerCase());return a.forEach(r=>{const o=Object(l.deburr)(r.label).toLocaleLowerCase().indexOf(n);0===o?e.push(r):o>0&&t.push(r)}),e.concat(t)},[S,a,r]),M=e=>{i(e.value),Object(od.speak)(v.selected,"assertive"),w(e),C(""),_(!1)},D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t=T.indexOf(j);let n=t+e;n<0?n=T.length-1:n>=T.length&&(n=0),w(T[n]),_(!0)};return Object(s.useEffect)(()=>{const e=T.length>0,t=T.indexOf(j)>0;e&&!t&&w(T[0])},[T,j]),Object(s.useEffect)(()=>{const e=T.length>0;if(x){const t=e?Object(f.sprintf)(Object(f._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",T.length),T.length):Object(f.__)("No results.");Object(od.speak)(t,"polite")}},[T,x]),Object(s.createElement)(cy,{onFocusOutside:()=>{_(!1)}},Object(s.createElement)(gd,{className:d()(m,"components-combobox-control"),tabIndex:"-1",label:o,id:"components-form-token-input-"+O,hideLabelFromVision:u,help:b},Object(s.createElement)("div",{className:"components-combobox-control__suggestions-container",tabIndex:"-1",onKeyDown:e=>{let t=!1;if(!e.defaultPrevented){switch(e.keyCode){case Nu.ENTER:j&&(M(j),t=!0);break;case Nu.UP:D(-1),t=!0;break;case Nu.DOWN:D(1),t=!0;break;case Nu.ESCAPE:_(!1),w(null),t=!0}t&&e.preventDefault()}}},Object(s.createElement)(Cs,null,Object(s.createElement)(fs,null,Object(s.createElement)(ty,{className:"components-combobox-control__input",instanceId:O,ref:P,value:x?S:y,"aria-label":y?`${y}, ${o}`:null,onFocus:()=>{k(!0),_(!0),c(""),C("")},onBlur:()=>{k(!1)},isExpanded:x,selectedSuggestionIndex:T.indexOf(j),onChange:e=>{const t=e.value;C(t),c(t),E&&_(!0)}})),h&&Object(s.createElement)(ps,null,Object(s.createElement)(id.a,{className:"components-combobox-control__reset",icon:Qg.a,disabled:!r,onClick:()=>{i(null),P.current.input.focus()},label:Object(f.__)("Reset")}))),x&&Object(s.createElement)(ay,{instanceId:O,match:{label:S},displayTransform:e=>e.label,suggestions:T,selectedIndex:T.indexOf(j),onHover:w,onSelect:M,scrollIntoView:!0}))))};function ly(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var uy=n("17x9"),dy=n.n(uy);n("cD2C");function fy(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function py(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function by(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return py(n.overflowY,t)||py(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function hy(e,t,n,r,o,a,i,c){return a<e&&i>t||a>e&&i<t?0:a<=e&&c<=n||i>=t&&c>=n?a-e-r:i>t&&c<n||a<e&&c>n?i-t+o:0}var my=0;function vy(){}function gy(e,t){e&&function(e,t){var n=window,r=t.scrollMode,o=t.block,a=t.inline,i=t.boundary,c=t.skipOverflowHiddenElements,s="function"==typeof i?i:function(e){return e!==i};if(!fy(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,u=[],d=e;fy(d)&&s(d);){if((d=d.parentElement)===l){u.push(d);break}null!=d&&d===document.body&&by(d)&&!by(document.documentElement)||null!=d&&by(d,c)&&u.push(d)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),v=m.height,g=m.width,y=m.top,O=m.right,j=m.bottom,w=m.left,x="start"===o||"nearest"===o?y:"end"===o?j:y+v/2,_="center"===a?w+g/2:"end"===a?O:w,E=[],k=0;k<u.length;k++){var S=u[k],C=S.getBoundingClientRect(),P=C.height,T=C.width,M=C.top,D=C.right,I=C.bottom,R=C.left;if("if-needed"===r&&y>=0&&w>=0&&j<=p&&O<=f&&y>=M&&j<=I&&w>=R&&O<=D)return E;var A=getComputedStyle(S),N=parseInt(A.borderLeftWidth,10),L=parseInt(A.borderTopWidth,10),F=parseInt(A.borderRightWidth,10),z=parseInt(A.borderBottomWidth,10),B=0,H=0,V="offsetWidth"in S?S.offsetWidth-S.clientWidth-N-F:0,W="offsetHeight"in S?S.offsetHeight-S.clientHeight-L-z:0;if(l===S)B="start"===o?x:"end"===o?x-p:"nearest"===o?hy(h,h+p,p,L,z,h+x,h+x+v,v):x-p/2,H="start"===a?_:"center"===a?_-f/2:"end"===a?_-f:hy(b,b+f,f,N,F,b+_,b+_+g,g),B=Math.max(0,B+h),H=Math.max(0,H+b);else{B="start"===o?x-M-L:"end"===o?x-I+z+W:"nearest"===o?hy(M,I,P,L,z+W,x,x+v,v):x-(M+P/2)+W/2,H="start"===a?_-R-N:"center"===a?_-(R+T/2)+V/2:"end"===a?_-D+F+V:hy(R,D,T,N,F+V,_,_+g,g);var U=S.scrollLeft,K=S.scrollTop;x+=K-(B=Math.max(0,Math.min(K+B,S.scrollHeight-P+W))),_+=U-(H=Math.max(0,Math.min(U+H,S.scrollWidth-T+V)))}E.push({el:S,top:B,left:H})}return E}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}function yy(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function Oy(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];r(),n=setTimeout((function(){n=null,e.apply(void 0,a)}),t)}return o.cancel=r,o}function jy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function wy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function xy(){return String(my++)}function _y(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function Ey(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=ky(t,r)?t[r]:e[r],n}),{})}function ky(e,t){return void 0!==e[t]}function Sy(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function Cy(e,t,n,r,o){if(void 0===o&&(o=!0),0===n)return-1;var a=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:a+1);var i=t+e;i<0?i=o?a:0:i>a&&(i=o?0:a);var c=Py(e,i,n,r,o);return-1===c?t>=n?-1:t:c}function Py(e,t,n,r,o){var a=r(t);if(!a||!a.hasAttribute("disabled"))return t;if(e>0){for(var i=t+1;i<n;i++)if(!r(i).hasAttribute("disabled"))return i}else for(var c=t-1;c>=0;c--)if(!r(c).hasAttribute("disabled"))return c;return o?e>0?Py(1,0,n,r,!1):Py(-1,n-1,n,r,!1):-1}function Ty(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(yy(t,e,n)||r&&yy(t,n.document.activeElement,n))}))}var My=Oy((function(e){Iy(e).textContent=""}),500);function Dy(e,t){var n=Iy(t);e&&(n.textContent=e,My(t))}function Iy(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var Ry=["isInitialMount","highlightedIndex","items","environment"],Ay={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function Ny(e,t,n){var r=e.props,o=e.type,a={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var o=t.props,a=t.type,i="on"+Vy(e)+"Change";o[i]&&void 0!==r[e]&&r[e]!==n[e]&&o[i](Object(c.a)({type:a},r))}(r,e,t,n),n[r]!==t[r]&&(a[r]=n[r])})),r.onStateChange&&Object.keys(a).length&&r.onStateChange(Object(c.a)({type:o},a))}var Ly=Oy((function(e,t){Dy(e(),t)}),200),Fy="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?q.useLayoutEffect:q.useEffect;function zy(e){var t=e.id,n=void 0===t?"downshift-"+xy():t,r=e.labelId,o=e.menuId,a=e.getItemId,i=e.toggleButtonId,c=e.inputId;return Object(q.useRef)({labelId:r||n+"-label",menuId:o||n+"-menu",getItemId:a||function(e){return n+"-item-"+e},toggleButtonId:i||n+"-toggle-button",inputId:c||n+"-input"}).current}function By(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function Hy(e){return/^\S{1}$/.test(e)}function Vy(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Wy(e){var t=Object(q.useRef)(e);return t.current=e,t}function Uy(e,t,n){var r=Object(q.useRef)(),o=Object(q.useRef)(),a=Object(q.useCallback)((function(t,n){o.current=n,t=Ey(t,n.props);var r=e(t,n);return n.props.stateReducer(t,Object(c.a)({},n,{changes:r}))}),[e]),i=Object(q.useReducer)(a,t),s=i[0],l=i[1],u=Wy(n),d=Object(q.useCallback)((function(e){return l(Object(c.a)({props:u.current},e))}),[u]),f=o.current;return Object(q.useEffect)((function(){f&&r.current&&r.current!==s&&Ny(f,Ey(r.current,f.props),s),r.current=s}),[s,n,f]),[s,d]}function Ky(e,t,n){var r=Uy(e,t,n),o=r[0],a=r[1];return[Ey(o,n),a]}var Gy={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:gy,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function $y(e,t,n){void 0===n&&(n=Ay);var r="default"+Vy(t);return r in e?e[r]:n[t]}function qy(e,t,n){if(void 0===n&&(n=Ay),t in e)return e[t];var r="initial"+Vy(t);return r in e?e[r]:$y(e,t,n)}function Yy(e){var t=qy(e,"selectedItem"),n=qy(e,"isOpen"),r=qy(e,"highlightedIndex"),o=qy(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:o}}function Xy(e,t,n,r){var o=e.items,a=e.initialHighlightedIndex,i=e.defaultHighlightedIndex,c=t.selectedItem,s=t.highlightedIndex;return 0===o.length?-1:void 0!==a&&s===a?a:void 0!==i?i:c?0===n?o.indexOf(c):Cy(n,o.indexOf(c),o.length,r,!1):0===n?-1:n<0?o.length-1:0}function Zy(e,t,n,r){var o=Object(q.useRef)({isMouseDown:!1,isTouchMove:!1});return Object(q.useEffect)((function(){var a=function(){o.current.isMouseDown=!0},i=function(a){o.current.isMouseDown=!1,e&&!Ty(a.target,t.map((function(e){return e.current})),n)&&r()},c=function(){o.current.isTouchMove=!1},s=function(){o.current.isTouchMove=!0},l=function(a){!e||o.current.isTouchMove||Ty(a.target,t.map((function(e){return e.current})),n,!1)||r()};return n.addEventListener("mousedown",a),n.addEventListener("mouseup",i),n.addEventListener("touchstart",c),n.addEventListener("touchmove",s),n.addEventListener("touchend",l),function(){n.removeEventListener("mousedown",a),n.removeEventListener("mouseup",i),n.removeEventListener("touchstart",c),n.removeEventListener("touchmove",s),n.removeEventListener("touchend",l)}}),[e,n]),o}var Jy=function(){return vy};function Qy(e,t,n){var r=n.isInitialMount,o=n.highlightedIndex,a=n.items,i=n.environment,s=ly(n,Ry);Object(q.useEffect)((function(){r||Ly((function(){return e(Object(c.a)({highlightedIndex:o,highlightedItem:a[o],resultCount:a.length},s))}),i.document)}),t)}function eO(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,o=e.getItemNodeFromIndex,a=e.menuElement,i=e.scrollIntoView,c=Object(q.useRef)(!0);return Fy((function(){t<0||!n||!Object.keys(r.current).length||(!1===c.current?c.current=!0:i(o(t),a))}),[t]),c}var tO=vy;function nO(e,t,n){var r,o=t.type,a=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Xy(a,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:Xy(a,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:$y(a,"highlightedIndex"),isOpen:$y(a,"isOpen"),selectedItem:$y(a,"selectedItem"),inputValue:$y(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return Object(c.a)({},e,r)}function rO(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,o=e.itemToString,a=e.getItemNodeFromIndex,i=t.toLowerCase(),c=0;c<r.length;c++){var s=(c+n+1)%r.length,l=r[s];if(void 0!==l&&o(l).toLowerCase().startsWith(i)){var u=a(s);if(!(null==u?void 0:u.hasAttribute("disabled")))return s}}return n}dy.a.array.isRequired,dy.a.func,dy.a.func,dy.a.func,dy.a.bool,dy.a.number,dy.a.number,dy.a.number,dy.a.bool,dy.a.bool,dy.a.bool,dy.a.any,dy.a.any,dy.a.any,dy.a.string,dy.a.string,dy.a.string,dy.a.func,dy.a.string,dy.a.func,dy.a.func,dy.a.func,dy.a.func,dy.a.func,dy.a.shape({addEventListener:dy.a.func,removeEventListener:dy.a.func,document:dy.a.shape({getElementById:dy.a.func,activeElement:dy.a.any,body:dy.a.any})});var oO=it(it({},Gy),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.":"":"No results are available.":""}}),aO=vy;var iO=Object.freeze({__proto__:null,MenuKeyDownArrowDown:0,MenuKeyDownArrowUp:1,MenuKeyDownEscape:2,MenuKeyDownHome:3,MenuKeyDownEnd:4,MenuKeyDownEnter:5,MenuKeyDownSpaceButton:6,MenuKeyDownCharacter:7,MenuBlur:8,MenuMouseLeave:9,ItemMouseMove:10,ItemClick:11,ToggleButtonClick:12,ToggleButtonKeyDownArrowDown:13,ToggleButtonKeyDownArrowUp:14,ToggleButtonKeyDownCharacter:15,FunctionToggleMenu:16,FunctionOpenMenu:17,FunctionCloseMenu:18,FunctionSetHighlightedIndex:19,FunctionSelectItem:20,FunctionSetInputValue:21,FunctionReset:22});function cO(e,t){var n,r=t.type,o=t.props,a=t.shiftKey;switch(r){case 11:n={isOpen:$y(o,"isOpen"),highlightedIndex:$y(o,"highlightedIndex"),selectedItem:o.items[t.index]};break;case 15:var i=t.key,s=""+e.inputValue+i,l=rO({keysSoFar:s,highlightedIndex:e.selectedItem?o.items.indexOf(e.selectedItem):-1,items:o.items,itemToString:o.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});n=Object(c.a)({inputValue:s},l>=0&&{selectedItem:o.items[l]});break;case 13:n={highlightedIndex:Xy(o,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case 14:n={highlightedIndex:Xy(o,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case 5:case 6:n=Object(c.a)({isOpen:$y(o,"isOpen"),highlightedIndex:$y(o,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:o.items[e.highlightedIndex]});break;case 3:n={highlightedIndex:Py(1,0,o.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={highlightedIndex:Py(-1,o.items.length-1,o.items.length,t.getItemNodeFromIndex,!1)};break;case 2:case 8:n={isOpen:!1,highlightedIndex:-1};break;case 7:var u=t.key,d=""+e.inputValue+u,f=rO({keysSoFar:d,highlightedIndex:e.highlightedIndex,items:o.items,itemToString:o.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});n=Object(c.a)({inputValue:d},f>=0&&{highlightedIndex:f});break;case 0:n={highlightedIndex:Cy(a?5:1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 1:n={highlightedIndex:Cy(a?-5:-1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 20:n={selectedItem:t.selectedItem};break;default:return nO(e,t,iO)}return Object(c.a)({},e,n)}var sO=["onMouseLeave","refKey","onKeyDown","onBlur","ref"],lO=["onClick","onKeyDown","refKey","ref"],uO=["item","index","onMouseMove","onClick","refKey","ref"];function dO(e){void 0===e&&(e={}),aO(e,dO);var t=Object(c.a)({},oO,e),n=t.items,r=t.scrollIntoView,o=t.environment,a=t.initialIsOpen,i=t.defaultIsOpen,s=t.itemToString,l=t.getA11ySelectionMessage,u=t.getA11yStatusMessage,d=Ky(cO,Yy(t),t),f=d[0],p=d[1],b=f.isOpen,h=f.highlightedIndex,m=f.selectedItem,v=f.inputValue,g=Object(q.useRef)(null),y=Object(q.useRef)(null),O=Object(q.useRef)({}),j=Object(q.useRef)(!0),w=Object(q.useRef)(null),x=zy(t),_=Object(q.useRef)(),E=Object(q.useRef)(!0),k=Wy({state:f,props:t}),S=Object(q.useCallback)((function(e){return O.current[x.getItemId(e)]}),[x]);Qy(u,[b,h,v,n],Object(c.a)({isInitialMount:E.current,previousResultCount:_.current,items:n,environment:o,itemToString:s},f)),Qy(l,[m],Object(c.a)({isInitialMount:E.current,previousResultCount:_.current,items:n,environment:o,itemToString:s},f));var C=eO({menuElement:y.current,highlightedIndex:h,isOpen:b,itemRefs:O,scrollIntoView:r,getItemNodeFromIndex:S});Object(q.useEffect)((function(){return w.current=Oy((function(e){e({type:21,inputValue:""})}),500),function(){w.current.cancel()}}),[]),Object(q.useEffect)((function(){v&&w.current(p)}),[p,v]),tO({isInitialMount:E.current,props:t,state:f}),Object(q.useEffect)((function(){E.current?(a||i||b)&&y.current&&y.current.focus():b?y.current&&y.current.focus():o.document.activeElement===y.current&&g.current&&(j.current=!1,g.current.focus())}),[b]),Object(q.useEffect)((function(){E.current||(_.current=n.length)}));var P=Zy(b,[y,g],o,(function(){p({type:8})})),T=Jy();Object(q.useEffect)((function(){E.current=!1}),[]),Object(q.useEffect)((function(){b||(O.current={})}),[b]);var M=Object(q.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:13,getItemNodeFromIndex:S,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:14,getItemNodeFromIndex:S,shiftKey:e.shiftKey})}}}),[p,S]),D=Object(q.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:0,getItemNodeFromIndex:S,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:1,getItemNodeFromIndex:S,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),p({type:3,getItemNodeFromIndex:S})},End:function(e){e.preventDefault(),p({type:4,getItemNodeFromIndex:S})},Escape:function(){p({type:2})},Enter:function(e){e.preventDefault(),p({type:5})}," ":function(e){e.preventDefault(),p({type:6})}}}),[p,S]),I=Object(q.useCallback)((function(){p({type:16})}),[p]),R=Object(q.useCallback)((function(){p({type:18})}),[p]),A=Object(q.useCallback)((function(){p({type:17})}),[p]),N=Object(q.useCallback)((function(e){p({type:19,highlightedIndex:e})}),[p]),L=Object(q.useCallback)((function(e){p({type:20,selectedItem:e})}),[p]),F=Object(q.useCallback)((function(){p({type:22})}),[p]),z=Object(q.useCallback)((function(e){p({type:21,inputValue:e})}),[p]),B=Object(q.useCallback)((function(e){return Object(c.a)({id:x.labelId,htmlFor:x.toggleButtonId},e)}),[x]),H=Object(q.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onMouseLeave,a=r.refKey,i=void 0===a?"ref":a,s=r.onKeyDown,l=r.onBlur,u=r.ref,d=ly(r,sO),f=(void 0===t?{}:t).suppressRefError,b=void 0!==f&&f,h=k.current.state;return T("getMenuProps",b,i,y),Object(c.a)(((n={})[i]=wy(u,(function(e){y.current=e})),n.id=x.menuId,n.role="listbox",n["aria-labelledby"]=x.labelId,n.tabIndex=-1,n),h.isOpen&&h.highlightedIndex>-1&&{"aria-activedescendant":x.getItemId(h.highlightedIndex)},{onMouseLeave:jy(o,(function(){p({type:9})})),onKeyDown:jy(s,(function(e){var t=Sy(e);t&&D[t]?D[t](e):Hy(t)&&p({type:7,key:t,getItemNodeFromIndex:S})})),onBlur:jy(l,(function(){!1!==j.current?!P.current.isMouseDown&&p({type:8}):j.current=!0}))},d)}),[p,k,D,P,T,x,S]);return{getToggleButtonProps:Object(q.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onClick,a=r.onKeyDown,i=r.refKey,s=void 0===i?"ref":i,l=r.ref,u=ly(r,lO),d=(void 0===t?{}:t).suppressRefError,f=void 0!==d&&d,b=Object(c.a)(((n={})[s]=wy(l,(function(e){g.current=e})),n.id=x.toggleButtonId,n["aria-haspopup"]="listbox",n["aria-expanded"]=k.current.state.isOpen,n["aria-labelledby"]=x.labelId+" "+x.toggleButtonId,n),u);return u.disabled||(b.onClick=jy(o,(function(){p({type:12})})),b.onKeyDown=jy(a,(function(e){var t=Sy(e);t&&M[t]?M[t](e):Hy(t)&&p({type:15,key:t,getItemNodeFromIndex:S})}))),T("getToggleButtonProps",f,s,g),b}),[p,k,M,T,x,S]),getLabelProps:B,getMenuProps:H,getItemProps:Object(q.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,o=n.index,a=n.onMouseMove,i=n.onClick,s=n.refKey,l=void 0===s?"ref":s,u=n.ref,d=ly(n,uO),f=k.current,b=f.state,h=f.props,m=By(o,r,h.items);if(m<0)throw new Error("Pass either item or item index in getItemProps!");var v=Object(c.a)(((t={role:"option","aria-selected":""+(m===b.highlightedIndex),id:x.getItemId(m)})[l]=wy(u,(function(e){e&&(O.current[x.getItemId(m)]=e)})),t),d);return d.disabled||(v.onMouseMove=jy(a,(function(){o!==b.highlightedIndex&&(C.current=!1,p({type:10,index:o}))})),v.onClick=jy(i,(function(){p({type:11,index:o})}))),v}),[p,k,C,x]),toggleMenu:I,openMenu:A,closeMenu:R,setHighlightedIndex:N,selectItem:L,reset:F,setInputValue:z,highlightedIndex:h,isOpen:b,selectedItem:m,inputValue:v}}dO.stateChangeTypes=iO;dy.a.array.isRequired,dy.a.func,dy.a.func,dy.a.func,dy.a.bool,dy.a.number,dy.a.number,dy.a.number,dy.a.bool,dy.a.bool,dy.a.bool,dy.a.any,dy.a.any,dy.a.any,dy.a.string,dy.a.string,dy.a.string,dy.a.string,dy.a.string,dy.a.string,dy.a.func,dy.a.string,dy.a.string,dy.a.func,dy.a.func,dy.a.func,dy.a.func,dy.a.func,dy.a.func,dy.a.shape({addEventListener:dy.a.func,removeEventListener:dy.a.func,document:dy.a.shape({getElementById:dy.a.func,activeElement:dy.a.any,body:dy.a.any})});Object(c.a)({},Gy,{getA11yStatusMessage:_y,circularNavigation:!0});dy.a.array,dy.a.array,dy.a.array,dy.a.func,dy.a.func,dy.a.func,dy.a.number,dy.a.number,dy.a.number,dy.a.func,dy.a.func,dy.a.string,dy.a.string,dy.a.shape({addEventListener:dy.a.func,removeEventListener:dy.a.func,document:dy.a.shape({getElementById:dy.a.func,activeElement:dy.a.any,body:dy.a.any})});const fO=e=>null==e?void 0:e.name,pO=(e,t)=>{let{selectedItem:n}=e,{type:r,changes:o,props:{items:a}}=t;switch(r){case dO.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:a[n?Math.min(a.indexOf(n)+1,a.length-1):0]};case dO.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:a[n?Math.max(a.indexOf(n)-1,0):a.length-1]};default:return o}};function bO(e){var t;let{className:n,hideLabelFromVision:r,label:o,describedBy:a,options:i,onChange:l,value:u}=e;const{getLabelProps:p,getToggleButtonProps:b,getMenuProps:h,getItemProps:v,isOpen:g,highlightedIndex:y,selectedItem:O}=dO({initialSelectedItem:i[0],items:i,itemToString:fO,onSelectedItemChange:l,...null!=u?{selectedItem:u}:void 0,stateReducer:pO});const j=h({className:"components-custom-select-control__menu","aria-hidden":!g}),w=Object(s.useCallback)(e=>{var t;e.stopPropagation(),null==j||null===(t=j.onKeyDown)||void 0===t||t.call(j,e)},[j]);return null!==(t=j["aria-activedescendant"])&&void 0!==t&&t.startsWith("downshift-null")&&delete j["aria-activedescendant"],Object(s.createElement)("div",{className:d()("components-custom-select-control",n)},r?Object(s.createElement)(m.a,Object(c.a)({as:"label"},p()),o):Object(s.createElement)("label",p({className:"components-custom-select-control__label"}),o),Object(s.createElement)(id.a,b({"aria-label":o,"aria-labelledby":void 0,className:"components-custom-select-control__button",isSmall:!0,describedBy:a||(O?Object(f.sprintf)(Object(f.__)("Currently selected: %s"),O.name):Object(f.__)("No selection"))}),fO(O),Object(s.createElement)(Gp.a,{icon:ab.a,className:"components-custom-select-control__button-icon"})),Object(s.createElement)("ul",Object(c.a)({},j,{onKeyDown:w}),g&&i.map((e,t)=>Object(s.createElement)("li",v({item:e,index:t,key:e.key,className:d()(e.className,"components-custom-select-control__item",{"is-highlighted":t===y,"has-hint":!!e.__experimentalHint}),style:e.style}),e.name,e.__experimentalHint&&Object(s.createElement)("span",{className:"components-custom-select-control__item-hint"},e.__experimentalHint),e===O&&Object(s.createElement)(Gp.a,{icon:$p.a,className:"components-custom-select-control__item-icon"})))))}var hO=n("vUUf"),mO=(n("GG7f"),n("wy2R")),vO=n.n(mO),gO=n("Xtko"),yO=n.n(gO);function OO(e){let{day:t,events:n=[]}=e;const r=Object(s.useRef)();return Object(s.useEffect)(()=>{var e;if(null==r||null===(e=r.current)||void 0===e||!e.parentNode)return;const{parentNode:o}=r.current,a=vO()(t).format("dddd, LL");if(!n.length)return void o.setAttribute("aria-label",a);const i=Object(f.sprintf)(Object(f._n)("%1$s. There is %2$d event.","%1$s. There are %2$d events.",n.length),a,n.length);o.setAttribute("aria-label",i)},[n.length]),Object(s.createElement)("div",{ref:r,className:d()("components-datetime__date__day",{"has-events":null==n?void 0:n.length})},t.format("D"))}class jO extends s.Component{constructor(){super(...arguments),this.onChangeMoment=this.onChangeMoment.bind(this),this.nodeRef=Object(s.createRef)(),this.onMonthPreviewedHandler=this.onMonthPreviewedHandler.bind(this)}onMonthPreviewedHandler(e){var t,n;null===(t=(n=this.props).onMonthPreviewed)||void 0===t||t.call(n,e.toISOString()),this.keepFocusInside()}keepFocusInside(){if(!this.nodeRef.current)return;const{ownerDocument:e}=this.nodeRef.current,{activeElement:t}=e;if(!t||!this.nodeRef.current.contains(e.activeElement)){const e=this.nodeRef.current.querySelector(".DayPicker_focusRegion");if(!e)return;e.focus()}}onChangeMoment(e){const{currentDate:t,onChange:n}=this.props,r=t?vO()(t):vO()(),o={hours:r.hours(),minutes:r.minutes(),seconds:0};n(e.set(o).format("YYYY-MM-DDTHH:mm:ss")),this.keepFocusInside()}getMomentDate(e){return null===e?null:e?vO()(e):vO()()}getEventsPerDay(e){var t;return null!==(t=this.props.events)&&void 0!==t&&t.length?this.props.events.filter(t=>e.isSame(t.date,"day")):[]}render(){const{currentDate:e,isInvalidDate:t}=this.props,n=this.getMomentDate(e);return Object(s.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},Object(s.createElement)(yO.a,{date:n,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-"+(n?n.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",dayAriaLabelFormat:"dddd, LL",isRTL:Object(f.isRTL)(),isOutsideRange:e=>t&&t(e.toDate()),onPrevMonthClick:this.onMonthPreviewedHandler,onNextMonthClick:this.onMonthPreviewedHandler,renderDayContents:e=>Object(s.createElement)(OO,{day:e,events:this.getEventsPerDay(e)})}))}}var wO=jO,xO=n("FqII");var _O=()=>{const{timezone:e}=Object(xO.__experimentalGetSettings)(),t=(new Date).getTimezoneOffset()/60*-1;if(Number(e.offset)===t)return null;const n=e.offset>=0?"+":"",r=""!==e.abbr&&isNaN(e.abbr)?e.abbr:`UTC${n}${e.offset}`,o="UTC"===e.string?Object(f.__)("Coordinated Universal Time"):`(${r}) ${e.string.replace("_"," ")}`;return Object(s.createElement)(h.a,{position:"top center",text:o},Object(s.createElement)("div",{className:"components-datetime__timezone"},r))};function EO(e,t){return t?(e%12+12)%24:e%12}function kO(e){let{as:t,value:n,onUpdate:r,...o}=e;return Object(s.createElement)(t||"input",{key:n,defaultValue:n,onBlur:function(e){const{target:t}=e;if(n===t.value)return;const a=parseInt(t.value,10);!Object(l.isInteger)(a)||void 0!==o.max&&a>o.max||void 0!==o.min&&a<o.min?t.value=n:r(t.name,a)},...o})}var SO=function(e){let{is12Hour:t,currentTime:n,onChange:r}=e;const[o,a]=Object(s.useState)(()=>vO()(n).startOf("minutes"));Object(s.useEffect)(()=>{a(n?vO()(n).startOf("minutes"):vO()())},[n]);const{day:i,month:c,year:l,minutes:u,hours:p,am:b}=Object(s.useMemo)(()=>({day:o.format("DD"),month:o.format("MM"),year:o.format("YYYY"),minutes:o.format("mm"),hours:o.format(t?"hh":"HH"),am:o.format("H")<=11?"AM":"PM"}),[o,t]);function h(e){a(e),r(e.format("YYYY-MM-DDTHH:mm:ss"))}function m(e,n){let r=n;"hours"===e&&t&&(r=EO(n,"PM"===b));h(o.clone()[e](r))}function v(e){return()=>{if(b===e)return;const t=parseInt(p,10);h(o.clone().hours(EO(t,"PM"===e)))}}const g=Object(s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-day"},Object(s.createElement)(kO,{"aria-label":Object(f.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",name:"date",value:i,step:1,min:1,max:31,onUpdate:m})),y=Object(s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-month"},Object(s.createElement)(kO,{as:"select","aria-label":Object(f.__)("Month"),className:"components-datetime__time-field-month-select",name:"month",value:c,onUpdate:(e,t)=>m(e,t-1)},Object(s.createElement)("option",{value:"01"},Object(f.__)("January")),Object(s.createElement)("option",{value:"02"},Object(f.__)("February")),Object(s.createElement)("option",{value:"03"},Object(f.__)("March")),Object(s.createElement)("option",{value:"04"},Object(f.__)("April")),Object(s.createElement)("option",{value:"05"},Object(f.__)("May")),Object(s.createElement)("option",{value:"06"},Object(f.__)("June")),Object(s.createElement)("option",{value:"07"},Object(f.__)("July")),Object(s.createElement)("option",{value:"08"},Object(f.__)("August")),Object(s.createElement)("option",{value:"09"},Object(f.__)("September")),Object(s.createElement)("option",{value:"10"},Object(f.__)("October")),Object(s.createElement)("option",{value:"11"},Object(f.__)("November")),Object(s.createElement)("option",{value:"12"},Object(f.__)("December")))),O=t?Object(s.createElement)(s.Fragment,null,g,y):Object(s.createElement)(s.Fragment,null,y,g);return Object(s.createElement)("div",{className:d()("components-datetime__time")},Object(s.createElement)("fieldset",null,Object(s.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(f.__)("Date")),Object(s.createElement)("div",{className:"components-datetime__time-wrapper"},O,Object(s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(s.createElement)(kO,{"aria-label":Object(f.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",name:"year",step:1,min:0,max:9999,value:l,onUpdate:m})))),Object(s.createElement)("fieldset",null,Object(s.createElement)("legend",{className:"components-datetime__time-legend invisible"},Object(f.__)("Time")),Object(s.createElement)("div",{className:"components-datetime__time-wrapper"},Object(s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(s.createElement)(kO,{"aria-label":Object(f.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",name:"hours",step:1,min:t?1:0,max:t?12:23,value:p,onUpdate:m}),Object(s.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(s.createElement)(kO,{"aria-label":Object(f.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",name:"minutes",step:1,min:0,max:59,value:u,onUpdate:m})),t&&Object(s.createElement)(Zf,{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(s.createElement)(id.a,{variant:"AM"===b?"primary":"secondary",onClick:v("AM"),className:"components-datetime__time-am-button"},Object(f.__)("AM")),Object(s.createElement)(id.a,{variant:"PM"===b?"primary":"secondary",onClick:v("PM"),className:"components-datetime__time-pm-button"},Object(f.__)("PM"))),Object(s.createElement)(_O,null))))};var CO=Object(s.forwardRef)((function(e,t){let{currentDate:n,is12Hour:r,isInvalidDate:o,onMonthPreviewed:a=l.noop,onChange:i,events:c}=e;const[u,d]=Object(s.useState)(!1);return Object(s.createElement)("div",{ref:t,className:"components-datetime"},!u&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)(SO,{currentTime:n,onChange:i,is12Hour:r}),Object(s.createElement)(wO,{currentDate:n,onChange:i,isInvalidDate:o,events:c,onMonthPreviewed:a})),u&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("div",{className:"components-datetime__calendar-help"},Object(s.createElement)("h4",null,Object(f.__)("Click to Select")),Object(s.createElement)("ul",null,Object(s.createElement)("li",null,Object(f.__)("Click the right or left arrows to select other months in the past or the future.")),Object(s.createElement)("li",null,Object(f.__)("Click the desired day to select it."))),Object(s.createElement)("h4",null,Object(f.__)("Navigating with a keyboard")),Object(s.createElement)("ul",null,Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(f._x)("Enter","keyboard button")},"↵")," ",Object(s.createElement)("span",null,Object(f.__)("Select the date in focus."))),Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(f.__)("Left and Right Arrows")},"←/→")," ",Object(f.__)("Move backward (left) or forward (right) by one day.")),Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(f.__)("Up and Down Arrows")},"↑/↓")," ",Object(f.__)("Move backward (up) or forward (down) by one week.")),Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(f.__)("Page Up and Page Down")},Object(f.__)("PgUp/PgDn"))," ",Object(f.__)("Move backward (PgUp) or forward (PgDn) by one month.")),Object(s.createElement)("li",null,Object(s.createElement)("abbr",{"aria-label":Object(f.__)("Home and End")},Object(f.__)("Home/End"))," ",Object(f.__)("Go to the first (Home) or last (End) day of a week."))))),Object(s.createElement)("div",{className:"components-datetime__buttons"},!u&&n&&Object(s.createElement)(id.a,{className:"components-datetime__date-reset-button",variant:"link",onClick:()=>i(null)},Object(f.__)("Reset")),Object(s.createElement)(id.a,{className:"components-datetime__date-help-toggle",variant:"link",onClick:function(){d(!u)}},u?Object(f.__)("Close"):Object(f.__)("Calendar Help"))))}));var PO=[{name:Object(f._x)("None","Size of a UI element"),slug:"none"},{name:Object(f._x)("Small","Size of a UI element"),slug:"small"},{name:Object(f._x)("Medium","Size of a UI element"),slug:"medium"},{name:Object(f._x)("Large","Size of a UI element"),slug:"large"},{name:Object(f._x)("Extra Large","Size of a UI element"),slug:"xlarge"}];var TO=function(e){const{label:t,value:n,sizes:r=PO,icon:o,onChange:a,className:i=""}=e,c=Object(s.createElement)(s.Fragment,null,o&&Object(s.createElement)(ub.a,{icon:o}),t);return Object(s.createElement)(lb,{className:d()(i,"block-editor-dimension-control"),label:c,hideLabelFromVision:!1,value:n,onChange:e=>{const t=((e,t)=>e.find(e=>t===e.slug))(r,e);t&&n!==t.slug?Object(l.isFunction)(a)&&a(t.slug):a(void 0)},options:(e=>{const t=e.map(e=>{let{name:t,slug:n}=e;return{label:t,value:n}});return[{label:Object(f.__)("Default"),value:""}].concat(t)})(r)})};const MO=Object(w.a)("div",{target:"e1ac3xxk0"})({name:"u2jump",styles:"position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"}),DO=Object(s.createContext)(!1),{Consumer:IO,Provider:RO}=DO,AO=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"];function NO(e){let{className:t,children:n,isDisabled:r=!0,...o}=e;const a=Object(s.useRef)(null),i=()=>{a.current&&kg.focus.focusable.find(a.current).forEach(e=>{Object(l.includes)(AO,e.nodeName)&&e.setAttribute("disabled",""),"A"===e.nodeName&&e.setAttribute("tabindex","-1");const t=e.getAttribute("tabindex");null!==t&&"-1"!==t&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")})},u=Object(s.useCallback)(Object(l.debounce)(i,void 0,{leading:!0}),[]);return Object(s.useLayoutEffect)(()=>{if(!r)return;let e;return i(),a.current&&(e=new window.MutationObserver(u),e.observe(a.current,{childList:!0,attributes:!0,subtree:!0})),()=>{e&&e.disconnect(),u.cancel()}},[]),r?Object(s.createElement)(RO,{value:!0},Object(s.createElement)(MO,Object(c.a)({ref:a,className:d()(t,"components-disabled")},o),n)):Object(s.createElement)(RO,{value:!1},n)}NO.Context=DO,NO.Consumer=IO;var LO=NO;const FO="is-dragging-components-draggable";function zO(e){let{children:t,onDragStart:n,onDragOver:r,onDragEnd:o,cloneClassname:a,elementId:i,transferData:c,__experimentalTransferDataType:u="text",__experimentalDragComponent:d}=e;const f=Object(s.useRef)(null),p=Object(s.useRef)(()=>{});return Object(s.useEffect)(()=>()=>{p.current()},[]),Object(s.createElement)(s.Fragment,null,t({onDraggableStart:function(e){const{ownerDocument:t}=e.target;e.dataTransfer.setData(u,JSON.stringify(c));const o=t.createElement("div");o.style.top=0,o.style.left=0;const s=t.createElement("div");"function"==typeof e.dataTransfer.setDragImage&&(s.classList.add("components-draggable__invisible-drag-image"),t.body.appendChild(s),e.dataTransfer.setDragImage(s,0,0)),o.classList.add("components-draggable__clone"),a&&o.classList.add(a);let d=0,b=0;if(f.current){d=e.clientX,b=e.clientY,o.style.transform=`translate( ${d}px, ${b}px )`;const n=t.createElement("div");n.innerHTML=f.current.innerHTML,o.appendChild(n),t.body.appendChild(o)}else{const e=t.getElementById(i),n=e.getBoundingClientRect(),r=e.parentNode,a=parseInt(n.top,10),c=parseInt(n.left,10);o.style.width=n.width+0+"px";const s=e.cloneNode(!0);s.id="clone-"+i,d=c-0,b=a-0,o.style.transform=`translate( ${d}px, ${b}px )`,Array.from(s.querySelectorAll("iframe")).forEach(e=>e.parentNode.removeChild(e)),o.appendChild(s),r.appendChild(o)}let h=e.clientX,m=e.clientY;const v=Object(l.throttle)((function(e){if(h===e.clientX&&m===e.clientY)return;const t=d+e.clientX-h,n=b+e.clientY-m;o.style.transform=`translate( ${t}px, ${n}px )`,h=e.clientX,m=e.clientY,d=t,b=n,r&&r(e)}),16);let g;t.addEventListener("dragover",v),t.body.classList.add(FO),e.persist(),n&&(g=setTimeout(()=>n(e))),p.current=()=>{o&&o.parentNode&&o.parentNode.removeChild(o),s&&s.parentNode&&s.parentNode.removeChild(s),t.body.classList.remove(FO),t.removeEventListener("dragover",v),clearTimeout(g)}},onDraggableEnd:function(e){e.preventDefault(),p.current(),o&&o(e)}}),d&&Object(s.createElement)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:f},d))}var BO=n("NTP4");var HO=0;function VO(){var e=HO;return HO++,e}var WO=function(e){var t=e.children,n=e.initial,r=e.isPresent,o=e.onExitComplete,a=e.custom,i=e.presenceAffectsLayout,c=gt(UO),s=gt(VO),l=Object(q.useMemo)((function(){return{id:s,initial:n,isPresent:r,custom:a,onExitComplete:function(e){c.set(e,!0);var t=!0;c.forEach((function(e){e||(t=!1)})),t&&(null==o||o())},register:function(e){return c.set(e,!1),function(){return c.delete(e)}}}}),i?void 0:[r]);return Object(q.useMemo)((function(){c.forEach((function(e,t){return c.set(t,!1)}))}),[r]),q.useEffect((function(){!r&&!c.size&&(null==o||o())}),[r]),q.createElement(vt.Provider,{value:l},t)};function UO(){return new Map}function KO(e){return e.key||""}var GO=function(e){var t=e.children,n=e.custom,r=e.initial,o=void 0===r||r,a=e.onExitComplete,i=e.exitBeforeEnter,c=e.presenceAffectsLayout,s=void 0===c||c,l=function(){var e=Object(q.useRef)(!1),t=st(Object(q.useState)(0),2),n=t[0],r=t[1];return Or((function(){return e.current=!0})),Object(q.useCallback)((function(){!e.current&&r(n+1)}),[n])}(),u=Object(q.useContext)(gc);Oc(u)&&(l=u.forceUpdate);var d=Object(q.useRef)(!0),f=function(e){var t=[];return q.Children.forEach(e,(function(e){Object(q.isValidElement)(e)&&t.push(e)})),t}(t),p=Object(q.useRef)(f),b=Object(q.useRef)(new Map).current,h=Object(q.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=KO(e);t.set(n,e)}))}(f,b),d.current)return d.current=!1,q.createElement(q.Fragment,null,f.map((function(e){return q.createElement(WO,{key:KO(e),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:s},e)})));for(var m=lt([],st(f)),v=p.current.map(KO),g=f.map(KO),y=v.length,O=0;O<y;O++){var j=v[O];-1===g.indexOf(j)?h.add(j):h.delete(j)}return i&&h.size&&(m=[]),h.forEach((function(e){if(-1===g.indexOf(e)){var t=b.get(e);if(t){var r=v.indexOf(e);m.splice(r,0,q.createElement(WO,{key:KO(t),isPresent:!1,onExitComplete:function(){b.delete(e),h.delete(e);var t=p.current.findIndex((function(t){return t.key===e}));p.current.splice(t,1),h.size||(p.current=f,l(),a&&a())},custom:n,presenceAffectsLayout:s},t))}}})),m=m.map((function(e){var t=e.key;return h.has(t)?e:q.createElement(WO,{key:KO(e),isPresent:!0,presenceAffectsLayout:s},e)})),p.current=m,q.createElement(q.Fragment,null,h.size?m:m.map((function(e){return Object(q.cloneElement)(e)})))};function $O(e){let{className:t,label:n,onFilesDrop:r,onHTMLDrop:o,onDrop:a}=e;const[i,c]=Object(s.useState)(),[u,b]=Object(s.useState)(),[h,m]=Object(s.useState)(),v=Object(p.__experimentalUseDropZone)({onDrop(e){const t=Object(kg.getFilesFromDataTransfer)(e.dataTransfer),n=e.dataTransfer.getData("text/html");t.length&&r?r(t):n&&o?o(n):a&&a(e)},onDragStart(e){c(!0);let t="default";Object(l.includes)(e.dataTransfer.types,"Files")||Object(kg.getFilesFromDataTransfer)(e.dataTransfer).length>0?t="file":Object(l.includes)(e.dataTransfer.types,"text/html")&&(t="html"),m(t)},onDragEnd(){c(!1),m()},onDragEnter(){b(!0)},onDragLeave(){b(!1)}}),g=Object(p.useReducedMotion)();let y;const O={hidden:{scaleY:0,opacity:0},show:{scaleY:1,opacity:1,transition:{type:"tween",duration:.2,delay:.1,delayChildren:.2}},exit:{scaleY:1,opacity:0,transition:{duration:.3,delayChildren:0}}},j={hidden:{opacity:0,scale:.75},show:{opacity:1,scale:1},exit:{opacity:0,scale:.9}};u&&(y=Object(s.createElement)(es.div,{variants:O,initial:g?"show":"hidden",animate:"show",exit:g?"show":"exit",className:"components-drop-zone__content"},Object(s.createElement)(es.div,{variants:j},Object(s.createElement)(Gp.a,{icon:BO.a,className:"components-drop-zone__content-icon"}),Object(s.createElement)("span",{className:"components-drop-zone__content-text"},n||Object(f.__)("Drop files to upload")))));const w=d()("components-drop-zone",t,{"is-active":(i||u)&&("file"===h&&r||"html"===h&&o||"default"===h&&a),"is-dragging-over-document":i,"is-dragging-over-element":u,["is-dragging-"+h]:!!h});return Object(s.createElement)("div",{ref:v,className:w},g?y:Object(s.createElement)(GO,null,y))}function qO(e){let{children:t}=e;return hs()("wp.components.DropZoneProvider",{hint:"wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code."}),t}var YO=Object(s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(i.Path,{d:"M5 17.7c.4.5.8.9 1.2 1.2l1.1-1.4c-.4-.3-.7-.6-1-1L5 17.7zM5 6.3l1.4 1.1c.3-.4.6-.7 1-1L6.3 5c-.5.4-.9.8-1.3 1.3zm.1 7.8l-1.7.5c.2.6.4 1.1.7 1.6l1.5-.8c-.2-.4-.4-.8-.5-1.3zM4.8 12v-.7L3 11.1v1.8l1.7-.2c.1-.2.1-.5.1-.7zm3 7.9c.5.3 1.1.5 1.6.7l.5-1.7c-.5-.1-.9-.3-1.3-.5l-.8 1.5zM19 6.3c-.4-.5-.8-.9-1.2-1.2l-1.1 1.4c.4.3.7.6 1 1L19 6.3zm-.1 3.6l1.7-.5c-.2-.6-.4-1.1-.7-1.6l-1.5.8c.2.4.4.8.5 1.3zM5.6 8.6l-1.5-.8c-.3.5-.5 1-.7 1.6l1.7.5c.1-.5.3-.9.5-1.3zm2.2-4.5l.8 1.5c.4-.2.8-.4 1.3-.5l-.5-1.7c-.6.2-1.1.4-1.6.7zm8.8 13.5l1.1 1.4c.5-.4.9-.8 1.2-1.2l-1.4-1.1c-.2.3-.5.6-.9.9zm1.8-2.2l1.5.8c.3-.5.5-1.1.7-1.6l-1.7-.5c-.1.5-.3.9-.5 1.3zm2.6-4.3l-1.7.2v1.4l1.7.2V12v-.9zM11.1 3l.2 1.7h1.4l.2-1.7h-1.8zm3 2.1c.5.1.9.3 1.3.5l.8-1.5c-.5-.3-1.1-.5-1.6-.7l-.5 1.7zM12 19.2h-.7l-.2 1.8h1.8l-.2-1.7c-.2-.1-.5-.1-.7-.1zm2.1-.3l.5 1.7c.6-.2 1.1-.4 1.6-.7l-.8-1.5c-.4.2-.8.4-1.3.5z"}));var XO=function(e){let{fill:t}=e;return t?Object(s.createElement)("span",{className:"components-swatch",style:{background:t}}):Object(s.createElement)(ub.a,{icon:YO})};function ZO(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"90deg";const n=100/e.length,r=e.map((e,t)=>`${e} ${t*n}%, ${e} ${(t+1)*n}%`).join(", ");return`linear-gradient( ${t}, ${r} )`}Object(_.b)([E.a]);var JO=function(e){let{values:t}=e;return Object(s.createElement)(XO,{fill:t&&ZO(t,"135deg")})};function QO(e){let{label:t,value:n,colors:r,disableCustomColors:o,enableAlpha:a,onChange:i}=e;const[c,l]=Object(s.useState)(!1);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(id.a,{className:"components-color-list-picker__swatch-button",icon:Object(s.createElement)(XO,{fill:n}),onClick:()=>l(e=>!e)},t),c&&Object(s.createElement)(qv,{className:"components-color-list-picker__color-picker",colors:r,value:n,clearable:!1,onChange:i,disableCustomColors:o,enableAlpha:a}))}var ej=function(e){let{colors:t,labels:n,value:r=[],disableCustomColors:o,enableAlpha:a,onChange:i}=e;return Object(s.createElement)("div",{className:"components-color-list-picker"},n.map((e,n)=>Object(s.createElement)(QO,{key:n,label:e,value:r[n],colors:t,disableCustomColors:o,enableAlpha:a,onChange:e=>{const t=r.slice();t[n]=e,i(t)}})))};const tj=["#333","#CCC"];function nj(e){let{value:t,onChange:n}=e;const r=!!t,o=r?t:tj,a=ZO(o),i=(c=o).map((e,t)=>({position:100*t/(c.length-1),color:e}));var c;return Object(s.createElement)(ig,{disableInserter:!0,background:a,hasGradient:r,value:i,onChange:e=>{const t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>{let{color:t}=e;return t})}(e);n(t)}})}var rj=function(e){let{clearable:t=!0,colorPalette:n,duotonePalette:r,disableCustomColors:o,disableCustomDuotone:a,value:i,onChange:c}=e;const[u,d]=Object(s.useMemo)(()=>{return!(e=n)||e.length<2?["#000","#fff"]:e.map(e=>{let{color:t}=e;return{color:t,brightness:Object(_.a)(t).brightness()}}).reduce((e,t)=>{let[n,r]=e;return[t.brightness<=n.brightness?t:n,t.brightness>=r.brightness?t:r]},[{brightness:1},{brightness:0}]).map(e=>{let{color:t}=e;return t});var e},[n]);return Object(s.createElement)(Hv,{options:r.map(e=>{let{colors:t,slug:n,name:r}=e;const o={background:ZO(t,"135deg"),color:"transparent"},a=null!=r?r:Object(f.sprintf)(Object(f.__)("Duotone code: %s"),n),u=r?Object(f.sprintf)(Object(f.__)("Duotone: %s"),r):a,d=Object(l.isEqual)(t,i);return Object(s.createElement)(Hv.Option,{key:n,value:t,isSelected:d,"aria-label":u,tooltipText:a,style:o,onClick:()=>{c(d?void 0:t)}})}),actions:!!t&&Object(s.createElement)(Hv.ButtonAction,{onClick:()=>c(void 0)},Object(f.__)("Clear"))},!o&&!a&&Object(s.createElement)(nj,{value:i,onChange:c}),!a&&Object(s.createElement)(ej,{labels:[Object(f.__)("Shadows"),Object(f.__)("Highlights")],colors:n,value:i,disableCustomColors:o,enableAlpha:!0,onChange:e=>{e[0]||(e[0]=u),e[1]||(e[1]=d);const t=e.length>=2?e:void 0;c(t)}}))},oj=n("K+tz");const aj=Object(w.a)(Gp.a,{target:"etxm6pv0"})({name:"bqq7t3",styles:"width:1.4em;height:1.4em;margin:-0.2em 0.1em 0;vertical-align:middle;fill:currentColor"});var ij=Object(s.forwardRef)((function(e,t){let{href:n,children:r,className:o,rel:a="",...i}=e;a=Object(l.uniq)(Object(l.compact)([...a.split(" "),"external","noreferrer","noopener"])).join(" ");const u=d()("components-external-link",o);return Object(s.createElement)("a",Object(c.a)({},i,{className:u,href:n,target:"_blank",rel:a,ref:t}),r,Object(s.createElement)(m.a,{as:"span"},Object(f.__)("(opens in a new tab)")),Object(s.createElement)(aj,{icon:oj.a,className:"components-external-link__icon"}))})),cj=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","modal","unstable_disclosureRef","setModal","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","place"],sj=([].concat(cj,["size"]),cj),lj=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","modal","unstable_disclosureRef","setModal"],uj=[].concat(lj,["hideOnEsc","hideOnClickOutside","preventBodyScroll","unstable_initialFocusRef","unstable_finalFocusRef","unstable_orphan","unstable_autoFocusOnShow","unstable_autoFocusOnHide"]),dj=lj,fj=n("71Og"),pj=n("JLmN"),bj=Object(_e.a)({name:"Button",compose:pj.a,keys:[],useProps:function(e,t){var n=t.ref,r=Object($.a)(t,["ref"]),o=Object(q.useRef)(null),a=Object(q.useState)(void 0),i=a[0],c=a[1],s=Object(q.useState)("button"),l=s[0],u=s[1];return Object(q.useEffect)((function(){var e=o.current;e&&(Object(fj.a)(e)||("A"!==e.tagName&&c("button"),u(void 0)))}),[]),Object($.b)({ref:Object(Ee.a)(o,n),role:i,type:l},r)}}),hj=(Object(xe.a)({as:"button",memo:!0,useHook:bj}),Object(_e.a)({name:"Disclosure",compose:bj,keys:cm,useProps:function(e,t){var n=t.onClick,r=t["aria-controls"],o=Object($.a)(t,["onClick","aria-controls"]),a=Object(ke.a)(n),i=r?r+" "+e.baseId:e.baseId,c=Object(q.useCallback)((function(t){var n,r;null===(n=a.current)||void 0===n||n.call(a,t),t.defaultPrevented||null===(r=e.toggle)||void 0===r||r.call(e)}),[e.toggle]);return Object($.b)({"aria-expanded":!!e.visible,"aria-controls":i,onClick:c},o)}})),mj=(Object(xe.a)({as:"button",memo:!0,useHook:hj}),Object(_e.a)({name:"DialogDisclosure",compose:hj,keys:dj,useProps:function(e,t){var n=t.ref,r=t.onClick,o=Object($.a)(t,["ref","onClick"]),a=Object(q.useRef)(null),i=Object(ke.a)(r),c=Object(q.useState)(!1),s=c[0],l=c[1],u=e.unstable_disclosureRef;Object(X.a)((function(){var t=a.current;u&&!u.current&&(u.current=t);var n=!(null!=u&&u.current)||u.current===t;l(!!e.visible&&n)}),[e.visible,u]);var d=Object(q.useCallback)((function(e){var t;null===(t=i.current)||void 0===t||t.call(i,e),e.defaultPrevented||u&&(u.current=e.currentTarget)}),[u]);return Object($.b)({ref:Object(Ee.a)(a,n),"aria-haspopup":"dialog","aria-expanded":s,onClick:d},o)}})),vj=(Object(xe.a)({as:"button",memo:!0,useHook:mj}),Object(_e.a)({name:"PopoverDisclosure",compose:mj,keys:sj,useProps:function(e,t){var n=t.ref,r=Object($.a)(t,["ref"]);return Object($.b)({ref:Object(Ee.a)(e.unstable_referenceRef,n)},r)}})),gj=Object(xe.a)({as:"button",memo:!0,useHook:vj});const yj=Object(s.createContext)({});var Oj=n("SSiF"),jj=n.n(Oj);var wj=n("PcHe"),xj=n("kqkJ");function _j(e,t){var n=Object(q.useRef)(!1);Object(q.useEffect)((function(){if(n.current)return e();n.current=!0}),t)}var Ej=n("AClM");function kj(e,t){var n=e.indexOf(t);return function(e,t){return-1===t?e:[].concat(e.slice(0,t),e.slice(t+1))}(e,n)}var Sj=Object(q.createContext)(null);var Cj=!1;if("undefined"!=typeof window){var Pj={get passive(){Cj=!0}};window.addEventListener("testPassive",null,Pj),window.removeEventListener("testPassive",null,Pj)}var Tj="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),Mj=[],Dj=!1,Ij=-1,Rj=void 0,Aj=void 0,Nj=function(e){return Mj.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},Lj=function(e){var t=e||window.event;return!!Nj(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},Fj=function(){void 0!==Aj&&(document.body.style.paddingRight=Aj,Aj=void 0),void 0!==Rj&&(document.body.style.overflow=Rj,Rj=void 0)},zj=function(e,t){if(e){if(!Mj.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};Mj=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Mj),[n]),Tj?(e.ontouchstart=function(e){1===e.targetTouches.length&&(Ij=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-Ij;!Nj(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?Lj(e):e.stopPropagation())}(t,e)},Dj||(document.addEventListener("touchmove",Lj,Cj?{passive:!1}:void 0),Dj=!0)):function(e){if(void 0===Aj){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(Aj=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===Rj&&(Rj=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},Bj=n("APjL"),Hj=n("utzN"),Vj=Object(q.createContext)(void 0),Wj=n("Ptb8");function Uj(e,t){var n=Boolean(t.preventBodyScroll&&t.visible);Object(q.useEffect)((function(){var t=e.current;if(t&&n)return zj(t,{reserveScrollBarGap:!0}),function(){var e;(e=t)?(Mj=Mj.filter((function(t){return t.targetElement!==e})),Tj?(e.ontouchstart=null,e.ontouchmove=null,Dj&&0===Mj.length&&(document.removeEventListener("touchmove",Lj,Cj?{passive:!1}:void 0),Dj=!1)):Mj.length||Fj()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}}),[e,n])}function Kj(e){null!=e.parentNode&&e.parentNode.removeChild(e)}function Gj(e,t,n){var r=function(e,t){var n=Object(q.useRef)(null);return Object(q.useEffect)((function(){var r=e.current;r&&t.visible&&(n.current=Object(Bj.a)(r,bm.__selector))}),[e,t.visible]),n}(e,n),o=n.visible&&n.modal,a=Object(q.useRef)(null),i=Object(q.useRef)(null);Object(q.useEffect)((function(){if(o){var e=r.current;if(e){if(!a.current){var t=Object(J.a)(e);a.current=t.createElement("div"),a.current.className="__reakit-focus-trap",a.current.tabIndex=0,a.current.style.position="fixed",a.current.setAttribute("aria-hidden","true")}return i.current||(i.current=a.current.cloneNode()),e.insertAdjacentElement("beforebegin",a.current),e.insertAdjacentElement("afterend",i.current),function(){a.current&&Kj(a.current),i.current&&Kj(i.current)}}}}),[r,o]),Object(q.useEffect)((function(){var n=a.current,r=i.current;if(o&&n&&r){var c=function(n){var o=e.current;if(o&&!t.length){n.preventDefault();var a=n.target===r?Object(xj.a)(o):Object(xj.b)(o);a?a.focus():o.focus()}};return n.addEventListener("focus",c),r.addEventListener("focus",c),function(){n.removeEventListener("focus",c),r.removeEventListener("focus",c)}}}),[e,t,o])}function $j(e,t,n){var r=n.unstable_autoFocusOnHide&&!n.visible,o=!(!n.animated||!n.animating);_j((function(){var a;if(r&&!o&&!function(e){var t=e.current;if(!t)return!1;var n=Object(Fe.a)(t);return!!n&&(!Object(Hj.a)(t,n)&&(!!Object(xj.d)(n)||"true"===n.getAttribute("data-dialog")))}(e)){var i=(null===(a=n.unstable_finalFocusRef)||void 0===a?void 0:a.current)||t.current;if(i){if(i.id){var c=Object(J.a)(i).querySelector("[aria-activedescendant='"+i.id+"']");if(c)return void Object(Ej.a)(c)}Object(Ej.a)(i)}else;}}),[r,o,e,t])}var qj=Object(q.createContext)({});function Yj(e,t,n,r,o,a,i){var c=Object(ke.a)(o);Object(q.useEffect)((function(){if(a){var o=function(r){if(c.current){var o,a=e.current,i=t.current,s=r.target;if(a)if(function(e){var t=Object(J.a)(e);return"HTML"===e.tagName||Object(Hj.a)(t.body,e)}(s))if(!Object(Hj.a)(a,s))if(!i||!function(e,t){return Object(Hj.a)(t,e)}(s,i))if(!(null===(o=s.classList)||void 0===o?void 0:o.contains("__reakit-focus-trap"))&&!n.some(function(e){return function(t){var n=t.current;if(!n)return!1;if(Object(Hj.a)(n,e))return!0;var r=Object(J.a)(n).querySelector('[data-dialog-ref="'+n.id+'"]');return!!r&&Object(Hj.a)(r,e)}}(s)))c.current(r)}},s=Object(J.a)(e.current);return s.addEventListener(r,o,i),function(){return s.removeEventListener(r,o,i)}}}),[e,t,n,r,a,c])}function Xj(e,t,n,r){var o=function(e,t){var n=Object(q.useRef)();return Object(q.useEffect)((function(){if(t.visible&&t.hideOnClickOutside){var r=Object(J.a)(e.current),o=function(e){n.current=e.target};return r.addEventListener("mousedown",o),function(){return r.removeEventListener("mousedown",o)}}}),[t.visible,t.hideOnClickOutside,e]),n}(e,r);Yj(e,t,n,"click",(function(e){var t;o.current===e.target&&(null===(t=r.hide)||void 0===t||t.call(r))}),r.visible&&r.hideOnClickOutside),Yj(e,t,n,"focusin",(function(t){var n,o=Object(J.a)(e.current);t.target!==o&&t.target!==o.body&&(null===(n=r.hide)||void 0===n||n.call(r))}),r.visible&&r.hideOnClickOutside)}function Zj(e,t){Object(q.useEffect)((function(){var n=e.current;if(t.visible&&n){var r=new MutationObserver((function(e){if(e[0].target===n){var t,r=Object(J.a)(n),o=Object(Fe.a)(n);o!==r.body&&(t=o,Array.isArray(t)?t.length:Object(Wj.a)(t)?Object.keys(t).length:null!=t&&""!==t)||n.focus()}}));return r.observe(n,{childList:!0,subtree:!0}),function(){r.disconnect()}}}),[t.visible,e])}function Jj(e){return e&&e.tagName&&"HTML"!==e.tagName&&e!==Object(J.a)(e).body}var Qj=Object(_e.a)({name:"Dialog",compose:lm,keys:uj,useOptions:function(e){var t=e.modal,n=void 0===t||t,r=e.hideOnEsc,o=void 0===r||r,a=e.hideOnClickOutside,i=void 0===a||a,c=e.preventBodyScroll,s=void 0===c?n:c,l=e.unstable_autoFocusOnShow,u=void 0===l||l,d=e.unstable_autoFocusOnHide,f=void 0===d||d,p=e.unstable_orphan,b=Object($.a)(e,["modal","hideOnEsc","hideOnClickOutside","preventBodyScroll","unstable_autoFocusOnShow","unstable_autoFocusOnHide","unstable_orphan"]);return Object($.b)({modal:n,hideOnEsc:o,hideOnClickOutside:i,preventBodyScroll:n&&s,unstable_autoFocusOnShow:u,unstable_autoFocusOnHide:f,unstable_orphan:n&&p},b)},useProps:function(e,t){var n=t.ref,r=t.onKeyDown,o=t.onBlur,a=t.wrapElement,i=t.tabIndex,c=Object($.a)(t,["ref","onKeyDown","onBlur","wrapElement","tabIndex"]),s=Object(q.useRef)(null),l=Object(q.useContext)(Vj),u=l&&l===e.baseId,d=function(e,t){var n=Object(q.useRef)(null),r=!(!t.animated||!t.animating);return Object(q.useEffect)((function(){if(!t.visible&&!r){var o=function(e){var r=e.target;"focus"in r&&(n.current=r,t.unstable_disclosureRef&&(t.unstable_disclosureRef.current=r))},a=Object(J.a)(e.current);return a.addEventListener("focusin",o),function(){return a.removeEventListener("focusin",o)}}}),[t.visible,r,t.unstable_disclosureRef,e]),Object(q.useEffect)((function(){var e;if(t.visible&&!r){var o=function(e){var t=e.currentTarget;Object(fj.a)(t)&&(e.preventDefault(),t.focus())},a=(null===(e=t.unstable_disclosureRef)||void 0===e?void 0:e.current)||n.current;return null==a||a.addEventListener("mousedown",o),function(){return null==a?void 0:a.removeEventListener("mousedown",o)}}}),[t.visible,r,t.unstable_disclosureRef]),t.unstable_disclosureRef||n}(s,e),f=Object(ke.a)(r),p=Object(ke.a)(o),b=function(e,t){var n=Object(q.useReducer)((function(e){return e+1}),0),r=n[0],o=n[1];return Object(X.a)((function(){var n=e.current;t.visible&&r&&(Jj(Object(Fe.a)(n))||null==n||n.focus())}),[r,e]),Object(q.useCallback)((function(e){t.visible&&(Jj(Be(e))||o())}),[t.visible])}(s,e),h=function(e,t){var n=Object(q.useContext)(qj),r=Object(q.useState)([]),o=r[0],a=r[1],i=Object(q.useState)(o),c=i[0],s=i[1],l=Object(q.useCallback)((function(e){var t;null===(t=n.addDialog)||void 0===t||t.call(n,e),a((function(t){return[].concat(t,[e])}))}),[n.addDialog]),u=Object(q.useCallback)((function(e){var t;null===(t=n.removeDialog)||void 0===t||t.call(n,e),a((function(t){return kj(t,e)}))}),[n.removeDialog]),d=Object(q.useCallback)((function(e){var t;null===(t=n.showDialog)||void 0===t||t.call(n,e),s((function(t){return[].concat(t,[e])}))}),[n.showDialog]),f=Object(q.useCallback)((function(e){var t;null===(t=n.hideDialog)||void 0===t||t.call(n,e),s((function(t){return kj(t,e)}))}),[n.hideDialog]);Object(q.useEffect)((function(){var r;if(!t.unstable_orphan)return null===(r=n.addDialog)||void 0===r||r.call(n,e),function(){var t;null===(t=n.removeDialog)||void 0===t||t.call(n,e)}}),[t.unstable_orphan,n.addDialog,e,n.removeDialog]),Object(q.useEffect)((function(){var r;if(!t.unstable_orphan&&t.modal&&t.visible)return null===(r=n.showDialog)||void 0===r||r.call(n,e),function(){var t;null===(t=n.hideDialog)||void 0===t||t.call(n,e)}}),[t.unstable_orphan,t.modal,t.visible,n.showDialog,e,n.hideDialog]),Object(q.useEffect)((function(){var e;!1===n.visible&&t.visible&&!t.unstable_orphan&&(null===(e=t.hide)||void 0===e||e.call(t))}),[n.visible,t.visible,t.hide,t.unstable_orphan]);var p=Object(q.useMemo)((function(){return{visible:t.visible,addDialog:l,removeDialog:u,showDialog:d,hideDialog:f}}),[t.visible,l,u,d,f]);return{dialogs:o,visibleModals:c,wrap:Object(q.useCallback)((function(e){return Object(q.createElement)(qj.Provider,{value:p},e)}),[p])}}(s,e),m=h.dialogs,v=h.visibleModals,g=h.wrap,y=!(!e.modal||v.length)||void 0;Uj(s,e),Gj(s,v,e),Zj(s,e),function(e,t,n){var r=n.unstable_initialFocusRef,o=n.visible&&n.unstable_autoFocusOnShow,a=!(!n.animated||!n.animating);_j((function(){var n=e.current;if(o&&n&&!a&&!t.some((function(e){return e.current&&!e.current.hidden})))if(null!=r&&r.current)r.current.focus({preventScroll:!0});else{var i=Object(xj.a)(n,!0),c=function(){return Object(wj.a)(n)};i?Object(Ej.a)(i,{preventScroll:!0,isActive:c}):Object(Ej.a)(n,{preventScroll:!0,isActive:c})}}),[e,o,a,t,r])}(s,m,e),$j(s,d,e),Xj(s,d,m,e),function(e,t,n){var r=function(r){return Yj(e,{current:null},t,r,(function(e){e.stopPropagation(),e.preventDefault()}),n.visible&&n.modal,!0)};r("mouseover"),r("mousemove"),r("mouseout")}(s,m,e);var O=Object(q.useCallback)((function(t){var n;null===(n=f.current)||void 0===n||n.call(f,t),t.defaultPrevented||"Escape"===t.key&&e.hideOnEsc&&e.hide&&(t.stopPropagation(),e.hide())}),[e.hideOnEsc,e.hide]),j=Object(q.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),b(e)}),[b]),w=Object(q.useCallback)((function(t){return t=g(t),e.modal&&!u&&(t=Object(q.createElement)(bm,null,t)),a&&(t=a(t)),Object(q.createElement)(Sj.Provider,{value:null},t)}),[g,e.modal,u,a]);return Object($.b)({ref:Object(Ee.a)(s,n),role:"dialog",tabIndex:null!=i?i:-1,"aria-modal":y,"data-dialog":!0,onKeyDown:O,onBlur:j,wrapElement:w},c)}}),ew=(Object(xe.a)({as:"div",useHook:Qj,useCreateElement:function(e,t,n){return Object(Te.a)(e,t,n)}}),Object(_e.a)({name:"Popover",compose:Qj,keys:cj,useOptions:function(e){var t=e.modal,n=void 0!==t&&t,r=Object($.a)(e,["modal"]);return Object($.b)({modal:n},r)},useProps:function(e,t){var n=t.ref,r=t.style,o=Object($.a)(t,["ref","style"]);return Object($.b)({ref:Object(Ee.a)(e.unstable_popoverRef,n),style:Object($.b)(Object($.b)({},e.unstable_popoverStyles),r)},o)}})),tw=Object(xe.a)({as:"div",useHook:ew,useCreateElement:function(e,t,n){return Object(Te.a)(e,t,n)}});const nw=Object(w.a)(tw,{target:"e1vtu5161"})("z-index:",1e4,";box-sizing:border-box;opacity:0;outline:none;position:relative;transform-origin:center center;transition:opacity ",Vs.transitionDurationFastest," linear;width:100%;&[data-enter]{opacity:1;}&::before,&::after{display:none;}"),rw=Object(w.a)(Pp,{target:"e1vtu5160"})(Lp.selector,"{max-height:80vh;}");var ow=Object(ts.a)((function(e,t){const{children:n,elevation:r,maxWidth:o,style:a={},...i}=Object(rs.a)(e,"FlyoutContent"),{label:l,flyoutState:u}=Object(s.useContext)(yj);if(!u)throw new Error("`FlyoutContent` must only be used inside a `Flyout`.");const d=u.visible||u.animating;return Object(s.createElement)(nw,Object(c.a)({"aria-label":l,style:{maxWidth:o,...a}},i,u),d&&Object(s.createElement)(rw,{elevation:r,ref:t},n))}),"FlyoutContent");var aw=Object(ts.a)((function(e,t){const{children:n,elevation:r,label:o,maxWidth:a,onVisibleChange:i,trigger:l,flyoutState:u,...d}=function(e){const{animated:t=!0,animationDuration:n=160,baseId:r,elevation:o=5,id:a,maxWidth:i=360,placement:c,state:s,visible:l,...u}=Object(rs.a)(e,"Flyout"),d=Qh({animated:t?n:void 0,baseId:r||a,placement:c,visible:l,...u}),f=s||d;return{...u,elevation:o,maxWidth:i,flyoutState:f}}(e),f=function(e){let{onResize:t}=e;const[n,r]=jj()();return Object(p.useIsomorphicLayoutEffect)(()=>{null==t||t()},[r.width,r.height]),n}({onResize:u.unstable_update}),b="flyout-"+u.baseId,h=o||b,m=Object(s.useMemo)(()=>({label:h,flyoutState:u}),[h,u]),v=Object(s.useCallback)(e=>Object(s.cloneElement)(l,e),[l]);return Ku(()=>{null==i||i(u.visible)},[u.visible]),Object(s.createElement)(yj.Provider,{value:m},l&&Object(s.createElement)(gj,Object(c.a)({},u,{ref:l.ref},l.props),v),Object(s.createElement)(bm,null,Object(s.createElement)(ow,Object(c.a)({ref:t},d,{elevation:r,maxWidth:a}),f,n)))}),"Flyout");const iw=Object(w.a)("div",{target:"e11wezi78"})({name:"1g31405",styles:"background-color:transparent;box-sizing:border-box;text-align:center;width:100%"}),cw=Object(w.a)("div",{target:"e11wezi77"})({name:"v0nrlz",styles:"align-items:center;box-sizing:border-box;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.2 );cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;img,video{box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:auto;}"}),sw=Object(w.a)("div",{target:"e11wezi76"})("background:",L.lightGray[300],";box-sizing:border-box;height:170px;max-width:280px;min-width:200px;width:100%;"),lw=Object(w.a)(qd,{target:"e11wezi75"})({name:"1pzk433",styles:"width:100px"}),uw=Object(w.a)(Cs,{target:"e11wezi74"})({name:"ox4xcy",styles:"max-width:320px;padding:1em 0"}),dw=Object(w.a)("div",{target:"e11wezi73"})("box-sizing:border-box;left:50%;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%, -50%, 0 );transition:opacity 120ms linear;z-index:1;",e=>{let{isActive:t}=e;return t&&"\n\t\topacity: 1;\n\t"},";"),fw=Object(w.a)("div",{target:"e11wezi72"})({name:"1sy4ch9",styles:"box-sizing:border-box;background:white;box-shadow:0 0 2px rgba( 0, 0, 0, 0.6 );position:absolute;opacity:0.4;transform:translateZ( 0 )"}),pw=Object(w.a)(fw,{target:"e11wezi71"})({name:"1qp910y",styles:"height:1px;left:0;right:0"}),bw=Object(w.a)(fw,{target:"e11wezi70"})({name:"1oz3zka",styles:"width:1px;top:0;bottom:0"}),hw={top:0,left:0,bottom:0,right:0,width:0,height:0},mw=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function vw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=e.split(".");return t[t.length-1]}function gw(e){return Math.round(100*e)}function yw(e){let{onChange:t=l.noop,percentages:n={x:.5,y:.5}}=e;const r=gw(n.x),o=gw(n.y),a=(e,r)=>{const o=parseInt(e,10);isNaN(o)||t({...n,[r]:o/100})};return Object(s.createElement)(uw,{className:"focal-point-picker__controls"},Object(s.createElement)(Ow,{label:Object(f.__)("Left"),value:r,onChange:e=>a(e,"x"),dragDirection:"e"}),Object(s.createElement)(Ow,{label:Object(f.__)("Top"),value:o,onChange:e=>a(e,"y"),dragDirection:"s"}))}function Ow(e){return Object(s.createElement)(lw,Object(c.a)({className:"focal-point-picker__controls-position-unit-control",labelPosition:"top",max:100,min:0,unit:"%",units:[{value:"%",label:"%"}]},e))}const jw=Object(w.a)("div",{target:"eas61re3"})("background-color:transparent;box-sizing:border-box;cursor:grab;height:30px;margin:-15px 0 0 -15px;opacity:0.8;position:absolute;user-select:none;width:30px;will-change:transform;z-index:10000;",e=>{let{isDragging:t}=e;return t&&"cursor: grabbing;"},";"),ww=Object(w.a)(i.SVG,{target:"eas61re2"})({name:"qkx60y",styles:"display:block;height:100%;left:0;position:absolute;top:0;width:100%"}),xw=Object(w.a)(i.Path,{target:"eas61re1"})({name:"1b3qpiw",styles:"fill:white"}),_w=Object(w.a)(i.Path,{target:"eas61re0"})("fill:",L.blue.wordpress[700],";fill:",L.ui.theme,";");function Ew(e){let{coordinates:t={left:"50%",top:"50%"},...n}=e;const r=d()("components-focal-point-picker__icon_container"),o={left:t.left,top:t.top};return Object(s.createElement)(jw,Object(c.a)({},n,{className:r,style:o}),Object(s.createElement)(ww,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(s.createElement)(xw,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(s.createElement)(_w,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"})))}const{clearTimeout:kw,setTimeout:Sw}="undefined"!=typeof window?window:{};function Cw(e){let{bounds:t={},value:n,...r}=e;const o=function(e){const[t,n]=Object(s.useState)(!1);return Ku(()=>{n(!0);const e=Sw(()=>{n(!1)},600);return()=>kw(e)},[e]),{isActive:t}}(n),a={width:t.width,height:t.height};return Object(s.createElement)(dw,Object(c.a)({},r,o,{className:"components-focal-point-picker__grid",style:a}),Object(s.createElement)(pw,{style:{top:"33%"}}),Object(s.createElement)(pw,{style:{top:"66%"}}),Object(s.createElement)(bw,{style:{left:"33%"}}),Object(s.createElement)(bw,{style:{left:"66%"}}))}function Pw(e){let{alt:t,autoPlay:n,src:r,onLoad:o=l.noop,mediaRef:a,muted:i=!0,...u}=e;if(!r)return Object(s.createElement)(Tw,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",onLoad:o,mediaRef:a});return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!!e&&mw.includes(vw(e))}(r)?Object(s.createElement)("video",Object(c.a)({},u,{autoPlay:n,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:i,onLoadedData:o,ref:a,src:r})):Object(s.createElement)("img",Object(c.a)({},u,{alt:t,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:o,ref:a,src:r}))}function Tw(e){let{mediaRef:t,onLoad:n=l.noop,...r}=e;const o=Object(s.useRef)(n);return Object(s.useLayoutEffect)(()=>{window.requestAnimationFrame(()=>{o.current()})},[]),Object(s.createElement)(sw,Object(c.a)({ref:t},r))}class Mw extends s.Component{constructor(e){super(...arguments),this.state={isDragging:!1,bounds:hw,percentages:e.value},this.containerRef=Object(s.createRef)(),this.mediaRef=Object(s.createRef)(),this.onMouseDown=this.startDrag.bind(this),this.onMouseUp=this.stopDrag.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseMove=this.doDrag.bind(this),this.ifDraggingStop=()=>{this.state.isDragging&&this.stopDrag()},this.onChangeAtControls=e=>{this.updateValue(e),this.props.onChange(e)},this.updateBounds=this.updateBounds.bind(this),this.updateValue=this.updateValue.bind(this)}componentDidMount(){const{defaultView:e}=this.containerRef.current.ownerDocument;e.addEventListener("resize",this.updateBounds),this.updateBounds()}componentDidUpdate(e){e.url!==this.props.url&&this.ifDraggingStop();const{isDragging:t,percentages:{x:n,y:r}}=this.state,{value:o}=this.props;t||o.x===n&&o.y===r||this.setState({percentages:this.props.value})}componentWillUnmount(){const{defaultView:e}=this.containerRef.current.ownerDocument;e.removeEventListener("resize",this.updateBounds),this.ifDraggingStop()}calculateBounds(){const e=hw;if(!this.mediaRef.current)return e;if(0===this.mediaRef.current.clientWidth||0===this.mediaRef.current.clientHeight)return e;const t=this.mediaRef.current.clientWidth,n=this.mediaRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,a=r.height/n;return a>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*a,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}updateValue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{x:t,y:n}=e,r={x:parseFloat(t).toFixed(2),y:parseFloat(n).toFixed(2)};this.setState({percentages:r})}updateBounds(){this.setState({bounds:this.calculateBounds()})}startDrag(e){var t,n;e.persist(),this.containerRef.current.focus(),this.setState({isDragging:!0});const{ownerDocument:r}=this.containerRef.current;r.addEventListener("mouseup",this.onMouseUp),r.addEventListener("mousemove",this.onMouseMove);const o=this.getValueFromPoint({x:e.pageX,y:e.pageY},e.shiftKey);this.updateValue(o),null===(t=(n=this.props).onDragStart)||void 0===t||t.call(n,o,e)}stopDrag(e){var t,n;const{ownerDocument:r}=this.containerRef.current;r.removeEventListener("mouseup",this.onMouseUp),r.removeEventListener("mousemove",this.onMouseMove),this.setState({isDragging:!1},()=>{this.props.onChange(this.state.percentages)}),null===(t=(n=this.props).onDragEnd)||void 0===t||t.call(n,e)}onKeyDown(e){const{keyCode:t,shiftKey:n}=e;if(![Nu.UP,Nu.DOWN,Nu.LEFT,Nu.RIGHT].includes(t))return;e.preventDefault();const r={...this.state.percentages},o=n?.1:.01,a=t===Nu.UP||t===Nu.LEFT?-1*o:o,i=t===Nu.UP||t===Nu.DOWN?"y":"x",c=parseFloat(r[i])+a;r[i]=Ed(c,0,1,o),this.updateValue(r),this.props.onChange(r)}doDrag(e){var t,n;e.preventDefault();const r=this.getValueFromPoint({x:e.pageX,y:e.pageY},e.shiftKey);this.updateValue(r),null===(t=(n=this.props).onDrag)||void 0===t||t.call(n,r,e)}getValueFromPoint(e,t){const{bounds:n}=this.state,r=this.pickerDimensions(),o={left:e.x-r.left,top:e.y-r.top},a=Math.max(n.left,Math.min(o.left,n.right)),i=Math.max(n.top,Math.min(o.top,n.bottom));let c=(a-n.left)/(r.width-2*n.left),s=(i-n.top)/(r.height-2*n.top);const l=t?.1:.01;return c=Ed(c,0,1,l),s=Ed(s,0,1,l),{x:c,y:s}}pickerDimensions(){const e=this.containerRef.current;if(!e)return{width:0,height:0,left:0,top:0};const{clientHeight:t,clientWidth:n}=e,{top:r,left:o}=e.getBoundingClientRect();return{width:n,height:t,top:r+document.body.scrollTop,left:o}}iconCoordinates(){const{bounds:e,percentages:{x:t,y:n}}=this.state;if(void 0===e.left||void 0===e.top)return{left:"50%",top:"50%"};const{width:r,height:o}=this.pickerDimensions();return{left:t*(r-2*e.left)+e.left,top:n*(o-2*e.top)+e.top}}render(){const{autoPlay:e,className:t,help:n,instanceId:r,label:o,url:a}=this.props,{bounds:i,isDragging:c,percentages:l}=this.state,u=this.iconCoordinates(),p=d()("components-focal-point-picker-control",t),b="inspector-focal-point-picker-control-"+r;return Object(s.createElement)(gd,{label:o,id:b,help:n,className:p},Object(s.createElement)(iw,{className:"components-focal-point-picker-wrapper"},Object(s.createElement)(cw,{className:"components-focal-point-picker",onKeyDown:this.onKeyDown,onMouseDown:this.onMouseDown,onBlur:this.ifDraggingStop,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(s.createElement)(Cw,{bounds:i,value:l.x+l.y}),Object(s.createElement)(Pw,{alt:Object(f.__)("Media preview"),autoPlay:e,mediaRef:this.mediaRef,onLoad:this.updateBounds,src:a}),Object(s.createElement)(Ew,{coordinates:u,isDragging:c}))),Object(s.createElement)(yw,{percentages:l,onChange:this.onChangeAtControls}))}}Mw.defaultProps={autoPlay:!0,value:{x:.5,y:.5},url:null};var Dw=Object(p.withInstanceId)(Mw);function Iw(e){let{iframeRef:t,...n}=e;const r=Object(p.useMergeRefs)([t,Object(p.useFocusableIframe)()]);return hs()("wp.components.FocusableIframe",{alternative:"wp.compose.useFocusableIframe"}),Object(s.createElement)("iframe",Object(c.a)({ref:r},n))}function Rw(e){void 0===e&&(e={});var t=Z(e),n=t.state,r=t.loop,o=void 0===r||r,a=Object($.a)(t,["state","loop"]),i=Object(q.useState)(n),c=i[0],s=i[1],l=we(Object($.b)(Object($.b)({},a),{},{loop:o}));return Object($.b)(Object($.b)({},l),{},{state:c,setState:s})}var Aw=["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","state","setBaseId","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget","setState"],Nw=[].concat(Aw,["value","checked","unstable_checkOnFocus"]),Lw=Aw,Fw=Object(_e.a)({name:"RadioGroup",compose:Ge,keys:Lw,useProps:function(e,t){return Object($.b)({role:"radiogroup"},t)}}),zw=Object(xe.a)({as:"div",useHook:Fw,useCreateElement:function(e,t,n){return Object(Te.a)(e,t,n)}});const Bw=Object(x.a)("background:",L.ui.background,";border:1px solid;border-color:",L.ui.border,";border-radius:",Vs.controlBorderRadius,";display:inline-flex;min-height:",Vs.controlHeight,";min-width:0;padding:2px;position:relative;transition:transform ",Vs.transitionDurationFastest," linear;",F("transition")," &:hover{border-color:",L.ui.borderHover,";}&:focus-within{border-color:",L.ui.borderFocus,";box-shadow:",Vs.controlBoxShadowFocus,";outline:none;z-index:1;}",""),Hw={name:"7whenc",styles:"display:flex;width:100%"},Vw=Object(w.a)("div",{target:"eakva830"})("background:",L.gray[900],";border-radius:",Vs.controlBorderRadius,";box-shadow:",Vs.toggleGroupControlBackdropBoxShadow,";left:0;position:absolute;top:2px;bottom:2px;transition:transform ",Vs.transitionDurationFast," ease;",F("transition")," z-index:1;");var Ww=Object(s.memo)((function(e){let{containerRef:t,containerWidth:n,isAdaptiveWidth:r,state:o}=e;const[a,i]=Object(s.useState)(0),[c,l]=Object(s.useState)(0),[u,d]=Object(s.useState)(!1),[f,p]=Object(s.useState)(!1);return Object(s.useEffect)(()=>{const e=null==t?void 0:t.current;if(!e)return;const n=e.querySelector(`[data-value="${o}"]`);if(p(!!n),!n)return;const r=window.setTimeout(()=>{const{width:t,x:r}=n.getBoundingClientRect(),{x:o}=e.getBoundingClientRect();i(r-o-1),l(t)},100);let a;return u||(a=window.requestAnimationFrame(()=>{d(!0)})),()=>{window.clearTimeout(r),window.cancelAnimationFrame(a)}},[u,t,n,o,r]),f?Object(s.createElement)(Vw,{role:"presentation",style:{transform:`translateX(${a}px)`,transition:u?void 0:"none",width:c}}):null}));const Uw=Object(s.createContext)({});var Kw=Uw;const Gw=()=>{};var $w=Object(ts.a)((function e(t,n){const{className:r,isAdaptiveWidth:o=!1,isBlock:a=!1,label:i,hideLabelFromVision:l=!1,help:u,onChange:d=Gw,value:f,children:b,...h}=Object(rs.a)(t,"ToggleGroupControl"),m=Object(us.a)(),v=Object(s.useRef)(),[g,y]=jj()(),O=Rw({baseId:Object(p.useInstanceId)(e,"toggle-group-control").toString(),state:f});Ku(()=>{d(O.state)},[O.state]),Ku(()=>{f!==O.state&&O.setState(f)},[f]);const j=Object(s.useMemo)(()=>m(Bw,a&&Hw,"medium",r),[r,a]);return Object(s.createElement)(gd,{help:u},Object(s.createElement)(Kw.Provider,{value:{...O,isBlock:!o}},!l&&Object(s.createElement)("div",null,Object(s.createElement)(gd.VisualLabel,null,i)),Object(s.createElement)(zw,Object(c.a)({},O,{"aria-label":i,as:ns.a,className:j},h,{ref:Object(p.useMergeRefs)([v,n])}),g,Object(s.createElement)(Ww,Object(c.a)({},O,{containerRef:v,containerWidth:y.width,isAdaptiveWidth:o})),b)))}),"ToggleGroupControl");n("WnOg");function qw(e){return void 0!==e.checked?e.checked:void 0!==e.value&&e.state===e.value}function Yw(e,t){var n=Object(De.a)(e,"change");Object.defineProperties(n,{type:{value:"change"},target:{value:e},currentTarget:{value:e}}),null==t||t(n)}var Xw=Object(_e.a)({name:"Radio",compose:b.b,keys:Nw,useOptions:function(e,t){var n,r=t.value,o=t.checked,a=e.unstable_clickOnEnter,i=void 0!==a&&a,c=e.unstable_checkOnFocus,s=void 0===c||c,l=Object($.a)(e,["unstable_clickOnEnter","unstable_checkOnFocus"]);return Object($.b)(Object($.b)({checked:o,unstable_clickOnEnter:i,unstable_checkOnFocus:s},l),{},{value:null!=(n=l.value)?n:r})},useProps:function(e,t){var n=t.ref,r=t.onChange,o=t.onClick,a=Object($.a)(t,["ref","onChange","onClick"]),i=Object(q.useRef)(null),c=Object(q.useState)(!0),s=c[0],l=c[1],u=qw(e),d=Object(ke.a)(e.currentId===e.id),f=Object(ke.a)(r),p=Object(ke.a)(o);!function(e){var t=Object(q.useState)((function(){return qw(e)}))[0],n=Object(q.useState)(e.currentId)[0],r=e.id,o=e.setCurrentId;Object(q.useEffect)((function(){t&&r&&n!==r&&(null==o||o(r))}),[t,r,o,n])}(e),Object(q.useEffect)((function(){var e=i.current;e&&("INPUT"===e.tagName&&"radio"===e.type||l(!1))}),[]);var b=Object(q.useCallback)((function(t){var n,r;null===(n=f.current)||void 0===n||n.call(f,t),t.defaultPrevented||e.disabled||null===(r=e.setState)||void 0===r||r.call(e,e.value)}),[e.disabled,e.setState,e.value]),h=Object(q.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),e.defaultPrevented||s||Yw(e.currentTarget,b)}),[b,s]);return Object(q.useEffect)((function(){var t=i.current;t&&e.unstable_moves&&d.current&&e.unstable_checkOnFocus&&Yw(t,b)}),[e.unstable_moves,e.unstable_checkOnFocus,b]),Object($.b)({ref:Object(Ee.a)(i,n),role:s?void 0:"radio",type:s?"radio":void 0,value:s?e.value:void 0,name:s?e.baseId:void 0,"aria-checked":u,checked:u,onChange:b,onClick:h},a)}}),Zw=Object(xe.a)({as:"input",memo:!0,useHook:Xw});const Jw=Object(w.a)("div",{target:"eu1cvm72"})({name:"sln1fl",styles:"display:inline-flex;max-width:100%;min-width:0;position:relative"}),Qw={name:"82a6rk",styles:"flex:1"},ex=Object(x.a)("align-items:center;appearance:none;background:transparent;border:none;border-radius:",Vs.controlBorderRadius,";color:",L.gray[700],";cursor:pointer;display:flex;height:100%;justify-content:center;line-height:100%;outline:none;padding:0 12px;position:relative;text-align:center;transition:background ",Vs.transitionDurationFast," linear,color ",Vs.transitionDurationFast," linear,font-weight 60ms linear;",F("transition")," user-select:none;width:100%;z-index:2;&::-moz-focus-inner{border:0;}&:active{background:",Vs.toggleGroupControlBackgroundColor,";}",""),tx=Object(x.a)("color:",L.white,";&:active{background:transparent;}",""),nx=Object(w.a)("div",{target:"eu1cvm71"})("font-size:",Vs.fontSize,";line-height:1;position:absolute;top:50%;left:50%;transform:translate( -50%, -50% );"),rx={name:"1qsuvl4",styles:"background:transparent"},ox=Object(w.a)("div",{target:"eu1cvm70"})("font-size:",Vs.fontSize,";font-weight:bold;height:0;overflow:hidden;visibility:hidden;"),ax=Object(x.a)("min-height:",Vs.controlHeight,";",""),{ButtonContentView:ix,LabelPlaceholderView:cx,LabelView:sx}=a,lx=e=>{let{showTooltip:t,text:n,children:r}=e;return t&&n?Object(s.createElement)(h.a,{text:n,position:"top center"},r):Object(s.createElement)(s.Fragment,null,r)};var ux=Object(ts.a)((function e(t,n){const r=Object(s.useContext)(Uw),o=Object(p.useInstanceId)(e,r.baseId||"toggle-group-control-option"),a=Object(rs.a)({...t,id:o},"ToggleGroupControlOption"),{className:i,isBlock:l=!1,label:u,value:d,showTooltip:f=!1,...b}={...r,...a},h=b.state===d,m=Object(us.a)(),v=m(l&&Qw),g=m(ex,i,h&&tx),y=b["aria-label"]?b["aria-label"]:u;return Object(s.createElement)(sx,{className:v,"data-active":h},Object(s.createElement)(lx,{showTooltip:f,text:y},Object(s.createElement)(Zw,Object(c.a)({},b,{as:"button","aria-label":y,className:g,"data-value":d,ref:n,value:d}),Object(s.createElement)(ix,null,u),Object(s.createElement)(cx,{"aria-hidden":!0},u))))}),"ToggleGroupControlOption");const dx={slug:"default",name:Object(f.__)("Default")},fx={slug:"custom",name:Object(f.__)("Custom")},px=["1","2","3","4","5"];function bx(e){const[t,n]=(""+e).match(/[\d\.]+|\D+/g);return!isNaN(parseFloat(t))&&isFinite(t)?[t,n]:[]}function hx(e){return/^[\d\.]+(px|em|rem|vw|vh|%)?$/i.test(e)}function mx(e,t,n,r){return n&&!t.length?null:e?function(e,t){return[dx,...e,...t?[]:[fx]].map(e=>{let{slug:t,name:n,size:r}=e;return{key:t,name:n,size:r,__experimentalHint:r&&hx(r)&&parseFloat(r)}})}(t,n):function(e,t){return e.map((e,n)=>{let{slug:r,size:o,name:a}=e,i=t?px[n]:o;if(!t&&"string"==typeof o){const[e]=bx(o);i=e}return{key:r,value:o,label:i,name:a}})}(t,r)}var vx=Object(s.forwardRef)((function(e,t){var n,r;let{fallbackFontSize:o,fontSizes:a=[],disableCustomFontSizes:i=!1,onChange:l,value:u,withSlider:d=!1,withReset:p=!0}=e;const b=[typeof u,typeof(null==a||null===(n=a[0])||void 0===n?void 0:n.size)].includes("string"),h=b?parseInt(u):u,v="number"==typeof u||(null==u||null===(r=u.endsWith)||void 0===r?void 0:r.call(u,"px")),g=Ud({availableUnits:["px","em","rem"]}),y=a.some(e=>{let{size:t}=e;return!hx(t)}),O=a.length>5,j=Object(s.useMemo)(()=>mx(O,a,i,y),[O,a,i,y]),w=function(e,t){return t?e.find(e=>e.size===t)||fx:dx}(a,u),x="custom"===w.slug,[_,E]=Object(s.useState)(!i&&x),k=Object(s.useMemo)(()=>{if(_)return`(${Object(f.__)("Custom")})`;if(x)return hx(u)&&`(${u})`;if(O)return hx(null==w?void 0:w.size)&&`(${null==w?void 0:w.size})`;let e=w.name;if(!y&&"string"==typeof w.size){const[,t]=bx(w.size);e+=`(${t})`}return e},[_,null==w?void 0:w.slug,u,x,y]);if(!j)return null;const S=Object(f.sprintf)(Object(f.__)("Currently selected font size: %s"),w.name),C="components-font-size-picker";return Object(s.createElement)("fieldset",Object(c.a)({className:C},t?{}:{ref:t}),Object(s.createElement)(m.a,{as:"legend"},Object(f.__)("Font size")),Object(s.createElement)(Cs,{justify:"space-between",className:C+"__header"},Object(s.createElement)(ps,null,Object(f.__)("Size"),k&&Object(s.createElement)("span",{className:C+"__header__hint"},k)),!i&&Object(s.createElement)(ps,null,Object(s.createElement)(id.a,{label:_?Object(f.__)("Use size preset"):Object(f.__)("Set custom size"),showTooltip:!1,icon:Qp.a,onClick:()=>{E(!_)},isPressed:_,isSmall:!0}))),Object(s.createElement)("div",{className:C+"__controls"},!!a.length&&O&&!_&&Object(s.createElement)(bO,{className:C+"__select",label:Object(f.__)("Font size"),hideLabelFromVision:!0,describedBy:S,options:j,value:j.find(e=>e.key===w.slug),onChange:e=>{let{selectedItem:t}=e;l(b?t.size:Number(t.size)),"custom"===t.key&&E(!0)}}),!O&&!_&&Object(s.createElement)($w,{label:Object(f.__)("Font size"),hideLabelFromVision:!0,value:u,onChange:e=>{l(b?e:Number(e))},isBlock:!0},j.map(e=>Object(s.createElement)(ux,{key:e.key,value:e.value,label:e.label,"aria-label":e.name,showTooltip:!0}))),!d&&!i&&_&&Object(s.createElement)(Cs,{justify:"space-between",className:C+"__custom-size-control"},Object(s.createElement)(ps,{isBlock:!0},Object(s.createElement)(qd,{label:Object(f.__)("Custom"),labelPosition:"top",hideLabelFromVision:!0,value:u,onChange:e=>{0!==parseFloat(e)&&e?l(b?e:parseInt(e,10)):l(void 0)},units:!!b&&g})),p&&Object(s.createElement)(ps,{isBlock:!0},Object(s.createElement)(id.a,{className:"components-color-palette__clear",disabled:void 0===u,onClick:()=>{l(void 0)},isSmall:!0,variant:"secondary"},Object(f.__)("Reset"))))),d&&Object(s.createElement)(Lb,{className:C+"__custom-input",label:Object(f.__)("Custom Size"),value:v&&h||"",initialPosition:o,onChange:e=>{l(b?e+"px":e)},min:12,max:100}))}));var gx=function(e){let{accept:t,children:n,multiple:r=!1,onChange:o,render:a,...i}=e;const l=Object(s.useRef)(),u=()=>{l.current.click()},d=a?a({openFileDialog:u}):Object(s.createElement)(id.a,Object(c.a)({onClick:u},i),n);return Object(s.createElement)("div",{className:"components-form-file-upload"},d,Object(s.createElement)("input",{type:"file",ref:l,multiple:r,style:{display:"none"},accept:t,onChange:o}))};var yx=function(e){let{className:t,checked:n,id:r,disabled:o,onChange:a=l.noop,...i}=e;const u=d()("components-form-toggle",t,{"is-checked":n,"is-disabled":o});return Object(s.createElement)("span",{className:u},Object(s.createElement)("input",Object(c.a)({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:a,disabled:o},i)),Object(s.createElement)("span",{className:"components-form-toggle__track"}),Object(s.createElement)("span",{className:"components-form-toggle__thumb"}))},Ox=n("rl8x"),jx=n.n(Ox);function wx(e){let{value:t,status:n,title:r,displayTransform:o,isBorderless:a=!1,disabled:i=!1,onClickRemove:c=l.noop,onMouseEnter:u,onMouseLeave:b,messages:h,termPosition:v,termsCount:g}=e;const y=Object(p.useInstanceId)(wx),O=d()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":a,"is-disabled":i}),j=o(t),w=Object(f.sprintf)(Object(f.__)("%1$s (%2$s of %3$s)"),j,v,g);return Object(s.createElement)("span",{className:O,onMouseEnter:u,onMouseLeave:b,title:r},Object(s.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-"+y},Object(s.createElement)(m.a,{as:"span"},w),Object(s.createElement)("span",{"aria-hidden":"true"},j)),Object(s.createElement)(id.a,{className:"components-form-token-field__remove-token",icon:Qg.a,onClick:!i&&(()=>c({value:t})),label:h.remove,"aria-describedby":"components-form-token-field__token-text-"+y}))}var xx=Object(p.createHigherOrderComponent)(e=>t=>Object(s.createElement)(e,Object(c.a)({},t,{speak:od.speak,debouncedSpeak:Object(p.useDebounce)(od.speak,500)})),"withSpokenMessages");const _x={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1};class Ex extends s.Component{constructor(){super(...arguments),this.state=_x,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.deleteTokenBeforeInput=this.deleteTokenBeforeInput.bind(this),this.deleteTokenAfterInput=this.deleteTokenAfterInput.bind(this),this.addCurrentToken=this.addCurrentToken.bind(this),this.onContainerTouched=this.onContainerTouched.bind(this),this.renderToken=this.renderToken.bind(this),this.onTokenClickRemove=this.onTokenClickRemove.bind(this),this.onSuggestionHovered=this.onSuggestionHovered.bind(this),this.onSuggestionSelected=this.onSuggestionSelected.bind(this),this.onInputChange=this.onInputChange.bind(this),this.bindInput=this.bindInput.bind(this),this.bindTokensAndInput=this.bindTokensAndInput.bind(this),this.updateSuggestions=this.updateSuggestions.bind(this)}componentDidUpdate(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();const{suggestions:t,value:n}=this.props,r=!jx()(t,e.suggestions);(r||n!==e.value)&&this.updateSuggestions(r)}static getDerivedStateFromProps(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}bindInput(e){this.input=e}bindTokensAndInput(e){this.tokensAndInput=e}onFocus(e){const{__experimentalExpandOnFocus:t}=this.props;this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0,isExpanded:!!t||this.state.isExpanded}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}onBlur(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(_x)}onKeyDown(e){let t=!1;if(!e.defaultPrevented){switch(e.keyCode){case Nu.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case Nu.ENTER:t=this.addCurrentToken();break;case Nu.LEFT:t=this.handleLeftArrowKey();break;case Nu.UP:t=this.handleUpArrowKey();break;case Nu.RIGHT:t=this.handleRightArrowKey();break;case Nu.DOWN:t=this.handleDownArrowKey();break;case Nu.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case Nu.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case Nu.ESCAPE:t=this.handleEscapeKey(e)}t&&e.preventDefault()}}onKeyPress(e){let t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}onContainerTouched(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}onTokenClickRemove(e){this.deleteToken(e.value),this.input.focus()}onSuggestionHovered(e){const t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}onSuggestionSelected(e){this.addNewToken(e)}onInputChange(e){const t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=Object(l.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o},this.updateSuggestions),this.props.onInputChange(o)}handleDeleteKey(e){let t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}handleLeftArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}handleRightArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}handleUpArrowKey(){return this.setState((e,t)=>({selectedSuggestionIndex:(0===e.selectedSuggestionIndex?this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length:e.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0})),!0}handleDownArrowKey(){return this.setState((e,t)=>({selectedSuggestionIndex:(e.selectedSuggestionIndex+1)%this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length,selectedSuggestionScroll:!0})),!0}handleEscapeKey(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}handleCommaKey(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}moveInputToIndex(e){this.setState((t,n)=>({inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}))}moveInputBeforePreviousToken(){this.setState((e,t)=>({inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}))}moveInputAfterNextToken(){this.setState(e=>({inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}))}deleteTokenBeforeInput(){const e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}deleteTokenAfterInput(){const e=this.getIndexOfInput();e<this.props.value.length&&(this.deleteToken(this.props.value[e]),this.moveInputToIndex(e))}addCurrentToken(){let e=!1;const t=this.getSelectedSuggestion();return t?(this.addNewToken(t),e=!0):this.inputHasValidValue()&&(this.addNewToken(this.state.incompleteTokenValue),e=!0),e}addNewTokens(e){const t=Object(l.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter(e=>!this.valueContainsToken(e)));if(t.length>0){const e=Object(l.clone)(this.props.value);e.splice.apply(e,[this.getIndexOfInput(),0].concat(t)),this.props.onChange(e)}}addNewToken(e){const{__experimentalExpandOnFocus:t,__experimentalValidateInput:n}=this.props;n(e)?(this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!t}),this.state.isActive&&this.input.focus()):this.props.speak(this.props.messages.__experimentalInvalid,"assertive")}deleteToken(e){const t=this.props.value.filter(t=>this.getTokenValue(t)!==this.getTokenValue(e));this.props.onChange(t),this.props.speak(this.props.messages.removed,"assertive")}getTokenValue(e){return"object"==typeof e?e.value:e}getMatchingSuggestions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform)(e);const a=[],i=[];return 0===o.length?t=Object(l.difference)(t,n):(o=o.toLocaleLowerCase(),Object(l.each)(t,e=>{const t=e.toLocaleLowerCase().indexOf(o);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&i.push(e))}),t=a.concat(i)),Object(l.take)(t,r)}getSelectedSuggestion(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}valueContainsToken(e){return Object(l.some)(this.props.value,t=>this.getTokenValue(e)===this.getTokenValue(t))}getIndexOfInput(){return this.props.value.length-this.state.inputOffsetFromEnd}isInputEmpty(){return 0===this.state.incompleteTokenValue.length}inputHasValidValue(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}updateSuggestions(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const{__experimentalExpandOnFocus:t}=this.props,{incompleteTokenValue:n}=this.state,r=n.trim().length>1,o=this.getMatchingSuggestions(n),a=o.length>0,i={isExpanded:t||r&&a};if(e&&(i.selectedSuggestionIndex=-1,i.selectedSuggestionScroll=!1),this.setState(i),r){const{debouncedSpeak:e}=this.props;e(a?Object(f.sprintf)(Object(f._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",o.length),o.length):Object(f.__)("No results."),"assertive")}}renderTokensAndInput(){const e=Object(l.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}renderToken(e,t,n){const r=this.getTokenValue(e),o=e.status?e.status:void 0,a=t+1,i=n.length;return Object(s.createElement)(wx,{key:"token-"+r,value:r,status:o,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==o&&this.props.disabled,messages:this.props.messages,termsCount:i,termPosition:a})}renderInput(){const{autoCapitalize:e,autoComplete:t,maxLength:n,placeholder:r,value:o,instanceId:a}=this.props;let i={instanceId:a,autoCapitalize:e,autoComplete:t,placeholder:0===o.length?r:"",ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return n&&o.length>=n||(i={...i,onChange:this.onInputChange}),Object(s.createElement)(ty,i)}render(){const{disabled:e,label:t=Object(f.__)("Add item"),instanceId:n,className:r,__experimentalShowHowTo:o}=this.props,{isExpanded:a}=this.state,i=d()(r,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":e});let c={className:"components-form-token-field",tabIndex:"-1"};const l=this.getMatchingSuggestions();return e||(c=Object.assign({},c,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(s.createElement)("div",c,Object(s.createElement)("label",{htmlFor:"components-form-token-input-"+n,className:"components-form-token-field__label"},t),Object(s.createElement)("div",{ref:this.bindTokensAndInput,className:i,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),a&&Object(s.createElement)(ay,{instanceId:n,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:l,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),o&&Object(s.createElement)("p",{id:"components-form-token-suggestions-howto-"+n,className:"components-form-token-field__help"},this.props.tokenizeOnSpace?Object(f.__)("Separate with commas, spaces, or the Enter key."):Object(f.__)("Separate with commas or the Enter key.")))}}Ex.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:l.identity,saveTransform:e=>e.trim(),onChange:()=>{},onInputChange:()=>{},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:Object(f.__)("Item added."),removed:Object(f.__)("Item removed."),remove:Object(f.__)("Remove item"),__experimentalInvalid:Object(f.__)("Invalid item")},__experimentalExpandOnFocus:!1,__experimentalValidateInput:()=>!0,__experimentalShowHowTo:!0};var kx=xx(Object(p.withInstanceId)(Ex));const Sx={bottom:{alignItems:"flex-end",justifyContent:"center"},bottomLeft:{alignItems:"flex-start",justifyContent:"flex-end"},bottomRight:{alignItems:"flex-end",justifyContent:"flex-end"},center:{alignItems:"center",justifyContent:"center"},spaced:{alignItems:"center",justifyContent:"space-between"},left:{alignItems:"center",justifyContent:"flex-start"},right:{alignItems:"center",justifyContent:"flex-end"},stretch:{alignItems:"stretch"},top:{alignItems:"flex-start",justifyContent:"center"},topLeft:{alignItems:"flex-start",justifyContent:"flex-start"},topRight:{alignItems:"flex-start",justifyContent:"flex-end"}};function Cx(e){const{align:t,alignment:n,className:r,columnGap:o,columns:a=2,gap:i=3,isInline:c=!1,justify:l,rowGap:u,rows:d,templateColumns:f,templateRows:p,...b}=Object(rs.a)(e,"Grid"),h=gs(Array.isArray(a)?a:[a]),m=gs(Array.isArray(d)?d:[d]),v=f||!!a&&`repeat( ${h}, 1fr )`,g=p||!!d&&`repeat( ${m}, 1fr )`,y=Object(us.a)();return{...b,className:Object(s.useMemo)(()=>{const e=function(e){return e?Sx[e]:{}}(n),a=Object(x.a)({alignItems:t,display:c?"inline-grid":"grid",gap:`calc( ${Vs.gridBase} * ${i} )`,gridTemplateColumns:v||void 0,gridTemplateRows:g||void 0,gridRowGap:u,gridColumnGap:o,justifyContent:l,verticalAlign:c?"middle":void 0,...e},"","");return y(a,r)},[t,n,r,o,i,v,g,c,l,u])}}var Px=Object(ts.a)((function(e,t){const n=Cx(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"Grid");const Tx=new Set(["alert","status","log","marquee","timer"]);let Mx=[],Dx=!1;function Ix(e){if(Dx)return;const t=document.body.children;Object(l.forEach)(t,t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||Tx.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Mx.push(t))}),Dx=!0}var Rx=n("ek6p"),Ax=n("+1VY"),Nx=n("7Cbv");const Lx=new Set,Fx=Ns()(e=>{let t=Nx.a().replace(/[0-9]/g,"");for(;Lx.has(t);)t=Nx.a().replace(/[0-9]/g,"");return Lx.add(t),Object(Ax.a)({container:e,key:t})});function zx(e){let{children:t,document:n}=e;if(!n)return null;const r=Fx(n.head);return Object(s.createElement)(Rx.a,{value:r},t)}let Bx=0;function Hx(e){let{bodyOpenClassName:t="modal-open",role:n="dialog",title:r=null,focusOnMount:o=!0,shouldCloseOnEsc:a=!0,shouldCloseOnClickOutside:i=!0,isDismissable:u,isDismissible:b=u||!0,aria:h={labelledby:null,describedby:null},onRequestClose:m,icon:v,closeButtonLabel:g,children:y,style:O,overlayClassName:j,className:w,contentLabel:x,onKeyDown:_,isFullScreen:E=!1}=e;const k=Object(s.useRef)(),S=Object(p.useInstanceId)(Hx),C=r?"components-modal-header-"+S:h.labelledby,P=Object(p.useFocusOnMount)(o),T=Object(p.useConstrainedTabbing)(),M=Object(p.useFocusReturn)(),D=Object(p.__experimentalUseFocusOutside)(m);return Object(s.useEffect)(()=>(Bx++,1===Bx&&(Ix(k.current),document.body.classList.add(t)),()=>{Bx--,0===Bx&&(document.body.classList.remove(t),Dx&&(Object(l.forEach)(Mx,e=>{e.removeAttribute("aria-hidden")}),Mx=[],Dx=!1))}),[]),u&&hs()("isDismissable prop of the Modal component",{since:"5.4",alternative:"isDismissible prop (renamed) of the Modal component"}),Object(s.createPortal)(Object(s.createElement)("div",{ref:k,className:d()("components-modal__screen-overlay",j),onKeyDown:function(e){a&&e.keyCode===Nu.ESCAPE&&!e.defaultPrevented&&(e.preventDefault(),m&&m(e))}},Object(s.createElement)(zx,{document:document},Object(s.createElement)("div",Object(c.a)({className:d()("components-modal__frame",w,{"is-full-screen":E}),style:O,ref:Object(p.useMergeRefs)([T,M,P]),role:n,"aria-label":x,"aria-labelledby":x?null:C,"aria-describedby":h.describedby,tabIndex:"-1"},i?D:{},{onKeyDown:_}),Object(s.createElement)("div",{className:"components-modal__content",role:"document"},Object(s.createElement)("div",{className:"components-modal__header"},Object(s.createElement)("div",{className:"components-modal__header-heading-container"},v&&Object(s.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},v),r&&Object(s.createElement)("h1",{id:C,className:"components-modal__header-heading"},r)),b&&Object(s.createElement)(id.a,{onClick:m,icon:Qg.a,label:g||Object(f.__)("Close dialog")})),y)))),document.body)}const Vx=e=>{let{isSelected:t}=e;return Object(s.createElement)(i.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(s.createElement)(i.Circle,{cx:"4",cy:"4",r:"4",fill:t?"#419ECD":"#E1E3E6"}))};function Wx(e){let{currentPage:t,numberOfPages:n,setCurrentPage:r}=e;return Object(s.createElement)("ul",{className:"components-guide__page-control","aria-label":Object(f.__)("Guide controls")},Object(l.times)(n,e=>Object(s.createElement)("li",{key:e,"aria-current":e===t?"step":void 0},Object(s.createElement)(id.a,{key:e,icon:Object(s.createElement)(Vx,{isSelected:e===t}),"aria-label":Object(f.sprintf)(Object(f.__)("Page %1$d of %2$d"),e+1,n),onClick:()=>r(e)}))))}function Ux(e){const t=Object(s.useRef)();return Object(s.useLayoutEffect)(()=>{const{ownerDocument:e}=t.current,{activeElement:n,body:r}=e;n&&n!==r||t.current.focus()},[]),Object(s.createElement)(id.a,Object(c.a)({},e,{ref:t}))}function Kx(e){let{children:t,className:n,contentLabel:r,finishButtonText:o,onFinish:a,pages:i=[]}=e;const[c,l]=Object(s.useState)(0);Object(s.useEffect)(()=>{s.Children.count(t)&&hs()("Passing children to <Guide>",{since:"5.5",alternative:"the `pages` prop"})},[t]),s.Children.count(t)&&(i=s.Children.map(t,e=>({content:e})));const u=c>0,p=c<i.length-1,b=()=>{u&&l(c-1)},h=()=>{p&&l(c+1)};return 0===i.length?null:Object(s.createElement)(Hx,{className:d()("components-guide",n),contentLabel:r,onRequestClose:a,onKeyDown:e=>{e.keyCode===Nu.LEFT?b():e.keyCode===Nu.RIGHT&&h()}},Object(s.createElement)("div",{className:"components-guide__container"},Object(s.createElement)("div",{className:"components-guide__page"},i[c].image,i.length>1&&Object(s.createElement)(Wx,{currentPage:c,numberOfPages:i.length,setCurrentPage:l}),i[c].content,!p&&Object(s.createElement)(Ux,{className:"components-guide__inline-finish-button",onClick:a},o||Object(f.__)("Finish"))),Object(s.createElement)("div",{className:"components-guide__footer"},u&&Object(s.createElement)(id.a,{className:"components-guide__back-button",onClick:b},Object(f.__)("Previous")),p&&Object(s.createElement)(id.a,{className:"components-guide__forward-button",onClick:h},Object(f.__)("Next")),!p&&Object(s.createElement)(Ux,{className:"components-guide__finish-button",onClick:a},o||Object(f.__)("Finish")))))}function Gx(e){return Object(s.useEffect)(()=>{hs()("<GuidePage>",{since:"5.5",alternative:"the `pages` prop in <Guide>"})},[]),Object(s.createElement)("div",e)}var $x=Object(s.forwardRef)((function(e,t){let{labelPosition:n,size:r,tooltip:o,label:a,...i}=e;return hs()("wp.components.IconButton",{since:"5.4",alternative:"wp.components.Button"}),Object(s.createElement)(id.a,Object(c.a)({},i,{ref:t,tooltipPosition:n,iconSize:r,showTooltip:void 0!==o?!!o:void 0,label:o||a}))}));function qx(e){let{target:t,callback:n,shortcut:r,bindGlobal:o,eventName:a}=e;return Object(p.useKeyboardShortcut)(r,n,{bindGlobal:o,target:t,eventName:a}),null}var Yx=function(e){let{children:t,shortcuts:n,bindGlobal:r,eventName:o}=e;const a=Object(s.useRef)(),i=Object(l.map)(n,(e,t)=>Object(s.createElement)(qx,{key:t,shortcut:t,callback:e,bindGlobal:r,eventName:o,target:a}));return s.Children.count(t)?Object(s.createElement)("div",{ref:a},i,t):i};var Xx=function e(t){const{children:n,className:r="",label:o,hideSeparator:a}=t,i=Object(p.useInstanceId)(e);if(!s.Children.count(n))return null;const c="components-menu-group-label-"+i,l=d()(r,"components-menu-group",{"has-hidden-separator":a});return Object(s.createElement)("div",{className:l},o&&Object(s.createElement)("div",{className:"components-menu-group__label",id:c,"aria-hidden":"true"},o),Object(s.createElement)("div",{role:"group","aria-labelledby":o?c:null},n))},Zx=n("Cw+6");var Jx=Object(s.forwardRef)((function(e,t){let{children:n,info:r,className:o,icon:a,iconPosition:i="right",shortcut:u,isSelected:f,role:p="menuitem",...b}=e;return o=d()("components-menu-item__button",o),r&&(n=Object(s.createElement)("span",{className:"components-menu-item__info-wrapper"},Object(s.createElement)("span",{className:"components-menu-item__item"},n),Object(s.createElement)("span",{className:"components-menu-item__info"},r))),a&&!Object(l.isString)(a)&&(a=Object(s.cloneElement)(a,{className:d()("components-menu-items__item-icon",{"has-icon-right":"right"===i})})),Object(s.createElement)(id.a,Object(c.a)({ref:t,"aria-checked":"menuitemcheckbox"===p||"menuitemradio"===p?f:void 0,role:p,icon:"left"===i?a:void 0,className:o},b),Object(s.createElement)("span",{className:"components-menu-item__item"},n),Object(s.createElement)(Zx.a,{className:"components-menu-item__shortcut",shortcut:u}),a&&"right"===i&&Object(s.createElement)(ub.a,{icon:a}))}));function Qx(e){let{choices:t=[],onHover:n=l.noop,onSelect:r,value:o}=e;return t.map(e=>{const t=o===e.value;return Object(s.createElement)(Jx,{key:e.value,role:"menuitemradio",icon:t&&$p.a,info:e.info,isSelected:t,shortcut:e.shortcut,className:"components-menu-items-choice",onClick:()=>{t||r(e.value)},onMouseEnter:()=>n(e.value),onMouseLeave:()=>n(null),"aria-label":e["aria-label"]},e.label)})}var e_=n("k8OV");var t_=Object(s.forwardRef)((function(e,t){let{eventToOffset:n,...r}=e;return Object(s.createElement)(Tg,Object(c.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:e=>{const{keyCode:t,shiftKey:r}=e;return Nu.TAB===t?r?-1:1:n?n(e):void 0}},r))}));const n_="root",r_=Object(s.createContext)({activeItem:void 0,activeMenu:n_,setActiveMenu:l.noop,isMenuEmpty:l.noop,navigationTree:{items:{},getItem:l.noop,addItem:l.noop,removeItem:l.noop,menus:{},getMenu:l.noop,addMenu:l.noop,removeMenu:l.noop,childMenu:{},traverseMenu:l.noop,isMenuEmpty:l.noop}}),o_=()=>Object(s.useContext)(r_);var a_=n("cGtP");var i_=Object(s.forwardRef)((function e(t,n){let{className:r,onChange:o,onKeyDown:a,value:i,label:c,placeholder:l=Object(f.__)("Search"),hideLabelFromVision:u=!0,help:b,onClose:h}=t;const m=Object(p.useInstanceId)(e),v=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Object(s.useRef)(null);return Object(s.useEffect)(()=>{t.forEach(e=>{e&&("function"==typeof e?e(r.current):e.current=r.current)})},[t]),r}(n),g="components-search-control-"+m;return Object(s.createElement)(gd,{label:c,id:g,hideLabelFromVision:u,help:b,className:d()(r,"components-search-control")},Object(s.createElement)("div",{className:"components-search-control__input-wrapper"},Object(s.createElement)("input",{ref:v,className:"components-search-control__input",id:g,type:"search",placeholder:l,onChange:e=>o(e.target.value),onKeyDown:a,autoComplete:"off",value:i||""}),Object(s.createElement)("div",{className:"components-search-control__icon"},h?Object(s.createElement)(id.a,{icon:Qg.a,label:Object(f.__)("Close search"),onClick:h}):i?Object(s.createElement)(id.a,{icon:Qg.a,label:Object(f.__)("Reset search"),onClick:()=>{o(""),v.current.focus()}}):Object(s.createElement)(Gp.a,{icon:a_.a}))))}));const c_=Object(w.a)("div",{target:"ejwewyf11"})("width:100%;box-sizing:border-box;padding:0 ",ys(4),";overflow:hidden;"),s_=Object(w.a)("div",{target:"ejwewyf10"})("margin-top:",ys(6),";margin-bottom:",ys(6),";display:flex;flex-direction:column;ul{padding:0;margin:0;list-style:none;}.components-navigation__back-button{margin-bottom:",ys(6),";}.components-navigation__group+.components-navigation__group{margin-top:",ys(6),";}"),l_=Object(w.a)(id.a,{target:"ejwewyf9"})({name:"26l0q2",styles:"&.is-tertiary{color:inherit;opacity:0.7;&:hover:not( :disabled ){opacity:1;box-shadow:none;color:inherit;}&:active:not( :disabled ){background:transparent;opacity:1;color:inherit;}}"}),u_=Object(w.a)("div",{target:"ejwewyf8"})({name:"1aubja5",styles:"overflow:hidden;width:100%"}),d_=Object(w.a)("span",{target:"ejwewyf7"})("height:",ys(6),";.components-button.is-small{color:inherit;opacity:0.7;margin-right:",ys(1),";padding:0;&:active:not( :disabled ){background:none;opacity:1;color:inherit;}&:hover:not( :disabled ){box-shadow:none;opacity:1;color:inherit;}}"),f_=Object(w.a)(i_,{target:"ejwewyf6"})({name:"za3n3e",styles:"input[type='search'].components-search-control__input{margin:0;background:#303030;color:#fff;&:focus{background:#434343;color:#fff;}&::placeholder{color:rgba( 255, 255, 255, 0.6 );}}svg{fill:white;}.components-button.has-icon{padding:0;min-width:auto;}"}),p_=Object(w.a)(Wv,{target:"ejwewyf5"})("min-height:",ys(12),";align-items:center;color:inherit;display:flex;justify-content:space-between;margin-bottom:",ys(2),";padding:",()=>Object(f.isRTL)()?`${ys(1)} ${ys(4)} ${ys(1)} ${ys(2)}`:`${ys(1)} ${ys(2)} ${ys(1)} ${ys(4)}`,";"),b_=Object(w.a)("li",{target:"ejwewyf4"})("border-radius:2px;color:inherit;margin-bottom:0;>button,>a.components-button,>a{width:100%;color:inherit;opacity:0.7;padding:",ys(2)," ",ys(4),";",ks({textAlign:"left"},{textAlign:"right"})," &:hover,&:focus:not( [aria-disabled='true'] ):active,&:active:not( [aria-disabled='true'] ):active{color:inherit;opacity:1;}}&.is-active{background-color:",N.theme,";color:",S.white,";>button,>a{color:",S.white,";opacity:1;}}>svg path{color:",C.lightGray.ui,";}"),h_=Object(w.a)("div",{target:"ejwewyf3"})("display:flex;align-items:center;height:auto;min-height:40px;margin:0;padding:",ys(1.5)," ",ys(4),";font-weight:400;line-height:20px;width:100%;color:inherit;opacity:0.7;"),m_=Object(w.a)("span",{target:"ejwewyf2"})("display:flex;margin-right:",ys(2),";"),v_=Object(w.a)("span",{target:"ejwewyf1"})("margin-left:",()=>Object(f.isRTL)()?"0":ys(2),";margin-right:",()=>Object(f.isRTL)()?ys(2):"0",";display:inline-flex;padding:",ys(1)," ",ys(3),";border-radius:2px;animation:fade-in 250ms ease-out;@keyframes fade-in{from{opacity:0;}to{opacity:1;}}",F("animation"),";"),g_=Object(w.a)(ol,{target:"ejwewyf0"})(()=>Object(f.isRTL)()?"margin-left: auto;":"margin-right: auto;"," font-size:14px;line-height:20px;color:inherit;"),y_=()=>{const[e,t]=Object(s.useState)({});return{nodes:e,getNode:t=>e[t],addNode:(e,n)=>t(t=>({...t,[e]:Object(l.omit)(n,"children")})),removeNode:e=>t(t=>Object(l.omit)(t,e))}};function O_(e){let{activeItem:t,activeMenu:n=n_,children:r,className:o,onActivateMenu:a=l.noop}=e;const[i,c]=Object(s.useState)(n),[u,p]=Object(s.useState)(),b=(()=>{const{nodes:e,getNode:t,addNode:n,removeNode:r}=y_(),{nodes:o,getNode:a,addNode:i,removeNode:c}=y_(),[l,u]=Object(s.useState)({}),d=(e,t)=>{const n=[];let r,o=[e];for(;o.length>0&&(r=a(o.shift()),!r||n.includes(r.menu)||(n.push(r.menu),o=[...o,...(i=r.menu,l[i]||[])],!1!==t(r))););var i};return{items:e,getItem:t,addItem:n,removeItem:r,menus:o,getMenu:a,addMenu:(e,t)=>{u(n=>{const r={...n};return r[t.parentMenu]||(r[t.parentMenu]=[]),r[t.parentMenu].push(e),r}),i(e,t)},removeMenu:c,childMenu:l,traverseMenu:d,isMenuEmpty:e=>{let t=!0;return d(e,e=>{if(!e.isEmpty)return t=!1,!1}),t}}})(),h=Object(f.isRTL)()?"right":"left",m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h;b.getMenu(e)&&(p(t),c(e),a(e))},v=Object(s.useRef)(!1);Object(s.useEffect)(()=>{v.current||(v.current=!0)},[]),Object(s.useEffect)(()=>{n!==i&&m(n)},[n]);const g={activeItem:t,activeMenu:i,setActiveMenu:m,navigationTree:b},y=d()("components-navigation",o),O=Object(rt.b)({type:"slide-in",origin:u});return Object(s.createElement)(c_,{className:y},Object(s.createElement)("div",{key:i,className:d()({[O]:v.current&&u})},Object(s.createElement)(r_.Provider,{value:g},r)))}var j_=n("1iEr"),w_=n("2gm7");var x_=Object(s.forwardRef)((function(e,t){var n;let{backButtonLabel:r,className:o,href:a,onClick:i,parentMenu:c}=e;const{setActiveMenu:l,navigationTree:u}=o_(),p=d()("components-navigation__back-button",o),b=null===(n=u.getMenu(c))||void 0===n?void 0:n.title,h=Object(f.isRTL)()?j_.a:w_.a;return Object(s.createElement)(l_,{className:p,href:a,variant:"tertiary",ref:t,onClick:e=>{"function"==typeof i&&i(e);const t=Object(f.isRTL)()?"left":"right";c&&!e.defaultPrevented&&l(c,t)}},Object(s.createElement)(Gp.a,{icon:h}),r||b||Object(f.__)("Back"))}));const __=Object(s.createContext)({group:void 0});function E_(e){let{children:t,className:n,title:r}=e;const[o]=Object(s.useState)(Object(l.uniqueId)("group-")),{navigationTree:{items:a}}=o_(),i={group:o};if(!Object(l.find)(a,{group:o,_isVisible:!0}))return Object(s.createElement)(__.Provider,{value:i},t);const c="components-navigation__group-title-"+o,u=d()("components-navigation__group",n);return Object(s.createElement)(__.Provider,{value:i},Object(s.createElement)("li",{className:u},r&&Object(s.createElement)(p_,{className:"components-navigation__group-title",id:c,level:3},r),Object(s.createElement)("ul",{"aria-labelledby":c,role:"group"},t)))}function k_(e){const{badge:t,title:n}=e;return Object(s.createElement)(s.Fragment,null,n&&Object(s.createElement)(g_,{className:"components-navigation__item-title",variant:"body.small",as:"span"},n),t&&Object(s.createElement)(v_,{className:"components-navigation__item-badge"},t))}const S_=Object(s.createContext)({menu:void 0,search:""}),C_=()=>Object(s.useContext)(S_),P_=e=>Object(l.deburr)(e).replace(/^\//,"").toLowerCase(),T_=(e,t)=>{const{activeMenu:n,navigationTree:{addItem:r,removeItem:o}}=o_(),{group:a}=Object(s.useContext)(__),{menu:i,search:c}=C_();Object(s.useEffect)(()=>{const s=n===i,l=!c||((e,t)=>-1!==P_(e).indexOf(P_(t)))(t.title,c);return r(e,{...t,group:a,menu:i,_isVisible:s&&l}),()=>{o(e)}},[n,c])};function M_(e){var t;const{children:n,className:r,...o}=e,[a]=Object(s.useState)(Object(l.uniqueId)("item-"));T_(a,e);const{navigationTree:i}=o_();if(null===(t=i.getItem(a))||void 0===t||!t._isVisible)return null;const u=d()("components-navigation__item",r);return Object(s.createElement)(b_,Object(c.a)({className:u},o),n)}function D_(e){const{badge:t,children:n,className:r,href:o,item:a,navigateToMenu:i,onClick:u=l.noop,title:p,icon:b,hideIfTargetMenuEmpty:h,isText:m,...v}=e,{activeItem:g,setActiveMenu:y,navigationTree:{isMenuEmpty:O}}=o_();if(h&&i&&O(i))return null;const j=a&&g===a,w=d()(r,{"is-active":j}),x=Object(f.isRTL)()?w_.a:j_.a,_=n?e:{...e,onClick:void 0},E=m?v:{as:id.a,href:o,onClick:e=>{i&&y(i),u(e)},"aria-current":j?"page":void 0,...v};return Object(s.createElement)(M_,Object(c.a)({},_,{className:w}),n||Object(s.createElement)(h_,E,b&&Object(s.createElement)(m_,null,Object(s.createElement)(Gp.a,{icon:b})),Object(s.createElement)(k_,{title:p,badge:t}),i&&Object(s.createElement)(Gp.a,{icon:x})))}var I_=xx((function(e){let{debouncedSpeak:t,onCloseSearch:n,onSearch:r,search:o,title:a}=e;const{navigationTree:{items:i}}=o_(),{menu:c}=C_(),u=Object(s.useRef)();Object(s.useEffect)(()=>{const e=setTimeout(()=>{u.current.focus()},100);return()=>{clearTimeout(e)}},[]),Object(s.useEffect)(()=>{if(!o)return;const e=Object(l.filter)(i,"_isVisible").length,n=Object(f.sprintf)(Object(f._n)("%d result found.","%d results found.",e),e);t(n)},[i,o]);const d=()=>{r(""),n()},p="components-navigation__menu-title-search-"+c,b=Object(f.sprintf)(Object(f.__)("Search %s"),null==a?void 0:a.toLowerCase()).trim();return Object(s.createElement)("div",{className:"components-navigation__menu-title-search"},Object(s.createElement)(f_,{autoComplete:"off",className:"components-navigation__menu-search-input",id:p,onChange:e=>r(e),onKeyDown:function(e){e.keyCode!==Nu.ESCAPE||e.defaultPrevented||(e.preventDefault(),d())},placeholder:b,onClose:d,ref:u,type:"search",value:o}))}));function R_(e){let{hasSearch:t,onSearch:n,search:r,title:o,titleAction:a}=e;const[i,c]=Object(s.useState)(!1),{menu:l}=C_(),u=Object(s.useRef)();if(!o)return null;const d="components-navigation__menu-title-"+l,p=Object(f.sprintf)(Object(f.__)("Search in %s"),o);return Object(s.createElement)(u_,{className:"components-navigation__menu-title"},!i&&Object(s.createElement)(p_,{as:"h2",className:"components-navigation__menu-title-heading",level:3},Object(s.createElement)("span",{id:d},o),(t||a)&&Object(s.createElement)(d_,null,a,t&&Object(s.createElement)(id.a,{isSmall:!0,variant:"tertiary",label:p,onClick:()=>c(!0),ref:u},Object(s.createElement)(Gp.a,{icon:a_.a})))),i&&Object(s.createElement)("div",{className:Object(rt.b)({type:"slide-in",origin:"left"})},Object(s.createElement)(I_,{onCloseSearch:()=>{c(!1),setTimeout(()=>{u.current.focus()},100)},onSearch:n,search:r,title:o})))}function A_(e){let{search:t}=e;const{navigationTree:{items:n}}=o_(),r=Object(l.filter)(n,"_isVisible").length;return!t||r?null:Object(s.createElement)(b_,null,Object(s.createElement)(h_,null,Object(f.__)("No results found.")," "))}function N_(e){const{backButtonLabel:t,children:n,className:r,hasSearch:o,menu:a=n_,onBackButtonClick:i,onSearch:c,parentMenu:l,search:u,isSearchDebouncing:f,title:p,titleAction:b}=e,[h,m]=Object(s.useState)("");(e=>{const{navigationTree:{addMenu:t,removeMenu:n}}=o_(),r=e.menu||n_;Object(s.useEffect)(()=>(t(r,{...e,menu:r}),()=>{n(r)}),[])})(e);const{activeMenu:v}=o_(),g={menu:a,search:h};if(v!==a)return Object(s.createElement)(S_.Provider,{value:g},n);const y=!!c,O=y?u:h,j=y?c:m,w="components-navigation__menu-title-"+a,x=d()("components-navigation__menu",r);return Object(s.createElement)(S_.Provider,{value:g},Object(s.createElement)(s_,{className:x},(l||i)&&Object(s.createElement)(x_,{backButtonLabel:t,parentMenu:l,onClick:i}),p&&Object(s.createElement)(R_,{hasSearch:o,onSearch:j,search:O,title:p,titleAction:b}),Object(s.createElement)(Mg,null,Object(s.createElement)("ul",{"aria-labelledby":w},n,O&&!f&&Object(s.createElement)(A_,{search:O})))))}const L_=Object(s.createContext)([{},()=>{}]);var F_={name:"15bx5k",styles:"overflow-x:hidden"};var z_=Object(ts.a)((function(e,t){const{initialPath:n,children:r,className:o,...a}=Object(rs.a)(e,"NavigatorProvider"),[i,l]=Object(s.useState)({path:n}),u=Object(us.a)(),d=Object(s.useMemo)(()=>u(F_,o),[o]);return Object(s.createElement)(ns.a,Object(c.a)({ref:t,className:d},a),Object(s.createElement)(L_.Provider,{value:[i,l]},r))}),"NavigatorProvider");var B_={name:"14x3t6z",styles:"overflow-x:auto;max-height:100%"};var H_=Object(ts.a)((function(e,t){const{children:n,className:r,path:o,...a}=Object(rs.a)(e,"NavigatorScreen"),i=Object(p.useReducedMotion)(),[l]=Object(s.useContext)(L_),u=l.path===o,d=Object(p.useFocusOnMount)(),b=Object(us.a)(),h=Object(s.useMemo)(()=>b(B_,r),[r]),[m,v]=Object(s.useState)(!1);if(Object(s.useEffect)(()=>{v(!0)},[o]),!u)return null;if(i)return Object(s.createElement)(ns.a,Object(c.a)({ref:t,className:h},a),n);const g={opacity:1,transition:{delay:0,duration:.14,ease:"easeInOut"},x:0},y={opacity:0,x:Object(f.isRTL)()&&l.isBack||!Object(f.isRTL)()&&!l.isBack?50:-50},O={animate:g,exit:{delay:0,opacity:0,x:!Object(f.isRTL)()&&l.isBack||Object(f.isRTL)()&&!l.isBack?50:-50,transition:{duration:.14,ease:"easeInOut"}},initial:y};return Object(s.createElement)(es.div,Object(c.a)({ref:m?d:void 0,className:h},a,O),n)}),"NavigatorScreen");var V_=function(){const[,e]=Object(s.useContext)(L_);return{push(t,n){e({path:t,...n})}}},W_=n("w95h");function U_(e){switch(e){case"success":case"warning":case"info":return"polite";case"error":default:return"assertive"}}var K_=function(e){let{className:t,status:n="info",children:r,spokenMessage:o=r,onRemove:a=l.noop,isDismissible:i=!0,actions:c=[],politeness:u=U_(n),__unstableHTML:p,onDismiss:b=l.noop}=e;!function(e,t){const n="string"==typeof e?e:Object(s.renderToString)(e);Object(s.useEffect)(()=>{n&&Object(od.speak)(n,t)},[n,t])}(o,u);const h=d()(t,"components-notice","is-"+n,{"is-dismissible":i});return p&&(r=Object(s.createElement)(s.RawHTML,null,r)),Object(s.createElement)("div",{className:h},Object(s.createElement)("div",{className:"components-notice__content"},r,Object(s.createElement)("div",{className:"components-notice__actions"},c.map((e,t)=>{let{className:n,label:r,isPrimary:o,variant:a,noDefaultClasses:i=!1,onClick:c,url:l}=e,u=a;return"primary"===a||i||(u=l?"link":"secondary"),void 0===u&&o&&(u="primary"),Object(s.createElement)(id.a,{key:t,href:l,variant:u,onClick:l?void 0:c,className:d()("components-notice__action",n)},r)}))),i&&Object(s.createElement)(id.a,{className:"components-notice__dismiss",icon:W_.a,label:Object(f.__)("Dismiss this notice"),onClick:e=>{var t;null==e||null===(t=e.preventDefault)||void 0===t||t.call(e),b(),a()},showTooltip:!1}))};var G_=function(e){let{notices:t,onRemove:n=l.noop,className:r,children:o}=e;return r=d()("components-notice-list",r),Object(s.createElement)("div",{className:r},o,[...t].reverse().map(e=>{return Object(s.createElement)(K_,Object(c.a)({},Object(l.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,()=>n(t))}),e.content);var t}))};var $_=function(e){let{label:t,children:n}=e;return Object(s.createElement)("div",{className:"components-panel__header"},t&&Object(s.createElement)("h2",null,t),n)};var q_=Object(s.forwardRef)((function(e,t){let{header:n,className:r,children:o}=e;const a=d()(r,"components-panel");return Object(s.createElement)("div",{className:a,ref:t},n&&Object(s.createElement)($_,{label:n}),o)})),Y_=n("XgzB");const X_=Object(s.forwardRef)((e,t)=>{let{isOpened:n,icon:r,title:o,...a}=e;return o?Object(s.createElement)("h2",{className:"components-panel__body-title"},Object(s.createElement)(id.a,Object(c.a)({className:"components-panel__body-toggle","aria-expanded":n,ref:t},a),Object(s.createElement)("span",{"aria-hidden":"true"},Object(s.createElement)(ub.a,{className:"components-panel__arrow",icon:n?Y_.a:ab.a})),o,r&&Object(s.createElement)(ub.a,{icon:r,className:"components-panel__icon",size:20}))):null}),Z_=Object(s.forwardRef)((function(e,t){let{buttonProps:n={},children:r,className:o,icon:a,initialOpen:i,onToggle:u=l.noop,opened:f,title:b,scrollAfterOpen:h=!0}=e;const[m,v]=$d(f,{initial:void 0===i||i}),g=Object(s.useRef)(),y=Object(p.useReducedMotion)()?"auto":"smooth",O=Object(s.useRef)();O.current=h,Ku(()=>{var e;m&&O.current&&null!==(e=g.current)&&void 0!==e&&e.scrollIntoView&&g.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:y})},[m,y]);const j=d()("components-panel__body",o,{"is-opened":m});return Object(s.createElement)("div",{className:j,ref:Object(p.useMergeRefs)([g,t])},Object(s.createElement)(X_,Object(c.a)({icon:a,isOpened:m,onClick:e=>{e.preventDefault();const t=!m;v(t),u(t)},title:b},n)),"function"==typeof r?r({opened:m}):m&&r)}));Z_.displayName="PanelBody";var J_=Z_;var Q_=Object(s.forwardRef)((e,t)=>{let{className:n,children:r}=e;return Object(s.createElement)("div",{className:d()("components-panel__row",n),ref:t},r)});var eE=function(e){let{icon:t,children:n,label:r,instructions:o,className:a,notices:i,preview:l,isColumnLayout:u,...f}=e;const[b,{width:h}]=Object(p.useResizeObserver)();let m;"number"==typeof h&&(m={"is-large":h>=480,"is-medium":h>=160&&h<480,"is-small":h<160});const v=d()("components-placeholder",a,m),g=d()("components-placeholder__fieldset",{"is-column-layout":u});return Object(s.createElement)("div",Object(c.a)({},f,{className:v}),b,i,l&&Object(s.createElement)("div",{className:"components-placeholder__preview"},l),Object(s.createElement)("div",{className:"components-placeholder__label"},Object(s.createElement)(ub.a,{icon:t}),r),!!o&&Object(s.createElement)("div",{className:"components-placeholder__instructions"},o),Object(s.createElement)("div",{className:g},n))};function tE(e){const t=e.map(e=>({children:[],parent:null,...e})),n=Object(l.groupBy)(t,"parent");if(n.null&&n.null.length)return t;const r=e=>e.map(e=>{const t=n[e.id];return{...e,children:t&&t.length?r(t):[]}});return r(n[0]||[])}function nE(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object(l.flatMap)(e,e=>[{value:e.id,label:Object(l.repeat)(" ",3*t)+Object(l.unescape)(e.name)},...nE(e.children||[],t+1)])}function rE(e){let{label:t,noOptionLabel:n,onChange:r,selectedId:o,tree:a,...i}=e;const u=Object(s.useMemo)(()=>Object(l.compact)([n&&{value:"",label:n},...nE(a)]),[n,a]);return Object(s.createElement)(lb,Object(c.a)({label:t,options:u,onChange:r,value:o},i))}function oE(e){let{label:t,noOptionLabel:n,categoriesList:r,selectedCategoryId:o,onChange:a,...i}=e;const l=Object(s.useMemo)(()=>tE(r),[r]);return Object(s.createElement)(rE,Object(c.a)({label:t,noOptionLabel:n,onChange:a,tree:l,selectedId:o},i))}function aE(e){let{label:t,noOptionLabel:n,authorList:r,selectedAuthorId:o,onChange:a}=e;if(!r)return null;const i=tE(r);return Object(s.createElement)(rE,{label:t,noOptionLabel:n,onChange:a,tree:i,selectedId:o})}const iE=1,cE=100;function sE(e){let{authorList:t,selectedAuthorId:n,categoriesList:r,selectedCategoryId:o,categorySuggestions:a,selectedCategories:i,numberOfItems:c,order:l,orderBy:u,maxItems:d=cE,minItems:p=iE,onCategoryChange:b,onAuthorChange:h,onNumberOfItemsChange:m,onOrderChange:v,onOrderByChange:g}=e;return[v&&g&&Object(s.createElement)(lb,{key:"query-controls-order-select",label:Object(f.__)("Order by"),value:`${u}/${l}`,options:[{label:Object(f.__)("Newest to oldest"),value:"date/desc"},{label:Object(f.__)("Oldest to newest"),value:"date/asc"},{label:Object(f.__)("A → Z"),value:"title/asc"},{label:Object(f.__)("Z → A"),value:"title/desc"}],onChange:e=>{const[t,n]=e.split("/");n!==l&&v(n),t!==u&&g(t)}}),r&&b&&Object(s.createElement)(oE,{key:"query-controls-category-select",categoriesList:r,label:Object(f.__)("Category"),noOptionLabel:Object(f.__)("All"),selectedCategoryId:o,onChange:b}),a&&b&&Object(s.createElement)(kx,{key:"query-controls-categories-select",label:Object(f.__)("Categories"),value:i&&i.map(e=>({id:e.id,value:e.name||e.value})),suggestions:Object.keys(a),onChange:b,maxSuggestions:20}),h&&Object(s.createElement)(aE,{key:"query-controls-author-select",authorList:t,label:Object(f.__)("Author"),noOptionLabel:Object(f.__)("All"),selectedAuthorId:n,onChange:h}),m&&Object(s.createElement)(Lb,{key:"query-controls-range-control",label:Object(f.__)("Number of items"),value:c,onChange:m,min:p,max:d,required:!0})]}var lE=Object(s.createContext)({state:null,setState:()=>{}});var uE=Object(s.forwardRef)((function(e,t){let{children:n,value:r,...o}=e;const a=Object(s.useContext)(lE),i=a.state===r;return Object(s.createElement)(Zw,Object(c.a)({ref:t,as:id.a,variant:i?"primary":"secondary",value:r},a,o),n||r)}));var dE=Object(s.forwardRef)((function(e,t){let{label:n,checked:r,defaultChecked:o,disabled:a,onChange:i,...l}=e;const u=Rw({state:o,baseId:l.id}),d={...u,disabled:a,state:null!=r?r:u.state,setState:null!=i?i:u.setState};return Object(s.createElement)(lE.Provider,{value:d},Object(s.createElement)(zw,Object(c.a)({ref:t,as:Zf,"aria-label":n},u,l)))}));function fE(e){let{label:t,className:n,selected:r,help:o,onChange:a,hideLabelFromVision:i,options:u=[],...f}=e;const b="inspector-radio-control-"+Object(p.useInstanceId)(fE),h=e=>a(e.target.value);return!Object(l.isEmpty)(u)&&Object(s.createElement)(gd,{label:t,id:b,hideLabelFromVision:i,help:o,className:d()(n,"components-radio-control")},u.map((e,t)=>Object(s.createElement)("div",{key:`${b}-${t}`,className:"components-radio-control__option"},Object(s.createElement)("input",Object(c.a)({id:`${b}-${t}`,className:"components-radio-control__input",type:"radio",name:b,value:e.value,onChange:h,checked:e.value===r,"aria-describedby":o?b+"__help":void 0},f)),Object(s.createElement)("label",{htmlFor:`${b}-${t}`},e.label))))}var pE=function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),bE=function(){return(bE=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},hE={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},mE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return pE(t,e),t.prototype.render=function(){return q.createElement("div",{className:this.props.className||"",style:bE(bE({position:"absolute",userSelect:"none"},hE[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(q.PureComponent),vE=n("75pU"),gE=n.n(vE),yE=function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),OE=function(){return(OE=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},jE={width:"auto",height:"auto"},wE=gE()((function(e,t,n){return Math.max(Math.min(e,n),t)})),xE=gE()((function(e,t){return Math.round(e/t)*t})),_E=gE()((function(e,t){return new RegExp(e,"i").test(t)})),EE=function(e){return Boolean(e.touches&&e.touches.length)},kE=gE()((function(e,t,n){void 0===n&&(n=0);var r=t.reduce((function(n,r,o){return Math.abs(r-e)<Math.abs(t[n]-e)?o:n}),0),o=Math.abs(t[r]-e);return 0===n||o<n?t[r]:e})),SE=gE()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),CE=gE()((function(e){return"auto"===(e=e.toString())||SE(e,"px")||SE(e,"%")||SE(e,"vh")||SE(e,"vw")||SE(e,"vmax")||SE(e,"vmin")?e:e+"px"})),PE=function(e,t,n,r){if(e&&"string"==typeof e){if(SE(e,"px"))return Number(e.replace("px",""));if(SE(e,"%"))return t*(Number(e.replace("%",""))/100);if(SE(e,"vw"))return n*(Number(e.replace("vw",""))/100);if(SE(e,"vh"))return r*(Number(e.replace("vh",""))/100)}return e},TE=gE()((function(e,t,n,r,o,a,i){return r=PE(r,e.width,t,n),o=PE(o,e.height,t,n),a=PE(a,e.width,t,n),i=PE(i,e.height,t,n),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===o?void 0:Number(o),minWidth:void 0===a?void 0:Number(a),minHeight:void 0===i?void 0:Number(i)}})),ME=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],DE=function(e){function t(t){var n=e.call(this,t)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableRight=0,n.resizableTop=0,n.resizableBottom=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var e=n.parentNode;if(!e)return null;var t=n.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0",t.classList?t.classList.add("__resizable_base__"):t.className+="__resizable_base__",e.appendChild(t),t},n.removeBase=function(e){var t=n.parentNode;t&&t.removeChild(e)},n.ref=function(e){e&&(n.resizable=e)},n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return yE(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||jE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,o=this.resizable.style.position;"relative"!==o&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=o}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&SE(e.propsSize[t].toString(),"%")){if(SE(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return CE(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?CE(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?CE(t.height):n("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,n=this.parentNode.style.flexWrap;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var r={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=n),this.removeBase(e),r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var n,r,o=this.props.boundsByDirection,a=this.state.direction,i=o&&_E("left",a),c=o&&_E("top",a);if("parent"===this.props.bounds){var s=this.parentNode;s&&(n=i?this.resizableRight-this.parentLeft:s.offsetWidth+(this.parentLeft-this.resizableLeft),r=c?this.resizableBottom-this.parentTop:s.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(n=i?this.resizableRight:this.window.innerWidth-this.resizableLeft,r=c?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(n=i?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),r=c?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return n&&Number.isFinite(n)&&(e=e&&e<n?e:n),r&&Number.isFinite(r)&&(t=t&&t<r?t:r),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n=this.props.scale||1,r=this.props.resizeRatio||1,o=this.state,a=o.direction,i=o.original,c=this.props,s=c.lockAspectRatio,l=c.lockAspectRatioExtraHeight,u=c.lockAspectRatioExtraWidth,d=i.width,f=i.height,p=l||0,b=u||0;return _E("right",a)&&(d=i.width+(e-i.x)*r/n,s&&(f=(d-b)/this.ratio+p)),_E("left",a)&&(d=i.width-(e-i.x)*r/n,s&&(f=(d-b)/this.ratio+p)),_E("bottom",a)&&(f=i.height+(t-i.y)*r/n,s&&(d=(f-p)*this.ratio+b)),_E("top",a)&&(f=i.height-(t-i.y)*r/n,s&&(d=(f-p)*this.ratio+b)),{newWidth:d,newHeight:f}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var o=this.props,a=o.lockAspectRatio,i=o.lockAspectRatioExtraHeight,c=o.lockAspectRatioExtraWidth,s=void 0===r.width?10:r.width,l=void 0===n.width||n.width<0?e:n.width,u=void 0===r.height?10:r.height,d=void 0===n.height||n.height<0?t:n.height,f=i||0,p=c||0;if(a){var b=(u-f)*this.ratio+p,h=(d-f)*this.ratio+p,m=(s-p)/this.ratio+f,v=(l-p)/this.ratio+f,g=Math.max(s,b),y=Math.min(l,h),O=Math.max(u,m),j=Math.min(d,v);e=wE(e,g,y),t=wE(t,O,j)}else e=wE(e,s,l),t=wE(t,u,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left,this.targetTop=n.top}if(this.resizable){var r=this.resizable.getBoundingClientRect(),o=r.left,a=r.top,i=r.right,c=r.bottom;this.resizableLeft=o,this.resizableRight=i,this.resizableTop=a,this.resizableBottom=c}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var n,r=0,o=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)?(r=e.nativeEvent.clientX,o=e.nativeEvent.clientY):e.nativeEvent&&EE(e.nativeEvent)&&(r=e.nativeEvent.touches[0].clientX,o=e.nativeEvent.touches[0].clientY),this.props.onResizeStart)if(this.resizable)if(!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var a=this.window.getComputedStyle(this.resizable);if("auto"!==a.flexBasis){var i=this.parentNode;if(i){var c=this.window.getComputedStyle(i).flexDirection;this.flexDir=c.startsWith("row")?"row":"column",n=a.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var s={original:{x:r,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:OE(OE({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(s)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&EE(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var t=this.props,n=t.maxWidth,r=t.maxHeight,o=t.minWidth,a=t.minHeight,i=EE(e)?e.touches[0].clientX:e.clientX,c=EE(e)?e.touches[0].clientY:e.clientY,s=this.state,l=s.direction,u=s.original,d=s.width,f=s.height,p=this.getParentSize(),b=TE(p,this.window.innerWidth,this.window.innerHeight,n,r,o,a);n=b.maxWidth,r=b.maxHeight,o=b.minWidth,a=b.minHeight;var h=this.calculateNewSizeFromDirection(i,c),m=h.newHeight,v=h.newWidth,g=this.calculateNewMaxFromBoundary(n,r),y=this.calculateNewSizeFromAspectRatio(v,m,{width:g.maxWidth,height:g.maxHeight},{width:o,height:a});if(v=y.newWidth,m=y.newHeight,this.props.grid){var O=xE(v,this.props.grid[0]),j=xE(m,this.props.grid[1]),w=this.props.snapGap||0;v=0===w||Math.abs(O-v)<=w?O:v,m=0===w||Math.abs(j-m)<=w?j:m}this.props.snap&&this.props.snap.x&&(v=kE(v,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(m=kE(m,this.props.snap.y,this.props.snapGap));var x={width:v-u.width,height:m-u.height};if(d&&"string"==typeof d)if(SE(d,"%"))v=v/p.width*100+"%";else if(SE(d,"vw")){v=v/this.window.innerWidth*100+"vw"}else if(SE(d,"vh")){v=v/this.window.innerHeight*100+"vh"}if(f&&"string"==typeof f)if(SE(f,"%"))m=m/p.height*100+"%";else if(SE(f,"vw")){m=m/this.window.innerWidth*100+"vw"}else if(SE(f,"vh")){m=m/this.window.innerHeight*100+"vh"}var _={width:this.createSizeForCssProperty(v,"width"),height:this.createSizeForCssProperty(m,"height")};"row"===this.flexDir?_.flexBasis=_.width:"column"===this.flexDir&&(_.flexBasis=_.height),this.setState(_),this.props.onResize&&this.props.onResize(e,l,this.resizable,x)}},t.prototype.onMouseUp=function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n&&this.resizable){var a={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,a),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:OE(OE({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,o=t.handleClasses,a=t.handleWrapperStyle,i=t.handleWrapperClass,c=t.handleComponent;if(!n)return null;var s=Object.keys(n).map((function(t){return!1!==n[t]?q.createElement(mE,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]},c&&c[t]?c[t]:null):null}));return q.createElement("div",{className:i,style:a},s)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==ME.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=OE(OE(OE({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var r=this.props.as||"div";return q.createElement(r,OE({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&q.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(q.PureComponent);const{clearTimeout:IE,setTimeout:RE}=window,AE={bottom:"bottom",corner:"corner"};function NE(e){let{axis:t,fadeTimeout:n=180,onResize:r=l.noop,position:o=AE.bottom,showPx:a=!1}=e;const[i,c]=jj()(),u=!!t,[d,f]=Object(s.useState)(!1),[p,b]=Object(s.useState)(!1),{width:h,height:m}=c,v=Object(s.useRef)(m),g=Object(s.useRef)(h),y=Object(s.useRef)(),O=()=>{u||(f(!1),b(!1))};Object(s.useEffect)(()=>{if(!(null!==h||null!==m))return;const e=h!==g.current,t=m!==v.current;if(e||t){if(h&&!g.current&&m&&!v.current)return g.current=h,void(v.current=m);e&&(f(!0),g.current=h),t&&(b(!0),v.current=m),r({width:h,height:m}),y.current&&IE(y.current),y.current=RE(O,n)}},[h,m]);return{label:function(e){let{axis:t,height:n,moveX:r=!1,moveY:o=!1,position:a=AE.bottom,showPx:i=!1,width:c}=e;if(!r&&!o)return;if(a===AE.corner)return`${c} x ${n}`;const s=i?" px":"";if(t){if("x"===t&&r)return`${c}${s}`;if("y"===t&&o)return`${n}${s}`}if(r&&o)return`${c} x ${n}`;if(r)return`${c}${s}`;if(o)return`${n}${s}`;return}({axis:t,height:m,moveX:d,moveY:p,position:o,showPx:a,width:h}),resizeListener:i}}const LE=Object(w.a)("div",{target:"ekdag503"})({name:"1cd7zoc",styles:"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0"}),FE=Object(w.a)("div",{target:"ekdag502"})({name:"ajymcs",styles:"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear"}),zE=Object(w.a)("div",{target:"ekdag501"})("background:",L.ui.border,";border-radius:2px;box-sizing:border-box;font-size:12px;color:",L.ui.textDark,";padding:4px 8px;position:relative;"),BE=Object(w.a)(ol,{target:"ekdag500"})("&&&{color:",L.ui.textDark,";display:block;font-size:13px;line-height:1.4;}");var HE=Object(s.forwardRef)((function(e,t){let{label:n,position:r=AE.corner,zIndex:o=1e3,...a}=e;const i=!!n,l=r===AE.bottom,u=r===AE.corner;if(!i)return null;let d={opacity:i?1:void 0,zIndex:o},p={};return l&&(d={...d,position:"absolute",bottom:-10,left:"50%",transform:"translate(-50%, 0)"},p={transform:"translate(0, 100%)"}),u&&(d={...d,position:"absolute",top:4,right:Object(f.isRTL)()?void 0:4,left:Object(f.isRTL)()?4:void 0}),Object(s.createElement)(FE,Object(c.a)({"aria-hidden":"true",className:"components-resizable-tooltip__tooltip-wrapper",ref:t,style:d},a),Object(s.createElement)(zE,{className:"components-resizable-tooltip__tooltip",style:p},Object(s.createElement)(BE,{as:"span"},n)))}));var VE=Object(s.forwardRef)((function(e,t){let{axis:n,className:r,fadeTimeout:o=180,isVisible:a=!0,labelRef:i,onResize:u=l.noop,position:f=AE.bottom,showPx:p=!0,zIndex:b=1e3,...h}=e;const{label:m,resizeListener:v}=NE({axis:n,fadeTimeout:o,onResize:u,showPx:p,position:f});if(!a)return null;const g=d()("components-resize-tooltip",r);return Object(s.createElement)(LE,Object(c.a)({"aria-hidden":"true",className:g,ref:t},h),v,Object(s.createElement)(HE,{"aria-hidden":h["aria-hidden"],label:m,position:f,ref:i,zIndex:b}))}));const WE="components-resizable-box__handle",UE="components-resizable-box__side-handle",KE="components-resizable-box__corner-handle",GE={top:d()(WE,UE,"components-resizable-box__handle-top"),right:d()(WE,UE,"components-resizable-box__handle-right"),bottom:d()(WE,UE,"components-resizable-box__handle-bottom"),left:d()(WE,UE,"components-resizable-box__handle-left"),topLeft:d()(WE,KE,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:d()(WE,KE,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:d()(WE,KE,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:d()(WE,KE,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},$E={width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0},qE={top:$E,right:$E,bottom:$E,left:$E,topLeft:$E,topRight:$E,bottomRight:$E,bottomLeft:$E};var YE=Object(s.forwardRef)((function(e,t){let{className:n,children:r,showHandle:o=!0,__experimentalShowTooltip:a=!1,__experimentalTooltipProps:i={},...l}=e;return Object(s.createElement)(DE,Object(c.a)({className:d()("components-resizable-box__container",o&&"has-show-handle",n),handleClasses:GE,handleStyles:qE,ref:t},l),r,a&&Object(s.createElement)(VE,i))}));var XE=function(e){let{naturalWidth:t,naturalHeight:n,children:r,isInline:o=!1}=e;const[a,{width:i}]=Object(p.useResizeObserver)();if(1!==s.Children.count(r))return null;const c={paddingBottom:t<i?n:n/t*100+"%"},l=o?"span":"div";return Object(s.createElement)(l,{className:"components-responsive-wrapper"},a,Object(s.createElement)(l,{style:c}),Object(s.cloneElement)(r,{className:d()("components-responsive-wrapper__content",r.props.className)}))};const ZE="\n\t( function() {\n\t\tvar observer;\n\n\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\treturn;\n\t\t}\n\n\t\tfunction sendResize() {\n\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\twindow.parent.postMessage( {\n\t\t\t\taction: 'resize',\n\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\theight: clientBoundingRect.height,\n\t\t\t}, '*' );\n\t\t}\n\n\t\tobserver = new MutationObserver( sendResize );\n\t\tobserver.observe( document.body, {\n\t\t\tattributes: true,\n\t\t\tattributeOldValue: false,\n\t\t\tcharacterData: true,\n\t\t\tcharacterDataOldValue: false,\n\t\t\tchildList: true,\n\t\t\tsubtree: true\n\t\t} );\n\n\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t// the iframe root and interfere with our mechanism for\n\t\t// determining the unconstrained page bounds.\n\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\n\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t} );\n\n\t\tdocument.body.style.position = 'absolute';\n\t\tdocument.body.style.width = '100%';\n\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\tsendResize();\n\n\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\twindow.addEventListener( 'resize', sendResize, true );\n} )();",JE="\n\tbody {\n\t\tmargin: 0;\n\t}\n\thtml,\n\tbody,\n\tbody > div,\n\tbody > div iframe {\n\t\twidth: 100%;\n\t}\n\thtml.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio > div,\n\tbody.wp-has-aspect-ratio > div iframe {\n\t\theight: 100%;\n\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t}\n\tbody > div > * {\n\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\tmargin-bottom: 0 !important;\n\t}\n";function QE(e){let{html:t="",title:n="",type:r,styles:o=[],scripts:a=[],onFocus:i}=e;const c=Object(s.useRef)(),[l,u]=Object(s.useState)(0),[d,f]=Object(s.useState)(0);function b(){try{return!!c.current.contentDocument.body}catch(e){return!1}}function h(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!b())return;const{contentDocument:i,ownerDocument:l}=c.current,{body:u}=i;if(!e&&null!==u.getAttribute("data-resizable-iframe-connected"))return;const d=Object(s.createElement)("html",{lang:l.documentElement.lang,className:r},Object(s.createElement)("head",null,Object(s.createElement)("title",null,n),Object(s.createElement)("style",{dangerouslySetInnerHTML:{__html:JE}}),o.map((e,t)=>Object(s.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}}))),Object(s.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:r},Object(s.createElement)("div",{dangerouslySetInnerHTML:{__html:t}}),Object(s.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:ZE}}),a.map(e=>Object(s.createElement)("script",{key:e,src:e}))));i.open(),i.write("<!DOCTYPE html>"+Object(s.renderToString)(d)),i.close()}return Object(s.useEffect)(()=>{function e(){h(!1)}function t(e){const t=c.current;if(!t||t.contentWindow!==e.source)return;let n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(e){}"resize"===n.action&&(u(n.width),f(n.height))}h();const{ownerDocument:n}=c.current,{defaultView:r}=n;return c.current.addEventListener("load",e,!1),r.addEventListener("message",t),()=>{var n;null===(n=c.current)||void 0===n||n.removeEventListener("load",e,!1),r.addEventListener("message",t)}},[]),Object(s.useEffect)(()=>{h()},[n,r,o,a]),Object(s.useEffect)(()=>{h(!0)},[t]),Object(s.createElement)("iframe",{ref:Object(p.useMergeRefs)([c,Object(p.useFocusableIframe)()]),title:n,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onFocus:i,width:Math.ceil(l),height:Math.ceil(d)})}var ek=n("iB/h");const tk={init:{height:0,opacity:0},open:{height:"auto",opacity:1,transition:{height:{stiffness:1e3,velocity:-100}}},exit:{opacity:0,transition:{duration:.5}}},nk={init:!1,open:!1,exit:!1};var rk=function(e){let{notices:t,className:n,children:r,onRemove:o=l.noop}=e;const a=Object(s.useRef)(),i=Object(p.useReducedMotion)();n=d()("components-snackbar-list",n);const u=e=>()=>o(e.id);return Object(s.createElement)("div",{className:n,tabIndex:-1,ref:a},r,Object(s.createElement)(GO,null,t.map(e=>Object(s.createElement)(es.div,{layout:!i,initial:"init",animate:"open",exit:"exit",key:e.id,variants:i?nk:tk},Object(s.createElement)("div",{className:"components-snackbar-list__notice-container"},Object(s.createElement)(ek.a,Object(c.a)({},Object(l.omit)(e,["content"]),{onRemove:u(e),listRef:a}),e.content))))))};const ok=x.b`
+***************************************************************************** */
+var _i=function(e,t){return _i=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])},_i(e,t)};function xi(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Ei=function(){return Ei=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ei.apply(this,arguments)};function ki(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function Si(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Ci(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var Pi=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},Oi={measureLayout:Pi(["layout","layoutId","drag","_layoutResetTransform"]),animation:Pi(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:Pi(["exit"]),drag:Pi(["drag","dragControls"]),focus:Pi(["whileFocus"]),hover:Pi(["whileHover","onHoverStart","onHoverEnd"]),tap:Pi(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Pi(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:Pi(["layout","layoutId"])};var Mi=(0,b.createContext)({strict:!1}),Ti=Object.keys(Oi),Di=Ti.length;var Ii=(0,b.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),Ai=(0,b.createContext)({});var Ri=(0,b.createContext)(null);function Ni(e){var t=(0,b.useRef)(null);return null===t.current&&(t.current=e()),t.current}function Li(){var e=(0,b.useContext)(Ri);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=Bi();(0,b.useEffect)((function(){return r(o)}),[]);return!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}function Fi(e){return null===e||e.isPresent}var ji=0,zi=function(){return ji++},Bi=function(){return Ni(zi)},Hi=(0,b.createContext)(null),Vi="undefined"!=typeof window,Wi=Vi?b.useLayoutEffect:b.useEffect;function Ui(e,t,n,r){var o=(0,b.useContext)(Ii),i=(0,b.useContext)(Mi),a=(0,b.useContext)(Ai).visualElement,s=(0,b.useContext)(Ri),l=function(e){var t=e.layoutId,n=(0,b.useContext)(Hi);return n&&void 0!==t?n+"-"+t:t}(n),u=(0,b.useRef)(void 0);r||(r=i.renderer),!u.current&&r&&(u.current=r(e,{visualState:t,parent:a,props:Ei(Ei({},n),{layoutId:l}),presenceId:null==s?void 0:s.id,blockInitialAnimation:!1===(null==s?void 0:s.initial)}));var c=u.current;return Wi((function(){c&&(c.setProps(Ei(Ei(Ei({},o),n),{layoutId:l})),c.isPresent=Fi(s),c.isPresenceRoot=!a||a.presenceId!==(null==s?void 0:s.id),c.syncRender())})),(0,b.useEffect)((function(){var e;c&&(null===(e=c.animationState)||void 0===e||e.animateChanges())})),Wi((function(){return function(){return null==c?void 0:c.notifyUnmount()}}),[]),c}function $i(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ki(e){return Array.isArray(e)}function Gi(e){return"string"==typeof e||Ki(e)}function qi(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t?t(null!=n?n:e.custom,r,o):t}function Yi(e,t,n){var r=e.getProps();return qi(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function Xi(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||Gi(e.initial)||Gi(e.animate)||Gi(e.whileHover)||Gi(e.whileDrag)||Gi(e.whileTap)||Gi(e.whileFocus)||Gi(e.exit)}function Zi(e){return Boolean(Xi(e)||e.variants)}function Ji(e,t){var n=function(e,t){if(Xi(e)){var n=e.initial,r=e.animate;return{initial:!1===n||Gi(n)?n:void 0,animate:Gi(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,b.useContext)(Ai)),r=n.initial,o=n.animate;return(0,b.useMemo)((function(){return{initial:r,animate:o}}),t?[Qi(r),Qi(o)]:[])}function Qi(e){return Array.isArray(e)?e.join(" "):e}function ea(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.useRender,o=e.useVisualState,i=e.Component;return t&&function(e){for(var t in e){var n=e[t];null!==n&&(Oi[t].Component=n)}}(t),(0,b.forwardRef)((function(e,t){var a=(0,b.useContext)(Ii).isStatic,s=null,l=Ji(e,a),u=o(e,a);return!a&&Vi&&(l.visualElement=Ui(i,u,e,n),s=function(e,t,n){var r=[];if((0,b.useContext)(Mi),!t)return null;for(var o=0;o<Di;o++){var i=Ti[o],a=Oi[i],s=a.isEnabled,l=a.Component;s(e)&&l&&r.push(b.createElement(l,Ei({key:i},e,{visualElement:t})))}return r}(e,l.visualElement)),b.createElement(b.Fragment,null,b.createElement(Ai.Provider,{value:l},r(i,e,function(e,t,n){return(0,b.useCallback)((function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):$i(n)&&(n.current=r))}),[t])}(u,l.visualElement,t),u,a)),s)}))}function ta(e){function t(t,n){return void 0===n&&(n={}),ea(e(t,n))}var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var na=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function ra(e){return"string"==typeof e&&!e.includes("-")&&!!(na.indexOf(e)>-1||/[A-Z]/.test(e))}var oa={};var ia=["","X","Y","Z"],aa=["transformPerspective","x","y","z"];function sa(e,t){return aa.indexOf(e)-aa.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return ia.forEach((function(t){return aa.push(e+t)}))}));var la=new Set(aa);function ua(e){return la.has(e)}var ca=new Set(["originX","originY","originZ"]);function da(e){return ca.has(e)}function fa(e,t){var n=t.layout,r=t.layoutId;return ua(e)||da(e)||(n||void 0!==r)&&(!!oa[e]||"opacity"===e)}var pa=function(e){return null!==e&&"object"==typeof e&&e.getVelocity},ha={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function ma(e){return e.startsWith("--")}var va=function(e,t){return t&&"number"==typeof e?t.transform(e):e},ga=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},ya=function(e){return e%1?Number(e.toFixed(5)):e},ba=/(-)?([\d]*\.?[\d])+/g,wa=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,_a=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function xa(e){return"string"==typeof e}var Ea=function(e){return{test:function(t){return xa(t)&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},ka=Ea("deg"),Sa=Ea("%"),Ca=Ea("px"),Pa=Ea("vh"),Oa=Ea("vw"),Ma=Ei(Ei({},Sa),{parse:function(e){return Sa.parse(e)/100},transform:function(e){return Sa.transform(100*e)}}),Ta={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},Da=Ei(Ei({},Ta),{transform:ga(0,1)}),Ia=Ei(Ei({},Ta),{default:1}),Aa=Ei(Ei({},Ta),{transform:Math.round}),Ra={borderWidth:Ca,borderTopWidth:Ca,borderRightWidth:Ca,borderBottomWidth:Ca,borderLeftWidth:Ca,borderRadius:Ca,radius:Ca,borderTopLeftRadius:Ca,borderTopRightRadius:Ca,borderBottomRightRadius:Ca,borderBottomLeftRadius:Ca,width:Ca,maxWidth:Ca,height:Ca,maxHeight:Ca,size:Ca,top:Ca,right:Ca,bottom:Ca,left:Ca,padding:Ca,paddingTop:Ca,paddingRight:Ca,paddingBottom:Ca,paddingLeft:Ca,margin:Ca,marginTop:Ca,marginRight:Ca,marginBottom:Ca,marginLeft:Ca,rotate:ka,rotateX:ka,rotateY:ka,rotateZ:ka,scale:Ia,scaleX:Ia,scaleY:Ia,scaleZ:Ia,skew:ka,skewX:ka,skewY:ka,distance:Ca,translateX:Ca,translateY:Ca,translateZ:Ca,x:Ca,y:Ca,z:Ca,perspective:Ca,transformPerspective:Ca,opacity:Da,originX:Ma,originY:Ma,originZ:Ca,zIndex:Aa,fillOpacity:Da,strokeOpacity:Da,numOctaves:Aa};function Na(e,t,n,r,o,i,a,s){var l,u=e.style,c=e.vars,d=e.transform,f=e.transformKeys,p=e.transformOrigin;f.length=0;var h=!1,m=!1,v=!0;for(var g in t){var y=t[g];if(ma(g))c[g]=y;else{var b=Ra[g],w=va(y,b);if(ua(g)){if(h=!0,d[g]=w,f.push(g),!v)continue;y!==(null!==(l=b.default)&&void 0!==l?l:0)&&(v=!1)}else if(da(g))p[g]=w,m=!0;else if((null==n?void 0:n.isHydrated)&&(null==r?void 0:r.isHydrated)&&oa[g]){var _=oa[g].process(y,r,n),x=oa[g].applyTo;if(x)for(var E=x.length,k=0;k<E;k++)u[x[k]]=_;else u[g]=_}else u[g]=w}}r&&n&&a&&s?(u.transform=a(r.deltaFinal,r.treeScale,h?d:void 0),i&&(u.transform=i(d,u.transform)),u.transformOrigin=s(r)):(h&&(u.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,l=t.allowTransformNone,u=void 0===l||l,c="";i.sort(sa);for(var d=!1,f=i.length,p=0;p<f;p++){var h=i[p];c+=(ha[h]||h)+"("+o[h]+") ","z"===h&&(d=!0)}return!d&&s?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):u&&n&&(c="none"),c}(e,o,v,i)),m&&(u.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ;return n+" "+o+" "+(void 0===i?0:i)}(p)))}var La=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Fa(e,t,n){for(var r in t)pa(t[r])||fa(r,n)||(e[r]=t[r])}function ja(e,t,n){var r={};return Fa(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return(0,b.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Na(e,t,void 0,void 0,{enableHardwareAcceleration:!n},r);var o=e.style;return Ei(Ei({},e.vars),o)}),[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}function za(e,t,n){var r={},o=ja(e,t,n);return Boolean(e.drag)&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),r.style=o,r}var Ba=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function Ha(e){return Ba.has(e)}var Va=function(e){return!Ha(e)};try{var Wa=n(3889).Z;Va=function(e){return e.startsWith("on")?!Ha(e):Wa(e)}}catch(e){}function Ua(e,t,n){return"string"==typeof e?e:Ca.transform(t+n*e)}var $a=function(e,t){return Ca.transform(e*t)},Ka={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ga={offset:"strokeDashoffset",array:"strokeDasharray"};function qa(e,t,n,r,o,i,a,s){var l=t.attrX,u=t.attrY,c=t.originX,d=t.originY,f=t.pathLength,p=t.pathSpacing,h=void 0===p?1:p,m=t.pathOffset,v=void 0===m?0:m;Na(e,ki(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,o,i,a,s),e.attrs=e.style,e.style={};var g=e.attrs,y=e.style,b=e.dimensions,w=e.totalPathLength;g.transform&&(b&&(y.transform=g.transform),delete g.transform),b&&(void 0!==c||void 0!==d||y.transform)&&(y.transformOrigin=function(e,t,n){return Ua(t,e.x,e.width)+" "+Ua(n,e.y,e.height)}(b,void 0!==c?c:.5,void 0!==d?d:.5)),void 0!==l&&(g.x=l),void 0!==u&&(g.y=u),void 0!==w&&void 0!==f&&function(e,t,n,r,o,i){void 0===r&&(r=1),void 0===o&&(o=0),void 0===i&&(i=!0);var a=i?Ka:Ga;e[a.offset]=$a(-o,t);var s=$a(n,t),l=$a(r,t);e[a.array]=s+" "+l}(g,w,f,h,v,!1)}var Ya=function(){return Ei(Ei({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Xa(e,t){var n=(0,b.useMemo)((function(){var n=Ya();return qa(n,t,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),Ei(Ei({},n.attrs),{style:Ei({},n.style)})}),[t]);if(e.style){var r={};Fa(r,e.style,e),n.style=Ei(Ei({},r),n.style)}return n}function Za(e){void 0===e&&(e=!1);return function(t,n,r,o,i){var a=o.latestValues,s=(ra(t)?Xa:za)(n,a,i),l=function(e,t,n){var r={};for(var o in e)(Va(o)||!0===n&&Ha(o)||!t&&!Ha(o))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),u=Ei(Ei(Ei({},l),s),{ref:r});return(0,b.createElement)(t,u)}}var Ja=/([a-z])([A-Z])/g,Qa=function(e){return e.replace(Ja,"$1-$2").toLowerCase()};function es(e,t){var n=t.style,r=t.vars;for(var o in Object.assign(e.style,n),r)e.style.setProperty(o,r[o])}var ts=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function ns(e,t){for(var n in es(e,t),t.attrs)e.setAttribute(ts.has(n)?n:Qa(n),t.attrs[n])}function rs(e){var t=e.style,n={};for(var r in t)(pa(t[r])||fa(r,e))&&(n[r]=t[r]);return n}function os(e){var t=rs(e);for(var n in e){if(pa(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function is(e){return"object"==typeof e&&"function"==typeof e.start}var as=function(e){return Array.isArray(e)},ss=function(e){return as(e)?e[e.length-1]||0:e};function ls(e){var t=pa(e)?e.get():e;return function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)}(t)?t.toValue():t}function us(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:ds(t,n,r,o),renderState:i()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var cs=function(e){return function(t,n){var r=(0,b.useContext)(Ai),o=(0,b.useContext)(Ri);return n?us(e,t,r,o):Ni((function(){return us(e,t,r,o)}))}};function ds(e,t,n,r){var o={},i=!1===(null==n?void 0:n.initial),a=r(e);for(var s in a)o[s]=ls(a[s]);var l=e.initial,u=e.animate,c=Xi(e),d=Zi(e);t&&d&&!c&&!1!==e.inherit&&(null!=l||(l=t.initial),null!=u||(u=t.animate));var f=i||!1===l?u:l;f&&"boolean"!=typeof f&&!is(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var n=qi(e,t);if(n){var r=n.transitionEnd;n.transition;var i=ki(n,["transitionEnd","transition"]);for(var a in i)o[a]=i[a];for(var a in r)o[a]=r[a]}}));return o}var fs={useVisualState:cs({scrapeMotionValuesFromProps:os,createRenderState:Ya,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}"path"===t.tagName&&(r.totalPathLength=t.getTotalLength()),qa(r,o,void 0,void 0,{enableHardwareAcceleration:!1},e.transformTemplate),ns(t,r)}})};var ps,hs={useVisualState:cs({scrapeMotionValuesFromProps:rs,createRenderState:La})};function ms(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function vs(e,t,n,r){(0,b.useEffect)((function(){var o=e.current;if(n&&o)return ms(o,t,n,r)}),[e,t,n,r])}function gs(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function ys(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.Exit="exit"}(ps||(ps={}));var bs={pageX:0,pageY:0};function ws(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||bs;return{x:n[t+"X"],y:n[t+"Y"]}}function _s(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function xs(e,t){return void 0===t&&(t="page"),{point:ys(e)?ws(e,t):_s(e,t)}}var Es=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,xs(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},ks={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Ss={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Cs(e){return Vi&&null===window.onpointerdown?e:Vi&&null===window.ontouchstart?Ss[e]:Vi&&null===window.onmousedown?ks[e]:e}function Ps(e,t,n,r){return ms(e,Cs(t),Es(n,"pointerdown"===t),r)}function Os(e,t,n,r){return vs(e,Cs(t),n&&Es(n,"pointerdown"===t),r)}function Ms(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Ts=Ms("dragHorizontal"),Ds=Ms("dragVertical");function Is(e){var t=!1;if("y"===e)t=Ds();else if("x"===e)t=Ts();else{var n=Ts(),r=Ds();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function As(){var e=Is(!0);return!e||(e(),!1)}function Rs(e,t,n){return function(r,o){var i;gs(r)&&!As()&&(null==n||n(r,o),null===(i=e.animationState)||void 0===i||i.setActive(ps.Hover,t))}}var Ns=function(e,t){return!!t&&(e===t||Ns(e,t.parentElement))};function Ls(e){return(0,b.useEffect)((function(){return function(){return e()}}),[])}var Fs=function(e,t){return function(n){return t(e(n))}},js=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(Fs)};var zs=function(e){return function(t){return e(t),null}},Bs={tap:zs((function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,s=(0,b.useRef)(!1),l=(0,b.useRef)(null);function u(){var e;null===(e=l.current)||void 0===e||e.call(l),l.current=null}function c(){var e;return u(),s.current=!1,null===(e=i.animationState)||void 0===e||e.setActive(ps.Tap,!1),!As()}function d(e,n){c()&&(Ns(i.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function f(e,t){c()&&(null==r||r(e,t))}Os(i,"pointerdown",a?function(e,t){var r;u(),s.current||(s.current=!0,l.current=js(Ps(window,"pointerup",d),Ps(window,"pointercancel",f)),null==n||n(e,t),null===(r=i.animationState)||void 0===r||r.setActive(ps.Tap,!0))}:void 0),Ls(u)})),focus:zs((function(e){var t=e.whileFocus,n=e.visualElement;vs(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(ps.Focus,!0)}:void 0),vs(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(ps.Focus,!1)}:void 0)})),hover:zs((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Os(o,"pointerenter",t||r?Rs(o,!0,t):void 0),Os(o,"pointerleave",n||r?Rs(o,!1,n):void 0)}))};function Hs(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Vs=function(e,t,n){return Math.min(Math.max(n,e),t)},Ws=.001;function Us(e){var t,n,r=e.duration,o=void 0===r?800:r,i=e.bounce,a=void 0===i?.25:i,s=e.velocity,l=void 0===s?0:s,u=e.mass,c=void 0===u?1:u,d=1-a;d=Vs(.05,1,d),o=Vs(.01,10,o/1e3),d<1?(t=function(e){var t=e*d,n=t*o,r=t-l,i=$s(e,d),a=Math.exp(-n);return Ws-r/i*a},n=function(e){var n=e*d*o,r=n*l+l,i=Math.pow(d,2)*Math.pow(e,2)*o,a=Math.exp(-n),s=$s(Math.pow(e,2),d);return(-t(e)+Ws>0?-1:1)*((r-i)*a)/s}):(t=function(e){return Math.exp(-e*o)*((e-l)*o+1)-.001},n=function(e){return Math.exp(-e*o)*(o*o*(l-e))});var f=function(e,t,n){for(var r=n,o=1;o<12;o++)r-=e(r)/t(r);return r}(t,n,5/o);if(o*=1e3,isNaN(f))return{stiffness:100,damping:10,duration:o};var p=Math.pow(f,2)*c;return{stiffness:p,damping:2*d*Math.sqrt(c*p),duration:o}}function $s(e,t){return e*Math.sqrt(1-t*t)}var Ks=["duration","bounce"],Gs=["stiffness","damping","mass"];function qs(e,t){return t.some((function(t){return void 0!==e[t]}))}function Ys(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.restSpeed,a=void 0===i?2:i,s=e.restDelta,l=ki(e,["from","to","restSpeed","restDelta"]),u={done:!1,value:n},c=function(e){var t=Ei({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!qs(e,Gs)&&qs(e,Ks)){var n=Us(e);(t=Ei(Ei(Ei({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(l),d=c.stiffness,f=c.damping,p=c.mass,h=c.velocity,m=c.duration,v=c.isResolvedFromDuration,g=Xs,y=Xs;function b(){var e=h?-h/1e3:0,t=o-n,r=f/(2*Math.sqrt(d*p)),i=Math.sqrt(d/p)/1e3;if(null!=s||(s=Math.abs(o-n)<=1?.01:.4),r<1){var a=$s(i,r);g=function(n){var s=Math.exp(-r*i*n);return o-s*((e+r*i*t)/a*Math.sin(a*n)+t*Math.cos(a*n))},y=function(n){var o=Math.exp(-r*i*n);return r*i*o*(Math.sin(a*n)*(e+r*i*t)/a+t*Math.cos(a*n))-o*(Math.cos(a*n)*(e+r*i*t)-a*t*Math.sin(a*n))}}else if(1===r)g=function(n){return o-Math.exp(-i*n)*(t+(e+i*t)*n)};else{var l=i*Math.sqrt(r*r-1);g=function(n){var a=Math.exp(-r*i*n),s=Math.min(l*n,300);return o-a*((e+r*i*t)*Math.sinh(s)+l*t*Math.cosh(s))/l}}}return b(),{next:function(e){var t=g(e);if(v)u.done=e>=m;else{var n=1e3*y(e),r=Math.abs(n)<=a,i=Math.abs(o-t)<=s;u.done=r&&i}return u.value=u.done?o:t,u},flipTarget:function(){var e;h=-h,n=(e=[o,n])[0],o=e[1],b()}}}Ys.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var Xs=function(e){return 0},Zs=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},Js=function(e,t,n){return-n*e+n*t+e},Qs=function(e,t){return function(n){return Boolean(xa(n)&&_a.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t))}},el=function(e,t,n){return function(r){var o;if(!xa(r))return r;var i=r.match(ba),a=i[0],s=i[1],l=i[2],u=i[3];return(o={})[e]=parseFloat(a),o[t]=parseFloat(s),o[n]=parseFloat(l),o.alpha=void 0!==u?parseFloat(u):1,o}},tl=ga(0,255),nl=Ei(Ei({},Ta),{transform:function(e){return Math.round(tl(e))}}),rl={test:Qs("rgb","red"),parse:el("red","green","blue"),transform:function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha,i=void 0===o?1:o;return"rgba("+nl.transform(t)+", "+nl.transform(n)+", "+nl.transform(r)+", "+ya(Da.transform(i))+")"}};var ol={test:Qs("#"),parse:function(e){var t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:rl.transform},il={test:Qs("hsl","hue"),parse:el("hue","saturation","lightness"),transform:function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha,i=void 0===o?1:o;return"hsla("+Math.round(t)+", "+Sa.transform(ya(n))+", "+Sa.transform(ya(r))+", "+ya(Da.transform(i))+")"}},al=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},sl=[ol,rl,il],ll=function(e){return sl.find((function(t){return t.test(e)}))},ul=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},cl=function(e,t){var n=ll(e),r=ll(t);ul(e),ul(t),n.transform,r.transform;var o=n.parse(e),i=r.parse(t),a=Ei({},o),s=n===il?Js:al;return function(e){for(var t in a)"alpha"!==t&&(a[t]=s(o[t],i[t],e));return a.alpha=Js(o.alpha,i.alpha,e),n.transform(a)}},dl={test:function(e){return rl.test(e)||ol.test(e)||il.test(e)},parse:function(e){return rl.test(e)?rl.parse(e):il.test(e)?il.parse(e):ol.parse(e)},transform:function(e){return xa(e)?e:e.hasOwnProperty("red")?rl.transform(e):il.transform(e)}},fl="${c}",pl="${n}";function hl(e){var t=[],n=0,r=e.match(wa);r&&(n=r.length,e=e.replace(wa,fl),t.push.apply(t,r.map(dl.parse)));var o=e.match(ba);return o&&(e=e.replace(ba,pl),t.push.apply(t,o.map(Ta.parse))),{values:t,numColors:n,tokenised:e}}function ml(e){return hl(e).values}function vl(e){var t=hl(e),n=t.values,r=t.numColors,o=t.tokenised,i=n.length;return function(e){for(var t=o,n=0;n<i;n++)t=t.replace(n<r?fl:pl,n<r?dl.transform(e[n]):ya(e[n]));return t}}var gl=function(e){return"number"==typeof e?0:e};var yl={test:function(e){var t,n,r,o;return isNaN(e)&&xa(e)&&(null!==(n=null===(t=e.match(ba))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(wa))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:ml,createTransformer:vl,getAnimatableNone:function(e){var t=ml(e);return vl(e)(t.map(gl))}},bl=function(e){return"number"==typeof e};function wl(e,t){return bl(e)?function(n){return Js(e,t,n)}:dl.test(e)?cl(e,t):kl(e,t)}var _l=function(e,t){var n=Ci([],e),r=n.length,o=e.map((function(e,n){return wl(e,t[n])}));return function(e){for(var t=0;t<r;t++)n[t]=o[t](e);return n}},xl=function(e,t){var n=Ei(Ei({},e),t),r={};for(var o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=wl(e[o],t[o]));return function(e){for(var t in r)n[t]=r[t](e);return n}};function El(e){for(var t=yl.parse(e),n=t.length,r=0,o=0,i=0,a=0;a<n;a++)r||"number"==typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}var kl=function(e,t){var n=yl.createTransformer(t),r=El(e),o=El(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),js(_l(r.parsed,o.parsed),n)},Sl=function(e,t){return function(n){return Js(e,t,n)}};function Cl(e,t,n){for(var r=[],o=n||function(e){return"number"==typeof e?Sl:"string"==typeof e?dl.test(e)?cl:kl:Array.isArray(e)?_l:"object"==typeof e?xl:void 0}(e[0]),i=e.length-1,a=0;a<i;a++){var s=o(e[a],e[a+1]);if(t){var l=Array.isArray(t)?t[a]:t;s=js(l,s)}r.push(s)}return r}function Pl(e,t,n){var r=void 0===n?{}:n,o=r.clamp,i=void 0===o||o,a=r.ease,s=r.mixer,l=e.length;t.length,!a||!Array.isArray(a)||a.length,e[0]>e[l-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var u=Cl(t,a,s),c=2===l?function(e,t){var n=e[0],r=e[1],o=t[0];return function(e){return o(Zs(n,r,e))}}(e,u):function(e,t){var n=e.length,r=n-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){for(var s=1;s<n&&!(e[s]>o||s===r);s++);i=s-1}var l=Zs(e[i],e[i+1],o);return t[i](l)}}(e,u);return i?function(t){return c(Vs(e[0],e[l-1],t))}:c}var Ol,Ml=function(e){return function(t){return 1-e(1-t)}},Tl=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},Dl=function(e){return function(t){return t*t*((e+1)*t-e)}},Il=function(e){return e},Al=(Ol=2,function(e){return Math.pow(e,Ol)}),Rl=Ml(Al),Nl=Tl(Al),Ll=function(e){return 1-Math.sin(Math.acos(e))},Fl=Ml(Ll),jl=Tl(Fl),zl=Dl(1.525),Bl=Ml(zl),Hl=Tl(zl),Vl=function(e){var t=Dl(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}}(1.525),Wl=function(e){if(1===e||0===e)return e;var t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},Ul=Ml(Wl);function $l(e,t){return e.map((function(){return t||Nl})).splice(0,e.length-1)}function Kl(e){var t=e.from,n=void 0===t?0:t,r=e.to,o=void 0===r?1:r,i=e.ease,a=e.offset,s=e.duration,l=void 0===s?300:s,u={done:!1,value:n},c=Array.isArray(o)?o:[n,o],d=function(e,t){return e.map((function(e){return e*t}))}(a&&a.length===c.length?a:function(e){var t=e.length;return e.map((function(e,n){return 0!==n?n/(t-1):0}))}(c),l);function f(){return Pl(d,c,{ease:Array.isArray(i)?i:$l(c,i)})}var p=f();return{next:function(e){return u.value=p(e),u.done=e>=l,u},flipTarget:function(){c.reverse(),p=f()}}}var Gl={keyframes:Kl,spring:Ys,decay:function(e){var t=e.velocity,n=void 0===t?0:t,r=e.from,o=void 0===r?0:r,i=e.power,a=void 0===i?.8:i,s=e.timeConstant,l=void 0===s?350:s,u=e.restDelta,c=void 0===u?.5:u,d=e.modifyTarget,f={done:!1,value:o},p=a*n,h=o+p,m=void 0===d?h:d(h);return m!==h&&(p=m-o),{next:function(e){var t=-p*Math.exp(-e/l);return f.done=!(t>c||t<-c),f.value=f.done?m:m+t,f},flipTarget:function(){}}}};var ql=1/60*1e3,Yl="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},Xl="undefined"!=typeof window?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout((function(){return e(Yl())}),ql)};var Zl=!0,Jl=!1,Ql=!1,eu={delta:0,timestamp:0},tu=["read","update","preRender","render","postRender"],nu=tu.reduce((function(e,t){return e[t]=function(e){var t=[],n=[],r=0,o=!1,i=new WeakSet,a={schedule:function(e,a,s){void 0===a&&(a=!1),void 0===s&&(s=!1);var l=s&&o,u=l?t:n;return a&&i.add(e),-1===u.indexOf(e)&&(u.push(e),l&&o&&(r=t.length)),e},cancel:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:function(s){var l;if(o=!0,t=(l=[n,t])[0],(n=l[1]).length=0,r=t.length)for(var u=0;u<r;u++){var c=t[u];c(s),i.has(c)&&(a.schedule(c),e())}o=!1}};return a}((function(){return Jl=!0})),e}),{}),ru=tu.reduce((function(e,t){var n=nu[t];return e[t]=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),Jl||lu(),n.schedule(e,t,r)},e}),{}),ou=tu.reduce((function(e,t){return e[t]=nu[t].cancel,e}),{}),iu=tu.reduce((function(e,t){return e[t]=function(){return nu[t].process(eu)},e}),{}),au=function(e){return nu[e].process(eu)},su=function(e){Jl=!1,eu.delta=Zl?ql:Math.max(Math.min(e-eu.timestamp,40),1),eu.timestamp=e,Ql=!0,tu.forEach(au),Ql=!1,Jl&&(Zl=!1,Xl(su))},lu=function(){Jl=!0,Zl=!0,Ql||Xl(su)},uu=function(){return eu},cu=ru;function du(e,t,n){return void 0===n&&(n=0),e-t-n}var fu=function(e){var t=function(t){var n=t.delta;return e(n)};return{start:function(){return cu.update(t,!0)},stop:function(){return ou.update(t)}}};function pu(e){var t,n,r,o,i,a=e.from,s=e.autoplay,l=void 0===s||s,u=e.driver,c=void 0===u?fu:u,d=e.elapsed,f=void 0===d?0:d,p=e.repeat,h=void 0===p?0:p,m=e.repeatType,v=void 0===m?"loop":m,g=e.repeatDelay,y=void 0===g?0:g,b=e.onPlay,w=e.onStop,_=e.onComplete,x=e.onRepeat,E=e.onUpdate,k=ki(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),S=k.to,C=0,P=k.duration,O=!1,M=!0,T=function(e){if(Array.isArray(e.to))return Kl;if(Gl[e.type])return Gl[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Kl:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ys:Kl}(k);(null===(n=(t=T).needsInterpolation)||void 0===n?void 0:n.call(t,a,S))&&(i=Pl([0,100],[a,S],{clamp:!1}),a=0,S=100);var D=T(Ei(Ei({},k),{from:a,to:S}));function I(){C++,"reverse"===v?f=function(e,t,n,r){return void 0===n&&(n=0),void 0===r&&(r=!0),r?du(t+-e,t,n):t-(e-t)+n}(f,P,y,M=C%2==0):(f=du(f,P,y),"mirror"===v&&D.flipTarget()),O=!1,x&&x()}function A(e){if(M||(e=-e),f+=e,!O){var t=D.next(Math.max(0,f));o=t.value,i&&(o=i(o)),O=M?t.done:f<=0}null==E||E(o),O&&(0===C&&(null!=P||(P=f)),C<h?function(e,t,n,r){return r?e>=t+n:e<=-n}(f,P,y,M)&&I():(r.stop(),_&&_()))}return l&&(null==b||b(),(r=c(A)).start()),{stop:function(){null==w||w(),r.stop()}}}function hu(e,t){return t?e*(1e3/t):0}var mu=function(e){return 1e3*e},vu=function(e,t){return 1-3*t+3*e},gu=function(e,t){return 3*t-6*e},yu=function(e){return 3*e},bu=function(e,t,n){return((vu(t,n)*e+gu(t,n))*e+yu(t))*e},wu=function(e,t,n){return 3*vu(t,n)*e*e+2*gu(t,n)*e+yu(t)};var _u=.1;function xu(e,t,n,r){if(e===t&&n===r)return Il;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=bu(i*_u,e,n);function a(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=_u;--i;var a=r+(t-o[i])/(o[i+1]-o[i])*_u,s=wu(a,e,n);return s>=.001?function(e,t,n,r){for(var o=0;o<8;++o){var i=wu(t,n,r);if(0===i)return t;t-=(bu(t,n,r)-e)/i}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){var i,a,s=0;do{(i=bu(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<10);return a}(t,r,r+_u,e,n)}return function(e){return 0===e||1===e?e:bu(a(e),t,r)}}var Eu={linear:Il,easeIn:Al,easeInOut:Nl,easeOut:Rl,circIn:Ll,circInOut:jl,circOut:Fl,backIn:zl,backInOut:Hl,backOut:Bl,anticipate:Vl,bounceIn:Ul,bounceInOut:function(e){return e<.5?.5*(1-Wl(1-2*e)):.5*Wl(2*e-1)+.5},bounceOut:Wl},ku=function(e){if(Array.isArray(e)){e.length;var t=Si(e,4);return xu(t[0],t[1],t[2],t[3])}return"string"==typeof e?Eu[e]:e},Su=function(e,t){return"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!yl.test(t)||t.startsWith("url(")))},Cu=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},Pu=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},Ou=function(){return{type:"keyframes",ease:"linear",duration:.3}},Mu=function(e){return{type:"keyframes",duration:.8,values:e}},Tu={x:Cu,y:Cu,z:Cu,rotate:Cu,rotateX:Cu,rotateY:Cu,rotateZ:Cu,scaleX:Pu,scaleY:Pu,scale:Pu,opacity:Ou,backgroundColor:Ou,color:Ou,default:Pu},Du=new Set(["brightness","contrast","saturate","opacity"]);function Iu(e){var t=e.slice(0,-1).split("("),n=t[0],r=t[1];if("drop-shadow"===n)return e;var o=(r.match(ba)||[])[0];if(!o)return e;var i=r.replace(o,""),a=Du.has(n)?1:0;return o!==r&&(a*=100),n+"("+a+i+")"}var Au=/([a-z-]*)\(.*?\)/g,Ru=Ei(Ei({},yl),{getAnimatableNone:function(e){var t=e.match(Au);return t?t.map(Iu).join(" "):e}}),Nu=Ei(Ei({},Ra),{color:dl,backgroundColor:dl,outlineColor:dl,fill:dl,stroke:dl,borderColor:dl,borderTopColor:dl,borderRightColor:dl,borderBottomColor:dl,borderLeftColor:dl,filter:Ru,WebkitFilter:Ru}),Lu=function(e){return Nu[e]};function Fu(e,t){var n,r=Lu(e);return r!==Ru&&(r=yl),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}function ju(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=ki(e,["ease","times","yoyo","flip","loop"]),s=Ei({},a);return n&&(s.offset=n),a.duration&&(s.duration=mu(a.duration)),a.repeatDelay&&(s.repeatDelay=mu(a.repeatDelay)),t&&(s.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(ku):ku(t)),"tween"===a.type&&(s.type="keyframes"),(r||i||o)&&(!0,r?s.repeatType="reverse":i?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=i||r||o||a.repeat),"spring"!==a.type&&(s.type="keyframes"),s}function zu(e,t,n){var r,o,i,a;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=Ci([],Si(e.to)),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=ki(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=Ei(Ei({},e),(o=n,i=t.to,a=as(i)?Mu:Tu[o]||Tu.default,Ei({to:i},a(i))))),Ei(Ei({},t),ju(e))}function Bu(e,t,n,r,o){var i,a=Wu(r,e),s=null!==(i=a.from)&&void 0!==i?i:t.get(),l=Su(e,n);"none"===s&&l&&"string"==typeof n?s=Fu(e,n):Hu(s)&&"string"==typeof n?s=Vu(n):!Array.isArray(n)&&Hu(n)&&"string"==typeof s&&(n=Vu(s));var u=Su(e,s);return u&&l&&!1!==a.type?function(){var r={from:s,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?function(e){var t,n=e.from,r=void 0===n?0:n,o=e.velocity,i=void 0===o?0:o,a=e.min,s=e.max,l=e.power,u=void 0===l?.8:l,c=e.timeConstant,d=void 0===c?750:c,f=e.bounceStiffness,p=void 0===f?500:f,h=e.bounceDamping,m=void 0===h?10:h,v=e.restDelta,g=void 0===v?1:v,y=e.modifyTarget,b=e.driver,w=e.onUpdate,_=e.onComplete;function x(e){return void 0!==a&&e<a||void 0!==s&&e>s}function E(e){return void 0===a?s:void 0===s||Math.abs(a-e)<Math.abs(s-e)?a:s}function k(e){null==t||t.stop(),t=pu(Ei(Ei({},e),{driver:b,onUpdate:function(t){var n;null==w||w(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:_}))}function S(e){k(Ei({type:"spring",stiffness:p,damping:m,restDelta:g},e))}if(x(r))S({from:r,velocity:i,to:E(r)});else{var C=u*i+r;void 0!==y&&(C=y(C));var P,O,M=E(C),T=M===a?-1:1;k({type:"decay",from:r,velocity:i,timeConstant:d,power:u,restDelta:g,modifyTarget:y,onUpdate:x(C)?function(e){P=O,O=e,i=hu(e-P,uu().delta),(1===T&&e>M||-1===T&&e<M)&&S({from:e,to:M,velocity:i})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}(Ei(Ei({},r),a)):pu(Ei(Ei({},zu(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e;return t.set(n),o(),null===(e=null==a?void 0:a.onComplete)||void 0===e||e.call(a),{stop:function(){}}}}function Hu(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Vu(e){return"number"==typeof e?0:Fu("",e)}function Wu(e,t){return e[t]||e.default||e}function Uu(e,t,n,r){return void 0===r&&(r={}),t.start((function(o){var i,a,s=Bu(e,t,n,r,o),l=function(e,t){var n;return null!==(n=(Wu(e,t)||{}).delay)&&void 0!==n?n:0}(r,e),u=function(){return a=s()};return l?i=setTimeout(u,mu(l)):u(),function(){clearTimeout(i),null==a||a.stop()}}))}var $u=function(e){return/^\-?\d*\.?\d+$/.test(e)};function Ku(e,t){-1===e.indexOf(t)&&e.push(t)}function Gu(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var qu=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Ku(this.subscriptions,e),function(){return Gu(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Yu=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new qu,this.velocityUpdateSubscribers=new qu,this.renderSubscribers=new qu,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=uu(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,cu.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return cu.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?hu(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Xu(e){return new Yu(e)}var Zu=function(e){return function(t){return t.test(e)}},Ju=[Ta,Ca,Sa,ka,Oa,Pa,{test:function(e){return"auto"===e},parse:function(e){return e}}],Qu=function(e){return Ju.find(Zu(e))},ec=Ci(Ci([],Si(Ju)),[dl,yl]),tc=function(e){return ec.find(Zu(e))};function nc(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Xu(n))}function rc(e,t){var n=Yi(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=void 0===o?{}:o;r.transition;var a=ki(r,["transitionEnd","transition"]);for(var s in a=Ei(Ei({},a),i)){nc(e,s,ss(a[s]))}}function oc(e,t){if(t)return(t[e]||t.default||t).from}function ic(e,t,n){var r;void 0===n&&(n={});var o=Yi(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var s=o?function(){return ac(e,o,n)}:function(){return Promise.resolve()},l=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=a.delayChildren,i=void 0===o?0:o,s=a.staggerChildren,l=a.staggerDirection;return function(e,t,n,r,o,i){void 0===n&&(n=0);void 0===r&&(r=0);void 0===o&&(o=1);var a=[],s=(e.variantChildren.size-1)*r,l=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),s-e*r};return Array.from(e.variantChildren).sort(sc).forEach((function(e,r){a.push(ic(e,t,Ei(Ei({},i),{delay:n+l(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(a)}(e,t,i+r,s,l,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=Si("beforeChildren"===u?[s,l]:[l,s],2),d=c[0],f=c[1];return d().then(f)}return Promise.all([s(),l(n.delay)])}function ac(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,s=o.transitionOverride,l=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=void 0===c?e.getDefaultTransition():c,f=u.transitionEnd,p=ki(u,["transition","transitionEnd"]);s&&(d=s);var h=[],m=l&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[l]);for(var v in p){var g=e.getValue(v),y=p[v];if(!(!g||void 0===y||m&&lc(m,v))){var b=Uu(v,g,y,Ei({delay:a},d));h.push(b)}}return Promise.all(h).then((function(){f&&rc(e,f)}))}function sc(e,t){return e.sortNodePosition(t)}function lc(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var uc=[ps.Animate,ps.Hover,ps.Tap,ps.Drag,ps.Focus,ps.Exit],cc=Ci([],Si(uc)).reverse(),dc=uc.length;function fc(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(),Array.isArray(t)){var o=t.map((function(t){return ic(e,t,n)}));r=Promise.all(o)}else if("string"==typeof t)r=ic(e,t,n);else{var i="function"==typeof t?Yi(e,t,n.custom):t;r=ac(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function pc(e){var t,n=fc(e),r=((t={})[ps.Animate]=hc(!0),t[ps.Hover]=hc(),t[ps.Tap]=hc(),t[ps.Drag]=hc(),t[ps.Focus]=hc(),t[ps.Exit]=hc(),t),o={},i=!0,a=function(t,n){var r=Yi(e,n);if(r){r.transition;var o=r.transitionEnd,i=ki(r,["transition","transitionEnd"]);t=Ei(Ei(Ei({},t),i),o)}return t};function s(t,s){for(var l,u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set,p={},h=1/0,m=function(n){var o=cc[n],m=r[o],v=null!==(l=u[o])&&void 0!==l?l:c[o],g=Gi(v),y=o===s?m.isActive:null;!1===y&&(h=n);var b=v===c[o]&&v!==u[o]&&g;if(b&&i&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys=Ei({},p),!m.isActive&&null===y||!v&&!m.prevProp||is(v)||"boolean"==typeof v)return"continue";var w=function(e,t){if("string"==typeof t)return t!==e;if(Ki(t))return!Hs(t,e);return!1}(m.prevProp,v)||o===s&&m.isActive&&!b&&g||n>h&&g,_=Array.isArray(v)?v:[v],x=_.reduce(a,{});!1===y&&(x={});var E=m.prevResolvedValues,k=void 0===E?{}:E,S=Ei(Ei({},k),x),C=function(e){w=!0,f.delete(e),m.needsAnimating[e]=!0};for(var P in S){var O=x[P],M=k[P];p.hasOwnProperty(P)||(O!==M?as(O)&&as(M)?Hs(O,M)?m.protectedKeys[P]=!0:C(P):void 0!==O?C(P):f.add(P):void 0!==O&&f.has(P)?C(P):m.protectedKeys[P]=!0)}m.prevProp=v,m.prevResolvedValues=x,m.isActive&&(p=Ei(Ei({},p),x)),i&&e.blockInitialAnimation&&(w=!1),w&&!b&&d.push.apply(d,Ci([],Si(_.map((function(e){return{animation:e,options:Ei({type:o},t)}})))))},v=0;v<dc;v++)m(v);if(o=Ei({},p),f.size){var g={};f.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(g[t]=n)})),d.push({animation:g})}var y=Boolean(d.length);return i&&!1===u.initial&&!e.manuallyAnimateOnMount&&(y=!1),i=!1,y?n(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:s,setActive:function(t,n,o){var i;return r[t].isActive===n?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n,s(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}function hc(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var mc={animation:zs((function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=pc(t)),is(n)&&(0,b.useEffect)((function(){return n.subscribe(t)}),[n])})),exit:zs((function(e){var t=e.custom,n=e.visualElement,r=Si(Li(),2),o=r[0],i=r[1],a=(0,b.useContext)(Ri);(0,b.useEffect)((function(){var e,r,s=null===(e=n.animationState)||void 0===e?void 0:e.setActive(ps.Exit,!o,{custom:null!==(r=null==a?void 0:a.custom)&&void 0!==r?r:t});!o&&(null==s||s.then(i))}),[o])}))},vc=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},gc=function(e){return vc(e)&&e.hasOwnProperty("z")},yc=function(e,t){return Math.abs(e-t)};function bc(e,t){if(bl(e)&&bl(t))return yc(e,t);if(vc(e)&&vc(t)){var n=yc(e.x,t.x),r=yc(e.y,t.y),o=gc(e)&&gc(t)?yc(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var wc=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=Ec(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=bc(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=uu().timestamp;r.history.push(Ei(Ei({},o),{timestamp:i}));var a=r.handlers,s=a.onStart,l=a.onMove;t||(s&&s(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=_c(t,r.transformPagePoint),gs(e)&&0===e.buttons?r.handlePointerUp(e,t):cu.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=Ec(_c(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(ys(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=_c(xs(e),this.transformPagePoint),a=i.point,s=uu().timestamp;this.history=[Ei(Ei({},a),{timestamp:s})];var l=t.onSessionStart;l&&l(e,Ec(i,this.history)),this.removeListeners=js(Ps(window,"pointermove",this.handlePointerMove),Ps(window,"pointerup",this.handlePointerUp),Ps(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),ou.update(this.updatePoint)},e}();function _c(e,t){return t?{point:t(e.point)}:e}function xc(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ec(e,t){var n=e.point;return{point:n,delta:xc(n,Sc(t)),offset:xc(n,kc(t)),velocity:Cc(t,.1)}}function kc(e){return e[0]}function Sc(e){return e[e.length-1]}function Cc(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=Sc(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>mu(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Pc(e){return e}function Oc(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}var Mc={translate:0,scale:1,origin:0,originPoint:0};function Tc(){return{x:Ei({},Mc),y:Ei({},Mc)}}function Dc(e){return[e("x"),e("y")]}function Ic(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?Js(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Js(o,e,n.max):Math.min(e,o)),e}function Ac(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Rc(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=Si([o,r],2))[0],o=n[1]),{min:e.min+r,max:e.min+o}}function Nc(e,t,n){return{min:Lc(e,t),max:Lc(e,n)}}function Lc(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function Fc(e,t){return Oc(function(e,t){var n=e.top,r=e.left,o=e.bottom,i=e.right;void 0===t&&(t=Pc);var a=t({x:r,y:n}),s=t({x:i,y:o});return{top:a.y,left:a.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}function jc(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),bc(e,t)<n}function zc(e){return e.max-e.min}function Bc(e,t){var n=.5,r=zc(e),o=zc(t);return o>r?n=Zs(t.min,t.max-r,e.min):r>o&&(n=Zs(e.min,e.max-o,t.min)),function(e){return Vs(0,1,e)}(n)}function Hc(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=Js(t.min,t.max,e.origin),e.scale=zc(n)/zc(t),jc(e.scale,1,1e-4)&&(e.scale=1),e.translate=Js(n.min,n.max,e.origin)-e.originPoint,jc(e.translate)&&(e.translate=0)}function Vc(e,t,n,r){Hc(e.x,t.x,n.x,Wc(r.originX)),Hc(e.y,t.y,n.y,Wc(r.originY))}function Wc(e){return"number"==typeof e?e:.5}function Uc(e,t,n){e.min=n.min+t.min,e.max=e.min+zc(t)}var $c=function(e,t){return e.depth-t.depth};function Kc(e){return e.projection.isEnabled||e.shouldResetTransform()}function Gc(e,t){void 0===t&&(t=[]);var n=e.parent;return n&&Gc(n,t),Kc(e)&&t.push(e),t}function qc(e){if(!e.shouldResetTransform()){var t,n=e.getLayoutState();e.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=e.measureViewportBox(),n.layoutCorrected=(t=n.layout,{x:Ei({},t.x),y:Ei({},t.y)}),e.notifyLayoutMeasure(n.layout,e.prevViewportBox||n.layout),cu.update((function(){return e.rebaseProjectionTarget()}))}}function Yc(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Xc(e,t){return{x:Yc(e.x,t.x),y:Yc(e.y,t.y)}}function Zc(e,t){var n=e.getLayoutId(),r=t.getLayoutId();return n!==r||void 0===r&&e!==t}function Jc(e){var t=e.getProps(),n=t.drag,r=t._dragX;return n&&!r}function Qc(e,t){e.min=t.min,e.max=t.max}function ed(e,t,n){return n+t*(e-n)}function td(e,t,n,r,o){return void 0!==o&&(e=ed(e,o,r)),ed(e,n,r)+t}function nd(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=td(e.min,t,n,r,o),e.max=td(e.max,t,n,r,o)}function rd(e,t){var n=t.x,r=t.y;nd(e.x,n.translate,n.scale,n.originPoint),nd(e.y,r.translate,r.scale,r.originPoint)}function od(e,t,n,r){var o=Si(r,3),i=o[0],a=o[1],s=o[2];e.min=t.min,e.max=t.max;var l=void 0!==n[s]?n[s]:.5,u=Js(t.min,t.max,l);nd(e,n[i],n[a],u,n.scale)}var id=["x","scaleX","originX"],ad=["y","scaleY","originY"];function sd(e,t,n){od(e.x,t.x,n,id),od(e.y,t.y,n,ad)}function ld(e,t,n,r,o){return e=ed(e-=t,1/n,r),void 0!==o&&(e=ed(e,1/o,r)),e}function ud(e,t,n){var r=Si(n,3),o=r[0],i=r[1],a=r[2];!function(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5);var i=Js(e.min,e.max,r)-t;e.min=ld(e.min,t,n,i,o),e.max=ld(e.max,t,n,i,o)}(e,t[o],t[i],t[a],t.scale)}function cd(e,t){ud(e.x,t,id),ud(e.y,t,ad)}var dd=new Set;function fd(e,t,n){e[n]||(e[n]=[]),e[n].push(t)}function pd(e){return dd.add(e),function(){return dd.delete(e)}}function hd(){if(dd.size){var e=0,t=[[]],n=[],r=function(n){return fd(t,n,e)},o=function(t){fd(n,t,e),e++};dd.forEach((function(t){t(r,o),e=0})),dd.clear();for(var i=n.length,a=0;a<=i;a++)t[a]&&t[a].forEach(vd),n[a]&&n[a].forEach(vd)}}var md,vd=function(e){return e()},gd=new WeakMap,yd=function(){function e(e){var t=e.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=t,this.visualElement.enableLayoutProjection(),gd.set(t,this)}return e.prototype.start=function(e,t){var n=this,r=void 0===t?{}:t,o=r.snapToCursor,i=void 0!==o&&o,a=r.cursorProgress,s=this.props.transformPagePoint;this.panSession=new wc(e,{onSessionStart:function(e){var t;n.stopMotion();var r=function(e){return xs(e,"client")}(e).point;null===(t=n.cancelLayout)||void 0===t||t.call(n),n.cancelLayout=pd((function(e,t){var o=Gc(n.visualElement),s=function(e){var t=[],n=function(e){Kc(e)&&t.push(e),e.children.forEach(n)};return e.children.forEach(n),t.sort($c)}(n.visualElement),l=Ci(Ci([],Si(o)),Si(s)),u=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),t((function(){l.forEach((function(e){return e.resetTransform()}))})),e((function(){qc(n.visualElement),s.forEach(qc)})),t((function(){l.forEach((function(e){return e.restoreTransform()})),i&&(u=n.snapToCursor(r))})),e((function(){Boolean(n.getAxisMotionValue("x")&&!n.isExternalDrag())||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var e=n.visualElement.projection;Dc((function(t){if(!u){var o=e.target[t],i=o.min,s=o.max;n.cursorProgress[t]=a?a[t]:Zs(i,s,r[t])}var l=n.getAxisMotionValue(t);l&&(n.originPoint[t]=l.get())}))})),t((function(){iu.update(),iu.preRender(),iu.render(),iu.postRender()})),e((function(){return n.resolveDragConstraints()}))}))},onStart:function(e,t){var r,o,i,a=n.props,s=a.drag,l=a.dragPropagation;(!s||l||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=Is(s),n.openGlobalLock))&&(hd(),n.isDragging=!0,n.currentDirection=null,null===(o=(r=n.props).onDragStart)||void 0===o||o.call(r,e,t),null===(i=n.visualElement.animationState)||void 0===i||i.setActive(ps.Drag,!0))},onMove:function(e,t){var r,o,i,a,s=n.props,l=s.dragPropagation,u=s.dragDirectionLock;if(l||n.openGlobalLock){var c=t.offset;if(u&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(c),void(null!==n.currentDirection&&(null===(o=(r=n.props).onDirectionLock)||void 0===o||o.call(r,n.currentDirection)));n.updateAxis("x",t.point,c),n.updateAxis("y",t.point,c),null===(a=(i=n.props).onDrag)||void 0===a||a.call(i,e,t),md=e}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:s})},e.prototype.resolveDragConstraints=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!n&&($i(n)?this.resolveRefConstraints(o,n):function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:Ac(e.x,r,i),y:Ac(e.y,n,o)}}(o,n)),this.elastic=function(e){return!1===e?e=0:!0===e&&(e=.35),{x:Nc(e,"left","right"),y:Nc(e,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Dc((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(e,t){var n=this.props,r=n.onMeasureDragConstraints,o=n.transformPagePoint,i=t.current;this.constraintsBox=Fc(i,o);var a=function(e,t){return{x:Rc(e.x,t.x),y:Rc(e.y,t.y)}}(e,this.constraintsBox);if(r){var s=r(function(e){var t=e.x,n=e.y;return{top:n.min,bottom:n.max,left:t.min,right:t.max}}(a));this.hasMutatedConstraints=!!s,s&&(a=Oc(s))}return a},e.prototype.cancelDrag=function(){var e,t;this.visualElement.unlockProjectionTarget(),null===(e=this.cancelLayout)||void 0===e||e.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(ps.Drag,!1)},e.prototype.stop=function(e,t){var n,r,o;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var i=this.isDragging;if(this.cancelDrag(),i){var a=t.velocity;this.animateDragEnd(a),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,e,t)}},e.prototype.snapToCursor=function(e){var t=this;return Dc((function(n){if(bd(n,t.props.drag,t.currentDirection)){var r=t.getAxisMotionValue(n);if(!r)return t.cursorProgress[n]=.5,!0;var o=t.visualElement.getLayoutState().layout,i=o[n].max-o[n].min,a=o[n].min+i/2,s=e[n]-a;t.originPoint[n]=e[n],r.set(s)}})).includes(!0)},e.prototype.updateAxis=function(e,t,n){if(bd(e,this.props.drag,this.currentDirection))return this.getAxisMotionValue(e)?this.updateAxisMotionValue(e,n):this.updateVisualElementAxis(e,t)},e.prototype.updateAxisMotionValue=function(e,t){var n=this.getAxisMotionValue(e);if(t&&n){var r=this.originPoint[e]+t[e],o=this.constraints?Ic(r,this.constraints[e],this.elastic[e]):r;n.set(o)}},e.prototype.updateVisualElementAxis=function(e,t){var n,r=this.visualElement.getLayoutState().layout[e],o=r.max-r.min,i=this.cursorProgress[e],a=function(e,t,n,r,o){var i=e-t*n;return r?Ic(i,r,o):i}(t[e],o,i,null===(n=this.constraints)||void 0===n?void 0:n[e],this.elastic[e]);this.visualElement.setProjectionTargetAxis(e,a,a+o)},e.prototype.setProps=function(e){var t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,s=e.dragConstraints,l=void 0!==s&&s,u=e.dragElastic,c=void 0===u?.35:u,d=e.dragMomentum,f=void 0===d||d,p=ki(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=Ei({drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:l,dragElastic:c,dragMomentum:f},p)},e.prototype.getAxisMotionValue=function(e){var t=this.props,n=t.layout,r=t.layoutId,o="_drag"+e.toUpperCase();return this.props[o]?this.props[o]:n||void 0!==r?void 0:this.visualElement.getValue(e,0)},e.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},e.prototype.isExternalDrag=function(){var e=this.props,t=e._dragX,n=e._dragY;return t||n},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,s=function(e,t){void 0===t&&(t=!0);var n,r=e.getProjectionParent();return!!r&&(t?cd(n=Xc(r.projection.target,e.projection.target),r.getLatestValues()):n=Xc(r.getLayoutState().layout,e.getLayoutState().layout),Dc((function(t){return e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),l=this.constraints||{};if(s&&Object.keys(l).length&&this.isLayoutDrag()){var u=this.visualElement.getProjectionParent();if(u){var c=Xc(u.projection.targetFinal,l);Dc((function(e){var t=c[e],n=t.min,r=t.max;l[e]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}}))}}var d=Dc((function(n){var u;if(bd(n,r,t.currentDirection)){var c=null!==(u=null==l?void 0:l[n])&&void 0!==u?u:{},d=i?200:1e6,f=i?40:1e7,p=Ei(Ei({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.getAxisMotionValue(n)?t.startAxisValueAnimation(n,p):t.visualElement.startLayoutAnimation(n,p,s)}}));return Promise.all(d).then((function(){var e,n;null===(n=(e=t.props).onDragTransitionEnd)||void 0===n||n.call(e)}))},e.prototype.stopMotion=function(){var e=this;Dc((function(t){var n=e.getAxisMotionValue(t);n?n.stop():e.visualElement.stopLayoutAnimation()}))},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);if(n){var r=n.get();return n.set(r),n.set(r),Uu(e,n,0,t)}},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.drag;if($i(t.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Dc((function(t){r[t]=Bc(e.visualElement.projection.target[t],e.constraintsBox[t])})),this.updateConstraints((function(){Dc((function(t){if(bd(t,n,null)){var o=function(e,t,n){var r=e.max-e.min,o=Js(t.min,t.max-r,n);return{min:o,max:o+r}}(e.visualElement.projection.target[t],e.constraintsBox[t],r[t]),i=o.min,a=o.max;e.visualElement.setProjectionTargetAxis(t,i,a)}}))})),setTimeout(hd,1)}},e.prototype.updateConstraints=function(e){var t=this;this.cancelLayout=pd((function(n,r){var o=Gc(t.visualElement);r((function(){return o.forEach((function(e){return e.resetTransform()}))})),n((function(){return qc(t.visualElement)})),r((function(){return o.forEach((function(e){return e.restoreTransform()}))})),n((function(){t.resolveDragConstraints()})),e&&r(e)}))},e.prototype.mount=function(e){var t=this,n=Ps(e.getInstance(),"pointerdown",(function(e){var n=t.props,r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=ms(window,"resize",(function(){t.scalePoint()})),o=e.onLayoutUpdate((function(){t.isDragging&&t.resolveDragConstraints()})),i=e.prevDragCursor;return i&&this.start(md,{cursorProgress:i}),function(){null==n||n(),null==r||r(),null==o||o(),t.cancelDrag()}},e}();function bd(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var wd,_d,xd={pan:zs((function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,s=(0,b.useRef)(null),l=(0,b.useContext)(Ii).transformPagePoint,u={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){s.current=null,r&&r(e,t)}};(0,b.useEffect)((function(){null!==s.current&&s.current.updateHandlers(u)})),Os(i,"pointerdown",a&&function(e){s.current=new wc(e,u,{transformPagePoint:l})}),Ls((function(){return s.current&&s.current.end()}))})),drag:zs((function(e){var t=e.dragControls,n=e.visualElement,r=(0,b.useContext)(Ii).transformPagePoint,o=Ni((function(){return new yd({visualElement:n})}));o.setProps(Ei(Ei({},e),{transformPagePoint:r})),(0,b.useEffect)((function(){return t&&t.subscribe(o)}),[o]),(0,b.useEffect)((function(){return o.mount(n)}),[])}))};function Ed(e){return"string"==typeof e&&e.startsWith("var(--")}!function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"}(wd||(wd={})),function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"}(_d||(_d={}));var kd=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Sd(e,t,n){void 0===n&&(n=1);var r=Si(function(e){var t=kd.exec(e);if(!t)return[,];var n=Si(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():Ed(i)?Sd(i,t,n+1):i}}function Cd(e,t){return e/(t.max-t.min)*100}var Pd="_$css";var Od={process:function(e,t,n){var r=n.target;if("string"==typeof e){if(!Ca.test(e))return e;e=parseFloat(e)}return Cd(e,r.x)+"% "+Cd(e,r.y)+"%"}},Md={borderRadius:Ei(Ei({},Od),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Od,borderTopRightRadius:Od,borderBottomLeftRadius:Od,borderBottomRightRadius:Od,boxShadow:{process:function(e,t){var n=t.delta,r=t.treeScale,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(kd,(function(e){return a.push(e),Pd})));var s=yl.parse(e);if(s.length>5)return o;var l=yl.createTransformer(e),u="number"!=typeof s[0]?1:0,c=n.x.scale*r.x,d=n.y.scale*r.y;s[0+u]/=c,s[1+u]/=d;var f=Js(c,d,.5);"number"==typeof s[2+u]&&(s[2+u]/=f),"number"==typeof s[3+u]&&(s[3+u]/=f);var p=l(s);if(i){var h=0;p=p.replace(Pd,(function(){var e=a[h];return h++,e}))}return p}}},Td=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},t.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},t.isAnimating={x:!1,y:!1},t.stopAxisAnimation={x:void 0,y:void 0},t.isAnimatingTree=!1,t.animate=function(e,n,r){void 0===r&&(r={});var o=r.originBox,i=r.targetBox,a=r.visibilityAction,s=r.shouldStackAnimate,l=r.onComplete,u=r.prevParent,c=ki(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=t.props,f=d.visualElement,p=d.layout;if(!1===s)return t.isAnimatingTree=!1,t.safeToRemove();if(!t.isAnimatingTree||!0===s){s&&(t.isAnimatingTree=!0),n=o||n,e=i||e;var h=!1,m=f.getProjectionParent();if(m){var v=m.prevViewportBox,g=m.getLayoutState().layout;u&&(i&&(g=u.getLayoutState().layout),o&&!Zc(u,m)&&u.prevViewportBox&&(v=u.prevViewportBox)),v&&Ld(u,o,i)&&(h=!0,n=Xc(v,n),e=Xc(g,e))}var y=Dd(n,e),b=Dc((function(r){var o,i;if("position"===p){var s=e[r].max-e[r].min;n[r].max=n[r].min+s}if(!f.projection.isTargetLocked)return void 0===a?y?t.animateAxis(r,e[r],n[r],Ei(Ei({},c),{isRelative:h})):(null===(i=(o=t.stopAxisAnimation)[r])||void 0===i||i.call(o),f.setProjectionTargetAxis(r,e[r].min,e[r].max,h)):void f.setVisibility(a===_d.Show)}));return f.syncRender(),Promise.all(b).then((function(){t.isAnimatingTree=!1,l&&l(),f.notifyLayoutAnimationComplete()}))}},t}return xi(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.visualElement;t.animateMotionValue=Uu,t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate),t.layoutSafeToRemove=function(){return e.safeToRemove()},function(e){for(var t in e)oa[t]=e[t]}(Md)},t.prototype.componentWillUnmount=function(){var e=this;this.unsubLayoutReady(),Dc((function(t){var n,r;return null===(r=(n=e.stopAxisAnimation)[t])||void 0===r?void 0:r.call(n)}))},t.prototype.animateAxis=function(e,t,n,r){var o,i,a=this,s=void 0===r?{}:r,l=s.transition,u=s.isRelative;if(!this.isAnimating[e]||!Rd(t,this.currentAnimationTarget[e])){null===(i=(o=this.stopAxisAnimation)[e])||void 0===i||i.call(o),this.isAnimating[e]=!0;var c=this.props.visualElement,d=this.frameTarget[e],f=c.getProjectionAnimationProgress()[e];f.clearListeners(),f.set(0),f.set(0);var p=function(){var r=f.get()/1e3;!function(e,t,n,r){e.min=Js(t.min,n.min,r),e.max=Js(t.max,n.max,r)}(d,n,t,r),c.setProjectionTargetAxis(e,d.min,d.max,u)};p();var h=f.onChange(p);this.stopAxisAnimation[e]=function(){a.isAnimating[e]=!1,f.stop(),h()},this.currentAnimationTarget[e]=t;var m=l||c.getDefaultTransition()||Nd;return Uu("x"===e?"layoutX":"layoutY",f,1e3,m&&Wu(m,"layout")).then(this.stopAxisAnimation[e])}},t.prototype.safeToRemove=function(){var e,t;null===(t=(e=this.props).safeToRemove)||void 0===t||t.call(e)},t.prototype.render=function(){return null},t}(b.Component);function Dd(e,t){return!(Ad(e)||Ad(t)||Rd(e.x,t.x)&&Rd(e.y,t.y))}var Id={min:0,max:0};function Ad(e){return Rd(e.x,Id)&&Rd(e.y,Id)}function Rd(e,t){return e.min===t.min&&e.max===t.max}var Nd={duration:.45,ease:[.4,0,.1,1]};function Ld(e,t,n){return e||!e&&!(t||n)}var Fd={layoutReady:function(e){return e.notifyLayoutReady()}};function jd(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var n=void 0===t?Fd:t,r=n.layoutReady,o=n.parent;pd((function(t,n){var i=Array.from(e).sort($c),a=o?Gc(o):[];n((function(){Ci(Ci([],Si(a)),Si(i)).forEach((function(e){return e.resetTransform()}))})),t((function(){i.forEach(qc)})),n((function(){a.forEach((function(e){return e.restoreTransform()})),i.forEach(r)})),t((function(){i.forEach((function(e){e.isPresent&&(e.presence=wd.Present)}))})),n((function(){iu.preRender(),iu.render()})),t((function(){cu.postRender((function(){return i.forEach(zd)})),e.clear()}))})),hd()}}}function zd(e){e.prevViewportBox=e.projection.target}var Bd=(0,b.createContext)(jd()),Hd=(0,b.createContext)(jd());function Vd(e){return!!e.forceUpdate}var Wd=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return xi(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.syncLayout,n=e.framerSyncLayout,r=e.visualElement;Vd(t)&&t.register(r),Vd(n)&&n.register(r),r.onUnmount((function(){Vd(t)&&t.remove(r),Vd(n)&&n.remove(r)}))},t.prototype.getSnapshotBeforeUpdate=function(){var e=this.props,t=e.syncLayout,n=e.visualElement;return Vd(t)?t.syncUpdate():(!function(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}(n),t.add(n)),null},t.prototype.componentDidUpdate=function(){var e=this.props.syncLayout;Vd(e)||e.flush()},t.prototype.render=function(){return null},t}(w().Component);var Ud={measureLayout:function(e){var t=(0,b.useContext)(Bd),n=(0,b.useContext)(Hd);return w().createElement(Wd,Ei({},e,{syncLayout:t,framerSyncLayout:n}))},layoutAnimation:function(e){var t=Si(Li(),2)[1];return b.createElement(Td,Ei({},e,{safeToRemove:t}))}};function $d(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:Tc(),deltaFinal:Tc(),deltaTransform:""}}var Kd=$d();function Gd(e,t,n){var r=e.x,o=e.y,i="translate3d("+r.translate/t.x+"px, "+o.translate/t.y+"px, 0) ";if(n){var a=n.rotate,s=n.rotateX,l=n.rotateY;a&&(i+="rotate("+a+") "),s&&(i+="rotateX("+s+") "),l&&(i+="rotateY("+l+") ")}return i+="scale("+r.scale+", "+o.scale+")",n||i!==Yd?i:""}function qd(e){var t=e.deltaFinal;return 100*t.x.origin+"% "+100*t.y.origin+"% 0"}var Yd=Gd(Kd.delta,Kd.treeScale,{x:1,y:1}),Xd=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function Zd(e,t,n,r){var o,i,a=e.delta,s=e.layout,l=e.layoutCorrected,u=e.treeScale,c=t.target;i=s,Qc((o=l).x,i.x),Qc(o.y,i.y),function(e,t,n){var r=n.length;if(r){var o,i;t.x=t.y=1;for(var a=0;a<r;a++)i=(o=n[a]).getLayoutState().delta,t.x*=i.x.scale,t.y*=i.y.scale,rd(e,i),Jc(o)&&sd(e,e,o.getLatestValues())}}(l,u,n),Vc(a,l,c,r)}var Jd=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Ku(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Gu(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort($c),this.isDirty=!1,this.children.forEach(e)},e}();var Qd=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,u=e.resetTransform,c=e.restoreTransform,d=e.removeValueFromRenderState,f=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var h=e.parent,m=e.props,v=e.presenceId,g=e.blockInitialAnimation,y=e.visualState;void 0===t&&(t={});var b,w,_,x,E,k,S=y.latestValues,C=y.renderState,P=function(){var e=Xd.map((function(){return new qu})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){return Xd.forEach((function(r){var o;null===(o=t[r])||void 0===o||o.call(t);var i="on"+r,a=e[i];a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+Xd[t]]=function(t){return e.add(t)},n["notify"+Xd[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,Ci([],Si(t)))}})),n}(),O={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},M=O,T=S,D=$d(),I=!1,A=new Map,R=new Map,N={},L=Ei({},S);function F(){b&&(K.isProjectionReady()&&(sd(M.targetFinal,M.target,T),Vc(D.deltaFinal,D.layoutCorrected,M.targetFinal,S)),j(),s(b,C))}function j(){var e=S;if(x&&x.isActive()){var n=x.getCrossfadeState(K);n&&(e=n)}r(K,C,e,M,D,t,m)}function z(){P.notifyUpdate(S)}function B(){K.layoutTree.forEach(tf)}var H=p(m);for(var V in H){var W=H[V];void 0!==S[V]&&pa(W)&&W.set(S[V],!1)}var U=Xi(m),$=Zi(m),K=Ei(Ei({treeType:n,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,path:h?Ci(Ci([],Si(h.path)),[h]):[],layoutTree:h?h.layoutTree:new Jd,presenceId:v,projection:O,variantChildren:$?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==h?void 0:h.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(b)},mount:function(e){b=K.current=e,K.pointTo(K),$&&h&&!U&&(k=null==h?void 0:h.addVariantChild(K)),null==h||h.children.add(K)},unmount:function(){ou.update(z),ou.render(F),ou.preRender(K.updateLayoutProjection),R.forEach((function(e){return e()})),K.stopLayoutAnimation(),K.layoutTree.remove(K),null==k||k(),null==h||h.children.delete(K),null==_||_(),P.clearAllListeners()},addVariantChild:function(e){var t,n=K.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return f&&n===e.treeType?f(K.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return $?K:null==h?void 0:h.getClosestVariantNode()},scheduleUpdateLayoutProjection:h?h.scheduleUpdateLayoutProjection:function(){return cu.preRender(K.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return m.layoutId},getInstance:function(){return b},getStaticValue:function(e){return S[e]},setStaticValue:function(e,t){return S[e]=t},getLatestValues:function(){return S},setVisibility:function(e){K.isVisible!==e&&(K.isVisible=e,K.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(K,e,m,t)},addValue:function(e,t){K.hasValue(e)&&K.removeValue(e),A.set(e,t),S[e]=t.get(),function(e,t){var n=t.onChange((function(t){S[e]=t,m.onUpdate&&cu.update(z,!1,!0)})),r=t.onRenderRequest(K.scheduleRender);R.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;A.delete(e),null===(t=R.get(e))||void 0===t||t(),R.delete(e),delete S[e],d(e,C)},hasValue:function(e){return A.has(e)},getValue:function(e,t){var n=A.get(e);return void 0===n&&void 0!==t&&(n=Xu(t),K.addValue(e,n)),n},forEachValue:function(e){return A.forEach(e)},readValue:function(e){var n;return null!==(n=S[e])&&void 0!==n?n:l(b,e,t)},setBaseTarget:function(e,t){L[e]=t},getBaseTarget:function(e){if(o){var t=o(m,e);if(void 0!==t&&!pa(t))return t}return L[e]}},P),{build:function(){return j(),C},scheduleRender:function(){cu.render(F,!1,!0)},syncRender:F,setProps:function(e){m=e,P.updatePropListeners(e),N=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(pa(i))e.addValue(o,i);else if(pa(a))e.addValue(o,Xu(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,Xu(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(K,p(m),N)},getProps:function(){return m},getVariant:function(e){var t;return null===(t=m.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return m.transition},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==h?void 0:h.getVariantContext();if(!U){var t=(null==h?void 0:h.getVariantContext())||{};return void 0!==m.initial&&(t.initial=m.initial),t}for(var n={},r=0;r<of;r++){var o=rf[r],i=m[o];(Gi(i)||!1===i)&&(n[o]=i)}return n},enableLayoutProjection:function(){O.isEnabled=!0,K.layoutTree.add(K)},lockProjectionTarget:function(){O.isTargetLocked=!0},unlockProjectionTarget:function(){K.stopLayoutAnimation(),O.isTargetLocked=!1},getLayoutState:function(){return D},setCrossfader:function(e){x=e},isProjectionReady:function(){return O.isEnabled&&O.isHydrated&&D.isHydrated},startLayoutAnimation:function(e,t,n){void 0===n&&(n=!1);var r=K.getProjectionAnimationProgress()[e],o=n?O.relativeTarget[e]:O.target[e],i=o.min,a=o.max-i;return r.clearListeners(),r.set(i),r.set(i),r.onChange((function(t){K.setProjectionTargetAxis(e,t,t+a,n)})),K.animateMotionValue(e,r,0,t)},stopLayoutAnimation:function(){Dc((function(e){return K.getProjectionAnimationProgress()[e].stop()}))},measureViewportBox:function(e){void 0===e&&(e=!0);var n=a(b,t);return e||cd(n,S),n},getProjectionAnimationProgress:function(){return E||(E={x:Xu(0),y:Xu(0)}),E},setProjectionTargetAxis:function(e,t,n,r){var o;void 0===r&&(r=!1),r?(O.relativeTarget||(O.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=O.relativeTarget[e]):(O.relativeTarget=void 0,o=O.target[e]),O.isHydrated=!0,o.min=t,o.max=n,I=!0,P.notifySetAxisTarget()},rebaseProjectionTarget:function(e,t){void 0===t&&(t=D.layout);var n=K.getProjectionAnimationProgress(),r=n.x,o=n.y,i=!(O.relativeTarget||O.isTargetLocked||r.isAnimating()||o.isAnimating());(e||i)&&Dc((function(e){var n=t[e],r=n.min,o=n.max;K.setProjectionTargetAxis(e,r,o)}))},notifyLayoutReady:function(e){!function(e){var t=e.getProjectionParent();if(t){var n=Xc(t.getLayoutState().layout,e.getLayoutState().layout);Dc((function(t){e.setProjectionTargetAxis(t,n[t].min,n[t].max,!0)}))}else e.rebaseProjectionTarget()}(K),K.notifyLayoutUpdate(D.layout,K.prevViewportBox||D.layout,e)},resetTransform:function(){return u(K,b,m)},restoreTransform:function(){return c(b,C)},updateLayoutProjection:function(){if(K.isProjectionReady()){var e=D.delta,t=D.treeScale,n=t.x,r=t.y,o=D.deltaTransform;Zd(D,M,K.path,S),I&&K.notifyViewportBoxUpdate(M.target,e),I=!1;var i=Gd(e,t);i===o&&n===t.x&&r===t.y||K.scheduleRender(),D.deltaTransform=i}},updateTreeLayoutProjection:function(){K.layoutTree.forEach(ef),cu.preRender(B,!1,!0)},getProjectionParent:function(){if(void 0===w){for(var e=!1,t=K.path.length-1;t>=0;t--){var n=K.path[t];if(n.projection.isEnabled){e=n;break}}w=e}return w},resolveRelativeTargetBox:function(){var e=K.getProjectionParent();if(O.relativeTarget&&e&&(function(e,t){Uc(e.target.x,e.relativeTarget.x,t.target.x),Uc(e.target.y,e.relativeTarget.y,t.target.y)}(O,e.projection),Jc(e))){var t=O.target;sd(t,t,e.getLatestValues())}},shouldResetTransform:function(){return Boolean(m._layoutResetTransform)},pointTo:function(e){M=e.projection,T=e.getLatestValues(),null==_||_(),_=js(e.onSetAxisTarget(K.scheduleUpdateLayoutProjection),e.onLayoutAnimationComplete((function(){var e;K.isPresent?K.presence=wd.Present:null===(e=K.layoutSafeToRemove)||void 0===e||e.call(K)})))},isPresent:!0,presence:wd.Entering});return K}};function ef(e){e.resolveRelativeTargetBox()}function tf(e){e.updateLayoutProjection()}var nf,rf=Ci(["initial"],Si(uc)),of=rf.length,af=new Set(["width","height","top","left","right","bottom","x","y"]),sf=function(e){return af.has(e)},lf=function(e,t){e.set(t,!1),e.set(t)},uf=function(e){return e===Ta||e===Ca};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(nf||(nf={}));var cf=function(e,t){return parseFloat(e.split(", ")[t])},df=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return cf(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?cf(a[1],e):0}},ff=new Set(["x","y","z"]),pf=aa.filter((function(e){return!ff.has(e)}));var hf={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:df(4,13),y:df(5,14)},mf=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=Ei({},t),r=Ei({},r);var o=Object.keys(t).filter(sf),i=[],a=!1,s=[];if(o.forEach((function(o){var l=e.getValue(o);if(e.hasValue(o)){var u,c=n[o],d=t[o],f=Qu(c);if(as(d))for(var p=d.length,h=null===d[0]?1:0;h<p;h++)u?Qu(d[h]):(u=Qu(d[h]))===f||uf(f)&&uf(u);else u=Qu(d);if(f!==u)if(uf(f)&&uf(u)){var m=l.get();"string"==typeof m&&l.set(parseFloat(m)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&u===Ca&&(t[o]=d.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==u?void 0:u.transform)&&(0===c||0===d)?0===c?l.set(u.transform(c)):t[o]=f.transform(d):(a||(i=function(e){var t=[];return pf.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),a=!0),s.push(o),r[o]=void 0!==r[o]?r[o]:t[o],lf(l,d))}})),s.length){var l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===a&&t.setStaticValue("display",e.display||"block"),t.syncRender();var l=t.measureViewportBox();return n.forEach((function(n){var o=t.getValue(n);lf(o,hf[n](r,s)),e[n]=hf[n](l,i)})),e}(t,e,s);return i.length&&i.forEach((function(t){var n=Si(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}};function vf(e,t,n,r){return function(e){return Object.keys(e).some(sf)}(t)?mf(e,t,n,r):{target:t,transitionEnd:r}}var gf=function(e,t,n,r){var o=function(e,t,n){var r,o=ki(t,[]),i=e.getInstance();if(!(i instanceof HTMLElement))return{target:o,transitionEnd:n};for(var a in n&&(n=Ei({},n)),e.forEachValue((function(e){var t=e.get();if(Ed(t)){var n=Sd(t,i);n&&e.set(n)}})),o){var s=o[a];if(Ed(s)){var l=Sd(s,i);l&&(o[a]=l,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=s)))}}return{target:o,transitionEnd:n}}(e,t,r);return vf(e,t=o.target,n,r=o.transitionEnd)};var yf={treeType:"dom",readValueFromInstance:function(e,t){if(ua(t)){var n=Lu(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(ma(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return Fc(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,s=ki(t,["transition","transitionEnd"]),l=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=oc(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(s,i||{},e);if(o&&(a&&(a=o(a)),s&&(s=o(s)),l&&(l=o(l))),r){!function(e,t,n){var r,o,i,a,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=s.length;if(l)for(var u=0;u<l;u++){var c=s[u],d=t[c],f=null;Array.isArray(d)&&(f=d[0]),null===f&&(f=null!==(o=null!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==o?o:t[c]),null!=f&&("string"==typeof f&&$u(f)?f=parseFloat(f):!tc(f)&&yl.test(d)&&(f=Fu(c,d)),e.addValue(c,Xu(f)),null!==(i=(a=n)[c])&&void 0!==i||(a[c]=f),e.setBaseTarget(c,f))}}(e,s,l);var u=gf(e,s,l,a);a=u.transitionEnd,s=u.target}return Ei({transition:i,transitionEnd:a},s)},scrapeMotionValuesFromProps:rs,build:function(e,t,n,r,o,i,a){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden");var s=r.isEnabled&&o.isHydrated;Na(t,n,r,o,i,a.transformTemplate,s?Gd:void 0,s?qd:void 0)},render:es},bf=Qd(yf),wf=Qd(Ei(Ei({},yf),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return ua(t)?(null===(n=Lu(t))||void 0===n?void 0:n.default)||0:(t=ts.has(t)?t:Qa(t),e.getAttribute(t))},scrapeMotionValuesFromProps:os,build:function(e,t,n,r,o,i,a){var s=r.isEnabled&&o.isHydrated;qa(t,n,r,o,i,a.transformTemplate,s?Gd:void 0,s?qd:void 0)},render:ns})),_f=function(e,t){return ra(e)?wf(t,{enableHardwareAcceleration:!1}):bf(t,{enableHardwareAcceleration:!0})},xf=Ei(Ei(Ei(Ei({},mc),Bs),xd),Ud),Ef=ta((function(e,t){return function(e,t,n,r){var o=t.forwardMotionProps,i=void 0!==o&&o,a=ra(e)?fs:hs;return Ei(Ei({},a),{preloadedFeatures:n,useRender:Za(i),createVisualElement:r,Component:e})}(e,t,xf,_f)}));const kf=(0,s.createContext)({flexItemDisplay:void 0});const Sf={name:"zjik7",styles:"display:flex"},Cf={name:"qgaee5",styles:"display:block;max-height:100%;max-width:100%;min-height:0;min-width:0"},Pf={name:"82a6rk",styles:"flex:1"},Of={name:"13nosa1",styles:">*{min-height:0;}"},Mf={name:"1pwxzk4",styles:">*{min-width:0;}"};function Tf(e){const{className:t,display:n,isBlock:r=!1,...o}=Cn(e,"FlexItem"),i={},a=(0,s.useContext)(kf).flexItemDisplay;i.Base=Nr({display:n||a},"","");return{...o,className:Sn()(Cf,i.Base,r&&Pf,t)}}var Df=Pn((function(e,t){const n=function(e){return Tf({isBlock:!0,...Cn(e,"FlexBlock")})}(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"FlexBlock");var If=Pn((function(e,t){const n=Tf(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"FlexItem");const Af=["40em","52em","64em"],Rf=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{defaultIndex:t=0}=e;if("number"!=typeof t)throw new TypeError(`Default breakpoint index should be a number. Got: ${t}, ${typeof t}`);if(t<0||t>Af.length-1)throw new RangeError(`Default breakpoint index out of range. Theme has ${Af.length} breakpoints, got index ${t}`);const[n,r]=(0,s.useState)(t);return(0,s.useEffect)((()=>{const e=()=>{const e=Af.filter((e=>"undefined"!=typeof window&&window.matchMedia(`screen and (min-width: ${e})`).matches)).length;n!==e&&r(e)};return e(),"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{"undefined"!=typeof window&&window.removeEventListener("resize",e)}}),[n]),n};function Nf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Rf(t);if(!Array.isArray(e)&&"function"!=typeof e)return e;const r=e||[];return r[n>=r.length?r.length-1:n]}function Lf(e){var t,n;if(void 0===e)return;if(!e)return"0";const r="number"==typeof e?e:Number(e);return"undefined"!=typeof window&&null!==(t=window.CSS)&&void 0!==t&&null!==(n=t.supports)&&void 0!==n&&n.call(t,"margin",e.toString())||Number.isNaN(r)?e.toString():`calc(4px * ${e})`}const Ff=new RegExp(/-left/g),jf=new RegExp(/-right/g),zf=new RegExp(/Left/g),Bf=new RegExp(/Right/g);function Hf(e){return"left"===e?"right":"right"===e?"left":Ff.test(e)?e.replace(Ff,"-right"):jf.test(e)?e.replace(jf,"-left"):zf.test(e)?e.replace(zf,"Right"):Bf.test(e)?e.replace(Bf,"Left"):e}const Vf=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.mapKeys)(e,((e,t)=>Hf(t)))};function Wf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return()=>t?(0,d.isRTL)()?Nr(t,""):Nr(e,""):(0,d.isRTL)()?Nr(Vf(e),""):Nr(e,"")}function Uf(e){const{align:t="center",className:n,direction:r="row",expanded:o=!0,gap:i=2,justify:a="space-between",wrap:l=!1,...u}=Cn(function(e){let{isReversed:t,...n}=e;return void 0!==t?(Be()("Flex isReversed",{alternative:'Flex direction="row-reverse" or "column-reverse"',since:"5.9"}),{...n,direction:t?"row-reverse":"row"}):n}(e),"Flex"),c=Nf(Array.isArray(r)?r:[r]),d="string"==typeof c&&!!c.includes("column"),f="string"==typeof c&&c.includes("reverse"),p=Sn();return{...u,className:(0,s.useMemo)((()=>{const e={};return e.Base=Nr({alignItems:d?"normal":t,flexDirection:c,flexWrap:l?"wrap":void 0,justifyContent:a,height:d&&o?"100%":void 0,width:!d&&o?"100%":void 0,marginBottom:l?`calc(${Lf(i)} * -1)`:void 0},"",""),e.Items=Nr(">*+*:not( marquee ){margin-top:",d?Lf(i):void 0,";",Wf({marginLeft:d||f?void 0:Lf(i),marginRight:!d&&f?Lf(i):void 0})(),";}",""),e.WrapItems=Nr(">*:not( marquee ){margin-bottom:",Lf(i),";",Wf({marginLeft:!d&&f?Lf(i):void 0,marginRight:d||f?void 0:Lf(i)})(),";}>*:last-child:not( marquee ){",Wf({marginLeft:!d&&f?0:void 0,marginRight:d||f?void 0:0})(),";}",""),p(Sf,e.Base,l?e.WrapItems:e.Items,d?Of:Mf,n)}),[t,n,c,o,i,d,f,a,l,Wf.watch()]),isColumn:d}}Wf.watch=()=>(0,d.isRTL)();var $f=Pn((function(e,t){const{children:n,isColumn:r,...o}=Uf(e);return(0,s.createElement)(kf.Provider,{value:{flexItemDisplay:r?"block":void 0}},(0,s.createElement)(zn,a({},o,{ref:t}),n))}),"Flex");const Kf={name:"hdknak",styles:"display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap"},Gf="…",qf={auto:"auto",head:"head",middle:"middle",tail:"tail",none:"none"},Yf={ellipsis:Gf,ellipsizeMode:qf.auto,limit:0,numberOfLines:0};function Xf(e,t,n,r){if("string"!=typeof e)return"";const o=e.length,i=~~t,a=~~n,s=(0,l.isNil)(r)?Gf:r;return 0===i&&0===a||i>=o||a>=o||i+a>=o?e:0===a?e.slice(0,i)+s:e.slice(0,i)+s+e.slice(o-a)}function Zf(e){const{className:t,children:n,ellipsis:r=Gf,ellipsizeMode:o=qf.auto,limit:i=0,numberOfLines:a=0,...l}=Cn(e,"Truncate"),u=Sn(),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const n={...Yf,...t},{ellipsis:r,ellipsizeMode:o,limit:i}=n;if(o===qf.none)return e;let a,s;switch(o){case qf.head:a=0,s=i;break;case qf.middle:a=Math.floor(i/2),s=Math.floor(i/2);break;default:a=i,s=0}return o!==qf.auto?Xf(e,a,s,r):e}("string"==typeof n?n:"",{ellipsis:r,ellipsizeMode:o,limit:i,numberOfLines:a}),d=o===qf.auto;return{...l,className:(0,s.useMemo)((()=>{const e={};return e.numberOfLines=Nr("-webkit-box-orient:vertical;-webkit-line-clamp:",a,";display:-webkit-box;overflow:hidden;",""),u(d&&!a&&Kf,d&&!!a&&e.numberOfLines,t)}),[t,a,d]),children:c}}let Jf;co([fo]);const Qf=qe()((function(e){var t,n;if("string"!=typeof e)return"";if("string"==typeof(n=e)&&lo(n).isValid())return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";const r=function(){if("undefined"!=typeof document){if(!Jf){const e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),Jf=e}return Jf}}();if(!r)return"";r.style.background=e;const o=null===(t=window)||void 0===t?void 0:t.getComputedStyle(r).background;return r.style.background="",o||""}));function ep(e){const t=function(e){const t=Qf(e);return lo(t).isLight()?"#000000":"#ffffff"}(e);return"#000000"===t?"dark":"light"}const tp="36px",np="12px",rp={controlSurfaceColor:ko.white,controlTextActiveColor:ko.ui.theme,controlPaddingX:np,controlPaddingXLarge:"calc(12px * 1.3334)",controlPaddingXSmall:"calc(12px / 1.3334)",controlBackgroundColor:ko.white,controlBorderRadius:"2px",controlBorderColor:ko.gray[700],controlBoxShadow:"transparent",controlBorderColorHover:ko.gray[700],controlBoxShadowFocus:`0 0 0 0.5px ${ko.admin.theme}`,controlDestructiveBorderColor:ko.alert.red,controlHeight:tp,controlHeightXSmall:"calc( 36px * 0.6 )",controlHeightSmall:"calc( 36px * 0.8 )",controlHeightLarge:"calc( 36px * 1.2 )",controlHeightXLarge:"calc( 36px * 1.4 )"},op={toggleGroupControlBackgroundColor:rp.controlBackgroundColor,toggleGroupControlBorderColor:ko.ui.border,toggleGroupControlBackdropBackgroundColor:rp.controlSurfaceColor,toggleGroupControlBackdropBorderColor:ko.ui.border,toggleGroupControlBackdropBoxShadow:"transparent",toggleGroupControlButtonColorActive:rp.controlBackgroundColor};var ip={...rp,...op,colorDivider:"rgba(0, 0, 0, 0.1)",colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",elevationIntensity:1,radiusBlockUi:"2px",borderWidth:"1px",borderWidthFocus:"1.5px",borderWidthTab:"4px",spinnerSize:"18px",fontSize:"13px",fontSizeH1:"calc(2.44 * 13px)",fontSizeH2:"calc(1.95 * 13px)",fontSizeH3:"calc(1.56 * 13px)",fontSizeH4:"calc(1.25 * 13px)",fontSizeH5:"13px",fontSizeH6:"calc(0.8 * 13px)",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * 13px)",fontSizeXSmall:"calc(0.75 * 13px)",fontLineHeightBase:"1.2",fontWeight:"normal",fontWeightHeading:"600",gridBase:"4px",cardBorderRadius:"2px",cardPaddingXSmall:`${Lf(2)}`,cardPaddingSmall:`${Lf(4)}`,cardPaddingMedium:`${Lf(4)} ${Lf(6)}`,cardPaddingLarge:`${Lf(6)} ${Lf(8)}`,surfaceBackgroundColor:ko.white,surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:ko.white,surfaceColor:ko.white,transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"};const ap=Nr("color:",ko.darkGray.primary,";line-height:",ip.fontLineHeightBase,";margin:0;",""),sp={name:"4zleql",styles:"display:block"},lp=Nr("color:",ko.alert.green,";",""),up=Nr("color:",ko.alert.red,";",""),cp=Nr("color:",ko.mediumGray.text,";",""),dp=Nr("mark{background:",ko.alert.yellow,";border-radius:2px;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;}",""),fp={name:"50zrmy",styles:"text-transform:uppercase"};var pp=n(3138);const hp=qe()((e=>{const t={};for(const n in e)t[n.toLowerCase()]=e[n];return t}));const mp={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20},vp=[1,2,3,4,5,6].flatMap((e=>[e,e.toString()]));function gp(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:13;if(e in mp)return gp(mp[e]);if("number"!=typeof e){const t=parseFloat(e);if(Number.isNaN(t))return e;e=t}const t=`(${e} / 13)`;return`calc(${t} * ${ip.fontSize})`}function yp(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;if(!vp.includes(e))return gp(e);const t=`fontSizeH${e}`;return ip[t]}var bp={name:"50zrmy",styles:"text-transform:uppercase"};function wp(t){const{adjustLineHeightForInnerControls:n,align:r,children:o,className:i,color:a,ellipsizeMode:u,isDestructive:c=!1,display:d,highlightEscape:f=!1,highlightCaseSensitive:p=!1,highlightWords:h,highlightSanitize:m,isBlock:v=!1,letterSpacing:g,lineHeight:y,optimizeReadabilityFor:b,size:w,truncate:_=!1,upperCase:x=!1,variant:E,weight:k=ip.fontWeight,...S}=Cn(t,"Text");let C=o;const P=Array.isArray(h),O="caption"===w;if(P){if("string"!=typeof o)throw new TypeError("`children` of `Text` must only be `string` types when `highlightWords` is defined");C=function(e){let{activeClassName:t="",activeIndex:n=-1,activeStyle:r,autoEscape:o,caseSensitive:i=!1,children:a,findChunks:l,highlightClassName:u="",highlightStyle:c={},highlightTag:d="mark",sanitize:f,searchWords:p=[],unhighlightClassName:h="",unhighlightStyle:m}=e;if(!a)return null;if("string"!=typeof a)return a;const v=a,g=(0,pp.findAll)({autoEscape:o,caseSensitive:i,findChunks:l,sanitize:f,searchWords:p,textToHighlight:v}),y=d;let b,w=-1,_="";return g.map(((e,o)=>{const a=v.substr(e.start,e.end-e.start);if(e.highlight){let e;w++,"object"==typeof u?i?e=u[a]:(u=hp(u),e=u[a.toLowerCase()]):e=u;const l=w===+n;_=`${e} ${l?t:""}`,b=!0===l&&null!==r?Object.assign({},c,r):c;const d={children:a,className:_,key:o,style:b};return"string"!=typeof y&&(d.highlightIndex=w),(0,s.createElement)(y,d)}return(0,s.createElement)("span",{children:a,className:h,key:o,style:m})}))}({autoEscape:f,children:o,caseSensitive:p,searchWords:h,sanitize:m})}const M=Sn();let T;!0===_&&(T="auto"),!1===_&&(T="none");const D=Zf({...S,className:(0,s.useMemo)((()=>{const t={},o=function(e,t){if(t)return t;if(!e)return;let n=`calc(${ip.controlHeight} + ${Lf(2)})`;switch(e){case"large":n=`calc(${ip.controlHeightLarge} + ${Lf(2)})`;break;case"small":n=`calc(${ip.controlHeightSmall} + ${Lf(2)})`;break;case"xSmall":n=`calc(${ip.controlHeightXSmall} + ${Lf(2)})`}return n}(n,y);if(t.Base=Nr({color:a,display:d,fontSize:gp(w),fontWeight:k,lineHeight:o,letterSpacing:g,textAlign:r},"",""),t.upperCase=bp,t.optimalTextColor=null,b){const e="dark"===ep(b);t.optimalTextColor=Nr(e?{color:ko.black}:{color:ko.white},"","")}return M(ap,t.Base,t.optimalTextColor,c&&up,!!P&&dp,v&&sp,O&&cp,E&&e[E],x&&t.upperCase,i)}),[n,r,i,a,d,v,O,c,P,g,y,b,w,x,E,k]),children:o,ellipsizeMode:u||T});return!_&&Array.isArray(o)&&(C=s.Children.map(o,(e=>{if(!(0,l.isPlainObject)(e)||!("props"in e))return e;return Mn(e,["Link"])?(0,s.cloneElement)(e,{size:e.props.size||"inherit"}):e}))),{...D,children:_?D.children:C}}var _p=Pn((function(e,t){const n=wp(e);return(0,s.createElement)(zn,a({as:"span"},n,{ref:t}))}),"Text");var xp={name:"1739oy8",styles:"z-index:1"};const Ep=e=>{let{isFocused:t}=e;return t?xp:""};var kp={name:"2o6p8u",styles:"justify-content:space-between"},Sp={name:"14qk3ip",styles:"align-items:flex-start;flex-direction:column-reverse"},Cp={name:"hbng6e",styles:"align-items:flex-start;flex-direction:column"};const Pp=e=>{let{labelPosition:t}=e;switch(t){case"top":return Cp;case"bottom":return Sp;case"edge":return kp;default:return""}},Op=Fn($f,{target:"em5sgkm7"})("position:relative;border-radius:2px;padding-top:0;",Ep," ",Pp,";");var Mp={name:"wyxldh",styles:"margin:0 !important"};var Tp={name:"1d3w5wq",styles:"width:100%"};const Dp=Fn("div",{target:"em5sgkm6"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",(e=>{let{disabled:t}=e;return Nr({backgroundColor:t?ko.ui.backgroundDisabled:ko.ui.background},"","")})," ",(e=>{let{hideLabel:t}=e;return t?Mp:null})," ",(e=>{let{__unstableInputWidth:t,labelPosition:n}=e;return t?"side"===n?"":Nr("edge"===n?{flex:`0 0 ${t}`}:{width:t},"",""):Tp}),";"),Ip=Fn("input",{target:"em5sgkm5"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",ko.black,";display:block;margin:0;outline:none;padding-left:8px;padding-right:8px;width:100%;",(e=>{let t,n,{isDragging:r,dragCursor:o}=e;return r&&(t=Nr("cursor:",o,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}","")),r&&o&&(n=Nr("&:active{cursor:",o,";}","")),Nr(t," ",n,";","")})," ",(e=>{let{disabled:t}=e;return t?Nr({color:ko.ui.textDisabled},"",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:"13px",small:"11px"},r=n[t]||n.default;return r?Nr("font-size:","16px",";@media ( min-width: 600px ){font-size:",r,";}",""):""})," ",(e=>{let{inputSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return Nr(n[t]||n.default,"","")})," &::-webkit-input-placeholder{line-height:normal;}}"),Ap=e=>{let{labelPosition:t}=e,n=4;return"edge"!==t&&"side"!==t||(n=0),Nr({paddingTop:0,paddingBottom:n},"","")},Rp=Fn(_p,{target:"em5sgkm4"})("&&&{box-sizing:border-box;color:currentColor;display:block;margin:0;max-width:100%;z-index:1;",Ap," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"),Np=e=>(0,s.createElement)(Rp,a({},e,{as:"label"})),Lp=Fn(If,{target:"em5sgkm3"})({name:"1b6uupn",styles:"max-width:calc( 100% - 10px )"}),Fp=Fn("div",{target:"em5sgkm2"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",(e=>{let t,{disabled:n,isFocused:r}=e,o=r?ko.ui.borderFocus:ko.ui.border;return r&&(t=`0 0 0 1px ${ko.ui.borderFocus} inset`),n&&(o=ko.ui.borderDisabled),Nr({boxShadow:t,borderColor:o,borderStyle:"solid",borderWidth:1},"","")})," ",Wf({paddingLeft:2}),";}"),jp=Fn("span",{target:"em5sgkm1"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"}),zp=Fn("span",{target:"em5sgkm0"})({name:"pvvbxf",styles:"box-sizing:border-box;display:block"});const Bp=(0,s.memo)((function(e){let{disabled:t=!1,isFocused:n=!1}=e;return(0,s.createElement)(Fp,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:t,isFocused:n})}));var Hp=Bp;function Vp(e){let{children:t,hideLabelFromVision:n,htmlFor:r,...o}=e;return t?n?(0,s.createElement)(Bn,{as:"label",htmlFor:r},t):(0,s.createElement)(Np,a({htmlFor:r},o),t):null}function Wp(e,t){let{__unstableInputWidth:n,children:r,className:o,disabled:i=!1,hideLabelFromVision:l=!1,labelPosition:u,id:c,isFocused:d=!1,label:p,prefix:h,size:m="default",suffix:v,...g}=e;const y=function(e){const t=(0,f.useInstanceId)(Wp);return e||`input-base-control-${t}`}(c),b=l||!p;return(0,s.createElement)(Op,a({},g,function(e){const t={};switch(e){case"top":t.direction="column",t.gap=0;break;case"bottom":t.direction="column-reverse",t.gap=0;break;case"edge":t.justify="space-between"}return t}(u),{className:o,isFocused:d,labelPosition:u,ref:t}),(0,s.createElement)(Lp,null,(0,s.createElement)(Vp,{className:"components-input-control__label",hideLabelFromVision:l,labelPosition:u,htmlFor:y,size:m},p)),(0,s.createElement)(Dp,{__unstableInputWidth:n,className:"components-input-control__container",disabled:i,hideLabel:b,labelPosition:u},h&&(0,s.createElement)(jp,{className:"components-input-control__prefix"},h),r,v&&(0,s.createElement)(zp,{className:"components-input-control__suffix"},v),(0,s.createElement)(Hp,{disabled:i,isFocused:d})))}var Up=(0,s.forwardRef)(Wp);function $p(e,t){return e.map((function(e,n){return e+t[n]}))}function Kp(e,t){return e.map((function(e,n){return e-t[n]}))}function Gp(e){return Math.hypot.apply(Math,e)}function qp(e,t,n){var r=Gp(t),o=0===r?0:1/r,i=0===n?0:1/n,a=i*r,s=t.map((function(e){return i*e})),l=t.map((function(e){return o*e}));return{velocities:s,velocity:a,distance:Gp(e),direction:l}}function Yp(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}function Xp(e,t,n){return 0===t||Math.abs(t)===1/0?function(e,t){return Math.pow(e,5*t)}(e,n):e*t*n/(t+n*e)}function Zp(e,t,n,r){return void 0===r&&(r=.15),0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-Xp(t-e,n-t,r)+t:e>n?+Xp(e-n,n-t,r)+n:e}function Jp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qp(){return Qp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qp.apply(this,arguments)}function eh(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function th(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function nh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oh(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rh(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rh(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function ih(){}function ah(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?ih:1===t.length?t[0]:function(){for(var e,n,r=oh(t);!(n=r()).done;){var o=n.value;e=o.apply(this,arguments)||e}return e}}function sh(e,t){if(void 0===e){if(void 0===t)throw new Error("Must define fallback value if undefined is expected");e=t}return Array.isArray(e)?e:[e,e]}function lh(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}return e}function uh(e,t){void 0===e&&(e={});for(var n={},r=0,o=Object.entries(t);r<o.length;r++){var i=o[r],a=i[0],s=i[1];switch(typeof s){case"function":n[a]=s.call(n,e[a],a,e);break;case"object":n[a]=uh(e[a],s);break;case"boolean":s&&(n[a]=e[a])}}return n}function ch(){return"undefined"!=typeof window&&"ontouchstart"in window}function dh(e){return"pointerId"in e?null:"touchend"===e.type?e.changedTouches:e.targetTouches}function fh(e){return Array.from(dh(e)).map((function(e){return e.identifier}))}function ph(e){return{buttons:"buttons"in e?e.buttons:0,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}var hh=function(e){return e};function mh(e,t){void 0===t&&(t=hh);var n=dh(e),r=n?n[0]:e;return t([r.clientX,r.clientY])}var vh={threshold:function(e){return void 0===e&&(e=0),sh(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return sh(.15);case!1:return sh(0);default:return sh(e)}},enabled:function(e){return void 0===e&&(e=!0),e},triggerAllEvents:function(e){return void 0===e&&(e=!1),e},initial:function(e){return void 0===e&&(e=0),"function"==typeof e?e:sh(e)},transform:!0},gh=Qp({},vh,{axis:!0,lockDirection:function(e){return void 0===e&&(e=!1),e},bounds:function(e){if(void 0===e&&(e={}),"function"==typeof e)return function(t){return gh.bounds(e(t))};var t=e,n=t.left,r=void 0===n?-1/0:n,o=t.right,i=void 0===o?1/0:o,a=t.top,s=void 0===a?-1/0:a,l=t.bottom;return[[r,i],[s,void 0===l?1/0:l]]}}),yh="undefined"!=typeof window&&window.document&&window.document.createElement,bh={enabled:function(e){return void 0===e&&(e=!0),e},domTarget:!0,window:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return void 0===e&&(e=yh?window:void 0),e})),eventOptions:function(e){var t=void 0===e?{}:e,n=t.passive,r=void 0===n||n,o=t.capture;return{passive:r,capture:void 0!==o&&o}},transform:!0},wh=Qp({},gh,{useTouch:function(e){void 0===e&&(e=!1);var t=ch(),n="undefined"!=typeof window&&"onpointerdown"in window;return!(!e||!t)||!(!t||n)},experimental_preventWindowScrollY:function(e){return void 0===e&&(e=!1),e},threshold:function(e,t,n){var r=n.filterTaps,o=void 0!==r&&r,i=n.lockDirection,a=void 0!==i&&i,s=n.axis,l=sh(e,o?3:a||(void 0===s?void 0:s)?1:0);return this.filterTaps=o,l},swipeVelocity:function(e){return void 0===e&&(e=.5),sh(e)},swipeDistance:function(e){return void 0===e&&(e=50),sh(e)},swipeDuration:function(e){return void 0===e&&(e=250),e},delay:function(e){switch(void 0===e&&(e=0),e){case!0:return 180;case!1:return 0;default:return e}}});function _h(e){return void 0===e&&(e={}),uh(e,bh)}function xh(e){return void 0===e&&(e={}),uh(e,wh)}function Eh(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,i=th(e,["domTarget","eventOptions","window","enabled"]),a=_h({domTarget:t,eventOptions:n,window:r,enabled:o});return a.hover=Qp({enabled:!0},i),a}function kh(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,i=th(e,["domTarget","eventOptions","window","enabled"]),a=_h({domTarget:t,eventOptions:n,window:r,enabled:o});return a.drag=xh(i),a}function Sh(e){return Qp({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_threshold:[0,0],_lastEventType:void 0,_dragStarted:!1,_dragPreventScroll:!1,_dragIsTap:!0,_dragDelayed:!1,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:ih,canceled:!1,memo:void 0,args:void 0},e)}function Ch(){return{shared:{hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1,locked:!1},drag:Sh({_pointerId:void 0,axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,tap:!1,swipe:[0,0]}),pinch:Sh({_pointerIds:[],da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:Sh({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:Sh({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:Sh({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var Ph=new Map,Oh=function(e){return e},Mh=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this.controller=e,this.args=t,this.debounced=!0,this.setTimeout=function(e,t){var r;void 0===t&&(t=140),clearTimeout(n.controller.timeouts[n.stateKey]);for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];n.controller.timeouts[n.stateKey]=(r=window).setTimeout.apply(r,[e,t].concat(i))},this.clearTimeout=function(){clearTimeout(n.controller.timeouts[n.stateKey])},this.fireGestureHandler=function(e){if(void 0===e&&(e=!1),n.state._blocked)return n.debounced||(n.state._active=!1,n.clean()),null;if(!e&&!n.state.intentional&&!n.config.triggerAllEvents)return null;if(n.state.intentional){var t=n.state.active,r=n.state._active;n.state.active=r,n.state.first=r&&!t,n.state.last=t&&!r,n.controller.state.shared[n.ingKey]=r}var o=n.controller.pointerIds.size||n.controller.touchIds.size,i=n.controller.state.shared.buttons>0||o>0,a=Qp({},n.controller.state.shared,n.state,n.mapStateValues(n.state),{locked:!!document.pointerLockElement,touches:o,down:i}),s=n.handler(a);return n.state.memo=void 0!==s?s:n.state.memo,a},this.controller=e,this.args=t}var t,n,r,o=e.prototype;return o.updateSharedState=function(e){Object.assign(this.controller.state.shared,e)},o.updateGestureState=function(e){Object.assign(this.state,e)},o.checkIntentionality=function(e,t){return{_intentional:e,_blocked:!1}},o.getMovement=function(e){var t=this.config.rubberband,n=this.state,r=n._bounds,o=n._initial,i=n._active,a=n._intentional,s=n.lastOffset,l=n.movement,u=n._threshold,c=this.getInternalMovement(e,this.state),d=!1===a[0]?Th(c[0],u[0]):a[0],f=!1===a[1]?Th(c[1],u[1]):a[1],p=this.checkIntentionality([d,f],c);if(p._blocked)return Qp({},p,{_movement:c,delta:[0,0]});var h=p._intentional,m=c,v=[!1!==h[0]?c[0]-h[0]:0,!1!==h[1]?c[1]-h[1]:0],g=$p(v,s),y=i?t:[0,0];return v=Dh(r,$p(v,o),y),Qp({},p,{intentional:!1!==h[0]||!1!==h[1],_initial:o,_movement:m,movement:v,values:e,offset:Dh(r,g,y),delta:Kp(v,l)})},o.clean=function(){this.clearTimeout()},t=e,(n=[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}},{key:"transform",get:function(){return this.config.transform||this.controller.config.transform||Oh}}])&&Jp(t.prototype,n),r&&Jp(t,r),e}();function Th(e,t){return Math.abs(e)>=t&&Yp(e)*t}function Dh(e,t,n){var r=t[0],o=t[1],i=n[0],a=n[1],s=e[0],l=s[0],u=s[1],c=e[1],d=c[0],f=c[1];return[Zp(r,l,u,i),Zp(o,d,f,a)]}function Ih(e,t,n){var r=e.state,o=t.timeStamp,i=t.type,a=r.values;return{_lastEventType:i,event:t,timeStamp:o,elapsedTime:n?0:o-r.startTime,previous:a}}function Ah(e,t,n,r){var o=e.state,i=e.config,a=e.stateKey,s=e.args,l=e.transform,u=o.offset,c=n.timeStamp,d=i.initial,f=i.bounds,p=Kp(l(i.threshold),l([0,0])).map(Math.abs),h=Qp({},Ch()[a],{_active:!0,args:s,values:t,initial:null!=r?r:t,_threshold:p,offset:u,lastOffset:u,startTime:c});return Qp({},h,{_initial:lh(d,h),_bounds:lh(f,h)})}var Rh=function(e){var t=this;this.classes=e,this.pointerIds=new Set,this.touchIds=new Set,this.supportsTouchEvents=ch(),this.supportsGestureEvents=function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),this.bind=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var o,i={},a=oh(t.classes);!(o=a()).done;){var s=o.value;new s(t,n).addBindings(i)}var l=function(e){Wh(i,e,(function(r){return t.nativeRefs[e](Qp({},t.state.shared,{event:r,args:n}))}))};for(var u in t.nativeRefs)l(u);return t.config.domTarget?zh(t,i):Bh(t,i)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=Vh(t.config),n=t.config.eventOptions;e&&$h(e,Hh(t.domListeners),n),Object.values(t.timeouts).forEach(clearTimeout),function(e){var t=e.config,n=t.window,r=t.eventOptions,o=e.windowListeners;if(!n)return;for(var i in o){$h(n,o[i],r)}e.windowListeners={}}(t)},this.classes=e,this.state=Ch(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function Nh(e,t){"pointerId"in t?e.pointerIds.add(t.pointerId):e.touchIds=new Set(fh(t))}function Lh(e,t){"pointerId"in t?e.pointerIds.delete(t.pointerId):fh(t).forEach((function(t){return e.touchIds.delete(t)}))}function Fh(e,t,n){var r=e.config,o=e.windowListeners;void 0===n&&(n=r.eventOptions),r.window&&($h(r.window,o[t],n),delete o[t])}function jh(e,t,n,r){var o=e.config,i=e.windowListeners;void 0===n&&(n=[]),void 0===r&&(r=o.eventOptions),o.window&&($h(o.window,i[t],r),Uh(o.window,i[t]=n,r))}function zh(e,t){var n=e.config,r=e.domListeners,o=Vh(n);if(!o)throw new Error("domTarget must be defined");var i=n.eventOptions;$h(o,Hh(r),i);for(var a=0,s=Object.entries(t);a<s.length;a++){var l=s[a],u=l[0],c=l[1],d=u.slice(2).toLowerCase();r.push([d,ah.apply(void 0,c)])}Uh(o,r,i)}function Bh(e,t){for(var n={},r=e.config.eventOptions.capture?"Capture":"",o=0,i=Object.entries(t);o<i.length;o++){var a=i[o],s=a[0],l=a[1],u=Array.isArray(l)?l:[l];n[s+r]=ah.apply(void 0,u)}return n}function Hh(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function Vh(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function Wh(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function Uh(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=oh(t);!(r=o()).done;){var i=r.value,a=i[0],s=i[1];e.addEventListener(a,s,n)}}function $h(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=oh(t);!(r=o()).done;){var i=r.value,a=i[0],s=i[1];e.removeEventListener(a,s,n)}}function Kh(e,t,n){void 0===n&&(n={});var r=function(e){var t=new Set;e.drag&&t.add(Ph.get("drag"));e.wheel&&t.add(Ph.get("wheel"));e.scroll&&t.add(Ph.get("scroll"));e.move&&t.add(Ph.get("move"));e.pinch&&t.add(Ph.get("pinch"));e.hover&&t.add(Ph.get("hover"));return t}(e),o=w().useMemo((function(){return new Rh(r)}),[]);return o.config=t,o.handlers=e,o.nativeRefs=n,w().useEffect(o.effect,[]),o.config.domTarget?Gh:o.bind}function Gh(){0}var qh=function(e){function t(){return e.apply(this,arguments)||this}eh(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return Kp(e,t.initial)},n.checkIntentionality=function(e,t){if(!1===e[0]&&!1===e[1])return{_intentional:e,axis:this.state.axis};var n=t.map(Math.abs),r=n[0],o=n[1],i=this.state.axis||(r>o?"x":r<o?"y":void 0);return this.config.axis||this.config.lockDirection?i?this.config.axis&&i!==this.config.axis?{_intentional:e,_blocked:!0,axis:i}:(e["x"===i?1:0]=!1,{_intentional:e,_blocked:!1,axis:i}):{_intentional:[!1,!1],_blocked:!1,axis:i}:{_intentional:e,_blocked:!1,axis:i}},n.getKinematics=function(e,t){var n=this.getMovement(e);if(!n._blocked){var r=t.timeStamp-this.state.timeStamp;Object.assign(n,qp(n.movement,n.delta,r))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(Mh);function Yh(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}var Xh=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).ingKey="dragging",t.stateKey="drag",t.setPointerCapture=function(e){if(!t.config.useTouch&&!document.pointerLockElement){var n=e.target,r=e.pointerId;n&&"setPointerCapture"in n&&n.setPointerCapture(r),t.updateGestureState({_dragTarget:n,_dragPointerId:r})}},t.releasePointerCapture=function(){if(!t.config.useTouch&&!document.pointerLockElement){var e=t.state,n=e._dragTarget,r=e._dragPointerId;if(r&&n&&"releasePointerCapture"in n&&(!("hasPointerCapture"in n)||n.hasPointerCapture(r)))try{n.releasePointerCapture(r)}catch(e){}}},t.preventScroll=function(e){t.state._dragPreventScroll&&e.cancelable&&e.preventDefault()},t.getEventId=function(e){return t.config.useTouch?e.changedTouches[0].identifier:e.pointerId},t.isValidEvent=function(e){return t.state._pointerId===t.getEventId(e)},t.shouldPreventWindowScrollY=t.config.experimental_preventWindowScrollY&&t.controller.supportsTouchEvents,t.setUpWindowScrollDetection=function(e){Yh(e),jh(t.controller,t.stateKey,[["touchmove",t.preventScroll],["touchend",t.clean.bind(nh(t))],["touchcancel",t.clean.bind(nh(t))]],{passive:!1}),t.setTimeout(t.startDrag.bind(nh(t)),250,e)},t.setUpDelayedDragTrigger=function(e){t.state._dragDelayed=!0,Yh(e),t.setTimeout(t.startDrag.bind(nh(t)),t.config.delay,e)},t.setStartState=function(e){var n=mh(e,t.transform);t.updateSharedState(ph(e)),t.updateGestureState(Qp({},Ah(nh(t),n,e),Ih(nh(t),e,!0),{_pointerId:t.getEventId(e)})),t.updateGestureState(t.getMovement(n))},t.onDragStart=function(e){Nh(t.controller,e),t.enabled&&!t.state._active&&(t.setStartState(e),t.setPointerCapture(e),t.shouldPreventWindowScrollY?t.setUpWindowScrollDetection(e):t.config.delay>0?t.setUpDelayedDragTrigger(e):t.startDrag(e,!0))},t.onDragChange=function(e){if(!t.state.canceled&&t.state._active&&t.isValidEvent(e)&&(t.state._lastEventType!==e.type||e.timeStamp!==t.state.timeStamp)){var n;if(document.pointerLockElement){var r=e.movementX,o=e.movementY;n=$p(t.transform([r,o]),t.state.values)}else n=mh(e,t.transform);var i=t.getKinematics(n,e);if(!t.state._dragStarted){if(t.state._dragDelayed)return void t.startDrag(e);if(!t.shouldPreventWindowScrollY)return;if(t.state._dragPreventScroll||!i.axis)return;if("x"!==i.axis)return void(t.state._active=!1);t.startDrag(e)}var a=ph(e);t.updateSharedState(a);var s=Ih(nh(t),e),l=Gp(i._movement),u=t.state._dragIsTap;u&&l>=3&&(u=!1),t.updateGestureState(Qp({},s,i,{_dragIsTap:u})),t.fireGestureHandler()}},t.onDragEnd=function(e){if(Lh(t.controller,e),t.isValidEvent(e)&&(t.clean(),t.state._active)){t.state._active=!1;var n=t.state._dragIsTap,r=t.state.velocities,o=r[0],i=r[1],a=t.state.movement,s=a[0],l=a[1],u=t.state._intentional,c=u[0],d=u[1],f=t.config.swipeVelocity,p=f[0],h=f[1],m=t.config.swipeDistance,v=m[0],g=m[1],y=t.config.swipeDuration,b=Qp({},Ih(nh(t),e),t.getMovement(t.state.values)),w=[0,0];b.elapsedTime<y&&(!1!==c&&Math.abs(o)>p&&Math.abs(s)>v&&(w[0]=Yp(o)),!1!==d&&Math.abs(i)>h&&Math.abs(l)>g&&(w[1]=Yp(i))),t.updateSharedState({buttons:0}),t.updateGestureState(Qp({},b,{tap:n,swipe:w})),t.fireGestureHandler(t.config.filterTaps&&!0===n)}},t.clean=function(){e.prototype.clean.call(nh(t)),t.state._dragStarted=!1,t.releasePointerCapture(),Fh(t.controller,t.stateKey)},t.onCancel=function(){t.state.canceled||(t.updateGestureState({canceled:!0,_active:!1}),t.updateSharedState({buttons:0}),setTimeout((function(){return t.fireGestureHandler()}),0))},t.onClick=function(e){t.state._dragIsTap||e.stopPropagation()},t}eh(t,e);var n=t.prototype;return n.startDrag=function(e,t){void 0===t&&(t=!1),this.state._active&&!this.state._dragStarted&&(t||this.setStartState(e),this.updateGestureState({_dragStarted:!0,_dragPreventScroll:!0,cancel:this.onCancel}),this.clearTimeout(),this.fireGestureHandler())},n.addBindings=function(e){(this.config.useTouch?(Wh(e,"onTouchStart",this.onDragStart),Wh(e,"onTouchMove",this.onDragChange),Wh(e,"onTouchEnd",this.onDragEnd),Wh(e,"onTouchCancel",this.onDragEnd)):(Wh(e,"onPointerDown",this.onDragStart),Wh(e,"onPointerMove",this.onDragChange),Wh(e,"onPointerUp",this.onDragEnd),Wh(e,"onPointerCancel",this.onDragEnd)),this.config.filterTaps)&&Wh(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(qh);function Zh(e,t){var n,r,o=[],i=!1;return function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return i&&n===this&&t(s,o)||(r=e.apply(this,s),i=!0,n=this,o=s),r}}function Jh(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,o,i;if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!Jh(e[r],t[r]))return!1;return!0}if("function"==typeof Map&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Jh(r.value[1],t.get(r.value[0])))return!1;return!0}if("function"==typeof Set&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if("undefined"!=typeof Element&&e instanceof Element)return!1;for(r=n;0!=r--;)if(!("_owner"===o[r]&&e.$$typeof||Jh(e[o[r]],t[o[r]])))return!1;return!0}return e!=e&&t!=t}function Qh(e,t){try{return Jh(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}var em=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).ingKey="moving",t.stateKey="move",t.debounced=!0,t.onMove=function(e){t.enabled&&(t.setTimeout(t.onMoveEnd),t.state._active?t.onMoveChange(e):t.onMoveStart(e))},t.onMoveStart=function(e){t.updateSharedState(ph(e));var n=mh(e,t.transform);t.updateGestureState(Qp({},Ah(nh(t),n,e),Ih(nh(t),e,!0))),t.updateGestureState(t.getMovement(n)),t.fireGestureHandler()},t.onMoveChange=function(e){t.updateSharedState(ph(e));var n=mh(e,t.transform);t.updateGestureState(Qp({},Ih(nh(t),e),t.getKinematics(n,e))),t.fireGestureHandler()},t.onMoveEnd=function(){if(t.clean(),t.state._active){var e=t.state.values;t.updateGestureState(t.getMovement(e)),t.updateGestureState({velocities:[0,0],velocity:0,_active:!1}),t.fireGestureHandler()}},t.hoverTransform=function(){return t.controller.config.hover.transform||t.controller.config.transform},t.onPointerEnter=function(e){if(t.controller.state.shared.hovering=!0,t.controller.config.enabled){if(t.controller.config.hover.enabled){var n=mh(e,t.hoverTransform()),r=Qp({},t.controller.state.shared,t.state,Ih(nh(t),e,!0),{args:t.args,values:n,active:!0,hovering:!0});t.controller.handlers.hover(Qp({},r,t.mapStateValues(r)))}"move"in t.controller.handlers&&t.onMoveStart(e)}},t.onPointerLeave=function(e){if(t.controller.state.shared.hovering=!1,"move"in t.controller.handlers&&t.onMoveEnd(),t.controller.config.hover.enabled){var n=mh(e,t.hoverTransform()),r=Qp({},t.controller.state.shared,t.state,Ih(nh(t),e),{args:t.args,values:n,active:!1});t.controller.handlers.hover(Qp({},r,t.mapStateValues(r)))}},t}return eh(t,e),t.prototype.addBindings=function(e){"move"in this.controller.handlers&&Wh(e,"onPointerMove",this.onMove),"hover"in this.controller.handlers&&(Wh(e,"onPointerEnter",this.onPointerEnter),Wh(e,"onPointerLeave",this.onPointerLeave))},t}(qh);var tm=window.wp.keycodes;const nm=e=>e,rm={_event:{},error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""},om="CHANGE",im="COMMIT",am="DRAG_END",sm="DRAG_START",lm="DRAG",um="INVALIDATE",cm="PRESS_DOWN",dm="PRESS_ENTER",fm="PRESS_UP",pm="RESET",hm="UPDATE";function mm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rm;const{value:t}=e;return{...rm,...e,initialValue:t}}const vm=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.reduceRight(((e,t)=>{const r=t(...n);return(0,l.isEmpty)(r)?e:{...e,...r}}),{})}};function gm(e){return(t,n)=>{const r={...t};switch(n.type){case fm:case cm:r.isDirty=!1;break;case sm:r.isDragging=!0;break;case am:r.isDragging=!1;break;case om:r.error=null,r.value=n.payload.value,t.isPressEnterToChange&&(r.isDirty=!0);break;case im:r.value=n.payload.value,r.isDirty=!1;break;case pm:r.error=null,r.isDirty=!1,r.value=n.payload.value||t.initialValue;break;case hm:r.value=n.payload.value,r.isDirty=!1;break;case um:r.error=n.payload.error}return n.payload.event&&(r._event=n.payload.event),e(r,n)}}function ym(e){return null!=e}function bm(e){const t=""===e;return!ym(e)||t}function wm(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return null!==(e=t.find(ym))&&void 0!==e?e:n}var _m=function(e,t){const n=(0,s.useRef)(!1);(0,s.useEffect)((()=>{if(n.current)return e();n.current=!0}),t)};const xm=(0,s.forwardRef)((function(e,t){let{disabled:n=!1,dragDirection:r="n",dragThreshold:o=10,id:i,isDragEnabled:u=!1,isFocused:c,isPressEnterToChange:d=!1,onBlur:f=l.noop,onChange:p=l.noop,onDrag:h=l.noop,onDragEnd:m=l.noop,onDragStart:v=l.noop,onFocus:g=l.noop,onKeyDown:y=l.noop,onValidate:w=l.noop,size:_="default",setIsFocused:x,stateReducer:E=(e=>e),value:k,type:S,...C}=e;const{state:P,change:O,commit:M,drag:T,dragEnd:D,dragStart:I,invalidate:A,pressDown:R,pressEnter:N,pressUp:L,reset:F,update:j}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nm,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rm;const[n,r]=(0,s.useReducer)(gm(e),mm(t)),o=e=>(t,n)=>{n&&n.persist&&n.persist(),r({type:e,payload:{value:t,event:n}})},i=e=>t=>{t&&t.persist&&t.persist(),r({type:e,payload:{event:t}})},a=e=>t=>{r({type:e,payload:t})},l=o(om),u=(e,t)=>r({type:um,payload:{error:e,event:t}}),c=o(pm),d=o(im),f=o(hm),p=a(sm),h=a(lm),m=a(am),v=i(fm),g=i(cm),y=i(dm);return{change:l,commit:d,dispatch:r,drag:h,dragEnd:m,dragStart:p,invalidate:u,pressDown:g,pressEnter:y,pressUp:v,reset:c,state:n,update:f}}(E,{isDragEnabled:u,value:k,isPressEnterToChange:d}),{_event:z,value:B,isDragging:H,isDirty:V}=P,W=(0,s.useRef)(!1),U=function(e,t){const n=function(e){let t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize"}return t}(t);return(0,s.useEffect)((()=>{document.documentElement.style.cursor=e?n:null}),[e]),n}(H,r);_m((()=>{k!==B&&(c||W.current?V||(p(B,{event:z}),W.current=!1):j(k,z))}),[B,V,c,k]);const $=e=>{const t=e.currentTarget.value;try{w(t),M(t,e)}catch(t){A(t,e)}},K=function(e,t){void 0===t&&(t={}),Ph.set("drag",Xh);var n=(0,b.useRef)();return n.current||(n.current=Zh(kh,Qh)),Kh({drag:e},n.current(t))}((e=>{const{distance:t,dragging:n,event:r}=e;if(r.persist(),t){if(r.stopPropagation(),!n)return m(e),void D(e);h(e),T(e),H||(v(e),I(e))}}),{threshold:o,enabled:u}),G=u?K():{};let q;return"number"===S&&(q=e=>{var t;null===(t=C.onMouseDown)||void 0===t||t.call(C,e),e.currentTarget!==e.currentTarget.ownerDocument.activeElement&&e.currentTarget.focus()}),(0,s.createElement)(Ip,a({},C,G,{className:"components-input-control__input",disabled:n,dragCursor:U,isDragging:H,id:i,onBlur:e=>{f(e),null==x||x(!1),d&&V&&(W.current=!0,bm(B)?F(k,e):$(e))},onChange:e=>{const t=e.target.value;O(t,e)},onFocus:e=>{g(e),null==x||x(!0)},onKeyDown:e=>{const{keyCode:t}=e;switch(y(e),t){case tm.UP:L(e);break;case tm.DOWN:R(e);break;case tm.ENTER:N(e),d&&(e.preventDefault(),$(e))}},onMouseDown:q,ref:t,inputSize:_,value:B,type:S}))}));var Em=xm;function km(e,t){let{__unstableStateReducer:n=(e=>e),__unstableInputWidth:r,className:o,disabled:i=!1,hideLabelFromVision:u=!1,id:d,isPressEnterToChange:p=!1,label:h,labelPosition:m="top",onChange:v=l.noop,onValidate:g=l.noop,onKeyDown:y=l.noop,prefix:b,size:w="default",suffix:_,value:x,...E}=e;const[k,S]=(0,s.useState)(!1),C=function(e){const t=(0,f.useInstanceId)(km);return e||`inspector-input-control-${t}`}(d),P=c()("components-input-control",o);return(0,s.createElement)(Up,{__unstableInputWidth:r,className:P,disabled:i,gap:3,hideLabelFromVision:u,id:C,isFocused:k,justify:"left",label:h,labelPosition:m,prefix:b,size:w,suffix:_},(0,s.createElement)(Em,a({},E,{className:"components-input-control__input",disabled:i,id:C,isFocused:k,isPressEnterToChange:p,onChange:v,onKeyDown:y,onValidate:g,ref:t,setIsFocused:S,size:w,stateReducer:n,value:x})))}var Sm=(0,s.forwardRef)(km);const Cm=Fn($f,{target:"e65ony43"})("margin-bottom:",Lf(2),";"),Pm=Fn("div",{target:"e65ony42"})("border-radius:50%;border:",ip.borderWidth," solid ",ko.ui.border,";box-sizing:border-box;cursor:grab;height:",32,"px;overflow:hidden;width:",32,"px;"),Om=Fn("div",{target:"e65ony41"})({name:"1bhd2sw",styles:"box-sizing:border-box;position:relative;width:100%;height:100%"}),Mm=Fn("div",{target:"e65ony40"})("background:",ko.admin.theme,";border-radius:50%;border:",3,"px solid ",ko.admin.theme,";bottom:0;box-sizing:border-box;display:block;height:0px;left:0;margin:auto;position:absolute;right:0;top:-",16,"px;width:0px;");var Tm=function(e){let{value:t,onChange:n,...r}=e;const o=(0,s.useRef)(),i=(0,s.useRef)(),l=(0,s.useRef)(),u=e=>{const{x:t,y:r}=i.current,{ownerDocument:a}=o.current;e.preventDefault(),a.activeElement.blur(),n(function(e,t,n,r){const o=r-t,i=n-e,a=Math.atan2(o,i),s=Math.round(a*(180/Math.PI))+90;if(s<0)return 360+s;return s}(t,r,e.clientX,e.clientY))},{startDrag:c,isDragging:d}=(0,f.__experimentalUseDragging)({onDragStart:e=>{(()=>{const e=o.current.getBoundingClientRect();i.current={x:e.x+e.width/2,y:e.y+e.height/2}})(),u(e)},onDragMove:u,onDragEnd:u});return(0,s.useEffect)((()=>{d?(void 0===l.current&&(l.current=document.body.style.cursor),document.body.style.cursor="grabbing"):(document.body.style.cursor=l.current||null,l.current=void 0)}),[d]),(0,s.createElement)(Pm,a({ref:o,onMouseDown:c,className:"components-angle-picker-control__angle-circle",style:d?{cursor:"grabbing"}:void 0},r),(0,s.createElement)(Om,{style:t?{transform:`rotate(${t}deg)`}:void 0,className:"components-angle-picker-control__angle-circle-indicator-wrapper"},(0,s.createElement)(Mm,{className:"components-angle-picker-control__angle-circle-indicator"})))};const Dm=e=>null!=e;const Im=Pn((function(e,t){const n=function(e){const{className:t,margin:n,marginBottom:r=2,marginLeft:o,marginRight:i,marginTop:a,marginX:s,marginY:l,padding:u,paddingBottom:c,paddingLeft:d,paddingRight:f,paddingTop:p,paddingX:h,paddingY:m,...v}=Cn(e,"Spacer");return{...v,className:Sn()(Dm(n)&&Nr("margin:",Lf(n),";",""),Dm(l)&&Nr("margin-bottom:",Lf(l),";margin-top:",Lf(l),";",""),Dm(s)&&Nr("margin-left:",Lf(s),";margin-right:",Lf(s),";",""),Dm(a)&&Nr("margin-top:",Lf(a),";",""),Dm(r)&&Nr("margin-bottom:",Lf(r),";",""),Dm(o)&&Nr("margin-left:",Lf(o),";",""),Dm(i)&&Nr("margin-right:",Lf(i),";",""),Dm(u)&&Nr("padding:",Lf(u),";",""),Dm(m)&&Nr("padding-bottom:",Lf(m),";padding-top:",Lf(m),";",""),Dm(h)&&Nr("padding-left:",Lf(h),";padding-right:",Lf(h),";",""),Dm(p)&&Nr("padding-top:",Lf(p),";",""),Dm(c)&&Nr("padding-bottom:",Lf(c),";",""),Dm(d)&&Nr("padding-left:",Lf(d),";",""),Dm(f)&&Nr("padding-right:",Lf(f),";",""),t)}}(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"Spacer");var Am=Im;function Rm(e){let{className:t,label:n=(0,d.__)("Angle"),onChange:r,value:o}=e;const i=c()("components-angle-picker-control",t);return(0,s.createElement)(Cm,{className:i},(0,s.createElement)(Df,null,(0,s.createElement)(Sm,{label:n,className:"components-angle-picker-control__input-field",max:360,min:0,onChange:e=>{const t=""!==e?parseInt(e,10):0;r(t)},step:"1",value:o,hideHTMLArrows:!0,suffix:(0,s.createElement)(Am,{as:_p,marginRight:Lf(3),style:{color:"var( --wp-admin-theme-color )"}},"°")})),(0,s.createElement)(If,{style:{marginLeft:Lf(4),marginBottom:Lf(1),marginTop:"auto"}},(0,s.createElement)(Tm,{"aria-hidden":"true",value:o,onChange:r})))}var Nm=window.wp.richText,Lm=window.wp.a11y;function Fm(e){return t=>{const[n,r]=(0,s.useState)([]);return(0,s.useLayoutEffect)((()=>{const{options:n,isDebounced:o}=e,i=(0,l.debounce)((()=>{const o=Promise.resolve("function"==typeof n?n(t):n).then((n=>{if(o.canceled)return;const i=n.map(((t,n)=>({key:`${e.name}-${n}`,value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[],isDisabled:!!e.isOptionDisabled&&e.isOptionDisabled(t)}))),a=new RegExp("(?:\\b|\\s|^)"+(0,l.escapeRegExp)(t),"i");r(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const r=[];for(let o=0;o<t.length;o++){const i=t[o];let{keywords:a=[]}=i;if("string"==typeof i.label&&(a=[...a,i.label]),a.some((t=>e.test((0,l.deburr)(t))))&&(r.push(i),r.length===n))break}return r}(a,i))}));return o}),o?250:0),a=i();return()=>{i.cancel(),a&&(a.canceled=!0)}}),[t]),[n]}}function jm(e){let{record:t,onChange:n,onReplace:r,completers:o,contentRef:i}=e;const a=(0,f.useDebounce)(Lm.speak,500),u=(0,f.useInstanceId)(jm),[p,h]=(0,s.useState)(0),[m,v]=(0,s.useState)([]),[g,y]=(0,s.useState)(""),[b,w]=(0,s.useState)(null),[_,x]=(0,s.useState)(null),[E,k]=(0,s.useState)(!1);function S(e){const{getOptionCompletion:o}=b||{};if(!e.isDisabled){if(o){const i=o(e.value,g),{action:a,value:l}=void 0===i.action||void 0===i.value?{action:"insert-at-caret",value:i}:i;if("replace"===a)return void r([l]);"insert-at-caret"===a&&function(e){const r=t.start,o=r-b.triggerPrefix.length-g.length,i=(0,Nm.create)({html:(0,s.renderToString)(e)});n((0,Nm.insert)(t,i,o,r))}(l)}C()}}function C(){h(0),v([]),y(""),w(null),x(null)}let P;(0,Nm.isCollapsed)(t)&&(P=(0,Nm.getTextContent)((0,Nm.slice)(t,0))),(0,s.useEffect)((()=>{if(!P)return void C();const e=(0,l.deburr)(P),n=(0,Nm.getTextContent)((0,Nm.slice)(t,void 0,(0,Nm.getTextContent)(t).length)),r=(0,l.find)(o,(t=>{let{triggerPrefix:r,allowContext:o}=t;const i=e.lastIndexOf(r);if(-1===i)return!1;const a=e.slice(i+r.length);if(a.length>50)return!1;const s=0===m.length,l=1===a.split(/\s/).length,u=E&&a.split(/\s/).length<=3;return!(s&&!u&&!l)&&(!(o&&!o(e.slice(0,i),n))&&(!/^\s/.test(a)&&!/\s\s+$/.test(a)&&/[\u0000-\uFFFF]*$/.test(a)))}));if(!r)return void C();const i=(0,l.escapeRegExp)(r.triggerPrefix),a=e.slice(e.lastIndexOf(r.triggerPrefix)).match(new RegExp(`${i}([\0-￿]*)$`)),u=a&&a[1];w(r),x((()=>r!==b?function(e){const t=e.useItems?e.useItems:Fm(e);return function(e){let{filterValue:n,instanceId:r,listBoxId:o,className:i,selectedIndex:a,onChangeOptions:u,onSelect:d,onReset:f,value:p,contentRef:h}=e;const[m]=t(n),v=(0,Nm.useAnchorRef)({ref:h,value:p});return(0,s.useLayoutEffect)((()=>{u(m)}),[m]),!m.length>0?null:(0,s.createElement)(xr,{focusOnMount:!1,onClose:f,position:"top right",className:"components-autocomplete__popover",anchorRef:v},(0,s.createElement)("div",{id:o,role:"listbox",className:"components-autocomplete__results"},(0,l.map)(m,((e,t)=>(0,s.createElement)(Vn,{key:e.key,id:`components-autocomplete-item-${r}-${e.key}`,role:"option","aria-selected":t===a,disabled:e.isDisabled,className:c()("components-autocomplete__result",i,{"is-selected":t===a}),onClick:()=>d(e)},e.label)))))}}(r):_)),y(u)}),[P]);const{key:O=""}=m[p]||{},{className:M}=b||{},T=!!b&&m.length>0,D=T?`components-autocomplete-listbox-${u}`:null;return{listBoxId:D,activeId:T?`components-autocomplete-item-${u}-${O}`:null,onKeyDown:function(e){if(k(e.keyCode===tm.BACKSPACE),b&&0!==m.length&&!e.defaultPrevented){switch(e.keyCode){case tm.UP:h((0===p?m.length:p)-1);break;case tm.DOWN:h((p+1)%m.length);break;case tm.ESCAPE:w(null),x(null),e.preventDefault();break;case tm.ENTER:S(m[p]);break;case tm.LEFT:case tm.RIGHT:return void C();default:return}e.preventDefault()}},popover:void 0!==t.start&&_&&(0,s.createElement)(_,{className:M,filterValue:g,instanceId:u,listBoxId:D,selectedIndex:p,onChangeOptions:function(e){h(e.length===m.length?p:0),v(e),function(e){a&&(e.length?a((0,d.sprintf)((0,d._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"):a((0,d.__)("No results."),"assertive"))}(e)},onSelect:S,value:t,contentRef:i,reset:C})}}function zm(e){const t=(0,s.useRef)(),n=(0,s.useRef)(),{popover:r,listBoxId:o,activeId:i,onKeyDown:a}=jm({...e,contentRef:t});return n.current=a,{ref:(0,f.useMergeRefs)([t,(0,f.useRefEffect)((e=>{function t(e){n.current(e)}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[])]),children:r,"aria-autocomplete":o?"list":void 0,"aria-owns":o,"aria-activedescendant":i}}function Bm(e){let{children:t,isSelected:n,...r}=e;const{popover:o,...i}=jm(r);return(0,s.createElement)(s.Fragment,null,t(i),n&&o)}var Hm={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function Vm(e){return(0,l.get)(Hm,e,"")}const Wm=Fn("div",{target:"e1puf3u3"})("font-family:",Vm("default.fontFamily"),";font-size:",Vm("default.fontSize"),";"),Um=Fn("div",{target:"e1puf3u2"})("margin-bottom:",Lf(2),";.components-panel__row &{margin-bottom:inherit;}"),$m=Fn("label",{target:"e1puf3u1"})("display:inline-block;margin-bottom:",Lf(2),";"),Km=Fn("p",{target:"e1puf3u0"})("font-size:",Vm("helpText.fontSize"),";font-style:normal;color:",ko.mediumGray.text,";");function Gm(e){let{id:t,label:n,hideLabelFromVision:r,help:o,className:i,children:a}=e;return(0,s.createElement)(Wm,{className:c()("components-base-control",i)},(0,s.createElement)(Um,{className:"components-base-control__field"},n&&t&&(r?(0,s.createElement)(Bn,{as:"label",htmlFor:t},n):(0,s.createElement)($m,{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?(0,s.createElement)(Bn,{as:"label"},n):(0,s.createElement)(Gm.VisualLabel,null,n)),a),!!o&&(0,s.createElement)(Km,{id:t?t+"__help":void 0,className:"components-base-control__help"},o))}Gm.VisualLabel=e=>{let{className:t,children:n}=e;return t=c()("components-base-control__label",t),(0,s.createElement)("span",{className:t},n)};var qm=Gm;var Ym={name:"euqsgg",styles:"input[type='number']::-webkit-outer-spin-button,input[type='number']::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important;}input[type='number']{-moz-appearance:textfield;}"};const Xm=e=>{let{hideHTMLArrows:t}=e;return t?Ym:""},Zm=Fn(Sm,{target:"ep48uk90"})(Xm,";");function Jm(e){const t=Number(e);return isNaN(t)?0:t}function Qm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t)=>e+Jm(t)),0)}function ev(e){const t=(e+"").split(".");return void 0!==t[1]?t[1].length:0}function tv(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const o=Jm(e),i=Jm(r),a=ev(r),s=Math.round(o/i)*i,u=(0,l.clamp)(s,t,n);return a?Jm(u.toFixed(a)):u}var nv=(0,s.forwardRef)((function(e,t){let{__unstableStateReducer:n=(e=>e),className:r,dragDirection:o="n",hideHTMLArrows:i=!1,isDragEnabled:l=!0,isShiftStepEnabled:u=!0,label:f,max:p=1/0,min:h=-1/0,required:m=!1,shiftStep:v=10,step:g=1,type:y="number",value:b,...w}=e;const _="any"===g,x=_?1:parseFloat(g),E=tv(0,h,p,x),k=(e,t)=>_?Math.min(p,Math.max(h,e)):tv(e,h,p,null!=t?t:x),S="number"===y?"off":null,C=c()("components-number-control",r);return(0,s.createElement)(Zm,a({autoComplete:S,inputMode:"numeric"},w,{className:C,dragDirection:o,hideHTMLArrows:i,isDragEnabled:l,label:f,max:p,min:h,ref:t,required:m,step:g,type:y,value:b,__unstableStateReducer:vm(((e,t)=>{const{type:n,payload:r}=t,i=null==r?void 0:r.event,a=e.value;if(n===fm||n===cm){const t=i.shiftKey&&u,r=t?parseFloat(v)*x:x;let o=bm(a)?E:a;null!=i&&i.preventDefault&&i.preventDefault(),n===fm&&(o=Qm(o,r)),n===cm&&(o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(((e,t,n)=>{const r=Jm(t);return 0===n?r:e-r}),0)}(o,r)),e.value=k(o,t?r:null)}if(n===lm&&l){const[t,n]=r.delta,i=r.shiftKey&&u,s=i?parseFloat(v)*x:x;let l,c;switch(o){case"n":c=n,l=-1;break;case"e":c=t,l=(0,d.isRTL)()?-1:1;break;case"s":c=n,l=1;break;case"w":c=t,l=(0,d.isRTL)()?1:-1}if(0!==c){c=Math.ceil(Math.abs(c))*Math.sign(c);const t=c*s*l;e.value=k(Qm(a,t),i?s:null)}}if(n===dm||n===im){const t=!1===m&&""===a;e.value=t?a:k(a)}return e}),n)}))}));const rv=Fn("div",{target:"e1bagdl33"})({name:"100d0a9",styles:"box-sizing:border-box;position:relative"}),ov=e=>{let{disableUnits:t}=e;return Nr(Wf({paddingRight:t?3:24})(),";","")};var iv={name:"1y65o8",styles:"&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"};const av=e=>{let{disableUnits:t}=e;return t?"":iv},sv=Fn(nv,{target:"e1bagdl32"})("&&&{input{appearance:none;-moz-appearance:textfield;display:block;width:100%;",av,";",ov,";}}"),lv=e=>Nr("appearance:none;background:transparent;border-radius:2px;border:none;box-sizing:border-box;color:",ko.darkGray[500],";display:block;font-size:8px;line-height:1;letter-spacing:-0.5px;outline:none;padding:2px 1px;position:absolute;text-align-last:center;text-transform:uppercase;width:20px;",Wf({borderTopLeftRadius:0,borderBottomLeftRadius:0})()," ",Wf({right:0})()," ",(e=>{let{selectSize:t}=e;return Nr({default:{height:28,lineHeight:"24px",minHeight:28,top:1},small:{height:22,lineHeight:"18px",minHeight:22,top:1}}[t],"","")})(e),";",""),uv=Fn("div",{target:"e1bagdl31"})("&&&{pointer-events:none;",lv,";}"),cv=Fn("select",{target:"e1bagdl30"})("&&&{",lv,";cursor:pointer;border:1px solid transparent;&:hover{background-color:",ko.lightGray[300],";}&:focus{border-color:",ko.ui.borderFocus,";outline:2px solid transparent;outline-offset:0;}&:disabled{cursor:initial;&:hover{background-color:transparent;}}}"),dv="web"===s.Platform.OS,fv={px:{value:"px",label:dv?"px":(0,d.__)("Pixels (px)"),default:"",a11yLabel:(0,d.__)("Pixels (px)"),step:1},"%":{value:"%",label:dv?"%":(0,d.__)("Percentage (%)"),default:"",a11yLabel:(0,d.__)("Percent (%)"),step:.1},em:{value:"em",label:dv?"em":(0,d.__)("Relative to parent font size (em)"),default:"",a11yLabel:(0,d._x)("ems","Relative to parent font size (em)"),step:.01},rem:{value:"rem",label:dv?"rem":(0,d.__)("Relative to root font size (rem)"),default:"",a11yLabel:(0,d._x)("rems","Relative to root font size (rem)"),step:.01},vw:{value:"vw",label:dv?"vw":(0,d.__)("Viewport width (vw)"),default:"",a11yLabel:(0,d.__)("Viewport width (vw)"),step:.1},vh:{value:"vh",label:dv?"vh":(0,d.__)("Viewport height (vh)"),default:"",a11yLabel:(0,d.__)("Viewport height (vh)"),step:.1},vmin:{value:"vmin",label:dv?"vmin":(0,d.__)("Viewport smallest dimension (vmin)"),default:"",a11yLabel:(0,d.__)("Viewport smallest dimension (vmin)"),step:.1},vmax:{value:"vmax",label:dv?"vmax":(0,d.__)("Viewport largest dimension (vmax)"),default:"",a11yLabel:(0,d.__)("Viewport largest dimension (vmax)"),step:.1},ch:{value:"ch",label:dv?"ch":(0,d.__)("Width of the zero (0) character (ch)"),default:"",a11yLabel:(0,d.__)("Width of the zero (0) character (ch)"),step:.01},ex:{value:"ex",label:dv?"ex":(0,d.__)("x-height of the font (ex)"),default:"",a11yLabel:(0,d.__)("x-height of the font (ex)"),step:.01},cm:{value:"cm",label:dv?"cm":(0,d.__)("Centimeters (cm)"),default:"",a11yLabel:(0,d.__)("Centimeters (cm)"),step:.001},mm:{value:"mm",label:dv?"mm":(0,d.__)("Millimeters (mm)"),default:"",a11yLabel:(0,d.__)("Millimeters (mm)"),step:.1},in:{value:"in",label:dv?"in":(0,d.__)("Inches (in)"),default:"",a11yLabel:(0,d.__)("Inches (in)"),step:.001},pc:{value:"pc",label:dv?"pc":(0,d.__)("Picas (pc)"),default:"",a11yLabel:(0,d.__)("Picas (pc)"),step:1},pt:{value:"pt",label:dv?"pt":(0,d.__)("Points (pt)"),default:"",a11yLabel:(0,d.__)("Points (pt)"),step:1}},pv=Object.values(fv),hv=[fv.px,fv["%"],fv.em,fv.rem,fv.vw,fv.vh],mv=fv.px;function vv(e,t,n){return yv(t?`${e}${t}`:e,n)}function gv(e){return Array.isArray(e)&&!!e.length}function yv(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pv;const n=String(e).trim();let r=parseFloat(n);r=isNaN(r)?"":r;const o=n.match(/[\d.\-\+]*\s*(.*)/);let i=void 0!==(null==o?void 0:o[1])?o[1]:"";if(i=i.toLowerCase(),gv(t)&&!1!==t){const e=t.find((e=>e.value===i));i=null==e?void 0:e.value}else i=mv.value;return[r,i]}function bv(e,t,n,r){const[o,i]=yv(e,t);let a,s=o;var l;(Number.isFinite(o)&&""!==o||(s=n),a=i||r,Array.isArray(t)&&gv(t)&&!a)&&(a=null===(l=t[0])||void 0===l?void 0:l.value);return[s,a]}const wv=e=>{let{units:t,availableUnits:n,defaultValues:r}=e;t=t||pv;const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return Array.isArray(t)?t.filter((t=>e.includes(t.value))):[]}(n||[],t);return r&&o.forEach(((e,t)=>{r[e.value]&&(o[t].default=r[e.value])})),0!==o.length&&o};function _v(e){let{className:t,isUnitSelectTabbable:n=!0,onChange:r=l.noop,size:o="default",unit:i="px",units:u=hv,...d}=e;if(!u||!gv(u)||1===(null==u?void 0:u.length))return(0,s.createElement)(uv,{className:"components-unit-control__unit-label",selectSize:o},i);const f=c()("components-unit-control__select",t);return(0,s.createElement)(cv,a({className:f,onChange:e=>{const{value:t}=e.target,n=u.find((e=>e.value===t));r(t,{event:e,data:n})},selectSize:o,tabIndex:n?void 0:-1,value:i},d),u.map((e=>(0,s.createElement)("option",{value:e.value,key:e.value},e.label))))}const xv={initial:void 0,fallback:""};var Ev=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xv;const{initial:n,fallback:r}={...xv,...t},[o,i]=(0,s.useState)(e),a=ym(e);(0,s.useEffect)((()=>{a&&o&&i(void 0)}),[a,o]);const l=wm([e,o,n],r),u=e=>{a||i(e)};return[l,u]};const kv=(0,s.forwardRef)((function(e,t){let{__unstableStateReducer:n=(e=>e),autoComplete:r="off",className:o,disabled:i=!1,disableUnits:u=!1,isPressEnterToChange:f=!1,isResetValueOnUnitChange:p=!1,isUnitSelectTabbable:h=!0,label:m,onChange:v=l.noop,onUnitChange:g=l.noop,size:y="default",style:b,unit:w,units:_=hv,value:x,...E}=e;const k=(0,s.useMemo)((()=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pv;if(!Array.isArray(n))return n;const r=[...n],[,o]=vv(e,t,pv);return o&&!r.some((e=>e.value===o))&&fv[o]&&r.unshift(fv[o]),r}(x,w,_)),[x,w,_]),[S,C]=vv(x,w,k),[P,O]=Ev(w,{initial:C,fallback:""}),M=(0,s.useRef)(null),T=c()("components-unit-control",o),D=e=>{if(!isNaN(Number(e.currentTarget.value)))return void(M.current=null);const[t,n]=bv(e.currentTarget.value,k,S,P);if(M.current=t.toString(),f&&n!==P){const r={event:e,data:Array.isArray(k)?k.find((e=>e.value===n)):void 0};v(`${t}${n}`,r),g(n,r),O(n)}},I=D,A=u?null:(0,s.createElement)(_v,{"aria-label":(0,d.__)("Select unit"),disabled:i,isUnitSelectTabbable:h,onChange:(e,t)=>{const{data:n}=t;let r=`${S}${e}`;p&&void 0!==(null==n?void 0:n.default)&&(r=`${n.default}${e}`),v(r,t),g(e,t),O(e)},size:y,unit:P,units:k});let R=E.step;if(!R&&k){var N;const e=k.find((e=>e.value===P));R=null!==(N=null==e?void 0:e.step)&&void 0!==N?N:1}return(0,s.createElement)(rv,{className:"components-unit-control-wrapper",style:b},(0,s.createElement)(sv,a({"aria-label":m,type:f?"text":"number"},(0,l.omit)(E,["children"]),{autoComplete:r,className:T,disabled:i,disableUnits:u,isPressEnterToChange:f,label:m,onBlur:I,onKeyDown:e=>{const{keyCode:t}=e;t===tm.ENTER&&D(e)},onChange:(e,t)=>{""!==e?(e=bv(e,k,S,P).join(""),v(e,t)):v("",t)},ref:t,size:y,suffix:A,value:S,step:R,__unstableStateReducer:vm(((e,t)=>(t.type===im&&null!==M.current&&(e.value=M.current,M.current=null),e)),n)})))}));var Sv=kv;const Cv=Fn("div",{target:"e7pk0lh6"})({name:"14bvcyk",styles:"box-sizing:border-box;max-width:235px;padding-bottom:12px;width:100%"}),Pv=Fn($f,{target:"e7pk0lh5"})("color:",ko.ui.label,";padding-bottom:8px;"),Ov=Fn($f,{target:"e7pk0lh4"})({name:"aujtid",styles:"min-height:30px;gap:0"}),Mv=Fn("div",{target:"e7pk0lh3"})({name:"112jwab",styles:"box-sizing:border-box;max-width:80px"}),Tv=Fn($f,{target:"e7pk0lh2"})({name:"xy18ro",styles:"justify-content:center;padding-top:8px"}),Dv=Fn($f,{target:"e7pk0lh1"})({name:"3tw5wk",styles:"position:relative;height:100%;width:100%;justify-content:flex-start"});var Iv={name:"1ch9yvl",styles:"border-radius:0"},Av={name:"tg3mx0",styles:"border-radius:2px"};const Rv=e=>{let{isFirst:t,isLast:n,isOnly:r}=e;return t?Wf({borderTopRightRadius:0,borderBottomRightRadius:0})():n?Wf({borderTopLeftRadius:0,borderBottomLeftRadius:0})():r?Av:Iv},Nv=e=>{let{isFirst:t,isOnly:n}=e;return Wf({marginLeft:t||n?0:-1})()},Lv=Fn(Sv,{target:"e7pk0lh0"})("max-width:60px;",Rv,";",Nv,";");function Fv(e){let{isFirst:t,isLast:n,isOnly:r,onHoverOn:o=l.noop,onHoverOff:i=l.noop,label:u,value:c,...d}=e;const f=function(e,t){void 0===t&&(t={}),Ph.set("hover",em);var n=(0,b.useRef)();return n.current||(n.current=Zh(Eh,Qh)),Kh({hover:e},n.current(t))}((e=>{let{event:t,...n}=e;n.hovering?o(t,n):i(t,n)}));return(0,s.createElement)(Mv,f(),(0,s.createElement)(jv,{text:u},(0,s.createElement)(Lv,a({"aria-label":u,className:"component-box-control__unit-control",hideHTMLArrows:!0,isFirst:t,isLast:n,isOnly:r,isPressEnterToChange:!0,isResetValueOnUnitChange:!1,value:c},d))))}function jv(e){let{children:t,text:n}=e;return n?(0,s.createElement)(Mr,{text:n,position:"top"},(0,s.createElement)("div",null,t)):t}const zv={all:(0,d.__)("All"),top:(0,d.__)("Top"),bottom:(0,d.__)("Bottom"),left:(0,d.__)("Left"),right:(0,d.__)("Right"),mixed:(0,d.__)("Mixed"),vertical:(0,d.__)("Vertical"),horizontal:(0,d.__)("Horizontal")},Bv={top:null,right:null,bottom:null,left:null},Hv={top:!1,right:!1,bottom:!1,left:!1},Vv=["top","right","bottom","left"];function Wv(e){return e.sort(((t,n)=>e.filter((e=>e===t)).length-e.filter((e=>e===n)).length)).pop()}function Uv(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vv;const n=qv(t),r=n.map((t=>yv(e[t]))),o=r.map((e=>e[0])),i=r.map((e=>e[1])),a=o.every((e=>e===o[0]))?o[0]:"",s=Wv(i),u=(0,l.isNumber)(a)?`${a}${s}`:null;return u}function $v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vv;const n=Uv(e,t),r=isNaN(parseFloat(n));return r}function Kv(e){return void 0!==e&&!(0,l.isEmpty)(Object.values(e).filter((e=>!!e&&/\d/.test(e))))}function Gv(e,t){let n="all";return e||(n=t?"vertical":"top"),n}function qv(e){const t=[];if(null==e||!e.length)return Vv;if(e.includes("vertical"))t.push("top","bottom");else if(e.includes("horizontal"))t.push("left","right");else{const n=Vv.filter((t=>e.includes(t)));t.push(...n)}return t}function Yv(e){let{onChange:t=l.noop,onFocus:n=l.noop,onHoverOn:r=l.noop,onHoverOff:o=l.noop,values:i,sides:u,selectedUnits:c,setSelectedUnits:d,...f}=e;const p=Uv(i,u),h=Kv(i)&&$v(i,u),m=h?zv.mixed:null,v=p?void 0:function(e){if(!e||"object"!=typeof e)return;return Wv(Object.values(e).filter(Boolean))}(c),g=(e,t)=>{const n={...e};return null!=u&&u.length?u.forEach((e=>{"vertical"===e?(n.top=t,n.bottom=t):"horizontal"===e?(n.left=t,n.right=t):n[e]=t})):Vv.forEach((e=>n[e]=t)),n};return(0,s.createElement)(Fv,a({},f,{disableUnits:h,isOnly:!0,value:p,unit:v,onChange:e=>{const n=!isNaN(parseFloat(e)),r=g(i,n?e:void 0);t(r)},onUnitChange:e=>{const t=g(c,e);d(t)},onFocus:e=>{n(e,{side:"all"})},onHoverOn:()=>{r({top:!0,bottom:!0,left:!0,right:!0})},onHoverOff:()=>{o({top:!1,bottom:!1,left:!1,right:!1})},placeholder:m}))}function Xv(e){let{onChange:t=l.noop,onFocus:n=l.noop,onHoverOn:r=l.noop,onHoverOff:o=l.noop,values:i,selectedUnits:u,setSelectedUnits:c,sides:d,...f}=e;const p=e=>t=>{n(t,{side:e})},h=e=>()=>{r({[e]:!0})},m=e=>()=>{o({[e]:!1})},v=e=>(n,r)=>{let{event:o}=r;const{altKey:a}=o,s={...i},l=!isNaN(parseFloat(n))?n:void 0;if(s[e]=l,a)switch(e){case"top":s.bottom=l;break;case"bottom":s.top=l;break;case"left":s.right=l;break;case"right":s.left=l}(e=>{t(e)})(s)},g=e=>t=>{const n={...u};n[e]=t,c(n)},y=null!=d&&d.length?Vv.filter((e=>d.includes(e))):Vv,b=y[0],w=y[y.length-1],_=b===w&&b;return(0,s.createElement)(Tv,{className:"component-box-control__input-controls-wrapper"},(0,s.createElement)(Dv,{gap:0,align:"top",className:"component-box-control__input-controls"},y.map((e=>(0,s.createElement)(Fv,a({},f,{isFirst:b===e,isLast:w===e,isOnly:_===e,value:i[e],unit:i[e]?void 0:u[e],onChange:v(e),onUnitChange:g(e),onFocus:p(e),onHoverOn:h(e),onHoverOff:m(e),label:zv[e],key:`box-control-${e}`}))))))}const Zv=["vertical","horizontal"];function Jv(e){let{onChange:t,onFocus:n,onHoverOn:r,onHoverOff:o,values:i,selectedUnits:l,setSelectedUnits:u,sides:c,...d}=e;const f=e=>t=>{n&&n(t,{side:e})},p=e=>()=>{r&&("vertical"===e&&r({top:!0,bottom:!0}),"horizontal"===e&&r({left:!0,right:!0}))},h=e=>()=>{o&&("vertical"===e&&o({top:!1,bottom:!1}),"horizontal"===e&&o({left:!1,right:!1}))},m=e=>n=>{if(!t)return;const r={...i},o=!isNaN(parseFloat(n))?n:void 0;"vertical"===e&&(r.top=o,r.bottom=o),"horizontal"===e&&(r.left=o,r.right=o),t(r)},v=e=>t=>{const n={...l};"vertical"===e&&(n.top=t,n.bottom=t),"horizontal"===e&&(n.left=t,n.right=t),u(n)},g=null!=c&&c.length?Zv.filter((e=>c.includes(e))):Zv,y=g[0],b=g[g.length-1],w=y===b;return(0,s.createElement)(Dv,{gap:0,align:"top",className:"component-box-control__vertical-horizontal-input-controls"},g.map((e=>(0,s.createElement)(Fv,a({},d,{isFirst:y===e,isLast:b===e,isOnly:w===e,value:"vertical"===e?i.top:i.left,unit:"vertical"===e?l.top:l.left,onChange:m(e),onUnitChange:v(e),onFocus:f(e),onHoverOn:p(e),onHoverOff:h(e),label:zv[e],key:e})))))}const Qv=Fn("span",{target:"eaw9yqk8"})({name:"1w884gc",styles:"box-sizing:border-box;display:block;width:24px;height:24px;position:relative;padding:4px"}),eg=Fn("span",{target:"eaw9yqk7"})({name:"i6vjox",styles:"box-sizing:border-box;display:block;position:relative;width:100%;height:100%"}),tg=Fn("span",{target:"eaw9yqk6"})("box-sizing:border-box;display:block;pointer-events:none;position:absolute;",(e=>{let{isFocused:t}=e;return Nr({backgroundColor:"currentColor",opacity:t?1:.3},"","")}),";"),ng=Fn(tg,{target:"eaw9yqk5"})({name:"1k2w39q",styles:"bottom:3px;top:3px;width:2px"}),rg=Fn(tg,{target:"eaw9yqk4"})({name:"1q9b07k",styles:"height:2px;left:3px;right:3px"}),og=Fn(rg,{target:"eaw9yqk3"})({name:"abcix4",styles:"top:0"}),ig=Fn(ng,{target:"eaw9yqk2"})({name:"1wf8jf",styles:"right:0"}),ag=Fn(rg,{target:"eaw9yqk1"})({name:"8tapst",styles:"bottom:0"}),sg=Fn(ng,{target:"eaw9yqk0"})({name:"1ode3cm",styles:"left:0"});function lg(e){let{size:t=24,side:n="all",sides:r,...o}=e;const i=e=>!(e=>(null==r?void 0:r.length)&&!r.includes(e))(e)&&("all"===n||n===e),l=i("top")||i("vertical"),u=i("right")||i("horizontal"),c=i("bottom")||i("vertical"),d=i("left")||i("horizontal"),f=t/24;return(0,s.createElement)(Qv,a({style:{transform:`scale(${f})`}},o),(0,s.createElement)(eg,null,(0,s.createElement)(og,{isFocused:l}),(0,s.createElement)(ig,{isFocused:u}),(0,s.createElement)(ag,{isFocused:c}),(0,s.createElement)(sg,{isFocused:d})))}var ug=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.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"}));var cg=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.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"}));function dg(e){let{isLinked:t,...n}=e;const r=t?(0,d.__)("Unlink Sides"):(0,d.__)("Link Sides");return(0,s.createElement)(Mr,{text:r},(0,s.createElement)("span",null,(0,s.createElement)(Vn,a({},n,{className:"component-box-control__linked-button",variant:t?"primary":"secondary",isSmall:!0,icon:t?ug:cg,iconSize:16,"aria-label":r}))))}var fg={name:"11f5o9n",styles:"bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1"};const pg=Fn("div",{target:"e1df9b4q5"})("box-sizing:border-box;position:relative;",(e=>{let{isPositionAbsolute:t}=e;return t?fg:""}),";"),hg=Fn("div",{target:"e1df9b4q4"})("box-sizing:border-box;background:",ko.blue.wordpress[700],";background:",ko.ui.theme,";filter:brightness( 1 );opacity:0;position:absolute;pointer-events:none;transition:opacity 120ms linear;z-index:1;",(e=>{let{isActive:t}=e;return t&&"\n\t\topacity: 0.3;\n\t"}),";"),mg=Fn(hg,{target:"e1df9b4q3"})({name:"5i97ct",styles:"top:0;left:0;right:0"}),vg=Fn(hg,{target:"e1df9b4q2"})("top:0;bottom:0;",Wf({right:0}),";"),gg=Fn(hg,{target:"e1df9b4q1"})({name:"8cxke2",styles:"bottom:0;left:0;right:0"}),yg=Fn(hg,{target:"e1df9b4q0"})("top:0;bottom:0;",Wf({left:0}),";");function bg(e){let{showValues:t=Hv,values:n}=e;const{top:r,right:o,bottom:i,left:a}=n;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(wg,{isVisible:t.top,value:r}),(0,s.createElement)(_g,{isVisible:t.right,value:o}),(0,s.createElement)(xg,{isVisible:t.bottom,value:i}),(0,s.createElement)(Eg,{isVisible:t.left,value:a}))}function wg(e){let{isVisible:t=!1,value:n}=e;const r=n,o=kg(r).isActive||t;return(0,s.createElement)(mg,{isActive:o,style:{height:r}})}function _g(e){let{isVisible:t=!1,value:n}=e;const r=n,o=kg(r).isActive||t;return(0,s.createElement)(vg,{isActive:o,style:{width:r}})}function xg(e){let{isVisible:t=!1,value:n}=e;const r=n,o=kg(r).isActive||t;return(0,s.createElement)(gg,{isActive:o,style:{height:r}})}function Eg(e){let{isVisible:t=!1,value:n}=e;const r=n,o=kg(r).isActive||t;return(0,s.createElement)(yg,{isActive:o,style:{width:r}})}function kg(e){const[t,n]=(0,s.useState)(!1),r=(0,s.useRef)(e),o=(0,s.useRef)(),i=()=>{o.current&&window.clearTimeout(o.current)};return(0,s.useEffect)((()=>(e!==r.current&&(n(!0),r.current=e,i(),o.current=setTimeout((()=>{n(!1)}),400)),()=>i())),[e]),{isActive:t}}const Sg={min:0};function Cg(e){let{id:t,inputProps:n=Sg,onChange:r=l.noop,onChangeShowVisualizer:o=l.noop,label:i=(0,d.__)("Box Control"),values:u,units:c,sides:p,splitOnAxis:h=!1,allowReset:m=!0,resetValues:v=Bv}=e;const[g,y]=Ev(u,{fallback:Bv}),b=g||Bv,w=Kv(u),_=1===(null==p?void 0:p.length),[x,E]=(0,s.useState)(w),[k,S]=(0,s.useState)(!w||!$v(b)||_),[C,P]=(0,s.useState)(Gv(k,h)),[O,M]=(0,s.useState)({top:yv(null==u?void 0:u.top)[1],right:yv(null==u?void 0:u.right)[1],bottom:yv(null==u?void 0:u.bottom)[1],left:yv(null==u?void 0:u.left)[1]}),T=function(e){const t=(0,f.useInstanceId)(Cg,"inspector-box-control");return e||t}(t),D=`${T}-heading`,I={...n,onChange:e=>{r(e),y(e),E(!0)},onFocus:(e,t)=>{let{side:n}=t;P(n)},onHoverOn:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o({...Hv,...e})},onHoverOff:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o({...Hv,...e})},isLinked:k,units:c,selectedUnits:O,setSelectedUnits:M,sides:p,values:b};return(0,s.createElement)(Cv,{id:T,role:"region","aria-labelledby":D},(0,s.createElement)(Pv,{className:"component-box-control__header"},(0,s.createElement)(If,null,(0,s.createElement)(_p,{id:D,className:"component-box-control__label"},i)),m&&(0,s.createElement)(If,null,(0,s.createElement)(Vn,{className:"component-box-control__reset-button",isSecondary:!0,isSmall:!0,onClick:()=>{r(v),y(v),M(v),E(!1)},disabled:!x},(0,d.__)("Reset")))),(0,s.createElement)(Ov,{className:"component-box-control__header-control-wrapper"},(0,s.createElement)(If,null,(0,s.createElement)(lg,{side:C,sides:p})),k&&(0,s.createElement)(Df,null,(0,s.createElement)(Yv,a({"aria-label":i},I))),!k&&h&&(0,s.createElement)(Df,null,(0,s.createElement)(Jv,I)),!_&&(0,s.createElement)(If,null,(0,s.createElement)(dg,{onClick:()=>{S(!k),P(Gv(!k,h))},isLinked:k}))),!k&&!h&&(0,s.createElement)(Xv,I))}Cg.__Visualizer=function(e){let{children:t,showValues:n=Hv,values:r=Bv,...o}=e;const i=!t;return(0,s.createElement)(pg,a({},o,{isPositionAbsolute:i,"aria-hidden":"true"}),(0,s.createElement)(bg,{showValues:n,values:r}),t)};var Pg=(0,s.forwardRef)((function(e,t){let{className:n,...r}=e;const o=c()("components-button-group",n);return(0,s.createElement)("div",a({ref:t,role:"group",className:o},r))}));const Og={name:"12ip69d",styles:"background:transparent;display:block;margin:0!important;pointer-events:none;position:absolute;will-change:box-shadow"};function Mg(e){return`0 ${e}px ${2*e}px 0\n\t${`rgba(0 ,0, 0, ${e/20})`}`}const Tg=Pn((function(e,t){const n=function(e){const{active:t,borderRadius:n="inherit",className:r,focus:o,hover:i,isInteractive:a=!1,offset:u=0,value:c=0,...d}=Cn(e,"Elevation"),f=Sn();return{...d,className:(0,s.useMemo)((()=>{let e=(0,l.isNil)(i)?2*c:i,s=(0,l.isNil)(t)?c/2:t;a||(e=(0,l.isNil)(i)?void 0:i,s=(0,l.isNil)(t)?void 0:t);const d=`box-shadow ${ip.transitionDuration} ${ip.transitionTimingFunction}`,p={};return p.Base=Nr({borderRadius:n,bottom:u,boxShadow:Mg(c),opacity:ip.elevationIntensity,left:u,right:u,top:u,transition:d},So("transition"),"",""),(0,l.isNil)(e)||(p.hover=Nr("*:hover>&{box-shadow:",Mg(e),";}","")),(0,l.isNil)(s)||(p.active=Nr("*:active>&{box-shadow:",Mg(s),";}","")),(0,l.isNil)(o)||(p.focus=Nr("*:focus>&{box-shadow:",Mg(o),";}","")),f(Og,p.Base,p.hover&&p.hover,p.focus&&p.focus,p.active&&p.active,r)}),[t,n,r,o,i,a,u,c]),"aria-hidden":!0}}(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"Elevation");var Dg=Tg;const Ig=Nr("box-shadow:0 0 0 1px ",ip.surfaceBorderColor,";outline:none;",""),Ag={name:"1showjb",styles:"border-bottom:1px solid;box-sizing:border-box;&:last-child{border-bottom:none;}"},Rg={name:"14n5oej",styles:"border-top:1px solid;box-sizing:border-box;&:first-of-type{border-top:none;}"},Ng={name:"13udsys",styles:"height:100%"},Lg={name:"6ywzd",styles:"box-sizing:border-box;height:auto;max-height:100%"},Fg={name:"dq805e",styles:"box-sizing:border-box;overflow:hidden;&>img,&>iframe{display:block;height:auto;max-width:100%;width:100%;}"},jg={name:"c990dr",styles:"box-sizing:border-box;display:block;width:100%"},zg=Nr("&:first-of-type{border-top-left-radius:",ip.cardBorderRadius,";border-top-right-radius:",ip.cardBorderRadius,";}&:last-of-type{border-bottom-left-radius:",ip.cardBorderRadius,";border-bottom-right-radius:",ip.cardBorderRadius,";}",""),Bg=Nr("border-color:",ip.colorDivider,";",""),Hg={name:"1t90u8d",styles:"box-shadow:none"},Vg={name:"1e1ncky",styles:"border:none"},Wg=Nr("border-radius:",ip.cardBorderRadius,";",""),Ug=Nr("padding:",ip.cardPaddingXSmall,";",""),$g={large:Nr("padding:",ip.cardPaddingLarge,";",""),medium:Nr("padding:",ip.cardPaddingMedium,";",""),small:Nr("padding:",ip.cardPaddingSmall,";",""),xSmall:Ug,extraSmall:Ug},Kg=Nr("background-color:",ko.lightGray[200],";",""),Gg=Nr("background-color:",ip.surfaceColor,";color:",ko.black,";position:relative;","");ip.surfaceBackgroundColor;const qg=Nr("",""),Yg=Nr("background:",ip.surfaceBackgroundTintColor,";",""),Xg=Nr("background:",ip.surfaceBackgroundTertiaryColor,";",""),Zg=e=>[e,e].join(" "),Jg=e=>["90deg",[ip.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),Qg=e=>[[ip.surfaceBackgroundColor,e].join(" "),"transparent 1%"].join(","),ey=(e,t)=>Nr("background:",(e=>[`linear-gradient( ${Jg(e)} ) center`,`linear-gradient( ${Qg(e)} ) center`,ip.surfaceBorderBoldColor].join(","))(t),";background-size:",Zg(e),";",""),ty=[`linear-gradient( ${[`${ip.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`,`linear-gradient( ${["90deg",`${ip.surfaceBorderSubtleColor} 1px`,"transparent 1px"].join(",")} )`].join(","),ny=(e,t,n)=>{switch(e){case"dotted":return ey(t,n);case"grid":return(e=>Nr("background:",ip.surfaceBackgroundColor,";background-image:",ty,";background-size:",Zg(e),";",""))(t);case"primary":return qg;case"secondary":return Yg;case"tertiary":return Xg}};function ry(e){const{backgroundSize:t=12,borderBottom:n=!1,borderLeft:r=!1,borderRight:o=!1,borderTop:i=!1,className:a,variant:l="primary",...u}=Cn(e,"Surface"),c=Sn(),d=(0,s.useMemo)((()=>{const e={};return e.borders=function(e){let{borderBottom:t,borderLeft:n,borderRight:r,borderTop:o}=e;const i=`1px solid ${ip.surfaceBorderColor}`;return Nr({borderBottom:t?i:void 0,borderLeft:n?i:void 0,borderRight:r?i:void 0,borderTop:o?i:void 0},"","")}({borderBottom:n,borderLeft:r,borderRight:o,borderTop:i}),c(Gg,e.borders,ny(l,`${t}px`,t-1+"px"),a)}),[t,n,r,o,i,a,l]);return{...u,className:d}}function oy(e){const{className:t,elevation:n=0,isBorderless:r=!1,isRounded:o=!0,size:i="medium",...a}=Cn(function(e){let{elevation:t,isElevated:n,...r}=e;const o={...r};let i=t;var a;return n&&(Be()("Card isElevated prop",{since:"5.9",alternative:"elevation"}),null!==(a=i)&&void 0!==a||(i=2)),void 0!==i&&(o.elevation=i),o}(e),"Card"),l=Sn();return{...ry({...a,className:(0,s.useMemo)((()=>l(Ig,r&&Hg,o&&Wg,t)),[t,r,o])}),elevation:n,isBorderless:r,isRounded:o,size:i}}var iy=Pn((function(e,t){const{children:n,elevation:r,isBorderless:o,isRounded:i,size:l,...u}=oy(e),c=i?ip.cardBorderRadius:0,d=Sn(),f=(0,s.useMemo)((()=>d(Nr({borderRadius:c},"",""))),[c]),p=(0,s.useMemo)((()=>{const e={size:l,isBorderless:o};return{CardBody:e,CardHeader:e,CardFooter:e}}),[o,l]);return(0,s.createElement)(Ke,{value:p},(0,s.createElement)(zn,a({},u,{ref:t}),(0,s.createElement)(zn,{className:d(Ng)},n),(0,s.createElement)(Dg,{className:f,isInteractive:!1,value:r?1:0}),(0,s.createElement)(Dg,{className:f,isInteractive:!1,value:r})))}),"Card");const ay=Nr("@media only screen and ( min-device-width: 40em ){&::-webkit-scrollbar{height:12px;width:12px;}&::-webkit-scrollbar-track{background-color:transparent;}&::-webkit-scrollbar-track{background:",ip.colorScrollbarTrack,";border-radius:8px;}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",ip.colorScrollbarThumb,";border:2px solid rgba( 0, 0, 0, 0 );border-radius:7px;}&:hover::-webkit-scrollbar-thumb{background-color:",ip.colorScrollbarThumbHover,";}}",""),sy={name:"13udsys",styles:"height:100%"},ly={name:"7zq9w",styles:"scroll-behavior:smooth"},uy={name:"q33xhg",styles:"overflow-x:auto;overflow-y:hidden"},cy={name:"103x71s",styles:"overflow-x:hidden;overflow-y:auto"},dy={name:"umwchj",styles:"overflow-y:auto"};var fy=Pn((function(e,t){const n=function(e){const{className:t,scrollDirection:n="y",smoothScroll:r=!1,...o}=Cn(e,"Scrollable"),i=Sn();return{...o,className:(0,s.useMemo)((()=>i(sy,ay,r&&ly,"x"===n&&uy,"y"===n&&cy,"auto"===n&&dy,t)),[t,n,r])}}(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"Scrollable");var py=Pn((function(e,t){const{isScrollable:n,...r}=function(e){const{className:t,isScrollable:n=!1,isShady:r=!1,size:o="medium",...i}=Cn(e,"CardBody"),a=Sn();return{...i,className:(0,s.useMemo)((()=>a(Lg,zg,$g[o],r&&Kg,"components-card__body",t)),[t,r,o]),isScrollable:n}}(e);return n?(0,s.createElement)(fy,a({},r,{ref:t})):(0,s.createElement)(zn,a({},r,{ref:t}))}),"CardBody"),hy=H({name:"Separator",compose:ue,keys:["orientation"],useOptions:function(e){var t=e.orientation;return m({orientation:void 0===t?"horizontal":t},v(e,["orientation"]))},useProps:function(e,t){return m({role:"separator","aria-orientation":e.orientation},t)}}),my=z({as:"hr",memo:!0,useHook:hy});const vy=Fn("hr",{target:"e19on6iw0"})("border-color:",ip.colorDivider,";border-width:0 0 1px 0;height:0;margin:0;width:auto;",(e=>{let{margin:t,marginTop:n,marginBottom:r}=e;return Nr(void 0!==t?{marginBottom:Lf(t),marginTop:Lf(t)}:{marginTop:Lf(n),marginBottom:Lf(r)},"","")}),";");var gy=Pn((function(e,t){const n=Cn(e,"Divider");return(0,s.createElement)(my,a({as:vy},n,{ref:t}))}),"Divider");var yy=Pn((function(e,t){const n=function(e){const{className:t,...n}=Cn(e,"CardDivider"),r=Sn();return{...n,className:(0,s.useMemo)((()=>r(jg,Bg,"components-card__divider",t)),[t])}}(e);return(0,s.createElement)(gy,a({},n,{ref:t}))}),"CardDivider");var by=Pn((function(e,t){const n=function(e){const{className:t,justify:n,isBorderless:r=!1,isShady:o=!1,size:i="medium",...a}=Cn(e,"CardFooter"),l=Sn();return{...a,className:(0,s.useMemo)((()=>l(Rg,zg,Bg,$g[i],r&&Vg,o&&Kg,"components-card__footer",t)),[t,r,o,i]),justify:n}}(e);return(0,s.createElement)($f,a({},n,{ref:t}))}),"CardFooter");var wy=Pn((function(e,t){const n=function(e){const{className:t,isBorderless:n=!1,isShady:r=!1,size:o="medium",...i}=Cn(e,"CardHeader"),a=Sn();return{...i,className:(0,s.useMemo)((()=>a(Ag,zg,Bg,$g[o],n&&Vg,r&&Kg,"components-card__header",t)),[t,n,r,o])}}(e);return(0,s.createElement)($f,a({},n,{ref:t}))}),"CardHeader");var _y=Pn((function(e,t){const n=function(e){const{className:t,...n}=Cn(e,"CardMedia"),r=Sn();return{...n,className:(0,s.useMemo)((()=>r(Fg,zg,"components-card__media",t)),[t])}}(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"CardMedia");var xy=function(e){let{icon:t,size:n=24,...r}=e;return(0,s.cloneElement)(t,{width:n,height:n,...r})};var Ey=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));function ky(e){let{label:t,className:n,heading:r,checked:o,help:i,onChange:l,...u}=e;r&&Be()("`heading` prop in `CheckboxControl`",{alternative:"a separate element to implement a heading",plugin:"Gutenberg"});const d=`inspector-checkbox-control-${(0,f.useInstanceId)(ky)}`;return(0,s.createElement)(qm,{label:r,id:d,help:i,className:c()("components-checkbox-control",n)},(0,s.createElement)("span",{className:"components-checkbox-control__input-container"},(0,s.createElement)("input",a({id:d,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:e=>l(e.target.checked),checked:o,"aria-describedby":i?d+"__help":void 0},u)),o?(0,s.createElement)(xy,{icon:Ey,className:"components-checkbox-control__checked",role:"presentation"}):null),(0,s.createElement)("label",{className:"components-checkbox-control__label",htmlFor:d},t))}function Sy(e){let{className:t,children:n,onCopy:r,onFinishCopy:o,text:i,...l}=e;Be()("wp.components.ClipboardButton",{since:"10.3",plugin:"Gutenberg",alternative:"wp.compose.useCopyToClipboard"});const u=(0,s.useRef)(),d=(0,f.useCopyToClipboard)(i,(()=>{r(),clearTimeout(u.current),o&&(u.current=setTimeout((()=>o()),4e3))}));(0,s.useEffect)((()=>{clearTimeout(u.current)}),[]);const p=c()("components-clipboard-button",t);return(0,s.createElement)(Vn,a({},l,{className:p,ref:d,onCopy:e=>{e.target.focus()}}),n)}var Cy=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},(0,s.createElement)(i.Path,{d:"M5 11.25h14v1.5H5z"}));var Py=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));var Oy=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));var My=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));const Ty={bottom:{align:"flex-end",justify:"center"},bottomLeft:{align:"flex-start",justify:"flex-end"},bottomRight:{align:"flex-end",justify:"flex-end"},center:{align:"center",justify:"center"},edge:{align:"center",justify:"space-between"},left:{align:"center",justify:"flex-start"},right:{align:"center",justify:"flex-end"},stretch:{align:"stretch"},top:{align:"flex-start",justify:"center"},topLeft:{align:"flex-start",justify:"flex-start"},topRight:{align:"flex-start",justify:"flex-end"}},Dy={bottom:{justify:"flex-end",align:"center"},bottomLeft:{justify:"flex-start",align:"flex-end"},bottomRight:{justify:"flex-end",align:"flex-end"},center:{justify:"center",align:"center"},edge:{justify:"space-between",align:"center"},left:{justify:"center",align:"flex-start"},right:{justify:"center",align:"flex-end"},stretch:{justify:"stretch"},top:{justify:"flex-start",align:"center"},topLeft:{justify:"flex-start",align:"flex-start"},topRight:{justify:"flex-start",align:"flex-end"}};function Iy(e){return"string"==typeof e?[e]:s.Children.toArray(e).filter((e=>(0,s.isValidElement)(e)))}function Ay(e){const{alignment:t="edge",children:n,direction:r,spacing:o=2,...i}=Cn(e,"HStack"),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"row";if((0,l.isNil)(e))return{};const n="column"===t?Dy:Ty;return e in n?n[e]:{align:e}}(t,r);return Uf({children:Iy(n).map(((e,t)=>{const n=e.key||`hstack-${t}`;return Mn(e,["Spacer"])?(0,s.createElement)(If,a({isBlock:!0,key:n},e.props)):e})),direction:r,justify:"center",...u,...i,gap:o})}var Ry=Pn((function(e,t){const n=Ay(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"HStack");var Ny=(0,s.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(i.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));const Ly=Fn("select",{target:"e1mv6sxx1"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none!important;color:",ko.black,";display:block;margin:0;width:100%;",(e=>{let{disabled:t}=e;return t?Nr({color:ko.ui.textDisabled},"",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:"13px",small:"11px"}[t];return n?Nr("font-size:","16px",";@media ( min-width: 600px ){font-size:",n,";}",""):""}),";",(e=>{let{selectSize:t}=e;const n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return Nr(n[t]||n.default,"","")}),";",Wf({paddingLeft:8,paddingRight:24}),";}"),Fy=Fn("div",{target:"e1mv6sxx0"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",Wf({right:0})," svg{display:block;}");function jy(e,t){let{className:n,disabled:r=!1,help:o,hideLabelFromVision:i,id:u,label:d,multiple:p=!1,onBlur:h=l.noop,onChange:m=l.noop,onFocus:v=l.noop,options:g=[],size:y="default",value:b,labelPosition:w="top",children:_,prefix:x,suffix:E,...k}=e;const[S,C]=(0,s.useState)(!1),P=function(e){const t=(0,f.useInstanceId)(jy);return e||`inspector-select-control-${t}`}(u),O=o?`${P}__help`:void 0;if((0,l.isEmpty)(g)&&!_)return null;const M=c()("components-select-control",n);return(0,s.createElement)(qm,{help:o,id:P},(0,s.createElement)(Up,{className:M,disabled:r,hideLabelFromVision:i,id:P,isFocused:S,label:d,size:y,suffix:E||(0,s.createElement)(Fy,null,(0,s.createElement)(xy,{icon:Ny,size:18})),prefix:x,labelPosition:w},(0,s.createElement)(Ly,a({},k,{"aria-describedby":O,className:"components-select-control__input",disabled:r,id:P,multiple:p,onBlur:e=>{h(e),C(!1)},onChange:e=>{if(p){const t=Array.from(e.target.options).filter((e=>{let{selected:t}=e;return t})),n=t.map((e=>{let{value:t}=e;return t}));m(n)}else m(e.target.value,{event:e})},onFocus:e=>{v(e),C(!0)},ref:t,selectSize:y,value:b}),_||g.map(((e,t)=>{const n=e.id||`${e.label}-${e.value}-${t}`;return(0,s.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))}var zy=(0,s.forwardRef)(jy);function By(e,t,n){return"number"!=typeof e?null:parseFloat((0,l.clamp)(e,t,n))}const Hy=()=>Nr({height:30,minHeight:30},"",""),Vy=12,Wy=Fn("div",{target:"exqw8y214"})({name:"17z6zai",styles:"-webkit-tap-highlight-color:transparent;box-sizing:border-box;align-items:flex-start;display:inline-flex;justify-content:flex-start;padding:0;position:relative;touch-action:none;width:100%"}),Uy=Fn("div",{target:"exqw8y213"})("box-sizing:border-box;color:",ko.blue.medium.focus,";display:block;flex:1;position:relative;width:100%;",(e=>{let{color:t=ko.ui.borderFocus}=e;return Nr({color:t},"","")}),";",Hy,";",(e=>{let{marks:t}=e;return Nr({marginBottom:t?16:null},"","")}),";"),$y=Fn("span",{target:"exqw8y212"})("margin-top:",4,"px;",Wf({marginRight:6}),";"),Ky=Fn("span",{target:"exqw8y211"})("margin-top:",4,"px;",Wf({marginLeft:16}),";"),Gy=Fn("span",{target:"exqw8y210"})("background-color:",ko.lightGray[600],";box-sizing:border-box;left:0;pointer-events:none;right:0;display:block;height:",4,"px;position:absolute;margin-top:",13,"px;top:0;border-radius:",4,"px;",(e=>{let{disabled:t,railColor:n}=e,r=n||null;return t&&(r=ko.lightGray[400]),Nr({background:r},"","")}),";"),qy=Fn("span",{target:"exqw8y29"})("background-color:currentColor;border-radius:",4,"px;box-sizing:border-box;height:",4,"px;pointer-events:none;display:block;position:absolute;margin-top:",13,"px;top:0;",(e=>{let{disabled:t,trackColor:n}=e,r=n||"currentColor";return t&&(r=ko.lightGray[800]),Nr({background:r},"","")}),";"),Yy=Fn("span",{target:"exqw8y28"})({name:"1xuuvmv",styles:"box-sizing:border-box;display:block;pointer-events:none;position:relative;width:100%;user-select:none"}),Xy=Fn("span",{target:"exqw8y27"})("box-sizing:border-box;height:",Vy,"px;left:0;position:absolute;top:-4px;width:1px;",(e=>{let{disabled:t,isFilled:n}=e,r=n?"currentColor":ko.lightGray[600];return t&&(r=ko.lightGray[800]),Nr({backgroundColor:r},"","")}),";"),Zy=Fn("span",{target:"exqw8y26"})("box-sizing:border-box;color:",ko.lightGray[600],";left:0;font-size:11px;position:absolute;top:12px;transform:translateX( -50% );white-space:nowrap;",(e=>{let{isFilled:t}=e;return Nr({color:t?ko.darkGray[300]:ko.lightGray[600]},"","")}),";");var Jy={name:"1sb75b3",styles:"background-color:var( --wp-admin-theme-color )"};const Qy=e=>{let{disabled:t}=e;return t?Nr("background-color:",ko.lightGray[800],";",""):Jy},eb=Fn("span",{target:"exqw8y25"})("align-items:center;box-sizing:border-box;display:flex;height:",Vy,"px;justify-content:center;margin-top:",9,"px;outline:0;pointer-events:none;position:absolute;top:0;user-select:none;width:",Vy,"px;border-radius:50%;",Qy,";",Wf({marginLeft:-10}),";",Wf({transform:"translateX( 4.5px )"},{transform:"translateX( -4.5px )"}),";"),tb=Fn("span",{target:"exqw8y24"})("align-items:center;border-radius:50%;box-sizing:border-box;height:100%;outline:0;position:absolute;user-select:none;width:100%;",Qy,";",(e=>{let{isFocused:t}=e;return t?Nr("&::before{content:' ';position:absolute;background-color:var( --wp-admin-theme-color );opacity:0.4;border-radius:50%;height:",20,"px;width:",20,"px;top:-4px;left:-4px;}",""):""}),";"),nb=Fn("input",{target:"exqw8y23"})("box-sizing:border-box;cursor:pointer;display:block;height:100%;left:0;margin:0 -",6,"px;opacity:0;outline:none;position:absolute;right:0;top:0;width:calc( 100% + ",Vy,"px );");var rb={name:"1cypxip",styles:"top:-80%"},ob={name:"1lr98c4",styles:"bottom:-80%"};const ib=Fn("span",{target:"exqw8y22"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-sizing:border-box;color:white;display:inline-block;font-size:12px;min-width:32px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;text-align:center;transition:opacity 120ms ease;user-select:none;line-height:1.4;",(e=>{let{show:t}=e;return Nr({opacity:t?1:0},"","")}),";",(e=>{let{position:t}=e;return"bottom"===t?ob:rb}),";",So("transition"),";",Wf({transform:"translateX(-50%)"},{transform:"translateX(50%)"}),";"),ab=Fn(nv,{target:"exqw8y21"})("box-sizing:border-box;display:inline-block;font-size:13px;margin-top:0;width:",Lf(16),"!important;input[type='number']&{",Hy,";}",Wf({marginLeft:`${Lf(4)} !important`}),";"),sb=Fn("span",{target:"exqw8y20"})("box-sizing:border-box;display:block;margin-top:0;button,button.is-small{margin-left:0;",Hy,";}",Wf({marginLeft:8}),";");const lb=(0,s.forwardRef)((function(e,t){let{describedBy:n,label:r,onHideTooltip:o=l.noop,onMouseLeave:i=l.noop,onMouseMove:u=l.noop,onShowTooltip:c=l.noop,value:d,...f}=e;const p=function(e){let{onHide:t=l.noop,onMouseLeave:n=l.noop,onMouseMove:r=l.noop,onShow:o=l.noop,timeout:i=300}=e;const[a,u]=(0,s.useState)(!1),c=(0,s.useRef)(),d=(0,s.useCallback)((e=>{window.clearTimeout(c.current),c.current=setTimeout(e,i)}),[i]),f=(0,s.useCallback)((e=>{r(e),d((()=>{a||(u(!0),o())}))}),[]),p=(0,s.useCallback)((e=>{n(e),d((()=>{u(!1),t()}))}),[]);return(0,s.useEffect)((()=>()=>{window.clearTimeout(c.current)})),{onMouseMove:f,onMouseLeave:p}}({onHide:o,onMouseLeave:i,onMouseMove:u,onShow:c});return(0,s.createElement)(nb,a({},f,p,{"aria-describedby":n,"aria-label":r,"aria-hidden":!1,ref:t,tabIndex:0,type:"range",value:d}))}));var ub=lb;function cb(e){let{className:t,isFilled:n=!1,label:r,style:o={},...i}=e;const l=c()("components-range-control__mark",n&&"is-filled",t),u=c()("components-range-control__mark-label",n&&"is-filled");return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Xy,a({},i,{"aria-hidden":"true",className:l,isFilled:n,style:o})),r&&(0,s.createElement)(Zy,{"aria-hidden":"true",className:u,isFilled:n,style:o},r))}function db(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:i=1,value:l=0,...u}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Gy,a({disabled:t},u)),n&&(0,s.createElement)(fb,{disabled:t,marks:n,min:r,max:o,step:i,value:l}))}function fb(e){let{disabled:t=!1,marks:n=!1,min:r=0,max:o=100,step:i=1,value:l=0}=e;"any"===i&&(i=1);const u=function(e){let{marks:t,min:n=0,max:r=100,step:o=1,value:i=0}=e;if(!t)return[];const a=r-n;if(!Array.isArray(t)){t=[];const e=1+Math.round(a/o);for(;e>t.push({value:o*t.length+n}););}const s=[];return t.forEach(((e,t)=>{if(e.value<n||e.value>r)return;const o=`mark-${t}`,l=e.value<=i,u=(e.value-n)/a*100+"%",c={[(0,d.isRTL)()?"right":"left"]:u};s.push({...e,isFilled:l,key:o,style:c})})),s}({marks:n,min:r,max:o,step:i,value:l});return(0,s.createElement)(Yy,{"aria-hidden":"true",className:"components-range-control__marks"},u.map((e=>(0,s.createElement)(cb,a({},e,{key:e.key,"aria-hidden":"true",disabled:t})))))}function pb(e){let{className:t,inputRef:n,tooltipPosition:r,show:o=!1,style:i={},value:l=0,renderTooltipContent:u=(e=>e),zIndex:d=100,...f}=e;const p=function(e){let{inputRef:t,tooltipPosition:n}=e;const[r,o]=(0,s.useState)(),i=(0,s.useCallback)((()=>{t&&t.current&&o(n)}),[n]);return(0,s.useEffect)((()=>{i()}),[i]),(0,s.useEffect)((()=>(window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}))),r}({inputRef:n,tooltipPosition:r}),h=c()("components-simple-tooltip",t),m={...i,zIndex:d};return(0,s.createElement)(ib,a({},f,{"aria-hidden":o,className:h,position:p,show:o,role:"tooltip",style:m}),u(l))}const hb=(0,s.forwardRef)((function e(t,n){var r;let{afterIcon:o,allowReset:i=!1,beforeIcon:u,className:p,currentInput:h,color:m=ko.ui.theme,disabled:v=!1,help:g,initialPosition:y,isShiftStepEnabled:b=!0,label:w,hideLabelFromVision:_=!1,marks:x=!1,max:E=100,min:k=0,onBlur:S=l.noop,onChange:C=l.noop,onFocus:P=l.noop,onMouseMove:O=l.noop,onMouseLeave:M=l.noop,railColor:T,resetFallbackValue:D,renderTooltipContent:I=(e=>e),showTooltip:A,shiftStep:R=10,step:N=1,trackColor:L,value:F,withInputField:j=!0,...z}=t;const[B,H]=function(e){let{min:t,max:n,value:r,initial:o}=e;const[i,a]=Ev(By(r,t,n),{initial:o,fallback:null});return[i,(0,s.useCallback)((e=>{a(null===e?null:By(e,t,n))}),[t,n])]}({min:k,max:E,value:F,initial:y}),V=(0,s.useRef)(!1);"any"===N&&(A=!1,j=!1);const[W,U]=(0,s.useState)(A),[$,K]=(0,s.useState)(!1),G=(0,s.useRef)(),q=null===(r=G.current)||void 0===r?void 0:r.matches(":focus"),Y=!v&&$,X=null===B,Z=X?"":void 0!==B?B:h,J=X?(E-k)/2+k:B,Q=X?50:(B-k)/(E-k)*100,ee=`${(0,l.clamp)(Q,0,100)}%`,te=c()("components-range-control",p),ne=c()("components-range-control__wrapper",!!x&&"is-marked"),re=(0,f.useInstanceId)(e,"inspector-range-control"),oe=g?`${re}__help`:void 0,ie=!1!==A&&(0,l.isFinite)(B),ae=()=>{let e=parseFloat(D),t=e;isNaN(e)&&(e=null,t=void 0),H(e),C(t)},se={[(0,d.isRTL)()?"right":"left"]:ee};return(0,s.createElement)(qm,{className:te,label:w,hideLabelFromVision:_,id:re,help:g},(0,s.createElement)(Wy,{className:"components-range-control__root"},u&&(0,s.createElement)($y,null,(0,s.createElement)(Ve,{icon:u})),(0,s.createElement)(Uy,{className:ne,color:m,marks:!!x},(0,s.createElement)(ub,a({},z,{className:"components-range-control__slider",describedBy:oe,disabled:v,id:re,label:w,max:E,min:k,onBlur:e=>{S(e),K(!1),U(!1)},onChange:e=>{const t=parseFloat(e.target.value);H(t),C(t)},onFocus:e=>{P(e),K(!0),U(!0)},onMouseMove:O,onMouseLeave:M,ref:e=>{G.current=e,n&&n(e)},step:N,value:Z})),(0,s.createElement)(db,{"aria-hidden":!0,disabled:v,marks:x,max:E,min:k,railColor:T,step:N,value:J}),(0,s.createElement)(qy,{"aria-hidden":!0,className:"components-range-control__track",disabled:v,style:{width:ee},trackColor:L}),(0,s.createElement)(eb,{style:se,disabled:v},(0,s.createElement)(tb,{"aria-hidden":!0,isFocused:Y,disabled:v})),ie&&(0,s.createElement)(pb,{className:"components-range-control__tooltip",inputRef:G,tooltipPosition:"bottom",renderTooltipContent:I,show:q||W,style:se,value:B})),o&&(0,s.createElement)(Ky,null,(0,s.createElement)(Ve,{icon:o})),j&&(0,s.createElement)(ab,{"aria-label":w,className:"components-range-control__number",disabled:v,inputMode:"decimal",isShiftStepEnabled:b,max:E,min:k,onBlur:()=>{V.current&&(ae(),V.current=!1)},onChange:e=>{e=parseFloat(e),H(e),isNaN(e)?i&&(V.current=!0):((e<k||e>E)&&(e=By(e,k,E)),C(e),V.current=!1)},shiftStep:R,step:N,value:Z}),i&&(0,s.createElement)(sb,null,(0,s.createElement)(Vn,{className:"components-range-control__reset",disabled:v||void 0===B,variant:"secondary",isSmall:!0,onClick:ae},(0,d.__)("Reset")))))}));var mb=hb;const vb=Fn(nv,{target:"ez9hsf46"})(Dp,"{width:",Lf(24),";}"),gb=Fn(zy,{target:"ez9hsf45"})("margin-left:",Lf(-2),";width:5em;",Fp,"{display:none;}"),yb=Fn(mb,{target:"ez9hsf44"})("flex:1;",Um,"{margin-bottom:0;}"),bb=`\n&&& ${Ip} {\n\theight: 40px;\n}`,wb=`\n.react-colorful__interactive {\n\twidth: calc( 100% - ${Lf(2)} );\n\tmargin-left: ${Lf(1)};\n}`,_b=Fn("div",{target:"ez9hsf43"})("padding:",Lf(2)," ",Lf(4),";"),xb=Fn("div",{target:"ez9hsf42"})("width:216px;.react-colorful{display:flex;flex-direction:column;align-items:center;width:216px;height:auto;}.react-colorful__saturation{width:100%;border-radius:0;height:216px;margin-bottom:",Lf(4),";border-bottom:none;}.react-colorful__hue,.react-colorful__alpha{width:184px;height:16px;border-radius:16px;margin-bottom:",Lf(2),";}.react-colorful__pointer{height:16px;width:16px;border:none;box-shadow:0 0 2px 0 rgba( 0, 0, 0, 0.25 );outline:2px solid transparent;}.react-colorful__pointer-fill{box-shadow:inset 0 0 0 ",ip.borderWidthFocus," #fff;}",wb," ",Um,"{margin-bottom:0;}",bb,";"),Eb=Fn(Vn,{target:"ez9hsf41"})("&&&&&{min-width:",Lf(6),";padding:0;}"),kb=Fn(Sm,{target:"ez9hsf40"})({name:"1287a6j",styles:"width:8em"});function Sb(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Cb(e){return e instanceof Sb(e).Element||e instanceof Element}function Pb(e){return e instanceof Sb(e).HTMLElement||e instanceof HTMLElement}function Ob(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Sb(e).ShadowRoot||e instanceof ShadowRoot)}var Mb=Math.max,Tb=Math.min,Db=Math.round;function Ib(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Pb(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=Db(n.width)/a||1),i>0&&(o=Db(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function Ab(e){var t=Sb(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Rb(e){return e?(e.nodeName||"").toLowerCase():null}function Nb(e){return((Cb(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lb(e){return Ib(Nb(e)).left+Ab(e).scrollLeft}function Fb(e){return Sb(e).getComputedStyle(e)}function jb(e){var t=Fb(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function zb(e,t,n){void 0===n&&(n=!1);var r=Pb(t),o=Pb(t)&&function(e){var t=e.getBoundingClientRect(),n=Db(t.width)/e.offsetWidth||1,r=Db(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Nb(t),a=Ib(e,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==Rb(t)||jb(i))&&(s=function(e){return e!==Sb(e)&&Pb(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Ab(e);var t}(t)),Pb(t)?((l=Ib(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Lb(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Bb(e){var t=Ib(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Hb(e){return"html"===Rb(e)?e:e.assignedSlot||e.parentNode||(Ob(e)?e.host:null)||Nb(e)}function Vb(e){return["html","body","#document"].indexOf(Rb(e))>=0?e.ownerDocument.body:Pb(e)&&jb(e)?e:Vb(Hb(e))}function Wb(e,t){var n;void 0===t&&(t=[]);var r=Vb(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Sb(r),a=o?[i].concat(i.visualViewport||[],jb(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Wb(Hb(a)))}function Ub(e){return["table","td","th"].indexOf(Rb(e))>=0}function $b(e){return Pb(e)&&"fixed"!==Fb(e).position?e.offsetParent:null}function Kb(e){for(var t=Sb(e),n=$b(e);n&&Ub(n)&&"static"===Fb(n).position;)n=$b(n);return n&&("html"===Rb(n)||"body"===Rb(n)&&"static"===Fb(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Pb(e)&&"fixed"===Fb(e).position)return null;for(var n=Hb(e);Pb(n)&&["html","body"].indexOf(Rb(n))<0;){var r=Fb(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Gb="top",qb="bottom",Yb="right",Xb="left",Zb="auto",Jb=[Gb,qb,Yb,Xb],Qb="start",ew="end",tw="viewport",nw="popper",rw=Jb.reduce((function(e,t){return e.concat([t+"-"+Qb,t+"-"+ew])}),[]),ow=[].concat(Jb,[Zb]).reduce((function(e,t){return e.concat([t,t+"-"+Qb,t+"-"+ew])}),[]),iw=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function aw(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var sw={placement:"bottom",modifiers:[],strategy:"absolute"};function lw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function uw(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?sw:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},sw,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,c={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Cb(e)?Wb(e):e.contextElement?Wb(e.contextElement):[],popper:Wb(t)};var a=function(e){var t=aw(e);return iw.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=a.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:c,options:r}),a=function(){};l.push(i||a)}})),c.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(lw(t,n)){s.rects={reference:zb(t,Kb(n),"fixed"===s.options.strategy),popper:Bb(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:c})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),u=!0}};if(!lw(e,t))return c;function d(){l.forEach((function(e){return e()})),l=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var cw={passive:!0};var dw={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=Sb(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,cw)})),s&&l.addEventListener("resize",n.update,cw),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,cw)})),s&&l.removeEventListener("resize",n.update,cw)}},data:{}};function fw(e){return e.split("-")[0]}function pw(e){return e.split("-")[1]}function hw(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function mw(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?fw(o):null,a=o?pw(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case Gb:t={x:s,y:n.y-r.height};break;case qb:t={x:s,y:n.y+n.height};break;case Yb:t={x:n.x+n.width,y:l};break;case Xb:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?hw(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case Qb:t[u]=t[u]-(n[c]/2-r[c]/2);break;case ew:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var vw={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=mw({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},gw={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yw(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,h=a.y,m=void 0===h?0:h,v="function"==typeof c?c({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Xb,w=Gb,_=window;if(u){var x=Kb(n),E="clientHeight",k="clientWidth";if(x===Sb(n)&&"static"!==Fb(x=Nb(n)).position&&"absolute"===s&&(E="scrollHeight",k="scrollWidth"),x=x,o===Gb||(o===Xb||o===Yb)&&i===ew)w=qb,m-=(d&&_.visualViewport?_.visualViewport.height:x[E])-r.height,m*=l?1:-1;if(o===Xb||(o===Gb||o===qb)&&i===ew)b=Yb,p-=(d&&_.visualViewport?_.visualViewport.width:x[k])-r.width,p*=l?1:-1}var S,C=Object.assign({position:s},u&&gw),P=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Db(t*r)/r||0,y:Db(n*r)/r||0}}({x:p,y:m}):{x:p,y:m};return p=P.x,m=P.y,l?Object.assign({},C,((S={})[w]=y?"0":"",S[b]=g?"0":"",S.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",S)):Object.assign({},C,((t={})[w]=y?m+"px":"",t[b]=g?p+"px":"",t.transform="",t))}var bw={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:fw(t.placement),variation:pw(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,yw(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,yw(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ww={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Pb(o)&&Rb(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Pb(r)&&Rb(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var _w={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=ow.reduce((function(e,n){return e[n]=function(e,t,n){var r=fw(e),o=[Xb,Gb].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Xb,Yb].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},xw={left:"right",right:"left",bottom:"top",top:"bottom"};function Ew(e){return e.replace(/left|right|bottom|top/g,(function(e){return xw[e]}))}var kw={start:"end",end:"start"};function Sw(e){return e.replace(/start|end/g,(function(e){return kw[e]}))}function Cw(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ob(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Pw(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ow(e,t){return t===tw?Pw(function(e){var t=Sb(e),n=Nb(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+Lb(e),y:s}}(e)):Cb(t)?function(e){var t=Ib(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Pw(function(e){var t,n=Nb(e),r=Ab(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Mb(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Mb(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Lb(e),l=-r.scrollTop;return"rtl"===Fb(o||n).direction&&(s+=Mb(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(Nb(e)))}function Mw(e,t,n){var r="clippingParents"===t?function(e){var t=Wb(Hb(e)),n=["absolute","fixed"].indexOf(Fb(e).position)>=0&&Pb(e)?Kb(e):e;return Cb(n)?t.filter((function(e){return Cb(e)&&Cw(e,n)&&"body"!==Rb(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Ow(e,n);return t.top=Mb(r.top,t.top),t.right=Tb(r.right,t.right),t.bottom=Tb(r.bottom,t.bottom),t.left=Mb(r.left,t.left),t}),Ow(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Tw(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Dw(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Iw(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,l=void 0===s?tw:s,u=n.elementContext,c=void 0===u?nw:u,d=n.altBoundary,f=void 0!==d&&d,p=n.padding,h=void 0===p?0:p,m=Tw("number"!=typeof h?h:Dw(h,Jb)),v=c===nw?"reference":nw,g=e.rects.popper,y=e.elements[f?v:c],b=Mw(Cb(y)?y:y.contextElement||Nb(e.elements.popper),a,l),w=Ib(e.elements.reference),_=mw({reference:w,element:g,strategy:"absolute",placement:o}),x=Pw(Object.assign({},g,_)),E=c===nw?x:w,k={top:b.top-E.top+m.top,bottom:E.bottom-b.bottom+m.bottom,left:b.left-E.left+m.left,right:E.right-b.right+m.right},S=e.modifiersData.offset;if(c===nw&&S){var C=S[o];Object.keys(k).forEach((function(e){var t=[Yb,qb].indexOf(e)>=0?1:-1,n=[Gb,qb].indexOf(e)>=0?"y":"x";k[e]+=C[n]*t}))}return k}var Aw={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=fw(v),y=l||(g===v||!h?[Ew(v)]:function(e){if(fw(e)===Zb)return[];var t=Ew(e);return[Sw(e),t,Sw(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(fw(n)===Zb?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?ow:l,c=pw(r),d=c?s?rw:rw.filter((function(e){return pw(e)===c})):Jb,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Iw(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[fw(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,x=new Map,E=!0,k=b[0],S=0;S<b.length;S++){var C=b[S],P=fw(C),O=pw(C)===Qb,M=[Gb,qb].indexOf(P)>=0,T=M?"width":"height",D=Iw(t,{placement:C,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=M?O?Yb:Xb:O?qb:Gb;w[T]>_[T]&&(I=Ew(I));var A=Ew(I),R=[];if(i&&R.push(D[P]<=0),s&&R.push(D[I]<=0,D[A]<=0),R.every((function(e){return e}))){k=C,E=!1;break}x.set(C,R)}if(E)for(var N=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},L=h?3:1;L>0;L--){if("break"===N(L))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Rw(e,t,n){return Mb(e,Tb(t,n))}var Nw={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,v=Iw(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),g=fw(t.placement),y=pw(t.placement),b=!y,w=hw(g),_="x"===w?"y":"x",x=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(x){if(i){var M,T="y"===w?Gb:Xb,D="y"===w?qb:Yb,I="y"===w?"height":"width",A=x[w],R=A+v[T],N=A-v[D],L=p?-k[I]/2:0,F=y===Qb?E[I]:k[I],j=y===Qb?-k[I]:-E[I],z=t.elements.arrow,B=p&&z?Bb(z):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[T],W=H[D],U=Rw(0,E[I],B[I]),$=b?E[I]/2-L-U-V-C.mainAxis:F-U-V-C.mainAxis,K=b?-E[I]/2+L+U+W+C.mainAxis:j+U+W+C.mainAxis,G=t.elements.arrow&&Kb(t.elements.arrow),q=G?"y"===w?G.clientTop||0:G.clientLeft||0:0,Y=null!=(M=null==P?void 0:P[w])?M:0,X=A+K-Y,Z=Rw(p?Tb(R,A+$-Y-q):R,A,p?Mb(N,X):N);x[w]=Z,O[w]=Z-A}if(s){var J,Q="x"===w?Gb:Xb,ee="x"===w?qb:Yb,te=x[_],ne="y"===_?"height":"width",re=te+v[Q],oe=te-v[ee],ie=-1!==[Gb,Xb].indexOf(g),ae=null!=(J=null==P?void 0:P[_])?J:0,se=ie?re:te-E[ne]-k[ne]-ae+C.altAxis,le=ie?te+E[ne]+k[ne]-ae-C.altAxis:oe,ue=p&&ie?function(e,t,n){var r=Rw(e,t,n);return r>n?n:r}(se,te,le):Rw(p?se:re,te,p?le:oe);x[_]=ue,O[_]=ue-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]};var Lw={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=fw(n.placement),l=hw(s),u=[Xb,Yb].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return Tw("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Dw(e,Jb))}(o.padding,n),d=Bb(i),f="y"===l?Gb:Xb,p="y"===l?qb:Yb,h=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],m=a[l]-n.rects.reference[l],v=Kb(i),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[f],w=g-d[u]-c[p],_=g/2-d[u]/2+y,x=Rw(b,_,w),E=l;n.modifiersData[r]=((t={})[E]=x,t.centerOffset=x-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Cw(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fw(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function jw(e){return[Gb,Yb,qb,Xb].some((function(t){return e[t]>=0}))}var zw={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Iw(t,{elementContext:"reference"}),s=Iw(t,{altBoundary:!0}),l=Fw(a,r),u=Fw(s,o,i),c=jw(l),d=jw(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}},Bw=uw({defaultModifiers:[dw,vw,bw,ww,_w,Aw,Nw,Lw,zw]});function Hw(e){void 0===e&&(e={});var t,n,r=Ro(e),o=r.visible,i=void 0!==o&&o,a=r.animated,s=void 0!==a&&a,l=Bo(v(r,["visible","animated"])),u=(0,b.useState)(i),c=u[0],d=u[1],f=(0,b.useState)(s),p=f[0],h=f[1],g=(0,b.useState)(!1),y=g[0],w=g[1],_=(t=c,n=(0,b.useRef)(null),G((function(){n.current=t}),[t]),n),x=null!=_.current&&_.current!==c;p&&!y&&x&&w(!0),(0,b.useEffect)((function(){if("number"==typeof p&&y){var e=setTimeout((function(){return w(!1)}),p);return function(){clearTimeout(e)}}return function(){}}),[p,y]);var E=(0,b.useCallback)((function(){return d(!0)}),[]),k=(0,b.useCallback)((function(){return d(!1)}),[]),S=(0,b.useCallback)((function(){return d((function(e){return!e}))}),[]),C=(0,b.useCallback)((function(){return w(!1)}),[]);return m(m({},l),{},{visible:c,animated:p,animating:y,show:E,hide:k,toggle:S,setVisible:d,setAnimated:h,stopAnimation:C})}var Vw=ne("Mac")&&!ne("Chrome")&&ne("Safari");function Ww(e){return function(t){return e&&!F(t,e)?e:t}}function Uw(e){void 0===e&&(e={});var t=Ro(e),n=t.gutter,r=void 0===n?12:n,o=t.placement,i=void 0===o?"bottom":o,a=t.unstable_flip,s=void 0===a||a,l=t.unstable_offset,u=t.unstable_preventOverflow,c=void 0===u||u,d=t.unstable_fixed,f=void 0!==d&&d,p=t.modal,h=void 0!==p&&p,g=v(t,["gutter","placement","unstable_flip","unstable_offset","unstable_preventOverflow","unstable_fixed","modal"]),y=(0,b.useRef)(null),w=(0,b.useRef)(null),_=(0,b.useRef)(null),x=(0,b.useRef)(null),E=(0,b.useState)(i),k=E[0],S=E[1],C=(0,b.useState)(i),P=C[0],O=C[1],M=(0,b.useState)(l||[0,r])[0],T=(0,b.useState)({position:"fixed",left:"100%",top:"100%"}),D=T[0],I=T[1],A=(0,b.useState)({}),R=A[0],N=A[1],L=function(e){void 0===e&&(e={});var t=Ro(e),n=t.modal,r=void 0===n||n,o=Hw(v(t,["modal"])),i=(0,b.useState)(r),a=i[0],s=i[1],l=(0,b.useRef)(null);return m(m({},o),{},{modal:a,setModal:s,unstable_disclosureRef:l})}(m({modal:h},g)),F=(0,b.useCallback)((function(){return!!y.current&&(y.current.forceUpdate(),!0)}),[]),j=(0,b.useCallback)((function(e){e.placement&&O(e.placement),e.styles&&(I(Ww(e.styles.popper)),x.current&&N(Ww(e.styles.arrow)))}),[]);return G((function(){return w.current&&_.current&&(y.current=Bw(w.current,_.current,{placement:k,strategy:f?"fixed":"absolute",onFirstUpdate:Vw?j:void 0,modifiers:[{name:"eventListeners",enabled:L.visible},{name:"applyStyles",enabled:!1},{name:"flip",enabled:s,options:{padding:8}},{name:"offset",options:{offset:M}},{name:"preventOverflow",enabled:c,options:{tetherOffset:function(){var e;return(null===(e=x.current)||void 0===e?void 0:e.clientWidth)||0}}},{name:"arrow",enabled:!!x.current,options:{element:x.current}},{name:"updateState",phase:"write",requires:["computeStyles"],enabled:L.visible&&!0,fn:function(e){var t=e.state;return j(t)}}]})),function(){y.current&&(y.current.destroy(),y.current=null)}}),[k,f,L.visible,s,M,c]),(0,b.useEffect)((function(){if(L.visible){var e=window.requestAnimationFrame((function(){var e;null===(e=y.current)||void 0===e||e.forceUpdate()}));return function(){window.cancelAnimationFrame(e)}}}),[L.visible]),m(m({},L),{},{unstable_referenceRef:w,unstable_popoverRef:_,unstable_arrowRef:x,unstable_popoverStyles:D,unstable_arrowStyles:R,unstable_update:F,unstable_originalPlacement:k,placement:P,place:S})}var $w={currentTooltipId:null,listeners:new Set,subscribe:function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},show:function(e){this.currentTooltipId=e,this.listeners.forEach((function(t){return t(e)}))},hide:function(e){this.currentTooltipId===e&&(this.currentTooltipId=null,this.listeners.forEach((function(e){return e(null)})))}};var Kw=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","unstable_disclosureRef","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","place","unstable_timeout","unstable_setTimeout"],Gw=[].concat(Kw,["unstable_portal"]),qw=H({name:"TooltipReference",compose:ue,keys:Kw,useProps:function(e,t){var n=t.ref,r=t.onFocus,o=t.onBlur,i=t.onMouseEnter,a=t.onMouseLeave,s=v(t,["ref","onFocus","onBlur","onMouseEnter","onMouseLeave"]),l=q(r),u=q(o),c=q(i),d=q(a),f=(0,b.useCallback)((function(t){var n,r;null===(n=l.current)||void 0===n||n.call(l,t),t.defaultPrevented||null===(r=e.show)||void 0===r||r.call(e)}),[e.show]),p=(0,b.useCallback)((function(t){var n,r;null===(n=u.current)||void 0===n||n.call(u,t),t.defaultPrevented||null===(r=e.hide)||void 0===r||r.call(e)}),[e.hide]),h=(0,b.useCallback)((function(t){var n,r;null===(n=c.current)||void 0===n||n.call(c,t),t.defaultPrevented||null===(r=e.show)||void 0===r||r.call(e)}),[e.show]),g=(0,b.useCallback)((function(t){var n,r;null===(n=d.current)||void 0===n||n.call(d,t),t.defaultPrevented||null===(r=e.hide)||void 0===r||r.call(e)}),[e.hide]);return m({ref:W(e.unstable_referenceRef,n),tabIndex:0,onFocus:f,onBlur:p,onMouseEnter:h,onMouseLeave:g,"aria-describedby":e.baseId},s)}}),Yw=z({as:"div",useHook:qw});const Xw=(0,s.createContext)({});var Zw=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation"],Jw=H({name:"DisclosureContent",compose:ue,keys:Zw,useProps:function(e,t){var n=t.onTransitionEnd,r=t.onAnimationEnd,o=t.style,i=v(t,["onTransitionEnd","onAnimationEnd","style"]),a=e.animated&&e.animating,s=(0,b.useState)(null),l=s[0],u=s[1],c=!e.visible&&!a,d=c?m({display:"none"},o):o,f=q(n),p=q(r),h=(0,b.useRef)(0);(0,b.useEffect)((function(){if(e.animated)return h.current=window.requestAnimationFrame((function(){h.current=window.requestAnimationFrame((function(){e.visible?u("enter"):u(a?"leave":null)}))})),function(){return window.cancelAnimationFrame(h.current)}}),[e.animated,e.visible,a]);var g=(0,b.useCallback)((function(t){var n;Y(t)&&(a&&!0===e.animated&&(null===(n=e.stopAnimation)||void 0===n||n.call(e)))}),[e.animated,a,e.stopAnimation]),y=(0,b.useCallback)((function(e){var t;null===(t=f.current)||void 0===t||t.call(f,e),g(e)}),[g]),w=(0,b.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),g(e)}),[g]);return m({id:e.baseId,"data-enter":"enter"===l?"":void 0,"data-leave":"leave"===l?"":void 0,onTransitionEnd:y,onAnimationEnd:w,hidden:c,style:d},i)}}),Qw=z({as:"div",useHook:Jw}),e_=window.ReactDOM;function t_(){return K?document.body:null}var n_=(0,b.createContext)(t_());function r_(e){var t=e.children,n=(0,b.useContext)(n_)||t_(),r=(0,b.useState)((function(){if(K){var e=document.createElement("div");return e.className=r_.__className,e}return null}))[0];return G((function(){if(r&&n)return n.appendChild(r),function(){n.removeChild(r)}}),[r,n]),r?(0,e_.createPortal)((0,b.createElement)(n_.Provider,{value:r},t),r):null}function o_(e){e.defaultPrevented||"Escape"===e.key&&$w.show(null)}r_.__className="__reakit-portal",r_.__selector="."+r_.__className;var i_=H({name:"Tooltip",compose:Jw,keys:Gw,useOptions:function(e){var t=e.unstable_portal;return m({unstable_portal:void 0===t||t},v(e,["unstable_portal"]))},useProps:function(e,t){var n=t.ref,r=t.style,o=t.wrapElement,i=v(t,["ref","style","wrapElement"]);(0,b.useEffect)((function(){var t;U(null===(t=e.unstable_popoverRef)||void 0===t?void 0:t.current).addEventListener("keydown",o_)}),[]);var a=(0,b.useCallback)((function(t){return e.unstable_portal&&(t=(0,b.createElement)(r_,null,t)),o?o(t):t}),[e.unstable_portal,o]);return m({ref:W(e.unstable_popoverRef,n),role:"tooltip",style:m(m({},e.unstable_popoverStyles),{},{pointerEvents:"none"},r),wrapElement:a},i)}}),a_=z({as:"div",memo:!0,useHook:i_});var s_=Pn((function(e,t){const{as:n="span",shortcut:r,className:o,...i}=Cn(e,"Shortcut");if(!r)return null;let l,u;return"string"==typeof r?l=r:(l=r.display,u=r.ariaLabel),(0,s.createElement)(zn,a({as:n,className:o,"aria-label":u,ref:t},i),l)}),"Shortcut");const l_=Nr("z-index:",1000002,";box-sizing:border-box;opacity:0;outline:none;transform-origin:top center;transition:opacity ",ip.transitionDurationFastest," ease;&[data-enter]{opacity:1;}",""),u_=Fn("div",{target:"e7tfjmw1"})("background:rgba( 0, 0, 0, 0.8 );border-radius:2px;box-shadow:0 0 0 1px rgba( 255, 255, 255, 0.04 );color:",ko.white,";padding:4px 8px;"),c_={name:"12mkfdx",styles:"outline:none"},d_=Fn(s_,{target:"e7tfjmw0"})("display:inline-block;margin-left:",Lf(1),";"),{TooltipPopoverView:f_}=t;var p_=Pn((function(e,t){const{children:n,className:r,...o}=Cn(e,"TooltipContent"),{tooltip:i}=(0,s.useContext)(Xw),l=Sn()(l_,r);return(0,s.createElement)(a_,a({as:zn},o,i,{className:l,ref:t}),(0,s.createElement)(f_,null,n))}),"TooltipContent");const h_=Pn((function(e,t){const{animated:n=!0,animationDuration:r=160,baseId:o,children:i,content:l,focusable:u=!0,gutter:c=4,id:d,modal:f=!0,placement:p,visible:h=!1,shortcut:g,...y}=Cn(e,"Tooltip"),w=function(e){void 0===e&&(e={});var t=Ro(e),n=t.placement,r=void 0===n?"top":n,o=t.unstable_timeout,i=void 0===o?0:o,a=v(t,["placement","unstable_timeout"]),s=(0,b.useState)(i),l=s[0],u=s[1],c=(0,b.useRef)(null),d=(0,b.useRef)(null),f=Uw(m(m({},a),{},{placement:r})),p=(f.modal,f.setModal,v(f,["modal","setModal"])),h=(0,b.useCallback)((function(){null!==c.current&&window.clearTimeout(c.current),null!==d.current&&window.clearTimeout(d.current)}),[]),g=(0,b.useCallback)((function(){h(),p.hide(),d.current=window.setTimeout((function(){$w.hide(p.baseId)}),l)}),[h,p.hide,l,p.baseId]),y=(0,b.useCallback)((function(){h(),!l||$w.currentTooltipId?($w.show(p.baseId),p.show()):($w.show(null),c.current=window.setTimeout((function(){$w.show(p.baseId),p.show()}),l))}),[h,l,p.show,p.baseId]);return(0,b.useEffect)((function(){return $w.subscribe((function(e){e!==p.baseId&&(h(),p.visible&&p.hide())}))}),[p.baseId,h,p.visible,p.hide]),(0,b.useEffect)((function(){return function(){h(),$w.hide(p.baseId)}}),[h,p.baseId]),m(m({},p),{},{hide:g,show:y,unstable_timeout:l,unstable_setTimeout:u})}({animated:n?r:void 0,baseId:o||d,gutter:c,placement:p,visible:h,...y}),_=(0,s.useMemo)((()=>({tooltip:w})),[w]);return(0,s.createElement)(Xw.Provider,{value:_},l&&(0,s.createElement)(p_,{unstable_portal:f,ref:t},l,g&&(0,s.createElement)(d_,{shortcut:g})),i&&(0,s.createElement)(Yw,a({},w,i.props,{ref:null==i?void 0:i.ref}),(e=>(u||(e.tabIndex=void 0),(0,s.cloneElement)(i,e)))))}),"Tooltip");var m_=h_;const v_=e=>{let{values:t}=e;return(0,s.createElement)(s.Fragment,null,t.map((e=>{let[t,n]=e;return(0,s.createElement)(If,{key:n,isBlock:!0,display:"flex"},(0,s.createElement)(_p,{color:"blue"},n),(0,s.createElement)(_p,null,t))})))},g_=e=>{let{color:t,enableAlpha:n}=e;const{h:r,s:o,l:i,a:a}=t.toHsl(),l=[[Math.floor(r),"H"],[Math.round(100*o),"S"],[Math.round(100*i),"L"]];return n&&l.push([Math.round(100*a),"A"]),(0,s.createElement)(v_,{values:l})},y_=e=>{let{color:t,enableAlpha:n}=e;const{r:r,g:o,b:i,a:a}=t.toRgb(),l=[[r,"R"],[o,"G"],[i,"B"]];return n&&l.push([Math.round(100*a),"A"]),(0,s.createElement)(v_,{values:l})},b_=e=>{let{color:t}=e;const n=t.toHex().slice(1).toUpperCase();return(0,s.createElement)(If,null,(0,s.createElement)(_p,{color:"blue"},"#"),(0,s.createElement)(_p,null,n))},w_=e=>{let{color:t,colorType:n,enableAlpha:r}=e;const[o,i]=(0,s.useState)(null),a=(0,s.useRef)(),l={color:t,enableAlpha:r},u=(e=>{switch(e){case"hsl":return g_;case"rgb":return y_;default:return b_}})(n),c=(0,f.useCopyToClipboard)((()=>{switch(n){case"hsl":return t.toHslString();case"rgb":return t.toRgbString();default:return t.toHex()}}),(()=>{a.current&&clearTimeout(a.current),i(t.toHex()),a.current=setTimeout((()=>{i(null),a.current=void 0}),3e3)}));return(0,s.useEffect)((()=>()=>{a.current&&clearTimeout(a.current)}),[]),(0,s.createElement)(m_,{content:(0,s.createElement)(_p,{color:"white"},o===t.toHex()?(0,d.__)("Copied!"):(0,d.__)("Copy"))},(0,s.createElement)($f,{justify:"flex-start",gap:Lf(1),ref:c,style:{height:30}},(0,s.createElement)(u,l)))},__=e=>{let{min:t,max:n,label:r,abbreviation:o,onChange:i,value:a}=e;return(0,s.createElement)(Am,{as:Ry,spacing:4},(0,s.createElement)(vb,{min:t,max:n,label:r,hideLabelFromVision:!0,value:a,onChange:i,prefix:(0,s.createElement)(Am,{as:_p,paddingLeft:Lf(3.5),color:"blue",lineHeight:1},o),hideHTMLArrows:!0}),(0,s.createElement)(yb,{label:r,hideLabelFromVision:!0,min:t,max:n,value:a,onChange:i,withInputField:!1}))},x_=e=>{let{color:t,onChange:n,enableAlpha:r}=e;const{r:o,g:i,b:a,a:l}=t.toRgb();return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(__,{min:0,max:255,label:"Red",abbreviation:"R",value:o,onChange:e=>n(lo({r:e,g:i,b:a,a:l}))}),(0,s.createElement)(__,{min:0,max:255,label:"Green",abbreviation:"G",value:i,onChange:e=>n(lo({r:o,g:e,b:a,a:l}))}),(0,s.createElement)(__,{min:0,max:255,label:"Blue",abbreviation:"B",value:a,onChange:e=>n(lo({r:o,g:i,b:e,a:l}))}),r&&(0,s.createElement)(__,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*l),onChange:e=>n(lo({r:o,g:i,b:a,a:e/100}))}))},E_=e=>{let{color:t,onChange:n,enableAlpha:r}=e;const{h:o,s:i,l:a,a:l}=t.toHsl();return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(__,{min:0,max:359,label:"Hue",abbreviation:"H",value:o,onChange:e=>{n(lo({h:e,s:i,l:a,a:l}))}}),(0,s.createElement)(__,{min:0,max:100,label:"Saturation",abbreviation:"S",value:i,onChange:e=>{n(lo({h:o,s:e,l:a,a:l}))}}),(0,s.createElement)(__,{min:0,max:100,label:"Lightness",abbreviation:"L",value:a,onChange:e=>{n(lo({h:o,s:i,l:e,a:l}))}}),r&&(0,s.createElement)(__,{min:0,max:100,label:"Alpha",abbreviation:"A",value:Math.trunc(100*l),onChange:e=>{n(lo({h:o,s:i,l:a,a:e/100}))}}))},k_=e=>{let{color:t,onChange:n,enableAlpha:r}=e;return(0,s.createElement)(kb,{prefix:(0,s.createElement)(Am,{as:_p,marginLeft:Lf(3.5),color:"blue",lineHeight:1},"#"),value:t.toHex().slice(1).toUpperCase(),onChange:e=>{n(lo("#"+e))},onValidate:e=>{if(!lo("#"+e).isValid())throw new Error("Invalid hex color input")},maxLength:r?8:6,label:(0,d.__)("Hex color"),hideLabelFromVision:!0})},S_=e=>{let{colorType:t,color:n,onChange:r,enableAlpha:o}=e;const i={color:n,onChange:r,enableAlpha:o};switch(t){case"hsl":return(0,s.createElement)(E_,i);case"rgb":return(0,s.createElement)(x_,i);default:return(0,s.createElement)(k_,i)}};function C_(){return(C_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function P_(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}function O_(e){var t=(0,b.useRef)(e),n=(0,b.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var M_=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e<t?t:e},T_=function(e){return"touches"in e},D_=function(e){return e&&e.ownerDocument.defaultView||self},I_=function(e,t,n){var r=e.getBoundingClientRect(),o=T_(t)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].identifier===t)return e[n];return e[0]}(t.touches,n):t;return{left:M_((o.pageX-(r.left+D_(e).pageXOffset))/r.width),top:M_((o.pageY-(r.top+D_(e).pageYOffset))/r.height)}},A_=function(e){!T_(e)&&e.preventDefault()},R_=w().memo((function(e){var t=e.onMove,n=e.onKey,r=P_(e,["onMove","onKey"]),o=(0,b.useRef)(null),i=O_(t),a=O_(n),s=(0,b.useRef)(null),l=(0,b.useRef)(!1),u=(0,b.useMemo)((function(){var e=function(e){A_(e),(T_(e)?e.touches.length>0:e.buttons>0)&&o.current?i(I_(o.current,e,s.current)):n(!1)},t=function(){return n(!1)};function n(n){var r=l.current,i=D_(o.current),a=n?i.addEventListener:i.removeEventListener;a(r?"touchmove":"mousemove",e),a(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=o.current;if(r&&(A_(t),!function(e,t){return t&&!T_(e)}(t,l.current)&&r)){if(T_(t)){l.current=!0;var a=t.changedTouches||[];a.length&&(s.current=a[0].identifier)}r.focus(),i(I_(r,t,s.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),a({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]}),[a,i]),c=u[0],d=u[1],f=u[2];return(0,b.useEffect)((function(){return f}),[f]),w().createElement("div",C_({},r,{onTouchStart:c,onMouseDown:c,className:"react-colorful__interactive",ref:o,onKeyDown:d,tabIndex:0,role:"slider"}))})),N_=function(e){return e.filter(Boolean).join(" ")},L_=function(e){var t=e.color,n=e.left,r=e.top,o=void 0===r?.5:r,i=N_(["react-colorful__pointer",e.className]);return w().createElement("div",{className:i,style:{top:100*o+"%",left:100*n+"%"}},w().createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},F_=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},j_=(Math.PI,function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:F_(e.h),s:F_(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:F_(o/2),a:F_(r,2)}}),z_=function(e){var t=j_(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B_=function(e){var t=j_(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},H_=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),a=r*(1-n),s=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:F_(255*[r,s,a,a,l,r][u]),g:F_(255*[l,r,r,s,a,a][u]),b:F_(255*[a,a,l,r,r,s][u]),a:F_(o,2)}},V_=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?U_({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)}):{h:0,s:0,v:0,a:1}},W_=V_,U_=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),a=i-Math.min(t,n,r),s=a?i===t?(n-r)/a:i===n?2+(r-t)/a:4+(t-n)/a:0;return{h:F_(60*(s<0?s+6:s)),s:F_(i?a/i*100:0),v:F_(i/255*100),a:o}},$_=w().memo((function(e){var t=e.hue,n=e.onChange,r=N_(["react-colorful__hue",e.className]);return w().createElement("div",{className:r},w().createElement(R_,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:M_(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":F_(t)},w().createElement(L_,{className:"react-colorful__hue-pointer",left:t/360,color:z_({h:t,s:100,v:100,a:1})})))})),K_=w().memo((function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:z_({h:t.h,s:100,v:100,a:1})};return w().createElement("div",{className:"react-colorful__saturation",style:r},w().createElement(R_,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:M_(t.s+100*e.left,0,100),v:M_(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+F_(t.s)+"%, Brightness "+F_(t.v)+"%"},w().createElement(L_,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:z_(t)})))})),G_=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},q_=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")};function Y_(e,t,n){var r=O_(n),o=(0,b.useState)((function(){return e.toHsva(t)})),i=o[0],a=o[1],s=(0,b.useRef)({color:t,hsva:i});(0,b.useEffect)((function(){if(!e.equal(t,s.current.color)){var n=e.toHsva(t);s.current={hsva:n,color:t},a(n)}}),[t,e]),(0,b.useEffect)((function(){var t;G_(i,s.current.hsva)||e.equal(t=e.fromHsva(i),s.current.color)||(s.current={hsva:i,color:t},r(t))}),[i,e,r]);var l=(0,b.useCallback)((function(e){a((function(t){return Object.assign({},t,e)}))}),[]);return[i,l]}var X_,Z_="undefined"!=typeof window?b.useLayoutEffect:b.useEffect,J_=new Map,Q_=function(e){Z_((function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!J_.has(t)){var r=t.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',J_.set(t,r);var o=X_||n.nc;o&&r.setAttribute("nonce",o),t.head.appendChild(r)}}),[])},ex=function(e){var t=e.className,n=e.colorModel,r=e.color,o=void 0===r?n.defaultColor:r,i=e.onChange,a=P_(e,["className","colorModel","color","onChange"]),s=(0,b.useRef)(null);Q_(s);var l=Y_(n,o,i),u=l[0],c=l[1],d=N_(["react-colorful",t]);return w().createElement("div",C_({},a,{ref:s,className:d}),w().createElement(K_,{hsva:u,onChange:c}),w().createElement($_,{hue:u.h,onChange:c,className:"react-colorful__last-control"}))},tx=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B_(Object.assign({},n,{a:0}))+", "+B_(Object.assign({},n,{a:1}))+")"},i=N_(["react-colorful__alpha",t]);return w().createElement("div",{className:i},w().createElement("div",{className:"react-colorful__alpha-gradient",style:o}),w().createElement(R_,{onMove:function(e){r({a:e.left})},onKey:function(e){r({a:M_(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":F_(100*n.a)+"%"},w().createElement(L_,{className:"react-colorful__alpha-pointer",left:n.a,color:B_(n)})))},nx=function(e){var t=e.className,n=e.colorModel,r=e.color,o=void 0===r?n.defaultColor:r,i=e.onChange,a=P_(e,["className","colorModel","color","onChange"]),s=(0,b.useRef)(null);Q_(s);var l=Y_(n,o,i),u=l[0],c=l[1],d=N_(["react-colorful",t]);return w().createElement("div",C_({},a,{ref:s,className:d}),w().createElement(K_,{hsva:u,onChange:c}),w().createElement($_,{hue:u.h,onChange:c}),w().createElement(tx,{hsva:u,onChange:c,className:"react-colorful__last-control"}))},rx={defaultColor:"rgba(0, 0, 0, 1)",toHsva:V_,fromHsva:function(e){var t=H_(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:q_},ox=function(e){return w().createElement(nx,C_({},e,{colorModel:rx}))},ix={defaultColor:"rgb(0, 0, 0)",toHsva:W_,fromHsva:function(e){var t=H_(e);return"rgb("+t.r+", "+t.g+", "+t.b+")"},equal:q_},ax=function(e){return w().createElement(ex,C_({},e,{colorModel:ix}))};const sx=e=>{let{color:t,enableAlpha:n,onChange:r}=e;const o=n?ox:ax,i=(0,s.useMemo)((()=>t.toRgbString()),[t]);return(0,s.createElement)(o,{color:i,onChange:e=>{r(lo(e))}})};co([fo]);const lx=[{label:"RGB",value:"rgb"},{label:"HSL",value:"hsl"},{label:"Hex",value:"hex"}],ux=Pn(((e,t)=>{const{enableAlpha:n=!1,color:r,onChange:o,defaultValue:i="#fff",copyFormat:l,...u}=Cn(e,"ColorPicker"),[c,p]=function(e){let{defaultValue:t,onChange:n,value:r}=e;const o=void 0!==r,i=o?r:t,[a,l]=(0,s.useState)(i);let u;return u=o&&"function"==typeof n?n:o||"function"!=typeof n?l:e=>{n(e),l(e)},[o?r:a,u]}({onChange:o,value:r,defaultValue:i}),h=(0,s.useMemo)((()=>lo(c)),[c]),m=(0,f.useDebounce)(p),v=(0,b.useCallback)((e=>{m(e.toHex())}),[m]),[g,y]=(0,s.useState)(!1),[w,_]=(0,s.useState)(l||"hex");return(0,s.createElement)(xb,a({ref:t},u),(0,s.createElement)(sx,{onChange:v,color:h,enableAlpha:n}),(0,s.createElement)(_b,null,(0,s.createElement)(Ry,{justify:"space-between"},g?(0,s.createElement)(gb,{options:lx,value:w,onChange:e=>_(e),label:(0,d.__)("Color format"),hideLabelFromVision:!0}):(0,s.createElement)(w_,{color:h,colorType:l||w,enableAlpha:n}),(0,s.createElement)(Eb,{isSmall:!0,onClick:()=>y(!g),icon:My,isPressed:g,label:g?(0,d.__)("Hide detailed inputs"):(0,d.__)("Show detailed inputs")})),(0,s.createElement)(Am,{margin:4}),g&&(0,s.createElement)(S_,{colorType:w,color:h,onChange:v,enableAlpha:n})))}),"ColorPicker");var cx=ux;function dx(e){var t;return void 0!==e.onChangeComplete||void 0!==e.disableAlpha||"string"==typeof(null===(t=e.color)||void 0===t?void 0:t.hex)}const fx=qe()((e=>{const t=lo(e),n=t.toHex(),r=t.toRgb(),o=t.toHsv(),i=t.toHsl();return{hex:n,rgb:r,hsv:o,hsl:i,source:"hex",oldHue:i.h}}));const px=e=>(0,s.createElement)(cx,function(e){const t=(0,s.useCallback)((t=>{var n;return dx(e)?e.onChangeComplete(fx(t)):null===(n=e.onChange)||void 0===n?void 0:n.call(e,t)}),[e.onChangeComplete,e.onChange]),n=(0,s.useMemo)((()=>dx(e)?function(e){if(void 0!==(null==e?void 0:e.color))return"string"==typeof e.color?e.color:e.color.hex?e.color.hex:void 0}(e):e.color),[e.color]),r=(0,s.useMemo)((()=>dx(e)?!e.disableAlpha:e.enableAlpha),[e.disableAlpha,e.enableAlpha]);return{...dx(e)?{}:e,onChange:t,color:n,enableAlpha:r}}(e));const hx=Nr("appearance:none;border:1px solid transparent;cursor:pointer;background:none;text-align:left;&:hover{color:",ko.admin.theme,";}&:focus{background-color:transparent;color:",ko.admin.theme,";border-color:",ko.admin.theme,";outline:3px solid transparent;}",""),mx={name:"1bcj5ek",styles:"width:100%;display:block"},vx={name:"5vij5u",styles:"width:100%;display:block;margin:0"},gx=Nr("border:1px solid ",ip.surfaceBorderColor,";",""),yx=Nr(">*:not( marquee )>*{border-bottom:1px solid ",ip.surfaceBorderColor,";}>*:last-of-type>*:not( :focus ){border-bottom-color:transparent;}",""),bx=ip.controlBorderRadius,wx=Nr("border-radius:",bx,";",""),_x=Nr("border-radius:",bx,";>*:first-of-type>*{border-top-left-radius:",bx,";border-top-right-radius:",bx,";}>*:last-of-type>*{border-bottom-left-radius:",bx,";border-bottom-right-radius:",bx,";}",""),xx=`calc(${ip.fontSize} * ${ip.fontLineHeightBase})`,Ex=`calc((${ip.controlHeight} - ${xx} - 2px) / 2)`,kx=`calc((${ip.controlHeightSmall} - ${xx} - 2px) / 2)`,Sx=`calc((${ip.controlHeightLarge} - ${xx} - 2px) / 2)`,Cx={small:Nr("padding:",kx," ",ip.controlPaddingXSmall,";",""),medium:Nr("padding:",Ex," ",ip.controlPaddingX,";",""),large:Nr("padding:",Sx," ",ip.controlPaddingXLarge,";","")};const Px=(0,s.createContext)({size:"medium"}),Ox=()=>(0,s.useContext)(Px);var Mx=Pn((function(e,t){const{isBordered:n,isSeparated:r,size:o,...i}=function(e){const{className:t,isBordered:n=!1,isRounded:r=!0,isSeparated:o=!1,role:i="list",...a}=Cn(e,"ItemGroup");return{isBordered:n,className:Sn()(n&&gx,o&&yx,r&&_x,t),role:i,isSeparated:o,...a}}(e),{size:l}=Ox(),u={spacedAround:!n&&!r,size:o||l};return(0,s.createElement)(Px.Provider,{value:u},(0,s.createElement)(zn,a({},i,{ref:t})))}),"ItemGroup");var Tx=Pn((function(e,t){const n=function(e){const{expanded:t=!1,...n}=Cn(e,"VStack");return Ay({direction:"column",expanded:t,...n})}(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"VStack");function Dx(e){var t;let{renderContent:n,renderToggle:r,position:o="bottom right",className:i,contentClassName:l,expandOnMobile:u,headerTitle:d,focusOnMount:f,popoverProps:p,onClose:h,onToggle:m}=e;const v=(0,s.useRef)(),[g,y]=function(e,t){const[n,r]=(0,s.useState)(e);return[n,e=>{r(e),t&&t(e)}]}(!1,m);function b(){h&&h(),y(!1)}(0,s.useEffect)((()=>()=>{m&&m(!1)}),[]);const w={isOpen:g,onToggle:function(){y(!g)},onClose:b};return(0,s.createElement)("div",{className:c()("components-dropdown",i),ref:v,tabIndex:"-1"},r(w),g&&(0,s.createElement)(xr,a({position:o,onClose:b,onFocusOutside:function(){const{ownerDocument:e}=v.current,t=e.activeElement.closest('[role="dialog"]');v.current.contains(e.activeElement)||t&&!t.contains(v.current)||b()},expandOnMobile:u,headerTitle:d,focusOnMount:f},p,{anchorRef:null!==(t=null==p?void 0:p.anchorRef)&&void 0!==t?t:v.current,className:c()("components-dropdown__content",p?p.className:void 0,l)}),n(w)))}function Ix(e){let{actions:t,className:n,options:r,children:o}=e;return(0,s.createElement)("div",{className:c()("components-circular-option-picker",n)},(0,s.createElement)("div",{className:"components-circular-option-picker__swatches"},r),o,t&&(0,s.createElement)("div",{className:"components-circular-option-picker__custom-clear-wrapper"},t))}Ix.Option=function(e){let{className:t,isSelected:n,selectedIconProps:r,tooltipText:o,...i}=e;const l=(0,s.createElement)(Vn,a({isPressed:n,className:"components-circular-option-picker__option"},i));return(0,s.createElement)("div",{className:c()(t,"components-circular-option-picker__option-wrapper")},o?(0,s.createElement)(Mr,{text:o},l):l,n&&(0,s.createElement)(xy,a({icon:Ey},r||{})))},Ix.ButtonAction=function(e){let{className:t,children:n,...r}=e;return(0,s.createElement)(Vn,a({className:c()("components-circular-option-picker__clear",t),isSmall:!0,variant:"secondary"},r),n)},Ix.DropdownLinkAction=function(e){let{buttonProps:t,className:n,dropdownProps:r,linkText:o}=e;return(0,s.createElement)(Dx,a({className:c()("components-circular-option-picker__dropdown-link-action",n),renderToggle:e=>{let{isOpen:n,onToggle:r}=e;return(0,s.createElement)(Vn,a({"aria-expanded":n,"aria-haspopup":"true",onClick:r,variant:"link"},t),o)}},r))};var Ax=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},Rx=function(e){return.2126*Ax(e.r)+.7152*Ax(e.g)+.0722*Ax(e.b)};var Nx=Pn((function(e,t){const n=function(e){const{as:t,level:n=2,...r}=Cn(e,"Heading"),o=t||`h${n}`,i={};return"string"==typeof o&&"h"!==o[0]&&(i.role="heading",i["aria-level"]="string"==typeof n?parseInt(n):n),{...wp({color:ko.darkGray.heading,size:yp(n),isBlock:!0,weight:ip.fontWeightHeading,...r}),...i,as:o}}(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"Heading");const Lx=Fn(Nx,{target:"e1uu5br00"})({name:"13lxv2o",styles:"text-transform:uppercase;line-height:24px;font-weight:500;&&&{font-size:11px;margin-bottom:0;}"});function Fx(e){let{className:t,clearColor:n,colors:r,onChange:o,value:i,actions:a}=e;const u=(0,s.useMemo)((()=>(0,l.map)(r,(e=>{let{color:t,name:r}=e;const a=lo(t);return(0,s.createElement)(Ix.Option,{key:t,isSelected:i===t,selectedIconProps:i===t?{fill:a.contrast()>a.contrast("#000")?"#fff":"#000"}:{},tooltipText:r||(0,d.sprintf)((0,d.__)("Color code: %s"),t),style:{backgroundColor:t,color:t},onClick:i===t?n:()=>o(t),"aria-label":r?(0,d.sprintf)((0,d.__)("Color: %s"),r):(0,d.sprintf)((0,d.__)("Color code: %s"),t)})}))),[r,i,o,n]);return(0,s.createElement)(Ix,{className:t,options:u,actions:a})}function jx(e){let{className:t,clearColor:n,colors:r,onChange:o,value:i,actions:a}=e;return(0,s.createElement)(Tx,{spacing:3,className:t},r.map(((e,t)=>{let{name:l,colors:u}=e;return(0,s.createElement)(Tx,{spacing:2,key:t},(0,s.createElement)(Lx,null,l),(0,s.createElement)(Fx,{clearColor:n,colors:u,onChange:o,value:i,actions:r.length===t+1?a:null}))})))}function zx(e){let{isRenderedInSidebar:t,...n}=e;return(0,s.createElement)(Dx,a({contentClassName:c()("components-color-palette__custom-color-dropdown-content",{"is-rendered-in-sidebar":t})},n))}function Bx(e){let{clearable:t=!0,className:n,colors:r,disableCustomColors:o=!1,enableAlpha:i,onChange:a,value:l,__experimentalHasMultipleOrigins:u=!1,__experimentalIsRenderedInSidebar:c=!1}=e;const f=(0,s.useCallback)((()=>a(void 0)),[a]),p=u&&null!=r&&r.length?jx:Fx;let h;c&&(h="bottom left");const m=lo(l);return(0,s.createElement)(Tx,{spacing:3,className:n},!o&&(0,s.createElement)(zx,{position:h,isRenderedInSidebar:c,renderContent:()=>(0,s.createElement)(px,{color:l,onChange:e=>a(e),enableAlpha:i}),renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,s.createElement)("button",{className:"components-color-palette__custom-color","aria-expanded":t,"aria-haspopup":"true",onClick:n,"aria-label":(0,d.__)("Custom color picker"),style:{background:l,color:m.contrast()>m.contrast("#000")?"#fff":"#000"}},l)}}),(0,s.createElement)(p,{clearable:t,clearColor:f,colors:r,onChange:a,value:l,actions:!!t&&(0,s.createElement)(Ix.ButtonAction,{onClick:f},(0,d.__)("Clear"))}))}co([fo,function(e){e.prototype.luminance=function(){return e=Rx(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,r,o,i,a,s,l,u=t instanceof e?t:new e(t);return i=this.rgba,a=u.toRgb(),n=(s=Rx(i))>(l=Rx(a))?(s+.05)/(l+.05):(l+.05)/(s+.05),void 0===(r=2)&&(r=0),void 0===o&&(o=Math.pow(10,r)),Math.floor(o*n)/o+0},e.prototype.isReadable=function(e,t){return void 0===e&&(e="#FFF"),void 0===t&&(t={}),this.contrast(e)>=(a=void 0===(i=(n=t).size)?"normal":i,"AAA"===(o=void 0===(r=n.level)?"AA":r)&&"normal"===a?7:"AA"===o&&"large"===a?3:4.5);var n,r,o,i,a}}]);function Hx(e){return Math.max(0,Math.min(100,e))}function Vx(e,t,n){const r=e.slice();return r[t]=n,r}function Wx(e,t,n){if(function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=e[t].position,i=Math.min(o,n),a=Math.max(o,n);return e.some(((e,o)=>{let{position:s}=e;return o!==t&&(Math.abs(s-n)<r||i<s&&s<a)}))}(e,t,n))return e;return Vx(e,t,{...e[t],position:n})}function Ux(e,t,n){return Vx(e,t,{...e[t],color:n})}function $x(e,t,n){if(!t)return;const{x:r,width:o}=t.getBoundingClientRect(),i=e-r-5-n/2,a=o-5-16;return Math.round(Hx(100*i/a))}function Kx(e){let{isOpen:t,position:n,color:r,...o}=e;const i=`components-custom-gradient-picker__control-point-button-description-${(0,f.useInstanceId)(Kx)}`;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Vn,a({"aria-label":(0,d.sprintf)((0,d.__)("Gradient control point at position %1$s%% with color code %2$s."),n,r),"aria-describedby":i,"aria-haspopup":"true","aria-expanded":t,className:c()("components-custom-gradient-picker__control-point-button",{"is-active":t}),style:{left:`${n}%`}},o)),(0,s.createElement)(Bn,{id:i},(0,d.__)("Use your left or right arrow keys or drag and drop with the mouse to change the gradient position. Press the button to change the color or remove the control point.")))}function Gx(e){let{isRenderedInSidebar:t,gradientPickerDomRef:n,...r}=e;const o=(0,s.useMemo)((()=>{const e={className:"components-custom-gradient-picker__color-picker-popover",position:"top"};return t&&(e.anchorRef=n.current,e.position="bottom left"),e}),[n.current,t]);return(0,s.createElement)(zx,a({isRenderedInSidebar:t,popoverProps:o},r))}function qx(e){let{disableRemove:t,disableAlpha:n,gradientPickerDomRef:r,ignoreMarkerPosition:o,value:i,onChange:a,onStartControlPointChange:l,onStopControlPointChange:u,__experimentalIsRenderedInSidebar:c}=e;const f=(0,s.useRef)(),p=e=>{const t=$x(e.clientX,r.current,16),{initialPosition:n,index:o,significantMoveHappened:s}=f.current;!s&&Math.abs(n-t)>=5&&(f.current.significantMoveHappened=!0),a(Wx(i,o,t))},h=()=>{window&&window.removeEventListener&&f.current&&f.current.listenersActivated&&(window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",h),u(),f.current.listenersActivated=!1)};return(0,s.useEffect)((()=>()=>{h()}),[]),i.map(((e,m)=>{const v=null==e?void 0:e.position;return o!==v&&(0,s.createElement)(Gx,{gradientPickerDomRef:r,isRenderedInSidebar:c,key:m,onClose:u,renderToggle:t=>{let{isOpen:n,onToggle:r}=t;return(0,s.createElement)(Kx,{key:m,onClick:()=>{f.current&&f.current.significantMoveHappened||(n?u():l(),r())},onMouseDown:()=>{window&&window.addEventListener&&(f.current={initialPosition:v,index:m,significantMoveHappened:!1,listenersActivated:!0},l(),window.addEventListener("mousemove",p),window.addEventListener("mouseup",h))},onKeyDown:t=>{t.keyCode===tm.LEFT?(t.stopPropagation(),a(Wx(i,m,Hx(e.position-10)))):t.keyCode===tm.RIGHT&&(t.stopPropagation(),a(Wx(i,m,Hx(e.position+10))))},isOpen:n,position:e.position,color:e.color})},renderContent:r=>{let{onClose:o}=r;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(px,{enableAlpha:!n,color:e.color,onChange:e=>{a(Ux(i,m,lo(e).toRgbString()))}}),!t&&i.length>2&&(0,s.createElement)(Vn,{className:"components-custom-gradient-picker__remove-control-point",onClick:()=>{a(function(e,t){return e.filter(((e,n)=>n!==t))}(i,m)),o()},variant:"link"},(0,d.__)("Remove Control Point")))}})}))}qx.InsertPoint=function(e){let{value:t,onChange:n,onOpenInserter:r,onCloseInserter:o,insertPosition:i,disableAlpha:a,__experimentalIsRenderedInSidebar:l,gradientPickerDomRef:u}=e;const[c,d]=(0,s.useState)(!1);return(0,s.createElement)(Gx,{gradientPickerDomRef:u,isRenderedInSidebar:l,className:"components-custom-gradient-picker__inserter",onClose:()=>{o()},renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,s.createElement)(Vn,{"aria-expanded":t,"aria-haspopup":"true",onClick:()=>{t?o():(d(!1),r()),n()},className:"components-custom-gradient-picker__insert-point",icon:Py,style:{left:null!==i?`${i}%`:void 0}})},renderContent:()=>(0,s.createElement)(px,{enableAlpha:!a,onChange:e=>{c?n(function(e,t,n){const r=e.findIndex((e=>e.position===t));return Ux(e,r,n)}(t,i,lo(e).toRgbString())):(n(function(e,t,n){const r=e.findIndex((e=>e.position>t)),o={color:n,position:t},i=e.slice();return i.splice(r-1,0,o),i}(t,i,lo(e).toRgbString())),d(!0))}})})};var Yx=qx;function Xx(e,t){switch(t.type){case"MOVE_INSERTER":if("IDLE"===e.id||"MOVING_INSERTER"===e.id)return{id:"MOVING_INSERTER",insertPosition:t.insertPosition};break;case"STOP_INSERTER_MOVE":if("MOVING_INSERTER"===e.id)return{id:"IDLE"};break;case"OPEN_INSERTER":if("MOVING_INSERTER"===e.id)return{id:"INSERTING_CONTROL_POINT",insertPosition:e.insertPosition};break;case"CLOSE_INSERTER":if("INSERTING_CONTROL_POINT"===e.id)return{id:"IDLE"};break;case"START_CONTROL_CHANGE":if("IDLE"===e.id)return{id:"MOVING_CONTROL_POINT"};break;case"STOP_CONTROL_CHANGE":if("MOVING_CONTROL_POINT"===e.id)return{id:"IDLE"}}return e}const Zx={id:"IDLE"};function Jx(e){let{background:t,hasGradient:n,value:r,onChange:o,disableInserter:i=!1,disableAlpha:a=!1,__experimentalIsRenderedInSidebar:u}=e;const d=(0,s.useRef)(),[f,p]=(0,s.useReducer)(Xx,Zx),h=e=>{const t=$x(e.clientX,d.current,16);(0,l.some)(r,(e=>{let{position:n}=e;return Math.abs(t-n)<10}))?"MOVING_INSERTER"===f.id&&p({type:"STOP_INSERTER_MOVE"}):p({type:"MOVE_INSERTER",insertPosition:t})},m="MOVING_INSERTER"===f.id,v="INSERTING_CONTROL_POINT"===f.id;return(0,s.createElement)("div",{ref:d,className:c()("components-custom-gradient-picker__gradient-bar",{"has-gradient":n}),onMouseEnter:h,onMouseMove:h,style:{background:t},onMouseLeave:()=>{p({type:"STOP_INSERTER_MOVE"})}},(0,s.createElement)("div",{className:"components-custom-gradient-picker__markers-container"},!i&&(m||v)&&(0,s.createElement)(Yx.InsertPoint,{__experimentalIsRenderedInSidebar:u,gradientPickerDomRef:d,disableAlpha:a,insertPosition:f.insertPosition,value:r,onChange:o,onOpenInserter:()=>{p({type:"OPEN_INSERTER"})},onCloseInserter:()=>{p({type:"CLOSE_INSERTER"})}}),(0,s.createElement)(Yx,{__experimentalIsRenderedInSidebar:u,disableAlpha:a,disableRemove:i,gradientPickerDomRef:d,ignoreMarkerPosition:v?f.insertPosition:void 0,value:r,onChange:o,onStartControlPointChange:()=>{p({type:"START_CONTROL_CHANGE"})},onStopControlPointChange:()=>{p({type:"STOP_CONTROL_CHANGE"})}})))}var Qx=n(7115);const eE="linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%)",tE={type:"angular",value:90},nE=[{value:"linear-gradient",label:(0,d.__)("Linear")},{value:"radial-gradient",label:(0,d.__)("Radial")}],rE={top:0,"top right":45,"right top":45,right:90,"right bottom":135,"bottom right":135,bottom:180,"bottom left":225,"left bottom":225,left:270,"top left":315,"left top":315};function oE(e){let{type:t,value:n,length:r}=e;return`${function(e){let{type:t,value:n}=e;return"literal"===t?n:"hex"===t?`#${n}`:`${t}(${n.join(",")})`}({type:t,value:n})} ${function(e){if(!e)return"";const{value:t,type:n}=e;return`${t}${n}`}(r)}`}function iE(e){let{type:t,orientation:n,colorStops:r}=e;const o=function(e){if(e&&"angular"===e.type)return`${e.value}deg`}(n),i=r.sort(((e,t)=>(0,l.get)(e,["length","value"],0)-(0,l.get)(t,["length","value"],0))).map(oE);return`${t}(${(0,l.compact)([o,...i]).join(",")})`}function aE(e){return void 0===e.length||"%"!==e.length.type}function sE(e){switch(e.type){case"hex":return`#${e.value}`;case"literal":return e.value;case"rgb":case"rgba":return`${e.type}(${e.value.join(",")})`;default:return"transparent"}}co([fo]);const lE=Fn(Df,{target:"e99xvul1"})({name:"1gvx10y",styles:"flex-grow:5"}),uE=Fn(Df,{target:"e99xvul0"})({name:"1gvx10y",styles:"flex-grow:5"}),cE=e=>{let{gradientAST:t,hasGradient:n,onChange:r}=e;const o=(0,l.get)(t,["orientation","value"],180);return(0,s.createElement)(Rm,{onChange:e=>{r(iE({...t,orientation:{type:"angular",value:e}}))},labelPosition:"top",value:n?o:""})},dE=e=>{let{gradientAST:t,hasGradient:n,onChange:r}=e;const{type:o}=t;return(0,s.createElement)(zy,{className:"components-custom-gradient-picker__type-picker",label:(0,d.__)("Type"),labelPosition:"top",onChange:e=>{"linear-gradient"===e&&r(iE({...t,...t.orientation?{}:{orientation:tE},type:"linear-gradient"})),"radial-gradient"===e&&r(iE({...(0,l.omit)(t,["orientation"]),type:"radial-gradient"}))},options:nE,value:n&&o})};function fE(e){let{value:t,onChange:n,__experimentalIsRenderedInSidebar:r}=e;const o=function(e){var t;let n;try{n=Qx.parse(e)[0],n.value=e}catch(e){n=Qx.parse(eE)[0],n.value=eE}if("directional"===(null===(t=n.orientation)||void 0===t?void 0:t.type)&&(n.orientation.type="angular",n.orientation.value=rE[n.orientation.value].toString()),n.colorStops.some(aE)){const{colorStops:e}=n,t=100/(e.length-1);e.forEach(((e,n)=>{e.length={value:t*n,type:"%"}})),n.value=iE(n)}return n}(t),i=function(e){return iE({type:"linear-gradient",orientation:tE,colorStops:e.colorStops})}(o),a=o.value!==eE,l=o.colorStops.map((e=>({color:sE(e),position:parseInt(e.length.value)})));return(0,s.createElement)("div",{className:"components-custom-gradient-picker"},(0,s.createElement)(Jx,{__experimentalIsRenderedInSidebar:r,background:i,hasGradient:a,value:l,onChange:e=>{n(iE(function(e,t){return{...e,colorStops:t.map((e=>{let{position:t,color:n}=e;const{r:r,g:o,b:i,a:a}=lo(n).toRgb();return{length:{type:"%",value:t.toString()},type:a<1?"rgba":"rgb",value:a<1?[r,o,i,a]:[r,o,i]}}))}}(o,e)))}}),(0,s.createElement)($f,{gap:3,className:"components-custom-gradient-picker__ui-line"},(0,s.createElement)(lE,null,(0,s.createElement)(dE,{gradientAST:o,hasGradient:a,onChange:n})),(0,s.createElement)(uE,null,"linear-gradient"===o.type&&(0,s.createElement)(cE,{gradientAST:o,hasGradient:a,onChange:n}))))}function pE(e){let{className:t,clearGradient:n,gradients:r,onChange:o,value:i,actions:a,content:u}=e;const c=(0,s.useMemo)((()=>(0,l.map)(r,(e=>{let{gradient:t,name:r}=e;return(0,s.createElement)(Ix.Option,{key:t,value:t,isSelected:i===t,tooltipText:r||(0,d.sprintf)((0,d.__)("Gradient code: %s"),t),style:{color:"rgba( 0,0,0,0 )",background:t},onClick:i===t?n:()=>o(t),"aria-label":r?(0,d.sprintf)((0,d.__)("Gradient: %s"),r):(0,d.sprintf)((0,d.__)("Gradient code: %s"),t)})}))),[r,i,o,n]);return(0,s.createElement)(Ix,{className:t,options:c,actions:a},u)}function hE(e){let{className:t,clearGradient:n,gradients:r,onChange:o,value:i,actions:l,content:u}=e;return(0,s.createElement)(Tx,{spacing:3,className:t},r.map(((e,t)=>{let{name:c,gradients:d}=e;return(0,s.createElement)(Tx,{spacing:2,key:t},(0,s.createElement)(Lx,null,c),(0,s.createElement)(pE,a({clearGradient:n,gradients:d,onChange:o,value:i},r.length===t+1?{actions:l,content:u}:{})))})))}function mE(e){let{className:t,gradients:n,onChange:r,value:o,clearable:i=!0,disableCustomGradients:a=!1,__experimentalHasMultipleOrigins:l,__experimentalIsRenderedInSidebar:u}=e;const c=(0,s.useCallback)((()=>r(void 0)),[r]),f=l&&null!=n&&n.length?hE:pE;return(0,s.createElement)(f,{className:t,clearable:i,clearGradient:c,gradients:n,onChange:r,value:o,actions:i&&((null==n?void 0:n.length)||!a)&&(0,s.createElement)(Ix.ButtonAction,{onClick:c},(0,d.__)("Clear")),content:!a&&(0,s.createElement)(fE,{__experimentalIsRenderedInSidebar:u,value:o,onChange:r})})}var vE=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"}));const gE=["menuitem","menuitemradio","menuitemcheckbox"];class yE extends s.Component{constructor(){super(...arguments),this.onKeyDown=this.onKeyDown.bind(this),this.bindContainer=this.bindContainer.bind(this),this.getFocusableContext=this.getFocusableContext.bind(this),this.getFocusableIndex=this.getFocusableIndex.bind(this)}componentDidMount(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}componentWillUnmount(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}bindContainer(e){const{forwardedRef:t}=this.props;this.container=e,(0,l.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}getFocusableContext(e){const{onlyBrowserTabstops:t}=this.props,n=(t?Re.focus.tabbable:Re.focus.focusable).find(this.container),r=this.getFocusableIndex(n,e);return r>-1&&e?{index:r,target:e,focusables:n}:null}getFocusableIndex(e,t){const n=e.indexOf(t);if(-1!==n)return n}onKeyDown(e){this.props.onKeyDown&&this.props.onKeyDown(e);const{getFocusableContext:t}=this,{cycle:n=!0,eventToOffset:r,onNavigate:o=l.noop,stopNavigationEvents:i}=this.props,a=r(e);if(void 0!==a&&i){e.stopImmediatePropagation();const t=e.target.getAttribute("role");gE.includes(t)&&e.preventDefault()}if(!a)return;const s=t(e.target.ownerDocument.activeElement);if(!s)return;const{index:u,focusables:c}=s,d=n?function(e,t,n){const r=e+n;return r<0?t+r:r>=t?r-t:r}(u,c.length,a):u+a;d>=0&&d<c.length&&(c[d].focus(),o(d,c[d]))}render(){const{children:e,...t}=this.props;return(0,s.createElement)("div",a({ref:this.bindContainer},(0,l.omit)(t,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),e)}}const bE=(e,t)=>(0,s.createElement)(yE,a({},e,{forwardedRef:t}));bE.displayName="NavigableContainer";var wE=(0,s.forwardRef)(bE);var _E=(0,s.forwardRef)((function(e,t){let{role:n="menu",orientation:r="vertical",...o}=e;return(0,s.createElement)(wE,a({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:n,"aria-orientation":"presentation"===n?null:r,eventToOffset:e=>{const{keyCode:t}=e;let n=[tm.DOWN],o=[tm.UP];return"horizontal"===r&&(n=[tm.RIGHT],o=[tm.LEFT]),"both"===r&&(n=[tm.RIGHT,tm.DOWN],o=[tm.LEFT,tm.UP]),(0,l.includes)(n,t)?1:(0,l.includes)(o,t)?-1:(0,l.includes)([tm.DOWN,tm.UP,tm.LEFT,tm.RIGHT],t)?0:void 0}},o))}));function xE(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...e,...t};return t.className&&e.className&&(n.className=c()(t.className,e.className)),n}var EE=function(e){const{children:t,className:n,controls:r,icon:o=vE,label:i,popoverProps:u,toggleProps:d,menuProps:f,disableOpenOnArrowDown:p=!1,text:h,noIcons:m}=e;if((0,l.isEmpty)(r)&&!(0,l.isFunction)(t))return null;let v;(0,l.isEmpty)(r)||(v=r,Array.isArray(v[0])||(v=[v]));const g=xE({className:"components-dropdown-menu__popover"},u);return(0,s.createElement)(Dx,{className:c()("components-dropdown-menu",n),popoverProps:g,renderToggle:e=>{var t;let{isOpen:n,onToggle:r}=e;const l=xE({className:c()("components-dropdown-menu__toggle",{"is-opened":n})},d);return(0,s.createElement)(Vn,a({},l,{icon:o,onClick:e=>{r(e),l.onClick&&l.onClick(e)},onKeyDown:e=>{(e=>{p||n||e.keyCode!==tm.DOWN||(e.preventDefault(),r())})(e),l.onKeyDown&&l.onKeyDown(e)},"aria-haspopup":"true","aria-expanded":n,label:i,text:h,showTooltip:null===(t=null==d?void 0:d.showTooltip)||void 0===t||t}),l.children)},renderContent:e=>{const n=xE({"aria-label":i,className:c()("components-dropdown-menu__menu",{"no-icons":m})},f);return(0,s.createElement)(_E,a({},n,{role:"menu"}),(0,l.isFunction)(t)?t(e):null,(0,l.flatMap)(v,((t,n)=>t.map(((t,r)=>(0,s.createElement)(Vn,{key:[n,r].join(),onClick:n=>{n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:c()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive,"is-icon-only":!t.title}),icon:t.icon,label:t.label,"aria-checked":"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.isActive:void 0,role:"menuitemcheckbox"===t.role||"menuitemradio"===t.role?t.role:"menuitem",disabled:t.isDisabled},t.title))))))}})};var kE=Pn((function(e,t){const{role:n,wrapperClassName:r,...o}=function(e){const{as:t,className:n,onClick:r,role:o="listitem",size:i,...a}=Cn(e,"Item"),{spacedAround:l,size:u}=Ox(),c=i||u,d=t||(void 0!==r?"button":"div"),f=Sn(),p=(0,s.useMemo)((()=>f("button"===d&&hx,Cx[c]||Cx.medium,vx,l&&wx,n)),[d,n,c,l]),h=f(mx);return{as:d,className:p,onClick:r,wrapperClassName:h,role:o,...a}}(e);return(0,s.createElement)("div",{role:n,className:r},(0,s.createElement)(zn,a({},o,{ref:t})))}),"Item");const SE=Fn(Ix.Option,{target:"e5bw3229"})("width:",Lf(6),";height:",Lf(6),";pointer-events:none;"),CE=Fn(Sm,{target:"e5bw3228"})(Dp,"{background:",ko.gray[100],";border-radius:2px;",Ip,Ip,Ip,Ip,"{height:",Lf(8),";}",Fp,Fp,Fp,"{border-color:transparent;box-shadow:none;}}"),PE=Fn(kE,{target:"e5bw3227"})("padding:3px 0 3px ",Lf(3),";height:calc( 40px - ",ip.borderWidth," );"),OE=Fn("div",{target:"e5bw3226"})("line-height:",Lf(8),";margin-left:",Lf(2),";margin-right:",Lf(2),";white-space:nowrap;overflow:hidden;"),ME=Fn(Nx,{target:"e5bw3225"})("text-transform:uppercase;line-height:",Lf(6),";font-weight:500;&&&{font-size:11px;margin-bottom:0;}"),TE=Fn(zn,{target:"e5bw3224"})("height:",Lf(6),";display:flex;"),DE=Fn(Ry,{target:"e5bw3223"})("margin-bottom:",Lf(2),";"),IE=Fn(zn,{target:"e5bw3222"})({name:"u6wnko",styles:"&&&{.components-button.has-icon{min-width:0;padding:0;}}"}),AE=Fn(Vn,{target:"e5bw3221"})("&&{color:",ko.ui.theme,";}"),RE=Fn(Vn,{target:"e5bw3220"})("&&{margin-top:",Lf(1),";}"),NE="#000";function LE(e){let{value:t,onChange:n,label:r}=e;return(0,s.createElement)(CE,{label:r,hideLabelFromVision:!0,value:t,onChange:n})}function FE(e){return(0,d.sprintf)((0,d.__)("Color %s "),e+1)}function jE(e){let{canOnlyChangeValues:t,element:n,onChange:r,isEditing:o,onStartEditing:i,onRemove:u,onStopEditing:c,slugPrefix:p,isGradient:h}=e;const m=(0,f.__experimentalUseFocusOutside)(c),v=h?n.gradient:n.color;return(0,s.createElement)(PE,a({as:"div",onClick:i},o?m:{}),(0,s.createElement)(Ry,{justify:"flex-start"},(0,s.createElement)(If,null,(0,s.createElement)(SE,{style:{background:v,color:"transparent"}})),(0,s.createElement)(If,null,o&&!t?(0,s.createElement)(LE,{label:h?(0,d.__)("Gradient name"):(0,d.__)("Color name"),value:n.name,onChange:e=>r({...n,name:e,slug:p+(0,l.kebabCase)(e)})}):(0,s.createElement)(OE,null,n.name)),o&&!t&&(0,s.createElement)(If,null,(0,s.createElement)(RE,{isSmall:!0,icon:Cy,label:(0,d.__)("Remove color"),onClick:u}))),o&&(0,s.createElement)(xr,{position:"bottom left",className:"components-palette-edit__popover"},!h&&(0,s.createElement)(px,{color:v,onChange:e=>r({...n,color:e})}),h&&(0,s.createElement)(fE,{__experimentalIsRenderedInSidebar:!0,value:v,onChange:e=>r({...n,gradient:e})})))}function zE(e,t,n){let{slug:r,color:o,gradient:i}=t;return r===e+(0,l.kebabCase)(FE(n))&&(!!o&&o===NE||!!i&&i===eE)}function BE(e){let{elements:t,onChange:n,editingElement:r,setEditingElement:o,canOnlyChangeValues:i,slugPrefix:a,isGradient:l}=e;const u=(0,s.useRef)();return(0,s.useEffect)((()=>{u.current=t}),[t]),(0,s.useEffect)((()=>()=>{if(u.current.some(((e,t)=>zE(a,e,t)))){const e=u.current.filter(((e,t)=>!zE(a,e,t)));n(e.length?e:void 0)}}),[]),(0,s.createElement)(Tx,{spacing:3},(0,s.createElement)(Mx,{isBordered:!0,isSeparated:!0},t.map(((e,u)=>(0,s.createElement)(jE,{isGradient:l,canOnlyChangeValues:i,key:u,element:e,onStartEditing:()=>{r!==u&&o(u)},onChange:e=>{n(t.map(((t,n)=>n===u?e:t)))},onRemove:()=>{o(null);const e=t.filter(((e,t)=>t!==u));n(e.length?e:void 0)},isEditing:u===r,onStopEditing:()=>{u===r&&o(null)},slugPrefix:a})))))}const HE=[];function VE(e){let{gradients:t,colors:n=HE,onChange:r,paletteLabel:o,emptyMessage:i,canOnlyChangeValues:a,canReset:u,slugPrefix:c=""}=e;const f=!!t,p=f?t:n,[h,m]=(0,s.useState)(!1),[v,g]=(0,s.useState)(null),y=h&&v&&p[v]&&!p[v].slug,b=p.length,w=b>0;return(0,s.createElement)(IE,null,(0,s.createElement)(DE,null,(0,s.createElement)(ME,null,o),(0,s.createElement)(TE,null,h&&(0,s.createElement)(AE,{isSmall:!0,onClick:()=>{m(!1),g(null)}},(0,d.__)("Done")),!a&&(0,s.createElement)(Vn,{isSmall:!0,isPressed:y,icon:Py,label:f?(0,d.__)("Add gradient"):(0,d.__)("Add color"),onClick:()=>{const e=FE(b);r([...p,{...f?{gradient:eE}:{color:NE},name:e,slug:c+(0,l.kebabCase)(e)}]),m(!0),g(p.length)}}),w&&(!h||!a||u)&&(0,s.createElement)(EE,{icon:Oy,label:f?(0,d.__)("Gradient options"):(0,d.__)("Color options"),toggleProps:{isSmall:!0}},(e=>{let{onClose:t}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(_E,{role:"menu"},!h&&(0,s.createElement)(Vn,{variant:"tertiary",onClick:()=>{m(!0),t()},className:"components-palette-edit__menu-button"},f?(0,d.__)("Edit gradients"):(0,d.__)("Edit colors")),!a&&(0,s.createElement)(Vn,{variant:"tertiary",onClick:()=>{g(null),m(!1),r(),t()},className:"components-palette-edit__menu-button"},f?(0,d.__)("Remove all gradients"):(0,d.__)("Remove all colors")),u&&(0,s.createElement)(Vn,{variant:"tertiary",onClick:()=>{g(null),r(),t()}},f?(0,d.__)("Reset gradient"):(0,d.__)("Reset colors"))))})))),w&&(0,s.createElement)(s.Fragment,null,h&&(0,s.createElement)(BE,{canOnlyChangeValues:a,elements:p,onChange:r,editingElement:v,setEditingElement:g,slugPrefix:c,isGradient:f}),!h&&(f?(0,s.createElement)(mE,{gradients:t,onChange:()=>{},clearable:!1,disableCustomGradients:!0}):(0,s.createElement)(Bx,{colors:n,onChange:()=>{},clearable:!1,disableCustomColors:!0}))),!w&&i)}var WE=e=>{let{className:t,colorValue:n,...r}=e;return(0,s.createElement)("span",a({className:c()("component-color-indicator",t),style:{background:n}},r))};var UE=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));class $E extends s.Component{constructor(){super(...arguments),this.onChange=this.onChange.bind(this),this.bindInput=this.bindInput.bind(this)}focus(){this.input.focus()}hasFocus(){return this.input===this.input.ownerDocument.activeElement}bindInput(e){this.input=e}onChange(e){this.props.onChange({value:e.target.value})}render(){const{value:e,isExpanded:t,instanceId:n,selectedSuggestionIndex:r,className:o,onChange:i,...l}=this.props,u=e?e.length+1:0;return(0,s.createElement)("input",a({ref:this.bindInput,id:`components-form-token-input-${n}`,type:"text"},l,{value:e||"",onChange:i?this.onChange:void 0,size:u,className:c()(o,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":t,"aria-autocomplete":"list","aria-owns":t?`components-form-token-suggestions-${n}`:void 0,"aria-activedescendant":-1!==r?`components-form-token-suggestions-${n}-${r}`:void 0,"aria-describedby":`components-form-token-suggestions-howto-${n}`}))}}var KE=$E,GE=n(5425),qE=n.n(GE);class YE extends s.Component{constructor(){super(...arguments),this.handleMouseDown=this.handleMouseDown.bind(this),this.bindList=this.bindList.bind(this)}componentDidUpdate(){this.props.selectedIndex>-1&&this.props.scrollIntoView&&this.list.children[this.props.selectedIndex]&&(this.scrollingIntoView=!0,qE()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((()=>{this.scrollingIntoView=!1}),100))}bindList(e){this.list=e}handleHover(e){return()=>{this.scrollingIntoView||this.props.onHover(e)}}handleClick(e){return()=>{this.props.onSelect(e)}}handleMouseDown(e){e.preventDefault()}computeSuggestionMatch(e){const t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;const n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}render(){return(0,s.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:`components-form-token-suggestions-${this.props.instanceId}`,role:"listbox"},(0,l.map)(this.props.suggestions,((e,t)=>{const n=this.computeSuggestionMatch(e),r=c()("components-form-token-field__suggestion",{"is-selected":t===this.props.selectedIndex});return(0,s.createElement)("li",{id:`components-form-token-suggestions-${this.props.instanceId}-${t}`,role:"option",className:r,key:null!=e&&e.value?e.value:this.props.displayTransform(e),onMouseDown:this.handleMouseDown,onClick:this.handleClick(e),onMouseEnter:this.handleHover(e),"aria-selected":t===this.props.selectedIndex},n?(0,s.createElement)("span",{"aria-label":this.props.displayTransform(e)},n.suggestionBeforeMatch,(0,s.createElement)("strong",{className:"components-form-token-field__suggestion-match"},n.suggestionMatch),n.suggestionAfterMatch):this.props.displayTransform(e))})))}}YE.defaultProps={match:"",onHover:()=>{},onSelect:()=>{},suggestions:Object.freeze([])};var XE=(0,f.withSafeTimeout)(YE),ZE=(0,f.createHigherOrderComponent)((e=>t=>{const[n,r]=(0,s.useState)(),o=(0,s.useCallback)((e=>r((()=>null!=e&&e.handleFocusOutside?e.handleFocusOutside.bind(e):void 0))),[]);return(0,s.createElement)("div",(0,f.__experimentalUseFocusOutside)(n),(0,s.createElement)(e,a({ref:o},t)))}),"withFocusOutside");const JE=ZE(class extends s.Component{handleFocusOutside(e){this.props.onFocusOutside(e)}render(){return this.props.children}});var QE=function e(t){var n;let{value:r,label:o,options:i,onChange:a,onFilterValueChange:u=l.noop,hideLabelFromVision:p,help:h,allowReset:m=!0,className:v,messages:g={selected:(0,d.__)("Item selected.")}}=t;const y=i.find((e=>e.value===r)),b=null!==(n=null==y?void 0:y.label)&&void 0!==n?n:"",w=(0,f.useInstanceId)(e),[_,x]=(0,s.useState)(y||null),[E,k]=(0,s.useState)(!1),[S,C]=(0,s.useState)(!1),[P,O]=(0,s.useState)(""),M=(0,s.useRef)(),T=(0,s.useMemo)((()=>{const e=[],t=[],n=(0,l.deburr)(P.toLocaleLowerCase());return i.forEach((r=>{const o=(0,l.deburr)(r.label).toLocaleLowerCase().indexOf(n);0===o?e.push(r):o>0&&t.push(r)})),e.concat(t)}),[P,i,r]),D=e=>{a(e.value),(0,Lm.speak)(g.selected,"assertive"),x(e),O(""),k(!1)},I=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t=T.indexOf(_);let n=t+e;n<0?n=T.length-1:n>=T.length&&(n=0),x(T[n]),k(!0)};return(0,s.useEffect)((()=>{const e=T.length>0,t=T.indexOf(_)>0;e&&!t&&x(T[0])}),[T,_]),(0,s.useEffect)((()=>{const e=T.length>0;if(E){const t=e?(0,d.sprintf)((0,d._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",T.length),T.length):(0,d.__)("No results.");(0,Lm.speak)(t,"polite")}}),[T,E]),(0,s.createElement)(JE,{onFocusOutside:()=>{k(!1)}},(0,s.createElement)(qm,{className:c()(v,"components-combobox-control"),tabIndex:"-1",label:o,id:`components-form-token-input-${w}`,hideLabelFromVision:p,help:h},(0,s.createElement)("div",{className:"components-combobox-control__suggestions-container",tabIndex:"-1",onKeyDown:e=>{let t=!1;if(!e.defaultPrevented){switch(e.keyCode){case tm.ENTER:_&&(D(_),t=!0);break;case tm.UP:I(-1),t=!0;break;case tm.DOWN:I(1),t=!0;break;case tm.ESCAPE:k(!1),x(null),t=!0}t&&e.preventDefault()}}},(0,s.createElement)($f,null,(0,s.createElement)(Df,null,(0,s.createElement)(KE,{className:"components-combobox-control__input",instanceId:w,ref:M,value:E?P:b,"aria-label":b?`${b}, ${o}`:null,onFocus:()=>{C(!0),k(!0),u(""),O("")},onBlur:()=>{C(!1)},isExpanded:E,selectedSuggestionIndex:T.indexOf(_),onChange:e=>{const t=e.value;O(t),u(t),S&&k(!0)}})),m&&(0,s.createElement)(If,null,(0,s.createElement)(Vn,{className:"components-combobox-control__reset",icon:UE,disabled:!r,onClick:()=>{a(null),M.current.input.focus()},label:(0,d.__)("Reset")}))),E&&(0,s.createElement)(XE,{instanceId:w,match:{label:P},displayTransform:e=>e.label,suggestions:T,selectedIndex:T.indexOf(_),onHover:x,onSelect:D,scrollIntoView:!0}))))};function ek(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var tk=n(2652),nk=n.n(tk);n(2797);function rk(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function ok(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function ik(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return ok(n.overflowY,t)||ok(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function ak(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var sk=0;function lk(){}function uk(e,t){if(e){var n=function(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof a?a:function(e){return e!==a};if(!rk(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],d=e;rk(d)&&l(d);){if((d=d.parentElement)===u){c.push(d);break}null!=d&&d===document.body&&ik(d)&&!ik(document.documentElement)||null!=d&&ik(d,s)&&c.push(d)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,m=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),g=v.height,y=v.width,b=v.top,w=v.right,_=v.bottom,x=v.left,E="start"===o||"nearest"===o?b:"end"===o?_:b+g/2,k="center"===i?x+y/2:"end"===i?w:x,S=[],C=0;C<c.length;C++){var P=c[C],O=P.getBoundingClientRect(),M=O.height,T=O.width,D=O.top,I=O.right,A=O.bottom,R=O.left;if("if-needed"===r&&b>=0&&x>=0&&_<=p&&w<=f&&b>=D&&_<=A&&x>=R&&w<=I)return S;var N=getComputedStyle(P),L=parseInt(N.borderLeftWidth,10),F=parseInt(N.borderTopWidth,10),j=parseInt(N.borderRightWidth,10),z=parseInt(N.borderBottomWidth,10),B=0,H=0,V="offsetWidth"in P?P.offsetWidth-P.clientWidth-L-j:0,W="offsetHeight"in P?P.offsetHeight-P.clientHeight-F-z:0;if(u===P)B="start"===o?E:"end"===o?E-p:"nearest"===o?ak(m,m+p,p,F,z,m+E,m+E+g,g):E-p/2,H="start"===i?k:"center"===i?k-f/2:"end"===i?k-f:ak(h,h+f,f,L,j,h+k,h+k+y,y),B=Math.max(0,B+m),H=Math.max(0,H+h);else{B="start"===o?E-D-F:"end"===o?E-A+z+W:"nearest"===o?ak(D,A,M,F,z+W,E,E+g,g):E-(D+M/2)+W/2,H="start"===i?k-R-L:"center"===i?k-(R+T/2)+V/2:"end"===i?k-I+j+V:ak(R,I,T,L,j+V,k,k+y,y);var U=P.scrollLeft,$=P.scrollTop;E+=$-(B=Math.max(0,Math.min($+B,P.scrollHeight-M+W))),k+=U-(H=Math.max(0,Math.min(U+H,P.scrollWidth-T+V)))}S.push({el:P,top:B,left:H})}return S}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}}function ck(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function dk(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,i)}),t)}return o.cancel=r,o}function fk(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function pk(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function hk(){return String(sk++)}function mk(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function vk(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=gk(t,r)?t[r]:e[r],n}),{})}function gk(e,t){return void 0!==e[t]}function yk(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function bk(e,t,n,r,o){if(void 0===o&&(o=!0),0===n)return-1;var i=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:i+1);var a=t+e;a<0?a=o?i:0:a>i&&(a=o?0:i);var s=wk(e,a,n,r,o);return-1===s?t>=n?-1:t:s}function wk(e,t,n,r,o){var i=r(t);if(!i||!i.hasAttribute("disabled"))return t;if(e>0){for(var a=t+1;a<n;a++)if(!r(a).hasAttribute("disabled"))return a}else for(var s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return o?e>0?wk(1,0,n,r,!1):wk(-1,n-1,n,r,!1):-1}function _k(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(ck(t,e,n)||r&&ck(t,n.document.activeElement,n))}))}var xk=dk((function(e){kk(e).textContent=""}),500);function Ek(e,t){var n=kk(t);e&&(n.textContent=e,xk(t))}function kk(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var Sk=["isInitialMount","highlightedIndex","items","environment"],Ck={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function Pk(e,t,n){var r=e.props,o=e.type,i={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var o=t.props,i=t.type,s="on"+Ak(e)+"Change";o[s]&&void 0!==r[e]&&r[e]!==n[e]&&o[s](a({type:i},r))}(r,e,t,n),n[r]!==t[r]&&(i[r]=n[r])})),r.onStateChange&&Object.keys(i).length&&r.onStateChange(a({type:o},i))}var Ok=dk((function(e,t){Ek(e(),t)}),200),Mk="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?b.useLayoutEffect:b.useEffect;function Tk(e){var t=e.id,n=void 0===t?"downshift-"+hk():t,r=e.labelId,o=e.menuId,i=e.getItemId,a=e.toggleButtonId,s=e.inputId;return(0,b.useRef)({labelId:r||n+"-label",menuId:o||n+"-menu",getItemId:i||function(e){return n+"-item-"+e},toggleButtonId:a||n+"-toggle-button",inputId:s||n+"-input"}).current}function Dk(e,t,n){return void 0!==e?e:0===n.length?-1:n.indexOf(t)}function Ik(e){return/^\S{1}$/.test(e)}function Ak(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Rk(e){var t=(0,b.useRef)(e);return t.current=e,t}function Nk(e,t,n){var r=(0,b.useRef)(),o=(0,b.useRef)(),i=(0,b.useCallback)((function(t,n){o.current=n,t=vk(t,n.props);var r=e(t,n);return n.props.stateReducer(t,a({},n,{changes:r}))}),[e]),s=(0,b.useReducer)(i,t),l=s[0],u=s[1],c=Rk(n),d=(0,b.useCallback)((function(e){return u(a({props:c.current},e))}),[c]),f=o.current;return(0,b.useEffect)((function(){f&&r.current&&r.current!==l&&Pk(f,vk(r.current,f.props),l),r.current=l}),[l,n,f]),[l,d]}function Lk(e,t,n){var r=Nk(e,t,n),o=r[0],i=r[1];return[vk(o,n),i]}var Fk={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:uk,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function jk(e,t,n){void 0===n&&(n=Ck);var r="default"+Ak(t);return r in e?e[r]:n[t]}function zk(e,t,n){if(void 0===n&&(n=Ck),t in e)return e[t];var r="initial"+Ak(t);return r in e?e[r]:jk(e,t,n)}function Bk(e){var t=zk(e,"selectedItem"),n=zk(e,"isOpen"),r=zk(e,"highlightedIndex"),o=zk(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:o}}function Hk(e,t,n,r){var o=e.items,i=e.initialHighlightedIndex,a=e.defaultHighlightedIndex,s=t.selectedItem,l=t.highlightedIndex;return 0===o.length?-1:void 0!==i&&l===i?i:void 0!==a?a:s?0===n?o.indexOf(s):bk(n,o.indexOf(s),o.length,r,!1):0===n?-1:n<0?o.length-1:0}function Vk(e,t,n,r){var o=(0,b.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,b.useEffect)((function(){var i=function(){o.current.isMouseDown=!0},a=function(i){o.current.isMouseDown=!1,e&&!_k(i.target,t.map((function(e){return e.current})),n)&&r()},s=function(){o.current.isTouchMove=!1},l=function(){o.current.isTouchMove=!0},u=function(i){!e||o.current.isTouchMove||_k(i.target,t.map((function(e){return e.current})),n,!1)||r()};return n.addEventListener("mousedown",i),n.addEventListener("mouseup",a),n.addEventListener("touchstart",s),n.addEventListener("touchmove",l),n.addEventListener("touchend",u),function(){n.removeEventListener("mousedown",i),n.removeEventListener("mouseup",a),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",l),n.removeEventListener("touchend",u)}}),[e,n]),o}var Wk=function(){return lk};function Uk(e,t,n){var r=n.isInitialMount,o=n.highlightedIndex,i=n.items,s=n.environment,l=ek(n,Sk);(0,b.useEffect)((function(){r||Ok((function(){return e(a({highlightedIndex:o,highlightedItem:i[o],resultCount:i.length},l))}),s.document)}),t)}function $k(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,o=e.getItemNodeFromIndex,i=e.menuElement,a=e.scrollIntoView,s=(0,b.useRef)(!0);return Mk((function(){t<0||!n||!Object.keys(r.current).length||(!1===s.current?s.current=!0:a(o(t),i))}),[t]),s}var Kk=lk;function Gk(e,t,n){var r,o=t.type,i=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Hk(i,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:Hk(i,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:jk(i,"highlightedIndex"),isOpen:jk(i,"isOpen"),selectedItem:jk(i,"selectedItem"),inputValue:jk(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return a({},e,r)}function qk(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,o=e.itemToString,i=e.getItemNodeFromIndex,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+1)%r.length,u=r[l];if(void 0!==u&&o(u).toLowerCase().startsWith(a)){var c=i(l);if(!(null==c?void 0:c.hasAttribute("disabled")))return l}}return n}nk().array.isRequired,nk().func,nk().func,nk().func,nk().bool,nk().number,nk().number,nk().number,nk().bool,nk().bool,nk().bool,nk().any,nk().any,nk().any,nk().string,nk().string,nk().string,nk().func,nk().string,nk().func,nk().func,nk().func,nk().func,nk().func,nk().shape({addEventListener:nk().func,removeEventListener:nk().func,document:nk().shape({getElementById:nk().func,activeElement:nk().any,body:nk().any})});var Yk=Ei(Ei({},Fk),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.":"":"No results are available.":""}}),Xk=lk;var Zk=Object.freeze({__proto__:null,MenuKeyDownArrowDown:0,MenuKeyDownArrowUp:1,MenuKeyDownEscape:2,MenuKeyDownHome:3,MenuKeyDownEnd:4,MenuKeyDownEnter:5,MenuKeyDownSpaceButton:6,MenuKeyDownCharacter:7,MenuBlur:8,MenuMouseLeave:9,ItemMouseMove:10,ItemClick:11,ToggleButtonClick:12,ToggleButtonKeyDownArrowDown:13,ToggleButtonKeyDownArrowUp:14,ToggleButtonKeyDownCharacter:15,FunctionToggleMenu:16,FunctionOpenMenu:17,FunctionCloseMenu:18,FunctionSetHighlightedIndex:19,FunctionSelectItem:20,FunctionSetInputValue:21,FunctionReset:22});function Jk(e,t){var n,r=t.type,o=t.props,i=t.shiftKey;switch(r){case 11:n={isOpen:jk(o,"isOpen"),highlightedIndex:jk(o,"highlightedIndex"),selectedItem:o.items[t.index]};break;case 15:var s=t.key,l=""+e.inputValue+s,u=qk({keysSoFar:l,highlightedIndex:e.selectedItem?o.items.indexOf(e.selectedItem):-1,items:o.items,itemToString:o.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});n=a({inputValue:l},u>=0&&{selectedItem:o.items[u]});break;case 13:n={highlightedIndex:Hk(o,e,1,t.getItemNodeFromIndex),isOpen:!0};break;case 14:n={highlightedIndex:Hk(o,e,-1,t.getItemNodeFromIndex),isOpen:!0};break;case 5:case 6:n=a({isOpen:jk(o,"isOpen"),highlightedIndex:jk(o,"highlightedIndex")},e.highlightedIndex>=0&&{selectedItem:o.items[e.highlightedIndex]});break;case 3:n={highlightedIndex:wk(1,0,o.items.length,t.getItemNodeFromIndex,!1)};break;case 4:n={highlightedIndex:wk(-1,o.items.length-1,o.items.length,t.getItemNodeFromIndex,!1)};break;case 2:case 8:n={isOpen:!1,highlightedIndex:-1};break;case 7:var c=t.key,d=""+e.inputValue+c,f=qk({keysSoFar:d,highlightedIndex:e.highlightedIndex,items:o.items,itemToString:o.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});n=a({inputValue:d},f>=0&&{highlightedIndex:f});break;case 0:n={highlightedIndex:bk(i?5:1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 1:n={highlightedIndex:bk(i?-5:-1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,o.circularNavigation)};break;case 20:n={selectedItem:t.selectedItem};break;default:return Gk(e,t,Zk)}return a({},e,n)}var Qk=["onMouseLeave","refKey","onKeyDown","onBlur","ref"],eS=["onClick","onKeyDown","refKey","ref"],tS=["item","index","onMouseMove","onClick","refKey","ref"];function nS(e){void 0===e&&(e={}),Xk(e,nS);var t=a({},Yk,e),n=t.items,r=t.scrollIntoView,o=t.environment,i=t.initialIsOpen,s=t.defaultIsOpen,l=t.itemToString,u=t.getA11ySelectionMessage,c=t.getA11yStatusMessage,d=Lk(Jk,Bk(t),t),f=d[0],p=d[1],h=f.isOpen,m=f.highlightedIndex,v=f.selectedItem,g=f.inputValue,y=(0,b.useRef)(null),w=(0,b.useRef)(null),_=(0,b.useRef)({}),x=(0,b.useRef)(!0),E=(0,b.useRef)(null),k=Tk(t),S=(0,b.useRef)(),C=(0,b.useRef)(!0),P=Rk({state:f,props:t}),O=(0,b.useCallback)((function(e){return _.current[k.getItemId(e)]}),[k]);Uk(c,[h,m,g,n],a({isInitialMount:C.current,previousResultCount:S.current,items:n,environment:o,itemToString:l},f)),Uk(u,[v],a({isInitialMount:C.current,previousResultCount:S.current,items:n,environment:o,itemToString:l},f));var M=$k({menuElement:w.current,highlightedIndex:m,isOpen:h,itemRefs:_,scrollIntoView:r,getItemNodeFromIndex:O});(0,b.useEffect)((function(){return E.current=dk((function(e){e({type:21,inputValue:""})}),500),function(){E.current.cancel()}}),[]),(0,b.useEffect)((function(){g&&E.current(p)}),[p,g]),Kk({isInitialMount:C.current,props:t,state:f}),(0,b.useEffect)((function(){C.current?(i||s||h)&&w.current&&w.current.focus():h?w.current&&w.current.focus():o.document.activeElement===w.current&&y.current&&(x.current=!1,y.current.focus())}),[h]),(0,b.useEffect)((function(){C.current||(S.current=n.length)}));var T=Vk(h,[w,y],o,(function(){p({type:8})})),D=Wk();(0,b.useEffect)((function(){C.current=!1}),[]),(0,b.useEffect)((function(){h||(_.current={})}),[h]);var I=(0,b.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:13,getItemNodeFromIndex:O,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:14,getItemNodeFromIndex:O,shiftKey:e.shiftKey})}}}),[p,O]),A=(0,b.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),p({type:0,getItemNodeFromIndex:O,shiftKey:e.shiftKey})},ArrowUp:function(e){e.preventDefault(),p({type:1,getItemNodeFromIndex:O,shiftKey:e.shiftKey})},Home:function(e){e.preventDefault(),p({type:3,getItemNodeFromIndex:O})},End:function(e){e.preventDefault(),p({type:4,getItemNodeFromIndex:O})},Escape:function(){p({type:2})},Enter:function(e){e.preventDefault(),p({type:5})}," ":function(e){e.preventDefault(),p({type:6})}}}),[p,O]),R=(0,b.useCallback)((function(){p({type:16})}),[p]),N=(0,b.useCallback)((function(){p({type:18})}),[p]),L=(0,b.useCallback)((function(){p({type:17})}),[p]),F=(0,b.useCallback)((function(e){p({type:19,highlightedIndex:e})}),[p]),j=(0,b.useCallback)((function(e){p({type:20,selectedItem:e})}),[p]),z=(0,b.useCallback)((function(){p({type:22})}),[p]),B=(0,b.useCallback)((function(e){p({type:21,inputValue:e})}),[p]),H=(0,b.useCallback)((function(e){return a({id:k.labelId,htmlFor:k.toggleButtonId},e)}),[k]),V=(0,b.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onMouseLeave,i=r.refKey,s=void 0===i?"ref":i,l=r.onKeyDown,u=r.onBlur,c=r.ref,d=ek(r,Qk),f=(void 0===t?{}:t).suppressRefError,h=void 0!==f&&f,m=P.current.state;return D("getMenuProps",h,s,w),a(((n={})[s]=pk(c,(function(e){w.current=e})),n.id=k.menuId,n.role="listbox",n["aria-labelledby"]=k.labelId,n.tabIndex=-1,n),m.isOpen&&m.highlightedIndex>-1&&{"aria-activedescendant":k.getItemId(m.highlightedIndex)},{onMouseLeave:fk(o,(function(){p({type:9})})),onKeyDown:fk(l,(function(e){var t=yk(e);t&&A[t]?A[t](e):Ik(t)&&p({type:7,key:t,getItemNodeFromIndex:O})})),onBlur:fk(u,(function(){!1!==x.current?!T.current.isMouseDown&&p({type:8}):x.current=!0}))},d)}),[p,P,A,T,D,k,O]),W=(0,b.useCallback)((function(e,t){var n,r=void 0===e?{}:e,o=r.onClick,i=r.onKeyDown,s=r.refKey,l=void 0===s?"ref":s,u=r.ref,c=ek(r,eS),d=(void 0===t?{}:t).suppressRefError,f=void 0!==d&&d,h=a(((n={})[l]=pk(u,(function(e){y.current=e})),n.id=k.toggleButtonId,n["aria-haspopup"]="listbox",n["aria-expanded"]=P.current.state.isOpen,n["aria-labelledby"]=k.labelId+" "+k.toggleButtonId,n),c);return c.disabled||(h.onClick=fk(o,(function(){p({type:12})})),h.onKeyDown=fk(i,(function(e){var t=yk(e);t&&I[t]?I[t](e):Ik(t)&&p({type:15,key:t,getItemNodeFromIndex:O})}))),D("getToggleButtonProps",f,l,y),h}),[p,P,I,D,k,O]),U=(0,b.useCallback)((function(e){var t,n=void 0===e?{}:e,r=n.item,o=n.index,i=n.onMouseMove,s=n.onClick,l=n.refKey,u=void 0===l?"ref":l,c=n.ref,d=ek(n,tS),f=P.current,h=f.state,m=f.props,v=Dk(o,r,m.items);if(v<0)throw new Error("Pass either item or item index in getItemProps!");var g=a(((t={role:"option","aria-selected":""+(v===h.highlightedIndex),id:k.getItemId(v)})[u]=pk(c,(function(e){e&&(_.current[k.getItemId(v)]=e)})),t),d);return d.disabled||(g.onMouseMove=fk(i,(function(){o!==h.highlightedIndex&&(M.current=!1,p({type:10,index:o}))})),g.onClick=fk(s,(function(){p({type:11,index:o})}))),g}),[p,P,M,k]);return{getToggleButtonProps:W,getLabelProps:H,getMenuProps:V,getItemProps:U,toggleMenu:R,openMenu:L,closeMenu:N,setHighlightedIndex:F,selectItem:j,reset:z,setInputValue:B,highlightedIndex:m,isOpen:h,selectedItem:v,inputValue:g}}nS.stateChangeTypes=Zk;nk().array.isRequired,nk().func,nk().func,nk().func,nk().bool,nk().number,nk().number,nk().number,nk().bool,nk().bool,nk().bool,nk().any,nk().any,nk().any,nk().string,nk().string,nk().string,nk().string,nk().string,nk().string,nk().func,nk().string,nk().string,nk().func,nk().func,nk().func,nk().func,nk().func,nk().func,nk().shape({addEventListener:nk().func,removeEventListener:nk().func,document:nk().shape({getElementById:nk().func,activeElement:nk().any,body:nk().any})});a({},Fk,{getA11yStatusMessage:mk,circularNavigation:!0});nk().array,nk().array,nk().array,nk().func,nk().func,nk().func,nk().number,nk().number,nk().number,nk().func,nk().func,nk().string,nk().string,nk().shape({addEventListener:nk().func,removeEventListener:nk().func,document:nk().shape({getElementById:nk().func,activeElement:nk().any,body:nk().any})});const rS=e=>null==e?void 0:e.name,oS=(e,t)=>{let{selectedItem:n}=e,{type:r,changes:o,props:{items:i}}=t;switch(r){case nS.stateChangeTypes.ToggleButtonKeyDownArrowDown:return{selectedItem:i[n?Math.min(i.indexOf(n)+1,i.length-1):0]};case nS.stateChangeTypes.ToggleButtonKeyDownArrowUp:return{selectedItem:i[n?Math.max(i.indexOf(n)-1,0):i.length-1]};default:return o}};function iS(e){var t;let{className:n,hideLabelFromVision:r,label:o,describedBy:i,options:l,onChange:u,value:f}=e;const{getLabelProps:p,getToggleButtonProps:h,getMenuProps:m,getItemProps:v,isOpen:g,highlightedIndex:y,selectedItem:b}=nS({initialSelectedItem:l[0],items:l,itemToString:rS,onSelectedItemChange:u,...null!=f?{selectedItem:f}:void 0,stateReducer:oS});const w=m({className:"components-custom-select-control__menu","aria-hidden":!g}),_=(0,s.useCallback)((e=>{var t;e.stopPropagation(),null==w||null===(t=w.onKeyDown)||void 0===t||t.call(w,e)}),[w]);return null!==(t=w["aria-activedescendant"])&&void 0!==t&&t.startsWith("downshift-null")&&delete w["aria-activedescendant"],(0,s.createElement)("div",{className:c()("components-custom-select-control",n)},r?(0,s.createElement)(Bn,a({as:"label"},p()),o):(0,s.createElement)("label",p({className:"components-custom-select-control__label"}),o),(0,s.createElement)(Vn,h({"aria-label":o,"aria-labelledby":void 0,className:"components-custom-select-control__button",isSmall:!0,describedBy:i||(b?(0,d.sprintf)((0,d.__)("Currently selected: %s"),b.name):(0,d.__)("No selection"))}),rS(b),(0,s.createElement)(xy,{icon:Ny,className:"components-custom-select-control__button-icon"})),(0,s.createElement)("ul",a({},w,{onKeyDown:_}),g&&l.map(((e,t)=>(0,s.createElement)("li",v({item:e,index:t,key:e.key,className:c()(e.className,"components-custom-select-control__item",{"is-highlighted":t===y,"has-hint":!!e.__experimentalHint}),style:e.style}),e.name,e.__experimentalHint&&(0,s.createElement)("span",{className:"components-custom-select-control__item-hint"},e.__experimentalHint),e===b&&(0,s.createElement)(xy,{icon:Ey,className:"components-custom-select-control__item-icon"}))))))}n(4185);var aS=n(6292),sS=n.n(aS),lS=n(6302);const uS="dddd, LL";function cS(e){let{day:t,events:n=[]}=e;const r=(0,s.useRef)();return(0,s.useEffect)((()=>{var e;if(null==r||null===(e=r.current)||void 0===e||!e.parentNode)return;const{parentNode:o}=r.current,i=sS()(t).format(uS);if(!n.length)return void o.setAttribute("aria-label",i);const a=(0,d.sprintf)((0,d._n)("%1$s. There is %2$d event.","%1$s. There are %2$d events.",n.length),i,n.length);o.setAttribute("aria-label",a)}),[n.length]),(0,s.createElement)("div",{ref:r,className:c()("components-datetime__date__day",{"has-events":null==n?void 0:n.length})},t.format("D"))}class dS extends s.Component{constructor(){super(...arguments),this.onChangeMoment=this.onChangeMoment.bind(this),this.nodeRef=(0,s.createRef)(),this.onMonthPreviewedHandler=this.onMonthPreviewedHandler.bind(this)}onMonthPreviewedHandler(e){var t,n;null===(t=(n=this.props).onMonthPreviewed)||void 0===t||t.call(n,e.toISOString()),this.keepFocusInside()}keepFocusInside(){if(!this.nodeRef.current)return;const{ownerDocument:e}=this.nodeRef.current,{activeElement:t}=e;if(!t||!this.nodeRef.current.contains(e.activeElement)){const e=this.nodeRef.current.querySelector(".DayPicker_focusRegion");if(!e)return;e.focus()}}onChangeMoment(e){const{currentDate:t,onChange:n}=this.props,r=t?sS()(t):sS()(),o={hours:r.hours(),minutes:r.minutes(),seconds:0};n(e.set(o).format("YYYY-MM-DDTHH:mm:ss")),this.keepFocusInside()}getMomentDate(e){return null===e?null:e?sS()(e):sS()()}getEventsPerDay(e){var t;return null!==(t=this.props.events)&&void 0!==t&&t.length?this.props.events.filter((t=>e.isSame(t.date,"day"))):[]}render(){const{currentDate:e,isInvalidDate:t}=this.props,n=this.getMomentDate(e);return(0,s.createElement)("div",{className:"components-datetime__date",ref:this.nodeRef},(0,s.createElement)(lS.Z,{date:n,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:`datepicker-controller-${n?n.format("MM-YYYY"):"null"}`,noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",dayAriaLabelFormat:uS,isRTL:(0,d.isRTL)(),isOutsideRange:e=>t&&t(e.toDate()),onPrevMonthClick:this.onMonthPreviewedHandler,onNextMonthClick:this.onMonthPreviewedHandler,renderDayContents:e=>(0,s.createElement)(cS,{day:e,events:this.getEventsPerDay(e)})}))}}var fS=dS,pS=window.wp.date;var hS=()=>{const{timezone:e}=(0,pS.__experimentalGetSettings)(),t=(new Date).getTimezoneOffset()/60*-1;if(Number(e.offset)===t)return null;const n=e.offset>=0?"+":"",r=""!==e.abbr&&isNaN(e.abbr)?e.abbr:`UTC${n}${e.offset}`,o="UTC"===e.string?(0,d.__)("Coordinated Universal Time"):`(${r}) ${e.string.replace("_"," ")}`;return(0,s.createElement)(Mr,{position:"top center",text:o},(0,s.createElement)("div",{className:"components-datetime__timezone"},r))};function mS(e,t){return t?(e%12+12)%24:e%12}function vS(e){let{as:t,value:n,onUpdate:r,...o}=e;return(0,s.createElement)(t||"input",{key:n,defaultValue:n,onBlur:function(e){const{target:t}=e;if(n===t.value)return;const i=parseInt(t.value,10);!(0,l.isInteger)(i)||void 0!==o.max&&i>o.max||void 0!==o.min&&i<o.min?t.value=n:r(t.name,i)},...o})}var gS=function(e){let{is12Hour:t,currentTime:n,onChange:r}=e;const[o,i]=(0,s.useState)((()=>sS()(n).startOf("minutes")));(0,s.useEffect)((()=>{i(n?sS()(n).startOf("minutes"):sS()())}),[n]);const{day:a,month:l,year:u,minutes:f,hours:p,am:h}=(0,s.useMemo)((()=>({day:o.format("DD"),month:o.format("MM"),year:o.format("YYYY"),minutes:o.format("mm"),hours:o.format(t?"hh":"HH"),am:o.format("H")<=11?"AM":"PM"})),[o,t]);function m(e){i(e),r(e.format("YYYY-MM-DDTHH:mm:ss"))}function v(e,n){let r=n;"hours"===e&&t&&(r=mS(n,"PM"===h));m(o.clone()[e](r))}function g(e){return()=>{if(h===e)return;const t=parseInt(p,10);m(o.clone().hours(mS(t,"PM"===e)))}}const y=(0,s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-day"},(0,s.createElement)(vS,{"aria-label":(0,d.__)("Day"),className:"components-datetime__time-field-day-input",type:"number",name:"date",value:a,step:1,min:1,max:31,onUpdate:v})),b=(0,s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-month"},(0,s.createElement)(vS,{as:"select","aria-label":(0,d.__)("Month"),className:"components-datetime__time-field-month-select",name:"month",value:l,onUpdate:(e,t)=>v(e,t-1)},(0,s.createElement)("option",{value:"01"},(0,d.__)("January")),(0,s.createElement)("option",{value:"02"},(0,d.__)("February")),(0,s.createElement)("option",{value:"03"},(0,d.__)("March")),(0,s.createElement)("option",{value:"04"},(0,d.__)("April")),(0,s.createElement)("option",{value:"05"},(0,d.__)("May")),(0,s.createElement)("option",{value:"06"},(0,d.__)("June")),(0,s.createElement)("option",{value:"07"},(0,d.__)("July")),(0,s.createElement)("option",{value:"08"},(0,d.__)("August")),(0,s.createElement)("option",{value:"09"},(0,d.__)("September")),(0,s.createElement)("option",{value:"10"},(0,d.__)("October")),(0,s.createElement)("option",{value:"11"},(0,d.__)("November")),(0,s.createElement)("option",{value:"12"},(0,d.__)("December")))),w=t?(0,s.createElement)(s.Fragment,null,y,b):(0,s.createElement)(s.Fragment,null,b,y);return(0,s.createElement)("div",{className:c()("components-datetime__time")},(0,s.createElement)("fieldset",null,(0,s.createElement)("legend",{className:"components-datetime__time-legend invisible"},(0,d.__)("Date")),(0,s.createElement)("div",{className:"components-datetime__time-wrapper"},w,(0,s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},(0,s.createElement)(vS,{"aria-label":(0,d.__)("Year"),className:"components-datetime__time-field-year-input",type:"number",name:"year",step:1,min:0,max:9999,value:u,onUpdate:v})))),(0,s.createElement)("fieldset",null,(0,s.createElement)("legend",{className:"components-datetime__time-legend invisible"},(0,d.__)("Time")),(0,s.createElement)("div",{className:"components-datetime__time-wrapper"},(0,s.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},(0,s.createElement)(vS,{"aria-label":(0,d.__)("Hours"),className:"components-datetime__time-field-hours-input",type:"number",name:"hours",step:1,min:t?1:0,max:t?12:23,value:p,onUpdate:v}),(0,s.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),(0,s.createElement)(vS,{"aria-label":(0,d.__)("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",name:"minutes",step:1,min:0,max:59,value:f,onUpdate:v})),t&&(0,s.createElement)(Pg,{className:"components-datetime__time-field components-datetime__time-field-am-pm"},(0,s.createElement)(Vn,{variant:"AM"===h?"primary":"secondary",onClick:g("AM"),className:"components-datetime__time-am-button"},(0,d.__)("AM")),(0,s.createElement)(Vn,{variant:"PM"===h?"primary":"secondary",onClick:g("PM"),className:"components-datetime__time-pm-button"},(0,d.__)("PM"))),(0,s.createElement)(hS,null))))};var yS=(0,s.forwardRef)((function(e,t){let{currentDate:n,is12Hour:r,isInvalidDate:o,onMonthPreviewed:i=l.noop,onChange:a,events:u}=e;const[c,f]=(0,s.useState)(!1);return(0,s.createElement)("div",{ref:t,className:"components-datetime"},!c&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(gS,{currentTime:n,onChange:a,is12Hour:r}),(0,s.createElement)(fS,{currentDate:n,onChange:a,isInvalidDate:o,events:u,onMonthPreviewed:i})),c&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"components-datetime__calendar-help"},(0,s.createElement)("h4",null,(0,d.__)("Click to Select")),(0,s.createElement)("ul",null,(0,s.createElement)("li",null,(0,d.__)("Click the right or left arrows to select other months in the past or the future.")),(0,s.createElement)("li",null,(0,d.__)("Click the desired day to select it."))),(0,s.createElement)("h4",null,(0,d.__)("Navigating with a keyboard")),(0,s.createElement)("ul",null,(0,s.createElement)("li",null,(0,s.createElement)("abbr",{"aria-label":(0,d._x)("Enter","keyboard button")},"↵")," ",(0,s.createElement)("span",null,(0,d.__)("Select the date in focus."))),(0,s.createElement)("li",null,(0,s.createElement)("abbr",{"aria-label":(0,d.__)("Left and Right Arrows")},"←/→")," ",(0,d.__)("Move backward (left) or forward (right) by one day.")),(0,s.createElement)("li",null,(0,s.createElement)("abbr",{"aria-label":(0,d.__)("Up and Down Arrows")},"↑/↓")," ",(0,d.__)("Move backward (up) or forward (down) by one week.")),(0,s.createElement)("li",null,(0,s.createElement)("abbr",{"aria-label":(0,d.__)("Page Up and Page Down")},(0,d.__)("PgUp/PgDn"))," ",(0,d.__)("Move backward (PgUp) or forward (PgDn) by one month.")),(0,s.createElement)("li",null,(0,s.createElement)("abbr",{"aria-label":(0,d.__)("Home and End")},(0,d.__)("Home/End"))," ",(0,d.__)("Go to the first (Home) or last (End) day of a week."))))),(0,s.createElement)("div",{className:"components-datetime__buttons"},!c&&n&&(0,s.createElement)(Vn,{className:"components-datetime__date-reset-button",variant:"link",onClick:()=>a(null)},(0,d.__)("Reset")),(0,s.createElement)(Vn,{className:"components-datetime__date-help-toggle",variant:"link",onClick:function(){f(!c)}},c?(0,d.__)("Close"):(0,d.__)("Calendar Help"))))}));var bS=[{name:(0,d._x)("None","Size of a UI element"),slug:"none"},{name:(0,d._x)("Small","Size of a UI element"),slug:"small"},{name:(0,d._x)("Medium","Size of a UI element"),slug:"medium"},{name:(0,d._x)("Large","Size of a UI element"),slug:"large"},{name:(0,d._x)("Extra Large","Size of a UI element"),slug:"xlarge"}];var wS=function(e){const{label:t,value:n,sizes:r=bS,icon:o,onChange:i,className:a=""}=e,u=(0,s.createElement)(s.Fragment,null,o&&(0,s.createElement)(Ve,{icon:o}),t);return(0,s.createElement)(zy,{className:c()(a,"block-editor-dimension-control"),label:u,hideLabelFromVision:!1,value:n,onChange:e=>{const t=((e,t)=>e.find((e=>t===e.slug)))(r,e);t&&n!==t.slug?(0,l.isFunction)(i)&&i(t.slug):i(void 0)},options:(e=>{const t=e.map((e=>{let{name:t,slug:n}=e;return{label:t,value:n}}));return[{label:(0,d.__)("Default"),value:""}].concat(t)})(r)})};const _S=Fn("div",{target:"e1ac3xxk0"})({name:"u2jump",styles:"position:relative;pointer-events:none;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;}*{pointer-events:none;}"}),xS=(0,s.createContext)(!1),{Consumer:ES,Provider:kS}=xS,SS=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"];function CS(e){let{className:t,children:n,isDisabled:r=!0,...o}=e;const i=(0,s.useRef)(null),u=()=>{i.current&&Re.focus.focusable.find(i.current).forEach((e=>{(0,l.includes)(SS,e.nodeName)&&e.setAttribute("disabled",""),"A"===e.nodeName&&e.setAttribute("tabindex","-1");const t=e.getAttribute("tabindex");null!==t&&"-1"!==t&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))},d=(0,s.useCallback)((0,l.debounce)(u,void 0,{leading:!0}),[]);return(0,s.useLayoutEffect)((()=>{if(!r)return;let e;return u(),i.current&&(e=new window.MutationObserver(d),e.observe(i.current,{childList:!0,attributes:!0,subtree:!0})),()=>{e&&e.disconnect(),d.cancel()}}),[]),r?(0,s.createElement)(kS,{value:!0},(0,s.createElement)(_S,a({ref:i,className:c()(t,"components-disabled")},o),n)):(0,s.createElement)(kS,{value:!1},n)}CS.Context=xS,CS.Consumer=ES;var PS=CS;const OS="is-dragging-components-draggable";function MS(e){let{children:t,onDragStart:n,onDragOver:r,onDragEnd:o,cloneClassname:i,elementId:a,transferData:u,__experimentalTransferDataType:c="text",__experimentalDragComponent:d}=e;const f=(0,s.useRef)(null),p=(0,s.useRef)((()=>{}));return(0,s.useEffect)((()=>()=>{p.current()}),[]),(0,s.createElement)(s.Fragment,null,t({onDraggableStart:function(e){const{ownerDocument:t}=e.target;e.dataTransfer.setData(c,JSON.stringify(u));const o=t.createElement("div");o.style.top=0,o.style.left=0;const s=t.createElement("div");"function"==typeof e.dataTransfer.setDragImage&&(s.classList.add("components-draggable__invisible-drag-image"),t.body.appendChild(s),e.dataTransfer.setDragImage(s,0,0)),o.classList.add("components-draggable__clone"),i&&o.classList.add(i);let d=0,h=0;if(f.current){d=e.clientX,h=e.clientY,o.style.transform=`translate( ${d}px, ${h}px )`;const n=t.createElement("div");n.innerHTML=f.current.innerHTML,o.appendChild(n),t.body.appendChild(o)}else{const e=t.getElementById(a),n=e.getBoundingClientRect(),r=e.parentNode,i=parseInt(n.top,10),s=parseInt(n.left,10);o.style.width=`${n.width+0}px`;const l=e.cloneNode(!0);l.id=`clone-${a}`,d=s-0,h=i-0,o.style.transform=`translate( ${d}px, ${h}px )`,Array.from(l.querySelectorAll("iframe")).forEach((e=>e.parentNode.removeChild(e))),o.appendChild(l),r.appendChild(o)}let m=e.clientX,v=e.clientY;const g=(0,l.throttle)((function(e){if(m===e.clientX&&v===e.clientY)return;const t=d+e.clientX-m,n=h+e.clientY-v;o.style.transform=`translate( ${t}px, ${n}px )`,m=e.clientX,v=e.clientY,d=t,h=n,r&&r(e)}),16);let y;t.addEventListener("dragover",g),t.body.classList.add(OS),e.persist(),n&&(y=setTimeout((()=>n(e)))),p.current=()=>{o&&o.parentNode&&o.parentNode.removeChild(o),s&&s.parentNode&&s.parentNode.removeChild(s),t.body.classList.remove(OS),t.removeEventListener("dragover",g),clearTimeout(y)}},onDraggableEnd:function(e){e.preventDefault(),p.current(),o&&o(e)}}),d&&(0,s.createElement)("div",{className:"components-draggable-drag-component-root",style:{display:"none"},ref:f},d))}var TS=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));var DS=0;function IS(){var e=DS;return DS++,e}var AS=function(e){var t=e.children,n=e.initial,r=e.isPresent,o=e.onExitComplete,i=e.custom,a=e.presenceAffectsLayout,s=Ni(RS),l=Ni(IS),u=(0,b.useMemo)((function(){return{id:l,initial:n,isPresent:r,custom:i,onExitComplete:function(e){s.set(e,!0);var t=!0;s.forEach((function(e){e||(t=!1)})),t&&(null==o||o())},register:function(e){return s.set(e,!1),function(){return s.delete(e)}}}}),a?void 0:[r]);return(0,b.useMemo)((function(){s.forEach((function(e,t){return s.set(t,!1)}))}),[r]),b.useEffect((function(){!r&&!s.size&&(null==o||o())}),[r]),b.createElement(Ri.Provider,{value:u},t)};function RS(){return new Map}function NS(e){return e.key||""}var LS=function(e){var t=e.children,n=e.custom,r=e.initial,o=void 0===r||r,i=e.onExitComplete,a=e.exitBeforeEnter,s=e.presenceAffectsLayout,l=void 0===s||s,u=function(){var e=(0,b.useRef)(!1),t=Si((0,b.useState)(0),2),n=t[0],r=t[1];return Ls((function(){return e.current=!0})),(0,b.useCallback)((function(){!e.current&&r(n+1)}),[n])}(),c=(0,b.useContext)(Bd);Vd(c)&&(u=c.forceUpdate);var d=(0,b.useRef)(!0),f=function(e){var t=[];return b.Children.forEach(e,(function(e){(0,b.isValidElement)(e)&&t.push(e)})),t}(t),p=(0,b.useRef)(f),h=(0,b.useRef)(new Map).current,m=(0,b.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=NS(e);t.set(n,e)}))}(f,h),d.current)return d.current=!1,b.createElement(b.Fragment,null,f.map((function(e){return b.createElement(AS,{key:NS(e),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:l},e)})));for(var v=Ci([],Si(f)),g=p.current.map(NS),y=f.map(NS),w=g.length,_=0;_<w;_++){var x=g[_];-1===y.indexOf(x)?m.add(x):m.delete(x)}return a&&m.size&&(v=[]),m.forEach((function(e){if(-1===y.indexOf(e)){var t=h.get(e);if(t){var r=g.indexOf(e);v.splice(r,0,b.createElement(AS,{key:NS(t),isPresent:!1,onExitComplete:function(){h.delete(e),m.delete(e);var t=p.current.findIndex((function(t){return t.key===e}));p.current.splice(t,1),m.size||(p.current=f,u(),i&&i())},custom:n,presenceAffectsLayout:l},t))}}})),v=v.map((function(e){var t=e.key;return m.has(t)?e:b.createElement(AS,{key:NS(e),isPresent:!0,presenceAffectsLayout:l},e)})),p.current=v,b.createElement(b.Fragment,null,m.size?v:v.map((function(e){return(0,b.cloneElement)(e)})))};function FS(e){let{className:t,label:n,onFilesDrop:r,onHTMLDrop:o,onDrop:i}=e;const[a,u]=(0,s.useState)(),[p,h]=(0,s.useState)(),[m,v]=(0,s.useState)(),g=(0,f.__experimentalUseDropZone)({onDrop(e){const t=(0,Re.getFilesFromDataTransfer)(e.dataTransfer),n=e.dataTransfer.getData("text/html");t.length&&r?r(t):n&&o?o(n):i&&i(e)},onDragStart(e){u(!0);let t="default";(0,l.includes)(e.dataTransfer.types,"Files")||(0,Re.getFilesFromDataTransfer)(e.dataTransfer).length>0?t="file":(0,l.includes)(e.dataTransfer.types,"text/html")&&(t="html"),v(t)},onDragEnd(){u(!1),v()},onDragEnter(){h(!0)},onDragLeave(){h(!1)}}),y=(0,f.useReducedMotion)();let b;const w={hidden:{scaleY:0,opacity:0},show:{scaleY:1,opacity:1,transition:{type:"tween",duration:.2,delay:.1,delayChildren:.2}},exit:{scaleY:1,opacity:0,transition:{duration:.3,delayChildren:0}}},_={hidden:{opacity:0,scale:.75},show:{opacity:1,scale:1},exit:{opacity:0,scale:.9}};p&&(b=(0,s.createElement)(Ef.div,{variants:w,initial:y?"show":"hidden",animate:"show",exit:y?"show":"exit",className:"components-drop-zone__content"},(0,s.createElement)(Ef.div,{variants:_},(0,s.createElement)(xy,{icon:TS,className:"components-drop-zone__content-icon"}),(0,s.createElement)("span",{className:"components-drop-zone__content-text"},n||(0,d.__)("Drop files to upload")))));const x=c()("components-drop-zone",t,{"is-active":(a||p)&&("file"===m&&r||"html"===m&&o||"default"===m&&i),"is-dragging-over-document":a,"is-dragging-over-element":p,[`is-dragging-${m}`]:!!m});return(0,s.createElement)("div",{ref:g,className:x},y?b:(0,s.createElement)(LS,null,b))}function jS(e){let{children:t}=e;return Be()("wp.components.DropZoneProvider",{hint:"wp.component.DropZone no longer needs a provider. wp.components.DropZoneProvider is safe to remove from your code."}),t}var zS=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M5 17.7c.4.5.8.9 1.2 1.2l1.1-1.4c-.4-.3-.7-.6-1-1L5 17.7zM5 6.3l1.4 1.1c.3-.4.6-.7 1-1L6.3 5c-.5.4-.9.8-1.3 1.3zm.1 7.8l-1.7.5c.2.6.4 1.1.7 1.6l1.5-.8c-.2-.4-.4-.8-.5-1.3zM4.8 12v-.7L3 11.1v1.8l1.7-.2c.1-.2.1-.5.1-.7zm3 7.9c.5.3 1.1.5 1.6.7l.5-1.7c-.5-.1-.9-.3-1.3-.5l-.8 1.5zM19 6.3c-.4-.5-.8-.9-1.2-1.2l-1.1 1.4c.4.3.7.6 1 1L19 6.3zm-.1 3.6l1.7-.5c-.2-.6-.4-1.1-.7-1.6l-1.5.8c.2.4.4.8.5 1.3zM5.6 8.6l-1.5-.8c-.3.5-.5 1-.7 1.6l1.7.5c.1-.5.3-.9.5-1.3zm2.2-4.5l.8 1.5c.4-.2.8-.4 1.3-.5l-.5-1.7c-.6.2-1.1.4-1.6.7zm8.8 13.5l1.1 1.4c.5-.4.9-.8 1.2-1.2l-1.4-1.1c-.2.3-.5.6-.9.9zm1.8-2.2l1.5.8c.3-.5.5-1.1.7-1.6l-1.7-.5c-.1.5-.3.9-.5 1.3zm2.6-4.3l-1.7.2v1.4l1.7.2V12v-.9zM11.1 3l.2 1.7h1.4l.2-1.7h-1.8zm3 2.1c.5.1.9.3 1.3.5l.8-1.5c-.5-.3-1.1-.5-1.6-.7l-.5 1.7zM12 19.2h-.7l-.2 1.8h1.8l-.2-1.7c-.2-.1-.5-.1-.7-.1zm2.1-.3l.5 1.7c.6-.2 1.1-.4 1.6-.7l-.8-1.5c-.4.2-.8.4-1.3.5z"}));var BS=function(e){let{fill:t}=e;return t?(0,s.createElement)("span",{className:"components-swatch",style:{background:t}}):(0,s.createElement)(Ve,{icon:zS})};function HS(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"90deg";const n=100/e.length,r=e.map(((e,t)=>`${e} ${t*n}%, ${e} ${(t+1)*n}%`)).join(", ");return`linear-gradient( ${t}, ${r} )`}co([fo]);var VS=function(e){let{values:t}=e;return(0,s.createElement)(BS,{fill:t&&HS(t,"135deg")})};function WS(e){let{label:t,value:n,colors:r,disableCustomColors:o,enableAlpha:i,onChange:a}=e;const[l,u]=(0,s.useState)(!1);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Vn,{className:"components-color-list-picker__swatch-button",icon:(0,s.createElement)(BS,{fill:n}),onClick:()=>u((e=>!e))},t),l&&(0,s.createElement)(Bx,{className:"components-color-list-picker__color-picker",colors:r,value:n,clearable:!1,onChange:a,disableCustomColors:o,enableAlpha:i}))}var US=function(e){let{colors:t,labels:n,value:r=[],disableCustomColors:o,enableAlpha:i,onChange:a}=e;return(0,s.createElement)("div",{className:"components-color-list-picker"},n.map(((e,n)=>(0,s.createElement)(WS,{key:n,label:e,value:r[n],colors:t,disableCustomColors:o,enableAlpha:i,onChange:e=>{const t=r.slice();t[n]=e,a(t)}}))))};const $S=["#333","#CCC"];function KS(e){let{value:t,onChange:n}=e;const r=!!t,o=r?t:$S,i=HS(o),a=(l=o).map(((e,t)=>({position:100*t/(l.length-1),color:e})));var l;return(0,s.createElement)(Jx,{disableInserter:!0,background:i,hasGradient:r,value:a,onChange:e=>{const t=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>{let{color:t}=e;return t}))}(e);n(t)}})}var GS=function(e){let{clearable:t=!0,colorPalette:n,duotonePalette:r,disableCustomColors:o,disableCustomDuotone:i,value:a,onChange:u}=e;const[c,f]=(0,s.useMemo)((()=>{return!(e=n)||e.length<2?["#000","#fff"]:e.map((e=>{let{color:t}=e;return{color:t,brightness:lo(t).brightness()}})).reduce(((e,t)=>{let[n,r]=e;return[t.brightness<=n.brightness?t:n,t.brightness>=r.brightness?t:r]}),[{brightness:1},{brightness:0}]).map((e=>{let{color:t}=e;return t}));var e}),[n]);return(0,s.createElement)(Ix,{options:r.map((e=>{let{colors:t,slug:n,name:r}=e;const o={background:HS(t,"135deg"),color:"transparent"},i=null!=r?r:(0,d.sprintf)((0,d.__)("Duotone code: %s"),n),c=r?(0,d.sprintf)((0,d.__)("Duotone: %s"),r):i,f=(0,l.isEqual)(t,a);return(0,s.createElement)(Ix.Option,{key:n,value:t,isSelected:f,"aria-label":c,tooltipText:i,style:o,onClick:()=>{u(f?void 0:t)}})})),actions:!!t&&(0,s.createElement)(Ix.ButtonAction,{onClick:()=>u(void 0)},(0,d.__)("Clear"))},!o&&!i&&(0,s.createElement)(KS,{value:a,onChange:u}),!i&&(0,s.createElement)(US,{labels:[(0,d.__)("Shadows"),(0,d.__)("Highlights")],colors:n,value:a,disableCustomColors:o,enableAlpha:!0,onChange:e=>{e[0]||(e[0]=c),e[1]||(e[1]=f);const t=e.length>=2?e:void 0;u(t)}}))};var qS=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));const YS=Fn(xy,{target:"etxm6pv0"})({name:"bqq7t3",styles:"width:1.4em;height:1.4em;margin:-0.2em 0.1em 0;vertical-align:middle;fill:currentColor"});var XS=(0,s.forwardRef)((function(e,t){let{href:n,children:r,className:o,rel:i="",...u}=e;i=(0,l.uniq)((0,l.compact)([...i.split(" "),"external","noreferrer","noopener"])).join(" ");const f=c()("components-external-link",o);return(0,s.createElement)("a",a({},u,{className:f,href:n,target:"_blank",rel:i,ref:t}),r,(0,s.createElement)(Bn,{as:"span"},(0,d.__)("(opens in a new tab)")),(0,s.createElement)(YS,{icon:qS,className:"components-external-link__icon"}))})),ZS=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","modal","unstable_disclosureRef","setModal","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","place"],JS=([].concat(ZS,["size"]),ZS),QS=["baseId","unstable_idCountRef","visible","animated","animating","setBaseId","show","hide","toggle","setVisible","setAnimated","stopAnimation","modal","unstable_disclosureRef","setModal"],eC=[].concat(QS,["hideOnEsc","hideOnClickOutside","preventBodyScroll","unstable_initialFocusRef","unstable_finalFocusRef","unstable_orphan","unstable_autoFocusOnShow","unstable_autoFocusOnHide"]),tC=QS,nC=H({name:"Button",compose:me,keys:[],useProps:function(e,t){var n=t.ref,r=v(t,["ref"]),o=(0,b.useRef)(null),i=(0,b.useState)(void 0),a=i[0],s=i[1],l=(0,b.useState)("button"),u=l[0],c=l[1];return(0,b.useEffect)((function(){var e=o.current;e&&(te(e)||("A"!==e.tagName&&s("button"),c(void 0)))}),[]),m({ref:W(o,n),role:a,type:u},r)}}),rC=(z({as:"button",memo:!0,useHook:nC}),H({name:"Disclosure",compose:nC,keys:Zw,useProps:function(e,t){var n=t.onClick,r=t["aria-controls"],o=v(t,["onClick","aria-controls"]),i=q(n),a=r?r+" "+e.baseId:e.baseId,s=(0,b.useCallback)((function(t){var n,r;null===(n=i.current)||void 0===n||n.call(i,t),t.defaultPrevented||null===(r=e.toggle)||void 0===r||r.call(e)}),[e.toggle]);return m({"aria-expanded":!!e.visible,"aria-controls":a,onClick:s},o)}})),oC=(z({as:"button",memo:!0,useHook:rC}),H({name:"DialogDisclosure",compose:rC,keys:tC,useProps:function(e,t){var n=t.ref,r=t.onClick,o=v(t,["ref","onClick"]),i=(0,b.useRef)(null),a=q(r),s=(0,b.useState)(!1),l=s[0],u=s[1],c=e.unstable_disclosureRef;G((function(){var t=i.current;c&&!c.current&&(c.current=t);var n=!(null!=c&&c.current)||c.current===t;u(!!e.visible&&n)}),[e.visible,c]);var d=(0,b.useCallback)((function(e){var t;null===(t=a.current)||void 0===t||t.call(a,e),e.defaultPrevented||c&&(c.current=e.currentTarget)}),[c]);return m({ref:W(i,n),"aria-haspopup":"dialog","aria-expanded":l,onClick:d},o)}})),iC=(z({as:"button",memo:!0,useHook:oC}),H({name:"PopoverDisclosure",compose:oC,keys:JS,useProps:function(e,t){var n=t.ref,r=v(t,["ref"]);return m({ref:W(e.unstable_referenceRef,n)},r)}})),aC=z({as:"button",memo:!0,useHook:iC});const sC=(0,s.createContext)({});var lC=n(235),uC=n.n(lC);function cC(e,t){var n=(0,b.useRef)(!1);(0,b.useEffect)((function(){if(n.current)return e();n.current=!0}),t)}function dC(e,t){var n=e.indexOf(t);return function(e,t){return-1===t?e:[].concat(e.slice(0,t),e.slice(t+1))}(e,n)}var fC=(0,b.createContext)(null);var pC=!1;if("undefined"!=typeof window){var hC={get passive(){pC=!0}};window.addEventListener("testPassive",null,hC),window.removeEventListener("testPassive",null,hC)}var mC="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),vC=[],gC=!1,yC=-1,bC=void 0,wC=void 0,_C=function(e){return vC.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},xC=function(e){var t=e||window.event;return!!_C(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},EC=function(){void 0!==wC&&(document.body.style.paddingRight=wC,wC=void 0),void 0!==bC&&(document.body.style.overflow=bC,bC=void 0)},kC=function(e,t){if(e){if(!vC.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};vC=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(vC),[n]),mC?(e.ontouchstart=function(e){1===e.targetTouches.length&&(yC=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-yC;!_C(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?xC(e):e.stopPropagation())}(t,e)},gC||(document.addEventListener("touchmove",xC,pC?{passive:!1}:void 0),gC=!0)):function(e){if(void 0===wC){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(wC=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===bC&&(bC=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")};var SC=(0,b.createContext)(void 0);function CC(e,t){var n=Boolean(t.preventBodyScroll&&t.visible);(0,b.useEffect)((function(){var t=e.current;if(t&&n)return kC(t,{reserveScrollBarGap:!0}),function(){var e;(e=t)?(vC=vC.filter((function(t){return t.targetElement!==e})),mC?(e.ontouchstart=null,e.ontouchmove=null,gC&&0===vC.length&&(document.removeEventListener("touchmove",xC,pC?{passive:!1}:void 0),gC=!1)):vC.length||EC()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}}),[e,n])}function PC(e,t){var n=(0,b.useRef)(null);return(0,b.useEffect)((function(){var r=e.current;r&&t.visible&&(n.current=function(e,t){if("closest"in e)return e.closest(t);do{if(re(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}(r,r_.__selector))}),[e,t.visible]),n}function OC(e){null!=e.parentNode&&e.parentNode.removeChild(e)}var MC="__reakit-focus-trap";function TC(e,t,n){var r=PC(e,n),o=n.visible&&n.modal,i=(0,b.useRef)(null),a=(0,b.useRef)(null);(0,b.useEffect)((function(){if(o){var e=r.current;if(e){if(!i.current){var t=U(e);i.current=t.createElement("div"),i.current.className=MC,i.current.tabIndex=0,i.current.style.position="fixed",i.current.setAttribute("aria-hidden","true")}return a.current||(a.current=i.current.cloneNode()),e.insertAdjacentElement("beforebegin",i.current),e.insertAdjacentElement("afterend",a.current),function(){i.current&&OC(i.current),a.current&&OC(a.current)}}}}),[r,o]),(0,b.useEffect)((function(){var n=i.current,r=a.current;if(o&&n&&r){var s=function(n){var o=e.current;if(o&&!t.length){n.preventDefault();var i=n.target===r?le(o):function(e,t){var n=se(e,t);return n[n.length-1]||null}(o);i?i.focus():o.focus()}};return n.addEventListener("focus",s),r.addEventListener("focus",s),function(){n.removeEventListener("focus",s),r.removeEventListener("focus",s)}}}),[e,t,o])}function DC(e,t,n){var r=n.unstable_autoFocusOnHide&&!n.visible,o=!(!n.animated||!n.animating);cC((function(){var i;if(r&&!o&&!function(e){var t=e.current;if(!t)return!1;var n=X(t);return!(!n||Z(t,n)||!ae(n)&&"true"!==n.getAttribute("data-dialog"))}(e)){var a=(null===(i=n.unstable_finalFocusRef)||void 0===i?void 0:i.current)||t.current;if(a){if(a.id){var s=U(a).querySelector("[aria-activedescendant='"+a.id+"']");if(s)return void Se(s)}Se(a)}else;}}),[r,o,e,t])}var IC=(0,b.createContext)({});function AC(e,t,n,r,o,i,a){var s=q(o);(0,b.useEffect)((function(){if(i){var o=function(r){if(s.current){var o,i=e.current,a=t.current,l=r.target;if(i)if(function(e){var t=U(e);return"HTML"===e.tagName||Z(t.body,e)}(l))if(!Z(i,l))if(!a||!function(e,t){return Z(t,e)}(l,a))if(!(null===(o=l.classList)||void 0===o?void 0:o.contains(MC))&&!n.some(function(e){return function(t){var n=t.current;if(!n)return!1;if(Z(n,e))return!0;var r=U(n).querySelector('[data-dialog-ref="'+n.id+'"]');return!!r&&Z(r,e)}}(l)))s.current(r)}},l=U(e.current);return l.addEventListener(r,o,a),function(){return l.removeEventListener(r,o,a)}}}),[e,t,n,r,i,s])}function RC(e,t,n,r){var o=function(e,t){var n=(0,b.useRef)();return(0,b.useEffect)((function(){if(t.visible&&t.hideOnClickOutside){var r=U(e.current),o=function(e){n.current=e.target};return r.addEventListener("mousedown",o),function(){return r.removeEventListener("mousedown",o)}}}),[t.visible,t.hideOnClickOutside,e]),n}(e,r);AC(e,t,n,"click",(function(e){var t;o.current===e.target&&(null===(t=r.hide)||void 0===t||t.call(r))}),r.visible&&r.hideOnClickOutside),AC(e,t,n,"focusin",(function(t){var n,o=U(e.current);t.target!==o&&t.target!==o.body&&(null===(n=r.hide)||void 0===n||n.call(r))}),r.visible&&r.hideOnClickOutside)}function NC(e,t){(0,b.useEffect)((function(){var n=e.current;if(t.visible&&n){var r=new MutationObserver((function(e){if(e[0].target===n){var t,r=U(n),o=X(n);o!==r.body&&(t=o,Array.isArray(t)?t.length:A(t)?Object.keys(t).length:null!=t&&""!==t)||n.focus()}}));return r.observe(n,{childList:!0,subtree:!0}),function(){r.disconnect()}}}),[t.visible,e])}function LC(e){return e&&e.tagName&&"HTML"!==e.tagName&&e!==U(e).body}var FC=H({name:"Dialog",compose:Jw,keys:eC,useOptions:function(e){var t=e.modal,n=void 0===t||t,r=e.hideOnEsc,o=void 0===r||r,i=e.hideOnClickOutside,a=void 0===i||i,s=e.preventBodyScroll,l=void 0===s?n:s,u=e.unstable_autoFocusOnShow,c=void 0===u||u,d=e.unstable_autoFocusOnHide,f=void 0===d||d,p=e.unstable_orphan;return m({modal:n,hideOnEsc:o,hideOnClickOutside:a,preventBodyScroll:n&&l,unstable_autoFocusOnShow:c,unstable_autoFocusOnHide:f,unstable_orphan:n&&p},v(e,["modal","hideOnEsc","hideOnClickOutside","preventBodyScroll","unstable_autoFocusOnShow","unstable_autoFocusOnHide","unstable_orphan"]))},useProps:function(e,t){var n=t.ref,r=t.onKeyDown,o=t.onBlur,i=t.wrapElement,a=t.tabIndex,s=v(t,["ref","onKeyDown","onBlur","wrapElement","tabIndex"]),l=(0,b.useRef)(null),u=(0,b.useContext)(SC),c=u&&u===e.baseId,d=function(e,t){var n=(0,b.useRef)(null),r=!(!t.animated||!t.animating);return(0,b.useEffect)((function(){if(!t.visible&&!r){var o=function(e){var r=e.target;"focus"in r&&(n.current=r,t.unstable_disclosureRef&&(t.unstable_disclosureRef.current=r))},i=U(e.current);return i.addEventListener("focusin",o),function(){return i.removeEventListener("focusin",o)}}}),[t.visible,r,t.unstable_disclosureRef,e]),(0,b.useEffect)((function(){var e;if(t.visible&&!r){var o=function(e){var t=e.currentTarget;te(t)&&(e.preventDefault(),t.focus())},i=(null===(e=t.unstable_disclosureRef)||void 0===e?void 0:e.current)||n.current;return null==i||i.addEventListener("mousedown",o),function(){return null==i?void 0:i.removeEventListener("mousedown",o)}}}),[t.visible,r,t.unstable_disclosureRef]),t.unstable_disclosureRef||n}(l,e),f=q(r),p=q(o),h=function(e,t){var n=(0,b.useReducer)((function(e){return e+1}),0),r=n[0],o=n[1];return G((function(){var n=e.current;t.visible&&r&&(LC(X(n))||null==n||n.focus())}),[r,e]),(0,b.useCallback)((function(e){t.visible&&(LC(si(e))||o())}),[t.visible])}(l,e),g=function(e,t){var n=(0,b.useContext)(IC),r=(0,b.useState)([]),o=r[0],i=r[1],a=(0,b.useState)(o),s=a[0],l=a[1],u=(0,b.useCallback)((function(e){var t;null===(t=n.addDialog)||void 0===t||t.call(n,e),i((function(t){return[].concat(t,[e])}))}),[n.addDialog]),c=(0,b.useCallback)((function(e){var t;null===(t=n.removeDialog)||void 0===t||t.call(n,e),i((function(t){return dC(t,e)}))}),[n.removeDialog]),d=(0,b.useCallback)((function(e){var t;null===(t=n.showDialog)||void 0===t||t.call(n,e),l((function(t){return[].concat(t,[e])}))}),[n.showDialog]),f=(0,b.useCallback)((function(e){var t;null===(t=n.hideDialog)||void 0===t||t.call(n,e),l((function(t){return dC(t,e)}))}),[n.hideDialog]);(0,b.useEffect)((function(){var r;if(!t.unstable_orphan)return null===(r=n.addDialog)||void 0===r||r.call(n,e),function(){var t;null===(t=n.removeDialog)||void 0===t||t.call(n,e)}}),[t.unstable_orphan,n.addDialog,e,n.removeDialog]),(0,b.useEffect)((function(){var r;if(!t.unstable_orphan&&t.modal&&t.visible)return null===(r=n.showDialog)||void 0===r||r.call(n,e),function(){var t;null===(t=n.hideDialog)||void 0===t||t.call(n,e)}}),[t.unstable_orphan,t.modal,t.visible,n.showDialog,e,n.hideDialog]),(0,b.useEffect)((function(){var e;!1===n.visible&&t.visible&&!t.unstable_orphan&&(null===(e=t.hide)||void 0===e||e.call(t))}),[n.visible,t.visible,t.hide,t.unstable_orphan]);var p=(0,b.useMemo)((function(){return{visible:t.visible,addDialog:u,removeDialog:c,showDialog:d,hideDialog:f}}),[t.visible,u,c,d,f]);return{dialogs:o,visibleModals:s,wrap:(0,b.useCallback)((function(e){return(0,b.createElement)(IC.Provider,{value:p},e)}),[p])}}(l,e),y=g.dialogs,w=g.visibleModals,_=g.wrap,x=!(!e.modal||w.length)||void 0;CC(l,e),TC(l,w,e),NC(l,e),function(e,t,n){var r=n.unstable_initialFocusRef,o=n.visible&&n.unstable_autoFocusOnShow,i=!(!n.animated||!n.animating);cC((function(){var n=e.current;if(o&&n&&!i&&!t.some((function(e){return e.current&&!e.current.hidden})))if(null!=r&&r.current)r.current.focus({preventScroll:!0});else{Se(le(n,!0)||n,{preventScroll:!0,isActive:function(){return J(n)}})}}),[e,o,i,t,r])}(l,y,e),DC(l,d,e),RC(l,d,y,e),function(e,t,n){var r=function(r){return AC(e,{current:null},t,r,(function(e){e.stopPropagation(),e.preventDefault()}),n.visible&&n.modal,!0)};r("mouseover"),r("mousemove"),r("mouseout")}(l,y,e);var E=(0,b.useCallback)((function(t){var n;null===(n=f.current)||void 0===n||n.call(f,t),t.defaultPrevented||"Escape"===t.key&&e.hideOnEsc&&e.hide&&(t.stopPropagation(),e.hide())}),[e.hideOnEsc,e.hide]),k=(0,b.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),h(e)}),[h]),S=(0,b.useCallback)((function(t){return t=_(t),e.modal&&!c&&(t=(0,b.createElement)(r_,null,t)),i&&(t=i(t)),(0,b.createElement)(fC.Provider,{value:null},t)}),[_,e.modal,c,i]);return m({ref:W(l,n),role:"dialog",tabIndex:null!=a?a:-1,"aria-modal":x,"data-dialog":!0,onKeyDown:E,onBlur:k,wrapElement:S},s)}}),jC=(z({as:"div",useHook:FC,useCreateElement:function(e,t,n){return M(e,t,n)}}),H({name:"Popover",compose:FC,keys:ZS,useOptions:function(e){var t=e.modal;return m({modal:void 0!==t&&t},v(e,["modal"]))},useProps:function(e,t){var n=t.ref,r=t.style,o=v(t,["ref","style"]);return m({ref:W(e.unstable_popoverRef,n),style:m(m({},e.unstable_popoverStyles),r)},o)}}));const zC=Fn(z({as:"div",useHook:jC,useCreateElement:function(e,t,n){return M(e,t,n)}}),{target:"e1vtu5161"})("z-index:",1e4,";box-sizing:border-box;opacity:0;outline:none;position:relative;transform-origin:center center;transition:opacity ",ip.transitionDurationFastest," linear;width:100%;&[data-enter]{opacity:1;}&::before,&::after{display:none;}"),BC=Fn(iy,{target:"e1vtu5160"})(py.selector,"{max-height:80vh;}");const HC=Pn((function(e,t){const{children:n,elevation:r,maxWidth:o,style:i={},...l}=Cn(e,"FlyoutContent"),{label:u,flyoutState:c}=(0,s.useContext)(sC);if(!c)throw new Error("`FlyoutContent` must only be used inside a `Flyout`.");const d=c.visible||c.animating;return(0,s.createElement)(zC,a({"aria-label":u,style:{maxWidth:o,...i}},l,c),d&&(0,s.createElement)(BC,{elevation:r,ref:t},n))}),"FlyoutContent");var VC=HC;const WC=Pn((function(e,t){const{children:n,elevation:r,label:o,maxWidth:i,onVisibleChange:l,trigger:u,flyoutState:c,...d}=function(e){const{animated:t=!0,animationDuration:n=160,baseId:r,elevation:o=5,id:i,maxWidth:a=360,placement:s,state:l,visible:u,...c}=Cn(e,"Flyout"),d=Uw({animated:t?n:void 0,baseId:r||i,placement:s,visible:u,...c}),f=l||d;return{...c,elevation:o,maxWidth:a,flyoutState:f}}(e),p=function(e){let{onResize:t}=e;const[n,r]=uC()();return(0,f.useIsomorphicLayoutEffect)((()=>{null==t||t()}),[r.width,r.height]),n}({onResize:c.unstable_update}),h=`flyout-${c.baseId}`,m=o||h,v=(0,s.useMemo)((()=>({label:m,flyoutState:c})),[m,c]),g=(0,s.useCallback)((e=>(0,s.cloneElement)(u,e)),[u]);return _m((()=>{null==l||l(c.visible)}),[c.visible]),(0,s.createElement)(sC.Provider,{value:v},u&&(0,s.createElement)(aC,a({},c,{ref:u.ref},u.props),g),(0,s.createElement)(r_,null,(0,s.createElement)(VC,a({ref:t},d,{elevation:r,maxWidth:i}),p,n)))}),"Flyout");var UC=WC;const $C=Fn("div",{target:"e11wezi78"})({name:"1g31405",styles:"background-color:transparent;box-sizing:border-box;text-align:center;width:100%"}),KC=Fn("div",{target:"e11wezi77"})({name:"v0nrlz",styles:"align-items:center;box-sizing:border-box;box-shadow:0 0 0 1px rgba( 0, 0, 0, 0.2 );cursor:pointer;display:inline-flex;justify-content:center;margin:auto;position:relative;height:100%;img,video{box-sizing:border-box;display:block;height:auto;margin:0;max-height:100%;max-width:100%;pointer-events:none;user-select:none;width:auto;}"}),GC=Fn("div",{target:"e11wezi76"})("background:",ko.lightGray[300],";box-sizing:border-box;height:170px;max-width:280px;min-width:200px;width:100%;"),qC=Fn(Sv,{target:"e11wezi75"})({name:"1pzk433",styles:"width:100px"}),YC=Fn($f,{target:"e11wezi74"})({name:"ox4xcy",styles:"max-width:320px;padding:1em 0"}),XC=Fn("div",{target:"e11wezi73"})("box-sizing:border-box;left:50%;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate3d( -50%, -50%, 0 );transition:opacity 120ms linear;z-index:1;",(e=>{let{isActive:t}=e;return t&&"\n\t\topacity: 1;\n\t"}),";"),ZC=Fn("div",{target:"e11wezi72"})({name:"1sy4ch9",styles:"box-sizing:border-box;background:white;box-shadow:0 0 2px rgba( 0, 0, 0, 0.6 );position:absolute;opacity:0.4;transform:translateZ( 0 )"}),JC=Fn(ZC,{target:"e11wezi71"})({name:"1qp910y",styles:"height:1px;left:0;right:0"}),QC=Fn(ZC,{target:"e11wezi70"})({name:"1oz3zka",styles:"width:1px;top:0;bottom:0"}),eP={top:0,left:0,bottom:0,right:0,width:0,height:0},tP=["avi","mpg","mpeg","mov","mp4","m4v","ogg","ogv","webm","wmv"];function nP(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=e.split(".");return t[t.length-1]}function rP(e){return Math.round(100*e)}function oP(e){let{onChange:t=l.noop,percentages:n={x:.5,y:.5}}=e;const r=rP(n.x),o=rP(n.y),i=(e,r)=>{const o=parseInt(e,10);isNaN(o)||t({...n,[r]:o/100})};return(0,s.createElement)(YC,{className:"focal-point-picker__controls"},(0,s.createElement)(iP,{label:(0,d.__)("Left"),value:r,onChange:e=>i(e,"x"),dragDirection:"e"}),(0,s.createElement)(iP,{label:(0,d.__)("Top"),value:o,onChange:e=>i(e,"y"),dragDirection:"s"}))}function iP(e){return(0,s.createElement)(qC,a({className:"focal-point-picker__controls-position-unit-control",labelPosition:"top",max:100,min:0,unit:"%",units:[{value:"%",label:"%"}]},e))}const aP=Fn("div",{target:"eas61re3"})("background-color:transparent;box-sizing:border-box;cursor:grab;height:30px;margin:-15px 0 0 -15px;opacity:0.8;position:absolute;user-select:none;width:30px;will-change:transform;z-index:10000;",(e=>{let{isDragging:t}=e;return t&&"cursor: grabbing;"}),";"),sP=Fn(i.SVG,{target:"eas61re2"})({name:"qkx60y",styles:"display:block;height:100%;left:0;position:absolute;top:0;width:100%"}),lP=Fn(i.Path,{target:"eas61re1"})({name:"1b3qpiw",styles:"fill:white"}),uP=Fn(i.Path,{target:"eas61re0"})("fill:",ko.blue.wordpress[700],";fill:",ko.ui.theme,";");function cP(e){let{coordinates:t={left:"50%",top:"50%"},...n}=e;const r=c()("components-focal-point-picker__icon_container"),o={left:t.left,top:t.top};return(0,s.createElement)(aP,a({},n,{className:r,style:o}),(0,s.createElement)(sP,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},(0,s.createElement)(lP,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),(0,s.createElement)(uP,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"})))}const{clearTimeout:dP,setTimeout:fP}="undefined"!=typeof window?window:{};function pP(e){let{bounds:t={},value:n,...r}=e;const o=function(e){const[t,n]=(0,s.useState)(!1);return _m((()=>{n(!0);const e=fP((()=>{n(!1)}),600);return()=>dP(e)}),[e]),{isActive:t}}(n),i={width:t.width,height:t.height};return(0,s.createElement)(XC,a({},r,o,{className:"components-focal-point-picker__grid",style:i}),(0,s.createElement)(JC,{style:{top:"33%"}}),(0,s.createElement)(JC,{style:{top:"66%"}}),(0,s.createElement)(QC,{style:{left:"33%"}}),(0,s.createElement)(QC,{style:{left:"66%"}}))}function hP(e){let{alt:t,autoPlay:n,src:r,onLoad:o=l.noop,mediaRef:i,muted:u=!0,...c}=e;if(!r)return(0,s.createElement)(mP,{className:"components-focal-point-picker__media components-focal-point-picker__media--placeholder",onLoad:o,mediaRef:i});const d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!!e&&tP.includes(nP(e))}(r);return d?(0,s.createElement)("video",a({},c,{autoPlay:n,className:"components-focal-point-picker__media components-focal-point-picker__media--video",loop:!0,muted:u,onLoadedData:o,ref:i,src:r})):(0,s.createElement)("img",a({},c,{alt:t,className:"components-focal-point-picker__media components-focal-point-picker__media--image",onLoad:o,ref:i,src:r}))}function mP(e){let{mediaRef:t,onLoad:n=l.noop,...r}=e;const o=(0,s.useRef)(n);return(0,s.useLayoutEffect)((()=>{window.requestAnimationFrame((()=>{o.current()}))}),[]),(0,s.createElement)(GC,a({ref:t},r))}class vP extends s.Component{constructor(e){super(...arguments),this.state={isDragging:!1,bounds:eP,percentages:e.value},this.containerRef=(0,s.createRef)(),this.mediaRef=(0,s.createRef)(),this.onMouseDown=this.startDrag.bind(this),this.onMouseUp=this.stopDrag.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseMove=this.doDrag.bind(this),this.ifDraggingStop=()=>{this.state.isDragging&&this.stopDrag()},this.onChangeAtControls=e=>{this.updateValue(e),this.props.onChange(e)},this.updateBounds=this.updateBounds.bind(this),this.updateValue=this.updateValue.bind(this)}componentDidMount(){const{defaultView:e}=this.containerRef.current.ownerDocument;e.addEventListener("resize",this.updateBounds),this.updateBounds()}componentDidUpdate(e){e.url!==this.props.url&&this.ifDraggingStop();const{isDragging:t,percentages:{x:n,y:r}}=this.state,{value:o}=this.props;t||o.x===n&&o.y===r||this.setState({percentages:this.props.value})}componentWillUnmount(){const{defaultView:e}=this.containerRef.current.ownerDocument;e.removeEventListener("resize",this.updateBounds),this.ifDraggingStop()}calculateBounds(){const e=eP;if(!this.mediaRef.current)return e;if(0===this.mediaRef.current.clientWidth||0===this.mediaRef.current.clientHeight)return e;const t=this.mediaRef.current.clientWidth,n=this.mediaRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,i=r.height/n;return i>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*i,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}updateValue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{x:t,y:n}=e,r={x:parseFloat(t).toFixed(2),y:parseFloat(n).toFixed(2)};this.setState({percentages:r})}updateBounds(){this.setState({bounds:this.calculateBounds()})}startDrag(e){var t,n;e.persist(),this.containerRef.current.focus(),this.setState({isDragging:!0});const{ownerDocument:r}=this.containerRef.current;r.addEventListener("mouseup",this.onMouseUp),r.addEventListener("mousemove",this.onMouseMove);const o=this.getValueFromPoint({x:e.pageX,y:e.pageY},e.shiftKey);this.updateValue(o),null===(t=(n=this.props).onDragStart)||void 0===t||t.call(n,o,e)}stopDrag(e){var t,n;const{ownerDocument:r}=this.containerRef.current;r.removeEventListener("mouseup",this.onMouseUp),r.removeEventListener("mousemove",this.onMouseMove),this.setState({isDragging:!1},(()=>{this.props.onChange(this.state.percentages)})),null===(t=(n=this.props).onDragEnd)||void 0===t||t.call(n,e)}onKeyDown(e){const{keyCode:t,shiftKey:n}=e;if(![tm.UP,tm.DOWN,tm.LEFT,tm.RIGHT].includes(t))return;e.preventDefault();const r={...this.state.percentages},o=n?.1:.01,i=t===tm.UP||t===tm.LEFT?-1*o:o,a=t===tm.UP||t===tm.DOWN?"y":"x",s=parseFloat(r[a])+i;r[a]=tv(s,0,1,o),this.updateValue(r),this.props.onChange(r)}doDrag(e){var t,n;e.preventDefault();const r=this.getValueFromPoint({x:e.pageX,y:e.pageY},e.shiftKey);this.updateValue(r),null===(t=(n=this.props).onDrag)||void 0===t||t.call(n,r,e)}getValueFromPoint(e,t){const{bounds:n}=this.state,r=this.pickerDimensions(),o={left:e.x-r.left,top:e.y-r.top},i=Math.max(n.left,Math.min(o.left,n.right)),a=Math.max(n.top,Math.min(o.top,n.bottom));let s=(i-n.left)/(r.width-2*n.left),l=(a-n.top)/(r.height-2*n.top);const u=t?.1:.01;return s=tv(s,0,1,u),l=tv(l,0,1,u),{x:s,y:l}}pickerDimensions(){const e=this.containerRef.current;if(!e)return{width:0,height:0,left:0,top:0};const{clientHeight:t,clientWidth:n}=e,{top:r,left:o}=e.getBoundingClientRect();return{width:n,height:t,top:r+document.body.scrollTop,left:o}}iconCoordinates(){const{bounds:e,percentages:{x:t,y:n}}=this.state;if(void 0===e.left||void 0===e.top)return{left:"50%",top:"50%"};const{width:r,height:o}=this.pickerDimensions();return{left:t*(r-2*e.left)+e.left,top:n*(o-2*e.top)+e.top}}render(){const{autoPlay:e,className:t,help:n,instanceId:r,label:o,url:i}=this.props,{bounds:a,isDragging:l,percentages:u}=this.state,f=this.iconCoordinates(),p=c()("components-focal-point-picker-control",t),h=`inspector-focal-point-picker-control-${r}`;return(0,s.createElement)(qm,{label:o,id:h,help:n,className:p},(0,s.createElement)($C,{className:"components-focal-point-picker-wrapper"},(0,s.createElement)(KC,{className:"components-focal-point-picker",onKeyDown:this.onKeyDown,onMouseDown:this.onMouseDown,onBlur:this.ifDraggingStop,ref:this.containerRef,role:"button",tabIndex:"-1"},(0,s.createElement)(pP,{bounds:a,value:u.x+u.y}),(0,s.createElement)(hP,{alt:(0,d.__)("Media preview"),autoPlay:e,mediaRef:this.mediaRef,onLoad:this.updateBounds,src:i}),(0,s.createElement)(cP,{coordinates:f,isDragging:l}))),(0,s.createElement)(oP,{percentages:u,onChange:this.onChangeAtControls}))}}vP.defaultProps={autoPlay:!0,value:{x:.5,y:.5},url:null};var gP=(0,f.withInstanceId)(vP);function yP(e){let{iframeRef:t,...n}=e;const r=(0,f.useMergeRefs)([t,(0,f.useFocusableIframe)()]);return Be()("wp.components.FocusableIframe",{alternative:"wp.compose.useFocusableIframe"}),(0,s.createElement)("iframe",a({ref:r},n))}function bP(e){void 0===e&&(e={});var t=Ro(e),n=t.state,r=t.loop,o=void 0===r||r,i=v(t,["state","loop"]),a=(0,b.useState)(n),s=a[0],l=a[1],u=ni(m(m({},i),{},{loop:o}));return m(m({},u),{},{state:s,setState:l})}var wP=["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","state","setBaseId","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget","setState"],_P=[].concat(wP,["value","checked","unstable_checkOnFocus"]),xP=z({as:"div",useHook:H({name:"RadioGroup",compose:di,keys:wP,useProps:function(e,t){return m({role:"radiogroup"},t)}}),useCreateElement:function(e,t,n){return M(e,t,n)}});const EP=Nr("background:",ko.ui.background,";border:1px solid;border-color:",ko.ui.border,";border-radius:",ip.controlBorderRadius,";display:inline-flex;min-height:",ip.controlHeight,";min-width:0;padding:2px;position:relative;transition:transform ",ip.transitionDurationFastest," linear;",So("transition")," &:hover{border-color:",ko.ui.borderHover,";}&:focus-within{border-color:",ko.ui.borderFocus,";box-shadow:",ip.controlBoxShadowFocus,";outline:none;z-index:1;}",""),kP={name:"7whenc",styles:"display:flex;width:100%"},SP=Fn("div",{target:"eakva830"})("background:",ko.gray[900],";border-radius:",ip.controlBorderRadius,";box-shadow:",ip.toggleGroupControlBackdropBoxShadow,";left:0;position:absolute;top:2px;bottom:2px;transition:transform ",ip.transitionDurationFast," ease;",So("transition")," z-index:1;");var CP=(0,s.memo)((function(e){let{containerRef:t,containerWidth:n,isAdaptiveWidth:r,state:o}=e;const[i,a]=(0,s.useState)(0),[l,u]=(0,s.useState)(0),[c,d]=(0,s.useState)(!1),[f,p]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{const e=null==t?void 0:t.current;if(!e)return;const n=e.querySelector(`[data-value="${o}"]`);if(p(!!n),!n)return;const r=window.setTimeout((()=>{const{width:t,x:r}=n.getBoundingClientRect(),{x:o}=e.getBoundingClientRect();a(r-o-1),u(t)}),100);let i;return c||(i=window.requestAnimationFrame((()=>{d(!0)}))),()=>{window.clearTimeout(r),window.cancelAnimationFrame(i)}}),[c,t,n,o,r]),f?(0,s.createElement)(SP,{role:"presentation",style:{transform:`translateX(${i}px)`,transition:c?void 0:"none",width:l}}):null}));const PP=(0,s.createContext)({});var OP=PP;const MP=()=>{};const TP=Pn((function e(t,n){const{className:r,isAdaptiveWidth:o=!1,isBlock:i=!1,label:l,hideLabelFromVision:u=!1,help:c,onChange:d=MP,value:p,children:h,...m}=Cn(t,"ToggleGroupControl"),v=Sn(),g=(0,s.useRef)(),[y,b]=uC()(),w=bP({baseId:(0,f.useInstanceId)(e,"toggle-group-control").toString(),state:p});_m((()=>{d(w.state)}),[w.state]),_m((()=>{p!==w.state&&w.setState(p)}),[p]);const _=(0,s.useMemo)((()=>v(EP,i&&kP,"medium",r)),[r,i]);return(0,s.createElement)(qm,{help:c},(0,s.createElement)(OP.Provider,{value:{...w,isBlock:!o}},!u&&(0,s.createElement)("div",null,(0,s.createElement)(qm.VisualLabel,null,l)),(0,s.createElement)(xP,a({},w,{"aria-label":l,as:zn,className:_},m,{ref:(0,f.useMergeRefs)([g,n])}),y,(0,s.createElement)(CP,a({},w,{containerRef:g,containerWidth:b.width,isAdaptiveWidth:o})),h)))}),"ToggleGroupControl");var DP=TP;function IP(e){return void 0!==e.checked?e.checked:void 0!==e.value&&e.state===e.value}function AP(e,t){var n=Me(e,"change");Object.defineProperties(n,{type:{value:"change"},target:{value:e},currentTarget:{value:e}}),null==t||t(n)}var RP=H({name:"Radio",compose:Ie,keys:_P,useOptions:function(e,t){var n,r=t.value,o=t.checked,i=e.unstable_clickOnEnter,a=void 0!==i&&i,s=e.unstable_checkOnFocus,l=void 0===s||s,u=v(e,["unstable_clickOnEnter","unstable_checkOnFocus"]);return m(m({checked:o,unstable_clickOnEnter:a,unstable_checkOnFocus:l},u),{},{value:null!=(n=u.value)?n:r})},useProps:function(e,t){var n=t.ref,r=t.onChange,o=t.onClick,i=v(t,["ref","onChange","onClick"]),a=(0,b.useRef)(null),s=(0,b.useState)(!0),l=s[0],u=s[1],c=IP(e),d=q(e.currentId===e.id),f=q(r),p=q(o);!function(e){var t=(0,b.useState)((function(){return IP(e)}))[0],n=(0,b.useState)(e.currentId)[0],r=e.id,o=e.setCurrentId;(0,b.useEffect)((function(){t&&r&&n!==r&&(null==o||o(r))}),[t,r,o,n])}(e),(0,b.useEffect)((function(){var e=a.current;e&&("INPUT"===e.tagName&&"radio"===e.type||u(!1))}),[]);var h=(0,b.useCallback)((function(t){var n,r;null===(n=f.current)||void 0===n||n.call(f,t),t.defaultPrevented||e.disabled||null===(r=e.setState)||void 0===r||r.call(e,e.value)}),[e.disabled,e.setState,e.value]),g=(0,b.useCallback)((function(e){var t;null===(t=p.current)||void 0===t||t.call(p,e),e.defaultPrevented||l||AP(e.currentTarget,h)}),[h,l]);return(0,b.useEffect)((function(){var t=a.current;t&&e.unstable_moves&&d.current&&e.unstable_checkOnFocus&&AP(t,h)}),[e.unstable_moves,e.unstable_checkOnFocus,h]),m({ref:W(a,n),role:l?void 0:"radio",type:l?"radio":void 0,value:l?e.value:void 0,name:l?e.baseId:void 0,"aria-checked":c,checked:c,onChange:h,onClick:g},i)}}),NP=z({as:"input",memo:!0,useHook:RP});const LP=Fn("div",{target:"eu1cvm72"})({name:"sln1fl",styles:"display:inline-flex;max-width:100%;min-width:0;position:relative"}),FP={name:"82a6rk",styles:"flex:1"},jP=Nr("align-items:center;appearance:none;background:transparent;border:none;border-radius:",ip.controlBorderRadius,";color:",ko.gray[700],";cursor:pointer;display:flex;height:100%;justify-content:center;line-height:100%;outline:none;padding:0 12px;position:relative;text-align:center;transition:background ",ip.transitionDurationFast," linear,color ",ip.transitionDurationFast," linear,font-weight 60ms linear;",So("transition")," user-select:none;width:100%;z-index:2;&::-moz-focus-inner{border:0;}&:active{background:",ip.toggleGroupControlBackgroundColor,";}",""),zP=Nr("color:",ko.white,";&:active{background:transparent;}",""),BP=Fn("div",{target:"eu1cvm71"})("font-size:",ip.fontSize,";line-height:1;position:absolute;top:50%;left:50%;transform:translate( -50%, -50% );"),HP={name:"1qsuvl4",styles:"background:transparent"},VP=Fn("div",{target:"eu1cvm70"})("font-size:",ip.fontSize,";font-weight:bold;height:0;overflow:hidden;visibility:hidden;"),WP=Nr("min-height:",ip.controlHeight,";",""),{ButtonContentView:UP,LabelPlaceholderView:$P,LabelView:KP}=o,GP=e=>{let{showTooltip:t,text:n,children:r}=e;return t&&n?(0,s.createElement)(Mr,{text:n,position:"top center"},r):(0,s.createElement)(s.Fragment,null,r)};const qP=Pn((function e(t,n){const r=(0,s.useContext)(PP),o=Cn({...t,id:(0,f.useInstanceId)(e,r.baseId||"toggle-group-control-option")},"ToggleGroupControlOption"),{className:i,isBlock:l=!1,label:u,value:c,showTooltip:d=!1,...p}={...r,...o},h=p.state===c,m=Sn(),v=m(l&&FP),g=m(jP,i,h&&zP),y=p["aria-label"]?p["aria-label"]:u;return(0,s.createElement)(KP,{className:v,"data-active":h},(0,s.createElement)(GP,{showTooltip:d,text:y},(0,s.createElement)(NP,a({},p,{as:"button","aria-label":y,className:g,"data-value":c,ref:n,value:c}),(0,s.createElement)(UP,null,u),(0,s.createElement)($P,{"aria-hidden":!0},u))))}),"ToggleGroupControlOption");var YP=qP;const XP={slug:"default",name:(0,d.__)("Default")},ZP="custom",JP={slug:ZP,name:(0,d.__)("Custom")},QP=["1","2","3","4","5"];function eO(e){const[t,n]=`${e}`.match(/[\d\.]+|\D+/g);return!isNaN(parseFloat(t))&&isFinite(t)?[t,n]:[]}function tO(e){return/^[\d\.]+(px|em|rem|vw|vh|%)?$/i.test(e)}function nO(e,t,n,r){return n&&!t.length?null:e?function(e,t){return[XP,...e,...t?[]:[JP]].map((e=>{let{slug:t,name:n,size:r}=e;return{key:t,name:n,size:r,__experimentalHint:r&&tO(r)&&parseFloat(r)}}))}(t,n):function(e,t){return e.map(((e,n)=>{let{slug:r,size:o,name:i}=e,a=t?QP[n]:o;if(!t&&"string"==typeof o){const[e]=eO(o);a=e}return{key:r,value:o,label:a,name:i}}))}(t,r)}var rO=(0,s.forwardRef)((function(e,t){var n,r;let{fallbackFontSize:o,fontSizes:i=[],disableCustomFontSizes:l=!1,onChange:u,value:c,withSlider:f=!1,withReset:p=!0}=e;const h=[typeof c,typeof(null==i||null===(n=i[0])||void 0===n?void 0:n.size)].includes("string"),m=h?parseInt(c):c,v="number"==typeof c||(null==c||null===(r=c.endsWith)||void 0===r?void 0:r.call(c,"px")),g=wv({availableUnits:["px","em","rem"]}),y=i.some((e=>{let{size:t}=e;return!tO(t)})),b=i.length>5,w=(0,s.useMemo)((()=>nO(b,i,l,y)),[b,i,l,y]),_=function(e,t){return t?e.find((e=>e.size===t))||JP:XP}(i,c),x=_.slug===ZP,[E,k]=(0,s.useState)(!l&&x),S=(0,s.useMemo)((()=>{if(E)return`(${(0,d.__)("Custom")})`;if(x)return tO(c)&&`(${c})`;if(b)return tO(null==_?void 0:_.size)&&`(${null==_?void 0:_.size})`;let e=_.name;if(!y&&"string"==typeof _.size){const[,t]=eO(_.size);e+=`(${t})`}return e}),[E,null==_?void 0:_.slug,c,x,y]);if(!w)return null;const C=(0,d.sprintf)((0,d.__)("Currently selected font size: %s"),_.name),P="components-font-size-picker";return(0,s.createElement)("fieldset",a({className:P},t?{}:{ref:t}),(0,s.createElement)(Bn,{as:"legend"},(0,d.__)("Font size")),(0,s.createElement)($f,{justify:"space-between",className:`${P}__header`},(0,s.createElement)(If,null,(0,d.__)("Size"),S&&(0,s.createElement)("span",{className:`${P}__header__hint`},S)),!l&&(0,s.createElement)(If,null,(0,s.createElement)(Vn,{label:E?(0,d.__)("Use size preset"):(0,d.__)("Set custom size"),showTooltip:!1,icon:My,onClick:()=>{k(!E)},isPressed:E,isSmall:!0}))),(0,s.createElement)("div",{className:`${P}__controls`},!!i.length&&b&&!E&&(0,s.createElement)(iS,{className:`${P}__select`,label:(0,d.__)("Font size"),hideLabelFromVision:!0,describedBy:C,options:w,value:w.find((e=>e.key===_.slug)),onChange:e=>{let{selectedItem:t}=e;u(h?t.size:Number(t.size)),t.key===ZP&&k(!0)}}),!b&&!E&&(0,s.createElement)(DP,{label:(0,d.__)("Font size"),hideLabelFromVision:!0,value:c,onChange:e=>{u(h?e:Number(e))},isBlock:!0},w.map((e=>(0,s.createElement)(YP,{key:e.key,value:e.value,label:e.label,"aria-label":e.name,showTooltip:!0})))),!f&&!l&&E&&(0,s.createElement)($f,{justify:"space-between",className:`${P}__custom-size-control`},(0,s.createElement)(If,{isBlock:!0},(0,s.createElement)(Sv,{label:(0,d.__)("Custom"),labelPosition:"top",hideLabelFromVision:!0,value:c,onChange:e=>{0!==parseFloat(e)&&e?u(h?e:parseInt(e,10)):u(void 0)},units:!!h&&g})),p&&(0,s.createElement)(If,{isBlock:!0},(0,s.createElement)(Vn,{className:"components-color-palette__clear",disabled:void 0===c,onClick:()=>{u(void 0)},isSmall:!0,variant:"secondary"},(0,d.__)("Reset"))))),f&&(0,s.createElement)(mb,{className:`${P}__custom-input`,label:(0,d.__)("Custom Size"),value:v&&m||"",initialPosition:o,onChange:e=>{u(h?e+"px":e)},min:12,max:100}))}));var oO=function(e){let{accept:t,children:n,multiple:r=!1,onChange:o,render:i,...l}=e;const u=(0,s.useRef)(),c=()=>{u.current.click()},d=i?i({openFileDialog:c}):(0,s.createElement)(Vn,a({onClick:c},l),n);return(0,s.createElement)("div",{className:"components-form-file-upload"},d,(0,s.createElement)("input",{type:"file",ref:u,multiple:r,style:{display:"none"},accept:t,onChange:o}))};var iO=function(e){let{className:t,checked:n,id:r,disabled:o,onChange:i=l.noop,...u}=e;const d=c()("components-form-toggle",t,{"is-checked":n,"is-disabled":o});return(0,s.createElement)("span",{className:d},(0,s.createElement)("input",a({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:i,disabled:o},u)),(0,s.createElement)("span",{className:"components-form-toggle__track"}),(0,s.createElement)("span",{className:"components-form-toggle__thumb"}))};function aO(e){let{value:t,status:n,title:r,displayTransform:o,isBorderless:i=!1,disabled:a=!1,onClickRemove:u=l.noop,onMouseEnter:p,onMouseLeave:h,messages:m,termPosition:v,termsCount:g}=e;const y=(0,f.useInstanceId)(aO),b=c()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":i,"is-disabled":a}),w=o(t),_=(0,d.sprintf)((0,d.__)("%1$s (%2$s of %3$s)"),w,v,g);return(0,s.createElement)("span",{className:b,onMouseEnter:p,onMouseLeave:h,title:r},(0,s.createElement)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${y}`},(0,s.createElement)(Bn,{as:"span"},_),(0,s.createElement)("span",{"aria-hidden":"true"},w)),(0,s.createElement)(Vn,{className:"components-form-token-field__remove-token",icon:UE,onClick:!a&&(()=>u({value:t})),label:m.remove,"aria-describedby":`components-form-token-field__token-text-${y}`}))}var sO=(0,f.createHigherOrderComponent)((e=>t=>(0,s.createElement)(e,a({},t,{speak:Lm.speak,debouncedSpeak:(0,f.useDebounce)(Lm.speak,500)}))),"withSpokenMessages");const lO={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1};class uO extends s.Component{constructor(){super(...arguments),this.state=lO,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.deleteTokenBeforeInput=this.deleteTokenBeforeInput.bind(this),this.deleteTokenAfterInput=this.deleteTokenAfterInput.bind(this),this.addCurrentToken=this.addCurrentToken.bind(this),this.onContainerTouched=this.onContainerTouched.bind(this),this.renderToken=this.renderToken.bind(this),this.onTokenClickRemove=this.onTokenClickRemove.bind(this),this.onSuggestionHovered=this.onSuggestionHovered.bind(this),this.onSuggestionSelected=this.onSuggestionSelected.bind(this),this.onInputChange=this.onInputChange.bind(this),this.bindInput=this.bindInput.bind(this),this.bindTokensAndInput=this.bindTokensAndInput.bind(this),this.updateSuggestions=this.updateSuggestions.bind(this)}componentDidUpdate(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();const{suggestions:t,value:n}=this.props,r=!ir()(t,e.suggestions);(r||n!==e.value)&&this.updateSuggestions(r)}static getDerivedStateFromProps(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}bindInput(e){this.input=e}bindTokensAndInput(e){this.tokensAndInput=e}onFocus(e){const{__experimentalExpandOnFocus:t}=this.props;this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0,isExpanded:!!t||this.state.isExpanded}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}onBlur(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(lO)}onKeyDown(e){let t=!1;if(!e.defaultPrevented){switch(e.keyCode){case tm.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case tm.ENTER:t=this.addCurrentToken();break;case tm.LEFT:t=this.handleLeftArrowKey();break;case tm.UP:t=this.handleUpArrowKey();break;case tm.RIGHT:t=this.handleRightArrowKey();break;case tm.DOWN:t=this.handleDownArrowKey();break;case tm.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case tm.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case tm.ESCAPE:t=this.handleEscapeKey(e)}t&&e.preventDefault()}}onKeyPress(e){let t=!1;if(44===e.charCode)t=this.handleCommaKey();t&&e.preventDefault()}onContainerTouched(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}onTokenClickRemove(e){this.deleteToken(e.value),this.input.focus()}onSuggestionHovered(e){const t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}onSuggestionSelected(e){this.addNewToken(e)}onInputChange(e){const t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=(0,l.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o},this.updateSuggestions),this.props.onInputChange(o)}handleDeleteKey(e){let t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}handleLeftArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}handleRightArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}handleUpArrowKey(){return this.setState(((e,t)=>({selectedSuggestionIndex:(0===e.selectedSuggestionIndex?this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length:e.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}))),!0}handleDownArrowKey(){return this.setState(((e,t)=>({selectedSuggestionIndex:(e.selectedSuggestionIndex+1)%this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length,selectedSuggestionScroll:!0}))),!0}handleEscapeKey(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}handleCommaKey(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}moveInputToIndex(e){this.setState(((t,n)=>({inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1})))}moveInputBeforePreviousToken(){this.setState(((e,t)=>({inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)})))}moveInputAfterNextToken(){this.setState((e=>({inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)})))}deleteTokenBeforeInput(){const e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}deleteTokenAfterInput(){const e=this.getIndexOfInput();e<this.props.value.length&&(this.deleteToken(this.props.value[e]),this.moveInputToIndex(e))}addCurrentToken(){let e=!1;const t=this.getSelectedSuggestion();return t?(this.addNewToken(t),e=!0):this.inputHasValidValue()&&(this.addNewToken(this.state.incompleteTokenValue),e=!0),e}addNewTokens(e){const t=(0,l.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter((e=>!this.valueContainsToken(e))));if(t.length>0){const e=(0,l.clone)(this.props.value);e.splice.apply(e,[this.getIndexOfInput(),0].concat(t)),this.props.onChange(e)}}addNewToken(e){const{__experimentalExpandOnFocus:t,__experimentalValidateInput:n}=this.props;n(e)?(this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!t}),this.state.isActive&&this.input.focus()):this.props.speak(this.props.messages.__experimentalInvalid,"assertive")}deleteToken(e){const t=this.props.value.filter((t=>this.getTokenValue(t)!==this.getTokenValue(e)));this.props.onChange(t),this.props.speak(this.props.messages.removed,"assertive")}getTokenValue(e){return"object"==typeof e?e.value:e}getMatchingSuggestions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform)(e);const i=[],a=[];return 0===o.length?t=(0,l.difference)(t,n):(o=o.toLocaleLowerCase(),(0,l.each)(t,(e=>{const t=e.toLocaleLowerCase().indexOf(o);-1===n.indexOf(e)&&(0===t?i.push(e):t>0&&a.push(e))})),t=i.concat(a)),(0,l.take)(t,r)}getSelectedSuggestion(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}valueContainsToken(e){return(0,l.some)(this.props.value,(t=>this.getTokenValue(e)===this.getTokenValue(t)))}getIndexOfInput(){return this.props.value.length-this.state.inputOffsetFromEnd}isInputEmpty(){return 0===this.state.incompleteTokenValue.length}inputHasValidValue(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}updateSuggestions(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const{__experimentalExpandOnFocus:t}=this.props,{incompleteTokenValue:n}=this.state,r=n.trim().length>1,o=this.getMatchingSuggestions(n),i=o.length>0,a={isExpanded:t||r&&i};if(e&&(a.selectedSuggestionIndex=-1,a.selectedSuggestionScroll=!1),this.setState(a),r){const{debouncedSpeak:e}=this.props;e(i?(0,d.sprintf)((0,d._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",o.length),o.length):(0,d.__)("No results."),"assertive")}}renderTokensAndInput(){const e=(0,l.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}renderToken(e,t,n){const r=this.getTokenValue(e),o=e.status?e.status:void 0,i=t+1,a=n.length;return(0,s.createElement)(aO,{key:"token-"+r,value:r,status:o,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==o&&this.props.disabled,messages:this.props.messages,termsCount:a,termPosition:i})}renderInput(){const{autoCapitalize:e,autoComplete:t,maxLength:n,placeholder:r,value:o,instanceId:i}=this.props;let a={instanceId:i,autoCapitalize:e,autoComplete:t,placeholder:0===o.length?r:"",ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return n&&o.length>=n||(a={...a,onChange:this.onInputChange}),(0,s.createElement)(KE,a)}render(){const{disabled:e,label:t=(0,d.__)("Add item"),instanceId:n,className:r,__experimentalShowHowTo:o}=this.props,{isExpanded:i}=this.state,a=c()(r,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":e});let l={className:"components-form-token-field",tabIndex:"-1"};const u=this.getMatchingSuggestions();return e||(l=Object.assign({},l,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),(0,s.createElement)("div",l,(0,s.createElement)("label",{htmlFor:`components-form-token-input-${n}`,className:"components-form-token-field__label"},t),(0,s.createElement)("div",{ref:this.bindTokensAndInput,className:a,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),i&&(0,s.createElement)(XE,{instanceId:n,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:u,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),o&&(0,s.createElement)("p",{id:`components-form-token-suggestions-howto-${n}`,className:"components-form-token-field__help"},this.props.tokenizeOnSpace?(0,d.__)("Separate with commas, spaces, or the Enter key."):(0,d.__)("Separate with commas or the Enter key.")))}}uO.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:l.identity,saveTransform:e=>e.trim(),onChange:()=>{},onInputChange:()=>{},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:(0,d.__)("Item added."),removed:(0,d.__)("Item removed."),remove:(0,d.__)("Remove item"),__experimentalInvalid:(0,d.__)("Invalid item")},__experimentalExpandOnFocus:!1,__experimentalValidateInput:()=>!0,__experimentalShowHowTo:!0};var cO=sO((0,f.withInstanceId)(uO));const dO={bottom:{alignItems:"flex-end",justifyContent:"center"},bottomLeft:{alignItems:"flex-start",justifyContent:"flex-end"},bottomRight:{alignItems:"flex-end",justifyContent:"flex-end"},center:{alignItems:"center",justifyContent:"center"},spaced:{alignItems:"center",justifyContent:"space-between"},left:{alignItems:"center",justifyContent:"flex-start"},right:{alignItems:"center",justifyContent:"flex-end"},stretch:{alignItems:"stretch"},top:{alignItems:"flex-start",justifyContent:"center"},topLeft:{alignItems:"flex-start",justifyContent:"flex-start"},topRight:{alignItems:"flex-start",justifyContent:"flex-end"}};function fO(e){const{align:t,alignment:n,className:r,columnGap:o,columns:i=2,gap:a=3,isInline:l=!1,justify:u,rowGap:c,rows:d,templateColumns:f,templateRows:p,...h}=Cn(e,"Grid"),m=Nf(Array.isArray(i)?i:[i]),v=Nf(Array.isArray(d)?d:[d]),g=f||!!i&&`repeat( ${m}, 1fr )`,y=p||!!d&&`repeat( ${v}, 1fr )`,b=Sn();return{...h,className:(0,s.useMemo)((()=>{const e=function(e){return e?dO[e]:{}}(n),i=Nr({alignItems:t,display:l?"inline-grid":"grid",gap:`calc( ${ip.gridBase} * ${a} )`,gridTemplateColumns:g||void 0,gridTemplateRows:y||void 0,gridRowGap:c,gridColumnGap:o,justifyContent:u,verticalAlign:l?"middle":void 0,...e},"","");return b(i,r)}),[t,n,r,o,a,g,y,l,u,c])}}var pO=Pn((function(e,t){const n=fO(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"Grid");const hO=new Set(["alert","status","log","marquee","timer"]);let mO=[],vO=!1;function gO(e){if(vO)return;const t=document.body.children;(0,l.forEach)(t,(t=>{t!==e&&function(e){const t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||hO.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),mO.push(t))})),vO=!0}var yO,bO=new Uint8Array(16);function wO(){if(!yO&&!(yO="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 yO(bO)}var _O=/^(?:[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 xO=function(e){return"string"==typeof e&&_O.test(e)},EO=[],kO=0;kO<256;++kO)EO.push((kO+256).toString(16).substr(1));var SO=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(EO[e[t+0]]+EO[e[t+1]]+EO[e[t+2]]+EO[e[t+3]]+"-"+EO[e[t+4]]+EO[e[t+5]]+"-"+EO[e[t+6]]+EO[e[t+7]]+"-"+EO[e[t+8]]+EO[e[t+9]]+"-"+EO[e[t+10]]+EO[e[t+11]]+EO[e[t+12]]+EO[e[t+13]]+EO[e[t+14]]+EO[e[t+15]]).toLowerCase();if(!xO(n))throw TypeError("Stringified UUID is invalid");return n};var CO=function(e,t,n){var r=(e=e||{}).random||(e.rng||wO)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return SO(r)};const PO=new Set,OO=qe()((e=>{let t=CO().replace(/[0-9]/g,"");for(;PO.has(t);)t=CO().replace(/[0-9]/g,"");return PO.add(t),Zt({container:e,key:t})}));function MO(e){let{children:t,document:n}=e;if(!n)return null;const r=OO(n.head);return(0,s.createElement)(pn,{value:r},t)}let TO=0;function DO(e){let{bodyOpenClassName:t="modal-open",role:n="dialog",title:r=null,focusOnMount:o=!0,shouldCloseOnEsc:i=!0,shouldCloseOnClickOutside:u=!0,isDismissable:p,isDismissible:h=p||!0,aria:m={labelledby:null,describedby:null},onRequestClose:v,icon:g,closeButtonLabel:y,children:b,style:w,overlayClassName:_,className:x,contentLabel:E,onKeyDown:k,isFullScreen:S=!1}=e;const C=(0,s.useRef)(),P=(0,f.useInstanceId)(DO),O=r?`components-modal-header-${P}`:m.labelledby,M=(0,f.useFocusOnMount)(o),T=(0,f.useConstrainedTabbing)(),D=(0,f.useFocusReturn)(),I=(0,f.__experimentalUseFocusOutside)(v);return(0,s.useEffect)((()=>(TO++,1===TO&&(gO(C.current),document.body.classList.add(t)),()=>{TO--,0===TO&&(document.body.classList.remove(t),vO&&((0,l.forEach)(mO,(e=>{e.removeAttribute("aria-hidden")})),mO=[],vO=!1))})),[]),p&&Be()("isDismissable prop of the Modal component",{since:"5.4",alternative:"isDismissible prop (renamed) of the Modal component"}),(0,s.createPortal)((0,s.createElement)("div",{ref:C,className:c()("components-modal__screen-overlay",_),onKeyDown:function(e){i&&e.keyCode===tm.ESCAPE&&!e.defaultPrevented&&(e.preventDefault(),v&&v(e))}},(0,s.createElement)(MO,{document:document},(0,s.createElement)("div",a({className:c()("components-modal__frame",x,{"is-full-screen":S}),style:w,ref:(0,f.useMergeRefs)([T,D,M]),role:n,"aria-label":E,"aria-labelledby":E?null:O,"aria-describedby":m.describedby,tabIndex:"-1"},u?I:{},{onKeyDown:k}),(0,s.createElement)("div",{className:"components-modal__content",role:"document"},(0,s.createElement)("div",{className:"components-modal__header"},(0,s.createElement)("div",{className:"components-modal__header-heading-container"},g&&(0,s.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},g),r&&(0,s.createElement)("h1",{id:O,className:"components-modal__header-heading"},r)),h&&(0,s.createElement)(Vn,{onClick:v,icon:UE,label:y||(0,d.__)("Close dialog")})),b)))),document.body)}const IO=e=>{let{isSelected:t}=e;return(0,s.createElement)(i.SVG,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(i.Circle,{cx:"4",cy:"4",r:"4",fill:t?"#419ECD":"#E1E3E6"}))};function AO(e){let{currentPage:t,numberOfPages:n,setCurrentPage:r}=e;return(0,s.createElement)("ul",{className:"components-guide__page-control","aria-label":(0,d.__)("Guide controls")},(0,l.times)(n,(e=>(0,s.createElement)("li",{key:e,"aria-current":e===t?"step":void 0},(0,s.createElement)(Vn,{key:e,icon:(0,s.createElement)(IO,{isSelected:e===t}),"aria-label":(0,d.sprintf)((0,d.__)("Page %1$d of %2$d"),e+1,n),onClick:()=>r(e)})))))}function RO(e){const t=(0,s.useRef)();return(0,s.useLayoutEffect)((()=>{const{ownerDocument:e}=t.current,{activeElement:n,body:r}=e;n&&n!==r||t.current.focus()}),[]),(0,s.createElement)(Vn,a({},e,{ref:t}))}function NO(e){let{children:t,className:n,contentLabel:r,finishButtonText:o,onFinish:i,pages:a=[]}=e;const[l,u]=(0,s.useState)(0);(0,s.useEffect)((()=>{s.Children.count(t)&&Be()("Passing children to <Guide>",{since:"5.5",alternative:"the `pages` prop"})}),[t]),s.Children.count(t)&&(a=s.Children.map(t,(e=>({content:e}))));const f=l>0,p=l<a.length-1,h=()=>{f&&u(l-1)},m=()=>{p&&u(l+1)};return 0===a.length?null:(0,s.createElement)(DO,{className:c()("components-guide",n),contentLabel:r,onRequestClose:i,onKeyDown:e=>{e.keyCode===tm.LEFT?h():e.keyCode===tm.RIGHT&&m()}},(0,s.createElement)("div",{className:"components-guide__container"},(0,s.createElement)("div",{className:"components-guide__page"},a[l].image,a.length>1&&(0,s.createElement)(AO,{currentPage:l,numberOfPages:a.length,setCurrentPage:u}),a[l].content,!p&&(0,s.createElement)(RO,{className:"components-guide__inline-finish-button",onClick:i},o||(0,d.__)("Finish"))),(0,s.createElement)("div",{className:"components-guide__footer"},f&&(0,s.createElement)(Vn,{className:"components-guide__back-button",onClick:h},(0,d.__)("Previous")),p&&(0,s.createElement)(Vn,{className:"components-guide__forward-button",onClick:m},(0,d.__)("Next")),!p&&(0,s.createElement)(RO,{className:"components-guide__finish-button",onClick:i},o||(0,d.__)("Finish")))))}function LO(e){return(0,s.useEffect)((()=>{Be()("<GuidePage>",{since:"5.5",alternative:"the `pages` prop in <Guide>"})}),[]),(0,s.createElement)("div",e)}var FO=(0,s.forwardRef)((function(e,t){let{labelPosition:n,size:r,tooltip:o,label:i,...l}=e;return Be()("wp.components.IconButton",{since:"5.4",alternative:"wp.components.Button"}),(0,s.createElement)(Vn,a({},l,{ref:t,tooltipPosition:n,iconSize:r,showTooltip:void 0!==o?!!o:void 0,label:o||i}))}));function jO(e){let{target:t,callback:n,shortcut:r,bindGlobal:o,eventName:i}=e;return(0,f.useKeyboardShortcut)(r,n,{bindGlobal:o,target:t,eventName:i}),null}var zO=function(e){let{children:t,shortcuts:n,bindGlobal:r,eventName:o}=e;const i=(0,s.useRef)(),a=(0,l.map)(n,((e,t)=>(0,s.createElement)(jO,{key:t,shortcut:t,callback:e,bindGlobal:r,eventName:o,target:i})));return s.Children.count(t)?(0,s.createElement)("div",{ref:i},a,t):a};var BO=function e(t){const{children:n,className:r="",label:o,hideSeparator:i}=t,a=(0,f.useInstanceId)(e);if(!s.Children.count(n))return null;const l=`components-menu-group-label-${a}`,u=c()(r,"components-menu-group",{"has-hidden-separator":i});return(0,s.createElement)("div",{className:u},o&&(0,s.createElement)("div",{className:"components-menu-group__label",id:l,"aria-hidden":"true"},o),(0,s.createElement)("div",{role:"group","aria-labelledby":o?l:null},n))};var HO=(0,s.forwardRef)((function(e,t){let{children:n,info:r,className:o,icon:i,iconPosition:u="right",shortcut:d,isSelected:f,role:p="menuitem",...h}=e;return o=c()("components-menu-item__button",o),r&&(n=(0,s.createElement)("span",{className:"components-menu-item__info-wrapper"},(0,s.createElement)("span",{className:"components-menu-item__item"},n),(0,s.createElement)("span",{className:"components-menu-item__info"},r))),i&&!(0,l.isString)(i)&&(i=(0,s.cloneElement)(i,{className:c()("components-menu-items__item-icon",{"has-icon-right":"right"===u})})),(0,s.createElement)(Vn,a({ref:t,"aria-checked":"menuitemcheckbox"===p||"menuitemradio"===p?f:void 0,role:p,icon:"left"===u?i:void 0,className:o},h),(0,s.createElement)("span",{className:"components-menu-item__item"},n),(0,s.createElement)(Er,{className:"components-menu-item__shortcut",shortcut:d}),i&&"right"===u&&(0,s.createElement)(Ve,{icon:i}))}));function VO(e){let{choices:t=[],onHover:n=l.noop,onSelect:r,value:o}=e;return t.map((e=>{const t=o===e.value;return(0,s.createElement)(HO,{key:e.value,role:"menuitemradio",icon:t&&Ey,info:e.info,isSelected:t,shortcut:e.shortcut,className:"components-menu-items-choice",onClick:()=>{t||r(e.value)},onMouseEnter:()=>n(e.value),onMouseLeave:()=>n(null),"aria-label":e["aria-label"]},e.label)}))}var WO=(0,s.forwardRef)((function(e,t){let{eventToOffset:n,...r}=e;return(0,s.createElement)(wE,a({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:e=>{const{keyCode:t,shiftKey:r}=e;return tm.TAB===t?r?-1:1:n?n(e):void 0}},r))}));const UO="root",$O=(0,s.createContext)({activeItem:void 0,activeMenu:UO,setActiveMenu:l.noop,isMenuEmpty:l.noop,navigationTree:{items:{},getItem:l.noop,addItem:l.noop,removeItem:l.noop,menus:{},getMenu:l.noop,addMenu:l.noop,removeMenu:l.noop,childMenu:{},traverseMenu:l.noop,isMenuEmpty:l.noop}}),KO=()=>(0,s.useContext)($O);var GO=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.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"}));var qO=(0,s.forwardRef)((function e(t,n){let{className:r,onChange:o,onKeyDown:i,value:a,label:l,placeholder:u=(0,d.__)("Search"),hideLabelFromVision:p=!0,help:h,onClose:m}=t;const v=(0,f.useInstanceId)(e),g=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=(0,s.useRef)(null);return(0,s.useEffect)((()=>{t.forEach((e=>{e&&("function"==typeof e?e(r.current):e.current=r.current)}))}),[t]),r}(n),y=`components-search-control-${v}`;return(0,s.createElement)(qm,{label:l,id:y,hideLabelFromVision:p,help:h,className:c()(r,"components-search-control")},(0,s.createElement)("div",{className:"components-search-control__input-wrapper"},(0,s.createElement)("input",{ref:g,className:"components-search-control__input",id:y,type:"search",placeholder:u,onChange:e=>o(e.target.value),onKeyDown:i,autoComplete:"off",value:a||""}),(0,s.createElement)("div",{className:"components-search-control__icon"},m?(0,s.createElement)(Vn,{icon:UE,label:(0,d.__)("Close search"),onClick:m}):a?(0,s.createElement)(Vn,{icon:UE,label:(0,d.__)("Reset search"),onClick:()=>{o(""),g.current.focus()}}):(0,s.createElement)(xy,{icon:GO}))))}));const YO=Fn("div",{target:"ejwewyf11"})("width:100%;box-sizing:border-box;padding:0 ",Lf(4),";overflow:hidden;"),XO=Fn("div",{target:"ejwewyf10"})("margin-top:",Lf(6),";margin-bottom:",Lf(6),";display:flex;flex-direction:column;ul{padding:0;margin:0;list-style:none;}.components-navigation__back-button{margin-bottom:",Lf(6),";}.components-navigation__group+.components-navigation__group{margin-top:",Lf(6),";}"),ZO=Fn(Vn,{target:"ejwewyf9"})({name:"26l0q2",styles:"&.is-tertiary{color:inherit;opacity:0.7;&:hover:not( :disabled ){opacity:1;box-shadow:none;color:inherit;}&:active:not( :disabled ){background:transparent;opacity:1;color:inherit;}}"}),JO=Fn("div",{target:"ejwewyf8"})({name:"1aubja5",styles:"overflow:hidden;width:100%"}),QO=Fn("span",{target:"ejwewyf7"})("height:",Lf(6),";.components-button.is-small{color:inherit;opacity:0.7;margin-right:",Lf(1),";padding:0;&:active:not( :disabled ){background:none;opacity:1;color:inherit;}&:hover:not( :disabled ){box-shadow:none;opacity:1;color:inherit;}}"),eM=Fn(qO,{target:"ejwewyf6"})({name:"za3n3e",styles:"input[type='search'].components-search-control__input{margin:0;background:#303030;color:#fff;&:focus{background:#434343;color:#fff;}&::placeholder{color:rgba( 255, 255, 255, 0.6 );}}svg{fill:white;}.components-button.has-icon{padding:0;min-width:auto;}"}),tM=Fn(Nx,{target:"ejwewyf5"})("min-height:",Lf(12),";align-items:center;color:inherit;display:flex;justify-content:space-between;margin-bottom:",Lf(2),";padding:",(()=>(0,d.isRTL)()?`${Lf(1)} ${Lf(4)} ${Lf(1)} ${Lf(2)}`:`${Lf(1)} ${Lf(2)} ${Lf(1)} ${Lf(4)}`),";"),nM=Fn("li",{target:"ejwewyf4"})("border-radius:2px;color:inherit;margin-bottom:0;>button,>a.components-button,>a{width:100%;color:inherit;opacity:0.7;padding:",Lf(2)," ",Lf(4),";",Wf({textAlign:"left"},{textAlign:"right"})," &:hover,&:focus:not( [aria-disabled='true'] ):active,&:active:not( [aria-disabled='true'] ):active{color:inherit;opacity:1;}}&.is-active{background-color:",Eo.theme,";color:",ho.white,";>button,>a{color:",ho.white,";opacity:1;}}>svg path{color:",mo.lightGray.ui,";}"),rM=Fn("div",{target:"ejwewyf3"})("display:flex;align-items:center;height:auto;min-height:40px;margin:0;padding:",Lf(1.5)," ",Lf(4),";font-weight:400;line-height:20px;width:100%;color:inherit;opacity:0.7;"),oM=Fn("span",{target:"ejwewyf2"})("display:flex;margin-right:",Lf(2),";"),iM=Fn("span",{target:"ejwewyf1"})("margin-left:",(()=>(0,d.isRTL)()?"0":Lf(2)),";margin-right:",(()=>(0,d.isRTL)()?Lf(2):"0"),";display:inline-flex;padding:",Lf(1)," ",Lf(3),";border-radius:2px;animation:fade-in 250ms ease-out;@keyframes fade-in{from{opacity:0;}to{opacity:1;}}",So("animation"),";"),aM=Fn(_p,{target:"ejwewyf0"})((()=>(0,d.isRTL)()?"margin-left: auto;":"margin-right: auto;")," font-size:14px;line-height:20px;color:inherit;"),sM=()=>{const[e,t]=(0,s.useState)({});return{nodes:e,getNode:t=>e[t],addNode:(e,n)=>t((t=>({...t,[e]:(0,l.omit)(n,"children")}))),removeNode:e=>t((t=>(0,l.omit)(t,e)))}};function lM(e){let{activeItem:t,activeMenu:n=UO,children:r,className:o,onActivateMenu:i=l.noop}=e;const[a,u]=(0,s.useState)(n),[f,p]=(0,s.useState)(),h=(()=>{const{nodes:e,getNode:t,addNode:n,removeNode:r}=sM(),{nodes:o,getNode:i,addNode:a,removeNode:l}=sM(),[u,c]=(0,s.useState)({}),d=e=>u[e]||[],f=(e,t)=>{const n=[];let r,o=[e];for(;o.length>0&&(r=i(o.shift()),!r||n.includes(r.menu)||(n.push(r.menu),o=[...o,...d(r.menu)],!1!==t(r))););};return{items:e,getItem:t,addItem:n,removeItem:r,menus:o,getMenu:i,addMenu:(e,t)=>{c((n=>{const r={...n};return r[t.parentMenu]||(r[t.parentMenu]=[]),r[t.parentMenu].push(e),r})),a(e,t)},removeMenu:l,childMenu:u,traverseMenu:f,isMenuEmpty:e=>{let t=!0;return f(e,(e=>{if(!e.isEmpty)return t=!1,!1})),t}}})(),m=(0,d.isRTL)()?"right":"left",v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;h.getMenu(e)&&(p(t),u(e),i(e))},g=(0,s.useRef)(!1);(0,s.useEffect)((()=>{g.current||(g.current=!0)}),[]),(0,s.useEffect)((()=>{n!==a&&v(n)}),[n]);const y={activeItem:t,activeMenu:a,setActiveMenu:v,navigationTree:h},b=c()("components-navigation",o),w=pr({type:"slide-in",origin:f});return(0,s.createElement)(YO,{className:b},(0,s.createElement)("div",{key:a,className:c()({[w]:g.current&&f})},(0,s.createElement)($O.Provider,{value:y},r)))}var uM=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));var cM=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));var dM=(0,s.forwardRef)((function(e,t){var n;let{backButtonLabel:r,className:o,href:i,onClick:a,parentMenu:l}=e;const{setActiveMenu:u,navigationTree:f}=KO(),p=c()("components-navigation__back-button",o),h=null===(n=f.getMenu(l))||void 0===n?void 0:n.title,m=(0,d.isRTL)()?uM:cM;return(0,s.createElement)(ZO,{className:p,href:i,variant:"tertiary",ref:t,onClick:e=>{"function"==typeof a&&a(e);const t=(0,d.isRTL)()?"left":"right";l&&!e.defaultPrevented&&u(l,t)}},(0,s.createElement)(xy,{icon:m}),r||h||(0,d.__)("Back"))}));const fM=(0,s.createContext)({group:void 0});function pM(e){let{children:t,className:n,title:r}=e;const[o]=(0,s.useState)((0,l.uniqueId)("group-")),{navigationTree:{items:i}}=KO(),a={group:o};if(!(0,l.find)(i,{group:o,_isVisible:!0}))return(0,s.createElement)(fM.Provider,{value:a},t);const u=`components-navigation__group-title-${o}`,d=c()("components-navigation__group",n);return(0,s.createElement)(fM.Provider,{value:a},(0,s.createElement)("li",{className:d},r&&(0,s.createElement)(tM,{className:"components-navigation__group-title",id:u,level:3},r),(0,s.createElement)("ul",{"aria-labelledby":u,role:"group"},t)))}function hM(e){const{badge:t,title:n}=e;return(0,s.createElement)(s.Fragment,null,n&&(0,s.createElement)(aM,{className:"components-navigation__item-title",variant:"body.small",as:"span"},n),t&&(0,s.createElement)(iM,{className:"components-navigation__item-badge"},t))}const mM=(0,s.createContext)({menu:void 0,search:""}),vM=()=>(0,s.useContext)(mM),gM=e=>(0,l.deburr)(e).replace(/^\//,"").toLowerCase(),yM=(e,t)=>{const{activeMenu:n,navigationTree:{addItem:r,removeItem:o}}=KO(),{group:i}=(0,s.useContext)(fM),{menu:a,search:l}=vM();(0,s.useEffect)((()=>{const s=n===a,u=!l||((e,t)=>-1!==gM(e).indexOf(gM(t)))(t.title,l);return r(e,{...t,group:i,menu:a,_isVisible:s&&u}),()=>{o(e)}}),[n,l])};function bM(e){var t;const{children:n,className:r,...o}=e,[i]=(0,s.useState)((0,l.uniqueId)("item-"));yM(i,e);const{navigationTree:u}=KO();if(null===(t=u.getItem(i))||void 0===t||!t._isVisible)return null;const d=c()("components-navigation__item",r);return(0,s.createElement)(nM,a({className:d},o),n)}function wM(e){const{badge:t,children:n,className:r,href:o,item:i,navigateToMenu:u,onClick:f=l.noop,title:p,icon:h,hideIfTargetMenuEmpty:m,isText:v,...g}=e,{activeItem:y,setActiveMenu:b,navigationTree:{isMenuEmpty:w}}=KO();if(m&&u&&w(u))return null;const _=i&&y===i,x=c()(r,{"is-active":_}),E=(0,d.isRTL)()?cM:uM,k=n?e:{...e,onClick:void 0},S=v?g:{as:Vn,href:o,onClick:e=>{u&&b(u),f(e)},"aria-current":_?"page":void 0,...g};return(0,s.createElement)(bM,a({},k,{className:x}),n||(0,s.createElement)(rM,S,h&&(0,s.createElement)(oM,null,(0,s.createElement)(xy,{icon:h})),(0,s.createElement)(hM,{title:p,badge:t}),u&&(0,s.createElement)(xy,{icon:E})))}var _M=sO((function(e){let{debouncedSpeak:t,onCloseSearch:n,onSearch:r,search:o,title:i}=e;const{navigationTree:{items:a}}=KO(),{menu:u}=vM(),c=(0,s.useRef)();(0,s.useEffect)((()=>{const e=setTimeout((()=>{c.current.focus()}),100);return()=>{clearTimeout(e)}}),[]),(0,s.useEffect)((()=>{if(!o)return;const e=(0,l.filter)(a,"_isVisible").length,n=(0,d.sprintf)((0,d._n)("%d result found.","%d results found.",e),e);t(n)}),[a,o]);const f=()=>{r(""),n()},p=`components-navigation__menu-title-search-${u}`,h=(0,d.sprintf)((0,d.__)("Search %s"),null==i?void 0:i.toLowerCase()).trim();return(0,s.createElement)("div",{className:"components-navigation__menu-title-search"},(0,s.createElement)(eM,{autoComplete:"off",className:"components-navigation__menu-search-input",id:p,onChange:e=>r(e),onKeyDown:function(e){e.keyCode!==tm.ESCAPE||e.defaultPrevented||(e.preventDefault(),f())},placeholder:h,onClose:f,ref:c,type:"search",value:o}))}));function xM(e){let{hasSearch:t,onSearch:n,search:r,title:o,titleAction:i}=e;const[a,l]=(0,s.useState)(!1),{menu:u}=vM(),c=(0,s.useRef)();if(!o)return null;const f=`components-navigation__menu-title-${u}`,p=(0,d.sprintf)((0,d.__)("Search in %s"),o);return(0,s.createElement)(JO,{className:"components-navigation__menu-title"},!a&&(0,s.createElement)(tM,{as:"h2",className:"components-navigation__menu-title-heading",level:3},(0,s.createElement)("span",{id:f},o),(t||i)&&(0,s.createElement)(QO,null,i,t&&(0,s.createElement)(Vn,{isSmall:!0,variant:"tertiary",label:p,onClick:()=>l(!0),ref:c},(0,s.createElement)(xy,{icon:GO})))),a&&(0,s.createElement)("div",{className:pr({type:"slide-in",origin:"left"})},(0,s.createElement)(_M,{onCloseSearch:()=>{l(!1),setTimeout((()=>{c.current.focus()}),100)},onSearch:n,search:r,title:o})))}function EM(e){let{search:t}=e;const{navigationTree:{items:n}}=KO(),r=(0,l.filter)(n,"_isVisible").length;return!t||r?null:(0,s.createElement)(nM,null,(0,s.createElement)(rM,null,(0,d.__)("No results found.")," "))}function kM(e){const{backButtonLabel:t,children:n,className:r,hasSearch:o,menu:i=UO,onBackButtonClick:a,onSearch:l,parentMenu:u,search:d,isSearchDebouncing:f,title:p,titleAction:h}=e,[m,v]=(0,s.useState)("");(e=>{const{navigationTree:{addMenu:t,removeMenu:n}}=KO(),r=e.menu||UO;(0,s.useEffect)((()=>(t(r,{...e,menu:r}),()=>{n(r)})),[])})(e);const{activeMenu:g}=KO(),y={menu:i,search:m};if(g!==i)return(0,s.createElement)(mM.Provider,{value:y},n);const b=!!l,w=b?d:m,_=b?l:v,x=`components-navigation__menu-title-${i}`,E=c()("components-navigation__menu",r);return(0,s.createElement)(mM.Provider,{value:y},(0,s.createElement)(XO,{className:E},(u||a)&&(0,s.createElement)(dM,{backButtonLabel:t,parentMenu:u,onClick:a}),p&&(0,s.createElement)(xM,{hasSearch:o,onSearch:_,search:w,title:p,titleAction:h}),(0,s.createElement)(_E,null,(0,s.createElement)("ul",{"aria-labelledby":x},n,w&&!f&&(0,s.createElement)(EM,{search:w})))))}const SM=(0,s.createContext)([{},()=>{}]);var CM={name:"15bx5k",styles:"overflow-x:hidden"};var PM=Pn((function(e,t){const{initialPath:n,children:r,className:o,...i}=Cn(e,"NavigatorProvider"),[l,u]=(0,s.useState)({path:n}),c=Sn(),d=(0,s.useMemo)((()=>c(CM,o)),[o]);return(0,s.createElement)(zn,a({ref:t,className:d},i),(0,s.createElement)(SM.Provider,{value:[l,u]},r))}),"NavigatorProvider");var OM={name:"14x3t6z",styles:"overflow-x:auto;max-height:100%"};const MM=Pn((function(e,t){const{children:n,className:r,path:o,...i}=Cn(e,"NavigatorScreen"),l=(0,f.useReducedMotion)(),[u]=(0,s.useContext)(SM),c=u.path===o,p=(0,f.useFocusOnMount)(),h=Sn(),m=(0,s.useMemo)((()=>h(OM,r)),[r]),[v,g]=(0,s.useState)(!1);if((0,s.useEffect)((()=>{g(!0)}),[o]),!c)return null;if(l)return(0,s.createElement)(zn,a({ref:t,className:m},i),n);const y={opacity:1,transition:{delay:0,duration:.14,ease:"easeInOut"},x:0},b={opacity:0,x:(0,d.isRTL)()&&u.isBack||!(0,d.isRTL)()&&!u.isBack?50:-50},w={animate:y,exit:{delay:0,opacity:0,x:!(0,d.isRTL)()&&u.isBack||(0,d.isRTL)()&&!u.isBack?50:-50,transition:{duration:.14,ease:"easeInOut"}},initial:b};return(0,s.createElement)(Ef.div,a({ref:v?p:void 0,className:m},i,w),n)}),"NavigatorScreen");var TM=MM;var DM=function(){const[,e]=(0,s.useContext)(SM);return{push(t,n){e({path:t,...n})}}};function IM(e){switch(e){case"success":case"warning":case"info":return"polite";default:return"assertive"}}var AM=function(e){let{className:t,status:n="info",children:r,spokenMessage:o=r,onRemove:i=l.noop,isDismissible:a=!0,actions:u=[],politeness:f=IM(n),__unstableHTML:p,onDismiss:h=l.noop}=e;!function(e,t){const n="string"==typeof e?e:(0,s.renderToString)(e);(0,s.useEffect)((()=>{n&&(0,Lm.speak)(n,t)}),[n,t])}(o,f);const m=c()(t,"components-notice","is-"+n,{"is-dismissible":a});return p&&(r=(0,s.createElement)(s.RawHTML,null,r)),(0,s.createElement)("div",{className:m},(0,s.createElement)("div",{className:"components-notice__content"},r,(0,s.createElement)("div",{className:"components-notice__actions"},u.map(((e,t)=>{let{className:n,label:r,isPrimary:o,variant:i,noDefaultClasses:a=!1,onClick:l,url:u}=e,d=i;return"primary"===i||a||(d=u?"link":"secondary"),void 0===d&&o&&(d="primary"),(0,s.createElement)(Vn,{key:t,href:u,variant:d,onClick:u?void 0:l,className:c()("components-notice__action",n)},r)})))),a&&(0,s.createElement)(Vn,{className:"components-notice__dismiss",icon:Ne,label:(0,d.__)("Dismiss this notice"),onClick:e=>{var t;null==e||null===(t=e.preventDefault)||void 0===t||t.call(e),h(),i()},showTooltip:!1}))};var RM=function(e){let{notices:t,onRemove:n=l.noop,className:r,children:o}=e;return r=c()("components-notice-list",r),(0,s.createElement)("div",{className:r},o,[...t].reverse().map((e=>{return(0,s.createElement)(AM,a({},(0,l.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,()=>n(t))}),e.content);var t})))};var NM=function(e){let{label:t,children:n}=e;return(0,s.createElement)("div",{className:"components-panel__header"},t&&(0,s.createElement)("h2",null,t),n)};var LM=(0,s.forwardRef)((function(e,t){let{header:n,className:r,children:o}=e;const i=c()(r,"components-panel");return(0,s.createElement)("div",{className:i,ref:t},n&&(0,s.createElement)(NM,{label:n}),o)}));var FM=(0,s.createElement)(i.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(i.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}));const jM=(0,s.forwardRef)(((e,t)=>{let{isOpened:n,icon:r,title:o,...i}=e;return o?(0,s.createElement)("h2",{className:"components-panel__body-title"},(0,s.createElement)(Vn,a({className:"components-panel__body-toggle","aria-expanded":n,ref:t},i),(0,s.createElement)("span",{"aria-hidden":"true"},(0,s.createElement)(Ve,{className:"components-panel__arrow",icon:n?FM:Ny})),o,r&&(0,s.createElement)(Ve,{icon:r,className:"components-panel__icon",size:20}))):null})),zM=(0,s.forwardRef)((function(e,t){let{buttonProps:n={},children:r,className:o,icon:i,initialOpen:u,onToggle:d=l.noop,opened:p,title:h,scrollAfterOpen:m=!0}=e;const[v,g]=Ev(p,{initial:void 0===u||u}),y=(0,s.useRef)(),b=(0,f.useReducedMotion)()?"auto":"smooth",w=(0,s.useRef)();w.current=m,_m((()=>{var e;v&&w.current&&null!==(e=y.current)&&void 0!==e&&e.scrollIntoView&&y.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:b})}),[v,b]);const _=c()("components-panel__body",o,{"is-opened":v});return(0,s.createElement)("div",{className:_,ref:(0,f.useMergeRefs)([y,t])},(0,s.createElement)(jM,a({icon:i,isOpened:v,onClick:e=>{e.preventDefault();const t=!v;g(t),d(t)},title:h},n)),"function"==typeof r?r({opened:v}):v&&r)}));zM.displayName="PanelBody";var BM=zM;const HM=(0,s.forwardRef)(((e,t)=>{let{className:n,children:r}=e;return(0,s.createElement)("div",{className:c()("components-panel__row",n),ref:t},r)}));var VM=HM;var WM=function(e){let{icon:t,children:n,label:r,instructions:o,className:i,notices:l,preview:u,isColumnLayout:d,...p}=e;const[h,{width:m}]=(0,f.useResizeObserver)();let v;"number"==typeof m&&(v={"is-large":m>=480,"is-medium":m>=160&&m<480,"is-small":m<160});const g=c()("components-placeholder",i,v),y=c()("components-placeholder__fieldset",{"is-column-layout":d});return(0,s.createElement)("div",a({},p,{className:g}),h,l,u&&(0,s.createElement)("div",{className:"components-placeholder__preview"},u),(0,s.createElement)("div",{className:"components-placeholder__label"},(0,s.createElement)(Ve,{icon:t}),r),!!o&&(0,s.createElement)("div",{className:"components-placeholder__instructions"},o),(0,s.createElement)("div",{className:y},n))};function UM(e){const t=e.map((e=>({children:[],parent:null,...e}))),n=(0,l.groupBy)(t,"parent");if(n.null&&n.null.length)return t;const r=e=>e.map((e=>{const t=n[e.id];return{...e,children:t&&t.length?r(t):[]}}));return r(n[0]||[])}function $M(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,l.flatMap)(e,(e=>[{value:e.id,label:(0,l.repeat)(" ",3*t)+(0,l.unescape)(e.name)},...$M(e.children||[],t+1)]))}function KM(e){let{label:t,noOptionLabel:n,onChange:r,selectedId:o,tree:i,...u}=e;const c=(0,s.useMemo)((()=>(0,l.compact)([n&&{value:"",label:n},...$M(i)])),[n,i]);return(0,s.createElement)(zy,a({label:t,options:c,onChange:r,value:o},u))}function GM(e){let{label:t,noOptionLabel:n,categoriesList:r,selectedCategoryId:o,onChange:i,...l}=e;const u=(0,s.useMemo)((()=>UM(r)),[r]);return(0,s.createElement)(KM,a({label:t,noOptionLabel:n,onChange:i,tree:u,selectedId:o},l))}function qM(e){let{label:t,noOptionLabel:n,authorList:r,selectedAuthorId:o,onChange:i}=e;if(!r)return null;const a=UM(r);return(0,s.createElement)(KM,{label:t,noOptionLabel:n,onChange:i,tree:a,selectedId:o})}const YM=1,XM=100;function ZM(e){let{authorList:t,selectedAuthorId:n,categoriesList:r,selectedCategoryId:o,categorySuggestions:i,selectedCategories:a,numberOfItems:l,order:u,orderBy:c,maxItems:f=XM,minItems:p=YM,onCategoryChange:h,onAuthorChange:m,onNumberOfItemsChange:v,onOrderChange:g,onOrderByChange:y}=e;return[g&&y&&(0,s.createElement)(zy,{key:"query-controls-order-select",label:(0,d.__)("Order by"),value:`${c}/${u}`,options:[{label:(0,d.__)("Newest to oldest"),value:"date/desc"},{label:(0,d.__)("Oldest to newest"),value:"date/asc"},{label:(0,d.__)("A → Z"),value:"title/asc"},{label:(0,d.__)("Z → A"),value:"title/desc"}],onChange:e=>{const[t,n]=e.split("/");n!==u&&g(n),t!==c&&y(t)}}),r&&h&&(0,s.createElement)(GM,{key:"query-controls-category-select",categoriesList:r,label:(0,d.__)("Category"),noOptionLabel:(0,d.__)("All"),selectedCategoryId:o,onChange:h}),i&&h&&(0,s.createElement)(cO,{key:"query-controls-categories-select",label:(0,d.__)("Categories"),value:a&&a.map((e=>({id:e.id,value:e.name||e.value}))),suggestions:Object.keys(i),onChange:h,maxSuggestions:20}),m&&(0,s.createElement)(qM,{key:"query-controls-author-select",authorList:t,label:(0,d.__)("Author"),noOptionLabel:(0,d.__)("All"),selectedAuthorId:n,onChange:m}),v&&(0,s.createElement)(mb,{key:"query-controls-range-control",label:(0,d.__)("Number of items"),value:l,onChange:v,min:p,max:f,required:!0})]}var JM=(0,s.createContext)({state:null,setState:()=>{}});var QM=(0,s.forwardRef)((function(e,t){let{children:n,value:r,...o}=e;const i=(0,s.useContext)(JM),l=i.state===r;return(0,s.createElement)(NP,a({ref:t,as:Vn,variant:l?"primary":"secondary",value:r},i,o),n||r)}));var eT=(0,s.forwardRef)((function(e,t){let{label:n,checked:r,defaultChecked:o,disabled:i,onChange:l,...u}=e;const c=bP({state:o,baseId:u.id}),d={...c,disabled:i,state:null!=r?r:c.state,setState:null!=l?l:c.setState};return(0,s.createElement)(JM.Provider,{value:d},(0,s.createElement)(xP,a({ref:t,as:Pg,"aria-label":n},c,u)))}));function tT(e){let{label:t,className:n,selected:r,help:o,onChange:i,hideLabelFromVision:u,options:d=[],...p}=e;const h=`inspector-radio-control-${(0,f.useInstanceId)(tT)}`,m=e=>i(e.target.value);return!(0,l.isEmpty)(d)&&(0,s.createElement)(qm,{label:t,id:h,hideLabelFromVision:u,help:o,className:c()(n,"components-radio-control")},d.map(((e,t)=>(0,s.createElement)("div",{key:`${h}-${t}`,className:"components-radio-control__option"},(0,s.createElement)("input",a({id:`${h}-${t}`,className:"components-radio-control__input",type:"radio",name:h,value:e.value,onChange:m,checked:e.value===r,"aria-describedby":o?`${h}__help`:void 0},p)),(0,s.createElement)("label",{htmlFor:`${h}-${t}`},e.label)))))}var nT=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),rT=function(){return rT=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rT.apply(this,arguments)},oT={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},iT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return nT(t,e),t.prototype.render=function(){return b.createElement("div",{className:this.props.className||"",style:rT(rT({position:"absolute",userSelect:"none"},oT[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(b.PureComponent),aT=n(2920),sT=n.n(aT),lT=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),uT=function(){return uT=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},uT.apply(this,arguments)},cT={width:"auto",height:"auto"},dT=sT()((function(e,t,n){return Math.max(Math.min(e,n),t)})),fT=sT()((function(e,t){return Math.round(e/t)*t})),pT=sT()((function(e,t){return new RegExp(e,"i").test(t)})),hT=function(e){return Boolean(e.touches&&e.touches.length)},mT=sT()((function(e,t,n){void 0===n&&(n=0);var r=t.reduce((function(n,r,o){return Math.abs(r-e)<Math.abs(t[n]-e)?o:n}),0),o=Math.abs(t[r]-e);return 0===n||o<n?t[r]:e})),vT=sT()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),gT=sT()((function(e){return"auto"===(e=e.toString())||vT(e,"px")||vT(e,"%")||vT(e,"vh")||vT(e,"vw")||vT(e,"vmax")||vT(e,"vmin")?e:e+"px"})),yT=function(e,t,n,r){if(e&&"string"==typeof e){if(vT(e,"px"))return Number(e.replace("px",""));if(vT(e,"%"))return t*(Number(e.replace("%",""))/100);if(vT(e,"vw"))return n*(Number(e.replace("vw",""))/100);if(vT(e,"vh"))return r*(Number(e.replace("vh",""))/100)}return e},bT=sT()((function(e,t,n,r,o,i,a){return r=yT(r,e.width,t,n),o=yT(o,e.height,t,n),i=yT(i,e.width,t,n),a=yT(a,e.height,t,n),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===o?void 0:Number(o),minWidth:void 0===i?void 0:Number(i),minHeight:void 0===a?void 0:Number(a)}})),wT=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],_T="__resizable_base__",xT=function(e){function t(t){var n=e.call(this,t)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableRight=0,n.resizableTop=0,n.resizableBottom=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var e=n.parentNode;if(!e)return null;var t=n.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0",t.classList?t.classList.add(_T):t.className+=_T,e.appendChild(t),t},n.removeBase=function(e){var t=n.parentNode;t&&t.removeChild(e)},n.ref=function(e){e&&(n.resizable=e)},n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return lT(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||cT},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,o=this.resizable.style.position;"relative"!==o&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=o}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&vT(e.propsSize[t].toString(),"%")){if(vT(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return gT(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?gT(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?gT(t.height):n("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,n=this.parentNode.style.flexWrap;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var r={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=n),this.removeBase(e),r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var n,r,o=this.props.boundsByDirection,i=this.state.direction,a=o&&pT("left",i),s=o&&pT("top",i);if("parent"===this.props.bounds){var l=this.parentNode;l&&(n=a?this.resizableRight-this.parentLeft:l.offsetWidth+(this.parentLeft-this.resizableLeft),r=s?this.resizableBottom-this.parentTop:l.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(n=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,r=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(n=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),r=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return n&&Number.isFinite(n)&&(e=e&&e<n?e:n),r&&Number.isFinite(r)&&(t=t&&t<r?t:r),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n=this.props.scale||1,r=this.props.resizeRatio||1,o=this.state,i=o.direction,a=o.original,s=this.props,l=s.lockAspectRatio,u=s.lockAspectRatioExtraHeight,c=s.lockAspectRatioExtraWidth,d=a.width,f=a.height,p=u||0,h=c||0;return pT("right",i)&&(d=a.width+(e-a.x)*r/n,l&&(f=(d-h)/this.ratio+p)),pT("left",i)&&(d=a.width-(e-a.x)*r/n,l&&(f=(d-h)/this.ratio+p)),pT("bottom",i)&&(f=a.height+(t-a.y)*r/n,l&&(d=(f-p)*this.ratio+h)),pT("top",i)&&(f=a.height-(t-a.y)*r/n,l&&(d=(f-p)*this.ratio+h)),{newWidth:d,newHeight:f}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var o=this.props,i=o.lockAspectRatio,a=o.lockAspectRatioExtraHeight,s=o.lockAspectRatioExtraWidth,l=void 0===r.width?10:r.width,u=void 0===n.width||n.width<0?e:n.width,c=void 0===r.height?10:r.height,d=void 0===n.height||n.height<0?t:n.height,f=a||0,p=s||0;if(i){var h=(c-f)*this.ratio+p,m=(d-f)*this.ratio+p,v=(l-p)/this.ratio+f,g=(u-p)/this.ratio+f,y=Math.max(l,h),b=Math.min(u,m),w=Math.max(c,v),_=Math.min(d,g);e=dT(e,y,b),t=dT(t,w,_)}else e=dT(e,l,u),t=dT(t,c,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left,this.targetTop=n.top}if(this.resizable){var r=this.resizable.getBoundingClientRect(),o=r.left,i=r.top,a=r.right,s=r.bottom;this.resizableLeft=o,this.resizableRight=a,this.resizableTop=i,this.resizableBottom=s}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var n,r=0,o=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)?(r=e.nativeEvent.clientX,o=e.nativeEvent.clientY):e.nativeEvent&&hT(e.nativeEvent)&&(r=e.nativeEvent.touches[0].clientX,o=e.nativeEvent.touches[0].clientY),this.props.onResizeStart)if(this.resizable)if(!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var i=this.window.getComputedStyle(this.resizable);if("auto"!==i.flexBasis){var a=this.parentNode;if(a){var s=this.window.getComputedStyle(a).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",n=i.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var l={original:{x:r,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:uT(uT({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(l)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&hT(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var t=this.props,n=t.maxWidth,r=t.maxHeight,o=t.minWidth,i=t.minHeight,a=hT(e)?e.touches[0].clientX:e.clientX,s=hT(e)?e.touches[0].clientY:e.clientY,l=this.state,u=l.direction,c=l.original,d=l.width,f=l.height,p=this.getParentSize(),h=bT(p,this.window.innerWidth,this.window.innerHeight,n,r,o,i);n=h.maxWidth,r=h.maxHeight,o=h.minWidth,i=h.minHeight;var m=this.calculateNewSizeFromDirection(a,s),v=m.newHeight,g=m.newWidth,y=this.calculateNewMaxFromBoundary(n,r),b=this.calculateNewSizeFromAspectRatio(g,v,{width:y.maxWidth,height:y.maxHeight},{width:o,height:i});if(g=b.newWidth,v=b.newHeight,this.props.grid){var w=fT(g,this.props.grid[0]),_=fT(v,this.props.grid[1]),x=this.props.snapGap||0;g=0===x||Math.abs(w-g)<=x?w:g,v=0===x||Math.abs(_-v)<=x?_:v}this.props.snap&&this.props.snap.x&&(g=mT(g,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(v=mT(v,this.props.snap.y,this.props.snapGap));var E={width:g-c.width,height:v-c.height};if(d&&"string"==typeof d)if(vT(d,"%"))g=g/p.width*100+"%";else if(vT(d,"vw")){g=g/this.window.innerWidth*100+"vw"}else if(vT(d,"vh")){g=g/this.window.innerHeight*100+"vh"}if(f&&"string"==typeof f)if(vT(f,"%"))v=v/p.height*100+"%";else if(vT(f,"vw")){v=v/this.window.innerWidth*100+"vw"}else if(vT(f,"vh")){v=v/this.window.innerHeight*100+"vh"}var k={width:this.createSizeForCssProperty(g,"width"),height:this.createSizeForCssProperty(v,"height")};"row"===this.flexDir?k.flexBasis=k.width:"column"===this.flexDir&&(k.flexBasis=k.height),this.setState(k),this.props.onResize&&this.props.onResize(e,u,this.resizable,E)}},t.prototype.onMouseUp=function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n&&this.resizable){var i={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,i),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:uT(uT({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,o=t.handleClasses,i=t.handleWrapperStyle,a=t.handleWrapperClass,s=t.handleComponent;if(!n)return null;var l=Object.keys(n).map((function(t){return!1!==n[t]?b.createElement(iT,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]},s&&s[t]?s[t]:null):null}));return b.createElement("div",{className:a,style:i},l)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==wT.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=uT(uT(uT({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var r=this.props.as||"div";return b.createElement(r,uT({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&b.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(b.PureComponent);const{clearTimeout:ET,setTimeout:kT}=window,ST={bottom:"bottom",corner:"corner"};function CT(e){let{axis:t,fadeTimeout:n=180,onResize:r=l.noop,position:o=ST.bottom,showPx:i=!1}=e;const[a,u]=uC()(),c=!!t,[d,f]=(0,s.useState)(!1),[p,h]=(0,s.useState)(!1),{width:m,height:v}=u,g=(0,s.useRef)(v),y=(0,s.useRef)(m),b=(0,s.useRef)(),w=()=>{c||(f(!1),h(!1))};(0,s.useEffect)((()=>{if(!(null!==m||null!==v))return;const e=m!==y.current,t=v!==g.current;if(e||t){if(m&&!y.current&&v&&!g.current)return y.current=m,void(g.current=v);e&&(f(!0),y.current=m),t&&(h(!0),g.current=v),r({width:m,height:v}),b.current&&ET(b.current),b.current=kT(w,n)}}),[m,v]);const _=function(e){let{axis:t,height:n,moveX:r=!1,moveY:o=!1,position:i=ST.bottom,showPx:a=!1,width:s}=e;if(!r&&!o)return;if(i===ST.corner)return`${s} x ${n}`;const l=a?" px":"";if(t){if("x"===t&&r)return`${s}${l}`;if("y"===t&&o)return`${n}${l}`}if(r&&o)return`${s} x ${n}`;if(r)return`${s}${l}`;if(o)return`${n}${l}`;return}({axis:t,height:v,moveX:d,moveY:p,position:o,showPx:i,width:m});return{label:_,resizeListener:a}}const PT=Fn("div",{target:"ekdag503"})({name:"1cd7zoc",styles:"bottom:0;box-sizing:border-box;left:0;pointer-events:none;position:absolute;right:0;top:0"}),OT=Fn("div",{target:"ekdag502"})({name:"ajymcs",styles:"align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;opacity:0;pointer-events:none;transition:opacity 120ms linear"}),MT=Fn("div",{target:"ekdag501"})("background:",ko.ui.border,";border-radius:2px;box-sizing:border-box;font-size:12px;color:",ko.ui.textDark,";padding:4px 8px;position:relative;"),TT=Fn(_p,{target:"ekdag500"})("&&&{color:",ko.ui.textDark,";display:block;font-size:13px;line-height:1.4;}");const DT=(0,s.forwardRef)((function(e,t){let{label:n,position:r=ST.corner,zIndex:o=1e3,...i}=e;const l=!!n,u=r===ST.bottom,c=r===ST.corner;if(!l)return null;let f={opacity:l?1:void 0,zIndex:o},p={};return u&&(f={...f,position:"absolute",bottom:-10,left:"50%",transform:"translate(-50%, 0)"},p={transform:"translate(0, 100%)"}),c&&(f={...f,position:"absolute",top:4,right:(0,d.isRTL)()?void 0:4,left:(0,d.isRTL)()?4:void 0}),(0,s.createElement)(OT,a({"aria-hidden":"true",className:"components-resizable-tooltip__tooltip-wrapper",ref:t,style:f},i),(0,s.createElement)(MT,{className:"components-resizable-tooltip__tooltip",style:p},(0,s.createElement)(TT,{as:"span"},n)))}));var IT=DT;const AT=(0,s.forwardRef)((function(e,t){let{axis:n,className:r,fadeTimeout:o=180,isVisible:i=!0,labelRef:u,onResize:d=l.noop,position:f=ST.bottom,showPx:p=!0,zIndex:h=1e3,...m}=e;const{label:v,resizeListener:g}=CT({axis:n,fadeTimeout:o,onResize:d,showPx:p,position:f});if(!i)return null;const y=c()("components-resize-tooltip",r);return(0,s.createElement)(PT,a({"aria-hidden":"true",className:y,ref:t},m),g,(0,s.createElement)(IT,{"aria-hidden":m["aria-hidden"],label:v,position:f,ref:u,zIndex:h}))}));var RT=AT;const NT="components-resizable-box__handle",LT="components-resizable-box__side-handle",FT="components-resizable-box__corner-handle",jT={top:c()(NT,LT,"components-resizable-box__handle-top"),right:c()(NT,LT,"components-resizable-box__handle-right"),bottom:c()(NT,LT,"components-resizable-box__handle-bottom"),left:c()(NT,LT,"components-resizable-box__handle-left"),topLeft:c()(NT,FT,"components-resizable-box__handle-top","components-resizable-box__handle-left"),topRight:c()(NT,FT,"components-resizable-box__handle-top","components-resizable-box__handle-right"),bottomRight:c()(NT,FT,"components-resizable-box__handle-bottom","components-resizable-box__handle-right"),bottomLeft:c()(NT,FT,"components-resizable-box__handle-bottom","components-resizable-box__handle-left")},zT={width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0},BT={top:zT,right:zT,bottom:zT,left:zT,topLeft:zT,topRight:zT,bottomRight:zT,bottomLeft:zT};var HT=(0,s.forwardRef)((function(e,t){let{className:n,children:r,showHandle:o=!0,__experimentalShowTooltip:i=!1,__experimentalTooltipProps:l={},...u}=e;return(0,s.createElement)(xT,a({className:c()("components-resizable-box__container",o&&"has-show-handle",n),handleClasses:jT,handleStyles:BT,ref:t},u),r,i&&(0,s.createElement)(RT,l))}));var VT=function(e){let{naturalWidth:t,naturalHeight:n,children:r,isInline:o=!1}=e;const[i,{width:a}]=(0,f.useResizeObserver)();if(1!==s.Children.count(r))return null;const l={paddingBottom:t<a?n:n/t*100+"%"},u=o?"span":"div";return(0,s.createElement)(u,{className:"components-responsive-wrapper"},i,(0,s.createElement)(u,{style:l}),(0,s.cloneElement)(r,{className:c()("components-responsive-wrapper__content",r.props.className)}))};const WT="\n\t( function() {\n\t\tvar observer;\n\n\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\treturn;\n\t\t}\n\n\t\tfunction sendResize() {\n\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\twindow.parent.postMessage( {\n\t\t\t\taction: 'resize',\n\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\theight: clientBoundingRect.height,\n\t\t\t}, '*' );\n\t\t}\n\n\t\tobserver = new MutationObserver( sendResize );\n\t\tobserver.observe( document.body, {\n\t\t\tattributes: true,\n\t\t\tattributeOldValue: false,\n\t\t\tcharacterData: true,\n\t\t\tcharacterDataOldValue: false,\n\t\t\tchildList: true,\n\t\t\tsubtree: true\n\t\t} );\n\n\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t// the iframe root and interfere with our mechanism for\n\t\t// determining the unconstrained page bounds.\n\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\n\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t} );\n\n\t\tdocument.body.style.position = 'absolute';\n\t\tdocument.body.style.width = '100%';\n\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\tsendResize();\n\n\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\twindow.addEventListener( 'resize', sendResize, true );\n} )();",UT="\n\tbody {\n\t\tmargin: 0;\n\t}\n\thtml,\n\tbody,\n\tbody > div,\n\tbody > div iframe {\n\t\twidth: 100%;\n\t}\n\thtml.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio,\n\tbody.wp-has-aspect-ratio > div,\n\tbody.wp-has-aspect-ratio > div iframe {\n\t\theight: 100%;\n\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t}\n\tbody > div > * {\n\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\tmargin-bottom: 0 !important;\n\t}\n";function $T(e){let{html:t="",title:n="",type:r,styles:o=[],scripts:i=[],onFocus:a}=e;const l=(0,s.useRef)(),[u,c]=(0,s.useState)(0),[d,p]=(0,s.useState)(0);function h(){try{return!!l.current.contentDocument.body}catch(e){return!1}}function m(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!h())return;const{contentDocument:a,ownerDocument:u}=l.current,{body:c}=a;if(!e&&null!==c.getAttribute("data-resizable-iframe-connected"))return;const d=(0,s.createElement)("html",{lang:u.documentElement.lang,className:r},(0,s.createElement)("head",null,(0,s.createElement)("title",null,n),(0,s.createElement)("style",{dangerouslySetInnerHTML:{__html:UT}}),o.map(((e,t)=>(0,s.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})))),(0,s.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:r},(0,s.createElement)("div",{dangerouslySetInnerHTML:{__html:t}}),(0,s.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:WT}}),i.map((e=>(0,s.createElement)("script",{key:e,src:e})))));a.open(),a.write("<!DOCTYPE html>"+(0,s.renderToString)(d)),a.close()}return(0,s.useEffect)((()=>{function e(){m(!1)}function t(e){const t=l.current;if(!t||t.contentWindow!==e.source)return;let n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(e){}"resize"===n.action&&(c(n.width),p(n.height))}m();const{ownerDocument:n}=l.current,{defaultView:r}=n;return l.current.addEventListener("load",e,!1),r.addEventListener("message",t),()=>{var n;null===(n=l.current)||void 0===n||n.removeEventListener("load",e,!1),r.addEventListener("message",t)}}),[]),(0,s.useEffect)((()=>{m()}),[n,r,o,i]),(0,s.useEffect)((()=>{m(!0)}),[t]),(0,s.createElement)("iframe",{ref:(0,f.useMergeRefs)([l,(0,f.useFocusableIframe)()]),title:n,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onFocus:a,width:Math.ceil(u),height:Math.ceil(d)})}var KT=(0,s.forwardRef)((function(e,t){let{className:n,children:r,spokenMessage:o=r,politeness:i="polite",actions:a=[],onRemove:u=l.noop,icon:f=null,explicitDismiss:p=!1,onDismiss:h=l.noop,listRef:m}=e;function v(e){e&&e.preventDefault&&e.preventDefault(),m.current.focus(),h(),u()}h=h||l.noop,function(e,t){const n="string"==typeof e?e:(0,s.renderToString)(e);(0,s.useEffect)((()=>{n&&(0,Lm.speak)(n,t)}),[n,t])}(o,i),(0,s.useEffect)((()=>{const e=setTimeout((()=>{p||(h(),u())}),1e4);return()=>clearTimeout(e)}),[h,u]);const g=c()(n,"components-snackbar",{"components-snackbar-explicit-dismiss":!!p});a&&a.length>1&&("undefined"!=typeof process&&process.env,a=[a[0]]);const y=c()("components-snackbar__content",{"components-snackbar__content-with-icon":!!f});return(0,s.createElement)("div",{ref:t,className:g,onClick:p?l.noop:v,tabIndex:"0",role:p?"":"button",onKeyPress:p?l.noop:v,"aria-label":p?"":(0,d.__)("Dismiss this notice")},(0,s.createElement)("div",{className:y},f&&(0,s.createElement)("div",{className:"components-snackbar__icon"},f),r,a.map(((e,t)=>{let{label:n,onClick:r,url:o}=e;return(0,s.createElement)(Vn,{key:t,href:o,variant:"tertiary",onClick:e=>function(e,t){e.stopPropagation(),u(),t&&t(e)}(e,r),className:"components-snackbar__action"},n)})),p&&(0,s.createElement)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:"0",className:"components-snackbar__dismiss-button",onClick:v,onKeyPress:v},"✕")))}));const GT={init:{height:0,opacity:0},open:{height:"auto",opacity:1,transition:{height:{stiffness:1e3,velocity:-100}}},exit:{opacity:0,transition:{duration:.5}}},qT={init:!1,open:!1,exit:!1};var YT=function(e){let{notices:t,className:n,children:r,onRemove:o=l.noop}=e;const i=(0,s.useRef)(),u=(0,f.useReducedMotion)();n=c()("components-snackbar-list",n);const d=e=>()=>o(e.id);return(0,s.createElement)("div",{className:n,tabIndex:-1,ref:i},r,(0,s.createElement)(LS,null,t.map((e=>(0,s.createElement)(Ef.div,{layout:!u,initial:"init",animate:"open",exit:"exit",key:e.id,variants:u?qT:GT},(0,s.createElement)("div",{className:"components-snackbar-list__notice-container"},(0,s.createElement)(KT,a({},(0,l.omit)(e,["content"]),{onRemove:d(e),listRef:i}),e.content)))))))};const XT=(function(){var e=Nr.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}})`
 	from {
 		transform: rotate(0deg);
 	}
@@ -29,17 +43,4 @@ PERFORMANCE OF THIS SOFTWARE.
 	to {
 		transform: rotate(360deg);
 	}
-`,ak=`calc( ( ${Vs.spinnerSize} - ${Vs.spinnerSize} * ( 2 / 3 ) ) / 2 )`,ik=Object(w.a)("span",{target:"e1s472tg0"})("display:inline-block;background-color:",L.gray[600],";width:",Vs.spinnerSize,";height:",Vs.spinnerSize,";opacity:0.7;margin:5px 11px 0;border-radius:100%;position:relative;&::before{content:'';position:absolute;background-color:",L.white,";top:",ak,";left:",ak,";width:calc( ",Vs.spinnerSize," / 4.5 );height:calc( ",Vs.spinnerSize," / 4.5 );border-radius:100%;transform-origin:calc( ",Vs.spinnerSize," / 3 ) calc( ",Vs.spinnerSize," / 3 );animation:",ok," 1s infinite linear;}");function ck(){return Object(s.createElement)(ik,{className:"components-spinner"})}var sk=Object(ts.a)((function(e,t){const n=Sp(e);return Object(s.createElement)(ns.a,Object(c.a)({},n,{ref:t}))}),"Surface");const lk=e=>{let{tabId:t,onClick:n,children:r,selected:o,...a}=e;return Object(s.createElement)(id.a,Object(c.a)({role:"tab",tabIndex:o?null:-1,"aria-selected":o,id:t,onClick:n},a),r)};function uk(e){var t;let{className:n,children:r,tabs:o,initialTabName:a,orientation:i="horizontal",activeClass:c="is-active",onSelect:u=l.noop}=e;const f=Object(p.useInstanceId)(uk,"tab-panel"),[b,h]=Object(s.useState)(null),m=e=>{h(e),u(e)},v=Object(l.find)(o,{name:b}),g=`${f}-${null!==(t=null==v?void 0:v.name)&&void 0!==t?t:"none"}`;return Object(s.useEffect)(()=>{Object(l.find)(o,{name:b})||h(a||(o.length>0?o[0].name:null))},[o]),Object(s.createElement)("div",{className:n},Object(s.createElement)(Mg,{role:"tablist",orientation:i,onNavigate:(e,t)=>{t.click()},className:"components-tab-panel__tabs"},o.map(e=>Object(s.createElement)(lk,{className:d()("components-tab-panel__tabs-item",e.className,{[c]:e.name===b}),tabId:`${f}-${e.name}`,"aria-controls":`${f}-${e.name}-view`,selected:e.name===b,key:e.name,onClick:Object(l.partial)(m,e.name)},e.title))),v&&Object(s.createElement)("div",{key:g,"aria-labelledby":g,role:"tabpanel",id:g+"-view",className:"components-tab-panel__tab-content"},r(v)))}var dk=Object(s.forwardRef)((function e(t,n){let{label:r,hideLabelFromVision:o,value:a,help:i,className:l,onChange:u,type:d="text",...f}=t;const b="inspector-text-control-"+Object(p.useInstanceId)(e);return Object(s.createElement)(gd,{label:r,hideLabelFromVision:o,id:b,help:i,className:l},Object(s.createElement)("input",Object(c.a)({className:"components-text-control__input",type:d,id:b,value:a,onChange:e=>u(e.target.value),"aria-describedby":i?b+"__help":void 0,ref:n},f)))}));const fk=Object(x.a)("box-shadow:0 0 0 transparent;transition:box-shadow 0.1s linear;border-radius:",Vs.radiusBlockUi,";border:",Vs.borderWidth," solid ",L.ui.border,";",""),pk=Object(x.a)("border-color:var( --wp-admin-theme-color );box-shadow:0 0 0 calc( ",Vs.borderWidthFocus," - ",Vs.borderWidth," ) var( --wp-admin-theme-color );outline:2px solid transparent;","");var bk={huge:"1440px",wide:"1280px","x-large":"1080px",large:"960px",medium:"782px",small:"600px",mobile:"480px","zoomed-in":"280px"};const hk=Object(x.a)("font-family:",fd("default.fontFamily"),";padding:6px 8px;",fk,";font-size:",fd("mobileTextMinFontSize"),";line-height:normal;",`@media (min-width: ${bk["small"]})`,"{font-size:",fd("default.fontSize"),";line-height:normal;}&:focus{",pk,";}&::-webkit-input-placeholder{color:",L.darkGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",L.darkGray.placeholder,";}&:-ms-input-placeholder{color:",L.darkGray.placeholder,";}.is-dark-theme &{&::-webkit-input-placeholder{color:",L.lightGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",L.lightGray.placeholder,";}&:-ms-input-placeholder{color:",L.lightGray.placeholder,";}}","");const mk=Object(w.a)("textarea",{target:"ebk7yr50"})("width:100%;",hk,";");function vk(e){let{label:t,hideLabelFromVision:n,value:r,help:o,onChange:a,rows:i=4,className:l,...u}=e;const d="inspector-textarea-control-"+Object(p.useInstanceId)(vk);return Object(s.createElement)(gd,{label:t,hideLabelFromVision:n,id:d,help:o,className:l},Object(s.createElement)(mk,Object(c.a)({className:"components-textarea-control__input",id:d,rows:i,onChange:e=>a(e.target.value),"aria-describedby":o?d+"__help":void 0,value:r},u)))}var gk=e=>{let{text:t="",highlight:n=""}=e;const r=n.trim();if(!r)return t;const o=new RegExp(`(${Object(l.escapeRegExp)(r)})`,"gi");return Object(s.createInterpolateElement)(t.replace(o,"<mark>$&</mark>"),{mark:Object(s.createElement)("mark",null)})};var yk=function(e){return Object(s.createElement)("div",{className:"components-tip"},Object(s.createElement)(i.SVG,{width:"24",height:"24",viewBox:"0 0 24 24"},Object(s.createElement)(i.Path,{d:"M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"})),Object(s.createElement)("p",null,e.children))};function Ok(e){let{label:t,checked:n,help:r,className:o,onChange:a,disabled:i}=e;const c="inspector-toggle-control-"+Object(p.useInstanceId)(Ok);let u,f;return r&&(u=c+"__help",f=Object(l.isFunction)(r)?r(n):r),Object(s.createElement)(gd,{id:c,help:f,className:d()("components-toggle-control",o)},Object(s.createElement)(yx,{id:c,checked:n,onChange:function(e){a(e.target.checked)},"aria-describedby":u,disabled:i}),Object(s.createElement)("label",{htmlFor:c,className:"components-toggle-control__label"},t))}var jk=n("aA0e"),wk=n("GK4x");var xk=e=>Object(s.createElement)("div",{className:e.className},e.children);var _k=Object(s.forwardRef)((function(e,t){let{containerClassName:n,className:r,extraProps:o,children:a,title:i,isActive:l,isDisabled:u,...f}=e;return Object(s.useContext)(wk.a)?Object(s.createElement)(jk.a,Object(c.a)({className:d()("components-toolbar-button",r)},o,f,{ref:t}),e=>Object(s.createElement)(id.a,Object(c.a)({label:i,isPressed:l,disabled:u},e),a)):Object(s.createElement)(xk,{className:n},Object(s.createElement)(id.a,Object(c.a)({ref:t,icon:f.icon,label:i,shortcut:f.shortcut,"data-subscript":f.subscript,onClick:e=>{e.stopPropagation(),f.onClick&&f.onClick(e)},className:d()("components-toolbar__control",r),isPressed:l,disabled:u,"data-toolbar-item":!0},o,f),a))}));var Ek=e=>{let{className:t,children:n,...r}=e;return Object(s.createElement)("div",Object(c.a)({className:t},r),n)};var kk=function(e){let{controls:t=[],toggleProps:n,...r}=e;const o=e=>Object(s.createElement)(Ig,Object(c.a)({controls:t,toggleProps:{...e,"data-toolbar-item":!0}},r));return Object(s.useContext)(wk.a)?Object(s.createElement)(jk.a,n,o):o(n)};var Sk=function(e){let{controls:t=[],children:n,className:r,isCollapsed:o,title:a,...i}=e;const u=Object(s.useContext)(wk.a);if(!(t&&t.length||n))return null;const f=d()(u?"components-toolbar-group":"components-toolbar",r);let p=t;return Array.isArray(p[0])||(p=[p]),o?Object(s.createElement)(kk,Object(c.a)({label:a,controls:p,className:f,children:n},i)):Object(s.createElement)(Ek,Object(c.a)({className:f},i),Object(l.flatMap)(p,(e,t)=>e.map((e,n)=>Object(s.createElement)(_k,Object(c.a)({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e)))),n)};var Ck=n("mjVI"),Pk=Object(_e.a)({name:"Toolbar",compose:Ge,keys:Ck.a,useProps:function(e,t){return Object($.b)({role:"toolbar","aria-orientation":e.orientation},t)}}),Tk=Object(xe.a)({as:"div",useHook:Pk,useCreateElement:function(e,t,n){return Object(Te.a)(e,t,n)}});var Mk=Object(s.forwardRef)((function(e,t){let{label:n,...r}=e;const o=function(e){void 0===e&&(e={});var t=Z(e),n=t.orientation,r=void 0===n?"horizontal":n,o=Object($.a)(t,["orientation"]);return we(Object($.b)({orientation:r},o))}({loop:!0,baseId:r.id,rtl:Object(f.isRTL)()});return Object(s.createElement)(wk.a.Provider,{value:o},Object(s.createElement)(Tk,Object(c.a)({ref:t,"aria-label":n},o,r)))}));var Dk=Object(s.forwardRef)((function(e,t){let{className:n,label:r,...o}=e;if(!r)return hs()("Using Toolbar without label prop",{since:"5.6",alternative:"ToolbarGroup component",link:"https://developer.wordpress.org/block-editor/components/toolbar/"}),Object(s.createElement)(Sk,Object(c.a)({},o,{className:n}));const a=d()("components-accessible-toolbar",n);return Object(s.createElement)(Mk,Object(c.a)({className:a,label:r,ref:t},o))}));var Ik=Object(s.forwardRef)((function(e,t){return Object(s.useContext)(wk.a)?Object(s.createElement)(jk.a,Object(c.a)({ref:t},e.toggleProps),t=>Object(s.createElement)(Ig,Object(c.a)({},e,{popoverProps:{isAlternate:!0,...e.popoverProps},toggleProps:t}))):Object(s.createElement)(Ig,e)}));var Rk=Object(s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(i.Path,{d:"M7 11.5h10V13H7z"}));const Ak={spacing:Object(x.a)("column-gap:",ys(4),";row-gap:",ys(6),";",""),item:{fullWidth:{name:"18iuzk9",styles:"grid-column:1/-1"}}},Nk=Object(x.a)(Ak.spacing,";border-top:",Vs.borderWidth," solid ",L.gray[200],";margin-top:-1px;padding:",ys(4),";",""),Lk={name:"huufmu",styles:">div:not( :first-of-type ){display:none;}"},Fk=Object(x.a)(Ak.item.fullWidth," gap:",ys(2),";.components-dropdown-menu{margin:",ys(-1)," 0;}&&&& .components-dropdown-menu__toggle{padding:0;min-width:",ys(6),";}",""),zk={name:"1pmxm02",styles:"font-size:inherit;font-weight:500;line-height:normal;&&{margin:0;}"},Bk=Object(x.a)(Ak.item.fullWidth,"&>div,&>fieldset{padding-bottom:0;margin-bottom:0;max-width:100%;}&& ",pd,"{margin-bottom:0;",bd,"{margin-bottom:0;}}",""),Hk={name:"eivff4",styles:"display:none"},Vk={name:"16gsvie",styles:"min-width:200px"},Wk=()=>{},Uk=Object(s.createContext)({menuItems:{default:{},optional:{}},hasMenuItems:!1,isResetting:!1,shouldRenderPlaceholderItems:!1,registerPanelItem:Wk,deregisterPanelItem:Wk,flagItemCustomization:Wk,areAllOptionalControlsHidden:!0}),Kk=()=>Object(s.useContext)(Uk);const Gk=()=>{},$k=e=>{let{items:t,onClose:n,toggleItem:r}=e;return t.length?Object(s.createElement)(Xx,null,t.map(e=>{let[t,o]=e;const a=o?Rk:$p.a,i=o?Object(f.sprintf)(Object(f.__)("Reset %s"),t):void 0;return Object(s.createElement)(Jx,{key:t,icon:a,isSelected:!0,disabled:!o,label:i,onClick:()=>{r(t),n()},role:"menuitemcheckbox"},t)})):null},qk=e=>{let{items:t,onClose:n,toggleItem:r}=e;return t.length?Object(s.createElement)(Xx,null,t.map(e=>{let[t,o]=e;const a=o?Object(f.sprintf)(Object(f.__)("Hide and reset %s"),t):Object(f.sprintf)(Object(f.__)("Show %s"),t);return Object(s.createElement)(Jx,{key:t,icon:o&&$p.a,isSelected:o,label:a,onClick:()=>{r(t),n()},role:"menuitemcheckbox"},t)})):null};var Yk=Object(ts.a)((e,t)=>{const{areAllOptionalControlsHidden:n,dropdownMenuClassName:r,hasMenuItems:o,headingClassName:a,label:i,menuItems:l,resetAll:u,toggleItem:d,...p}=function(e){const{className:t,...n}=Object(rs.a)(e,"ToolsPanelHeader"),r=Object(us.a)(),o=Object(s.useMemo)(()=>r(Fk,t),[t]),a=Object(s.useMemo)(()=>r(Vk),[]),i=Object(s.useMemo)(()=>r(zk),[]),{menuItems:c,hasMenuItems:l,areAllOptionalControlsHidden:u}=Kk();return{...n,areAllOptionalControlsHidden:u,dropdownMenuClassName:a,hasMenuItems:l,headingClassName:i,menuItems:c,className:o}}(e);if(!i)return null;const b=Object.entries((null==l?void 0:l.default)||{}),h=Object.entries((null==l?void 0:l.optional)||{}),m=n?Zp.a:Jp.a,v=n?Object(f._x)("View and add options","Button label to reveal tool panel options"):Object(f._x)("View options","Button label to reveal tool panel options");return Object(s.createElement)(ob,Object(c.a)({},p,{ref:t}),Object(s.createElement)(Wv,{level:2,className:a},i),o&&Object(s.createElement)(Ig,{icon:m,label:v,menuProps:{className:r},toggleProps:{isSmall:!0}},e=>{let{onClose:t=Gk}=e;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)($k,{items:b,onClose:t,toggleItem:d}),Object(s.createElement)(qk,{items:h,onClose:t,toggleItem:d}),Object(s.createElement)(Xx,null,Object(s.createElement)(Jx,{variant:"tertiary",onClick:()=>{u(),t()}},Object(f.__)("Reset all"))))}))},"ToolsPanelHeader");const Xk=e=>{let{panelItems:t,shouldReset:n,currentMenuItems:r}=e;const o={default:{},optional:{}};return t.forEach(e=>{var t;let{hasValue:a,isShownByDefault:i,label:c}=e;const s=i?"default":"optional",l=null==r||null===(t=r[s])||void 0===t?void 0:t[c],u=void 0!==l?l:a();o[s][c]=!n&&u}),o};function Zk(e){const{className:t,resetAll:n,panelId:r,hasInnerWrapper:o,shouldRenderPlaceholderItems:a,...i}=Object(rs.a)(e,"ToolsPanel"),c=Object(s.useRef)(!1),l=c.current;Object(s.useEffect)(()=>{l&&(c.current=!1)},[l]);const[u,d]=Object(s.useState)([]),[f,p]=Object(s.useState)({default:{},optional:{}});Object(s.useEffect)(()=>{p(e=>Xk({panelItems:u,shouldReset:!1,currentMenuItems:e}))},[u]);const[b,h]=Object(s.useState)(!1);Object(s.useEffect)(()=>{if(f.optional){const e=Object.entries(f.optional),t=e.length>0&&!e.some(e=>{let[,t]=e;return t});h(t)}},[f.optional]);const m=Object(us.a)(),v=Object(s.useMemo)(()=>{const e=(null==f?void 0:f.default)&&!!Object.keys(null==f?void 0:f.default).length,n=o&&(r=2,Object(x.a)(">div:not( :first-of-type ){display:grid;grid-template-columns:",`repeat( ${r}, 1fr )`,";",Ak.spacing," ",Ak.item.fullWidth,";}",""));var r;return m(Nk,n,!e&&b&&Lk,t)},[t,o,f,b]);return{...i,panelContext:{panelId:r,menuItems:f,registerPanelItem:e=>{d(t=>{const n=[...t],r=n.findIndex(t=>t.label===e.label);return-1!==r&&n.splice(r,1),[...n,e]})},deregisterPanelItem:e=>{d(t=>{const n=[...t],r=n.findIndex(t=>t.label===e);return-1!==r&&n.splice(r,1),n})},flagItemCustomization:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";p(n=>({...n,[t]:{...n[t],[e]:!0}}))},areAllOptionalControlsHidden:b,hasMenuItems:!!u.length,isResetting:c.current,shouldRenderPlaceholderItems:a},resetAllItems:()=>{"function"==typeof n&&(c.current=!0,n((()=>{const e=[];return u.forEach(t=>{t.resetAllFilter&&e.push(t.resetAllFilter)}),e})()));const e=Xk({panelItems:u,shouldReset:!0});p(e)},toggleItem:e=>{const t=u.find(t=>t.label===e);if(!t)return;const n=t.isShownByDefault?"default":"optional",r={...f,[n]:{...f[n],[e]:!f[n][e]}};p(r)},className:v}}var Jk=Object(ts.a)((e,t)=>{const{children:n,label:r,panelContext:o,resetAllItems:a,toggleItem:i,className:c}=Zk(e);return Object(s.createElement)(Px,{columns:2,className:c,ref:t},Object(s.createElement)(Uk.Provider,{value:o},Object(s.createElement)(Yk,{label:r,resetAll:a,toggleItem:i}),n))},"ToolsPanel");var Qk=Object(ts.a)((e,t)=>{const{children:n,isShown:r,shouldRenderPlaceholder:o,...a}=function(e){var t,n;const{className:r,hasValue:o,isShownByDefault:a,label:i,panelId:c,resetAllFilter:l,onDeselect:u,onSelect:d,...f}=Object(rs.a)(e,"ToolsPanelItem"),{panelId:b,menuItems:h,registerPanelItem:m,deregisterPanelItem:v,flagItemCustomization:g,isResetting:y,shouldRenderPlaceholderItems:O}=Kk(),j=Object(s.useCallback)(o,[c]),w=Object(s.useCallback)(l,[c]),x=Object(p.usePrevious)(b),_=b===c||null===b;Object(s.useEffect)(()=>(_&&null!==x&&m({hasValue:j,isShownByDefault:a,label:i,resetAllFilter:w,panelId:c}),()=>{(null===x&&b||b===c)&&v(i)}),[b,_,a,i,j,c,x,w]);const E=o(),k=Object(p.usePrevious)(E);Object(s.useEffect)(()=>{a&&E&&!k&&g(i)},[E,k,a,i]);const S=a?"default":"optional",C=null==h||null===(t=h[S])||void 0===t?void 0:t[i],P=Object(p.usePrevious)(C);Object(s.useEffect)(()=>{!y&&_&&(!C||E||P||null==d||d(),!C&&P&&(null==u||u()))},[_,C,y,E,P]);const T=a?void 0!==(null==h||null===(n=h[S])||void 0===n?void 0:n[i]):C,M=Object(us.a)(),D=Object(s.useMemo)(()=>M(Bk,O&&!T&&Hk,r),[T,O,r]);return{...f,isShown:T,shouldRenderPlaceholder:O,className:D}}(e);return r?Object(s.createElement)(ns.a,Object(c.a)({},a,{ref:t}),n):o?Object(s.createElement)(ns.a,Object(c.a)({},a,{ref:t})):null},"ToolsPanelItem");const eS=Object(s.createContext)(),tS=eS.Provider;function nS(e){let{children:t}=e;const[n,r]=Object(s.useState)(),o=Object(s.useMemo)(()=>({lastFocusedElement:n,setLastFocusedElement:r}),[n]);return Object(s.createElement)(tS,{value:o},t)}function rS(e){const t=kg.focus.focusable.find(e,{sequential:!0});if(t&&t.length)return t.filter(t=>t.closest('[role="row"]')===e)}var oS=Object(s.forwardRef)((function(e,t){let{children:n,onExpandRow:r=(()=>{}),onCollapseRow:o=(()=>{}),...a}=e;const i=Object(s.useCallback)(e=>{const{keyCode:t,metaKey:n,ctrlKey:a,altKey:i,shiftKey:c}=e;if(n||a||i||c||!Object(l.includes)([Nu.UP,Nu.DOWN,Nu.LEFT,Nu.RIGHT],t))return;e.stopPropagation();const{activeElement:s}=document,{currentTarget:u}=e;if(!u.contains(s))return;const d=s.closest('[role="row"]'),f=rS(d),p=f.indexOf(s);if(Object(l.includes)([Nu.LEFT,Nu.RIGHT],t)){let n;if(n=t===Nu.LEFT?Math.max(0,p-1):Math.min(p+1,f.length-1),n===p){if(t===Nu.LEFT){var b,h,m;if("true"===d.getAttribute("aria-expanded"))return o(d),void e.preventDefault();const t=Math.max(parseInt(null!==(b=null==d?void 0:d.ariaLevel)&&void 0!==b?b:1,10)-1,1),n=Array.from(u.querySelectorAll('[role="row"]'));let r=d;for(let e=n.indexOf(d);e>=0;e--)if(parseInt(n[e].ariaLevel,10)===t){r=n[e];break}null===(h=rS(r))||void 0===h||null===(m=h[0])||void 0===m||m.focus()}if(t===Nu.RIGHT){if("false"===d.getAttribute("aria-expanded"))return r(d),void e.preventDefault();const t=rS(d);var v;if(t.length>0)null===(v=t[t.length-1])||void 0===v||v.focus()}return void e.preventDefault()}f[n].focus(),e.preventDefault()}else if(Object(l.includes)([Nu.UP,Nu.DOWN],t)){const n=Array.from(u.querySelectorAll('[role="row"]')),r=n.indexOf(d);let o;if(o=t===Nu.UP?Math.max(0,r-1):Math.min(r+1,n.length-1),o===r)return void e.preventDefault();const a=rS(n[o]);if(!a||!a.length)return void e.preventDefault();a[Math.min(p,a.length-1)].focus(),e.preventDefault()}},[r,o]);return Object(s.createElement)(nS,null,Object(s.createElement)("table",Object(c.a)({},a,{role:"treegrid",onKeyDown:i,ref:t}),Object(s.createElement)("tbody",null,n)))}));var aS=Object(s.forwardRef)((function(e,t){let{children:n,level:r,positionInSet:o,setSize:a,isExpanded:i,...l}=e;return Object(s.createElement)("tr",Object(c.a)({},l,{ref:t,role:"row","aria-level":r,"aria-posinset":o,"aria-setsize":a,"aria-expanded":i}),n)})),iS=Object(s.forwardRef)((function(e,t){let{children:n,as:r,...o}=e;const a=Object(s.useRef)(),i=t||a,{lastFocusedElement:c,setLastFocusedElement:l}=Object(s.useContext)(eS);let u;c&&(u=c===i.current?0:-1);const d={ref:i,tabIndex:u,onFocus:e=>l(e.target),...o};return"function"==typeof n?n(d):Object(s.createElement)(r,d,n)})),cS=Object(s.forwardRef)((function(e,t){let{children:n,...r}=e;return Object(s.createElement)(iS,Object(c.a)({ref:t},r),n)})),sS=Object(s.forwardRef)((function(e,t){let{children:n,withoutGridItem:r=!1,...o}=e;return Object(s.createElement)("td",Object(c.a)({},o,{role:"gridcell"}),r?n:Object(s.createElement)(cS,{ref:t},n))}));var lS=Object(ts.a)((function(e,t){const n=Rs(e);return Object(s.createElement)(ns.a,Object(c.a)({as:"span"},n,{ref:t}))}),"Truncate");function uS(e){e.stopPropagation()}var dS=Object(s.forwardRef)((e,t)=>{let{children:n,...r}=e;return hs()("wp.components.IsolatedEventContainer",{since:"5.7"}),Object(s.createElement)("div",Object(c.a)({},r,{ref:t,onMouseDown:uS}),n)}),fS=n("dSD1"),pS=n("+WFq");const bS=Object(w.a)("div",{target:"ebn2ljm1"})({name:"5ob2ly",styles:"display:flex;position:relative"}),hS=Object(w.a)("div",{target:"ebn2ljm0"})(e=>{let{isLayered:t,offsetAmount:n}=e;return t?Object(x.a)({marginLeft:n},"",""):Object(x.a)({right:-1*n},"","")}," ",e=>{let{isLayered:t}=e;return t?mS:vS}," ",e=>{let{zIndex:t}=e;return Object(x.a)({zIndex:t},"","")},";"),mS={name:"a4hmbt",styles:"position:absolute"},vS={name:"bjn8wh",styles:"position:relative"};var gS=Object(ts.a)((function(e,t){const{children:n,className:r,isLayered:o=!0,isReversed:a=!1,offset:i=0,...l}=Object(rs.a)(e,"ZStack"),u=nb(n),d=u.length-1,f=u.map((e,t)=>{const n=a?d-t:t,r=i*t,c=Object(s.isValidElement)(e)?e.key:t;return Object(s.createElement)(hS,{isLayered:o,offsetAmount:r,zIndex:n,key:c},e)});return Object(s.createElement)(bS,Object(c.a)({},l,{className:r,ref:t}),f)}),"ZStack");const yS={previous:[{modifier:"ctrlShift",character:"`"},{modifier:"access",character:"p"}],next:[{modifier:"ctrl",character:"`"},{modifier:"access",character:"n"}]};function OS(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yS;const t=Object(s.useRef)(),[n,r]=Object(s.useState)(!1);function o(e){const n=Array.from(t.current.querySelectorAll('[role="region"]'));if(!n.length)return;let o=n[0];const a=n.indexOf(t.current.ownerDocument.activeElement);if(-1!==a){let t=a+e;t=-1===t?n.length-1:t,t=t===n.length?0:t,o=n[t]}o.focus(),r(!0)}const a=Object(p.useRefEffect)(e=>{function t(){r(!1)}return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}},[r]);return{ref:Object(p.useMergeRefs)([t,a]),className:n?"is-focusing-regions":"",onKeyDown(t){e.previous.some(e=>{let{modifier:n,character:r}=e;return Nu.isKeyboardEvent[n](t,r)})?o(-1):e.next.some(e=>{let{modifier:n,character:r}=e;return Nu.isKeyboardEvent[n](t,r)})&&o(1)}}}var jS=Object(p.createHigherOrderComponent)(e=>t=>{let{shortcuts:n,...r}=t;return Object(s.createElement)("div",OS(n),Object(s.createElement)(e,r))},"navigateRegions");var wS=Object(p.createHigherOrderComponent)(e=>function(t){const n=Object(p.useConstrainedTabbing)();return Object(s.createElement)("div",{ref:n,tabIndex:"-1"},Object(s.createElement)(e,t))},"withConstrainedTabbing"),xS=e=>Object(p.createHigherOrderComponent)(t=>class extends s.Component{constructor(){super(...arguments),this.nodeRef=this.props.node,this.state={fallbackStyles:void 0,grabStylesCompleted:!1},this.bindRef=this.bindRef.bind(this)}bindRef(e){e&&(this.nodeRef=e)}componentDidMount(){this.grabFallbackStyles()}componentDidUpdate(){this.grabFallbackStyles()}grabFallbackStyles(){const{grabStylesCompleted:t,fallbackStyles:n}=this.state;if(this.nodeRef&&!t){const t=e(this.nodeRef,this.props);Object(l.isEqual)(t,n)||this.setState({fallbackStyles:t,grabStylesCompleted:!!Object(l.every)(t)})}}render(){const e=Object(s.createElement)(t,Object(c.a)({},this.props,this.state.fallbackStyles));return this.props.node?e:Object(s.createElement)("div",{ref:this.bindRef}," ",e," ")}},"withFallbackStyles"),_S=n("g56x");function ES(e){return Object(p.createHigherOrderComponent)(t=>{const n="core/with-filters/"+e;let r;class o extends s.Component{constructor(){super(...arguments),void 0===r&&(r=Object(_S.applyFilters)(e,t))}componentDidMount(){o.instances.push(this),1===o.instances.length&&(Object(_S.addAction)("hookRemoved",n,i),Object(_S.addAction)("hookAdded",n,i))}componentWillUnmount(){o.instances=Object(l.without)(o.instances,this),0===o.instances.length&&(Object(_S.removeAction)("hookRemoved",n),Object(_S.removeAction)("hookAdded",n))}render(){return Object(s.createElement)(r,this.props)}}o.instances=[];const a=Object(l.debounce)(()=>{r=Object(_S.applyFilters)(e,t),o.instances.forEach(e=>{e.forceUpdate()})},16);function i(t){t===e&&a()}return o},"withFilters")}var kS=Object(p.createHigherOrderComponent)(e=>{const t=function(){let{onFocusReturn:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=>n=>{const r=Object(p.useFocusReturn)(e);return Object(s.createElement)("div",{ref:r},Object(s.createElement)(t,n))}};if((n=e)instanceof s.Component||"function"==typeof n){const n=e;return t()(n)}var n;return t(e)},"withFocusReturn");const SS=e=>{let{children:t}=e;return hs()("wp.components.FocusReturnProvider component",{since:"5.7",hint:"This provider is not used anymore. You can just remove it from your codebase"}),t};var CS=Object(p.createHigherOrderComponent)(e=>{function t(t,r){const[o,a]=Object(s.useState)([]),i=Object(s.useMemo)(()=>{const e=e=>{const t=e.id?e:{...e,id:Object(Nx.a)()};a(e=>[...e,t])};return{createNotice:e,createErrorNotice:t=>{e({status:"error",content:t})},removeNotice:e=>{a(t=>t.filter(t=>t.id!==e))},removeAllNotices:()=>{a([])}}},[]),l={...t,noticeList:o,noticeOperations:i,noticeUI:o.length>0&&Object(s.createElement)(G_,{className:"components-with-notices-ui",notices:o,onRemove:i.removeNotice})};return n?Object(s.createElement)(e,Object(c.a)({},l,{ref:r})):Object(s.createElement)(e,l)}let n;const{render:r}=e;return"function"==typeof r?(n=!0,Object(s.forwardRef)(t)):t})},SLit:function(e,t,n){"use strict";var r=n("D3zA"),o=n("AM7I"),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(i,a),s=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=c(r,i,arguments);if(s&&l){var n=s(t,"length");n.configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var d=function(){return c(r,a,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d},SSiF:function(e,t,n){var r=n("cDcd"),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},a=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function o(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?o():e.current&&e.current.addEventListener&&e.current.addEventListener("load",o),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},i=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=i);var t=r.useState(e(null)),n=t[0],o=t[1],c=r.useCallback((function(t){return o(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(a,{onResize:c})}),[c]),n]}},SVgp:function(e,t,n){"use strict";t.a=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},SegQ:function(e,t,n){"use strict";var r,o,a,i,c=n("qeuH"),s=n("B6Q+")();if(s){r=c("Object.prototype.hasOwnProperty"),o=c("RegExp.prototype.exec"),a={};var l=function(){throw a};i={toString:l,valueOf:l},"symbol"==typeof Symbol.toPrimitive&&(i[Symbol.toPrimitive]=l)}var u=c("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=s?function(e){if(!e||"object"!=typeof e)return!1;var t=d(e,"lastIndex");if(!(t&&r(t,"value")))return!1;try{o(e,i)}catch(e){return e===a}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===u(e)}},SyVe:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r,o=n("ouKs");try{r=window}catch(e){}function a(e){return e&&Object(o.a)(e).defaultView||r}},TFEf:function(e,t,n){"use strict";var r=n("Jt44")("%Reflect.construct%",!0),o=n("aflq");try{o({},"",{"[[Get]]":function(){}})}catch(e){o=null}if(o&&r){var a={},i={};o(i,"length",{"[[Get]]":function(){throw a},"[[Enumerable]]":!0}),e.exports=function(e){try{r(e,i)}catch(e){return e===a}}}else e.exports=function(e){return"function"==typeof e&&!!e.prototype}},TFuP:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a}));var r=["baseId","unstable_idCountRef","setBaseId","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget"],o=r,a=r},"TG4+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.withStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,c=void 0===n?"styles":n,u=t.themePropName,f=void 0===u?"theme":u,v=t.cssPropName,w=void 0===v?"css":v,x=t.flushBefore,_=void 0!==x&&x,E=t.pureComponent,k=void 0!==E&&E,S=void 0,C=void 0,P=void 0,T=void 0,M=y(k);function D(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function I(e){return e===l.DIRECTIONS.LTR?P:T}function R(t,n){var r=I(t),o=t===l.DIRECTIONS.LTR?S:C,a=d.default.get();return o&&r===a||(t===l.DIRECTIONS.RTL?(C=e?d.default.createRTL(e):g,T=a,o=C):(S=e?d.default.createLTR(e):g,P=a,o=S)),o}function A(e,t){return{resolveMethod:D(e),styleDef:R(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){p(this,n);var r=b(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():j;return r.state=A(o),r}return h(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe((function(t){e.setState(A(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;_&&d.default.flush();var n=this.state,o=n.resolveMethod,a=n.styleDef;return i.default.createElement(e,r({},this.props,(m(t={},f,d.default.get()),m(t,c,a()),m(t,w,o),t)))}}]),n}(M);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=O,e.propTypes&&(n.propTypes=(0,a.default)({},e.propTypes),delete n.propTypes[c],delete n.propTypes[f],delete n.propTypes[w]),e.defaultProps&&(n.defaultProps=(0,a.default)({},e.defaultProps)),(0,s.default)(n,e)}};var a=f(n("Koq/")),i=f(n("cDcd")),c=f(n("17x9")),s=f(n("2mql")),l=n("QEu6"),u=f(n("sDMB")),d=f(n("030x"));function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:c.default.object.isRequired,theme:c.default.object.isRequired,css:c.default.func.isRequired};var v={},g=function(){return v};function y(e){if(e){if(!i.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return i.default.PureComponent}return i.default.Component}var O=m({},l.CHANNEL,u.default),j=l.DIRECTIONS.LTR},TO8r:function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},TOwV:function(e,t,n){"use strict";e.exports=n("qT12")},TSYQ:function(e,t,n){var r;
-/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var c in r)n.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},TUyu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,o.default)(r.default)};var r=a(n("lzPt")),o=a(n("WI5Z"));function a(e){return e&&e.__esModule?e:{default:e}}},Teho:function(e,t,n){"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},Thzv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=S(n("Koq/")),i=S(n("cDcd")),c=S(n("17x9")),s=S(n("YZDV")),l=S(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=S(n("wy2R")),p=n("1TsT"),b=n("vV+G"),h=S(n("yc2e")),m=S(n("mMiH")),v=S(n("dRQD")),g=S(n("q86A")),y=S(n("m2ax")),O=S(n("jenk")),j=S(n("Pq96")),w=S(n("6HWY")),x=S(n("J7JS")),_=S(n("aE6U")),E=S(n("2S2E")),k=n("Fv1B");function S(e){return e&&e.__esModule?e:{default:e}}var C=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{enableOutsideDays:c.default.bool,firstVisibleMonthIndex:c.default.number,horizontalMonthPadding:u.nonNegativeInteger,initialMonth:l.default.momentObj,isAnimating:c.default.bool,numberOfMonths:c.default.number,modifiers:c.default.objectOf(c.default.objectOf(x.default)),orientation:_.default,onDayClick:c.default.func,onDayMouseEnter:c.default.func,onDayMouseLeave:c.default.func,onMonthTransitionEnd:c.default.func,onMonthChange:c.default.func,onYearChange:c.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:c.default.func,renderDayContents:c.default.func,translationValue:c.default.number,renderMonthElement:(0,u.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),daySize:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:c.default.bool,firstDayOfWeek:E.default,setMonthTitleHeight:c.default.func,isRTL:c.default.bool,transitionDuration:u.nonNegativeInteger,verticalBorderSpacing:u.nonNegativeInteger,monthFormat:c.default.string,phrases:c.default.shape((0,h.default)(b.CalendarDayPhrases)),dayAriaLabelFormat:c.default.string})),P={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,f.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:k.HORIZONTAL_ORIENTATION,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthChange:function(){},onYearChange:function(){},onMonthTransitionEnd:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,translationValue:null,renderMonthElement:null,daySize:k.DAY_SIZE,focusedDate:null,isFocused:!1,firstDayOfWeek:null,setMonthTitleHeight:null,isRTL:!1,transitionDuration:200,verticalBorderSpacing:void 0,monthFormat:"MMMM YYYY",phrases:b.CalendarDayPhrases,dayAriaLabelFormat:void 0};function T(e,t,n){var r=e.clone();n||(r=r.subtract(1,"month"));for(var o=[],a=0;a<(n?t:t+2);a+=1)o.push(r),r=r.clone().add(1,"month");return o}var M=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=e.orientation===k.VERTICAL_SCROLLABLE;return n.state={months:T(e.initialMonth,e.numberOfMonths,r)},n.isTransitionEndSupported=(0,v.default)(),n.onTransitionEnd=n.onTransitionEnd.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.locale=f.default.locale(),n.onMonthSelect=n.onMonthSelect.bind(n),n.onYearSelect=n.onYearSelect.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,p.addEventListener)(this.container,"transitionend",this.onTransitionEnd)}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.initialMonth,r=e.numberOfMonths,o=e.orientation,a=this.state.months,i=this.props,c=i.initialMonth,s=i.numberOfMonths!==r,l=a;c.isSame(n,"month")||s||((0,w.default)(c,n)?(l=a.slice(1)).push(a[a.length-1].clone().add(1,"month")):(0,j.default)(c,n)?(l=a.slice(0,a.length-1)).unshift(a[0].clone().subtract(1,"month")):l=T(n,r,o===k.VERTICAL_SCROLLABLE));s&&(l=T(n,r,o===k.VERTICAL_SCROLLABLE));var u=f.default.locale();this.locale!==u&&(this.locale=u,l=l.map((function(e){return e.locale(t.locale)}))),this.setState({months:l})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,s.default)(this,e,t)}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.isAnimating,n=e.transitionDuration,r=e.onMonthTransitionEnd;this.isTransitionEndSupported&&n||!t||r()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener()}},{key:"onTransitionEnd",value:function(){(0,this.props.onMonthTransitionEnd)()}},{key:"onMonthSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onMonthChange,a=r.orientation,i=this.state.months,c=a===k.VERTICAL_SCROLLABLE,s=i.indexOf(e);c||(s-=1),n.set("month",t).subtract(s,"months"),o(n)}},{key:"onYearSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onYearChange,a=r.orientation,i=this.state.months,c=a===k.VERTICAL_SCROLLABLE,s=i.indexOf(e);c||(s-=1),n.set("year",t).subtract(s,"months"),o(n)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.enableOutsideDays,o=t.firstVisibleMonthIndex,c=t.horizontalMonthPadding,s=t.isAnimating,l=t.modifiers,u=t.numberOfMonths,f=t.monthFormat,p=t.orientation,b=t.translationValue,h=t.daySize,v=t.onDayMouseEnter,j=t.onDayMouseLeave,w=t.onDayClick,x=t.renderMonthText,_=t.renderCalendarDay,E=t.renderDayContents,S=t.renderMonthElement,C=t.onMonthTransitionEnd,P=t.firstDayOfWeek,T=t.focusedDate,M=t.isFocused,D=t.isRTL,I=t.styles,R=t.phrases,A=t.dayAriaLabelFormat,N=t.transitionDuration,L=t.verticalBorderSpacing,F=t.setMonthTitleHeight,z=this.state.months,B=p===k.VERTICAL_ORIENTATION,H=p===k.VERTICAL_SCROLLABLE,V=p===k.HORIZONTAL_ORIENTATION,W=(0,y.default)(h,c),U=B||H?W:(u+2)*W,K=(B||H?"translateY":"translateX")+"("+String(b)+"px)";return i.default.createElement("div",r({},(0,d.css)(I.CalendarMonthGrid,V&&I.CalendarMonthGrid__horizontal,B&&I.CalendarMonthGrid__vertical,H&&I.CalendarMonthGrid__vertical_scrollable,s&&I.CalendarMonthGrid__animating,s&&N&&{transition:"transform "+String(N)+"ms ease-in-out"},(0,a.default)({},(0,g.default)(K),{width:U})),{ref:this.setContainerRef,onTransitionEnd:C}),z.map((function(t,a){var g=a>=o&&a<o+u,y=0===a&&!g,k=0===a&&s&&g,C=(0,O.default)(t);return i.default.createElement("div",r({key:C},(0,d.css)(V&&I.CalendarMonthGrid_month__horizontal,y&&I.CalendarMonthGrid_month__hideForAnimation,k&&!B&&!D&&{position:"absolute",left:-W},k&&!B&&D&&{position:"absolute",right:0},k&&B&&{position:"absolute",top:-b},!g&&!s&&I.CalendarMonthGrid_month__hidden)),i.default.createElement(m.default,{month:t,isVisible:g,enableOutsideDays:n,modifiers:l[C],monthFormat:f,orientation:p,onDayMouseEnter:v,onDayMouseLeave:j,onDayClick:w,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:x,renderCalendarDay:_,renderDayContents:E,renderMonthElement:S,firstDayOfWeek:P,daySize:h,focusedDate:g?T:null,isFocused:M,phrases:R,setMonthTitleHeight:F,dayAriaLabelFormat:A,verticalBorderSpacing:L,horizontalMonthPadding:c}))})))}}]),t}(i.default.Component);M.propTypes=C,M.defaultProps=P,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.noScrollBarOnVerticalScrollable,o=t.spacing,i=t.zIndex;return{CalendarMonthGrid:{background:n.background,textAlign:"left",zIndex:i},CalendarMonthGrid__animating:{zIndex:i+1},CalendarMonthGrid__horizontal:{position:"absolute",left:o.dayPickerHorizontalPadding},CalendarMonthGrid__vertical:{margin:"0 auto"},CalendarMonthGrid__vertical_scrollable:(0,a.default)({margin:"0 auto",overflowY:"scroll"},r&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}}),CalendarMonthGrid_month__horizontal:{display:"inline-block",verticalAlign:"top",minHeight:"100%"},CalendarMonthGrid_month__hideForAnimation:{position:"absolute",zIndex:i-1,opacity:0,pointerEvents:"none"},CalendarMonthGrid_month__hidden:{visibility:"hidden"}}}))(M)},Tqx9:function(e,t){e.exports=window.wp.primitives},U69M:function(e,t,n){"use strict";var r=n("j1Hc"),o=r("%String%"),a=r("%TypeError%");e.exports=function(e){if("symbol"==typeof e)throw new a("Cannot convert a Symbol value to a string");return o(e)}},UAm0:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("YLtl"),o=n("4eJC");const a=n.n(o)()((function(e){return"components-"+Object(r.kebabCase)(e)}))},UFhG:function(e,t,n){"use strict";var r=Math.floor;e.exports=function(e){return r(e)}},UVaH:function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n("FpZJ");e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n("yLpj"))},UaFt:function(e,t,n){"use strict";var r=n("j1Hc")("%Object%"),o=n("BeK9"),a=r.preventExtensions,i=r.isExtensible;e.exports=a?function(e){return!o(e)&&i(e)}:function(e){return!o(e)}},VDVV:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("/ZKw")),o=s(n("9pTB")),a=n("kFtd"),i=s(n("nLTY")),c=s(n("3HjQ"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={create:function(e){var t={},n=Object.keys(e),r=(o.default.get(a.GLOBAL_CACHE_KEY)||{}).namespace,c=void 0===r?"":r;return n.forEach((function(e){var n=(0,i.default)(c,e);t[e]=n})),t},resolve:function(e){var t=(0,r.default)(e,1/0),n=(0,c.default)(t),o=n.classNames,a=n.hasInlineStyles,i=n.inlineStyles,s={className:o.map((function(e,t){return String(e)+" "+String(e)+"_"+String(t+1)})).join(" ")};return a&&(s.style=i),s}}},VF6F:function(e,t,n){"use strict";var r=n("AM7I"),o=n("PrET"),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}},VKE3:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=a},Vq1w:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("utzN");function o(e){return!Object(r.a)(e.currentTarget,e.target)}},"W/NR":function(e,t,n){"use strict";var r=n("GRId"),o=n("YLtl"),a=n("K9lf"),i=n("oXO/"),c=n("Cw+6");const s=700,l=Object(r.createElement)("div",{className:"event-catcher"}),u=e=>{let{eventHandlers:t,child:n,childrenWithPopover:o}=e;return Object(r.cloneElement)(Object(r.createElement)("span",{className:"disabled-element-wrapper"},Object(r.cloneElement)(l,t),Object(r.cloneElement)(n,{children:o})),t)},d=e=>{let{child:t,eventHandlers:n,childrenWithPopover:o}=e;return Object(r.cloneElement)(t,{...n,children:o})},f=(e,t,n)=>{if(1!==r.Children.count(e))return;const o=r.Children.only(e);o.props.disabled||"function"==typeof o.props[t]&&o.props[t](n)};t.a=function(e){const{children:t,position:n,text:l,shortcut:p,delay:b=s}=e,[h,m]=Object(r.useState)(!1),[v,g]=Object(r.useState)(!1),y=Object(a.useDebounce)(g,b),O=e=>{f(t,"onMouseDown",e),document.addEventListener("mouseup",x),m(!0)},j=e=>{f(t,"onMouseUp",e),document.removeEventListener("mouseup",x),m(!1)},w=e=>"mouseUp"===e?j:"mouseDown"===e?O:void 0,x=w("mouseUp"),_=(e,n)=>r=>{if(f(t,e,r),r.currentTarget.disabled)return;if("focus"===r.type&&h)return;y.cancel();const a=Object(o.includes)(["focus","mouseenter"],r.type);a!==v&&(n?y(a):g(a))},E=()=>{y.cancel(),document.removeEventListener("mouseup",x)};if(Object(r.useEffect)(()=>E,[]),1!==r.Children.count(t))return t;const k={onMouseEnter:_("onMouseEnter",!0),onMouseLeave:_("onMouseLeave"),onClick:_("onClick"),onFocus:_("onFocus"),onBlur:_("onBlur"),onMouseDown:w("mouseDown")},S=r.Children.only(t),{children:C,disabled:P}=S.props;return(P?u:d)({child:S,eventHandlers:k,childrenWithPopover:(e=>{let{grandchildren:t,isOver:n,position:o,text:a,shortcut:s}=e;return Object(r.concatChildren)(t,n&&Object(r.createElement)(i.a,{focusOnMount:!1,position:o,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},a,Object(r.createElement)(c.a,{className:"components-tooltip__shortcut",shortcut:s})))})({grandchildren:C,...{isOver:v,position:n,text:l,shortcut:p}})})}},WFqU:function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("yLpj"))},WI5Z:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r.default.registerInterface(e),r.default.registerTheme(o.default)};var r=a(n("030x")),o=a(n("xOhs"));function a(e){return e&&e.__esModule?e:{default:e}}},WZeS:function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n("Teho"),a=n("IdCN"),i=n("DmXP"),c=n("/sVA"),s=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,i,c="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<c.length;++i)if(n=e[c[i]],a(n)&&(r=n.call(e),o(r)))return r;throw new TypeError("No default value")},l=function(e,t){var n=e[t];if(null!=n){if(!a(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}};e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):c(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var a=t.call(e,n);if(o(a))return a;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||c(e))&&(n="string"),s(e,"default"===n?"number":n)}},WbBG:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"Wfh+":function(e,t,n){"use strict";var r=n("nKkb"),o=n("UFhG"),a=n("Pjai"),i=n("HwJD"),c=n("ald4"),s=n("6I5v");e.exports=function(e){var t=a(e);return i(t)?0:0!==t&&c(t)?s(t)*o(r(t)):t}},WmS1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,i.DISPLAY_FORMAT,i.ISO_FORMAT]:[i.DISPLAY_FORMAT,i.ISO_FORMAT],r=(0,a.default)(e,n,!0);return r.isValid()?r.hour(12):null};var r,o=n("wy2R"),a=(r=o)&&r.__esModule?r:{default:r},i=n("Fv1B")},WnOg:function(e,t,n){"use strict"},XGBb:function(e,t,n){var r=n("wy2R"),o=n("c6aN"),a=n("iNdV");e.exports={momentObj:a.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:a.createMomentChecker("string",(function(e){return"string"==typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:a.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return r.isDuration(e)}),"Duration")}},XgzB:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}));t.a=a},Xtko:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=k(n("Koq/")),i=k(n("cDcd")),c=k(n("17x9")),s=k(n("XGBb")),l=n("Hsqg"),u=k(n("wy2R")),d=k(n("4cSd")),f=k(n("LTAC")),p=n("vV+G"),b=k(n("yc2e")),h=k(n("pRvc")),m=k(n("Nho6")),v=k(n("u5Fq")),g=k(n("IgE5")),y=k(n("pYxT")),O=k(n("jenk")),j=k(n("aE6U")),w=k(n("2S2E")),x=k(n("oR9Z")),_=n("Fv1B"),E=k(n("Nloh"));function k(e){return e&&e.__esModule?e:{default:e}}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=(0,l.forbidExtraProps)({date:s.default.momentObj,onDateChange:c.default.func,focused:c.default.bool,onFocusChange:c.default.func,onClose:c.default.func,keepOpenOnDateSelect:c.default.bool,isOutsideRange:c.default.func,isDayBlocked:c.default.func,isDayHighlighted:c.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:c.default.bool,numberOfMonths:c.default.number,orientation:j.default,withPortal:c.default.bool,initialVisibleMonth:c.default.func,firstDayOfWeek:w.default,hideKeyboardShortcutsPanel:c.default.bool,daySize:l.nonNegativeInteger,verticalHeight:l.nonNegativeInteger,noBorder:c.default.bool,verticalBorderSpacing:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:c.default.node,navNext:c.default.node,onPrevMonthClick:c.default.func,onNextMonthClick:c.default.func,onOutsideClick:c.default.func,renderCalendarDay:c.default.func,renderDayContents:c.default.func,renderCalendarInfo:c.default.func,calendarInfoPosition:x.default,onBlur:c.default.func,isFocused:c.default.bool,showKeyboardShortcuts:c.default.bool,monthFormat:c.default.string,weekDayFormat:c.default.string,phrases:c.default.shape((0,b.default)(p.DayPickerPhrases)),dayAriaLabelFormat:c.default.string,isRTL:c.default.bool}),P={date:void 0,onDateChange:function(){},focused:!1,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:_.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,firstDayOfWeek:null,daySize:_.DAY_SIZE,verticalHeight:null,noBorder:!1,verticalBorderSpacing:void 0,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:_.INFO_POSITION_BOTTOM,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:p.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},T=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.isTouchDevice=!1,n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},hovered:function(e){return n.isHovered(e)},selected:function(e){return n.isSelected(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,a=r.visibleDays;return n.state={hoverDate:null,currentMonth:o,visibleDays:a},n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onDayClick=n.onDayClick.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.isTouchDevice=(0,f.default)()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.date,r=e.focused,o=e.isOutsideRange,i=e.isDayBlocked,c=e.isDayHighlighted,s=e.initialVisibleMonth,l=e.numberOfMonths,f=e.enableOutsideDays,p=this.props,b=p.isOutsideRange,m=p.isDayBlocked,v=p.isDayHighlighted,g=p.numberOfMonths,y=p.enableOutsideDays,O=p.initialVisibleMonth,j=p.focused,w=p.date,x=this.state.visibleDays,_=!1,E=!1,k=!1;o!==b&&(this.modifiers["blocked-out-of-range"]=function(e){return o(e)},_=!0),i!==m&&(this.modifiers["blocked-calendar"]=function(e){return i(e)},E=!0),c!==v&&(this.modifiers["highlighted-calendar"]=function(e){return c(e)},k=!0);var S=_||E||k;if(l!==g||f!==y||s!==O&&!j&&r){var C=this.getStateForNewMonth(e),P=C.currentMonth;x=C.visibleDays,this.setState({currentMonth:P,visibleDays:x})}var T=r!==j,M={};n!==w&&(M=this.deleteModifier(M,w,"selected"),M=this.addModifier(M,n,"selected")),(T||S)&&(0,d.default)(x).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e);M=t.isBlocked(n)?t.addModifier(M,n,"blocked"):t.deleteModifier(M,n,"blocked"),(T||_)&&(M=o(n)?t.addModifier(M,n,"blocked-out-of-range"):t.deleteModifier(M,n,"blocked-out-of-range")),(T||E)&&(M=i(n)?t.addModifier(M,n,"blocked-calendar"):t.deleteModifier(M,n,"blocked-calendar")),(T||k)&&(M=c(n)?t.addModifier(M,n,"highlighted-calendar"):t.deleteModifier(M,n,"highlighted-calendar"))}))}));var D=(0,u.default)();(0,h.default)(this.today,D)||(M=this.deleteModifier(M,this.today,"today"),M=this.addModifier(M,D,"today"),this.today=D),Object.keys(M).length>0&&this.setState({visibleDays:(0,a.default)({},x,M)})}},{key:"componentWillUpdate",value:function(){this.today=(0,u.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,a=n.onFocusChange,i=n.onClose;r(e),o||(a({focused:!1}),i({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,a.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,a.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(0,n+1).forEach((function(e){s[e]=c[e]}));var l=i.clone().subtract(1,"month"),u=(0,v.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,a.default)({},s,this.getModifiers(u))},(function(){t(l.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,i=o.currentMonth,c=o.visibleDays,s={};Object.keys(c).sort().slice(1).forEach((function(e){s[e]=c[e]}));var l=i.clone().add(n,"month"),u=(0,v.default)(l,1,r),d=i.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,a.default)({},s,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===_.VERTICAL_SCROLLABLE,a=(0,v.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===_.VERTICAL_SCROLLABLE,a=(0,v.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(a)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,a=n.numberOfMonths,i=e.clone().startOf("month");if(o&&(i=o.clone()),this.isBlocked(i)){for(var c=[],s=e.clone().add(a-1,"months").endOf("month"),l=i.clone();!(0,m.default)(l,s);)l=l.clone().add(1,"day"),c.push(l);var u=c.filter((function(e){return!t.isBlocked(e)&&(0,m.default)(e,i)}));if(u.length>0){var d=r(u,1);i=d[0]}}return i}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,y.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,a=e.enableOutsideDays,i=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:i,visibleDays:this.getModifiers((0,v.default)(i,o,a))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,f=o;if(c===_.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,g.default)(t,d,f,i))return e;var p=(0,y.default)(t),b=(0,a.default)({},e);if(i)b=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(p)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[p]);return i.add(n),(0,a.default)({},t,S({},r,(0,a.default)({},o,S({},p,i))))}),b);else{var h=(0,O.default)(t),m=e[h]||u[h],v=new Set(m[p]);v.add(n),b=(0,a.default)({},b,S({},h,(0,a.default)({},m,S({},p,v))))}return b}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,i=r.enableOutsideDays,c=r.orientation,s=this.state,l=s.currentMonth,u=s.visibleDays,d=l,f=o;if(c===_.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,g.default)(t,d,f,i))return e;var p=(0,y.default)(t),b=(0,a.default)({},e);if(i)b=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(p)>-1})).reduce((function(t,r){var o=e[r]||u[r],i=new Set(o[p]);return i.delete(n),(0,a.default)({},t,S({},r,(0,a.default)({},o,S({},p,i))))}),b);else{var h=(0,O.default)(t),m=e[h]||u[h],v=new Set(m[p]);v.delete(n),b=(0,a.default)({},b,S({},h,(0,a.default)({},m,S({},p,v))))}return b}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,h.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,h.default)(e,t)}},{key:"isToday",value:function(e){return(0,h.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,a=e.navPrev,c=e.navNext,s=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,p=e.daySize,b=e.firstDayOfWeek,h=e.renderCalendarDay,m=e.renderDayContents,v=e.renderCalendarInfo,g=e.renderMonthElement,y=e.calendarInfoPosition,O=e.isFocused,j=e.isRTL,w=e.phrases,x=e.dayAriaLabelFormat,_=e.onBlur,k=e.showKeyboardShortcuts,S=e.weekDayFormat,C=e.verticalHeight,P=e.noBorder,T=e.transitionDuration,M=e.verticalBorderSpacing,D=e.horizontalMonthPadding,I=this.state,R=I.currentMonth,A=I.visibleDays;return i.default.createElement(E.default,{orientation:n,enableOutsideDays:d,modifiers:A,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:f,initialVisibleMonth:function(){return R},firstDayOfWeek:b,onOutsideClick:s,navPrev:a,navNext:c,renderMonthText:o,renderCalendarDay:h,renderDayContents:m,renderCalendarInfo:v,renderMonthElement:g,calendarInfoPosition:y,isFocused:O,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:_,phrases:w,daySize:p,isRTL:j,showKeyboardShortcuts:k,weekDayFormat:S,dayAriaLabelFormat:x,verticalHeight:C,noBorder:P,transitionDuration:T,verticalBorderSpacing:M,horizontalMonthPadding:D})}}]),t}(i.default.Component);t.default=T,T.propTypes=C,T.defaultProps=P},YLtl:function(e,t){e.exports=window.lodash},YZDV:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function a(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var i=0;i<n.length;i++)if(!r.call(t,n[i])||!o(e[n[i]],t[n[i]]))return!1;return!0}e.exports=function(e,t,n){return!a(e.props,t)||!a(e.state,n)}},Yesc:function(e,t,n){"use strict";var r=n("j1Hc")("%TypeError%"),o=n("yyeE"),a=n("u9yu"),i=n("hWh2"),c=n("aBsX"),s=n("1ao6"),l=n("Bl8U"),u=n("/A+k"),d=n("U69M");e.exports=function e(t,n,f,p,b){var h;arguments.length>5&&(h=arguments[5]);for(var m=p,v=0;v<f;){var g=d(v),y=s(n,g);if(!0===y){var O=c(n,g);if(void 0!==h){if(arguments.length<=6)throw new r("Assertion failed: thisArg is required when mapperFunction is provided");O=a(h,arguments[6],[O,v,n])}var j=!1;if(b>0&&(j=l(O)),j){var w=u(O);m=e(t,O,w,m,b-1)}else{if(m>=o)throw new r("index too large");i(t,d(m),O),m+=1}}v+=1}return m}},Z23Y:function(e,t){e.exports=window.wp.warning},ZbWB:function(e,t,n){"use strict";var r=n("j1Hc")("RegExp.prototype.test"),o=n("SLit");e.exports=function(e){return o(r,e)}},a73V:function(e,t,n){"use strict";var r=n("j1Hc")("%Symbol.match%",!0),o=n("SegQ"),a=n("e87w");e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(r){var t=e[r];if(void 0!==t)return a(t)}return o(e)}},aA0e:function(e,t,n){"use strict";(function(e){var r=n("wx14"),o=n("GRId"),a=n("zTEx"),i=(n("Z23Y"),n("GK4x"));t.a=Object(o.forwardRef)((function(t,n){let{children:c,as:s,...l}=t;const u=Object(o.useContext)(i.a);if("function"!=typeof c&&!s)return void 0!==e&&e.env,null;const d={...l,ref:n,"data-toolbar-item":!0};return u?Object(o.createElement)(a.a,Object(r.a)({},u,d,{as:s}),c):s?Object(o.createElement)(s,d,c):c(d)}))}).call(this,n("8oxB"))},aBsX:function(e,t,n){"use strict";var r=n("j1Hc")("%TypeError%"),o=n("4qvr"),a=n("nR7C"),i=n("PoQ0");e.exports=function(e,t){if("Object"!==i(e))throw new r("Assertion failed: Type(O) is not Object");if(!a(t))throw new r("Assertion failed: IsPropertyKey(P) is not true, got "+o(t));return e[t]}},aE6U:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("17x9"),a=(r=o)&&r.__esModule?r:{default:r},i=n("Fv1B");t.default=a.default.oneOf([i.HORIZONTAL_ORIENTATION,i.VERTICAL_ORIENTATION,i.VERTICAL_SCROLLABLE])},aI7X:function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==a.call(t))throw new TypeError(r+t);for(var n,i=o.call(arguments,1),c=function(){if(this instanceof n){var r=t.apply(this,i.concat(o.call(arguments)));return Object(r)===r?r:this}return t.apply(e,i.concat(o.call(arguments)))},s=Math.max(0,t.length-i.length),l=[],u=0;u<s;u++)l.push("$"+u);if(n=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(c),t.prototype){var d=function(){};d.prototype=t.prototype,n.prototype=new d,d.prototype=null}return n}},aU41:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("cDcd");function o(e,t){void 0===t&&(t=null),e&&("function"==typeof e?e(t):e.current=t)}function a(e,t){return Object(r.useMemo)((function(){return null==e&&null==t?null:function(n){o(e,n),o(t,n)}}),[e,t])}},aUaa:function(e,t,n){"use strict";var r=n("v7lB")("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},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"},r={};for(var o in n)r[n[o]]=o;var a={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,i,c=r[this.toHex()];if(c)return c;if(null==t?void 0:t.closest){var s=this.toRgb(),l=1/0,u="black";if(!a.length)for(var d in n)a[d]=new e(n[d]).toRgb();for(var f in n){var p=(o=s,i=a[f],Math.pow(o.r-i.r,2)+Math.pow(o.g-i.g,2)+Math.pow(o.b-i.b,2));p<l&&(l=p,u=f)}return u}},t.string.push([function(t){var r=t.toLowerCase(),o="transparent"===r?"#0000":n[r];return o?new e(o).toRgb():null},"name"])}},aflq:function(e,t,n){"use strict";var r=n("j1Hc")("%TypeError%"),o=n("Qmvf"),a=n("wTIp"),i=n("rQBh"),c=n("vYfR"),s=n("6/BL"),l=n("nR7C"),u=n("uug5"),d=n("6orR"),f=n("PoQ0");e.exports=function(e,t,n){if("Object"!==f(e))throw new r("Assertion failed: Type(O) is not Object");if(!l(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var p=o({Type:f,IsDataDescriptor:s,IsAccessorDescriptor:c},n)?n:d(n);if(!o({Type:f,IsDataDescriptor:s,IsAccessorDescriptor:c},p))throw new r("Assertion failed: Desc is not a valid Property Descriptor");return a(s,u,i,e,t,p)}},ald4:function(e,t,n){"use strict";var r=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!r(e)&&e!==1/0&&e!==-1/0}},bVTw:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none"},Object(r.createElement)(o.Path,{d:"M5 11.25h14v1.5H5z"}));t.a=a},bWcr:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=a},c6aN:function(e,t,n){var r=n("wy2R");e.exports={isValidMoment:function(e){return!("function"==typeof r.isMoment&&!r.isMoment(e))&&("function"==typeof e.isValid?e.isValid():!isNaN(e))}}},cD2C:function(e,t,n){"use strict";e.exports=n("5aBA")},cDcd:function(e,t){e.exports=window.React},cGtP:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.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=a},dRQD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("TransitionEvent"in window))}},dSD1:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"b",(function(){return _})),n.d(t,"d",(function(){return E}));var r=n("wx14"),o=n("GRId"),a=n("YLtl");var i=Object(o.createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}});var c=e=>{const{getSlot:t,subscribe:n}=Object(o.useContext)(i),[r,a]=Object(o.useState)(t(e));return Object(o.useEffect)(()=>{a(t(e));return n(()=>{a(t(e))})},[e]),r};function s(e){let{name:t,children:n,registerFill:r,unregisterFill:i}=e;const s=c(t),l=Object(o.useRef)({name:t,children:n});return Object(o.useLayoutEffect)(()=>(r(t,l.current),()=>i(t,l.current)),[]),Object(o.useLayoutEffect)(()=>{l.current.children=n,s&&s.forceUpdate()},[n]),Object(o.useLayoutEffect)(()=>{t!==l.current.name&&(i(l.current.name,l.current),l.current.name=t,r(t,l.current))},[t]),s&&s.node?(Object(a.isFunction)(n)&&(n=n(s.props.fillProps)),Object(o.createPortal)(n,s.node)):null}var l=e=>Object(o.createElement)(i.Consumer,null,t=>{let{registerFill:n,unregisterFill:a}=t;return Object(o.createElement)(s,Object(r.a)({},e,{registerFill:n,unregisterFill:a}))});class u extends o.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:t,fillProps:n={},getFills:r}=this.props,i=Object(a.map)(r(t,this),e=>{const t=Object(a.isFunction)(e.children)?e.children(n):e.children;return o.Children.map(t,(e,t)=>{if(!e||Object(a.isString)(e))return e;const n=e.key||t;return Object(o.cloneElement)(e,{key:n})})}).filter(Object(a.negate)(o.isEmptyElement));return Object(o.createElement)(o.Fragment,null,Object(a.isFunction)(e)?e(i):i)}}var d=e=>Object(o.createElement)(i.Consumer,null,t=>{let{registerSlot:n,unregisterSlot:a,getFills:i}=t;return Object(o.createElement)(u,Object(r.a)({},e,{registerSlot:n,unregisterSlot:a,getFills:i}))}),f=n("+WFq");function p(){const[,e]=Object(o.useState)({}),t=Object(o.useRef)(!0);return Object(o.useEffect)(()=>()=>{t.current=!1},[]),()=>{t.current&&e({})}}function b(e){let{name:t,children:n}=e;const r=Object(f.a)(t),a=Object(o.useRef)({rerender:p()});return Object(o.useEffect)(()=>(r.registerFill(a),()=>{r.unregisterFill(a)}),[r.registerFill,r.unregisterFill]),r.ref&&r.ref.current?("function"==typeof n&&(n=n(r.fillProps)),Object(o.createPortal)(n,r.ref.current)):null}var h=n("K9lf"),m=n("JYkG");var v=Object(o.forwardRef)((function(e,t){let{name:n,fillProps:a={},as:i="div",...c}=e;const s=Object(o.useContext)(m.a),l=Object(o.useRef)();return Object(o.useLayoutEffect)(()=>(s.registerSlot(n,l,a),()=>{s.unregisterSlot(n,l)}),[s.registerSlot,s.unregisterSlot,n]),Object(o.useLayoutEffect)(()=>{s.updateSlot(n,a)}),Object(o.createElement)(i,Object(r.a)({ref:Object(h.useMergeRefs)([t,l])},c))})),g=n("rl8x"),y=n.n(g);function O(e){let{children:t}=e;const n=function(){const[e,t]=Object(o.useState)({}),[n,r]=Object(o.useState)({}),a=Object(o.useCallback)((e,n,r)=>{t(t=>{const o=t[e]||{};return{...t,[e]:{...o,ref:n||o.ref,fillProps:r||o.fillProps||{}}}})},[]),i=Object(o.useCallback)((e,n)=>{t(t=>{const{[e]:r,...o}=t;return(null==r?void 0:r.ref)===n?o:t})},[]),c=Object(o.useCallback)((t,r)=>{const o=e[t];if(o&&!y()(o.fillProps,r)){o.fillProps=r;const e=n[t];e&&e.map(e=>e.current.rerender())}},[e,n]),s=Object(o.useCallback)((e,t)=>{r(n=>({...n,[e]:[...n[e]||[],t]}))},[]),l=Object(o.useCallback)((e,t)=>{r(n=>n[e]?{...n,[e]:n[e].filter(e=>e!==t)}:n)},[]);return Object(o.useMemo)(()=>({slots:e,fills:n,registerSlot:a,updateSlot:c,unregisterSlot:i,registerFill:s,unregisterFill:l}),[e,n,a,c,i,s,l])}();return Object(o.createElement)(m.a.Provider,{value:n},t)}class j extends o.Component{constructor(){super(...arguments),this.registerSlot=this.registerSlot.bind(this),this.registerFill=this.registerFill.bind(this),this.unregisterSlot=this.unregisterSlot.bind(this),this.unregisterFill=this.unregisterFill.bind(this),this.getSlot=this.getSlot.bind(this),this.getFills=this.getFills.bind(this),this.hasFills=this.hasFills.bind(this),this.subscribe=this.subscribe.bind(this),this.slots={},this.fills={},this.listeners=[],this.contextValue={registerSlot:this.registerSlot,unregisterSlot:this.unregisterSlot,registerFill:this.registerFill,unregisterFill:this.unregisterFill,getSlot:this.getSlot,getFills:this.getFills,hasFills:this.hasFills,subscribe:this.subscribe}}registerSlot(e,t){const n=this.slots[e];this.slots[e]=t,this.triggerListeners(),this.forceUpdateSlot(e),n&&n.forceUpdate()}registerFill(e,t){this.fills[e]=[...this.fills[e]||[],t],this.forceUpdateSlot(e)}unregisterSlot(e,t){this.slots[e]===t&&(delete this.slots[e],this.triggerListeners())}unregisterFill(e,t){this.fills[e]=Object(a.without)(this.fills[e],t),this.forceUpdateSlot(e)}getSlot(e){return this.slots[e]}getFills(e,t){return this.slots[e]!==t?[]:this.fills[e]}hasFills(e){return this.fills[e]&&!!this.fills[e].length}forceUpdateSlot(e){const t=this.getSlot(e);t&&t.forceUpdate()}triggerListeners(){this.listeners.forEach(e=>e())}subscribe(e){return this.listeners.push(e),()=>{this.listeners=Object(a.without)(this.listeners,e)}}render(){return Object(o.createElement)(i.Provider,{value:this.contextValue},this.props.children)}}function w(e){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l,e),Object(o.createElement)(b,e))}const x=Object(o.forwardRef)((e,t)=>{let{bubblesVirtually:n,...a}=e;return n?Object(o.createElement)(v,Object(r.a)({},a,{ref:t})):Object(o.createElement)(d,a)});function _(e){let{children:t,...n}=e;return Object(o.createElement)(j,n,Object(o.createElement)(O,null,t))}function E(e){const t=t=>Object(o.createElement)(w,Object(r.a)({name:e},t));t.displayName=e+"Fill";const n=t=>Object(o.createElement)(x,Object(r.a)({name:e},t));return n.displayName=e+"Slot",n.__unstableName=e,{Fill:t,Slot:n}}},e87w:function(e,t,n){"use strict";e.exports=function(e){return!!e}},eH4f:function(e,t,n){"use strict";e.exports=n("laOf")},eJkf:function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},eNtd:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("cDcd"),o=n("AXvK");function a(e){var t=Object(r.useRef)(e);return Object(o.a)((function(){t.current=e})),t}},eUCI:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("cDcd"),o=Object(r.createContext)({})},eVQB:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0);o=o.next}while(void 0!==o)}}},ek6p:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return d}));var r=n("cDcd"),o=n("+1VY"),a=(n("wx14"),n("gRFL"),n("i2T3"),n("eVQB")),i=n("Exhd"),c={}.hasOwnProperty,s=Object(r.createContext)("undefined"!=typeof HTMLElement?Object(o.a)({key:"css"}):null);var l=s.Provider,u=function(){return Object(r.useContext)(s)},d=function(e){return Object(r.forwardRef)((function(t,n){var o=Object(r.useContext)(s);return e(t,o,n)}))},f=Object(r.createContext)({});var p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b=function(e,t){var n={};for(var r in t)c.call(t,r)&&(n[r]=t[r]);return n[p]=e,n},h=function(){return null},m=d((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var s=e[p],l=[o],u="";"string"==typeof e.className?u=Object(a.a)(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var d=Object(i.a)(l,void 0,Object(r.useContext)(f));Object(a.b)(t,d,"string"==typeof s);u+=t.key+"-"+d.name;var b={};for(var m in e)c.call(e,m)&&"css"!==m&&m!==p&&(b[m]=e[m]);b.ref=n,b.className=u;var v=Object(r.createElement)(s,b),g=Object(r.createElement)(h,null);return Object(r.createElement)(r.Fragment,null,g,v)}))},"ep+1":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},fHnH:function(e,t,n){"use strict";n.d(t,"a",(function(){return P})),n.d(t,"b",(function(){return M}));var r={grad:.9,turn:360,rad:360/(2*Math.PI)},o=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},a=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},c=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},s=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)}},l=function(e){return{r:a(e.r),g:a(e.g),b:a(e.b),a:a(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},f=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),i=a-Math.min(t,n,r),c=i?a===t?(n-r)/i:a===n?2+(r-t)/i:4+(t-n)/i:0;return{h:60*(c<0?c+6:c),s:a?i/a*100:0,v:a/255*100,a:o}},p=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),i=r*(1-n),c=r*(1-(t-a)*n),s=r*(1-(1-t+a)*n),l=a%6;return{r:255*[r,c,i,i,s,r][l],g:255*[s,r,r,c,i,i][l],b:255*[i,i,s,r,r,c][l],a:o}},b=function(e){return{h:c(e.h),s:i(e.s,0,100),l:i(e.l,0,100),a:i(e.a)}},h=function(e){return{h:a(e.h),s:a(e.s),l:a(e.l),a:a(e.a,3)}},m=function(e){return p((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},v=function(e){return{h:(t=f(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},g=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,O=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,j=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,w={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?a(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?a(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=O.exec(e)||j.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:s({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=g.exec(e)||y.exec(e);if(!t)return null;var n,o,a=b({h:(n=t[1],o=t[2],void 0===o&&(o="deg"),Number(n)*(r[o]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return m(a)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,a=e.a,i=void 0===a?1:a;return o(t)&&o(n)&&o(r)?s({r:Number(t),g:Number(n),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,a=e.a,i=void 0===a?1:a;if(!o(t)||!o(n)||!o(r))return null;var c=b({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return m(c)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,a=e.a,s=void 0===a?1:a;if(!o(t)||!o(n)||!o(r))return null;var l=function(e){return{h:c(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(r),a:Number(s)});return p(l)},"hsv"]]},x=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},_=function(e){return"string"==typeof e?x(e.trim(),w.string):"object"==typeof e&&null!==e?x(e,w.object):[null,void 0]},E=function(e,t){var n=v(e);return{h:n.h,s:i(n.s+100*t,0,100),l:n.l,a:n.a}},k=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},S=function(e,t){var n=v(e);return{h:n.h,s:n.s,l:i(n.l+100*t,0,100),a:n.a}},C=function(){function e(e){this.parsed=_(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return a(k(this.rgba),2)},e.prototype.isDark=function(){return k(this.rgba)<.5},e.prototype.isLight=function(){return k(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=l(this.rgba)).r,n=e.g,r=e.b,i=(o=e.a)<1?d(a(255*o)):"","#"+d(t)+d(n)+d(r)+i;var e,t,n,r,o,i},e.prototype.toRgb=function(){return l(this.rgba)},e.prototype.toRgbString=function(){return t=(e=l(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return h(v(this.rgba))},e.prototype.toHslString=function(){return t=(e=h(v(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=f(this.rgba),{h:a(e.h),s:a(e.s),v:a(e.v),a:a(e.a,3)};var e},e.prototype.invert=function(){return P({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),P(E(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),P(E(this.rgba,-e))},e.prototype.grayscale=function(){return P(E(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),P(S(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),P(S(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?P({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):a(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=v(this.rgba);return"number"==typeof e?P({h:e,s:t.s,l:t.l,a:t.a}):a(t.h)},e.prototype.isEqual=function(e){return this.toHex()===P(e).toHex()},e}(),P=function(e){return e instanceof C?e:new C(e)},T=[],M=function(e){e.forEach((function(e){T.indexOf(e)<0&&(e(C,w),T.push(e))}))}},faye:function(e,t){e.exports=window.ReactDOM},g56x:function(e,t){e.exports=window.wp.hooks},gCm3:function(e,t,n){"use strict";n.r(t);var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.default=o},gRFL:function(e,t,n){"use strict";t.a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}},gZI3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("cDcd"),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e){return a.default.createElement("svg",e,a.default.createElement("path",{d:"M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z"}))};i.defaultProps={viewBox:"0 0 1000 1000"},t.default=i},gdqT:function(e,t){e.exports=window.wp.a11y},h6xH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!a.default.isMoment(e)||!a.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),i=t.month(),c=n===o,s=r===i;return c&&s?e.date()<t.date():c?r<i:n<o};var r,o=n("wy2R"),a=(r=o)&&r.__esModule?r:{default:r}},"h9+V":function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("ek6p"),o=n("eVQB"),a=n("+1VY"),i=n("Exhd");function c(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function s(e,t,n){var r=[],a=Object(o.a)(e,r,n);return r.length<2?n:a+t(r)}var l=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(n&&(n+=" "),n+=a)}}return n},u=function(e){var t=Object(a.a)(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=Object(i.a)(n,t.registered,void 0);return Object(o.b)(t,a,!1),t.key+"-"+a.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return s(t.registered,n,l(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Object(i.a)(n,t.registered);c(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Object(i.a)(n,t.registered),a="animation-"+o.name;return c(t,{name:o.name,styles:"@keyframes "+a+"{"+o.styles+"}"}),a},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:o.a.bind(null,t.registered),merge:s.bind(null,t.registered,n)}}({key:"css"}),d=(u.flush,u.hydrate,u.cx),f=(u.merge,u.getRegisteredStyles,u.injectGlobal,u.keyframes,u.css,u.sheet,u.cache,n("GRId"));const p=e=>null!=e&&["name","styles"].every(t=>void 0!==e[t]),b=()=>{const e=Object(r.d)();return Object(f.useCallback)((function(){if(null===e)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return d(...n.map(t=>p(t)?(Object(o.b)(e,t,!1),`${e.key}-${t.name}`):t))}),[e])}},hE48:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n("cDcd"),o=n("RDTF"),a=n("IVEb"),i=n("I/A+"),c=n("Ptb8");function s(e){var t;if(!Object(c.a)(e))return!1;var n=Object.getPrototypeOf(e);return null==n||(null===(t=n.constructor)||void 0===t?void 0:t.toString())===Object.toString()}function l(e,t){for(var n={},r={},o=0,a=Object.keys(e);o<a.length;o++){var i=a[o];t.indexOf(i)>=0?n[i]=e[i]:r[i]=e[i]}return[n,r]}function u(e,t){if(void 0===t&&(t=[]),!s(e.state))return l(e,t);var n=l(e,[].concat(t,["state"])),r=n[0],o=n[1],a=r.state,c=Object(i.a)(r,["state"]);return[Object(i.b)(Object(i.b)({},a),c),o]}var d=n("uqqE");function f(e){return"normalizePropsAreEqualInner"===e.name?e:function(t,n){return s(t.state)&&s(n.state)?e(Object(i.b)(Object(i.b)({},t.state),t),Object(i.b)(Object(i.b)({},n.state),n)):e(t,n)}}function p(e){var t,n=e.as,i=e.useHook,c=e.memo,s=e.propsAreEqual,l=void 0===s?null==i?void 0:i.unstable_propsAreEqual:s,p=e.keys,b=void 0===p?(null==i?void 0:i.__keys)||[]:p,h=e.useCreateElement,m=void 0===h?a.a:h,v=function(e,t){var r=e.as,a=void 0===r?n:r,c=Object(o.b)(e,["as"]);if(i){var s,l=u(c,b),d=l[0],f=l[1],p=i(d,Object(o.a)({ref:t},f)),h=p.wrapElement,v=Object(o.b)(p,["wrapElement"]),g=(null===(s=a.render)||void 0===s?void 0:s.__keys)||a.__keys,y=g&&u(c,g)[0],O=y?Object(o.a)(Object(o.a)({},v),y):v,j=m(a,O);return h?h(j):j}return m(a,Object(o.a)({ref:t},c))};return t=v,v=Object(r.forwardRef)(t),c&&(v=function(e,t){return Object(r.memo)(e,t)}(v,l&&f(l))),v.__keys=b,v.unstable_propsAreEqual=f(l||d.a),v}},hWh2:function(e,t,n){"use strict";var r=n("j1Hc")("%TypeError%"),o=n("S3lO"),a=n("nR7C"),i=n("PoQ0");e.exports=function(e,t,n){if("Object"!==i(e))throw new r("Assertion failed: Type(O) is not Object");if(!a(t))throw new r("Assertion failed: IsPropertyKey(P) is not true");var c=o(e,t,n);if(!c)throw new r("unable to create data property");return c}},i2T3:function(e,t,n){"use strict";var r=n("2mql"),o=n.n(r);t.a=function(e,t){return o()(e,t)}},"iB/h":function(e,t,n){"use strict";(function(e){var r=n("GRId"),o=n("YLtl"),a=n("TSYQ"),i=n.n(a),c=n("gdqT"),s=n("l3Sj"),l=(n("Z23Y"),n("kA6J"));t.a=Object(r.forwardRef)((function(t,n){let{className:a,children:u,spokenMessage:d=u,politeness:f="polite",actions:p=[],onRemove:b=o.noop,icon:h=null,explicitDismiss:m=!1,onDismiss:v=o.noop,listRef:g}=t;function y(e){e&&e.preventDefault&&e.preventDefault(),g.current.focus(),v(),b()}v=v||o.noop,function(e,t){const n="string"==typeof e?e:Object(r.renderToString)(e);Object(r.useEffect)(()=>{n&&Object(c.speak)(n,t)},[n,t])}(d,f),Object(r.useEffect)(()=>{const e=setTimeout(()=>{m||(v(),b())},1e4);return()=>clearTimeout(e)},[v,b]);const O=i()(a,"components-snackbar",{"components-snackbar-explicit-dismiss":!!m});p&&p.length>1&&(void 0!==e&&e.env,p=[p[0]]);const j=i()("components-snackbar__content",{"components-snackbar__content-with-icon":!!h});return Object(r.createElement)("div",{ref:n,className:O,onClick:m?o.noop:y,tabIndex:"0",role:m?"":"button",onKeyPress:m?o.noop:y,"aria-label":m?"":Object(s.__)("Dismiss this notice")},Object(r.createElement)("div",{className:j},h&&Object(r.createElement)("div",{className:"components-snackbar__icon"},h),u,p.map((e,t)=>{let{label:n,onClick:o,url:a}=e;return Object(r.createElement)(l.a,{key:t,href:a,variant:"tertiary",onClick:e=>function(e,t){e.stopPropagation(),b(),t&&t(e)}(e,o),className:"components-snackbar__action"},n)}),m&&Object(r.createElement)("span",{role:"button","aria-label":"Dismiss this notice",tabIndex:"0",className:"components-snackbar__dismiss-button",onClick:y,onKeyPress:y},"✕")))}))}).call(this,n("8oxB"))},iClF:function(e,t,n){"use strict";var r=n("GRId");t.a=function(e){let{icon:t,size:n=24,...o}=e;return Object(r.cloneElement)(t,{width:n,height:n,...o})}},iNdV:function(e,t){var n={invalidPredicate:"`predicate` must be a function",invalidPropValidator:"`propValidator` must be a function",requiredCore:"is marked as required",invalidTypeCore:"Invalid input type",predicateFailureCore:"Failed to succeed with predicate",anonymousMessage:"<<anonymous>>",baseInvalidMessage:"Invalid "};function r(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var r=e.bind(null,!1,t);return r.isRequired=e.bind(null,!0,t),r},t}function o(e,t,r){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+r+"`.")}e.exports={constructPropValidatorVariations:r,createMomentChecker:function(e,t,a,i){return r((function(r,c,s,l,u,d,f){var p=s[l],b=typeof p,h=function(e,t,n,r){var a=void 0===r,i=null===r;if(e){if(a)return o(n,t,"undefined");if(i)return o(n,t,"null")}return a||i?null:-1}(r,u=u||n.anonymousMessage,f=f||l,p);if(-1!==h)return h;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+l+"` of type `"+b+"` supplied to `"+u+"`, expected `"+e+"`.");if(!a(p))return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+b+"` supplied to `"+u+"`, expected `"+i+"`.");if(c&&!c(p)){var m=c.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+b+"` supplied to `"+u+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null}))},messages:n}},iSWJ:function(e,t,n){"use strict";var r=n("wx14"),o=n("GRId"),a=n("C6yU"),i=n("7Jlx");const c={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal"};var s=n("q9zb");const l=Object(i.a)((function(e,t){const{style:n,...i}=Object(a.a)(e,"VisuallyHidden");return Object(o.createElement)(s.a,Object(r.a)({ref:t},i,{style:{...c,...n||{}}}))}),"VisuallyHidden");t.a=l},iYXd:function(e,t,n){"use strict";function r(e,t){return t?e.find((function(e){return!e.disabled&&e.id!==t})):e.find((function(e){return!e.disabled}))}function o(e,t){var n;return t||null===t?t:e.currentId||null===e.currentId?e.currentId:null===(n=r(e.items||[]))||void 0===n?void 0:n.id}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}))},ib7Q:function(e,t,n){"use strict";var r=n("xoj2"),o=n("82c2");e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},ixyq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",a="width"===t?"Right":"Bottom",i=!n||r?window.getComputedStyle(e):null,c=e.offsetWidth,s=e.offsetHeight,l="width"===t?c:s;n||(l-=parseFloat(i["padding"+o])+parseFloat(i["padding"+a])+parseFloat(i["border"+o+"Width"])+parseFloat(i["border"+a+"Width"]));r&&(l+=parseFloat(i["margin"+o])+parseFloat(i["margin"+a]));return l}},j1Hc:function(e,t,n){"use strict";var r=SyntaxError,o=Function,a=TypeError,i=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var s=function(){throw new a},l=c?function(){try{return s}catch(e){try{return c(arguments,"callee").get}catch(e){return s}}}():s,u=n("HyUg")(),d=Object.getPrototypeOf||function(e){return e.__proto__},f={},p="undefined"==typeof Uint8Array?void 0:d(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?d([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?d(d([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?d((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?d((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?d(""[Symbol.iterator]()):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},h={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},m=n("D3zA"),v=n("oNNP"),g=m.call(Function.call,Array.prototype.concat),y=m.call(Function.apply,Array.prototype.splice),O=m.call(Function.call,String.prototype.replace),j=m.call(Function.call,String.prototype.slice),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,_=function(e){var t=j(e,0,1),n=j(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var o=[];return O(e,w,(function(e,t,n,r){o[o.length]=n?O(r,x,"$1"):t||e})),o},E=function(e,t){var n,o=e;if(v(h,o)&&(o="%"+(n=h[o])[0]+"%"),v(b,o)){var c=b[o];if(c===f&&(c=function e(t){var n;if("%AsyncFunction%"===t)n=i("async function () {}");else if("%GeneratorFunction%"===t)n=i("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=i("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=d(o.prototype))}return b[t]=n,n}(o)),void 0===c&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:c}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=_(e),o=n.length>0?n[0]:"",i=E("%"+o+"%",t),s=i.name,l=i.value,u=!1,d=i.alias;d&&(o=d[0],y(n,g([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],m=j(h,0,1),O=j(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===O||"'"===O||"`"===O)&&m!==O)throw new r("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),v(b,s="%"+(o+="."+h)+"%"))l=b[s];else if(null!=l){if(!(h in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&f+1>=n.length){var w=c(l,h);l=(p=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:l[h]}else p=v(l,h),l=l[h];p&&!u&&(b[s]=l)}}return l}},jB5C:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function a(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function i(e){return a(e)}function c(e){return a(e,!0)}function s(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,a=o.body,i=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=i.clientLeft||a.clientLeft||0,top:r-=i.clientTop||a.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=i(r),t.top+=c(r),t}var l=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="left";var f=void 0;function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function b(e){return"border-box"===f(e,"boxSizing")}"undefined"!=typeof window&&(f=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,a=n||o.defaultView.getComputedStyle(e,null);return a&&(r=a.getPropertyValue(t)||a[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(l.test(n)&&!u.test(t)){var r=e.style,o=r[d],a=e.runtimeStyle[d];e.runtimeStyle[d]=e.currentStyle[d],r[d]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[d]=o,e.runtimeStyle[d]=a}return""===n?"auto":n});var h=["margin","border","padding"];function m(e,t,n){var r={},o=e.style,a=void 0;for(a in t)t.hasOwnProperty(a)&&(r[a]=o[a],o[a]=t[a]);for(a in n.call(e),t)t.hasOwnProperty(a)&&(o[a]=r[a])}function v(e,t,n){var r=0,o=void 0,a=void 0,i=void 0;for(a=0;a<t.length;a++)if(o=t[a])for(i=0;i<n.length;i++){var c=void 0;c="border"===o?o+n[i]+"Width":o+n[i],r+=parseFloat(f(e,c))||0}return r}function g(e){return null!=e&&e==e.window}var y={};function O(e,t,n){if(g(e))return"width"===t?y.viewportWidth(e):y.viewportHeight(e);if(9===e.nodeType)return"width"===t?y.docWidth(e):y.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,a=(f(e),b(e)),i=0;(null==o||o<=0)&&(o=void 0,(null==(i=f(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===n&&(n=a?1:-1);var c=void 0!==o||a,s=o||i;if(-1===n)return c?s-v(e,["border","padding"],r):i;if(c){var l=2===n?-v(e,["border"],r):v(e,["margin"],r);return s+(1===n?0:l)}return i+v(e,h.slice(n),r)}p(["Width","Height"],(function(e){y["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],y["viewport"+e](n))},y["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,a=r.documentElement[n];return"CSS1Compat"===r.compatMode&&a||o&&o[n]||a}}));var j={position:"absolute",visibility:"hidden",display:"block"};function w(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=O.apply(void 0,n):m(e,j,(function(){t=O.apply(void 0,n)})),t}function x(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):f(e,t);for(var a in t)t.hasOwnProperty(a)&&x(e,a,t[a])}p(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);y["outer"+t]=function(t,n){return t&&w(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];y[e]=function(t,r){if(void 0===r)return t&&w(t,e,-1);if(t){f(t);return b(t)&&(r+=v(t,["padding","border"],n)),x(t,e,r)}}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return s(e);!function(e,t){"static"===x(e,"position")&&(e.style.position="relative");var n=s(e),r={},o=void 0,a=void 0;for(a in t)t.hasOwnProperty(a)&&(o=parseFloat(x(e,a))||0,r[a]=o+t[a]-n[a]);x(e,r)}(e,t)},isWindow:g,each:p,css:x,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(g(e)){if(void 0===t)return i(e);window.scrollTo(t,c(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(g(e)){if(void 0===t)return c(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},y)},jXQH:function(e,t,n){var r=n("TO8r"),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},jenk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(a.ISO_MONTH_FORMAT):null};var r=i(n("wy2R")),o=i(n("WmS1")),a=n("Fv1B");function i(e){return e&&e.__esModule?e:{default:e}}},k2cL:function(e,t,n){"use strict";function r(e){return e.target===e.currentTarget}n.d(t,"a",(function(){return r}))},k8OV:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("GRId");let o=0;function a(e){const t=document.scrollingElement||document.body;e&&(o=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=o)}let i=0;function c(){return Object(r.useEffect)(()=>(0===i&&a(!0),++i,()=>{1===i&&a(!1),--i}),[]),null}},kA6J:function(e,t,n){"use strict";var r=n("wx14"),o=n("GRId"),a=n("TSYQ"),i=n.n(a),c=n("YLtl"),s=n("NMb1"),l=n.n(s),u=n("K9lf"),d=n("W/NR"),f=n("9VDH"),p=n("iSWJ");const b=["onMouseDown","onClick"];t.a=Object(o.forwardRef)((function e(t,n){const{href:a,target:s,isSmall:h,isPressed:m,isBusy:v,isDestructive:g,className:y,disabled:O,icon:j,iconPosition:w="left",iconSize:x,showTooltip:_,tooltipPosition:E,shortcut:k,label:S,children:C,text:P,variant:T,__experimentalIsFocusable:M,describedBy:D,...I}=function(e){let{isDefault:t,isPrimary:n,isSecondary:r,isTertiary:o,isLink:a,variant:i,...c}=e,s=i;var u,d,f,p,b;return n&&(null!==(u=s)&&void 0!==u||(s="primary")),o&&(null!==(d=s)&&void 0!==d||(s="tertiary")),r&&(null!==(f=s)&&void 0!==f||(s="secondary")),t&&(l()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"'}),null!==(p=s)&&void 0!==p||(s="secondary")),a&&(null!==(b=s)&&void 0!==b||(s="link")),{...c,variant:s}}(t),R=Object(u.useInstanceId)(e,"components-button__description"),A=i()("components-button",y,{"is-secondary":"secondary"===T,"is-primary":"primary"===T,"is-small":h,"is-tertiary":"tertiary"===T,"is-pressed":m,"is-busy":v,"is-link":"link"===T,"is-destructive":g,"has-text":!!j&&!!C,"has-icon":!!j}),N=O&&!M,L=void 0===a||N?"button":"a",F="a"===L?{href:a,target:s}:{type:"button",disabled:N,"aria-pressed":m};if(O&&M){F["aria-disabled"]=!0;for(const e of b)I[e]=e=>{e.stopPropagation(),e.preventDefault()}}const z=!N&&(_&&S||k||!!S&&(!C||Object(c.isArray)(C)&&!C.length)&&!1!==_),B=D?R:null,H=I["aria-describedby"]||B,V=Object(o.createElement)(L,Object(r.a)({},F,I,{className:A,"aria-label":I["aria-label"]||S,"aria-describedby":H,ref:n}),j&&"left"===w&&Object(o.createElement)(f.a,{icon:j,size:x}),P&&Object(o.createElement)(o.Fragment,null,P),j&&"right"===w&&Object(o.createElement)(f.a,{icon:j,size:x}),C);return z?Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d.a,{text:D||S,shortcut:k,position:E},V),D&&Object(o.createElement)(p.a,null,Object(o.createElement)("span",{id:B},D))):Object(o.createElement)(o.Fragment,null,V,D&&Object(o.createElement)(p.a,null,Object(o.createElement)("span",{id:B},D)))}))},kFtd:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},kTC8:function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return w}));var r=n("BZp5"),o=n("hE48"),a=n("qdes"),i=n("cDcd"),c=n("aU41"),s=(n("KA1K"),n("eNtd")),l=n("k2cL"),u=n("PcHe"),d=n("Vq1w"),f=n("JLmN"),p=n("ouKs"),b=n("iYXd"),h=n("TFuP"),m=n("Mih7"),v=n("4po3"),g=n("AClM"),y=n("ym77"),O=n("0HL0");function j(e){return e.querySelector("[data-composite-item-widget]")}var w=Object(a.a)({name:"CompositeItem",compose:[f.a,y.a],keys:h.c,propsAreEqual:function(e,t){if(!t.id||e.id!==t.id)return f.a.unstable_propsAreEqual(e,t);var n=e.currentId,o=e.unstable_moves,a=Object(r.a)(e,["currentId","unstable_moves"]),i=t.currentId,c=t.unstable_moves,s=Object(r.a)(t,["currentId","unstable_moves"]);if(i!==n){if(t.id===i||t.id===n)return!1}else if(o!==c)return!1;return f.a.unstable_propsAreEqual(a,s)},useOptions:function(e){return Object(r.b)(Object(r.b)({},e),{},{id:e.id,currentId:Object(b.b)(e),unstable_clickOnSpace:!e.unstable_hasActiveWidget&&e.unstable_clickOnSpace})},useProps:function(e,t){var n,o=t.ref,a=t.tabIndex,f=void 0===a?0:a,b=t.onMouseDown,h=t.onFocus,y=t.onBlurCapture,w=t.onKeyDown,x=t.onClick,_=Object(r.a)(t,["ref","tabIndex","onMouseDown","onFocus","onBlurCapture","onKeyDown","onClick"]),E=Object(i.useRef)(null),k=e.id,S=e.disabled&&!e.focusable,C=e.currentId===k,P=Object(s.a)(C),T=Object(i.useRef)(!1),M=function(e){return Object(i.useMemo)((function(){var t;return null===(t=e.items)||void 0===t?void 0:t.find((function(t){return e.id&&t.id===e.id}))}),[e.items,e.id])}(e),D=Object(s.a)(b),I=Object(s.a)(h),R=Object(s.a)(y),A=Object(s.a)(w),N=Object(s.a)(x),L=!e.unstable_virtual&&!e.unstable_hasActiveWidget&&C||!(null!==(n=e.items)&&void 0!==n&&n.length);Object(i.useEffect)((function(){var t;if(k)return null===(t=e.registerItem)||void 0===t||t.call(e,{id:k,ref:E,disabled:!!S}),function(){var t;null===(t=e.unregisterItem)||void 0===t||t.call(e,k)}}),[k,S,e.registerItem,e.unregisterItem]),Object(i.useEffect)((function(){var t=E.current;t&&e.unstable_moves&&P.current&&Object(m.c)(t)}),[e.unstable_moves]);var F=Object(i.useCallback)((function(e){var t;null===(t=D.current)||void 0===t||t.call(D,e),Object(m.b)(e.currentTarget,!0)}),[]),z=Object(i.useCallback)((function(t){var n,o,a=Object(m.a)(t.currentTarget);if(Object(m.b)(t.currentTarget,!1),null===(n=I.current)||void 0===n||n.call(I,t),!t.defaultPrevented&&!Object(d.a)(t)&&k&&!function(e,t){if(Object(l.a)(e))return!1;for(var n,o=Object(r.c)(t);!(n=o()).done;){if(n.value.ref.current===e.target)return!0}return!1}(t,e.items)&&(null===(o=e.setCurrentId)||void 0===o||o.call(e,k),a&&e.unstable_virtual&&e.baseId&&Object(l.a)(t))){var i=t.target,c=Object(p.a)(i).getElementById(e.baseId);c&&(T.current=!0,Object(g.a)(c))}}),[k,e.items,e.setCurrentId,e.unstable_virtual,e.baseId]),B=Object(i.useCallback)((function(t){var n;null===(n=R.current)||void 0===n||n.call(R,t),t.defaultPrevented||e.unstable_virtual&&T.current&&(T.current=!1,t.preventDefault(),t.stopPropagation())}),[e.unstable_virtual]),H=Object(i.useCallback)((function(t){var n;if(Object(l.a)(t)){var r="horizontal"!==e.orientation,o="vertical"!==e.orientation,a=!(null==M||!M.groupId),i={ArrowUp:(a||r)&&e.up,ArrowRight:(a||o)&&e.next,ArrowDown:(a||r)&&e.down,ArrowLeft:(a||o)&&e.previous,Home:function(){var n,r;!a||t.ctrlKey?null===(n=e.first)||void 0===n||n.call(e):null===(r=e.previous)||void 0===r||r.call(e,!0)},End:function(){var n,r;!a||t.ctrlKey?null===(n=e.last)||void 0===n||n.call(e):null===(r=e.next)||void 0===r||r.call(e,!0)},PageUp:function(){var t,n;a?null===(t=e.up)||void 0===t||t.call(e,!0):null===(n=e.first)||void 0===n||n.call(e)},PageDown:function(){var t,n;a?null===(t=e.down)||void 0===t||t.call(e,!0):null===(n=e.last)||void 0===n||n.call(e)}}[t.key];if(i)return t.preventDefault(),void i();if(null===(n=A.current)||void 0===n||n.call(A,t),!t.defaultPrevented)if(1===t.key.length&&" "!==t.key){var c=j(t.currentTarget);c&&Object(v.a)(c)&&(c.focus(),Object(O.a)(c,""))}else if("Delete"===t.key||"Backspace"===t.key){var s=j(t.currentTarget);s&&Object(v.a)(s)&&(t.preventDefault(),Object(O.a)(s,""))}}}),[e.orientation,M,e.up,e.next,e.down,e.previous,e.first,e.last]),V=Object(i.useCallback)((function(e){var t;if(null===(t=N.current)||void 0===t||t.call(N,e),!e.defaultPrevented){var n=j(e.currentTarget);n&&!Object(u.a)(n)&&n.focus()}}),[]);return Object(r.b)({ref:Object(c.a)(E,o),id:k,tabIndex:L?f:-1,"aria-selected":!(!e.unstable_virtual||!C)||void 0,onMouseDown:F,onFocus:z,onBlurCapture:B,onKeyDown:H,onClick:V},_)}}),x=Object(o.a)({as:"button",memo:!0,useHook:w})},khzz:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("ouKs");function o(e,t,n){if("function"==typeof Event)return new Event(t,n);var o=Object(r.a)(e).createEvent("Event");return o.initEvent(t,null==n?void 0:n.bubbles,null==n?void 0:n.cancelable),o}},knm9:function(e,t,n){"use strict";var r=n("j1Hc")("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},kqkJ:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return i}));var r=n("9Zbq"),o=(n("APjL"),n("Nym8"),"input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])");function a(e){return Object(r.a)(e,o)&&function(e){var t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}(e)}function i(e){return a(e)&&!function(e){return parseInt(e.getAttribute("tabindex")||"0",10)<0}(e)}function c(e,t){var n=Array.from(e.querySelectorAll(o)),r=n.filter(i);return i(e)&&r.unshift(e),!r.length&&t?n:r}function s(e,t){return c(e,t)[0]||null}function l(e,t){var n=c(e,t);return n[n.length-1]||null}},l3Sj:function(e,t){e.exports=window.wp.i18n},laOf:function(e,t,n){"use strict";var r=n("j1Hc")("%TypeError%");e.exports=function(e,t){if(null==e)throw new r(t||"Cannot call method on "+e);return e}},lzPt:function(e,t,n){e.exports=n("VDVV").default},m2ax:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 7*e+2*t+1}},mMiH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=E(n("Koq/")),i=E(n("cDcd")),c=E(n("17x9")),s=E(n("YZDV")),l=E(n("XGBb")),u=n("Hsqg"),d=n("TG4+"),f=E(n("wy2R")),p=n("vV+G"),b=E(n("yc2e")),h=E(n("2Q00")),m=E(n("N3k4")),v=E(n("ixyq")),g=E(n("F7ZS")),y=E(n("pRvc")),O=E(n("pYxT")),j=E(n("J7JS")),w=E(n("aE6U")),x=E(n("2S2E")),_=n("Fv1B");function E(e){return e&&e.__esModule?e:{default:e}}var k=(0,u.forbidExtraProps)((0,a.default)({},d.withStylesPropTypes,{month:l.default.momentObj,horizontalMonthPadding:u.nonNegativeInteger,isVisible:c.default.bool,enableOutsideDays:c.default.bool,modifiers:c.default.objectOf(j.default),orientation:w.default,daySize:u.nonNegativeInteger,onDayClick:c.default.func,onDayMouseEnter:c.default.func,onDayMouseLeave:c.default.func,onMonthSelect:c.default.func,onYearSelect:c.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:c.default.func,renderDayContents:c.default.func,renderMonthElement:(0,u.mutuallyExclusiveProps)(c.default.func,"renderMonthText","renderMonthElement"),firstDayOfWeek:x.default,setMonthTitleHeight:c.default.func,verticalBorderSpacing:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:c.default.bool,monthFormat:c.default.string,phrases:c.default.shape((0,b.default)(p.CalendarDayPhrases)),dayAriaLabelFormat:c.default.string})),S={month:(0,f.default)(),horizontalMonthPadding:13,isVisible:!0,enableOutsideDays:!1,modifiers:{},orientation:_.HORIZONTAL_ORIENTATION,daySize:_.DAY_SIZE,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthSelect:function(){},onYearSelect:function(){},renderMonthText:null,renderCalendarDay:function(e){return i.default.createElement(m.default,e)},renderDayContents:null,renderMonthElement:null,firstDayOfWeek:null,setMonthTitleHeight:null,focusedDate:null,isFocused:!1,monthFormat:"MMMM YYYY",phrases:p.CalendarDayPhrases,dayAriaLabelFormat:void 0,verticalBorderSpacing:void 0},C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={weeks:(0,g.default)(e.month,e.enableOutsideDays,null==e.firstDayOfWeek?f.default.localeData().firstDayOfWeek():e.firstDayOfWeek)},n.setCaptionRef=n.setCaptionRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.setMonthTitleHeightTimeout=setTimeout(this.setMonthTitleHeight,0)}},{key:"componentWillReceiveProps",value:function(e){var t=e.month,n=e.enableOutsideDays,r=e.firstDayOfWeek,o=this.props,a=o.month,i=o.enableOutsideDays,c=o.firstDayOfWeek;t.isSame(a)&&n===i&&r===c||this.setState({weeks:(0,g.default)(t,n,null==r?f.default.localeData().firstDayOfWeek():r)})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,s.default)(this,e,t)}},{key:"componentWillUnmount",value:function(){this.setMonthTitleHeightTimeout&&clearTimeout(this.setMonthTitleHeightTimeout)}},{key:"setMonthTitleHeight",value:function(){var e=this.props.setMonthTitleHeight;e&&e((0,v.default)(this.captionRef,"height",!0,!0))}},{key:"setCaptionRef",value:function(e){this.captionRef=e}},{key:"render",value:function(){var e=this.props,t=e.dayAriaLabelFormat,n=e.daySize,o=e.focusedDate,a=e.horizontalMonthPadding,c=e.isFocused,s=e.isVisible,l=e.modifiers,u=e.month,f=e.monthFormat,p=e.onDayClick,b=e.onDayMouseEnter,m=e.onDayMouseLeave,v=e.onMonthSelect,g=e.onYearSelect,j=e.orientation,w=e.phrases,x=e.renderCalendarDay,E=e.renderDayContents,k=e.renderMonthElement,S=e.renderMonthText,C=e.styles,P=e.verticalBorderSpacing,T=this.state.weeks,M=S?S(u):u.format(f),D=j===_.VERTICAL_SCROLLABLE;return i.default.createElement("div",r({},(0,d.css)(C.CalendarMonth,{padding:"0 "+String(a)+"px"}),{"data-visible":s}),i.default.createElement("div",r({ref:this.setCaptionRef},(0,d.css)(C.CalendarMonth_caption,D&&C.CalendarMonth_caption__verticalScrollable)),k?k({month:u,onMonthSelect:v,onYearSelect:g}):i.default.createElement("strong",null,M)),i.default.createElement("table",r({},(0,d.css)(!P&&C.CalendarMonth_table,P&&C.CalendarMonth_verticalSpacing,P&&{borderSpacing:"0px "+String(P)+"px"}),{role:"presentation"}),i.default.createElement("tbody",null,T.map((function(e,r){return i.default.createElement(h.default,{key:r},e.map((function(e,r){return x({key:r,day:e,daySize:n,isOutsideDay:!e||e.month()!==u.month(),tabIndex:s&&(0,y.default)(e,o)?0:-1,isFocused:c,onDayMouseEnter:b,onDayMouseLeave:m,onDayClick:p,renderDayContents:E,phrases:w,modifiers:l[(0,O.default)(e)],ariaLabelFormat:t})})))})))))}}]),t}(i.default.Component);C.propTypes=k,C.defaultProps=S,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.spacing;return{CalendarMonth:{background:n.background,textAlign:"center",verticalAlign:"top",userSelect:"none"},CalendarMonth_table:{borderCollapse:"collapse",borderSpacing:0},CalendarMonth_verticalSpacing:{borderCollapse:"separate"},CalendarMonth_caption:{color:n.text,fontSize:r.captionSize,textAlign:"center",paddingTop:o.captionPaddingTop,paddingBottom:o.captionPaddingBottom,captionSide:"initial"},CalendarMonth_caption__verticalScrollable:{paddingTop:12,paddingBottom:7}}}))(C)},mi6C:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}));t.a=a},mjVI:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r=["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","setBaseId","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget"],o=r},n1Y7:function(e,t,n){"use strict";var r=n("82c2"),o=n("nRDI"),a=n("5yQQ"),i=a(),c=function(e,t){return i.apply(e,[t])};r(c,{getPolyfill:a,implementation:o,shim:n("Gn0q")}),e.exports=c},nKkb:function(e,t,n){"use strict";var r=n("j1Hc")("%Math.abs%");e.exports=function(e){return r(e)}},nLTY:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},nR7C:function(e,t,n){"use strict";e.exports=function(e){return"string"==typeof e||"symbol"==typeof e}},nRDI:function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},nmnc:function(e,t,n){var r=n("Kz5y").Symbol;e.exports=r},oNNP:function(e,t,n){"use strict";var r=n("D3zA");e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},oOcr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},oR9Z:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("17x9"),a=(r=o)&&r.__esModule?r:{default:r},i=n("Fv1B");t.default=a.default.oneOf([i.INFO_POSITION_TOP,i.INFO_POSITION_BOTTOM,i.INFO_POSITION_BEFORE,i.INFO_POSITION_AFTER])},"oXO/":function(e,t,n){"use strict";var r=n("wx14"),o=n("GRId"),a=n("TSYQ"),i=n.n(a),c=n("1CF3"),s=n("K9lf"),l=n("w95h"),u=n("l3Sj");function d(e,t,n,r,o,a,i,c,s){const{width:l}=t;"left"===n&&Object(u.isRTL)()?n="right":"right"===n&&Object(u.isRTL)()&&(n="left"),"left"===r&&Object(u.isRTL)()?r="right":"right"===r&&Object(u.isRTL)()&&(r="left");const d=Math.round(e.left+e.width/2),f={popoverLeft:d,contentWidth:(d-l/2>0?l/2:d)+(d+l/2>window.innerWidth?window.innerWidth-d:l/2)};let p=e.left;"right"===r?p=e.right:"middle"===a||s||(p=d);let b=e.right;"left"===r?b=e.left:"middle"===a||s||(b=d);const h={popoverLeft:p,contentWidth:p-l>0?l:p},m={popoverLeft:b,contentWidth:b+l>window.innerWidth?window.innerWidth-b:l};let v,g=n,y=null;if(!o&&!c)if("center"===n&&f.contentWidth===l)g="center";else if("left"===n&&h.contentWidth===l)g="left";else if("right"===n&&m.contentWidth===l)g="right";else{g=h.contentWidth>m.contentWidth?"left":"right";const e="left"===g?h.contentWidth:m.contentWidth;l>window.innerWidth&&(y=window.innerWidth),e!==l&&(g="center",f.popoverLeft=window.innerWidth/2)}return v="center"===g?f.popoverLeft:"left"===g?h.popoverLeft:m.popoverLeft,i&&(v=Math.min(v,i.offsetLeft+i.offsetWidth-l),Object(u.isRTL)()||(v=Math.max(v,0))),{xAxis:g,popoverLeft:v,contentWidth:y}}function f(e,t,n,r,o,a,i,c,s){const{height:l}=t;if(o){const t=o.getBoundingClientRect(),r=t.top+l-i,a=t.bottom-l-i;if(e.top<=r){if(s){if(!(l+10<s.scrollTop+e.top))return{yAxis:"bottom",popoverTop:Math.min(e.bottom,a)}}return{yAxis:n,popoverTop:Math.min(e.bottom,r)}}}let u=e.top+e.height/2;"bottom"===r?u=e.bottom:"top"===r&&(u=e.top);const d={popoverTop:u,contentHeight:(u-l/2>0?l/2:u)+(u+l/2>window.innerHeight?window.innerHeight-u:l/2)},f={popoverTop:e.top,contentHeight:e.top-10-l>0?l:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+l>window.innerHeight?window.innerHeight-10-e.bottom:l};let b,h=n,m=null;if(!o&&!c)if("middle"===n&&d.contentHeight===l)h="middle";else if("top"===n&&f.contentHeight===l)h="top";else if("bottom"===n&&p.contentHeight===l)h="bottom";else{h=f.contentHeight>p.contentHeight?"top":"bottom";const e="top"===h?f.contentHeight:p.contentHeight;m=e!==l?e:null}return b="middle"===h?d.popoverTop:"top"===h?f.popoverTop:p.popoverTop,{yAxis:h,popoverTop:b,contentHeight:m}}function p(e,t,n){const{defaultView:r}=t,{frameElement:o}=r;if(!o||t===n.ownerDocument)return e;const a=o.getBoundingClientRect();return new r.DOMRect(e.left+a.left,e.top+a.top,e.width,e.height)}var b=n("kA6J"),h=n("k8OV"),m=n("+WFq"),v=n("dSD1"),g=n("L8Kx");const y="Popover",O=Object(o.createContext)();function j(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:a}=(i=t).ownerDocument.defaultView.getComputedStyle(i);var i;const c=n?parseInt(n,10):0,s=r?parseInt(r,10):0,l=o?parseInt(o,10):0,u=a?parseInt(a,10):0;return{x:e.left+l,y:e.top+c,width:e.width-l-u,height:e.height-c-s,left:e.left+l,right:e.right-u,top:e.top+c,bottom:e.bottom-s}}function w(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function x(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function _(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const E=Object(o.forwardRef)((e,t)=>{let{headerTitle:n,onClose:a,children:u,className:E,noArrow:k=!0,isAlternate:S,position:C="bottom right",range:P,focusOnMount:T="firstElement",anchorRef:M,shouldAnchorIncludePadding:D,anchorRect:I,getAnchorRect:R,expandOnMobile:A,animate:N=!0,onFocusOutside:L,__unstableStickyBoundaryElement:F,__unstableSlotName:z=y,__unstableObserveElement:B,__unstableBoundaryParent:H,__unstableForcePosition:V,__unstableForceXAlignment:W,__unstableEditorCanvasWrapper:U,...K}=e;const G=Object(o.useRef)(null),$=Object(o.useRef)(null),q=Object(o.useRef)(),Y=Object(s.useViewportMatch)("medium","<"),[X,Z]=Object(o.useState)(),J=Object(o.useContext)(O)||z,Q=Object(m.a)(J),ee=A&&Y,[te,ne]=Object(s.useResizeObserver)();k=ee||k,Object(o.useLayoutEffect)(()=>{if(ee)return _(q.current,"is-without-arrow",k),_(q.current,"is-alternate",S),w(q.current,"data-x-axis"),w(q.current,"data-y-axis"),x(q.current,"top"),x(q.current,"left"),x($.current,"maxHeight"),void x($.current,"maxWidth");const e=()=>{if(!q.current||!$.current)return;let e=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return p(t,t.ownerDocument||e.current.ownerDocument,a)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return p(Object(c.getRectangleFromRange)(r),r.endContainer.ownerDocument,a);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=p(r.getBoundingClientRect(),r.ownerDocument,a);return o?e:j(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),s=p(new window.DOMRect(n.left,n.top,n.width,i.bottom-n.top),e.ownerDocument,a);return o?s:j(s,r)}if(!e.current)return;const{parentNode:i}=e.current,s=p(i.getBoundingClientRect(),i.ownerDocument,a);return o?s:j(s,i)}(G,I,R,M,D,q.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=q.current;let r,o=0;if(t&&t!==n.body){const n=t.getBoundingClientRect();o=n.top,e=new window.DOMRect(e.left-n.left,e.top-n.top,e.width,e.height)}H&&(r=q.current.parentElement);const a=ne.height?ne:$.current.getBoundingClientRect(),{popoverTop:i,popoverLeft:s,xAxis:l,yAxis:u,contentHeight:b,contentWidth:h}=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,i=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,s=arguments.length>9?arguments[9]:void 0;const[l,u="center",p]=n.split(" "),b=f(e,t,l,p,r,0,o,i,s),h=d(e,t,u,p,r,b.yAxis,a,i,c);return{...h,...b}}(e,a,C,F,q.current,o,r,V,W,U);"number"==typeof i&&"number"==typeof s&&(x(q.current,"top",i+"px"),x(q.current,"left",s+"px")),_(q.current,"is-without-arrow",k||"center"===l&&"middle"===u),_(q.current,"is-alternate",S),w(q.current,"data-x-axis",l),w(q.current,"data-y-axis",u),x($.current,"maxHeight","number"==typeof b?b+"px":""),x($.current,"maxWidth","number"==typeof h?h+"px":"");Z(({left:"right",right:"left"}[l]||"center")+" "+({top:"bottom",bottom:"top"}[u]||"middle"))};e();const{ownerDocument:t}=q.current,{defaultView:n}=t,r=n.setInterval(e,500);let o;const a=()=>{n.cancelAnimationFrame(o),o=n.requestAnimationFrame(e)};n.addEventListener("click",a),n.addEventListener("resize",e),n.addEventListener("scroll",e,!0);const i=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(M);let s;return i&&i!==t&&(i.defaultView.addEventListener("resize",e),i.defaultView.addEventListener("scroll",e,!0)),B&&(s=new n.MutationObserver(e),s.observe(B,{attributes:!0})),()=>{var c,l;(n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",a),n.cancelAnimationFrame(o),i&&i!==t)&&(null===(c=i.defaultView)||void 0===c||c.removeEventListener("resize",e),null===(l=i.defaultView)||void 0===l||l.removeEventListener("scroll",e,!0));s&&s.disconnect()}},[ee,I,R,M,D,C,ne,F,B,H]);const re=(e,t)=>{"focus-outside"===e&&L?L(t):a&&a()},[oe,ae]=Object(s.__experimentalUseDialog)({focusOnMount:T,__unstableOnClose:re,onClose:re}),ie=Object(s.useMergeRefs)([q,oe,t]),ce=Boolean(N&&X)&&Object(g.b)({type:"appear",origin:X});let se=Object(o.createElement)("div",Object(r.a)({className:i()("components-popover",E,ce,{"is-expanded":ee,"is-without-arrow":k,"is-alternate":S})},K,{ref:ie},ae,{tabIndex:"-1"}),ee&&Object(o.createElement)(h.a,null),ee&&Object(o.createElement)("div",{className:"components-popover__header"},Object(o.createElement)("span",{className:"components-popover__header-title"},n),Object(o.createElement)(b.a,{className:"components-popover__close",icon:l.a,onClick:a})),Object(o.createElement)("div",{ref:$,className:"components-popover__content"},Object(o.createElement)("div",{style:{position:"relative"}},te,u)));return Q.ref&&(se=Object(o.createElement)(v.a,{name:J},se)),M||I?se:Object(o.createElement)("span",{ref:G},se)});E.Slot=Object(o.forwardRef)((function(e,t){let{name:n=y}=e;return Object(o.createElement)(v.c,{bubblesVirtually:!0,name:n,className:"popover-slot",ref:t})})),E.__unstableSlotNameProvider=O.Provider;t.a=E},ouKs:function(e,t,n){"use strict";function r(e){return e?e.ownerDocument||e:document}n.d(t,"a",(function(){return r}))},pRvc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!a.default.isMoment(e)||!a.default.isMoment(t))&&(e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year())};var r,o=n("wy2R"),a=(r=o)&&r.__esModule?r:{default:r}},pVnL:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},pYxT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(a.ISO_FORMAT):null};var r=i(n("wy2R")),o=i(n("WmS1")),a=n("Fv1B");function i(e){return e&&e.__esModule?e:{default:e}}},q86A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{transform:e,msTransform:e,MozTransform:e,WebkitTransform:e}}},q9zb:function(e,t,n){"use strict";var r=n("DZdY");const o=Object(r.a)("div",{target:"em57xhy0"})("");o.selector=".components-view",o.displayName="View",t.a=o},qGip:function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},qOxZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("khzz");function o(e,t,n){return e.dispatchEvent(Object(r.a)(e,t,n))}},qRz9:function(e,t){e.exports=window.wp.richText},qT12:function(e,t,n){"use strict";
-/** @license React v16.13.1
- * react-is.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,b=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,j=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case f:case i:case s:case c:case b:return e;default:switch(e=e&&e.$$typeof){case u:case p:case v:case m:case l:return e;default:return t}}case a:return t}}}function x(e){return w(e)===f}t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=p,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=c,t.Suspense=b,t.isAsyncMode=function(e){return x(e)||w(e)===d},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===c},t.isSuspense=function(e){return w(e)===b},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===s||e===c||e===b||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===O||e.$$typeof===j||e.$$typeof===g)},t.typeOf=w},qdes:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("cDcd"),o=n("eUCI");function a(e,t){Object(r.useDebugValue)(e);var n=Object(r.useContext)(o.a);return null!=n[e]?n[e]:t}var i=n("RDTF");var c=n("uqqE");function s(e){var t,n,o,s=(o=e.compose,Array.isArray(o)?o:void 0!==o?[o]:[]),l=function(t,n){if(e.useOptions&&(t=e.useOptions(t,n)),e.name&&(t=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Options";Object(r.useDebugValue)(o);var c=a(o);return c?Object(i.a)(Object(i.a)({},t),c(t,n)):t}(e.name,t,n)),e.compose)for(var o,c=Object(i.c)(s);!(o=c()).done;){t=o.value.__useOptions(t,n)}return t},u=function(t,n,o){if(void 0===t&&(t={}),void 0===n&&(n={}),void 0===o&&(o=!1),o||(t=l(t,n)),e.useProps&&(n=e.useProps(t,n)),e.name&&(n=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Props";Object(r.useDebugValue)(o);var i=a(o);return i?i(t,n):n}(e.name,t,n)),e.compose)if(e.useComposeOptions&&(t=e.useComposeOptions(t,n)),e.useComposeProps)n=e.useComposeProps(t,n);else for(var c,u=Object(i.c)(s);!(c=u()).done;){n=(0,c.value)(t,n,!0)}var d={},f=n||{};for(var p in f)void 0!==f[p]&&(d[p]=f[p]);return d};u.__useOptions=l;var d=s.reduce((function(e,t){return e.push.apply(e,t.__keys||[]),e}),[]);return u.__keys=[].concat(d,(null===(t=e.useState)||void 0===t?void 0:t.__keys)||[],e.keys||[]),u.unstable_propsAreEqual=e.propsAreEqual||(null===(n=s[0])||void 0===n?void 0:n.unstable_propsAreEqual)||c.a,u}},qeuH:function(e,t,n){"use strict";var r=n("AM7I"),o=n("SLit"),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}},rQBh:function(e,t,n){"use strict";var r=n("10Kj"),o=n("PoQ0");e.exports=function(e){if(void 0===e)return e;r(o,"Property Descriptor","Desc",e);var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=e["[[Configurable]]"]),t}},rQy3:function(e,t,n){"use strict";var r=n("oNNP"),o=n("25kQ"),a=n("VF6F")("Object.prototype.propertyIsEnumerable");e.exports=function(e){var t=o(e),n=[];for(var i in t)r(t,i)&&a(t,i)&&n.push(t[i]);return n}},reMF:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("+ipW");function o(e){return!!r.a&&-1!==window.navigator.userAgent.indexOf(e)}},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},sDMB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("17x9"),a=(r=o)&&r.__esModule?r:{default:r};t.default=a.default.shape({getState:a.default.func,setState:a.default.func,subscribe:a.default.func})},sEfC:function(e,t,n){var r=n("GoyQ"),o=n("QIyF"),a=n("tLB3"),i=Math.max,c=Math.min;e.exports=function(e,t,n){var s,l,u,d,f,p,b=0,h=!1,m=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=s,r=l;return s=l=void 0,b=t,d=e.apply(r,n)}function y(e){return b=e,f=setTimeout(j,t),h?g(e):d}function O(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-b>=u}function j(){var e=o();if(O(e))return w(e);f=setTimeout(j,function(e){var n=t-(e-p);return m?c(n,u-(e-b)):n}(e))}function w(e){return f=void 0,v&&s?g(e):(s=l=void 0,d)}function x(){var e=o(),n=O(e);if(s=arguments,l=this,p=e,n){if(void 0===f)return y(p);if(m)return clearTimeout(f),f=setTimeout(j,t),g(p)}return void 0===f&&(f=setTimeout(j,t)),d}return t=a(t)||0,r(n)&&(h=!!n.leading,u=(m="maxWait"in n)?i(a(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==f&&clearTimeout(f),b=0,s=p=l=f=void 0},x.flush=function(){return void 0===f?d:w(o())},x}},sYn3:function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=n("1KsK"),c=Object.prototype.propertyIsEnumerable,s=!c.call({toString:null},"toString"),l=c.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===a.call(e),r=i(e),c=t&&"[object String]"===a.call(e),f=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var b=l&&n;if(c&&e.length>0&&!o.call(e,0))for(var h=0;h<e.length;++h)f.push(String(h));if(r&&e.length>0)for(var m=0;m<e.length;++m)f.push(String(m));else for(var v in e)b&&"prototype"===v||!o.call(e,v)||f.push(String(v));if(s)for(var g=function(e){if("undefined"==typeof window||!p)return d(e);try{return d(e)}catch(e){return!1}}(e),y=0;y<u.length;++y)g&&"constructor"===u[y]||!o.call(e,u[y])||f.push(u[y]);return f}}e.exports=r},tLB3:function(e,t,n){var r=n("jXQH"),o=n("GoyQ"),a=n("/9aa"),i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}},"tQ+x":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a}));const r="data-wp-component",o="data-wp-c16t",a="__contextSystemKey__"},u5Fq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if(!r.default.isMoment(e))return{};for(var i={},c=a?e.clone():e.clone().subtract(1,"month"),s=0;s<(a?t:t+2);s+=1){var l=[],u=c.clone(),d=u.clone().startOf("month").hour(12),f=u.clone().endOf("month").hour(12),p=d.clone();if(n)for(var b=0;b<p.weekday();b+=1){var h=p.clone().subtract(b+1,"day");l.unshift(h)}for(;p<f;)l.push(p.clone()),p.add(1,"day");if(n&&0!==p.weekday())for(var m=p.weekday(),v=0;m<7;m+=1,v+=1){var g=p.clone().add(v,"day");l.push(g)}i[(0,o.default)(c)]=l,c=c.clone().add(1,"month")}return i};var r=a(n("wy2R")),o=a(n("jenk"));function a(e){return e&&e.__esModule?e:{default:e}}},u9yu:function(e,t,n){"use strict";var r=n("j1Hc"),o=n("qeuH"),a=r("%TypeError%"),i=n("Bl8U"),c=r("%Reflect.apply%",!0)||o("%Function.prototype.apply%");e.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!i(n))throw new a("Assertion failed: optional `argumentsList`, if provided, must be a List");return c(e,t,n)}},ulUS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!a.default.isMoment(e)||!a.default.isMoment(t))&&(e.month()===t.month()&&e.year()===t.year())};var r,o=n("wy2R"),a=(r=o)&&r.__esModule?r:{default:r}},uqqE:function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(!e)return!1;if(!t)return!1;if("object"!=typeof e)return!1;if("object"!=typeof t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var a=0,i=n;a<i.length;a++){var c=i[a];if(e[c]!==t[c])return!1}return!0}n.d(t,"a",(function(){return r}))},utzN:function(e,t,n){"use strict";function r(e,t){return e===t||e.contains(t)}n.d(t,"a",(function(){return r}))},uug5:function(e,t,n){"use strict";var r=n("HwJD");e.exports=function(e,t){return e===t?0!==e||1/e==1/t:r(e)&&r(t)}},v3P4:function(e,t,n){"use strict";var r=n("82c2"),o=n("22yB");e.exports=function(){var e=o();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},v7lB:function(e,t,n){"use strict";var r=SyntaxError,o=Function,a=TypeError,i=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var s=function(){throw new a},l=c?function(){try{return s}catch(e){try{return c(arguments,"callee").get}catch(e){return s}}}():s,u=n("UVaH")(),d=Object.getPrototypeOf||function(e){return e.__proto__},f=i("async function* () {}"),p=f?f.prototype:void 0,b=p?p.prototype:void 0,h="undefined"==typeof Uint8Array?void 0:d(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?d([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":i("async function () {}"),"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":b?d(b):void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":i("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?d(d([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?d((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?d((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?d(""[Symbol.iterator]()):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n("D3zA"),y=n("oNNP"),O=g.call(Function.call,Array.prototype.concat),j=g.call(Function.apply,Array.prototype.splice),w=g.call(Function.call,String.prototype.replace),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,E=function(e){var t=[];return w(e,x,(function(e,n,r,o){t[t.length]=r?w(o,_,"$1"):n||e})),t},k=function(e,t){var n,o=e;if(y(v,o)&&(o="%"+(n=v[o])[0]+"%"),y(m,o)){var i=m[o];if(void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:i}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=E(e),r=n.length>0?n[0]:"",o=k("%"+r+"%",t),i=o.name,s=o.value,l=!1,u=o.alias;u&&(r=u[0],j(n,O([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d];if("constructor"!==p&&f||(l=!0),y(m,i="%"+(r+="."+p)+"%"))s=m[i];else if(null!=s){if(c&&d+1>=n.length){var b=c(s,p);if(f=!!b,!t&&!(p in s))throw new a("base intrinsic for "+e+" exists, but the property is not available.");s=f&&"get"in b&&!("originalValue"in b.get)?b.get:s[p]}else f=y(s,p),s=s[p];f&&!l&&(m[i]=s)}}return s}},vLdR:function(e,t,n){"use strict";e.exports=n("Lxf3")},vUUf:function(e,t,n){"use strict";var r=n("wx14"),o=n("GRId");t.a=function(e){let{icon:t,className:n,...a}=e;const i=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" ");return Object(o.createElement)("span",Object(r.a)({className:i},a))}},"vV+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Interact with the calendar and add the check-in date for your trip.",o="Move backward to switch to the previous month.",a="Move forward to switch to the next month.",i="page up and page down keys",c="Home and end keys",s="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",f="Return to the date input field.",p="Press the down arrow key to interact with the calendar and\n  select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",b=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},h=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},m=function(e){return e.date},v=function(e){var t=e.date;return"Not available. "+String(t)},g=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:r,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:p,chooseAvailableStartDate:b,chooseAvailableEndDate:h,dateIsUnavailable:v,dateIsSelected:g};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:r,jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:p,chooseAvailableStartDate:b,chooseAvailableEndDate:h,dateIsUnavailable:v,dateIsSelected:g},t.DateRangePickerInputPhrases={focusStartDate:r,clearDates:"Clear Dates",keyboardNavigationInstructions:p},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:p,chooseAvailableDate:m,dateIsUnavailable:v,dateIsSelected:g},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:p},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:o,jumpToNextMonth:a,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,chooseAvailableStartDate:b,chooseAvailableEndDate:h,chooseAvailableDate:m,dateIsUnavailable:v,dateIsSelected:g},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:i,homeEnd:c,escape:s,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f},t.DayPickerNavigationPhrases={jumpToPrevMonth:o,jumpToNextMonth:a},t.CalendarDayPhrases={chooseAvailableDate:m,dateIsUnavailable:v,dateIsSelected:g}},vYfR:function(e,t,n){"use strict";var r=n("oNNP"),o=n("10Kj"),a=n("PoQ0");e.exports=function(e){return void 0!==e&&(o(a,"Property Descriptor","Desc",e),!(!r(e,"[[Get]]")&&!r(e,"[[Set]]")))}},w95h:function(e,t,n){"use strict";var r=n("GRId"),o=n("Tqx9");const a=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.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=a},wTIp:function(e,t,n){"use strict";var r=n("j1Hc")("%Object.defineProperty%",!0);if(r)try{r({},"a",{value:1})}catch(e){r=null}var o=Object.defineProperty&&0===Object.defineProperty([],"length",{value:1}).length,a=o&&n("9cOx"),i=n("qeuH")("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,n,c,s,l){if(!r){if(!e(l))return!1;if(!l["[[Configurable]]"]||!l["[[Writable]]"])return!1;if(s in c&&i(c,s)!==!!l["[[Enumerable]]"])return!1;var u=l["[[Value]]"];return c[s]=u,t(c[s],u)}return o&&"length"===s&&"[[Value]]"in l&&a(c)&&c.length!==l["[[Value]]"]?(c.length=l["[[Value]]"],c.length===l["[[Value]]"]):(r(c,s,n(l)),!0)}},wx14:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},wy2R:function(e,t){e.exports=window.moment},xEte:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("cDcd"),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e){return a.default.createElement("svg",e,a.default.createElement("path",{fillRule:"evenodd",d:"M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z"}))};i.defaultProps={viewBox:"0 0 12 12"},t.default=i},xOhs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={white:"#fff",gray:"#484848",grayLight:"#82888a",grayLighter:"#cacccd",grayLightest:"#f2f2f2",borderMedium:"#c4c4c4",border:"#dbdbdb",borderLight:"#e4e7e7",borderLighter:"#eceeee",borderBright:"#f4f5f5",primary:"#00a699",primaryShade_1:"#33dacd",primaryShade_2:"#66e2da",primaryShade_3:"#80e8e0",primaryShade_4:"#b2f1ec",primary_dark:"#008489",secondary:"#007a87",yellow:"#ffe8bc",yellow_dark:"#ffce71"};t.default={reactDates:{zIndex:0,border:{input:{border:0,borderTop:0,borderRight:0,borderBottom:"2px solid transparent",borderLeft:0,outlineFocused:0,borderFocused:0,borderTopFocused:0,borderLeftFocused:0,borderBottomFocused:"2px solid "+String(r.primary_dark),borderRightFocused:0,borderRadius:0},pickerInput:{borderWidth:1,borderStyle:"solid",borderRadius:2}},color:{core:r,disabled:r.grayLightest,background:r.white,backgroundDark:"#f2f2f2",backgroundFocused:r.white,border:"rgb(219, 219, 219)",text:r.gray,textDisabled:r.border,textFocused:"#007a87",placeholderText:"#757575",outside:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,color:r.gray,color_active:r.gray,color_hover:r.gray},highlighted:{backgroundColor:r.yellow,backgroundColor_active:r.yellow_dark,backgroundColor_hover:r.yellow_dark,color:r.gray,color_active:r.gray,color_hover:r.gray},minimumNights:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLighter,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter},hoveredSpan:{backgroundColor:r.primaryShade_4,backgroundColor_active:r.primaryShade_3,backgroundColor_hover:r.primaryShade_4,borderColor:r.primaryShade_3,borderColor_active:r.primaryShade_3,borderColor_hover:r.primaryShade_3,color:r.secondary,color_active:r.secondary,color_hover:r.secondary},selectedSpan:{backgroundColor:r.primaryShade_2,backgroundColor_active:r.primaryShade_1,backgroundColor_hover:r.primaryShade_1,borderColor:r.primaryShade_1,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},selected:{backgroundColor:r.primary,backgroundColor_active:r.primary,backgroundColor_hover:r.primary,borderColor:r.primary,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},blocked_calendar:{backgroundColor:r.grayLighter,backgroundColor_active:r.grayLighter,backgroundColor_hover:r.grayLighter,borderColor:r.grayLighter,borderColor_active:r.grayLighter,borderColor_hover:r.grayLighter,color:r.grayLight,color_active:r.grayLight,color_hover:r.grayLight},blocked_out_of_range:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLight,borderColor_active:r.borderLight,borderColor_hover:r.borderLight,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter}},spacing:{dayPickerHorizontalPadding:9,captionPaddingTop:22,captionPaddingBottom:37,inputPadding:0,displayTextPaddingVertical:void 0,displayTextPaddingTop:11,displayTextPaddingBottom:9,displayTextPaddingHorizontal:void 0,displayTextPaddingLeft:11,displayTextPaddingRight:11,displayTextPaddingVertical_small:void 0,displayTextPaddingTop_small:7,displayTextPaddingBottom_small:5,displayTextPaddingHorizontal_small:void 0,displayTextPaddingLeft_small:7,displayTextPaddingRight_small:7},sizing:{inputWidth:130,inputWidth_small:97,arrowWidth:24},noScrollBarOnVerticalScrollable:!1,font:{size:14,captionSize:18,input:{size:19,lineHeight:"24px",size_small:15,lineHeight_small:"18px",letterSpacing_small:"0.2px",styleDisabled:"italic"}}}}},xoj2:function(e,t,n){"use strict";var r=n("rQy3");e.exports=function(){return"function"==typeof Object.values?Object.values:r}},yLpj:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},yLpt:function(e,t,n){"use strict";var r=n("FufO");e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),a="";for(var i in o)a+=i;return e!==a}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},yN6O:function(e,t,n){"use strict";var r=n("KtDd"),o=n("Yesc"),a=n("aBsX"),i=n("3iup"),c=n("3HW2"),s=n("PFEc");e.exports=function(){var e=s(this),t=c(a(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=i(arguments[0]));var l=r(e,0);return o(l,e,t,0,n),l}},yc2e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=a(n("Koq/")),o=a(n("17x9"));function a(e){return e&&e.__esModule?e:{default:e}}},ym77:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("BZp5"),o=n("hE48"),a=n("qdes"),i=n("cDcd"),c=n("KCH1"),s=[].concat(["baseId","unstable_idCountRef","setBaseId"],["id"]),l=Object(a.a)({keys:s,useOptions:function(e,t){var n=Object(i.useContext)(c.a),o=Object(i.useState)((function(){return e.unstable_idCountRef?(e.unstable_idCountRef.current+=1,"-"+e.unstable_idCountRef.current):e.baseId?"-"+n(""):""}))[0],a=Object(i.useMemo)((function(){return e.baseId||n()}),[e.baseId,n]),s=t.id||e.id||""+a+o;return Object(r.b)(Object(r.b)({},e),{},{id:s})},useProps:function(e,t){return Object(r.b)({id:e.id},t)}});Object(o.a)({as:"div",useHook:l})},yyeE:function(e,t,n){"use strict";var r=n("j1Hc"),o=r("%Math%"),a=r("%Number%");e.exports=a.MAX_SAFE_INTEGER||o.pow(2,53)-1},zGFp:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("BZp5"),o=n("hE48"),a=n("qdes"),i=n("uqqE"),c=Object(a.a)({name:"Role",keys:["unstable_system"],propsAreEqual:function(e,t){var n=e.unstable_system,o=Object(r.a)(e,["unstable_system"]),a=t.unstable_system,c=Object(r.a)(t,["unstable_system"]);return!(n!==a&&!Object(i.a)(n,a))&&Object(i.a)(o,c)}});Object(o.a)({as:"div",useHook:c})},zN8g:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=l(n("Koq/")),a=l(n("cDcd")),i=l(n("17x9")),c=n("Hsqg"),s=n("TG4+");function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,c.forbidExtraProps)((0,o.default)({},s.withStylesPropTypes,{unicode:i.default.string.isRequired,label:i.default.string.isRequired,action:i.default.string.isRequired,block:i.default.bool}));function d(e){var t=e.unicode,n=e.label,o=e.action,i=e.block,c=e.styles;return a.default.createElement("li",(0,s.css)(c.KeyboardShortcutRow,i&&c.KeyboardShortcutRow__block),a.default.createElement("div",(0,s.css)(c.KeyboardShortcutRow_keyContainer,i&&c.KeyboardShortcutRow_keyContainer__block),a.default.createElement("span",r({},(0,s.css)(c.KeyboardShortcutRow_key),{role:"img","aria-label":String(n)+","}),t)),a.default.createElement("div",(0,s.css)(c.KeyboardShortcutRow_action),o))}d.propTypes=u,d.defaultProps={block:!1},t.default=(0,s.withStyles)((function(e){return{KeyboardShortcutRow:{listStyle:"none",margin:"6px 0"},KeyboardShortcutRow__block:{marginBottom:16},KeyboardShortcutRow_keyContainer:{display:"inline-block",whiteSpace:"nowrap",textAlign:"right",marginRight:6},KeyboardShortcutRow_keyContainer__block:{textAlign:"left",display:"inline"},KeyboardShortcutRow_key:{fontFamily:"monospace",fontSize:12,textTransform:"uppercase",background:e.reactDates.color.core.grayLightest,padding:"2px 6px"},KeyboardShortcutRow_action:{display:"inline",wordBreak:"break-word",marginLeft:8}}}))(d)},zTEx:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("hE48"),o=n("qdes"),a=(n("cDcd"),n("KA1K"),n("kTC8")),i=n("mjVI"),c=Object(o.a)({name:"ToolbarItem",compose:a.b,keys:i.b}),s=Object(r.a)({as:"button",memo:!0,useHook:c})},zfJ5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=v(n("Koq/")),a=v(n("cDcd")),i=v(n("17x9")),c=n("Hsqg"),s=n("TG4+"),l=n("vV+G"),u=v(n("yc2e")),d=v(n("0XP8")),f=v(n("gZI3")),p=v(n("9gmn")),b=v(n("DHWS")),h=v(n("aE6U")),m=n("Fv1B");function v(e){return e&&e.__esModule?e:{default:e}}function g(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var y=(0,c.forbidExtraProps)((0,o.default)({},s.withStylesPropTypes,{navPrev:i.default.node,navNext:i.default.node,orientation:h.default,onPrevMonthClick:i.default.func,onNextMonthClick:i.default.func,phrases:i.default.shape((0,u.default)(l.DayPickerNavigationPhrases)),isRTL:i.default.bool})),O={navPrev:null,navNext:null,orientation:m.HORIZONTAL_ORIENTATION,onPrevMonthClick:function(){},onNextMonthClick:function(){},phrases:l.DayPickerNavigationPhrases,isRTL:!1};function j(e){var t=e.navPrev,n=e.navNext,o=e.onPrevMonthClick,i=e.onNextMonthClick,c=e.orientation,l=e.phrases,u=e.isRTL,h=e.styles,v=c===m.HORIZONTAL_ORIENTATION,y=c!==m.HORIZONTAL_ORIENTATION,O=c===m.VERTICAL_SCROLLABLE,j=t,w=n,x=!1,_=!1;if(!j){x=!0;var E=y?p.default:d.default;u&&!y&&(E=f.default),j=a.default.createElement(E,(0,s.css)(v&&h.DayPickerNavigation_svg__horizontal,y&&h.DayPickerNavigation_svg__vertical))}if(!w){_=!0;var k=y?b.default:f.default;u&&!y&&(k=d.default),w=a.default.createElement(k,(0,s.css)(v&&h.DayPickerNavigation_svg__horizontal,y&&h.DayPickerNavigation_svg__vertical))}var S=O?_:_||x;return a.default.createElement("div",s.css.apply(void 0,[h.DayPickerNavigation,v&&h.DayPickerNavigation__horizontal].concat(g(y&&[h.DayPickerNavigation__vertical,S&&h.DayPickerNavigation__verticalDefault]),g(O&&[h.DayPickerNavigation__verticalScrollable,S&&h.DayPickerNavigation__verticalScrollableDefault]))),!O&&a.default.createElement("div",r({role:"button",tabIndex:"0"},s.css.apply(void 0,[h.DayPickerNavigation_button,x&&h.DayPickerNavigation_button__default].concat(g(v&&[h.DayPickerNavigation_button__horizontal].concat(g(x&&[h.DayPickerNavigation_button__horizontalDefault,!u&&h.DayPickerNavigation_leftButton__horizontalDefault,u&&h.DayPickerNavigation_rightButton__horizontalDefault]))),g(y&&[h.DayPickerNavigation_button__vertical].concat(g(x&&[h.DayPickerNavigation_button__verticalDefault,h.DayPickerNavigation_prevButton__verticalDefault]))))),{"aria-label":l.jumpToPrevMonth,onClick:o,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||o(e)},onMouseUp:function(e){e.currentTarget.blur()}}),j),a.default.createElement("div",r({role:"button",tabIndex:"0"},s.css.apply(void 0,[h.DayPickerNavigation_button,_&&h.DayPickerNavigation_button__default].concat(g(v&&[h.DayPickerNavigation_button__horizontal].concat(g(_&&[h.DayPickerNavigation_button__horizontalDefault,u&&h.DayPickerNavigation_leftButton__horizontalDefault,!u&&h.DayPickerNavigation_rightButton__horizontalDefault]))),g(y&&[h.DayPickerNavigation_button__vertical,h.DayPickerNavigation_nextButton__vertical].concat(g(_&&[h.DayPickerNavigation_button__verticalDefault,h.DayPickerNavigation_nextButton__verticalDefault,O&&h.DayPickerNavigation_nextButton__verticalScrollableDefault]))))),{"aria-label":l.jumpToNextMonth,onClick:i,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||i(e)},onMouseUp:function(e){e.currentTarget.blur()}}),w))}j.propTypes=y,j.defaultProps=O,t.default=(0,s.withStyles)((function(e){var t=e.reactDates,n=t.color;return{DayPickerNavigation:{position:"relative",zIndex:t.zIndex+2},DayPickerNavigation__horizontal:{height:0},DayPickerNavigation__vertical:{},DayPickerNavigation__verticalScrollable:{},DayPickerNavigation__verticalDefault:{position:"absolute",width:"100%",height:52,bottom:0,left:0},DayPickerNavigation__verticalScrollableDefault:{position:"relative"},DayPickerNavigation_button:{cursor:"pointer",userSelect:"none",border:0,padding:0,margin:0},DayPickerNavigation_button__default:{border:"1px solid "+String(n.core.borderLight),backgroundColor:n.background,color:n.placeholderText,":focus":{border:"1px solid "+String(n.core.borderMedium)},":hover":{border:"1px solid "+String(n.core.borderMedium)},":active":{background:n.backgroundDark}},DayPickerNavigation_button__horizontal:{},DayPickerNavigation_button__horizontalDefault:{position:"absolute",top:18,lineHeight:.78,borderRadius:3,padding:"6px 9px"},DayPickerNavigation_leftButton__horizontalDefault:{left:22},DayPickerNavigation_rightButton__horizontalDefault:{right:22},DayPickerNavigation_button__vertical:{},DayPickerNavigation_button__verticalDefault:{padding:5,background:n.background,boxShadow:"0 0 5px 2px rgba(0, 0, 0, 0.1)",position:"relative",display:"inline-block",height:"100%",width:"50%"},DayPickerNavigation_prevButton__verticalDefault:{},DayPickerNavigation_nextButton__verticalDefault:{borderLeft:0},DayPickerNavigation_nextButton__verticalScrollableDefault:{width:"100%"},DayPickerNavigation_svg__horizontal:{height:19,width:19,fill:n.core.grayLight,display:"block"},DayPickerNavigation_svg__vertical:{height:42,width:42,fill:n.text,display:"block"}}}))(j)},zt9T:function(e,t,n){"use strict";var r=n("jB5C");e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,a=n.onlyScrollIfNeeded,i=n.alignWithTop,c=n.alignWithLeft,s=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),p=r.offset(e),b=r.outerHeight(e),h=r.outerWidth(e),m=void 0,v=void 0,g=void 0,y=void 0,O=void 0,j=void 0,w=void 0,x=void 0,_=void 0,E=void 0;f?(w=t,E=r.height(w),_=r.width(w),x={left:r.scrollLeft(w),top:r.scrollTop(w)},O={left:p.left-x.left-l,top:p.top-x.top-s},j={left:p.left+h-(x.left+_)+d,top:p.top+b-(x.top+E)+u},y=x):(m=r.offset(t),v=t.clientHeight,g=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},O={left:p.left-(m.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-l,top:p.top-(m.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-s},j={left:p.left+h-(m.left+g+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:p.top+b-(m.top+v+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),O.top<0||j.top>0?!0===i?r.scrollTop(t,y.top+O.top):!1===i?r.scrollTop(t,y.top+j.top):O.top<0?r.scrollTop(t,y.top+O.top):r.scrollTop(t,y.top+j.top):a||((i=void 0===i||!!i)?r.scrollTop(t,y.top+O.top):r.scrollTop(t,y.top+j.top)),o&&(O.left<0||j.left>0?!0===c?r.scrollLeft(t,y.left+O.left):!1===c?r.scrollLeft(t,y.left+j.left):O.left<0?r.scrollLeft(t,y.left+O.left):r.scrollLeft(t,y.left+j.left):a||((c=void 0===c||!!c)?r.scrollLeft(t,y.left+O.left):r.scrollLeft(t,y.left+j.left)))}}});
\ No newline at end of file
+`,ZT=`calc( ( ${ip.spinnerSize} - ${ip.spinnerSize} * ( 2 / 3 ) ) / 2 )`,JT=Fn("span",{target:"e1s472tg0"})("display:inline-block;background-color:",ko.gray[600],";width:",ip.spinnerSize,";height:",ip.spinnerSize,";opacity:0.7;margin:5px 11px 0;border-radius:100%;position:relative;&::before{content:'';position:absolute;background-color:",ko.white,";top:",ZT,";left:",ZT,";width:calc( ",ip.spinnerSize," / 4.5 );height:calc( ",ip.spinnerSize," / 4.5 );border-radius:100%;transform-origin:calc( ",ip.spinnerSize," / 3 ) calc( ",ip.spinnerSize," / 3 );animation:",XT," 1s infinite linear;}");function QT(){return(0,s.createElement)(JT,{className:"components-spinner"})}var eD=Pn((function(e,t){const n=ry(e);return(0,s.createElement)(zn,a({},n,{ref:t}))}),"Surface");const tD=e=>{let{tabId:t,onClick:n,children:r,selected:o,...i}=e;return(0,s.createElement)(Vn,a({role:"tab",tabIndex:o?null:-1,"aria-selected":o,id:t,onClick:n},i),r)};function nD(e){var t;let{className:n,children:r,tabs:o,initialTabName:i,orientation:a="horizontal",activeClass:u="is-active",onSelect:d=l.noop}=e;const p=(0,f.useInstanceId)(nD,"tab-panel"),[h,m]=(0,s.useState)(null),v=e=>{m(e),d(e)},g=(0,l.find)(o,{name:h}),y=`${p}-${null!==(t=null==g?void 0:g.name)&&void 0!==t?t:"none"}`;return(0,s.useEffect)((()=>{(0,l.find)(o,{name:h})||m(i||(o.length>0?o[0].name:null))}),[o]),(0,s.createElement)("div",{className:n},(0,s.createElement)(_E,{role:"tablist",orientation:a,onNavigate:(e,t)=>{t.click()},className:"components-tab-panel__tabs"},o.map((e=>(0,s.createElement)(tD,{className:c()("components-tab-panel__tabs-item",e.className,{[u]:e.name===h}),tabId:`${p}-${e.name}`,"aria-controls":`${p}-${e.name}-view`,selected:e.name===h,key:e.name,onClick:(0,l.partial)(v,e.name)},e.title)))),g&&(0,s.createElement)("div",{key:y,"aria-labelledby":y,role:"tabpanel",id:`${y}-view`,className:"components-tab-panel__tab-content"},r(g)))}var rD=(0,s.forwardRef)((function e(t,n){let{label:r,hideLabelFromVision:o,value:i,help:l,className:u,onChange:c,type:d="text",...p}=t;const h=`inspector-text-control-${(0,f.useInstanceId)(e)}`;return(0,s.createElement)(qm,{label:r,hideLabelFromVision:o,id:h,help:l,className:u},(0,s.createElement)("input",a({className:"components-text-control__input",type:d,id:h,value:i,onChange:e=>c(e.target.value),"aria-describedby":l?h+"__help":void 0,ref:n},p)))}));const oD=Nr("box-shadow:0 0 0 transparent;transition:box-shadow 0.1s linear;border-radius:",ip.radiusBlockUi,";border:",ip.borderWidth," solid ",ko.ui.border,";",""),iD=Nr("border-color:var( --wp-admin-theme-color );box-shadow:0 0 0 calc( ",ip.borderWidthFocus," - ",ip.borderWidth," ) var( --wp-admin-theme-color );outline:2px solid transparent;","");var aD={huge:"1440px",wide:"1280px","x-large":"1080px",large:"960px",medium:"782px",small:"600px",mobile:"480px","zoomed-in":"280px"};const sD=Nr("font-family:",Vm("default.fontFamily"),";padding:6px 8px;",oD,";font-size:",Vm("mobileTextMinFontSize"),";line-height:normal;",`@media (min-width: ${aD["small"]})`,"{font-size:",Vm("default.fontSize"),";line-height:normal;}&:focus{",iD,";}&::-webkit-input-placeholder{color:",ko.darkGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",ko.darkGray.placeholder,";}&:-ms-input-placeholder{color:",ko.darkGray.placeholder,";}.is-dark-theme &{&::-webkit-input-placeholder{color:",ko.lightGray.placeholder,";}&::-moz-placeholder{opacity:1;color:",ko.lightGray.placeholder,";}&:-ms-input-placeholder{color:",ko.lightGray.placeholder,";}}","");const lD=Fn("textarea",{target:"ebk7yr50"})("width:100%;",sD,";");function uD(e){let{label:t,hideLabelFromVision:n,value:r,help:o,onChange:i,rows:l=4,className:u,...c}=e;const d=`inspector-textarea-control-${(0,f.useInstanceId)(uD)}`;return(0,s.createElement)(qm,{label:t,hideLabelFromVision:n,id:d,help:o,className:u},(0,s.createElement)(lD,a({className:"components-textarea-control__input",id:d,rows:l,onChange:e=>i(e.target.value),"aria-describedby":o?d+"__help":void 0,value:r},c)))}var cD=e=>{let{text:t="",highlight:n=""}=e;const r=n.trim();if(!r)return t;const o=new RegExp(`(${(0,l.escapeRegExp)(r)})`,"gi");return(0,s.createInterpolateElement)(t.replace(o,"<mark>$&</mark>"),{mark:(0,s.createElement)("mark",null)})};var dD=function(e){return(0,s.createElement)("div",{className:"components-tip"},(0,s.createElement)(i.SVG,{width:"24",height:"24",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"})),(0,s.createElement)("p",null,e.children))};function fD(e){let{label:t,checked:n,help:r,className:o,onChange:i,disabled:a}=e;const u=`inspector-toggle-control-${(0,f.useInstanceId)(fD)}`;let d,p;return r&&(d=u+"__help",p=(0,l.isFunction)(r)?r(n):r),(0,s.createElement)(qm,{id:u,help:p,className:c()("components-toggle-control",o)},(0,s.createElement)(iO,{id:u,checked:n,onChange:function(e){i(e.target.checked)},"aria-describedby":d,disabled:a}),(0,s.createElement)("label",{htmlFor:u,className:"components-toggle-control__label"},t))}var pD=["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","setBaseId","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget"],hD=pD,mD=z({as:"button",memo:!0,useHook:H({name:"ToolbarItem",compose:Ie,keys:hD})});var vD=(0,s.createContext)();var gD=(0,s.forwardRef)((function(e,t){let{children:n,as:r,...o}=e;const i=(0,s.useContext)(vD);if("function"!=typeof n&&!r)return"undefined"!=typeof process&&process.env,null;const l={...o,ref:t,"data-toolbar-item":!0};return i?(0,s.createElement)(mD,a({},i,l,{as:r}),n):r?(0,s.createElement)(r,l,n):n(l)}));var yD=e=>(0,s.createElement)("div",{className:e.className},e.children);var bD=(0,s.forwardRef)((function(e,t){let{containerClassName:n,className:r,extraProps:o,children:i,title:l,isActive:u,isDisabled:d,...f}=e;return(0,s.useContext)(vD)?(0,s.createElement)(gD,a({className:c()("components-toolbar-button",r)},o,f,{ref:t}),(e=>(0,s.createElement)(Vn,a({label:l,isPressed:u,disabled:d},e),i))):(0,s.createElement)(yD,{className:n},(0,s.createElement)(Vn,a({ref:t,icon:f.icon,label:l,shortcut:f.shortcut,"data-subscript":f.subscript,onClick:e=>{e.stopPropagation(),f.onClick&&f.onClick(e)},className:c()("components-toolbar__control",r),isPressed:u,disabled:d,"data-toolbar-item":!0},o,f),i))}));var wD=e=>{let{className:t,children:n,...r}=e;return(0,s.createElement)("div",a({className:t},r),n)};var _D=function(e){let{controls:t=[],toggleProps:n,...r}=e;const o=e=>(0,s.createElement)(EE,a({controls:t,toggleProps:{...e,"data-toolbar-item":!0}},r));return(0,s.useContext)(vD)?(0,s.createElement)(gD,n,o):o(n)};var xD=function(e){let{controls:t=[],children:n,className:r,isCollapsed:o,title:i,...u}=e;const d=(0,s.useContext)(vD);if(!(t&&t.length||n))return null;const f=c()(d?"components-toolbar-group":"components-toolbar",r);let p=t;return Array.isArray(p[0])||(p=[p]),o?(0,s.createElement)(_D,a({label:i,controls:p,className:f,children:n},u)):(0,s.createElement)(wD,a({className:f},u),(0,l.flatMap)(p,((e,t)=>e.map(((e,n)=>(0,s.createElement)(bD,a({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e)))))),n)};var ED=H({name:"Toolbar",compose:di,keys:pD,useProps:function(e,t){return m({role:"toolbar","aria-orientation":e.orientation},t)}}),kD=z({as:"div",useHook:ED,useCreateElement:function(e,t,n){return M(e,t,n)}});var SD=(0,s.forwardRef)((function(e,t){let{label:n,...r}=e;const o=function(e){void 0===e&&(e={});var t=Ro(e),n=t.orientation;return ni(m({orientation:void 0===n?"horizontal":n},v(t,["orientation"])))}({loop:!0,baseId:r.id,rtl:(0,d.isRTL)()});return(0,s.createElement)(vD.Provider,{value:o},(0,s.createElement)(kD,a({ref:t,"aria-label":n},o,r)))}));var CD=(0,s.forwardRef)((function(e,t){let{className:n,label:r,...o}=e;if(!r)return Be()("Using Toolbar without label prop",{since:"5.6",alternative:"ToolbarGroup component",link:"https://developer.wordpress.org/block-editor/components/toolbar/"}),(0,s.createElement)(xD,a({},o,{className:n}));const i=c()("components-accessible-toolbar",n);return(0,s.createElement)(SD,a({className:i,label:r,ref:t},o))}));var PD=(0,s.forwardRef)((function(e,t){return(0,s.useContext)(vD)?(0,s.createElement)(gD,a({ref:t},e.toggleProps),(t=>(0,s.createElement)(EE,a({},e,{popoverProps:{isAlternate:!0,...e.popoverProps},toggleProps:t})))):(0,s.createElement)(EE,e)}));var OD=(0,s.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(i.Path,{d:"M7 11.5h10V13H7z"}));const MD={spacing:Nr("column-gap:",Lf(4),";row-gap:",Lf(6),";",""),item:{fullWidth:{name:"18iuzk9",styles:"grid-column:1/-1"}}},TD=Nr(MD.spacing,";border-top:",ip.borderWidth," solid ",ko.gray[200],";margin-top:-1px;padding:",Lf(4),";",""),DD={name:"huufmu",styles:">div:not( :first-of-type ){display:none;}"},ID=Nr(MD.item.fullWidth," gap:",Lf(2),";.components-dropdown-menu{margin:",Lf(-1)," 0;}&&&& .components-dropdown-menu__toggle{padding:0;min-width:",Lf(6),";}",""),AD={name:"1pmxm02",styles:"font-size:inherit;font-weight:500;line-height:normal;&&{margin:0;}"},RD=Nr(MD.item.fullWidth,"&>div,&>fieldset{padding-bottom:0;margin-bottom:0;max-width:100%;}&& ",Wm,"{margin-bottom:0;",Um,"{margin-bottom:0;}}",""),ND={name:"eivff4",styles:"display:none"},LD={name:"16gsvie",styles:"min-width:200px"},FD=()=>{},jD=(0,s.createContext)({menuItems:{default:{},optional:{}},hasMenuItems:!1,isResetting:!1,shouldRenderPlaceholderItems:!1,registerPanelItem:FD,deregisterPanelItem:FD,flagItemCustomization:FD,areAllOptionalControlsHidden:!0}),zD=()=>(0,s.useContext)(jD);const BD=()=>{},HD=e=>{let{items:t,onClose:n,toggleItem:r}=e;return t.length?(0,s.createElement)(BO,null,t.map((e=>{let[t,o]=e;const i=o?OD:Ey,a=o?(0,d.sprintf)((0,d.__)("Reset %s"),t):void 0;return(0,s.createElement)(HO,{key:t,icon:i,isSelected:!0,disabled:!o,label:a,onClick:()=>{r(t),n()},role:"menuitemcheckbox"},t)}))):null},VD=e=>{let{items:t,onClose:n,toggleItem:r}=e;return t.length?(0,s.createElement)(BO,null,t.map((e=>{let[t,o]=e;const i=o?(0,d.sprintf)((0,d.__)("Hide and reset %s"),t):(0,d.sprintf)((0,d.__)("Show %s"),t);return(0,s.createElement)(HO,{key:t,icon:o&&Ey,isSelected:o,label:i,onClick:()=>{r(t),n()},role:"menuitemcheckbox"},t)}))):null},WD=Pn(((e,t)=>{const{areAllOptionalControlsHidden:n,dropdownMenuClassName:r,hasMenuItems:o,headingClassName:i,label:l,menuItems:u,resetAll:c,toggleItem:f,...p}=function(e){const{className:t,...n}=Cn(e,"ToolsPanelHeader"),r=Sn(),o=(0,s.useMemo)((()=>r(ID,t)),[t]),i=(0,s.useMemo)((()=>r(LD)),[]),a=(0,s.useMemo)((()=>r(AD)),[]),{menuItems:l,hasMenuItems:u,areAllOptionalControlsHidden:c}=zD();return{...n,areAllOptionalControlsHidden:c,dropdownMenuClassName:i,hasMenuItems:u,headingClassName:a,menuItems:l,className:o}}(e);if(!l)return null;const h=Object.entries((null==u?void 0:u.default)||{}),m=Object.entries((null==u?void 0:u.optional)||{}),v=n?Py:Oy,g=n?(0,d._x)("View and add options","Button label to reveal tool panel options"):(0,d._x)("View options","Button label to reveal tool panel options");return(0,s.createElement)(Ry,a({},p,{ref:t}),(0,s.createElement)(Nx,{level:2,className:i},l),o&&(0,s.createElement)(EE,{icon:v,label:g,menuProps:{className:r},toggleProps:{isSmall:!0}},(e=>{let{onClose:t=BD}=e;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(HD,{items:h,onClose:t,toggleItem:f}),(0,s.createElement)(VD,{items:m,onClose:t,toggleItem:f}),(0,s.createElement)(BO,null,(0,s.createElement)(HO,{variant:"tertiary",onClick:()=>{c(),t()}},(0,d.__)("Reset all"))))})))}),"ToolsPanelHeader");var UD=WD;const $D=e=>{let{panelItems:t,shouldReset:n,currentMenuItems:r}=e;const o={default:{},optional:{}};return t.forEach((e=>{var t;let{hasValue:i,isShownByDefault:a,label:s}=e;const l=a?"default":"optional",u=null==r||null===(t=r[l])||void 0===t?void 0:t[s],c=void 0!==u?u:i();o[l][s]=!n&&c})),o};function KD(e){const{className:t,resetAll:n,panelId:r,hasInnerWrapper:o,shouldRenderPlaceholderItems:i,...a}=Cn(e,"ToolsPanel"),l=(0,s.useRef)(!1),u=l.current;(0,s.useEffect)((()=>{u&&(l.current=!1)}),[u]);const[c,d]=(0,s.useState)([]),[f,p]=(0,s.useState)({default:{},optional:{}});(0,s.useEffect)((()=>{p((e=>$D({panelItems:c,shouldReset:!1,currentMenuItems:e})))}),[c]);const[h,m]=(0,s.useState)(!1);(0,s.useEffect)((()=>{if(f.optional){const e=Object.entries(f.optional),t=e.length>0&&!e.some((e=>{let[,t]=e;return t}));m(t)}}),[f.optional]);const v=Sn(),g=(0,s.useMemo)((()=>{const e=(null==f?void 0:f.default)&&!!Object.keys(null==f?void 0:f.default).length,n=o&&Nr(">div:not( :first-of-type ){display:grid;grid-template-columns:",`repeat( ${2}, 1fr )`,";",MD.spacing," ",MD.item.fullWidth,";}","");return v(TD,n,!e&&h&&DD,t)}),[t,o,f,h]),y={panelId:r,menuItems:f,registerPanelItem:e=>{d((t=>{const n=[...t],r=n.findIndex((t=>t.label===e.label));return-1!==r&&n.splice(r,1),[...n,e]}))},deregisterPanelItem:e=>{d((t=>{const n=[...t],r=n.findIndex((t=>t.label===e));return-1!==r&&n.splice(r,1),n}))},flagItemCustomization:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";p((n=>({...n,[t]:{...n[t],[e]:!0}})))},areAllOptionalControlsHidden:h,hasMenuItems:!!c.length,isResetting:l.current,shouldRenderPlaceholderItems:i};return{...a,panelContext:y,resetAllItems:()=>{"function"==typeof n&&(l.current=!0,n((()=>{const e=[];return c.forEach((t=>{t.resetAllFilter&&e.push(t.resetAllFilter)})),e})()));const e=$D({panelItems:c,shouldReset:!0});p(e)},toggleItem:e=>{const t=c.find((t=>t.label===e));if(!t)return;const n=t.isShownByDefault?"default":"optional",r={...f,[n]:{...f[n],[e]:!f[n][e]}};p(r)},className:g}}var GD=Pn(((e,t)=>{const{children:n,label:r,panelContext:o,resetAllItems:i,toggleItem:a,className:l}=KD(e);return(0,s.createElement)(pO,{columns:2,className:l,ref:t},(0,s.createElement)(jD.Provider,{value:o},(0,s.createElement)(UD,{label:r,resetAll:i,toggleItem:a}),n))}),"ToolsPanel");var qD=Pn(((e,t)=>{const{children:n,isShown:r,shouldRenderPlaceholder:o,...i}=function(e){var t,n;const{className:r,hasValue:o,isShownByDefault:i,label:a,panelId:l,resetAllFilter:u,onDeselect:c,onSelect:d,...p}=Cn(e,"ToolsPanelItem"),{panelId:h,menuItems:m,registerPanelItem:v,deregisterPanelItem:g,flagItemCustomization:y,isResetting:b,shouldRenderPlaceholderItems:w}=zD(),_=(0,s.useCallback)(o,[l]),x=(0,s.useCallback)(u,[l]),E=(0,f.usePrevious)(h),k=h===l||null===h;(0,s.useEffect)((()=>(k&&null!==E&&v({hasValue:_,isShownByDefault:i,label:a,resetAllFilter:x,panelId:l}),()=>{(null===E&&h||h===l)&&g(a)})),[h,k,i,a,_,l,E,x]);const S=o(),C=(0,f.usePrevious)(S);(0,s.useEffect)((()=>{i&&S&&!C&&y(a)}),[S,C,i,a]);const P=i?"default":"optional",O=null==m||null===(t=m[P])||void 0===t?void 0:t[a],M=(0,f.usePrevious)(O);(0,s.useEffect)((()=>{!b&&k&&(!O||S||M||null==d||d(),!O&&M&&(null==c||c()))}),[k,O,b,S,M]);const T=i?void 0!==(null==m||null===(n=m[P])||void 0===n?void 0:n[a]):O,D=Sn(),I=(0,s.useMemo)((()=>D(RD,w&&!T&&ND,r)),[T,w,r]);return{...p,isShown:T,shouldRenderPlaceholder:w,className:I}}(e);return r?(0,s.createElement)(zn,a({},i,{ref:t}),n):o?(0,s.createElement)(zn,a({},i,{ref:t})):null}),"ToolsPanelItem");const YD=(0,s.createContext)(),XD=YD.Provider;function ZD(e){let{children:t}=e;const[n,r]=(0,s.useState)(),o=(0,s.useMemo)((()=>({lastFocusedElement:n,setLastFocusedElement:r})),[n]);return(0,s.createElement)(XD,{value:o},t)}function JD(e){const t=Re.focus.focusable.find(e,{sequential:!0});if(t&&t.length)return t.filter((t=>t.closest('[role="row"]')===e))}var QD=(0,s.forwardRef)((function(e,t){let{children:n,onExpandRow:r=(()=>{}),onCollapseRow:o=(()=>{}),...i}=e;const u=(0,s.useCallback)((e=>{const{keyCode:t,metaKey:n,ctrlKey:i,altKey:a,shiftKey:s}=e;if(n||i||a||s||!(0,l.includes)([tm.UP,tm.DOWN,tm.LEFT,tm.RIGHT],t))return;e.stopPropagation();const{activeElement:u}=document,{currentTarget:c}=e;if(!c.contains(u))return;const d=u.closest('[role="row"]'),f=JD(d),p=f.indexOf(u);if((0,l.includes)([tm.LEFT,tm.RIGHT],t)){let n;if(n=t===tm.LEFT?Math.max(0,p-1):Math.min(p+1,f.length-1),n===p){if(t===tm.LEFT){var h,m,v;if("true"===d.getAttribute("aria-expanded"))return o(d),void e.preventDefault();const t=Math.max(parseInt(null!==(h=null==d?void 0:d.ariaLevel)&&void 0!==h?h:1,10)-1,1),n=Array.from(c.querySelectorAll('[role="row"]'));let r=d;for(let e=n.indexOf(d);e>=0;e--)if(parseInt(n[e].ariaLevel,10)===t){r=n[e];break}null===(m=JD(r))||void 0===m||null===(v=m[0])||void 0===v||v.focus()}if(t===tm.RIGHT){if("false"===d.getAttribute("aria-expanded"))return r(d),void e.preventDefault();const t=JD(d);var g;if(t.length>0)null===(g=t[t.length-1])||void 0===g||g.focus()}return void e.preventDefault()}f[n].focus(),e.preventDefault()}else if((0,l.includes)([tm.UP,tm.DOWN],t)){const n=Array.from(c.querySelectorAll('[role="row"]')),r=n.indexOf(d);let o;if(o=t===tm.UP?Math.max(0,r-1):Math.min(r+1,n.length-1),o===r)return void e.preventDefault();const i=JD(n[o]);if(!i||!i.length)return void e.preventDefault();i[Math.min(p,i.length-1)].focus(),e.preventDefault()}}),[r,o]);return(0,s.createElement)(ZD,null,(0,s.createElement)("table",a({},i,{role:"treegrid",onKeyDown:u,ref:t}),(0,s.createElement)("tbody",null,n)))}));var eI=(0,s.forwardRef)((function(e,t){let{children:n,level:r,positionInSet:o,setSize:i,isExpanded:l,...u}=e;return(0,s.createElement)("tr",a({},u,{ref:t,role:"row","aria-level":r,"aria-posinset":o,"aria-setsize":i,"aria-expanded":l}),n)})),tI=(0,s.forwardRef)((function(e,t){let{children:n,as:r,...o}=e;const i=(0,s.useRef)(),a=t||i,{lastFocusedElement:l,setLastFocusedElement:u}=(0,s.useContext)(YD);let c;l&&(c=l===a.current?0:-1);const d={ref:a,tabIndex:c,onFocus:e=>u(e.target),...o};return"function"==typeof n?n(d):(0,s.createElement)(r,d,n)})),nI=(0,s.forwardRef)((function(e,t){let{children:n,...r}=e;return(0,s.createElement)(tI,a({ref:t},r),n)})),rI=(0,s.forwardRef)((function(e,t){let{children:n,withoutGridItem:r=!1,...o}=e;return(0,s.createElement)("td",a({},o,{role:"gridcell"}),r?n:(0,s.createElement)(nI,{ref:t},n))}));var oI=Pn((function(e,t){const n=Zf(e);return(0,s.createElement)(zn,a({as:"span"},n,{ref:t}))}),"Truncate");function iI(e){e.stopPropagation()}var aI=(0,s.forwardRef)(((e,t)=>{let{children:n,...r}=e;return Be()("wp.components.IsolatedEventContainer",{since:"5.7"}),(0,s.createElement)("div",a({},r,{ref:t,onMouseDown:iI}),n)}));const sI=Fn("div",{target:"ebn2ljm1"})({name:"5ob2ly",styles:"display:flex;position:relative"}),lI=Fn("div",{target:"ebn2ljm0"})((e=>{let{isLayered:t,offsetAmount:n}=e;return Nr(t?{marginLeft:n}:{right:-1*n},"","")})," ",(e=>{let{isLayered:t}=e;return t?uI:cI})," ",(e=>{let{zIndex:t}=e;return Nr({zIndex:t},"","")}),";"),uI={name:"a4hmbt",styles:"position:absolute"},cI={name:"bjn8wh",styles:"position:relative"};var dI=Pn((function(e,t){const{children:n,className:r,isLayered:o=!0,isReversed:i=!1,offset:l=0,...u}=Cn(e,"ZStack"),c=Iy(n),d=c.length-1,f=c.map(((e,t)=>{const n=i?d-t:t,r=l*t,a=(0,s.isValidElement)(e)?e.key:t;return(0,s.createElement)(lI,{isLayered:o,offsetAmount:r,zIndex:n,key:a},e)}));return(0,s.createElement)(sI,a({},u,{className:r,ref:t}),f)}),"ZStack");const fI={previous:[{modifier:"ctrlShift",character:"`"},{modifier:"access",character:"p"}],next:[{modifier:"ctrl",character:"`"},{modifier:"access",character:"n"}]};function pI(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fI;const t=(0,s.useRef)(),[n,r]=(0,s.useState)(!1);function o(e){const n=Array.from(t.current.querySelectorAll('[role="region"]'));if(!n.length)return;let o=n[0];const i=n.indexOf(t.current.ownerDocument.activeElement);if(-1!==i){let t=i+e;t=-1===t?n.length-1:t,t=t===n.length?0:t,o=n[t]}o.focus(),r(!0)}const i=(0,f.useRefEffect)((e=>{function t(){r(!1)}return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}),[r]);return{ref:(0,f.useMergeRefs)([t,i]),className:n?"is-focusing-regions":"",onKeyDown(t){e.previous.some((e=>{let{modifier:n,character:r}=e;return tm.isKeyboardEvent[n](t,r)}))?o(-1):e.next.some((e=>{let{modifier:n,character:r}=e;return tm.isKeyboardEvent[n](t,r)}))&&o(1)}}}var hI=(0,f.createHigherOrderComponent)((e=>t=>{let{shortcuts:n,...r}=t;return(0,s.createElement)("div",pI(n),(0,s.createElement)(e,r))}),"navigateRegions");var mI=(0,f.createHigherOrderComponent)((e=>function(t){const n=(0,f.useConstrainedTabbing)();return(0,s.createElement)("div",{ref:n,tabIndex:"-1"},(0,s.createElement)(e,t))}),"withConstrainedTabbing"),vI=e=>(0,f.createHigherOrderComponent)((t=>class extends s.Component{constructor(){super(...arguments),this.nodeRef=this.props.node,this.state={fallbackStyles:void 0,grabStylesCompleted:!1},this.bindRef=this.bindRef.bind(this)}bindRef(e){e&&(this.nodeRef=e)}componentDidMount(){this.grabFallbackStyles()}componentDidUpdate(){this.grabFallbackStyles()}grabFallbackStyles(){const{grabStylesCompleted:t,fallbackStyles:n}=this.state;if(this.nodeRef&&!t){const t=e(this.nodeRef,this.props);(0,l.isEqual)(t,n)||this.setState({fallbackStyles:t,grabStylesCompleted:!!(0,l.every)(t)})}}render(){const e=(0,s.createElement)(t,a({},this.props,this.state.fallbackStyles));return this.props.node?e:(0,s.createElement)("div",{ref:this.bindRef}," ",e," ")}}),"withFallbackStyles"),gI=window.wp.hooks;function yI(e){return(0,f.createHigherOrderComponent)((t=>{const n="core/with-filters/"+e;let r;class o extends s.Component{constructor(){super(...arguments),void 0===r&&(r=(0,gI.applyFilters)(e,t))}componentDidMount(){o.instances.push(this),1===o.instances.length&&((0,gI.addAction)("hookRemoved",n,a),(0,gI.addAction)("hookAdded",n,a))}componentWillUnmount(){o.instances=(0,l.without)(o.instances,this),0===o.instances.length&&((0,gI.removeAction)("hookRemoved",n),(0,gI.removeAction)("hookAdded",n))}render(){return(0,s.createElement)(r,this.props)}}o.instances=[];const i=(0,l.debounce)((()=>{r=(0,gI.applyFilters)(e,t),o.instances.forEach((e=>{e.forceUpdate()}))}),16);function a(t){t===e&&i()}return o}),"withFilters")}var bI=(0,f.createHigherOrderComponent)((e=>{const t=function(){let{onFocusReturn:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=>n=>{const r=(0,f.useFocusReturn)(e);return(0,s.createElement)("div",{ref:r},(0,s.createElement)(t,n))}};if((n=e)instanceof s.Component||"function"==typeof n){const n=e;return t()(n)}var n;return t(e)}),"withFocusReturn");const wI=e=>{let{children:t}=e;return Be()("wp.components.FocusReturnProvider component",{since:"5.7",hint:"This provider is not used anymore. You can just remove it from your codebase"}),t};var _I=(0,f.createHigherOrderComponent)((e=>{function t(t,r){const[o,i]=(0,s.useState)([]),l=(0,s.useMemo)((()=>{const e=e=>{const t=e.id?e:{...e,id:CO()};i((e=>[...e,t]))};return{createNotice:e,createErrorNotice:t=>{e({status:"error",content:t})},removeNotice:e=>{i((t=>t.filter((t=>t.id!==e))))},removeAllNotices:()=>{i([])}}}),[]),u={...t,noticeList:o,noticeOperations:l,noticeUI:o.length>0&&(0,s.createElement)(RM,{className:"components-with-notices-ui",notices:o,onRemove:l.removeNotice})};return n?(0,s.createElement)(e,a({},u,{ref:r})):(0,s.createElement)(e,u)}let n;const{render:r}=e;return"function"==typeof r?(n=!0,(0,s.forwardRef)(t)):t}))}(),(window.wp=window.wp||{}).components=r}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/compose.js b/wp-includes/js/dist/compose.js
index 372d31f146..fb1978fb56 100644
--- a/wp-includes/js/dist/compose.js
+++ b/wp-includes/js/dist/compose.js
@@ -1,2172 +1,2294 @@
-this["wp"] = this["wp"] || {}; this["wp"]["compose"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "PD33");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "1CF3":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["dom"]; }());
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "NMb1":
-/***/ (function(module, exports) {
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-(function() { module.exports = window["wp"]["deprecated"]; }());
+/***/ 8294:
+/***/ (function(module) {

-/***/ }),
+/*!
+ * clipboard.js v2.0.8
+ * https://clipboardjs.com/
+ *
+ * Licensed MIT © Zeno Rocha
+ */
+(function webpackUniversalModuleDefinition(root, factory) {
+	if(true)
+		module.exports = factory();
+	else {}
+})(this, function() {
+return /******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-/***/ "PD33":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 134:
+/***/ (function(__unused_webpack_module, __webpack_exports__, __nested_webpack_require_622__) {

 "use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "createHigherOrderComponent", function() { return /* reexport */ create_higher_order_component; });
-__webpack_require__.d(__webpack_exports__, "compose", function() { return /* reexport */ compose; });
-__webpack_require__.d(__webpack_exports__, "ifCondition", function() { return /* reexport */ if_condition; });
-__webpack_require__.d(__webpack_exports__, "pure", function() { return /* reexport */ higher_order_pure; });
-__webpack_require__.d(__webpack_exports__, "withGlobalEvents", function() { return /* reexport */ withGlobalEvents; });
-__webpack_require__.d(__webpack_exports__, "withInstanceId", function() { return /* reexport */ with_instance_id; });
-__webpack_require__.d(__webpack_exports__, "withSafeTimeout", function() { return /* reexport */ with_safe_timeout; });
-__webpack_require__.d(__webpack_exports__, "withState", function() { return /* reexport */ withState; });
-__webpack_require__.d(__webpack_exports__, "useConstrainedTabbing", function() { return /* reexport */ use_constrained_tabbing; });
-__webpack_require__.d(__webpack_exports__, "useCopyOnClick", function() { return /* reexport */ useCopyOnClick; });
-__webpack_require__.d(__webpack_exports__, "useCopyToClipboard", function() { return /* reexport */ useCopyToClipboard; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseDialog", function() { return /* reexport */ use_dialog; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseDisabled", function() { return /* reexport */ useDisabled; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseDragging", function() { return /* reexport */ useDragging; });
-__webpack_require__.d(__webpack_exports__, "useFocusOnMount", function() { return /* reexport */ useFocusOnMount; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseFocusOutside", function() { return /* reexport */ useFocusOutside; });
-__webpack_require__.d(__webpack_exports__, "useFocusReturn", function() { return /* reexport */ use_focus_return; });
-__webpack_require__.d(__webpack_exports__, "useInstanceId", function() { return /* reexport */ useInstanceId; });
-__webpack_require__.d(__webpack_exports__, "useIsomorphicLayoutEffect", function() { return /* reexport */ use_isomorphic_layout_effect; });
-__webpack_require__.d(__webpack_exports__, "useKeyboardShortcut", function() { return /* reexport */ use_keyboard_shortcut; });
-__webpack_require__.d(__webpack_exports__, "useMediaQuery", function() { return /* reexport */ useMediaQuery; });
-__webpack_require__.d(__webpack_exports__, "usePrevious", function() { return /* reexport */ usePrevious; });
-__webpack_require__.d(__webpack_exports__, "useReducedMotion", function() { return /* reexport */ use_reduced_motion; });
-__webpack_require__.d(__webpack_exports__, "useViewportMatch", function() { return /* reexport */ use_viewport_match; });
-__webpack_require__.d(__webpack_exports__, "useResizeObserver", function() { return /* reexport */ use_resize_observer; });
-__webpack_require__.d(__webpack_exports__, "useAsyncList", function() { return /* reexport */ use_async_list; });
-__webpack_require__.d(__webpack_exports__, "useWarnOnChange", function() { return /* reexport */ use_warn_on_change; });
-__webpack_require__.d(__webpack_exports__, "useDebounce", function() { return /* reexport */ useDebounce; });
-__webpack_require__.d(__webpack_exports__, "useThrottle", function() { return /* reexport */ useThrottle; });
-__webpack_require__.d(__webpack_exports__, "useMergeRefs", function() { return /* reexport */ useMergeRefs; });
-__webpack_require__.d(__webpack_exports__, "useRefEffect", function() { return /* reexport */ useRefEffect; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseDropZone", function() { return /* reexport */ useDropZone; });
-__webpack_require__.d(__webpack_exports__, "useFocusableIframe", function() { return /* reexport */ useFocusableIframe; });
-__webpack_require__.d(__webpack_exports__, "__experimentalUseFixedWindowList", function() { return /* reexport */ useFixedWindowList; });
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js
-/**
- * External dependencies
- */
- // eslint-disable-next-line no-restricted-imports
-
-/**
- * Given a function mapping a component to an enhanced component and modifier
- * name, returns the enhanced component augmented with a generated displayName.
- *
- * @param  mapComponentToEnhancedComponent Function mapping component to enhanced component.
- * @param  modifierName                    Seed name from which to generated display name.
- *
- * @return Component class with generated display name assigned.
- */
-function createHigherOrderComponent(mapComponent, modifierName) {
-  return Inner => {
-    const Outer = mapComponent(Inner);
-    const displayName = Inner.displayName || Inner.name || 'Component';
-    Outer.displayName = `${Object(external_lodash_["upperFirst"])(Object(external_lodash_["camelCase"])(modifierName))}(${displayName})`;
-    return Outer;
-  };
-}
-
-/* harmony default export */ var create_higher_order_component = (createHigherOrderComponent);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/compose.js
-/**
- * External dependencies
- */
+__nested_webpack_require_622__.d(__webpack_exports__, {
+  "default": function() { return /* binding */ clipboard; }
+});

-/**
- * Composes multiple higher-order components into a single higher-order component. Performs right-to-left function
- * composition, where each successive invocation is supplied the return value of the previous.
- *
- * This is just a re-export of `lodash`'s `flowRight` function.
- *
- * @see https://docs-lodash.com/v4/flow-right/
- */
+// EXTERNAL MODULE: ./node_modules/tiny-emitter/index.js
+var tiny_emitter = __nested_webpack_require_622__(279);
+var tiny_emitter_default = /*#__PURE__*/__nested_webpack_require_622__.n(tiny_emitter);
+// EXTERNAL MODULE: ./node_modules/good-listener/src/listen.js
+var listen = __nested_webpack_require_622__(370);
+var listen_default = /*#__PURE__*/__nested_webpack_require_622__.n(listen);
+// EXTERNAL MODULE: ./node_modules/select/src/select.js
+var src_select = __nested_webpack_require_622__(817);
+var select_default = /*#__PURE__*/__nested_webpack_require_622__.n(src_select);
+;// CONCATENATED MODULE: ./src/clipboard-action.js
+function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

-/* harmony default export */ var compose = (external_lodash_["flowRight"]);
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/if-condition/index.js
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }


 /**
- * Internal dependencies
+ * Inner class which performs selection from either `text` or `target`
+ * properties and then executes copy or cut operations.
  */

+var ClipboardAction = /*#__PURE__*/function () {
+  /**
+   * @param {Object} options
+   */
+  function ClipboardAction(options) {
+    _classCallCheck(this, ClipboardAction);

-/**
- * Higher-order component creator, creating a new component which renders if
- * the given condition is satisfied or with the given optional prop name.
- *
- * @example
- * ```ts
- * type Props = { foo: string };
- * const Component = ( props: Props ) => <div>{ props.foo }</div>;
- * const ConditionalComponent = ifCondition( ( props: Props ) => props.foo.length !== 0 )( Component );
- * <ConditionalComponent foo="" />; // => null
- * <ConditionalComponent foo="bar" />; // => <div>bar</div>;
- * ```
- *
- * @param  predicate Function to test condition.
- *
- * @return Higher-order component.
- */
-const ifCondition = predicate => create_higher_order_component(WrappedComponent => props => {
-  if (!predicate(props)) {
-    return null;
+    this.resolveOptions(options);
+    this.initSelection();
   }
+  /**
+   * Defines base properties passed from constructor.
+   * @param {Object} options
+   */

-  return Object(external_wp_element_["createElement"])(WrappedComponent, props);
-}, 'ifCondition');

-/* harmony default export */ var if_condition = (ifCondition);
+  _createClass(ClipboardAction, [{
+    key: "resolveOptions",
+    value: function resolveOptions() {
+      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+      this.action = options.action;
+      this.container = options.container;
+      this.emitter = options.emitter;
+      this.target = options.target;
+      this.text = options.text;
+      this.trigger = options.trigger;
+      this.selectedText = '';
+    }
+    /**
+     * Decides which selection strategy is going to be applied based
+     * on the existence of `text` and `target` properties.
+     */

-// EXTERNAL MODULE: external ["wp","isShallowEqual"]
-var external_wp_isShallowEqual_ = __webpack_require__("rl8x");
-var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
+  }, {
+    key: "initSelection",
+    value: function initSelection() {
+      if (this.text) {
+        this.selectFake();
+      } else if (this.target) {
+        this.selectTarget();
+      }
+    }
+    /**
+     * Creates a fake textarea element, sets its value from `text` property,
+     */

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/pure/index.js
+  }, {
+    key: "createFakeElement",
+    value: function createFakeElement() {
+      var isRTL = document.documentElement.getAttribute('dir') === 'rtl';
+      this.fakeElem = document.createElement('textarea'); // Prevent zooming on iOS

+      this.fakeElem.style.fontSize = '12pt'; // Reset box model

-/**
- * WordPress dependencies
- */
+      this.fakeElem.style.border = '0';
+      this.fakeElem.style.padding = '0';
+      this.fakeElem.style.margin = '0'; // Move element out of screen horizontally

+      this.fakeElem.style.position = 'absolute';
+      this.fakeElem.style[isRTL ? 'right' : 'left'] = '-9999px'; // Move element to the same position vertically

-/**
- * Internal dependencies
- */
+      var yPosition = window.pageYOffset || document.documentElement.scrollTop;
+      this.fakeElem.style.top = "".concat(yPosition, "px");
+      this.fakeElem.setAttribute('readonly', '');
+      this.fakeElem.value = this.text;
+      return this.fakeElem;
+    }
+    /**
+     * Get's the value of fakeElem,
+     * and makes a selection on it.
+     */

+  }, {
+    key: "selectFake",
+    value: function selectFake() {
+      var _this = this;

+      var fakeElem = this.createFakeElement();

-/**
- * Given a component returns the enhanced component augmented with a component
- * only rerendering when its props/state change
- */
-const pure = create_higher_order_component(Wrapped => {
-  if (Wrapped.prototype instanceof external_wp_element_["Component"]) {
-    return class extends Wrapped {
-      shouldComponentUpdate(nextProps, nextState) {
-        return !external_wp_isShallowEqual_default()(nextProps, this.props) || !external_wp_isShallowEqual_default()(nextState, this.state);
-      }
+      this.fakeHandlerCallback = function () {
+        return _this.removeFake();
+      };

-    };
-  }
+      this.fakeHandler = this.container.addEventListener('click', this.fakeHandlerCallback) || true;
+      this.container.appendChild(fakeElem);
+      this.selectedText = select_default()(fakeElem);
+      this.copyText();
+      this.removeFake();
+    }
+    /**
+     * Only removes the fake element after another click event, that way
+     * a user can hit `Ctrl+C` to copy because selection still exists.
+     */

-  return class extends external_wp_element_["Component"] {
-    shouldComponentUpdate(nextProps) {
-      return !external_wp_isShallowEqual_default()(nextProps, this.props);
+  }, {
+    key: "removeFake",
+    value: function removeFake() {
+      if (this.fakeHandler) {
+        this.container.removeEventListener('click', this.fakeHandlerCallback);
+        this.fakeHandler = null;
+        this.fakeHandlerCallback = null;
+      }
+
+      if (this.fakeElem) {
+        this.container.removeChild(this.fakeElem);
+        this.fakeElem = null;
+      }
     }
+    /**
+     * Selects the content from element passed on `target` property.
+     */

-    render() {
-      return Object(external_wp_element_["createElement"])(Wrapped, this.props);
+  }, {
+    key: "selectTarget",
+    value: function selectTarget() {
+      this.selectedText = select_default()(this.target);
+      this.copyText();
     }
+    /**
+     * Executes the copy operation based on the current selection.
+     */

-  };
-}, 'pure');
-/* harmony default export */ var higher_order_pure = (pure);
+  }, {
+    key: "copyText",
+    value: function copyText() {
+      var succeeded;

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+      try {
+        succeeded = document.execCommand(this.action);
+      } catch (err) {
+        succeeded = false;
+      }

-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
+      this.handleResult(succeeded);
+    }
+    /**
+     * Fires an event based on the copy operation result.
+     * @param {Boolean} succeeded
+     */

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/listener.js
-/**
- * External dependencies
- */
+  }, {
+    key: "handleResult",
+    value: function handleResult(succeeded) {
+      this.emitter.emit(succeeded ? 'success' : 'error', {
+        action: this.action,
+        text: this.selectedText,
+        trigger: this.trigger,
+        clearSelection: this.clearSelection.bind(this)
+      });
+    }
+    /**
+     * Moves focus away from `target` and back to the trigger, removes current selection.
+     */

-/**
- * Class responsible for orchestrating event handling on the global window,
- * binding a single event to be shared across all handling instances, and
- * removing the handler when no instances are listening for the event.
- */
+  }, {
+    key: "clearSelection",
+    value: function clearSelection() {
+      if (this.trigger) {
+        this.trigger.focus();
+      }

-class listener_Listener {
-  constructor() {
-    /** @type {any} */
-    this.listeners = {};
-    this.handleEvent = this.handleEvent.bind(this);
-  }
+      document.activeElement.blur();
+      window.getSelection().removeAllRanges();
+    }
+    /**
+     * Sets the `action` to be performed which can be either 'copy' or 'cut'.
+     * @param {String} action
+     */

-  add(
-  /** @type {any} */
-  eventType,
-  /** @type {any} */
-  instance) {
-    if (!this.listeners[eventType]) {
-      // Adding first listener for this type, so bind event.
-      window.addEventListener(eventType, this.handleEvent);
-      this.listeners[eventType] = [];
+  }, {
+    key: "destroy",
+
+    /**
+     * Destroy lifecycle.
+     */
+    value: function destroy() {
+      this.removeFake();
     }
+  }, {
+    key: "action",
+    set: function set() {
+      var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'copy';
+      this._action = action;

-    this.listeners[eventType].push(instance);
-  }
+      if (this._action !== 'copy' && this._action !== 'cut') {
+        throw new Error('Invalid "action" value, use either "copy" or "cut"');
+      }
+    }
+    /**
+     * Gets the `action` property.
+     * @return {String}
+     */
+    ,
+    get: function get() {
+      return this._action;
+    }
+    /**
+     * Sets the `target` property using an element
+     * that will be have its content copied.
+     * @param {Element} target
+     */

-  remove(
-  /** @type {any} */
-  eventType,
-  /** @type {any} */
-  instance) {
-    this.listeners[eventType] = Object(external_lodash_["without"])(this.listeners[eventType], instance);
+  }, {
+    key: "target",
+    set: function set(target) {
+      if (target !== undefined) {
+        if (target && _typeof(target) === 'object' && target.nodeType === 1) {
+          if (this.action === 'copy' && target.hasAttribute('disabled')) {
+            throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
+          }

-    if (!this.listeners[eventType].length) {
-      // Removing last listener for this type, so unbind event.
-      window.removeEventListener(eventType, this.handleEvent);
-      delete this.listeners[eventType];
+          if (this.action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {
+            throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');
+          }
+
+          this._target = target;
+        } else {
+          throw new Error('Invalid "target" value, use a valid Element');
+        }
+      }
     }
-  }
+    /**
+     * Gets the `target` property.
+     * @return {String|HTMLElement}
+     */
+    ,
+    get: function get() {
+      return this._target;
+    }
+  }]);

-  handleEvent(
-  /** @type {any} */
-  event) {
-    Object(external_lodash_["forEach"])(this.listeners[event.type], instance => {
-      instance.handleEvent(event);
-    });
-  }
+  return ClipboardAction;
+}();

-}
+/* harmony default export */ var clipboard_action = (ClipboardAction);
+;// CONCATENATED MODULE: ./src/clipboard.js
+function clipboard_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { clipboard_typeof = function _typeof(obj) { return typeof obj; }; } else { clipboard_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return clipboard_typeof(obj); }
+
+function clipboard_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-/* harmony default export */ var listener = (listener_Listener);
+function clipboard_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/index.js
+function clipboard_createClass(Constructor, protoProps, staticProps) { if (protoProps) clipboard_defineProperties(Constructor.prototype, protoProps); if (staticProps) clipboard_defineProperties(Constructor, staticProps); return Constructor; }

+function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }

+function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

-/**
- * External dependencies
- */
+function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

-/**
- * WordPress dependencies
- */
+function _possibleConstructorReturn(self, call) { if (call && (clipboard_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }

+function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

+function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
+
+function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }

-/**
- * Internal dependencies
- */



 /**
- * Listener instance responsible for managing document event handling.
+ * Helper function to retrieve attribute value.
+ * @param {String} suffix
+ * @param {Element} element
  */

-const with_global_events_listener = new listener();
-/* eslint-disable jsdoc/no-undefined-types */
+function getAttributeValue(suffix, element) {
+  var attribute = "data-clipboard-".concat(suffix);
+
+  if (!element.hasAttribute(attribute)) {
+    return;
+  }

+  return element.getAttribute(attribute);
+}
 /**
- * Higher-order component creator which, given an object of DOM event types and
- * values corresponding to a callback function name on the component, will
- * create or update a window event handler to invoke the callback when an event
- * occurs. On behalf of the consuming developer, the higher-order component
- * manages unbinding when the component unmounts, and binding at most a single
- * event handler for the entire application.
- *
- * @deprecated
- *
- * @param {Record<keyof GlobalEventHandlersEventMap, string>} eventTypesToHandlers Object with keys of DOM
- *                                                                                 event type, the value a
- *                                                                                 name of the function on
- *                                                                                 the original component's
- *                                                                                 instance which handles
- *                                                                                 the event.
- *
- * @return {any} Higher-order component.
+ * Base class which takes one or more elements, adds event listeners to them,
+ * and instantiates a new `ClipboardAction` on each click.
  */

-function withGlobalEvents(eventTypesToHandlers) {
-  external_wp_deprecated_default()('wp.compose.withGlobalEvents', {
-    since: '5.7',
-    alternative: 'useEffect'
-  });
-  return create_higher_order_component(WrappedComponent => {
-    class Wrapper extends external_wp_element_["Component"] {
-      constructor(
-      /** @type {any} */
-      props) {
-        super(props);
-        this.handleEvent = this.handleEvent.bind(this);
-        this.handleRef = this.handleRef.bind(this);
-      }

-      componentDidMount() {
-        Object(external_lodash_["forEach"])(eventTypesToHandlers, (_, eventType) => {
-          with_global_events_listener.add(eventType, this);
-        });
-      }
+var Clipboard = /*#__PURE__*/function (_Emitter) {
+  _inherits(Clipboard, _Emitter);

-      componentWillUnmount() {
-        Object(external_lodash_["forEach"])(eventTypesToHandlers, (_, eventType) => {
-          with_global_events_listener.remove(eventType, this);
-        });
-      }
+  var _super = _createSuper(Clipboard);

-      handleEvent(
-      /** @type {any} */
-      event) {
-        const handler = eventTypesToHandlers[
-        /** @type {keyof GlobalEventHandlersEventMap} */
-        event.type
-        /* eslint-enable jsdoc/no-undefined-types */
-        ];
+  /**
+   * @param {String|HTMLElement|HTMLCollection|NodeList} trigger
+   * @param {Object} options
+   */
+  function Clipboard(trigger, options) {
+    var _this;

-        if (typeof this.wrappedRef[handler] === 'function') {
-          this.wrappedRef[handler](event);
-        }
-      }
+    clipboard_classCallCheck(this, Clipboard);

-      handleRef(
-      /** @type {any} */
-      el) {
-        this.wrappedRef = el; // Any component using `withGlobalEvents` that is not setting a `ref`
-        // will cause `this.props.forwardedRef` to be `null`, so we need this
-        // check.
+    _this = _super.call(this);

-        if (this.props.forwardedRef) {
-          this.props.forwardedRef(el);
-        }
-      }
+    _this.resolveOptions(options);

-      render() {
-        return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, this.props.ownProps, {
-          ref: this.handleRef
-        }));
-      }
+    _this.listenClick(trigger);

-    }
+    return _this;
+  }
+  /**
+   * Defines if attributes would be resolved using internal setter functions
+   * or custom functions that were passed in the constructor.
+   * @param {Object} options
+   */

-    return Object(external_wp_element_["forwardRef"])((props, ref) => {
-      return Object(external_wp_element_["createElement"])(Wrapper, {
-        ownProps: props,
-        forwardedRef: ref
-      });
-    });
-  }, 'withGlobalEvents');
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js
-// Disable reason: Object and object are distinctly different types in TypeScript and we mean the lowercase object in thise case
-// but eslint wants to force us to use `Object`. See https://stackoverflow.com/questions/49464634/difference-between-object-and-object-in-typescript
-
-/* eslint-disable jsdoc/check-types */
-
-/**
- * WordPress dependencies
- */
+  clipboard_createClass(Clipboard, [{
+    key: "resolveOptions",
+    value: function resolveOptions() {
+      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+      this.action = typeof options.action === 'function' ? options.action : this.defaultAction;
+      this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;
+      this.text = typeof options.text === 'function' ? options.text : this.defaultText;
+      this.container = clipboard_typeof(options.container) === 'object' ? options.container : document.body;
+    }
+    /**
+     * Adds a click event listener to the passed trigger.
+     * @param {String|HTMLElement|HTMLCollection|NodeList} trigger
+     */

-/**
- * @type {WeakMap<object, number>}
- */
+  }, {
+    key: "listenClick",
+    value: function listenClick(trigger) {
+      var _this2 = this;

-const instanceMap = new WeakMap();
-/**
- * Creates a new id for a given object.
- *
- * @param {object} object Object reference to create an id for.
- * @return {number} The instance id (index).
- */
+      this.listener = listen_default()(trigger, 'click', function (e) {
+        return _this2.onClick(e);
+      });
+    }
+    /**
+     * Defines a new `ClipboardAction` on each click event.
+     * @param {Event} e
+     */

-function createId(object) {
-  const instances = instanceMap.get(object) || 0;
-  instanceMap.set(object, instances + 1);
-  return instances;
-}
-/**
- * Provides a unique instance ID.
- *
- * @param {object}          object           Object reference to create an id for.
- * @param {string}          [prefix]         Prefix for the unique id.
- * @param {string | number} [preferredId=''] Default ID to use.
- * @return {string | number} The unique instance id.
- */
+  }, {
+    key: "onClick",
+    value: function onClick(e) {
+      var trigger = e.delegateTarget || e.currentTarget;

+      if (this.clipboardAction) {
+        this.clipboardAction = null;
+      }

-function useInstanceId(object, prefix) {
-  let preferredId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
-  return Object(external_wp_element_["useMemo"])(() => {
-    if (preferredId) return preferredId;
-    const id = createId(object);
-    return prefix ? `${prefix}-${id}` : id;
-  }, [object]);
-}
-/* eslint-enable jsdoc/check-types */
+      this.clipboardAction = new clipboard_action({
+        action: this.action(trigger),
+        target: this.target(trigger),
+        text: this.text(trigger),
+        container: this.container,
+        trigger: trigger,
+        emitter: this
+      });
+    }
+    /**
+     * Default `action` lookup function.
+     * @param {Element} trigger
+     */

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js
+  }, {
+    key: "defaultAction",
+    value: function defaultAction(trigger) {
+      return getAttributeValue('action', trigger);
+    }
+    /**
+     * Default `target` lookup function.
+     * @param {Element} trigger
+     */

+  }, {
+    key: "defaultTarget",
+    value: function defaultTarget(trigger) {
+      var selector = getAttributeValue('target', trigger);

+      if (selector) {
+        return document.querySelector(selector);
+      }
+    }
+    /**
+     * Returns the support of the given action, or all actions if no action is
+     * given.
+     * @param {String} [action]
+     */

-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
+  }, {
+    key: "defaultText",

-/**
- * Internal dependencies
- */
+    /**
+     * Default `text` lookup function.
+     * @param {Element} trigger
+     */
+    value: function defaultText(trigger) {
+      return getAttributeValue('text', trigger);
+    }
+    /**
+     * Destroy lifecycle.
+     */

+  }, {
+    key: "destroy",
+    value: function destroy() {
+      this.listener.destroy();

-/**
- * A Higher Order Component used to be provide a unique instance ID by
- * component.
- */
+      if (this.clipboardAction) {
+        this.clipboardAction.destroy();
+        this.clipboardAction = null;
+      }
+    }
+  }], [{
+    key: "isSupported",
+    value: function isSupported() {
+      var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
+      var actions = typeof action === 'string' ? [action] : action;
+      var support = !!document.queryCommandSupported;
+      actions.forEach(function (action) {
+        support = support && !!document.queryCommandSupported(action);
+      });
+      return support;
+    }
+  }]);

-const withInstanceId = create_higher_order_component(WrappedComponent => {
-  return props => {
-    const instanceId = useInstanceId(WrappedComponent);
-    return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, {
-      instanceId: instanceId
-    }));
-  };
-}, 'withInstanceId');
-/* harmony default export */ var with_instance_id = (withInstanceId);
+  return Clipboard;
+}((tiny_emitter_default()));

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-safe-timeout/index.js
+/* harmony default export */ var clipboard = (Clipboard);

+/***/ }),

-/**
- * External dependencies
- */
- // eslint-disable-next-line no-restricted-imports
+/***/ 828:
+/***/ (function(module) {

-/**
- * WordPress dependencies
- */
+var DOCUMENT_NODE_TYPE = 9;

 /**
- * Internal dependencies
+ * A polyfill for Element.matches()
  */
+if (typeof Element !== 'undefined' && !Element.prototype.matches) {
+    var proto = Element.prototype;

-
+    proto.matches = proto.matchesSelector ||
+                    proto.mozMatchesSelector ||
+                    proto.msMatchesSelector ||
+                    proto.oMatchesSelector ||
+                    proto.webkitMatchesSelector;
+}

 /**
- * A higher-order component used to provide and manage delayed function calls
- * that ought to be bound to a component's lifecycle.
+ * Finds the closest parent that matches a selector.
+ *
+ * @param {Element} element
+ * @param {String} selector
+ * @return {Function}
  */
-const withSafeTimeout = create_higher_order_component(OriginalComponent => {
-  return class WrappedComponent extends external_wp_element_["Component"] {
-    constructor(props) {
-      super(props);
-      this.timeouts = [];
-      this.setTimeout = this.setTimeout.bind(this);
-      this.clearTimeout = this.clearTimeout.bind(this);
-    }
-
-    componentWillUnmount() {
-      this.timeouts.forEach(clearTimeout);
-    }
-
-    setTimeout(fn, delay) {
-      const id = setTimeout(() => {
-        fn();
-        this.clearTimeout(id);
-      }, delay);
-      this.timeouts.push(id);
-      return id;
-    }
-
-    clearTimeout(id) {
-      clearTimeout(id);
-      this.timeouts = Object(external_lodash_["without"])(this.timeouts, id);
+function closest (element, selector) {
+    while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {
+        if (typeof element.matches === 'function' &&
+            element.matches(selector)) {
+          return element;
+        }
+        element = element.parentNode;
     }
+}

-    render() {
-      const props = { ...this.props,
-        setTimeout: this.setTimeout,
-        clearTimeout: this.clearTimeout
-      };
-      return Object(external_wp_element_["createElement"])(OriginalComponent, props);
-    }
+module.exports = closest;

-  };
-}, 'withSafeTimeout');
-/* harmony default export */ var with_safe_timeout = (withSafeTimeout);

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-state/index.js
+/***/ }),

+/***/ 438:
+/***/ (function(module, __unused_webpack_exports, __nested_webpack_require_17417__) {

+var closest = __nested_webpack_require_17417__(828);

 /**
- * WordPress dependencies
+ * Delegates event to a selector.
+ *
+ * @param {Element} element
+ * @param {String} selector
+ * @param {String} type
+ * @param {Function} callback
+ * @param {Boolean} useCapture
+ * @return {Object}
  */
+function _delegate(element, selector, type, callback, useCapture) {
+    var listenerFn = listener.apply(this, arguments);

+    element.addEventListener(type, listenerFn, useCapture);

-/**
- * Internal dependencies
- */
-
+    return {
+        destroy: function() {
+            element.removeEventListener(type, listenerFn, useCapture);
+        }
+    }
+}

 /**
- * A Higher Order Component used to provide and manage internal component state
- * via props.
- *
- * @deprecated Use `useState` instead.
- *
- * @param {any} initialState Optional initial state of the component.
+ * Delegates event to a selector.
  *
- * @return {any} A higher order component wrapper accepting a component that takes the state props + its own props + `setState` and returning a component that only accepts the own props.
+ * @param {Element|String|Array} [elements]
+ * @param {String} selector
+ * @param {String} type
+ * @param {Function} callback
+ * @param {Boolean} useCapture
+ * @return {Object}
  */
+function delegate(elements, selector, type, callback, useCapture) {
+    // Handle the regular Element usage
+    if (typeof elements.addEventListener === 'function') {
+        return _delegate.apply(null, arguments);
+    }

-function withState() {
-  let initialState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  external_wp_deprecated_default()('wp.compose.withState', {
-    alternative: 'wp.element.useState'
-  });
-  return create_higher_order_component(OriginalComponent => {
-    return class WrappedComponent extends external_wp_element_["Component"] {
-      constructor(
-      /** @type {any} */
-      props) {
-        super(props);
-        this.setState = this.setState.bind(this);
-        this.state = initialState;
-      }
+    // Handle Element-less usage, it defaults to global delegation
+    if (typeof type === 'function') {
+        // Use `document` as the first parameter, then apply arguments
+        // This is a short way to .unshift `arguments` without running into deoptimizations
+        return _delegate.bind(null, document).apply(null, arguments);
+    }

-      render() {
-        return Object(external_wp_element_["createElement"])(OriginalComponent, Object(esm_extends["a" /* default */])({}, this.props, this.state, {
-          setState: this.setState
-        }));
-      }
+    // Handle Selector-based usage
+    if (typeof elements === 'string') {
+        elements = document.querySelectorAll(elements);
+    }

-    };
-  }, 'withState');
+    // Handle Array-like based usage
+    return Array.prototype.map.call(elements, function (element) {
+        return _delegate(element, selector, type, callback, useCapture);
+    });
 }

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
-
-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js
-/**
- * External dependencies
- */
-// eslint-disable-next-line no-restricted-imports
-
-/**
- * WordPress dependencies
- */
-
 /**
- * Effect-like ref callback. Just like with `useEffect`, this allows you to
- * return a cleanup function to be run if the ref changes or one of the
- * dependencies changes. The ref is provided as an argument to the callback
- * functions. The main difference between this and `useEffect` is that
- * the `useEffect` callback is not called when the ref changes, but this is.
- * Pass the returned ref callback as the component's ref and merge multiple refs
- * with `useMergeRefs`.
- *
- * It's worth noting that if the dependencies array is empty, there's not
- * strictly a need to clean up event handlers for example, because the node is
- * to be removed. It *is* necessary if you add dependencies because the ref
- * callback will be called multiple times for the same node.
- *
- * @param  callback     Callback with ref as argument.
- * @param  dependencies Dependencies of the callback.
+ * Finds closest match and invokes callback.
  *
- * @return Ref callback.
+ * @param {Element} element
+ * @param {String} selector
+ * @param {String} type
+ * @param {Function} callback
+ * @return {Function}
  */
+function listener(element, selector, type, callback) {
+    return function(e) {
+        e.delegateTarget = closest(e.target, selector);

-function useRefEffect(callback, dependencies) {
-  const cleanup = Object(external_wp_element_["useRef"])();
-  return Object(external_wp_element_["useCallback"])(node => {
-    if (node) {
-      cleanup.current = callback(node);
-    } else if (cleanup.current) {
-      cleanup.current();
+        if (e.delegateTarget) {
+            callback.call(element, e);
+        }
     }
-  }, dependencies);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-constrained-tabbing/index.js
+module.exports = delegate;
+
+
+/***/ }),
+
+/***/ 879:
+/***/ (function(__unused_webpack_module, exports) {
+
 /**
- * WordPress dependencies
+ * Check if argument is a HTML element.
+ *
+ * @param {Object} value
+ * @return {Boolean}
  */
-
+exports.node = function(value) {
+    return value !== undefined
+        && value instanceof HTMLElement
+        && value.nodeType === 1;
+};

 /**
- * Internal dependencies
+ * Check if argument is a list of HTML elements.
+ *
+ * @param {Object} value
+ * @return {Boolean}
  */
+exports.nodeList = function(value) {
+    var type = Object.prototype.toString.call(value);

+    return value !== undefined
+        && (type === '[object NodeList]' || type === '[object HTMLCollection]')
+        && ('length' in value)
+        && (value.length === 0 || exports.node(value[0]));
+};

 /**
- * In Dialogs/modals, the tabbing must be constrained to the content of
- * the wrapper element. This hook adds the behavior to the returned ref.
- *
- * @return {import('react').RefCallback<Element>} Element Ref.
- *
- * @example
- * ```js
- * import { useConstrainedTabbing } from '@wordpress/compose';
+ * Check if argument is a string.
  *
- * const ConstrainedTabbingExample = () => {
- *     const constrainedTabbingRef = useConstrainedTabbing()
- *     return (
- *         <div ref={ constrainedTabbingRef }>
- *             <Button />
- *             <Button />
- *         </div>
- *     );
- * }
- * ```
+ * @param {Object} value
+ * @return {Boolean}
  */
+exports.string = function(value) {
+    return typeof value === 'string'
+        || value instanceof String;
+};

-function useConstrainedTabbing() {
-  return useRefEffect((
-  /** @type {HTMLElement} */
-  node) => {
-    /** @type {number|undefined} */
-    let timeoutId;
+/**
+ * Check if argument is a function.
+ *
+ * @param {Object} value
+ * @return {Boolean}
+ */
+exports.fn = function(value) {
+    var type = Object.prototype.toString.call(value);

-    function onKeyDown(
-    /** @type {KeyboardEvent} */
-    event) {
-      const {
-        keyCode,
-        shiftKey,
-        target
-      } = event;
+    return type === '[object Function]';
+};

-      if (keyCode !== external_wp_keycodes_["TAB"]) {
-        return;
-      }

-      const action = shiftKey ? 'findPrevious' : 'findNext';
-      const nextElement = external_wp_dom_["focus"].tabbable[action](
-      /** @type {HTMLElement} */
-      target) || null; // If the element that is about to receive focus is outside the
-      // area, move focus to a div and insert it at the start or end of
-      // the area, depending on the direction. Without preventing default
-      // behaviour, the browser will then move focus to the next element.
+/***/ }),

-      if (node.contains(nextElement)) {
-        return;
-      }
+/***/ 370:
+/***/ (function(module, __unused_webpack_exports, __nested_webpack_require_20781__) {

-      const domAction = shiftKey ? 'append' : 'prepend';
-      const {
-        ownerDocument
-      } = node;
-      const trap = ownerDocument.createElement('div');
-      trap.tabIndex = -1;
-      node[domAction](trap);
-      trap.focus(); // Remove after the browser moves focus to the next element.
+var is = __nested_webpack_require_20781__(879);
+var delegate = __nested_webpack_require_20781__(438);

-      timeoutId = setTimeout(() => node.removeChild(trap));
+/**
+ * Validates all params and calls the right
+ * listener function based on its target type.
+ *
+ * @param {String|HTMLElement|HTMLCollection|NodeList} target
+ * @param {String} type
+ * @param {Function} callback
+ * @return {Object}
+ */
+function listen(target, type, callback) {
+    if (!target && !type && !callback) {
+        throw new Error('Missing required arguments');
     }

-    node.addEventListener('keydown', onKeyDown);
-    return () => {
-      node.removeEventListener('keydown', onKeyDown);
-      clearTimeout(timeoutId);
-    };
-  }, []);
-}
+    if (!is.string(type)) {
+        throw new TypeError('Second argument must be a String');
+    }

-/* harmony default export */ var use_constrained_tabbing = (useConstrainedTabbing);
+    if (!is.fn(callback)) {
+        throw new TypeError('Third argument must be a Function');
+    }

-// EXTERNAL MODULE: ./node_modules/clipboard/dist/clipboard.js
-var dist_clipboard = __webpack_require__("sxGJ");
-var clipboard_default = /*#__PURE__*/__webpack_require__.n(dist_clipboard);
+    if (is.node(target)) {
+        return listenNode(target, type, callback);
+    }
+    else if (is.nodeList(target)) {
+        return listenNodeList(target, type, callback);
+    }
+    else if (is.string(target)) {
+        return listenSelector(target, type, callback);
+    }
+    else {
+        throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');
+    }
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-copy-on-click/index.js
 /**
- * External dependencies
+ * Adds an event listener to a HTML element
+ * and returns a remove listener function.
+ *
+ * @param {HTMLElement} node
+ * @param {String} type
+ * @param {Function} callback
+ * @return {Object}
  */
+function listenNode(node, type, callback) {
+    node.addEventListener(type, callback);
+
+    return {
+        destroy: function() {
+            node.removeEventListener(type, callback);
+        }
+    }
+}

 /**
- * WordPress dependencies
+ * Add an event listener to a list of HTML elements
+ * and returns a remove listener function.
+ *
+ * @param {NodeList|HTMLCollection} nodeList
+ * @param {String} type
+ * @param {Function} callback
+ * @return {Object}
  */
+function listenNodeList(nodeList, type, callback) {
+    Array.prototype.forEach.call(nodeList, function(node) {
+        node.addEventListener(type, callback);
+    });

-
-
-/* eslint-disable jsdoc/no-undefined-types */
+    return {
+        destroy: function() {
+            Array.prototype.forEach.call(nodeList, function(node) {
+                node.removeEventListener(type, callback);
+            });
+        }
+    }
+}

 /**
- * Copies the text to the clipboard when the element is clicked.
- *
- * @deprecated
- *
- * @param {import('react').RefObject<string | Element | NodeListOf<Element>>} ref       Reference with the element.
- * @param {string|Function}                                                   text      The text to copy.
- * @param {number}                                                            [timeout] Optional timeout to reset the returned
- *                                                                                      state. 4 seconds by default.
+ * Add an event listener to a selector
+ * and returns a remove listener function.
  *
- * @return {boolean} Whether or not the text has been copied. Resets after the
- *                   timeout.
+ * @param {String} selector
+ * @param {String} type
+ * @param {Function} callback
+ * @return {Object}
  */
+function listenSelector(selector, type, callback) {
+    return delegate(document.body, selector, type, callback);
+}

-function useCopyOnClick(ref, text) {
-  let timeout = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 4000;
-
-  /* eslint-enable jsdoc/no-undefined-types */
-  external_wp_deprecated_default()('wp.compose.useCopyOnClick', {
-    since: '10.3',
-    plugin: 'Gutenberg',
-    alternative: 'wp.compose.useCopyToClipboard'
-  });
-  /** @type {import('react').MutableRefObject<Clipboard | undefined>} */
+module.exports = listen;

-  const clipboard = Object(external_wp_element_["useRef"])();
-  const [hasCopied, setHasCopied] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    /** @type {number | undefined} */
-    let timeoutId;

-    if (!ref.current) {
-      return;
-    } // Clipboard listens to click events.
+/***/ }),

+/***/ 817:
+/***/ (function(module) {

-    clipboard.current = new clipboard_default.a(ref.current, {
-      text: () => typeof text === 'function' ? text() : text
-    });
-    clipboard.current.on('success', _ref => {
-      let {
-        clearSelection,
-        trigger
-      } = _ref;
-      // Clearing selection will move focus back to the triggering button,
-      // ensuring that it is not reset to the body, and further that it is
-      // kept within the rendered node.
-      clearSelection(); // Handle ClipboardJS focus bug, see https://github.com/zenorocha/clipboard.js/issues/680
+function select(element) {
+    var selectedText;

-      if (trigger) {
-        /** @type {HTMLElement} */
-        trigger.focus();
-      }
+    if (element.nodeName === 'SELECT') {
+        element.focus();

-      if (timeout) {
-        setHasCopied(true);
-        clearTimeout(timeoutId);
-        timeoutId = setTimeout(() => setHasCopied(false), timeout);
-      }
-    });
-    return () => {
-      if (clipboard.current) {
-        clipboard.current.destroy();
-      }
+        selectedText = element.value;
+    }
+    else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {
+        var isReadOnly = element.hasAttribute('readonly');

-      clearTimeout(timeoutId);
-    };
-  }, [text, timeout, setHasCopied]);
-  return hasCopied;
-}
+        if (!isReadOnly) {
+            element.setAttribute('readonly', '');
+        }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-copy-to-clipboard/index.js
-/**
- * External dependencies
- */
+        element.select();
+        element.setSelectionRange(0, element.value.length);

-/**
- * WordPress dependencies
- */
+        if (!isReadOnly) {
+            element.removeAttribute('readonly');
+        }

+        selectedText = element.value;
+    }
+    else {
+        if (element.hasAttribute('contenteditable')) {
+            element.focus();
+        }

-/**
- * Internal dependencies
- */
+        var selection = window.getSelection();
+        var range = document.createRange();

+        range.selectNodeContents(element);
+        selection.removeAllRanges();
+        selection.addRange(range);

-/**
- * @template T
- * @param {T} value
- * @return {import('react').RefObject<T>} The updated ref
- */
+        selectedText = selection.toString();
+    }

-function useUpdatedRef(value) {
-  const ref = Object(external_wp_element_["useRef"])(value);
-  ref.current = value;
-  return ref;
+    return selectedText;
 }
-/**
- * Copies the given text to the clipboard when the element is clicked.
- *
- * @template {HTMLElement} TElementType
- * @param {string | (() => string)} text      The text to copy. Use a function if not
- *                                            already available and expensive to compute.
- * @param {Function}                onSuccess Called when to text is copied.
- *
- * @return {import('react').Ref<TElementType>} A ref to assign to the target element.
- */

+module.exports = select;

-function useCopyToClipboard(text, onSuccess) {
-  // Store the dependencies as refs and continuesly update them so they're
-  // fresh when the callback is called.
-  const textRef = useUpdatedRef(text);
-  const onSuccessRef = useUpdatedRef(onSuccess);
-  return useRefEffect(node => {
-    // Clipboard listens to click events.
-    const clipboard = new clipboard_default.a(node, {
-      text() {
-        return typeof textRef.current === 'function' ? textRef.current() : textRef.current || '';
-      }

-    });
-    clipboard.on('success', _ref => {
-      let {
-        clearSelection
-      } = _ref;
-      // Clearing selection will move focus back to the triggering
-      // button, ensuring that it is not reset to the body, and
-      // further that it is kept within the rendered node.
-      clearSelection(); // Handle ClipboardJS focus bug, see
-      // https://github.com/zenorocha/clipboard.js/issues/680
+/***/ }),

-      node.focus();
+/***/ 279:
+/***/ (function(module) {

-      if (onSuccessRef.current) {
-        onSuccessRef.current();
-      }
-    });
-    return () => {
-      clipboard.destroy();
-    };
-  }, []);
+function E () {
+  // Keep this empty so it's easier to inherit from
+  // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-on-mount/index.js
-/**
- * WordPress dependencies
- */
+E.prototype = {
+  on: function (name, callback, ctx) {
+    var e = this.e || (this.e = {});
+
+    (e[name] || (e[name] = [])).push({
+      fn: callback,
+      ctx: ctx
+    });

+    return this;
+  },

-/**
- * Hook used to focus the first tabbable element on mount.
- *
- * @param {boolean | 'firstElement'} focusOnMount Focus on mount mode.
- * @return {import('react').RefCallback<HTMLElement>} Ref callback.
- *
- * @example
- * ```js
- * import { useFocusOnMount } from '@wordpress/compose';
- *
- * const WithFocusOnMount = () => {
- *     const ref = useFocusOnMount()
- *     return (
- *         <div ref={ ref }>
- *             <Button />
- *             <Button />
- *         </div>
- *     );
- * }
- * ```
- */
+  once: function (name, callback, ctx) {
+    var self = this;
+    function listener () {
+      self.off(name, listener);
+      callback.apply(ctx, arguments);
+    };

-function useFocusOnMount() {
-  let focusOnMount = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'firstElement';
-  const focusOnMountRef = Object(external_wp_element_["useRef"])(focusOnMount);
-  Object(external_wp_element_["useEffect"])(() => {
-    focusOnMountRef.current = focusOnMount;
-  }, [focusOnMount]);
-  return Object(external_wp_element_["useCallback"])(node => {
-    var _node$ownerDocument$a, _node$ownerDocument;
+    listener._ = callback
+    return this.on(name, listener, ctx);
+  },

-    if (!node || focusOnMountRef.current === false) {
-      return;
-    }
+  emit: function (name) {
+    var data = [].slice.call(arguments, 1);
+    var evtArr = ((this.e || (this.e = {}))[name] || []).slice();
+    var i = 0;
+    var len = evtArr.length;

-    if (node.contains((_node$ownerDocument$a = (_node$ownerDocument = node.ownerDocument) === null || _node$ownerDocument === void 0 ? void 0 : _node$ownerDocument.activeElement) !== null && _node$ownerDocument$a !== void 0 ? _node$ownerDocument$a : null)) {
-      return;
+    for (i; i < len; i++) {
+      evtArr[i].fn.apply(evtArr[i].ctx, data);
     }

-    let target = node;
+    return this;
+  },

-    if (focusOnMountRef.current === 'firstElement') {
-      const firstTabbable = external_wp_dom_["focus"].tabbable.find(node)[0];
+  off: function (name, callback) {
+    var e = this.e || (this.e = {});
+    var evts = e[name];
+    var liveEvents = [];

-      if (firstTabbable) {
-        target =
-        /** @type {HTMLElement} */
-        firstTabbable;
-      }
-    }
-
-    target.focus();
-  }, []);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-return/index.js
-/**
- * WordPress dependencies
- */
-
-/**
- * When opening modals/sidebars/dialogs, the focus
- * must move to the opened area and return to the
- * previously focused element when closed.
- * The current hook implements the returning behavior.
- *
- * @param {() => void} [onFocusReturn] Overrides the default return behavior.
- * @return {import('react').RefCallback<HTMLElement>} Element Ref.
- *
- * @example
- * ```js
- * import { useFocusReturn } from '@wordpress/compose';
- *
- * const WithFocusReturn = () => {
- *     const ref = useFocusReturn()
- *     return (
- *         <div ref={ ref }>
- *             <Button />
- *             <Button />
- *         </div>
- *     );
- * }
- * ```
- */
-
-function useFocusReturn(onFocusReturn) {
-  /** @type {import('react').MutableRefObject<null | HTMLElement>} */
-  const ref = Object(external_wp_element_["useRef"])(null);
-  /** @type {import('react').MutableRefObject<null | Element>} */
-
-  const focusedBeforeMount = Object(external_wp_element_["useRef"])(null);
-  const onFocusReturnRef = Object(external_wp_element_["useRef"])(onFocusReturn);
-  Object(external_wp_element_["useEffect"])(() => {
-    onFocusReturnRef.current = onFocusReturn;
-  }, [onFocusReturn]);
-  return Object(external_wp_element_["useCallback"])(node => {
-    if (node) {
-      // Set ref to be used when unmounting.
-      ref.current = node; // Only set when the node mounts.
-
-      if (focusedBeforeMount.current) {
-        return;
+    if (evts && callback) {
+      for (var i = 0, len = evts.length; i < len; i++) {
+        if (evts[i].fn !== callback && evts[i].fn._ !== callback)
+          liveEvents.push(evts[i]);
       }
+    }

-      focusedBeforeMount.current = node.ownerDocument.activeElement;
-    } else if (focusedBeforeMount.current) {
-      var _ref$current, _ref$current2, _ref$current3;
-
-      const isFocused = (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.contains((_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.ownerDocument.activeElement);
+    // Remove event from queue to prevent memory leak
+    // Suggested by https://github.com/lazd
+    // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910

-      if ((_ref$current3 = ref.current) !== null && _ref$current3 !== void 0 && _ref$current3.isConnected && !isFocused) {
-        return;
-      } // Defer to the component's own explicit focus return behavior, if
-      // specified. This allows for support that the `onFocusReturn`
-      // decides to allow the default behavior to occur under some
-      // conditions.
+    (liveEvents.length)
+      ? e[name] = liveEvents
+      : delete e[name];

+    return this;
+  }
+};

-      if (onFocusReturnRef.current) {
-        onFocusReturnRef.current();
-      } else {
-        var _focusedBeforeMount$c;
+module.exports = E;
+module.exports.TinyEmitter = E;

-        /** @type {null | HTMLElement} */
-        (_focusedBeforeMount$c = focusedBeforeMount.current) === null || _focusedBeforeMount$c === void 0 ? void 0 : _focusedBeforeMount$c.focus();
-      }
-    }
-  }, []);
-}

-/* harmony default export */ var use_focus_return = (useFocusReturn);
+/***/ })

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-outside/index.js
-/**
- * External dependencies
- */
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __nested_webpack_require_26163__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		if(__webpack_module_cache__[moduleId]) {
+/******/ 			return __webpack_module_cache__[moduleId].exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_26163__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__nested_webpack_require_26163__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__nested_webpack_require_26163__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__nested_webpack_require_26163__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__nested_webpack_require_26163__.o(definition, key) && !__nested_webpack_require_26163__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__nested_webpack_require_26163__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/************************************************************************/
+/******/ 	// module exports must be returned from runtime so entry inlining is disabled
+/******/ 	// startup
+/******/ 	// Load entry module and return exports
+/******/ 	return __nested_webpack_require_26163__(134);
+/******/ })()
+.default;
+});

-/**
- * WordPress dependencies
- */
+/***/ }),

+/***/ 7973:
+/***/ (function(module, exports, __webpack_require__) {

+var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */
 /**
- * Input types which are classified as button types, for use in considering
- * whether element is a (focus-normalized) button.
+ * Copyright 2012-2017 Craig Campbell
  *
- * @type {string[]}
- */
-
-const INPUT_BUTTON_TYPES = ['button', 'submit'];
-/**
- * @typedef {HTMLButtonElement | HTMLLinkElement | HTMLInputElement} FocusNormalizedButton
- */
-// Disable reason: Rule doesn't support predicate return types
-
-/* eslint-disable jsdoc/valid-types */
-
-/**
- * Returns true if the given element is a button element subject to focus
- * normalization, or false otherwise.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
  *
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
- * @param {EventTarget} eventTarget The target from a mouse or touch event.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
- * @return {eventTarget is FocusNormalizedButton} Whether element is a button.
- */
-
-function isFocusNormalizedButton(eventTarget) {
-  if (!(eventTarget instanceof window.HTMLElement)) {
-    return false;
-  }
-
-  switch (eventTarget.nodeName) {
-    case 'A':
-    case 'BUTTON':
-      return true;
-
-    case 'INPUT':
-      return Object(external_lodash_["includes"])(INPUT_BUTTON_TYPES,
-      /** @type {HTMLInputElement} */
-      eventTarget.type);
-  }
-
-  return false;
-}
-/* eslint-enable jsdoc/valid-types */
-
-/**
- * @typedef {import('react').SyntheticEvent} SyntheticEvent
+ * Mousetrap is a simple keyboard shortcut library for Javascript with
+ * no external dependencies
+ *
+ * @version 1.6.5
+ * @url craig.is/killing/mice
  */
+(function(window, document, undefined) {

-/**
- * @callback EventCallback
- * @param {SyntheticEvent} event input related event.
- */
+    // Check if mousetrap is used inside browser, if not, return
+    if (!window) {
+        return;
+    }

-/**
- * @typedef FocusOutsideReactElement
- * @property {EventCallback} handleFocusOutside callback for a focus outside event.
- */
+    /**
+     * mapping of special keycodes to their corresponding keys
+     *
+     * everything in this dictionary cannot use keypress events
+     * so it has to be here to map to the correct keycodes for
+     * keyup/keydown events
+     *
+     * @type {Object}
+     */
+    var _MAP = {
+        8: 'backspace',
+        9: 'tab',
+        13: 'enter',
+        16: 'shift',
+        17: 'ctrl',
+        18: 'alt',
+        20: 'capslock',
+        27: 'esc',
+        32: 'space',
+        33: 'pageup',
+        34: 'pagedown',
+        35: 'end',
+        36: 'home',
+        37: 'left',
+        38: 'up',
+        39: 'right',
+        40: 'down',
+        45: 'ins',
+        46: 'del',
+        91: 'meta',
+        93: 'meta',
+        224: 'meta'
+    };

-/**
- * @typedef {import('react').MutableRefObject<FocusOutsideReactElement | undefined>} FocusOutsideRef
- */
+    /**
+     * mapping for special characters so they can support
+     *
+     * this dictionary is only used incase you want to bind a
+     * keyup or keydown event to one of these keys
+     *
+     * @type {Object}
+     */
+    var _KEYCODE_MAP = {
+        106: '*',
+        107: '+',
+        109: '-',
+        110: '.',
+        111 : '/',
+        186: ';',
+        187: '=',
+        188: ',',
+        189: '-',
+        190: '.',
+        191: '/',
+        192: '`',
+        219: '[',
+        220: '\\',
+        221: ']',
+        222: '\''
+    };

-/**
- * @typedef {Object} FocusOutsideReturnValue
- * @property {EventCallback} onFocus      An event handler for focus events.
- * @property {EventCallback} onBlur       An event handler for blur events.
- * @property {EventCallback} onMouseDown  An event handler for mouse down events.
- * @property {EventCallback} onMouseUp    An event handler for mouse up events.
- * @property {EventCallback} onTouchStart An event handler for touch start events.
- * @property {EventCallback} onTouchEnd   An event handler for touch end events.
- */
+    /**
+     * this is a mapping of keys that require shift on a US keypad
+     * back to the non shift equivelents
+     *
+     * this is so you can use keyup events with these keys
+     *
+     * note that this will only work reliably on US keyboards
+     *
+     * @type {Object}
+     */
+    var _SHIFT_MAP = {
+        '~': '`',
+        '!': '1',
+        '@': '2',
+        '#': '3',
+        '$': '4',
+        '%': '5',
+        '^': '6',
+        '&': '7',
+        '*': '8',
+        '(': '9',
+        ')': '0',
+        '_': '-',
+        '+': '=',
+        ':': ';',
+        '\"': '\'',
+        '<': ',',
+        '>': '.',
+        '?': '/',
+        '|': '\\'
+    };

-/**
- * A react hook that can be used to check whether focus has moved outside the
- * element the event handlers are bound to.
- *
- * @param {EventCallback} onFocusOutside A callback triggered when focus moves outside
- *                                       the element the event handlers are bound to.
- *
- * @return {FocusOutsideReturnValue} An object containing event handlers. Bind the event handlers
- *                                   to a wrapping element element to capture when focus moves
- *                                   outside that element.
- */
+    /**
+     * this is a list of special strings you can use to map
+     * to modifier keys when you specify your keyboard shortcuts
+     *
+     * @type {Object}
+     */
+    var _SPECIAL_ALIASES = {
+        'option': 'alt',
+        'command': 'meta',
+        'return': 'enter',
+        'escape': 'esc',
+        'plus': '+',
+        'mod': /Mac|iPod|iPhone|iPad/.test(navigator.platform) ? 'meta' : 'ctrl'
+    };

+    /**
+     * variable to store the flipped version of _MAP from above
+     * needed to check if we should use keypress or not when no action
+     * is specified
+     *
+     * @type {Object|undefined}
+     */
+    var _REVERSE_MAP;

-function useFocusOutside(onFocusOutside) {
-  const currentOnFocusOutside = Object(external_wp_element_["useRef"])(onFocusOutside);
-  Object(external_wp_element_["useEffect"])(() => {
-    currentOnFocusOutside.current = onFocusOutside;
-  }, [onFocusOutside]);
-  const preventBlurCheck = Object(external_wp_element_["useRef"])(false);
-  /**
-   * @type {import('react').MutableRefObject<number | undefined>}
-   */
+    /**
+     * loop through the f keys, f1 to f19 and add them to the map
+     * programatically
+     */
+    for (var i = 1; i < 20; ++i) {
+        _MAP[111 + i] = 'f' + i;
+    }

-  const blurCheckTimeoutId = Object(external_wp_element_["useRef"])();
-  /**
-   * Cancel a blur check timeout.
-   */
+    /**
+     * loop through to map numbers on the numeric keypad
+     */
+    for (i = 0; i <= 9; ++i) {

-  const cancelBlurCheck = Object(external_wp_element_["useCallback"])(() => {
-    clearTimeout(blurCheckTimeoutId.current);
-  }, []); // Cancel blur checks on unmount.
+        // This needs to use a string cause otherwise since 0 is falsey
+        // mousetrap will never fire for numpad 0 pressed as part of a keydown
+        // event.
+        //
+        // @see https://github.com/ccampbell/mousetrap/pull/258
+        _MAP[i + 96] = i.toString();
+    }

-  Object(external_wp_element_["useEffect"])(() => {
-    return () => cancelBlurCheck();
-  }, []); // Cancel a blur check if the callback or ref is no longer provided.
+    /**
+     * cross browser add event method
+     *
+     * @param {Element|HTMLDocument} object
+     * @param {string} type
+     * @param {Function} callback
+     * @returns void
+     */
+    function _addEvent(object, type, callback) {
+        if (object.addEventListener) {
+            object.addEventListener(type, callback, false);
+            return;
+        }

-  Object(external_wp_element_["useEffect"])(() => {
-    if (!onFocusOutside) {
-      cancelBlurCheck();
+        object.attachEvent('on' + type, callback);
     }
-  }, [onFocusOutside, cancelBlurCheck]);
-  /**
-   * Handles a mousedown or mouseup event to respectively assign and
-   * unassign a flag for preventing blur check on button elements. Some
-   * browsers, namely Firefox and Safari, do not emit a focus event on
-   * button elements when clicked, while others do. The logic here
-   * intends to normalize this as treating click on buttons as focus.
-   *
-   * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
-   *
-   * @param {SyntheticEvent} event Event for mousedown or mouseup.
-   */

-  const normalizeButtonFocus = Object(external_wp_element_["useCallback"])(event => {
-    const {
-      type,
-      target
-    } = event;
-    const isInteractionEnd = Object(external_lodash_["includes"])(['mouseup', 'touchend'], type);
+    /**
+     * takes the event and returns the key character
+     *
+     * @param {Event} e
+     * @return {string}
+     */
+    function _characterFromEvent(e) {

-    if (isInteractionEnd) {
-      preventBlurCheck.current = false;
-    } else if (isFocusNormalizedButton(target)) {
-      preventBlurCheck.current = true;
-    }
-  }, []);
-  /**
-   * A callback triggered when a blur event occurs on the element the handler
-   * is bound to.
-   *
-   * Calls the `onFocusOutside` callback in an immediate timeout if focus has
-   * move outside the bound element and is still within the document.
-   *
-   * @param {SyntheticEvent} event Blur event.
-   */
+        // for keypress events we should return the character as is
+        if (e.type == 'keypress') {
+            var character = String.fromCharCode(e.which);

-  const queueBlurCheck = Object(external_wp_element_["useCallback"])(event => {
-    // React does not allow using an event reference asynchronously
-    // due to recycling behavior, except when explicitly persisted.
-    event.persist(); // Skip blur check if clicking button. See `normalizeButtonFocus`.
+            // if the shift key is not pressed then it is safe to assume
+            // that we want the character to be lowercase.  this means if
+            // you accidentally have caps lock on then your key bindings
+            // will continue to work
+            //
+            // the only side effect that might not be desired is if you
+            // bind something like 'A' cause you want to trigger an
+            // event when capital A is pressed caps lock will no longer
+            // trigger the event.  shift+a will though.
+            if (!e.shiftKey) {
+                character = character.toLowerCase();
+            }

-    if (preventBlurCheck.current) {
-      return;
-    }
+            return character;
+        }

-    blurCheckTimeoutId.current = setTimeout(() => {
-      // If document is not focused then focus should remain
-      // inside the wrapped component and therefore we cancel
-      // this blur event thereby leaving focus in place.
-      // https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus.
-      if (!document.hasFocus()) {
-        event.preventDefault();
-        return;
-      }
+        // for non keypress events the special maps are needed
+        if (_MAP[e.which]) {
+            return _MAP[e.which];
+        }

-      if ('function' === typeof currentOnFocusOutside.current) {
-        currentOnFocusOutside.current(event);
-      }
-    }, 0);
-  }, []);
-  return {
-    onFocus: cancelBlurCheck,
-    onMouseDown: normalizeButtonFocus,
-    onMouseUp: normalizeButtonFocus,
-    onTouchStart: normalizeButtonFocus,
-    onTouchEnd: normalizeButtonFocus,
-    onBlur: queueBlurCheck
-  };
-}
+        if (_KEYCODE_MAP[e.which]) {
+            return _KEYCODE_MAP[e.which];
+        }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-merge-refs/index.js
-/**
- * WordPress dependencies
- */
+        // if it is not in the special map

-/* eslint-disable jsdoc/valid-types */
+        // with keydown and keyup events the character seems to always
+        // come in as an uppercase character whether you are pressing shift
+        // or not.  we should make sure it is always lowercase for comparisons
+        return String.fromCharCode(e.which).toLowerCase();
+    }

-/**
- * @template T
- * @typedef {T extends import('react').Ref<infer R> ? R : never} TypeFromRef
- */
+    /**
+     * checks if two arrays are equal
+     *
+     * @param {Array} modifiers1
+     * @param {Array} modifiers2
+     * @returns {boolean}
+     */
+    function _modifiersMatch(modifiers1, modifiers2) {
+        return modifiers1.sort().join(',') === modifiers2.sort().join(',');
+    }

-/* eslint-enable jsdoc/valid-types */
+    /**
+     * takes a key event and figures out what the modifiers are
+     *
+     * @param {Event} e
+     * @returns {Array}
+     */
+    function _eventModifiers(e) {
+        var modifiers = [];

-/**
- * @template T
- * @param {import('react').Ref<T>} ref
- * @param {T}                      value
- */
+        if (e.shiftKey) {
+            modifiers.push('shift');
+        }

-function assignRef(ref, value) {
-  if (typeof ref === 'function') {
-    ref(value);
-  } else if (ref && ref.hasOwnProperty('current')) {
-    /* eslint-disable jsdoc/no-undefined-types */
+        if (e.altKey) {
+            modifiers.push('alt');
+        }

-    /** @type {import('react').MutableRefObject<T>} */
-    ref.current = value;
-    /* eslint-enable jsdoc/no-undefined-types */
-  }
-}
-/**
- * Merges refs into one ref callback.
- *
- * It also ensures that the merged ref callbacks are only called when they
- * change (as a result of a `useCallback` dependency update) OR when the ref
- * value changes, just as React does when passing a single ref callback to the
- * component.
- *
- * As expected, if you pass a new function on every render, the ref callback
- * will be called after every render.
- *
- * If you don't wish a ref callback to be called after every render, wrap it
- * with `useCallback( callback, dependencies )`. When a dependency changes, the
- * old ref callback will be called with `null` and the new ref callback will be
- * called with the same value.
- *
- * To make ref callbacks easier to use, you can also pass the result of
- * `useRefEffect`, which makes cleanup easier by allowing you to return a
- * cleanup function instead of handling `null`.
- *
- * It's also possible to _disable_ a ref (and its behaviour) by simply not
- * passing the ref.
- *
- * ```jsx
- * const ref = useRefEffect( ( node ) => {
- *   node.addEventListener( ... );
- *   return () => {
- *     node.removeEventListener( ... );
- *   };
- * }, [ ...dependencies ] );
- * const otherRef = useRef();
- * const mergedRefs useMergeRefs( [
- *   enabled && ref,
- *   otherRef,
- * ] );
- * return <div ref={ mergedRefs } />;
- * ```
- *
- * @template {import('react').Ref<any>} TRef
- * @param {Array<TRef>} refs The refs to be merged.
- *
- * @return {import('react').RefCallback<TypeFromRef<TRef>>} The merged ref callback.
- */
+        if (e.ctrlKey) {
+            modifiers.push('ctrl');
+        }

+        if (e.metaKey) {
+            modifiers.push('meta');
+        }
+
+        return modifiers;
+    }
+
+    /**
+     * prevents default for this event
+     *
+     * @param {Event} e
+     * @returns void
+     */
+    function _preventDefault(e) {
+        if (e.preventDefault) {
+            e.preventDefault();
+            return;
+        }

-function useMergeRefs(refs) {
-  const element = Object(external_wp_element_["useRef"])();
-  const didElementChange = Object(external_wp_element_["useRef"])(false);
-  /* eslint-disable jsdoc/no-undefined-types */
+        e.returnValue = false;
+    }

-  /** @type {import('react').MutableRefObject<TRef[]>} */
+    /**
+     * stops propogation for this event
+     *
+     * @param {Event} e
+     * @returns void
+     */
+    function _stopPropagation(e) {
+        if (e.stopPropagation) {
+            e.stopPropagation();
+            return;
+        }

-  /* eslint-enable jsdoc/no-undefined-types */
+        e.cancelBubble = true;
+    }

-  const previousRefs = Object(external_wp_element_["useRef"])([]);
-  const currentRefs = Object(external_wp_element_["useRef"])(refs); // Update on render before the ref callback is called, so the ref callback
-  // always has access to the current refs.
+    /**
+     * determines if the keycode specified is a modifier key or not
+     *
+     * @param {string} key
+     * @returns {boolean}
+     */
+    function _isModifier(key) {
+        return key == 'shift' || key == 'ctrl' || key == 'alt' || key == 'meta';
+    }

-  currentRefs.current = refs; // If any of the refs change, call the previous ref with `null` and the new
-  // ref with the node, except when the element changes in the same cycle, in
-  // which case the ref callbacks will already have been called.
+    /**
+     * reverses the map lookup so that we can look for specific keys
+     * to see what can and can't use keypress
+     *
+     * @return {Object}
+     */
+    function _getReverseMap() {
+        if (!_REVERSE_MAP) {
+            _REVERSE_MAP = {};
+            for (var key in _MAP) {

-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    if (didElementChange.current === false) {
-      refs.forEach((ref, index) => {
-        const previousRef = previousRefs.current[index];
+                // pull out the numeric keypad from here cause keypress should
+                // be able to detect the keys from the character
+                if (key > 95 && key < 112) {
+                    continue;
+                }

-        if (ref !== previousRef) {
-          assignRef(previousRef, null);
-          assignRef(ref, element.current);
+                if (_MAP.hasOwnProperty(key)) {
+                    _REVERSE_MAP[_MAP[key]] = key;
+                }
+            }
         }
-      });
+        return _REVERSE_MAP;
     }

-    previousRefs.current = refs;
-  }, refs); // No dependencies, must be reset after every render so ref callbacks are
-  // correctly called after a ref change.
+    /**
+     * picks the best action based on the key combination
+     *
+     * @param {string} key - character for key
+     * @param {Array} modifiers
+     * @param {string=} action passed in
+     */
+    function _pickBestAction(key, modifiers, action) {

-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    didElementChange.current = false;
-  }); // There should be no dependencies so that `callback` is only called when
-  // the node changes.
+        // if no action was picked in we should try to pick the one
+        // that we think would work best for this key
+        if (!action) {
+            action = _getReverseMap()[key] ? 'keydown' : 'keypress';
+        }

-  return Object(external_wp_element_["useCallback"])(value => {
-    // Update the element so it can be used when calling ref callbacks on a
-    // dependency change.
-    assignRef(element, value);
-    didElementChange.current = true; // When an element changes, the current ref callback should be called
-    // with the new element and the previous one with `null`.
+        // modifier keys don't work as expected with keypress,
+        // switch to keydown
+        if (action == 'keypress' && modifiers.length) {
+            action = 'keydown';
+        }

-    const refsToAssign = value ? currentRefs.current : previousRefs.current; // Update the latest refs.
+        return action;
+    }

-    for (const ref of refsToAssign) {
-      assignRef(ref, value);
+    /**
+     * Converts from a string key combination to an array
+     *
+     * @param  {string} combination like "command+shift+l"
+     * @return {Array}
+     */
+    function _keysFromString(combination) {
+        if (combination === '+') {
+            return ['+'];
+        }
+
+        combination = combination.replace(/\+{2}/g, '+plus');
+        return combination.split('+');
     }
-  }, []);
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-dialog/index.js
-/**
- * WordPress dependencies
- */
+    /**
+     * Gets info for a specific key combination
+     *
+     * @param  {string} combination key combination ("command+s" or "a" or "*")
+     * @param  {string=} action
+     * @returns {Object}
+     */
+    function _getKeyInfo(combination, action) {
+        var keys;
+        var key;
+        var i;
+        var modifiers = [];

+        // take the keys from this pattern and figure out what the actual
+        // pattern is all about
+        keys = _keysFromString(combination);

-/**
- * Internal dependencies
- */
+        for (i = 0; i < keys.length; ++i) {
+            key = keys[i];

+            // normalize key names
+            if (_SPECIAL_ALIASES[key]) {
+                key = _SPECIAL_ALIASES[key];
+            }

+            // if this is not a keypress event then we should
+            // be smart about using shift keys
+            // this will only work for US keyboards however
+            if (action && action != 'keypress' && _SHIFT_MAP[key]) {
+                key = _SHIFT_MAP[key];
+                modifiers.push('shift');
+            }

+            // if this key is a modifier then add it to the list of modifiers
+            if (_isModifier(key)) {
+                modifiers.push(key);
+            }
+        }

+        // depending on what the key combination is
+        // we will try to pick the best event for it
+        action = _pickBestAction(key, modifiers, action);

+        return {
+            key: key,
+            modifiers: modifiers,
+            action: action
+        };
+    }

-/* eslint-disable jsdoc/valid-types */
+    function _belongsTo(element, ancestor) {
+        if (element === null || element === document) {
+            return false;
+        }

-/**
- * @typedef DialogOptions
- * @property {Parameters<useFocusOnMount>[0]} focusOnMount Focus on mount arguments.
- * @property {() => void}                     onClose      Function to call when the dialog is closed.
- */
+        if (element === ancestor) {
+            return true;
+        }

-/* eslint-enable jsdoc/valid-types */
+        return _belongsTo(element.parentNode, ancestor);
+    }

-/**
- * Returns a ref and props to apply to a dialog wrapper to enable the following behaviors:
- *  - constrained tabbing.
- *  - focus on mount.
- *  - return focus on unmount.
- *  - focus outside.
- *
- * @param {DialogOptions} options Dialog Options.
- */
+    function Mousetrap(targetElement) {
+        var self = this;

-function useDialog(options) {
-  /**
-   * @type {import('react').MutableRefObject<DialogOptions | undefined>}
-   */
-  const currentOptions = Object(external_wp_element_["useRef"])();
-  Object(external_wp_element_["useEffect"])(() => {
-    currentOptions.current = options;
-  }, Object.values(options));
-  const constrainedTabbingRef = use_constrained_tabbing();
-  const focusOnMountRef = useFocusOnMount(options.focusOnMount);
-  const focusReturnRef = use_focus_return();
-  const focusOutsideProps = useFocusOutside(event => {
-    var _currentOptions$curre, _currentOptions$curre2;
+        targetElement = targetElement || document;

-    // This unstable prop  is here only to manage backward compatibility
-    // for the Popover component otherwise, the onClose should be enough.
-    // @ts-ignore unstable property
-    if ((_currentOptions$curre = currentOptions.current) !== null && _currentOptions$curre !== void 0 && _currentOptions$curre.__unstableOnClose) {
-      // @ts-ignore unstable property
-      currentOptions.current.__unstableOnClose('focus-outside', event);
-    } else if ((_currentOptions$curre2 = currentOptions.current) !== null && _currentOptions$curre2 !== void 0 && _currentOptions$curre2.onClose) {
-      currentOptions.current.onClose();
-    }
-  });
-  const closeOnEscapeRef = Object(external_wp_element_["useCallback"])(node => {
-    if (!node) {
-      return;
-    }
+        if (!(self instanceof Mousetrap)) {
+            return new Mousetrap(targetElement);
+        }

-    node.addEventListener('keydown', (
-    /** @type {KeyboardEvent} */
-    event) => {
-      var _currentOptions$curre3;
+        /**
+         * element to attach key events to
+         *
+         * @type {Element}
+         */
+        self.target = targetElement;

-      // Close on escape
-      if (event.keyCode === external_wp_keycodes_["ESCAPE"] && !event.defaultPrevented && (_currentOptions$curre3 = currentOptions.current) !== null && _currentOptions$curre3 !== void 0 && _currentOptions$curre3.onClose) {
-        event.preventDefault();
-        currentOptions.current.onClose();
-      }
-    });
-  }, []);
-  return [useMergeRefs([options.focusOnMount !== false ? constrainedTabbingRef : null, options.focusOnMount !== false ? focusReturnRef : null, options.focusOnMount !== false ? focusOnMountRef : null, closeOnEscapeRef]), { ...focusOutsideProps,
-    tabIndex: '-1'
-  }];
-}
+        /**
+         * a list of all the callbacks setup via Mousetrap.bind()
+         *
+         * @type {Object}
+         */
+        self._callbacks = {};
+
+        /**
+         * direct map of string combinations to callbacks used for trigger()
+         *
+         * @type {Object}
+         */
+        self._directMap = {};
+
+        /**
+         * keeps track of what level each sequence is at since multiple
+         * sequences can start out with the same sequence
+         *
+         * @type {Object}
+         */
+        var _sequenceLevels = {};

-/* harmony default export */ var use_dialog = (useDialog);
+        /**
+         * variable to store the setTimeout call
+         *
+         * @type {null|number}
+         */
+        var _resetTimer;

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-disabled/index.js
-/**
- * External dependencies
- */
+        /**
+         * temporary state where we will ignore the next keyup
+         *
+         * @type {boolean|string}
+         */
+        var _ignoreNextKeyup = false;

-/**
- * WordPress dependencies
- */
+        /**
+         * temporary state where we will ignore the next keypress
+         *
+         * @type {boolean}
+         */
+        var _ignoreNextKeypress = false;

+        /**
+         * are we currently inside of a sequence?
+         * type of action ("keyup" or "keydown" or "keypress") or false
+         *
+         * @type {boolean|string}
+         */
+        var _nextExpectedAction = false;

+        /**
+         * resets all sequence counters except for the ones passed in
+         *
+         * @param {Object} doNotReset
+         * @returns void
+         */
+        function _resetSequences(doNotReset) {
+            doNotReset = doNotReset || {};

-/**
- * Names of control nodes which qualify for disabled behavior.
- *
- * See WHATWG HTML Standard: 4.10.18.5: "Enabling and disabling form controls: the disabled attribute".
- *
- * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#enabling-and-disabling-form-controls:-the-disabled-attribute
- *
- * @type {string[]}
- */
+            var activeSequences = false,
+                key;

-const DISABLED_ELIGIBLE_NODE_NAMES = ['BUTTON', 'FIELDSET', 'INPUT', 'OPTGROUP', 'OPTION', 'SELECT', 'TEXTAREA'];
-/**
- * In some circumstances, such as block previews, all focusable DOM elements
- * (input fields, links, buttons, etc.) need to be disabled. This hook adds the
- * behavior to disable nested DOM elements to the returned ref.
- *
- * @return {import('react').RefObject<HTMLElement>} Element Ref.
- *
- * @example
- * ```js
- * import { __experimentalUseDisabled as useDisabled } from '@wordpress/compose';
- * const DisabledExample = () => {
- * 	const disabledRef = useDisabled();
- *	return (
- *		<div ref={ disabledRef }>
- *			<a href="#">This link will have tabindex set to -1</a>
- *			<input placeholder="This input will have the disabled attribute added to it." type="text" />
- *		</div>
- *	);
- * };
- * ```
- */
+            for (key in _sequenceLevels) {
+                if (doNotReset[key]) {
+                    activeSequences = true;
+                    continue;
+                }
+                _sequenceLevels[key] = 0;
+            }

-function useDisabled() {
-  /** @type {import('react').RefObject<HTMLElement>} */
-  const node = Object(external_wp_element_["useRef"])(null);
+            if (!activeSequences) {
+                _nextExpectedAction = false;
+            }
+        }

-  const disable = () => {
-    if (!node.current) {
-      return;
-    }
+        /**
+         * finds all callbacks that match based on the keycode, modifiers,
+         * and action
+         *
+         * @param {string} character
+         * @param {Array} modifiers
+         * @param {Event|Object} e
+         * @param {string=} sequenceName - name of the sequence we are looking for
+         * @param {string=} combination
+         * @param {number=} level
+         * @returns {Array}
+         */
+        function _getMatches(character, modifiers, e, sequenceName, combination, level) {
+            var i;
+            var callback;
+            var matches = [];
+            var action = e.type;

-    external_wp_dom_["focus"].focusable.find(node.current).forEach(focusable => {
-      if (Object(external_lodash_["includes"])(DISABLED_ELIGIBLE_NODE_NAMES, focusable.nodeName)) {
-        focusable.setAttribute('disabled', '');
-      }
+            // if there are no events related to this keycode
+            if (!self._callbacks[character]) {
+                return [];
+            }

-      if (focusable.nodeName === 'A') {
-        focusable.setAttribute('tabindex', '-1');
-      }
+            // if a modifier key is coming up on its own we should allow it
+            if (action == 'keyup' && _isModifier(character)) {
+                modifiers = [character];
+            }

-      const tabIndex = focusable.getAttribute('tabindex');
+            // loop through all callbacks for the key that was pressed
+            // and see if any of them match
+            for (i = 0; i < self._callbacks[character].length; ++i) {
+                callback = self._callbacks[character][i];

-      if (tabIndex !== null && tabIndex !== '-1') {
-        focusable.removeAttribute('tabindex');
-      }
+                // if a sequence name is not specified, but this is a sequence at
+                // the wrong level then move onto the next match
+                if (!sequenceName && callback.seq && _sequenceLevels[callback.seq] != callback.level) {
+                    continue;
+                }

-      if (focusable.hasAttribute('contenteditable')) {
-        focusable.setAttribute('contenteditable', 'false');
-      }
-    });
-  }; // Debounce re-disable since disabling process itself will incur
-  // additional mutations which should be ignored.
+                // if the action we are looking for doesn't match the action we got
+                // then we should keep going
+                if (action != callback.action) {
+                    continue;
+                }

+                // if this is a keypress event and the meta key and control key
+                // are not pressed that means that we need to only look at the
+                // character, otherwise check the modifiers as well
+                //
+                // chrome will not fire a keypress if meta or control is down
+                // safari will fire a keypress if meta or meta+shift is down
+                // firefox will fire a keypress if meta or control is down
+                if ((action == 'keypress' && !e.metaKey && !e.ctrlKey) || _modifiersMatch(modifiers, callback.modifiers)) {

-  const debouncedDisable = Object(external_wp_element_["useCallback"])(Object(external_lodash_["debounce"])(disable, undefined, {
-    leading: true
-  }), []);
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    disable();
-    /** @type {MutationObserver | undefined} */
+                    // when you bind a combination or sequence a second time it
+                    // should overwrite the first one.  if a sequenceName or
+                    // combination is specified in this call it does just that
+                    //
+                    // @todo make deleting its own method?
+                    var deleteCombo = !sequenceName && callback.combo == combination;
+                    var deleteSequence = sequenceName && callback.seq == sequenceName && callback.level == level;
+                    if (deleteCombo || deleteSequence) {
+                        self._callbacks[character].splice(i, 1);
+                    }

-    let observer;
+                    matches.push(callback);
+                }
+            }

-    if (node.current) {
-      observer = new window.MutationObserver(debouncedDisable);
-      observer.observe(node.current, {
-        childList: true,
-        attributes: true,
-        subtree: true
-      });
-    }
+            return matches;
+        }

-    return () => {
-      if (observer) {
-        observer.disconnect();
-      }
+        /**
+         * actually calls the callback function
+         *
+         * if your callback function returns false this will use the jquery
+         * convention - prevent default and stop propogation on the event
+         *
+         * @param {Function} callback
+         * @param {Event} e
+         * @returns void
+         */
+        function _fireCallback(callback, e, combo, sequence) {

-      debouncedDisable.cancel();
-    };
-  }, []);
-  return node;
-}
+            // if this event should not happen stop here
+            if (self.stopCallback(e, e.target || e.srcElement, combo, sequence)) {
+                return;
+            }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-isomorphic-layout-effect/index.js
-/**
- * WordPress dependencies
- */
+            if (callback(e, combo) === false) {
+                _preventDefault(e);
+                _stopPropagation(e);
+            }
+        }

-/**
- * Preferred over direct usage of `useLayoutEffect` when supporting
- * server rendered components (SSR) because currently React
- * throws a warning when using useLayoutEffect in that environment.
- */
+        /**
+         * handles a character key event
+         *
+         * @param {string} character
+         * @param {Array} modifiers
+         * @param {Event} e
+         * @returns void
+         */
+        self._handleKey = function(character, modifiers, e) {
+            var callbacks = _getMatches(character, modifiers, e);
+            var i;
+            var doNotReset = {};
+            var maxLevel = 0;
+            var processedSequenceCallback = false;

-const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? external_wp_element_["useLayoutEffect"] : external_wp_element_["useEffect"];
-/* harmony default export */ var use_isomorphic_layout_effect = (useIsomorphicLayoutEffect);
+            // Calculate the maxLevel for sequences so we can only execute the longest callback sequence
+            for (i = 0; i < callbacks.length; ++i) {
+                if (callbacks[i].seq) {
+                    maxLevel = Math.max(maxLevel, callbacks[i].level);
+                }
+            }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-dragging/index.js
-/**
- * WordPress dependencies
- */
+            // loop through matching callbacks for this key event
+            for (i = 0; i < callbacks.length; ++i) {

-/**
- * Internal dependencies
- */
+                // fire for all sequence callbacks
+                // this is because if for example you have multiple sequences
+                // bound such as "g i" and "g t" they both need to fire the
+                // callback for matching g cause otherwise you can only ever
+                // match the first one
+                if (callbacks[i].seq) {

+                    // only fire callbacks for the maxLevel to prevent
+                    // subsequences from also firing
+                    //
+                    // for example 'a option b' should not cause 'option b' to fire
+                    // even though 'option b' is part of the other sequence
+                    //
+                    // any sequences that do not match here will be discarded
+                    // below by the _resetSequences call
+                    if (callbacks[i].level != maxLevel) {
+                        continue;
+                    }

-/**
- * @param {Object}                  props
- * @param {(e: MouseEvent) => void} props.onDragStart
- * @param {(e: MouseEvent) => void} props.onDragMove
- * @param {(e: MouseEvent) => void} props.onDragEnd
- */
+                    processedSequenceCallback = true;

-function useDragging(_ref) {
-  let {
-    onDragStart,
-    onDragMove,
-    onDragEnd
-  } = _ref;
-  const [isDragging, setIsDragging] = Object(external_wp_element_["useState"])(false);
-  const eventsRef = Object(external_wp_element_["useRef"])({
-    onDragStart,
-    onDragMove,
-    onDragEnd
-  });
-  use_isomorphic_layout_effect(() => {
-    eventsRef.current.onDragStart = onDragStart;
-    eventsRef.current.onDragMove = onDragMove;
-    eventsRef.current.onDragEnd = onDragEnd;
-  }, [onDragStart, onDragMove, onDragEnd]);
-  const onMouseMove = Object(external_wp_element_["useCallback"])((
-  /** @type {MouseEvent} */
-  event) => eventsRef.current.onDragMove && eventsRef.current.onDragMove(event), []);
-  const endDrag = Object(external_wp_element_["useCallback"])((
-  /** @type {MouseEvent} */
-  event) => {
-    if (eventsRef.current.onDragEnd) {
-      eventsRef.current.onDragEnd(event);
-    }
+                    // keep a list of which sequences were matches for later
+                    doNotReset[callbacks[i].seq] = 1;
+                    _fireCallback(callbacks[i].callback, e, callbacks[i].combo, callbacks[i].seq);
+                    continue;
+                }

-    document.removeEventListener('mousemove', onMouseMove);
-    document.removeEventListener('mouseup', endDrag);
-    setIsDragging(false);
-  }, []);
-  const startDrag = Object(external_wp_element_["useCallback"])((
-  /** @type {MouseEvent} */
-  event) => {
-    if (eventsRef.current.onDragStart) {
-      eventsRef.current.onDragStart(event);
-    }
+                // if there were no sequence matches but we are still here
+                // that means this is a regular match so we should fire that
+                if (!processedSequenceCallback) {
+                    _fireCallback(callbacks[i].callback, e, callbacks[i].combo);
+                }
+            }

-    document.addEventListener('mousemove', onMouseMove);
-    document.addEventListener('mouseup', endDrag);
-    setIsDragging(true);
-  }, []); // Remove the global events when unmounting if needed.
+            // if the key you pressed matches the type of sequence without
+            // being a modifier (ie "keyup" or "keypress") then we should
+            // reset all sequences that were not matched by this event
+            //
+            // this is so, for example, if you have the sequence "h a t" and you
+            // type "h e a r t" it does not match.  in this case the "e" will
+            // cause the sequence to reset
+            //
+            // modifier keys are ignored because you can have a sequence
+            // that contains modifiers such as "enter ctrl+space" and in most
+            // cases the modifier key will be pressed before the next key
+            //
+            // also if you have a sequence such as "ctrl+b a" then pressing the
+            // "b" key will trigger a "keypress" and a "keydown"
+            //
+            // the "keydown" is expected when there is a modifier, but the
+            // "keypress" ends up matching the _nextExpectedAction since it occurs
+            // after and that causes the sequence to reset
+            //
+            // we ignore keypresses in a sequence that directly follow a keydown
+            // for the same character
+            var ignoreThisKeypress = e.type == 'keypress' && _ignoreNextKeypress;
+            if (e.type == _nextExpectedAction && !_isModifier(character) && !ignoreThisKeypress) {
+                _resetSequences(doNotReset);
+            }

-  Object(external_wp_element_["useEffect"])(() => {
-    return () => {
-      if (isDragging) {
-        document.removeEventListener('mousemove', onMouseMove);
-        document.removeEventListener('mouseup', endDrag);
-      }
-    };
-  }, [isDragging]);
-  return {
-    startDrag,
-    endDrag,
-    isDragging
-  };
-}
+            _ignoreNextKeypress = processedSequenceCallback && e.type == 'keydown';
+        };

-// EXTERNAL MODULE: ./node_modules/mousetrap/mousetrap.js
-var mousetrap_mousetrap = __webpack_require__("imBb");
-var mousetrap_default = /*#__PURE__*/__webpack_require__.n(mousetrap_mousetrap);
+        /**
+         * handles a keydown event
+         *
+         * @param {Event} e
+         * @returns void
+         */
+        function _handleKeyEvent(e) {

-// EXTERNAL MODULE: ./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js
-var mousetrap_global_bind = __webpack_require__("VcSt");
+            // normalize e.which for key events
+            // @see http://stackoverflow.com/questions/4285627/javascript-keycode-vs-charcode-utter-confusion
+            if (typeof e.which !== 'number') {
+                e.which = e.keyCode;
+            }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-keyboard-shortcut/index.js
-/**
- * External dependencies
- */
+            var character = _characterFromEvent(e);

+            // no character found then stop
+            if (!character) {
+                return;
+            }

+            // need to use === for the character check because the character can be 0
+            if (e.type == 'keyup' && _ignoreNextKeyup === character) {
+                _ignoreNextKeyup = false;
+                return;
+            }

-/**
- * WordPress dependencies
- */
+            self.handleKey(character, _eventModifiers(e), e);
+        }

+        /**
+         * called to set a 1 second timeout on the specified sequence
+         *
+         * this is so after each key press in the sequence you have 1 second
+         * to press the next key before you have to start over
+         *
+         * @returns void
+         */
+        function _resetSequenceTimer() {
+            clearTimeout(_resetTimer);
+            _resetTimer = setTimeout(_resetSequences, 1000);
+        }

-/**
- * A block selection object.
- *
- * @typedef {Object} WPKeyboardShortcutConfig
- *
- * @property {boolean}                                [bindGlobal] Handle keyboard events anywhere including inside textarea/input fields.
- * @property {string}                                 [eventName]  Event name used to trigger the handler, defaults to keydown.
- * @property {boolean}                                [isDisabled] Disables the keyboard handler if the value is true.
- * @property {import('react').RefObject<HTMLElement>} [target]     React reference to the DOM element used to catch the keyboard event.
- */
+        /**
+         * binds a key sequence to an event
+         *
+         * @param {string} combo - combo specified in bind call
+         * @param {Array} keys
+         * @param {Function} callback
+         * @param {string=} action
+         * @returns void
+         */
+        function _bindSequence(combo, keys, callback, action) {

-/**
- * Return true if platform is MacOS.
- *
- * @param {Window} [_window] window object by default; used for DI testing.
- *
- * @return {boolean} True if MacOS; false otherwise.
- */
+            // start off by adding a sequence level record for this combination
+            // and setting the level to 0
+            _sequenceLevels[combo] = 0;

-function isAppleOS() {
-  let _window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window;
+            /**
+             * callback to increase the sequence level for this sequence and reset
+             * all other sequences that were active
+             *
+             * @param {string} nextAction
+             * @returns {Function}
+             */
+            function _increaseSequence(nextAction) {
+                return function() {
+                    _nextExpectedAction = nextAction;
+                    ++_sequenceLevels[combo];
+                    _resetSequenceTimer();
+                };
+            }

-  const {
-    platform
-  } = _window.navigator;
-  return platform.indexOf('Mac') !== -1 || Object(external_lodash_["includes"])(['iPad', 'iPhone'], platform);
-}
-/* eslint-disable jsdoc/valid-types */
+            /**
+             * wraps the specified callback inside of another function in order
+             * to reset all sequence counters as soon as this sequence is done
+             *
+             * @param {Event} e
+             * @returns void
+             */
+            function _callbackAndReset(e) {
+                _fireCallback(callback, e, combo);

-/**
- * Attach a keyboard shortcut handler.
- *
- * @see https://craig.is/killing/mice#api.bind for information about the `callback` parameter.
- *
- * @param {string[]|string}                                                       shortcuts Keyboard Shortcuts.
- * @param {(e: import('mousetrap').ExtendedKeyboardEvent, combo: string) => void} callback  Shortcut callback.
- * @param {WPKeyboardShortcutConfig}                                              options   Shortcut options.
- */
+                // we should ignore the next key up if the action is key down
+                // or keypress.  this is so if you finish a sequence and
+                // release the key the final key will not trigger a keyup
+                if (action !== 'keyup') {
+                    _ignoreNextKeyup = _characterFromEvent(e);
+                }

+                // weird race condition if a sequence ends with the key
+                // another sequence begins with
+                setTimeout(_resetSequences, 10);
+            }

-function useKeyboardShortcut(
-/* eslint-enable jsdoc/valid-types */
-shortcuts, callback) {
-  let {
-    bindGlobal = false,
-    eventName = 'keydown',
-    isDisabled = false,
-    // This is important for performance considerations.
-    target
-  } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-  const currentCallback = Object(external_wp_element_["useRef"])(callback);
-  Object(external_wp_element_["useEffect"])(() => {
-    currentCallback.current = callback;
-  }, [callback]);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isDisabled) {
-      return;
-    }
+            // loop through keys one at a time and bind the appropriate callback
+            // function.  for any key leading up to the final one it should
+            // increase the sequence. after the final, it should reset all sequences
+            //
+            // if an action is specified in the original bind call then that will
+            // be used throughout.  otherwise we will pass the action that the
+            // next key in the sequence should match.  this allows a sequence
+            // to mix and match keypress and keydown events depending on which
+            // ones are better suited to the key provided
+            for (var i = 0; i < keys.length; ++i) {
+                var isFinal = i + 1 === keys.length;
+                var wrappedCallback = isFinal ? _callbackAndReset : _increaseSequence(action || _getKeyInfo(keys[i + 1]).action);
+                _bindSingle(keys[i], wrappedCallback, action, combo, i);
+            }
+        }

-    const mousetrap = new mousetrap_default.a(target && target.current ? target.current : // We were passing `document` here previously, so to successfully cast it to Element we must cast it first to `unknown`.
-    // Not sure if this is a mistake but it was the behavior previous to the addition of types so we're just doing what's
-    // necessary to maintain the existing behavior
+        /**
+         * binds a single keyboard combination
+         *
+         * @param {string} combination
+         * @param {Function} callback
+         * @param {string=} action
+         * @param {string=} sequenceName - name of sequence if part of sequence
+         * @param {number=} level - what part of the sequence the command is
+         * @returns void
+         */
+        function _bindSingle(combination, callback, action, sequenceName, level) {

-    /** @type {Element} */
+            // store a direct mapped reference for use with Mousetrap.trigger
+            self._directMap[combination + ':' + action] = callback;

-    /** @type {unknown} */
-    document);
-    Object(external_lodash_["castArray"])(shortcuts).forEach(shortcut => {
-      const keys = shortcut.split('+'); // Determines whether a key is a modifier by the length of the string.
-      // E.g. if I add a pass a shortcut Shift+Cmd+M, it'll determine that
-      // the modifiers are Shift and Cmd because they're not a single character.
+            // make sure multiple spaces in a row become a single space
+            combination = combination.replace(/\s+/g, ' ');

-      const modifiers = new Set(keys.filter(value => value.length > 1));
-      const hasAlt = modifiers.has('alt');
-      const hasShift = modifiers.has('shift'); // This should be better moved to the shortcut registration instead.
+            var sequence = combination.split(' ');
+            var info;

-      if (isAppleOS() && (modifiers.size === 1 && hasAlt || modifiers.size === 2 && hasAlt && hasShift)) {
-        throw new Error(`Cannot bind ${shortcut}. Alt and Shift+Alt modifiers are reserved for character input.`);
-      }
+            // if this pattern is a sequence of keys then run through this method
+            // to reprocess each pattern one key at a time
+            if (sequence.length > 1) {
+                _bindSequence(combination, sequence, callback, action);
+                return;
+            }

-      const bindFn = bindGlobal ? 'bindGlobal' : 'bind'; // @ts-ignore `bindGlobal` is an undocumented property
+            info = _getKeyInfo(combination, action);

-      mousetrap[bindFn](shortcut, function () {
-        return (
-          /* eslint-enable jsdoc/valid-types */
-          currentCallback.current(...arguments)
-        );
-      }, eventName);
-    });
-    return () => {
-      mousetrap.reset();
-    };
-  }, [shortcuts, bindGlobal, eventName, target, isDisabled]);
-}
+            // make sure to initialize array if this is the first time
+            // a callback is added for this key
+            self._callbacks[info.key] = self._callbacks[info.key] || [];

-/* harmony default export */ var use_keyboard_shortcut = (useKeyboardShortcut);
+            // remove an existing match if there is one
+            _getMatches(info.key, info.modifiers, {type: info.action}, sequenceName, combination, level);

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js
-/**
- * WordPress dependencies
- */
+            // add this call back to the array
+            // if it is a sequence put it at the beginning
+            // if not put it at the end
+            //
+            // this is important because the way these are processed expects
+            // the sequence ones to come first
+            self._callbacks[info.key][sequenceName ? 'unshift' : 'push']({
+                callback: callback,
+                modifiers: info.modifiers,
+                action: info.action,
+                seq: sequenceName,
+                level: level,
+                combo: combination
+            });
+        }

-/**
- * Runs a media query and returns its value when it changes.
- *
- * @param {string} [query] Media Query.
- * @return {boolean} return value of the media query.
- */
+        /**
+         * binds multiple combinations to the same callback
+         *
+         * @param {Array} combinations
+         * @param {Function} callback
+         * @param {string|undefined} action
+         * @returns void
+         */
+        self._bindMultiple = function(combinations, callback, action) {
+            for (var i = 0; i < combinations.length; ++i) {
+                _bindSingle(combinations[i], callback, action);
+            }
+        };

-function useMediaQuery(query) {
-  const [match, setMatch] = Object(external_wp_element_["useState"])(() => !!(query && typeof window !== 'undefined' && window.matchMedia(query).matches));
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!query) {
-      return;
+        // start!
+        _addEvent(targetElement, 'keypress', _handleKeyEvent);
+        _addEvent(targetElement, 'keydown', _handleKeyEvent);
+        _addEvent(targetElement, 'keyup', _handleKeyEvent);
     }

-    const updateMatch = () => setMatch(window.matchMedia(query).matches);
+    /**
+     * binds an event to mousetrap
+     *
+     * can be a single key, a combination of keys separated with +,
+     * an array of keys, or a sequence of keys separated by spaces
+     *
+     * be sure to list the modifier keys first to make sure that the
+     * correct key ends up getting bound (the last key in the pattern)
+     *
+     * @param {string|Array} keys
+     * @param {Function} callback
+     * @param {string=} action - 'keypress', 'keydown', or 'keyup'
+     * @returns void
+     */
+    Mousetrap.prototype.bind = function(keys, callback, action) {
+        var self = this;
+        keys = keys instanceof Array ? keys : [keys];
+        self._bindMultiple.call(self, keys, callback, action);
+        return self;
+    };

-    updateMatch();
-    const list = window.matchMedia(query);
-    list.addListener(updateMatch);
-    return () => {
-      list.removeListener(updateMatch);
+    /**
+     * unbinds an event to mousetrap
+     *
+     * the unbinding sets the callback function of the specified key combo
+     * to an empty function and deletes the corresponding key in the
+     * _directMap dict.
+     *
+     * TODO: actually remove this from the _callbacks dictionary instead
+     * of binding an empty function
+     *
+     * the keycombo+action has to be exactly the same as
+     * it was defined in the bind method
+     *
+     * @param {string|Array} keys
+     * @param {string} action
+     * @returns void
+     */
+    Mousetrap.prototype.unbind = function(keys, action) {
+        var self = this;
+        return self.bind.call(self, keys, function() {}, action);
     };
-  }, [query]);
-  return !!query && match;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-previous/index.js
-/**
- * WordPress dependencies
- */
+    /**
+     * triggers an event that has already been bound
+     *
+     * @param {string} keys
+     * @param {string=} action
+     * @returns void
+     */
+    Mousetrap.prototype.trigger = function(keys, action) {
+        var self = this;
+        if (self._directMap[keys + ':' + action]) {
+            self._directMap[keys + ':' + action]({}, keys);
+        }
+        return self;
+    };

-/**
- * Use something's value from the previous render.
- * Based on https://usehooks.com/usePrevious/.
- *
- * @param  value The value to track.
- *
- * @return The value from the previous render.
- */
+    /**
+     * resets the library back to its initial state.  this is useful
+     * if you want to clear out the current keyboard shortcuts and bind
+     * new ones - for example if you switch to another page
+     *
+     * @returns void
+     */
+    Mousetrap.prototype.reset = function() {
+        var self = this;
+        self._callbacks = {};
+        self._directMap = {};
+        return self;
+    };

-function usePrevious(value) {
-  const ref = Object(external_wp_element_["useRef"])(); // Store current value in ref.
+    /**
+     * should we stop this event before firing off callbacks
+     *
+     * @param {Event} e
+     * @param {Element} element
+     * @return {boolean}
+     */
+    Mousetrap.prototype.stopCallback = function(e, element) {
+        var self = this;

-  Object(external_wp_element_["useEffect"])(() => {
-    ref.current = value;
-  }, [value]); // Re-run when value changes.
-  // Return previous value (happens before update in useEffect above).
+        // if the element has the class "mousetrap" then no need to stop
+        if ((' ' + element.className + ' ').indexOf(' mousetrap ') > -1) {
+            return false;
+        }

-  return ref.current;
-}
+        if (_belongsTo(element, self.target)) {
+            return false;
+        }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js
-/**
- * Internal dependencies
- */
+        // Events originating from a shadow DOM are re-targetted and `e.target` is the shadow host,
+        // not the initial event target in the shadow tree. Note that not all events cross the
+        // shadow boundary.
+        // For shadow trees with `mode: 'open'`, the initial event target is the first element in
+        // the event’s composed path. For shadow trees with `mode: 'closed'`, the initial event
+        // target cannot be obtained.
+        if ('composedPath' in e && typeof e.composedPath === 'function') {
+            // For open shadow trees, update `element` so that the following check works.
+            var initialEventTarget = e.composedPath()[0];
+            if (initialEventTarget !== e.target) {
+                element = initialEventTarget;
+            }
+        }

-/**
- * Hook returning whether the user has a preference for reduced motion.
- *
- * @return {boolean} Reduced motion preference value.
- */
+        // stop for input, select, and textarea
+        return element.tagName == 'INPUT' || element.tagName == 'SELECT' || element.tagName == 'TEXTAREA' || element.isContentEditable;
+    };
+
+    /**
+     * exposes _handleKey publicly so it can be overwritten by extensions
+     */
+    Mousetrap.prototype.handleKey = function() {
+        var self = this;
+        return self._handleKey.apply(self, arguments);
+    };
+
+    /**
+     * allow custom key mappings
+     */
+    Mousetrap.addKeycodes = function(object) {
+        for (var key in object) {
+            if (object.hasOwnProperty(key)) {
+                _MAP[key] = object[key];
+            }
+        }
+        _REVERSE_MAP = null;
+    };

-const useReducedMotion = () => useMediaQuery('(prefers-reduced-motion: reduce)');
+    /**
+     * Init the global mousetrap functions
+     *
+     * This method is needed to allow the global mousetrap functions to work
+     * now that mousetrap is a constructor function.
+     */
+    Mousetrap.init = function() {
+        var documentMousetrap = Mousetrap(document);
+        for (var method in documentMousetrap) {
+            if (method.charAt(0) !== '_') {
+                Mousetrap[method] = (function(method) {
+                    return function() {
+                        return documentMousetrap[method].apply(documentMousetrap, arguments);
+                    };
+                } (method));
+            }
+        }
+    };

-/* harmony default export */ var use_reduced_motion = (useReducedMotion);
+    Mousetrap.init();

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js
-/**
- * WordPress dependencies
- */
+    // expose mousetrap to the global object
+    window.Mousetrap = Mousetrap;

-/**
- * Internal dependencies
- */
+    // expose as a common js module
+    if ( true && module.exports) {
+        module.exports = Mousetrap;
+    }

+    // expose mousetrap as an AMD module
+    if (true) {
+        !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
+            return Mousetrap;
+        }).call(exports, __webpack_require__, exports, module),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+    }
+}) (typeof window !== 'undefined' ? window : null, typeof  window !== 'undefined' ? document : null);

-/**
- * @typedef {"huge" | "wide" | "large" | "medium" | "small" | "mobile"} WPBreakpoint
- */

-/**
- * Hash of breakpoint names with pixel width at which it becomes effective.
- *
- * @see _breakpoints.scss
- *
- * @type {Record<WPBreakpoint, number>}
- */
+/***/ }),

-const BREAKPOINTS = {
-  huge: 1440,
-  wide: 1280,
-  large: 960,
-  medium: 782,
-  small: 600,
-  mobile: 480
-};
-/**
- * @typedef {">=" | "<"} WPViewportOperator
- */
+/***/ 5538:
+/***/ (function() {

 /**
- * Object mapping media query operators to the condition to be used.
+ * adds a bindGlobal method to Mousetrap that allows you to
+ * bind specific keyboard shortcuts that will still work
+ * inside a text input field
  *
- * @type {Record<WPViewportOperator, string>}
+ * usage:
+ * Mousetrap.bindGlobal('ctrl+s', _saveChanges);
  */
+/* global Mousetrap:true */
+(function(Mousetrap) {
+    if (! Mousetrap) {
+        return;
+    }
+    var _globalCallbacks = {};
+    var _originalStopCallback = Mousetrap.prototype.stopCallback;

-const CONDITIONS = {
-  '>=': 'min-width',
-  '<': 'max-width'
-};
-/**
- * Object mapping media query operators to a function that given a breakpointValue and a width evaluates if the operator matches the values.
- *
- * @type {Record<WPViewportOperator, (breakpointValue: number, width: number) => boolean>}
- */
+    Mousetrap.prototype.stopCallback = function(e, element, combo, sequence) {
+        var self = this;

-const OPERATOR_EVALUATORS = {
-  '>=': (breakpointValue, width) => width >= breakpointValue,
-  '<': (breakpointValue, width) => width < breakpointValue
-};
-const ViewportMatchWidthContext = Object(external_wp_element_["createContext"])(
-/** @type {null | number} */
-null);
-/**
- * Returns true if the viewport matches the given query, or false otherwise.
- *
- * @param {WPBreakpoint}       breakpoint      Breakpoint size name.
- * @param {WPViewportOperator} [operator=">="] Viewport operator.
- *
- * @example
- *
- * ```js
- * useViewportMatch( 'huge', '<' );
- * useViewportMatch( 'medium' );
- * ```
- *
- * @return {boolean} Whether viewport matches query.
- */
+        if (self.paused) {
+            return true;
+        }

-const useViewportMatch = function (breakpoint) {
-  let operator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '>=';
-  const simulatedWidth = Object(external_wp_element_["useContext"])(ViewportMatchWidthContext);
-  const mediaQuery = !simulatedWidth && `(${CONDITIONS[operator]}: ${BREAKPOINTS[breakpoint]}px)`;
-  const mediaQueryResult = useMediaQuery(mediaQuery || undefined);
+        if (_globalCallbacks[combo] || _globalCallbacks[sequence]) {
+            return false;
+        }

-  if (simulatedWidth) {
-    return OPERATOR_EVALUATORS[operator](BREAKPOINTS[breakpoint], simulatedWidth);
-  }
+        return _originalStopCallback.call(self, e, element, combo);
+    };

-  return mediaQueryResult;
-};
+    Mousetrap.prototype.bindGlobal = function(keys, callback, action) {
+        var self = this;
+        self.bind(keys, callback, action);

-useViewportMatch.__experimentalWidthProvider = ViewportMatchWidthContext.Provider;
-/* harmony default export */ var use_viewport_match = (useViewportMatch);
+        if (keys instanceof Array) {
+            for (var i = 0; i < keys.length; i++) {
+                _globalCallbacks[keys[i]] = true;
+            }
+            return;
+        }

-// EXTERNAL MODULE: ./node_modules/react-resize-aware/dist/index.js
-var dist = __webpack_require__("SSiF");
-var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
+        _globalCallbacks[keys] = true;
+    };

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js
-/**
- * External dependencies
- */
+    Mousetrap.init();
+}) (typeof Mousetrap !== "undefined" ? Mousetrap : undefined);

-/**
- * Hook which allows to listen the resize event of any target element when it changes sizes.
- * _Note: `useResizeObserver` will report `null` until after first render_
- *
- * Simply a re-export of `react-resize-aware` so refer to its documentation <https://github.com/FezVrasta/react-resize-aware>
- * for more details.
- *
- * @see https://github.com/FezVrasta/react-resize-aware
- *
- * @example
- *
- * ```js
- * const App = () => {
- * 	const [ resizeListener, sizes ] = useResizeObserver();
- *
- * 	return (
- * 		<div>
- * 			{ resizeListener }
- * 			Your content here
- * 		</div>
- * 	);
- * };
- * ```
- *
- */

-/* harmony default export */ var use_resize_observer = (dist_default.a);
+/***/ }),

-// EXTERNAL MODULE: external ["wp","priorityQueue"]
-var external_wp_priorityQueue_ = __webpack_require__("XI5e");
+/***/ 235:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js
-/**
- * WordPress dependencies
- */
+var e=__webpack_require__(9196),n={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},t=function(t){var r=t.onResize,u=e.useRef();return function(n,t){var r=function(){return n.current&&n.current.contentDocument&&n.current.contentDocument.defaultView};function u(){t();var e=r();e&&e.addEventListener("resize",t)}e.useEffect((function(){return r()?u():n.current&&n.current.addEventListener&&n.current.addEventListener("load",u),function(){var e=r();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(u,(function(){return r(u)})),e.createElement("iframe",{style:n,src:"about:blank",ref:u,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},r=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};module.exports=function(n){void 0===n&&(n=r);var u=e.useState(n(null)),o=u[0],i=u[1],c=e.useCallback((function(e){return i(n(e.current))}),[n]);return[e.useMemo((function(){return e.createElement(t,{onResize:c})}),[c]),o]};


+/***/ }),

-/**
- * Returns the first items from list that are present on state.
- *
- * @param  list  New array.
- * @param  state Current state.
- * @return First items present iin state.
- */
-function getFirstItemsPresentInState(list, state) {
-  const firstItems = [];
+/***/ 9196:
+/***/ (function(module) {

-  for (let i = 0; i < list.length; i++) {
-    const item = list[i];
+"use strict";
+module.exports = window["React"];

-    if (!state.includes(item)) {
-      break;
-    }
+/***/ })
+
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
+"use strict";
+// ESM COMPAT FLAG
+__webpack_require__.r(__webpack_exports__);

-    firstItems.push(item);
-  }
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "__experimentalUseDialog": function() { return /* reexport */ use_dialog; },
+  "__experimentalUseDisabled": function() { return /* reexport */ useDisabled; },
+  "__experimentalUseDragging": function() { return /* reexport */ useDragging; },
+  "__experimentalUseDropZone": function() { return /* reexport */ useDropZone; },
+  "__experimentalUseFixedWindowList": function() { return /* reexport */ useFixedWindowList; },
+  "__experimentalUseFocusOutside": function() { return /* reexport */ useFocusOutside; },
+  "compose": function() { return /* reexport */ compose; },
+  "createHigherOrderComponent": function() { return /* reexport */ create_higher_order_component; },
+  "ifCondition": function() { return /* reexport */ if_condition; },
+  "pure": function() { return /* reexport */ higher_order_pure; },
+  "useAsyncList": function() { return /* reexport */ use_async_list; },
+  "useConstrainedTabbing": function() { return /* reexport */ use_constrained_tabbing; },
+  "useCopyOnClick": function() { return /* reexport */ useCopyOnClick; },
+  "useCopyToClipboard": function() { return /* reexport */ useCopyToClipboard; },
+  "useDebounce": function() { return /* reexport */ useDebounce; },
+  "useFocusOnMount": function() { return /* reexport */ useFocusOnMount; },
+  "useFocusReturn": function() { return /* reexport */ use_focus_return; },
+  "useFocusableIframe": function() { return /* reexport */ useFocusableIframe; },
+  "useInstanceId": function() { return /* reexport */ useInstanceId; },
+  "useIsomorphicLayoutEffect": function() { return /* reexport */ use_isomorphic_layout_effect; },
+  "useKeyboardShortcut": function() { return /* reexport */ use_keyboard_shortcut; },
+  "useMediaQuery": function() { return /* reexport */ useMediaQuery; },
+  "useMergeRefs": function() { return /* reexport */ useMergeRefs; },
+  "usePrevious": function() { return /* reexport */ usePrevious; },
+  "useReducedMotion": function() { return /* reexport */ use_reduced_motion; },
+  "useRefEffect": function() { return /* reexport */ useRefEffect; },
+  "useResizeObserver": function() { return /* reexport */ use_resize_observer; },
+  "useThrottle": function() { return /* reexport */ useThrottle; },
+  "useViewportMatch": function() { return /* reexport */ use_viewport_match; },
+  "useWarnOnChange": function() { return /* reexport */ use_warn_on_change; },
+  "withGlobalEvents": function() { return /* reexport */ withGlobalEvents; },
+  "withInstanceId": function() { return /* reexport */ with_instance_id; },
+  "withSafeTimeout": function() { return /* reexport */ with_safe_timeout; },
+  "withState": function() { return /* reexport */ withState; }
+});

-  return firstItems;
-}
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js
 /**
- * React hook returns an array which items get asynchronously appended from a source array.
- * This behavior is useful if we want to render a list of items asynchronously for performance reasons.
+ * External dependencies
+ */
+ // eslint-disable-next-line no-restricted-imports
+
+/**
+ * Given a function mapping a component to an enhanced component and modifier
+ * name, returns the enhanced component augmented with a generated displayName.
  *
- * @param  list   Source array.
- * @param  config Configuration object.
+ * @param  mapComponentToEnhancedComponent Function mapping component to enhanced component.
+ * @param  modifierName                    Seed name from which to generated display name.
  *
- * @return Async array.
+ * @return Component class with generated display name assigned.
  */
-
-
-function useAsyncList(list) {
-  let config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
-    step: 1
+function createHigherOrderComponent(mapComponent, modifierName) {
+  return Inner => {
+    const Outer = mapComponent(Inner);
+    const displayName = Inner.displayName || Inner.name || 'Component';
+    Outer.displayName = `${(0,external_lodash_namespaceObject.upperFirst)((0,external_lodash_namespaceObject.camelCase)(modifierName))}(${displayName})`;
+    return Outer;
   };
-  const {
-    step = 1
-  } = config;
-  const [current, setCurrent] = Object(external_wp_element_["useState"])([]);
-  Object(external_wp_element_["useEffect"])(() => {
-    // On reset, we keep the first items that were previously rendered.
-    let firstItems = getFirstItemsPresentInState(list, current);
-
-    if (firstItems.length < step) {
-      firstItems = firstItems.concat(list.slice(firstItems.length, step));
-    }
-
-    setCurrent(firstItems);
-    let nextIndex = firstItems.length;
-    const asyncQueue = Object(external_wp_priorityQueue_["createQueue"])();
-
-    const append = () => {
-      if (list.length <= nextIndex) {
-        return;
-      }
-
-      setCurrent(state => [...state, ...list.slice(nextIndex, nextIndex + step)]);
-      nextIndex += step;
-      asyncQueue.add({}, append);
-    };
-
-    asyncQueue.add({}, append);
-    return () => asyncQueue.reset();
-  }, [list]);
-  return current;
 }

-/* harmony default export */ var use_async_list = (useAsyncList);
+/* harmony default export */ var create_higher_order_component = (createHigherOrderComponent);

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-warn-on-change/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/compose.js
 /**
- * Internal dependencies
+ * External dependencies
  */
- // Disable reason: Object and object are distinctly different types in TypeScript and we mean the lowercase object in thise case
-// but eslint wants to force us to use `Object`. See https://stackoverflow.com/questions/49464634/difference-between-object-and-object-in-typescript
-
-/* eslint-disable jsdoc/check-types */

 /**
- * Hook that performs a shallow comparison between the preview value of an object
- * and the new one, if there's a difference, it prints it to the console.
- * this is useful in performance related work, to check why a component re-renders.
- *
- *  @example
- *
- * ```jsx
- * function MyComponent(props) {
- *    useWarnOnChange(props);
+ * Composes multiple higher-order components into a single higher-order component. Performs right-to-left function
+ * composition, where each successive invocation is supplied the return value of the previous.
  *
- *    return "Something";
- * }
- * ```
+ * This is just a re-export of `lodash`'s `flowRight` function.
  *
- * @param {object} object Object which changes to compare.
- * @param {string} prefix Just a prefix to show when console logging.
+ * @see https://docs-lodash.com/v4/flow-right/
  */

-function useWarnOnChange(object) {
-  let prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Change detection';
-  const previousValues = usePrevious(object);
-  Object.entries(previousValues !== null && previousValues !== void 0 ? previousValues : []).forEach(_ref => {
-    let [key, value] = _ref;
-
-    if (value !== object[
-    /** @type {keyof typeof object} */
-    key]) {
-      // eslint-disable-next-line no-console
-      console.warn(`${prefix}: ${key} key changed:`, value, object[
-      /** @type {keyof typeof object} */
-      key]
-      /* eslint-enable jsdoc/check-types */
-      );
-    }
-  });
-}
-
-/* harmony default export */ var use_warn_on_change = (useWarnOnChange);
-
-// EXTERNAL MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js
-var use_memo_one_esm = __webpack_require__("mHlH");
+/* harmony default export */ var compose = (external_lodash_namespaceObject.flowRight);

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-debounce/index.js
-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/if-condition/index.js


 /**
- * WordPress dependencies
+ * Internal dependencies
  */


-/* eslint-disable jsdoc/valid-types */
-
 /**
- * Debounces a function with Lodash's `debounce`. A new debounced function will
- * be returned and any scheduled calls cancelled if any of the arguments change,
- * including the function to debounce, so please wrap functions created on
- * render in components in `useCallback`.
+ * Higher-order component creator, creating a new component which renders if
+ * the given condition is satisfied or with the given optional prop name.
  *
- * @see https://docs-lodash.com/v4/debounce/
+ * @example
+ * ```ts
+ * type Props = { foo: string };
+ * const Component = ( props: Props ) => <div>{ props.foo }</div>;
+ * const ConditionalComponent = ifCondition( ( props: Props ) => props.foo.length !== 0 )( Component );
+ * <ConditionalComponent foo="" />; // => null
+ * <ConditionalComponent foo="bar" />; // => <div>bar</div>;
+ * ```
  *
- * @template {(...args: any[]) => void} TFunc
+ * @param  predicate Function to test condition.
  *
- * @param {TFunc}                             fn        The function to debounce.
- * @param {number}                            [wait]    The number of milliseconds to delay.
- * @param {import('lodash').DebounceSettings} [options] The options object.
- * @return {import('lodash').DebouncedFunc<TFunc>} Debounced function.
+ * @return Higher-order component.
  */
+const ifCondition = predicate => create_higher_order_component(WrappedComponent => props => {
+  if (!predicate(props)) {
+    return null;
+  }

-function useDebounce(fn, wait, options) {
-  /* eslint-enable jsdoc/valid-types */
-  const debounced = Object(use_memo_one_esm["a" /* useMemoOne */])(() => Object(external_lodash_["debounce"])(fn, wait, options), [fn, wait, options]);
-  Object(external_wp_element_["useEffect"])(() => () => debounced.cancel(), [debounced]);
-  return debounced;
-}
+  return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, props);
+}, 'ifCondition');

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-throttle/index.js
-/**
- * External dependencies
- */
+/* harmony default export */ var if_condition = (ifCondition);
+
+;// CONCATENATED MODULE: external ["wp","isShallowEqual"]
+var external_wp_isShallowEqual_namespaceObject = window["wp"]["isShallowEqual"];
+var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/pure/index.js


 /**
@@ -2175,2714 +2297,2494 @@ function useDebounce(fn, wait, options) {


 /**
- * Throttles a function with Lodash's `throttle`. A new throttled function will
- * be returned and any scheduled calls cancelled if any of the arguments change,
- * including the function to throttle, so please wrap functions created on
- * render in components in `useCallback`.
- *
- * @see https://docs-lodash.com/v4/throttle/
- *
- * @template {(...args: any[]) => void} TFunc
- *
- * @param {TFunc}                             fn        The function to throttle.
- * @param {number}                            [wait]    The number of milliseconds to throttle invocations to.
- * @param {import('lodash').ThrottleSettings} [options] The options object. See linked documentation for details.
- * @return {import('lodash').DebouncedFunc<TFunc>} Throttled function.
+ * Internal dependencies
  */

-function useThrottle(fn, wait, options) {
-  const throttled = Object(use_memo_one_esm["a" /* useMemoOne */])(() => Object(external_lodash_["throttle"])(fn, wait, options), [fn, wait, options]);
-  Object(external_wp_element_["useEffect"])(() => () => throttled.cancel(), [throttled]);
-  return throttled;
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-drop-zone/index.js
-/**
- * WordPress dependencies
- */

 /**
- * Internal dependencies
+ * Given a component returns the enhanced component augmented with a component
+ * only rerendering when its props/state change
  */
+const pure = create_higher_order_component(Wrapped => {
+  if (Wrapped.prototype instanceof external_wp_element_namespaceObject.Component) {
+    return class extends Wrapped {
+      shouldComponentUpdate(nextProps, nextState) {
+        return !external_wp_isShallowEqual_default()(nextProps, this.props) || !external_wp_isShallowEqual_default()(nextState, this.state);
+      }

+    };
+  }

-/* eslint-disable jsdoc/valid-types */
+  return class extends external_wp_element_namespaceObject.Component {
+    shouldComponentUpdate(nextProps) {
+      return !external_wp_isShallowEqual_default()(nextProps, this.props);
+    }

-/**
- * @template T
- * @param {T} value
- * @return {import('react').MutableRefObject<T>} A ref with the value.
- */
+    render() {
+      return (0,external_wp_element_namespaceObject.createElement)(Wrapped, this.props);
+    }

-function useFreshRef(value) {
-  /* eslint-enable jsdoc/valid-types */
+  };
+}, 'pure');
+/* harmony default export */ var higher_order_pure = (pure);

-  /* eslint-disable jsdoc/no-undefined-types */
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-  /** @type {import('react').MutableRefObject<T>} */
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-  /* eslint-enable jsdoc/no-undefined-types */
-  // Disable reason: We're doing something pretty JavaScript-y here where the
-  // ref will always have a current value that is not null or undefined but it
-  // needs to start as undefined. We don't want to change the return type so
-  // it's easier to just ts-ignore this specific line that's complaining about
-  // undefined not being part of T.
-  // @ts-ignore
-  const ref = Object(external_wp_element_["useRef"])();
-  ref.current = value;
-  return ref;
+    return target;
+  };
+
+  return _extends.apply(this, arguments);
 }
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/listener.js
 /**
- * A hook to facilitate drag and drop handling.
- *
- * @param {Object}                  props             Named parameters.
- * @param {boolean}                 props.isDisabled  Whether or not to disable the drop zone.
- * @param {(e: DragEvent) => void}  props.onDragStart Called when dragging has started.
- * @param {(e: DragEvent) => void}  props.onDragEnter Called when the zone is entered.
- * @param {(e: DragEvent) => void}  props.onDragOver  Called when the zone is moved within.
- * @param {(e: DragEvent) => void}  props.onDragLeave Called when the zone is left.
- * @param {(e: MouseEvent) => void} props.onDragEnd   Called when dragging has ended.
- * @param {(e: DragEvent) => void}  props.onDrop      Called when dropping in the zone.
- *
- * @return {import('react').RefCallback<HTMLElement>} Ref callback to be passed to the drop zone element.
+ * External dependencies
+ */
+
+/**
+ * Class responsible for orchestrating event handling on the global window,
+ * binding a single event to be shared across all handling instances, and
+ * removing the handler when no instances are listening for the event.
  */

+class Listener {
+  constructor() {
+    /** @type {any} */
+    this.listeners = {};
+    this.handleEvent = this.handleEvent.bind(this);
+  }
+
+  add(
+  /** @type {any} */
+  eventType,
+  /** @type {any} */
+  instance) {
+    if (!this.listeners[eventType]) {
+      // Adding first listener for this type, so bind event.
+      window.addEventListener(eventType, this.handleEvent);
+      this.listeners[eventType] = [];
+    }
+
+    this.listeners[eventType].push(instance);
+  }

-function useDropZone(_ref) {
-  let {
-    isDisabled,
-    onDrop: _onDrop,
-    onDragStart: _onDragStart,
-    onDragEnter: _onDragEnter,
-    onDragLeave: _onDragLeave,
-    onDragEnd: _onDragEnd,
-    onDragOver: _onDragOver
-  } = _ref;
-  const onDropRef = useFreshRef(_onDrop);
-  const onDragStartRef = useFreshRef(_onDragStart);
-  const onDragEnterRef = useFreshRef(_onDragEnter);
-  const onDragLeaveRef = useFreshRef(_onDragLeave);
-  const onDragEndRef = useFreshRef(_onDragEnd);
-  const onDragOverRef = useFreshRef(_onDragOver);
-  return useRefEffect(element => {
-    if (isDisabled) {
-      return;
-    }
+  remove(
+  /** @type {any} */
+  eventType,
+  /** @type {any} */
+  instance) {
+    this.listeners[eventType] = (0,external_lodash_namespaceObject.without)(this.listeners[eventType], instance);

-    let isDragging = false;
-    const {
-      ownerDocument
-    } = element;
-    /**
-     * Checks if an element is in the drop zone.
-     *
-     * @param {EventTarget|null} targetToCheck
-     *
-     * @return {boolean} True if in drop zone, false if not.
-     */
+    if (!this.listeners[eventType].length) {
+      // Removing last listener for this type, so unbind event.
+      window.removeEventListener(eventType, this.handleEvent);
+      delete this.listeners[eventType];
+    }
+  }

-    function isElementInZone(targetToCheck) {
-      const {
-        defaultView
-      } = ownerDocument;
+  handleEvent(
+  /** @type {any} */
+  event) {
+    (0,external_lodash_namespaceObject.forEach)(this.listeners[event.type], instance => {
+      instance.handleEvent(event);
+    });
+  }

-      if (!targetToCheck || !defaultView || !(targetToCheck instanceof defaultView.HTMLElement) || !element.contains(targetToCheck)) {
-        return false;
-      }
-      /** @type {HTMLElement|null} */
+}

+/* harmony default export */ var listener = (Listener);

-      let elementToCheck = targetToCheck;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/index.js

-      do {
-        if (elementToCheck.dataset.isDropZone) {
-          return elementToCheck === element;
-        }
-      } while (elementToCheck = elementToCheck.parentElement);

-      return false;
-    }

-    function maybeDragStart(
-    /** @type {DragEvent} */
-    event) {
-      if (isDragging) {
-        return;
-      }
+/**
+ * External dependencies
+ */

-      isDragging = true;
-      ownerDocument.removeEventListener('dragenter', maybeDragStart); // Note that `dragend` doesn't fire consistently for file and
-      // HTML drag events where the drag origin is outside the browser
-      // window. In Firefox it may also not fire if the originating
-      // node is removed.
+/**
+ * WordPress dependencies
+ */

-      ownerDocument.addEventListener('dragend', maybeDragEnd);
-      ownerDocument.addEventListener('mousemove', maybeDragEnd);

-      if (onDragStartRef.current) {
-        onDragStartRef.current(event);
-      }
-    }

-    function onDragEnter(
-    /** @type {DragEvent} */
-    event) {
-      event.preventDefault(); // The `dragenter` event will also fire when entering child
-      // elements, but we only want to call `onDragEnter` when
-      // entering the drop zone, which means the `relatedTarget`
-      // (element that has been left) should be outside the drop zone.
+/**
+ * Internal dependencies
+ */

-      if (element.contains(
-      /** @type {Node} */
-      event.relatedTarget)) {
-        return;
-      }

-      if (onDragEnterRef.current) {
-        onDragEnterRef.current(event);
-      }
-    }

-    function onDragOver(
-    /** @type {DragEvent} */
-    event) {
-      // Only call onDragOver for the innermost hovered drop zones.
-      if (!event.defaultPrevented && onDragOverRef.current) {
-        onDragOverRef.current(event);
-      } // Prevent the browser default while also signalling to parent
-      // drop zones that `onDragOver` is already handled.
+/**
+ * Listener instance responsible for managing document event handling.
+ */

+const with_global_events_listener = new listener();
+/* eslint-disable jsdoc/no-undefined-types */

-      event.preventDefault();
-    }
+/**
+ * Higher-order component creator which, given an object of DOM event types and
+ * values corresponding to a callback function name on the component, will
+ * create or update a window event handler to invoke the callback when an event
+ * occurs. On behalf of the consuming developer, the higher-order component
+ * manages unbinding when the component unmounts, and binding at most a single
+ * event handler for the entire application.
+ *
+ * @deprecated
+ *
+ * @param {Record<keyof GlobalEventHandlersEventMap, string>} eventTypesToHandlers Object with keys of DOM
+ *                                                                                 event type, the value a
+ *                                                                                 name of the function on
+ *                                                                                 the original component's
+ *                                                                                 instance which handles
+ *                                                                                 the event.
+ *
+ * @return {any} Higher-order component.
+ */

-    function onDragLeave(
-    /** @type {DragEvent} */
-    event) {
-      // The `dragleave` event will also fire when leaving child
-      // elements, but we only want to call `onDragLeave` when
-      // leaving the drop zone, which means the `relatedTarget`
-      // (element that has been entered) should be outside the drop
-      // zone.
-      if (isElementInZone(event.relatedTarget)) {
-        return;
+function withGlobalEvents(eventTypesToHandlers) {
+  external_wp_deprecated_default()('wp.compose.withGlobalEvents', {
+    since: '5.7',
+    alternative: 'useEffect'
+  });
+  return create_higher_order_component(WrappedComponent => {
+    class Wrapper extends external_wp_element_namespaceObject.Component {
+      constructor(
+      /** @type {any} */
+      props) {
+        super(props);
+        this.handleEvent = this.handleEvent.bind(this);
+        this.handleRef = this.handleRef.bind(this);
       }

-      if (onDragLeaveRef.current) {
-        onDragLeaveRef.current(event);
+      componentDidMount() {
+        (0,external_lodash_namespaceObject.forEach)(eventTypesToHandlers, (_, eventType) => {
+          with_global_events_listener.add(eventType, this);
+        });
       }
-    }
-
-    function onDrop(
-    /** @type {DragEvent} */
-    event) {
-      // Don't handle drop if an inner drop zone already handled it.
-      if (event.defaultPrevented) {
-        return;
-      } // Prevent the browser default while also signalling to parent
-      // drop zones that `onDrop` is already handled.
-

-      event.preventDefault(); // This seemingly useless line has been shown to resolve a
-      // Safari issue where files dragged directly from the dock are
-      // not recognized.
-      // eslint-disable-next-line no-unused-expressions
+      componentWillUnmount() {
+        (0,external_lodash_namespaceObject.forEach)(eventTypesToHandlers, (_, eventType) => {
+          with_global_events_listener.remove(eventType, this);
+        });
+      }

-      event.dataTransfer && event.dataTransfer.files.length;
+      handleEvent(
+      /** @type {any} */
+      event) {
+        const handler = eventTypesToHandlers[
+        /** @type {keyof GlobalEventHandlersEventMap} */
+        event.type
+        /* eslint-enable jsdoc/no-undefined-types */
+        ];

-      if (onDropRef.current) {
-        onDropRef.current(event);
+        if (typeof this.wrappedRef[handler] === 'function') {
+          this.wrappedRef[handler](event);
+        }
       }

-      maybeDragEnd(event);
-    }
+      handleRef(
+      /** @type {any} */
+      el) {
+        this.wrappedRef = el; // Any component using `withGlobalEvents` that is not setting a `ref`
+        // will cause `this.props.forwardedRef` to be `null`, so we need this
+        // check.

-    function maybeDragEnd(
-    /** @type {MouseEvent} */
-    event) {
-      if (!isDragging) {
-        return;
+        if (this.props.forwardedRef) {
+          this.props.forwardedRef(el);
+        }
       }

-      isDragging = false;
-      ownerDocument.addEventListener('dragenter', maybeDragStart);
-      ownerDocument.removeEventListener('dragend', maybeDragEnd);
-      ownerDocument.removeEventListener('mousemove', maybeDragEnd);
-
-      if (onDragEndRef.current) {
-        onDragEndRef.current(event);
+      render() {
+        return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, this.props.ownProps, {
+          ref: this.handleRef
+        }));
       }
-    }

-    element.dataset.isDropZone = 'true';
-    element.addEventListener('drop', onDrop);
-    element.addEventListener('dragenter', onDragEnter);
-    element.addEventListener('dragover', onDragOver);
-    element.addEventListener('dragleave', onDragLeave); // The `dragstart` event doesn't fire if the drag started outside
-    // the document.
+    }

-    ownerDocument.addEventListener('dragenter', maybeDragStart);
-    return () => {
-      delete element.dataset.isDropZone;
-      element.removeEventListener('drop', onDrop);
-      element.removeEventListener('dragenter', onDragEnter);
-      element.removeEventListener('dragover', onDragOver);
-      element.removeEventListener('dragleave', onDragLeave);
-      ownerDocument.removeEventListener('dragend', maybeDragEnd);
-      ownerDocument.removeEventListener('mousemove', maybeDragEnd);
-      ownerDocument.addEventListener('dragenter', maybeDragStart);
-    };
-  }, [isDisabled]);
+    return (0,external_wp_element_namespaceObject.forwardRef)((props, ref) => {
+      return (0,external_wp_element_namespaceObject.createElement)(Wrapper, {
+        ownProps: props,
+        forwardedRef: ref
+      });
+    });
+  }, 'withGlobalEvents');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focusable-iframe/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js
+// Disable reason: Object and object are distinctly different types in TypeScript and we mean the lowercase object in thise case
+// but eslint wants to force us to use `Object`. See https://stackoverflow.com/questions/49464634/difference-between-object-and-object-in-typescript
+
+/* eslint-disable jsdoc/check-types */
+
 /**
- * Internal dependencies
+ * WordPress dependencies
  */

 /**
- * Dispatches a bubbling focus event when the iframe receives focus. Use
- * `onFocus` as usual on the iframe or a parent element.
+ * @type {WeakMap<object, number>}
+ */
+
+const instanceMap = new WeakMap();
+/**
+ * Creates a new id for a given object.
  *
- * @return {Object} Ref to pass to the iframe.
+ * @param {object} object Object reference to create an id for.
+ * @return {number} The instance id (index).
  */

-function useFocusableIframe() {
-  return useRefEffect(element => {
-    const {
-      ownerDocument
-    } = element;
-    if (!ownerDocument) return;
-    const {
-      defaultView
-    } = ownerDocument;
-    if (!defaultView) return;
-    /**
-     * Checks whether the iframe is the activeElement, inferring that it has
-     * then received focus, and dispatches a focus event.
-     */
+function createId(object) {
+  const instances = instanceMap.get(object) || 0;
+  instanceMap.set(object, instances + 1);
+  return instances;
+}
+/**
+ * Provides a unique instance ID.
+ *
+ * @param {object}          object           Object reference to create an id for.
+ * @param {string}          [prefix]         Prefix for the unique id.
+ * @param {string | number} [preferredId=''] Default ID to use.
+ * @return {string | number} The unique instance id.
+ */

-    function checkFocus() {
-      if (ownerDocument && ownerDocument.activeElement === element) {
-        /** @type {HTMLElement} */
-        element.focus();
-      }
-    }

-    defaultView.addEventListener('blur', checkFocus);
-    return () => {
-      defaultView.removeEventListener('blur', checkFocus);
-    };
-  }, []);
+function useInstanceId(object, prefix) {
+  let preferredId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
+  return (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (preferredId) return preferredId;
+    const id = createId(object);
+    return prefix ? `${prefix}-${id}` : id;
+  }, [object]);
 }
+/* eslint-enable jsdoc/check-types */
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js
+
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-fixed-window-list/index.js
 /**
  * External dependencies
  */
+// eslint-disable-next-line no-restricted-imports

 /**
- * WordPress dependencies
+ * Internal dependencies
+ */
+
+
+/**
+ * A Higher Order Component used to be provide a unique instance ID by
+ * component.
  */

+const withInstanceId = create_higher_order_component(WrappedComponent => {
+  return props => {
+    const instanceId = useInstanceId(WrappedComponent);
+    return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, props, {
+      instanceId: instanceId
+    }));
+  };
+}, 'withInstanceId');
+/* harmony default export */ var with_instance_id = (withInstanceId);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-safe-timeout/index.js


-const DEFAULT_INIT_WINDOW_SIZE = 30;
 /**
- * @typedef {Object} WPFixedWindowList
- *
- * @property {number}                  visibleItems Items visible in the current viewport
- * @property {number}                  start        Start index of the window
- * @property {number}                  end          End index of the window
- * @property {(index:number)=>boolean} itemInView   Returns true if item is in the window
+ * External dependencies
  */
+ // eslint-disable-next-line no-restricted-imports

 /**
- * @typedef {Object} WPFixedWindowListOptions
- *
- * @property {number}  [windowOverscan] Renders windowOverscan number of items before and after the calculated visible window.
- * @property {boolean} [useWindowing]   When false avoids calculating the window size
- * @property {number}  [initWindowSize] Initial window size to use on first render before we can calculate the window size.
+ * WordPress dependencies
  */

 /**
- *
- * @param {import('react').RefObject<HTMLElement>} elementRef Used to find the closest scroll container that contains element.
- * @param { number }                               itemHeight Fixed item height in pixels
- * @param { number }                               totalItems Total items in list
- * @param { WPFixedWindowListOptions }             [options]  Options object
- * @return {[ WPFixedWindowList, setFixedListWindow:(nextWindow:WPFixedWindowList)=>void]} Array with the fixed window list and setter
+ * Internal dependencies
  */

-function useFixedWindowList(elementRef, itemHeight, totalItems, options) {
-  var _options$initWindowSi, _options$useWindowing;

-  const initWindowSize = (_options$initWindowSi = options === null || options === void 0 ? void 0 : options.initWindowSize) !== null && _options$initWindowSi !== void 0 ? _options$initWindowSi : DEFAULT_INIT_WINDOW_SIZE;
-  const useWindowing = (_options$useWindowing = options === null || options === void 0 ? void 0 : options.useWindowing) !== null && _options$useWindowing !== void 0 ? _options$useWindowing : true;
-  const [fixedListWindow, setFixedListWindow] = Object(external_wp_element_["useState"])({
-    visibleItems: initWindowSize,
-    start: 0,
-    end: initWindowSize,
-    itemInView: (
-    /** @type {number} */
-    index) => {
-      return index >= 0 && index <= initWindowSize;
-    }
-  });
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    var _scrollContainer$owne, _scrollContainer$owne2, _scrollContainer$owne3, _scrollContainer$owne4;

-    if (!useWindowing) {
-      return;
+/**
+ * A higher-order component used to provide and manage delayed function calls
+ * that ought to be bound to a component's lifecycle.
+ */
+const withSafeTimeout = create_higher_order_component(OriginalComponent => {
+  return class WrappedComponent extends external_wp_element_namespaceObject.Component {
+    constructor(props) {
+      super(props);
+      this.timeouts = [];
+      this.setTimeout = this.setTimeout.bind(this);
+      this.clearTimeout = this.clearTimeout.bind(this);
     }

-    const scrollContainer = Object(external_wp_dom_["getScrollContainer"])(elementRef.current);
-
-    const measureWindow = (
-    /** @type {boolean | undefined} */
-    initRender) => {
-      var _options$windowOversc;
+    componentWillUnmount() {
+      this.timeouts.forEach(clearTimeout);
+    }

-      if (!scrollContainer) {
-        return;
-      }
+    setTimeout(fn, delay) {
+      const id = setTimeout(() => {
+        fn();
+        this.clearTimeout(id);
+      }, delay);
+      this.timeouts.push(id);
+      return id;
+    }

-      const visibleItems = Math.ceil(scrollContainer.clientHeight / itemHeight); // Aim to keep opening list view fast, afterward we can optimize for scrolling
+    clearTimeout(id) {
+      clearTimeout(id);
+      this.timeouts = (0,external_lodash_namespaceObject.without)(this.timeouts, id);
+    }

-      const windowOverscan = initRender ? visibleItems : (_options$windowOversc = options === null || options === void 0 ? void 0 : options.windowOverscan) !== null && _options$windowOversc !== void 0 ? _options$windowOversc : visibleItems;
-      const firstViewableIndex = Math.floor(scrollContainer.scrollTop / itemHeight);
-      const start = Math.max(0, firstViewableIndex - windowOverscan);
-      const end = Math.min(totalItems - 1, firstViewableIndex + visibleItems + windowOverscan);
-      setFixedListWindow(lastWindow => {
-        const nextWindow = {
-          visibleItems,
-          start,
-          end,
-          itemInView: (
-          /** @type {number} */
-          index) => {
-            return start <= index && index <= end;
-          }
-        };
+    render() {
+      const props = { ...this.props,
+        setTimeout: this.setTimeout,
+        clearTimeout: this.clearTimeout
+      };
+      return (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, props);
+    }

-        if (lastWindow.start !== nextWindow.start || lastWindow.end !== nextWindow.end || lastWindow.visibleItems !== nextWindow.visibleItems) {
-          return nextWindow;
-        }
+  };
+}, 'withSafeTimeout');
+/* harmony default export */ var with_safe_timeout = (withSafeTimeout);

-        return lastWindow;
-      });
-    };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-state/index.js

-    measureWindow(true);
-    const debounceMeasureList = Object(external_lodash_["debounce"])(() => {
-      measureWindow();
-    }, 16);
-    scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.addEventListener('scroll', debounceMeasureList);
-    scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne = scrollContainer.ownerDocument) === null || _scrollContainer$owne === void 0 ? void 0 : (_scrollContainer$owne2 = _scrollContainer$owne.defaultView) === null || _scrollContainer$owne2 === void 0 ? void 0 : _scrollContainer$owne2.addEventListener('resize', debounceMeasureList);
-    scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne3 = scrollContainer.ownerDocument) === null || _scrollContainer$owne3 === void 0 ? void 0 : (_scrollContainer$owne4 = _scrollContainer$owne3.defaultView) === null || _scrollContainer$owne4 === void 0 ? void 0 : _scrollContainer$owne4.addEventListener('resize', debounceMeasureList);
-    return () => {
-      var _scrollContainer$owne5, _scrollContainer$owne6;

-      scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.removeEventListener('scroll', debounceMeasureList);
-      scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne5 = scrollContainer.ownerDocument) === null || _scrollContainer$owne5 === void 0 ? void 0 : (_scrollContainer$owne6 = _scrollContainer$owne5.defaultView) === null || _scrollContainer$owne6 === void 0 ? void 0 : _scrollContainer$owne6.removeEventListener('resize', debounceMeasureList);
-    };
-  }, [itemHeight, elementRef, totalItems]);
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    var _scrollContainer$owne7, _scrollContainer$owne8;

-    if (!useWindowing) {
-      return;
-    }
+/**
+ * WordPress dependencies
+ */

-    const scrollContainer = Object(external_wp_dom_["getScrollContainer"])(elementRef.current);

-    const handleKeyDown = (
-    /** @type {KeyboardEvent} */
-    event) => {
-      switch (event.keyCode) {
-        case external_wp_keycodes_["HOME"]:
-          {
-            return scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollTo({
-              top: 0
-            });
-          }
+/**
+ * Internal dependencies
+ */

-        case external_wp_keycodes_["END"]:
-          {
-            return scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollTo({
-              top: totalItems * itemHeight
-            });
-          }

-        case external_wp_keycodes_["PAGEUP"]:
-          {
-            return scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollTo({
-              top: scrollContainer.scrollTop - fixedListWindow.visibleItems * itemHeight
-            });
-          }
+/**
+ * A Higher Order Component used to provide and manage internal component state
+ * via props.
+ *
+ * @deprecated Use `useState` instead.
+ *
+ * @param {any} initialState Optional initial state of the component.
+ *
+ * @return {any} A higher order component wrapper accepting a component that takes the state props + its own props + `setState` and returning a component that only accepts the own props.
+ */

-        case external_wp_keycodes_["PAGEDOWN"]:
-          {
-            return scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollTo({
-              top: scrollContainer.scrollTop + fixedListWindow.visibleItems * itemHeight
-            });
-          }
+function withState() {
+  let initialState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  external_wp_deprecated_default()('wp.compose.withState', {
+    alternative: 'wp.element.useState'
+  });
+  return create_higher_order_component(OriginalComponent => {
+    return class WrappedComponent extends external_wp_element_namespaceObject.Component {
+      constructor(
+      /** @type {any} */
+      props) {
+        super(props);
+        this.setState = this.setState.bind(this);
+        this.state = initialState;
       }
-    };

-    scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne7 = scrollContainer.ownerDocument) === null || _scrollContainer$owne7 === void 0 ? void 0 : (_scrollContainer$owne8 = _scrollContainer$owne7.defaultView) === null || _scrollContainer$owne8 === void 0 ? void 0 : _scrollContainer$owne8.addEventListener('keydown', handleKeyDown);
-    return () => {
-      var _scrollContainer$owne9, _scrollContainer$owne10;
+      render() {
+        return (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, _extends({}, this.props, this.state, {
+          setState: this.setState
+        }));
+      }

-      scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne9 = scrollContainer.ownerDocument) === null || _scrollContainer$owne9 === void 0 ? void 0 : (_scrollContainer$owne10 = _scrollContainer$owne9.defaultView) === null || _scrollContainer$owne10 === void 0 ? void 0 : _scrollContainer$owne10.removeEventListener('keydown', handleKeyDown);
     };
-  }, [totalItems, itemHeight, elementRef, fixedListWindow.visibleItems]);
-  return [fixedListWindow, setFixedListWindow];
+  }, 'withState');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/index.js
-// Utils
- // Compose helper (aliased flowRight from Lodash)
-
- // Higher-order components
-
-
-
-
-
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: external ["wp","dom"]
+var external_wp_dom_namespaceObject = window["wp"]["dom"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js
+/**
+ * External dependencies
+ */
+// eslint-disable-next-line no-restricted-imports

- // Hooks
+/**
+ * WordPress dependencies
+ */

+/**
+ * Effect-like ref callback. Just like with `useEffect`, this allows you to
+ * return a cleanup function to be run if the ref changes or one of the
+ * dependencies changes. The ref is provided as an argument to the callback
+ * functions. The main difference between this and `useEffect` is that
+ * the `useEffect` callback is not called when the ref changes, but this is.
+ * Pass the returned ref callback as the component's ref and merge multiple refs
+ * with `useMergeRefs`.
+ *
+ * It's worth noting that if the dependencies array is empty, there's not
+ * strictly a need to clean up event handlers for example, because the node is
+ * to be removed. It *is* necessary if you add dependencies because the ref
+ * callback will be called multiple times for the same node.
+ *
+ * @param  callback     Callback with ref as argument.
+ * @param  dependencies Dependencies of the callback.
+ *
+ * @return Ref callback.
+ */

+function useRefEffect(callback, dependencies) {
+  const cleanup = (0,external_wp_element_namespaceObject.useRef)();
+  return (0,external_wp_element_namespaceObject.useCallback)(node => {
+    if (node) {
+      cleanup.current = callback(node);
+    } else if (cleanup.current) {
+      cleanup.current();
+    }
+  }, dependencies);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-constrained-tabbing/index.js
+/**
+ * WordPress dependencies
+ */


+/**
+ * Internal dependencies
+ */


+/**
+ * In Dialogs/modals, the tabbing must be constrained to the content of
+ * the wrapper element. This hook adds the behavior to the returned ref.
+ *
+ * @return {import('react').RefCallback<Element>} Element Ref.
+ *
+ * @example
+ * ```js
+ * import { useConstrainedTabbing } from '@wordpress/compose';
+ *
+ * const ConstrainedTabbingExample = () => {
+ *     const constrainedTabbingRef = useConstrainedTabbing()
+ *     return (
+ *         <div ref={ constrainedTabbingRef }>
+ *             <Button />
+ *             <Button />
+ *         </div>
+ *     );
+ * }
+ * ```
+ */

+function useConstrainedTabbing() {
+  return useRefEffect((
+  /** @type {HTMLElement} */
+  node) => {
+    /** @type {number|undefined} */
+    let timeoutId;

+    function onKeyDown(
+    /** @type {KeyboardEvent} */
+    event) {
+      const {
+        keyCode,
+        shiftKey,
+        target
+      } = event;

+      if (keyCode !== external_wp_keycodes_namespaceObject.TAB) {
+        return;
+      }

+      const action = shiftKey ? 'findPrevious' : 'findNext';
+      const nextElement = external_wp_dom_namespaceObject.focus.tabbable[action](
+      /** @type {HTMLElement} */
+      target) || null; // If the element that is about to receive focus is outside the
+      // area, move focus to a div and insert it at the start or end of
+      // the area, depending on the direction. Without preventing default
+      // behaviour, the browser will then move focus to the next element.

+      if (node.contains(nextElement)) {
+        return;
+      }

+      const domAction = shiftKey ? 'append' : 'prepend';
+      const {
+        ownerDocument
+      } = node;
+      const trap = ownerDocument.createElement('div');
+      trap.tabIndex = -1;
+      node[domAction](trap);
+      trap.focus(); // Remove after the browser moves focus to the next element.

+      timeoutId = setTimeout(() => node.removeChild(trap));
+    }

+    node.addEventListener('keydown', onKeyDown);
+    return () => {
+      node.removeEventListener('keydown', onKeyDown);
+      clearTimeout(timeoutId);
+    };
+  }, []);
+}

+/* harmony default export */ var use_constrained_tabbing = (useConstrainedTabbing);

+// EXTERNAL MODULE: ./node_modules/clipboard/dist/clipboard.js
+var dist_clipboard = __webpack_require__(8294);
+var clipboard_default = /*#__PURE__*/__webpack_require__.n(dist_clipboard);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-copy-on-click/index.js
+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */



+/* eslint-disable jsdoc/no-undefined-types */

+/**
+ * Copies the text to the clipboard when the element is clicked.
+ *
+ * @deprecated
+ *
+ * @param {import('react').RefObject<string | Element | NodeListOf<Element>>} ref       Reference with the element.
+ * @param {string|Function}                                                   text      The text to copy.
+ * @param {number}                                                            [timeout] Optional timeout to reset the returned
+ *                                                                                      state. 4 seconds by default.
+ *
+ * @return {boolean} Whether or not the text has been copied. Resets after the
+ *                   timeout.
+ */

+function useCopyOnClick(ref, text) {
+  let timeout = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 4000;

+  /* eslint-enable jsdoc/no-undefined-types */
+  external_wp_deprecated_default()('wp.compose.useCopyOnClick', {
+    since: '10.3',
+    plugin: 'Gutenberg',
+    alternative: 'wp.compose.useCopyToClipboard'
+  });
+  /** @type {import('react').MutableRefObject<Clipboard | undefined>} */

+  const clipboard = (0,external_wp_element_namespaceObject.useRef)();
+  const [hasCopied, setHasCopied] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    /** @type {number | undefined} */
+    let timeoutId;

+    if (!ref.current) {
+      return;
+    } // Clipboard listens to click events.


+    clipboard.current = new (clipboard_default())(ref.current, {
+      text: () => typeof text === 'function' ? text() : text
+    });
+    clipboard.current.on('success', _ref => {
+      let {
+        clearSelection,
+        trigger
+      } = _ref;
+      // Clearing selection will move focus back to the triggering button,
+      // ensuring that it is not reset to the body, and further that it is
+      // kept within the rendered node.
+      clearSelection(); // Handle ClipboardJS focus bug, see https://github.com/zenorocha/clipboard.js/issues/680

-/***/ }),
+      if (trigger) {
+        /** @type {HTMLElement} */
+        trigger.focus();
+      }

-/***/ "RxS6":
-/***/ (function(module, exports) {
+      if (timeout) {
+        setHasCopied(true);
+        clearTimeout(timeoutId);
+        timeoutId = setTimeout(() => setHasCopied(false), timeout);
+      }
+    });
+    return () => {
+      if (clipboard.current) {
+        clipboard.current.destroy();
+      }

-(function() { module.exports = window["wp"]["keycodes"]; }());
+      clearTimeout(timeoutId);
+    };
+  }, [text, timeout, setHasCopied]);
+  return hasCopied;
+}

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-copy-to-clipboard/index.js
+/**
+ * External dependencies
+ */

-/***/ "SSiF":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-var e=__webpack_require__("cDcd"),n={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},t=function(t){var r=t.onResize,u=e.useRef();return function(n,t){var r=function(){return n.current&&n.current.contentDocument&&n.current.contentDocument.defaultView};function u(){t();var e=r();e&&e.addEventListener("resize",t)}e.useEffect((function(){return r()?u():n.current&&n.current.addEventListener&&n.current.addEventListener("load",u),function(){var e=r();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(u,(function(){return r(u)})),e.createElement("iframe",{style:n,src:"about:blank",ref:u,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},r=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};module.exports=function(n){void 0===n&&(n=r);var u=e.useState(n(null)),o=u[0],i=u[1],c=e.useCallback((function(e){return i(n(e.current))}),[n]);return[e.useMemo((function(){return e.createElement(t,{onResize:c})}),[c]),o]};

+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "VcSt":
-/***/ (function(module, exports) {
+/**
+ * @template T
+ * @param {T} value
+ * @return {import('react').RefObject<T>} The updated ref
+ */

+function useUpdatedRef(value) {
+  const ref = (0,external_wp_element_namespaceObject.useRef)(value);
+  ref.current = value;
+  return ref;
+}
 /**
- * adds a bindGlobal method to Mousetrap that allows you to
- * bind specific keyboard shortcuts that will still work
- * inside a text input field
+ * Copies the given text to the clipboard when the element is clicked.
  *
- * usage:
- * Mousetrap.bindGlobal('ctrl+s', _saveChanges);
+ * @template {HTMLElement} TElementType
+ * @param {string | (() => string)} text      The text to copy. Use a function if not
+ *                                            already available and expensive to compute.
+ * @param {Function}                onSuccess Called when to text is copied.
+ *
+ * @return {import('react').Ref<TElementType>} A ref to assign to the target element.
  */
-/* global Mousetrap:true */
-(function(Mousetrap) {
-    if (! Mousetrap) {
-        return;
-    }
-    var _globalCallbacks = {};
-    var _originalStopCallback = Mousetrap.prototype.stopCallback;
-
-    Mousetrap.prototype.stopCallback = function(e, element, combo, sequence) {
-        var self = this;
-
-        if (self.paused) {
-            return true;
-        }
-
-        if (_globalCallbacks[combo] || _globalCallbacks[sequence]) {
-            return false;
-        }
-
-        return _originalStopCallback.call(self, e, element, combo);
-    };

-    Mousetrap.prototype.bindGlobal = function(keys, callback, action) {
-        var self = this;
-        self.bind(keys, callback, action);

-        if (keys instanceof Array) {
-            for (var i = 0; i < keys.length; i++) {
-                _globalCallbacks[keys[i]] = true;
-            }
-            return;
-        }
+function useCopyToClipboard(text, onSuccess) {
+  // Store the dependencies as refs and continuesly update them so they're
+  // fresh when the callback is called.
+  const textRef = useUpdatedRef(text);
+  const onSuccessRef = useUpdatedRef(onSuccess);
+  return useRefEffect(node => {
+    // Clipboard listens to click events.
+    const clipboard = new (clipboard_default())(node, {
+      text() {
+        return typeof textRef.current === 'function' ? textRef.current() : textRef.current || '';
+      }

-        _globalCallbacks[keys] = true;
-    };
+    });
+    clipboard.on('success', _ref => {
+      let {
+        clearSelection
+      } = _ref;
+      // Clearing selection will move focus back to the triggering
+      // button, ensuring that it is not reset to the body, and
+      // further that it is kept within the rendered node.
+      clearSelection(); // Handle ClipboardJS focus bug, see
+      // https://github.com/zenorocha/clipboard.js/issues/680

-    Mousetrap.init();
-}) (typeof Mousetrap !== "undefined" ? Mousetrap : undefined);
+      node.focus();

+      if (onSuccessRef.current) {
+        onSuccessRef.current();
+      }
+    });
+    return () => {
+      clipboard.destroy();
+    };
+  }, []);
+}

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-on-mount/index.js
+/**
+ * WordPress dependencies
+ */

-/***/ "XI5e":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["priorityQueue"]; }());
+/**
+ * Hook used to focus the first tabbable element on mount.
+ *
+ * @param {boolean | 'firstElement'} focusOnMount Focus on mount mode.
+ * @return {import('react').RefCallback<HTMLElement>} Ref callback.
+ *
+ * @example
+ * ```js
+ * import { useFocusOnMount } from '@wordpress/compose';
+ *
+ * const WithFocusOnMount = () => {
+ *     const ref = useFocusOnMount()
+ *     return (
+ *         <div ref={ ref }>
+ *             <Button />
+ *             <Button />
+ *         </div>
+ *     );
+ * }
+ * ```
+ */

-/***/ }),
+function useFocusOnMount() {
+  let focusOnMount = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'firstElement';
+  const focusOnMountRef = (0,external_wp_element_namespaceObject.useRef)(focusOnMount);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    focusOnMountRef.current = focusOnMount;
+  }, [focusOnMount]);
+  return (0,external_wp_element_namespaceObject.useCallback)(node => {
+    var _node$ownerDocument$a, _node$ownerDocument;

-/***/ "YLtl":
-/***/ (function(module, exports) {
+    if (!node || focusOnMountRef.current === false) {
+      return;
+    }

-(function() { module.exports = window["lodash"]; }());
+    if (node.contains((_node$ownerDocument$a = (_node$ownerDocument = node.ownerDocument) === null || _node$ownerDocument === void 0 ? void 0 : _node$ownerDocument.activeElement) !== null && _node$ownerDocument$a !== void 0 ? _node$ownerDocument$a : null)) {
+      return;
+    }

-/***/ }),
+    let target = node;

-/***/ "cDcd":
-/***/ (function(module, exports) {
+    if (focusOnMountRef.current === 'firstElement') {
+      const firstTabbable = external_wp_dom_namespaceObject.focus.tabbable.find(node)[0];

-(function() { module.exports = window["React"]; }());
+      if (firstTabbable) {
+        target =
+        /** @type {HTMLElement} */
+        firstTabbable;
+      }
+    }

-/***/ }),
+    target.focus();
+  }, []);
+}

-/***/ "imBb":
-/***/ (function(module, exports, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-return/index.js
+/**
+ * WordPress dependencies
+ */

-var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */
 /**
- * Copyright 2012-2017 Craig Campbell
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+ * When opening modals/sidebars/dialogs, the focus
+ * must move to the opened area and return to the
+ * previously focused element when closed.
+ * The current hook implements the returning behavior.
  *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * @param {() => void} [onFocusReturn] Overrides the default return behavior.
+ * @return {import('react').RefCallback<HTMLElement>} Element Ref.
  *
- * Mousetrap is a simple keyboard shortcut library for Javascript with
- * no external dependencies
+ * @example
+ * ```js
+ * import { useFocusReturn } from '@wordpress/compose';
  *
- * @version 1.6.5
- * @url craig.is/killing/mice
+ * const WithFocusReturn = () => {
+ *     const ref = useFocusReturn()
+ *     return (
+ *         <div ref={ ref }>
+ *             <Button />
+ *             <Button />
+ *         </div>
+ *     );
+ * }
+ * ```
  */
-(function(window, document, undefined) {

-    // Check if mousetrap is used inside browser, if not, return
-    if (!window) {
-        return;
-    }
+function useFocusReturn(onFocusReturn) {
+  /** @type {import('react').MutableRefObject<null | HTMLElement>} */
+  const ref = (0,external_wp_element_namespaceObject.useRef)(null);
+  /** @type {import('react').MutableRefObject<null | Element>} */

-    /**
-     * mapping of special keycodes to their corresponding keys
-     *
-     * everything in this dictionary cannot use keypress events
-     * so it has to be here to map to the correct keycodes for
-     * keyup/keydown events
-     *
-     * @type {Object}
-     */
-    var _MAP = {
-        8: 'backspace',
-        9: 'tab',
-        13: 'enter',
-        16: 'shift',
-        17: 'ctrl',
-        18: 'alt',
-        20: 'capslock',
-        27: 'esc',
-        32: 'space',
-        33: 'pageup',
-        34: 'pagedown',
-        35: 'end',
-        36: 'home',
-        37: 'left',
-        38: 'up',
-        39: 'right',
-        40: 'down',
-        45: 'ins',
-        46: 'del',
-        91: 'meta',
-        93: 'meta',
-        224: 'meta'
-    };
+  const focusedBeforeMount = (0,external_wp_element_namespaceObject.useRef)(null);
+  const onFocusReturnRef = (0,external_wp_element_namespaceObject.useRef)(onFocusReturn);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    onFocusReturnRef.current = onFocusReturn;
+  }, [onFocusReturn]);
+  return (0,external_wp_element_namespaceObject.useCallback)(node => {
+    if (node) {
+      // Set ref to be used when unmounting.
+      ref.current = node; // Only set when the node mounts.

-    /**
-     * mapping for special characters so they can support
-     *
-     * this dictionary is only used incase you want to bind a
-     * keyup or keydown event to one of these keys
-     *
-     * @type {Object}
-     */
-    var _KEYCODE_MAP = {
-        106: '*',
-        107: '+',
-        109: '-',
-        110: '.',
-        111 : '/',
-        186: ';',
-        187: '=',
-        188: ',',
-        189: '-',
-        190: '.',
-        191: '/',
-        192: '`',
-        219: '[',
-        220: '\\',
-        221: ']',
-        222: '\''
-    };
+      if (focusedBeforeMount.current) {
+        return;
+      }

-    /**
-     * this is a mapping of keys that require shift on a US keypad
-     * back to the non shift equivelents
-     *
-     * this is so you can use keyup events with these keys
-     *
-     * note that this will only work reliably on US keyboards
-     *
-     * @type {Object}
-     */
-    var _SHIFT_MAP = {
-        '~': '`',
-        '!': '1',
-        '@': '2',
-        '#': '3',
-        '$': '4',
-        '%': '5',
-        '^': '6',
-        '&': '7',
-        '*': '8',
-        '(': '9',
-        ')': '0',
-        '_': '-',
-        '+': '=',
-        ':': ';',
-        '\"': '\'',
-        '<': ',',
-        '>': '.',
-        '?': '/',
-        '|': '\\'
-    };
+      focusedBeforeMount.current = node.ownerDocument.activeElement;
+    } else if (focusedBeforeMount.current) {
+      var _ref$current, _ref$current2, _ref$current3;

-    /**
-     * this is a list of special strings you can use to map
-     * to modifier keys when you specify your keyboard shortcuts
-     *
-     * @type {Object}
-     */
-    var _SPECIAL_ALIASES = {
-        'option': 'alt',
-        'command': 'meta',
-        'return': 'enter',
-        'escape': 'esc',
-        'plus': '+',
-        'mod': /Mac|iPod|iPhone|iPad/.test(navigator.platform) ? 'meta' : 'ctrl'
-    };
+      const isFocused = (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.contains((_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.ownerDocument.activeElement);

-    /**
-     * variable to store the flipped version of _MAP from above
-     * needed to check if we should use keypress or not when no action
-     * is specified
-     *
-     * @type {Object|undefined}
-     */
-    var _REVERSE_MAP;
+      if ((_ref$current3 = ref.current) !== null && _ref$current3 !== void 0 && _ref$current3.isConnected && !isFocused) {
+        return;
+      } // Defer to the component's own explicit focus return behavior, if
+      // specified. This allows for support that the `onFocusReturn`
+      // decides to allow the default behavior to occur under some
+      // conditions.

-    /**
-     * loop through the f keys, f1 to f19 and add them to the map
-     * programatically
-     */
-    for (var i = 1; i < 20; ++i) {
-        _MAP[111 + i] = 'f' + i;
-    }

-    /**
-     * loop through to map numbers on the numeric keypad
-     */
-    for (i = 0; i <= 9; ++i) {
+      if (onFocusReturnRef.current) {
+        onFocusReturnRef.current();
+      } else {
+        var _focusedBeforeMount$c;

-        // This needs to use a string cause otherwise since 0 is falsey
-        // mousetrap will never fire for numpad 0 pressed as part of a keydown
-        // event.
-        //
-        // @see https://github.com/ccampbell/mousetrap/pull/258
-        _MAP[i + 96] = i.toString();
+        /** @type {null | HTMLElement} */
+        (_focusedBeforeMount$c = focusedBeforeMount.current) === null || _focusedBeforeMount$c === void 0 ? void 0 : _focusedBeforeMount$c.focus();
+      }
     }
+  }, []);
+}

-    /**
-     * cross browser add event method
-     *
-     * @param {Element|HTMLDocument} object
-     * @param {string} type
-     * @param {Function} callback
-     * @returns void
-     */
-    function _addEvent(object, type, callback) {
-        if (object.addEventListener) {
-            object.addEventListener(type, callback, false);
-            return;
-        }
+/* harmony default export */ var use_focus_return = (useFocusReturn);

-        object.attachEvent('on' + type, callback);
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focus-outside/index.js
+/**
+ * External dependencies
+ */

-    /**
-     * takes the event and returns the key character
-     *
-     * @param {Event} e
-     * @return {string}
-     */
-    function _characterFromEvent(e) {
+/**
+ * WordPress dependencies
+ */

-        // for keypress events we should return the character as is
-        if (e.type == 'keypress') {
-            var character = String.fromCharCode(e.which);

-            // if the shift key is not pressed then it is safe to assume
-            // that we want the character to be lowercase.  this means if
-            // you accidentally have caps lock on then your key bindings
-            // will continue to work
-            //
-            // the only side effect that might not be desired is if you
-            // bind something like 'A' cause you want to trigger an
-            // event when capital A is pressed caps lock will no longer
-            // trigger the event.  shift+a will though.
-            if (!e.shiftKey) {
-                character = character.toLowerCase();
-            }
+/**
+ * Input types which are classified as button types, for use in considering
+ * whether element is a (focus-normalized) button.
+ *
+ * @type {string[]}
+ */

-            return character;
-        }
+const INPUT_BUTTON_TYPES = ['button', 'submit'];
+/**
+ * @typedef {HTMLButtonElement | HTMLLinkElement | HTMLInputElement} FocusNormalizedButton
+ */
+// Disable reason: Rule doesn't support predicate return types

-        // for non keypress events the special maps are needed
-        if (_MAP[e.which]) {
-            return _MAP[e.which];
-        }
+/* eslint-disable jsdoc/valid-types */

-        if (_KEYCODE_MAP[e.which]) {
-            return _KEYCODE_MAP[e.which];
-        }
+/**
+ * Returns true if the given element is a button element subject to focus
+ * normalization, or false otherwise.
+ *
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
+ *
+ * @param {EventTarget} eventTarget The target from a mouse or touch event.
+ *
+ * @return {eventTarget is FocusNormalizedButton} Whether element is a button.
+ */

-        // if it is not in the special map
+function isFocusNormalizedButton(eventTarget) {
+  if (!(eventTarget instanceof window.HTMLElement)) {
+    return false;
+  }

-        // with keydown and keyup events the character seems to always
-        // come in as an uppercase character whether you are pressing shift
-        // or not.  we should make sure it is always lowercase for comparisons
-        return String.fromCharCode(e.which).toLowerCase();
-    }
+  switch (eventTarget.nodeName) {
+    case 'A':
+    case 'BUTTON':
+      return true;

-    /**
-     * checks if two arrays are equal
-     *
-     * @param {Array} modifiers1
-     * @param {Array} modifiers2
-     * @returns {boolean}
-     */
-    function _modifiersMatch(modifiers1, modifiers2) {
-        return modifiers1.sort().join(',') === modifiers2.sort().join(',');
-    }
+    case 'INPUT':
+      return (0,external_lodash_namespaceObject.includes)(INPUT_BUTTON_TYPES,
+      /** @type {HTMLInputElement} */
+      eventTarget.type);
+  }

-    /**
-     * takes a key event and figures out what the modifiers are
-     *
-     * @param {Event} e
-     * @returns {Array}
-     */
-    function _eventModifiers(e) {
-        var modifiers = [];
+  return false;
+}
+/* eslint-enable jsdoc/valid-types */

-        if (e.shiftKey) {
-            modifiers.push('shift');
-        }
+/**
+ * @typedef {import('react').SyntheticEvent} SyntheticEvent
+ */

-        if (e.altKey) {
-            modifiers.push('alt');
-        }
+/**
+ * @callback EventCallback
+ * @param {SyntheticEvent} event input related event.
+ */

-        if (e.ctrlKey) {
-            modifiers.push('ctrl');
-        }
+/**
+ * @typedef FocusOutsideReactElement
+ * @property {EventCallback} handleFocusOutside callback for a focus outside event.
+ */

-        if (e.metaKey) {
-            modifiers.push('meta');
-        }
+/**
+ * @typedef {import('react').MutableRefObject<FocusOutsideReactElement | undefined>} FocusOutsideRef
+ */

-        return modifiers;
-    }
+/**
+ * @typedef {Object} FocusOutsideReturnValue
+ * @property {EventCallback} onFocus      An event handler for focus events.
+ * @property {EventCallback} onBlur       An event handler for blur events.
+ * @property {EventCallback} onMouseDown  An event handler for mouse down events.
+ * @property {EventCallback} onMouseUp    An event handler for mouse up events.
+ * @property {EventCallback} onTouchStart An event handler for touch start events.
+ * @property {EventCallback} onTouchEnd   An event handler for touch end events.
+ */

-    /**
-     * prevents default for this event
-     *
-     * @param {Event} e
-     * @returns void
-     */
-    function _preventDefault(e) {
-        if (e.preventDefault) {
-            e.preventDefault();
-            return;
-        }
+/**
+ * A react hook that can be used to check whether focus has moved outside the
+ * element the event handlers are bound to.
+ *
+ * @param {EventCallback} onFocusOutside A callback triggered when focus moves outside
+ *                                       the element the event handlers are bound to.
+ *
+ * @return {FocusOutsideReturnValue} An object containing event handlers. Bind the event handlers
+ *                                   to a wrapping element element to capture when focus moves
+ *                                   outside that element.
+ */

-        e.returnValue = false;
+
+function useFocusOutside(onFocusOutside) {
+  const currentOnFocusOutside = (0,external_wp_element_namespaceObject.useRef)(onFocusOutside);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    currentOnFocusOutside.current = onFocusOutside;
+  }, [onFocusOutside]);
+  const preventBlurCheck = (0,external_wp_element_namespaceObject.useRef)(false);
+  /**
+   * @type {import('react').MutableRefObject<number | undefined>}
+   */
+
+  const blurCheckTimeoutId = (0,external_wp_element_namespaceObject.useRef)();
+  /**
+   * Cancel a blur check timeout.
+   */
+
+  const cancelBlurCheck = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    clearTimeout(blurCheckTimeoutId.current);
+  }, []); // Cancel blur checks on unmount.
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return () => cancelBlurCheck();
+  }, []); // Cancel a blur check if the callback or ref is no longer provided.
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!onFocusOutside) {
+      cancelBlurCheck();
     }
+  }, [onFocusOutside, cancelBlurCheck]);
+  /**
+   * Handles a mousedown or mouseup event to respectively assign and
+   * unassign a flag for preventing blur check on button elements. Some
+   * browsers, namely Firefox and Safari, do not emit a focus event on
+   * button elements when clicked, while others do. The logic here
+   * intends to normalize this as treating click on buttons as focus.
+   *
+   * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus
+   *
+   * @param {SyntheticEvent} event Event for mousedown or mouseup.
+   */

-    /**
-     * stops propogation for this event
-     *
-     * @param {Event} e
-     * @returns void
-     */
-    function _stopPropagation(e) {
-        if (e.stopPropagation) {
-            e.stopPropagation();
-            return;
-        }
+  const normalizeButtonFocus = (0,external_wp_element_namespaceObject.useCallback)(event => {
+    const {
+      type,
+      target
+    } = event;
+    const isInteractionEnd = (0,external_lodash_namespaceObject.includes)(['mouseup', 'touchend'], type);
+
+    if (isInteractionEnd) {
+      preventBlurCheck.current = false;
+    } else if (isFocusNormalizedButton(target)) {
+      preventBlurCheck.current = true;
+    }
+  }, []);
+  /**
+   * A callback triggered when a blur event occurs on the element the handler
+   * is bound to.
+   *
+   * Calls the `onFocusOutside` callback in an immediate timeout if focus has
+   * move outside the bound element and is still within the document.
+   *
+   * @param {SyntheticEvent} event Blur event.
+   */

-        e.cancelBubble = true;
-    }
+  const queueBlurCheck = (0,external_wp_element_namespaceObject.useCallback)(event => {
+    // React does not allow using an event reference asynchronously
+    // due to recycling behavior, except when explicitly persisted.
+    event.persist(); // Skip blur check if clicking button. See `normalizeButtonFocus`.

-    /**
-     * determines if the keycode specified is a modifier key or not
-     *
-     * @param {string} key
-     * @returns {boolean}
-     */
-    function _isModifier(key) {
-        return key == 'shift' || key == 'ctrl' || key == 'alt' || key == 'meta';
+    if (preventBlurCheck.current) {
+      return;
     }

-    /**
-     * reverses the map lookup so that we can look for specific keys
-     * to see what can and can't use keypress
-     *
-     * @return {Object}
-     */
-    function _getReverseMap() {
-        if (!_REVERSE_MAP) {
-            _REVERSE_MAP = {};
-            for (var key in _MAP) {
-
-                // pull out the numeric keypad from here cause keypress should
-                // be able to detect the keys from the character
-                if (key > 95 && key < 112) {
-                    continue;
-                }
+    blurCheckTimeoutId.current = setTimeout(() => {
+      // If document is not focused then focus should remain
+      // inside the wrapped component and therefore we cancel
+      // this blur event thereby leaving focus in place.
+      // https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus.
+      if (!document.hasFocus()) {
+        event.preventDefault();
+        return;
+      }

-                if (_MAP.hasOwnProperty(key)) {
-                    _REVERSE_MAP[_MAP[key]] = key;
-                }
-            }
-        }
-        return _REVERSE_MAP;
-    }
+      if ('function' === typeof currentOnFocusOutside.current) {
+        currentOnFocusOutside.current(event);
+      }
+    }, 0);
+  }, []);
+  return {
+    onFocus: cancelBlurCheck,
+    onMouseDown: normalizeButtonFocus,
+    onMouseUp: normalizeButtonFocus,
+    onTouchStart: normalizeButtonFocus,
+    onTouchEnd: normalizeButtonFocus,
+    onBlur: queueBlurCheck
+  };
+}

-    /**
-     * picks the best action based on the key combination
-     *
-     * @param {string} key - character for key
-     * @param {Array} modifiers
-     * @param {string=} action passed in
-     */
-    function _pickBestAction(key, modifiers, action) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-merge-refs/index.js
+/**
+ * WordPress dependencies
+ */

-        // if no action was picked in we should try to pick the one
-        // that we think would work best for this key
-        if (!action) {
-            action = _getReverseMap()[key] ? 'keydown' : 'keypress';
-        }
+/* eslint-disable jsdoc/valid-types */

-        // modifier keys don't work as expected with keypress,
-        // switch to keydown
-        if (action == 'keypress' && modifiers.length) {
-            action = 'keydown';
-        }
+/**
+ * @template T
+ * @typedef {T extends import('react').Ref<infer R> ? R : never} TypeFromRef
+ */

-        return action;
-    }
+/* eslint-enable jsdoc/valid-types */

-    /**
-     * Converts from a string key combination to an array
-     *
-     * @param  {string} combination like "command+shift+l"
-     * @return {Array}
-     */
-    function _keysFromString(combination) {
-        if (combination === '+') {
-            return ['+'];
-        }
+/**
+ * @template T
+ * @param {import('react').Ref<T>} ref
+ * @param {T}                      value
+ */

-        combination = combination.replace(/\+{2}/g, '+plus');
-        return combination.split('+');
-    }
+function assignRef(ref, value) {
+  if (typeof ref === 'function') {
+    ref(value);
+  } else if (ref && ref.hasOwnProperty('current')) {
+    /* eslint-disable jsdoc/no-undefined-types */

-    /**
-     * Gets info for a specific key combination
-     *
-     * @param  {string} combination key combination ("command+s" or "a" or "*")
-     * @param  {string=} action
-     * @returns {Object}
-     */
-    function _getKeyInfo(combination, action) {
-        var keys;
-        var key;
-        var i;
-        var modifiers = [];
+    /** @type {import('react').MutableRefObject<T>} */
+    ref.current = value;
+    /* eslint-enable jsdoc/no-undefined-types */
+  }
+}
+/**
+ * Merges refs into one ref callback.
+ *
+ * It also ensures that the merged ref callbacks are only called when they
+ * change (as a result of a `useCallback` dependency update) OR when the ref
+ * value changes, just as React does when passing a single ref callback to the
+ * component.
+ *
+ * As expected, if you pass a new function on every render, the ref callback
+ * will be called after every render.
+ *
+ * If you don't wish a ref callback to be called after every render, wrap it
+ * with `useCallback( callback, dependencies )`. When a dependency changes, the
+ * old ref callback will be called with `null` and the new ref callback will be
+ * called with the same value.
+ *
+ * To make ref callbacks easier to use, you can also pass the result of
+ * `useRefEffect`, which makes cleanup easier by allowing you to return a
+ * cleanup function instead of handling `null`.
+ *
+ * It's also possible to _disable_ a ref (and its behaviour) by simply not
+ * passing the ref.
+ *
+ * ```jsx
+ * const ref = useRefEffect( ( node ) => {
+ *   node.addEventListener( ... );
+ *   return () => {
+ *     node.removeEventListener( ... );
+ *   };
+ * }, [ ...dependencies ] );
+ * const otherRef = useRef();
+ * const mergedRefs useMergeRefs( [
+ *   enabled && ref,
+ *   otherRef,
+ * ] );
+ * return <div ref={ mergedRefs } />;
+ * ```
+ *
+ * @template {import('react').Ref<any>} TRef
+ * @param {Array<TRef>} refs The refs to be merged.
+ *
+ * @return {import('react').RefCallback<TypeFromRef<TRef>>} The merged ref callback.
+ */

-        // take the keys from this pattern and figure out what the actual
-        // pattern is all about
-        keys = _keysFromString(combination);

-        for (i = 0; i < keys.length; ++i) {
-            key = keys[i];
+function useMergeRefs(refs) {
+  const element = (0,external_wp_element_namespaceObject.useRef)();
+  const didElementChange = (0,external_wp_element_namespaceObject.useRef)(false);
+  /* eslint-disable jsdoc/no-undefined-types */

-            // normalize key names
-            if (_SPECIAL_ALIASES[key]) {
-                key = _SPECIAL_ALIASES[key];
-            }
+  /** @type {import('react').MutableRefObject<TRef[]>} */

-            // if this is not a keypress event then we should
-            // be smart about using shift keys
-            // this will only work for US keyboards however
-            if (action && action != 'keypress' && _SHIFT_MAP[key]) {
-                key = _SHIFT_MAP[key];
-                modifiers.push('shift');
-            }
+  /* eslint-enable jsdoc/no-undefined-types */

-            // if this key is a modifier then add it to the list of modifiers
-            if (_isModifier(key)) {
-                modifiers.push(key);
-            }
-        }
+  const previousRefs = (0,external_wp_element_namespaceObject.useRef)([]);
+  const currentRefs = (0,external_wp_element_namespaceObject.useRef)(refs); // Update on render before the ref callback is called, so the ref callback
+  // always has access to the current refs.

-        // depending on what the key combination is
-        // we will try to pick the best event for it
-        action = _pickBestAction(key, modifiers, action);
+  currentRefs.current = refs; // If any of the refs change, call the previous ref with `null` and the new
+  // ref with the node, except when the element changes in the same cycle, in
+  // which case the ref callbacks will already have been called.

-        return {
-            key: key,
-            modifiers: modifiers,
-            action: action
-        };
-    }
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    if (didElementChange.current === false) {
+      refs.forEach((ref, index) => {
+        const previousRef = previousRefs.current[index];

-    function _belongsTo(element, ancestor) {
-        if (element === null || element === document) {
-            return false;
+        if (ref !== previousRef) {
+          assignRef(previousRef, null);
+          assignRef(ref, element.current);
         }
+      });
+    }

-        if (element === ancestor) {
-            return true;
-        }
+    previousRefs.current = refs;
+  }, refs); // No dependencies, must be reset after every render so ref callbacks are
+  // correctly called after a ref change.

-        return _belongsTo(element.parentNode, ancestor);
-    }
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    didElementChange.current = false;
+  }); // There should be no dependencies so that `callback` is only called when
+  // the node changes.

-    function Mousetrap(targetElement) {
-        var self = this;
+  return (0,external_wp_element_namespaceObject.useCallback)(value => {
+    // Update the element so it can be used when calling ref callbacks on a
+    // dependency change.
+    assignRef(element, value);
+    didElementChange.current = true; // When an element changes, the current ref callback should be called
+    // with the new element and the previous one with `null`.

-        targetElement = targetElement || document;
+    const refsToAssign = value ? currentRefs.current : previousRefs.current; // Update the latest refs.

-        if (!(self instanceof Mousetrap)) {
-            return new Mousetrap(targetElement);
-        }
+    for (const ref of refsToAssign) {
+      assignRef(ref, value);
+    }
+  }, []);
+}

-        /**
-         * element to attach key events to
-         *
-         * @type {Element}
-         */
-        self.target = targetElement;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-dialog/index.js
+/**
+ * WordPress dependencies
+ */

-        /**
-         * a list of all the callbacks setup via Mousetrap.bind()
-         *
-         * @type {Object}
-         */
-        self._callbacks = {};

-        /**
-         * direct map of string combinations to callbacks used for trigger()
-         *
-         * @type {Object}
-         */
-        self._directMap = {};
+/**
+ * Internal dependencies
+ */

-        /**
-         * keeps track of what level each sequence is at since multiple
-         * sequences can start out with the same sequence
-         *
-         * @type {Object}
-         */
-        var _sequenceLevels = {};

-        /**
-         * variable to store the setTimeout call
-         *
-         * @type {null|number}
-         */
-        var _resetTimer;

-        /**
-         * temporary state where we will ignore the next keyup
-         *
-         * @type {boolean|string}
-         */
-        var _ignoreNextKeyup = false;

-        /**
-         * temporary state where we will ignore the next keypress
-         *
-         * @type {boolean}
-         */
-        var _ignoreNextKeypress = false;

-        /**
-         * are we currently inside of a sequence?
-         * type of action ("keyup" or "keydown" or "keypress") or false
-         *
-         * @type {boolean|string}
-         */
-        var _nextExpectedAction = false;

-        /**
-         * resets all sequence counters except for the ones passed in
-         *
-         * @param {Object} doNotReset
-         * @returns void
-         */
-        function _resetSequences(doNotReset) {
-            doNotReset = doNotReset || {};
+/* eslint-disable jsdoc/valid-types */

-            var activeSequences = false,
-                key;
+/**
+ * @typedef DialogOptions
+ * @property {Parameters<useFocusOnMount>[0]} focusOnMount Focus on mount arguments.
+ * @property {() => void}                     onClose      Function to call when the dialog is closed.
+ */

-            for (key in _sequenceLevels) {
-                if (doNotReset[key]) {
-                    activeSequences = true;
-                    continue;
-                }
-                _sequenceLevels[key] = 0;
-            }
+/* eslint-enable jsdoc/valid-types */

-            if (!activeSequences) {
-                _nextExpectedAction = false;
-            }
-        }
+/**
+ * Returns a ref and props to apply to a dialog wrapper to enable the following behaviors:
+ *  - constrained tabbing.
+ *  - focus on mount.
+ *  - return focus on unmount.
+ *  - focus outside.
+ *
+ * @param {DialogOptions} options Dialog Options.
+ */

-        /**
-         * finds all callbacks that match based on the keycode, modifiers,
-         * and action
-         *
-         * @param {string} character
-         * @param {Array} modifiers
-         * @param {Event|Object} e
-         * @param {string=} sequenceName - name of the sequence we are looking for
-         * @param {string=} combination
-         * @param {number=} level
-         * @returns {Array}
-         */
-        function _getMatches(character, modifiers, e, sequenceName, combination, level) {
-            var i;
-            var callback;
-            var matches = [];
-            var action = e.type;
+function useDialog(options) {
+  /**
+   * @type {import('react').MutableRefObject<DialogOptions | undefined>}
+   */
+  const currentOptions = (0,external_wp_element_namespaceObject.useRef)();
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    currentOptions.current = options;
+  }, Object.values(options));
+  const constrainedTabbingRef = use_constrained_tabbing();
+  const focusOnMountRef = useFocusOnMount(options.focusOnMount);
+  const focusReturnRef = use_focus_return();
+  const focusOutsideProps = useFocusOutside(event => {
+    var _currentOptions$curre, _currentOptions$curre2;

-            // if there are no events related to this keycode
-            if (!self._callbacks[character]) {
-                return [];
-            }
+    // This unstable prop  is here only to manage backward compatibility
+    // for the Popover component otherwise, the onClose should be enough.
+    // @ts-ignore unstable property
+    if ((_currentOptions$curre = currentOptions.current) !== null && _currentOptions$curre !== void 0 && _currentOptions$curre.__unstableOnClose) {
+      // @ts-ignore unstable property
+      currentOptions.current.__unstableOnClose('focus-outside', event);
+    } else if ((_currentOptions$curre2 = currentOptions.current) !== null && _currentOptions$curre2 !== void 0 && _currentOptions$curre2.onClose) {
+      currentOptions.current.onClose();
+    }
+  });
+  const closeOnEscapeRef = (0,external_wp_element_namespaceObject.useCallback)(node => {
+    if (!node) {
+      return;
+    }

-            // if a modifier key is coming up on its own we should allow it
-            if (action == 'keyup' && _isModifier(character)) {
-                modifiers = [character];
-            }
+    node.addEventListener('keydown', (
+    /** @type {KeyboardEvent} */
+    event) => {
+      var _currentOptions$curre3;

-            // loop through all callbacks for the key that was pressed
-            // and see if any of them match
-            for (i = 0; i < self._callbacks[character].length; ++i) {
-                callback = self._callbacks[character][i];
+      // Close on escape
+      if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented && (_currentOptions$curre3 = currentOptions.current) !== null && _currentOptions$curre3 !== void 0 && _currentOptions$curre3.onClose) {
+        event.preventDefault();
+        currentOptions.current.onClose();
+      }
+    });
+  }, []);
+  return [useMergeRefs([options.focusOnMount !== false ? constrainedTabbingRef : null, options.focusOnMount !== false ? focusReturnRef : null, options.focusOnMount !== false ? focusOnMountRef : null, closeOnEscapeRef]), { ...focusOutsideProps,
+    tabIndex: '-1'
+  }];
+}

-                // if a sequence name is not specified, but this is a sequence at
-                // the wrong level then move onto the next match
-                if (!sequenceName && callback.seq && _sequenceLevels[callback.seq] != callback.level) {
-                    continue;
-                }
+/* harmony default export */ var use_dialog = (useDialog);

-                // if the action we are looking for doesn't match the action we got
-                // then we should keep going
-                if (action != callback.action) {
-                    continue;
-                }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-disabled/index.js
+/**
+ * External dependencies
+ */

-                // if this is a keypress event and the meta key and control key
-                // are not pressed that means that we need to only look at the
-                // character, otherwise check the modifiers as well
-                //
-                // chrome will not fire a keypress if meta or control is down
-                // safari will fire a keypress if meta or meta+shift is down
-                // firefox will fire a keypress if meta or control is down
-                if ((action == 'keypress' && !e.metaKey && !e.ctrlKey) || _modifiersMatch(modifiers, callback.modifiers)) {
+/**
+ * WordPress dependencies
+ */

-                    // when you bind a combination or sequence a second time it
-                    // should overwrite the first one.  if a sequenceName or
-                    // combination is specified in this call it does just that
-                    //
-                    // @todo make deleting its own method?
-                    var deleteCombo = !sequenceName && callback.combo == combination;
-                    var deleteSequence = sequenceName && callback.seq == sequenceName && callback.level == level;
-                    if (deleteCombo || deleteSequence) {
-                        self._callbacks[character].splice(i, 1);
-                    }

-                    matches.push(callback);
-                }
-            }

-            return matches;
-        }
+/**
+ * Names of control nodes which qualify for disabled behavior.
+ *
+ * See WHATWG HTML Standard: 4.10.18.5: "Enabling and disabling form controls: the disabled attribute".
+ *
+ * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#enabling-and-disabling-form-controls:-the-disabled-attribute
+ *
+ * @type {string[]}
+ */

-        /**
-         * actually calls the callback function
-         *
-         * if your callback function returns false this will use the jquery
-         * convention - prevent default and stop propogation on the event
-         *
-         * @param {Function} callback
-         * @param {Event} e
-         * @returns void
-         */
-        function _fireCallback(callback, e, combo, sequence) {
+const DISABLED_ELIGIBLE_NODE_NAMES = ['BUTTON', 'FIELDSET', 'INPUT', 'OPTGROUP', 'OPTION', 'SELECT', 'TEXTAREA'];
+/**
+ * In some circumstances, such as block previews, all focusable DOM elements
+ * (input fields, links, buttons, etc.) need to be disabled. This hook adds the
+ * behavior to disable nested DOM elements to the returned ref.
+ *
+ * @return {import('react').RefObject<HTMLElement>} Element Ref.
+ *
+ * @example
+ * ```js
+ * import { __experimentalUseDisabled as useDisabled } from '@wordpress/compose';
+ * const DisabledExample = () => {
+ * 	const disabledRef = useDisabled();
+ *	return (
+ *		<div ref={ disabledRef }>
+ *			<a href="#">This link will have tabindex set to -1</a>
+ *			<input placeholder="This input will have the disabled attribute added to it." type="text" />
+ *		</div>
+ *	);
+ * };
+ * ```
+ */

-            // if this event should not happen stop here
-            if (self.stopCallback(e, e.target || e.srcElement, combo, sequence)) {
-                return;
-            }
+function useDisabled() {
+  /** @type {import('react').RefObject<HTMLElement>} */
+  const node = (0,external_wp_element_namespaceObject.useRef)(null);

-            if (callback(e, combo) === false) {
-                _preventDefault(e);
-                _stopPropagation(e);
-            }
-        }
+  const disable = () => {
+    if (!node.current) {
+      return;
+    }

-        /**
-         * handles a character key event
-         *
-         * @param {string} character
-         * @param {Array} modifiers
-         * @param {Event} e
-         * @returns void
-         */
-        self._handleKey = function(character, modifiers, e) {
-            var callbacks = _getMatches(character, modifiers, e);
-            var i;
-            var doNotReset = {};
-            var maxLevel = 0;
-            var processedSequenceCallback = false;
+    external_wp_dom_namespaceObject.focus.focusable.find(node.current).forEach(focusable => {
+      if ((0,external_lodash_namespaceObject.includes)(DISABLED_ELIGIBLE_NODE_NAMES, focusable.nodeName)) {
+        focusable.setAttribute('disabled', '');
+      }

-            // Calculate the maxLevel for sequences so we can only execute the longest callback sequence
-            for (i = 0; i < callbacks.length; ++i) {
-                if (callbacks[i].seq) {
-                    maxLevel = Math.max(maxLevel, callbacks[i].level);
-                }
-            }
+      if (focusable.nodeName === 'A') {
+        focusable.setAttribute('tabindex', '-1');
+      }

-            // loop through matching callbacks for this key event
-            for (i = 0; i < callbacks.length; ++i) {
+      const tabIndex = focusable.getAttribute('tabindex');

-                // fire for all sequence callbacks
-                // this is because if for example you have multiple sequences
-                // bound such as "g i" and "g t" they both need to fire the
-                // callback for matching g cause otherwise you can only ever
-                // match the first one
-                if (callbacks[i].seq) {
+      if (tabIndex !== null && tabIndex !== '-1') {
+        focusable.removeAttribute('tabindex');
+      }

-                    // only fire callbacks for the maxLevel to prevent
-                    // subsequences from also firing
-                    //
-                    // for example 'a option b' should not cause 'option b' to fire
-                    // even though 'option b' is part of the other sequence
-                    //
-                    // any sequences that do not match here will be discarded
-                    // below by the _resetSequences call
-                    if (callbacks[i].level != maxLevel) {
-                        continue;
-                    }
+      if (focusable.hasAttribute('contenteditable')) {
+        focusable.setAttribute('contenteditable', 'false');
+      }
+    });
+  }; // Debounce re-disable since disabling process itself will incur
+  // additional mutations which should be ignored.

-                    processedSequenceCallback = true;

-                    // keep a list of which sequences were matches for later
-                    doNotReset[callbacks[i].seq] = 1;
-                    _fireCallback(callbacks[i].callback, e, callbacks[i].combo, callbacks[i].seq);
-                    continue;
-                }
+  const debouncedDisable = (0,external_wp_element_namespaceObject.useCallback)((0,external_lodash_namespaceObject.debounce)(disable, undefined, {
+    leading: true
+  }), []);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    disable();
+    /** @type {MutationObserver | undefined} */

-                // if there were no sequence matches but we are still here
-                // that means this is a regular match so we should fire that
-                if (!processedSequenceCallback) {
-                    _fireCallback(callbacks[i].callback, e, callbacks[i].combo);
-                }
-            }
+    let observer;

-            // if the key you pressed matches the type of sequence without
-            // being a modifier (ie "keyup" or "keypress") then we should
-            // reset all sequences that were not matched by this event
-            //
-            // this is so, for example, if you have the sequence "h a t" and you
-            // type "h e a r t" it does not match.  in this case the "e" will
-            // cause the sequence to reset
-            //
-            // modifier keys are ignored because you can have a sequence
-            // that contains modifiers such as "enter ctrl+space" and in most
-            // cases the modifier key will be pressed before the next key
-            //
-            // also if you have a sequence such as "ctrl+b a" then pressing the
-            // "b" key will trigger a "keypress" and a "keydown"
-            //
-            // the "keydown" is expected when there is a modifier, but the
-            // "keypress" ends up matching the _nextExpectedAction since it occurs
-            // after and that causes the sequence to reset
-            //
-            // we ignore keypresses in a sequence that directly follow a keydown
-            // for the same character
-            var ignoreThisKeypress = e.type == 'keypress' && _ignoreNextKeypress;
-            if (e.type == _nextExpectedAction && !_isModifier(character) && !ignoreThisKeypress) {
-                _resetSequences(doNotReset);
-            }
+    if (node.current) {
+      observer = new window.MutationObserver(debouncedDisable);
+      observer.observe(node.current, {
+        childList: true,
+        attributes: true,
+        subtree: true
+      });
+    }

-            _ignoreNextKeypress = processedSequenceCallback && e.type == 'keydown';
-        };
+    return () => {
+      if (observer) {
+        observer.disconnect();
+      }

-        /**
-         * handles a keydown event
-         *
-         * @param {Event} e
-         * @returns void
-         */
-        function _handleKeyEvent(e) {
+      debouncedDisable.cancel();
+    };
+  }, []);
+  return node;
+}

-            // normalize e.which for key events
-            // @see http://stackoverflow.com/questions/4285627/javascript-keycode-vs-charcode-utter-confusion
-            if (typeof e.which !== 'number') {
-                e.which = e.keyCode;
-            }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-isomorphic-layout-effect/index.js
+/**
+ * WordPress dependencies
+ */

-            var character = _characterFromEvent(e);
+/**
+ * Preferred over direct usage of `useLayoutEffect` when supporting
+ * server rendered components (SSR) because currently React
+ * throws a warning when using useLayoutEffect in that environment.
+ */

-            // no character found then stop
-            if (!character) {
-                return;
-            }
+const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? external_wp_element_namespaceObject.useLayoutEffect : external_wp_element_namespaceObject.useEffect;
+/* harmony default export */ var use_isomorphic_layout_effect = (useIsomorphicLayoutEffect);

-            // need to use === for the character check because the character can be 0
-            if (e.type == 'keyup' && _ignoreNextKeyup === character) {
-                _ignoreNextKeyup = false;
-                return;
-            }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-dragging/index.js
+/**
+ * WordPress dependencies
+ */

-            self.handleKey(character, _eventModifiers(e), e);
-        }
+/**
+ * Internal dependencies
+ */

-        /**
-         * called to set a 1 second timeout on the specified sequence
-         *
-         * this is so after each key press in the sequence you have 1 second
-         * to press the next key before you have to start over
-         *
-         * @returns void
-         */
-        function _resetSequenceTimer() {
-            clearTimeout(_resetTimer);
-            _resetTimer = setTimeout(_resetSequences, 1000);
-        }

-        /**
-         * binds a key sequence to an event
-         *
-         * @param {string} combo - combo specified in bind call
-         * @param {Array} keys
-         * @param {Function} callback
-         * @param {string=} action
-         * @returns void
-         */
-        function _bindSequence(combo, keys, callback, action) {
+/**
+ * @param {Object}                  props
+ * @param {(e: MouseEvent) => void} props.onDragStart
+ * @param {(e: MouseEvent) => void} props.onDragMove
+ * @param {(e: MouseEvent) => void} props.onDragEnd
+ */

-            // start off by adding a sequence level record for this combination
-            // and setting the level to 0
-            _sequenceLevels[combo] = 0;
+function useDragging(_ref) {
+  let {
+    onDragStart,
+    onDragMove,
+    onDragEnd
+  } = _ref;
+  const [isDragging, setIsDragging] = (0,external_wp_element_namespaceObject.useState)(false);
+  const eventsRef = (0,external_wp_element_namespaceObject.useRef)({
+    onDragStart,
+    onDragMove,
+    onDragEnd
+  });
+  use_isomorphic_layout_effect(() => {
+    eventsRef.current.onDragStart = onDragStart;
+    eventsRef.current.onDragMove = onDragMove;
+    eventsRef.current.onDragEnd = onDragEnd;
+  }, [onDragStart, onDragMove, onDragEnd]);
+  const onMouseMove = (0,external_wp_element_namespaceObject.useCallback)((
+  /** @type {MouseEvent} */
+  event) => eventsRef.current.onDragMove && eventsRef.current.onDragMove(event), []);
+  const endDrag = (0,external_wp_element_namespaceObject.useCallback)((
+  /** @type {MouseEvent} */
+  event) => {
+    if (eventsRef.current.onDragEnd) {
+      eventsRef.current.onDragEnd(event);
+    }

-            /**
-             * callback to increase the sequence level for this sequence and reset
-             * all other sequences that were active
-             *
-             * @param {string} nextAction
-             * @returns {Function}
-             */
-            function _increaseSequence(nextAction) {
-                return function() {
-                    _nextExpectedAction = nextAction;
-                    ++_sequenceLevels[combo];
-                    _resetSequenceTimer();
-                };
-            }
+    document.removeEventListener('mousemove', onMouseMove);
+    document.removeEventListener('mouseup', endDrag);
+    setIsDragging(false);
+  }, []);
+  const startDrag = (0,external_wp_element_namespaceObject.useCallback)((
+  /** @type {MouseEvent} */
+  event) => {
+    if (eventsRef.current.onDragStart) {
+      eventsRef.current.onDragStart(event);
+    }

-            /**
-             * wraps the specified callback inside of another function in order
-             * to reset all sequence counters as soon as this sequence is done
-             *
-             * @param {Event} e
-             * @returns void
-             */
-            function _callbackAndReset(e) {
-                _fireCallback(callback, e, combo);
+    document.addEventListener('mousemove', onMouseMove);
+    document.addEventListener('mouseup', endDrag);
+    setIsDragging(true);
+  }, []); // Remove the global events when unmounting if needed.
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return () => {
+      if (isDragging) {
+        document.removeEventListener('mousemove', onMouseMove);
+        document.removeEventListener('mouseup', endDrag);
+      }
+    };
+  }, [isDragging]);
+  return {
+    startDrag,
+    endDrag,
+    isDragging
+  };
+}

-                // we should ignore the next key up if the action is key down
-                // or keypress.  this is so if you finish a sequence and
-                // release the key the final key will not trigger a keyup
-                if (action !== 'keyup') {
-                    _ignoreNextKeyup = _characterFromEvent(e);
-                }
+// EXTERNAL MODULE: ./node_modules/mousetrap/mousetrap.js
+var mousetrap_mousetrap = __webpack_require__(7973);
+var mousetrap_default = /*#__PURE__*/__webpack_require__.n(mousetrap_mousetrap);
+// EXTERNAL MODULE: ./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js
+var mousetrap_global_bind = __webpack_require__(5538);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-keyboard-shortcut/index.js
+/**
+ * External dependencies
+ */

-                // weird race condition if a sequence ends with the key
-                // another sequence begins with
-                setTimeout(_resetSequences, 10);
-            }

-            // loop through keys one at a time and bind the appropriate callback
-            // function.  for any key leading up to the final one it should
-            // increase the sequence. after the final, it should reset all sequences
-            //
-            // if an action is specified in the original bind call then that will
-            // be used throughout.  otherwise we will pass the action that the
-            // next key in the sequence should match.  this allows a sequence
-            // to mix and match keypress and keydown events depending on which
-            // ones are better suited to the key provided
-            for (var i = 0; i < keys.length; ++i) {
-                var isFinal = i + 1 === keys.length;
-                var wrappedCallback = isFinal ? _callbackAndReset : _increaseSequence(action || _getKeyInfo(keys[i + 1]).action);
-                _bindSingle(keys[i], wrappedCallback, action, combo, i);
-            }
-        }

-        /**
-         * binds a single keyboard combination
-         *
-         * @param {string} combination
-         * @param {Function} callback
-         * @param {string=} action
-         * @param {string=} sequenceName - name of sequence if part of sequence
-         * @param {number=} level - what part of the sequence the command is
-         * @returns void
-         */
-        function _bindSingle(combination, callback, action, sequenceName, level) {
+/**
+ * WordPress dependencies
+ */

-            // store a direct mapped reference for use with Mousetrap.trigger
-            self._directMap[combination + ':' + action] = callback;

-            // make sure multiple spaces in a row become a single space
-            combination = combination.replace(/\s+/g, ' ');
+/**
+ * A block selection object.
+ *
+ * @typedef {Object} WPKeyboardShortcutConfig
+ *
+ * @property {boolean}                                [bindGlobal] Handle keyboard events anywhere including inside textarea/input fields.
+ * @property {string}                                 [eventName]  Event name used to trigger the handler, defaults to keydown.
+ * @property {boolean}                                [isDisabled] Disables the keyboard handler if the value is true.
+ * @property {import('react').RefObject<HTMLElement>} [target]     React reference to the DOM element used to catch the keyboard event.
+ */

-            var sequence = combination.split(' ');
-            var info;
+/**
+ * Return true if platform is MacOS.
+ *
+ * @param {Window} [_window] window object by default; used for DI testing.
+ *
+ * @return {boolean} True if MacOS; false otherwise.
+ */

-            // if this pattern is a sequence of keys then run through this method
-            // to reprocess each pattern one key at a time
-            if (sequence.length > 1) {
-                _bindSequence(combination, sequence, callback, action);
-                return;
-            }
+function isAppleOS() {
+  let _window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window;

-            info = _getKeyInfo(combination, action);
+  const {
+    platform
+  } = _window.navigator;
+  return platform.indexOf('Mac') !== -1 || (0,external_lodash_namespaceObject.includes)(['iPad', 'iPhone'], platform);
+}
+/* eslint-disable jsdoc/valid-types */

-            // make sure to initialize array if this is the first time
-            // a callback is added for this key
-            self._callbacks[info.key] = self._callbacks[info.key] || [];
+/**
+ * Attach a keyboard shortcut handler.
+ *
+ * @see https://craig.is/killing/mice#api.bind for information about the `callback` parameter.
+ *
+ * @param {string[]|string}                                                       shortcuts Keyboard Shortcuts.
+ * @param {(e: import('mousetrap').ExtendedKeyboardEvent, combo: string) => void} callback  Shortcut callback.
+ * @param {WPKeyboardShortcutConfig}                                              options   Shortcut options.
+ */

-            // remove an existing match if there is one
-            _getMatches(info.key, info.modifiers, {type: info.action}, sequenceName, combination, level);

-            // add this call back to the array
-            // if it is a sequence put it at the beginning
-            // if not put it at the end
-            //
-            // this is important because the way these are processed expects
-            // the sequence ones to come first
-            self._callbacks[info.key][sequenceName ? 'unshift' : 'push']({
-                callback: callback,
-                modifiers: info.modifiers,
-                action: info.action,
-                seq: sequenceName,
-                level: level,
-                combo: combination
-            });
-        }
+function useKeyboardShortcut(
+/* eslint-enable jsdoc/valid-types */
+shortcuts, callback) {
+  let {
+    bindGlobal = false,
+    eventName = 'keydown',
+    isDisabled = false,
+    // This is important for performance considerations.
+    target
+  } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
+  const currentCallback = (0,external_wp_element_namespaceObject.useRef)(callback);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    currentCallback.current = callback;
+  }, [callback]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isDisabled) {
+      return;
+    }

-        /**
-         * binds multiple combinations to the same callback
-         *
-         * @param {Array} combinations
-         * @param {Function} callback
-         * @param {string|undefined} action
-         * @returns void
-         */
-        self._bindMultiple = function(combinations, callback, action) {
-            for (var i = 0; i < combinations.length; ++i) {
-                _bindSingle(combinations[i], callback, action);
-            }
-        };
+    const mousetrap = new (mousetrap_default())(target && target.current ? target.current : // We were passing `document` here previously, so to successfully cast it to Element we must cast it first to `unknown`.
+    // Not sure if this is a mistake but it was the behavior previous to the addition of types so we're just doing what's
+    // necessary to maintain the existing behavior

-        // start!
-        _addEvent(targetElement, 'keypress', _handleKeyEvent);
-        _addEvent(targetElement, 'keydown', _handleKeyEvent);
-        _addEvent(targetElement, 'keyup', _handleKeyEvent);
-    }
+    /** @type {Element} */

-    /**
-     * binds an event to mousetrap
-     *
-     * can be a single key, a combination of keys separated with +,
-     * an array of keys, or a sequence of keys separated by spaces
-     *
-     * be sure to list the modifier keys first to make sure that the
-     * correct key ends up getting bound (the last key in the pattern)
-     *
-     * @param {string|Array} keys
-     * @param {Function} callback
-     * @param {string=} action - 'keypress', 'keydown', or 'keyup'
-     * @returns void
-     */
-    Mousetrap.prototype.bind = function(keys, callback, action) {
-        var self = this;
-        keys = keys instanceof Array ? keys : [keys];
-        self._bindMultiple.call(self, keys, callback, action);
-        return self;
-    };
+    /** @type {unknown} */
+    document);
+    (0,external_lodash_namespaceObject.castArray)(shortcuts).forEach(shortcut => {
+      const keys = shortcut.split('+'); // Determines whether a key is a modifier by the length of the string.
+      // E.g. if I add a pass a shortcut Shift+Cmd+M, it'll determine that
+      // the modifiers are Shift and Cmd because they're not a single character.

-    /**
-     * unbinds an event to mousetrap
-     *
-     * the unbinding sets the callback function of the specified key combo
-     * to an empty function and deletes the corresponding key in the
-     * _directMap dict.
-     *
-     * TODO: actually remove this from the _callbacks dictionary instead
-     * of binding an empty function
-     *
-     * the keycombo+action has to be exactly the same as
-     * it was defined in the bind method
-     *
-     * @param {string|Array} keys
-     * @param {string} action
-     * @returns void
-     */
-    Mousetrap.prototype.unbind = function(keys, action) {
-        var self = this;
-        return self.bind.call(self, keys, function() {}, action);
-    };
+      const modifiers = new Set(keys.filter(value => value.length > 1));
+      const hasAlt = modifiers.has('alt');
+      const hasShift = modifiers.has('shift'); // This should be better moved to the shortcut registration instead.

-    /**
-     * triggers an event that has already been bound
-     *
-     * @param {string} keys
-     * @param {string=} action
-     * @returns void
-     */
-    Mousetrap.prototype.trigger = function(keys, action) {
-        var self = this;
-        if (self._directMap[keys + ':' + action]) {
-            self._directMap[keys + ':' + action]({}, keys);
-        }
-        return self;
-    };
+      if (isAppleOS() && (modifiers.size === 1 && hasAlt || modifiers.size === 2 && hasAlt && hasShift)) {
+        throw new Error(`Cannot bind ${shortcut}. Alt and Shift+Alt modifiers are reserved for character input.`);
+      }

-    /**
-     * resets the library back to its initial state.  this is useful
-     * if you want to clear out the current keyboard shortcuts and bind
-     * new ones - for example if you switch to another page
-     *
-     * @returns void
-     */
-    Mousetrap.prototype.reset = function() {
-        var self = this;
-        self._callbacks = {};
-        self._directMap = {};
-        return self;
+      const bindFn = bindGlobal ? 'bindGlobal' : 'bind'; // @ts-ignore `bindGlobal` is an undocumented property
+
+      mousetrap[bindFn](shortcut, function () {
+        return (
+          /* eslint-enable jsdoc/valid-types */
+          currentCallback.current(...arguments)
+        );
+      }, eventName);
+    });
+    return () => {
+      mousetrap.reset();
     };
+  }, [shortcuts, bindGlobal, eventName, target, isDisabled]);
+}

-    /**
-     * should we stop this event before firing off callbacks
-     *
-     * @param {Event} e
-     * @param {Element} element
-     * @return {boolean}
-     */
-    Mousetrap.prototype.stopCallback = function(e, element) {
-        var self = this;
+/* harmony default export */ var use_keyboard_shortcut = (useKeyboardShortcut);

-        // if the element has the class "mousetrap" then no need to stop
-        if ((' ' + element.className + ' ').indexOf(' mousetrap ') > -1) {
-            return false;
-        }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js
+/**
+ * WordPress dependencies
+ */

-        if (_belongsTo(element, self.target)) {
-            return false;
-        }
+/**
+ * Runs a media query and returns its value when it changes.
+ *
+ * @param {string} [query] Media Query.
+ * @return {boolean} return value of the media query.
+ */

-        // Events originating from a shadow DOM are re-targetted and `e.target` is the shadow host,
-        // not the initial event target in the shadow tree. Note that not all events cross the
-        // shadow boundary.
-        // For shadow trees with `mode: 'open'`, the initial event target is the first element in
-        // the event’s composed path. For shadow trees with `mode: 'closed'`, the initial event
-        // target cannot be obtained.
-        if ('composedPath' in e && typeof e.composedPath === 'function') {
-            // For open shadow trees, update `element` so that the following check works.
-            var initialEventTarget = e.composedPath()[0];
-            if (initialEventTarget !== e.target) {
-                element = initialEventTarget;
-            }
-        }
+function useMediaQuery(query) {
+  const [match, setMatch] = (0,external_wp_element_namespaceObject.useState)(() => !!(query && typeof window !== 'undefined' && window.matchMedia(query).matches));
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!query) {
+      return;
+    }

-        // stop for input, select, and textarea
-        return element.tagName == 'INPUT' || element.tagName == 'SELECT' || element.tagName == 'TEXTAREA' || element.isContentEditable;
-    };
+    const updateMatch = () => setMatch(window.matchMedia(query).matches);

-    /**
-     * exposes _handleKey publicly so it can be overwritten by extensions
-     */
-    Mousetrap.prototype.handleKey = function() {
-        var self = this;
-        return self._handleKey.apply(self, arguments);
+    updateMatch();
+    const list = window.matchMedia(query);
+    list.addListener(updateMatch);
+    return () => {
+      list.removeListener(updateMatch);
     };
+  }, [query]);
+  return !!query && match;
+}

-    /**
-     * allow custom key mappings
-     */
-    Mousetrap.addKeycodes = function(object) {
-        for (var key in object) {
-            if (object.hasOwnProperty(key)) {
-                _MAP[key] = object[key];
-            }
-        }
-        _REVERSE_MAP = null;
-    };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-previous/index.js
+/**
+ * WordPress dependencies
+ */

-    /**
-     * Init the global mousetrap functions
-     *
-     * This method is needed to allow the global mousetrap functions to work
-     * now that mousetrap is a constructor function.
-     */
-    Mousetrap.init = function() {
-        var documentMousetrap = Mousetrap(document);
-        for (var method in documentMousetrap) {
-            if (method.charAt(0) !== '_') {
-                Mousetrap[method] = (function(method) {
-                    return function() {
-                        return documentMousetrap[method].apply(documentMousetrap, arguments);
-                    };
-                } (method));
-            }
-        }
-    };
+/**
+ * Use something's value from the previous render.
+ * Based on https://usehooks.com/usePrevious/.
+ *
+ * @param  value The value to track.
+ *
+ * @return The value from the previous render.
+ */

-    Mousetrap.init();
+function usePrevious(value) {
+  const ref = (0,external_wp_element_namespaceObject.useRef)(); // Store current value in ref.

-    // expose mousetrap to the global object
-    window.Mousetrap = Mousetrap;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    ref.current = value;
+  }, [value]); // Re-run when value changes.
+  // Return previous value (happens before update in useEffect above).

-    // expose as a common js module
-    if ( true && module.exports) {
-        module.exports = Mousetrap;
-    }
+  return ref.current;
+}

-    // expose mousetrap as an AMD module
-    if (true) {
-        !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {
-            return Mousetrap;
-        }).call(exports, __webpack_require__, exports, module),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-    }
-}) (typeof window !== 'undefined' ? window : null, typeof  window !== 'undefined' ? document : null);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js
+/**
+ * Internal dependencies
+ */

+/**
+ * Hook returning whether the user has a preference for reduced motion.
+ *
+ * @return {boolean} Reduced motion preference value.
+ */

-/***/ }),
+const useReducedMotion = () => useMediaQuery('(prefers-reduced-motion: reduce)');

-/***/ "mHlH":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var use_reduced_motion = (useReducedMotion);

-"use strict";
-/* unused harmony export useCallback */
-/* unused harmony export useCallbackOne */
-/* unused harmony export useMemo */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMemoOne; });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js
+/**
+ * WordPress dependencies
+ */

+/**
+ * Internal dependencies
+ */

-function areInputsEqual(newInputs, lastInputs) {
-  if (newInputs.length !== lastInputs.length) {
-    return false;
-  }

-  for (var i = 0; i < newInputs.length; i++) {
-    if (newInputs[i] !== lastInputs[i]) {
-      return false;
-    }
-  }
+/**
+ * @typedef {"huge" | "wide" | "large" | "medium" | "small" | "mobile"} WPBreakpoint
+ */

-  return true;
-}
+/**
+ * Hash of breakpoint names with pixel width at which it becomes effective.
+ *
+ * @see _breakpoints.scss
+ *
+ * @type {Record<WPBreakpoint, number>}
+ */

-function useMemoOne(getResult, inputs) {
-  var initial = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(function () {
-    return {
-      inputs: inputs,
-      result: getResult()
-    };
-  })[0];
-  var isFirstRun = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(true);
-  var committed = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(initial);
-  var useCache = isFirstRun.current || Boolean(inputs && committed.current.inputs && areInputsEqual(inputs, committed.current.inputs));
-  var cache = useCache ? committed.current : {
-    inputs: inputs,
-    result: getResult()
-  };
-  Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () {
-    isFirstRun.current = false;
-    committed.current = cache;
-  }, [cache]);
-  return cache.result;
-}
-function useCallbackOne(callback, inputs) {
-  return useMemoOne(function () {
-    return callback;
-  }, inputs);
-}
-var useMemo = useMemoOne;
-var useCallback = useCallbackOne;
+const BREAKPOINTS = {
+  huge: 1440,
+  wide: 1280,
+  large: 960,
+  medium: 782,
+  small: 600,
+  mobile: 480
+};
+/**
+ * @typedef {">=" | "<"} WPViewportOperator
+ */

+/**
+ * Object mapping media query operators to the condition to be used.
+ *
+ * @type {Record<WPViewportOperator, string>}
+ */

+const CONDITIONS = {
+  '>=': 'min-width',
+  '<': 'max-width'
+};
+/**
+ * Object mapping media query operators to a function that given a breakpointValue and a width evaluates if the operator matches the values.
+ *
+ * @type {Record<WPViewportOperator, (breakpointValue: number, width: number) => boolean>}
+ */

+const OPERATOR_EVALUATORS = {
+  '>=': (breakpointValue, width) => width >= breakpointValue,
+  '<': (breakpointValue, width) => width < breakpointValue
+};
+const ViewportMatchWidthContext = (0,external_wp_element_namespaceObject.createContext)(
+/** @type {null | number} */
+null);
+/**
+ * Returns true if the viewport matches the given query, or false otherwise.
+ *
+ * @param {WPBreakpoint}       breakpoint      Breakpoint size name.
+ * @param {WPViewportOperator} [operator=">="] Viewport operator.
+ *
+ * @example
+ *
+ * ```js
+ * useViewportMatch( 'huge', '<' );
+ * useViewportMatch( 'medium' );
+ * ```
+ *
+ * @return {boolean} Whether viewport matches query.
+ */

-/***/ }),
+const useViewportMatch = function (breakpoint) {
+  let operator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '>=';
+  const simulatedWidth = (0,external_wp_element_namespaceObject.useContext)(ViewportMatchWidthContext);
+  const mediaQuery = !simulatedWidth && `(${CONDITIONS[operator]}: ${BREAKPOINTS[breakpoint]}px)`;
+  const mediaQueryResult = useMediaQuery(mediaQuery || undefined);

-/***/ "rl8x":
-/***/ (function(module, exports) {
+  if (simulatedWidth) {
+    return OPERATOR_EVALUATORS[operator](BREAKPOINTS[breakpoint], simulatedWidth);
+  }

-(function() { module.exports = window["wp"]["isShallowEqual"]; }());
+  return mediaQueryResult;
+};

-/***/ }),
+useViewportMatch.__experimentalWidthProvider = ViewportMatchWidthContext.Provider;
+/* harmony default export */ var use_viewport_match = (useViewportMatch);

-/***/ "sxGJ":
-/***/ (function(module, exports, __webpack_require__) {
+// EXTERNAL MODULE: ./node_modules/react-resize-aware/dist/index.js
+var dist = __webpack_require__(235);
+var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js
+/**
+ * External dependencies
+ */

-/*!
- * clipboard.js v2.0.8
- * https://clipboardjs.com/
+/**
+ * Hook which allows to listen the resize event of any target element when it changes sizes.
+ * _Note: `useResizeObserver` will report `null` until after first render_
+ *
+ * Simply a re-export of `react-resize-aware` so refer to its documentation <https://github.com/FezVrasta/react-resize-aware>
+ * for more details.
+ *
+ * @see https://github.com/FezVrasta/react-resize-aware
+ *
+ * @example
+ *
+ * ```js
+ * const App = () => {
+ * 	const [ resizeListener, sizes ] = useResizeObserver();
+ *
+ * 	return (
+ * 		<div>
+ * 			{ resizeListener }
+ * 			Your content here
+ * 		</div>
+ * 	);
+ * };
+ * ```
  *
- * Licensed MIT © Zeno Rocha
  */
-(function webpackUniversalModuleDefinition(root, factory) {
-	if(true)
-		module.exports = factory();
-	else {}
-})(this, function() {
-return /******/ (function() { // webpackBootstrap
-/******/ 	var __webpack_modules__ = ({
-
-/***/ 134:
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
-  "default": function() { return /* binding */ clipboard; }
-});
-
-// EXTERNAL MODULE: ./node_modules/tiny-emitter/index.js
-var tiny_emitter = __webpack_require__(279);
-var tiny_emitter_default = /*#__PURE__*/__webpack_require__.n(tiny_emitter);
-// EXTERNAL MODULE: ./node_modules/good-listener/src/listen.js
-var listen = __webpack_require__(370);
-var listen_default = /*#__PURE__*/__webpack_require__.n(listen);
-// EXTERNAL MODULE: ./node_modules/select/src/select.js
-var src_select = __webpack_require__(817);
-var select_default = /*#__PURE__*/__webpack_require__.n(src_select);
-;// CONCATENATED MODULE: ./src/clipboard-action.js
-function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }

+/* harmony default export */ var use_resize_observer = ((dist_default()));

+;// CONCATENATED MODULE: external ["wp","priorityQueue"]
+var external_wp_priorityQueue_namespaceObject = window["wp"]["priorityQueue"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js
 /**
- * Inner class which performs selection from either `text` or `target`
- * properties and then executes copy or cut operations.
+ * WordPress dependencies
  */

-var ClipboardAction = /*#__PURE__*/function () {
-  /**
-   * @param {Object} options
-   */
-  function ClipboardAction(options) {
-    _classCallCheck(this, ClipboardAction);

-    this.resolveOptions(options);
-    this.initSelection();
-  }
-  /**
-   * Defines base properties passed from constructor.
-   * @param {Object} options
-   */

+/**
+ * Returns the first items from list that are present on state.
+ *
+ * @param  list  New array.
+ * @param  state Current state.
+ * @return First items present iin state.
+ */
+function getFirstItemsPresentInState(list, state) {
+  const firstItems = [];

-  _createClass(ClipboardAction, [{
-    key: "resolveOptions",
-    value: function resolveOptions() {
-      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-      this.action = options.action;
-      this.container = options.container;
-      this.emitter = options.emitter;
-      this.target = options.target;
-      this.text = options.text;
-      this.trigger = options.trigger;
-      this.selectedText = '';
-    }
-    /**
-     * Decides which selection strategy is going to be applied based
-     * on the existence of `text` and `target` properties.
-     */
+  for (let i = 0; i < list.length; i++) {
+    const item = list[i];

-  }, {
-    key: "initSelection",
-    value: function initSelection() {
-      if (this.text) {
-        this.selectFake();
-      } else if (this.target) {
-        this.selectTarget();
-      }
+    if (!state.includes(item)) {
+      break;
     }
-    /**
-     * Creates a fake textarea element, sets its value from `text` property,
-     */

-  }, {
-    key: "createFakeElement",
-    value: function createFakeElement() {
-      var isRTL = document.documentElement.getAttribute('dir') === 'rtl';
-      this.fakeElem = document.createElement('textarea'); // Prevent zooming on iOS
+    firstItems.push(item);
+  }

-      this.fakeElem.style.fontSize = '12pt'; // Reset box model
+  return firstItems;
+}
+/**
+ * React hook returns an array which items get asynchronously appended from a source array.
+ * This behavior is useful if we want to render a list of items asynchronously for performance reasons.
+ *
+ * @param  list   Source array.
+ * @param  config Configuration object.
+ *
+ * @return Async array.
+ */

-      this.fakeElem.style.border = '0';
-      this.fakeElem.style.padding = '0';
-      this.fakeElem.style.margin = '0'; // Move element out of screen horizontally

-      this.fakeElem.style.position = 'absolute';
-      this.fakeElem.style[isRTL ? 'right' : 'left'] = '-9999px'; // Move element to the same position vertically
+function useAsyncList(list) {
+  let config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
+    step: 1
+  };
+  const {
+    step = 1
+  } = config;
+  const [current, setCurrent] = (0,external_wp_element_namespaceObject.useState)([]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // On reset, we keep the first items that were previously rendered.
+    let firstItems = getFirstItemsPresentInState(list, current);

-      var yPosition = window.pageYOffset || document.documentElement.scrollTop;
-      this.fakeElem.style.top = "".concat(yPosition, "px");
-      this.fakeElem.setAttribute('readonly', '');
-      this.fakeElem.value = this.text;
-      return this.fakeElem;
+    if (firstItems.length < step) {
+      firstItems = firstItems.concat(list.slice(firstItems.length, step));
     }
-    /**
-     * Get's the value of fakeElem,
-     * and makes a selection on it.
-     */
-
-  }, {
-    key: "selectFake",
-    value: function selectFake() {
-      var _this = this;

-      var fakeElem = this.createFakeElement();
+    setCurrent(firstItems);
+    let nextIndex = firstItems.length;
+    const asyncQueue = (0,external_wp_priorityQueue_namespaceObject.createQueue)();

-      this.fakeHandlerCallback = function () {
-        return _this.removeFake();
-      };
+    const append = () => {
+      if (list.length <= nextIndex) {
+        return;
+      }

-      this.fakeHandler = this.container.addEventListener('click', this.fakeHandlerCallback) || true;
-      this.container.appendChild(fakeElem);
-      this.selectedText = select_default()(fakeElem);
-      this.copyText();
-      this.removeFake();
-    }
-    /**
-     * Only removes the fake element after another click event, that way
-     * a user can hit `Ctrl+C` to copy because selection still exists.
-     */
+      setCurrent(state => [...state, ...list.slice(nextIndex, nextIndex + step)]);
+      nextIndex += step;
+      asyncQueue.add({}, append);
+    };

-  }, {
-    key: "removeFake",
-    value: function removeFake() {
-      if (this.fakeHandler) {
-        this.container.removeEventListener('click', this.fakeHandlerCallback);
-        this.fakeHandler = null;
-        this.fakeHandlerCallback = null;
-      }
+    asyncQueue.add({}, append);
+    return () => asyncQueue.reset();
+  }, [list]);
+  return current;
+}

-      if (this.fakeElem) {
-        this.container.removeChild(this.fakeElem);
-        this.fakeElem = null;
-      }
-    }
-    /**
-     * Selects the content from element passed on `target` property.
-     */
+/* harmony default export */ var use_async_list = (useAsyncList);

-  }, {
-    key: "selectTarget",
-    value: function selectTarget() {
-      this.selectedText = select_default()(this.target);
-      this.copyText();
-    }
-    /**
-     * Executes the copy operation based on the current selection.
-     */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-warn-on-change/index.js
+/**
+ * Internal dependencies
+ */
+ // Disable reason: Object and object are distinctly different types in TypeScript and we mean the lowercase object in thise case
+// but eslint wants to force us to use `Object`. See https://stackoverflow.com/questions/49464634/difference-between-object-and-object-in-typescript

-  }, {
-    key: "copyText",
-    value: function copyText() {
-      var succeeded;
+/* eslint-disable jsdoc/check-types */

-      try {
-        succeeded = document.execCommand(this.action);
-      } catch (err) {
-        succeeded = false;
-      }
+/**
+ * Hook that performs a shallow comparison between the preview value of an object
+ * and the new one, if there's a difference, it prints it to the console.
+ * this is useful in performance related work, to check why a component re-renders.
+ *
+ *  @example
+ *
+ * ```jsx
+ * function MyComponent(props) {
+ *    useWarnOnChange(props);
+ *
+ *    return "Something";
+ * }
+ * ```
+ *
+ * @param {object} object Object which changes to compare.
+ * @param {string} prefix Just a prefix to show when console logging.
+ */

-      this.handleResult(succeeded);
-    }
-    /**
-     * Fires an event based on the copy operation result.
-     * @param {Boolean} succeeded
-     */
+function useWarnOnChange(object) {
+  let prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Change detection';
+  const previousValues = usePrevious(object);
+  Object.entries(previousValues !== null && previousValues !== void 0 ? previousValues : []).forEach(_ref => {
+    let [key, value] = _ref;

-  }, {
-    key: "handleResult",
-    value: function handleResult(succeeded) {
-      this.emitter.emit(succeeded ? 'success' : 'error', {
-        action: this.action,
-        text: this.selectedText,
-        trigger: this.trigger,
-        clearSelection: this.clearSelection.bind(this)
-      });
-    }
-    /**
-     * Moves focus away from `target` and back to the trigger, removes current selection.
-     */
+    if (value !== object[
+    /** @type {keyof typeof object} */
+    key]) {
+      // eslint-disable-next-line no-console
+      console.warn(`${prefix}: ${key} key changed:`, value, object[
+      /** @type {keyof typeof object} */
+      key]
+      /* eslint-enable jsdoc/check-types */
+      );
+    }
+  });
+}

-  }, {
-    key: "clearSelection",
-    value: function clearSelection() {
-      if (this.trigger) {
-        this.trigger.focus();
-      }
+/* harmony default export */ var use_warn_on_change = (useWarnOnChange);

-      document.activeElement.blur();
-      window.getSelection().removeAllRanges();
-    }
-    /**
-     * Sets the `action` to be performed which can be either 'copy' or 'cut'.
-     * @param {String} action
-     */
+// EXTERNAL MODULE: external "React"
+var external_React_ = __webpack_require__(9196);
+;// CONCATENATED MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js

-  }, {
-    key: "destroy",

-    /**
-     * Destroy lifecycle.
-     */
-    value: function destroy() {
-      this.removeFake();
-    }
-  }, {
-    key: "action",
-    set: function set() {
-      var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'copy';
-      this._action = action;
+function areInputsEqual(newInputs, lastInputs) {
+  if (newInputs.length !== lastInputs.length) {
+    return false;
+  }

-      if (this._action !== 'copy' && this._action !== 'cut') {
-        throw new Error('Invalid "action" value, use either "copy" or "cut"');
-      }
-    }
-    /**
-     * Gets the `action` property.
-     * @return {String}
-     */
-    ,
-    get: function get() {
-      return this._action;
+  for (var i = 0; i < newInputs.length; i++) {
+    if (newInputs[i] !== lastInputs[i]) {
+      return false;
     }
-    /**
-     * Sets the `target` property using an element
-     * that will be have its content copied.
-     * @param {Element} target
-     */
+  }

-  }, {
-    key: "target",
-    set: function set(target) {
-      if (target !== undefined) {
-        if (target && _typeof(target) === 'object' && target.nodeType === 1) {
-          if (this.action === 'copy' && target.hasAttribute('disabled')) {
-            throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');
-          }
+  return true;
+}

-          if (this.action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {
-            throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');
-          }
+function useMemoOne(getResult, inputs) {
+  var initial = (0,external_React_.useState)(function () {
+    return {
+      inputs: inputs,
+      result: getResult()
+    };
+  })[0];
+  var isFirstRun = (0,external_React_.useRef)(true);
+  var committed = (0,external_React_.useRef)(initial);
+  var useCache = isFirstRun.current || Boolean(inputs && committed.current.inputs && areInputsEqual(inputs, committed.current.inputs));
+  var cache = useCache ? committed.current : {
+    inputs: inputs,
+    result: getResult()
+  };
+  (0,external_React_.useEffect)(function () {
+    isFirstRun.current = false;
+    committed.current = cache;
+  }, [cache]);
+  return cache.result;
+}
+function useCallbackOne(callback, inputs) {
+  return useMemoOne(function () {
+    return callback;
+  }, inputs);
+}
+var useMemo = (/* unused pure expression or super */ null && (useMemoOne));
+var useCallback = (/* unused pure expression or super */ null && (useCallbackOne));

-          this._target = target;
-        } else {
-          throw new Error('Invalid "target" value, use a valid Element');
-        }
-      }
-    }
-    /**
-     * Gets the `target` property.
-     * @return {String|HTMLElement}
-     */
-    ,
-    get: function get() {
-      return this._target;
-    }
-  }]);

-  return ClipboardAction;
-}();

-/* harmony default export */ var clipboard_action = (ClipboardAction);
-;// CONCATENATED MODULE: ./src/clipboard.js
-function clipboard_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { clipboard_typeof = function _typeof(obj) { return typeof obj; }; } else { clipboard_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return clipboard_typeof(obj); }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-debounce/index.js
+/**
+ * External dependencies
+ */

-function clipboard_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

-function clipboard_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+/**
+ * WordPress dependencies
+ */

-function clipboard_createClass(Constructor, protoProps, staticProps) { if (protoProps) clipboard_defineProperties(Constructor.prototype, protoProps); if (staticProps) clipboard_defineProperties(Constructor, staticProps); return Constructor; }

-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
+/* eslint-disable jsdoc/valid-types */

-function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
+/**
+ * Debounces a function with Lodash's `debounce`. A new debounced function will
+ * be returned and any scheduled calls cancelled if any of the arguments change,
+ * including the function to debounce, so please wrap functions created on
+ * render in components in `useCallback`.
+ *
+ * @see https://docs-lodash.com/v4/debounce/
+ *
+ * @template {(...args: any[]) => void} TFunc
+ *
+ * @param {TFunc}                             fn        The function to debounce.
+ * @param {number}                            [wait]    The number of milliseconds to delay.
+ * @param {import('lodash').DebounceSettings} [options] The options object.
+ * @return {import('lodash').DebouncedFunc<TFunc>} Debounced function.
+ */

-function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
+function useDebounce(fn, wait, options) {
+  /* eslint-enable jsdoc/valid-types */
+  const debounced = useMemoOne(() => (0,external_lodash_namespaceObject.debounce)(fn, wait, options), [fn, wait, options]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => () => debounced.cancel(), [debounced]);
+  return debounced;
+}

-function _possibleConstructorReturn(self, call) { if (call && (clipboard_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-throttle/index.js
+/**
+ * External dependencies
+ */

-function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

-function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
+/**
+ * WordPress dependencies
+ */

-function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }

+/**
+ * Throttles a function with Lodash's `throttle`. A new throttled function will
+ * be returned and any scheduled calls cancelled if any of the arguments change,
+ * including the function to throttle, so please wrap functions created on
+ * render in components in `useCallback`.
+ *
+ * @see https://docs-lodash.com/v4/throttle/
+ *
+ * @template {(...args: any[]) => void} TFunc
+ *
+ * @param {TFunc}                             fn        The function to throttle.
+ * @param {number}                            [wait]    The number of milliseconds to throttle invocations to.
+ * @param {import('lodash').ThrottleSettings} [options] The options object. See linked documentation for details.
+ * @return {import('lodash').DebouncedFunc<TFunc>} Throttled function.
+ */

+function useThrottle(fn, wait, options) {
+  const throttled = useMemoOne(() => (0,external_lodash_namespaceObject.throttle)(fn, wait, options), [fn, wait, options]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => () => throttled.cancel(), [throttled]);
+  return throttled;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-drop-zone/index.js
+/**
+ * WordPress dependencies
+ */

 /**
- * Helper function to retrieve attribute value.
- * @param {String} suffix
- * @param {Element} element
+ * Internal dependencies
  */

-function getAttributeValue(suffix, element) {
-  var attribute = "data-clipboard-".concat(suffix);

-  if (!element.hasAttribute(attribute)) {
-    return;
-  }
+/* eslint-disable jsdoc/valid-types */

-  return element.getAttribute(attribute);
-}
 /**
- * Base class which takes one or more elements, adds event listeners to them,
- * and instantiates a new `ClipboardAction` on each click.
+ * @template T
+ * @param {T} value
+ * @return {import('react').MutableRefObject<T>} A ref with the value.
  */

+function useFreshRef(value) {
+  /* eslint-enable jsdoc/valid-types */

-var Clipboard = /*#__PURE__*/function (_Emitter) {
-  _inherits(Clipboard, _Emitter);
+  /* eslint-disable jsdoc/no-undefined-types */

-  var _super = _createSuper(Clipboard);
+  /** @type {import('react').MutableRefObject<T>} */

-  /**
-   * @param {String|HTMLElement|HTMLCollection|NodeList} trigger
-   * @param {Object} options
-   */
-  function Clipboard(trigger, options) {
-    var _this;
+  /* eslint-enable jsdoc/no-undefined-types */
+  // Disable reason: We're doing something pretty JavaScript-y here where the
+  // ref will always have a current value that is not null or undefined but it
+  // needs to start as undefined. We don't want to change the return type so
+  // it's easier to just ts-ignore this specific line that's complaining about
+  // undefined not being part of T.
+  // @ts-ignore
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  ref.current = value;
+  return ref;
+}
+/**
+ * A hook to facilitate drag and drop handling.
+ *
+ * @param {Object}                  props             Named parameters.
+ * @param {boolean}                 props.isDisabled  Whether or not to disable the drop zone.
+ * @param {(e: DragEvent) => void}  props.onDragStart Called when dragging has started.
+ * @param {(e: DragEvent) => void}  props.onDragEnter Called when the zone is entered.
+ * @param {(e: DragEvent) => void}  props.onDragOver  Called when the zone is moved within.
+ * @param {(e: DragEvent) => void}  props.onDragLeave Called when the zone is left.
+ * @param {(e: MouseEvent) => void} props.onDragEnd   Called when dragging has ended.
+ * @param {(e: DragEvent) => void}  props.onDrop      Called when dropping in the zone.
+ *
+ * @return {import('react').RefCallback<HTMLElement>} Ref callback to be passed to the drop zone element.
+ */

-    clipboard_classCallCheck(this, Clipboard);

-    _this = _super.call(this);
+function useDropZone(_ref) {
+  let {
+    isDisabled,
+    onDrop: _onDrop,
+    onDragStart: _onDragStart,
+    onDragEnter: _onDragEnter,
+    onDragLeave: _onDragLeave,
+    onDragEnd: _onDragEnd,
+    onDragOver: _onDragOver
+  } = _ref;
+  const onDropRef = useFreshRef(_onDrop);
+  const onDragStartRef = useFreshRef(_onDragStart);
+  const onDragEnterRef = useFreshRef(_onDragEnter);
+  const onDragLeaveRef = useFreshRef(_onDragLeave);
+  const onDragEndRef = useFreshRef(_onDragEnd);
+  const onDragOverRef = useFreshRef(_onDragOver);
+  return useRefEffect(element => {
+    if (isDisabled) {
+      return;
+    }
+
+    let isDragging = false;
+    const {
+      ownerDocument
+    } = element;
+    /**
+     * Checks if an element is in the drop zone.
+     *
+     * @param {EventTarget|null} targetToCheck
+     *
+     * @return {boolean} True if in drop zone, false if not.
+     */
+
+    function isElementInZone(targetToCheck) {
+      const {
+        defaultView
+      } = ownerDocument;

-    _this.resolveOptions(options);
+      if (!targetToCheck || !defaultView || !(targetToCheck instanceof defaultView.HTMLElement) || !element.contains(targetToCheck)) {
+        return false;
+      }
+      /** @type {HTMLElement|null} */

-    _this.listenClick(trigger);

-    return _this;
-  }
-  /**
-   * Defines if attributes would be resolved using internal setter functions
-   * or custom functions that were passed in the constructor.
-   * @param {Object} options
-   */
+      let elementToCheck = targetToCheck;

+      do {
+        if (elementToCheck.dataset.isDropZone) {
+          return elementToCheck === element;
+        }
+      } while (elementToCheck = elementToCheck.parentElement);

-  clipboard_createClass(Clipboard, [{
-    key: "resolveOptions",
-    value: function resolveOptions() {
-      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-      this.action = typeof options.action === 'function' ? options.action : this.defaultAction;
-      this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;
-      this.text = typeof options.text === 'function' ? options.text : this.defaultText;
-      this.container = clipboard_typeof(options.container) === 'object' ? options.container : document.body;
+      return false;
     }
-    /**
-     * Adds a click event listener to the passed trigger.
-     * @param {String|HTMLElement|HTMLCollection|NodeList} trigger
-     */

-  }, {
-    key: "listenClick",
-    value: function listenClick(trigger) {
-      var _this2 = this;
+    function maybeDragStart(
+    /** @type {DragEvent} */
+    event) {
+      if (isDragging) {
+        return;
+      }

-      this.listener = listen_default()(trigger, 'click', function (e) {
-        return _this2.onClick(e);
-      });
-    }
-    /**
-     * Defines a new `ClipboardAction` on each click event.
-     * @param {Event} e
-     */
+      isDragging = true;
+      ownerDocument.removeEventListener('dragenter', maybeDragStart); // Note that `dragend` doesn't fire consistently for file and
+      // HTML drag events where the drag origin is outside the browser
+      // window. In Firefox it may also not fire if the originating
+      // node is removed.

-  }, {
-    key: "onClick",
-    value: function onClick(e) {
-      var trigger = e.delegateTarget || e.currentTarget;
+      ownerDocument.addEventListener('dragend', maybeDragEnd);
+      ownerDocument.addEventListener('mousemove', maybeDragEnd);

-      if (this.clipboardAction) {
-        this.clipboardAction = null;
+      if (onDragStartRef.current) {
+        onDragStartRef.current(event);
       }
-
-      this.clipboardAction = new clipboard_action({
-        action: this.action(trigger),
-        target: this.target(trigger),
-        text: this.text(trigger),
-        container: this.container,
-        trigger: trigger,
-        emitter: this
-      });
     }
-    /**
-     * Default `action` lookup function.
-     * @param {Element} trigger
-     */

-  }, {
-    key: "defaultAction",
-    value: function defaultAction(trigger) {
-      return getAttributeValue('action', trigger);
-    }
-    /**
-     * Default `target` lookup function.
-     * @param {Element} trigger
-     */
+    function onDragEnter(
+    /** @type {DragEvent} */
+    event) {
+      event.preventDefault(); // The `dragenter` event will also fire when entering child
+      // elements, but we only want to call `onDragEnter` when
+      // entering the drop zone, which means the `relatedTarget`
+      // (element that has been left) should be outside the drop zone.

-  }, {
-    key: "defaultTarget",
-    value: function defaultTarget(trigger) {
-      var selector = getAttributeValue('target', trigger);
+      if (element.contains(
+      /** @type {Node} */
+      event.relatedTarget)) {
+        return;
+      }

-      if (selector) {
-        return document.querySelector(selector);
+      if (onDragEnterRef.current) {
+        onDragEnterRef.current(event);
       }
     }
-    /**
-     * Returns the support of the given action, or all actions if no action is
-     * given.
-     * @param {String} [action]
-     */

-  }, {
-    key: "defaultText",
+    function onDragOver(
+    /** @type {DragEvent} */
+    event) {
+      // Only call onDragOver for the innermost hovered drop zones.
+      if (!event.defaultPrevented && onDragOverRef.current) {
+        onDragOverRef.current(event);
+      } // Prevent the browser default while also signalling to parent
+      // drop zones that `onDragOver` is already handled.

-    /**
-     * Default `text` lookup function.
-     * @param {Element} trigger
-     */
-    value: function defaultText(trigger) {
-      return getAttributeValue('text', trigger);
+
+      event.preventDefault();
     }
-    /**
-     * Destroy lifecycle.
-     */

-  }, {
-    key: "destroy",
-    value: function destroy() {
-      this.listener.destroy();
+    function onDragLeave(
+    /** @type {DragEvent} */
+    event) {
+      // The `dragleave` event will also fire when leaving child
+      // elements, but we only want to call `onDragLeave` when
+      // leaving the drop zone, which means the `relatedTarget`
+      // (element that has been entered) should be outside the drop
+      // zone.
+      if (isElementInZone(event.relatedTarget)) {
+        return;
+      }

-      if (this.clipboardAction) {
-        this.clipboardAction.destroy();
-        this.clipboardAction = null;
+      if (onDragLeaveRef.current) {
+        onDragLeaveRef.current(event);
       }
     }
-  }], [{
-    key: "isSupported",
-    value: function isSupported() {
-      var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];
-      var actions = typeof action === 'string' ? [action] : action;
-      var support = !!document.queryCommandSupported;
-      actions.forEach(function (action) {
-        support = support && !!document.queryCommandSupported(action);
-      });
-      return support;
-    }
-  }]);
-
-  return Clipboard;
-}((tiny_emitter_default()));
-
-/* harmony default export */ var clipboard = (Clipboard);

-/***/ }),
+    function onDrop(
+    /** @type {DragEvent} */
+    event) {
+      // Don't handle drop if an inner drop zone already handled it.
+      if (event.defaultPrevented) {
+        return;
+      } // Prevent the browser default while also signalling to parent
+      // drop zones that `onDrop` is already handled.

-/***/ 828:
-/***/ (function(module) {

-var DOCUMENT_NODE_TYPE = 9;
+      event.preventDefault(); // This seemingly useless line has been shown to resolve a
+      // Safari issue where files dragged directly from the dock are
+      // not recognized.
+      // eslint-disable-next-line no-unused-expressions

-/**
- * A polyfill for Element.matches()
- */
-if (typeof Element !== 'undefined' && !Element.prototype.matches) {
-    var proto = Element.prototype;
+      event.dataTransfer && event.dataTransfer.files.length;

-    proto.matches = proto.matchesSelector ||
-                    proto.mozMatchesSelector ||
-                    proto.msMatchesSelector ||
-                    proto.oMatchesSelector ||
-                    proto.webkitMatchesSelector;
-}
+      if (onDropRef.current) {
+        onDropRef.current(event);
+      }

-/**
- * Finds the closest parent that matches a selector.
- *
- * @param {Element} element
- * @param {String} selector
- * @return {Function}
- */
-function closest (element, selector) {
-    while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {
-        if (typeof element.matches === 'function' &&
-            element.matches(selector)) {
-          return element;
-        }
-        element = element.parentNode;
+      maybeDragEnd(event);
     }
-}

-module.exports = closest;
+    function maybeDragEnd(
+    /** @type {MouseEvent} */
+    event) {
+      if (!isDragging) {
+        return;
+      }

+      isDragging = false;
+      ownerDocument.addEventListener('dragenter', maybeDragStart);
+      ownerDocument.removeEventListener('dragend', maybeDragEnd);
+      ownerDocument.removeEventListener('mousemove', maybeDragEnd);

-/***/ }),
+      if (onDragEndRef.current) {
+        onDragEndRef.current(event);
+      }
+    }

-/***/ 438:
-/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
+    element.dataset.isDropZone = 'true';
+    element.addEventListener('drop', onDrop);
+    element.addEventListener('dragenter', onDragEnter);
+    element.addEventListener('dragover', onDragOver);
+    element.addEventListener('dragleave', onDragLeave); // The `dragstart` event doesn't fire if the drag started outside
+    // the document.

-var closest = __webpack_require__(828);
+    ownerDocument.addEventListener('dragenter', maybeDragStart);
+    return () => {
+      delete element.dataset.isDropZone;
+      element.removeEventListener('drop', onDrop);
+      element.removeEventListener('dragenter', onDragEnter);
+      element.removeEventListener('dragover', onDragOver);
+      element.removeEventListener('dragleave', onDragLeave);
+      ownerDocument.removeEventListener('dragend', maybeDragEnd);
+      ownerDocument.removeEventListener('mousemove', maybeDragEnd);
+      ownerDocument.addEventListener('dragenter', maybeDragStart);
+    };
+  }, [isDisabled]);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-focusable-iframe/index.js
 /**
- * Delegates event to a selector.
- *
- * @param {Element} element
- * @param {String} selector
- * @param {String} type
- * @param {Function} callback
- * @param {Boolean} useCapture
- * @return {Object}
+ * Internal dependencies
  */
-function _delegate(element, selector, type, callback, useCapture) {
-    var listenerFn = listener.apply(this, arguments);
-
-    element.addEventListener(type, listenerFn, useCapture);
-
-    return {
-        destroy: function() {
-            element.removeEventListener(type, listenerFn, useCapture);
-        }
-    }
-}

 /**
- * Delegates event to a selector.
+ * Dispatches a bubbling focus event when the iframe receives focus. Use
+ * `onFocus` as usual on the iframe or a parent element.
  *
- * @param {Element|String|Array} [elements]
- * @param {String} selector
- * @param {String} type
- * @param {Function} callback
- * @param {Boolean} useCapture
- * @return {Object}
+ * @return {Object} Ref to pass to the iframe.
  */
-function delegate(elements, selector, type, callback, useCapture) {
-    // Handle the regular Element usage
-    if (typeof elements.addEventListener === 'function') {
-        return _delegate.apply(null, arguments);
-    }

-    // Handle Element-less usage, it defaults to global delegation
-    if (typeof type === 'function') {
-        // Use `document` as the first parameter, then apply arguments
-        // This is a short way to .unshift `arguments` without running into deoptimizations
-        return _delegate.bind(null, document).apply(null, arguments);
-    }
+function useFocusableIframe() {
+  return useRefEffect(element => {
+    const {
+      ownerDocument
+    } = element;
+    if (!ownerDocument) return;
+    const {
+      defaultView
+    } = ownerDocument;
+    if (!defaultView) return;
+    /**
+     * Checks whether the iframe is the activeElement, inferring that it has
+     * then received focus, and dispatches a focus event.
+     */

-    // Handle Selector-based usage
-    if (typeof elements === 'string') {
-        elements = document.querySelectorAll(elements);
+    function checkFocus() {
+      if (ownerDocument && ownerDocument.activeElement === element) {
+        /** @type {HTMLElement} */
+        element.focus();
+      }
     }

-    // Handle Array-like based usage
-    return Array.prototype.map.call(elements, function (element) {
-        return _delegate(element, selector, type, callback, useCapture);
-    });
+    defaultView.addEventListener('blur', checkFocus);
+    return () => {
+      defaultView.removeEventListener('blur', checkFocus);
+    };
+  }, []);
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-fixed-window-list/index.js
 /**
- * Finds closest match and invokes callback.
- *
- * @param {Element} element
- * @param {String} selector
- * @param {String} type
- * @param {Function} callback
- * @return {Function}
+ * External dependencies
  */
-function listener(element, selector, type, callback) {
-    return function(e) {
-        e.delegateTarget = closest(e.target, selector);
-
-        if (e.delegateTarget) {
-            callback.call(element, e);
-        }
-    }
-}
-
-module.exports = delegate;

+/**
+ * WordPress dependencies
+ */

-/***/ }),

-/***/ 879:
-/***/ (function(__unused_webpack_module, exports) {

-/**
- * Check if argument is a HTML element.
- *
- * @param {Object} value
- * @return {Boolean}
- */
-exports.node = function(value) {
-    return value !== undefined
-        && value instanceof HTMLElement
-        && value.nodeType === 1;
-};

+const DEFAULT_INIT_WINDOW_SIZE = 30;
 /**
- * Check if argument is a list of HTML elements.
+ * @typedef {Object} WPFixedWindowList
  *
- * @param {Object} value
- * @return {Boolean}
+ * @property {number}                  visibleItems Items visible in the current viewport
+ * @property {number}                  start        Start index of the window
+ * @property {number}                  end          End index of the window
+ * @property {(index:number)=>boolean} itemInView   Returns true if item is in the window
  */
-exports.nodeList = function(value) {
-    var type = Object.prototype.toString.call(value);
-
-    return value !== undefined
-        && (type === '[object NodeList]' || type === '[object HTMLCollection]')
-        && ('length' in value)
-        && (value.length === 0 || exports.node(value[0]));
-};

 /**
- * Check if argument is a string.
+ * @typedef {Object} WPFixedWindowListOptions
  *
- * @param {Object} value
- * @return {Boolean}
+ * @property {number}  [windowOverscan] Renders windowOverscan number of items before and after the calculated visible window.
+ * @property {boolean} [useWindowing]   When false avoids calculating the window size
+ * @property {number}  [initWindowSize] Initial window size to use on first render before we can calculate the window size.
  */
-exports.string = function(value) {
-    return typeof value === 'string'
-        || value instanceof String;
-};

 /**
- * Check if argument is a function.
  *
- * @param {Object} value
- * @return {Boolean}
+ * @param {import('react').RefObject<HTMLElement>} elementRef Used to find the closest scroll container that contains element.
+ * @param { number }                               itemHeight Fixed item height in pixels
+ * @param { number }                               totalItems Total items in list
+ * @param { WPFixedWindowListOptions }             [options]  Options object
+ * @return {[ WPFixedWindowList, setFixedListWindow:(nextWindow:WPFixedWindowList)=>void]} Array with the fixed window list and setter
  */
-exports.fn = function(value) {
-    var type = Object.prototype.toString.call(value);
-
-    return type === '[object Function]';
-};
-
-
-/***/ }),
-
-/***/ 370:
-/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-var is = __webpack_require__(879);
-var delegate = __webpack_require__(438);
+function useFixedWindowList(elementRef, itemHeight, totalItems, options) {
+  var _options$initWindowSi, _options$useWindowing;

-/**
- * Validates all params and calls the right
- * listener function based on its target type.
- *
- * @param {String|HTMLElement|HTMLCollection|NodeList} target
- * @param {String} type
- * @param {Function} callback
- * @return {Object}
- */
-function listen(target, type, callback) {
-    if (!target && !type && !callback) {
-        throw new Error('Missing required arguments');
+  const initWindowSize = (_options$initWindowSi = options === null || options === void 0 ? void 0 : options.initWindowSize) !== null && _options$initWindowSi !== void 0 ? _options$initWindowSi : DEFAULT_INIT_WINDOW_SIZE;
+  const useWindowing = (_options$useWindowing = options === null || options === void 0 ? void 0 : options.useWindowing) !== null && _options$useWindowing !== void 0 ? _options$useWindowing : true;
+  const [fixedListWindow, setFixedListWindow] = (0,external_wp_element_namespaceObject.useState)({
+    visibleItems: initWindowSize,
+    start: 0,
+    end: initWindowSize,
+    itemInView: (
+    /** @type {number} */
+    index) => {
+      return index >= 0 && index <= initWindowSize;
     }
+  });
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    var _scrollContainer$owne, _scrollContainer$owne2, _scrollContainer$owne3, _scrollContainer$owne4;

-    if (!is.string(type)) {
-        throw new TypeError('Second argument must be a String');
+    if (!useWindowing) {
+      return;
     }

-    if (!is.fn(callback)) {
-        throw new TypeError('Third argument must be a Function');
-    }
+    const scrollContainer = (0,external_wp_dom_namespaceObject.getScrollContainer)(elementRef.current);

-    if (is.node(target)) {
-        return listenNode(target, type, callback);
-    }
-    else if (is.nodeList(target)) {
-        return listenNodeList(target, type, callback);
-    }
-    else if (is.string(target)) {
-        return listenSelector(target, type, callback);
-    }
-    else {
-        throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');
-    }
-}
+    const measureWindow = (
+    /** @type {boolean | undefined} */
+    initRender) => {
+      var _options$windowOversc;

-/**
- * Adds an event listener to a HTML element
- * and returns a remove listener function.
- *
- * @param {HTMLElement} node
- * @param {String} type
- * @param {Function} callback
- * @return {Object}
- */
-function listenNode(node, type, callback) {
-    node.addEventListener(type, callback);
+      if (!scrollContainer) {
+        return;
+      }

-    return {
-        destroy: function() {
-            node.removeEventListener(type, callback);
-        }
-    }
-}
+      const visibleItems = Math.ceil(scrollContainer.clientHeight / itemHeight); // Aim to keep opening list view fast, afterward we can optimize for scrolling

-/**
- * Add an event listener to a list of HTML elements
- * and returns a remove listener function.
- *
- * @param {NodeList|HTMLCollection} nodeList
- * @param {String} type
- * @param {Function} callback
- * @return {Object}
- */
-function listenNodeList(nodeList, type, callback) {
-    Array.prototype.forEach.call(nodeList, function(node) {
-        node.addEventListener(type, callback);
-    });
+      const windowOverscan = initRender ? visibleItems : (_options$windowOversc = options === null || options === void 0 ? void 0 : options.windowOverscan) !== null && _options$windowOversc !== void 0 ? _options$windowOversc : visibleItems;
+      const firstViewableIndex = Math.floor(scrollContainer.scrollTop / itemHeight);
+      const start = Math.max(0, firstViewableIndex - windowOverscan);
+      const end = Math.min(totalItems - 1, firstViewableIndex + visibleItems + windowOverscan);
+      setFixedListWindow(lastWindow => {
+        const nextWindow = {
+          visibleItems,
+          start,
+          end,
+          itemInView: (
+          /** @type {number} */
+          index) => {
+            return start <= index && index <= end;
+          }
+        };

-    return {
-        destroy: function() {
-            Array.prototype.forEach.call(nodeList, function(node) {
-                node.removeEventListener(type, callback);
-            });
+        if (lastWindow.start !== nextWindow.start || lastWindow.end !== nextWindow.end || lastWindow.visibleItems !== nextWindow.visibleItems) {
+          return nextWindow;
         }
-    }
-}

-/**
- * Add an event listener to a selector
- * and returns a remove listener function.
- *
- * @param {String} selector
- * @param {String} type
- * @param {Function} callback
- * @return {Object}
- */
-function listenSelector(selector, type, callback) {
-    return delegate(document.body, selector, type, callback);
-}
+        return lastWindow;
+      });
+    };

-module.exports = listen;
+    measureWindow(true);
+    const debounceMeasureList = (0,external_lodash_namespaceObject.debounce)(() => {
+      measureWindow();
+    }, 16);
+    scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.addEventListener('scroll', debounceMeasureList);
+    scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne = scrollContainer.ownerDocument) === null || _scrollContainer$owne === void 0 ? void 0 : (_scrollContainer$owne2 = _scrollContainer$owne.defaultView) === null || _scrollContainer$owne2 === void 0 ? void 0 : _scrollContainer$owne2.addEventListener('resize', debounceMeasureList);
+    scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne3 = scrollContainer.ownerDocument) === null || _scrollContainer$owne3 === void 0 ? void 0 : (_scrollContainer$owne4 = _scrollContainer$owne3.defaultView) === null || _scrollContainer$owne4 === void 0 ? void 0 : _scrollContainer$owne4.addEventListener('resize', debounceMeasureList);
+    return () => {
+      var _scrollContainer$owne5, _scrollContainer$owne6;

+      scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.removeEventListener('scroll', debounceMeasureList);
+      scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne5 = scrollContainer.ownerDocument) === null || _scrollContainer$owne5 === void 0 ? void 0 : (_scrollContainer$owne6 = _scrollContainer$owne5.defaultView) === null || _scrollContainer$owne6 === void 0 ? void 0 : _scrollContainer$owne6.removeEventListener('resize', debounceMeasureList);
+    };
+  }, [itemHeight, elementRef, totalItems]);
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    var _scrollContainer$owne7, _scrollContainer$owne8;

-/***/ }),
+    if (!useWindowing) {
+      return;
+    }

-/***/ 817:
-/***/ (function(module) {
+    const scrollContainer = (0,external_wp_dom_namespaceObject.getScrollContainer)(elementRef.current);

-function select(element) {
-    var selectedText;
+    const handleKeyDown = (
+    /** @type {KeyboardEvent} */
+    event) => {
+      switch (event.keyCode) {
+        case external_wp_keycodes_namespaceObject.HOME:
+          {
+            return scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollTo({
+              top: 0
+            });
+          }

-    if (element.nodeName === 'SELECT') {
-        element.focus();
+        case external_wp_keycodes_namespaceObject.END:
+          {
+            return scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollTo({
+              top: totalItems * itemHeight
+            });
+          }

-        selectedText = element.value;
-    }
-    else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {
-        var isReadOnly = element.hasAttribute('readonly');
+        case external_wp_keycodes_namespaceObject.PAGEUP:
+          {
+            return scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollTo({
+              top: scrollContainer.scrollTop - fixedListWindow.visibleItems * itemHeight
+            });
+          }

-        if (!isReadOnly) {
-            element.setAttribute('readonly', '');
-        }
+        case external_wp_keycodes_namespaceObject.PAGEDOWN:
+          {
+            return scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollTo({
+              top: scrollContainer.scrollTop + fixedListWindow.visibleItems * itemHeight
+            });
+          }
+      }
+    };

-        element.select();
-        element.setSelectionRange(0, element.value.length);
+    scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne7 = scrollContainer.ownerDocument) === null || _scrollContainer$owne7 === void 0 ? void 0 : (_scrollContainer$owne8 = _scrollContainer$owne7.defaultView) === null || _scrollContainer$owne8 === void 0 ? void 0 : _scrollContainer$owne8.addEventListener('keydown', handleKeyDown);
+    return () => {
+      var _scrollContainer$owne9, _scrollContainer$owne10;

-        if (!isReadOnly) {
-            element.removeAttribute('readonly');
-        }
+      scrollContainer === null || scrollContainer === void 0 ? void 0 : (_scrollContainer$owne9 = scrollContainer.ownerDocument) === null || _scrollContainer$owne9 === void 0 ? void 0 : (_scrollContainer$owne10 = _scrollContainer$owne9.defaultView) === null || _scrollContainer$owne10 === void 0 ? void 0 : _scrollContainer$owne10.removeEventListener('keydown', handleKeyDown);
+    };
+  }, [totalItems, itemHeight, elementRef, fixedListWindow.visibleItems]);
+  return [fixedListWindow, setFixedListWindow];
+}

-        selectedText = element.value;
-    }
-    else {
-        if (element.hasAttribute('contenteditable')) {
-            element.focus();
-        }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/index.js
+// Utils
+ // Compose helper (aliased flowRight from Lodash)

-        var selection = window.getSelection();
-        var range = document.createRange();
+ // Higher-order components

-        range.selectNodeContents(element);
-        selection.removeAllRanges();
-        selection.addRange(range);

-        selectedText = selection.toString();
-    }

-    return selectedText;
-}

-module.exports = select;


-/***/ }),
+ // Hooks
+

-/***/ 279:
-/***/ (function(module) {

-function E () {
-  // Keep this empty so it's easier to inherit from
-  // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)
-}

-E.prototype = {
-  on: function (name, callback, ctx) {
-    var e = this.e || (this.e = {});

-    (e[name] || (e[name] = [])).push({
-      fn: callback,
-      ctx: ctx
-    });

-    return this;
-  },

-  once: function (name, callback, ctx) {
-    var self = this;
-    function listener () {
-      self.off(name, listener);
-      callback.apply(ctx, arguments);
-    };

-    listener._ = callback
-    return this.on(name, listener, ctx);
-  },

-  emit: function (name) {
-    var data = [].slice.call(arguments, 1);
-    var evtArr = ((this.e || (this.e = {}))[name] || []).slice();
-    var i = 0;
-    var len = evtArr.length;

-    for (i; i < len; i++) {
-      evtArr[i].fn.apply(evtArr[i].ctx, data);
-    }

-    return this;
-  },

-  off: function (name, callback) {
-    var e = this.e || (this.e = {});
-    var evts = e[name];
-    var liveEvents = [];

-    if (evts && callback) {
-      for (var i = 0, len = evts.length; i < len; i++) {
-        if (evts[i].fn !== callback && evts[i].fn._ !== callback)
-          liveEvents.push(evts[i]);
-      }
-    }

-    // Remove event from queue to prevent memory leak
-    // Suggested by https://github.com/lazd
-    // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910

-    (liveEvents.length)
-      ? e[name] = liveEvents
-      : delete e[name];

-    return this;
-  }
-};

-module.exports = E;
-module.exports.TinyEmitter = E;


-/***/ })

-/******/ 	});
-/************************************************************************/
-/******/ 	// The module cache
-/******/ 	var __webpack_module_cache__ = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/ 		// Check if module is in cache
-/******/ 		if(__webpack_module_cache__[moduleId]) {
-/******/ 			return __webpack_module_cache__[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = __webpack_module_cache__[moduleId] = {
-/******/ 			// no module.id needed
-/******/ 			// no module.loaded needed
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/************************************************************************/
-/******/ 	/* webpack/runtime/compat get default export */
-/******/ 	!function() {
-/******/ 		// getDefaultExport function for compatibility with non-harmony modules
-/******/ 		__webpack_require__.n = function(module) {
-/******/ 			var getter = module && module.__esModule ?
-/******/ 				function() { return module['default']; } :
-/******/ 				function() { return module; };
-/******/ 			__webpack_require__.d(getter, { a: getter });
-/******/ 			return getter;
-/******/ 		};
-/******/ 	}();
-/******/
-/******/ 	/* webpack/runtime/define property getters */
-/******/ 	!function() {
-/******/ 		// define getter functions for harmony exports
-/******/ 		__webpack_require__.d = function(exports, definition) {
-/******/ 			for(var key in definition) {
-/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
-/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
-/******/ 				}
-/******/ 			}
-/******/ 		};
-/******/ 	}();
-/******/
-/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
-/******/ 	!function() {
-/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
-/******/ 	}();
-/******/
-/************************************************************************/
-/******/ 	// module exports must be returned from runtime so entry inlining is disabled
-/******/ 	// startup
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(134);
-/******/ })()
-.default;
-});

-/***/ }),

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }

-    return target;
-  };

-  return _extends.apply(this, arguments);
-}

-/***/ })

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).compose = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/compose.min.js b/wp-includes/js/dist/compose.min.js
index b104d3fa36..71406cff03 100644
--- a/wp-includes/js/dist/compose.min.js
+++ b/wp-includes/js/dist/compose.min.js
@@ -1,9 +1,9 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.compose=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="PD33")}({"1CF3":function(e,t){e.exports=window.wp.dom},GRId:function(e,t){e.exports=window.wp.element},NMb1:function(e,t){e.exports=window.wp.deprecated},PD33:function(e,t,n){"use strict";n.r(t),n.d(t,"createHigherOrderComponent",(function(){return o})),n.d(t,"compose",(function(){return i})),n.d(t,"ifCondition",(function(){return c})),n.d(t,"pure",(function(){return l})),n.d(t,"withGlobalEvents",(function(){return v})),n.d(t,"withInstanceId",(function(){return g})),n.d(t,"withSafeTimeout",(function(){return E})),n.d(t,"withState",(function(){return w})),n.d(t,"useConstrainedTabbing",(function(){return T})),n.d(t,"useCopyOnClick",(function(){return C})),n.d(t,"useCopyToClipboard",(function(){return D})),n.d(t,"__experimentalUseDialog",(function(){return N})),n.d(t,"__experimentalUseDisabled",(function(){return H})),n.d(t,"__experimentalUseDragging",(function(){return q})),n.d(t,"useFocusOnMount",(function(){return R})),n.d(t,"__experimentalUseFocusOutside",(function(){return P})),n.d(t,"useFocusReturn",(function(){return _})),n.d(t,"useInstanceId",(function(){return y})),n.d(t,"useIsomorphicLayoutEffect",(function(){return U})),n.d(t,"useKeyboardShortcut",(function(){return V})),n.d(t,"useMediaQuery",(function(){return W})),n.d(t,"usePrevious",(function(){return $})),n.d(t,"useReducedMotion",(function(){return B})),n.d(t,"useViewportMatch",(function(){return ee})),n.d(t,"useResizeObserver",(function(){return ne})),n.d(t,"useAsyncList",(function(){return ie})),n.d(t,"useWarnOnChange",(function(){return ue})),n.d(t,"useDebounce",(function(){return se})),n.d(t,"useThrottle",(function(){return ae})),n.d(t,"useMergeRefs",(function(){return I})),n.d(t,"useRefEffect",(function(){return j})),n.d(t,"__experimentalUseDropZone",(function(){return fe})),n.d(t,"useFocusableIframe",(function(){return de})),n.d(t,"__experimentalUseFixedWindowList",(function(){return pe}));var r=n("YLtl");var o=function(e,t){return n=>{const o=e(n),i=n.displayName||n.name||"Component";return o.displayName=`${Object(r.upperFirst)(Object(r.camelCase)(t))}(${i})`,o}},i=r.flowRight,u=n("GRId");var c=e=>o(t=>n=>e(n)?Object(u.createElement)(t,n):null,"ifCondition"),s=n("rl8x"),a=n.n(s);var l=o(e=>e.prototype instanceof u.Component?class extends e{shouldComponentUpdate(e,t){return!a()(e,this.props)||!a()(t,this.state)}}:class extends u.Component{shouldComponentUpdate(e){return!a()(e,this.props)}render(){return Object(u.createElement)(e,this.props)}},"pure"),f=n("wx14"),d=n("NMb1"),p=n.n(d);const h=new class{constructor(){this.listeners={},this.handleEvent=this.handleEvent.bind(this)}add(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}remove(e,t){this.listeners[e]=Object(r.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}handleEvent(e){Object(r.forEach)(this.listeners[e.type],t=>{t.handleEvent(e)})}};function v(e){return p()("wp.compose.withGlobalEvents",{since:"5.7",alternative:"useEffect"}),o(t=>{class n extends u.Component{constructor(e){super(e),this.handleEvent=this.handleEvent.bind(this),this.handleRef=this.handleRef.bind(this)}componentDidMount(){Object(r.forEach)(e,(e,t)=>{h.add(t,this)})}componentWillUnmount(){Object(r.forEach)(e,(e,t)=>{h.remove(t,this)})}handleEvent(t){const n=e[t.type];"function"==typeof this.wrappedRef[n]&&this.wrappedRef[n](t)}handleRef(e){this.wrappedRef=e,this.props.forwardedRef&&this.props.forwardedRef(e)}render(){return Object(u.createElement)(t,Object(f.a)({},this.props.ownProps,{ref:this.handleRef}))}}return Object(u.forwardRef)((e,t)=>Object(u.createElement)(n,{ownProps:e,forwardedRef:t}))},"withGlobalEvents")}const m=new WeakMap;function b(e){const t=m.get(e)||0;return m.set(e,t+1),t}function y(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.useMemo)(()=>{if(n)return n;const r=b(e);return t?`${t}-${r}`:r},[e])}var g=o(e=>t=>{const n=y(e);return Object(u.createElement)(e,Object(f.a)({},t,{instanceId:n}))},"withInstanceId");var E=o(e=>class extends u.Component{constructor(e){super(e),this.timeouts=[],this.setTimeout=this.setTimeout.bind(this),this.clearTimeout=this.clearTimeout.bind(this)}componentWillUnmount(){this.timeouts.forEach(clearTimeout)}setTimeout(e,t){const n=setTimeout(()=>{e(),this.clearTimeout(n)},t);return this.timeouts.push(n),n}clearTimeout(e){clearTimeout(e),this.timeouts=Object(r.without)(this.timeouts,e)}render(){const t={...this.props,setTimeout:this.setTimeout,clearTimeout:this.clearTimeout};return Object(u.createElement)(e,t)}},"withSafeTimeout");function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return p()("wp.compose.withState",{alternative:"wp.element.useState"}),o(t=>class extends u.Component{constructor(t){super(t),this.setState=this.setState.bind(this),this.state=e}render(){return Object(u.createElement)(t,Object(f.a)({},this.props,this.state,{setState:this.setState}))}},"withState")}var O=n("RxS6"),k=n("1CF3");function j(e,t){const n=Object(u.useRef)();return Object(u.useCallback)(t=>{t?n.current=e(t):n.current&&n.current()},t)}var T=function(){return j(e=>{let t;function n(n){const{keyCode:r,shiftKey:o,target:i}=n;if(r!==O.TAB)return;const u=o?"findPrevious":"findNext",c=k.focus.tabbable[u](i)||null;if(e.contains(c))return;const s=o?"append":"prepend",{ownerDocument:a}=e,l=a.createElement("div");l.tabIndex=-1,e[s](l),l.focus(),t=setTimeout(()=>e.removeChild(l))}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n),clearTimeout(t)}},[])},x=n("sxGJ"),S=n.n(x);function C(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4e3;p()("wp.compose.useCopyOnClick",{since:"10.3",plugin:"Gutenberg",alternative:"wp.compose.useCopyToClipboard"});const r=Object(u.useRef)(),[o,i]=Object(u.useState)(!1);return Object(u.useEffect)(()=>{let o;if(e.current)return r.current=new S.a(e.current,{text:()=>"function"==typeof t?t():t}),r.current.on("success",e=>{let{clearSelection:t,trigger:r}=e;t(),r&&r.focus(),n&&(i(!0),clearTimeout(o),o=setTimeout(()=>i(!1),n))}),()=>{r.current&&r.current.destroy(),clearTimeout(o)}},[t,n,i]),o}function L(e){const t=Object(u.useRef)(e);return t.current=e,t}function D(e,t){const n=L(e),r=L(t);return j(e=>{const t=new S.a(e,{text:()=>"function"==typeof n.current?n.current():n.current||""});return t.on("success",t=>{let{clearSelection:n}=t;n(),e.focus(),r.current&&r.current()}),()=>{t.destroy()}},[])}function R(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"firstElement";const t=Object(u.useRef)(e);return Object(u.useEffect)(()=>{t.current=e},[e]),Object(u.useCallback)(e=>{var n,r;if(!e||!1===t.current)return;if(e.contains(null!==(n=null===(r=e.ownerDocument)||void 0===r?void 0:r.activeElement)&&void 0!==n?n:null))return;let o=e;if("firstElement"===t.current){const t=k.focus.tabbable.find(e)[0];t&&(o=t)}o.focus()},[])}var _=function(e){const t=Object(u.useRef)(null),n=Object(u.useRef)(null),r=Object(u.useRef)(e);return Object(u.useEffect)(()=>{r.current=e},[e]),Object(u.useCallback)(e=>{if(e){if(t.current=e,n.current)return;n.current=e.ownerDocument.activeElement}else if(n.current){var o,i,u;const e=null===(o=t.current)||void 0===o?void 0:o.contains(null===(i=t.current)||void 0===i?void 0:i.ownerDocument.activeElement);if(null!==(u=t.current)&&void 0!==u&&u.isConnected&&!e)return;var c;if(r.current)r.current();else null===(c=n.current)||void 0===c||c.focus()}},[])};const M=["button","submit"];function P(e){const t=Object(u.useRef)(e);Object(u.useEffect)(()=>{t.current=e},[e]);const n=Object(u.useRef)(!1),o=Object(u.useRef)(),i=Object(u.useCallback)(()=>{clearTimeout(o.current)},[]);Object(u.useEffect)(()=>()=>i(),[]),Object(u.useEffect)(()=>{e||i()},[e,i]);const c=Object(u.useCallback)(e=>{const{type:t,target:o}=e;Object(r.includes)(["mouseup","touchend"],t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(r.includes)(M,e.type)}return!1}(o)&&(n.current=!0)},[]),s=Object(u.useCallback)(e=>{e.persist(),n.current||(o.current=setTimeout(()=>{document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()},0))},[]);return{onFocus:i,onMouseDown:c,onMouseUp:c,onTouchStart:c,onTouchEnd:c,onBlur:s}}function A(e,t){"function"==typeof e?e(t):e&&e.hasOwnProperty("current")&&(e.current=t)}function I(e){const t=Object(u.useRef)(),n=Object(u.useRef)(!1),r=Object(u.useRef)([]),o=Object(u.useRef)(e);return o.current=e,Object(u.useLayoutEffect)(()=>{!1===n.current&&e.forEach((e,n)=>{const o=r.current[n];e!==o&&(A(o,null),A(e,t.current))}),r.current=e},e),Object(u.useLayoutEffect)(()=>{n.current=!1}),Object(u.useCallback)(e=>{A(t,e),n.current=!0;const i=e?o.current:r.current;for(const t of i)A(t,e)},[])}var N=function(e){const t=Object(u.useRef)();Object(u.useEffect)(()=>{t.current=e},Object.values(e));const n=T(),r=R(e.focusOnMount),o=_(),i=P(e=>{var n,r;null!==(n=t.current)&&void 0!==n&&n.__unstableOnClose?t.current.__unstableOnClose("focus-outside",e):null!==(r=t.current)&&void 0!==r&&r.onClose&&t.current.onClose()}),c=Object(u.useCallback)(e=>{e&&e.addEventListener("keydown",e=>{var n;e.keyCode===O.ESCAPE&&!e.defaultPrevented&&null!==(n=t.current)&&void 0!==n&&n.onClose&&(e.preventDefault(),t.current.onClose())})},[]);return[I([!1!==e.focusOnMount?n:null,!1!==e.focusOnMount?o:null,!1!==e.focusOnMount?r:null,c]),{...i,tabIndex:"-1"}]};const F=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"];function H(){const e=Object(u.useRef)(null),t=()=>{e.current&&k.focus.focusable.find(e.current).forEach(e=>{Object(r.includes)(F,e.nodeName)&&e.setAttribute("disabled",""),"A"===e.nodeName&&e.setAttribute("tabindex","-1");const t=e.getAttribute("tabindex");null!==t&&"-1"!==t&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")})},n=Object(u.useCallback)(Object(r.debounce)(t,void 0,{leading:!0}),[]);return Object(u.useLayoutEffect)(()=>{let r;return t(),e.current&&(r=new window.MutationObserver(n),r.observe(e.current,{childList:!0,attributes:!0,subtree:!0})),()=>{r&&r.disconnect(),n.cancel()}},[]),e}var U="undefined"!=typeof window?u.useLayoutEffect:u.useEffect;function q(e){let{onDragStart:t,onDragMove:n,onDragEnd:r}=e;const[o,i]=Object(u.useState)(!1),c=Object(u.useRef)({onDragStart:t,onDragMove:n,onDragEnd:r});U(()=>{c.current.onDragStart=t,c.current.onDragMove=n,c.current.onDragEnd=r},[t,n,r]);const s=Object(u.useCallback)(e=>c.current.onDragMove&&c.current.onDragMove(e),[]),a=Object(u.useCallback)(e=>{c.current.onDragEnd&&c.current.onDragEnd(e),document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",a),i(!1)},[]),l=Object(u.useCallback)(e=>{c.current.onDragStart&&c.current.onDragStart(e),document.addEventListener("mousemove",s),document.addEventListener("mouseup",a),i(!0)},[]);return Object(u.useEffect)(()=>()=>{o&&(document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",a))},[o]),{startDrag:l,endDrag:a,isDragging:o}}var z=n("imBb"),G=n.n(z);n("VcSt");function K(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],t)}var V=function(e,t){let{bindGlobal:n=!1,eventName:o="keydown",isDisabled:i=!1,target:c}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=Object(u.useRef)(t);Object(u.useEffect)(()=>{s.current=t},[t]),Object(u.useEffect)(()=>{if(i)return;const t=new G.a(c&&c.current?c.current:document);return Object(r.castArray)(e).forEach(e=>{const r=e.split("+"),i=new Set(r.filter(e=>e.length>1)),u=i.has("alt"),c=i.has("shift");if(K()&&(1===i.size&&u||2===i.size&&u&&c))throw new Error(`Cannot bind ${e}. Alt and Shift+Alt modifiers are reserved for character input.`);t[n?"bindGlobal":"bind"](e,(function(){return s.current(...arguments)}),o)}),()=>{t.reset()}},[e,n,o,c,i])};function W(e){const[t,n]=Object(u.useState)(()=>!(!e||"undefined"==typeof window||!window.matchMedia(e).matches));return Object(u.useEffect)(()=>{if(!e)return;const t=()=>n(window.matchMedia(e).matches);t();const r=window.matchMedia(e);return r.addListener(t),()=>{r.removeListener(t)}},[e]),!!e&&t}function $(e){const t=Object(u.useRef)();return Object(u.useEffect)(()=>{t.current=e},[e]),t.current}var B=()=>W("(prefers-reduced-motion: reduce)");const X={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},Y={">=":"min-width","<":"max-width"},Z={">=":(e,t)=>t>=e,"<":(e,t)=>t<e},Q=Object(u.createContext)(null),J=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=";const n=Object(u.useContext)(Q),r=!n&&`(${Y[t]}: ${X[e]}px)`,o=W(r||void 0);return n?Z[t](X[e],n):o};J.__experimentalWidthProvider=Q.Provider;var ee=J,te=n("SSiF"),ne=n.n(te).a,re=n("XI5e");function oe(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(!t.includes(o))break;n.push(o)}return n}var ie=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{step:1};const{step:n=1}=t,[r,o]=Object(u.useState)([]);return Object(u.useEffect)(()=>{let t=oe(e,r);t.length<n&&(t=t.concat(e.slice(t.length,n))),o(t);let i=t.length;const u=Object(re.createQueue)(),c=()=>{e.length<=i||(o(t=>[...t,...e.slice(i,i+n)]),i+=n,u.add({},c))};return u.add({},c),()=>u.reset()},[e]),r};var ue=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Change detection";const n=$(e);Object.entries(null!=n?n:[]).forEach(n=>{let[r,o]=n;o!==e[r]&&console.warn(`${t}: ${r} key changed:`,o,e[r])})},ce=n("mHlH");function se(e,t,n){const o=Object(ce.a)(()=>Object(r.debounce)(e,t,n),[e,t,n]);return Object(u.useEffect)(()=>()=>o.cancel(),[o]),o}function ae(e,t,n){const o=Object(ce.a)(()=>Object(r.throttle)(e,t,n),[e,t,n]);return Object(u.useEffect)(()=>()=>o.cancel(),[o]),o}function le(e){const t=Object(u.useRef)();return t.current=e,t}function fe(e){let{isDisabled:t,onDrop:n,onDragStart:r,onDragEnter:o,onDragLeave:i,onDragEnd:u,onDragOver:c}=e;const s=le(n),a=le(r),l=le(o),f=le(i),d=le(u),p=le(c);return j(e=>{if(t)return;let n=!1;const{ownerDocument:r}=e;function o(e){n||(n=!0,r.removeEventListener("dragenter",o),r.addEventListener("dragend",v),r.addEventListener("mousemove",v),a.current&&a.current(e))}function i(t){t.preventDefault(),e.contains(t.relatedTarget)||l.current&&l.current(t)}function u(e){!e.defaultPrevented&&p.current&&p.current(e),e.preventDefault()}function c(t){(function(t){const{defaultView:n}=r;if(!(t&&n&&t instanceof n.HTMLElement&&e.contains(t)))return!1;let o=t;do{if(o.dataset.isDropZone)return o===e}while(o=o.parentElement);return!1})(t.relatedTarget)||f.current&&f.current(t)}function h(e){e.defaultPrevented||(e.preventDefault(),e.dataTransfer&&e.dataTransfer.files.length,s.current&&s.current(e),v(e))}function v(e){n&&(n=!1,r.addEventListener("dragenter",o),r.removeEventListener("dragend",v),r.removeEventListener("mousemove",v),d.current&&d.current(e))}return e.dataset.isDropZone="true",e.addEventListener("drop",h),e.addEventListener("dragenter",i),e.addEventListener("dragover",u),e.addEventListener("dragleave",c),r.addEventListener("dragenter",o),()=>{delete e.dataset.isDropZone,e.removeEventListener("drop",h),e.removeEventListener("dragenter",i),e.removeEventListener("dragover",u),e.removeEventListener("dragleave",c),r.removeEventListener("dragend",v),r.removeEventListener("mousemove",v),r.addEventListener("dragenter",o)}},[t])}function de(){return j(e=>{const{ownerDocument:t}=e;if(!t)return;const{defaultView:n}=t;if(n)return n.addEventListener("blur",r),()=>{n.removeEventListener("blur",r)};function r(){t&&t.activeElement===e&&e.focus()}},[])}function pe(e,t,n,o){var i,c;const s=null!==(i=null==o?void 0:o.initWindowSize)&&void 0!==i?i:30,a=null===(c=null==o?void 0:o.useWindowing)||void 0===c||c,[l,f]=Object(u.useState)({visibleItems:s,start:0,end:s,itemInView:e=>e>=0&&e<=s});return Object(u.useLayoutEffect)(()=>{var i,u,c,s;if(!a)return;const l=Object(k.getScrollContainer)(e.current),d=e=>{var r;if(!l)return;const i=Math.ceil(l.clientHeight/t),u=e?i:null!==(r=null==o?void 0:o.windowOverscan)&&void 0!==r?r:i,c=Math.floor(l.scrollTop/t),s=Math.max(0,c-u),a=Math.min(n-1,c+i+u);f(e=>{const t={visibleItems:i,start:s,end:a,itemInView:e=>s<=e&&e<=a};return e.start!==t.start||e.end!==t.end||e.visibleItems!==t.visibleItems?t:e})};d(!0);const p=Object(r.debounce)(()=>{d()},16);return null==l||l.addEventListener("scroll",p),null==l||null===(i=l.ownerDocument)||void 0===i||null===(u=i.defaultView)||void 0===u||u.addEventListener("resize",p),null==l||null===(c=l.ownerDocument)||void 0===c||null===(s=c.defaultView)||void 0===s||s.addEventListener("resize",p),()=>{var e,t;null==l||l.removeEventListener("scroll",p),null==l||null===(e=l.ownerDocument)||void 0===e||null===(t=e.defaultView)||void 0===t||t.removeEventListener("resize",p)}},[t,e,n]),Object(u.useLayoutEffect)(()=>{var r,o;if(!a)return;const i=Object(k.getScrollContainer)(e.current),u=e=>{switch(e.keyCode){case O.HOME:return null==i?void 0:i.scrollTo({top:0});case O.END:return null==i?void 0:i.scrollTo({top:n*t});case O.PAGEUP:return null==i?void 0:i.scrollTo({top:i.scrollTop-l.visibleItems*t});case O.PAGEDOWN:return null==i?void 0:i.scrollTo({top:i.scrollTop+l.visibleItems*t})}};return null==i||null===(r=i.ownerDocument)||void 0===r||null===(o=r.defaultView)||void 0===o||o.addEventListener("keydown",u),()=>{var e,t;null==i||null===(e=i.ownerDocument)||void 0===e||null===(t=e.defaultView)||void 0===t||t.removeEventListener("keydown",u)}},[n,t,e,l.visibleItems]),[l,f]}},RxS6:function(e,t){e.exports=window.wp.keycodes},SSiF:function(e,t,n){var r=n("cDcd"),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},i=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function o(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?o():e.current&&e.current.addEventListener&&e.current.addEventListener("load",o),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},u=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=u);var t=r.useState(e(null)),n=t[0],o=t[1],c=r.useCallback((function(t){return o(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(i,{onResize:c})}),[c]),n]}},VcSt:function(e,t){!function(e){if(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,i){return!!this.paused||!t[o]&&!t[i]&&n.call(this,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e.init()}}("undefined"!=typeof Mousetrap?Mousetrap:void 0)},XI5e:function(e,t){e.exports=window.wp.priorityQueue},YLtl:function(e,t){e.exports=window.lodash},cDcd:function(e,t){e.exports=window.React},imBb:function(e,t,n){var r;!function(o,i,u){if(o){for(var c,s={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},a={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},l={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},d=1;d<20;++d)s[111+d]="f"+d;for(d=0;d<=9;++d)s[d+96]=d.toString();y.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},y.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},y.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},y.prototype.reset=function(){return this._callbacks={},this._directMap={},this},y.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==i&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},y.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=null},y.init=function(){var e=y(i);for(var t in e)"_"!==t.charAt(0)&&(y[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},y.init(),o.Mousetrap=y,e.exports&&(e.exports=y),void 0===(r=function(){return y}.call(t,n,t,e))||(e.exports=r)}function p(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function h(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return s[e.which]?s[e.which]:a[e.which]?a[e.which]:String.fromCharCode(e.which).toLowerCase()}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!c)for(var e in c={},s)e>95&&e<112||s.hasOwnProperty(e)&&(c[s[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function b(e,t){var n,r,o,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)r=n[o],f[r]&&(r=f[r]),t&&"keypress"!=t&&l[r]&&(r=l[r],i.push("shift")),v(r)&&i.push(r);return{key:r,modifiers:i,action:t=m(r,i,t)}}function y(e){var t=this;if(e=e||i,!(t instanceof y))return new y(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},o=!1,u=!1,c=!1;function s(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(c=!1)}function a(e,n,o,i,u,c){var s,a,l,f,d=[],p=o.type;if(!t._callbacks[e])return[];for("keyup"==p&&v(e)&&(n=[e]),s=0;s<t._callbacks[e].length;++s)if(a=t._callbacks[e][s],(i||!a.seq||r[a.seq]==a.level)&&p==a.action&&("keypress"==p&&!o.metaKey&&!o.ctrlKey||(l=n,f=a.modifiers,l.sort().join(",")===f.sort().join(",")))){var h=!i&&a.combo==u,m=i&&a.seq==i&&a.level==c;(h||m)&&t._callbacks[e].splice(s,1),d.push(a)}return d}function l(e,n,r,o){t.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function f(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=h(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function d(e,t,i,u){function a(t){return function(){c=t,++r[e],clearTimeout(n),n=setTimeout(s,1e3)}}function f(t){l(i,t,e),"keyup"!==u&&(o=h(t)),setTimeout(s,10)}r[e]=0;for(var d=0;d<t.length;++d){var p=d+1===t.length?f:a(u||b(t[d+1]).action);m(t[d],p,u,e,d)}}function m(e,n,r,o,i){t._directMap[e+":"+r]=n;var u,c=(e=e.replace(/\s+/g," ")).split(" ");c.length>1?d(e,c,n,r):(u=b(e,r),t._callbacks[u.key]=t._callbacks[u.key]||[],a(u.key,u.modifiers,{type:u.action},o,e,i),t._callbacks[u.key][o?"unshift":"push"]({callback:n,modifiers:u.modifiers,action:u.action,seq:o,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,o=a(e,t,n),i={},f=0,d=!1;for(r=0;r<o.length;++r)o[r].seq&&(f=Math.max(f,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=f)continue;d=!0,i[o[r].seq]=1,l(o[r].callback,n,o[r].combo,o[r].seq)}else d||l(o[r].callback,n,o[r].combo);var p="keypress"==n.type&&u;n.type!=c||v(e)||p||s(i),u=d&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)m(e[r],t,n)},p(e,"keypress",f),p(e,"keydown",f),p(e,"keyup",f)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},mHlH:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("cDcd");function o(e,t){var n=Object(r.useState)((function(){return{inputs:t,result:e()}}))[0],o=Object(r.useRef)(!0),i=Object(r.useRef)(n),u=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return Object(r.useEffect)((function(){o.current=!1,i.current=u}),[u]),u.result}},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},sxGJ:function(e,t,n){
+!function(){var e={8294:function(e){
 /*!
  * clipboard.js v2.0.8
  * https://clipboardjs.com/
  *
  * Licensed MIT © Zeno Rocha
  */
-var r;r=function(){return function(){var e={134:function(e,t,n){"use strict";n.d(t,{default:function(){return g}});var r=n(279),o=n.n(r),i=n(370),u=n.n(i),c=n(817),s=n.n(c);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}var t,n,r;return t=e,(n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var e="rtl"===document.documentElement.getAttribute("dir");this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var t=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(t,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var e=this,t=this.createFakeElement();this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(t),this.selectedText=s()(t),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=s()(this.target),this.copyText()}},{key:"copyText",value:function(){var e;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==a(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}])&&l(t.prototype,n),r&&l(t,r),e}();function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(i,e);var t,n,r,o=v(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this)).resolveOptions(t),n.listenClick(e),n}return t=i,r=[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],(n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===d(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=u()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new f({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return y("action",e)}},{key:"defaultTarget",value:function(e){var t=y("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return y("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}])&&p(t.prototype,n),r&&p(t,r),i}(o())},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var u=i.apply(this,arguments);return e.addEventListener(n,u,o),{destroy:function(){e.removeEventListener(n,u,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,u=r.length;i<u;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(134)}().default},e.exports=r()},wx14:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))}});
\ No newline at end of file
+var t;t=function(){return function(){var e={134:function(e,t,n){"use strict";n.d(t,{default:function(){return w}});var r=n(279),o=n.n(r),i=n(370),u=n.n(i),c=n(817),s=n.n(c);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}var t,n,r;return t=e,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var e="rtl"===document.documentElement.getAttribute("dir");this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var t=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(t,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var e=this,t=this.createFakeElement();this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(t),this.selectedText=s()(t),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=s()(this.target),this.copyText()}},{key:"copyText",value:function(){var e;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==a(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}],n&&l(t.prototype,n),r&&l(t,r),e}(),d=f;function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function g(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(i,e);var t,n,r,o=m(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this)).resolveOptions(t),n.listenClick(e),n}return t=i,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===p(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=u()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new d({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return g("action",e)}},{key:"defaultTarget",value:function(e){var t=g("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return g("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],r=[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&h(t.prototype,n),r&&h(t,r),i}(o()),w=E},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var u=i.apply(this,arguments);return e.addEventListener(n,u,o),{destroy:function(){e.removeEventListener(n,u,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,u=r.length;i<u;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(134)}().default},e.exports=t()},7973:function(e,t,n){var r;!function(o,i,u){if(o){for(var c,s={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},a={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},l={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},d=1;d<20;++d)s[111+d]="f"+d;for(d=0;d<=9;++d)s[d+96]=d.toString();g.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},g.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},g.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},g.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},g.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(b(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},g.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},g.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(s[t]=e[t]);c=null},g.init=function(){var e=g(i);for(var t in e)"_"!==t.charAt(0)&&(g[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},g.init(),o.Mousetrap=g,e.exports&&(e.exports=g),void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r)}function p(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function h(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return s[e.which]?s[e.which]:a[e.which]?a[e.which]:String.fromCharCode(e.which).toLowerCase()}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!c)for(var e in c={},s)e>95&&e<112||s.hasOwnProperty(e)&&(c[s[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function y(e,t){var n,r,o,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)r=n[o],f[r]&&(r=f[r]),t&&"keypress"!=t&&l[r]&&(r=l[r],i.push("shift")),v(r)&&i.push(r);return{key:r,modifiers:i,action:t=m(r,i,t)}}function b(e,t){return null!==e&&e!==i&&(e===t||b(e.parentNode,t))}function g(e){var t=this;if(e=e||i,!(t instanceof g))return new g(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},o=!1,u=!1,c=!1;function s(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(c=!1)}function a(e,n,o,i,u,c){var s,a,l,f,d=[],p=o.type;if(!t._callbacks[e])return[];for("keyup"==p&&v(e)&&(n=[e]),s=0;s<t._callbacks[e].length;++s)if(a=t._callbacks[e][s],(i||!a.seq||r[a.seq]==a.level)&&p==a.action&&("keypress"==p&&!o.metaKey&&!o.ctrlKey||(l=n,f=a.modifiers,l.sort().join(",")===f.sort().join(",")))){var h=!i&&a.combo==u,m=i&&a.seq==i&&a.level==c;(h||m)&&t._callbacks[e].splice(s,1),d.push(a)}return d}function l(e,n,r,o){t.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function f(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=h(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function d(e,t,i,u){function a(t){return function(){c=t,++r[e],clearTimeout(n),n=setTimeout(s,1e3)}}function f(t){l(i,t,e),"keyup"!==u&&(o=h(t)),setTimeout(s,10)}r[e]=0;for(var d=0;d<t.length;++d){var p=d+1===t.length?f:a(u||y(t[d+1]).action);m(t[d],p,u,e,d)}}function m(e,n,r,o,i){t._directMap[e+":"+r]=n;var u,c=(e=e.replace(/\s+/g," ")).split(" ");c.length>1?d(e,c,n,r):(u=y(e,r),t._callbacks[u.key]=t._callbacks[u.key]||[],a(u.key,u.modifiers,{type:u.action},o,e,i),t._callbacks[u.key][o?"unshift":"push"]({callback:n,modifiers:u.modifiers,action:u.action,seq:o,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,o=a(e,t,n),i={},f=0,d=!1;for(r=0;r<o.length;++r)o[r].seq&&(f=Math.max(f,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=f)continue;d=!0,i[o[r].seq]=1,l(o[r].callback,n,o[r].combo,o[r].seq)}else d||l(o[r].callback,n,o[r].combo);var p="keypress"==n.type&&u;n.type!=c||v(e)||p||s(i),u=d&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)m(e[r],t,n)},p(e,"keypress",f),p(e,"keydown",f),p(e,"keyup",f)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},5538:function(){!function(e){if(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,i){return!!this.paused||!t[o]&&!t[i]&&n.call(this,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e.init()}}("undefined"!=typeof Mousetrap?Mousetrap:void 0)},235:function(e,t,n){var r=n(9196),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},i=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function o(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?o():e.current&&e.current.addEventListener&&e.current.addEventListener("load",o),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},u=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=u);var t=r.useState(e(null)),n=t[0],o=t[1],c=r.useCallback((function(t){return o(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(i,{onResize:c})}),[c]),n]}},9196:function(e){"use strict";e.exports=window.React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r),n.d(r,{__experimentalUseDialog:function(){return N},__experimentalUseDisabled:function(){return F},__experimentalUseDragging:function(){return H},__experimentalUseDropZone:function(){return fe},__experimentalUseFixedWindowList:function(){return pe},__experimentalUseFocusOutside:function(){return A},compose:function(){return o},createHigherOrderComponent:function(){return t},ifCondition:function(){return u},pure:function(){return a},useAsyncList:function(){return oe},useConstrainedTabbing:function(){return C},useCopyOnClick:function(){return x},useCopyToClipboard:function(){return O},useDebounce:function(){return se},useFocusOnMount:function(){return R},useFocusReturn:function(){return _},useFocusableIframe:function(){return de},useInstanceId:function(){return y},useIsomorphicLayoutEffect:function(){return U},useKeyboardShortcut:function(){return V},useMediaQuery:function(){return G},useMergeRefs:function(){return I},usePrevious:function(){return W},useReducedMotion:function(){return $},useRefEffect:function(){return T},useResizeObserver:function(){return te},useThrottle:function(){return ae},useViewportMatch:function(){return J},useWarnOnChange:function(){return ie},withGlobalEvents:function(){return h},withInstanceId:function(){return b},withSafeTimeout:function(){return g},withState:function(){return E}});var e=window.lodash;var t=function(t,n){return r=>{const o=t(r),i=r.displayName||r.name||"Component";return o.displayName=`${(0,e.upperFirst)((0,e.camelCase)(n))}(${i})`,o}},o=e.flowRight,i=window.wp.element;var u=e=>t((t=>n=>e(n)?(0,i.createElement)(t,n):null),"ifCondition"),c=window.wp.isShallowEqual,s=n.n(c);var a=t((e=>e.prototype instanceof i.Component?class extends e{shouldComponentUpdate(e,t){return!s()(e,this.props)||!s()(t,this.state)}}:class extends i.Component{shouldComponentUpdate(e){return!s()(e,this.props)}render(){return(0,i.createElement)(e,this.props)}}),"pure");function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}var f=window.wp.deprecated,d=n.n(f);const p=new class{constructor(){this.listeners={},this.handleEvent=this.handleEvent.bind(this)}add(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}remove(t,n){this.listeners[t]=(0,e.without)(this.listeners[t],n),this.listeners[t].length||(window.removeEventListener(t,this.handleEvent),delete this.listeners[t])}handleEvent(t){(0,e.forEach)(this.listeners[t.type],(e=>{e.handleEvent(t)}))}};function h(n){return d()("wp.compose.withGlobalEvents",{since:"5.7",alternative:"useEffect"}),t((t=>{class r extends i.Component{constructor(e){super(e),this.handleEvent=this.handleEvent.bind(this),this.handleRef=this.handleRef.bind(this)}componentDidMount(){(0,e.forEach)(n,((e,t)=>{p.add(t,this)}))}componentWillUnmount(){(0,e.forEach)(n,((e,t)=>{p.remove(t,this)}))}handleEvent(e){const t=n[e.type];"function"==typeof this.wrappedRef[t]&&this.wrappedRef[t](e)}handleRef(e){this.wrappedRef=e,this.props.forwardedRef&&this.props.forwardedRef(e)}render(){return(0,i.createElement)(t,l({},this.props.ownProps,{ref:this.handleRef}))}}return(0,i.forwardRef)(((e,t)=>(0,i.createElement)(r,{ownProps:e,forwardedRef:t})))}),"withGlobalEvents")}const v=new WeakMap;function m(e){const t=v.get(e)||0;return v.set(e,t+1),t}function y(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,i.useMemo)((()=>{if(n)return n;const r=m(e);return t?`${t}-${r}`:r}),[e])}var b=t((e=>t=>{const n=y(e);return(0,i.createElement)(e,l({},t,{instanceId:n}))}),"withInstanceId");var g=t((t=>class extends i.Component{constructor(e){super(e),this.timeouts=[],this.setTimeout=this.setTimeout.bind(this),this.clearTimeout=this.clearTimeout.bind(this)}componentWillUnmount(){this.timeouts.forEach(clearTimeout)}setTimeout(e,t){const n=setTimeout((()=>{e(),this.clearTimeout(n)}),t);return this.timeouts.push(n),n}clearTimeout(t){clearTimeout(t),this.timeouts=(0,e.without)(this.timeouts,t)}render(){const e={...this.props,setTimeout:this.setTimeout,clearTimeout:this.clearTimeout};return(0,i.createElement)(t,e)}}),"withSafeTimeout");function E(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return d()("wp.compose.withState",{alternative:"wp.element.useState"}),t((t=>class extends i.Component{constructor(t){super(t),this.setState=this.setState.bind(this),this.state=e}render(){return(0,i.createElement)(t,l({},this.props,this.state,{setState:this.setState}))}}),"withState")}var w=window.wp.keycodes,k=window.wp.dom;function T(e,t){const n=(0,i.useRef)();return(0,i.useCallback)((t=>{t?n.current=e(t):n.current&&n.current()}),t)}var C=function(){return T((e=>{let t;function n(n){const{keyCode:r,shiftKey:o,target:i}=n;if(r!==w.TAB)return;const u=o?"findPrevious":"findNext",c=k.focus.tabbable[u](i)||null;if(e.contains(c))return;const s=o?"append":"prepend",{ownerDocument:a}=e,l=a.createElement("div");l.tabIndex=-1,e[s](l),l.focus(),t=setTimeout((()=>e.removeChild(l)))}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n),clearTimeout(t)}}),[])},S=n(8294),L=n.n(S);function x(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4e3;d()("wp.compose.useCopyOnClick",{since:"10.3",plugin:"Gutenberg",alternative:"wp.compose.useCopyToClipboard"});const r=(0,i.useRef)(),[o,u]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{let o;if(e.current)return r.current=new(L())(e.current,{text:()=>"function"==typeof t?t():t}),r.current.on("success",(e=>{let{clearSelection:t,trigger:r}=e;t(),r&&r.focus(),n&&(u(!0),clearTimeout(o),o=setTimeout((()=>u(!1)),n))})),()=>{r.current&&r.current.destroy(),clearTimeout(o)}}),[t,n,u]),o}function D(e){const t=(0,i.useRef)(e);return t.current=e,t}function O(e,t){const n=D(e),r=D(t);return T((e=>{const t=new(L())(e,{text:()=>"function"==typeof n.current?n.current():n.current||""});return t.on("success",(t=>{let{clearSelection:n}=t;n(),e.focus(),r.current&&r.current()})),()=>{t.destroy()}}),[])}function R(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"firstElement";const t=(0,i.useRef)(e);return(0,i.useEffect)((()=>{t.current=e}),[e]),(0,i.useCallback)((e=>{var n,r;if(!e||!1===t.current)return;if(e.contains(null!==(n=null===(r=e.ownerDocument)||void 0===r?void 0:r.activeElement)&&void 0!==n?n:null))return;let o=e;if("firstElement"===t.current){const t=k.focus.tabbable.find(e)[0];t&&(o=t)}o.focus()}),[])}var _=function(e){const t=(0,i.useRef)(null),n=(0,i.useRef)(null),r=(0,i.useRef)(e);return(0,i.useEffect)((()=>{r.current=e}),[e]),(0,i.useCallback)((e=>{if(e){if(t.current=e,n.current)return;n.current=e.ownerDocument.activeElement}else if(n.current){var o,i,u;const e=null===(o=t.current)||void 0===o?void 0:o.contains(null===(i=t.current)||void 0===i?void 0:i.ownerDocument.activeElement);if(null!==(u=t.current)&&void 0!==u&&u.isConnected&&!e)return;var c;if(r.current)r.current();else null===(c=n.current)||void 0===c||c.focus()}}),[])};const M=["button","submit"];function A(t){const n=(0,i.useRef)(t);(0,i.useEffect)((()=>{n.current=t}),[t]);const r=(0,i.useRef)(!1),o=(0,i.useRef)(),u=(0,i.useCallback)((()=>{clearTimeout(o.current)}),[]);(0,i.useEffect)((()=>()=>u()),[]),(0,i.useEffect)((()=>{t||u()}),[t,u]);const c=(0,i.useCallback)((t=>{const{type:n,target:o}=t;(0,e.includes)(["mouseup","touchend"],n)?r.current=!1:function(t){if(!(t instanceof window.HTMLElement))return!1;switch(t.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return(0,e.includes)(M,t.type)}return!1}(o)&&(r.current=!0)}),[]),s=(0,i.useCallback)((e=>{e.persist(),r.current||(o.current=setTimeout((()=>{document.hasFocus()?"function"==typeof n.current&&n.current(e):e.preventDefault()}),0))}),[]);return{onFocus:u,onMouseDown:c,onMouseUp:c,onTouchStart:c,onTouchEnd:c,onBlur:s}}function P(e,t){"function"==typeof e?e(t):e&&e.hasOwnProperty("current")&&(e.current=t)}function I(e){const t=(0,i.useRef)(),n=(0,i.useRef)(!1),r=(0,i.useRef)([]),o=(0,i.useRef)(e);return o.current=e,(0,i.useLayoutEffect)((()=>{!1===n.current&&e.forEach(((e,n)=>{const o=r.current[n];e!==o&&(P(o,null),P(e,t.current))})),r.current=e}),e),(0,i.useLayoutEffect)((()=>{n.current=!1})),(0,i.useCallback)((e=>{P(t,e),n.current=!0;const i=e?o.current:r.current;for(const t of i)P(t,e)}),[])}var N=function(e){const t=(0,i.useRef)();(0,i.useEffect)((()=>{t.current=e}),Object.values(e));const n=C(),r=R(e.focusOnMount),o=_(),u=A((e=>{var n,r;null!==(n=t.current)&&void 0!==n&&n.__unstableOnClose?t.current.__unstableOnClose("focus-outside",e):null!==(r=t.current)&&void 0!==r&&r.onClose&&t.current.onClose()})),c=(0,i.useCallback)((e=>{e&&e.addEventListener("keydown",(e=>{var n;e.keyCode===w.ESCAPE&&!e.defaultPrevented&&null!==(n=t.current)&&void 0!==n&&n.onClose&&(e.preventDefault(),t.current.onClose())}))}),[]);return[I([!1!==e.focusOnMount?n:null,!1!==e.focusOnMount?o:null,!1!==e.focusOnMount?r:null,c]),{...u,tabIndex:"-1"}]};const j=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"];function F(){const t=(0,i.useRef)(null),n=()=>{t.current&&k.focus.focusable.find(t.current).forEach((t=>{(0,e.includes)(j,t.nodeName)&&t.setAttribute("disabled",""),"A"===t.nodeName&&t.setAttribute("tabindex","-1");const n=t.getAttribute("tabindex");null!==n&&"-1"!==n&&t.removeAttribute("tabindex"),t.hasAttribute("contenteditable")&&t.setAttribute("contenteditable","false")}))},r=(0,i.useCallback)((0,e.debounce)(n,void 0,{leading:!0}),[]);return(0,i.useLayoutEffect)((()=>{let e;return n(),t.current&&(e=new window.MutationObserver(r),e.observe(t.current,{childList:!0,attributes:!0,subtree:!0})),()=>{e&&e.disconnect(),r.cancel()}}),[]),t}var U="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function H(e){let{onDragStart:t,onDragMove:n,onDragEnd:r}=e;const[o,u]=(0,i.useState)(!1),c=(0,i.useRef)({onDragStart:t,onDragMove:n,onDragEnd:r});U((()=>{c.current.onDragStart=t,c.current.onDragMove=n,c.current.onDragEnd=r}),[t,n,r]);const s=(0,i.useCallback)((e=>c.current.onDragMove&&c.current.onDragMove(e)),[]),a=(0,i.useCallback)((e=>{c.current.onDragEnd&&c.current.onDragEnd(e),document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",a),u(!1)}),[]),l=(0,i.useCallback)((e=>{c.current.onDragStart&&c.current.onDragStart(e),document.addEventListener("mousemove",s),document.addEventListener("mouseup",a),u(!0)}),[]);return(0,i.useEffect)((()=>()=>{o&&(document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",a))}),[o]),{startDrag:l,endDrag:a,isDragging:o}}var q=n(7973),z=n.n(q);n(5538);function K(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const{platform:n}=t.navigator;return-1!==n.indexOf("Mac")||(0,e.includes)(["iPad","iPhone"],n)}var V=function(t,n){let{bindGlobal:r=!1,eventName:o="keydown",isDisabled:u=!1,target:c}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=(0,i.useRef)(n);(0,i.useEffect)((()=>{s.current=n}),[n]),(0,i.useEffect)((()=>{if(u)return;const n=new(z())(c&&c.current?c.current:document);return(0,e.castArray)(t).forEach((e=>{const t=e.split("+"),i=new Set(t.filter((e=>e.length>1))),u=i.has("alt"),c=i.has("shift");if(K()&&(1===i.size&&u||2===i.size&&u&&c))throw new Error(`Cannot bind ${e}. Alt and Shift+Alt modifiers are reserved for character input.`);n[r?"bindGlobal":"bind"](e,(function(){return s.current(...arguments)}),o)})),()=>{n.reset()}}),[t,r,o,c,u])};function G(e){const[t,n]=(0,i.useState)((()=>!(!e||"undefined"==typeof window||!window.matchMedia(e).matches)));return(0,i.useEffect)((()=>{if(!e)return;const t=()=>n(window.matchMedia(e).matches);t();const r=window.matchMedia(e);return r.addListener(t),()=>{r.removeListener(t)}}),[e]),!!e&&t}function W(e){const t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current}var $=()=>G("(prefers-reduced-motion: reduce)");const B={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},Z={">=":"min-width","<":"max-width"},Q={">=":(e,t)=>t>=e,"<":(e,t)=>t<e},X=(0,i.createContext)(null),Y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=";const n=(0,i.useContext)(X),r=!n&&`(${Z[t]}: ${B[e]}px)`,o=G(r||void 0);return n?Q[t](B[e],n):o};Y.__experimentalWidthProvider=X.Provider;var J=Y,ee=n(235),te=n.n(ee)(),ne=window.wp.priorityQueue;function re(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(!t.includes(o))break;n.push(o)}return n}var oe=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{step:1};const{step:n=1}=t,[r,o]=(0,i.useState)([]);return(0,i.useEffect)((()=>{let t=re(e,r);t.length<n&&(t=t.concat(e.slice(t.length,n))),o(t);let i=t.length;const u=(0,ne.createQueue)(),c=()=>{e.length<=i||(o((t=>[...t,...e.slice(i,i+n)])),i+=n,u.add({},c))};return u.add({},c),()=>u.reset()}),[e]),r};var ie=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Change detection";const n=W(e);Object.entries(null!=n?n:[]).forEach((n=>{let[r,o]=n;o!==e[r]&&console.warn(`${t}: ${r} key changed:`,o,e[r])}))},ue=n(9196);function ce(e,t){var n=(0,ue.useState)((function(){return{inputs:t,result:e()}}))[0],r=(0,ue.useRef)(!0),o=(0,ue.useRef)(n),i=r.current||Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.current.inputs))?o.current:{inputs:t,result:e()};return(0,ue.useEffect)((function(){r.current=!1,o.current=i}),[i]),i.result}function se(t,n,r){const o=ce((()=>(0,e.debounce)(t,n,r)),[t,n,r]);return(0,i.useEffect)((()=>()=>o.cancel()),[o]),o}function ae(t,n,r){const o=ce((()=>(0,e.throttle)(t,n,r)),[t,n,r]);return(0,i.useEffect)((()=>()=>o.cancel()),[o]),o}function le(e){const t=(0,i.useRef)();return t.current=e,t}function fe(e){let{isDisabled:t,onDrop:n,onDragStart:r,onDragEnter:o,onDragLeave:i,onDragEnd:u,onDragOver:c}=e;const s=le(n),a=le(r),l=le(o),f=le(i),d=le(u),p=le(c);return T((e=>{if(t)return;let n=!1;const{ownerDocument:r}=e;function o(e){n||(n=!0,r.removeEventListener("dragenter",o),r.addEventListener("dragend",v),r.addEventListener("mousemove",v),a.current&&a.current(e))}function i(t){t.preventDefault(),e.contains(t.relatedTarget)||l.current&&l.current(t)}function u(e){!e.defaultPrevented&&p.current&&p.current(e),e.preventDefault()}function c(t){(function(t){const{defaultView:n}=r;if(!(t&&n&&t instanceof n.HTMLElement&&e.contains(t)))return!1;let o=t;do{if(o.dataset.isDropZone)return o===e}while(o=o.parentElement);return!1})(t.relatedTarget)||f.current&&f.current(t)}function h(e){e.defaultPrevented||(e.preventDefault(),e.dataTransfer&&e.dataTransfer.files.length,s.current&&s.current(e),v(e))}function v(e){n&&(n=!1,r.addEventListener("dragenter",o),r.removeEventListener("dragend",v),r.removeEventListener("mousemove",v),d.current&&d.current(e))}return e.dataset.isDropZone="true",e.addEventListener("drop",h),e.addEventListener("dragenter",i),e.addEventListener("dragover",u),e.addEventListener("dragleave",c),r.addEventListener("dragenter",o),()=>{delete e.dataset.isDropZone,e.removeEventListener("drop",h),e.removeEventListener("dragenter",i),e.removeEventListener("dragover",u),e.removeEventListener("dragleave",c),r.removeEventListener("dragend",v),r.removeEventListener("mousemove",v),r.addEventListener("dragenter",o)}}),[t])}function de(){return T((e=>{const{ownerDocument:t}=e;if(!t)return;const{defaultView:n}=t;if(n)return n.addEventListener("blur",r),()=>{n.removeEventListener("blur",r)};function r(){t&&t.activeElement===e&&e.focus()}}),[])}function pe(t,n,r,o){var u,c;const s=null!==(u=null==o?void 0:o.initWindowSize)&&void 0!==u?u:30,a=null===(c=null==o?void 0:o.useWindowing)||void 0===c||c,[l,f]=(0,i.useState)({visibleItems:s,start:0,end:s,itemInView:e=>e>=0&&e<=s});return(0,i.useLayoutEffect)((()=>{var i,u,c,s;if(!a)return;const l=(0,k.getScrollContainer)(t.current),d=e=>{var t;if(!l)return;const i=Math.ceil(l.clientHeight/n),u=e?i:null!==(t=null==o?void 0:o.windowOverscan)&&void 0!==t?t:i,c=Math.floor(l.scrollTop/n),s=Math.max(0,c-u),a=Math.min(r-1,c+i+u);f((e=>{const t={visibleItems:i,start:s,end:a,itemInView:e=>s<=e&&e<=a};return e.start!==t.start||e.end!==t.end||e.visibleItems!==t.visibleItems?t:e}))};d(!0);const p=(0,e.debounce)((()=>{d()}),16);return null==l||l.addEventListener("scroll",p),null==l||null===(i=l.ownerDocument)||void 0===i||null===(u=i.defaultView)||void 0===u||u.addEventListener("resize",p),null==l||null===(c=l.ownerDocument)||void 0===c||null===(s=c.defaultView)||void 0===s||s.addEventListener("resize",p),()=>{var e,t;null==l||l.removeEventListener("scroll",p),null==l||null===(e=l.ownerDocument)||void 0===e||null===(t=e.defaultView)||void 0===t||t.removeEventListener("resize",p)}}),[n,t,r]),(0,i.useLayoutEffect)((()=>{var e,o;if(!a)return;const i=(0,k.getScrollContainer)(t.current),u=e=>{switch(e.keyCode){case w.HOME:return null==i?void 0:i.scrollTo({top:0});case w.END:return null==i?void 0:i.scrollTo({top:r*n});case w.PAGEUP:return null==i?void 0:i.scrollTo({top:i.scrollTop-l.visibleItems*n});case w.PAGEDOWN:return null==i?void 0:i.scrollTo({top:i.scrollTop+l.visibleItems*n})}};return null==i||null===(e=i.ownerDocument)||void 0===e||null===(o=e.defaultView)||void 0===o||o.addEventListener("keydown",u),()=>{var e,t;null==i||null===(e=i.ownerDocument)||void 0===e||null===(t=e.defaultView)||void 0===t||t.removeEventListener("keydown",u)}}),[r,n,t,l.visibleItems]),[l,f]}}(),(window.wp=window.wp||{}).compose=r}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/core-data.js b/wp-includes/js/dist/core-data.js
index 2c49447034..2af8d1dc26 100644
--- a/wp-includes/js/dist/core-data.js
+++ b/wp-includes/js/dist/core-data.js
@@ -1,197 +1,10 @@
-this["wp"] = this["wp"] || {}; this["wp"]["coreData"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "dsJ0");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "7Cbv":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
-// Unique ID creation requires a high quality random # generator. In the browser we therefore
-// require the crypto API and do not support built-in fallback to lower quality random number
-// generators (like Math.random()).
-var getRandomValues;
-var rnds8 = new Uint8Array(16);
-function rng() {
-  // lazy load so that environments that need to polyfill have a chance to do so
-  if (!getRandomValues) {
-    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
-    // find the complete implementation of crypto (msCrypto) on IE11.
-    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
-
-    if (!getRandomValues) {
-      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
-    }
-  }
-
-  return getRandomValues(rnds8);
-}
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
-/* harmony default export */ var regex = (/^(?:[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);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
-
-
-function validate(uuid) {
-  return typeof uuid === 'string' && regex.test(uuid);
-}
-
-/* harmony default export */ var esm_browser_validate = (validate);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
-
-/**
- * Convert array of 16 byte values to UUID string format of the form:
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
- */
-
-var byteToHex = [];
-
-for (var stringify_i = 0; stringify_i < 256; ++stringify_i) {
-  byteToHex.push((stringify_i + 0x100).toString(16).substr(1));
-}
-
-function stringify(arr) {
-  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
-  // Note: Be careful editing this code!  It's been tuned for performance
-  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
-  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
-  // of the following:
-  // - One or more input array values don't map to a hex octet (leading to
-  // "undefined" in the uuid)
-  // - Invalid input values for the RFC `version` or `variant` fields
-
-  if (!esm_browser_validate(uuid)) {
-    throw TypeError('Stringified UUID is invalid');
-  }
-
-  return uuid;
-}
-
-/* harmony default export */ var esm_browser_stringify = (stringify);
-// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
-
-
-
-function v4(options, buf, offset) {
-  options = options || {};
-  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
-
-  rnds[6] = rnds[6] & 0x0f | 0x40;
-  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
-
-  if (buf) {
-    offset = offset || 0;
-
-    for (var i = 0; i < 16; ++i) {
-      buf[offset + i] = rnds[i];
-    }
-
-    return buf;
-  }
-
-  return esm_browser_stringify(rnds);
-}
-
-/* harmony default export */ var esm_browser_v4 = __webpack_exports__["a"] = (v4);
-
-/***/ }),
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	var __webpack_modules__ = ({

-/***/ "FtRg":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 2167:
+/***/ (function(module) {

-"use strict";


 function _typeof(obj) {
@@ -501,158 +314,195 @@ function () {
 module.exports = EquivalentKeyMap;


-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "HSyU":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blocks"]; }());
-
-/***/ }),
-
-/***/ "Mmq9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["url"]; }());
-
-/***/ }),
-
-/***/ "NMb1":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["deprecated"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "dsJ0":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ })

-"use strict";
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
+!function() {
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* binding */ build_module_store; });
-__webpack_require__.d(__webpack_exports__, "EntityProvider", function() { return /* reexport */ EntityProvider; });
-__webpack_require__.d(__webpack_exports__, "useEntityId", function() { return /* reexport */ useEntityId; });
-__webpack_require__.d(__webpack_exports__, "useEntityProp", function() { return /* reexport */ useEntityProp; });
-__webpack_require__.d(__webpack_exports__, "useEntityBlockEditor", function() { return /* reexport */ useEntityBlockEditor; });
-__webpack_require__.d(__webpack_exports__, "__experimentalFetchLinkSuggestions", function() { return /* reexport */ _experimental_fetch_link_suggestions; });
-__webpack_require__.d(__webpack_exports__, "__experimentalFetchUrlData", function() { return /* reexport */ _experimental_fetch_url_data; });
+__webpack_require__.d(__webpack_exports__, {
+  "EntityProvider": function() { return /* reexport */ EntityProvider; },
+  "__experimentalFetchLinkSuggestions": function() { return /* reexport */ _experimental_fetch_link_suggestions; },
+  "__experimentalFetchUrlData": function() { return /* reexport */ _experimental_fetch_url_data; },
+  "store": function() { return /* binding */ store; },
+  "useEntityBlockEditor": function() { return /* reexport */ useEntityBlockEditor; },
+  "useEntityId": function() { return /* reexport */ useEntityId; },
+  "useEntityProp": function() { return /* reexport */ useEntityProp; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/core-data/build-module/actions.js
 var build_module_actions_namespaceObject = {};
 __webpack_require__.r(build_module_actions_namespaceObject);
-__webpack_require__.d(build_module_actions_namespaceObject, "receiveUserQuery", function() { return receiveUserQuery; });
-__webpack_require__.d(build_module_actions_namespaceObject, "receiveCurrentUser", function() { return receiveCurrentUser; });
-__webpack_require__.d(build_module_actions_namespaceObject, "addEntities", function() { return addEntities; });
-__webpack_require__.d(build_module_actions_namespaceObject, "receiveEntityRecords", function() { return receiveEntityRecords; });
-__webpack_require__.d(build_module_actions_namespaceObject, "receiveCurrentTheme", function() { return receiveCurrentTheme; });
-__webpack_require__.d(build_module_actions_namespaceObject, "__experimentalReceiveCurrentGlobalStylesId", function() { return __experimentalReceiveCurrentGlobalStylesId; });
-__webpack_require__.d(build_module_actions_namespaceObject, "__experimentalReceiveThemeBaseGlobalStyles", function() { return __experimentalReceiveThemeBaseGlobalStyles; });
-__webpack_require__.d(build_module_actions_namespaceObject, "receiveThemeSupports", function() { return receiveThemeSupports; });
-__webpack_require__.d(build_module_actions_namespaceObject, "receiveEmbedPreview", function() { return receiveEmbedPreview; });
-__webpack_require__.d(build_module_actions_namespaceObject, "deleteEntityRecord", function() { return deleteEntityRecord; });
-__webpack_require__.d(build_module_actions_namespaceObject, "editEntityRecord", function() { return actions_editEntityRecord; });
-__webpack_require__.d(build_module_actions_namespaceObject, "undo", function() { return undo; });
-__webpack_require__.d(build_module_actions_namespaceObject, "redo", function() { return redo; });
-__webpack_require__.d(build_module_actions_namespaceObject, "__unstableCreateUndoLevel", function() { return actions_unstableCreateUndoLevel; });
-__webpack_require__.d(build_module_actions_namespaceObject, "saveEntityRecord", function() { return saveEntityRecord; });
-__webpack_require__.d(build_module_actions_namespaceObject, "__experimentalBatch", function() { return __experimentalBatch; });
-__webpack_require__.d(build_module_actions_namespaceObject, "saveEditedEntityRecord", function() { return saveEditedEntityRecord; });
-__webpack_require__.d(build_module_actions_namespaceObject, "__experimentalSaveSpecifiedEntityEdits", function() { return __experimentalSaveSpecifiedEntityEdits; });
-__webpack_require__.d(build_module_actions_namespaceObject, "receiveUploadPermissions", function() { return receiveUploadPermissions; });
-__webpack_require__.d(build_module_actions_namespaceObject, "receiveUserPermission", function() { return receiveUserPermission; });
-__webpack_require__.d(build_module_actions_namespaceObject, "receiveAutosaves", function() { return receiveAutosaves; });
+__webpack_require__.d(build_module_actions_namespaceObject, {
+  "__experimentalBatch": function() { return __experimentalBatch; },
+  "__experimentalReceiveCurrentGlobalStylesId": function() { return __experimentalReceiveCurrentGlobalStylesId; },
+  "__experimentalReceiveThemeBaseGlobalStyles": function() { return __experimentalReceiveThemeBaseGlobalStyles; },
+  "__experimentalSaveSpecifiedEntityEdits": function() { return __experimentalSaveSpecifiedEntityEdits; },
+  "__unstableCreateUndoLevel": function() { return __unstableCreateUndoLevel; },
+  "addEntities": function() { return addEntities; },
+  "deleteEntityRecord": function() { return deleteEntityRecord; },
+  "editEntityRecord": function() { return editEntityRecord; },
+  "receiveAutosaves": function() { return receiveAutosaves; },
+  "receiveCurrentTheme": function() { return receiveCurrentTheme; },
+  "receiveCurrentUser": function() { return receiveCurrentUser; },
+  "receiveEmbedPreview": function() { return receiveEmbedPreview; },
+  "receiveEntityRecords": function() { return receiveEntityRecords; },
+  "receiveThemeSupports": function() { return receiveThemeSupports; },
+  "receiveUploadPermissions": function() { return receiveUploadPermissions; },
+  "receiveUserPermission": function() { return receiveUserPermission; },
+  "receiveUserQuery": function() { return receiveUserQuery; },
+  "redo": function() { return redo; },
+  "saveEditedEntityRecord": function() { return saveEditedEntityRecord; },
+  "saveEntityRecord": function() { return saveEntityRecord; },
+  "undo": function() { return undo; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/core-data/build-module/selectors.js
 var build_module_selectors_namespaceObject = {};
 __webpack_require__.r(build_module_selectors_namespaceObject);
-__webpack_require__.d(build_module_selectors_namespaceObject, "isRequestingEmbedPreview", function() { return isRequestingEmbedPreview; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getAuthors", function() { return getAuthors; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getCurrentUser", function() { return getCurrentUser; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getUserQueryResults", function() { return getUserQueryResults; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getEntitiesByKind", function() { return getEntitiesByKind; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getEntity", function() { return getEntity; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecord", function() { return selectors_getEntityRecord; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "__experimentalGetEntityRecordNoResolver", function() { return __experimentalGetEntityRecordNoResolver; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getRawEntityRecord", function() { return getRawEntityRecord; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "hasEntityRecords", function() { return hasEntityRecords; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecords", function() { return getEntityRecords; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "__experimentalGetDirtyEntityRecords", function() { return __experimentalGetDirtyEntityRecords; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "__experimentalGetEntitiesBeingSaved", function() { return __experimentalGetEntitiesBeingSaved; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecordEdits", function() { return getEntityRecordEdits; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getEntityRecordNonTransientEdits", function() { return getEntityRecordNonTransientEdits; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "hasEditsForEntityRecord", function() { return hasEditsForEntityRecord; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getEditedEntityRecord", function() { return selectors_getEditedEntityRecord; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "isAutosavingEntityRecord", function() { return isAutosavingEntityRecord; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "isSavingEntityRecord", function() { return isSavingEntityRecord; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "isDeletingEntityRecord", function() { return isDeletingEntityRecord; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getLastEntitySaveError", function() { return getLastEntitySaveError; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getLastEntityDeleteError", function() { return getLastEntityDeleteError; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getUndoEdit", function() { return getUndoEdit; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getRedoEdit", function() { return getRedoEdit; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "hasUndo", function() { return hasUndo; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "hasRedo", function() { return hasRedo; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getCurrentTheme", function() { return getCurrentTheme; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "__experimentalGetCurrentGlobalStylesId", function() { return __experimentalGetCurrentGlobalStylesId; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getThemeSupports", function() { return getThemeSupports; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getEmbedPreview", function() { return getEmbedPreview; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "isPreviewEmbedFallback", function() { return isPreviewEmbedFallback; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "canUser", function() { return canUser; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "canUserEditEntityRecord", function() { return canUserEditEntityRecord; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getAutosaves", function() { return getAutosaves; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getAutosave", function() { return getAutosave; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "hasFetchedAutosaves", function() { return hasFetchedAutosaves; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "getReferenceByDistinctEdits", function() { return getReferenceByDistinctEdits; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "__experimentalGetTemplateForLink", function() { return __experimentalGetTemplateForLink; });
-__webpack_require__.d(build_module_selectors_namespaceObject, "__experimentalGetCurrentThemeBaseGlobalStyles", function() { return __experimentalGetCurrentThemeBaseGlobalStyles; });
+__webpack_require__.d(build_module_selectors_namespaceObject, {
+  "__experimentalGetCurrentGlobalStylesId": function() { return __experimentalGetCurrentGlobalStylesId; },
+  "__experimentalGetCurrentThemeBaseGlobalStyles": function() { return __experimentalGetCurrentThemeBaseGlobalStyles; },
+  "__experimentalGetDirtyEntityRecords": function() { return __experimentalGetDirtyEntityRecords; },
+  "__experimentalGetEntitiesBeingSaved": function() { return __experimentalGetEntitiesBeingSaved; },
+  "__experimentalGetEntityRecordNoResolver": function() { return __experimentalGetEntityRecordNoResolver; },
+  "__experimentalGetTemplateForLink": function() { return __experimentalGetTemplateForLink; },
+  "canUser": function() { return canUser; },
+  "canUserEditEntityRecord": function() { return canUserEditEntityRecord; },
+  "getAuthors": function() { return getAuthors; },
+  "getAutosave": function() { return getAutosave; },
+  "getAutosaves": function() { return getAutosaves; },
+  "getCurrentTheme": function() { return getCurrentTheme; },
+  "getCurrentUser": function() { return getCurrentUser; },
+  "getEditedEntityRecord": function() { return getEditedEntityRecord; },
+  "getEmbedPreview": function() { return getEmbedPreview; },
+  "getEntitiesByKind": function() { return getEntitiesByKind; },
+  "getEntity": function() { return getEntity; },
+  "getEntityRecord": function() { return getEntityRecord; },
+  "getEntityRecordEdits": function() { return getEntityRecordEdits; },
+  "getEntityRecordNonTransientEdits": function() { return getEntityRecordNonTransientEdits; },
+  "getEntityRecords": function() { return getEntityRecords; },
+  "getLastEntityDeleteError": function() { return getLastEntityDeleteError; },
+  "getLastEntitySaveError": function() { return getLastEntitySaveError; },
+  "getRawEntityRecord": function() { return getRawEntityRecord; },
+  "getRedoEdit": function() { return getRedoEdit; },
+  "getReferenceByDistinctEdits": function() { return getReferenceByDistinctEdits; },
+  "getThemeSupports": function() { return getThemeSupports; },
+  "getUndoEdit": function() { return getUndoEdit; },
+  "getUserQueryResults": function() { return getUserQueryResults; },
+  "hasEditsForEntityRecord": function() { return hasEditsForEntityRecord; },
+  "hasEntityRecords": function() { return hasEntityRecords; },
+  "hasFetchedAutosaves": function() { return hasFetchedAutosaves; },
+  "hasRedo": function() { return hasRedo; },
+  "hasUndo": function() { return hasUndo; },
+  "isAutosavingEntityRecord": function() { return isAutosavingEntityRecord; },
+  "isDeletingEntityRecord": function() { return isDeletingEntityRecord; },
+  "isPreviewEmbedFallback": function() { return isPreviewEmbedFallback; },
+  "isRequestingEmbedPreview": function() { return isRequestingEmbedPreview; },
+  "isSavingEntityRecord": function() { return isSavingEntityRecord; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/core-data/build-module/resolvers.js
 var resolvers_namespaceObject = {};
 __webpack_require__.r(resolvers_namespaceObject);
-__webpack_require__.d(resolvers_namespaceObject, "getAuthors", function() { return resolvers_getAuthors; });
-__webpack_require__.d(resolvers_namespaceObject, "getCurrentUser", function() { return resolvers_getCurrentUser; });
-__webpack_require__.d(resolvers_namespaceObject, "getEntityRecord", function() { return resolvers_getEntityRecord; });
-__webpack_require__.d(resolvers_namespaceObject, "getRawEntityRecord", function() { return resolvers_getRawEntityRecord; });
-__webpack_require__.d(resolvers_namespaceObject, "getEditedEntityRecord", function() { return resolvers_getEditedEntityRecord; });
-__webpack_require__.d(resolvers_namespaceObject, "getEntityRecords", function() { return resolvers_getEntityRecords; });
-__webpack_require__.d(resolvers_namespaceObject, "getCurrentTheme", function() { return resolvers_getCurrentTheme; });
-__webpack_require__.d(resolvers_namespaceObject, "getThemeSupports", function() { return resolvers_getThemeSupports; });
-__webpack_require__.d(resolvers_namespaceObject, "getEmbedPreview", function() { return resolvers_getEmbedPreview; });
-__webpack_require__.d(resolvers_namespaceObject, "canUser", function() { return resolvers_canUser; });
-__webpack_require__.d(resolvers_namespaceObject, "canUserEditEntityRecord", function() { return resolvers_canUserEditEntityRecord; });
-__webpack_require__.d(resolvers_namespaceObject, "getAutosaves", function() { return resolvers_getAutosaves; });
-__webpack_require__.d(resolvers_namespaceObject, "getAutosave", function() { return resolvers_getAutosave; });
-__webpack_require__.d(resolvers_namespaceObject, "__experimentalGetTemplateForLink", function() { return resolvers_experimentalGetTemplateForLink; });
-__webpack_require__.d(resolvers_namespaceObject, "__experimentalGetCurrentGlobalStylesId", function() { return resolvers_experimentalGetCurrentGlobalStylesId; });
-__webpack_require__.d(resolvers_namespaceObject, "__experimentalGetCurrentThemeBaseGlobalStyles", function() { return resolvers_experimentalGetCurrentThemeBaseGlobalStyles; });
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","isShallowEqual"]
-var external_wp_isShallowEqual_ = __webpack_require__("rl8x");
-var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/if-matching-action.js
+__webpack_require__.d(resolvers_namespaceObject, {
+  "__experimentalGetCurrentGlobalStylesId": function() { return resolvers_experimentalGetCurrentGlobalStylesId; },
+  "__experimentalGetCurrentThemeBaseGlobalStyles": function() { return resolvers_experimentalGetCurrentThemeBaseGlobalStyles; },
+  "__experimentalGetTemplateForLink": function() { return resolvers_experimentalGetTemplateForLink; },
+  "canUser": function() { return resolvers_canUser; },
+  "canUserEditEntityRecord": function() { return resolvers_canUserEditEntityRecord; },
+  "getAuthors": function() { return resolvers_getAuthors; },
+  "getAutosave": function() { return resolvers_getAutosave; },
+  "getAutosaves": function() { return resolvers_getAutosaves; },
+  "getCurrentTheme": function() { return resolvers_getCurrentTheme; },
+  "getCurrentUser": function() { return resolvers_getCurrentUser; },
+  "getEditedEntityRecord": function() { return resolvers_getEditedEntityRecord; },
+  "getEmbedPreview": function() { return resolvers_getEmbedPreview; },
+  "getEntityRecord": function() { return resolvers_getEntityRecord; },
+  "getEntityRecords": function() { return resolvers_getEntityRecords; },
+  "getRawEntityRecord": function() { return resolvers_getRawEntityRecord; },
+  "getThemeSupports": function() { return resolvers_getThemeSupports; }
+});
+
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","isShallowEqual"]
+var external_wp_isShallowEqual_namespaceObject = window["wp"]["isShallowEqual"];
+var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/if-matching-action.js
 /**
  * A higher-order reducer creator which invokes the original reducer only if
  * the dispatching action matches the given predicate, **OR** if state is
@@ -672,7 +522,7 @@ const ifMatchingAction = isMatch => reducer => (state, action) => {

 /* harmony default export */ var if_matching_action = (ifMatchingAction);

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/replace-action.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/replace-action.js
 /**
  * Higher-order reducer creator which substitutes the action object before
  * passing to the original reducer.
@@ -687,7 +537,7 @@ const replaceAction = replacer => reducer => (state, action) => {

 /* harmony default export */ var replace_action = (replaceAction);

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/conservative-map-item.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/conservative-map-item.js
 /**
  * External dependencies
  */
@@ -713,7 +563,7 @@ function conservativeMapItem(item, nextItem) {
   const result = {};

   for (const key in nextItem) {
-    if (Object(external_lodash_["isEqual"])(item[key], nextItem[key])) {
+    if ((0,external_lodash_namespaceObject.isEqual)(item[key], nextItem[key])) {
       result[key] = item[key];
     } else {
       hasChanges = true;
@@ -737,7 +587,7 @@ function conservativeMapItem(item, nextItem) {
   return result;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/on-sub-key.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/on-sub-key.js
 /**
  * Higher-order reducer creator which creates a combined reducer object, keyed
  * by a property on the action object.
@@ -771,24 +621,103 @@ const onSubKey = actionProperty => reducer => function () {
 };
 /* harmony default export */ var on_sub_key = (onSubKey);

-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/rng.js
+// Unique ID creation requires a high quality random # generator. In the browser we therefore
+// require the crypto API and do not support built-in fallback to lower quality random number
+// generators (like Math.random()).
+var getRandomValues;
+var rnds8 = new Uint8Array(16);
+function rng() {
+  // lazy load so that environments that need to polyfill have a chance to do so
+  if (!getRandomValues) {
+    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
+    // find the complete implementation of crypto (msCrypto) on IE11.
+    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
+
+    if (!getRandomValues) {
+      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
+    }
+  }
+
+  return getRandomValues(rnds8);
+}
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/regex.js
+/* harmony default export */ var regex = (/^(?:[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);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/validate.js
+
+
+function validate(uuid) {
+  return typeof uuid === 'string' && regex.test(uuid);
+}
+
+/* harmony default export */ var esm_browser_validate = (validate);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/stringify.js
+
+/**
+ * Convert array of 16 byte values to UUID string format of the form:
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
+ */
+
+var byteToHex = [];
+
+for (var i = 0; i < 256; ++i) {
+  byteToHex.push((i + 0x100).toString(16).substr(1));
+}
+
+function stringify(arr) {
+  var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
+  // Note: Be careful editing this code!  It's been tuned for performance
+  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
+  var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID.  If this throws, it's likely due to one
+  // of the following:
+  // - One or more input array values don't map to a hex octet (leading to
+  // "undefined" in the uuid)
+  // - Invalid input values for the RFC `version` or `variant` fields
+
+  if (!esm_browser_validate(uuid)) {
+    throw TypeError('Stringified UUID is invalid');
+  }
+
+  return uuid;
+}
+
+/* harmony default export */ var esm_browser_stringify = (stringify);
+;// CONCATENATED MODULE: ./node_modules/uuid/dist/esm-browser/v4.js
+
+
+
+function v4(options, buf, offset) {
+  options = options || {};
+  var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
+
+  rnds[6] = rnds[6] & 0x0f | 0x40;
+  rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+  if (buf) {
+    offset = offset || 0;

-// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules
-var v4 = __webpack_require__("7Cbv");
+    for (var i = 0; i < 16; ++i) {
+      buf[offset + i] = rnds[i];
+    }

-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
+    return buf;
+  }

-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
+  return esm_browser_stringify(rnds);
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/actions.js
+/* harmony default export */ var esm_browser_v4 = (v4);
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/actions.js
 /**
  * External dependencies
  */
@@ -805,7 +734,7 @@ var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external
 function receiveItems(items, edits) {
   return {
     type: 'RECEIVE_ITEMS',
-    items: Object(external_lodash_["castArray"])(items),
+    items: (0,external_lodash_namespaceObject.castArray)(items),
     persistedEdits: edits
   };
 }
@@ -824,7 +753,7 @@ function removeItems(kind, name, records) {
   let invalidateCache = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
   return {
     type: 'REMOVE_ITEMS',
-    itemIds: Object(external_lodash_["castArray"])(records),
+    itemIds: (0,external_lodash_namespaceObject.castArray)(records),
     kind,
     name,
     invalidateCache
@@ -849,7 +778,7 @@ function receiveQueriedItems(items) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/batch/default-processor.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/batch/default-processor.js
 /**
  * External dependencies
  */
@@ -888,7 +817,7 @@ async function defaultProcessor(requests) {

   const results = [];

-  for (const batchRequests of Object(external_lodash_["chunk"])(requests, maxItems)) {
+  for (const batchRequests of (0,external_lodash_namespaceObject.chunk)(requests, maxItems)) {
     const batchResponse = await external_wp_apiFetch_default()({
       path: '/batch/v1',
       method: 'POST',
@@ -929,7 +858,7 @@ async function defaultProcessor(requests) {
   return results;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/batch/create-batch.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/batch/create-batch.js
 /**
  * External dependencies
  */
@@ -1018,7 +947,7 @@ function createBatch() {
         pending.delete(id);
       });

-      if (Object(external_lodash_["isFunction"])(inputOrThunk)) {
+      if ((0,external_lodash_namespaceObject.isFunction)(inputOrThunk)) {
         return Promise.resolve(inputOrThunk(add)).finally(() => {
           pending.delete(id);
         });
@@ -1074,7 +1003,7 @@ function createBatch() {
       for (const [result, {
         resolve,
         reject
-      }] of Object(external_lodash_["zip"])(results, queue)) {
+      }] of (0,external_lodash_namespaceObject.zip)(results, queue)) {
         if (result !== null && result !== void 0 && result.error) {
           reject(result.error);
           isSuccess = false;
@@ -1127,7 +1056,7 @@ class ObservableSet {

 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/name.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/name.js
 /**
  * The reducer key used by core data in store registration.
  * This is defined in a separate file to avoid cycle-dependency
@@ -1136,7 +1065,7 @@ class ObservableSet {
  */
 const STORE_NAME = 'core';

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/actions.js
 /**
  * External dependencies
  */
@@ -1169,7 +1098,7 @@ const STORE_NAME = 'core';
 function receiveUserQuery(queryID, users) {
   return {
     type: 'RECEIVE_USER_QUERY',
-    users: Object(external_lodash_["castArray"])(users),
+    users: (0,external_lodash_namespaceObject.castArray)(users),
     queryID
   };
 }
@@ -1220,7 +1149,7 @@ function receiveEntityRecords(kind, name, records, query) {
   // Auto drafts should not have titles, but some plugins rely on them so we can't filter this
   // on the server.
   if (kind === 'postType') {
-    records = Object(external_lodash_["castArray"])(records).map(record => record.status === 'auto-draft' ? { ...record,
+    records = (0,external_lodash_namespaceObject.castArray)(records).map(record => record.status === 'auto-draft' ? { ...record,
       title: ''
     } : record);
   }
@@ -1332,14 +1261,14 @@ function receiveEmbedPreview(url, preview) {

 const deleteEntityRecord = function (kind, name, recordId, query) {
   let {
-    __unstableFetch = external_wp_apiFetch_default.a
+    __unstableFetch = (external_wp_apiFetch_default())
   } = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
   return async _ref => {
     let {
       dispatch
     } = _ref;
     const entities = await dispatch(getKindEntities(kind));
-    const entity = Object(external_lodash_["find"])(entities, {
+    const entity = (0,external_lodash_namespaceObject.find)(entities, {
       kind,
       name
     });
@@ -1366,7 +1295,7 @@ const deleteEntityRecord = function (kind, name, recordId, query) {
         let path = `${entity.baseURL}/${recordId}`;

         if (query) {
-          path = Object(external_wp_url_["addQueryArgs"])(path, query);
+          path = (0,external_wp_url_namespaceObject.addQueryArgs)(path, query);
         }

         deletedRecord = await __unstableFetch({
@@ -1405,7 +1334,7 @@ const deleteEntityRecord = function (kind, name, recordId, query) {
  * @return {Object} Action object.
  */

-const actions_editEntityRecord = function (kind, name, recordId, edits) {
+const editEntityRecord = function (kind, name, recordId, edits) {
   let options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
   return _ref2 => {
     let {
@@ -1436,7 +1365,7 @@ const actions_editEntityRecord = function (kind, name, recordId, edits) {
         const value = mergedEdits[key] ? { ...editedRecordValue,
           ...edits[key]
         } : edits[key];
-        acc[key] = Object(external_lodash_["isEqual"])(recordValue, value) ? undefined : value;
+        acc[key] = (0,external_lodash_namespaceObject.isEqual)(recordValue, value) ? undefined : value;
         return acc;
       }, {}),
       transientEdits
@@ -1514,7 +1443,7 @@ const redo = () => _ref4 => {
  * @return {Object} Action object.
  */

-function actions_unstableCreateUndoLevel() {
+function __unstableCreateUndoLevel() {
   return {
     type: 'CREATE_UNDO_LEVEL'
   };
@@ -1535,7 +1464,7 @@ function actions_unstableCreateUndoLevel() {
 const saveEntityRecord = function (kind, name, record) {
   let {
     isAutosave = false,
-    __unstableFetch = external_wp_apiFetch_default.a
+    __unstableFetch = (external_wp_apiFetch_default())
   } = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
   return async _ref5 => {
     let {
@@ -1544,7 +1473,7 @@ const saveEntityRecord = function (kind, name, record) {
       dispatch
     } = _ref5;
     const entities = await dispatch(getKindEntities(kind));
-    const entity = Object(external_lodash_["find"])(entities, {
+    const entity = (0,external_lodash_namespaceObject.find)(entities, {
       kind,
       name
     });
@@ -1555,7 +1484,7 @@ const saveEntityRecord = function (kind, name, record) {

     const entityIdKey = entity.key || DEFAULT_ENTITY_KEY;
     const recordId = record[entityIdKey];
-    const lock = await dispatch.__unstableAcquireStoreLock(STORE_NAME, ['entities', 'data', kind, name, recordId || Object(v4["a" /* default */])()], {
+    const lock = await dispatch.__unstableAcquireStoreLock(STORE_NAME, ['entities', 'data', kind, name, recordId || esm_browser_v4()], {
       exclusive: true
     });

@@ -1751,7 +1680,7 @@ const saveEditedEntityRecord = (kind, name, recordId, options) => async _ref7 =>
   }

   const entities = await dispatch(getKindEntities(kind));
-  const entity = Object(external_lodash_["find"])(entities, {
+  const entity = (0,external_lodash_namespaceObject.find)(entities, {
     kind,
     name
   });
@@ -1845,11 +1774,11 @@ function receiveAutosaves(postId, autosaves) {
   return {
     type: 'RECEIVE_AUTOSAVES',
     postId,
-    autosaves: Object(external_lodash_["castArray"])(autosaves)
+    autosaves: (0,external_lodash_namespaceObject.castArray)(autosaves)
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entities.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entities.js
 /**
  * External dependencies
  */
@@ -1868,20 +1797,20 @@ function receiveAutosaves(postId, autosaves) {
 const DEFAULT_ENTITY_KEY = 'id';
 const POST_RAW_ATTRIBUTES = ['title', 'excerpt', 'content'];
 const defaultEntities = [{
-  label: Object(external_wp_i18n_["__"])('Base'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Base'),
   name: '__unstableBase',
   kind: 'root',
   baseURL: '/'
 }, {
-  label: Object(external_wp_i18n_["__"])('Site'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Site'),
   name: 'site',
   kind: 'root',
   baseURL: '/wp/v2/settings',
   getTitle: record => {
-    return Object(external_lodash_["get"])(record, ['title'], Object(external_wp_i18n_["__"])('Site Title'));
+    return (0,external_lodash_namespaceObject.get)(record, ['title'], (0,external_wp_i18n_namespaceObject.__)('Site Title'));
   }
 }, {
-  label: Object(external_wp_i18n_["__"])('Post Type'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Post Type'),
   name: 'postType',
   kind: 'root',
   key: 'slug',
@@ -1898,7 +1827,7 @@ const defaultEntities = [{
     context: 'edit'
   },
   plural: 'mediaItems',
-  label: Object(external_wp_i18n_["__"])('Media')
+  label: (0,external_wp_i18n_namespaceObject.__)('Media')
 }, {
   name: 'taxonomy',
   kind: 'root',
@@ -1908,7 +1837,7 @@ const defaultEntities = [{
     context: 'edit'
   },
   plural: 'taxonomies',
-  label: Object(external_wp_i18n_["__"])('Taxonomy')
+  label: (0,external_wp_i18n_namespaceObject.__)('Taxonomy')
 }, {
   name: 'sidebar',
   kind: 'root',
@@ -1917,7 +1846,7 @@ const defaultEntities = [{
   transientEdits: {
     blocks: true
   },
-  label: Object(external_wp_i18n_["__"])('Widget areas')
+  label: (0,external_wp_i18n_namespaceObject.__)('Widget areas')
 }, {
   name: 'widget',
   kind: 'root',
@@ -1929,7 +1858,7 @@ const defaultEntities = [{
   transientEdits: {
     blocks: true
   },
-  label: Object(external_wp_i18n_["__"])('Widgets')
+  label: (0,external_wp_i18n_namespaceObject.__)('Widgets')
 }, {
   name: 'widgetType',
   kind: 'root',
@@ -1938,9 +1867,9 @@ const defaultEntities = [{
     context: 'edit'
   },
   plural: 'widgetTypes',
-  label: Object(external_wp_i18n_["__"])('Widget types')
+  label: (0,external_wp_i18n_namespaceObject.__)('Widget types')
 }, {
-  label: Object(external_wp_i18n_["__"])('User'),
+  label: (0,external_wp_i18n_namespaceObject.__)('User'),
   name: 'user',
   kind: 'root',
   baseURL: '/wp/v2/users',
@@ -1956,7 +1885,7 @@ const defaultEntities = [{
     context: 'edit'
   },
   plural: 'comments',
-  label: Object(external_wp_i18n_["__"])('Comment')
+  label: (0,external_wp_i18n_namespaceObject.__)('Comment')
 }, {
   name: 'menu',
   kind: 'root',
@@ -1965,7 +1894,7 @@ const defaultEntities = [{
     context: 'edit'
   },
   plural: 'menus',
-  label: Object(external_wp_i18n_["__"])('Menu')
+  label: (0,external_wp_i18n_namespaceObject.__)('Menu')
 }, {
   name: 'menuItem',
   kind: 'root',
@@ -1974,7 +1903,7 @@ const defaultEntities = [{
     context: 'edit'
   },
   plural: 'menuItems',
-  label: Object(external_wp_i18n_["__"])('Menu Item'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Menu Item'),
   rawAttributes: ['title', 'content']
 }, {
   name: 'menuLocation',
@@ -1984,7 +1913,7 @@ const defaultEntities = [{
     context: 'edit'
   },
   plural: 'menuLocations',
-  label: Object(external_wp_i18n_["__"])('Menu Location'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Menu Location'),
   key: 'name'
 }, {
   name: 'navigationArea',
@@ -1994,11 +1923,11 @@ const defaultEntities = [{
     context: 'edit'
   },
   plural: 'navigationAreas',
-  label: Object(external_wp_i18n_["__"])('Navigation Area'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Navigation Area'),
   key: 'name',
   getTitle: record => record === null || record === void 0 ? void 0 : record.description
 }, {
-  label: Object(external_wp_i18n_["__"])('Global Styles'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Global Styles'),
   name: 'globalStyles',
   kind: 'root',
   baseURL: '/wp/v2/global-styles',
@@ -2013,7 +1942,7 @@ const defaultEntities = [{
     return (record === null || record === void 0 ? void 0 : (_record$title = record.title) === null || _record$title === void 0 ? void 0 : _record$title.rendered) || (record === null || record === void 0 ? void 0 : record.title);
   }
 }, {
-  label: Object(external_wp_i18n_["__"])('Themes'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Themes'),
   name: 'theme',
   kind: 'root',
   baseURL: '/wp/v2/themes',
@@ -2022,7 +1951,7 @@ const defaultEntities = [{
   },
   key: 'stylesheet'
 }, {
-  label: Object(external_wp_i18n_["__"])('Plugins'),
+  label: (0,external_wp_i18n_namespaceObject.__)('Plugins'),
   name: 'plugin',
   kind: 'root',
   baseURL: '/wp/v2/plugins',
@@ -2073,7 +2002,7 @@ async function loadPostTypeEntities() {
   const postTypes = await external_wp_apiFetch_default()({
     path: '/wp/v2/types?context=edit'
   });
-  return Object(external_lodash_["map"])(postTypes, (postType, name) => {
+  return (0,external_lodash_namespaceObject.map)(postTypes, (postType, name) => {
     var _postType$rest_namesp;

     const isTemplate = ['wp_template', 'wp_template_part'].includes(name);
@@ -2097,7 +2026,7 @@ async function loadPostTypeEntities() {
       getTitle: record => {
         var _record$title2;

-        return (record === null || record === void 0 ? void 0 : (_record$title2 = record.title) === null || _record$title2 === void 0 ? void 0 : _record$title2.rendered) || (record === null || record === void 0 ? void 0 : record.title) || (isTemplate ? Object(external_lodash_["startCase"])(record.slug) : String(record.id));
+        return (record === null || record === void 0 ? void 0 : (_record$title2 = record.title) === null || _record$title2 === void 0 ? void 0 : _record$title2.rendered) || (record === null || record === void 0 ? void 0 : record.title) || (isTemplate ? (0,external_lodash_namespaceObject.startCase)(record.slug) : String(record.id));
       },
       __unstablePrePersist: isTemplate ? undefined : prePersistPostType,
       __unstable_rest_base: postType.rest_base
@@ -2115,7 +2044,7 @@ async function loadTaxonomyEntities() {
   const taxonomies = await external_wp_apiFetch_default()({
     path: '/wp/v2/taxonomies?context=edit'
   });
-  return Object(external_lodash_["map"])(taxonomies, (taxonomy, name) => {
+  return (0,external_lodash_namespaceObject.map)(taxonomies, (taxonomy, name) => {
     var _taxonomy$rest_namesp;

     const namespace = (_taxonomy$rest_namesp = taxonomy === null || taxonomy === void 0 ? void 0 : taxonomy.rest_namespace) !== null && _taxonomy$rest_namesp !== void 0 ? _taxonomy$rest_namesp : 'wp/v2';
@@ -2145,13 +2074,13 @@ async function loadTaxonomyEntities() {
 const getMethodName = function (kind, name) {
   let prefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'get';
   let usePlural = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
-  const entity = Object(external_lodash_["find"])(defaultEntities, {
+  const entity = (0,external_lodash_namespaceObject.find)(defaultEntities, {
     kind,
     name
   });
-  const kindPrefix = kind === 'root' ? '' : Object(external_lodash_["upperFirst"])(Object(external_lodash_["camelCase"])(kind));
-  const nameSuffix = Object(external_lodash_["upperFirst"])(Object(external_lodash_["camelCase"])(name)) + (usePlural ? 's' : '');
-  const suffix = usePlural && entity.plural ? Object(external_lodash_["upperFirst"])(Object(external_lodash_["camelCase"])(entity.plural)) : nameSuffix;
+  const kindPrefix = kind === 'root' ? '' : (0,external_lodash_namespaceObject.upperFirst)((0,external_lodash_namespaceObject.camelCase)(kind));
+  const nameSuffix = (0,external_lodash_namespaceObject.upperFirst)((0,external_lodash_namespaceObject.camelCase)(name)) + (usePlural ? 's' : '');
+  const suffix = usePlural && entity.plural ? (0,external_lodash_namespaceObject.upperFirst)((0,external_lodash_namespaceObject.camelCase)(entity.plural)) : nameSuffix;
   return `${prefix}${kindPrefix}${suffix}`;
 };
 /**
@@ -2173,7 +2102,7 @@ const getKindEntities = kind => async _ref => {
     return entities;
   }

-  const kindConfig = Object(external_lodash_["find"])(kinds, {
+  const kindConfig = (0,external_lodash_namespaceObject.find)(kinds, {
     name: kind
   });

@@ -2186,7 +2115,7 @@ const getKindEntities = kind => async _ref => {
   return entities;
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/get-normalized-comma-separable.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/get-normalized-comma-separable.js
 /**
  * Given a value which can be specified as one or the other of a comma-separated
  * string or an array, returns a value normalized to an array of strings, or
@@ -2208,7 +2137,7 @@ function getNormalizedCommaSeparable(value) {

 /* harmony default export */ var get_normalized_comma_separable = (getNormalizedCommaSeparable);

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/with-weak-map-cache.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/with-weak-map-cache.js
 /**
  * External dependencies
  */
@@ -2235,7 +2164,7 @@ function withWeakMapCache(fn) {
       // will return false for invalid key. Since `set` will throw,
       // ensure that key is valid before setting into cache.

-      if (Object(external_lodash_["isObjectLike"])(key)) {
+      if ((0,external_lodash_namespaceObject.isObjectLike)(key)) {
         cache.set(key, value);
       }
     }
@@ -2246,7 +2175,7 @@ function withWeakMapCache(fn) {

 /* harmony default export */ var with_weak_map_cache = (withWeakMapCache);

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/get-query-parts.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/get-query-parts.js
 /**
  * WordPress dependencies
  */
@@ -2340,7 +2269,7 @@ function getQueryParts(query) {
         // with only a single key.


-        parts.stableKey += (parts.stableKey ? '&' : '') + Object(external_wp_url_["addQueryArgs"])('', {
+        parts.stableKey += (parts.stableKey ? '&' : '') + (0,external_wp_url_namespaceObject.addQueryArgs)('', {
           [key]: value
         }).slice(1);
     }
@@ -2350,7 +2279,7 @@ function getQueryParts(query) {
 }
 /* harmony default export */ var get_query_parts = (with_weak_map_cache(getQueryParts));

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/reducer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/reducer.js
 /**
  * External dependencies
  */
@@ -2425,7 +2354,7 @@ function getMergedItemIds(itemIds, nextItemIds, page, perPage) {
  * @return {Object} Next state.
  */

-function reducer_items() {
+function items() {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
   let action = arguments.length > 1 ? arguments[1] : undefined;

@@ -2448,7 +2377,7 @@ function reducer_items() {
       }

     case 'REMOVE_ITEMS':
-      return Object(external_lodash_["mapValues"])(state, contextState => Object(external_lodash_["omit"])(contextState, action.itemIds));
+      return (0,external_lodash_namespaceObject.mapValues)(state, contextState => (0,external_lodash_namespaceObject.omit)(contextState, action.itemIds));
   }

   return state;
@@ -2502,7 +2431,7 @@ function itemIsComplete() {
       }

     case 'REMOVE_ITEMS':
-      return Object(external_lodash_["mapValues"])(state, contextState => Object(external_lodash_["omit"])(contextState, action.itemIds));
+      return (0,external_lodash_namespaceObject.mapValues)(state, contextState => (0,external_lodash_namespaceObject.omit)(contextState, action.itemIds));
   }

   return state;
@@ -2517,7 +2446,7 @@ function itemIsComplete() {
  * @return {Object} Next state.
  */

-const receiveQueries = Object(external_lodash_["flowRight"])([// Limit to matching action type so we don't attempt to replace action on
+const receiveQueries = (0,external_lodash_namespaceObject.flowRight)([// Limit to matching action type so we don't attempt to replace action on
 // an unhandled action.
 if_matching_action(action => 'query' in action), // Inject query parts into action for use both in `onSubKey` and reducer.
 replace_action(action => {
@@ -2547,7 +2476,7 @@ on_sub_key('stableKey')])(function () {
     return state;
   }

-  return getMergedItemIds(state || [], Object(external_lodash_["map"])(action.items, key), page, perPage);
+  return getMergedItemIds(state || [], (0,external_lodash_namespaceObject.map)(action.items, key), page, perPage);
 });
 /**
  * Reducer tracking queries state.
@@ -2558,7 +2487,7 @@ on_sub_key('stableKey')])(function () {
  * @return {Object} Next state.
  */

-const reducer_queries = function () {
+const queries = function () {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
   let action = arguments.length > 1 ? arguments[1] : undefined;

@@ -2571,9 +2500,9 @@ const reducer_queries = function () {
         result[itemId] = true;
         return result;
       }, {});
-      return Object(external_lodash_["mapValues"])(state, contextQueries => {
-        return Object(external_lodash_["mapValues"])(contextQueries, queryItems => {
-          return Object(external_lodash_["filter"])(queryItems, queryId => {
+      return (0,external_lodash_namespaceObject.mapValues)(state, contextQueries => {
+        return (0,external_lodash_namespaceObject.mapValues)(contextQueries, queryItems => {
+          return (0,external_lodash_namespaceObject.filter)(queryItems, queryId => {
             return !removedItems[queryId];
           });
         });
@@ -2584,13 +2513,13 @@ const reducer_queries = function () {
   }
 };

-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  items: reducer_items,
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  items,
   itemIsComplete,
-  queries: reducer_queries
+  queries
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/reducer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/reducer.js
 /**
  * External dependencies
  */
@@ -2642,7 +2571,7 @@ function terms() {
  * @return {Object} Updated state.
  */

-function reducer_users() {
+function users() {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
     byId: {},
     queries: {}
@@ -2653,10 +2582,10 @@ function reducer_users() {
     case 'RECEIVE_USER_QUERY':
       return {
         byId: { ...state.byId,
-          ...Object(external_lodash_["keyBy"])(action.users, 'id')
+          ...(0,external_lodash_namespaceObject.keyBy)(action.users, 'id')
         },
         queries: { ...state.queries,
-          [action.queryID]: Object(external_lodash_["map"])(action.users, user => user.id)
+          [action.queryID]: (0,external_lodash_namespaceObject.map)(action.users, user => user.id)
         }
       };
   }
@@ -2672,7 +2601,7 @@ function reducer_users() {
  * @return {Object} Updated state.
  */

-function reducer_currentUser() {
+function currentUser() {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
   let action = arguments.length > 1 ? arguments[1] : undefined;

@@ -2692,7 +2621,7 @@ function reducer_currentUser() {
  * @return {Object} Updated state.
  */

-function reducer_taxonomies() {
+function taxonomies() {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
   let action = arguments.length > 1 ? arguments[1] : undefined;

@@ -2712,7 +2641,7 @@ function reducer_taxonomies() {
  * @return {string} Updated state.
  */

-function reducer_currentTheme() {
+function currentTheme() {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
   let action = arguments.length > 1 ? arguments[1] : undefined;

@@ -2777,15 +2706,15 @@ function themeBaseGlobalStyles() {
  * @return {Function} Reducer.
  */

-function reducer_entity(entityConfig) {
-  return Object(external_lodash_["flowRight"])([// Limit to matching action type so we don't attempt to replace action on
+function entity(entityConfig) {
+  return (0,external_lodash_namespaceObject.flowRight)([// Limit to matching action type so we don't attempt to replace action on
   // an unhandled action.
   if_matching_action(action => action.name && action.kind && action.name === entityConfig.name && action.kind === entityConfig.kind), // Inject the entity config into the action.
   replace_action(action => {
     return { ...action,
       key: entityConfig.key || DEFAULT_ENTITY_KEY
     };
-  })])(Object(external_wp_data_["combineReducers"])({
+  })])((0,external_wp_data_namespaceObject.combineReducers)({
     queriedData: reducer,
     edits: function () {
       var _action$query$context, _action$query;
@@ -2818,9 +2747,9 @@ function reducer_entity(entityConfig) {
               if ( // Edits are the "raw" attribute values, but records may have
               // objects with more properties, so we use `get` here for the
               // comparison.
-              !Object(external_lodash_["isEqual"])(edits[key], Object(external_lodash_["get"])(record[key], 'raw', record[key])) && ( // Sometimes the server alters the sent value which means
+              !(0,external_lodash_namespaceObject.isEqual)(edits[key], (0,external_lodash_namespaceObject.get)(record[key], 'raw', record[key])) && ( // Sometimes the server alters the sent value which means
               // we need to also remove the edits before the api request.
-              !action.persistedEdits || !Object(external_lodash_["isEqual"])(edits[key], action.persistedEdits[key]))) {
+              !action.persistedEdits || !(0,external_lodash_namespaceObject.isEqual)(edits[key], action.persistedEdits[key]))) {
                 acc[key] = edits[key];
               }

@@ -2921,7 +2850,7 @@ function entitiesConfig() {
  * @return {Object} Updated state.
  */

-const reducer_entities = function () {
+const entities = function () {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
   let action = arguments.length > 1 ? arguments[1] : undefined;
   const newConfig = entitiesConfig(state.config, action); // Generates a dynamic reducer for the entities
@@ -2929,11 +2858,11 @@ const reducer_entities = function () {
   let entitiesDataReducer = state.reducer;

   if (!entitiesDataReducer || newConfig !== state.config) {
-    const entitiesByKind = Object(external_lodash_["groupBy"])(newConfig, 'kind');
-    entitiesDataReducer = Object(external_wp_data_["combineReducers"])(Object.entries(entitiesByKind).reduce((memo, _ref) => {
+    const entitiesByKind = (0,external_lodash_namespaceObject.groupBy)(newConfig, 'kind');
+    entitiesDataReducer = (0,external_wp_data_namespaceObject.combineReducers)(Object.entries(entitiesByKind).reduce((memo, _ref) => {
       let [kind, subEntities] = _ref;
-      const kindReducer = Object(external_wp_data_["combineReducers"])(subEntities.reduce((kindMemo, entityConfig) => ({ ...kindMemo,
-        [entityConfig.name]: reducer_entity(entityConfig)
+      const kindReducer = (0,external_wp_data_namespaceObject.combineReducers)(subEntities.reduce((kindMemo, entityConfig) => ({ ...kindMemo,
+        [entityConfig.name]: entity(entityConfig)
       }), {}));
       memo[kind] = kindReducer;
       return memo;
@@ -3132,7 +3061,7 @@ function userPermissions() {
  * @return {Object} Updated state.
  */

-function reducer_autosaves() {
+function autosaves() {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
   let action = arguments.length > 1 ? arguments[1] : undefined;

@@ -3149,61 +3078,333 @@ function reducer_autosaves() {

   return state;
 }
-/* harmony default export */ var build_module_reducer = (Object(external_wp_data_["combineReducers"])({
+/* harmony default export */ var build_module_reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
   terms,
-  users: reducer_users,
-  currentTheme: reducer_currentTheme,
+  users,
+  currentTheme,
   currentGlobalStylesId,
-  currentUser: reducer_currentUser,
+  currentUser,
   themeBaseGlobalStyles,
-  taxonomies: reducer_taxonomies,
-  entities: reducer_entities,
+  taxonomies,
+  entities,
   undo: reducer_undo,
   embedPreviews,
   userPermissions,
-  autosaves: reducer_autosaves
+  autosaves
 }));

-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");
+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js

-// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
-var equivalent_key_map = __webpack_require__("FtRg");
-var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/selectors.js
+var LEAF_KEY, hasWeakMap;
+
 /**
- * External dependencies
+ * Arbitrary value used as key for referencing cache object in WeakMap tree.
+ *
+ * @type {Object}
  */
-
-
+LEAF_KEY = {};

 /**
- * Internal dependencies
+ * Whether environment supports WeakMap.
+ *
+ * @type {boolean}
  */
-
+hasWeakMap = typeof WeakMap !== 'undefined';

 /**
- * Cache of state keys to EquivalentKeyMap where the inner map tracks queries
- * to their resulting items set. WeakMap allows garbage collection on expired
- * state references.
+ * Returns the first argument as the sole entry in an array.
  *
- * @type {WeakMap<Object,EquivalentKeyMap>}
+ * @param {*} value Value to return.
+ *
+ * @return {Array} Value returned as entry in array.
  */
+function arrayOf( value ) {
+	return [ value ];
+}

-const queriedItemsCacheByState = new WeakMap();
 /**
- * Returns items for a given query, or null if the items are not known.
+ * Returns true if the value passed is object-like, or false otherwise. A value
+ * is object-like if it can support property assignment, e.g. object or array.
  *
- * @param {Object}  state State object.
- * @param {?Object} query Optional query.
+ * @param {*} value Value to test.
  *
- * @return {?Array} Query items.
+ * @return {boolean} Whether value is object-like.
  */
+function isObjectLike( value ) {
+	return !! value && 'object' === typeof value;
+}
+
+/**
+ * Creates and returns a new cache object.
+ *
+ * @return {Object} Cache object.
+ */
+function createCache() {
+	var cache = {
+		clear: function() {
+			cache.head = null;
+		},
+	};
+
+	return cache;
+}
+
+/**
+ * Returns true if entries within the two arrays are strictly equal by
+ * reference from a starting index.
+ *
+ * @param {Array}  a         First array.
+ * @param {Array}  b         Second array.
+ * @param {number} fromIndex Index from which to start comparison.
+ *
+ * @return {boolean} Whether arrays are shallowly equal.
+ */
+function isShallowEqual( a, b, fromIndex ) {
+	var i;
+
+	if ( a.length !== b.length ) {
+		return false;
+	}
+
+	for ( i = fromIndex; i < a.length; i++ ) {
+		if ( a[ i ] !== b[ i ] ) {
+			return false;
+		}
+	}
+
+	return true;
+}
+
+/**
+ * Returns a memoized selector function. The getDependants function argument is
+ * called before the memoized selector and is expected to return an immutable
+ * reference or array of references on which the selector depends for computing
+ * its own return value. The memoize cache is preserved only as long as those
+ * dependant references remain the same. If getDependants returns a different
+ * reference(s), the cache is cleared and the selector value regenerated.
+ *
+ * @param {Function} selector      Selector function.
+ * @param {Function} getDependants Dependant getter returning an immutable
+ *                                 reference or array of reference used in
+ *                                 cache bust consideration.
+ *
+ * @return {Function} Memoized selector.
+ */
+/* harmony default export */ function rememo(selector, getDependants ) {
+	var rootCache, getCache;
+
+	// Use object source as dependant if getter not provided
+	if ( ! getDependants ) {
+		getDependants = arrayOf;
+	}
+
+	/**
+	 * Returns the root cache. If WeakMap is supported, this is assigned to the
+	 * root WeakMap cache set, otherwise it is a shared instance of the default
+	 * cache object.
+	 *
+	 * @return {(WeakMap|Object)} Root cache object.
+	 */
+	function getRootCache() {
+		return rootCache;
+	}
+
+	/**
+	 * Returns the cache for a given dependants array. When possible, a WeakMap
+	 * will be used to create a unique cache for each set of dependants. This
+	 * is feasible due to the nature of WeakMap in allowing garbage collection
+	 * to occur on entries where the key object is no longer referenced. Since
+	 * WeakMap requires the key to be an object, this is only possible when the
+	 * dependant is object-like. The root cache is created as a hierarchy where
+	 * each top-level key is the first entry in a dependants set, the value a
+	 * WeakMap where each key is the next dependant, and so on. This continues
+	 * so long as the dependants are object-like. If no dependants are object-
+	 * like, then the cache is shared across all invocations.
+	 *
+	 * @see isObjectLike
+	 *
+	 * @param {Array} dependants Selector dependants.
+	 *
+	 * @return {Object} Cache object.
+	 */
+	function getWeakMapCache( dependants ) {
+		var caches = rootCache,
+			isUniqueByDependants = true,
+			i, dependant, map, cache;
+
+		for ( i = 0; i < dependants.length; i++ ) {
+			dependant = dependants[ i ];
+
+			// Can only compose WeakMap from object-like key.
+			if ( ! isObjectLike( dependant ) ) {
+				isUniqueByDependants = false;
+				break;
+			}
+
+			// Does current segment of cache already have a WeakMap?
+			if ( caches.has( dependant ) ) {
+				// Traverse into nested WeakMap.
+				caches = caches.get( dependant );
+			} else {
+				// Create, set, and traverse into a new one.
+				map = new WeakMap();
+				caches.set( dependant, map );
+				caches = map;
+			}
+		}
+
+		// We use an arbitrary (but consistent) object as key for the last item
+		// in the WeakMap to serve as our running cache.
+		if ( ! caches.has( LEAF_KEY ) ) {
+			cache = createCache();
+			cache.isUniqueByDependants = isUniqueByDependants;
+			caches.set( LEAF_KEY, cache );
+		}
+
+		return caches.get( LEAF_KEY );
+	}
+
+	// Assign cache handler by availability of WeakMap
+	getCache = hasWeakMap ? getWeakMapCache : getRootCache;
+
+	/**
+	 * Resets root memoization cache.
+	 */
+	function clear() {
+		rootCache = hasWeakMap ? new WeakMap() : createCache();
+	}
+
+	// eslint-disable-next-line jsdoc/check-param-names
+	/**
+	 * The augmented selector call, considering first whether dependants have
+	 * changed before passing it to underlying memoize function.
+	 *
+	 * @param {Object} source    Source object for derivation.
+	 * @param {...*}   extraArgs Additional arguments to pass to selector.
+	 *
+	 * @return {*} Selector result.
+	 */
+	function callSelector( /* source, ...extraArgs */ ) {
+		var len = arguments.length,
+			cache, node, i, args, dependants;
+
+		// Create copy of arguments (avoid leaking deoptimization).
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}
+
+		dependants = getDependants.apply( null, args );
+		cache = getCache( dependants );
+
+		// If not guaranteed uniqueness by dependants (primitive type or lack
+		// of WeakMap support), shallow compare against last dependants and, if
+		// references have changed, destroy cache to recalculate result.
+		if ( ! cache.isUniqueByDependants ) {
+			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
+				cache.clear();
+			}
+
+			cache.lastDependants = dependants;
+		}
+
+		node = cache.head;
+		while ( node ) {
+			// Check whether node arguments match arguments
+			if ( ! isShallowEqual( node.args, args, 1 ) ) {
+				node = node.next;
+				continue;
+			}
+
+			// At this point we can assume we've found a match
+
+			// Surface matched node to head if not already
+			if ( node !== cache.head ) {
+				// Adjust siblings to point to each other.
+				node.prev.next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}
+
+				node.next = cache.head;
+				node.prev = null;
+				cache.head.prev = node;
+				cache.head = node;
+			}
+
+			// Return immediately
+			return node.val;
+		}
+
+		// No cached value found. Continue to insertion phase:
+
+		node = {
+			// Generate the result from original function
+			val: selector.apply( null, args ),
+		};
+
+		// Avoid including the source object in the cache.
+		args[ 0 ] = null;
+		node.args = args;
+
+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was
+
+		// Shift existing head down list
+		if ( cache.head ) {
+			cache.head.prev = node;
+			node.next = cache.head;
+		}
+
+		cache.head = node;
+
+		return node.val;
+	}
+
+	callSelector.getDependants = getDependants;
+	callSelector.clear = clear;
+	clear();
+
+	return callSelector;
+}
+
+// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
+var equivalent_key_map = __webpack_require__(2167);
+var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/selectors.js
+/**
+ * External dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+/**
+ * Cache of state keys to EquivalentKeyMap where the inner map tracks queries
+ * to their resulting items set. WeakMap allows garbage collection on expired
+ * state references.
+ *
+ * @type {WeakMap<Object,EquivalentKeyMap>}
+ */
+
+const queriedItemsCacheByState = new WeakMap();
+/**
+ * Returns items for a given query, or null if the items are not known.
+ *
+ * @param {Object}  state State object.
+ * @param {?Object} query Optional query.
+ *
+ * @return {?Array} Query items.
+ */
+
+function getQueriedItemsUncached(state, query) {
+  var _state$queries, _state$queries$contex;

-function getQueriedItemsUncached(state, query) {
-  var _state$queries, _state$queries$contex;
-
   const {
     stableKey,
     page,
@@ -3248,8 +3449,8 @@ function getQueriedItemsUncached(state, query) {

       for (let f = 0; f < fields.length; f++) {
         const field = fields[f].split('.');
-        const value = Object(external_lodash_["get"])(item, field);
-        Object(external_lodash_["set"])(filteredItem, field, value);
+        const value = (0,external_lodash_namespaceObject.get)(item, field);
+        (0,external_lodash_namespaceObject.set)(filteredItem, field, value);
       }
     } else {
       var _state$itemIsComplete;
@@ -3283,7 +3484,7 @@ function getQueriedItemsUncached(state, query) {
  */


-const getQueriedItems = Object(rememo["a" /* default */])(function (state) {
+const getQueriedItems = rememo(function (state) {
   let query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
   let queriedItemsCache = queriedItemsCacheByState.get(state);

@@ -3294,7 +3495,7 @@ const getQueriedItems = Object(rememo["a" /* default */])(function (state) {
       return queriedItems;
     }
   } else {
-    queriedItemsCache = new equivalent_key_map_default.a();
+    queriedItemsCache = new (equivalent_key_map_default())();
     queriedItemsCacheByState.set(state, queriedItemsCache);
   }

@@ -3303,7 +3504,7 @@ const getQueriedItems = Object(rememo["a" /* default */])(function (state) {
   return items;
 });

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/is-raw-attribute.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/is-raw-attribute.js
 /**
  * Checks whether the attribute is a "raw" attribute or not.
  *
@@ -3316,7 +3517,7 @@ function isRawAttribute(entity, attribute) {
   return (entity.rawAttributes || []).includes(attribute);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/selectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/selectors.js
 /**
  * External dependencies
  */
@@ -3367,7 +3568,7 @@ const EMPTY_ARRAY = [];
  * @return {boolean} Whether a request is in progress for an embed preview.
  */

-const isRequestingEmbedPreview = Object(external_wp_data_["createRegistrySelector"])(select => (state, url) => {
+const isRequestingEmbedPreview = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, url) => {
   return select(STORE_NAME).isResolving('getEmbedPreview', [url]);
 });
 /**
@@ -3386,7 +3587,7 @@ function getAuthors(state, query) {
     since: '5.9',
     alternative: "select( 'core' ).getUsers({ who: 'authors' })"
   });
-  const path = Object(external_wp_url_["addQueryArgs"])('/wp/v2/users/?who=authors&per_page=100', query);
+  const path = (0,external_wp_url_namespaceObject.addQueryArgs)('/wp/v2/users/?who=authors&per_page=100', query);
   return getUserQueryResults(state, path);
 }
 /**
@@ -3409,9 +3610,9 @@ function getCurrentUser(state) {
  * @return {Array} Users list.
  */

-const getUserQueryResults = Object(rememo["a" /* default */])((state, queryID) => {
+const getUserQueryResults = rememo((state, queryID) => {
   const queryResults = state.users.queries[queryID];
-  return Object(external_lodash_["map"])(queryResults, id => state.users.byId[id]);
+  return (0,external_lodash_namespaceObject.map)(queryResults, id => state.users.byId[id]);
 }, (state, queryID) => [state.users.queries[queryID], state.users.byId]);
 /**
  * Returns whether the entities for the give kind are loaded.
@@ -3423,7 +3624,7 @@ const getUserQueryResults = Object(rememo["a" /* default */])((state, queryID) =
  */

 function getEntitiesByKind(state, kind) {
-  return Object(external_lodash_["filter"])(state.entities.config, {
+  return (0,external_lodash_namespaceObject.filter)(state.entities.config, {
     kind
   });
 }
@@ -3438,7 +3639,7 @@ function getEntitiesByKind(state, kind) {
  */

 function getEntity(state, kind, name) {
-  return Object(external_lodash_["find"])(state.entities.config, {
+  return (0,external_lodash_namespaceObject.find)(state.entities.config, {
     kind,
     name
   });
@@ -3457,10 +3658,10 @@ function getEntity(state, kind, name) {
  * @return {Object?} Record.
  */

-const selectors_getEntityRecord = Object(rememo["a" /* default */])((state, kind, name, key, query) => {
+const getEntityRecord = rememo((state, kind, name, key, query) => {
   var _query$context, _queriedState$items$c;

-  const queriedState = Object(external_lodash_["get"])(state.entities.data, [kind, name, 'queriedData']);
+  const queriedState = (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'queriedData']);

   if (!queriedState) {
     return undefined;
@@ -3487,8 +3688,8 @@ const selectors_getEntityRecord = Object(rememo["a" /* default */])((state, kind

     for (let f = 0; f < fields.length; f++) {
       const field = fields[f].split('.');
-      const value = Object(external_lodash_["get"])(item, field);
-      Object(external_lodash_["set"])(filteredItem, field, value);
+      const value = (0,external_lodash_namespaceObject.get)(item, field);
+      (0,external_lodash_namespaceObject.set)(filteredItem, field, value);
     }

     return filteredItem;
@@ -3499,7 +3700,7 @@ const selectors_getEntityRecord = Object(rememo["a" /* default */])((state, kind
   var _query$context2;

   const context = (_query$context2 = query === null || query === void 0 ? void 0 : query.context) !== null && _query$context2 !== void 0 ? _query$context2 : 'default';
-  return [Object(external_lodash_["get"])(state.entities.data, [kind, name, 'queriedData', 'items', context, recordId]), Object(external_lodash_["get"])(state.entities.data, [kind, name, 'queriedData', 'itemIsComplete', context, recordId])];
+  return [(0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'queriedData', 'items', context, recordId]), (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'queriedData', 'itemIsComplete', context, recordId])];
 });
 /**
  * Returns the Entity's record object by key. Doesn't trigger a resolver nor requests the entity from the API if the entity record isn't available in the local state.
@@ -3513,7 +3714,7 @@ const selectors_getEntityRecord = Object(rememo["a" /* default */])((state, kind
  */

 function __experimentalGetEntityRecordNoResolver(state, kind, name, key) {
-  return selectors_getEntityRecord(state, kind, name, key);
+  return getEntityRecord(state, kind, name, key);
 }
 /**
  * Returns the entity's record object by key,
@@ -3527,14 +3728,14 @@ function __experimentalGetEntityRecordNoResolver(state, kind, name, key) {
  * @return {Object?} Object with the entity's raw attributes.
  */

-const getRawEntityRecord = Object(rememo["a" /* default */])((state, kind, name, key) => {
-  const record = selectors_getEntityRecord(state, kind, name, key);
+const getRawEntityRecord = rememo((state, kind, name, key) => {
+  const record = getEntityRecord(state, kind, name, key);
   return record && Object.keys(record).reduce((accumulator, _key) => {
     if (isRawAttribute(getEntity(state, kind, name), _key)) {
       // Because edits are the "raw" attribute values,
       // we return those from record selectors to make rendering,
       // comparisons, and joins with edits easier.
-      accumulator[_key] = Object(external_lodash_["get"])(record[_key], 'raw', record[_key]);
+      accumulator[_key] = (0,external_lodash_namespaceObject.get)(record[_key], 'raw', record[_key]);
     } else {
       accumulator[_key] = record[_key];
     }
@@ -3545,7 +3746,7 @@ const getRawEntityRecord = Object(rememo["a" /* default */])((state, kind, name,
   var _query$context3;

   const context = (_query$context3 = query === null || query === void 0 ? void 0 : query.context) !== null && _query$context3 !== void 0 ? _query$context3 : 'default';
-  return [state.entities.config, Object(external_lodash_["get"])(state.entities.data, [kind, name, 'queriedData', 'items', context, recordId]), Object(external_lodash_["get"])(state.entities.data, [kind, name, 'queriedData', 'itemIsComplete', context, recordId])];
+  return [state.entities.config, (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'queriedData', 'items', context, recordId]), (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'queriedData', 'itemIsComplete', context, recordId])];
 });
 /**
  * Returns true if records have been received for the given set of parameters,
@@ -3578,7 +3779,7 @@ function getEntityRecords(state, kind, name, query) {
   // assigned for the given parameters, then it is known to not exist. Thus, a
   // return value of an empty array is used instead of `null` (where `null` is
   // otherwise used to represent an unknown state).
-  const queriedState = Object(external_lodash_["get"])(state.entities.data, [kind, name, 'queriedData']);
+  const queriedState = (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'queriedData']);

   if (!queriedState) {
     return EMPTY_ARRAY;
@@ -3594,7 +3795,7 @@ function getEntityRecords(state, kind, name, query) {
  * @return {[{ title: string, key: string, name: string, kind: string }]} The list of updated records
  */

-const __experimentalGetDirtyEntityRecords = Object(rememo["a" /* default */])(state => {
+const __experimentalGetDirtyEntityRecords = rememo(state => {
   const {
     entities: {
       data
@@ -3605,14 +3806,14 @@ const __experimentalGetDirtyEntityRecords = Object(rememo["a" /* default */])(st
     Object.keys(data[kind]).forEach(name => {
       const primaryKeys = Object.keys(data[kind][name].edits).filter(primaryKey => // The entity record must exist (not be deleted),
       // and it must have edits.
-      selectors_getEntityRecord(state, kind, name, primaryKey) && hasEditsForEntityRecord(state, kind, name, primaryKey));
+      getEntityRecord(state, kind, name, primaryKey) && hasEditsForEntityRecord(state, kind, name, primaryKey));

       if (primaryKeys.length) {
         const entity = getEntity(state, kind, name);
         primaryKeys.forEach(primaryKey => {
           var _entity$getTitle;

-          const entityRecord = selectors_getEditedEntityRecord(state, kind, name, primaryKey);
+          const entityRecord = getEditedEntityRecord(state, kind, name, primaryKey);
           dirtyRecords.push({
             // We avoid using primaryKey because it's transformed into a string
             // when it's used as an object key.
@@ -3635,7 +3836,7 @@ const __experimentalGetDirtyEntityRecords = Object(rememo["a" /* default */])(st
  * @return {[{ title: string, key: string, name: string, kind: string }]} The list of records being saved.
  */

-const __experimentalGetEntitiesBeingSaved = Object(rememo["a" /* default */])(state => {
+const __experimentalGetEntitiesBeingSaved = rememo(state => {
   const {
     entities: {
       data
@@ -3651,7 +3852,7 @@ const __experimentalGetEntitiesBeingSaved = Object(rememo["a" /* default */])(st
         primaryKeys.forEach(primaryKey => {
           var _entity$getTitle2;

-          const entityRecord = selectors_getEditedEntityRecord(state, kind, name, primaryKey);
+          const entityRecord = getEditedEntityRecord(state, kind, name, primaryKey);
           recordsBeingSaved.push({
             // We avoid using primaryKey because it's transformed into a string
             // when it's used as an object key.
@@ -3678,7 +3879,7 @@ const __experimentalGetEntitiesBeingSaved = Object(rememo["a" /* default */])(st
  */

 function getEntityRecordEdits(state, kind, name, recordId) {
-  return Object(external_lodash_["get"])(state.entities.data, [kind, name, 'edits', recordId]);
+  return (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'edits', recordId]);
 }
 /**
  * Returns the specified entity record's non transient edits.
@@ -3695,7 +3896,7 @@ function getEntityRecordEdits(state, kind, name, recordId) {
  * @return {Object?} The entity record's non transient edits.
  */

-const getEntityRecordNonTransientEdits = Object(rememo["a" /* default */])((state, kind, name, recordId) => {
+const getEntityRecordNonTransientEdits = rememo((state, kind, name, recordId) => {
   const {
     transientEdits
   } = getEntity(state, kind, name) || {};
@@ -3712,7 +3913,7 @@ const getEntityRecordNonTransientEdits = Object(rememo["a" /* default */])((stat

     return acc;
   }, {});
-}, (state, kind, name, recordId) => [state.entities.config, Object(external_lodash_["get"])(state.entities.data, [kind, name, 'edits', recordId])]);
+}, (state, kind, name, recordId) => [state.entities.config, (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'edits', recordId])]);
 /**
  * Returns true if the specified entity record has edits,
  * and false otherwise.
@@ -3739,13 +3940,13 @@ function hasEditsForEntityRecord(state, kind, name, recordId) {
  * @return {Object?} The entity record, merged with its edits.
  */

-const selectors_getEditedEntityRecord = Object(rememo["a" /* default */])((state, kind, name, recordId) => ({ ...getRawEntityRecord(state, kind, name, recordId),
+const getEditedEntityRecord = rememo((state, kind, name, recordId) => ({ ...getRawEntityRecord(state, kind, name, recordId),
   ...getEntityRecordEdits(state, kind, name, recordId)
 }), (state, kind, name, recordId, query) => {
   var _query$context4;

   const context = (_query$context4 = query === null || query === void 0 ? void 0 : query.context) !== null && _query$context4 !== void 0 ? _query$context4 : 'default';
-  return [state.entities.config, Object(external_lodash_["get"])(state.entities.data, [kind, name, 'queriedData', 'items', context, recordId]), Object(external_lodash_["get"])(state.entities.data, [kind, name, 'queriedData', 'itemIsComplete', context, recordId]), Object(external_lodash_["get"])(state.entities.data, [kind, name, 'edits', recordId])];
+  return [state.entities.config, (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'queriedData', 'items', context, recordId]), (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'queriedData', 'itemIsComplete', context, recordId]), (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'edits', recordId])];
 });
 /**
  * Returns true if the specified entity record is autosaving, and false otherwise.
@@ -3762,7 +3963,7 @@ function isAutosavingEntityRecord(state, kind, name, recordId) {
   const {
     pending,
     isAutosave
-  } = Object(external_lodash_["get"])(state.entities.data, [kind, name, 'saving', recordId], {});
+  } = (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'saving', recordId], {});
   return Boolean(pending && isAutosave);
 }
 /**
@@ -3777,7 +3978,7 @@ function isAutosavingEntityRecord(state, kind, name, recordId) {
  */

 function isSavingEntityRecord(state, kind, name, recordId) {
-  return Object(external_lodash_["get"])(state.entities.data, [kind, name, 'saving', recordId, 'pending'], false);
+  return (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'saving', recordId, 'pending'], false);
 }
 /**
  * Returns true if the specified entity record is deleting, and false otherwise.
@@ -3791,7 +3992,7 @@ function isSavingEntityRecord(state, kind, name, recordId) {
  */

 function isDeletingEntityRecord(state, kind, name, recordId) {
-  return Object(external_lodash_["get"])(state.entities.data, [kind, name, 'deleting', recordId, 'pending'], false);
+  return (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'deleting', recordId, 'pending'], false);
 }
 /**
  * Returns the specified entity record's last save error.
@@ -3805,7 +4006,7 @@ function isDeletingEntityRecord(state, kind, name, recordId) {
  */

 function getLastEntitySaveError(state, kind, name, recordId) {
-  return Object(external_lodash_["get"])(state.entities.data, [kind, name, 'saving', recordId, 'error']);
+  return (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'saving', recordId, 'error']);
 }
 /**
  * Returns the specified entity record's last delete error.
@@ -3819,7 +4020,7 @@ function getLastEntitySaveError(state, kind, name, recordId) {
  */

 function getLastEntityDeleteError(state, kind, name, recordId) {
-  return Object(external_lodash_["get"])(state.entities.data, [kind, name, 'deleting', recordId, 'error']);
+  return (0,external_lodash_namespaceObject.get)(state.entities.data, [kind, name, 'deleting', recordId, 'error']);
 }
 /**
  * Returns the current undo offset for the
@@ -3894,7 +4095,7 @@ function hasRedo(state) {
  */

 function getCurrentTheme(state) {
-  return selectors_getEntityRecord(state, 'root', 'theme', state.currentTheme);
+  return getEntityRecord(state, 'root', 'theme', state.currentTheme);
 }
 /**
  * Return the ID of the current global styles object.
@@ -3974,8 +4175,8 @@ function isPreviewEmbedFallback(state, url) {
  */

 function canUser(state, action, resource, id) {
-  const key = Object(external_lodash_["compact"])([action, resource, id]).join('/');
-  return Object(external_lodash_["get"])(state, ['userPermissions', key]);
+  const key = (0,external_lodash_namespaceObject.compact)([action, resource, id]).join('/');
+  return (0,external_lodash_namespaceObject.get)(state, ['userPermissions', key]);
 }
 /**
  * Returns whether the current user can edit the given entity.
@@ -4036,7 +4237,7 @@ function getAutosave(state, postType, postId, authorId) {
   }

   const autosaves = state.autosaves[postId];
-  return Object(external_lodash_["find"])(autosaves, {
+  return (0,external_lodash_namespaceObject.find)(autosaves, {
     author: authorId
   });
 }
@@ -4050,7 +4251,7 @@ function getAutosave(state, postType, postId, authorId) {
  * @return {boolean} True if the REST request was completed. False otherwise.
  */

-const hasFetchedAutosaves = Object(external_wp_data_["createRegistrySelector"])(select => (state, postType, postId) => {
+const hasFetchedAutosaves = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, postType, postId) => {
   return select(STORE_NAME).hasFinishedResolution('getAutosaves', [postType, postId]);
 });
 /**
@@ -4072,7 +4273,7 @@ const hasFetchedAutosaves = Object(external_wp_data_["createRegistrySelector"])(
  * @return {*} A value whose reference will change only when an edit occurs.
  */

-const getReferenceByDistinctEdits = Object(rememo["a" /* default */])(() => [], state => [state.undo.length, state.undo.offset, state.undo.flattenedUndo]);
+const getReferenceByDistinctEdits = rememo(() => [], state => [state.undo.length, state.undo.offset, state.undo.flattenedUndo]);
 /**
  * Retrieve the frontend template used for a given link.
  *
@@ -4089,7 +4290,7 @@ function __experimentalGetTemplateForLink(state, link) {
   const template = records !== null && records !== void 0 && records.length ? records[0] : null;

   if (template) {
-    return selectors_getEditedEntityRecord(state, 'postType', 'wp_template', template.id);
+    return getEditedEntityRecord(state, 'postType', 'wp_template', template.id);
   }

   return template;
@@ -4112,7 +4313,7 @@ function __experimentalGetCurrentThemeBaseGlobalStyles(state) {
   return state.themeBaseGlobalStyles[currentTheme.stylesheet];
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/forward-resolver.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/utils/forward-resolver.js
 /**
  * Higher-order function which forward the resolution to another resolver with the same arguments.
  *
@@ -4135,7 +4336,7 @@ const forwardResolver = resolverName => function () {

 /* harmony default export */ var forward_resolver = (forwardResolver);

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/resolvers.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/resolvers.js
 /**
  * External dependencies
  */
@@ -4164,7 +4365,7 @@ const resolvers_getAuthors = query => async _ref => {
   let {
     dispatch
   } = _ref;
-  const path = Object(external_wp_url_["addQueryArgs"])('/wp/v2/users/?who=authors&per_page=100', query);
+  const path = (0,external_wp_url_namespaceObject.addQueryArgs)('/wp/v2/users/?who=authors&per_page=100', query);
   const users = await external_wp_apiFetch_default()({
     path
   });
@@ -4202,7 +4403,7 @@ const resolvers_getEntityRecord = function (kind, name) {
       dispatch
     } = _ref3;
     const entities = await dispatch(getKindEntities(kind));
-    const entity = Object(external_lodash_["find"])(entities, {
+    const entity = (0,external_lodash_namespaceObject.find)(entities, {
       kind,
       name
     });
@@ -4221,7 +4422,7 @@ const resolvers_getEntityRecord = function (kind, name) {
         // records are stored by ID reference. Thus, fields must always include
         // the ID.
         query = { ...query,
-          _fields: Object(external_lodash_["uniq"])([...(get_normalized_comma_separable(query._fields) || []), entity.key || DEFAULT_ENTITY_KEY]).join()
+          _fields: (0,external_lodash_namespaceObject.uniq)([...(get_normalized_comma_separable(query._fields) || []), entity.key || DEFAULT_ENTITY_KEY]).join()
         };
       } // Disable reason: While true that an early return could leave `path`
       // unused, it's important that path is derived using the query prior to
@@ -4231,7 +4432,7 @@ const resolvers_getEntityRecord = function (kind, name) {
       // eslint-disable-next-line @wordpress/no-unused-vars-before-return


-      const path = Object(external_wp_url_["addQueryArgs"])(entity.baseURL + (key ? '/' + key : ''), { ...entity.baseURLParams,
+      const path = (0,external_wp_url_namespaceObject.addQueryArgs)(entity.baseURL + (key ? '/' + key : ''), { ...entity.baseURLParams,
         ...query
       });

@@ -4286,7 +4487,7 @@ const resolvers_getEntityRecords = function (kind, name) {
       dispatch
     } = _ref4;
     const entities = await dispatch(getKindEntities(kind));
-    const entity = Object(external_lodash_["find"])(entities, {
+    const entity = (0,external_lodash_namespaceObject.find)(entities, {
       kind,
       name
     });
@@ -4307,11 +4508,11 @@ const resolvers_getEntityRecords = function (kind, name) {
         // records are stored by ID reference. Thus, fields must always include
         // the ID.
         query = { ...query,
-          _fields: Object(external_lodash_["uniq"])([...(get_normalized_comma_separable(query._fields) || []), entity.key || DEFAULT_ENTITY_KEY]).join()
+          _fields: (0,external_lodash_namespaceObject.uniq)([...(get_normalized_comma_separable(query._fields) || []), entity.key || DEFAULT_ENTITY_KEY]).join()
         };
       }

-      const path = Object(external_wp_url_["addQueryArgs"])(entity.baseURL, { ...entity.baseURLParams,
+      const path = (0,external_wp_url_namespaceObject.addQueryArgs)(entity.baseURL, { ...entity.baseURLParams,
         ...query
       });
       let records = Object.values(await external_wp_apiFetch_default()({
@@ -4395,7 +4596,7 @@ const resolvers_getEmbedPreview = url => async _ref6 => {

   try {
     const embedProxyResponse = await external_wp_apiFetch_default()({
-      path: Object(external_wp_url_["addQueryArgs"])('/oembed/1.0/proxy', {
+      path: (0,external_wp_url_namespaceObject.addQueryArgs)('/oembed/1.0/proxy', {
         url
       })
     });
@@ -4452,18 +4653,18 @@ const resolvers_canUser = (action, resource, id) => async _ref7 => {

   let allowHeader;

-  if (Object(external_lodash_["hasIn"])(response, ['headers', 'get'])) {
+  if ((0,external_lodash_namespaceObject.hasIn)(response, ['headers', 'get'])) {
     // If the request is fetched using the fetch api, the header can be
     // retrieved using the 'get' method.
     allowHeader = response.headers.get('allow');
   } else {
     // If the request was preloaded server-side and is returned by the
     // preloading middleware, the header will be a simple property.
-    allowHeader = Object(external_lodash_["get"])(response, ['headers', 'Allow'], '');
+    allowHeader = (0,external_lodash_namespaceObject.get)(response, ['headers', 'Allow'], '');
   }

-  const key = Object(external_lodash_["compact"])([action, resource, id]).join('/');
-  const isAllowed = Object(external_lodash_["includes"])(allowHeader, method);
+  const key = (0,external_lodash_namespaceObject.compact)([action, resource, id]).join('/');
+  const isAllowed = (0,external_lodash_namespaceObject.includes)(allowHeader, method);
   dispatch.receiveUserPermission(key, isAllowed);
 };
 /**
@@ -4480,7 +4681,7 @@ const resolvers_canUserEditEntityRecord = (kind, name, recordId) => async _ref8
     dispatch
   } = _ref8;
   const entities = await dispatch(getKindEntities(kind));
-  const entity = Object(external_lodash_["find"])(entities, {
+  const entity = (0,external_lodash_namespaceObject.find)(entities, {
     kind,
     name
   });
@@ -4548,7 +4749,7 @@ const resolvers_experimentalGetTemplateForLink = link => async _ref11 => {
   let template;

   try {
-    template = await window.fetch(Object(external_wp_url_["addQueryArgs"])(link, {
+    template = await window.fetch((0,external_wp_url_namespaceObject.addQueryArgs)(link, {
       '_wp-find-template': true
     })).then(res => res.json()).then(_ref12 => {
       let {
@@ -4584,7 +4785,7 @@ const resolvers_experimentalGetCurrentGlobalStylesId = () => async _ref13 => {
   const activeThemes = await resolveSelect.getEntityRecords('root', 'theme', {
     status: 'active'
   });
-  const globalStylesURL = Object(external_lodash_["get"])(activeThemes, [0, '_links', 'wp:user-global-styles', 0, 'href']);
+  const globalStylesURL = (0,external_lodash_namespaceObject.get)(activeThemes, [0, '_links', 'wp:user-global-styles', 0, 'href']);

   if (globalStylesURL) {
     const globalStylesObject = await external_wp_apiFetch_default()({
@@ -4606,7 +4807,7 @@ const resolvers_experimentalGetCurrentThemeBaseGlobalStyles = () => async _ref14
   await dispatch.__experimentalReceiveThemeBaseGlobalStyles(currentTheme.stylesheet, themeGlobalStyles);
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/utils.js
 function deepCopyLocksTreePath(tree, path) {
   const newTree = { ...tree
   };
@@ -4680,7 +4881,7 @@ function hasConflictingLock(_ref, locks) {
   return false;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/reducer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/reducer.js
 /**
  * Internal dependencies
  */
@@ -4701,7 +4902,7 @@ const DEFAULT_STATE = {
  * @return {Object} Updated state.
  */

-function reducer_locks() {
+function locks() {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;
   let action = arguments.length > 1 ? arguments[1] : undefined;

@@ -4754,7 +4955,7 @@ function reducer_locks() {
   return state;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/selectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/selectors.js
 /**
  * Internal dependencies
  */
@@ -4797,14 +4998,14 @@ function isLockAvailable(state, store, path, _ref) {
   return true;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/engine.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/engine.js
 /**
  * Internal dependencies
  */


 function createLocks() {
-  let state = reducer_locks(undefined, {
+  let state = locks(undefined, {
     type: '@@INIT'
   });

@@ -4825,7 +5026,7 @@ function createLocks() {
           path,
           exclusive
         };
-        state = reducer_locks(state, {
+        state = locks(state, {
           type: 'GRANT_LOCK_REQUEST',
           lock,
           request
@@ -4837,7 +5038,7 @@ function createLocks() {

   function acquire(store, path, exclusive) {
     return new Promise(resolve => {
-      state = reducer_locks(state, {
+      state = locks(state, {
         type: 'ENQUEUE_LOCK_REQUEST',
         request: {
           store,
@@ -4851,7 +5052,7 @@ function createLocks() {
   }

   function release(lock) {
-    state = reducer_locks(state, {
+    state = locks(state, {
       type: 'RELEASE_LOCK',
       lock
     });
@@ -4864,7 +5065,7 @@ function createLocks() {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/locks/actions.js
 /**
  * Internal dependencies
  */
@@ -4889,13 +5090,11 @@ function createLocksActions() {
   };
 }

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entity-provider.js
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entity-provider.js


 /**
@@ -4921,7 +5120,7 @@ const entity_provider_entities = { ...defaultEntities.reduce((acc, entity) => {
     }

     acc[entity.kind][entity.name] = {
-      context: Object(external_wp_element_["createContext"])()
+      context: (0,external_wp_element_namespaceObject.createContext)()
     };
     return acc;
   }, {}),
@@ -4938,7 +5137,7 @@ const entity_provider_getEntity = (kind, type) => {

   if (!entity_provider_entities[kind][type]) {
     entity_provider_entities[kind][type] = {
-      context: Object(external_wp_element_["createContext"])()
+      context: (0,external_wp_element_namespaceObject.createContext)()
     };
   }

@@ -4967,7 +5166,7 @@ function EntityProvider(_ref) {
     children
   } = _ref;
   const Provider = entity_provider_getEntity(kind, type).context.Provider;
-  return Object(external_wp_element_["createElement"])(Provider, {
+  return (0,external_wp_element_namespaceObject.createElement)(Provider, {
     value: id
   }, children);
 }
@@ -4980,7 +5179,7 @@ function EntityProvider(_ref) {
  */

 function useEntityId(kind, type) {
-  return Object(external_wp_element_["useContext"])(entity_provider_getEntity(kind, type).context);
+  return (0,external_wp_element_namespaceObject.useContext)(entity_provider_getEntity(kind, type).context);
 }
 /**
  * Hook that returns the value and a setter for the
@@ -5006,7 +5205,7 @@ function useEntityProp(kind, type, prop, _id) {
   const {
     value,
     fullValue
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEntityRecord,
       getEditedEntityRecord
@@ -5021,8 +5220,8 @@ function useEntityProp(kind, type, prop, _id) {
   }, [kind, type, id, prop]);
   const {
     editEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(STORE_NAME);
-  const setValue = Object(external_wp_element_["useCallback"])(newValue => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(STORE_NAME);
+  const setValue = (0,external_wp_element_namespaceObject.useCallback)(newValue => {
     editEntityRecord(kind, type, id, {
       [prop]: newValue
     });
@@ -5057,7 +5256,7 @@ function useEntityBlockEditor(kind, type) {
   const {
     content,
     blocks
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEditedEntityRecord
     } = select(STORE_NAME);
@@ -5070,13 +5269,13 @@ function useEntityBlockEditor(kind, type) {
   const {
     __unstableCreateUndoLevel,
     editEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(STORE_NAME);
-  Object(external_wp_element_["useEffect"])(() => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(STORE_NAME);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // Load the blocks from the content if not already in state
     // Guard against other instances that might have
     // set content to a function already or the blocks are already in state.
     if (content && typeof content !== 'function' && !blocks) {
-      const parsedContent = Object(external_wp_blocks_["parse"])(content);
+      const parsedContent = (0,external_wp_blocks_namespaceObject.parse)(content);
       editEntityRecord(kind, type, id, {
         blocks: parsedContent
       }, {
@@ -5084,7 +5283,7 @@ function useEntityBlockEditor(kind, type) {
       });
     }
   }, [content]);
-  const onChange = Object(external_wp_element_["useCallback"])((newBlocks, options) => {
+  const onChange = (0,external_wp_element_namespaceObject.useCallback)((newBlocks, options) => {
     const {
       selection
     } = options;
@@ -5105,12 +5304,12 @@ function useEntityBlockEditor(kind, type) {
       let {
         blocks: blocksForSerialization = []
       } = _ref2;
-      return Object(external_wp_blocks_["__unstableSerializeAndClean"])(blocksForSerialization);
+      return (0,external_wp_blocks_namespaceObject.__unstableSerializeAndClean)(blocksForSerialization);
     };

     editEntityRecord(kind, type, id, edits);
   }, [kind, type, id, blocks]);
-  const onInput = Object(external_wp_element_["useCallback"])((newBlocks, options) => {
+  const onInput = (0,external_wp_element_namespaceObject.useCallback)((newBlocks, options) => {
     const {
       selection
     } = options;
@@ -5123,10 +5322,9 @@ function useEntityBlockEditor(kind, type) {
   return [blocks !== null && blocks !== void 0 ? blocks : entity_provider_EMPTY_ARRAY, onInput, onChange];
 }

-// EXTERNAL MODULE: external ["wp","htmlEntities"]
-var external_wp_htmlEntities_ = __webpack_require__("rmEH");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/fetch/__experimental-fetch-link-suggestions.js
+;// CONCATENATED MODULE: external ["wp","htmlEntities"]
+var external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/fetch/__experimental-fetch-link-suggestions.js
 /**
  * WordPress dependencies
  */
@@ -5213,7 +5411,7 @@ const fetchLinkSuggestions = async function (search) {

   if (!type || type === 'post') {
     queries.push(external_wp_apiFetch_default()({
-      path: Object(external_wp_url_["addQueryArgs"])('/wp/v2/search', {
+      path: (0,external_wp_url_namespaceObject.addQueryArgs)('/wp/v2/search', {
         search,
         page,
         per_page: perPage,
@@ -5235,7 +5433,7 @@ const fetchLinkSuggestions = async function (search) {

   if (!type || type === 'term') {
     queries.push(external_wp_apiFetch_default()({
-      path: Object(external_wp_url_["addQueryArgs"])('/wp/v2/search', {
+      path: (0,external_wp_url_namespaceObject.addQueryArgs)('/wp/v2/search', {
         search,
         page,
         per_page: perPage,
@@ -5256,7 +5454,7 @@ const fetchLinkSuggestions = async function (search) {

   if (!disablePostFormats && (!type || type === 'post-format')) {
     queries.push(external_wp_apiFetch_default()({
-      path: Object(external_wp_url_["addQueryArgs"])('/wp/v2/search', {
+      path: (0,external_wp_url_namespaceObject.addQueryArgs)('/wp/v2/search', {
         search,
         page,
         per_page: perPage,
@@ -5293,7 +5491,7 @@ const fetchLinkSuggestions = async function (search) {
       return {
         id: result.id,
         url: result.url,
-        title: Object(external_wp_htmlEntities_["decodeEntities"])(result.title || '') || Object(external_wp_i18n_["__"])('(no title)'),
+        title: (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(result.title || '') || (0,external_wp_i18n_namespaceObject.__)('(no title)'),
         type: result.subtype || result.type,
         kind: result === null || result === void 0 ? void 0 : (_result$meta = result.meta) === null || _result$meta === void 0 ? void 0 : _result$meta.kind
       };
@@ -5303,7 +5501,7 @@ const fetchLinkSuggestions = async function (search) {

 /* harmony default export */ var _experimental_fetch_link_suggestions = (fetchLinkSuggestions);

-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/fetch/__experimental-fetch-url-data.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/fetch/__experimental-fetch-url-data.js
 /**
  * WordPress dependencies
  */
@@ -5335,472 +5533,162 @@ const CACHE = new Map();
  *
  * //...
  *
- * export function initialize( id, settings ) {
- *
- * settings.__experimentalFetchUrlData = (
- * url
- * ) => fetchUrlData( url );
- * ```
- * @return {Promise< WPRemoteUrlData[] >} Remote URL data.
- */
-
-const fetchUrlData = async function (url) {
-  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  const endpoint = '/wp-block-editor/v1/url-details';
-  const args = {
-    url: Object(external_wp_url_["prependHTTP"])(url)
-  };
-
-  if (!Object(external_wp_url_["isURL"])(url)) {
-    return Promise.reject(`${url} is not a valid URL.`);
-  } // Test for "http" based URL as it is possible for valid
-  // yet unusable URLs such as `tel:123456` to be passed.
-
-
-  const protocol = Object(external_wp_url_["getProtocol"])(url);
-
-  if (!Object(external_wp_url_["isValidProtocol"])(protocol) || !protocol.startsWith('http') || !/^https?:\/\/[^\/\s]/i.test(url)) {
-    return Promise.reject(`${url} does not have a valid protocol. URLs must be "http" based`);
-  }
-
-  if (CACHE.has(url)) {
-    return CACHE.get(url);
-  }
-
-  return external_wp_apiFetch_default()({
-    path: Object(external_wp_url_["addQueryArgs"])(endpoint, args),
-    ...options
-  }).then(res => {
-    CACHE.set(url, res);
-    return res;
-  });
-};
-
-/* harmony default export */ var _experimental_fetch_url_data = (fetchUrlData);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/fetch/index.js
-
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/index.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-
-
- // The entity selectors/resolvers and actions are shortcuts to their generic equivalents
-// (getEntityRecord, getEntityRecords, updateEntityRecord, updateEntityRecordss)
-// Instead of getEntityRecord, the consumer could use more user-frieldly named selector: getPostType, getTaxonomy...
-// The "kind" and the "name" of the entity are combined to generate these shortcuts.
-
-const entitySelectors = defaultEntities.reduce((result, entity) => {
-  const {
-    kind,
-    name
-  } = entity;
-
-  result[getMethodName(kind, name)] = (state, key, query) => selectors_getEntityRecord(state, kind, name, key, query);
-
-  result[getMethodName(kind, name, 'get', true)] = function (state) {
-    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-      args[_key - 1] = arguments[_key];
-    }
-
-    return getEntityRecords(state, kind, name, ...args);
-  };
-
-  return result;
-}, {});
-const entityResolvers = defaultEntities.reduce((result, entity) => {
-  const {
-    kind,
-    name
-  } = entity;
-
-  result[getMethodName(kind, name)] = (key, query) => resolvers_getEntityRecord(kind, name, key, query);
-
-  const pluralMethodName = getMethodName(kind, name, 'get', true);
-
-  result[pluralMethodName] = function () {
-    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
-      args[_key2] = arguments[_key2];
-    }
-
-    return resolvers_getEntityRecords(kind, name, ...args);
-  };
-
-  result[pluralMethodName].shouldInvalidate = function (action) {
-    for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
-      args[_key3 - 1] = arguments[_key3];
-    }
-
-    return resolvers_getEntityRecords.shouldInvalidate(action, kind, name, ...args);
-  };
-
-  return result;
-}, {});
-const entityActions = defaultEntities.reduce((result, entity) => {
-  const {
-    kind,
-    name
-  } = entity;
-
-  result[getMethodName(kind, name, 'save')] = key => saveEntityRecord(kind, name, key);
-
-  result[getMethodName(kind, name, 'delete')] = (key, query) => deleteEntityRecord(kind, name, key, query);
-
-  return result;
-}, {});
-
-const storeConfig = () => ({
-  reducer: build_module_reducer,
-  actions: { ...build_module_actions_namespaceObject,
-    ...entityActions,
-    ...createLocksActions()
-  },
-  selectors: { ...build_module_selectors_namespaceObject,
-    ...entitySelectors
-  },
-  resolvers: { ...resolvers_namespaceObject,
-    ...entityResolvers
-  },
-  __experimentalUseThunks: true
-});
-/**
- * Store definition for the code data namespace.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
- *
- * @type {Object}
- */
-
-
-const build_module_store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, storeConfig());
-Object(external_wp_data_["register"])(build_module_store);
-
-
-
-
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-
-var LEAF_KEY, hasWeakMap;
-
-/**
- * Arbitrary value used as key for referencing cache object in WeakMap tree.
- *
- * @type {Object}
- */
-LEAF_KEY = {};
-
-/**
- * Whether environment supports WeakMap.
- *
- * @type {boolean}
- */
-hasWeakMap = typeof WeakMap !== 'undefined';
-
-/**
- * Returns the first argument as the sole entry in an array.
- *
- * @param {*} value Value to return.
- *
- * @return {Array} Value returned as entry in array.
- */
-function arrayOf( value ) {
-	return [ value ];
-}
-
-/**
- * Returns true if the value passed is object-like, or false otherwise. A value
- * is object-like if it can support property assignment, e.g. object or array.
- *
- * @param {*} value Value to test.
- *
- * @return {boolean} Whether value is object-like.
- */
-function isObjectLike( value ) {
-	return !! value && 'object' === typeof value;
-}
-
-/**
- * Creates and returns a new cache object.
- *
- * @return {Object} Cache object.
- */
-function createCache() {
-	var cache = {
-		clear: function() {
-			cache.head = null;
-		},
-	};
-
-	return cache;
-}
-
-/**
- * Returns true if entries within the two arrays are strictly equal by
- * reference from a starting index.
- *
- * @param {Array}  a         First array.
- * @param {Array}  b         Second array.
- * @param {number} fromIndex Index from which to start comparison.
- *
- * @return {boolean} Whether arrays are shallowly equal.
- */
-function isShallowEqual( a, b, fromIndex ) {
-	var i;
-
-	if ( a.length !== b.length ) {
-		return false;
-	}
-
-	for ( i = fromIndex; i < a.length; i++ ) {
-		if ( a[ i ] !== b[ i ] ) {
-			return false;
-		}
-	}
-
-	return true;
-}
-
-/**
- * Returns a memoized selector function. The getDependants function argument is
- * called before the memoized selector and is expected to return an immutable
- * reference or array of references on which the selector depends for computing
- * its own return value. The memoize cache is preserved only as long as those
- * dependant references remain the same. If getDependants returns a different
- * reference(s), the cache is cleared and the selector value regenerated.
- *
- * @param {Function} selector      Selector function.
- * @param {Function} getDependants Dependant getter returning an immutable
- *                                 reference or array of reference used in
- *                                 cache bust consideration.
+ * export function initialize( id, settings ) {
  *
- * @return {Function} Memoized selector.
+ * settings.__experimentalFetchUrlData = (
+ * url
+ * ) => fetchUrlData( url );
+ * ```
+ * @return {Promise< WPRemoteUrlData[] >} Remote URL data.
  */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
-	var rootCache, getCache;

-	// Use object source as dependant if getter not provided
-	if ( ! getDependants ) {
-		getDependants = arrayOf;
-	}
+const fetchUrlData = async function (url) {
+  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  const endpoint = '/wp-block-editor/v1/url-details';
+  const args = {
+    url: (0,external_wp_url_namespaceObject.prependHTTP)(url)
+  };

-	/**
-	 * Returns the root cache. If WeakMap is supported, this is assigned to the
-	 * root WeakMap cache set, otherwise it is a shared instance of the default
-	 * cache object.
-	 *
-	 * @return {(WeakMap|Object)} Root cache object.
-	 */
-	function getRootCache() {
-		return rootCache;
-	}
+  if (!(0,external_wp_url_namespaceObject.isURL)(url)) {
+    return Promise.reject(`${url} is not a valid URL.`);
+  } // Test for "http" based URL as it is possible for valid
+  // yet unusable URLs such as `tel:123456` to be passed.

-	/**
-	 * Returns the cache for a given dependants array. When possible, a WeakMap
-	 * will be used to create a unique cache for each set of dependants. This
-	 * is feasible due to the nature of WeakMap in allowing garbage collection
-	 * to occur on entries where the key object is no longer referenced. Since
-	 * WeakMap requires the key to be an object, this is only possible when the
-	 * dependant is object-like. The root cache is created as a hierarchy where
-	 * each top-level key is the first entry in a dependants set, the value a
-	 * WeakMap where each key is the next dependant, and so on. This continues
-	 * so long as the dependants are object-like. If no dependants are object-
-	 * like, then the cache is shared across all invocations.
-	 *
-	 * @see isObjectLike
-	 *
-	 * @param {Array} dependants Selector dependants.
-	 *
-	 * @return {Object} Cache object.
-	 */
-	function getWeakMapCache( dependants ) {
-		var caches = rootCache,
-			isUniqueByDependants = true,
-			i, dependant, map, cache;

-		for ( i = 0; i < dependants.length; i++ ) {
-			dependant = dependants[ i ];
+  const protocol = (0,external_wp_url_namespaceObject.getProtocol)(url);

-			// Can only compose WeakMap from object-like key.
-			if ( ! isObjectLike( dependant ) ) {
-				isUniqueByDependants = false;
-				break;
-			}
+  if (!(0,external_wp_url_namespaceObject.isValidProtocol)(protocol) || !protocol.startsWith('http') || !/^https?:\/\/[^\/\s]/i.test(url)) {
+    return Promise.reject(`${url} does not have a valid protocol. URLs must be "http" based`);
+  }

-			// Does current segment of cache already have a WeakMap?
-			if ( caches.has( dependant ) ) {
-				// Traverse into nested WeakMap.
-				caches = caches.get( dependant );
-			} else {
-				// Create, set, and traverse into a new one.
-				map = new WeakMap();
-				caches.set( dependant, map );
-				caches = map;
-			}
-		}
+  if (CACHE.has(url)) {
+    return CACHE.get(url);
+  }

-		// We use an arbitrary (but consistent) object as key for the last item
-		// in the WeakMap to serve as our running cache.
-		if ( ! caches.has( LEAF_KEY ) ) {
-			cache = createCache();
-			cache.isUniqueByDependants = isUniqueByDependants;
-			caches.set( LEAF_KEY, cache );
-		}
+  return external_wp_apiFetch_default()({
+    path: (0,external_wp_url_namespaceObject.addQueryArgs)(endpoint, args),
+    ...options
+  }).then(res => {
+    CACHE.set(url, res);
+    return res;
+  });
+};

-		return caches.get( LEAF_KEY );
-	}
+/* harmony default export */ var _experimental_fetch_url_data = (fetchUrlData);

-	// Assign cache handler by availability of WeakMap
-	getCache = hasWeakMap ? getWeakMapCache : getRootCache;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/fetch/index.js

-	/**
-	 * Resets root memoization cache.
-	 */
-	function clear() {
-		rootCache = hasWeakMap ? new WeakMap() : createCache();
-	}

-	// eslint-disable-next-line jsdoc/check-param-names
-	/**
-	 * The augmented selector call, considering first whether dependants have
-	 * changed before passing it to underlying memoize function.
-	 *
-	 * @param {Object} source    Source object for derivation.
-	 * @param {...*}   extraArgs Additional arguments to pass to selector.
-	 *
-	 * @return {*} Selector result.
-	 */
-	function callSelector( /* source, ...extraArgs */ ) {
-		var len = arguments.length,
-			cache, node, i, args, dependants;

-		// Create copy of arguments (avoid leaking deoptimization).
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/index.js
+/**
+ * WordPress dependencies
+ */

-		dependants = getDependants.apply( null, args );
-		cache = getCache( dependants );
+/**
+ * Internal dependencies
+ */

-		// If not guaranteed uniqueness by dependants (primitive type or lack
-		// of WeakMap support), shallow compare against last dependants and, if
-		// references have changed, destroy cache to recalculate result.
-		if ( ! cache.isUniqueByDependants ) {
-			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
-				cache.clear();
-			}

-			cache.lastDependants = dependants;
-		}

-		node = cache.head;
-		while ( node ) {
-			// Check whether node arguments match arguments
-			if ( ! isShallowEqual( node.args, args, 1 ) ) {
-				node = node.next;
-				continue;
-			}

-			// At this point we can assume we've found a match

-			// Surface matched node to head if not already
-			if ( node !== cache.head ) {
-				// Adjust siblings to point to each other.
-				node.prev.next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}

-				node.next = cache.head;
-				node.prev = null;
-				cache.head.prev = node;
-				cache.head = node;
-			}

-			// Return immediately
-			return node.val;
-		}
+ // The entity selectors/resolvers and actions are shortcuts to their generic equivalents
+// (getEntityRecord, getEntityRecords, updateEntityRecord, updateEntityRecordss)
+// Instead of getEntityRecord, the consumer could use more user-frieldly named selector: getPostType, getTaxonomy...
+// The "kind" and the "name" of the entity are combined to generate these shortcuts.

-		// No cached value found. Continue to insertion phase:
+const entitySelectors = defaultEntities.reduce((result, entity) => {
+  const {
+    kind,
+    name
+  } = entity;

-		node = {
-			// Generate the result from original function
-			val: selector.apply( null, args ),
-		};
+  result[getMethodName(kind, name)] = (state, key, query) => getEntityRecord(state, kind, name, key, query);

-		// Avoid including the source object in the cache.
-		args[ 0 ] = null;
-		node.args = args;
+  result[getMethodName(kind, name, 'get', true)] = function (state) {
+    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+      args[_key - 1] = arguments[_key];
+    }

-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
+    return getEntityRecords(state, kind, name, ...args);
+  };

-		// Shift existing head down list
-		if ( cache.head ) {
-			cache.head.prev = node;
-			node.next = cache.head;
-		}
+  return result;
+}, {});
+const entityResolvers = defaultEntities.reduce((result, entity) => {
+  const {
+    kind,
+    name
+  } = entity;

-		cache.head = node;
+  result[getMethodName(kind, name)] = (key, query) => resolvers_getEntityRecord(kind, name, key, query);

-		return node.val;
-	}
+  const pluralMethodName = getMethodName(kind, name, 'get', true);

-	callSelector.getDependants = getDependants;
-	callSelector.clear = clear;
-	clear();
+  result[pluralMethodName] = function () {
+    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+      args[_key2] = arguments[_key2];
+    }

-	return callSelector;
-});
+    return resolvers_getEntityRecords(kind, name, ...args);
+  };
+
+  result[pluralMethodName].shouldInvalidate = function (action) {
+    for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
+      args[_key3 - 1] = arguments[_key3];
+    }

+    return resolvers_getEntityRecords.shouldInvalidate(action, kind, name, ...args);
+  };

-/***/ }),
+  return result;
+}, {});
+const entityActions = defaultEntities.reduce((result, entity) => {
+  const {
+    kind,
+    name
+  } = entity;

-/***/ "rl8x":
-/***/ (function(module, exports) {
+  result[getMethodName(kind, name, 'save')] = key => saveEntityRecord(kind, name, key);

-(function() { module.exports = window["wp"]["isShallowEqual"]; }());
+  result[getMethodName(kind, name, 'delete')] = (key, query) => deleteEntityRecord(kind, name, key, query);

-/***/ }),
+  return result;
+}, {});

-/***/ "rmEH":
-/***/ (function(module, exports) {
+const storeConfig = () => ({
+  reducer: build_module_reducer,
+  actions: { ...build_module_actions_namespaceObject,
+    ...entityActions,
+    ...createLocksActions()
+  },
+  selectors: { ...build_module_selectors_namespaceObject,
+    ...entitySelectors
+  },
+  resolvers: { ...resolvers_namespaceObject,
+    ...entityResolvers
+  },
+  __experimentalUseThunks: true
+});
+/**
+ * Store definition for the code data namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
+ */

-(function() { module.exports = window["wp"]["htmlEntities"]; }());

-/***/ }),
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, storeConfig());
+(0,external_wp_data_namespaceObject.register)(store);

-/***/ "ywyh":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["apiFetch"]; }());

-/***/ })

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).coreData = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/core-data.min.js b/wp-includes/js/dist/core-data.min.js
index 645a5ebea9..5755cd40bb 100644
--- a/wp-includes/js/dist/core-data.min.js
+++ b/wp-includes/js/dist/core-data.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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="dsJ0")}({"1ZqX":function(e,t){e.exports=window.wp.data},"7Cbv":function(e,t,n){"use strict";var r,i=new Uint8Array(16);function s(){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(i)}var o=/^(?:[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 a=function(e){return"string"==typeof e&&o.test(e)},c=[],u=0;u<256;++u)c.push((u+256).toString(16).substr(1));var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!a(n))throw TypeError("Stringified UUID is invalid");return n};t.a=function(e,t,n){var r=(e=e||{}).random||(e.rng||s)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return l(r)}},FtRg:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){var n=e._map,r=e._arrayTreeMap,i=e._objectTreeMap;if(n.has(t))return n.get(t);for(var s=Object.keys(t).sort(),o=Array.isArray(t)?r:i,a=0;a<s.length;a++){var c=s[a];if(void 0===(o=o.get(c)))return;var u=t[c];if(void 0===(o=o.get(u)))return}var l=o.get("_ekm_value");return l?(n.delete(l[0]),l[0]=t,o.set("_ekm_value",l),n.set(t,l),l):void 0}var o=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,o;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var i=Object.keys(t).sort(),s=[t,n],o=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,a=0;a<i.length;a++){var c=i[a];o.has(c)||o.set(c,new e),o=o.get(c);var u=t[c];o.has(u)||o.set(u,new e),o=o.get(u)}var l=o.get("_ekm_value");return l&&this._map.delete(l[0]),o.set("_ekm_value",s),this._map.set(t,s),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=s(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==s(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(i,s){null!==s&&"object"===r(s)&&(i=i[1]),e.call(n,i,s,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&i(t.prototype,n),o&&i(t,o),e}();e.exports=o},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},Mmq9:function(e,t){e.exports=window.wp.url},NMb1:function(e,t){e.exports=window.wp.deprecated},YLtl:function(e,t){e.exports=window.lodash},dsJ0:function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return $t})),n.d(t,"EntityProvider",(function(){return Pt})),n.d(t,"useEntityId",(function(){return Dt})),n.d(t,"useEntityProp",(function(){return qt})),n.d(t,"useEntityBlockEditor",(function(){return Nt})),n.d(t,"__experimentalFetchLinkSuggestions",(function(){return Vt})),n.d(t,"__experimentalFetchUrlData",(function(){return Ft}));var r={};n.r(r),n.d(r,"receiveUserQuery",(function(){return T})),n.d(r,"receiveCurrentUser",(function(){return S})),n.d(r,"addEntities",(function(){return I})),n.d(r,"receiveEntityRecords",(function(){return U})),n.d(r,"receiveCurrentTheme",(function(){return x})),n.d(r,"__experimentalReceiveCurrentGlobalStylesId",(function(){return A})),n.d(r,"__experimentalReceiveThemeBaseGlobalStyles",(function(){return C})),n.d(r,"receiveThemeSupports",(function(){return L})),n.d(r,"receiveEmbedPreview",(function(){return P})),n.d(r,"deleteEntityRecord",(function(){return D})),n.d(r,"editEntityRecord",(function(){return q})),n.d(r,"undo",(function(){return N})),n.d(r,"redo",(function(){return M})),n.d(r,"__unstableCreateUndoLevel",(function(){return V})),n.d(r,"saveEntityRecord",(function(){return G})),n.d(r,"__experimentalBatch",(function(){return F})),n.d(r,"saveEditedEntityRecord",(function(){return B})),n.d(r,"__experimentalSaveSpecifiedEntityEdits",(function(){return Q})),n.d(r,"receiveUploadPermissions",(function(){return Y})),n.d(r,"receiveUserPermission",(function(){return $})),n.d(r,"receiveAutosaves",(function(){return H}));var i={};n.r(i),n.d(i,"isRequestingEmbedPreview",(function(){return ge})),n.d(i,"getAuthors",(function(){return _e})),n.d(i,"getCurrentUser",(function(){return Re})),n.d(i,"getUserQueryResults",(function(){return Oe})),n.d(i,"getEntitiesByKind",(function(){return we})),n.d(i,"getEntity",(function(){return je})),n.d(i,"getEntityRecord",(function(){return ke})),n.d(i,"__experimentalGetEntityRecordNoResolver",(function(){return Te})),n.d(i,"getRawEntityRecord",(function(){return Se})),n.d(i,"hasEntityRecords",(function(){return Ie})),n.d(i,"getEntityRecords",(function(){return Ue})),n.d(i,"__experimentalGetDirtyEntityRecords",(function(){return xe})),n.d(i,"__experimentalGetEntitiesBeingSaved",(function(){return Ae})),n.d(i,"getEntityRecordEdits",(function(){return Ce})),n.d(i,"getEntityRecordNonTransientEdits",(function(){return Le})),n.d(i,"hasEditsForEntityRecord",(function(){return Pe})),n.d(i,"getEditedEntityRecord",(function(){return De})),n.d(i,"isAutosavingEntityRecord",(function(){return qe})),n.d(i,"isSavingEntityRecord",(function(){return Ne})),n.d(i,"isDeletingEntityRecord",(function(){return Me})),n.d(i,"getLastEntitySaveError",(function(){return Ve})),n.d(i,"getLastEntityDeleteError",(function(){return Ge})),n.d(i,"getUndoEdit",(function(){return Be})),n.d(i,"getRedoEdit",(function(){return Qe})),n.d(i,"hasUndo",(function(){return Ye})),n.d(i,"hasRedo",(function(){return $e})),n.d(i,"getCurrentTheme",(function(){return He})),n.d(i,"__experimentalGetCurrentGlobalStylesId",(function(){return Ke})),n.d(i,"getThemeSupports",(function(){return We})),n.d(i,"getEmbedPreview",(function(){return ze})),n.d(i,"isPreviewEmbedFallback",(function(){return Xe})),n.d(i,"canUser",(function(){return Je})),n.d(i,"canUserEditEntityRecord",(function(){return Ze})),n.d(i,"getAutosaves",(function(){return et})),n.d(i,"getAutosave",(function(){return tt})),n.d(i,"hasFetchedAutosaves",(function(){return nt})),n.d(i,"getReferenceByDistinctEdits",(function(){return rt})),n.d(i,"__experimentalGetTemplateForLink",(function(){return it})),n.d(i,"__experimentalGetCurrentThemeBaseGlobalStyles",(function(){return st}));var s={};n.r(s),n.d(s,"getAuthors",(function(){return at})),n.d(s,"getCurrentUser",(function(){return ct})),n.d(s,"getEntityRecord",(function(){return ut})),n.d(s,"getRawEntityRecord",(function(){return lt})),n.d(s,"getEditedEntityRecord",(function(){return dt})),n.d(s,"getEntityRecords",(function(){return ft})),n.d(s,"getCurrentTheme",(function(){return pt})),n.d(s,"getThemeSupports",(function(){return yt})),n.d(s,"getEmbedPreview",(function(){return bt})),n.d(s,"canUser",(function(){return vt})),n.d(s,"canUserEditEntityRecord",(function(){return ht})),n.d(s,"getAutosaves",(function(){return Et})),n.d(s,"getAutosave",(function(){return mt})),n.d(s,"__experimentalGetTemplateForLink",(function(){return gt})),n.d(s,"__experimentalGetCurrentGlobalStylesId",(function(){return _t})),n.d(s,"__experimentalGetCurrentThemeBaseGlobalStyles",(function(){return Rt}));var o=n("1ZqX"),a=n("YLtl"),c=n("rl8x"),u=n.n(c);var l=e=>t=>(n,r)=>void 0===n||e(r)?t(n,r):n;var d=e=>t=>(n,r)=>t(n,e(r));function f(e,t){if(!e)return t;let n=!1;const r={};for(const i in t)Object(a.isEqual)(e[i],t[i])?r[i]=e[i]:(n=!0,r[i]=t[i]);if(!n)return e;for(const t in e)r.hasOwnProperty(t)||(r[t]=e[t]);return r}var p=e=>t=>function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;const i=r[e];if(void 0===i)return n;const s=t(n[i],r);return s===n[i]?n:{...n,[i]:s}},y=n("ywyh"),b=n.n(y),v=n("l3Sj"),h=n("7Cbv"),E=n("Mmq9"),m=n("NMb1"),g=n.n(m);function _(e,t){return{type:"RECEIVE_ITEMS",items:Object(a.castArray)(e),persistedEdits:t}}function R(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{type:"REMOVE_ITEMS",itemIds:Object(a.castArray)(n),kind:e,name:t,invalidateCache:r}}function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return{..._(e,n),query:t}}let w=null;async function j(e){if(null===w){const e=await b()({path:"/batch/v1",method:"OPTIONS"});w=e.endpoints[0].args.requests.maxItems}const t=[];for(const n of Object(a.chunk)(e,w)){const e=await b()({path:"/batch/v1",method:"POST",data:{validation:"require-all-validate",requests:n.map(e=>({path:e.path,body:e.data,method:e.method,headers:e.headers}))}});let r;r=e.failed?e.responses.map(e=>({error:null==e?void 0:e.body})):e.responses.map(e=>{const t={};return e.status>=200&&e.status<300?t.output=e.body:t.error=e.body,t}),t.push(...r)}return t}class k{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.set=new Set(...t),this.subscribers=new Set}get size(){return this.set.size}add(){return this.set.add(...arguments),this.subscribers.forEach(e=>e()),this}delete(){const e=this.set.delete(...arguments);return this.subscribers.forEach(e=>e()),e}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}}function T(e,t){return{type:"RECEIVE_USER_QUERY",users:Object(a.castArray)(t),queryID:e}}function S(e){return{type:"RECEIVE_CURRENT_USER",currentUser:e}}function I(e){return{type:"ADD_ENTITIES",entities:e}}function U(e,t,n,r){let i,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0;return"postType"===e&&(n=Object(a.castArray)(n).map(e=>"auto-draft"===e.status?{...e,title:""}:e)),i=r?O(n,r,o):_(n,o),{...i,kind:e,name:t,invalidateCache:s}}function x(e){return{type:"RECEIVE_CURRENT_THEME",currentTheme:e}}function A(e){return{type:"RECEIVE_CURRENT_GLOBAL_STYLES_ID",id:e}}function C(e,t){return{type:"RECEIVE_THEME_GLOBAL_STYLES",stylesheet:e,globalStyles:t}}function L(){return g()("wp.data.dispatch( 'core' ).receiveThemeSupports",{since:"5.9"}),{type:"DO_NOTHING"}}function P(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}const D=function(e,t,n,r){let{__unstableFetch:i=b.a}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return async s=>{let{dispatch:o}=s;const c=await o(ee(e)),u=Object(a.find)(c,{kind:e,name:t});let l,d=!1;if(!u||null!=u&&u.__experimentalNoFetch)return;const f=await o.__unstableAcquireStoreLock("core",["entities","data",e,t,n],{exclusive:!0});try{o({type:"DELETE_ENTITY_RECORD_START",kind:e,name:t,recordId:n});try{let s=`${u.baseURL}/${n}`;r&&(s=Object(E.addQueryArgs)(s,r)),d=await i({path:s,method:"DELETE"}),await o(R(e,t,n,!0))}catch(e){l=e}return o({type:"DELETE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:n,error:l}),d}finally{o.__unstableReleaseStoreLock(f)}}},q=function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return s=>{let{select:o,dispatch:c}=s;const u=o.getEntity(e,t);if(!u)throw new Error(`The entity being edited (${e}, ${t}) does not have a loaded config.`);const{transientEdits:l={},mergedEdits:d={}}=u,f=o.getRawEntityRecord(e,t,n),p=o.getEditedEntityRecord(e,t,n),y={kind:e,name:t,recordId:n,edits:Object.keys(r).reduce((e,t)=>{const n=f[t],i=p[t],s=d[t]?{...i,...r[t]}:r[t];return e[t]=Object(a.isEqual)(n,s)?void 0:s,e},{}),transientEdits:l};c({type:"EDIT_ENTITY_RECORD",...y,meta:{undo:!i.undoIgnore&&{...y,edits:Object.keys(r).reduce((e,t)=>(e[t]=p[t],e),{})}}})}},N=()=>e=>{let{select:t,dispatch:n}=e;const r=t.getUndoEdit();r&&n({type:"EDIT_ENTITY_RECORD",...r,meta:{isUndo:!0}})},M=()=>e=>{let{select:t,dispatch:n}=e;const r=t.getRedoEdit();r&&n({type:"EDIT_ENTITY_RECORD",...r,meta:{isRedo:!0}})};function V(){return{type:"CREATE_UNDO_LEVEL"}}const G=function(e,t,n){let{isAutosave:r=!1,__unstableFetch:i=b.a}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return async s=>{let{select:o,resolveSelect:c,dispatch:u}=s;const l=await u(ee(e)),d=Object(a.find)(l,{kind:e,name:t});if(!d||null!=d&&d.__experimentalNoFetch)return;const f=d.key||K,p=n[f],y=await u.__unstableAcquireStoreLock("core",["entities","data",e,t,p||Object(h.a)()],{exclusive:!0});try{for(const[r,i]of Object.entries(n))if("function"==typeof i){const s=i(o.getEditedEntityRecord(e,t,p));u.editEntityRecord(e,t,p,{[r]:s},{undoIgnore:!0}),n[r]=s}let s,a;u({type:"SAVE_ENTITY_RECORD_START",kind:e,name:t,recordId:p,isAutosave:r});try{const a=`${d.baseURL}${p?"/"+p:""}`,l=o.getRawEntityRecord(e,t,p);if(r){const r=o.getCurrentUser(),d=r?r.id:void 0,f=c.getAutosave(l.type,l.id,d);let p={...l,...f,...n};if(p=Object.keys(p).reduce((e,t)=>(["title","excerpt","content"].includes(t)&&(e[t]=p[t]),e),{status:"auto-draft"===p.status?"draft":p.status}),s=await i({path:a+"/autosaves",method:"POST",data:p}),l.id===s.id){let n={...l,...p,...s};n=Object.keys(n).reduce((e,t)=>(["title","excerpt","content"].includes(t)?e[t]=n[t]:e[t]="status"===t?"auto-draft"===l.status&&"draft"===n.status?n.status:l.status:l[t],e),{}),u.receiveEntityRecords(e,t,n,void 0,!0)}else u.receiveAutosaves(l.id,s)}else{let r=n;d.__unstablePrePersist&&(r={...r,...d.__unstablePrePersist(l,r)}),s=await i({path:a,method:p?"PUT":"POST",data:r}),u.receiveEntityRecords(e,t,s,void 0,!0,r)}}catch(e){a=e}return u({type:"SAVE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:p,error:a,isAutosave:r}),s}finally{u.__unstableReleaseStoreLock(y)}}},F=e=>async t=>{let{dispatch:n}=t;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j,t=0,n=[];const r=new k;return{add(e){const i=++t;r.add(i);const s=e=>new Promise((t,s)=>{n.push({input:e,resolve:t,reject:s}),r.delete(i)});return Object(a.isFunction)(e)?Promise.resolve(e(s)).finally(()=>{r.delete(i)}):s(e)},async run(){let t;r.size&&await new Promise(e=>{const t=r.subscribe(()=>{r.size||(t(),e())})});try{if(t=await e(n.map(e=>{let{input:t}=e;return t})),t.length!==n.length)throw new Error("run: Array returned by processor must be same size as input array.")}catch(e){for(const{reject:t}of n)t(e);throw e}let i=!0;for(const[e,{resolve:r,reject:o}]of Object(a.zip)(t,n)){var s;if(null!=e&&e.error)o(e.error),i=!1;else r(null!==(s=null==e?void 0:e.output)&&void 0!==s?s:e)}return n=[],i}}}(),i={saveEntityRecord:(e,t,i,s)=>r.add(r=>n.saveEntityRecord(e,t,i,{...s,__unstableFetch:r})),saveEditedEntityRecord:(e,t,i,s)=>r.add(r=>n.saveEditedEntityRecord(e,t,i,{...s,__unstableFetch:r})),deleteEntityRecord:(e,t,i,s,o)=>r.add(r=>n.deleteEntityRecord(e,t,i,s,{...o,__unstableFetch:r}))},s=e.map(e=>e(i)),[,...o]=await Promise.all([r.run(),...s]);return o},B=(e,t,n,r)=>async i=>{let{select:s,dispatch:o}=i;if(!s.hasEditsForEntityRecord(e,t,n))return;const c=await o(ee(e)),u=Object(a.find)(c,{kind:e,name:t});if(!u)return;const l=u.key||K,d=s.getEntityRecordNonTransientEdits(e,t,n),f={[l]:n,...d};return await o.saveEntityRecord(e,t,f,r)},Q=(e,t,n,r,i)=>async s=>{let{select:o,dispatch:a}=s;if(!o.hasEditsForEntityRecord(e,t,n))return;const c=o.getEntityRecordNonTransientEdits(e,t,n),u={};for(const e in c)r.some(t=>t===e)&&(u[e]=c[e]);return await a.saveEntityRecord(e,t,u,i)};function Y(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function $(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function H(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(a.castArray)(t)}}const K="id",W=["title","excerpt","content"],z=[{label:Object(v.__)("Base"),name:"__unstableBase",kind:"root",baseURL:"/"},{label:Object(v.__)("Site"),name:"site",kind:"root",baseURL:"/wp/v2/settings",getTitle:e=>Object(a.get)(e,["title"],Object(v.__)("Site Title"))},{label:Object(v.__)("Post Type"),name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types",baseURLParams:{context:"edit"},rawAttributes:W},{name:"media",kind:"root",baseURL:"/wp/v2/media",baseURLParams:{context:"edit"},plural:"mediaItems",label:Object(v.__)("Media")},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",baseURLParams:{context:"edit"},plural:"taxonomies",label:Object(v.__)("Taxonomy")},{name:"sidebar",kind:"root",baseURL:"/wp/v2/sidebars",plural:"sidebars",transientEdits:{blocks:!0},label:Object(v.__)("Widget areas")},{name:"widget",kind:"root",baseURL:"/wp/v2/widgets",baseURLParams:{context:"edit"},plural:"widgets",transientEdits:{blocks:!0},label:Object(v.__)("Widgets")},{name:"widgetType",kind:"root",baseURL:"/wp/v2/widget-types",baseURLParams:{context:"edit"},plural:"widgetTypes",label:Object(v.__)("Widget types")},{label:Object(v.__)("User"),name:"user",kind:"root",baseURL:"/wp/v2/users",baseURLParams:{context:"edit"},plural:"users"},{name:"comment",kind:"root",baseURL:"/wp/v2/comments",baseURLParams:{context:"edit"},plural:"comments",label:Object(v.__)("Comment")},{name:"menu",kind:"root",baseURL:"/wp/v2/menus",baseURLParams:{context:"edit"},plural:"menus",label:Object(v.__)("Menu")},{name:"menuItem",kind:"root",baseURL:"/wp/v2/menu-items",baseURLParams:{context:"edit"},plural:"menuItems",label:Object(v.__)("Menu Item"),rawAttributes:["title","content"]},{name:"menuLocation",kind:"root",baseURL:"/wp/v2/menu-locations",baseURLParams:{context:"edit"},plural:"menuLocations",label:Object(v.__)("Menu Location"),key:"name"},{name:"navigationArea",kind:"root",baseURL:"/wp/v2/block-navigation-areas",baseURLParams:{context:"edit"},plural:"navigationAreas",label:Object(v.__)("Navigation Area"),key:"name",getTitle:e=>null==e?void 0:e.description},{label:Object(v.__)("Global Styles"),name:"globalStyles",kind:"root",baseURL:"/wp/v2/global-styles",baseURLParams:{context:"edit"},plural:"globalStylesVariations",getTitle:e=>{var t;return(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title)}},{label:Object(v.__)("Themes"),name:"theme",kind:"root",baseURL:"/wp/v2/themes",baseURLParams:{context:"edit"},key:"stylesheet"},{label:Object(v.__)("Plugins"),name:"plugin",kind:"root",baseURL:"/wp/v2/plugins",baseURLParams:{context:"edit"},key:"plugin"}],X=[{name:"postType",loadEntities:async function(){const e=await b()({path:"/wp/v2/types?context=edit"});return Object(a.map)(e,(e,t)=>{var n;const r=["wp_template","wp_template_part"].includes(t);return{kind:"postType",baseURL:`/${null!==(n=null==e?void 0:e.rest_namespace)&&void 0!==n?n:"wp/v2"}/${e.rest_base}`,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name,transientEdits:{blocks:!0,selection:!0},mergedEdits:{meta:!0},rawAttributes:W,getTitle:e=>{var t;return(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title)||(r?Object(a.startCase)(e.slug):String(e.id))},__unstablePrePersist:r?void 0:J,__unstable_rest_base:e.rest_base}})}},{name:"taxonomy",loadEntities:async function(){const e=await b()({path:"/wp/v2/taxonomies?context=edit"});return Object(a.map)(e,(e,t)=>{var n;return{kind:"taxonomy",baseURL:`/${null!==(n=null==e?void 0:e.rest_namespace)&&void 0!==n?n:"wp/v2"}/${e.rest_base}`,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name}})}}],J=(e,t)=>{const n={};return"auto-draft"===(null==e?void 0:e.status)&&(t.status||n.status||(n.status="draft"),t.title&&"Auto Draft"!==t.title||n.title||null!=e&&e.title&&"Auto Draft"!==(null==e?void 0:e.title)||(n.title="")),n};const Z=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=Object(a.find)(z,{kind:e,name:t}),s="root"===e?"":Object(a.upperFirst)(Object(a.camelCase)(e)),o=Object(a.upperFirst)(Object(a.camelCase)(t))+(r?"s":""),c=r&&i.plural?Object(a.upperFirst)(Object(a.camelCase)(i.plural)):o;return`${n}${s}${c}`},ee=e=>async t=>{let{select:n,dispatch:r}=t,i=n.getEntitiesByKind(e);if(i&&0!==i.length)return i;const s=Object(a.find)(X,{name:e});return s?(i=await s.loadEntities(),r(I(i)),i):[]};var te=function(e){return"string"==typeof e?e.split(","):Array.isArray(e)?e:null};var ne=function(e){const t=new WeakMap;return n=>{let r;return t.has(n)?r=t.get(n):(r=e(n),Object(a.isObjectLike)(n)&&t.set(n,r)),r}}((function(e){const t={stableKey:"",page:1,perPage:10,fields:null,include:null,context:"default"},n=Object.keys(e).sort();for(let r=0;r<n.length;r++){const i=n[r];let s=e[i];switch(i){case"page":t[i]=Number(s);break;case"per_page":t.perPage=Number(s);break;case"context":t.context=s;break;default:"_fields"===i&&(t.fields=te(s),s=t.fields.join()),"include"===i&&(t.include=te(s).map(Number),s=t.include.join()),t.stableKey+=(t.stableKey?"&":"")+Object(E.addQueryArgs)("",{[i]:s}).slice(1)}}return t}));function re(e){const{query:t}=e;if(!t)return"default";return ne(t).context}function ie(e,t,n,r){if(1===n&&-1===r)return t;const i=(n-1)*r,s=Math.max(e.length,i+t.length),o=new Array(s);for(let n=0;n<s;n++){const r=n>=i&&n<i+t.length;o[n]=r?t[n-i]:e[n]}return o}const se=Object(a.flowRight)([l(e=>"query"in e),d(e=>e.query?{...e,...ne(e.query)}:e),p("context"),p("stableKey")])((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;const{type:n,page:r,perPage:i,key:s=K}=t;return"RECEIVE_ITEMS"!==n?e:ie(e||[],Object(a.map)(t.items,s),r,i)}));var oe=Object(o.combineReducers)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":{const n=re(t),r=t.key||K;return{...e,[n]:{...e[n],...t.items.reduce((t,i)=>{var s;const o=i[r];return t[o]=f(null==e||null===(s=e[n])||void 0===s?void 0:s[o],i),t},{})}}}case"REMOVE_ITEMS":return Object(a.mapValues)(e,e=>Object(a.omit)(e,t.itemIds))}return e},itemIsComplete:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":{const n=re(t),{query:r,key:i=K}=t,s=r?ne(r):{},o=!r||!Array.isArray(s.fields);return{...e,[n]:{...e[n],...t.items.reduce((t,r)=>{var s;const a=r[i];return t[a]=(null==e||null===(s=e[n])||void 0===s?void 0:s[a])||o,t},{})}}}case"REMOVE_ITEMS":return Object(a.mapValues)(e,e=>Object(a.omit)(e,t.itemIds))}return e},queries:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return se(e,t);case"REMOVE_ITEMS":const n=t.itemIds.reduce((e,t)=>(e[t]=!0,e),{});return Object(a.mapValues)(e,e=>Object(a.mapValues)(e,e=>Object(a.filter)(e,e=>!n[e])));default:return e}}});function ae(e){return Object(a.flowRight)([l(t=>t.name&&t.kind&&t.name===e.name&&t.kind===e.kind),d(t=>({...t,key:e.key||K}))])(Object(o.combineReducers)({queriedData:oe,edits:function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"RECEIVE_ITEMS":if("default"!==(null!==(e=null==r||null===(t=r.query)||void 0===t?void 0:t.context)&&void 0!==e?e:"default"))return n;const i={...n};for(const e of r.items){const t=e[r.key],n=i[t];if(!n)continue;const s=Object.keys(n).reduce((t,i)=>(Object(a.isEqual)(n[i],Object(a.get)(e[i],"raw",e[i]))||r.persistedEdits&&Object(a.isEqual)(n[i],r.persistedEdits[i])||(t[i]=n[i]),t),{});Object.keys(s).length?i[t]=s:delete i[t]}return i;case"EDIT_ENTITY_RECORD":const s={...n[r.recordId],...r.edits};return Object.keys(s).forEach(e=>{void 0===s[e]&&delete s[e]}),{...n,[r.recordId]:s}}return n},saving:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}}}return e},deleting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DELETE_ENTITY_RECORD_START":case"DELETE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"DELETE_ENTITY_RECORD_START"===t.type,error:t.error}}}return e}}))}function ce(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[...e,...t.entities]}return e}const ue=[];let le;ue.offset=0;var de=Object(o.combineReducers)({terms:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return{...e,[t.taxonomy]:t.terms}}return e},users:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:{...e.byId,...Object(a.keyBy)(t.users,"id")},queries:{...e.queries,[t.queryID]:Object(a.map)(t.users,e=>e.id)}}}return e},currentTheme:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_THEME":return t.currentTheme.stylesheet}return e},currentGlobalStylesId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_GLOBAL_STYLES_ID":return t.id}return e},currentUser:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},themeBaseGlobalStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_GLOBAL_STYLES":return{...e,[t.stylesheet]:t.globalStyles}}return e},taxonomies:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},entities:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=ce(e.config,t);let r=e.reducer;if(!r||n!==e.config){const e=Object(a.groupBy)(n,"kind");r=Object(o.combineReducers)(Object.entries(e).reduce((e,t)=>{let[n,r]=t;const i=Object(o.combineReducers)(r.reduce((e,t)=>({...e,[t.name]:ae(t)}),{}));return e[n]=i,e},{}))}const i=r(e.data,t);return i===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:i,config:n}},undo:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ue,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":let n="CREATE_UNDO_LEVEL"===t.type;const r=!n&&(t.meta.isUndo||t.meta.isRedo);let i;if(n?t=le:r||(le=Object.keys(t.edits).some(e=>!t.transientEdits[e])?t:{...t,edits:{...le&&le.edits,...t.edits}}),r){if(i=[...e],i.offset=e.offset+(t.meta.isUndo?-1:1),!e.flattenedUndo)return i;n=!0,le.meta.undo||(le.meta.undo={edits:{}}),t=le}if(!t.meta.undo)return e;if(!n&&!Object.keys(t.edits).some(e=>!t.transientEdits[e]))return i=[...e],i.flattenedUndo={...e.flattenedUndo,...t.edits},i.offset=e.offset,i;i=i||e.slice(0,e.offset||void 0),i.offset=i.offset||0,i.pop(),n||i.push({kind:t.meta.undo.kind,name:t.meta.undo.name,recordId:t.meta.undo.recordId,edits:{...e.flattenedUndo,...t.meta.undo.edits}});const s=Object.values(t.meta.undo.edits).filter(e=>"function"!=typeof e),o=Object.values(t.edits).filter(e=>"function"!=typeof e);return u()(s,o)||i.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:n?{...e.flattenedUndo,...t.edits}:t.edits}),i}return e},embedPreviews:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":const{url:n,preview:r}=t;return{...e,[n]:r}}return e},userPermissions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return{...e,[t.key]:t.isAllowed}}return e},autosaves:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_AUTOSAVES":const{postId:n,autosaves:r}=t;return{...e,[n]:r}}return e}}),fe=n("pPDe"),pe=n("FtRg"),ye=n.n(pe);const be=new WeakMap;function ve(e,t){var n,r;const{stableKey:i,page:s,perPage:o,include:c,fields:u,context:l}=ne(t);let d;if(null!==(n=e.queries)&&void 0!==n&&null!==(r=n[l])&&void 0!==r&&r[i]&&(d=e.queries[l][i]),!d)return null;const f=-1===o?0:(s-1)*o,p=-1===o?d.length:Math.min(f+o,d.length),y=[];for(let t=f;t<p;t++){var b;const n=d[t];if(Array.isArray(c)&&!c.includes(n))continue;if(null===(b=e.items[l])||void 0===b||!b.hasOwnProperty(n))return null;const r=e.items[l][n];let i;if(Array.isArray(u)){i={};for(let e=0;e<u.length;e++){const t=u[e].split("."),n=Object(a.get)(r,t);Object(a.set)(i,t,n)}}else{var v;if(null===(v=e.itemIsComplete[l])||void 0===v||!v[n])return null;i=r}y.push(i)}return y}const he=Object(fe.a)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=be.get(e);if(n){const e=n.get(t);if(void 0!==e)return e}else n=new ye.a,be.set(e,n);const r=ve(e,t);return n.set(t,r),r}));const Ee={},me=[],ge=Object(o.createRegistrySelector)(e=>(t,n)=>e("core").isResolving("getEmbedPreview",[n]));function _e(e,t){g()("select( 'core' ).getAuthors()",{since:"5.9",alternative:"select( 'core' ).getUsers({ who: 'authors' })"});const n=Object(E.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",t);return Oe(e,n)}function Re(e){return e.currentUser}const Oe=Object(fe.a)((e,t)=>{const n=e.users.queries[t];return Object(a.map)(n,t=>e.users.byId[t])},(e,t)=>[e.users.queries[t],e.users.byId]);function we(e,t){return Object(a.filter)(e.entities.config,{kind:t})}function je(e,t,n){return Object(a.find)(e.entities.config,{kind:t,name:n})}const ke=Object(fe.a)((e,t,n,r,i)=>{var s,o;const c=Object(a.get)(e.entities.data,[t,n,"queriedData"]);if(!c)return;const u=null!==(s=null==i?void 0:i.context)&&void 0!==s?s:"default";if(void 0===i){var l;if(null===(l=c.itemIsComplete[u])||void 0===l||!l[r])return;return c.items[u][r]}const d=null===(o=c.items[u])||void 0===o?void 0:o[r];if(d&&i._fields){const e={},t=te(i._fields);for(let n=0;n<t.length;n++){const r=t[n].split("."),i=Object(a.get)(d,r);Object(a.set)(e,r,i)}return e}return d},(e,t,n,r,i)=>{var s;const o=null!==(s=null==i?void 0:i.context)&&void 0!==s?s:"default";return[Object(a.get)(e.entities.data,[t,n,"queriedData","items",o,r]),Object(a.get)(e.entities.data,[t,n,"queriedData","itemIsComplete",o,r])]});function Te(e,t,n,r){return ke(e,t,n,r)}const Se=Object(fe.a)((e,t,n,r)=>{const i=ke(e,t,n,r);return i&&Object.keys(i).reduce((r,s)=>{var o,c;return o=je(e,t,n),c=s,(o.rawAttributes||[]).includes(c)?r[s]=Object(a.get)(i[s],"raw",i[s]):r[s]=i[s],r},{})},(e,t,n,r,i)=>{var s;const o=null!==(s=null==i?void 0:i.context)&&void 0!==s?s:"default";return[e.entities.config,Object(a.get)(e.entities.data,[t,n,"queriedData","items",o,r]),Object(a.get)(e.entities.data,[t,n,"queriedData","itemIsComplete",o,r])]});function Ie(e,t,n,r){return Array.isArray(Ue(e,t,n,r))}function Ue(e,t,n,r){const i=Object(a.get)(e.entities.data,[t,n,"queriedData"]);return i?he(i,r):me}const xe=Object(fe.a)(e=>{const{entities:{data:t}}=e,n=[];return Object.keys(t).forEach(r=>{Object.keys(t[r]).forEach(i=>{const s=Object.keys(t[r][i].edits).filter(t=>ke(e,r,i,t)&&Pe(e,r,i,t));if(s.length){const t=je(e,r,i);s.forEach(s=>{var o;const a=De(e,r,i,s);n.push({key:a[t.key||K],title:(null==t||null===(o=t.getTitle)||void 0===o?void 0:o.call(t,a))||"",name:i,kind:r})})}})}),n},e=>[e.entities.data]),Ae=Object(fe.a)(e=>{const{entities:{data:t}}=e,n=[];return Object.keys(t).forEach(r=>{Object.keys(t[r]).forEach(i=>{const s=Object.keys(t[r][i].saving).filter(t=>Ne(e,r,i,t));if(s.length){const t=je(e,r,i);s.forEach(s=>{var o;const a=De(e,r,i,s);n.push({key:a[t.key||K],title:(null==t||null===(o=t.getTitle)||void 0===o?void 0:o.call(t,a))||"",name:i,kind:r})})}})}),n},e=>[e.entities.data]);function Ce(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"edits",r])}const Le=Object(fe.a)((e,t,n,r)=>{const{transientEdits:i}=je(e,t,n)||{},s=Ce(e,t,n,r)||{};return i?Object.keys(s).reduce((e,t)=>(i[t]||(e[t]=s[t]),e),{}):s},(e,t,n,r)=>[e.entities.config,Object(a.get)(e.entities.data,[t,n,"edits",r])]);function Pe(e,t,n,r){return Ne(e,t,n,r)||Object.keys(Le(e,t,n,r)).length>0}const De=Object(fe.a)((e,t,n,r)=>({...Se(e,t,n,r),...Ce(e,t,n,r)}),(e,t,n,r,i)=>{var s;const o=null!==(s=null==i?void 0:i.context)&&void 0!==s?s:"default";return[e.entities.config,Object(a.get)(e.entities.data,[t,n,"queriedData","items",o,r]),Object(a.get)(e.entities.data,[t,n,"queriedData","itemIsComplete",o,r]),Object(a.get)(e.entities.data,[t,n,"edits",r])]});function qe(e,t,n,r){const{pending:i,isAutosave:s}=Object(a.get)(e.entities.data,[t,n,"saving",r],{});return Boolean(i&&s)}function Ne(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"saving",r,"pending"],!1)}function Me(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"deleting",r,"pending"],!1)}function Ve(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"saving",r,"error"])}function Ge(e,t,n,r){return Object(a.get)(e.entities.data,[t,n,"deleting",r,"error"])}function Fe(e){return e.undo.offset}function Be(e){return e.undo[e.undo.length-2+Fe(e)]}function Qe(e){return e.undo[e.undo.length+Fe(e)]}function Ye(e){return Boolean(Be(e))}function $e(e){return Boolean(Qe(e))}function He(e){return ke(e,"root","theme",e.currentTheme)}function Ke(e){return e.currentGlobalStylesId}function We(e){var t,n;return null!==(t=null===(n=He(e))||void 0===n?void 0:n.theme_supports)&&void 0!==t?t:Ee}function ze(e,t){return e.embedPreviews[t]}function Xe(e,t){const n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function Je(e,t,n,r){const i=Object(a.compact)([t,n,r]).join("/");return Object(a.get)(e,["userPermissions",i])}function Ze(e,t,n,r){const i=je(e,t,n);if(!i)return!1;return Je(e,"update",i.__unstable_rest_base,r)}function et(e,t,n){return e.autosaves[n]}function tt(e,t,n,r){if(void 0===r)return;const i=e.autosaves[n];return Object(a.find)(i,{author:r})}const nt=Object(o.createRegistrySelector)(e=>(t,n,r)=>e("core").hasFinishedResolution("getAutosaves",[n,r])),rt=Object(fe.a)(()=>[],e=>[e.undo.length,e.undo.offset,e.undo.flattenedUndo]);function it(e,t){const n=Ue(e,"postType","wp_template",{"find-template":t}),r=null!=n&&n.length?n[0]:null;return r?De(e,"postType","wp_template",r.id):r}function st(e){const t=He(e);return t?e.themeBaseGlobalStyles[t.stylesheet]:null}var ot=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return async t=>{let{resolveSelect:r}=t;await r[e](...n)}};const at=e=>async t=>{let{dispatch:n}=t;const r=Object(E.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",e),i=await b()({path:r});n.receiveUserQuery(r,i)},ct=()=>async e=>{let{dispatch:t}=e;const n=await b()({path:"/wp/v2/users/me"});t.receiveCurrentUser(n)},ut=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3?arguments[3]:void 0;return async i=>{let{select:s,dispatch:o}=i;const c=await o(ee(e)),u=Object(a.find)(c,{kind:e,name:t});if(!u||null!=u&&u.__experimentalNoFetch)return;const l=await o.__unstableAcquireStoreLock("core",["entities","data",e,t,n],{exclusive:!1});try{void 0!==r&&r._fields&&(r={...r,_fields:Object(a.uniq)([...te(r._fields)||[],u.key||K]).join()});const i=Object(E.addQueryArgs)(u.baseURL+(n?"/"+n:""),{...u.baseURLParams,...r});if(void 0!==r){r={...r,include:[n]};if(s.hasEntityRecords(e,t,r))return}const c=await b()({path:i});o.receiveEntityRecords(e,t,c,r)}catch(e){}finally{o.__unstableReleaseStoreLock(l)}}},lt=ot("getEntityRecord"),dt=ot("getEntityRecord"),ft=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return async r=>{let{dispatch:i}=r;const s=await i(ee(e)),o=Object(a.find)(s,{kind:e,name:t});if(!o||null!=o&&o.__experimentalNoFetch)return;const c=await i.__unstableAcquireStoreLock("core",["entities","data",e,t],{exclusive:!1});try{var u;n._fields&&(n={...n,_fields:Object(a.uniq)([...te(n._fields)||[],o.key||K]).join()});const r=Object(E.addQueryArgs)(o.baseURL,{...o.baseURLParams,...n});let s=Object.values(await b()({path:r}));if(n._fields&&(s=s.map(e=>(n._fields.split(",").forEach(t=>{e.hasOwnProperty(t)||(e[t]=void 0)}),e))),i.receiveEntityRecords(e,t,s,n),!(null!==(u=n)&&void 0!==u&&u._fields||n.context)){const n=o.key||K,r=s.filter(e=>e[n]).map(r=>[e,t,r[n]]);i({type:"START_RESOLUTIONS",selectorName:"getEntityRecord",args:r}),i({type:"FINISH_RESOLUTIONS",selectorName:"getEntityRecord",args:r})}}catch(e){}finally{i.__unstableReleaseStoreLock(c)}}};ft.shouldInvalidate=(e,t,n)=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&t===e.kind&&n===e.name;const pt=()=>async e=>{let{dispatch:t,resolveSelect:n}=e;const r=await n.getEntityRecords("root","theme",{status:"active"});t.receiveCurrentTheme(r[0])},yt=ot("getCurrentTheme"),bt=e=>async t=>{let{dispatch:n}=t;try{const t=await b()({path:Object(E.addQueryArgs)("/oembed/1.0/proxy",{url:e})});n.receiveEmbedPreview(e,t)}catch(t){n.receiveEmbedPreview(e,!1)}},vt=(e,t,n)=>async r=>{let{dispatch:i}=r;const s={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e];if(!s)throw new Error(`'${e}' is not a valid action.`);const o=n?`/wp/v2/${t}/${n}`:"/wp/v2/"+t;let c,u;try{c=await b()({path:o,method:n?"GET":"OPTIONS",parse:!1})}catch(e){return}u=Object(a.hasIn)(c,["headers","get"])?c.headers.get("allow"):Object(a.get)(c,["headers","Allow"],"");const l=Object(a.compact)([e,t,n]).join("/"),d=Object(a.includes)(u,s);i.receiveUserPermission(l,d)},ht=(e,t,n)=>async r=>{let{dispatch:i}=r;const s=await i(ee(e)),o=Object(a.find)(s,{kind:e,name:t});if(!o)return;const c=o.__unstable_rest_base;await i(vt("update",c,n))},Et=(e,t)=>async n=>{let{dispatch:r,resolveSelect:i}=n;const{rest_base:s}=await i.getPostType(e),o=await b()({path:`/wp/v2/${s}/${t}/autosaves?context=edit`});o&&o.length&&r.receiveAutosaves(t,o)},mt=(e,t)=>async n=>{let{resolveSelect:r}=n;await r.getAutosaves(e,t)},gt=e=>async t=>{let n,{dispatch:r,resolveSelect:i}=t;try{n=await window.fetch(Object(E.addQueryArgs)(e,{"_wp-find-template":!0})).then(e=>e.json()).then(e=>{let{data:t}=e;return t})}catch(e){}if(!n)return;const s=await i.getEntityRecord("postType","wp_template",n.id);s&&r.receiveEntityRecords("postType","wp_template",[s],{"find-template":e})};gt.shouldInvalidate=e=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&"postType"===e.kind&&"wp_template"===e.name;const _t=()=>async e=>{let{dispatch:t,resolveSelect:n}=e;const r=await n.getEntityRecords("root","theme",{status:"active"}),i=Object(a.get)(r,[0,"_links","wp:user-global-styles",0,"href"]);if(i){const e=await b()({url:i});t.__experimentalReceiveCurrentGlobalStylesId(e.id)}},Rt=()=>async e=>{let{resolveSelect:t,dispatch:n}=e;const r=await t.getCurrentTheme(),i=await b()({path:"/wp/v2/global-styles/themes/"+r.stylesheet});await n.__experimentalReceiveThemeBaseGlobalStyles(r.stylesheet,i)};function Ot(e,t){const n={...e};let r=n;for(const e of t)r.children={...r.children,[e]:{locks:[],children:{},...r.children[e]}},r=r.children[e];return n}function wt(e,t){let n=e;for(const e of t){const t=n.children[e];if(!t)return null;n=t}return n}function jt(e,t){let{exclusive:n}=e;return!(!n||!t.length)||!(n||!t.filter(e=>e.exclusive).length)}const kt={requests:[],tree:{locks:[],children:{}}};function Tt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:kt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENQUEUE_LOCK_REQUEST":{const{request:n}=t;return{...e,requests:[n,...e.requests]}}case"GRANT_LOCK_REQUEST":{const{lock:n,request:r}=t,{store:i,path:s}=r,o=[i,...s],a=Ot(e.tree,o),c=wt(a,o);return c.locks=[...c.locks,n],{...e,requests:e.requests.filter(e=>e!==r),tree:a}}case"RELEASE_LOCK":{const{lock:n}=t,r=[n.store,...n.path],i=Ot(e.tree,r),s=wt(i,r);return s.locks=s.locks.filter(e=>e!==n),{...e,tree:i}}}return e}function St(e,t,n,r){let{exclusive:i}=r;const s=[t,...n],o=e.tree;for(const e of function*(e,t){let n=e;yield n;for(const e of t){const t=n.children[e];if(!t)break;yield t,n=t}}(o,s))if(jt({exclusive:i},e.locks))return!1;const a=wt(o,s);if(!a)return!0;for(const e of function*(e){const t=Object.values(e.children);for(;t.length;){const e=t.pop();yield e,t.push(...Object.values(e.children))}}(a))if(jt({exclusive:i},e.locks))return!1;return!0}function It(){const e=function(){let e=Tt(void 0,{type:"@@INIT"});function t(){for(const t of function(e){return e.requests}(e)){const{store:n,path:r,exclusive:i,notifyAcquired:s}=t;if(St(e,n,r,{exclusive:i})){const o={store:n,path:r,exclusive:i};e=Tt(e,{type:"GRANT_LOCK_REQUEST",lock:o,request:t}),s(o)}}}return{acquire:function(n,r,i){return new Promise(s=>{e=Tt(e,{type:"ENQUEUE_LOCK_REQUEST",request:{store:n,path:r,exclusive:i,notifyAcquired:s}}),t()})},release:function(n){e=Tt(e,{type:"RELEASE_LOCK",lock:n}),t()}}}();return{__unstableAcquireStoreLock:function(t,n,r){let{exclusive:i}=r;return()=>e.acquire(t,n,i)},__unstableReleaseStoreLock:function(t){return()=>e.release(t)}}}var Ut=n("GRId"),xt=n("HSyU");const At=[],Ct={...z.reduce((e,t)=>(e[t.kind]||(e[t.kind]={}),e[t.kind][t.name]={context:Object(Ut.createContext)()},e),{}),...X.reduce((e,t)=>(e[t.name]={},e),{})},Lt=(e,t)=>{if(!Ct[e])throw new Error(`Missing entity config for kind: ${e}.`);return Ct[e][t]||(Ct[e][t]={context:Object(Ut.createContext)()}),Ct[e][t]};function Pt(e){let{kind:t,type:n,id:r,children:i}=e;const s=Lt(t,n).context.Provider;return Object(Ut.createElement)(s,{value:r},i)}function Dt(e,t){return Object(Ut.useContext)(Lt(e,t).context)}function qt(e,t,n,r){const i=Dt(e,t),s=null!=r?r:i,{value:a,fullValue:c}=Object(o.useSelect)(r=>{const{getEntityRecord:i,getEditedEntityRecord:o}=r("core"),a=i(e,t,s),c=o(e,t,s);return a&&c?{value:c[n],fullValue:a[n]}:{}},[e,t,s,n]),{editEntityRecord:u}=Object(o.useDispatch)("core");return[a,Object(Ut.useCallback)(r=>{u(e,t,s,{[n]:r})},[e,t,s,n]),c]}function Nt(e,t){let{id:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Dt(e,t),i=null!=n?n:r,{content:s,blocks:a}=Object(o.useSelect)(n=>{const{getEditedEntityRecord:r}=n("core"),s=r(e,t,i);return{blocks:s.blocks,content:s.content}},[e,t,i]),{__unstableCreateUndoLevel:c,editEntityRecord:u}=Object(o.useDispatch)("core");Object(Ut.useEffect)(()=>{if(s&&"function"!=typeof s&&!a){const n=Object(xt.parse)(s);u(e,t,i,{blocks:n},{undoIgnore:!0})}},[s]);const l=Object(Ut.useCallback)((n,r)=>{const{selection:s}=r,o={blocks:n,selection:s};if(a===o.blocks)return c(e,t,i);o.content=e=>{let{blocks:t=[]}=e;return Object(xt.__unstableSerializeAndClean)(t)},u(e,t,i,o)},[e,t,i,a]),d=Object(Ut.useCallback)((n,r)=>{const{selection:s}=r;u(e,t,i,{blocks:n,selection:s})},[e,t,i]);return[null!=a?a:At,d,l]}var Mt=n("rmEH");var Vt=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{isInitialSuggestions:r=!1,type:i,subtype:s,page:o,perPage:a=(r?3:20)}=t,{disablePostFormats:c=!1}=n,u=[];return i&&"post"!==i||u.push(b()({path:Object(E.addQueryArgs)("/wp/v2/search",{search:e,page:o,per_page:a,type:"post",subtype:s})}).then(e=>e.map(e=>({...e,meta:{kind:"post-type",subtype:s}}))).catch(()=>[])),i&&"term"!==i||u.push(b()({path:Object(E.addQueryArgs)("/wp/v2/search",{search:e,page:o,per_page:a,type:"term",subtype:s})}).then(e=>e.map(e=>({...e,meta:{kind:"taxonomy",subtype:s}}))).catch(()=>[])),c||i&&"post-format"!==i||u.push(b()({path:Object(E.addQueryArgs)("/wp/v2/search",{search:e,page:o,per_page:a,type:"post-format",subtype:s})}).then(e=>e.map(e=>({...e,meta:{kind:"taxonomy",subtype:s}}))).catch(()=>[])),Promise.all(u).then(e=>e.reduce((e,t)=>e.concat(t),[]).filter(e=>!!e.id).slice(0,a).map(e=>{var t;return{id:e.id,url:e.url,title:Object(Mt.decodeEntities)(e.title||"")||Object(v.__)("(no title)"),type:e.subtype||e.type,kind:null==e||null===(t=e.meta)||void 0===t?void 0:t.kind}}))};const Gt=new Map;var Ft=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="/wp-block-editor/v1/url-details",r={url:Object(E.prependHTTP)(e)};if(!Object(E.isURL)(e))return Promise.reject(e+" is not a valid URL.");const i=Object(E.getProtocol)(e);return Object(E.isValidProtocol)(i)&&i.startsWith("http")&&/^https?:\/\/[^\/\s]/i.test(e)?Gt.has(e)?Gt.get(e):b()({path:Object(E.addQueryArgs)(n,r),...t}).then(t=>(Gt.set(e,t),t)):Promise.reject(e+' does not have a valid protocol. URLs must be "http" based')};const Bt=z.reduce((e,t)=>{const{kind:n,name:r}=t;return e[Z(n,r)]=(e,t,i)=>ke(e,n,r,t,i),e[Z(n,r,"get",!0)]=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];return Ue(e,n,r,...i)},e},{}),Qt=z.reduce((e,t)=>{const{kind:n,name:r}=t;e[Z(n,r)]=(e,t)=>ut(n,r,e,t);const i=Z(n,r,"get",!0);return e[i]=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return ft(n,r,...t)},e[i].shouldInvalidate=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];return ft.shouldInvalidate(e,n,r,...i)},e},{}),Yt=z.reduce((e,t)=>{const{kind:n,name:r}=t;return e[Z(n,r,"save")]=e=>G(n,r,e),e[Z(n,r,"delete")]=(e,t)=>D(n,r,e,t),e},{}),$t=Object(o.createReduxStore)("core",{reducer:de,actions:{...r,...Yt,...It()},selectors:{...i,...Bt},resolvers:{...s,...Qt},__experimentalUseThunks:!0});Object(o.register)($t)},l3Sj:function(e,t){e.exports=window.wp.i18n},pPDe:function(e,t,n){"use strict";var r,i;function s(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},i="undefined"!=typeof WeakMap,t.a=function(e,t){var n,c;function u(){n=i?new WeakMap:o()}function l(){var n,r,i,s,o,u=arguments.length;for(s=new Array(u),i=0;i<u;i++)s[i]=arguments[i];for(o=t.apply(null,s),(n=c(o)).isUniqueByDependants||(n.lastDependants&&!a(o,n.lastDependants,0)&&n.clear(),n.lastDependants=o),r=n.head;r;){if(a(r.args,s,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,s)},s[0]=null,r.args=s,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=s),c=i?function(e){var t,i,s,a,c,u=n,l=!0;for(t=0;t<e.length;t++){if(i=e[t],!(c=i)||"object"!=typeof c){l=!1;break}u.has(i)?u=u.get(i):(s=new WeakMap,u.set(i,s),u=s)}return u.has(r)||((a=o()).isUniqueByDependants=l,u.set(r,a)),u.get(r)}:function(){return n},l.getDependants=t,l.clear=u,u(),l}},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},rmEH:function(e,t){e.exports=window.wp.htmlEntities},ywyh:function(e,t){e.exports=window.wp.apiFetch}});
\ No newline at end of file
+!function(){"use strict";var e={2167:function(e){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t){var n=e._map,r=e._arrayTreeMap,i=e._objectTreeMap;if(n.has(t))return n.get(t);for(var o=Object.keys(t).sort(),s=Array.isArray(t)?r:i,a=0;a<o.length;a++){var u=o[a];if(void 0===(s=s.get(u)))return;var c=t[u];if(void 0===(s=s.get(c)))return}var l=s.get("_ekm_value");return l?(n.delete(l[0]),l[0]=t,s.set("_ekm_value",l),n.set(t,l),l):void 0}var i=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var i,o,s;return i=e,o=[{key:"set",value:function(n,r){if(null===n||"object"!==t(n))return this._map.set(n,r),this;for(var i=Object.keys(n).sort(),o=[n,r],s=Array.isArray(n)?this._arrayTreeMap:this._objectTreeMap,a=0;a<i.length;a++){var u=i[a];s.has(u)||s.set(u,new e),s=s.get(u);var c=n[u];s.has(c)||s.set(c,new e),s=s.get(c)}var l=s.get("_ekm_value");return l&&this._map.delete(l[0]),s.set("_ekm_value",o),this._map.set(n,o),this}},{key:"get",value:function(e){if(null===e||"object"!==t(e))return this._map.get(e);var n=r(this,e);return n?n[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==t(e)?this._map.has(e):void 0!==r(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(i,o){null!==o&&"object"===t(o)&&(i=i[1]),e.call(r,i,o,n)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}],o&&n(i.prototype,o),s&&n(i,s),e}();e.exports=i}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){n.r(r),n.d(r,{EntityProvider:function(){return Wt},__experimentalFetchLinkSuggestions:function(){return en},__experimentalFetchUrlData:function(){return nn},store:function(){return an},useEntityBlockEditor:function(){return Jt},useEntityId:function(){return zt},useEntityProp:function(){return Xt}});var e={};n.r(e),n.d(e,{__experimentalBatch:function(){return z},__experimentalReceiveCurrentGlobalStylesId:function(){return j},__experimentalReceiveThemeBaseGlobalStyles:function(){return G},__experimentalSaveSpecifiedEntityEdits:function(){return J},__unstableCreateUndoLevel:function(){return H},addEntities:function(){return q},deleteEntityRecord:function(){return $},editEntityRecord:function(){return Q},receiveAutosaves:function(){return te},receiveCurrentTheme:function(){return M},receiveCurrentUser:function(){return N},receiveEmbedPreview:function(){return B},receiveEntityRecords:function(){return V},receiveThemeSupports:function(){return F},receiveUploadPermissions:function(){return Z},receiveUserPermission:function(){return ee},receiveUserQuery:function(){return D},redo:function(){return K},saveEditedEntityRecord:function(){return X},saveEntityRecord:function(){return W},undo:function(){return Y}});var t={};n.r(t),n.d(t,{__experimentalGetCurrentGlobalStylesId:function(){return at},__experimentalGetCurrentThemeBaseGlobalStyles:function(){return mt},__experimentalGetDirtyEntityRecords:function(){return $e},__experimentalGetEntitiesBeingSaved:function(){return Qe},__experimentalGetEntityRecordNoResolver:function(){return je},__experimentalGetTemplateForLink:function(){return Et},canUser:function(){return dt},canUserEditEntityRecord:function(){return ft},getAuthors:function(){return Pe},getAutosave:function(){return yt},getAutosaves:function(){return pt},getCurrentTheme:function(){return st},getCurrentUser:function(){return De},getEditedEntityRecord:function(){return We},getEmbedPreview:function(){return ct},getEntitiesByKind:function(){return qe},getEntity:function(){return Ve},getEntityRecord:function(){return Me},getEntityRecordEdits:function(){return Ye},getEntityRecordNonTransientEdits:function(){return Ke},getEntityRecords:function(){return Be},getLastEntityDeleteError:function(){return et},getLastEntitySaveError:function(){return Ze},getRawEntityRecord:function(){return Ge},getRedoEdit:function(){return rt},getReferenceByDistinctEdits:function(){return ht},getThemeSupports:function(){return ut},getUndoEdit:function(){return nt},getUserQueryResults:function(){return Ne},hasEditsForEntityRecord:function(){return He},hasEntityRecords:function(){return Fe},hasFetchedAutosaves:function(){return vt},hasRedo:function(){return ot},hasUndo:function(){return it},isAutosavingEntityRecord:function(){return ze},isDeletingEntityRecord:function(){return Je},isPreviewEmbedFallback:function(){return lt},isRequestingEmbedPreview:function(){return Oe},isSavingEntityRecord:function(){return Xe}});var i={};n.r(i),n.d(i,{__experimentalGetCurrentGlobalStylesId:function(){return Pt},__experimentalGetCurrentThemeBaseGlobalStyles:function(){return Dt},__experimentalGetTemplateForLink:function(){return Ot},canUser:function(){return At},canUserEditEntityRecord:function(){return xt},getAuthors:function(){return _t},getAutosave:function(){return Lt},getAutosaves:function(){return Ct},getCurrentTheme:function(){return It},getCurrentUser:function(){return bt},getEditedEntityRecord:function(){return kt},getEmbedPreview:function(){return Ut},getEntityRecord:function(){return Rt},getEntityRecords:function(){return Tt},getRawEntityRecord:function(){return wt},getThemeSupports:function(){return St}});var o=window.wp.data,s=window.lodash,a=window.wp.isShallowEqual,u=n.n(a);var c=e=>t=>(n,r)=>void 0===n||e(r)?t(n,r):n;var l=e=>t=>(n,r)=>t(n,e(r));function d(e,t){if(!e)return t;let n=!1;const r={};for(const i in t)(0,s.isEqual)(e[i],t[i])?r[i]=e[i]:(n=!0,r[i]=t[i]);if(!n)return e;for(const t in e)r.hasOwnProperty(t)||(r[t]=e[t]);return r}var f,p=e=>t=>function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;const i=r[e];if(void 0===i)return n;const o=t(n[i],r);return o===n[i]?n:{...n,[i]:o}},y=window.wp.apiFetch,v=n.n(y),h=window.wp.i18n,E=new Uint8Array(16);function m(){if(!f&&!(f="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 f(E)}var g=/^(?:[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 _=function(e){return"string"==typeof e&&g.test(e)},b=[],R=0;R<256;++R)b.push((R+256).toString(16).substr(1));var w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(b[e[t+0]]+b[e[t+1]]+b[e[t+2]]+b[e[t+3]]+"-"+b[e[t+4]]+b[e[t+5]]+"-"+b[e[t+6]]+b[e[t+7]]+"-"+b[e[t+8]]+b[e[t+9]]+"-"+b[e[t+10]]+b[e[t+11]]+b[e[t+12]]+b[e[t+13]]+b[e[t+14]]+b[e[t+15]]).toLowerCase();if(!_(n))throw TypeError("Stringified UUID is invalid");return n};var k=function(e,t,n){var r=(e=e||{}).random||(e.rng||m)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return w(r)},T=window.wp.url,I=window.wp.deprecated,S=n.n(I);function U(e,t){return{type:"RECEIVE_ITEMS",items:(0,s.castArray)(e),persistedEdits:t}}function A(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return{type:"REMOVE_ITEMS",itemIds:(0,s.castArray)(n),kind:e,name:t,invalidateCache:r}}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return{...U(e,n),query:t}}let C=null;async function L(e){if(null===C){const e=await v()({path:"/batch/v1",method:"OPTIONS"});C=e.endpoints[0].args.requests.maxItems}const t=[];for(const n of(0,s.chunk)(e,C)){const e=await v()({path:"/batch/v1",method:"POST",data:{validation:"require-all-validate",requests:n.map((e=>({path:e.path,body:e.data,method:e.method,headers:e.headers})))}});let r;r=e.failed?e.responses.map((e=>({error:null==e?void 0:e.body}))):e.responses.map((e=>{const t={};return e.status>=200&&e.status<300?t.output=e.body:t.error=e.body,t})),t.push(...r)}return t}class O{constructor(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.set=new Set(...t),this.subscribers=new Set}get size(){return this.set.size}add(){return this.set.add(...arguments),this.subscribers.forEach((e=>e())),this}delete(){const e=this.set.delete(...arguments);return this.subscribers.forEach((e=>e())),e}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}}const P="core";function D(e,t){return{type:"RECEIVE_USER_QUERY",users:(0,s.castArray)(t),queryID:e}}function N(e){return{type:"RECEIVE_CURRENT_USER",currentUser:e}}function q(e){return{type:"ADD_ENTITIES",entities:e}}function V(e,t,n,r){let i,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0;return"postType"===e&&(n=(0,s.castArray)(n).map((e=>"auto-draft"===e.status?{...e,title:""}:e))),i=r?x(n,r,a):U(n,a),{...i,kind:e,name:t,invalidateCache:o}}function M(e){return{type:"RECEIVE_CURRENT_THEME",currentTheme:e}}function j(e){return{type:"RECEIVE_CURRENT_GLOBAL_STYLES_ID",id:e}}function G(e,t){return{type:"RECEIVE_THEME_GLOBAL_STYLES",stylesheet:e,globalStyles:t}}function F(){return S()("wp.data.dispatch( 'core' ).receiveThemeSupports",{since:"5.9"}),{type:"DO_NOTHING"}}function B(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}const $=function(e,t,n,r){let{__unstableFetch:i=v()}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return async o=>{let{dispatch:a}=o;const u=await a(ue(e)),c=(0,s.find)(u,{kind:e,name:t});let l,d=!1;if(!c||null!=c&&c.__experimentalNoFetch)return;const f=await a.__unstableAcquireStoreLock(P,["entities","data",e,t,n],{exclusive:!0});try{a({type:"DELETE_ENTITY_RECORD_START",kind:e,name:t,recordId:n});try{let o=`${c.baseURL}/${n}`;r&&(o=(0,T.addQueryArgs)(o,r)),d=await i({path:o,method:"DELETE"}),await a(A(e,t,n,!0))}catch(e){l=e}return a({type:"DELETE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:n,error:l}),d}finally{a.__unstableReleaseStoreLock(f)}}},Q=function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return o=>{let{select:a,dispatch:u}=o;const c=a.getEntity(e,t);if(!c)throw new Error(`The entity being edited (${e}, ${t}) does not have a loaded config.`);const{transientEdits:l={},mergedEdits:d={}}=c,f=a.getRawEntityRecord(e,t,n),p=a.getEditedEntityRecord(e,t,n),y={kind:e,name:t,recordId:n,edits:Object.keys(r).reduce(((e,t)=>{const n=f[t],i=p[t],o=d[t]?{...i,...r[t]}:r[t];return e[t]=(0,s.isEqual)(n,o)?void 0:o,e}),{}),transientEdits:l};u({type:"EDIT_ENTITY_RECORD",...y,meta:{undo:!i.undoIgnore&&{...y,edits:Object.keys(r).reduce(((e,t)=>(e[t]=p[t],e)),{})}}})}},Y=()=>e=>{let{select:t,dispatch:n}=e;const r=t.getUndoEdit();r&&n({type:"EDIT_ENTITY_RECORD",...r,meta:{isUndo:!0}})},K=()=>e=>{let{select:t,dispatch:n}=e;const r=t.getRedoEdit();r&&n({type:"EDIT_ENTITY_RECORD",...r,meta:{isRedo:!0}})};function H(){return{type:"CREATE_UNDO_LEVEL"}}const W=function(e,t,n){let{isAutosave:r=!1,__unstableFetch:i=v()}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return async o=>{let{select:a,resolveSelect:u,dispatch:c}=o;const l=await c(ue(e)),d=(0,s.find)(l,{kind:e,name:t});if(!d||null!=d&&d.__experimentalNoFetch)return;const f=d.key||ne,p=n[f],y=await c.__unstableAcquireStoreLock(P,["entities","data",e,t,p||k()],{exclusive:!0});try{for(const[r,i]of Object.entries(n))if("function"==typeof i){const o=i(a.getEditedEntityRecord(e,t,p));c.editEntityRecord(e,t,p,{[r]:o},{undoIgnore:!0}),n[r]=o}let o,s;c({type:"SAVE_ENTITY_RECORD_START",kind:e,name:t,recordId:p,isAutosave:r});try{const s=`${d.baseURL}${p?"/"+p:""}`,l=a.getRawEntityRecord(e,t,p);if(r){const r=a.getCurrentUser(),d=r?r.id:void 0,f=u.getAutosave(l.type,l.id,d);let p={...l,...f,...n};if(p=Object.keys(p).reduce(((e,t)=>(["title","excerpt","content"].includes(t)&&(e[t]=p[t]),e)),{status:"auto-draft"===p.status?"draft":p.status}),o=await i({path:`${s}/autosaves`,method:"POST",data:p}),l.id===o.id){let n={...l,...p,...o};n=Object.keys(n).reduce(((e,t)=>(["title","excerpt","content"].includes(t)?e[t]=n[t]:e[t]="status"===t?"auto-draft"===l.status&&"draft"===n.status?n.status:l.status:l[t],e)),{}),c.receiveEntityRecords(e,t,n,void 0,!0)}else c.receiveAutosaves(l.id,o)}else{let r=n;d.__unstablePrePersist&&(r={...r,...d.__unstablePrePersist(l,r)}),o=await i({path:s,method:p?"PUT":"POST",data:r}),c.receiveEntityRecords(e,t,o,void 0,!0,r)}}catch(e){s=e}return c({type:"SAVE_ENTITY_RECORD_FINISH",kind:e,name:t,recordId:p,error:s,isAutosave:r}),o}finally{c.__unstableReleaseStoreLock(y)}}},z=e=>async t=>{let{dispatch:n}=t;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L,t=0,n=[];const r=new O;return{add(e){const i=++t;r.add(i);const o=e=>new Promise(((t,o)=>{n.push({input:e,resolve:t,reject:o}),r.delete(i)}));return(0,s.isFunction)(e)?Promise.resolve(e(o)).finally((()=>{r.delete(i)})):o(e)},async run(){let t;r.size&&await new Promise((e=>{const t=r.subscribe((()=>{r.size||(t(),e())}))}));try{if(t=await e(n.map((e=>{let{input:t}=e;return t}))),t.length!==n.length)throw new Error("run: Array returned by processor must be same size as input array.")}catch(e){for(const{reject:t}of n)t(e);throw e}let i=!0;for(const[e,{resolve:r,reject:a}]of(0,s.zip)(t,n)){var o;null!=e&&e.error?(a(e.error),i=!1):r(null!==(o=null==e?void 0:e.output)&&void 0!==o?o:e)}return n=[],i}}}(),i={saveEntityRecord:(e,t,i,o)=>r.add((r=>n.saveEntityRecord(e,t,i,{...o,__unstableFetch:r}))),saveEditedEntityRecord:(e,t,i,o)=>r.add((r=>n.saveEditedEntityRecord(e,t,i,{...o,__unstableFetch:r}))),deleteEntityRecord:(e,t,i,o,s)=>r.add((r=>n.deleteEntityRecord(e,t,i,o,{...s,__unstableFetch:r})))},o=e.map((e=>e(i))),[,...a]=await Promise.all([r.run(),...o]);return a},X=(e,t,n,r)=>async i=>{let{select:o,dispatch:a}=i;if(!o.hasEditsForEntityRecord(e,t,n))return;const u=await a(ue(e)),c=(0,s.find)(u,{kind:e,name:t});if(!c)return;const l=c.key||ne,d=o.getEntityRecordNonTransientEdits(e,t,n),f={[l]:n,...d};return await a.saveEntityRecord(e,t,f,r)},J=(e,t,n,r,i)=>async o=>{let{select:s,dispatch:a}=o;if(!s.hasEditsForEntityRecord(e,t,n))return;const u=s.getEntityRecordNonTransientEdits(e,t,n),c={};for(const e in u)r.some((t=>t===e))&&(c[e]=u[e]);return await a.saveEntityRecord(e,t,c,i)};function Z(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function ee(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function te(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:(0,s.castArray)(t)}}const ne="id",re=["title","excerpt","content"],ie=[{label:(0,h.__)("Base"),name:"__unstableBase",kind:"root",baseURL:"/"},{label:(0,h.__)("Site"),name:"site",kind:"root",baseURL:"/wp/v2/settings",getTitle:e=>(0,s.get)(e,["title"],(0,h.__)("Site Title"))},{label:(0,h.__)("Post Type"),name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types",baseURLParams:{context:"edit"},rawAttributes:re},{name:"media",kind:"root",baseURL:"/wp/v2/media",baseURLParams:{context:"edit"},plural:"mediaItems",label:(0,h.__)("Media")},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",baseURLParams:{context:"edit"},plural:"taxonomies",label:(0,h.__)("Taxonomy")},{name:"sidebar",kind:"root",baseURL:"/wp/v2/sidebars",plural:"sidebars",transientEdits:{blocks:!0},label:(0,h.__)("Widget areas")},{name:"widget",kind:"root",baseURL:"/wp/v2/widgets",baseURLParams:{context:"edit"},plural:"widgets",transientEdits:{blocks:!0},label:(0,h.__)("Widgets")},{name:"widgetType",kind:"root",baseURL:"/wp/v2/widget-types",baseURLParams:{context:"edit"},plural:"widgetTypes",label:(0,h.__)("Widget types")},{label:(0,h.__)("User"),name:"user",kind:"root",baseURL:"/wp/v2/users",baseURLParams:{context:"edit"},plural:"users"},{name:"comment",kind:"root",baseURL:"/wp/v2/comments",baseURLParams:{context:"edit"},plural:"comments",label:(0,h.__)("Comment")},{name:"menu",kind:"root",baseURL:"/wp/v2/menus",baseURLParams:{context:"edit"},plural:"menus",label:(0,h.__)("Menu")},{name:"menuItem",kind:"root",baseURL:"/wp/v2/menu-items",baseURLParams:{context:"edit"},plural:"menuItems",label:(0,h.__)("Menu Item"),rawAttributes:["title","content"]},{name:"menuLocation",kind:"root",baseURL:"/wp/v2/menu-locations",baseURLParams:{context:"edit"},plural:"menuLocations",label:(0,h.__)("Menu Location"),key:"name"},{name:"navigationArea",kind:"root",baseURL:"/wp/v2/block-navigation-areas",baseURLParams:{context:"edit"},plural:"navigationAreas",label:(0,h.__)("Navigation Area"),key:"name",getTitle:e=>null==e?void 0:e.description},{label:(0,h.__)("Global Styles"),name:"globalStyles",kind:"root",baseURL:"/wp/v2/global-styles",baseURLParams:{context:"edit"},plural:"globalStylesVariations",getTitle:e=>{var t;return(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title)}},{label:(0,h.__)("Themes"),name:"theme",kind:"root",baseURL:"/wp/v2/themes",baseURLParams:{context:"edit"},key:"stylesheet"},{label:(0,h.__)("Plugins"),name:"plugin",kind:"root",baseURL:"/wp/v2/plugins",baseURLParams:{context:"edit"},key:"plugin"}],oe=[{name:"postType",loadEntities:async function(){const e=await v()({path:"/wp/v2/types?context=edit"});return(0,s.map)(e,((e,t)=>{var n;const r=["wp_template","wp_template_part"].includes(t);return{kind:"postType",baseURL:`/${null!==(n=null==e?void 0:e.rest_namespace)&&void 0!==n?n:"wp/v2"}/${e.rest_base}`,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name,transientEdits:{blocks:!0,selection:!0},mergedEdits:{meta:!0},rawAttributes:re,getTitle:e=>{var t;return(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title)||(r?(0,s.startCase)(e.slug):String(e.id))},__unstablePrePersist:r?void 0:se,__unstable_rest_base:e.rest_base}}))}},{name:"taxonomy",loadEntities:async function(){const e=await v()({path:"/wp/v2/taxonomies?context=edit"});return(0,s.map)(e,((e,t)=>{var n;return{kind:"taxonomy",baseURL:`/${null!==(n=null==e?void 0:e.rest_namespace)&&void 0!==n?n:"wp/v2"}/${e.rest_base}`,baseURLParams:{context:"edit"},name:t,label:e.labels.singular_name}}))}}],se=(e,t)=>{const n={};return"auto-draft"===(null==e?void 0:e.status)&&(t.status||n.status||(n.status="draft"),t.title&&"Auto Draft"!==t.title||n.title||null!=e&&e.title&&"Auto Draft"!==(null==e?void 0:e.title)||(n.title="")),n};const ae=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=(0,s.find)(ie,{kind:e,name:t}),o="root"===e?"":(0,s.upperFirst)((0,s.camelCase)(e)),a=(0,s.upperFirst)((0,s.camelCase)(t))+(r?"s":""),u=r&&i.plural?(0,s.upperFirst)((0,s.camelCase)(i.plural)):a;return`${n}${o}${u}`},ue=e=>async t=>{let{select:n,dispatch:r}=t,i=n.getEntitiesByKind(e);if(i&&0!==i.length)return i;const o=(0,s.find)(oe,{name:e});return o?(i=await o.loadEntities(),r(q(i)),i):[]};var ce=function(e){return"string"==typeof e?e.split(","):Array.isArray(e)?e:null};var le=function(e){const t=new WeakMap;return n=>{let r;return t.has(n)?r=t.get(n):(r=e(n),(0,s.isObjectLike)(n)&&t.set(n,r)),r}}((function(e){const t={stableKey:"",page:1,perPage:10,fields:null,include:null,context:"default"},n=Object.keys(e).sort();for(let r=0;r<n.length;r++){const i=n[r];let o=e[i];switch(i){case"page":t[i]=Number(o);break;case"per_page":t.perPage=Number(o);break;case"context":t.context=o;break;default:"_fields"===i&&(t.fields=ce(o),o=t.fields.join()),"include"===i&&(t.include=ce(o).map(Number),o=t.include.join()),t.stableKey+=(t.stableKey?"&":"")+(0,T.addQueryArgs)("",{[i]:o}).slice(1)}}return t}));function de(e){const{query:t}=e;if(!t)return"default";return le(t).context}function fe(e,t,n,r){if(1===n&&-1===r)return t;const i=(n-1)*r,o=Math.max(e.length,i+t.length),s=new Array(o);for(let n=0;n<o;n++){const r=n>=i&&n<i+t.length;s[n]=r?t[n-i]:e[n]}return s}const pe=(0,s.flowRight)([c((e=>"query"in e)),l((e=>e.query?{...e,...le(e.query)}:e)),p("context"),p("stableKey")])((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;const{type:n,page:r,perPage:i,key:o=ne}=t;return"RECEIVE_ITEMS"!==n?e:fe(e||[],(0,s.map)(t.items,o),r,i)}));var ye=(0,o.combineReducers)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":{const n=de(t),r=t.key||ne;return{...e,[n]:{...e[n],...t.items.reduce(((t,i)=>{var o;const s=i[r];return t[s]=d(null==e||null===(o=e[n])||void 0===o?void 0:o[s],i),t}),{})}}}case"REMOVE_ITEMS":return(0,s.mapValues)(e,(e=>(0,s.omit)(e,t.itemIds)))}return e},itemIsComplete:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":{const n=de(t),{query:r,key:i=ne}=t,o=r?le(r):{},s=!r||!Array.isArray(o.fields);return{...e,[n]:{...e[n],...t.items.reduce(((t,r)=>{var o;const a=r[i];return t[a]=(null==e||null===(o=e[n])||void 0===o?void 0:o[a])||s,t}),{})}}}case"REMOVE_ITEMS":return(0,s.mapValues)(e,(e=>(0,s.omit)(e,t.itemIds)))}return e},queries:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return pe(e,t);case"REMOVE_ITEMS":const n=t.itemIds.reduce(((e,t)=>(e[t]=!0,e)),{});return(0,s.mapValues)(e,(e=>(0,s.mapValues)(e,(e=>(0,s.filter)(e,(e=>!n[e]))))));default:return e}}});function ve(e){return(0,s.flowRight)([c((t=>t.name&&t.kind&&t.name===e.name&&t.kind===e.kind)),l((t=>({...t,key:e.key||ne})))])((0,o.combineReducers)({queriedData:ye,edits:function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"RECEIVE_ITEMS":if("default"!==(null!==(e=null==r||null===(t=r.query)||void 0===t?void 0:t.context)&&void 0!==e?e:"default"))return n;const i={...n};for(const e of r.items){const t=e[r.key],n=i[t];if(!n)continue;const o=Object.keys(n).reduce(((t,i)=>((0,s.isEqual)(n[i],(0,s.get)(e[i],"raw",e[i]))||r.persistedEdits&&(0,s.isEqual)(n[i],r.persistedEdits[i])||(t[i]=n[i]),t)),{});Object.keys(o).length?i[t]=o:delete i[t]}return i;case"EDIT_ENTITY_RECORD":const o={...n[r.recordId],...r.edits};return Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]})),{...n,[r.recordId]:o}}return n},saving:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_ENTITY_RECORD_START":case"SAVE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"SAVE_ENTITY_RECORD_START"===t.type,error:t.error,isAutosave:t.isAutosave}}}return e},deleting:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DELETE_ENTITY_RECORD_START":case"DELETE_ENTITY_RECORD_FINISH":return{...e,[t.recordId]:{pending:"DELETE_ENTITY_RECORD_START"===t.type,error:t.error}}}return e}}))}function he(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ie,t=arguments.length>1?arguments[1]:void 0;return"ADD_ENTITIES"===t.type?[...e,...t.entities]:e}const Ee=[];let me;Ee.offset=0;var ge,_e,be=(0,o.combineReducers)({terms:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_TERMS"===t.type?{...e,[t.taxonomy]:t.terms}:e},users:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_USER_QUERY"===t.type?{byId:{...e.byId,...(0,s.keyBy)(t.users,"id")},queries:{...e.queries,[t.queryID]:(0,s.map)(t.users,(e=>e.id))}}:e},currentTheme:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_CURRENT_THEME"===t.type?t.currentTheme.stylesheet:e},currentGlobalStylesId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_CURRENT_GLOBAL_STYLES_ID"===t.type?t.id:e},currentUser:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_CURRENT_USER"===t.type?t.currentUser:e},themeBaseGlobalStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_THEME_GLOBAL_STYLES"===t.type?{...e,[t.stylesheet]:t.globalStyles}:e},taxonomies:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_TAXONOMIES"===t.type?t.taxonomies:e},entities:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=he(e.config,t);let r=e.reducer;if(!r||n!==e.config){const e=(0,s.groupBy)(n,"kind");r=(0,o.combineReducers)(Object.entries(e).reduce(((e,t)=>{let[n,r]=t;const i=(0,o.combineReducers)(r.reduce(((e,t)=>({...e,[t.name]:ve(t)})),{}));return e[n]=i,e}),{}))}const i=r(e.data,t);return i===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:i,config:n}},undo:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ee,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"EDIT_ENTITY_RECORD":case"CREATE_UNDO_LEVEL":let n="CREATE_UNDO_LEVEL"===t.type;const r=!n&&(t.meta.isUndo||t.meta.isRedo);let i;if(n?t=me:r||(me=Object.keys(t.edits).some((e=>!t.transientEdits[e]))?t:{...t,edits:{...me&&me.edits,...t.edits}}),r){if(i=[...e],i.offset=e.offset+(t.meta.isUndo?-1:1),!e.flattenedUndo)return i;n=!0,me.meta.undo||(me.meta.undo={edits:{}}),t=me}if(!t.meta.undo)return e;if(!n&&!Object.keys(t.edits).some((e=>!t.transientEdits[e])))return i=[...e],i.flattenedUndo={...e.flattenedUndo,...t.edits},i.offset=e.offset,i;i=i||e.slice(0,e.offset||void 0),i.offset=i.offset||0,i.pop(),n||i.push({kind:t.meta.undo.kind,name:t.meta.undo.name,recordId:t.meta.undo.recordId,edits:{...e.flattenedUndo,...t.meta.undo.edits}});const o=Object.values(t.meta.undo.edits).filter((e=>"function"!=typeof e)),s=Object.values(t.edits).filter((e=>"function"!=typeof e));return u()(o,s)||i.push({kind:t.kind,name:t.name,recordId:t.recordId,edits:n?{...e.flattenedUndo,...t.edits}:t.edits}),i}return e},embedPreviews:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_EMBED_PREVIEW"===t.type){const{url:n,preview:r}=t;return{...e,[n]:r}}return e},userPermissions:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_USER_PERMISSION"===t.type?{...e,[t.key]:t.isAllowed}:e},autosaves:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_AUTOSAVES"===t.type){const{postId:n,autosaves:r}=t;return{...e,[n]:r}}return e}});function Re(e){return[e]}function we(){var e={clear:function(){e.head=null}};return e}function ke(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function Te(e,t){var n,r;function i(){n=_e?new WeakMap:we()}function o(){var n,i,o,s,a,u=arguments.length;for(s=new Array(u),o=0;o<u;o++)s[o]=arguments[o];for(a=t.apply(null,s),(n=r(a)).isUniqueByDependants||(n.lastDependants&&!ke(a,n.lastDependants,0)&&n.clear(),n.lastDependants=a),i=n.head;i;){if(ke(i.args,s,1))return i!==n.head&&(i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=n.head,i.prev=null,n.head.prev=i,n.head=i),i.val;i=i.next}return i={val:e.apply(null,s)},s[0]=null,i.args=s,n.head&&(n.head.prev=i,i.next=n.head),n.head=i,i.val}return t||(t=Re),r=_e?function(e){var t,r,i,o,s,a=n,u=!0;for(t=0;t<e.length;t++){if(r=e[t],!(s=r)||"object"!=typeof s){u=!1;break}a.has(r)?a=a.get(r):(i=new WeakMap,a.set(r,i),a=i)}return a.has(ge)||((o=we()).isUniqueByDependants=u,a.set(ge,o)),a.get(ge)}:function(){return n},o.getDependants=t,o.clear=i,i(),o}ge={},_e="undefined"!=typeof WeakMap;var Ie=n(2167),Se=n.n(Ie);const Ue=new WeakMap;function Ae(e,t){var n,r;const{stableKey:i,page:o,perPage:a,include:u,fields:c,context:l}=le(t);let d;if(null!==(n=e.queries)&&void 0!==n&&null!==(r=n[l])&&void 0!==r&&r[i]&&(d=e.queries[l][i]),!d)return null;const f=-1===a?0:(o-1)*a,p=-1===a?d.length:Math.min(f+a,d.length),y=[];for(let t=f;t<p;t++){var v;const n=d[t];if(Array.isArray(u)&&!u.includes(n))continue;if(null===(v=e.items[l])||void 0===v||!v.hasOwnProperty(n))return null;const r=e.items[l][n];let i;if(Array.isArray(c)){i={};for(let e=0;e<c.length;e++){const t=c[e].split("."),n=(0,s.get)(r,t);(0,s.set)(i,t,n)}}else{var h;if(null===(h=e.itemIsComplete[l])||void 0===h||!h[n])return null;i=r}y.push(i)}return y}const xe=Te((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ue.get(e);if(n){const e=n.get(t);if(void 0!==e)return e}else n=new(Se()),Ue.set(e,n);const r=Ae(e,t);return n.set(t,r),r}));const Ce={},Le=[],Oe=(0,o.createRegistrySelector)((e=>(t,n)=>e(P).isResolving("getEmbedPreview",[n])));function Pe(e,t){S()("select( 'core' ).getAuthors()",{since:"5.9",alternative:"select( 'core' ).getUsers({ who: 'authors' })"});const n=(0,T.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",t);return Ne(e,n)}function De(e){return e.currentUser}const Ne=Te(((e,t)=>{const n=e.users.queries[t];return(0,s.map)(n,(t=>e.users.byId[t]))}),((e,t)=>[e.users.queries[t],e.users.byId]));function qe(e,t){return(0,s.filter)(e.entities.config,{kind:t})}function Ve(e,t,n){return(0,s.find)(e.entities.config,{kind:t,name:n})}const Me=Te(((e,t,n,r,i)=>{var o,a;const u=(0,s.get)(e.entities.data,[t,n,"queriedData"]);if(!u)return;const c=null!==(o=null==i?void 0:i.context)&&void 0!==o?o:"default";if(void 0===i){var l;if(null===(l=u.itemIsComplete[c])||void 0===l||!l[r])return;return u.items[c][r]}const d=null===(a=u.items[c])||void 0===a?void 0:a[r];if(d&&i._fields){const e={},t=ce(i._fields);for(let n=0;n<t.length;n++){const r=t[n].split("."),i=(0,s.get)(d,r);(0,s.set)(e,r,i)}return e}return d}),((e,t,n,r,i)=>{var o;const a=null!==(o=null==i?void 0:i.context)&&void 0!==o?o:"default";return[(0,s.get)(e.entities.data,[t,n,"queriedData","items",a,r]),(0,s.get)(e.entities.data,[t,n,"queriedData","itemIsComplete",a,r])]}));function je(e,t,n,r){return Me(e,t,n,r)}const Ge=Te(((e,t,n,r)=>{const i=Me(e,t,n,r);return i&&Object.keys(i).reduce(((r,o)=>(!function(e,t){return(e.rawAttributes||[]).includes(t)}(Ve(e,t,n),o)?r[o]=i[o]:r[o]=(0,s.get)(i[o],"raw",i[o]),r)),{})}),((e,t,n,r,i)=>{var o;const a=null!==(o=null==i?void 0:i.context)&&void 0!==o?o:"default";return[e.entities.config,(0,s.get)(e.entities.data,[t,n,"queriedData","items",a,r]),(0,s.get)(e.entities.data,[t,n,"queriedData","itemIsComplete",a,r])]}));function Fe(e,t,n,r){return Array.isArray(Be(e,t,n,r))}function Be(e,t,n,r){const i=(0,s.get)(e.entities.data,[t,n,"queriedData"]);return i?xe(i,r):Le}const $e=Te((e=>{const{entities:{data:t}}=e,n=[];return Object.keys(t).forEach((r=>{Object.keys(t[r]).forEach((i=>{const o=Object.keys(t[r][i].edits).filter((t=>Me(e,r,i,t)&&He(e,r,i,t)));if(o.length){const t=Ve(e,r,i);o.forEach((o=>{var s;const a=We(e,r,i,o);n.push({key:a[t.key||ne],title:(null==t||null===(s=t.getTitle)||void 0===s?void 0:s.call(t,a))||"",name:i,kind:r})}))}}))})),n}),(e=>[e.entities.data])),Qe=Te((e=>{const{entities:{data:t}}=e,n=[];return Object.keys(t).forEach((r=>{Object.keys(t[r]).forEach((i=>{const o=Object.keys(t[r][i].saving).filter((t=>Xe(e,r,i,t)));if(o.length){const t=Ve(e,r,i);o.forEach((o=>{var s;const a=We(e,r,i,o);n.push({key:a[t.key||ne],title:(null==t||null===(s=t.getTitle)||void 0===s?void 0:s.call(t,a))||"",name:i,kind:r})}))}}))})),n}),(e=>[e.entities.data]));function Ye(e,t,n,r){return(0,s.get)(e.entities.data,[t,n,"edits",r])}const Ke=Te(((e,t,n,r)=>{const{transientEdits:i}=Ve(e,t,n)||{},o=Ye(e,t,n,r)||{};return i?Object.keys(o).reduce(((e,t)=>(i[t]||(e[t]=o[t]),e)),{}):o}),((e,t,n,r)=>[e.entities.config,(0,s.get)(e.entities.data,[t,n,"edits",r])]));function He(e,t,n,r){return Xe(e,t,n,r)||Object.keys(Ke(e,t,n,r)).length>0}const We=Te(((e,t,n,r)=>({...Ge(e,t,n,r),...Ye(e,t,n,r)})),((e,t,n,r,i)=>{var o;const a=null!==(o=null==i?void 0:i.context)&&void 0!==o?o:"default";return[e.entities.config,(0,s.get)(e.entities.data,[t,n,"queriedData","items",a,r]),(0,s.get)(e.entities.data,[t,n,"queriedData","itemIsComplete",a,r]),(0,s.get)(e.entities.data,[t,n,"edits",r])]}));function ze(e,t,n,r){const{pending:i,isAutosave:o}=(0,s.get)(e.entities.data,[t,n,"saving",r],{});return Boolean(i&&o)}function Xe(e,t,n,r){return(0,s.get)(e.entities.data,[t,n,"saving",r,"pending"],!1)}function Je(e,t,n,r){return(0,s.get)(e.entities.data,[t,n,"deleting",r,"pending"],!1)}function Ze(e,t,n,r){return(0,s.get)(e.entities.data,[t,n,"saving",r,"error"])}function et(e,t,n,r){return(0,s.get)(e.entities.data,[t,n,"deleting",r,"error"])}function tt(e){return e.undo.offset}function nt(e){return e.undo[e.undo.length-2+tt(e)]}function rt(e){return e.undo[e.undo.length+tt(e)]}function it(e){return Boolean(nt(e))}function ot(e){return Boolean(rt(e))}function st(e){return Me(e,"root","theme",e.currentTheme)}function at(e){return e.currentGlobalStylesId}function ut(e){var t,n;return null!==(t=null===(n=st(e))||void 0===n?void 0:n.theme_supports)&&void 0!==t?t:Ce}function ct(e,t){return e.embedPreviews[t]}function lt(e,t){const n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function dt(e,t,n,r){const i=(0,s.compact)([t,n,r]).join("/");return(0,s.get)(e,["userPermissions",i])}function ft(e,t,n,r){const i=Ve(e,t,n);if(!i)return!1;return dt(e,"update",i.__unstable_rest_base,r)}function pt(e,t,n){return e.autosaves[n]}function yt(e,t,n,r){if(void 0===r)return;const i=e.autosaves[n];return(0,s.find)(i,{author:r})}const vt=(0,o.createRegistrySelector)((e=>(t,n,r)=>e(P).hasFinishedResolution("getAutosaves",[n,r]))),ht=Te((()=>[]),(e=>[e.undo.length,e.undo.offset,e.undo.flattenedUndo]));function Et(e,t){const n=Be(e,"postType","wp_template",{"find-template":t}),r=null!=n&&n.length?n[0]:null;return r?We(e,"postType","wp_template",r.id):r}function mt(e){const t=st(e);return t?e.themeBaseGlobalStyles[t.stylesheet]:null}var gt=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return async t=>{let{resolveSelect:r}=t;await r[e](...n)}};const _t=e=>async t=>{let{dispatch:n}=t;const r=(0,T.addQueryArgs)("/wp/v2/users/?who=authors&per_page=100",e),i=await v()({path:r});n.receiveUserQuery(r,i)},bt=()=>async e=>{let{dispatch:t}=e;const n=await v()({path:"/wp/v2/users/me"});t.receiveCurrentUser(n)},Rt=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3?arguments[3]:void 0;return async i=>{let{select:o,dispatch:a}=i;const u=await a(ue(e)),c=(0,s.find)(u,{kind:e,name:t});if(!c||null!=c&&c.__experimentalNoFetch)return;const l=await a.__unstableAcquireStoreLock(P,["entities","data",e,t,n],{exclusive:!1});try{void 0!==r&&r._fields&&(r={...r,_fields:(0,s.uniq)([...ce(r._fields)||[],c.key||ne]).join()});const i=(0,T.addQueryArgs)(c.baseURL+(n?"/"+n:""),{...c.baseURLParams,...r});if(void 0!==r){r={...r,include:[n]};if(o.hasEntityRecords(e,t,r))return}const u=await v()({path:i});a.receiveEntityRecords(e,t,u,r)}catch(e){}finally{a.__unstableReleaseStoreLock(l)}}},wt=gt("getEntityRecord"),kt=gt("getEntityRecord"),Tt=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return async r=>{let{dispatch:i}=r;const o=await i(ue(e)),a=(0,s.find)(o,{kind:e,name:t});if(!a||null!=a&&a.__experimentalNoFetch)return;const u=await i.__unstableAcquireStoreLock(P,["entities","data",e,t],{exclusive:!1});try{var c;n._fields&&(n={...n,_fields:(0,s.uniq)([...ce(n._fields)||[],a.key||ne]).join()});const r=(0,T.addQueryArgs)(a.baseURL,{...a.baseURLParams,...n});let o=Object.values(await v()({path:r}));if(n._fields&&(o=o.map((e=>(n._fields.split(",").forEach((t=>{e.hasOwnProperty(t)||(e[t]=void 0)})),e)))),i.receiveEntityRecords(e,t,o,n),!(null!==(c=n)&&void 0!==c&&c._fields||n.context)){const n=a.key||ne,r=o.filter((e=>e[n])).map((r=>[e,t,r[n]]));i({type:"START_RESOLUTIONS",selectorName:"getEntityRecord",args:r}),i({type:"FINISH_RESOLUTIONS",selectorName:"getEntityRecord",args:r})}}catch(e){}finally{i.__unstableReleaseStoreLock(u)}}};Tt.shouldInvalidate=(e,t,n)=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&t===e.kind&&n===e.name;const It=()=>async e=>{let{dispatch:t,resolveSelect:n}=e;const r=await n.getEntityRecords("root","theme",{status:"active"});t.receiveCurrentTheme(r[0])},St=gt("getCurrentTheme"),Ut=e=>async t=>{let{dispatch:n}=t;try{const t=await v()({path:(0,T.addQueryArgs)("/oembed/1.0/proxy",{url:e})});n.receiveEmbedPreview(e,t)}catch(t){n.receiveEmbedPreview(e,!1)}},At=(e,t,n)=>async r=>{let{dispatch:i}=r;const o={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e];if(!o)throw new Error(`'${e}' is not a valid action.`);const a=n?`/wp/v2/${t}/${n}`:`/wp/v2/${t}`;let u,c;try{u=await v()({path:a,method:n?"GET":"OPTIONS",parse:!1})}catch(e){return}c=(0,s.hasIn)(u,["headers","get"])?u.headers.get("allow"):(0,s.get)(u,["headers","Allow"],"");const l=(0,s.compact)([e,t,n]).join("/"),d=(0,s.includes)(c,o);i.receiveUserPermission(l,d)},xt=(e,t,n)=>async r=>{let{dispatch:i}=r;const o=await i(ue(e)),a=(0,s.find)(o,{kind:e,name:t});if(!a)return;const u=a.__unstable_rest_base;await i(At("update",u,n))},Ct=(e,t)=>async n=>{let{dispatch:r,resolveSelect:i}=n;const{rest_base:o}=await i.getPostType(e),s=await v()({path:`/wp/v2/${o}/${t}/autosaves?context=edit`});s&&s.length&&r.receiveAutosaves(t,s)},Lt=(e,t)=>async n=>{let{resolveSelect:r}=n;await r.getAutosaves(e,t)},Ot=e=>async t=>{let n,{dispatch:r,resolveSelect:i}=t;try{n=await window.fetch((0,T.addQueryArgs)(e,{"_wp-find-template":!0})).then((e=>e.json())).then((e=>{let{data:t}=e;return t}))}catch(e){}if(!n)return;const o=await i.getEntityRecord("postType","wp_template",n.id);o&&r.receiveEntityRecords("postType","wp_template",[o],{"find-template":e})};Ot.shouldInvalidate=e=>("RECEIVE_ITEMS"===e.type||"REMOVE_ITEMS"===e.type)&&e.invalidateCache&&"postType"===e.kind&&"wp_template"===e.name;const Pt=()=>async e=>{let{dispatch:t,resolveSelect:n}=e;const r=await n.getEntityRecords("root","theme",{status:"active"}),i=(0,s.get)(r,[0,"_links","wp:user-global-styles",0,"href"]);if(i){const e=await v()({url:i});t.__experimentalReceiveCurrentGlobalStylesId(e.id)}},Dt=()=>async e=>{let{resolveSelect:t,dispatch:n}=e;const r=await t.getCurrentTheme(),i=await v()({path:`/wp/v2/global-styles/themes/${r.stylesheet}`});await n.__experimentalReceiveThemeBaseGlobalStyles(r.stylesheet,i)};function Nt(e,t){const n={...e};let r=n;for(const e of t)r.children={...r.children,[e]:{locks:[],children:{},...r.children[e]}},r=r.children[e];return n}function qt(e,t){let n=e;for(const e of t){const t=n.children[e];if(!t)return null;n=t}return n}function Vt(e,t){let{exclusive:n}=e;return!(!n||!t.length)||!(n||!t.filter((e=>e.exclusive)).length)}const Mt={requests:[],tree:{locks:[],children:{}}};function jt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENQUEUE_LOCK_REQUEST":{const{request:n}=t;return{...e,requests:[n,...e.requests]}}case"GRANT_LOCK_REQUEST":{const{lock:n,request:r}=t,{store:i,path:o}=r,s=[i,...o],a=Nt(e.tree,s),u=qt(a,s);return u.locks=[...u.locks,n],{...e,requests:e.requests.filter((e=>e!==r)),tree:a}}case"RELEASE_LOCK":{const{lock:n}=t,r=[n.store,...n.path],i=Nt(e.tree,r),o=qt(i,r);return o.locks=o.locks.filter((e=>e!==n)),{...e,tree:i}}}return e}function Gt(e,t,n,r){let{exclusive:i}=r;const o=[t,...n],s=e.tree;for(const e of function*(e,t){let n=e;yield n;for(const e of t){const t=n.children[e];if(!t)break;yield t,n=t}}(s,o))if(Vt({exclusive:i},e.locks))return!1;const a=qt(s,o);if(!a)return!0;for(const e of function*(e){const t=Object.values(e.children);for(;t.length;){const e=t.pop();yield e,t.push(...Object.values(e.children))}}(a))if(Vt({exclusive:i},e.locks))return!1;return!0}function Ft(){let e=jt(void 0,{type:"@@INIT"});function t(){for(const t of function(e){return e.requests}(e)){const{store:n,path:r,exclusive:i,notifyAcquired:o}=t;if(Gt(e,n,r,{exclusive:i})){const s={store:n,path:r,exclusive:i};e=jt(e,{type:"GRANT_LOCK_REQUEST",lock:s,request:t}),o(s)}}}return{acquire:function(n,r,i){return new Promise((o=>{e=jt(e,{type:"ENQUEUE_LOCK_REQUEST",request:{store:n,path:r,exclusive:i,notifyAcquired:o}}),t()}))},release:function(n){e=jt(e,{type:"RELEASE_LOCK",lock:n}),t()}}}function Bt(){const e=Ft();return{__unstableAcquireStoreLock:function(t,n,r){let{exclusive:i}=r;return()=>e.acquire(t,n,i)},__unstableReleaseStoreLock:function(t){return()=>e.release(t)}}}var $t=window.wp.element,Qt=window.wp.blocks;const Yt=[],Kt={...ie.reduce(((e,t)=>(e[t.kind]||(e[t.kind]={}),e[t.kind][t.name]={context:(0,$t.createContext)()},e)),{}),...oe.reduce(((e,t)=>(e[t.name]={},e)),{})},Ht=(e,t)=>{if(!Kt[e])throw new Error(`Missing entity config for kind: ${e}.`);return Kt[e][t]||(Kt[e][t]={context:(0,$t.createContext)()}),Kt[e][t]};function Wt(e){let{kind:t,type:n,id:r,children:i}=e;const o=Ht(t,n).context.Provider;return(0,$t.createElement)(o,{value:r},i)}function zt(e,t){return(0,$t.useContext)(Ht(e,t).context)}function Xt(e,t,n,r){const i=zt(e,t),s=null!=r?r:i,{value:a,fullValue:u}=(0,o.useSelect)((r=>{const{getEntityRecord:i,getEditedEntityRecord:o}=r(P),a=i(e,t,s),u=o(e,t,s);return a&&u?{value:u[n],fullValue:a[n]}:{}}),[e,t,s,n]),{editEntityRecord:c}=(0,o.useDispatch)(P);return[a,(0,$t.useCallback)((r=>{c(e,t,s,{[n]:r})}),[e,t,s,n]),u]}function Jt(e,t){let{id:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=zt(e,t),i=null!=n?n:r,{content:s,blocks:a}=(0,o.useSelect)((n=>{const{getEditedEntityRecord:r}=n(P),o=r(e,t,i);return{blocks:o.blocks,content:o.content}}),[e,t,i]),{__unstableCreateUndoLevel:u,editEntityRecord:c}=(0,o.useDispatch)(P);(0,$t.useEffect)((()=>{if(s&&"function"!=typeof s&&!a){const n=(0,Qt.parse)(s);c(e,t,i,{blocks:n},{undoIgnore:!0})}}),[s]);const l=(0,$t.useCallback)(((n,r)=>{const{selection:o}=r,s={blocks:n,selection:o};if(a===s.blocks)return u(e,t,i);s.content=e=>{let{blocks:t=[]}=e;return(0,Qt.__unstableSerializeAndClean)(t)},c(e,t,i,s)}),[e,t,i,a]),d=(0,$t.useCallback)(((n,r)=>{const{selection:o}=r;c(e,t,i,{blocks:n,selection:o})}),[e,t,i]);return[null!=a?a:Yt,d,l]}var Zt=window.wp.htmlEntities;var en=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{isInitialSuggestions:r=!1,type:i,subtype:o,page:s,perPage:a=(r?3:20)}=t,{disablePostFormats:u=!1}=n,c=[];return i&&"post"!==i||c.push(v()({path:(0,T.addQueryArgs)("/wp/v2/search",{search:e,page:s,per_page:a,type:"post",subtype:o})}).then((e=>e.map((e=>({...e,meta:{kind:"post-type",subtype:o}}))))).catch((()=>[]))),i&&"term"!==i||c.push(v()({path:(0,T.addQueryArgs)("/wp/v2/search",{search:e,page:s,per_page:a,type:"term",subtype:o})}).then((e=>e.map((e=>({...e,meta:{kind:"taxonomy",subtype:o}}))))).catch((()=>[]))),u||i&&"post-format"!==i||c.push(v()({path:(0,T.addQueryArgs)("/wp/v2/search",{search:e,page:s,per_page:a,type:"post-format",subtype:o})}).then((e=>e.map((e=>({...e,meta:{kind:"taxonomy",subtype:o}}))))).catch((()=>[]))),Promise.all(c).then((e=>e.reduce(((e,t)=>e.concat(t)),[]).filter((e=>!!e.id)).slice(0,a).map((e=>{var t;return{id:e.id,url:e.url,title:(0,Zt.decodeEntities)(e.title||"")||(0,h.__)("(no title)"),type:e.subtype||e.type,kind:null==e||null===(t=e.meta)||void 0===t?void 0:t.kind}}))))};const tn=new Map;var nn=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="/wp-block-editor/v1/url-details",r={url:(0,T.prependHTTP)(e)};if(!(0,T.isURL)(e))return Promise.reject(`${e} is not a valid URL.`);const i=(0,T.getProtocol)(e);return(0,T.isValidProtocol)(i)&&i.startsWith("http")&&/^https?:\/\/[^\/\s]/i.test(e)?tn.has(e)?tn.get(e):v()({path:(0,T.addQueryArgs)(n,r),...t}).then((t=>(tn.set(e,t),t))):Promise.reject(`${e} does not have a valid protocol. URLs must be "http" based`)};const rn=ie.reduce(((e,t)=>{const{kind:n,name:r}=t;return e[ae(n,r)]=(e,t,i)=>Me(e,n,r,t,i),e[ae(n,r,"get",!0)]=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return Be(e,n,r,...i)},e}),{}),on=ie.reduce(((e,t)=>{const{kind:n,name:r}=t;e[ae(n,r)]=(e,t)=>Rt(n,r,e,t);const i=ae(n,r,"get",!0);return e[i]=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return Tt(n,r,...t)},e[i].shouldInvalidate=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return Tt.shouldInvalidate(e,n,r,...i)},e}),{}),sn=ie.reduce(((e,t)=>{const{kind:n,name:r}=t;return e[ae(n,r,"save")]=e=>W(n,r,e),e[ae(n,r,"delete")]=(e,t)=>$(n,r,e,t),e}),{}),an=(0,o.createReduxStore)(P,{reducer:be,actions:{...e,...sn,...Bt()},selectors:{...t,...rn},resolvers:{...i,...on},__experimentalUseThunks:!0});(0,o.register)(an)}(),(window.wp=window.wp||{}).coreData=r}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/customize-widgets.js b/wp-includes/js/dist/customize-widgets.js
index b4ec453b19..4b3fe42b43 100644
--- a/wp-includes/js/dist/customize-widgets.js
+++ b/wp-includes/js/dist/customize-widgets.js
@@ -1,169 +1,227 @@
-this["wp"] = this["wp"] || {}; this["wp"]["customizeWidgets"] =
-/******/ (function(modules) { // webpackBootstrap
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({
+
+/***/ 4403:
+/***/ (function(module, exports) {
+
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */
+
+(function () {
+	'use strict';
+
+	var hasOwn = {}.hasOwnProperty;
+
+	function classNames() {
+		var classes = [];
+
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;
+
+			var argType = typeof arg;
+
+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}
+
+		return classes.join(' ');
+	}
+
+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());
+
+
+/***/ })
+
+/******/ 	});
+/************************************************************************/
 /******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
+/******/ 	var __webpack_module_cache__ = {};
+/******/
 /******/ 	// The require function
 /******/ 	function __webpack_require__(moduleId) {
-/******/
 /******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
 /******/ 		}
 /******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
 /******/ 			exports: {}
 /******/ 		};
-/******/
+/******/
 /******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
 /******/ 		// Return the exports of the module
 /******/ 		return module.exports;
 /******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "9pbN");
-/******/ })
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1CF3":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["dom"]; }());
-
-/***/ }),
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "6aBm":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["mediaUtils"]; }());
-
-/***/ }),
-
-/***/ "9pbN":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
 "use strict";
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "initialize", function() { return /* binding */ initialize; });
-
-// NAMESPACE OBJECT: ./node_modules/@wordpress/customize-widgets/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "isInserterOpened", function() { return selectors_isInserterOpened; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetInsertionPoint", function() { return __experimentalGetInsertionPoint; });
+__webpack_require__.d(__webpack_exports__, {
+  "initialize": function() { return /* binding */ initialize; }
+});

-// NAMESPACE OBJECT: ./node_modules/@wordpress/customize-widgets/build-module/store/actions.js
+// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "setIsInserterOpened", function() { return actions_setIsInserterOpened; });
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","blockLibrary"]
-var external_wp_blockLibrary_ = __webpack_require__("QyPg");
-
-// EXTERNAL MODULE: external ["wp","widgets"]
-var external_wp_widgets_ = __webpack_require__("GLVC");
+__webpack_require__.d(actions_namespaceObject, {
+  "disableComplementaryArea": function() { return disableComplementaryArea; },
+  "enableComplementaryArea": function() { return enableComplementaryArea; },
+  "pinItem": function() { return pinItem; },
+  "setFeatureDefaults": function() { return setFeatureDefaults; },
+  "setFeatureValue": function() { return setFeatureValue; },
+  "toggleFeature": function() { return toggleFeature; },
+  "unpinItem": function() { return unpinItem; }
+});

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/selectors.js
+var selectors_namespaceObject = {};
+__webpack_require__.r(selectors_namespaceObject);
+__webpack_require__.d(selectors_namespaceObject, {
+  "getActiveComplementaryArea": function() { return getActiveComplementaryArea; },
+  "isFeatureActive": function() { return isFeatureActive; },
+  "isItemPinned": function() { return isItemPinned; }
+});

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+// NAMESPACE OBJECT: ./node_modules/@wordpress/customize-widgets/build-module/store/selectors.js
+var store_selectors_namespaceObject = {};
+__webpack_require__.r(store_selectors_namespaceObject);
+__webpack_require__.d(store_selectors_namespaceObject, {
+  "__experimentalGetInsertionPoint": function() { return __experimentalGetInsertionPoint; },
+  "isInserterOpened": function() { return isInserterOpened; }
+});

-// EXTERNAL MODULE: ./node_modules/@wordpress/interface/build-module/index.js + 17 modules
-var build_module = __webpack_require__("U60i");
+// NAMESPACE OBJECT: ./node_modules/@wordpress/customize-widgets/build-module/store/actions.js
+var store_actions_namespaceObject = {};
+__webpack_require__.r(store_actions_namespaceObject);
+__webpack_require__.d(store_actions_namespaceObject, {
+  "setIsInserterOpened": function() { return setIsInserterOpened; }
+});

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","blockLibrary"]
+var external_wp_blockLibrary_namespaceObject = window["wp"]["blockLibrary"];
+;// CONCATENATED MODULE: external ["wp","widgets"]
+var external_wp_widgets_namespaceObject = window["wp"]["widgets"];
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+// EXTERNAL MODULE: ./node_modules/classnames/index.js
+var classnames = __webpack_require__(4403);
+var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js

-// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
-var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");
+const moreVertical = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
+}));
+/* harmony default export */ var more_vertical = (moreVertical);

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-dropdown/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/error-boundary/index.js

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -172,448 +230,472 @@ var external_wp_compose_ = __webpack_require__("K9lf");



-
-
-function CopyButton(_ref) {
+function MoreMenuDropdown(_ref) {
   let {
-    text,
+    as: DropdownComponent = external_wp_components_namespaceObject.DropdownMenu,
+    className,
+
+    /* translators: button label text should, if possible, be under 16 characters. */
+    label = (0,external_wp_i18n_namespaceObject.__)('Options'),
+    popoverProps,
+    toggleProps,
     children
   } = _ref;
-  const ref = Object(external_wp_compose_["useCopyToClipboard"])(text);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    ref: ref
-  }, children);
-}
-
-class error_boundary_ErrorBoundary extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.state = {
-      error: null
-    };
-  }
-
-  componentDidCatch(error) {
-    this.setState({
-      error
-    });
-  }
-
-  render() {
-    const {
-      error
-    } = this.state;
-
-    if (!error) {
-      return this.props.children;
+  return (0,external_wp_element_namespaceObject.createElement)(DropdownComponent, {
+    className: classnames_default()('interface-more-menu-dropdown', className),
+    icon: more_vertical,
+    label: label,
+    popoverProps: {
+      position: 'bottom left',
+      ...popoverProps,
+      className: classnames_default()('interface-more-menu-dropdown__content', popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.className)
+    },
+    toggleProps: {
+      tooltipPosition: 'bottom',
+      ...toggleProps
     }
-
-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], {
-      className: "customize-widgets-error-boundary",
-      actions: [Object(external_wp_element_["createElement"])(CopyButton, {
-        key: "copy-error",
-        text: error.stack
-      }, Object(external_wp_i18n_["__"])('Copy Error'))]
-    }, Object(external_wp_i18n_["__"])('The editor has encountered an unexpected error.'));
-  }
-
+  }, onClose => children(onClose));
 }

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
-
-// EXTERNAL MODULE: external ["wp","mediaUtils"]
-var external_wp_mediaUtils_ = __webpack_require__("6aBm");
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/block-inspector-button/index.js
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js


 /**
  * WordPress dependencies
  */

+const check = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
+}));
+/* harmony default export */ var library_check = (check);

+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/reducer.js
+/**
+ * External dependencies
+ */

-
-
-
-function BlockInspectorButton(_ref) {
-  let {
-    inspector,
-    closeMenu,
-    ...props
-  } = _ref;
-  const selectedBlockClientId = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).getSelectedBlockClientId(), []);
-  const selectedBlock = Object(external_wp_element_["useMemo"])(() => document.getElementById(`block-${selectedBlockClientId}`), [selectedBlockClientId]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], Object(esm_extends["a" /* default */])({
-    onClick: () => {
-      // Open the inspector.
-      inspector.open({
-        returnFocusWhenClose: selectedBlock
-      }); // Then close the dropdown menu.
-
-      closeMenu();
-    }
-  }, props), Object(external_wp_i18n_["__"])('Show more settings'));
-}
-
-/* harmony default export */ var block_inspector_button = (BlockInspectorButton);
-
-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/undo.js
-var library_undo = __webpack_require__("Ntru");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/redo.js
-var library_redo = __webpack_require__("K2cm");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
-var plus = __webpack_require__("Q4Sy");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/reducer.js
 /**
  * WordPress dependencies
  */

+
 /**
- * Reducer tracking whether the inserter is open.
+ * Reducer to keep tract of the active area per scope.
  *
- * @param {boolean|Object} state
- * @param {Object}         action
+ * @param {boolean} state           Previous state.
+ * @param {Object}  action          Action object.
+ * @param {string}  action.type     Action type.
+ * @param {string}  action.itemType Type of item.
+ * @param {string}  action.scope    Item scope.
+ * @param {string}  action.item     Item name.
+ *
+ * @return {Object} Updated state.
  */

-function blockInserterPanel() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+function singleEnableItems() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let {
+    type,
+    itemType,
+    scope,
+    item
+  } = arguments.length > 1 ? arguments[1] : undefined;

-  switch (action.type) {
-    case 'SET_IS_INSERTER_OPENED':
-      return action.value;
+  if (type !== 'SET_SINGLE_ENABLE_ITEM' || !itemType || !scope) {
+    return state;
   }

-  return state;
+  return { ...state,
+    [itemType]: { ...state[itemType],
+      [scope]: item || null
+    }
+  };
 }
-
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  blockInserterPanel
-}));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/selectors.js
 /**
- * Returns true if the inserter is opened.
- *
- * @param {Object} state Global application state.
+ * Reducer keeping track of the "pinned" items per scope.
  *
- * @return {boolean} Whether the inserter is opened.
- */
-function selectors_isInserterOpened(state) {
-  return !!state.blockInserterPanel;
-}
-/**
- * Get the insertion point for the inserter.
- *
- * @param {Object} state Global application state.
+ * @param {boolean} state           Previous state.
+ * @param {Object}  action          Action object.
+ * @param {string}  action.type     Action type.
+ * @param {string}  action.itemType Type of item.
+ * @param {string}  action.scope    Item scope.
+ * @param {string}  action.item     Item name.
+ * @param {boolean} action.isEnable Whether the item is pinned.
  *
- * @return {Object} The root client ID and index to insert at.
+ * @return {Object} Updated state.
  */

-function __experimentalGetInsertionPoint(state) {
-  const {
-    rootClientId,
-    insertionIndex
-  } = state.blockInserterPanel;
-  return {
-    rootClientId,
-    insertionIndex
+function multipleEnableItems() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let {
+    type,
+    itemType,
+    scope,
+    item,
+    isEnable
+  } = arguments.length > 1 ? arguments[1] : undefined;
+
+  if (type !== 'SET_MULTIPLE_ENABLE_ITEM' || !itemType || !scope || !item || (0,external_lodash_namespaceObject.get)(state, [itemType, scope, item]) === isEnable) {
+    return state;
+  }
+
+  const currentTypeState = state[itemType] || {};
+  const currentScopeState = currentTypeState[scope] || {};
+  return { ...state,
+    [itemType]: { ...currentTypeState,
+      [scope]: { ...currentScopeState,
+        [item]: isEnable || false
+      }
+    }
   };
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/actions.js
 /**
- * Returns an action object used to open/close the inserter.
+ * Reducer returning the defaults for user preferences.
  *
- * @param {boolean|Object} value                Whether the inserter should be
- *                                              opened (true) or closed (false).
- *                                              To specify an insertion point,
- *                                              use an object.
- * @param {string}         value.rootClientId   The root client ID to insert at.
- * @param {number}         value.insertionIndex The index to insert at.
+ * This is kept intentionally separate from the preferences
+ * themselves so that defaults are not persisted.
  *
- * @return {Object} Action object.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */
-function actions_setIsInserterOpened(value) {
-  return {
-    type: 'SET_IS_INSERTER_OPENED',
-    value
-  };
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/constants.js
-/**
- * Module Constants
- */
-const STORE_NAME = 'core/customize-widgets';
+const preferenceDefaults = (0,external_wp_data_namespaceObject.combineReducers)({
+  features() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/index.js
-/**
- * WordPress dependencies
- */
+    if (action.type === 'SET_FEATURE_DEFAULTS') {
+      const {
+        scope,
+        defaults
+      } = action;
+      return { ...state,
+        [scope]: { ...state[scope],
+          ...defaults
+        }
+      };
+    }
+
+    return state;
+  }

+});
 /**
- * Internal dependencies
+ * Reducer returning the user preferences.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */

+const preferences = (0,external_wp_data_namespaceObject.combineReducers)({
+  features() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;

+    if (action.type === 'SET_FEATURE_VALUE') {
+      const {
+        scope,
+        featureName,
+        value
+      } = action;
+      return { ...state,
+        [scope]: { ...state[scope],
+          [featureName]: value
+        }
+      };
+    }

+    return state;
+  }

+});
+const enableItems = (0,external_wp_data_namespaceObject.combineReducers)({
+  singleEnableItems,
+  multipleEnableItems
+});
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  enableItems,
+  preferenceDefaults,
+  preferences
+}));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/actions.js
 /**
- * Block editor data store configuration.
+ * Returns an action object used in signalling that an active area should be changed.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Item scope.
+ * @param {string} item     Item identifier.
  *
- * @type {Object}
+ * @return {Object} Action object.
  */
-
-const storeConfig = {
-  reducer: reducer,
-  selectors: selectors_namespaceObject,
-  actions: actions_namespaceObject
-};
+function setSingleEnableItem(itemType, scope, item) {
+  return {
+    type: 'SET_SINGLE_ENABLE_ITEM',
+    itemType,
+    scope,
+    item
+  };
+}
 /**
- * Store definition for the edit widgets namespace.
+ * Returns an action object used in signalling that a complementary item should be enabled.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ * @param {string} scope Complementary area scope.
+ * @param {string} area  Area identifier.
  *
- * @type {Object}
+ * @return {Object} Action object.
  */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, storeConfig); // Once we build a more generic persistence plugin that works across types of stores
-// we'd be able to replace this with a register call.
-
-Object(external_wp_data_["registerStore"])(STORE_NAME, storeConfig);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/inserter/index.js
-

+function enableComplementaryArea(scope, area) {
+  return setSingleEnableItem('complementaryArea', scope, area);
+}
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that the complementary area of a given scope should be disabled.
+ *
+ * @param {string} scope Complementary area scope.
+ *
+ * @return {Object} Action object.
  */

-
-
-
-
-
+function disableComplementaryArea(scope) {
+  return setSingleEnableItem('complementaryArea', scope, undefined);
+}
 /**
- * Internal dependencies
+ * Returns an action object to make an area enabled/disabled.
+ *
+ * @param {string}  itemType Type of item.
+ * @param {string}  scope    Item scope.
+ * @param {string}  item     Item identifier.
+ * @param {boolean} isEnable Boolean indicating if an area should be pinned or not.
+ *
+ * @return {Object} Action object.
  */

-
-
-function Inserter(_ref) {
-  let {
-    setIsOpened
-  } = _ref;
-  const inserterTitleId = Object(external_wp_compose_["useInstanceId"])(Inserter, 'customize-widget-layout__inserter-panel-title');
-  const insertionPoint = Object(external_wp_data_["useSelect"])(select => select(store).__experimentalGetInsertionPoint(), []);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "customize-widgets-layout__inserter-panel",
-    "aria-labelledby": inserterTitleId
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "customize-widgets-layout__inserter-panel-header"
-  }, Object(external_wp_element_["createElement"])("h2", {
-    id: inserterTitleId,
-    className: "customize-widgets-layout__inserter-panel-header-title"
-  }, Object(external_wp_i18n_["__"])('Add a block')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "customize-widgets-layout__inserter-panel-header-close-button",
-    icon: close_small["a" /* default */],
-    onClick: () => setIsOpened(false),
-    "aria-label": Object(external_wp_i18n_["__"])('Close inserter')
-  })), Object(external_wp_element_["createElement"])("div", {
-    className: "customize-widgets-layout__inserter-panel-content"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLibrary"], {
-    rootClientId: insertionPoint.rootClientId,
-    __experimentalInsertionIndex: insertionPoint.insertionIndex,
-    showInserterHelpPanel: true,
-    onSelect: () => setIsOpened(false)
-  })));
+function setMultipleEnableItem(itemType, scope, item, isEnable) {
+  return {
+    type: 'SET_MULTIPLE_ENABLE_ITEM',
+    itemType,
+    scope,
+    item,
+    isEnable
+  };
 }
-
-/* harmony default export */ var components_inserter = (Inserter);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
-var external = __webpack_require__("K+tz");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/config.js
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that an item should be pinned.
+ *
+ * @param {string} scope  Item scope.
+ * @param {string} itemId Item identifier.
+ *
+ * @return {Object} Action object.
  */

-const textFormattingShortcuts = [{
-  keyCombination: {
-    modifier: 'primary',
-    character: 'b'
-  },
-  description: Object(external_wp_i18n_["__"])('Make the selected text bold.')
-}, {
-  keyCombination: {
-    modifier: 'primary',
-    character: 'i'
-  },
-  description: Object(external_wp_i18n_["__"])('Make the selected text italic.')
-}, {
-  keyCombination: {
-    modifier: 'primary',
-    character: 'k'
-  },
-  description: Object(external_wp_i18n_["__"])('Convert the selected text into a link.')
-}, {
-  keyCombination: {
-    modifier: 'primaryShift',
-    character: 'k'
-  },
-  description: Object(external_wp_i18n_["__"])('Remove a link.')
-}, {
-  keyCombination: {
-    modifier: 'primary',
-    character: 'u'
-  },
-  description: Object(external_wp_i18n_["__"])('Underline the selected text.')
-}];
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/shortcut.js
-

+function pinItem(scope, itemId) {
+  return setMultipleEnableItem('pinnedItems', scope, itemId, true);
+}
 /**
- * External dependencies
+ * Returns an action object used in signalling that an item should be unpinned.
+ *
+ * @param {string} scope  Item scope.
+ * @param {string} itemId Item identifier.
+ *
+ * @return {Object} Action object.
  */

+function unpinItem(scope, itemId) {
+  return setMultipleEnableItem('pinnedItems', scope, itemId, false);
+}
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that a feature should be toggled.
+ *
+ * @param {string} scope       The feature scope (e.g. core/edit-post).
+ * @param {string} featureName The feature name.
  */

+function toggleFeature(scope, featureName) {
+  return function (_ref) {
+    let {
+      select,
+      dispatch
+    } = _ref;
+    const currentValue = select.isFeatureActive(scope, featureName);
+    dispatch.setFeatureValue(scope, featureName, !currentValue);
+  };
+}
+/**
+ * Returns an action object used in signalling that a feature should be set to
+ * a true or false value
+ *
+ * @param {string}  scope       The feature scope (e.g. core/edit-post).
+ * @param {string}  featureName The feature name.
+ * @param {boolean} value       The value to set.
+ *
+ * @return {Object} Action object.
+ */

+function setFeatureValue(scope, featureName, value) {
+  return {
+    type: 'SET_FEATURE_VALUE',
+    scope,
+    featureName,
+    value: !!value
+  };
+}
+/**
+ * Returns an action object used in signalling that defaults should be set for features.
+ *
+ * @param {string}                  scope    The feature scope (e.g. core/edit-post).
+ * @param {Object<string, boolean>} defaults A key/value map of feature names to values.
+ *
+ * @return {Object} Action object.
+ */

+function setFeatureDefaults(scope, defaults) {
+  return {
+    type: 'SET_FEATURE_DEFAULTS',
+    scope,
+    defaults
+  };
+}

-function KeyCombination(_ref) {
-  let {
-    keyCombination,
-    forceAriaLabel
-  } = _ref;
-  const shortcut = keyCombination.modifier ? external_wp_keycodes_["displayShortcutList"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
-  const ariaLabel = keyCombination.modifier ? external_wp_keycodes_["shortcutAriaLabel"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
-  return Object(external_wp_element_["createElement"])("kbd", {
-    className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination",
-    "aria-label": forceAriaLabel || ariaLabel
-  }, Object(external_lodash_["castArray"])(shortcut).map((character, index) => {
-    if (character === '+') {
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], {
-        key: index
-      }, character);
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/selectors.js
+/**
+ * External dependencies
+ */

-    return Object(external_wp_element_["createElement"])("kbd", {
-      key: index,
-      className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-key"
-    }, character);
-  }));
-}
+/**
+ * Returns the item that is enabled in a given scope.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Item scope.
+ *
+ * @return {?string|null} The item that is enabled in the passed scope and type.
+ */

-function Shortcut(_ref2) {
-  let {
-    description,
-    keyCombination,
-    aliases = [],
-    ariaLabel
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-description"
-  }, description), Object(external_wp_element_["createElement"])("div", {
-    className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-term"
-  }, Object(external_wp_element_["createElement"])(KeyCombination, {
-    keyCombination: keyCombination,
-    forceAriaLabel: ariaLabel
-  }), aliases.map((alias, index) => Object(external_wp_element_["createElement"])(KeyCombination, {
-    keyCombination: alias,
-    forceAriaLabel: ariaLabel,
-    key: index
-  }))));
+function getSingleEnableItem(state, itemType, scope) {
+  return (0,external_lodash_namespaceObject.get)(state.enableItems.singleEnableItems, [itemType, scope]);
 }
+/**
+ * Returns the complementary area that is active in a given scope.
+ *
+ * @param {Object} state Global application state.
+ * @param {string} scope Item scope.
+ *
+ * @return {string} The complementary area that is active in the given scope.
+ */

-/* harmony default export */ var keyboard_shortcut_help_modal_shortcut = (Shortcut);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js

+function getActiveComplementaryArea(state, scope) {
+  return getSingleEnableItem(state, 'complementaryArea', scope);
+}
+/**
+ * Returns a boolean indicating if an item is enabled or not in a given scope.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Scope.
+ * @param {string} item     Item to check.
+ *
+ * @return {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
+ */

+function isMultipleEnabledItemEnabled(state, itemType, scope, item) {
+  return (0,external_lodash_namespaceObject.get)(state.enableItems.multipleEnableItems, [itemType, scope, item]);
+}
 /**
- * WordPress dependencies
+ * Returns a boolean indicating if an item is pinned or not.
+ *
+ * @param {Object} state Global application state.
+ * @param {string} scope Scope.
+ * @param {string} item  Item to check.
+ *
+ * @return {boolean} True if the item is pinned and false otherwise.
  */


+function isItemPinned(state, scope, item) {
+  return isMultipleEnabledItemEnabled(state, 'pinnedItems', scope, item) !== false;
+}
 /**
- * Internal dependencies
+ * Returns a boolean indicating whether a feature is active for a particular
+ * scope.
+ *
+ * @param {Object} state       The store state.
+ * @param {string} scope       The scope of the feature (e.g. core/edit-post).
+ * @param {string} featureName The name of the feature.
+ *
+ * @return {boolean} Is the feature enabled?
  */

+function isFeatureActive(state, scope, featureName) {
+  var _state$preferences$fe, _state$preferenceDefa;

+  const featureValue = (_state$preferences$fe = state.preferences.features[scope]) === null || _state$preferences$fe === void 0 ? void 0 : _state$preferences$fe[featureName];
+  const defaultedFeatureValue = featureValue !== undefined ? featureValue : (_state$preferenceDefa = state.preferenceDefaults.features[scope]) === null || _state$preferenceDefa === void 0 ? void 0 : _state$preferenceDefa[featureName];
+  return !!defaultedFeatureValue;
+}

-function DynamicShortcut(_ref) {
-  let {
-    name
-  } = _ref;
-  const {
-    keyCombination,
-    description,
-    aliases
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getShortcutKeyCombination,
-      getShortcutDescription,
-      getShortcutAliases
-    } = select(external_wp_keyboardShortcuts_["store"]);
-    return {
-      keyCombination: getShortcutKeyCombination(name),
-      aliases: getShortcutAliases(name),
-      description: getShortcutDescription(name)
-    };
-  }, [name]);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/constants.js
+/**
+ * The identifier for the data store.
+ *
+ * @type {string}
+ */
+const STORE_NAME = 'core/interface';

-  if (!keyCombination) {
-    return null;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/index.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */

-  return Object(external_wp_element_["createElement"])(keyboard_shortcut_help_modal_shortcut, {
-    keyCombination: keyCombination,
-    description: description,
-    aliases: aliases
-  });
-}

-/* harmony default export */ var dynamic_shortcut = (DynamicShortcut);

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/index.js


 /**
- * External dependencies
+ * Store definition for the interface namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
  */

+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
+  reducer: reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['enableItems', 'preferences'],
+  __experimentalUseThunks: true
+}); // Once we build a more generic persistence plugin that works across types of stores
+// we'd be able to replace this with a register call.
+
+(0,external_wp_data_namespaceObject.registerStore)(STORE_NAME, {
+  reducer: reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['enableItems', 'preferences'],
+  __experimentalUseThunks: true
+});
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-feature-toggle/index.js
+

 /**
  * WordPress dependencies
@@ -628,688 +710,525 @@ function DynamicShortcut(_ref) {
  */


+function MoreMenuFeatureToggle(_ref) {
+  let {
+    scope,
+    label,
+    info,
+    messageActivated,
+    messageDeactivated,
+    shortcut,
+    feature
+  } = _ref;
+  const isActive = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isFeatureActive(scope, feature), [feature]);
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

+  const speakMessage = () => {
+    if (isActive) {
+      (0,external_wp_a11y_namespaceObject.speak)(messageDeactivated || (0,external_wp_i18n_namespaceObject.__)('Feature deactivated'));
+    } else {
+      (0,external_wp_a11y_namespaceObject.speak)(messageActivated || (0,external_wp_i18n_namespaceObject.__)('Feature activated'));
+    }
+  };

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    icon: isActive && library_check,
+    isSelected: isActive,
+    onClick: () => {
+      toggleFeature(scope, feature);
+      speakMessage();
+    },
+    role: "menuitemcheckbox",
+    info: info,
+    shortcut: shortcut
+  }, label);
+}

-const ShortcutList = _ref => {
-  let {
-    shortcuts
-  } = _ref;
-  return (
-    /*
-     * Disable reason: The `list` ARIA role is redundant but
-     * Safari+VoiceOver won't announce the list otherwise.
-     */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/index.js

-    /* eslint-disable jsx-a11y/no-redundant-roles */
-    Object(external_wp_element_["createElement"])("ul", {
-      className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-list",
-      role: "list"
-    }, shortcuts.map((shortcut, index) => Object(external_wp_element_["createElement"])("li", {
-      className: "customize-widgets-keyboard-shortcut-help-modal__shortcut",
-      key: index
-    }, Object(external_lodash_["isString"])(shortcut) ? Object(external_wp_element_["createElement"])(dynamic_shortcut, {
-      name: shortcut
-    }) : Object(external_wp_element_["createElement"])(keyboard_shortcut_help_modal_shortcut, shortcut))))
-    /* eslint-enable jsx-a11y/no-redundant-roles */

-  );
-};

-const ShortcutSection = _ref2 => {
-  let {
-    title,
-    shortcuts,
-    className
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])("section", {
-    className: classnames_default()('customize-widgets-keyboard-shortcut-help-modal__section', className)
-  }, !!title && Object(external_wp_element_["createElement"])("h2", {
-    className: "customize-widgets-keyboard-shortcut-help-modal__section-title"
-  }, title), Object(external_wp_element_["createElement"])(ShortcutList, {
-    shortcuts: shortcuts
-  }));
-};

-const ShortcutCategorySection = _ref3 => {
-  let {
-    title,
-    categoryName,
-    additionalShortcuts = []
-  } = _ref3;
-  const categoryShortcuts = Object(external_wp_data_["useSelect"])(select => {
-    return select(external_wp_keyboardShortcuts_["store"]).getCategoryShortcuts(categoryName);
-  }, [categoryName]);
-  return Object(external_wp_element_["createElement"])(ShortcutSection, {
-    title: title,
-    shortcuts: categoryShortcuts.concat(additionalShortcuts)
-  });
-};

-function KeyboardShortcutHelpModal(_ref4) {
-  let {
-    isModalActive,
-    toggleModal
-  } = _ref4;
-  const {
-    registerShortcut
-  } = Object(external_wp_data_["useDispatch"])(external_wp_keyboardShortcuts_["store"]);
-  registerShortcut({
-    name: 'core/customize-widgets/keyboard-shortcuts',
-    category: 'main',
-    description: Object(external_wp_i18n_["__"])('Display these keyboard shortcuts.'),
-    keyCombination: {
-      modifier: 'access',
-      character: 'h'
-    }
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/customize-widgets/keyboard-shortcuts', toggleModal);

-  if (!isModalActive) {
-    return null;
-  }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    className: "customize-widgets-keyboard-shortcut-help-modal",
-    title: Object(external_wp_i18n_["__"])('Keyboard shortcuts'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
-    onRequestClose: toggleModal
-  }, Object(external_wp_element_["createElement"])(ShortcutSection, {
-    className: "customize-widgets-keyboard-shortcut-help-modal__main-shortcuts",
-    shortcuts: ['core/customize-widgets/keyboard-shortcuts']
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Global shortcuts'),
-    categoryName: "global"
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Selection shortcuts'),
-    categoryName: "selection"
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Block shortcuts'),
-    categoryName: "block",
-    additionalShortcuts: [{
-      keyCombination: {
-        character: '/'
-      },
-      description: Object(external_wp_i18n_["__"])('Change the block type after adding a new paragraph.'),

-      /* translators: The forward-slash character. e.g. '/'. */
-      ariaLabel: Object(external_wp_i18n_["__"])('Forward-slash')
-    }]
-  }), Object(external_wp_element_["createElement"])(ShortcutSection, {
-    title: Object(external_wp_i18n_["__"])('Text formatting'),
-    shortcuts: textFormattingShortcuts
-  }));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/more-menu/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/index.js


-/**
- * WordPress dependencies
- */

+;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"]
+var external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"];
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/error-boundary/index.js


+/**
+ * WordPress dependencies
+ */




-/**
- * Internal dependencies
- */


-const POPOVER_PROPS = {
-  className: 'customize-widgets-more-menu__content'
-};
-function MoreMenu() {
-  const [isKeyboardShortcutsModalActive, setIsKeyboardShortcutsModalVisible] = Object(external_wp_element_["useState"])(false);
+function CopyButton(_ref) {
+  let {
+    text,
+    children
+  } = _ref;
+  const ref = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(text);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    ref: ref
+  }, children);
+}

-  const toggleKeyboardShortcutsModal = () => setIsKeyboardShortcutsModalVisible(!isKeyboardShortcutsModalActive);
+class ErrorBoundary extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.state = {
+      error: null
+    };
+  }

-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/customize-widgets/keyboard-shortcuts', toggleKeyboardShortcutsModal);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(build_module["f" /* MoreMenuDropdown */], {
-    as: external_wp_components_["ToolbarDropdownMenu"],
-    className: "customize-widgets-more-menu",
-    popoverProps: POPOVER_PROPS
-  }, () => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["_x"])('View', 'noun')
-  }, Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
-    scope: "core/customize-widgets",
-    feature: "fixedToolbar",
-    label: Object(external_wp_i18n_["__"])('Top toolbar'),
-    info: Object(external_wp_i18n_["__"])('Access all block and document tools in a single place'),
-    messageActivated: Object(external_wp_i18n_["__"])('Top toolbar activated'),
-    messageDeactivated: Object(external_wp_i18n_["__"])('Top toolbar deactivated')
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Tools')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: () => {
-      setIsKeyboardShortcutsModalVisible(true);
-    },
-    shortcut: external_wp_keycodes_["displayShortcut"].access('h')
-  }, Object(external_wp_i18n_["__"])('Keyboard shortcuts')), Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
-    scope: "core/customize-widgets",
-    feature: "welcomeGuide",
-    label: Object(external_wp_i18n_["__"])('Welcome Guide')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    role: "menuitem",
-    icon: external["a" /* default */],
-    href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/block-based-widgets-editor/'),
-    target: "_blank",
-    rel: "noopener noreferrer"
-  }, Object(external_wp_i18n_["__"])('Help'), Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    as: "span"
-  },
-  /* translators: accessibility text */
-  Object(external_wp_i18n_["__"])('(opens in a new tab)')))), Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Preferences')
-  }, Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
-    scope: "core/customize-widgets",
-    feature: "keepCaretInsideBlock",
-    label: Object(external_wp_i18n_["__"])('Contain text cursor inside block'),
-    info: Object(external_wp_i18n_["__"])('Aids screen readers by stopping text caret from leaving blocks.'),
-    messageActivated: Object(external_wp_i18n_["__"])('Contain text cursor inside block activated'),
-    messageDeactivated: Object(external_wp_i18n_["__"])('Contain text cursor inside block deactivated')
-  })))), Object(external_wp_element_["createElement"])(KeyboardShortcutHelpModal, {
-    isModalActive: isKeyboardShortcutsModalActive,
-    toggleModal: toggleKeyboardShortcutsModal
-  }));
-}
+  componentDidCatch(error) {
+    this.setState({
+      error
+    });
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/header/index.js
+  render() {
+    const {
+      error
+    } = this.state;

+    if (!error) {
+      return this.props.children;
+    }

-/**
- * External dependencies
- */
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, {
+      className: "customize-widgets-error-boundary",
+      actions: [(0,external_wp_element_namespaceObject.createElement)(CopyButton, {
+        key: "copy-error",
+        text: error.stack
+      }, (0,external_wp_i18n_namespaceObject.__)('Copy Error'))]
+    }, (0,external_wp_i18n_namespaceObject.__)('The editor has encountered an unexpected error.'));
+  }

-/**
- * WordPress dependencies
- */
+}

+;// CONCATENATED MODULE: external ["wp","coreData"]
+var external_wp_coreData_namespaceObject = window["wp"]["coreData"];
+;// CONCATENATED MODULE: external ["wp","mediaUtils"]
+var external_wp_mediaUtils_namespaceObject = window["wp"]["mediaUtils"];
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

+    return target;
+  };

+  return _extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/block-inspector-button/index.js



 /**
- * Internal dependencies
+ * WordPress dependencies
  */




-function Header(_ref) {
+
+
+function BlockInspectorButton(_ref) {
   let {
-    sidebar,
-    inserter,
-    isInserterOpened,
-    setIsInserterOpened,
-    isFixedToolbarActive
+    inspector,
+    closeMenu,
+    ...props
   } = _ref;
-  const [[hasUndo, hasRedo], setUndoRedo] = Object(external_wp_element_["useState"])([sidebar.hasUndo(), sidebar.hasRedo()]);
-  Object(external_wp_element_["useEffect"])(() => {
-    return sidebar.subscribeHistory(() => {
-      setUndoRedo([sidebar.hasUndo(), sidebar.hasRedo()]);
-    });
-  }, [sidebar]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('customize-widgets-header', {
-      'is-fixed-toolbar-active': isFixedToolbarActive
-    })
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["NavigableToolbar"], {
-    className: "customize-widgets-header-toolbar",
-    "aria-label": Object(external_wp_i18n_["__"])('Document tools')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    icon: !Object(external_wp_i18n_["isRTL"])() ? library_undo["a" /* default */] : library_redo["a" /* default */]
-    /* translators: button label text should, if possible, be under 16 characters. */
-    ,
-    label: Object(external_wp_i18n_["__"])('Undo'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primary('z') // If there are no undo levels we don't want to actually disable this
-    // button, because it will remove focus for keyboard users.
-    // See: https://github.com/WordPress/gutenberg/issues/3486
-    ,
-    "aria-disabled": !hasUndo,
-    onClick: sidebar.undo,
-    className: "customize-widgets-editor-history-button undo-button"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    icon: !Object(external_wp_i18n_["isRTL"])() ? library_redo["a" /* default */] : library_undo["a" /* default */]
-    /* translators: button label text should, if possible, be under 16 characters. */
-    ,
-    label: Object(external_wp_i18n_["__"])('Redo'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primaryShift('z') // If there are no undo levels we don't want to actually disable this
-    // button, because it will remove focus for keyboard users.
-    // See: https://github.com/WordPress/gutenberg/issues/3486
-    ,
-    "aria-disabled": !hasRedo,
-    onClick: sidebar.redo,
-    className: "customize-widgets-editor-history-button redo-button"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    className: "customize-widgets-header-toolbar__inserter-toggle",
-    isPressed: isInserterOpened,
-    variant: "primary",
-    icon: plus["a" /* default */],
-    label: Object(external_wp_i18n_["_x"])('Add block', 'Generic label for block inserter button'),
+  const selectedBlockClientId = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).getSelectedBlockClientId(), []);
+  const selectedBlock = (0,external_wp_element_namespaceObject.useMemo)(() => document.getElementById(`block-${selectedBlockClientId}`), [selectedBlockClientId]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, _extends({
     onClick: () => {
-      setIsInserterOpened(isOpen => !isOpen);
+      // Open the inspector.
+      inspector.open({
+        returnFocusWhenClose: selectedBlock
+      }); // Then close the dropdown menu.
+
+      closeMenu();
     }
-  }), Object(external_wp_element_["createElement"])(MoreMenu, null))), Object(external_wp_element_["createPortal"])(Object(external_wp_element_["createElement"])(components_inserter, {
-    setIsOpened: setIsInserterOpened
-  }), inserter.contentContainer[0]));
+  }, props), (0,external_wp_i18n_namespaceObject.__)('Show more settings'));
 }

-/* harmony default export */ var header = (Header);
+/* harmony default export */ var block_inspector_button = (BlockInspectorButton);
+
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/undo.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/inserter/use-inserter.js
 /**
  * WordPress dependencies
  */

+const undo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"
+}));
+/* harmony default export */ var library_undo = (undo);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/redo.js
+

 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const redo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"
+}));
+/* harmony default export */ var library_redo = (redo);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js

-function useInserter(inserter) {
-  const isInserterOpened = Object(external_wp_data_["useSelect"])(select => select(store).isInserterOpened(), []);
-  const {
-    setIsInserterOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isInserterOpened) {
-      inserter.open();
-    } else {
-      inserter.close();
-    }
-  }, [inserter, isInserterOpened]);
-  return [isInserterOpened, Object(external_wp_element_["useCallback"])(updater => {
-    let isOpen = updater;

-    if (typeof updater === 'function') {
-      isOpen = updater(Object(external_wp_data_["select"])(store).isInserterOpened());
-    }
+/**
+ * WordPress dependencies
+ */

-    setIsInserterOpened(isOpen);
-  }, [setIsInserterOpened])];
-}
+const plus = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
+}));
+/* harmony default export */ var library_plus = (plus);

-// EXTERNAL MODULE: external ["wp","isShallowEqual"]
-var external_wp_isShallowEqual_ = __webpack_require__("rl8x");
-var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/utils.js
-// @ts-check

 /**
  * WordPress dependencies
  */

+const closeSmall = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
+}));
+/* harmony default export */ var close_small = (closeSmall);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/reducer.js
 /**
- * External dependencies
+ * WordPress dependencies
  */

-
 /**
- * Convert settingId to widgetId.
+ * Reducer tracking whether the inserter is open.
  *
- * @param {string} settingId The setting id.
- * @return {string} The widget id.
+ * @param {boolean|Object} state
+ * @param {Object}         action
  */

-function settingIdToWidgetId(settingId) {
-  const matches = settingId.match(/^widget_(.+)(?:\[(\d+)\])$/);
+function blockInserterPanel() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-  if (matches) {
-    const idBase = matches[1];
-    const number = parseInt(matches[2], 10);
-    return `${idBase}-${number}`;
+  switch (action.type) {
+    case 'SET_IS_INSERTER_OPENED':
+      return action.value;
   }

-  return settingId;
+  return state;
 }
+
+/* harmony default export */ var store_reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  blockInserterPanel
+}));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/selectors.js
 /**
- * Transform a block to a customizable widget.
+ * Returns true if the inserter is opened.
  *
- * @param {WPBlock} block          The block to be transformed from.
- * @param {Object}  existingWidget The widget to be extended from.
- * @return {Object} The transformed widget.
- */
-
-function blockToWidget(block) {
-  let existingWidget = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
-  let widget;
-  const isValidLegacyWidgetBlock = block.name === 'core/legacy-widget' && (block.attributes.id || block.attributes.instance);
-
-  if (isValidLegacyWidgetBlock) {
-    if (block.attributes.id) {
-      // Widget that does not extend WP_Widget.
-      widget = {
-        id: block.attributes.id
-      };
-    } else {
-      const {
-        encoded,
-        hash,
-        raw,
-        ...rest
-      } = block.attributes.instance; // Widget that extends WP_Widget.
-
-      widget = {
-        idBase: block.attributes.idBase,
-        instance: { ...(existingWidget === null || existingWidget === void 0 ? void 0 : existingWidget.instance),
-          // Required only for the customizer.
-          is_widget_customizer_js_value: true,
-          encoded_serialized_instance: encoded,
-          instance_hash_key: hash,
-          raw_instance: raw,
-          ...rest
-        }
-      };
-    }
-  } else {
-    const instance = {
-      content: Object(external_wp_blocks_["serialize"])(block)
-    };
-    widget = {
-      idBase: 'block',
-      widgetClass: 'WP_Widget_Block',
-      instance: {
-        raw_instance: instance
-      }
-    };
-  }
-
-  return { ...Object(external_lodash_["omit"])(existingWidget, ['form', 'rendered']),
-    ...widget
-  };
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the inserter is opened.
+ */
+function isInserterOpened(state) {
+  return !!state.blockInserterPanel;
 }
 /**
- * Transform a widget to a block.
+ * Get the insertion point for the inserter.
  *
- * @param {Object} widget          The widget to be transformed from.
- * @param {string} widget.id       The widget id.
- * @param {string} widget.idBase   The id base of the widget.
- * @param {number} widget.number   The number/index of the widget.
- * @param {Object} widget.instance The instance of the widget.
- * @return {WPBlock} The transformed block.
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} The root client ID and index to insert at.
  */

-function widgetToBlock(_ref) {
-  let {
-    id,
-    idBase,
-    number,
-    instance
-  } = _ref;
-  let block;
+function __experimentalGetInsertionPoint(state) {
   const {
-    encoded_serialized_instance: encoded,
-    instance_hash_key: hash,
-    raw_instance: raw,
-    ...rest
-  } = instance;
-
-  if (idBase === 'block') {
-    const parsedBlocks = Object(external_wp_blocks_["parse"])(raw.content);
-    block = parsedBlocks.length ? parsedBlocks[0] : Object(external_wp_blocks_["createBlock"])('core/paragraph', {});
-  } else if (number) {
-    // Widget that extends WP_Widget.
-    block = Object(external_wp_blocks_["createBlock"])('core/legacy-widget', {
-      idBase,
-      instance: {
-        encoded,
-        hash,
-        raw,
-        ...rest
-      }
-    });
-  } else {
-    // Widget that does not extend WP_Widget.
-    block = Object(external_wp_blocks_["createBlock"])('core/legacy-widget', {
-      id
-    });
-  }
+    rootClientId,
+    insertionIndex
+  } = state.blockInserterPanel;
+  return {
+    rootClientId,
+    insertionIndex
+  };
+}

-  return Object(external_wp_widgets_["addWidgetIdToBlock"])(block, id);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/actions.js
+/**
+ * Returns an action object used to open/close the inserter.
+ *
+ * @param {boolean|Object} value                Whether the inserter should be
+ *                                              opened (true) or closed (false).
+ *                                              To specify an insertion point,
+ *                                              use an object.
+ * @param {string}         value.rootClientId   The root client ID to insert at.
+ * @param {number}         value.insertionIndex The index to insert at.
+ *
+ * @return {Object} Action object.
+ */
+function setIsInserterOpened(value) {
+  return {
+    type: 'SET_IS_INSERTER_OPENED',
+    value
+  };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/use-sidebar-block-editor.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/constants.js
 /**
- * External dependencies
+ * Module Constants
  */
+const constants_STORE_NAME = 'core/customize-widgets';

+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/store/index.js
 /**
  * WordPress dependencies
  */

-
-
-
 /**
  * Internal dependencies
  */



-function widgetsToBlocks(widgets) {
-  return widgets.map(widget => widgetToBlock(widget));
-}

-function useSidebarBlockEditor(sidebar) {
-  const [blocks, setBlocks] = Object(external_wp_element_["useState"])(() => widgetsToBlocks(sidebar.getWidgets()));
-  Object(external_wp_element_["useEffect"])(() => {
-    return sidebar.subscribe((prevWidgets, nextWidgets) => {
-      setBlocks(prevBlocks => {
-        const prevWidgetsMap = new Map(prevWidgets.map(widget => [widget.id, widget]));
-        const prevBlocksMap = new Map(prevBlocks.map(block => [Object(external_wp_widgets_["getWidgetIdFromBlock"])(block), block]));
-        const nextBlocks = nextWidgets.map(nextWidget => {
-          const prevWidget = prevWidgetsMap.get(nextWidget.id); // Bail out updates.

-          if (prevWidget && prevWidget === nextWidget) {
-            return prevBlocksMap.get(nextWidget.id);
-          }
+/**
+ * Block editor data store configuration.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
+ *
+ * @type {Object}
+ */

-          return widgetToBlock(nextWidget);
-        }); // Bail out updates.
+const storeConfig = {
+  reducer: store_reducer,
+  selectors: store_selectors_namespaceObject,
+  actions: store_actions_namespaceObject
+};
+/**
+ * Store definition for the edit widgets namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
+ */

-        if (external_wp_isShallowEqual_default()(prevBlocks, nextBlocks)) {
-          return prevBlocks;
-        }
+const store_store = (0,external_wp_data_namespaceObject.createReduxStore)(constants_STORE_NAME, storeConfig); // Once we build a more generic persistence plugin that works across types of stores
+// we'd be able to replace this with a register call.

-        return nextBlocks;
-      });
-    });
-  }, [sidebar]);
-  const onChangeBlocks = Object(external_wp_element_["useCallback"])(nextBlocks => {
-    setBlocks(prevBlocks => {
-      if (external_wp_isShallowEqual_default()(prevBlocks, nextBlocks)) {
-        return prevBlocks;
-      }
+(0,external_wp_data_namespaceObject.registerStore)(constants_STORE_NAME, storeConfig);

-      const prevBlocksMap = new Map(prevBlocks.map(block => [Object(external_wp_widgets_["getWidgetIdFromBlock"])(block), block]));
-      const nextWidgets = nextBlocks.map(nextBlock => {
-        const widgetId = Object(external_wp_widgets_["getWidgetIdFromBlock"])(nextBlock); // Update existing widgets.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/inserter/index.js

-        if (widgetId && prevBlocksMap.has(widgetId)) {
-          const prevBlock = prevBlocksMap.get(widgetId);
-          const prevWidget = sidebar.getWidget(widgetId); // Bail out updates by returning the previous widgets.
-          // Deep equality is necessary until the block editor's internals changes.

-          if (Object(external_lodash_["isEqual"])(nextBlock, prevBlock) && prevWidget) {
-            return prevWidget;
-          }
+/**
+ * WordPress dependencies
+ */

-          return blockToWidget(nextBlock, prevWidget);
-        } // Add a new widget.


-        return blockToWidget(nextBlock);
-      }); // Bail out updates if the updated widgets are the same.

-      if (external_wp_isShallowEqual_default()(sidebar.getWidgets(), nextWidgets)) {
-        return prevBlocks;
-      }

-      const addedWidgetIds = sidebar.setWidgets(nextWidgets);
-      return nextBlocks.reduce((updatedNextBlocks, nextBlock, index) => {
-        const addedWidgetId = addedWidgetIds[index];

-        if (addedWidgetId !== null) {
-          // Only create a new instance if necessary to prevent
-          // the whole editor from re-rendering on every edit.
-          if (updatedNextBlocks === nextBlocks) {
-            updatedNextBlocks = nextBlocks.slice();
-          }
+/**
+ * Internal dependencies
+ */

-          updatedNextBlocks[index] = Object(external_wp_widgets_["addWidgetIdToBlock"])(nextBlock, addedWidgetId);
-        }

-        return updatedNextBlocks;
-      }, nextBlocks);
-    });
-  }, [sidebar]);
-  return [blocks, onChangeBlocks, onChangeBlocks];
+
+function Inserter(_ref) {
+  let {
+    setIsOpened
+  } = _ref;
+  const inserterTitleId = (0,external_wp_compose_namespaceObject.useInstanceId)(Inserter, 'customize-widget-layout__inserter-panel-title');
+  const insertionPoint = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).__experimentalGetInsertionPoint(), []);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "customize-widgets-layout__inserter-panel",
+    "aria-labelledby": inserterTitleId
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "customize-widgets-layout__inserter-panel-header"
+  }, (0,external_wp_element_namespaceObject.createElement)("h2", {
+    id: inserterTitleId,
+    className: "customize-widgets-layout__inserter-panel-header-title"
+  }, (0,external_wp_i18n_namespaceObject.__)('Add a block')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "customize-widgets-layout__inserter-panel-header-close-button",
+    icon: close_small,
+    onClick: () => setIsOpened(false),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Close inserter')
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "customize-widgets-layout__inserter-panel-content"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLibrary, {
+    rootClientId: insertionPoint.rootClientId,
+    __experimentalInsertionIndex: insertionPoint.insertionIndex,
+    showInserterHelpPanel: true,
+    onSelect: () => setIsOpened(false)
+  })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/focus-control/index.js
+/* harmony default export */ var components_inserter = (Inserter);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js


 /**
  * WordPress dependencies
  */

+const external = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
+}));
+/* harmony default export */ var library_external = (external);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/config.js
 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const textFormattingShortcuts = [{
+  keyCombination: {
+    modifier: 'primary',
+    character: 'b'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Make the selected text bold.')
+}, {
+  keyCombination: {
+    modifier: 'primary',
+    character: 'i'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Make the selected text italic.')
+}, {
+  keyCombination: {
+    modifier: 'primary',
+    character: 'k'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Convert the selected text into a link.')
+}, {
+  keyCombination: {
+    modifier: 'primaryShift',
+    character: 'k'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Remove a link.')
+}, {
+  keyCombination: {
+    modifier: 'primary',
+    character: 'u'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Underline the selected text.')
+}];

-const FocusControlContext = Object(external_wp_element_["createContext"])();
-function FocusControl(_ref) {
-  let {
-    api,
-    sidebarControls,
-    children
-  } = _ref;
-  const [focusedWidgetIdRef, setFocusedWidgetIdRef] = Object(external_wp_element_["useState"])({
-    current: null
-  });
-  const focusWidget = Object(external_wp_element_["useCallback"])(widgetId => {
-    for (const sidebarControl of sidebarControls) {
-      const widgets = sidebarControl.setting.get();
-
-      if (widgets.includes(widgetId)) {
-        sidebarControl.sectionInstance.expand({
-          // Schedule it after the complete callback so that
-          // it won't be overridden by the "Back" button focus.
-          completeCallback() {
-            // Create a "ref-like" object every time to ensure
-            // the same widget id can also triggers the focus control.
-            setFocusedWidgetIdRef({
-              current: widgetId
-            });
-          }
-
-        });
-        break;
-      }
-    }
-  }, [sidebarControls]);
-  Object(external_wp_element_["useEffect"])(() => {
-    function handleFocus(settingId) {
-      const widgetId = settingIdToWidgetId(settingId);
-      focusWidget(widgetId);
-    }
-
-    function handleReady() {
-      api.previewer.preview.bind('focus-control-for-setting', handleFocus);
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/shortcut.js

-    api.previewer.bind('ready', handleReady);
-    return () => {
-      api.previewer.unbind('ready', handleReady);
-      api.previewer.preview.unbind('focus-control-for-setting', handleFocus);
-    };
-  }, [api, focusWidget]);
-  const context = Object(external_wp_element_["useMemo"])(() => [focusedWidgetIdRef, focusWidget], [focusedWidgetIdRef, focusWidget]);
-  return Object(external_wp_element_["createElement"])(FocusControlContext.Provider, {
-    value: context
-  }, children);
-}
-const useFocusControl = () => Object(external_wp_element_["useContext"])(FocusControlContext);

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/focus-control/use-blocks-focus-control.js
 /**
- * WordPress dependencies
+ * External dependencies
  */

-
-
-
 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-function useBlocksFocusControl(blocks) {
-  const {
-    selectBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const [focusedWidgetIdRef] = useFocusControl();
-  const blocksRef = Object(external_wp_element_["useRef"])(blocks);
-  Object(external_wp_element_["useEffect"])(() => {
-    blocksRef.current = blocks;
-  }, [blocks]);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (focusedWidgetIdRef.current) {
-      const focusedBlock = blocksRef.current.find(block => Object(external_wp_widgets_["getWidgetIdFromBlock"])(block) === focusedWidgetIdRef.current);

-      if (focusedBlock) {
-        selectBlock(focusedBlock.clientId); // If the block is already being selected, the DOM node won't
-        // get focused again automatically.
-        // We select the DOM and focus it manually here.

-        const blockNode = document.querySelector(`[data-block="${focusedBlock.clientId}"]`);
-        blockNode === null || blockNode === void 0 ? void 0 : blockNode.focus();
-      }
+function KeyCombination(_ref) {
+  let {
+    keyCombination,
+    forceAriaLabel
+  } = _ref;
+  const shortcut = keyCombination.modifier ? external_wp_keycodes_namespaceObject.displayShortcutList[keyCombination.modifier](keyCombination.character) : keyCombination.character;
+  const ariaLabel = keyCombination.modifier ? external_wp_keycodes_namespaceObject.shortcutAriaLabel[keyCombination.modifier](keyCombination.character) : keyCombination.character;
+  return (0,external_wp_element_namespaceObject.createElement)("kbd", {
+    className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination",
+    "aria-label": forceAriaLabel || ariaLabel
+  }, (0,external_lodash_namespaceObject.castArray)(shortcut).map((character, index) => {
+    if (character === '+') {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, {
+        key: index
+      }, character);
     }
-  }, [focusedWidgetIdRef, selectBlock]);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/sidebar-editor-provider.js
-
-
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-

+    return (0,external_wp_element_namespaceObject.createElement)("kbd", {
+      key: index,
+      className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-key"
+    }, character);
+  }));
+}

-function SidebarEditorProvider(_ref) {
+function Shortcut(_ref2) {
   let {
-    sidebar,
-    settings,
-    children
-  } = _ref;
-  const [blocks, onInput, onChange] = useSidebarBlockEditor(sidebar);
-  useBlocksFocusControl(blocks);
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockEditorProvider"], {
-    value: blocks,
-    onInput: onInput,
-    onChange: onChange,
-    settings: settings,
-    useSubRegistry: false
-  }, children);
+    description,
+    keyCombination,
+    aliases = [],
+    ariaLabel
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-description"
+  }, description), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-term"
+  }, (0,external_wp_element_namespaceObject.createElement)(KeyCombination, {
+    keyCombination: keyCombination,
+    forceAriaLabel: ariaLabel
+  }), aliases.map((alias, index) => (0,external_wp_element_namespaceObject.createElement)(KeyCombination, {
+    keyCombination: alias,
+    forceAriaLabel: ariaLabel,
+    key: index
+  }))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/welcome-guide/index.js
+/* harmony default export */ var keyboard_shortcut_help_modal_shortcut = (Shortcut);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js


 /**
@@ -1317,163 +1236,54 @@ function SidebarEditorProvider(_ref) {
  */


-
-
-function WelcomeGuide(_ref) {
-  let {
-    sidebar
-  } = _ref;
-  const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(build_module["i" /* store */]);
-  const isEntirelyBlockWidgets = sidebar.getWidgets().every(widget => widget.id.startsWith('block-'));
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "customize-widgets-welcome-guide"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "customize-widgets-welcome-guide__image__wrapper"
-  }, Object(external_wp_element_["createElement"])("picture", null, Object(external_wp_element_["createElement"])("source", {
-    srcSet: "https://s.w.org/images/block-editor/welcome-editor.svg",
-    media: "(prefers-reduced-motion: reduce)"
-  }), Object(external_wp_element_["createElement"])("img", {
-    className: "customize-widgets-welcome-guide__image",
-    src: "https://s.w.org/images/block-editor/welcome-editor.gif",
-    width: "312",
-    height: "240",
-    alt: ""
-  }))), Object(external_wp_element_["createElement"])("h1", {
-    className: "customize-widgets-welcome-guide__heading"
-  }, Object(external_wp_i18n_["__"])('Welcome to block Widgets')), Object(external_wp_element_["createElement"])("p", {
-    className: "customize-widgets-welcome-guide__text"
-  }, isEntirelyBlockWidgets ? Object(external_wp_i18n_["__"])('Your theme provides different “block” areas for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.') : Object(external_wp_i18n_["__"])('You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "customize-widgets-welcome-guide__button",
-    variant: "primary",
-    onClick: () => toggleFeature('core/customize-widgets', 'welcomeGuide')
-  }, Object(external_wp_i18n_["__"])('Got it')), Object(external_wp_element_["createElement"])("hr", {
-    className: "customize-widgets-welcome-guide__separator"
-  }), !isEntirelyBlockWidgets && Object(external_wp_element_["createElement"])("p", {
-    className: "customize-widgets-welcome-guide__more-info"
-  }, Object(external_wp_i18n_["__"])('Want to stick with the old widgets?'), Object(external_wp_element_["createElement"])("br", null), Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-    href: Object(external_wp_i18n_["__"])('https://wordpress.org/plugins/classic-widgets/')
-  }, Object(external_wp_i18n_["__"])('Get the Classic Widgets plugin.'))), Object(external_wp_element_["createElement"])("p", {
-    className: "customize-widgets-welcome-guide__more-info"
-  }, Object(external_wp_i18n_["__"])('New to the block editor?'), Object(external_wp_element_["createElement"])("br", null), Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-    href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/wordpress-editor/')
-  }, Object(external_wp_i18n_["__"])("Here's a detailed guide."))));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcuts/index.js
 /**
- * WordPress dependencies
+ * Internal dependencies
  */



-
-
-function KeyboardShortcuts(_ref) {
+function DynamicShortcut(_ref) {
   let {
-    undo,
-    redo,
-    save
+    name
   } = _ref;
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/customize-widgets/undo', event => {
-    undo();
-    event.preventDefault();
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/customize-widgets/redo', event => {
-    redo();
-    event.preventDefault();
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/customize-widgets/save', event => {
-    event.preventDefault();
-    save();
-  });
-  return null;
-}
-
-function KeyboardShortcutsRegister() {
   const {
-    registerShortcut,
-    unregisterShortcut
-  } = Object(external_wp_data_["useDispatch"])(external_wp_keyboardShortcuts_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
-    registerShortcut({
-      name: 'core/customize-widgets/undo',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Undo your last changes.'),
-      keyCombination: {
-        modifier: 'primary',
-        character: 'z'
-      }
-    });
-    registerShortcut({
-      name: 'core/customize-widgets/redo',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Redo your last undo.'),
-      keyCombination: {
-        modifier: 'primaryShift',
-        character: 'z'
-      }
-    });
-    registerShortcut({
-      name: 'core/customize-widgets/save',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Save your changes.'),
-      keyCombination: {
-        modifier: 'primary',
-        character: 's'
-      }
-    });
-    return () => {
-      unregisterShortcut('core/customize-widgets/undo');
-      unregisterShortcut('core/customize-widgets/redo');
-      unregisterShortcut('core/customize-widgets/save');
+    keyCombination,
+    description,
+    aliases
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getShortcutKeyCombination,
+      getShortcutDescription,
+      getShortcutAliases
+    } = select(external_wp_keyboardShortcuts_namespaceObject.store);
+    return {
+      keyCombination: getShortcutKeyCombination(name),
+      aliases: getShortcutAliases(name),
+      description: getShortcutDescription(name)
     };
-  }, [registerShortcut]);
-  return null;
-}
-
-KeyboardShortcuts.Register = KeyboardShortcutsRegister;
-/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/block-appender/index.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-function BlockAppender(props) {
-  const ref = Object(external_wp_element_["useRef"])();
-  const isBlocksListEmpty = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).getBlockCount() === 0); // Move the focus to the block appender to prevent focus from
-  // being lost when emptying the widget area.
+  }, [name]);

-  Object(external_wp_element_["useEffect"])(() => {
-    if (isBlocksListEmpty && ref.current) {
-      const {
-        ownerDocument
-      } = ref.current;
+  if (!keyCombination) {
+    return null;
+  }

-      if (!ownerDocument.activeElement || ownerDocument.activeElement === ownerDocument.body) {
-        ref.current.focus();
-      }
-    }
-  }, [isBlocksListEmpty]);
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ButtonBlockAppender"], Object(esm_extends["a" /* default */])({}, props, {
-    ref: ref
-  }));
+  return (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcut_help_modal_shortcut, {
+    keyCombination: keyCombination,
+    description: description,
+    aliases: aliases
+  });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/index.js
+/* harmony default export */ var dynamic_shortcut = (DynamicShortcut);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcut-help-modal/index.js


 /**
  * External dependencies
  */

+
 /**
  * WordPress dependencies
  */
@@ -1482,8 +1292,6 @@ function BlockAppender(props) {



-
-
 /**
  * Internal dependencies
  */
@@ -1492,217 +1300,209 @@ function BlockAppender(props) {



-
-
-
-function SidebarBlockEditor(_ref) {
+const ShortcutList = _ref => {
   let {
-    blockEditorSettings,
-    sidebar,
-    inserter,
-    inspector
+    shortcuts
   } = _ref;
-  const [isInserterOpened, setIsInserterOpened] = useInserter(inserter);
-  const {
-    hasUploadPermissions,
-    isFixedToolbarActive,
-    keepCaretInsideBlock,
-    isWelcomeGuideActive
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      isFeatureActive
-    } = select(build_module["i" /* store */]);
-    return {
-      hasUploadPermissions: Object(external_lodash_["defaultTo"])(select(external_wp_coreData_["store"]).canUser('create', 'media'), true),
-      isFixedToolbarActive: isFeatureActive('core/customize-widgets', 'fixedToolbar'),
-      keepCaretInsideBlock: isFeatureActive('core/customize-widgets', 'keepCaretInsideBlock'),
-      isWelcomeGuideActive: isFeatureActive('core/customize-widgets', 'welcomeGuide')
-    };
-  }, []);
-  const settings = Object(external_wp_element_["useMemo"])(() => {
-    let mediaUploadBlockEditor;
+  return (
+    /*
+     * Disable reason: The `list` ARIA role is redundant but
+     * Safari+VoiceOver won't announce the list otherwise.
+     */

-    if (hasUploadPermissions) {
-      mediaUploadBlockEditor = _ref2 => {
-        let {
-          onError,
-          ...argumentsObject
-        } = _ref2;
-        Object(external_wp_mediaUtils_["uploadMedia"])({
-          wpAllowedMimeTypes: blockEditorSettings.allowedMimeTypes,
-          onError: _ref3 => {
-            let {
-              message
-            } = _ref3;
-            return onError(message);
-          },
-          ...argumentsObject
-        });
-      };
-    }
+    /* eslint-disable jsx-a11y/no-redundant-roles */
+    (0,external_wp_element_namespaceObject.createElement)("ul", {
+      className: "customize-widgets-keyboard-shortcut-help-modal__shortcut-list",
+      role: "list"
+    }, shortcuts.map((shortcut, index) => (0,external_wp_element_namespaceObject.createElement)("li", {
+      className: "customize-widgets-keyboard-shortcut-help-modal__shortcut",
+      key: index
+    }, (0,external_lodash_namespaceObject.isString)(shortcut) ? (0,external_wp_element_namespaceObject.createElement)(dynamic_shortcut, {
+      name: shortcut
+    }) : (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcut_help_modal_shortcut, shortcut))))
+    /* eslint-enable jsx-a11y/no-redundant-roles */

-    return { ...blockEditorSettings,
-      __experimentalSetIsInserterOpened: setIsInserterOpened,
-      mediaUpload: mediaUploadBlockEditor,
-      hasFixedToolbar: isFixedToolbarActive,
-      keepCaretInsideBlock,
-      __unstableHasCustomAppender: true
-    };
-  }, [hasUploadPermissions, blockEditorSettings, isFixedToolbarActive, keepCaretInsideBlock, setIsInserterOpened]);
+  );
+};

-  if (isWelcomeGuideActive) {
-    return Object(external_wp_element_["createElement"])(WelcomeGuide, {
-      sidebar: sidebar
-    });
+const ShortcutSection = _ref2 => {
+  let {
+    title,
+    shortcuts,
+    className
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)("section", {
+    className: classnames_default()('customize-widgets-keyboard-shortcut-help-modal__section', className)
+  }, !!title && (0,external_wp_element_namespaceObject.createElement)("h2", {
+    className: "customize-widgets-keyboard-shortcut-help-modal__section-title"
+  }, title), (0,external_wp_element_namespaceObject.createElement)(ShortcutList, {
+    shortcuts: shortcuts
+  }));
+};
+
+const ShortcutCategorySection = _ref3 => {
+  let {
+    title,
+    categoryName,
+    additionalShortcuts = []
+  } = _ref3;
+  const categoryShortcuts = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(external_wp_keyboardShortcuts_namespaceObject.store).getCategoryShortcuts(categoryName);
+  }, [categoryName]);
+  return (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    title: title,
+    shortcuts: categoryShortcuts.concat(additionalShortcuts)
+  });
+};
+
+function KeyboardShortcutHelpModal(_ref4) {
+  let {
+    isModalActive,
+    toggleModal
+  } = _ref4;
+  const {
+    registerShortcut
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_keyboardShortcuts_namespaceObject.store);
+  registerShortcut({
+    name: 'core/customize-widgets/keyboard-shortcuts',
+    category: 'main',
+    description: (0,external_wp_i18n_namespaceObject.__)('Display these keyboard shortcuts.'),
+    keyCombination: {
+      modifier: 'access',
+      character: 'h'
+    }
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/customize-widgets/keyboard-shortcuts', toggleModal);
+
+  if (!isModalActive) {
+    return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockEditorKeyboardShortcuts"].Register, null), Object(external_wp_element_["createElement"])(keyboard_shortcuts.Register, null), Object(external_wp_element_["createElement"])(SidebarEditorProvider, {
-    sidebar: sidebar,
-    settings: settings
-  }, Object(external_wp_element_["createElement"])(keyboard_shortcuts, {
-    undo: sidebar.undo,
-    redo: sidebar.redo,
-    save: sidebar.save
-  }), Object(external_wp_element_["createElement"])(header, {
-    sidebar: sidebar,
-    inserter: inserter,
-    isInserterOpened: isInserterOpened,
-    setIsInserterOpened: setIsInserterOpened,
-    isFixedToolbarActive: isFixedToolbarActive
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["CopyHandler"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockTools"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableEditorStyles"], {
-    styles: settings.defaultEditorStyles
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockSelectionClearer"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["WritingFlow"], {
-    className: "editor-styles-wrapper"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ObserveTyping"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockList"], {
-    renderAppender: BlockAppender
-  })))))), Object(external_wp_element_["createPortal"])( // This is a temporary hack to prevent button component inside <BlockInspector>
-  // from submitting form when type="button" is not specified.
-  Object(external_wp_element_["createElement"])("form", {
-    onSubmit: event => event.preventDefault()
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockInspector"], null)), inspector.contentContainer[0])), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableBlockSettingsMenuFirstItem"], null, _ref4 => {
-    let {
-      onClose
-    } = _ref4;
-    return Object(external_wp_element_["createElement"])(block_inspector_button, {
-      inspector: inspector,
-      closeMenu: onClose
-    });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    className: "customize-widgets-keyboard-shortcut-help-modal",
+    title: (0,external_wp_i18n_namespaceObject.__)('Keyboard shortcuts'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
+    onRequestClose: toggleModal
+  }, (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    className: "customize-widgets-keyboard-shortcut-help-modal__main-shortcuts",
+    shortcuts: ['core/customize-widgets/keyboard-shortcuts']
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Global shortcuts'),
+    categoryName: "global"
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Selection shortcuts'),
+    categoryName: "selection"
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Block shortcuts'),
+    categoryName: "block",
+    additionalShortcuts: [{
+      keyCombination: {
+        character: '/'
+      },
+      description: (0,external_wp_i18n_namespaceObject.__)('Change the block type after adding a new paragraph.'),
+
+      /* translators: The forward-slash character. e.g. '/'. */
+      ariaLabel: (0,external_wp_i18n_namespaceObject.__)('Forward-slash')
+    }]
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Text formatting'),
+    shortcuts: textFormattingShortcuts
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-controls/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/more-menu/index.js


 /**
  * WordPress dependencies
  */

-const SidebarControlsContext = Object(external_wp_element_["createContext"])();
-function SidebarControls(_ref) {
-  let {
-    sidebarControls,
-    activeSidebarControl,
-    children
-  } = _ref;
-  const context = Object(external_wp_element_["useMemo"])(() => ({
-    sidebarControls,
-    activeSidebarControl
-  }), [sidebarControls, activeSidebarControl]);
-  return Object(external_wp_element_["createElement"])(SidebarControlsContext.Provider, {
-    value: context
-  }, children);
-}
-function useSidebarControls() {
-  const {
-    sidebarControls
-  } = Object(external_wp_element_["useContext"])(SidebarControlsContext);
-  return sidebarControls;
-}
-function useActiveSidebarControl() {
-  const {
-    activeSidebarControl
-  } = Object(external_wp_element_["useContext"])(SidebarControlsContext);
-  return activeSidebarControl;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/customize-widgets/use-clear-selected-block.js
-/**
- * WordPress dependencies
- */



-/**
- * We can't just use <BlockSelectionClearer> because the customizer has
- * many root nodes rather than just one in the post editor.
- * We need to listen to the focus events in all those roots, and also in
- * the preview iframe.
- * This hook will clear the selected block when focusing outside the editor,
- * with a few exceptions:
- * 1. Focusing on popovers.
- * 2. Focusing on the inspector.
- * 3. Focusing on any modals/dialogs.
- * These cases are normally triggered by user interactions from the editor,
- * not by explicitly focusing outside the editor, hence no need for clearing.
- *
- * @param {Object} sidebarControl The sidebar control instance.
- * @param {Object} popoverRef     The ref object of the popover node container.
- */

-function useClearSelectedBlock(sidebarControl, popoverRef) {
-  const {
-    hasSelectedBlock,
-    hasMultiSelection
-  } = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]);
-  const {
-    clearSelectedBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (popoverRef.current && sidebarControl) {
-      const inspector = sidebarControl.inspector;
-      const container = sidebarControl.container[0];
-      const ownerDocument = container.ownerDocument;
-      const ownerWindow = ownerDocument.defaultView;

-      function handleClearSelectedBlock(element) {
-        if ( // 1. Make sure there are blocks being selected.
-        (hasSelectedBlock() || hasMultiSelection()) && // 2. The element should exist in the DOM (not deleted).
-        element && ownerDocument.contains(element) && // 3. It should also not exist in the container, the popover, nor the dialog.
-        !container.contains(element) && !popoverRef.current.contains(element) && !element.closest('[role="dialog"]') && // 4. The inspector should not be opened.
-        !inspector.expanded()) {
-          clearSelectedBlock();
-        }
-      } // Handle mouse down in the same document.

+/**
+ * Internal dependencies
+ */

-      function handleMouseDown(event) {
-        handleClearSelectedBlock(event.target);
-      } // Handle focusing outside the current document, like to iframes.

+const POPOVER_PROPS = {
+  className: 'customize-widgets-more-menu__content'
+};
+function MoreMenu() {
+  const [isKeyboardShortcutsModalActive, setIsKeyboardShortcutsModalVisible] = (0,external_wp_element_namespaceObject.useState)(false);

-      function handleBlur() {
-        handleClearSelectedBlock(ownerDocument.activeElement);
-      }
+  const toggleKeyboardShortcutsModal = () => setIsKeyboardShortcutsModalVisible(!isKeyboardShortcutsModalActive);

-      ownerDocument.addEventListener('mousedown', handleMouseDown);
-      ownerWindow.addEventListener('blur', handleBlur);
-      return () => {
-        ownerDocument.removeEventListener('mousedown', handleMouseDown);
-        ownerWindow.removeEventListener('blur', handleBlur);
-      };
-    }
-  }, [popoverRef, sidebarControl, hasSelectedBlock, hasMultiSelection, clearSelectedBlock]);
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/customize-widgets/keyboard-shortcuts', toggleKeyboardShortcutsModal);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(MoreMenuDropdown, {
+    as: external_wp_components_namespaceObject.ToolbarDropdownMenu,
+    className: "customize-widgets-more-menu",
+    popoverProps: POPOVER_PROPS
+  }, () => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject._x)('View', 'noun')
+  }, (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
+    scope: "core/customize-widgets",
+    feature: "fixedToolbar",
+    label: (0,external_wp_i18n_namespaceObject.__)('Top toolbar'),
+    info: (0,external_wp_i18n_namespaceObject.__)('Access all block and document tools in a single place'),
+    messageActivated: (0,external_wp_i18n_namespaceObject.__)('Top toolbar activated'),
+    messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Top toolbar deactivated')
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Tools')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: () => {
+      setIsKeyboardShortcutsModalVisible(true);
+    },
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.access('h')
+  }, (0,external_wp_i18n_namespaceObject.__)('Keyboard shortcuts')), (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
+    scope: "core/customize-widgets",
+    feature: "welcomeGuide",
+    label: (0,external_wp_i18n_namespaceObject.__)('Welcome Guide')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    role: "menuitem",
+    icon: library_external,
+    href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/block-based-widgets-editor/'),
+    target: "_blank",
+    rel: "noopener noreferrer"
+  }, (0,external_wp_i18n_namespaceObject.__)('Help'), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    as: "span"
+  },
+  /* translators: accessibility text */
+  (0,external_wp_i18n_namespaceObject.__)('(opens in a new tab)')))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Preferences')
+  }, (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
+    scope: "core/customize-widgets",
+    feature: "keepCaretInsideBlock",
+    label: (0,external_wp_i18n_namespaceObject.__)('Contain text cursor inside block'),
+    info: (0,external_wp_i18n_namespaceObject.__)('Aids screen readers by stopping text caret from leaving blocks.'),
+    messageActivated: (0,external_wp_i18n_namespaceObject.__)('Contain text cursor inside block activated'),
+    messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Contain text cursor inside block deactivated')
+  })))), (0,external_wp_element_namespaceObject.createElement)(KeyboardShortcutHelpModal, {
+    isModalActive: isKeyboardShortcutsModalActive,
+    toggleModal: toggleKeyboardShortcutsModal
+  }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/customize-widgets/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/header/index.js


+/**
+ * External dependencies
+ */
+
 /**
  * WordPress dependencies
  */



+
+
+
+
 /**
  * Internal dependencies
  */
@@ -1710,1709 +1510,860 @@ function useClearSelectedBlock(sidebarControl, popoverRef) {



-
-
-function CustomizeWidgets(_ref) {
+function Header(_ref) {
   let {
-    api,
-    sidebarControls,
-    blockEditorSettings
+    sidebar,
+    inserter,
+    isInserterOpened,
+    setIsInserterOpened,
+    isFixedToolbarActive
   } = _ref;
-  const [activeSidebarControl, setActiveSidebarControl] = Object(external_wp_element_["useState"])(null);
-  const parentContainer = document.getElementById('customize-theme-controls');
-  const popoverRef = Object(external_wp_element_["useRef"])();
-  useClearSelectedBlock(activeSidebarControl, popoverRef);
-  Object(external_wp_element_["useEffect"])(() => {
-    const unsubscribers = sidebarControls.map(sidebarControl => sidebarControl.subscribe(expanded => {
-      if (expanded) {
-        setActiveSidebarControl(sidebarControl);
-      }
-    }));
-    return () => {
-      unsubscribers.forEach(unsubscriber => unsubscriber());
-    };
-  }, [sidebarControls]);
-  const activeSidebar = activeSidebarControl && Object(external_wp_element_["createPortal"])(Object(external_wp_element_["createElement"])(error_boundary_ErrorBoundary, null, Object(external_wp_element_["createElement"])(SidebarBlockEditor, {
-    key: activeSidebarControl.id,
-    blockEditorSettings: blockEditorSettings,
-    sidebar: activeSidebarControl.sidebarAdapter,
-    inserter: activeSidebarControl.inserter,
-    inspector: activeSidebarControl.inspector
-  })), activeSidebarControl.container[0]); // We have to portal this to the parent of both the editor and the inspector,
-  // so that the popovers will appear above both of them.
-
-  const popover = parentContainer && Object(external_wp_element_["createPortal"])(Object(external_wp_element_["createElement"])("div", {
-    className: "customize-widgets-popover",
-    ref: popoverRef
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Popover"].Slot, null)), parentContainer);
-  return Object(external_wp_element_["createElement"])(external_wp_keyboardShortcuts_["ShortcutProvider"], null, Object(external_wp_element_["createElement"])(external_wp_components_["SlotFillProvider"], null, Object(external_wp_element_["createElement"])(SidebarControls, {
-    sidebarControls: sidebarControls,
-    activeSidebarControl: activeSidebarControl
-  }, Object(external_wp_element_["createElement"])(FocusControl, {
-    api: api,
-    sidebarControls: sidebarControls
-  }, activeSidebar, popover))));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/inspector-section.js
-function getInspectorSection() {
-  const {
-    wp: {
-      customize
-    }
-  } = window;
-  return class InspectorSection extends customize.Section {
-    constructor(id, options) {
-      super(id, options);
-      this.parentSection = options.parentSection;
-      this.returnFocusWhenClose = null;
-      this._isOpen = false;
-    }
-
-    get isOpen() {
-      return this._isOpen;
-    }
-
-    set isOpen(value) {
-      this._isOpen = value;
-      this.triggerActiveCallbacks();
-    }
-
-    ready() {
-      this.contentContainer[0].classList.add('customize-widgets-layout__inspector');
-    }
-
-    isContextuallyActive() {
-      return this.isOpen;
-    }
-
-    onChangeExpanded(expanded, args) {
-      super.onChangeExpanded(expanded, args);
-
-      if (this.parentSection && !args.unchanged) {
-        if (expanded) {
-          this.parentSection.collapse({
-            manualTransition: true
-          });
-        } else {
-          this.parentSection.expand({
-            manualTransition: true,
-            completeCallback: () => {
-              // Return focus after finishing the transition.
-              if (this.returnFocusWhenClose && !this.contentContainer[0].contains(this.returnFocusWhenClose)) {
-                this.returnFocusWhenClose.focus();
-              }
-            }
-          });
-        }
-      }
-    }
-
-    open() {
-      let {
-        returnFocusWhenClose
-      } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-      this.isOpen = true;
-      this.returnFocusWhenClose = returnFocusWhenClose;
-      this.expand({
-        allowMultiple: true
-      });
-    }
-
-    close() {
-      this.collapse({
-        allowMultiple: true
-      });
-    }
-
-    collapse(options) {
-      // Overridden collapse() function. Mostly call the parent collapse(), but also
-      // move our .isOpen to false.
-      // Initially, I tried tracking this with onChangeExpanded(), but it doesn't work
-      // because the block settings sidebar is a layer "on top of" the G editor sidebar.
-      //
-      // For example, when closing the block settings sidebar, the G
-      // editor sidebar would display, and onChangeExpanded in
-      // inspector-section would run with expanded=true, but I want
-      // isOpen to be false when the block settings is closed.
-      this.isOpen = false;
-      super.collapse(options);
-    }
-
-    triggerActiveCallbacks() {
-      // Manually fire the callbacks associated with moving this.active
-      // from false to true.  "active" is always true for this section,
-      // and "isContextuallyActive" reflects if the block settings
-      // sidebar is currently visible, that is, it has replaced the main
-      // Gutenberg view.
-      // The WP customizer only checks ".isContextuallyActive()" when
-      // ".active" changes values. But our ".active" never changes value.
-      // The WP customizer never foresaw a section being used a way we
-      // fit the block settings sidebar into a section. By manually
-      // triggering the "this.active" callbacks, we force the WP
-      // customizer to query our .isContextuallyActive() function and
-      // update its view of our status.
-      this.active.callbacks.fireWith(this.active, [false, true]);
-    }
-
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/sidebar-section.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-const getInspectorSectionId = sidebarId => `widgets-inspector-${sidebarId}`;
-
-function getSidebarSection() {
-  const {
-    wp: {
-      customize
-    }
-  } = window;
-  return class SidebarSection extends customize.Section {
-    ready() {
-      const InspectorSection = getInspectorSection();
-      this.inspector = new InspectorSection(getInspectorSectionId(this.id), {
-        title: Object(external_wp_i18n_["__"])('Block Settings'),
-        parentSection: this,
-        customizeAction: [Object(external_wp_i18n_["__"])('Customizing'), Object(external_wp_i18n_["__"])('Widgets'), this.params.title].join(' ▸ ')
-      });
-      customize.section.add(this.inspector);
-      this.contentContainer[0].classList.add('customize-widgets__sidebar-section');
-    }
-
-    hasSubSectionOpened() {
-      return this.inspector.expanded();
-    }
-
-    onChangeExpanded(expanded, _args) {
-      const controls = this.controls();
-      const args = { ..._args,
-
-        completeCallback() {
-          var _args$completeCallbac;
-
-          controls.forEach(control => {
-            var _control$onChangeSect;
-
-            (_control$onChangeSect = control.onChangeSectionExpanded) === null || _control$onChangeSect === void 0 ? void 0 : _control$onChangeSect.call(control, expanded, args);
-          });
-          (_args$completeCallbac = _args.completeCallback) === null || _args$completeCallbac === void 0 ? void 0 : _args$completeCallbac.call(_args);
-        }
-
-      };
-
-      if (args.manualTransition) {
-        if (expanded) {
-          this.contentContainer.addClass(['busy', 'open']);
-          this.contentContainer.removeClass('is-sub-section-open');
-          this.contentContainer.closest('.wp-full-overlay').addClass('section-open');
-          this.contentContainer.one('transitionend', () => {
-            this.contentContainer.removeClass('busy');
-            args.completeCallback();
-          });
-        } else {
-          this.contentContainer.addClass(['busy', 'is-sub-section-open']);
-          this.contentContainer.closest('.wp-full-overlay').addClass('section-open');
-          this.contentContainer.removeClass('open');
-          this.contentContainer.one('transitionend', () => {
-            this.contentContainer.removeClass('busy');
-            args.completeCallback();
-          });
-        }
-      } else {
-        super.onChangeExpanded(expanded, args);
-      }
-    }
-
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/sidebar-adapter.js
-/**
- * Internal dependencies
- */
-
-const {
-  wp
-} = window;
-
-function parseWidgetId(widgetId) {
-  const matches = widgetId.match(/^(.+)-(\d+)$/);
-
-  if (matches) {
-    return {
-      idBase: matches[1],
-      number: parseInt(matches[2], 10)
-    };
-  } // Likely an old single widget.
-
-
-  return {
-    idBase: widgetId
-  };
-}
-
-function widgetIdToSettingId(widgetId) {
-  const {
-    idBase,
-    number
-  } = parseWidgetId(widgetId);
-
-  if (number) {
-    return `widget_${idBase}[${number}]`;
-  }
-
-  return `widget_${idBase}`;
-}
-/**
- * This is a custom debounce function to call different callbacks depending on
- * whether it's the _leading_ call or not.
- *
- * @param {Function} leading  The callback that gets called first.
- * @param {Function} callback The callback that gets called after the first time.
- * @param {number}   timeout  The debounced time in milliseconds.
- * @return {Function} The debounced function.
- */
-
-
-function debounce(leading, callback, timeout) {
-  let isLeading = false;
-  let timerID;
-
-  function debounced() {
-    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-      args[_key] = arguments[_key];
-    }
-
-    const result = (isLeading ? callback : leading).apply(this, args);
-    isLeading = true;
-    clearTimeout(timerID);
-    timerID = setTimeout(() => {
-      isLeading = false;
-    }, timeout);
-    return result;
-  }
-
-  debounced.cancel = () => {
-    isLeading = false;
-    clearTimeout(timerID);
-  };
-
-  return debounced;
-}
-
-class sidebar_adapter_SidebarAdapter {
-  constructor(setting, api) {
-    this.setting = setting;
-    this.api = api;
-    this.locked = false;
-    this.widgetsCache = new WeakMap();
-    this.subscribers = new Set();
-    this.history = [this._getWidgetIds().map(widgetId => this.getWidget(widgetId))];
-    this.historyIndex = 0;
-    this.historySubscribers = new Set(); // Debounce the input for 1 second.
-
-    this._debounceSetHistory = debounce(this._pushHistory, this._replaceHistory, 1000);
-    this.setting.bind(this._handleSettingChange.bind(this));
-    this.api.bind('change', this._handleAllSettingsChange.bind(this));
-    this.undo = this.undo.bind(this);
-    this.redo = this.redo.bind(this);
-    this.save = this.save.bind(this);
-  }
-
-  subscribe(callback) {
-    this.subscribers.add(callback);
-    return () => {
-      this.subscribers.delete(callback);
-    };
-  }
-
-  getWidgets() {
-    return this.history[this.historyIndex];
-  }
-
-  _emit() {
-    for (const callback of this.subscribers) {
-      callback(...arguments);
-    }
-  }
-
-  _getWidgetIds() {
-    return this.setting.get();
-  }
-
-  _pushHistory() {
-    this.history = [...this.history.slice(0, this.historyIndex + 1), this._getWidgetIds().map(widgetId => this.getWidget(widgetId))];
-    this.historyIndex += 1;
-    this.historySubscribers.forEach(listener => listener());
-  }
-
-  _replaceHistory() {
-    this.history[this.historyIndex] = this._getWidgetIds().map(widgetId => this.getWidget(widgetId));
-  }
-
-  _handleSettingChange() {
-    if (this.locked) {
-      return;
-    }
-
-    const prevWidgets = this.getWidgets();
-
-    this._pushHistory();
-
-    this._emit(prevWidgets, this.getWidgets());
-  }
-
-  _handleAllSettingsChange(setting) {
-    if (this.locked) {
-      return;
-    }
-
-    if (!setting.id.startsWith('widget_')) {
-      return;
-    }
-
-    const widgetId = settingIdToWidgetId(setting.id);
-
-    if (!this.setting.get().includes(widgetId)) {
-      return;
-    }
-
-    const prevWidgets = this.getWidgets();
-
-    this._pushHistory();
-
-    this._emit(prevWidgets, this.getWidgets());
-  }
-
-  _createWidget(widget) {
-    const widgetModel = wp.customize.Widgets.availableWidgets.findWhere({
-      id_base: widget.idBase
-    });
-    let number = widget.number;
-
-    if (widgetModel.get('is_multi') && !number) {
-      widgetModel.set('multi_number', widgetModel.get('multi_number') + 1);
-      number = widgetModel.get('multi_number');
-    }
-
-    const settingId = number ? `widget_${widget.idBase}[${number}]` : `widget_${widget.idBase}`;
-    const settingArgs = {
-      transport: wp.customize.Widgets.data.selectiveRefreshableWidgets[widgetModel.get('id_base')] ? 'postMessage' : 'refresh',
-      previewer: this.setting.previewer
-    };
-    const setting = this.api.create(settingId, settingId, '', settingArgs);
-    setting.set(widget.instance);
-    const widgetId = settingIdToWidgetId(settingId);
-    return widgetId;
-  }
-
-  _removeWidget(widget) {
-    const settingId = widgetIdToSettingId(widget.id);
-    const setting = this.api(settingId);
-
-    if (setting) {
-      const instance = setting.get();
-      this.widgetsCache.delete(instance);
-    }
-
-    this.api.remove(settingId);
-  }
-
-  _updateWidget(widget) {
-    const prevWidget = this.getWidget(widget.id); // Bail out update if nothing changed.
-
-    if (prevWidget === widget) {
-      return widget.id;
-    } // Update existing setting if only the widget's instance changed.
-
-
-    if (prevWidget.idBase && widget.idBase && prevWidget.idBase === widget.idBase) {
-      const settingId = widgetIdToSettingId(widget.id);
-      this.api(settingId).set(widget.instance);
-      return widget.id;
-    } // Otherwise delete and re-create.
-
-
-    this._removeWidget(widget);
-
-    return this._createWidget(widget);
-  }
-
-  getWidget(widgetId) {
-    if (!widgetId) {
-      return null;
-    }
-
-    const {
-      idBase,
-      number
-    } = parseWidgetId(widgetId);
-    const settingId = widgetIdToSettingId(widgetId);
-    const setting = this.api(settingId);
-
-    if (!setting) {
-      return null;
-    }
-
-    const instance = setting.get();
-
-    if (this.widgetsCache.has(instance)) {
-      return this.widgetsCache.get(instance);
-    }
-
-    const widget = {
-      id: widgetId,
-      idBase,
-      number,
-      instance
-    };
-    this.widgetsCache.set(instance, widget);
-    return widget;
-  }
-
-  _updateWidgets(nextWidgets) {
-    this.locked = true;
-    const addedWidgetIds = [];
-    const nextWidgetIds = nextWidgets.map(nextWidget => {
-      if (nextWidget.id && this.getWidget(nextWidget.id)) {
-        addedWidgetIds.push(null);
-        return this._updateWidget(nextWidget);
-      }
-
-      const widgetId = this._createWidget(nextWidget);
-
-      addedWidgetIds.push(widgetId);
-      return widgetId;
+  const [[hasUndo, hasRedo], setUndoRedo] = (0,external_wp_element_namespaceObject.useState)([sidebar.hasUndo(), sidebar.hasRedo()]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return sidebar.subscribeHistory(() => {
+      setUndoRedo([sidebar.hasUndo(), sidebar.hasRedo()]);
     });
-    const deletedWidgets = this.getWidgets().filter(widget => !nextWidgetIds.includes(widget.id));
-    deletedWidgets.forEach(widget => this._removeWidget(widget));
-    this.setting.set(nextWidgetIds);
-    this.locked = false;
-    return addedWidgetIds;
-  }
-
-  setWidgets(nextWidgets) {
-    const addedWidgetIds = this._updateWidgets(nextWidgets);
-
-    this._debounceSetHistory();
-
-    return addedWidgetIds;
-  }
-  /**
-   * Undo/Redo related features
-   */
-
-
-  hasUndo() {
-    return this.historyIndex > 0;
-  }
-
-  hasRedo() {
-    return this.historyIndex < this.history.length - 1;
-  }
-
-  _seek(historyIndex) {
-    const currentWidgets = this.getWidgets();
-    this.historyIndex = historyIndex;
-    const widgets = this.history[this.historyIndex];
-
-    this._updateWidgets(widgets);
-
-    this._emit(currentWidgets, this.getWidgets());
-
-    this.historySubscribers.forEach(listener => listener());
-
-    this._debounceSetHistory.cancel();
-  }
-
-  undo() {
-    if (!this.hasUndo()) {
-      return;
-    }
-
-    this._seek(this.historyIndex - 1);
-  }
-
-  redo() {
-    if (!this.hasRedo()) {
-      return;
-    }
-
-    this._seek(this.historyIndex + 1);
-  }
-
-  subscribeHistory(listener) {
-    this.historySubscribers.add(listener);
-    return () => {
-      this.historySubscribers.delete(listener);
-    };
-  }
-
-  save() {
-    this.api.previewer.save();
-  }
-
-}
-
-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/inserter-outer-section.js
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-function getInserterOuterSection() {
-  const {
-    wp: {
-      customize
-    }
-  } = window;
-  const OuterSection = customize.OuterSection; // Override the OuterSection class to handle multiple outer sections.
-  // It closes all the other outer sections whenever one is opened.
-  // The result is that at most one outer section can be opened at the same time.
-
-  customize.OuterSection = class extends OuterSection {
-    onChangeExpanded(expanded, args) {
-      if (expanded) {
-        customize.section.each(section => {
-          if (section.params.type === 'outer' && section.id !== this.id) {
-            if (section.expanded()) {
-              section.collapse();
-            }
-          }
-        });
-      }
-
-      return super.onChangeExpanded(expanded, args);
-    }
-
-  }; // Handle constructor so that "params.type" can be correctly pointed to "outer".
-
-  customize.sectionConstructor.outer = customize.OuterSection;
-  return class InserterOuterSection extends customize.OuterSection {
-    constructor() {
-      super(...arguments); // This is necessary since we're creating a new class which is not identical to the original OuterSection.
-      // @See https://github.com/WordPress/wordpress-develop/blob/42b05c397c50d9dc244083eff52991413909d4bd/src/js/_enqueues/wp/customize/controls.js#L1427-L1436
-
-      this.params.type = 'outer';
-      this.activeElementBeforeExpanded = null;
-      const ownerWindow = this.contentContainer[0].ownerDocument.defaultView; // Handle closing the inserter when pressing the Escape key.
-
-      ownerWindow.addEventListener('keydown', event => {
-        if (this.expanded() && (event.keyCode === external_wp_keycodes_["ESCAPE"] || event.code === 'Escape') && !event.defaultPrevented) {
-          event.preventDefault();
-          event.stopPropagation();
-          Object(external_wp_data_["dispatch"])(store).setIsInserterOpened(false);
-        }
-      }, // Use capture mode to make this run before other event listeners.
-      true);
-      this.contentContainer.addClass('widgets-inserter'); // Set a flag if the state is being changed from open() or close().
-      // Don't propagate the event if it's an internal action to prevent infinite loop.
-
-      this.isFromInternalAction = false;
-      this.expanded.bind(() => {
-        if (!this.isFromInternalAction) {
-          // Propagate the event to React to sync the state.
-          Object(external_wp_data_["dispatch"])(store).setIsInserterOpened(this.expanded());
-        }
-
-        this.isFromInternalAction = false;
-      });
-    }
-
-    open() {
-      if (!this.expanded()) {
-        const contentContainer = this.contentContainer[0];
-        this.activeElementBeforeExpanded = contentContainer.ownerDocument.activeElement;
-        this.isFromInternalAction = true;
-        this.expand({
-          completeCallback() {
-            // We have to do this in a "completeCallback" or else the elements will not yet be visible/tabbable.
-            // The first one should be the close button,
-            // we want to skip it and choose the second one instead, which is the search box.
-            const searchBox = external_wp_dom_["focus"].tabbable.find(contentContainer)[1];
-
-            if (searchBox) {
-              searchBox.focus();
-            }
-          }
-
-        });
-      }
-    }
-
-    close() {
-      if (this.expanded()) {
-        const contentContainer = this.contentContainer[0];
-        const activeElement = contentContainer.ownerDocument.activeElement;
-        this.isFromInternalAction = true;
-        this.collapse({
-          completeCallback() {
-            // Return back the focus when closing the inserter.
-            // Only do this if the active element which triggers the action is inside the inserter,
-            // (the close button for instance). In that case the focus will be lost.
-            // Otherwise, we don't hijack the focus when the user is focusing on other elements
-            // (like the quick inserter).
-            if (contentContainer.contains(activeElement)) {
-              // Return back the focus when closing the inserter.
-              if (this.activeElementBeforeExpanded) {
-                this.activeElementBeforeExpanded.focus();
-              }
-            }
-          }
-
-        });
-      }
-    }
-
-  };
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/sidebar-control.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-const getInserterId = controlId => `widgets-inserter-${controlId}`;
-
-function getSidebarControl() {
-  const {
-    wp: {
-      customize
-    }
-  } = window;
-  return class SidebarControl extends customize.Control {
-    constructor() {
-      super(...arguments);
-      this.subscribers = new Set();
-    }
-
-    ready() {
-      const InserterOuterSection = getInserterOuterSection();
-      this.inserter = new InserterOuterSection(getInserterId(this.id), {});
-      customize.section.add(this.inserter);
-      this.sectionInstance = customize.section(this.section());
-      this.inspector = this.sectionInstance.inspector;
-      this.sidebarAdapter = new sidebar_adapter_SidebarAdapter(this.setting, customize);
-    }
-
-    subscribe(callback) {
-      this.subscribers.add(callback);
-      return () => {
-        this.subscribers.delete(callback);
-      };
-    }
-
-    onChangeSectionExpanded(expanded, args) {
-      if (!args.unchanged) {
-        // Close the inserter when the section collapses.
-        if (!expanded) {
-          Object(external_wp_data_["dispatch"])(store).setIsInserterOpened(false);
-        }
-
-        this.subscribers.forEach(subscriber => subscriber(expanded, args));
-      }
+  }, [sidebar]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('customize-widgets-header', {
+      'is-fixed-toolbar-active': isFixedToolbarActive
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.NavigableToolbar, {
+    className: "customize-widgets-header-toolbar",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Document tools')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    icon: !(0,external_wp_i18n_namespaceObject.isRTL)() ? library_undo : library_redo
+    /* translators: button label text should, if possible, be under 16 characters. */
+    ,
+    label: (0,external_wp_i18n_namespaceObject.__)('Undo'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primary('z') // If there are no undo levels we don't want to actually disable this
+    // button, because it will remove focus for keyboard users.
+    // See: https://github.com/WordPress/gutenberg/issues/3486
+    ,
+    "aria-disabled": !hasUndo,
+    onClick: sidebar.undo,
+    className: "customize-widgets-editor-history-button undo-button"
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    icon: !(0,external_wp_i18n_namespaceObject.isRTL)() ? library_redo : library_undo
+    /* translators: button label text should, if possible, be under 16 characters. */
+    ,
+    label: (0,external_wp_i18n_namespaceObject.__)('Redo'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primaryShift('z') // If there are no undo levels we don't want to actually disable this
+    // button, because it will remove focus for keyboard users.
+    // See: https://github.com/WordPress/gutenberg/issues/3486
+    ,
+    "aria-disabled": !hasRedo,
+    onClick: sidebar.redo,
+    className: "customize-widgets-editor-history-button redo-button"
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    className: "customize-widgets-header-toolbar__inserter-toggle",
+    isPressed: isInserterOpened,
+    variant: "primary",
+    icon: library_plus,
+    label: (0,external_wp_i18n_namespaceObject._x)('Add block', 'Generic label for block inserter button'),
+    onClick: () => {
+      setIsInserterOpened(isOpen => !isOpen);
     }
-
-  };
+  }), (0,external_wp_element_namespaceObject.createElement)(MoreMenu, null))), (0,external_wp_element_namespaceObject.createPortal)((0,external_wp_element_namespaceObject.createElement)(components_inserter, {
+    setIsOpened: setIsInserterOpened
+  }), inserter.contentContainer[0]));
 }

-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/move-to-sidebar.js
-
-
-/**
- * External dependencies
- */
+/* harmony default export */ var header = (Header);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/inserter/use-inserter.js
 /**
  * WordPress dependencies
  */


-
-
-
-
 /**
  * Internal dependencies
  */


-
-
-const withMoveToSidebarToolbarItem = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => props => {
-  let widgetId = Object(external_wp_widgets_["getWidgetIdFromBlock"])(props);
-  const sidebarControls = useSidebarControls();
-  const activeSidebarControl = useActiveSidebarControl();
-  const hasMultipleSidebars = (sidebarControls === null || sidebarControls === void 0 ? void 0 : sidebarControls.length) > 1;
-  const blockName = props.name;
-  const clientId = props.clientId;
-  const canInsertBlockInSidebar = Object(external_wp_data_["useSelect"])(select => {
-    // Use an empty string to represent the root block list, which
-    // in the customizer editor represents a sidebar/widget area.
-    return select(external_wp_blockEditor_["store"]).canInsertBlockType(blockName, '');
-  }, [blockName]);
-  const block = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).getBlock(clientId), [clientId]);
+function useInserter(inserter) {
+  const isInserterOpened = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).isInserterOpened(), []);
   const {
-    removeBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const [, focusWidget] = useFocusControl();
-
-  function moveToSidebar(sidebarControlId) {
-    const newSidebarControl = sidebarControls.find(sidebarControl => sidebarControl.id === sidebarControlId);
-
-    if (widgetId) {
-      /**
-       * If there's a widgetId, move it to the other sidebar.
-       */
-      const oldSetting = activeSidebarControl.setting;
-      const newSetting = newSidebarControl.setting;
-      oldSetting(Object(external_lodash_["without"])(oldSetting(), widgetId));
-      newSetting([...newSetting(), widgetId]);
+    setIsInserterOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isInserterOpened) {
+      inserter.open();
     } else {
-      /**
-       * If there isn't a widgetId, it's most likely a inner block.
-       * First, remove the block in the original sidebar,
-       * then, create a new widget in the new sidebar and get back its widgetId.
-       */
-      const sidebarAdapter = newSidebarControl.sidebarAdapter;
-      removeBlock(clientId);
-      const addedWidgetIds = sidebarAdapter.setWidgets([...sidebarAdapter.getWidgets(), blockToWidget(block)]); // The last non-null id is the added widget's id.
-
-      widgetId = addedWidgetIds.reverse().find(id => !!id);
-    } // Move focus to the moved widget and expand the sidebar.
-
-
-    focusWidget(widgetId);
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(BlockEdit, props), hasMultipleSidebars && canInsertBlockInSidebar && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_widgets_["MoveToWidgetArea"], {
-    widgetAreas: sidebarControls.map(sidebarControl => ({
-      id: sidebarControl.id,
-      name: sidebarControl.params.label,
-      description: sidebarControl.params.description
-    })),
-    currentWidgetAreaId: activeSidebarControl === null || activeSidebarControl === void 0 ? void 0 : activeSidebarControl.id,
-    onSelect: moveToSidebar
-  })));
-}, 'withMoveToSidebarToolbarItem');
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/customize-widgets/block-edit', withMoveToSidebarToolbarItem);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/replace-media-upload.js
-/**
- * WordPress dependencies
- */
-
-
-
-const replaceMediaUpload = () => external_wp_mediaUtils_["MediaUpload"];
-
-Object(external_wp_hooks_["addFilter"])('editor.MediaUpload', 'core/edit-widgets/replace-media-upload', replaceMediaUpload);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/wide-widget-display.js
-
-
-
-/**
- * WordPress dependencies
- */
-
-
-const {
-  wp: wide_widget_display_wp
-} = window;
-const withWideWidgetDisplay = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => props => {
-  var _wp$customize$Widgets, _wp$customize$Widgets2;
-
-  const {
-    idBase
-  } = props.attributes;
-  const isWide = (_wp$customize$Widgets = (_wp$customize$Widgets2 = wide_widget_display_wp.customize.Widgets.data.availableWidgets.find(widget => widget.id_base === idBase)) === null || _wp$customize$Widgets2 === void 0 ? void 0 : _wp$customize$Widgets2.is_wide) !== null && _wp$customize$Widgets !== void 0 ? _wp$customize$Widgets : false;
-  return Object(external_wp_element_["createElement"])(BlockEdit, Object(esm_extends["a" /* default */])({}, props, {
-    isWide: isWide
-  }));
-}, 'withWideWidgetDisplay');
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/customize-widgets/wide-widget-display', withWideWidgetDisplay);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/index.js
-/**
- * Internal dependencies
- */
-
-
+      inserter.close();
+    }
+  }, [inserter, isInserterOpened]);
+  return [isInserterOpened, (0,external_wp_element_namespaceObject.useCallback)(updater => {
+    let isOpen = updater;

+    if (typeof updater === 'function') {
+      isOpen = updater((0,external_wp_data_namespaceObject.select)(store_store).isInserterOpened());
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/index.js
+    setIsInserterOpened(isOpen);
+  }, [setIsInserterOpened])];
+}

+;// CONCATENATED MODULE: external ["wp","isShallowEqual"]
+var external_wp_isShallowEqual_namespaceObject = window["wp"]["isShallowEqual"];
+var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/utils.js
+// @ts-check

 /**
  * WordPress dependencies
  */


-
-
-
-
 /**
- * Internal dependencies
+ * External dependencies
  */


-
-
-
-const {
-  wp: build_module_wp
-} = window;
-const DISABLED_BLOCKS = ['core/more', 'core/block', 'core/freeform', 'core/template-part'];
-const ENABLE_EXPERIMENTAL_FSE_BLOCKS = false;
 /**
- * Initializes the widgets block editor in the customizer.
+ * Convert settingId to widgetId.
  *
- * @param {string} editorName          The editor name.
- * @param {Object} blockEditorSettings Block editor settings.
+ * @param {string} settingId The setting id.
+ * @return {string} The widget id.
  */

-function initialize(editorName, blockEditorSettings) {
-  Object(external_wp_data_["dispatch"])(build_module["i" /* store */]).setFeatureDefaults('core/customize-widgets', {
-    fixedToolbar: false,
-    welcomeGuide: true
-  });
-
-  Object(external_wp_data_["dispatch"])(external_wp_blocks_["store"]).__experimentalReapplyBlockTypeFilters();
-
-  const coreBlocks = Object(external_wp_blockLibrary_["__experimentalGetCoreBlocks"])().filter(block => {
-    return !(DISABLED_BLOCKS.includes(block.name) || block.name.startsWith('core/post') || block.name.startsWith('core/query') || block.name.startsWith('core/site') || block.name.startsWith('core/navigation'));
-  });
-
-  Object(external_wp_blockLibrary_["registerCoreBlocks"])(coreBlocks);
-  Object(external_wp_widgets_["registerLegacyWidgetBlock"])();
-
-  if (false) {}
+function settingIdToWidgetId(settingId) {
+  const matches = settingId.match(/^widget_(.+)(?:\[(\d+)\])$/);

-  Object(external_wp_widgets_["registerLegacyWidgetVariations"])(blockEditorSettings);
-  Object(external_wp_widgets_["registerWidgetGroupBlock"])(); // As we are unregistering `core/freeform` to avoid the Classic block, we must
-  // replace it with something as the default freeform content handler. Failure to
-  // do this will result in errors in the default block parser.
-  // see: https://github.com/WordPress/gutenberg/issues/33097
+  if (matches) {
+    const idBase = matches[1];
+    const number = parseInt(matches[2], 10);
+    return `${idBase}-${number}`;
+  }

-  Object(external_wp_blocks_["setFreeformContentHandlerName"])('core/html');
-  const SidebarControl = getSidebarControl(blockEditorSettings);
-  build_module_wp.customize.sectionConstructor.sidebar = getSidebarSection();
-  build_module_wp.customize.controlConstructor.sidebar_block_editor = SidebarControl;
-  const container = document.createElement('div');
-  document.body.appendChild(container);
-  build_module_wp.customize.bind('ready', () => {
-    const sidebarControls = [];
-    build_module_wp.customize.control.each(control => {
-      if (control instanceof SidebarControl) {
-        sidebarControls.push(control);
-      }
-    });
-    Object(external_wp_element_["render"])(Object(external_wp_element_["createElement"])(CustomizeWidgets, {
-      api: build_module_wp.customize,
-      sidebarControls: sidebarControls,
-      blockEditorSettings: blockEditorSettings
-    }), container);
-  });
+  return settingId;
 }
-
-
-/***/ }),
-
-/***/ "GLVC":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["widgets"]; }());
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "HSyU":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blocks"]; }());
-
-/***/ }),
-
-/***/ "K+tz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (external);
-
-
-/***/ }),
-
-/***/ "K2cm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
 /**
- * WordPress dependencies
+ * Transform a block to a customizable widget.
+ *
+ * @param {WPBlock} block          The block to be transformed from.
+ * @param {Object}  existingWidget The widget to be extended from.
+ * @return {Object} The transformed widget.
  */

-const redo = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (redo);
-
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "KEfo":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["viewport"]; }());
-
-/***/ }),
-
-/***/ "Ntru":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function blockToWidget(block) {
+  let existingWidget = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
+  let widget;
+  const isValidLegacyWidgetBlock = block.name === 'core/legacy-widget' && (block.attributes.id || block.attributes.instance);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  if (isValidLegacyWidgetBlock) {
+    if (block.attributes.id) {
+      // Widget that does not extend WP_Widget.
+      widget = {
+        id: block.attributes.id
+      };
+    } else {
+      const {
+        encoded,
+        hash,
+        raw,
+        ...rest
+      } = block.attributes.instance; // Widget that extends WP_Widget.

+      widget = {
+        idBase: block.attributes.idBase,
+        instance: { ...(existingWidget === null || existingWidget === void 0 ? void 0 : existingWidget.instance),
+          // Required only for the customizer.
+          is_widget_customizer_js_value: true,
+          encoded_serialized_instance: encoded,
+          instance_hash_key: hash,
+          raw_instance: raw,
+          ...rest
+        }
+      };
+    }
+  } else {
+    const instance = {
+      content: (0,external_wp_blocks_namespaceObject.serialize)(block)
+    };
+    widget = {
+      idBase: 'block',
+      widgetClass: 'WP_Widget_Block',
+      instance: {
+        raw_instance: instance
+      }
+    };
+  }

+  return { ...(0,external_lodash_namespaceObject.omit)(existingWidget, ['form', 'rendered']),
+    ...widget
+  };
+}
 /**
- * WordPress dependencies
+ * Transform a widget to a block.
+ *
+ * @param {Object} widget          The widget to be transformed from.
+ * @param {string} widget.id       The widget id.
+ * @param {string} widget.idBase   The id base of the widget.
+ * @param {number} widget.number   The number/index of the widget.
+ * @param {Object} widget.instance The instance of the widget.
+ * @return {WPBlock} The transformed block.
  */

-const undo = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (undo);
-
-
-/***/ }),
+function widgetToBlock(_ref) {
+  let {
+    id,
+    idBase,
+    number,
+    instance
+  } = _ref;
+  let block;
+  const {
+    encoded_serialized_instance: encoded,
+    instance_hash_key: hash,
+    raw_instance: raw,
+    ...rest
+  } = instance;

-/***/ "Q4Sy":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  if (idBase === 'block') {
+    const parsedBlocks = (0,external_wp_blocks_namespaceObject.parse)(raw.content);
+    block = parsedBlocks.length ? parsedBlocks[0] : (0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {});
+  } else if (number) {
+    // Widget that extends WP_Widget.
+    block = (0,external_wp_blocks_namespaceObject.createBlock)('core/legacy-widget', {
+      idBase,
+      instance: {
+        encoded,
+        hash,
+        raw,
+        ...rest
+      }
+    });
+  } else {
+    // Widget that does not extend WP_Widget.
+    block = (0,external_wp_blocks_namespaceObject.createBlock)('core/legacy-widget', {
+      id
+    });
+  }

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  return (0,external_wp_widgets_namespaceObject.addWidgetIdToBlock)(block, id);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/use-sidebar-block-editor.js
+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */

-const plus = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (plus);
-

-/***/ }),
-
-/***/ "QyPg":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blockLibrary"]; }());
-
-/***/ }),
-
-/***/ "RMJe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (check);
-

-/***/ }),
-
-/***/ "RxS6":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["keycodes"]; }());
+function widgetsToBlocks(widgets) {
+  return widgets.map(widget => widgetToBlock(widget));
+}

-/***/ }),
+function useSidebarBlockEditor(sidebar) {
+  const [blocks, setBlocks] = (0,external_wp_element_namespaceObject.useState)(() => widgetsToBlocks(sidebar.getWidgets()));
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return sidebar.subscribe((prevWidgets, nextWidgets) => {
+      setBlocks(prevBlocks => {
+        const prevWidgetsMap = new Map(prevWidgets.map(widget => [widget.id, widget]));
+        const prevBlocksMap = new Map(prevBlocks.map(block => [(0,external_wp_widgets_namespaceObject.getWidgetIdFromBlock)(block), block]));
+        const nextBlocks = nextWidgets.map(nextWidget => {
+          const prevWidget = prevWidgetsMap.get(nextWidget.id); // Bail out updates.

-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
+          if (prevWidget && prevWidget === nextWidget) {
+            return prevBlocksMap.get(nextWidget.id);
+          }

-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */
+          return widgetToBlock(nextWidget);
+        }); // Bail out updates.

-(function () {
-	'use strict';
+        if (external_wp_isShallowEqual_default()(prevBlocks, nextBlocks)) {
+          return prevBlocks;
+        }

-	var hasOwn = {}.hasOwnProperty;
+        return nextBlocks;
+      });
+    });
+  }, [sidebar]);
+  const onChangeBlocks = (0,external_wp_element_namespaceObject.useCallback)(nextBlocks => {
+    setBlocks(prevBlocks => {
+      if (external_wp_isShallowEqual_default()(prevBlocks, nextBlocks)) {
+        return prevBlocks;
+      }

-	function classNames() {
-		var classes = [];
+      const prevBlocksMap = new Map(prevBlocks.map(block => [(0,external_wp_widgets_namespaceObject.getWidgetIdFromBlock)(block), block]));
+      const nextWidgets = nextBlocks.map(nextBlock => {
+        const widgetId = (0,external_wp_widgets_namespaceObject.getWidgetIdFromBlock)(nextBlock); // Update existing widgets.

-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
+        if (widgetId && prevBlocksMap.has(widgetId)) {
+          const prevBlock = prevBlocksMap.get(widgetId);
+          const prevWidget = sidebar.getWidget(widgetId); // Bail out updates by returning the previous widgets.
+          // Deep equality is necessary until the block editor's internals changes.

-			var argType = typeof arg;
+          if ((0,external_lodash_namespaceObject.isEqual)(nextBlock, prevBlock) && prevWidget) {
+            return prevWidget;
+          }

-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
+          return blockToWidget(nextBlock, prevWidget);
+        } // Add a new widget.

-		return classes.join(' ');
-	}

-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());
+        return blockToWidget(nextBlock);
+      }); // Bail out updates if the updated widgets are the same.

+      if (external_wp_isShallowEqual_default()(sidebar.getWidgets(), nextWidgets)) {
+        return prevBlocks;
+      }

-/***/ }),
+      const addedWidgetIds = sidebar.setWidgets(nextWidgets);
+      return nextBlocks.reduce((updatedNextBlocks, nextBlock, index) => {
+        const addedWidgetId = addedWidgetIds[index];

-/***/ "Tqx9":
-/***/ (function(module, exports) {
+        if (addedWidgetId !== null) {
+          // Only create a new instance if necessary to prevent
+          // the whole editor from re-rendering on every edit.
+          if (updatedNextBlocks === nextBlocks) {
+            updatedNextBlocks = nextBlocks.slice();
+          }

-(function() { module.exports = window["wp"]["primitives"]; }());
+          updatedNextBlocks[index] = (0,external_wp_widgets_namespaceObject.addWidgetIdToBlock)(nextBlock, addedWidgetId);
+        }

-/***/ }),
+        return updatedNextBlocks;
+      }, nextBlocks);
+    });
+  }, [sidebar]);
+  return [blocks, onChangeBlocks, onChangeBlocks];
+}

-/***/ "TvNi":
-/***/ (function(module, exports) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/focus-control/index.js

-(function() { module.exports = window["wp"]["plugins"]; }());

-/***/ }),
+/**
+ * WordPress dependencies
+ */

-/***/ "U60i":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Internal dependencies
+ */

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ complementary_area; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ ComplementaryAreaMoreMenuItem; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ fullscreen_mode; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ interface_skeleton; });
-__webpack_require__.d(__webpack_exports__, "h", function() { return /* reexport */ pinned_items; });
-__webpack_require__.d(__webpack_exports__, "f", function() { return /* reexport */ MoreMenuDropdown; });
-__webpack_require__.d(__webpack_exports__, "g", function() { return /* reexport */ MoreMenuFeatureToggle; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ action_item; });
-__webpack_require__.d(__webpack_exports__, "i", function() { return /* reexport */ store; });
+const FocusControlContext = (0,external_wp_element_namespaceObject.createContext)();
+function FocusControl(_ref) {
+  let {
+    api,
+    sidebarControls,
+    children
+  } = _ref;
+  const [focusedWidgetIdRef, setFocusedWidgetIdRef] = (0,external_wp_element_namespaceObject.useState)({
+    current: null
+  });
+  const focusWidget = (0,external_wp_element_namespaceObject.useCallback)(widgetId => {
+    for (const sidebarControl of sidebarControls) {
+      const widgets = sidebarControl.setting.get();

-// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/actions.js
-var actions_namespaceObject = {};
-__webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "enableComplementaryArea", function() { return actions_enableComplementaryArea; });
-__webpack_require__.d(actions_namespaceObject, "disableComplementaryArea", function() { return actions_disableComplementaryArea; });
-__webpack_require__.d(actions_namespaceObject, "pinItem", function() { return actions_pinItem; });
-__webpack_require__.d(actions_namespaceObject, "unpinItem", function() { return actions_unpinItem; });
-__webpack_require__.d(actions_namespaceObject, "toggleFeature", function() { return actions_toggleFeature; });
-__webpack_require__.d(actions_namespaceObject, "setFeatureValue", function() { return setFeatureValue; });
-__webpack_require__.d(actions_namespaceObject, "setFeatureDefaults", function() { return setFeatureDefaults; });
+      if (widgets.includes(widgetId)) {
+        sidebarControl.sectionInstance.expand({
+          // Schedule it after the complete callback so that
+          // it won't be overridden by the "Back" button focus.
+          completeCallback() {
+            // Create a "ref-like" object every time to ensure
+            // the same widget id can also triggers the focus control.
+            setFocusedWidgetIdRef({
+              current: widgetId
+            });
+          }

-// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getActiveComplementaryArea", function() { return selectors_getActiveComplementaryArea; });
-__webpack_require__.d(selectors_namespaceObject, "isItemPinned", function() { return selectors_isItemPinned; });
-__webpack_require__.d(selectors_namespaceObject, "isFeatureActive", function() { return isFeatureActive; });
+        });
+        break;
+      }
+    }
+  }, [sidebarControls]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    function handleFocus(settingId) {
+      const widgetId = settingIdToWidgetId(settingId);
+      focusWidget(widgetId);
+    }

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+    function handleReady() {
+      api.previewer.preview.bind('focus-control-for-setting', handleFocus);
+    }

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+    api.previewer.bind('ready', handleReady);
+    return () => {
+      api.previewer.unbind('ready', handleReady);
+      api.previewer.preview.unbind('focus-control-for-setting', handleFocus);
+    };
+  }, [api, focusWidget]);
+  const context = (0,external_wp_element_namespaceObject.useMemo)(() => [focusedWidgetIdRef, focusWidget], [focusedWidgetIdRef, focusWidget]);
+  return (0,external_wp_element_namespaceObject.createElement)(FocusControlContext.Provider, {
+    value: context
+  }, children);
+}
+const useFocusControl = () => (0,external_wp_element_namespaceObject.useContext)(FocusControlContext);

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/focus-control/use-blocks-focus-control.js
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
-var check = __webpack_require__("RMJe");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
-var star_filled = __webpack_require__("URob");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
-var star_empty = __webpack_require__("Xxwi");
+function useBlocksFocusControl(blocks) {
+  const {
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const [focusedWidgetIdRef] = useFocusControl();
+  const blocksRef = (0,external_wp_element_namespaceObject.useRef)(blocks);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    blocksRef.current = blocks;
+  }, [blocks]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (focusedWidgetIdRef.current) {
+      const focusedBlock = blocksRef.current.find(block => (0,external_wp_widgets_namespaceObject.getWidgetIdFromBlock)(block) === focusedWidgetIdRef.current);

-// EXTERNAL MODULE: external ["wp","viewport"]
-var external_wp_viewport_ = __webpack_require__("KEfo");
+      if (focusedBlock) {
+        selectBlock(focusedBlock.clientId); // If the block is already being selected, the DOM node won't
+        // get focused again automatically.
+        // We select the DOM and focus it manually here.

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
+        const blockNode = document.querySelector(`[data-block="${focusedBlock.clientId}"]`);
+        blockNode === null || blockNode === void 0 ? void 0 : blockNode.focus();
+      }
+    }
+  }, [focusedWidgetIdRef, selectBlock]);
+}

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/sidebar-editor-provider.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/reducer.js
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */

-
 /**
- * Reducer to keep tract of the active area per scope.
- *
- * @param {boolean} state           Previous state.
- * @param {Object}  action          Action object.
- * @param {string}  action.type     Action type.
- * @param {string}  action.itemType Type of item.
- * @param {string}  action.scope    Item scope.
- * @param {string}  action.item     Item name.
- *
- * @return {Object} Updated state.
+ * Internal dependencies
  */

-function singleEnableItems() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let {
-    type,
-    itemType,
-    scope,
-    item
-  } = arguments.length > 1 ? arguments[1] : undefined;

-  if (type !== 'SET_SINGLE_ENABLE_ITEM' || !itemType || !scope) {
-    return state;
-  }

-  return { ...state,
-    [itemType]: { ...state[itemType],
-      [scope]: item || null
-    }
-  };
+function SidebarEditorProvider(_ref) {
+  let {
+    sidebar,
+    settings,
+    children
+  } = _ref;
+  const [blocks, onInput, onChange] = useSidebarBlockEditor(sidebar);
+  useBlocksFocusControl(blocks);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockEditorProvider, {
+    value: blocks,
+    onInput: onInput,
+    onChange: onChange,
+    settings: settings,
+    useSubRegistry: false
+  }, children);
 }
-/**
- * Reducer keeping track of the "pinned" items per scope.
- *
- * @param {boolean} state           Previous state.
- * @param {Object}  action          Action object.
- * @param {string}  action.type     Action type.
- * @param {string}  action.itemType Type of item.
- * @param {string}  action.scope    Item scope.
- * @param {string}  action.item     Item name.
- * @param {boolean} action.isEnable Whether the item is pinned.
- *
- * @return {Object} Updated state.
- */

-function multipleEnableItems() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let {
-    type,
-    itemType,
-    scope,
-    item,
-    isEnable
-  } = arguments.length > 1 ? arguments[1] : undefined;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/welcome-guide/index.js

-  if (type !== 'SET_MULTIPLE_ENABLE_ITEM' || !itemType || !scope || !item || Object(external_lodash_["get"])(state, [itemType, scope, item]) === isEnable) {
-    return state;
-  }

-  const currentTypeState = state[itemType] || {};
-  const currentScopeState = currentTypeState[scope] || {};
-  return { ...state,
-    [itemType]: { ...currentTypeState,
-      [scope]: { ...currentScopeState,
-        [item]: isEnable || false
-      }
-    }
-  };
-}
 /**
- * Reducer returning the defaults for user preferences.
- *
- * This is kept intentionally separate from the preferences
- * themselves so that defaults are not persisted.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
+ * WordPress dependencies
  */

-const preferenceDefaults = Object(external_wp_data_["combineReducers"])({
-  features() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;

-    if (action.type === 'SET_FEATURE_DEFAULTS') {
-      const {
-        scope,
-        defaults
-      } = action;
-      return { ...state,
-        [scope]: { ...state[scope],
-          ...defaults
-        }
-      };
-    }

-    return state;
-  }

-});
+function WelcomeGuide(_ref) {
+  let {
+    sidebar
+  } = _ref;
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const isEntirelyBlockWidgets = sidebar.getWidgets().every(widget => widget.id.startsWith('block-'));
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "customize-widgets-welcome-guide"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "customize-widgets-welcome-guide__image__wrapper"
+  }, (0,external_wp_element_namespaceObject.createElement)("picture", null, (0,external_wp_element_namespaceObject.createElement)("source", {
+    srcSet: "https://s.w.org/images/block-editor/welcome-editor.svg",
+    media: "(prefers-reduced-motion: reduce)"
+  }), (0,external_wp_element_namespaceObject.createElement)("img", {
+    className: "customize-widgets-welcome-guide__image",
+    src: "https://s.w.org/images/block-editor/welcome-editor.gif",
+    width: "312",
+    height: "240",
+    alt: ""
+  }))), (0,external_wp_element_namespaceObject.createElement)("h1", {
+    className: "customize-widgets-welcome-guide__heading"
+  }, (0,external_wp_i18n_namespaceObject.__)('Welcome to block Widgets')), (0,external_wp_element_namespaceObject.createElement)("p", {
+    className: "customize-widgets-welcome-guide__text"
+  }, isEntirelyBlockWidgets ? (0,external_wp_i18n_namespaceObject.__)('Your theme provides different “block” areas for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.') : (0,external_wp_i18n_namespaceObject.__)('You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "customize-widgets-welcome-guide__button",
+    variant: "primary",
+    onClick: () => toggleFeature('core/customize-widgets', 'welcomeGuide')
+  }, (0,external_wp_i18n_namespaceObject.__)('Got it')), (0,external_wp_element_namespaceObject.createElement)("hr", {
+    className: "customize-widgets-welcome-guide__separator"
+  }), !isEntirelyBlockWidgets && (0,external_wp_element_namespaceObject.createElement)("p", {
+    className: "customize-widgets-welcome-guide__more-info"
+  }, (0,external_wp_i18n_namespaceObject.__)('Want to stick with the old widgets?'), (0,external_wp_element_namespaceObject.createElement)("br", null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+    href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/plugins/classic-widgets/')
+  }, (0,external_wp_i18n_namespaceObject.__)('Get the Classic Widgets plugin.'))), (0,external_wp_element_namespaceObject.createElement)("p", {
+    className: "customize-widgets-welcome-guide__more-info"
+  }, (0,external_wp_i18n_namespaceObject.__)('New to the block editor?'), (0,external_wp_element_namespaceObject.createElement)("br", null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+    href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/wordpress-editor/')
+  }, (0,external_wp_i18n_namespaceObject.__)("Here's a detailed guide."))));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/keyboard-shortcuts/index.js
 /**
- * Reducer returning the user preferences.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
+ * WordPress dependencies
  */

-const preferences = Object(external_wp_data_["combineReducers"])({
-  features() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;

-    if (action.type === 'SET_FEATURE_VALUE') {
-      const {
-        scope,
-        featureName,
-        value
-      } = action;
-      return { ...state,
-        [scope]: { ...state[scope],
-          [featureName]: value
-        }
-      };
-    }

-    return state;
-  }

-});
-const enableItems = Object(external_wp_data_["combineReducers"])({
-  singleEnableItems,
-  multipleEnableItems
-});
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  enableItems,
-  preferenceDefaults,
-  preferences
-}));

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/actions.js
-/**
- * Returns an action object used in signalling that an active area should be changed.
- *
- * @param {string} itemType Type of item.
- * @param {string} scope    Item scope.
- * @param {string} item     Item identifier.
- *
- * @return {Object} Action object.
- */
-function setSingleEnableItem(itemType, scope, item) {
-  return {
-    type: 'SET_SINGLE_ENABLE_ITEM',
-    itemType,
-    scope,
-    item
-  };
+function KeyboardShortcuts(_ref) {
+  let {
+    undo,
+    redo,
+    save
+  } = _ref;
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/customize-widgets/undo', event => {
+    undo();
+    event.preventDefault();
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/customize-widgets/redo', event => {
+    redo();
+    event.preventDefault();
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/customize-widgets/save', event => {
+    event.preventDefault();
+    save();
+  });
+  return null;
+}
+
+function KeyboardShortcutsRegister() {
+  const {
+    registerShortcut,
+    unregisterShortcut
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_keyboardShortcuts_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    registerShortcut({
+      name: 'core/customize-widgets/undo',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Undo your last changes.'),
+      keyCombination: {
+        modifier: 'primary',
+        character: 'z'
+      }
+    });
+    registerShortcut({
+      name: 'core/customize-widgets/redo',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Redo your last undo.'),
+      keyCombination: {
+        modifier: 'primaryShift',
+        character: 'z'
+      }
+    });
+    registerShortcut({
+      name: 'core/customize-widgets/save',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Save your changes.'),
+      keyCombination: {
+        modifier: 'primary',
+        character: 's'
+      }
+    });
+    return () => {
+      unregisterShortcut('core/customize-widgets/undo');
+      unregisterShortcut('core/customize-widgets/redo');
+      unregisterShortcut('core/customize-widgets/save');
+    };
+  }, [registerShortcut]);
+  return null;
 }
-/**
- * Returns an action object used in signalling that a complementary item should be enabled.
- *
- * @param {string} scope Complementary area scope.
- * @param {string} area  Area identifier.
- *
- * @return {Object} Action object.
- */

+KeyboardShortcuts.Register = KeyboardShortcutsRegister;
+/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/block-appender/index.js

-function actions_enableComplementaryArea(scope, area) {
-  return setSingleEnableItem('complementaryArea', scope, area);
-}
-/**
- * Returns an action object used in signalling that the complementary area of a given scope should be disabled.
- *
- * @param {string} scope Complementary area scope.
- *
- * @return {Object} Action object.
- */

-function actions_disableComplementaryArea(scope) {
-  return setSingleEnableItem('complementaryArea', scope, undefined);
-}
-/**
- * Returns an action object to make an area enabled/disabled.
- *
- * @param {string}  itemType Type of item.
- * @param {string}  scope    Item scope.
- * @param {string}  item     Item identifier.
- * @param {boolean} isEnable Boolean indicating if an area should be pinned or not.
- *
- * @return {Object} Action object.
- */

-function setMultipleEnableItem(itemType, scope, item, isEnable) {
-  return {
-    type: 'SET_MULTIPLE_ENABLE_ITEM',
-    itemType,
-    scope,
-    item,
-    isEnable
-  };
-}
 /**
- * Returns an action object used in signalling that an item should be pinned.
- *
- * @param {string} scope  Item scope.
- * @param {string} itemId Item identifier.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */


-function actions_pinItem(scope, itemId) {
-  return setMultipleEnableItem('pinnedItems', scope, itemId, true);
-}
-/**
- * Returns an action object used in signalling that an item should be unpinned.
- *
- * @param {string} scope  Item scope.
- * @param {string} itemId Item identifier.
- *
- * @return {Object} Action object.
- */

-function actions_unpinItem(scope, itemId) {
-  return setMultipleEnableItem('pinnedItems', scope, itemId, false);
-}
-/**
- * Returns an action object used in signalling that a feature should be toggled.
- *
- * @param {string} scope       The feature scope (e.g. core/edit-post).
- * @param {string} featureName The feature name.
- */
+function BlockAppender(props) {
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const isBlocksListEmpty = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).getBlockCount() === 0); // Move the focus to the block appender to prevent focus from
+  // being lost when emptying the widget area.

-function actions_toggleFeature(scope, featureName) {
-  return function (_ref) {
-    let {
-      select,
-      dispatch
-    } = _ref;
-    const currentValue = select.isFeatureActive(scope, featureName);
-    dispatch.setFeatureValue(scope, featureName, !currentValue);
-  };
-}
-/**
- * Returns an action object used in signalling that a feature should be set to
- * a true or false value
- *
- * @param {string}  scope       The feature scope (e.g. core/edit-post).
- * @param {string}  featureName The feature name.
- * @param {boolean} value       The value to set.
- *
- * @return {Object} Action object.
- */
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isBlocksListEmpty && ref.current) {
+      const {
+        ownerDocument
+      } = ref.current;

-function setFeatureValue(scope, featureName, value) {
-  return {
-    type: 'SET_FEATURE_VALUE',
-    scope,
-    featureName,
-    value: !!value
-  };
+      if (!ownerDocument.activeElement || ownerDocument.activeElement === ownerDocument.body) {
+        ref.current.focus();
+      }
+    }
+  }, [isBlocksListEmpty]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ButtonBlockAppender, _extends({}, props, {
+    ref: ref
+  }));
 }
-/**
- * Returns an action object used in signalling that defaults should be set for features.
- *
- * @param {string}                  scope    The feature scope (e.g. core/edit-post).
- * @param {Object<string, boolean>} defaults A key/value map of feature names to values.
- *
- * @return {Object} Action object.
- */

-function setFeatureDefaults(scope, defaults) {
-  return {
-    type: 'SET_FEATURE_DEFAULTS',
-    scope,
-    defaults
-  };
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/index.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/selectors.js
 /**
  * External dependencies
  */

 /**
- * Returns the item that is enabled in a given scope.
- *
- * @param {Object} state    Global application state.
- * @param {string} itemType Type of item.
- * @param {string} scope    Item scope.
- *
- * @return {?string|null} The item that is enabled in the passed scope and type.
+ * WordPress dependencies
  */

-function getSingleEnableItem(state, itemType, scope) {
-  return Object(external_lodash_["get"])(state.enableItems.singleEnableItems, [itemType, scope]);
-}
-/**
- * Returns the complementary area that is active in a given scope.
- *
- * @param {Object} state Global application state.
- * @param {string} scope Item scope.
- *
- * @return {string} The complementary area that is active in the given scope.
- */


-function selectors_getActiveComplementaryArea(state, scope) {
-  return getSingleEnableItem(state, 'complementaryArea', scope);
-}
-/**
- * Returns a boolean indicating if an item is enabled or not in a given scope.
- *
- * @param {Object} state    Global application state.
- * @param {string} itemType Type of item.
- * @param {string} scope    Scope.
- * @param {string} item     Item to check.
- *
- * @return {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
- */

-function isMultipleEnabledItemEnabled(state, itemType, scope, item) {
-  return Object(external_lodash_["get"])(state.enableItems.multipleEnableItems, [itemType, scope, item]);
-}
-/**
- * Returns a boolean indicating if an item is pinned or not.
- *
- * @param {Object} state Global application state.
- * @param {string} scope Scope.
- * @param {string} item  Item to check.
- *
- * @return {boolean} True if the item is pinned and false otherwise.
- */


-function selectors_isItemPinned(state, scope, item) {
-  return isMultipleEnabledItemEnabled(state, 'pinnedItems', scope, item) !== false;
-}
+
 /**
- * Returns a boolean indicating whether a feature is active for a particular
- * scope.
- *
- * @param {Object} state       The store state.
- * @param {string} scope       The scope of the feature (e.g. core/edit-post).
- * @param {string} featureName The name of the feature.
- *
- * @return {boolean} Is the feature enabled?
+ * Internal dependencies
  */

-function isFeatureActive(state, scope, featureName) {
-  var _state$preferences$fe, _state$preferenceDefa;

-  const featureValue = (_state$preferences$fe = state.preferences.features[scope]) === null || _state$preferences$fe === void 0 ? void 0 : _state$preferences$fe[featureName];
-  const defaultedFeatureValue = featureValue !== undefined ? featureValue : (_state$preferenceDefa = state.preferenceDefaults.features[scope]) === null || _state$preferenceDefa === void 0 ? void 0 : _state$preferenceDefa[featureName];
-  return !!defaultedFeatureValue;
+
+
+
+
+
+
+function SidebarBlockEditor(_ref) {
+  let {
+    blockEditorSettings,
+    sidebar,
+    inserter,
+    inspector
+  } = _ref;
+  const [isInserterOpened, setIsInserterOpened] = useInserter(inserter);
+  const {
+    hasUploadPermissions,
+    isFixedToolbarActive,
+    keepCaretInsideBlock,
+    isWelcomeGuideActive
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      isFeatureActive
+    } = select(store);
+    return {
+      hasUploadPermissions: (0,external_lodash_namespaceObject.defaultTo)(select(external_wp_coreData_namespaceObject.store).canUser('create', 'media'), true),
+      isFixedToolbarActive: isFeatureActive('core/customize-widgets', 'fixedToolbar'),
+      keepCaretInsideBlock: isFeatureActive('core/customize-widgets', 'keepCaretInsideBlock'),
+      isWelcomeGuideActive: isFeatureActive('core/customize-widgets', 'welcomeGuide')
+    };
+  }, []);
+  const settings = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    let mediaUploadBlockEditor;
+
+    if (hasUploadPermissions) {
+      mediaUploadBlockEditor = _ref2 => {
+        let {
+          onError,
+          ...argumentsObject
+        } = _ref2;
+        (0,external_wp_mediaUtils_namespaceObject.uploadMedia)({
+          wpAllowedMimeTypes: blockEditorSettings.allowedMimeTypes,
+          onError: _ref3 => {
+            let {
+              message
+            } = _ref3;
+            return onError(message);
+          },
+          ...argumentsObject
+        });
+      };
+    }
+
+    return { ...blockEditorSettings,
+      __experimentalSetIsInserterOpened: setIsInserterOpened,
+      mediaUpload: mediaUploadBlockEditor,
+      hasFixedToolbar: isFixedToolbarActive,
+      keepCaretInsideBlock,
+      __unstableHasCustomAppender: true
+    };
+  }, [hasUploadPermissions, blockEditorSettings, isFixedToolbarActive, keepCaretInsideBlock, setIsInserterOpened]);
+
+  if (isWelcomeGuideActive) {
+    return (0,external_wp_element_namespaceObject.createElement)(WelcomeGuide, {
+      sidebar: sidebar
+    });
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockEditorKeyboardShortcuts.Register, null), (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts.Register, null), (0,external_wp_element_namespaceObject.createElement)(SidebarEditorProvider, {
+    sidebar: sidebar,
+    settings: settings
+  }, (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts, {
+    undo: sidebar.undo,
+    redo: sidebar.redo,
+    save: sidebar.save
+  }), (0,external_wp_element_namespaceObject.createElement)(header, {
+    sidebar: sidebar,
+    inserter: inserter,
+    isInserterOpened: isInserterOpened,
+    setIsInserterOpened: setIsInserterOpened,
+    isFixedToolbarActive: isFixedToolbarActive
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.CopyHandler, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockTools, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableEditorStyles, {
+    styles: settings.defaultEditorStyles
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockSelectionClearer, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.WritingFlow, {
+    className: "editor-styles-wrapper"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ObserveTyping, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockList, {
+    renderAppender: BlockAppender
+  })))))), (0,external_wp_element_namespaceObject.createPortal)( // This is a temporary hack to prevent button component inside <BlockInspector>
+  // from submitting form when type="button" is not specified.
+  (0,external_wp_element_namespaceObject.createElement)("form", {
+    onSubmit: event => event.preventDefault()
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockInspector, null)), inspector.contentContainer[0])), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableBlockSettingsMenuFirstItem, null, _ref4 => {
+    let {
+      onClose
+    } = _ref4;
+    return (0,external_wp_element_namespaceObject.createElement)(block_inspector_button, {
+      inspector: inspector,
+      closeMenu: onClose
+    });
+  }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/constants.js
-/**
- * The identifier for the data store.
- *
- * @type {string}
- */
-const STORE_NAME = 'core/interface';
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-controls/index.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/index.js
 /**
  * WordPress dependencies
  */

+const SidebarControlsContext = (0,external_wp_element_namespaceObject.createContext)();
+function SidebarControls(_ref) {
+  let {
+    sidebarControls,
+    activeSidebarControl,
+    children
+  } = _ref;
+  const context = (0,external_wp_element_namespaceObject.useMemo)(() => ({
+    sidebarControls,
+    activeSidebarControl
+  }), [sidebarControls, activeSidebarControl]);
+  return (0,external_wp_element_namespaceObject.createElement)(SidebarControlsContext.Provider, {
+    value: context
+  }, children);
+}
+function useSidebarControls() {
+  const {
+    sidebarControls
+  } = (0,external_wp_element_namespaceObject.useContext)(SidebarControlsContext);
+  return sidebarControls;
+}
+function useActiveSidebarControl() {
+  const {
+    activeSidebarControl
+  } = (0,external_wp_element_namespaceObject.useContext)(SidebarControlsContext);
+  return activeSidebarControl;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/customize-widgets/use-clear-selected-block.js
 /**
- * Internal dependencies
+ * WordPress dependencies
  */



-
-
 /**
- * Store definition for the interface namespace.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ * We can't just use <BlockSelectionClearer> because the customizer has
+ * many root nodes rather than just one in the post editor.
+ * We need to listen to the focus events in all those roots, and also in
+ * the preview iframe.
+ * This hook will clear the selected block when focusing outside the editor,
+ * with a few exceptions:
+ * 1. Focusing on popovers.
+ * 2. Focusing on the inspector.
+ * 3. Focusing on any modals/dialogs.
+ * These cases are normally triggered by user interactions from the editor,
+ * not by explicitly focusing outside the editor, hence no need for clearing.
  *
- * @type {Object}
+ * @param {Object} sidebarControl The sidebar control instance.
+ * @param {Object} popoverRef     The ref object of the popover node container.
  */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['enableItems', 'preferences'],
-  __experimentalUseThunks: true
-}); // Once we build a more generic persistence plugin that works across types of stores
-// we'd be able to replace this with a register call.
+function useClearSelectedBlock(sidebarControl, popoverRef) {
+  const {
+    hasSelectedBlock,
+    hasMultiSelection
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_blockEditor_namespaceObject.store);
+  const {
+    clearSelectedBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (popoverRef.current && sidebarControl) {
+      const inspector = sidebarControl.inspector;
+      const container = sidebarControl.container[0];
+      const ownerDocument = container.ownerDocument;
+      const ownerWindow = ownerDocument.defaultView;

-Object(external_wp_data_["registerStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['enableItems', 'preferences'],
-  __experimentalUseThunks: true
-});
+      function handleClearSelectedBlock(element) {
+        if ( // 1. Make sure there are blocks being selected.
+        (hasSelectedBlock() || hasMultiSelection()) && // 2. The element should exist in the DOM (not deleted).
+        element && ownerDocument.contains(element) && // 3. It should also not exist in the container, the popover, nor the dialog.
+        !container.contains(element) && !popoverRef.current.contains(element) && !element.closest('[role="dialog"]') && // 4. The inspector should not be opened.
+        !inspector.expanded()) {
+          clearSelectedBlock();
+        }
+      } // Handle mouse down in the same document.

-// EXTERNAL MODULE: external ["wp","plugins"]
-var external_wp_plugins_ = __webpack_require__("TvNi");

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-context/index.js
-/**
- * WordPress dependencies
- */
+      function handleMouseDown(event) {
+        handleClearSelectedBlock(event.target);
+      } // Handle focusing outside the current document, like to iframes.

-/* harmony default export */ var complementary_area_context = (Object(external_wp_plugins_["withPluginContext"])((context, ownProps) => {
-  return {
-    icon: ownProps.icon || context.icon,
-    identifier: ownProps.identifier || `${context.name}/${ownProps.name}`
-  };
-}));

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-toggle/index.js
+      function handleBlur() {
+        handleClearSelectedBlock(ownerDocument.activeElement);
+      }

+      ownerDocument.addEventListener('mousedown', handleMouseDown);
+      ownerWindow.addEventListener('blur', handleBlur);
+      return () => {
+        ownerDocument.removeEventListener('mousedown', handleMouseDown);
+        ownerWindow.removeEventListener('blur', handleBlur);
+      };
+    }
+  }, [popoverRef, sidebarControl, hasSelectedBlock, hasMultiSelection, clearSelectedBlock]);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/customize-widgets/index.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -3427,913 +2378,942 @@ var external_wp_plugins_ = __webpack_require__("TvNi");



-function ComplementaryAreaToggle(_ref) {
+
+
+function CustomizeWidgets(_ref) {
   let {
-    as = external_wp_components_["Button"],
-    scope,
-    identifier,
-    icon,
-    selectedIcon,
-    ...props
+    api,
+    sidebarControls,
+    blockEditorSettings
   } = _ref;
-  const ComponentToUse = as;
-  const isSelected = Object(external_wp_data_["useSelect"])(select => select(store).getActiveComplementaryArea(scope) === identifier, [identifier]);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(ComponentToUse, Object(esm_extends["a" /* default */])({
-    icon: selectedIcon && isSelected ? selectedIcon : icon,
-    onClick: () => {
-      if (isSelected) {
-        disableComplementaryArea(scope);
-      } else {
-        enableComplementaryArea(scope, identifier);
+  const [activeSidebarControl, setActiveSidebarControl] = (0,external_wp_element_namespaceObject.useState)(null);
+  const parentContainer = document.getElementById('customize-theme-controls');
+  const popoverRef = (0,external_wp_element_namespaceObject.useRef)();
+  useClearSelectedBlock(activeSidebarControl, popoverRef);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const unsubscribers = sidebarControls.map(sidebarControl => sidebarControl.subscribe(expanded => {
+      if (expanded) {
+        setActiveSidebarControl(sidebarControl);
       }
-    }
-  }, Object(external_lodash_["omit"])(props, ['name'])));
-}
-
-/* harmony default export */ var complementary_area_toggle = (complementary_area_context(ComplementaryAreaToggle));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-header/index.js
+    }));
+    return () => {
+      unsubscribers.forEach(unsubscriber => unsubscriber());
+    };
+  }, [sidebarControls]);
+  const activeSidebar = activeSidebarControl && (0,external_wp_element_namespaceObject.createPortal)((0,external_wp_element_namespaceObject.createElement)(ErrorBoundary, null, (0,external_wp_element_namespaceObject.createElement)(SidebarBlockEditor, {
+    key: activeSidebarControl.id,
+    blockEditorSettings: blockEditorSettings,
+    sidebar: activeSidebarControl.sidebarAdapter,
+    inserter: activeSidebarControl.inserter,
+    inspector: activeSidebarControl.inspector
+  })), activeSidebarControl.container[0]); // We have to portal this to the parent of both the editor and the inspector,
+  // so that the popovers will appear above both of them.

+  const popover = parentContainer && (0,external_wp_element_namespaceObject.createPortal)((0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "customize-widgets-popover",
+    ref: popoverRef
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover.Slot, null)), parentContainer);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_keyboardShortcuts_namespaceObject.ShortcutProvider, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SlotFillProvider, null, (0,external_wp_element_namespaceObject.createElement)(SidebarControls, {
+    sidebarControls: sidebarControls,
+    activeSidebarControl: activeSidebarControl
+  }, (0,external_wp_element_namespaceObject.createElement)(FocusControl, {
+    api: api,
+    sidebarControls: sidebarControls
+  }, activeSidebar, popover))));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/inspector-section.js
+function getInspectorSection() {
+  const {
+    wp: {
+      customize
+    }
+  } = window;
+  return class InspectorSection extends customize.Section {
+    constructor(id, options) {
+      super(id, options);
+      this.parentSection = options.parentSection;
+      this.returnFocusWhenClose = null;
+      this._isOpen = false;
+    }

-/**
- * External dependencies
- */
+    get isOpen() {
+      return this._isOpen;
+    }

-/**
- * WordPress dependencies
- */
+    set isOpen(value) {
+      this._isOpen = value;
+      this.triggerActiveCallbacks();
+    }

+    ready() {
+      this.contentContainer[0].classList.add('customize-widgets-layout__inspector');
+    }

-/**
- * Internal dependencies
- */
+    isContextuallyActive() {
+      return this.isOpen;
+    }

+    onChangeExpanded(expanded, args) {
+      super.onChangeExpanded(expanded, args);

+      if (this.parentSection && !args.unchanged) {
+        if (expanded) {
+          this.parentSection.collapse({
+            manualTransition: true
+          });
+        } else {
+          this.parentSection.expand({
+            manualTransition: true,
+            completeCallback: () => {
+              // Return focus after finishing the transition.
+              if (this.returnFocusWhenClose && !this.contentContainer[0].contains(this.returnFocusWhenClose)) {
+                this.returnFocusWhenClose.focus();
+              }
+            }
+          });
+        }
+      }
+    }

-const ComplementaryAreaHeader = _ref => {
-  let {
-    smallScreenTitle,
-    children,
-    className,
-    toggleButtonProps
-  } = _ref;
-  const toggleButton = Object(external_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
-    icon: close_small["a" /* default */]
-  }, toggleButtonProps));
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "components-panel__header interface-complementary-area-header__small"
-  }, smallScreenTitle && Object(external_wp_element_["createElement"])("span", {
-    className: "interface-complementary-area-header__small-title"
-  }, smallScreenTitle), toggleButton), Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('components-panel__header', 'interface-complementary-area-header', className),
-    tabIndex: -1
-  }, children, toggleButton));
-};
+    open() {
+      let {
+        returnFocusWhenClose
+      } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+      this.isOpen = true;
+      this.returnFocusWhenClose = returnFocusWhenClose;
+      this.expand({
+        allowMultiple: true
+      });
+    }

-/* harmony default export */ var complementary_area_header = (ComplementaryAreaHeader);
+    close() {
+      this.collapse({
+        allowMultiple: true
+      });
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/action-item/index.js
+    collapse(options) {
+      // Overridden collapse() function. Mostly call the parent collapse(), but also
+      // move our .isOpen to false.
+      // Initially, I tried tracking this with onChangeExpanded(), but it doesn't work
+      // because the block settings sidebar is a layer "on top of" the G editor sidebar.
+      //
+      // For example, when closing the block settings sidebar, the G
+      // editor sidebar would display, and onChangeExpanded in
+      // inspector-section would run with expanded=true, but I want
+      // isOpen to be false when the block settings is closed.
+      this.isOpen = false;
+      super.collapse(options);
+    }

+    triggerActiveCallbacks() {
+      // Manually fire the callbacks associated with moving this.active
+      // from false to true.  "active" is always true for this section,
+      // and "isContextuallyActive" reflects if the block settings
+      // sidebar is currently visible, that is, it has replaced the main
+      // Gutenberg view.
+      // The WP customizer only checks ".isContextuallyActive()" when
+      // ".active" changes values. But our ".active" never changes value.
+      // The WP customizer never foresaw a section being used a way we
+      // fit the block settings sidebar into a section. By manually
+      // triggering the "this.active" callbacks, we force the WP
+      // customizer to query our .isContextuallyActive() function and
+      // update its view of our status.
+      this.active.callbacks.fireWith(this.active, [false, true]);
+    }

+  };
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/sidebar-section.js
 /**
- * External dependencies
+ * WordPress dependencies
  */

 /**
- * WordPress dependencies
+ * Internal dependencies
  */



+const getInspectorSectionId = sidebarId => `widgets-inspector-${sidebarId}`;

-function ActionItemSlot(_ref) {
-  let {
-    name,
-    as: Component = external_wp_components_["ButtonGroup"],
-    fillProps = {},
-    bubblesVirtually,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], {
-    name: name,
-    bubblesVirtually: bubblesVirtually,
-    fillProps: fillProps
-  }, fills => {
-    if (Object(external_lodash_["isEmpty"])(external_wp_element_["Children"].toArray(fills))) {
-      return null;
-    } // Special handling exists for backward compatibility.
-    // It ensures that menu items created by plugin authors aren't
-    // duplicated with automatically injected menu items coming
-    // from pinnable plugin sidebars.
-    // @see https://github.com/WordPress/gutenberg/issues/14457
+function getSidebarSection() {
+  const {
+    wp: {
+      customize
+    }
+  } = window;
+  return class SidebarSection extends customize.Section {
+    ready() {
+      const InspectorSection = getInspectorSection();
+      this.inspector = new InspectorSection(getInspectorSectionId(this.id), {
+        title: (0,external_wp_i18n_namespaceObject.__)('Block Settings'),
+        parentSection: this,
+        customizeAction: [(0,external_wp_i18n_namespaceObject.__)('Customizing'), (0,external_wp_i18n_namespaceObject.__)('Widgets'), this.params.title].join(' ▸ ')
+      });
+      customize.section.add(this.inspector);
+      this.contentContainer[0].classList.add('customize-widgets__sidebar-section');
+    }
+
+    hasSubSectionOpened() {
+      return this.inspector.expanded();
+    }

+    onChangeExpanded(expanded, _args) {
+      const controls = this.controls();
+      const args = { ..._args,

-    const initializedByPlugins = [];
-    external_wp_element_["Children"].forEach(fills, _ref2 => {
-      let {
-        props: {
-          __unstableExplicitMenuItem,
-          __unstableTarget
+        completeCallback() {
+          var _args$completeCallbac;
+
+          controls.forEach(control => {
+            var _control$onChangeSect;
+
+            (_control$onChangeSect = control.onChangeSectionExpanded) === null || _control$onChangeSect === void 0 ? void 0 : _control$onChangeSect.call(control, expanded, args);
+          });
+          (_args$completeCallbac = _args.completeCallback) === null || _args$completeCallbac === void 0 ? void 0 : _args$completeCallbac.call(_args);
         }
-      } = _ref2;

-      if (__unstableTarget && __unstableExplicitMenuItem) {
-        initializedByPlugins.push(__unstableTarget);
-      }
-    });
-    const children = external_wp_element_["Children"].map(fills, child => {
-      if (!child.props.__unstableExplicitMenuItem && initializedByPlugins.includes(child.props.__unstableTarget)) {
-        return null;
-      }
+      };

-      return child;
-    });
-    return Object(external_wp_element_["createElement"])(Component, props, children);
-  });
-}
+      if (args.manualTransition) {
+        if (expanded) {
+          this.contentContainer.addClass(['busy', 'open']);
+          this.contentContainer.removeClass('is-sub-section-open');
+          this.contentContainer.closest('.wp-full-overlay').addClass('section-open');
+          this.contentContainer.one('transitionend', () => {
+            this.contentContainer.removeClass('busy');
+            args.completeCallback();
+          });
+        } else {
+          this.contentContainer.addClass(['busy', 'is-sub-section-open']);
+          this.contentContainer.closest('.wp-full-overlay').addClass('section-open');
+          this.contentContainer.removeClass('open');
+          this.contentContainer.one('transitionend', () => {
+            this.contentContainer.removeClass('busy');
+            args.completeCallback();
+          });
+        }
+      } else {
+        super.onChangeExpanded(expanded, args);
+      }
+    }

-function ActionItem(_ref3) {
-  let {
-    name,
-    as: Component = external_wp_components_["Button"],
-    onClick,
-    ...props
-  } = _ref3;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], {
-    name: name
-  }, _ref4 => {
-    let {
-      onClick: fpOnClick
-    } = _ref4;
-    return Object(external_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({
-      onClick: onClick || fpOnClick ? function () {
-        (onClick || external_lodash_["noop"])(...arguments);
-        (fpOnClick || external_lodash_["noop"])(...arguments);
-      } : undefined
-    }, props));
-  });
+  };
 }

-ActionItem.Slot = ActionItemSlot;
-/* harmony default export */ var action_item = (ActionItem);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/components/sidebar-block-editor/sidebar-adapter.js
+/**
+ * Internal dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-more-menu-item/index.js
+const {
+  wp
+} = window;

+function parseWidgetId(widgetId) {
+  const matches = widgetId.match(/^(.+)-(\d+)$/);

+  if (matches) {
+    return {
+      idBase: matches[1],
+      number: parseInt(matches[2], 10)
+    };
+  } // Likely an old single widget.

-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */
+  return {
+    idBase: widgetId
+  };
+}

+function widgetIdToSettingId(widgetId) {
+  const {
+    idBase,
+    number
+  } = parseWidgetId(widgetId);

+  if (number) {
+    return `widget_${idBase}[${number}]`;
+  }

+  return `widget_${idBase}`;
+}
 /**
- * Internal dependencies
+ * This is a custom debounce function to call different callbacks depending on
+ * whether it's the _leading_ call or not.
+ *
+ * @param {Function} leading  The callback that gets called first.
+ * @param {Function} callback The callback that gets called after the first time.
+ * @param {number}   timeout  The debounced time in milliseconds.
+ * @return {Function} The debounced function.
  */


+function debounce(leading, callback, timeout) {
+  let isLeading = false;
+  let timerID;
+
+  function debounced() {
+    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+      args[_key] = arguments[_key];
+    }

+    const result = (isLeading ? callback : leading).apply(this, args);
+    isLeading = true;
+    clearTimeout(timerID);
+    timerID = setTimeout(() => {
+      isLeading = false;
+    }, timeout);
+    return result;
+  }

-const PluginsMenuItem = props => // Menu item is marked with unstable prop for backward compatibility.
-// They are removed so they don't leak to DOM elements.
-// @see https://github.com/WordPress/gutenberg/issues/14457
-Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], Object(external_lodash_["omit"])(props, ['__unstableExplicitMenuItem', '__unstableTarget']));
+  debounced.cancel = () => {
+    isLeading = false;
+    clearTimeout(timerID);
+  };

-function ComplementaryAreaMoreMenuItem(_ref) {
-  let {
-    scope,
-    target,
-    __unstableExplicitMenuItem,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
-    as: toggleProps => {
-      return Object(external_wp_element_["createElement"])(action_item, Object(esm_extends["a" /* default */])({
-        __unstableExplicitMenuItem: __unstableExplicitMenuItem,
-        __unstableTarget: `${scope}/${target}`,
-        as: PluginsMenuItem,
-        name: `${scope}/plugin-more-menu`
-      }, toggleProps));
-    },
-    role: "menuitemcheckbox",
-    selectedIcon: check["a" /* default */],
-    name: target,
-    scope: scope
-  }, props));
+  return debounced;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/pinned-items/index.js
-
+class SidebarAdapter {
+  constructor(setting, api) {
+    this.setting = setting;
+    this.api = api;
+    this.locked = false;
+    this.widgetsCache = new WeakMap();
+    this.subscribers = new Set();
+    this.history = [this._getWidgetIds().map(widgetId => this.getWidget(widgetId))];
+    this.historyIndex = 0;
+    this.historySubscribers = new Set(); // Debounce the input for 1 second.

+    this._debounceSetHistory = debounce(this._pushHistory, this._replaceHistory, 1000);
+    this.setting.bind(this._handleSettingChange.bind(this));
+    this.api.bind('change', this._handleAllSettingsChange.bind(this));
+    this.undo = this.undo.bind(this);
+    this.redo = this.redo.bind(this);
+    this.save = this.save.bind(this);
+  }

-/**
- * External dependencies
- */
+  subscribe(callback) {
+    this.subscribers.add(callback);
+    return () => {
+      this.subscribers.delete(callback);
+    };
+  }

+  getWidgets() {
+    return this.history[this.historyIndex];
+  }

-/**
- * WordPress dependencies
- */
+  _emit() {
+    for (const callback of this.subscribers) {
+      callback(...arguments);
+    }
+  }

+  _getWidgetIds() {
+    return this.setting.get();
+  }

+  _pushHistory() {
+    this.history = [...this.history.slice(0, this.historyIndex + 1), this._getWidgetIds().map(widgetId => this.getWidget(widgetId))];
+    this.historyIndex += 1;
+    this.historySubscribers.forEach(listener => listener());
+  }

-function PinnedItems(_ref) {
-  let {
-    scope,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], Object(esm_extends["a" /* default */])({
-    name: `PinnedItems/${scope}`
-  }, props));
-}
+  _replaceHistory() {
+    this.history[this.historyIndex] = this._getWidgetIds().map(widgetId => this.getWidget(widgetId));
+  }

-function PinnedItemsSlot(_ref2) {
-  let {
-    scope,
-    className,
-    ...props
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
-    name: `PinnedItems/${scope}`
-  }, props), fills => !Object(external_lodash_["isEmpty"])(fills) && Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()(className, 'interface-pinned-items')
-  }, fills));
-}
+  _handleSettingChange() {
+    if (this.locked) {
+      return;
+    }

-PinnedItems.Slot = PinnedItemsSlot;
-/* harmony default export */ var pinned_items = (PinnedItems);
+    const prevWidgets = this.getWidgets();

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area/index.js
+    this._pushHistory();

+    this._emit(prevWidgets, this.getWidgets());
+  }

+  _handleAllSettingsChange(setting) {
+    if (this.locked) {
+      return;
+    }

-/**
- * External dependencies
- */
+    if (!setting.id.startsWith('widget_')) {
+      return;
+    }

-/**
- * WordPress dependencies
- */
+    const widgetId = settingIdToWidgetId(setting.id);

+    if (!this.setting.get().includes(widgetId)) {
+      return;
+    }

+    const prevWidgets = this.getWidgets();

+    this._pushHistory();

+    this._emit(prevWidgets, this.getWidgets());
+  }

+  _createWidget(widget) {
+    const widgetModel = wp.customize.Widgets.availableWidgets.findWhere({
+      id_base: widget.idBase
+    });
+    let number = widget.number;

+    if (widgetModel.get('is_multi') && !number) {
+      widgetModel.set('multi_number', widgetModel.get('multi_number') + 1);
+      number = widgetModel.get('multi_number');
+    }

-/**
- * Internal dependencies
- */
+    const settingId = number ? `widget_${widget.idBase}[${number}]` : `widget_${widget.idBase}`;
+    const settingArgs = {
+      transport: wp.customize.Widgets.data.selectiveRefreshableWidgets[widgetModel.get('id_base')] ? 'postMessage' : 'refresh',
+      previewer: this.setting.previewer
+    };
+    const setting = this.api.create(settingId, settingId, '', settingArgs);
+    setting.set(widget.instance);
+    const widgetId = settingIdToWidgetId(settingId);
+    return widgetId;
+  }

+  _removeWidget(widget) {
+    const settingId = widgetIdToSettingId(widget.id);
+    const setting = this.api(settingId);

+    if (setting) {
+      const instance = setting.get();
+      this.widgetsCache.delete(instance);
+    }

+    this.api.remove(settingId);
+  }

+  _updateWidget(widget) {
+    const prevWidget = this.getWidget(widget.id); // Bail out update if nothing changed.

+    if (prevWidget === widget) {
+      return widget.id;
+    } // Update existing setting if only the widget's instance changed.


+    if (prevWidget.idBase && widget.idBase && prevWidget.idBase === widget.idBase) {
+      const settingId = widgetIdToSettingId(widget.id);
+      this.api(settingId).set(widget.instance);
+      return widget.id;
+    } // Otherwise delete and re-create.

-function ComplementaryAreaSlot(_ref) {
-  let {
-    scope,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
-    name: `ComplementaryArea/${scope}`
-  }, props));
-}

-function ComplementaryAreaFill(_ref2) {
-  let {
-    scope,
-    children,
-    className
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], {
-    name: `ComplementaryArea/${scope}`
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: className
-  }, children));
-}
+    this._removeWidget(widget);

-function useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall) {
-  const previousIsSmall = Object(external_wp_element_["useRef"])(false);
-  const shouldOpenWhenNotSmall = Object(external_wp_element_["useRef"])(false);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    // If the complementary area is active and the editor is switching from a big to a small window size.
-    if (isActive && isSmall && !previousIsSmall.current) {
-      // Disable the complementary area.
-      disableComplementaryArea(scope); // Flag the complementary area to be reopened when the window size goes from small to big.
-
-      shouldOpenWhenNotSmall.current = true;
-    } else if ( // If there is a flag indicating the complementary area should be enabled when we go from small to big window size
-    // and we are going from a small to big window size.
-    shouldOpenWhenNotSmall.current && !isSmall && previousIsSmall.current) {
-      // Remove the flag indicating the complementary area should be enabled.
-      shouldOpenWhenNotSmall.current = false; // Enable the complementary area.
-
-      enableComplementaryArea(scope, identifier);
-    } else if ( // If the flag is indicating the current complementary should be reopened but another complementary area becomes active,
-    // remove the flag.
-    shouldOpenWhenNotSmall.current && activeArea && activeArea !== identifier) {
-      shouldOpenWhenNotSmall.current = false;
-    }
+    return this._createWidget(widget);
+  }

-    if (isSmall !== previousIsSmall.current) {
-      previousIsSmall.current = isSmall;
+  getWidget(widgetId) {
+    if (!widgetId) {
+      return null;
     }
-  }, [isActive, isSmall, scope, identifier, activeArea]);
-}

-function ComplementaryArea(_ref3) {
-  let {
-    children,
-    className,
-    closeLabel = Object(external_wp_i18n_["__"])('Close plugin'),
-    identifier,
-    header,
-    headerClassName,
-    icon,
-    isPinnable = true,
-    panelClassName,
-    scope,
-    name,
-    smallScreenTitle,
-    title,
-    toggleShortcut,
-    isActiveByDefault,
-    showIconLabels = false
-  } = _ref3;
-  const {
-    isActive,
-    isPinned,
-    activeArea,
-    isSmall,
-    isLarge
-  } = Object(external_wp_data_["useSelect"])(select => {
     const {
-      getActiveComplementaryArea,
-      isItemPinned
-    } = select(store);
-
-    const _activeArea = getActiveComplementaryArea(scope);
+      idBase,
+      number
+    } = parseWidgetId(widgetId);
+    const settingId = widgetIdToSettingId(widgetId);
+    const setting = this.api(settingId);

-    return {
-      isActive: _activeArea === identifier,
-      isPinned: isItemPinned(scope, identifier),
-      activeArea: _activeArea,
-      isSmall: select(external_wp_viewport_["store"]).isViewportMatch('< medium'),
-      isLarge: select(external_wp_viewport_["store"]).isViewportMatch('large')
-    };
-  }, [identifier, scope]);
-  useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea,
-    pinItem,
-    unpinItem
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isActiveByDefault && activeArea === undefined && !isSmall) {
-      enableComplementaryArea(scope, identifier);
-    }
-  }, [activeArea, isActiveByDefault, scope, identifier, isSmall]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isPinnable && Object(external_wp_element_["createElement"])(pinned_items, {
-    scope: scope
-  }, isPinned && Object(external_wp_element_["createElement"])(complementary_area_toggle, {
-    scope: scope,
-    identifier: identifier,
-    isPressed: isActive && (!showIconLabels || isLarge),
-    "aria-expanded": isActive,
-    label: title,
-    icon: showIconLabels ? check["a" /* default */] : icon,
-    showTooltip: !showIconLabels,
-    variant: showIconLabels ? 'tertiary' : undefined
-  })), name && isPinnable && Object(external_wp_element_["createElement"])(ComplementaryAreaMoreMenuItem, {
-    target: name,
-    scope: scope,
-    icon: icon
-  }, title), isActive && Object(external_wp_element_["createElement"])(ComplementaryAreaFill, {
-    className: classnames_default()('interface-complementary-area', className),
-    scope: scope
-  }, Object(external_wp_element_["createElement"])(complementary_area_header, {
-    className: headerClassName,
-    closeLabel: closeLabel,
-    onClose: () => disableComplementaryArea(scope),
-    smallScreenTitle: smallScreenTitle,
-    toggleButtonProps: {
-      label: closeLabel,
-      shortcut: toggleShortcut,
-      scope,
-      identifier
+    if (!setting) {
+      return null;
     }
-  }, header || Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("strong", null, title), isPinnable && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "interface-complementary-area__pin-unpin-item",
-    icon: isPinned ? star_filled["a" /* default */] : star_empty["a" /* default */],
-    label: isPinned ? Object(external_wp_i18n_["__"])('Unpin from toolbar') : Object(external_wp_i18n_["__"])('Pin to toolbar'),
-    onClick: () => (isPinned ? unpinItem : pinItem)(scope, identifier),
-    isPressed: isPinned,
-    "aria-expanded": isPinned
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["Panel"], {
-    className: panelClassName
-  }, children)));
-}
-
-const ComplementaryAreaWrapped = complementary_area_context(ComplementaryArea);
-ComplementaryAreaWrapped.Slot = ComplementaryAreaSlot;
-/* harmony default export */ var complementary_area = (ComplementaryAreaWrapped);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/fullscreen-mode/index.js
-/**
- * WordPress dependencies
- */

+    const instance = setting.get();

-const FullscreenMode = _ref => {
-  let {
-    isActive
-  } = _ref;
-  Object(external_wp_element_["useEffect"])(() => {
-    let isSticky = false; // `is-fullscreen-mode` is set in PHP as a body class by Gutenberg, and this causes
-    // `sticky-menu` to be applied by WordPress and prevents the admin menu being scrolled
-    // even if `is-fullscreen-mode` is then removed. Let's remove `sticky-menu` here as
-    // a consequence of the FullscreenMode setup
-
-    if (document.body.classList.contains('sticky-menu')) {
-      isSticky = true;
-      document.body.classList.remove('sticky-menu');
+    if (this.widgetsCache.has(instance)) {
+      return this.widgetsCache.get(instance);
     }

-    return () => {
-      if (isSticky) {
-        document.body.classList.add('sticky-menu');
-      }
+    const widget = {
+      id: widgetId,
+      idBase,
+      number,
+      instance
     };
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isActive) {
-      document.body.classList.add('is-fullscreen-mode');
-    } else {
-      document.body.classList.remove('is-fullscreen-mode');
-    }
+    this.widgetsCache.set(instance, widget);
+    return widget;
+  }

-    return () => {
-      if (isActive) {
-        document.body.classList.remove('is-fullscreen-mode');
+  _updateWidgets(nextWidgets) {
+    this.locked = true;
+    const addedWidgetIds = [];
+    const nextWidgetIds = nextWidgets.map(nextWidget => {
+      if (nextWidget.id && this.getWidget(nextWidget.id)) {
+        addedWidgetIds.push(null);
+        return this._updateWidget(nextWidget);
       }
-    };
-  }, [isActive]);
-  return null;
-};

-/* harmony default export */ var fullscreen_mode = (FullscreenMode);
+      const widgetId = this._createWidget(nextWidget);
+
+      addedWidgetIds.push(widgetId);
+      return widgetId;
+    });
+    const deletedWidgets = this.getWidgets().filter(widget => !nextWidgetIds.includes(widget.id));
+    deletedWidgets.forEach(widget => this._removeWidget(widget));
+    this.setting.set(nextWidgetIds);
+    this.locked = false;
+    return addedWidgetIds;
+  }

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+  setWidgets(nextWidgets) {
+    const addedWidgetIds = this._updateWidgets(nextWidgets);

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/interface-skeleton/index.js
+    this._debounceSetHistory();

+    return addedWidgetIds;
+  }
+  /**
+   * Undo/Redo related features
+   */


-/**
- * External dependencies
- */
+  hasUndo() {
+    return this.historyIndex > 0;
+  }

-/**
- * WordPress dependencies
- */
+  hasRedo() {
+    return this.historyIndex < this.history.length - 1;
+  }

-/**
- * WordPress dependencies
- */
+  _seek(historyIndex) {
+    const currentWidgets = this.getWidgets();
+    this.historyIndex = historyIndex;
+    const widgets = this.history[this.historyIndex];

+    this._updateWidgets(widgets);

+    this._emit(currentWidgets, this.getWidgets());

+    this.historySubscribers.forEach(listener => listener());

+    this._debounceSetHistory.cancel();
+  }

+  undo() {
+    if (!this.hasUndo()) {
+      return;
+    }

-function useHTMLClass(className) {
-  Object(external_wp_element_["useEffect"])(() => {
-    const element = document && document.querySelector(`html:not(.${className})`);
+    this._seek(this.historyIndex - 1);
+  }

-    if (!element) {
+  redo() {
+    if (!this.hasRedo()) {
       return;
     }

-    element.classList.toggle(className);
+    this._seek(this.historyIndex + 1);
+  }
+
+  subscribeHistory(listener) {
+    this.historySubscribers.add(listener);
     return () => {
-      element.classList.toggle(className);
+      this.historySubscribers.delete(listener);
     };
-  }, [className]);
-}
+  }

-function InterfaceSkeleton(_ref, ref) {
-  let {
-    footer,
-    header,
-    sidebar,
-    secondarySidebar,
-    notices,
-    content,
-    drawer,
-    actions,
-    labels,
-    className,
-    shortcuts
-  } = _ref;
-  const navigateRegionsProps = Object(external_wp_components_["__unstableUseNavigateRegions"])(shortcuts);
-  useHTMLClass('interface-interface-skeleton__html-container');
-  const defaultLabels = {
-    /* translators: accessibility text for the nav bar landmark region. */
-    drawer: Object(external_wp_i18n_["__"])('Drawer'),
+  save() {
+    this.api.previewer.save();
+  }

-    /* translators: accessibility text for the top bar landmark region. */
-    header: Object(external_wp_i18n_["__"])('Header'),
+}

-    /* translators: accessibility text for the content landmark region. */
-    body: Object(external_wp_i18n_["__"])('Content'),
+;// CONCATENATED MODULE: external ["wp","dom"]
+var external_wp_dom_namespaceObject = window["wp"]["dom"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/inserter-outer-section.js
+/**
+ * WordPress dependencies
+ */

-    /* translators: accessibility text for the secondary sidebar landmark region. */
-    secondarySidebar: Object(external_wp_i18n_["__"])('Block Library'),

-    /* translators: accessibility text for the settings landmark region. */
-    sidebar: Object(external_wp_i18n_["__"])('Settings'),

-    /* translators: accessibility text for the publish landmark region. */
-    actions: Object(external_wp_i18n_["__"])('Publish'),
+/**
+ * Internal dependencies
+ */

-    /* translators: accessibility text for the footer landmark region. */
-    footer: Object(external_wp_i18n_["__"])('Footer')
-  };
-  const mergedLabels = { ...defaultLabels,
-    ...labels
-  };
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, navigateRegionsProps, {
-    ref: Object(external_wp_compose_["useMergeRefs"])([ref, navigateRegionsProps.ref]),
-    className: classnames_default()(className, 'interface-interface-skeleton', navigateRegionsProps.className, !!footer && 'has-footer')
-  }), !!drawer && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__drawer",
-    role: "region",
-    "aria-label": mergedLabels.drawer,
-    tabIndex: "-1"
-  }, drawer), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__editor"
-  }, !!header && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__header",
-    role: "region",
-    "aria-label": mergedLabels.header,
-    tabIndex: "-1"
-  }, header), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__body"
-  }, !!secondarySidebar && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__secondary-sidebar",
-    role: "region",
-    "aria-label": mergedLabels.secondarySidebar,
-    tabIndex: "-1"
-  }, secondarySidebar), !!notices && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__notices"
-  }, notices), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__content",
-    role: "region",
-    "aria-label": mergedLabels.body,
-    tabIndex: "-1"
-  }, content), !!sidebar && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__sidebar",
-    role: "region",
-    "aria-label": mergedLabels.sidebar,
-    tabIndex: "-1"
-  }, sidebar), !!actions && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__actions",
-    role: "region",
-    "aria-label": mergedLabels.actions,
-    tabIndex: "-1"
-  }, actions))), !!footer && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__footer",
-    role: "region",
-    "aria-label": mergedLabels.footer,
-    tabIndex: "-1"
-  }, footer));
-}

-/* harmony default export */ var interface_skeleton = (Object(external_wp_element_["forwardRef"])(InterfaceSkeleton));
+function getInserterOuterSection() {
+  const {
+    wp: {
+      customize
+    }
+  } = window;
+  const OuterSection = customize.OuterSection; // Override the OuterSection class to handle multiple outer sections.
+  // It closes all the other outer sections whenever one is opened.
+  // The result is that at most one outer section can be opened at the same time.

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
-var more_vertical = __webpack_require__("VKE3");
+  customize.OuterSection = class extends OuterSection {
+    onChangeExpanded(expanded, args) {
+      if (expanded) {
+        customize.section.each(section => {
+          if (section.params.type === 'outer' && section.id !== this.id) {
+            if (section.expanded()) {
+              section.collapse();
+            }
+          }
+        });
+      }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-dropdown/index.js
+      return super.onChangeExpanded(expanded, args);
+    }

+  }; // Handle constructor so that "params.type" can be correctly pointed to "outer".

-/**
- * External dependencies
- */
+  customize.sectionConstructor.outer = customize.OuterSection;
+  return class InserterOuterSection extends customize.OuterSection {
+    constructor() {
+      super(...arguments); // This is necessary since we're creating a new class which is not identical to the original OuterSection.
+      // @See https://github.com/WordPress/wordpress-develop/blob/42b05c397c50d9dc244083eff52991413909d4bd/src/js/_enqueues/wp/customize/controls.js#L1427-L1436

-/**
- * WordPress dependencies
- */
+      this.params.type = 'outer';
+      this.activeElementBeforeExpanded = null;
+      const ownerWindow = this.contentContainer[0].ownerDocument.defaultView; // Handle closing the inserter when pressing the Escape key.

+      ownerWindow.addEventListener('keydown', event => {
+        if (this.expanded() && (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE || event.code === 'Escape') && !event.defaultPrevented) {
+          event.preventDefault();
+          event.stopPropagation();
+          (0,external_wp_data_namespaceObject.dispatch)(store_store).setIsInserterOpened(false);
+        }
+      }, // Use capture mode to make this run before other event listeners.
+      true);
+      this.contentContainer.addClass('widgets-inserter'); // Set a flag if the state is being changed from open() or close().
+      // Don't propagate the event if it's an internal action to prevent infinite loop.

+      this.isFromInternalAction = false;
+      this.expanded.bind(() => {
+        if (!this.isFromInternalAction) {
+          // Propagate the event to React to sync the state.
+          (0,external_wp_data_namespaceObject.dispatch)(store_store).setIsInserterOpened(this.expanded());
+        }

+        this.isFromInternalAction = false;
+      });
+    }

-function MoreMenuDropdown(_ref) {
-  let {
-    as: DropdownComponent = external_wp_components_["DropdownMenu"],
-    className,
+    open() {
+      if (!this.expanded()) {
+        const contentContainer = this.contentContainer[0];
+        this.activeElementBeforeExpanded = contentContainer.ownerDocument.activeElement;
+        this.isFromInternalAction = true;
+        this.expand({
+          completeCallback() {
+            // We have to do this in a "completeCallback" or else the elements will not yet be visible/tabbable.
+            // The first one should be the close button,
+            // we want to skip it and choose the second one instead, which is the search box.
+            const searchBox = external_wp_dom_namespaceObject.focus.tabbable.find(contentContainer)[1];

-    /* translators: button label text should, if possible, be under 16 characters. */
-    label = Object(external_wp_i18n_["__"])('Options'),
-    popoverProps,
-    toggleProps,
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(DropdownComponent, {
-    className: classnames_default()('interface-more-menu-dropdown', className),
-    icon: more_vertical["a" /* default */],
-    label: label,
-    popoverProps: {
-      position: 'bottom left',
-      ...popoverProps,
-      className: classnames_default()('interface-more-menu-dropdown__content', popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.className)
-    },
-    toggleProps: {
-      tooltipPosition: 'bottom',
-      ...toggleProps
+            if (searchBox) {
+              searchBox.focus();
+            }
+          }
+
+        });
+      }
     }
-  }, onClose => children(onClose));
-}

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+    close() {
+      if (this.expanded()) {
+        const contentContainer = this.contentContainer[0];
+        const activeElement = contentContainer.ownerDocument.activeElement;
+        this.isFromInternalAction = true;
+        this.collapse({
+          completeCallback() {
+            // Return back the focus when closing the inserter.
+            // Only do this if the active element which triggers the action is inside the inserter,
+            // (the close button for instance). In that case the focus will be lost.
+            // Otherwise, we don't hijack the focus when the user is focusing on other elements
+            // (like the quick inserter).
+            if (contentContainer.contains(activeElement)) {
+              // Return back the focus when closing the inserter.
+              if (this.activeElementBeforeExpanded) {
+                this.activeElementBeforeExpanded.focus();
+              }
+            }
+          }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-feature-toggle/index.js
+        });
+      }
+    }

+  };
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/controls/sidebar-control.js
 /**
  * WordPress dependencies
  */

-
-
-
-
 /**
  * Internal dependencies
  */


-function MoreMenuFeatureToggle(_ref) {
-  let {
-    scope,
-    label,
-    info,
-    messageActivated,
-    messageDeactivated,
-    shortcut,
-    feature
-  } = _ref;
-  const isActive = Object(external_wp_data_["useSelect"])(select => select(store).isFeatureActive(scope, feature), [feature]);
-  const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store);
-
-  const speakMessage = () => {
-    if (isActive) {
-      Object(external_wp_a11y_["speak"])(messageDeactivated || Object(external_wp_i18n_["__"])('Feature deactivated'));
-    } else {
-      Object(external_wp_a11y_["speak"])(messageActivated || Object(external_wp_i18n_["__"])('Feature activated'));
-    }
-  };
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    icon: isActive && check["a" /* default */],
-    isSelected: isActive,
-    onClick: () => {
-      toggleFeature(scope, feature);
-      speakMessage();
-    },
-    role: "menuitemcheckbox",
-    info: info,
-    shortcut: shortcut
-  }, label);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/index.js
-
-
-
-



+const getInserterId = controlId => `widgets-inserter-${controlId}`;

+function getSidebarControl() {
+  const {
+    wp: {
+      customize
+    }
+  } = window;
+  return class SidebarControl extends customize.Control {
+    constructor() {
+      super(...arguments);
+      this.subscribers = new Set();
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/index.js
+    ready() {
+      const InserterOuterSection = getInserterOuterSection();
+      this.inserter = new InserterOuterSection(getInserterId(this.id), {});
+      customize.section.add(this.inserter);
+      this.sectionInstance = customize.section(this.section());
+      this.inspector = this.sectionInstance.inspector;
+      this.sidebarAdapter = new SidebarAdapter(this.setting, customize);
+    }

+    subscribe(callback) {
+      this.subscribers.add(callback);
+      return () => {
+        this.subscribers.delete(callback);
+      };
+    }

+    onChangeSectionExpanded(expanded, args) {
+      if (!args.unchanged) {
+        // Close the inserter when the section collapses.
+        if (!expanded) {
+          (0,external_wp_data_namespaceObject.dispatch)(store_store).setIsInserterOpened(false);
+        }

+        this.subscribers.forEach(subscriber => subscriber(expanded, args));
+      }
+    }

-/***/ }),
+  };
+}

-/***/ "URob":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/move-to-sidebar.js

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */

-const starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starFilled);
-

-/***/ }),

-/***/ "VKE3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const moreVertical = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (moreVertical);
-

-/***/ }),

-/***/ "Xxwi":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+const withMoveToSidebarToolbarItem = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => props => {
+  let widgetId = (0,external_wp_widgets_namespaceObject.getWidgetIdFromBlock)(props);
+  const sidebarControls = useSidebarControls();
+  const activeSidebarControl = useActiveSidebarControl();
+  const hasMultipleSidebars = (sidebarControls === null || sidebarControls === void 0 ? void 0 : sidebarControls.length) > 1;
+  const blockName = props.name;
+  const clientId = props.clientId;
+  const canInsertBlockInSidebar = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    // Use an empty string to represent the root block list, which
+    // in the customizer editor represents a sidebar/widget area.
+    return select(external_wp_blockEditor_namespaceObject.store).canInsertBlockType(blockName, '');
+  }, [blockName]);
+  const block = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).getBlock(clientId), [clientId]);
+  const {
+    removeBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const [, focusWidget] = useFocusControl();

+  function moveToSidebar(sidebarControlId) {
+    const newSidebarControl = sidebarControls.find(sidebarControl => sidebarControl.id === sidebarControlId);

-/**
- * WordPress dependencies
- */
+    if (widgetId) {
+      /**
+       * If there's a widgetId, move it to the other sidebar.
+       */
+      const oldSetting = activeSidebarControl.setting;
+      const newSetting = newSidebarControl.setting;
+      oldSetting((0,external_lodash_namespaceObject.without)(oldSetting(), widgetId));
+      newSetting([...newSetting(), widgetId]);
+    } else {
+      /**
+       * If there isn't a widgetId, it's most likely a inner block.
+       * First, remove the block in the original sidebar,
+       * then, create a new widget in the new sidebar and get back its widgetId.
+       */
+      const sidebarAdapter = newSidebarControl.sidebarAdapter;
+      removeBlock(clientId);
+      const addedWidgetIds = sidebarAdapter.setWidgets([...sidebarAdapter.getWidgets(), blockToWidget(block)]); // The last non-null id is the added widget's id.

-const starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starEmpty);
+      widgetId = addedWidgetIds.reverse().find(id => !!id);
+    } // Move focus to the moved widget and expand the sidebar.


-/***/ }),
+    focusWidget(widgetId);
+  }

-/***/ "YLtl":
-/***/ (function(module, exports) {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props), hasMultipleSidebars && canInsertBlockInSidebar && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_widgets_namespaceObject.MoveToWidgetArea, {
+    widgetAreas: sidebarControls.map(sidebarControl => ({
+      id: sidebarControl.id,
+      name: sidebarControl.params.label,
+      description: sidebarControl.params.description
+    })),
+    currentWidgetAreaId: activeSidebarControl === null || activeSidebarControl === void 0 ? void 0 : activeSidebarControl.id,
+    onSelect: moveToSidebar
+  })));
+}, 'withMoveToSidebarToolbarItem');
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/customize-widgets/block-edit', withMoveToSidebarToolbarItem);

-(function() { module.exports = window["lodash"]; }());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/replace-media-upload.js
+/**
+ * WordPress dependencies
+ */

-/***/ }),

-/***/ "axFQ":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["blockEditor"]; }());
+const replaceMediaUpload = () => external_wp_mediaUtils_namespaceObject.MediaUpload;

-/***/ }),
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.MediaUpload', 'core/edit-widgets/replace-media-upload', replaceMediaUpload);

-/***/ "bWcr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/wide-widget-display.js

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
  * WordPress dependencies
  */

-const closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (closeSmall);
-

-/***/ }),
+const {
+  wp: wide_widget_display_wp
+} = window;
+const withWideWidgetDisplay = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => props => {
+  var _wp$customize$Widgets, _wp$customize$Widgets2;

-/***/ "g56x":
-/***/ (function(module, exports) {
+  const {
+    idBase
+  } = props.attributes;
+  const isWide = (_wp$customize$Widgets = (_wp$customize$Widgets2 = wide_widget_display_wp.customize.Widgets.data.availableWidgets.find(widget => widget.id_base === idBase)) === null || _wp$customize$Widgets2 === void 0 ? void 0 : _wp$customize$Widgets2.is_wide) !== null && _wp$customize$Widgets !== void 0 ? _wp$customize$Widgets : false;
+  return (0,external_wp_element_namespaceObject.createElement)(BlockEdit, _extends({}, props, {
+    isWide: isWide
+  }));
+}, 'withWideWidgetDisplay');
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/customize-widgets/wide-widget-display', withWideWidgetDisplay);

-(function() { module.exports = window["wp"]["hooks"]; }());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/filters/index.js
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "gdqT":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["a11y"]; }());

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/customize-widgets/build-module/index.js

-/***/ "hF7m":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["keyboardShortcuts"]; }());
+/**
+ * WordPress dependencies
+ */

-/***/ }),

-/***/ "jZUy":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["coreData"]; }());

-/***/ }),

-/***/ "l3Sj":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["i18n"]; }());
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "rl8x":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["isShallowEqual"]; }());

-/***/ }),

-/***/ "tI+e":
-/***/ (function(module, exports) {
+const {
+  wp: build_module_wp
+} = window;
+const DISABLED_BLOCKS = ['core/more', 'core/block', 'core/freeform', 'core/template-part'];
+const ENABLE_EXPERIMENTAL_FSE_BLOCKS = false;
+/**
+ * Initializes the widgets block editor in the customizer.
+ *
+ * @param {string} editorName          The editor name.
+ * @param {Object} blockEditorSettings Block editor settings.
+ */

-(function() { module.exports = window["wp"]["components"]; }());
+function initialize(editorName, blockEditorSettings) {
+  (0,external_wp_data_namespaceObject.dispatch)(store).setFeatureDefaults('core/customize-widgets', {
+    fixedToolbar: false,
+    welcomeGuide: true
+  });

-/***/ }),
+  (0,external_wp_data_namespaceObject.dispatch)(external_wp_blocks_namespaceObject.store).__experimentalReapplyBlockTypeFilters();

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  const coreBlocks = (0,external_wp_blockLibrary_namespaceObject.__experimentalGetCoreBlocks)().filter(block => {
+    return !(DISABLED_BLOCKS.includes(block.name) || block.name.startsWith('core/post') || block.name.startsWith('core/query') || block.name.startsWith('core/site') || block.name.startsWith('core/navigation'));
+  });

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
+  (0,external_wp_blockLibrary_namespaceObject.registerCoreBlocks)(coreBlocks);
+  (0,external_wp_widgets_namespaceObject.registerLegacyWidgetBlock)();

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
+  if (false) {}

-    return target;
-  };
+  (0,external_wp_widgets_namespaceObject.registerLegacyWidgetVariations)(blockEditorSettings);
+  (0,external_wp_widgets_namespaceObject.registerWidgetGroupBlock)(); // As we are unregistering `core/freeform` to avoid the Classic block, we must
+  // replace it with something as the default freeform content handler. Failure to
+  // do this will result in errors in the default block parser.
+  // see: https://github.com/WordPress/gutenberg/issues/33097

-  return _extends.apply(this, arguments);
+  (0,external_wp_blocks_namespaceObject.setFreeformContentHandlerName)('core/html');
+  const SidebarControl = getSidebarControl(blockEditorSettings);
+  build_module_wp.customize.sectionConstructor.sidebar = getSidebarSection();
+  build_module_wp.customize.controlConstructor.sidebar_block_editor = SidebarControl;
+  const container = document.createElement('div');
+  document.body.appendChild(container);
+  build_module_wp.customize.bind('ready', () => {
+    const sidebarControls = [];
+    build_module_wp.customize.control.each(control => {
+      if (control instanceof SidebarControl) {
+        sidebarControls.push(control);
+      }
+    });
+    (0,external_wp_element_namespaceObject.render)((0,external_wp_element_namespaceObject.createElement)(CustomizeWidgets, {
+      api: build_module_wp.customize,
+      sidebarControls: sidebarControls,
+      blockEditorSettings: blockEditorSettings
+    }), container);
+  });
 }

-/***/ })
-
-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).customizeWidgets = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/customize-widgets.min.js b/wp-includes/js/dist/customize-widgets.min.js
index 27427f6cc2..8bb3bb91db 100644
--- a/wp-includes/js/dist/customize-widgets.min.js
+++ b/wp-includes/js/dist/customize-widgets.min.js
@@ -1,7 +1,7 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.customizeWidgets=function(e){var t={};function n(r){if(t[r])return t[r].exports;var c=t[r]={i:r,l:!1,exports:{}};return e[r].call(c.exports,c,c.exports,n),c.l=!0,c.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)n.d(r,c,function(t){return e[t]}.bind(null,c));return r},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="9pbN")}({"1CF3":function(e,t){e.exports=window.wp.dom},"1ZqX":function(e,t){e.exports=window.wp.data},"6aBm":function(e,t){e.exports=window.wp.mediaUtils},"9pbN":function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){return ke}));var r={};n.r(r),n.d(r,"isInserterOpened",(function(){return z})),n.d(r,"__experimentalGetInsertionPoint",(function(){return T}));var c={};n.r(c),n.d(c,"setIsInserterOpened",(function(){return B}));var i=n("GRId"),s=n("QyPg"),o=n("GLVC"),a=n("HSyU"),l=n("1ZqX"),d=n("U60i"),u=n("tI+e"),b=n("hF7m"),m=n("l3Sj"),p=n("axFQ"),h=n("K9lf");function g(e){let{text:t,children:n}=e;const r=Object(h.useCopyToClipboard)(t);return Object(i.createElement)(u.Button,{variant:"secondary",ref:r},n)}class f extends i.Component{constructor(){super(...arguments),this.state={error:null}}componentDidCatch(e){this.setState({error:e})}render(){const{error:e}=this.state;return e?Object(i.createElement)(p.Warning,{className:"customize-widgets-error-boundary",actions:[Object(i.createElement)(g,{key:"copy-error",text:e.stack},Object(m.__)("Copy Error"))]},Object(m.__)("The editor has encountered an unexpected error.")):this.props.children}}var O=n("YLtl"),j=n("jZUy"),_=n("6aBm"),w=n("wx14");var E=function(e){let{inspector:t,closeMenu:n,...r}=e;const c=Object(l.useSelect)(e=>e(p.store).getSelectedBlockClientId(),[]),s=Object(i.useMemo)(()=>document.getElementById("block-"+c),[c]);return Object(i.createElement)(u.MenuItem,Object(w.a)({onClick:()=>{t.open({returnFocusWhenClose:s}),n()}},r),Object(m.__)("Show more settings"))},v=n("TSYQ"),y=n.n(v),k=n("RxS6"),C=n("Ntru"),x=n("K2cm"),S=n("Q4Sy"),I=n("bWcr");function z(e){return!!e.blockInserterPanel}function T(e){const{rootClientId:t,insertionIndex:n}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:n}}function B(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}const N={reducer:Object(l.combineReducers)({blockInserterPanel: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_IS_INSERTER_OPENED":return t.value}return e}}),selectors:r,actions:c},W=Object(l.createReduxStore)("core/customize-widgets",N);Object(l.registerStore)("core/customize-widgets",N);var A=function e(t){let{setIsOpened:n}=t;const r=Object(h.useInstanceId)(e,"customize-widget-layout__inserter-panel-title"),c=Object(l.useSelect)(e=>e(W).__experimentalGetInsertionPoint(),[]);return Object(i.createElement)("div",{className:"customize-widgets-layout__inserter-panel","aria-labelledby":r},Object(i.createElement)("div",{className:"customize-widgets-layout__inserter-panel-header"},Object(i.createElement)("h2",{id:r,className:"customize-widgets-layout__inserter-panel-header-title"},Object(m.__)("Add a block")),Object(i.createElement)(u.Button,{className:"customize-widgets-layout__inserter-panel-header-close-button",icon:I.a,onClick:()=>n(!1),"aria-label":Object(m.__)("Close inserter")})),Object(i.createElement)("div",{className:"customize-widgets-layout__inserter-panel-content"},Object(i.createElement)(p.__experimentalLibrary,{rootClientId:c.rootClientId,__experimentalInsertionIndex:c.insertionIndex,showInserterHelpPanel:!0,onSelect:()=>n(!1)})))},F=n("K+tz");const M=[{keyCombination:{modifier:"primary",character:"b"},description:Object(m.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(m.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(m.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(m.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(m.__)("Underline the selected text.")}];function P(e){let{keyCombination:t,forceAriaLabel:n}=e;const r=t.modifier?k.displayShortcutList[t.modifier](t.character):t.character,c=t.modifier?k.shortcutAriaLabel[t.modifier](t.character):t.character;return Object(i.createElement)("kbd",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":n||c},Object(O.castArray)(r).map((e,t)=>"+"===e?Object(i.createElement)(i.Fragment,{key:t},e):Object(i.createElement)("kbd",{key:t,className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-key"},e)))}var L=function(e){let{description:t,keyCombination:n,aliases:r=[],ariaLabel:c}=e;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-description"},t),Object(i.createElement)("div",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-term"},Object(i.createElement)(P,{keyCombination:n,forceAriaLabel:c}),r.map((e,t)=>Object(i.createElement)(P,{keyCombination:e,forceAriaLabel:c,key:t}))))};var R=function(e){let{name:t}=e;const{keyCombination:n,description:r,aliases:c}=Object(l.useSelect)(e=>{const{getShortcutKeyCombination:n,getShortcutDescription:r,getShortcutAliases:c}=e(b.store);return{keyCombination:n(t),aliases:c(t),description:r(t)}},[t]);return n?Object(i.createElement)(L,{keyCombination:n,description:r,aliases:c}):null};const G=e=>{let{shortcuts:t}=e;return Object(i.createElement)("ul",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-list",role:"list"},t.map((e,t)=>Object(i.createElement)("li",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut",key:t},Object(O.isString)(e)?Object(i.createElement)(R,{name:e}):Object(i.createElement)(L,e))))},D=e=>{let{title:t,shortcuts:n,className:r}=e;return Object(i.createElement)("section",{className:y()("customize-widgets-keyboard-shortcut-help-modal__section",r)},!!t&&Object(i.createElement)("h2",{className:"customize-widgets-keyboard-shortcut-help-modal__section-title"},t),Object(i.createElement)(G,{shortcuts:n}))},U=e=>{let{title:t,categoryName:n,additionalShortcuts:r=[]}=e;const c=Object(l.useSelect)(e=>e(b.store).getCategoryShortcuts(n),[n]);return Object(i.createElement)(D,{title:t,shortcuts:c.concat(r)})};function V(e){let{isModalActive:t,toggleModal:n}=e;const{registerShortcut:r}=Object(l.useDispatch)(b.store);return r({name:"core/customize-widgets/keyboard-shortcuts",category:"main",description:Object(m.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}}),Object(b.useShortcut)("core/customize-widgets/keyboard-shortcuts",n),t?Object(i.createElement)(u.Modal,{className:"customize-widgets-keyboard-shortcut-help-modal",title:Object(m.__)("Keyboard shortcuts"),closeLabel:Object(m.__)("Close"),onRequestClose:n},Object(i.createElement)(D,{className:"customize-widgets-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/customize-widgets/keyboard-shortcuts"]}),Object(i.createElement)(U,{title:Object(m.__)("Global shortcuts"),categoryName:"global"}),Object(i.createElement)(U,{title:Object(m.__)("Selection shortcuts"),categoryName:"selection"}),Object(i.createElement)(U,{title:Object(m.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(m.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(m.__)("Forward-slash")}]}),Object(i.createElement)(D,{title:Object(m.__)("Text formatting"),shortcuts:M})):null}const H={className:"customize-widgets-more-menu__content"};function q(){const[e,t]=Object(i.useState)(!1),n=()=>t(!e);return Object(b.useShortcut)("core/customize-widgets/keyboard-shortcuts",n),Object(i.createElement)(i.Fragment,null,Object(i.createElement)(d.f,{as:u.ToolbarDropdownMenu,className:"customize-widgets-more-menu",popoverProps:H},()=>Object(i.createElement)(i.Fragment,null,Object(i.createElement)(u.MenuGroup,{label:Object(m._x)("View","noun")},Object(i.createElement)(d.g,{scope:"core/customize-widgets",feature:"fixedToolbar",label:Object(m.__)("Top toolbar"),info:Object(m.__)("Access all block and document tools in a single place"),messageActivated:Object(m.__)("Top toolbar activated"),messageDeactivated:Object(m.__)("Top toolbar deactivated")})),Object(i.createElement)(u.MenuGroup,{label:Object(m.__)("Tools")},Object(i.createElement)(u.MenuItem,{onClick:()=>{t(!0)},shortcut:k.displayShortcut.access("h")},Object(m.__)("Keyboard shortcuts")),Object(i.createElement)(d.g,{scope:"core/customize-widgets",feature:"welcomeGuide",label:Object(m.__)("Welcome Guide")}),Object(i.createElement)(u.MenuItem,{role:"menuitem",icon:F.a,href:Object(m.__)("https://wordpress.org/support/article/block-based-widgets-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(m.__)("Help"),Object(i.createElement)(u.VisuallyHidden,{as:"span"},Object(m.__)("(opens in a new tab)")))),Object(i.createElement)(u.MenuGroup,{label:Object(m.__)("Preferences")},Object(i.createElement)(d.g,{scope:"core/customize-widgets",feature:"keepCaretInsideBlock",label:Object(m.__)("Contain text cursor inside block"),info:Object(m.__)("Aids screen readers by stopping text caret from leaving blocks."),messageActivated:Object(m.__)("Contain text cursor inside block activated"),messageDeactivated:Object(m.__)("Contain text cursor inside block deactivated")})))),Object(i.createElement)(V,{isModalActive:e,toggleModal:n}))}var K=function(e){let{sidebar:t,inserter:n,isInserterOpened:r,setIsInserterOpened:c,isFixedToolbarActive:s}=e;const[[o,a],l]=Object(i.useState)([t.hasUndo(),t.hasRedo()]);return Object(i.useEffect)(()=>t.subscribeHistory(()=>{l([t.hasUndo(),t.hasRedo()])}),[t]),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:y()("customize-widgets-header",{"is-fixed-toolbar-active":s})},Object(i.createElement)(p.NavigableToolbar,{className:"customize-widgets-header-toolbar","aria-label":Object(m.__)("Document tools")},Object(i.createElement)(u.ToolbarButton,{icon:Object(m.isRTL)()?x.a:C.a,label:Object(m.__)("Undo"),shortcut:k.displayShortcut.primary("z"),"aria-disabled":!o,onClick:t.undo,className:"customize-widgets-editor-history-button undo-button"}),Object(i.createElement)(u.ToolbarButton,{icon:Object(m.isRTL)()?C.a:x.a,label:Object(m.__)("Redo"),shortcut:k.displayShortcut.primaryShift("z"),"aria-disabled":!a,onClick:t.redo,className:"customize-widgets-editor-history-button redo-button"}),Object(i.createElement)(u.ToolbarButton,{className:"customize-widgets-header-toolbar__inserter-toggle",isPressed:r,variant:"primary",icon:S.a,label:Object(m._x)("Add block","Generic label for block inserter button"),onClick:()=>{c(e=>!e)}}),Object(i.createElement)(q,null))),Object(i.createPortal)(Object(i.createElement)(A,{setIsOpened:c}),n.contentContainer[0]))};var $=n("rl8x"),Q=n.n($);function Y(e){const t=e.match(/^widget_(.+)(?:\[(\d+)\])$/);if(t){return`${t[1]}-${parseInt(t[2],10)}`}return e}function X(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r="core/legacy-widget"===e.name&&(e.attributes.id||e.attributes.instance);if(r)if(e.attributes.id)t={id:e.attributes.id};else{const{encoded:r,hash:c,raw:i,...s}=e.attributes.instance;t={idBase:e.attributes.idBase,instance:{...null==n?void 0:n.instance,is_widget_customizer_js_value:!0,encoded_serialized_instance:r,instance_hash_key:c,raw_instance:i,...s}}}else{t={idBase:"block",widgetClass:"WP_Widget_Block",instance:{raw_instance:{content:Object(a.serialize)(e)}}}}return{...Object(O.omit)(n,["form","rendered"]),...t}}function Z(e){let t,{id:n,idBase:r,number:c,instance:i}=e;const{encoded_serialized_instance:s,instance_hash_key:l,raw_instance:d,...u}=i;if("block"===r){const e=Object(a.parse)(d.content);t=e.length?e[0]:Object(a.createBlock)("core/paragraph",{})}else t=c?Object(a.createBlock)("core/legacy-widget",{idBase:r,instance:{encoded:s,hash:l,raw:d,...u}}):Object(a.createBlock)("core/legacy-widget",{id:n});return Object(o.addWidgetIdToBlock)(t,n)}function J(e){const[t,n]=Object(i.useState)(()=>e.getWidgets().map(e=>Z(e)));Object(i.useEffect)(()=>e.subscribe((e,t)=>{n(n=>{const r=new Map(e.map(e=>[e.id,e])),c=new Map(n.map(e=>[Object(o.getWidgetIdFromBlock)(e),e])),i=t.map(e=>{const t=r.get(e.id);return t&&t===e?c.get(e.id):Z(e)});return Q()(n,i)?n:i})}),[e]);const r=Object(i.useCallback)(t=>{n(n=>{if(Q()(n,t))return n;const r=new Map(n.map(e=>[Object(o.getWidgetIdFromBlock)(e),e])),c=t.map(t=>{const n=Object(o.getWidgetIdFromBlock)(t);if(n&&r.has(n)){const c=r.get(n),i=e.getWidget(n);return Object(O.isEqual)(t,c)&&i?i:X(t,i)}return X(t)});if(Q()(e.getWidgets(),c))return n;const i=e.setWidgets(c);return t.reduce((e,n,r)=>{const c=i[r];return null!==c&&(e===t&&(e=t.slice()),e[r]=Object(o.addWidgetIdToBlock)(n,c)),e},t)})},[e]);return[t,r,r]}const ee=Object(i.createContext)();function te(e){let{api:t,sidebarControls:n,children:r}=e;const[c,s]=Object(i.useState)({current:null}),o=Object(i.useCallback)(e=>{for(const t of n){if(t.setting.get().includes(e)){t.sectionInstance.expand({completeCallback(){s({current:e})}});break}}},[n]);Object(i.useEffect)(()=>{function e(e){const t=Y(e);o(t)}function n(){t.previewer.preview.bind("focus-control-for-setting",e)}return t.previewer.bind("ready",n),()=>{t.previewer.unbind("ready",n),t.previewer.preview.unbind("focus-control-for-setting",e)}},[t,o]);const a=Object(i.useMemo)(()=>[c,o],[c,o]);return Object(i.createElement)(ee.Provider,{value:a},r)}const ne=()=>Object(i.useContext)(ee);function re(e){let{sidebar:t,settings:n,children:r}=e;const[c,s,a]=J(t);return function(e){const{selectBlock:t}=Object(l.useDispatch)(p.store),[n]=ne(),r=Object(i.useRef)(e);Object(i.useEffect)(()=>{r.current=e},[e]),Object(i.useEffect)(()=>{if(n.current){const e=r.current.find(e=>Object(o.getWidgetIdFromBlock)(e)===n.current);if(e){t(e.clientId);const n=document.querySelector(`[data-block="${e.clientId}"]`);null==n||n.focus()}}},[n,t])}(c),Object(i.createElement)(p.BlockEditorProvider,{value:c,onInput:s,onChange:a,settings:n,useSubRegistry:!1},r)}function ce(e){let{sidebar:t}=e;const{toggleFeature:n}=Object(l.useDispatch)(d.i),r=t.getWidgets().every(e=>e.id.startsWith("block-"));return Object(i.createElement)("div",{className:"customize-widgets-welcome-guide"},Object(i.createElement)("div",{className:"customize-widgets-welcome-guide__image__wrapper"},Object(i.createElement)("picture",null,Object(i.createElement)("source",{srcSet:"https://s.w.org/images/block-editor/welcome-editor.svg",media:"(prefers-reduced-motion: reduce)"}),Object(i.createElement)("img",{className:"customize-widgets-welcome-guide__image",src:"https://s.w.org/images/block-editor/welcome-editor.gif",width:"312",height:"240",alt:""}))),Object(i.createElement)("h1",{className:"customize-widgets-welcome-guide__heading"},Object(m.__)("Welcome to block Widgets")),Object(i.createElement)("p",{className:"customize-widgets-welcome-guide__text"},r?Object(m.__)("Your theme provides different “block” areas for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site."):Object(m.__)("You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.")),Object(i.createElement)(u.Button,{className:"customize-widgets-welcome-guide__button",variant:"primary",onClick:()=>n("core/customize-widgets","welcomeGuide")},Object(m.__)("Got it")),Object(i.createElement)("hr",{className:"customize-widgets-welcome-guide__separator"}),!r&&Object(i.createElement)("p",{className:"customize-widgets-welcome-guide__more-info"},Object(m.__)("Want to stick with the old widgets?"),Object(i.createElement)("br",null),Object(i.createElement)(u.ExternalLink,{href:Object(m.__)("https://wordpress.org/plugins/classic-widgets/")},Object(m.__)("Get the Classic Widgets plugin."))),Object(i.createElement)("p",{className:"customize-widgets-welcome-guide__more-info"},Object(m.__)("New to the block editor?"),Object(i.createElement)("br",null),Object(i.createElement)(u.ExternalLink,{href:Object(m.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(m.__)("Here's a detailed guide."))))}function ie(e){let{undo:t,redo:n,save:r}=e;return Object(b.useShortcut)("core/customize-widgets/undo",e=>{t(),e.preventDefault()}),Object(b.useShortcut)("core/customize-widgets/redo",e=>{n(),e.preventDefault()}),Object(b.useShortcut)("core/customize-widgets/save",e=>{e.preventDefault(),r()}),null}ie.Register=function(){const{registerShortcut:e,unregisterShortcut:t}=Object(l.useDispatch)(b.store);return Object(i.useEffect)(()=>(e({name:"core/customize-widgets/undo",category:"global",description:Object(m.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/customize-widgets/redo",category:"global",description:Object(m.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/customize-widgets/save",category:"global",description:Object(m.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),()=>{t("core/customize-widgets/undo"),t("core/customize-widgets/redo"),t("core/customize-widgets/save")}),[e]),null};var se=ie;function oe(e){const t=Object(i.useRef)(),n=Object(l.useSelect)(e=>0===e(p.store).getBlockCount());return Object(i.useEffect)(()=>{if(n&&t.current){const{ownerDocument:e}=t.current;e.activeElement&&e.activeElement!==e.body||t.current.focus()}},[n]),Object(i.createElement)(p.ButtonBlockAppender,Object(w.a)({},e,{ref:t}))}function ae(e){let{blockEditorSettings:t,sidebar:n,inserter:r,inspector:c}=e;const[s,o]=function(e){const t=Object(l.useSelect)(e=>e(W).isInserterOpened(),[]),{setIsInserterOpened:n}=Object(l.useDispatch)(W);return Object(i.useEffect)(()=>{t?e.open():e.close()},[e,t]),[t,Object(i.useCallback)(e=>{let t=e;"function"==typeof e&&(t=e(Object(l.select)(W).isInserterOpened())),n(t)},[n])]}(r),{hasUploadPermissions:a,isFixedToolbarActive:u,keepCaretInsideBlock:b,isWelcomeGuideActive:m}=Object(l.useSelect)(e=>{const{isFeatureActive:t}=e(d.i);return{hasUploadPermissions:Object(O.defaultTo)(e(j.store).canUser("create","media"),!0),isFixedToolbarActive:t("core/customize-widgets","fixedToolbar"),keepCaretInsideBlock:t("core/customize-widgets","keepCaretInsideBlock"),isWelcomeGuideActive:t("core/customize-widgets","welcomeGuide")}},[]),h=Object(i.useMemo)(()=>{let e;return a&&(e=e=>{let{onError:n,...r}=e;Object(_.uploadMedia)({wpAllowedMimeTypes:t.allowedMimeTypes,onError:e=>{let{message:t}=e;return n(t)},...r})}),{...t,__experimentalSetIsInserterOpened:o,mediaUpload:e,hasFixedToolbar:u,keepCaretInsideBlock:b,__unstableHasCustomAppender:!0}},[a,t,u,b,o]);return m?Object(i.createElement)(ce,{sidebar:n}):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.BlockEditorKeyboardShortcuts.Register,null),Object(i.createElement)(se.Register,null),Object(i.createElement)(re,{sidebar:n,settings:h},Object(i.createElement)(se,{undo:n.undo,redo:n.redo,save:n.save}),Object(i.createElement)(K,{sidebar:n,inserter:r,isInserterOpened:s,setIsInserterOpened:o,isFixedToolbarActive:u}),Object(i.createElement)(p.CopyHandler,null,Object(i.createElement)(p.BlockTools,null,Object(i.createElement)(p.__unstableEditorStyles,{styles:h.defaultEditorStyles}),Object(i.createElement)(p.BlockSelectionClearer,null,Object(i.createElement)(p.WritingFlow,{className:"editor-styles-wrapper"},Object(i.createElement)(p.ObserveTyping,null,Object(i.createElement)(p.BlockList,{renderAppender:oe})))))),Object(i.createPortal)(Object(i.createElement)("form",{onSubmit:e=>e.preventDefault()},Object(i.createElement)(p.BlockInspector,null)),c.contentContainer[0])),Object(i.createElement)(p.__unstableBlockSettingsMenuFirstItem,null,e=>{let{onClose:t}=e;return Object(i.createElement)(E,{inspector:c,closeMenu:t})}))}const le=Object(i.createContext)();function de(e){let{sidebarControls:t,activeSidebarControl:n,children:r}=e;const c=Object(i.useMemo)(()=>({sidebarControls:t,activeSidebarControl:n}),[t,n]);return Object(i.createElement)(le.Provider,{value:c},r)}function ue(e){let{api:t,sidebarControls:n,blockEditorSettings:r}=e;const[c,s]=Object(i.useState)(null),o=document.getElementById("customize-theme-controls"),a=Object(i.useRef)();!function(e,t){const{hasSelectedBlock:n,hasMultiSelection:r}=Object(l.useSelect)(p.store),{clearSelectedBlock:c}=Object(l.useDispatch)(p.store);Object(i.useEffect)(()=>{if(t.current&&e){const a=e.inspector,l=e.container[0],d=l.ownerDocument,u=d.defaultView;function i(e){!n()&&!r()||!e||!d.contains(e)||l.contains(e)||t.current.contains(e)||e.closest('[role="dialog"]')||a.expanded()||c()}function s(e){i(e.target)}function o(){i(d.activeElement)}return d.addEventListener("mousedown",s),u.addEventListener("blur",o),()=>{d.removeEventListener("mousedown",s),u.removeEventListener("blur",o)}}},[t,e,n,r,c])}(c,a),Object(i.useEffect)(()=>{const e=n.map(e=>e.subscribe(t=>{t&&s(e)}));return()=>{e.forEach(e=>e())}},[n]);const d=c&&Object(i.createPortal)(Object(i.createElement)(f,null,Object(i.createElement)(ae,{key:c.id,blockEditorSettings:r,sidebar:c.sidebarAdapter,inserter:c.inserter,inspector:c.inspector})),c.container[0]),m=o&&Object(i.createPortal)(Object(i.createElement)("div",{className:"customize-widgets-popover",ref:a},Object(i.createElement)(u.Popover.Slot,null)),o);return Object(i.createElement)(b.ShortcutProvider,null,Object(i.createElement)(u.SlotFillProvider,null,Object(i.createElement)(de,{sidebarControls:n,activeSidebarControl:c},Object(i.createElement)(te,{api:t,sidebarControls:n},d,m))))}function be(){const{wp:{customize:e}}=window;return class extends e.Section{ready(){const t=function(){const{wp:{customize:e}}=window;return class extends e.Section{constructor(e,t){super(e,t),this.parentSection=t.parentSection,this.returnFocusWhenClose=null,this._isOpen=!1}get isOpen(){return this._isOpen}set isOpen(e){this._isOpen=e,this.triggerActiveCallbacks()}ready(){this.contentContainer[0].classList.add("customize-widgets-layout__inspector")}isContextuallyActive(){return this.isOpen}onChangeExpanded(e,t){super.onChangeExpanded(e,t),this.parentSection&&!t.unchanged&&(e?this.parentSection.collapse({manualTransition:!0}):this.parentSection.expand({manualTransition:!0,completeCallback:()=>{this.returnFocusWhenClose&&!this.contentContainer[0].contains(this.returnFocusWhenClose)&&this.returnFocusWhenClose.focus()}}))}open(){let{returnFocusWhenClose:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.isOpen=!0,this.returnFocusWhenClose=e,this.expand({allowMultiple:!0})}close(){this.collapse({allowMultiple:!0})}collapse(e){this.isOpen=!1,super.collapse(e)}triggerActiveCallbacks(){this.active.callbacks.fireWith(this.active,[!1,!0])}}}();this.inspector=new t("widgets-inspector-"+this.id,{title:Object(m.__)("Block Settings"),parentSection:this,customizeAction:[Object(m.__)("Customizing"),Object(m.__)("Widgets"),this.params.title].join(" ▸ ")}),e.section.add(this.inspector),this.contentContainer[0].classList.add("customize-widgets__sidebar-section")}hasSubSectionOpened(){return this.inspector.expanded()}onChangeExpanded(e,t){const n=this.controls(),r={...t,completeCallback(){var c;n.forEach(t=>{var n;null===(n=t.onChangeSectionExpanded)||void 0===n||n.call(t,e,r)}),null===(c=t.completeCallback)||void 0===c||c.call(t)}};r.manualTransition?e?(this.contentContainer.addClass(["busy","open"]),this.contentContainer.removeClass("is-sub-section-open"),this.contentContainer.closest(".wp-full-overlay").addClass("section-open"),this.contentContainer.one("transitionend",()=>{this.contentContainer.removeClass("busy"),r.completeCallback()})):(this.contentContainer.addClass(["busy","is-sub-section-open"]),this.contentContainer.closest(".wp-full-overlay").addClass("section-open"),this.contentContainer.removeClass("open"),this.contentContainer.one("transitionend",()=>{this.contentContainer.removeClass("busy"),r.completeCallback()})):super.onChangeExpanded(e,r)}}}const{wp:me}=window;function pe(e){const t=e.match(/^(.+)-(\d+)$/);return t?{idBase:t[1],number:parseInt(t[2],10)}:{idBase:e}}function he(e){const{idBase:t,number:n}=pe(e);return n?`widget_${t}[${n}]`:"widget_"+t}class ge{constructor(e,t){this.setting=e,this.api=t,this.locked=!1,this.widgetsCache=new WeakMap,this.subscribers=new Set,this.history=[this._getWidgetIds().map(e=>this.getWidget(e))],this.historyIndex=0,this.historySubscribers=new Set,this._debounceSetHistory=function(e,t,n){let r,c=!1;function i(){for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];const a=(c?t:e).apply(this,s);return c=!0,clearTimeout(r),r=setTimeout(()=>{c=!1},n),a}return i.cancel=()=>{c=!1,clearTimeout(r)},i}(this._pushHistory,this._replaceHistory,1e3),this.setting.bind(this._handleSettingChange.bind(this)),this.api.bind("change",this._handleAllSettingsChange.bind(this)),this.undo=this.undo.bind(this),this.redo=this.redo.bind(this),this.save=this.save.bind(this)}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}getWidgets(){return this.history[this.historyIndex]}_emit(){for(const e of this.subscribers)e(...arguments)}_getWidgetIds(){return this.setting.get()}_pushHistory(){this.history=[...this.history.slice(0,this.historyIndex+1),this._getWidgetIds().map(e=>this.getWidget(e))],this.historyIndex+=1,this.historySubscribers.forEach(e=>e())}_replaceHistory(){this.history[this.historyIndex]=this._getWidgetIds().map(e=>this.getWidget(e))}_handleSettingChange(){if(this.locked)return;const e=this.getWidgets();this._pushHistory(),this._emit(e,this.getWidgets())}_handleAllSettingsChange(e){if(this.locked)return;if(!e.id.startsWith("widget_"))return;const t=Y(e.id);if(!this.setting.get().includes(t))return;const n=this.getWidgets();this._pushHistory(),this._emit(n,this.getWidgets())}_createWidget(e){const t=me.customize.Widgets.availableWidgets.findWhere({id_base:e.idBase});let n=e.number;t.get("is_multi")&&!n&&(t.set("multi_number",t.get("multi_number")+1),n=t.get("multi_number"));const r=n?`widget_${e.idBase}[${n}]`:"widget_"+e.idBase,c={transport:me.customize.Widgets.data.selectiveRefreshableWidgets[t.get("id_base")]?"postMessage":"refresh",previewer:this.setting.previewer};this.api.create(r,r,"",c).set(e.instance);return Y(r)}_removeWidget(e){const t=he(e.id),n=this.api(t);if(n){const e=n.get();this.widgetsCache.delete(e)}this.api.remove(t)}_updateWidget(e){const t=this.getWidget(e.id);if(t===e)return e.id;if(t.idBase&&e.idBase&&t.idBase===e.idBase){const t=he(e.id);return this.api(t).set(e.instance),e.id}return this._removeWidget(e),this._createWidget(e)}getWidget(e){if(!e)return null;const{idBase:t,number:n}=pe(e),r=he(e),c=this.api(r);if(!c)return null;const i=c.get();if(this.widgetsCache.has(i))return this.widgetsCache.get(i);const s={id:e,idBase:t,number:n,instance:i};return this.widgetsCache.set(i,s),s}_updateWidgets(e){this.locked=!0;const t=[],n=e.map(e=>{if(e.id&&this.getWidget(e.id))return t.push(null),this._updateWidget(e);const n=this._createWidget(e);return t.push(n),n});return this.getWidgets().filter(e=>!n.includes(e.id)).forEach(e=>this._removeWidget(e)),this.setting.set(n),this.locked=!1,t}setWidgets(e){const t=this._updateWidgets(e);return this._debounceSetHistory(),t}hasUndo(){return this.historyIndex>0}hasRedo(){return this.historyIndex<this.history.length-1}_seek(e){const t=this.getWidgets();this.historyIndex=e;const n=this.history[this.historyIndex];this._updateWidgets(n),this._emit(t,this.getWidgets()),this.historySubscribers.forEach(e=>e()),this._debounceSetHistory.cancel()}undo(){this.hasUndo()&&this._seek(this.historyIndex-1)}redo(){this.hasRedo()&&this._seek(this.historyIndex+1)}subscribeHistory(e){return this.historySubscribers.add(e),()=>{this.historySubscribers.delete(e)}}save(){this.api.previewer.save()}}var fe=n("1CF3");function Oe(){const{wp:{customize:e}}=window;return class extends e.Control{constructor(){super(...arguments),this.subscribers=new Set}ready(){const t=function(){const{wp:{customize:e}}=window,t=e.OuterSection;return e.OuterSection=class extends t{onChangeExpanded(t,n){return t&&e.section.each(e=>{"outer"===e.params.type&&e.id!==this.id&&e.expanded()&&e.collapse()}),super.onChangeExpanded(t,n)}},e.sectionConstructor.outer=e.OuterSection,class extends e.OuterSection{constructor(){super(...arguments),this.params.type="outer",this.activeElementBeforeExpanded=null;this.contentContainer[0].ownerDocument.defaultView.addEventListener("keydown",e=>{!this.expanded()||e.keyCode!==k.ESCAPE&&"Escape"!==e.code||e.defaultPrevented||(e.preventDefault(),e.stopPropagation(),Object(l.dispatch)(W).setIsInserterOpened(!1))},!0),this.contentContainer.addClass("widgets-inserter"),this.isFromInternalAction=!1,this.expanded.bind(()=>{this.isFromInternalAction||Object(l.dispatch)(W).setIsInserterOpened(this.expanded()),this.isFromInternalAction=!1})}open(){if(!this.expanded()){const e=this.contentContainer[0];this.activeElementBeforeExpanded=e.ownerDocument.activeElement,this.isFromInternalAction=!0,this.expand({completeCallback(){const t=fe.focus.tabbable.find(e)[1];t&&t.focus()}})}}close(){if(this.expanded()){const e=this.contentContainer[0],t=e.ownerDocument.activeElement;this.isFromInternalAction=!0,this.collapse({completeCallback(){e.contains(t)&&this.activeElementBeforeExpanded&&this.activeElementBeforeExpanded.focus()}})}}}}();this.inserter=new t("widgets-inserter-"+this.id,{}),e.section.add(this.inserter),this.sectionInstance=e.section(this.section()),this.inspector=this.sectionInstance.inspector,this.sidebarAdapter=new ge(this.setting,e)}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}onChangeSectionExpanded(e,t){t.unchanged||(e||Object(l.dispatch)(W).setIsInserterOpened(!1),this.subscribers.forEach(n=>n(e,t)))}}}var je=n("g56x");const _e=Object(h.createHigherOrderComponent)(e=>t=>{let n=Object(o.getWidgetIdFromBlock)(t);const r=function(){const{sidebarControls:e}=Object(i.useContext)(le);return e}(),c=function(){const{activeSidebarControl:e}=Object(i.useContext)(le);return e}(),s=(null==r?void 0:r.length)>1,a=t.name,d=t.clientId,u=Object(l.useSelect)(e=>e(p.store).canInsertBlockType(a,""),[a]),b=Object(l.useSelect)(e=>e(p.store).getBlock(d),[d]),{removeBlock:m}=Object(l.useDispatch)(p.store),[,h]=ne();return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(e,t),s&&u&&Object(i.createElement)(p.BlockControls,null,Object(i.createElement)(o.MoveToWidgetArea,{widgetAreas:r.map(e=>({id:e.id,name:e.params.label,description:e.params.description})),currentWidgetAreaId:null==c?void 0:c.id,onSelect:function(e){const t=r.find(t=>t.id===e);if(n){const e=c.setting,r=t.setting;e(Object(O.without)(e(),n)),r([...r(),n])}else{const e=t.sidebarAdapter;m(d);const r=e.setWidgets([...e.getWidgets(),X(b)]);n=r.reverse().find(e=>!!e)}h(n)}})))},"withMoveToSidebarToolbarItem");Object(je.addFilter)("editor.BlockEdit","core/customize-widgets/block-edit",_e);Object(je.addFilter)("editor.MediaUpload","core/edit-widgets/replace-media-upload",()=>_.MediaUpload);const{wp:we}=window,Ee=Object(h.createHigherOrderComponent)(e=>t=>{var n,r;const{idBase:c}=t.attributes,s=null!==(n=null===(r=we.customize.Widgets.data.availableWidgets.find(e=>e.id_base===c))||void 0===r?void 0:r.is_wide)&&void 0!==n&&n;return Object(i.createElement)(e,Object(w.a)({},t,{isWide:s}))},"withWideWidgetDisplay");Object(je.addFilter)("editor.BlockEdit","core/customize-widgets/wide-widget-display",Ee);const{wp:ve}=window,ye=["core/more","core/block","core/freeform","core/template-part"];function ke(e,t){Object(l.dispatch)(d.i).setFeatureDefaults("core/customize-widgets",{fixedToolbar:!1,welcomeGuide:!0}),Object(l.dispatch)(a.store).__experimentalReapplyBlockTypeFilters();const n=Object(s.__experimentalGetCoreBlocks)().filter(e=>!(ye.includes(e.name)||e.name.startsWith("core/post")||e.name.startsWith("core/query")||e.name.startsWith("core/site")||e.name.startsWith("core/navigation")));Object(s.registerCoreBlocks)(n),Object(o.registerLegacyWidgetBlock)(),Object(o.registerLegacyWidgetVariations)(t),Object(o.registerWidgetGroupBlock)(),Object(a.setFreeformContentHandlerName)("core/html");const r=Oe();ve.customize.sectionConstructor.sidebar=be(),ve.customize.controlConstructor.sidebar_block_editor=r;const c=document.createElement("div");document.body.appendChild(c),ve.customize.bind("ready",()=>{const e=[];ve.customize.control.each(t=>{t instanceof r&&e.push(t)}),Object(i.render)(Object(i.createElement)(ue,{api:ve.customize,sidebarControls:e,blockEditorSettings:t}),c)})}},GLVC:function(e,t){e.exports=window.wp.widgets},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},"K+tz":function(e,t,n){"use strict";var r=n("GRId"),c=n("Tqx9");const i=Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.a=i},K2cm:function(e,t,n){"use strict";var r=n("GRId"),c=n("Tqx9");const i=Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"}));t.a=i},K9lf:function(e,t){e.exports=window.wp.compose},KEfo:function(e,t){e.exports=window.wp.viewport},Ntru:function(e,t,n){"use strict";var r=n("GRId"),c=n("Tqx9");const i=Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"}));t.a=i},Q4Sy:function(e,t,n){"use strict";var r=n("GRId"),c=n("Tqx9");const i=Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=i},QyPg:function(e,t){e.exports=window.wp.blockLibrary},RMJe:function(e,t,n){"use strict";var r=n("GRId"),c=n("Tqx9");const i=Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.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=i},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,n){var r;
+!function(){var e={4403:function(e,t){var n;
 /*!
   Copyright (c) 2018 Jed Watson.
   Licensed under the MIT License (MIT), see
   http://jedwatson.github.io/classnames
-*/!function(){"use strict";var n={}.hasOwnProperty;function c(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var s=c.apply(null,r);s&&e.push(s)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var o in r)n.call(r,o)&&r[o]&&e.push(o);else e.push(r.toString())}}return e.join(" ")}e.exports?(c.default=c,e.exports=c):void 0===(r=function(){return c}.apply(t,[]))||(e.exports=r)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},TvNi:function(e,t){e.exports=window.wp.plugins},U60i:function(e,t,n){"use strict";n.d(t,"b",(function(){return K})),n.d(t,"c",(function(){return D})),n.d(t,"d",(function(){return $})),n.d(t,"e",(function(){return Y})),n.d(t,"h",(function(){return V})),n.d(t,"f",(function(){return Z})),n.d(t,"g",(function(){return ee})),n.d(t,"a",(function(){return R})),n.d(t,"i",(function(){return W}));var r={};n.r(r),n.d(r,"enableComplementaryArea",(function(){return v})),n.d(r,"disableComplementaryArea",(function(){return y})),n.d(r,"pinItem",(function(){return C})),n.d(r,"unpinItem",(function(){return x})),n.d(r,"toggleFeature",(function(){return S})),n.d(r,"setFeatureValue",(function(){return I})),n.d(r,"setFeatureDefaults",(function(){return z}));var c={};n.r(c),n.d(c,"getActiveComplementaryArea",(function(){return T})),n.d(c,"isItemPinned",(function(){return B})),n.d(c,"isFeatureActive",(function(){return N}));var i=n("wx14"),s=n("GRId"),o=n("TSYQ"),a=n.n(o),l=n("tI+e"),d=n("1ZqX"),u=n("l3Sj"),b=n("RMJe"),m=n("URob"),p=n("Xxwi"),h=n("KEfo"),g=n("bWcr"),f=n("YLtl");const O=Object(d.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:r}=t;return{...e,[n]:{...e[n],...r}}}return e}}),j=Object(d.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:r,value:c}=t;return{...e,[n]:{...e[n],[r]:c}}}return e}}),_=Object(d.combineReducers)({singleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:r,item:c}=arguments.length>1?arguments[1]:void 0;return"SET_SINGLE_ENABLE_ITEM"===t&&n&&r?{...e,[n]:{...e[n],[r]:c||null}}:e},multipleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:r,item:c,isEnable:i}=arguments.length>1?arguments[1]:void 0;if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!r||!c||Object(f.get)(e,[n,r,c])===i)return e;const s=e[n]||{},o=s[r]||{};return{...e,[n]:{...s,[r]:{...o,[c]:i||!1}}}}});var w=Object(d.combineReducers)({enableItems:_,preferenceDefaults:O,preferences:j});function E(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function v(e,t){return E("complementaryArea",e,t)}function y(e){return E("complementaryArea",e,void 0)}function k(e,t,n,r){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:r}}function C(e,t){return k("pinnedItems",e,t,!0)}function x(e,t){return k("pinnedItems",e,t,!1)}function S(e,t){return function(n){let{select:r,dispatch:c}=n;const i=r.isFeatureActive(e,t);c.setFeatureValue(e,t,!i)}}function I(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function z(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function T(e,t){return function(e,t,n){return Object(f.get)(e.enableItems.singleEnableItems,[t,n])}(e,"complementaryArea",t)}function B(e,t,n){return!1!==function(e,t,n,r){return Object(f.get)(e.enableItems.multipleEnableItems,[t,n,r])}(e,"pinnedItems",t,n)}function N(e,t,n){var r,c;const i=null===(r=e.preferences.features[t])||void 0===r?void 0:r[n];return!!(void 0!==i?i:null===(c=e.preferenceDefaults.features[t])||void 0===c?void 0:c[n])}const W=Object(d.createReduxStore)("core/interface",{reducer:w,actions:r,selectors:c,persist:["enableItems","preferences"],__experimentalUseThunks:!0});Object(d.registerStore)("core/interface",{reducer:w,actions:r,selectors:c,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var A=n("TvNi"),F=Object(A.withPluginContext)((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`}));var M=F((function(e){let{as:t=l.Button,scope:n,identifier:r,icon:c,selectedIcon:o,...a}=e;const u=t,b=Object(d.useSelect)(e=>e(W).getActiveComplementaryArea(n)===r,[r]),{enableComplementaryArea:m,disableComplementaryArea:p}=Object(d.useDispatch)(W);return Object(s.createElement)(u,Object(i.a)({icon:o&&b?o:c,onClick:()=>{b?p(n):m(n,r)}},Object(f.omit)(a,["name"])))}));var P=e=>{let{smallScreenTitle:t,children:n,className:r,toggleButtonProps:c}=e;const o=Object(s.createElement)(M,Object(i.a)({icon:g.a},c));return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&Object(s.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),o),Object(s.createElement)("div",{className:a()("components-panel__header","interface-complementary-area-header",r),tabIndex:-1},n,o))};function L(e){let{name:t,as:n=l.Button,onClick:r,...c}=e;return Object(s.createElement)(l.Fill,{name:t},e=>{let{onClick:t}=e;return Object(s.createElement)(n,Object(i.a)({onClick:r||t?function(){(r||f.noop)(...arguments),(t||f.noop)(...arguments)}:void 0},c))})}L.Slot=function(e){let{name:t,as:n=l.ButtonGroup,fillProps:r={},bubblesVirtually:c,...i}=e;return Object(s.createElement)(l.Slot,{name:t,bubblesVirtually:c,fillProps:r},e=>{if(Object(f.isEmpty)(s.Children.toArray(e)))return null;const t=[];s.Children.forEach(e,e=>{let{props:{__unstableExplicitMenuItem:n,__unstableTarget:r}}=e;r&&n&&t.push(r)});const r=s.Children.map(e,e=>!e.props.__unstableExplicitMenuItem&&t.includes(e.props.__unstableTarget)?null:e);return Object(s.createElement)(n,i,r)})};var R=L;const G=e=>Object(s.createElement)(l.MenuItem,Object(f.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function D(e){let{scope:t,target:n,__unstableExplicitMenuItem:r,...c}=e;return Object(s.createElement)(M,Object(i.a)({as:e=>Object(s.createElement)(R,Object(i.a)({__unstableExplicitMenuItem:r,__unstableTarget:`${t}/${n}`,as:G,name:t+"/plugin-more-menu"},e)),role:"menuitemcheckbox",selectedIcon:b.a,name:n,scope:t},c))}function U(e){let{scope:t,...n}=e;return Object(s.createElement)(l.Fill,Object(i.a)({name:"PinnedItems/"+t},n))}U.Slot=function(e){let{scope:t,className:n,...r}=e;return Object(s.createElement)(l.Slot,Object(i.a)({name:"PinnedItems/"+t},r),e=>!Object(f.isEmpty)(e)&&Object(s.createElement)("div",{className:a()(n,"interface-pinned-items")},e))};var V=U;function H(e){let{scope:t,children:n,className:r}=e;return Object(s.createElement)(l.Fill,{name:"ComplementaryArea/"+t},Object(s.createElement)("div",{className:r},n))}const q=F((function(e){let{children:t,className:n,closeLabel:r=Object(u.__)("Close plugin"),identifier:c,header:i,headerClassName:o,icon:g,isPinnable:f=!0,panelClassName:O,scope:j,name:_,smallScreenTitle:w,title:E,toggleShortcut:v,isActiveByDefault:y,showIconLabels:k=!1}=e;const{isActive:C,isPinned:x,activeArea:S,isSmall:I,isLarge:z}=Object(d.useSelect)(e=>{const{getActiveComplementaryArea:t,isItemPinned:n}=e(W),r=t(j);return{isActive:r===c,isPinned:n(j,c),activeArea:r,isSmall:e(h.store).isViewportMatch("< medium"),isLarge:e(h.store).isViewportMatch("large")}},[c,j]);!function(e,t,n,r,c){const i=Object(s.useRef)(!1),o=Object(s.useRef)(!1),{enableComplementaryArea:a,disableComplementaryArea:l}=Object(d.useDispatch)(W);Object(s.useEffect)(()=>{r&&c&&!i.current?(l(e),o.current=!0):o.current&&!c&&i.current?(o.current=!1,a(e,t)):o.current&&n&&n!==t&&(o.current=!1),c!==i.current&&(i.current=c)},[r,c,e,t,n])}(j,c,S,C,I);const{enableComplementaryArea:T,disableComplementaryArea:B,pinItem:N,unpinItem:A}=Object(d.useDispatch)(W);return Object(s.useEffect)(()=>{y&&void 0===S&&!I&&T(j,c)},[S,y,j,c,I]),Object(s.createElement)(s.Fragment,null,f&&Object(s.createElement)(V,{scope:j},x&&Object(s.createElement)(M,{scope:j,identifier:c,isPressed:C&&(!k||z),"aria-expanded":C,label:E,icon:k?b.a:g,showTooltip:!k,variant:k?"tertiary":void 0})),_&&f&&Object(s.createElement)(D,{target:_,scope:j,icon:g},E),C&&Object(s.createElement)(H,{className:a()("interface-complementary-area",n),scope:j},Object(s.createElement)(P,{className:o,closeLabel:r,onClose:()=>B(j),smallScreenTitle:w,toggleButtonProps:{label:r,shortcut:v,scope:j,identifier:c}},i||Object(s.createElement)(s.Fragment,null,Object(s.createElement)("strong",null,E),f&&Object(s.createElement)(l.Button,{className:"interface-complementary-area__pin-unpin-item",icon:x?m.a:p.a,label:x?Object(u.__)("Unpin from toolbar"):Object(u.__)("Pin to toolbar"),onClick:()=>(x?A:N)(j,c),isPressed:x,"aria-expanded":x}))),Object(s.createElement)(l.Panel,{className:O},t)))}));q.Slot=function(e){let{scope:t,...n}=e;return Object(s.createElement)(l.Slot,Object(i.a)({name:"ComplementaryArea/"+t},n))};var K=q;var $=e=>{let{isActive:t}=e;return Object(s.useEffect)(()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}},[]),Object(s.useEffect)(()=>(t?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{t&&document.body.classList.remove("is-fullscreen-mode")}),[t]),null},Q=n("K9lf");var Y=Object(s.forwardRef)((function(e,t){let{footer:n,header:r,sidebar:c,secondarySidebar:o,notices:d,content:b,drawer:m,actions:p,labels:h,className:g,shortcuts:f}=e;const O=Object(l.__unstableUseNavigateRegions)(f);!function(e){Object(s.useEffect)(()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}},[e])}("interface-interface-skeleton__html-container");const j={...{drawer:Object(u.__)("Drawer"),header:Object(u.__)("Header"),body:Object(u.__)("Content"),secondarySidebar:Object(u.__)("Block Library"),sidebar:Object(u.__)("Settings"),actions:Object(u.__)("Publish"),footer:Object(u.__)("Footer")},...h};return Object(s.createElement)("div",Object(i.a)({},O,{ref:Object(Q.useMergeRefs)([t,O.ref]),className:a()(g,"interface-interface-skeleton",O.className,!!n&&"has-footer")}),!!m&&Object(s.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":j.drawer,tabIndex:"-1"},m),Object(s.createElement)("div",{className:"interface-interface-skeleton__editor"},!!r&&Object(s.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":j.header,tabIndex:"-1"},r),Object(s.createElement)("div",{className:"interface-interface-skeleton__body"},!!o&&Object(s.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":j.secondarySidebar,tabIndex:"-1"},o),!!d&&Object(s.createElement)("div",{className:"interface-interface-skeleton__notices"},d),Object(s.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":j.body,tabIndex:"-1"},b),!!c&&Object(s.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":j.sidebar,tabIndex:"-1"},c),!!p&&Object(s.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":j.actions,tabIndex:"-1"},p))),!!n&&Object(s.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":j.footer,tabIndex:"-1"},n))})),X=n("VKE3");function Z(e){let{as:t=l.DropdownMenu,className:n,label:r=Object(u.__)("Options"),popoverProps:c,toggleProps:i,children:o}=e;return Object(s.createElement)(t,{className:a()("interface-more-menu-dropdown",n),icon:X.a,label:r,popoverProps:{position:"bottom left",...c,className:a()("interface-more-menu-dropdown__content",null==c?void 0:c.className)},toggleProps:{tooltipPosition:"bottom",...i}},e=>o(e))}var J=n("gdqT");function ee(e){let{scope:t,label:n,info:r,messageActivated:c,messageDeactivated:i,shortcut:o,feature:a}=e;const m=Object(d.useSelect)(e=>e(W).isFeatureActive(t,a),[a]),{toggleFeature:p}=Object(d.useDispatch)(W);return Object(s.createElement)(l.MenuItem,{icon:m&&b.a,isSelected:m,onClick:()=>{p(t,a),m?Object(J.speak)(i||Object(u.__)("Feature deactivated")):Object(J.speak)(c||Object(u.__)("Feature activated"))},role:"menuitemcheckbox",info:r,shortcut:o},n)}},URob:function(e,t,n){"use strict";var r=n("GRId"),c=n("Tqx9");const i=Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.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=i},VKE3:function(e,t,n){"use strict";var r=n("GRId"),c=n("Tqx9");const i=Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=i},Xxwi:function(e,t,n){"use strict";var r=n("GRId"),c=n("Tqx9");const i=Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.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=i},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},bWcr:function(e,t,n){"use strict";var r=n("GRId"),c=n("Tqx9");const i=Object(r.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(c.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=i},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},jZUy:function(e,t){e.exports=window.wp.coreData},l3Sj:function(e,t){e.exports=window.wp.i18n},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},"tI+e":function(e,t){e.exports=window.wp.components},wx14:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))}});
\ No newline at end of file
+*/!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=s.apply(null,n);o&&e.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var a in n)r.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(n=function(){return s}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r),n.d(r,{initialize:function(){return Qe}});var e={};n.r(e),n.d(e,{disableComplementaryArea:function(){return x},enableComplementaryArea:function(){return I},pinItem:function(){return W},setFeatureDefaults:function(){return N},setFeatureValue:function(){return A},toggleFeature:function(){return T},unpinItem:function(){return B}});var t={};n.r(t),n.d(t,{getActiveComplementaryArea:function(){return F},isFeatureActive:function(){return P},isItemPinned:function(){return M}});var s={};n.r(s),n.d(s,{__experimentalGetInsertionPoint:function(){return ne},isInserterOpened:function(){return te}});var i={};n.r(i),n.d(i,{setIsInserterOpened:function(){return re}});var o=window.wp.element,a=window.wp.blockLibrary,c=window.wp.widgets,l=window.wp.blocks,d=window.wp.data,u=n(4403),m=n.n(u),h=window.wp.components,p=window.wp.i18n,g=window.wp.primitives;var b=(0,o.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(g.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));function w(e){let{as:t=h.DropdownMenu,className:n,label:r=(0,p.__)("Options"),popoverProps:s,toggleProps:i,children:a}=e;return(0,o.createElement)(t,{className:m()("interface-more-menu-dropdown",n),icon:b,label:r,popoverProps:{position:"bottom left",...s,className:m()("interface-more-menu-dropdown__content",null==s?void 0:s.className)},toggleProps:{tooltipPosition:"bottom",...i}},(e=>a(e)))}var f=(0,o.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(g.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),_=window.wp.a11y,v=window.lodash;const E=(0,d.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:r}=t;return{...e,[n]:{...e[n],...r}}}return e}}),y=(0,d.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:r,value:s}=t;return{...e,[n]:{...e[n],[r]:s}}}return e}}),k=(0,d.combineReducers)({singleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:r,item:s}=arguments.length>1?arguments[1]:void 0;return"SET_SINGLE_ENABLE_ITEM"===t&&n&&r?{...e,[n]:{...e[n],[r]:s||null}}:e},multipleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:r,item:s,isEnable:i}=arguments.length>1?arguments[1]:void 0;if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!r||!s||(0,v.get)(e,[n,r,s])===i)return e;const o=e[n]||{},a=o[r]||{};return{...e,[n]:{...o,[r]:{...a,[s]:i||!1}}}}});var C=(0,d.combineReducers)({enableItems:k,preferenceDefaults:E,preferences:y});function S(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function I(e,t){return S("complementaryArea",e,t)}function x(e){return S("complementaryArea",e,void 0)}function z(e,t,n,r){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:r}}function W(e,t){return z("pinnedItems",e,t,!0)}function B(e,t){return z("pinnedItems",e,t,!1)}function T(e,t){return function(n){let{select:r,dispatch:s}=n;const i=r.isFeatureActive(e,t);s.setFeatureValue(e,t,!i)}}function A(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function N(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function F(e,t){return function(e,t,n){return(0,v.get)(e.enableItems.singleEnableItems,[t,n])}(e,"complementaryArea",t)}function M(e,t,n){return!1!==function(e,t,n,r){return(0,v.get)(e.enableItems.multipleEnableItems,[t,n,r])}(e,"pinnedItems",t,n)}function P(e,t,n){var r,s;const i=null===(r=e.preferences.features[t])||void 0===r?void 0:r[n];return!!(void 0!==i?i:null===(s=e.preferenceDefaults.features[t])||void 0===s?void 0:s[n])}const L="core/interface",O=(0,d.createReduxStore)(L,{reducer:C,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});function D(e){let{scope:t,label:n,info:r,messageActivated:s,messageDeactivated:i,shortcut:a,feature:c}=e;const l=(0,d.useSelect)((e=>e(O).isFeatureActive(t,c)),[c]),{toggleFeature:u}=(0,d.useDispatch)(O);return(0,o.createElement)(h.MenuItem,{icon:l&&f,isSelected:l,onClick:()=>{u(t,c),l?(0,_.speak)(i||(0,p.__)("Feature deactivated")):(0,_.speak)(s||(0,p.__)("Feature activated"))},role:"menuitemcheckbox",info:r,shortcut:a},n)}(0,d.registerStore)(L,{reducer:C,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var R=window.wp.keyboardShortcuts,G=window.wp.blockEditor,H=window.wp.compose;function U(e){let{text:t,children:n}=e;const r=(0,H.useCopyToClipboard)(t);return(0,o.createElement)(h.Button,{variant:"secondary",ref:r},n)}class V extends o.Component{constructor(){super(...arguments),this.state={error:null}}componentDidCatch(e){this.setState({error:e})}render(){const{error:e}=this.state;return e?(0,o.createElement)(G.Warning,{className:"customize-widgets-error-boundary",actions:[(0,o.createElement)(U,{key:"copy-error",text:e.stack},(0,p.__)("Copy Error"))]},(0,p.__)("The editor has encountered an unexpected error.")):this.props.children}}var $=window.wp.coreData,j=window.wp.mediaUtils;function q(){return q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}var K=function(e){let{inspector:t,closeMenu:n,...r}=e;const s=(0,d.useSelect)((e=>e(G.store).getSelectedBlockClientId()),[]),i=(0,o.useMemo)((()=>document.getElementById(`block-${s}`)),[s]);return(0,o.createElement)(h.MenuItem,q({onClick:()=>{t.open({returnFocusWhenClose:i}),n()}},r),(0,p.__)("Show more settings"))},Y=window.wp.keycodes;var J=(0,o.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(g.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"}));var Q=(0,o.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(g.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"}));var X=(0,o.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(g.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));var Z=(0,o.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(g.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));var ee=(0,d.combineReducers)({blockInserterPanel:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_IS_INSERTER_OPENED"===t.type?t.value:e}});function te(e){return!!e.blockInserterPanel}function ne(e){const{rootClientId:t,insertionIndex:n}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:n}}function re(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}const se="core/customize-widgets",ie={reducer:ee,selectors:s,actions:i},oe=(0,d.createReduxStore)(se,ie);(0,d.registerStore)(se,ie);var ae=function e(t){let{setIsOpened:n}=t;const r=(0,H.useInstanceId)(e,"customize-widget-layout__inserter-panel-title"),s=(0,d.useSelect)((e=>e(oe).__experimentalGetInsertionPoint()),[]);return(0,o.createElement)("div",{className:"customize-widgets-layout__inserter-panel","aria-labelledby":r},(0,o.createElement)("div",{className:"customize-widgets-layout__inserter-panel-header"},(0,o.createElement)("h2",{id:r,className:"customize-widgets-layout__inserter-panel-header-title"},(0,p.__)("Add a block")),(0,o.createElement)(h.Button,{className:"customize-widgets-layout__inserter-panel-header-close-button",icon:Z,onClick:()=>n(!1),"aria-label":(0,p.__)("Close inserter")})),(0,o.createElement)("div",{className:"customize-widgets-layout__inserter-panel-content"},(0,o.createElement)(G.__experimentalLibrary,{rootClientId:s.rootClientId,__experimentalInsertionIndex:s.insertionIndex,showInserterHelpPanel:!0,onSelect:()=>n(!1)})))};var ce=(0,o.createElement)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(g.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));const le=[{keyCombination:{modifier:"primary",character:"b"},description:(0,p.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:(0,p.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:(0,p.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:(0,p.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:(0,p.__)("Underline the selected text.")}];function de(e){let{keyCombination:t,forceAriaLabel:n}=e;const r=t.modifier?Y.displayShortcutList[t.modifier](t.character):t.character,s=t.modifier?Y.shortcutAriaLabel[t.modifier](t.character):t.character;return(0,o.createElement)("kbd",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":n||s},(0,v.castArray)(r).map(((e,t)=>"+"===e?(0,o.createElement)(o.Fragment,{key:t},e):(0,o.createElement)("kbd",{key:t,className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-key"},e))))}var ue=function(e){let{description:t,keyCombination:n,aliases:r=[],ariaLabel:s}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-description"},t),(0,o.createElement)("div",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-term"},(0,o.createElement)(de,{keyCombination:n,forceAriaLabel:s}),r.map(((e,t)=>(0,o.createElement)(de,{keyCombination:e,forceAriaLabel:s,key:t})))))};var me=function(e){let{name:t}=e;const{keyCombination:n,description:r,aliases:s}=(0,d.useSelect)((e=>{const{getShortcutKeyCombination:n,getShortcutDescription:r,getShortcutAliases:s}=e(R.store);return{keyCombination:n(t),aliases:s(t),description:r(t)}}),[t]);return n?(0,o.createElement)(ue,{keyCombination:n,description:r,aliases:s}):null};const he=e=>{let{shortcuts:t}=e;return(0,o.createElement)("ul",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut-list",role:"list"},t.map(((e,t)=>(0,o.createElement)("li",{className:"customize-widgets-keyboard-shortcut-help-modal__shortcut",key:t},(0,v.isString)(e)?(0,o.createElement)(me,{name:e}):(0,o.createElement)(ue,e)))))},pe=e=>{let{title:t,shortcuts:n,className:r}=e;return(0,o.createElement)("section",{className:m()("customize-widgets-keyboard-shortcut-help-modal__section",r)},!!t&&(0,o.createElement)("h2",{className:"customize-widgets-keyboard-shortcut-help-modal__section-title"},t),(0,o.createElement)(he,{shortcuts:n}))},ge=e=>{let{title:t,categoryName:n,additionalShortcuts:r=[]}=e;const s=(0,d.useSelect)((e=>e(R.store).getCategoryShortcuts(n)),[n]);return(0,o.createElement)(pe,{title:t,shortcuts:s.concat(r)})};function be(e){let{isModalActive:t,toggleModal:n}=e;const{registerShortcut:r}=(0,d.useDispatch)(R.store);return r({name:"core/customize-widgets/keyboard-shortcuts",category:"main",description:(0,p.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}}),(0,R.useShortcut)("core/customize-widgets/keyboard-shortcuts",n),t?(0,o.createElement)(h.Modal,{className:"customize-widgets-keyboard-shortcut-help-modal",title:(0,p.__)("Keyboard shortcuts"),closeLabel:(0,p.__)("Close"),onRequestClose:n},(0,o.createElement)(pe,{className:"customize-widgets-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/customize-widgets/keyboard-shortcuts"]}),(0,o.createElement)(ge,{title:(0,p.__)("Global shortcuts"),categoryName:"global"}),(0,o.createElement)(ge,{title:(0,p.__)("Selection shortcuts"),categoryName:"selection"}),(0,o.createElement)(ge,{title:(0,p.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:(0,p.__)("Change the block type after adding a new paragraph."),ariaLabel:(0,p.__)("Forward-slash")}]}),(0,o.createElement)(pe,{title:(0,p.__)("Text formatting"),shortcuts:le})):null}const we={className:"customize-widgets-more-menu__content"};function fe(){const[e,t]=(0,o.useState)(!1),n=()=>t(!e);return(0,R.useShortcut)("core/customize-widgets/keyboard-shortcuts",n),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(w,{as:h.ToolbarDropdownMenu,className:"customize-widgets-more-menu",popoverProps:we},(()=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(h.MenuGroup,{label:(0,p._x)("View","noun")},(0,o.createElement)(D,{scope:"core/customize-widgets",feature:"fixedToolbar",label:(0,p.__)("Top toolbar"),info:(0,p.__)("Access all block and document tools in a single place"),messageActivated:(0,p.__)("Top toolbar activated"),messageDeactivated:(0,p.__)("Top toolbar deactivated")})),(0,o.createElement)(h.MenuGroup,{label:(0,p.__)("Tools")},(0,o.createElement)(h.MenuItem,{onClick:()=>{t(!0)},shortcut:Y.displayShortcut.access("h")},(0,p.__)("Keyboard shortcuts")),(0,o.createElement)(D,{scope:"core/customize-widgets",feature:"welcomeGuide",label:(0,p.__)("Welcome Guide")}),(0,o.createElement)(h.MenuItem,{role:"menuitem",icon:ce,href:(0,p.__)("https://wordpress.org/support/article/block-based-widgets-editor/"),target:"_blank",rel:"noopener noreferrer"},(0,p.__)("Help"),(0,o.createElement)(h.VisuallyHidden,{as:"span"},(0,p.__)("(opens in a new tab)")))),(0,o.createElement)(h.MenuGroup,{label:(0,p.__)("Preferences")},(0,o.createElement)(D,{scope:"core/customize-widgets",feature:"keepCaretInsideBlock",label:(0,p.__)("Contain text cursor inside block"),info:(0,p.__)("Aids screen readers by stopping text caret from leaving blocks."),messageActivated:(0,p.__)("Contain text cursor inside block activated"),messageDeactivated:(0,p.__)("Contain text cursor inside block deactivated")}))))),(0,o.createElement)(be,{isModalActive:e,toggleModal:n}))}var _e=function(e){let{sidebar:t,inserter:n,isInserterOpened:r,setIsInserterOpened:s,isFixedToolbarActive:i}=e;const[[a,c],l]=(0,o.useState)([t.hasUndo(),t.hasRedo()]);return(0,o.useEffect)((()=>t.subscribeHistory((()=>{l([t.hasUndo(),t.hasRedo()])}))),[t]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:m()("customize-widgets-header",{"is-fixed-toolbar-active":i})},(0,o.createElement)(G.NavigableToolbar,{className:"customize-widgets-header-toolbar","aria-label":(0,p.__)("Document tools")},(0,o.createElement)(h.ToolbarButton,{icon:(0,p.isRTL)()?Q:J,label:(0,p.__)("Undo"),shortcut:Y.displayShortcut.primary("z"),"aria-disabled":!a,onClick:t.undo,className:"customize-widgets-editor-history-button undo-button"}),(0,o.createElement)(h.ToolbarButton,{icon:(0,p.isRTL)()?J:Q,label:(0,p.__)("Redo"),shortcut:Y.displayShortcut.primaryShift("z"),"aria-disabled":!c,onClick:t.redo,className:"customize-widgets-editor-history-button redo-button"}),(0,o.createElement)(h.ToolbarButton,{className:"customize-widgets-header-toolbar__inserter-toggle",isPressed:r,variant:"primary",icon:X,label:(0,p._x)("Add block","Generic label for block inserter button"),onClick:()=>{s((e=>!e))}}),(0,o.createElement)(fe,null))),(0,o.createPortal)((0,o.createElement)(ae,{setIsOpened:s}),n.contentContainer[0]))};var ve=window.wp.isShallowEqual,Ee=n.n(ve);function ye(e){const t=e.match(/^widget_(.+)(?:\[(\d+)\])$/);if(t){return`${t[1]}-${parseInt(t[2],10)}`}return e}function ke(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r="core/legacy-widget"===e.name&&(e.attributes.id||e.attributes.instance);if(r)if(e.attributes.id)t={id:e.attributes.id};else{const{encoded:r,hash:s,raw:i,...o}=e.attributes.instance;t={idBase:e.attributes.idBase,instance:{...null==n?void 0:n.instance,is_widget_customizer_js_value:!0,encoded_serialized_instance:r,instance_hash_key:s,raw_instance:i,...o}}}else{t={idBase:"block",widgetClass:"WP_Widget_Block",instance:{raw_instance:{content:(0,l.serialize)(e)}}}}return{...(0,v.omit)(n,["form","rendered"]),...t}}function Ce(e){let t,{id:n,idBase:r,number:s,instance:i}=e;const{encoded_serialized_instance:o,instance_hash_key:a,raw_instance:d,...u}=i;if("block"===r){const e=(0,l.parse)(d.content);t=e.length?e[0]:(0,l.createBlock)("core/paragraph",{})}else t=s?(0,l.createBlock)("core/legacy-widget",{idBase:r,instance:{encoded:o,hash:a,raw:d,...u}}):(0,l.createBlock)("core/legacy-widget",{id:n});return(0,c.addWidgetIdToBlock)(t,n)}function Se(e){const[t,n]=(0,o.useState)((()=>e.getWidgets().map((e=>Ce(e)))));(0,o.useEffect)((()=>e.subscribe(((e,t)=>{n((n=>{const r=new Map(e.map((e=>[e.id,e]))),s=new Map(n.map((e=>[(0,c.getWidgetIdFromBlock)(e),e]))),i=t.map((e=>{const t=r.get(e.id);return t&&t===e?s.get(e.id):Ce(e)}));return Ee()(n,i)?n:i}))}))),[e]);const r=(0,o.useCallback)((t=>{n((n=>{if(Ee()(n,t))return n;const r=new Map(n.map((e=>[(0,c.getWidgetIdFromBlock)(e),e]))),s=t.map((t=>{const n=(0,c.getWidgetIdFromBlock)(t);if(n&&r.has(n)){const s=r.get(n),i=e.getWidget(n);return(0,v.isEqual)(t,s)&&i?i:ke(t,i)}return ke(t)}));if(Ee()(e.getWidgets(),s))return n;const i=e.setWidgets(s);return t.reduce(((e,n,r)=>{const s=i[r];return null!==s&&(e===t&&(e=t.slice()),e[r]=(0,c.addWidgetIdToBlock)(n,s)),e}),t)}))}),[e]);return[t,r,r]}const Ie=(0,o.createContext)();function xe(e){let{api:t,sidebarControls:n,children:r}=e;const[s,i]=(0,o.useState)({current:null}),a=(0,o.useCallback)((e=>{for(const t of n){if(t.setting.get().includes(e)){t.sectionInstance.expand({completeCallback(){i({current:e})}});break}}}),[n]);(0,o.useEffect)((()=>{function e(e){const t=ye(e);a(t)}function n(){t.previewer.preview.bind("focus-control-for-setting",e)}return t.previewer.bind("ready",n),()=>{t.previewer.unbind("ready",n),t.previewer.preview.unbind("focus-control-for-setting",e)}}),[t,a]);const c=(0,o.useMemo)((()=>[s,a]),[s,a]);return(0,o.createElement)(Ie.Provider,{value:c},r)}const ze=()=>(0,o.useContext)(Ie);function We(e){let{sidebar:t,settings:n,children:r}=e;const[s,i,a]=Se(t);return function(e){const{selectBlock:t}=(0,d.useDispatch)(G.store),[n]=ze(),r=(0,o.useRef)(e);(0,o.useEffect)((()=>{r.current=e}),[e]),(0,o.useEffect)((()=>{if(n.current){const e=r.current.find((e=>(0,c.getWidgetIdFromBlock)(e)===n.current));if(e){t(e.clientId);const n=document.querySelector(`[data-block="${e.clientId}"]`);null==n||n.focus()}}}),[n,t])}(s),(0,o.createElement)(G.BlockEditorProvider,{value:s,onInput:i,onChange:a,settings:n,useSubRegistry:!1},r)}function Be(e){let{sidebar:t}=e;const{toggleFeature:n}=(0,d.useDispatch)(O),r=t.getWidgets().every((e=>e.id.startsWith("block-")));return(0,o.createElement)("div",{className:"customize-widgets-welcome-guide"},(0,o.createElement)("div",{className:"customize-widgets-welcome-guide__image__wrapper"},(0,o.createElement)("picture",null,(0,o.createElement)("source",{srcSet:"https://s.w.org/images/block-editor/welcome-editor.svg",media:"(prefers-reduced-motion: reduce)"}),(0,o.createElement)("img",{className:"customize-widgets-welcome-guide__image",src:"https://s.w.org/images/block-editor/welcome-editor.gif",width:"312",height:"240",alt:""}))),(0,o.createElement)("h1",{className:"customize-widgets-welcome-guide__heading"},(0,p.__)("Welcome to block Widgets")),(0,o.createElement)("p",{className:"customize-widgets-welcome-guide__text"},r?(0,p.__)("Your theme provides different “block” areas for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site."):(0,p.__)("You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.")),(0,o.createElement)(h.Button,{className:"customize-widgets-welcome-guide__button",variant:"primary",onClick:()=>n("core/customize-widgets","welcomeGuide")},(0,p.__)("Got it")),(0,o.createElement)("hr",{className:"customize-widgets-welcome-guide__separator"}),!r&&(0,o.createElement)("p",{className:"customize-widgets-welcome-guide__more-info"},(0,p.__)("Want to stick with the old widgets?"),(0,o.createElement)("br",null),(0,o.createElement)(h.ExternalLink,{href:(0,p.__)("https://wordpress.org/plugins/classic-widgets/")},(0,p.__)("Get the Classic Widgets plugin."))),(0,o.createElement)("p",{className:"customize-widgets-welcome-guide__more-info"},(0,p.__)("New to the block editor?"),(0,o.createElement)("br",null),(0,o.createElement)(h.ExternalLink,{href:(0,p.__)("https://wordpress.org/support/article/wordpress-editor/")},(0,p.__)("Here's a detailed guide."))))}function Te(e){let{undo:t,redo:n,save:r}=e;return(0,R.useShortcut)("core/customize-widgets/undo",(e=>{t(),e.preventDefault()})),(0,R.useShortcut)("core/customize-widgets/redo",(e=>{n(),e.preventDefault()})),(0,R.useShortcut)("core/customize-widgets/save",(e=>{e.preventDefault(),r()})),null}Te.Register=function(){const{registerShortcut:e,unregisterShortcut:t}=(0,d.useDispatch)(R.store);return(0,o.useEffect)((()=>(e({name:"core/customize-widgets/undo",category:"global",description:(0,p.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/customize-widgets/redo",category:"global",description:(0,p.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/customize-widgets/save",category:"global",description:(0,p.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),()=>{t("core/customize-widgets/undo"),t("core/customize-widgets/redo"),t("core/customize-widgets/save")})),[e]),null};var Ae=Te;function Ne(e){const t=(0,o.useRef)(),n=(0,d.useSelect)((e=>0===e(G.store).getBlockCount()));return(0,o.useEffect)((()=>{if(n&&t.current){const{ownerDocument:e}=t.current;e.activeElement&&e.activeElement!==e.body||t.current.focus()}}),[n]),(0,o.createElement)(G.ButtonBlockAppender,q({},e,{ref:t}))}function Fe(e){let{blockEditorSettings:t,sidebar:n,inserter:r,inspector:s}=e;const[i,a]=function(e){const t=(0,d.useSelect)((e=>e(oe).isInserterOpened()),[]),{setIsInserterOpened:n}=(0,d.useDispatch)(oe);return(0,o.useEffect)((()=>{t?e.open():e.close()}),[e,t]),[t,(0,o.useCallback)((e=>{let t=e;"function"==typeof e&&(t=e((0,d.select)(oe).isInserterOpened())),n(t)}),[n])]}(r),{hasUploadPermissions:c,isFixedToolbarActive:l,keepCaretInsideBlock:u,isWelcomeGuideActive:m}=(0,d.useSelect)((e=>{const{isFeatureActive:t}=e(O);return{hasUploadPermissions:(0,v.defaultTo)(e($.store).canUser("create","media"),!0),isFixedToolbarActive:t("core/customize-widgets","fixedToolbar"),keepCaretInsideBlock:t("core/customize-widgets","keepCaretInsideBlock"),isWelcomeGuideActive:t("core/customize-widgets","welcomeGuide")}}),[]),h=(0,o.useMemo)((()=>{let e;return c&&(e=e=>{let{onError:n,...r}=e;(0,j.uploadMedia)({wpAllowedMimeTypes:t.allowedMimeTypes,onError:e=>{let{message:t}=e;return n(t)},...r})}),{...t,__experimentalSetIsInserterOpened:a,mediaUpload:e,hasFixedToolbar:l,keepCaretInsideBlock:u,__unstableHasCustomAppender:!0}}),[c,t,l,u,a]);return m?(0,o.createElement)(Be,{sidebar:n}):(0,o.createElement)(o.Fragment,null,(0,o.createElement)(G.BlockEditorKeyboardShortcuts.Register,null),(0,o.createElement)(Ae.Register,null),(0,o.createElement)(We,{sidebar:n,settings:h},(0,o.createElement)(Ae,{undo:n.undo,redo:n.redo,save:n.save}),(0,o.createElement)(_e,{sidebar:n,inserter:r,isInserterOpened:i,setIsInserterOpened:a,isFixedToolbarActive:l}),(0,o.createElement)(G.CopyHandler,null,(0,o.createElement)(G.BlockTools,null,(0,o.createElement)(G.__unstableEditorStyles,{styles:h.defaultEditorStyles}),(0,o.createElement)(G.BlockSelectionClearer,null,(0,o.createElement)(G.WritingFlow,{className:"editor-styles-wrapper"},(0,o.createElement)(G.ObserveTyping,null,(0,o.createElement)(G.BlockList,{renderAppender:Ne})))))),(0,o.createPortal)((0,o.createElement)("form",{onSubmit:e=>e.preventDefault()},(0,o.createElement)(G.BlockInspector,null)),s.contentContainer[0])),(0,o.createElement)(G.__unstableBlockSettingsMenuFirstItem,null,(e=>{let{onClose:t}=e;return(0,o.createElement)(K,{inspector:s,closeMenu:t})})))}const Me=(0,o.createContext)();function Pe(e){let{sidebarControls:t,activeSidebarControl:n,children:r}=e;const s=(0,o.useMemo)((()=>({sidebarControls:t,activeSidebarControl:n})),[t,n]);return(0,o.createElement)(Me.Provider,{value:s},r)}function Le(e){let{api:t,sidebarControls:n,blockEditorSettings:r}=e;const[s,i]=(0,o.useState)(null),a=document.getElementById("customize-theme-controls"),c=(0,o.useRef)();!function(e,t){const{hasSelectedBlock:n,hasMultiSelection:r}=(0,d.useSelect)(G.store),{clearSelectedBlock:s}=(0,d.useDispatch)(G.store);(0,o.useEffect)((()=>{if(t.current&&e){const i=e.inspector,o=e.container[0],a=o.ownerDocument,c=a.defaultView;function l(e){!n()&&!r()||!e||!a.contains(e)||o.contains(e)||t.current.contains(e)||e.closest('[role="dialog"]')||i.expanded()||s()}function d(e){l(e.target)}function u(){l(a.activeElement)}return a.addEventListener("mousedown",d),c.addEventListener("blur",u),()=>{a.removeEventListener("mousedown",d),c.removeEventListener("blur",u)}}}),[t,e,n,r,s])}(s,c),(0,o.useEffect)((()=>{const e=n.map((e=>e.subscribe((t=>{t&&i(e)}))));return()=>{e.forEach((e=>e()))}}),[n]);const l=s&&(0,o.createPortal)((0,o.createElement)(V,null,(0,o.createElement)(Fe,{key:s.id,blockEditorSettings:r,sidebar:s.sidebarAdapter,inserter:s.inserter,inspector:s.inspector})),s.container[0]),u=a&&(0,o.createPortal)((0,o.createElement)("div",{className:"customize-widgets-popover",ref:c},(0,o.createElement)(h.Popover.Slot,null)),a);return(0,o.createElement)(R.ShortcutProvider,null,(0,o.createElement)(h.SlotFillProvider,null,(0,o.createElement)(Pe,{sidebarControls:n,activeSidebarControl:s},(0,o.createElement)(xe,{api:t,sidebarControls:n},l,u))))}function Oe(){const{wp:{customize:e}}=window;return class extends e.Section{ready(){const t=function(){const{wp:{customize:e}}=window;return class extends e.Section{constructor(e,t){super(e,t),this.parentSection=t.parentSection,this.returnFocusWhenClose=null,this._isOpen=!1}get isOpen(){return this._isOpen}set isOpen(e){this._isOpen=e,this.triggerActiveCallbacks()}ready(){this.contentContainer[0].classList.add("customize-widgets-layout__inspector")}isContextuallyActive(){return this.isOpen}onChangeExpanded(e,t){super.onChangeExpanded(e,t),this.parentSection&&!t.unchanged&&(e?this.parentSection.collapse({manualTransition:!0}):this.parentSection.expand({manualTransition:!0,completeCallback:()=>{this.returnFocusWhenClose&&!this.contentContainer[0].contains(this.returnFocusWhenClose)&&this.returnFocusWhenClose.focus()}}))}open(){let{returnFocusWhenClose:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.isOpen=!0,this.returnFocusWhenClose=e,this.expand({allowMultiple:!0})}close(){this.collapse({allowMultiple:!0})}collapse(e){this.isOpen=!1,super.collapse(e)}triggerActiveCallbacks(){this.active.callbacks.fireWith(this.active,[!1,!0])}}}();this.inspector=new t(`widgets-inspector-${this.id}`,{title:(0,p.__)("Block Settings"),parentSection:this,customizeAction:[(0,p.__)("Customizing"),(0,p.__)("Widgets"),this.params.title].join(" ▸ ")}),e.section.add(this.inspector),this.contentContainer[0].classList.add("customize-widgets__sidebar-section")}hasSubSectionOpened(){return this.inspector.expanded()}onChangeExpanded(e,t){const n=this.controls(),r={...t,completeCallback(){var s;n.forEach((t=>{var n;null===(n=t.onChangeSectionExpanded)||void 0===n||n.call(t,e,r)})),null===(s=t.completeCallback)||void 0===s||s.call(t)}};r.manualTransition?e?(this.contentContainer.addClass(["busy","open"]),this.contentContainer.removeClass("is-sub-section-open"),this.contentContainer.closest(".wp-full-overlay").addClass("section-open"),this.contentContainer.one("transitionend",(()=>{this.contentContainer.removeClass("busy"),r.completeCallback()}))):(this.contentContainer.addClass(["busy","is-sub-section-open"]),this.contentContainer.closest(".wp-full-overlay").addClass("section-open"),this.contentContainer.removeClass("open"),this.contentContainer.one("transitionend",(()=>{this.contentContainer.removeClass("busy"),r.completeCallback()}))):super.onChangeExpanded(e,r)}}}const{wp:De}=window;function Re(e){const t=e.match(/^(.+)-(\d+)$/);return t?{idBase:t[1],number:parseInt(t[2],10)}:{idBase:e}}function Ge(e){const{idBase:t,number:n}=Re(e);return n?`widget_${t}[${n}]`:`widget_${t}`}class He{constructor(e,t){this.setting=e,this.api=t,this.locked=!1,this.widgetsCache=new WeakMap,this.subscribers=new Set,this.history=[this._getWidgetIds().map((e=>this.getWidget(e)))],this.historyIndex=0,this.historySubscribers=new Set,this._debounceSetHistory=function(e,t,n){let r,s=!1;function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];const c=(s?t:e).apply(this,o);return s=!0,clearTimeout(r),r=setTimeout((()=>{s=!1}),n),c}return i.cancel=()=>{s=!1,clearTimeout(r)},i}(this._pushHistory,this._replaceHistory,1e3),this.setting.bind(this._handleSettingChange.bind(this)),this.api.bind("change",this._handleAllSettingsChange.bind(this)),this.undo=this.undo.bind(this),this.redo=this.redo.bind(this),this.save=this.save.bind(this)}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}getWidgets(){return this.history[this.historyIndex]}_emit(){for(const e of this.subscribers)e(...arguments)}_getWidgetIds(){return this.setting.get()}_pushHistory(){this.history=[...this.history.slice(0,this.historyIndex+1),this._getWidgetIds().map((e=>this.getWidget(e)))],this.historyIndex+=1,this.historySubscribers.forEach((e=>e()))}_replaceHistory(){this.history[this.historyIndex]=this._getWidgetIds().map((e=>this.getWidget(e)))}_handleSettingChange(){if(this.locked)return;const e=this.getWidgets();this._pushHistory(),this._emit(e,this.getWidgets())}_handleAllSettingsChange(e){if(this.locked)return;if(!e.id.startsWith("widget_"))return;const t=ye(e.id);if(!this.setting.get().includes(t))return;const n=this.getWidgets();this._pushHistory(),this._emit(n,this.getWidgets())}_createWidget(e){const t=De.customize.Widgets.availableWidgets.findWhere({id_base:e.idBase});let n=e.number;t.get("is_multi")&&!n&&(t.set("multi_number",t.get("multi_number")+1),n=t.get("multi_number"));const r=n?`widget_${e.idBase}[${n}]`:`widget_${e.idBase}`,s={transport:De.customize.Widgets.data.selectiveRefreshableWidgets[t.get("id_base")]?"postMessage":"refresh",previewer:this.setting.previewer};this.api.create(r,r,"",s).set(e.instance);return ye(r)}_removeWidget(e){const t=Ge(e.id),n=this.api(t);if(n){const e=n.get();this.widgetsCache.delete(e)}this.api.remove(t)}_updateWidget(e){const t=this.getWidget(e.id);if(t===e)return e.id;if(t.idBase&&e.idBase&&t.idBase===e.idBase){const t=Ge(e.id);return this.api(t).set(e.instance),e.id}return this._removeWidget(e),this._createWidget(e)}getWidget(e){if(!e)return null;const{idBase:t,number:n}=Re(e),r=Ge(e),s=this.api(r);if(!s)return null;const i=s.get();if(this.widgetsCache.has(i))return this.widgetsCache.get(i);const o={id:e,idBase:t,number:n,instance:i};return this.widgetsCache.set(i,o),o}_updateWidgets(e){this.locked=!0;const t=[],n=e.map((e=>{if(e.id&&this.getWidget(e.id))return t.push(null),this._updateWidget(e);const n=this._createWidget(e);return t.push(n),n}));return this.getWidgets().filter((e=>!n.includes(e.id))).forEach((e=>this._removeWidget(e))),this.setting.set(n),this.locked=!1,t}setWidgets(e){const t=this._updateWidgets(e);return this._debounceSetHistory(),t}hasUndo(){return this.historyIndex>0}hasRedo(){return this.historyIndex<this.history.length-1}_seek(e){const t=this.getWidgets();this.historyIndex=e;const n=this.history[this.historyIndex];this._updateWidgets(n),this._emit(t,this.getWidgets()),this.historySubscribers.forEach((e=>e())),this._debounceSetHistory.cancel()}undo(){this.hasUndo()&&this._seek(this.historyIndex-1)}redo(){this.hasRedo()&&this._seek(this.historyIndex+1)}subscribeHistory(e){return this.historySubscribers.add(e),()=>{this.historySubscribers.delete(e)}}save(){this.api.previewer.save()}}var Ue=window.wp.dom;function Ve(){const{wp:{customize:e}}=window;return class extends e.Control{constructor(){super(...arguments),this.subscribers=new Set}ready(){const t=function(){const{wp:{customize:e}}=window,t=e.OuterSection;return e.OuterSection=class extends t{onChangeExpanded(t,n){return t&&e.section.each((e=>{"outer"===e.params.type&&e.id!==this.id&&e.expanded()&&e.collapse()})),super.onChangeExpanded(t,n)}},e.sectionConstructor.outer=e.OuterSection,class extends e.OuterSection{constructor(){super(...arguments),this.params.type="outer",this.activeElementBeforeExpanded=null,this.contentContainer[0].ownerDocument.defaultView.addEventListener("keydown",(e=>{!this.expanded()||e.keyCode!==Y.ESCAPE&&"Escape"!==e.code||e.defaultPrevented||(e.preventDefault(),e.stopPropagation(),(0,d.dispatch)(oe).setIsInserterOpened(!1))}),!0),this.contentContainer.addClass("widgets-inserter"),this.isFromInternalAction=!1,this.expanded.bind((()=>{this.isFromInternalAction||(0,d.dispatch)(oe).setIsInserterOpened(this.expanded()),this.isFromInternalAction=!1}))}open(){if(!this.expanded()){const e=this.contentContainer[0];this.activeElementBeforeExpanded=e.ownerDocument.activeElement,this.isFromInternalAction=!0,this.expand({completeCallback(){const t=Ue.focus.tabbable.find(e)[1];t&&t.focus()}})}}close(){if(this.expanded()){const e=this.contentContainer[0],t=e.ownerDocument.activeElement;this.isFromInternalAction=!0,this.collapse({completeCallback(){e.contains(t)&&this.activeElementBeforeExpanded&&this.activeElementBeforeExpanded.focus()}})}}}}();this.inserter=new t(`widgets-inserter-${this.id}`,{}),e.section.add(this.inserter),this.sectionInstance=e.section(this.section()),this.inspector=this.sectionInstance.inspector,this.sidebarAdapter=new He(this.setting,e)}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}onChangeSectionExpanded(e,t){t.unchanged||(e||(0,d.dispatch)(oe).setIsInserterOpened(!1),this.subscribers.forEach((n=>n(e,t))))}}}var $e=window.wp.hooks;const je=(0,H.createHigherOrderComponent)((e=>t=>{let n=(0,c.getWidgetIdFromBlock)(t);const r=function(){const{sidebarControls:e}=(0,o.useContext)(Me);return e}(),s=function(){const{activeSidebarControl:e}=(0,o.useContext)(Me);return e}(),i=(null==r?void 0:r.length)>1,a=t.name,l=t.clientId,u=(0,d.useSelect)((e=>e(G.store).canInsertBlockType(a,"")),[a]),m=(0,d.useSelect)((e=>e(G.store).getBlock(l)),[l]),{removeBlock:h}=(0,d.useDispatch)(G.store),[,p]=ze();return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(e,t),i&&u&&(0,o.createElement)(G.BlockControls,null,(0,o.createElement)(c.MoveToWidgetArea,{widgetAreas:r.map((e=>({id:e.id,name:e.params.label,description:e.params.description}))),currentWidgetAreaId:null==s?void 0:s.id,onSelect:function(e){const t=r.find((t=>t.id===e));if(n){const e=s.setting,r=t.setting;e((0,v.without)(e(),n)),r([...r(),n])}else{const e=t.sidebarAdapter;h(l);const r=e.setWidgets([...e.getWidgets(),ke(m)]);n=r.reverse().find((e=>!!e))}p(n)}})))}),"withMoveToSidebarToolbarItem");(0,$e.addFilter)("editor.BlockEdit","core/customize-widgets/block-edit",je);(0,$e.addFilter)("editor.MediaUpload","core/edit-widgets/replace-media-upload",(()=>j.MediaUpload));const{wp:qe}=window,Ke=(0,H.createHigherOrderComponent)((e=>t=>{var n,r;const{idBase:s}=t.attributes,i=null!==(n=null===(r=qe.customize.Widgets.data.availableWidgets.find((e=>e.id_base===s)))||void 0===r?void 0:r.is_wide)&&void 0!==n&&n;return(0,o.createElement)(e,q({},t,{isWide:i}))}),"withWideWidgetDisplay");(0,$e.addFilter)("editor.BlockEdit","core/customize-widgets/wide-widget-display",Ke);const{wp:Ye}=window,Je=["core/more","core/block","core/freeform","core/template-part"];function Qe(e,t){(0,d.dispatch)(O).setFeatureDefaults("core/customize-widgets",{fixedToolbar:!1,welcomeGuide:!0}),(0,d.dispatch)(l.store).__experimentalReapplyBlockTypeFilters();const n=(0,a.__experimentalGetCoreBlocks)().filter((e=>!(Je.includes(e.name)||e.name.startsWith("core/post")||e.name.startsWith("core/query")||e.name.startsWith("core/site")||e.name.startsWith("core/navigation"))));(0,a.registerCoreBlocks)(n),(0,c.registerLegacyWidgetBlock)(),(0,c.registerLegacyWidgetVariations)(t),(0,c.registerWidgetGroupBlock)(),(0,l.setFreeformContentHandlerName)("core/html");const r=Ve();Ye.customize.sectionConstructor.sidebar=Oe(),Ye.customize.controlConstructor.sidebar_block_editor=r;const s=document.createElement("div");document.body.appendChild(s),Ye.customize.bind("ready",(()=>{const e=[];Ye.customize.control.each((t=>{t instanceof r&&e.push(t)})),(0,o.render)((0,o.createElement)(Le,{api:Ye.customize,sidebarControls:e,blockEditorSettings:t}),s)}))}}(),(window.wp=window.wp||{}).customizeWidgets=r}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/data-controls.js b/wp-includes/js/dist/data-controls.js
index dd5c16a09b..811e916e3e 100644
--- a/wp-includes/js/dist/data-controls.js
+++ b/wp-includes/js/dist/data-controls.js
@@ -1,116 +1,73 @@
-this["wp"] = this["wp"] || {}; this["wp"]["dataControls"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "71Oy");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "71Oy":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
+// ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "apiFetch", function() { return apiFetch; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "select", function() { return select; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "syncSelect", function() { return syncSelect; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__unstableAwaitPromise", function() { return __unstableAwaitPromise; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return controls; });
-/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ywyh");
-/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("NMb1");
-/* harmony import */ var _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2__);
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "__unstableAwaitPromise": function() { return /* binding */ __unstableAwaitPromise; },
+  "apiFetch": function() { return /* binding */ apiFetch; },
+  "controls": function() { return /* binding */ controls; },
+  "dispatch": function() { return /* binding */ dispatch; },
+  "select": function() { return /* binding */ build_module_select; },
+  "syncSelect": function() { return /* binding */ syncSelect; }
+});
+
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data-controls/build-module/index.js
 /**
  * WordPress dependencies
  */
@@ -150,12 +107,12 @@ function apiFetch(request) {
  * @param {Array} args Arguments passed without change to the `@wordpress/data` control.
  */

-function select() {
-  _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default()('`select` control in `@wordpress/data-controls`', {
+function build_module_select() {
+  external_wp_deprecated_default()('`select` control in `@wordpress/data-controls`', {
     since: '5.7',
     alternative: 'built-in `resolveSelect` control in `@wordpress/data`'
   });
-  return _wordpress_data__WEBPACK_IMPORTED_MODULE_1__["controls"].resolveSelect(...arguments);
+  return external_wp_data_namespaceObject.controls.resolveSelect(...arguments);
 }
 /**
  * Control for calling a selector in a registered data store.
@@ -165,11 +122,11 @@ function select() {
  */

 function syncSelect() {
-  _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default()('`syncSelect` control in `@wordpress/data-controls`', {
+  external_wp_deprecated_default()('`syncSelect` control in `@wordpress/data-controls`', {
     since: '5.7',
     alternative: 'built-in `select` control in `@wordpress/data`'
   });
-  return _wordpress_data__WEBPACK_IMPORTED_MODULE_1__["controls"].select(...arguments);
+  return external_wp_data_namespaceObject.controls.select(...arguments);
 }
 /**
  * Control for dispatching an action in a registered data store.
@@ -179,11 +136,11 @@ function syncSelect() {
  */

 function dispatch() {
-  _wordpress_deprecated__WEBPACK_IMPORTED_MODULE_2___default()('`dispatch` control in `@wordpress/data-controls`', {
+  external_wp_deprecated_default()('`dispatch` control in `@wordpress/data-controls`', {
     since: '5.7',
     alternative: 'built-in `dispatch` control in `@wordpress/data`'
   });
-  return _wordpress_data__WEBPACK_IMPORTED_MODULE_1__["controls"].dispatch(...arguments);
+  return external_wp_data_namespaceObject.controls.dispatch(...arguments);
 }
 /**
  * Dispatches a control action for awaiting on a promise to be resolved.
@@ -251,26 +208,11 @@ const controls = {
     let {
       request
     } = _ref2;
-    return _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_0___default()(request);
+    return external_wp_apiFetch_default()(request);
   }

 };

-
-/***/ }),
-
-/***/ "NMb1":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["deprecated"]; }());
-
-/***/ }),
-
-/***/ "ywyh":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["apiFetch"]; }());
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).dataControls = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/data-controls.min.js b/wp-includes/js/dist/data-controls.min.js
index d6f4aa6009..a8bcf779b2 100644
--- a/wp-includes/js/dist/data-controls.min.js
+++ b/wp-includes/js/dist/data-controls.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.dataControls=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="71Oy")}({"1ZqX":function(t,e){t.exports=window.wp.data},"71Oy":function(t,e,n){"use strict";n.r(e),n.d(e,"apiFetch",(function(){return s})),n.d(e,"select",(function(){return l})),n.d(e,"syncSelect",(function(){return a})),n.d(e,"dispatch",(function(){return d})),n.d(e,"__unstableAwaitPromise",(function(){return p})),n.d(e,"controls",(function(){return f}));var r=n("ywyh"),o=n.n(r),i=n("1ZqX"),c=n("NMb1"),u=n.n(c);function s(t){return{type:"API_FETCH",request:t}}function l(){return u()("`select` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `resolveSelect` control in `@wordpress/data`"}),i.controls.resolveSelect(...arguments)}function a(){return u()("`syncSelect` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `select` control in `@wordpress/data`"}),i.controls.select(...arguments)}function d(){return u()("`dispatch` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `dispatch` control in `@wordpress/data`"}),i.controls.dispatch(...arguments)}const p=function(t){return{type:"AWAIT_PROMISE",promise:t}},f={AWAIT_PROMISE:t=>{let{promise:e}=t;return e},API_FETCH(t){let{request:e}=t;return o()(e)}}},NMb1:function(t,e){t.exports=window.wp.deprecated},ywyh:function(t,e){t.exports=window.wp.apiFetch}});
\ No newline at end of file
+!function(){"use strict";var t={n:function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,{a:e}),e},d:function(n,e){for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},o:function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},n={};t.r(n),t.d(n,{__unstableAwaitPromise:function(){return d},apiFetch:function(){return u},controls:function(){return p},dispatch:function(){return a},select:function(){return s},syncSelect:function(){return l}});var e=window.wp.apiFetch,r=t.n(e),o=window.wp.data,i=window.wp.deprecated,c=t.n(i);function u(t){return{type:"API_FETCH",request:t}}function s(){return c()("`select` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `resolveSelect` control in `@wordpress/data`"}),o.controls.resolveSelect(...arguments)}function l(){return c()("`syncSelect` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `select` control in `@wordpress/data`"}),o.controls.select(...arguments)}function a(){return c()("`dispatch` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `dispatch` control in `@wordpress/data`"}),o.controls.dispatch(...arguments)}const d=function(t){return{type:"AWAIT_PROMISE",promise:t}},p={AWAIT_PROMISE:t=>{let{promise:n}=t;return n},API_FETCH(t){let{request:n}=t;return r()(n)}};(window.wp=window.wp||{}).dataControls=n}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/data.js b/wp-includes/js/dist/data.js
index 6239c58b1a..e911da2350 100644
--- a/wp-includes/js/dist/data.js
+++ b/wp-includes/js/dist/data.js
@@ -1,153 +1,8 @@
-this["wp"] = this["wp"] || {}; this["wp"]["data"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "pfJ3");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "8mpt":
-/***/ (function(module, exports) {
-
-function combineReducers( reducers ) {
-	var keys = Object.keys( reducers ),
-		getNextState;
-
-	getNextState = ( function() {
-		var fn, i, key;
-
-		fn = 'return {';
-		for ( i = 0; i < keys.length; i++ ) {
-			// Rely on Quoted escaping of JSON.stringify with guarantee that
-			// each member of Object.keys is a string.
-			//
-			// "If Type(value) is String, then return the result of calling the
-			// abstract operation Quote with argument value. [...] The abstract
-			// operation Quote(value) wraps a String value in double quotes and
-			// escapes characters within it."
-			//
-			// https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.3
-			key = JSON.stringify( keys[ i ] );
-
-			fn += key + ':r[' + key + '](s[' + key + '],a),';
-		}
-		fn += '}';
-
-		return new Function( 'r,s,a', fn );
-	} )();
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-	return function combinedReducer( state, action ) {
-		var nextState, i, key;
-
-		// Assumed changed if initial state.
-		if ( state === undefined ) {
-			return getNextState( reducers, {}, action );
-		}
-
-		nextState = getNextState( reducers, state, action );
-
-		// Determine whether state has changed.
-		i = keys.length;
-		while ( i-- ) {
-			key = keys[ i ];
-			if ( state[ key ] !== nextState[ key ] ) {
-				// Return immediately if a changed value is encountered.
-				return nextState;
-			}
-		}
-
-		return state;
-	};
-}
-
-module.exports = combineReducers;
-
-
-/***/ }),
-
-/***/ "FtRg":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 2167:
+/***/ (function(module) {

 "use strict";

@@ -461,194 +316,206 @@ module.exports = EquivalentKeyMap;

 /***/ }),

-/***/ "GRId":
-/***/ (function(module, exports) {
+/***/ 9125:
+/***/ (function(module) {

-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "JlUD":
-/***/ (function(module, exports) {
-
-module.exports = isPromise;
-module.exports.default = isPromise;
-
-function isPromise(obj) {
-  return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
-}
-
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "NMb1":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["deprecated"]; }());
-
-/***/ }),
-
-/***/ "XI5e":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["priorityQueue"]; }());
-
-/***/ }),
-
-/***/ "XIDh":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["reduxRoutine"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "cDcd":
-/***/ (function(module, exports) {
+function combineReducers( reducers ) {
+	var keys = Object.keys( reducers ),
+		getNextState;

-(function() { module.exports = window["React"]; }());
+	getNextState = ( function() {
+		var fn, i, key;

-/***/ }),
+		fn = 'return {';
+		for ( i = 0; i < keys.length; i++ ) {
+			// Rely on Quoted escaping of JSON.stringify with guarantee that
+			// each member of Object.keys is a string.
+			//
+			// "If Type(value) is String, then return the result of calling the
+			// abstract operation Quote with argument value. [...] The abstract
+			// operation Quote(value) wraps a String value in double quotes and
+			// escapes characters within it."
+			//
+			// https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.3
+			key = JSON.stringify( keys[ i ] );

-/***/ "mHlH":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+			fn += key + ':r[' + key + '](s[' + key + '],a),';
+		}
+		fn += '}';

-"use strict";
-/* unused harmony export useCallback */
-/* unused harmony export useCallbackOne */
-/* unused harmony export useMemo */
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMemoOne; });
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
+		return new Function( 'r,s,a', fn );
+	} )();

+	return function combinedReducer( state, action ) {
+		var nextState, i, key;

-function areInputsEqual(newInputs, lastInputs) {
-  if (newInputs.length !== lastInputs.length) {
-    return false;
-  }
+		// Assumed changed if initial state.
+		if ( state === undefined ) {
+			return getNextState( reducers, {}, action );
+		}

-  for (var i = 0; i < newInputs.length; i++) {
-    if (newInputs[i] !== lastInputs[i]) {
-      return false;
-    }
-  }
+		nextState = getNextState( reducers, state, action );

-  return true;
-}
+		// Determine whether state has changed.
+		i = keys.length;
+		while ( i-- ) {
+			key = keys[ i ];
+			if ( state[ key ] !== nextState[ key ] ) {
+				// Return immediately if a changed value is encountered.
+				return nextState;
+			}
+		}

-function useMemoOne(getResult, inputs) {
-  var initial = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(function () {
-    return {
-      inputs: inputs,
-      result: getResult()
-    };
-  })[0];
-  var isFirstRun = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(true);
-  var committed = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(initial);
-  var useCache = isFirstRun.current || Boolean(inputs && committed.current.inputs && areInputsEqual(inputs, committed.current.inputs));
-  var cache = useCache ? committed.current : {
-    inputs: inputs,
-    result: getResult()
-  };
-  Object(react__WEBPACK_IMPORTED_MODULE_0__["useEffect"])(function () {
-    isFirstRun.current = false;
-    committed.current = cache;
-  }, [cache]);
-  return cache.result;
-}
-function useCallbackOne(callback, inputs) {
-  return useMemoOne(function () {
-    return callback;
-  }, inputs);
+		return state;
+	};
 }
-var useMemo = useMemoOne;
-var useCallback = useCallbackOne;
-

+module.exports = combineReducers;


-/***/ }),
-
-/***/ "pfJ3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ })

+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
 "use strict";
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "withSelect", function() { return /* reexport */ with_select; });
-__webpack_require__.d(__webpack_exports__, "withDispatch", function() { return /* reexport */ with_dispatch; });
-__webpack_require__.d(__webpack_exports__, "withRegistry", function() { return /* reexport */ with_registry; });
-__webpack_require__.d(__webpack_exports__, "RegistryProvider", function() { return /* reexport */ context; });
-__webpack_require__.d(__webpack_exports__, "RegistryConsumer", function() { return /* reexport */ RegistryConsumer; });
-__webpack_require__.d(__webpack_exports__, "useRegistry", function() { return /* reexport */ useRegistry; });
-__webpack_require__.d(__webpack_exports__, "useSelect", function() { return /* reexport */ useSelect; });
-__webpack_require__.d(__webpack_exports__, "useDispatch", function() { return /* reexport */ use_dispatch; });
-__webpack_require__.d(__webpack_exports__, "AsyncModeProvider", function() { return /* reexport */ async_mode_provider_context; });
-__webpack_require__.d(__webpack_exports__, "createRegistry", function() { return /* reexport */ createRegistry; });
-__webpack_require__.d(__webpack_exports__, "createRegistrySelector", function() { return /* reexport */ createRegistrySelector; });
-__webpack_require__.d(__webpack_exports__, "createRegistryControl", function() { return /* reexport */ createRegistryControl; });
-__webpack_require__.d(__webpack_exports__, "controls", function() { return /* reexport */ controls_controls; });
-__webpack_require__.d(__webpack_exports__, "createReduxStore", function() { return /* reexport */ createReduxStore; });
-__webpack_require__.d(__webpack_exports__, "plugins", function() { return /* reexport */ plugins_namespaceObject; });
-__webpack_require__.d(__webpack_exports__, "combineReducers", function() { return /* reexport */ turbo_combine_reducers_default.a; });
-__webpack_require__.d(__webpack_exports__, "select", function() { return /* binding */ build_module_select; });
-__webpack_require__.d(__webpack_exports__, "resolveSelect", function() { return /* binding */ build_module_resolveSelect; });
-__webpack_require__.d(__webpack_exports__, "dispatch", function() { return /* binding */ build_module_dispatch; });
-__webpack_require__.d(__webpack_exports__, "subscribe", function() { return /* binding */ build_module_subscribe; });
-__webpack_require__.d(__webpack_exports__, "registerGenericStore", function() { return /* binding */ build_module_registerGenericStore; });
-__webpack_require__.d(__webpack_exports__, "registerStore", function() { return /* binding */ registerStore; });
-__webpack_require__.d(__webpack_exports__, "use", function() { return /* binding */ build_module_use; });
-__webpack_require__.d(__webpack_exports__, "register", function() { return /* binding */ build_module_register; });
+__webpack_require__.d(__webpack_exports__, {
+  "AsyncModeProvider": function() { return /* reexport */ async_mode_provider_context; },
+  "RegistryConsumer": function() { return /* reexport */ RegistryConsumer; },
+  "RegistryProvider": function() { return /* reexport */ context; },
+  "combineReducers": function() { return /* reexport */ (turbo_combine_reducers_default()); },
+  "controls": function() { return /* reexport */ controls; },
+  "createReduxStore": function() { return /* reexport */ createReduxStore; },
+  "createRegistry": function() { return /* reexport */ createRegistry; },
+  "createRegistryControl": function() { return /* reexport */ createRegistryControl; },
+  "createRegistrySelector": function() { return /* reexport */ createRegistrySelector; },
+  "dispatch": function() { return /* binding */ build_module_dispatch; },
+  "plugins": function() { return /* reexport */ plugins_namespaceObject; },
+  "register": function() { return /* binding */ register; },
+  "registerGenericStore": function() { return /* binding */ registerGenericStore; },
+  "registerStore": function() { return /* binding */ registerStore; },
+  "resolveSelect": function() { return /* binding */ build_module_resolveSelect; },
+  "select": function() { return /* binding */ build_module_select; },
+  "subscribe": function() { return /* binding */ subscribe; },
+  "use": function() { return /* binding */ use; },
+  "useDispatch": function() { return /* reexport */ use_dispatch; },
+  "useRegistry": function() { return /* reexport */ useRegistry; },
+  "useSelect": function() { return /* reexport */ useSelect; },
+  "withDispatch": function() { return /* reexport */ with_dispatch; },
+  "withRegistry": function() { return /* reexport */ with_registry; },
+  "withSelect": function() { return /* reexport */ with_select; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/data/build-module/redux-store/metadata/selectors.js
 var selectors_namespaceObject = {};
 __webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getIsResolving", function() { return getIsResolving; });
-__webpack_require__.d(selectors_namespaceObject, "hasStartedResolution", function() { return hasStartedResolution; });
-__webpack_require__.d(selectors_namespaceObject, "hasFinishedResolution", function() { return hasFinishedResolution; });
-__webpack_require__.d(selectors_namespaceObject, "isResolving", function() { return isResolving; });
-__webpack_require__.d(selectors_namespaceObject, "getCachedResolvers", function() { return getCachedResolvers; });
+__webpack_require__.d(selectors_namespaceObject, {
+  "getCachedResolvers": function() { return getCachedResolvers; },
+  "getIsResolving": function() { return getIsResolving; },
+  "hasFinishedResolution": function() { return hasFinishedResolution; },
+  "hasStartedResolution": function() { return hasStartedResolution; },
+  "isResolving": function() { return isResolving; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/data/build-module/redux-store/metadata/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "startResolution", function() { return startResolution; });
-__webpack_require__.d(actions_namespaceObject, "finishResolution", function() { return finishResolution; });
-__webpack_require__.d(actions_namespaceObject, "startResolutions", function() { return startResolutions; });
-__webpack_require__.d(actions_namespaceObject, "finishResolutions", function() { return finishResolutions; });
-__webpack_require__.d(actions_namespaceObject, "invalidateResolution", function() { return invalidateResolution; });
-__webpack_require__.d(actions_namespaceObject, "invalidateResolutionForStore", function() { return invalidateResolutionForStore; });
-__webpack_require__.d(actions_namespaceObject, "invalidateResolutionForStoreSelector", function() { return invalidateResolutionForStoreSelector; });
+__webpack_require__.d(actions_namespaceObject, {
+  "finishResolution": function() { return finishResolution; },
+  "finishResolutions": function() { return finishResolutions; },
+  "invalidateResolution": function() { return invalidateResolution; },
+  "invalidateResolutionForStore": function() { return invalidateResolutionForStore; },
+  "invalidateResolutionForStoreSelector": function() { return invalidateResolutionForStoreSelector; },
+  "startResolution": function() { return startResolution; },
+  "startResolutions": function() { return startResolutions; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/data/build-module/plugins/index.js
 var plugins_namespaceObject = {};
 __webpack_require__.r(plugins_namespaceObject);
-__webpack_require__.d(plugins_namespaceObject, "controls", function() { return plugins_controls; });
-__webpack_require__.d(plugins_namespaceObject, "persistence", function() { return plugins_persistence; });
+__webpack_require__.d(plugins_namespaceObject, {
+  "controls": function() { return plugins_controls; },
+  "persistence": function() { return persistence; }
+});

 // EXTERNAL MODULE: ./node_modules/turbo-combine-reducers/index.js
-var turbo_combine_reducers = __webpack_require__("8mpt");
+var turbo_combine_reducers = __webpack_require__(9125);
 var turbo_combine_reducers_default = /*#__PURE__*/__webpack_require__.n(turbo_combine_reducers);
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
 function _defineProperty(obj, key, value) {
   if (key in obj) {
     Object.defineProperty(obj, key, {
@@ -663,7 +530,7 @@ function _defineProperty(obj, key, value) {

   return obj;
 }
-// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js


 function ownKeys(object, enumerableOnly) {
@@ -691,7 +558,7 @@ function _objectSpread2(target) {

   return target;
 }
-// CONCATENATED MODULE: ./node_modules/redux/es/redux.js
+;// CONCATENATED MODULE: ./node_modules/redux/es/redux.js


 /**
@@ -826,11 +693,11 @@ function kindOf(val) {
  * and subscribe to changes.
  */

-function redux_createStore(reducer, preloadedState, enhancer) {
+function createStore(reducer, preloadedState, enhancer) {
   var _ref2;

   if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {
-    throw new Error( true ? formatProdErrorMessage(0) : undefined);
+    throw new Error( true ? formatProdErrorMessage(0) : 0);
   }

   if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {
@@ -840,14 +707,14 @@ function redux_createStore(reducer, preloadedState, enhancer) {

   if (typeof enhancer !== 'undefined') {
     if (typeof enhancer !== 'function') {
-      throw new Error( true ? formatProdErrorMessage(1) : undefined);
+      throw new Error( true ? formatProdErrorMessage(1) : 0);
     }

-    return enhancer(redux_createStore)(reducer, preloadedState);
+    return enhancer(createStore)(reducer, preloadedState);
   }

   if (typeof reducer !== 'function') {
-    throw new Error( true ? formatProdErrorMessage(2) : undefined);
+    throw new Error( true ? formatProdErrorMessage(2) : 0);
   }

   var currentReducer = reducer;
@@ -877,7 +744,7 @@ function redux_createStore(reducer, preloadedState, enhancer) {

   function getState() {
     if (isDispatching) {
-      throw new Error( true ? formatProdErrorMessage(3) : undefined);
+      throw new Error( true ? formatProdErrorMessage(3) : 0);
     }

     return currentState;
@@ -909,11 +776,11 @@ function redux_createStore(reducer, preloadedState, enhancer) {

   function subscribe(listener) {
     if (typeof listener !== 'function') {
-      throw new Error( true ? formatProdErrorMessage(4) : undefined);
+      throw new Error( true ? formatProdErrorMessage(4) : 0);
     }

     if (isDispatching) {
-      throw new Error( true ? formatProdErrorMessage(5) : undefined);
+      throw new Error( true ? formatProdErrorMessage(5) : 0);
     }

     var isSubscribed = true;
@@ -925,7 +792,7 @@ function redux_createStore(reducer, preloadedState, enhancer) {
       }

       if (isDispatching) {
-        throw new Error( true ? formatProdErrorMessage(6) : undefined);
+        throw new Error( true ? formatProdErrorMessage(6) : 0);
       }

       isSubscribed = false;
@@ -964,15 +831,15 @@ function redux_createStore(reducer, preloadedState, enhancer) {

   function dispatch(action) {
     if (!isPlainObject(action)) {
-      throw new Error( true ? formatProdErrorMessage(7) : undefined);
+      throw new Error( true ? formatProdErrorMessage(7) : 0);
     }

     if (typeof action.type === 'undefined') {
-      throw new Error( true ? formatProdErrorMessage(8) : undefined);
+      throw new Error( true ? formatProdErrorMessage(8) : 0);
     }

     if (isDispatching) {
-      throw new Error( true ? formatProdErrorMessage(9) : undefined);
+      throw new Error( true ? formatProdErrorMessage(9) : 0);
     }

     try {
@@ -1005,7 +872,7 @@ function redux_createStore(reducer, preloadedState, enhancer) {

   function replaceReducer(nextReducer) {
     if (typeof nextReducer !== 'function') {
-      throw new Error( true ? formatProdErrorMessage(10) : undefined);
+      throw new Error( true ? formatProdErrorMessage(10) : 0);
     }

     currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.
@@ -1040,7 +907,7 @@ function redux_createStore(reducer, preloadedState, enhancer) {
        */
       subscribe: function subscribe(observer) {
         if (typeof observer !== 'object' || observer === null) {
-          throw new Error( true ? formatProdErrorMessage(11) : undefined);
+          throw new Error( true ? formatProdErrorMessage(11) : 0);
         }

         function observeState() {
@@ -1130,13 +997,13 @@ function assertReducerShape(reducers) {
     });

     if (typeof initialState === 'undefined') {
-      throw new Error( true ? formatProdErrorMessage(12) : undefined);
+      throw new Error( true ? formatProdErrorMessage(12) : 0);
     }

     if (typeof reducer(undefined, {
       type: ActionTypes.PROBE_UNKNOWN_ACTION()
     }) === 'undefined') {
-      throw new Error( true ? formatProdErrorMessage(13) : undefined);
+      throw new Error( true ? formatProdErrorMessage(13) : 0);
     }
   });
 }
@@ -1209,7 +1076,7 @@ function combineReducers(reducers) {

       if (typeof nextStateForKey === 'undefined') {
         var actionType = action && action.type;
-        throw new Error( true ? formatProdErrorMessage(14) : undefined);
+        throw new Error( true ? formatProdErrorMessage(14) : 0);
       }

       nextState[_key] = nextStateForKey;
@@ -1255,7 +1122,7 @@ function bindActionCreators(actionCreators, dispatch) {
   }

   if (typeof actionCreators !== 'object' || actionCreators === null) {
-    throw new Error( true ? formatProdErrorMessage(16) : undefined);
+    throw new Error( true ? formatProdErrorMessage(16) : 0);
   }

   var boundActionCreators = {};
@@ -1330,7 +1197,7 @@ function applyMiddleware() {
       var store = createStore.apply(void 0, arguments);

       var _dispatch = function dispatch() {
-        throw new Error( true ? formatProdErrorMessage(15) : undefined);
+        throw new Error( true ? formatProdErrorMessage(15) : 0);
       };

       var middlewareAPI = {
@@ -1362,14 +1229,12 @@ if (false) {}


 // EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
-var equivalent_key_map = __webpack_require__("FtRg");
+var equivalent_key_map = __webpack_require__(2167);
 var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
-
-// EXTERNAL MODULE: external ["wp","reduxRoutine"]
-var external_wp_reduxRoutine_ = __webpack_require__("XIDh");
-var external_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(external_wp_reduxRoutine_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/factory.js
+;// CONCATENATED MODULE: external ["wp","reduxRoutine"]
+var external_wp_reduxRoutine_namespaceObject = window["wp"]["reduxRoutine"];
+var external_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(external_wp_reduxRoutine_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/factory.js
 /**
  * Creates a selector function that takes additional curried argument with the
  * registry `select` function. While a regular selector has signature
@@ -1452,7 +1317,7 @@ function createRegistryControl(registryControl) {
   return registryControl;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/controls.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/controls.js
 /**
  * External dependencies
  */
@@ -1498,7 +1363,7 @@ function controls_select(storeNameOrDefinition, selectorName) {

   return {
     type: SELECT,
-    storeKey: Object(external_lodash_["isObject"])(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition,
+    storeKey: (0,external_lodash_namespaceObject.isObject)(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition,
     selectorName,
     args
   };
@@ -1529,14 +1394,14 @@ function controls_select(storeNameOrDefinition, selectorName) {
  */


-function controls_resolveSelect(storeNameOrDefinition, selectorName) {
+function resolveSelect(storeNameOrDefinition, selectorName) {
   for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
     args[_key2 - 2] = arguments[_key2];
   }

   return {
     type: RESOLVE_SELECT,
-    storeKey: Object(external_lodash_["isObject"])(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition,
+    storeKey: (0,external_lodash_namespaceObject.isObject)(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition,
     selectorName,
     args
   };
@@ -1563,23 +1428,23 @@ function controls_resolveSelect(storeNameOrDefinition, selectorName) {
  */


-function controls_dispatch(storeNameOrDefinition, actionName) {
+function dispatch(storeNameOrDefinition, actionName) {
   for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
     args[_key3 - 2] = arguments[_key3];
   }

   return {
     type: DISPATCH,
-    storeKey: Object(external_lodash_["isObject"])(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition,
+    storeKey: (0,external_lodash_namespaceObject.isObject)(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition,
     actionName,
     args
   };
 }

-const controls_controls = {
+const controls = {
   select: controls_select,
-  resolveSelect: controls_resolveSelect,
-  dispatch: controls_dispatch
+  resolveSelect,
+  dispatch
 };
 const builtinControls = {
   [SELECT]: createRegistryControl(registry => _ref => {
@@ -1609,11 +1474,12 @@ const builtinControls = {
   })
 };

-// EXTERNAL MODULE: ./node_modules/is-promise/index.js
-var is_promise = __webpack_require__("JlUD");
-var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
+;// CONCATENATED MODULE: ./node_modules/is-promise/index.mjs
+function isPromise(obj) {
+  return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/promise-middleware.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/promise-middleware.js
 /**
  * External dependencies
  */
@@ -1625,7 +1491,7 @@ var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
  */

 const promiseMiddleware = () => next => action => {
-  if (is_promise_default()(action)) {
+  if (isPromise(action)) {
     return action.then(resolvedAction => {
       if (resolvedAction) {
         return next(resolvedAction);
@@ -1638,7 +1504,7 @@ const promiseMiddleware = () => next => action => {

 /* harmony default export */ var promise_middleware = (promiseMiddleware);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/store/name.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/store/name.js
 /**
  * The identifier for the core/data store.
  *
@@ -1646,7 +1512,7 @@ const promiseMiddleware = () => next => action => {
  */
 const STORE_NAME = 'core/data';

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js
 /**
  * External dependencies
  */
@@ -1673,7 +1539,7 @@ const createResolversCacheMiddleware = (registry, reducerKey) => () => next => a
   const resolvers = registry.select(STORE_NAME).getCachedResolvers(reducerKey);
   Object.entries(resolvers).forEach(_ref => {
     let [selectorName, resolversByArgs] = _ref;
-    const resolver = Object(external_lodash_["get"])(registry.stores, [reducerKey, 'resolvers', selectorName]);
+    const resolver = (0,external_lodash_namespaceObject.get)(registry.stores, [reducerKey, 'resolvers', selectorName]);

     if (!resolver || !resolver.shouldInvalidate) {
       return;
@@ -1696,7 +1562,7 @@ const createResolversCacheMiddleware = (registry, reducerKey) => () => next => a

 /* harmony default export */ var resolvers_cache_middleware = (createResolversCacheMiddleware);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/thunk-middleware.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/thunk-middleware.js
 function createThunkMiddleware(args) {
   return () => next => action => {
     if (typeof action === 'function') {
@@ -1707,7 +1573,7 @@ function createThunkMiddleware(args) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/utils.js
 /**
  * Higher-order reducer creator which creates a combined reducer object, keyed
  * by a property on the action object.
@@ -1749,7 +1615,7 @@ const onSubKey = actionProperty => reducer => function () {
   };
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/reducer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/reducer.js
 /**
  * External dependencies
  */
@@ -1768,7 +1634,7 @@ const onSubKey = actionProperty => reducer => function () {
  *  selectorName -> EquivalentKeyMap<Array,boolean>
  */
 const subKeysIsResolved = onSubKey('selectorName')(function () {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new equivalent_key_map_default.a();
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new (equivalent_key_map_default())();
   let action = arguments.length > 1 ? arguments[1] : undefined;

   switch (action.type) {
@@ -1776,7 +1642,7 @@ const subKeysIsResolved = onSubKey('selectorName')(function () {
     case 'FINISH_RESOLUTION':
       {
         const isStarting = action.type === 'START_RESOLUTION';
-        const nextState = new equivalent_key_map_default.a(state);
+        const nextState = new (equivalent_key_map_default())(state);
         nextState.set(action.args, isStarting);
         return nextState;
       }
@@ -1785,7 +1651,7 @@ const subKeysIsResolved = onSubKey('selectorName')(function () {
     case 'FINISH_RESOLUTIONS':
       {
         const isStarting = action.type === 'START_RESOLUTIONS';
-        const nextState = new equivalent_key_map_default.a(state);
+        const nextState = new (equivalent_key_map_default())(state);

         for (const resolutionArgs of action.args) {
           nextState.set(resolutionArgs, isStarting);
@@ -1796,7 +1662,7 @@ const subKeysIsResolved = onSubKey('selectorName')(function () {

     case 'INVALIDATE_RESOLUTION':
       {
-        const nextState = new equivalent_key_map_default.a(state);
+        const nextState = new (equivalent_key_map_default())(state);
         nextState.delete(action.args);
         return nextState;
       }
@@ -1824,7 +1690,7 @@ const isResolved = function () {
       return {};

     case 'INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR':
-      return Object(external_lodash_["has"])(state, [action.selectorName]) ? Object(external_lodash_["omit"])(state, [action.selectorName]) : state;
+      return (0,external_lodash_namespaceObject.has)(state, [action.selectorName]) ? (0,external_lodash_namespaceObject.omit)(state, [action.selectorName]) : state;

     case 'START_RESOLUTION':
     case 'FINISH_RESOLUTION':
@@ -1839,7 +1705,7 @@ const isResolved = function () {

 /* harmony default export */ var metadata_reducer = (isResolved);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/selectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/selectors.js
 /**
  * External dependencies
  */
@@ -1860,7 +1726,7 @@ const isResolved = function () {
  */

 function getIsResolving(state, selectorName, args) {
-  const map = Object(external_lodash_["get"])(state, [selectorName]);
+  const map = (0,external_lodash_namespaceObject.get)(state, [selectorName]);

   if (!map) {
     return undefined;
@@ -1925,7 +1791,7 @@ function getCachedResolvers(state) {
   return state;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/metadata/actions.js
 /**
  * Returns an action object used in signalling that selector resolution has
  * started.
@@ -2040,7 +1906,7 @@ function invalidateResolutionForStoreSelector(selectorName) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/redux-store/index.js
 /**
  * External dependencies
  */
@@ -2103,7 +1969,7 @@ function createResolversCache() {

     markAsRunning(selectorName, args) {
       if (!cache[selectorName]) {
-        cache[selectorName] = new equivalent_key_map_default.a();
+        cache[selectorName] = new (equivalent_key_map_default())();
       }

       cache[selectorName].set(trimUndefinedValues(args), true);
@@ -2163,14 +2029,14 @@ function createReduxStore(key, options) {
       const actions = mapActions({ ...actions_namespaceObject,
         ...options.actions
       }, store);
-      let selectors = mapSelectors({ ...Object(external_lodash_["mapValues"])(selectors_namespaceObject, selector => function (state) {
+      let selectors = mapSelectors({ ...(0,external_lodash_namespaceObject.mapValues)(selectors_namespaceObject, selector => function (state) {
           for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
             args[_key - 1] = arguments[_key];
           }

           return selector(state.metadata, ...args);
         }),
-        ...Object(external_lodash_["mapValues"])(options.selectors, selector => {
+        ...(0,external_lodash_namespaceObject.mapValues)(options.selectors, selector => {
           if (selector.isRegistrySelector) {
             selector.registry = registry;
           }
@@ -2255,7 +2121,7 @@ function instantiateReduxStore(key, options, registry, thunkArgs) {
   const controls = { ...options.controls,
     ...builtinControls
   };
-  const normalizedControls = Object(external_lodash_["mapValues"])(controls, control => control.isRegistryControl ? control(registry) : control);
+  const normalizedControls = (0,external_lodash_namespaceObject.mapValues)(controls, control => control.isRegistryControl ? control(registry) : control);
   const middlewares = [resolvers_cache_middleware(registry, key), promise_middleware, external_wp_reduxRoutine_default()(normalizedControls)];

   if (options.__experimentalUseThunks) {
@@ -2279,9 +2145,9 @@ function instantiateReduxStore(key, options, registry, thunkArgs) {
     metadata: metadata_reducer,
     root: reducer
   });
-  return redux_createStore(enhancedReducer, {
+  return createStore(enhancedReducer, {
     root: initialState
-  }, Object(external_lodash_["flowRight"])(enhancers));
+  }, (0,external_lodash_namespaceObject.flowRight)(enhancers));
 }
 /**
  * Maps selectors to a store.
@@ -2319,7 +2185,7 @@ function mapSelectors(selectors, store) {
     return selector;
   };

-  return Object(external_lodash_["mapValues"])(selectors, createStateSelector);
+  return (0,external_lodash_namespaceObject.mapValues)(selectors, createStateSelector);
 }
 /**
  * Maps actions to dispatch from a given store.
@@ -2336,7 +2202,7 @@ function mapActions(actions, store) {
     return Promise.resolve(store.dispatch(action(...arguments)));
   };

-  return Object(external_lodash_["mapValues"])(actions, createBoundAction);
+  return (0,external_lodash_namespaceObject.mapValues)(actions, createBoundAction);
 }
 /**
  * Maps selectors to functions that return a resolution promise for them
@@ -2349,7 +2215,7 @@ function mapActions(actions, store) {


 function mapResolveSelectors(selectors, store) {
-  return Object(external_lodash_["mapValues"])(Object(external_lodash_["omit"])(selectors, ['getIsResolving', 'hasStartedResolution', 'hasFinishedResolution', 'isResolving', 'getCachedResolvers']), (selector, selectorName) => function () {
+  return (0,external_lodash_namespaceObject.mapValues)((0,external_lodash_namespaceObject.omit)(selectors, ['getIsResolving', 'hasStartedResolution', 'hasFinishedResolution', 'isResolving', 'getCachedResolvers']), (selector, selectorName) => function () {
     for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
       args[_key3] = arguments[_key3];
     }
@@ -2391,7 +2257,7 @@ function mapResolvers(resolvers, selectors, store, resolversCache) {
   // The `resolver` can be either a function that does the resolution, or, in more advanced
   // cases, an object with a `fullfill` method and other optional methods like `isFulfilled`.
   // Here we normalize the `resolver` function to an object with `fulfill` method.
-  const mappedResolvers = Object(external_lodash_["mapValues"])(resolvers, resolver => {
+  const mappedResolvers = (0,external_lodash_namespaceObject.mapValues)(resolvers, resolver => {
     if (resolver.fulfill) {
       return resolver;
     }
@@ -2450,7 +2316,7 @@ function mapResolvers(resolvers, selectors, store, resolversCache) {

   return {
     resolvers: mappedResolvers,
-    selectors: Object(external_lodash_["mapValues"])(selectors, mapSelector)
+    selectors: (0,external_lodash_namespaceObject.mapValues)(selectors, mapSelector)
   };
 }
 /**
@@ -2464,7 +2330,7 @@ function mapResolvers(resolvers, selectors, store, resolversCache) {


 async function fulfillResolver(store, resolvers, selectorName) {
-  const resolver = Object(external_lodash_["get"])(resolvers, [selectorName]);
+  const resolver = (0,external_lodash_namespaceObject.get)(resolvers, [selectorName]);

   if (!resolver) {
     return;
@@ -2481,7 +2347,7 @@ async function fulfillResolver(store, resolvers, selectorName) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/store/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/store/index.js
 function createCoreDataStore(registry) {
   const getCoreDataSelector = selectorName => function (key) {
     for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
@@ -2523,9 +2389,9 @@ function createCoreDataStore(registry) {
   };
 }

-/* harmony default export */ var build_module_store = (createCoreDataStore);
+/* harmony default export */ var store = (createCoreDataStore);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/utils/emitter.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/utils/emitter.js
 /**
  * Create an event emitter.
  *
@@ -2576,7 +2442,7 @@ function createEmitter() {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/registry.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/registry.js
 /**
  * External dependencies
  */
@@ -2665,7 +2531,7 @@ function createRegistry() {


   function select(storeNameOrDefinition) {
-    const storeName = Object(external_lodash_["isObject"])(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition;
+    const storeName = (0,external_lodash_namespaceObject.isObject)(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition;

     __experimentalListeningStores.add(storeName);

@@ -2699,7 +2565,7 @@ function createRegistry() {


   function resolveSelect(storeNameOrDefinition) {
-    const storeName = Object(external_lodash_["isObject"])(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition;
+    const storeName = (0,external_lodash_namespaceObject.isObject)(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition;

     __experimentalListeningStores.add(storeName);

@@ -2722,7 +2588,7 @@ function createRegistry() {


   function dispatch(storeNameOrDefinition) {
-    const storeName = Object(external_lodash_["isObject"])(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition;
+    const storeName = (0,external_lodash_namespaceObject.isObject)(storeNameOrDefinition) ? storeNameOrDefinition.name : storeNameOrDefinition;
     const store = stores[storeName];

     if (store) {
@@ -2737,7 +2603,7 @@ function createRegistry() {


   function withPlugins(attributes) {
-    return Object(external_lodash_["mapValues"])(attributes, (attribute, key) => {
+    return (0,external_lodash_namespaceObject.mapValues)(attributes, (attribute, key) => {
       if (typeof attribute !== 'function') {
         return attribute;
       }
@@ -2833,10 +2699,10 @@ function createRegistry() {

   function batch(callback) {
     emitter.pause();
-    Object(external_lodash_["forEach"])(stores, store => store.emitter.pause());
+    (0,external_lodash_namespaceObject.forEach)(stores, store => store.emitter.pause());
     callback();
     emitter.resume();
-    Object(external_lodash_["forEach"])(stores, store => store.emitter.resume());
+    (0,external_lodash_namespaceObject.forEach)(stores, store => store.emitter.resume());
   }

   let registry = {
@@ -2884,7 +2750,7 @@ function createRegistry() {
     return registry;
   }

-  registerGenericStore(STORE_NAME, build_module_store(registry));
+  registerGenericStore(STORE_NAME, store(registry));
   Object.entries(storeConfigs).forEach(_ref => {
     let [name, config] = _ref;
     return registry.registerStore(name, config);
@@ -2897,18 +2763,17 @@ function createRegistry() {
   return withPlugins(registry);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/default-registry.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/default-registry.js
 /**
  * Internal dependencies
  */

 /* harmony default export */ var default_registry = (createRegistry());

-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/controls/index.js
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/controls/index.js
 /**
  * WordPress dependencies
  */
@@ -2921,7 +2786,7 @@ var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external
   return registry;
 });

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/object.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/object.js
 let objectStorage;
 const storage = {
   getItem(key) {
@@ -2947,7 +2812,7 @@ const storage = {
 };
 /* harmony default export */ var object = (storage);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/default.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/storage/default.js
 /**
  * Internal dependencies
  */
@@ -2967,7 +2832,7 @@ try {

 /* harmony default export */ var storage_default = (default_storage);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/persistence/index.js
 /**
  * External dependencies
  */
@@ -3153,13 +3018,13 @@ function persistencePlugin(registry, pluginOptions) {
           type: '@@WP/PERSISTENCE_RESTORE'
         });

-        if (Object(external_lodash_["isPlainObject"])(initialState) && Object(external_lodash_["isPlainObject"])(persistedState)) {
+        if ((0,external_lodash_namespaceObject.isPlainObject)(initialState) && (0,external_lodash_namespaceObject.isPlainObject)(persistedState)) {
           // If state is an object, ensure that:
           // - Other keys are left intact when persisting only a
           //   subset of keys.
           // - New keys in what would otherwise be used as initial
           //   state are deeply merged as base for persisted value.
-          initialState = Object(external_lodash_["merge"])({}, initialState, persistedState);
+          initialState = (0,external_lodash_namespaceObject.merge)({}, initialState, persistedState);
         } else {
           // If there is a mismatch in object-likeness of default
           // initial or persisted state, defer to persisted value.
@@ -3234,32 +3099,89 @@ persistencePlugin.__unstableMigrate = pluginOptions => {
   migrateFeaturePreferencesToInterfaceStore(persistence, 'core/edit-post');
 };

-/* harmony default export */ var plugins_persistence = (persistencePlugin);
+/* harmony default export */ var persistence = (persistencePlugin);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/index.js
+
+
+
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];
+
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/plugins/index.js
+    return target;
+  };

+  return _extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: external "React"
+var external_React_namespaceObject = window["React"];
+;// CONCATENATED MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js


-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+function areInputsEqual(newInputs, lastInputs) {
+  if (newInputs.length !== lastInputs.length) {
+    return false;
+  }

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+  for (var i = 0; i < newInputs.length; i++) {
+    if (newInputs[i] !== lastInputs[i]) {
+      return false;
+    }
+  }

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+  return true;
+}

-// EXTERNAL MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js
-var use_memo_one_esm = __webpack_require__("mHlH");
+function useMemoOne(getResult, inputs) {
+  var initial = (0,external_React_namespaceObject.useState)(function () {
+    return {
+      inputs: inputs,
+      result: getResult()
+    };
+  })[0];
+  var isFirstRun = (0,external_React_namespaceObject.useRef)(true);
+  var committed = (0,external_React_namespaceObject.useRef)(initial);
+  var useCache = isFirstRun.current || Boolean(inputs && committed.current.inputs && areInputsEqual(inputs, committed.current.inputs));
+  var cache = useCache ? committed.current : {
+    inputs: inputs,
+    result: getResult()
+  };
+  (0,external_React_namespaceObject.useEffect)(function () {
+    isFirstRun.current = false;
+    committed.current = cache;
+  }, [cache]);
+  return cache.result;
+}
+function useCallbackOne(callback, inputs) {
+  return useMemoOne(function () {
+    return callback;
+  }, inputs);
+}
+var useMemo = (/* unused pure expression or super */ null && (useMemoOne));
+var useCallback = (/* unused pure expression or super */ null && (useCallbackOne));

-// EXTERNAL MODULE: external ["wp","priorityQueue"]
-var external_wp_priorityQueue_ = __webpack_require__("XI5e");

-// EXTERNAL MODULE: external ["wp","isShallowEqual"]
-var external_wp_isShallowEqual_ = __webpack_require__("rl8x");
-var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/context.js
+;// CONCATENATED MODULE: external ["wp","priorityQueue"]
+var external_wp_priorityQueue_namespaceObject = window["wp"]["priorityQueue"];
+;// CONCATENATED MODULE: external ["wp","isShallowEqual"]
+var external_wp_isShallowEqual_namespaceObject = window["wp"]["isShallowEqual"];
+var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/context.js
 /**
  * WordPress dependencies
  */
@@ -3269,7 +3191,7 @@ var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(exte
  */


-const Context = Object(external_wp_element_["createContext"])(default_registry);
+const Context = (0,external_wp_element_namespaceObject.createContext)(default_registry);
 const {
   Consumer,
   Provider
@@ -3317,7 +3239,7 @@ const RegistryConsumer = Consumer;

 /* harmony default export */ var context = (Provider);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/use-registry.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/registry-provider/use-registry.js
 /**
  * WordPress dependencies
  */
@@ -3368,20 +3290,20 @@ const RegistryConsumer = Consumer;
  */

 function useRegistry() {
-  return Object(external_wp_element_["useContext"])(Context);
+  return (0,external_wp_element_namespaceObject.useContext)(Context);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/async-mode-provider/context.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/async-mode-provider/context.js
 /**
  * WordPress dependencies
  */

-const context_Context = Object(external_wp_element_["createContext"])(false);
+const context_Context = (0,external_wp_element_namespaceObject.createContext)(false);
 const {
   Consumer: context_Consumer,
   Provider: context_Provider
 } = context_Context;
-const AsyncModeConsumer = context_Consumer;
+const AsyncModeConsumer = (/* unused pure expression or super */ null && (context_Consumer));
 /**
  * Context Provider Component used to switch the data module component rerendering
  * between Sync and Async modes.
@@ -3419,7 +3341,7 @@ const AsyncModeConsumer = context_Consumer;

 /* harmony default export */ var async_mode_provider_context = (context_Provider);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/async-mode-provider/use-async-mode.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/async-mode-provider/use-async-mode.js
 /**
  * WordPress dependencies
  */
@@ -3430,10 +3352,10 @@ const AsyncModeConsumer = context_Consumer;


 function useAsyncMode() {
-  return Object(external_wp_element_["useContext"])(context_Context);
+  return (0,external_wp_element_namespaceObject.useContext)(context_Context);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-select/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-select/index.js
 /**
  * External dependencies
  */
@@ -3452,7 +3374,7 @@ function useAsyncMode() {



-const renderQueue = Object(external_wp_priorityQueue_["createQueue"])();
+const renderQueue = (0,external_wp_priorityQueue_namespaceObject.createQueue)();
 /** @typedef {import('./types').WPDataStore} WPDataStore */

 /**
@@ -3530,29 +3452,29 @@ function useSelect(_mapSelect, deps) {
     deps = [];
   }

-  const mapSelect = Object(external_wp_element_["useCallback"])(_mapSelect, deps);
+  const mapSelect = (0,external_wp_element_namespaceObject.useCallback)(_mapSelect, deps);
   const registry = useRegistry();
   const isAsync = useAsyncMode(); // React can sometimes clear the `useMemo` cache.
   // We use the cache-stable `useMemoOne` to avoid
   // losing queues.

-  const queueContext = Object(use_memo_one_esm["a" /* useMemoOne */])(() => ({
+  const queueContext = useMemoOne(() => ({
     queue: true
   }), [registry]);
-  const [, forceRender] = Object(external_wp_element_["useReducer"])(s => s + 1, 0);
-  const latestMapSelect = Object(external_wp_element_["useRef"])();
-  const latestIsAsync = Object(external_wp_element_["useRef"])(isAsync);
-  const latestMapOutput = Object(external_wp_element_["useRef"])();
-  const latestMapOutputError = Object(external_wp_element_["useRef"])();
-  const isMountedAndNotUnsubscribing = Object(external_wp_element_["useRef"])(); // Keep track of the stores being selected in the mapSelect function,
+  const [, forceRender] = (0,external_wp_element_namespaceObject.useReducer)(s => s + 1, 0);
+  const latestMapSelect = (0,external_wp_element_namespaceObject.useRef)();
+  const latestIsAsync = (0,external_wp_element_namespaceObject.useRef)(isAsync);
+  const latestMapOutput = (0,external_wp_element_namespaceObject.useRef)();
+  const latestMapOutputError = (0,external_wp_element_namespaceObject.useRef)();
+  const isMountedAndNotUnsubscribing = (0,external_wp_element_namespaceObject.useRef)(); // Keep track of the stores being selected in the mapSelect function,
   // and only subscribe to those stores later.

-  const listeningStores = Object(external_wp_element_["useRef"])([]);
-  const trapSelect = Object(external_wp_element_["useCallback"])(callback => registry.__experimentalMarkListeningStores(callback, listeningStores), [registry]); // Generate a "flag" for used in the effect dependency array.
+  const listeningStores = (0,external_wp_element_namespaceObject.useRef)([]);
+  const trapSelect = (0,external_wp_element_namespaceObject.useCallback)(callback => registry.__experimentalMarkListeningStores(callback, listeningStores), [registry]); // Generate a "flag" for used in the effect dependency array.
   // It's different than just using `mapSelect` since deps could be undefined,
   // in that case, we would still want to memoize it.

-  const depsChangedFlag = Object(external_wp_element_["useMemo"])(() => ({}), deps || []);
+  const depsChangedFlag = (0,external_wp_element_namespaceObject.useMemo)(() => ({}), deps || []);
   let mapOutput;

   if (!isWithoutMapping) {
@@ -3577,7 +3499,7 @@ function useSelect(_mapSelect, deps) {
     }
   }

-  Object(external_wp_compose_["useIsomorphicLayoutEffect"])(() => {
+  (0,external_wp_compose_namespaceObject.useIsomorphicLayoutEffect)(() => {
     if (isWithoutMapping) {
       return;
     }
@@ -3595,7 +3517,7 @@ function useSelect(_mapSelect, deps) {
       renderQueue.flush(queueContext);
     }
   });
-  Object(external_wp_compose_["useIsomorphicLayoutEffect"])(() => {
+  (0,external_wp_compose_namespaceObject.useIsomorphicLayoutEffect)(() => {
     if (isWithoutMapping) {
       return;
     }
@@ -3645,7 +3567,7 @@ function useSelect(_mapSelect, deps) {
   return isWithoutMapping ? registry.select(_mapSelect) : mapOutput;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-select/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-select/index.js



@@ -3698,16 +3620,16 @@ function useSelect(_mapSelect, deps) {
  * @return {WPComponent} Enhanced component with merged state data props.
  */

-const withSelect = mapSelectToProps => Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => Object(external_wp_compose_["pure"])(ownProps => {
+const withSelect = mapSelectToProps => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => (0,external_wp_compose_namespaceObject.pure)(ownProps => {
   const mapSelect = (select, registry) => mapSelectToProps(select, ownProps, registry);

   const mergeProps = useSelect(mapSelect);
-  return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, ownProps, mergeProps));
+  return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, ownProps, mergeProps));
 }), 'withSelect');

 /* harmony default export */ var with_select = (withSelect);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch-with-map.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch-with-map.js
 /**
  * External dependencies
  */
@@ -3740,13 +3662,13 @@ const withSelect = mapSelectToProps => Object(external_wp_compose_["createHigher

 const useDispatchWithMap = (dispatchMap, deps) => {
   const registry = useRegistry();
-  const currentDispatchMap = Object(external_wp_element_["useRef"])(dispatchMap);
-  Object(external_wp_compose_["useIsomorphicLayoutEffect"])(() => {
+  const currentDispatchMap = (0,external_wp_element_namespaceObject.useRef)(dispatchMap);
+  (0,external_wp_compose_namespaceObject.useIsomorphicLayoutEffect)(() => {
     currentDispatchMap.current = dispatchMap;
   });
-  return Object(external_wp_element_["useMemo"])(() => {
+  return (0,external_wp_element_namespaceObject.useMemo)(() => {
     const currentDispatchProps = currentDispatchMap.current(registry.dispatch, registry);
-    return Object(external_lodash_["mapValues"])(currentDispatchProps, (dispatcher, propName) => {
+    return (0,external_lodash_namespaceObject.mapValues)(currentDispatchProps, (dispatcher, propName) => {
       if (typeof dispatcher !== 'function') {
         // eslint-disable-next-line no-console
         console.warn(`Property ${propName} returned from dispatchMap in useDispatchWithMap must be a function.`);
@@ -3761,7 +3683,7 @@ const useDispatchWithMap = (dispatchMap, deps) => {

 /* harmony default export */ var use_dispatch_with_map = (useDispatchWithMap);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-dispatch/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-dispatch/index.js



@@ -3854,16 +3776,16 @@ const useDispatchWithMap = (dispatchMap, deps) => {
  * @return {WPComponent} Enhanced component with merged dispatcher props.
  */

-const withDispatch = mapDispatchToProps => Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => ownProps => {
+const withDispatch = mapDispatchToProps => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => ownProps => {
   const mapDispatch = (dispatch, registry) => mapDispatchToProps(dispatch, ownProps, registry);

   const dispatchProps = use_dispatch_with_map(mapDispatch, []);
-  return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, ownProps, dispatchProps));
+  return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, ownProps, dispatchProps));
 }, 'withDispatch');

 /* harmony default export */ var with_dispatch = (withDispatch);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-registry/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/with-registry/index.js



@@ -3885,12 +3807,12 @@ const withDispatch = mapDispatchToProps => Object(external_wp_compose_["createHi
  * @return {WPComponent} Enhanced component.
  */

-const withRegistry = Object(external_wp_compose_["createHigherOrderComponent"])(OriginalComponent => props => Object(external_wp_element_["createElement"])(RegistryConsumer, null, registry => Object(external_wp_element_["createElement"])(OriginalComponent, Object(esm_extends["a" /* default */])({}, props, {
+const withRegistry = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(OriginalComponent => props => (0,external_wp_element_namespaceObject.createElement)(RegistryConsumer, null, registry => (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, _extends({}, props, {
   registry: registry
 }))), 'withRegistry');
 /* harmony default export */ var with_registry = (withRegistry);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch.js
 /**
  * Internal dependencies
  */
@@ -3951,7 +3873,7 @@ const useDispatch = storeNameOrDefinition => {

 /* harmony default export */ var use_dispatch = (useDispatch);

-// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/index.js
 /**
  * External dependencies
  */
@@ -4104,7 +4026,7 @@ const build_module_dispatch = default_registry.dispatch;
  * ```
  */

-const build_module_subscribe = default_registry.subscribe;
+const subscribe = default_registry.subscribe;
 /**
  * Registers a generic store.
  *
@@ -4114,7 +4036,7 @@ const build_module_subscribe = default_registry.subscribe;
  * @param {Object} config Configuration (getSelectors, getActions, subscribe).
  */

-const build_module_registerGenericStore = default_registry.registerGenericStore;
+const registerGenericStore = default_registry.registerGenericStore;
 /**
  * Registers a standard `@wordpress/data` store.
  *
@@ -4135,7 +4057,7 @@ const registerStore = default_registry.registerStore;
  * @param {Object} plugin Plugin object.
  */

-const build_module_use = default_registry.use;
+const use = default_registry.use;
 /**
  * Registers a standard `@wordpress/data` store definition.
  *
@@ -4155,41 +4077,9 @@ const build_module_use = default_registry.use;
  * @param {WPDataStore} store Store definition.
  */

-const build_module_register = default_registry.register;
-
-
-/***/ }),
-
-/***/ "rl8x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["isShallowEqual"]; }());
-
-/***/ }),
-
-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
-
-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
-
-    return target;
-  };
+const register = default_registry.register;

-  return _extends.apply(this, arguments);
-}
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).data = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/data.min.js b/wp-includes/js/dist/data.min.js
index 0b8525bbf6..a4c90673db 100644
--- a/wp-includes/js/dist/data.min.js
+++ b/wp-includes/js/dist/data.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.data=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="pfJ3")}({"8mpt":function(e,t){e.exports=function(e){var t,r=Object.keys(e);return t=function(){var e,t,n;for(e="return {",t=0;t<r.length;t++)e+=(n=JSON.stringify(r[t]))+":r["+n+"](s["+n+"],a),";return e+="}",new Function("r,s,a",e)}(),function(n,o){var i,c,u;if(void 0===n)return t(e,{},o);for(i=t(e,n,o),c=r.length;c--;)if(n[u=r[c]]!==i[u])return i;return n}}},FtRg:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){var r=e._map,n=e._arrayTreeMap,o=e._objectTreeMap;if(r.has(t))return r.get(t);for(var i=Object.keys(t).sort(),c=Array.isArray(t)?n:o,u=0;u<i.length;u++){var s=i[u];if(void 0===(c=c.get(s)))return;var a=t[s];if(void 0===(c=c.get(a)))return}var l=c.get("_ekm_value");return l?(r.delete(l[0]),l[0]=t,c.set("_ekm_value",l),r.set(t,l),l):void 0}var c=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var r=[];t.forEach((function(e,t){r.push([t,e])})),t=r}if(null!=t)for(var n=0;n<t.length;n++)this.set(t[n][0],t[n][1])}var t,r,c;return t=e,(r=[{key:"set",value:function(t,r){if(null===t||"object"!==n(t))return this._map.set(t,r),this;for(var o=Object.keys(t).sort(),i=[t,r],c=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,u=0;u<o.length;u++){var s=o[u];c.has(s)||c.set(s,new e),c=c.get(s);var a=t[s];c.has(a)||c.set(a,new e),c=c.get(a)}var l=c.get("_ekm_value");return l&&this._map.delete(l[0]),c.set("_ekm_value",i),this._map.set(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==n(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==n(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),e.call(r,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),c&&o(t,c),e}();e.exports=c},GRId:function(e,t){e.exports=window.wp.element},JlUD:function(e,t){function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=r,e.exports.default=r},K9lf:function(e,t){e.exports=window.wp.compose},NMb1:function(e,t){e.exports=window.wp.deprecated},XI5e:function(e,t){e.exports=window.wp.priorityQueue},XIDh:function(e,t){e.exports=window.wp.reduxRoutine},YLtl:function(e,t){e.exports=window.lodash},cDcd:function(e,t){e.exports=window.React},mHlH:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("cDcd");function o(e,t){var r=Object(n.useState)((function(){return{inputs:t,result:e()}}))[0],o=Object(n.useRef)(!0),i=Object(n.useRef)(r),c=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return Object(n.useEffect)((function(){o.current=!1,i.current=c}),[c]),c.result}},pfJ3:function(e,t,r){"use strict";r.r(t),r.d(t,"withSelect",(function(){return Pe})),r.d(t,"withDispatch",(function(){return De})),r.d(t,"withRegistry",(function(){return Ue})),r.d(t,"RegistryProvider",(function(){return _e})),r.d(t,"RegistryConsumer",(function(){return je})),r.d(t,"useRegistry",(function(){return Ee})),r.d(t,"useSelect",(function(){return xe})),r.d(t,"useDispatch",(function(){return ke})),r.d(t,"AsyncModeProvider",(function(){return Ae})),r.d(t,"createRegistry",(function(){return Z})),r.d(t,"createRegistrySelector",(function(){return j})),r.d(t,"createRegistryControl",(function(){return _})),r.d(t,"controls",(function(){return T})),r.d(t,"createReduxStore",(function(){return q})),r.d(t,"plugins",(function(){return i})),r.d(t,"combineReducers",(function(){return u.a})),r.d(t,"select",(function(){return Me})),r.d(t,"resolveSelect",(function(){return Fe})),r.d(t,"dispatch",(function(){return Ve})),r.d(t,"subscribe",(function(){return He})),r.d(t,"registerGenericStore",(function(){return Ge})),r.d(t,"registerStore",(function(){return Ke})),r.d(t,"use",(function(){return Xe})),r.d(t,"register",(function(){return Je}));var n={};r.r(n),r.d(n,"getIsResolving",(function(){return U})),r.d(n,"hasStartedResolution",(function(){return k})),r.d(n,"hasFinishedResolution",(function(){return M})),r.d(n,"isResolving",(function(){return F})),r.d(n,"getCachedResolvers",(function(){return V}));var o={};r.r(o),r.d(o,"startResolution",(function(){return H})),r.d(o,"finishResolution",(function(){return G})),r.d(o,"startResolutions",(function(){return K})),r.d(o,"finishResolutions",(function(){return X})),r.d(o,"invalidateResolution",(function(){return J})),r.d(o,"invalidateResolutionForStore",(function(){return W})),r.d(o,"invalidateResolutionForStoreSelector",(function(){return z}));var i={};r.r(i),r.d(i,"controls",(function(){return ne})),r.d(i,"persistence",(function(){return pe}));var c=r("8mpt"),u=r.n(c),s=r("YLtl");function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var p="function"==typeof Symbol&&Symbol.observable||"@@observable",b=function(){return Math.random().toString(36).substring(7).split("").join(".")},g={INIT:"@@redux/INIT"+b(),REPLACE:"@@redux/REPLACE"+b(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+b()}};function h(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function O(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(d(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(d(1));return r(O)(e,t)}if("function"!=typeof e)throw new Error(d(2));var o=e,i=t,c=[],u=c,s=!1;function a(){u===c&&(u=c.slice())}function l(){if(s)throw new Error(d(3));return i}function f(e){if("function"!=typeof e)throw new Error(d(4));if(s)throw new Error(d(5));var t=!0;return a(),u.push(e),function(){if(t){if(s)throw new Error(d(6));t=!1,a();var r=u.indexOf(e);u.splice(r,1),c=null}}}function b(e){if(!h(e))throw new Error(d(7));if(void 0===e.type)throw new Error(d(8));if(s)throw new Error(d(9));try{s=!0,i=o(i,e)}finally{s=!1}for(var t=c=u,r=0;r<t.length;r++){(0,t[r])()}return e}function v(e){if("function"!=typeof e)throw new Error(d(10));o=e,b({type:g.REPLACE})}function y(){var e,t=f;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(d(11));function r(){e.next&&e.next(l())}return r(),{unsubscribe:t(r)}}})[p]=function(){return this},e}return b({type:g.INIT}),(n={dispatch:b,subscribe:f,getState:l,replaceReducer:v})[p]=y,n}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(d(15))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return n=v.apply(void 0,i)(r.dispatch),f(f({},r),{},{dispatch:n})}}}var S=r("FtRg"),m=r.n(S),w=r("XIDh"),R=r.n(w);function j(e){const t=function(){return e(t.registry.select)(...arguments)};return t.isRegistrySelector=!0,t}function _(e){return e.isRegistryControl=!0,e}const E="@@data/SELECT";const T={select:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:E,storeKey:Object(s.isObject)(e)?e.name:e,selectorName:t,args:n}},resolveSelect:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"@@data/RESOLVE_SELECT",storeKey:Object(s.isObject)(e)?e.name:e,selectorName:t,args:n}},dispatch:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"@@data/DISPATCH",storeKey:Object(s.isObject)(e)?e.name:e,actionName:t,args:n}}},I={[E]:_(e=>t=>{let{storeKey:r,selectorName:n,args:o}=t;return e.select(r)[n](...o)}),"@@data/RESOLVE_SELECT":_(e=>t=>{let{storeKey:r,selectorName:n,args:o}=t;const i=e.select(r)[n].hasResolver?"resolveSelect":"select";return e[i](r)[n](...o)}),"@@data/DISPATCH":_(e=>t=>{let{storeKey:r,actionName:n,args:o}=t;return e.dispatch(r)[n](...o)})};var N=r("JlUD"),A=r.n(N);var L=()=>e=>t=>A()(t)?t.then(t=>{if(t)return e(t)}):e(t);var x=(e,t)=>()=>r=>n=>{const o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach(r=>{let[o,i]=r;const c=Object(s.get)(e.stores,[t,"resolvers",o]);c&&c.shouldInvalidate&&i.forEach((r,i)=>{!1===r&&c.shouldInvalidate(n,...i)&&e.dispatch("core/data").invalidateResolution(t,o,i)})}),r(n)};const P=(C="selectorName",e=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;const n=r[C];if(void 0===n)return t;const o=e(t[n],r);return o===t[n]?t:{...t,[n]:o}})((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new m.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":{const r="START_RESOLUTION"===t.type,n=new m.a(e);return n.set(t.args,r),n}case"START_RESOLUTIONS":case"FINISH_RESOLUTIONS":{const r="START_RESOLUTIONS"===t.type,n=new m.a(e);for(const e of t.args)n.set(e,r);return n}case"INVALIDATE_RESOLUTION":{const r=new m.a(e);return r.delete(t.args),r}}return e}));var C;var D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(s.has)(e,[t.selectorName])?Object(s.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"START_RESOLUTIONS":case"FINISH_RESOLUTIONS":case"INVALIDATE_RESOLUTION":return P(e,t)}return e};function U(e,t,r){const n=Object(s.get)(e,[t]);if(n)return n.get(r)}function k(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==U(e,t,r)}function M(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===U(e,t,r)}function F(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===U(e,t,r)}function V(e){return e}function H(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function G(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function K(e,t){return{type:"START_RESOLUTIONS",selectorName:e,args:t}}function X(e,t){return{type:"FINISH_RESOLUTIONS",selectorName:e,args:t}}function J(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function W(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function z(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}const B=e=>{const t=[...e];for(let e=t.length-1;e>=0;e--)void 0===t[e]&&t.splice(e,1);return t};function q(e,t){return{name:e,instantiate:r=>{const i=t.reducer,c=function(e,t,r,n){const o={...t.controls,...I},i=Object(s.mapValues)(o,e=>e.isRegistryControl?e(r):e),c=[x(r,e),L,R()(i)];t.__experimentalUseThunks&&c.push((a=n,()=>e=>t=>"function"==typeof t?t(a):e(t)));var a;const l=[y(...c)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&l.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));const{reducer:f,initialState:d}=t;return O(u()({metadata:D,root:f}),{root:d},Object(s.flowRight)(l))}(e,t,r,{registry:r,get dispatch(){return Object.assign(e=>c.dispatch(e),g())},get select(){return Object.assign(e=>e(c.__unstableOriginalGetState()),b())},get resolveSelect(){return h()}}),a=function(){const e={};return{isRunning:(t,r)=>e[t]&&e[t].get(B(r)),clear(t,r){e[t]&&e[t].delete(B(r))},markAsRunning(t,r){e[t]||(e[t]=new m.a),e[t].set(B(r),!0)}}}();let l;const f=function(e,t){return Object(s.mapValues)(e,e=>function(){return Promise.resolve(t.dispatch(e(...arguments)))})}({...o,...t.actions},c);let d=function(e,t){return Object(s.mapValues)(e,e=>{const r=function(){const r=arguments.length,n=new Array(r+1);n[0]=t.__unstableOriginalGetState();for(let e=0;e<r;e++)n[e+1]=arguments[e];return e(...n)};return r.hasResolver=!1,r})}({...Object(s.mapValues)(n,e=>function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e(t.metadata,...n)}),...Object(s.mapValues)(t.selectors,e=>(e.isRegistrySelector&&(e.registry=r),function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e(t.root,...n)}))},c);if(t.resolvers){const e=function(e,t,r,n){const o=Object(s.mapValues)(e,e=>e.fulfill?e:{...e,fulfill:e});return{resolvers:o,selectors:Object(s.mapValues)(t,(t,i)=>{const c=e[i];if(!c)return t.hasResolver=!1,t;const u=function(){for(var e=arguments.length,u=new Array(e),s=0;s<e;s++)u[s]=arguments[s];async function a(){const e=r.getState();if(n.isRunning(i,u)||"function"==typeof c.isFulfilled&&c.isFulfilled(e,...u))return;const{metadata:t}=r.__unstableOriginalGetState();k(t,i,u)||(n.markAsRunning(i,u),setTimeout(async()=>{n.clear(i,u),r.dispatch(H(i,u)),await Q(r,o,i,...u),r.dispatch(G(i,u))}))}return a(...u),t(...u)};return u.hasResolver=!0,u})}}(t.resolvers,d,c,a);l=e.resolvers,d=e.selectors}const p=function(e,t){return Object(s.mapValues)(Object(s.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(r,n)=>function(){for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];return new Promise(o=>{const c=()=>e.hasFinishedResolution(n,i),u=()=>r.apply(null,i),s=u();if(c())return o(s);const a=t.subscribe(()=>{c()&&(a(),o(u()))})})})}(d,c),b=()=>d,g=()=>f,h=()=>p;c.__unstableOriginalGetState=c.getState,c.getState=()=>c.__unstableOriginalGetState().root;const v=c&&(e=>{let t=c.__unstableOriginalGetState();return c.subscribe(()=>{const r=c.__unstableOriginalGetState(),n=r!==t;t=r,n&&e()})});return{reducer:i,store:c,actions:f,selectors:d,resolvers:l,getSelectors:b,getResolveSelectors:h,getActions:g,subscribe:v}}}}async function Q(e,t,r){const n=Object(s.get)(t,[r]);if(!n)return;for(var o=arguments.length,i=new Array(o>3?o-3:0),c=3;c<o;c++)i[c-3]=arguments[c];const u=n.fulfill(...i);u&&await e.dispatch(u)}var Y=function(e){const t=t=>function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return e.select(r)[t](...o)},r=t=>function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return e.dispatch(r)[t](...o)};return{getSelectors:()=>["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((e,r)=>({...e,[r]:t(r)}),{}),getActions:()=>["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((e,t)=>({...e,[t]:r(t)}),{}),subscribe:()=>()=>{}}};function $(){let e=!1,t=!1;const r=new Set,n=()=>Array.from(r).forEach(e=>e());return{get isPaused(){return e},subscribe:e=>(r.add(e),()=>r.delete(e)),pause(){e=!0},resume(){e=!1,t&&(t=!1,n())},emit(){e?t=!0:n()}}}function Z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r={},n=$(),o=new Set;function i(){n.emit()}const c=e=>n.subscribe(e);function u(e){const n=Object(s.isObject)(e)?e.name:e;o.add(n);const i=r[n];return i?i.getSelectors():t&&t.select(n)}function a(e,t){o.clear();const r=e.call(this);return t.current=Array.from(o),r}function l(e){const n=Object(s.isObject)(e)?e.name:e;o.add(n);const i=r[n];return i?i.getResolveSelectors():t&&t.resolveSelect(n)}function f(e){const n=Object(s.isObject)(e)?e.name:e,o=r[n];return o?o.getActions():t&&t.dispatch(n)}function d(e){return Object(s.mapValues)(e,(e,t)=>"function"!=typeof e?e:function(){return O[t].apply(null,arguments)})}function p(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");t.emitter=$();const n=t.subscribe;t.subscribe=e=>{const r=t.emitter.subscribe(e),o=n(()=>{t.emitter.isPaused?t.emitter.emit():e()});return()=>{o&&o(),r()}},r[e]=t,t.subscribe(i)}function b(e){p(e.name,e.instantiate(O))}function g(e,n){return e in r?r[e].subscribe(n):t?t.__experimentalSubscribeStore(e,n):c(n)}function h(e){n.pause(),Object(s.forEach)(r,e=>e.emitter.pause()),e(),n.resume(),Object(s.forEach)(r,e=>e.emitter.resume())}let O={batch:h,registerGenericStore:p,stores:r,namespaces:r,subscribe:c,select:u,resolveSelect:l,dispatch:f,use:v,register:b,__experimentalMarkListeningStores:a,__experimentalSubscribeStore:g};function v(e,t){return O={...O,...e(O,t)},O}return O.registerStore=(e,t)=>{if(!t.reducer)throw new TypeError("Must specify store reducer");const r=q(e,t).instantiate(O);return p(e,r),r.store},p("core/data",Y(O)),Object.entries(e).forEach(e=>{let[t,r]=e;return O.registerStore(t,r)}),t&&t.subscribe(i),d(O)}var ee=Z(),te=r("NMb1"),re=r.n(te),ne=e=>(re()("wp.data.plugins.controls",{since:"5.4",hint:"The controls plugins is now baked-in."}),e);let oe;const ie={getItem:e=>oe&&oe[e]?oe[e]:null,setItem(e,t){oe||ie.clear(),oe[e]=String(t)},clear(){oe=Object.create(null)}};var ce=ie;let ue;try{ue=window.localStorage,ue.setItem("__wpDataTestLocalStorage",""),ue.removeItem("__wpDataTestLocalStorage")}catch(e){ue=ce}const se=ue,ae="WP_DATA";function le(e){const{storage:t=se,storageKey:r=ae}=e;let n;return{get:function(){if(void 0===n){const e=t.getItem(r);if(null===e)n={};else try{n=JSON.parse(e)}catch(e){n={}}}return n},set:function(e,o){n={...n,[e]:o},t.setItem(r,JSON.stringify(n))}}}function fe(e,t){const r=le(t);return{registerStore(t,n){if(!n.persist)return e.registerStore(t,n);const o=r.get()[t];if(void 0!==o){let e=n.reducer(n.initialState,{type:"@@WP/PERSISTENCE_RESTORE"});e=Object(s.isPlainObject)(e)&&Object(s.isPlainObject)(o)?Object(s.merge)({},e,o):o,n={...n,initialState:e}}const i=e.registerStore(t,n);return i.subscribe(function(e,t,n){let o;if(Array.isArray(n)){const e=n.reduce((e,t)=>Object.assign(e,{[t]:(e,r)=>r.nextState[t]}),{});i=u()(e),o=(e,t)=>t.nextState===e?e:i(e,t)}else o=(e,t)=>t.nextState;var i;let c=o(void 0,{nextState:e()});return()=>{const n=o(c,{nextState:e()});n!==c&&(r.set(t,n),c=n)}}(i.getState,t,n.persist)),i}}}function de(e,t){var r;const n=e.get(),o=null===(r=n[t])||void 0===r?void 0:r.preferences,i=null==o?void 0:o.features;if(i){var c,u;const r=null===(c=n["core/interface"])||void 0===c||null===(u=c.preferences)||void 0===u?void 0:u.features;null!=r&&r[t]||(e.set("core/interface",{preferences:{features:{...r,[t]:i}}}),e.set(t,{preferences:{...o,features:void 0}}))}}fe.__unstableMigrate=e=>{const t=le(e);de(t,"core/edit-widgets"),de(t,"core/customize-widgets"),de(t,"core/edit-post")};var pe=fe,be=r("wx14"),ge=r("GRId"),he=r("K9lf"),Oe=r("mHlH"),ve=r("XI5e"),ye=r("rl8x"),Se=r.n(ye);const me=Object(ge.createContext)(ee),{Consumer:we,Provider:Re}=me,je=we;var _e=Re;function Ee(){return Object(ge.useContext)(me)}const Te=Object(ge.createContext)(!1),{Consumer:Ie,Provider:Ne}=Te;var Ae=Ne;const Le=Object(ve.createQueue)();function xe(e,t){const r="function"!=typeof e;r&&(t=[]);const n=Object(ge.useCallback)(e,t),o=Ee(),i=Object(ge.useContext)(Te),c=Object(Oe.a)(()=>({queue:!0}),[o]),[,u]=Object(ge.useReducer)(e=>e+1,0),s=Object(ge.useRef)(),a=Object(ge.useRef)(i),l=Object(ge.useRef)(),f=Object(ge.useRef)(),d=Object(ge.useRef)(),p=Object(ge.useRef)([]),b=Object(ge.useCallback)(e=>o.__experimentalMarkListeningStores(e,p),[o]),g=Object(ge.useMemo)(()=>({}),t||[]);let h;if(!r)try{h=s.current!==n||f.current?b(()=>n(o.select,o)):l.current}catch(e){let t="An error occurred while running 'mapSelect': "+e.message;f.current&&(t+="\nThe error may be correlated with this previous error:\n",t+=f.current.stack+"\n\n",t+="Original stack trace:"),console.error(t),h=l.current}return Object(he.useIsomorphicLayoutEffect)(()=>{r||(s.current=n,l.current=h,f.current=void 0,d.current=!0,a.current!==i&&(a.current=i,Le.flush(c)))}),Object(he.useIsomorphicLayoutEffect)(()=>{if(r)return;const e=()=>{if(d.current){try{const e=b(()=>s.current(o.select,o));if(Se()(l.current,e))return;l.current=e}catch(e){f.current=e}u()}};a.current?Le.add(c,e):e();const t=()=>{a.current?Le.add(c,e):e()},n=p.current.map(e=>o.__experimentalSubscribeStore(e,t));return()=>{d.current=!1,n.forEach(e=>null==e?void 0:e()),Le.flush(c)}},[o,b,g,r]),r?o.select(e):h}var Pe=e=>Object(he.createHigherOrderComponent)(t=>Object(he.pure)(r=>{const n=xe((t,n)=>e(t,r,n));return Object(ge.createElement)(t,Object(be.a)({},r,n))}),"withSelect");var Ce=(e,t)=>{const r=Ee(),n=Object(ge.useRef)(e);return Object(he.useIsomorphicLayoutEffect)(()=>{n.current=e}),Object(ge.useMemo)(()=>{const e=n.current(r.dispatch,r);return Object(s.mapValues)(e,(e,t)=>("function"!=typeof e&&console.warn(`Property ${t} returned from dispatchMap in useDispatchWithMap must be a function.`),function(){return n.current(r.dispatch,r)[t](...arguments)}))},[r,...t])};var De=e=>Object(he.createHigherOrderComponent)(t=>r=>{const n=Ce((t,n)=>e(t,r,n),[]);return Object(ge.createElement)(t,Object(be.a)({},r,n))},"withDispatch");var Ue=Object(he.createHigherOrderComponent)(e=>t=>Object(ge.createElement)(je,null,r=>Object(ge.createElement)(e,Object(be.a)({},t,{registry:r}))),"withRegistry");var ke=e=>{const{dispatch:t}=Ee();return void 0===e?t:t(e)};const Me=ee.select,Fe=ee.resolveSelect,Ve=ee.dispatch,He=ee.subscribe,Ge=ee.registerGenericStore,Ke=ee.registerStore,Xe=ee.use,Je=ee.register},rl8x:function(e,t){e.exports=window.wp.isShallowEqual},wx14:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))}});
\ No newline at end of file
+!function(){var e={2167:function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t){var r=e._map,n=e._arrayTreeMap,o=e._objectTreeMap;if(r.has(t))return r.get(t);for(var i=Object.keys(t).sort(),u=Array.isArray(t)?n:o,s=0;s<i.length;s++){var c=i[s];if(void 0===(u=u.get(c)))return;var a=t[c];if(void 0===(u=u.get(a)))return}var l=u.get("_ekm_value");return l?(r.delete(l[0]),l[0]=t,u.set("_ekm_value",l),r.set(t,l),l):void 0}var o=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var r=[];t.forEach((function(e,t){r.push([t,e])})),t=r}if(null!=t)for(var n=0;n<t.length;n++)this.set(t[n][0],t[n][1])}var o,i,u;return o=e,i=[{key:"set",value:function(r,n){if(null===r||"object"!==t(r))return this._map.set(r,n),this;for(var o=Object.keys(r).sort(),i=[r,n],u=Array.isArray(r)?this._arrayTreeMap:this._objectTreeMap,s=0;s<o.length;s++){var c=o[s];u.has(c)||u.set(c,new e),u=u.get(c);var a=r[c];u.has(a)||u.set(a,new e),u=u.get(a)}var l=u.get("_ekm_value");return l&&this._map.delete(l[0]),u.set("_ekm_value",i),this._map.set(r,i),this}},{key:"get",value:function(e){if(null===e||"object"!==t(e))return this._map.get(e);var r=n(this,e);return r?r[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==t(e)?this._map.has(e):void 0!==n(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===t(i)&&(o=o[1]),e.call(n,o,i,r)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}],i&&r(o.prototype,i),u&&r(o,u),e}();e.exports=o},9125:function(e){e.exports=function(e){var t,r=Object.keys(e);return t=function(){var e,t,n;for(e="return {",t=0;t<r.length;t++)e+=(n=JSON.stringify(r[t]))+":r["+n+"](s["+n+"],a),";return e+="}",new Function("r,s,a",e)}(),function(n,o){var i,u,s;if(void 0===n)return t(e,{},o);for(i=t(e,n,o),u=r.length;u--;)if(n[s=r[u]]!==i[s])return i;return n}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";r.r(n),r.d(n,{AsyncModeProvider:function(){return Le},RegistryConsumer:function(){return Ee},RegistryProvider:function(){return Te},combineReducers:function(){return u()},controls:function(){return N},createReduxStore:function(){return $},createRegistry:function(){return Z},createRegistryControl:function(){return _},createRegistrySelector:function(){return R},dispatch:function(){return Ge},plugins:function(){return o},register:function(){return ze},registerGenericStore:function(){return Ke},registerStore:function(){return We},resolveSelect:function(){return Ve},select:function(){return Fe},subscribe:function(){return He},use:function(){return Xe},useDispatch:function(){return Me},useRegistry:function(){return Ie},useSelect:function(){return xe},withDispatch:function(){return Ue},withRegistry:function(){return De},withSelect:function(){return Ce}});var e={};r.r(e),r.d(e,{getCachedResolvers:function(){return V},getIsResolving:function(){return U},hasFinishedResolution:function(){return M},hasStartedResolution:function(){return D},isResolving:function(){return F}});var t={};r.r(t),r.d(t,{finishResolution:function(){return H},finishResolutions:function(){return W},invalidateResolution:function(){return X},invalidateResolutionForStore:function(){return z},invalidateResolutionForStoreSelector:function(){return B},startResolution:function(){return G},startResolutions:function(){return K}});var o={};r.r(o),r.d(o,{controls:function(){return ne},persistence:function(){return ge}});var i=r(9125),u=r.n(i),s=window.lodash;function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var p="function"==typeof Symbol&&Symbol.observable||"@@observable",g=function(){return Math.random().toString(36).substring(7).split("").join(".")},d={INIT:"@@redux/INIT"+g(),REPLACE:"@@redux/REPLACE"+g(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+g()}};function h(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function v(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(f(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(f(1));return r(v)(e,t)}if("function"!=typeof e)throw new Error(f(2));var o=e,i=t,u=[],s=u,c=!1;function a(){s===u&&(s=u.slice())}function l(){if(c)throw new Error(f(3));return i}function g(e){if("function"!=typeof e)throw new Error(f(4));if(c)throw new Error(f(5));var t=!0;return a(),s.push(e),function(){if(t){if(c)throw new Error(f(6));t=!1,a();var r=s.indexOf(e);s.splice(r,1),u=null}}}function y(e){if(!h(e))throw new Error(f(7));if(void 0===e.type)throw new Error(f(8));if(c)throw new Error(f(9));try{c=!0,i=o(i,e)}finally{c=!1}for(var t=u=s,r=0;r<t.length;r++){(0,t[r])()}return e}function S(e){if("function"!=typeof e)throw new Error(f(10));o=e,y({type:d.REPLACE})}function b(){var e,t=g;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(f(11));function r(){e.next&&e.next(l())}return r(),{unsubscribe:t(r)}}})[p]=function(){return this},e}return y({type:d.INIT}),(n={dispatch:y,subscribe:g,getState:l,replaceReducer:S})[p]=b,n}function y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function S(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(f(15))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return n=y.apply(void 0,i)(r.dispatch),l(l({},r),{},{dispatch:n})}}}var b=r(2167),m=r.n(b),O=window.wp.reduxRoutine,w=r.n(O);function R(e){const t=function(){return e(t.registry.select)(...arguments)};return t.isRegistrySelector=!0,t}function _(e){return e.isRegistryControl=!0,e}const E="@@data/SELECT",T="@@data/RESOLVE_SELECT",I="@@data/DISPATCH";const N={select:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:E,storeKey:(0,s.isObject)(e)?e.name:e,selectorName:t,args:n}},resolveSelect:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:T,storeKey:(0,s.isObject)(e)?e.name:e,selectorName:t,args:n}},dispatch:function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:I,storeKey:(0,s.isObject)(e)?e.name:e,actionName:t,args:n}}},A={[E]:_((e=>t=>{let{storeKey:r,selectorName:n,args:o}=t;return e.select(r)[n](...o)})),[T]:_((e=>t=>{let{storeKey:r,selectorName:n,args:o}=t;const i=e.select(r)[n].hasResolver?"resolveSelect":"select";return e[i](r)[n](...o)})),[I]:_((e=>t=>{let{storeKey:r,actionName:n,args:o}=t;return e.dispatch(r)[n](...o)}))};var j=()=>e=>t=>{return!(r=t)||"object"!=typeof r&&"function"!=typeof r||"function"!=typeof r.then?e(t):t.then((t=>{if(t)return e(t)}));var r};const L="core/data";var P=(e,t)=>()=>r=>n=>{const o=e.select(L).getCachedResolvers(t);return Object.entries(o).forEach((r=>{let[o,i]=r;const u=(0,s.get)(e.stores,[t,"resolvers",o]);u&&u.shouldInvalidate&&i.forEach(((r,i)=>{!1===r&&u.shouldInvalidate(n,...i)&&e.dispatch(L).invalidateResolution(t,o,i)}))})),r(n)};const x=(C="selectorName",e=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;const n=r[C];if(void 0===n)return t;const o=e(t[n],r);return o===t[n]?t:{...t,[n]:o}})((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new(m()),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":{const r="START_RESOLUTION"===t.type,n=new(m())(e);return n.set(t.args,r),n}case"START_RESOLUTIONS":case"FINISH_RESOLUTIONS":{const r="START_RESOLUTIONS"===t.type,n=new(m())(e);for(const e of t.args)n.set(e,r);return n}case"INVALIDATE_RESOLUTION":{const r=new(m())(e);return r.delete(t.args),r}}return e}));var C;var k=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return(0,s.has)(e,[t.selectorName])?(0,s.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"START_RESOLUTIONS":case"FINISH_RESOLUTIONS":case"INVALIDATE_RESOLUTION":return x(e,t)}return e};function U(e,t,r){const n=(0,s.get)(e,[t]);if(n)return n.get(r)}function D(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==U(e,t,r)}function M(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===U(e,t,r)}function F(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===U(e,t,r)}function V(e){return e}function G(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function H(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function K(e,t){return{type:"START_RESOLUTIONS",selectorName:e,args:t}}function W(e,t){return{type:"FINISH_RESOLUTIONS",selectorName:e,args:t}}function X(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function z(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function B(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}const J=e=>{const t=[...e];for(let e=t.length-1;e>=0;e--)void 0===t[e]&&t.splice(e,1);return t};function $(r,n){return{name:r,instantiate:o=>{const i=n.reducer,c=function(e,t,r,n){const o={...t.controls,...A},i=(0,s.mapValues)(o,(e=>e.isRegistryControl?e(r):e)),c=[P(r,e),j,w()(i)];t.__experimentalUseThunks&&c.push((a=n,()=>e=>t=>"function"==typeof t?t(a):e(t)));var a;const l=[S(...c)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&l.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));const{reducer:f,initialState:p}=t;return v(u()({metadata:k,root:f}),{root:p},(0,s.flowRight)(l))}(r,n,o,{registry:o,get dispatch(){return Object.assign((e=>c.dispatch(e)),h())},get select(){return Object.assign((e=>e(c.__unstableOriginalGetState())),d())},get resolveSelect(){return y()}}),a=function(){const e={};return{isRunning:(t,r)=>e[t]&&e[t].get(J(r)),clear(t,r){e[t]&&e[t].delete(J(r))},markAsRunning(t,r){e[t]||(e[t]=new(m())),e[t].set(J(r),!0)}}}();let l;const f=function(e,t){const r=e=>function(){return Promise.resolve(t.dispatch(e(...arguments)))};return(0,s.mapValues)(e,r)}({...t,...n.actions},c);let p=function(e,t){const r=e=>{const r=function(){const r=arguments.length,n=new Array(r+1);n[0]=t.__unstableOriginalGetState();for(let e=0;e<r;e++)n[e+1]=arguments[e];return e(...n)};return r.hasResolver=!1,r};return(0,s.mapValues)(e,r)}({...(0,s.mapValues)(e,(e=>function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e(t.metadata,...n)})),...(0,s.mapValues)(n.selectors,(e=>(e.isRegistrySelector&&(e.registry=o),function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e(t.root,...n)})))},c);if(n.resolvers){const e=function(e,t,r,n){const o=(0,s.mapValues)(e,(e=>e.fulfill?e:{...e,fulfill:e})),i=(t,i)=>{const u=e[i];if(!u)return t.hasResolver=!1,t;const s=function(){for(var e=arguments.length,s=new Array(e),c=0;c<e;c++)s[c]=arguments[c];async function a(){const e=r.getState();if(n.isRunning(i,s)||"function"==typeof u.isFulfilled&&u.isFulfilled(e,...s))return;const{metadata:t}=r.__unstableOriginalGetState();D(t,i,s)||(n.markAsRunning(i,s),setTimeout((async()=>{n.clear(i,s),r.dispatch(G(i,s)),await q(r,o,i,...s),r.dispatch(H(i,s))})))}return a(...s),t(...s)};return s.hasResolver=!0,s};return{resolvers:o,selectors:(0,s.mapValues)(t,i)}}(n.resolvers,p,c,a);l=e.resolvers,p=e.selectors}const g=function(e,t){return(0,s.mapValues)((0,s.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),((r,n)=>function(){for(var o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];return new Promise((o=>{const u=()=>e.hasFinishedResolution(n,i),s=()=>r.apply(null,i),c=s();if(u())return o(c);const a=t.subscribe((()=>{u()&&(a(),o(s()))}))}))}))}(p,c),d=()=>p,h=()=>f,y=()=>g;c.__unstableOriginalGetState=c.getState,c.getState=()=>c.__unstableOriginalGetState().root;const b=c&&(e=>{let t=c.__unstableOriginalGetState();return c.subscribe((()=>{const r=c.__unstableOriginalGetState(),n=r!==t;t=r,n&&e()}))});return{reducer:i,store:c,actions:f,selectors:p,resolvers:l,getSelectors:d,getResolveSelectors:y,getActions:h,subscribe:b}}}}async function q(e,t,r){const n=(0,s.get)(t,[r]);if(!n)return;for(var o=arguments.length,i=new Array(o>3?o-3:0),u=3;u<o;u++)i[u-3]=arguments[u];const c=n.fulfill(...i);c&&await e.dispatch(c)}var Q=function(e){const t=t=>function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return e.select(r)[t](...o)},r=t=>function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return e.dispatch(r)[t](...o)};return{getSelectors:()=>["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce(((e,r)=>({...e,[r]:t(r)})),{}),getActions:()=>["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce(((e,t)=>({...e,[t]:r(t)})),{}),subscribe:()=>()=>{}}};function Y(){let e=!1,t=!1;const r=new Set,n=()=>Array.from(r).forEach((e=>e()));return{get isPaused(){return e},subscribe:e=>(r.add(e),()=>r.delete(e)),pause(){e=!0},resume(){e=!1,t&&(t=!1,n())},emit(){e?t=!0:n()}}}function Z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r={},n=Y(),o=new Set;function i(){n.emit()}const u=e=>n.subscribe(e);function c(e){const n=(0,s.isObject)(e)?e.name:e;o.add(n);const i=r[n];return i?i.getSelectors():t&&t.select(n)}function a(e,t){o.clear();const r=e.call(this);return t.current=Array.from(o),r}function l(e){const n=(0,s.isObject)(e)?e.name:e;o.add(n);const i=r[n];return i?i.getResolveSelectors():t&&t.resolveSelect(n)}function f(e){const n=(0,s.isObject)(e)?e.name:e,o=r[n];return o?o.getActions():t&&t.dispatch(n)}function p(e){return(0,s.mapValues)(e,((e,t)=>"function"!=typeof e?e:function(){return y[t].apply(null,arguments)}))}function g(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");t.emitter=Y();const n=t.subscribe;t.subscribe=e=>{const r=t.emitter.subscribe(e),o=n((()=>{t.emitter.isPaused?t.emitter.emit():e()}));return()=>{o&&o(),r()}},r[e]=t,t.subscribe(i)}function d(e){g(e.name,e.instantiate(y))}function h(e,n){return e in r?r[e].subscribe(n):t?t.__experimentalSubscribeStore(e,n):u(n)}function v(e){n.pause(),(0,s.forEach)(r,(e=>e.emitter.pause())),e(),n.resume(),(0,s.forEach)(r,(e=>e.emitter.resume()))}let y={batch:v,registerGenericStore:g,stores:r,namespaces:r,subscribe:u,select:c,resolveSelect:l,dispatch:f,use:S,register:d,__experimentalMarkListeningStores:a,__experimentalSubscribeStore:h};function S(e,t){return y={...y,...e(y,t)},y}return y.registerStore=(e,t)=>{if(!t.reducer)throw new TypeError("Must specify store reducer");const r=$(e,t).instantiate(y);return g(e,r),r.store},g(L,Q(y)),Object.entries(e).forEach((e=>{let[t,r]=e;return y.registerStore(t,r)})),t&&t.subscribe(i),p(y)}var ee=Z(),te=window.wp.deprecated,re=r.n(te),ne=e=>(re()("wp.data.plugins.controls",{since:"5.4",hint:"The controls plugins is now baked-in."}),e);let oe;const ie={getItem:e=>oe&&oe[e]?oe[e]:null,setItem(e,t){oe||ie.clear(),oe[e]=String(t)},clear(){oe=Object.create(null)}};var ue=ie;let se;try{se=window.localStorage,se.setItem("__wpDataTestLocalStorage",""),se.removeItem("__wpDataTestLocalStorage")}catch(e){se=ue}const ce=se,ae="WP_DATA";function le(e){const{storage:t=ce,storageKey:r=ae}=e;let n;return{get:function(){if(void 0===n){const e=t.getItem(r);if(null===e)n={};else try{n=JSON.parse(e)}catch(e){n={}}}return n},set:function(e,o){n={...n,[e]:o},t.setItem(r,JSON.stringify(n))}}}function fe(e,t){const r=le(t);return{registerStore(t,n){if(!n.persist)return e.registerStore(t,n);const o=r.get()[t];if(void 0!==o){let e=n.reducer(n.initialState,{type:"@@WP/PERSISTENCE_RESTORE"});e=(0,s.isPlainObject)(e)&&(0,s.isPlainObject)(o)?(0,s.merge)({},e,o):o,n={...n,initialState:e}}const i=e.registerStore(t,n);return i.subscribe(function(e,t,n){let o;if(Array.isArray(n)){const e=n.reduce(((e,t)=>Object.assign(e,{[t]:(e,r)=>r.nextState[t]})),{});i=u()(e),o=(e,t)=>t.nextState===e?e:i(e,t)}else o=(e,t)=>t.nextState;var i;let s=o(void 0,{nextState:e()});return()=>{const n=o(s,{nextState:e()});n!==s&&(r.set(t,n),s=n)}}(i.getState,t,n.persist)),i}}}function pe(e,t){var r;const n="core/interface",o=e.get(),i=null===(r=o[t])||void 0===r?void 0:r.preferences,u=null==i?void 0:i.features;if(u){var s,c;const r=null===(s=o["core/interface"])||void 0===s||null===(c=s.preferences)||void 0===c?void 0:c.features;null!=r&&r[t]||(e.set(n,{preferences:{features:{...r,[t]:u}}}),e.set(t,{preferences:{...i,features:void 0}}))}}fe.__unstableMigrate=e=>{const t=le(e);pe(t,"core/edit-widgets"),pe(t,"core/customize-widgets"),pe(t,"core/edit-post")};var ge=fe;function de(){return de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},de.apply(this,arguments)}var he=window.wp.element,ve=window.wp.compose,ye=window.React;function Se(e,t){var r=(0,ye.useState)((function(){return{inputs:t,result:e()}}))[0],n=(0,ye.useRef)(!0),o=(0,ye.useRef)(r),i=n.current||Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,o.current.inputs))?o.current:{inputs:t,result:e()};return(0,ye.useEffect)((function(){n.current=!1,o.current=i}),[i]),i.result}var be=window.wp.priorityQueue,me=window.wp.isShallowEqual,Oe=r.n(me);const we=(0,he.createContext)(ee),{Consumer:Re,Provider:_e}=we,Ee=Re;var Te=_e;function Ie(){return(0,he.useContext)(we)}const Ne=(0,he.createContext)(!1),{Consumer:Ae,Provider:je}=Ne;var Le=je;const Pe=(0,be.createQueue)();function xe(e,t){const r="function"!=typeof e;r&&(t=[]);const n=(0,he.useCallback)(e,t),o=Ie(),i=(0,he.useContext)(Ne),u=Se((()=>({queue:!0})),[o]),[,s]=(0,he.useReducer)((e=>e+1),0),c=(0,he.useRef)(),a=(0,he.useRef)(i),l=(0,he.useRef)(),f=(0,he.useRef)(),p=(0,he.useRef)(),g=(0,he.useRef)([]),d=(0,he.useCallback)((e=>o.__experimentalMarkListeningStores(e,g)),[o]),h=(0,he.useMemo)((()=>({})),t||[]);let v;if(!r)try{v=c.current!==n||f.current?d((()=>n(o.select,o))):l.current}catch(e){let t=`An error occurred while running 'mapSelect': ${e.message}`;f.current&&(t+="\nThe error may be correlated with this previous error:\n",t+=`${f.current.stack}\n\n`,t+="Original stack trace:"),console.error(t),v=l.current}return(0,ve.useIsomorphicLayoutEffect)((()=>{r||(c.current=n,l.current=v,f.current=void 0,p.current=!0,a.current!==i&&(a.current=i,Pe.flush(u)))})),(0,ve.useIsomorphicLayoutEffect)((()=>{if(r)return;const e=()=>{if(p.current){try{const e=d((()=>c.current(o.select,o)));if(Oe()(l.current,e))return;l.current=e}catch(e){f.current=e}s()}};a.current?Pe.add(u,e):e();const t=()=>{a.current?Pe.add(u,e):e()},n=g.current.map((e=>o.__experimentalSubscribeStore(e,t)));return()=>{p.current=!1,n.forEach((e=>null==e?void 0:e())),Pe.flush(u)}}),[o,d,h,r]),r?o.select(e):v}var Ce=e=>(0,ve.createHigherOrderComponent)((t=>(0,ve.pure)((r=>{const n=xe(((t,n)=>e(t,r,n)));return(0,he.createElement)(t,de({},r,n))}))),"withSelect");var ke=(e,t)=>{const r=Ie(),n=(0,he.useRef)(e);return(0,ve.useIsomorphicLayoutEffect)((()=>{n.current=e})),(0,he.useMemo)((()=>{const e=n.current(r.dispatch,r);return(0,s.mapValues)(e,((e,t)=>("function"!=typeof e&&console.warn(`Property ${t} returned from dispatchMap in useDispatchWithMap must be a function.`),function(){return n.current(r.dispatch,r)[t](...arguments)})))}),[r,...t])};var Ue=e=>(0,ve.createHigherOrderComponent)((t=>r=>{const n=ke(((t,n)=>e(t,r,n)),[]);return(0,he.createElement)(t,de({},r,n))}),"withDispatch");var De=(0,ve.createHigherOrderComponent)((e=>t=>(0,he.createElement)(Ee,null,(r=>(0,he.createElement)(e,de({},t,{registry:r}))))),"withRegistry");var Me=e=>{const{dispatch:t}=Ie();return void 0===e?t:t(e)};const Fe=ee.select,Ve=ee.resolveSelect,Ge=ee.dispatch,He=ee.subscribe,Ke=ee.registerGenericStore,We=ee.registerStore,Xe=ee.use,ze=ee.register}(),(window.wp=window.wp||{}).data=n}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/date.js b/wp-includes/js/dist/date.js
index 03d883f546..48e14e16d8 100644
--- a/wp-includes/js/dist/date.js
+++ b/wp-includes/js/dist/date.js
@@ -1,93 +1,16 @@
-this["wp"] = this["wp"] || {}; this["wp"]["date"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "BWYS");
-/******/ })
-/************************************************************************/
-/******/ ({
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({
+
+/***/ 7812:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-/***/ "4CCe":
+var moment = module.exports = __webpack_require__(2828);
+moment.tz.load(__webpack_require__(1128));
+
+
+/***/ }),
+
+/***/ 9971:
 /***/ (function(module, exports, __webpack_require__) {

 var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone-utils.js
@@ -101,12 +24,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_

 	/*global define*/
     if ( true && module.exports) {
-        module.exports = factory(__webpack_require__("f0Wu"));     // Node
+        module.exports = factory(__webpack_require__(7812));     // Node
     } else if (true) {
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__("wy2R")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
-				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
-				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));                 // AMD
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(6292)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
+		__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
+		(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));                 // AMD
 	} else {}
 }(this, function (moment) {
 	"use strict";
@@ -434,1316 +357,1379 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_

 /***/ }),

-/***/ "BWYS":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 2828:
+/***/ (function(module, exports, __webpack_require__) {

-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setSettings", function() { return setSettings; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__experimentalGetSettings", function() { return __experimentalGetSettings; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "format", function() { return format; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "date", function() { return date; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gmdate", function() { return gmdate; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dateI18n", function() { return dateI18n; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "gmdateI18n", function() { return gmdateI18n; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isInTheFuture", function() { return isInTheFuture; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDate", function() { return getDate; });
-/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("wy2R");
-/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Dvum");
-/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("4CCe");
-/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__);
-/**
- * External dependencies
- */
+var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone.js
+//! version : 0.5.34
+//! Copyright (c) JS Foundation and other contributors
+//! license : MIT
+//! github.com/moment/moment-timezone

+(function (root, factory) {
+	"use strict";

+	/*global define*/
+	if ( true && module.exports) {
+		module.exports = factory(__webpack_require__(6292)); // Node
+	} else if (true) {
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(6292)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
+		__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
+		(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));                 // AMD
+	} else {}
+}(this, function (moment) {
+	"use strict";

-/** @typedef {import('moment').Moment} Moment */
+	// Resolves es6 module loading issue
+	if (moment.version === undefined && moment.default) {
+		moment = moment.default;
+	}

-/** @typedef {import('moment').LocaleSpecification} MomentLocaleSpecification */
+	// Do not load moment-timezone a second time.
+	// if (moment.tz !== undefined) {
+	// 	logError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);
+	// 	return moment;
+	// }

-/**
- * @typedef MeridiemConfig
- * @property {string} am Lowercase AM.
- * @property {string} AM Uppercase AM.
- * @property {string} pm Lowercase PM.
- * @property {string} PM Uppercase PM.
- */
+	var VERSION = "0.5.34",
+		zones = {},
+		links = {},
+		countries = {},
+		names = {},
+		guesses = {},
+		cachedGuess;

-/**
- * @typedef FormatsConfig
- * @property {string} time                Time format.
- * @property {string} date                Date format.
- * @property {string} datetime            Datetime format.
- * @property {string} datetimeAbbreviated Abbreviated datetime format.
- */
+	if (!moment || typeof moment.version !== 'string') {
+		logError('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');
+	}

-/**
- * @typedef TimezoneConfig
- * @property {string} offset Offset setting.
- * @property {string} string The timezone as a string (e.g., `'America/Los_Angeles'`).
- * @property {string} abbr   Abbreviation for the timezone.
- */
+	var momentVersion = moment.version.split('.'),
+		major = +momentVersion[0],
+		minor = +momentVersion[1];

-/* eslint-disable jsdoc/valid-types */
+	// Moment.js version check
+	if (major < 2 || (major === 2 && minor < 6)) {
+		logError('Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js ' + moment.version + '. See momentjs.com');
+	}

-/**
- * @typedef L10nSettings
- * @property {string}                                     locale        Moment locale.
- * @property {MomentLocaleSpecification['months']}        months        Locale months.
- * @property {MomentLocaleSpecification['monthsShort']}   monthsShort   Locale months short.
- * @property {MomentLocaleSpecification['weekdays']}      weekdays      Locale weekdays.
- * @property {MomentLocaleSpecification['weekdaysShort']} weekdaysShort Locale weekdays short.
- * @property {MeridiemConfig}                             meridiem      Meridiem config.
- * @property {MomentLocaleSpecification['relativeTime']}  relative      Relative time config.
- */
+	/************************************
+		Unpacking
+	************************************/

-/* eslint-enable jsdoc/valid-types */
+	function charCodeToInt(charCode) {
+		if (charCode > 96) {
+			return charCode - 87;
+		} else if (charCode > 64) {
+			return charCode - 29;
+		}
+		return charCode - 48;
+	}

-/**
- * @typedef DateSettings
- * @property {L10nSettings}   l10n     Localization settings.
- * @property {FormatsConfig}  formats  Date/time formats config.
- * @property {TimezoneConfig} timezone Timezone settings.
- */
+	function unpackBase60(string) {
+		var i = 0,
+			parts = string.split('.'),
+			whole = parts[0],
+			fractional = parts[1] || '',
+			multiplier = 1,
+			num,
+			out = 0,
+			sign = 1;

-const WP_ZONE = 'WP'; // This regular expression tests positive for UTC offsets as described in ISO 8601.
-// See: https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC
+		// handle negative numbers
+		if (string.charCodeAt(0) === 45) {
+			i = 1;
+			sign = -1;
+		}

-const VALID_UTC_OFFSET = /^[+-][0-1][0-9](:?[0-9][0-9])?$/; // Changes made here will likely need to be made in `lib/client-assets.php` as
-// well because it uses the `setSettings()` function to change these settings.
+		// handle digits before the decimal
+		for (i; i < whole.length; i++) {
+			num = charCodeToInt(whole.charCodeAt(i));
+			out = 60 * out + num;
+		}

-/** @type {DateSettings} */
+		// handle digits after the decimal
+		for (i = 0; i < fractional.length; i++) {
+			multiplier = multiplier / 60;
+			num = charCodeToInt(fractional.charCodeAt(i));
+			out += num * multiplier;
+		}

-let settings = {
-  l10n: {
-    locale: 'en',
-    months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
-    monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
-    weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
-    weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
-    meridiem: {
-      am: 'am',
-      pm: 'pm',
-      AM: 'AM',
-      PM: 'PM'
-    },
-    relative: {
-      future: '%s from now',
-      past: '%s ago',
-      s: 'a few seconds',
-      ss: '%d seconds',
-      m: 'a minute',
-      mm: '%d minutes',
-      h: 'an hour',
-      hh: '%d hours',
-      d: 'a day',
-      dd: '%d days',
-      M: 'a month',
-      MM: '%d months',
-      y: 'a year',
-      yy: '%d years'
-    }
-  },
-  formats: {
-    time: 'g: i a',
-    date: 'F j, Y',
-    datetime: 'F j, Y g: i a',
-    datetimeAbbreviated: 'M j, Y g: i a'
-  },
-  timezone: {
-    offset: '0',
-    string: '',
-    abbr: ''
-  }
-};
-/**
- * Adds a locale to moment, using the format supplied by `wp_localize_script()`.
- *
- * @param {DateSettings} dateSettings Settings, including locale data.
- */
+		return out * sign;
+	}

-function setSettings(dateSettings) {
-  settings = dateSettings; // Backup and restore current locale.
+	function arrayToInt (array) {
+		for (var i = 0; i < array.length; i++) {
+			array[i] = unpackBase60(array[i]);
+		}
+	}

-  const currentLocale = moment__WEBPACK_IMPORTED_MODULE_0___default.a.locale();
-  moment__WEBPACK_IMPORTED_MODULE_0___default.a.updateLocale(dateSettings.l10n.locale, {
-    // Inherit anything missing from the default locale.
-    parentLocale: currentLocale,
-    months: dateSettings.l10n.months,
-    monthsShort: dateSettings.l10n.monthsShort,
-    weekdays: dateSettings.l10n.weekdays,
-    weekdaysShort: dateSettings.l10n.weekdaysShort,
+	function intToUntil (array, length) {
+		for (var i = 0; i < length; i++) {
+			array[i] = Math.round((array[i - 1] || 0) + (array[i] * 60000)); // minutes to milliseconds
+		}

-    meridiem(hour, minute, isLowercase) {
-      if (hour < 12) {
-        return isLowercase ? dateSettings.l10n.meridiem.am : dateSettings.l10n.meridiem.AM;
-      }
+		array[length - 1] = Infinity;
+	}

-      return isLowercase ? dateSettings.l10n.meridiem.pm : dateSettings.l10n.meridiem.PM;
-    },
+	function mapIndices (source, indices) {
+		var out = [], i;

-    longDateFormat: {
-      LT: dateSettings.formats.time,
-      // @ts-ignore Forcing this to `null`
-      LTS: null,
-      // @ts-ignore Forcing this to `null`
-      L: null,
-      LL: dateSettings.formats.date,
-      LLL: dateSettings.formats.datetime,
-      // @ts-ignore Forcing this to `null`
-      LLLL: null
-    },
-    // From human_time_diff?
-    // Set to `(number, withoutSuffix, key, isFuture) => {}` instead.
-    relativeTime: dateSettings.l10n.relative
-  });
-  moment__WEBPACK_IMPORTED_MODULE_0___default.a.locale(currentLocale);
-  setupWPTimezone();
-}
-/**
- * Returns the currently defined date settings.
- *
- * @return {Object} Settings, including locale data.
- */
+		for (i = 0; i < indices.length; i++) {
+			out[i] = source[indices[i]];
+		}

-function __experimentalGetSettings() {
-  return settings;
-}
+		return out;
+	}

-function setupWPTimezone() {
-  // Create WP timezone based off dateSettings.
-  moment__WEBPACK_IMPORTED_MODULE_0___default.a.tz.add(moment__WEBPACK_IMPORTED_MODULE_0___default.a.tz.pack({
-    name: WP_ZONE,
-    abbrs: [WP_ZONE],
-    untils: [null],
-    offsets: [-settings.timezone.offset * 60 || 0]
-  }));
-} // Date constants.
-
-/**
- * Number of seconds in one minute.
- *
- * @type {number}
- */
-
-
-const MINUTE_IN_SECONDS = 60;
-/**
- * Number of minutes in one hour.
- *
- * @type {number}
- */
-
-const HOUR_IN_MINUTES = 60;
-/**
- * Number of seconds in one hour.
- *
- * @type {number}
- */
-
-const HOUR_IN_SECONDS = 60 * MINUTE_IN_SECONDS;
-/**
- * Map of PHP formats to Moment.js formats.
- *
- * These are used internally by {@link wp.date.format}, and are either
- * a string representing the corresponding Moment.js format code, or a
- * function which returns the formatted string.
- *
- * This should only be used through {@link wp.date.format}, not
- * directly.
- */
-
-const formatMap = {
-  // Day
-  d: 'DD',
-  D: 'ddd',
-  j: 'D',
-  l: 'dddd',
-  N: 'E',
-
-  /**
-   * Gets the ordinal suffix.
-   *
-   * @param {Moment} momentDate Moment instance.
-   *
-   * @return {string} Formatted date.
-   */
-  S(momentDate) {
-    // Do - D
-    const num = momentDate.format('D');
-    const withOrdinal = momentDate.format('Do');
-    return withOrdinal.replace(num, '');
-  },
-
-  w: 'd',
-
-  /**
-   * Gets the day of the year (zero-indexed).
-   *
-   * @param {Moment} momentDate Moment instance.
-   *
-   * @return {string} Formatted date.
-   */
-  z(momentDate) {
-    // DDD - 1
-    return (parseInt(momentDate.format('DDD'), 10) - 1).toString();
-  },
-
-  // Week
-  W: 'W',
-  // Month
-  F: 'MMMM',
-  m: 'MM',
-  M: 'MMM',
-  n: 'M',
-
-  /**
-   * Gets the days in the month.
-   *
-   * @param {Moment} momentDate Moment instance.
-   *
-   * @return {number} Formatted date.
-   */
-  t(momentDate) {
-    return momentDate.daysInMonth();
-  },
-
-  // Year
-
-  /**
-   * Gets whether the current year is a leap year.
-   *
-   * @param {Moment} momentDate Moment instance.
-   *
-   * @return {string} Formatted date.
-   */
-  L(momentDate) {
-    return momentDate.isLeapYear() ? '1' : '0';
-  },
-
-  o: 'GGGG',
-  Y: 'YYYY',
-  y: 'YY',
-  // Time
-  a: 'a',
-  A: 'A',
-
-  /**
-   * Gets the current time in Swatch Internet Time (.beats).
-   *
-   * @param {Moment} momentDate Moment instance.
-   *
-   * @return {number} Formatted date.
-   */
-  B(momentDate) {
-    const timezoned = moment__WEBPACK_IMPORTED_MODULE_0___default()(momentDate).utcOffset(60);
-    const seconds = parseInt(timezoned.format('s'), 10),
-          minutes = parseInt(timezoned.format('m'), 10),
-          hours = parseInt(timezoned.format('H'), 10);
-    return parseInt(((seconds + minutes * MINUTE_IN_SECONDS + hours * HOUR_IN_SECONDS) / 86.4).toString(), 10);
-  },
-
-  g: 'h',
-  G: 'H',
-  h: 'hh',
-  H: 'HH',
-  i: 'mm',
-  s: 'ss',
-  u: 'SSSSSS',
-  v: 'SSS',
-  // Timezone
-  e: 'zz',
+	function unpack (string) {
+		var data = string.split('|'),
+			offsets = data[2].split(' '),
+			indices = data[3].split(''),
+			untils  = data[4].split(' ');

-  /**
-   * Gets whether the timezone is in DST currently.
-   *
-   * @param {Moment} momentDate Moment instance.
-   *
-   * @return {string} Formatted date.
-   */
-  I(momentDate) {
-    return momentDate.isDST() ? '1' : '0';
-  },
+		arrayToInt(offsets);
+		arrayToInt(indices);
+		arrayToInt(untils);

-  O: 'ZZ',
-  P: 'Z',
-  T: 'z',
+		intToUntil(untils, indices.length);

-  /**
-   * Gets the timezone offset in seconds.
-   *
-   * @param {Moment} momentDate Moment instance.
-   *
-   * @return {number} Formatted date.
-   */
-  Z(momentDate) {
-    // Timezone offset in seconds.
-    const offset = momentDate.format('Z');
-    const sign = offset[0] === '-' ? -1 : 1;
-    const parts = offset.substring(1).split(':').map(n => parseInt(n, 10));
-    return sign * (parts[0] * HOUR_IN_MINUTES + parts[1]) * MINUTE_IN_SECONDS;
-  },
+		return {
+			name       : data[0],
+			abbrs      : mapIndices(data[1].split(' '), indices),
+			offsets    : mapIndices(offsets, indices),
+			untils     : untils,
+			population : data[5] | 0
+		};
+	}

-  // Full date/time
-  c: 'YYYY-MM-DDTHH:mm:ssZ',
-  // .toISOString
-  r: 'ddd, D MMM YYYY HH:mm:ss ZZ',
-  U: 'X'
-};
-/**
- * Formats a date. Does not alter the date's timezone.
- *
- * @param {string}                             dateFormat PHP-style formatting string.
- *                                                        See php.net/date.
- * @param {Moment | Date | string | undefined} dateValue  Date object or string,
- *                                                        parsable by moment.js.
- *
- * @return {string} Formatted date.
- */
+	/************************************
+		Zone object
+	************************************/

-function format(dateFormat) {
-  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
-  let i, char;
-  const newFormat = [];
-  const momentDate = moment__WEBPACK_IMPORTED_MODULE_0___default()(dateValue);
+	function Zone (packedString) {
+		if (packedString) {
+			this._set(unpack(packedString));
+		}
+	}

-  for (i = 0; i < dateFormat.length; i++) {
-    char = dateFormat[i]; // Is this an escape?
+	Zone.prototype = {
+		_set : function (unpacked) {
+			this.name       = unpacked.name;
+			this.abbrs      = unpacked.abbrs;
+			this.untils     = unpacked.untils;
+			this.offsets    = unpacked.offsets;
+			this.population = unpacked.population;
+		},

-    if ('\\' === char) {
-      // Add next character, then move on.
-      i++;
-      newFormat.push('[' + dateFormat[i] + ']');
-      continue;
-    }
+		_index : function (timestamp) {
+			var target = +timestamp,
+				untils = this.untils,
+				i;

-    if (char in formatMap) {
-      const formatter = formatMap[
-      /** @type {keyof formatMap} */
-      char];
+			for (i = 0; i < untils.length; i++) {
+				if (target < untils[i]) {
+					return i;
+				}
+			}
+		},

-      if (typeof formatter !== 'string') {
-        // If the format is a function, call it.
-        newFormat.push('[' + formatter(momentDate) + ']');
-      } else {
-        // Otherwise, add as a formatting string.
-        newFormat.push(formatter);
-      }
-    } else {
-      newFormat.push('[' + char + ']');
-    }
-  } // Join with [] between to separate characters, and replace
-  // unneeded separators with static text.
+		countries : function () {
+			var zone_name = this.name;
+			return Object.keys(countries).filter(function (country_code) {
+				return countries[country_code].zones.indexOf(zone_name) !== -1;
+			});
+		},

+		parse : function (timestamp) {
+			var target  = +timestamp,
+				offsets = this.offsets,
+				untils  = this.untils,
+				max     = untils.length - 1,
+				offset, offsetNext, offsetPrev, i;

-  return momentDate.format(newFormat.join('[]'));
-}
-/**
- * Formats a date (like `date()` in PHP).
- *
- * @param {string}                             dateFormat PHP-style formatting string.
- *                                                        See php.net/date.
- * @param {Moment | Date | string | undefined} dateValue  Date object or string, parsable
- *                                                        by moment.js.
- * @param {string | undefined}                 timezone   Timezone to output result in or a
- *                                                        UTC offset. Defaults to timezone from
- *                                                        site.
- *
- * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- * @see https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC
- *
- * @return {string} Formatted date in English.
- */
+			for (i = 0; i < max; i++) {
+				offset     = offsets[i];
+				offsetNext = offsets[i + 1];
+				offsetPrev = offsets[i ? i - 1 : i];

-function date(dateFormat) {
-  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
-  let timezone = arguments.length > 2 ? arguments[2] : undefined;
-  const dateMoment = buildMoment(dateValue, timezone);
-  return format(dateFormat, dateMoment);
-}
-/**
- * Formats a date (like `date()` in PHP), in the UTC timezone.
- *
- * @param {string}                             dateFormat PHP-style formatting string.
- *                                                        See php.net/date.
- * @param {Moment | Date | string | undefined} dateValue  Date object or string,
- *                                                        parsable by moment.js.
- *
- * @return {string} Formatted date in English.
- */
+				if (offset < offsetNext && tz.moveAmbiguousForward) {
+					offset = offsetNext;
+				} else if (offset > offsetPrev && tz.moveInvalidForward) {
+					offset = offsetPrev;
+				}

-function gmdate(dateFormat) {
-  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
-  const dateMoment = moment__WEBPACK_IMPORTED_MODULE_0___default()(dateValue).utc();
-  return format(dateFormat, dateMoment);
-}
-/**
- * Formats a date (like `wp_date()` in PHP), translating it into site's locale.
- *
- * Backward Compatibility Notice: if `timezone` is set to `true`, the function
- * behaves like `gmdateI18n`.
- *
- * @param {string}                             dateFormat PHP-style formatting string.
- *                                                        See php.net/date.
- * @param {Moment | Date | string | undefined} dateValue  Date object or string, parsable by
- *                                                        moment.js.
- * @param {string | boolean | undefined}       timezone   Timezone to output result in or a
- *                                                        UTC offset. Defaults to timezone from
- *                                                        site. Notice: `boolean` is effectively
- *                                                        deprecated, but still supported for
- *                                                        backward compatibility reasons.
- *
- * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- * @see https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC
- *
- * @return {string} Formatted date.
- */
+				if (target < untils[i] - (offset * 60000)) {
+					return offsets[i];
+				}
+			}

-function dateI18n(dateFormat) {
-  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
-  let timezone = arguments.length > 2 ? arguments[2] : undefined;
+			return offsets[max];
+		},

-  if (true === timezone) {
-    return gmdateI18n(dateFormat, dateValue);
-  }
+		abbr : function (mom) {
+			return this.abbrs[this._index(mom)];
+		},

-  if (false === timezone) {
-    timezone = undefined;
-  }
+		offset : function (mom) {
+			logError("zone.offset has been deprecated in favor of zone.utcOffset");
+			return this.offsets[this._index(mom)];
+		},

-  const dateMoment = buildMoment(dateValue, timezone);
-  dateMoment.locale(settings.l10n.locale);
-  return format(dateFormat, dateMoment);
-}
-/**
- * Formats a date (like `wp_date()` in PHP), translating it into site's locale
- * and using the UTC timezone.
- *
- * @param {string}                             dateFormat PHP-style formatting string.
- *                                                        See php.net/date.
- * @param {Moment | Date | string | undefined} dateValue  Date object or string,
- *                                                        parsable by moment.js.
- *
- * @return {string} Formatted date.
- */
+		utcOffset : function (mom) {
+			return this.offsets[this._index(mom)];
+		}
+	};

-function gmdateI18n(dateFormat) {
-  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
-  const dateMoment = moment__WEBPACK_IMPORTED_MODULE_0___default()(dateValue).utc();
-  dateMoment.locale(settings.l10n.locale);
-  return format(dateFormat, dateMoment);
-}
-/**
- * Check whether a date is considered in the future according to the WordPress settings.
- *
- * @param {string} dateValue Date String or Date object in the Defined WP Timezone.
- *
- * @return {boolean} Is in the future.
- */
+	/************************************
+		Country object
+	************************************/

-function isInTheFuture(dateValue) {
-  const now = moment__WEBPACK_IMPORTED_MODULE_0___default.a.tz(WP_ZONE);
-  const momentObject = moment__WEBPACK_IMPORTED_MODULE_0___default.a.tz(dateValue, WP_ZONE);
-  return momentObject.isAfter(now);
-}
-/**
- * Create and return a JavaScript Date Object from a date string in the WP timezone.
- *
- * @param {string?} dateString Date formatted in the WP timezone.
- *
- * @return {Date} Date
- */
+	function Country (country_name, zone_names) {
+		this.name = country_name;
+		this.zones = zone_names;
+	}

-function getDate(dateString) {
-  if (!dateString) {
-    return moment__WEBPACK_IMPORTED_MODULE_0___default.a.tz(WP_ZONE).toDate();
-  }
+	/************************************
+		Current Timezone
+	************************************/

-  return moment__WEBPACK_IMPORTED_MODULE_0___default.a.tz(dateString, WP_ZONE).toDate();
-}
-/**
- * Creates a moment instance using the given timezone or, if none is provided, using global settings.
- *
- * @param {Moment | Date | string | undefined} dateValue Date object or string, parsable
- *                                                       by moment.js.
- * @param {string | undefined}                 timezone  Timezone to output result in or a
- *                                                       UTC offset. Defaults to timezone from
- *                                                       site.
- *
- * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- * @see https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC
- *
- * @return {Moment} a moment instance.
- */
+	function OffsetAt(at) {
+		var timeString = at.toTimeString();
+		var abbr = timeString.match(/\([a-z ]+\)/i);
+		if (abbr && abbr[0]) {
+			// 17:56:31 GMT-0600 (CST)
+			// 17:56:31 GMT-0600 (Central Standard Time)
+			abbr = abbr[0].match(/[A-Z]/g);
+			abbr = abbr ? abbr.join('') : undefined;
+		} else {
+			// 17:56:31 CST
+			// 17:56:31 GMT+0800 (台北標準時間)
+			abbr = timeString.match(/[A-Z]{3,5}/g);
+			abbr = abbr ? abbr[0] : undefined;
+		}

-function buildMoment(dateValue) {
-  let timezone = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
-  const dateMoment = moment__WEBPACK_IMPORTED_MODULE_0___default()(dateValue);
+		if (abbr === 'GMT') {
+			abbr = undefined;
+		}

-  if (timezone && !isUTCOffset(timezone)) {
-    return dateMoment.tz(timezone);
-  }
+		this.at = +at;
+		this.abbr = abbr;
+		this.offset = at.getTimezoneOffset();
+	}

-  if (timezone && isUTCOffset(timezone)) {
-    return dateMoment.utcOffset(timezone);
-  }
+	function ZoneScore(zone) {
+		this.zone = zone;
+		this.offsetScore = 0;
+		this.abbrScore = 0;
+	}

-  if (settings.timezone.string) {
-    return dateMoment.tz(settings.timezone.string);
-  }
+	ZoneScore.prototype.scoreOffsetAt = function (offsetAt) {
+		this.offsetScore += Math.abs(this.zone.utcOffset(offsetAt.at) - offsetAt.offset);
+		if (this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g, '') !== offsetAt.abbr) {
+			this.abbrScore++;
+		}
+	};

-  return dateMoment.utcOffset(settings.timezone.offset);
-}
-/**
- * Returns whether a certain UTC offset is valid or not.
- *
- * @param {number|string} offset a UTC offset.
- *
- * @return {boolean} whether a certain UTC offset is valid or not.
- */
+	function findChange(low, high) {
+		var mid, diff;
+
+		while ((diff = ((high.at - low.at) / 12e4 | 0) * 6e4)) {
+			mid = new OffsetAt(new Date(low.at + diff));
+			if (mid.offset === low.offset) {
+				low = mid;
+			} else {
+				high = mid;
+			}
+		}

+		return low;
+	}

-function isUTCOffset(offset) {
-  if ('number' === typeof offset) {
-    return true;
-  }
+	function userOffsets() {
+		var startYear = new Date().getFullYear() - 2,
+			last = new OffsetAt(new Date(startYear, 0, 1)),
+			offsets = [last],
+			change, next, i;

-  return VALID_UTC_OFFSET.test(offset);
-}
+		for (i = 1; i < 48; i++) {
+			next = new OffsetAt(new Date(startYear, i, 1));
+			if (next.offset !== last.offset) {
+				change = findChange(last, next);
+				offsets.push(change);
+				offsets.push(new OffsetAt(new Date(change.at + 6e4)));
+			}
+			last = next;
+		}

-setupWPTimezone();
+		for (i = 0; i < 4; i++) {
+			offsets.push(new OffsetAt(new Date(startYear + i, 0, 1)));
+			offsets.push(new OffsetAt(new Date(startYear + i, 6, 1)));
+		}

+		return offsets;
+	}

-/***/ }),
+	function sortZoneScores (a, b) {
+		if (a.offsetScore !== b.offsetScore) {
+			return a.offsetScore - b.offsetScore;
+		}
+		if (a.abbrScore !== b.abbrScore) {
+			return a.abbrScore - b.abbrScore;
+		}
+		if (a.zone.population !== b.zone.population) {
+			return b.zone.population - a.zone.population;
+		}
+		return b.zone.name.localeCompare(a.zone.name);
+	}

-/***/ "Dvum":
-/***/ (function(module, exports, __webpack_require__) {
+	function addToGuesses (name, offsets) {
+		var i, offset;
+		arrayToInt(offsets);
+		for (i = 0; i < offsets.length; i++) {
+			offset = offsets[i];
+			guesses[offset] = guesses[offset] || {};
+			guesses[offset][name] = true;
+		}
+	}

-var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone.js
-//! version : 0.5.34
-//! Copyright (c) JS Foundation and other contributors
-//! license : MIT
-//! github.com/moment/moment-timezone
+	function guessesForUserOffsets (offsets) {
+		var offsetsLength = offsets.length,
+			filteredGuesses = {},
+			out = [],
+			i, j, guessesOffset;

-(function (root, factory) {
-	"use strict";
+		for (i = 0; i < offsetsLength; i++) {
+			guessesOffset = guesses[offsets[i].offset] || {};
+			for (j in guessesOffset) {
+				if (guessesOffset.hasOwnProperty(j)) {
+					filteredGuesses[j] = true;
+				}
+			}
+		}

-	/*global define*/
-	if ( true && module.exports) {
-		module.exports = factory(__webpack_require__("wy2R")); // Node
-	} else if (true) {
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__("wy2R")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
-				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
-				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));                 // AMD
-	} else {}
-}(this, function (moment) {
-	"use strict";
+		for (i in filteredGuesses) {
+			if (filteredGuesses.hasOwnProperty(i)) {
+				out.push(names[i]);
+			}
+		}

-	// Resolves es6 module loading issue
-	if (moment.version === undefined && moment.default) {
-		moment = moment.default;
+		return out;
 	}

-	// Do not load moment-timezone a second time.
-	// if (moment.tz !== undefined) {
-	// 	logError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);
-	// 	return moment;
-	// }
+	function rebuildGuess () {

-	var VERSION = "0.5.34",
-		zones = {},
-		links = {},
-		countries = {},
-		names = {},
-		guesses = {},
-		cachedGuess;
+		// use Intl API when available and returning valid time zone
+		try {
+			var intlName = Intl.DateTimeFormat().resolvedOptions().timeZone;
+			if (intlName && intlName.length > 3) {
+				var name = names[normalizeName(intlName)];
+				if (name) {
+					return name;
+				}
+				logError("Moment Timezone found " + intlName + " from the Intl api, but did not have that data loaded.");
+			}
+		} catch (e) {
+			// Intl unavailable, fall back to manual guessing.
+		}
+
+		var offsets = userOffsets(),
+			offsetsLength = offsets.length,
+			guesses = guessesForUserOffsets(offsets),
+			zoneScores = [],
+			zoneScore, i, j;
+
+		for (i = 0; i < guesses.length; i++) {
+			zoneScore = new ZoneScore(getZone(guesses[i]), offsetsLength);
+			for (j = 0; j < offsetsLength; j++) {
+				zoneScore.scoreOffsetAt(offsets[j]);
+			}
+			zoneScores.push(zoneScore);
+		}

-	if (!moment || typeof moment.version !== 'string') {
-		logError('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');
-	}
+		zoneScores.sort(sortZoneScores);

-	var momentVersion = moment.version.split('.'),
-		major = +momentVersion[0],
-		minor = +momentVersion[1];
+		return zoneScores.length > 0 ? zoneScores[0].zone.name : undefined;
+	}

-	// Moment.js version check
-	if (major < 2 || (major === 2 && minor < 6)) {
-		logError('Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js ' + moment.version + '. See momentjs.com');
+	function guess (ignoreCache) {
+		if (!cachedGuess || ignoreCache) {
+			cachedGuess = rebuildGuess();
+		}
+		return cachedGuess;
 	}

 	/************************************
-		Unpacking
+		Global Methods
 	************************************/

-	function charCodeToInt(charCode) {
-		if (charCode > 96) {
-			return charCode - 87;
-		} else if (charCode > 64) {
-			return charCode - 29;
-		}
-		return charCode - 48;
+	function normalizeName (name) {
+		return (name || '').toLowerCase().replace(/\//g, '_');
 	}

-	function unpackBase60(string) {
-		var i = 0,
-			parts = string.split('.'),
-			whole = parts[0],
-			fractional = parts[1] || '',
-			multiplier = 1,
-			num,
-			out = 0,
-			sign = 1;
+	function addZone (packed) {
+		var i, name, split, normalized;

-		// handle negative numbers
-		if (string.charCodeAt(0) === 45) {
-			i = 1;
-			sign = -1;
+		if (typeof packed === "string") {
+			packed = [packed];
 		}

-		// handle digits before the decimal
-		for (i; i < whole.length; i++) {
-			num = charCodeToInt(whole.charCodeAt(i));
-			out = 60 * out + num;
+		for (i = 0; i < packed.length; i++) {
+			split = packed[i].split('|');
+			name = split[0];
+			normalized = normalizeName(name);
+			zones[normalized] = packed[i];
+			names[normalized] = name;
+			addToGuesses(normalized, split[2].split(' '));
 		}
+	}

-		// handle digits after the decimal
-		for (i = 0; i < fractional.length; i++) {
-			multiplier = multiplier / 60;
-			num = charCodeToInt(fractional.charCodeAt(i));
-			out += num * multiplier;
-		}
+	function getZone (name, caller) {

-		return out * sign;
-	}
+		name = normalizeName(name);

-	function arrayToInt (array) {
-		for (var i = 0; i < array.length; i++) {
-			array[i] = unpackBase60(array[i]);
+		var zone = zones[name];
+		var link;
+
+		if (zone instanceof Zone) {
+			return zone;
 		}
-	}

-	function intToUntil (array, length) {
-		for (var i = 0; i < length; i++) {
-			array[i] = Math.round((array[i - 1] || 0) + (array[i] * 60000)); // minutes to milliseconds
+		if (typeof zone === 'string') {
+			zone = new Zone(zone);
+			zones[name] = zone;
+			return zone;
 		}

-		array[length - 1] = Infinity;
+		// Pass getZone to prevent recursion more than 1 level deep
+		if (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {
+			zone = zones[name] = new Zone();
+			zone._set(link);
+			zone.name = names[name];
+			return zone;
+		}
+
+		return null;
 	}

-	function mapIndices (source, indices) {
-		var out = [], i;
+	function getNames () {
+		var i, out = [];

-		for (i = 0; i < indices.length; i++) {
-			out[i] = source[indices[i]];
+		for (i in names) {
+			if (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {
+				out.push(names[i]);
+			}
 		}

-		return out;
+		return out.sort();
 	}

-	function unpack (string) {
-		var data = string.split('|'),
-			offsets = data[2].split(' '),
-			indices = data[3].split(''),
-			untils  = data[4].split(' ');
+	function getCountryNames () {
+		return Object.keys(countries);
+	}

-		arrayToInt(offsets);
-		arrayToInt(indices);
-		arrayToInt(untils);
+	function addLink (aliases) {
+		var i, alias, normal0, normal1;

-		intToUntil(untils, indices.length);
+		if (typeof aliases === "string") {
+			aliases = [aliases];
+		}

-		return {
-			name       : data[0],
-			abbrs      : mapIndices(data[1].split(' '), indices),
-			offsets    : mapIndices(offsets, indices),
-			untils     : untils,
-			population : data[5] | 0
-		};
-	}
+		for (i = 0; i < aliases.length; i++) {
+			alias = aliases[i].split('|');

-	/************************************
-		Zone object
-	************************************/
+			normal0 = normalizeName(alias[0]);
+			normal1 = normalizeName(alias[1]);

-	function Zone (packedString) {
-		if (packedString) {
-			this._set(unpack(packedString));
+			links[normal0] = normal1;
+			names[normal0] = alias[0];
+
+			links[normal1] = normal0;
+			names[normal1] = alias[1];
 		}
 	}

-	Zone.prototype = {
-		_set : function (unpacked) {
-			this.name       = unpacked.name;
-			this.abbrs      = unpacked.abbrs;
-			this.untils     = unpacked.untils;
-			this.offsets    = unpacked.offsets;
-			this.population = unpacked.population;
-		},
-
-		_index : function (timestamp) {
-			var target = +timestamp,
-				untils = this.untils,
-				i;
+	function addCountries (data) {
+		var i, country_code, country_zones, split;
+		if (!data || !data.length) return;
+		for (i = 0; i < data.length; i++) {
+			split = data[i].split('|');
+			country_code = split[0].toUpperCase();
+			country_zones = split[1].split(' ');
+			countries[country_code] = new Country(
+				country_code,
+				country_zones
+			);
+		}
+	}

-			for (i = 0; i < untils.length; i++) {
-				if (target < untils[i]) {
-					return i;
-				}
-			}
-		},
+	function getCountry (name) {
+		name = name.toUpperCase();
+		return countries[name] || null;
+	}

-		countries : function () {
-			var zone_name = this.name;
-			return Object.keys(countries).filter(function (country_code) {
-				return countries[country_code].zones.indexOf(zone_name) !== -1;
-			});
-		},
+	function zonesForCountry(country, with_offset) {
+		country = getCountry(country);

-		parse : function (timestamp) {
-			var target  = +timestamp,
-				offsets = this.offsets,
-				untils  = this.untils,
-				max     = untils.length - 1,
-				offset, offsetNext, offsetPrev, i;
+		if (!country) return null;

-			for (i = 0; i < max; i++) {
-				offset     = offsets[i];
-				offsetNext = offsets[i + 1];
-				offsetPrev = offsets[i ? i - 1 : i];
+		var zones = country.zones.sort();

-				if (offset < offsetNext && tz.moveAmbiguousForward) {
-					offset = offsetNext;
-				} else if (offset > offsetPrev && tz.moveInvalidForward) {
-					offset = offsetPrev;
-				}
+		if (with_offset) {
+			return zones.map(function (zone_name) {
+				var zone = getZone(zone_name);
+				return {
+					name: zone_name,
+					offset: zone.utcOffset(new Date())
+				};
+			});
+		}

-				if (target < untils[i] - (offset * 60000)) {
-					return offsets[i];
-				}
-			}
+		return zones;
+	}

-			return offsets[max];
-		},
+	function loadData (data) {
+		addZone(data.zones);
+		addLink(data.links);
+		addCountries(data.countries);
+		tz.dataVersion = data.version;
+	}

-		abbr : function (mom) {
-			return this.abbrs[this._index(mom)];
-		},
+	function zoneExists (name) {
+		if (!zoneExists.didShowError) {
+			zoneExists.didShowError = true;
+				logError("moment.tz.zoneExists('" + name + "') has been deprecated in favor of !moment.tz.zone('" + name + "')");
+		}
+		return !!getZone(name);
+	}

-		offset : function (mom) {
-			logError("zone.offset has been deprecated in favor of zone.utcOffset");
-			return this.offsets[this._index(mom)];
-		},
+	function needsOffset (m) {
+		var isUnixTimestamp = (m._f === 'X' || m._f === 'x');
+		return !!(m._a && (m._tzm === undefined) && !isUnixTimestamp);
+	}

-		utcOffset : function (mom) {
-			return this.offsets[this._index(mom)];
+	function logError (message) {
+		if (typeof console !== 'undefined' && typeof console.error === 'function') {
+			console.error(message);
 		}
-	};
+	}

 	/************************************
-		Country object
+		moment.tz namespace
 	************************************/

-	function Country (country_name, zone_names) {
-		this.name = country_name;
-		this.zones = zone_names;
+	function tz (input) {
+		var args = Array.prototype.slice.call(arguments, 0, -1),
+			name = arguments[arguments.length - 1],
+			zone = getZone(name),
+			out  = moment.utc.apply(null, args);
+
+		if (zone && !moment.isMoment(input) && needsOffset(out)) {
+			out.add(zone.parse(out), 'minutes');
+		}
+
+		out.tz(name);
+
+		return out;
 	}

+	tz.version      = VERSION;
+	tz.dataVersion  = '';
+	tz._zones       = zones;
+	tz._links       = links;
+	tz._names       = names;
+	tz._countries	= countries;
+	tz.add          = addZone;
+	tz.link         = addLink;
+	tz.load         = loadData;
+	tz.zone         = getZone;
+	tz.zoneExists   = zoneExists; // deprecated in 0.1.0
+	tz.guess        = guess;
+	tz.names        = getNames;
+	tz.Zone         = Zone;
+	tz.unpack       = unpack;
+	tz.unpackBase60 = unpackBase60;
+	tz.needsOffset  = needsOffset;
+	tz.moveInvalidForward   = true;
+	tz.moveAmbiguousForward = false;
+	tz.countries    = getCountryNames;
+	tz.zonesForCountry = zonesForCountry;
+
 	/************************************
-		Current Timezone
+		Interface with Moment.js
 	************************************/

-	function OffsetAt(at) {
-		var timeString = at.toTimeString();
-		var abbr = timeString.match(/\([a-z ]+\)/i);
-		if (abbr && abbr[0]) {
-			// 17:56:31 GMT-0600 (CST)
-			// 17:56:31 GMT-0600 (Central Standard Time)
-			abbr = abbr[0].match(/[A-Z]/g);
-			abbr = abbr ? abbr.join('') : undefined;
-		} else {
-			// 17:56:31 CST
-			// 17:56:31 GMT+0800 (台北標準時間)
-			abbr = timeString.match(/[A-Z]{3,5}/g);
-			abbr = abbr ? abbr[0] : undefined;
-		}
+	var fn = moment.fn;

-		if (abbr === 'GMT') {
-			abbr = undefined;
-		}
+	moment.tz = tz;

-		this.at = +at;
-		this.abbr = abbr;
-		this.offset = at.getTimezoneOffset();
-	}
+	moment.defaultZone = null;

-	function ZoneScore(zone) {
-		this.zone = zone;
-		this.offsetScore = 0;
-		this.abbrScore = 0;
-	}
+	moment.updateOffset = function (mom, keepTime) {
+		var zone = moment.defaultZone,
+			offset;

-	ZoneScore.prototype.scoreOffsetAt = function (offsetAt) {
-		this.offsetScore += Math.abs(this.zone.utcOffset(offsetAt.at) - offsetAt.offset);
-		if (this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g, '') !== offsetAt.abbr) {
-			this.abbrScore++;
+		if (mom._z === undefined) {
+			if (zone && needsOffset(mom) && !mom._isUTC) {
+				mom._d = moment.utc(mom._a)._d;
+				mom.utc().add(zone.parse(mom), 'minutes');
+			}
+			mom._z = zone;
 		}
-	};
-
-	function findChange(low, high) {
-		var mid, diff;
-
-		while ((diff = ((high.at - low.at) / 12e4 | 0) * 6e4)) {
-			mid = new OffsetAt(new Date(low.at + diff));
-			if (mid.offset === low.offset) {
-				low = mid;
+		if (mom._z) {
+			offset = mom._z.utcOffset(mom);
+			if (Math.abs(offset) < 16) {
+				offset = offset / 60;
+			}
+			if (mom.utcOffset !== undefined) {
+				var z = mom._z;
+				mom.utcOffset(-offset, keepTime);
+				mom._z = z;
 			} else {
-				high = mid;
+				mom.zone(offset, keepTime);
 			}
 		}
+	};

-		return low;
-	}
-
-	function userOffsets() {
-		var startYear = new Date().getFullYear() - 2,
-			last = new OffsetAt(new Date(startYear, 0, 1)),
-			offsets = [last],
-			change, next, i;
-
-		for (i = 1; i < 48; i++) {
-			next = new OffsetAt(new Date(startYear, i, 1));
-			if (next.offset !== last.offset) {
-				change = findChange(last, next);
-				offsets.push(change);
-				offsets.push(new OffsetAt(new Date(change.at + 6e4)));
+	fn.tz = function (name, keepTime) {
+		if (name) {
+			if (typeof name !== 'string') {
+				throw new Error('Time zone name must be a string, got ' + name + ' [' + typeof name + ']');
 			}
-			last = next;
+			this._z = getZone(name);
+			if (this._z) {
+				moment.updateOffset(this, keepTime);
+			} else {
+				logError("Moment Timezone has no data for " + name + ". See http://momentjs.com/timezone/docs/#/data-loading/.");
+			}
+			return this;
 		}
+		if (this._z) { return this._z.name; }
+	};

-		for (i = 0; i < 4; i++) {
-			offsets.push(new OffsetAt(new Date(startYear + i, 0, 1)));
-			offsets.push(new OffsetAt(new Date(startYear + i, 6, 1)));
-		}
+	function abbrWrap (old) {
+		return function () {
+			if (this._z) { return this._z.abbr(this); }
+			return old.call(this);
+		};
+	}

-		return offsets;
+	function resetZoneWrap (old) {
+		return function () {
+			this._z = null;
+			return old.apply(this, arguments);
+		};
 	}

-	function sortZoneScores (a, b) {
-		if (a.offsetScore !== b.offsetScore) {
-			return a.offsetScore - b.offsetScore;
-		}
-		if (a.abbrScore !== b.abbrScore) {
-			return a.abbrScore - b.abbrScore;
-		}
-		if (a.zone.population !== b.zone.population) {
-			return b.zone.population - a.zone.population;
-		}
-		return b.zone.name.localeCompare(a.zone.name);
+	function resetZoneWrap2 (old) {
+		return function () {
+			if (arguments.length > 0) this._z = null;
+			return old.apply(this, arguments);
+		};
 	}

-	function addToGuesses (name, offsets) {
-		var i, offset;
-		arrayToInt(offsets);
-		for (i = 0; i < offsets.length; i++) {
-			offset = offsets[i];
-			guesses[offset] = guesses[offset] || {};
-			guesses[offset][name] = true;
+	fn.zoneName  = abbrWrap(fn.zoneName);
+	fn.zoneAbbr  = abbrWrap(fn.zoneAbbr);
+	fn.utc       = resetZoneWrap(fn.utc);
+	fn.local     = resetZoneWrap(fn.local);
+	fn.utcOffset = resetZoneWrap2(fn.utcOffset);
+
+	moment.tz.setDefault = function(name) {
+		if (major < 2 || (major === 2 && minor < 9)) {
+			logError('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js ' + moment.version + '.');
 		}
+		moment.defaultZone = name ? getZone(name) : null;
+		return moment;
+	};
+
+	// Cloning a moment should include the _z property.
+	var momentProperties = moment.momentProperties;
+	if (Object.prototype.toString.call(momentProperties) === '[object Array]') {
+		// moment 2.8.1+
+		momentProperties.push('_z');
+		momentProperties.push('_a');
+	} else if (momentProperties) {
+		// moment 2.7.0
+		momentProperties._z = null;
 	}

-	function guessesForUserOffsets (offsets) {
-		var offsetsLength = offsets.length,
-			filteredGuesses = {},
-			out = [],
-			i, j, guessesOffset;
+	// INJECT DATA

-		for (i = 0; i < offsetsLength; i++) {
-			guessesOffset = guesses[offsets[i].offset] || {};
-			for (j in guessesOffset) {
-				if (guessesOffset.hasOwnProperty(j)) {
-					filteredGuesses[j] = true;
-				}
-			}
-		}
+	return moment;
+}));

-		for (i in filteredGuesses) {
-			if (filteredGuesses.hasOwnProperty(i)) {
-				out.push(names[i]);
-			}
-		}

-		return out;
-	}
+/***/ }),

-	function rebuildGuess () {
+/***/ 6292:
+/***/ (function(module) {

-		// use Intl API when available and returning valid time zone
-		try {
-			var intlName = Intl.DateTimeFormat().resolvedOptions().timeZone;
-			if (intlName && intlName.length > 3) {
-				var name = names[normalizeName(intlName)];
-				if (name) {
-					return name;
-				}
-				logError("Moment Timezone found " + intlName + " from the Intl api, but did not have that data loaded.");
-			}
-		} catch (e) {
-			// Intl unavailable, fall back to manual guessing.
-		}
+"use strict";
+module.exports = window["moment"];

-		var offsets = userOffsets(),
-			offsetsLength = offsets.length,
-			guesses = guessesForUserOffsets(offsets),
-			zoneScores = [],
-			zoneScore, i, j;
+/***/ }),

-		for (i = 0; i < guesses.length; i++) {
-			zoneScore = new ZoneScore(getZone(guesses[i]), offsetsLength);
-			for (j = 0; j < offsetsLength; j++) {
-				zoneScore.scoreOffsetAt(offsets[j]);
-			}
-			zoneScores.push(zoneScore);
-		}
+/***/ 1128:
+/***/ (function(module) {

-		zoneScores.sort(sortZoneScores);
+"use strict";
+module.exports = JSON.parse('{"version":"2021e","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212132121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1C00 LA0 1C00|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010101010101010|-23uw0 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|BMT BST AST ADT|4j.i 3j.i 40 30|010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28p7E.G 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Hobart|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293iJ xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293i0 xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Etc/GMT-11|+11|-b0|0||","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0||","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2n5c9.l cFX9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|0123232323232323212121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2xorF.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|01212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0 4q00 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|LMT -1030 -0930 -10|aD.4 au 9u a0|0123232323232323232323232323|-FSdk.U 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Phoenix|America/Creston","America/Phoenix|US/Arizona","America/Puerto_Rico|America/Anguilla","America/Puerto_Rico|America/Antigua","America/Puerto_Rico|America/Aruba","America/Puerto_Rico|America/Blanc-Sablon","America/Puerto_Rico|America/Curacao","America/Puerto_Rico|America/Dominica","America/Puerto_Rico|America/Grenada","America/Puerto_Rico|America/Guadeloupe","America/Puerto_Rico|America/Kralendijk","America/Puerto_Rico|America/Lower_Princes","America/Puerto_Rico|America/Marigot","America/Puerto_Rico|America/Montserrat","America/Puerto_Rico|America/Port_of_Spain","America/Puerto_Rico|America/St_Barthelemy","America/Puerto_Rico|America/St_Kitts","America/Puerto_Rico|America/St_Lucia","America/Puerto_Rico|America/St_Thomas","America/Puerto_Rico|America/St_Vincent","America/Puerto_Rico|America/Tortola","America/Puerto_Rico|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|America/Nassau","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Antarctica/Syowa","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Currie","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Enderbury|Pacific/Kanton","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Port_of_Spain America/Antigua","AI|America/Port_of_Spain America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Syowa Antarctica/Troll Antarctica/Vostok Pacific/Auckland Antarctica/McMurdo","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Curacao America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Port_of_Spain America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Brunei","BO|America/La_Paz","BQ|America/Curacao America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Blanc-Sablon America/Toronto America/Nipigon America/Thunder_Bay America/Iqaluit America/Pangnirtung America/Atikokan America/Winnipeg America/Rainy_River America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Creston America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver","CC|Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Curacao","CX|Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Copenhagen","DM|America/Port_of_Spain America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Chuuk Pacific/Pohnpei Pacific/Kosrae","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Port_of_Spain America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Port_of_Spain America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Enderbury Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Port_of_Spain America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Port_of_Spain America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Port_of_Spain America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Majuro Pacific/Kwajalein","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Port_of_Spain America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Mazatlan America/Chihuahua America/Ojinaga America/Hermosillo America/Tijuana America/Bahia_Banderas","MY|Asia/Kuala_Lumpur Asia/Kuching","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Amsterdam","NO|Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Oslo Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Curacao America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Indian/Reunion Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Port_of_Spain","TV|Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Wake Pacific/Honolulu Pacific/Midway","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Port_of_Spain America/St_Vincent","VE|America/Caracas","VG|America/Port_of_Spain America/Tortola","VI|America/Port_of_Spain America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}');

-		return zoneScores.length > 0 ? zoneScores[0].zone.name : undefined;
-	}
+/***/ })

-	function guess (ignoreCache) {
-		if (!cachedGuess || ignoreCache) {
-			cachedGuess = rebuildGuess();
-		}
-		return cachedGuess;
-	}
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
+"use strict";
+__webpack_require__.r(__webpack_exports__);
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */   "__experimentalGetSettings": function() { return /* binding */ __experimentalGetSettings; },
+/* harmony export */   "date": function() { return /* binding */ date; },
+/* harmony export */   "dateI18n": function() { return /* binding */ dateI18n; },
+/* harmony export */   "format": function() { return /* binding */ format; },
+/* harmony export */   "getDate": function() { return /* binding */ getDate; },
+/* harmony export */   "gmdate": function() { return /* binding */ gmdate; },
+/* harmony export */   "gmdateI18n": function() { return /* binding */ gmdateI18n; },
+/* harmony export */   "isInTheFuture": function() { return /* binding */ isInTheFuture; },
+/* harmony export */   "setSettings": function() { return /* binding */ setSettings; }
+/* harmony export */ });
+/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6292);
+/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2828);
+/* harmony import */ var moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9971);
+/* harmony import */ var moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_timezone_moment_timezone_utils__WEBPACK_IMPORTED_MODULE_2__);
+/**
+ * External dependencies
+ */

-	/************************************
-		Global Methods
-	************************************/

-	function normalizeName (name) {
-		return (name || '').toLowerCase().replace(/\//g, '_');
-	}

-	function addZone (packed) {
-		var i, name, split, normalized;
+/** @typedef {import('moment').Moment} Moment */

-		if (typeof packed === "string") {
-			packed = [packed];
-		}
+/** @typedef {import('moment').LocaleSpecification} MomentLocaleSpecification */

-		for (i = 0; i < packed.length; i++) {
-			split = packed[i].split('|');
-			name = split[0];
-			normalized = normalizeName(name);
-			zones[normalized] = packed[i];
-			names[normalized] = name;
-			addToGuesses(normalized, split[2].split(' '));
-		}
-	}
+/**
+ * @typedef MeridiemConfig
+ * @property {string} am Lowercase AM.
+ * @property {string} AM Uppercase AM.
+ * @property {string} pm Lowercase PM.
+ * @property {string} PM Uppercase PM.
+ */

-	function getZone (name, caller) {
+/**
+ * @typedef FormatsConfig
+ * @property {string} time                Time format.
+ * @property {string} date                Date format.
+ * @property {string} datetime            Datetime format.
+ * @property {string} datetimeAbbreviated Abbreviated datetime format.
+ */

-		name = normalizeName(name);
+/**
+ * @typedef TimezoneConfig
+ * @property {string} offset Offset setting.
+ * @property {string} string The timezone as a string (e.g., `'America/Los_Angeles'`).
+ * @property {string} abbr   Abbreviation for the timezone.
+ */

-		var zone = zones[name];
-		var link;
+/* eslint-disable jsdoc/valid-types */

-		if (zone instanceof Zone) {
-			return zone;
-		}
+/**
+ * @typedef L10nSettings
+ * @property {string}                                     locale        Moment locale.
+ * @property {MomentLocaleSpecification['months']}        months        Locale months.
+ * @property {MomentLocaleSpecification['monthsShort']}   monthsShort   Locale months short.
+ * @property {MomentLocaleSpecification['weekdays']}      weekdays      Locale weekdays.
+ * @property {MomentLocaleSpecification['weekdaysShort']} weekdaysShort Locale weekdays short.
+ * @property {MeridiemConfig}                             meridiem      Meridiem config.
+ * @property {MomentLocaleSpecification['relativeTime']}  relative      Relative time config.
+ */

-		if (typeof zone === 'string') {
-			zone = new Zone(zone);
-			zones[name] = zone;
-			return zone;
-		}
+/* eslint-enable jsdoc/valid-types */

-		// Pass getZone to prevent recursion more than 1 level deep
-		if (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {
-			zone = zones[name] = new Zone();
-			zone._set(link);
-			zone.name = names[name];
-			return zone;
-		}
+/**
+ * @typedef DateSettings
+ * @property {L10nSettings}   l10n     Localization settings.
+ * @property {FormatsConfig}  formats  Date/time formats config.
+ * @property {TimezoneConfig} timezone Timezone settings.
+ */

-		return null;
-	}
+const WP_ZONE = 'WP'; // This regular expression tests positive for UTC offsets as described in ISO 8601.
+// See: https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC

-	function getNames () {
-		var i, out = [];
+const VALID_UTC_OFFSET = /^[+-][0-1][0-9](:?[0-9][0-9])?$/; // Changes made here will likely need to be made in `lib/client-assets.php` as
+// well because it uses the `setSettings()` function to change these settings.

-		for (i in names) {
-			if (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {
-				out.push(names[i]);
-			}
-		}
+/** @type {DateSettings} */

-		return out.sort();
-	}
+let settings = {
+  l10n: {
+    locale: 'en',
+    months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
+    monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+    weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+    weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+    meridiem: {
+      am: 'am',
+      pm: 'pm',
+      AM: 'AM',
+      PM: 'PM'
+    },
+    relative: {
+      future: '%s from now',
+      past: '%s ago',
+      s: 'a few seconds',
+      ss: '%d seconds',
+      m: 'a minute',
+      mm: '%d minutes',
+      h: 'an hour',
+      hh: '%d hours',
+      d: 'a day',
+      dd: '%d days',
+      M: 'a month',
+      MM: '%d months',
+      y: 'a year',
+      yy: '%d years'
+    }
+  },
+  formats: {
+    time: 'g: i a',
+    date: 'F j, Y',
+    datetime: 'F j, Y g: i a',
+    datetimeAbbreviated: 'M j, Y g: i a'
+  },
+  timezone: {
+    offset: '0',
+    string: '',
+    abbr: ''
+  }
+};
+/**
+ * Adds a locale to moment, using the format supplied by `wp_localize_script()`.
+ *
+ * @param {DateSettings} dateSettings Settings, including locale data.
+ */

-	function getCountryNames () {
-		return Object.keys(countries);
-	}
+function setSettings(dateSettings) {
+  settings = dateSettings; // Backup and restore current locale.

-	function addLink (aliases) {
-		var i, alias, normal0, normal1;
+  const currentLocale = moment__WEBPACK_IMPORTED_MODULE_0___default().locale();
+  moment__WEBPACK_IMPORTED_MODULE_0___default().updateLocale(dateSettings.l10n.locale, {
+    // Inherit anything missing from the default locale.
+    parentLocale: currentLocale,
+    months: dateSettings.l10n.months,
+    monthsShort: dateSettings.l10n.monthsShort,
+    weekdays: dateSettings.l10n.weekdays,
+    weekdaysShort: dateSettings.l10n.weekdaysShort,

-		if (typeof aliases === "string") {
-			aliases = [aliases];
-		}
+    meridiem(hour, minute, isLowercase) {
+      if (hour < 12) {
+        return isLowercase ? dateSettings.l10n.meridiem.am : dateSettings.l10n.meridiem.AM;
+      }

-		for (i = 0; i < aliases.length; i++) {
-			alias = aliases[i].split('|');
+      return isLowercase ? dateSettings.l10n.meridiem.pm : dateSettings.l10n.meridiem.PM;
+    },

-			normal0 = normalizeName(alias[0]);
-			normal1 = normalizeName(alias[1]);
+    longDateFormat: {
+      LT: dateSettings.formats.time,
+      // @ts-ignore Forcing this to `null`
+      LTS: null,
+      // @ts-ignore Forcing this to `null`
+      L: null,
+      LL: dateSettings.formats.date,
+      LLL: dateSettings.formats.datetime,
+      // @ts-ignore Forcing this to `null`
+      LLLL: null
+    },
+    // From human_time_diff?
+    // Set to `(number, withoutSuffix, key, isFuture) => {}` instead.
+    relativeTime: dateSettings.l10n.relative
+  });
+  moment__WEBPACK_IMPORTED_MODULE_0___default().locale(currentLocale);
+  setupWPTimezone();
+}
+/**
+ * Returns the currently defined date settings.
+ *
+ * @return {Object} Settings, including locale data.
+ */

-			links[normal0] = normal1;
-			names[normal0] = alias[0];
+function __experimentalGetSettings() {
+  return settings;
+}

-			links[normal1] = normal0;
-			names[normal1] = alias[1];
-		}
-	}
+function setupWPTimezone() {
+  // Create WP timezone based off dateSettings.
+  moment__WEBPACK_IMPORTED_MODULE_0___default().tz.add(moment__WEBPACK_IMPORTED_MODULE_0___default().tz.pack({
+    name: WP_ZONE,
+    abbrs: [WP_ZONE],
+    untils: [null],
+    offsets: [-settings.timezone.offset * 60 || 0]
+  }));
+} // Date constants.

-	function addCountries (data) {
-		var i, country_code, country_zones, split;
-		if (!data || !data.length) return;
-		for (i = 0; i < data.length; i++) {
-			split = data[i].split('|');
-			country_code = split[0].toUpperCase();
-			country_zones = split[1].split(' ');
-			countries[country_code] = new Country(
-				country_code,
-				country_zones
-			);
-		}
-	}
+/**
+ * Number of seconds in one minute.
+ *
+ * @type {number}
+ */

-	function getCountry (name) {
-		name = name.toUpperCase();
-		return countries[name] || null;
-	}

-	function zonesForCountry(country, with_offset) {
-		country = getCountry(country);
+const MINUTE_IN_SECONDS = 60;
+/**
+ * Number of minutes in one hour.
+ *
+ * @type {number}
+ */

-		if (!country) return null;
+const HOUR_IN_MINUTES = 60;
+/**
+ * Number of seconds in one hour.
+ *
+ * @type {number}
+ */

-		var zones = country.zones.sort();
+const HOUR_IN_SECONDS = 60 * MINUTE_IN_SECONDS;
+/**
+ * Map of PHP formats to Moment.js formats.
+ *
+ * These are used internally by {@link wp.date.format}, and are either
+ * a string representing the corresponding Moment.js format code, or a
+ * function which returns the formatted string.
+ *
+ * This should only be used through {@link wp.date.format}, not
+ * directly.
+ */

-		if (with_offset) {
-			return zones.map(function (zone_name) {
-				var zone = getZone(zone_name);
-				return {
-					name: zone_name,
-					offset: zone.utcOffset(new Date())
-				};
-			});
-		}
+const formatMap = {
+  // Day
+  d: 'DD',
+  D: 'ddd',
+  j: 'D',
+  l: 'dddd',
+  N: 'E',

-		return zones;
-	}
+  /**
+   * Gets the ordinal suffix.
+   *
+   * @param {Moment} momentDate Moment instance.
+   *
+   * @return {string} Formatted date.
+   */
+  S(momentDate) {
+    // Do - D
+    const num = momentDate.format('D');
+    const withOrdinal = momentDate.format('Do');
+    return withOrdinal.replace(num, '');
+  },

-	function loadData (data) {
-		addZone(data.zones);
-		addLink(data.links);
-		addCountries(data.countries);
-		tz.dataVersion = data.version;
-	}
+  w: 'd',

-	function zoneExists (name) {
-		if (!zoneExists.didShowError) {
-			zoneExists.didShowError = true;
-				logError("moment.tz.zoneExists('" + name + "') has been deprecated in favor of !moment.tz.zone('" + name + "')");
-		}
-		return !!getZone(name);
-	}
+  /**
+   * Gets the day of the year (zero-indexed).
+   *
+   * @param {Moment} momentDate Moment instance.
+   *
+   * @return {string} Formatted date.
+   */
+  z(momentDate) {
+    // DDD - 1
+    return (parseInt(momentDate.format('DDD'), 10) - 1).toString();
+  },

-	function needsOffset (m) {
-		var isUnixTimestamp = (m._f === 'X' || m._f === 'x');
-		return !!(m._a && (m._tzm === undefined) && !isUnixTimestamp);
-	}
+  // Week
+  W: 'W',
+  // Month
+  F: 'MMMM',
+  m: 'MM',
+  M: 'MMM',
+  n: 'M',

-	function logError (message) {
-		if (typeof console !== 'undefined' && typeof console.error === 'function') {
-			console.error(message);
-		}
-	}
+  /**
+   * Gets the days in the month.
+   *
+   * @param {Moment} momentDate Moment instance.
+   *
+   * @return {number} Formatted date.
+   */
+  t(momentDate) {
+    return momentDate.daysInMonth();
+  },

-	/************************************
-		moment.tz namespace
-	************************************/
+  // Year

-	function tz (input) {
-		var args = Array.prototype.slice.call(arguments, 0, -1),
-			name = arguments[arguments.length - 1],
-			zone = getZone(name),
-			out  = moment.utc.apply(null, args);
+  /**
+   * Gets whether the current year is a leap year.
+   *
+   * @param {Moment} momentDate Moment instance.
+   *
+   * @return {string} Formatted date.
+   */
+  L(momentDate) {
+    return momentDate.isLeapYear() ? '1' : '0';
+  },

-		if (zone && !moment.isMoment(input) && needsOffset(out)) {
-			out.add(zone.parse(out), 'minutes');
-		}
+  o: 'GGGG',
+  Y: 'YYYY',
+  y: 'YY',
+  // Time
+  a: 'a',
+  A: 'A',

-		out.tz(name);
+  /**
+   * Gets the current time in Swatch Internet Time (.beats).
+   *
+   * @param {Moment} momentDate Moment instance.
+   *
+   * @return {number} Formatted date.
+   */
+  B(momentDate) {
+    const timezoned = moment__WEBPACK_IMPORTED_MODULE_0___default()(momentDate).utcOffset(60);
+    const seconds = parseInt(timezoned.format('s'), 10),
+          minutes = parseInt(timezoned.format('m'), 10),
+          hours = parseInt(timezoned.format('H'), 10);
+    return parseInt(((seconds + minutes * MINUTE_IN_SECONDS + hours * HOUR_IN_SECONDS) / 86.4).toString(), 10);
+  },

-		return out;
-	}
+  g: 'h',
+  G: 'H',
+  h: 'hh',
+  H: 'HH',
+  i: 'mm',
+  s: 'ss',
+  u: 'SSSSSS',
+  v: 'SSS',
+  // Timezone
+  e: 'zz',

-	tz.version      = VERSION;
-	tz.dataVersion  = '';
-	tz._zones       = zones;
-	tz._links       = links;
-	tz._names       = names;
-	tz._countries	= countries;
-	tz.add          = addZone;
-	tz.link         = addLink;
-	tz.load         = loadData;
-	tz.zone         = getZone;
-	tz.zoneExists   = zoneExists; // deprecated in 0.1.0
-	tz.guess        = guess;
-	tz.names        = getNames;
-	tz.Zone         = Zone;
-	tz.unpack       = unpack;
-	tz.unpackBase60 = unpackBase60;
-	tz.needsOffset  = needsOffset;
-	tz.moveInvalidForward   = true;
-	tz.moveAmbiguousForward = false;
-	tz.countries    = getCountryNames;
-	tz.zonesForCountry = zonesForCountry;
+  /**
+   * Gets whether the timezone is in DST currently.
+   *
+   * @param {Moment} momentDate Moment instance.
+   *
+   * @return {string} Formatted date.
+   */
+  I(momentDate) {
+    return momentDate.isDST() ? '1' : '0';
+  },

-	/************************************
-		Interface with Moment.js
-	************************************/
+  O: 'ZZ',
+  P: 'Z',
+  T: 'z',

-	var fn = moment.fn;
+  /**
+   * Gets the timezone offset in seconds.
+   *
+   * @param {Moment} momentDate Moment instance.
+   *
+   * @return {number} Formatted date.
+   */
+  Z(momentDate) {
+    // Timezone offset in seconds.
+    const offset = momentDate.format('Z');
+    const sign = offset[0] === '-' ? -1 : 1;
+    const parts = offset.substring(1).split(':').map(n => parseInt(n, 10));
+    return sign * (parts[0] * HOUR_IN_MINUTES + parts[1]) * MINUTE_IN_SECONDS;
+  },

-	moment.tz = tz;
+  // Full date/time
+  c: 'YYYY-MM-DDTHH:mm:ssZ',
+  // .toISOString
+  r: 'ddd, D MMM YYYY HH:mm:ss ZZ',
+  U: 'X'
+};
+/**
+ * Formats a date. Does not alter the date's timezone.
+ *
+ * @param {string}                             dateFormat PHP-style formatting string.
+ *                                                        See php.net/date.
+ * @param {Moment | Date | string | undefined} dateValue  Date object or string,
+ *                                                        parsable by moment.js.
+ *
+ * @return {string} Formatted date.
+ */

-	moment.defaultZone = null;
+function format(dateFormat) {
+  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
+  let i, char;
+  const newFormat = [];
+  const momentDate = moment__WEBPACK_IMPORTED_MODULE_0___default()(dateValue);

-	moment.updateOffset = function (mom, keepTime) {
-		var zone = moment.defaultZone,
-			offset;
+  for (i = 0; i < dateFormat.length; i++) {
+    char = dateFormat[i]; // Is this an escape?
+
+    if ('\\' === char) {
+      // Add next character, then move on.
+      i++;
+      newFormat.push('[' + dateFormat[i] + ']');
+      continue;
+    }

-		if (mom._z === undefined) {
-			if (zone && needsOffset(mom) && !mom._isUTC) {
-				mom._d = moment.utc(mom._a)._d;
-				mom.utc().add(zone.parse(mom), 'minutes');
-			}
-			mom._z = zone;
-		}
-		if (mom._z) {
-			offset = mom._z.utcOffset(mom);
-			if (Math.abs(offset) < 16) {
-				offset = offset / 60;
-			}
-			if (mom.utcOffset !== undefined) {
-				var z = mom._z;
-				mom.utcOffset(-offset, keepTime);
-				mom._z = z;
-			} else {
-				mom.zone(offset, keepTime);
-			}
-		}
-	};
+    if (char in formatMap) {
+      const formatter = formatMap[
+      /** @type {keyof formatMap} */
+      char];

-	fn.tz = function (name, keepTime) {
-		if (name) {
-			if (typeof name !== 'string') {
-				throw new Error('Time zone name must be a string, got ' + name + ' [' + typeof name + ']');
-			}
-			this._z = getZone(name);
-			if (this._z) {
-				moment.updateOffset(this, keepTime);
-			} else {
-				logError("Moment Timezone has no data for " + name + ". See http://momentjs.com/timezone/docs/#/data-loading/.");
-			}
-			return this;
-		}
-		if (this._z) { return this._z.name; }
-	};
+      if (typeof formatter !== 'string') {
+        // If the format is a function, call it.
+        newFormat.push('[' + formatter(momentDate) + ']');
+      } else {
+        // Otherwise, add as a formatting string.
+        newFormat.push(formatter);
+      }
+    } else {
+      newFormat.push('[' + char + ']');
+    }
+  } // Join with [] between to separate characters, and replace
+  // unneeded separators with static text.

-	function abbrWrap (old) {
-		return function () {
-			if (this._z) { return this._z.abbr(this); }
-			return old.call(this);
-		};
-	}

-	function resetZoneWrap (old) {
-		return function () {
-			this._z = null;
-			return old.apply(this, arguments);
-		};
-	}
+  return momentDate.format(newFormat.join('[]'));
+}
+/**
+ * Formats a date (like `date()` in PHP).
+ *
+ * @param {string}                             dateFormat PHP-style formatting string.
+ *                                                        See php.net/date.
+ * @param {Moment | Date | string | undefined} dateValue  Date object or string, parsable
+ *                                                        by moment.js.
+ * @param {string | undefined}                 timezone   Timezone to output result in or a
+ *                                                        UTC offset. Defaults to timezone from
+ *                                                        site.
+ *
+ * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC
+ *
+ * @return {string} Formatted date in English.
+ */

-	function resetZoneWrap2 (old) {
-		return function () {
-			if (arguments.length > 0) this._z = null;
-			return old.apply(this, arguments);
-		};
-	}
+function date(dateFormat) {
+  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
+  let timezone = arguments.length > 2 ? arguments[2] : undefined;
+  const dateMoment = buildMoment(dateValue, timezone);
+  return format(dateFormat, dateMoment);
+}
+/**
+ * Formats a date (like `date()` in PHP), in the UTC timezone.
+ *
+ * @param {string}                             dateFormat PHP-style formatting string.
+ *                                                        See php.net/date.
+ * @param {Moment | Date | string | undefined} dateValue  Date object or string,
+ *                                                        parsable by moment.js.
+ *
+ * @return {string} Formatted date in English.
+ */

-	fn.zoneName  = abbrWrap(fn.zoneName);
-	fn.zoneAbbr  = abbrWrap(fn.zoneAbbr);
-	fn.utc       = resetZoneWrap(fn.utc);
-	fn.local     = resetZoneWrap(fn.local);
-	fn.utcOffset = resetZoneWrap2(fn.utcOffset);
+function gmdate(dateFormat) {
+  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
+  const dateMoment = moment__WEBPACK_IMPORTED_MODULE_0___default()(dateValue).utc();
+  return format(dateFormat, dateMoment);
+}
+/**
+ * Formats a date (like `wp_date()` in PHP), translating it into site's locale.
+ *
+ * Backward Compatibility Notice: if `timezone` is set to `true`, the function
+ * behaves like `gmdateI18n`.
+ *
+ * @param {string}                             dateFormat PHP-style formatting string.
+ *                                                        See php.net/date.
+ * @param {Moment | Date | string | undefined} dateValue  Date object or string, parsable by
+ *                                                        moment.js.
+ * @param {string | boolean | undefined}       timezone   Timezone to output result in or a
+ *                                                        UTC offset. Defaults to timezone from
+ *                                                        site. Notice: `boolean` is effectively
+ *                                                        deprecated, but still supported for
+ *                                                        backward compatibility reasons.
+ *
+ * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC
+ *
+ * @return {string} Formatted date.
+ */

-	moment.tz.setDefault = function(name) {
-		if (major < 2 || (major === 2 && minor < 9)) {
-			logError('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js ' + moment.version + '.');
-		}
-		moment.defaultZone = name ? getZone(name) : null;
-		return moment;
-	};
+function dateI18n(dateFormat) {
+  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
+  let timezone = arguments.length > 2 ? arguments[2] : undefined;

-	// Cloning a moment should include the _z property.
-	var momentProperties = moment.momentProperties;
-	if (Object.prototype.toString.call(momentProperties) === '[object Array]') {
-		// moment 2.8.1+
-		momentProperties.push('_z');
-		momentProperties.push('_a');
-	} else if (momentProperties) {
-		// moment 2.7.0
-		momentProperties._z = null;
-	}
+  if (true === timezone) {
+    return gmdateI18n(dateFormat, dateValue);
+  }

-	// INJECT DATA
+  if (false === timezone) {
+    timezone = undefined;
+  }

-	return moment;
-}));
+  const dateMoment = buildMoment(dateValue, timezone);
+  dateMoment.locale(settings.l10n.locale);
+  return format(dateFormat, dateMoment);
+}
+/**
+ * Formats a date (like `wp_date()` in PHP), translating it into site's locale
+ * and using the UTC timezone.
+ *
+ * @param {string}                             dateFormat PHP-style formatting string.
+ *                                                        See php.net/date.
+ * @param {Moment | Date | string | undefined} dateValue  Date object or string,
+ *                                                        parsable by moment.js.
+ *
+ * @return {string} Formatted date.
+ */
+
+function gmdateI18n(dateFormat) {
+  let dateValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Date();
+  const dateMoment = moment__WEBPACK_IMPORTED_MODULE_0___default()(dateValue).utc();
+  dateMoment.locale(settings.l10n.locale);
+  return format(dateFormat, dateMoment);
+}
+/**
+ * Check whether a date is considered in the future according to the WordPress settings.
+ *
+ * @param {string} dateValue Date String or Date object in the Defined WP Timezone.
+ *
+ * @return {boolean} Is in the future.
+ */

+function isInTheFuture(dateValue) {
+  const now = moment__WEBPACK_IMPORTED_MODULE_0___default().tz(WP_ZONE);
+  const momentObject = moment__WEBPACK_IMPORTED_MODULE_0___default().tz(dateValue, WP_ZONE);
+  return momentObject.isAfter(now);
+}
+/**
+ * Create and return a JavaScript Date Object from a date string in the WP timezone.
+ *
+ * @param {string?} dateString Date formatted in the WP timezone.
+ *
+ * @return {Date} Date
+ */

-/***/ }),
+function getDate(dateString) {
+  if (!dateString) {
+    return moment__WEBPACK_IMPORTED_MODULE_0___default().tz(WP_ZONE).toDate();
+  }

-/***/ "bNI1":
-/***/ (function(module) {
+  return moment__WEBPACK_IMPORTED_MODULE_0___default().tz(dateString, WP_ZONE).toDate();
+}
+/**
+ * Creates a moment instance using the given timezone or, if none is provided, using global settings.
+ *
+ * @param {Moment | Date | string | undefined} dateValue Date object or string, parsable
+ *                                                       by moment.js.
+ * @param {string | undefined}                 timezone  Timezone to output result in or a
+ *                                                       UTC offset. Defaults to timezone from
+ *                                                       site.
+ *
+ * @see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
+ * @see https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC
+ *
+ * @return {Moment} a moment instance.
+ */

-module.exports = JSON.parse("{\"version\":\"2021e\",\"zones\":[\"Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5\",\"Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5\",\"Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5\",\"Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6\",\"Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4\",\"Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5\",\"Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6\",\"Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|32e5\",\"Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3\",\"Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4\",\"Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5\",\"Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|\",\"Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5\",\"Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5\",\"Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5\",\"Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00|\",\"Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5\",\"Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5\",\"Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4\",\"America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326\",\"America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4\",\"America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5\",\"America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4\",\"America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|\",\"America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|\",\"America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|\",\"America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|\",\"America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|\",\"America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|\",\"America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|\",\"America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|\",\"America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|\",\"America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|\",\"America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|\",\"America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|\",\"America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5\",\"America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5\",\"America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3\",\"America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5\",\"America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4\",\"America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5\",\"America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3\",\"America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2\",\"America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5\",\"America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4\",\"America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2\",\"America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4\",\"America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4\",\"America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5\",\"America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3\",\"America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5\",\"America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4\",\"America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5\",\"America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5\",\"America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4\",\"America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8\",\"America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3\",\"America/Dawson|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2\",\"America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5\",\"America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5\",\"America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5\",\"America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3\",\"America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5\",\"America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5\",\"America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2\",\"America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5\",\"America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3\",\"America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3\",\"America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2\",\"America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212132121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2\",\"America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5\",\"America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5\",\"America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4\",\"America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4\",\"America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5\",\"America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4\",\"America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2\",\"America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2\",\"America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4\",\"America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3\",\"America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5\",\"America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6\",\"America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6\",\"America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4\",\"America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5\",\"America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5\",\"America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4\",\"America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4\",\"America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4\",\"America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2\",\"America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5\",\"America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2\",\"America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6\",\"America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2\",\"America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3\",\"America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5\",\"America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5\",\"America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5\",\"America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6\",\"America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2\",\"America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2\",\"America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2\",\"America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3\",\"America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2\",\"America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4\",\"America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5\",\"America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4\",\"America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4\",\"America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|\",\"America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842\",\"America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2\",\"America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5\",\"America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4\",\"America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229\",\"America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4\",\"America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5\",\"America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5\",\"America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6\",\"America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452\",\"America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2\",\"America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4\",\"America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3\",\"America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5\",\"America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656\",\"America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4\",\"America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5\",\"America/Whitehorse|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3\",\"America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4\",\"America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642\",\"America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3\",\"Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10\",\"Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70\",\"Pacific/Port_Moresby|+10|-a0|0||25e4\",\"Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|1\",\"Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60\",\"Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5\",\"Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40\",\"Antarctica/Rothera|-00 -03|0 30|01|gOo0|130\",\"Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5\",\"Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40\",\"Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25\",\"Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4\",\"Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5\",\"Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1C00 LA0 1C00|25e5\",\"Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3\",\"Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4\",\"Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4\",\"Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4\",\"Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|\",\"Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5\",\"Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4\",\"Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5\",\"Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6\",\"Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|\",\"Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5\",\"Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4\",\"Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4\",\"Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6\",\"Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4\",\"Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3\",\"Asia/Shanghai|CST CDT|-80 -90|01010101010101010101010101010|-23uw0 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6\",\"Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5\",\"Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6\",\"Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5\",\"Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4\",\"Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5\",\"Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4\",\"Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|\",\"Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|18e5\",\"Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|25e4\",\"Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5\",\"Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5\",\"Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3\",\"Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4\",\"Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6\",\"Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6\",\"Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4\",\"Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4\",\"Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5\",\"Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4\",\"Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6\",\"Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5\",\"Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5\",\"Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2\",\"Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5\",\"Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5\",\"Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4\",\"Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4\",\"Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3\",\"Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5\",\"Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6\",\"Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4\",\"Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4\",\"Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5\",\"Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5\",\"Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4\",\"Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4\",\"Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5\",\"Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|\",\"Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4\",\"Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5\",\"Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4\",\"Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4\",\"Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6\",\"Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2\",\"Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5\",\"Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5\",\"Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5\",\"Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6\",\"Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3\",\"Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6\",\"Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5\",\"Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5\",\"Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2\",\"Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4\",\"Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4\",\"Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5\",\"Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5\",\"Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4\",\"Atlantic/Bermuda|BMT BST AST ADT|4j.i 3j.i 40 30|010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28p7E.G 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3\",\"Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4\",\"Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3\",\"Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4\",\"Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4\",\"Atlantic/South_Georgia|-02|20|0||30\",\"Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2\",\"Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5\",\"Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5\",\"Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5\",\"Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3\",\"Australia/Hobart|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4\",\"Australia/Darwin|ACST ACDT|-9u -au|010101010|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4\",\"Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293iJ xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368\",\"Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347\",\"Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10\",\"Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5\",\"Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293i0 xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5\",\"CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|\",\"Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2\",\"CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|\",\"Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"EST|EST|50|0||\",\"EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"Etc/GMT-0|GMT|0|0||\",\"Etc/GMT-1|+01|-10|0||\",\"Etc/GMT-11|+11|-b0|0||\",\"Pacific/Tarawa|+12|-c0|0||29e3\",\"Etc/GMT-13|+13|-d0|0||\",\"Etc/GMT-14|+14|-e0|0||\",\"Etc/GMT-2|+02|-20|0||\",\"Etc/GMT-3|+03|-30|0||\",\"Etc/GMT-4|+04|-40|0||\",\"Etc/GMT-5|+05|-50|0||\",\"Etc/GMT-6|+06|-60|0||\",\"Indian/Christmas|+07|-70|0||21e2\",\"Etc/GMT-8|+08|-80|0||\",\"Pacific/Palau|+09|-90|0||21e3\",\"Etc/GMT+1|-01|10|0||\",\"Etc/GMT+10|-10|a0|0||\",\"Etc/GMT+11|-11|b0|0||\",\"Etc/GMT+12|-12|c0|0||\",\"Etc/GMT+3|-03|30|0||\",\"Etc/GMT+4|-04|40|0||\",\"Etc/GMT+5|-05|50|0||\",\"Etc/GMT+6|-06|60|0||\",\"Etc/GMT+7|-07|70|0||\",\"Etc/GMT+8|-08|80|0||\",\"Etc/GMT+9|-09|90|0||\",\"Etc/UTC|UTC|0|0||\",\"Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5\",\"Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3\",\"Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5\",\"Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5\",\"Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6\",\"Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5\",\"Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5\",\"Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5\",\"Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5\",\"Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5\",\"Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4\",\"Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4\",\"Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3\",\"Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4\",\"Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5\",\"Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4\",\"Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5\",\"Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5\",\"Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4\",\"Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5\",\"Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2n5c9.l cFX9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3\",\"Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6\",\"Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6\",\"Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4\",\"Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5\",\"Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5\",\"Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|\",\"Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4\",\"Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5\",\"Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5\",\"Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4\",\"Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4\",\"Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5\",\"Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4\",\"Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5\",\"Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4\",\"Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|0123232323232323212121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5\",\"Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5\",\"Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4\",\"HST|HST|a0|0||\",\"Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2\",\"Indian/Cocos|+0630|-6u|0||596\",\"Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130\",\"Indian/Mahe|LMT +04|-3F.M -40|01|-2xorF.M|79e3\",\"Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4\",\"Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4\",\"Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4\",\"Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3\",\"MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|\",\"MST|MST|70|0||\",\"MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600\",\"Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3\",\"Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4\",\"Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3\",\"Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3\",\"Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1\",\"Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483\",\"Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|01212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0 4q00 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4\",\"Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3\",\"Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125\",\"Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4\",\"Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4\",\"Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4\",\"Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2\",\"Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2\",\"Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3\",\"Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2\",\"Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2\",\"Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3\",\"Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2\",\"Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4\",\"Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3\",\"Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56\",\"Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3\",\"Pacific/Rarotonga|LMT -1030 -0930 -10|aD.4 au 9u a0|0123232323232323232323232323|-FSdk.U 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3\",\"Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4\",\"Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3\",\"PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|\",\"WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|\"],\"links\":[\"Africa/Abidjan|Africa/Accra\",\"Africa/Abidjan|Africa/Bamako\",\"Africa/Abidjan|Africa/Banjul\",\"Africa/Abidjan|Africa/Conakry\",\"Africa/Abidjan|Africa/Dakar\",\"Africa/Abidjan|Africa/Freetown\",\"Africa/Abidjan|Africa/Lome\",\"Africa/Abidjan|Africa/Nouakchott\",\"Africa/Abidjan|Africa/Ouagadougou\",\"Africa/Abidjan|Africa/Timbuktu\",\"Africa/Abidjan|Atlantic/St_Helena\",\"Africa/Cairo|Egypt\",\"Africa/Johannesburg|Africa/Maseru\",\"Africa/Johannesburg|Africa/Mbabane\",\"Africa/Lagos|Africa/Bangui\",\"Africa/Lagos|Africa/Brazzaville\",\"Africa/Lagos|Africa/Douala\",\"Africa/Lagos|Africa/Kinshasa\",\"Africa/Lagos|Africa/Libreville\",\"Africa/Lagos|Africa/Luanda\",\"Africa/Lagos|Africa/Malabo\",\"Africa/Lagos|Africa/Niamey\",\"Africa/Lagos|Africa/Porto-Novo\",\"Africa/Maputo|Africa/Blantyre\",\"Africa/Maputo|Africa/Bujumbura\",\"Africa/Maputo|Africa/Gaborone\",\"Africa/Maputo|Africa/Harare\",\"Africa/Maputo|Africa/Kigali\",\"Africa/Maputo|Africa/Lubumbashi\",\"Africa/Maputo|Africa/Lusaka\",\"Africa/Nairobi|Africa/Addis_Ababa\",\"Africa/Nairobi|Africa/Asmara\",\"Africa/Nairobi|Africa/Asmera\",\"Africa/Nairobi|Africa/Dar_es_Salaam\",\"Africa/Nairobi|Africa/Djibouti\",\"Africa/Nairobi|Africa/Kampala\",\"Africa/Nairobi|Africa/Mogadishu\",\"Africa/Nairobi|Indian/Antananarivo\",\"Africa/Nairobi|Indian/Comoro\",\"Africa/Nairobi|Indian/Mayotte\",\"Africa/Tripoli|Libya\",\"America/Adak|America/Atka\",\"America/Adak|US/Aleutian\",\"America/Anchorage|US/Alaska\",\"America/Argentina/Buenos_Aires|America/Buenos_Aires\",\"America/Argentina/Catamarca|America/Argentina/ComodRivadavia\",\"America/Argentina/Catamarca|America/Catamarca\",\"America/Argentina/Cordoba|America/Cordoba\",\"America/Argentina/Cordoba|America/Rosario\",\"America/Argentina/Jujuy|America/Jujuy\",\"America/Argentina/Mendoza|America/Mendoza\",\"America/Chicago|US/Central\",\"America/Denver|America/Shiprock\",\"America/Denver|Navajo\",\"America/Denver|US/Mountain\",\"America/Detroit|US/Michigan\",\"America/Edmonton|Canada/Mountain\",\"America/Fort_Wayne|America/Indiana/Indianapolis\",\"America/Fort_Wayne|America/Indianapolis\",\"America/Fort_Wayne|US/East-Indiana\",\"America/Godthab|America/Nuuk\",\"America/Halifax|Canada/Atlantic\",\"America/Havana|Cuba\",\"America/Indiana/Knox|America/Knox_IN\",\"America/Indiana/Knox|US/Indiana-Starke\",\"America/Jamaica|Jamaica\",\"America/Kentucky/Louisville|America/Louisville\",\"America/Los_Angeles|US/Pacific\",\"America/Manaus|Brazil/West\",\"America/Mazatlan|Mexico/BajaSur\",\"America/Mexico_City|Mexico/General\",\"America/New_York|US/Eastern\",\"America/Noronha|Brazil/DeNoronha\",\"America/Panama|America/Atikokan\",\"America/Panama|America/Cayman\",\"America/Panama|America/Coral_Harbour\",\"America/Phoenix|America/Creston\",\"America/Phoenix|US/Arizona\",\"America/Puerto_Rico|America/Anguilla\",\"America/Puerto_Rico|America/Antigua\",\"America/Puerto_Rico|America/Aruba\",\"America/Puerto_Rico|America/Blanc-Sablon\",\"America/Puerto_Rico|America/Curacao\",\"America/Puerto_Rico|America/Dominica\",\"America/Puerto_Rico|America/Grenada\",\"America/Puerto_Rico|America/Guadeloupe\",\"America/Puerto_Rico|America/Kralendijk\",\"America/Puerto_Rico|America/Lower_Princes\",\"America/Puerto_Rico|America/Marigot\",\"America/Puerto_Rico|America/Montserrat\",\"America/Puerto_Rico|America/Port_of_Spain\",\"America/Puerto_Rico|America/St_Barthelemy\",\"America/Puerto_Rico|America/St_Kitts\",\"America/Puerto_Rico|America/St_Lucia\",\"America/Puerto_Rico|America/St_Thomas\",\"America/Puerto_Rico|America/St_Vincent\",\"America/Puerto_Rico|America/Tortola\",\"America/Puerto_Rico|America/Virgin\",\"America/Regina|Canada/Saskatchewan\",\"America/Rio_Branco|America/Porto_Acre\",\"America/Rio_Branco|Brazil/Acre\",\"America/Santiago|Chile/Continental\",\"America/Sao_Paulo|Brazil/East\",\"America/St_Johns|Canada/Newfoundland\",\"America/Tijuana|America/Ensenada\",\"America/Tijuana|America/Santa_Isabel\",\"America/Tijuana|Mexico/BajaNorte\",\"America/Toronto|America/Montreal\",\"America/Toronto|America/Nassau\",\"America/Toronto|Canada/Eastern\",\"America/Vancouver|Canada/Pacific\",\"America/Whitehorse|Canada/Yukon\",\"America/Winnipeg|Canada/Central\",\"Asia/Ashgabat|Asia/Ashkhabad\",\"Asia/Bangkok|Asia/Phnom_Penh\",\"Asia/Bangkok|Asia/Vientiane\",\"Asia/Dhaka|Asia/Dacca\",\"Asia/Dubai|Asia/Muscat\",\"Asia/Ho_Chi_Minh|Asia/Saigon\",\"Asia/Hong_Kong|Hongkong\",\"Asia/Jerusalem|Asia/Tel_Aviv\",\"Asia/Jerusalem|Israel\",\"Asia/Kathmandu|Asia/Katmandu\",\"Asia/Kolkata|Asia/Calcutta\",\"Asia/Kuala_Lumpur|Asia/Singapore\",\"Asia/Kuala_Lumpur|Singapore\",\"Asia/Macau|Asia/Macao\",\"Asia/Makassar|Asia/Ujung_Pandang\",\"Asia/Nicosia|Europe/Nicosia\",\"Asia/Qatar|Asia/Bahrain\",\"Asia/Rangoon|Asia/Yangon\",\"Asia/Riyadh|Antarctica/Syowa\",\"Asia/Riyadh|Asia/Aden\",\"Asia/Riyadh|Asia/Kuwait\",\"Asia/Seoul|ROK\",\"Asia/Shanghai|Asia/Chongqing\",\"Asia/Shanghai|Asia/Chungking\",\"Asia/Shanghai|Asia/Harbin\",\"Asia/Shanghai|PRC\",\"Asia/Taipei|ROC\",\"Asia/Tehran|Iran\",\"Asia/Thimphu|Asia/Thimbu\",\"Asia/Tokyo|Japan\",\"Asia/Ulaanbaatar|Asia/Ulan_Bator\",\"Asia/Urumqi|Asia/Kashgar\",\"Atlantic/Faroe|Atlantic/Faeroe\",\"Atlantic/Reykjavik|Iceland\",\"Atlantic/South_Georgia|Etc/GMT+2\",\"Australia/Adelaide|Australia/South\",\"Australia/Brisbane|Australia/Queensland\",\"Australia/Broken_Hill|Australia/Yancowinna\",\"Australia/Darwin|Australia/North\",\"Australia/Hobart|Australia/Currie\",\"Australia/Hobart|Australia/Tasmania\",\"Australia/Lord_Howe|Australia/LHI\",\"Australia/Melbourne|Australia/Victoria\",\"Australia/Perth|Australia/West\",\"Australia/Sydney|Australia/ACT\",\"Australia/Sydney|Australia/Canberra\",\"Australia/Sydney|Australia/NSW\",\"Etc/GMT-0|Etc/GMT\",\"Etc/GMT-0|Etc/GMT+0\",\"Etc/GMT-0|Etc/GMT0\",\"Etc/GMT-0|Etc/Greenwich\",\"Etc/GMT-0|GMT\",\"Etc/GMT-0|GMT+0\",\"Etc/GMT-0|GMT-0\",\"Etc/GMT-0|GMT0\",\"Etc/GMT-0|Greenwich\",\"Etc/UTC|Etc/UCT\",\"Etc/UTC|Etc/Universal\",\"Etc/UTC|Etc/Zulu\",\"Etc/UTC|UCT\",\"Etc/UTC|UTC\",\"Etc/UTC|Universal\",\"Etc/UTC|Zulu\",\"Europe/Belgrade|Europe/Ljubljana\",\"Europe/Belgrade|Europe/Podgorica\",\"Europe/Belgrade|Europe/Sarajevo\",\"Europe/Belgrade|Europe/Skopje\",\"Europe/Belgrade|Europe/Zagreb\",\"Europe/Chisinau|Europe/Tiraspol\",\"Europe/Dublin|Eire\",\"Europe/Helsinki|Europe/Mariehamn\",\"Europe/Istanbul|Asia/Istanbul\",\"Europe/Istanbul|Turkey\",\"Europe/Lisbon|Portugal\",\"Europe/London|Europe/Belfast\",\"Europe/London|Europe/Guernsey\",\"Europe/London|Europe/Isle_of_Man\",\"Europe/London|Europe/Jersey\",\"Europe/London|GB\",\"Europe/London|GB-Eire\",\"Europe/Moscow|W-SU\",\"Europe/Oslo|Arctic/Longyearbyen\",\"Europe/Oslo|Atlantic/Jan_Mayen\",\"Europe/Prague|Europe/Bratislava\",\"Europe/Rome|Europe/San_Marino\",\"Europe/Rome|Europe/Vatican\",\"Europe/Warsaw|Poland\",\"Europe/Zurich|Europe/Busingen\",\"Europe/Zurich|Europe/Vaduz\",\"Indian/Christmas|Etc/GMT-7\",\"Pacific/Auckland|Antarctica/McMurdo\",\"Pacific/Auckland|Antarctica/South_Pole\",\"Pacific/Auckland|NZ\",\"Pacific/Chatham|NZ-CHAT\",\"Pacific/Chuuk|Pacific/Truk\",\"Pacific/Chuuk|Pacific/Yap\",\"Pacific/Easter|Chile/EasterIsland\",\"Pacific/Enderbury|Pacific/Kanton\",\"Pacific/Guam|Pacific/Saipan\",\"Pacific/Honolulu|Pacific/Johnston\",\"Pacific/Honolulu|US/Hawaii\",\"Pacific/Kwajalein|Kwajalein\",\"Pacific/Pago_Pago|Pacific/Midway\",\"Pacific/Pago_Pago|Pacific/Samoa\",\"Pacific/Pago_Pago|US/Samoa\",\"Pacific/Palau|Etc/GMT-9\",\"Pacific/Pohnpei|Pacific/Ponape\",\"Pacific/Port_Moresby|Antarctica/DumontDUrville\",\"Pacific/Port_Moresby|Etc/GMT-10\",\"Pacific/Tarawa|Etc/GMT-12\",\"Pacific/Tarawa|Pacific/Funafuti\",\"Pacific/Tarawa|Pacific/Wake\",\"Pacific/Tarawa|Pacific/Wallis\"],\"countries\":[\"AD|Europe/Andorra\",\"AE|Asia/Dubai\",\"AF|Asia/Kabul\",\"AG|America/Port_of_Spain America/Antigua\",\"AI|America/Port_of_Spain America/Anguilla\",\"AL|Europe/Tirane\",\"AM|Asia/Yerevan\",\"AO|Africa/Lagos Africa/Luanda\",\"AQ|Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Syowa Antarctica/Troll Antarctica/Vostok Pacific/Auckland Antarctica/McMurdo\",\"AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia\",\"AS|Pacific/Pago_Pago\",\"AT|Europe/Vienna\",\"AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla\",\"AW|America/Curacao America/Aruba\",\"AX|Europe/Helsinki Europe/Mariehamn\",\"AZ|Asia/Baku\",\"BA|Europe/Belgrade Europe/Sarajevo\",\"BB|America/Barbados\",\"BD|Asia/Dhaka\",\"BE|Europe/Brussels\",\"BF|Africa/Abidjan Africa/Ouagadougou\",\"BG|Europe/Sofia\",\"BH|Asia/Qatar Asia/Bahrain\",\"BI|Africa/Maputo Africa/Bujumbura\",\"BJ|Africa/Lagos Africa/Porto-Novo\",\"BL|America/Port_of_Spain America/St_Barthelemy\",\"BM|Atlantic/Bermuda\",\"BN|Asia/Brunei\",\"BO|America/La_Paz\",\"BQ|America/Curacao America/Kralendijk\",\"BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco\",\"BS|America/Nassau\",\"BT|Asia/Thimphu\",\"BW|Africa/Maputo Africa/Gaborone\",\"BY|Europe/Minsk\",\"BZ|America/Belize\",\"CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Blanc-Sablon America/Toronto America/Nipigon America/Thunder_Bay America/Iqaluit America/Pangnirtung America/Atikokan America/Winnipeg America/Rainy_River America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Creston America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver\",\"CC|Indian/Cocos\",\"CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi\",\"CF|Africa/Lagos Africa/Bangui\",\"CG|Africa/Lagos Africa/Brazzaville\",\"CH|Europe/Zurich\",\"CI|Africa/Abidjan\",\"CK|Pacific/Rarotonga\",\"CL|America/Santiago America/Punta_Arenas Pacific/Easter\",\"CM|Africa/Lagos Africa/Douala\",\"CN|Asia/Shanghai Asia/Urumqi\",\"CO|America/Bogota\",\"CR|America/Costa_Rica\",\"CU|America/Havana\",\"CV|Atlantic/Cape_Verde\",\"CW|America/Curacao\",\"CX|Indian/Christmas\",\"CY|Asia/Nicosia Asia/Famagusta\",\"CZ|Europe/Prague\",\"DE|Europe/Zurich Europe/Berlin Europe/Busingen\",\"DJ|Africa/Nairobi Africa/Djibouti\",\"DK|Europe/Copenhagen\",\"DM|America/Port_of_Spain America/Dominica\",\"DO|America/Santo_Domingo\",\"DZ|Africa/Algiers\",\"EC|America/Guayaquil Pacific/Galapagos\",\"EE|Europe/Tallinn\",\"EG|Africa/Cairo\",\"EH|Africa/El_Aaiun\",\"ER|Africa/Nairobi Africa/Asmara\",\"ES|Europe/Madrid Africa/Ceuta Atlantic/Canary\",\"ET|Africa/Nairobi Africa/Addis_Ababa\",\"FI|Europe/Helsinki\",\"FJ|Pacific/Fiji\",\"FK|Atlantic/Stanley\",\"FM|Pacific/Chuuk Pacific/Pohnpei Pacific/Kosrae\",\"FO|Atlantic/Faroe\",\"FR|Europe/Paris\",\"GA|Africa/Lagos Africa/Libreville\",\"GB|Europe/London\",\"GD|America/Port_of_Spain America/Grenada\",\"GE|Asia/Tbilisi\",\"GF|America/Cayenne\",\"GG|Europe/London Europe/Guernsey\",\"GH|Africa/Accra\",\"GI|Europe/Gibraltar\",\"GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule\",\"GM|Africa/Abidjan Africa/Banjul\",\"GN|Africa/Abidjan Africa/Conakry\",\"GP|America/Port_of_Spain America/Guadeloupe\",\"GQ|Africa/Lagos Africa/Malabo\",\"GR|Europe/Athens\",\"GS|Atlantic/South_Georgia\",\"GT|America/Guatemala\",\"GU|Pacific/Guam\",\"GW|Africa/Bissau\",\"GY|America/Guyana\",\"HK|Asia/Hong_Kong\",\"HN|America/Tegucigalpa\",\"HR|Europe/Belgrade Europe/Zagreb\",\"HT|America/Port-au-Prince\",\"HU|Europe/Budapest\",\"ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura\",\"IE|Europe/Dublin\",\"IL|Asia/Jerusalem\",\"IM|Europe/London Europe/Isle_of_Man\",\"IN|Asia/Kolkata\",\"IO|Indian/Chagos\",\"IQ|Asia/Baghdad\",\"IR|Asia/Tehran\",\"IS|Atlantic/Reykjavik\",\"IT|Europe/Rome\",\"JE|Europe/London Europe/Jersey\",\"JM|America/Jamaica\",\"JO|Asia/Amman\",\"JP|Asia/Tokyo\",\"KE|Africa/Nairobi\",\"KG|Asia/Bishkek\",\"KH|Asia/Bangkok Asia/Phnom_Penh\",\"KI|Pacific/Tarawa Pacific/Enderbury Pacific/Kiritimati\",\"KM|Africa/Nairobi Indian/Comoro\",\"KN|America/Port_of_Spain America/St_Kitts\",\"KP|Asia/Pyongyang\",\"KR|Asia/Seoul\",\"KW|Asia/Riyadh Asia/Kuwait\",\"KY|America/Panama America/Cayman\",\"KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral\",\"LA|Asia/Bangkok Asia/Vientiane\",\"LB|Asia/Beirut\",\"LC|America/Port_of_Spain America/St_Lucia\",\"LI|Europe/Zurich Europe/Vaduz\",\"LK|Asia/Colombo\",\"LR|Africa/Monrovia\",\"LS|Africa/Johannesburg Africa/Maseru\",\"LT|Europe/Vilnius\",\"LU|Europe/Luxembourg\",\"LV|Europe/Riga\",\"LY|Africa/Tripoli\",\"MA|Africa/Casablanca\",\"MC|Europe/Monaco\",\"MD|Europe/Chisinau\",\"ME|Europe/Belgrade Europe/Podgorica\",\"MF|America/Port_of_Spain America/Marigot\",\"MG|Africa/Nairobi Indian/Antananarivo\",\"MH|Pacific/Majuro Pacific/Kwajalein\",\"MK|Europe/Belgrade Europe/Skopje\",\"ML|Africa/Abidjan Africa/Bamako\",\"MM|Asia/Yangon\",\"MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan\",\"MO|Asia/Macau\",\"MP|Pacific/Guam Pacific/Saipan\",\"MQ|America/Martinique\",\"MR|Africa/Abidjan Africa/Nouakchott\",\"MS|America/Port_of_Spain America/Montserrat\",\"MT|Europe/Malta\",\"MU|Indian/Mauritius\",\"MV|Indian/Maldives\",\"MW|Africa/Maputo Africa/Blantyre\",\"MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Mazatlan America/Chihuahua America/Ojinaga America/Hermosillo America/Tijuana America/Bahia_Banderas\",\"MY|Asia/Kuala_Lumpur Asia/Kuching\",\"MZ|Africa/Maputo\",\"NA|Africa/Windhoek\",\"NC|Pacific/Noumea\",\"NE|Africa/Lagos Africa/Niamey\",\"NF|Pacific/Norfolk\",\"NG|Africa/Lagos\",\"NI|America/Managua\",\"NL|Europe/Amsterdam\",\"NO|Europe/Oslo\",\"NP|Asia/Kathmandu\",\"NR|Pacific/Nauru\",\"NU|Pacific/Niue\",\"NZ|Pacific/Auckland Pacific/Chatham\",\"OM|Asia/Dubai Asia/Muscat\",\"PA|America/Panama\",\"PE|America/Lima\",\"PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier\",\"PG|Pacific/Port_Moresby Pacific/Bougainville\",\"PH|Asia/Manila\",\"PK|Asia/Karachi\",\"PL|Europe/Warsaw\",\"PM|America/Miquelon\",\"PN|Pacific/Pitcairn\",\"PR|America/Puerto_Rico\",\"PS|Asia/Gaza Asia/Hebron\",\"PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores\",\"PW|Pacific/Palau\",\"PY|America/Asuncion\",\"QA|Asia/Qatar\",\"RE|Indian/Reunion\",\"RO|Europe/Bucharest\",\"RS|Europe/Belgrade\",\"RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr\",\"RW|Africa/Maputo Africa/Kigali\",\"SA|Asia/Riyadh\",\"SB|Pacific/Guadalcanal\",\"SC|Indian/Mahe\",\"SD|Africa/Khartoum\",\"SE|Europe/Stockholm\",\"SG|Asia/Singapore\",\"SH|Africa/Abidjan Atlantic/St_Helena\",\"SI|Europe/Belgrade Europe/Ljubljana\",\"SJ|Europe/Oslo Arctic/Longyearbyen\",\"SK|Europe/Prague Europe/Bratislava\",\"SL|Africa/Abidjan Africa/Freetown\",\"SM|Europe/Rome Europe/San_Marino\",\"SN|Africa/Abidjan Africa/Dakar\",\"SO|Africa/Nairobi Africa/Mogadishu\",\"SR|America/Paramaribo\",\"SS|Africa/Juba\",\"ST|Africa/Sao_Tome\",\"SV|America/El_Salvador\",\"SX|America/Curacao America/Lower_Princes\",\"SY|Asia/Damascus\",\"SZ|Africa/Johannesburg Africa/Mbabane\",\"TC|America/Grand_Turk\",\"TD|Africa/Ndjamena\",\"TF|Indian/Reunion Indian/Kerguelen\",\"TG|Africa/Abidjan Africa/Lome\",\"TH|Asia/Bangkok\",\"TJ|Asia/Dushanbe\",\"TK|Pacific/Fakaofo\",\"TL|Asia/Dili\",\"TM|Asia/Ashgabat\",\"TN|Africa/Tunis\",\"TO|Pacific/Tongatapu\",\"TR|Europe/Istanbul\",\"TT|America/Port_of_Spain\",\"TV|Pacific/Funafuti\",\"TW|Asia/Taipei\",\"TZ|Africa/Nairobi Africa/Dar_es_Salaam\",\"UA|Europe/Simferopol Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye\",\"UG|Africa/Nairobi Africa/Kampala\",\"UM|Pacific/Pago_Pago Pacific/Wake Pacific/Honolulu Pacific/Midway\",\"US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu\",\"UY|America/Montevideo\",\"UZ|Asia/Samarkand Asia/Tashkent\",\"VA|Europe/Rome Europe/Vatican\",\"VC|America/Port_of_Spain America/St_Vincent\",\"VE|America/Caracas\",\"VG|America/Port_of_Spain America/Tortola\",\"VI|America/Port_of_Spain America/St_Thomas\",\"VN|Asia/Bangkok Asia/Ho_Chi_Minh\",\"VU|Pacific/Efate\",\"WF|Pacific/Wallis\",\"WS|Pacific/Apia\",\"YE|Asia/Riyadh Asia/Aden\",\"YT|Africa/Nairobi Indian/Mayotte\",\"ZA|Africa/Johannesburg\",\"ZM|Africa/Maputo Africa/Lusaka\",\"ZW|Africa/Maputo Africa/Harare\"]}");
+function buildMoment(dateValue) {
+  let timezone = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
+  const dateMoment = moment__WEBPACK_IMPORTED_MODULE_0___default()(dateValue);

-/***/ }),
+  if (timezone && !isUTCOffset(timezone)) {
+    return dateMoment.tz(timezone);
+  }

-/***/ "f0Wu":
-/***/ (function(module, exports, __webpack_require__) {
+  if (timezone && isUTCOffset(timezone)) {
+    return dateMoment.utcOffset(timezone);
+  }

-var moment = module.exports = __webpack_require__("Dvum");
-moment.tz.load(__webpack_require__("bNI1"));
+  if (settings.timezone.string) {
+    return dateMoment.tz(settings.timezone.string);
+  }

+  return dateMoment.utcOffset(settings.timezone.offset);
+}
+/**
+ * Returns whether a certain UTC offset is valid or not.
+ *
+ * @param {number|string} offset a UTC offset.
+ *
+ * @return {boolean} whether a certain UTC offset is valid or not.
+ */

-/***/ }),

-/***/ "wy2R":
-/***/ (function(module, exports) {
+function isUTCOffset(offset) {
+  if ('number' === typeof offset) {
+    return true;
+  }

-(function() { module.exports = window["moment"]; }());
+  return VALID_UTC_OFFSET.test(offset);
+}

-/***/ })
+setupWPTimezone();

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).date = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/date.min.js b/wp-includes/js/dist/date.min.js
index 7ad6508742..d43df3e013 100644
--- a/wp-includes/js/dist/date.min.js
+++ b/wp-includes/js/dist/date.min.js
@@ -1,12 +1,12 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.date=function(c){var M={};function o(A){if(M[A])return M[A].exports;var a=M[A]={i:A,l:!1,exports:{}};return c[A].call(a.exports,a,a.exports,o),a.l=!0,a.exports}return o.m=c,o.c=M,o.d=function(c,M,A){o.o(c,M)||Object.defineProperty(c,M,{enumerable:!0,get:A})},o.r=function(c){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},o.t=function(c,M){if(1&M&&(c=o(c)),8&M)return c;if(4&M&&"object"==typeof c&&c&&c.__esModule)return c;var A=Object.create(null);if(o.r(A),Object.defineProperty(A,"default",{enumerable:!0,value:c}),2&M&&"string"!=typeof c)for(var a in c)o.d(A,a,function(M){return c[M]}.bind(null,a));return A},o.n=function(c){var M=c&&c.__esModule?function(){return c.default}:function(){return c};return o.d(M,"a",M),M},o.o=function(c,M){return Object.prototype.hasOwnProperty.call(c,M)},o.p="",o(o.s="BWYS")}({"4CCe":function(c,M,o){var A,a,z;//! moment-timezone-utils.js
+!function(){var c={7812:function(c,M,o){(c.exports=o(2828)).tz.load(o(1128))},9971:function(c,M,o){var A,a,z;//! moment-timezone-utils.js
 //! version : 0.5.34
 //! Copyright (c) JS Foundation and other contributors
 //! license : MIT
 //! github.com/moment/moment-timezone
-!function(b,p){"use strict";c.exports?c.exports=p(o("f0Wu")):(a=[o("wy2R")],void 0===(z="function"==typeof(A=p)?A.apply(M,a):A)||(c.exports=z))}(0,(function(c){"use strict";if(!c.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var M="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX";function o(c,o){for(var A="",a=Math.abs(c),z=Math.floor(a),b=function(c,o){for(var A,a=".",z="";o>0;)o-=1,c*=60,A=Math.floor(c+1e-6),a+=M[A],c-=A,A&&(z+=a,a="");return z}(a-z,Math.min(~~o,10));z>0;)A=M[z%60]+A,z=Math.floor(z/60);return c<0&&(A="-"+A),A&&b?A+b:(b||"-"!==A)&&(A||b)||"0"}function A(c){var M,A=[],a=0;for(M=0;M<c.length-1;M++)A[M]=o(Math.round((c[M]-a)/1e3)/60,1),a=c[M];return A.join(" ")}function a(c){var M,A,a=0,z=[],b=[],p=[],n={};for(M=0;M<c.abbrs.length;M++)void 0===n[A=c.abbrs[M]+"|"+c.offsets[M]]&&(n[A]=a,z[a]=c.abbrs[M],b[a]=o(Math.round(60*c.offsets[M])/60,1),a++),p[M]=o(n[A],0);return z.join(" ")+"|"+b.join(" ")+"|"+p.join("")}function z(c){if(!c)return"";if(c<1e3)return c;var M=String(0|c).length-2;return Math.round(c/Math.pow(10,M))+"e"+M}function b(c){return function(c){if(!c.name)throw new Error("Missing name");if(!c.abbrs)throw new Error("Missing abbrs");if(!c.untils)throw new Error("Missing untils");if(!c.offsets)throw new Error("Missing offsets");if(c.offsets.length!==c.untils.length||c.offsets.length!==c.abbrs.length)throw new Error("Mismatched array lengths")}(c),[c.name,a(c),A(c.untils),z(c.population)].join("|")}function p(c){return[c.name,c.zones.join(" ")].join("|")}function n(c,M){var o;if(c.length!==M.length)return!1;for(o=0;o<c.length;o++)if(c[o]!==M[o])return!1;return!0}function i(c,M){return n(c.offsets,M.offsets)&&n(c.abbrs,M.abbrs)&&n(c.untils,M.untils)}function e(c,M){var o=[],A=[];return c.links&&(A=c.links.slice()),function(c,M,o,A){var a,z,b,p,n,e,r=[];for(a=0;a<c.length;a++){for(e=!1,b=c[a],z=0;z<r.length;z++)i(b,p=(n=r[z])[0])&&(b.population>p.population||b.population===p.population&&A&&A[b.name]?n.unshift(b):n.push(b),e=!0);e||r.push([b])}for(a=0;a<r.length;a++)for(n=r[a],M.push(n[0]),z=1;z<n.length;z++)o.push(n[0].name+"|"+n[z].name)}(c.zones,o,A,M),{version:c.version,zones:o,links:A.sort()}}function r(c,M,o){var A=Array.prototype.slice,a=function(c,M,o){var A,a,z=0,b=c.length+1;for(o||(o=M),M>o&&(a=M,M=o,o=a),a=0;a<c.length;a++)null!=c[a]&&((A=new Date(c[a]).getUTCFullYear())<M&&(z=a+1),A>o&&(b=Math.min(b,a+1)));return[z,b]}(c.untils,M,o),z=A.apply(c.untils,a);return z[z.length-1]=null,{name:c.name,abbrs:A.apply(c.abbrs,a),untils:z,offsets:A.apply(c.offsets,a),population:c.population,countries:c.countries}}return c.tz.pack=b,c.tz.packBase60=o,c.tz.createLinks=e,c.tz.filterYears=r,c.tz.filterLinkPack=function(c,M,o,A){var a,z,n=c.zones,i=[];for(a=0;a<n.length;a++)i[a]=r(n[a],M,o);for(z=e({zones:i,links:c.links.slice(),version:c.version},A),a=0;a<z.zones.length;a++)z.zones[a]=b(z.zones[a]);return z.countries=c.countries?c.countries.map((function(c){return p(c)})):[],z},c.tz.packCountry=p,c}))},BWYS:function(c,M,o){"use strict";o.r(M),o.d(M,"setSettings",(function(){return p})),o.d(M,"__experimentalGetSettings",(function(){return n})),o.d(M,"format",(function(){return r})),o.d(M,"date",(function(){return L})),o.d(M,"gmdate",(function(){return q})),o.d(M,"dateI18n",(function(){return O})),o.d(M,"gmdateI18n",(function(){return N})),o.d(M,"isInTheFuture",(function(){return d})),o.d(M,"getDate",(function(){return f}));var A=o("wy2R"),a=o.n(A);o("Dvum"),o("4CCe");const z=/^[+-][0-1][0-9](:?[0-9][0-9])?$/;let b={l10n:{locale:"en",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],meridiem:{am:"am",pm:"pm",AM:"AM",PM:"PM"},relative:{future:"%s from now",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}},formats:{time:"g: i a",date:"F j, Y",datetime:"F j, Y g: i a",datetimeAbbreviated:"M j, Y g: i a"},timezone:{offset:"0",string:"",abbr:""}};function p(c){b=c;const M=a.a.locale();a.a.updateLocale(c.l10n.locale,{parentLocale:M,months:c.l10n.months,monthsShort:c.l10n.monthsShort,weekdays:c.l10n.weekdays,weekdaysShort:c.l10n.weekdaysShort,meridiem:(M,o,A)=>M<12?A?c.l10n.meridiem.am:c.l10n.meridiem.AM:A?c.l10n.meridiem.pm:c.l10n.meridiem.PM,longDateFormat:{LT:c.formats.time,LTS:null,L:null,LL:c.formats.date,LLL:c.formats.datetime,LLLL:null},relativeTime:c.l10n.relative}),a.a.locale(M),i()}function n(){return b}function i(){a.a.tz.add(a.a.tz.pack({name:"WP",abbrs:["WP"],untils:[null],offsets:[60*-b.timezone.offset||0]}))}const e={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S(c){const M=c.format("D");return c.format("Do").replace(M,"")},w:"d",z:c=>(parseInt(c.format("DDD"),10)-1).toString(),W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:c=>c.daysInMonth(),L:c=>c.isLeapYear()?"1":"0",o:"GGGG",Y:"YYYY",y:"YY",a:"a",A:"A",B(c){const M=a()(c).utcOffset(60),o=parseInt(M.format("s"),10),A=parseInt(M.format("m"),10),z=parseInt(M.format("H"),10);return parseInt(((o+60*A+3600*z)/86.4).toString(),10)},g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSSSSS",v:"SSS",e:"zz",I:c=>c.isDST()?"1":"0",O:"ZZ",P:"Z",T:"z",Z(c){const M=c.format("Z"),o="-"===M[0]?-1:1,A=M.substring(1).split(":").map(c=>parseInt(c,10));return o*(60*A[0]+A[1])*60},c:"YYYY-MM-DDTHH:mm:ssZ",r:"ddd, D MMM YYYY HH:mm:ss ZZ",U:"X"};function r(c){let M,o,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const z=[],b=a()(A);for(M=0;M<c.length;M++)if(o=c[M],"\\"!==o)if(o in e){const c=e[o];"string"!=typeof c?z.push("["+c(b)+"]"):z.push(c)}else z.push("["+o+"]");else M++,z.push("["+c[M]+"]");return b.format(z.join("[]"))}function L(c){let M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2?arguments[2]:void 0;const A=t(M,o);return r(c,A)}function q(c){let M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const o=a()(M).utc();return r(c,o)}function O(c){let M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2?arguments[2]:void 0;if(!0===o)return N(c,M);!1===o&&(o=void 0);const A=t(M,o);return A.locale(b.l10n.locale),r(c,A)}function N(c){let M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const o=a()(M).utc();return o.locale(b.l10n.locale),r(c,o)}function d(c){const M=a.a.tz("WP");return a.a.tz(c,"WP").isAfter(M)}function f(c){return c?a.a.tz(c,"WP").toDate():a.a.tz("WP").toDate()}function t(c){let M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const o=a()(c);return M&&!u(M)?o.tz(M):M&&u(M)?o.utcOffset(M):b.timezone.string?o.tz(b.timezone.string):o.utcOffset(b.timezone.offset)}function u(c){return"number"==typeof c||z.test(c)}i()},Dvum:function(c,M,o){var A,a,z;//! moment-timezone.js
+!function(b,p){"use strict";c.exports?c.exports=p(o(7812)):(a=[o(6292)],void 0===(z="function"==typeof(A=p)?A.apply(M,a):A)||(c.exports=z))}(0,(function(c){"use strict";if(!c.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var M="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX";function o(c,o){for(var A="",a=Math.abs(c),z=Math.floor(a),b=function(c,o){for(var A,a=".",z="";o>0;)o-=1,c*=60,A=Math.floor(c+1e-6),a+=M[A],c-=A,A&&(z+=a,a="");return z}(a-z,Math.min(~~o,10));z>0;)A=M[z%60]+A,z=Math.floor(z/60);return c<0&&(A="-"+A),A&&b?A+b:(b||"-"!==A)&&(A||b)||"0"}function A(c){var M,A=[],a=0;for(M=0;M<c.length-1;M++)A[M]=o(Math.round((c[M]-a)/1e3)/60,1),a=c[M];return A.join(" ")}function a(c){var M,A,a=0,z=[],b=[],p=[],n={};for(M=0;M<c.abbrs.length;M++)void 0===n[A=c.abbrs[M]+"|"+c.offsets[M]]&&(n[A]=a,z[a]=c.abbrs[M],b[a]=o(Math.round(60*c.offsets[M])/60,1),a++),p[M]=o(n[A],0);return z.join(" ")+"|"+b.join(" ")+"|"+p.join("")}function z(c){if(!c)return"";if(c<1e3)return c;var M=String(0|c).length-2;return Math.round(c/Math.pow(10,M))+"e"+M}function b(c){return function(c){if(!c.name)throw new Error("Missing name");if(!c.abbrs)throw new Error("Missing abbrs");if(!c.untils)throw new Error("Missing untils");if(!c.offsets)throw new Error("Missing offsets");if(c.offsets.length!==c.untils.length||c.offsets.length!==c.abbrs.length)throw new Error("Mismatched array lengths")}(c),[c.name,a(c),A(c.untils),z(c.population)].join("|")}function p(c){return[c.name,c.zones.join(" ")].join("|")}function n(c,M){var o;if(c.length!==M.length)return!1;for(o=0;o<c.length;o++)if(c[o]!==M[o])return!1;return!0}function i(c,M){return n(c.offsets,M.offsets)&&n(c.abbrs,M.abbrs)&&n(c.untils,M.untils)}function e(c,M){var o=[],A=[];return c.links&&(A=c.links.slice()),function(c,M,o,A){var a,z,b,p,n,e,r=[];for(a=0;a<c.length;a++){for(e=!1,b=c[a],z=0;z<r.length;z++)i(b,p=(n=r[z])[0])&&(b.population>p.population||b.population===p.population&&A&&A[b.name]?n.unshift(b):n.push(b),e=!0);e||r.push([b])}for(a=0;a<r.length;a++)for(n=r[a],M.push(n[0]),z=1;z<n.length;z++)o.push(n[0].name+"|"+n[z].name)}(c.zones,o,A,M),{version:c.version,zones:o,links:A.sort()}}function r(c,M,o){var A=Array.prototype.slice,a=function(c,M,o){var A,a,z=0,b=c.length+1;for(o||(o=M),M>o&&(a=M,M=o,o=a),a=0;a<c.length;a++)null!=c[a]&&((A=new Date(c[a]).getUTCFullYear())<M&&(z=a+1),A>o&&(b=Math.min(b,a+1)));return[z,b]}(c.untils,M,o),z=A.apply(c.untils,a);return z[z.length-1]=null,{name:c.name,abbrs:A.apply(c.abbrs,a),untils:z,offsets:A.apply(c.offsets,a),population:c.population,countries:c.countries}}return c.tz.pack=b,c.tz.packBase60=o,c.tz.createLinks=e,c.tz.filterYears=r,c.tz.filterLinkPack=function(c,M,o,A){var a,z,n=c.zones,i=[];for(a=0;a<n.length;a++)i[a]=r(n[a],M,o);for(z=e({zones:i,links:c.links.slice(),version:c.version},A),a=0;a<z.zones.length;a++)z.zones[a]=b(z.zones[a]);return z.countries=c.countries?c.countries.map((function(c){return p(c)})):[],z},c.tz.packCountry=p,c}))},2828:function(c,M,o){var A,a,z;//! moment-timezone.js
 //! version : 0.5.34
 //! Copyright (c) JS Foundation and other contributors
 //! license : MIT
 //! github.com/moment/moment-timezone
-!function(b,p){"use strict";c.exports?c.exports=p(o("wy2R")):(a=[o("wy2R")],void 0===(z="function"==typeof(A=p)?A.apply(M,a):A)||(c.exports=z))}(0,(function(c){"use strict";void 0===c.version&&c.default&&(c=c.default);var M,o={},A={},a={},z={},b={};c&&"string"==typeof c.version||S("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var p=c.version.split("."),n=+p[0],i=+p[1];function e(c){return c>96?c-87:c>64?c-29:c-48}function r(c){var M=0,o=c.split("."),A=o[0],a=o[1]||"",z=1,b=0,p=1;for(45===c.charCodeAt(0)&&(M=1,p=-1);M<A.length;M++)b=60*b+e(A.charCodeAt(M));for(M=0;M<a.length;M++)z/=60,b+=e(a.charCodeAt(M))*z;return b*p}function L(c){for(var M=0;M<c.length;M++)c[M]=r(c[M])}function q(c,M){var o,A=[];for(o=0;o<M.length;o++)A[o]=c[M[o]];return A}function O(c){var M=c.split("|"),o=M[2].split(" "),A=M[3].split(""),a=M[4].split(" ");return L(o),L(A),L(a),function(c,M){for(var o=0;o<M;o++)c[o]=Math.round((c[o-1]||0)+6e4*c[o]);c[M-1]=1/0}(a,A.length),{name:M[0],abbrs:q(M[1].split(" "),A),offsets:q(o,A),untils:a,population:0|M[5]}}function N(c){c&&this._set(O(c))}function d(c,M){this.name=c,this.zones=M}function f(c){var M=c.toTimeString(),o=M.match(/\([a-z ]+\)/i);"GMT"===(o=o&&o[0]?(o=o[0].match(/[A-Z]/g))?o.join(""):void 0:(o=M.match(/[A-Z]{3,5}/g))?o[0]:void 0)&&(o=void 0),this.at=+c,this.abbr=o,this.offset=c.getTimezoneOffset()}function t(c){this.zone=c,this.offsetScore=0,this.abbrScore=0}function u(c,M){for(var o,A;A=6e4*((M.at-c.at)/12e4|0);)(o=new f(new Date(c.at+A))).offset===c.offset?c=o:M=o;return c}function W(c,M){return c.offsetScore!==M.offsetScore?c.offsetScore-M.offsetScore:c.abbrScore!==M.abbrScore?c.abbrScore-M.abbrScore:c.zone.population!==M.zone.population?M.zone.population-c.zone.population:M.zone.name.localeCompare(c.zone.name)}function X(c,M){var o,A;for(L(M),o=0;o<M.length;o++)A=M[o],b[A]=b[A]||{},b[A][c]=!0}function l(c){var M,o,A,a=c.length,p={},n=[];for(M=0;M<a;M++)for(o in A=b[c[M].offset]||{})A.hasOwnProperty(o)&&(p[o]=!0);for(M in p)p.hasOwnProperty(M)&&n.push(z[M]);return n}function B(){try{var c=Intl.DateTimeFormat().resolvedOptions().timeZone;if(c&&c.length>3){var M=z[T(c)];if(M)return M;S("Moment Timezone found "+c+" from the Intl api, but did not have that data loaded.")}}catch(c){}var o,A,a,b=function(){var c,M,o,A=(new Date).getFullYear()-2,a=new f(new Date(A,0,1)),z=[a];for(o=1;o<48;o++)(M=new f(new Date(A,o,1))).offset!==a.offset&&(c=u(a,M),z.push(c),z.push(new f(new Date(c.at+6e4)))),a=M;for(o=0;o<4;o++)z.push(new f(new Date(A+o,0,1))),z.push(new f(new Date(A+o,6,1)));return z}(),p=b.length,n=l(b),i=[];for(A=0;A<n.length;A++){for(o=new t(m(n[A]),p),a=0;a<p;a++)o.scoreOffsetAt(b[a]);i.push(o)}return i.sort(W),i.length>0?i[0].zone.name:void 0}function T(c){return(c||"").toLowerCase().replace(/\//g,"_")}function s(c){var M,A,a,b;for("string"==typeof c&&(c=[c]),M=0;M<c.length;M++)b=T(A=(a=c[M].split("|"))[0]),o[b]=c[M],z[b]=A,X(b,a[2].split(" "))}function m(c,M){c=T(c);var a,b=o[c];return b instanceof N?b:"string"==typeof b?(b=new N(b),o[c]=b,b):A[c]&&M!==m&&(a=m(A[c],m))?((b=o[c]=new N)._set(a),b.name=z[c],b):null}function E(c){var M,o,a,b;for("string"==typeof c&&(c=[c]),M=0;M<c.length;M++)a=T((o=c[M].split("|"))[0]),b=T(o[1]),A[a]=b,z[a]=o[0],A[b]=a,z[b]=o[1]}function C(c){var M="X"===c._f||"x"===c._f;return!(!c._a||void 0!==c._tzm||M)}function S(c){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(c)}function R(M){var o=Array.prototype.slice.call(arguments,0,-1),A=arguments[arguments.length-1],a=m(A),z=c.utc.apply(null,o);return a&&!c.isMoment(M)&&C(z)&&z.add(a.parse(z),"minutes"),z.tz(A),z}(n<2||2===n&&i<6)&&S("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+c.version+". See momentjs.com"),N.prototype={_set:function(c){this.name=c.name,this.abbrs=c.abbrs,this.untils=c.untils,this.offsets=c.offsets,this.population=c.population},_index:function(c){var M,o=+c,A=this.untils;for(M=0;M<A.length;M++)if(o<A[M])return M},countries:function(){var c=this.name;return Object.keys(a).filter((function(M){return-1!==a[M].zones.indexOf(c)}))},parse:function(c){var M,o,A,a,z=+c,b=this.offsets,p=this.untils,n=p.length-1;for(a=0;a<n;a++)if(M=b[a],o=b[a+1],A=b[a?a-1:a],M<o&&R.moveAmbiguousForward?M=o:M>A&&R.moveInvalidForward&&(M=A),z<p[a]-6e4*M)return b[a];return b[n]},abbr:function(c){return this.abbrs[this._index(c)]},offset:function(c){return S("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(c)]},utcOffset:function(c){return this.offsets[this._index(c)]}},t.prototype.scoreOffsetAt=function(c){this.offsetScore+=Math.abs(this.zone.utcOffset(c.at)-c.offset),this.zone.abbr(c.at).replace(/[^A-Z]/g,"")!==c.abbr&&this.abbrScore++},R.version="0.5.34",R.dataVersion="",R._zones=o,R._links=A,R._names=z,R._countries=a,R.add=s,R.link=E,R.load=function(c){s(c.zones),E(c.links),function(c){var M,o,A,z;if(c&&c.length)for(M=0;M<c.length;M++)o=(z=c[M].split("|"))[0].toUpperCase(),A=z[1].split(" "),a[o]=new d(o,A)}(c.countries),R.dataVersion=c.version},R.zone=m,R.zoneExists=function c(M){return c.didShowError||(c.didShowError=!0,S("moment.tz.zoneExists('"+M+"') has been deprecated in favor of !moment.tz.zone('"+M+"')")),!!m(M)},R.guess=function(c){return M&&!c||(M=B()),M},R.names=function(){var c,M=[];for(c in z)z.hasOwnProperty(c)&&(o[c]||o[A[c]])&&z[c]&&M.push(z[c]);return M.sort()},R.Zone=N,R.unpack=O,R.unpackBase60=r,R.needsOffset=C,R.moveInvalidForward=!0,R.moveAmbiguousForward=!1,R.countries=function(){return Object.keys(a)},R.zonesForCountry=function(c,M){var o;if(o=(o=c).toUpperCase(),!(c=a[o]||null))return null;var A=c.zones.sort();return M?A.map((function(c){return{name:c,offset:m(c).utcOffset(new Date)}})):A};var g,P=c.fn;function h(c){return function(){return this._z?this._z.abbr(this):c.call(this)}}function D(c){return function(){return this._z=null,c.apply(this,arguments)}}c.tz=R,c.defaultZone=null,c.updateOffset=function(M,o){var A,a=c.defaultZone;if(void 0===M._z&&(a&&C(M)&&!M._isUTC&&(M._d=c.utc(M._a)._d,M.utc().add(a.parse(M),"minutes")),M._z=a),M._z)if(A=M._z.utcOffset(M),Math.abs(A)<16&&(A/=60),void 0!==M.utcOffset){var z=M._z;M.utcOffset(-A,o),M._z=z}else M.zone(A,o)},P.tz=function(M,o){if(M){if("string"!=typeof M)throw new Error("Time zone name must be a string, got "+M+" ["+typeof M+"]");return this._z=m(M),this._z?c.updateOffset(this,o):S("Moment Timezone has no data for "+M+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},P.zoneName=h(P.zoneName),P.zoneAbbr=h(P.zoneAbbr),P.utc=D(P.utc),P.local=D(P.local),P.utcOffset=(g=P.utcOffset,function(){return arguments.length>0&&(this._z=null),g.apply(this,arguments)}),c.tz.setDefault=function(M){return(n<2||2===n&&i<9)&&S("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+c.version+"."),c.defaultZone=M?m(M):null,c};var k=c.momentProperties;return"[object Array]"===Object.prototype.toString.call(k)?(k.push("_z"),k.push("_a")):k&&(k._z=null),c}))},bNI1:function(c){c.exports=JSON.parse('{"version":"2021e","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212132121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1C00 LA0 1C00|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010101010101010|-23uw0 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|BMT BST AST ADT|4j.i 3j.i 40 30|010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28p7E.G 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Hobart|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293iJ xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293i0 xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Etc/GMT-11|+11|-b0|0||","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0||","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2n5c9.l cFX9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|0123232323232323212121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2xorF.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|01212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0 4q00 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|LMT -1030 -0930 -10|aD.4 au 9u a0|0123232323232323232323232323|-FSdk.U 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Phoenix|America/Creston","America/Phoenix|US/Arizona","America/Puerto_Rico|America/Anguilla","America/Puerto_Rico|America/Antigua","America/Puerto_Rico|America/Aruba","America/Puerto_Rico|America/Blanc-Sablon","America/Puerto_Rico|America/Curacao","America/Puerto_Rico|America/Dominica","America/Puerto_Rico|America/Grenada","America/Puerto_Rico|America/Guadeloupe","America/Puerto_Rico|America/Kralendijk","America/Puerto_Rico|America/Lower_Princes","America/Puerto_Rico|America/Marigot","America/Puerto_Rico|America/Montserrat","America/Puerto_Rico|America/Port_of_Spain","America/Puerto_Rico|America/St_Barthelemy","America/Puerto_Rico|America/St_Kitts","America/Puerto_Rico|America/St_Lucia","America/Puerto_Rico|America/St_Thomas","America/Puerto_Rico|America/St_Vincent","America/Puerto_Rico|America/Tortola","America/Puerto_Rico|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|America/Nassau","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Antarctica/Syowa","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Currie","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Enderbury|Pacific/Kanton","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Port_of_Spain America/Antigua","AI|America/Port_of_Spain America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Syowa Antarctica/Troll Antarctica/Vostok Pacific/Auckland Antarctica/McMurdo","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Curacao America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Port_of_Spain America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Brunei","BO|America/La_Paz","BQ|America/Curacao America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Blanc-Sablon America/Toronto America/Nipigon America/Thunder_Bay America/Iqaluit America/Pangnirtung America/Atikokan America/Winnipeg America/Rainy_River America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Creston America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver","CC|Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Curacao","CX|Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Copenhagen","DM|America/Port_of_Spain America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Chuuk Pacific/Pohnpei Pacific/Kosrae","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Port_of_Spain America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Port_of_Spain America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Enderbury Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Port_of_Spain America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Port_of_Spain America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Port_of_Spain America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Majuro Pacific/Kwajalein","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Port_of_Spain America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Mazatlan America/Chihuahua America/Ojinaga America/Hermosillo America/Tijuana America/Bahia_Banderas","MY|Asia/Kuala_Lumpur Asia/Kuching","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Amsterdam","NO|Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Oslo Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Curacao America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Indian/Reunion Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Port_of_Spain","TV|Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Wake Pacific/Honolulu Pacific/Midway","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Port_of_Spain America/St_Vincent","VE|America/Caracas","VG|America/Port_of_Spain America/Tortola","VI|America/Port_of_Spain America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}')},f0Wu:function(c,M,o){(c.exports=o("Dvum")).tz.load(o("bNI1"))},wy2R:function(c,M){c.exports=window.moment}});
\ No newline at end of file
+!function(b,p){"use strict";c.exports?c.exports=p(o(6292)):(a=[o(6292)],void 0===(z="function"==typeof(A=p)?A.apply(M,a):A)||(c.exports=z))}(0,(function(c){"use strict";void 0===c.version&&c.default&&(c=c.default);var M,o={},A={},a={},z={},b={};c&&"string"==typeof c.version||S("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var p=c.version.split("."),n=+p[0],i=+p[1];function e(c){return c>96?c-87:c>64?c-29:c-48}function r(c){var M=0,o=c.split("."),A=o[0],a=o[1]||"",z=1,b=0,p=1;for(45===c.charCodeAt(0)&&(M=1,p=-1);M<A.length;M++)b=60*b+e(A.charCodeAt(M));for(M=0;M<a.length;M++)z/=60,b+=e(a.charCodeAt(M))*z;return b*p}function L(c){for(var M=0;M<c.length;M++)c[M]=r(c[M])}function q(c,M){var o,A=[];for(o=0;o<M.length;o++)A[o]=c[M[o]];return A}function O(c){var M=c.split("|"),o=M[2].split(" "),A=M[3].split(""),a=M[4].split(" ");return L(o),L(A),L(a),function(c,M){for(var o=0;o<M;o++)c[o]=Math.round((c[o-1]||0)+6e4*c[o]);c[M-1]=1/0}(a,A.length),{name:M[0],abbrs:q(M[1].split(" "),A),offsets:q(o,A),untils:a,population:0|M[5]}}function N(c){c&&this._set(O(c))}function d(c,M){this.name=c,this.zones=M}function f(c){var M=c.toTimeString(),o=M.match(/\([a-z ]+\)/i);"GMT"===(o=o&&o[0]?(o=o[0].match(/[A-Z]/g))?o.join(""):void 0:(o=M.match(/[A-Z]{3,5}/g))?o[0]:void 0)&&(o=void 0),this.at=+c,this.abbr=o,this.offset=c.getTimezoneOffset()}function t(c){this.zone=c,this.offsetScore=0,this.abbrScore=0}function u(c,M){for(var o,A;A=6e4*((M.at-c.at)/12e4|0);)(o=new f(new Date(c.at+A))).offset===c.offset?c=o:M=o;return c}function W(c,M){return c.offsetScore!==M.offsetScore?c.offsetScore-M.offsetScore:c.abbrScore!==M.abbrScore?c.abbrScore-M.abbrScore:c.zone.population!==M.zone.population?M.zone.population-c.zone.population:M.zone.name.localeCompare(c.zone.name)}function X(c,M){var o,A;for(L(M),o=0;o<M.length;o++)A=M[o],b[A]=b[A]||{},b[A][c]=!0}function l(c){var M,o,A,a=c.length,p={},n=[];for(M=0;M<a;M++)for(o in A=b[c[M].offset]||{})A.hasOwnProperty(o)&&(p[o]=!0);for(M in p)p.hasOwnProperty(M)&&n.push(z[M]);return n}function B(){try{var c=Intl.DateTimeFormat().resolvedOptions().timeZone;if(c&&c.length>3){var M=z[T(c)];if(M)return M;S("Moment Timezone found "+c+" from the Intl api, but did not have that data loaded.")}}catch(c){}var o,A,a,b=function(){var c,M,o,A=(new Date).getFullYear()-2,a=new f(new Date(A,0,1)),z=[a];for(o=1;o<48;o++)(M=new f(new Date(A,o,1))).offset!==a.offset&&(c=u(a,M),z.push(c),z.push(new f(new Date(c.at+6e4)))),a=M;for(o=0;o<4;o++)z.push(new f(new Date(A+o,0,1))),z.push(new f(new Date(A+o,6,1)));return z}(),p=b.length,n=l(b),i=[];for(A=0;A<n.length;A++){for(o=new t(m(n[A]),p),a=0;a<p;a++)o.scoreOffsetAt(b[a]);i.push(o)}return i.sort(W),i.length>0?i[0].zone.name:void 0}function T(c){return(c||"").toLowerCase().replace(/\//g,"_")}function s(c){var M,A,a,b;for("string"==typeof c&&(c=[c]),M=0;M<c.length;M++)b=T(A=(a=c[M].split("|"))[0]),o[b]=c[M],z[b]=A,X(b,a[2].split(" "))}function m(c,M){c=T(c);var a,b=o[c];return b instanceof N?b:"string"==typeof b?(b=new N(b),o[c]=b,b):A[c]&&M!==m&&(a=m(A[c],m))?((b=o[c]=new N)._set(a),b.name=z[c],b):null}function E(c){var M,o,a,b;for("string"==typeof c&&(c=[c]),M=0;M<c.length;M++)a=T((o=c[M].split("|"))[0]),b=T(o[1]),A[a]=b,z[a]=o[0],A[b]=a,z[b]=o[1]}function C(c){var M="X"===c._f||"x"===c._f;return!(!c._a||void 0!==c._tzm||M)}function S(c){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(c)}function R(M){var o=Array.prototype.slice.call(arguments,0,-1),A=arguments[arguments.length-1],a=m(A),z=c.utc.apply(null,o);return a&&!c.isMoment(M)&&C(z)&&z.add(a.parse(z),"minutes"),z.tz(A),z}(n<2||2===n&&i<6)&&S("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+c.version+". See momentjs.com"),N.prototype={_set:function(c){this.name=c.name,this.abbrs=c.abbrs,this.untils=c.untils,this.offsets=c.offsets,this.population=c.population},_index:function(c){var M,o=+c,A=this.untils;for(M=0;M<A.length;M++)if(o<A[M])return M},countries:function(){var c=this.name;return Object.keys(a).filter((function(M){return-1!==a[M].zones.indexOf(c)}))},parse:function(c){var M,o,A,a,z=+c,b=this.offsets,p=this.untils,n=p.length-1;for(a=0;a<n;a++)if(M=b[a],o=b[a+1],A=b[a?a-1:a],M<o&&R.moveAmbiguousForward?M=o:M>A&&R.moveInvalidForward&&(M=A),z<p[a]-6e4*M)return b[a];return b[n]},abbr:function(c){return this.abbrs[this._index(c)]},offset:function(c){return S("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(c)]},utcOffset:function(c){return this.offsets[this._index(c)]}},t.prototype.scoreOffsetAt=function(c){this.offsetScore+=Math.abs(this.zone.utcOffset(c.at)-c.offset),this.zone.abbr(c.at).replace(/[^A-Z]/g,"")!==c.abbr&&this.abbrScore++},R.version="0.5.34",R.dataVersion="",R._zones=o,R._links=A,R._names=z,R._countries=a,R.add=s,R.link=E,R.load=function(c){s(c.zones),E(c.links),function(c){var M,o,A,z;if(c&&c.length)for(M=0;M<c.length;M++)o=(z=c[M].split("|"))[0].toUpperCase(),A=z[1].split(" "),a[o]=new d(o,A)}(c.countries),R.dataVersion=c.version},R.zone=m,R.zoneExists=function c(M){return c.didShowError||(c.didShowError=!0,S("moment.tz.zoneExists('"+M+"') has been deprecated in favor of !moment.tz.zone('"+M+"')")),!!m(M)},R.guess=function(c){return M&&!c||(M=B()),M},R.names=function(){var c,M=[];for(c in z)z.hasOwnProperty(c)&&(o[c]||o[A[c]])&&z[c]&&M.push(z[c]);return M.sort()},R.Zone=N,R.unpack=O,R.unpackBase60=r,R.needsOffset=C,R.moveInvalidForward=!0,R.moveAmbiguousForward=!1,R.countries=function(){return Object.keys(a)},R.zonesForCountry=function(c,M){var o;if(o=(o=c).toUpperCase(),!(c=a[o]||null))return null;var A=c.zones.sort();return M?A.map((function(c){return{name:c,offset:m(c).utcOffset(new Date)}})):A};var g,P=c.fn;function h(c){return function(){return this._z?this._z.abbr(this):c.call(this)}}function D(c){return function(){return this._z=null,c.apply(this,arguments)}}c.tz=R,c.defaultZone=null,c.updateOffset=function(M,o){var A,a=c.defaultZone;if(void 0===M._z&&(a&&C(M)&&!M._isUTC&&(M._d=c.utc(M._a)._d,M.utc().add(a.parse(M),"minutes")),M._z=a),M._z)if(A=M._z.utcOffset(M),Math.abs(A)<16&&(A/=60),void 0!==M.utcOffset){var z=M._z;M.utcOffset(-A,o),M._z=z}else M.zone(A,o)},P.tz=function(M,o){if(M){if("string"!=typeof M)throw new Error("Time zone name must be a string, got "+M+" ["+typeof M+"]");return this._z=m(M),this._z?c.updateOffset(this,o):S("Moment Timezone has no data for "+M+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},P.zoneName=h(P.zoneName),P.zoneAbbr=h(P.zoneAbbr),P.utc=D(P.utc),P.local=D(P.local),P.utcOffset=(g=P.utcOffset,function(){return arguments.length>0&&(this._z=null),g.apply(this,arguments)}),c.tz.setDefault=function(M){return(n<2||2===n&&i<9)&&S("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+c.version+"."),c.defaultZone=M?m(M):null,c};var k=c.momentProperties;return"[object Array]"===Object.prototype.toString.call(k)?(k.push("_z"),k.push("_a")):k&&(k._z=null),c}))},6292:function(c){"use strict";c.exports=window.moment},1128:function(c){"use strict";c.exports=JSON.parse('{"version":"2021e","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT GMT WAT|A.J 0 -10|0121|-2le00 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT|-1u -20 -30 -20 -10|01213434343434343434343434343434343434343434343434343|-2GJdu 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.a 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212132121212121212121212121212121212121212121|-2l1uQ.O 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010401054541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.a 50 40|0121212121212121212121|-2l1uQ.O 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|CMT BST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|01203030303030303030303030303030304545450454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT MST|90 80 80 80 70 80 70 70|010102304056565656565656565656565656565656565656565656565656565656565656565656565656565656567|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212121212|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Pacific/Port_Moresby|+10|-a0|0||25e4","Antarctica/Macquarie|AEST AEDT -00|-a0 -b0 0|010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1zc0 Oo0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 LA0 1C00 Oo0 1C00 LA0 1C00|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010101010101010|-23uw0 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101010123232323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101012323232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2o0 MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1nA0 1200 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 Xc0 1qo0 1200 1qo0 Xc0 1qo0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +03 +04|-1U.U -20 -30 -30 -40|0121212121212121212121212121212121212121212121234312121212121212121212121212121212121212121212121212121212121212123|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212121321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PST PDT JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|012323232323232323232123232323232323232323232323|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.L -6u -90|0121|-21Jio.L SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJJ0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|BMT BST AST ADT|4j.i 3j.i 40 30|010102323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28p7E.G 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|0121212121212121212121212121212121212121212123212321232123212121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldX0 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Hobart|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293ju xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293iJ xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293k0 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293i0 xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Etc/GMT-11|+11|-b0|0||","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0||","Pacific/Palau|+09|-90|0||21e3","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST GMT|-10 -20 0|01010101010101010201010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST EET EEST MSK MSD +03|-10 -20 -20 -30 -30 -40 -30|01010101010101232454545454545454543232323232323232323232323232323232323232323262|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2n5c9.l cFX9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|0123232323232323212121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2xorF.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 +10 +09 -12 +12|-b0 -a0 -90 c0 -c0|012034|-1kln0 akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|+10 +09|-a0 -90|01010|-2ewy0 axB0 RVX0 axd0|49e3","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|01212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0 4q00 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 20o0 pc0 20o0 pc0 20o0 pc0 20o0 pc0 20o0 s00 1VA0 s00|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST +09 GDT ChST|-a0 -90 -b0 -a0|01020202020202020203|-18jK0 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|HST HDT HWT HPT HST|au 9u 9u 9u a0|0102304|-1thLu 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B7Xk|51e2","Pacific/Kosrae|+11 +09 +10 +12|-b0 -90 -a0 -c0|01021030|-2ewz0 axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Majuro|+11 +09 +10 +12|-b0 -90 -a0 -c0|0102103|-2ewz0 axC0 HBy0 akp0 6RB0 12um0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11 +12|-bc -bu -cu -b0 -c0|012134343434343434343434343434343434343434|-Kgbc W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Pohnpei|+11 +09 +10|-b0 -90 -a0|010210|-2ewz0 axC0 HBy0 akp0 axd0|34e3","Pacific/Rarotonga|LMT -1030 -0930 -10|aD.4 au 9u a0|0123232323232323232323232323|-FSdk.U 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Phoenix|America/Creston","America/Phoenix|US/Arizona","America/Puerto_Rico|America/Anguilla","America/Puerto_Rico|America/Antigua","America/Puerto_Rico|America/Aruba","America/Puerto_Rico|America/Blanc-Sablon","America/Puerto_Rico|America/Curacao","America/Puerto_Rico|America/Dominica","America/Puerto_Rico|America/Grenada","America/Puerto_Rico|America/Guadeloupe","America/Puerto_Rico|America/Kralendijk","America/Puerto_Rico|America/Lower_Princes","America/Puerto_Rico|America/Marigot","America/Puerto_Rico|America/Montserrat","America/Puerto_Rico|America/Port_of_Spain","America/Puerto_Rico|America/St_Barthelemy","America/Puerto_Rico|America/St_Kitts","America/Puerto_Rico|America/St_Lucia","America/Puerto_Rico|America/St_Thomas","America/Puerto_Rico|America/St_Vincent","America/Puerto_Rico|America/Tortola","America/Puerto_Rico|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|America/Nassau","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Antarctica/Syowa","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Currie","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Enderbury|Pacific/Kanton","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Port_of_Spain America/Antigua","AI|America/Port_of_Spain America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/DumontDUrville Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Syowa Antarctica/Troll Antarctica/Vostok Pacific/Auckland Antarctica/McMurdo","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Curacao America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Port_of_Spain America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Brunei","BO|America/La_Paz","BQ|America/Curacao America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Blanc-Sablon America/Toronto America/Nipigon America/Thunder_Bay America/Iqaluit America/Pangnirtung America/Atikokan America/Winnipeg America/Rainy_River America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Yellowknife America/Inuvik America/Creston America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver","CC|Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Curacao","CX|Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Copenhagen","DM|America/Port_of_Spain America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Chuuk Pacific/Pohnpei Pacific/Kosrae","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Port_of_Spain America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Port_of_Spain America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Enderbury Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Port_of_Spain America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Port_of_Spain America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Port_of_Spain America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Majuro Pacific/Kwajalein","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Port_of_Spain America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Mazatlan America/Chihuahua America/Ojinaga America/Hermosillo America/Tijuana America/Bahia_Banderas","MY|Asia/Kuala_Lumpur Asia/Kuching","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Amsterdam","NO|Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Oslo Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Curacao America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Indian/Reunion Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Port_of_Spain","TV|Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Wake Pacific/Honolulu Pacific/Midway","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Port_of_Spain America/St_Vincent","VE|America/Caracas","VG|America/Port_of_Spain America/Tortola","VI|America/Port_of_Spain America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}')}},M={};function o(A){var a=M[A];if(void 0!==a)return a.exports;var z=M[A]={exports:{}};return c[A].call(z.exports,z,z.exports,o),z.exports}o.n=function(c){var M=c&&c.__esModule?function(){return c.default}:function(){return c};return o.d(M,{a:M}),M},o.d=function(c,M){for(var A in M)o.o(M,A)&&!o.o(c,A)&&Object.defineProperty(c,A,{enumerable:!0,get:M[A]})},o.o=function(c,M){return Object.prototype.hasOwnProperty.call(c,M)},o.r=function(c){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})};var A={};!function(){"use strict";o.r(A),o.d(A,{__experimentalGetSettings:function(){return n},date:function(){return L},dateI18n:function(){return O},format:function(){return r},getDate:function(){return f},gmdate:function(){return q},gmdateI18n:function(){return N},isInTheFuture:function(){return d},setSettings:function(){return p}});var c=o(6292),M=o.n(c);o(2828),o(9971);const a="WP",z=/^[+-][0-1][0-9](:?[0-9][0-9])?$/;let b={l10n:{locale:"en",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],meridiem:{am:"am",pm:"pm",AM:"AM",PM:"PM"},relative:{future:"%s from now",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}},formats:{time:"g: i a",date:"F j, Y",datetime:"F j, Y g: i a",datetimeAbbreviated:"M j, Y g: i a"},timezone:{offset:"0",string:"",abbr:""}};function p(c){b=c;const o=M().locale();M().updateLocale(c.l10n.locale,{parentLocale:o,months:c.l10n.months,monthsShort:c.l10n.monthsShort,weekdays:c.l10n.weekdays,weekdaysShort:c.l10n.weekdaysShort,meridiem:(M,o,A)=>M<12?A?c.l10n.meridiem.am:c.l10n.meridiem.AM:A?c.l10n.meridiem.pm:c.l10n.meridiem.PM,longDateFormat:{LT:c.formats.time,LTS:null,L:null,LL:c.formats.date,LLL:c.formats.datetime,LLLL:null},relativeTime:c.l10n.relative}),M().locale(o),i()}function n(){return b}function i(){M().tz.add(M().tz.pack({name:a,abbrs:[a],untils:[null],offsets:[60*-b.timezone.offset||0]}))}const e={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S(c){const M=c.format("D");return c.format("Do").replace(M,"")},w:"d",z:c=>(parseInt(c.format("DDD"),10)-1).toString(),W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:c=>c.daysInMonth(),L:c=>c.isLeapYear()?"1":"0",o:"GGGG",Y:"YYYY",y:"YY",a:"a",A:"A",B(c){const o=M()(c).utcOffset(60),A=parseInt(o.format("s"),10),a=parseInt(o.format("m"),10),z=parseInt(o.format("H"),10);return parseInt(((A+60*a+3600*z)/86.4).toString(),10)},g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSSSSS",v:"SSS",e:"zz",I:c=>c.isDST()?"1":"0",O:"ZZ",P:"Z",T:"z",Z(c){const M=c.format("Z"),o="-"===M[0]?-1:1,A=M.substring(1).split(":").map((c=>parseInt(c,10)));return o*(60*A[0]+A[1])*60},c:"YYYY-MM-DDTHH:mm:ssZ",r:"ddd, D MMM YYYY HH:mm:ss ZZ",U:"X"};function r(c){let o,A,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const z=[],b=M()(a);for(o=0;o<c.length;o++)if(A=c[o],"\\"!==A)if(A in e){const c=e[A];"string"!=typeof c?z.push("["+c(b)+"]"):z.push(c)}else z.push("["+A+"]");else o++,z.push("["+c[o]+"]");return b.format(z.join("[]"))}function L(c){let M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2?arguments[2]:void 0;const A=t(M,o);return r(c,A)}function q(c){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const A=M()(o).utc();return r(c,A)}function O(c){let M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,o=arguments.length>2?arguments[2]:void 0;if(!0===o)return N(c,M);!1===o&&(o=void 0);const A=t(M,o);return A.locale(b.l10n.locale),r(c,A)}function N(c){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;const A=M()(o).utc();return A.locale(b.l10n.locale),r(c,A)}function d(c){const o=M().tz(a);return M().tz(c,a).isAfter(o)}function f(c){return c?M().tz(c,a).toDate():M().tz(a).toDate()}function t(c){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const A=M()(c);return o&&!u(o)?A.tz(o):o&&u(o)?A.utcOffset(o):b.timezone.string?A.tz(b.timezone.string):A.utcOffset(b.timezone.offset)}function u(c){return"number"==typeof c||z.test(c)}i()}(),(window.wp=window.wp||{}).date=A}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/deprecated.js b/wp-includes/js/dist/deprecated.js
index 7a8938d657..564afbee6b 100644
--- a/wp-includes/js/dist/deprecated.js
+++ b/wp-includes/js/dist/deprecated.js
@@ -1,101 +1,39 @@
-this["wp"] = this["wp"] || {}; this["wp"]["deprecated"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "+BeG");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
+var __webpack_exports__ = {};
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "default": function() { return /* binding */ deprecated; }
+});

-/***/ "+BeG":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+// UNUSED EXPORTS: logged

-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "logged", function() { return logged; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return deprecated; });
-/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("g56x");
-/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__);
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/deprecated/build-module/index.js
 /**
  * WordPress dependencies
  */
@@ -172,21 +110,13 @@ function deprecated(feature) {
    */


-  Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__["doAction"])('deprecated', feature, options, message); // eslint-disable-next-line no-console
+  (0,external_wp_hooks_namespaceObject.doAction)('deprecated', feature, options, message); // eslint-disable-next-line no-console

   console.warn(message);
   logged[message] = true;
 }
 /** @typedef {import('utility-types').NonUndefined<Parameters<typeof deprecated>[1]>} DeprecatedOptions */

-
-/***/ }),
-
-/***/ "g56x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["hooks"]; }());
-
-/***/ })
-
-/******/ })["default"];
\ No newline at end of file
+(window.wp = window.wp || {}).deprecated = __webpack_exports__["default"];
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/deprecated.min.js b/wp-includes/js/dist/deprecated.min.js
index 7240a1f6c1..984d753a71 100644
--- a/wp-includes/js/dist/deprecated.min.js
+++ b/wp-includes/js/dist/deprecated.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="+BeG")}({"+BeG":function(e,t,n){"use strict";n.r(t),n.d(t,"logged",(function(){return o})),n.d(t,"default",(function(){return i}));var r=n("g56x");const o=Object.create(null);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{since:n,version:i,alternative:u,plugin:c,link:l,hint:d}=t,f=c?" from "+c:"",a=n?" since version "+n:"",s=i?` and will be removed${f} in version ${i}`:"",p=u?` Please use ${u} instead.`:"",b=l?" See: "+l:"",v=d?" Note: "+d:"",g=`${e} is deprecated${a}${s}.${p}${b}${v}`;g in o||(Object(r.doAction)("deprecated",e,t,g),console.warn(g),o[g]=!0)}},g56x:function(e,t){e.exports=window.wp.hooks}}).default;
\ No newline at end of file
+!function(){"use strict";var e={d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n={};e.d(n,{default:function(){return i}});var t=window.wp.hooks;const o=Object.create(null);function i(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{since:i,version:r,alternative:c,plugin:d,link:a,hint:l}=n,s=d?` from ${d}`:"",u=i?` since version ${i}`:"",$=r?` and will be removed${s} in version ${r}`:"",w=c?` Please use ${c} instead.`:"",p=a?` See: ${a}`:"",f=l?` Note: ${l}`:"",v=`${e} is deprecated${u}${$}.${w}${p}${f}`;v in o||((0,t.doAction)("deprecated",e,n,v),console.warn(v),o[v]=!0)}(window.wp=window.wp||{}).deprecated=n.default}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/dom-ready.js b/wp-includes/js/dist/dom-ready.js
index 43016148ce..4deb620249 100644
--- a/wp-includes/js/dist/dom-ready.js
+++ b/wp-includes/js/dist/dom-ready.js
@@ -1,98 +1,31 @@
-this["wp"] = this["wp"] || {}; this["wp"]["domReady"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "2oG7");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "2oG7":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return domReady; });
+var __webpack_exports__ = {};
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */   "default": function() { return /* binding */ domReady; }
+/* harmony export */ });
 /**
  * @typedef {() => void} Callback
  *
@@ -138,7 +71,6 @@ function domReady(callback) {
   document.addEventListener('DOMContentLoaded', callback);
 }

-
-/***/ })
-
-/******/ })["default"];
\ No newline at end of file
+(window.wp = window.wp || {}).domReady = __webpack_exports__["default"];
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/dom-ready.min.js b/wp-includes/js/dist/dom-ready.min.js
index 6aa5d3397c..b7561f6b59 100644
--- a/wp-includes/js/dist/dom-ready.min.js
+++ b/wp-includes/js/dist/dom-ready.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.domReady=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="2oG7")}({"2oG7":function(e,t,n){"use strict";function r(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}n.r(t),n.d(t,"default",(function(){return r}))}}).default;
\ No newline at end of file
+!function(){"use strict";var e={d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};function n(e){"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}e.d(t,{default:function(){return n}}),(window.wp=window.wp||{}).domReady=t.default}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/dom.js b/wp-includes/js/dist/dom.js
index 5f79825319..ab1af598e1 100644
--- a/wp-includes/js/dist/dom.js
+++ b/wp-includes/js/dist/dom.js
@@ -1,145 +1,94 @@
-this["wp"] = this["wp"] || {}; this["wp"]["dom"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "2sUP");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "2sUP":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "focus", function() { return /* binding */ build_module_focus; });
-__webpack_require__.d(__webpack_exports__, "computeCaretRect", function() { return /* reexport */ computeCaretRect; });
-__webpack_require__.d(__webpack_exports__, "documentHasTextSelection", function() { return /* reexport */ documentHasTextSelection; });
-__webpack_require__.d(__webpack_exports__, "documentHasUncollapsedSelection", function() { return /* reexport */ documentHasUncollapsedSelection; });
-__webpack_require__.d(__webpack_exports__, "documentHasSelection", function() { return /* reexport */ documentHasSelection; });
-__webpack_require__.d(__webpack_exports__, "getRectangleFromRange", function() { return /* reexport */ getRectangleFromRange; });
-__webpack_require__.d(__webpack_exports__, "getScrollContainer", function() { return /* reexport */ getScrollContainer; });
-__webpack_require__.d(__webpack_exports__, "getOffsetParent", function() { return /* reexport */ getOffsetParent; });
-__webpack_require__.d(__webpack_exports__, "isEntirelySelected", function() { return /* reexport */ isEntirelySelected; });
-__webpack_require__.d(__webpack_exports__, "isHorizontalEdge", function() { return /* reexport */ isHorizontalEdge; });
-__webpack_require__.d(__webpack_exports__, "isNumberInput", function() { return /* reexport */ isNumberInput; });
-__webpack_require__.d(__webpack_exports__, "isTextField", function() { return /* reexport */ isTextField; });
-__webpack_require__.d(__webpack_exports__, "isVerticalEdge", function() { return /* reexport */ isVerticalEdge; });
-__webpack_require__.d(__webpack_exports__, "placeCaretAtHorizontalEdge", function() { return /* reexport */ placeCaretAtHorizontalEdge; });
-__webpack_require__.d(__webpack_exports__, "placeCaretAtVerticalEdge", function() { return /* reexport */ placeCaretAtVerticalEdge; });
-__webpack_require__.d(__webpack_exports__, "replace", function() { return /* reexport */ replace; });
-__webpack_require__.d(__webpack_exports__, "remove", function() { return /* reexport */ remove; });
-__webpack_require__.d(__webpack_exports__, "insertAfter", function() { return /* reexport */ insertAfter; });
-__webpack_require__.d(__webpack_exports__, "unwrap", function() { return /* reexport */ unwrap; });
-__webpack_require__.d(__webpack_exports__, "replaceTag", function() { return /* reexport */ replaceTag; });
-__webpack_require__.d(__webpack_exports__, "wrap", function() { return /* reexport */ wrap; });
-__webpack_require__.d(__webpack_exports__, "__unstableStripHTML", function() { return /* reexport */ stripHTML; });
-__webpack_require__.d(__webpack_exports__, "isEmpty", function() { return /* reexport */ isEmpty; });
-__webpack_require__.d(__webpack_exports__, "removeInvalidHTML", function() { return /* reexport */ removeInvalidHTML; });
-__webpack_require__.d(__webpack_exports__, "isRTL", function() { return /* reexport */ isRTL; });
-__webpack_require__.d(__webpack_exports__, "safeHTML", function() { return /* reexport */ safeHTML; });
-__webpack_require__.d(__webpack_exports__, "getPhrasingContentSchema", function() { return /* reexport */ getPhrasingContentSchema; });
-__webpack_require__.d(__webpack_exports__, "isPhrasingContent", function() { return /* reexport */ isPhrasingContent; });
-__webpack_require__.d(__webpack_exports__, "isTextContent", function() { return /* reexport */ isTextContent; });
-__webpack_require__.d(__webpack_exports__, "getFilesFromDataTransfer", function() { return /* reexport */ getFilesFromDataTransfer; });
+__webpack_require__.d(__webpack_exports__, {
+  "__unstableStripHTML": function() { return /* reexport */ stripHTML; },
+  "computeCaretRect": function() { return /* reexport */ computeCaretRect; },
+  "documentHasSelection": function() { return /* reexport */ documentHasSelection; },
+  "documentHasTextSelection": function() { return /* reexport */ documentHasTextSelection; },
+  "documentHasUncollapsedSelection": function() { return /* reexport */ documentHasUncollapsedSelection; },
+  "focus": function() { return /* binding */ build_module_focus; },
+  "getFilesFromDataTransfer": function() { return /* reexport */ getFilesFromDataTransfer; },
+  "getOffsetParent": function() { return /* reexport */ getOffsetParent; },
+  "getPhrasingContentSchema": function() { return /* reexport */ getPhrasingContentSchema; },
+  "getRectangleFromRange": function() { return /* reexport */ getRectangleFromRange; },
+  "getScrollContainer": function() { return /* reexport */ getScrollContainer; },
+  "insertAfter": function() { return /* reexport */ insertAfter; },
+  "isEmpty": function() { return /* reexport */ isEmpty; },
+  "isEntirelySelected": function() { return /* reexport */ isEntirelySelected; },
+  "isHorizontalEdge": function() { return /* reexport */ isHorizontalEdge; },
+  "isNumberInput": function() { return /* reexport */ isNumberInput; },
+  "isPhrasingContent": function() { return /* reexport */ isPhrasingContent; },
+  "isRTL": function() { return /* reexport */ isRTL; },
+  "isTextContent": function() { return /* reexport */ isTextContent; },
+  "isTextField": function() { return /* reexport */ isTextField; },
+  "isVerticalEdge": function() { return /* reexport */ isVerticalEdge; },
+  "placeCaretAtHorizontalEdge": function() { return /* reexport */ placeCaretAtHorizontalEdge; },
+  "placeCaretAtVerticalEdge": function() { return /* reexport */ placeCaretAtVerticalEdge; },
+  "remove": function() { return /* reexport */ remove; },
+  "removeInvalidHTML": function() { return /* reexport */ removeInvalidHTML; },
+  "replace": function() { return /* reexport */ replace; },
+  "replaceTag": function() { return /* reexport */ replaceTag; },
+  "safeHTML": function() { return /* reexport */ safeHTML; },
+  "unwrap": function() { return /* reexport */ unwrap; },
+  "wrap": function() { return /* reexport */ wrap; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/dom/build-module/focusable.js
 var focusable_namespaceObject = {};
 __webpack_require__.r(focusable_namespaceObject);
-__webpack_require__.d(focusable_namespaceObject, "find", function() { return find; });
+__webpack_require__.d(focusable_namespaceObject, {
+  "find": function() { return find; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/dom/build-module/tabbable.js
 var tabbable_namespaceObject = {};
 __webpack_require__.r(tabbable_namespaceObject);
-__webpack_require__.d(tabbable_namespaceObject, "isTabbableIndex", function() { return isTabbableIndex; });
-__webpack_require__.d(tabbable_namespaceObject, "find", function() { return tabbable_find; });
-__webpack_require__.d(tabbable_namespaceObject, "findPrevious", function() { return findPrevious; });
-__webpack_require__.d(tabbable_namespaceObject, "findNext", function() { return findNext; });
+__webpack_require__.d(tabbable_namespaceObject, {
+  "find": function() { return tabbable_find; },
+  "findNext": function() { return findNext; },
+  "findPrevious": function() { return findPrevious; },
+  "isTabbableIndex": function() { return isTabbableIndex; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/focusable.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/focusable.js
 /**
  * References:
  *
@@ -256,10 +205,9 @@ function find(context) {
   });
 }

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/tabbable.js
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/tabbable.js
 /**
  * External dependencies
  */
@@ -341,7 +289,7 @@ function createStatefulCollapseRadioGroup() {

     if (hasChosen) {
       const hadChosenElement = CHOSEN_RADIO_BY_NAME[name];
-      result = Object(external_lodash_["without"])(result, hadChosenElement);
+      result = (0,external_lodash_namespaceObject.without)(result, hadChosenElement);
     }

     CHOSEN_RADIO_BY_NAME[name] = element;
@@ -435,7 +383,7 @@ function findPrevious(element) {
   const index = focusables.indexOf(element); // Remove all focusables after and including `element`.

   focusables.length = index;
-  return Object(external_lodash_["last"])(filterTabbable(focusables));
+  return (0,external_lodash_namespaceObject.last)(filterTabbable(focusables));
 }
 /**
  * Given a focusable element, find the next tabbable element.
@@ -449,15 +397,15 @@ function findNext(element) {
   const index = focusables.indexOf(element); // Remove all focusables before and including `element`.

   const remaining = focusables.slice(index + 1);
-  return Object(external_lodash_["first"])(filterTabbable(remaining));
+  return (0,external_lodash_namespaceObject.first)(filterTabbable(remaining));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/utils/assert-is-defined.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/utils/assert-is-defined.js
 function assertIsDefined(val, name) {
   if (false) {}
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-rectangle-from-range.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-rectangle-from-range.js
 /**
  * Internal dependencies
  */
@@ -560,7 +508,7 @@ function getRectangleFromRange(range) {
   return rect;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/compute-caret-rect.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/compute-caret-rect.js
 /**
  * Internal dependencies
  */
@@ -586,7 +534,7 @@ function computeCaretRect(win) {
   return getRectangleFromRange(range);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/document-has-text-selection.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/document-has-text-selection.js
 /**
  * Internal dependencies
  */
@@ -611,7 +559,7 @@ function documentHasTextSelection(doc) {
   return !!range && !range.collapsed;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-html-input-element.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-html-input-element.js
 /* eslint-disable jsdoc/valid-types */

 /**
@@ -623,7 +571,7 @@ function isHTMLInputElement(node) {
   return !!node && node.nodeName === 'INPUT';
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-text-field.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-text-field.js
 /**
  * Internal dependencies
  */
@@ -648,7 +596,7 @@ function isTextField(node) {
   node.contentEditable === 'true';
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-number-input.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-number-input.js
 /**
  * Internal dependencies
  */
@@ -669,7 +617,7 @@ function isNumberInput(node) {
   return isHTMLInputElement(node) && node.type === 'number' && !!node.valueAsNumber;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/input-field-has-uncollapsed-selection.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/input-field-has-uncollapsed-selection.js
 /**
  * Internal dependencies
  */
@@ -715,7 +663,7 @@ function inputFieldHasUncollapsedSelection(element) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/document-has-uncollapsed-selection.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/document-has-uncollapsed-selection.js
 /**
  * Internal dependencies
  */
@@ -735,7 +683,7 @@ function documentHasUncollapsedSelection(doc) {
   return documentHasTextSelection(doc) || !!doc.activeElement && inputFieldHasUncollapsedSelection(doc.activeElement);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/document-has-selection.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/document-has-selection.js
 /**
  * Internal dependencies
  */
@@ -755,7 +703,7 @@ function documentHasSelection(doc) {
   return !!doc.activeElement && (isTextField(doc.activeElement) || isNumberInput(doc.activeElement) || documentHasTextSelection(doc));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-computed-style.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-computed-style.js
 /**
  * Internal dependencies
  */
@@ -773,7 +721,7 @@ function getComputedStyle(element) {
   return element.ownerDocument.defaultView.getComputedStyle(element);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-scroll-container.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-scroll-container.js
 /**
  * Internal dependencies
  */
@@ -809,7 +757,7 @@ function getScrollContainer(node) {
   node.parentNode);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-offset-parent.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-offset-parent.js
 /**
  * Internal dependencies
  */
@@ -858,7 +806,7 @@ function getOffsetParent(node) {
   );
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-input-or-text-area.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-input-or-text-area.js
 /* eslint-disable jsdoc/valid-types */

 /**
@@ -870,7 +818,7 @@ function isInputOrTextArea(element) {
   return element.tagName === 'INPUT' || element.tagName === 'TEXTAREA';
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-entirely-selected.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-entirely-selected.js
 /**
  * Internal dependencies
  */
@@ -953,7 +901,7 @@ function isDeepChild(query, container, propName) {
   return false;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-rtl.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-rtl.js
 /**
  * Internal dependencies
  */
@@ -970,7 +918,7 @@ function isRTL(element) {
   return getComputedStyle(element).direction === 'rtl';
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-range-height.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/get-range-height.js
 /**
  * Gets the height of the range without ignoring zero width rectangles, which
  * some browsers ignore when creating a union.
@@ -1000,7 +948,7 @@ function getRangeHeight(range) {
   return lowestBottom - highestTop;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-selection-forward.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-selection-forward.js
 /**
  * Internal dependencies
  */
@@ -1052,7 +1000,7 @@ function isSelectionForward(selection) {
   return true;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/caret-range-from-point.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/caret-range-from-point.js
 /**
  * Polyfill.
  * Get a collapsed range for a given point.
@@ -1091,7 +1039,7 @@ function caretRangeFromPoint(doc, x, y) {
  * @typedef {{ readonly offset: number; readonly offsetNode: Node; getClientRect(): DOMRect | null; }} CaretPosition
  */

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/hidden-caret-range-from-point.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/hidden-caret-range-from-point.js
 /**
  * Internal dependencies
  */
@@ -1128,7 +1076,7 @@ function hiddenCaretRangeFromPoint(doc, x, y, container) {
   return range;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-edge.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-edge.js
 /**
  * Internal dependencies
  */
@@ -1249,7 +1197,7 @@ function isEdge(container, isReverse) {
   return onlyVertical ? hasVerticalDiff : hasVerticalDiff && hasHorizontalDiff;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-horizontal-edge.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-horizontal-edge.js
 /**
  * Internal dependencies
  */
@@ -1267,7 +1215,7 @@ function isHorizontalEdge(container, isReverse) {
   return isEdge(container, isReverse);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-vertical-edge.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-vertical-edge.js
 /**
  * Internal dependencies
  */
@@ -1285,7 +1233,7 @@ function isVerticalEdge(container, isReverse) {
   return isEdge(container, isReverse, true);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-edge.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-edge.js
 /**
  * Internal dependencies
  */
@@ -1381,7 +1329,7 @@ function placeCaretAtEdge(container, isReverse, x) {
   selection.addRange(range);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-horizontal-edge.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-horizontal-edge.js
 /**
  * Internal dependencies
  */
@@ -1397,7 +1345,7 @@ function placeCaretAtHorizontalEdge(container, isReverse) {
   return placeCaretAtEdge(container, isReverse, undefined);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-vertical-edge.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/place-caret-at-vertical-edge.js
 /**
  * Internal dependencies
  */
@@ -1414,7 +1362,7 @@ function placeCaretAtVerticalEdge(container, isReverse, rect) {
   return placeCaretAtEdge(container, isReverse, rect === null || rect === void 0 ? void 0 : rect.left);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/insert-after.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/insert-after.js
 /**
  * Internal dependencies
  */
@@ -1433,7 +1381,7 @@ function insertAfter(newNode, referenceNode) {
   referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/remove.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/remove.js
 /**
  * Internal dependencies
  */
@@ -1450,7 +1398,7 @@ function remove(node) {
   node.parentNode.removeChild(node);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/replace.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/replace.js
 /**
  * Internal dependencies
  */
@@ -1471,7 +1419,7 @@ function replace(processedNode, newNode) {
   remove(processedNode);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/unwrap.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/unwrap.js
 /**
  * Internal dependencies
  */
@@ -1495,7 +1443,7 @@ function unwrap(node) {
   parent.removeChild(node);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/replace-tag.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/replace-tag.js
 /**
  * Internal dependencies
  */
@@ -1521,7 +1469,7 @@ function replaceTag(node, tagName) {
   return newNode;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/wrap.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/wrap.js
 /**
  * Internal dependencies
  */
@@ -1539,7 +1487,7 @@ function wrap(newNode, referenceNode) {
   newNode.appendChild(referenceNode);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/safe-html.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/safe-html.js
 /**
  * Internal dependencies
  */
@@ -1583,7 +1531,7 @@ function safeHTML(html) {
   return body.innerHTML;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/strip-html.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/strip-html.js
 /**
  * Internal dependencies
  */
@@ -1605,7 +1553,7 @@ function stripHTML(html) {
   return doc.body.textContent || '';
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-empty.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-empty.js
 /**
  * Recursively checks if an element is empty. An element is not empty if it
  * contains text or contains elements with attributes such as images.
@@ -1638,7 +1586,7 @@ function isEmpty(element) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/phrasing-content.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/phrasing-content.js
 /**
  * External dependencies
  */
@@ -1720,8 +1668,8 @@ const textContentSchema = {
 // Possible: strong > em > strong.
 // Impossible: strong > strong.

-Object(external_lodash_["without"])(Object.keys(textContentSchema), '#text', 'br').forEach(tag => {
-  textContentSchema[tag].children = Object(external_lodash_["omit"])(textContentSchema, tag);
+(0,external_lodash_namespaceObject.without)(Object.keys(textContentSchema), '#text', 'br').forEach(tag => {
+  textContentSchema[tag].children = (0,external_lodash_namespaceObject.omit)(textContentSchema, tag);
 });
 /**
  * Embedded content elements.
@@ -1776,7 +1724,7 @@ function getPhrasingContentSchema(context) {
     return phrasingContentSchema;
   }

-  return Object(external_lodash_["omit"])({ ...phrasingContentSchema,
+  return (0,external_lodash_namespaceObject.omit)({ ...phrasingContentSchema,
     // We shouldn't paste potentially sensitive information which is not
     // visible to the user when pasted, so strip the attributes.
     ins: {
@@ -1818,7 +1766,7 @@ function isTextContent(node) {
   return textContentSchema.hasOwnProperty(tag) || tag === 'span';
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-element.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/is-element.js
 /* eslint-disable jsdoc/valid-types */

 /**
@@ -1830,7 +1778,7 @@ function isElement(node) {
   return !!node && node.nodeType === node.ELEMENT_NODE;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/clean-node-list.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/clean-node-list.js
 /**
  * External dependencies
  */
@@ -1903,7 +1851,7 @@ function cleanNodeList(nodeList, doc, schema, inline) {
               name
             } = _ref;

-            if (name !== 'class' && !Object(external_lodash_["includes"])(attributes, name)) {
+            if (name !== 'class' && !(0,external_lodash_namespaceObject.includes)(attributes, name)) {
               node.removeAttribute(name);
             }
           }); // Strip invalid classes.
@@ -1922,7 +1870,7 @@ function cleanNodeList(nodeList, doc, schema, inline) {
                 className) => item.test(className);
               }

-              return external_lodash_["noop"];
+              return external_lodash_namespaceObject.noop;
             });
             Array.from(node.classList).forEach(name => {
               if (!mattchers.some(isMatch => isMatch(name))) {
@@ -1982,7 +1930,7 @@ function cleanNodeList(nodeList, doc, schema, inline) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/remove-invalid-html.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/remove-invalid-html.js
 /**
  * Internal dependencies
  */
@@ -2004,7 +1952,7 @@ function removeInvalidHTML(HTML, schema, inline) {
   return doc.body.innerHTML;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/dom/index.js



@@ -2031,7 +1979,7 @@ function removeInvalidHTML(HTML, schema, inline) {



-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/data-transfer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/data-transfer.js
 /**
  * Gets all files from a DataTransfer object.
  *
@@ -2058,7 +2006,7 @@ function getFilesFromDataTransfer(dataTransfer) {
   return files;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/dom/build-module/index.js
 /**
  * Internal dependencies
  */
@@ -2077,14 +2025,6 @@ const build_module_focus = {



-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).dom = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/dom.min.js b/wp-includes/js/dist/dom.min.js
index bdf2d71a71..3b3ebca77a 100644
--- a/wp-includes/js/dist/dom.min.js
+++ b/wp-includes/js/dist/dom.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.dom=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="2sUP")}({"2sUP":function(t,e,n){"use strict";n.r(e),n.d(e,"focus",(function(){return ct})),n.d(e,"computeCaretRect",(function(){return C})),n.d(e,"documentHasTextSelection",(function(){return w})),n.d(e,"documentHasUncollapsedSelection",(function(){return S})),n.d(e,"documentHasSelection",(function(){return x})),n.d(e,"getRectangleFromRange",(function(){return E})),n.d(e,"getScrollContainer",(function(){return R})),n.d(e,"getOffsetParent",(function(){return P})),n.d(e,"isEntirelySelected",(function(){return M})),n.d(e,"isHorizontalEdge",(function(){return F})),n.d(e,"isNumberInput",(function(){return O})),n.d(e,"isTextField",(function(){return T})),n.d(e,"isVerticalEdge",(function(){return B})),n.d(e,"placeCaretAtHorizontalEdge",(function(){return q})),n.d(e,"placeCaretAtVerticalEdge",(function(){return k})),n.d(e,"replace",(function(){return W})),n.d(e,"remove",(function(){return Y})),n.d(e,"insertAfter",(function(){return X})),n.d(e,"unwrap",(function(){return G})),n.d(e,"replaceTag",(function(){return $})),n.d(e,"wrap",(function(){return J})),n.d(e,"__unstableStripHTML",(function(){return Q})),n.d(e,"isEmpty",(function(){return Z})),n.d(e,"removeInvalidHTML",(function(){return it})),n.d(e,"isRTL",(function(){return j})),n.d(e,"safeHTML",(function(){return K})),n.d(e,"getPhrasingContentSchema",(function(){return nt})),n.d(e,"isPhrasingContent",(function(){return rt})),n.d(e,"isTextContent",(function(){return ot})),n.d(e,"getFilesFromDataTransfer",(function(){return ut}));var r={};n.r(r),n.d(r,"find",(function(){return a}));var o={};function i(t){return[t?'[tabindex]:not([tabindex^="-"])':"[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'iframe:not([tabindex^="-"])',"object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",")}function u(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0}function c(t){const e=t.closest("map[name]");if(!e)return!1;const n=t.ownerDocument.querySelector('img[usemap="#'+e.name+'"]');return!!n&&u(n)}function a(t){let{sequential:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.querySelectorAll(i(e));return Array.from(n).filter(t=>{if(!u(t))return!1;const{nodeName:e}=t;return"AREA"!==e||c(t)})}n.r(o),n.d(o,"isTabbableIndex",(function(){return d})),n.d(o,"find",(function(){return b})),n.d(o,"findPrevious",(function(){return g})),n.d(o,"findNext",(function(){return y}));var s=n("YLtl");function l(t){const e=t.getAttribute("tabindex");return null===e?0:parseInt(e,10)}function d(t){return-1!==l(t)}function f(t,e){return{element:t,index:e}}function m(t){return t.element}function p(t,e){const n=l(t.element),r=l(e.element);return n===r?t.index-e.index:n-r}function h(t){return t.filter(d).map(f).sort(p).map(m).reduce(function(){const t={};return function(e,n){const{nodeName:r,type:o,checked:i,name:u}=n;if("INPUT"!==r||"radio"!==o||!u)return e.concat(n);const c=t.hasOwnProperty(u);if(!(i||!c))return e;if(c){const n=t[u];e=Object(s.without)(e,n)}return t[u]=n,e.concat(n)}}(),[])}function b(t){return h(a(t))}function g(t){const e=a(t.ownerDocument.body),n=e.indexOf(t);return e.length=n,Object(s.last)(h(e))}function y(t){const e=a(t.ownerDocument.body),n=e.indexOf(t),r=e.slice(n+1);return Object(s.first)(h(r))}function N(t,e){0}function E(t){if(!t.collapsed){const e=Array.from(t.getClientRects());if(1===e.length)return e[0];const n=e.filter(t=>{let{width:e}=t;return e>1});if(0===n.length)return t.getBoundingClientRect();if(1===n.length)return n[0];let{top:r,bottom:o,left:i,right:u}=n[0];for(const{top:t,bottom:e,left:c,right:a}of n)t<r&&(r=t),e>o&&(o=e),c<i&&(i=c),a>u&&(u=a);return new window.DOMRect(i,r,u-i,o-r)}const{startContainer:e}=t,{ownerDocument:n}=e;if("BR"===e.nodeName){const{parentNode:r}=e;N();const o=Array.from(r.childNodes).indexOf(e);N(),(t=n.createRange()).setStart(r,o),t.setEnd(r,o)}let r=t.getClientRects()[0];if(!r){N();const e=n.createTextNode("​");(t=t.cloneRange()).insertNode(e),r=t.getClientRects()[0],N(e.parentNode),e.parentNode.removeChild(e)}return r}function C(t){const e=t.getSelection();N();const n=e.rangeCount?e.getRangeAt(0):null;return n?E(n):null}function w(t){N(t.defaultView);const e=t.defaultView.getSelection();N();const n=e.rangeCount?e.getRangeAt(0):null;return!!n&&!n.collapsed}function v(t){return!!t&&"INPUT"===t.nodeName}function T(t){return v(t)&&t.type&&!["button","checkbox","hidden","file","radio","image","range","reset","submit","number"].includes(t.type)||"TEXTAREA"===t.nodeName||"true"===t.contentEditable}function O(t){return v(t)&&"number"===t.type&&!!t.valueAsNumber}function S(t){return w(t)||!!t.activeElement&&function(t){if(!T(t)&&!O(t))return!1;try{const{selectionStart:e,selectionEnd:n}=t;return null!==e&&e!==n}catch(t){return!1}}(t.activeElement)}function x(t){return!!t.activeElement&&(T(t.activeElement)||O(t.activeElement)||w(t))}function A(t){return N(t.ownerDocument.defaultView),t.ownerDocument.defaultView.getComputedStyle(t)}function R(t){if(t){if(t.scrollHeight>t.clientHeight){const{overflowY:e}=A(t);if(/(auto|scroll)/.test(e))return t}return R(t.parentNode)}}function P(t){let e;for(;(e=t.parentNode)&&e.nodeType!==e.ELEMENT_NODE;);return e?"static"!==A(e).position?e:e.offsetParent:null}function L(t){return"INPUT"===t.tagName||"TEXTAREA"===t.tagName}function M(t){if(L(t))return 0===t.selectionStart&&t.value.length===t.selectionEnd;if(!t.isContentEditable)return!0;const{ownerDocument:e}=t,{defaultView:n}=e;N();const r=n.getSelection();N();const o=r.rangeCount?r.getRangeAt(0):null;if(!o)return!0;const{startContainer:i,endContainer:u,startOffset:c,endOffset:a}=o;if(i===t&&u===t&&0===c&&a===t.childNodes.length)return!0;t.lastChild;N();const s=u.nodeType===u.TEXT_NODE?u.data.length:u.childNodes.length;return D(i,t,"firstChild")&&D(u,t,"lastChild")&&0===c&&a===s}function D(t,e,n){let r=e;do{if(t===r)return!0;r=r[n]}while(r);return!1}function j(t){return"rtl"===A(t).direction}function H(t){const e=Array.from(t.getClientRects());if(!e.length)return;const n=Math.min(...e.map(t=>{let{top:e}=t;return e}));return Math.max(...e.map(t=>{let{bottom:e}=t;return e}))-n}function I(t){const{anchorNode:e,focusNode:n,anchorOffset:r,focusOffset:o}=t;N(),N();const i=e.compareDocumentPosition(n);return!(i&e.DOCUMENT_POSITION_PRECEDING)&&(!!(i&e.DOCUMENT_POSITION_FOLLOWING)||(0!==i||r<=o))}function _(t,e,n,r){const o=r.style.zIndex,i=r.style.position,{position:u="static"}=A(r);"static"===u&&(r.style.position="relative"),r.style.zIndex="10000";const c=function(t,e,n){if(t.caretRangeFromPoint)return t.caretRangeFromPoint(e,n);if(!t.caretPositionFromPoint)return null;const r=t.caretPositionFromPoint(e,n);if(!r)return null;const o=t.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}(t,e,n);return r.style.zIndex=o,r.style.position=i,c}function V(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(L(t)&&"number"==typeof t.selectionStart)return t.selectionStart===t.selectionEnd&&(e?0===t.selectionStart:t.value.length===t.selectionStart);if(!t.isContentEditable)return!0;const{ownerDocument:r}=t,{defaultView:o}=r;N();const i=o.getSelection();if(!i||!i.rangeCount)return!1;const u=i.getRangeAt(0),c=u.cloneRange(),a=I(i),s=i.isCollapsed;s||c.collapse(!a);const l=E(c),d=E(u);if(!l||!d)return!1;const f=H(u);if(!s&&f&&f>l.height&&a===e)return!1;const m=j(t)?!e:e,p=t.getBoundingClientRect(),h=m?p.left+1:p.right-1,b=e?p.top+1:p.bottom-1,g=_(r,h,b,t);if(!g)return!1;const y=E(g);if(!y)return!1;const C=e?"top":"bottom",w=m?"left":"right",v=y[C]-d[C],T=y[w]-l[w],O=Math.abs(v)<=1,S=Math.abs(T)<=1;return n?O:O&&S}function F(t,e){return V(t,e)}function B(t,e){return V(t,e,!0)}function U(t,e,n){const{ownerDocument:r}=t,o=j(t)?!e:e,i=t.getBoundingClientRect();void 0===n&&(n=e?i.right-1:i.left+1);return _(r,n,o?i.bottom-1:i.top+1,t)}function z(t,e,n){if(!t)return;if(t.focus(),L(t)){if("number"!=typeof t.selectionStart)return;return void(e?(t.selectionStart=t.value.length,t.selectionEnd=t.value.length):(t.selectionStart=0,t.selectionEnd=0))}if(!t.isContentEditable)return;let r=U(t,e,n);if(!(r&&r.startContainer&&t.contains(r.startContainer)||(t.scrollIntoView(e),r=r=U(t,e,n),r&&r.startContainer&&t.contains(r.startContainer))))return;const{ownerDocument:o}=t,{defaultView:i}=o;N();const u=i.getSelection();N(),u.removeAllRanges(),u.addRange(r)}function q(t,e){return z(t,e,void 0)}function k(t,e,n){return z(t,e,null==n?void 0:n.left)}function X(t,e){N(e.parentNode),e.parentNode.insertBefore(t,e.nextSibling)}function Y(t){N(t.parentNode),t.parentNode.removeChild(t)}function W(t,e){N(t.parentNode),X(e,t.parentNode),Y(t)}function G(t){const e=t.parentNode;for(N();t.firstChild;)e.insertBefore(t.firstChild,t);e.removeChild(t)}function $(t,e){const n=t.ownerDocument.createElement(e);for(;t.firstChild;)n.appendChild(t.firstChild);return N(t.parentNode),t.parentNode.replaceChild(n,t),n}function J(t,e){N(e.parentNode),e.parentNode.insertBefore(t,e),t.appendChild(e)}function K(t){const{body:e}=document.implementation.createHTMLDocument("");e.innerHTML=t;const n=e.getElementsByTagName("*");let r=n.length;for(;r--;){const t=n[r];if("SCRIPT"===t.tagName)Y(t);else{let e=t.attributes.length;for(;e--;){const{name:n}=t.attributes[e];n.startsWith("on")&&t.removeAttribute(n)}}}return e.innerHTML}function Q(t){t=K(t);const e=document.implementation.createHTMLDocument("");return e.body.innerHTML=t,e.body.textContent||""}function Z(t){switch(t.nodeType){case t.TEXT_NODE:return/^[ \f\n\r\t\v\u00a0]*$/.test(t.nodeValue||"");case t.ELEMENT_NODE:return!t.hasAttributes()&&(!t.hasChildNodes()||Array.from(t.childNodes).every(Z));default:return!0}}const tt={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel","id"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},small:{},q:{attributes:["cite"]},dfn:{attributes:["title"]},data:{attributes:["value"]},time:{attributes:["datetime"]},var:{},samp:{},kbd:{},i:{},b:{},u:{},mark:{},ruby:{},rt:{},rp:{},bdi:{attributes:["dir"]},bdo:{attributes:["dir"]},wbr:{},"#text":{}};Object(s.without)(Object.keys(tt),"#text","br").forEach(t=>{tt[t].children=Object(s.omit)(tt,t)});const et={...tt,audio:{attributes:["src","preload","autoplay","mediagroup","loop","muted"]},canvas:{attributes:["width","height"]},embed:{attributes:["src","type","width","height"]},img:{attributes:["alt","src","srcset","usemap","ismap","width","height"]},object:{attributes:["data","type","name","usemap","form","width","height"]},video:{attributes:["src","poster","preload","autoplay","mediagroup","loop","muted","controls","width","height"]}};function nt(t){return"paste"!==t?et:Object(s.omit)({...et,ins:{children:et.ins.children},del:{children:et.del.children}},["u","abbr","data","time","wbr","bdi","bdo"])}function rt(t){const e=t.nodeName.toLowerCase();return nt().hasOwnProperty(e)||"span"===e}function ot(t){const e=t.nodeName.toLowerCase();return tt.hasOwnProperty(e)||"span"===e}function it(t,e,n){const r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,function t(e,n,r,o){Array.from(e).forEach(e=>{var i,u;const c=e.nodeName.toLowerCase();if(r.hasOwnProperty(c)&&(!r[c].isMatch||null!==(i=(u=r[c]).isMatch)&&void 0!==i&&i.call(u,e))){if(function(t){return!!t&&t.nodeType===t.ELEMENT_NODE}(e)){const{attributes:i=[],classes:u=[],children:a,require:l=[],allowEmpty:d}=r[c];if(a&&!d&&Z(e))return void Y(e);if(e.hasAttributes()&&(Array.from(e.attributes).forEach(t=>{let{name:n}=t;"class"===n||Object(s.includes)(i,n)||e.removeAttribute(n)}),e.classList&&e.classList.length)){const t=u.map(t=>"string"==typeof t?e=>e===t:t instanceof RegExp?e=>t.test(e):s.noop);Array.from(e.classList).forEach(n=>{t.some(t=>t(n))||e.classList.remove(n)}),e.classList.length||e.removeAttribute("class")}if(e.hasChildNodes()){if("*"===a)return;if(a)l.length&&!e.querySelector(l.join(","))?(t(e.childNodes,n,r,o),G(e)):e.parentNode&&"BODY"===e.parentNode.nodeName&&rt(e)?(t(e.childNodes,n,r,o),Array.from(e.childNodes).some(t=>!rt(t))&&G(e)):t(e.childNodes,n,a,o);else for(;e.firstChild;)Y(e.firstChild)}}}else t(e.childNodes,n,r,o),o&&!rt(e)&&e.nextElementSibling&&X(n.createElement("br"),e),G(e)})}(r.body.childNodes,r,e,n),r.body.innerHTML}function ut(t){const e=Array.from(t.files);return Array.from(t.items).forEach(t=>{const n=t.getAsFile();n&&!e.find(t=>{let{name:e,type:r,size:o}=t;return e===n.name&&r===n.type&&o===n.size})&&e.push(n)}),e}const ct={focusable:r,tabbable:o}},YLtl:function(t,e){t.exports=window.lodash}});
\ No newline at end of file
+!function(){"use strict";var t={d:function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{__unstableStripHTML:function(){return K},computeCaretRect:function(){return E},documentHasSelection:function(){return A},documentHasTextSelection:function(){return C},documentHasUncollapsedSelection:function(){return S},focus:function(){return ct},getFilesFromDataTransfer:function(){return ut},getOffsetParent:function(){return x},getPhrasingContentSchema:function(){return et},getRectangleFromRange:function(){return N},getScrollContainer:function(){return R},insertAfter:function(){return k},isEmpty:function(){return Q},isEntirelySelected:function(){return D},isHorizontalEdge:function(){return F},isNumberInput:function(){return T},isPhrasingContent:function(){return nt},isRTL:function(){return M},isTextContent:function(){return rt},isTextField:function(){return v},isVerticalEdge:function(){return j},placeCaretAtHorizontalEdge:function(){return q},placeCaretAtVerticalEdge:function(){return U},remove:function(){return X},removeInvalidHTML:function(){return it},replace:function(){return W},replaceTag:function(){return Y},safeHTML:function(){return J},unwrap:function(){return G},wrap:function(){return $}});var n={};t.r(n),t.d(n,{find:function(){return c}});var r={};function o(t){return[t?'[tabindex]:not([tabindex^="-"])':"[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'iframe:not([tabindex^="-"])',"object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",")}function i(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0}function u(t){const e=t.closest("map[name]");if(!e)return!1;const n=t.ownerDocument.querySelector('img[usemap="#'+e.name+'"]');return!!n&&i(n)}function c(t){let{sequential:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.querySelectorAll(o(e));return Array.from(n).filter((t=>{if(!i(t))return!1;const{nodeName:e}=t;return"AREA"!==e||u(t)}))}t.r(r),t.d(r,{find:function(){return p},findNext:function(){return b},findPrevious:function(){return g},isTabbableIndex:function(){return l}});var a=window.lodash;function s(t){const e=t.getAttribute("tabindex");return null===e?0:parseInt(e,10)}function l(t){return-1!==s(t)}function f(t,e){return{element:t,index:e}}function d(t){return t.element}function m(t,e){const n=s(t.element),r=s(e.element);return n===r?t.index-e.index:n-r}function h(t){return t.filter(l).map(f).sort(m).map(d).reduce(function(){const t={};return function(e,n){const{nodeName:r,type:o,checked:i,name:u}=n;if("INPUT"!==r||"radio"!==o||!u)return e.concat(n);const c=t.hasOwnProperty(u);if(!i&&c)return e;if(c){const n=t[u];e=(0,a.without)(e,n)}return t[u]=n,e.concat(n)}}(),[])}function p(t){return h(c(t))}function g(t){const e=c(t.ownerDocument.body),n=e.indexOf(t);return e.length=n,(0,a.last)(h(e))}function b(t){const e=c(t.ownerDocument.body),n=e.indexOf(t),r=e.slice(n+1);return(0,a.first)(h(r))}function y(t,e){0}function N(t){if(!t.collapsed){const e=Array.from(t.getClientRects());if(1===e.length)return e[0];const n=e.filter((t=>{let{width:e}=t;return e>1}));if(0===n.length)return t.getBoundingClientRect();if(1===n.length)return n[0];let{top:r,bottom:o,left:i,right:u}=n[0];for(const{top:t,bottom:e,left:c,right:a}of n)t<r&&(r=t),e>o&&(o=e),c<i&&(i=c),a>u&&(u=a);return new window.DOMRect(i,r,u-i,o-r)}const{startContainer:e}=t,{ownerDocument:n}=e;if("BR"===e.nodeName){const{parentNode:r}=e;y();const o=Array.from(r.childNodes).indexOf(e);y(),(t=n.createRange()).setStart(r,o),t.setEnd(r,o)}let r=t.getClientRects()[0];if(!r){y();const e=n.createTextNode("​");(t=t.cloneRange()).insertNode(e),r=t.getClientRects()[0],y(e.parentNode),e.parentNode.removeChild(e)}return r}function E(t){const e=t.getSelection();y();const n=e.rangeCount?e.getRangeAt(0):null;return n?N(n):null}function C(t){y(t.defaultView);const e=t.defaultView.getSelection();y();const n=e.rangeCount?e.getRangeAt(0):null;return!!n&&!n.collapsed}function w(t){return!!t&&"INPUT"===t.nodeName}function v(t){return w(t)&&t.type&&!["button","checkbox","hidden","file","radio","image","range","reset","submit","number"].includes(t.type)||"TEXTAREA"===t.nodeName||"true"===t.contentEditable}function T(t){return w(t)&&"number"===t.type&&!!t.valueAsNumber}function S(t){return C(t)||!!t.activeElement&&function(t){if(!v(t)&&!T(t))return!1;try{const{selectionStart:e,selectionEnd:n}=t;return null!==e&&e!==n}catch(t){return!1}}(t.activeElement)}function A(t){return!!t.activeElement&&(v(t.activeElement)||T(t.activeElement)||C(t))}function O(t){return y(t.ownerDocument.defaultView),t.ownerDocument.defaultView.getComputedStyle(t)}function R(t){if(t){if(t.scrollHeight>t.clientHeight){const{overflowY:e}=O(t);if(/(auto|scroll)/.test(e))return t}return R(t.parentNode)}}function x(t){let e;for(;(e=t.parentNode)&&e.nodeType!==e.ELEMENT_NODE;);return e?"static"!==O(e).position?e:e.offsetParent:null}function P(t){return"INPUT"===t.tagName||"TEXTAREA"===t.tagName}function D(t){if(P(t))return 0===t.selectionStart&&t.value.length===t.selectionEnd;if(!t.isContentEditable)return!0;const{ownerDocument:e}=t,{defaultView:n}=e;y();const r=n.getSelection();y();const o=r.rangeCount?r.getRangeAt(0):null;if(!o)return!0;const{startContainer:i,endContainer:u,startOffset:c,endOffset:a}=o;if(i===t&&u===t&&0===c&&a===t.childNodes.length)return!0;t.lastChild;y();const s=u.nodeType===u.TEXT_NODE?u.data.length:u.childNodes.length;return L(i,t,"firstChild")&&L(u,t,"lastChild")&&0===c&&a===s}function L(t,e,n){let r=e;do{if(t===r)return!0;r=r[n]}while(r);return!1}function M(t){return"rtl"===O(t).direction}function H(t){const e=Array.from(t.getClientRects());if(!e.length)return;const n=Math.min(...e.map((t=>{let{top:e}=t;return e})));return Math.max(...e.map((t=>{let{bottom:e}=t;return e})))-n}function I(t){const{anchorNode:e,focusNode:n,anchorOffset:r,focusOffset:o}=t;y(),y();const i=e.compareDocumentPosition(n);return!(i&e.DOCUMENT_POSITION_PRECEDING)&&(!!(i&e.DOCUMENT_POSITION_FOLLOWING)||(0!==i||r<=o))}function _(t,e,n,r){const o=r.style.zIndex,i=r.style.position,{position:u="static"}=O(r);"static"===u&&(r.style.position="relative"),r.style.zIndex="10000";const c=function(t,e,n){if(t.caretRangeFromPoint)return t.caretRangeFromPoint(e,n);if(!t.caretPositionFromPoint)return null;const r=t.caretPositionFromPoint(e,n);if(!r)return null;const o=t.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}(t,e,n);return r.style.zIndex=o,r.style.position=i,c}function V(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(P(t)&&"number"==typeof t.selectionStart)return t.selectionStart===t.selectionEnd&&(e?0===t.selectionStart:t.value.length===t.selectionStart);if(!t.isContentEditable)return!0;const{ownerDocument:r}=t,{defaultView:o}=r;y();const i=o.getSelection();if(!i||!i.rangeCount)return!1;const u=i.getRangeAt(0),c=u.cloneRange(),a=I(i),s=i.isCollapsed;s||c.collapse(!a);const l=N(c),f=N(u);if(!l||!f)return!1;const d=H(u);if(!s&&d&&d>l.height&&a===e)return!1;const m=M(t)?!e:e,h=t.getBoundingClientRect(),p=m?h.left+1:h.right-1,g=e?h.top+1:h.bottom-1,b=_(r,p,g,t);if(!b)return!1;const E=N(b);if(!E)return!1;const C=e?"top":"bottom",w=m?"left":"right",v=E[C]-f[C],T=E[w]-l[w],S=Math.abs(v)<=1,A=Math.abs(T)<=1;return n?S:S&&A}function F(t,e){return V(t,e)}function j(t,e){return V(t,e,!0)}function B(t,e,n){const{ownerDocument:r}=t,o=M(t)?!e:e,i=t.getBoundingClientRect();void 0===n&&(n=e?i.right-1:i.left+1);return _(r,n,o?i.bottom-1:i.top+1,t)}function z(t,e,n){if(!t)return;if(t.focus(),P(t)){if("number"!=typeof t.selectionStart)return;return void(e?(t.selectionStart=t.value.length,t.selectionEnd=t.value.length):(t.selectionStart=0,t.selectionEnd=0))}if(!t.isContentEditable)return;let r=B(t,e,n);if(!(r&&r.startContainer&&t.contains(r.startContainer)||(t.scrollIntoView(e),r=r=B(t,e,n),r&&r.startContainer&&t.contains(r.startContainer))))return;const{ownerDocument:o}=t,{defaultView:i}=o;y();const u=i.getSelection();y(),u.removeAllRanges(),u.addRange(r)}function q(t,e){return z(t,e,void 0)}function U(t,e,n){return z(t,e,null==n?void 0:n.left)}function k(t,e){y(e.parentNode),e.parentNode.insertBefore(t,e.nextSibling)}function X(t){y(t.parentNode),t.parentNode.removeChild(t)}function W(t,e){y(t.parentNode),k(e,t.parentNode),X(t)}function G(t){const e=t.parentNode;for(y();t.firstChild;)e.insertBefore(t.firstChild,t);e.removeChild(t)}function Y(t,e){const n=t.ownerDocument.createElement(e);for(;t.firstChild;)n.appendChild(t.firstChild);return y(t.parentNode),t.parentNode.replaceChild(n,t),n}function $(t,e){y(e.parentNode),e.parentNode.insertBefore(t,e),t.appendChild(e)}function J(t){const{body:e}=document.implementation.createHTMLDocument("");e.innerHTML=t;const n=e.getElementsByTagName("*");let r=n.length;for(;r--;){const t=n[r];if("SCRIPT"===t.tagName)X(t);else{let e=t.attributes.length;for(;e--;){const{name:n}=t.attributes[e];n.startsWith("on")&&t.removeAttribute(n)}}}return e.innerHTML}function K(t){t=J(t);const e=document.implementation.createHTMLDocument("");return e.body.innerHTML=t,e.body.textContent||""}function Q(t){switch(t.nodeType){case t.TEXT_NODE:return/^[ \f\n\r\t\v\u00a0]*$/.test(t.nodeValue||"");case t.ELEMENT_NODE:return!t.hasAttributes()&&(!t.hasChildNodes()||Array.from(t.childNodes).every(Q));default:return!0}}const Z={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel","id"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},small:{},q:{attributes:["cite"]},dfn:{attributes:["title"]},data:{attributes:["value"]},time:{attributes:["datetime"]},var:{},samp:{},kbd:{},i:{},b:{},u:{},mark:{},ruby:{},rt:{},rp:{},bdi:{attributes:["dir"]},bdo:{attributes:["dir"]},wbr:{},"#text":{}};(0,a.without)(Object.keys(Z),"#text","br").forEach((t=>{Z[t].children=(0,a.omit)(Z,t)}));const tt={...Z,audio:{attributes:["src","preload","autoplay","mediagroup","loop","muted"]},canvas:{attributes:["width","height"]},embed:{attributes:["src","type","width","height"]},img:{attributes:["alt","src","srcset","usemap","ismap","width","height"]},object:{attributes:["data","type","name","usemap","form","width","height"]},video:{attributes:["src","poster","preload","autoplay","mediagroup","loop","muted","controls","width","height"]}};function et(t){return"paste"!==t?tt:(0,a.omit)({...tt,ins:{children:tt.ins.children},del:{children:tt.del.children}},["u","abbr","data","time","wbr","bdi","bdo"])}function nt(t){const e=t.nodeName.toLowerCase();return et().hasOwnProperty(e)||"span"===e}function rt(t){const e=t.nodeName.toLowerCase();return Z.hasOwnProperty(e)||"span"===e}function ot(t,e,n,r){Array.from(t).forEach((t=>{var o,i;const u=t.nodeName.toLowerCase();if(n.hasOwnProperty(u)&&(!n[u].isMatch||null!==(o=(i=n[u]).isMatch)&&void 0!==o&&o.call(i,t))){if(function(t){return!!t&&t.nodeType===t.ELEMENT_NODE}(t)){const{attributes:o=[],classes:i=[],children:c,require:s=[],allowEmpty:l}=n[u];if(c&&!l&&Q(t))return void X(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((e=>{let{name:n}=e;"class"===n||(0,a.includes)(o,n)||t.removeAttribute(n)})),t.classList&&t.classList.length)){const e=i.map((t=>"string"==typeof t?e=>e===t:t instanceof RegExp?e=>t.test(e):a.noop));Array.from(t.classList).forEach((n=>{e.some((t=>t(n)))||t.classList.remove(n)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===c)return;if(c)s.length&&!t.querySelector(s.join(","))?(ot(t.childNodes,e,n,r),G(t)):t.parentNode&&"BODY"===t.parentNode.nodeName&&nt(t)?(ot(t.childNodes,e,n,r),Array.from(t.childNodes).some((t=>!nt(t)))&&G(t)):ot(t.childNodes,e,c,r);else for(;t.firstChild;)X(t.firstChild)}}}else ot(t.childNodes,e,n,r),r&&!nt(t)&&t.nextElementSibling&&k(e.createElement("br"),t),G(t)}))}function it(t,e,n){const r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,ot(r.body.childNodes,r,e,n),r.body.innerHTML}function ut(t){const e=Array.from(t.files);return Array.from(t.items).forEach((t=>{const n=t.getAsFile();n&&!e.find((t=>{let{name:e,type:r,size:o}=t;return e===n.name&&r===n.type&&o===n.size}))&&e.push(n)})),e}const ct={focusable:n,tabbable:r};(window.wp=window.wp||{}).dom=e}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/edit-post.js b/wp-includes/js/dist/edit-post.js
index 85a1f4d60a..fac54a8e45 100644
--- a/wp-includes/js/dist/edit-post.js
+++ b/wp-includes/js/dist/edit-post.js
@@ -1,1116 +1,881 @@
-this["wp"] = this["wp"] || {}; this["wp"]["editPost"] =
-/******/ (function(modules) { // webpackBootstrap
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({
+
+/***/ 4403:
+/***/ (function(module, exports) {
+
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */
+
+(function () {
+	'use strict';
+
+	var hasOwn = {}.hasOwnProperty;
+
+	function classNames() {
+		var classes = [];
+
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;
+
+			var argType = typeof arg;
+
+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}
+
+		return classes.join(' ');
+	}
+
+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());
+
+
+/***/ })
+
+/******/ 	});
+/************************************************************************/
 /******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
+/******/ 	var __webpack_module_cache__ = {};
+/******/
 /******/ 	// The require function
 /******/ 	function __webpack_require__(moduleId) {
-/******/
 /******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
 /******/ 		}
 /******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
 /******/ 			exports: {}
 /******/ 		};
-/******/
+/******/
 /******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
 /******/ 		// Return the exports of the module
 /******/ 		return module.exports;
 /******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "dSQ2");
-/******/ })
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "0dt7":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
 "use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return STORE_NAME; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return VIEW_AS_LINK_SELECTOR; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return VIEW_AS_PREVIEW_LINK_SELECTOR; });
-/**
- * The identifier for the data store.
- *
- * @type {string}
- */
-const STORE_NAME = 'core/edit-post';
-/**
- * CSS selector string for the admin bar view post link anchor tag.
- *
- * @type {string}
- */
+// ESM COMPAT FLAG
+__webpack_require__.r(__webpack_exports__);

-const VIEW_AS_LINK_SELECTOR = '#wp-admin-bar-view a';
-/**
- * CSS selector string for the admin bar preview post link anchor tag.
- *
- * @type {string}
- */
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "PluginBlockSettingsMenuItem": function() { return /* reexport */ plugin_block_settings_menu_item; },
+  "PluginDocumentSettingPanel": function() { return /* reexport */ plugin_document_setting_panel; },
+  "PluginMoreMenuItem": function() { return /* reexport */ plugin_more_menu_item; },
+  "PluginPostPublishPanel": function() { return /* reexport */ plugin_post_publish_panel; },
+  "PluginPostStatusInfo": function() { return /* reexport */ plugin_post_status_info; },
+  "PluginPrePublishPanel": function() { return /* reexport */ plugin_pre_publish_panel; },
+  "PluginSidebar": function() { return /* reexport */ PluginSidebarEditPost; },
+  "PluginSidebarMoreMenuItem": function() { return /* reexport */ PluginSidebarMoreMenuItem; },
+  "__experimentalFullscreenModeClose": function() { return /* reexport */ fullscreen_mode_close; },
+  "__experimentalMainDashboardButton": function() { return /* reexport */ main_dashboard_button; },
+  "initializeEditor": function() { return /* binding */ initializeEditor; },
+  "reinitializeEditor": function() { return /* binding */ reinitializeEditor; },
+  "store": function() { return /* reexport */ store_store; }
+});

-const VIEW_AS_PREVIEW_LINK_SELECTOR = '#wp-admin-bar-preview a';
+// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/actions.js
+var actions_namespaceObject = {};
+__webpack_require__.r(actions_namespaceObject);
+__webpack_require__.d(actions_namespaceObject, {
+  "disableComplementaryArea": function() { return disableComplementaryArea; },
+  "enableComplementaryArea": function() { return enableComplementaryArea; },
+  "pinItem": function() { return pinItem; },
+  "setFeatureDefaults": function() { return setFeatureDefaults; },
+  "setFeatureValue": function() { return setFeatureValue; },
+  "toggleFeature": function() { return toggleFeature; },
+  "unpinItem": function() { return unpinItem; }
+});

+// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/selectors.js
+var selectors_namespaceObject = {};
+__webpack_require__.r(selectors_namespaceObject);
+__webpack_require__.d(selectors_namespaceObject, {
+  "getActiveComplementaryArea": function() { return getActiveComplementaryArea; },
+  "isFeatureActive": function() { return isFeatureActive; },
+  "isItemPinned": function() { return isItemPinned; }
+});

-/***/ }),
+// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
+var store_actions_namespaceObject = {};
+__webpack_require__.r(store_actions_namespaceObject);
+__webpack_require__.d(store_actions_namespaceObject, {
+  "__experimentalSetPreviewDeviceType": function() { return __experimentalSetPreviewDeviceType; },
+  "__experimentalUpdateLocalAutosaveInterval": function() { return __experimentalUpdateLocalAutosaveInterval; },
+  "__unstableCreateTemplate": function() { return __unstableCreateTemplate; },
+  "__unstableSwitchToTemplateMode": function() { return __unstableSwitchToTemplateMode; },
+  "closeGeneralSidebar": function() { return closeGeneralSidebar; },
+  "closeModal": function() { return closeModal; },
+  "closePublishSidebar": function() { return closePublishSidebar; },
+  "hideBlockTypes": function() { return hideBlockTypes; },
+  "initializeMetaBoxes": function() { return initializeMetaBoxes; },
+  "metaBoxUpdatesFailure": function() { return metaBoxUpdatesFailure; },
+  "metaBoxUpdatesSuccess": function() { return metaBoxUpdatesSuccess; },
+  "openGeneralSidebar": function() { return openGeneralSidebar; },
+  "openModal": function() { return openModal; },
+  "openPublishSidebar": function() { return openPublishSidebar; },
+  "removeEditorPanel": function() { return removeEditorPanel; },
+  "requestMetaBoxUpdates": function() { return requestMetaBoxUpdates; },
+  "setAvailableMetaBoxesPerLocation": function() { return setAvailableMetaBoxesPerLocation; },
+  "setIsEditingTemplate": function() { return setIsEditingTemplate; },
+  "setIsInserterOpened": function() { return setIsInserterOpened; },
+  "setIsListViewOpened": function() { return setIsListViewOpened; },
+  "showBlockTypes": function() { return showBlockTypes; },
+  "switchEditorMode": function() { return switchEditorMode; },
+  "toggleEditorPanelEnabled": function() { return toggleEditorPanelEnabled; },
+  "toggleEditorPanelOpened": function() { return toggleEditorPanelOpened; },
+  "toggleFeature": function() { return actions_toggleFeature; },
+  "togglePinnedPluginItem": function() { return togglePinnedPluginItem; },
+  "togglePublishSidebar": function() { return togglePublishSidebar; },
+  "updatePreferredStyleVariations": function() { return updatePreferredStyleVariations; }
+});

-/***/ "1ZqX":
-/***/ (function(module, exports) {
+// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js
+var store_selectors_namespaceObject = {};
+__webpack_require__.r(store_selectors_namespaceObject);
+__webpack_require__.d(store_selectors_namespaceObject, {
+  "__experimentalGetInsertionPoint": function() { return __experimentalGetInsertionPoint; },
+  "__experimentalGetPreviewDeviceType": function() { return __experimentalGetPreviewDeviceType; },
+  "areMetaBoxesInitialized": function() { return areMetaBoxesInitialized; },
+  "getActiveGeneralSidebarName": function() { return getActiveGeneralSidebarName; },
+  "getActiveMetaBoxLocations": function() { return getActiveMetaBoxLocations; },
+  "getAllMetaBoxes": function() { return getAllMetaBoxes; },
+  "getEditedPostTemplate": function() { return getEditedPostTemplate; },
+  "getEditorMode": function() { return getEditorMode; },
+  "getMetaBoxesPerLocation": function() { return getMetaBoxesPerLocation; },
+  "getPreference": function() { return getPreference; },
+  "getPreferences": function() { return getPreferences; },
+  "hasMetaBoxes": function() { return hasMetaBoxes; },
+  "isEditingTemplate": function() { return selectors_isEditingTemplate; },
+  "isEditorPanelEnabled": function() { return isEditorPanelEnabled; },
+  "isEditorPanelOpened": function() { return isEditorPanelOpened; },
+  "isEditorPanelRemoved": function() { return isEditorPanelRemoved; },
+  "isEditorSidebarOpened": function() { return isEditorSidebarOpened; },
+  "isFeatureActive": function() { return selectors_isFeatureActive; },
+  "isInserterOpened": function() { return isInserterOpened; },
+  "isListViewOpened": function() { return isListViewOpened; },
+  "isMetaBoxLocationActive": function() { return isMetaBoxLocationActive; },
+  "isMetaBoxLocationVisible": function() { return isMetaBoxLocationVisible; },
+  "isModalActive": function() { return isModalActive; },
+  "isPluginItemPinned": function() { return isPluginItemPinned; },
+  "isPluginSidebarOpened": function() { return isPluginSidebarOpened; },
+  "isPublishSidebarOpened": function() { return isPublishSidebarOpened; },
+  "isSavingMetaBoxes": function() { return selectors_isSavingMetaBoxes; }
+});

-(function() { module.exports = window["wp"]["data"]; }());
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","blockLibrary"]
+var external_wp_blockLibrary_namespaceObject = window["wp"]["blockLibrary"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-/***/ }),
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-/***/ "1iEr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    return target;
+  };

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  return _extends.apply(this, arguments);
+}
+// EXTERNAL MODULE: ./node_modules/classnames/index.js
+var classnames = __webpack_require__(4403);
+var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js


 /**
  * WordPress dependencies
  */

-const chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const check = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (chevronRight);
-
-
-/***/ }),
-
-/***/ "2gm7":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var library_check = (check);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js


 /**
  * WordPress dependencies
  */

-const chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const starFilled = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
-
-
-/***/ }),
-
-/***/ "51Zz":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["dataControls"]; }());
-
-/***/ }),
-
-/***/ "6aBm":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["mediaUtils"]; }());
-
-/***/ }),
-
-/***/ "8oxB":
-/***/ (function(module, exports) {
-
-// shim for using process in browser
-var process = module.exports = {};
-
-// cached from whatever global is present so that test runners that stub it
-// don't break things.  But we need to wrap it in a try catch in case it is
-// wrapped in strict mode code which doesn't define any globals.  It's inside a
-// function because try/catches deoptimize in certain engines.
-
-var cachedSetTimeout;
-var cachedClearTimeout;
-
-function defaultSetTimout() {
-    throw new Error('setTimeout has not been defined');
-}
-function defaultClearTimeout () {
-    throw new Error('clearTimeout has not been defined');
-}
-(function () {
-    try {
-        if (typeof setTimeout === 'function') {
-            cachedSetTimeout = setTimeout;
-        } else {
-            cachedSetTimeout = defaultSetTimout;
-        }
-    } catch (e) {
-        cachedSetTimeout = defaultSetTimout;
-    }
-    try {
-        if (typeof clearTimeout === 'function') {
-            cachedClearTimeout = clearTimeout;
-        } else {
-            cachedClearTimeout = defaultClearTimeout;
-        }
-    } catch (e) {
-        cachedClearTimeout = defaultClearTimeout;
-    }
-} ())
-function runTimeout(fun) {
-    if (cachedSetTimeout === setTimeout) {
-        //normal enviroments in sane situations
-        return setTimeout(fun, 0);
-    }
-    // if setTimeout wasn't available but was latter defined
-    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
-        cachedSetTimeout = setTimeout;
-        return setTimeout(fun, 0);
-    }
-    try {
-        // when when somebody has screwed with setTimeout but no I.E. maddness
-        return cachedSetTimeout(fun, 0);
-    } catch(e){
-        try {
-            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
-            return cachedSetTimeout.call(null, fun, 0);
-        } catch(e){
-            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
-            return cachedSetTimeout.call(this, fun, 0);
-        }
-    }
-
-
-}
-function runClearTimeout(marker) {
-    if (cachedClearTimeout === clearTimeout) {
-        //normal enviroments in sane situations
-        return clearTimeout(marker);
-    }
-    // if clearTimeout wasn't available but was latter defined
-    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
-        cachedClearTimeout = clearTimeout;
-        return clearTimeout(marker);
-    }
-    try {
-        // when when somebody has screwed with setTimeout but no I.E. maddness
-        return cachedClearTimeout(marker);
-    } catch (e){
-        try {
-            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
-            return cachedClearTimeout.call(null, marker);
-        } catch (e){
-            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
-            // Some versions of I.E. have different rules for clearTimeout vs setTimeout
-            return cachedClearTimeout.call(this, marker);
-        }
-    }
-
-
-
-}
-var queue = [];
-var draining = false;
-var currentQueue;
-var queueIndex = -1;
-
-function cleanUpNextTick() {
-    if (!draining || !currentQueue) {
-        return;
-    }
-    draining = false;
-    if (currentQueue.length) {
-        queue = currentQueue.concat(queue);
-    } else {
-        queueIndex = -1;
-    }
-    if (queue.length) {
-        drainQueue();
-    }
-}
-
-function drainQueue() {
-    if (draining) {
-        return;
-    }
-    var timeout = runTimeout(cleanUpNextTick);
-    draining = true;
-
-    var len = queue.length;
-    while(len) {
-        currentQueue = queue;
-        queue = [];
-        while (++queueIndex < len) {
-            if (currentQueue) {
-                currentQueue[queueIndex].run();
-            }
-        }
-        queueIndex = -1;
-        len = queue.length;
-    }
-    currentQueue = null;
-    draining = false;
-    runClearTimeout(timeout);
-}
-
-process.nextTick = function (fun) {
-    var args = new Array(arguments.length - 1);
-    if (arguments.length > 1) {
-        for (var i = 1; i < arguments.length; i++) {
-            args[i - 1] = arguments[i];
-        }
-    }
-    queue.push(new Item(fun, args));
-    if (queue.length === 1 && !draining) {
-        runTimeout(drainQueue);
-    }
-};
-
-// v8 likes predictible objects
-function Item(fun, array) {
-    this.fun = fun;
-    this.array = array;
-}
-Item.prototype.run = function () {
-    this.fun.apply(null, this.array);
-};
-process.title = 'browser';
-process.browser = true;
-process.env = {};
-process.argv = [];
-process.version = ''; // empty string to avoid regexp issues
-process.versions = {};
-
-function noop() {}
-
-process.on = noop;
-process.addListener = noop;
-process.once = noop;
-process.off = noop;
-process.removeListener = noop;
-process.removeAllListeners = noop;
-process.emit = noop;
-process.prependListener = noop;
-process.prependOnceListener = noop;
-
-process.listeners = function (name) { return [] }
-
-process.binding = function (name) {
-    throw new Error('process.binding is not supported');
-};
+/* harmony default export */ var star_filled = (starFilled);

-process.cwd = function () { return '/' };
-process.chdir = function (dir) {
-    throw new Error('process.chdir is not supported');
-};
-process.umask = function() { return 0; };
-
-
-/***/ }),
-
-/***/ "Cg8A":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js


 /**
  * WordPress dependencies
  */

-const cog = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const starEmpty = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   fillRule: "evenodd",
-  d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",
+  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"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (cog);
+/* harmony default export */ var star_empty = (starEmpty);

-
-/***/ }),
-
-/***/ "Civd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: external ["wp","viewport"]
+var external_wp_viewport_namespaceObject = window["wp"]["viewport"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js


 /**
  * WordPress dependencies
  */

-const layout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const closeSmall = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (layout);
-
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "HSyU":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blocks"]; }());
-
-/***/ }),
-
-/***/ "K+tz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
+/* harmony default export */ var close_small = (closeSmall);

+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/reducer.js
 /**
- * WordPress dependencies
+ * External dependencies
  */

-const external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (external);
-
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "KEfo":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["viewport"]; }());
-
-/***/ }),
-
-/***/ "Mmq9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["url"]; }());
-
-/***/ }),
-
-/***/ "NWDH":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
 /**
  * WordPress dependencies
  */

-const chevronDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronDown);
-
-
-/***/ }),
-
-/***/ "OzlF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-

 /**
- * WordPress dependencies
+ * Reducer to keep tract of the active area per scope.
+ *
+ * @param {boolean} state           Previous state.
+ * @param {Object}  action          Action object.
+ * @param {string}  action.type     Action type.
+ * @param {string}  action.itemType Type of item.
+ * @param {string}  action.scope    Item scope.
+ * @param {string}  action.item     Item name.
+ *
+ * @return {Object} Updated state.
  */

-const listView = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (listView);
-
-
-/***/ }),
-
-/***/ "Q4Sy":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+function singleEnableItems() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let {
+    type,
+    itemType,
+    scope,
+    item
+  } = arguments.length > 1 ? arguments[1] : undefined;

+  if (type !== 'SET_SINGLE_ENABLE_ITEM' || !itemType || !scope) {
+    return state;
+  }

+  return { ...state,
+    [itemType]: { ...state[itemType],
+      [scope]: item || null
+    }
+  };
+}
 /**
- * WordPress dependencies
+ * Reducer keeping track of the "pinned" items per scope.
+ *
+ * @param {boolean} state           Previous state.
+ * @param {Object}  action          Action object.
+ * @param {string}  action.type     Action type.
+ * @param {string}  action.itemType Type of item.
+ * @param {string}  action.scope    Item scope.
+ * @param {string}  action.item     Item name.
+ * @param {boolean} action.isEnable Whether the item is pinned.
+ *
+ * @return {Object} Updated state.
  */

-const plus = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (plus);
-
-
-/***/ }),
-
-/***/ "QyPg":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blockLibrary"]; }());
-
-/***/ }),
-
-/***/ "RMJe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+function multipleEnableItems() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let {
+    type,
+    itemType,
+    scope,
+    item,
+    isEnable
+  } = arguments.length > 1 ? arguments[1] : undefined;

+  if (type !== 'SET_MULTIPLE_ENABLE_ITEM' || !itemType || !scope || !item || (0,external_lodash_namespaceObject.get)(state, [itemType, scope, item]) === isEnable) {
+    return state;
+  }

+  const currentTypeState = state[itemType] || {};
+  const currentScopeState = currentTypeState[scope] || {};
+  return { ...state,
+    [itemType]: { ...currentTypeState,
+      [scope]: { ...currentScopeState,
+        [item]: isEnable || false
+      }
+    }
+  };
+}
 /**
- * WordPress dependencies
+ * Reducer returning the defaults for user preferences.
+ *
+ * This is kept intentionally separate from the preferences
+ * themselves so that defaults are not persisted.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */

-const check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (check);
-
-
-/***/ }),
-
-/***/ "RxS6":
-/***/ (function(module, exports) {
+const preferenceDefaults = (0,external_wp_data_namespaceObject.combineReducers)({
+  features() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;

-(function() { module.exports = window["wp"]["keycodes"]; }());
+    if (action.type === 'SET_FEATURE_DEFAULTS') {
+      const {
+        scope,
+        defaults
+      } = action;
+      return { ...state,
+        [scope]: { ...state[scope],
+          ...defaults
+        }
+      };
+    }

-/***/ }),
+    return state;
+  }

-/***/ "T40v":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+});
+/**
+ * Reducer returning the user preferences.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
+ */

-"use strict";
+const preferences = (0,external_wp_data_namespaceObject.combineReducers)({
+  features() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ store; });
+    if (action.type === 'SET_FEATURE_VALUE') {
+      const {
+        scope,
+        featureName,
+        value
+      } = action;
+      return { ...state,
+        [scope]: { ...state[scope],
+          [featureName]: value
+        }
+      };
+    }

-// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
-var actions_namespaceObject = {};
-__webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "openGeneralSidebar", function() { return openGeneralSidebar; });
-__webpack_require__.d(actions_namespaceObject, "closeGeneralSidebar", function() { return closeGeneralSidebar; });
-__webpack_require__.d(actions_namespaceObject, "openModal", function() { return openModal; });
-__webpack_require__.d(actions_namespaceObject, "closeModal", function() { return closeModal; });
-__webpack_require__.d(actions_namespaceObject, "openPublishSidebar", function() { return openPublishSidebar; });
-__webpack_require__.d(actions_namespaceObject, "closePublishSidebar", function() { return closePublishSidebar; });
-__webpack_require__.d(actions_namespaceObject, "togglePublishSidebar", function() { return togglePublishSidebar; });
-__webpack_require__.d(actions_namespaceObject, "toggleEditorPanelEnabled", function() { return toggleEditorPanelEnabled; });
-__webpack_require__.d(actions_namespaceObject, "toggleEditorPanelOpened", function() { return toggleEditorPanelOpened; });
-__webpack_require__.d(actions_namespaceObject, "removeEditorPanel", function() { return removeEditorPanel; });
-__webpack_require__.d(actions_namespaceObject, "toggleFeature", function() { return toggleFeature; });
-__webpack_require__.d(actions_namespaceObject, "switchEditorMode", function() { return switchEditorMode; });
-__webpack_require__.d(actions_namespaceObject, "togglePinnedPluginItem", function() { return togglePinnedPluginItem; });
-__webpack_require__.d(actions_namespaceObject, "hideBlockTypes", function() { return hideBlockTypes; });
-__webpack_require__.d(actions_namespaceObject, "updatePreferredStyleVariations", function() { return updatePreferredStyleVariations; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalUpdateLocalAutosaveInterval", function() { return __experimentalUpdateLocalAutosaveInterval; });
-__webpack_require__.d(actions_namespaceObject, "showBlockTypes", function() { return showBlockTypes; });
-__webpack_require__.d(actions_namespaceObject, "setAvailableMetaBoxesPerLocation", function() { return setAvailableMetaBoxesPerLocation; });
-__webpack_require__.d(actions_namespaceObject, "requestMetaBoxUpdates", function() { return requestMetaBoxUpdates; });
-__webpack_require__.d(actions_namespaceObject, "metaBoxUpdatesSuccess", function() { return metaBoxUpdatesSuccess; });
-__webpack_require__.d(actions_namespaceObject, "metaBoxUpdatesFailure", function() { return metaBoxUpdatesFailure; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalSetPreviewDeviceType", function() { return __experimentalSetPreviewDeviceType; });
-__webpack_require__.d(actions_namespaceObject, "setIsInserterOpened", function() { return setIsInserterOpened; });
-__webpack_require__.d(actions_namespaceObject, "setIsListViewOpened", function() { return setIsListViewOpened; });
-__webpack_require__.d(actions_namespaceObject, "setIsEditingTemplate", function() { return setIsEditingTemplate; });
-__webpack_require__.d(actions_namespaceObject, "__unstableSwitchToTemplateMode", function() { return __unstableSwitchToTemplateMode; });
-__webpack_require__.d(actions_namespaceObject, "__unstableCreateTemplate", function() { return __unstableCreateTemplate; });
-__webpack_require__.d(actions_namespaceObject, "initializeMetaBoxes", function() { return initializeMetaBoxes; });
+    return state;
+  }

-// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getEditorMode", function() { return getEditorMode; });
-__webpack_require__.d(selectors_namespaceObject, "isEditorSidebarOpened", function() { return isEditorSidebarOpened; });
-__webpack_require__.d(selectors_namespaceObject, "isPluginSidebarOpened", function() { return isPluginSidebarOpened; });
-__webpack_require__.d(selectors_namespaceObject, "getActiveGeneralSidebarName", function() { return getActiveGeneralSidebarName; });
-__webpack_require__.d(selectors_namespaceObject, "getPreferences", function() { return getPreferences; });
-__webpack_require__.d(selectors_namespaceObject, "getPreference", function() { return getPreference; });
-__webpack_require__.d(selectors_namespaceObject, "isPublishSidebarOpened", function() { return isPublishSidebarOpened; });
-__webpack_require__.d(selectors_namespaceObject, "isEditorPanelRemoved", function() { return isEditorPanelRemoved; });
-__webpack_require__.d(selectors_namespaceObject, "isEditorPanelEnabled", function() { return isEditorPanelEnabled; });
-__webpack_require__.d(selectors_namespaceObject, "isEditorPanelOpened", function() { return isEditorPanelOpened; });
-__webpack_require__.d(selectors_namespaceObject, "isModalActive", function() { return isModalActive; });
-__webpack_require__.d(selectors_namespaceObject, "isFeatureActive", function() { return isFeatureActive; });
-__webpack_require__.d(selectors_namespaceObject, "isPluginItemPinned", function() { return isPluginItemPinned; });
-__webpack_require__.d(selectors_namespaceObject, "getActiveMetaBoxLocations", function() { return getActiveMetaBoxLocations; });
-__webpack_require__.d(selectors_namespaceObject, "isMetaBoxLocationVisible", function() { return isMetaBoxLocationVisible; });
-__webpack_require__.d(selectors_namespaceObject, "isMetaBoxLocationActive", function() { return isMetaBoxLocationActive; });
-__webpack_require__.d(selectors_namespaceObject, "getMetaBoxesPerLocation", function() { return getMetaBoxesPerLocation; });
-__webpack_require__.d(selectors_namespaceObject, "getAllMetaBoxes", function() { return getAllMetaBoxes; });
-__webpack_require__.d(selectors_namespaceObject, "hasMetaBoxes", function() { return selectors_hasMetaBoxes; });
-__webpack_require__.d(selectors_namespaceObject, "isSavingMetaBoxes", function() { return selectors_isSavingMetaBoxes; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetPreviewDeviceType", function() { return __experimentalGetPreviewDeviceType; });
-__webpack_require__.d(selectors_namespaceObject, "isInserterOpened", function() { return isInserterOpened; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetInsertionPoint", function() { return __experimentalGetInsertionPoint; });
-__webpack_require__.d(selectors_namespaceObject, "isListViewOpened", function() { return isListViewOpened; });
-__webpack_require__.d(selectors_namespaceObject, "isEditingTemplate", function() { return selectors_isEditingTemplate; });
-__webpack_require__.d(selectors_namespaceObject, "areMetaBoxesInitialized", function() { return areMetaBoxesInitialized; });
-__webpack_require__.d(selectors_namespaceObject, "getEditedPostTemplate", function() { return getEditedPostTemplate; });
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external ["wp","dataControls"]
-var external_wp_dataControls_ = __webpack_require__("51Zz");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/defaults.js
-const PREFERENCES_DEFAULTS = {
-  editorMode: 'visual',
-  panels: {
-    'post-status': {
-      opened: true
-    }
-  },
-  hiddenBlockTypes: [],
-  preferredStyleVariations: {},
-  localAutosaveInterval: 15
-};
+});
+const enableItems = (0,external_wp_data_namespaceObject.combineReducers)({
+  singleEnableItems,
+  multipleEnableItems
+});
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  enableItems,
+  preferenceDefaults,
+  preferences
+}));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/reducer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/actions.js
 /**
- * External dependencies
+ * Returns an action object used in signalling that an active area should be changed.
+ *
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Item scope.
+ * @param {string} item     Item identifier.
+ *
+ * @return {Object} Action object.
  */
-
+function setSingleEnableItem(itemType, scope, item) {
+  return {
+    type: 'SET_SINGLE_ENABLE_ITEM',
+    itemType,
+    scope,
+    item
+  };
+}
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that a complementary item should be enabled.
+ *
+ * @param {string} scope Complementary area scope.
+ * @param {string} area  Area identifier.
+ *
+ * @return {Object} Action object.
  */


+function enableComplementaryArea(scope, area) {
+  return setSingleEnableItem('complementaryArea', scope, area);
+}
 /**
- * Internal dependencies
+ * Returns an action object used in signalling that the complementary area of a given scope should be disabled.
+ *
+ * @param {string} scope Complementary area scope.
+ *
+ * @return {Object} Action object.
  */

-
+function disableComplementaryArea(scope) {
+  return setSingleEnableItem('complementaryArea', scope, undefined);
+}
 /**
- * Higher-order reducer creator which provides the given initial state for the
- * original reducer.
+ * Returns an action object to make an area enabled/disabled.
  *
- * @param {*} initialState Initial state to provide to reducer.
+ * @param {string}  itemType Type of item.
+ * @param {string}  scope    Item scope.
+ * @param {string}  item     Item identifier.
+ * @param {boolean} isEnable Boolean indicating if an area should be pinned or not.
  *
- * @return {Function} Higher-order reducer.
+ * @return {Object} Action object.
  */

-const createWithInitialState = initialState => reducer => {
-  return function () {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;
-    let action = arguments.length > 1 ? arguments[1] : undefined;
-    return reducer(state, action);
+function setMultipleEnableItem(itemType, scope, item, isEnable) {
+  return {
+    type: 'SET_MULTIPLE_ENABLE_ITEM',
+    itemType,
+    scope,
+    item,
+    isEnable
   };
-};
+}
 /**
- * Reducer returning the user preferences.
+ * Returns an action object used in signalling that an item should be pinned.
  *
- * @param {Object}  state                           Current state.
- * @param {string}  state.mode                      Current editor mode, either
- *                                                  "visual" or "text".
- * @param {boolean} state.isGeneralSidebarDismissed Whether general sidebar is
- *                                                  dismissed. False by default
- *                                                  or when closing general
- *                                                  sidebar, true when opening
- *                                                  sidebar.
- * @param {boolean} state.isSidebarOpened           Whether the sidebar is
- *                                                  opened or closed.
- * @param {Object}  state.panels                    The state of the different
- *                                                  sidebar panels.
- * @param {Object}  action                          Dispatched action.
+ * @param {string} scope  Item scope.
+ * @param {string} itemId Item identifier.
  *
- * @return {Object} Updated state.
+ * @return {Object} Action object.
  */


-const preferences = Object(external_lodash_["flow"])([external_wp_data_["combineReducers"], createWithInitialState(PREFERENCES_DEFAULTS)])({
-  panels(state, action) {
-    switch (action.type) {
-      case 'TOGGLE_PANEL_ENABLED':
-        {
-          const {
-            panelName
-          } = action;
-          return { ...state,
-            [panelName]: { ...state[panelName],
-              enabled: !Object(external_lodash_["get"])(state, [panelName, 'enabled'], true)
-            }
-          };
-        }
-
-      case 'TOGGLE_PANEL_OPENED':
-        {
-          const {
-            panelName
-          } = action;
-          const isOpen = state[panelName] === true || Object(external_lodash_["get"])(state, [panelName, 'opened'], false);
-          return { ...state,
-            [panelName]: { ...state[panelName],
-              opened: !isOpen
-            }
-          };
-        }
-    }
-
-    return state;
-  },
-
-  editorMode(state, action) {
-    if (action.type === 'SWITCH_MODE') {
-      return action.mode;
-    }
-
-    return state;
-  },
-
-  hiddenBlockTypes(state, action) {
-    switch (action.type) {
-      case 'SHOW_BLOCK_TYPES':
-        return Object(external_lodash_["without"])(state, ...action.blockNames);
-
-      case 'HIDE_BLOCK_TYPES':
-        return Object(external_lodash_["union"])(state, action.blockNames);
-    }
-
-    return state;
-  },
-
-  preferredStyleVariations(state, action) {
-    switch (action.type) {
-      case 'UPDATE_PREFERRED_STYLE_VARIATIONS':
-        {
-          if (!action.blockName) {
-            return state;
-          }
-
-          if (!action.blockStyle) {
-            return Object(external_lodash_["omit"])(state, [action.blockName]);
-          }
-
-          return { ...state,
-            [action.blockName]: action.blockStyle
-          };
-        }
-    }
-
-    return state;
-  },
-
-  localAutosaveInterval(state, action) {
-    switch (action.type) {
-      case 'UPDATE_LOCAL_AUTOSAVE_INTERVAL':
-        return action.interval;
-    }
-
-    return state;
-  }
-
-});
+function pinItem(scope, itemId) {
+  return setMultipleEnableItem('pinnedItems', scope, itemId, true);
+}
 /**
- * Reducer storing the list of all programmatically removed panels.
+ * Returns an action object used in signalling that an item should be unpinned.
  *
- * @param {Array}  state  Current state.
- * @param {Object} action Action object.
+ * @param {string} scope  Item scope.
+ * @param {string} itemId Item identifier.
  *
- * @return {Array} Updated state.
+ * @return {Object} Action object.
  */

-function removedPanels() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  let action = arguments.length > 1 ? arguments[1] : undefined;
-
-  switch (action.type) {
-    case 'REMOVE_PANEL':
-      if (!Object(external_lodash_["includes"])(state, action.panelName)) {
-        return [...state, action.panelName];
-      }
-
-  }
+function unpinItem(scope, itemId) {
+  return setMultipleEnableItem('pinnedItems', scope, itemId, false);
+}
+/**
+ * Returns an action object used in signalling that a feature should be toggled.
+ *
+ * @param {string} scope       The feature scope (e.g. core/edit-post).
+ * @param {string} featureName The feature name.
+ */

-  return state;
+function toggleFeature(scope, featureName) {
+  return function (_ref) {
+    let {
+      select,
+      dispatch
+    } = _ref;
+    const currentValue = select.isFeatureActive(scope, featureName);
+    dispatch.setFeatureValue(scope, featureName, !currentValue);
+  };
 }
 /**
- * Reducer for storing the name of the open modal, or null if no modal is open.
+ * Returns an action object used in signalling that a feature should be set to
+ * a true or false value
  *
- * @param {Object} state  Previous state.
- * @param {Object} action Action object containing the `name` of the modal
+ * @param {string}  scope       The feature scope (e.g. core/edit-post).
+ * @param {string}  featureName The feature name.
+ * @param {boolean} value       The value to set.
  *
- * @return {Object} Updated state
+ * @return {Object} Action object.
  */

-function activeModal() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
-
-  switch (action.type) {
-    case 'OPEN_MODAL':
-      return action.name;
-
-    case 'CLOSE_MODAL':
-      return null;
-  }
-
-  return state;
+function setFeatureValue(scope, featureName, value) {
+  return {
+    type: 'SET_FEATURE_VALUE',
+    scope,
+    featureName,
+    value: !!value
+  };
 }
-function publishSidebarActive() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+/**
+ * Returns an action object used in signalling that defaults should be set for features.
+ *
+ * @param {string}                  scope    The feature scope (e.g. core/edit-post).
+ * @param {Object<string, boolean>} defaults A key/value map of feature names to values.
+ *
+ * @return {Object} Action object.
+ */

-  switch (action.type) {
-    case 'OPEN_PUBLISH_SIDEBAR':
-      return true;
+function setFeatureDefaults(scope, defaults) {
+  return {
+    type: 'SET_FEATURE_DEFAULTS',
+    scope,
+    defaults
+  };
+}

-    case 'CLOSE_PUBLISH_SIDEBAR':
-      return false;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/selectors.js
+/**
+ * External dependencies
+ */

-    case 'TOGGLE_PUBLISH_SIDEBAR':
-      return !state;
-  }
+/**
+ * Returns the item that is enabled in a given scope.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Item scope.
+ *
+ * @return {?string|null} The item that is enabled in the passed scope and type.
+ */

-  return state;
+function getSingleEnableItem(state, itemType, scope) {
+  return (0,external_lodash_namespaceObject.get)(state.enableItems.singleEnableItems, [itemType, scope]);
 }
 /**
- * Reducer keeping track of the meta boxes isSaving state.
- * A "true" value means the meta boxes saving request is in-flight.
- *
+ * Returns the complementary area that is active in a given scope.
  *
- * @param {boolean} state  Previous state.
- * @param {Object}  action Action Object.
+ * @param {Object} state Global application state.
+ * @param {string} scope Item scope.
  *
- * @return {Object} Updated state.
+ * @return {string} The complementary area that is active in the given scope.
  */

-function isSavingMetaBoxes() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
-
-  switch (action.type) {
-    case 'REQUEST_META_BOX_UPDATES':
-      return true;
-
-    case 'META_BOX_UPDATES_SUCCESS':
-    case 'META_BOX_UPDATES_FAILURE':
-      return false;

-    default:
-      return state;
-  }
+function getActiveComplementaryArea(state, scope) {
+  return getSingleEnableItem(state, 'complementaryArea', scope);
 }
 /**
- * Reducer keeping track of the meta boxes per location.
+ * Returns a boolean indicating if an item is enabled or not in a given scope.
  *
- * @param {boolean} state  Previous state.
- * @param {Object}  action Action Object.
+ * @param {Object} state    Global application state.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Scope.
+ * @param {string} item     Item to check.
  *
- * @return {Object} Updated state.
+ * @return {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
  */

-function metaBoxLocations() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
-
-  switch (action.type) {
-    case 'SET_META_BOXES_PER_LOCATIONS':
-      return action.metaBoxesPerLocation;
-  }
-
-  return state;
+function isMultipleEnabledItemEnabled(state, itemType, scope, item) {
+  return (0,external_lodash_namespaceObject.get)(state.enableItems.multipleEnableItems, [itemType, scope, item]);
 }
 /**
- * Reducer returning the editing canvas device type.
+ * Returns a boolean indicating if an item is pinned or not.
  *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
+ * @param {Object} state Global application state.
+ * @param {string} scope Scope.
+ * @param {string} item  Item to check.
  *
- * @return {Object} Updated state.
+ * @return {boolean} True if the item is pinned and false otherwise.
  */

-function deviceType() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Desktop';
-  let action = arguments.length > 1 ? arguments[1] : undefined;
-
-  switch (action.type) {
-    case 'SET_PREVIEW_DEVICE_TYPE':
-      return action.deviceType;
-  }

-  return state;
+function isItemPinned(state, scope, item) {
+  return isMultipleEnabledItemEnabled(state, 'pinnedItems', scope, item) !== false;
 }
 /**
- * Reducer to set the block inserter panel open or closed.
+ * Returns a boolean indicating whether a feature is active for a particular
+ * scope.
  *
- * Note: this reducer interacts with the list view panel reducer
- * to make sure that only one of the two panels is open at the same time.
+ * @param {Object} state       The store state.
+ * @param {string} scope       The scope of the feature (e.g. core/edit-post).
+ * @param {string} featureName The name of the feature.
  *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
+ * @return {boolean} Is the feature enabled?
  */

-function blockInserterPanel() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+function isFeatureActive(state, scope, featureName) {
+  var _state$preferences$fe, _state$preferenceDefa;

-  switch (action.type) {
-    case 'SET_IS_LIST_VIEW_OPENED':
-      return action.isOpen ? false : state;
+  const featureValue = (_state$preferences$fe = state.preferences.features[scope]) === null || _state$preferences$fe === void 0 ? void 0 : _state$preferences$fe[featureName];
+  const defaultedFeatureValue = featureValue !== undefined ? featureValue : (_state$preferenceDefa = state.preferenceDefaults.features[scope]) === null || _state$preferenceDefa === void 0 ? void 0 : _state$preferenceDefa[featureName];
+  return !!defaultedFeatureValue;
+}

-    case 'SET_IS_INSERTER_OPENED':
-      return action.value;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/constants.js
+/**
+ * The identifier for the data store.
+ *
+ * @type {string}
+ */
+const STORE_NAME = 'core/interface';

-  return state;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/index.js
 /**
- * Reducer to set the list view panel open or closed.
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+/**
+ * Store definition for the interface namespace.
  *
- * Note: this reducer interacts with the inserter panel reducer
- * to make sure that only one of the two panels is open at the same time.
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
  *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
+ * @type {Object}
  */

-function listViewPanel() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
+  reducer: reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['enableItems', 'preferences'],
+  __experimentalUseThunks: true
+}); // Once we build a more generic persistence plugin that works across types of stores
+// we'd be able to replace this with a register call.
+
+(0,external_wp_data_namespaceObject.registerStore)(STORE_NAME, {
+  reducer: reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['enableItems', 'preferences'],
+  __experimentalUseThunks: true
+});
+
+;// CONCATENATED MODULE: external ["wp","plugins"]
+var external_wp_plugins_namespaceObject = window["wp"]["plugins"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-context/index.js
+/**
+ * WordPress dependencies
+ */
+
+/* harmony default export */ var complementary_area_context = ((0,external_wp_plugins_namespaceObject.withPluginContext)((context, ownProps) => {
+  return {
+    icon: ownProps.icon || context.icon,
+    identifier: ownProps.identifier || `${context.name}/${ownProps.name}`
+  };
+}));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-toggle/index.js

-  switch (action.type) {
-    case 'SET_IS_INSERTER_OPENED':
-      return action.value ? false : state;

-    case 'SET_IS_LIST_VIEW_OPENED':
-      return action.isOpen;
-  }

-  return state;
-}
 /**
- * Reducer tracking whether the inserter is open.
- *
- * @param {boolean} state
- * @param {Object}  action
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
  */

-function isEditingTemplate() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;

-  switch (action.type) {
-    case 'SET_IS_EDITING_TEMPLATE':
-      return action.value;
-  }

-  return state;
-}
 /**
- * Reducer tracking whether meta boxes are initialized.
- *
- * @param {boolean} state
- * @param {Object}  action
- *
- * @return {boolean} Updated state.
+ * Internal dependencies
  */


-function metaBoxesInitialized() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;

-  switch (action.type) {
-    case 'META_BOXES_INITIALIZED':
-      return true;
-  }

-  return state;
+function ComplementaryAreaToggle(_ref) {
+  let {
+    as = external_wp_components_namespaceObject.Button,
+    scope,
+    identifier,
+    icon,
+    selectedIcon,
+    ...props
+  } = _ref;
+  const ComponentToUse = as;
+  const isSelected = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getActiveComplementaryArea(scope) === identifier, [identifier]);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_element_namespaceObject.createElement)(ComponentToUse, _extends({
+    icon: selectedIcon && isSelected ? selectedIcon : icon,
+    onClick: () => {
+      if (isSelected) {
+        disableComplementaryArea(scope);
+      } else {
+        enableComplementaryArea(scope, identifier);
+      }
+    }
+  }, (0,external_lodash_namespaceObject.omit)(props, ['name'])));
 }

-const metaBoxes = Object(external_wp_data_["combineReducers"])({
-  isSaving: isSavingMetaBoxes,
-  locations: metaBoxLocations,
-  initialized: metaBoxesInitialized
-});
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  activeModal,
-  metaBoxes,
-  preferences,
-  publishSidebarActive,
-  removedPanels,
-  deviceType,
-  blockInserterPanel,
-  listViewPanel,
-  isEditingTemplate
-}));
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+/* harmony default export */ var complementary_area_toggle = (complementary_area_context(ComplementaryAreaToggle));

-// EXTERNAL MODULE: ./node_modules/@wordpress/interface/build-module/index.js + 17 modules
-var build_module = __webpack_require__("U60i");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-header/index.js

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");

-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");

-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","editor"]
-var external_wp_editor_ = __webpack_require__("jSdM");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/utils/meta-boxes.js
 /**
- * Function returning the current Meta Boxes DOM Node in the editor
- * whether the meta box area is opened or not.
- * If the MetaBox Area is visible returns it, and returns the original container instead.
- *
- * @param {string} location Meta Box location.
- *
- * @return {string} HTML content.
+ * Internal dependencies
  */
-const getMetaBoxContainer = location => {
-  const area = document.querySelector(`.edit-post-meta-boxes-area.is-${location} .metabox-location-${location}`);

-  if (area) {
-    return area;
-  }

-  return document.querySelector('#metaboxes .metabox-location-' + location);
+
+const ComplementaryAreaHeader = _ref => {
+  let {
+    smallScreenTitle,
+    children,
+    className,
+    toggleButtonProps
+  } = _ref;
+  const toggleButton = (0,external_wp_element_namespaceObject.createElement)(complementary_area_toggle, _extends({
+    icon: close_small
+  }, toggleButtonProps));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-panel__header interface-complementary-area-header__small"
+  }, smallScreenTitle && (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "interface-complementary-area-header__small-title"
+  }, smallScreenTitle), toggleButton), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('components-panel__header', 'interface-complementary-area-header', className),
+    tabIndex: -1
+  }, children, toggleButton));
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
+/* harmony default export */ var complementary_area_header = (ComplementaryAreaHeader);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/action-item/index.js
+
+
+
 /**
  * External dependencies
  */
@@ -1122,1025 +887,867 @@ const getMetaBoxContainer = location => {



+function ActionItemSlot(_ref) {
+  let {
+    name,
+    as: Component = external_wp_components_namespaceObject.ButtonGroup,
+    fillProps = {},
+    bubblesVirtually,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, {
+    name: name,
+    bubblesVirtually: bubblesVirtually,
+    fillProps: fillProps
+  }, fills => {
+    if ((0,external_lodash_namespaceObject.isEmpty)(external_wp_element_namespaceObject.Children.toArray(fills))) {
+      return null;
+    } // Special handling exists for backward compatibility.
+    // It ensures that menu items created by plugin authors aren't
+    // duplicated with automatically injected menu items coming
+    // from pinnable plugin sidebars.
+    // @see https://github.com/WordPress/gutenberg/issues/14457
+

+    const initializedByPlugins = [];
+    external_wp_element_namespaceObject.Children.forEach(fills, _ref2 => {
+      let {
+        props: {
+          __unstableExplicitMenuItem,
+          __unstableTarget
+        }
+      } = _ref2;

+      if (__unstableTarget && __unstableExplicitMenuItem) {
+        initializedByPlugins.push(__unstableTarget);
+      }
+    });
+    const children = external_wp_element_namespaceObject.Children.map(fills, child => {
+      if (!child.props.__unstableExplicitMenuItem && initializedByPlugins.includes(child.props.__unstableTarget)) {
+        return null;
+      }

+      return child;
+    });
+    return (0,external_wp_element_namespaceObject.createElement)(Component, props, children);
+  });
+}

+function ActionItem(_ref3) {
+  let {
+    name,
+    as: Component = external_wp_components_namespaceObject.Button,
+    onClick,
+    ...props
+  } = _ref3;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, {
+    name: name
+  }, _ref4 => {
+    let {
+      onClick: fpOnClick
+    } = _ref4;
+    return (0,external_wp_element_namespaceObject.createElement)(Component, _extends({
+      onClick: onClick || fpOnClick ? function () {
+        (onClick || external_lodash_namespaceObject.noop)(...arguments);
+        (fpOnClick || external_lodash_namespaceObject.noop)(...arguments);
+      } : undefined
+    }, props));
+  });
+}

+ActionItem.Slot = ActionItemSlot;
+/* harmony default export */ var action_item = (ActionItem);

-/**
- * Internal dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-more-menu-item/index.js



 /**
- * Returns an action object used in signalling that the user opened an editor sidebar.
- *
- * @param {?string} name Sidebar name to be opened.
- *
- * @yield {Object} Action object.
+ * External dependencies
  */

-function* openGeneralSidebar(name) {
-  yield external_wp_data_["controls"].dispatch(build_module["i" /* store */], 'enableComplementaryArea', store.name, name);
-}
 /**
- * Returns an action object signalling that the user closed the sidebar.
- *
- * @yield {Object} Action object.
+ * WordPress dependencies
  */

-function* closeGeneralSidebar() {
-  yield external_wp_data_["controls"].dispatch(build_module["i" /* store */], 'disableComplementaryArea', store.name);
-}
+
+
 /**
- * Returns an action object used in signalling that the user opened a modal.
- *
- * @param {string} name A string that uniquely identifies the modal.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */

-function openModal(name) {
-  return {
-    type: 'OPEN_MODAL',
-    name
-  };
-}
-/**
- * Returns an action object signalling that the user closed a modal.
- *
- * @return {Object} Action object.
- */

-function closeModal() {
-  return {
-    type: 'CLOSE_MODAL'
-  };
-}
-/**
- * Returns an action object used in signalling that the user opened the publish
- * sidebar.
- *
- * @return {Object} Action object
- */

-function openPublishSidebar() {
-  return {
-    type: 'OPEN_PUBLISH_SIDEBAR'
-  };
-}
-/**
- * Returns an action object used in signalling that the user closed the
- * publish sidebar.
- *
- * @return {Object} Action object.
- */

-function closePublishSidebar() {
-  return {
-    type: 'CLOSE_PUBLISH_SIDEBAR'
-  };
-}
-/**
- * Returns an action object used in signalling that the user toggles the publish sidebar.
- *
- * @return {Object} Action object
- */
+const PluginsMenuItem = props => // Menu item is marked with unstable prop for backward compatibility.
+// They are removed so they don't leak to DOM elements.
+// @see https://github.com/WordPress/gutenberg/issues/14457
+(0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, (0,external_lodash_namespaceObject.omit)(props, ['__unstableExplicitMenuItem', '__unstableTarget']));

-function togglePublishSidebar() {
-  return {
-    type: 'TOGGLE_PUBLISH_SIDEBAR'
-  };
+function ComplementaryAreaMoreMenuItem(_ref) {
+  let {
+    scope,
+    target,
+    __unstableExplicitMenuItem,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(complementary_area_toggle, _extends({
+    as: toggleProps => {
+      return (0,external_wp_element_namespaceObject.createElement)(action_item, _extends({
+        __unstableExplicitMenuItem: __unstableExplicitMenuItem,
+        __unstableTarget: `${scope}/${target}`,
+        as: PluginsMenuItem,
+        name: `${scope}/plugin-more-menu`
+      }, toggleProps));
+    },
+    role: "menuitemcheckbox",
+    selectedIcon: library_check,
+    name: target,
+    scope: scope
+  }, props));
 }
-/**
- * Returns an action object used to enable or disable a panel in the editor.
- *
- * @param {string} panelName A string that identifies the panel to enable or disable.
- *
- * @return {Object} Action object.
- */

-function toggleEditorPanelEnabled(panelName) {
-  return {
-    type: 'TOGGLE_PANEL_ENABLED',
-    panelName
-  };
-}
-/**
- * Returns an action object used to open or close a panel in the editor.
- *
- * @param {string} panelName A string that identifies the panel to open or close.
- *
- * @return {Object} Action object.
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/pinned-items/index.js
+
+

-function toggleEditorPanelOpened(panelName) {
-  return {
-    type: 'TOGGLE_PANEL_OPENED',
-    panelName
-  };
-}
 /**
- * Returns an action object used to remove a panel from the editor.
- *
- * @param {string} panelName A string that identifies the panel to remove.
- *
- * @return {Object} Action object.
+ * External dependencies
  */

-function removeEditorPanel(panelName) {
-  return {
-    type: 'REMOVE_PANEL',
-    panelName
-  };
-}
+
 /**
- * Triggers an action used to toggle a feature flag.
- *
- * @param {string} feature Feature name.
+ * WordPress dependencies
  */

-function* toggleFeature(feature) {
-  yield external_wp_data_["controls"].dispatch(build_module["i" /* store */].name, 'toggleFeature', 'core/edit-post', feature);
-}
-function* switchEditorMode(mode) {
-  yield {
-    type: 'SWITCH_MODE',
-    mode
-  }; // Unselect blocks when we switch to the code editor.

-  if (mode !== 'visual') {
-    yield external_wp_data_["controls"].dispatch(external_wp_blockEditor_["store"], 'clearSelectedBlock');
-  }

-  const message = mode === 'visual' ? Object(external_wp_i18n_["__"])('Visual editor selected') : Object(external_wp_i18n_["__"])('Code editor selected');
-  Object(external_wp_a11y_["speak"])(message, 'assertive');
+function PinnedItems(_ref) {
+  let {
+    scope,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, _extends({
+    name: `PinnedItems/${scope}`
+  }, props));
 }
-/**
- * Triggers an action object used to toggle a plugin name flag.
- *
- * @param {string} pluginName Plugin name.
- */

-function* togglePinnedPluginItem(pluginName) {
-  const isPinned = yield external_wp_data_["controls"].select(build_module["i" /* store */], 'isItemPinned', 'core/edit-post', pluginName);
-  yield external_wp_data_["controls"].dispatch(build_module["i" /* store */], isPinned ? 'unpinItem' : 'pinItem', 'core/edit-post', pluginName);
+function PinnedItemsSlot(_ref2) {
+  let {
+    scope,
+    className,
+    ...props
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, _extends({
+    name: `PinnedItems/${scope}`
+  }, props), fills => !(0,external_lodash_namespaceObject.isEmpty)(fills) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()(className, 'interface-pinned-items')
+  }, fills));
 }
-/**
- * Returns an action object used in signalling that block types by the given
- * name(s) should be hidden.
- *
- * @param {string[]} blockNames Names of block types to hide.
- *
- * @return {Object} Action object.
- */

-function hideBlockTypes(blockNames) {
-  return {
-    type: 'HIDE_BLOCK_TYPES',
-    blockNames: Object(external_lodash_["castArray"])(blockNames)
-  };
-}
-/**
- * Returns an action object used in signaling that a style should be auto-applied when a block is created.
- *
- * @param {string}  blockName  Name of the block.
- * @param {?string} blockStyle Name of the style that should be auto applied. If undefined, the "auto apply" setting of the block is removed.
- *
- * @return {Object} Action object.
- */
+PinnedItems.Slot = PinnedItemsSlot;
+/* harmony default export */ var pinned_items = (PinnedItems);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area/index.js

-function updatePreferredStyleVariations(blockName, blockStyle) {
-  return {
-    type: 'UPDATE_PREFERRED_STYLE_VARIATIONS',
-    blockName,
-    blockStyle
-  };
-}
-/**
- * Returns an action object used in signalling that the editor should attempt
- * to locally autosave the current post every `interval` seconds.
- *
- * @param {number} interval The new interval, in seconds.
- * @return {Object} Action object.
- */

-function __experimentalUpdateLocalAutosaveInterval(interval) {
-  return {
-    type: 'UPDATE_LOCAL_AUTOSAVE_INTERVAL',
-    interval
-  };
-}
-/**
- * Returns an action object used in signalling that block types by the given
- * name(s) should be shown.
- *
- * @param {string[]} blockNames Names of block types to show.
- *
- * @return {Object} Action object.
- */

-function showBlockTypes(blockNames) {
-  return {
-    type: 'SHOW_BLOCK_TYPES',
-    blockNames: Object(external_lodash_["castArray"])(blockNames)
-  };
-}
 /**
- * Returns an action object used in signaling
- * what Meta boxes are available in which location.
- *
- * @param {Object} metaBoxesPerLocation Meta boxes per location.
- *
- * @yield {Object} Action object.
+ * External dependencies
  */

-function* setAvailableMetaBoxesPerLocation(metaBoxesPerLocation) {
-  yield {
-    type: 'SET_META_BOXES_PER_LOCATIONS',
-    metaBoxesPerLocation
-  };
-}
 /**
- * Returns an action object used to request meta box update.
- *
- * @yield {Object} Action object.
+ * WordPress dependencies
  */

-function* requestMetaBoxUpdates() {
-  yield {
-    type: 'REQUEST_META_BOX_UPDATES'
-  }; // Saves the wp_editor fields
-
-  if (window.tinyMCE) {
-    window.tinyMCE.triggerSave();
-  } // Additional data needed for backward compatibility.
-  // If we do not provide this data, the post will be overridden with the default values.


-  const post = yield external_wp_data_["controls"].select(external_wp_editor_["store"], 'getCurrentPost');
-  const additionalData = [post.comment_status ? ['comment_status', post.comment_status] : false, post.ping_status ? ['ping_status', post.ping_status] : false, post.sticky ? ['sticky', post.sticky] : false, post.author ? ['post_author', post.author] : false].filter(Boolean); // We gather all the metaboxes locations data and the base form data

-  const baseFormData = new window.FormData(document.querySelector('.metabox-base-form'));
-  const activeMetaBoxLocations = yield external_wp_data_["controls"].select(store, 'getActiveMetaBoxLocations');
-  const formDataToMerge = [baseFormData, ...activeMetaBoxLocations.map(location => new window.FormData(getMetaBoxContainer(location)))]; // Merge all form data objects into a single one.

-  const formData = Object(external_lodash_["reduce"])(formDataToMerge, (memo, currentFormData) => {
-    for (const [key, value] of currentFormData) {
-      memo.append(key, value);
-    }

-    return memo;
-  }, new window.FormData());
-  additionalData.forEach(_ref => {
-    let [key, value] = _ref;
-    return formData.append(key, value);
-  });

-  try {
-    // Save the metaboxes
-    yield Object(external_wp_dataControls_["apiFetch"])({
-      url: window._wpMetaBoxUrl,
-      method: 'POST',
-      body: formData,
-      parse: false
-    });
-    yield external_wp_data_["controls"].dispatch(store, 'metaBoxUpdatesSuccess');
-  } catch {
-    yield external_wp_data_["controls"].dispatch(store, 'metaBoxUpdatesFailure');
-  }
-}
 /**
- * Returns an action object used to signal a successful meta box update.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */

-function metaBoxUpdatesSuccess() {
-  return {
-    type: 'META_BOX_UPDATES_SUCCESS'
-  };
-}
-/**
- * Returns an action object used to signal a failed meta box update.
- *
- * @return {Object} Action object.
- */

-function metaBoxUpdatesFailure() {
-  return {
-    type: 'META_BOX_UPDATES_FAILURE'
-  };
-}
-/**
- * Returns an action object used to toggle the width of the editing canvas.
- *
- * @param {string} deviceType
- *
- * @return {Object} Action object.
- */

-function __experimentalSetPreviewDeviceType(deviceType) {
-  return {
-    type: 'SET_PREVIEW_DEVICE_TYPE',
-    deviceType
-  };
-}
-/**
- * Returns an action object used to open/close the inserter.
- *
- * @param {boolean|Object} value                Whether the inserter should be
- *                                              opened (true) or closed (false).
- *                                              To specify an insertion point,
- *                                              use an object.
- * @param {string}         value.rootClientId   The root client ID to insert at.
- * @param {number}         value.insertionIndex The index to insert at.
- *
- * @return {Object} Action object.
- */

-function setIsInserterOpened(value) {
-  return {
-    type: 'SET_IS_INSERTER_OPENED',
-    value
-  };
-}
-/**
- * Returns an action object used to open/close the list view.
- *
- * @param {boolean} isOpen A boolean representing whether the list view should be opened or closed.
- * @return {Object} Action object.
- */

-function setIsListViewOpened(isOpen) {
-  return {
-    type: 'SET_IS_LIST_VIEW_OPENED',
-    isOpen
-  };
-}
-/**
- * Returns an action object used to switch to template editing.
- *
- * @param {boolean} value Is editing template.
- * @return {Object} Action object.
- */

-function setIsEditingTemplate(value) {
-  return {
-    type: 'SET_IS_EDITING_TEMPLATE',
-    value
-  };
-}
-/**
- * Switches to the template mode.
- *
- * @param {boolean} newTemplate Is new template.
- */

-function* __unstableSwitchToTemplateMode() {
-  let newTemplate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  yield setIsEditingTemplate(true);
-  const isWelcomeGuideActive = yield external_wp_data_["controls"].select(store, 'isFeatureActive', 'welcomeGuideTemplate');

-  if (!isWelcomeGuideActive) {
-    const message = newTemplate ? Object(external_wp_i18n_["__"])("Custom template created. You're in template mode now.") : Object(external_wp_i18n_["__"])('Editing template. Changes made here affect all posts and pages that use the template.');
-    yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createSuccessNotice', message, {
-      type: 'snackbar'
-    });
-  }
+function ComplementaryAreaSlot(_ref) {
+  let {
+    scope,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, _extends({
+    name: `ComplementaryArea/${scope}`
+  }, props));
 }
-/**
- * Create a block based template.
- *
- * @param {Object?} template Template to create and assign.
- */

-function* __unstableCreateTemplate(template) {
-  const savedTemplate = yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'saveEntityRecord', 'postType', 'wp_template', template);
-  const post = yield external_wp_data_["controls"].select(external_wp_editor_["store"], 'getCurrentPost');
-  yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'editEntityRecord', 'postType', post.type, post.id, {
-    template: savedTemplate.slug
-  });
+function ComplementaryAreaFill(_ref2) {
+  let {
+    scope,
+    children,
+    className
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, {
+    name: `ComplementaryArea/${scope}`
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: className
+  }, children));
 }
-let actions_metaBoxesInitialized = false;
-/**
- * Initializes WordPress `postboxes` script and the logic for saving meta boxes.
- */
-
-function* initializeMetaBoxes() {
-  const isEditorReady = yield external_wp_data_["controls"].select(external_wp_editor_["store"], '__unstableIsEditorReady');

-  if (!isEditorReady) {
-    return;
-  }
-
-  const postType = yield external_wp_data_["controls"].select(external_wp_editor_["store"], 'getCurrentPostType'); // Only initialize once.
-
-  if (actions_metaBoxesInitialized) {
-    return;
-  }
+function useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall) {
+  const previousIsSmall = (0,external_wp_element_namespaceObject.useRef)(false);
+  const shouldOpenWhenNotSmall = (0,external_wp_element_namespaceObject.useRef)(false);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // If the complementary area is active and the editor is switching from a big to a small window size.
+    if (isActive && isSmall && !previousIsSmall.current) {
+      // Disable the complementary area.
+      disableComplementaryArea(scope); // Flag the complementary area to be reopened when the window size goes from small to big.

-  if (window.postboxes.page !== postType) {
-    window.postboxes.add_postbox_toggles(postType);
-  }
+      shouldOpenWhenNotSmall.current = true;
+    } else if ( // If there is a flag indicating the complementary area should be enabled when we go from small to big window size
+    // and we are going from a small to big window size.
+    shouldOpenWhenNotSmall.current && !isSmall && previousIsSmall.current) {
+      // Remove the flag indicating the complementary area should be enabled.
+      shouldOpenWhenNotSmall.current = false; // Enable the complementary area.

-  actions_metaBoxesInitialized = true;
-  let wasSavingPost = yield external_wp_data_["controls"].select(external_wp_editor_["store"], 'isSavingPost');
-  let wasAutosavingPost = yield external_wp_data_["controls"].select(external_wp_editor_["store"], 'isAutosavingPost');
-  const hasMetaBoxes = yield external_wp_data_["controls"].select(store, 'hasMetaBoxes'); // Save metaboxes when performing a full save on the post.
+      enableComplementaryArea(scope, identifier);
+    } else if ( // If the flag is indicating the current complementary should be reopened but another complementary area becomes active,
+    // remove the flag.
+    shouldOpenWhenNotSmall.current && activeArea && activeArea !== identifier) {
+      shouldOpenWhenNotSmall.current = false;
+    }

-  Object(external_wp_data_["subscribe"])(() => {
-    const isSavingPost = Object(external_wp_data_["select"])(external_wp_editor_["store"]).isSavingPost();
-    const isAutosavingPost = Object(external_wp_data_["select"])(external_wp_editor_["store"]).isAutosavingPost(); // Save metaboxes on save completion, except for autosaves that are not a post preview.
-    //
-    // Meta boxes are initialized once at page load. It is not necessary to
-    // account for updates on each state change.
-    //
-    // See: https://github.com/WordPress/WordPress/blob/5.1.1/wp-admin/includes/post.php#L2307-L2309
+    if (isSmall !== previousIsSmall.current) {
+      previousIsSmall.current = isSmall;
+    }
+  }, [isActive, isSmall, scope, identifier, activeArea]);
+}

-    const shouldTriggerMetaboxesSave = hasMetaBoxes && wasSavingPost && !isSavingPost && !wasAutosavingPost; // Save current state for next inspection.
+function ComplementaryArea(_ref3) {
+  let {
+    children,
+    className,
+    closeLabel = (0,external_wp_i18n_namespaceObject.__)('Close plugin'),
+    identifier,
+    header,
+    headerClassName,
+    icon,
+    isPinnable = true,
+    panelClassName,
+    scope,
+    name,
+    smallScreenTitle,
+    title,
+    toggleShortcut,
+    isActiveByDefault,
+    showIconLabels = false
+  } = _ref3;
+  const {
+    isActive,
+    isPinned,
+    activeArea,
+    isSmall,
+    isLarge
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getActiveComplementaryArea,
+      isItemPinned
+    } = select(store);

-    wasSavingPost = isSavingPost;
-    wasAutosavingPost = isAutosavingPost;
+    const _activeArea = getActiveComplementaryArea(scope);

-    if (shouldTriggerMetaboxesSave) {
-      Object(external_wp_data_["dispatch"])(store).requestMetaBoxUpdates();
+    return {
+      isActive: _activeArea === identifier,
+      isPinned: isItemPinned(scope, identifier),
+      activeArea: _activeArea,
+      isSmall: select(external_wp_viewport_namespaceObject.store).isViewportMatch('< medium'),
+      isLarge: select(external_wp_viewport_namespaceObject.store).isViewportMatch('large')
+    };
+  }, [identifier, scope]);
+  useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea,
+    pinItem,
+    unpinItem
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isActiveByDefault && activeArea === undefined && !isSmall) {
+      enableComplementaryArea(scope, identifier);
     }
-  });
-  return {
-    type: 'META_BOXES_INITIALIZED'
-  };
+  }, [activeArea, isActiveByDefault, scope, identifier, isSmall]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isPinnable && (0,external_wp_element_namespaceObject.createElement)(pinned_items, {
+    scope: scope
+  }, isPinned && (0,external_wp_element_namespaceObject.createElement)(complementary_area_toggle, {
+    scope: scope,
+    identifier: identifier,
+    isPressed: isActive && (!showIconLabels || isLarge),
+    "aria-expanded": isActive,
+    label: title,
+    icon: showIconLabels ? library_check : icon,
+    showTooltip: !showIconLabels,
+    variant: showIconLabels ? 'tertiary' : undefined
+  })), name && isPinnable && (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaMoreMenuItem, {
+    target: name,
+    scope: scope,
+    icon: icon
+  }, title), isActive && (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaFill, {
+    className: classnames_default()('interface-complementary-area', className),
+    scope: scope
+  }, (0,external_wp_element_namespaceObject.createElement)(complementary_area_header, {
+    className: headerClassName,
+    closeLabel: closeLabel,
+    onClose: () => disableComplementaryArea(scope),
+    smallScreenTitle: smallScreenTitle,
+    toggleButtonProps: {
+      label: closeLabel,
+      shortcut: toggleShortcut,
+      scope,
+      identifier
+    }
+  }, header || (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("strong", null, title), isPinnable && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "interface-complementary-area__pin-unpin-item",
+    icon: isPinned ? star_filled : star_empty,
+    label: isPinned ? (0,external_wp_i18n_namespaceObject.__)('Unpin from toolbar') : (0,external_wp_i18n_namespaceObject.__)('Pin to toolbar'),
+    onClick: () => (isPinned ? unpinItem : pinItem)(scope, identifier),
+    isPressed: isPinned,
+    "aria-expanded": isPinned
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Panel, {
+    className: panelClassName
+  }, children)));
 }

-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js
-/**
- * External dependencies
- */
-
+const ComplementaryAreaWrapped = complementary_area_context(ComplementaryArea);
+ComplementaryAreaWrapped.Slot = ComplementaryAreaSlot;
+/* harmony default export */ var complementary_area = (ComplementaryAreaWrapped);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/fullscreen-mode/index.js
 /**
  * WordPress dependencies
  */


+const FullscreenMode = _ref => {
+  let {
+    isActive
+  } = _ref;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    let isSticky = false; // `is-fullscreen-mode` is set in PHP as a body class by Gutenberg, and this causes
+    // `sticky-menu` to be applied by WordPress and prevents the admin menu being scrolled
+    // even if `is-fullscreen-mode` is then removed. Let's remove `sticky-menu` here as
+    // a consequence of the FullscreenMode setup

+    if (document.body.classList.contains('sticky-menu')) {
+      isSticky = true;
+      document.body.classList.remove('sticky-menu');
+    }
+
+    return () => {
+      if (isSticky) {
+        document.body.classList.add('sticky-menu');
+      }
+    };
+  }, []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isActive) {
+      document.body.classList.add('is-fullscreen-mode');
+    } else {
+      document.body.classList.remove('is-fullscreen-mode');
+    }
+
+    return () => {
+      if (isActive) {
+        document.body.classList.remove('is-fullscreen-mode');
+      }
+    };
+  }, [isActive]);
+  return null;
+};
+
+/* harmony default export */ var fullscreen_mode = (FullscreenMode);
+
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/interface-skeleton/index.js


-/**
- * Returns the current editing mode.
- *
- * @param {Object} state Global application state.
- *
- * @return {string} Editing mode.
- */
-
-function getEditorMode(state) {
-  return getPreference(state, 'editorMode', 'visual');
-}
-/**
- * Returns true if the editor sidebar is opened.
- *
- * @param {Object} state Global application state
- *
- * @return {boolean} Whether the editor sidebar is opened.
- */

-const isEditorSidebarOpened = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  const activeGeneralSidebar = select(build_module["i" /* store */]).getActiveComplementaryArea('core/edit-post');
-  return Object(external_lodash_["includes"])(['edit-post/document', 'edit-post/block'], activeGeneralSidebar);
-});
 /**
- * Returns true if the plugin sidebar is opened.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the plugin sidebar is opened.
+ * External dependencies
  */

-const isPluginSidebarOpened = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  const activeGeneralSidebar = select(build_module["i" /* store */]).getActiveComplementaryArea('core/edit-post');
-  return !!activeGeneralSidebar && !Object(external_lodash_["includes"])(['edit-post/document', 'edit-post/block'], activeGeneralSidebar);
-});
 /**
- * Returns the current active general sidebar name, or null if there is no
- * general sidebar active. The active general sidebar is a unique name to
- * identify either an editor or plugin sidebar.
- *
- * Examples:
- *
- *  - `edit-post/document`
- *  - `my-plugin/insert-image-sidebar`
- *
- * @param {Object} state Global application state.
- *
- * @return {?string} Active general sidebar name.
+ * WordPress dependencies
  */

-const getActiveGeneralSidebarName = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  return select(build_module["i" /* store */]).getActiveComplementaryArea('core/edit-post');
-});
 /**
- * Returns the preferences (these preferences are persisted locally).
- *
- * @param {Object} state Global application state.
- *
- * @return {Object} Preferences Object.
+ * WordPress dependencies
  */

-function getPreferences(state) {
-  return state.preferences;
+
+
+
+
+
+function useHTMLClass(className) {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const element = document && document.querySelector(`html:not(.${className})`);
+
+    if (!element) {
+      return;
+    }
+
+    element.classList.toggle(className);
+    return () => {
+      element.classList.toggle(className);
+    };
+  }, [className]);
 }
-/**
- *
- * @param {Object} state         Global application state.
- * @param {string} preferenceKey Preference Key.
- * @param {*}      defaultValue  Default Value.
- *
- * @return {*} Preference Value.
- */

-function getPreference(state, preferenceKey, defaultValue) {
-  const preferences = getPreferences(state);
-  const value = preferences[preferenceKey];
-  return value === undefined ? defaultValue : value;
+function InterfaceSkeleton(_ref, ref) {
+  let {
+    footer,
+    header,
+    sidebar,
+    secondarySidebar,
+    notices,
+    content,
+    drawer,
+    actions,
+    labels,
+    className,
+    shortcuts
+  } = _ref;
+  const navigateRegionsProps = (0,external_wp_components_namespaceObject.__unstableUseNavigateRegions)(shortcuts);
+  useHTMLClass('interface-interface-skeleton__html-container');
+  const defaultLabels = {
+    /* translators: accessibility text for the nav bar landmark region. */
+    drawer: (0,external_wp_i18n_namespaceObject.__)('Drawer'),
+
+    /* translators: accessibility text for the top bar landmark region. */
+    header: (0,external_wp_i18n_namespaceObject.__)('Header'),
+
+    /* translators: accessibility text for the content landmark region. */
+    body: (0,external_wp_i18n_namespaceObject.__)('Content'),
+
+    /* translators: accessibility text for the secondary sidebar landmark region. */
+    secondarySidebar: (0,external_wp_i18n_namespaceObject.__)('Block Library'),
+
+    /* translators: accessibility text for the settings landmark region. */
+    sidebar: (0,external_wp_i18n_namespaceObject.__)('Settings'),
+
+    /* translators: accessibility text for the publish landmark region. */
+    actions: (0,external_wp_i18n_namespaceObject.__)('Publish'),
+
+    /* translators: accessibility text for the footer landmark region. */
+    footer: (0,external_wp_i18n_namespaceObject.__)('Footer')
+  };
+  const mergedLabels = { ...defaultLabels,
+    ...labels
+  };
+  return (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, navigateRegionsProps, {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, navigateRegionsProps.ref]),
+    className: classnames_default()(className, 'interface-interface-skeleton', navigateRegionsProps.className, !!footer && 'has-footer')
+  }), !!drawer && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__drawer",
+    role: "region",
+    "aria-label": mergedLabels.drawer,
+    tabIndex: "-1"
+  }, drawer), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__editor"
+  }, !!header && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__header",
+    role: "region",
+    "aria-label": mergedLabels.header,
+    tabIndex: "-1"
+  }, header), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__body"
+  }, !!secondarySidebar && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__secondary-sidebar",
+    role: "region",
+    "aria-label": mergedLabels.secondarySidebar,
+    tabIndex: "-1"
+  }, secondarySidebar), !!notices && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__notices"
+  }, notices), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__content",
+    role: "region",
+    "aria-label": mergedLabels.body,
+    tabIndex: "-1"
+  }, content), !!sidebar && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__sidebar",
+    role: "region",
+    "aria-label": mergedLabels.sidebar,
+    tabIndex: "-1"
+  }, sidebar), !!actions && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__actions",
+    role: "region",
+    "aria-label": mergedLabels.actions,
+    tabIndex: "-1"
+  }, actions))), !!footer && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__footer",
+    role: "region",
+    "aria-label": mergedLabels.footer,
+    tabIndex: "-1"
+  }, footer));
 }
+
+/* harmony default export */ var interface_skeleton = ((0,external_wp_element_namespaceObject.forwardRef)(InterfaceSkeleton));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
+
+
 /**
- * Returns true if the publish sidebar is opened.
- *
- * @param {Object} state Global application state
- *
- * @return {boolean} Whether the publish sidebar is open.
+ * WordPress dependencies
  */

-function isPublishSidebarOpened(state) {
-  return state.publishSidebarActive;
-}
+const moreVertical = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
+}));
+/* harmony default export */ var more_vertical = (moreVertical);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-dropdown/index.js
+
+
 /**
- * Returns true if the given panel was programmatically removed, or false otherwise.
- * All panels are not removed by default.
- *
- * @param {Object} state     Global application state.
- * @param {string} panelName A string that identifies the panel.
- *
- * @return {boolean} Whether or not the panel is removed.
+ * External dependencies
  */

-function isEditorPanelRemoved(state, panelName) {
-  return Object(external_lodash_["includes"])(state.removedPanels, panelName);
-}
 /**
- * Returns true if the given panel is enabled, or false otherwise. Panels are
- * enabled by default.
- *
- * @param {Object} state     Global application state.
- * @param {string} panelName A string that identifies the panel.
- *
- * @return {boolean} Whether or not the panel is enabled.
+ * WordPress dependencies
  */

-function isEditorPanelEnabled(state, panelName) {
-  const panels = getPreference(state, 'panels');
-  return !isEditorPanelRemoved(state, panelName) && Object(external_lodash_["get"])(panels, [panelName, 'enabled'], true);
+
+
+
+function MoreMenuDropdown(_ref) {
+  let {
+    as: DropdownComponent = external_wp_components_namespaceObject.DropdownMenu,
+    className,
+
+    /* translators: button label text should, if possible, be under 16 characters. */
+    label = (0,external_wp_i18n_namespaceObject.__)('Options'),
+    popoverProps,
+    toggleProps,
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(DropdownComponent, {
+    className: classnames_default()('interface-more-menu-dropdown', className),
+    icon: more_vertical,
+    label: label,
+    popoverProps: {
+      position: 'bottom left',
+      ...popoverProps,
+      className: classnames_default()('interface-more-menu-dropdown__content', popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.className)
+    },
+    toggleProps: {
+      tooltipPosition: 'bottom',
+      ...toggleProps
+    }
+  }, onClose => children(onClose));
 }
+
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-feature-toggle/index.js
+
+
 /**
- * Returns true if the given panel is open, or false otherwise. Panels are
- * closed by default.
- *
- * @param {Object} state     Global application state.
- * @param {string} panelName A string that identifies the panel.
- *
- * @return {boolean} Whether or not the panel is open.
+ * WordPress dependencies
  */

-function isEditorPanelOpened(state, panelName) {
-  const panels = getPreference(state, 'panels');
-  return Object(external_lodash_["get"])(panels, [panelName]) === true || Object(external_lodash_["get"])(panels, [panelName, 'opened']) === true;
-}
+
+
+
+
 /**
- * Returns true if a modal is active, or false otherwise.
- *
- * @param {Object} state     Global application state.
- * @param {string} modalName A string that uniquely identifies the modal.
- *
- * @return {boolean} Whether the modal is active.
+ * Internal dependencies
  */

-function isModalActive(state, modalName) {
-  return state.activeModal === modalName;
-}
-/**
- * Returns whether the given feature is enabled or not.
- *
- * @param {Object} state   Global application state.
- * @param {string} feature Feature slug.
- *
- * @return {boolean} Is active.
- */
-
-const isFeatureActive = Object(external_wp_data_["createRegistrySelector"])(select => (state, feature) => {
-  return select(build_module["i" /* store */]).isFeatureActive('core/edit-post', feature);
-});
-/**
- * Returns true if the plugin item is pinned to the header.
- * When the value is not set it defaults to true.
- *
- * @param {Object} state      Global application state.
- * @param {string} pluginName Plugin item name.
- *
- * @return {boolean} Whether the plugin item is pinned.
- */

-const isPluginItemPinned = Object(external_wp_data_["createRegistrySelector"])(select => (state, pluginName) => {
-  return select(build_module["i" /* store */]).isItemPinned('core/edit-post', pluginName);
-});
-/**
- * Returns an array of active meta box locations.
- *
- * @param {Object} state Post editor state.
- *
- * @return {string[]} Active meta box locations.
- */
+function MoreMenuFeatureToggle(_ref) {
+  let {
+    scope,
+    label,
+    info,
+    messageActivated,
+    messageDeactivated,
+    shortcut,
+    feature
+  } = _ref;
+  const isActive = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isFeatureActive(scope, feature), [feature]);
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-const getActiveMetaBoxLocations = Object(rememo["a" /* default */])(state => {
-  return Object.keys(state.metaBoxes.locations).filter(location => isMetaBoxLocationActive(state, location));
-}, state => [state.metaBoxes.locations]);
-/**
- * Returns true if a metabox location is active and visible
- *
- * @param {Object} state    Post editor state.
- * @param {string} location Meta box location to test.
- *
- * @return {boolean} Whether the meta box location is active and visible.
- */
+  const speakMessage = () => {
+    if (isActive) {
+      (0,external_wp_a11y_namespaceObject.speak)(messageDeactivated || (0,external_wp_i18n_namespaceObject.__)('Feature deactivated'));
+    } else {
+      (0,external_wp_a11y_namespaceObject.speak)(messageActivated || (0,external_wp_i18n_namespaceObject.__)('Feature activated'));
+    }
+  };

-function isMetaBoxLocationVisible(state, location) {
-  return isMetaBoxLocationActive(state, location) && Object(external_lodash_["some"])(getMetaBoxesPerLocation(state, location), _ref => {
-    let {
-      id
-    } = _ref;
-    return isEditorPanelEnabled(state, `meta-box-${id}`);
-  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    icon: isActive && library_check,
+    isSelected: isActive,
+    onClick: () => {
+      toggleFeature(scope, feature);
+      speakMessage();
+    },
+    role: "menuitemcheckbox",
+    info: info,
+    shortcut: shortcut
+  }, label);
 }
-/**
- * Returns true if there is an active meta box in the given location, or false
- * otherwise.
- *
- * @param {Object} state    Post editor state.
- * @param {string} location Meta box location to test.
- *
- * @return {boolean} Whether the meta box location is active.
- */

-function isMetaBoxLocationActive(state, location) {
-  const metaBoxes = getMetaBoxesPerLocation(state, location);
-  return !!metaBoxes && metaBoxes.length !== 0;
-}
-/**
- * Returns the list of all the available meta boxes for a given location.
- *
- * @param {Object} state    Global application state.
- * @param {string} location Meta box location to test.
- *
- * @return {?Array} List of meta boxes.
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/index.js

-function getMetaBoxesPerLocation(state, location) {
-  return state.metaBoxes.locations[location];
-}
-/**
- * Returns the list of all the available meta boxes.
- *
- * @param {Object} state Global application state.
- *
- * @return {Array} List of meta boxes.
- */

-const getAllMetaBoxes = Object(rememo["a" /* default */])(state => {
-  return Object(external_lodash_["flatten"])(Object(external_lodash_["values"])(state.metaBoxes.locations));
-}, state => [state.metaBoxes.locations]);
-/**
- * Returns true if the post is using Meta Boxes
- *
- * @param {Object} state Global application state
- *
- * @return {boolean} Whether there are metaboxes or not.
- */

-function selectors_hasMetaBoxes(state) {
-  return getActiveMetaBoxLocations(state).length > 0;
-}
-/**
- * Returns true if the Meta Boxes are being saved.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the metaboxes are being saved.
- */

-function selectors_isSavingMetaBoxes(state) {
-  return state.metaBoxes.isSaving;
-}
-/**
- * Returns the current editing canvas device type.
- *
- * @param {Object} state Global application state.
- *
- * @return {string} Device type.
- */

-function __experimentalGetPreviewDeviceType(state) {
-  return state.deviceType;
-}
-/**
- * Returns true if the inserter is opened.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the inserter is opened.
- */

-function isInserterOpened(state) {
-  return !!state.blockInserterPanel;
-}
-/**
- * Get the insertion point for the inserter.
- *
- * @param {Object} state Global application state.
- *
- * @return {Object} The root client ID, index to insert at and starting filter value.
- */

-function __experimentalGetInsertionPoint(state) {
-  const {
-    rootClientId,
-    insertionIndex,
-    filterValue
-  } = state.blockInserterPanel;
-  return {
-    rootClientId,
-    insertionIndex,
-    filterValue
-  };
-}
-/**
- * Returns true if the list view is opened.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the list view is opened.
- */

-function isListViewOpened(state) {
-  return state.listViewPanel;
-}
-/**
- * Returns true if the template editing mode is enabled.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether we're editing the template.
- */

-function selectors_isEditingTemplate(state) {
-  return state.isEditingTemplate;
-}
-/**
- * Returns true if meta boxes are initialized.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether meta boxes are initialized.
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/index.js

-function areMetaBoxesInitialized(state) {
-  return state.metaBoxes.initialized;
-}
+
+
+;// CONCATENATED MODULE: external ["wp","mediaUtils"]
+var external_wp_mediaUtils_namespaceObject = window["wp"]["mediaUtils"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/components/index.js
 /**
- * Retrieves the template of the currently edited post.
- *
- * @return {Object?} Post Template.
+ * WordPress dependencies
  */

-const getEditedPostTemplate = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  const currentTemplate = select(external_wp_editor_["store"]).getEditedPostAttribute('template');
-
-  if (currentTemplate) {
-    var _select$getEntityReco;

-    const templateWithSameSlug = (_select$getEntityReco = select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_template', {
-      per_page: -1
-    })) === null || _select$getEntityReco === void 0 ? void 0 : _select$getEntityReco.find(template => template.slug === currentTemplate);

-    if (!templateWithSameSlug) {
-      return templateWithSameSlug;
-    }
+const replaceMediaUpload = () => external_wp_mediaUtils_namespaceObject.MediaUpload;

-    return select(external_wp_coreData_["store"]).getEditedEntityRecord('postType', 'wp_template', templateWithSameSlug.id);
-  }
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.MediaUpload', 'core/edit-post/replace-media-upload', replaceMediaUpload);

-  const post = select(external_wp_editor_["store"]).getCurrentPost();
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/validate-multiple-use/index.js

-  if (post.link) {
-    return select(external_wp_coreData_["store"]).__experimentalGetTemplateForLink(post.link);
-  }

-  return null;
-});

-// EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/store/constants.js
-var constants = __webpack_require__("0dt7");
+/**
+ * External dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/index.js
 /**
  * WordPress dependencies
  */


-/**
- * Internal dependencies
- */





-const storeConfig = {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  controls: external_wp_dataControls_["controls"],
-  persist: ['preferences']
-};
+
+const enhance = (0,external_wp_compose_namespaceObject.compose)(
 /**
- * Store definition for the edit post namespace.
+ * For blocks whose block type doesn't support `multiple`, provides the
+ * wrapped component with `originalBlockClientId` -- a reference to the
+ * first block of the same type in the content -- if and only if that
+ * "original" block is not the current one. Thus, an inexisting
+ * `originalBlockClientId` prop signals that the block is valid.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ * @param {WPComponent} WrappedBlockEdit A filtered BlockEdit instance.
  *
- * @type {Object}
+ * @return {WPComponent} Enhanced component with merged state data props.
  */
+(0,external_wp_data_namespaceObject.withSelect)((select, block) => {
+  const multiple = (0,external_wp_blocks_namespaceObject.hasBlockSupport)(block.name, 'multiple', true); // For block types with `multiple` support, there is no "original
+  // block" to be found in the content, as the block itself is valid.

-const store = Object(external_wp_data_["createReduxStore"])(constants["a" /* STORE_NAME */], storeConfig); // Ideally we use register instead of register store.
-
-Object(external_wp_data_["registerStore"])(constants["a" /* STORE_NAME */], storeConfig);
-
-
-/***/ }),
-
-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */
-
-(function () {
-	'use strict';
-
-	var hasOwn = {}.hasOwnProperty;
+  if (multiple) {
+    return {};
+  } // Otherwise, only pass `originalBlockClientId` if it refers to a different
+  // block from the current one.

-	function classNames() {
-		var classes = [];

-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
-
-			var argType = typeof arg;
-
-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
-
-		return classes.join(' ');
-	}
-
-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());
+  const blocks = select(external_wp_blockEditor_namespaceObject.store).getBlocks();
+  const firstOfSameType = (0,external_lodash_namespaceObject.find)(blocks, _ref => {
+    let {
+      name
+    } = _ref;
+    return block.name === name;
+  });
+  const isInvalid = firstOfSameType && firstOfSameType.clientId !== block.clientId;
+  return {
+    originalBlockClientId: isInvalid && firstOfSameType.clientId
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref2) => {
+  let {
+    originalBlockClientId
+  } = _ref2;
+  return {
+    selectFirst: () => dispatch(external_wp_blockEditor_namespaceObject.store).selectBlock(originalBlockClientId)
+  };
+}));
+const withMultipleValidation = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => {
+  return enhance(_ref3 => {
+    let {
+      originalBlockClientId,
+      selectFirst,
+      ...props
+    } = _ref3;

+    if (!originalBlockClientId) {
+      return (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props);
+    }

-/***/ }),
+    const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(props.name);
+    const outboundType = getOutboundType(props.name);
+    return [(0,external_wp_element_namespaceObject.createElement)("div", {
+      key: "invalid-preview",
+      style: {
+        minHeight: '60px'
+      }
+    }, (0,external_wp_element_namespaceObject.createElement)(BlockEdit, _extends({
+      key: "block-edit"
+    }, props))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, {
+      key: "multiple-use-warning",
+      actions: [(0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        key: "find-original",
+        variant: "secondary",
+        onClick: selectFirst
+      }, (0,external_wp_i18n_namespaceObject.__)('Find original')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        key: "remove",
+        variant: "secondary",
+        onClick: () => props.onReplace([])
+      }, (0,external_wp_i18n_namespaceObject.__)('Remove')), outboundType && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        key: "transform",
+        variant: "secondary",
+        onClick: () => props.onReplace((0,external_wp_blocks_namespaceObject.createBlock)(outboundType.name, props.attributes))
+      }, (0,external_wp_i18n_namespaceObject.__)('Transform into:'), " ", outboundType.title)]
+    }, (0,external_wp_element_namespaceObject.createElement)("strong", null, blockType === null || blockType === void 0 ? void 0 : blockType.title, ": "), (0,external_wp_i18n_namespaceObject.__)('This block can only be used once.'))];
+  });
+}, 'withMultipleValidation');
+/**
+ * Given a base block name, returns the default block type to which to offer
+ * transforms.
+ *
+ * @param {string} blockName Base block name.
+ *
+ * @return {?Object} The chosen default block type.
+ */

-/***/ "Tqx9":
-/***/ (function(module, exports) {
+function getOutboundType(blockName) {
+  // Grab the first outbound transform
+  const transform = (0,external_wp_blocks_namespaceObject.findTransform)((0,external_wp_blocks_namespaceObject.getBlockTransforms)('to', blockName), _ref4 => {
+    let {
+      type,
+      blocks
+    } = _ref4;
+    return type === 'block' && blocks.length === 1;
+  } // What about when .length > 1?
+  );

-(function() { module.exports = window["wp"]["primitives"]; }());
+  if (!transform) {
+    return null;
+  }

-/***/ }),
+  return (0,external_wp_blocks_namespaceObject.getBlockType)(transform.blocks[0]);
+}

-/***/ "TvNi":
-/***/ (function(module, exports) {
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/edit-post/validate-multiple-use/with-multiple-validation', withMultipleValidation);

-(function() { module.exports = window["wp"]["plugins"]; }());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/index.js
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "U60i":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ complementary_area; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ ComplementaryAreaMoreMenuItem; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ fullscreen_mode; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ interface_skeleton; });
-__webpack_require__.d(__webpack_exports__, "h", function() { return /* reexport */ pinned_items; });
-__webpack_require__.d(__webpack_exports__, "f", function() { return /* reexport */ MoreMenuDropdown; });
-__webpack_require__.d(__webpack_exports__, "g", function() { return /* reexport */ MoreMenuFeatureToggle; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ action_item; });
-__webpack_require__.d(__webpack_exports__, "i", function() { return /* reexport */ store; });

-// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/actions.js
-var actions_namespaceObject = {};
-__webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "enableComplementaryArea", function() { return actions_enableComplementaryArea; });
-__webpack_require__.d(actions_namespaceObject, "disableComplementaryArea", function() { return actions_disableComplementaryArea; });
-__webpack_require__.d(actions_namespaceObject, "pinItem", function() { return actions_pinItem; });
-__webpack_require__.d(actions_namespaceObject, "unpinItem", function() { return actions_unpinItem; });
-__webpack_require__.d(actions_namespaceObject, "toggleFeature", function() { return actions_toggleFeature; });
-__webpack_require__.d(actions_namespaceObject, "setFeatureValue", function() { return setFeatureValue; });
-__webpack_require__.d(actions_namespaceObject, "setFeatureDefaults", function() { return setFeatureDefaults; });
+/**
+ * WordPress dependencies
+ */

-// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getActiveComplementaryArea", function() { return selectors_getActiveComplementaryArea; });
-__webpack_require__.d(selectors_namespaceObject, "isItemPinned", function() { return selectors_isItemPinned; });
-__webpack_require__.d(selectors_namespaceObject, "isFeatureActive", function() { return isFeatureActive; });
+const external = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
+}));
+/* harmony default export */ var library_external = (external);

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: external ["wp","notices"]
+var external_wp_notices_namespaceObject = window["wp"]["notices"];
+;// CONCATENATED MODULE: external ["wp","editor"]
+var external_wp_editor_namespaceObject = window["wp"]["editor"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/copy-content-menu-item/index.js

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
-var check = __webpack_require__("RMJe");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
-var star_filled = __webpack_require__("URob");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
-var star_empty = __webpack_require__("Xxwi");
+function CopyContentMenuItem() {
+  const {
+    createNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const getText = (0,external_wp_data_namespaceObject.useSelect)(select => () => select(external_wp_editor_namespaceObject.store).getEditedPostAttribute('content'), []);

-// EXTERNAL MODULE: external ["wp","viewport"]
-var external_wp_viewport_ = __webpack_require__("KEfo");
+  function onSuccess() {
+    createNotice('info', (0,external_wp_i18n_namespaceObject.__)('All content copied.'), {
+      isDismissible: true,
+      type: 'snackbar'
+    });
+  }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
+  const ref = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(getText, onSuccess);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    ref: ref
+  }, (0,external_wp_i18n_namespaceObject.__)('Copy all content'));
+}

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: external ["wp","dataControls"]
+var external_wp_dataControls_namespaceObject = window["wp"]["dataControls"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/defaults.js
+const PREFERENCES_DEFAULTS = {
+  editorMode: 'visual',
+  panels: {
+    'post-status': {
+      opened: true
+    }
+  },
+  hiddenBlockTypes: [],
+  preferredStyleVariations: {},
+  localAutosaveInterval: 15
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/reducer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/reducer.js
 /**
  * External dependencies
  */
@@ -2151,1100 +1758,1131 @@ var external_lodash_ = __webpack_require__("YLtl");


 /**
- * Reducer to keep tract of the active area per scope.
- *
- * @param {boolean} state           Previous state.
- * @param {Object}  action          Action object.
- * @param {string}  action.type     Action type.
- * @param {string}  action.itemType Type of item.
- * @param {string}  action.scope    Item scope.
- * @param {string}  action.item     Item name.
- *
- * @return {Object} Updated state.
+ * Internal dependencies
  */

-function singleEnableItems() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let {
-    type,
-    itemType,
-    scope,
-    item
-  } = arguments.length > 1 ? arguments[1] : undefined;
-
-  if (type !== 'SET_SINGLE_ENABLE_ITEM' || !itemType || !scope) {
-    return state;
-  }

-  return { ...state,
-    [itemType]: { ...state[itemType],
-      [scope]: item || null
-    }
-  };
-}
 /**
- * Reducer keeping track of the "pinned" items per scope.
+ * Higher-order reducer creator which provides the given initial state for the
+ * original reducer.
  *
- * @param {boolean} state           Previous state.
- * @param {Object}  action          Action object.
- * @param {string}  action.type     Action type.
- * @param {string}  action.itemType Type of item.
- * @param {string}  action.scope    Item scope.
- * @param {string}  action.item     Item name.
- * @param {boolean} action.isEnable Whether the item is pinned.
+ * @param {*} initialState Initial state to provide to reducer.
  *
- * @return {Object} Updated state.
+ * @return {Function} Higher-order reducer.
  */

-function multipleEnableItems() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let {
-    type,
-    itemType,
-    scope,
-    item,
-    isEnable
-  } = arguments.length > 1 ? arguments[1] : undefined;
-
-  if (type !== 'SET_MULTIPLE_ENABLE_ITEM' || !itemType || !scope || !item || Object(external_lodash_["get"])(state, [itemType, scope, item]) === isEnable) {
-    return state;
-  }
-
-  const currentTypeState = state[itemType] || {};
-  const currentScopeState = currentTypeState[scope] || {};
-  return { ...state,
-    [itemType]: { ...currentTypeState,
-      [scope]: { ...currentScopeState,
-        [item]: isEnable || false
-      }
-    }
+const createWithInitialState = initialState => reducer => {
+  return function () {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;
+    let action = arguments.length > 1 ? arguments[1] : undefined;
+    return reducer(state, action);
   };
-}
+};
 /**
- * Reducer returning the defaults for user preferences.
- *
- * This is kept intentionally separate from the preferences
- * themselves so that defaults are not persisted.
+ * Reducer returning the user preferences.
  *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
+ * @param {Object}  state                           Current state.
+ * @param {string}  state.mode                      Current editor mode, either
+ *                                                  "visual" or "text".
+ * @param {boolean} state.isGeneralSidebarDismissed Whether general sidebar is
+ *                                                  dismissed. False by default
+ *                                                  or when closing general
+ *                                                  sidebar, true when opening
+ *                                                  sidebar.
+ * @param {boolean} state.isSidebarOpened           Whether the sidebar is
+ *                                                  opened or closed.
+ * @param {Object}  state.panels                    The state of the different
+ *                                                  sidebar panels.
+ * @param {Object}  action                          Dispatched action.
  *
  * @return {Object} Updated state.
  */

-const preferenceDefaults = Object(external_wp_data_["combineReducers"])({
-  features() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;
-
-    if (action.type === 'SET_FEATURE_DEFAULTS') {
-      const {
-        scope,
-        defaults
-      } = action;
-      return { ...state,
-        [scope]: { ...state[scope],
-          ...defaults
-        }
-      };
-    }
-
-    return state;
-  }

-});
-/**
- * Reducer returning the user preferences.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */
+const reducer_preferences = (0,external_lodash_namespaceObject.flow)([external_wp_data_namespaceObject.combineReducers, createWithInitialState(PREFERENCES_DEFAULTS)])({
+  panels(state, action) {
+    switch (action.type) {
+      case 'TOGGLE_PANEL_ENABLED':
+        {
+          const {
+            panelName
+          } = action;
+          return { ...state,
+            [panelName]: { ...state[panelName],
+              enabled: !(0,external_lodash_namespaceObject.get)(state, [panelName, 'enabled'], true)
+            }
+          };
+        }

-const preferences = Object(external_wp_data_["combineReducers"])({
-  features() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;
+      case 'TOGGLE_PANEL_OPENED':
+        {
+          const {
+            panelName
+          } = action;
+          const isOpen = state[panelName] === true || (0,external_lodash_namespaceObject.get)(state, [panelName, 'opened'], false);
+          return { ...state,
+            [panelName]: { ...state[panelName],
+              opened: !isOpen
+            }
+          };
+        }
+    }

-    if (action.type === 'SET_FEATURE_VALUE') {
-      const {
-        scope,
-        featureName,
-        value
-      } = action;
-      return { ...state,
-        [scope]: { ...state[scope],
-          [featureName]: value
+    return state;
+  },
+
+  editorMode(state, action) {
+    if (action.type === 'SWITCH_MODE') {
+      return action.mode;
+    }
+
+    return state;
+  },
+
+  hiddenBlockTypes(state, action) {
+    switch (action.type) {
+      case 'SHOW_BLOCK_TYPES':
+        return (0,external_lodash_namespaceObject.without)(state, ...action.blockNames);
+
+      case 'HIDE_BLOCK_TYPES':
+        return (0,external_lodash_namespaceObject.union)(state, action.blockNames);
+    }
+
+    return state;
+  },
+
+  preferredStyleVariations(state, action) {
+    switch (action.type) {
+      case 'UPDATE_PREFERRED_STYLE_VARIATIONS':
+        {
+          if (!action.blockName) {
+            return state;
+          }
+
+          if (!action.blockStyle) {
+            return (0,external_lodash_namespaceObject.omit)(state, [action.blockName]);
+          }
+
+          return { ...state,
+            [action.blockName]: action.blockStyle
+          };
         }
-      };
+    }
+
+    return state;
+  },
+
+  localAutosaveInterval(state, action) {
+    switch (action.type) {
+      case 'UPDATE_LOCAL_AUTOSAVE_INTERVAL':
+        return action.interval;
     }

     return state;
   }

 });
-const enableItems = Object(external_wp_data_["combineReducers"])({
-  singleEnableItems,
-  multipleEnableItems
-});
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  enableItems,
-  preferenceDefaults,
-  preferences
-}));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/actions.js
 /**
- * Returns an action object used in signalling that an active area should be changed.
+ * Reducer storing the list of all programmatically removed panels.
  *
- * @param {string} itemType Type of item.
- * @param {string} scope    Item scope.
- * @param {string} item     Item identifier.
+ * @param {Array}  state  Current state.
+ * @param {Object} action Action object.
  *
- * @return {Object} Action object.
+ * @return {Array} Updated state.
  */
-function setSingleEnableItem(itemType, scope, item) {
-  return {
-    type: 'SET_SINGLE_ENABLE_ITEM',
-    itemType,
-    scope,
-    item
-  };
+
+function removedPanels() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'REMOVE_PANEL':
+      if (!(0,external_lodash_namespaceObject.includes)(state, action.panelName)) {
+        return [...state, action.panelName];
+      }
+
+  }
+
+  return state;
 }
 /**
- * Returns an action object used in signalling that a complementary item should be enabled.
+ * Reducer for storing the name of the open modal, or null if no modal is open.
  *
- * @param {string} scope Complementary area scope.
- * @param {string} area  Area identifier.
+ * @param {Object} state  Previous state.
+ * @param {Object} action Action object containing the `name` of the modal
  *
- * @return {Object} Action object.
+ * @return {Object} Updated state
  */

+function activeModal() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'OPEN_MODAL':
+      return action.name;

-function actions_enableComplementaryArea(scope, area) {
-  return setSingleEnableItem('complementaryArea', scope, area);
+    case 'CLOSE_MODAL':
+      return null;
+  }
+
+  return state;
 }
-/**
- * Returns an action object used in signalling that the complementary area of a given scope should be disabled.
- *
- * @param {string} scope Complementary area scope.
- *
- * @return {Object} Action object.
- */
+function publishSidebarActive() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-function actions_disableComplementaryArea(scope) {
-  return setSingleEnableItem('complementaryArea', scope, undefined);
+  switch (action.type) {
+    case 'OPEN_PUBLISH_SIDEBAR':
+      return true;
+
+    case 'CLOSE_PUBLISH_SIDEBAR':
+      return false;
+
+    case 'TOGGLE_PUBLISH_SIDEBAR':
+      return !state;
+  }
+
+  return state;
 }
 /**
- * Returns an action object to make an area enabled/disabled.
+ * Reducer keeping track of the meta boxes isSaving state.
+ * A "true" value means the meta boxes saving request is in-flight.
  *
- * @param {string}  itemType Type of item.
- * @param {string}  scope    Item scope.
- * @param {string}  item     Item identifier.
- * @param {boolean} isEnable Boolean indicating if an area should be pinned or not.
  *
- * @return {Object} Action object.
+ * @param {boolean} state  Previous state.
+ * @param {Object}  action Action Object.
+ *
+ * @return {Object} Updated state.
  */

-function setMultipleEnableItem(itemType, scope, item, isEnable) {
-  return {
-    type: 'SET_MULTIPLE_ENABLE_ITEM',
-    itemType,
-    scope,
-    item,
-    isEnable
-  };
+function isSavingMetaBoxes() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'REQUEST_META_BOX_UPDATES':
+      return true;
+
+    case 'META_BOX_UPDATES_SUCCESS':
+    case 'META_BOX_UPDATES_FAILURE':
+      return false;
+
+    default:
+      return state;
+  }
 }
 /**
- * Returns an action object used in signalling that an item should be pinned.
+ * Reducer keeping track of the meta boxes per location.
  *
- * @param {string} scope  Item scope.
- * @param {string} itemId Item identifier.
+ * @param {boolean} state  Previous state.
+ * @param {Object}  action Action Object.
  *
- * @return {Object} Action object.
+ * @return {Object} Updated state.
  */

+function metaBoxLocations() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'SET_META_BOXES_PER_LOCATIONS':
+      return action.metaBoxesPerLocation;
+  }

-function actions_pinItem(scope, itemId) {
-  return setMultipleEnableItem('pinnedItems', scope, itemId, true);
+  return state;
 }
 /**
- * Returns an action object used in signalling that an item should be unpinned.
+ * Reducer returning the editing canvas device type.
  *
- * @param {string} scope  Item scope.
- * @param {string} itemId Item identifier.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  *
- * @return {Object} Action object.
+ * @return {Object} Updated state.
  */

-function actions_unpinItem(scope, itemId) {
-  return setMultipleEnableItem('pinnedItems', scope, itemId, false);
+function deviceType() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Desktop';
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'SET_PREVIEW_DEVICE_TYPE':
+      return action.deviceType;
+  }
+
+  return state;
 }
 /**
- * Returns an action object used in signalling that a feature should be toggled.
+ * Reducer to set the block inserter panel open or closed.
  *
- * @param {string} scope       The feature scope (e.g. core/edit-post).
- * @param {string} featureName The feature name.
+ * Note: this reducer interacts with the list view panel reducer
+ * to make sure that only one of the two panels is open at the same time.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  */

-function actions_toggleFeature(scope, featureName) {
-  return function (_ref) {
-    let {
-      select,
-      dispatch
-    } = _ref;
-    const currentValue = select.isFeatureActive(scope, featureName);
-    dispatch.setFeatureValue(scope, featureName, !currentValue);
-  };
-}
-/**
- * Returns an action object used in signalling that a feature should be set to
- * a true or false value
- *
- * @param {string}  scope       The feature scope (e.g. core/edit-post).
- * @param {string}  featureName The feature name.
- * @param {boolean} value       The value to set.
- *
- * @return {Object} Action object.
- */
+function blockInserterPanel() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-function setFeatureValue(scope, featureName, value) {
-  return {
-    type: 'SET_FEATURE_VALUE',
-    scope,
-    featureName,
-    value: !!value
-  };
+  switch (action.type) {
+    case 'SET_IS_LIST_VIEW_OPENED':
+      return action.isOpen ? false : state;
+
+    case 'SET_IS_INSERTER_OPENED':
+      return action.value;
+  }
+
+  return state;
 }
 /**
- * Returns an action object used in signalling that defaults should be set for features.
+ * Reducer to set the list view panel open or closed.
  *
- * @param {string}                  scope    The feature scope (e.g. core/edit-post).
- * @param {Object<string, boolean>} defaults A key/value map of feature names to values.
+ * Note: this reducer interacts with the inserter panel reducer
+ * to make sure that only one of the two panels is open at the same time.
  *
- * @return {Object} Action object.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  */

-function setFeatureDefaults(scope, defaults) {
-  return {
-    type: 'SET_FEATURE_DEFAULTS',
-    scope,
-    defaults
-  };
-}
+function listViewPanel() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/selectors.js
-/**
- * External dependencies
- */
+  switch (action.type) {
+    case 'SET_IS_INSERTER_OPENED':
+      return action.value ? false : state;

-/**
- * Returns the item that is enabled in a given scope.
- *
- * @param {Object} state    Global application state.
- * @param {string} itemType Type of item.
- * @param {string} scope    Item scope.
- *
- * @return {?string|null} The item that is enabled in the passed scope and type.
- */
+    case 'SET_IS_LIST_VIEW_OPENED':
+      return action.isOpen;
+  }

-function getSingleEnableItem(state, itemType, scope) {
-  return Object(external_lodash_["get"])(state.enableItems.singleEnableItems, [itemType, scope]);
+  return state;
 }
 /**
- * Returns the complementary area that is active in a given scope.
- *
- * @param {Object} state Global application state.
- * @param {string} scope Item scope.
+ * Reducer tracking whether the inserter is open.
  *
- * @return {string} The complementary area that is active in the given scope.
+ * @param {boolean} state
+ * @param {Object}  action
  */

+function isEditingTemplate() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-function selectors_getActiveComplementaryArea(state, scope) {
-  return getSingleEnableItem(state, 'complementaryArea', scope);
-}
-/**
- * Returns a boolean indicating if an item is enabled or not in a given scope.
- *
- * @param {Object} state    Global application state.
- * @param {string} itemType Type of item.
- * @param {string} scope    Scope.
- * @param {string} item     Item to check.
- *
- * @return {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
- */
+  switch (action.type) {
+    case 'SET_IS_EDITING_TEMPLATE':
+      return action.value;
+  }

-function isMultipleEnabledItemEnabled(state, itemType, scope, item) {
-  return Object(external_lodash_["get"])(state.enableItems.multipleEnableItems, [itemType, scope, item]);
+  return state;
 }
 /**
- * Returns a boolean indicating if an item is pinned or not.
+ * Reducer tracking whether meta boxes are initialized.
  *
- * @param {Object} state Global application state.
- * @param {string} scope Scope.
- * @param {string} item  Item to check.
+ * @param {boolean} state
+ * @param {Object}  action
  *
- * @return {boolean} True if the item is pinned and false otherwise.
+ * @return {boolean} Updated state.
  */


-function selectors_isItemPinned(state, scope, item) {
-  return isMultipleEnabledItemEnabled(state, 'pinnedItems', scope, item) !== false;
+function metaBoxesInitialized() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'META_BOXES_INITIALIZED':
+      return true;
+  }
+
+  return state;
 }
+
+const metaBoxes = (0,external_wp_data_namespaceObject.combineReducers)({
+  isSaving: isSavingMetaBoxes,
+  locations: metaBoxLocations,
+  initialized: metaBoxesInitialized
+});
+/* harmony default export */ var store_reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  activeModal,
+  metaBoxes,
+  preferences: reducer_preferences,
+  publishSidebarActive,
+  removedPanels,
+  deviceType,
+  blockInserterPanel,
+  listViewPanel,
+  isEditingTemplate
+}));
+
+;// CONCATENATED MODULE: external ["wp","coreData"]
+var external_wp_coreData_namespaceObject = window["wp"]["coreData"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/utils/meta-boxes.js
 /**
- * Returns a boolean indicating whether a feature is active for a particular
- * scope.
+ * Function returning the current Meta Boxes DOM Node in the editor
+ * whether the meta box area is opened or not.
+ * If the MetaBox Area is visible returns it, and returns the original container instead.
  *
- * @param {Object} state       The store state.
- * @param {string} scope       The scope of the feature (e.g. core/edit-post).
- * @param {string} featureName The name of the feature.
+ * @param {string} location Meta Box location.
  *
- * @return {boolean} Is the feature enabled?
+ * @return {string} HTML content.
  */
+const getMetaBoxContainer = location => {
+  const area = document.querySelector(`.edit-post-meta-boxes-area.is-${location} .metabox-location-${location}`);

-function isFeatureActive(state, scope, featureName) {
-  var _state$preferences$fe, _state$preferenceDefa;
+  if (area) {
+    return area;
+  }

-  const featureValue = (_state$preferences$fe = state.preferences.features[scope]) === null || _state$preferences$fe === void 0 ? void 0 : _state$preferences$fe[featureName];
-  const defaultedFeatureValue = featureValue !== undefined ? featureValue : (_state$preferenceDefa = state.preferenceDefaults.features[scope]) === null || _state$preferenceDefa === void 0 ? void 0 : _state$preferenceDefa[featureName];
-  return !!defaultedFeatureValue;
-}
+  return document.querySelector('#metaboxes .metabox-location-' + location);
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/constants.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/actions.js
 /**
- * The identifier for the data store.
- *
- * @type {string}
+ * External dependencies
  */
-const STORE_NAME = 'core/interface';

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/index.js
 /**
  * WordPress dependencies
  */

-/**
- * Internal dependencies
- */





-/**
- * Store definition for the interface namespace.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
- *
- * @type {Object}
- */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['enableItems', 'preferences'],
-  __experimentalUseThunks: true
-}); // Once we build a more generic persistence plugin that works across types of stores
-// we'd be able to replace this with a register call.

-Object(external_wp_data_["registerStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['enableItems', 'preferences'],
-  __experimentalUseThunks: true
-});

-// EXTERNAL MODULE: external ["wp","plugins"]
-var external_wp_plugins_ = __webpack_require__("TvNi");

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-context/index.js
 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-/* harmony default export */ var complementary_area_context = (Object(external_wp_plugins_["withPluginContext"])((context, ownProps) => {
-  return {
-    icon: ownProps.icon || context.icon,
-    identifier: ownProps.identifier || `${context.name}/${ownProps.name}`
-  };
-}));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-toggle/index.js
-


 /**
- * External dependencies
+ * Returns an action object used in signalling that the user opened an editor sidebar.
+ *
+ * @param {?string} name Sidebar name to be opened.
+ *
+ * @yield {Object} Action object.
  */

+function* openGeneralSidebar(name) {
+  yield external_wp_data_namespaceObject.controls.dispatch(store, 'enableComplementaryArea', store_store.name, name);
+}
 /**
- * WordPress dependencies
+ * Returns an action object signalling that the user closed the sidebar.
+ *
+ * @yield {Object} Action object.
  */

-
-
+function* closeGeneralSidebar() {
+  yield external_wp_data_namespaceObject.controls.dispatch(store, 'disableComplementaryArea', store_store.name);
+}
 /**
- * Internal dependencies
+ * Returns an action object used in signalling that the user opened a modal.
+ *
+ * @param {string} name A string that uniquely identifies the modal.
+ *
+ * @return {Object} Action object.
  */

+function openModal(name) {
+  return {
+    type: 'OPEN_MODAL',
+    name
+  };
+}
+/**
+ * Returns an action object signalling that the user closed a modal.
+ *
+ * @return {Object} Action object.
+ */

+function closeModal() {
+  return {
+    type: 'CLOSE_MODAL'
+  };
+}
+/**
+ * Returns an action object used in signalling that the user opened the publish
+ * sidebar.
+ *
+ * @return {Object} Action object
+ */

+function openPublishSidebar() {
+  return {
+    type: 'OPEN_PUBLISH_SIDEBAR'
+  };
+}
+/**
+ * Returns an action object used in signalling that the user closed the
+ * publish sidebar.
+ *
+ * @return {Object} Action object.
+ */

-function ComplementaryAreaToggle(_ref) {
-  let {
-    as = external_wp_components_["Button"],
-    scope,
-    identifier,
-    icon,
-    selectedIcon,
-    ...props
-  } = _ref;
-  const ComponentToUse = as;
-  const isSelected = Object(external_wp_data_["useSelect"])(select => select(store).getActiveComplementaryArea(scope) === identifier, [identifier]);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(ComponentToUse, Object(esm_extends["a" /* default */])({
-    icon: selectedIcon && isSelected ? selectedIcon : icon,
-    onClick: () => {
-      if (isSelected) {
-        disableComplementaryArea(scope);
-      } else {
-        enableComplementaryArea(scope, identifier);
-      }
-    }
-  }, Object(external_lodash_["omit"])(props, ['name'])));
+function closePublishSidebar() {
+  return {
+    type: 'CLOSE_PUBLISH_SIDEBAR'
+  };
 }
-
-/* harmony default export */ var complementary_area_toggle = (complementary_area_context(ComplementaryAreaToggle));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-header/index.js
-
-
-
 /**
- * External dependencies
+ * Returns an action object used in signalling that the user toggles the publish sidebar.
+ *
+ * @return {Object} Action object
  */

+function togglePublishSidebar() {
+  return {
+    type: 'TOGGLE_PUBLISH_SIDEBAR'
+  };
+}
 /**
- * WordPress dependencies
+ * Returns an action object used to enable or disable a panel in the editor.
+ *
+ * @param {string} panelName A string that identifies the panel to enable or disable.
+ *
+ * @return {Object} Action object.
  */

-
+function toggleEditorPanelEnabled(panelName) {
+  return {
+    type: 'TOGGLE_PANEL_ENABLED',
+    panelName
+  };
+}
 /**
- * Internal dependencies
+ * Returns an action object used to open or close a panel in the editor.
+ *
+ * @param {string} panelName A string that identifies the panel to open or close.
+ *
+ * @return {Object} Action object.
  */

-
-
-const ComplementaryAreaHeader = _ref => {
-  let {
-    smallScreenTitle,
-    children,
-    className,
-    toggleButtonProps
-  } = _ref;
-  const toggleButton = Object(external_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
-    icon: close_small["a" /* default */]
-  }, toggleButtonProps));
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "components-panel__header interface-complementary-area-header__small"
-  }, smallScreenTitle && Object(external_wp_element_["createElement"])("span", {
-    className: "interface-complementary-area-header__small-title"
-  }, smallScreenTitle), toggleButton), Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('components-panel__header', 'interface-complementary-area-header', className),
-    tabIndex: -1
-  }, children, toggleButton));
-};
-
-/* harmony default export */ var complementary_area_header = (ComplementaryAreaHeader);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/action-item/index.js
-
-
-
+function toggleEditorPanelOpened(panelName) {
+  return {
+    type: 'TOGGLE_PANEL_OPENED',
+    panelName
+  };
+}
 /**
- * External dependencies
+ * Returns an action object used to remove a panel from the editor.
+ *
+ * @param {string} panelName A string that identifies the panel to remove.
+ *
+ * @return {Object} Action object.
  */

+function removeEditorPanel(panelName) {
+  return {
+    type: 'REMOVE_PANEL',
+    panelName
+  };
+}
 /**
- * WordPress dependencies
+ * Triggers an action used to toggle a feature flag.
+ *
+ * @param {string} feature Feature name.
  */

+function* actions_toggleFeature(feature) {
+  yield external_wp_data_namespaceObject.controls.dispatch(store.name, 'toggleFeature', 'core/edit-post', feature);
+}
+function* switchEditorMode(mode) {
+  yield {
+    type: 'SWITCH_MODE',
+    mode
+  }; // Unselect blocks when we switch to the code editor.

+  if (mode !== 'visual') {
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_blockEditor_namespaceObject.store, 'clearSelectedBlock');
+  }

-
-function ActionItemSlot(_ref) {
-  let {
-    name,
-    as: Component = external_wp_components_["ButtonGroup"],
-    fillProps = {},
-    bubblesVirtually,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], {
-    name: name,
-    bubblesVirtually: bubblesVirtually,
-    fillProps: fillProps
-  }, fills => {
-    if (Object(external_lodash_["isEmpty"])(external_wp_element_["Children"].toArray(fills))) {
-      return null;
-    } // Special handling exists for backward compatibility.
-    // It ensures that menu items created by plugin authors aren't
-    // duplicated with automatically injected menu items coming
-    // from pinnable plugin sidebars.
-    // @see https://github.com/WordPress/gutenberg/issues/14457
-
-
-    const initializedByPlugins = [];
-    external_wp_element_["Children"].forEach(fills, _ref2 => {
-      let {
-        props: {
-          __unstableExplicitMenuItem,
-          __unstableTarget
-        }
-      } = _ref2;
-
-      if (__unstableTarget && __unstableExplicitMenuItem) {
-        initializedByPlugins.push(__unstableTarget);
-      }
-    });
-    const children = external_wp_element_["Children"].map(fills, child => {
-      if (!child.props.__unstableExplicitMenuItem && initializedByPlugins.includes(child.props.__unstableTarget)) {
-        return null;
-      }
-
-      return child;
-    });
-    return Object(external_wp_element_["createElement"])(Component, props, children);
-  });
+  const message = mode === 'visual' ? (0,external_wp_i18n_namespaceObject.__)('Visual editor selected') : (0,external_wp_i18n_namespaceObject.__)('Code editor selected');
+  (0,external_wp_a11y_namespaceObject.speak)(message, 'assertive');
 }
+/**
+ * Triggers an action object used to toggle a plugin name flag.
+ *
+ * @param {string} pluginName Plugin name.
+ */

-function ActionItem(_ref3) {
-  let {
-    name,
-    as: Component = external_wp_components_["Button"],
-    onClick,
-    ...props
-  } = _ref3;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], {
-    name: name
-  }, _ref4 => {
-    let {
-      onClick: fpOnClick
-    } = _ref4;
-    return Object(external_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({
-      onClick: onClick || fpOnClick ? function () {
-        (onClick || external_lodash_["noop"])(...arguments);
-        (fpOnClick || external_lodash_["noop"])(...arguments);
-      } : undefined
-    }, props));
-  });
+function* togglePinnedPluginItem(pluginName) {
+  const isPinned = yield external_wp_data_namespaceObject.controls.select(store, 'isItemPinned', 'core/edit-post', pluginName);
+  yield external_wp_data_namespaceObject.controls.dispatch(store, isPinned ? 'unpinItem' : 'pinItem', 'core/edit-post', pluginName);
 }
+/**
+ * Returns an action object used in signalling that block types by the given
+ * name(s) should be hidden.
+ *
+ * @param {string[]} blockNames Names of block types to hide.
+ *
+ * @return {Object} Action object.
+ */

-ActionItem.Slot = ActionItemSlot;
-/* harmony default export */ var action_item = (ActionItem);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-more-menu-item/index.js
-
-
-
+function hideBlockTypes(blockNames) {
+  return {
+    type: 'HIDE_BLOCK_TYPES',
+    blockNames: (0,external_lodash_namespaceObject.castArray)(blockNames)
+  };
+}
 /**
- * External dependencies
+ * Returns an action object used in signaling that a style should be auto-applied when a block is created.
+ *
+ * @param {string}  blockName  Name of the block.
+ * @param {?string} blockStyle Name of the style that should be auto applied. If undefined, the "auto apply" setting of the block is removed.
+ *
+ * @return {Object} Action object.
  */

+function updatePreferredStyleVariations(blockName, blockStyle) {
+  return {
+    type: 'UPDATE_PREFERRED_STYLE_VARIATIONS',
+    blockName,
+    blockStyle
+  };
+}
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that the editor should attempt
+ * to locally autosave the current post every `interval` seconds.
+ *
+ * @param {number} interval The new interval, in seconds.
+ * @return {Object} Action object.
  */

+function __experimentalUpdateLocalAutosaveInterval(interval) {
+  return {
+    type: 'UPDATE_LOCAL_AUTOSAVE_INTERVAL',
+    interval
+  };
+}
+/**
+ * Returns an action object used in signalling that block types by the given
+ * name(s) should be shown.
+ *
+ * @param {string[]} blockNames Names of block types to show.
+ *
+ * @return {Object} Action object.
+ */

+function showBlockTypes(blockNames) {
+  return {
+    type: 'SHOW_BLOCK_TYPES',
+    blockNames: (0,external_lodash_namespaceObject.castArray)(blockNames)
+  };
+}
+/**
+ * Returns an action object used in signaling
+ * what Meta boxes are available in which location.
+ *
+ * @param {Object} metaBoxesPerLocation Meta boxes per location.
+ *
+ * @yield {Object} Action object.
+ */

+function* setAvailableMetaBoxesPerLocation(metaBoxesPerLocation) {
+  yield {
+    type: 'SET_META_BOXES_PER_LOCATIONS',
+    metaBoxesPerLocation
+  };
+}
 /**
- * Internal dependencies
+ * Returns an action object used to request meta box update.
+ *
+ * @yield {Object} Action object.
  */

+function* requestMetaBoxUpdates() {
+  yield {
+    type: 'REQUEST_META_BOX_UPDATES'
+  }; // Saves the wp_editor fields

+  if (window.tinyMCE) {
+    window.tinyMCE.triggerSave();
+  } // Additional data needed for backward compatibility.
+  // If we do not provide this data, the post will be overridden with the default values.


-const PluginsMenuItem = props => // Menu item is marked with unstable prop for backward compatibility.
-// They are removed so they don't leak to DOM elements.
-// @see https://github.com/WordPress/gutenberg/issues/14457
-Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], Object(external_lodash_["omit"])(props, ['__unstableExplicitMenuItem', '__unstableTarget']));
+  const post = yield external_wp_data_namespaceObject.controls.select(external_wp_editor_namespaceObject.store, 'getCurrentPost');
+  const additionalData = [post.comment_status ? ['comment_status', post.comment_status] : false, post.ping_status ? ['ping_status', post.ping_status] : false, post.sticky ? ['sticky', post.sticky] : false, post.author ? ['post_author', post.author] : false].filter(Boolean); // We gather all the metaboxes locations data and the base form data

-function ComplementaryAreaMoreMenuItem(_ref) {
-  let {
-    scope,
-    target,
-    __unstableExplicitMenuItem,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
-    as: toggleProps => {
-      return Object(external_wp_element_["createElement"])(action_item, Object(esm_extends["a" /* default */])({
-        __unstableExplicitMenuItem: __unstableExplicitMenuItem,
-        __unstableTarget: `${scope}/${target}`,
-        as: PluginsMenuItem,
-        name: `${scope}/plugin-more-menu`
-      }, toggleProps));
-    },
-    role: "menuitemcheckbox",
-    selectedIcon: check["a" /* default */],
-    name: target,
-    scope: scope
-  }, props));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/pinned-items/index.js
+  const baseFormData = new window.FormData(document.querySelector('.metabox-base-form'));
+  const activeMetaBoxLocations = yield external_wp_data_namespaceObject.controls.select(store_store, 'getActiveMetaBoxLocations');
+  const formDataToMerge = [baseFormData, ...activeMetaBoxLocations.map(location => new window.FormData(getMetaBoxContainer(location)))]; // Merge all form data objects into a single one.

+  const formData = (0,external_lodash_namespaceObject.reduce)(formDataToMerge, (memo, currentFormData) => {
+    for (const [key, value] of currentFormData) {
+      memo.append(key, value);
+    }

+    return memo;
+  }, new window.FormData());
+  additionalData.forEach(_ref => {
+    let [key, value] = _ref;
+    return formData.append(key, value);
+  });

+  try {
+    // Save the metaboxes
+    yield (0,external_wp_dataControls_namespaceObject.apiFetch)({
+      url: window._wpMetaBoxUrl,
+      method: 'POST',
+      body: formData,
+      parse: false
+    });
+    yield external_wp_data_namespaceObject.controls.dispatch(store_store, 'metaBoxUpdatesSuccess');
+  } catch {
+    yield external_wp_data_namespaceObject.controls.dispatch(store_store, 'metaBoxUpdatesFailure');
+  }
+}
 /**
- * External dependencies
+ * Returns an action object used to signal a successful meta box update.
+ *
+ * @return {Object} Action object.
  */

-
+function metaBoxUpdatesSuccess() {
+  return {
+    type: 'META_BOX_UPDATES_SUCCESS'
+  };
+}
 /**
- * WordPress dependencies
+ * Returns an action object used to signal a failed meta box update.
+ *
+ * @return {Object} Action object.
  */

-
-
-function PinnedItems(_ref) {
-  let {
-    scope,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], Object(esm_extends["a" /* default */])({
-    name: `PinnedItems/${scope}`
-  }, props));
+function metaBoxUpdatesFailure() {
+  return {
+    type: 'META_BOX_UPDATES_FAILURE'
+  };
 }
+/**
+ * Returns an action object used to toggle the width of the editing canvas.
+ *
+ * @param {string} deviceType
+ *
+ * @return {Object} Action object.
+ */

-function PinnedItemsSlot(_ref2) {
-  let {
-    scope,
-    className,
-    ...props
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
-    name: `PinnedItems/${scope}`
-  }, props), fills => !Object(external_lodash_["isEmpty"])(fills) && Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()(className, 'interface-pinned-items')
-  }, fills));
+function __experimentalSetPreviewDeviceType(deviceType) {
+  return {
+    type: 'SET_PREVIEW_DEVICE_TYPE',
+    deviceType
+  };
 }
+/**
+ * Returns an action object used to open/close the inserter.
+ *
+ * @param {boolean|Object} value                Whether the inserter should be
+ *                                              opened (true) or closed (false).
+ *                                              To specify an insertion point,
+ *                                              use an object.
+ * @param {string}         value.rootClientId   The root client ID to insert at.
+ * @param {number}         value.insertionIndex The index to insert at.
+ *
+ * @return {Object} Action object.
+ */

-PinnedItems.Slot = PinnedItemsSlot;
-/* harmony default export */ var pinned_items = (PinnedItems);
+function setIsInserterOpened(value) {
+  return {
+    type: 'SET_IS_INSERTER_OPENED',
+    value
+  };
+}
+/**
+ * Returns an action object used to open/close the list view.
+ *
+ * @param {boolean} isOpen A boolean representing whether the list view should be opened or closed.
+ * @return {Object} Action object.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area/index.js
+function setIsListViewOpened(isOpen) {
+  return {
+    type: 'SET_IS_LIST_VIEW_OPENED',
+    isOpen
+  };
+}
+/**
+ * Returns an action object used to switch to template editing.
+ *
+ * @param {boolean} value Is editing template.
+ * @return {Object} Action object.
+ */

+function setIsEditingTemplate(value) {
+  return {
+    type: 'SET_IS_EDITING_TEMPLATE',
+    value
+  };
+}
+/**
+ * Switches to the template mode.
+ *
+ * @param {boolean} newTemplate Is new template.
+ */

+function* __unstableSwitchToTemplateMode() {
+  let newTemplate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  yield setIsEditingTemplate(true);
+  const isWelcomeGuideActive = yield external_wp_data_namespaceObject.controls.select(store_store, 'isFeatureActive', 'welcomeGuideTemplate');

+  if (!isWelcomeGuideActive) {
+    const message = newTemplate ? (0,external_wp_i18n_namespaceObject.__)("Custom template created. You're in template mode now.") : (0,external_wp_i18n_namespaceObject.__)('Editing template. Changes made here affect all posts and pages that use the template.');
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createSuccessNotice', message, {
+      type: 'snackbar'
+    });
+  }
+}
 /**
- * External dependencies
+ * Create a block based template.
+ *
+ * @param {Object?} template Template to create and assign.
  */

+function* __unstableCreateTemplate(template) {
+  const savedTemplate = yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'saveEntityRecord', 'postType', 'wp_template', template);
+  const post = yield external_wp_data_namespaceObject.controls.select(external_wp_editor_namespaceObject.store, 'getCurrentPost');
+  yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'editEntityRecord', 'postType', post.type, post.id, {
+    template: savedTemplate.slug
+  });
+}
+let actions_metaBoxesInitialized = false;
 /**
- * WordPress dependencies
+ * Initializes WordPress `postboxes` script and the logic for saving meta boxes.
  */

+function* initializeMetaBoxes() {
+  const isEditorReady = yield external_wp_data_namespaceObject.controls.select(external_wp_editor_namespaceObject.store, '__unstableIsEditorReady');
+
+  if (!isEditorReady) {
+    return;
+  }

+  const postType = yield external_wp_data_namespaceObject.controls.select(external_wp_editor_namespaceObject.store, 'getCurrentPostType'); // Only initialize once.

+  if (actions_metaBoxesInitialized) {
+    return;
+  }

+  if (window.postboxes.page !== postType) {
+    window.postboxes.add_postbox_toggles(postType);
+  }

+  actions_metaBoxesInitialized = true;
+  let wasSavingPost = yield external_wp_data_namespaceObject.controls.select(external_wp_editor_namespaceObject.store, 'isSavingPost');
+  let wasAutosavingPost = yield external_wp_data_namespaceObject.controls.select(external_wp_editor_namespaceObject.store, 'isAutosavingPost');
+  const hasMetaBoxes = yield external_wp_data_namespaceObject.controls.select(store_store, 'hasMetaBoxes'); // Save metaboxes when performing a full save on the post.

+  (0,external_wp_data_namespaceObject.subscribe)(() => {
+    const isSavingPost = (0,external_wp_data_namespaceObject.select)(external_wp_editor_namespaceObject.store).isSavingPost();
+    const isAutosavingPost = (0,external_wp_data_namespaceObject.select)(external_wp_editor_namespaceObject.store).isAutosavingPost(); // Save metaboxes on save completion, except for autosaves that are not a post preview.
+    //
+    // Meta boxes are initialized once at page load. It is not necessary to
+    // account for updates on each state change.
+    //
+    // See: https://github.com/WordPress/WordPress/blob/5.1.1/wp-admin/includes/post.php#L2307-L2309

-/**
- * Internal dependencies
- */
+    const shouldTriggerMetaboxesSave = hasMetaBoxes && wasSavingPost && !isSavingPost && !wasAutosavingPost; // Save current state for next inspection.

+    wasSavingPost = isSavingPost;
+    wasAutosavingPost = isAutosavingPost;

+    if (shouldTriggerMetaboxesSave) {
+      (0,external_wp_data_namespaceObject.dispatch)(store_store).requestMetaBoxUpdates();
+    }
+  });
+  return {
+    type: 'META_BOXES_INITIALIZED'
+  };
+}

+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js


+var LEAF_KEY, hasWeakMap;

+/**
+ * Arbitrary value used as key for referencing cache object in WeakMap tree.
+ *
+ * @type {Object}
+ */
+LEAF_KEY = {};

+/**
+ * Whether environment supports WeakMap.
+ *
+ * @type {boolean}
+ */
+hasWeakMap = typeof WeakMap !== 'undefined';

-function ComplementaryAreaSlot(_ref) {
-  let {
-    scope,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
-    name: `ComplementaryArea/${scope}`
-  }, props));
+/**
+ * Returns the first argument as the sole entry in an array.
+ *
+ * @param {*} value Value to return.
+ *
+ * @return {Array} Value returned as entry in array.
+ */
+function arrayOf( value ) {
+	return [ value ];
 }

-function ComplementaryAreaFill(_ref2) {
-  let {
-    scope,
-    children,
-    className
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], {
-    name: `ComplementaryArea/${scope}`
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: className
-  }, children));
+/**
+ * Returns true if the value passed is object-like, or false otherwise. A value
+ * is object-like if it can support property assignment, e.g. object or array.
+ *
+ * @param {*} value Value to test.
+ *
+ * @return {boolean} Whether value is object-like.
+ */
+function isObjectLike( value ) {
+	return !! value && 'object' === typeof value;
 }

-function useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall) {
-  const previousIsSmall = Object(external_wp_element_["useRef"])(false);
-  const shouldOpenWhenNotSmall = Object(external_wp_element_["useRef"])(false);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    // If the complementary area is active and the editor is switching from a big to a small window size.
-    if (isActive && isSmall && !previousIsSmall.current) {
-      // Disable the complementary area.
-      disableComplementaryArea(scope); // Flag the complementary area to be reopened when the window size goes from small to big.
+/**
+ * Creates and returns a new cache object.
+ *
+ * @return {Object} Cache object.
+ */
+function createCache() {
+	var cache = {
+		clear: function() {
+			cache.head = null;
+		},
+	};

-      shouldOpenWhenNotSmall.current = true;
-    } else if ( // If there is a flag indicating the complementary area should be enabled when we go from small to big window size
-    // and we are going from a small to big window size.
-    shouldOpenWhenNotSmall.current && !isSmall && previousIsSmall.current) {
-      // Remove the flag indicating the complementary area should be enabled.
-      shouldOpenWhenNotSmall.current = false; // Enable the complementary area.
-
-      enableComplementaryArea(scope, identifier);
-    } else if ( // If the flag is indicating the current complementary should be reopened but another complementary area becomes active,
-    // remove the flag.
-    shouldOpenWhenNotSmall.current && activeArea && activeArea !== identifier) {
-      shouldOpenWhenNotSmall.current = false;
-    }
-
-    if (isSmall !== previousIsSmall.current) {
-      previousIsSmall.current = isSmall;
-    }
-  }, [isActive, isSmall, scope, identifier, activeArea]);
-}
-
-function ComplementaryArea(_ref3) {
-  let {
-    children,
-    className,
-    closeLabel = Object(external_wp_i18n_["__"])('Close plugin'),
-    identifier,
-    header,
-    headerClassName,
-    icon,
-    isPinnable = true,
-    panelClassName,
-    scope,
-    name,
-    smallScreenTitle,
-    title,
-    toggleShortcut,
-    isActiveByDefault,
-    showIconLabels = false
-  } = _ref3;
-  const {
-    isActive,
-    isPinned,
-    activeArea,
-    isSmall,
-    isLarge
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getActiveComplementaryArea,
-      isItemPinned
-    } = select(store);
-
-    const _activeArea = getActiveComplementaryArea(scope);
-
-    return {
-      isActive: _activeArea === identifier,
-      isPinned: isItemPinned(scope, identifier),
-      activeArea: _activeArea,
-      isSmall: select(external_wp_viewport_["store"]).isViewportMatch('< medium'),
-      isLarge: select(external_wp_viewport_["store"]).isViewportMatch('large')
-    };
-  }, [identifier, scope]);
-  useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea,
-    pinItem,
-    unpinItem
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isActiveByDefault && activeArea === undefined && !isSmall) {
-      enableComplementaryArea(scope, identifier);
-    }
-  }, [activeArea, isActiveByDefault, scope, identifier, isSmall]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isPinnable && Object(external_wp_element_["createElement"])(pinned_items, {
-    scope: scope
-  }, isPinned && Object(external_wp_element_["createElement"])(complementary_area_toggle, {
-    scope: scope,
-    identifier: identifier,
-    isPressed: isActive && (!showIconLabels || isLarge),
-    "aria-expanded": isActive,
-    label: title,
-    icon: showIconLabels ? check["a" /* default */] : icon,
-    showTooltip: !showIconLabels,
-    variant: showIconLabels ? 'tertiary' : undefined
-  })), name && isPinnable && Object(external_wp_element_["createElement"])(ComplementaryAreaMoreMenuItem, {
-    target: name,
-    scope: scope,
-    icon: icon
-  }, title), isActive && Object(external_wp_element_["createElement"])(ComplementaryAreaFill, {
-    className: classnames_default()('interface-complementary-area', className),
-    scope: scope
-  }, Object(external_wp_element_["createElement"])(complementary_area_header, {
-    className: headerClassName,
-    closeLabel: closeLabel,
-    onClose: () => disableComplementaryArea(scope),
-    smallScreenTitle: smallScreenTitle,
-    toggleButtonProps: {
-      label: closeLabel,
-      shortcut: toggleShortcut,
-      scope,
-      identifier
-    }
-  }, header || Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("strong", null, title), isPinnable && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "interface-complementary-area__pin-unpin-item",
-    icon: isPinned ? star_filled["a" /* default */] : star_empty["a" /* default */],
-    label: isPinned ? Object(external_wp_i18n_["__"])('Unpin from toolbar') : Object(external_wp_i18n_["__"])('Pin to toolbar'),
-    onClick: () => (isPinned ? unpinItem : pinItem)(scope, identifier),
-    isPressed: isPinned,
-    "aria-expanded": isPinned
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["Panel"], {
-    className: panelClassName
-  }, children)));
+	return cache;
 }

-const ComplementaryAreaWrapped = complementary_area_context(ComplementaryArea);
-ComplementaryAreaWrapped.Slot = ComplementaryAreaSlot;
-/* harmony default export */ var complementary_area = (ComplementaryAreaWrapped);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/fullscreen-mode/index.js
 /**
- * WordPress dependencies
+ * Returns true if entries within the two arrays are strictly equal by
+ * reference from a starting index.
+ *
+ * @param {Array}  a         First array.
+ * @param {Array}  b         Second array.
+ * @param {number} fromIndex Index from which to start comparison.
+ *
+ * @return {boolean} Whether arrays are shallowly equal.
  */
+function isShallowEqual( a, b, fromIndex ) {
+	var i;

+	if ( a.length !== b.length ) {
+		return false;
+	}

-const FullscreenMode = _ref => {
-  let {
-    isActive
-  } = _ref;
-  Object(external_wp_element_["useEffect"])(() => {
-    let isSticky = false; // `is-fullscreen-mode` is set in PHP as a body class by Gutenberg, and this causes
-    // `sticky-menu` to be applied by WordPress and prevents the admin menu being scrolled
-    // even if `is-fullscreen-mode` is then removed. Let's remove `sticky-menu` here as
-    // a consequence of the FullscreenMode setup
-
-    if (document.body.classList.contains('sticky-menu')) {
-      isSticky = true;
-      document.body.classList.remove('sticky-menu');
-    }
-
-    return () => {
-      if (isSticky) {
-        document.body.classList.add('sticky-menu');
-      }
-    };
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isActive) {
-      document.body.classList.add('is-fullscreen-mode');
-    } else {
-      document.body.classList.remove('is-fullscreen-mode');
-    }
-
-    return () => {
-      if (isActive) {
-        document.body.classList.remove('is-fullscreen-mode');
-      }
-    };
-  }, [isActive]);
-  return null;
-};
-
-/* harmony default export */ var fullscreen_mode = (FullscreenMode);
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/interface-skeleton/index.js
-
-
+	for ( i = fromIndex; i < a.length; i++ ) {
+		if ( a[ i ] !== b[ i ] ) {
+			return false;
+		}
+	}

-/**
- * External dependencies
- */
+	return true;
+}

 /**
- * WordPress dependencies
+ * Returns a memoized selector function. The getDependants function argument is
+ * called before the memoized selector and is expected to return an immutable
+ * reference or array of references on which the selector depends for computing
+ * its own return value. The memoize cache is preserved only as long as those
+ * dependant references remain the same. If getDependants returns a different
+ * reference(s), the cache is cleared and the selector value regenerated.
+ *
+ * @param {Function} selector      Selector function.
+ * @param {Function} getDependants Dependant getter returning an immutable
+ *                                 reference or array of reference used in
+ *                                 cache bust consideration.
+ *
+ * @return {Function} Memoized selector.
  */
+/* harmony default export */ function rememo(selector, getDependants ) {
+	var rootCache, getCache;

-/**
- * WordPress dependencies
- */
+	// Use object source as dependant if getter not provided
+	if ( ! getDependants ) {
+		getDependants = arrayOf;
+	}

+	/**
+	 * Returns the root cache. If WeakMap is supported, this is assigned to the
+	 * root WeakMap cache set, otherwise it is a shared instance of the default
+	 * cache object.
+	 *
+	 * @return {(WeakMap|Object)} Root cache object.
+	 */
+	function getRootCache() {
+		return rootCache;
+	}

+	/**
+	 * Returns the cache for a given dependants array. When possible, a WeakMap
+	 * will be used to create a unique cache for each set of dependants. This
+	 * is feasible due to the nature of WeakMap in allowing garbage collection
+	 * to occur on entries where the key object is no longer referenced. Since
+	 * WeakMap requires the key to be an object, this is only possible when the
+	 * dependant is object-like. The root cache is created as a hierarchy where
+	 * each top-level key is the first entry in a dependants set, the value a
+	 * WeakMap where each key is the next dependant, and so on. This continues
+	 * so long as the dependants are object-like. If no dependants are object-
+	 * like, then the cache is shared across all invocations.
+	 *
+	 * @see isObjectLike
+	 *
+	 * @param {Array} dependants Selector dependants.
+	 *
+	 * @return {Object} Cache object.
+	 */
+	function getWeakMapCache( dependants ) {
+		var caches = rootCache,
+			isUniqueByDependants = true,
+			i, dependant, map, cache;

+		for ( i = 0; i < dependants.length; i++ ) {
+			dependant = dependants[ i ];

+			// Can only compose WeakMap from object-like key.
+			if ( ! isObjectLike( dependant ) ) {
+				isUniqueByDependants = false;
+				break;
+			}

+			// Does current segment of cache already have a WeakMap?
+			if ( caches.has( dependant ) ) {
+				// Traverse into nested WeakMap.
+				caches = caches.get( dependant );
+			} else {
+				// Create, set, and traverse into a new one.
+				map = new WeakMap();
+				caches.set( dependant, map );
+				caches = map;
+			}
+		}

-function useHTMLClass(className) {
-  Object(external_wp_element_["useEffect"])(() => {
-    const element = document && document.querySelector(`html:not(.${className})`);
+		// We use an arbitrary (but consistent) object as key for the last item
+		// in the WeakMap to serve as our running cache.
+		if ( ! caches.has( LEAF_KEY ) ) {
+			cache = createCache();
+			cache.isUniqueByDependants = isUniqueByDependants;
+			caches.set( LEAF_KEY, cache );
+		}

-    if (!element) {
-      return;
-    }
+		return caches.get( LEAF_KEY );
+	}

-    element.classList.toggle(className);
-    return () => {
-      element.classList.toggle(className);
-    };
-  }, [className]);
-}
+	// Assign cache handler by availability of WeakMap
+	getCache = hasWeakMap ? getWeakMapCache : getRootCache;

-function InterfaceSkeleton(_ref, ref) {
-  let {
-    footer,
-    header,
-    sidebar,
-    secondarySidebar,
-    notices,
-    content,
-    drawer,
-    actions,
-    labels,
-    className,
-    shortcuts
-  } = _ref;
-  const navigateRegionsProps = Object(external_wp_components_["__unstableUseNavigateRegions"])(shortcuts);
-  useHTMLClass('interface-interface-skeleton__html-container');
-  const defaultLabels = {
-    /* translators: accessibility text for the nav bar landmark region. */
-    drawer: Object(external_wp_i18n_["__"])('Drawer'),
+	/**
+	 * Resets root memoization cache.
+	 */
+	function clear() {
+		rootCache = hasWeakMap ? new WeakMap() : createCache();
+	}

-    /* translators: accessibility text for the top bar landmark region. */
-    header: Object(external_wp_i18n_["__"])('Header'),
+	// eslint-disable-next-line jsdoc/check-param-names
+	/**
+	 * The augmented selector call, considering first whether dependants have
+	 * changed before passing it to underlying memoize function.
+	 *
+	 * @param {Object} source    Source object for derivation.
+	 * @param {...*}   extraArgs Additional arguments to pass to selector.
+	 *
+	 * @return {*} Selector result.
+	 */
+	function callSelector( /* source, ...extraArgs */ ) {
+		var len = arguments.length,
+			cache, node, i, args, dependants;

-    /* translators: accessibility text for the content landmark region. */
-    body: Object(external_wp_i18n_["__"])('Content'),
+		// Create copy of arguments (avoid leaking deoptimization).
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}

-    /* translators: accessibility text for the secondary sidebar landmark region. */
-    secondarySidebar: Object(external_wp_i18n_["__"])('Block Library'),
+		dependants = getDependants.apply( null, args );
+		cache = getCache( dependants );

-    /* translators: accessibility text for the settings landmark region. */
-    sidebar: Object(external_wp_i18n_["__"])('Settings'),
+		// If not guaranteed uniqueness by dependants (primitive type or lack
+		// of WeakMap support), shallow compare against last dependants and, if
+		// references have changed, destroy cache to recalculate result.
+		if ( ! cache.isUniqueByDependants ) {
+			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
+				cache.clear();
+			}

-    /* translators: accessibility text for the publish landmark region. */
-    actions: Object(external_wp_i18n_["__"])('Publish'),
+			cache.lastDependants = dependants;
+		}

-    /* translators: accessibility text for the footer landmark region. */
-    footer: Object(external_wp_i18n_["__"])('Footer')
-  };
-  const mergedLabels = { ...defaultLabels,
-    ...labels
-  };
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, navigateRegionsProps, {
-    ref: Object(external_wp_compose_["useMergeRefs"])([ref, navigateRegionsProps.ref]),
-    className: classnames_default()(className, 'interface-interface-skeleton', navigateRegionsProps.className, !!footer && 'has-footer')
-  }), !!drawer && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__drawer",
-    role: "region",
-    "aria-label": mergedLabels.drawer,
-    tabIndex: "-1"
-  }, drawer), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__editor"
-  }, !!header && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__header",
-    role: "region",
-    "aria-label": mergedLabels.header,
-    tabIndex: "-1"
-  }, header), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__body"
-  }, !!secondarySidebar && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__secondary-sidebar",
-    role: "region",
-    "aria-label": mergedLabels.secondarySidebar,
-    tabIndex: "-1"
-  }, secondarySidebar), !!notices && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__notices"
-  }, notices), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__content",
-    role: "region",
-    "aria-label": mergedLabels.body,
-    tabIndex: "-1"
-  }, content), !!sidebar && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__sidebar",
-    role: "region",
-    "aria-label": mergedLabels.sidebar,
-    tabIndex: "-1"
-  }, sidebar), !!actions && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__actions",
-    role: "region",
-    "aria-label": mergedLabels.actions,
-    tabIndex: "-1"
-  }, actions))), !!footer && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__footer",
-    role: "region",
-    "aria-label": mergedLabels.footer,
-    tabIndex: "-1"
-  }, footer));
-}
+		node = cache.head;
+		while ( node ) {
+			// Check whether node arguments match arguments
+			if ( ! isShallowEqual( node.args, args, 1 ) ) {
+				node = node.next;
+				continue;
+			}

-/* harmony default export */ var interface_skeleton = (Object(external_wp_element_["forwardRef"])(InterfaceSkeleton));
+			// At this point we can assume we've found a match

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
-var more_vertical = __webpack_require__("VKE3");
+			// Surface matched node to head if not already
+			if ( node !== cache.head ) {
+				// Adjust siblings to point to each other.
+				node.prev.next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-dropdown/index.js
+				node.next = cache.head;
+				node.prev = null;
+				cache.head.prev = node;
+				cache.head = node;
+			}

+			// Return immediately
+			return node.val;
+		}

-/**
- * External dependencies
- */
+		// No cached value found. Continue to insertion phase:

-/**
- * WordPress dependencies
- */
+		node = {
+			// Generate the result from original function
+			val: selector.apply( null, args ),
+		};

+		// Avoid including the source object in the cache.
+		args[ 0 ] = null;
+		node.args = args;

+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was

+		// Shift existing head down list
+		if ( cache.head ) {
+			cache.head.prev = node;
+			node.next = cache.head;
+		}

-function MoreMenuDropdown(_ref) {
-  let {
-    as: DropdownComponent = external_wp_components_["DropdownMenu"],
-    className,
+		cache.head = node;

-    /* translators: button label text should, if possible, be under 16 characters. */
-    label = Object(external_wp_i18n_["__"])('Options'),
-    popoverProps,
-    toggleProps,
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(DropdownComponent, {
-    className: classnames_default()('interface-more-menu-dropdown', className),
-    icon: more_vertical["a" /* default */],
-    label: label,
-    popoverProps: {
-      position: 'bottom left',
-      ...popoverProps,
-      className: classnames_default()('interface-more-menu-dropdown__content', popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.className)
-    },
-    toggleProps: {
-      tooltipPosition: 'bottom',
-      ...toggleProps
-    }
-  }, onClose => children(onClose));
-}
+		return node.val;
+	}
+
+	callSelector.getDependants = getDependants;
+	callSelector.clear = clear;
+	clear();

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+	return callSelector;
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-feature-toggle/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/selectors.js
+/**
+ * External dependencies
+ */


 /**
@@ -3256,538 +2894,457 @@ var external_wp_a11y_ = __webpack_require__("gdqT");


 /**
- * Internal dependencies
+ * Returns the current editing mode.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {string} Editing mode.
  */

-
-function MoreMenuFeatureToggle(_ref) {
-  let {
-    scope,
-    label,
-    info,
-    messageActivated,
-    messageDeactivated,
-    shortcut,
-    feature
-  } = _ref;
-  const isActive = Object(external_wp_data_["useSelect"])(select => select(store).isFeatureActive(scope, feature), [feature]);
-  const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store);
-
-  const speakMessage = () => {
-    if (isActive) {
-      Object(external_wp_a11y_["speak"])(messageDeactivated || Object(external_wp_i18n_["__"])('Feature deactivated'));
-    } else {
-      Object(external_wp_a11y_["speak"])(messageActivated || Object(external_wp_i18n_["__"])('Feature activated'));
-    }
-  };
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    icon: isActive && check["a" /* default */],
-    isSelected: isActive,
-    onClick: () => {
-      toggleFeature(scope, feature);
-      speakMessage();
-    },
-    role: "menuitemcheckbox",
-    info: info,
-    shortcut: shortcut
-  }, label);
+function getEditorMode(state) {
+  return getPreference(state, 'editorMode', 'visual');
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/index.js
-
-
-
-
-
-
-
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/index.js
-
-
-
-
-/***/ }),
-
-/***/ "URob":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
 /**
- * WordPress dependencies
+ * Returns true if the editor sidebar is opened.
+ *
+ * @param {Object} state Global application state
+ *
+ * @return {boolean} Whether the editor sidebar is opened.
  */

-const starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starFilled);
-
-
-/***/ }),
-
-/***/ "VKE3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
+const isEditorSidebarOpened = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  const activeGeneralSidebar = select(store).getActiveComplementaryArea('core/edit-post');
+  return (0,external_lodash_namespaceObject.includes)(['edit-post/document', 'edit-post/block'], activeGeneralSidebar);
+});
 /**
- * WordPress dependencies
+ * Returns true if the plugin sidebar is opened.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the plugin sidebar is opened.
  */

-const moreVertical = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (moreVertical);
-
-
-/***/ }),
-
-/***/ "Xxwi":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
+const isPluginSidebarOpened = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  const activeGeneralSidebar = select(store).getActiveComplementaryArea('core/edit-post');
+  return !!activeGeneralSidebar && !(0,external_lodash_namespaceObject.includes)(['edit-post/document', 'edit-post/block'], activeGeneralSidebar);
+});
 /**
- * WordPress dependencies
+ * Returns the current active general sidebar name, or null if there is no
+ * general sidebar active. The active general sidebar is a unique name to
+ * identify either an editor or plugin sidebar.
+ *
+ * Examples:
+ *
+ *  - `edit-post/document`
+ *  - `my-plugin/insert-image-sidebar`
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {?string} Active general sidebar name.
  */

-const starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starEmpty);
-
-
-/***/ }),
-
-/***/ "Y5n4":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ enable_custom_fields; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ enable_panel; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ enable_plugin_document_setting_panel; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ enable_publish_sidebar; });
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ enable_feature; });
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external ["wp","editor"]
-var external_wp_editor_ = __webpack_require__("jSdM");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/base.js
-
-
+const getActiveGeneralSidebarName = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  return select(store).getActiveComplementaryArea('core/edit-post');
+});
 /**
- * WordPress dependencies
+ * Returns the preferences (these preferences are persisted locally).
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} Preferences Object.
  */

-
-function BaseOption(_ref) {
-  let {
-    help,
-    label,
-    isChecked,
-    onChange,
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "edit-post-preferences-modal__option"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToggleControl"], {
-    help: help,
-    label: label,
-    checked: isChecked,
-    onChange: onChange
-  }), children);
+function getPreferences(state) {
+  return state.preferences;
 }
-
-/* harmony default export */ var base = (BaseOption);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-custom-fields.js
-
-
 /**
- * WordPress dependencies
+ *
+ * @param {Object} state         Global application state.
+ * @param {string} preferenceKey Preference Key.
+ * @param {*}      defaultValue  Default Value.
+ *
+ * @return {*} Preference Value.
  */

-
-
-
-
+function getPreference(state, preferenceKey, defaultValue) {
+  const preferences = getPreferences(state);
+  const value = preferences[preferenceKey];
+  return value === undefined ? defaultValue : value;
+}
 /**
- * Internal dependencies
+ * Returns true if the publish sidebar is opened.
+ *
+ * @param {Object} state Global application state
+ *
+ * @return {boolean} Whether the publish sidebar is open.
  */

-
-function CustomFieldsConfirmation(_ref) {
-  let {
-    willEnable
-  } = _ref;
-  const [isReloading, setIsReloading] = Object(external_wp_element_["useState"])(false);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("p", {
-    className: "edit-post-preferences-modal__custom-fields-confirmation-message"
-  }, Object(external_wp_i18n_["__"])('A page reload is required for this change. Make sure your content is saved before reloading.')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "edit-post-preferences-modal__custom-fields-confirmation-button",
-    variant: "secondary",
-    isBusy: isReloading,
-    disabled: isReloading,
-    onClick: () => {
-      setIsReloading(true);
-      document.getElementById('toggle-custom-fields-form').submit();
-    }
-  }, willEnable ? Object(external_wp_i18n_["__"])('Enable & Reload') : Object(external_wp_i18n_["__"])('Disable & Reload')));
-}
-function EnableCustomFieldsOption(_ref2) {
-  let {
-    label,
-    areCustomFieldsEnabled
-  } = _ref2;
-  const [isChecked, setIsChecked] = Object(external_wp_element_["useState"])(areCustomFieldsEnabled);
-  return Object(external_wp_element_["createElement"])(base, {
-    label: label,
-    isChecked: isChecked,
-    onChange: setIsChecked
-  }, isChecked !== areCustomFieldsEnabled && Object(external_wp_element_["createElement"])(CustomFieldsConfirmation, {
-    willEnable: isChecked
-  }));
+function isPublishSidebarOpened(state) {
+  return state.publishSidebarActive;
 }
-/* harmony default export */ var enable_custom_fields = (Object(external_wp_data_["withSelect"])(select => ({
-  areCustomFieldsEnabled: !!select(external_wp_editor_["store"]).getEditorSettings().enableCustomFields
-}))(EnableCustomFieldsOption));
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/store/index.js + 5 modules
-var store = __webpack_require__("T40v");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-panel.js
 /**
- * WordPress dependencies
+ * Returns true if the given panel was programmatically removed, or false otherwise.
+ * All panels are not removed by default.
+ *
+ * @param {Object} state     Global application state.
+ * @param {string} panelName A string that identifies the panel.
+ *
+ * @return {boolean} Whether or not the panel is removed.
  */

-
+function isEditorPanelRemoved(state, panelName) {
+  return (0,external_lodash_namespaceObject.includes)(state.removedPanels, panelName);
+}
 /**
- * Internal dependencies
+ * Returns true if the given panel is enabled, or false otherwise. Panels are
+ * enabled by default.
+ *
+ * @param {Object} state     Global application state.
+ * @param {string} panelName A string that identifies the panel.
+ *
+ * @return {boolean} Whether or not the panel is enabled.
  */

-
-
-/* harmony default export */ var enable_panel = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])((select, _ref) => {
-  let {
-    panelName
-  } = _ref;
-  const {
-    isEditorPanelEnabled,
-    isEditorPanelRemoved
-  } = select(store["a" /* store */]);
-  return {
-    isRemoved: isEditorPanelRemoved(panelName),
-    isChecked: isEditorPanelEnabled(panelName)
-  };
-}), Object(external_wp_compose_["ifCondition"])(_ref2 => {
-  let {
-    isRemoved
-  } = _ref2;
-  return !isRemoved;
-}), Object(external_wp_data_["withDispatch"])((dispatch, _ref3) => {
-  let {
-    panelName
-  } = _ref3;
-  return {
-    onChange: () => dispatch(store["a" /* store */]).toggleEditorPanelEnabled(panelName)
-  };
-}))(base));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-plugin-document-setting-panel.js
-
-
+function isEditorPanelEnabled(state, panelName) {
+  const panels = getPreference(state, 'panels');
+  return !isEditorPanelRemoved(state, panelName) && (0,external_lodash_namespaceObject.get)(panels, [panelName, 'enabled'], true);
+}
 /**
- * WordPress dependencies
+ * Returns true if the given panel is open, or false otherwise. Panels are
+ * closed by default.
+ *
+ * @param {Object} state     Global application state.
+ * @param {string} panelName A string that identifies the panel.
+ *
+ * @return {boolean} Whether or not the panel is open.
  */

+function isEditorPanelOpened(state, panelName) {
+  const panels = getPreference(state, 'panels');
+  return (0,external_lodash_namespaceObject.get)(panels, [panelName]) === true || (0,external_lodash_namespaceObject.get)(panels, [panelName, 'opened']) === true;
+}
 /**
- * Internal dependencies
+ * Returns true if a modal is active, or false otherwise.
+ *
+ * @param {Object} state     Global application state.
+ * @param {string} modalName A string that uniquely identifies the modal.
+ *
+ * @return {boolean} Whether the modal is active.
  */

-
-const {
-  Fill,
-  Slot
-} = Object(external_wp_components_["createSlotFill"])('EnablePluginDocumentSettingPanelOption');
-
-const EnablePluginDocumentSettingPanelOption = _ref => {
-  let {
-    label,
-    panelName
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(Fill, null, Object(external_wp_element_["createElement"])(enable_panel, {
-    label: label,
-    panelName: panelName
-  }));
-};
-
-EnablePluginDocumentSettingPanelOption.Slot = Slot;
-/* harmony default export */ var enable_plugin_document_setting_panel = (EnablePluginDocumentSettingPanelOption);
-
-// EXTERNAL MODULE: external ["wp","viewport"]
-var external_wp_viewport_ = __webpack_require__("KEfo");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-publish-sidebar.js
+function isModalActive(state, modalName) {
+  return state.activeModal === modalName;
+}
 /**
- * WordPress dependencies
+ * Returns whether the given feature is enabled or not.
+ *
+ * @param {Object} state   Global application state.
+ * @param {string} feature Feature slug.
+ *
+ * @return {boolean} Is active.
  */

-
-
-
+const selectors_isFeatureActive = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, feature) => {
+  return select(store).isFeatureActive('core/edit-post', feature);
+});
 /**
- * Internal dependencies
+ * Returns true if the plugin item is pinned to the header.
+ * When the value is not set it defaults to true.
+ *
+ * @param {Object} state      Global application state.
+ * @param {string} pluginName Plugin item name.
+ *
+ * @return {boolean} Whether the plugin item is pinned.
  */

-
-/* harmony default export */ var enable_publish_sidebar = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])(select => ({
-  isChecked: select(external_wp_editor_["store"]).isPublishSidebarEnabled()
-})), Object(external_wp_data_["withDispatch"])(dispatch => {
-  const {
-    enablePublishSidebar,
-    disablePublishSidebar
-  } = dispatch(external_wp_editor_["store"]);
-  return {
-    onChange: isEnabled => isEnabled ? enablePublishSidebar() : disablePublishSidebar()
-  };
-}), // In < medium viewports we override this option and always show the publish sidebar.
-// See the edit-post's header component for the specific logic.
-Object(external_wp_viewport_["ifViewportMatches"])('medium'))(base));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-feature.js
+const isPluginItemPinned = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, pluginName) => {
+  return select(store).isItemPinned('core/edit-post', pluginName);
+});
 /**
- * WordPress dependencies
+ * Returns an array of active meta box locations.
+ *
+ * @param {Object} state Post editor state.
+ *
+ * @return {string[]} Active meta box locations.
  */

-
+const getActiveMetaBoxLocations = rememo(state => {
+  return Object.keys(state.metaBoxes.locations).filter(location => isMetaBoxLocationActive(state, location));
+}, state => [state.metaBoxes.locations]);
 /**
- * Internal dependencies
- */
-
-
-
-/* harmony default export */ var enable_feature = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])((select, _ref) => {
-  let {
-    featureName
-  } = _ref;
-  const {
-    isFeatureActive
-  } = select(store["a" /* store */]);
-  return {
-    isChecked: isFeatureActive(featureName)
-  };
-}), Object(external_wp_data_["withDispatch"])((dispatch, _ref2) => {
-  let {
-    featureName
-  } = _ref2;
-  return {
-    onChange: () => dispatch(store["a" /* store */]).toggleFeature(featureName)
-  };
-}))(base));
+ * Returns true if a metabox location is active and visible
+ *
+ * @param {Object} state    Post editor state.
+ * @param {string} location Meta box location to test.
+ *
+ * @return {boolean} Whether the meta box location is active and visible.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/index.js
+function isMetaBoxLocationVisible(state, location) {
+  return isMetaBoxLocationActive(state, location) && (0,external_lodash_namespaceObject.some)(getMetaBoxesPerLocation(state, location), _ref => {
+    let {
+      id
+    } = _ref;
+    return isEditorPanelEnabled(state, `meta-box-${id}`);
+  });
+}
+/**
+ * Returns true if there is an active meta box in the given location, or false
+ * otherwise.
+ *
+ * @param {Object} state    Post editor state.
+ * @param {string} location Meta box location to test.
+ *
+ * @return {boolean} Whether the meta box location is active.
+ */

+function isMetaBoxLocationActive(state, location) {
+  const metaBoxes = getMetaBoxesPerLocation(state, location);
+  return !!metaBoxes && metaBoxes.length !== 0;
+}
+/**
+ * Returns the list of all the available meta boxes for a given location.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} location Meta box location to test.
+ *
+ * @return {?Array} List of meta boxes.
+ */

+function getMetaBoxesPerLocation(state, location) {
+  return state.metaBoxes.locations[location];
+}
+/**
+ * Returns the list of all the available meta boxes.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Array} List of meta boxes.
+ */

+const getAllMetaBoxes = rememo(state => {
+  return (0,external_lodash_namespaceObject.flatten)((0,external_lodash_namespaceObject.values)(state.metaBoxes.locations));
+}, state => [state.metaBoxes.locations]);
+/**
+ * Returns true if the post is using Meta Boxes
+ *
+ * @param {Object} state Global application state
+ *
+ * @return {boolean} Whether there are metaboxes or not.
+ */

+function hasMetaBoxes(state) {
+  return getActiveMetaBoxLocations(state).length > 0;
+}
+/**
+ * Returns true if the Meta Boxes are being saved.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the metaboxes are being saved.
+ */

+function selectors_isSavingMetaBoxes(state) {
+  return state.metaBoxes.isSaving;
+}
+/**
+ * Returns the current editing canvas device type.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {string} Device type.
+ */

+function __experimentalGetPreviewDeviceType(state) {
+  return state.deviceType;
+}
+/**
+ * Returns true if the inserter is opened.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the inserter is opened.
+ */

-/***/ }),
+function isInserterOpened(state) {
+  return !!state.blockInserterPanel;
+}
+/**
+ * Get the insertion point for the inserter.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} The root client ID, index to insert at and starting filter value.
+ */

-/***/ "YLtl":
-/***/ (function(module, exports) {
+function __experimentalGetInsertionPoint(state) {
+  const {
+    rootClientId,
+    insertionIndex,
+    filterValue
+  } = state.blockInserterPanel;
+  return {
+    rootClientId,
+    insertionIndex,
+    filterValue
+  };
+}
+/**
+ * Returns true if the list view is opened.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the list view is opened.
+ */

-(function() { module.exports = window["lodash"]; }());
+function isListViewOpened(state) {
+  return state.listViewPanel;
+}
+/**
+ * Returns true if the template editing mode is enabled.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether we're editing the template.
+ */

-/***/ }),
+function selectors_isEditingTemplate(state) {
+  return state.isEditingTemplate;
+}
+/**
+ * Returns true if meta boxes are initialized.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether meta boxes are initialized.
+ */

-/***/ "Z23Y":
-/***/ (function(module, exports) {
+function areMetaBoxesInitialized(state) {
+  return state.metaBoxes.initialized;
+}
+/**
+ * Retrieves the template of the currently edited post.
+ *
+ * @return {Object?} Post Template.
+ */

-(function() { module.exports = window["wp"]["warning"]; }());
+const getEditedPostTemplate = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  const currentTemplate = select(external_wp_editor_namespaceObject.store).getEditedPostAttribute('template');

-/***/ }),
+  if (currentTemplate) {
+    var _select$getEntityReco;

-/***/ "axFQ":
-/***/ (function(module, exports) {
+    const templateWithSameSlug = (_select$getEntityReco = select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_template', {
+      per_page: -1
+    })) === null || _select$getEntityReco === void 0 ? void 0 : _select$getEntityReco.find(template => template.slug === currentTemplate);

-(function() { module.exports = window["wp"]["blockEditor"]; }());
+    if (!templateWithSameSlug) {
+      return templateWithSameSlug;
+    }

-/***/ }),
+    return select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord('postType', 'wp_template', templateWithSameSlug.id);
+  }

-/***/ "bWcr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  const post = select(external_wp_editor_namespaceObject.store).getCurrentPost();

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  if (post.link) {
+    return select(external_wp_coreData_namespaceObject.store).__experimentalGetTemplateForLink(post.link);
+  }

+  return null;
+});

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/constants.js
 /**
- * WordPress dependencies
+ * The identifier for the data store.
+ *
+ * @type {string}
+ */
+const constants_STORE_NAME = 'core/edit-post';
+/**
+ * CSS selector string for the admin bar view post link anchor tag.
+ *
+ * @type {string}
  */

-const closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (closeSmall);
-
-
-/***/ }),
-
-/***/ "cjQ8":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+const VIEW_AS_LINK_SELECTOR = '#wp-admin-bar-view a';
+/**
+ * CSS selector string for the admin bar preview post link anchor tag.
+ *
+ * @type {string}
+ */

+const VIEW_AS_PREVIEW_LINK_SELECTOR = '#wp-admin-bar-preview a';

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/store/index.js
 /**
  * WordPress dependencies
  */

-const arrowLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (arrowLeft);
-

-/***/ }),
-
-/***/ "dSQ2":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Internal dependencies
+ */

-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "reinitializeEditor", function() { return /* binding */ reinitializeEditor; });
-__webpack_require__.d(__webpack_exports__, "initializeEditor", function() { return /* binding */ initializeEditor; });
-__webpack_require__.d(__webpack_exports__, "PluginBlockSettingsMenuItem", function() { return /* reexport */ plugin_block_settings_menu_item; });
-__webpack_require__.d(__webpack_exports__, "PluginDocumentSettingPanel", function() { return /* reexport */ plugin_document_setting_panel["a" /* default */]; });
-__webpack_require__.d(__webpack_exports__, "PluginMoreMenuItem", function() { return /* reexport */ plugin_more_menu_item; });
-__webpack_require__.d(__webpack_exports__, "PluginPostPublishPanel", function() { return /* reexport */ plugin_post_publish_panel; });
-__webpack_require__.d(__webpack_exports__, "PluginPostStatusInfo", function() { return /* reexport */ plugin_post_status_info; });
-__webpack_require__.d(__webpack_exports__, "PluginPrePublishPanel", function() { return /* reexport */ plugin_pre_publish_panel; });
-__webpack_require__.d(__webpack_exports__, "PluginSidebar", function() { return /* reexport */ PluginSidebarEditPost; });
-__webpack_require__.d(__webpack_exports__, "PluginSidebarMoreMenuItem", function() { return /* reexport */ PluginSidebarMoreMenuItem; });
-__webpack_require__.d(__webpack_exports__, "__experimentalFullscreenModeClose", function() { return /* reexport */ fullscreen_mode_close; });
-__webpack_require__.d(__webpack_exports__, "__experimentalMainDashboardButton", function() { return /* reexport */ main_dashboard_button; });
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store["a" /* store */]; });

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");

-// EXTERNAL MODULE: external ["wp","blockLibrary"]
-var external_wp_blockLibrary_ = __webpack_require__("QyPg");
+const storeConfig = {
+  reducer: store_reducer,
+  actions: store_actions_namespaceObject,
+  selectors: store_selectors_namespaceObject,
+  controls: external_wp_dataControls_namespaceObject.controls,
+  persist: ['preferences']
+};
+/**
+ * Store definition for the edit post namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
+ */

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+const store_store = (0,external_wp_data_namespaceObject.createReduxStore)(constants_STORE_NAME, storeConfig); // Ideally we use register instead of register store.

-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
+(0,external_wp_data_namespaceObject.registerStore)(constants_STORE_NAME, storeConfig);

-// EXTERNAL MODULE: ./node_modules/@wordpress/interface/build-module/index.js + 17 modules
-var build_module = __webpack_require__("U60i");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/keyboard-shortcuts-help-menu-item/index.js

-// EXTERNAL MODULE: external ["wp","mediaUtils"]
-var external_wp_mediaUtils_ = __webpack_require__("6aBm");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/components/index.js
 /**
  * WordPress dependencies
  */



-const replaceMediaUpload = () => external_wp_mediaUtils_["MediaUpload"];

-Object(external_wp_hooks_["addFilter"])('editor.MediaUpload', 'core/edit-post/replace-media-upload', replaceMediaUpload);
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/validate-multiple-use/index.js
+function KeyboardShortcutsHelpMenuItem(_ref) {
+  let {
+    openModal
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: () => {
+      openModal('edit-post/keyboard-shortcut-help');
+    },
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.access('h')
+  }, (0,external_wp_i18n_namespaceObject.__)('Keyboard shortcuts'));
+}
+/* harmony default export */ var keyboard_shortcuts_help_menu_item = ((0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
+  const {
+    openModal
+  } = dispatch(store_store);
+  return {
+    openModal
+  };
+})(KeyboardShortcutsHelpMenuItem));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/tools-more-menu-group/index.js


 /**
@@ -3800,246 +3357,25 @@ var external_wp_compose_ = __webpack_require__("K9lf");



+const {
+  Fill: ToolsMoreMenuGroup,
+  Slot
+} = (0,external_wp_components_namespaceObject.createSlotFill)('ToolsMoreMenuGroup');

+ToolsMoreMenuGroup.Slot = _ref => {
+  let {
+    fillProps
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(Slot, {
+    fillProps: fillProps
+  }, fills => !(0,external_lodash_namespaceObject.isEmpty)(fills) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Tools')
+  }, fills));
+};

+/* harmony default export */ var tools_more_menu_group = (ToolsMoreMenuGroup);

-
-
-const enhance = Object(external_wp_compose_["compose"])(
-/**
- * For blocks whose block type doesn't support `multiple`, provides the
- * wrapped component with `originalBlockClientId` -- a reference to the
- * first block of the same type in the content -- if and only if that
- * "original" block is not the current one. Thus, an inexisting
- * `originalBlockClientId` prop signals that the block is valid.
- *
- * @param {WPComponent} WrappedBlockEdit A filtered BlockEdit instance.
- *
- * @return {WPComponent} Enhanced component with merged state data props.
- */
-Object(external_wp_data_["withSelect"])((select, block) => {
-  const multiple = Object(external_wp_blocks_["hasBlockSupport"])(block.name, 'multiple', true); // For block types with `multiple` support, there is no "original
-  // block" to be found in the content, as the block itself is valid.
-
-  if (multiple) {
-    return {};
-  } // Otherwise, only pass `originalBlockClientId` if it refers to a different
-  // block from the current one.
-
-
-  const blocks = select(external_wp_blockEditor_["store"]).getBlocks();
-  const firstOfSameType = Object(external_lodash_["find"])(blocks, _ref => {
-    let {
-      name
-    } = _ref;
-    return block.name === name;
-  });
-  const isInvalid = firstOfSameType && firstOfSameType.clientId !== block.clientId;
-  return {
-    originalBlockClientId: isInvalid && firstOfSameType.clientId
-  };
-}), Object(external_wp_data_["withDispatch"])((dispatch, _ref2) => {
-  let {
-    originalBlockClientId
-  } = _ref2;
-  return {
-    selectFirst: () => dispatch(external_wp_blockEditor_["store"]).selectBlock(originalBlockClientId)
-  };
-}));
-const withMultipleValidation = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => {
-  return enhance(_ref3 => {
-    let {
-      originalBlockClientId,
-      selectFirst,
-      ...props
-    } = _ref3;
-
-    if (!originalBlockClientId) {
-      return Object(external_wp_element_["createElement"])(BlockEdit, props);
-    }
-
-    const blockType = Object(external_wp_blocks_["getBlockType"])(props.name);
-    const outboundType = getOutboundType(props.name);
-    return [Object(external_wp_element_["createElement"])("div", {
-      key: "invalid-preview",
-      style: {
-        minHeight: '60px'
-      }
-    }, Object(external_wp_element_["createElement"])(BlockEdit, Object(esm_extends["a" /* default */])({
-      key: "block-edit"
-    }, props))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], {
-      key: "multiple-use-warning",
-      actions: [Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        key: "find-original",
-        variant: "secondary",
-        onClick: selectFirst
-      }, Object(external_wp_i18n_["__"])('Find original')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        key: "remove",
-        variant: "secondary",
-        onClick: () => props.onReplace([])
-      }, Object(external_wp_i18n_["__"])('Remove')), outboundType && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        key: "transform",
-        variant: "secondary",
-        onClick: () => props.onReplace(Object(external_wp_blocks_["createBlock"])(outboundType.name, props.attributes))
-      }, Object(external_wp_i18n_["__"])('Transform into:'), " ", outboundType.title)]
-    }, Object(external_wp_element_["createElement"])("strong", null, blockType === null || blockType === void 0 ? void 0 : blockType.title, ": "), Object(external_wp_i18n_["__"])('This block can only be used once.'))];
-  });
-}, 'withMultipleValidation');
-/**
- * Given a base block name, returns the default block type to which to offer
- * transforms.
- *
- * @param {string} blockName Base block name.
- *
- * @return {?Object} The chosen default block type.
- */
-
-function getOutboundType(blockName) {
-  // Grab the first outbound transform
-  const transform = Object(external_wp_blocks_["findTransform"])(Object(external_wp_blocks_["getBlockTransforms"])('to', blockName), _ref4 => {
-    let {
-      type,
-      blocks
-    } = _ref4;
-    return type === 'block' && blocks.length === 1;
-  } // What about when .length > 1?
-  );
-
-  if (!transform) {
-    return null;
-  }
-
-  return Object(external_wp_blocks_["getBlockType"])(transform.blocks[0]);
-}
-
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/edit-post/validate-multiple-use/with-multiple-validation', withMultipleValidation);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/hooks/index.js
-/**
- * Internal dependencies
- */
-
-
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
-var external = __webpack_require__("K+tz");
-
-// EXTERNAL MODULE: external ["wp","plugins"]
-var external_wp_plugins_ = __webpack_require__("TvNi");
-
-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
-
-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
-
-// EXTERNAL MODULE: external ["wp","editor"]
-var external_wp_editor_ = __webpack_require__("jSdM");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/copy-content-menu-item/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-function CopyContentMenuItem() {
-  const {
-    createNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const getText = Object(external_wp_data_["useSelect"])(select => () => select(external_wp_editor_["store"]).getEditedPostAttribute('content'), []);
-
-  function onSuccess() {
-    createNotice('info', Object(external_wp_i18n_["__"])('All content copied.'), {
-      isDismissible: true,
-      type: 'snackbar'
-    });
-  }
-
-  const ref = Object(external_wp_compose_["useCopyToClipboard"])(getText, onSuccess);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    ref: ref
-  }, Object(external_wp_i18n_["__"])('Copy all content'));
-}
-
-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/store/index.js + 5 modules
-var store = __webpack_require__("T40v");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/keyboard-shortcuts-help-menu-item/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-function KeyboardShortcutsHelpMenuItem(_ref) {
-  let {
-    openModal
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: () => {
-      openModal('edit-post/keyboard-shortcut-help');
-    },
-    shortcut: external_wp_keycodes_["displayShortcut"].access('h')
-  }, Object(external_wp_i18n_["__"])('Keyboard shortcuts'));
-}
-/* harmony default export */ var keyboard_shortcuts_help_menu_item = (Object(external_wp_data_["withDispatch"])(dispatch => {
-  const {
-    openModal
-  } = dispatch(store["a" /* store */]);
-  return {
-    openModal
-  };
-})(KeyboardShortcutsHelpMenuItem));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/tools-more-menu-group/index.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-const {
-  Fill: ToolsMoreMenuGroup,
-  Slot
-} = Object(external_wp_components_["createSlotFill"])('ToolsMoreMenuGroup');
-
-ToolsMoreMenuGroup.Slot = _ref => {
-  let {
-    fillProps
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(Slot, {
-    fillProps: fillProps
-  }, fills => !Object(external_lodash_["isEmpty"])(fills) && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Tools')
-  }, fills));
-};
-
-/* harmony default export */ var tools_more_menu_group = (ToolsMoreMenuGroup);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/welcome-guide-menu-item/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/welcome-guide-menu-item/index.js


 /**
@@ -4054,15 +3390,15 @@ ToolsMoreMenuGroup.Slot = _ref => {


 function WelcomeGuideMenuItem() {
-  const isTemplateMode = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).isEditingTemplate(), []);
-  return Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
+  const isTemplateMode = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).isEditingTemplate(), []);
+  return (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
     scope: "core/edit-post",
     feature: isTemplateMode ? 'welcomeGuideTemplate' : 'welcomeGuide',
-    label: Object(external_wp_i18n_["__"])('Welcome Guide')
+    label: (0,external_wp_i18n_namespaceObject.__)('Welcome Guide')
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/plugins/index.js


 /**
@@ -4081,42 +3417,38 @@ function WelcomeGuideMenuItem() {



-Object(external_wp_plugins_["registerPlugin"])('edit-post', {
+(0,external_wp_plugins_namespaceObject.registerPlugin)('edit-post', {
   render() {
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(tools_more_menu_group, null, _ref => {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(tools_more_menu_group, null, _ref => {
       let {
         onClose
       } = _ref;
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
         role: "menuitem",
-        href: Object(external_wp_url_["addQueryArgs"])('edit.php', {
+        href: (0,external_wp_url_namespaceObject.addQueryArgs)('edit.php', {
           post_type: 'wp_block'
         })
-      }, Object(external_wp_i18n_["__"])('Manage Reusable blocks')), Object(external_wp_element_["createElement"])(keyboard_shortcuts_help_menu_item, {
+      }, (0,external_wp_i18n_namespaceObject.__)('Manage Reusable blocks')), (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts_help_menu_item, {
         onSelect: onClose
-      }), Object(external_wp_element_["createElement"])(WelcomeGuideMenuItem, null), Object(external_wp_element_["createElement"])(CopyContentMenuItem, null), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+      }), (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideMenuItem, null), (0,external_wp_element_namespaceObject.createElement)(CopyContentMenuItem, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
         role: "menuitem",
-        icon: external["a" /* default */],
-        href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/wordpress-editor/'),
+        icon: library_external,
+        href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/wordpress-editor/'),
         target: "_blank",
         rel: "noopener noreferrer"
-      }, Object(external_wp_i18n_["__"])('Help'), Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
+      }, (0,external_wp_i18n_namespaceObject.__)('Help'), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
         as: "span"
       },
       /* translators: accessibility text */
-      Object(external_wp_i18n_["__"])('(opens in a new tab)'))));
+      (0,external_wp_i18n_namespaceObject.__)('(opens in a new tab)'))));
     }));
   }

 });

-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
-
-// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
-var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/prevent-event-discovery.js
+;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"]
+var external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/prevent-event-discovery.js
 /* harmony default export */ var prevent_event_discovery = ({
   't a l e s o f g u t e n b e r g': event => {
     const {
@@ -4134,11 +3466,7 @@ var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");
   }
 });

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/text-editor/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/text-editor/index.js


 /**
@@ -4161,37 +3489,46 @@ function TextEditor(_ref) {
     onExit,
     isRichEditingEnabled
   } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-text-editor"
-  }, isRichEditingEnabled && Object(external_wp_element_["createElement"])("div", {
+  }, isRichEditingEnabled && (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-text-editor__toolbar"
-  }, Object(external_wp_element_["createElement"])("h2", null, Object(external_wp_i18n_["__"])('Editing code')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_element_namespaceObject.createElement)("h2", null, (0,external_wp_i18n_namespaceObject.__)('Editing code')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "tertiary",
     onClick: onExit,
-    shortcut: external_wp_keycodes_["displayShortcut"].secondary('m')
-  }, Object(external_wp_i18n_["__"])('Exit code editor')), Object(external_wp_element_["createElement"])(external_wp_editor_["TextEditorGlobalKeyboardShortcuts"], null)), Object(external_wp_element_["createElement"])("div", {
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.secondary('m')
+  }, (0,external_wp_i18n_namespaceObject.__)('Exit code editor')), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.TextEditorGlobalKeyboardShortcuts, null)), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-text-editor__body"
-  }, Object(external_wp_element_["createElement"])(external_wp_editor_["PostTitle"], null), Object(external_wp_element_["createElement"])(external_wp_editor_["PostTextEditor"], null)));
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTitle, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTextEditor, null)));
 }

-/* harmony default export */ var text_editor = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])(select => ({
-  isRichEditingEnabled: select(external_wp_editor_["store"]).getEditorSettings().richEditingEnabled
-})), Object(external_wp_data_["withDispatch"])(dispatch => {
+/* harmony default export */ var text_editor = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)(select => ({
+  isRichEditingEnabled: select(external_wp_editor_namespaceObject.store).getEditorSettings().richEditingEnabled
+})), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
   return {
     onExit() {
-      dispatch(store["a" /* store */]).switchEditorMode('visual');
+      dispatch(store_store).switchEditorMode('visual');
     }

   };
 }))(TextEditor));

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-left.js
-var arrow_left = __webpack_require__("cjQ8");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-left.js
+
+
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+const arrowLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var arrow_left = (arrowLeft);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/visual-editor/block-inspector-button.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/visual-editor/block-inspector-button.js


 /**
@@ -4214,29 +3551,29 @@ var external_wp_a11y_ = __webpack_require__("gdqT");

 function BlockInspectorButton(_ref) {
   let {
-    onClick = external_lodash_["noop"],
+    onClick = external_lodash_namespaceObject.noop,
     small = false
   } = _ref;
   const {
     shortcut,
     areAdvancedSettingsOpened
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    shortcut: select(external_wp_keyboardShortcuts_["store"]).getShortcutRepresentation('core/edit-post/toggle-sidebar'),
-    areAdvancedSettingsOpened: select(store["a" /* store */]).getActiveGeneralSidebarName() === 'edit-post/block'
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    shortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getShortcutRepresentation('core/edit-post/toggle-sidebar'),
+    areAdvancedSettingsOpened: select(store_store).getActiveGeneralSidebarName() === 'edit-post/block'
   }), []);
   const {
     openGeneralSidebar,
     closeGeneralSidebar
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const label = areAdvancedSettingsOpened ? Object(external_wp_i18n_["__"])('Hide more settings') : Object(external_wp_i18n_["__"])('Show more settings');
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const label = areAdvancedSettingsOpened ? (0,external_wp_i18n_namespaceObject.__)('Hide more settings') : (0,external_wp_i18n_namespaceObject.__)('Show more settings');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
     onClick: () => {
       if (areAdvancedSettingsOpened) {
         closeGeneralSidebar();
-        Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('Block settings closed'));
+        (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('Block settings closed'));
       } else {
         openGeneralSidebar('edit-post/block');
-        Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('Additional settings are now available in the Editor block settings sidebar'));
+        (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('Additional settings are now available in the Editor block settings sidebar'));
       }

       onClick();
@@ -4246,7 +3583,7 @@ function BlockInspectorButton(_ref) {
 }
 /* harmony default export */ var block_inspector_button = (BlockInspectorButton);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/visual-editor/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/visual-editor/index.js


 /**
@@ -4280,12 +3617,12 @@ function MaybeIframe(_ref) {
     styles,
     style
   } = _ref;
-  const ref = Object(external_wp_blockEditor_["__unstableUseMouseMoveTypingReset"])();
+  const ref = (0,external_wp_blockEditor_namespaceObject.__unstableUseMouseMoveTypingReset)();

   if (!shouldIframe) {
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableEditorStyles"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableEditorStyles, {
       styles: styles
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["WritingFlow"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.WritingFlow, {
       ref: contentRef,
       className: "editor-styles-wrapper",
       style: {
@@ -4296,8 +3633,8 @@ function MaybeIframe(_ref) {
     }, children));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableIframe"], {
-    head: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableEditorStyles"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableIframe, {
+    head: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableEditorStyles, {
       styles: styles
     }),
     ref: ref,
@@ -4320,15 +3657,15 @@ function VisualEditor(_ref2) {
     isTemplateMode,
     wrapperBlockName,
     wrapperUniqueId
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       isEditingTemplate,
       __experimentalGetPreviewDeviceType
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     const {
       getCurrentPostId,
       getCurrentPostType
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);

     const _isTemplateMode = isEditingTemplate();

@@ -4347,19 +3684,19 @@ function VisualEditor(_ref2) {
       wrapperUniqueId: getCurrentPostId()
     };
   }, []);
-  const hasMetaBoxes = Object(external_wp_data_["useSelect"])(select => select(store["a" /* store */]).hasMetaBoxes(), []);
-  const themeSupportsLayout = Object(external_wp_data_["useSelect"])(select => {
+  const hasMetaBoxes = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).hasMetaBoxes(), []);
+  const themeSupportsLayout = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     return getSettings().supportsLayout;
   }, []);
   const {
     clearSelectedBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
   const {
     setIsEditingTemplate
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
   const desktopCanvasStyles = {
     // We intentionally omit a 100% height here. The container is a flex item, so the 100% height is granted by default.
     // If a percentage height is present, older browsers such as Safari 13 apply that, but do so incorrectly as the inheritance is buggy.
@@ -4376,8 +3713,8 @@ function VisualEditor(_ref2) {
     border: '1px solid #ddd',
     borderBottom: 0
   };
-  const resizedCanvasStyles = Object(external_wp_blockEditor_["__experimentalUseResizeCanvas"])(deviceType, isTemplateMode);
-  const defaultLayout = Object(external_wp_blockEditor_["useSetting"])('layout');
+  const resizedCanvasStyles = (0,external_wp_blockEditor_namespaceObject.__experimentalUseResizeCanvas)(deviceType, isTemplateMode);
+  const defaultLayout = (0,external_wp_blockEditor_namespaceObject.useSetting)('layout');
   const previewMode = 'is-' + deviceType.toLowerCase() + '-preview';
   let animatedStyles = isTemplateMode ? templateModeStyles : desktopCanvasStyles;

@@ -4392,11 +3729,11 @@ function VisualEditor(_ref2) {
     paddingBottom = '40vh';
   }

-  const ref = Object(external_wp_element_["useRef"])();
-  const contentRef = Object(external_wp_compose_["useMergeRefs"])([ref, Object(external_wp_blockEditor_["__unstableUseClipboardHandler"])(), Object(external_wp_blockEditor_["__unstableUseCanvasClickRedirect"])(), Object(external_wp_blockEditor_["__unstableUseTypewriter"])(), Object(external_wp_blockEditor_["__unstableUseTypingObserver"])(), Object(external_wp_blockEditor_["__unstableUseBlockSelectionClearer"])()]);
-  const blockSelectionClearerRef = Object(external_wp_blockEditor_["__unstableUseBlockSelectionClearer"])();
-  const [, RecursionProvider] = Object(external_wp_blockEditor_["__experimentalUseNoRecursiveRenders"])(wrapperUniqueId, wrapperBlockName);
-  const layout = Object(external_wp_element_["useMemo"])(() => {
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const contentRef = (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, (0,external_wp_blockEditor_namespaceObject.__unstableUseClipboardHandler)(), (0,external_wp_blockEditor_namespaceObject.__unstableUseCanvasClickRedirect)(), (0,external_wp_blockEditor_namespaceObject.__unstableUseTypewriter)(), (0,external_wp_blockEditor_namespaceObject.__unstableUseTypingObserver)(), (0,external_wp_blockEditor_namespaceObject.__unstableUseBlockSelectionClearer)()]);
+  const blockSelectionClearerRef = (0,external_wp_blockEditor_namespaceObject.__unstableUseBlockSelectionClearer)();
+  const [, RecursionProvider] = (0,external_wp_blockEditor_namespaceObject.__experimentalUseNoRecursiveRenders)(wrapperUniqueId, wrapperBlockName);
+  const layout = (0,external_wp_element_namespaceObject.useMemo)(() => {
     if (isTemplateMode) {
       return {
         type: 'default'
@@ -4409,54 +3746,54 @@ function VisualEditor(_ref2) {

     return undefined;
   }, [isTemplateMode, themeSupportsLayout, defaultLayout]);
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockTools"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockTools, {
     __unstableContentRef: ref,
     className: classnames_default()('edit-post-visual-editor', {
       'is-template-mode': isTemplateMode
     })
-  }, Object(external_wp_element_["createElement"])(external_wp_editor_["VisualEditorGlobalKeyboardShortcuts"], null), Object(external_wp_element_["createElement"])(external_wp_components_["__unstableMotion"].div, {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.VisualEditorGlobalKeyboardShortcuts, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.div, {
     className: "edit-post-visual-editor__content-area",
     animate: {
       padding: isTemplateMode ? '48px 48px 0' : '0'
     },
     ref: blockSelectionClearerRef
-  }, isTemplateMode && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, isTemplateMode && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     className: "edit-post-visual-editor__exit-template-mode",
-    icon: arrow_left["a" /* default */],
+    icon: arrow_left,
     onClick: () => {
       clearSelectedBlock();
       setIsEditingTemplate(false);
     }
-  }, Object(external_wp_i18n_["__"])('Back')), Object(external_wp_element_["createElement"])(external_wp_components_["__unstableMotion"].div, {
+  }, (0,external_wp_i18n_namespaceObject.__)('Back')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.div, {
     animate: animatedStyles,
     initial: desktopCanvasStyles,
     className: previewMode
-  }, Object(external_wp_element_["createElement"])(MaybeIframe, {
+  }, (0,external_wp_element_namespaceObject.createElement)(MaybeIframe, {
     shouldIframe: isTemplateMode || deviceType === 'Tablet' || deviceType === 'Mobile',
     contentRef: contentRef,
     styles: styles,
     style: {
       paddingBottom
     }
-  }, themeSupportsLayout && !isTemplateMode && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLayoutStyle"], {
+  }, themeSupportsLayout && !isTemplateMode && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLayoutStyle, {
     selector: ".edit-post-visual-editor__post-title-wrapper, .block-editor-block-list__layout.is-root-container",
     layout: defaultLayout
-  }), !isTemplateMode && Object(external_wp_element_["createElement"])("div", {
+  }), !isTemplateMode && (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-visual-editor__post-title-wrapper"
-  }, Object(external_wp_element_["createElement"])(external_wp_editor_["PostTitle"], null)), Object(external_wp_element_["createElement"])(RecursionProvider, null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockList"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTitle, null)), (0,external_wp_element_namespaceObject.createElement)(RecursionProvider, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockList, {
     className: isTemplateMode ? 'wp-site-blocks' : undefined,
     __experimentalLayout: layout
-  }))))), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableBlockSettingsMenuFirstItem"], null, _ref3 => {
+  }))))), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableBlockSettingsMenuFirstItem, null, _ref3 => {
     let {
       onClose
     } = _ref3;
-    return Object(external_wp_element_["createElement"])(block_inspector_button, {
+    return (0,external_wp_element_namespaceObject.createElement)(block_inspector_button, {
       onClick: onClose
     });
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcuts/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcuts/index.js
 /**
  * WordPress dependencies
  */
@@ -4475,17 +3812,17 @@ function VisualEditor(_ref2) {
 function KeyboardShortcuts() {
   const {
     getBlockSelectionStart
-  } = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_blockEditor_namespaceObject.store);
   const {
     getEditorMode,
     isEditorSidebarOpened,
     isListViewOpened
-  } = Object(external_wp_data_["useSelect"])(store["a" /* store */]);
-  const isModeToggleDisabled = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(store_store);
+  const isModeToggleDisabled = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       richEditingEnabled,
       codeEditingEnabled
-    } = select(external_wp_editor_["store"]).getEditorSettings();
+    } = select(external_wp_editor_namespaceObject.store).getEditorSettings();
     return !richEditingEnabled || !codeEditingEnabled;
   }, []);
   const {
@@ -4494,15 +3831,15 @@ function KeyboardShortcuts() {
     closeGeneralSidebar,
     toggleFeature,
     setIsListViewOpened
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
   const {
     registerShortcut
-  } = Object(external_wp_data_["useDispatch"])(external_wp_keyboardShortcuts_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_keyboardShortcuts_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     registerShortcut({
       name: 'core/edit-post/toggle-mode',
       category: 'global',
-      description: Object(external_wp_i18n_["__"])('Switch between visual editor and code editor.'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Switch between visual editor and code editor.'),
       keyCombination: {
         modifier: 'secondary',
         character: 'm'
@@ -4511,7 +3848,7 @@ function KeyboardShortcuts() {
     registerShortcut({
       name: 'core/edit-post/toggle-fullscreen',
       category: 'global',
-      description: Object(external_wp_i18n_["__"])('Toggle fullscreen mode.'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Toggle fullscreen mode.'),
       keyCombination: {
         modifier: 'secondary',
         character: 'f'
@@ -4520,7 +3857,7 @@ function KeyboardShortcuts() {
     registerShortcut({
       name: 'core/edit-post/toggle-list-view',
       category: 'global',
-      description: Object(external_wp_i18n_["__"])('Open the block list view.'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Open the block list view.'),
       keyCombination: {
         modifier: 'access',
         character: 'o'
@@ -4529,7 +3866,7 @@ function KeyboardShortcuts() {
     registerShortcut({
       name: 'core/edit-post/toggle-sidebar',
       category: 'global',
-      description: Object(external_wp_i18n_["__"])('Show or hide the settings sidebar.'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Show or hide the settings sidebar.'),
       keyCombination: {
         modifier: 'primaryShift',
         character: ','
@@ -4538,7 +3875,7 @@ function KeyboardShortcuts() {
     registerShortcut({
       name: 'core/edit-post/next-region',
       category: 'global',
-      description: Object(external_wp_i18n_["__"])('Navigate to the next part of the editor.'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Navigate to the next part of the editor.'),
       keyCombination: {
         modifier: 'ctrl',
         character: '`'
@@ -4551,7 +3888,7 @@ function KeyboardShortcuts() {
     registerShortcut({
       name: 'core/edit-post/previous-region',
       category: 'global',
-      description: Object(external_wp_i18n_["__"])('Navigate to the previous part of the editor.'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Navigate to the previous part of the editor.'),
       keyCombination: {
         modifier: 'ctrlShift',
         character: '`'
@@ -4564,22 +3901,22 @@ function KeyboardShortcuts() {
     registerShortcut({
       name: 'core/edit-post/keyboard-shortcuts',
       category: 'main',
-      description: Object(external_wp_i18n_["__"])('Display these keyboard shortcuts.'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Display these keyboard shortcuts.'),
       keyCombination: {
         modifier: 'access',
         character: 'h'
       }
     });
   }, []);
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/toggle-mode', () => {
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-post/toggle-mode', () => {
     switchEditorMode(getEditorMode() === 'visual' ? 'text' : 'visual');
   }, {
     isDisabled: isModeToggleDisabled
   });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/toggle-fullscreen', () => {
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-post/toggle-fullscreen', () => {
     toggleFeature('fullscreenMode');
   });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/toggle-sidebar', event => {
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-post/toggle-sidebar', event => {
     // This shortcut has no known clashes, but use preventDefault to prevent any
     // obscure shortcuts from triggering.
     event.preventDefault();
@@ -4591,13 +3928,13 @@ function KeyboardShortcuts() {
       openGeneralSidebar(sidebarToOpen);
     }
   });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/toggle-list-view', () => setIsListViewOpened(!isListViewOpened()));
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-post/toggle-list-view', () => setIsListViewOpened(!isListViewOpened()));
   return null;
 }

 /* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/config.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/config.js
 /**
  * WordPress dependencies
  */
@@ -4607,34 +3944,34 @@ const textFormattingShortcuts = [{
     modifier: 'primary',
     character: 'b'
   },
-  description: Object(external_wp_i18n_["__"])('Make the selected text bold.')
+  description: (0,external_wp_i18n_namespaceObject.__)('Make the selected text bold.')
 }, {
   keyCombination: {
     modifier: 'primary',
     character: 'i'
   },
-  description: Object(external_wp_i18n_["__"])('Make the selected text italic.')
+  description: (0,external_wp_i18n_namespaceObject.__)('Make the selected text italic.')
 }, {
   keyCombination: {
     modifier: 'primary',
     character: 'k'
   },
-  description: Object(external_wp_i18n_["__"])('Convert the selected text into a link.')
+  description: (0,external_wp_i18n_namespaceObject.__)('Convert the selected text into a link.')
 }, {
   keyCombination: {
     modifier: 'primaryShift',
     character: 'k'
   },
-  description: Object(external_wp_i18n_["__"])('Remove a link.')
+  description: (0,external_wp_i18n_namespaceObject.__)('Remove a link.')
 }, {
   keyCombination: {
     modifier: 'primary',
     character: 'u'
   },
-  description: Object(external_wp_i18n_["__"])('Underline the selected text.')
+  description: (0,external_wp_i18n_namespaceObject.__)('Underline the selected text.')
 }];

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/shortcut.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/shortcut.js


 /**
@@ -4653,19 +3990,19 @@ function KeyCombination(_ref) {
     keyCombination,
     forceAriaLabel
   } = _ref;
-  const shortcut = keyCombination.modifier ? external_wp_keycodes_["displayShortcutList"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
-  const ariaLabel = keyCombination.modifier ? external_wp_keycodes_["shortcutAriaLabel"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
-  return Object(external_wp_element_["createElement"])("kbd", {
+  const shortcut = keyCombination.modifier ? external_wp_keycodes_namespaceObject.displayShortcutList[keyCombination.modifier](keyCombination.character) : keyCombination.character;
+  const ariaLabel = keyCombination.modifier ? external_wp_keycodes_namespaceObject.shortcutAriaLabel[keyCombination.modifier](keyCombination.character) : keyCombination.character;
+  return (0,external_wp_element_namespaceObject.createElement)("kbd", {
     className: "edit-post-keyboard-shortcut-help-modal__shortcut-key-combination",
     "aria-label": forceAriaLabel || ariaLabel
-  }, Object(external_lodash_["castArray"])(shortcut).map((character, index) => {
+  }, (0,external_lodash_namespaceObject.castArray)(shortcut).map((character, index) => {
     if (character === '+') {
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, {
         key: index
       }, character);
     }

-    return Object(external_wp_element_["createElement"])("kbd", {
+    return (0,external_wp_element_namespaceObject.createElement)("kbd", {
       key: index,
       className: "edit-post-keyboard-shortcut-help-modal__shortcut-key"
     }, character);
@@ -4679,14 +4016,14 @@ function Shortcut(_ref2) {
     aliases = [],
     ariaLabel
   } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-keyboard-shortcut-help-modal__shortcut-description"
-  }, description), Object(external_wp_element_["createElement"])("div", {
+  }, description), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-keyboard-shortcut-help-modal__shortcut-term"
-  }, Object(external_wp_element_["createElement"])(KeyCombination, {
+  }, (0,external_wp_element_namespaceObject.createElement)(KeyCombination, {
     keyCombination: keyCombination,
     forceAriaLabel: ariaLabel
-  }), aliases.map((alias, index) => Object(external_wp_element_["createElement"])(KeyCombination, {
+  }), aliases.map((alias, index) => (0,external_wp_element_namespaceObject.createElement)(KeyCombination, {
     keyCombination: alias,
     forceAriaLabel: ariaLabel,
     key: index
@@ -4695,7 +4032,7 @@ function Shortcut(_ref2) {

 /* harmony default export */ var keyboard_shortcut_help_modal_shortcut = (Shortcut);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js


 /**
@@ -4717,12 +4054,12 @@ function DynamicShortcut(_ref) {
     keyCombination,
     description,
     aliases
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getShortcutKeyCombination,
       getShortcutDescription,
       getShortcutAliases
-    } = select(external_wp_keyboardShortcuts_["store"]);
+    } = select(external_wp_keyboardShortcuts_namespaceObject.store);
     return {
       keyCombination: getShortcutKeyCombination(name),
       aliases: getShortcutAliases(name),
@@ -4734,7 +4071,7 @@ function DynamicShortcut(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(keyboard_shortcut_help_modal_shortcut, {
+  return (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcut_help_modal_shortcut, {
     keyCombination: keyCombination,
     description: description,
     aliases: aliases
@@ -4743,7 +4080,7 @@ function DynamicShortcut(_ref) {

 /* harmony default export */ var dynamic_shortcut = (DynamicShortcut);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/keyboard-shortcut-help-modal/index.js


 /**
@@ -4781,15 +4118,15 @@ const ShortcutList = _ref => {
      */

     /* eslint-disable jsx-a11y/no-redundant-roles */
-    Object(external_wp_element_["createElement"])("ul", {
+    (0,external_wp_element_namespaceObject.createElement)("ul", {
       className: "edit-post-keyboard-shortcut-help-modal__shortcut-list",
       role: "list"
-    }, shortcuts.map((shortcut, index) => Object(external_wp_element_["createElement"])("li", {
+    }, shortcuts.map((shortcut, index) => (0,external_wp_element_namespaceObject.createElement)("li", {
       className: "edit-post-keyboard-shortcut-help-modal__shortcut",
       key: index
-    }, Object(external_lodash_["isString"])(shortcut) ? Object(external_wp_element_["createElement"])(dynamic_shortcut, {
+    }, (0,external_lodash_namespaceObject.isString)(shortcut) ? (0,external_wp_element_namespaceObject.createElement)(dynamic_shortcut, {
       name: shortcut
-    }) : Object(external_wp_element_["createElement"])(keyboard_shortcut_help_modal_shortcut, shortcut))))
+    }) : (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcut_help_modal_shortcut, shortcut))))
     /* eslint-enable jsx-a11y/no-redundant-roles */

   );
@@ -4801,11 +4138,11 @@ const ShortcutSection = _ref2 => {
     shortcuts,
     className
   } = _ref2;
-  return Object(external_wp_element_["createElement"])("section", {
+  return (0,external_wp_element_namespaceObject.createElement)("section", {
     className: classnames_default()('edit-post-keyboard-shortcut-help-modal__section', className)
-  }, !!title && Object(external_wp_element_["createElement"])("h2", {
+  }, !!title && (0,external_wp_element_namespaceObject.createElement)("h2", {
     className: "edit-post-keyboard-shortcut-help-modal__section-title"
-  }, title), Object(external_wp_element_["createElement"])(ShortcutList, {
+  }, title), (0,external_wp_element_namespaceObject.createElement)(ShortcutList, {
     shortcuts: shortcuts
   }));
 };
@@ -4816,10 +4153,10 @@ const ShortcutCategorySection = _ref3 => {
     categoryName,
     additionalShortcuts = []
   } = _ref3;
-  const categoryShortcuts = Object(external_wp_data_["useSelect"])(select => {
-    return select(external_wp_keyboardShortcuts_["store"]).getCategoryShortcuts(categoryName);
+  const categoryShortcuts = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(external_wp_keyboardShortcuts_namespaceObject.store).getCategoryShortcuts(categoryName);
   }, [categoryName]);
-  return Object(external_wp_element_["createElement"])(ShortcutSection, {
+  return (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
     title: title,
     shortcuts: categoryShortcuts.concat(additionalShortcuts)
   });
@@ -4830,68 +4167,121 @@ function KeyboardShortcutHelpModal(_ref4) {
     isModalActive,
     toggleModal
   } = _ref4;
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-post/keyboard-shortcuts', toggleModal);
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-post/keyboard-shortcuts', toggleModal);

   if (!isModalActive) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
     className: "edit-post-keyboard-shortcut-help-modal",
-    title: Object(external_wp_i18n_["__"])('Keyboard shortcuts'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Keyboard shortcuts'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
     onRequestClose: toggleModal
-  }, Object(external_wp_element_["createElement"])(ShortcutSection, {
+  }, (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
     className: "edit-post-keyboard-shortcut-help-modal__main-shortcuts",
     shortcuts: ['core/edit-post/keyboard-shortcuts']
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Global shortcuts'),
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Global shortcuts'),
     categoryName: "global"
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Selection shortcuts'),
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Selection shortcuts'),
     categoryName: "selection"
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Block shortcuts'),
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Block shortcuts'),
     categoryName: "block",
     additionalShortcuts: [{
       keyCombination: {
         character: '/'
       },
-      description: Object(external_wp_i18n_["__"])('Change the block type after adding a new paragraph.'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Change the block type after adding a new paragraph.'),

       /* translators: The forward-slash character. e.g. '/'. */
-      ariaLabel: Object(external_wp_i18n_["__"])('Forward-slash')
+      ariaLabel: (0,external_wp_i18n_namespaceObject.__)('Forward-slash')
     }]
-  }), Object(external_wp_element_["createElement"])(ShortcutSection, {
-    title: Object(external_wp_i18n_["__"])('Text formatting'),
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Text formatting'),
     shortcuts: textFormattingShortcuts
   }));
 }
-/* harmony default export */ var keyboard_shortcut_help_modal = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => ({
-  isModalActive: select(store["a" /* store */]).isModalActive(MODAL_NAME)
-})), Object(external_wp_data_["withDispatch"])((dispatch, _ref5) => {
+/* harmony default export */ var keyboard_shortcut_help_modal = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => ({
+  isModalActive: select(store_store).isModalActive(MODAL_NAME)
+})), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref5) => {
   let {
     isModalActive
   } = _ref5;
   const {
     openModal,
     closeModal
-  } = dispatch(store["a" /* store */]);
+  } = dispatch(store_store);
   return {
     toggleModal: () => isModalActive ? closeModal() : openModal(MODAL_NAME)
   };
 })])(KeyboardShortcutHelpModal));

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
-var build_module_icon = __webpack_require__("iClF");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
+/**
+ * WordPress dependencies
+ */
+
+/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
+
+/**
+ * Return an SVG icon.
+ *
+ * @param {IconProps} props icon is the SVG component to render
+ *                          size is a number specifiying the icon size in pixels
+ *                          Other props will be passed to wrapped SVG component
+ *
+ * @return {JSX.Element}  Icon component
+ */
+
+function Icon(_ref) {
+  let {
+    icon,
+    size = 24,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+    width: size,
+    height: size,
+    ...props
+  });
+}
+
+/* harmony default export */ var icon = (Icon);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const chevronLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
+}));
+/* harmony default export */ var chevron_left = (chevronLeft);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
-var chevron_left = __webpack_require__("2gm7");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
-var chevron_right = __webpack_require__("1iEr");
+/**
+ * WordPress dependencies
+ */
+
+const chevronRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
+}));
+/* harmony default export */ var chevron_right = (chevronRight);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/section.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/section.js


 const Section = _ref => {
@@ -4900,49 +4290,260 @@ const Section = _ref => {
     title,
     children
   } = _ref;
-  return Object(external_wp_element_["createElement"])("section", {
+  return (0,external_wp_element_namespaceObject.createElement)("section", {
     className: "edit-post-preferences-modal__section"
-  }, Object(external_wp_element_["createElement"])("h2", {
+  }, (0,external_wp_element_namespaceObject.createElement)("h2", {
     className: "edit-post-preferences-modal__section-title"
-  }, title), description && Object(external_wp_element_["createElement"])("p", {
+  }, title), description && (0,external_wp_element_namespaceObject.createElement)("p", {
     className: "edit-post-preferences-modal__section-description"
   }, description), children);
 };

-/* harmony default export */ var preferences_modal_section = (Section);
+/* harmony default export */ var section = (Section);

-// EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/index.js + 6 modules
-var options = __webpack_require__("Y5n4");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/base.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/meta-boxes-section.js
-
-
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */


-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-function MetaBoxesSection(_ref) {
+function BaseOption(_ref) {
   let {
-    areCustomFieldsRegistered,
-    metaBoxes,
-    ...sectionProps
-  } = _ref;
+    help,
+    label,
+    isChecked,
+    onChange,
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-post-preferences-modal__option"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToggleControl, {
+    help: help,
+    label: label,
+    checked: isChecked,
+    onChange: onChange
+  }), children);
+}
+
+/* harmony default export */ var base = (BaseOption);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-custom-fields.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+function CustomFieldsConfirmation(_ref) {
+  let {
+    willEnable
+  } = _ref;
+  const [isReloading, setIsReloading] = (0,external_wp_element_namespaceObject.useState)(false);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("p", {
+    className: "edit-post-preferences-modal__custom-fields-confirmation-message"
+  }, (0,external_wp_i18n_namespaceObject.__)('A page reload is required for this change. Make sure your content is saved before reloading.')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "edit-post-preferences-modal__custom-fields-confirmation-button",
+    variant: "secondary",
+    isBusy: isReloading,
+    disabled: isReloading,
+    onClick: () => {
+      setIsReloading(true);
+      document.getElementById('toggle-custom-fields-form').submit();
+    }
+  }, willEnable ? (0,external_wp_i18n_namespaceObject.__)('Enable & Reload') : (0,external_wp_i18n_namespaceObject.__)('Disable & Reload')));
+}
+function EnableCustomFieldsOption(_ref2) {
+  let {
+    label,
+    areCustomFieldsEnabled
+  } = _ref2;
+  const [isChecked, setIsChecked] = (0,external_wp_element_namespaceObject.useState)(areCustomFieldsEnabled);
+  return (0,external_wp_element_namespaceObject.createElement)(base, {
+    label: label,
+    isChecked: isChecked,
+    onChange: setIsChecked
+  }, isChecked !== areCustomFieldsEnabled && (0,external_wp_element_namespaceObject.createElement)(CustomFieldsConfirmation, {
+    willEnable: isChecked
+  }));
+}
+/* harmony default export */ var enable_custom_fields = ((0,external_wp_data_namespaceObject.withSelect)(select => ({
+  areCustomFieldsEnabled: !!select(external_wp_editor_namespaceObject.store).getEditorSettings().enableCustomFields
+}))(EnableCustomFieldsOption));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-panel.js
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+/* harmony default export */ var enable_panel = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)((select, _ref) => {
+  let {
+    panelName
+  } = _ref;
+  const {
+    isEditorPanelEnabled,
+    isEditorPanelRemoved
+  } = select(store_store);
+  return {
+    isRemoved: isEditorPanelRemoved(panelName),
+    isChecked: isEditorPanelEnabled(panelName)
+  };
+}), (0,external_wp_compose_namespaceObject.ifCondition)(_ref2 => {
+  let {
+    isRemoved
+  } = _ref2;
+  return !isRemoved;
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref3) => {
+  let {
+    panelName
+  } = _ref3;
+  return {
+    onChange: () => dispatch(store_store).toggleEditorPanelEnabled(panelName)
+  };
+}))(base));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-plugin-document-setting-panel.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+const {
+  Fill,
+  Slot: enable_plugin_document_setting_panel_Slot
+} = (0,external_wp_components_namespaceObject.createSlotFill)('EnablePluginDocumentSettingPanelOption');
+
+const EnablePluginDocumentSettingPanelOption = _ref => {
+  let {
+    label,
+    panelName
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(Fill, null, (0,external_wp_element_namespaceObject.createElement)(enable_panel, {
+    label: label,
+    panelName: panelName
+  }));
+};
+
+EnablePluginDocumentSettingPanelOption.Slot = enable_plugin_document_setting_panel_Slot;
+/* harmony default export */ var enable_plugin_document_setting_panel = (EnablePluginDocumentSettingPanelOption);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-publish-sidebar.js
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+/* harmony default export */ var enable_publish_sidebar = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)(select => ({
+  isChecked: select(external_wp_editor_namespaceObject.store).isPublishSidebarEnabled()
+})), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
+  const {
+    enablePublishSidebar,
+    disablePublishSidebar
+  } = dispatch(external_wp_editor_namespaceObject.store);
+  return {
+    onChange: isEnabled => isEnabled ? enablePublishSidebar() : disablePublishSidebar()
+  };
+}), // In < medium viewports we override this option and always show the publish sidebar.
+// See the edit-post's header component for the specific logic.
+(0,external_wp_viewport_namespaceObject.ifViewportMatches)('medium'))(base));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/enable-feature.js
+/**
+ * WordPress dependencies
+ */
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+/* harmony default export */ var enable_feature = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)((select, _ref) => {
+  let {
+    featureName
+  } = _ref;
+  const {
+    isFeatureActive
+  } = select(store_store);
+  return {
+    isChecked: isFeatureActive(featureName)
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref2) => {
+  let {
+    featureName
+  } = _ref2;
+  return {
+    onChange: () => dispatch(store_store).toggleFeature(featureName)
+  };
+}))(base));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/options/index.js
+
+
+
+
+
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/meta-boxes-section.js
+
+
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+function MetaBoxesSection(_ref) {
+  let {
+    areCustomFieldsRegistered,
+    metaBoxes,
+    ...sectionProps
+  } = _ref;
   // The 'Custom Fields' meta box is a special case that we handle separately.
-  const thirdPartyMetaBoxes = Object(external_lodash_["filter"])(metaBoxes, _ref2 => {
+  const thirdPartyMetaBoxes = (0,external_lodash_namespaceObject.filter)(metaBoxes, _ref2 => {
     let {
       id
     } = _ref2;
@@ -4953,27 +4554,27 @@ function MetaBoxesSection(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(preferences_modal_section, sectionProps, areCustomFieldsRegistered && Object(external_wp_element_["createElement"])(options["a" /* EnableCustomFieldsOption */], {
-    label: Object(external_wp_i18n_["__"])('Custom fields')
-  }), Object(external_lodash_["map"])(thirdPartyMetaBoxes, _ref3 => {
+  return (0,external_wp_element_namespaceObject.createElement)(section, sectionProps, areCustomFieldsRegistered && (0,external_wp_element_namespaceObject.createElement)(enable_custom_fields, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Custom fields')
+  }), (0,external_lodash_namespaceObject.map)(thirdPartyMetaBoxes, _ref3 => {
     let {
       id,
       title
     } = _ref3;
-    return Object(external_wp_element_["createElement"])(options["c" /* EnablePanelOption */], {
+    return (0,external_wp_element_namespaceObject.createElement)(enable_panel, {
       key: id,
       label: title,
       panelName: `meta-box-${id}`
     });
   }));
 }
-/* harmony default export */ var meta_boxes_section = (Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var meta_boxes_section = ((0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
     getEditorSettings
-  } = select(external_wp_editor_["store"]);
+  } = select(external_wp_editor_namespaceObject.store);
   const {
     getAllMetaBoxes
-  } = select(store["a" /* store */]);
+  } = select(store_store);
   return {
     // This setting should not live in the block editor's store.
     areCustomFieldsRegistered: getEditorSettings().enableCustomFields !== undefined,
@@ -4981,7 +4582,7 @@ function MetaBoxesSection(_ref) {
   };
 })(MetaBoxesSection));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/block-manager/checklist.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/block-manager/checklist.js


 /**
@@ -5001,31 +4602,31 @@ function BlockTypesChecklist(_ref) {
     value,
     onItemChange
   } = _ref;
-  return Object(external_wp_element_["createElement"])("ul", {
+  return (0,external_wp_element_namespaceObject.createElement)("ul", {
     className: "edit-post-block-manager__checklist"
-  }, blockTypes.map(blockType => Object(external_wp_element_["createElement"])("li", {
+  }, blockTypes.map(blockType => (0,external_wp_element_namespaceObject.createElement)("li", {
     key: blockType.name,
     className: "edit-post-block-manager__checklist-item"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["CheckboxControl"], {
-    label: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, blockType.title, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CheckboxControl, {
+    label: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, blockType.title, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
       icon: blockType.icon
     })),
     checked: value.includes(blockType.name),
-    onChange: Object(external_lodash_["partial"])(onItemChange, blockType.name)
+    onChange: (0,external_lodash_namespaceObject.partial)(onItemChange, blockType.name)
   }))));
 }

 /* harmony default export */ var checklist = (BlockTypesChecklist);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/edit-post-settings/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/edit-post-settings/index.js
 /**
  * WordPress dependencies
  */

-const EditPostSettings = Object(external_wp_element_["createContext"])({});
+const EditPostSettings = (0,external_wp_element_namespaceObject.createContext)({});
 /* harmony default export */ var edit_post_settings = (EditPostSettings);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/block-manager/category.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/block-manager/category.js


 /**
@@ -5057,11 +4658,11 @@ function BlockManagerCategory(_ref) {
     toggleVisible,
     toggleAllVisible
   } = _ref;
-  const settings = Object(external_wp_element_["useContext"])(edit_post_settings);
+  const settings = (0,external_wp_element_namespaceObject.useContext)(edit_post_settings);
   const {
     allowedBlockTypes
   } = settings;
-  const filteredBlockTypes = Object(external_wp_element_["useMemo"])(() => {
+  const filteredBlockTypes = (0,external_wp_element_namespaceObject.useMemo)(() => {
     if (allowedBlockTypes === true) {
       return blockTypes;
     }
@@ -5070,7 +4671,7 @@ function BlockManagerCategory(_ref) {
       let {
         name
       } = _ref2;
-      return Object(external_lodash_["includes"])(allowedBlockTypes || [], name);
+      return (0,external_lodash_namespaceObject.includes)(allowedBlockTypes || [], name);
     });
   }, [allowedBlockTypes, blockTypes]);

@@ -5078,7 +4679,7 @@ function BlockManagerCategory(_ref) {
     return null;
   }

-  const checkedBlockNames = Object(external_lodash_["without"])(Object(external_lodash_["map"])(filteredBlockTypes, 'name'), ...hiddenBlockTypes);
+  const checkedBlockNames = (0,external_lodash_namespaceObject.without)((0,external_lodash_namespaceObject.map)(filteredBlockTypes, 'name'), ...hiddenBlockTypes);
   const titleId = 'edit-post-block-manager__category-title-' + instanceId;
   const isAllChecked = checkedBlockNames.length === filteredBlockTypes.length;
   let ariaChecked;
@@ -5091,37 +4692,37 @@ function BlockManagerCategory(_ref) {
     ariaChecked = 'false';
   }

-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     role: "group",
     "aria-labelledby": titleId,
     className: "edit-post-block-manager__category"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["CheckboxControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CheckboxControl, {
     checked: isAllChecked,
     onChange: toggleAllVisible,
     className: "edit-post-block-manager__category-title",
     "aria-checked": ariaChecked,
-    label: Object(external_wp_element_["createElement"])("span", {
+    label: (0,external_wp_element_namespaceObject.createElement)("span", {
       id: titleId
     }, title)
-  }), Object(external_wp_element_["createElement"])(checklist, {
+  }), (0,external_wp_element_namespaceObject.createElement)(checklist, {
     blockTypes: filteredBlockTypes,
     value: checkedBlockNames,
     onItemChange: toggleVisible
   }));
 }

-/* harmony default export */ var block_manager_category = (Object(external_wp_compose_["compose"])([external_wp_compose_["withInstanceId"], Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var block_manager_category = ((0,external_wp_compose_namespaceObject.compose)([external_wp_compose_namespaceObject.withInstanceId, (0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
     getPreference
-  } = select(store["a" /* store */]);
+  } = select(store_store);
   return {
     hiddenBlockTypes: getPreference('hiddenBlockTypes')
   };
-}), Object(external_wp_data_["withDispatch"])((dispatch, ownProps) => {
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, ownProps) => {
   const {
     showBlockTypes,
     hideBlockTypes
-  } = dispatch(store["a" /* store */]);
+  } = dispatch(store_store);
   return {
     toggleVisible(blockName, nextIsChecked) {
       if (nextIsChecked) {
@@ -5132,7 +4733,7 @@ function BlockManagerCategory(_ref) {
     },

     toggleAllVisible(nextIsChecked) {
-      const blockNames = Object(external_lodash_["map"])(ownProps.blockTypes, 'name');
+      const blockNames = (0,external_lodash_namespaceObject.map)(ownProps.blockTypes, 'name');

       if (nextIsChecked) {
         showBlockTypes(blockNames);
@@ -5144,7 +4745,7 @@ function BlockManagerCategory(_ref) {
   };
 })])(BlockManagerCategory));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/block-manager/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/block-manager/index.js


 /**
@@ -5175,39 +4776,39 @@ function BlockManager(_ref) {
     isMatchingSearchTerm,
     numberOfHiddenBlocks
   } = _ref;
-  const [search, setSearch] = Object(external_wp_element_["useState"])(''); // Filtering occurs here (as opposed to `withSelect`) to avoid
+  const [search, setSearch] = (0,external_wp_element_namespaceObject.useState)(''); // Filtering occurs here (as opposed to `withSelect`) to avoid
   // wasted renders by consequence of `Array#filter` producing
   // a new value reference on each call.

-  blockTypes = blockTypes.filter(blockType => hasBlockSupport(blockType, 'inserter', true) && (!search || isMatchingSearchTerm(blockType, search)) && (!blockType.parent || Object(external_lodash_["includes"])(blockType.parent, 'core/post-content')));
-  return Object(external_wp_element_["createElement"])("div", {
+  blockTypes = blockTypes.filter(blockType => hasBlockSupport(blockType, 'inserter', true) && (!search || isMatchingSearchTerm(blockType, search)) && (!blockType.parent || (0,external_lodash_namespaceObject.includes)(blockType.parent, 'core/post-content')));
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-block-manager__content"
-  }, !!numberOfHiddenBlocks && Object(external_wp_element_["createElement"])("div", {
+  }, !!numberOfHiddenBlocks && (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-block-manager__disabled-blocks-count"
-  }, Object(external_wp_i18n_["sprintf"])(
+  }, (0,external_wp_i18n_namespaceObject.sprintf)(
   /* translators: %d: number of blocks. */
-  Object(external_wp_i18n_["_n"])('%d block is hidden.', '%d blocks are hidden.', numberOfHiddenBlocks), numberOfHiddenBlocks)), Object(external_wp_element_["createElement"])(external_wp_components_["SearchControl"], {
-    label: Object(external_wp_i18n_["__"])('Search for a block'),
-    placeholder: Object(external_wp_i18n_["__"])('Search for a block'),
+  (0,external_wp_i18n_namespaceObject._n)('%d block is hidden.', '%d blocks are hidden.', numberOfHiddenBlocks), numberOfHiddenBlocks)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SearchControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Search for a block'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Search for a block'),
     value: search,
     onChange: nextSearch => setSearch(nextSearch),
     className: "edit-post-block-manager__search"
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     tabIndex: "0",
     role: "region",
-    "aria-label": Object(external_wp_i18n_["__"])('Available block types'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Available block types'),
     className: "edit-post-block-manager__results"
-  }, blockTypes.length === 0 && Object(external_wp_element_["createElement"])("p", {
+  }, blockTypes.length === 0 && (0,external_wp_element_namespaceObject.createElement)("p", {
     className: "edit-post-block-manager__no-results"
-  }, Object(external_wp_i18n_["__"])('No blocks found.')), categories.map(category => Object(external_wp_element_["createElement"])(block_manager_category, {
+  }, (0,external_wp_i18n_namespaceObject.__)('No blocks found.')), categories.map(category => (0,external_wp_element_namespaceObject.createElement)(block_manager_category, {
     key: category.slug,
     title: category.title,
-    blockTypes: Object(external_lodash_["filter"])(blockTypes, {
+    blockTypes: (0,external_lodash_namespaceObject.filter)(blockTypes, {
       category: category.slug
     })
-  })), Object(external_wp_element_["createElement"])(block_manager_category, {
-    title: Object(external_wp_i18n_["__"])('Uncategorized'),
-    blockTypes: Object(external_lodash_["filter"])(blockTypes, _ref2 => {
+  })), (0,external_wp_element_namespaceObject.createElement)(block_manager_category, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Uncategorized'),
+    blockTypes: (0,external_lodash_namespaceObject.filter)(blockTypes, _ref2 => {
       let {
         category
       } = _ref2;
@@ -5216,18 +4817,18 @@ function BlockManager(_ref) {
   })));
 }

-/* harmony default export */ var block_manager = (Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var block_manager = ((0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
     getBlockTypes,
     getCategories,
     hasBlockSupport,
     isMatchingSearchTerm
-  } = select(external_wp_blocks_["store"]);
+  } = select(external_wp_blocks_namespaceObject.store);
   const {
     getPreference
-  } = select(store["a" /* store */]);
+  } = select(store_store);
   const hiddenBlockTypes = getPreference('hiddenBlockTypes');
-  const numberOfHiddenBlocks = Object(external_lodash_["isArray"])(hiddenBlockTypes) && hiddenBlockTypes.length;
+  const numberOfHiddenBlocks = (0,external_lodash_namespaceObject.isArray)(hiddenBlockTypes) && hiddenBlockTypes.length;
   return {
     blockTypes: getBlockTypes(),
     categories: getCategories(),
@@ -5237,7 +4838,7 @@ function BlockManager(_ref) {
   };
 })(BlockManager));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/preferences-modal/index.js



@@ -5271,13 +4872,13 @@ const PREFERENCES_MENU = 'preferences-menu';

 function NavigationButton(_ref) {
   let {
-    as: Tag = external_wp_components_["Button"],
+    as: Tag = external_wp_components_namespaceObject.Button,
     path,
     isBack = false,
     ...props
   } = _ref;
-  const navigator = Object(external_wp_components_["__experimentalUseNavigator"])();
-  return Object(external_wp_element_["createElement"])(Tag, Object(esm_extends["a" /* default */])({
+  const navigator = (0,external_wp_components_namespaceObject.__experimentalUseNavigator)();
+  return (0,external_wp_element_namespaceObject.createElement)(Tag, _extends({
     onClick: () => navigator.push(path, {
       isBack
     })
@@ -5285,129 +4886,129 @@ function NavigationButton(_ref) {
 }

 function PreferencesModal() {
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
   const {
     closeModal
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
   const {
     isModalActive,
     isViewable
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEditedPostAttribute
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const {
       getPostType
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const postType = getPostType(getEditedPostAttribute('type'));
     return {
-      isModalActive: select(store["a" /* store */]).isModalActive(preferences_modal_MODAL_NAME),
-      isViewable: Object(external_lodash_["get"])(postType, ['viewable'], false)
+      isModalActive: select(store_store).isModalActive(preferences_modal_MODAL_NAME),
+      isViewable: (0,external_lodash_namespaceObject.get)(postType, ['viewable'], false)
     };
   }, []);
-  const showBlockBreadcrumbsOption = Object(external_wp_data_["useSelect"])(select => {
+  const showBlockBreadcrumbsOption = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEditorSettings
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const {
       getEditorMode,
       isFeatureActive
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     const mode = getEditorMode();
     const isRichEditingEnabled = getEditorSettings().richEditingEnabled;
     const hasReducedUI = isFeatureActive('reducedUI');
     return !hasReducedUI && isLargeViewport && isRichEditingEnabled && mode === 'visual';
   }, [isLargeViewport]);
-  const sections = Object(external_wp_element_["useMemo"])(() => [{
+  const sections = (0,external_wp_element_namespaceObject.useMemo)(() => [{
     name: 'general',
-    tabLabel: Object(external_wp_i18n_["__"])('General'),
-    content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isLargeViewport && Object(external_wp_element_["createElement"])(preferences_modal_section, {
-      title: Object(external_wp_i18n_["__"])('Publishing'),
-      description: Object(external_wp_i18n_["__"])('Change options related to publishing.')
-    }, Object(external_wp_element_["createElement"])(options["e" /* EnablePublishSidebarOption */], {
-      help: Object(external_wp_i18n_["__"])('Review settings, such as visibility and tags.'),
-      label: Object(external_wp_i18n_["__"])('Include pre-publish checklist')
-    })), Object(external_wp_element_["createElement"])(preferences_modal_section, {
-      title: Object(external_wp_i18n_["__"])('Appearance'),
-      description: Object(external_wp_i18n_["__"])('Customize options related to the block editor interface and editing flow.')
-    }, Object(external_wp_element_["createElement"])(options["b" /* EnableFeature */], {
+    tabLabel: (0,external_wp_i18n_namespaceObject.__)('General'),
+    content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isLargeViewport && (0,external_wp_element_namespaceObject.createElement)(section, {
+      title: (0,external_wp_i18n_namespaceObject.__)('Publishing'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Change options related to publishing.')
+    }, (0,external_wp_element_namespaceObject.createElement)(enable_publish_sidebar, {
+      help: (0,external_wp_i18n_namespaceObject.__)('Review settings, such as visibility and tags.'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Include pre-publish checklist')
+    })), (0,external_wp_element_namespaceObject.createElement)(section, {
+      title: (0,external_wp_i18n_namespaceObject.__)('Appearance'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Customize options related to the block editor interface and editing flow.')
+    }, (0,external_wp_element_namespaceObject.createElement)(enable_feature, {
       featureName: "reducedUI",
-      help: Object(external_wp_i18n_["__"])('Compacts options and outlines in the toolbar.'),
-      label: Object(external_wp_i18n_["__"])('Reduce the interface')
-    }), Object(external_wp_element_["createElement"])(options["b" /* EnableFeature */], {
+      help: (0,external_wp_i18n_namespaceObject.__)('Compacts options and outlines in the toolbar.'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Reduce the interface')
+    }), (0,external_wp_element_namespaceObject.createElement)(enable_feature, {
       featureName: "focusMode",
-      help: Object(external_wp_i18n_["__"])('Highlights the current block and fades other content.'),
-      label: Object(external_wp_i18n_["__"])('Spotlight mode')
-    }), Object(external_wp_element_["createElement"])(options["b" /* EnableFeature */], {
+      help: (0,external_wp_i18n_namespaceObject.__)('Highlights the current block and fades other content.'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Spotlight mode')
+    }), (0,external_wp_element_namespaceObject.createElement)(enable_feature, {
       featureName: "showIconLabels",
-      help: Object(external_wp_i18n_["__"])('Shows text instead of icons.'),
-      label: Object(external_wp_i18n_["__"])('Display button labels')
-    }), Object(external_wp_element_["createElement"])(options["b" /* EnableFeature */], {
+      help: (0,external_wp_i18n_namespaceObject.__)('Shows text instead of icons.'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Display button labels')
+    }), (0,external_wp_element_namespaceObject.createElement)(enable_feature, {
       featureName: "themeStyles",
-      help: Object(external_wp_i18n_["__"])('Make the editor look like your theme.'),
-      label: Object(external_wp_i18n_["__"])('Use theme styles')
-    }), showBlockBreadcrumbsOption && Object(external_wp_element_["createElement"])(options["b" /* EnableFeature */], {
+      help: (0,external_wp_i18n_namespaceObject.__)('Make the editor look like your theme.'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Use theme styles')
+    }), showBlockBreadcrumbsOption && (0,external_wp_element_namespaceObject.createElement)(enable_feature, {
       featureName: "showBlockBreadcrumbs",
-      help: Object(external_wp_i18n_["__"])('Shows block breadcrumbs at the bottom of the editor.'),
-      label: Object(external_wp_i18n_["__"])('Display block breadcrumbs')
+      help: (0,external_wp_i18n_namespaceObject.__)('Shows block breadcrumbs at the bottom of the editor.'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Display block breadcrumbs')
     })))
   }, {
     name: 'blocks',
-    tabLabel: Object(external_wp_i18n_["__"])('Blocks'),
-    content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(preferences_modal_section, {
-      title: Object(external_wp_i18n_["__"])('Block interactions'),
-      description: Object(external_wp_i18n_["__"])('Customize how you interact with blocks in the block library and editing canvas.')
-    }, Object(external_wp_element_["createElement"])(options["b" /* EnableFeature */], {
+    tabLabel: (0,external_wp_i18n_namespaceObject.__)('Blocks'),
+    content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(section, {
+      title: (0,external_wp_i18n_namespaceObject.__)('Block interactions'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Customize how you interact with blocks in the block library and editing canvas.')
+    }, (0,external_wp_element_namespaceObject.createElement)(enable_feature, {
       featureName: "mostUsedBlocks",
-      help: Object(external_wp_i18n_["__"])('Places the most frequent blocks in the block library.'),
-      label: Object(external_wp_i18n_["__"])('Show most used blocks')
-    }), Object(external_wp_element_["createElement"])(options["b" /* EnableFeature */], {
+      help: (0,external_wp_i18n_namespaceObject.__)('Places the most frequent blocks in the block library.'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Show most used blocks')
+    }), (0,external_wp_element_namespaceObject.createElement)(enable_feature, {
       featureName: "keepCaretInsideBlock",
-      help: Object(external_wp_i18n_["__"])('Aids screen readers by stopping text caret from leaving blocks.'),
-      label: Object(external_wp_i18n_["__"])('Contain text cursor inside block')
-    })), Object(external_wp_element_["createElement"])(preferences_modal_section, {
-      title: Object(external_wp_i18n_["__"])('Visible blocks'),
-      description: Object(external_wp_i18n_["__"])("Disable blocks that you don't want to appear in the inserter. They can always be toggled back on later.")
-    }, Object(external_wp_element_["createElement"])(block_manager, null)))
+      help: (0,external_wp_i18n_namespaceObject.__)('Aids screen readers by stopping text caret from leaving blocks.'),
+      label: (0,external_wp_i18n_namespaceObject.__)('Contain text cursor inside block')
+    })), (0,external_wp_element_namespaceObject.createElement)(section, {
+      title: (0,external_wp_i18n_namespaceObject.__)('Visible blocks'),
+      description: (0,external_wp_i18n_namespaceObject.__)("Disable blocks that you don't want to appear in the inserter. They can always be toggled back on later.")
+    }, (0,external_wp_element_namespaceObject.createElement)(block_manager, null)))
   }, {
     name: 'panels',
-    tabLabel: Object(external_wp_i18n_["__"])('Panels'),
-    content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(preferences_modal_section, {
-      title: Object(external_wp_i18n_["__"])('Document settings'),
-      description: Object(external_wp_i18n_["__"])('Choose what displays in the panel.')
-    }, Object(external_wp_element_["createElement"])(options["d" /* EnablePluginDocumentSettingPanelOption */].Slot, null), isViewable && Object(external_wp_element_["createElement"])(options["c" /* EnablePanelOption */], {
-      label: Object(external_wp_i18n_["__"])('Permalink'),
+    tabLabel: (0,external_wp_i18n_namespaceObject.__)('Panels'),
+    content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(section, {
+      title: (0,external_wp_i18n_namespaceObject.__)('Document settings'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Choose what displays in the panel.')
+    }, (0,external_wp_element_namespaceObject.createElement)(enable_plugin_document_setting_panel.Slot, null), isViewable && (0,external_wp_element_namespaceObject.createElement)(enable_panel, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Permalink'),
       panelName: "post-link"
-    }), isViewable && Object(external_wp_element_["createElement"])(options["c" /* EnablePanelOption */], {
-      label: Object(external_wp_i18n_["__"])('Template'),
+    }), isViewable && (0,external_wp_element_namespaceObject.createElement)(enable_panel, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Template'),
       panelName: "template"
-    }), Object(external_wp_element_["createElement"])(external_wp_editor_["PostTaxonomies"], {
-      taxonomyWrapper: (content, taxonomy) => Object(external_wp_element_["createElement"])(options["c" /* EnablePanelOption */], {
-        label: Object(external_lodash_["get"])(taxonomy, ['labels', 'menu_name']),
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTaxonomies, {
+      taxonomyWrapper: (content, taxonomy) => (0,external_wp_element_namespaceObject.createElement)(enable_panel, {
+        label: (0,external_lodash_namespaceObject.get)(taxonomy, ['labels', 'menu_name']),
         panelName: `taxonomy-panel-${taxonomy.slug}`
       })
-    }), Object(external_wp_element_["createElement"])(external_wp_editor_["PostFeaturedImageCheck"], null, Object(external_wp_element_["createElement"])(options["c" /* EnablePanelOption */], {
-      label: Object(external_wp_i18n_["__"])('Featured image'),
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostFeaturedImageCheck, null, (0,external_wp_element_namespaceObject.createElement)(enable_panel, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Featured image'),
       panelName: "featured-image"
-    })), Object(external_wp_element_["createElement"])(external_wp_editor_["PostExcerptCheck"], null, Object(external_wp_element_["createElement"])(options["c" /* EnablePanelOption */], {
-      label: Object(external_wp_i18n_["__"])('Excerpt'),
+    })), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostExcerptCheck, null, (0,external_wp_element_namespaceObject.createElement)(enable_panel, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Excerpt'),
       panelName: "post-excerpt"
-    })), Object(external_wp_element_["createElement"])(external_wp_editor_["PostTypeSupportCheck"], {
+    })), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTypeSupportCheck, {
       supportKeys: ['comments', 'trackbacks']
-    }, Object(external_wp_element_["createElement"])(options["c" /* EnablePanelOption */], {
-      label: Object(external_wp_i18n_["__"])('Discussion'),
+    }, (0,external_wp_element_namespaceObject.createElement)(enable_panel, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Discussion'),
       panelName: "discussion-panel"
-    })), Object(external_wp_element_["createElement"])(external_wp_editor_["PageAttributesCheck"], null, Object(external_wp_element_["createElement"])(options["c" /* EnablePanelOption */], {
-      label: Object(external_wp_i18n_["__"])('Page attributes'),
+    })), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PageAttributesCheck, null, (0,external_wp_element_namespaceObject.createElement)(enable_panel, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Page attributes'),
       panelName: "page-attributes"
-    }))), Object(external_wp_element_["createElement"])(meta_boxes_section, {
-      title: Object(external_wp_i18n_["__"])('Additional'),
-      description: Object(external_wp_i18n_["__"])('Add extra areas to the editor.')
+    }))), (0,external_wp_element_namespaceObject.createElement)(meta_boxes_section, {
+      title: (0,external_wp_i18n_namespaceObject.__)('Additional'),
+      description: (0,external_wp_i18n_namespaceObject.__)('Add extra areas to the editor.')
     }))
   }], [isViewable, isLargeViewport, showBlockBreadcrumbsOption]); // This is also used to sync the two different rendered components
   // between small and large viewports.

-  const [activeMenu, setActiveMenu] = Object(external_wp_element_["useState"])(PREFERENCES_MENU);
+  const [activeMenu, setActiveMenu] = (0,external_wp_element_namespaceObject.useState)(PREFERENCES_MENU);
   /**
    * Create helper objects from `sections` for easier data handling.
    * `tabs` is used for creating the `TabPanel` and `sectionsContentMap`
@@ -5417,7 +5018,7 @@ function PreferencesModal() {
   const {
     tabs,
     sectionsContentMap
-  } = Object(external_wp_element_["useMemo"])(() => sections.reduce((accumulator, _ref2) => {
+  } = (0,external_wp_element_namespaceObject.useMemo)(() => sections.reduce((accumulator, _ref2) => {
     let {
       name,
       tabLabel: title,
@@ -5433,7 +5034,7 @@ function PreferencesModal() {
     tabs: [],
     sectionsContentMap: {}
   }), [sections]);
-  const getCurrentTab = Object(external_wp_element_["useCallback"])(tab => sectionsContentMap[tab.name] || null, [sectionsContentMap]);
+  const getCurrentTab = (0,external_wp_element_namespaceObject.useCallback)(tab => sectionsContentMap[tab.name] || null, [sectionsContentMap]);

   if (!isModalActive) {
     return null;
@@ -5442,7 +5043,7 @@ function PreferencesModal() {
   let modalContent; // We render different components based on the viewport size.

   if (isLargeViewport) {
-    modalContent = Object(external_wp_element_["createElement"])(external_wp_components_["TabPanel"], {
+    modalContent = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TabPanel, {
       className: "edit-post-preferences__tabs",
       tabs: tabs,
       initialTabName: activeMenu !== PREFERENCES_MENU ? activeMenu : undefined,
@@ -5450,56 +5051,56 @@ function PreferencesModal() {
       orientation: "vertical"
     }, getCurrentTab);
   } else {
-    modalContent = Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorProvider"], {
+    modalContent = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorProvider, {
       initialPath: "/"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
       path: "/"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Card"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Card, {
       isBorderless: true,
       size: "small"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["CardBody"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalItemGroup"], null, tabs.map(tab => {
-      return Object(external_wp_element_["createElement"])(NavigationButton, {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CardBody, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItemGroup, null, tabs.map(tab => {
+      return (0,external_wp_element_namespaceObject.createElement)(NavigationButton, {
         key: tab.name,
         path: tab.name,
-        as: external_wp_components_["__experimentalItem"],
+        as: external_wp_components_namespaceObject.__experimentalItem,
         isAction: true
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
         justify: "space-between"
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalTruncate"], null, tab.title)), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-        icon: Object(external_wp_i18n_["isRTL"])() ? chevron_left["a" /* default */] : chevron_right["a" /* default */]
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalTruncate, null, tab.title)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(icon, {
+        icon: (0,external_wp_i18n_namespaceObject.isRTL)() ? chevron_left : chevron_right
       }))));
     }))))), sections.map(section => {
-      return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
         key: `${section.name}-menu`,
         path: section.name
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["Card"], {
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Card, {
         isBorderless: true,
         size: "large"
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["CardHeader"], {
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CardHeader, {
         isBorderless: false,
         justify: "left",
         size: "small",
         gap: "6"
-      }, Object(external_wp_element_["createElement"])(NavigationButton, {
+      }, (0,external_wp_element_namespaceObject.createElement)(NavigationButton, {
         path: "/",
-        icon: Object(external_wp_i18n_["isRTL"])() ? chevron_right["a" /* default */] : chevron_left["a" /* default */],
+        icon: (0,external_wp_i18n_namespaceObject.isRTL)() ? chevron_right : chevron_left,
         isBack: true,
-        "aria-label": Object(external_wp_i18n_["__"])('Navigate to the previous view')
-      }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalText"], {
+        "aria-label": (0,external_wp_i18n_namespaceObject.__)('Navigate to the previous view')
+      }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalText, {
         size: "16"
-      }, section.tabLabel)), Object(external_wp_element_["createElement"])(external_wp_components_["CardBody"], null, section.content)));
+      }, section.tabLabel)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CardBody, null, section.content)));
     }));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
     className: "edit-post-preferences-modal",
-    title: Object(external_wp_i18n_["__"])('Preferences'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Preferences'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
     onRequestClose: closeModal
   }, modalContent);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/browser-url/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/browser-url/index.js
 /**
  * WordPress dependencies
  */
@@ -5516,7 +5117,7 @@ function PreferencesModal() {
  */

 function getPostEditURL(postId) {
-  return Object(external_wp_url_["addQueryArgs"])('post.php', {
+  return (0,external_wp_url_namespaceObject.addQueryArgs)('post.php', {
     post: postId,
     action: 'edit'
   });
@@ -5531,13 +5132,13 @@ function getPostEditURL(postId) {
  */

 function getPostTrashedURL(postId, postType) {
-  return Object(external_wp_url_["addQueryArgs"])('edit.php', {
+  return (0,external_wp_url_namespaceObject.addQueryArgs)('edit.php', {
     trashed: 1,
     post_type: postType,
     ids: postId
   });
 }
-class browser_url_BrowserURL extends external_wp_element_["Component"] {
+class BrowserURL extends external_wp_element_namespaceObject.Component {
   constructor() {
     super(...arguments);
     this.state = {
@@ -5602,11 +5203,11 @@ class browser_url_BrowserURL extends external_wp_element_["Component"] {
   }

 }
-/* harmony default export */ var browser_url = (Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var browser_url = ((0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
     getCurrentPost,
     isSavingPost
-  } = select(external_wp_editor_["store"]);
+  } = select(external_wp_editor_namespaceObject.store);
   const post = getCurrentPost();
   let {
     id,
@@ -5625,12 +5226,24 @@ class browser_url_BrowserURL extends external_wp_element_["Component"] {
     postType: type,
     isSavingPost: isSavingPost()
   };
-})(browser_url_BrowserURL));
+})(BrowserURL));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/wordpress.js
+
+
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/wordpress.js
-var wordpress = __webpack_require__("wduq");
+const wordpress = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "-2 -2 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"
+}));
+/* harmony default export */ var library_wordpress = (wordpress);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/fullscreen-mode-close/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/fullscreen-mode-close/index.js


 /**
@@ -5666,18 +5279,18 @@ function FullscreenModeClose(_ref) {
     isRequestingSiteIcon,
     postType,
     siteIconUrl
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getCurrentPostType
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const {
       isFeatureActive
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     const {
       getEntityRecord,
       getPostType,
       isResolving
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
     return {
       isActive: isFeatureActive('fullscreenMode'),
@@ -5686,15 +5299,15 @@ function FullscreenModeClose(_ref) {
       siteIconUrl: siteData.site_icon_url
     };
   }, []);
-  const disableMotion = Object(external_wp_compose_["useReducedMotion"])();
+  const disableMotion = (0,external_wp_compose_namespaceObject.useReducedMotion)();

   if (!isActive || !postType) {
     return null;
   }

-  let buttonIcon = Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
+  let buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
     size: "36px",
-    icon: wordpress["a" /* default */]
+    icon: library_wordpress
   });
   const effect = {
     expand: {
@@ -5708,9 +5321,9 @@ function FullscreenModeClose(_ref) {
   };

   if (siteIconUrl) {
-    buttonIcon = Object(external_wp_element_["createElement"])(external_wp_components_["__unstableMotion"].img, {
+    buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.img, {
       variants: !disableMotion && effect,
-      alt: Object(external_wp_i18n_["__"])('Site Icon'),
+      alt: (0,external_wp_i18n_namespaceObject.__)('Site Icon'),
       className: "edit-post-fullscreen-mode-close_site-icon",
       src: siteIconUrl
     });
@@ -5722,33 +5335,57 @@ function FullscreenModeClose(_ref) {


   if (icon) {
-    buttonIcon = Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
+    buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
       size: "36px",
       icon: icon
     });
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["__unstableMotion"].div, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.div, {
     whileHover: "expand"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     className: "edit-post-fullscreen-mode-close has-icon",
-    href: href !== null && href !== void 0 ? href : Object(external_wp_url_["addQueryArgs"])('edit.php', {
+    href: href !== null && href !== void 0 ? href : (0,external_wp_url_namespaceObject.addQueryArgs)('edit.php', {
       post_type: postType.slug
     }),
-    label: Object(external_lodash_["get"])(postType, ['labels', 'view_items'], Object(external_wp_i18n_["__"])('Back')),
+    label: (0,external_lodash_namespaceObject.get)(postType, ['labels', 'view_items'], (0,external_wp_i18n_namespaceObject.__)('Back')),
     showTooltip: showTooltip
   }, buttonIcon));
 }

 /* harmony default export */ var fullscreen_mode_close = (FullscreenModeClose);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js
-var list_view = __webpack_require__("OzlF");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const listView = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
+}));
+/* harmony default export */ var list_view = (listView);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
-var plus = __webpack_require__("Q4Sy");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/header-toolbar/index.js
+/**
+ * WordPress dependencies
+ */
+
+const plus = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
+}));
+/* harmony default export */ var library_plus = (plus);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/header-toolbar/index.js


 /**
@@ -5774,11 +5411,11 @@ const preventDefault = event => {
 };

 function HeaderToolbar() {
-  const inserterButton = Object(external_wp_element_["useRef"])();
+  const inserterButton = (0,external_wp_element_namespaceObject.useRef)();
   const {
     setIsInserterOpened,
     setIsListViewOpened
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
   const {
     isInserterEnabled,
     isInserterOpened,
@@ -5786,60 +5423,60 @@ function HeaderToolbar() {
     showIconLabels,
     isListViewOpen,
     listViewShortcut
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       hasInserterItems,
       getBlockRootClientId,
       getBlockSelectionEnd
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const {
       getEditorSettings
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const {
       getEditorMode,
       isFeatureActive,
       isListViewOpened
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     const {
       getShortcutRepresentation
-    } = select(external_wp_keyboardShortcuts_["store"]);
+    } = select(external_wp_keyboardShortcuts_namespaceObject.store);
     return {
       // This setting (richEditingEnabled) should not live in the block editor's setting.
       isInserterEnabled: getEditorMode() === 'visual' && getEditorSettings().richEditingEnabled && hasInserterItems(getBlockRootClientId(getBlockSelectionEnd())),
-      isInserterOpened: select(store["a" /* store */]).isInserterOpened(),
+      isInserterOpened: select(store_store).isInserterOpened(),
       isTextModeEnabled: getEditorMode() === 'text',
       showIconLabels: isFeatureActive('showIconLabels'),
       isListViewOpen: isListViewOpened(),
       listViewShortcut: getShortcutRepresentation('core/edit-post/toggle-list-view')
     };
   }, []);
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
-  const isWideViewport = Object(external_wp_compose_["useViewportMatch"])('wide');
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  const isWideViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('wide');
   /* translators: accessibility text for the editor toolbar */

-  const toolbarAriaLabel = Object(external_wp_i18n_["__"])('Document tools');
+  const toolbarAriaLabel = (0,external_wp_i18n_namespaceObject.__)('Document tools');

-  const toggleListView = Object(external_wp_element_["useCallback"])(() => setIsListViewOpened(!isListViewOpen), [setIsListViewOpened, isListViewOpen]);
-  const overflowItems = Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], {
-    as: external_wp_editor_["TableOfContents"],
+  const toggleListView = (0,external_wp_element_namespaceObject.useCallback)(() => setIsListViewOpened(!isListViewOpen), [setIsListViewOpened, isListViewOpen]);
+  const overflowItems = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+    as: external_wp_editor_namespaceObject.TableOfContents,
     hasOutlineItemsDisabled: isTextModeEnabled,
     repositionDropdown: showIconLabels && !isWideViewport,
     showTooltip: !showIconLabels,
     variant: showIconLabels ? 'tertiary' : undefined
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], {
-    as: external_wp_components_["Button"],
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+    as: external_wp_components_namespaceObject.Button,
     className: "edit-post-header-toolbar__list-view-toggle",
-    icon: list_view["a" /* default */],
+    icon: list_view,
     disabled: isTextModeEnabled,
     isPressed: isListViewOpen
     /* translators: button label text should, if possible, be under 16 characters. */
     ,
-    label: Object(external_wp_i18n_["__"])('List View'),
+    label: (0,external_wp_i18n_namespaceObject.__)('List View'),
     onClick: toggleListView,
     shortcut: listViewShortcut,
     showTooltip: !showIconLabels
   }));
-  const openInserter = Object(external_wp_element_["useCallback"])(() => {
+  const openInserter = (0,external_wp_element_namespaceObject.useCallback)(() => {
     if (isInserterOpened) {
       // Focusing the inserter button closes the inserter popover
       inserterButton.current.focus();
@@ -5847,37 +5484,37 @@ function HeaderToolbar() {
       setIsInserterOpened(true);
     }
   }, [isInserterOpened, setIsInserterOpened]);
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["NavigableToolbar"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.NavigableToolbar, {
     className: "edit-post-header-toolbar",
     "aria-label": toolbarAriaLabel
-  }, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-header-toolbar__left"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
     ref: inserterButton,
-    as: external_wp_components_["Button"],
+    as: external_wp_components_namespaceObject.Button,
     className: "edit-post-header-toolbar__inserter-toggle",
     variant: "primary",
     isPressed: isInserterOpened,
     onMouseDown: preventDefault,
     onClick: openInserter,
     disabled: !isInserterEnabled,
-    icon: plus["a" /* default */]
+    icon: library_plus
     /* translators: button label text should, if possible, be under 16
     characters. */
     ,
-    label: Object(external_wp_i18n_["_x"])('Toggle block inserter', 'Generic label for block inserter button'),
+    label: (0,external_wp_i18n_namespaceObject._x)('Toggle block inserter', 'Generic label for block inserter button'),
     showTooltip: !showIconLabels
-  }, showIconLabels && (!isInserterOpened ? Object(external_wp_i18n_["__"])('Add') : Object(external_wp_i18n_["__"])('Close'))), (isWideViewport || !showIconLabels) && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isLargeViewport && Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], {
-    as: external_wp_blockEditor_["ToolSelector"],
+  }, showIconLabels && (!isInserterOpened ? (0,external_wp_i18n_namespaceObject.__)('Add') : (0,external_wp_i18n_namespaceObject.__)('Close'))), (isWideViewport || !showIconLabels) && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isLargeViewport && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+    as: external_wp_blockEditor_namespaceObject.ToolSelector,
     showTooltip: !showIconLabels,
     variant: showIconLabels ? 'tertiary' : undefined,
     disabled: isTextModeEnabled
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], {
-    as: external_wp_editor_["EditorHistoryUndo"],
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+    as: external_wp_editor_namespaceObject.EditorHistoryUndo,
     showTooltip: !showIconLabels,
     variant: showIconLabels ? 'tertiary' : undefined
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], {
-    as: external_wp_editor_["EditorHistoryRedo"],
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+    as: external_wp_editor_namespaceObject.EditorHistoryRedo,
     showTooltip: !showIconLabels,
     variant: showIconLabels ? 'tertiary' : undefined
   }), overflowItems)));
@@ -5885,7 +5522,7 @@ function HeaderToolbar() {

 /* harmony default export */ var header_toolbar = (HeaderToolbar);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/mode-switcher/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/mode-switcher/index.js


 /**
@@ -5909,10 +5546,10 @@ function HeaderToolbar() {

 const MODES = [{
   value: 'visual',
-  label: Object(external_wp_i18n_["__"])('Visual editor')
+  label: (0,external_wp_i18n_namespaceObject.__)('Visual editor')
 }, {
   value: 'text',
-  label: Object(external_wp_i18n_["__"])('Code editor')
+  label: (0,external_wp_i18n_namespaceObject.__)('Code editor')
 }];

 function ModeSwitcher() {
@@ -5922,16 +5559,16 @@ function ModeSwitcher() {
     isCodeEditingEnabled,
     isEditingTemplate,
     mode
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    shortcut: select(external_wp_keyboardShortcuts_["store"]).getShortcutRepresentation('core/edit-post/toggle-mode'),
-    isRichEditingEnabled: select(external_wp_editor_["store"]).getEditorSettings().richEditingEnabled,
-    isCodeEditingEnabled: select(external_wp_editor_["store"]).getEditorSettings().codeEditingEnabled,
-    isEditingTemplate: select(store["a" /* store */]).isEditingTemplate(),
-    mode: select(store["a" /* store */]).getEditorMode()
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    shortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getShortcutRepresentation('core/edit-post/toggle-mode'),
+    isRichEditingEnabled: select(external_wp_editor_namespaceObject.store).getEditorSettings().richEditingEnabled,
+    isCodeEditingEnabled: select(external_wp_editor_namespaceObject.store).getEditorSettings().codeEditingEnabled,
+    isEditingTemplate: select(store_store).isEditingTemplate(),
+    mode: select(store_store).getEditorMode()
   }), []);
   const {
     switchEditorMode
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);

   if (isEditingTemplate) {
     return null;
@@ -5950,9 +5587,9 @@ function ModeSwitcher() {

     return choice;
   });
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Editor')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItemsChoice"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Editor')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItemsChoice, {
     choices: choices,
     value: mode,
     onSelect: switchEditorMode
@@ -5961,7 +5598,7 @@ function ModeSwitcher() {

 /* harmony default export */ var mode_switcher = (ModeSwitcher);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/preferences-menu-item/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/preferences-menu-item/index.js


 /**
@@ -5978,15 +5615,15 @@ function ModeSwitcher() {
 function PreferencesMenuItem() {
   const {
     openModal
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
     onClick: () => {
       openModal('edit-post/preferences');
     }
-  }, Object(external_wp_i18n_["__"])('Preferences'));
+  }, (0,external_wp_i18n_namespaceObject.__)('Preferences'));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/writing-menu/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/writing-menu/index.js


 /**
@@ -5999,42 +5636,42 @@ function PreferencesMenuItem() {


 function WritingMenu() {
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');

   if (!isLargeViewport) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["_x"])('View', 'noun')
-  }, Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject._x)('View', 'noun')
+  }, (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
     scope: "core/edit-post",
     feature: "fixedToolbar",
-    label: Object(external_wp_i18n_["__"])('Top toolbar'),
-    info: Object(external_wp_i18n_["__"])('Access all block and document tools in a single place'),
-    messageActivated: Object(external_wp_i18n_["__"])('Top toolbar activated'),
-    messageDeactivated: Object(external_wp_i18n_["__"])('Top toolbar deactivated')
-  }), Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Top toolbar'),
+    info: (0,external_wp_i18n_namespaceObject.__)('Access all block and document tools in a single place'),
+    messageActivated: (0,external_wp_i18n_namespaceObject.__)('Top toolbar activated'),
+    messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Top toolbar deactivated')
+  }), (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
     scope: "core/edit-post",
     feature: "focusMode",
-    label: Object(external_wp_i18n_["__"])('Spotlight mode'),
-    info: Object(external_wp_i18n_["__"])('Focus on one block at a time'),
-    messageActivated: Object(external_wp_i18n_["__"])('Spotlight mode activated'),
-    messageDeactivated: Object(external_wp_i18n_["__"])('Spotlight mode deactivated')
-  }), Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Spotlight mode'),
+    info: (0,external_wp_i18n_namespaceObject.__)('Focus on one block at a time'),
+    messageActivated: (0,external_wp_i18n_namespaceObject.__)('Spotlight mode activated'),
+    messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Spotlight mode deactivated')
+  }), (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
     scope: "core/edit-post",
     feature: "fullscreenMode",
-    label: Object(external_wp_i18n_["__"])('Fullscreen mode'),
-    info: Object(external_wp_i18n_["__"])('Work without distraction'),
-    messageActivated: Object(external_wp_i18n_["__"])('Fullscreen mode activated'),
-    messageDeactivated: Object(external_wp_i18n_["__"])('Fullscreen mode deactivated'),
-    shortcut: external_wp_keycodes_["displayShortcut"].secondary('f')
+    label: (0,external_wp_i18n_namespaceObject.__)('Fullscreen mode'),
+    info: (0,external_wp_i18n_namespaceObject.__)('Work without distraction'),
+    messageActivated: (0,external_wp_i18n_namespaceObject.__)('Fullscreen mode activated'),
+    messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Fullscreen mode deactivated'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.secondary('f')
   }));
 }

 /* harmony default export */ var writing_menu = (WritingMenu);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/more-menu/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/more-menu/index.js


 /**
@@ -6060,8 +5697,8 @@ const MoreMenu = _ref => {
   let {
     showIconLabels
   } = _ref;
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('large');
-  return Object(external_wp_element_["createElement"])(build_module["f" /* MoreMenuDropdown */], {
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('large');
+  return (0,external_wp_element_namespaceObject.createElement)(MoreMenuDropdown, {
     className: "edit-post-more-menu",
     popoverProps: POPOVER_PROPS,
     toggleProps: {
@@ -6074,27 +5711,27 @@ const MoreMenu = _ref => {
     let {
       onClose
     } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, showIconLabels && !isLargeViewport && Object(external_wp_element_["createElement"])(build_module["h" /* PinnedItems */].Slot, {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, showIconLabels && !isLargeViewport && (0,external_wp_element_namespaceObject.createElement)(pinned_items.Slot, {
       className: showIconLabels && 'show-icon-labels',
       scope: "core/edit-post"
-    }), Object(external_wp_element_["createElement"])(writing_menu, null), Object(external_wp_element_["createElement"])(mode_switcher, null), Object(external_wp_element_["createElement"])(build_module["a" /* ActionItem */].Slot, {
+    }), (0,external_wp_element_namespaceObject.createElement)(writing_menu, null), (0,external_wp_element_namespaceObject.createElement)(mode_switcher, null), (0,external_wp_element_namespaceObject.createElement)(action_item.Slot, {
       name: "core/edit-post/plugin-more-menu",
-      label: Object(external_wp_i18n_["__"])('Plugins'),
-      as: external_wp_components_["MenuGroup"],
+      label: (0,external_wp_i18n_namespaceObject.__)('Plugins'),
+      as: external_wp_components_namespaceObject.MenuGroup,
       fillProps: {
         onClick: onClose
       }
-    }), Object(external_wp_element_["createElement"])(tools_more_menu_group.Slot, {
+    }), (0,external_wp_element_namespaceObject.createElement)(tools_more_menu_group.Slot, {
       fillProps: {
         onClose
       }
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])(PreferencesMenuItem, null)));
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, (0,external_wp_element_namespaceObject.createElement)(PreferencesMenuItem, null)));
   });
 };

 /* harmony default export */ var more_menu = (MoreMenu);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/post-publish-button-or-toggle.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/post-publish-button-or-toggle.js


 /**
@@ -6129,7 +5766,7 @@ function PostPublishButtonOrToggle(_ref) {
   } = _ref;
   const IS_TOGGLE = 'toggle';
   const IS_BUTTON = 'button';
-  const isSmallerThanMediumViewport = Object(external_wp_compose_["useViewportMatch"])('medium', '<');
+  const isSmallerThanMediumViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
   let component;
   /**
    * Conditions to show a BUTTON (publish directly) or a TOGGLE (open publish sidebar):
@@ -6164,7 +5801,7 @@ function PostPublishButtonOrToggle(_ref) {
     component = IS_BUTTON;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostPublishButton"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostPublishButton, {
     forceIsDirty: forceIsDirty,
     forceIsSaving: forceIsSaving,
     isOpen: isPublishSidebarOpened,
@@ -6173,24 +5810,24 @@ function PostPublishButtonOrToggle(_ref) {
     setEntitiesSavedStatesCallback: setEntitiesSavedStatesCallback
   });
 }
-/* harmony default export */ var post_publish_button_or_toggle = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])(select => ({
-  hasPublishAction: Object(external_lodash_["get"])(select(external_wp_editor_["store"]).getCurrentPost(), ['_links', 'wp:action-publish'], false),
-  isBeingScheduled: select(external_wp_editor_["store"]).isEditedPostBeingScheduled(),
-  isPending: select(external_wp_editor_["store"]).isCurrentPostPending(),
-  isPublished: select(external_wp_editor_["store"]).isCurrentPostPublished(),
-  isPublishSidebarEnabled: select(external_wp_editor_["store"]).isPublishSidebarEnabled(),
-  isPublishSidebarOpened: select(store["a" /* store */]).isPublishSidebarOpened(),
-  isScheduled: select(external_wp_editor_["store"]).isCurrentPostScheduled()
-})), Object(external_wp_data_["withDispatch"])(dispatch => {
+/* harmony default export */ var post_publish_button_or_toggle = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)(select => ({
+  hasPublishAction: (0,external_lodash_namespaceObject.get)(select(external_wp_editor_namespaceObject.store).getCurrentPost(), ['_links', 'wp:action-publish'], false),
+  isBeingScheduled: select(external_wp_editor_namespaceObject.store).isEditedPostBeingScheduled(),
+  isPending: select(external_wp_editor_namespaceObject.store).isCurrentPostPending(),
+  isPublished: select(external_wp_editor_namespaceObject.store).isCurrentPostPublished(),
+  isPublishSidebarEnabled: select(external_wp_editor_namespaceObject.store).isPublishSidebarEnabled(),
+  isPublishSidebarOpened: select(store_store).isPublishSidebarOpened(),
+  isScheduled: select(external_wp_editor_namespaceObject.store).isCurrentPostScheduled()
+})), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
   const {
     togglePublishSidebar
-  } = dispatch(store["a" /* store */]);
+  } = dispatch(store_store);
   return {
     togglePublishSidebar
   };
 }))(PostPublishButtonOrToggle));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/device-preview/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/device-preview/index.js


 /**
@@ -6213,34 +5850,34 @@ function DevicePreview() {
     isPostSaveable,
     isSaving,
     deviceType
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    hasActiveMetaboxes: select(store["a" /* store */]).hasMetaBoxes(),
-    isSaving: select(store["a" /* store */]).isSavingMetaBoxes(),
-    isPostSaveable: select(external_wp_editor_["store"]).isEditedPostSaveable(),
-    deviceType: select(store["a" /* store */]).__experimentalGetPreviewDeviceType()
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    hasActiveMetaboxes: select(store_store).hasMetaBoxes(),
+    isSaving: select(store_store).isSavingMetaBoxes(),
+    isPostSaveable: select(external_wp_editor_namespaceObject.store).isEditedPostSaveable(),
+    deviceType: select(store_store).__experimentalGetPreviewDeviceType()
   }), []);
   const {
     __experimentalSetPreviewDeviceType: setPreviewDeviceType
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalPreviewOptions"], {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalPreviewOptions, {
     isEnabled: isPostSaveable,
     className: "edit-post-post-preview-dropdown",
     deviceType: deviceType,
     setDeviceType: setPreviewDeviceType
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-header-preview__grouping-external"
-  }, Object(external_wp_element_["createElement"])(external_wp_editor_["PostPreviewButton"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostPreviewButton, {
     className: 'edit-post-header-preview__button-external',
     role: "menuitem",
     forceIsAutosaveable: hasActiveMetaboxes,
     forcePreviewLink: isSaving ? null : undefined,
-    textContent: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_i18n_["__"])('Preview in new tab'), Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
-      icon: external["a" /* default */]
+    textContent: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_i18n_namespaceObject.__)('Preview in new tab'), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+      icon: library_external
     }))
   }))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/main-dashboard-button/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/main-dashboard-button/index.js


 /**
@@ -6249,23 +5886,23 @@ function DevicePreview() {

 const slotName = '__experimentalMainDashboardButton';
 const {
-  Fill,
+  Fill: main_dashboard_button_Fill,
   Slot: MainDashboardButtonSlot
-} = Object(external_wp_components_["createSlotFill"])(slotName);
-const MainDashboardButton = Fill;
+} = (0,external_wp_components_namespaceObject.createSlotFill)(slotName);
+const MainDashboardButton = main_dashboard_button_Fill;

 const main_dashboard_button_Slot = _ref => {
   let {
     children
   } = _ref;
-  const slot = Object(external_wp_components_["__experimentalUseSlot"])(slotName);
+  const slot = (0,external_wp_components_namespaceObject.__experimentalUseSlot)(slotName);
   const hasFills = Boolean(slot.fills && slot.fills.length);

   if (!hasFills) {
     return children;
   }

-  return Object(external_wp_element_["createElement"])(MainDashboardButtonSlot, {
+  return (0,external_wp_element_namespaceObject.createElement)(MainDashboardButtonSlot, {
     bubblesVirtually: true
   });
 };
@@ -6273,10 +5910,22 @@ const main_dashboard_button_Slot = _ref => {
 MainDashboardButton.Slot = main_dashboard_button_Slot;
 /* harmony default export */ var main_dashboard_button = (MainDashboardButton);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js
-var chevron_down = __webpack_require__("NWDH");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const chevronDown = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
+}));
+/* harmony default export */ var chevron_down = (chevronDown);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/template-title/delete-template.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/template-title/delete-template.js


 /**
@@ -6301,27 +5950,27 @@ var chevron_down = __webpack_require__("NWDH");
 function DeleteTemplate() {
   const {
     clearSelectedBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
   const {
     setIsEditingTemplate
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
   const {
     getEditorSettings
-  } = Object(external_wp_data_["useSelect"])(external_wp_editor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_editor_namespaceObject.store);
   const {
     updateEditorSettings,
     editPost
-  } = Object(external_wp_data_["useDispatch"])(external_wp_editor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_editor_namespaceObject.store);
   const {
     deleteEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
   const {
     template
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       isEditingTemplate,
       getEditedPostTemplate
-    } = select(store["a" /* store */]);
+    } = select(store_store);

     const _isEditing = isEditingTemplate();

@@ -6340,25 +5989,25 @@ function DeleteTemplate() {
     templateTitle = template.title;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
     className: "edit-post-template-top-area__second-menu-group"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
     className: "edit-post-template-top-area__delete-template-button",
     isDestructive: true,
     variant: "secondary",
-    "aria-label": Object(external_wp_i18n_["__"])('Delete template'),
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Delete template'),
     onClick: () => {
       if ( // eslint-disable-next-line no-alert
-      window.confirm(Object(external_wp_i18n_["sprintf"])(
+      window.confirm((0,external_wp_i18n_namespaceObject.sprintf)(
       /* translators: %s: template name */
-      Object(external_wp_i18n_["__"])('Are you sure you want to delete the %s template? It may be used by other pages or posts.'), templateTitle))) {
+      (0,external_wp_i18n_namespaceObject.__)('Are you sure you want to delete the %s template? It may be used by other pages or posts.'), templateTitle))) {
         clearSelectedBlock();
         setIsEditingTemplate(false);
         editPost({
           template: ''
         });
         const settings = getEditorSettings();
-        const newAvailableTemplates = Object(external_lodash_["pickBy"])(settings.availableTemplates, (_title, id) => {
+        const newAvailableTemplates = (0,external_lodash_namespaceObject.pickBy)(settings.availableTemplates, (_title, id) => {
           return id !== template.slug;
         });
         updateEditorSettings({ ...settings,
@@ -6367,10 +6016,10 @@ function DeleteTemplate() {
         deleteEntityRecord('postType', 'wp_template', template.id);
       }
     }
-  }, Object(external_wp_i18n_["__"])('Delete template')));
+  }, (0,external_wp_i18n_namespaceObject.__)('Delete template')));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/template-title/edit-template-title.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/template-title/edit-template-title.js


 /**
@@ -6394,29 +6043,29 @@ function DeleteTemplate() {
 function EditTemplateTitle() {
   const {
     template
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEditedPostTemplate
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     return {
       template: getEditedPostTemplate()
     };
   }, []);
   const {
     editEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
   const {
     getEditorSettings
-  } = Object(external_wp_data_["useSelect"])(external_wp_editor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_editor_namespaceObject.store);
   const {
     updateEditorSettings
-  } = Object(external_wp_data_["useDispatch"])(external_wp_editor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_editor_namespaceObject.store);

   if (template.has_theme_file) {
     return null;
   }

-  let templateTitle = Object(external_wp_i18n_["__"])('Default');
+  let templateTitle = (0,external_wp_i18n_namespaceObject.__)('Default');

   if (template !== null && template !== void 0 && template.title) {
     templateTitle = template.title;
@@ -6424,13 +6073,13 @@ function EditTemplateTitle() {
     templateTitle = template.slug;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Title'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Title'),
     value: templateTitle,
-    help: Object(external_wp_i18n_["__"])('Give the template a title that indicates its purpose, e.g. "Full Width".'),
+    help: (0,external_wp_i18n_namespaceObject.__)('Give the template a title that indicates its purpose, e.g. "Full Width".'),
     onChange: newTitle => {
       const settings = getEditorSettings();
-      const newAvailableTemplates = Object(external_lodash_["mapValues"])(settings.availableTemplates, (existingTitle, id) => {
+      const newAvailableTemplates = (0,external_lodash_namespaceObject.mapValues)(settings.availableTemplates, (existingTitle, id) => {
         if (id !== template.slug) {
           return existingTitle;
         }
@@ -6447,7 +6096,7 @@ function EditTemplateTitle() {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/template-title/template-description.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/template-title/template-description.js


 /**
@@ -6464,10 +6113,10 @@ function TemplateDescription() {
   const {
     description,
     title
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEditedPostTemplate
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     return {
       title: getEditedPostTemplate().title,
       description: getEditedPostTemplate().description
@@ -6478,10 +6127,10 @@ function TemplateDescription() {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHeading"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHeading, {
     level: 4,
     weight: 600
-  }, title), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalText"], {
+  }, title), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalText, {
     className: "edit-post-template-details__description",
     size: "body",
     as: "p",
@@ -6491,7 +6140,7 @@ function TemplateDescription() {
   }, description));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/template-title/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/template-title/index.js


 /**
@@ -6517,35 +6166,35 @@ function TemplateTitle() {
     template,
     isEditing,
     title
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       isEditingTemplate,
       getEditedPostTemplate
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     const {
       getEditedPostAttribute
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);

     const _isEditing = isEditingTemplate();

     return {
       template: _isEditing ? getEditedPostTemplate() : null,
       isEditing: _isEditing,
-      title: getEditedPostAttribute('title') ? getEditedPostAttribute('title') : Object(external_wp_i18n_["__"])('Untitled')
+      title: getEditedPostAttribute('title') ? getEditedPostAttribute('title') : (0,external_wp_i18n_namespaceObject.__)('Untitled')
     };
   }, []);
   const {
     clearSelectedBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
   const {
     setIsEditingTemplate
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);

   if (!isEditing || !template) {
     return null;
   }

-  let templateTitle = Object(external_wp_i18n_["__"])('Default');
+  let templateTitle = (0,external_wp_i18n_namespaceObject.__)('Default');

   if (template !== null && template !== void 0 && template.title) {
     templateTitle = template.title;
@@ -6554,37 +6203,37 @@ function TemplateTitle() {
   }

   const hasOptions = !!(template.custom || template.wp_id || template.description);
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-template-top-area"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     className: "edit-post-template-post-title",
     isLink: true,
     showTooltip: true,
-    label: Object(external_wp_i18n_["sprintf"])(
+    label: (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: Title of the referring post, e.g: "Hello World!" */
-    Object(external_wp_i18n_["__"])('Edit %s'), title),
+    (0,external_wp_i18n_namespaceObject.__)('Edit %s'), title),
     onClick: () => {
       clearSelectedBlock();
       setIsEditingTemplate(false);
     }
-  }, title), hasOptions ? Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
+  }, title), hasOptions ? (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
     position: "bottom center",
     contentClassName: "edit-post-template-top-area__popover",
     renderToggle: _ref => {
       let {
         onToggle
       } = _ref;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
         className: "edit-post-template-title",
         isLink: true,
-        icon: chevron_down["a" /* default */],
+        icon: chevron_down,
         showTooltip: true,
         onClick: onToggle,
-        label: Object(external_wp_i18n_["__"])('Template Options')
+        label: (0,external_wp_i18n_namespaceObject.__)('Template Options')
       }, templateTitle);
     },
-    renderContent: () => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(EditTemplateTitle, null), Object(external_wp_element_["createElement"])(TemplateDescription, null), Object(external_wp_element_["createElement"])(DeleteTemplate, null))
-  }) : Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalText"], {
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(EditTemplateTitle, null), (0,external_wp_element_namespaceObject.createElement)(TemplateDescription, null), (0,external_wp_element_namespaceObject.createElement)(DeleteTemplate, null))
+  }) : (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalText, {
     className: "edit-post-template-title",
     size: "body",
     style: {
@@ -6595,7 +6244,7 @@ function TemplateTitle() {

 /* harmony default export */ var template_title = (TemplateTitle);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/index.js


 /**
@@ -6633,54 +6282,66 @@ function Header(_ref) {
     isSaving,
     showIconLabels,
     hasReducedUI
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    hasActiveMetaboxes: select(store["a" /* store */]).hasMetaBoxes(),
-    isPublishSidebarOpened: select(store["a" /* store */]).isPublishSidebarOpened(),
-    isSaving: select(store["a" /* store */]).isSavingMetaBoxes(),
-    showIconLabels: select(store["a" /* store */]).isFeatureActive('showIconLabels'),
-    hasReducedUI: select(store["a" /* store */]).isFeatureActive('reducedUI')
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    hasActiveMetaboxes: select(store_store).hasMetaBoxes(),
+    isPublishSidebarOpened: select(store_store).isPublishSidebarOpened(),
+    isSaving: select(store_store).isSavingMetaBoxes(),
+    showIconLabels: select(store_store).isFeatureActive('showIconLabels'),
+    hasReducedUI: select(store_store).isFeatureActive('reducedUI')
   }), []);
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('large');
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('large');
   const classes = classnames_default()('edit-post-header', {
     'has-reduced-ui': hasReducedUI
   });
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: classes
-  }, Object(external_wp_element_["createElement"])(main_dashboard_button.Slot, null, Object(external_wp_element_["createElement"])(fullscreen_mode_close, null)), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)(main_dashboard_button.Slot, null, (0,external_wp_element_namespaceObject.createElement)(fullscreen_mode_close, null)), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-header__toolbar"
-  }, Object(external_wp_element_["createElement"])(header_toolbar, null), Object(external_wp_element_["createElement"])(template_title, null)), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)(header_toolbar, null), (0,external_wp_element_namespaceObject.createElement)(template_title, null)), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-header__settings"
   }, !isPublishSidebarOpened && // This button isn't completely hidden by the publish sidebar.
   // We can't hide the whole toolbar when the publish sidebar is open because
   // we want to prevent mounting/unmounting the PostPublishButtonOrToggle DOM node.
   // We track that DOM node to return focus to the PostPublishButtonOrToggle
   // when the publish sidebar has been closed.
-  Object(external_wp_element_["createElement"])(external_wp_editor_["PostSavedState"], {
+  (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostSavedState, {
     forceIsDirty: hasActiveMetaboxes,
     forceIsSaving: isSaving,
     showIconLabels: showIconLabels
-  }), Object(external_wp_element_["createElement"])(DevicePreview, null), Object(external_wp_element_["createElement"])(external_wp_editor_["PostPreviewButton"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(DevicePreview, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostPreviewButton, {
     forceIsAutosaveable: hasActiveMetaboxes,
     forcePreviewLink: isSaving ? null : undefined
-  }), Object(external_wp_element_["createElement"])(post_publish_button_or_toggle, {
+  }), (0,external_wp_element_namespaceObject.createElement)(post_publish_button_or_toggle, {
     forceIsDirty: hasActiveMetaboxes,
     forceIsSaving: isSaving,
     setEntitiesSavedStatesCallback: setEntitiesSavedStatesCallback
-  }), (isLargeViewport || !showIconLabels) && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(build_module["h" /* PinnedItems */].Slot, {
+  }), (isLargeViewport || !showIconLabels) && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(pinned_items.Slot, {
     scope: "core/edit-post"
-  }), Object(external_wp_element_["createElement"])(more_menu, {
+  }), (0,external_wp_element_namespaceObject.createElement)(more_menu, {
     showIconLabels: showIconLabels
-  })), showIconLabels && !isLargeViewport && Object(external_wp_element_["createElement"])(more_menu, {
+  })), showIconLabels && !isLargeViewport && (0,external_wp_element_namespaceObject.createElement)(more_menu, {
     showIconLabels: showIconLabels
   })));
 }

 /* harmony default export */ var header = (Header);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
-var library_close = __webpack_require__("w95h");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_close = (close_close);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/secondary-sidebar/inserter-sidebar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/secondary-sidebar/inserter-sidebar.js



@@ -6701,11 +6362,11 @@ function InserterSidebar() {
   const {
     insertionPoint,
     showMostUsedBlocks
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       isFeatureActive,
       __experimentalGetInsertionPoint
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     return {
       insertionPoint: __experimentalGetInsertionPoint(),
       showMostUsedBlocks: isFeatureActive('mostUsedBlocks')
@@ -6713,23 +6374,23 @@ function InserterSidebar() {
   }, []);
   const {
     setIsInserterOpened
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const isMobileViewport = Object(external_wp_compose_["useViewportMatch"])('medium', '<');
-  const [inserterDialogRef, inserterDialogProps] = Object(external_wp_compose_["__experimentalUseDialog"])({
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const isMobileViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
+  const [inserterDialogRef, inserterDialogProps] = (0,external_wp_compose_namespaceObject.__experimentalUseDialog)({
     onClose: () => setIsInserterOpened(false)
   });
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
     ref: inserterDialogRef
   }, inserterDialogProps, {
     className: "edit-post-editor__inserter-panel"
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-editor__inserter-panel-header"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: library_close["a" /* default */],
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: library_close,
     onClick: () => setIsInserterOpened(false)
-  })), Object(external_wp_element_["createElement"])("div", {
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-editor__inserter-panel-content"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLibrary"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLibrary, {
     showMostUsedBlocks: showMostUsedBlocks,
     showInserterHelpPanel: true,
     shouldFocusBlock: isMobileViewport,
@@ -6739,10 +6400,7 @@ function InserterSidebar() {
   })));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/secondary-sidebar/list-view-sidebar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/secondary-sidebar/list-view-sidebar.js


 /**
@@ -6763,46 +6421,46 @@ var close_small = __webpack_require__("bWcr");
 function ListViewSidebar() {
   const {
     setIsListViewOpened
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
   const {
     clearSelectedBlock,
     selectBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);

   async function selectEditorBlock(clientId) {
     await clearSelectedBlock();
     selectBlock(clientId, -1);
   }

-  const focusOnMountRef = Object(external_wp_compose_["useFocusOnMount"])('firstElement');
-  const focusReturnRef = Object(external_wp_compose_["useFocusReturn"])();
+  const focusOnMountRef = (0,external_wp_compose_namespaceObject.useFocusOnMount)('firstElement');
+  const focusReturnRef = (0,external_wp_compose_namespaceObject.useFocusReturn)();

   function closeOnEscape(event) {
-    if (event.keyCode === external_wp_keycodes_["ESCAPE"] && !event.defaultPrevented) {
+    if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented) {
       event.preventDefault();
       setIsListViewOpened(false);
     }
   }

-  const instanceId = Object(external_wp_compose_["useInstanceId"])(ListViewSidebar);
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ListViewSidebar);
   const labelId = `edit-post-editor__list-view-panel-label-${instanceId}`;
   return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
-    Object(external_wp_element_["createElement"])("div", {
+    (0,external_wp_element_namespaceObject.createElement)("div", {
       "aria-labelledby": labelId,
       className: "edit-post-editor__list-view-panel",
       onKeyDown: closeOnEscape
-    }, Object(external_wp_element_["createElement"])("div", {
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "edit-post-editor__list-view-panel-header"
-    }, Object(external_wp_element_["createElement"])("strong", {
+    }, (0,external_wp_element_namespaceObject.createElement)("strong", {
       id: labelId
-    }, Object(external_wp_i18n_["__"])('List view')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      icon: close_small["a" /* default */],
-      label: Object(external_wp_i18n_["__"])('Close list view sidebar'),
+    }, (0,external_wp_i18n_namespaceObject.__)('List view')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      icon: close_small,
+      label: (0,external_wp_i18n_namespaceObject.__)('Close list view sidebar'),
       onClick: () => setIsListViewOpened(false)
-    })), Object(external_wp_element_["createElement"])("div", {
+    })), (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "edit-post-editor__list-view-panel-content",
-      ref: Object(external_wp_compose_["useMergeRefs"])([focusReturnRef, focusOnMountRef])
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalListView"], {
+      ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([focusReturnRef, focusOnMountRef])
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalListView, {
       onSelect: selectEditorBlock,
       showNestedBlocks: true,
       __experimentalFeatures: true,
@@ -6811,21 +6469,35 @@ function ListViewSidebar() {
   );
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/cog.js
-var cog = __webpack_require__("Cg8A");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/settings-header/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cog.js


 /**
  * WordPress dependencies
  */

+const cog = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  fillRule: "evenodd",
+  d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",
+  clipRule: "evenodd"
+}));
+/* harmony default export */ var library_cog = (cog);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/settings-header/index.js


 /**
- * Internal dependencies
+ * WordPress dependencies
+ */
+
+
+
+
+/**
+ * Internal dependencies
  */


@@ -6836,7 +6508,7 @@ const SettingsHeader = _ref => {
   } = _ref;
   const {
     openGeneralSidebar
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);

   const openDocumentSettings = () => openGeneralSidebar('edit-post/document');

@@ -6845,45 +6517,45 @@ const SettingsHeader = _ref => {
   const {
     documentLabel,
     isTemplateMode
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const postTypeLabel = select(external_wp_editor_["store"]).getPostTypeLabel();
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const postTypeLabel = select(external_wp_editor_namespaceObject.store).getPostTypeLabel();
     return {
       // translators: Default label for the Document sidebar tab, not selected.
-      documentLabel: postTypeLabel || Object(external_wp_i18n_["_x"])('Document', 'noun'),
-      isTemplateMode: select(store["a" /* store */]).isEditingTemplate()
+      documentLabel: postTypeLabel || (0,external_wp_i18n_namespaceObject._x)('Document', 'noun'),
+      isTemplateMode: select(store_store).isEditingTemplate()
     };
   }, []);
   const [documentAriaLabel, documentActiveClass] = sidebarName === 'edit-post/document' ? // translators: ARIA label for the Document sidebar tab, selected. %s: Document label.
-  [Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('%s (selected)'), documentLabel), 'is-active'] : [documentLabel, ''];
+  [(0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('%s (selected)'), documentLabel), 'is-active'] : [documentLabel, ''];
   const [blockAriaLabel, blockActiveClass] = sidebarName === 'edit-post/block' ? // translators: ARIA label for the Block Settings Sidebar tab, selected.
-  [Object(external_wp_i18n_["__"])('Block (selected)'), 'is-active'] : // translators: ARIA label for the Block Settings Sidebar tab, not selected.
-  [Object(external_wp_i18n_["__"])('Block'), ''];
-  const [templateAriaLabel, templateActiveClass] = sidebarName === 'edit-post/document' ? [Object(external_wp_i18n_["__"])('Template (selected)'), 'is-active'] : [Object(external_wp_i18n_["__"])('Template'), ''];
+  [(0,external_wp_i18n_namespaceObject.__)('Block (selected)'), 'is-active'] : // translators: ARIA label for the Block Settings Sidebar tab, not selected.
+  [(0,external_wp_i18n_namespaceObject.__)('Block'), ''];
+  const [templateAriaLabel, templateActiveClass] = sidebarName === 'edit-post/document' ? [(0,external_wp_i18n_namespaceObject.__)('Template (selected)'), 'is-active'] : [(0,external_wp_i18n_namespaceObject.__)('Template'), ''];
   /* Use a list so screen readers will announce how many tabs there are. */

-  return Object(external_wp_element_["createElement"])("ul", null, !isTemplateMode && Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  return (0,external_wp_element_namespaceObject.createElement)("ul", null, !isTemplateMode && (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     onClick: openDocumentSettings,
     className: `edit-post-sidebar__panel-tab ${documentActiveClass}`,
     "aria-label": documentAriaLabel,
     "data-label": documentLabel
-  }, documentLabel)), isTemplateMode && Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, documentLabel)), isTemplateMode && (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     onClick: openDocumentSettings,
     className: `edit-post-sidebar__panel-tab ${templateActiveClass}`,
     "aria-label": templateAriaLabel,
-    "data-label": Object(external_wp_i18n_["__"])('Template')
-  }, Object(external_wp_i18n_["__"])('Template'))), Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    "data-label": (0,external_wp_i18n_namespaceObject.__)('Template')
+  }, (0,external_wp_i18n_namespaceObject.__)('Template'))), (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     onClick: openBlockSettings,
     className: `edit-post-sidebar__panel-tab ${blockActiveClass}`,
     "aria-label": blockAriaLabel // translators: Data label for the Block Settings Sidebar tab.
     ,
-    "data-label": Object(external_wp_i18n_["__"])('Block')
+    "data-label": (0,external_wp_i18n_namespaceObject.__)('Block')
   }, // translators: Text label for the Block Settings Sidebar tab.
-  Object(external_wp_i18n_["__"])('Block'))));
+  (0,external_wp_i18n_namespaceObject.__)('Block'))));
 };

 /* harmony default export */ var settings_header = (SettingsHeader);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-visibility/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-visibility/index.js


 /**
@@ -6893,14 +6565,14 @@ const SettingsHeader = _ref => {


 function PostVisibility() {
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostVisibilityCheck"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostVisibilityCheck, {
     render: _ref => {
       let {
         canEdit
       } = _ref;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, {
         className: "edit-post-post-visibility"
-      }, Object(external_wp_element_["createElement"])("span", null, Object(external_wp_i18n_["__"])('Visibility')), !canEdit && Object(external_wp_element_["createElement"])("span", null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostVisibilityLabel"], null)), canEdit && Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
+      }, (0,external_wp_element_namespaceObject.createElement)("span", null, (0,external_wp_i18n_namespaceObject.__)('Visibility')), !canEdit && (0,external_wp_element_namespaceObject.createElement)("span", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostVisibilityLabel, null)), canEdit && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
         position: "bottom left",
         contentClassName: "edit-post-post-visibility__dialog",
         renderToggle: _ref2 => {
@@ -6908,21 +6580,21 @@ function PostVisibility() {
             isOpen,
             onToggle
           } = _ref2;
-          return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+          return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
             "aria-expanded": isOpen,
             className: "edit-post-post-visibility__toggle",
             onClick: onToggle,
             variant: "tertiary"
-          }, Object(external_wp_element_["createElement"])(external_wp_editor_["PostVisibilityLabel"], null));
+          }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostVisibilityLabel, null));
         },
-        renderContent: () => Object(external_wp_element_["createElement"])(external_wp_editor_["PostVisibility"], null)
+        renderContent: () => (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostVisibility, null)
       }));
     }
   });
 }
 /* harmony default export */ var post_visibility = (PostVisibility);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-trash/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-trash/index.js


 /**
@@ -6931,10 +6603,10 @@ function PostVisibility() {


 function PostTrash() {
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostTrashCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostTrash"], null)));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTrashCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTrash, null)));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-schedule/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-schedule/index.js


 /**
@@ -6945,11 +6617,11 @@ function PostTrash() {


 function PostSchedule() {
-  const anchorRef = Object(external_wp_element_["useRef"])();
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostScheduleCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], {
+  const anchorRef = (0,external_wp_element_namespaceObject.useRef)();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostScheduleCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, {
     className: "edit-post-post-schedule",
     ref: anchorRef
-  }, Object(external_wp_element_["createElement"])("span", null, Object(external_wp_i18n_["__"])('Publish')), Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
+  }, (0,external_wp_element_namespaceObject.createElement)("span", null, (0,external_wp_i18n_namespaceObject.__)('Publish')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
     popoverProps: {
       anchorRef: anchorRef.current
     },
@@ -6960,19 +6632,19 @@ function PostSchedule() {
         onToggle,
         isOpen
       } = _ref;
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
         className: "edit-post-post-schedule__toggle",
         onClick: onToggle,
         "aria-expanded": isOpen,
         variant: "tertiary"
-      }, Object(external_wp_element_["createElement"])(external_wp_editor_["PostScheduleLabel"], null)));
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostScheduleLabel, null)));
     },
-    renderContent: () => Object(external_wp_element_["createElement"])(external_wp_editor_["PostSchedule"], null)
+    renderContent: () => (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostSchedule, null)
   })));
 }
 /* harmony default export */ var post_schedule = (PostSchedule);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-sticky/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-sticky/index.js


 /**
@@ -6981,11 +6653,11 @@ function PostSchedule() {


 function PostSticky() {
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostStickyCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostSticky"], null)));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostStickyCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostSticky, null)));
 }
 /* harmony default export */ var post_sticky = (PostSticky);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-author/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-author/index.js


 /**
@@ -6994,11 +6666,11 @@ function PostSticky() {


 function PostAuthor() {
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostAuthorCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostAuthor"], null)));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostAuthorCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostAuthor, null)));
 }
 /* harmony default export */ var post_author = (PostAuthor);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-slug/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-slug/index.js


 /**
@@ -7007,11 +6679,11 @@ function PostAuthor() {


 function PostSlug() {
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostSlugCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostSlug"], null)));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostSlugCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostSlug, null)));
 }
 /* harmony default export */ var post_slug = (PostSlug);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-format/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-format/index.js


 /**
@@ -7020,11 +6692,11 @@ function PostSlug() {


 function PostFormat() {
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostFormatCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostFormat"], null)));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostFormatCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostFormat, null)));
 }
 /* harmony default export */ var post_format = (PostFormat);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-pending-status/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-pending-status/index.js


 /**
@@ -7033,11 +6705,11 @@ function PostFormat() {


 function PostPendingStatus() {
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostPendingStatusCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostPendingStatus"], null)));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostPendingStatusCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostPendingStatus, null)));
 }
 /* harmony default export */ var post_pending_status = (PostPendingStatus);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-post-status-info/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-post-status-info/index.js


 /**
@@ -7051,7 +6723,7 @@ function PostPendingStatus() {
 const {
   Fill: plugin_post_status_info_Fill,
   Slot: plugin_post_status_info_Slot
-} = Object(external_wp_components_["createSlotFill"])('PluginPostStatusInfo');
+} = (0,external_wp_components_namespaceObject.createSlotFill)('PluginPostStatusInfo');
 /**
  * Renders a row in the Status & visibility panel of the Document sidebar.
  * It should be noted that this is named and implemented around the function it serves
@@ -7101,7 +6773,7 @@ const PluginPostStatusInfo = _ref => {
     children,
     className
   } = _ref;
-  return Object(external_wp_element_["createElement"])(plugin_post_status_info_Fill, null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], {
+  return (0,external_wp_element_namespaceObject.createElement)(plugin_post_status_info_Fill, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, {
     className: className
   }, children));
 };
@@ -7109,7 +6781,7 @@ const PluginPostStatusInfo = _ref => {
 PluginPostStatusInfo.Slot = plugin_post_status_info_Slot;
 /* harmony default export */ var plugin_post_status_info = (PluginPostStatusInfo);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-status/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-status/index.js


 /**
@@ -7144,38 +6816,38 @@ function PostStatus(_ref) {
     isOpened,
     onTogglePanel
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
     className: "edit-post-post-status",
-    title: Object(external_wp_i18n_["__"])('Status & visibility'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Status & visibility'),
     opened: isOpened,
     onToggle: onTogglePanel
-  }, Object(external_wp_element_["createElement"])(plugin_post_status_info.Slot, null, fills => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(post_visibility, null), Object(external_wp_element_["createElement"])(post_schedule, null), Object(external_wp_element_["createElement"])(post_format, null), Object(external_wp_element_["createElement"])(post_sticky, null), Object(external_wp_element_["createElement"])(post_pending_status, null), Object(external_wp_element_["createElement"])(post_slug, null), Object(external_wp_element_["createElement"])(post_author, null), fills, Object(external_wp_element_["createElement"])(PostTrash, null))));
+  }, (0,external_wp_element_namespaceObject.createElement)(plugin_post_status_info.Slot, null, fills => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(post_visibility, null), (0,external_wp_element_namespaceObject.createElement)(post_schedule, null), (0,external_wp_element_namespaceObject.createElement)(post_format, null), (0,external_wp_element_namespaceObject.createElement)(post_sticky, null), (0,external_wp_element_namespaceObject.createElement)(post_pending_status, null), (0,external_wp_element_namespaceObject.createElement)(post_slug, null), (0,external_wp_element_namespaceObject.createElement)(post_author, null), fills, (0,external_wp_element_namespaceObject.createElement)(PostTrash, null))));
 }

-/* harmony default export */ var post_status = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var post_status = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
   // We use isEditorPanelRemoved to hide the panel if it was programatically removed. We do
   // not use isEditorPanelEnabled since this panel should not be disabled through the UI.
   const {
     isEditorPanelRemoved,
     isEditorPanelOpened
-  } = select(store["a" /* store */]);
+  } = select(store_store);
   return {
     isRemoved: isEditorPanelRemoved(PANEL_NAME),
     isOpened: isEditorPanelOpened(PANEL_NAME)
   };
-}), Object(external_wp_compose_["ifCondition"])(_ref2 => {
+}), (0,external_wp_compose_namespaceObject.ifCondition)(_ref2 => {
   let {
     isRemoved
   } = _ref2;
   return !isRemoved;
-}), Object(external_wp_data_["withDispatch"])(dispatch => ({
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
   onTogglePanel() {
-    return dispatch(store["a" /* store */]).toggleEditorPanelOpened(PANEL_NAME);
+    return dispatch(store_store).toggleEditorPanelOpened(PANEL_NAME);
   }

 }))])(PostStatus));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/last-revision/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/last-revision/index.js


 /**
@@ -7185,14 +6857,14 @@ function PostStatus(_ref) {


 function LastRevision() {
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostLastRevisionCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostLastRevisionCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
     className: "edit-post-last-revision__panel"
-  }, Object(external_wp_element_["createElement"])(external_wp_editor_["PostLastRevision"], null)));
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostLastRevision, null)));
 }

 /* harmony default export */ var last_revision = (LastRevision);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-taxonomies/taxonomy-panel.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-taxonomies/taxonomy-panel.js


 /**
@@ -7225,34 +6897,34 @@ function TaxonomyPanel(_ref) {
     return null;
   }

-  const taxonomyMenuName = Object(external_lodash_["get"])(taxonomy, ['labels', 'menu_name']);
+  const taxonomyMenuName = (0,external_lodash_namespaceObject.get)(taxonomy, ['labels', 'menu_name']);

   if (!taxonomyMenuName) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
     title: taxonomyMenuName,
     opened: isOpened,
     onToggle: onTogglePanel
   }, children);
 }

-/* harmony default export */ var taxonomy_panel = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])((select, ownProps) => {
-  const slug = Object(external_lodash_["get"])(ownProps.taxonomy, ['slug']);
+/* harmony default export */ var taxonomy_panel = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)((select, ownProps) => {
+  const slug = (0,external_lodash_namespaceObject.get)(ownProps.taxonomy, ['slug']);
   const panelName = slug ? `taxonomy-panel-${slug}` : '';
   return {
     panelName,
-    isEnabled: slug ? select(store["a" /* store */]).isEditorPanelEnabled(panelName) : false,
-    isOpened: slug ? select(store["a" /* store */]).isEditorPanelOpened(panelName) : false
+    isEnabled: slug ? select(store_store).isEditorPanelEnabled(panelName) : false,
+    isOpened: slug ? select(store_store).isEditorPanelOpened(panelName) : false
   };
-}), Object(external_wp_data_["withDispatch"])((dispatch, ownProps) => ({
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, ownProps) => ({
   onTogglePanel: () => {
-    dispatch(store["a" /* store */]).toggleEditorPanelOpened(ownProps.panelName);
+    dispatch(store_store).toggleEditorPanelOpened(ownProps.panelName);
   }
 })))(TaxonomyPanel));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-taxonomies/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-taxonomies/index.js


 /**
@@ -7266,9 +6938,9 @@ function TaxonomyPanel(_ref) {


 function PostTaxonomies() {
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostTaxonomiesCheck"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostTaxonomies"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTaxonomiesCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTaxonomies, {
     taxonomyWrapper: (content, taxonomy) => {
-      return Object(external_wp_element_["createElement"])(taxonomy_panel, {
+      return (0,external_wp_element_namespaceObject.createElement)(taxonomy_panel, {
         taxonomy: taxonomy
       }, content);
     }
@@ -7277,7 +6949,7 @@ function PostTaxonomies() {

 /* harmony default export */ var post_taxonomies = (PostTaxonomies);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/featured-image/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/featured-image/index.js


 /**
@@ -7317,41 +6989,41 @@ function FeaturedImage(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostFeaturedImageCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_lodash_["get"])(postType, ['labels', 'featured_image'], Object(external_wp_i18n_["__"])('Featured image')),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostFeaturedImageCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_lodash_namespaceObject.get)(postType, ['labels', 'featured_image'], (0,external_wp_i18n_namespaceObject.__)('Featured image')),
     opened: isOpened,
     onToggle: onTogglePanel
-  }, Object(external_wp_element_["createElement"])(external_wp_editor_["PostFeaturedImage"], null)));
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostFeaturedImage, null)));
 }

-const applyWithSelect = Object(external_wp_data_["withSelect"])(select => {
+const applyWithSelect = (0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
     getEditedPostAttribute
-  } = select(external_wp_editor_["store"]);
+  } = select(external_wp_editor_namespaceObject.store);
   const {
     getPostType
-  } = select(external_wp_coreData_["store"]);
+  } = select(external_wp_coreData_namespaceObject.store);
   const {
     isEditorPanelEnabled,
     isEditorPanelOpened
-  } = select(store["a" /* store */]);
+  } = select(store_store);
   return {
     postType: getPostType(getEditedPostAttribute('type')),
     isEnabled: isEditorPanelEnabled(featured_image_PANEL_NAME),
     isOpened: isEditorPanelOpened(featured_image_PANEL_NAME)
   };
 });
-const applyWithDispatch = Object(external_wp_data_["withDispatch"])(dispatch => {
+const applyWithDispatch = (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
   const {
     toggleEditorPanelOpened
-  } = dispatch(store["a" /* store */]);
+  } = dispatch(store_store);
   return {
-    onTogglePanel: Object(external_lodash_["partial"])(toggleEditorPanelOpened, featured_image_PANEL_NAME)
+    onTogglePanel: (0,external_lodash_namespaceObject.partial)(toggleEditorPanelOpened, featured_image_PANEL_NAME)
   };
 });
-/* harmony default export */ var featured_image = (Object(external_wp_compose_["compose"])(applyWithSelect, applyWithDispatch)(FeaturedImage));
+/* harmony default export */ var featured_image = ((0,external_wp_compose_namespaceObject.compose)(applyWithSelect, applyWithDispatch)(FeaturedImage));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-excerpt/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-excerpt/index.js


 /**
@@ -7384,26 +7056,26 @@ function PostExcerpt(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostExcerptCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Excerpt'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostExcerptCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Excerpt'),
     opened: isOpened,
     onToggle: onTogglePanel
-  }, Object(external_wp_element_["createElement"])(external_wp_editor_["PostExcerpt"], null)));
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostExcerpt, null)));
 }

-/* harmony default export */ var post_excerpt = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var post_excerpt = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
   return {
-    isEnabled: select(store["a" /* store */]).isEditorPanelEnabled(post_excerpt_PANEL_NAME),
-    isOpened: select(store["a" /* store */]).isEditorPanelOpened(post_excerpt_PANEL_NAME)
+    isEnabled: select(store_store).isEditorPanelEnabled(post_excerpt_PANEL_NAME),
+    isOpened: select(store_store).isEditorPanelOpened(post_excerpt_PANEL_NAME)
   };
-}), Object(external_wp_data_["withDispatch"])(dispatch => ({
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
   onTogglePanel() {
-    return dispatch(store["a" /* store */]).toggleEditorPanelOpened(post_excerpt_PANEL_NAME);
+    return dispatch(store_store).toggleEditorPanelOpened(post_excerpt_PANEL_NAME);
   }

 }))])(PostExcerpt));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-link/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/post-link/index.js


 /**
@@ -7445,29 +7117,29 @@ function PostLink(_ref) {
     postSlug,
     postTypeLabel
   } = _ref;
-  const [forceEmptyField, setForceEmptyField] = Object(external_wp_element_["useState"])(false);
+  const [forceEmptyField, setForceEmptyField] = (0,external_wp_element_namespaceObject.useState)(false);
   let prefixElement, postNameElement, suffixElement;

   if (isEditable) {
-    prefixElement = permalinkPrefix && Object(external_wp_element_["createElement"])("span", {
+    prefixElement = permalinkPrefix && (0,external_wp_element_namespaceObject.createElement)("span", {
       className: "edit-post-post-link__link-prefix"
     }, permalinkPrefix);
-    postNameElement = postSlug && Object(external_wp_element_["createElement"])("span", {
+    postNameElement = postSlug && (0,external_wp_element_namespaceObject.createElement)("span", {
       className: "edit-post-post-link__link-post-name"
     }, postSlug);
-    suffixElement = permalinkSuffix && Object(external_wp_element_["createElement"])("span", {
+    suffixElement = permalinkSuffix && (0,external_wp_element_namespaceObject.createElement)("span", {
       className: "edit-post-post-link__link-suffix"
     }, permalinkSuffix);
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Permalink'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Permalink'),
     opened: isOpened,
     onToggle: onTogglePanel
-  }, isEditable && Object(external_wp_element_["createElement"])("div", {
+  }, isEditable && (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "editor-post-link"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('URL Slug'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('URL Slug'),
     value: forceEmptyField ? '' : postSlug,
     autoComplete: "off",
     spellCheck: "false",
@@ -7490,26 +7162,26 @@ function PostLink(_ref) {
       }
     },
     onBlur: event => {
-      editPermalink(Object(external_wp_editor_["cleanForSlug"])(event.target.value));
+      editPermalink((0,external_wp_editor_namespaceObject.cleanForSlug)(event.target.value));

       if (forceEmptyField) {
         setForceEmptyField(false);
       }
     }
-  }), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('The last part of the URL.'), ' ', Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-    href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/writing-posts/#post-field-descriptions')
-  }, Object(external_wp_i18n_["__"])('Read about permalinks')))), Object(external_wp_element_["createElement"])("h3", {
+  }), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('The last part of the URL.'), ' ', (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+    href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/writing-posts/#post-field-descriptions')
+  }, (0,external_wp_i18n_namespaceObject.__)('Read about permalinks')))), (0,external_wp_element_namespaceObject.createElement)("h3", {
     className: "edit-post-post-link__preview-label"
-  }, postTypeLabel || Object(external_wp_i18n_["__"])('View post')), Object(external_wp_element_["createElement"])("div", {
+  }, postTypeLabel || (0,external_wp_i18n_namespaceObject.__)('View post')), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-post-link__preview-link-container"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
     className: "edit-post-post-link__link",
     href: postLink,
     target: "_blank"
-  }, isEditable ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, prefixElement, postNameElement, suffixElement) : postLink)));
+  }, isEditable ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, prefixElement, postNameElement, suffixElement) : postLink)));
 }

-/* harmony default export */ var post_link = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var post_link = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
     isPermalinkEditable,
     getCurrentPost,
@@ -7517,14 +7189,14 @@ function PostLink(_ref) {
     getPermalinkParts,
     getEditedPostAttribute,
     getEditedPostSlug
-  } = select(external_wp_editor_["store"]);
+  } = select(external_wp_editor_namespaceObject.store);
   const {
     isEditorPanelEnabled,
     isEditorPanelOpened
-  } = select(store["a" /* store */]);
+  } = select(store_store);
   const {
     getPostType
-  } = select(external_wp_coreData_["store"]);
+  } = select(external_wp_coreData_namespaceObject.store);
   const {
     link
   } = getCurrentPost();
@@ -7537,14 +7209,14 @@ function PostLink(_ref) {
     isPublished: isCurrentPostPublished(),
     isOpened: isEditorPanelOpened(post_link_PANEL_NAME),
     isEnabled: isEditorPanelEnabled(post_link_PANEL_NAME),
-    isViewable: Object(external_lodash_["get"])(postType, ['viewable'], false),
-    postSlug: Object(external_wp_url_["safeDecodeURIComponent"])(getEditedPostSlug()),
-    postTypeLabel: Object(external_lodash_["get"])(postType, ['labels', 'view_item']),
+    isViewable: (0,external_lodash_namespaceObject.get)(postType, ['viewable'], false),
+    postSlug: (0,external_wp_url_namespaceObject.safeDecodeURIComponent)(getEditedPostSlug()),
+    postTypeLabel: (0,external_lodash_namespaceObject.get)(postType, ['labels', 'view_item']),
     hasPermalinkParts: !!permalinkParts,
     permalinkPrefix: permalinkParts === null || permalinkParts === void 0 ? void 0 : permalinkParts.prefix,
     permalinkSuffix: permalinkParts === null || permalinkParts === void 0 ? void 0 : permalinkParts.suffix
   };
-}), Object(external_wp_compose_["ifCondition"])(_ref2 => {
+}), (0,external_wp_compose_namespaceObject.ifCondition)(_ref2 => {
   let {
     isEnabled,
     postLink,
@@ -7552,13 +7224,13 @@ function PostLink(_ref) {
     hasPermalinkParts
   } = _ref2;
   return isEnabled && postLink && isViewable && hasPermalinkParts;
-}), Object(external_wp_data_["withDispatch"])(dispatch => {
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
   const {
     toggleEditorPanelOpened
-  } = dispatch(store["a" /* store */]);
+  } = dispatch(store_store);
   const {
     editPost
-  } = dispatch(external_wp_editor_["store"]);
+  } = dispatch(external_wp_editor_namespaceObject.store);
   return {
     onTogglePanel: () => toggleEditorPanelOpened(post_link_PANEL_NAME),
     editPermalink: newSlug => {
@@ -7569,7 +7241,7 @@ function PostLink(_ref) {
   };
 })])(PostLink));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/discussion-panel/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/discussion-panel/index.js


 /**
@@ -7602,32 +7274,32 @@ function DiscussionPanel(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PostTypeSupportCheck"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTypeSupportCheck, {
     supportKeys: ['comments', 'trackbacks']
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Discussion'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Discussion'),
     opened: isOpened,
     onToggle: onTogglePanel
-  }, Object(external_wp_element_["createElement"])(external_wp_editor_["PostTypeSupportCheck"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTypeSupportCheck, {
     supportKeys: "comments"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostComments"], null))), Object(external_wp_element_["createElement"])(external_wp_editor_["PostTypeSupportCheck"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostComments, null))), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostTypeSupportCheck, {
     supportKeys: "trackbacks"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PostPingbacks"], null)))));
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostPingbacks, null)))));
 }

-/* harmony default export */ var discussion_panel = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var discussion_panel = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
   return {
-    isEnabled: select(store["a" /* store */]).isEditorPanelEnabled(discussion_panel_PANEL_NAME),
-    isOpened: select(store["a" /* store */]).isEditorPanelOpened(discussion_panel_PANEL_NAME)
+    isEnabled: select(store_store).isEditorPanelEnabled(discussion_panel_PANEL_NAME),
+    isOpened: select(store_store).isEditorPanelOpened(discussion_panel_PANEL_NAME)
   };
-}), Object(external_wp_data_["withDispatch"])(dispatch => ({
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
   onTogglePanel() {
-    return dispatch(store["a" /* store */]).toggleEditorPanelOpened(discussion_panel_PANEL_NAME);
+    return dispatch(store_store).toggleEditorPanelOpened(discussion_panel_PANEL_NAME);
   }

 }))])(DiscussionPanel));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/page-attributes/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/page-attributes/index.js


 /**
@@ -7658,17 +7330,17 @@ function PageAttributes() {
     isEnabled,
     isOpened,
     postType
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEditedPostAttribute
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const {
       isEditorPanelEnabled,
       isEditorPanelOpened
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     const {
       getPostType
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     return {
       isEnabled: isEditorPanelEnabled(page_attributes_PANEL_NAME),
       isOpened: isEditorPanelOpened(page_attributes_PANEL_NAME),
@@ -7677,22 +7349,22 @@ function PageAttributes() {
   }, []);
   const {
     toggleEditorPanelOpened
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);

   if (!isEnabled || !postType) {
     return null;
   }

-  const onTogglePanel = Object(external_lodash_["partial"])(toggleEditorPanelOpened, page_attributes_PANEL_NAME);
-  return Object(external_wp_element_["createElement"])(external_wp_editor_["PageAttributesCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_lodash_["get"])(postType, ['labels', 'attributes'], Object(external_wp_i18n_["__"])('Page attributes')),
+  const onTogglePanel = (0,external_lodash_namespaceObject.partial)(toggleEditorPanelOpened, page_attributes_PANEL_NAME);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PageAttributesCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_lodash_namespaceObject.get)(postType, ['labels', 'attributes'], (0,external_wp_i18n_namespaceObject.__)('Page attributes')),
     opened: isOpened,
     onToggle: onTogglePanel
-  }, Object(external_wp_element_["createElement"])(external_wp_editor_["PageAttributesParent"], null), Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["PageAttributesOrder"], null))));
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PageAttributesParent, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PageAttributesOrder, null))));
 }
 /* harmony default export */ var page_attributes = (PageAttributes);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-boxes-area/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-boxes-area/index.js


 /**
@@ -7723,9 +7395,9 @@ function MetaBoxesArea(_ref) {
   let {
     location
   } = _ref;
-  const container = Object(external_wp_element_["useRef"])(null);
-  const formRef = Object(external_wp_element_["useRef"])(null);
-  Object(external_wp_element_["useEffect"])(() => {
+  const container = (0,external_wp_element_namespaceObject.useRef)(null);
+  const formRef = (0,external_wp_element_namespaceObject.useRef)(null);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     formRef.current = document.querySelector('.metabox-location-' + location);

     if (formRef.current) {
@@ -7738,25 +7410,25 @@ function MetaBoxesArea(_ref) {
       }
     };
   }, [location]);
-  const isSaving = Object(external_wp_data_["useSelect"])(select => {
-    return select(store["a" /* store */]).isSavingMetaBoxes();
+  const isSaving = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(store_store).isSavingMetaBoxes();
   }, []);
   const classes = classnames_default()('edit-post-meta-boxes-area', `is-${location}`, {
     'is-loading': isSaving
   });
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: classes
-  }, isSaving && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), Object(external_wp_element_["createElement"])("div", {
+  }, isSaving && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-meta-boxes-area__container",
     ref: container
-  }), Object(external_wp_element_["createElement"])("div", {
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-meta-boxes-area__clear"
   }));
 }

 /* harmony default export */ var meta_boxes_area = (MetaBoxesArea);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-box-visibility.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/meta-box-visibility.js
 /**
  * WordPress dependencies
  */
@@ -7768,7 +7440,7 @@ function MetaBoxesArea(_ref) {



-class meta_box_visibility_MetaBoxVisibility extends external_wp_element_["Component"] {
+class MetaBoxVisibility extends external_wp_element_namespaceObject.Component {
   componentDidMount() {
     this.updateDOM();
   }
@@ -7803,16 +7475,16 @@ class meta_box_visibility_MetaBoxVisibility extends external_wp_element_["Compon

 }

-/* harmony default export */ var meta_box_visibility = (Object(external_wp_data_["withSelect"])((select, _ref) => {
+/* harmony default export */ var meta_box_visibility = ((0,external_wp_data_namespaceObject.withSelect)((select, _ref) => {
   let {
     id
   } = _ref;
   return {
-    isVisible: select(store["a" /* store */]).isEditorPanelEnabled(`meta-box-${id}`)
+    isVisible: select(store_store).isEditorPanelEnabled(`meta-box-${id}`)
   };
-})(meta_box_visibility_MetaBoxVisibility));
+})(MetaBoxVisibility));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/meta-boxes/index.js


 /**
@@ -7837,19 +7509,19 @@ function MetaBoxes(_ref) {
   let {
     location
   } = _ref;
-  const registry = Object(external_wp_data_["useRegistry"])();
+  const registry = (0,external_wp_data_namespaceObject.useRegistry)();
   const {
     metaBoxes,
     areMetaBoxesInitialized,
     isEditorReady
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       __unstableIsEditorReady
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const {
       getMetaBoxesPerLocation,
       areMetaBoxesInitialized: _areMetaBoxesInitialized
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     return {
       metaBoxes: getMetaBoxesPerLocation(location),
       areMetaBoxesInitialized: _areMetaBoxesInitialized(),
@@ -7859,9 +7531,9 @@ function MetaBoxes(_ref) {
   // saving. This initializes all meta box locations, not just this specific
   // one.

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (isEditorReady && !areMetaBoxesInitialized) {
-      registry.dispatch(store["a" /* store */]).initializeMetaBoxes();
+      registry.dispatch(store_store).initializeMetaBoxes();
     }
   }, [isEditorReady, areMetaBoxesInitialized]);

@@ -7869,23 +7541,153 @@ function MetaBoxes(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_lodash_["map"])(metaBoxes, _ref2 => {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_lodash_namespaceObject.map)(metaBoxes, _ref2 => {
     let {
       id
     } = _ref2;
-    return Object(external_wp_element_["createElement"])(meta_box_visibility, {
+    return (0,external_wp_element_namespaceObject.createElement)(meta_box_visibility, {
       key: id,
       id: id
     });
-  }), Object(external_wp_element_["createElement"])(meta_boxes_area, {
+  }), (0,external_wp_element_namespaceObject.createElement)(meta_boxes_area, {
     location: location
   }));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-document-setting-panel/index.js
-var plugin_document_setting_panel = __webpack_require__("xrib");
+;// CONCATENATED MODULE: external ["wp","warning"]
+var external_wp_warning_namespaceObject = window["wp"]["warning"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-document-setting-panel/index.js
+
+
+/**
+ * Defines as extensibility slot for the Settings sidebar
+ */
+
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+const {
+  Fill: plugin_document_setting_panel_Fill,
+  Slot: plugin_document_setting_panel_Slot
+} = (0,external_wp_components_namespaceObject.createSlotFill)('PluginDocumentSettingPanel');
+
+const PluginDocumentSettingFill = _ref => {
+  let {
+    isEnabled,
+    panelName,
+    opened,
+    onToggle,
+    className,
+    title,
+    icon,
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(enable_plugin_document_setting_panel, {
+    label: title,
+    panelName: panelName
+  }), (0,external_wp_element_namespaceObject.createElement)(plugin_document_setting_panel_Fill, null, isEnabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    className: className,
+    title: title,
+    icon: icon,
+    opened: opened,
+    onToggle: onToggle
+  }, children)));
+};
+/**
+ * Renders items below the Status & Availability panel in the Document Sidebar.
+ *
+ * @param {Object}                props                                 Component properties.
+ * @param {string}                [props.name]                          The machine-friendly name for the panel.
+ * @param {string}                [props.className]                     An optional class name added to the row.
+ * @param {string}                [props.title]                         The title of the panel
+ * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.
+ *
+ * @example
+ * ```js
+ * // Using ES5 syntax
+ * var el = wp.element.createElement;
+ * var __ = wp.i18n.__;
+ * var registerPlugin = wp.plugins.registerPlugin;
+ * var PluginDocumentSettingPanel = wp.editPost.PluginDocumentSettingPanel;
+ *
+ * function MyDocumentSettingPlugin() {
+ * 	return el(
+ * 		PluginDocumentSettingPanel,
+ * 		{
+ * 			className: 'my-document-setting-plugin',
+ * 			title: 'My Panel',
+ * 		},
+ * 		__( 'My Document Setting Panel' )
+ * 	);
+ * }
+ *
+ * registerPlugin( 'my-document-setting-plugin', {
+ * 		render: MyDocumentSettingPlugin
+ * } );
+ * ```
+ *
+ * @example
+ * ```jsx
+ * // Using ESNext syntax
+ * import { registerPlugin } from '@wordpress/plugins';
+ * import { PluginDocumentSettingPanel } from '@wordpress/edit-post';
+ *
+ * const MyDocumentSettingTest = () => (
+ * 		<PluginDocumentSettingPanel className="my-document-setting-plugin" title="My Panel">
+ *			<p>My Document Setting Panel</p>
+ *		</PluginDocumentSettingPanel>
+ *	);
+ *
+ *  registerPlugin( 'document-setting-test', { render: MyDocumentSettingTest } );
+ * ```
+ *
+ * @return {WPComponent} The component to be rendered.
+ */
+
+
+const PluginDocumentSettingPanel = (0,external_wp_compose_namespaceObject.compose)((0,external_wp_plugins_namespaceObject.withPluginContext)((context, ownProps) => {
+  if (undefined === ownProps.name) {
+    typeof process !== "undefined" && process.env && "production" !== "production" ? 0 : void 0;
+  }
+
+  return {
+    icon: ownProps.icon || context.icon,
+    panelName: `${context.name}/${ownProps.name}`
+  };
+}), (0,external_wp_data_namespaceObject.withSelect)((select, _ref2) => {
+  let {
+    panelName
+  } = _ref2;
+  return {
+    opened: select(store_store).isEditorPanelOpened(panelName),
+    isEnabled: select(store_store).isEditorPanelEnabled(panelName)
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref3) => {
+  let {
+    panelName
+  } = _ref3;
+  return {
+    onToggle() {
+      return dispatch(store_store).toggleEditorPanelOpened(panelName);
+    }
+
+  };
+}))(PluginDocumentSettingFill);
+PluginDocumentSettingPanel.Slot = plugin_document_setting_panel_Slot;
+/* harmony default export */ var plugin_document_setting_panel = (PluginDocumentSettingPanel);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-sidebar/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-sidebar/index.js



@@ -7977,24 +7779,24 @@ function PluginSidebarEditPost(_ref) {
     postTitle,
     shortcut,
     showIconLabels
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     return {
-      postTitle: select(external_wp_editor_["store"]).getEditedPostAttribute('title'),
-      shortcut: select(external_wp_keyboardShortcuts_["store"]).getShortcutRepresentation('core/edit-post/toggle-sidebar'),
-      showIconLabels: select(store["a" /* store */]).isFeatureActive('showIconLabels')
+      postTitle: select(external_wp_editor_namespaceObject.store).getEditedPostAttribute('title'),
+      shortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getShortcutRepresentation('core/edit-post/toggle-sidebar'),
+      showIconLabels: select(store_store).isFeatureActive('showIconLabels')
     };
   }, []);
-  return Object(external_wp_element_["createElement"])(build_module["b" /* ComplementaryArea */], Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)(complementary_area, _extends({
     panelClassName: className,
     className: "edit-post-sidebar",
-    smallScreenTitle: postTitle || Object(external_wp_i18n_["__"])('(no title)'),
+    smallScreenTitle: postTitle || (0,external_wp_i18n_namespaceObject.__)('(no title)'),
     scope: "core/edit-post",
     toggleShortcut: shortcut,
     showIconLabels: showIconLabels
   }, props));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/template/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/template/actions.js


 /**
@@ -8019,26 +7821,26 @@ function PluginSidebarEditPost(_ref) {


 function PostTemplateActions() {
-  const [isModalOpen, setIsModalOpen] = Object(external_wp_element_["useState"])(false);
-  const [isBusy, setIsBusy] = Object(external_wp_element_["useState"])(false);
-  const [title, setTitle] = Object(external_wp_element_["useState"])('');
+  const [isModalOpen, setIsModalOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [isBusy, setIsBusy] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [title, setTitle] = (0,external_wp_element_namespaceObject.useState)('');
   const {
     template,
     supportsTemplateMode,
     defaultTemplate
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getPostType$viewable, _getPostType;

     const {
       getCurrentPostType,
       getEditorSettings
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const {
       getPostType
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const {
       getEditedPostTemplate
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     const isViewable = (_getPostType$viewable = (_getPostType = getPostType(getCurrentPostType())) === null || _getPostType === void 0 ? void 0 : _getPostType.viewable) !== null && _getPostType$viewable !== void 0 ? _getPostType$viewable : false;

     const _supportsTemplateMode = getEditorSettings().supportsTemplateMode && isViewable;
@@ -8052,13 +7854,13 @@ function PostTemplateActions() {
   const {
     __unstableCreateTemplate,
     __unstableSwitchToTemplateMode
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);

   if (!supportsTemplateMode) {
     return null;
   }

-  const defaultTitle = Object(external_wp_i18n_["__"])('Custom Template');
+  const defaultTitle = (0,external_wp_i18n_namespaceObject.__)('Custom Template');

   async function onCreateTemplate(event) {
     event.preventDefault();
@@ -8068,24 +7870,24 @@ function PostTemplateActions() {
     }

     setIsBusy(true);
-    const newTemplateContent = defaultTemplate !== null && defaultTemplate !== void 0 ? defaultTemplate : Object(external_wp_blocks_["serialize"])([Object(external_wp_blocks_["createBlock"])('core/group', {
+    const newTemplateContent = defaultTemplate !== null && defaultTemplate !== void 0 ? defaultTemplate : (0,external_wp_blocks_namespaceObject.serialize)([(0,external_wp_blocks_namespaceObject.createBlock)('core/group', {
       tagName: 'header',
       layout: {
         inherit: true
       }
-    }, [Object(external_wp_blocks_["createBlock"])('core/site-title'), Object(external_wp_blocks_["createBlock"])('core/site-tagline')]), Object(external_wp_blocks_["createBlock"])('core/separator'), Object(external_wp_blocks_["createBlock"])('core/group', {
+    }, [(0,external_wp_blocks_namespaceObject.createBlock)('core/site-title'), (0,external_wp_blocks_namespaceObject.createBlock)('core/site-tagline')]), (0,external_wp_blocks_namespaceObject.createBlock)('core/separator'), (0,external_wp_blocks_namespaceObject.createBlock)('core/group', {
       tagName: 'main'
-    }, [Object(external_wp_blocks_["createBlock"])('core/group', {
+    }, [(0,external_wp_blocks_namespaceObject.createBlock)('core/group', {
       layout: {
         inherit: true
       }
-    }, [Object(external_wp_blocks_["createBlock"])('core/post-title')]), Object(external_wp_blocks_["createBlock"])('core/post-content', {
+    }, [(0,external_wp_blocks_namespaceObject.createBlock)('core/post-title')]), (0,external_wp_blocks_namespaceObject.createBlock)('core/post-content', {
       layout: {
         inherit: true
       }
     })])]);
     await __unstableCreateTemplate({
-      slug: 'wp-custom-template-' + Object(external_lodash_["kebabCase"])(title || defaultTitle),
+      slug: 'wp-custom-template-' + (0,external_lodash_namespaceObject.kebabCase)(title || defaultTitle),
       content: newTemplateContent,
       title: title || defaultTitle
     });
@@ -8095,57 +7897,57 @@ function PostTemplateActions() {
     __unstableSwitchToTemplateMode(true);
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "edit-post-template__actions"
-  }, !!template && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, !!template && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "link",
     onClick: () => __unstableSwitchToTemplateMode()
-  }, Object(external_wp_i18n_["__"])('Edit')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Edit')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "link",
     onClick: () => setIsModalOpen(true)
   },
   /* translators: button to create a new template */
-  Object(external_wp_i18n_["_x"])('New', 'action'))), isModalOpen && Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    title: Object(external_wp_i18n_["__"])('Create custom template'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
+  (0,external_wp_i18n_namespaceObject._x)('New', 'action'))), isModalOpen && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Create custom template'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
     onRequestClose: () => {
       setIsModalOpen(false);
       setTitle('');
     },
     overlayClassName: "edit-post-template__modal"
-  }, Object(external_wp_element_["createElement"])("form", {
+  }, (0,external_wp_element_namespaceObject.createElement)("form", {
     onSubmit: onCreateTemplate
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
     align: "flex-start",
     gap: 8
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Name'),
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Name'),
     value: title,
     onChange: setTitle,
     placeholder: defaultTitle,
     disabled: isBusy,
-    help: Object(external_wp_i18n_["__"])('Describe the purpose of the template, e.g. "Full Width". Custom templates can be applied to any post or page.')
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
+    help: (0,external_wp_i18n_namespaceObject.__)('Describe the purpose of the template, e.g. "Full Width". Custom templates can be applied to any post or page.')
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
     className: "edit-post-template__modal-actions",
     justify: "flex-end",
     expanded: false
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "tertiary",
     onClick: () => {
       setIsModalOpen(false);
       setTitle('');
     }
-  }, Object(external_wp_i18n_["__"])('Cancel'))), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Cancel'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
     variant: "primary",
     type: "submit",
     isBusy: isBusy,
     "aria-disabled": isBusy
-  }, Object(external_wp_i18n_["__"])('Create')))))));
+  }, (0,external_wp_i18n_namespaceObject.__)('Create')))))));
 }

 /* harmony default export */ var actions = (PostTemplateActions);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/template/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/template/index.js


 /**
@@ -8184,35 +7986,35 @@ function TemplatePanel() {
     template,
     supportsTemplateMode,
     canUserCreate
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getPostType$viewable, _getPostType;

     const {
       isEditorPanelEnabled,
       isEditorPanelOpened,
       getEditedPostTemplate
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     const {
       getEditedPostAttribute,
       getEditorSettings,
       getCurrentPostType
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const {
       getPostType,
       getEntityRecords,
       canUser
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const currentPostType = getCurrentPostType();

     const _isViewable = (_getPostType$viewable = (_getPostType = getPostType(currentPostType)) === null || _getPostType === void 0 ? void 0 : _getPostType.viewable) !== null && _getPostType$viewable !== void 0 ? _getPostType$viewable : false;

-    const _supportsTemplateMode = select(external_wp_editor_["store"]).getEditorSettings().supportsTemplateMode && _isViewable;
+    const _supportsTemplateMode = select(external_wp_editor_namespaceObject.store).getEditorSettings().supportsTemplateMode && _isViewable;

     const wpTemplates = getEntityRecords('postType', 'wp_template', {
       post_type: currentPostType,
       per_page: -1
     });
-    const newAvailableTemplates = Object(external_lodash_["fromPairs"])((wpTemplates || []).map(_ref => {
+    const newAvailableTemplates = (0,external_lodash_namespaceObject.fromPairs)((wpTemplates || []).map(_ref => {
       let {
         slug,
         title
@@ -8231,59 +8033,71 @@ function TemplatePanel() {
       canUserCreate: canUser('create', 'templates')
     };
   }, []);
-  const templates = Object(external_wp_element_["useMemo"])(() => {
+  const templates = (0,external_wp_element_namespaceObject.useMemo)(() => {
     return { ...availableTemplates,
       ...fetchedTemplates
     };
   }, [availableTemplates, fetchedTemplates]);
   const {
     toggleEditorPanelOpened
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
   const {
     editPost
-  } = Object(external_wp_data_["useDispatch"])(external_wp_editor_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_editor_namespaceObject.store);

-  if (!isEnabled || !isViewable || Object(external_lodash_["isEmpty"])(availableTemplates) && (!supportsTemplateMode || !canUserCreate)) {
+  if (!isEnabled || !isViewable || (0,external_lodash_namespaceObject.isEmpty)(availableTemplates) && (!supportsTemplateMode || !canUserCreate)) {
     return null;
   }

-  const onTogglePanel = Object(external_lodash_["partial"])(toggleEditorPanelOpened, template_PANEL_NAME);
+  const onTogglePanel = (0,external_lodash_namespaceObject.partial)(toggleEditorPanelOpened, template_PANEL_NAME);

-  let panelTitle = Object(external_wp_i18n_["__"])('Template');
+  let panelTitle = (0,external_wp_i18n_namespaceObject.__)('Template');

   if (!!template) {
     var _template$title;

-    panelTitle = Object(external_wp_i18n_["sprintf"])(
+    panelTitle = (0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: template title */
-    Object(external_wp_i18n_["__"])('Template: %s'), (_template$title = template === null || template === void 0 ? void 0 : template.title) !== null && _template$title !== void 0 ? _template$title : template.slug);
+    (0,external_wp_i18n_namespaceObject.__)('Template: %s'), (_template$title = template === null || template === void 0 ? void 0 : template.title) !== null && _template$title !== void 0 ? _template$title : template.slug);
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
     title: panelTitle,
     opened: isOpened,
     onToggle: onTogglePanel
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
     hideLabelFromVision: true,
-    label: Object(external_wp_i18n_["__"])('Template:'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Template:'),
     value: Object.keys(templates).includes(selectedTemplate) ? selectedTemplate : '',
     onChange: templateSlug => {
       editPost({
         template: templateSlug || ''
       });
     },
-    options: Object(external_lodash_["map"])(templates, (templateName, templateSlug) => ({
+    options: (0,external_lodash_namespaceObject.map)(templates, (templateName, templateSlug) => ({
       value: templateSlug,
       label: templateName
     }))
-  }), canUserCreate && Object(external_wp_element_["createElement"])(actions, null));
+  }), canUserCreate && (0,external_wp_element_namespaceObject.createElement)(actions, null));
 }
-/* harmony default export */ var sidebar_template = (TemplatePanel);
+/* harmony default export */ var template = (TemplatePanel);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
+
+
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
-var library_layout = __webpack_require__("Civd");
+const layout = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_layout = (layout);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/template-summary/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/template-summary/index.js


 /**
@@ -8299,10 +8113,10 @@ var library_layout = __webpack_require__("Civd");


 function TemplateSummary() {
-  const template = Object(external_wp_data_["useSelect"])(select => {
+  const template = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEditedPostTemplate
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     return getEditedPostTemplate();
   }, []);

@@ -8310,19 +8124,19 @@ function TemplateSummary() {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
     align: "flex-start",
     gap: "3"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: library_layout["a" /* default */]
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["FlexBlock"], null, Object(external_wp_element_["createElement"])("h2", {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(icon, {
+    icon: library_layout
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexBlock, null, (0,external_wp_element_namespaceObject.createElement)("h2", {
     className: "edit-post-template-summary__title"
-  }, (template === null || template === void 0 ? void 0 : template.title) || (template === null || template === void 0 ? void 0 : template.slug)), Object(external_wp_element_["createElement"])("p", null, template === null || template === void 0 ? void 0 : template.description))));
+  }, (template === null || template === void 0 ? void 0 : template.title) || (template === null || template === void 0 ? void 0 : template.slug)), (0,external_wp_element_namespaceObject.createElement)("p", null, template === null || template === void 0 ? void 0 : template.description))));
 }

 /* harmony default export */ var template_summary = (TemplateSummary);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/settings-sidebar/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/settings-sidebar/index.js


 /**
@@ -8354,7 +8168,7 @@ function TemplateSummary() {



-const SIDEBAR_ACTIVE_BY_DEFAULT = external_wp_element_["Platform"].select({
+const SIDEBAR_ACTIVE_BY_DEFAULT = external_wp_element_namespaceObject.Platform.select({
   web: true,
   native: false
 });
@@ -8364,7 +8178,7 @@ const SettingsSidebar = () => {
     sidebarName,
     keyboardShortcut,
     isTemplateMode
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     // The settings sidebar is used by the edit-post/document and edit-post/block sidebars.
     // sidebarName represents the sidebar that is active or that should be active when the SettingsSidebar toggle button is pressed.
     // If one of the two sidebars is active the component will contain the content of that sidebar.
@@ -8372,56 +8186,56 @@ const SettingsSidebar = () => {
     // component, besides being used to render the sidebar, also renders the toggle button. In that case sidebarName
     // should contain the sidebar that will be active when the toggle button is pressed. If a block
     // is selected, that should be edit-post/block otherwise it's edit-post/document.
-    let sidebar = select(build_module["i" /* store */]).getActiveComplementaryArea(store["a" /* store */].name);
+    let sidebar = select(store).getActiveComplementaryArea(store_store.name);

     if (!['edit-post/document', 'edit-post/block'].includes(sidebar)) {
-      if (select(external_wp_blockEditor_["store"]).getBlockSelectionStart()) {
+      if (select(external_wp_blockEditor_namespaceObject.store).getBlockSelectionStart()) {
         sidebar = 'edit-post/block';
       }

       sidebar = 'edit-post/document';
     }

-    const shortcut = select(external_wp_keyboardShortcuts_["store"]).getShortcutRepresentation('core/edit-post/toggle-sidebar');
+    const shortcut = select(external_wp_keyboardShortcuts_namespaceObject.store).getShortcutRepresentation('core/edit-post/toggle-sidebar');
     return {
       sidebarName: sidebar,
       keyboardShortcut: shortcut,
-      isTemplateMode: select(store["a" /* store */]).isEditingTemplate()
+      isTemplateMode: select(store_store).isEditingTemplate()
     };
   }, []);
-  return Object(external_wp_element_["createElement"])(PluginSidebarEditPost, {
+  return (0,external_wp_element_namespaceObject.createElement)(PluginSidebarEditPost, {
     identifier: sidebarName,
-    header: Object(external_wp_element_["createElement"])(settings_header, {
+    header: (0,external_wp_element_namespaceObject.createElement)(settings_header, {
       sidebarName: sidebarName
     }),
-    closeLabel: Object(external_wp_i18n_["__"])('Close settings'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close settings'),
     headerClassName: "edit-post-sidebar__panel-tabs"
     /* translators: button label text should, if possible, be under 16 characters. */
     ,
-    title: Object(external_wp_i18n_["__"])('Settings'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Settings'),
     toggleShortcut: keyboardShortcut,
-    icon: cog["a" /* default */],
+    icon: library_cog,
     isActiveByDefault: SIDEBAR_ACTIVE_BY_DEFAULT
-  }, !isTemplateMode && sidebarName === 'edit-post/document' && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(post_status, null), Object(external_wp_element_["createElement"])(sidebar_template, null), Object(external_wp_element_["createElement"])(plugin_document_setting_panel["a" /* default */].Slot, null), Object(external_wp_element_["createElement"])(last_revision, null), Object(external_wp_element_["createElement"])(post_link, null), Object(external_wp_element_["createElement"])(post_taxonomies, null), Object(external_wp_element_["createElement"])(featured_image, null), Object(external_wp_element_["createElement"])(post_excerpt, null), Object(external_wp_element_["createElement"])(discussion_panel, null), Object(external_wp_element_["createElement"])(page_attributes, null), Object(external_wp_element_["createElement"])(MetaBoxes, {
+  }, !isTemplateMode && sidebarName === 'edit-post/document' && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(post_status, null), (0,external_wp_element_namespaceObject.createElement)(template, null), (0,external_wp_element_namespaceObject.createElement)(plugin_document_setting_panel.Slot, null), (0,external_wp_element_namespaceObject.createElement)(last_revision, null), (0,external_wp_element_namespaceObject.createElement)(post_link, null), (0,external_wp_element_namespaceObject.createElement)(post_taxonomies, null), (0,external_wp_element_namespaceObject.createElement)(featured_image, null), (0,external_wp_element_namespaceObject.createElement)(post_excerpt, null), (0,external_wp_element_namespaceObject.createElement)(discussion_panel, null), (0,external_wp_element_namespaceObject.createElement)(page_attributes, null), (0,external_wp_element_namespaceObject.createElement)(MetaBoxes, {
     location: "side"
-  })), isTemplateMode && sidebarName === 'edit-post/document' && Object(external_wp_element_["createElement"])(template_summary, null), sidebarName === 'edit-post/block' && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockInspector"], null));
+  })), isTemplateMode && sidebarName === 'edit-post/document' && (0,external_wp_element_namespaceObject.createElement)(template_summary, null), sidebarName === 'edit-post/block' && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockInspector, null));
 };

 /* harmony default export */ var settings_sidebar = (SettingsSidebar);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/image.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/image.js

 function WelcomeGuideImage(_ref) {
   let {
     nonAnimatedSrc,
     animatedSrc
   } = _ref;
-  return Object(external_wp_element_["createElement"])("picture", {
+  return (0,external_wp_element_namespaceObject.createElement)("picture", {
     className: "edit-post-welcome-guide__image"
-  }, Object(external_wp_element_["createElement"])("source", {
+  }, (0,external_wp_element_namespaceObject.createElement)("source", {
     srcSet: nonAnimatedSrc,
     media: "(prefers-reduced-motion: reduce)"
-  }), Object(external_wp_element_["createElement"])("img", {
+  }), (0,external_wp_element_namespaceObject.createElement)("img", {
     src: animatedSrc,
     width: "312",
     height: "240",
@@ -8429,7 +8243,7 @@ function WelcomeGuideImage(_ref) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/default.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/default.js


 /**
@@ -8448,64 +8262,64 @@ function WelcomeGuideImage(_ref) {
 function WelcomeGuideDefault() {
   const {
     toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Guide"], {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Guide, {
     className: "edit-post-welcome-guide",
-    contentLabel: Object(external_wp_i18n_["__"])('Welcome to the block editor'),
-    finishButtonText: Object(external_wp_i18n_["__"])('Get started'),
+    contentLabel: (0,external_wp_i18n_namespaceObject.__)('Welcome to the block editor'),
+    finishButtonText: (0,external_wp_i18n_namespaceObject.__)('Get started'),
     onFinish: () => toggleFeature('welcomeGuide'),
     pages: [{
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
         nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-canvas.svg",
         animatedSrc: "https://s.w.org/images/block-editor/welcome-canvas.gif"
       }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
         className: "edit-post-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Welcome to the block editor')), Object(external_wp_element_["createElement"])("p", {
+      }, (0,external_wp_i18n_namespaceObject.__)('Welcome to the block editor')), (0,external_wp_element_namespaceObject.createElement)("p", {
         className: "edit-post-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content.')))
+      }, (0,external_wp_i18n_namespaceObject.__)('In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content.')))
     }, {
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
         nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-editor.svg",
         animatedSrc: "https://s.w.org/images/block-editor/welcome-editor.gif"
       }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
         className: "edit-post-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Make each block your own')), Object(external_wp_element_["createElement"])("p", {
+      }, (0,external_wp_i18n_namespaceObject.__)('Make each block your own')), (0,external_wp_element_namespaceObject.createElement)("p", {
         className: "edit-post-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.')))
+      }, (0,external_wp_i18n_namespaceObject.__)('Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.')))
     }, {
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
         nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-library.svg",
         animatedSrc: "https://s.w.org/images/block-editor/welcome-library.gif"
       }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
         className: "edit-post-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Get to know the block library')), Object(external_wp_element_["createElement"])("p", {
+      }, (0,external_wp_i18n_namespaceObject.__)('Get to know the block library')), (0,external_wp_element_namespaceObject.createElement)("p", {
         className: "edit-post-welcome-guide__text"
-      }, Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["__"])('All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon.'), {
-        InserterIconImage: Object(external_wp_element_["createElement"])("img", {
-          alt: Object(external_wp_i18n_["__"])('inserter'),
+      }, (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.__)('All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon.'), {
+        InserterIconImage: (0,external_wp_element_namespaceObject.createElement)("img", {
+          alt: (0,external_wp_i18n_namespaceObject.__)('inserter'),
           src: "data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' rx='2' fill='%231E1E1E'/%3E%3Cpath d='M9.22727 4V14M4 8.77273H14' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A"
         })
       })))
     }, {
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
         nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.svg",
         animatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.gif"
       }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
         className: "edit-post-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Learn how to use the block editor')), Object(external_wp_element_["createElement"])("p", {
+      }, (0,external_wp_i18n_namespaceObject.__)('Learn how to use the block editor')), (0,external_wp_element_namespaceObject.createElement)("p", {
         className: "edit-post-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('New to the block editor? Want to learn more about using it? '), Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-        href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/wordpress-editor/')
-      }, Object(external_wp_i18n_["__"])("Here's a detailed guide."))))
+      }, (0,external_wp_i18n_namespaceObject.__)('New to the block editor? Want to learn more about using it? '), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+        href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/wordpress-editor/')
+      }, (0,external_wp_i18n_namespaceObject.__)("Here's a detailed guide."))))
     }]
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/template.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/template.js


 /**
@@ -8523,27 +8337,27 @@ function WelcomeGuideDefault() {
 function WelcomeGuideTemplate() {
   const {
     toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Guide"], {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Guide, {
     className: "edit-post-welcome-guide",
-    contentLabel: Object(external_wp_i18n_["__"])('Welcome to the template editor'),
-    finishButtonText: Object(external_wp_i18n_["__"])('Get started'),
+    contentLabel: (0,external_wp_i18n_namespaceObject.__)('Welcome to the template editor'),
+    finishButtonText: (0,external_wp_i18n_namespaceObject.__)('Get started'),
     onFinish: () => toggleFeature('welcomeGuideTemplate'),
     pages: [{
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
         nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-template-editor.svg",
         animatedSrc: "https://s.w.org/images/block-editor/welcome-template-editor.gif"
       }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
         className: "edit-post-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Welcome to the template editor')), Object(external_wp_element_["createElement"])("p", {
+      }, (0,external_wp_i18n_namespaceObject.__)('Welcome to the template editor')), (0,external_wp_element_namespaceObject.createElement)("p", {
         className: "edit-post-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('Templates help define the layout of the site. You can customize all aspects of your posts and pages using blocks and patterns in this editor.')))
+      }, (0,external_wp_i18n_namespaceObject.__)('Templates help define the layout of the site. You can customize all aspects of your posts and pages using blocks and patterns in this editor.')))
     }]
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/welcome-guide/index.js


 /**
@@ -8561,11 +8375,11 @@ function WelcomeGuide() {
   const {
     isActive,
     isTemplateMode
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       isFeatureActive,
       isEditingTemplate
-    } = select(store["a" /* store */]);
+    } = select(store_store);

     const _isTemplateMode = isEditingTemplate();

@@ -8580,10 +8394,10 @@ function WelcomeGuide() {
     return null;
   }

-  return isTemplateMode ? Object(external_wp_element_["createElement"])(WelcomeGuideTemplate, null) : Object(external_wp_element_["createElement"])(WelcomeGuideDefault, null);
+  return isTemplateMode ? (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideTemplate, null) : (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideDefault, null);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-post-publish-panel/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-post-publish-panel/index.js


 /**
@@ -8595,7 +8409,7 @@ function WelcomeGuide() {
 const {
   Fill: plugin_post_publish_panel_Fill,
   Slot: plugin_post_publish_panel_Slot
-} = Object(external_wp_components_["createSlotFill"])('PluginPostPublishPanel');
+} = (0,external_wp_components_namespaceObject.createSlotFill)('PluginPostPublishPanel');

 const PluginPostPublishPanelFill = _ref => {
   let {
@@ -8605,7 +8419,7 @@ const PluginPostPublishPanelFill = _ref => {
     initialOpen = false,
     icon
   } = _ref;
-  return Object(external_wp_element_["createElement"])(plugin_post_publish_panel_Fill, null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
+  return (0,external_wp_element_namespaceObject.createElement)(plugin_post_publish_panel_Fill, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
     className: className,
     initialOpen: initialOpen || !title,
     title: title,
@@ -8662,7 +8476,7 @@ const PluginPostPublishPanelFill = _ref => {
  */


-const PluginPostPublishPanel = Object(external_wp_compose_["compose"])(Object(external_wp_plugins_["withPluginContext"])((context, ownProps) => {
+const PluginPostPublishPanel = (0,external_wp_compose_namespaceObject.compose)((0,external_wp_plugins_namespaceObject.withPluginContext)((context, ownProps) => {
   return {
     icon: ownProps.icon || context.icon
   };
@@ -8670,7 +8484,7 @@ const PluginPostPublishPanel = Object(external_wp_compose_["compose"])(Object(ex
 PluginPostPublishPanel.Slot = plugin_post_publish_panel_Slot;
 /* harmony default export */ var plugin_post_publish_panel = (PluginPostPublishPanel);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-pre-publish-panel/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/sidebar/plugin-pre-publish-panel/index.js


 /**
@@ -8682,7 +8496,7 @@ PluginPostPublishPanel.Slot = plugin_post_publish_panel_Slot;
 const {
   Fill: plugin_pre_publish_panel_Fill,
   Slot: plugin_pre_publish_panel_Slot
-} = Object(external_wp_components_["createSlotFill"])('PluginPrePublishPanel');
+} = (0,external_wp_components_namespaceObject.createSlotFill)('PluginPrePublishPanel');

 const PluginPrePublishPanelFill = _ref => {
   let {
@@ -8692,7 +8506,7 @@ const PluginPrePublishPanelFill = _ref => {
     initialOpen = false,
     icon
   } = _ref;
-  return Object(external_wp_element_["createElement"])(plugin_pre_publish_panel_Fill, null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
+  return (0,external_wp_element_namespaceObject.createElement)(plugin_pre_publish_panel_Fill, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
     className: className,
     initialOpen: initialOpen || !title,
     title: title,
@@ -8752,7 +8566,7 @@ const PluginPrePublishPanelFill = _ref => {
  */


-const PluginPrePublishPanel = Object(external_wp_compose_["compose"])(Object(external_wp_plugins_["withPluginContext"])((context, ownProps) => {
+const PluginPrePublishPanel = (0,external_wp_compose_namespaceObject.compose)((0,external_wp_plugins_namespaceObject.withPluginContext)((context, ownProps) => {
   return {
     icon: ownProps.icon || context.icon
   };
@@ -8760,7 +8574,7 @@ const PluginPrePublishPanel = Object(external_wp_compose_["compose"])(Object(ext
 PluginPrePublishPanel.Slot = plugin_pre_publish_panel_Slot;
 /* harmony default export */ var plugin_pre_publish_panel = (PluginPrePublishPanel);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/layout/actions-panel.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/layout/actions-panel.js


 /**
@@ -8781,8 +8595,8 @@ PluginPrePublishPanel.Slot = plugin_pre_publish_panel_Slot;
 const {
   Fill: actions_panel_Fill,
   Slot: actions_panel_Slot
-} = Object(external_wp_components_["createSlotFill"])('ActionsPanel');
-const ActionsPanelFill = actions_panel_Fill;
+} = (0,external_wp_components_namespaceObject.createSlotFill)('ActionsPanel');
+const ActionsPanelFill = (/* unused pure expression or super */ null && (actions_panel_Fill));
 function ActionsPanel(_ref) {
   let {
     setEntitiesSavedStatesCallback,
@@ -8792,27 +8606,27 @@ function ActionsPanel(_ref) {
   const {
     closePublishSidebar,
     togglePublishSidebar
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
   const {
     publishSidebarOpened,
     hasActiveMetaboxes,
     isSavingMetaBoxes,
     hasNonPostEntityChanges
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     return {
-      publishSidebarOpened: select(store["a" /* store */]).isPublishSidebarOpened(),
-      hasActiveMetaboxes: select(store["a" /* store */]).hasMetaBoxes(),
-      isSavingMetaBoxes: select(store["a" /* store */]).isSavingMetaBoxes(),
-      hasNonPostEntityChanges: select(external_wp_editor_["store"]).hasNonPostEntityChanges()
+      publishSidebarOpened: select(store_store).isPublishSidebarOpened(),
+      hasActiveMetaboxes: select(store_store).hasMetaBoxes(),
+      isSavingMetaBoxes: select(store_store).isSavingMetaBoxes(),
+      hasNonPostEntityChanges: select(external_wp_editor_namespaceObject.store).hasNonPostEntityChanges()
     };
   }, []);
-  const openEntitiesSavedStates = Object(external_wp_element_["useCallback"])(() => setEntitiesSavedStatesCallback(true), []); // It is ok for these components to be unmounted when not in visual use.
+  const openEntitiesSavedStates = (0,external_wp_element_namespaceObject.useCallback)(() => setEntitiesSavedStatesCallback(true), []); // It is ok for these components to be unmounted when not in visual use.
   // We don't want more than one present at a time, decide which to render.

   let unmountableContent;

   if (publishSidebarOpened) {
-    unmountableContent = Object(external_wp_element_["createElement"])(external_wp_editor_["PostPublishPanel"], {
+    unmountableContent = (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostPublishPanel, {
       onClose: closePublishSidebar,
       forceIsDirty: hasActiveMetaboxes,
       forceIsSaving: isSavingMetaBoxes,
@@ -8820,35 +8634,35 @@ function ActionsPanel(_ref) {
       PostPublishExtension: plugin_post_publish_panel.Slot
     });
   } else if (hasNonPostEntityChanges) {
-    unmountableContent = Object(external_wp_element_["createElement"])("div", {
+    unmountableContent = (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "edit-post-layout__toggle-entities-saved-states-panel"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       variant: "secondary",
       className: "edit-post-layout__toggle-entities-saved-states-panel-button",
       onClick: openEntitiesSavedStates,
       "aria-expanded": false
-    }, Object(external_wp_i18n_["__"])('Open save panel')));
+    }, (0,external_wp_i18n_namespaceObject.__)('Open save panel')));
   } else {
-    unmountableContent = Object(external_wp_element_["createElement"])("div", {
+    unmountableContent = (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "edit-post-layout__toggle-publish-panel"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       variant: "secondary",
       className: "edit-post-layout__toggle-publish-panel-button",
       onClick: togglePublishSidebar,
       "aria-expanded": false
-    }, Object(external_wp_i18n_["__"])('Open publish panel')));
+    }, (0,external_wp_i18n_namespaceObject.__)('Open publish panel')));
   } // Since EntitiesSavedStates controls its own panel, we can keep it
   // always mounted to retain its own component state (such as checkboxes).


-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isEntitiesSavedStatesOpen && Object(external_wp_element_["createElement"])(external_wp_editor_["EntitiesSavedStates"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isEntitiesSavedStatesOpen && (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.EntitiesSavedStates, {
     close: closeEntitiesSavedStates
-  }), Object(external_wp_element_["createElement"])(actions_panel_Slot, {
+  }), (0,external_wp_element_namespaceObject.createElement)(actions_panel_Slot, {
     bubblesVirtually: true
   }), !isEntitiesSavedStatesOpen && unmountableContent);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/layout/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/layout/index.js


 /**
@@ -8888,35 +8702,35 @@ function ActionsPanel(_ref) {


 const interfaceLabels = {
-  secondarySidebar: Object(external_wp_i18n_["__"])('Block library'),
+  secondarySidebar: (0,external_wp_i18n_namespaceObject.__)('Block library'),

   /* translators: accessibility text for the editor top bar landmark region. */
-  header: Object(external_wp_i18n_["__"])('Editor top bar'),
+  header: (0,external_wp_i18n_namespaceObject.__)('Editor top bar'),

   /* translators: accessibility text for the editor content landmark region. */
-  body: Object(external_wp_i18n_["__"])('Editor content'),
+  body: (0,external_wp_i18n_namespaceObject.__)('Editor content'),

   /* translators: accessibility text for the editor settings landmark region. */
-  sidebar: Object(external_wp_i18n_["__"])('Editor settings'),
+  sidebar: (0,external_wp_i18n_namespaceObject.__)('Editor settings'),

   /* translators: accessibility text for the editor publish landmark region. */
-  actions: Object(external_wp_i18n_["__"])('Editor publish'),
+  actions: (0,external_wp_i18n_namespaceObject.__)('Editor publish'),

   /* translators: accessibility text for the editor footer landmark region. */
-  footer: Object(external_wp_i18n_["__"])('Editor footer')
+  footer: (0,external_wp_i18n_namespaceObject.__)('Editor footer')
 };

 function Layout(_ref) {
   let {
     styles
   } = _ref;
-  const isMobileViewport = Object(external_wp_compose_["useViewportMatch"])('medium', '<');
-  const isHugeViewport = Object(external_wp_compose_["useViewportMatch"])('huge', '>=');
+  const isMobileViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
+  const isHugeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('huge', '>=');
   const {
     openGeneralSidebar,
     closeGeneralSidebar,
     setIsInserterOpened
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
   const {
     mode,
     isFullscreenActive,
@@ -8934,30 +8748,30 @@ function Layout(_ref) {
     showBlockBreadcrumbs,
     isTemplateMode,
     documentLabel
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getEditorSettings,
       getPostTypeLabel
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const editorSettings = getEditorSettings();
     const postTypeLabel = getPostTypeLabel();
     return {
-      isTemplateMode: select(store["a" /* store */]).isEditingTemplate(),
-      hasFixedToolbar: select(store["a" /* store */]).isFeatureActive('fixedToolbar'),
-      sidebarIsOpened: !!(select(build_module["i" /* store */]).getActiveComplementaryArea(store["a" /* store */].name) || select(store["a" /* store */]).isPublishSidebarOpened()),
-      isFullscreenActive: select(store["a" /* store */]).isFeatureActive('fullscreenMode'),
-      isInserterOpened: select(store["a" /* store */]).isInserterOpened(),
-      isListViewOpened: select(store["a" /* store */]).isListViewOpened(),
-      mode: select(store["a" /* store */]).getEditorMode(),
+      isTemplateMode: select(store_store).isEditingTemplate(),
+      hasFixedToolbar: select(store_store).isFeatureActive('fixedToolbar'),
+      sidebarIsOpened: !!(select(store).getActiveComplementaryArea(store_store.name) || select(store_store).isPublishSidebarOpened()),
+      isFullscreenActive: select(store_store).isFeatureActive('fullscreenMode'),
+      isInserterOpened: select(store_store).isInserterOpened(),
+      isListViewOpened: select(store_store).isListViewOpened(),
+      mode: select(store_store).getEditorMode(),
       isRichEditingEnabled: editorSettings.richEditingEnabled,
-      hasActiveMetaboxes: select(store["a" /* store */]).hasMetaBoxes(),
-      previousShortcut: select(external_wp_keyboardShortcuts_["store"]).getAllShortcutKeyCombinations('core/edit-post/previous-region'),
-      nextShortcut: select(external_wp_keyboardShortcuts_["store"]).getAllShortcutKeyCombinations('core/edit-post/next-region'),
-      showIconLabels: select(store["a" /* store */]).isFeatureActive('showIconLabels'),
-      hasReducedUI: select(store["a" /* store */]).isFeatureActive('reducedUI'),
-      showBlockBreadcrumbs: select(store["a" /* store */]).isFeatureActive('showBlockBreadcrumbs'),
+      hasActiveMetaboxes: select(store_store).hasMetaBoxes(),
+      previousShortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getAllShortcutKeyCombinations('core/edit-post/previous-region'),
+      nextShortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getAllShortcutKeyCombinations('core/edit-post/next-region'),
+      showIconLabels: select(store_store).isFeatureActive('showIconLabels'),
+      hasReducedUI: select(store_store).isFeatureActive('reducedUI'),
+      showBlockBreadcrumbs: select(store_store).isFeatureActive('showBlockBreadcrumbs'),
       // translators: Default label for the Document in the Block Breadcrumb.
-      documentLabel: postTypeLabel || Object(external_wp_i18n_["_x"])('Document', 'noun')
+      documentLabel: postTypeLabel || (0,external_wp_i18n_namespaceObject._x)('Document', 'noun')
     };
   }, []);
   const className = classnames_default()('edit-post-layout', 'is-mode-' + mode, {
@@ -8970,20 +8784,20 @@ function Layout(_ref) {
   const openSidebarPanel = () => openGeneralSidebar(hasBlockSelected ? 'edit-post/block' : 'edit-post/document'); // Inserter and Sidebars are mutually exclusive


-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (sidebarIsOpened && !isHugeViewport) {
       setIsInserterOpened(false);
     }
   }, [sidebarIsOpened, isHugeViewport]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (isInserterOpened && !isHugeViewport) {
       closeGeneralSidebar();
     }
   }, [isInserterOpened, isHugeViewport]); // Local state for save panel.
   // Note 'truthy' callback implies an open panel.

-  const [entitiesSavedStatesCallback, setEntitiesSavedStatesCallback] = Object(external_wp_element_["useState"])(false);
-  const closeEntitiesSavedStates = Object(external_wp_element_["useCallback"])(arg => {
+  const [entitiesSavedStatesCallback, setEntitiesSavedStatesCallback] = (0,external_wp_element_namespaceObject.useState)(false);
+  const closeEntitiesSavedStates = (0,external_wp_element_namespaceObject.useCallback)(arg => {
     if (typeof entitiesSavedStatesCallback === 'function') {
       entitiesSavedStatesCallback(arg);
     }
@@ -8993,51 +8807,51 @@ function Layout(_ref) {

   const secondarySidebar = () => {
     if (mode === 'visual' && isInserterOpened) {
-      return Object(external_wp_element_["createElement"])(InserterSidebar, null);
+      return (0,external_wp_element_namespaceObject.createElement)(InserterSidebar, null);
     }

     if (mode === 'visual' && isListViewOpened) {
-      return Object(external_wp_element_["createElement"])(ListViewSidebar, null);
+      return (0,external_wp_element_namespaceObject.createElement)(ListViewSidebar, null);
     }

     return null;
   };

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(build_module["d" /* FullscreenMode */], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(fullscreen_mode, {
     isActive: isFullscreenActive
-  }), Object(external_wp_element_["createElement"])(browser_url, null), Object(external_wp_element_["createElement"])(external_wp_editor_["UnsavedChangesWarning"], null), Object(external_wp_element_["createElement"])(external_wp_editor_["AutosaveMonitor"], null), Object(external_wp_element_["createElement"])(external_wp_editor_["LocalAutosaveMonitor"], null), Object(external_wp_element_["createElement"])(keyboard_shortcuts, null), Object(external_wp_element_["createElement"])(external_wp_editor_["EditorKeyboardShortcutsRegister"], null), Object(external_wp_element_["createElement"])(settings_sidebar, null), Object(external_wp_element_["createElement"])(build_module["e" /* InterfaceSkeleton */], {
+  }), (0,external_wp_element_namespaceObject.createElement)(browser_url, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.UnsavedChangesWarning, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.AutosaveMonitor, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.LocalAutosaveMonitor, null), (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.EditorKeyboardShortcutsRegister, null), (0,external_wp_element_namespaceObject.createElement)(settings_sidebar, null), (0,external_wp_element_namespaceObject.createElement)(interface_skeleton, {
     className: className,
     labels: interfaceLabels,
-    header: Object(external_wp_element_["createElement"])(header, {
+    header: (0,external_wp_element_namespaceObject.createElement)(header, {
       setEntitiesSavedStatesCallback: setEntitiesSavedStatesCallback
     }),
     secondarySidebar: secondarySidebar(),
-    sidebar: (!isMobileViewport || sidebarIsOpened) && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, !isMobileViewport && !sidebarIsOpened && Object(external_wp_element_["createElement"])("div", {
+    sidebar: (!isMobileViewport || sidebarIsOpened) && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, !isMobileViewport && !sidebarIsOpened && (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "edit-post-layout__toggle-sidebar-panel"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       variant: "secondary",
       className: "edit-post-layout__toggle-sidebar-panel-button",
       onClick: openSidebarPanel,
       "aria-expanded": false
-    }, hasBlockSelected ? Object(external_wp_i18n_["__"])('Open block settings') : Object(external_wp_i18n_["__"])('Open document settings'))), Object(external_wp_element_["createElement"])(build_module["b" /* ComplementaryArea */].Slot, {
+    }, hasBlockSelected ? (0,external_wp_i18n_namespaceObject.__)('Open block settings') : (0,external_wp_i18n_namespaceObject.__)('Open document settings'))), (0,external_wp_element_namespaceObject.createElement)(complementary_area.Slot, {
       scope: "core/edit-post"
     })),
-    notices: Object(external_wp_element_["createElement"])(external_wp_editor_["EditorSnackbars"], null),
-    content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["EditorNotices"], null), (mode === 'text' || !isRichEditingEnabled) && Object(external_wp_element_["createElement"])(text_editor, null), isRichEditingEnabled && mode === 'visual' && Object(external_wp_element_["createElement"])(VisualEditor, {
+    notices: (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.EditorSnackbars, null),
+    content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.EditorNotices, null), (mode === 'text' || !isRichEditingEnabled) && (0,external_wp_element_namespaceObject.createElement)(text_editor, null), isRichEditingEnabled && mode === 'visual' && (0,external_wp_element_namespaceObject.createElement)(VisualEditor, {
       styles: styles
-    }), !isTemplateMode && Object(external_wp_element_["createElement"])("div", {
+    }), !isTemplateMode && (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "edit-post-layout__metaboxes"
-    }, Object(external_wp_element_["createElement"])(MetaBoxes, {
+    }, (0,external_wp_element_namespaceObject.createElement)(MetaBoxes, {
       location: "normal"
-    }), Object(external_wp_element_["createElement"])(MetaBoxes, {
+    }), (0,external_wp_element_namespaceObject.createElement)(MetaBoxes, {
       location: "advanced"
-    })), isMobileViewport && sidebarIsOpened && Object(external_wp_element_["createElement"])(external_wp_components_["ScrollLock"], null)),
-    footer: !hasReducedUI && showBlockBreadcrumbs && !isMobileViewport && isRichEditingEnabled && mode === 'visual' && Object(external_wp_element_["createElement"])("div", {
+    })), isMobileViewport && sidebarIsOpened && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ScrollLock, null)),
+    footer: !hasReducedUI && showBlockBreadcrumbs && !isMobileViewport && isRichEditingEnabled && mode === 'visual' && (0,external_wp_element_namespaceObject.createElement)("div", {
       className: "edit-post-layout__footer"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockBreadcrumb"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockBreadcrumb, {
       rootLabelText: documentLabel
     })),
-    actions: Object(external_wp_element_["createElement"])(ActionsPanel, {
+    actions: (0,external_wp_element_namespaceObject.createElement)(ActionsPanel, {
       closeEntitiesSavedStates: closeEntitiesSavedStates,
       isEntitiesSavedStatesOpen: entitiesSavedStatesCallback,
       setEntitiesSavedStatesCallback: setEntitiesSavedStatesCallback
@@ -9046,15 +8860,12 @@ function Layout(_ref) {
       previous: previousShortcut,
       next: nextShortcut
     }
-  }), Object(external_wp_element_["createElement"])(PreferencesModal, null), Object(external_wp_element_["createElement"])(keyboard_shortcut_help_modal, null), Object(external_wp_element_["createElement"])(WelcomeGuide, null), Object(external_wp_element_["createElement"])(external_wp_components_["Popover"].Slot, null), Object(external_wp_element_["createElement"])(external_wp_plugins_["PluginArea"], null));
+  }), (0,external_wp_element_namespaceObject.createElement)(PreferencesModal, null), (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcut_help_modal, null), (0,external_wp_element_namespaceObject.createElement)(WelcomeGuide, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover.Slot, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_plugins_namespaceObject.PluginArea, null));
 }

 /* harmony default export */ var components_layout = (Layout);

-// EXTERNAL MODULE: ./node_modules/@wordpress/edit-post/build-module/store/constants.js
-var constants = __webpack_require__("0dt7");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/listener-hooks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/listener-hooks.js
 /**
  * WordPress dependencies
  */
@@ -9078,14 +8889,14 @@ const useBlockSelectionListener = postId => {
   const {
     hasBlockSelection,
     isEditorSidebarOpened
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    hasBlockSelection: !!select(external_wp_blockEditor_["store"]).getBlockSelectionStart(),
-    isEditorSidebarOpened: select(constants["a" /* STORE_NAME */]).isEditorSidebarOpened()
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    hasBlockSelection: !!select(external_wp_blockEditor_namespaceObject.store).getBlockSelectionStart(),
+    isEditorSidebarOpened: select(constants_STORE_NAME).isEditorSidebarOpened()
   }), [postId]);
   const {
     openGeneralSidebar
-  } = Object(external_wp_data_["useDispatch"])(constants["a" /* STORE_NAME */]);
-  Object(external_wp_element_["useEffect"])(() => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(constants_STORE_NAME);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isEditorSidebarOpened) {
       return;
     }
@@ -9107,14 +8918,14 @@ const useBlockSelectionListener = postId => {
 const useUpdatePostLinkListener = postId => {
   const {
     newPermalink
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    newPermalink: select(external_wp_editor_["store"]).getCurrentPost().link
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    newPermalink: select(external_wp_editor_namespaceObject.store).getCurrentPost().link
   }), [postId]);
-  const nodeToUpdate = Object(external_wp_element_["useRef"])();
-  Object(external_wp_element_["useEffect"])(() => {
-    nodeToUpdate.current = document.querySelector(constants["c" /* VIEW_AS_PREVIEW_LINK_SELECTOR */]) || document.querySelector(constants["b" /* VIEW_AS_LINK_SELECTOR */]);
+  const nodeToUpdate = (0,external_wp_element_namespaceObject.useRef)();
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    nodeToUpdate.current = document.querySelector(VIEW_AS_PREVIEW_LINK_SELECTOR) || document.querySelector(VIEW_AS_LINK_SELECTOR);
   }, [postId]);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!newPermalink || !nodeToUpdate.current) {
       return;
     }
@@ -9123,7 +8934,7 @@ const useUpdatePostLinkListener = postId => {
   }, [newPermalink]);
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/editor-initialization/index.js
 /**
  * Internal dependencies
  */
@@ -9145,7 +8956,7 @@ function EditorInitialization(_ref) {
   return null;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/editor.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/editor.js



@@ -9196,7 +9007,7 @@ function Editor(_ref) {
     keepCaretInsideBlock,
     isTemplateMode,
     template
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getPostType$viewable, _getPostType;

     const {
@@ -9205,18 +9016,18 @@ function Editor(_ref) {
       __experimentalGetPreviewDeviceType,
       isEditingTemplate,
       getEditedPostTemplate
-    } = select(store["a" /* store */]);
+    } = select(store_store);
     const {
       getEntityRecord,
       getPostType,
       getEntityRecords
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const {
       getEditorSettings
-    } = select(external_wp_editor_["store"]);
+    } = select(external_wp_editor_namespaceObject.store);
     const {
       getBlockTypes
-    } = select(external_wp_blocks_["store"]);
+    } = select(external_wp_blocks_namespaceObject.store);
     const isTemplate = ['wp_template', 'wp_template_part'].includes(postType); // Ideally the initializeEditor function should be called using the ID of the REST endpoint.
     // to avoid the special case.

@@ -9251,8 +9062,8 @@ function Editor(_ref) {
   const {
     updatePreferredStyleVariations,
     setIsInserterOpened
-  } = Object(external_wp_data_["useDispatch"])(store["a" /* store */]);
-  const editorSettings = Object(external_wp_element_["useMemo"])(() => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const editorSettings = (0,external_wp_element_namespaceObject.useMemo)(() => {
     const result = { ...settings,
       __experimentalPreferredStyleVariations: {
         value: preferredStyleVariations,
@@ -9267,17 +9078,17 @@ function Editor(_ref) {
       keepCaretInsideBlock
     }; // Omit hidden block types if exists and non-empty.

-    if (Object(external_lodash_["size"])(hiddenBlockTypes) > 0) {
+    if ((0,external_lodash_namespaceObject.size)(hiddenBlockTypes) > 0) {
       // Defer to passed setting for `allowedBlockTypes` if provided as
       // anything other than `true` (where `true` is equivalent to allow
       // all block types).
-      const defaultAllowedBlockTypes = true === settings.allowedBlockTypes ? Object(external_lodash_["map"])(blockTypes, 'name') : settings.allowedBlockTypes || [];
-      result.allowedBlockTypes = Object(external_lodash_["without"])(defaultAllowedBlockTypes, ...hiddenBlockTypes);
+      const defaultAllowedBlockTypes = true === settings.allowedBlockTypes ? (0,external_lodash_namespaceObject.map)(blockTypes, 'name') : settings.allowedBlockTypes || [];
+      result.allowedBlockTypes = (0,external_lodash_namespaceObject.without)(defaultAllowedBlockTypes, ...hiddenBlockTypes);
     }

     return result;
   }, [settings, hasFixedToolbar, focusMode, hasReducedUI, hiddenBlockTypes, blockTypes, preferredStyleVariations, __experimentalLocalAutosaveInterval, setIsInserterOpened, updatePreferredStyleVariations, keepCaretInsideBlock]);
-  const styles = Object(external_wp_element_["useMemo"])(() => {
+  const styles = (0,external_wp_element_namespaceObject.useMemo)(() => {
     const themeStyles = [];
     const presetStyles = [];
     settings.styles.forEach(style => {
@@ -9295,28 +9106,28 @@ function Editor(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["StrictMode"], null, Object(external_wp_element_["createElement"])(external_wp_keyboardShortcuts_["ShortcutProvider"], null, Object(external_wp_element_["createElement"])(edit_post_settings.Provider, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.StrictMode, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_keyboardShortcuts_namespaceObject.ShortcutProvider, null, (0,external_wp_element_namespaceObject.createElement)(edit_post_settings.Provider, {
     value: settings
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SlotFillProvider"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["EditorProvider"], Object(esm_extends["a" /* default */])({
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SlotFillProvider, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.EditorProvider, _extends({
     settings: editorSettings,
     post: post,
     initialEdits: initialEdits,
     useSubRegistry: false,
     __unstableTemplate: isTemplateMode ? template : undefined
-  }, props), Object(external_wp_element_["createElement"])(external_wp_editor_["ErrorBoundary"], {
+  }, props), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.ErrorBoundary, {
     onError: onError
-  }, Object(external_wp_element_["createElement"])(EditorInitialization, {
+  }, (0,external_wp_element_namespaceObject.createElement)(EditorInitialization, {
     postId: postId
-  }), Object(external_wp_element_["createElement"])(components_layout, {
+  }), (0,external_wp_element_namespaceObject.createElement)(components_layout, {
     styles: styles
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["KeyboardShortcuts"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.KeyboardShortcuts, {
     shortcuts: prevent_event_discovery
-  })), Object(external_wp_element_["createElement"])(external_wp_editor_["PostLockedModal"], null))))));
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.PostLockedModal, null))))));
 }

 /* harmony default export */ var editor = (Editor);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/block-settings-menu/plugin-block-settings-menu-item.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/block-settings-menu/plugin-block-settings-menu-item.js


 /**
@@ -9331,7 +9142,7 @@ function Editor(_ref) {



-const isEverySelectedBlockAllowed = (selected, allowed) => Object(external_lodash_["difference"])(selected, allowed).length === 0;
+const isEverySelectedBlockAllowed = (selected, allowed) => (0,external_lodash_namespaceObject.difference)(selected, allowed).length === 0;
 /**
  * Plugins may want to add an item to the menu either for every block
  * or only for the specific ones provided in the `allowedBlocks` component property.
@@ -9412,7 +9223,7 @@ const PluginBlockSettingsMenuItem = _ref => {
     small,
     role
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockSettingsMenuControls"], null, _ref2 => {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockSettingsMenuControls, null, _ref2 => {
     let {
       selectedBlocks,
       onClose
@@ -9422,8 +9233,8 @@ const PluginBlockSettingsMenuItem = _ref => {
       return null;
     }

-    return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-      onClick: Object(external_wp_compose_["compose"])(onClick, onClose),
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      onClick: (0,external_wp_compose_namespaceObject.compose)(onClick, onClose),
       icon: icon,
       label: small ? label : undefined,
       role: role
@@ -9433,7 +9244,7 @@ const PluginBlockSettingsMenuItem = _ref => {

 /* harmony default export */ var plugin_block_settings_menu_item = (PluginBlockSettingsMenuItem);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/plugin-more-menu-item/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/plugin-more-menu-item/index.js
 /**
  * WordPress dependencies
  */
@@ -9497,14 +9308,14 @@ const PluginBlockSettingsMenuItem = _ref => {
  * @return {WPComponent} The component to be rendered.
  */

-/* harmony default export */ var plugin_more_menu_item = (Object(external_wp_compose_["compose"])(Object(external_wp_plugins_["withPluginContext"])((context, ownProps) => {
+/* harmony default export */ var plugin_more_menu_item = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_plugins_namespaceObject.withPluginContext)((context, ownProps) => {
   return {
     icon: ownProps.icon || context.icon,
     name: 'core/edit-post/plugin-more-menu'
   };
-}))(build_module["a" /* ActionItem */]));
+}))(action_item));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/plugin-sidebar-more-menu-item/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/components/header/plugin-sidebar-more-menu-item/index.js



@@ -9533,791 +9344,184 @@ const PluginBlockSettingsMenuItem = _ref => {
  * 		PluginSidebarMoreMenuItem,
  * 		{
  * 			target: 'my-sidebar',
- * 			icon: moreIcon,
- * 		},
- * 		__( 'My sidebar title' )
- * 	)
- * }
- * ```
- *
- * @example
- * ```jsx
- * // Using ESNext syntax
- * import { __ } from '@wordpress/i18n';
- * import { PluginSidebarMoreMenuItem } from '@wordpress/edit-post';
- * import { more } from '@wordpress/icons';
- *
- * const MySidebarMoreMenuItem = () => (
- * 	<PluginSidebarMoreMenuItem
- * 		target="my-sidebar"
- * 		icon={ more }
- * 	>
- * 		{ __( 'My sidebar title' ) }
- * 	</PluginSidebarMoreMenuItem>
- * );
- * ```
- *
- * @return {WPComponent} The component to be rendered.
- */
-
-function PluginSidebarMoreMenuItem(props) {
-  return Object(external_wp_element_["createElement"])(build_module["c" /* ComplementaryAreaMoreMenuItem */] // Menu item is marked with unstable prop for backward compatibility.
-  // @see https://github.com/WordPress/gutenberg/issues/14457
-  , Object(esm_extends["a" /* default */])({
-    __unstableExplicitMenuItem: true,
-    scope: "core/edit-post"
-  }, props));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-/**
- * Reinitializes the editor after the user chooses to reboot the editor after
- * an unhandled error occurs, replacing previously mounted editor element using
- * an initial state from prior to the crash.
- *
- * @param {Object}  postType     Post type of the post to edit.
- * @param {Object}  postId       ID of the post to edit.
- * @param {Element} target       DOM node in which editor is rendered.
- * @param {?Object} settings     Editor settings object.
- * @param {Object}  initialEdits Programmatic edits to apply initially, to be
- *                               considered as non-user-initiated (bypass for
- *                               unsaved changes prompt).
- */
-
-function reinitializeEditor(postType, postId, target, settings, initialEdits) {
-  Object(external_wp_element_["unmountComponentAtNode"])(target);
-  const reboot = reinitializeEditor.bind(null, postType, postId, target, settings, initialEdits);
-  Object(external_wp_element_["render"])(Object(external_wp_element_["createElement"])(editor, {
-    settings: settings,
-    onError: reboot,
-    postId: postId,
-    postType: postType,
-    initialEdits: initialEdits,
-    recovery: true
-  }), target);
-}
-/**
- * Initializes and returns an instance of Editor.
- *
- * @param {string}  id           Unique identifier for editor instance.
- * @param {string}  postType     Post type of the post to edit.
- * @param {Object}  postId       ID of the post to edit.
- * @param {?Object} settings     Editor settings object.
- * @param {Object}  initialEdits Programmatic edits to apply initially, to be
- *                               considered as non-user-initiated (bypass for
- *                               unsaved changes prompt).
- */
-
-function initializeEditor(id, postType, postId, settings, initialEdits) {
-  // Prevent adding template part in the post editor.
-  // Only add the filter when the post editor is initialized, not imported.
-  Object(external_wp_hooks_["addFilter"])('blockEditor.__unstableCanInsertBlockType', 'removeTemplatePartsFromInserter', (can, blockType) => {
-    if (!Object(external_wp_data_["select"])(store["a" /* store */]).isEditingTemplate() && blockType.name === 'core/template-part') {
-      return false;
-    }
-
-    return can;
-  });
-  const target = document.getElementById(id);
-  const reboot = reinitializeEditor.bind(null, postType, postId, target, settings, initialEdits);
-  Object(external_wp_data_["dispatch"])(build_module["i" /* store */]).setFeatureDefaults('core/edit-post', {
-    fixedToolbar: false,
-    welcomeGuide: true,
-    fullscreenMode: true,
-    showIconLabels: false,
-    themeStyles: true,
-    showBlockBreadcrumbs: true,
-    welcomeGuideTemplate: true
-  });
-
-  Object(external_wp_data_["dispatch"])(external_wp_blocks_["store"]).__experimentalReapplyBlockTypeFilters();
-
-  Object(external_wp_blockLibrary_["registerCoreBlocks"])();
-
-  if (false) {} // Show a console log warning if the browser is not in Standards rendering mode.
-
-
-  const documentMode = document.compatMode === 'CSS1Compat' ? 'Standards' : 'Quirks';
-
-  if (documentMode !== 'Standards') {
-    // eslint-disable-next-line no-console
-    console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening <!DOCTYPE html>. Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins.");
-  } // This is a temporary fix for a couple of issues specific to Webkit on iOS.
-  // Without this hack the browser scrolls the mobile toolbar off-screen.
-  // Once supported in Safari we can replace this in favor of preventScroll.
-  // For details see issue #18632 and PR #18686
-  // Specifically, we scroll `interface-interface-skeleton__body` to enable a fixed top toolbar.
-  // But Mobile Safari forces the `html` element to scroll upwards, hiding the toolbar.
-
-
-  const isIphone = window.navigator.userAgent.indexOf('iPhone') !== -1;
-
-  if (isIphone) {
-    window.addEventListener('scroll', event => {
-      const editorScrollContainer = document.getElementsByClassName('interface-interface-skeleton__body')[0];
-
-      if (event.target === document) {
-        // Scroll element into view by scrolling the editor container by the same amount
-        // that Mobile Safari tried to scroll the html element upwards.
-        if (window.scrollY > 100) {
-          editorScrollContainer.scrollTop = editorScrollContainer.scrollTop + window.scrollY;
-        } // Undo unwanted scroll on html element, but only in the visual editor.
-
-
-        if (document.getElementsByClassName('is-mode-visual')[0]) {
-          window.scrollTo(0, 0);
-        }
-      }
-    });
-  }
-
-  Object(external_wp_element_["render"])(Object(external_wp_element_["createElement"])(editor, {
-    settings: settings,
-    onError: reboot,
-    postId: postId,
-    postType: postType,
-    initialEdits: initialEdits
-  }), target);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-/***/ }),
-
-/***/ "g56x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["hooks"]; }());
-
-/***/ }),
-
-/***/ "gdqT":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["a11y"]; }());
-
-/***/ }),
-
-/***/ "hF7m":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["keyboardShortcuts"]; }());
-
-/***/ }),
-
-/***/ "iClF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * WordPress dependencies
- */
-
-/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
-
-/**
- * Return an SVG icon.
- *
- * @param {IconProps} props icon is the SVG component to render
- *                          size is a number specifiying the icon size in pixels
- *                          Other props will be passed to wrapped SVG component
- *
- * @return {JSX.Element}  Icon component
- */
-
-function Icon(_ref) {
-  let {
-    icon,
-    size = 24,
-    ...props
-  } = _ref;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
-    width: size,
-    height: size,
-    ...props
-  });
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (Icon);
-
-
-/***/ }),
-
-/***/ "jSdM":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["editor"]; }());
-
-/***/ }),
-
-/***/ "jZUy":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["coreData"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "onLe":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["notices"]; }());
-
-/***/ }),
-
-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-
-var LEAF_KEY, hasWeakMap;
-
-/**
- * Arbitrary value used as key for referencing cache object in WeakMap tree.
- *
- * @type {Object}
- */
-LEAF_KEY = {};
-
-/**
- * Whether environment supports WeakMap.
- *
- * @type {boolean}
- */
-hasWeakMap = typeof WeakMap !== 'undefined';
-
-/**
- * Returns the first argument as the sole entry in an array.
- *
- * @param {*} value Value to return.
- *
- * @return {Array} Value returned as entry in array.
- */
-function arrayOf( value ) {
-	return [ value ];
-}
-
-/**
- * Returns true if the value passed is object-like, or false otherwise. A value
- * is object-like if it can support property assignment, e.g. object or array.
- *
- * @param {*} value Value to test.
- *
- * @return {boolean} Whether value is object-like.
- */
-function isObjectLike( value ) {
-	return !! value && 'object' === typeof value;
-}
-
-/**
- * Creates and returns a new cache object.
- *
- * @return {Object} Cache object.
- */
-function createCache() {
-	var cache = {
-		clear: function() {
-			cache.head = null;
-		},
-	};
-
-	return cache;
-}
-
-/**
- * Returns true if entries within the two arrays are strictly equal by
- * reference from a starting index.
- *
- * @param {Array}  a         First array.
- * @param {Array}  b         Second array.
- * @param {number} fromIndex Index from which to start comparison.
- *
- * @return {boolean} Whether arrays are shallowly equal.
- */
-function isShallowEqual( a, b, fromIndex ) {
-	var i;
-
-	if ( a.length !== b.length ) {
-		return false;
-	}
-
-	for ( i = fromIndex; i < a.length; i++ ) {
-		if ( a[ i ] !== b[ i ] ) {
-			return false;
-		}
-	}
-
-	return true;
-}
-
-/**
- * Returns a memoized selector function. The getDependants function argument is
- * called before the memoized selector and is expected to return an immutable
- * reference or array of references on which the selector depends for computing
- * its own return value. The memoize cache is preserved only as long as those
- * dependant references remain the same. If getDependants returns a different
- * reference(s), the cache is cleared and the selector value regenerated.
- *
- * @param {Function} selector      Selector function.
- * @param {Function} getDependants Dependant getter returning an immutable
- *                                 reference or array of reference used in
- *                                 cache bust consideration.
- *
- * @return {Function} Memoized selector.
- */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
-	var rootCache, getCache;
-
-	// Use object source as dependant if getter not provided
-	if ( ! getDependants ) {
-		getDependants = arrayOf;
-	}
-
-	/**
-	 * Returns the root cache. If WeakMap is supported, this is assigned to the
-	 * root WeakMap cache set, otherwise it is a shared instance of the default
-	 * cache object.
-	 *
-	 * @return {(WeakMap|Object)} Root cache object.
-	 */
-	function getRootCache() {
-		return rootCache;
-	}
-
-	/**
-	 * Returns the cache for a given dependants array. When possible, a WeakMap
-	 * will be used to create a unique cache for each set of dependants. This
-	 * is feasible due to the nature of WeakMap in allowing garbage collection
-	 * to occur on entries where the key object is no longer referenced. Since
-	 * WeakMap requires the key to be an object, this is only possible when the
-	 * dependant is object-like. The root cache is created as a hierarchy where
-	 * each top-level key is the first entry in a dependants set, the value a
-	 * WeakMap where each key is the next dependant, and so on. This continues
-	 * so long as the dependants are object-like. If no dependants are object-
-	 * like, then the cache is shared across all invocations.
-	 *
-	 * @see isObjectLike
-	 *
-	 * @param {Array} dependants Selector dependants.
-	 *
-	 * @return {Object} Cache object.
-	 */
-	function getWeakMapCache( dependants ) {
-		var caches = rootCache,
-			isUniqueByDependants = true,
-			i, dependant, map, cache;
-
-		for ( i = 0; i < dependants.length; i++ ) {
-			dependant = dependants[ i ];
-
-			// Can only compose WeakMap from object-like key.
-			if ( ! isObjectLike( dependant ) ) {
-				isUniqueByDependants = false;
-				break;
-			}
-
-			// Does current segment of cache already have a WeakMap?
-			if ( caches.has( dependant ) ) {
-				// Traverse into nested WeakMap.
-				caches = caches.get( dependant );
-			} else {
-				// Create, set, and traverse into a new one.
-				map = new WeakMap();
-				caches.set( dependant, map );
-				caches = map;
-			}
-		}
-
-		// We use an arbitrary (but consistent) object as key for the last item
-		// in the WeakMap to serve as our running cache.
-		if ( ! caches.has( LEAF_KEY ) ) {
-			cache = createCache();
-			cache.isUniqueByDependants = isUniqueByDependants;
-			caches.set( LEAF_KEY, cache );
-		}
-
-		return caches.get( LEAF_KEY );
-	}
-
-	// Assign cache handler by availability of WeakMap
-	getCache = hasWeakMap ? getWeakMapCache : getRootCache;
-
-	/**
-	 * Resets root memoization cache.
-	 */
-	function clear() {
-		rootCache = hasWeakMap ? new WeakMap() : createCache();
-	}
-
-	// eslint-disable-next-line jsdoc/check-param-names
-	/**
-	 * The augmented selector call, considering first whether dependants have
-	 * changed before passing it to underlying memoize function.
-	 *
-	 * @param {Object} source    Source object for derivation.
-	 * @param {...*}   extraArgs Additional arguments to pass to selector.
-	 *
-	 * @return {*} Selector result.
-	 */
-	function callSelector( /* source, ...extraArgs */ ) {
-		var len = arguments.length,
-			cache, node, i, args, dependants;
-
-		// Create copy of arguments (avoid leaking deoptimization).
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}
-
-		dependants = getDependants.apply( null, args );
-		cache = getCache( dependants );
-
-		// If not guaranteed uniqueness by dependants (primitive type or lack
-		// of WeakMap support), shallow compare against last dependants and, if
-		// references have changed, destroy cache to recalculate result.
-		if ( ! cache.isUniqueByDependants ) {
-			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
-				cache.clear();
-			}
-
-			cache.lastDependants = dependants;
-		}
-
-		node = cache.head;
-		while ( node ) {
-			// Check whether node arguments match arguments
-			if ( ! isShallowEqual( node.args, args, 1 ) ) {
-				node = node.next;
-				continue;
-			}
-
-			// At this point we can assume we've found a match
-
-			// Surface matched node to head if not already
-			if ( node !== cache.head ) {
-				// Adjust siblings to point to each other.
-				node.prev.next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}
-
-				node.next = cache.head;
-				node.prev = null;
-				cache.head.prev = node;
-				cache.head = node;
-			}
-
-			// Return immediately
-			return node.val;
-		}
-
-		// No cached value found. Continue to insertion phase:
-
-		node = {
-			// Generate the result from original function
-			val: selector.apply( null, args ),
-		};
-
-		// Avoid including the source object in the cache.
-		args[ 0 ] = null;
-		node.args = args;
-
-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
-
-		// Shift existing head down list
-		if ( cache.head ) {
-			cache.head.prev = node;
-			node.next = cache.head;
-		}
-
-		cache.head = node;
-
-		return node.val;
-	}
-
-	callSelector.getDependants = getDependants;
-	callSelector.clear = clear;
-	clear();
+ * 			icon: moreIcon,
+ * 		},
+ * 		__( 'My sidebar title' )
+ * 	)
+ * }
+ * ```
+ *
+ * @example
+ * ```jsx
+ * // Using ESNext syntax
+ * import { __ } from '@wordpress/i18n';
+ * import { PluginSidebarMoreMenuItem } from '@wordpress/edit-post';
+ * import { more } from '@wordpress/icons';
+ *
+ * const MySidebarMoreMenuItem = () => (
+ * 	<PluginSidebarMoreMenuItem
+ * 		target="my-sidebar"
+ * 		icon={ more }
+ * 	>
+ * 		{ __( 'My sidebar title' ) }
+ * 	</PluginSidebarMoreMenuItem>
+ * );
+ * ```
+ *
+ * @return {WPComponent} The component to be rendered.
+ */

-	return callSelector;
-});
+function PluginSidebarMoreMenuItem(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaMoreMenuItem // Menu item is marked with unstable prop for backward compatibility.
+  // @see https://github.com/WordPress/gutenberg/issues/14457
+  , _extends({
+    __unstableExplicitMenuItem: true,
+    scope: "core/edit-post"
+  }, props));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-post/build-module/index.js

-/***/ }),

-/***/ "tI+e":
-/***/ (function(module, exports) {
+/**
+ * WordPress dependencies
+ */

-(function() { module.exports = window["wp"]["components"]; }());

-/***/ }),

-/***/ "w95h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (close);
-

-/***/ }),

-/***/ "wduq":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Reinitializes the editor after the user chooses to reboot the editor after
+ * an unhandled error occurs, replacing previously mounted editor element using
+ * an initial state from prior to the crash.
+ *
+ * @param {Object}  postType     Post type of the post to edit.
+ * @param {Object}  postId       ID of the post to edit.
+ * @param {Element} target       DOM node in which editor is rendered.
+ * @param {?Object} settings     Editor settings object.
+ * @param {Object}  initialEdits Programmatic edits to apply initially, to be
+ *                               considered as non-user-initiated (bypass for
+ *                               unsaved changes prompt).
  */

-const wordpress = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "-2 -2 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (wordpress);
-
-
-/***/ }),
+function reinitializeEditor(postType, postId, target, settings, initialEdits) {
+  (0,external_wp_element_namespaceObject.unmountComponentAtNode)(target);
+  const reboot = reinitializeEditor.bind(null, postType, postId, target, settings, initialEdits);
+  (0,external_wp_element_namespaceObject.render)((0,external_wp_element_namespaceObject.createElement)(editor, {
+    settings: settings,
+    onError: reboot,
+    postId: postId,
+    postType: postType,
+    initialEdits: initialEdits,
+    recovery: true
+  }), target);
+}
+/**
+ * Initializes and returns an instance of Editor.
+ *
+ * @param {string}  id           Unique identifier for editor instance.
+ * @param {string}  postType     Post type of the post to edit.
+ * @param {Object}  postId       ID of the post to edit.
+ * @param {?Object} settings     Editor settings object.
+ * @param {Object}  initialEdits Programmatic edits to apply initially, to be
+ *                               considered as non-user-initiated (bypass for
+ *                               unsaved changes prompt).
+ */

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function initializeEditor(id, postType, postId, settings, initialEdits) {
+  // Prevent adding template part in the post editor.
+  // Only add the filter when the post editor is initialized, not imported.
+  (0,external_wp_hooks_namespaceObject.addFilter)('blockEditor.__unstableCanInsertBlockType', 'removeTemplatePartsFromInserter', (can, blockType) => {
+    if (!(0,external_wp_data_namespaceObject.select)(store_store).isEditingTemplate() && blockType.name === 'core/template-part') {
+      return false;
+    }

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
+    return can;
+  });
+  const target = document.getElementById(id);
+  const reboot = reinitializeEditor.bind(null, postType, postId, target, settings, initialEdits);
+  (0,external_wp_data_namespaceObject.dispatch)(store).setFeatureDefaults('core/edit-post', {
+    fixedToolbar: false,
+    welcomeGuide: true,
+    fullscreenMode: true,
+    showIconLabels: false,
+    themeStyles: true,
+    showBlockBreadcrumbs: true,
+    welcomeGuideTemplate: true
+  });

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
+  (0,external_wp_data_namespaceObject.dispatch)(external_wp_blocks_namespaceObject.store).__experimentalReapplyBlockTypeFilters();

-    return target;
-  };
+  (0,external_wp_blockLibrary_namespaceObject.registerCoreBlocks)();

-  return _extends.apply(this, arguments);
-}
+  if (false) {} // Show a console log warning if the browser is not in Standards rendering mode.

-/***/ }),

-/***/ "xrib":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  const documentMode = document.compatMode === 'CSS1Compat' ? 'Standards' : 'Quirks';

-"use strict";
-/* WEBPACK VAR INJECTION */(function(process) {/* unused harmony export Fill */
-/* unused harmony export Slot */
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("tI+e");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("K9lf");
-/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_plugins__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("TvNi");
-/* harmony import */ var _wordpress_plugins__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_plugins__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("1ZqX");
-/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__);
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("Z23Y");
-/* harmony import */ var _wordpress_warning__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_warning__WEBPACK_IMPORTED_MODULE_5__);
-/* harmony import */ var _preferences_modal_options__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("Y5n4");
-/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("T40v");
+  if (documentMode !== 'Standards') {
+    // eslint-disable-next-line no-console
+    console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening <!DOCTYPE html>. Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins.");
+  } // This is a temporary fix for a couple of issues specific to Webkit on iOS.
+  // Without this hack the browser scrolls the mobile toolbar off-screen.
+  // Once supported in Safari we can replace this in favor of preventScroll.
+  // For details see issue #18632 and PR #18686
+  // Specifically, we scroll `interface-interface-skeleton__body` to enable a fixed top toolbar.
+  // But Mobile Safari forces the `html` element to scroll upwards, hiding the toolbar.


-/**
- * Defines as extensibility slot for the Settings sidebar
- */
+  const isIphone = window.navigator.userAgent.indexOf('iPhone') !== -1;

-/**
- * WordPress dependencies
- */
+  if (isIphone) {
+    window.addEventListener('scroll', event => {
+      const editorScrollContainer = document.getElementsByClassName('interface-interface-skeleton__body')[0];

+      if (event.target === document) {
+        // Scroll element into view by scrolling the editor container by the same amount
+        // that Mobile Safari tried to scroll the html element upwards.
+        if (window.scrollY > 100) {
+          editorScrollContainer.scrollTop = editorScrollContainer.scrollTop + window.scrollY;
+        } // Undo unwanted scroll on html element, but only in the visual editor.


+        if (document.getElementsByClassName('is-mode-visual')[0]) {
+          window.scrollTo(0, 0);
+        }
+      }
+    });
+  }

+  (0,external_wp_element_namespaceObject.render)((0,external_wp_element_namespaceObject.createElement)(editor, {
+    settings: settings,
+    onError: reboot,
+    postId: postId,
+    postType: postType,
+    initialEdits: initialEdits
+  }), target);
+}

-/**
- * Internal dependencies
- */



-const {
-  Fill,
-  Slot
-} = Object(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["createSlotFill"])('PluginDocumentSettingPanel');

-const PluginDocumentSettingFill = _ref => {
-  let {
-    isEnabled,
-    panelName,
-    opened,
-    onToggle,
-    className,
-    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"])(_preferences_modal_options__WEBPACK_IMPORTED_MODULE_6__[/* EnablePluginDocumentSettingPanelOption */ "d"], {
-    label: title,
-    panelName: panelName
-  }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(Fill, null, isEnabled && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_1__["PanelBody"], {
-    className: className,
-    title: title,
-    icon: icon,
-    opened: opened,
-    onToggle: onToggle
-  }, children)));
-};
-/**
- * Renders items below the Status & Availability panel in the Document Sidebar.
- *
- * @param {Object}                props                                 Component properties.
- * @param {string}                [props.name]                          The machine-friendly name for the panel.
- * @param {string}                [props.className]                     An optional class name added to the row.
- * @param {string}                [props.title]                         The title of the panel
- * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.
- *
- * @example
- * ```js
- * // Using ES5 syntax
- * var el = wp.element.createElement;
- * var __ = wp.i18n.__;
- * var registerPlugin = wp.plugins.registerPlugin;
- * var PluginDocumentSettingPanel = wp.editPost.PluginDocumentSettingPanel;
- *
- * function MyDocumentSettingPlugin() {
- * 	return el(
- * 		PluginDocumentSettingPanel,
- * 		{
- * 			className: 'my-document-setting-plugin',
- * 			title: 'My Panel',
- * 		},
- * 		__( 'My Document Setting Panel' )
- * 	);
- * }
- *
- * registerPlugin( 'my-document-setting-plugin', {
- * 		render: MyDocumentSettingPlugin
- * } );
- * ```
- *
- * @example
- * ```jsx
- * // Using ESNext syntax
- * import { registerPlugin } from '@wordpress/plugins';
- * import { PluginDocumentSettingPanel } from '@wordpress/edit-post';
- *
- * const MyDocumentSettingTest = () => (
- * 		<PluginDocumentSettingPanel className="my-document-setting-plugin" title="My Panel">
- *			<p>My Document Setting Panel</p>
- *		</PluginDocumentSettingPanel>
- *	);
- *
- *  registerPlugin( 'document-setting-test', { render: MyDocumentSettingTest } );
- * ```
- *
- * @return {WPComponent} The component to be rendered.
- */


-const PluginDocumentSettingPanel = Object(_wordpress_compose__WEBPACK_IMPORTED_MODULE_2__["compose"])(Object(_wordpress_plugins__WEBPACK_IMPORTED_MODULE_3__["withPluginContext"])((context, ownProps) => {
-  if (undefined === ownProps.name) {
-    typeof process !== "undefined" && process.env && "production" !== "production" ? _wordpress_warning__WEBPACK_IMPORTED_MODULE_5___default()('PluginDocumentSettingPanel requires a name property.') : void 0;
-  }

-  return {
-    icon: ownProps.icon || context.icon,
-    panelName: `${context.name}/${ownProps.name}`
-  };
-}), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withSelect"])((select, _ref2) => {
-  let {
-    panelName
-  } = _ref2;
-  return {
-    opened: select(_store__WEBPACK_IMPORTED_MODULE_7__[/* store */ "a"]).isEditorPanelOpened(panelName),
-    isEnabled: select(_store__WEBPACK_IMPORTED_MODULE_7__[/* store */ "a"]).isEditorPanelEnabled(panelName)
-  };
-}), Object(_wordpress_data__WEBPACK_IMPORTED_MODULE_4__["withDispatch"])((dispatch, _ref3) => {
-  let {
-    panelName
-  } = _ref3;
-  return {
-    onToggle() {
-      return dispatch(_store__WEBPACK_IMPORTED_MODULE_7__[/* store */ "a"]).toggleEditorPanelOpened(panelName);
-    }

-  };
-}))(PluginDocumentSettingFill);
-PluginDocumentSettingPanel.Slot = Slot;
-/* harmony default export */ __webpack_exports__["a"] = (PluginDocumentSettingPanel);

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))

-/***/ })

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).editPost = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/edit-post.min.js b/wp-includes/js/dist/edit-post.min.js
index d8f3fb5688..9f60c06d4a 100644
--- a/wp-includes/js/dist/edit-post.min.js
+++ b/wp-includes/js/dist/edit-post.min.js
@@ -1,7 +1,7 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.editPost=function(e){var t={};function n(c){if(t[c])return t[c].exports;var a=t[c]={i:c,l:!1,exports:{}};return e[c].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,c){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:c})},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 c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(c,a,function(t){return e[t]}.bind(null,a));return c},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="dSQ2")}({"0dt7":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l}));const c="core/edit-post",a="#wp-admin-bar-view a",l="#wp-admin-bar-preview a"},"1ZqX":function(e,t){e.exports=window.wp.data},"1iEr":function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=l},"2gm7":function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=l},"51Zz":function(e,t){e.exports=window.wp.dataControls},"6aBm":function(e,t){e.exports=window.wp.mediaUtils},"8oxB":function(e,t){var n,c,a=e.exports={};function l(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(e){if(n===setTimeout)return setTimeout(e,0);if((n===l||!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:l}catch(e){n=l}try{c="function"==typeof clearTimeout?clearTimeout:o}catch(e){c=o}}();var i,s=[],u=!1,d=-1;function b(){u&&i&&(u=!1,i.length?s=i.concat(s):d=-1,s.length&&m())}function m(){if(!u){var e=r(b);u=!0;for(var t=s.length;t;){for(i=s,s=[];++d<t;)i&&i[d].run();d=-1,t=s.length}i=null,u=!1,function(e){if(c===clearTimeout)return clearTimeout(e);if((c===o||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(e);try{c(e)}catch(t){try{return c.call(null,e)}catch(t){return c.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function O(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new p(e,t)),1!==s.length||u||r(m)},p.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=O,a.addListener=O,a.once=O,a.off=O,a.removeListener=O,a.removeAllListeners=O,a.emit=O,a.prependListener=O,a.prependOnceListener=O,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},Cg8A:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));t.a=l},Civd:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=l},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},"K+tz":function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.a=l},K9lf:function(e,t){e.exports=window.wp.compose},KEfo:function(e,t){e.exports=window.wp.viewport},Mmq9:function(e,t){e.exports=window.wp.url},NWDH:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(a.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=l},OzlF:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(a.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=l},Q4Sy:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=l},QyPg:function(e,t){e.exports=window.wp.blockLibrary},RMJe:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.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=l},RxS6:function(e,t){e.exports=window.wp.keycodes},T40v:function(e,t,n){"use strict";n.d(t,"a",(function(){return we}));var c={};n.r(c),n.d(c,"openGeneralSidebar",(function(){return h})),n.d(c,"closeGeneralSidebar",(function(){return _})),n.d(c,"openModal",(function(){return f})),n.d(c,"closeModal",(function(){return v})),n.d(c,"openPublishSidebar",(function(){return y})),n.d(c,"closePublishSidebar",(function(){return w})),n.d(c,"togglePublishSidebar",(function(){return S})),n.d(c,"toggleEditorPanelEnabled",(function(){return k})),n.d(c,"toggleEditorPanelOpened",(function(){return P})),n.d(c,"removeEditorPanel",(function(){return T})),n.d(c,"toggleFeature",(function(){return x})),n.d(c,"switchEditorMode",(function(){return I})),n.d(c,"togglePinnedPluginItem",(function(){return C})),n.d(c,"hideBlockTypes",(function(){return B})),n.d(c,"updatePreferredStyleVariations",(function(){return N})),n.d(c,"__experimentalUpdateLocalAutosaveInterval",(function(){return M})),n.d(c,"showBlockTypes",(function(){return A})),n.d(c,"setAvailableMetaBoxesPerLocation",(function(){return L})),n.d(c,"requestMetaBoxUpdates",(function(){return R})),n.d(c,"metaBoxUpdatesSuccess",(function(){return D})),n.d(c,"metaBoxUpdatesFailure",(function(){return F})),n.d(c,"__experimentalSetPreviewDeviceType",(function(){return V})),n.d(c,"setIsInserterOpened",(function(){return U})),n.d(c,"setIsListViewOpened",(function(){return G})),n.d(c,"setIsEditingTemplate",(function(){return z})),n.d(c,"__unstableSwitchToTemplateMode",(function(){return H})),n.d(c,"__unstableCreateTemplate",(function(){return q})),n.d(c,"initializeMetaBoxes",(function(){return K}));var a={};n.r(a),n.d(a,"getEditorMode",(function(){return Q})),n.d(a,"isEditorSidebarOpened",(function(){return X})),n.d(a,"isPluginSidebarOpened",(function(){return Z})),n.d(a,"getActiveGeneralSidebarName",(function(){return $})),n.d(a,"getPreferences",(function(){return J})),n.d(a,"getPreference",(function(){return ee})),n.d(a,"isPublishSidebarOpened",(function(){return te})),n.d(a,"isEditorPanelRemoved",(function(){return ne})),n.d(a,"isEditorPanelEnabled",(function(){return ce})),n.d(a,"isEditorPanelOpened",(function(){return ae})),n.d(a,"isModalActive",(function(){return le})),n.d(a,"isFeatureActive",(function(){return oe})),n.d(a,"isPluginItemPinned",(function(){return re})),n.d(a,"getActiveMetaBoxLocations",(function(){return ie})),n.d(a,"isMetaBoxLocationVisible",(function(){return se})),n.d(a,"isMetaBoxLocationActive",(function(){return ue})),n.d(a,"getMetaBoxesPerLocation",(function(){return de})),n.d(a,"getAllMetaBoxes",(function(){return be})),n.d(a,"hasMetaBoxes",(function(){return me})),n.d(a,"isSavingMetaBoxes",(function(){return pe})),n.d(a,"__experimentalGetPreviewDeviceType",(function(){return Oe})),n.d(a,"isInserterOpened",(function(){return je})),n.d(a,"__experimentalGetInsertionPoint",(function(){return Ee})),n.d(a,"isListViewOpened",(function(){return ge})),n.d(a,"isEditingTemplate",(function(){return he})),n.d(a,"areMetaBoxesInitialized",(function(){return _e})),n.d(a,"getEditedPostTemplate",(function(){return fe}));var l=n("1ZqX"),o=n("51Zz"),r=n("YLtl");const i=Object(r.flow)([l.combineReducers,(s={editorMode:"visual",panels:{"post-status":{opened:!0}},hiddenBlockTypes:[],preferredStyleVariations:{},localAutosaveInterval:15},e=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,n=arguments.length>1?arguments[1]:void 0;return e(t,n)})])({panels(e,t){switch(t.type){case"TOGGLE_PANEL_ENABLED":{const{panelName:n}=t;return{...e,[n]:{...e[n],enabled:!Object(r.get)(e,[n,"enabled"],!0)}}}case"TOGGLE_PANEL_OPENED":{const{panelName:n}=t,c=!0===e[n]||Object(r.get)(e,[n,"opened"],!1);return{...e,[n]:{...e[n],opened:!c}}}}return e},editorMode:(e,t)=>"SWITCH_MODE"===t.type?t.mode:e,hiddenBlockTypes(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return Object(r.without)(e,...t.blockNames);case"HIDE_BLOCK_TYPES":return Object(r.union)(e,t.blockNames)}return e},preferredStyleVariations(e,t){switch(t.type){case"UPDATE_PREFERRED_STYLE_VARIATIONS":return t.blockName?t.blockStyle?{...e,[t.blockName]:t.blockStyle}:Object(r.omit)(e,[t.blockName]):e}return e},localAutosaveInterval(e,t){switch(t.type){case"UPDATE_LOCAL_AUTOSAVE_INTERVAL":return t.interval}return e}});var s;const u=Object(l.combineReducers)({isSaving:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REQUEST_META_BOX_UPDATES":return!0;case"META_BOX_UPDATES_SUCCESS":case"META_BOX_UPDATES_FAILURE":return!1;default:return e}},locations: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_META_BOXES_PER_LOCATIONS":return t.metaBoxesPerLocation}return e},initialized:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"META_BOXES_INITIALIZED":return!0}return e}});var d=Object(l.combineReducers)({activeModal: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"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e},metaBoxes:u,preferences:i,publishSidebarActive:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_PUBLISH_SIDEBAR":return!0;case"CLOSE_PUBLISH_SIDEBAR":return!1;case"TOGGLE_PUBLISH_SIDEBAR":return!e}return e},removedPanels:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REMOVE_PANEL":if(!Object(r.includes)(e,t.panelName))return[...e,t.panelName]}return e},deviceType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PREVIEW_DEVICE_TYPE":return t.deviceType}return e},blockInserterPanel: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_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel: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_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e},isEditingTemplate: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_IS_EDITING_TEMPLATE":return t.value}return e}}),b=n("l3Sj"),m=n("U60i"),p=n("gdqT"),O=n("onLe"),j=n("jZUy"),E=n("axFQ"),g=n("jSdM");function*h(e){yield l.controls.dispatch(m.i,"enableComplementaryArea",we.name,e)}function*_(){yield l.controls.dispatch(m.i,"disableComplementaryArea",we.name)}function f(e){return{type:"OPEN_MODAL",name:e}}function v(){return{type:"CLOSE_MODAL"}}function y(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function w(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function S(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function k(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function P(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function T(e){return{type:"REMOVE_PANEL",panelName:e}}function*x(e){yield l.controls.dispatch(m.i.name,"toggleFeature","core/edit-post",e)}function*I(e){yield{type:"SWITCH_MODE",mode:e},"visual"!==e&&(yield l.controls.dispatch(E.store,"clearSelectedBlock"));const t="visual"===e?Object(b.__)("Visual editor selected"):Object(b.__)("Code editor selected");Object(p.speak)(t,"assertive")}function*C(e){const t=yield l.controls.select(m.i,"isItemPinned","core/edit-post",e);yield l.controls.dispatch(m.i,t?"unpinItem":"pinItem","core/edit-post",e)}function B(e){return{type:"HIDE_BLOCK_TYPES",blockNames:Object(r.castArray)(e)}}function N(e,t){return{type:"UPDATE_PREFERRED_STYLE_VARIATIONS",blockName:e,blockStyle:t}}function M(e){return{type:"UPDATE_LOCAL_AUTOSAVE_INTERVAL",interval:e}}function A(e){return{type:"SHOW_BLOCK_TYPES",blockNames:Object(r.castArray)(e)}}function*L(e){yield{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function*R(){yield{type:"REQUEST_META_BOX_UPDATES"},window.tinyMCE&&window.tinyMCE.triggerSave();const e=yield l.controls.select(g.store,"getCurrentPost"),t=[!!e.comment_status&&["comment_status",e.comment_status],!!e.ping_status&&["ping_status",e.ping_status],!!e.sticky&&["sticky",e.sticky],!!e.author&&["post_author",e.author]].filter(Boolean),n=[new window.FormData(document.querySelector(".metabox-base-form")),...(yield l.controls.select(we,"getActiveMetaBoxLocations")).map(e=>new window.FormData((e=>{const t=document.querySelector(`.edit-post-meta-boxes-area.is-${e} .metabox-location-${e}`);return t||document.querySelector("#metaboxes .metabox-location-"+e)})(e)))],c=Object(r.reduce)(n,(e,t)=>{for(const[n,c]of t)e.append(n,c);return e},new window.FormData);t.forEach(e=>{let[t,n]=e;return c.append(t,n)});try{yield Object(o.apiFetch)({url:window._wpMetaBoxUrl,method:"POST",body:c,parse:!1}),yield l.controls.dispatch(we,"metaBoxUpdatesSuccess")}catch{yield l.controls.dispatch(we,"metaBoxUpdatesFailure")}}function D(){return{type:"META_BOX_UPDATES_SUCCESS"}}function F(){return{type:"META_BOX_UPDATES_FAILURE"}}function V(e){return{type:"SET_PREVIEW_DEVICE_TYPE",deviceType:e}}function U(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function G(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}function z(e){return{type:"SET_IS_EDITING_TEMPLATE",value:e}}function*H(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];yield z(!0);const t=yield l.controls.select(we,"isFeatureActive","welcomeGuideTemplate");if(!t){const t=e?Object(b.__)("Custom template created. You're in template mode now."):Object(b.__)("Editing template. Changes made here affect all posts and pages that use the template.");yield l.controls.dispatch(O.store,"createSuccessNotice",t,{type:"snackbar"})}}function*q(e){const t=yield l.controls.dispatch(j.store,"saveEntityRecord","postType","wp_template",e),n=yield l.controls.select(g.store,"getCurrentPost");yield l.controls.dispatch(j.store,"editEntityRecord","postType",n.type,n.id,{template:t.slug})}let W=!1;function*K(){if(!(yield l.controls.select(g.store,"__unstableIsEditorReady")))return;const e=yield l.controls.select(g.store,"getCurrentPostType");if(W)return;window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e),W=!0;let t=yield l.controls.select(g.store,"isSavingPost"),n=yield l.controls.select(g.store,"isAutosavingPost");const c=yield l.controls.select(we,"hasMetaBoxes");return Object(l.subscribe)(()=>{const e=Object(l.select)(g.store).isSavingPost(),a=Object(l.select)(g.store).isAutosavingPost(),o=c&&t&&!e&&!n;t=e,n=a,o&&Object(l.dispatch)(we).requestMetaBoxUpdates()}),{type:"META_BOXES_INITIALIZED"}}var Y=n("pPDe");function Q(e){return ee(e,"editorMode","visual")}const X=Object(l.createRegistrySelector)(e=>()=>{const t=e(m.i).getActiveComplementaryArea("core/edit-post");return Object(r.includes)(["edit-post/document","edit-post/block"],t)}),Z=Object(l.createRegistrySelector)(e=>()=>{const t=e(m.i).getActiveComplementaryArea("core/edit-post");return!!t&&!Object(r.includes)(["edit-post/document","edit-post/block"],t)}),$=Object(l.createRegistrySelector)(e=>()=>e(m.i).getActiveComplementaryArea("core/edit-post"));function J(e){return e.preferences}function ee(e,t,n){const c=J(e)[t];return void 0===c?n:c}function te(e){return e.publishSidebarActive}function ne(e,t){return Object(r.includes)(e.removedPanels,t)}function ce(e,t){const n=ee(e,"panels");return!ne(e,t)&&Object(r.get)(n,[t,"enabled"],!0)}function ae(e,t){const n=ee(e,"panels");return!0===Object(r.get)(n,[t])||!0===Object(r.get)(n,[t,"opened"])}function le(e,t){return e.activeModal===t}const oe=Object(l.createRegistrySelector)(e=>(t,n)=>e(m.i).isFeatureActive("core/edit-post",n)),re=Object(l.createRegistrySelector)(e=>(t,n)=>e(m.i).isItemPinned("core/edit-post",n)),ie=Object(Y.a)(e=>Object.keys(e.metaBoxes.locations).filter(t=>ue(e,t)),e=>[e.metaBoxes.locations]);function se(e,t){return ue(e,t)&&Object(r.some)(de(e,t),t=>{let{id:n}=t;return ce(e,"meta-box-"+n)})}function ue(e,t){const n=de(e,t);return!!n&&0!==n.length}function de(e,t){return e.metaBoxes.locations[t]}const be=Object(Y.a)(e=>Object(r.flatten)(Object(r.values)(e.metaBoxes.locations)),e=>[e.metaBoxes.locations]);function me(e){return ie(e).length>0}function pe(e){return e.metaBoxes.isSaving}function Oe(e){return e.deviceType}function je(e){return!!e.blockInserterPanel}function Ee(e){const{rootClientId:t,insertionIndex:n,filterValue:c}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:n,filterValue:c}}function ge(e){return e.listViewPanel}function he(e){return e.isEditingTemplate}function _e(e){return e.metaBoxes.initialized}const fe=Object(l.createRegistrySelector)(e=>()=>{const t=e(g.store).getEditedPostAttribute("template");if(t){var n;const c=null===(n=e(j.store).getEntityRecords("postType","wp_template",{per_page:-1}))||void 0===n?void 0:n.find(e=>e.slug===t);return c?e(j.store).getEditedEntityRecord("postType","wp_template",c.id):c}const c=e(g.store).getCurrentPost();return c.link?e(j.store).__experimentalGetTemplateForLink(c.link):null});var ve=n("0dt7");const ye={reducer:d,actions:c,selectors:a,controls:o.controls,persist:["preferences"]},we=Object(l.createReduxStore)(ve.a,ye);Object(l.registerStore)(ve.a,ye)},TSYQ:function(e,t,n){var c;
+!function(){var e={4403:function(e,t){var n;
 /*!
   Copyright (c) 2018 Jed Watson.
   Licensed under the MIT License (MIT), see
   http://jedwatson.github.io/classnames
-*/!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var c=arguments[t];if(c){var l=typeof c;if("string"===l||"number"===l)e.push(c);else if(Array.isArray(c)){if(c.length){var o=a.apply(null,c);o&&e.push(o)}}else if("object"===l)if(c.toString===Object.prototype.toString)for(var r in c)n.call(c,r)&&c[r]&&e.push(r);else e.push(c.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(c=function(){return a}.apply(t,[]))||(e.exports=c)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},TvNi:function(e,t){e.exports=window.wp.plugins},U60i:function(e,t,n){"use strict";n.d(t,"b",(function(){return K})),n.d(t,"c",(function(){return G})),n.d(t,"d",(function(){return Y})),n.d(t,"e",(function(){return X})),n.d(t,"h",(function(){return H})),n.d(t,"f",(function(){return $})),n.d(t,"g",(function(){return ee})),n.d(t,"a",(function(){return V})),n.d(t,"i",(function(){return M}));var c={};n.r(c),n.d(c,"enableComplementaryArea",(function(){return y})),n.d(c,"disableComplementaryArea",(function(){return w})),n.d(c,"pinItem",(function(){return k})),n.d(c,"unpinItem",(function(){return P})),n.d(c,"toggleFeature",(function(){return T})),n.d(c,"setFeatureValue",(function(){return x})),n.d(c,"setFeatureDefaults",(function(){return I}));var a={};n.r(a),n.d(a,"getActiveComplementaryArea",(function(){return C})),n.d(a,"isItemPinned",(function(){return B})),n.d(a,"isFeatureActive",(function(){return N}));var l=n("wx14"),o=n("GRId"),r=n("TSYQ"),i=n.n(r),s=n("tI+e"),u=n("1ZqX"),d=n("l3Sj"),b=n("RMJe"),m=n("URob"),p=n("Xxwi"),O=n("KEfo"),j=n("bWcr"),E=n("YLtl");const g=Object(u.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:c}=t;return{...e,[n]:{...e[n],...c}}}return e}}),h=Object(u.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:c,value:a}=t;return{...e,[n]:{...e[n],[c]:a}}}return e}}),_=Object(u.combineReducers)({singleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:c,item:a}=arguments.length>1?arguments[1]:void 0;return"SET_SINGLE_ENABLE_ITEM"===t&&n&&c?{...e,[n]:{...e[n],[c]:a||null}}:e},multipleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:c,item:a,isEnable:l}=arguments.length>1?arguments[1]:void 0;if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!c||!a||Object(E.get)(e,[n,c,a])===l)return e;const o=e[n]||{},r=o[c]||{};return{...e,[n]:{...o,[c]:{...r,[a]:l||!1}}}}});var f=Object(u.combineReducers)({enableItems:_,preferenceDefaults:g,preferences:h});function v(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function y(e,t){return v("complementaryArea",e,t)}function w(e){return v("complementaryArea",e,void 0)}function S(e,t,n,c){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:c}}function k(e,t){return S("pinnedItems",e,t,!0)}function P(e,t){return S("pinnedItems",e,t,!1)}function T(e,t){return function(n){let{select:c,dispatch:a}=n;const l=c.isFeatureActive(e,t);a.setFeatureValue(e,t,!l)}}function x(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function I(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function C(e,t){return function(e,t,n){return Object(E.get)(e.enableItems.singleEnableItems,[t,n])}(e,"complementaryArea",t)}function B(e,t,n){return!1!==function(e,t,n,c){return Object(E.get)(e.enableItems.multipleEnableItems,[t,n,c])}(e,"pinnedItems",t,n)}function N(e,t,n){var c,a;const l=null===(c=e.preferences.features[t])||void 0===c?void 0:c[n];return!!(void 0!==l?l:null===(a=e.preferenceDefaults.features[t])||void 0===a?void 0:a[n])}const M=Object(u.createReduxStore)("core/interface",{reducer:f,actions:c,selectors:a,persist:["enableItems","preferences"],__experimentalUseThunks:!0});Object(u.registerStore)("core/interface",{reducer:f,actions:c,selectors:a,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var A=n("TvNi"),L=Object(A.withPluginContext)((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`}));var R=L((function(e){let{as:t=s.Button,scope:n,identifier:c,icon:a,selectedIcon:r,...i}=e;const d=t,b=Object(u.useSelect)(e=>e(M).getActiveComplementaryArea(n)===c,[c]),{enableComplementaryArea:m,disableComplementaryArea:p}=Object(u.useDispatch)(M);return Object(o.createElement)(d,Object(l.a)({icon:r&&b?r:a,onClick:()=>{b?p(n):m(n,c)}},Object(E.omit)(i,["name"])))}));var D=e=>{let{smallScreenTitle:t,children:n,className:c,toggleButtonProps:a}=e;const r=Object(o.createElement)(R,Object(l.a)({icon:j.a},a));return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&Object(o.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),r),Object(o.createElement)("div",{className:i()("components-panel__header","interface-complementary-area-header",c),tabIndex:-1},n,r))};function F(e){let{name:t,as:n=s.Button,onClick:c,...a}=e;return Object(o.createElement)(s.Fill,{name:t},e=>{let{onClick:t}=e;return Object(o.createElement)(n,Object(l.a)({onClick:c||t?function(){(c||E.noop)(...arguments),(t||E.noop)(...arguments)}:void 0},a))})}F.Slot=function(e){let{name:t,as:n=s.ButtonGroup,fillProps:c={},bubblesVirtually:a,...l}=e;return Object(o.createElement)(s.Slot,{name:t,bubblesVirtually:a,fillProps:c},e=>{if(Object(E.isEmpty)(o.Children.toArray(e)))return null;const t=[];o.Children.forEach(e,e=>{let{props:{__unstableExplicitMenuItem:n,__unstableTarget:c}}=e;c&&n&&t.push(c)});const c=o.Children.map(e,e=>!e.props.__unstableExplicitMenuItem&&t.includes(e.props.__unstableTarget)?null:e);return Object(o.createElement)(n,l,c)})};var V=F;const U=e=>Object(o.createElement)(s.MenuItem,Object(E.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function G(e){let{scope:t,target:n,__unstableExplicitMenuItem:c,...a}=e;return Object(o.createElement)(R,Object(l.a)({as:e=>Object(o.createElement)(V,Object(l.a)({__unstableExplicitMenuItem:c,__unstableTarget:`${t}/${n}`,as:U,name:t+"/plugin-more-menu"},e)),role:"menuitemcheckbox",selectedIcon:b.a,name:n,scope:t},a))}function z(e){let{scope:t,...n}=e;return Object(o.createElement)(s.Fill,Object(l.a)({name:"PinnedItems/"+t},n))}z.Slot=function(e){let{scope:t,className:n,...c}=e;return Object(o.createElement)(s.Slot,Object(l.a)({name:"PinnedItems/"+t},c),e=>!Object(E.isEmpty)(e)&&Object(o.createElement)("div",{className:i()(n,"interface-pinned-items")},e))};var H=z;function q(e){let{scope:t,children:n,className:c}=e;return Object(o.createElement)(s.Fill,{name:"ComplementaryArea/"+t},Object(o.createElement)("div",{className:c},n))}const W=L((function(e){let{children:t,className:n,closeLabel:c=Object(d.__)("Close plugin"),identifier:a,header:l,headerClassName:r,icon:j,isPinnable:E=!0,panelClassName:g,scope:h,name:_,smallScreenTitle:f,title:v,toggleShortcut:y,isActiveByDefault:w,showIconLabels:S=!1}=e;const{isActive:k,isPinned:P,activeArea:T,isSmall:x,isLarge:I}=Object(u.useSelect)(e=>{const{getActiveComplementaryArea:t,isItemPinned:n}=e(M),c=t(h);return{isActive:c===a,isPinned:n(h,a),activeArea:c,isSmall:e(O.store).isViewportMatch("< medium"),isLarge:e(O.store).isViewportMatch("large")}},[a,h]);!function(e,t,n,c,a){const l=Object(o.useRef)(!1),r=Object(o.useRef)(!1),{enableComplementaryArea:i,disableComplementaryArea:s}=Object(u.useDispatch)(M);Object(o.useEffect)(()=>{c&&a&&!l.current?(s(e),r.current=!0):r.current&&!a&&l.current?(r.current=!1,i(e,t)):r.current&&n&&n!==t&&(r.current=!1),a!==l.current&&(l.current=a)},[c,a,e,t,n])}(h,a,T,k,x);const{enableComplementaryArea:C,disableComplementaryArea:B,pinItem:N,unpinItem:A}=Object(u.useDispatch)(M);return Object(o.useEffect)(()=>{w&&void 0===T&&!x&&C(h,a)},[T,w,h,a,x]),Object(o.createElement)(o.Fragment,null,E&&Object(o.createElement)(H,{scope:h},P&&Object(o.createElement)(R,{scope:h,identifier:a,isPressed:k&&(!S||I),"aria-expanded":k,label:v,icon:S?b.a:j,showTooltip:!S,variant:S?"tertiary":void 0})),_&&E&&Object(o.createElement)(G,{target:_,scope:h,icon:j},v),k&&Object(o.createElement)(q,{className:i()("interface-complementary-area",n),scope:h},Object(o.createElement)(D,{className:r,closeLabel:c,onClose:()=>B(h),smallScreenTitle:f,toggleButtonProps:{label:c,shortcut:y,scope:h,identifier:a}},l||Object(o.createElement)(o.Fragment,null,Object(o.createElement)("strong",null,v),E&&Object(o.createElement)(s.Button,{className:"interface-complementary-area__pin-unpin-item",icon:P?m.a:p.a,label:P?Object(d.__)("Unpin from toolbar"):Object(d.__)("Pin to toolbar"),onClick:()=>(P?A:N)(h,a),isPressed:P,"aria-expanded":P}))),Object(o.createElement)(s.Panel,{className:g},t)))}));W.Slot=function(e){let{scope:t,...n}=e;return Object(o.createElement)(s.Slot,Object(l.a)({name:"ComplementaryArea/"+t},n))};var K=W;var Y=e=>{let{isActive:t}=e;return Object(o.useEffect)(()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}},[]),Object(o.useEffect)(()=>(t?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{t&&document.body.classList.remove("is-fullscreen-mode")}),[t]),null},Q=n("K9lf");var X=Object(o.forwardRef)((function(e,t){let{footer:n,header:c,sidebar:a,secondarySidebar:r,notices:u,content:b,drawer:m,actions:p,labels:O,className:j,shortcuts:E}=e;const g=Object(s.__unstableUseNavigateRegions)(E);!function(e){Object(o.useEffect)(()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}},[e])}("interface-interface-skeleton__html-container");const h={...{drawer:Object(d.__)("Drawer"),header:Object(d.__)("Header"),body:Object(d.__)("Content"),secondarySidebar:Object(d.__)("Block Library"),sidebar:Object(d.__)("Settings"),actions:Object(d.__)("Publish"),footer:Object(d.__)("Footer")},...O};return Object(o.createElement)("div",Object(l.a)({},g,{ref:Object(Q.useMergeRefs)([t,g.ref]),className:i()(j,"interface-interface-skeleton",g.className,!!n&&"has-footer")}),!!m&&Object(o.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":h.drawer,tabIndex:"-1"},m),Object(o.createElement)("div",{className:"interface-interface-skeleton__editor"},!!c&&Object(o.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":h.header,tabIndex:"-1"},c),Object(o.createElement)("div",{className:"interface-interface-skeleton__body"},!!r&&Object(o.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":h.secondarySidebar,tabIndex:"-1"},r),!!u&&Object(o.createElement)("div",{className:"interface-interface-skeleton__notices"},u),Object(o.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":h.body,tabIndex:"-1"},b),!!a&&Object(o.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":h.sidebar,tabIndex:"-1"},a),!!p&&Object(o.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":h.actions,tabIndex:"-1"},p))),!!n&&Object(o.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":h.footer,tabIndex:"-1"},n))})),Z=n("VKE3");function $(e){let{as:t=s.DropdownMenu,className:n,label:c=Object(d.__)("Options"),popoverProps:a,toggleProps:l,children:r}=e;return Object(o.createElement)(t,{className:i()("interface-more-menu-dropdown",n),icon:Z.a,label:c,popoverProps:{position:"bottom left",...a,className:i()("interface-more-menu-dropdown__content",null==a?void 0:a.className)},toggleProps:{tooltipPosition:"bottom",...l}},e=>r(e))}var J=n("gdqT");function ee(e){let{scope:t,label:n,info:c,messageActivated:a,messageDeactivated:l,shortcut:r,feature:i}=e;const m=Object(u.useSelect)(e=>e(M).isFeatureActive(t,i),[i]),{toggleFeature:p}=Object(u.useDispatch)(M);return Object(o.createElement)(s.MenuItem,{icon:m&&b.a,isSelected:m,onClick:()=>{p(t,i),m?Object(J.speak)(l||Object(d.__)("Feature deactivated")):Object(J.speak)(a||Object(d.__)("Feature activated"))},role:"menuitemcheckbox",info:c,shortcut:r},n)}},URob:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.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=l},VKE3:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=l},Xxwi:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.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=l},Y5n4:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return E})),n.d(t,"e",(function(){return h})),n.d(t,"b",(function(){return _}));var c=n("GRId"),a=n("l3Sj"),l=n("tI+e"),o=n("1ZqX"),r=n("jSdM");var i=function(e){let{help:t,label:n,isChecked:a,onChange:o,children:r}=e;return Object(c.createElement)("div",{className:"edit-post-preferences-modal__option"},Object(c.createElement)(l.ToggleControl,{help:t,label:n,checked:a,onChange:o}),r)};function s(e){let{willEnable:t}=e;const[n,o]=Object(c.useState)(!1);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("p",{className:"edit-post-preferences-modal__custom-fields-confirmation-message"},Object(a.__)("A page reload is required for this change. Make sure your content is saved before reloading.")),Object(c.createElement)(l.Button,{className:"edit-post-preferences-modal__custom-fields-confirmation-button",variant:"secondary",isBusy:n,disabled:n,onClick:()=>{o(!0),document.getElementById("toggle-custom-fields-form").submit()}},t?Object(a.__)("Enable & Reload"):Object(a.__)("Disable & Reload")))}var u=Object(o.withSelect)(e=>({areCustomFieldsEnabled:!!e(r.store).getEditorSettings().enableCustomFields}))((function(e){let{label:t,areCustomFieldsEnabled:n}=e;const[a,l]=Object(c.useState)(n);return Object(c.createElement)(i,{label:t,isChecked:a,onChange:l},a!==n&&Object(c.createElement)(s,{willEnable:a}))})),d=n("K9lf"),b=n("T40v"),m=Object(d.compose)(Object(o.withSelect)((e,t)=>{let{panelName:n}=t;const{isEditorPanelEnabled:c,isEditorPanelRemoved:a}=e(b.a);return{isRemoved:a(n),isChecked:c(n)}}),Object(d.ifCondition)(e=>{let{isRemoved:t}=e;return!t}),Object(o.withDispatch)((e,t)=>{let{panelName:n}=t;return{onChange:()=>e(b.a).toggleEditorPanelEnabled(n)}}))(i);const{Fill:p,Slot:O}=Object(l.createSlotFill)("EnablePluginDocumentSettingPanelOption"),j=e=>{let{label:t,panelName:n}=e;return Object(c.createElement)(p,null,Object(c.createElement)(m,{label:t,panelName:n}))};j.Slot=O;var E=j,g=n("KEfo"),h=Object(d.compose)(Object(o.withSelect)(e=>({isChecked:e(r.store).isPublishSidebarEnabled()})),Object(o.withDispatch)(e=>{const{enablePublishSidebar:t,disablePublishSidebar:n}=e(r.store);return{onChange:e=>e?t():n()}}),Object(g.ifViewportMatches)("medium"))(i),_=Object(d.compose)(Object(o.withSelect)((e,t)=>{let{featureName:n}=t;const{isFeatureActive:c}=e(b.a);return{isChecked:c(n)}}),Object(o.withDispatch)((e,t)=>{let{featureName:n}=t;return{onChange:()=>e(b.a).toggleFeature(n)}}))(i)},YLtl:function(e,t){e.exports=window.lodash},Z23Y:function(e,t){e.exports=window.wp.warning},axFQ:function(e,t){e.exports=window.wp.blockEditor},bWcr:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=l},cjQ8:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.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=l},dSQ2:function(e,t,n){"use strict";n.r(t),n.d(t,"reinitializeEditor",(function(){return Yt})),n.d(t,"initializeEditor",(function(){return Qt})),n.d(t,"PluginBlockSettingsMenuItem",(function(){return qt})),n.d(t,"PluginDocumentSettingPanel",(function(){return jt.a})),n.d(t,"PluginMoreMenuItem",(function(){return Wt})),n.d(t,"PluginPostPublishPanel",(function(){return Ct})),n.d(t,"PluginPostStatusInfo",(function(){return et})),n.d(t,"PluginPrePublishPanel",(function(){return At})),n.d(t,"PluginSidebar",(function(){return Et})),n.d(t,"PluginSidebarMoreMenuItem",(function(){return Kt})),n.d(t,"__experimentalFullscreenModeClose",(function(){return me})),n.d(t,"__experimentalMainDashboardButton",(function(){return Ie})),n.d(t,"store",(function(){return S.a}));var c=n("GRId"),a=n("HSyU"),l=n("QyPg"),o=n("1ZqX"),r=n("g56x"),i=n("U60i"),s=n("6aBm");Object(r.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",()=>s.MediaUpload);var u=n("wx14"),d=n("YLtl"),b=n("tI+e"),m=n("axFQ"),p=n("l3Sj"),O=n("K9lf");const j=Object(O.compose)(Object(o.withSelect)((e,t)=>{if(Object(a.hasBlockSupport)(t.name,"multiple",!0))return{};const n=e(m.store).getBlocks(),c=Object(d.find)(n,e=>{let{name:n}=e;return t.name===n});return{originalBlockClientId:c&&c.clientId!==t.clientId&&c.clientId}}),Object(o.withDispatch)((e,t)=>{let{originalBlockClientId:n}=t;return{selectFirst:()=>e(m.store).selectBlock(n)}})),E=Object(O.createHigherOrderComponent)(e=>j(t=>{let{originalBlockClientId:n,selectFirst:l,...o}=t;if(!n)return Object(c.createElement)(e,o);const r=Object(a.getBlockType)(o.name),i=function(e){const t=Object(a.findTransform)(Object(a.getBlockTransforms)("to",e),e=>{let{type:t,blocks:n}=e;return"block"===t&&1===n.length});if(!t)return null;return Object(a.getBlockType)(t.blocks[0])}(o.name);return[Object(c.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},Object(c.createElement)(e,Object(u.a)({key:"block-edit"},o))),Object(c.createElement)(m.Warning,{key:"multiple-use-warning",actions:[Object(c.createElement)(b.Button,{key:"find-original",variant:"secondary",onClick:l},Object(p.__)("Find original")),Object(c.createElement)(b.Button,{key:"remove",variant:"secondary",onClick:()=>o.onReplace([])},Object(p.__)("Remove")),i&&Object(c.createElement)(b.Button,{key:"transform",variant:"secondary",onClick:()=>o.onReplace(Object(a.createBlock)(i.name,o.attributes))},Object(p.__)("Transform into:")," ",i.title)]},Object(c.createElement)("strong",null,null==r?void 0:r.title,": "),Object(p.__)("This block can only be used once."))]}),"withMultipleValidation");Object(r.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",E);var g=n("K+tz"),h=n("TvNi"),_=n("Mmq9"),f=n("onLe"),v=n("jSdM");function y(){const{createNotice:e}=Object(o.useDispatch)(f.store),t=Object(o.useSelect)(e=>()=>e(v.store).getEditedPostAttribute("content"),[]);const n=Object(O.useCopyToClipboard)(t,(function(){e("info",Object(p.__)("All content copied."),{isDismissible:!0,type:"snackbar"})}));return Object(c.createElement)(b.MenuItem,{ref:n},Object(p.__)("Copy all content"))}var w=n("RxS6"),S=n("T40v");var k=Object(o.withDispatch)(e=>{const{openModal:t}=e(S.a);return{openModal:t}})((function(e){let{openModal:t}=e;return Object(c.createElement)(b.MenuItem,{onClick:()=>{t("edit-post/keyboard-shortcut-help")},shortcut:w.displayShortcut.access("h")},Object(p.__)("Keyboard shortcuts"))}));const{Fill:P,Slot:T}=Object(b.createSlotFill)("ToolsMoreMenuGroup");P.Slot=e=>{let{fillProps:t}=e;return Object(c.createElement)(T,{fillProps:t},e=>!Object(d.isEmpty)(e)&&Object(c.createElement)(b.MenuGroup,{label:Object(p.__)("Tools")},e))};var x=P;function I(){const e=Object(o.useSelect)(e=>e(S.a).isEditingTemplate(),[]);return Object(c.createElement)(i.g,{scope:"core/edit-post",feature:e?"welcomeGuideTemplate":"welcomeGuide",label:Object(p.__)("Welcome Guide")})}Object(h.registerPlugin)("edit-post",{render:()=>Object(c.createElement)(c.Fragment,null,Object(c.createElement)(x,null,e=>{let{onClose:t}=e;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(b.MenuItem,{role:"menuitem",href:Object(_.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(p.__)("Manage Reusable blocks")),Object(c.createElement)(k,{onSelect:t}),Object(c.createElement)(I,null),Object(c.createElement)(y,null),Object(c.createElement)(b.MenuItem,{role:"menuitem",icon:g.a,href:Object(p.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(p.__)("Help"),Object(c.createElement)(b.VisuallyHidden,{as:"span"},Object(p.__)("(opens in a new tab)"))))}))});var C=n("jZUy"),B=n("hF7m"),N={"t a l e s o f g u t e n b e r g":e=>{const{ownerDocument:t}=e.target;(t.activeElement.classList.contains("edit-post-visual-editor")||t.activeElement===t.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}},M=n("TSYQ"),A=n.n(M);var L=Object(O.compose)(Object(o.withSelect)(e=>({isRichEditingEnabled:e(v.store).getEditorSettings().richEditingEnabled})),Object(o.withDispatch)(e=>({onExit(){e(S.a).switchEditorMode("visual")}})))((function(e){let{onExit:t,isRichEditingEnabled:n}=e;return Object(c.createElement)("div",{className:"edit-post-text-editor"},n&&Object(c.createElement)("div",{className:"edit-post-text-editor__toolbar"},Object(c.createElement)("h2",null,Object(p.__)("Editing code")),Object(c.createElement)(b.Button,{variant:"tertiary",onClick:t,shortcut:w.displayShortcut.secondary("m")},Object(p.__)("Exit code editor")),Object(c.createElement)(v.TextEditorGlobalKeyboardShortcuts,null)),Object(c.createElement)("div",{className:"edit-post-text-editor__body"},Object(c.createElement)(v.PostTitle,null),Object(c.createElement)(v.PostTextEditor,null)))})),R=n("cjQ8"),D=n("gdqT");var F=function(e){let{onClick:t=d.noop,small:n=!1}=e;const{shortcut:a,areAdvancedSettingsOpened:l}=Object(o.useSelect)(e=>({shortcut:e(B.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),areAdvancedSettingsOpened:"edit-post/block"===e(S.a).getActiveGeneralSidebarName()}),[]),{openGeneralSidebar:r,closeGeneralSidebar:i}=Object(o.useDispatch)(S.a),s=l?Object(p.__)("Hide more settings"):Object(p.__)("Show more settings");return Object(c.createElement)(b.MenuItem,{onClick:()=>{l?(i(),Object(D.speak)(Object(p.__)("Block settings closed"))):(r("edit-post/block"),Object(D.speak)(Object(p.__)("Additional settings are now available in the Editor block settings sidebar"))),t()},shortcut:a},!n&&s)};function V(e){let{children:t,contentRef:n,shouldIframe:a,styles:l,style:o}=e;const r=Object(m.__unstableUseMouseMoveTypingReset)();return a?Object(c.createElement)(m.__unstableIframe,{head:Object(c.createElement)(m.__unstableEditorStyles,{styles:l}),ref:r,contentRef:n,style:{width:"100%",height:"100%",display:"block"},name:"editor-canvas"},t):Object(c.createElement)(c.Fragment,null,Object(c.createElement)(m.__unstableEditorStyles,{styles:l}),Object(c.createElement)(m.WritingFlow,{ref:n,className:"editor-styles-wrapper",style:{flex:"1",...o},tabIndex:-1},t))}function U(e){let{styles:t}=e;const{deviceType:n,isTemplateMode:a,wrapperBlockName:l,wrapperUniqueId:r}=Object(o.useSelect)(e=>{const{isEditingTemplate:t,__experimentalGetPreviewDeviceType:n}=e(S.a),{getCurrentPostId:c,getCurrentPostType:a}=e(v.store),l=t();let o;return"wp_block"===a()?o="core/block":l||(o="core/post-content"),{deviceType:n(),isTemplateMode:l,wrapperBlockName:o,wrapperUniqueId:c()}},[]),i=Object(o.useSelect)(e=>e(S.a).hasMetaBoxes(),[]),s=Object(o.useSelect)(e=>{const{getSettings:t}=e(m.store);return t().supportsLayout},[]),{clearSelectedBlock:u}=Object(o.useDispatch)(m.store),{setIsEditingTemplate:d}=Object(o.useDispatch)(S.a),j={width:"100%",margin:0,display:"flex",flexFlow:"column",background:"white"},E={...j,borderRadius:"2px 2px 0 0",border:"1px solid #ddd",borderBottom:0},g=Object(m.__experimentalUseResizeCanvas)(n,a),h=Object(m.useSetting)("layout"),_="is-"+n.toLowerCase()+"-preview";let f,y=a?E:j;g&&(y=g),i||g||a||(f="40vh");const w=Object(c.useRef)(),k=Object(O.useMergeRefs)([w,Object(m.__unstableUseClipboardHandler)(),Object(m.__unstableUseCanvasClickRedirect)(),Object(m.__unstableUseTypewriter)(),Object(m.__unstableUseTypingObserver)(),Object(m.__unstableUseBlockSelectionClearer)()]),P=Object(m.__unstableUseBlockSelectionClearer)(),[,T]=Object(m.__experimentalUseNoRecursiveRenders)(r,l),x=Object(c.useMemo)(()=>a?{type:"default"}:s?h:void 0,[a,s,h]);return Object(c.createElement)(m.BlockTools,{__unstableContentRef:w,className:A()("edit-post-visual-editor",{"is-template-mode":a})},Object(c.createElement)(v.VisualEditorGlobalKeyboardShortcuts,null),Object(c.createElement)(b.__unstableMotion.div,{className:"edit-post-visual-editor__content-area",animate:{padding:a?"48px 48px 0":"0"},ref:P},a&&Object(c.createElement)(b.Button,{className:"edit-post-visual-editor__exit-template-mode",icon:R.a,onClick:()=>{u(),d(!1)}},Object(p.__)("Back")),Object(c.createElement)(b.__unstableMotion.div,{animate:y,initial:j,className:_},Object(c.createElement)(V,{shouldIframe:a||"Tablet"===n||"Mobile"===n,contentRef:k,styles:t,style:{paddingBottom:f}},s&&!a&&Object(c.createElement)(m.__experimentalLayoutStyle,{selector:".edit-post-visual-editor__post-title-wrapper, .block-editor-block-list__layout.is-root-container",layout:h}),!a&&Object(c.createElement)("div",{className:"edit-post-visual-editor__post-title-wrapper"},Object(c.createElement)(v.PostTitle,null)),Object(c.createElement)(T,null,Object(c.createElement)(m.BlockList,{className:a?"wp-site-blocks":void 0,__experimentalLayout:x}))))),Object(c.createElement)(m.__unstableBlockSettingsMenuFirstItem,null,e=>{let{onClose:t}=e;return Object(c.createElement)(F,{onClick:t})}))}var G=function(){const{getBlockSelectionStart:e}=Object(o.useSelect)(m.store),{getEditorMode:t,isEditorSidebarOpened:n,isListViewOpened:a}=Object(o.useSelect)(S.a),l=Object(o.useSelect)(e=>{const{richEditingEnabled:t,codeEditingEnabled:n}=e(v.store).getEditorSettings();return!t||!n},[]),{switchEditorMode:r,openGeneralSidebar:i,closeGeneralSidebar:s,toggleFeature:u,setIsListViewOpened:d}=Object(o.useDispatch)(S.a),{registerShortcut:b}=Object(o.useDispatch)(B.store);return Object(c.useEffect)(()=>{b({name:"core/edit-post/toggle-mode",category:"global",description:Object(p.__)("Switch between visual editor and code editor."),keyCombination:{modifier:"secondary",character:"m"}}),b({name:"core/edit-post/toggle-fullscreen",category:"global",description:Object(p.__)("Toggle fullscreen mode."),keyCombination:{modifier:"secondary",character:"f"}}),b({name:"core/edit-post/toggle-list-view",category:"global",description:Object(p.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),b({name:"core/edit-post/toggle-sidebar",category:"global",description:Object(p.__)("Show or hide the settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}}),b({name:"core/edit-post/next-region",category:"global",description:Object(p.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),b({name:"core/edit-post/previous-region",category:"global",description:Object(p.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]}),b({name:"core/edit-post/keyboard-shortcuts",category:"main",description:Object(p.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}})},[]),Object(B.useShortcut)("core/edit-post/toggle-mode",()=>{r("visual"===t()?"text":"visual")},{isDisabled:l}),Object(B.useShortcut)("core/edit-post/toggle-fullscreen",()=>{u("fullscreenMode")}),Object(B.useShortcut)("core/edit-post/toggle-sidebar",t=>{if(t.preventDefault(),n())s();else{const t=e()?"edit-post/block":"edit-post/document";i(t)}}),Object(B.useShortcut)("core/edit-post/toggle-list-view",()=>d(!a())),null};const z=[{keyCombination:{modifier:"primary",character:"b"},description:Object(p.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(p.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(p.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(p.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(p.__)("Underline the selected text.")}];function H(e){let{keyCombination:t,forceAriaLabel:n}=e;const a=t.modifier?w.displayShortcutList[t.modifier](t.character):t.character,l=t.modifier?w.shortcutAriaLabel[t.modifier](t.character):t.character;return Object(c.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":n||l},Object(d.castArray)(a).map((e,t)=>"+"===e?Object(c.createElement)(c.Fragment,{key:t},e):Object(c.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help-modal__shortcut-key"},e)))}var q=function(e){let{description:t,keyCombination:n,aliases:a=[],ariaLabel:l}=e;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-description"},t),Object(c.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-term"},Object(c.createElement)(H,{keyCombination:n,forceAriaLabel:l}),a.map((e,t)=>Object(c.createElement)(H,{keyCombination:e,forceAriaLabel:l,key:t}))))};var W=function(e){let{name:t}=e;const{keyCombination:n,description:a,aliases:l}=Object(o.useSelect)(e=>{const{getShortcutKeyCombination:n,getShortcutDescription:c,getShortcutAliases:a}=e(B.store);return{keyCombination:n(t),aliases:a(t),description:c(t)}},[t]);return n?Object(c.createElement)(q,{keyCombination:n,description:a,aliases:l}):null};const K="edit-post/keyboard-shortcut-help",Y=e=>{let{shortcuts:t}=e;return Object(c.createElement)("ul",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-list",role:"list"},t.map((e,t)=>Object(c.createElement)("li",{className:"edit-post-keyboard-shortcut-help-modal__shortcut",key:t},Object(d.isString)(e)?Object(c.createElement)(W,{name:e}):Object(c.createElement)(q,e))))},Q=e=>{let{title:t,shortcuts:n,className:a}=e;return Object(c.createElement)("section",{className:A()("edit-post-keyboard-shortcut-help-modal__section",a)},!!t&&Object(c.createElement)("h2",{className:"edit-post-keyboard-shortcut-help-modal__section-title"},t),Object(c.createElement)(Y,{shortcuts:n}))},X=e=>{let{title:t,categoryName:n,additionalShortcuts:a=[]}=e;const l=Object(o.useSelect)(e=>e(B.store).getCategoryShortcuts(n),[n]);return Object(c.createElement)(Q,{title:t,shortcuts:l.concat(a)})};var Z=Object(O.compose)([Object(o.withSelect)(e=>({isModalActive:e(S.a).isModalActive(K)})),Object(o.withDispatch)((e,t)=>{let{isModalActive:n}=t;const{openModal:c,closeModal:a}=e(S.a);return{toggleModal:()=>n?a():c(K)}})])((function(e){let{isModalActive:t,toggleModal:n}=e;return Object(B.useShortcut)("core/edit-post/keyboard-shortcuts",n),t?Object(c.createElement)(b.Modal,{className:"edit-post-keyboard-shortcut-help-modal",title:Object(p.__)("Keyboard shortcuts"),closeLabel:Object(p.__)("Close"),onRequestClose:n},Object(c.createElement)(Q,{className:"edit-post-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-post/keyboard-shortcuts"]}),Object(c.createElement)(X,{title:Object(p.__)("Global shortcuts"),categoryName:"global"}),Object(c.createElement)(X,{title:Object(p.__)("Selection shortcuts"),categoryName:"selection"}),Object(c.createElement)(X,{title:Object(p.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(p.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(p.__)("Forward-slash")}]}),Object(c.createElement)(Q,{title:Object(p.__)("Text formatting"),shortcuts:z})):null})),$=n("iClF"),J=n("2gm7"),ee=n("1iEr");var te=e=>{let{description:t,title:n,children:a}=e;return Object(c.createElement)("section",{className:"edit-post-preferences-modal__section"},Object(c.createElement)("h2",{className:"edit-post-preferences-modal__section-title"},n),t&&Object(c.createElement)("p",{className:"edit-post-preferences-modal__section-description"},t),a)},ne=n("Y5n4");var ce=Object(o.withSelect)(e=>{const{getEditorSettings:t}=e(v.store),{getAllMetaBoxes:n}=e(S.a);return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:n()}})((function(e){let{areCustomFieldsRegistered:t,metaBoxes:n,...a}=e;const l=Object(d.filter)(n,e=>{let{id:t}=e;return"postcustom"!==t});return t||0!==l.length?Object(c.createElement)(te,a,t&&Object(c.createElement)(ne.a,{label:Object(p.__)("Custom fields")}),Object(d.map)(l,e=>{let{id:t,title:n}=e;return Object(c.createElement)(ne.c,{key:t,label:n,panelName:"meta-box-"+t})})):null}));var ae=function(e){let{blockTypes:t,value:n,onItemChange:a}=e;return Object(c.createElement)("ul",{className:"edit-post-block-manager__checklist"},t.map(e=>Object(c.createElement)("li",{key:e.name,className:"edit-post-block-manager__checklist-item"},Object(c.createElement)(b.CheckboxControl,{label:Object(c.createElement)(c.Fragment,null,e.title,Object(c.createElement)(m.BlockIcon,{icon:e.icon})),checked:n.includes(e.name),onChange:Object(d.partial)(a,e.name)}))))};var le=Object(c.createContext)({});var oe=Object(O.compose)([O.withInstanceId,Object(o.withSelect)(e=>{const{getPreference:t}=e(S.a);return{hiddenBlockTypes:t("hiddenBlockTypes")}}),Object(o.withDispatch)((e,t)=>{const{showBlockTypes:n,hideBlockTypes:c}=e(S.a);return{toggleVisible(e,t){t?n(e):c(e)},toggleAllVisible(e){const a=Object(d.map)(t.blockTypes,"name");e?n(a):c(a)}}})])((function(e){let{instanceId:t,title:n,blockTypes:a,hiddenBlockTypes:l,toggleVisible:o,toggleAllVisible:r}=e;const i=Object(c.useContext)(le),{allowedBlockTypes:s}=i,u=Object(c.useMemo)(()=>!0===s?a:a.filter(e=>{let{name:t}=e;return Object(d.includes)(s||[],t)}),[s,a]);if(!u.length)return null;const m=Object(d.without)(Object(d.map)(u,"name"),...l),p="edit-post-block-manager__category-title-"+t,O=m.length===u.length;let j;return j=O?"true":m.length>0?"mixed":"false",Object(c.createElement)("div",{role:"group","aria-labelledby":p,className:"edit-post-block-manager__category"},Object(c.createElement)(b.CheckboxControl,{checked:O,onChange:r,className:"edit-post-block-manager__category-title","aria-checked":j,label:Object(c.createElement)("span",{id:p},n)}),Object(c.createElement)(ae,{blockTypes:u,value:m,onItemChange:o}))}));var re=Object(o.withSelect)(e=>{const{getBlockTypes:t,getCategories:n,hasBlockSupport:c,isMatchingSearchTerm:l}=e(a.store),{getPreference:o}=e(S.a),r=o("hiddenBlockTypes"),i=Object(d.isArray)(r)&&r.length;return{blockTypes:t(),categories:n(),hasBlockSupport:c,isMatchingSearchTerm:l,numberOfHiddenBlocks:i}})((function(e){let{blockTypes:t,categories:n,hasBlockSupport:a,isMatchingSearchTerm:l,numberOfHiddenBlocks:o}=e;const[r,i]=Object(c.useState)("");return t=t.filter(e=>a(e,"inserter",!0)&&(!r||l(e,r))&&(!e.parent||Object(d.includes)(e.parent,"core/post-content"))),Object(c.createElement)("div",{className:"edit-post-block-manager__content"},!!o&&Object(c.createElement)("div",{className:"edit-post-block-manager__disabled-blocks-count"},Object(p.sprintf)(Object(p._n)("%d block is hidden.","%d blocks are hidden.",o),o)),Object(c.createElement)(b.SearchControl,{label:Object(p.__)("Search for a block"),placeholder:Object(p.__)("Search for a block"),value:r,onChange:e=>i(e),className:"edit-post-block-manager__search"}),Object(c.createElement)("div",{tabIndex:"0",role:"region","aria-label":Object(p.__)("Available block types"),className:"edit-post-block-manager__results"},0===t.length&&Object(c.createElement)("p",{className:"edit-post-block-manager__no-results"},Object(p.__)("No blocks found.")),n.map(e=>Object(c.createElement)(oe,{key:e.slug,title:e.title,blockTypes:Object(d.filter)(t,{category:e.slug})})),Object(c.createElement)(oe,{title:Object(p.__)("Uncategorized"),blockTypes:Object(d.filter)(t,e=>{let{category:t}=e;return!t})})))}));function ie(e){let{as:t=b.Button,path:n,isBack:a=!1,...l}=e;const o=Object(b.__experimentalUseNavigator)();return Object(c.createElement)(t,Object(u.a)({onClick:()=>o.push(n,{isBack:a})},l))}function se(){const e=Object(O.useViewportMatch)("medium"),{closeModal:t}=Object(o.useDispatch)(S.a),{isModalActive:n,isViewable:a}=Object(o.useSelect)(e=>{const{getEditedPostAttribute:t}=e(v.store),{getPostType:n}=e(C.store),c=n(t("type"));return{isModalActive:e(S.a).isModalActive("edit-post/preferences"),isViewable:Object(d.get)(c,["viewable"],!1)}},[]),l=Object(o.useSelect)(t=>{const{getEditorSettings:n}=t(v.store),{getEditorMode:c,isFeatureActive:a}=t(S.a),l=c(),o=n().richEditingEnabled;return!a("reducedUI")&&e&&o&&"visual"===l},[e]),r=Object(c.useMemo)(()=>[{name:"general",tabLabel:Object(p.__)("General"),content:Object(c.createElement)(c.Fragment,null,e&&Object(c.createElement)(te,{title:Object(p.__)("Publishing"),description:Object(p.__)("Change options related to publishing.")},Object(c.createElement)(ne.e,{help:Object(p.__)("Review settings, such as visibility and tags."),label:Object(p.__)("Include pre-publish checklist")})),Object(c.createElement)(te,{title:Object(p.__)("Appearance"),description:Object(p.__)("Customize options related to the block editor interface and editing flow.")},Object(c.createElement)(ne.b,{featureName:"reducedUI",help:Object(p.__)("Compacts options and outlines in the toolbar."),label:Object(p.__)("Reduce the interface")}),Object(c.createElement)(ne.b,{featureName:"focusMode",help:Object(p.__)("Highlights the current block and fades other content."),label:Object(p.__)("Spotlight mode")}),Object(c.createElement)(ne.b,{featureName:"showIconLabels",help:Object(p.__)("Shows text instead of icons."),label:Object(p.__)("Display button labels")}),Object(c.createElement)(ne.b,{featureName:"themeStyles",help:Object(p.__)("Make the editor look like your theme."),label:Object(p.__)("Use theme styles")}),l&&Object(c.createElement)(ne.b,{featureName:"showBlockBreadcrumbs",help:Object(p.__)("Shows block breadcrumbs at the bottom of the editor."),label:Object(p.__)("Display block breadcrumbs")})))},{name:"blocks",tabLabel:Object(p.__)("Blocks"),content:Object(c.createElement)(c.Fragment,null,Object(c.createElement)(te,{title:Object(p.__)("Block interactions"),description:Object(p.__)("Customize how you interact with blocks in the block library and editing canvas.")},Object(c.createElement)(ne.b,{featureName:"mostUsedBlocks",help:Object(p.__)("Places the most frequent blocks in the block library."),label:Object(p.__)("Show most used blocks")}),Object(c.createElement)(ne.b,{featureName:"keepCaretInsideBlock",help:Object(p.__)("Aids screen readers by stopping text caret from leaving blocks."),label:Object(p.__)("Contain text cursor inside block")})),Object(c.createElement)(te,{title:Object(p.__)("Visible blocks"),description:Object(p.__)("Disable blocks that you don't want to appear in the inserter. They can always be toggled back on later.")},Object(c.createElement)(re,null)))},{name:"panels",tabLabel:Object(p.__)("Panels"),content:Object(c.createElement)(c.Fragment,null,Object(c.createElement)(te,{title:Object(p.__)("Document settings"),description:Object(p.__)("Choose what displays in the panel.")},Object(c.createElement)(ne.d.Slot,null),a&&Object(c.createElement)(ne.c,{label:Object(p.__)("Permalink"),panelName:"post-link"}),a&&Object(c.createElement)(ne.c,{label:Object(p.__)("Template"),panelName:"template"}),Object(c.createElement)(v.PostTaxonomies,{taxonomyWrapper:(e,t)=>Object(c.createElement)(ne.c,{label:Object(d.get)(t,["labels","menu_name"]),panelName:"taxonomy-panel-"+t.slug})}),Object(c.createElement)(v.PostFeaturedImageCheck,null,Object(c.createElement)(ne.c,{label:Object(p.__)("Featured image"),panelName:"featured-image"})),Object(c.createElement)(v.PostExcerptCheck,null,Object(c.createElement)(ne.c,{label:Object(p.__)("Excerpt"),panelName:"post-excerpt"})),Object(c.createElement)(v.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(c.createElement)(ne.c,{label:Object(p.__)("Discussion"),panelName:"discussion-panel"})),Object(c.createElement)(v.PageAttributesCheck,null,Object(c.createElement)(ne.c,{label:Object(p.__)("Page attributes"),panelName:"page-attributes"}))),Object(c.createElement)(ce,{title:Object(p.__)("Additional"),description:Object(p.__)("Add extra areas to the editor.")}))}],[a,e,l]),[i,s]=Object(c.useState)("preferences-menu"),{tabs:u,sectionsContentMap:m}=Object(c.useMemo)(()=>r.reduce((e,t)=>{let{name:n,tabLabel:c,content:a}=t;return e.tabs.push({name:n,title:c}),e.sectionsContentMap[n]=a,e},{tabs:[],sectionsContentMap:{}}),[r]),j=Object(c.useCallback)(e=>m[e.name]||null,[m]);if(!n)return null;let E;return E=e?Object(c.createElement)(b.TabPanel,{className:"edit-post-preferences__tabs",tabs:u,initialTabName:"preferences-menu"!==i?i:void 0,onSelect:s,orientation:"vertical"},j):Object(c.createElement)(b.__experimentalNavigatorProvider,{initialPath:"/"},Object(c.createElement)(b.__experimentalNavigatorScreen,{path:"/"},Object(c.createElement)(b.Card,{isBorderless:!0,size:"small"},Object(c.createElement)(b.CardBody,null,Object(c.createElement)(b.__experimentalItemGroup,null,u.map(e=>Object(c.createElement)(ie,{key:e.name,path:e.name,as:b.__experimentalItem,isAction:!0},Object(c.createElement)(b.__experimentalHStack,{justify:"space-between"},Object(c.createElement)(b.FlexItem,null,Object(c.createElement)(b.__experimentalTruncate,null,e.title)),Object(c.createElement)(b.FlexItem,null,Object(c.createElement)($.a,{icon:Object(p.isRTL)()?J.a:ee.a}))))))))),r.map(e=>Object(c.createElement)(b.__experimentalNavigatorScreen,{key:e.name+"-menu",path:e.name},Object(c.createElement)(b.Card,{isBorderless:!0,size:"large"},Object(c.createElement)(b.CardHeader,{isBorderless:!1,justify:"left",size:"small",gap:"6"},Object(c.createElement)(ie,{path:"/",icon:Object(p.isRTL)()?ee.a:J.a,isBack:!0,"aria-label":Object(p.__)("Navigate to the previous view")}),Object(c.createElement)(b.__experimentalText,{size:"16"},e.tabLabel)),Object(c.createElement)(b.CardBody,null,e.content))))),Object(c.createElement)(b.Modal,{className:"edit-post-preferences-modal",title:Object(p.__)("Preferences"),closeLabel:Object(p.__)("Close"),onRequestClose:t},E)}class ue extends c.Component{constructor(){super(...arguments),this.state={historyId:null}}componentDidUpdate(e){const{postId:t,postStatus:n,postType:c,isSavingPost:a}=this.props,{historyId:l}=this.state;"trash"!==n||a?t===e.postId&&t===l||"auto-draft"===n||!t||this.setBrowserURL(t):this.setTrashURL(t,c)}setTrashURL(e,t){window.location.href=function(e,t){return Object(_.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}setBrowserURL(e){window.history.replaceState({id:e},"Post "+e,function(e){return Object(_.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState(()=>({historyId:e}))}render(){return null}}var de=Object(o.withSelect)(e=>{const{getCurrentPost:t,isSavingPost:n}=e(v.store),c=t();let{id:a,status:l,type:o}=c;return["wp_template","wp_template_part"].includes(o)&&(a=c.wp_id),{postId:a,postStatus:l,postType:o,isSavingPost:n()}})(ue),be=n("wduq");var me=function(e){let{showTooltip:t,icon:n,href:a}=e;const{isActive:l,isRequestingSiteIcon:r,postType:i,siteIconUrl:s}=Object(o.useSelect)(e=>{const{getCurrentPostType:t}=e(v.store),{isFeatureActive:n}=e(S.a),{getEntityRecord:c,getPostType:a,isResolving:l}=e(C.store),o=c("root","__unstableBase",void 0)||{};return{isActive:n("fullscreenMode"),isRequestingSiteIcon:l("getEntityRecord",["root","__unstableBase",void 0]),postType:a(t()),siteIconUrl:o.site_icon_url}},[]),u=Object(O.useReducedMotion)();if(!l||!i)return null;let m=Object(c.createElement)(b.Icon,{size:"36px",icon:be.a});const j={expand:{scale:1.7,borderRadius:0,transition:{type:"tween",duration:"0.2"}}};return s&&(m=Object(c.createElement)(b.__unstableMotion.img,{variants:!u&&j,alt:Object(p.__)("Site Icon"),className:"edit-post-fullscreen-mode-close_site-icon",src:s})),r&&(m=null),n&&(m=Object(c.createElement)(b.Icon,{size:"36px",icon:n})),Object(c.createElement)(b.__unstableMotion.div,{whileHover:"expand"},Object(c.createElement)(b.Button,{className:"edit-post-fullscreen-mode-close has-icon",href:null!=a?a:Object(_.addQueryArgs)("edit.php",{post_type:i.slug}),label:Object(d.get)(i,["labels","view_items"],Object(p.__)("Back")),showTooltip:t},m))},pe=n("OzlF"),Oe=n("Q4Sy");const je=e=>{e.preventDefault()};var Ee=function(){const e=Object(c.useRef)(),{setIsInserterOpened:t,setIsListViewOpened:n}=Object(o.useDispatch)(S.a),{isInserterEnabled:a,isInserterOpened:l,isTextModeEnabled:r,showIconLabels:i,isListViewOpen:s,listViewShortcut:u}=Object(o.useSelect)(e=>{const{hasInserterItems:t,getBlockRootClientId:n,getBlockSelectionEnd:c}=e(m.store),{getEditorSettings:a}=e(v.store),{getEditorMode:l,isFeatureActive:o,isListViewOpened:r}=e(S.a),{getShortcutRepresentation:i}=e(B.store);return{isInserterEnabled:"visual"===l()&&a().richEditingEnabled&&t(n(c())),isInserterOpened:e(S.a).isInserterOpened(),isTextModeEnabled:"text"===l(),showIconLabels:o("showIconLabels"),isListViewOpen:r(),listViewShortcut:i("core/edit-post/toggle-list-view")}},[]),d=Object(O.useViewportMatch)("medium"),j=Object(O.useViewportMatch)("wide"),E=Object(p.__)("Document tools"),g=Object(c.useCallback)(()=>n(!s),[n,s]),h=Object(c.createElement)(c.Fragment,null,Object(c.createElement)(b.ToolbarItem,{as:v.TableOfContents,hasOutlineItemsDisabled:r,repositionDropdown:i&&!j,showTooltip:!i,variant:i?"tertiary":void 0}),Object(c.createElement)(b.ToolbarItem,{as:b.Button,className:"edit-post-header-toolbar__list-view-toggle",icon:pe.a,disabled:r,isPressed:s,label:Object(p.__)("List View"),onClick:g,shortcut:u,showTooltip:!i})),_=Object(c.useCallback)(()=>{l?e.current.focus():t(!0)},[l,t]);return Object(c.createElement)(m.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":E},Object(c.createElement)("div",{className:"edit-post-header-toolbar__left"},Object(c.createElement)(b.ToolbarItem,{ref:e,as:b.Button,className:"edit-post-header-toolbar__inserter-toggle",variant:"primary",isPressed:l,onMouseDown:je,onClick:_,disabled:!a,icon:Oe.a,label:Object(p._x)("Toggle block inserter","Generic label for block inserter button"),showTooltip:!i},i&&(l?Object(p.__)("Close"):Object(p.__)("Add"))),(j||!i)&&Object(c.createElement)(c.Fragment,null,d&&Object(c.createElement)(b.ToolbarItem,{as:m.ToolSelector,showTooltip:!i,variant:i?"tertiary":void 0,disabled:r}),Object(c.createElement)(b.ToolbarItem,{as:v.EditorHistoryUndo,showTooltip:!i,variant:i?"tertiary":void 0}),Object(c.createElement)(b.ToolbarItem,{as:v.EditorHistoryRedo,showTooltip:!i,variant:i?"tertiary":void 0}),h)))};const ge=[{value:"visual",label:Object(p.__)("Visual editor")},{value:"text",label:Object(p.__)("Code editor")}];var he=function(){const{shortcut:e,isRichEditingEnabled:t,isCodeEditingEnabled:n,isEditingTemplate:a,mode:l}=Object(o.useSelect)(e=>({shortcut:e(B.store).getShortcutRepresentation("core/edit-post/toggle-mode"),isRichEditingEnabled:e(v.store).getEditorSettings().richEditingEnabled,isCodeEditingEnabled:e(v.store).getEditorSettings().codeEditingEnabled,isEditingTemplate:e(S.a).isEditingTemplate(),mode:e(S.a).getEditorMode()}),[]),{switchEditorMode:r}=Object(o.useDispatch)(S.a);if(a)return null;if(!t||!n)return null;const i=ge.map(t=>t.value!==l?{...t,shortcut:e}:t);return Object(c.createElement)(b.MenuGroup,{label:Object(p.__)("Editor")},Object(c.createElement)(b.MenuItemsChoice,{choices:i,value:l,onSelect:r}))};function _e(){const{openModal:e}=Object(o.useDispatch)(S.a);return Object(c.createElement)(b.MenuItem,{onClick:()=>{e("edit-post/preferences")}},Object(p.__)("Preferences"))}var fe=function(){return Object(O.useViewportMatch)("medium")?Object(c.createElement)(b.MenuGroup,{label:Object(p._x)("View","noun")},Object(c.createElement)(i.g,{scope:"core/edit-post",feature:"fixedToolbar",label:Object(p.__)("Top toolbar"),info:Object(p.__)("Access all block and document tools in a single place"),messageActivated:Object(p.__)("Top toolbar activated"),messageDeactivated:Object(p.__)("Top toolbar deactivated")}),Object(c.createElement)(i.g,{scope:"core/edit-post",feature:"focusMode",label:Object(p.__)("Spotlight mode"),info:Object(p.__)("Focus on one block at a time"),messageActivated:Object(p.__)("Spotlight mode activated"),messageDeactivated:Object(p.__)("Spotlight mode deactivated")}),Object(c.createElement)(i.g,{scope:"core/edit-post",feature:"fullscreenMode",label:Object(p.__)("Fullscreen mode"),info:Object(p.__)("Work without distraction"),messageActivated:Object(p.__)("Fullscreen mode activated"),messageDeactivated:Object(p.__)("Fullscreen mode deactivated"),shortcut:w.displayShortcut.secondary("f")})):null};const ve={className:"edit-post-more-menu__content"};var ye=e=>{let{showIconLabels:t}=e;const n=Object(O.useViewportMatch)("large");return Object(c.createElement)(i.f,{className:"edit-post-more-menu",popoverProps:ve,toggleProps:{showTooltip:!t,...t&&{variant:"tertiary"}}},e=>{let{onClose:a}=e;return Object(c.createElement)(c.Fragment,null,t&&!n&&Object(c.createElement)(i.h.Slot,{className:t&&"show-icon-labels",scope:"core/edit-post"}),Object(c.createElement)(fe,null),Object(c.createElement)(he,null),Object(c.createElement)(i.a.Slot,{name:"core/edit-post/plugin-more-menu",label:Object(p.__)("Plugins"),as:b.MenuGroup,fillProps:{onClick:a}}),Object(c.createElement)(x.Slot,{fillProps:{onClose:a}}),Object(c.createElement)(b.MenuGroup,null,Object(c.createElement)(_e,null)))})};var we=Object(O.compose)(Object(o.withSelect)(e=>({hasPublishAction:Object(d.get)(e(v.store).getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e(v.store).isEditedPostBeingScheduled(),isPending:e(v.store).isCurrentPostPending(),isPublished:e(v.store).isCurrentPostPublished(),isPublishSidebarEnabled:e(v.store).isPublishSidebarEnabled(),isPublishSidebarOpened:e(S.a).isPublishSidebarOpened(),isScheduled:e(v.store).isCurrentPostScheduled()})),Object(o.withDispatch)(e=>{const{togglePublishSidebar:t}=e(S.a);return{togglePublishSidebar:t}}))((function(e){let{forceIsDirty:t,forceIsSaving:n,hasPublishAction:a,isBeingScheduled:l,isPending:o,isPublished:r,isPublishSidebarEnabled:i,isPublishSidebarOpened:s,isScheduled:u,togglePublishSidebar:d,setEntitiesSavedStatesCallback:b}=e;const m=Object(O.useViewportMatch)("medium","<");let p;return p=r||u&&l||o&&!a&&!m?"button":m||i?"toggle":"button",Object(c.createElement)(v.PostPublishButton,{forceIsDirty:t,forceIsSaving:n,isOpen:s,isToggle:"toggle"===p,onToggle:d,setEntitiesSavedStatesCallback:b})}));function Se(){const{hasActiveMetaboxes:e,isPostSaveable:t,isSaving:n,deviceType:a}=Object(o.useSelect)(e=>({hasActiveMetaboxes:e(S.a).hasMetaBoxes(),isSaving:e(S.a).isSavingMetaBoxes(),isPostSaveable:e(v.store).isEditedPostSaveable(),deviceType:e(S.a).__experimentalGetPreviewDeviceType()}),[]),{__experimentalSetPreviewDeviceType:l}=Object(o.useDispatch)(S.a);return Object(c.createElement)(m.__experimentalPreviewOptions,{isEnabled:t,className:"edit-post-post-preview-dropdown",deviceType:a,setDeviceType:l},Object(c.createElement)(b.MenuGroup,null,Object(c.createElement)("div",{className:"edit-post-header-preview__grouping-external"},Object(c.createElement)(v.PostPreviewButton,{className:"edit-post-header-preview__button-external",role:"menuitem",forceIsAutosaveable:e,forcePreviewLink:n?null:void 0,textContent:Object(c.createElement)(c.Fragment,null,Object(p.__)("Preview in new tab"),Object(c.createElement)(b.Icon,{icon:g.a}))}))))}const ke="__experimentalMainDashboardButton",{Fill:Pe,Slot:Te}=Object(b.createSlotFill)(ke),xe=Pe;xe.Slot=e=>{let{children:t}=e;const n=Object(b.__experimentalUseSlot)(ke);return Boolean(n.fills&&n.fills.length)?Object(c.createElement)(Te,{bubblesVirtually:!0}):t};var Ie=xe,Ce=n("NWDH");function Be(){const{clearSelectedBlock:e}=Object(o.useDispatch)(m.store),{setIsEditingTemplate:t}=Object(o.useDispatch)(S.a),{getEditorSettings:n}=Object(o.useSelect)(v.store),{updateEditorSettings:a,editPost:l}=Object(o.useDispatch)(v.store),{deleteEntityRecord:r}=Object(o.useDispatch)(C.store),{template:i}=Object(o.useSelect)(e=>{const{isEditingTemplate:t,getEditedPostTemplate:n}=e(S.a);return{template:t()?n():null}},[]);if(!i||!i.wp_id)return null;let s=i.slug;return null!=i&&i.title&&(s=i.title),Object(c.createElement)(b.MenuGroup,{className:"edit-post-template-top-area__second-menu-group"},Object(c.createElement)(b.MenuItem,{className:"edit-post-template-top-area__delete-template-button",isDestructive:!0,variant:"secondary","aria-label":Object(p.__)("Delete template"),onClick:()=>{if(window.confirm(Object(p.sprintf)(Object(p.__)("Are you sure you want to delete the %s template? It may be used by other pages or posts."),s))){e(),t(!1),l({template:""});const c=n(),o=Object(d.pickBy)(c.availableTemplates,(e,t)=>t!==i.slug);a({...c,availableTemplates:o}),r("postType","wp_template",i.id)}}},Object(p.__)("Delete template")))}function Ne(){const{template:e}=Object(o.useSelect)(e=>{const{getEditedPostTemplate:t}=e(S.a);return{template:t()}},[]),{editEntityRecord:t}=Object(o.useDispatch)(C.store),{getEditorSettings:n}=Object(o.useSelect)(v.store),{updateEditorSettings:a}=Object(o.useDispatch)(v.store);if(e.has_theme_file)return null;let l=Object(p.__)("Default");return null!=e&&e.title?l=e.title:e&&(l=e.slug),Object(c.createElement)(b.TextControl,{label:Object(p.__)("Title"),value:l,help:Object(p.__)('Give the template a title that indicates its purpose, e.g. "Full Width".'),onChange:c=>{const l=n(),o=Object(d.mapValues)(l.availableTemplates,(t,n)=>n!==e.slug?t:c);a({...l,availableTemplates:o}),t("postType","wp_template",e.id,{title:c})}})}function Me(){const{description:e,title:t}=Object(o.useSelect)(e=>{const{getEditedPostTemplate:t}=e(S.a);return{title:t().title,description:t().description}},[]);return e?Object(c.createElement)(c.Fragment,null,Object(c.createElement)(b.__experimentalHeading,{level:4,weight:600},t),Object(c.createElement)(b.__experimentalText,{className:"edit-post-template-details__description",size:"body",as:"p",style:{marginTop:"12px"}},e)):null}var Ae=function(){const{template:e,isEditing:t,title:n}=Object(o.useSelect)(e=>{const{isEditingTemplate:t,getEditedPostTemplate:n}=e(S.a),{getEditedPostAttribute:c}=e(v.store),a=t();return{template:a?n():null,isEditing:a,title:c("title")?c("title"):Object(p.__)("Untitled")}},[]),{clearSelectedBlock:a}=Object(o.useDispatch)(m.store),{setIsEditingTemplate:l}=Object(o.useDispatch)(S.a);if(!t||!e)return null;let r=Object(p.__)("Default");null!=e&&e.title?r=e.title:e&&(r=e.slug);const i=!!(e.custom||e.wp_id||e.description);return Object(c.createElement)("div",{className:"edit-post-template-top-area"},Object(c.createElement)(b.Button,{className:"edit-post-template-post-title",isLink:!0,showTooltip:!0,label:Object(p.sprintf)(Object(p.__)("Edit %s"),n),onClick:()=>{a(),l(!1)}},n),i?Object(c.createElement)(b.Dropdown,{position:"bottom center",contentClassName:"edit-post-template-top-area__popover",renderToggle:e=>{let{onToggle:t}=e;return Object(c.createElement)(b.Button,{className:"edit-post-template-title",isLink:!0,icon:Ce.a,showTooltip:!0,onClick:t,label:Object(p.__)("Template Options")},r)},renderContent:()=>Object(c.createElement)(c.Fragment,null,Object(c.createElement)(Ne,null),Object(c.createElement)(Me,null),Object(c.createElement)(Be,null))}):Object(c.createElement)(b.__experimentalText,{className:"edit-post-template-title",size:"body",style:{lineHeight:"24px"}},r))};var Le=function(e){let{setEntitiesSavedStatesCallback:t}=e;const{hasActiveMetaboxes:n,isPublishSidebarOpened:a,isSaving:l,showIconLabels:r,hasReducedUI:s}=Object(o.useSelect)(e=>({hasActiveMetaboxes:e(S.a).hasMetaBoxes(),isPublishSidebarOpened:e(S.a).isPublishSidebarOpened(),isSaving:e(S.a).isSavingMetaBoxes(),showIconLabels:e(S.a).isFeatureActive("showIconLabels"),hasReducedUI:e(S.a).isFeatureActive("reducedUI")}),[]),u=Object(O.useViewportMatch)("large"),d=A()("edit-post-header",{"has-reduced-ui":s});return Object(c.createElement)("div",{className:d},Object(c.createElement)(Ie.Slot,null,Object(c.createElement)(me,null)),Object(c.createElement)("div",{className:"edit-post-header__toolbar"},Object(c.createElement)(Ee,null),Object(c.createElement)(Ae,null)),Object(c.createElement)("div",{className:"edit-post-header__settings"},!a&&Object(c.createElement)(v.PostSavedState,{forceIsDirty:n,forceIsSaving:l,showIconLabels:r}),Object(c.createElement)(Se,null),Object(c.createElement)(v.PostPreviewButton,{forceIsAutosaveable:n,forcePreviewLink:l?null:void 0}),Object(c.createElement)(we,{forceIsDirty:n,forceIsSaving:l,setEntitiesSavedStatesCallback:t}),(u||!r)&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(i.h.Slot,{scope:"core/edit-post"}),Object(c.createElement)(ye,{showIconLabels:r})),r&&!u&&Object(c.createElement)(ye,{showIconLabels:r})))},Re=n("w95h");function De(){const{insertionPoint:e,showMostUsedBlocks:t}=Object(o.useSelect)(e=>{const{isFeatureActive:t,__experimentalGetInsertionPoint:n}=e(S.a);return{insertionPoint:n(),showMostUsedBlocks:t("mostUsedBlocks")}},[]),{setIsInserterOpened:n}=Object(o.useDispatch)(S.a),a=Object(O.useViewportMatch)("medium","<"),[l,r]=Object(O.__experimentalUseDialog)({onClose:()=>n(!1)});return Object(c.createElement)("div",Object(u.a)({ref:l},r,{className:"edit-post-editor__inserter-panel"}),Object(c.createElement)("div",{className:"edit-post-editor__inserter-panel-header"},Object(c.createElement)(b.Button,{icon:Re.a,onClick:()=>n(!1)})),Object(c.createElement)("div",{className:"edit-post-editor__inserter-panel-content"},Object(c.createElement)(m.__experimentalLibrary,{showMostUsedBlocks:t,showInserterHelpPanel:!0,shouldFocusBlock:a,rootClientId:e.rootClientId,__experimentalInsertionIndex:e.insertionIndex,__experimentalFilterValue:e.filterValue})))}var Fe=n("bWcr");function Ve(){const{setIsListViewOpened:e}=Object(o.useDispatch)(S.a),{clearSelectedBlock:t,selectBlock:n}=Object(o.useDispatch)(m.store);const a=Object(O.useFocusOnMount)("firstElement"),l=Object(O.useFocusReturn)();const r="edit-post-editor__list-view-panel-label-"+Object(O.useInstanceId)(Ve);return Object(c.createElement)("div",{"aria-labelledby":r,className:"edit-post-editor__list-view-panel",onKeyDown:function(t){t.keyCode!==w.ESCAPE||t.defaultPrevented||(t.preventDefault(),e(!1))}},Object(c.createElement)("div",{className:"edit-post-editor__list-view-panel-header"},Object(c.createElement)("strong",{id:r},Object(p.__)("List view")),Object(c.createElement)(b.Button,{icon:Fe.a,label:Object(p.__)("Close list view sidebar"),onClick:()=>e(!1)})),Object(c.createElement)("div",{className:"edit-post-editor__list-view-panel-content",ref:Object(O.useMergeRefs)([l,a])},Object(c.createElement)(m.__experimentalListView,{onSelect:async function(e){await t(),n(e,-1)},showNestedBlocks:!0,__experimentalFeatures:!0,__experimentalPersistentListViewFeatures:!0})))}var Ue=n("Cg8A");var Ge=e=>{let{sidebarName:t}=e;const{openGeneralSidebar:n}=Object(o.useDispatch)(S.a),a=()=>n("edit-post/document"),{documentLabel:l,isTemplateMode:r}=Object(o.useSelect)(e=>({documentLabel:e(v.store).getPostTypeLabel()||Object(p._x)("Document","noun"),isTemplateMode:e(S.a).isEditingTemplate()}),[]),[i,s]="edit-post/document"===t?[Object(p.sprintf)(Object(p.__)("%s (selected)"),l),"is-active"]:[l,""],[u,d]="edit-post/block"===t?[Object(p.__)("Block (selected)"),"is-active"]:[Object(p.__)("Block"),""],[m,O]="edit-post/document"===t?[Object(p.__)("Template (selected)"),"is-active"]:[Object(p.__)("Template"),""];return Object(c.createElement)("ul",null,!r&&Object(c.createElement)("li",null,Object(c.createElement)(b.Button,{onClick:a,className:"edit-post-sidebar__panel-tab "+s,"aria-label":i,"data-label":l},l)),r&&Object(c.createElement)("li",null,Object(c.createElement)(b.Button,{onClick:a,className:"edit-post-sidebar__panel-tab "+O,"aria-label":m,"data-label":Object(p.__)("Template")},Object(p.__)("Template"))),Object(c.createElement)("li",null,Object(c.createElement)(b.Button,{onClick:()=>n("edit-post/block"),className:"edit-post-sidebar__panel-tab "+d,"aria-label":u,"data-label":Object(p.__)("Block")},Object(p.__)("Block"))))};var ze=function(){return Object(c.createElement)(v.PostVisibilityCheck,{render:e=>{let{canEdit:t}=e;return Object(c.createElement)(b.PanelRow,{className:"edit-post-post-visibility"},Object(c.createElement)("span",null,Object(p.__)("Visibility")),!t&&Object(c.createElement)("span",null,Object(c.createElement)(v.PostVisibilityLabel,null)),t&&Object(c.createElement)(b.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(c.createElement)(b.Button,{"aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,variant:"tertiary"},Object(c.createElement)(v.PostVisibilityLabel,null))},renderContent:()=>Object(c.createElement)(v.PostVisibility,null)}))}})};function He(){return Object(c.createElement)(v.PostTrashCheck,null,Object(c.createElement)(b.PanelRow,null,Object(c.createElement)(v.PostTrash,null)))}var qe=function(){const e=Object(c.useRef)();return Object(c.createElement)(v.PostScheduleCheck,null,Object(c.createElement)(b.PanelRow,{className:"edit-post-post-schedule",ref:e},Object(c.createElement)("span",null,Object(p.__)("Publish")),Object(c.createElement)(b.Dropdown,{popoverProps:{anchorRef:e.current},position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(b.Button,{className:"edit-post-post-schedule__toggle",onClick:t,"aria-expanded":n,variant:"tertiary"},Object(c.createElement)(v.PostScheduleLabel,null)))},renderContent:()=>Object(c.createElement)(v.PostSchedule,null)})))};var We=function(){return Object(c.createElement)(v.PostStickyCheck,null,Object(c.createElement)(b.PanelRow,null,Object(c.createElement)(v.PostSticky,null)))};var Ke=function(){return Object(c.createElement)(v.PostAuthorCheck,null,Object(c.createElement)(b.PanelRow,null,Object(c.createElement)(v.PostAuthor,null)))};var Ye=function(){return Object(c.createElement)(v.PostSlugCheck,null,Object(c.createElement)(b.PanelRow,null,Object(c.createElement)(v.PostSlug,null)))};var Qe=function(){return Object(c.createElement)(v.PostFormatCheck,null,Object(c.createElement)(b.PanelRow,null,Object(c.createElement)(v.PostFormat,null)))};var Xe=function(){return Object(c.createElement)(v.PostPendingStatusCheck,null,Object(c.createElement)(b.PanelRow,null,Object(c.createElement)(v.PostPendingStatus,null)))};const{Fill:Ze,Slot:$e}=Object(b.createSlotFill)("PluginPostStatusInfo"),Je=e=>{let{children:t,className:n}=e;return Object(c.createElement)(Ze,null,Object(c.createElement)(b.PanelRow,{className:n},t))};Je.Slot=$e;var et=Je;var tt=Object(O.compose)([Object(o.withSelect)(e=>{const{isEditorPanelRemoved:t,isEditorPanelOpened:n}=e(S.a);return{isRemoved:t("post-status"),isOpened:n("post-status")}}),Object(O.ifCondition)(e=>{let{isRemoved:t}=e;return!t}),Object(o.withDispatch)(e=>({onTogglePanel:()=>e(S.a).toggleEditorPanelOpened("post-status")}))])((function(e){let{isOpened:t,onTogglePanel:n}=e;return Object(c.createElement)(b.PanelBody,{className:"edit-post-post-status",title:Object(p.__)("Status & visibility"),opened:t,onToggle:n},Object(c.createElement)(et.Slot,null,e=>Object(c.createElement)(c.Fragment,null,Object(c.createElement)(ze,null),Object(c.createElement)(qe,null),Object(c.createElement)(Qe,null),Object(c.createElement)(We,null),Object(c.createElement)(Xe,null),Object(c.createElement)(Ye,null),Object(c.createElement)(Ke,null),e,Object(c.createElement)(He,null))))}));var nt=function(){return Object(c.createElement)(v.PostLastRevisionCheck,null,Object(c.createElement)(b.PanelBody,{className:"edit-post-last-revision__panel"},Object(c.createElement)(v.PostLastRevision,null)))};var ct=Object(O.compose)(Object(o.withSelect)((e,t)=>{const n=Object(d.get)(t.taxonomy,["slug"]),c=n?"taxonomy-panel-"+n:"";return{panelName:c,isEnabled:!!n&&e(S.a).isEditorPanelEnabled(c),isOpened:!!n&&e(S.a).isEditorPanelOpened(c)}}),Object(o.withDispatch)((e,t)=>({onTogglePanel:()=>{e(S.a).toggleEditorPanelOpened(t.panelName)}})))((function(e){let{isEnabled:t,taxonomy:n,isOpened:a,onTogglePanel:l,children:o}=e;if(!t)return null;const r=Object(d.get)(n,["labels","menu_name"]);return r?Object(c.createElement)(b.PanelBody,{title:r,opened:a,onToggle:l},o):null}));var at=function(){return Object(c.createElement)(v.PostTaxonomiesCheck,null,Object(c.createElement)(v.PostTaxonomies,{taxonomyWrapper:(e,t)=>Object(c.createElement)(ct,{taxonomy:t},e)}))};const lt=Object(o.withSelect)(e=>{const{getEditedPostAttribute:t}=e(v.store),{getPostType:n}=e(C.store),{isEditorPanelEnabled:c,isEditorPanelOpened:a}=e(S.a);return{postType:n(t("type")),isEnabled:c("featured-image"),isOpened:a("featured-image")}}),ot=Object(o.withDispatch)(e=>{const{toggleEditorPanelOpened:t}=e(S.a);return{onTogglePanel:Object(d.partial)(t,"featured-image")}});var rt=Object(O.compose)(lt,ot)((function(e){let{isEnabled:t,isOpened:n,postType:a,onTogglePanel:l}=e;return t?Object(c.createElement)(v.PostFeaturedImageCheck,null,Object(c.createElement)(b.PanelBody,{title:Object(d.get)(a,["labels","featured_image"],Object(p.__)("Featured image")),opened:n,onToggle:l},Object(c.createElement)(v.PostFeaturedImage,null))):null}));var it=Object(O.compose)([Object(o.withSelect)(e=>({isEnabled:e(S.a).isEditorPanelEnabled("post-excerpt"),isOpened:e(S.a).isEditorPanelOpened("post-excerpt")})),Object(o.withDispatch)(e=>({onTogglePanel:()=>e(S.a).toggleEditorPanelOpened("post-excerpt")}))])((function(e){let{isEnabled:t,isOpened:n,onTogglePanel:a}=e;return t?Object(c.createElement)(v.PostExcerptCheck,null,Object(c.createElement)(b.PanelBody,{title:Object(p.__)("Excerpt"),opened:n,onToggle:a},Object(c.createElement)(v.PostExcerpt,null))):null}));var st=Object(O.compose)([Object(o.withSelect)(e=>{const{isPermalinkEditable:t,getCurrentPost:n,isCurrentPostPublished:c,getPermalinkParts:a,getEditedPostAttribute:l,getEditedPostSlug:o}=e(v.store),{isEditorPanelEnabled:r,isEditorPanelOpened:i}=e(S.a),{getPostType:s}=e(C.store),{link:u}=n(),b=s(l("type")),m=a();return{postLink:u,isEditable:t(),isPublished:c(),isOpened:i("post-link"),isEnabled:r("post-link"),isViewable:Object(d.get)(b,["viewable"],!1),postSlug:Object(_.safeDecodeURIComponent)(o()),postTypeLabel:Object(d.get)(b,["labels","view_item"]),hasPermalinkParts:!!m,permalinkPrefix:null==m?void 0:m.prefix,permalinkSuffix:null==m?void 0:m.suffix}}),Object(O.ifCondition)(e=>{let{isEnabled:t,postLink:n,isViewable:c,hasPermalinkParts:a}=e;return t&&n&&c&&a}),Object(o.withDispatch)(e=>{const{toggleEditorPanelOpened:t}=e(S.a),{editPost:n}=e(v.store);return{onTogglePanel:()=>t("post-link"),editPermalink:e=>{n({slug:e})}}})])((function(e){let{isOpened:t,onTogglePanel:n,isEditable:a,postLink:l,permalinkPrefix:o,permalinkSuffix:r,editPermalink:i,postSlug:s,postTypeLabel:u}=e;const[d,m]=Object(c.useState)(!1);let O,j,E;return a&&(O=o&&Object(c.createElement)("span",{className:"edit-post-post-link__link-prefix"},o),j=s&&Object(c.createElement)("span",{className:"edit-post-post-link__link-post-name"},s),E=r&&Object(c.createElement)("span",{className:"edit-post-post-link__link-suffix"},r)),Object(c.createElement)(b.PanelBody,{title:Object(p.__)("Permalink"),opened:t,onToggle:n},a&&Object(c.createElement)("div",{className:"editor-post-link"},Object(c.createElement)(b.TextControl,{label:Object(p.__)("URL Slug"),value:d?"":s,autoComplete:"off",spellCheck:"false",onChange:e=>{i(e),e?d&&m(!1):d||m(!0)},onBlur:e=>{i(Object(v.cleanForSlug)(e.target.value)),d&&m(!1)}}),Object(c.createElement)("p",null,Object(p.__)("The last part of the URL.")," ",Object(c.createElement)(b.ExternalLink,{href:Object(p.__)("https://wordpress.org/support/article/writing-posts/#post-field-descriptions")},Object(p.__)("Read about permalinks")))),Object(c.createElement)("h3",{className:"edit-post-post-link__preview-label"},u||Object(p.__)("View post")),Object(c.createElement)("div",{className:"edit-post-post-link__preview-link-container"},Object(c.createElement)(b.ExternalLink,{className:"edit-post-post-link__link",href:l,target:"_blank"},a?Object(c.createElement)(c.Fragment,null,O,j,E):l)))}));var ut=Object(O.compose)([Object(o.withSelect)(e=>({isEnabled:e(S.a).isEditorPanelEnabled("discussion-panel"),isOpened:e(S.a).isEditorPanelOpened("discussion-panel")})),Object(o.withDispatch)(e=>({onTogglePanel:()=>e(S.a).toggleEditorPanelOpened("discussion-panel")}))])((function(e){let{isEnabled:t,isOpened:n,onTogglePanel:a}=e;return t?Object(c.createElement)(v.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},Object(c.createElement)(b.PanelBody,{title:Object(p.__)("Discussion"),opened:n,onToggle:a},Object(c.createElement)(v.PostTypeSupportCheck,{supportKeys:"comments"},Object(c.createElement)(b.PanelRow,null,Object(c.createElement)(v.PostComments,null))),Object(c.createElement)(v.PostTypeSupportCheck,{supportKeys:"trackbacks"},Object(c.createElement)(b.PanelRow,null,Object(c.createElement)(v.PostPingbacks,null))))):null}));var dt=function(){const{isEnabled:e,isOpened:t,postType:n}=Object(o.useSelect)(e=>{const{getEditedPostAttribute:t}=e(v.store),{isEditorPanelEnabled:n,isEditorPanelOpened:c}=e(S.a),{getPostType:a}=e(C.store);return{isEnabled:n("page-attributes"),isOpened:c("page-attributes"),postType:a(t("type"))}},[]),{toggleEditorPanelOpened:a}=Object(o.useDispatch)(S.a);if(!e||!n)return null;const l=Object(d.partial)(a,"page-attributes");return Object(c.createElement)(v.PageAttributesCheck,null,Object(c.createElement)(b.PanelBody,{title:Object(d.get)(n,["labels","attributes"],Object(p.__)("Page attributes")),opened:t,onToggle:l},Object(c.createElement)(v.PageAttributesParent,null),Object(c.createElement)(b.PanelRow,null,Object(c.createElement)(v.PageAttributesOrder,null))))};var bt=function(e){let{location:t}=e;const n=Object(c.useRef)(null),a=Object(c.useRef)(null);Object(c.useEffect)(()=>(a.current=document.querySelector(".metabox-location-"+t),a.current&&n.current.appendChild(a.current),()=>{a.current&&document.querySelector("#metaboxes").appendChild(a.current)}),[t]);const l=Object(o.useSelect)(e=>e(S.a).isSavingMetaBoxes(),[]),r=A()("edit-post-meta-boxes-area","is-"+t,{"is-loading":l});return Object(c.createElement)("div",{className:r},l&&Object(c.createElement)(b.Spinner,null),Object(c.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:n}),Object(c.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))};class mt extends c.Component{componentDidMount(){this.updateDOM()}componentDidUpdate(e){this.props.isVisible!==e.isVisible&&this.updateDOM()}updateDOM(){const{id:e,isVisible:t}=this.props,n=document.getElementById(e);n&&(t?n.classList.remove("is-hidden"):n.classList.add("is-hidden"))}render(){return null}}var pt=Object(o.withSelect)((e,t)=>{let{id:n}=t;return{isVisible:e(S.a).isEditorPanelEnabled("meta-box-"+n)}})(mt);function Ot(e){let{location:t}=e;const n=Object(o.useRegistry)(),{metaBoxes:a,areMetaBoxesInitialized:l,isEditorReady:r}=Object(o.useSelect)(e=>{const{__unstableIsEditorReady:n}=e(v.store),{getMetaBoxesPerLocation:c,areMetaBoxesInitialized:a}=e(S.a);return{metaBoxes:c(t),areMetaBoxesInitialized:a(),isEditorReady:n()}},[t]);return Object(c.useEffect)(()=>{r&&!l&&n.dispatch(S.a).initializeMetaBoxes()},[r,l]),l?Object(c.createElement)(c.Fragment,null,Object(d.map)(a,e=>{let{id:t}=e;return Object(c.createElement)(pt,{key:t,id:t})}),Object(c.createElement)(bt,{location:t})):null}var jt=n("xrib");function Et(e){let{className:t,...n}=e;const{postTitle:a,shortcut:l,showIconLabels:r}=Object(o.useSelect)(e=>({postTitle:e(v.store).getEditedPostAttribute("title"),shortcut:e(B.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),showIconLabels:e(S.a).isFeatureActive("showIconLabels")}),[]);return Object(c.createElement)(i.b,Object(u.a)({panelClassName:t,className:"edit-post-sidebar",smallScreenTitle:a||Object(p.__)("(no title)"),scope:"core/edit-post",toggleShortcut:l,showIconLabels:r},n))}var gt=function(){const[e,t]=Object(c.useState)(!1),[n,l]=Object(c.useState)(!1),[r,i]=Object(c.useState)(""),{template:s,supportsTemplateMode:u,defaultTemplate:m}=Object(o.useSelect)(e=>{var t,n;const{getCurrentPostType:c,getEditorSettings:a}=e(v.store),{getPostType:l}=e(C.store),{getEditedPostTemplate:o}=e(S.a),r=null!==(t=null===(n=l(c()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t,i=a().supportsTemplateMode&&r;return{template:i&&o(),supportsTemplateMode:i,defaultTemplate:a().defaultBlockTemplate}},[]),{__unstableCreateTemplate:O,__unstableSwitchToTemplateMode:j}=Object(o.useDispatch)(S.a);if(!u)return null;const E=Object(p.__)("Custom Template");return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("div",{className:"edit-post-template__actions"},!!s&&Object(c.createElement)(b.Button,{variant:"link",onClick:()=>j()},Object(p.__)("Edit")),Object(c.createElement)(b.Button,{variant:"link",onClick:()=>t(!0)},Object(p._x)("New","action"))),e&&Object(c.createElement)(b.Modal,{title:Object(p.__)("Create custom template"),closeLabel:Object(p.__)("Close"),onRequestClose:()=>{t(!1),i("")},overlayClassName:"edit-post-template__modal"},Object(c.createElement)("form",{onSubmit:async function(e){if(e.preventDefault(),n)return;l(!0);const c=null!=m?m:Object(a.serialize)([Object(a.createBlock)("core/group",{tagName:"header",layout:{inherit:!0}},[Object(a.createBlock)("core/site-title"),Object(a.createBlock)("core/site-tagline")]),Object(a.createBlock)("core/separator"),Object(a.createBlock)("core/group",{tagName:"main"},[Object(a.createBlock)("core/group",{layout:{inherit:!0}},[Object(a.createBlock)("core/post-title")]),Object(a.createBlock)("core/post-content",{layout:{inherit:!0}})])]);await O({slug:"wp-custom-template-"+Object(d.kebabCase)(r||E),content:c,title:r||E}),l(!1),t(!1),j(!0)}},Object(c.createElement)(b.Flex,{align:"flex-start",gap:8},Object(c.createElement)(b.FlexItem,null,Object(c.createElement)(b.TextControl,{label:Object(p.__)("Name"),value:r,onChange:i,placeholder:E,disabled:n,help:Object(p.__)('Describe the purpose of the template, e.g. "Full Width". Custom templates can be applied to any post or page.')}))),Object(c.createElement)(b.Flex,{className:"edit-post-template__modal-actions",justify:"flex-end",expanded:!1},Object(c.createElement)(b.FlexItem,null,Object(c.createElement)(b.Button,{variant:"tertiary",onClick:()=>{t(!1),i("")}},Object(p.__)("Cancel"))),Object(c.createElement)(b.FlexItem,null,Object(c.createElement)(b.Button,{variant:"primary",type:"submit",isBusy:n,"aria-disabled":n},Object(p.__)("Create")))))))};var ht=function(){const{isEnabled:e,isOpened:t,selectedTemplate:n,availableTemplates:a,fetchedTemplates:l,isViewable:r,template:i,supportsTemplateMode:s,canUserCreate:u}=Object(o.useSelect)(e=>{var t,n;const{isEditorPanelEnabled:c,isEditorPanelOpened:a,getEditedPostTemplate:l}=e(S.a),{getEditedPostAttribute:o,getEditorSettings:r,getCurrentPostType:i}=e(v.store),{getPostType:s,getEntityRecords:u,canUser:b}=e(C.store),m=i(),p=null!==(t=null===(n=s(m))||void 0===n?void 0:n.viewable)&&void 0!==t&&t,O=e(v.store).getEditorSettings().supportsTemplateMode&&p,j=u("postType","wp_template",{post_type:m,per_page:-1}),E=Object(d.fromPairs)((j||[]).map(e=>{let{slug:t,title:n}=e;return[t,n.rendered]}));return{isEnabled:c("template"),isOpened:a("template"),selectedTemplate:o("template"),availableTemplates:r().availableTemplates,fetchedTemplates:E,template:O&&l(),isViewable:p,supportsTemplateMode:O,canUserCreate:b("create","templates")}},[]),m=Object(c.useMemo)(()=>({...a,...l}),[a,l]),{toggleEditorPanelOpened:O}=Object(o.useDispatch)(S.a),{editPost:j}=Object(o.useDispatch)(v.store);if(!e||!r||Object(d.isEmpty)(a)&&(!s||!u))return null;const E=Object(d.partial)(O,"template");let g=Object(p.__)("Template");var h;return i&&(g=Object(p.sprintf)(Object(p.__)("Template: %s"),null!==(h=null==i?void 0:i.title)&&void 0!==h?h:i.slug)),Object(c.createElement)(b.PanelBody,{title:g,opened:t,onToggle:E},Object(c.createElement)(b.SelectControl,{hideLabelFromVision:!0,label:Object(p.__)("Template:"),value:Object.keys(m).includes(n)?n:"",onChange:e=>{j({template:e||""})},options:Object(d.map)(m,(e,t)=>({value:t,label:e}))}),u&&Object(c.createElement)(gt,null))},_t=n("Civd");var ft=function(){const e=Object(o.useSelect)(e=>{const{getEditedPostTemplate:t}=e(S.a);return t()},[]);return e?Object(c.createElement)(b.PanelBody,null,Object(c.createElement)(b.Flex,{align:"flex-start",gap:"3"},Object(c.createElement)(b.FlexItem,null,Object(c.createElement)($.a,{icon:_t.a})),Object(c.createElement)(b.FlexBlock,null,Object(c.createElement)("h2",{className:"edit-post-template-summary__title"},(null==e?void 0:e.title)||(null==e?void 0:e.slug)),Object(c.createElement)("p",null,null==e?void 0:e.description)))):null};const vt=c.Platform.select({web:!0,native:!1});var yt=()=>{const{sidebarName:e,keyboardShortcut:t,isTemplateMode:n}=Object(o.useSelect)(e=>{let t=e(i.i).getActiveComplementaryArea(S.a.name);["edit-post/document","edit-post/block"].includes(t)||(e(m.store).getBlockSelectionStart()&&(t="edit-post/block"),t="edit-post/document");return{sidebarName:t,keyboardShortcut:e(B.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),isTemplateMode:e(S.a).isEditingTemplate()}},[]);return Object(c.createElement)(Et,{identifier:e,header:Object(c.createElement)(Ge,{sidebarName:e}),closeLabel:Object(p.__)("Close settings"),headerClassName:"edit-post-sidebar__panel-tabs",title:Object(p.__)("Settings"),toggleShortcut:t,icon:Ue.a,isActiveByDefault:vt},!n&&"edit-post/document"===e&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)(tt,null),Object(c.createElement)(ht,null),Object(c.createElement)(jt.a.Slot,null),Object(c.createElement)(nt,null),Object(c.createElement)(st,null),Object(c.createElement)(at,null),Object(c.createElement)(rt,null),Object(c.createElement)(it,null),Object(c.createElement)(ut,null),Object(c.createElement)(dt,null),Object(c.createElement)(Ot,{location:"side"})),n&&"edit-post/document"===e&&Object(c.createElement)(ft,null),"edit-post/block"===e&&Object(c.createElement)(m.BlockInspector,null))};function wt(e){let{nonAnimatedSrc:t,animatedSrc:n}=e;return Object(c.createElement)("picture",{className:"edit-post-welcome-guide__image"},Object(c.createElement)("source",{srcSet:t,media:"(prefers-reduced-motion: reduce)"}),Object(c.createElement)("img",{src:n,width:"312",height:"240",alt:""}))}function St(){const{toggleFeature:e}=Object(o.useDispatch)(S.a);return Object(c.createElement)(b.Guide,{className:"edit-post-welcome-guide",contentLabel:Object(p.__)("Welcome to the block editor"),finishButtonText:Object(p.__)("Get started"),onFinish:()=>e("welcomeGuide"),pages:[{image:Object(c.createElement)(wt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:Object(c.createElement)(c.Fragment,null,Object(c.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(p.__)("Welcome to the block editor")),Object(c.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(p.__)("In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content.")))},{image:Object(c.createElement)(wt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:Object(c.createElement)(c.Fragment,null,Object(c.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(p.__)("Make each block your own")),Object(c.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(p.__)("Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.")))},{image:Object(c.createElement)(wt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:Object(c.createElement)(c.Fragment,null,Object(c.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(p.__)("Get to know the block library")),Object(c.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(c.createInterpolateElement)(Object(p.__)("All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon."),{InserterIconImage:Object(c.createElement)("img",{alt:Object(p.__)("inserter"),src:"data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' rx='2' fill='%231E1E1E'/%3E%3Cpath d='M9.22727 4V14M4 8.77273H14' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A"})})))},{image:Object(c.createElement)(wt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:Object(c.createElement)(c.Fragment,null,Object(c.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(p.__)("Learn how to use the block editor")),Object(c.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(p.__)("New to the block editor? Want to learn more about using it? "),Object(c.createElement)(b.ExternalLink,{href:Object(p.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(p.__)("Here's a detailed guide."))))}]})}function kt(){const{toggleFeature:e}=Object(o.useDispatch)(S.a);return Object(c.createElement)(b.Guide,{className:"edit-post-welcome-guide",contentLabel:Object(p.__)("Welcome to the template editor"),finishButtonText:Object(p.__)("Get started"),onFinish:()=>e("welcomeGuideTemplate"),pages:[{image:Object(c.createElement)(wt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-template-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-template-editor.gif"}),content:Object(c.createElement)(c.Fragment,null,Object(c.createElement)("h1",{className:"edit-post-welcome-guide__heading"},Object(p.__)("Welcome to the template editor")),Object(c.createElement)("p",{className:"edit-post-welcome-guide__text"},Object(p.__)("Templates help define the layout of the site. You can customize all aspects of your posts and pages using blocks and patterns in this editor.")))}]})}function Pt(){const{isActive:e,isTemplateMode:t}=Object(o.useSelect)(e=>{const{isFeatureActive:t,isEditingTemplate:n}=e(S.a),c=n();return{isActive:t(c?"welcomeGuideTemplate":"welcomeGuide"),isTemplateMode:c}},[]);return e?t?Object(c.createElement)(kt,null):Object(c.createElement)(St,null):null}const{Fill:Tt,Slot:xt}=Object(b.createSlotFill)("PluginPostPublishPanel"),It=Object(O.compose)(Object(h.withPluginContext)((e,t)=>({icon:t.icon||e.icon})))(e=>{let{children:t,className:n,title:a,initialOpen:l=!1,icon:o}=e;return Object(c.createElement)(Tt,null,Object(c.createElement)(b.PanelBody,{className:n,initialOpen:l||!a,title:a,icon:o},t))});It.Slot=xt;var Ct=It;const{Fill:Bt,Slot:Nt}=Object(b.createSlotFill)("PluginPrePublishPanel"),Mt=Object(O.compose)(Object(h.withPluginContext)((e,t)=>({icon:t.icon||e.icon})))(e=>{let{children:t,className:n,title:a,initialOpen:l=!1,icon:o}=e;return Object(c.createElement)(Bt,null,Object(c.createElement)(b.PanelBody,{className:n,initialOpen:l||!a,title:a,icon:o},t))});Mt.Slot=Nt;var At=Mt;const{Fill:Lt,Slot:Rt}=Object(b.createSlotFill)("ActionsPanel");function Dt(e){let{setEntitiesSavedStatesCallback:t,closeEntitiesSavedStates:n,isEntitiesSavedStatesOpen:a}=e;const{closePublishSidebar:l,togglePublishSidebar:r}=Object(o.useDispatch)(S.a),{publishSidebarOpened:i,hasActiveMetaboxes:s,isSavingMetaBoxes:u,hasNonPostEntityChanges:d}=Object(o.useSelect)(e=>({publishSidebarOpened:e(S.a).isPublishSidebarOpened(),hasActiveMetaboxes:e(S.a).hasMetaBoxes(),isSavingMetaBoxes:e(S.a).isSavingMetaBoxes(),hasNonPostEntityChanges:e(v.store).hasNonPostEntityChanges()}),[]),m=Object(c.useCallback)(()=>t(!0),[]);let O;return O=i?Object(c.createElement)(v.PostPublishPanel,{onClose:l,forceIsDirty:s,forceIsSaving:u,PrePublishExtension:At.Slot,PostPublishExtension:Ct.Slot}):d?Object(c.createElement)("div",{className:"edit-post-layout__toggle-entities-saved-states-panel"},Object(c.createElement)(b.Button,{variant:"secondary",className:"edit-post-layout__toggle-entities-saved-states-panel-button",onClick:m,"aria-expanded":!1},Object(p.__)("Open save panel"))):Object(c.createElement)("div",{className:"edit-post-layout__toggle-publish-panel"},Object(c.createElement)(b.Button,{variant:"secondary",className:"edit-post-layout__toggle-publish-panel-button",onClick:r,"aria-expanded":!1},Object(p.__)("Open publish panel"))),Object(c.createElement)(c.Fragment,null,a&&Object(c.createElement)(v.EntitiesSavedStates,{close:n}),Object(c.createElement)(Rt,{bubblesVirtually:!0}),!a&&O)}const Ft={secondarySidebar:Object(p.__)("Block library"),header:Object(p.__)("Editor top bar"),body:Object(p.__)("Editor content"),sidebar:Object(p.__)("Editor settings"),actions:Object(p.__)("Editor publish"),footer:Object(p.__)("Editor footer")};var Vt=function(e){let{styles:t}=e;const n=Object(O.useViewportMatch)("medium","<"),a=Object(O.useViewportMatch)("huge",">="),{openGeneralSidebar:l,closeGeneralSidebar:r,setIsInserterOpened:s}=Object(o.useDispatch)(S.a),{mode:u,isFullscreenActive:d,isRichEditingEnabled:j,sidebarIsOpened:E,hasActiveMetaboxes:g,hasFixedToolbar:_,previousShortcut:f,nextShortcut:y,hasBlockSelected:w,isInserterOpened:k,isListViewOpened:P,showIconLabels:T,hasReducedUI:x,showBlockBreadcrumbs:I,isTemplateMode:C,documentLabel:N}=Object(o.useSelect)(e=>{const{getEditorSettings:t,getPostTypeLabel:n}=e(v.store),c=t(),a=n();return{isTemplateMode:e(S.a).isEditingTemplate(),hasFixedToolbar:e(S.a).isFeatureActive("fixedToolbar"),sidebarIsOpened:!(!e(i.i).getActiveComplementaryArea(S.a.name)&&!e(S.a).isPublishSidebarOpened()),isFullscreenActive:e(S.a).isFeatureActive("fullscreenMode"),isInserterOpened:e(S.a).isInserterOpened(),isListViewOpened:e(S.a).isListViewOpened(),mode:e(S.a).getEditorMode(),isRichEditingEnabled:c.richEditingEnabled,hasActiveMetaboxes:e(S.a).hasMetaBoxes(),previousShortcut:e(B.store).getAllShortcutKeyCombinations("core/edit-post/previous-region"),nextShortcut:e(B.store).getAllShortcutKeyCombinations("core/edit-post/next-region"),showIconLabels:e(S.a).isFeatureActive("showIconLabels"),hasReducedUI:e(S.a).isFeatureActive("reducedUI"),showBlockBreadcrumbs:e(S.a).isFeatureActive("showBlockBreadcrumbs"),documentLabel:a||Object(p._x)("Document","noun")}},[]),M=A()("edit-post-layout","is-mode-"+u,{"is-sidebar-opened":E,"has-fixed-toolbar":_,"has-metaboxes":g,"show-icon-labels":T});Object(c.useEffect)(()=>{E&&!a&&s(!1)},[E,a]),Object(c.useEffect)(()=>{k&&!a&&r()},[k,a]);const[R,D]=Object(c.useState)(!1),F=Object(c.useCallback)(e=>{"function"==typeof R&&R(e),D(!1)},[R]);return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(i.d,{isActive:d}),Object(c.createElement)(de,null),Object(c.createElement)(v.UnsavedChangesWarning,null),Object(c.createElement)(v.AutosaveMonitor,null),Object(c.createElement)(v.LocalAutosaveMonitor,null),Object(c.createElement)(G,null),Object(c.createElement)(v.EditorKeyboardShortcutsRegister,null),Object(c.createElement)(yt,null),Object(c.createElement)(i.e,{className:M,labels:Ft,header:Object(c.createElement)(Le,{setEntitiesSavedStatesCallback:D}),secondarySidebar:"visual"===u&&k?Object(c.createElement)(De,null):"visual"===u&&P?Object(c.createElement)(Ve,null):null,sidebar:(!n||E)&&Object(c.createElement)(c.Fragment,null,!n&&!E&&Object(c.createElement)("div",{className:"edit-post-layout__toggle-sidebar-panel"},Object(c.createElement)(b.Button,{variant:"secondary",className:"edit-post-layout__toggle-sidebar-panel-button",onClick:()=>l(w?"edit-post/block":"edit-post/document"),"aria-expanded":!1},w?Object(p.__)("Open block settings"):Object(p.__)("Open document settings"))),Object(c.createElement)(i.b.Slot,{scope:"core/edit-post"})),notices:Object(c.createElement)(v.EditorSnackbars,null),content:Object(c.createElement)(c.Fragment,null,Object(c.createElement)(v.EditorNotices,null),("text"===u||!j)&&Object(c.createElement)(L,null),j&&"visual"===u&&Object(c.createElement)(U,{styles:t}),!C&&Object(c.createElement)("div",{className:"edit-post-layout__metaboxes"},Object(c.createElement)(Ot,{location:"normal"}),Object(c.createElement)(Ot,{location:"advanced"})),n&&E&&Object(c.createElement)(b.ScrollLock,null)),footer:!x&&I&&!n&&j&&"visual"===u&&Object(c.createElement)("div",{className:"edit-post-layout__footer"},Object(c.createElement)(m.BlockBreadcrumb,{rootLabelText:N})),actions:Object(c.createElement)(Dt,{closeEntitiesSavedStates:F,isEntitiesSavedStatesOpen:R,setEntitiesSavedStatesCallback:D}),shortcuts:{previous:f,next:y}}),Object(c.createElement)(se,null),Object(c.createElement)(Z,null),Object(c.createElement)(Pt,null),Object(c.createElement)(b.Popover.Slot,null),Object(c.createElement)(h.PluginArea,null))},Ut=n("0dt7");function Gt(e){let{postId:t}=e;return(e=>{const{hasBlockSelection:t,isEditorSidebarOpened:n}=Object(o.useSelect)(e=>({hasBlockSelection:!!e(m.store).getBlockSelectionStart(),isEditorSidebarOpened:e(Ut.a).isEditorSidebarOpened()}),[e]),{openGeneralSidebar:a}=Object(o.useDispatch)(Ut.a);Object(c.useEffect)(()=>{n&&a(t?"edit-post/block":"edit-post/document")},[t,n])})(t),(e=>{const{newPermalink:t}=Object(o.useSelect)(e=>({newPermalink:e(v.store).getCurrentPost().link}),[e]),n=Object(c.useRef)();Object(c.useEffect)(()=>{n.current=document.querySelector(Ut.c)||document.querySelector(Ut.b)},[e]),Object(c.useEffect)(()=>{t&&n.current&&n.current.setAttribute("href",t)},[t])})(t),null}var zt=function(e){let{postId:t,postType:n,settings:l,initialEdits:r,onError:i,...s}=e;const{hasFixedToolbar:m,focusMode:p,hasReducedUI:O,hasThemeStyles:j,post:E,preferredStyleVariations:g,hiddenBlockTypes:h,blockTypes:_,__experimentalLocalAutosaveInterval:f,keepCaretInsideBlock:y,isTemplateMode:w,template:k}=Object(o.useSelect)(e=>{var c,l;const{isFeatureActive:o,getPreference:r,__experimentalGetPreviewDeviceType:i,isEditingTemplate:s,getEditedPostTemplate:u}=e(S.a),{getEntityRecord:d,getPostType:b,getEntityRecords:m}=e(C.store),{getEditorSettings:p}=e(v.store),{getBlockTypes:O}=e(a.store);let j;if(["wp_template","wp_template_part"].includes(n)){const e=m("postType",n,{wp_id:t});j=null==e?void 0:e[0]}else j=d("postType",n,t);const E=p().supportsTemplateMode,g=null!==(c=null===(l=b(n))||void 0===l?void 0:l.viewable)&&void 0!==c&&c;return{hasFixedToolbar:o("fixedToolbar")||"Desktop"!==i(),focusMode:o("focusMode"),hasReducedUI:o("reducedUI"),hasThemeStyles:o("themeStyles"),preferredStyleVariations:r("preferredStyleVariations"),hiddenBlockTypes:r("hiddenBlockTypes"),blockTypes:O(),__experimentalLocalAutosaveInterval:r("localAutosaveInterval"),keepCaretInsideBlock:o("keepCaretInsideBlock"),isTemplateMode:s(),template:E&&g?u():null,post:j}},[n,t]),{updatePreferredStyleVariations:P,setIsInserterOpened:T}=Object(o.useDispatch)(S.a),x=Object(c.useMemo)(()=>{const e={...l,__experimentalPreferredStyleVariations:{value:g,onChange:P},hasFixedToolbar:m,focusMode:p,hasReducedUI:O,__experimentalLocalAutosaveInterval:f,__experimentalSetIsInserterOpened:T,keepCaretInsideBlock:y};if(Object(d.size)(h)>0){const t=!0===l.allowedBlockTypes?Object(d.map)(_,"name"):l.allowedBlockTypes||[];e.allowedBlockTypes=Object(d.without)(t,...h)}return e},[l,m,p,O,h,_,g,f,T,P,y]),I=Object(c.useMemo)(()=>{const e=[],t=[];l.styles.forEach(n=>{n.__unstableType&&"theme"!==n.__unstableType?t.push(n):e.push(n)});const n=[...l.defaultEditorStyles,...t];return j&&e.length?l.styles:n},[l,j]);return E?Object(c.createElement)(c.StrictMode,null,Object(c.createElement)(B.ShortcutProvider,null,Object(c.createElement)(le.Provider,{value:l},Object(c.createElement)(b.SlotFillProvider,null,Object(c.createElement)(v.EditorProvider,Object(u.a)({settings:x,post:E,initialEdits:r,useSubRegistry:!1,__unstableTemplate:w?k:void 0},s),Object(c.createElement)(v.ErrorBoundary,{onError:i},Object(c.createElement)(Gt,{postId:t}),Object(c.createElement)(Vt,{styles:I}),Object(c.createElement)(b.KeyboardShortcuts,{shortcuts:N})),Object(c.createElement)(v.PostLockedModal,null)))))):null};const Ht=(e,t)=>{return!Array.isArray(t)||(n=e,c=t,0===Object(d.difference)(n,c).length);var n,c};var qt=e=>{let{allowedBlocks:t,icon:n,label:a,onClick:l,small:o,role:r}=e;return Object(c.createElement)(m.BlockSettingsMenuControls,null,e=>{let{selectedBlocks:i,onClose:s}=e;return Ht(i,t)?Object(c.createElement)(b.MenuItem,{onClick:Object(O.compose)(l,s),icon:n,label:o?a:void 0,role:r},!o&&a):null})},Wt=Object(O.compose)(Object(h.withPluginContext)((e,t)=>({icon:t.icon||e.icon,name:"core/edit-post/plugin-more-menu"})))(i.a);function Kt(e){return Object(c.createElement)(i.c,Object(u.a)({__unstableExplicitMenuItem:!0,scope:"core/edit-post"},e))}function Yt(e,t,n,a,l){Object(c.unmountComponentAtNode)(n);const o=Yt.bind(null,e,t,n,a,l);Object(c.render)(Object(c.createElement)(zt,{settings:a,onError:o,postId:t,postType:e,initialEdits:l,recovery:!0}),n)}function Qt(e,t,n,s,u){Object(r.addFilter)("blockEditor.__unstableCanInsertBlockType","removeTemplatePartsFromInserter",(e,t)=>!(!Object(o.select)(S.a).isEditingTemplate()&&"core/template-part"===t.name)&&e);const d=document.getElementById(e),b=Yt.bind(null,t,n,d,s,u);Object(o.dispatch)(i.i).setFeatureDefaults("core/edit-post",{fixedToolbar:!1,welcomeGuide:!0,fullscreenMode:!0,showIconLabels:!1,themeStyles:!0,showBlockBreadcrumbs:!0,welcomeGuideTemplate:!0}),Object(o.dispatch)(a.store).__experimentalReapplyBlockTypeFilters(),Object(l.registerCoreBlocks)();"Standards"!==("CSS1Compat"===document.compatMode?"Standards":"Quirks")&&console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening <!DOCTYPE html>. Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins.");-1!==window.navigator.userAgent.indexOf("iPhone")&&window.addEventListener("scroll",e=>{const t=document.getElementsByClassName("interface-interface-skeleton__body")[0];e.target===document&&(window.scrollY>100&&(t.scrollTop=t.scrollTop+window.scrollY),document.getElementsByClassName("is-mode-visual")[0]&&window.scrollTo(0,0))}),Object(c.render)(Object(c.createElement)(zt,{settings:s,onError:b,postId:n,postType:t,initialEdits:u}),d)}},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},iClF:function(e,t,n){"use strict";var c=n("GRId");t.a=function(e){let{icon:t,size:n=24,...a}=e;return Object(c.cloneElement)(t,{width:n,height:n,...a})}},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},pPDe:function(e,t,n){"use strict";var c,a;function l(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function r(e,t,n){var c;if(e.length!==t.length)return!1;for(c=n;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}c={},a="undefined"!=typeof WeakMap,t.a=function(e,t){var n,i;function s(){n=a?new WeakMap:o()}function u(){var n,c,a,l,o,s=arguments.length;for(l=new Array(s),a=0;a<s;a++)l[a]=arguments[a];for(o=t.apply(null,l),(n=i(o)).isUniqueByDependants||(n.lastDependants&&!r(o,n.lastDependants,0)&&n.clear(),n.lastDependants=o),c=n.head;c;){if(r(c.args,l,1))return c!==n.head&&(c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=n.head,c.prev=null,n.head.prev=c,n.head=c),c.val;c=c.next}return c={val:e.apply(null,l)},l[0]=null,c.args=l,n.head&&(n.head.prev=c,c.next=n.head),n.head=c,c.val}return t||(t=l),i=a?function(e){var t,a,l,r,i,s=n,u=!0;for(t=0;t<e.length;t++){if(a=e[t],!(i=a)||"object"!=typeof i){u=!1;break}s.has(a)?s=s.get(a):(l=new WeakMap,s.set(a,l),s=l)}return s.has(c)||((r=o()).isUniqueByDependants=u,s.set(c,r)),s.get(c)}:function(){return n},u.getDependants=t,u.clear=s,s(),u}},"tI+e":function(e,t){e.exports=window.wp.components},w95h:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(a.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=l},wduq:function(e,t,n){"use strict";var c=n("GRId"),a=n("Tqx9");const l=Object(c.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(c.createElement)(a.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}));t.a=l},wx14:function(e,t,n){"use strict";function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return c}))},xrib:function(e,t,n){"use strict";(function(e){var c=n("GRId"),a=n("tI+e"),l=n("K9lf"),o=n("TvNi"),r=n("1ZqX"),i=(n("Z23Y"),n("Y5n4")),s=n("T40v");const{Fill:u,Slot:d}=Object(a.createSlotFill)("PluginDocumentSettingPanel"),b=Object(l.compose)(Object(o.withPluginContext)((t,n)=>(void 0===n.name&&void 0!==e&&e.env,{icon:n.icon||t.icon,panelName:`${t.name}/${n.name}`})),Object(r.withSelect)((e,t)=>{let{panelName:n}=t;return{opened:e(s.a).isEditorPanelOpened(n),isEnabled:e(s.a).isEditorPanelEnabled(n)}}),Object(r.withDispatch)((e,t)=>{let{panelName:n}=t;return{onToggle:()=>e(s.a).toggleEditorPanelOpened(n)}}))(e=>{let{isEnabled:t,panelName:n,opened:l,onToggle:o,className:r,title:s,icon:d,children:b}=e;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(i.d,{label:s,panelName:n}),Object(c.createElement)(u,null,t&&Object(c.createElement)(a.PanelBody,{className:r,title:s,icon:d,opened:l,onToggle:o},b)))});b.Slot=d,t.a=b}).call(this,n("8oxB"))}});
\ No newline at end of file
+*/!function(){"use strict";var l={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var r=a.apply(null,n);r&&e.push(r)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var i in n)l.call(n,i)&&n[i]&&e.push(i);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()}},t={};function n(l){var a=t[l];if(void 0!==a)return a.exports;var o=t[l]={exports:{}};return e[l](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};!function(){"use strict";n.r(l),n.d(l,{PluginBlockSettingsMenuItem:function(){return Ea},PluginDocumentSettingPanel:function(){return Vl},PluginMoreMenuItem:function(){return ga},PluginPostPublishPanel:function(){return ta},PluginPostStatusInfo:function(){return El},PluginPrePublishPanel:function(){return oa},PluginSidebar:function(){return Ul},PluginSidebarMoreMenuItem:function(){return _a},__experimentalFullscreenModeClose:function(){return Cn},__experimentalMainDashboardButton:function(){return $n},initializeEditor:function(){return ba},reinitializeEditor:function(){return ha},store:function(){return At}});var e={};n.r(e),n.d(e,{disableComplementaryArea:function(){return I},enableComplementaryArea:function(){return C},pinItem:function(){return N},setFeatureDefaults:function(){return O},setFeatureValue:function(){return L},toggleFeature:function(){return A},unpinItem:function(){return M}});var t={};n.r(t),n.d(t,{getActiveComplementaryArea:function(){return D},isFeatureActive:function(){return F},isItemPinned:function(){return R}});var a={};n.r(a),n.d(a,{__experimentalSetPreviewDeviceType:function(){return We},__experimentalUpdateLocalAutosaveInterval:function(){return Fe},__unstableCreateTemplate:function(){return Ye},__unstableSwitchToTemplateMode:function(){return je},closeGeneralSidebar:function(){return ke},closeModal:function(){return Te},closePublishSidebar:function(){return Ce},hideBlockTypes:function(){return De},initializeMetaBoxes:function(){return Qe},metaBoxUpdatesFailure:function(){return He},metaBoxUpdatesSuccess:function(){return ze},openGeneralSidebar:function(){return Se},openModal:function(){return Pe},openPublishSidebar:function(){return xe},removeEditorPanel:function(){return Me},requestMetaBoxUpdates:function(){return Ge},setAvailableMetaBoxesPerLocation:function(){return Ue},setIsEditingTemplate:function(){return Ke},setIsInserterOpened:function(){return $e},setIsListViewOpened:function(){return qe},showBlockTypes:function(){return Ve},switchEditorMode:function(){return Le},toggleEditorPanelEnabled:function(){return Be},toggleEditorPanelOpened:function(){return Ne},toggleFeature:function(){return Ae},togglePinnedPluginItem:function(){return Oe},togglePublishSidebar:function(){return Ie},updatePreferredStyleVariations:function(){return Re}});var o={};n.r(o),n.d(o,{__experimentalGetInsertionPoint:function(){return Tt},__experimentalGetPreviewDeviceType:function(){return kt},areMetaBoxesInitialized:function(){return It},getActiveGeneralSidebarName:function(){return it},getActiveMetaBoxLocations:function(){return ht},getAllMetaBoxes:function(){return yt},getEditedPostTemplate:function(){return Bt},getEditorMode:function(){return at},getMetaBoxesPerLocation:function(){return vt},getPreference:function(){return ct},getPreferences:function(){return st},hasMetaBoxes:function(){return wt},isEditingTemplate:function(){return Ct},isEditorPanelEnabled:function(){return mt},isEditorPanelOpened:function(){return pt},isEditorPanelRemoved:function(){return dt},isEditorSidebarOpened:function(){return ot},isFeatureActive:function(){return gt},isInserterOpened:function(){return Pt},isListViewOpened:function(){return xt},isMetaBoxLocationActive:function(){return ft},isMetaBoxLocationVisible:function(){return bt},isModalActive:function(){return Et},isPluginItemPinned:function(){return _t},isPluginSidebarOpened:function(){return rt},isPublishSidebarOpened:function(){return ut},isSavingMetaBoxes:function(){return St}});var r=window.wp.element,i=window.wp.blocks,s=window.wp.blockLibrary,c=window.wp.data,u=window.wp.hooks;function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e},d.apply(this,arguments)}var m=n(4403),p=n.n(m),E=window.wp.components,g=window.wp.i18n,_=window.wp.primitives;var h=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));var b=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.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"}));var f=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.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"})),v=window.wp.viewport;var y=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),w=window.lodash;const S=(0,c.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:l}=t;return{...e,[n]:{...e[n],...l}}}return e}}),k=(0,c.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:l,value:a}=t;return{...e,[n]:{...e[n],[l]:a}}}return e}}),P=(0,c.combineReducers)({singleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:l,item:a}=arguments.length>1?arguments[1]:void 0;return"SET_SINGLE_ENABLE_ITEM"===t&&n&&l?{...e,[n]:{...e[n],[l]:a||null}}:e},multipleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:l,item:a,isEnable:o}=arguments.length>1?arguments[1]:void 0;if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!l||!a||(0,w.get)(e,[n,l,a])===o)return e;const r=e[n]||{},i=r[l]||{};return{...e,[n]:{...r,[l]:{...i,[a]:o||!1}}}}});var T=(0,c.combineReducers)({enableItems:P,preferenceDefaults:S,preferences:k});function x(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function C(e,t){return x("complementaryArea",e,t)}function I(e){return x("complementaryArea",e,void 0)}function B(e,t,n,l){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:l}}function N(e,t){return B("pinnedItems",e,t,!0)}function M(e,t){return B("pinnedItems",e,t,!1)}function A(e,t){return function(n){let{select:l,dispatch:a}=n;const o=l.isFeatureActive(e,t);a.setFeatureValue(e,t,!o)}}function L(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function O(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function D(e,t){return function(e,t,n){return(0,w.get)(e.enableItems.singleEnableItems,[t,n])}(e,"complementaryArea",t)}function R(e,t,n){return!1!==function(e,t,n,l){return(0,w.get)(e.enableItems.multipleEnableItems,[t,n,l])}(e,"pinnedItems",t,n)}function F(e,t,n){var l,a;const o=null===(l=e.preferences.features[t])||void 0===l?void 0:l[n];return!!(void 0!==o?o:null===(a=e.preferenceDefaults.features[t])||void 0===a?void 0:a[n])}const V="core/interface",U=(0,c.createReduxStore)(V,{reducer:T,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});(0,c.registerStore)(V,{reducer:T,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var G=window.wp.plugins,z=(0,G.withPluginContext)(((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`})));var H=z((function(e){let{as:t=E.Button,scope:n,identifier:l,icon:a,selectedIcon:o,...i}=e;const s=t,u=(0,c.useSelect)((e=>e(U).getActiveComplementaryArea(n)===l),[l]),{enableComplementaryArea:m,disableComplementaryArea:p}=(0,c.useDispatch)(U);return(0,r.createElement)(s,d({icon:o&&u?o:a,onClick:()=>{u?p(n):m(n,l)}},(0,w.omit)(i,["name"])))}));var W=e=>{let{smallScreenTitle:t,children:n,className:l,toggleButtonProps:a}=e;const o=(0,r.createElement)(H,d({icon:y},a));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&(0,r.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),o),(0,r.createElement)("div",{className:p()("components-panel__header","interface-complementary-area-header",l),tabIndex:-1},n,o))};function $(e){let{name:t,as:n=E.Button,onClick:l,...a}=e;return(0,r.createElement)(E.Fill,{name:t},(e=>{let{onClick:t}=e;return(0,r.createElement)(n,d({onClick:l||t?function(){(l||w.noop)(...arguments),(t||w.noop)(...arguments)}:void 0},a))}))}$.Slot=function(e){let{name:t,as:n=E.ButtonGroup,fillProps:l={},bubblesVirtually:a,...o}=e;return(0,r.createElement)(E.Slot,{name:t,bubblesVirtually:a,fillProps:l},(e=>{if((0,w.isEmpty)(r.Children.toArray(e)))return null;const t=[];r.Children.forEach(e,(e=>{let{props:{__unstableExplicitMenuItem:n,__unstableTarget:l}}=e;l&&n&&t.push(l)}));const l=r.Children.map(e,(e=>!e.props.__unstableExplicitMenuItem&&t.includes(e.props.__unstableTarget)?null:e));return(0,r.createElement)(n,o,l)}))};var q=$;const K=e=>(0,r.createElement)(E.MenuItem,(0,w.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function j(e){let{scope:t,target:n,__unstableExplicitMenuItem:l,...a}=e;return(0,r.createElement)(H,d({as:e=>(0,r.createElement)(q,d({__unstableExplicitMenuItem:l,__unstableTarget:`${t}/${n}`,as:K,name:`${t}/plugin-more-menu`},e)),role:"menuitemcheckbox",selectedIcon:h,name:n,scope:t},a))}function Y(e){let{scope:t,...n}=e;return(0,r.createElement)(E.Fill,d({name:`PinnedItems/${t}`},n))}Y.Slot=function(e){let{scope:t,className:n,...l}=e;return(0,r.createElement)(E.Slot,d({name:`PinnedItems/${t}`},l),(e=>!(0,w.isEmpty)(e)&&(0,r.createElement)("div",{className:p()(n,"interface-pinned-items")},e)))};var X=Y;function Q(e){let{scope:t,children:n,className:l}=e;return(0,r.createElement)(E.Fill,{name:`ComplementaryArea/${t}`},(0,r.createElement)("div",{className:l},n))}const Z=z((function(e){let{children:t,className:n,closeLabel:l=(0,g.__)("Close plugin"),identifier:a,header:o,headerClassName:i,icon:s,isPinnable:u=!0,panelClassName:d,scope:m,name:_,smallScreenTitle:y,title:w,toggleShortcut:S,isActiveByDefault:k,showIconLabels:P=!1}=e;const{isActive:T,isPinned:x,activeArea:C,isSmall:I,isLarge:B}=(0,c.useSelect)((e=>{const{getActiveComplementaryArea:t,isItemPinned:n}=e(U),l=t(m);return{isActive:l===a,isPinned:n(m,a),activeArea:l,isSmall:e(v.store).isViewportMatch("< medium"),isLarge:e(v.store).isViewportMatch("large")}}),[a,m]);!function(e,t,n,l,a){const o=(0,r.useRef)(!1),i=(0,r.useRef)(!1),{enableComplementaryArea:s,disableComplementaryArea:u}=(0,c.useDispatch)(U);(0,r.useEffect)((()=>{l&&a&&!o.current?(u(e),i.current=!0):i.current&&!a&&o.current?(i.current=!1,s(e,t)):i.current&&n&&n!==t&&(i.current=!1),a!==o.current&&(o.current=a)}),[l,a,e,t,n])}(m,a,C,T,I);const{enableComplementaryArea:N,disableComplementaryArea:M,pinItem:A,unpinItem:L}=(0,c.useDispatch)(U);return(0,r.useEffect)((()=>{k&&void 0===C&&!I&&N(m,a)}),[C,k,m,a,I]),(0,r.createElement)(r.Fragment,null,u&&(0,r.createElement)(X,{scope:m},x&&(0,r.createElement)(H,{scope:m,identifier:a,isPressed:T&&(!P||B),"aria-expanded":T,label:w,icon:P?h:s,showTooltip:!P,variant:P?"tertiary":void 0})),_&&u&&(0,r.createElement)(j,{target:_,scope:m,icon:s},w),T&&(0,r.createElement)(Q,{className:p()("interface-complementary-area",n),scope:m},(0,r.createElement)(W,{className:i,closeLabel:l,onClose:()=>M(m),smallScreenTitle:y,toggleButtonProps:{label:l,shortcut:S,scope:m,identifier:a}},o||(0,r.createElement)(r.Fragment,null,(0,r.createElement)("strong",null,w),u&&(0,r.createElement)(E.Button,{className:"interface-complementary-area__pin-unpin-item",icon:x?b:f,label:x?(0,g.__)("Unpin from toolbar"):(0,g.__)("Pin to toolbar"),onClick:()=>(x?L:A)(m,a),isPressed:x,"aria-expanded":x}))),(0,r.createElement)(E.Panel,{className:d},t)))}));Z.Slot=function(e){let{scope:t,...n}=e;return(0,r.createElement)(E.Slot,d({name:`ComplementaryArea/${t}`},n))};var J=Z;var ee=e=>{let{isActive:t}=e;return(0,r.useEffect)((()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}}),[]),(0,r.useEffect)((()=>(t?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{t&&document.body.classList.remove("is-fullscreen-mode")})),[t]),null},te=window.wp.compose;var ne=(0,r.forwardRef)((function(e,t){let{footer:n,header:l,sidebar:a,secondarySidebar:o,notices:i,content:s,drawer:c,actions:u,labels:m,className:_,shortcuts:h}=e;const b=(0,E.__unstableUseNavigateRegions)(h);!function(e){(0,r.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");const f={...{drawer:(0,g.__)("Drawer"),header:(0,g.__)("Header"),body:(0,g.__)("Content"),secondarySidebar:(0,g.__)("Block Library"),sidebar:(0,g.__)("Settings"),actions:(0,g.__)("Publish"),footer:(0,g.__)("Footer")},...m};return(0,r.createElement)("div",d({},b,{ref:(0,te.useMergeRefs)([t,b.ref]),className:p()(_,"interface-interface-skeleton",b.className,!!n&&"has-footer")}),!!c&&(0,r.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":f.drawer,tabIndex:"-1"},c),(0,r.createElement)("div",{className:"interface-interface-skeleton__editor"},!!l&&(0,r.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":f.header,tabIndex:"-1"},l),(0,r.createElement)("div",{className:"interface-interface-skeleton__body"},!!o&&(0,r.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":f.secondarySidebar,tabIndex:"-1"},o),!!i&&(0,r.createElement)("div",{className:"interface-interface-skeleton__notices"},i),(0,r.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":f.body,tabIndex:"-1"},s),!!a&&(0,r.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":f.sidebar,tabIndex:"-1"},a),!!u&&(0,r.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":f.actions,tabIndex:"-1"},u))),!!n&&(0,r.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":f.footer,tabIndex:"-1"},n))}));var le=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));function ae(e){let{as:t=E.DropdownMenu,className:n,label:l=(0,g.__)("Options"),popoverProps:a,toggleProps:o,children:i}=e;return(0,r.createElement)(t,{className:p()("interface-more-menu-dropdown",n),icon:le,label:l,popoverProps:{position:"bottom left",...a,className:p()("interface-more-menu-dropdown__content",null==a?void 0:a.className)},toggleProps:{tooltipPosition:"bottom",...o}},(e=>i(e)))}var oe=window.wp.a11y;function re(e){let{scope:t,label:n,info:l,messageActivated:a,messageDeactivated:o,shortcut:i,feature:s}=e;const u=(0,c.useSelect)((e=>e(U).isFeatureActive(t,s)),[s]),{toggleFeature:d}=(0,c.useDispatch)(U);return(0,r.createElement)(E.MenuItem,{icon:u&&h,isSelected:u,onClick:()=>{d(t,s),u?(0,oe.speak)(o||(0,g.__)("Feature deactivated")):(0,oe.speak)(a||(0,g.__)("Feature activated"))},role:"menuitemcheckbox",info:l,shortcut:i},n)}var ie=window.wp.mediaUtils;(0,u.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",(()=>ie.MediaUpload));var se=window.wp.blockEditor;const ce=(0,te.compose)((0,c.withSelect)(((e,t)=>{if((0,i.hasBlockSupport)(t.name,"multiple",!0))return{};const n=e(se.store).getBlocks(),l=(0,w.find)(n,(e=>{let{name:n}=e;return t.name===n}));return{originalBlockClientId:l&&l.clientId!==t.clientId&&l.clientId}})),(0,c.withDispatch)(((e,t)=>{let{originalBlockClientId:n}=t;return{selectFirst:()=>e(se.store).selectBlock(n)}}))),ue=(0,te.createHigherOrderComponent)((e=>ce((t=>{let{originalBlockClientId:n,selectFirst:l,...a}=t;if(!n)return(0,r.createElement)(e,a);const o=(0,i.getBlockType)(a.name),s=function(e){const t=(0,i.findTransform)((0,i.getBlockTransforms)("to",e),(e=>{let{type:t,blocks:n}=e;return"block"===t&&1===n.length}));if(!t)return null;return(0,i.getBlockType)(t.blocks[0])}(a.name);return[(0,r.createElement)("div",{key:"invalid-preview",style:{minHeight:"60px"}},(0,r.createElement)(e,d({key:"block-edit"},a))),(0,r.createElement)(se.Warning,{key:"multiple-use-warning",actions:[(0,r.createElement)(E.Button,{key:"find-original",variant:"secondary",onClick:l},(0,g.__)("Find original")),(0,r.createElement)(E.Button,{key:"remove",variant:"secondary",onClick:()=>a.onReplace([])},(0,g.__)("Remove")),s&&(0,r.createElement)(E.Button,{key:"transform",variant:"secondary",onClick:()=>a.onReplace((0,i.createBlock)(s.name,a.attributes))},(0,g.__)("Transform into:")," ",s.title)]},(0,r.createElement)("strong",null,null==o?void 0:o.title,": "),(0,g.__)("This block can only be used once."))]}))),"withMultipleValidation");(0,u.addFilter)("editor.BlockEdit","core/edit-post/validate-multiple-use/with-multiple-validation",ue);var de=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"})),me=window.wp.url,pe=window.wp.notices,Ee=window.wp.editor;function ge(){const{createNotice:e}=(0,c.useDispatch)(pe.store),t=(0,c.useSelect)((e=>()=>e(Ee.store).getEditedPostAttribute("content")),[]);const n=(0,te.useCopyToClipboard)(t,(function(){e("info",(0,g.__)("All content copied."),{isDismissible:!0,type:"snackbar"})}));return(0,r.createElement)(E.MenuItem,{ref:n},(0,g.__)("Copy all content"))}var _e=window.wp.keycodes,he=window.wp.dataControls;const be=(0,w.flow)([c.combineReducers,(fe={editorMode:"visual",panels:{"post-status":{opened:!0}},hiddenBlockTypes:[],preferredStyleVariations:{},localAutosaveInterval:15},e=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,n=arguments.length>1?arguments[1]:void 0;return e(t,n)})])({panels(e,t){switch(t.type){case"TOGGLE_PANEL_ENABLED":{const{panelName:n}=t;return{...e,[n]:{...e[n],enabled:!(0,w.get)(e,[n,"enabled"],!0)}}}case"TOGGLE_PANEL_OPENED":{const{panelName:n}=t,l=!0===e[n]||(0,w.get)(e,[n,"opened"],!1);return{...e,[n]:{...e[n],opened:!l}}}}return e},editorMode:(e,t)=>"SWITCH_MODE"===t.type?t.mode:e,hiddenBlockTypes(e,t){switch(t.type){case"SHOW_BLOCK_TYPES":return(0,w.without)(e,...t.blockNames);case"HIDE_BLOCK_TYPES":return(0,w.union)(e,t.blockNames)}return e},preferredStyleVariations:(e,t)=>"UPDATE_PREFERRED_STYLE_VARIATIONS"===t.type&&t.blockName?t.blockStyle?{...e,[t.blockName]:t.blockStyle}:(0,w.omit)(e,[t.blockName]):e,localAutosaveInterval:(e,t)=>"UPDATE_LOCAL_AUTOSAVE_INTERVAL"===t.type?t.interval:e});var fe;const ve=(0,c.combineReducers)({isSaving:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REQUEST_META_BOX_UPDATES":return!0;case"META_BOX_UPDATES_SUCCESS":case"META_BOX_UPDATES_FAILURE":return!1;default:return e}},locations:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_META_BOXES_PER_LOCATIONS"===t.type?t.metaBoxesPerLocation:e},initialized:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"META_BOXES_INITIALIZED"===t.type||e}});var ye=(0,c.combineReducers)({activeModal: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"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e},metaBoxes:ve,preferences:be,publishSidebarActive:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_PUBLISH_SIDEBAR":return!0;case"CLOSE_PUBLISH_SIDEBAR":return!1;case"TOGGLE_PUBLISH_SIDEBAR":return!e}return e},removedPanels:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;if("REMOVE_PANEL"===t.type)if(!(0,w.includes)(e,t.panelName))return[...e,t.panelName];return e},deviceType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;return"SET_PREVIEW_DEVICE_TYPE"===t.type?t.deviceType:e},blockInserterPanel: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_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel: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_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e},isEditingTemplate:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_IS_EDITING_TEMPLATE"===t.type?t.value:e}}),we=window.wp.coreData;function*Se(e){yield c.controls.dispatch(U,"enableComplementaryArea",At.name,e)}function*ke(){yield c.controls.dispatch(U,"disableComplementaryArea",At.name)}function Pe(e){return{type:"OPEN_MODAL",name:e}}function Te(){return{type:"CLOSE_MODAL"}}function xe(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function Ce(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function Ie(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}function Be(e){return{type:"TOGGLE_PANEL_ENABLED",panelName:e}}function Ne(e){return{type:"TOGGLE_PANEL_OPENED",panelName:e}}function Me(e){return{type:"REMOVE_PANEL",panelName:e}}function*Ae(e){yield c.controls.dispatch(U.name,"toggleFeature","core/edit-post",e)}function*Le(e){yield{type:"SWITCH_MODE",mode:e},"visual"!==e&&(yield c.controls.dispatch(se.store,"clearSelectedBlock"));const t="visual"===e?(0,g.__)("Visual editor selected"):(0,g.__)("Code editor selected");(0,oe.speak)(t,"assertive")}function*Oe(e){const t=yield c.controls.select(U,"isItemPinned","core/edit-post",e);yield c.controls.dispatch(U,t?"unpinItem":"pinItem","core/edit-post",e)}function De(e){return{type:"HIDE_BLOCK_TYPES",blockNames:(0,w.castArray)(e)}}function Re(e,t){return{type:"UPDATE_PREFERRED_STYLE_VARIATIONS",blockName:e,blockStyle:t}}function Fe(e){return{type:"UPDATE_LOCAL_AUTOSAVE_INTERVAL",interval:e}}function Ve(e){return{type:"SHOW_BLOCK_TYPES",blockNames:(0,w.castArray)(e)}}function*Ue(e){yield{type:"SET_META_BOXES_PER_LOCATIONS",metaBoxesPerLocation:e}}function*Ge(){yield{type:"REQUEST_META_BOX_UPDATES"},window.tinyMCE&&window.tinyMCE.triggerSave();const e=yield c.controls.select(Ee.store,"getCurrentPost"),t=[!!e.comment_status&&["comment_status",e.comment_status],!!e.ping_status&&["ping_status",e.ping_status],!!e.sticky&&["sticky",e.sticky],!!e.author&&["post_author",e.author]].filter(Boolean),n=[new window.FormData(document.querySelector(".metabox-base-form")),...(yield c.controls.select(At,"getActiveMetaBoxLocations")).map((e=>new window.FormData((e=>document.querySelector(`.edit-post-meta-boxes-area.is-${e} .metabox-location-${e}`)||document.querySelector("#metaboxes .metabox-location-"+e))(e))))],l=(0,w.reduce)(n,((e,t)=>{for(const[n,l]of t)e.append(n,l);return e}),new window.FormData);t.forEach((e=>{let[t,n]=e;return l.append(t,n)}));try{yield(0,he.apiFetch)({url:window._wpMetaBoxUrl,method:"POST",body:l,parse:!1}),yield c.controls.dispatch(At,"metaBoxUpdatesSuccess")}catch{yield c.controls.dispatch(At,"metaBoxUpdatesFailure")}}function ze(){return{type:"META_BOX_UPDATES_SUCCESS"}}function He(){return{type:"META_BOX_UPDATES_FAILURE"}}function We(e){return{type:"SET_PREVIEW_DEVICE_TYPE",deviceType:e}}function $e(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function qe(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}function Ke(e){return{type:"SET_IS_EDITING_TEMPLATE",value:e}}function*je(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];yield Ke(!0);const t=yield c.controls.select(At,"isFeatureActive","welcomeGuideTemplate");if(!t){const t=e?(0,g.__)("Custom template created. You're in template mode now."):(0,g.__)("Editing template. Changes made here affect all posts and pages that use the template.");yield c.controls.dispatch(pe.store,"createSuccessNotice",t,{type:"snackbar"})}}function*Ye(e){const t=yield c.controls.dispatch(we.store,"saveEntityRecord","postType","wp_template",e),n=yield c.controls.select(Ee.store,"getCurrentPost");yield c.controls.dispatch(we.store,"editEntityRecord","postType",n.type,n.id,{template:t.slug})}let Xe=!1;function*Qe(){if(!(yield c.controls.select(Ee.store,"__unstableIsEditorReady")))return;const e=yield c.controls.select(Ee.store,"getCurrentPostType");if(Xe)return;window.postboxes.page!==e&&window.postboxes.add_postbox_toggles(e),Xe=!0;let t=yield c.controls.select(Ee.store,"isSavingPost"),n=yield c.controls.select(Ee.store,"isAutosavingPost");const l=yield c.controls.select(At,"hasMetaBoxes");return(0,c.subscribe)((()=>{const e=(0,c.select)(Ee.store).isSavingPost(),a=(0,c.select)(Ee.store).isAutosavingPost(),o=l&&t&&!e&&!n;t=e,n=a,o&&(0,c.dispatch)(At).requestMetaBoxUpdates()})),{type:"META_BOXES_INITIALIZED"}}var Ze,Je;function et(e){return[e]}function tt(){var e={clear:function(){e.head=null}};return e}function nt(e,t,n){var l;if(e.length!==t.length)return!1;for(l=n;l<e.length;l++)if(e[l]!==t[l])return!1;return!0}function lt(e,t){var n,l;function a(){n=Je?new WeakMap:tt()}function o(){var n,a,o,r,i,s=arguments.length;for(r=new Array(s),o=0;o<s;o++)r[o]=arguments[o];for(i=t.apply(null,r),(n=l(i)).isUniqueByDependants||(n.lastDependants&&!nt(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),a=n.head;a;){if(nt(a.args,r,1))return a!==n.head&&(a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=n.head,a.prev=null,n.head.prev=a,n.head=a),a.val;a=a.next}return a={val:e.apply(null,r)},r[0]=null,a.args=r,n.head&&(n.head.prev=a,a.next=n.head),n.head=a,a.val}return t||(t=et),l=Je?function(e){var t,l,a,o,r,i=n,s=!0;for(t=0;t<e.length;t++){if(l=e[t],!(r=l)||"object"!=typeof r){s=!1;break}i.has(l)?i=i.get(l):(a=new WeakMap,i.set(l,a),i=a)}return i.has(Ze)||((o=tt()).isUniqueByDependants=s,i.set(Ze,o)),i.get(Ze)}:function(){return n},o.getDependants=t,o.clear=a,a(),o}function at(e){return ct(e,"editorMode","visual")}Ze={},Je="undefined"!=typeof WeakMap;const ot=(0,c.createRegistrySelector)((e=>()=>{const t=e(U).getActiveComplementaryArea("core/edit-post");return(0,w.includes)(["edit-post/document","edit-post/block"],t)})),rt=(0,c.createRegistrySelector)((e=>()=>{const t=e(U).getActiveComplementaryArea("core/edit-post");return!!t&&!(0,w.includes)(["edit-post/document","edit-post/block"],t)})),it=(0,c.createRegistrySelector)((e=>()=>e(U).getActiveComplementaryArea("core/edit-post")));function st(e){return e.preferences}function ct(e,t,n){const l=st(e)[t];return void 0===l?n:l}function ut(e){return e.publishSidebarActive}function dt(e,t){return(0,w.includes)(e.removedPanels,t)}function mt(e,t){const n=ct(e,"panels");return!dt(e,t)&&(0,w.get)(n,[t,"enabled"],!0)}function pt(e,t){const n=ct(e,"panels");return!0===(0,w.get)(n,[t])||!0===(0,w.get)(n,[t,"opened"])}function Et(e,t){return e.activeModal===t}const gt=(0,c.createRegistrySelector)((e=>(t,n)=>e(U).isFeatureActive("core/edit-post",n))),_t=(0,c.createRegistrySelector)((e=>(t,n)=>e(U).isItemPinned("core/edit-post",n))),ht=lt((e=>Object.keys(e.metaBoxes.locations).filter((t=>ft(e,t)))),(e=>[e.metaBoxes.locations]));function bt(e,t){return ft(e,t)&&(0,w.some)(vt(e,t),(t=>{let{id:n}=t;return mt(e,`meta-box-${n}`)}))}function ft(e,t){const n=vt(e,t);return!!n&&0!==n.length}function vt(e,t){return e.metaBoxes.locations[t]}const yt=lt((e=>(0,w.flatten)((0,w.values)(e.metaBoxes.locations))),(e=>[e.metaBoxes.locations]));function wt(e){return ht(e).length>0}function St(e){return e.metaBoxes.isSaving}function kt(e){return e.deviceType}function Pt(e){return!!e.blockInserterPanel}function Tt(e){const{rootClientId:t,insertionIndex:n,filterValue:l}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:n,filterValue:l}}function xt(e){return e.listViewPanel}function Ct(e){return e.isEditingTemplate}function It(e){return e.metaBoxes.initialized}const Bt=(0,c.createRegistrySelector)((e=>()=>{const t=e(Ee.store).getEditedPostAttribute("template");if(t){var n;const l=null===(n=e(we.store).getEntityRecords("postType","wp_template",{per_page:-1}))||void 0===n?void 0:n.find((e=>e.slug===t));return l?e(we.store).getEditedEntityRecord("postType","wp_template",l.id):l}const l=e(Ee.store).getCurrentPost();return l.link?e(we.store).__experimentalGetTemplateForLink(l.link):null})),Nt="core/edit-post",Mt={reducer:ye,actions:a,selectors:o,controls:he.controls,persist:["preferences"]},At=(0,c.createReduxStore)(Nt,Mt);(0,c.registerStore)(Nt,Mt);var Lt=(0,c.withDispatch)((e=>{const{openModal:t}=e(At);return{openModal:t}}))((function(e){let{openModal:t}=e;return(0,r.createElement)(E.MenuItem,{onClick:()=>{t("edit-post/keyboard-shortcut-help")},shortcut:_e.displayShortcut.access("h")},(0,g.__)("Keyboard shortcuts"))}));const{Fill:Ot,Slot:Dt}=(0,E.createSlotFill)("ToolsMoreMenuGroup");Ot.Slot=e=>{let{fillProps:t}=e;return(0,r.createElement)(Dt,{fillProps:t},(e=>!(0,w.isEmpty)(e)&&(0,r.createElement)(E.MenuGroup,{label:(0,g.__)("Tools")},e)))};var Rt=Ot;function Ft(){const e=(0,c.useSelect)((e=>e(At).isEditingTemplate()),[]);return(0,r.createElement)(re,{scope:"core/edit-post",feature:e?"welcomeGuideTemplate":"welcomeGuide",label:(0,g.__)("Welcome Guide")})}(0,G.registerPlugin)("edit-post",{render:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(Rt,null,(e=>{let{onClose:t}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(E.MenuItem,{role:"menuitem",href:(0,me.addQueryArgs)("edit.php",{post_type:"wp_block"})},(0,g.__)("Manage Reusable blocks")),(0,r.createElement)(Lt,{onSelect:t}),(0,r.createElement)(Ft,null),(0,r.createElement)(ge,null),(0,r.createElement)(E.MenuItem,{role:"menuitem",icon:de,href:(0,g.__)("https://wordpress.org/support/article/wordpress-editor/"),target:"_blank",rel:"noopener noreferrer"},(0,g.__)("Help"),(0,r.createElement)(E.VisuallyHidden,{as:"span"},(0,g.__)("(opens in a new tab)"))))})))});var Vt=window.wp.keyboardShortcuts,Ut={"t a l e s o f g u t e n b e r g":e=>{const{ownerDocument:t}=e.target;(t.activeElement.classList.contains("edit-post-visual-editor")||t.activeElement===t.body)&&(e.preventDefault(),window.wp.data.dispatch("core/block-editor").insertBlock(window.wp.blocks.createBlock("core/paragraph",{content:"🐡🐢🦀🐤🦋🐘🐧🐹🦁🦄🦍🐼🐿🎃🐴🐝🐆🦕🦔🌱🍇π🍌🐉💧🥨🌌🍂🍠🥦🥚🥝🎟🥥🥒🛵🥖🍒🍯🎾🎲🐺🐚🐮⌛️"})))}};var Gt=(0,te.compose)((0,c.withSelect)((e=>({isRichEditingEnabled:e(Ee.store).getEditorSettings().richEditingEnabled}))),(0,c.withDispatch)((e=>({onExit(){e(At).switchEditorMode("visual")}}))))((function(e){let{onExit:t,isRichEditingEnabled:n}=e;return(0,r.createElement)("div",{className:"edit-post-text-editor"},n&&(0,r.createElement)("div",{className:"edit-post-text-editor__toolbar"},(0,r.createElement)("h2",null,(0,g.__)("Editing code")),(0,r.createElement)(E.Button,{variant:"tertiary",onClick:t,shortcut:_e.displayShortcut.secondary("m")},(0,g.__)("Exit code editor")),(0,r.createElement)(Ee.TextEditorGlobalKeyboardShortcuts,null)),(0,r.createElement)("div",{className:"edit-post-text-editor__body"},(0,r.createElement)(Ee.PostTitle,null),(0,r.createElement)(Ee.PostTextEditor,null)))}));var zt=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.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"}));var Ht=function(e){let{onClick:t=w.noop,small:n=!1}=e;const{shortcut:l,areAdvancedSettingsOpened:a}=(0,c.useSelect)((e=>({shortcut:e(Vt.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),areAdvancedSettingsOpened:"edit-post/block"===e(At).getActiveGeneralSidebarName()})),[]),{openGeneralSidebar:o,closeGeneralSidebar:i}=(0,c.useDispatch)(At),s=a?(0,g.__)("Hide more settings"):(0,g.__)("Show more settings");return(0,r.createElement)(E.MenuItem,{onClick:()=>{a?(i(),(0,oe.speak)((0,g.__)("Block settings closed"))):(o("edit-post/block"),(0,oe.speak)((0,g.__)("Additional settings are now available in the Editor block settings sidebar"))),t()},shortcut:l},!n&&s)};function Wt(e){let{children:t,contentRef:n,shouldIframe:l,styles:a,style:o}=e;const i=(0,se.__unstableUseMouseMoveTypingReset)();return l?(0,r.createElement)(se.__unstableIframe,{head:(0,r.createElement)(se.__unstableEditorStyles,{styles:a}),ref:i,contentRef:n,style:{width:"100%",height:"100%",display:"block"},name:"editor-canvas"},t):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(se.__unstableEditorStyles,{styles:a}),(0,r.createElement)(se.WritingFlow,{ref:n,className:"editor-styles-wrapper",style:{flex:"1",...o},tabIndex:-1},t))}function $t(e){let{styles:t}=e;const{deviceType:n,isTemplateMode:l,wrapperBlockName:a,wrapperUniqueId:o}=(0,c.useSelect)((e=>{const{isEditingTemplate:t,__experimentalGetPreviewDeviceType:n}=e(At),{getCurrentPostId:l,getCurrentPostType:a}=e(Ee.store),o=t();let r;return"wp_block"===a()?r="core/block":o||(r="core/post-content"),{deviceType:n(),isTemplateMode:o,wrapperBlockName:r,wrapperUniqueId:l()}}),[]),i=(0,c.useSelect)((e=>e(At).hasMetaBoxes()),[]),s=(0,c.useSelect)((e=>{const{getSettings:t}=e(se.store);return t().supportsLayout}),[]),{clearSelectedBlock:u}=(0,c.useDispatch)(se.store),{setIsEditingTemplate:d}=(0,c.useDispatch)(At),m={width:"100%",margin:0,display:"flex",flexFlow:"column",background:"white"},_={...m,borderRadius:"2px 2px 0 0",border:"1px solid #ddd",borderBottom:0},h=(0,se.__experimentalUseResizeCanvas)(n,l),b=(0,se.useSetting)("layout"),f="is-"+n.toLowerCase()+"-preview";let v,y=l?_:m;h&&(y=h),i||h||l||(v="40vh");const w=(0,r.useRef)(),S=(0,te.useMergeRefs)([w,(0,se.__unstableUseClipboardHandler)(),(0,se.__unstableUseCanvasClickRedirect)(),(0,se.__unstableUseTypewriter)(),(0,se.__unstableUseTypingObserver)(),(0,se.__unstableUseBlockSelectionClearer)()]),k=(0,se.__unstableUseBlockSelectionClearer)(),[,P]=(0,se.__experimentalUseNoRecursiveRenders)(o,a),T=(0,r.useMemo)((()=>l?{type:"default"}:s?b:void 0),[l,s,b]);return(0,r.createElement)(se.BlockTools,{__unstableContentRef:w,className:p()("edit-post-visual-editor",{"is-template-mode":l})},(0,r.createElement)(Ee.VisualEditorGlobalKeyboardShortcuts,null),(0,r.createElement)(E.__unstableMotion.div,{className:"edit-post-visual-editor__content-area",animate:{padding:l?"48px 48px 0":"0"},ref:k},l&&(0,r.createElement)(E.Button,{className:"edit-post-visual-editor__exit-template-mode",icon:zt,onClick:()=>{u(),d(!1)}},(0,g.__)("Back")),(0,r.createElement)(E.__unstableMotion.div,{animate:y,initial:m,className:f},(0,r.createElement)(Wt,{shouldIframe:l||"Tablet"===n||"Mobile"===n,contentRef:S,styles:t,style:{paddingBottom:v}},s&&!l&&(0,r.createElement)(se.__experimentalLayoutStyle,{selector:".edit-post-visual-editor__post-title-wrapper, .block-editor-block-list__layout.is-root-container",layout:b}),!l&&(0,r.createElement)("div",{className:"edit-post-visual-editor__post-title-wrapper"},(0,r.createElement)(Ee.PostTitle,null)),(0,r.createElement)(P,null,(0,r.createElement)(se.BlockList,{className:l?"wp-site-blocks":void 0,__experimentalLayout:T}))))),(0,r.createElement)(se.__unstableBlockSettingsMenuFirstItem,null,(e=>{let{onClose:t}=e;return(0,r.createElement)(Ht,{onClick:t})})))}var qt=function(){const{getBlockSelectionStart:e}=(0,c.useSelect)(se.store),{getEditorMode:t,isEditorSidebarOpened:n,isListViewOpened:l}=(0,c.useSelect)(At),a=(0,c.useSelect)((e=>{const{richEditingEnabled:t,codeEditingEnabled:n}=e(Ee.store).getEditorSettings();return!t||!n}),[]),{switchEditorMode:o,openGeneralSidebar:i,closeGeneralSidebar:s,toggleFeature:u,setIsListViewOpened:d}=(0,c.useDispatch)(At),{registerShortcut:m}=(0,c.useDispatch)(Vt.store);return(0,r.useEffect)((()=>{m({name:"core/edit-post/toggle-mode",category:"global",description:(0,g.__)("Switch between visual editor and code editor."),keyCombination:{modifier:"secondary",character:"m"}}),m({name:"core/edit-post/toggle-fullscreen",category:"global",description:(0,g.__)("Toggle fullscreen mode."),keyCombination:{modifier:"secondary",character:"f"}}),m({name:"core/edit-post/toggle-list-view",category:"global",description:(0,g.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),m({name:"core/edit-post/toggle-sidebar",category:"global",description:(0,g.__)("Show or hide the settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}}),m({name:"core/edit-post/next-region",category:"global",description:(0,g.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),m({name:"core/edit-post/previous-region",category:"global",description:(0,g.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]}),m({name:"core/edit-post/keyboard-shortcuts",category:"main",description:(0,g.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}})}),[]),(0,Vt.useShortcut)("core/edit-post/toggle-mode",(()=>{o("visual"===t()?"text":"visual")}),{isDisabled:a}),(0,Vt.useShortcut)("core/edit-post/toggle-fullscreen",(()=>{u("fullscreenMode")})),(0,Vt.useShortcut)("core/edit-post/toggle-sidebar",(t=>{if(t.preventDefault(),n())s();else{const t=e()?"edit-post/block":"edit-post/document";i(t)}})),(0,Vt.useShortcut)("core/edit-post/toggle-list-view",(()=>d(!l()))),null};const Kt=[{keyCombination:{modifier:"primary",character:"b"},description:(0,g.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:(0,g.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:(0,g.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:(0,g.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:(0,g.__)("Underline the selected text.")}];function jt(e){let{keyCombination:t,forceAriaLabel:n}=e;const l=t.modifier?_e.displayShortcutList[t.modifier](t.character):t.character,a=t.modifier?_e.shortcutAriaLabel[t.modifier](t.character):t.character;return(0,r.createElement)("kbd",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":n||a},(0,w.castArray)(l).map(((e,t)=>"+"===e?(0,r.createElement)(r.Fragment,{key:t},e):(0,r.createElement)("kbd",{key:t,className:"edit-post-keyboard-shortcut-help-modal__shortcut-key"},e))))}var Yt=function(e){let{description:t,keyCombination:n,aliases:l=[],ariaLabel:a}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-description"},t),(0,r.createElement)("div",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-term"},(0,r.createElement)(jt,{keyCombination:n,forceAriaLabel:a}),l.map(((e,t)=>(0,r.createElement)(jt,{keyCombination:e,forceAriaLabel:a,key:t})))))};var Xt=function(e){let{name:t}=e;const{keyCombination:n,description:l,aliases:a}=(0,c.useSelect)((e=>{const{getShortcutKeyCombination:n,getShortcutDescription:l,getShortcutAliases:a}=e(Vt.store);return{keyCombination:n(t),aliases:a(t),description:l(t)}}),[t]);return n?(0,r.createElement)(Yt,{keyCombination:n,description:l,aliases:a}):null};const Qt="edit-post/keyboard-shortcut-help",Zt=e=>{let{shortcuts:t}=e;return(0,r.createElement)("ul",{className:"edit-post-keyboard-shortcut-help-modal__shortcut-list",role:"list"},t.map(((e,t)=>(0,r.createElement)("li",{className:"edit-post-keyboard-shortcut-help-modal__shortcut",key:t},(0,w.isString)(e)?(0,r.createElement)(Xt,{name:e}):(0,r.createElement)(Yt,e)))))},Jt=e=>{let{title:t,shortcuts:n,className:l}=e;return(0,r.createElement)("section",{className:p()("edit-post-keyboard-shortcut-help-modal__section",l)},!!t&&(0,r.createElement)("h2",{className:"edit-post-keyboard-shortcut-help-modal__section-title"},t),(0,r.createElement)(Zt,{shortcuts:n}))},en=e=>{let{title:t,categoryName:n,additionalShortcuts:l=[]}=e;const a=(0,c.useSelect)((e=>e(Vt.store).getCategoryShortcuts(n)),[n]);return(0,r.createElement)(Jt,{title:t,shortcuts:a.concat(l)})};var tn=(0,te.compose)([(0,c.withSelect)((e=>({isModalActive:e(At).isModalActive(Qt)}))),(0,c.withDispatch)(((e,t)=>{let{isModalActive:n}=t;const{openModal:l,closeModal:a}=e(At);return{toggleModal:()=>n?a():l(Qt)}}))])((function(e){let{isModalActive:t,toggleModal:n}=e;return(0,Vt.useShortcut)("core/edit-post/keyboard-shortcuts",n),t?(0,r.createElement)(E.Modal,{className:"edit-post-keyboard-shortcut-help-modal",title:(0,g.__)("Keyboard shortcuts"),closeLabel:(0,g.__)("Close"),onRequestClose:n},(0,r.createElement)(Jt,{className:"edit-post-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-post/keyboard-shortcuts"]}),(0,r.createElement)(en,{title:(0,g.__)("Global shortcuts"),categoryName:"global"}),(0,r.createElement)(en,{title:(0,g.__)("Selection shortcuts"),categoryName:"selection"}),(0,r.createElement)(en,{title:(0,g.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:(0,g.__)("Change the block type after adding a new paragraph."),ariaLabel:(0,g.__)("Forward-slash")}]}),(0,r.createElement)(Jt,{title:(0,g.__)("Text formatting"),shortcuts:Kt})):null}));var nn=function(e){let{icon:t,size:n=24,...l}=e;return(0,r.cloneElement)(t,{width:n,height:n,...l})};var ln=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));var an=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));var on=e=>{let{description:t,title:n,children:l}=e;return(0,r.createElement)("section",{className:"edit-post-preferences-modal__section"},(0,r.createElement)("h2",{className:"edit-post-preferences-modal__section-title"},n),t&&(0,r.createElement)("p",{className:"edit-post-preferences-modal__section-description"},t),l)};var rn=function(e){let{help:t,label:n,isChecked:l,onChange:a,children:o}=e;return(0,r.createElement)("div",{className:"edit-post-preferences-modal__option"},(0,r.createElement)(E.ToggleControl,{help:t,label:n,checked:l,onChange:a}),o)};function sn(e){let{willEnable:t}=e;const[n,l]=(0,r.useState)(!1);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("p",{className:"edit-post-preferences-modal__custom-fields-confirmation-message"},(0,g.__)("A page reload is required for this change. Make sure your content is saved before reloading.")),(0,r.createElement)(E.Button,{className:"edit-post-preferences-modal__custom-fields-confirmation-button",variant:"secondary",isBusy:n,disabled:n,onClick:()=>{l(!0),document.getElementById("toggle-custom-fields-form").submit()}},t?(0,g.__)("Enable & Reload"):(0,g.__)("Disable & Reload")))}var cn=(0,c.withSelect)((e=>({areCustomFieldsEnabled:!!e(Ee.store).getEditorSettings().enableCustomFields})))((function(e){let{label:t,areCustomFieldsEnabled:n}=e;const[l,a]=(0,r.useState)(n);return(0,r.createElement)(rn,{label:t,isChecked:l,onChange:a},l!==n&&(0,r.createElement)(sn,{willEnable:l}))})),un=(0,te.compose)((0,c.withSelect)(((e,t)=>{let{panelName:n}=t;const{isEditorPanelEnabled:l,isEditorPanelRemoved:a}=e(At);return{isRemoved:a(n),isChecked:l(n)}})),(0,te.ifCondition)((e=>{let{isRemoved:t}=e;return!t})),(0,c.withDispatch)(((e,t)=>{let{panelName:n}=t;return{onChange:()=>e(At).toggleEditorPanelEnabled(n)}})))(rn);const{Fill:dn,Slot:mn}=(0,E.createSlotFill)("EnablePluginDocumentSettingPanelOption"),pn=e=>{let{label:t,panelName:n}=e;return(0,r.createElement)(dn,null,(0,r.createElement)(un,{label:t,panelName:n}))};pn.Slot=mn;var En=pn,gn=(0,te.compose)((0,c.withSelect)((e=>({isChecked:e(Ee.store).isPublishSidebarEnabled()}))),(0,c.withDispatch)((e=>{const{enablePublishSidebar:t,disablePublishSidebar:n}=e(Ee.store);return{onChange:e=>e?t():n()}})),(0,v.ifViewportMatches)("medium"))(rn),_n=(0,te.compose)((0,c.withSelect)(((e,t)=>{let{featureName:n}=t;const{isFeatureActive:l}=e(At);return{isChecked:l(n)}})),(0,c.withDispatch)(((e,t)=>{let{featureName:n}=t;return{onChange:()=>e(At).toggleFeature(n)}})))(rn);var hn=(0,c.withSelect)((e=>{const{getEditorSettings:t}=e(Ee.store),{getAllMetaBoxes:n}=e(At);return{areCustomFieldsRegistered:void 0!==t().enableCustomFields,metaBoxes:n()}}))((function(e){let{areCustomFieldsRegistered:t,metaBoxes:n,...l}=e;const a=(0,w.filter)(n,(e=>{let{id:t}=e;return"postcustom"!==t}));return t||0!==a.length?(0,r.createElement)(on,l,t&&(0,r.createElement)(cn,{label:(0,g.__)("Custom fields")}),(0,w.map)(a,(e=>{let{id:t,title:n}=e;return(0,r.createElement)(un,{key:t,label:n,panelName:`meta-box-${t}`})}))):null}));var bn=function(e){let{blockTypes:t,value:n,onItemChange:l}=e;return(0,r.createElement)("ul",{className:"edit-post-block-manager__checklist"},t.map((e=>(0,r.createElement)("li",{key:e.name,className:"edit-post-block-manager__checklist-item"},(0,r.createElement)(E.CheckboxControl,{label:(0,r.createElement)(r.Fragment,null,e.title,(0,r.createElement)(se.BlockIcon,{icon:e.icon})),checked:n.includes(e.name),onChange:(0,w.partial)(l,e.name)})))))};var fn=(0,r.createContext)({});var vn=(0,te.compose)([te.withInstanceId,(0,c.withSelect)((e=>{const{getPreference:t}=e(At);return{hiddenBlockTypes:t("hiddenBlockTypes")}})),(0,c.withDispatch)(((e,t)=>{const{showBlockTypes:n,hideBlockTypes:l}=e(At);return{toggleVisible(e,t){t?n(e):l(e)},toggleAllVisible(e){const a=(0,w.map)(t.blockTypes,"name");e?n(a):l(a)}}}))])((function(e){let{instanceId:t,title:n,blockTypes:l,hiddenBlockTypes:a,toggleVisible:o,toggleAllVisible:i}=e;const s=(0,r.useContext)(fn),{allowedBlockTypes:c}=s,u=(0,r.useMemo)((()=>!0===c?l:l.filter((e=>{let{name:t}=e;return(0,w.includes)(c||[],t)}))),[c,l]);if(!u.length)return null;const d=(0,w.without)((0,w.map)(u,"name"),...a),m="edit-post-block-manager__category-title-"+t,p=d.length===u.length;let g;return g=p?"true":d.length>0?"mixed":"false",(0,r.createElement)("div",{role:"group","aria-labelledby":m,className:"edit-post-block-manager__category"},(0,r.createElement)(E.CheckboxControl,{checked:p,onChange:i,className:"edit-post-block-manager__category-title","aria-checked":g,label:(0,r.createElement)("span",{id:m},n)}),(0,r.createElement)(bn,{blockTypes:u,value:d,onItemChange:o}))}));var yn=(0,c.withSelect)((e=>{const{getBlockTypes:t,getCategories:n,hasBlockSupport:l,isMatchingSearchTerm:a}=e(i.store),{getPreference:o}=e(At),r=o("hiddenBlockTypes"),s=(0,w.isArray)(r)&&r.length;return{blockTypes:t(),categories:n(),hasBlockSupport:l,isMatchingSearchTerm:a,numberOfHiddenBlocks:s}}))((function(e){let{blockTypes:t,categories:n,hasBlockSupport:l,isMatchingSearchTerm:a,numberOfHiddenBlocks:o}=e;const[i,s]=(0,r.useState)("");return t=t.filter((e=>l(e,"inserter",!0)&&(!i||a(e,i))&&(!e.parent||(0,w.includes)(e.parent,"core/post-content")))),(0,r.createElement)("div",{className:"edit-post-block-manager__content"},!!o&&(0,r.createElement)("div",{className:"edit-post-block-manager__disabled-blocks-count"},(0,g.sprintf)((0,g._n)("%d block is hidden.","%d blocks are hidden.",o),o)),(0,r.createElement)(E.SearchControl,{label:(0,g.__)("Search for a block"),placeholder:(0,g.__)("Search for a block"),value:i,onChange:e=>s(e),className:"edit-post-block-manager__search"}),(0,r.createElement)("div",{tabIndex:"0",role:"region","aria-label":(0,g.__)("Available block types"),className:"edit-post-block-manager__results"},0===t.length&&(0,r.createElement)("p",{className:"edit-post-block-manager__no-results"},(0,g.__)("No blocks found.")),n.map((e=>(0,r.createElement)(vn,{key:e.slug,title:e.title,blockTypes:(0,w.filter)(t,{category:e.slug})}))),(0,r.createElement)(vn,{title:(0,g.__)("Uncategorized"),blockTypes:(0,w.filter)(t,(e=>{let{category:t}=e;return!t}))})))}));const wn="preferences-menu";function Sn(e){let{as:t=E.Button,path:n,isBack:l=!1,...a}=e;const o=(0,E.__experimentalUseNavigator)();return(0,r.createElement)(t,d({onClick:()=>o.push(n,{isBack:l})},a))}function kn(){const e=(0,te.useViewportMatch)("medium"),{closeModal:t}=(0,c.useDispatch)(At),{isModalActive:n,isViewable:l}=(0,c.useSelect)((e=>{const{getEditedPostAttribute:t}=e(Ee.store),{getPostType:n}=e(we.store),l=n(t("type"));return{isModalActive:e(At).isModalActive("edit-post/preferences"),isViewable:(0,w.get)(l,["viewable"],!1)}}),[]),a=(0,c.useSelect)((t=>{const{getEditorSettings:n}=t(Ee.store),{getEditorMode:l,isFeatureActive:a}=t(At),o=l(),r=n().richEditingEnabled;return!a("reducedUI")&&e&&r&&"visual"===o}),[e]),o=(0,r.useMemo)((()=>[{name:"general",tabLabel:(0,g.__)("General"),content:(0,r.createElement)(r.Fragment,null,e&&(0,r.createElement)(on,{title:(0,g.__)("Publishing"),description:(0,g.__)("Change options related to publishing.")},(0,r.createElement)(gn,{help:(0,g.__)("Review settings, such as visibility and tags."),label:(0,g.__)("Include pre-publish checklist")})),(0,r.createElement)(on,{title:(0,g.__)("Appearance"),description:(0,g.__)("Customize options related to the block editor interface and editing flow.")},(0,r.createElement)(_n,{featureName:"reducedUI",help:(0,g.__)("Compacts options and outlines in the toolbar."),label:(0,g.__)("Reduce the interface")}),(0,r.createElement)(_n,{featureName:"focusMode",help:(0,g.__)("Highlights the current block and fades other content."),label:(0,g.__)("Spotlight mode")}),(0,r.createElement)(_n,{featureName:"showIconLabels",help:(0,g.__)("Shows text instead of icons."),label:(0,g.__)("Display button labels")}),(0,r.createElement)(_n,{featureName:"themeStyles",help:(0,g.__)("Make the editor look like your theme."),label:(0,g.__)("Use theme styles")}),a&&(0,r.createElement)(_n,{featureName:"showBlockBreadcrumbs",help:(0,g.__)("Shows block breadcrumbs at the bottom of the editor."),label:(0,g.__)("Display block breadcrumbs")})))},{name:"blocks",tabLabel:(0,g.__)("Blocks"),content:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(on,{title:(0,g.__)("Block interactions"),description:(0,g.__)("Customize how you interact with blocks in the block library and editing canvas.")},(0,r.createElement)(_n,{featureName:"mostUsedBlocks",help:(0,g.__)("Places the most frequent blocks in the block library."),label:(0,g.__)("Show most used blocks")}),(0,r.createElement)(_n,{featureName:"keepCaretInsideBlock",help:(0,g.__)("Aids screen readers by stopping text caret from leaving blocks."),label:(0,g.__)("Contain text cursor inside block")})),(0,r.createElement)(on,{title:(0,g.__)("Visible blocks"),description:(0,g.__)("Disable blocks that you don't want to appear in the inserter. They can always be toggled back on later.")},(0,r.createElement)(yn,null)))},{name:"panels",tabLabel:(0,g.__)("Panels"),content:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(on,{title:(0,g.__)("Document settings"),description:(0,g.__)("Choose what displays in the panel.")},(0,r.createElement)(En.Slot,null),l&&(0,r.createElement)(un,{label:(0,g.__)("Permalink"),panelName:"post-link"}),l&&(0,r.createElement)(un,{label:(0,g.__)("Template"),panelName:"template"}),(0,r.createElement)(Ee.PostTaxonomies,{taxonomyWrapper:(e,t)=>(0,r.createElement)(un,{label:(0,w.get)(t,["labels","menu_name"]),panelName:`taxonomy-panel-${t.slug}`})}),(0,r.createElement)(Ee.PostFeaturedImageCheck,null,(0,r.createElement)(un,{label:(0,g.__)("Featured image"),panelName:"featured-image"})),(0,r.createElement)(Ee.PostExcerptCheck,null,(0,r.createElement)(un,{label:(0,g.__)("Excerpt"),panelName:"post-excerpt"})),(0,r.createElement)(Ee.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},(0,r.createElement)(un,{label:(0,g.__)("Discussion"),panelName:"discussion-panel"})),(0,r.createElement)(Ee.PageAttributesCheck,null,(0,r.createElement)(un,{label:(0,g.__)("Page attributes"),panelName:"page-attributes"}))),(0,r.createElement)(hn,{title:(0,g.__)("Additional"),description:(0,g.__)("Add extra areas to the editor.")}))}]),[l,e,a]),[i,s]=(0,r.useState)(wn),{tabs:u,sectionsContentMap:d}=(0,r.useMemo)((()=>o.reduce(((e,t)=>{let{name:n,tabLabel:l,content:a}=t;return e.tabs.push({name:n,title:l}),e.sectionsContentMap[n]=a,e}),{tabs:[],sectionsContentMap:{}})),[o]),m=(0,r.useCallback)((e=>d[e.name]||null),[d]);if(!n)return null;let p;return p=e?(0,r.createElement)(E.TabPanel,{className:"edit-post-preferences__tabs",tabs:u,initialTabName:i!==wn?i:void 0,onSelect:s,orientation:"vertical"},m):(0,r.createElement)(E.__experimentalNavigatorProvider,{initialPath:"/"},(0,r.createElement)(E.__experimentalNavigatorScreen,{path:"/"},(0,r.createElement)(E.Card,{isBorderless:!0,size:"small"},(0,r.createElement)(E.CardBody,null,(0,r.createElement)(E.__experimentalItemGroup,null,u.map((e=>(0,r.createElement)(Sn,{key:e.name,path:e.name,as:E.__experimentalItem,isAction:!0},(0,r.createElement)(E.__experimentalHStack,{justify:"space-between"},(0,r.createElement)(E.FlexItem,null,(0,r.createElement)(E.__experimentalTruncate,null,e.title)),(0,r.createElement)(E.FlexItem,null,(0,r.createElement)(nn,{icon:(0,g.isRTL)()?ln:an})))))))))),o.map((e=>(0,r.createElement)(E.__experimentalNavigatorScreen,{key:`${e.name}-menu`,path:e.name},(0,r.createElement)(E.Card,{isBorderless:!0,size:"large"},(0,r.createElement)(E.CardHeader,{isBorderless:!1,justify:"left",size:"small",gap:"6"},(0,r.createElement)(Sn,{path:"/",icon:(0,g.isRTL)()?an:ln,isBack:!0,"aria-label":(0,g.__)("Navigate to the previous view")}),(0,r.createElement)(E.__experimentalText,{size:"16"},e.tabLabel)),(0,r.createElement)(E.CardBody,null,e.content)))))),(0,r.createElement)(E.Modal,{className:"edit-post-preferences-modal",title:(0,g.__)("Preferences"),closeLabel:(0,g.__)("Close"),onRequestClose:t},p)}class Pn extends r.Component{constructor(){super(...arguments),this.state={historyId:null}}componentDidUpdate(e){const{postId:t,postStatus:n,postType:l,isSavingPost:a}=this.props,{historyId:o}=this.state;"trash"!==n||a?t===e.postId&&t===o||"auto-draft"===n||!t||this.setBrowserURL(t):this.setTrashURL(t,l)}setTrashURL(e,t){window.location.href=function(e,t){return(0,me.addQueryArgs)("edit.php",{trashed:1,post_type:t,ids:e})}(e,t)}setBrowserURL(e){window.history.replaceState({id:e},"Post "+e,function(e){return(0,me.addQueryArgs)("post.php",{post:e,action:"edit"})}(e)),this.setState((()=>({historyId:e})))}render(){return null}}var Tn=(0,c.withSelect)((e=>{const{getCurrentPost:t,isSavingPost:n}=e(Ee.store),l=t();let{id:a,status:o,type:r}=l;return["wp_template","wp_template_part"].includes(r)&&(a=l.wp_id),{postId:a,postStatus:o,postType:r,isSavingPost:n()}}))(Pn);var xn=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(_.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}));var Cn=function(e){let{showTooltip:t,icon:n,href:l}=e;const{isActive:a,isRequestingSiteIcon:o,postType:i,siteIconUrl:s}=(0,c.useSelect)((e=>{const{getCurrentPostType:t}=e(Ee.store),{isFeatureActive:n}=e(At),{getEntityRecord:l,getPostType:a,isResolving:o}=e(we.store),r=l("root","__unstableBase",void 0)||{};return{isActive:n("fullscreenMode"),isRequestingSiteIcon:o("getEntityRecord",["root","__unstableBase",void 0]),postType:a(t()),siteIconUrl:r.site_icon_url}}),[]),u=(0,te.useReducedMotion)();if(!a||!i)return null;let d=(0,r.createElement)(E.Icon,{size:"36px",icon:xn});const m={expand:{scale:1.7,borderRadius:0,transition:{type:"tween",duration:"0.2"}}};return s&&(d=(0,r.createElement)(E.__unstableMotion.img,{variants:!u&&m,alt:(0,g.__)("Site Icon"),className:"edit-post-fullscreen-mode-close_site-icon",src:s})),o&&(d=null),n&&(d=(0,r.createElement)(E.Icon,{size:"36px",icon:n})),(0,r.createElement)(E.__unstableMotion.div,{whileHover:"expand"},(0,r.createElement)(E.Button,{className:"edit-post-fullscreen-mode-close has-icon",href:null!=l?l:(0,me.addQueryArgs)("edit.php",{post_type:i.slug}),label:(0,w.get)(i,["labels","view_items"],(0,g.__)("Back")),showTooltip:t},d))};var In=(0,r.createElement)(_.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(_.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));var Bn=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));const Nn=e=>{e.preventDefault()};var Mn=function(){const e=(0,r.useRef)(),{setIsInserterOpened:t,setIsListViewOpened:n}=(0,c.useDispatch)(At),{isInserterEnabled:l,isInserterOpened:a,isTextModeEnabled:o,showIconLabels:i,isListViewOpen:s,listViewShortcut:u}=(0,c.useSelect)((e=>{const{hasInserterItems:t,getBlockRootClientId:n,getBlockSelectionEnd:l}=e(se.store),{getEditorSettings:a}=e(Ee.store),{getEditorMode:o,isFeatureActive:r,isListViewOpened:i}=e(At),{getShortcutRepresentation:s}=e(Vt.store);return{isInserterEnabled:"visual"===o()&&a().richEditingEnabled&&t(n(l())),isInserterOpened:e(At).isInserterOpened(),isTextModeEnabled:"text"===o(),showIconLabels:r("showIconLabels"),isListViewOpen:i(),listViewShortcut:s("core/edit-post/toggle-list-view")}}),[]),d=(0,te.useViewportMatch)("medium"),m=(0,te.useViewportMatch)("wide"),p=(0,g.__)("Document tools"),_=(0,r.useCallback)((()=>n(!s)),[n,s]),h=(0,r.createElement)(r.Fragment,null,(0,r.createElement)(E.ToolbarItem,{as:Ee.TableOfContents,hasOutlineItemsDisabled:o,repositionDropdown:i&&!m,showTooltip:!i,variant:i?"tertiary":void 0}),(0,r.createElement)(E.ToolbarItem,{as:E.Button,className:"edit-post-header-toolbar__list-view-toggle",icon:In,disabled:o,isPressed:s,label:(0,g.__)("List View"),onClick:_,shortcut:u,showTooltip:!i})),b=(0,r.useCallback)((()=>{a?e.current.focus():t(!0)}),[a,t]);return(0,r.createElement)(se.NavigableToolbar,{className:"edit-post-header-toolbar","aria-label":p},(0,r.createElement)("div",{className:"edit-post-header-toolbar__left"},(0,r.createElement)(E.ToolbarItem,{ref:e,as:E.Button,className:"edit-post-header-toolbar__inserter-toggle",variant:"primary",isPressed:a,onMouseDown:Nn,onClick:b,disabled:!l,icon:Bn,label:(0,g._x)("Toggle block inserter","Generic label for block inserter button"),showTooltip:!i},i&&(a?(0,g.__)("Close"):(0,g.__)("Add"))),(m||!i)&&(0,r.createElement)(r.Fragment,null,d&&(0,r.createElement)(E.ToolbarItem,{as:se.ToolSelector,showTooltip:!i,variant:i?"tertiary":void 0,disabled:o}),(0,r.createElement)(E.ToolbarItem,{as:Ee.EditorHistoryUndo,showTooltip:!i,variant:i?"tertiary":void 0}),(0,r.createElement)(E.ToolbarItem,{as:Ee.EditorHistoryRedo,showTooltip:!i,variant:i?"tertiary":void 0}),h)))};const An=[{value:"visual",label:(0,g.__)("Visual editor")},{value:"text",label:(0,g.__)("Code editor")}];var Ln=function(){const{shortcut:e,isRichEditingEnabled:t,isCodeEditingEnabled:n,isEditingTemplate:l,mode:a}=(0,c.useSelect)((e=>({shortcut:e(Vt.store).getShortcutRepresentation("core/edit-post/toggle-mode"),isRichEditingEnabled:e(Ee.store).getEditorSettings().richEditingEnabled,isCodeEditingEnabled:e(Ee.store).getEditorSettings().codeEditingEnabled,isEditingTemplate:e(At).isEditingTemplate(),mode:e(At).getEditorMode()})),[]),{switchEditorMode:o}=(0,c.useDispatch)(At);if(l)return null;if(!t||!n)return null;const i=An.map((t=>t.value!==a?{...t,shortcut:e}:t));return(0,r.createElement)(E.MenuGroup,{label:(0,g.__)("Editor")},(0,r.createElement)(E.MenuItemsChoice,{choices:i,value:a,onSelect:o}))};function On(){const{openModal:e}=(0,c.useDispatch)(At);return(0,r.createElement)(E.MenuItem,{onClick:()=>{e("edit-post/preferences")}},(0,g.__)("Preferences"))}var Dn=function(){return(0,te.useViewportMatch)("medium")?(0,r.createElement)(E.MenuGroup,{label:(0,g._x)("View","noun")},(0,r.createElement)(re,{scope:"core/edit-post",feature:"fixedToolbar",label:(0,g.__)("Top toolbar"),info:(0,g.__)("Access all block and document tools in a single place"),messageActivated:(0,g.__)("Top toolbar activated"),messageDeactivated:(0,g.__)("Top toolbar deactivated")}),(0,r.createElement)(re,{scope:"core/edit-post",feature:"focusMode",label:(0,g.__)("Spotlight mode"),info:(0,g.__)("Focus on one block at a time"),messageActivated:(0,g.__)("Spotlight mode activated"),messageDeactivated:(0,g.__)("Spotlight mode deactivated")}),(0,r.createElement)(re,{scope:"core/edit-post",feature:"fullscreenMode",label:(0,g.__)("Fullscreen mode"),info:(0,g.__)("Work without distraction"),messageActivated:(0,g.__)("Fullscreen mode activated"),messageDeactivated:(0,g.__)("Fullscreen mode deactivated"),shortcut:_e.displayShortcut.secondary("f")})):null};const Rn={className:"edit-post-more-menu__content"};var Fn=e=>{let{showIconLabels:t}=e;const n=(0,te.useViewportMatch)("large");return(0,r.createElement)(ae,{className:"edit-post-more-menu",popoverProps:Rn,toggleProps:{showTooltip:!t,...t&&{variant:"tertiary"}}},(e=>{let{onClose:l}=e;return(0,r.createElement)(r.Fragment,null,t&&!n&&(0,r.createElement)(X.Slot,{className:t&&"show-icon-labels",scope:"core/edit-post"}),(0,r.createElement)(Dn,null),(0,r.createElement)(Ln,null),(0,r.createElement)(q.Slot,{name:"core/edit-post/plugin-more-menu",label:(0,g.__)("Plugins"),as:E.MenuGroup,fillProps:{onClick:l}}),(0,r.createElement)(Rt.Slot,{fillProps:{onClose:l}}),(0,r.createElement)(E.MenuGroup,null,(0,r.createElement)(On,null)))}))};var Vn=(0,te.compose)((0,c.withSelect)((e=>({hasPublishAction:(0,w.get)(e(Ee.store).getCurrentPost(),["_links","wp:action-publish"],!1),isBeingScheduled:e(Ee.store).isEditedPostBeingScheduled(),isPending:e(Ee.store).isCurrentPostPending(),isPublished:e(Ee.store).isCurrentPostPublished(),isPublishSidebarEnabled:e(Ee.store).isPublishSidebarEnabled(),isPublishSidebarOpened:e(At).isPublishSidebarOpened(),isScheduled:e(Ee.store).isCurrentPostScheduled()}))),(0,c.withDispatch)((e=>{const{togglePublishSidebar:t}=e(At);return{togglePublishSidebar:t}})))((function(e){let{forceIsDirty:t,forceIsSaving:n,hasPublishAction:l,isBeingScheduled:a,isPending:o,isPublished:i,isPublishSidebarEnabled:s,isPublishSidebarOpened:c,isScheduled:u,togglePublishSidebar:d,setEntitiesSavedStatesCallback:m}=e;const p="toggle",E="button",g=(0,te.useViewportMatch)("medium","<");let _;return _=i||u&&a||o&&!l&&!g?E:g||s?p:E,(0,r.createElement)(Ee.PostPublishButton,{forceIsDirty:t,forceIsSaving:n,isOpen:c,isToggle:_===p,onToggle:d,setEntitiesSavedStatesCallback:m})}));function Un(){const{hasActiveMetaboxes:e,isPostSaveable:t,isSaving:n,deviceType:l}=(0,c.useSelect)((e=>({hasActiveMetaboxes:e(At).hasMetaBoxes(),isSaving:e(At).isSavingMetaBoxes(),isPostSaveable:e(Ee.store).isEditedPostSaveable(),deviceType:e(At).__experimentalGetPreviewDeviceType()})),[]),{__experimentalSetPreviewDeviceType:a}=(0,c.useDispatch)(At);return(0,r.createElement)(se.__experimentalPreviewOptions,{isEnabled:t,className:"edit-post-post-preview-dropdown",deviceType:l,setDeviceType:a},(0,r.createElement)(E.MenuGroup,null,(0,r.createElement)("div",{className:"edit-post-header-preview__grouping-external"},(0,r.createElement)(Ee.PostPreviewButton,{className:"edit-post-header-preview__button-external",role:"menuitem",forceIsAutosaveable:e,forcePreviewLink:n?null:void 0,textContent:(0,r.createElement)(r.Fragment,null,(0,g.__)("Preview in new tab"),(0,r.createElement)(E.Icon,{icon:de}))}))))}const Gn="__experimentalMainDashboardButton",{Fill:zn,Slot:Hn}=(0,E.createSlotFill)(Gn),Wn=zn;Wn.Slot=e=>{let{children:t}=e;const n=(0,E.__experimentalUseSlot)(Gn);return Boolean(n.fills&&n.fills.length)?(0,r.createElement)(Hn,{bubblesVirtually:!0}):t};var $n=Wn;var qn=(0,r.createElement)(_.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(_.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));function Kn(){const{clearSelectedBlock:e}=(0,c.useDispatch)(se.store),{setIsEditingTemplate:t}=(0,c.useDispatch)(At),{getEditorSettings:n}=(0,c.useSelect)(Ee.store),{updateEditorSettings:l,editPost:a}=(0,c.useDispatch)(Ee.store),{deleteEntityRecord:o}=(0,c.useDispatch)(we.store),{template:i}=(0,c.useSelect)((e=>{const{isEditingTemplate:t,getEditedPostTemplate:n}=e(At);return{template:t()?n():null}}),[]);if(!i||!i.wp_id)return null;let s=i.slug;return null!=i&&i.title&&(s=i.title),(0,r.createElement)(E.MenuGroup,{className:"edit-post-template-top-area__second-menu-group"},(0,r.createElement)(E.MenuItem,{className:"edit-post-template-top-area__delete-template-button",isDestructive:!0,variant:"secondary","aria-label":(0,g.__)("Delete template"),onClick:()=>{if(window.confirm((0,g.sprintf)((0,g.__)("Are you sure you want to delete the %s template? It may be used by other pages or posts."),s))){e(),t(!1),a({template:""});const r=n(),s=(0,w.pickBy)(r.availableTemplates,((e,t)=>t!==i.slug));l({...r,availableTemplates:s}),o("postType","wp_template",i.id)}}},(0,g.__)("Delete template")))}function jn(){const{template:e}=(0,c.useSelect)((e=>{const{getEditedPostTemplate:t}=e(At);return{template:t()}}),[]),{editEntityRecord:t}=(0,c.useDispatch)(we.store),{getEditorSettings:n}=(0,c.useSelect)(Ee.store),{updateEditorSettings:l}=(0,c.useDispatch)(Ee.store);if(e.has_theme_file)return null;let a=(0,g.__)("Default");return null!=e&&e.title?a=e.title:e&&(a=e.slug),(0,r.createElement)(E.TextControl,{label:(0,g.__)("Title"),value:a,help:(0,g.__)('Give the template a title that indicates its purpose, e.g. "Full Width".'),onChange:a=>{const o=n(),r=(0,w.mapValues)(o.availableTemplates,((t,n)=>n!==e.slug?t:a));l({...o,availableTemplates:r}),t("postType","wp_template",e.id,{title:a})}})}function Yn(){const{description:e,title:t}=(0,c.useSelect)((e=>{const{getEditedPostTemplate:t}=e(At);return{title:t().title,description:t().description}}),[]);return e?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(E.__experimentalHeading,{level:4,weight:600},t),(0,r.createElement)(E.__experimentalText,{className:"edit-post-template-details__description",size:"body",as:"p",style:{marginTop:"12px"}},e)):null}var Xn=function(){const{template:e,isEditing:t,title:n}=(0,c.useSelect)((e=>{const{isEditingTemplate:t,getEditedPostTemplate:n}=e(At),{getEditedPostAttribute:l}=e(Ee.store),a=t();return{template:a?n():null,isEditing:a,title:l("title")?l("title"):(0,g.__)("Untitled")}}),[]),{clearSelectedBlock:l}=(0,c.useDispatch)(se.store),{setIsEditingTemplate:a}=(0,c.useDispatch)(At);if(!t||!e)return null;let o=(0,g.__)("Default");null!=e&&e.title?o=e.title:e&&(o=e.slug);const i=!!(e.custom||e.wp_id||e.description);return(0,r.createElement)("div",{className:"edit-post-template-top-area"},(0,r.createElement)(E.Button,{className:"edit-post-template-post-title",isLink:!0,showTooltip:!0,label:(0,g.sprintf)((0,g.__)("Edit %s"),n),onClick:()=>{l(),a(!1)}},n),i?(0,r.createElement)(E.Dropdown,{position:"bottom center",contentClassName:"edit-post-template-top-area__popover",renderToggle:e=>{let{onToggle:t}=e;return(0,r.createElement)(E.Button,{className:"edit-post-template-title",isLink:!0,icon:qn,showTooltip:!0,onClick:t,label:(0,g.__)("Template Options")},o)},renderContent:()=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(jn,null),(0,r.createElement)(Yn,null),(0,r.createElement)(Kn,null))}):(0,r.createElement)(E.__experimentalText,{className:"edit-post-template-title",size:"body",style:{lineHeight:"24px"}},o))};var Qn=function(e){let{setEntitiesSavedStatesCallback:t}=e;const{hasActiveMetaboxes:n,isPublishSidebarOpened:l,isSaving:a,showIconLabels:o,hasReducedUI:i}=(0,c.useSelect)((e=>({hasActiveMetaboxes:e(At).hasMetaBoxes(),isPublishSidebarOpened:e(At).isPublishSidebarOpened(),isSaving:e(At).isSavingMetaBoxes(),showIconLabels:e(At).isFeatureActive("showIconLabels"),hasReducedUI:e(At).isFeatureActive("reducedUI")})),[]),s=(0,te.useViewportMatch)("large"),u=p()("edit-post-header",{"has-reduced-ui":i});return(0,r.createElement)("div",{className:u},(0,r.createElement)($n.Slot,null,(0,r.createElement)(Cn,null)),(0,r.createElement)("div",{className:"edit-post-header__toolbar"},(0,r.createElement)(Mn,null),(0,r.createElement)(Xn,null)),(0,r.createElement)("div",{className:"edit-post-header__settings"},!l&&(0,r.createElement)(Ee.PostSavedState,{forceIsDirty:n,forceIsSaving:a,showIconLabels:o}),(0,r.createElement)(Un,null),(0,r.createElement)(Ee.PostPreviewButton,{forceIsAutosaveable:n,forcePreviewLink:a?null:void 0}),(0,r.createElement)(Vn,{forceIsDirty:n,forceIsSaving:a,setEntitiesSavedStatesCallback:t}),(s||!o)&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(X.Slot,{scope:"core/edit-post"}),(0,r.createElement)(Fn,{showIconLabels:o})),o&&!s&&(0,r.createElement)(Fn,{showIconLabels:o})))};var Zn=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.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"}));function Jn(){const{insertionPoint:e,showMostUsedBlocks:t}=(0,c.useSelect)((e=>{const{isFeatureActive:t,__experimentalGetInsertionPoint:n}=e(At);return{insertionPoint:n(),showMostUsedBlocks:t("mostUsedBlocks")}}),[]),{setIsInserterOpened:n}=(0,c.useDispatch)(At),l=(0,te.useViewportMatch)("medium","<"),[a,o]=(0,te.__experimentalUseDialog)({onClose:()=>n(!1)});return(0,r.createElement)("div",d({ref:a},o,{className:"edit-post-editor__inserter-panel"}),(0,r.createElement)("div",{className:"edit-post-editor__inserter-panel-header"},(0,r.createElement)(E.Button,{icon:Zn,onClick:()=>n(!1)})),(0,r.createElement)("div",{className:"edit-post-editor__inserter-panel-content"},(0,r.createElement)(se.__experimentalLibrary,{showMostUsedBlocks:t,showInserterHelpPanel:!0,shouldFocusBlock:l,rootClientId:e.rootClientId,__experimentalInsertionIndex:e.insertionIndex,__experimentalFilterValue:e.filterValue})))}function el(){const{setIsListViewOpened:e}=(0,c.useDispatch)(At),{clearSelectedBlock:t,selectBlock:n}=(0,c.useDispatch)(se.store);const l=(0,te.useFocusOnMount)("firstElement"),a=(0,te.useFocusReturn)();const o=`edit-post-editor__list-view-panel-label-${(0,te.useInstanceId)(el)}`;return(0,r.createElement)("div",{"aria-labelledby":o,className:"edit-post-editor__list-view-panel",onKeyDown:function(t){t.keyCode!==_e.ESCAPE||t.defaultPrevented||(t.preventDefault(),e(!1))}},(0,r.createElement)("div",{className:"edit-post-editor__list-view-panel-header"},(0,r.createElement)("strong",{id:o},(0,g.__)("List view")),(0,r.createElement)(E.Button,{icon:y,label:(0,g.__)("Close list view sidebar"),onClick:()=>e(!1)})),(0,r.createElement)("div",{className:"edit-post-editor__list-view-panel-content",ref:(0,te.useMergeRefs)([a,l])},(0,r.createElement)(se.__experimentalListView,{onSelect:async function(e){await t(),n(e,-1)},showNestedBlocks:!0,__experimentalFeatures:!0,__experimentalPersistentListViewFeatures:!0})))}var tl=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));var nl=e=>{let{sidebarName:t}=e;const{openGeneralSidebar:n}=(0,c.useDispatch)(At),l=()=>n("edit-post/document"),{documentLabel:a,isTemplateMode:o}=(0,c.useSelect)((e=>({documentLabel:e(Ee.store).getPostTypeLabel()||(0,g._x)("Document","noun"),isTemplateMode:e(At).isEditingTemplate()})),[]),[i,s]="edit-post/document"===t?[(0,g.sprintf)((0,g.__)("%s (selected)"),a),"is-active"]:[a,""],[u,d]="edit-post/block"===t?[(0,g.__)("Block (selected)"),"is-active"]:[(0,g.__)("Block"),""],[m,p]="edit-post/document"===t?[(0,g.__)("Template (selected)"),"is-active"]:[(0,g.__)("Template"),""];return(0,r.createElement)("ul",null,!o&&(0,r.createElement)("li",null,(0,r.createElement)(E.Button,{onClick:l,className:`edit-post-sidebar__panel-tab ${s}`,"aria-label":i,"data-label":a},a)),o&&(0,r.createElement)("li",null,(0,r.createElement)(E.Button,{onClick:l,className:`edit-post-sidebar__panel-tab ${p}`,"aria-label":m,"data-label":(0,g.__)("Template")},(0,g.__)("Template"))),(0,r.createElement)("li",null,(0,r.createElement)(E.Button,{onClick:()=>n("edit-post/block"),className:`edit-post-sidebar__panel-tab ${d}`,"aria-label":u,"data-label":(0,g.__)("Block")},(0,g.__)("Block"))))};var ll=function(){return(0,r.createElement)(Ee.PostVisibilityCheck,{render:e=>{let{canEdit:t}=e;return(0,r.createElement)(E.PanelRow,{className:"edit-post-post-visibility"},(0,r.createElement)("span",null,(0,g.__)("Visibility")),!t&&(0,r.createElement)("span",null,(0,r.createElement)(Ee.PostVisibilityLabel,null)),t&&(0,r.createElement)(E.Dropdown,{position:"bottom left",contentClassName:"edit-post-post-visibility__dialog",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return(0,r.createElement)(E.Button,{"aria-expanded":t,className:"edit-post-post-visibility__toggle",onClick:n,variant:"tertiary"},(0,r.createElement)(Ee.PostVisibilityLabel,null))},renderContent:()=>(0,r.createElement)(Ee.PostVisibility,null)}))}})};function al(){return(0,r.createElement)(Ee.PostTrashCheck,null,(0,r.createElement)(E.PanelRow,null,(0,r.createElement)(Ee.PostTrash,null)))}var ol=function(){const e=(0,r.useRef)();return(0,r.createElement)(Ee.PostScheduleCheck,null,(0,r.createElement)(E.PanelRow,{className:"edit-post-post-schedule",ref:e},(0,r.createElement)("span",null,(0,g.__)("Publish")),(0,r.createElement)(E.Dropdown,{popoverProps:{anchorRef:e.current},position:"bottom left",contentClassName:"edit-post-post-schedule__dialog",renderToggle:e=>{let{onToggle:t,isOpen:n}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(E.Button,{className:"edit-post-post-schedule__toggle",onClick:t,"aria-expanded":n,variant:"tertiary"},(0,r.createElement)(Ee.PostScheduleLabel,null)))},renderContent:()=>(0,r.createElement)(Ee.PostSchedule,null)})))};var rl=function(){return(0,r.createElement)(Ee.PostStickyCheck,null,(0,r.createElement)(E.PanelRow,null,(0,r.createElement)(Ee.PostSticky,null)))};var il=function(){return(0,r.createElement)(Ee.PostAuthorCheck,null,(0,r.createElement)(E.PanelRow,null,(0,r.createElement)(Ee.PostAuthor,null)))};var sl=function(){return(0,r.createElement)(Ee.PostSlugCheck,null,(0,r.createElement)(E.PanelRow,null,(0,r.createElement)(Ee.PostSlug,null)))};var cl=function(){return(0,r.createElement)(Ee.PostFormatCheck,null,(0,r.createElement)(E.PanelRow,null,(0,r.createElement)(Ee.PostFormat,null)))};var ul=function(){return(0,r.createElement)(Ee.PostPendingStatusCheck,null,(0,r.createElement)(E.PanelRow,null,(0,r.createElement)(Ee.PostPendingStatus,null)))};const{Fill:dl,Slot:ml}=(0,E.createSlotFill)("PluginPostStatusInfo"),pl=e=>{let{children:t,className:n}=e;return(0,r.createElement)(dl,null,(0,r.createElement)(E.PanelRow,{className:n},t))};pl.Slot=ml;var El=pl;const gl="post-status";var _l=(0,te.compose)([(0,c.withSelect)((e=>{const{isEditorPanelRemoved:t,isEditorPanelOpened:n}=e(At);return{isRemoved:t(gl),isOpened:n(gl)}})),(0,te.ifCondition)((e=>{let{isRemoved:t}=e;return!t})),(0,c.withDispatch)((e=>({onTogglePanel:()=>e(At).toggleEditorPanelOpened(gl)})))])((function(e){let{isOpened:t,onTogglePanel:n}=e;return(0,r.createElement)(E.PanelBody,{className:"edit-post-post-status",title:(0,g.__)("Status & visibility"),opened:t,onToggle:n},(0,r.createElement)(El.Slot,null,(e=>(0,r.createElement)(r.Fragment,null,(0,r.createElement)(ll,null),(0,r.createElement)(ol,null),(0,r.createElement)(cl,null),(0,r.createElement)(rl,null),(0,r.createElement)(ul,null),(0,r.createElement)(sl,null),(0,r.createElement)(il,null),e,(0,r.createElement)(al,null)))))}));var hl=function(){return(0,r.createElement)(Ee.PostLastRevisionCheck,null,(0,r.createElement)(E.PanelBody,{className:"edit-post-last-revision__panel"},(0,r.createElement)(Ee.PostLastRevision,null)))};var bl=(0,te.compose)((0,c.withSelect)(((e,t)=>{const n=(0,w.get)(t.taxonomy,["slug"]),l=n?`taxonomy-panel-${n}`:"";return{panelName:l,isEnabled:!!n&&e(At).isEditorPanelEnabled(l),isOpened:!!n&&e(At).isEditorPanelOpened(l)}})),(0,c.withDispatch)(((e,t)=>({onTogglePanel:()=>{e(At).toggleEditorPanelOpened(t.panelName)}}))))((function(e){let{isEnabled:t,taxonomy:n,isOpened:l,onTogglePanel:a,children:o}=e;if(!t)return null;const i=(0,w.get)(n,["labels","menu_name"]);return i?(0,r.createElement)(E.PanelBody,{title:i,opened:l,onToggle:a},o):null}));var fl=function(){return(0,r.createElement)(Ee.PostTaxonomiesCheck,null,(0,r.createElement)(Ee.PostTaxonomies,{taxonomyWrapper:(e,t)=>(0,r.createElement)(bl,{taxonomy:t},e)}))};const vl="featured-image";const yl=(0,c.withSelect)((e=>{const{getEditedPostAttribute:t}=e(Ee.store),{getPostType:n}=e(we.store),{isEditorPanelEnabled:l,isEditorPanelOpened:a}=e(At);return{postType:n(t("type")),isEnabled:l(vl),isOpened:a(vl)}})),wl=(0,c.withDispatch)((e=>{const{toggleEditorPanelOpened:t}=e(At);return{onTogglePanel:(0,w.partial)(t,vl)}}));var Sl=(0,te.compose)(yl,wl)((function(e){let{isEnabled:t,isOpened:n,postType:l,onTogglePanel:a}=e;return t?(0,r.createElement)(Ee.PostFeaturedImageCheck,null,(0,r.createElement)(E.PanelBody,{title:(0,w.get)(l,["labels","featured_image"],(0,g.__)("Featured image")),opened:n,onToggle:a},(0,r.createElement)(Ee.PostFeaturedImage,null))):null}));const kl="post-excerpt";var Pl=(0,te.compose)([(0,c.withSelect)((e=>({isEnabled:e(At).isEditorPanelEnabled(kl),isOpened:e(At).isEditorPanelOpened(kl)}))),(0,c.withDispatch)((e=>({onTogglePanel:()=>e(At).toggleEditorPanelOpened(kl)})))])((function(e){let{isEnabled:t,isOpened:n,onTogglePanel:l}=e;return t?(0,r.createElement)(Ee.PostExcerptCheck,null,(0,r.createElement)(E.PanelBody,{title:(0,g.__)("Excerpt"),opened:n,onToggle:l},(0,r.createElement)(Ee.PostExcerpt,null))):null}));const Tl="post-link";var xl=(0,te.compose)([(0,c.withSelect)((e=>{const{isPermalinkEditable:t,getCurrentPost:n,isCurrentPostPublished:l,getPermalinkParts:a,getEditedPostAttribute:o,getEditedPostSlug:r}=e(Ee.store),{isEditorPanelEnabled:i,isEditorPanelOpened:s}=e(At),{getPostType:c}=e(we.store),{link:u}=n(),d=c(o("type")),m=a();return{postLink:u,isEditable:t(),isPublished:l(),isOpened:s(Tl),isEnabled:i(Tl),isViewable:(0,w.get)(d,["viewable"],!1),postSlug:(0,me.safeDecodeURIComponent)(r()),postTypeLabel:(0,w.get)(d,["labels","view_item"]),hasPermalinkParts:!!m,permalinkPrefix:null==m?void 0:m.prefix,permalinkSuffix:null==m?void 0:m.suffix}})),(0,te.ifCondition)((e=>{let{isEnabled:t,postLink:n,isViewable:l,hasPermalinkParts:a}=e;return t&&n&&l&&a})),(0,c.withDispatch)((e=>{const{toggleEditorPanelOpened:t}=e(At),{editPost:n}=e(Ee.store);return{onTogglePanel:()=>t(Tl),editPermalink:e=>{n({slug:e})}}}))])((function(e){let{isOpened:t,onTogglePanel:n,isEditable:l,postLink:a,permalinkPrefix:o,permalinkSuffix:i,editPermalink:s,postSlug:c,postTypeLabel:u}=e;const[d,m]=(0,r.useState)(!1);let p,_,h;return l&&(p=o&&(0,r.createElement)("span",{className:"edit-post-post-link__link-prefix"},o),_=c&&(0,r.createElement)("span",{className:"edit-post-post-link__link-post-name"},c),h=i&&(0,r.createElement)("span",{className:"edit-post-post-link__link-suffix"},i)),(0,r.createElement)(E.PanelBody,{title:(0,g.__)("Permalink"),opened:t,onToggle:n},l&&(0,r.createElement)("div",{className:"editor-post-link"},(0,r.createElement)(E.TextControl,{label:(0,g.__)("URL Slug"),value:d?"":c,autoComplete:"off",spellCheck:"false",onChange:e=>{s(e),e?d&&m(!1):d||m(!0)},onBlur:e=>{s((0,Ee.cleanForSlug)(e.target.value)),d&&m(!1)}}),(0,r.createElement)("p",null,(0,g.__)("The last part of the URL.")," ",(0,r.createElement)(E.ExternalLink,{href:(0,g.__)("https://wordpress.org/support/article/writing-posts/#post-field-descriptions")},(0,g.__)("Read about permalinks")))),(0,r.createElement)("h3",{className:"edit-post-post-link__preview-label"},u||(0,g.__)("View post")),(0,r.createElement)("div",{className:"edit-post-post-link__preview-link-container"},(0,r.createElement)(E.ExternalLink,{className:"edit-post-post-link__link",href:a,target:"_blank"},l?(0,r.createElement)(r.Fragment,null,p,_,h):a)))}));const Cl="discussion-panel";var Il=(0,te.compose)([(0,c.withSelect)((e=>({isEnabled:e(At).isEditorPanelEnabled(Cl),isOpened:e(At).isEditorPanelOpened(Cl)}))),(0,c.withDispatch)((e=>({onTogglePanel:()=>e(At).toggleEditorPanelOpened(Cl)})))])((function(e){let{isEnabled:t,isOpened:n,onTogglePanel:l}=e;return t?(0,r.createElement)(Ee.PostTypeSupportCheck,{supportKeys:["comments","trackbacks"]},(0,r.createElement)(E.PanelBody,{title:(0,g.__)("Discussion"),opened:n,onToggle:l},(0,r.createElement)(Ee.PostTypeSupportCheck,{supportKeys:"comments"},(0,r.createElement)(E.PanelRow,null,(0,r.createElement)(Ee.PostComments,null))),(0,r.createElement)(Ee.PostTypeSupportCheck,{supportKeys:"trackbacks"},(0,r.createElement)(E.PanelRow,null,(0,r.createElement)(Ee.PostPingbacks,null))))):null}));const Bl="page-attributes";var Nl=function(){const{isEnabled:e,isOpened:t,postType:n}=(0,c.useSelect)((e=>{const{getEditedPostAttribute:t}=e(Ee.store),{isEditorPanelEnabled:n,isEditorPanelOpened:l}=e(At),{getPostType:a}=e(we.store);return{isEnabled:n(Bl),isOpened:l(Bl),postType:a(t("type"))}}),[]),{toggleEditorPanelOpened:l}=(0,c.useDispatch)(At);if(!e||!n)return null;const a=(0,w.partial)(l,Bl);return(0,r.createElement)(Ee.PageAttributesCheck,null,(0,r.createElement)(E.PanelBody,{title:(0,w.get)(n,["labels","attributes"],(0,g.__)("Page attributes")),opened:t,onToggle:a},(0,r.createElement)(Ee.PageAttributesParent,null),(0,r.createElement)(E.PanelRow,null,(0,r.createElement)(Ee.PageAttributesOrder,null))))};var Ml=function(e){let{location:t}=e;const n=(0,r.useRef)(null),l=(0,r.useRef)(null);(0,r.useEffect)((()=>(l.current=document.querySelector(".metabox-location-"+t),l.current&&n.current.appendChild(l.current),()=>{l.current&&document.querySelector("#metaboxes").appendChild(l.current)})),[t]);const a=(0,c.useSelect)((e=>e(At).isSavingMetaBoxes()),[]),o=p()("edit-post-meta-boxes-area",`is-${t}`,{"is-loading":a});return(0,r.createElement)("div",{className:o},a&&(0,r.createElement)(E.Spinner,null),(0,r.createElement)("div",{className:"edit-post-meta-boxes-area__container",ref:n}),(0,r.createElement)("div",{className:"edit-post-meta-boxes-area__clear"}))};class Al extends r.Component{componentDidMount(){this.updateDOM()}componentDidUpdate(e){this.props.isVisible!==e.isVisible&&this.updateDOM()}updateDOM(){const{id:e,isVisible:t}=this.props,n=document.getElementById(e);n&&(t?n.classList.remove("is-hidden"):n.classList.add("is-hidden"))}render(){return null}}var Ll=(0,c.withSelect)(((e,t)=>{let{id:n}=t;return{isVisible:e(At).isEditorPanelEnabled(`meta-box-${n}`)}}))(Al);function Ol(e){let{location:t}=e;const n=(0,c.useRegistry)(),{metaBoxes:l,areMetaBoxesInitialized:a,isEditorReady:o}=(0,c.useSelect)((e=>{const{__unstableIsEditorReady:n}=e(Ee.store),{getMetaBoxesPerLocation:l,areMetaBoxesInitialized:a}=e(At);return{metaBoxes:l(t),areMetaBoxesInitialized:a(),isEditorReady:n()}}),[t]);return(0,r.useEffect)((()=>{o&&!a&&n.dispatch(At).initializeMetaBoxes()}),[o,a]),a?(0,r.createElement)(r.Fragment,null,(0,w.map)(l,(e=>{let{id:t}=e;return(0,r.createElement)(Ll,{key:t,id:t})})),(0,r.createElement)(Ml,{location:t})):null}window.wp.warning;const{Fill:Dl,Slot:Rl}=(0,E.createSlotFill)("PluginDocumentSettingPanel"),Fl=(0,te.compose)((0,G.withPluginContext)(((e,t)=>(void 0===t.name&&"undefined"!=typeof process&&process.env,{icon:t.icon||e.icon,panelName:`${e.name}/${t.name}`}))),(0,c.withSelect)(((e,t)=>{let{panelName:n}=t;return{opened:e(At).isEditorPanelOpened(n),isEnabled:e(At).isEditorPanelEnabled(n)}})),(0,c.withDispatch)(((e,t)=>{let{panelName:n}=t;return{onToggle:()=>e(At).toggleEditorPanelOpened(n)}})))((e=>{let{isEnabled:t,panelName:n,opened:l,onToggle:a,className:o,title:i,icon:s,children:c}=e;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(En,{label:i,panelName:n}),(0,r.createElement)(Dl,null,t&&(0,r.createElement)(E.PanelBody,{className:o,title:i,icon:s,opened:l,onToggle:a},c)))}));Fl.Slot=Rl;var Vl=Fl;function Ul(e){let{className:t,...n}=e;const{postTitle:l,shortcut:a,showIconLabels:o}=(0,c.useSelect)((e=>({postTitle:e(Ee.store).getEditedPostAttribute("title"),shortcut:e(Vt.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),showIconLabels:e(At).isFeatureActive("showIconLabels")})),[]);return(0,r.createElement)(J,d({panelClassName:t,className:"edit-post-sidebar",smallScreenTitle:l||(0,g.__)("(no title)"),scope:"core/edit-post",toggleShortcut:a,showIconLabels:o},n))}var Gl=function(){const[e,t]=(0,r.useState)(!1),[n,l]=(0,r.useState)(!1),[a,o]=(0,r.useState)(""),{template:s,supportsTemplateMode:u,defaultTemplate:d}=(0,c.useSelect)((e=>{var t,n;const{getCurrentPostType:l,getEditorSettings:a}=e(Ee.store),{getPostType:o}=e(we.store),{getEditedPostTemplate:r}=e(At),i=null!==(t=null===(n=o(l()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t,s=a().supportsTemplateMode&&i;return{template:s&&r(),supportsTemplateMode:s,defaultTemplate:a().defaultBlockTemplate}}),[]),{__unstableCreateTemplate:m,__unstableSwitchToTemplateMode:p}=(0,c.useDispatch)(At);if(!u)return null;const _=(0,g.__)("Custom Template");return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"edit-post-template__actions"},!!s&&(0,r.createElement)(E.Button,{variant:"link",onClick:()=>p()},(0,g.__)("Edit")),(0,r.createElement)(E.Button,{variant:"link",onClick:()=>t(!0)},(0,g._x)("New","action"))),e&&(0,r.createElement)(E.Modal,{title:(0,g.__)("Create custom template"),closeLabel:(0,g.__)("Close"),onRequestClose:()=>{t(!1),o("")},overlayClassName:"edit-post-template__modal"},(0,r.createElement)("form",{onSubmit:async function(e){if(e.preventDefault(),n)return;l(!0);const o=null!=d?d:(0,i.serialize)([(0,i.createBlock)("core/group",{tagName:"header",layout:{inherit:!0}},[(0,i.createBlock)("core/site-title"),(0,i.createBlock)("core/site-tagline")]),(0,i.createBlock)("core/separator"),(0,i.createBlock)("core/group",{tagName:"main"},[(0,i.createBlock)("core/group",{layout:{inherit:!0}},[(0,i.createBlock)("core/post-title")]),(0,i.createBlock)("core/post-content",{layout:{inherit:!0}})])]);await m({slug:"wp-custom-template-"+(0,w.kebabCase)(a||_),content:o,title:a||_}),l(!1),t(!1),p(!0)}},(0,r.createElement)(E.Flex,{align:"flex-start",gap:8},(0,r.createElement)(E.FlexItem,null,(0,r.createElement)(E.TextControl,{label:(0,g.__)("Name"),value:a,onChange:o,placeholder:_,disabled:n,help:(0,g.__)('Describe the purpose of the template, e.g. "Full Width". Custom templates can be applied to any post or page.')}))),(0,r.createElement)(E.Flex,{className:"edit-post-template__modal-actions",justify:"flex-end",expanded:!1},(0,r.createElement)(E.FlexItem,null,(0,r.createElement)(E.Button,{variant:"tertiary",onClick:()=>{t(!1),o("")}},(0,g.__)("Cancel"))),(0,r.createElement)(E.FlexItem,null,(0,r.createElement)(E.Button,{variant:"primary",type:"submit",isBusy:n,"aria-disabled":n},(0,g.__)("Create")))))))};const zl="template";var Hl=function(){const{isEnabled:e,isOpened:t,selectedTemplate:n,availableTemplates:l,fetchedTemplates:a,isViewable:o,template:i,supportsTemplateMode:s,canUserCreate:u}=(0,c.useSelect)((e=>{var t,n;const{isEditorPanelEnabled:l,isEditorPanelOpened:a,getEditedPostTemplate:o}=e(At),{getEditedPostAttribute:r,getEditorSettings:i,getCurrentPostType:s}=e(Ee.store),{getPostType:c,getEntityRecords:u,canUser:d}=e(we.store),m=s(),p=null!==(t=null===(n=c(m))||void 0===n?void 0:n.viewable)&&void 0!==t&&t,E=e(Ee.store).getEditorSettings().supportsTemplateMode&&p,g=u("postType","wp_template",{post_type:m,per_page:-1}),_=(0,w.fromPairs)((g||[]).map((e=>{let{slug:t,title:n}=e;return[t,n.rendered]})));return{isEnabled:l(zl),isOpened:a(zl),selectedTemplate:r("template"),availableTemplates:i().availableTemplates,fetchedTemplates:_,template:E&&o(),isViewable:p,supportsTemplateMode:E,canUserCreate:d("create","templates")}}),[]),d=(0,r.useMemo)((()=>({...l,...a})),[l,a]),{toggleEditorPanelOpened:m}=(0,c.useDispatch)(At),{editPost:p}=(0,c.useDispatch)(Ee.store);if(!e||!o||(0,w.isEmpty)(l)&&(!s||!u))return null;const _=(0,w.partial)(m,zl);let h=(0,g.__)("Template");var b;return i&&(h=(0,g.sprintf)((0,g.__)("Template: %s"),null!==(b=null==i?void 0:i.title)&&void 0!==b?b:i.slug)),(0,r.createElement)(E.PanelBody,{title:h,opened:t,onToggle:_},(0,r.createElement)(E.SelectControl,{hideLabelFromVision:!0,label:(0,g.__)("Template:"),value:Object.keys(d).includes(n)?n:"",onChange:e=>{p({template:e||""})},options:(0,w.map)(d,((e,t)=>({value:t,label:e})))}),u&&(0,r.createElement)(Gl,null))};var Wl=(0,r.createElement)(_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(_.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));var $l=function(){const e=(0,c.useSelect)((e=>{const{getEditedPostTemplate:t}=e(At);return t()}),[]);return e?(0,r.createElement)(E.PanelBody,null,(0,r.createElement)(E.Flex,{align:"flex-start",gap:"3"},(0,r.createElement)(E.FlexItem,null,(0,r.createElement)(nn,{icon:Wl})),(0,r.createElement)(E.FlexBlock,null,(0,r.createElement)("h2",{className:"edit-post-template-summary__title"},(null==e?void 0:e.title)||(null==e?void 0:e.slug)),(0,r.createElement)("p",null,null==e?void 0:e.description)))):null};const ql=r.Platform.select({web:!0,native:!1});var Kl=()=>{const{sidebarName:e,keyboardShortcut:t,isTemplateMode:n}=(0,c.useSelect)((e=>{let t=e(U).getActiveComplementaryArea(At.name);["edit-post/document","edit-post/block"].includes(t)||(e(se.store).getBlockSelectionStart()&&(t="edit-post/block"),t="edit-post/document");return{sidebarName:t,keyboardShortcut:e(Vt.store).getShortcutRepresentation("core/edit-post/toggle-sidebar"),isTemplateMode:e(At).isEditingTemplate()}}),[]);return(0,r.createElement)(Ul,{identifier:e,header:(0,r.createElement)(nl,{sidebarName:e}),closeLabel:(0,g.__)("Close settings"),headerClassName:"edit-post-sidebar__panel-tabs",title:(0,g.__)("Settings"),toggleShortcut:t,icon:tl,isActiveByDefault:ql},!n&&"edit-post/document"===e&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(_l,null),(0,r.createElement)(Hl,null),(0,r.createElement)(Vl.Slot,null),(0,r.createElement)(hl,null),(0,r.createElement)(xl,null),(0,r.createElement)(fl,null),(0,r.createElement)(Sl,null),(0,r.createElement)(Pl,null),(0,r.createElement)(Il,null),(0,r.createElement)(Nl,null),(0,r.createElement)(Ol,{location:"side"})),n&&"edit-post/document"===e&&(0,r.createElement)($l,null),"edit-post/block"===e&&(0,r.createElement)(se.BlockInspector,null))};function jl(e){let{nonAnimatedSrc:t,animatedSrc:n}=e;return(0,r.createElement)("picture",{className:"edit-post-welcome-guide__image"},(0,r.createElement)("source",{srcSet:t,media:"(prefers-reduced-motion: reduce)"}),(0,r.createElement)("img",{src:n,width:"312",height:"240",alt:""}))}function Yl(){const{toggleFeature:e}=(0,c.useDispatch)(At);return(0,r.createElement)(E.Guide,{className:"edit-post-welcome-guide",contentLabel:(0,g.__)("Welcome to the block editor"),finishButtonText:(0,g.__)("Get started"),onFinish:()=>e("welcomeGuide"),pages:[{image:(0,r.createElement)(jl,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},(0,g.__)("Welcome to the block editor")),(0,r.createElement)("p",{className:"edit-post-welcome-guide__text"},(0,g.__)("In the WordPress editor, each paragraph, image, or video is presented as a distinct “block” of content.")))},{image:(0,r.createElement)(jl,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},(0,g.__)("Make each block your own")),(0,r.createElement)("p",{className:"edit-post-welcome-guide__text"},(0,g.__)("Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.")))},{image:(0,r.createElement)(jl,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},(0,g.__)("Get to know the block library")),(0,r.createElement)("p",{className:"edit-post-welcome-guide__text"},(0,r.createInterpolateElement)((0,g.__)("All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon."),{InserterIconImage:(0,r.createElement)("img",{alt:(0,g.__)("inserter"),src:"data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' rx='2' fill='%231E1E1E'/%3E%3Cpath d='M9.22727 4V14M4 8.77273H14' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A"})})))},{image:(0,r.createElement)(jl,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},(0,g.__)("Learn how to use the block editor")),(0,r.createElement)("p",{className:"edit-post-welcome-guide__text"},(0,g.__)("New to the block editor? Want to learn more about using it? "),(0,r.createElement)(E.ExternalLink,{href:(0,g.__)("https://wordpress.org/support/article/wordpress-editor/")},(0,g.__)("Here's a detailed guide."))))}]})}function Xl(){const{toggleFeature:e}=(0,c.useDispatch)(At);return(0,r.createElement)(E.Guide,{className:"edit-post-welcome-guide",contentLabel:(0,g.__)("Welcome to the template editor"),finishButtonText:(0,g.__)("Get started"),onFinish:()=>e("welcomeGuideTemplate"),pages:[{image:(0,r.createElement)(jl,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-template-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-template-editor.gif"}),content:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h1",{className:"edit-post-welcome-guide__heading"},(0,g.__)("Welcome to the template editor")),(0,r.createElement)("p",{className:"edit-post-welcome-guide__text"},(0,g.__)("Templates help define the layout of the site. You can customize all aspects of your posts and pages using blocks and patterns in this editor.")))}]})}function Ql(){const{isActive:e,isTemplateMode:t}=(0,c.useSelect)((e=>{const{isFeatureActive:t,isEditingTemplate:n}=e(At),l=n();return{isActive:t(l?"welcomeGuideTemplate":"welcomeGuide"),isTemplateMode:l}}),[]);return e?t?(0,r.createElement)(Xl,null):(0,r.createElement)(Yl,null):null}const{Fill:Zl,Slot:Jl}=(0,E.createSlotFill)("PluginPostPublishPanel"),ea=(0,te.compose)((0,G.withPluginContext)(((e,t)=>({icon:t.icon||e.icon}))))((e=>{let{children:t,className:n,title:l,initialOpen:a=!1,icon:o}=e;return(0,r.createElement)(Zl,null,(0,r.createElement)(E.PanelBody,{className:n,initialOpen:a||!l,title:l,icon:o},t))}));ea.Slot=Jl;var ta=ea;const{Fill:na,Slot:la}=(0,E.createSlotFill)("PluginPrePublishPanel"),aa=(0,te.compose)((0,G.withPluginContext)(((e,t)=>({icon:t.icon||e.icon}))))((e=>{let{children:t,className:n,title:l,initialOpen:a=!1,icon:o}=e;return(0,r.createElement)(na,null,(0,r.createElement)(E.PanelBody,{className:n,initialOpen:a||!l,title:l,icon:o},t))}));aa.Slot=la;var oa=aa;const{Fill:ra,Slot:ia}=(0,E.createSlotFill)("ActionsPanel");function sa(e){let{setEntitiesSavedStatesCallback:t,closeEntitiesSavedStates:n,isEntitiesSavedStatesOpen:l}=e;const{closePublishSidebar:a,togglePublishSidebar:o}=(0,c.useDispatch)(At),{publishSidebarOpened:i,hasActiveMetaboxes:s,isSavingMetaBoxes:u,hasNonPostEntityChanges:d}=(0,c.useSelect)((e=>({publishSidebarOpened:e(At).isPublishSidebarOpened(),hasActiveMetaboxes:e(At).hasMetaBoxes(),isSavingMetaBoxes:e(At).isSavingMetaBoxes(),hasNonPostEntityChanges:e(Ee.store).hasNonPostEntityChanges()})),[]),m=(0,r.useCallback)((()=>t(!0)),[]);let p;return p=i?(0,r.createElement)(Ee.PostPublishPanel,{onClose:a,forceIsDirty:s,forceIsSaving:u,PrePublishExtension:oa.Slot,PostPublishExtension:ta.Slot}):d?(0,r.createElement)("div",{className:"edit-post-layout__toggle-entities-saved-states-panel"},(0,r.createElement)(E.Button,{variant:"secondary",className:"edit-post-layout__toggle-entities-saved-states-panel-button",onClick:m,"aria-expanded":!1},(0,g.__)("Open save panel"))):(0,r.createElement)("div",{className:"edit-post-layout__toggle-publish-panel"},(0,r.createElement)(E.Button,{variant:"secondary",className:"edit-post-layout__toggle-publish-panel-button",onClick:o,"aria-expanded":!1},(0,g.__)("Open publish panel"))),(0,r.createElement)(r.Fragment,null,l&&(0,r.createElement)(Ee.EntitiesSavedStates,{close:n}),(0,r.createElement)(ia,{bubblesVirtually:!0}),!l&&p)}const ca={secondarySidebar:(0,g.__)("Block library"),header:(0,g.__)("Editor top bar"),body:(0,g.__)("Editor content"),sidebar:(0,g.__)("Editor settings"),actions:(0,g.__)("Editor publish"),footer:(0,g.__)("Editor footer")};var ua=function(e){let{styles:t}=e;const n=(0,te.useViewportMatch)("medium","<"),l=(0,te.useViewportMatch)("huge",">="),{openGeneralSidebar:a,closeGeneralSidebar:o,setIsInserterOpened:i}=(0,c.useDispatch)(At),{mode:s,isFullscreenActive:u,isRichEditingEnabled:d,sidebarIsOpened:m,hasActiveMetaboxes:_,hasFixedToolbar:h,previousShortcut:b,nextShortcut:f,hasBlockSelected:v,isInserterOpened:y,isListViewOpened:w,showIconLabels:S,hasReducedUI:k,showBlockBreadcrumbs:P,isTemplateMode:T,documentLabel:x}=(0,c.useSelect)((e=>{const{getEditorSettings:t,getPostTypeLabel:n}=e(Ee.store),l=t(),a=n();return{isTemplateMode:e(At).isEditingTemplate(),hasFixedToolbar:e(At).isFeatureActive("fixedToolbar"),sidebarIsOpened:!(!e(U).getActiveComplementaryArea(At.name)&&!e(At).isPublishSidebarOpened()),isFullscreenActive:e(At).isFeatureActive("fullscreenMode"),isInserterOpened:e(At).isInserterOpened(),isListViewOpened:e(At).isListViewOpened(),mode:e(At).getEditorMode(),isRichEditingEnabled:l.richEditingEnabled,hasActiveMetaboxes:e(At).hasMetaBoxes(),previousShortcut:e(Vt.store).getAllShortcutKeyCombinations("core/edit-post/previous-region"),nextShortcut:e(Vt.store).getAllShortcutKeyCombinations("core/edit-post/next-region"),showIconLabels:e(At).isFeatureActive("showIconLabels"),hasReducedUI:e(At).isFeatureActive("reducedUI"),showBlockBreadcrumbs:e(At).isFeatureActive("showBlockBreadcrumbs"),documentLabel:a||(0,g._x)("Document","noun")}}),[]),C=p()("edit-post-layout","is-mode-"+s,{"is-sidebar-opened":m,"has-fixed-toolbar":h,"has-metaboxes":_,"show-icon-labels":S});(0,r.useEffect)((()=>{m&&!l&&i(!1)}),[m,l]),(0,r.useEffect)((()=>{y&&!l&&o()}),[y,l]);const[I,B]=(0,r.useState)(!1),N=(0,r.useCallback)((e=>{"function"==typeof I&&I(e),B(!1)}),[I]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(ee,{isActive:u}),(0,r.createElement)(Tn,null),(0,r.createElement)(Ee.UnsavedChangesWarning,null),(0,r.createElement)(Ee.AutosaveMonitor,null),(0,r.createElement)(Ee.LocalAutosaveMonitor,null),(0,r.createElement)(qt,null),(0,r.createElement)(Ee.EditorKeyboardShortcutsRegister,null),(0,r.createElement)(Kl,null),(0,r.createElement)(ne,{className:C,labels:ca,header:(0,r.createElement)(Qn,{setEntitiesSavedStatesCallback:B}),secondarySidebar:"visual"===s&&y?(0,r.createElement)(Jn,null):"visual"===s&&w?(0,r.createElement)(el,null):null,sidebar:(!n||m)&&(0,r.createElement)(r.Fragment,null,!n&&!m&&(0,r.createElement)("div",{className:"edit-post-layout__toggle-sidebar-panel"},(0,r.createElement)(E.Button,{variant:"secondary",className:"edit-post-layout__toggle-sidebar-panel-button",onClick:()=>a(v?"edit-post/block":"edit-post/document"),"aria-expanded":!1},v?(0,g.__)("Open block settings"):(0,g.__)("Open document settings"))),(0,r.createElement)(J.Slot,{scope:"core/edit-post"})),notices:(0,r.createElement)(Ee.EditorSnackbars,null),content:(0,r.createElement)(r.Fragment,null,(0,r.createElement)(Ee.EditorNotices,null),("text"===s||!d)&&(0,r.createElement)(Gt,null),d&&"visual"===s&&(0,r.createElement)($t,{styles:t}),!T&&(0,r.createElement)("div",{className:"edit-post-layout__metaboxes"},(0,r.createElement)(Ol,{location:"normal"}),(0,r.createElement)(Ol,{location:"advanced"})),n&&m&&(0,r.createElement)(E.ScrollLock,null)),footer:!k&&P&&!n&&d&&"visual"===s&&(0,r.createElement)("div",{className:"edit-post-layout__footer"},(0,r.createElement)(se.BlockBreadcrumb,{rootLabelText:x})),actions:(0,r.createElement)(sa,{closeEntitiesSavedStates:N,isEntitiesSavedStatesOpen:I,setEntitiesSavedStatesCallback:B}),shortcuts:{previous:b,next:f}}),(0,r.createElement)(kn,null),(0,r.createElement)(tn,null),(0,r.createElement)(Ql,null),(0,r.createElement)(E.Popover.Slot,null),(0,r.createElement)(G.PluginArea,null))};function da(e){let{postId:t}=e;return(e=>{const{hasBlockSelection:t,isEditorSidebarOpened:n}=(0,c.useSelect)((e=>({hasBlockSelection:!!e(se.store).getBlockSelectionStart(),isEditorSidebarOpened:e(Nt).isEditorSidebarOpened()})),[e]),{openGeneralSidebar:l}=(0,c.useDispatch)(Nt);(0,r.useEffect)((()=>{n&&l(t?"edit-post/block":"edit-post/document")}),[t,n])})(t),(e=>{const{newPermalink:t}=(0,c.useSelect)((e=>({newPermalink:e(Ee.store).getCurrentPost().link})),[e]),n=(0,r.useRef)();(0,r.useEffect)((()=>{n.current=document.querySelector("#wp-admin-bar-preview a")||document.querySelector("#wp-admin-bar-view a")}),[e]),(0,r.useEffect)((()=>{t&&n.current&&n.current.setAttribute("href",t)}),[t])})(t),null}var ma=function(e){let{postId:t,postType:n,settings:l,initialEdits:a,onError:o,...s}=e;const{hasFixedToolbar:u,focusMode:m,hasReducedUI:p,hasThemeStyles:g,post:_,preferredStyleVariations:h,hiddenBlockTypes:b,blockTypes:f,__experimentalLocalAutosaveInterval:v,keepCaretInsideBlock:y,isTemplateMode:S,template:k}=(0,c.useSelect)((e=>{var l,a;const{isFeatureActive:o,getPreference:r,__experimentalGetPreviewDeviceType:s,isEditingTemplate:c,getEditedPostTemplate:u}=e(At),{getEntityRecord:d,getPostType:m,getEntityRecords:p}=e(we.store),{getEditorSettings:E}=e(Ee.store),{getBlockTypes:g}=e(i.store);let _;if(["wp_template","wp_template_part"].includes(n)){const e=p("postType",n,{wp_id:t});_=null==e?void 0:e[0]}else _=d("postType",n,t);const h=E().supportsTemplateMode,b=null!==(l=null===(a=m(n))||void 0===a?void 0:a.viewable)&&void 0!==l&&l;return{hasFixedToolbar:o("fixedToolbar")||"Desktop"!==s(),focusMode:o("focusMode"),hasReducedUI:o("reducedUI"),hasThemeStyles:o("themeStyles"),preferredStyleVariations:r("preferredStyleVariations"),hiddenBlockTypes:r("hiddenBlockTypes"),blockTypes:g(),__experimentalLocalAutosaveInterval:r("localAutosaveInterval"),keepCaretInsideBlock:o("keepCaretInsideBlock"),isTemplateMode:c(),template:h&&b?u():null,post:_}}),[n,t]),{updatePreferredStyleVariations:P,setIsInserterOpened:T}=(0,c.useDispatch)(At),x=(0,r.useMemo)((()=>{const e={...l,__experimentalPreferredStyleVariations:{value:h,onChange:P},hasFixedToolbar:u,focusMode:m,hasReducedUI:p,__experimentalLocalAutosaveInterval:v,__experimentalSetIsInserterOpened:T,keepCaretInsideBlock:y};if((0,w.size)(b)>0){const t=!0===l.allowedBlockTypes?(0,w.map)(f,"name"):l.allowedBlockTypes||[];e.allowedBlockTypes=(0,w.without)(t,...b)}return e}),[l,u,m,p,b,f,h,v,T,P,y]),C=(0,r.useMemo)((()=>{const e=[],t=[];l.styles.forEach((n=>{n.__unstableType&&"theme"!==n.__unstableType?t.push(n):e.push(n)}));const n=[...l.defaultEditorStyles,...t];return g&&e.length?l.styles:n}),[l,g]);return _?(0,r.createElement)(r.StrictMode,null,(0,r.createElement)(Vt.ShortcutProvider,null,(0,r.createElement)(fn.Provider,{value:l},(0,r.createElement)(E.SlotFillProvider,null,(0,r.createElement)(Ee.EditorProvider,d({settings:x,post:_,initialEdits:a,useSubRegistry:!1,__unstableTemplate:S?k:void 0},s),(0,r.createElement)(Ee.ErrorBoundary,{onError:o},(0,r.createElement)(da,{postId:t}),(0,r.createElement)(ua,{styles:C}),(0,r.createElement)(E.KeyboardShortcuts,{shortcuts:Ut})),(0,r.createElement)(Ee.PostLockedModal,null)))))):null};const pa=(e,t)=>{return!Array.isArray(t)||(n=e,l=t,0===(0,w.difference)(n,l).length);var n,l};var Ea=e=>{let{allowedBlocks:t,icon:n,label:l,onClick:a,small:o,role:i}=e;return(0,r.createElement)(se.BlockSettingsMenuControls,null,(e=>{let{selectedBlocks:s,onClose:c}=e;return pa(s,t)?(0,r.createElement)(E.MenuItem,{onClick:(0,te.compose)(a,c),icon:n,label:o?l:void 0,role:i},!o&&l):null}))},ga=(0,te.compose)((0,G.withPluginContext)(((e,t)=>({icon:t.icon||e.icon,name:"core/edit-post/plugin-more-menu"}))))(q);function _a(e){return(0,r.createElement)(j,d({__unstableExplicitMenuItem:!0,scope:"core/edit-post"},e))}function ha(e,t,n,l,a){(0,r.unmountComponentAtNode)(n);const o=ha.bind(null,e,t,n,l,a);(0,r.render)((0,r.createElement)(ma,{settings:l,onError:o,postId:t,postType:e,initialEdits:a,recovery:!0}),n)}function ba(e,t,n,l,a){(0,u.addFilter)("blockEditor.__unstableCanInsertBlockType","removeTemplatePartsFromInserter",((e,t)=>!(!(0,c.select)(At).isEditingTemplate()&&"core/template-part"===t.name)&&e));const o=document.getElementById(e),d=ha.bind(null,t,n,o,l,a);(0,c.dispatch)(U).setFeatureDefaults("core/edit-post",{fixedToolbar:!1,welcomeGuide:!0,fullscreenMode:!0,showIconLabels:!1,themeStyles:!0,showBlockBreadcrumbs:!0,welcomeGuideTemplate:!0}),(0,c.dispatch)(i.store).__experimentalReapplyBlockTypeFilters(),(0,s.registerCoreBlocks)();"Standards"!==("CSS1Compat"===document.compatMode?"Standards":"Quirks")&&console.warn("Your browser is using Quirks Mode. \nThis can cause rendering issues such as blocks overlaying meta boxes in the editor. Quirks Mode can be triggered by PHP errors or HTML code appearing before the opening <!DOCTYPE html>. Try checking the raw page source or your site's PHP error log and resolving errors there, removing any HTML before the doctype, or disabling plugins.");-1!==window.navigator.userAgent.indexOf("iPhone")&&window.addEventListener("scroll",(e=>{const t=document.getElementsByClassName("interface-interface-skeleton__body")[0];e.target===document&&(window.scrollY>100&&(t.scrollTop=t.scrollTop+window.scrollY),document.getElementsByClassName("is-mode-visual")[0]&&window.scrollTo(0,0))})),(0,r.render)((0,r.createElement)(ma,{settings:l,onError:d,postId:n,postType:t,initialEdits:a}),o)}}(),(window.wp=window.wp||{}).editPost=l}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/edit-site.js b/wp-includes/js/dist/edit-site.js
index 33ddff9ee7..14d6434cf9 100644
--- a/wp-includes/js/dist/edit-site.js
+++ b/wp-includes/js/dist/edit-site.js
@@ -1,398 +1,431 @@
-this["wp"] = this["wp"] || {}; this["wp"]["editSite"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "IqXm");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "0Ene":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const plugins = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (plugins);
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

+/***/ 4403:
+/***/ (function(module, exports) {

-/***/ }),
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */

-/***/ "1ZqX":
-/***/ (function(module, exports) {
+(function () {
+	'use strict';

-(function() { module.exports = window["wp"]["data"]; }());
+	var hasOwn = {}.hasOwnProperty;

-/***/ }),
+	function classNames() {
+		var classes = [];

-/***/ "1iEr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+			var argType = typeof arg;

+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}

-/**
- * WordPress dependencies
- */
+		return classes.join(' ');
+	}

-const chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronRight);
+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());


 /***/ }),

-/***/ "2gm7":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+/***/ 8981:
+/***/ (function(module, exports) {

+var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//download.js v4.2, by dandavis; 2008-2016. [MIT] see http://danml.com/download.html for tests/usage
+// v1 landed a FF+Chrome compat way of downloading strings to local un-named files, upgraded to use a hidden frame and optional mime
+// v2 added named files via a[download], msSaveBlob, IE (10+) support, and window.URL support for larger+faster saves than dataURLs
+// v3 added dataURL and Blob Input, bind-toggle arity, and legacy dataURL fallback was improved with force-download mime and base64 support. 3.1 improved safari handling.
+// v4 adds AMD/UMD, commonJS, and plain browser support
+// v4.1 adds url download capability via solo URL argument (same domain/CORS only)
+// v4.2 adds semantic variable names, long (over 2MB) dataURL support, and hidden by default temp anchors
+// https://github.com/rndme/download

-/**
- * WordPress dependencies
- */
+(function (root, factory) {
+	if (true) {
+		// AMD. Register as an anonymous module.
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
+		__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
+		(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}(this, function () {

-const chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
+	return function download(data, strFileName, strMimeType) {

+		var self = window, // this script is only for browsers anyway...
+			defaultMime = "application/octet-stream", // this default mime also triggers iframe downloads
+			mimeType = strMimeType || defaultMime,
+			payload = data,
+			url = !strFileName && !strMimeType && payload,
+			anchor = document.createElement("a"),
+			toString = function(a){return String(a);},
+			myBlob = (self.Blob || self.MozBlob || self.WebKitBlob || toString),
+			fileName = strFileName || "download",
+			blob,
+			reader;
+			myBlob= myBlob.call ? myBlob.bind(self) : Blob ;
+
+		if(String(this)==="true"){ //reverse arguments, allowing download.bind(true, "text/xml", "export.xml") to act as a callback
+			payload=[payload, mimeType];
+			mimeType=payload[0];
+			payload=payload[1];
+		}

-/***/ }),

-/***/ "51Zz":
-/***/ (function(module, exports) {
+		if(url && url.length< 2048){ // if no filename and no mime, assume a url was passed as the only argument
+			fileName = url.split("/").pop().split("?")[0];
+			anchor.href = url; // assign href prop to temp anchor
+		  	if(anchor.href.indexOf(url) !== -1){ // if the browser determines that it's a potentially valid url path:
+        		var ajax=new XMLHttpRequest();
+        		ajax.open( "GET", url, true);
+        		ajax.responseType = 'blob';
+        		ajax.onload= function(e){
+				  download(e.target.response, fileName, defaultMime);
+				};
+        		setTimeout(function(){ ajax.send();}, 0); // allows setting custom ajax headers using the return:
+			    return ajax;
+			} // end if valid url?
+		} // end if url?

-(function() { module.exports = window["wp"]["dataControls"]; }());

-/***/ }),
+		//go ahead and download dataURLs right away
+		if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(payload)){
+
+			if(payload.length > (1024*1024*1.999) && myBlob !== toString ){
+				payload=dataUrlToBlob(payload);
+				mimeType=payload.type || defaultMime;
+			}else{
+				return navigator.msSaveBlob ?  // IE10 can't do a[download], only Blobs:
+					navigator.msSaveBlob(dataUrlToBlob(payload), fileName) :
+					saver(payload) ; // everyone else can save dataURLs un-processed
+			}
+
+		}else{//not data url, is it a string with special needs?
+			if(/([\x80-\xff])/.test(payload)){
+				var i=0, tempUiArr= new Uint8Array(payload.length), mx=tempUiArr.length;
+				for(i;i<mx;++i) tempUiArr[i]= payload.charCodeAt(i);
+			 	payload=new myBlob([tempUiArr], {type: mimeType});
+			}
+		}
+		blob = payload instanceof myBlob ?
+			payload :
+			new myBlob([payload], {type: mimeType}) ;

-/***/ "6aBm":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["mediaUtils"]; }());
+		function dataUrlToBlob(strUrl) {
+			var parts= strUrl.split(/[:;,]/),
+			type= parts[1],
+			decoder= parts[2] == "base64" ? atob : decodeURIComponent,
+			binData= decoder( parts.pop() ),
+			mx= binData.length,
+			i= 0,
+			uiArr= new Uint8Array(mx);

-/***/ }),
+			for(i;i<mx;++i) uiArr[i]= binData.charCodeAt(i);

-/***/ "B9Az":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+			return new myBlob([uiArr], {type: type});
+		 }

-"use strict";
+		function saver(url, winMode){

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+			if ('download' in anchor) { //html5 A[download]
+				anchor.href = url;
+				anchor.setAttribute("download", fileName);
+				anchor.className = "download-js-link";
+				anchor.innerHTML = "downloading...";
+				anchor.style.display = "none";
+				document.body.appendChild(anchor);
+				setTimeout(function() {
+					anchor.click();
+					document.body.removeChild(anchor);
+					if(winMode===true){setTimeout(function(){ self.URL.revokeObjectURL(anchor.href);}, 250 );}
+				}, 66);
+				return true;
+			}

-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+			// handle non-a[download] safari as best we can:
+			if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent)) {
+				if(/^data:/.test(url))	url="data:"+url.replace(/^data:([\w\/\-\+]+)/, defaultMime);
+				if(!window.open(url)){ // popup blocked, offer direct download:
+					if(confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")){ location.href=url; }
+				}
+				return true;
+			}

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js
+			//do iframe dataURL download (old ch+FF):
+			var f = document.createElement("iframe");
+			document.body.appendChild(f);

+			if(!winMode && /^data:/.test(url)){ // force a mime that will download:
+				url="data:"+url.replace(/^data:([\w\/\-\+]+)/, defaultMime);
+			}
+			f.src=url;
+			setTimeout(function(){ document.body.removeChild(f); }, 333);

-/**
- * WordPress dependencies
- */
+		}//end saver

-const pencil = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["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"
-}));
-/* harmony default export */ var library_pencil = (pencil);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
-/**
- * Internal dependencies
- */

-/* harmony default export */ var edit = __webpack_exports__["a"] = (library_pencil);

+		if (navigator.msSaveBlob) { // IE10+ : (has Blob, but not a[download] or URL)
+			return navigator.msSaveBlob(blob, fileName);
+		}

-/***/ }),
+		if(self.URL){ // simple fast and modern way using Blob and URL:
+			saver(self.URL.createObjectURL(blob), true);
+		}else{
+			// handle non-Blob()+non-URL browsers:
+			if(typeof blob === "string" || blob.constructor===toString ){
+				try{
+					return saver( "data:" +  mimeType   + ";base64,"  +  self.btoa(blob)  );
+				}catch(y){
+					return saver( "data:" +  mimeType   + "," + encodeURIComponent(blob)  );
+				}
+			}

-/***/ "Cg8A":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+			// Blob but not URL support:
+			reader=new FileReader();
+			reader.onload=function(e){
+				saver(this.result);
+			};
+			reader.readAsDataURL(blob);
+		}
+		return true;
+	}; /* end download() */
+}));

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);

+/***/ })

-/**
- * WordPress dependencies
- */
-
-const cog = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  fillRule: "evenodd",
-  d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",
-  clipRule: "evenodd"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (cog);
-
-
-/***/ }),
-
-/***/ "Civd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const layout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (layout);
-
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "HSyU":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blocks"]; }());
-
-/***/ }),
-
-/***/ "IqXm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
 "use strict";
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "reinitializeEditor", function() { return /* binding */ reinitializeEditor; });
-__webpack_require__.d(__webpack_exports__, "initializeEditor", function() { return /* binding */ initializeEditor; });
-__webpack_require__.d(__webpack_exports__, "__experimentalMainDashboardButton", function() { return /* reexport */ main_dashboard_button; });
-__webpack_require__.d(__webpack_exports__, "__experimentalNavigationToggle", function() { return /* reexport */ navigation_toggle; });
-__webpack_require__.d(__webpack_exports__, "PluginSidebar", function() { return /* reexport */ PluginSidebarEditSite; });
-__webpack_require__.d(__webpack_exports__, "PluginSidebarMoreMenuItem", function() { return /* reexport */ PluginSidebarMoreMenuItem; });
-__webpack_require__.d(__webpack_exports__, "PluginMoreMenuItem", function() { return /* reexport */ plugin_more_menu_item; });
+__webpack_require__.d(__webpack_exports__, {
+  "PluginMoreMenuItem": function() { return /* reexport */ plugin_more_menu_item; },
+  "PluginSidebar": function() { return /* reexport */ PluginSidebarEditSite; },
+  "PluginSidebarMoreMenuItem": function() { return /* reexport */ PluginSidebarMoreMenuItem; },
+  "__experimentalMainDashboardButton": function() { return /* reexport */ main_dashboard_button; },
+  "__experimentalNavigationToggle": function() { return /* reexport */ navigation_toggle; },
+  "initializeEditor": function() { return /* binding */ initializeEditor; },
+  "reinitializeEditor": function() { return /* binding */ reinitializeEditor; }
+});

-// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-site/build-module/store/actions.js
+// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "toggleFeature", function() { return actions_toggleFeature; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalSetPreviewDeviceType", function() { return __experimentalSetPreviewDeviceType; });
-__webpack_require__.d(actions_namespaceObject, "setTemplate", function() { return actions_setTemplate; });
-__webpack_require__.d(actions_namespaceObject, "addTemplate", function() { return addTemplate; });
-__webpack_require__.d(actions_namespaceObject, "removeTemplate", function() { return actions_removeTemplate; });
-__webpack_require__.d(actions_namespaceObject, "setTemplatePart", function() { return actions_setTemplatePart; });
-__webpack_require__.d(actions_namespaceObject, "setHomeTemplateId", function() { return setHomeTemplateId; });
-__webpack_require__.d(actions_namespaceObject, "setPage", function() { return actions_setPage; });
-__webpack_require__.d(actions_namespaceObject, "setNavigationPanelActiveMenu", function() { return setNavigationPanelActiveMenu; });
-__webpack_require__.d(actions_namespaceObject, "openNavigationPanelToMenu", function() { return openNavigationPanelToMenu; });
-__webpack_require__.d(actions_namespaceObject, "setIsNavigationPanelOpened", function() { return actions_setIsNavigationPanelOpened; });
-__webpack_require__.d(actions_namespaceObject, "setIsInserterOpened", function() { return actions_setIsInserterOpened; });
-__webpack_require__.d(actions_namespaceObject, "updateSettings", function() { return actions_updateSettings; });
-__webpack_require__.d(actions_namespaceObject, "setIsListViewOpened", function() { return actions_setIsListViewOpened; });
-__webpack_require__.d(actions_namespaceObject, "revertTemplate", function() { return actions_revertTemplate; });
-__webpack_require__.d(actions_namespaceObject, "openGeneralSidebar", function() { return openGeneralSidebar; });
-__webpack_require__.d(actions_namespaceObject, "closeGeneralSidebar", function() { return closeGeneralSidebar; });
+__webpack_require__.d(actions_namespaceObject, {
+  "disableComplementaryArea": function() { return disableComplementaryArea; },
+  "enableComplementaryArea": function() { return enableComplementaryArea; },
+  "pinItem": function() { return pinItem; },
+  "setFeatureDefaults": function() { return setFeatureDefaults; },
+  "setFeatureValue": function() { return setFeatureValue; },
+  "toggleFeature": function() { return toggleFeature; },
+  "unpinItem": function() { return unpinItem; }
+});

-// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-site/build-module/store/selectors.js
+// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/selectors.js
 var selectors_namespaceObject = {};
 __webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "isFeatureActive", function() { return isFeatureActive; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetPreviewDeviceType", function() { return selectors_experimentalGetPreviewDeviceType; });
-__webpack_require__.d(selectors_namespaceObject, "getCanUserCreateMedia", function() { return getCanUserCreateMedia; });
-__webpack_require__.d(selectors_namespaceObject, "getReusableBlocks", function() { return getReusableBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getSettings", function() { return selectors_getSettings; });
-__webpack_require__.d(selectors_namespaceObject, "getHomeTemplateId", function() { return getHomeTemplateId; });
-__webpack_require__.d(selectors_namespaceObject, "getEditedPostType", function() { return selectors_getEditedPostType; });
-__webpack_require__.d(selectors_namespaceObject, "getEditedPostId", function() { return selectors_getEditedPostId; });
-__webpack_require__.d(selectors_namespaceObject, "getPage", function() { return selectors_getPage; });
-__webpack_require__.d(selectors_namespaceObject, "getNavigationPanelActiveMenu", function() { return getNavigationPanelActiveMenu; });
-__webpack_require__.d(selectors_namespaceObject, "getCurrentTemplateNavigationPanelSubMenu", function() { return getCurrentTemplateNavigationPanelSubMenu; });
-__webpack_require__.d(selectors_namespaceObject, "isNavigationOpened", function() { return selectors_isNavigationOpened; });
-__webpack_require__.d(selectors_namespaceObject, "isInserterOpened", function() { return selectors_isInserterOpened; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetInsertionPoint", function() { return __experimentalGetInsertionPoint; });
-__webpack_require__.d(selectors_namespaceObject, "isListViewOpened", function() { return selectors_isListViewOpened; });
-__webpack_require__.d(selectors_namespaceObject, "getCurrentTemplateTemplateParts", function() { return getCurrentTemplateTemplateParts; });
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: external ["wp","blockLibrary"]
-var external_wp_blockLibrary_ = __webpack_require__("QyPg");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
-
-// EXTERNAL MODULE: external ["wp","editor"]
-var external_wp_editor_ = __webpack_require__("jSdM");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","viewport"]
-var external_wp_viewport_ = __webpack_require__("KEfo");
-
-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
+__webpack_require__.d(selectors_namespaceObject, {
+  "getActiveComplementaryArea": function() { return getActiveComplementaryArea; },
+  "isFeatureActive": function() { return isFeatureActive; },
+  "isItemPinned": function() { return isItemPinned; }
+});

-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
+// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-site/build-module/store/actions.js
+var store_actions_namespaceObject = {};
+__webpack_require__.r(store_actions_namespaceObject);
+__webpack_require__.d(store_actions_namespaceObject, {
+  "__experimentalSetPreviewDeviceType": function() { return __experimentalSetPreviewDeviceType; },
+  "addTemplate": function() { return addTemplate; },
+  "closeGeneralSidebar": function() { return closeGeneralSidebar; },
+  "openGeneralSidebar": function() { return openGeneralSidebar; },
+  "openNavigationPanelToMenu": function() { return openNavigationPanelToMenu; },
+  "removeTemplate": function() { return removeTemplate; },
+  "revertTemplate": function() { return revertTemplate; },
+  "setHomeTemplateId": function() { return setHomeTemplateId; },
+  "setIsInserterOpened": function() { return setIsInserterOpened; },
+  "setIsListViewOpened": function() { return setIsListViewOpened; },
+  "setIsNavigationPanelOpened": function() { return setIsNavigationPanelOpened; },
+  "setNavigationPanelActiveMenu": function() { return setNavigationPanelActiveMenu; },
+  "setPage": function() { return setPage; },
+  "setTemplate": function() { return setTemplate; },
+  "setTemplatePart": function() { return setTemplatePart; },
+  "toggleFeature": function() { return actions_toggleFeature; },
+  "updateSettings": function() { return updateSettings; }
+});

-// EXTERNAL MODULE: external ["wp","mediaUtils"]
-var external_wp_mediaUtils_ = __webpack_require__("6aBm");
+// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-site/build-module/store/selectors.js
+var store_selectors_namespaceObject = {};
+__webpack_require__.r(store_selectors_namespaceObject);
+__webpack_require__.d(store_selectors_namespaceObject, {
+  "__experimentalGetInsertionPoint": function() { return __experimentalGetInsertionPoint; },
+  "__experimentalGetPreviewDeviceType": function() { return __experimentalGetPreviewDeviceType; },
+  "getCanUserCreateMedia": function() { return getCanUserCreateMedia; },
+  "getCurrentTemplateNavigationPanelSubMenu": function() { return getCurrentTemplateNavigationPanelSubMenu; },
+  "getCurrentTemplateTemplateParts": function() { return getCurrentTemplateTemplateParts; },
+  "getEditedPostId": function() { return getEditedPostId; },
+  "getEditedPostType": function() { return getEditedPostType; },
+  "getHomeTemplateId": function() { return getHomeTemplateId; },
+  "getNavigationPanelActiveMenu": function() { return getNavigationPanelActiveMenu; },
+  "getPage": function() { return getPage; },
+  "getReusableBlocks": function() { return getReusableBlocks; },
+  "getSettings": function() { return getSettings; },
+  "isFeatureActive": function() { return selectors_isFeatureActive; },
+  "isInserterOpened": function() { return isInserterOpened; },
+  "isListViewOpened": function() { return isListViewOpened; },
+  "isNavigationOpened": function() { return isNavigationOpened; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/hooks/components.js
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","blockLibrary"]
+var external_wp_blockLibrary_namespaceObject = window["wp"]["blockLibrary"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external ["wp","coreData"]
+var external_wp_coreData_namespaceObject = window["wp"]["coreData"];
+;// CONCATENATED MODULE: external ["wp","editor"]
+var external_wp_editor_namespaceObject = window["wp"]["editor"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","viewport"]
+var external_wp_viewport_namespaceObject = window["wp"]["viewport"];
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: external ["wp","mediaUtils"]
+var external_wp_mediaUtils_namespaceObject = window["wp"]["mediaUtils"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/hooks/components.js
 /**
  * WordPress dependencies
  */


-Object(external_wp_hooks_["addFilter"])('editor.MediaUpload', 'core/edit-site/components/media-upload', () => external_wp_mediaUtils_["MediaUpload"]);
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.MediaUpload', 'core/edit-site/components/media-upload', () => external_wp_mediaUtils_namespaceObject.MediaUpload);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/hooks/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/hooks/index.js
 /**
  * Internal dependencies
  */


-// EXTERNAL MODULE: external ["wp","dataControls"]
-var external_wp_dataControls_ = __webpack_require__("51Zz");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/defaults.js
+;// CONCATENATED MODULE: external ["wp","dataControls"]
+var external_wp_dataControls_namespaceObject = window["wp"]["dataControls"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/defaults.js
 const PREFERENCES_DEFAULTS = {
   features: {
     welcomeGuide: true,
@@ -400,7 +433,7 @@ const PREFERENCES_DEFAULTS = {
   }
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/constants.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/constants.js
 /**
  * The identifier for the data store.
  *
@@ -412,7 +445,7 @@ const TEMPLATE_PART_AREA_FOOTER = 'footer';
 const TEMPLATE_PART_AREA_SIDEBAR = 'sidebar';
 const TEMPLATE_PART_AREA_GENERAL = 'uncategorized';

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/navigation-panel/constants.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/navigation-panel/constants.js
 /**
  * WordPress dependencies
  */
@@ -447,22 +480,22 @@ const MENU_TEMPLATE_PARTS_GENERAL = 'template-parts-general';
 const TEMPLATE_PARTS_SUB_MENUS = [{
   area: TEMPLATE_PART_AREA_HEADER,
   menu: MENU_TEMPLATE_PARTS_HEADERS,
-  title: Object(external_wp_i18n_["__"])('headers')
+  title: (0,external_wp_i18n_namespaceObject.__)('headers')
 }, {
   area: TEMPLATE_PART_AREA_FOOTER,
   menu: MENU_TEMPLATE_PARTS_FOOTERS,
-  title: Object(external_wp_i18n_["__"])('footers')
+  title: (0,external_wp_i18n_namespaceObject.__)('footers')
 }, {
   area: TEMPLATE_PART_AREA_SIDEBAR,
   menu: MENU_TEMPLATE_PARTS_SIDEBARS,
-  title: Object(external_wp_i18n_["__"])('sidebars')
+  title: (0,external_wp_i18n_namespaceObject.__)('sidebars')
 }, {
   area: TEMPLATE_PART_AREA_GENERAL,
   menu: MENU_TEMPLATE_PARTS_GENERAL,
-  title: Object(external_wp_i18n_["__"])('general')
+  title: (0,external_wp_i18n_namespaceObject.__)('general')
 }];

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/reducer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/reducer.js
 /**
  * WordPress dependencies
  */
@@ -481,7 +514,7 @@ const TEMPLATE_PARTS_SUB_MENUS = [{
  * @return {Object} Updated state.
  */

-const preferences = Object(external_wp_data_["combineReducers"])({
+const preferences = (0,external_wp_data_namespaceObject.combineReducers)({
   features() {
     let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : PREFERENCES_DEFAULTS.features;
     let action = arguments.length > 1 ? arguments[1] : undefined;
@@ -509,7 +542,7 @@ const preferences = Object(external_wp_data_["combineReducers"])({
  * @return {Object} Updated state.
  */

-function reducer_deviceType() {
+function deviceType() {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'Desktop';
   let action = arguments.length > 1 ? arguments[1] : undefined;

@@ -529,7 +562,7 @@ function reducer_deviceType() {
  * @return {Object} Updated state.
  */

-function reducer_settings() {
+function settings() {
   let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
   let action = arguments.length > 1 ? arguments[1] : undefined;

@@ -703,10 +736,10 @@ function listViewPanel() {

   return state;
 }
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
   preferences,
-  deviceType: reducer_deviceType,
-  settings: reducer_settings,
+  deviceType,
+  settings,
   editedPost,
   homeTemplateId,
   navigationPanel,
@@ -714,811 +747,812 @@ function listViewPanel() {
   listViewPanel
 }));

-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
+;// CONCATENATED MODULE: external ["wp","notices"]
+var external_wp_notices_namespaceObject = window["wp"]["notices"];
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function extends_extends() {
+  extends_extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];
+
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }
+
+    return target;
+  };
+
+  return extends_extends.apply(this, arguments);
+}
+// EXTERNAL MODULE: ./node_modules/classnames/index.js
+var classnames = __webpack_require__(4403);
+var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/interface/build-module/index.js + 17 modules
-var build_module = __webpack_require__("U60i");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/is-template-revertable.js
 /**
- * Check if a template is revertable to its original theme-provided template file.
- *
- * @param {Object} template The template entity to check.
- * @return {boolean} Whether the template is revertable.
+ * WordPress dependencies
  */
-function isTemplateRevertable(template) {
-  if (!template) {
-    return false;
-  }
-  /* eslint-disable camelcase */

+const check = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
+}));
+/* harmony default export */ var library_check = (check);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js

-  return (template === null || template === void 0 ? void 0 : template.source) === 'custom' && (template === null || template === void 0 ? void 0 : template.has_theme_file);
-  /* eslint-enable camelcase */
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/actions.js
 /**
  * WordPress dependencies
  */

+const starFilled = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var star_filled = (starFilled);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js


+/**
+ * WordPress dependencies
+ */

+const starEmpty = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var star_empty = (starEmpty);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const closeSmall = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
+}));
+/* harmony default export */ var close_small = (closeSmall);

-
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/reducer.js
 /**
- * Returns an action object used to toggle a feature flag.
- *
- * @param {string} feature Feature name.
- *
- * @return {Object} Action object.
+ * External dependencies
  */

-function actions_toggleFeature(feature) {
-  return {
-    type: 'TOGGLE_FEATURE',
-    feature
-  };
-}
 /**
- * Returns an action object used to toggle the width of the editing canvas.
- *
- * @param {string} deviceType
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */

-function __experimentalSetPreviewDeviceType(deviceType) {
-  return {
-    type: 'SET_PREVIEW_DEVICE_TYPE',
-    deviceType
-  };
-}
+
 /**
- * Returns an action object used to set a template.
+ * Reducer to keep tract of the active area per scope.
  *
- * @param {number} templateId   The template ID.
- * @param {string} templateSlug The template slug.
- * @return {Object} Action object.
+ * @param {boolean} state           Previous state.
+ * @param {Object}  action          Action object.
+ * @param {string}  action.type     Action type.
+ * @param {string}  action.itemType Type of item.
+ * @param {string}  action.scope    Item scope.
+ * @param {string}  action.item     Item name.
+ *
+ * @return {Object} Updated state.
  */

-function* actions_setTemplate(templateId, templateSlug) {
-  const pageContext = {
-    templateSlug
-  };
+function singleEnableItems() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let {
+    type,
+    itemType,
+    scope,
+    item
+  } = arguments.length > 1 ? arguments[1] : undefined;

-  if (!templateSlug) {
-    const template = yield external_wp_data_["controls"].resolveSelect(external_wp_coreData_["store"], 'getEntityRecord', 'postType', 'wp_template', templateId);
-    pageContext.templateSlug = template === null || template === void 0 ? void 0 : template.slug;
+  if (type !== 'SET_SINGLE_ENABLE_ITEM' || !itemType || !scope) {
+    return state;
   }

-  return {
-    type: 'SET_TEMPLATE',
-    templateId,
-    page: {
-      context: pageContext
+  return { ...state,
+    [itemType]: { ...state[itemType],
+      [scope]: item || null
     }
   };
 }
 /**
- * Adds a new template, and sets it as the current template.
+ * Reducer keeping track of the "pinned" items per scope.
  *
- * @param {Object} template The template.
+ * @param {boolean} state           Previous state.
+ * @param {Object}  action          Action object.
+ * @param {string}  action.type     Action type.
+ * @param {string}  action.itemType Type of item.
+ * @param {string}  action.scope    Item scope.
+ * @param {string}  action.item     Item name.
+ * @param {boolean} action.isEnable Whether the item is pinned.
  *
- * @return {Object} Action object used to set the current template.
+ * @return {Object} Updated state.
  */

-function* addTemplate(template) {
-  const newTemplate = yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'saveEntityRecord', 'postType', 'wp_template', template);
+function multipleEnableItems() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let {
+    type,
+    itemType,
+    scope,
+    item,
+    isEnable
+  } = arguments.length > 1 ? arguments[1] : undefined;

-  if (template.content) {
-    yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'editEntityRecord', 'postType', 'wp_template', newTemplate.id, {
-      blocks: Object(external_wp_blocks_["parse"])(template.content)
-    }, {
-      undoIgnore: true
-    });
+  if (type !== 'SET_MULTIPLE_ENABLE_ITEM' || !itemType || !scope || !item || (0,external_lodash_namespaceObject.get)(state, [itemType, scope, item]) === isEnable) {
+    return state;
   }

-  return {
-    type: 'SET_TEMPLATE',
-    templateId: newTemplate.id,
-    page: {
-      context: {
-        templateSlug: newTemplate.slug
+  const currentTypeState = state[itemType] || {};
+  const currentScopeState = currentTypeState[scope] || {};
+  return { ...state,
+    [itemType]: { ...currentTypeState,
+      [scope]: { ...currentScopeState,
+        [item]: isEnable || false
       }
     }
   };
 }
 /**
- * Removes a template.
+ * Reducer returning the defaults for user preferences.
  *
- * @param {Object} template The template object.
+ * This is kept intentionally separate from the preferences
+ * themselves so that defaults are not persisted.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */

-function* actions_removeTemplate(template) {
-  try {
-    yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'deleteEntityRecord', 'postType', template.type, template.id, {
-      force: true
-    });
-    const lastError = yield external_wp_data_["controls"].select(external_wp_coreData_["store"], 'getLastEntityDeleteError', 'postType', template.type, template.id);
-
-    if (lastError) {
-      throw lastError;
-    }
+const preferenceDefaults = (0,external_wp_data_namespaceObject.combineReducers)({
+  features() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;

-    yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createSuccessNotice', Object(external_wp_i18n_["sprintf"])(
-    /* translators: The template/part's name. */
-    Object(external_wp_i18n_["__"])('"%s" removed.'), template.title.rendered), {
-      type: 'snackbar'
-    });
-  } catch (error) {
-    const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : Object(external_wp_i18n_["__"])('An error occurred while deleting the template.');
-    yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createErrorNotice', errorMessage, {
-      type: 'snackbar'
-    });
+    if (action.type === 'SET_FEATURE_DEFAULTS') {
+      const {
+        scope,
+        defaults
+      } = action;
+      return { ...state,
+        [scope]: { ...state[scope],
+          ...defaults
+        }
+      };
+    }
+
+    return state;
   }
-}
+
+});
 /**
- * Returns an action object used to set a template part.
+ * Reducer returning the user preferences.
  *
- * @param {string} templatePartId The template part ID.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  *
- * @return {Object} Action object.
+ * @return {Object} Updated state.
  */

-function actions_setTemplatePart(templatePartId) {
-  return {
-    type: 'SET_TEMPLATE_PART',
-    templatePartId
-  };
-}
+const reducer_preferences = (0,external_wp_data_namespaceObject.combineReducers)({
+  features() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;
+
+    if (action.type === 'SET_FEATURE_VALUE') {
+      const {
+        scope,
+        featureName,
+        value
+      } = action;
+      return { ...state,
+        [scope]: { ...state[scope],
+          [featureName]: value
+        }
+      };
+    }
+
+    return state;
+  }
+
+});
+const enableItems = (0,external_wp_data_namespaceObject.combineReducers)({
+  singleEnableItems,
+  multipleEnableItems
+});
+/* harmony default export */ var store_reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  enableItems,
+  preferenceDefaults,
+  preferences: reducer_preferences
+}));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/actions.js
 /**
- * Updates the homeTemplateId state with the templateId of the page resolved
- * from the given path.
+ * Returns an action object used in signalling that an active area should be changed.
  *
- * @param {number} homeTemplateId The template ID for the homepage.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Item scope.
+ * @param {string} item     Item identifier.
+ *
+ * @return {Object} Action object.
  */
-
-function setHomeTemplateId(homeTemplateId) {
+function setSingleEnableItem(itemType, scope, item) {
   return {
-    type: 'SET_HOME_TEMPLATE',
-    homeTemplateId
+    type: 'SET_SINGLE_ENABLE_ITEM',
+    itemType,
+    scope,
+    item
   };
 }
 /**
- * Resolves the template for a page and displays both. If no path is given, attempts
- * to use the postId to generate a path like `?p=${ postId }`.
+ * Returns an action object used in signalling that a complementary item should be enabled.
  *
- * @param {Object} page         The page object.
- * @param {string} page.type    The page type.
- * @param {string} page.slug    The page slug.
- * @param {string} page.path    The page path.
- * @param {Object} page.context The page context.
+ * @param {string} scope Complementary area scope.
+ * @param {string} area  Area identifier.
  *
- * @return {number} The resolved template ID for the page route.
+ * @return {Object} Action object.
  */

-function* actions_setPage(page) {
-  var _page$context;
-
-  if (!page.path && (_page$context = page.context) !== null && _page$context !== void 0 && _page$context.postId) {
-    const entity = yield external_wp_data_["controls"].resolveSelect(external_wp_coreData_["store"], 'getEntityRecord', 'postType', page.context.postType || 'post', page.context.postId);
-    page.path = Object(external_wp_url_["getPathAndQueryString"])(entity.link);
-  }

-  const template = yield external_wp_data_["controls"].resolveSelect(external_wp_coreData_["store"], '__experimentalGetTemplateForLink', page.path);
-
-  if (!template) {
-    return;
-  }
+function enableComplementaryArea(scope, area) {
+  return setSingleEnableItem('complementaryArea', scope, area);
+}
+/**
+ * Returns an action object used in signalling that the complementary area of a given scope should be disabled.
+ *
+ * @param {string} scope Complementary area scope.
+ *
+ * @return {Object} Action object.
+ */

-  const {
-    id: templateId,
-    slug: templateSlug
-  } = template;
-  yield {
-    type: 'SET_PAGE',
-    page: !templateSlug ? page : { ...page,
-      context: { ...page.context,
-        templateSlug
-      }
-    },
-    templateId
-  };
-  return templateId;
+function disableComplementaryArea(scope) {
+  return setSingleEnableItem('complementaryArea', scope, undefined);
 }
 /**
- * Returns an action object used to set the active navigation panel menu.
+ * Returns an action object to make an area enabled/disabled.
  *
- * @param {string} menu Menu prop of active menu.
+ * @param {string}  itemType Type of item.
+ * @param {string}  scope    Item scope.
+ * @param {string}  item     Item identifier.
+ * @param {boolean} isEnable Boolean indicating if an area should be pinned or not.
  *
  * @return {Object} Action object.
  */

-function setNavigationPanelActiveMenu(menu) {
+function setMultipleEnableItem(itemType, scope, item, isEnable) {
   return {
-    type: 'SET_NAVIGATION_PANEL_ACTIVE_MENU',
-    menu
+    type: 'SET_MULTIPLE_ENABLE_ITEM',
+    itemType,
+    scope,
+    item,
+    isEnable
   };
 }
 /**
- * Opens the navigation panel and sets its active menu at the same time.
+ * Returns an action object used in signalling that an item should be pinned.
  *
- * @param {string} menu Identifies the menu to open.
+ * @param {string} scope  Item scope.
+ * @param {string} itemId Item identifier.
+ *
+ * @return {Object} Action object.
  */

-function openNavigationPanelToMenu(menu) {
-  return {
-    type: 'OPEN_NAVIGATION_PANEL_TO_MENU',
-    menu
-  };
+
+function pinItem(scope, itemId) {
+  return setMultipleEnableItem('pinnedItems', scope, itemId, true);
 }
 /**
- * Sets whether the navigation panel should be open.
+ * Returns an action object used in signalling that an item should be unpinned.
  *
- * @param {boolean} isOpen If true, opens the nav panel. If false, closes it. It
- *                         does not toggle the state, but sets it directly.
+ * @param {string} scope  Item scope.
+ * @param {string} itemId Item identifier.
+ *
+ * @return {Object} Action object.
  */

-function actions_setIsNavigationPanelOpened(isOpen) {
-  return {
-    type: 'SET_IS_NAVIGATION_PANEL_OPENED',
-    isOpen
+function unpinItem(scope, itemId) {
+  return setMultipleEnableItem('pinnedItems', scope, itemId, false);
+}
+/**
+ * Returns an action object used in signalling that a feature should be toggled.
+ *
+ * @param {string} scope       The feature scope (e.g. core/edit-post).
+ * @param {string} featureName The feature name.
+ */
+
+function toggleFeature(scope, featureName) {
+  return function (_ref) {
+    let {
+      select,
+      dispatch
+    } = _ref;
+    const currentValue = select.isFeatureActive(scope, featureName);
+    dispatch.setFeatureValue(scope, featureName, !currentValue);
   };
 }
 /**
- * Returns an action object used to open/close the inserter.
+ * Returns an action object used in signalling that a feature should be set to
+ * a true or false value
  *
- * @param {boolean|Object} value                Whether the inserter should be
- *                                              opened (true) or closed (false).
- *                                              To specify an insertion point,
- *                                              use an object.
- * @param {string}         value.rootClientId   The root client ID to insert at.
- * @param {number}         value.insertionIndex The index to insert at.
+ * @param {string}  scope       The feature scope (e.g. core/edit-post).
+ * @param {string}  featureName The feature name.
+ * @param {boolean} value       The value to set.
  *
  * @return {Object} Action object.
  */

-function actions_setIsInserterOpened(value) {
+function setFeatureValue(scope, featureName, value) {
   return {
-    type: 'SET_IS_INSERTER_OPENED',
-    value
+    type: 'SET_FEATURE_VALUE',
+    scope,
+    featureName,
+    value: !!value
   };
 }
 /**
- * Returns an action object used to update the settings.
+ * Returns an action object used in signalling that defaults should be set for features.
  *
- * @param {Object} settings New settings.
+ * @param {string}                  scope    The feature scope (e.g. core/edit-post).
+ * @param {Object<string, boolean>} defaults A key/value map of feature names to values.
  *
  * @return {Object} Action object.
  */

-function actions_updateSettings(settings) {
+function setFeatureDefaults(scope, defaults) {
   return {
-    type: 'UPDATE_SETTINGS',
-    settings
+    type: 'SET_FEATURE_DEFAULTS',
+    scope,
+    defaults
   };
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/selectors.js
 /**
- * Sets whether the list view panel should be open.
+ * External dependencies
+ */
+
+/**
+ * Returns the item that is enabled in a given scope.
  *
- * @param {boolean} isOpen If true, opens the list view. If false, closes it.
- *                         It does not toggle the state, but sets it directly.
+ * @param {Object} state    Global application state.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Item scope.
+ *
+ * @return {?string|null} The item that is enabled in the passed scope and type.
  */

-function actions_setIsListViewOpened(isOpen) {
-  return {
-    type: 'SET_IS_LIST_VIEW_OPENED',
-    isOpen
-  };
+function getSingleEnableItem(state, itemType, scope) {
+  return (0,external_lodash_namespaceObject.get)(state.enableItems.singleEnableItems, [itemType, scope]);
 }
 /**
- * Reverts a template to its original theme-provided file.
+ * Returns the complementary area that is active in a given scope.
  *
- * @param {Object}  template            The template to revert.
- * @param {Object}  [options]
- * @param {boolean} [options.allowUndo] Whether to allow the user to undo
- *                                      reverting the template. Default true.
+ * @param {Object} state Global application state.
+ * @param {string} scope Item scope.
+ *
+ * @return {string} The complementary area that is active in the given scope.
  */

-function* actions_revertTemplate(template) {
-  let {
-    allowUndo = true
-  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

-  if (!isTemplateRevertable(template)) {
-    yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createErrorNotice', Object(external_wp_i18n_["__"])('This template is not revertable.'), {
-      type: 'snackbar'
-    });
-    return;
-  }
+function getActiveComplementaryArea(state, scope) {
+  return getSingleEnableItem(state, 'complementaryArea', scope);
+}
+/**
+ * Returns a boolean indicating if an item is enabled or not in a given scope.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Scope.
+ * @param {string} item     Item to check.
+ *
+ * @return {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
+ */

-  try {
-    var _fileTemplate$content;
+function isMultipleEnabledItemEnabled(state, itemType, scope, item) {
+  return (0,external_lodash_namespaceObject.get)(state.enableItems.multipleEnableItems, [itemType, scope, item]);
+}
+/**
+ * Returns a boolean indicating if an item is pinned or not.
+ *
+ * @param {Object} state Global application state.
+ * @param {string} scope Scope.
+ * @param {string} item  Item to check.
+ *
+ * @return {boolean} True if the item is pinned and false otherwise.
+ */

-    const templateEntity = yield external_wp_data_["controls"].select(external_wp_coreData_["store"], 'getEntity', 'postType', template.type);

-    if (!templateEntity) {
-      yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createErrorNotice', Object(external_wp_i18n_["__"])('The editor has encountered an unexpected error. Please reload.'), {
-        type: 'snackbar'
-      });
-      return;
-    }
+function isItemPinned(state, scope, item) {
+  return isMultipleEnabledItemEnabled(state, 'pinnedItems', scope, item) !== false;
+}
+/**
+ * Returns a boolean indicating whether a feature is active for a particular
+ * scope.
+ *
+ * @param {Object} state       The store state.
+ * @param {string} scope       The scope of the feature (e.g. core/edit-post).
+ * @param {string} featureName The name of the feature.
+ *
+ * @return {boolean} Is the feature enabled?
+ */

-    const fileTemplatePath = Object(external_wp_url_["addQueryArgs"])(`${templateEntity.baseURL}/${template.id}`, {
-      context: 'edit',
-      source: 'theme'
-    });
-    const fileTemplate = yield Object(external_wp_dataControls_["apiFetch"])({
-      path: fileTemplatePath
-    });
+function isFeatureActive(state, scope, featureName) {
+  var _state$preferences$fe, _state$preferenceDefa;

-    if (!fileTemplate) {
-      yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createErrorNotice', Object(external_wp_i18n_["__"])('The editor has encountered an unexpected error. Please reload.'), {
-        type: 'snackbar'
-      });
-      return;
-    }
+  const featureValue = (_state$preferences$fe = state.preferences.features[scope]) === null || _state$preferences$fe === void 0 ? void 0 : _state$preferences$fe[featureName];
+  const defaultedFeatureValue = featureValue !== undefined ? featureValue : (_state$preferenceDefa = state.preferenceDefaults.features[scope]) === null || _state$preferenceDefa === void 0 ? void 0 : _state$preferenceDefa[featureName];
+  return !!defaultedFeatureValue;
+}

-    const serializeBlocks = _ref => {
-      let {
-        blocks: blocksForSerialization = []
-      } = _ref;
-      return Object(external_wp_blocks_["__unstableSerializeAndClean"])(blocksForSerialization);
-    };
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/constants.js
+/**
+ * The identifier for the data store.
+ *
+ * @type {string}
+ */
+const constants_STORE_NAME = 'core/interface';

-    const edited = yield external_wp_data_["controls"].select(external_wp_coreData_["store"], 'getEditedEntityRecord', 'postType', template.type, template.id); // We are fixing up the undo level here to make sure we can undo
-    // the revert in the header toolbar correctly.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/index.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */

-    yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'editEntityRecord', 'postType', template.type, template.id, {
-      content: serializeBlocks,
-      // required to make the `undo` behave correctly
-      blocks: edited.blocks,
-      // required to revert the blocks in the editor
-      source: 'custom' // required to avoid turning the editor into a dirty state

-    }, {
-      undoIgnore: true // required to merge this edit with the last undo level

-    });
-    const blocks = Object(external_wp_blocks_["parse"])(fileTemplate === null || fileTemplate === void 0 ? void 0 : (_fileTemplate$content = fileTemplate.content) === null || _fileTemplate$content === void 0 ? void 0 : _fileTemplate$content.raw);
-    yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'editEntityRecord', 'postType', template.type, fileTemplate.id, {
-      content: serializeBlocks,
-      blocks,
-      source: 'theme'
-    });

-    if (allowUndo) {
-      const undoRevert = async () => {
-        await Object(external_wp_data_["dispatch"])(external_wp_coreData_["store"]).editEntityRecord('postType', template.type, edited.id, {
-          content: serializeBlocks,
-          blocks: edited.blocks,
-          source: 'custom'
-        });
-      };

-      yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createSuccessNotice', Object(external_wp_i18n_["__"])('Template reverted.'), {
-        type: 'snackbar',
-        actions: [{
-          label: Object(external_wp_i18n_["__"])('Undo'),
-          onClick: undoRevert
-        }]
-      });
-    } else {
-      yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createSuccessNotice', Object(external_wp_i18n_["__"])('Template reverted.'));
-    }
-  } catch (error) {
-    const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : Object(external_wp_i18n_["__"])('Template revert failed. Please reload.');
-    yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createErrorNotice', errorMessage, {
-      type: 'snackbar'
-    });
-  }
-}
 /**
- * Returns an action object used in signalling that the user opened an editor sidebar.
+ * Store definition for the interface namespace.
  *
- * @param {?string} name Sidebar name to be opened.
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
  *
- * @yield {Object} Action object.
+ * @type {Object}
  */

-function* openGeneralSidebar(name) {
-  yield external_wp_data_["controls"].dispatch(build_module["i" /* store */], 'enableComplementaryArea', STORE_NAME, name);
-}
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(constants_STORE_NAME, {
+  reducer: store_reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['enableItems', 'preferences'],
+  __experimentalUseThunks: true
+}); // Once we build a more generic persistence plugin that works across types of stores
+// we'd be able to replace this with a register call.
+
+(0,external_wp_data_namespaceObject.registerStore)(constants_STORE_NAME, {
+  reducer: store_reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['enableItems', 'preferences'],
+  __experimentalUseThunks: true
+});
+
+;// CONCATENATED MODULE: external ["wp","plugins"]
+var external_wp_plugins_namespaceObject = window["wp"]["plugins"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-context/index.js
 /**
- * Returns an action object signalling that the user closed the sidebar.
- *
- * @yield {Object} Action object.
+ * WordPress dependencies
  */

-function* closeGeneralSidebar() {
-  yield external_wp_data_["controls"].dispatch(build_module["i" /* store */], 'disableComplementaryArea', STORE_NAME);
-}
+/* harmony default export */ var complementary_area_context = ((0,external_wp_plugins_namespaceObject.withPluginContext)((context, ownProps) => {
+  return {
+    icon: ownProps.icon || context.icon,
+    identifier: ownProps.identifier || `${context.name}/${ownProps.name}`
+  };
+}));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-toggle/index.js

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");

-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/navigation-panel/template-hierarchy.js
 /**
  * External dependencies
  */

 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-function isTemplateSuperseded(slug, existingSlugs, showOnFront) {
-  if (!TEMPLATE_OVERRIDES[slug]) {
-    return false;
-  } // `home` template is unused if it is superseded by `front-page`
-  // or "show on front" is set to show a page rather than blog posts.
-
-
-  if (slug === 'home' && showOnFront !== 'posts') {
-    return true;
-  }

-  return TEMPLATE_OVERRIDES[slug].every(overrideSlug => existingSlugs.includes(overrideSlug) || isTemplateSuperseded(overrideSlug, existingSlugs, showOnFront));
-}
-function getTemplateLocation(slug) {
-  const isTopLevelTemplate = TEMPLATES_TOP_LEVEL.includes(slug);
+/**
+ * Internal dependencies
+ */

-  if (isTopLevelTemplate) {
-    return MENU_TEMPLATES;
-  }

-  const isGeneralTemplate = TEMPLATES_GENERAL.includes(slug);

-  if (isGeneralTemplate) {
-    return MENU_TEMPLATES_GENERAL;
-  }

-  const isPostsTemplate = TEMPLATES_POSTS_PREFIXES.some(prefix => slug.startsWith(prefix));
+function ComplementaryAreaToggle(_ref) {
+  let {
+    as = external_wp_components_namespaceObject.Button,
+    scope,
+    identifier,
+    icon,
+    selectedIcon,
+    ...props
+  } = _ref;
+  const ComponentToUse = as;
+  const isSelected = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getActiveComplementaryArea(scope) === identifier, [identifier]);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_element_namespaceObject.createElement)(ComponentToUse, extends_extends({
+    icon: selectedIcon && isSelected ? selectedIcon : icon,
+    onClick: () => {
+      if (isSelected) {
+        disableComplementaryArea(scope);
+      } else {
+        enableComplementaryArea(scope, identifier);
+      }
+    }
+  }, (0,external_lodash_namespaceObject.omit)(props, ['name'])));
+}

-  if (isPostsTemplate) {
-    return MENU_TEMPLATES_POSTS;
-  }
+/* harmony default export */ var complementary_area_toggle = (complementary_area_context(ComplementaryAreaToggle));

-  const isPagesTemplate = TEMPLATES_PAGES_PREFIXES.some(prefix => slug.startsWith(prefix));
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-header/index.js

-  if (isPagesTemplate) {
-    return MENU_TEMPLATES_PAGES;
-  }

-  return MENU_TEMPLATES_GENERAL;
-}
-function getUnusedTemplates(templates, showOnFront) {
-  const templateSlugs = Object(external_lodash_["map"])(templates, 'slug');
-  const supersededTemplates = templates.filter(_ref => {
-    let {
-      slug
-    } = _ref;
-    return isTemplateSuperseded(slug, templateSlugs, showOnFront);
-  });
-  return supersededTemplates;
-}
-function getTemplatesLocationMap(templates) {
-  return templates.reduce((obj, template) => {
-    obj[template.slug] = getTemplateLocation(template.slug);
-    return obj;
-  }, {});
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/selectors.js
 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */


+/**
+ * Internal dependencies
+ */



+const ComplementaryAreaHeader = _ref => {
+  let {
+    smallScreenTitle,
+    children,
+    className,
+    toggleButtonProps
+  } = _ref;
+  const toggleButton = (0,external_wp_element_namespaceObject.createElement)(complementary_area_toggle, extends_extends({
+    icon: close_small
+  }, toggleButtonProps));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-panel__header interface-complementary-area-header__small"
+  }, smallScreenTitle && (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "interface-complementary-area-header__small-title"
+  }, smallScreenTitle), toggleButton), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('components-panel__header', 'interface-complementary-area-header', className),
+    tabIndex: -1
+  }, children, toggleButton));
+};

-/**
- * Internal dependencies
- */
+/* harmony default export */ var complementary_area_header = (ComplementaryAreaHeader);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/action-item/index.js


-/**
- * @typedef {'template'|'template_type'} TemplateType Template type.
- */

 /**
- * Returns whether the given feature is enabled or not.
- *
- * @param {Object} state   Global application state.
- * @param {string} feature Feature slug.
- *
- * @return {boolean} Is active.
+ * External dependencies
  */

-function isFeatureActive(state, feature) {
-  return Object(external_lodash_["get"])(state.preferences.features, [feature], false);
-}
 /**
- * Returns the current editing canvas device type.
- *
- * @param {Object} state Global application state.
- *
- * @return {string} Device type.
+ * WordPress dependencies
  */

-function selectors_experimentalGetPreviewDeviceType(state) {
-  return state.deviceType;
-}
-/**
- * Returns whether the current user can create media or not.
- *
- * @param {Object} state Global application state.
- *
- * @return {Object} Whether the current user can create media or not.
- */

-const getCanUserCreateMedia = Object(external_wp_data_["createRegistrySelector"])(select => () => select(external_wp_coreData_["store"]).canUser('create', 'media'));
-/**
- * Returns any available Reusable blocks.
- *
- * @param {Object} state Global application state.
- *
- * @return {Array} The available reusable blocks.
- */

-const getReusableBlocks = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  const isWeb = external_wp_element_["Platform"].OS === 'web';
-  return isWeb ? select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_block', {
-    per_page: -1
-  }) : [];
-});
-/**
- * Returns the settings, taking into account active features and permissions.
- *
- * @param {Object}   state             Global application state.
- * @param {Function} setIsInserterOpen Setter for the open state of the global inserter.
- *
- * @return {Object} Settings.
- */

-const selectors_getSettings = Object(rememo["a" /* default */])((state, setIsInserterOpen) => {
-  const settings = { ...state.settings,
-    outlineMode: true,
-    focusMode: isFeatureActive(state, 'focusMode'),
-    hasFixedToolbar: isFeatureActive(state, 'fixedToolbar'),
-    __experimentalSetIsInserterOpened: setIsInserterOpen,
-    __experimentalReusableBlocks: getReusableBlocks(state)
-  };
-  const canUserCreateMedia = getCanUserCreateMedia(state);
+function ActionItemSlot(_ref) {
+  let {
+    name,
+    as: Component = external_wp_components_namespaceObject.ButtonGroup,
+    fillProps = {},
+    bubblesVirtually,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, {
+    name: name,
+    bubblesVirtually: bubblesVirtually,
+    fillProps: fillProps
+  }, fills => {
+    if ((0,external_lodash_namespaceObject.isEmpty)(external_wp_element_namespaceObject.Children.toArray(fills))) {
+      return null;
+    } // Special handling exists for backward compatibility.
+    // It ensures that menu items created by plugin authors aren't
+    // duplicated with automatically injected menu items coming
+    // from pinnable plugin sidebars.
+    // @see https://github.com/WordPress/gutenberg/issues/14457

-  if (!canUserCreateMedia) {
-    return settings;
-  }

-  settings.mediaUpload = _ref => {
-    let {
-      onError,
-      ...rest
-    } = _ref;
-    Object(external_wp_mediaUtils_["uploadMedia"])({
-      wpAllowedMimeTypes: state.settings.allowedMimeTypes,
-      onError: _ref2 => {
-        let {
-          message
-        } = _ref2;
-        return onError(message);
-      },
-      ...rest
-    });
-  };
+    const initializedByPlugins = [];
+    external_wp_element_namespaceObject.Children.forEach(fills, _ref2 => {
+      let {
+        props: {
+          __unstableExplicitMenuItem,
+          __unstableTarget
+        }
+      } = _ref2;

-  return settings;
-}, state => [getCanUserCreateMedia(state), state.settings, isFeatureActive(state, 'focusMode'), isFeatureActive(state, 'fixedToolbar'), getReusableBlocks(state)]);
-/**
- * Returns the current home template ID.
- *
- * @param {Object} state Global application state.
- *
- * @return {number?} Home template ID.
- */
+      if (__unstableTarget && __unstableExplicitMenuItem) {
+        initializedByPlugins.push(__unstableTarget);
+      }
+    });
+    const children = external_wp_element_namespaceObject.Children.map(fills, child => {
+      if (!child.props.__unstableExplicitMenuItem && initializedByPlugins.includes(child.props.__unstableTarget)) {
+        return null;
+      }

-function getHomeTemplateId(state) {
-  return state.homeTemplateId;
+      return child;
+    });
+    return (0,external_wp_element_namespaceObject.createElement)(Component, props, children);
+  });
 }

-function getCurrentEditedPost(state) {
-  return state.editedPost;
+function ActionItem(_ref3) {
+  let {
+    name,
+    as: Component = external_wp_components_namespaceObject.Button,
+    onClick,
+    ...props
+  } = _ref3;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, {
+    name: name
+  }, _ref4 => {
+    let {
+      onClick: fpOnClick
+    } = _ref4;
+    return (0,external_wp_element_namespaceObject.createElement)(Component, extends_extends({
+      onClick: onClick || fpOnClick ? function () {
+        (onClick || external_lodash_namespaceObject.noop)(...arguments);
+        (fpOnClick || external_lodash_namespaceObject.noop)(...arguments);
+      } : undefined
+    }, props));
+  });
 }
-/**
- * Returns the current edited post type (wp_template or wp_template_part).
- *
- * @param {Object} state Global application state.
- *
- * @return {TemplateType?} Template type.
- */
+
+ActionItem.Slot = ActionItemSlot;
+/* harmony default export */ var action_item = (ActionItem);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-more-menu-item/index.js


-function selectors_getEditedPostType(state) {
-  return getCurrentEditedPost(state).type;
-}
-/**
- * Returns the ID of the currently edited template or template part.
- *
- * @param {Object} state Global application state.
- *
- * @return {string?} Post ID.
- */

-function selectors_getEditedPostId(state) {
-  return getCurrentEditedPost(state).id;
-}
 /**
- * Returns the current page object.
- *
- * @param {Object} state Global application state.
- *
- * @return {Object} Page.
+ * External dependencies
  */

-function selectors_getPage(state) {
-  return getCurrentEditedPost(state).page;
-}
 /**
- * Returns the active menu in the navigation panel.
- *
- * @param {Object} state Global application state.
- *
- * @return {string} Active menu.
+ * WordPress dependencies
  */

-function getNavigationPanelActiveMenu(state) {
-  return state.navigationPanel.menu;
-}
+
+
 /**
- * Returns the current template or template part's corresponding
- * navigation panel's sub menu, to be used with `openNavigationPanelToMenu`.
- *
- * @param {Object} state Global application state.
- *
- * @return {string} The current template or template part's sub menu.
+ * Internal dependencies
  */

-const getCurrentTemplateNavigationPanelSubMenu = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const templateType = selectors_getEditedPostType(state);
-  const templateId = selectors_getEditedPostId(state);
-  const template = templateId ? select(external_wp_coreData_["store"]).getEntityRecord('postType', templateType, templateId) : null;

-  if (!template) {
-    return MENU_ROOT;
-  }

-  if ('wp_template_part' === templateType) {
-    var _TEMPLATE_PARTS_SUB_M;

-    return ((_TEMPLATE_PARTS_SUB_M = TEMPLATE_PARTS_SUB_MENUS.find(submenu => submenu.area === (template === null || template === void 0 ? void 0 : template.area))) === null || _TEMPLATE_PARTS_SUB_M === void 0 ? void 0 : _TEMPLATE_PARTS_SUB_M.menu) || MENU_TEMPLATE_PARTS;
-  }
+const PluginsMenuItem = props => // Menu item is marked with unstable prop for backward compatibility.
+// They are removed so they don't leak to DOM elements.
+// @see https://github.com/WordPress/gutenberg/issues/14457
+(0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, (0,external_lodash_namespaceObject.omit)(props, ['__unstableExplicitMenuItem', '__unstableTarget']));
+
+function ComplementaryAreaMoreMenuItem(_ref) {
+  let {
+    scope,
+    target,
+    __unstableExplicitMenuItem,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(complementary_area_toggle, extends_extends({
+    as: toggleProps => {
+      return (0,external_wp_element_namespaceObject.createElement)(action_item, extends_extends({
+        __unstableExplicitMenuItem: __unstableExplicitMenuItem,
+        __unstableTarget: `${scope}/${target}`,
+        as: PluginsMenuItem,
+        name: `${scope}/plugin-more-menu`
+      }, toggleProps));
+    },
+    role: "menuitemcheckbox",
+    selectedIcon: library_check,
+    name: target,
+    scope: scope
+  }, props));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/pinned-items/index.js

-  const templates = select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_template');
-  const showOnFront = select(external_wp_coreData_["store"]).getEditedEntityRecord('root', 'site').show_on_front;

-  if (isTemplateSuperseded(template.slug, Object(external_lodash_["map"])(templates, 'slug'), showOnFront)) {
-    return MENU_TEMPLATES_UNUSED;
-  }

-  return getTemplateLocation(template.slug);
-});
 /**
- * Returns the current opened/closed state of the navigation panel.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} True if the navigation panel should be open; false if closed.
+ * External dependencies
  */

-function selectors_isNavigationOpened(state) {
-  return state.navigationPanel.isOpen;
-}
+
 /**
- * Returns the current opened/closed state of the inserter panel.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} True if the inserter panel should be open; false if closed.
+ * WordPress dependencies
  */

-function selectors_isInserterOpened(state) {
-  return !!state.blockInserterPanel;
+
+
+function PinnedItems(_ref) {
+  let {
+    scope,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, extends_extends({
+    name: `PinnedItems/${scope}`
+  }, props));
 }
-/**
- * Get the insertion point for the inserter.
- *
- * @param {Object} state Global application state.
- *
- * @return {Object} The root client ID, index to insert at and starting filter value.
- */

-function __experimentalGetInsertionPoint(state) {
-  const {
-    rootClientId,
-    insertionIndex,
-    filterValue
-  } = state.blockInserterPanel;
-  return {
-    rootClientId,
-    insertionIndex,
-    filterValue
-  };
+function PinnedItemsSlot(_ref2) {
+  let {
+    scope,
+    className,
+    ...props
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, extends_extends({
+    name: `PinnedItems/${scope}`
+  }, props), fills => !(0,external_lodash_namespaceObject.isEmpty)(fills) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()(className, 'interface-pinned-items')
+  }, fills));
 }
+
+PinnedItems.Slot = PinnedItemsSlot;
+/* harmony default export */ var pinned_items = (PinnedItems);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area/index.js
+
+
+
 /**
- * Returns the current opened/closed state of the list view panel.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} True if the list view panel should be open; false if closed.
+ * External dependencies
  */

-function selectors_isListViewOpened(state) {
-  return state.listViewPanel;
-}
 /**
- * Returns the template parts and their blocks for the current edited template.
- *
- * @param {Object} state Global application state.
- * @return {Array} Template parts and their blocks in an array.
+ * WordPress dependencies
  */

-const getCurrentTemplateTemplateParts = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  var _template$blocks;

-  const templateType = selectors_getEditedPostType(state);
-  const templateId = selectors_getEditedPostId(state);
-  const template = select(external_wp_coreData_["store"]).getEditedEntityRecord('postType', templateType, templateId);
-  const templateParts = select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_template_part', {
-    per_page: -1
-  });
-  const templatePartsById = Object(external_lodash_["keyBy"])(templateParts, templatePart => templatePart.id);
-  return ((_template$blocks = template.blocks) !== null && _template$blocks !== void 0 ? _template$blocks : []).filter(block => Object(external_wp_blocks_["isTemplatePart"])(block)).map(block => {
-    const {
-      attributes: {
-        theme,
-        slug
-      }
-    } = block;
-    const templatePartId = `${theme}//${slug}`;
-    const templatePart = templatePartsById[templatePartId];
-    return {
-      templatePart,
-      block
-    };
-  }).filter(_ref3 => {
-    let {
-      templatePart
-    } = _ref3;
-    return !!templatePart;
-  });
-});

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/index.js
-/**
- * WordPress dependencies
- */
+
+


 /**
@@ -1529,934 +1563,1009 @@ const getCurrentTemplateTemplateParts = Object(external_wp_data_["createRegistry



-const storeConfig = {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  controls: external_wp_dataControls_["controls"],
-  persist: ['preferences']
-};
-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, storeConfig); // Once we build a more generic persistence plugin that works across types of stores
-// we'd be able to replace this with a register call.
-
-Object(external_wp_data_["registerStore"])(STORE_NAME, storeConfig);

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");

-// CONCATENATED MODULE: ./node_modules/history/index.js
-var r,B=r||(r={});B.Pop="POP";B.Push="PUSH";B.Replace="REPLACE";var C= false?undefined:function(b){return b};function D(b,h){if(!b){"undefined"!==typeof console&&console.warn(h);try{throw Error(h);}catch(e){}}}function E(b){b.preventDefault();b.returnValue=""}
-function F(){var b=[];return{get length(){return b.length},push:function(h){b.push(h);return function(){b=b.filter(function(e){return e!==h})}},call:function(h){b.forEach(function(e){return e&&e(h)})}}}function H(){return Math.random().toString(36).substr(2,8)}function I(b){var h=b.pathname;h=void 0===h?"/":h;var e=b.search;e=void 0===e?"":e;b=b.hash;b=void 0===b?"":b;e&&"?"!==e&&(h+="?"===e.charAt(0)?e:"?"+e);b&&"#"!==b&&(h+="#"===b.charAt(0)?b:"#"+b);return h}
-function J(b){var h={};if(b){var e=b.indexOf("#");0<=e&&(h.hash=b.substr(e),b=b.substr(0,e));e=b.indexOf("?");0<=e&&(h.search=b.substr(e),b=b.substr(0,e));b&&(h.pathname=b)}return h}
-function createBrowserHistory(b){function h(){var c=p.location,a=m.state||{};return[a.idx,C({pathname:c.pathname,search:c.search,hash:c.hash,state:a.usr||null,key:a.key||"default"})]}function e(c){return"string"===typeof c?c:I(c)}function x(c,a){void 0===a&&(a=null);return C(Object(esm_extends["a" /* default */])({pathname:q.pathname,hash:"",search:""},"string"===typeof c?J(c):c,{state:a,key:H()}))}function z(c){t=c;c=h();v=c[0];q=c[1];d.call({action:t,location:q})}function A(c,a){function f(){A(c,a)}var l=r.Push,k=x(c,
-a);if(!g.length||(g.call({action:l,location:k,retry:f}),!1)){var n=[{usr:k.state,key:k.key,idx:v+1},e(k)];k=n[0];n=n[1];try{m.pushState(k,"",n)}catch(G){p.location.assign(n)}z(l)}}function y(c,a){function f(){y(c,a)}var l=r.Replace,k=x(c,a);g.length&&(g.call({action:l,location:k,retry:f}),1)||(k=[{usr:k.state,key:k.key,idx:v},e(k)],m.replaceState(k[0],"",k[1]),z(l))}function w(c){m.go(c)}void 0===b&&(b={});b=b.window;var p=void 0===b?document.defaultView:b,m=p.history,u=null;p.addEventListener("popstate",
-function(){if(u)g.call(u),u=null;else{var c=r.Pop,a=h(),f=a[0];a=a[1];if(g.length)if(null!=f){var l=v-f;l&&(u={action:c,location:a,retry:function(){w(-1*l)}},w(l))}else false?undefined:
-void 0;else z(c)}});var t=r.Pop;b=h();var v=b[0],q=b[1],d=F(),g=F();null==v&&(v=0,m.replaceState(Object(esm_extends["a" /* default */])({},m.state,{idx:v}),""));return{get action(){return t},get location(){return q},createHref:e,push:A,replace:y,go:w,back:function(){w(-1)},forward:function(){w(1)},listen:function(c){return d.push(c)},block:function(c){var a=g.push(c);1===g.length&&p.addEventListener("beforeunload",E);return function(){a();g.length||p.removeEventListener("beforeunload",E)}}}};
-function createHashHistory(b){function h(){var a=J(m.location.hash.substr(1)),f=a.pathname,l=a.search;a=a.hash;var k=u.state||{};return[k.idx,C({pathname:void 0===f?"/":f,search:void 0===l?"":l,hash:void 0===a?"":a,state:k.usr||null,key:k.key||"default"})]}function e(){if(t)c.call(t),t=null;else{var a=r.Pop,f=h(),l=f[0];f=f[1];if(c.length)if(null!=l){var k=q-l;k&&(t={action:a,location:f,retry:function(){p(-1*k)}},p(k))}else false?undefined:
-void 0;else A(a)}}function x(a){var f=document.querySelector("base"),l="";f&&f.getAttribute("href")&&(f=m.location.href,l=f.indexOf("#"),l=-1===l?f:f.slice(0,l));return l+"#"+("string"===typeof a?a:I(a))}function z(a,f){void 0===f&&(f=null);return C(Object(esm_extends["a" /* default */])({pathname:d.pathname,hash:"",search:""},"string"===typeof a?J(a):a,{state:f,key:H()}))}function A(a){v=a;a=h();q=a[0];d=a[1];g.call({action:v,location:d})}function y(a,f){function l(){y(a,f)}var k=r.Push,n=z(a,f); false?
-undefined:void 0;if(!c.length||(c.call({action:k,location:n,retry:l}),!1)){var G=[{usr:n.state,key:n.key,idx:q+1},x(n)];n=G[0];G=G[1];try{u.pushState(n,"",G)}catch(K){m.location.assign(G)}A(k)}}function w(a,f){function l(){w(a,f)}var k=r.Replace,n=z(a,f); false?undefined:void 0;c.length&&(c.call({action:k,location:n,retry:l}),1)||(n=[{usr:n.state,key:n.key,idx:q},x(n)],u.replaceState(n[0],"",n[1]),A(k))}function p(a){u.go(a)}void 0===b&&(b={});b=b.window;var m=void 0===b?document.defaultView:b,u=m.history,t=null;m.addEventListener("popstate",e);m.addEventListener("hashchange",function(){var a=h()[1];I(a)!==I(d)&&e()});var v=r.Pop;b=h();var q=b[0],d=b[1],g=F(),c=F();null==q&&(q=0,u.replaceState(Object(esm_extends["a" /* default */])({},u.state,{idx:q}),""));return{get action(){return v},get location(){return d},
-createHref:x,push:y,replace:w,go:p,back:function(){p(-1)},forward:function(){p(1)},listen:function(a){return g.push(a)},block:function(a){var f=c.push(a);1===c.length&&m.addEventListener("beforeunload",E);return function(){f();c.length||m.removeEventListener("beforeunload",E)}}}};
-function createMemoryHistory(b){function h(d,g){void 0===g&&(g=null);return C(Object(esm_extends["a" /* default */])({pathname:t.pathname,search:"",hash:""},"string"===typeof d?J(d):d,{state:g,key:H()}))}function e(d,g,c){return!q.length||(q.call({action:d,location:g,retry:c}),!1)}function x(d,g){u=d;t=g;v.call({action:u,location:t})}function z(d,g){var c=r.Push,a=h(d,g); false?undefined:
-void 0;e(c,a,function(){z(d,g)})&&(m+=1,p.splice(m,p.length,a),x(c,a))}function A(d,g){var c=r.Replace,a=h(d,g); false?undefined:void 0;e(c,a,function(){A(d,g)})&&(p[m]=a,x(c,a))}function y(d){var g=Math.min(Math.max(m+d,0),p.length-1),c=r.Pop,a=p[g];e(c,a,function(){y(d)})&&(m=g,x(c,a))}void 0===b&&(b={});var w=b;b=w.initialEntries;w=w.initialIndex;var p=(void 0===
-b?["/"]:b).map(function(d){var g=C(Object(esm_extends["a" /* default */])({pathname:"/",search:"",hash:"",state:null,key:H()},"string"===typeof d?J(d):d)); false?undefined:void 0;return g}),m=Math.min(Math.max(null==w?p.length-1:w,0),p.length-1),u=r.Pop,t=p[m],v=F(),q=F();return{get index(){return m},get action(){return u},get location(){return t},createHref:function(d){return"string"===
-typeof d?d:I(d)},push:z,replace:A,go:y,back:function(){y(-1)},forward:function(){y(1)},listen:function(d){return v.push(d)},block:function(d){return q.push(d)}}};
+function ComplementaryAreaSlot(_ref) {
+  let {
+    scope,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, extends_extends({
+    name: `ComplementaryArea/${scope}`
+  }, props));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/history.js
-/**
- * External dependencies
- */
+function ComplementaryAreaFill(_ref2) {
+  let {
+    scope,
+    children,
+    className
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, {
+    name: `ComplementaryArea/${scope}`
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: className
+  }, children));
+}

-/**
- * WordPress dependencies
- */
+function useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall) {
+  const previousIsSmall = (0,external_wp_element_namespaceObject.useRef)(false);
+  const shouldOpenWhenNotSmall = (0,external_wp_element_namespaceObject.useRef)(false);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // If the complementary area is active and the editor is switching from a big to a small window size.
+    if (isActive && isSmall && !previousIsSmall.current) {
+      // Disable the complementary area.
+      disableComplementaryArea(scope); // Flag the complementary area to be reopened when the window size goes from small to big.

+      shouldOpenWhenNotSmall.current = true;
+    } else if ( // If there is a flag indicating the complementary area should be enabled when we go from small to big window size
+    // and we are going from a small to big window size.
+    shouldOpenWhenNotSmall.current && !isSmall && previousIsSmall.current) {
+      // Remove the flag indicating the complementary area should be enabled.
+      shouldOpenWhenNotSmall.current = false; // Enable the complementary area.

-const history_history = createBrowserHistory();
-const originalHistoryPush = history_history.push;
-const originalHistoryReplace = history_history.replace;
+      enableComplementaryArea(scope, identifier);
+    } else if ( // If the flag is indicating the current complementary should be reopened but another complementary area becomes active,
+    // remove the flag.
+    shouldOpenWhenNotSmall.current && activeArea && activeArea !== identifier) {
+      shouldOpenWhenNotSmall.current = false;
+    }

-function push(params, state) {
-  return originalHistoryPush.call(history_history, Object(external_wp_url_["addQueryArgs"])(window.location.href, params), state);
+    if (isSmall !== previousIsSmall.current) {
+      previousIsSmall.current = isSmall;
+    }
+  }, [isActive, isSmall, scope, identifier, activeArea]);
 }

-function history_replace(params, state) {
-  return originalHistoryReplace.call(history_history, Object(external_wp_url_["addQueryArgs"])(window.location.href, params), state);
+function ComplementaryArea(_ref3) {
+  let {
+    children,
+    className,
+    closeLabel = (0,external_wp_i18n_namespaceObject.__)('Close plugin'),
+    identifier,
+    header,
+    headerClassName,
+    icon,
+    isPinnable = true,
+    panelClassName,
+    scope,
+    name,
+    smallScreenTitle,
+    title,
+    toggleShortcut,
+    isActiveByDefault,
+    showIconLabels = false
+  } = _ref3;
+  const {
+    isActive,
+    isPinned,
+    activeArea,
+    isSmall,
+    isLarge
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getActiveComplementaryArea,
+      isItemPinned
+    } = select(store);
+
+    const _activeArea = getActiveComplementaryArea(scope);
+
+    return {
+      isActive: _activeArea === identifier,
+      isPinned: isItemPinned(scope, identifier),
+      activeArea: _activeArea,
+      isSmall: select(external_wp_viewport_namespaceObject.store).isViewportMatch('< medium'),
+      isLarge: select(external_wp_viewport_namespaceObject.store).isViewportMatch('large')
+    };
+  }, [identifier, scope]);
+  useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea,
+    pinItem,
+    unpinItem
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isActiveByDefault && activeArea === undefined && !isSmall) {
+      enableComplementaryArea(scope, identifier);
+    }
+  }, [activeArea, isActiveByDefault, scope, identifier, isSmall]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isPinnable && (0,external_wp_element_namespaceObject.createElement)(pinned_items, {
+    scope: scope
+  }, isPinned && (0,external_wp_element_namespaceObject.createElement)(complementary_area_toggle, {
+    scope: scope,
+    identifier: identifier,
+    isPressed: isActive && (!showIconLabels || isLarge),
+    "aria-expanded": isActive,
+    label: title,
+    icon: showIconLabels ? library_check : icon,
+    showTooltip: !showIconLabels,
+    variant: showIconLabels ? 'tertiary' : undefined
+  })), name && isPinnable && (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaMoreMenuItem, {
+    target: name,
+    scope: scope,
+    icon: icon
+  }, title), isActive && (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaFill, {
+    className: classnames_default()('interface-complementary-area', className),
+    scope: scope
+  }, (0,external_wp_element_namespaceObject.createElement)(complementary_area_header, {
+    className: headerClassName,
+    closeLabel: closeLabel,
+    onClose: () => disableComplementaryArea(scope),
+    smallScreenTitle: smallScreenTitle,
+    toggleButtonProps: {
+      label: closeLabel,
+      shortcut: toggleShortcut,
+      scope,
+      identifier
+    }
+  }, header || (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("strong", null, title), isPinnable && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "interface-complementary-area__pin-unpin-item",
+    icon: isPinned ? star_filled : star_empty,
+    label: isPinned ? (0,external_wp_i18n_namespaceObject.__)('Unpin from toolbar') : (0,external_wp_i18n_namespaceObject.__)('Pin to toolbar'),
+    onClick: () => (isPinned ? unpinItem : pinItem)(scope, identifier),
+    isPressed: isPinned,
+    "aria-expanded": isPinned
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Panel, {
+    className: panelClassName
+  }, children)));
 }

-history_history.push = push;
-history_history.replace = history_replace;
-/* harmony default export */ var utils_history = (history_history);
+const ComplementaryAreaWrapped = complementary_area_context(ComplementaryArea);
+ComplementaryAreaWrapped.Slot = ComplementaryAreaSlot;
+/* harmony default export */ var complementary_area = (ComplementaryAreaWrapped);
+
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/interface-skeleton/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/index.js


 /**
- * WordPress dependencies
+ * External dependencies
  */

 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+/**
+ * WordPress dependencies
+ */

-const RoutesContext = Object(external_wp_element_["createContext"])();
-const HistoryContext = Object(external_wp_element_["createContext"])();
-function useLocation() {
-  return Object(external_wp_element_["useContext"])(RoutesContext);
-}
-function useHistory() {
-  return Object(external_wp_element_["useContext"])(HistoryContext);
-}

-function getLocationWithParams(location) {
-  const searchParams = new URLSearchParams(location.search);
-  return { ...location,
-    params: Object.fromEntries(searchParams.entries())
-  };
-}

-function Routes(_ref) {
-  let {
-    children
-  } = _ref;
-  const [location, setLocation] = Object(external_wp_element_["useState"])(() => getLocationWithParams(utils_history.location));
-  Object(external_wp_element_["useEffect"])(() => {
-    return utils_history.listen(_ref2 => {
-      let {
-        location: updatedLocation
-      } = _ref2;
-      setLocation(getLocationWithParams(updatedLocation));
-    });
-  }, []);
-  return Object(external_wp_element_["createElement"])(HistoryContext.Provider, {
-    value: utils_history
-  }, Object(external_wp_element_["createElement"])(RoutesContext.Provider, {
-    value: location
-  }, children(location)));
-}

-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");

-// EXTERNAL MODULE: external ["wp","plugins"]
-var external_wp_plugins_ = __webpack_require__("TvNi");

-// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
-var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");
+function useHTMLClass(className) {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const element = document && document.querySelector(`html:not(.${className})`);

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+    if (!element) {
+      return;
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
-var plus = __webpack_require__("Q4Sy");
+    element.classList.toggle(className);
+    return () => {
+      element.classList.toggle(className);
+    };
+  }, [className]);
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js
-var list_view = __webpack_require__("OzlF");
+function InterfaceSkeleton(_ref, ref) {
+  let {
+    footer,
+    header,
+    sidebar,
+    secondarySidebar,
+    notices,
+    content,
+    drawer,
+    actions,
+    labels,
+    className,
+    shortcuts
+  } = _ref;
+  const navigateRegionsProps = (0,external_wp_components_namespaceObject.__unstableUseNavigateRegions)(shortcuts);
+  useHTMLClass('interface-interface-skeleton__html-container');
+  const defaultLabels = {
+    /* translators: accessibility text for the nav bar landmark region. */
+    drawer: (0,external_wp_i18n_namespaceObject.__)('Drawer'),

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
+    /* translators: accessibility text for the top bar landmark region. */
+    header: (0,external_wp_i18n_namespaceObject.__)('Header'),

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
-var more_vertical = __webpack_require__("VKE3");
+    /* translators: accessibility text for the content landmark region. */
+    body: (0,external_wp_i18n_namespaceObject.__)('Content'),

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
-var external = __webpack_require__("K+tz");
+    /* translators: accessibility text for the secondary sidebar landmark region. */
+    secondarySidebar: (0,external_wp_i18n_namespaceObject.__)('Block Library'),

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+    /* translators: accessibility text for the settings landmark region. */
+    sidebar: (0,external_wp_i18n_namespaceObject.__)('Settings'),

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcut-help-modal/config.js
-/**
- * WordPress dependencies
- */
+    /* translators: accessibility text for the publish landmark region. */
+    actions: (0,external_wp_i18n_namespaceObject.__)('Publish'),

-const textFormattingShortcuts = [{
-  keyCombination: {
-    modifier: 'primary',
-    character: 'b'
-  },
-  description: Object(external_wp_i18n_["__"])('Make the selected text bold.')
-}, {
-  keyCombination: {
-    modifier: 'primary',
-    character: 'i'
-  },
-  description: Object(external_wp_i18n_["__"])('Make the selected text italic.')
-}, {
-  keyCombination: {
-    modifier: 'primary',
-    character: 'k'
-  },
-  description: Object(external_wp_i18n_["__"])('Convert the selected text into a link.')
-}, {
-  keyCombination: {
-    modifier: 'primaryShift',
-    character: 'k'
-  },
-  description: Object(external_wp_i18n_["__"])('Remove a link.')
-}, {
-  keyCombination: {
-    modifier: 'primary',
-    character: 'u'
-  },
-  description: Object(external_wp_i18n_["__"])('Underline the selected text.')
-}];
+    /* translators: accessibility text for the footer landmark region. */
+    footer: (0,external_wp_i18n_namespaceObject.__)('Footer')
+  };
+  const mergedLabels = { ...defaultLabels,
+    ...labels
+  };
+  return (0,external_wp_element_namespaceObject.createElement)("div", extends_extends({}, navigateRegionsProps, {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, navigateRegionsProps.ref]),
+    className: classnames_default()(className, 'interface-interface-skeleton', navigateRegionsProps.className, !!footer && 'has-footer')
+  }), !!drawer && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__drawer",
+    role: "region",
+    "aria-label": mergedLabels.drawer,
+    tabIndex: "-1"
+  }, drawer), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__editor"
+  }, !!header && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__header",
+    role: "region",
+    "aria-label": mergedLabels.header,
+    tabIndex: "-1"
+  }, header), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__body"
+  }, !!secondarySidebar && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__secondary-sidebar",
+    role: "region",
+    "aria-label": mergedLabels.secondarySidebar,
+    tabIndex: "-1"
+  }, secondarySidebar), !!notices && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__notices"
+  }, notices), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__content",
+    role: "region",
+    "aria-label": mergedLabels.body,
+    tabIndex: "-1"
+  }, content), !!sidebar && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__sidebar",
+    role: "region",
+    "aria-label": mergedLabels.sidebar,
+    tabIndex: "-1"
+  }, sidebar), !!actions && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__actions",
+    role: "region",
+    "aria-label": mergedLabels.actions,
+    tabIndex: "-1"
+  }, actions))), !!footer && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__footer",
+    role: "region",
+    "aria-label": mergedLabels.footer,
+    tabIndex: "-1"
+  }, footer));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcut-help-modal/shortcut.js
+/* harmony default export */ var interface_skeleton = ((0,external_wp_element_namespaceObject.forwardRef)(InterfaceSkeleton));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/index.js

-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */




-function KeyCombination(_ref) {
-  let {
-    keyCombination,
-    forceAriaLabel
-  } = _ref;
-  const shortcut = keyCombination.modifier ? external_wp_keycodes_["displayShortcutList"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
-  const ariaLabel = keyCombination.modifier ? external_wp_keycodes_["shortcutAriaLabel"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
-  return Object(external_wp_element_["createElement"])("kbd", {
-    className: "edit-site-keyboard-shortcut-help-modal__shortcut-key-combination",
-    "aria-label": forceAriaLabel || ariaLabel
-  }, Object(external_lodash_["castArray"])(shortcut).map((character, index) => {
-    if (character === '+') {
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], {
-        key: index
-      }, character);
-    }

-    return Object(external_wp_element_["createElement"])("kbd", {
-      key: index,
-      className: "edit-site-keyboard-shortcut-help-modal__shortcut-key"
-    }, character);
-  }));
-}

-function Shortcut(_ref2) {
-  let {
-    description,
-    keyCombination,
-    aliases = [],
-    ariaLabel
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-keyboard-shortcut-help-modal__shortcut-description"
-  }, description), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-keyboard-shortcut-help-modal__shortcut-term"
-  }, Object(external_wp_element_["createElement"])(KeyCombination, {
-    keyCombination: keyCombination,
-    forceAriaLabel: ariaLabel
-  }), aliases.map((alias, index) => Object(external_wp_element_["createElement"])(KeyCombination, {
-    keyCombination: alias,
-    forceAriaLabel: ariaLabel,
-    key: index
-  }))));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/index.js


+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/is-template-revertable.js
 /**
- * WordPress dependencies
+ * Check if a template is revertable to its original theme-provided template file.
+ *
+ * @param {Object} template The template entity to check.
+ * @return {boolean} Whether the template is revertable.
  */
+function isTemplateRevertable(template) {
+  if (!template) {
+    return false;
+  }
+  /* eslint-disable camelcase */
+

+  return (template === null || template === void 0 ? void 0 : template.source) === 'custom' && (template === null || template === void 0 ? void 0 : template.has_theme_file);
+  /* eslint-enable camelcase */
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/actions.js
 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-function DynamicShortcut(_ref) {
-  let {
-    name
-  } = _ref;
-  const {
-    keyCombination,
-    description,
-    aliases
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getShortcutKeyCombination,
-      getShortcutDescription,
-      getShortcutAliases
-    } = select(external_wp_keyboardShortcuts_["store"]);
-    return {
-      keyCombination: getShortcutKeyCombination(name),
-      aliases: getShortcutAliases(name),
-      description: getShortcutDescription(name)
-    };
-  }, [name]);

-  if (!keyCombination) {
-    return null;
-  }

-  return Object(external_wp_element_["createElement"])(Shortcut, {
-    keyCombination: keyCombination,
-    description: description,
-    aliases: aliases
-  });
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcut-help-modal/index.js
+


 /**
- * External dependencies
+ * Internal dependencies
  */


+
 /**
- * WordPress dependencies
+ * Returns an action object used to toggle a feature flag.
+ *
+ * @param {string} feature Feature name.
+ *
+ * @return {Object} Action object.
  */

+function actions_toggleFeature(feature) {
+  return {
+    type: 'TOGGLE_FEATURE',
+    feature
+  };
+}
+/**
+ * Returns an action object used to toggle the width of the editing canvas.
+ *
+ * @param {string} deviceType
+ *
+ * @return {Object} Action object.
+ */

+function __experimentalSetPreviewDeviceType(deviceType) {
+  return {
+    type: 'SET_PREVIEW_DEVICE_TYPE',
+    deviceType
+  };
+}
+/**
+ * Returns an action object used to set a template.
+ *
+ * @param {number} templateId   The template ID.
+ * @param {string} templateSlug The template slug.
+ * @return {Object} Action object.
+ */

+function* setTemplate(templateId, templateSlug) {
+  const pageContext = {
+    templateSlug
+  };

+  if (!templateSlug) {
+    const template = yield external_wp_data_namespaceObject.controls.resolveSelect(external_wp_coreData_namespaceObject.store, 'getEntityRecord', 'postType', 'wp_template', templateId);
+    pageContext.templateSlug = template === null || template === void 0 ? void 0 : template.slug;
+  }

+  return {
+    type: 'SET_TEMPLATE',
+    templateId,
+    page: {
+      context: pageContext
+    }
+  };
+}
 /**
- * Internal dependencies
+ * Adds a new template, and sets it as the current template.
+ *
+ * @param {Object} template The template.
+ *
+ * @return {Object} Action object used to set the current template.
  */

+function* addTemplate(template) {
+  const newTemplate = yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'saveEntityRecord', 'postType', 'wp_template', template);

+  if (template.content) {
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'editEntityRecord', 'postType', 'wp_template', newTemplate.id, {
+      blocks: (0,external_wp_blocks_namespaceObject.parse)(template.content)
+    }, {
+      undoIgnore: true
+    });
+  }

+  return {
+    type: 'SET_TEMPLATE',
+    templateId: newTemplate.id,
+    page: {
+      context: {
+        templateSlug: newTemplate.slug
+      }
+    }
+  };
+}
+/**
+ * Removes a template.
+ *
+ * @param {Object} template The template object.
+ */

+function* removeTemplate(template) {
+  try {
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'deleteEntityRecord', 'postType', template.type, template.id, {
+      force: true
+    });
+    const lastError = yield external_wp_data_namespaceObject.controls.select(external_wp_coreData_namespaceObject.store, 'getLastEntityDeleteError', 'postType', template.type, template.id);

-const ShortcutList = _ref => {
-  let {
-    shortcuts
-  } = _ref;
-  return (
-    /*
-     * Disable reason: The `list` ARIA role is redundant but
-     * Safari+VoiceOver won't announce the list otherwise.
-     */
+    if (lastError) {
+      throw lastError;
+    }

-    /* eslint-disable jsx-a11y/no-redundant-roles */
-    Object(external_wp_element_["createElement"])("ul", {
-      className: "edit-site-keyboard-shortcut-help-modal__shortcut-list",
-      role: "list"
-    }, shortcuts.map((shortcut, index) => Object(external_wp_element_["createElement"])("li", {
-      className: "edit-site-keyboard-shortcut-help-modal__shortcut",
-      key: index
-    }, Object(external_lodash_["isString"])(shortcut) ? Object(external_wp_element_["createElement"])(DynamicShortcut, {
-      name: shortcut
-    }) : Object(external_wp_element_["createElement"])(Shortcut, shortcut))))
-    /* eslint-enable jsx-a11y/no-redundant-roles */
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createSuccessNotice', (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: The template/part's name. */
+    (0,external_wp_i18n_namespaceObject.__)('"%s" removed.'), template.title.rendered), {
+      type: 'snackbar'
+    });
+  } catch (error) {
+    const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : (0,external_wp_i18n_namespaceObject.__)('An error occurred while deleting the template.');
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createErrorNotice', errorMessage, {
+      type: 'snackbar'
+    });
+  }
+}
+/**
+ * Returns an action object used to set a template part.
+ *
+ * @param {string} templatePartId The template part ID.
+ *
+ * @return {Object} Action object.
+ */

-  );
-};
+function setTemplatePart(templatePartId) {
+  return {
+    type: 'SET_TEMPLATE_PART',
+    templatePartId
+  };
+}
+/**
+ * Updates the homeTemplateId state with the templateId of the page resolved
+ * from the given path.
+ *
+ * @param {number} homeTemplateId The template ID for the homepage.
+ */

-const ShortcutSection = _ref2 => {
-  let {
-    title,
-    shortcuts,
-    className
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])("section", {
-    className: classnames_default()('edit-site-keyboard-shortcut-help-modal__section', className)
-  }, !!title && Object(external_wp_element_["createElement"])("h2", {
-    className: "edit-site-keyboard-shortcut-help-modal__section-title"
-  }, title), Object(external_wp_element_["createElement"])(ShortcutList, {
-    shortcuts: shortcuts
-  }));
-};
-
-const ShortcutCategorySection = _ref3 => {
-  let {
-    title,
-    categoryName,
-    additionalShortcuts = []
-  } = _ref3;
-  const categoryShortcuts = Object(external_wp_data_["useSelect"])(select => {
-    return select(external_wp_keyboardShortcuts_["store"]).getCategoryShortcuts(categoryName);
-  }, [categoryName]);
-  return Object(external_wp_element_["createElement"])(ShortcutSection, {
-    title: title,
-    shortcuts: categoryShortcuts.concat(additionalShortcuts)
-  });
-};
-
-function KeyboardShortcutHelpModal(_ref4) {
-  let {
-    isModalActive,
-    toggleModal
-  } = _ref4;
-
-  if (!isModalActive) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    className: "edit-site-keyboard-shortcut-help-modal",
-    title: Object(external_wp_i18n_["__"])('Keyboard shortcuts'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
-    onRequestClose: toggleModal
-  }, Object(external_wp_element_["createElement"])(ShortcutSection, {
-    className: "edit-site-keyboard-shortcut-help-modal__main-shortcuts",
-    shortcuts: ['core/edit-site/keyboard-shortcuts']
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Global shortcuts'),
-    categoryName: "global"
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Selection shortcuts'),
-    categoryName: "selection"
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Block shortcuts'),
-    categoryName: "block",
-    additionalShortcuts: [{
-      keyCombination: {
-        character: '/'
-      },
-      description: Object(external_wp_i18n_["__"])('Change the block type after adding a new paragraph.'),
-
-      /* translators: The forward-slash character. e.g. '/'. */
-      ariaLabel: Object(external_wp_i18n_["__"])('Forward-slash')
-    }]
-  }), Object(external_wp_element_["createElement"])(ShortcutSection, {
-    title: Object(external_wp_i18n_["__"])('Text formatting'),
-    shortcuts: textFormattingShortcuts
-  }));
+function setHomeTemplateId(homeTemplateId) {
+  return {
+    type: 'SET_HOME_TEMPLATE',
+    homeTemplateId
+  };
 }
+/**
+ * Resolves the template for a page and displays both. If no path is given, attempts
+ * to use the postId to generate a path like `?p=${ postId }`.
+ *
+ * @param {Object} page         The page object.
+ * @param {string} page.type    The page type.
+ * @param {string} page.slug    The page slug.
+ * @param {string} page.path    The page path.
+ * @param {Object} page.context The page context.
+ *
+ * @return {number} The resolved template ID for the page route.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
-var check = __webpack_require__("RMJe");
+function* setPage(page) {
+  var _page$context;

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+  if (!page.path && (_page$context = page.context) !== null && _page$context !== void 0 && _page$context.postId) {
+    const entity = yield external_wp_data_namespaceObject.controls.resolveSelect(external_wp_coreData_namespaceObject.store, 'getEntityRecord', 'postType', page.context.postType || 'post', page.context.postId);
+    page.path = (0,external_wp_url_namespaceObject.getPathAndQueryString)(entity.link);
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/feature-toggle/index.js
+  const template = yield external_wp_data_namespaceObject.controls.resolveSelect(external_wp_coreData_namespaceObject.store, '__experimentalGetTemplateForLink', page.path);

+  if (!template) {
+    return;
+  }

+  const {
+    id: templateId,
+    slug: templateSlug
+  } = template;
+  yield {
+    type: 'SET_PAGE',
+    page: !templateSlug ? page : { ...page,
+      context: { ...page.context,
+        templateSlug
+      }
+    },
+    templateId
+  };
+  return templateId;
+}
 /**
- * External dependencies
+ * Returns an action object used to set the active navigation panel menu.
+ *
+ * @param {string} menu Menu prop of active menu.
+ *
+ * @return {Object} Action object.
  */

+function setNavigationPanelActiveMenu(menu) {
+  return {
+    type: 'SET_NAVIGATION_PANEL_ACTIVE_MENU',
+    menu
+  };
+}
 /**
- * WordPress dependencies
+ * Opens the navigation panel and sets its active menu at the same time.
+ *
+ * @param {string} menu Identifies the menu to open.
  */

-
-
-
-
-
+function openNavigationPanelToMenu(menu) {
+  return {
+    type: 'OPEN_NAVIGATION_PANEL_TO_MENU',
+    menu
+  };
+}
 /**
- * Internal dependencies
+ * Sets whether the navigation panel should be open.
+ *
+ * @param {boolean} isOpen If true, opens the nav panel. If false, closes it. It
+ *                         does not toggle the state, but sets it directly.
  */

-
-function FeatureToggle(_ref) {
-  let {
-    feature,
-    label,
-    info,
-    messageActivated,
-    messageDeactivated
-  } = _ref;
-
-  const speakMessage = () => {
-    if (isActive) {
-      Object(external_wp_a11y_["speak"])(messageDeactivated || Object(external_wp_i18n_["__"])('Feature deactivated'));
-    } else {
-      Object(external_wp_a11y_["speak"])(messageActivated || Object(external_wp_i18n_["__"])('Feature activated'));
-    }
+function setIsNavigationPanelOpened(isOpen) {
+  return {
+    type: 'SET_IS_NAVIGATION_PANEL_OPENED',
+    isOpen
   };
-
-  const isActive = Object(external_wp_data_["useSelect"])(select => {
-    return select(store).isFeatureActive(feature);
-  }, []);
-  const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    icon: isActive && check["a" /* default */],
-    isSelected: isActive,
-    onClick: Object(external_lodash_["flow"])(toggleFeature.bind(null, feature), speakMessage),
-    role: "menuitemcheckbox",
-    info: info
-  }, label);
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/tools-more-menu-group/index.js
-
-
 /**
- * External dependencies
+ * Returns an action object used to open/close the inserter.
+ *
+ * @param {boolean|Object} value                Whether the inserter should be
+ *                                              opened (true) or closed (false).
+ *                                              To specify an insertion point,
+ *                                              use an object.
+ * @param {string}         value.rootClientId   The root client ID to insert at.
+ * @param {number}         value.insertionIndex The index to insert at.
+ *
+ * @return {Object} Action object.
  */

+function setIsInserterOpened(value) {
+  return {
+    type: 'SET_IS_INSERTER_OPENED',
+    value
+  };
+}
 /**
- * WordPress dependencies
+ * Returns an action object used to update the settings.
+ *
+ * @param {Object} settings New settings.
+ *
+ * @return {Object} Action object.
  */

+function updateSettings(settings) {
+  return {
+    type: 'UPDATE_SETTINGS',
+    settings
+  };
+}
+/**
+ * Sets whether the list view panel should be open.
+ *
+ * @param {boolean} isOpen If true, opens the list view. If false, closes it.
+ *                         It does not toggle the state, but sets it directly.
+ */

-const {
-  Fill: ToolsMoreMenuGroup,
-  Slot
-} = Object(external_wp_components_["createSlotFill"])('EditSiteToolsMoreMenuGroup');
+function setIsListViewOpened(isOpen) {
+  return {
+    type: 'SET_IS_LIST_VIEW_OPENED',
+    isOpen
+  };
+}
+/**
+ * Reverts a template to its original theme-provided file.
+ *
+ * @param {Object}  template            The template to revert.
+ * @param {Object}  [options]
+ * @param {boolean} [options.allowUndo] Whether to allow the user to undo
+ *                                      reverting the template. Default true.
+ */

-ToolsMoreMenuGroup.Slot = _ref => {
+function* revertTemplate(template) {
   let {
-    fillProps
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(Slot, {
-    fillProps: fillProps
-  }, fills => !Object(external_lodash_["isEmpty"])(fills) && fills);
-};
-
-/* harmony default export */ var tools_more_menu_group = (ToolsMoreMenuGroup);
+    allowUndo = true
+  } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

-// EXTERNAL MODULE: ./node_modules/downloadjs/download.js
-var download = __webpack_require__("rrFr");
-var download_default = /*#__PURE__*/__webpack_require__.n(download);
+  if (!isTemplateRevertable(template)) {
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createErrorNotice', (0,external_wp_i18n_namespaceObject.__)('This template is not revertable.'), {
+      type: 'snackbar'
+    });
+    return;
+  }

-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
+  try {
+    var _fileTemplate$content;

-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+    const templateEntity = yield external_wp_data_namespaceObject.controls.select(external_wp_coreData_namespaceObject.store, 'getEntity', 'postType', template.type);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/download.js
+    if (!templateEntity) {
+      yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createErrorNotice', (0,external_wp_i18n_namespaceObject.__)('The editor has encountered an unexpected error. Please reload.'), {
+        type: 'snackbar'
+      });
+      return;
+    }

+    const fileTemplatePath = (0,external_wp_url_namespaceObject.addQueryArgs)(`${templateEntity.baseURL}/${template.id}`, {
+      context: 'edit',
+      source: 'theme'
+    });
+    const fileTemplate = yield (0,external_wp_dataControls_namespaceObject.apiFetch)({
+      path: fileTemplatePath
+    });

-/**
- * WordPress dependencies
- */
+    if (!fileTemplate) {
+      yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createErrorNotice', (0,external_wp_i18n_namespaceObject.__)('The editor has encountered an unexpected error. Please reload.'), {
+        type: 'snackbar'
+      });
+      return;
+    }

-const download_download = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"
-}));
-/* harmony default export */ var library_download = (download_download);
+    const serializeBlocks = _ref => {
+      let {
+        blocks: blocksForSerialization = []
+      } = _ref;
+      return (0,external_wp_blocks_namespaceObject.__unstableSerializeAndClean)(blocksForSerialization);
+    };

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/more-menu/site-export.js
+    const edited = yield external_wp_data_namespaceObject.controls.select(external_wp_coreData_namespaceObject.store, 'getEditedEntityRecord', 'postType', template.type, template.id); // We are fixing up the undo level here to make sure we can undo
+    // the revert in the header toolbar correctly.

+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'editEntityRecord', 'postType', template.type, template.id, {
+      content: serializeBlocks,
+      // required to make the `undo` behave correctly
+      blocks: edited.blocks,
+      // required to revert the blocks in the editor
+      source: 'custom' // required to avoid turning the editor into a dirty state

-/**
- * External dependencies
- */
+    }, {
+      undoIgnore: true // required to merge this edit with the last undo level

-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-
-function SiteExport() {
-  const {
-    createErrorNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-
-  async function handleExport() {
-    try {
-      const response = await external_wp_apiFetch_default()({
-        path: '/wp-block-editor/v1/export',
-        parse: false
-      });
-      const blob = await response.blob();
-      download_default()(blob, 'edit-site-export.zip', 'application/zip');
-    } catch (errorResponse) {
-      let error = {};
+    });
+    const blocks = (0,external_wp_blocks_namespaceObject.parse)(fileTemplate === null || fileTemplate === void 0 ? void 0 : (_fileTemplate$content = fileTemplate.content) === null || _fileTemplate$content === void 0 ? void 0 : _fileTemplate$content.raw);
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'editEntityRecord', 'postType', template.type, fileTemplate.id, {
+      content: serializeBlocks,
+      blocks,
+      source: 'theme'
+    });

-      try {
-        error = await errorResponse.json();
-      } catch (e) {}
+    if (allowUndo) {
+      const undoRevert = async () => {
+        await (0,external_wp_data_namespaceObject.dispatch)(external_wp_coreData_namespaceObject.store).editEntityRecord('postType', template.type, edited.id, {
+          content: serializeBlocks,
+          blocks: edited.blocks,
+          source: 'custom'
+        });
+      };

-      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : Object(external_wp_i18n_["__"])('An error occurred while creating the site export.');
-      createErrorNotice(errorMessage, {
-        type: 'snackbar'
+      yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createSuccessNotice', (0,external_wp_i18n_namespaceObject.__)('Template reverted.'), {
+        type: 'snackbar',
+        actions: [{
+          label: (0,external_wp_i18n_namespaceObject.__)('Undo'),
+          onClick: undoRevert
+        }]
       });
+    } else {
+      yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createSuccessNotice', (0,external_wp_i18n_namespaceObject.__)('Template reverted.'));
     }
+  } catch (error) {
+    const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : (0,external_wp_i18n_namespaceObject.__)('Template revert failed. Please reload.');
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createErrorNotice', errorMessage, {
+      type: 'snackbar'
+    });
   }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    role: "menuitem",
-    icon: library_download,
-    onClick: handleExport,
-    info: Object(external_wp_i18n_["__"])('Download your templates and template parts.')
-  }, Object(external_wp_i18n_["_x"])('Export', 'site exporter menu item'));
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/more-menu/welcome-guide-menu-item.js
-
-
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that the user opened an editor sidebar.
+ *
+ * @param {?string} name Sidebar name to be opened.
+ *
+ * @yield {Object} Action object.
  */

-
-
+function* openGeneralSidebar(name) {
+  yield external_wp_data_namespaceObject.controls.dispatch(store, 'enableComplementaryArea', STORE_NAME, name);
+}
 /**
- * Internal dependencies
+ * Returns an action object signalling that the user closed the sidebar.
+ *
+ * @yield {Object} Action object.
  */

-
-function WelcomeGuideMenuItem() {
-  const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: () => toggleFeature('welcomeGuide')
-  }, Object(external_wp_i18n_["__"])('Welcome Guide'));
+function* closeGeneralSidebar() {
+  yield external_wp_data_namespaceObject.controls.dispatch(store, 'disableComplementaryArea', STORE_NAME);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/more-menu/index.js
+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js


+var LEAF_KEY, hasWeakMap;
+
 /**
- * WordPress dependencies
+ * Arbitrary value used as key for referencing cache object in WeakMap tree.
+ *
+ * @type {Object}
  */
-
-
-
-
-
-
+LEAF_KEY = {};

 /**
- * Internal dependencies
+ * Whether environment supports WeakMap.
+ *
+ * @type {boolean}
  */
+hasWeakMap = typeof WeakMap !== 'undefined';

-
-
-
-
-
-const POPOVER_PROPS = {
-  className: 'edit-site-more-menu__content',
-  position: 'bottom left'
-};
-const TOGGLE_PROPS = {
-  tooltipPosition: 'bottom'
-};
-function MoreMenu() {
-  const [isModalActive, toggleModal] = Object(external_wp_element_["useReducer"])(isActive => !isActive, false);
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-site/keyboard-shortcuts', toggleModal);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    className: "edit-site-more-menu",
-    icon: more_vertical["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('More tools & options'),
-    popoverProps: POPOVER_PROPS,
-    toggleProps: TOGGLE_PROPS
-  }, _ref => {
-    let {
-      onClose
-    } = _ref;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-      label: Object(external_wp_i18n_["_x"])('View', 'noun')
-    }, Object(external_wp_element_["createElement"])(FeatureToggle, {
-      feature: "fixedToolbar",
-      label: Object(external_wp_i18n_["__"])('Top toolbar'),
-      info: Object(external_wp_i18n_["__"])('Access all block and document tools in a single place'),
-      messageActivated: Object(external_wp_i18n_["__"])('Top toolbar activated'),
-      messageDeactivated: Object(external_wp_i18n_["__"])('Top toolbar deactivated')
-    }), Object(external_wp_element_["createElement"])(FeatureToggle, {
-      feature: "focusMode",
-      label: Object(external_wp_i18n_["__"])('Spotlight mode'),
-      info: Object(external_wp_i18n_["__"])('Focus on one block at a time'),
-      messageActivated: Object(external_wp_i18n_["__"])('Spotlight mode activated'),
-      messageDeactivated: Object(external_wp_i18n_["__"])('Spotlight mode deactivated')
-    }), Object(external_wp_element_["createElement"])(build_module["a" /* ActionItem */].Slot, {
-      name: "core/edit-site/plugin-more-menu",
-      label: Object(external_wp_i18n_["__"])('Plugins'),
-      as: external_wp_components_["MenuGroup"],
-      fillProps: {
-        onClick: onClose
-      }
-    })), Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-      label: Object(external_wp_i18n_["__"])('Tools')
-    }, Object(external_wp_element_["createElement"])(SiteExport, null), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-      onClick: toggleModal,
-      shortcut: external_wp_keycodes_["displayShortcut"].access('h')
-    }, Object(external_wp_i18n_["__"])('Keyboard shortcuts')), Object(external_wp_element_["createElement"])(WelcomeGuideMenuItem, null), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-      icon: external["a" /* default */],
-      role: "menuitem",
-      href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/site-editor/'),
-      target: "_blank",
-      rel: "noopener noreferrer"
-    }, Object(external_wp_i18n_["__"])('Help'), Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-      as: "span"
-    },
-    /* translators: accessibility text */
-    Object(external_wp_i18n_["__"])('(opens in a new tab)'))), Object(external_wp_element_["createElement"])(tools_more_menu_group.Slot, {
-      fillProps: {
-        onClose
-      }
-    })));
-  }), Object(external_wp_element_["createElement"])(KeyboardShortcutHelpModal, {
-    isModalActive: isModalActive,
-    toggleModal: toggleModal
-  }));
+/**
+ * Returns the first argument as the sole entry in an array.
+ *
+ * @param {*} value Value to return.
+ *
+ * @return {Array} Value returned as entry in array.
+ */
+function arrayOf( value ) {
+	return [ value ];
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/save-button/index.js
-
-
 /**
- * External dependencies
+ * Returns true if the value passed is object-like, or false otherwise. A value
+ * is object-like if it can support property assignment, e.g. object or array.
+ *
+ * @param {*} value Value to test.
+ *
+ * @return {boolean} Whether value is object-like.
  */
+function isObjectLike( value ) {
+	return !! value && 'object' === typeof value;
+}

 /**
- * WordPress dependencies
+ * Creates and returns a new cache object.
+ *
+ * @return {Object} Cache object.
  */
+function createCache() {
+	var cache = {
+		clear: function() {
+			cache.head = null;
+		},
+	};

-
-
-
-
-function SaveButton(_ref) {
-  let {
-    openEntitiesSavedStates,
-    isEntitiesSavedStatesOpen
-  } = _ref;
-  const {
-    isDirty,
-    isSaving
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      __experimentalGetDirtyEntityRecords,
-      isSavingEntityRecord
-    } = select(external_wp_coreData_["store"]);
-
-    const dirtyEntityRecords = __experimentalGetDirtyEntityRecords();
-
-    return {
-      isDirty: dirtyEntityRecords.length > 0,
-      isSaving: Object(external_lodash_["some"])(dirtyEntityRecords, record => isSavingEntityRecord(record.kind, record.name, record.key))
-    };
-  }, []);
-  const disabled = !isDirty || isSaving;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "primary",
-    className: "edit-site-save-button__button",
-    "aria-disabled": disabled,
-    "aria-expanded": isEntitiesSavedStatesOpen,
-    disabled: disabled,
-    isBusy: isSaving,
-    onClick: disabled ? undefined : openEntitiesSavedStates
-  }, Object(external_wp_i18n_["__"])('Save')));
+	return cache;
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/undo.js
-var library_undo = __webpack_require__("Ntru");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/redo.js
-var library_redo = __webpack_require__("K2cm");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/undo-redo/undo.js
-
-
 /**
- * WordPress dependencies
+ * Returns true if entries within the two arrays are strictly equal by
+ * reference from a starting index.
+ *
+ * @param {Array}  a         First array.
+ * @param {Array}  b         Second array.
+ * @param {number} fromIndex Index from which to start comparison.
+ *
+ * @return {boolean} Whether arrays are shallowly equal.
  */
+function isShallowEqual( a, b, fromIndex ) {
+	var i;

+	if ( a.length !== b.length ) {
+		return false;
+	}

+	for ( i = fromIndex; i < a.length; i++ ) {
+		if ( a[ i ] !== b[ i ] ) {
+			return false;
+		}
+	}

-
-
-
-function UndoButton() {
-  const hasUndo = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).hasUndo(), []);
-  const {
-    undo
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: !Object(external_wp_i18n_["isRTL"])() ? library_undo["a" /* default */] : library_redo["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Undo'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primary('z') // If there are no undo levels we don't want to actually disable this
-    // button, because it will remove focus for keyboard users.
-    // See: https://github.com/WordPress/gutenberg/issues/3486
-    ,
-    "aria-disabled": !hasUndo,
-    onClick: hasUndo ? undo : undefined
-  });
+	return true;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/undo-redo/redo.js
-
-
 /**
- * WordPress dependencies
+ * Returns a memoized selector function. The getDependants function argument is
+ * called before the memoized selector and is expected to return an immutable
+ * reference or array of references on which the selector depends for computing
+ * its own return value. The memoize cache is preserved only as long as those
+ * dependant references remain the same. If getDependants returns a different
+ * reference(s), the cache is cleared and the selector value regenerated.
+ *
+ * @param {Function} selector      Selector function.
+ * @param {Function} getDependants Dependant getter returning an immutable
+ *                                 reference or array of reference used in
+ *                                 cache bust consideration.
+ *
+ * @return {Function} Memoized selector.
  */
+/* harmony default export */ function rememo(selector, getDependants ) {
+	var rootCache, getCache;

+	// Use object source as dependant if getter not provided
+	if ( ! getDependants ) {
+		getDependants = arrayOf;
+	}

+	/**
+	 * Returns the root cache. If WeakMap is supported, this is assigned to the
+	 * root WeakMap cache set, otherwise it is a shared instance of the default
+	 * cache object.
+	 *
+	 * @return {(WeakMap|Object)} Root cache object.
+	 */
+	function getRootCache() {
+		return rootCache;
+	}

+	/**
+	 * Returns the cache for a given dependants array. When possible, a WeakMap
+	 * will be used to create a unique cache for each set of dependants. This
+	 * is feasible due to the nature of WeakMap in allowing garbage collection
+	 * to occur on entries where the key object is no longer referenced. Since
+	 * WeakMap requires the key to be an object, this is only possible when the
+	 * dependant is object-like. The root cache is created as a hierarchy where
+	 * each top-level key is the first entry in a dependants set, the value a
+	 * WeakMap where each key is the next dependant, and so on. This continues
+	 * so long as the dependants are object-like. If no dependants are object-
+	 * like, then the cache is shared across all invocations.
+	 *
+	 * @see isObjectLike
+	 *
+	 * @param {Array} dependants Selector dependants.
+	 *
+	 * @return {Object} Cache object.
+	 */
+	function getWeakMapCache( dependants ) {
+		var caches = rootCache,
+			isUniqueByDependants = true,
+			i, dependant, map, cache;

+		for ( i = 0; i < dependants.length; i++ ) {
+			dependant = dependants[ i ];

+			// Can only compose WeakMap from object-like key.
+			if ( ! isObjectLike( dependant ) ) {
+				isUniqueByDependants = false;
+				break;
+			}

-function RedoButton() {
-  const hasRedo = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).hasRedo(), []);
-  const {
-    redo
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: !Object(external_wp_i18n_["isRTL"])() ? library_redo["a" /* default */] : library_undo["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Redo'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primaryShift('z') // If there are no undo levels we don't want to actually disable this
-    // button, because it will remove focus for keyboard users.
-    // See: https://github.com/WordPress/gutenberg/issues/3486
-    ,
-    "aria-disabled": !hasRedo,
-    onClick: hasRedo ? redo : undefined
-  });
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js
-var chevron_down = __webpack_require__("NWDH");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/document-actions/index.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
+			// Does current segment of cache already have a WeakMap?
+			if ( caches.has( dependant ) ) {
+				// Traverse into nested WeakMap.
+				caches = caches.get( dependant );
+			} else {
+				// Create, set, and traverse into a new one.
+				map = new WeakMap();
+				caches.set( dependant, map );
+				caches = map;
+			}
+		}

+		// We use an arbitrary (but consistent) object as key for the last item
+		// in the WeakMap to serve as our running cache.
+		if ( ! caches.has( LEAF_KEY ) ) {
+			cache = createCache();
+			cache.isUniqueByDependants = isUniqueByDependants;
+			caches.set( LEAF_KEY, cache );
+		}

+		return caches.get( LEAF_KEY );
+	}

+	// Assign cache handler by availability of WeakMap
+	getCache = hasWeakMap ? getWeakMapCache : getRootCache;

+	/**
+	 * Resets root memoization cache.
+	 */
+	function clear() {
+		rootCache = hasWeakMap ? new WeakMap() : createCache();
+	}

+	// eslint-disable-next-line jsdoc/check-param-names
+	/**
+	 * The augmented selector call, considering first whether dependants have
+	 * changed before passing it to underlying memoize function.
+	 *
+	 * @param {Object} source    Source object for derivation.
+	 * @param {...*}   extraArgs Additional arguments to pass to selector.
+	 *
+	 * @return {*} Selector result.
+	 */
+	function callSelector( /* source, ...extraArgs */ ) {
+		var len = arguments.length,
+			cache, node, i, args, dependants;

+		// Create copy of arguments (avoid leaking deoptimization).
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}

+		dependants = getDependants.apply( null, args );
+		cache = getCache( dependants );

+		// If not guaranteed uniqueness by dependants (primitive type or lack
+		// of WeakMap support), shallow compare against last dependants and, if
+		// references have changed, destroy cache to recalculate result.
+		if ( ! cache.isUniqueByDependants ) {
+			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
+				cache.clear();
+			}

-function getBlockDisplayText(block) {
-  if (block) {
-    const blockType = Object(external_wp_blocks_["getBlockType"])(block.name);
-    return blockType ? Object(external_wp_blocks_["__experimentalGetBlockLabel"])(blockType, block.attributes) : null;
-  }
+			cache.lastDependants = dependants;
+		}

-  return null;
-}
+		node = cache.head;
+		while ( node ) {
+			// Check whether node arguments match arguments
+			if ( ! isShallowEqual( node.args, args, 1 ) ) {
+				node = node.next;
+				continue;
+			}

-function useSecondaryText() {
-  const {
-    getBlock
-  } = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]);
-  const activeEntityBlockId = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).__experimentalGetActiveBlockIdByBlockNames(['core/template-part']), []);
+			// At this point we can assume we've found a match

-  if (activeEntityBlockId) {
-    return {
-      label: getBlockDisplayText(getBlock(activeEntityBlockId)),
-      isActive: true
-    };
-  }
+			// Surface matched node to head if not already
+			if ( node !== cache.head ) {
+				// Adjust siblings to point to each other.
+				node.prev.next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}

-  return {};
-}
-/**
- * @param {Object}   props             Props for the DocumentActions component.
- * @param {string}   props.entityTitle The title to display.
- * @param {string}   props.entityLabel A label to use for entity-related options.
- *                                     E.g. "template" would be used for "edit
- *                                     template" and "show template details".
- * @param {boolean}  props.isLoaded    Whether the data is available.
- * @param {Function} props.children    React component to use for the
- *                                     information dropdown area. Should be a
- *                                     function which accepts dropdown props.
- */
+				node.next = cache.head;
+				node.prev = null;
+				cache.head.prev = node;
+				cache.head = node;
+			}

+			// Return immediately
+			return node.val;
+		}

-function DocumentActions(_ref) {
-  let {
-    entityTitle,
-    entityLabel,
-    isLoaded,
-    children: dropdownContent
-  } = _ref;
-  const {
-    label
-  } = useSecondaryText(); // The title ref is passed to the popover as the anchorRef so that the
-  // dropdown is centered over the whole title area rather than just one
-  // part of it.
+		// No cached value found. Continue to insertion phase:

-  const titleRef = Object(external_wp_element_["useRef"])(); // Return a simple loading indicator until we have information to show.
+		node = {
+			// Generate the result from original function
+			val: selector.apply( null, args ),
+		};

-  if (!isLoaded) {
-    return Object(external_wp_element_["createElement"])("div", {
-      className: "edit-site-document-actions"
-    }, Object(external_wp_i18n_["__"])('Loading…'));
-  } // Return feedback that the template does not seem to exist.
+		// Avoid including the source object in the cache.
+		args[ 0 ] = null;
+		node.args = args;

+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was

-  if (!entityTitle) {
-    return Object(external_wp_element_["createElement"])("div", {
-      className: "edit-site-document-actions"
-    }, Object(external_wp_i18n_["__"])('Template not found'));
-  }
+		// Shift existing head down list
+		if ( cache.head ) {
+			cache.head.prev = node;
+			node.next = cache.head;
+		}

-  return Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('edit-site-document-actions', {
-      'has-secondary-label': !!label
-    })
-  }, Object(external_wp_element_["createElement"])("div", {
-    ref: titleRef,
-    className: "edit-site-document-actions__title-wrapper"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalText"], {
-    size: "body",
-    className: "edit-site-document-actions__title",
-    as: "h1"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    as: "span"
-  }, Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: the entity being edited, like "template"*/
-  Object(external_wp_i18n_["__"])('Editing %s: '), entityLabel)), entityTitle), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalText"], {
-    size: "body",
-    className: "edit-site-document-actions__secondary-item"
-  }, label !== null && label !== void 0 ? label : ''), dropdownContent && Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
-    popoverProps: {
-      anchorRef: titleRef.current
-    },
-    position: "bottom center",
-    renderToggle: _ref2 => {
-      let {
-        isOpen,
-        onToggle
-      } = _ref2;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        className: "edit-site-document-actions__get-info",
-        icon: chevron_down["a" /* default */],
-        "aria-expanded": isOpen,
-        "aria-haspopup": "true",
-        onClick: onToggle,
-        label: Object(external_wp_i18n_["sprintf"])(
-        /* translators: %s: the entity to see details about, like "template"*/
-        Object(external_wp_i18n_["__"])('Show %s details'), entityLabel)
-      });
-    },
-    contentClassName: "edit-site-document-actions__info-dropdown",
-    renderContent: dropdownContent
-  })));
-}
+		cache.head = node;

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/link.js
+		return node.val;
+	}

+	callSelector.getDependants = getDependants;
+	callSelector.clear = clear;
+	clear();

+	return callSelector;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/navigation-panel/template-hierarchy.js
 /**
- * WordPress dependencies
+ * External dependencies
  */

 /**
@@ -2464,718 +2573,810 @@ function DocumentActions(_ref) {
  */


-function useLink() {
-  let params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let state = arguments.length > 1 ? arguments[1] : undefined;
-  let shouldReplace = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
-  const history = useHistory();
+function isTemplateSuperseded(slug, existingSlugs, showOnFront) {
+  if (!TEMPLATE_OVERRIDES[slug]) {
+    return false;
+  } // `home` template is unused if it is superseded by `front-page`
+  // or "show on front" is set to show a page rather than blog posts.

-  function onClick(event) {
-    event.preventDefault();

-    if (shouldReplace) {
-      history.replace(params, state);
-    } else {
-      history.push(params, state);
-    }
+  if (slug === 'home' && showOnFront !== 'posts') {
+    return true;
   }

-  return {
-    href: Object(external_wp_url_["addQueryArgs"])(window.location.href, params),
-    onClick
-  };
-}
-function Link(_ref) {
-  let {
-    params = {},
-    state,
-    replace: shouldReplace = false,
-    children,
-    ...props
-  } = _ref;
-  const {
-    href,
-    onClick
-  } = useLink(params, state, shouldReplace);
-  return Object(external_wp_element_["createElement"])("a", Object(esm_extends["a" /* default */])({
-    href: href,
-    onClick: onClick
-  }, props), children);
+  return TEMPLATE_OVERRIDES[slug].every(overrideSlug => existingSlugs.includes(overrideSlug) || isTemplateSuperseded(overrideSlug, existingSlugs, showOnFront));
 }
+function getTemplateLocation(slug) {
+  const isTopLevelTemplate = TEMPLATES_TOP_LEVEL.includes(slug);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-details/template-areas.js
-
+  if (isTopLevelTemplate) {
+    return MENU_TEMPLATES;
+  }

+  const isGeneralTemplate = TEMPLATES_GENERAL.includes(slug);

-/**
- * WordPress dependencies
- */
+  if (isGeneralTemplate) {
+    return MENU_TEMPLATES_GENERAL;
+  }

+  const isPostsTemplate = TEMPLATES_POSTS_PREFIXES.some(prefix => slug.startsWith(prefix));

+  if (isPostsTemplate) {
+    return MENU_TEMPLATES_POSTS;
+  }

+  const isPagesTemplate = TEMPLATES_PAGES_PREFIXES.some(prefix => slug.startsWith(prefix));

+  if (isPagesTemplate) {
+    return MENU_TEMPLATES_PAGES;
+  }

+  return MENU_TEMPLATES_GENERAL;
+}
+function getUnusedTemplates(templates, showOnFront) {
+  const templateSlugs = map(templates, 'slug');
+  const supersededTemplates = templates.filter(_ref => {
+    let {
+      slug
+    } = _ref;
+    return isTemplateSuperseded(slug, templateSlugs, showOnFront);
+  });
+  return supersededTemplates;
+}
+function getTemplatesLocationMap(templates) {
+  return templates.reduce((obj, template) => {
+    obj[template.slug] = getTemplateLocation(template.slug);
+    return obj;
+  }, {});
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/selectors.js
 /**
- * Internal dependencies
+ * External dependencies
  */


+/**
+ * WordPress dependencies
+ */




-function TemplatePartItemMore(_ref) {
-  var _templatePart$title;
-
-  let {
-    onClose,
-    templatePart,
-    closeTemplateDetailsDropdown
-  } = _ref;
-  const {
-    revertTemplate
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    params
-  } = useLocation();
-  const editLinkProps = useLink({
-    postId: templatePart.id,
-    postType: templatePart.type
-  }, {
-    fromTemplateId: params.postId
-  });

-  function editTemplatePart(event) {
-    editLinkProps.onClick(event);
-    onClose();
-    closeTemplateDetailsDropdown();
-  }

-  function clearCustomizations() {
-    revertTemplate(templatePart);
-    onClose();
-    closeTemplateDetailsDropdown();
-  }
+/**
+ * Internal dependencies
+ */

-  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"])(external_wp_components_["MenuItem"], Object(esm_extends["a" /* default */])({}, editLinkProps, {
-    onClick: editTemplatePart
-  }), Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: template part title */
-  Object(external_wp_i18n_["__"])('Edit %s'), (_templatePart$title = templatePart.title) === null || _templatePart$title === void 0 ? void 0 : _templatePart$title.rendered))), isTemplateRevertable(templatePart) && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    info: Object(external_wp_i18n_["__"])('Restore template to default state'),
-    onClick: clearCustomizations
-  }, Object(external_wp_i18n_["__"])('Clear customizations'))));
-}

-function TemplatePartItem(_ref2) {
-  let {
-    templatePart,
-    clientId,
-    closeTemplateDetailsDropdown
-  } = _ref2;
-  const {
-    selectBlock,
-    toggleBlockHighlight
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const templatePartArea = Object(external_wp_data_["useSelect"])(select => {
-    const defaultAreas = select(external_wp_editor_["store"]).__experimentalGetDefaultTemplatePartAreas();

-    return defaultAreas.find(defaultArea => defaultArea.area === templatePart.area);
-  }, [templatePart.area]);
+/**
+ * @typedef {'template'|'template_type'} TemplateType Template type.
+ */

-  const highlightBlock = () => toggleBlockHighlight(clientId, true);
+/**
+ * Returns whether the given feature is enabled or not.
+ *
+ * @param {Object} state   Global application state.
+ * @param {string} feature Feature slug.
+ *
+ * @return {boolean} Is active.
+ */

-  const cancelHighlightBlock = () => toggleBlockHighlight(clientId, false);
+function selectors_isFeatureActive(state, feature) {
+  return (0,external_lodash_namespaceObject.get)(state.preferences.features, [feature], false);
+}
+/**
+ * Returns the current editing canvas device type.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {string} Device type.
+ */

-  return Object(external_wp_element_["createElement"])("div", {
-    role: "menuitem",
-    className: "edit-site-template-details__template-areas-item"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    role: "button",
-    icon: templatePartArea === null || templatePartArea === void 0 ? void 0 : templatePartArea.icon,
-    iconPosition: "left",
-    onClick: () => {
-      selectBlock(clientId);
-    },
-    onMouseOver: highlightBlock,
-    onMouseLeave: cancelHighlightBlock,
-    onFocus: highlightBlock,
-    onBlur: cancelHighlightBlock
-  }, templatePartArea === null || templatePartArea === void 0 ? void 0 : templatePartArea.label), Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    icon: more_vertical["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('More options'),
-    className: "edit-site-template-details__template-areas-item-more"
-  }, _ref3 => {
-    let {
-      onClose
-    } = _ref3;
-    return Object(external_wp_element_["createElement"])(TemplatePartItemMore, {
-      onClose: onClose,
-      templatePart: templatePart,
-      closeTemplateDetailsDropdown: closeTemplateDetailsDropdown
-    });
-  }));
+function __experimentalGetPreviewDeviceType(state) {
+  return state.deviceType;
 }
+/**
+ * Returns whether the current user can create media or not.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} Whether the current user can create media or not.
+ */

-function TemplateAreas(_ref4) {
-  let {
-    closeTemplateDetailsDropdown
-  } = _ref4;
-  const templateParts = Object(external_wp_data_["useSelect"])(select => select(store).getCurrentTemplateTemplateParts(), []);
+const getCanUserCreateMedia = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => select(external_wp_coreData_namespaceObject.store).canUser('create', 'media'));
+/**
+ * Returns any available Reusable blocks.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Array} The available reusable blocks.
+ */

-  if (!templateParts.length) {
-    return null;
+const getReusableBlocks = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  const isWeb = external_wp_element_namespaceObject.Platform.OS === 'web';
+  return isWeb ? select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_block', {
+    per_page: -1
+  }) : [];
+});
+/**
+ * Returns the settings, taking into account active features and permissions.
+ *
+ * @param {Object}   state             Global application state.
+ * @param {Function} setIsInserterOpen Setter for the open state of the global inserter.
+ *
+ * @return {Object} Settings.
+ */
+
+const getSettings = rememo((state, setIsInserterOpen) => {
+  const settings = { ...state.settings,
+    outlineMode: true,
+    focusMode: selectors_isFeatureActive(state, 'focusMode'),
+    hasFixedToolbar: selectors_isFeatureActive(state, 'fixedToolbar'),
+    __experimentalSetIsInserterOpened: setIsInserterOpen,
+    __experimentalReusableBlocks: getReusableBlocks(state)
+  };
+  const canUserCreateMedia = getCanUserCreateMedia(state);
+
+  if (!canUserCreateMedia) {
+    return settings;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Areas'),
-    className: "edit-site-template-details__group edit-site-template-details__template-areas"
-  }, templateParts.map(_ref5 => {
+  settings.mediaUpload = _ref => {
     let {
-      templatePart,
-      block
-    } = _ref5;
-    return Object(external_wp_element_["createElement"])(TemplatePartItem, {
-      key: templatePart.slug,
-      clientId: block.clientId,
-      templatePart: templatePart,
-      closeTemplateDetailsDropdown: closeTemplateDetailsDropdown
+      onError,
+      ...rest
+    } = _ref;
+    (0,external_wp_mediaUtils_namespaceObject.uploadMedia)({
+      wpAllowedMimeTypes: state.settings.allowedMimeTypes,
+      onError: _ref2 => {
+        let {
+          message
+        } = _ref2;
+        return onError(message);
+      },
+      ...rest
     });
-  }));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-details/edit-template-title.js
-
+  };

+  return settings;
+}, state => [getCanUserCreateMedia(state), state.settings, selectors_isFeatureActive(state, 'focusMode'), selectors_isFeatureActive(state, 'fixedToolbar'), getReusableBlocks(state)]);
 /**
- * WordPress dependencies
+ * Returns the current home template ID.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {number?} Home template ID.
  */

-
-
-function EditTemplateTitle(_ref) {
-  let {
-    template
-  } = _ref;
-  const [title, setTitle] = Object(external_wp_coreData_["useEntityProp"])('postType', template.type, 'title', template.id);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Title'),
-    value: title,
-    help: Object(external_wp_i18n_["__"])('Give the template a title that indicates its purpose, e.g. "Full Width".'),
-    onChange: newTitle => {
-      setTitle(newTitle || template.slug);
-    }
-  });
+function getHomeTemplateId(state) {
+  return state.homeTemplateId;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-details/index.js
-
-
-
+function getCurrentEditedPost(state) {
+  return state.editedPost;
+}
 /**
- * WordPress dependencies
+ * Returns the current edited post type (wp_template or wp_template_part).
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {TemplateType?} Template type.
  */


-
-
-
+function getEditedPostType(state) {
+  return getCurrentEditedPost(state).type;
+}
 /**
- * Internal dependencies
+ * Returns the ID of the currently edited template or template part.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {string?} Post ID.
  */

+function getEditedPostId(state) {
+  return getCurrentEditedPost(state).id;
+}
+/**
+ * Returns the current page object.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} Page.
+ */

+function getPage(state) {
+  return getCurrentEditedPost(state).page;
+}
+/**
+ * Returns the active menu in the navigation panel.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {string} Active menu.
+ */

+function getNavigationPanelActiveMenu(state) {
+  return state.navigationPanel.menu;
+}
+/**
+ * Returns the current template or template part's corresponding
+ * navigation panel's sub menu, to be used with `openNavigationPanelToMenu`.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {string} The current template or template part's sub menu.
+ */

+const getCurrentTemplateNavigationPanelSubMenu = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const templateType = getEditedPostType(state);
+  const templateId = getEditedPostId(state);
+  const template = templateId ? select(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', templateType, templateId) : null;

+  if (!template) {
+    return MENU_ROOT;
+  }

+  if ('wp_template_part' === templateType) {
+    var _TEMPLATE_PARTS_SUB_M;

-function TemplateDetails(_ref) {
-  let {
-    template,
-    onClose
-  } = _ref;
-  const {
-    title,
-    description
-  } = Object(external_wp_data_["useSelect"])(select => select(external_wp_editor_["store"]).__experimentalGetTemplateInfo(template), []);
-  const {
-    revertTemplate
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const templateSubMenu = Object(external_wp_element_["useMemo"])(() => {
-    if ((template === null || template === void 0 ? void 0 : template.type) === 'wp_template') {
-      return {
-        title: Object(external_wp_i18n_["__"])('templates'),
-        menu: MENU_TEMPLATES
-      };
-    }
+    return ((_TEMPLATE_PARTS_SUB_M = TEMPLATE_PARTS_SUB_MENUS.find(submenu => submenu.area === (template === null || template === void 0 ? void 0 : template.area))) === null || _TEMPLATE_PARTS_SUB_M === void 0 ? void 0 : _TEMPLATE_PARTS_SUB_M.menu) || MENU_TEMPLATE_PARTS;
+  }

-    return TEMPLATE_PARTS_SUB_MENUS.find(_ref2 => {
-      let {
-        area
-      } = _ref2;
-      return area === (template === null || template === void 0 ? void 0 : template.area);
-    });
-  }, [template]);
-  const browseAllLinkProps = useLink({
-    // TODO: We should update this to filter by template part's areas as well.
-    postType: template.type,
-    postId: undefined
-  });
+  const templates = select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_template');
+  const showOnFront = select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord('root', 'site').show_on_front;

-  if (!template) {
-    return null;
+  if (isTemplateSuperseded(template.slug, (0,external_lodash_namespaceObject.map)(templates, 'slug'), showOnFront)) {
+    return MENU_TEMPLATES_UNUSED;
   }

-  const revert = () => {
-    revertTemplate(template);
-    onClose();
+  return getTemplateLocation(template.slug);
+});
+/**
+ * Returns the current opened/closed state of the navigation panel.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} True if the navigation panel should be open; false if closed.
+ */
+
+function isNavigationOpened(state) {
+  return state.navigationPanel.isOpen;
+}
+/**
+ * Returns the current opened/closed state of the inserter panel.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} True if the inserter panel should be open; false if closed.
+ */
+
+function isInserterOpened(state) {
+  return !!state.blockInserterPanel;
+}
+/**
+ * Get the insertion point for the inserter.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} The root client ID, index to insert at and starting filter value.
+ */
+
+function __experimentalGetInsertionPoint(state) {
+  const {
+    rootClientId,
+    insertionIndex,
+    filterValue
+  } = state.blockInserterPanel;
+  return {
+    rootClientId,
+    insertionIndex,
+    filterValue
   };
+}
+/**
+ * Returns the current opened/closed state of the list view panel.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} True if the list view panel should be open; false if closed.
+ */

-  return Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-template-details"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-template-details__group"
-  }, template.is_custom ? Object(external_wp_element_["createElement"])(EditTemplateTitle, {
-    template: template
-  }) : Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHeading"], {
-    level: 4,
-    weight: 600,
-    className: "edit-site-template-details__title"
-  }, title), description && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalText"], {
-    size: "body",
-    className: "edit-site-template-details__description",
-    as: "p"
-  }, description)), Object(external_wp_element_["createElement"])(TemplateAreas, {
-    closeTemplateDetailsDropdown: onClose
-  }), isTemplateRevertable(template) && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    className: "edit-site-template-details__group edit-site-template-details__revert"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    className: "edit-site-template-details__revert-button",
-    info: Object(external_wp_i18n_["__"])('Restore template to default state'),
-    onClick: revert
-  }, Object(external_wp_i18n_["__"])('Clear customizations'))), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({
-    className: "edit-site-template-details__show-all-button"
-  }, browseAllLinkProps), Object(external_wp_i18n_["sprintf"])(
-  /* translators: the template part's area name ("Headers", "Sidebars") or "templates". */
-  Object(external_wp_i18n_["__"])('Browse all %s'), templateSubMenu.title)));
+function isListViewOpened(state) {
+  return state.listViewPanel;
 }
+/**
+ * Returns the template parts and their blocks for the current edited template.
+ *
+ * @param {Object} state Global application state.
+ * @return {Array} Template parts and their blocks in an array.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/index.js
+const getCurrentTemplateTemplateParts = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  var _template$blocks;

+  const templateType = getEditedPostType(state);
+  const templateId = getEditedPostId(state);
+  const template = select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord('postType', templateType, templateId);
+  const templateParts = select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_template_part', {
+    per_page: -1
+  });
+  const templatePartsById = (0,external_lodash_namespaceObject.keyBy)(templateParts, templatePart => templatePart.id);
+  return ((_template$blocks = template.blocks) !== null && _template$blocks !== void 0 ? _template$blocks : []).filter(block => (0,external_wp_blocks_namespaceObject.isTemplatePart)(block)).map(block => {
+    const {
+      attributes: {
+        theme,
+        slug
+      }
+    } = block;
+    const templatePartId = `${theme}//${slug}`;
+    const templatePart = templatePartsById[templatePartId];
+    return {
+      templatePart,
+      block
+    };
+  }).filter(_ref3 => {
+    let {
+      templatePart
+    } = _ref3;
+    return !!templatePart;
+  });
+});

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/store/index.js
 /**
  * WordPress dependencies
  */


+/**
+ * Internal dependencies
+ */





+const storeConfig = {
+  reducer: reducer,
+  actions: store_actions_namespaceObject,
+  selectors: store_selectors_namespaceObject,
+  controls: external_wp_dataControls_namespaceObject.controls,
+  persist: ['preferences']
+};
+const store_store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, storeConfig); // Once we build a more generic persistence plugin that works across types of stores
+// we'd be able to replace this with a register call.

+(0,external_wp_data_namespaceObject.registerStore)(STORE_NAME, storeConfig);

+;// CONCATENATED MODULE: ./node_modules/history/index.js
+var r,B=r||(r={});B.Pop="POP";B.Push="PUSH";B.Replace="REPLACE";var C= false?0:function(b){return b};function D(b,h){if(!b){"undefined"!==typeof console&&console.warn(h);try{throw Error(h);}catch(e){}}}function E(b){b.preventDefault();b.returnValue=""}
+function F(){var b=[];return{get length(){return b.length},push:function(h){b.push(h);return function(){b=b.filter(function(e){return e!==h})}},call:function(h){b.forEach(function(e){return e&&e(h)})}}}function H(){return Math.random().toString(36).substr(2,8)}function I(b){var h=b.pathname;h=void 0===h?"/":h;var e=b.search;e=void 0===e?"":e;b=b.hash;b=void 0===b?"":b;e&&"?"!==e&&(h+="?"===e.charAt(0)?e:"?"+e);b&&"#"!==b&&(h+="#"===b.charAt(0)?b:"#"+b);return h}
+function J(b){var h={};if(b){var e=b.indexOf("#");0<=e&&(h.hash=b.substr(e),b=b.substr(0,e));e=b.indexOf("?");0<=e&&(h.search=b.substr(e),b=b.substr(0,e));b&&(h.pathname=b)}return h}
+function createBrowserHistory(b){function h(){var c=p.location,a=m.state||{};return[a.idx,C({pathname:c.pathname,search:c.search,hash:c.hash,state:a.usr||null,key:a.key||"default"})]}function e(c){return"string"===typeof c?c:I(c)}function x(c,a){void 0===a&&(a=null);return C(extends_extends({pathname:q.pathname,hash:"",search:""},"string"===typeof c?J(c):c,{state:a,key:H()}))}function z(c){t=c;c=h();v=c[0];q=c[1];d.call({action:t,location:q})}function A(c,a){function f(){A(c,a)}var l=r.Push,k=x(c,
+a);if(!g.length||(g.call({action:l,location:k,retry:f}),!1)){var n=[{usr:k.state,key:k.key,idx:v+1},e(k)];k=n[0];n=n[1];try{m.pushState(k,"",n)}catch(G){p.location.assign(n)}z(l)}}function y(c,a){function f(){y(c,a)}var l=r.Replace,k=x(c,a);g.length&&(g.call({action:l,location:k,retry:f}),1)||(k=[{usr:k.state,key:k.key,idx:v},e(k)],m.replaceState(k[0],"",k[1]),z(l))}function w(c){m.go(c)}void 0===b&&(b={});b=b.window;var p=void 0===b?document.defaultView:b,m=p.history,u=null;p.addEventListener("popstate",
+function(){if(u)g.call(u),u=null;else{var c=r.Pop,a=h(),f=a[0];a=a[1];if(g.length)if(null!=f){var l=v-f;l&&(u={action:c,location:a,retry:function(){w(-1*l)}},w(l))}else false?0:
+void 0;else z(c)}});var t=r.Pop;b=h();var v=b[0],q=b[1],d=F(),g=F();null==v&&(v=0,m.replaceState(extends_extends({},m.state,{idx:v}),""));return{get action(){return t},get location(){return q},createHref:e,push:A,replace:y,go:w,back:function(){w(-1)},forward:function(){w(1)},listen:function(c){return d.push(c)},block:function(c){var a=g.push(c);1===g.length&&p.addEventListener("beforeunload",E);return function(){a();g.length||p.removeEventListener("beforeunload",E)}}}};
+function createHashHistory(b){function h(){var a=J(m.location.hash.substr(1)),f=a.pathname,l=a.search;a=a.hash;var k=u.state||{};return[k.idx,C({pathname:void 0===f?"/":f,search:void 0===l?"":l,hash:void 0===a?"":a,state:k.usr||null,key:k.key||"default"})]}function e(){if(t)c.call(t),t=null;else{var a=r.Pop,f=h(),l=f[0];f=f[1];if(c.length)if(null!=l){var k=q-l;k&&(t={action:a,location:f,retry:function(){p(-1*k)}},p(k))}else false?0:
+void 0;else A(a)}}function x(a){var f=document.querySelector("base"),l="";f&&f.getAttribute("href")&&(f=m.location.href,l=f.indexOf("#"),l=-1===l?f:f.slice(0,l));return l+"#"+("string"===typeof a?a:I(a))}function z(a,f){void 0===f&&(f=null);return C(_extends({pathname:d.pathname,hash:"",search:""},"string"===typeof a?J(a):a,{state:f,key:H()}))}function A(a){v=a;a=h();q=a[0];d=a[1];g.call({action:v,location:d})}function y(a,f){function l(){y(a,f)}var k=r.Push,n=z(a,f); false?
+0:void 0;if(!c.length||(c.call({action:k,location:n,retry:l}),!1)){var G=[{usr:n.state,key:n.key,idx:q+1},x(n)];n=G[0];G=G[1];try{u.pushState(n,"",G)}catch(K){m.location.assign(G)}A(k)}}function w(a,f){function l(){w(a,f)}var k=r.Replace,n=z(a,f); false?0:void 0;c.length&&(c.call({action:k,location:n,retry:l}),1)||(n=[{usr:n.state,key:n.key,idx:q},x(n)],u.replaceState(n[0],"",n[1]),A(k))}function p(a){u.go(a)}void 0===b&&(b={});b=b.window;var m=void 0===b?document.defaultView:b,u=m.history,t=null;m.addEventListener("popstate",e);m.addEventListener("hashchange",function(){var a=h()[1];I(a)!==I(d)&&e()});var v=r.Pop;b=h();var q=b[0],d=b[1],g=F(),c=F();null==q&&(q=0,u.replaceState(_extends({},u.state,{idx:q}),""));return{get action(){return v},get location(){return d},
+createHref:x,push:y,replace:w,go:p,back:function(){p(-1)},forward:function(){p(1)},listen:function(a){return g.push(a)},block:function(a){var f=c.push(a);1===c.length&&m.addEventListener("beforeunload",E);return function(){f();c.length||m.removeEventListener("beforeunload",E)}}}};
+function createMemoryHistory(b){function h(d,g){void 0===g&&(g=null);return C(_extends({pathname:t.pathname,search:"",hash:""},"string"===typeof d?J(d):d,{state:g,key:H()}))}function e(d,g,c){return!q.length||(q.call({action:d,location:g,retry:c}),!1)}function x(d,g){u=d;t=g;v.call({action:u,location:t})}function z(d,g){var c=r.Push,a=h(d,g); false?0:
+void 0;e(c,a,function(){z(d,g)})&&(m+=1,p.splice(m,p.length,a),x(c,a))}function A(d,g){var c=r.Replace,a=h(d,g); false?0:void 0;e(c,a,function(){A(d,g)})&&(p[m]=a,x(c,a))}function y(d){var g=Math.min(Math.max(m+d,0),p.length-1),c=r.Pop,a=p[g];e(c,a,function(){y(d)})&&(m=g,x(c,a))}void 0===b&&(b={});var w=b;b=w.initialEntries;w=w.initialIndex;var p=(void 0===
+b?["/"]:b).map(function(d){var g=C(_extends({pathname:"/",search:"",hash:"",state:null,key:H()},"string"===typeof d?J(d):d)); false?0:void 0;return g}),m=Math.min(Math.max(null==w?p.length-1:w,0),p.length-1),u=r.Pop,t=p[m],v=F(),q=F();return{get index(){return m},get action(){return u},get location(){return t},createHref:function(d){return"string"===
+typeof d?d:I(d)},push:z,replace:A,go:y,back:function(){y(-1)},forward:function(){y(1)},listen:function(d){return v.push(d)},block:function(d){return q.push(d)}}};

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/history.js
+/**
+ * External dependencies
+ */

 /**
- * Internal dependencies
+ * WordPress dependencies
  */


+const history_history = createBrowserHistory();
+const originalHistoryPush = history_history.push;
+const originalHistoryReplace = history_history.replace;

+function push(params, state) {
+  return originalHistoryPush.call(history_history, (0,external_wp_url_namespaceObject.addQueryArgs)(window.location.href, params), state);
+}

+function replace(params, state) {
+  return originalHistoryReplace.call(history_history, (0,external_wp_url_namespaceObject.addQueryArgs)(window.location.href, params), state);
+}

+history_history.push = push;
+history_history.replace = replace;
+/* harmony default export */ var utils_history = (history_history);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/index.js


+/**
+ * WordPress dependencies
+ */

-const preventDefault = event => {
-  event.preventDefault();
-};
+/**
+ * Internal dependencies
+ */

-function Header(_ref) {
-  let {
-    openEntitiesSavedStates,
-    isEntitiesSavedStatesOpen
-  } = _ref;
-  const inserterButton = Object(external_wp_element_["useRef"])();
-  const {
-    deviceType,
-    entityTitle,
-    template,
-    templateType,
-    isInserterOpen,
-    isListViewOpen,
-    listViewShortcut,
-    isLoaded
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      __experimentalGetPreviewDeviceType,
-      getEditedPostType,
-      getEditedPostId,
-      isInserterOpened,
-      isListViewOpened
-    } = select(store);
-    const {
-      getEditedEntityRecord
-    } = select(external_wp_coreData_["store"]);
-    const {
-      __experimentalGetTemplateInfo: getTemplateInfo
-    } = select(external_wp_editor_["store"]);
-    const {
-      getShortcutRepresentation
-    } = select(external_wp_keyboardShortcuts_["store"]);
-    const postType = getEditedPostType();
-    const postId = getEditedPostId();
-    const record = getEditedEntityRecord('postType', postType, postId);

-    const _isLoaded = !!postId;
+const RoutesContext = (0,external_wp_element_namespaceObject.createContext)();
+const HistoryContext = (0,external_wp_element_namespaceObject.createContext)();
+function useLocation() {
+  return (0,external_wp_element_namespaceObject.useContext)(RoutesContext);
+}
+function useHistory() {
+  return (0,external_wp_element_namespaceObject.useContext)(HistoryContext);
+}

-    return {
-      deviceType: __experimentalGetPreviewDeviceType(),
-      entityTitle: getTemplateInfo(record).title,
-      isLoaded: _isLoaded,
-      template: record,
-      templateType: postType,
-      isInserterOpen: isInserterOpened(),
-      isListViewOpen: isListViewOpened(),
-      listViewShortcut: getShortcutRepresentation('core/edit-site/toggle-list-view')
-    };
-  }, []);
-  const {
-    __experimentalSetPreviewDeviceType: setPreviewDeviceType,
-    setIsInserterOpened,
-    setIsListViewOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
-  const openInserter = Object(external_wp_element_["useCallback"])(() => {
-    if (isInserterOpen) {
-      // Focusing the inserter button closes the inserter popover
-      inserterButton.current.focus();
-    } else {
-      setIsInserterOpened(true);
-    }
-  }, [isInserterOpen, setIsInserterOpened]);
-  const toggleListView = Object(external_wp_element_["useCallback"])(() => setIsListViewOpened(!isListViewOpen), [setIsListViewOpened, isListViewOpen]);
-  const isFocusMode = templateType === 'wp_template_part';
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-header"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-header_start"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-header__toolbar"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    ref: inserterButton,
-    variant: "primary",
-    isPressed: isInserterOpen,
-    className: "edit-site-header-toolbar__inserter-toggle",
-    onMouseDown: preventDefault,
-    onClick: openInserter,
-    icon: plus["a" /* default */],
-    label: Object(external_wp_i18n_["_x"])('Toggle block inserter', 'Generic label for block inserter button')
-  }), isLargeViewport && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ToolSelector"], null), Object(external_wp_element_["createElement"])(UndoButton, null), Object(external_wp_element_["createElement"])(RedoButton, null), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "edit-site-header-toolbar__list-view-toggle",
-    icon: list_view["a" /* default */],
-    isPressed: isListViewOpen
-    /* translators: button label text should, if possible, be under 16 characters. */
-    ,
-    label: Object(external_wp_i18n_["__"])('List View'),
-    onClick: toggleListView,
-    shortcut: listViewShortcut
-  })))), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-header_center"
-  }, Object(external_wp_element_["createElement"])(DocumentActions, {
-    entityTitle: entityTitle,
-    entityLabel: templateType === 'wp_template_part' ? 'template part' : 'template',
-    isLoaded: isLoaded
-  }, _ref2 => {
-    let {
-      onClose
-    } = _ref2;
-    return Object(external_wp_element_["createElement"])(TemplateDetails, {
-      template: template,
-      onClose: onClose
-    });
-  })), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-header_end"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-header__actions"
-  }, !isFocusMode && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalPreviewOptions"], {
-    deviceType: deviceType,
-    setDeviceType: setPreviewDeviceType
-  }), Object(external_wp_element_["createElement"])(SaveButton, {
-    openEntitiesSavedStates: openEntitiesSavedStates,
-    isEntitiesSavedStatesOpen: isEntitiesSavedStatesOpen
-  }), Object(external_wp_element_["createElement"])(build_module["h" /* PinnedItems */].Slot, {
-    scope: "core/edit-site"
-  }), Object(external_wp_element_["createElement"])(MoreMenu, null))));
+function getLocationWithParams(location) {
+  const searchParams = new URLSearchParams(location.search);
+  return { ...location,
+    params: Object.fromEntries(searchParams.entries())
+  };
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/cog.js
-var cog = __webpack_require__("Cg8A");
+function Routes(_ref) {
+  let {
+    children
+  } = _ref;
+  const [location, setLocation] = (0,external_wp_element_namespaceObject.useState)(() => getLocationWithParams(utils_history.location));
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    return utils_history.listen(_ref2 => {
+      let {
+        location: updatedLocation
+      } = _ref2;
+      setLocation(getLocationWithParams(updatedLocation));
+    });
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)(HistoryContext.Provider, {
+    value: utils_history
+  }, (0,external_wp_element_namespaceObject.createElement)(RoutesContext.Provider, {
+    value: location
+  }, children(location)));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/default-sidebar.js
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"]
+var external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js


 /**
  * WordPress dependencies
  */

-function DefaultSidebar(_ref) {
-  let {
-    className,
-    identifier,
-    title,
-    icon,
-    children,
-    closeLabel,
-    header,
-    headerClassName
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(build_module["b" /* ComplementaryArea */], {
-    className: className,
-    scope: "core/edit-site",
-    identifier: identifier,
-    title: title,
-    icon: icon,
-    closeLabel: closeLabel,
-    header: header,
-    headerClassName: headerClassName
-  }, children), Object(external_wp_element_["createElement"])(build_module["c" /* ComplementaryAreaMoreMenuItem */], {
-    scope: "core/edit-site",
-    identifier: identifier,
-    icon: icon
-  }, title));
-}
+const plus = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
+}));
+/* harmony default export */ var library_plus = (plus);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/styles.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js


 /**
  * WordPress dependencies
  */

-const styles_styles = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const listView = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   viewBox: "0 0 24 24",
   xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
 }));
-/* harmony default export */ var library_styles = (styles_styles);
+/* harmony default export */ var list_view = (listView);
+
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
+
+
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
-var build_module_icon = __webpack_require__("iClF");
+const moreVertical = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
+}));
+/* harmony default export */ var more_vertical = (moreVertical);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js
-var chevron_left = __webpack_require__("2gm7");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js
-var chevron_right = __webpack_require__("1iEr");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/utils.js
 /**
- * External dependencies
+ * WordPress dependencies
  */

-/* Supporting data */
+const external = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
+}));
+/* harmony default export */ var library_external = (external);

-const ROOT_BLOCK_NAME = 'root';
-const ROOT_BLOCK_SELECTOR = 'body';
-const ROOT_BLOCK_SUPPORTS = ['background', 'backgroundColor', 'color', 'linkColor', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight', 'textDecoration', 'textTransform', 'padding'];
-const PRESET_METADATA = [{
-  path: ['color', 'palette'],
-  valueKey: 'color',
-  cssVarInfix: 'color',
-  classes: [{
-    classSuffix: 'color',
-    propertyName: 'color'
-  }, {
-    classSuffix: 'background-color',
-    propertyName: 'background-color'
-  }, {
-    classSuffix: 'border-color',
-    propertyName: 'border-color'
-  }]
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcut-help-modal/config.js
+/**
+ * WordPress dependencies
+ */
+
+const textFormattingShortcuts = [{
+  keyCombination: {
+    modifier: 'primary',
+    character: 'b'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Make the selected text bold.')
 }, {
-  path: ['color', 'gradients'],
-  valueKey: 'gradient',
-  cssVarInfix: 'gradient',
-  classes: [{
-    classSuffix: 'gradient-background',
-    propertyName: 'background'
-  }]
+  keyCombination: {
+    modifier: 'primary',
+    character: 'i'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Make the selected text italic.')
 }, {
-  path: ['typography', 'fontSizes'],
-  valueKey: 'size',
-  cssVarInfix: 'font-size',
-  classes: [{
-    classSuffix: 'font-size',
-    propertyName: 'font-size'
-  }]
+  keyCombination: {
+    modifier: 'primary',
+    character: 'k'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Convert the selected text into a link.')
 }, {
-  path: ['typography', 'fontFamilies'],
-  valueKey: 'fontFamily',
-  cssVarInfix: 'font-family',
-  classes: [{
-    classSuffix: 'font-family',
-    propertyName: 'font-family'
-  }]
+  keyCombination: {
+    modifier: 'primaryShift',
+    character: 'k'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Remove a link.')
+}, {
+  keyCombination: {
+    modifier: 'primary',
+    character: 'u'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Underline the selected text.')
 }];
-const STYLE_PATH_TO_CSS_VAR_INFIX = {
-  'color.background': 'color',
-  'color.text': 'color',
-  'elements.link.color.text': 'color',
-  'color.gradient': 'gradient',
-  'typography.fontSize': 'font-size',
-  'typography.fontFamily': 'font-family'
-};
-
-function findInPresetsBy(features, blockName, presetPath, presetProperty, presetValueValue) {
-  // Block presets take priority above root level presets.
-  const orderedPresetsByOrigin = [Object(external_lodash_["get"])(features, ['blocks', blockName, ...presetPath]), Object(external_lodash_["get"])(features, presetPath)];

-  for (const presetByOrigin of orderedPresetsByOrigin) {
-    if (presetByOrigin) {
-      // Preset origins ordered by priority.
-      const origins = ['custom', 'theme', 'default'];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcut-help-modal/shortcut.js

-      for (const origin of origins) {
-        const presets = presetByOrigin[origin];

-        if (presets) {
-          const presetObject = Object(external_lodash_["find"])(presets, preset => preset[presetProperty] === presetValueValue);
+/**
+ * External dependencies
+ */

-          if (presetObject) {
-            if (presetProperty === 'slug') {
-              return presetObject;
-            } // if there is a highest priority preset with the same slug but different value the preset we found was overwritten and should be ignored.
+/**
+ * WordPress dependencies
+ */


-            const highestPresetObjectWithSameSlug = findInPresetsBy(features, blockName, presetPath, 'slug', presetObject.slug);

-            if (highestPresetObjectWithSameSlug[presetProperty] === presetObject[presetProperty]) {
-              return presetObject;
-            }

-            return undefined;
-          }
-        }
-      }
+function KeyCombination(_ref) {
+  let {
+    keyCombination,
+    forceAriaLabel
+  } = _ref;
+  const shortcut = keyCombination.modifier ? external_wp_keycodes_namespaceObject.displayShortcutList[keyCombination.modifier](keyCombination.character) : keyCombination.character;
+  const ariaLabel = keyCombination.modifier ? external_wp_keycodes_namespaceObject.shortcutAriaLabel[keyCombination.modifier](keyCombination.character) : keyCombination.character;
+  return (0,external_wp_element_namespaceObject.createElement)("kbd", {
+    className: "edit-site-keyboard-shortcut-help-modal__shortcut-key-combination",
+    "aria-label": forceAriaLabel || ariaLabel
+  }, (0,external_lodash_namespaceObject.castArray)(shortcut).map((character, index) => {
+    if (character === '+') {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, {
+        key: index
+      }, character);
     }
-  }
+
+    return (0,external_wp_element_namespaceObject.createElement)("kbd", {
+      key: index,
+      className: "edit-site-keyboard-shortcut-help-modal__shortcut-key"
+    }, character);
+  }));
 }

-function getPresetVariableFromValue(features, blockName, variableStylePath, presetPropertyValue) {
-  if (!presetPropertyValue) {
-    return presetPropertyValue;
-  }
+function Shortcut(_ref2) {
+  let {
+    description,
+    keyCombination,
+    aliases = [],
+    ariaLabel
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-keyboard-shortcut-help-modal__shortcut-description"
+  }, description), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-keyboard-shortcut-help-modal__shortcut-term"
+  }, (0,external_wp_element_namespaceObject.createElement)(KeyCombination, {
+    keyCombination: keyCombination,
+    forceAriaLabel: ariaLabel
+  }), aliases.map((alias, index) => (0,external_wp_element_namespaceObject.createElement)(KeyCombination, {
+    keyCombination: alias,
+    forceAriaLabel: ariaLabel,
+    key: index
+  }))));
+}

-  const cssVarInfix = STYLE_PATH_TO_CSS_VAR_INFIX[variableStylePath];
-  const metadata = Object(external_lodash_["find"])(PRESET_METADATA, ['cssVarInfix', cssVarInfix]);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js

-  if (!metadata) {
-    // The property doesn't have preset data
-    // so the value should be returned as it is.
-    return presetPropertyValue;
-  }

-  const {
-    valueKey,
-    path
-  } = metadata;
-  const presetObject = findInPresetsBy(features, blockName, path, valueKey, presetPropertyValue);
+/**
+ * WordPress dependencies
+ */

-  if (!presetObject) {
-    // Value wasn't found in the presets,
-    // so it must be a custom value.
-    return presetPropertyValue;
+
+/**
+ * Internal dependencies
+ */
+
+
+function DynamicShortcut(_ref) {
+  let {
+    name
+  } = _ref;
+  const {
+    keyCombination,
+    description,
+    aliases
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getShortcutKeyCombination,
+      getShortcutDescription,
+      getShortcutAliases
+    } = select(external_wp_keyboardShortcuts_namespaceObject.store);
+    return {
+      keyCombination: getShortcutKeyCombination(name),
+      aliases: getShortcutAliases(name),
+      description: getShortcutDescription(name)
+    };
+  }, [name]);
+
+  if (!keyCombination) {
+    return null;
   }

-  return `var:preset|${cssVarInfix}|${presetObject.slug}`;
+  return (0,external_wp_element_namespaceObject.createElement)(Shortcut, {
+    keyCombination: keyCombination,
+    description: description,
+    aliases: aliases
+  });
 }

-function getValueFromPresetVariable(features, blockName, variable, _ref) {
-  let [presetType, slug] = _ref;
-  const metadata = Object(external_lodash_["find"])(PRESET_METADATA, ['cssVarInfix', presetType]);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcut-help-modal/index.js

-  if (!metadata) {
-    return variable;
-  }

-  const presetObject = findInPresetsBy(features, blockName, metadata.path, 'slug', slug);
+/**
+ * External dependencies
+ */

-  if (presetObject) {
-    const {
-      valueKey
-    } = metadata;
-    const result = presetObject[valueKey];
-    return getValueFromVariable(features, blockName, result);
-  }

-  return variable;
-}
+/**
+ * WordPress dependencies
+ */

-function getValueFromCustomVariable(features, blockName, variable, path) {
-  var _get;

-  const result = (_get = Object(external_lodash_["get"])(features, ['blocks', blockName, 'custom', ...path])) !== null && _get !== void 0 ? _get : Object(external_lodash_["get"])(features, ['custom', ...path]);

-  if (!result) {
-    return variable;
-  } // A variable may reference another variable so we need recursion until we find the value.


-  return getValueFromVariable(features, blockName, result);
-}
+/**
+ * Internal dependencies
+ */

-function getValueFromVariable(features, blockName, variable) {
-  if (!variable || !Object(external_lodash_["isString"])(variable)) {
-    return variable;
-  }

-  const USER_VALUE_PREFIX = 'var:';
-  const THEME_VALUE_PREFIX = 'var(--wp--';
-  const THEME_VALUE_SUFFIX = ')';
-  let parsedVar;

-  if (variable.startsWith(USER_VALUE_PREFIX)) {
-    parsedVar = variable.slice(USER_VALUE_PREFIX.length).split('|');
-  } else if (variable.startsWith(THEME_VALUE_PREFIX) && variable.endsWith(THEME_VALUE_SUFFIX)) {
-    parsedVar = variable.slice(THEME_VALUE_PREFIX.length, -THEME_VALUE_SUFFIX.length).split('--');
-  } else {
-    // We don't know how to parse the value: either is raw of uses complex CSS such as `calc(1px * var(--wp--variable) )`
-    return variable;
-  }

-  const [type, ...path] = parsedVar;

-  if (type === 'preset') {
-    return getValueFromPresetVariable(features, blockName, variable, path);
-  }
+const ShortcutList = _ref => {
+  let {
+    shortcuts
+  } = _ref;
+  return (
+    /*
+     * Disable reason: The `list` ARIA role is redundant but
+     * Safari+VoiceOver won't announce the list otherwise.
+     */

-  if (type === 'custom') {
-    return getValueFromCustomVariable(features, blockName, variable, path);
+    /* eslint-disable jsx-a11y/no-redundant-roles */
+    (0,external_wp_element_namespaceObject.createElement)("ul", {
+      className: "edit-site-keyboard-shortcut-help-modal__shortcut-list",
+      role: "list"
+    }, shortcuts.map((shortcut, index) => (0,external_wp_element_namespaceObject.createElement)("li", {
+      className: "edit-site-keyboard-shortcut-help-modal__shortcut",
+      key: index
+    }, (0,external_lodash_namespaceObject.isString)(shortcut) ? (0,external_wp_element_namespaceObject.createElement)(DynamicShortcut, {
+      name: shortcut
+    }) : (0,external_wp_element_namespaceObject.createElement)(Shortcut, shortcut))))
+    /* eslint-enable jsx-a11y/no-redundant-roles */
+
+  );
+};
+
+const ShortcutSection = _ref2 => {
+  let {
+    title,
+    shortcuts,
+    className
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)("section", {
+    className: classnames_default()('edit-site-keyboard-shortcut-help-modal__section', className)
+  }, !!title && (0,external_wp_element_namespaceObject.createElement)("h2", {
+    className: "edit-site-keyboard-shortcut-help-modal__section-title"
+  }, title), (0,external_wp_element_namespaceObject.createElement)(ShortcutList, {
+    shortcuts: shortcuts
+  }));
+};
+
+const ShortcutCategorySection = _ref3 => {
+  let {
+    title,
+    categoryName,
+    additionalShortcuts = []
+  } = _ref3;
+  const categoryShortcuts = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(external_wp_keyboardShortcuts_namespaceObject.store).getCategoryShortcuts(categoryName);
+  }, [categoryName]);
+  return (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    title: title,
+    shortcuts: categoryShortcuts.concat(additionalShortcuts)
+  });
+};
+
+function KeyboardShortcutHelpModal(_ref4) {
+  let {
+    isModalActive,
+    toggleModal
+  } = _ref4;
+
+  if (!isModalActive) {
+    return null;
   }

-  return variable;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    className: "edit-site-keyboard-shortcut-help-modal",
+    title: (0,external_wp_i18n_namespaceObject.__)('Keyboard shortcuts'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
+    onRequestClose: toggleModal
+  }, (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    className: "edit-site-keyboard-shortcut-help-modal__main-shortcuts",
+    shortcuts: ['core/edit-site/keyboard-shortcuts']
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Global shortcuts'),
+    categoryName: "global"
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Selection shortcuts'),
+    categoryName: "selection"
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Block shortcuts'),
+    categoryName: "block",
+    additionalShortcuts: [{
+      keyCombination: {
+        character: '/'
+      },
+      description: (0,external_wp_i18n_namespaceObject.__)('Change the block type after adding a new paragraph.'),
+
+      /* translators: The forward-slash character. e.g. '/'. */
+      ariaLabel: (0,external_wp_i18n_namespaceObject.__)('Forward-slash')
+    }]
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Text formatting'),
+    shortcuts: textFormattingShortcuts
+  }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/context.js
-/**
- * WordPress dependencies
- */
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/feature-toggle/index.js

-const DEFAULT_GLOBAL_STYLES_CONTEXT = {
-  user: {},
-  base: {},
-  merged: {},
-  setUserConfig: () => {}
-};
-const GlobalStylesContext = Object(external_wp_element_["createContext"])(DEFAULT_GLOBAL_STYLES_CONTEXT);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/hooks.js
 /**
  * External dependencies
  */
@@ -3187,271 +3388,264 @@ const GlobalStylesContext = Object(external_wp_element_["createContext"])(DEFAUL



+
+
 /**
  * Internal dependencies
  */


+function FeatureToggle(_ref) {
+  let {
+    feature,
+    label,
+    info,
+    messageActivated,
+    messageDeactivated
+  } = _ref;

-const EMPTY_CONFIG = {
-  isGlobalStylesUserThemeJSON: true,
-  version: 1
-};
-const useGlobalStylesReset = () => {
-  const {
-    user: config,
-    setUserConfig
-  } = Object(external_wp_element_["useContext"])(GlobalStylesContext);
-  const canReset = !!config && !Object(external_lodash_["isEqual"])(config, EMPTY_CONFIG);
-  return [canReset, Object(external_wp_element_["useCallback"])(() => setUserConfig(() => EMPTY_CONFIG), [setUserConfig])];
-};
-function useSetting(path, blockName) {
-  var _getSettingValueForCo;
-
-  let source = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'all';
-  const {
-    merged: mergedConfig,
-    base: baseConfig,
-    user: userConfig,
-    setUserConfig
-  } = Object(external_wp_element_["useContext"])(GlobalStylesContext);
-  const fullPath = !blockName ? `settings.${path}` : `settings.blocks.${blockName}.${path}`;
-
-  const setSetting = newValue => {
-    setUserConfig(currentConfig => {
-      const newUserConfig = Object(external_lodash_["cloneDeep"])(currentConfig);
-      const pathToSet = external_wp_blocks_["__EXPERIMENTAL_PATHS_WITH_MERGE"][path] ? fullPath + '.custom' : fullPath;
-      Object(external_lodash_["set"])(newUserConfig, pathToSet, newValue);
-      return newUserConfig;
-    });
+  const speakMessage = () => {
+    if (isActive) {
+      (0,external_wp_a11y_namespaceObject.speak)(messageDeactivated || (0,external_wp_i18n_namespaceObject.__)('Feature deactivated'));
+    } else {
+      (0,external_wp_a11y_namespaceObject.speak)(messageActivated || (0,external_wp_i18n_namespaceObject.__)('Feature activated'));
+    }
   };

-  const getSettingValueForContext = name => {
-    const currentPath = !name ? `settings.${path}` : `settings.blocks.${name}.${path}`;
+  const isActive = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(store_store).isFeatureActive(feature);
+  }, []);
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    icon: isActive && library_check,
+    isSelected: isActive,
+    onClick: (0,external_lodash_namespaceObject.flow)(toggleFeature.bind(null, feature), speakMessage),
+    role: "menuitemcheckbox",
+    info: info
+  }, label);
+}

-    const getSettingValue = configToUse => {
-      const result = Object(external_lodash_["get"])(configToUse, currentPath);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/tools-more-menu-group/index.js

-      if (external_wp_blocks_["__EXPERIMENTAL_PATHS_WITH_MERGE"][path]) {
-        var _ref, _result$custom;

-        return (_ref = (_result$custom = result === null || result === void 0 ? void 0 : result.custom) !== null && _result$custom !== void 0 ? _result$custom : result === null || result === void 0 ? void 0 : result.theme) !== null && _ref !== void 0 ? _ref : result === null || result === void 0 ? void 0 : result.default;
-      }
+/**
+ * External dependencies
+ */

-      return result;
-    };
+/**
+ * WordPress dependencies
+ */

-    let result;

-    switch (source) {
-      case 'all':
-        result = getSettingValue(mergedConfig);
-        break;
+const {
+  Fill: ToolsMoreMenuGroup,
+  Slot
+} = (0,external_wp_components_namespaceObject.createSlotFill)('EditSiteToolsMoreMenuGroup');

-      case 'user':
-        result = getSettingValue(userConfig);
-        break;
+ToolsMoreMenuGroup.Slot = _ref => {
+  let {
+    fillProps
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(Slot, {
+    fillProps: fillProps
+  }, fills => !(0,external_lodash_namespaceObject.isEmpty)(fills) && fills);
+};

-      case 'base':
-        result = getSettingValue(baseConfig);
-        break;
+/* harmony default export */ var tools_more_menu_group = (ToolsMoreMenuGroup);

-      default:
-        throw 'Unsupported source';
-    }
+// EXTERNAL MODULE: ./node_modules/downloadjs/download.js
+var download = __webpack_require__(8981);
+var download_default = /*#__PURE__*/__webpack_require__.n(download);
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/download.js

-    return result;
-  }; // Unlike styles settings get inherited from top level settings.

+/**
+ * WordPress dependencies
+ */

-  const resultWithFallback = (_getSettingValueForCo = getSettingValueForContext(blockName)) !== null && _getSettingValueForCo !== void 0 ? _getSettingValueForCo : getSettingValueForContext();
-  return [resultWithFallback, setSetting];
-}
-function useStyle(path, blockName) {
-  var _get;
+const download_download = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"
+}));
+/* harmony default export */ var library_download = (download_download);

-  let source = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'all';
-  const {
-    merged: mergedConfig,
-    base: baseConfig,
-    user: userConfig,
-    setUserConfig
-  } = Object(external_wp_element_["useContext"])(GlobalStylesContext);
-  const finalPath = !blockName ? `styles.${path}` : `styles.blocks.${blockName}.${path}`;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/more-menu/site-export.js

-  const setStyle = newValue => {
-    setUserConfig(currentConfig => {
-      const newUserConfig = Object(external_lodash_["cloneDeep"])(currentConfig);
-      Object(external_lodash_["set"])(newUserConfig, finalPath, getPresetVariableFromValue(mergedConfig.settings, blockName, path, newValue));
-      return newUserConfig;
-    });
-  };

-  let result;
+/**
+ * External dependencies
+ */

-  switch (source) {
-    case 'all':
-      result = getValueFromVariable(mergedConfig.settings, blockName, (_get = Object(external_lodash_["get"])(userConfig, finalPath)) !== null && _get !== void 0 ? _get : Object(external_lodash_["get"])(baseConfig, finalPath));
-      break;
+/**
+ * WordPress dependencies
+ */

-    case 'user':
-      result = getValueFromVariable(mergedConfig.settings, blockName, Object(external_lodash_["get"])(userConfig, finalPath));
-      break;

-    case 'base':
-      result = getValueFromVariable(baseConfig.settings, blockName, Object(external_lodash_["get"])(baseConfig, finalPath));
-      break;

-    default:
-      throw 'Unsupported source';
-  }

-  return [result, setStyle];
-}
-const hooks_ROOT_BLOCK_SUPPORTS = ['background', 'backgroundColor', 'color', 'linkColor', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight', 'textDecoration', 'textTransform', 'padding'];
-function getSupportedGlobalStylesPanels(name) {
-  if (!name) {
-    return hooks_ROOT_BLOCK_SUPPORTS;
-  }

-  const blockType = Object(external_wp_blocks_["getBlockType"])(name);

-  if (!blockType) {
-    return [];
-  }

-  const supportKeys = [];
-  Object.keys(external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"]).forEach(styleName => {
-    if (!external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"][styleName].support) {
-      return;
-    } // Opting out means that, for certain support keys like background color,
-    // blocks have to explicitly set the support value false. If the key is
-    // unset, we still enable it.
+function SiteExport() {
+  const {
+    createErrorNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+
+  async function handleExport() {
+    try {
+      const response = await external_wp_apiFetch_default()({
+        path: '/wp-block-editor/v1/export',
+        parse: false
+      });
+      const blob = await response.blob();
+      download_default()(blob, 'edit-site-export.zip', 'application/zip');
+    } catch (errorResponse) {
+      let error = {};

+      try {
+        error = await errorResponse.json();
+      } catch (e) {}

-    if (external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"][styleName].requiresOptOut) {
-      if (Object(external_lodash_["has"])(blockType.supports, external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"][styleName].support[0]) && Object(external_lodash_["get"])(blockType.supports, external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"][styleName].support) !== false) {
-        return supportKeys.push(styleName);
-      }
+      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : (0,external_wp_i18n_namespaceObject.__)('An error occurred while creating the site export.');
+      createErrorNotice(errorMessage, {
+        type: 'snackbar'
+      });
     }
+  }

-    if (Object(external_lodash_["get"])(blockType.supports, external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"][styleName].support, false)) {
-      return supportKeys.push(styleName);
-    }
-  });
-  return supportKeys;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    role: "menuitem",
+    icon: library_download,
+    onClick: handleExport,
+    info: (0,external_wp_i18n_namespaceObject.__)('Download your templates and template parts.')
+  }, (0,external_wp_i18n_namespaceObject._x)('Export', 'site exporter menu item'));
 }
-function useColorsPerOrigin(name) {
-  const [customColors] = useSetting('color.palette.custom', name);
-  const [themeColors] = useSetting('color.palette.theme', name);
-  const [defaultColors] = useSetting('color.palette.default', name);
-  const [shouldDisplayDefaultColors] = useSetting('color.defaultPalette');
-  return Object(external_wp_element_["useMemo"])(() => {
-    const result = [];

-    if (themeColors && themeColors.length) {
-      result.push({
-        name: Object(external_wp_i18n_["_x"])('Theme', 'Indicates this palette comes from the theme.'),
-        colors: themeColors
-      });
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/more-menu/welcome-guide-menu-item.js

-    if (shouldDisplayDefaultColors && defaultColors && defaultColors.length) {
-      result.push({
-        name: Object(external_wp_i18n_["_x"])('Default', 'Indicates this palette comes from WordPress.'),
-        colors: defaultColors
-      });
-    }

-    if (customColors && customColors.length) {
-      result.push({
-        name: Object(external_wp_i18n_["_x"])('Custom', 'Indicates this palette is created by the user.'),
-        colors: customColors
-      });
-    }
+/**
+ * WordPress dependencies
+ */

-    return result;
-  }, [customColors, themeColors, defaultColors]);
-}
-function useGradientsPerOrigin(name) {
-  const [customGradients] = useSetting('color.gradients.custom', name);
-  const [themeGradients] = useSetting('color.gradients.theme', name);
-  const [defaultGradients] = useSetting('color.gradients.default', name);
-  const [shouldDisplayDefaultGradients] = useSetting('color.defaultGradients');
-  return Object(external_wp_element_["useMemo"])(() => {
-    const result = [];

-    if (themeGradients && themeGradients.length) {
-      result.push({
-        name: Object(external_wp_i18n_["_x"])('Theme', 'Indicates this palette comes from the theme.'),
-        gradients: themeGradients
-      });
-    }

-    if (shouldDisplayDefaultGradients && defaultGradients && defaultGradients.length) {
-      result.push({
-        name: Object(external_wp_i18n_["_x"])('Default', 'Indicates this palette comes from WordPress.'),
-        gradients: defaultGradients
-      });
-    }
+/**
+ * Internal dependencies
+ */

-    if (customGradients && customGradients.length) {
-      result.push({
-        name: Object(external_wp_i18n_["_x"])('Custom', 'Indicates this palette is created by the user.'),
-        gradients: customGradients
-      });
-    }

-    return result;
-  }, [customGradients, themeGradients, defaultGradients]);
+function WelcomeGuideMenuItem() {
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: () => toggleFeature('welcomeGuide')
+  }, (0,external_wp_i18n_namespaceObject.__)('Welcome Guide'));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/preview.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/more-menu/index.js


 /**
  * WordPress dependencies
  */

+
+
+
+
+
+
 /**
  * Internal dependencies
  */



-const StylesPreview = () => {
-  const [fontFamily = 'serif'] = useStyle('typography.fontFamily');
-  const [textColor = 'black'] = useStyle('color.text');
-  const [linkColor = 'blue'] = useStyle('elements.link.color.text');
-  const [backgroundColor = 'white'] = useStyle('color.background');
-  const [gradientValue] = useStyle('color.gradient');
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Card"], {
-    className: "edit-site-global-styles-preview",
-    style: {
-      background: gradientValue !== null && gradientValue !== void 0 ? gradientValue : backgroundColor
-    }
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    spacing: 5
-  }, Object(external_wp_element_["createElement"])("div", {
-    style: {
-      fontFamily,
-      fontSize: '80px',
-      color: textColor
-    }
-  }, "Aa"), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalVStack"], {
-    spacing: 2
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ColorIndicator"], {
-    colorValue: textColor
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ColorIndicator"], {
-    colorValue: linkColor
-  }))));
-};

-/* harmony default export */ var preview = (StylesPreview);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/navigation-button.js
+
+const POPOVER_PROPS = {
+  className: 'edit-site-more-menu__content',
+  position: 'bottom left'
+};
+const TOGGLE_PROPS = {
+  tooltipPosition: 'bottom'
+};
+function MoreMenu() {
+  const [isModalActive, toggleModal] = (0,external_wp_element_namespaceObject.useReducer)(isActive => !isActive, false);
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-site/keyboard-shortcuts', toggleModal);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    className: "edit-site-more-menu",
+    icon: more_vertical,
+    label: (0,external_wp_i18n_namespaceObject.__)('More tools & options'),
+    popoverProps: POPOVER_PROPS,
+    toggleProps: TOGGLE_PROPS
+  }, _ref => {
+    let {
+      onClose
+    } = _ref;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+      label: (0,external_wp_i18n_namespaceObject._x)('View', 'noun')
+    }, (0,external_wp_element_namespaceObject.createElement)(FeatureToggle, {
+      feature: "fixedToolbar",
+      label: (0,external_wp_i18n_namespaceObject.__)('Top toolbar'),
+      info: (0,external_wp_i18n_namespaceObject.__)('Access all block and document tools in a single place'),
+      messageActivated: (0,external_wp_i18n_namespaceObject.__)('Top toolbar activated'),
+      messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Top toolbar deactivated')
+    }), (0,external_wp_element_namespaceObject.createElement)(FeatureToggle, {
+      feature: "focusMode",
+      label: (0,external_wp_i18n_namespaceObject.__)('Spotlight mode'),
+      info: (0,external_wp_i18n_namespaceObject.__)('Focus on one block at a time'),
+      messageActivated: (0,external_wp_i18n_namespaceObject.__)('Spotlight mode activated'),
+      messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Spotlight mode deactivated')
+    }), (0,external_wp_element_namespaceObject.createElement)(action_item.Slot, {
+      name: "core/edit-site/plugin-more-menu",
+      label: (0,external_wp_i18n_namespaceObject.__)('Plugins'),
+      as: external_wp_components_namespaceObject.MenuGroup,
+      fillProps: {
+        onClick: onClose
+      }
+    })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Tools')
+    }, (0,external_wp_element_namespaceObject.createElement)(SiteExport, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      onClick: toggleModal,
+      shortcut: external_wp_keycodes_namespaceObject.displayShortcut.access('h')
+    }, (0,external_wp_i18n_namespaceObject.__)('Keyboard shortcuts')), (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideMenuItem, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      icon: library_external,
+      role: "menuitem",
+      href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/site-editor/'),
+      target: "_blank",
+      rel: "noopener noreferrer"
+    }, (0,external_wp_i18n_namespaceObject.__)('Help'), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+      as: "span"
+    },
+    /* translators: accessibility text */
+    (0,external_wp_i18n_namespaceObject.__)('(opens in a new tab)'))), (0,external_wp_element_namespaceObject.createElement)(tools_more_menu_group.Slot, {
+      fillProps: {
+        onClose
+      }
+    })));
+  }), (0,external_wp_element_namespaceObject.createElement)(KeyboardShortcutHelpModal, {
+    isModalActive: isModalActive,
+    toggleModal: toggleModal
+  }));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/save-button/index.js


+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -3459,63 +3653,72 @@ const StylesPreview = () => {



-function NavigationButton(_ref) {
+
+
+function SaveButton(_ref) {
   let {
-    path,
-    icon,
-    children,
-    isBack = false,
-    ...props
+    openEntitiesSavedStates,
+    isEntitiesSavedStatesOpen
   } = _ref;
-  const navigator = Object(external_wp_components_["__experimentalUseNavigator"])();
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalItem"], Object(esm_extends["a" /* default */])({
-    onClick: () => navigator.push(path, {
-      isBack
-    })
-  }, props), icon && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    justify: "flex-start"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: icon,
-    size: 24
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, children)), !icon && children);
-}
+  const {
+    isDirty,
+    isSaving
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      __experimentalGetDirtyEntityRecords,
+      isSavingEntityRecord
+    } = select(external_wp_coreData_namespaceObject.store);

-/* harmony default export */ var navigation_button = (NavigationButton);
+    const dirtyEntityRecords = __experimentalGetDirtyEntityRecords();
+
+    return {
+      isDirty: dirtyEntityRecords.length > 0,
+      isSaving: (0,external_lodash_namespaceObject.some)(dirtyEntityRecords, record => isSavingEntityRecord(record.kind, record.name, record.key))
+    };
+  }, []);
+  const disabled = !isDirty || isSaving;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "primary",
+    className: "edit-site-save-button__button",
+    "aria-disabled": disabled,
+    "aria-expanded": isEntitiesSavedStatesOpen,
+    disabled: disabled,
+    isBusy: isSaving,
+    onClick: disabled ? undefined : openEntitiesSavedStates
+  }, (0,external_wp_i18n_namespaceObject.__)('Save')));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/typography.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/undo.js


 /**
  * WordPress dependencies
  */

-const typography = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const undo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"
 }));
-/* harmony default export */ var library_typography = (typography);
+/* harmony default export */ var library_undo = (undo);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/color.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/redo.js


 /**
  * WordPress dependencies
  */

-const color_color = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"
+const redo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"
 }));
-/* harmony default export */ var library_color = (color_color);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
-var layout = __webpack_require__("Civd");
+/* harmony default export */ var library_redo = (redo);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/border-panel.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/undo-redo/undo.js


 /**
@@ -3524,389 +3727,252 @@ var layout = __webpack_require__("Civd");



-/**
- * Internal dependencies
- */


-const MIN_BORDER_WIDTH = 0; // Defining empty array here instead of inline avoids unnecessary re-renders of
-// color control.

-const EMPTY_ARRAY = [];
-function useHasBorderPanel(name) {
-  const controls = [useHasBorderColorControl(name), useHasBorderRadiusControl(name), useHasBorderStyleControl(name), useHasBorderWidthControl(name)];
-  return controls.some(Boolean);
+function UndoButton() {
+  const hasUndo = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).hasUndo(), []);
+  const {
+    undo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: !(0,external_wp_i18n_namespaceObject.isRTL)() ? library_undo : library_redo,
+    label: (0,external_wp_i18n_namespaceObject.__)('Undo'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primary('z') // If there are no undo levels we don't want to actually disable this
+    // button, because it will remove focus for keyboard users.
+    // See: https://github.com/WordPress/gutenberg/issues/3486
+    ,
+    "aria-disabled": !hasUndo,
+    onClick: hasUndo ? undo : undefined
+  });
 }

-function useHasBorderColorControl(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  return useSetting('border.color', name)[0] && supports.includes('borderColor');
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/undo-redo/redo.js

-function useHasBorderRadiusControl(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  return useSetting('border.radius', name)[0] && supports.includes('borderRadius');
-}

-function useHasBorderStyleControl(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  return useSetting('border.style', name)[0] && supports.includes('borderStyle');
-}
+/**
+ * WordPress dependencies
+ */

-function useHasBorderWidthControl(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  return useSetting('border.width', name)[0] && supports.includes('borderWidth');
-}

-function BorderPanel(_ref) {
-  let {
-    name
-  } = _ref;
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-    availableUnits: useSetting('spacing.units')[0] || ['px', 'em', 'rem']
-  }); // Border width.

-  const hasBorderWidth = useHasBorderWidthControl(name);
-  const [borderWidthValue, setBorderWidth] = useStyle('border.width', name); // Border style.

-  const hasBorderStyle = useHasBorderStyleControl(name);
-  const [borderStyle, setBorderStyle] = useStyle('border.style', name); // Border color.

-  const [colors = EMPTY_ARRAY] = useSetting('color.palette');
-  const disableCustomColors = !useSetting('color.custom')[0];
-  const disableCustomGradients = !useSetting('color.customGradient')[0];
-  const hasBorderColor = useHasBorderColorControl(name);
-  const [borderColor, setBorderColor] = useStyle('border.color', name); // Border radius.

-  const hasBorderRadius = useHasBorderRadiusControl(name);
-  const [borderRadiusValues, setBorderRadius] = useStyle('border.radius', name);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: Object(external_wp_i18n_["__"])('Border'),
-    initialOpen: true
-  }, (hasBorderWidth || hasBorderStyle) && Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-global-styles-sidebar__border-controls-row"
-  }, hasBorderWidth && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
-    value: borderWidthValue,
-    label: Object(external_wp_i18n_["__"])('Width'),
-    min: MIN_BORDER_WIDTH,
-    onChange: value => {
-      setBorderWidth(value || undefined);
-    },
-    units: units
-  }), hasBorderStyle && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBorderStyleControl"], {
-    value: borderStyle,
-    onChange: setBorderStyle
-  })), hasBorderColor && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalColorGradientControl"], {
-    label: Object(external_wp_i18n_["__"])('Color'),
-    colorValue: borderColor,
-    colors: colors,
-    gradients: undefined,
-    disableCustomColors: disableCustomColors,
-    disableCustomGradients: disableCustomGradients,
-    onColorChange: setBorderColor
-  }), hasBorderRadius && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalBorderRadiusControl"], {
-    values: borderRadiusValues,
-    onChange: setBorderRadius
-  }));
+function RedoButton() {
+  const hasRedo = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).hasRedo(), []);
+  const {
+    redo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: !(0,external_wp_i18n_namespaceObject.isRTL)() ? library_redo : library_undo,
+    label: (0,external_wp_i18n_namespaceObject.__)('Redo'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primaryShift('z') // If there are no undo levels we don't want to actually disable this
+    // button, because it will remove focus for keyboard users.
+    // See: https://github.com/WordPress/gutenberg/issues/3486
+    ,
+    "aria-disabled": !hasRedo,
+    onClick: hasRedo ? redo : undefined
+  });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/color-utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-down.js
+
+
 /**
- * Internal dependencies
+ * WordPress dependencies
  */

-function useHasColorPanel(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  return supports.includes('color') || supports.includes('backgroundColor') || supports.includes('background') || supports.includes('linkColor');
-}
+const chevronDown = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
+}));
+/* harmony default export */ var chevron_down = (chevronDown);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/dimensions-panel.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/document-actions/index.js


 /**
- * WordPress dependencies
+ * External dependencies
  */

-
-
 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-const AXIAL_SIDES = ['horizontal', 'vertical'];
-function useHasDimensionsPanel(name) {
-  const hasPadding = useHasPadding(name);
-  const hasMargin = useHasMargin(name);
-  const hasGap = useHasGap(name);
-  return hasPadding || hasMargin || hasGap;
-}

-function useHasPadding(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  const [settings] = useSetting('spacing.padding', name);
-  return settings && supports.includes('padding');
-}

-function useHasMargin(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  const [settings] = useSetting('spacing.margin', name);
-  return settings && supports.includes('margin');
-}

-function useHasGap(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  const [settings] = useSetting('spacing.blockGap', name);
-  return settings && supports.includes('--wp--style--block-gap');
-}

-function filterValuesBySides(values, sides) {
-  if (!sides) {
-    // If no custom side configuration all sides are opted into by default.
-    return values;
-  } // Only include sides opted into within filtered values.


-  const filteredValues = {};
-  sides.forEach(side => {
-    if (side === 'vertical') {
-      filteredValues.top = values.top;
-      filteredValues.bottom = values.bottom;
-    }

-    if (side === 'horizontal') {
-      filteredValues.left = values.left;
-      filteredValues.right = values.right;
-    }
+function getBlockDisplayText(block) {
+  if (block) {
+    const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(block.name);
+    return blockType ? (0,external_wp_blocks_namespaceObject.__experimentalGetBlockLabel)(blockType, block.attributes) : null;
+  }

-    filteredValues[side] = values[side];
-  });
-  return filteredValues;
+  return null;
 }

-function splitStyleValue(value) {
-  // Check for shorthand value ( a string value ).
-  if (value && typeof value === 'string') {
-    // Convert to value for individual sides for BoxControl.
+function useSecondaryText() {
+  const {
+    getBlock
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_blockEditor_namespaceObject.store);
+  const activeEntityBlockId = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).__experimentalGetActiveBlockIdByBlockNames(['core/template-part']), []);
+
+  if (activeEntityBlockId) {
     return {
-      top: value,
-      right: value,
-      bottom: value,
-      left: value
+      label: getBlockDisplayText(getBlock(activeEntityBlockId)),
+      isActive: true
     };
   }

-  return value;
+  return {};
 }
+/**
+ * @param {Object}   props             Props for the DocumentActions component.
+ * @param {string}   props.entityTitle The title to display.
+ * @param {string}   props.entityLabel A label to use for entity-related options.
+ *                                     E.g. "template" would be used for "edit
+ *                                     template" and "show template details".
+ * @param {boolean}  props.isLoaded    Whether the data is available.
+ * @param {Function} props.children    React component to use for the
+ *                                     information dropdown area. Should be a
+ *                                     function which accepts dropdown props.
+ */

-function DimensionsPanel(_ref) {
+
+function DocumentActions(_ref) {
   let {
-    name
+    entityTitle,
+    entityLabel,
+    isLoaded,
+    children: dropdownContent
   } = _ref;
-  const showPaddingControl = useHasPadding(name);
-  const showMarginControl = useHasMargin(name);
-  const showGapControl = useHasGap(name);
-  const units = Object(external_wp_components_["__experimentalUseCustomUnits"])({
-    availableUnits: useSetting('spacing.units', name)[0] || ['%', 'px', 'em', 'rem', 'vw']
-  });
-  const [rawPadding, setRawPadding] = useStyle('spacing.padding', name);
-  const paddingValues = splitStyleValue(rawPadding);
-  const paddingSides = Object(external_wp_blockEditor_["__experimentalUseCustomSides"])(name, 'padding');
-  const isAxialPadding = paddingSides && paddingSides.some(side => AXIAL_SIDES.includes(side));
+  const {
+    label
+  } = useSecondaryText(); // The title ref is passed to the popover as the anchorRef so that the
+  // dropdown is centered over the whole title area rather than just one
+  // part of it.

-  const setPaddingValues = newPaddingValues => {
-    const padding = filterValuesBySides(newPaddingValues, paddingSides);
-    setRawPadding(padding);
-  };
+  const titleRef = (0,external_wp_element_namespaceObject.useRef)(); // Return a simple loading indicator until we have information to show.

-  const resetPaddingValue = () => setPaddingValues({});
+  if (!isLoaded) {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-site-document-actions"
+    }, (0,external_wp_i18n_namespaceObject.__)('Loading…'));
+  } // Return feedback that the template does not seem to exist.

-  const hasPaddingValue = () => !!paddingValues && Object.keys(paddingValues).length;

-  const [rawMargin, setRawMargin] = useStyle('spacing.margin', name);
-  const marginValues = splitStyleValue(rawMargin);
-  const marginSides = Object(external_wp_blockEditor_["__experimentalUseCustomSides"])(name, 'margin');
-  const isAxialMargin = marginSides && marginSides.some(side => AXIAL_SIDES.includes(side));
+  if (!entityTitle) {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-site-document-actions"
+    }, (0,external_wp_i18n_namespaceObject.__)('Template not found'));
+  }

-  const setMarginValues = newMarginValues => {
-    const margin = filterValuesBySides(newMarginValues, marginSides);
-    setRawMargin(margin);
-  };
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('edit-site-document-actions', {
+      'has-secondary-label': !!label
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    ref: titleRef,
+    className: "edit-site-document-actions__title-wrapper"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalText, {
+    size: "body",
+    className: "edit-site-document-actions__title",
+    as: "h1"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    as: "span"
+  }, (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: the entity being edited, like "template"*/
+  (0,external_wp_i18n_namespaceObject.__)('Editing %s: '), entityLabel)), entityTitle), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalText, {
+    size: "body",
+    className: "edit-site-document-actions__secondary-item"
+  }, label !== null && label !== void 0 ? label : ''), dropdownContent && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    popoverProps: {
+      anchorRef: titleRef.current
+    },
+    position: "bottom center",
+    renderToggle: _ref2 => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref2;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        className: "edit-site-document-actions__get-info",
+        icon: chevron_down,
+        "aria-expanded": isOpen,
+        "aria-haspopup": "true",
+        onClick: onToggle,
+        label: (0,external_wp_i18n_namespaceObject.sprintf)(
+        /* translators: %s: the entity to see details about, like "template"*/
+        (0,external_wp_i18n_namespaceObject.__)('Show %s details'), entityLabel)
+      });
+    },
+    contentClassName: "edit-site-document-actions__info-dropdown",
+    renderContent: dropdownContent
+  })));
+}

-  const resetMarginValue = () => setMarginValues({});
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/link.js

-  const hasMarginValue = () => !!marginValues && Object.keys(marginValues).length;

-  const [gapValue, setGapValue] = useStyle('spacing.blockGap', name);
-
-  const resetGapValue = () => setGapValue(undefined);
-
-  const hasGapValue = () => !!gapValue;
-
-  const resetAll = () => {
-    resetPaddingValue();
-    resetMarginValue();
-    resetGapValue();
-  };
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanel"], {
-    label: Object(external_wp_i18n_["__"])('Dimensions'),
-    resetAll: resetAll
-  }, showPaddingControl && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    hasValue: hasPaddingValue,
-    label: Object(external_wp_i18n_["__"])('Padding'),
-    onDeselect: resetPaddingValue,
-    isShownByDefault: true
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalBoxControl"], {
-    values: paddingValues,
-    onChange: setPaddingValues,
-    label: Object(external_wp_i18n_["__"])('Padding'),
-    sides: paddingSides,
-    units: units,
-    allowReset: false,
-    splitOnAxis: isAxialPadding
-  })), showMarginControl && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    hasValue: hasMarginValue,
-    label: Object(external_wp_i18n_["__"])('Margin'),
-    onDeselect: resetMarginValue,
-    isShownByDefault: true
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalBoxControl"], {
-    values: marginValues,
-    onChange: setMarginValues,
-    label: Object(external_wp_i18n_["__"])('Margin'),
-    sides: marginSides,
-    units: units,
-    allowReset: false,
-    splitOnAxis: isAxialMargin
-  })), showGapControl && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToolsPanelItem"], {
-    hasValue: hasGapValue,
-    label: Object(external_wp_i18n_["__"])('Block spacing'),
-    onDeselect: resetGapValue,
-    isShownByDefault: true
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], {
-    label: Object(external_wp_i18n_["__"])('Block spacing'),
-    __unstableInputWidth: "80px",
-    min: 0,
-    onChange: setGapValue,
-    units: units,
-    value: gapValue
-  })));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/typography-panel.js
-
-
-/**
- * WordPress dependencies
- */

+/**
+ * WordPress dependencies
+ */

 /**
  * Internal dependencies
  */


-function useHasTypographyPanel(name) {
-  const hasLineHeight = useHasLineHeightControl(name);
-  const hasFontAppearance = useHasAppearanceControl(name);
-  const hasLetterSpacing = useHasLetterSpacingControl(name);
-  const supports = getSupportedGlobalStylesPanels(name);
-  return hasLineHeight || hasFontAppearance || hasLetterSpacing || supports.includes('fontSize');
-}
+function useLink() {
+  let params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let state = arguments.length > 1 ? arguments[1] : undefined;
+  let shouldReplace = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
+  const history = useHistory();

-function useHasLineHeightControl(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  return useSetting('typography.lineHeight', name)[0] && supports.includes('lineHeight');
-}
+  function onClick(event) {
+    event.preventDefault();

-function useHasAppearanceControl(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  const hasFontStyles = useSetting('typography.fontStyle', name)[0] && supports.includes('fontStyle');
-  const hasFontWeights = useSetting('typography.fontWeight', name)[0] && supports.includes('fontWeight');
-  return hasFontStyles || hasFontWeights;
-}
+    if (shouldReplace) {
+      history.replace(params, state);
+    } else {
+      history.push(params, state);
+    }
+  }

-function useHasLetterSpacingControl(name) {
-  const supports = getSupportedGlobalStylesPanels(name);
-  return useSetting('typography.letterSpacing', name)[0] && supports.includes('letterSpacing');
+  return {
+    href: (0,external_wp_url_namespaceObject.addQueryArgs)(window.location.href, params),
+    onClick
+  };
 }
-
-function TypographyPanel(_ref) {
+function Link(_ref) {
   let {
-    name,
-    element
+    params = {},
+    state,
+    replace: shouldReplace = false,
+    children,
+    ...props
   } = _ref;
-  const supports = getSupportedGlobalStylesPanels(name);
-  const prefix = element === 'text' || !element ? '' : `elements.${element}.`;
-  const [fontSizes] = useSetting('typography.fontSizes', name);
-  const disableCustomFontSizes = !useSetting('typography.customFontSize', name)[0];
-  const [fontFamilies] = useSetting('typography.fontFamilies', name);
-  const hasFontStyles = useSetting('typography.fontStyle', name)[0] && supports.includes('fontStyle');
-  const hasFontWeights = useSetting('typography.fontWeight', name)[0] && supports.includes('fontWeight');
-  const hasLineHeightEnabled = useHasLineHeightControl(name);
-  const hasAppearanceControl = useHasAppearanceControl(name);
-  const hasLetterSpacingControl = useHasLetterSpacingControl(name);
-  const [fontFamily, setFontFamily] = useStyle(prefix + 'typography.fontFamily', name);
-  const [fontSize, setFontSize] = useStyle(prefix + 'typography.fontSize', name);
-  const [fontStyle, setFontStyle] = useStyle(prefix + 'typography.fontStyle', name);
-  const [fontWeight, setFontWeight] = useStyle(prefix + 'typography.fontWeight', name);
-  const [lineHeight, setLineHeight] = useStyle(prefix + 'typography.lineHeight', name);
-  const [letterSpacing, setLetterSpacing] = useStyle(prefix + 'typography.letterSpacing', name);
-  const [backgroundColor] = useStyle(prefix + 'color.background', name);
-  const [gradientValue] = useStyle(prefix + 'color.gradient', name);
-  const [color] = useStyle(prefix + 'color.text', name);
-  const extraStyles = element === 'link' ? {
-    textDecoration: 'underline'
-  } : {};
-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    className: "edit-site-typography-panel",
-    initialOpen: true
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-typography-panel__preview",
-    style: {
-      fontFamily: fontFamily !== null && fontFamily !== void 0 ? fontFamily : 'serif',
-      background: gradientValue !== null && gradientValue !== void 0 ? gradientValue : backgroundColor,
-      color,
-      fontSize,
-      fontStyle,
-      fontWeight,
-      letterSpacing,
-      ...extraStyles
-    }
-  }, "Aa"), supports.includes('fontFamily') && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalFontFamilyControl"], {
-    fontFamilies: fontFamilies,
-    value: fontFamily,
-    onChange: setFontFamily
-  }), supports.includes('fontSize') && Object(external_wp_element_["createElement"])(external_wp_components_["FontSizePicker"], {
-    value: fontSize,
-    onChange: setFontSize,
-    fontSizes: fontSizes,
-    disableCustomFontSizes: disableCustomFontSizes
-  }), hasLineHeightEnabled && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["LineHeightControl"], {
-    value: lineHeight,
-    onChange: setLineHeight
-  }), hasAppearanceControl && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalFontAppearanceControl"], {
-    value: {
-      fontStyle,
-      fontWeight
-    },
-    onChange: _ref2 => {
-      let {
-        fontStyle: newFontStyle,
-        fontWeight: newFontWeight
-      } = _ref2;
-      setFontStyle(newFontStyle);
-      setFontWeight(newFontWeight);
-    },
-    hasFontStyles: hasFontStyles,
-    hasFontWeights: hasFontWeights
-  }), hasLetterSpacingControl && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLetterSpacingControl"], {
-    value: letterSpacing,
-    onChange: setLetterSpacing
-  }));
+  const {
+    href,
+    onClick
+  } = useLink(params, state, shouldReplace);
+  return (0,external_wp_element_namespaceObject.createElement)("a", extends_extends({
+    href: href,
+    onClick: onClick
+  }, props), children);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/context-menu.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-details/template-areas.js
+


 /**
@@ -3915,6 +3981,9 @@ function TypographyPanel(_ref) {



+
+
+
 /**
  * Internal dependencies
  */
@@ -3924,63 +3993,127 @@ function TypographyPanel(_ref) {



+function TemplatePartItemMore(_ref) {
+  var _templatePart$title;

-function ContextMenu(_ref) {
   let {
-    name,
-    parentMenu = ''
+    onClose,
+    templatePart,
+    closeTemplateDetailsDropdown
   } = _ref;
-  const hasTypographyPanel = useHasTypographyPanel(name);
-  const hasColorPanel = useHasColorPanel(name);
-  const hasBorderPanel = useHasBorderPanel(name);
-  const hasDimensionsPanel = useHasDimensionsPanel(name);
-  const hasLayoutPanel = hasBorderPanel || hasDimensionsPanel;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalItemGroup"], null, hasTypographyPanel && Object(external_wp_element_["createElement"])(navigation_button, {
-    icon: library_typography,
-    path: parentMenu + '/typography'
-  }, Object(external_wp_i18n_["__"])('Typography')), hasColorPanel && Object(external_wp_element_["createElement"])(navigation_button, {
-    icon: library_color,
-    path: parentMenu + '/colors'
-  }, Object(external_wp_i18n_["__"])('Colors')), hasLayoutPanel && Object(external_wp_element_["createElement"])(navigation_button, {
-    icon: layout["a" /* default */],
-    path: parentMenu + '/layout'
-  }, Object(external_wp_i18n_["__"])('Layout')));
-}
+  const {
+    revertTemplate
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    params
+  } = useLocation();
+  const editLinkProps = useLink({
+    postId: templatePart.id,
+    postType: templatePart.type
+  }, {
+    fromTemplateId: params.postId
+  });

-/* harmony default export */ var context_menu = (ContextMenu);
+  function editTemplatePart(event) {
+    editLinkProps.onClick(event);
+    onClose();
+    closeTemplateDetailsDropdown();
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-root.js
+  function clearCustomizations() {
+    revertTemplate(templatePart);
+    onClose();
+    closeTemplateDetailsDropdown();
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, extends_extends({}, editLinkProps, {
+    onClick: editTemplatePart
+  }), (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: template part title */
+  (0,external_wp_i18n_namespaceObject.__)('Edit %s'), (_templatePart$title = templatePart.title) === null || _templatePart$title === void 0 ? void 0 : _templatePart$title.rendered))), isTemplateRevertable(templatePart) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    info: (0,external_wp_i18n_namespaceObject.__)('Restore template to default state'),
+    onClick: clearCustomizations
+  }, (0,external_wp_i18n_namespaceObject.__)('Clear customizations'))));
+}

-/**
- * WordPress dependencies
- */
+function TemplatePartItem(_ref2) {
+  let {
+    templatePart,
+    clientId,
+    closeTemplateDetailsDropdown
+  } = _ref2;
+  const {
+    selectBlock,
+    toggleBlockHighlight
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const templatePartArea = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const defaultAreas = select(external_wp_editor_namespaceObject.store).__experimentalGetDefaultTemplatePartAreas();

+    return defaultAreas.find(defaultArea => defaultArea.area === templatePart.area);
+  }, [templatePart.area]);

+  const highlightBlock = () => toggleBlockHighlight(clientId, true);

-/**
- * Internal dependencies
- */
+  const cancelHighlightBlock = () => toggleBlockHighlight(clientId, false);

+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    role: "menuitem",
+    className: "edit-site-template-details__template-areas-item"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    role: "button",
+    icon: templatePartArea === null || templatePartArea === void 0 ? void 0 : templatePartArea.icon,
+    iconPosition: "left",
+    onClick: () => {
+      selectBlock(clientId);
+    },
+    onMouseOver: highlightBlock,
+    onMouseLeave: cancelHighlightBlock,
+    onFocus: highlightBlock,
+    onBlur: cancelHighlightBlock
+  }, templatePartArea === null || templatePartArea === void 0 ? void 0 : templatePartArea.label), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    icon: more_vertical,
+    label: (0,external_wp_i18n_namespaceObject.__)('More options'),
+    className: "edit-site-template-details__template-areas-item-more"
+  }, _ref3 => {
+    let {
+      onClose
+    } = _ref3;
+    return (0,external_wp_element_namespaceObject.createElement)(TemplatePartItemMore, {
+      onClose: onClose,
+      templatePart: templatePart,
+      closeTemplateDetailsDropdown: closeTemplateDetailsDropdown
+    });
+  }));
+}

+function TemplateAreas(_ref4) {
+  let {
+    closeTemplateDetailsDropdown
+  } = _ref4;
+  const templateParts = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).getCurrentTemplateTemplateParts(), []);

+  if (!templateParts.length) {
+    return null;
+  }

-
-function ScreenRoot() {
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Card"], {
-    size: "small"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["CardBody"], null, Object(external_wp_element_["createElement"])(preview, null)), Object(external_wp_element_["createElement"])(external_wp_components_["CardBody"], null, Object(external_wp_element_["createElement"])(context_menu, null)), Object(external_wp_element_["createElement"])(external_wp_components_["CardDivider"], null), Object(external_wp_element_["createElement"])(external_wp_components_["CardBody"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalItemGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalItem"], null, Object(external_wp_i18n_["__"])('Customize the appearance of specific blocks for the whole site.')), Object(external_wp_element_["createElement"])(navigation_button, {
-    path: "/blocks"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    justify: "space-between"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_i18n_["__"])('Blocks')), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-    icon: Object(external_wp_i18n_["isRTL"])() ? chevron_left["a" /* default */] : chevron_right["a" /* default */]
-  })))))));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Areas'),
+    className: "edit-site-template-details__group edit-site-template-details__template-areas"
+  }, templateParts.map(_ref5 => {
+    let {
+      templatePart,
+      block
+    } = _ref5;
+    return (0,external_wp_element_namespaceObject.createElement)(TemplatePartItem, {
+      key: templatePart.slug,
+      clientId: block.clientId,
+      templatePart: templatePart,
+      closeTemplateDetailsDropdown: closeTemplateDetailsDropdown
+    });
+  }));
 }

-/* harmony default export */ var screen_root = (ScreenRoot);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/header.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-details/edit-template-title.js


 /**
@@ -3989,41 +4122,23 @@ function ScreenRoot() {



-/**
- * Internal dependencies
- */
-
-
-
-function ScreenHeader(_ref) {
+function EditTemplateTitle(_ref) {
   let {
-    back,
-    title,
-    description
+    template
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalVStack"], {
-    spacing: 2
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    spacing: 2
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalView"], null, Object(external_wp_element_["createElement"])(navigation_button, {
-    path: back,
-    icon: Object(external_wp_element_["createElement"])(build_module_icon["a" /* default */], {
-      icon: Object(external_wp_i18n_["isRTL"])() ? chevron_right["a" /* default */] : chevron_left["a" /* default */],
-      variant: "muted"
-    }),
-    size: "small",
-    isBack: true,
-    "aria-label": Object(external_wp_i18n_["__"])('Navigate to the previous view')
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalSpacer"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHeading"], {
-    level: 5
-  }, title))), description && Object(external_wp_element_["createElement"])("p", {
-    className: "edit-site-global-styles-header__description"
-  }, description));
+  const [title, setTitle] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', template.type, 'title', template.id);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Title'),
+    value: title,
+    help: (0,external_wp_i18n_namespaceObject.__)('Give the template a title that indicates its purpose, e.g. "Full Width".'),
+    onChange: newTitle => {
+      setTitle(newTitle || template.slug);
+    }
+  });
 }

-/* harmony default export */ var global_styles_header = (ScreenHeader);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-details/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-block-list.js


 /**
@@ -4033,6 +4148,7 @@ function ScreenHeader(_ref) {



+
 /**
  * Internal dependencies
  */
@@ -4043,51 +4159,94 @@ function ScreenHeader(_ref) {



-
-function BlockMenuItem(_ref) {
+function TemplateDetails(_ref) {
   let {
-    block
+    template,
+    onClose
   } = _ref;
-  const hasTypographyPanel = useHasTypographyPanel(block.name);
-  const hasColorPanel = useHasColorPanel(block.name);
-  const hasBorderPanel = useHasBorderPanel(block.name);
-  const hasDimensionsPanel = useHasDimensionsPanel(block.name);
-  const hasLayoutPanel = hasBorderPanel || hasDimensionsPanel;
-  const hasBlockMenuItem = hasTypographyPanel || hasColorPanel || hasLayoutPanel;
+  const {
+    title,
+    description
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_editor_namespaceObject.store).__experimentalGetTemplateInfo(template), []);
+  const {
+    revertTemplate
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const templateSubMenu = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if ((template === null || template === void 0 ? void 0 : template.type) === 'wp_template') {
+      return {
+        title: (0,external_wp_i18n_namespaceObject.__)('templates'),
+        menu: MENU_TEMPLATES
+      };
+    }

-  if (!hasBlockMenuItem) {
+    return TEMPLATE_PARTS_SUB_MENUS.find(_ref2 => {
+      let {
+        area
+      } = _ref2;
+      return area === (template === null || template === void 0 ? void 0 : template.area);
+    });
+  }, [template]);
+  const browseAllLinkProps = useLink({
+    // TODO: We should update this to filter by template part's areas as well.
+    postType: template.type,
+    postId: undefined
+  });
+
+  if (!template) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(navigation_button, {
-    path: '/blocks/' + block.name
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    justify: "flex-start"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
-    icon: block.icon
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, block.title)));
-}
+  const revert = () => {
+    revertTemplate(template);
+    onClose();
+  };

-function ScreenBlockList() {
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: "/",
-    title: Object(external_wp_i18n_["__"])('Blocks'),
-    description: Object(external_wp_i18n_["__"])('Customize the appearance of specific blocks and for the whole site.')
-  }), Object(external_wp_blocks_["getBlockTypes"])().map(block => Object(external_wp_element_["createElement"])(BlockMenuItem, {
-    block: block,
-    key: 'menu-itemblock-' + block.name
-  })));
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-template-details"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-template-details__group"
+  }, template.is_custom ? (0,external_wp_element_namespaceObject.createElement)(EditTemplateTitle, {
+    template: template
+  }) : (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHeading, {
+    level: 4,
+    weight: 600,
+    className: "edit-site-template-details__title"
+  }, title), description && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalText, {
+    size: "body",
+    className: "edit-site-template-details__description",
+    as: "p"
+  }, description)), (0,external_wp_element_namespaceObject.createElement)(TemplateAreas, {
+    closeTemplateDetailsDropdown: onClose
+  }), isTemplateRevertable(template) && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    className: "edit-site-template-details__group edit-site-template-details__revert"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    className: "edit-site-template-details__revert-button",
+    info: (0,external_wp_i18n_namespaceObject.__)('Restore template to default state'),
+    onClick: revert
+  }, (0,external_wp_i18n_namespaceObject.__)('Clear customizations'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, extends_extends({
+    className: "edit-site-template-details__show-all-button"
+  }, browseAllLinkProps), (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: the template part's area name ("Headers", "Sidebars") or "templates". */
+  (0,external_wp_i18n_namespaceObject.__)('Browse all %s'), templateSubMenu.title)));
 }

-/* harmony default export */ var screen_block_list = (ScreenBlockList);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-block.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/index.js


 /**
  * WordPress dependencies
  */

+
+
+
+
+
+
+
+
+
+
 /**
  * Internal dependencies
  */
@@ -4095,1212 +4254,1249 @@ function ScreenBlockList() {



-function ScreenBlock(_ref) {
-  let {
-    name
-  } = _ref;
-  const blockType = Object(external_wp_blocks_["getBlockType"])(name);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: "/blocks",
-    title: blockType.title
-  }), Object(external_wp_element_["createElement"])(context_menu, {
-    parentMenu: '/blocks/' + name,
-    name: name
-  }));
-}

-/* harmony default export */ var screen_block = (ScreenBlock);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/subtitle.js


-/**
- * WordPress dependencies
- */

+const preventDefault = event => {
+  event.preventDefault();
+};

-function Subtitle(_ref) {
+function Header(_ref) {
   let {
-    children
+    openEntitiesSavedStates,
+    isEntitiesSavedStatesOpen
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHeading"], {
-    className: "edit-site-global-styles-subtitle",
-    level: 2
-  }, children);
-}
-
-/* harmony default export */ var subtitle = (Subtitle);
+  const inserterButton = (0,external_wp_element_namespaceObject.useRef)();
+  const {
+    deviceType,
+    entityTitle,
+    template,
+    templateType,
+    isInserterOpen,
+    isListViewOpen,
+    listViewShortcut,
+    isLoaded
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      __experimentalGetPreviewDeviceType,
+      getEditedPostType,
+      getEditedPostId,
+      isInserterOpened,
+      isListViewOpened
+    } = select(store_store);
+    const {
+      getEditedEntityRecord
+    } = select(external_wp_coreData_namespaceObject.store);
+    const {
+      __experimentalGetTemplateInfo: getTemplateInfo
+    } = select(external_wp_editor_namespaceObject.store);
+    const {
+      getShortcutRepresentation
+    } = select(external_wp_keyboardShortcuts_namespaceObject.store);
+    const postType = getEditedPostType();
+    const postId = getEditedPostId();
+    const record = getEditedEntityRecord('postType', postType, postId);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-typography.js
+    const _isLoaded = !!postId;

+    return {
+      deviceType: __experimentalGetPreviewDeviceType(),
+      entityTitle: getTemplateInfo(record).title,
+      isLoaded: _isLoaded,
+      template: record,
+      templateType: postType,
+      isInserterOpen: isInserterOpened(),
+      isListViewOpen: isListViewOpened(),
+      listViewShortcut: getShortcutRepresentation('core/edit-site/toggle-list-view')
+    };
+  }, []);
+  const {
+    __experimentalSetPreviewDeviceType: setPreviewDeviceType,
+    setIsInserterOpened,
+    setIsListViewOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  const openInserter = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    if (isInserterOpen) {
+      // Focusing the inserter button closes the inserter popover
+      inserterButton.current.focus();
+    } else {
+      setIsInserterOpened(true);
+    }
+  }, [isInserterOpen, setIsInserterOpened]);
+  const toggleListView = (0,external_wp_element_namespaceObject.useCallback)(() => setIsListViewOpened(!isListViewOpen), [setIsListViewOpened, isListViewOpen]);
+  const isFocusMode = templateType === 'wp_template_part';
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-header"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-header_start"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-header__toolbar"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    ref: inserterButton,
+    variant: "primary",
+    isPressed: isInserterOpen,
+    className: "edit-site-header-toolbar__inserter-toggle",
+    onMouseDown: preventDefault,
+    onClick: openInserter,
+    icon: library_plus,
+    label: (0,external_wp_i18n_namespaceObject._x)('Toggle block inserter', 'Generic label for block inserter button')
+  }), isLargeViewport && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ToolSelector, null), (0,external_wp_element_namespaceObject.createElement)(UndoButton, null), (0,external_wp_element_namespaceObject.createElement)(RedoButton, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "edit-site-header-toolbar__list-view-toggle",
+    icon: list_view,
+    isPressed: isListViewOpen
+    /* translators: button label text should, if possible, be under 16 characters. */
+    ,
+    label: (0,external_wp_i18n_namespaceObject.__)('List View'),
+    onClick: toggleListView,
+    shortcut: listViewShortcut
+  })))), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-header_center"
+  }, (0,external_wp_element_namespaceObject.createElement)(DocumentActions, {
+    entityTitle: entityTitle,
+    entityLabel: templateType === 'wp_template_part' ? 'template part' : 'template',
+    isLoaded: isLoaded
+  }, _ref2 => {
+    let {
+      onClose
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(TemplateDetails, {
+      template: template,
+      onClose: onClose
+    });
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-header_end"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-header__actions"
+  }, !isFocusMode && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalPreviewOptions, {
+    deviceType: deviceType,
+    setDeviceType: setPreviewDeviceType
+  }), (0,external_wp_element_namespaceObject.createElement)(SaveButton, {
+    openEntitiesSavedStates: openEntitiesSavedStates,
+    isEntitiesSavedStatesOpen: isEntitiesSavedStatesOpen
+  }), (0,external_wp_element_namespaceObject.createElement)(pinned_items.Slot, {
+    scope: "core/edit-site"
+  }), (0,external_wp_element_namespaceObject.createElement)(MoreMenu, null))));
+}

-/**
- * WordPress dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cog.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const cog = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  fillRule: "evenodd",
+  d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",
+  clipRule: "evenodd"
+}));
+/* harmony default export */ var library_cog = (cog);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/default-sidebar.js


+/**
+ * WordPress dependencies
+ */

-
-
-function Item(_ref) {
+function DefaultSidebar(_ref) {
   let {
-    name,
-    parentMenu,
-    element,
-    label
+    className,
+    identifier,
+    title,
+    icon,
+    children,
+    closeLabel,
+    header,
+    headerClassName
   } = _ref;
-  const hasSupport = !name;
-  const prefix = element === 'text' || !element ? '' : `elements.${element}.`;
-  const extraStyles = element === 'link' ? {
-    textDecoration: 'underline'
-  } : {};
-  const [fontFamily] = useStyle(prefix + 'typography.fontFamily', name);
-  const [fontStyle] = useStyle(prefix + 'typography.fontStyle', name);
-  const [fontWeight] = useStyle(prefix + 'typography.fontWeight', name);
-  const [letterSpacing] = useStyle(prefix + 'typography.letterSpacing', name);
-  const [backgroundColor] = useStyle(prefix + 'color.background', name);
-  const [gradientValue] = useStyle(prefix + 'color.gradient', name);
-  const [color] = useStyle(prefix + 'color.text', name);
-
-  if (!hasSupport) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(navigation_button, {
-    path: parentMenu + '/typography/' + element
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    justify: "flex-start"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], {
-    className: "edit-site-global-styles-screen-typography__indicator",
-    style: {
-      fontFamily: fontFamily !== null && fontFamily !== void 0 ? fontFamily : 'serif',
-      background: gradientValue !== null && gradientValue !== void 0 ? gradientValue : backgroundColor,
-      color,
-      fontStyle,
-      fontWeight,
-      letterSpacing,
-      ...extraStyles
-    }
-  }, Object(external_wp_i18n_["__"])('Aa')), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, label)));
-}
-
-function ScreenTypography(_ref2) {
-  let {
-    name
-  } = _ref2;
-  const parentMenu = name === undefined ? '' : '/blocks/' + name;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: parentMenu ? parentMenu : '/',
-    title: Object(external_wp_i18n_["__"])('Typography'),
-    description: Object(external_wp_i18n_["__"])('Manage the typography settings for different elements.')
-  }), !name && Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-global-styles-screen-typography"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalVStack"], {
-    spacing: 3
-  }, Object(external_wp_element_["createElement"])(subtitle, null, Object(external_wp_i18n_["__"])('Elements')), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalItemGroup"], {
-    isBordered: true,
-    isSeparated: true
-  }, Object(external_wp_element_["createElement"])(Item, {
-    name: name,
-    parentMenu: parentMenu,
-    element: "text",
-    label: Object(external_wp_i18n_["__"])('Text')
-  }), Object(external_wp_element_["createElement"])(Item, {
-    name: name,
-    parentMenu: parentMenu,
-    element: "link",
-    label: Object(external_wp_i18n_["__"])('Links')
-  })))), !!name && Object(external_wp_element_["createElement"])(TypographyPanel, {
-    name: name,
-    element: "text"
-  }));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(complementary_area, {
+    className: className,
+    scope: "core/edit-site",
+    identifier: identifier,
+    title: title,
+    icon: icon,
+    closeLabel: closeLabel,
+    header: header,
+    headerClassName: headerClassName
+  }, children), (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaMoreMenuItem, {
+    scope: "core/edit-site",
+    identifier: identifier,
+    icon: icon
+  }, title));
 }

-/* harmony default export */ var screen_typography = (ScreenTypography);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-typography-element.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/styles.js


 /**
  * WordPress dependencies
  */

+const styles = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z"
+}));
+/* harmony default export */ var library_styles = (styles);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */

+/**
+ * Return an SVG icon.
+ *
+ * @param {IconProps} props icon is the SVG component to render
+ *                          size is a number specifiying the icon size in pixels
+ *                          Other props will be passed to wrapped SVG component
+ *
+ * @return {JSX.Element}  Icon component
+ */

-const screen_typography_element_elements = {
-  text: {
-    description: Object(external_wp_i18n_["__"])('Manage the fonts used on the site.'),
-    title: Object(external_wp_i18n_["__"])('Text')
-  },
-  link: {
-    description: Object(external_wp_i18n_["__"])('Manage the fonts and typography used on the links.'),
-    title: Object(external_wp_i18n_["__"])('Links')
-  }
-};
-
-function ScreenTypographyElement(_ref) {
+function Icon(_ref) {
   let {
-    name,
-    element
+    icon,
+    size = 24,
+    ...props
   } = _ref;
-  const parentMenu = name === undefined ? '/typography' : '/blocks/' + name + '/typography';
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: parentMenu,
-    title: screen_typography_element_elements[element].title,
-    description: screen_typography_element_elements[element].description
-  }), Object(external_wp_element_["createElement"])(TypographyPanel, {
-    name: name,
-    element: element
-  }));
+  return (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+    width: size,
+    height: size,
+    ...props
+  });
 }

-/* harmony default export */ var screen_typography_element = (ScreenTypographyElement);
+/* harmony default export */ var build_module_icon = (Icon);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/palette.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-left.js


 /**
  * WordPress dependencies
  */

+const chevronLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
+}));
+/* harmony default export */ var chevron_left = (chevronLeft);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/chevron-right.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const chevronRight = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
+}));
+/* harmony default export */ var chevron_right = (chevronRight);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/utils.js
+/**
+ * External dependencies
+ */

+/* Supporting data */

-const EMPTY_COLORS = [];
+const ROOT_BLOCK_NAME = 'root';
+const ROOT_BLOCK_SELECTOR = 'body';
+const ROOT_BLOCK_SUPPORTS = (/* unused pure expression or super */ null && (['background', 'backgroundColor', 'color', 'linkColor', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight', 'textDecoration', 'textTransform', 'padding']));
+const PRESET_METADATA = [{
+  path: ['color', 'palette'],
+  valueKey: 'color',
+  cssVarInfix: 'color',
+  classes: [{
+    classSuffix: 'color',
+    propertyName: 'color'
+  }, {
+    classSuffix: 'background-color',
+    propertyName: 'background-color'
+  }, {
+    classSuffix: 'border-color',
+    propertyName: 'border-color'
+  }]
+}, {
+  path: ['color', 'gradients'],
+  valueKey: 'gradient',
+  cssVarInfix: 'gradient',
+  classes: [{
+    classSuffix: 'gradient-background',
+    propertyName: 'background'
+  }]
+}, {
+  path: ['typography', 'fontSizes'],
+  valueKey: 'size',
+  cssVarInfix: 'font-size',
+  classes: [{
+    classSuffix: 'font-size',
+    propertyName: 'font-size'
+  }]
+}, {
+  path: ['typography', 'fontFamilies'],
+  valueKey: 'fontFamily',
+  cssVarInfix: 'font-family',
+  classes: [{
+    classSuffix: 'font-family',
+    propertyName: 'font-family'
+  }]
+}];
+const STYLE_PATH_TO_CSS_VAR_INFIX = {
+  'color.background': 'color',
+  'color.text': 'color',
+  'elements.link.color.text': 'color',
+  'color.gradient': 'gradient',
+  'typography.fontSize': 'font-size',
+  'typography.fontFamily': 'font-family'
+};

-function Palette(_ref) {
-  let {
-    name
-  } = _ref;
-  const [customColors] = useSetting('color.palette.custom');
-  const [themeColors] = useSetting('color.palette.theme');
-  const [defaultColors] = useSetting('color.palette.default');
-  const [defaultPaletteEnabled] = useSetting('color.defaultPalette', name);
-  const colors = Object(external_wp_element_["useMemo"])(() => [...(customColors || EMPTY_COLORS), ...(themeColors || EMPTY_COLORS), ...(defaultColors && defaultPaletteEnabled ? defaultColors : EMPTY_COLORS)], [customColors, themeColors, defaultColors, defaultPaletteEnabled]);
-  const screenPath = !name ? '/colors/palette' : '/blocks/' + name + '/colors/palette';
-  const paletteButtonText = colors.length > 0 ? Object(external_wp_i18n_["sprintf"])( // Translators: %d: Number of palette colors.
-  Object(external_wp_i18n_["_n"])('%d color', '%d colors', colors.length), colors.length) : Object(external_wp_i18n_["__"])('Add custom colors');
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalVStack"], {
-    spacing: 3
-  }, Object(external_wp_element_["createElement"])(subtitle, null, Object(external_wp_i18n_["__"])('Palette')), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalItemGroup"], {
-    isBordered: true,
-    isSeparated: true
-  }, Object(external_wp_element_["createElement"])(navigation_button, {
-    path: screenPath
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    isReversed: colors.length === 0
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexBlock"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalZStack"], {
-    isLayered: false,
-    offset: -8
-  }, colors.slice(0, 5).map(_ref2 => {
-    let {
-      color
-    } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["ColorIndicator"], {
-      key: color,
-      colorValue: color
-    });
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, paletteButtonText)))));
-}
+function findInPresetsBy(features, blockName, presetPath, presetProperty, presetValueValue) {
+  // Block presets take priority above root level presets.
+  const orderedPresetsByOrigin = [(0,external_lodash_namespaceObject.get)(features, ['blocks', blockName, ...presetPath]), (0,external_lodash_namespaceObject.get)(features, presetPath)];

-/* harmony default export */ var palette = (Palette);
+  for (const presetByOrigin of orderedPresetsByOrigin) {
+    if (presetByOrigin) {
+      // Preset origins ordered by priority.
+      const origins = ['custom', 'theme', 'default'];

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-colors.js
+      for (const origin of origins) {
+        const presets = presetByOrigin[origin];

+        if (presets) {
+          const presetObject = (0,external_lodash_namespaceObject.find)(presets, preset => preset[presetProperty] === presetValueValue);

-/**
- * WordPress dependencies
- */
+          if (presetObject) {
+            if (presetProperty === 'slug') {
+              return presetObject;
+            } // if there is a highest priority preset with the same slug but different value the preset we found was overwritten and should be ignored.


-/**
- * Internal dependencies
- */
+            const highestPresetObjectWithSameSlug = findInPresetsBy(features, blockName, presetPath, 'slug', presetObject.slug);

+            if (highestPresetObjectWithSameSlug[presetProperty] === presetObject[presetProperty]) {
+              return presetObject;
+            }

+            return undefined;
+          }
+        }
+      }
+    }
+  }
+}

+function getPresetVariableFromValue(features, blockName, variableStylePath, presetPropertyValue) {
+  if (!presetPropertyValue) {
+    return presetPropertyValue;
+  }

+  const cssVarInfix = STYLE_PATH_TO_CSS_VAR_INFIX[variableStylePath];
+  const metadata = (0,external_lodash_namespaceObject.find)(PRESET_METADATA, ['cssVarInfix', cssVarInfix]);

+  if (!metadata) {
+    // The property doesn't have preset data
+    // so the value should be returned as it is.
+    return presetPropertyValue;
+  }

+  const {
+    valueKey,
+    path
+  } = metadata;
+  const presetObject = findInPresetsBy(features, blockName, path, valueKey, presetPropertyValue);

-function BackgroundColorItem(_ref) {
-  let {
-    name,
-    parentMenu
-  } = _ref;
-  const supports = getSupportedGlobalStylesPanels(name);
-  const hasSupport = supports.includes('backgroundColor') || supports.includes('background');
-  const [backgroundColor] = useStyle('color.background', name);
-  const [gradientValue] = useStyle('color.gradient', name);
-
-  if (!hasSupport) {
-    return null;
+  if (!presetObject) {
+    // Value wasn't found in the presets,
+    // so it must be a custom value.
+    return presetPropertyValue;
   }

-  return Object(external_wp_element_["createElement"])(navigation_button, {
-    path: parentMenu + '/colors/background'
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    justify: "flex-start"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ColorIndicator"], {
-    colorValue: gradientValue !== null && gradientValue !== void 0 ? gradientValue : backgroundColor
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_i18n_["__"])('Background'))));
+  return `var:preset|${cssVarInfix}|${presetObject.slug}`;
 }

-function TextColorItem(_ref2) {
-  let {
-    name,
-    parentMenu
-  } = _ref2;
-  const supports = getSupportedGlobalStylesPanels(name);
-  const hasSupport = supports.includes('color');
-  const [color] = useStyle('color.text', name);
+function getValueFromPresetVariable(features, blockName, variable, _ref) {
+  let [presetType, slug] = _ref;
+  const metadata = (0,external_lodash_namespaceObject.find)(PRESET_METADATA, ['cssVarInfix', presetType]);

-  if (!hasSupport) {
-    return null;
+  if (!metadata) {
+    return variable;
   }

-  return Object(external_wp_element_["createElement"])(navigation_button, {
-    path: parentMenu + '/colors/text'
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    justify: "flex-start"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ColorIndicator"], {
-    colorValue: color
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_i18n_["__"])('Text'))));
-}
-
-function LinkColorItem(_ref3) {
-  let {
-    name,
-    parentMenu
-  } = _ref3;
-  const supports = getSupportedGlobalStylesPanels(name);
-  const hasSupport = supports.includes('linkColor');
-  const [color] = useStyle('elements.link.color.text', name);
+  const presetObject = findInPresetsBy(features, blockName, metadata.path, 'slug', slug);

-  if (!hasSupport) {
-    return null;
+  if (presetObject) {
+    const {
+      valueKey
+    } = metadata;
+    const result = presetObject[valueKey];
+    return getValueFromVariable(features, blockName, result);
   }

-  return Object(external_wp_element_["createElement"])(navigation_button, {
-    path: parentMenu + '/colors/link'
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    justify: "flex-start"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ColorIndicator"], {
-    colorValue: color
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_i18n_["__"])('Links'))));
+  return variable;
 }

-function ScreenColors(_ref4) {
-  let {
-    name
-  } = _ref4;
-  const parentMenu = name === undefined ? '' : '/blocks/' + name;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: parentMenu ? parentMenu : '/',
-    title: Object(external_wp_i18n_["__"])('Colors'),
-    description: Object(external_wp_i18n_["__"])('Manage palettes and the default color of different global elements on the website.')
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-global-styles-screen-colors"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalVStack"], {
-    spacing: 10
-  }, Object(external_wp_element_["createElement"])(palette, {
-    name: name
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalVStack"], {
-    spacing: 3
-  }, Object(external_wp_element_["createElement"])(subtitle, null, Object(external_wp_i18n_["__"])('Elements')), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalItemGroup"], {
-    isBordered: true,
-    isSeparated: true
-  }, Object(external_wp_element_["createElement"])(BackgroundColorItem, {
-    name: name,
-    parentMenu: parentMenu
-  }), Object(external_wp_element_["createElement"])(TextColorItem, {
-    name: name,
-    parentMenu: parentMenu
-  }), Object(external_wp_element_["createElement"])(LinkColorItem, {
-    name: name,
-    parentMenu: parentMenu
-  }))))));
-}
+function getValueFromCustomVariable(features, blockName, variable, path) {
+  var _get;

-/* harmony default export */ var screen_colors = (ScreenColors);
+  const result = (_get = (0,external_lodash_namespaceObject.get)(features, ['blocks', blockName, 'custom', ...path])) !== null && _get !== void 0 ? _get : (0,external_lodash_namespaceObject.get)(features, ['custom', ...path]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/color-palette-panel.js
+  if (!result) {
+    return variable;
+  } // A variable may reference another variable so we need recursion until we find the value.


-/**
- * WordPress dependencies
- */
+  return getValueFromVariable(features, blockName, result);
+}

+function getValueFromVariable(features, blockName, variable) {
+  if (!variable || !(0,external_lodash_namespaceObject.isString)(variable)) {
+    return variable;
+  }

-/**
- * Internal dependencies
- */
+  const USER_VALUE_PREFIX = 'var:';
+  const THEME_VALUE_PREFIX = 'var(--wp--';
+  const THEME_VALUE_SUFFIX = ')';
+  let parsedVar;

+  if (variable.startsWith(USER_VALUE_PREFIX)) {
+    parsedVar = variable.slice(USER_VALUE_PREFIX.length).split('|');
+  } else if (variable.startsWith(THEME_VALUE_PREFIX) && variable.endsWith(THEME_VALUE_SUFFIX)) {
+    parsedVar = variable.slice(THEME_VALUE_PREFIX.length, -THEME_VALUE_SUFFIX.length).split('--');
+  } else {
+    // We don't know how to parse the value: either is raw of uses complex CSS such as `calc(1px * var(--wp--variable) )`
+    return variable;
+  }

-function ColorPalettePanel(_ref) {
-  let {
-    name
-  } = _ref;
-  const [themeColors, setThemeColors] = useSetting('color.palette.theme', name);
-  const [baseThemeColors] = useSetting('color.palette.theme', name, 'base');
-  const [defaultColors, setDefaultColors] = useSetting('color.palette.default', name);
-  const [baseDefaultColors] = useSetting('color.palette.default', name, 'base');
-  const [customColors, setCustomColors] = useSetting('color.palette.custom', name);
-  const [defaultPaletteEnabled] = useSetting('color.defaultPalette', name);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalVStack"], {
-    className: "edit-site-global-styles-color-palette-panel",
-    spacing: 10
-  }, !!themeColors && !!themeColors.length && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalPaletteEdit"], {
-    canReset: themeColors !== baseThemeColors,
-    canOnlyChangeValues: true,
-    colors: themeColors,
-    onChange: setThemeColors,
-    paletteLabel: Object(external_wp_i18n_["__"])('Theme')
-  }), !!defaultColors && !!defaultColors.length && !!defaultPaletteEnabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalPaletteEdit"], {
-    canReset: defaultColors !== baseDefaultColors,
-    canOnlyChangeValues: true,
-    colors: defaultColors,
-    onChange: setDefaultColors,
-    paletteLabel: Object(external_wp_i18n_["__"])('Default')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalPaletteEdit"], {
-    colors: customColors,
-    onChange: setCustomColors,
-    paletteLabel: Object(external_wp_i18n_["__"])('Custom'),
-    emptyMessage: Object(external_wp_i18n_["__"])('Custom colors are empty! Add some colors to create your own color palette.'),
-    slugPrefix: "custom-"
-  }));
-}
+  const [type, ...path] = parsedVar;

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/gradients-palette-panel.js
+  if (type === 'preset') {
+    return getValueFromPresetVariable(features, blockName, variable, path);
+  }

+  if (type === 'custom') {
+    return getValueFromCustomVariable(features, blockName, variable, path);
+  }

-/**
- * External dependencies
- */
+  return variable;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/context.js
 /**
  * WordPress dependencies
  */

+const DEFAULT_GLOBAL_STYLES_CONTEXT = {
+  user: {},
+  base: {},
+  merged: {},
+  setUserConfig: () => {}
+};
+const GlobalStylesContext = (0,external_wp_element_namespaceObject.createContext)(DEFAULT_GLOBAL_STYLES_CONTEXT);

-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/hooks.js
 /**
- * Internal dependencies
+ * External dependencies
  */

-
-
-function GradientPalettePanel(_ref) {
-  let {
-    name
-  } = _ref;
-  const [themeGradients, setThemeGradients] = useSetting('color.gradients.theme', name);
-  const [baseThemeGradients] = useSetting('color.gradients.theme', name, 'base');
-  const [defaultGradients, setDefaultGradients] = useSetting('color.gradients.default', name);
-  const [baseDefaultGradients] = useSetting('color.gradients.default', name, 'base');
-  const [customGradients, setCustomGradients] = useSetting('color.gradients.custom', name);
-  const [defaultPaletteEnabled] = useSetting('color.defaultGradients', name);
-  const [duotonePalette] = useSetting('color.duotone') || [];
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalVStack"], {
-    className: "edit-site-global-styles-gradient-palette-panel",
-    spacing: 10
-  }, !!themeGradients && !!themeGradients.length && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalPaletteEdit"], {
-    canReset: themeGradients !== baseThemeGradients,
-    canOnlyChangeValues: true,
-    gradients: themeGradients,
-    onChange: setThemeGradients,
-    paletteLabel: Object(external_wp_i18n_["__"])('Theme')
-  }), !!defaultGradients && !!defaultGradients.length && !!defaultPaletteEnabled && Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalPaletteEdit"], {
-    canReset: defaultGradients !== baseDefaultGradients,
-    canOnlyChangeValues: true,
-    gradients: defaultGradients,
-    onChange: setDefaultGradients,
-    paletteLabel: Object(external_wp_i18n_["__"])('Default')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalPaletteEdit"], {
-    gradients: customGradients,
-    onChange: setCustomGradients,
-    paletteLabel: Object(external_wp_i18n_["__"])('Custom'),
-    emptyMessage: Object(external_wp_i18n_["__"])('Custom gradients are empty! Add some gradients to create your own palette.'),
-    slugPrefix: "custom-"
-  }), Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])(subtitle, null, Object(external_wp_i18n_["__"])('Duotone')), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalSpacer"], {
-    margin: 3
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["DuotonePicker"], {
-    duotonePalette: duotonePalette,
-    disableCustomDuotone: true,
-    disableCustomColors: true,
-    clearable: false,
-    onChange: external_lodash_["noop"]
-  })));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-color-palette.js
-
-
 /**
  * WordPress dependencies
  */



+
 /**
  * Internal dependencies
  */



+const EMPTY_CONFIG = {
+  isGlobalStylesUserThemeJSON: true,
+  version: 1
+};
+const useGlobalStylesReset = () => {
+  const {
+    user: config,
+    setUserConfig
+  } = (0,external_wp_element_namespaceObject.useContext)(GlobalStylesContext);
+  const canReset = !!config && !(0,external_lodash_namespaceObject.isEqual)(config, EMPTY_CONFIG);
+  return [canReset, (0,external_wp_element_namespaceObject.useCallback)(() => setUserConfig(() => EMPTY_CONFIG), [setUserConfig])];
+};
+function useSetting(path, blockName) {
+  var _getSettingValueForCo;

+  let source = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'all';
+  const {
+    merged: mergedConfig,
+    base: baseConfig,
+    user: userConfig,
+    setUserConfig
+  } = (0,external_wp_element_namespaceObject.useContext)(GlobalStylesContext);
+  const fullPath = !blockName ? `settings.${path}` : `settings.blocks.${blockName}.${path}`;

-function ScreenColorPalette(_ref) {
-  let {
-    name
-  } = _ref;
-  const [currentTab, setCurrentTab] = Object(external_wp_element_["useState"])('solid');
-  const parentMenu = name === undefined ? '' : '/blocks/' + name;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: parentMenu + '/colors',
-    title: Object(external_wp_i18n_["__"])('Palette'),
-    description: Object(external_wp_i18n_["__"])('Palettes are used to provide default color options for blocks and various design tools. Here you can edit the colors with their labels.')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControl"], {
-    className: "edit-site-screen-color-palette-toggle",
-    value: currentTab,
-    onChange: setCurrentTab,
-    label: Object(external_wp_i18n_["__"])('Select palette type'),
-    hideLabelFromVision: true,
-    isBlock: true
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
-    value: "solid",
-    label: Object(external_wp_i18n_["__"])('Solid')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalToggleGroupControlOption"], {
-    value: "gradient",
-    label: Object(external_wp_i18n_["__"])('Gradient')
-  })), currentTab === 'solid' && Object(external_wp_element_["createElement"])(ColorPalettePanel, {
-    name: name
-  }), currentTab === 'gradient' && Object(external_wp_element_["createElement"])(GradientPalettePanel, {
-    name: name
-  }));
-}
+  const setSetting = newValue => {
+    setUserConfig(currentConfig => {
+      const newUserConfig = (0,external_lodash_namespaceObject.cloneDeep)(currentConfig);
+      const pathToSet = external_wp_blocks_namespaceObject.__EXPERIMENTAL_PATHS_WITH_MERGE[path] ? fullPath + '.custom' : fullPath;
+      (0,external_lodash_namespaceObject.set)(newUserConfig, pathToSet, newValue);
+      return newUserConfig;
+    });
+  };

-/* harmony default export */ var screen_color_palette = (ScreenColorPalette);
+  const getSettingValueForContext = name => {
+    const currentPath = !name ? `settings.${path}` : `settings.blocks.${name}.${path}`;

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-background-color.js
+    const getSettingValue = configToUse => {
+      const result = (0,external_lodash_namespaceObject.get)(configToUse, currentPath);

+      if (external_wp_blocks_namespaceObject.__EXPERIMENTAL_PATHS_WITH_MERGE[path]) {
+        var _ref, _result$custom;

+        return (_ref = (_result$custom = result === null || result === void 0 ? void 0 : result.custom) !== null && _result$custom !== void 0 ? _result$custom : result === null || result === void 0 ? void 0 : result.theme) !== null && _ref !== void 0 ? _ref : result === null || result === void 0 ? void 0 : result.default;
+      }

-/**
- * WordPress dependencies
- */
+      return result;
+    };

+    let result;

-/**
- * Internal dependencies
- */
+    switch (source) {
+      case 'all':
+        result = getSettingValue(mergedConfig);
+        break;

+      case 'user':
+        result = getSettingValue(userConfig);
+        break;

+      case 'base':
+        result = getSettingValue(baseConfig);
+        break;

+      default:
+        throw 'Unsupported source';
+    }

-function ScreenBackgroundColor(_ref) {
-  let {
-    name
-  } = _ref;
-  const parentMenu = name === undefined ? '' : '/blocks/' + name;
-  const supports = getSupportedGlobalStylesPanels(name);
-  const [solids] = useSetting('color.palette', name);
-  const [gradients] = useSetting('color.gradients', name);
-  const [areCustomSolidsEnabled] = useSetting('color.custom', name);
-  const [areCustomGradientsEnabled] = useSetting('color.customGradient', name);
-  const colorsPerOrigin = useColorsPerOrigin(name);
-  const gradientsPerOrigin = useGradientsPerOrigin(name);
-  const [isBackgroundEnabled] = useSetting('color.background', name);
-  const hasBackgroundColor = supports.includes('backgroundColor') && isBackgroundEnabled && (solids.length > 0 || areCustomSolidsEnabled);
-  const hasGradientColor = supports.includes('background') && (gradients.length > 0 || areCustomGradientsEnabled);
-  const [backgroundColor, setBackgroundColor] = useStyle('color.background', name);
-  const [userBackgroundColor] = useStyle('color.background', name, 'user');
-  const [gradient, setGradient] = useStyle('color.gradient', name);
-  const [userGradient] = useStyle('color.gradient', name, 'user');
+    return result;
+  }; // Unlike styles settings get inherited from top level settings.

-  if (!hasBackgroundColor && !hasGradientColor) {
-    return null;
-  }

-  let backgroundSettings = {};
+  const resultWithFallback = (_getSettingValueForCo = getSettingValueForContext(blockName)) !== null && _getSettingValueForCo !== void 0 ? _getSettingValueForCo : getSettingValueForContext();
+  return [resultWithFallback, setSetting];
+}
+function useStyle(path, blockName) {
+  var _get;

-  if (hasBackgroundColor) {
-    backgroundSettings = {
-      colorValue: backgroundColor,
-      onColorChange: setBackgroundColor
-    };
+  let source = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'all';
+  const {
+    merged: mergedConfig,
+    base: baseConfig,
+    user: userConfig,
+    setUserConfig
+  } = (0,external_wp_element_namespaceObject.useContext)(GlobalStylesContext);
+  const finalPath = !blockName ? `styles.${path}` : `styles.blocks.${blockName}.${path}`;

-    if (backgroundColor) {
-      backgroundSettings.clearable = backgroundColor === userBackgroundColor;
-    }
-  }
+  const setStyle = newValue => {
+    setUserConfig(currentConfig => {
+      const newUserConfig = (0,external_lodash_namespaceObject.cloneDeep)(currentConfig);
+      (0,external_lodash_namespaceObject.set)(newUserConfig, finalPath, getPresetVariableFromValue(mergedConfig.settings, blockName, path, newValue));
+      return newUserConfig;
+    });
+  };

-  let gradientSettings = {};
+  let result;

-  if (hasGradientColor) {
-    gradientSettings = {
-      gradientValue: gradient,
-      onGradientChange: setGradient
-    };
+  switch (source) {
+    case 'all':
+      result = getValueFromVariable(mergedConfig.settings, blockName, (_get = (0,external_lodash_namespaceObject.get)(userConfig, finalPath)) !== null && _get !== void 0 ? _get : (0,external_lodash_namespaceObject.get)(baseConfig, finalPath));
+      break;

-    if (gradient) {
-      gradientSettings.clearable = gradient === userGradient;
-    }
+    case 'user':
+      result = getValueFromVariable(mergedConfig.settings, blockName, (0,external_lodash_namespaceObject.get)(userConfig, finalPath));
+      break;
+
+    case 'base':
+      result = getValueFromVariable(baseConfig.settings, blockName, (0,external_lodash_namespaceObject.get)(baseConfig, finalPath));
+      break;
+
+    default:
+      throw 'Unsupported source';
   }

-  const controlProps = { ...backgroundSettings,
-    ...gradientSettings
-  };
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: parentMenu + '/colors',
-    title: Object(external_wp_i18n_["__"])('Background'),
-    description: Object(external_wp_i18n_["__"])('Set a background color or gradient for the whole website.')
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalColorGradientControl"], Object(esm_extends["a" /* default */])({
-    className: "edit-site-screen-background-color__control",
-    colors: colorsPerOrigin,
-    gradients: gradientsPerOrigin,
-    disableCustomColors: !areCustomSolidsEnabled,
-    disableCustomGradients: !areCustomGradientsEnabled,
-    __experimentalHasMultipleOrigins: true,
-    showTitle: false,
-    enableAlpha: true,
-    __experimentalIsRenderedInSidebar: true
-  }, controlProps)));
+  return [result, setStyle];
 }
+const hooks_ROOT_BLOCK_SUPPORTS = ['background', 'backgroundColor', 'color', 'linkColor', 'fontFamily', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight', 'textDecoration', 'textTransform', 'padding'];
+function getSupportedGlobalStylesPanels(name) {
+  if (!name) {
+    return hooks_ROOT_BLOCK_SUPPORTS;
+  }

-/* harmony default export */ var screen_background_color = (ScreenBackgroundColor);
+  const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(name);
+
+  if (!blockType) {
+    return [];
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-text-color.js
+  const supportKeys = [];
+  Object.keys(external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY).forEach(styleName => {
+    if (!external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY[styleName].support) {
+      return;
+    } // Opting out means that, for certain support keys like background color,
+    // blocks have to explicitly set the support value false. If the key is
+    // unset, we still enable it.


-/**
- * WordPress dependencies
- */
+    if (external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY[styleName].requiresOptOut) {
+      if ((0,external_lodash_namespaceObject.has)(blockType.supports, external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY[styleName].support[0]) && (0,external_lodash_namespaceObject.get)(blockType.supports, external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY[styleName].support) !== false) {
+        return supportKeys.push(styleName);
+      }
+    }
+
+    if ((0,external_lodash_namespaceObject.get)(blockType.supports, external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY[styleName].support, false)) {
+      return supportKeys.push(styleName);
+    }
+  });
+  return supportKeys;
+}
+function useColorsPerOrigin(name) {
+  const [customColors] = useSetting('color.palette.custom', name);
+  const [themeColors] = useSetting('color.palette.theme', name);
+  const [defaultColors] = useSetting('color.palette.default', name);
+  const [shouldDisplayDefaultColors] = useSetting('color.defaultPalette');
+  return (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const result = [];

+    if (themeColors && themeColors.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Theme', 'Indicates this palette comes from the theme.'),
+        colors: themeColors
+      });
+    }

-/**
- * Internal dependencies
- */
+    if (shouldDisplayDefaultColors && defaultColors && defaultColors.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Default', 'Indicates this palette comes from WordPress.'),
+        colors: defaultColors
+      });
+    }

+    if (customColors && customColors.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Custom', 'Indicates this palette is created by the user.'),
+        colors: customColors
+      });
+    }

+    return result;
+  }, [customColors, themeColors, defaultColors]);
+}
+function useGradientsPerOrigin(name) {
+  const [customGradients] = useSetting('color.gradients.custom', name);
+  const [themeGradients] = useSetting('color.gradients.theme', name);
+  const [defaultGradients] = useSetting('color.gradients.default', name);
+  const [shouldDisplayDefaultGradients] = useSetting('color.defaultGradients');
+  return (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const result = [];

+    if (themeGradients && themeGradients.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Theme', 'Indicates this palette comes from the theme.'),
+        gradients: themeGradients
+      });
+    }

-function ScreenTextColor(_ref) {
-  let {
-    name
-  } = _ref;
-  const parentMenu = name === undefined ? '' : '/blocks/' + name;
-  const supports = getSupportedGlobalStylesPanels(name);
-  const [solids] = useSetting('color.palette', name);
-  const [areCustomSolidsEnabled] = useSetting('color.custom', name);
-  const [isTextEnabled] = useSetting('color.text', name);
-  const colorsPerOrigin = useColorsPerOrigin(name);
-  const hasTextColor = supports.includes('color') && isTextEnabled && (solids.length > 0 || areCustomSolidsEnabled);
-  const [color, setColor] = useStyle('color.text', name);
-  const [userColor] = useStyle('color.text', name, 'user');
+    if (shouldDisplayDefaultGradients && defaultGradients && defaultGradients.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Default', 'Indicates this palette comes from WordPress.'),
+        gradients: defaultGradients
+      });
+    }

-  if (!hasTextColor) {
-    return null;
-  }
+    if (customGradients && customGradients.length) {
+      result.push({
+        name: (0,external_wp_i18n_namespaceObject._x)('Custom', 'Indicates this palette is created by the user.'),
+        gradients: customGradients
+      });
+    }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: parentMenu + '/colors',
-    title: Object(external_wp_i18n_["__"])('Text'),
-    description: Object(external_wp_i18n_["__"])('Set the default color used for text across the site.')
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalColorGradientControl"], {
-    className: "edit-site-screen-text-color__control",
-    colors: colorsPerOrigin,
-    disableCustomColors: !areCustomSolidsEnabled,
-    __experimentalHasMultipleOrigins: true,
-    showTitle: false,
-    enableAlpha: true,
-    __experimentalIsRenderedInSidebar: true,
-    colorValue: color,
-    onColorChange: setColor,
-    clearable: color === userColor
-  }));
+    return result;
+  }, [customGradients, themeGradients, defaultGradients]);
 }

-/* harmony default export */ var screen_text_color = (ScreenTextColor);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-link-color.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/preview.js


 /**
  * WordPress dependencies
  */

-
 /**
  * Internal dependencies
  */



+const StylesPreview = () => {
+  const [fontFamily = 'serif'] = useStyle('typography.fontFamily');
+  const [textColor = 'black'] = useStyle('color.text');
+  const [linkColor = 'blue'] = useStyle('elements.link.color.text');
+  const [backgroundColor = 'white'] = useStyle('color.background');
+  const [gradientValue] = useStyle('color.gradient');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Card, {
+    className: "edit-site-global-styles-preview",
+    style: {
+      background: gradientValue !== null && gradientValue !== void 0 ? gradientValue : backgroundColor
+    }
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    spacing: 5
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    style: {
+      fontFamily,
+      fontSize: '80px',
+      color: textColor
+    }
+  }, "Aa"), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalVStack, {
+    spacing: 2
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ColorIndicator, {
+    colorValue: textColor
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ColorIndicator, {
+    colorValue: linkColor
+  }))));
+};

-function ScreenLinkColor(_ref) {
-  let {
-    name
-  } = _ref;
-  const parentMenu = name === undefined ? '' : '/blocks/' + name;
-  const supports = getSupportedGlobalStylesPanels(name);
-  const [solids] = useSetting('color.palette', name);
-  const [areCustomSolidsEnabled] = useSetting('color.custom', name);
-  const colorsPerOrigin = useColorsPerOrigin(name);
-  const [isLinkEnabled] = useSetting('color.link', name);
-  const hasLinkColor = supports.includes('linkColor') && isLinkEnabled && (solids.length > 0 || areCustomSolidsEnabled);
-  const [linkColor, setLinkColor] = useStyle('elements.link.color.text', name);
-  const [userLinkColor] = useStyle('elements.link.color.text', name, 'user');
-
-  if (!hasLinkColor) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: parentMenu + '/colors',
-    title: Object(external_wp_i18n_["__"])('Links'),
-    description: Object(external_wp_i18n_["__"])('Set the default color used for links across the site.')
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalColorGradientControl"], {
-    className: "edit-site-screen-link-color__control",
-    colors: colorsPerOrigin,
-    disableCustomColors: !areCustomSolidsEnabled,
-    __experimentalHasMultipleOrigins: true,
-    showTitle: false,
-    enableAlpha: true,
-    __experimentalIsRenderedInSidebar: true,
-    colorValue: linkColor,
-    onColorChange: setLinkColor,
-    clearable: linkColor === userLinkColor
-  }));
-}
+/* harmony default export */ var preview = (StylesPreview);

-/* harmony default export */ var screen_link_color = (ScreenLinkColor);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/navigation-button.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-layout.js


 /**
  * WordPress dependencies
  */

-/**
- * Internal dependencies
- */
-
-


-
-function ScreenLayout(_ref) {
+function NavigationButton(_ref) {
   let {
-    name
+    path,
+    icon,
+    children,
+    isBack = false,
+    ...props
   } = _ref;
-  const parentMenu = name === undefined ? '' : '/blocks/' + name;
-  const hasBorderPanel = useHasBorderPanel(name);
-  const hasDimensionsPanel = useHasDimensionsPanel(name);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(global_styles_header, {
-    back: parentMenu ? parentMenu : '/',
-    title: Object(external_wp_i18n_["__"])('Layout')
-  }), hasDimensionsPanel && Object(external_wp_element_["createElement"])(DimensionsPanel, {
-    name: name
-  }), hasBorderPanel && Object(external_wp_element_["createElement"])(BorderPanel, {
-    name: name
-  }));
+  const navigator = (0,external_wp_components_namespaceObject.__experimentalUseNavigator)();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItem, extends_extends({
+    onClick: () => navigator.push(path, {
+      isBack
+    })
+  }, props), icon && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    justify: "flex-start"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: icon,
+    size: 24
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, children)), !icon && children);
 }

-/* harmony default export */ var screen_layout = (ScreenLayout);
+/* harmony default export */ var navigation_button = (NavigationButton);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/ui.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/typography.js


 /**
  * WordPress dependencies
  */

+const typography = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"
+}));
+/* harmony default export */ var library_typography = (typography);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/color.js
+

 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const color = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"
+}));
+/* harmony default export */ var library_color = (color);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js


+/**
+ * WordPress dependencies
+ */

+const layout = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_layout = (layout);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/border-panel.js


+/**
+ * WordPress dependencies
+ */



+/**
+ * Internal dependencies
+ */


-function ContextScreens(_ref) {
-  let {
-    name
-  } = _ref;
-  const parentMenu = name === undefined ? '' : '/blocks/' + name;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: parentMenu + '/typography'
-  }, Object(external_wp_element_["createElement"])(screen_typography, {
-    name: name
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: parentMenu + '/typography/text'
-  }, Object(external_wp_element_["createElement"])(screen_typography_element, {
-    name: name,
-    element: "text"
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: parentMenu + '/typography/link'
-  }, Object(external_wp_element_["createElement"])(screen_typography_element, {
-    name: name,
-    element: "link"
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: parentMenu + '/colors'
-  }, Object(external_wp_element_["createElement"])(screen_colors, {
-    name: name
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: parentMenu + '/colors/palette'
-  }, Object(external_wp_element_["createElement"])(screen_color_palette, {
-    name: name
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: parentMenu + '/colors/background'
-  }, Object(external_wp_element_["createElement"])(screen_background_color, {
-    name: name
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: parentMenu + '/colors/text'
-  }, Object(external_wp_element_["createElement"])(screen_text_color, {
-    name: name
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: parentMenu + '/colors/link'
-  }, Object(external_wp_element_["createElement"])(screen_link_color, {
-    name: name
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: parentMenu + '/layout'
-  }, Object(external_wp_element_["createElement"])(screen_layout, {
-    name: name
-  })));
+const MIN_BORDER_WIDTH = 0; // Defining empty array here instead of inline avoids unnecessary re-renders of
+// color control.
+
+const EMPTY_ARRAY = [];
+function useHasBorderPanel(name) {
+  const controls = [useHasBorderColorControl(name), useHasBorderRadiusControl(name), useHasBorderStyleControl(name), useHasBorderWidthControl(name)];
+  return controls.some(Boolean);
 }

-function GlobalStylesUI() {
-  const blocks = Object(external_wp_blocks_["getBlockTypes"])();
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorProvider"], {
-    initialPath: "/"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: "/"
-  }, Object(external_wp_element_["createElement"])(screen_root, null)), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    path: "/blocks"
-  }, Object(external_wp_element_["createElement"])(screen_block_list, null)), blocks.map(block => Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigatorScreen"], {
-    key: 'menu-block-' + block.name,
-    path: '/blocks/' + block.name
-  }, Object(external_wp_element_["createElement"])(screen_block, {
-    name: block.name
-  }))), Object(external_wp_element_["createElement"])(ContextScreens, null), blocks.map(block => Object(external_wp_element_["createElement"])(ContextScreens, {
-    key: 'screens-block-' + block.name,
-    name: block.name
-  })));
+function useHasBorderColorControl(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  return useSetting('border.color', name)[0] && supports.includes('borderColor');
 }

-/* harmony default export */ var ui = (GlobalStylesUI);
+function useHasBorderRadiusControl(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  return useSetting('border.radius', name)[0] && supports.includes('borderRadius');
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/use-global-styles-output.js
-/**
- * External dependencies
- */
+function useHasBorderStyleControl(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  return useSetting('border.style', name)[0] && supports.includes('borderStyle');
+}

-/**
- * WordPress dependencies
- */
+function useHasBorderWidthControl(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  return useSetting('border.width', name)[0] && supports.includes('borderWidth');
+}
+
+function BorderPanel(_ref) {
+  let {
+    name
+  } = _ref;
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: useSetting('spacing.units')[0] || ['px', 'em', 'rem']
+  }); // Border width.

+  const hasBorderWidth = useHasBorderWidthControl(name);
+  const [borderWidthValue, setBorderWidth] = useStyle('border.width', name); // Border style.
+
+  const hasBorderStyle = useHasBorderStyleControl(name);
+  const [borderStyle, setBorderStyle] = useStyle('border.style', name); // Border color.
+
+  const [colors = EMPTY_ARRAY] = useSetting('color.palette');
+  const disableCustomColors = !useSetting('color.custom')[0];
+  const disableCustomGradients = !useSetting('color.customGradient')[0];
+  const hasBorderColor = useHasBorderColorControl(name);
+  const [borderColor, setBorderColor] = useStyle('border.color', name); // Border radius.

+  const hasBorderRadius = useHasBorderRadiusControl(name);
+  const [borderRadiusValues, setBorderRadius] = useStyle('border.radius', name);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Border'),
+    initialOpen: true
+  }, (hasBorderWidth || hasBorderStyle) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-global-styles-sidebar__border-controls-row"
+  }, hasBorderWidth && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+    value: borderWidthValue,
+    label: (0,external_wp_i18n_namespaceObject.__)('Width'),
+    min: MIN_BORDER_WIDTH,
+    onChange: value => {
+      setBorderWidth(value || undefined);
+    },
+    units: units
+  }), hasBorderStyle && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBorderStyleControl, {
+    value: borderStyle,
+    onChange: setBorderStyle
+  })), hasBorderColor && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalColorGradientControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Color'),
+    colorValue: borderColor,
+    colors: colors,
+    gradients: undefined,
+    disableCustomColors: disableCustomColors,
+    disableCustomGradients: disableCustomGradients,
+    onColorChange: setBorderColor
+  }), hasBorderRadius && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalBorderRadiusControl, {
+    values: borderRadiusValues,
+    onChange: setBorderRadius
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/color-utils.js
 /**
  * Internal dependencies
  */

+function useHasColorPanel(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  return supports.includes('color') || supports.includes('backgroundColor') || supports.includes('background') || supports.includes('linkColor');
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/dimensions-panel.js
+
+
 /**
- * Internal dependencies
+ * WordPress dependencies
  */



+/**
+ * Internal dependencies
+ */

-function compileStyleValue(uncompiledValue) {
-  const VARIABLE_REFERENCE_PREFIX = 'var:';
-  const VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE = '|';
-  const VARIABLE_PATH_SEPARATOR_TOKEN_STYLE = '--';

-  if (Object(external_lodash_["startsWith"])(uncompiledValue, VARIABLE_REFERENCE_PREFIX)) {
-    const variable = uncompiledValue.slice(VARIABLE_REFERENCE_PREFIX.length).split(VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE).join(VARIABLE_PATH_SEPARATOR_TOKEN_STYLE);
-    return `var(--wp--${variable})`;
-  }
+const AXIAL_SIDES = ['horizontal', 'vertical'];
+function useHasDimensionsPanel(name) {
+  const hasPadding = useHasPadding(name);
+  const hasMargin = useHasMargin(name);
+  const hasGap = useHasGap(name);
+  return hasPadding || hasMargin || hasGap;
+}

-  return uncompiledValue;
+function useHasPadding(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  const [settings] = useSetting('spacing.padding', name);
+  return settings && supports.includes('padding');
 }
-/**
- * Transform given preset tree into a set of style declarations.
- *
- * @param {Object} blockPresets
- *
- * @return {Array} An array of style declarations.
- */

+function useHasMargin(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  const [settings] = useSetting('spacing.margin', name);
+  return settings && supports.includes('margin');
+}

-function getPresetsDeclarations() {
-  let blockPresets = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  return Object(external_lodash_["reduce"])(PRESET_METADATA, (declarations, _ref) => {
-    let {
-      path,
-      valueKey,
-      cssVarInfix
-    } = _ref;
-    const presetByOrigin = Object(external_lodash_["get"])(blockPresets, path, []);
-    ['default', 'theme', 'custom'].forEach(origin => {
-      if (presetByOrigin[origin]) {
-        presetByOrigin[origin].forEach(value => {
-          declarations.push(`--wp--preset--${cssVarInfix}--${Object(external_lodash_["kebabCase"])(value.slug)}: ${value[valueKey]}`);
-        });
-      }
-    });
-    return declarations;
-  }, []);
+function useHasGap(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  const [settings] = useSetting('spacing.blockGap', name);
+  return settings && supports.includes('--wp--style--block-gap');
 }
-/**
- * Transform given preset tree into a set of preset class declarations.
- *
- * @param {string} blockSelector
- * @param {Object} blockPresets
- * @return {string} CSS declarations for the preset classes.
- */

+function filterValuesBySides(values, sides) {
+  if (!sides) {
+    // If no custom side configuration all sides are opted into by default.
+    return values;
+  } // Only include sides opted into within filtered values.

-function getPresetsClasses(blockSelector) {
-  let blockPresets = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  return Object(external_lodash_["reduce"])(PRESET_METADATA, (declarations, _ref2) => {
-    let {
-      path,
-      cssVarInfix,
-      classes
-    } = _ref2;

-    if (!classes) {
-      return declarations;
+  const filteredValues = {};
+  sides.forEach(side => {
+    if (side === 'vertical') {
+      filteredValues.top = values.top;
+      filteredValues.bottom = values.bottom;
     }

-    const presetByOrigin = Object(external_lodash_["get"])(blockPresets, path, []);
-    ['default', 'theme', 'custom'].forEach(origin => {
-      if (presetByOrigin[origin]) {
-        presetByOrigin[origin].forEach(_ref3 => {
-          let {
-            slug
-          } = _ref3;
-          classes.forEach(_ref4 => {
-            let {
-              classSuffix,
-              propertyName
-            } = _ref4;
-            const classSelectorToUse = `.has-${Object(external_lodash_["kebabCase"])(slug)}-${classSuffix}`;
-            const selectorToUse = blockSelector.split(',') // Selector can be "h1, h2, h3"
-            .map(selector => `${selector}${classSelectorToUse}`).join(',');
-            const value = `var(--wp--preset--${cssVarInfix}--${Object(external_lodash_["kebabCase"])(slug)})`;
-            declarations += `${selectorToUse}{${propertyName}: ${value} !important;}`;
-          });
-        });
-      }
-    });
-    return declarations;
-  }, '');
-}
-
-function flattenTree() {
-  let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let prefix = arguments.length > 1 ? arguments[1] : undefined;
-  let token = arguments.length > 2 ? arguments[2] : undefined;
-  let result = [];
-  Object.keys(input).forEach(key => {
-    const newKey = prefix + Object(external_lodash_["kebabCase"])(key.replace('/', '-'));
-    const newLeaf = input[key];
-
-    if (newLeaf instanceof Object) {
-      const newPrefix = newKey + token;
-      result = [...result, ...flattenTree(newLeaf, newPrefix, token)];
-    } else {
-      result.push(`${newKey}: ${newLeaf}`);
+    if (side === 'horizontal') {
+      filteredValues.left = values.left;
+      filteredValues.right = values.right;
     }
+
+    filteredValues[side] = values[side];
   });
-  return result;
+  return filteredValues;
 }
-/**
- * Transform given style tree into a set of style declarations.
- *
- * @param {Object} blockStyles Block styles.
- *
- * @return {Array} An array of style declarations.
- */
-
-
-function getStylesDeclarations() {
-  let blockStyles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  return Object(external_lodash_["reduce"])(external_wp_blocks_["__EXPERIMENTAL_STYLE_PROPERTY"], (declarations, _ref5, key) => {
-    let {
-      value,
-      properties
-    } = _ref5;
-    const pathToValue = value;
-
-    if (Object(external_lodash_["first"])(pathToValue) === 'elements') {
-      return declarations;
-    }
-
-    const styleValue = Object(external_lodash_["get"])(blockStyles, pathToValue);
-
-    if (!!properties && !Object(external_lodash_["isString"])(styleValue)) {
-      Object.entries(properties).forEach(entry => {
-        const [name, prop] = entry;
-
-        if (!Object(external_lodash_["get"])(styleValue, [prop], false)) {
-          // Do not create a declaration
-          // for sub-properties that don't have any value.
-          return;
-        }

-        const cssProperty = Object(external_lodash_["kebabCase"])(name);
-        declarations.push(`${cssProperty}: ${compileStyleValue(Object(external_lodash_["get"])(styleValue, [prop]))}`);
-      });
-    } else if (Object(external_lodash_["get"])(blockStyles, pathToValue, false)) {
-      const cssProperty = key.startsWith('--') ? key : Object(external_lodash_["kebabCase"])(key);
-      declarations.push(`${cssProperty}: ${compileStyleValue(Object(external_lodash_["get"])(blockStyles, pathToValue))}`);
-    }
+function splitStyleValue(value) {
+  // Check for shorthand value ( a string value ).
+  if (value && typeof value === 'string') {
+    // Convert to value for individual sides for BoxControl.
+    return {
+      top: value,
+      right: value,
+      bottom: value,
+      left: value
+    };
+  }

-    return declarations;
-  }, []);
+  return value;
 }

-const getNodesWithStyles = (tree, blockSelectors) => {
-  var _tree$styles, _tree$styles2;
+function DimensionsPanel(_ref) {
+  let {
+    name
+  } = _ref;
+  const showPaddingControl = useHasPadding(name);
+  const showMarginControl = useHasMargin(name);
+  const showGapControl = useHasGap(name);
+  const units = (0,external_wp_components_namespaceObject.__experimentalUseCustomUnits)({
+    availableUnits: useSetting('spacing.units', name)[0] || ['%', 'px', 'em', 'rem', 'vw']
+  });
+  const [rawPadding, setRawPadding] = useStyle('spacing.padding', name);
+  const paddingValues = splitStyleValue(rawPadding);
+  const paddingSides = (0,external_wp_blockEditor_namespaceObject.__experimentalUseCustomSides)(name, 'padding');
+  const isAxialPadding = paddingSides && paddingSides.some(side => AXIAL_SIDES.includes(side));

-  const nodes = [];
+  const setPaddingValues = newPaddingValues => {
+    const padding = filterValuesBySides(newPaddingValues, paddingSides);
+    setRawPadding(padding);
+  };

-  if (!(tree !== null && tree !== void 0 && tree.styles)) {
-    return nodes;
-  }
+  const resetPaddingValue = () => setPaddingValues({});

-  const pickStyleKeys = treeToPickFrom => Object(external_lodash_["pickBy"])(treeToPickFrom, (value, key) => ['border', 'color', 'spacing', 'typography'].includes(key)); // Top-level.
+  const hasPaddingValue = () => !!paddingValues && Object.keys(paddingValues).length;

+  const [rawMargin, setRawMargin] = useStyle('spacing.margin', name);
+  const marginValues = splitStyleValue(rawMargin);
+  const marginSides = (0,external_wp_blockEditor_namespaceObject.__experimentalUseCustomSides)(name, 'margin');
+  const isAxialMargin = marginSides && marginSides.some(side => AXIAL_SIDES.includes(side));

-  const styles = pickStyleKeys(tree.styles);
+  const setMarginValues = newMarginValues => {
+    const margin = filterValuesBySides(newMarginValues, marginSides);
+    setRawMargin(margin);
+  };

-  if (!!styles) {
-    nodes.push({
-      styles,
-      selector: ROOT_BLOCK_SELECTOR
-    });
-  }
+  const resetMarginValue = () => setMarginValues({});

-  Object(external_lodash_["forEach"])((_tree$styles = tree.styles) === null || _tree$styles === void 0 ? void 0 : _tree$styles.elements, (value, key) => {
-    if (!!value && !!external_wp_blocks_["__EXPERIMENTAL_ELEMENTS"][key]) {
-      nodes.push({
-        styles: value,
-        selector: external_wp_blocks_["__EXPERIMENTAL_ELEMENTS"][key]
-      });
-    }
-  }); // Iterate over blocks: they can have styles & elements.
+  const hasMarginValue = () => !!marginValues && Object.keys(marginValues).length;

-  Object(external_lodash_["forEach"])((_tree$styles2 = tree.styles) === null || _tree$styles2 === void 0 ? void 0 : _tree$styles2.blocks, (node, blockName) => {
-    var _blockSelectors$block;
+  const [gapValue, setGapValue] = useStyle('spacing.blockGap', name);

-    const blockStyles = pickStyleKeys(node);
+  const resetGapValue = () => setGapValue(undefined);

-    if (!!blockStyles && !!(blockSelectors !== null && blockSelectors !== void 0 && (_blockSelectors$block = blockSelectors[blockName]) !== null && _blockSelectors$block !== void 0 && _blockSelectors$block.selector)) {
-      nodes.push({
-        styles: blockStyles,
-        selector: blockSelectors[blockName].selector
-      });
-    }
+  const hasGapValue = () => !!gapValue;

-    Object(external_lodash_["forEach"])(node === null || node === void 0 ? void 0 : node.elements, (value, elementName) => {
-      if (!!value && !!(blockSelectors !== null && blockSelectors !== void 0 && blockSelectors[blockName]) && !!(external_wp_blocks_["__EXPERIMENTAL_ELEMENTS"] !== null && external_wp_blocks_["__EXPERIMENTAL_ELEMENTS"] !== void 0 && external_wp_blocks_["__EXPERIMENTAL_ELEMENTS"][elementName])) {
-        nodes.push({
-          styles: value,
-          selector: blockSelectors[blockName].selector.split(',').map(sel => sel + ' ' + external_wp_blocks_["__EXPERIMENTAL_ELEMENTS"][elementName]).join(',')
-        });
-      }
-    });
-  });
-  return nodes;
-};
-const getNodesWithSettings = (tree, blockSelectors) => {
-  var _tree$settings, _tree$settings2;
+  const resetAll = () => {
+    resetPaddingValue();
+    resetMarginValue();
+    resetGapValue();
+  };

-  const nodes = [];
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanel, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Dimensions'),
+    resetAll: resetAll
+  }, showPaddingControl && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    hasValue: hasPaddingValue,
+    label: (0,external_wp_i18n_namespaceObject.__)('Padding'),
+    onDeselect: resetPaddingValue,
+    isShownByDefault: true
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalBoxControl, {
+    values: paddingValues,
+    onChange: setPaddingValues,
+    label: (0,external_wp_i18n_namespaceObject.__)('Padding'),
+    sides: paddingSides,
+    units: units,
+    allowReset: false,
+    splitOnAxis: isAxialPadding
+  })), showMarginControl && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    hasValue: hasMarginValue,
+    label: (0,external_wp_i18n_namespaceObject.__)('Margin'),
+    onDeselect: resetMarginValue,
+    isShownByDefault: true
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalBoxControl, {
+    values: marginValues,
+    onChange: setMarginValues,
+    label: (0,external_wp_i18n_namespaceObject.__)('Margin'),
+    sides: marginSides,
+    units: units,
+    allowReset: false,
+    splitOnAxis: isAxialMargin
+  })), showGapControl && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToolsPanelItem, {
+    hasValue: hasGapValue,
+    label: (0,external_wp_i18n_namespaceObject.__)('Block spacing'),
+    onDeselect: resetGapValue,
+    isShownByDefault: true
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalUnitControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Block spacing'),
+    __unstableInputWidth: "80px",
+    min: 0,
+    onChange: setGapValue,
+    units: units,
+    value: gapValue
+  })));
+}

-  if (!(tree !== null && tree !== void 0 && tree.settings)) {
-    return nodes;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/typography-panel.js

-  const pickPresets = treeToPickFrom => {
-    const presets = {};
-    PRESET_METADATA.forEach(_ref6 => {
-      let {
-        path
-      } = _ref6;
-      const value = Object(external_lodash_["get"])(treeToPickFrom, path, false);

-      if (value !== false) {
-        Object(external_lodash_["set"])(presets, path, value);
-      }
-    });
-    return presets;
-  }; // Top-level.
+/**
+ * WordPress dependencies
+ */


-  const presets = pickPresets(tree.settings);
-  const custom = (_tree$settings = tree.settings) === null || _tree$settings === void 0 ? void 0 : _tree$settings.custom;
+/**
+ * Internal dependencies
+ */

-  if (!Object(external_lodash_["isEmpty"])(presets) || !!custom) {
-    nodes.push({
-      presets,
-      custom,
-      selector: ROOT_BLOCK_SELECTOR
-    });
-  } // Blocks.

+function useHasTypographyPanel(name) {
+  const hasLineHeight = useHasLineHeightControl(name);
+  const hasFontAppearance = useHasAppearanceControl(name);
+  const hasLetterSpacing = useHasLetterSpacingControl(name);
+  const supports = getSupportedGlobalStylesPanels(name);
+  return hasLineHeight || hasFontAppearance || hasLetterSpacing || supports.includes('fontSize');
+}

-  Object(external_lodash_["forEach"])((_tree$settings2 = tree.settings) === null || _tree$settings2 === void 0 ? void 0 : _tree$settings2.blocks, (node, blockName) => {
-    const blockPresets = pickPresets(node);
-    const blockCustom = node.custom;
+function useHasLineHeightControl(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  return useSetting('typography.lineHeight', name)[0] && supports.includes('lineHeight');
+}

-    if (!Object(external_lodash_["isEmpty"])(blockPresets) || !!blockCustom) {
-      nodes.push({
-        presets: blockPresets,
-        custom: blockCustom,
-        selector: blockSelectors[blockName].selector
-      });
-    }
-  });
-  return nodes;
-};
-const toCustomProperties = (tree, blockSelectors) => {
-  const settings = getNodesWithSettings(tree, blockSelectors);
-  let ruleset = '';
-  settings.forEach(_ref7 => {
-    let {
-      presets,
-      custom,
-      selector
-    } = _ref7;
-    const declarations = getPresetsDeclarations(presets);
-    const customProps = flattenTree(custom, '--wp--custom--', '--');
+function useHasAppearanceControl(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  const hasFontStyles = useSetting('typography.fontStyle', name)[0] && supports.includes('fontStyle');
+  const hasFontWeights = useSetting('typography.fontWeight', name)[0] && supports.includes('fontWeight');
+  return hasFontStyles || hasFontWeights;
+}

-    if (customProps.length > 0) {
-      declarations.push(...customProps);
-    }
+function useHasLetterSpacingControl(name) {
+  const supports = getSupportedGlobalStylesPanels(name);
+  return useSetting('typography.letterSpacing', name)[0] && supports.includes('letterSpacing');
+}

-    if (declarations.length > 0) {
-      ruleset = ruleset + `${selector}{${declarations.join(';')};}`;
-    }
-  });
-  return ruleset;
-};
-const toStyles = (tree, blockSelectors) => {
-  const nodesWithStyles = getNodesWithStyles(tree, blockSelectors);
-  const nodesWithSettings = getNodesWithSettings(tree, blockSelectors);
-  let ruleset = '.wp-site-blocks > * { margin-top: 0; margin-bottom: 0; }.wp-site-blocks > * + * { margin-top: var( --wp--style--block-gap ); }';
-  nodesWithStyles.forEach(_ref8 => {
-    let {
-      selector,
-      styles
-    } = _ref8;
-    const declarations = getStylesDeclarations(styles);
-
-    if (declarations.length === 0) {
-      return;
+function TypographyPanel(_ref) {
+  let {
+    name,
+    element
+  } = _ref;
+  const supports = getSupportedGlobalStylesPanels(name);
+  const prefix = element === 'text' || !element ? '' : `elements.${element}.`;
+  const [fontSizes] = useSetting('typography.fontSizes', name);
+  const disableCustomFontSizes = !useSetting('typography.customFontSize', name)[0];
+  const [fontFamilies] = useSetting('typography.fontFamilies', name);
+  const hasFontStyles = useSetting('typography.fontStyle', name)[0] && supports.includes('fontStyle');
+  const hasFontWeights = useSetting('typography.fontWeight', name)[0] && supports.includes('fontWeight');
+  const hasLineHeightEnabled = useHasLineHeightControl(name);
+  const hasAppearanceControl = useHasAppearanceControl(name);
+  const hasLetterSpacingControl = useHasLetterSpacingControl(name);
+  const [fontFamily, setFontFamily] = useStyle(prefix + 'typography.fontFamily', name);
+  const [fontSize, setFontSize] = useStyle(prefix + 'typography.fontSize', name);
+  const [fontStyle, setFontStyle] = useStyle(prefix + 'typography.fontStyle', name);
+  const [fontWeight, setFontWeight] = useStyle(prefix + 'typography.fontWeight', name);
+  const [lineHeight, setLineHeight] = useStyle(prefix + 'typography.lineHeight', name);
+  const [letterSpacing, setLetterSpacing] = useStyle(prefix + 'typography.letterSpacing', name);
+  const [backgroundColor] = useStyle(prefix + 'color.background', name);
+  const [gradientValue] = useStyle(prefix + 'color.gradient', name);
+  const [color] = useStyle(prefix + 'color.text', name);
+  const extraStyles = element === 'link' ? {
+    textDecoration: 'underline'
+  } : {};
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    className: "edit-site-typography-panel",
+    initialOpen: true
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-typography-panel__preview",
+    style: {
+      fontFamily: fontFamily !== null && fontFamily !== void 0 ? fontFamily : 'serif',
+      background: gradientValue !== null && gradientValue !== void 0 ? gradientValue : backgroundColor,
+      color,
+      fontSize,
+      fontStyle,
+      fontWeight,
+      letterSpacing,
+      ...extraStyles
     }
+  }, "Aa"), supports.includes('fontFamily') && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalFontFamilyControl, {
+    fontFamilies: fontFamilies,
+    value: fontFamily,
+    onChange: setFontFamily
+  }), supports.includes('fontSize') && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FontSizePicker, {
+    value: fontSize,
+    onChange: setFontSize,
+    fontSizes: fontSizes,
+    disableCustomFontSizes: disableCustomFontSizes
+  }), hasLineHeightEnabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.LineHeightControl, {
+    value: lineHeight,
+    onChange: setLineHeight
+  }), hasAppearanceControl && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalFontAppearanceControl, {
+    value: {
+      fontStyle,
+      fontWeight
+    },
+    onChange: _ref2 => {
+      let {
+        fontStyle: newFontStyle,
+        fontWeight: newFontWeight
+      } = _ref2;
+      setFontStyle(newFontStyle);
+      setFontWeight(newFontWeight);
+    },
+    hasFontStyles: hasFontStyles,
+    hasFontWeights: hasFontWeights
+  }), hasLetterSpacingControl && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLetterSpacingControl, {
+    value: letterSpacing,
+    onChange: setLetterSpacing
+  }));
+}

-    ruleset = ruleset + `${selector}{${declarations.join(';')};}`;
-  });
-  nodesWithSettings.forEach(_ref9 => {
-    let {
-      selector,
-      presets
-    } = _ref9;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/context-menu.js

-    if (ROOT_BLOCK_SELECTOR === selector) {
-      // Do not add extra specificity for top-level classes.
-      selector = '';
-    }

-    const classes = getPresetsClasses(selector, presets);
+/**
+ * WordPress dependencies
+ */

-    if (!Object(external_lodash_["isEmpty"])(classes)) {
-      ruleset = ruleset + classes;
-    }
-  });
-  return ruleset;
-};

-const getBlockSelectors = blockTypes => {
-  const result = {};
-  blockTypes.forEach(blockType => {
-    var _blockType$supports$_, _blockType$supports;

-    const name = blockType.name;
-    const selector = (_blockType$supports$_ = blockType === null || blockType === void 0 ? void 0 : (_blockType$supports = blockType.supports) === null || _blockType$supports === void 0 ? void 0 : _blockType$supports.__experimentalSelector) !== null && _blockType$supports$_ !== void 0 ? _blockType$supports$_ : '.wp-block-' + name.replace('core/', '').replace('/', '-');
-    result[name] = {
-      name,
-      selector
-    };
-  });
-  return result;
-};
+/**
+ * Internal dependencies
+ */
+
+

-function useGlobalStylesOutput() {
-  const [stylesheets, setStylesheets] = Object(external_wp_element_["useState"])([]);
-  const [settings, setSettings] = Object(external_wp_element_["useState"])({});
-  const {
-    merged: mergedConfig
-  } = Object(external_wp_element_["useContext"])(GlobalStylesContext);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!(mergedConfig !== null && mergedConfig !== void 0 && mergedConfig.styles) || !(mergedConfig !== null && mergedConfig !== void 0 && mergedConfig.settings)) {
-      return;
-    }

-    const blockSelectors = getBlockSelectors(Object(external_wp_blocks_["getBlockTypes"])());
-    const customProperties = toCustomProperties(mergedConfig, blockSelectors);
-    const globalStyles = toStyles(mergedConfig, blockSelectors);
-    setStylesheets([{
-      css: customProperties,
-      isGlobalStyles: true
-    }, {
-      css: globalStyles,
-      isGlobalStyles: true
-    }]);
-    setSettings(mergedConfig.settings);
-  }, [mergedConfig]);
-  return [stylesheets, settings];
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/index.js


+function ContextMenu(_ref) {
+  let {
+    name,
+    parentMenu = ''
+  } = _ref;
+  const hasTypographyPanel = useHasTypographyPanel(name);
+  const hasColorPanel = useHasColorPanel(name);
+  const hasBorderPanel = useHasBorderPanel(name);
+  const hasDimensionsPanel = useHasDimensionsPanel(name);
+  const hasLayoutPanel = hasBorderPanel || hasDimensionsPanel;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItemGroup, null, hasTypographyPanel && (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    icon: library_typography,
+    path: parentMenu + '/typography'
+  }, (0,external_wp_i18n_namespaceObject.__)('Typography')), hasColorPanel && (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    icon: library_color,
+    path: parentMenu + '/colors'
+  }, (0,external_wp_i18n_namespaceObject.__)('Colors')), hasLayoutPanel && (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    icon: library_layout,
+    path: parentMenu + '/layout'
+  }, (0,external_wp_i18n_namespaceObject.__)('Layout')));
+}

+/* harmony default export */ var context_menu = (ContextMenu);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/global-styles-sidebar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-root.js


 /**
@@ -5309,7 +5505,6 @@ function useGlobalStylesOutput() {



-
 /**
  * Internal dependencies
  */
@@ -5317,41 +5512,22 @@ function useGlobalStylesOutput() {



-function GlobalStylesSidebar() {
-  const [canReset, onReset] = useGlobalStylesReset();
-  const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(DefaultSidebar, {
-    className: "edit-site-global-styles-sidebar",
-    identifier: "edit-site/global-styles",
-    title: Object(external_wp_i18n_["__"])('Styles'),
-    icon: library_styles,
-    closeLabel: Object(external_wp_i18n_["__"])('Close global styles sidebar'),
-    header: Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], null, Object(external_wp_element_["createElement"])(external_wp_components_["FlexBlock"], null, Object(external_wp_element_["createElement"])("strong", null, Object(external_wp_i18n_["__"])('Styles')), Object(external_wp_element_["createElement"])("span", {
-      className: "edit-site-global-styles-sidebar__beta"
-    }, Object(external_wp_i18n_["__"])('Beta'))), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-      icon: more_vertical["a" /* default */],
-      label: Object(external_wp_i18n_["__"])('More Global Styles Actions'),
-      toggleProps: {
-        disabled: !canReset
-      },
-      controls: [{
-        title: Object(external_wp_i18n_["__"])('Reset to defaults'),
-        onClick: onReset
-      }, {
-        title: Object(external_wp_i18n_["__"])('Welcome Guide'),
-        onClick: () => toggleFeature('welcomeGuideStyles')
-      }]
-    })))
-  }, Object(external_wp_element_["createElement"])(ui, null));
+
+function ScreenRoot() {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Card, {
+    size: "small"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CardBody, null, (0,external_wp_element_namespaceObject.createElement)(preview, null)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CardBody, null, (0,external_wp_element_namespaceObject.createElement)(context_menu, null)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CardDivider, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CardBody, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItemGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItem, null, (0,external_wp_i18n_namespaceObject.__)('Customize the appearance of specific blocks for the whole site.')), (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    path: "/blocks"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    justify: "space-between"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_i18n_namespaceObject.__)('Blocks')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+    icon: (0,external_wp_i18n_namespaceObject.isRTL)() ? chevron_left : chevron_right
+  })))))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/constants.js
-const SIDEBAR_TEMPLATE = 'edit-site/template';
-const SIDEBAR_BLOCK = 'edit-site/block-inspector';
+/* harmony default export */ var screen_root = (ScreenRoot);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/settings-header/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/header.js


 /**
@@ -5360,54 +5536,41 @@ const SIDEBAR_BLOCK = 'edit-site/block-inspector';



-
 /**
  * Internal dependencies
  */



-
-const SettingsHeader = _ref => {
+function ScreenHeader(_ref) {
   let {
-    sidebarName
+    back,
+    title,
+    description
   } = _ref;
-  const {
-    enableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(build_module["i" /* store */]);
-
-  const openTemplateSettings = () => enableComplementaryArea(STORE_NAME, SIDEBAR_TEMPLATE);
-
-  const openBlockSettings = () => enableComplementaryArea(STORE_NAME, SIDEBAR_BLOCK);
-
-  const [templateAriaLabel, templateActiveClass] = sidebarName === SIDEBAR_TEMPLATE ? // translators: ARIA label for the Template sidebar tab, selected.
-  [Object(external_wp_i18n_["__"])('Template (selected)'), 'is-active'] : // translators: ARIA label for the Template Settings Sidebar tab, not selected.
-  [Object(external_wp_i18n_["__"])('Template'), ''];
-  const [blockAriaLabel, blockActiveClass] = sidebarName === SIDEBAR_BLOCK ? // translators: ARIA label for the Block Settings Sidebar tab, selected.
-  [Object(external_wp_i18n_["__"])('Block (selected)'), 'is-active'] : // translators: ARIA label for the Block Settings Sidebar tab, not selected.
-  [Object(external_wp_i18n_["__"])('Block'), ''];
-  /* Use a list so screen readers will announce how many tabs there are. */
-
-  return Object(external_wp_element_["createElement"])("ul", null, Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    onClick: openTemplateSettings,
-    className: `edit-site-sidebar__panel-tab ${templateActiveClass}`,
-    "aria-label": templateAriaLabel // translators: Data label for the Template Settings Sidebar tab.
-    ,
-    "data-label": Object(external_wp_i18n_["__"])('Template')
-  }, // translators: Text label for the Template Settings Sidebar tab.
-  Object(external_wp_i18n_["__"])('Template'))), Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    onClick: openBlockSettings,
-    className: `edit-site-sidebar__panel-tab ${blockActiveClass}`,
-    "aria-label": blockAriaLabel // translators: Data label for the Block Settings Sidebar tab.
-    ,
-    "data-label": Object(external_wp_i18n_["__"])('Block')
-  }, // translators: Text label for the Block Settings Sidebar tab.
-  Object(external_wp_i18n_["__"])('Block'))));
-};
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalVStack, {
+    spacing: 2
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    spacing: 2
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalView, null, (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    path: back,
+    icon: (0,external_wp_element_namespaceObject.createElement)(build_module_icon, {
+      icon: (0,external_wp_i18n_namespaceObject.isRTL)() ? chevron_right : chevron_left,
+      variant: "muted"
+    }),
+    size: "small",
+    isBack: true,
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Navigate to the previous view')
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalSpacer, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHeading, {
+    level: 5
+  }, title))), description && (0,external_wp_element_namespaceObject.createElement)("p", {
+    className: "edit-site-global-styles-header__description"
+  }, description));
+}

-/* harmony default export */ var settings_header = (SettingsHeader);
+/* harmony default export */ var header = (ScreenHeader);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/template-card/template-areas.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-block-list.js


 /**
@@ -5417,131 +5580,85 @@ const SettingsHeader = _ref => {



-
 /**
  * Internal dependencies
  */



-function TemplateAreaItem(_ref) {
-  let {
-    area,
-    clientId
-  } = _ref;
-  const {
-    selectBlock,
-    toggleBlockHighlight
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const templatePartArea = Object(external_wp_data_["useSelect"])(select => {
-    const defaultAreas = select(external_wp_editor_["store"]).__experimentalGetDefaultTemplatePartAreas();

-    return defaultAreas.find(defaultArea => defaultArea.area === area);
-  }, [area]);

-  const highlightBlock = () => toggleBlockHighlight(clientId, true);

-  const cancelHighlightBlock = () => toggleBlockHighlight(clientId, false);

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "edit-site-template-card__template-areas-item",
-    icon: templatePartArea === null || templatePartArea === void 0 ? void 0 : templatePartArea.icon,
-    onMouseOver: highlightBlock,
-    onMouseLeave: cancelHighlightBlock,
-    onFocus: highlightBlock,
-    onBlur: cancelHighlightBlock,
-    onClick: () => {
-      selectBlock(clientId);
-    }
-  }, templatePartArea === null || templatePartArea === void 0 ? void 0 : templatePartArea.label);
-}

-function template_areas_TemplateAreas() {
-  const templateParts = Object(external_wp_data_["useSelect"])(select => select(store).getCurrentTemplateTemplateParts(), []);
+function BlockMenuItem(_ref) {
+  let {
+    block
+  } = _ref;
+  const hasTypographyPanel = useHasTypographyPanel(block.name);
+  const hasColorPanel = useHasColorPanel(block.name);
+  const hasBorderPanel = useHasBorderPanel(block.name);
+  const hasDimensionsPanel = useHasDimensionsPanel(block.name);
+  const hasLayoutPanel = hasBorderPanel || hasDimensionsPanel;
+  const hasBlockMenuItem = hasTypographyPanel || hasColorPanel || hasLayoutPanel;

-  if (!templateParts.length) {
+  if (!hasBlockMenuItem) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])("section", {
-    className: "edit-site-template-card__template-areas"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHeading"], {
-    level: 3,
-    className: "edit-site-template-card__template-areas-title"
-  }, Object(external_wp_i18n_["__"])('Areas')), Object(external_wp_element_["createElement"])("ul", {
-    className: "edit-site-template-card__template-areas-list"
-  }, templateParts.map(_ref2 => {
-    let {
-      templatePart,
-      block
-    } = _ref2;
-    return Object(external_wp_element_["createElement"])("li", {
-      key: templatePart.slug
-    }, Object(external_wp_element_["createElement"])(TemplateAreaItem, {
-      area: templatePart.area,
-      clientId: block.clientId
-    }));
+  return (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    path: '/blocks/' + block.name
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    justify: "flex-start"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
+    icon: block.icon
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, block.title)));
+}
+
+function ScreenBlockList() {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: "/",
+    title: (0,external_wp_i18n_namespaceObject.__)('Blocks'),
+    description: (0,external_wp_i18n_namespaceObject.__)('Customize the appearance of specific blocks and for the whole site.')
+  }), (0,external_wp_blocks_namespaceObject.getBlockTypes)().map(block => (0,external_wp_element_namespaceObject.createElement)(BlockMenuItem, {
+    block: block,
+    key: 'menu-itemblock-' + block.name
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/template-card/index.js
+/* harmony default export */ var screen_block_list = (ScreenBlockList);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-block.js


 /**
  * WordPress dependencies
  */

-
-
-
 /**
  * Internal dependencies
  */



-function TemplateCard() {
-  const {
-    title,
-    description,
-    icon
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getEditedPostType,
-      getEditedPostId
-    } = select(store);
-    const {
-      getEntityRecord
-    } = select(external_wp_coreData_["store"]);
-    const {
-      __experimentalGetTemplateInfo: getTemplateInfo
-    } = select(external_wp_editor_["store"]);
-    const postType = getEditedPostType();
-    const postId = getEditedPostId();
-    const record = getEntityRecord('postType', postType, postId);
-    const info = record ? getTemplateInfo(record) : {};
-    return info;
-  }, []);
-
-  if (!title && !description) {
-    return null;
-  }

-  return Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-template-card"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
-    className: "edit-site-template-card__icon",
-    icon: icon
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-template-card__content"
-  }, Object(external_wp_element_["createElement"])("h2", {
-    className: "edit-site-template-card__title"
-  }, title), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-template-card__description"
-  }, description), Object(external_wp_element_["createElement"])(template_areas_TemplateAreas, null)));
+function ScreenBlock(_ref) {
+  let {
+    name
+  } = _ref;
+  const blockType = (0,external_wp_blocks_namespaceObject.getBlockType)(name);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: "/blocks",
+    title: blockType.title
+  }), (0,external_wp_element_namespaceObject.createElement)(context_menu, {
+    parentMenu: '/blocks/' + name,
+    name: name
+  }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/index.js
+/* harmony default export */ var screen_block = (ScreenBlock);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/subtitle.js


 /**
@@ -5549,9 +5666,24 @@ function TemplateCard() {
  */


+function Subtitle(_ref) {
+  let {
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHeading, {
+    className: "edit-site-global-styles-subtitle",
+    level: 2
+  }, children);
+}
+
+/* harmony default export */ var subtitle = (Subtitle);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-typography.js


+/**
+ * WordPress dependencies
+ */


 /**
@@ -5564,130 +5696,185 @@ function TemplateCard() {



-const {
-  Slot: InspectorSlot,
-  Fill: InspectorFill
-} = Object(external_wp_components_["createSlotFill"])('EditSiteSidebarInspector');
-const SidebarInspectorFill = InspectorFill;
-function SidebarComplementaryAreaFills() {
-  const {
-    sidebar,
-    isEditorSidebarOpened,
-    hasBlockSelection
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const _sidebar = select(build_module["i" /* store */]).getActiveComplementaryArea(STORE_NAME);
-
-    const _isEditorSidebarOpened = [SIDEBAR_BLOCK, SIDEBAR_TEMPLATE].includes(_sidebar);
+function Item(_ref) {
+  let {
+    name,
+    parentMenu,
+    element,
+    label
+  } = _ref;
+  const hasSupport = !name;
+  const prefix = element === 'text' || !element ? '' : `elements.${element}.`;
+  const extraStyles = element === 'link' ? {
+    textDecoration: 'underline'
+  } : {};
+  const [fontFamily] = useStyle(prefix + 'typography.fontFamily', name);
+  const [fontStyle] = useStyle(prefix + 'typography.fontStyle', name);
+  const [fontWeight] = useStyle(prefix + 'typography.fontWeight', name);
+  const [letterSpacing] = useStyle(prefix + 'typography.letterSpacing', name);
+  const [backgroundColor] = useStyle(prefix + 'color.background', name);
+  const [gradientValue] = useStyle(prefix + 'color.gradient', name);
+  const [color] = useStyle(prefix + 'color.text', name);

-    return {
-      sidebar: _sidebar,
-      isEditorSidebarOpened: _isEditorSidebarOpened,
-      hasBlockSelection: !!select(external_wp_blockEditor_["store"]).getBlockSelectionStart()
-    };
-  }, []);
-  const {
-    enableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(build_module["i" /* store */]);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!isEditorSidebarOpened) return;
+  if (!hasSupport) {
+    return null;
+  }

-    if (hasBlockSelection) {
-      enableComplementaryArea(STORE_NAME, SIDEBAR_BLOCK);
-    } else {
-      enableComplementaryArea(STORE_NAME, SIDEBAR_TEMPLATE);
+  return (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    path: parentMenu + '/typography/' + element
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    justify: "flex-start"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, {
+    className: "edit-site-global-styles-screen-typography__indicator",
+    style: {
+      fontFamily: fontFamily !== null && fontFamily !== void 0 ? fontFamily : 'serif',
+      background: gradientValue !== null && gradientValue !== void 0 ? gradientValue : backgroundColor,
+      color,
+      fontStyle,
+      fontWeight,
+      letterSpacing,
+      ...extraStyles
     }
-  }, [hasBlockSelection, isEditorSidebarOpened]);
-  let sidebarName = sidebar;
-
-  if (!isEditorSidebarOpened) {
-    sidebarName = hasBlockSelection ? SIDEBAR_BLOCK : SIDEBAR_TEMPLATE;
-  }
+  }, (0,external_wp_i18n_namespaceObject.__)('Aa')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, label)));
+}

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(DefaultSidebar, {
-    identifier: sidebarName,
-    title: Object(external_wp_i18n_["__"])('Settings'),
-    icon: cog["a" /* default */],
-    closeLabel: Object(external_wp_i18n_["__"])('Close settings sidebar'),
-    header: Object(external_wp_element_["createElement"])(settings_header, {
-      sidebarName: sidebarName
-    }),
-    headerClassName: "edit-site-sidebar__panel-tabs"
-  }, sidebarName === SIDEBAR_TEMPLATE && Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], null, Object(external_wp_element_["createElement"])(TemplateCard, null)), sidebarName === SIDEBAR_BLOCK && Object(external_wp_element_["createElement"])(InspectorSlot, {
-    bubblesVirtually: true
-  })), Object(external_wp_element_["createElement"])(GlobalStylesSidebar, null));
+function ScreenTypography(_ref2) {
+  let {
+    name
+  } = _ref2;
+  const parentMenu = name === undefined ? '' : '/blocks/' + name;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: parentMenu ? parentMenu : '/',
+    title: (0,external_wp_i18n_namespaceObject.__)('Typography'),
+    description: (0,external_wp_i18n_namespaceObject.__)('Manage the typography settings for different elements.')
+  }), !name && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-global-styles-screen-typography"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalVStack, {
+    spacing: 3
+  }, (0,external_wp_element_namespaceObject.createElement)(subtitle, null, (0,external_wp_i18n_namespaceObject.__)('Elements')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItemGroup, {
+    isBordered: true,
+    isSeparated: true
+  }, (0,external_wp_element_namespaceObject.createElement)(Item, {
+    name: name,
+    parentMenu: parentMenu,
+    element: "text",
+    label: (0,external_wp_i18n_namespaceObject.__)('Text')
+  }), (0,external_wp_element_namespaceObject.createElement)(Item, {
+    name: name,
+    parentMenu: parentMenu,
+    element: "link",
+    label: (0,external_wp_i18n_namespaceObject.__)('Links')
+  })))), !!name && (0,external_wp_element_namespaceObject.createElement)(TypographyPanel, {
+    name: name,
+    element: "text"
+  }));
 }

-// EXTERNAL MODULE: external ["wp","htmlEntities"]
-var external_wp_htmlEntities_ = __webpack_require__("rmEH");
+/* harmony default export */ var screen_typography = (ScreenTypography);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/home.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-typography-element.js


 /**
  * WordPress dependencies
  */

-const home = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"
-}));
-/* harmony default export */ var library_home = (home);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol-filled.js
-var symbol_filled = __webpack_require__("OE6V");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/main-dashboard-button/index.js
-
-
 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const slotName = '__experimentalMainDashboardButton';
-const {
-  Fill,
-  Slot: MainDashboardButtonSlot
-} = Object(external_wp_components_["createSlotFill"])(slotName);
-const MainDashboardButton = Fill;

-const main_dashboard_button_Slot = _ref => {
-  let {
-    children
-  } = _ref;
-  const slot = Object(external_wp_components_["__experimentalUseSlot"])(slotName);
-  const hasFills = Boolean(slot.fills && slot.fills.length);

-  if (!hasFills) {
-    return children;
+const screen_typography_element_elements = {
+  text: {
+    description: (0,external_wp_i18n_namespaceObject.__)('Manage the fonts used on the site.'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Text')
+  },
+  link: {
+    description: (0,external_wp_i18n_namespaceObject.__)('Manage the fonts and typography used on the links.'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Links')
   }
-
-  return Object(external_wp_element_["createElement"])(MainDashboardButtonSlot, {
-    bubblesVirtually: true
-  });
 };

-MainDashboardButton.Slot = main_dashboard_button_Slot;
-/* harmony default export */ var main_dashboard_button = (MainDashboardButton);
+function ScreenTypographyElement(_ref) {
+  let {
+    name,
+    element
+  } = _ref;
+  const parentMenu = name === undefined ? '/typography' : '/blocks/' + name + '/typography';
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: parentMenu,
+    title: screen_typography_element_elements[element].title,
+    description: screen_typography_element_elements[element].description
+  }), (0,external_wp_element_namespaceObject.createElement)(TypographyPanel, {
+    name: name,
+    element: element
+  }));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/navigation-panel/index.js
+/* harmony default export */ var screen_typography_element = (ScreenTypographyElement);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/palette.js


 /**
- * External dependencies
+ * WordPress dependencies
  */

+
+
 /**
- * WordPress dependencies
+ * Internal dependencies
  */




+const EMPTY_COLORS = [];
+
+function Palette(_ref) {
+  let {
+    name
+  } = _ref;
+  const [customColors] = useSetting('color.palette.custom');
+  const [themeColors] = useSetting('color.palette.theme');
+  const [defaultColors] = useSetting('color.palette.default');
+  const [defaultPaletteEnabled] = useSetting('color.defaultPalette', name);
+  const colors = (0,external_wp_element_namespaceObject.useMemo)(() => [...(customColors || EMPTY_COLORS), ...(themeColors || EMPTY_COLORS), ...(defaultColors && defaultPaletteEnabled ? defaultColors : EMPTY_COLORS)], [customColors, themeColors, defaultColors, defaultPaletteEnabled]);
+  const screenPath = !name ? '/colors/palette' : '/blocks/' + name + '/colors/palette';
+  const paletteButtonText = colors.length > 0 ? (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %d: Number of palette colors.
+  (0,external_wp_i18n_namespaceObject._n)('%d color', '%d colors', colors.length), colors.length) : (0,external_wp_i18n_namespaceObject.__)('Add custom colors');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalVStack, {
+    spacing: 3
+  }, (0,external_wp_element_namespaceObject.createElement)(subtitle, null, (0,external_wp_i18n_namespaceObject.__)('Palette')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItemGroup, {
+    isBordered: true,
+    isSeparated: true
+  }, (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    path: screenPath
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    isReversed: colors.length === 0
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexBlock, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalZStack, {
+    isLayered: false,
+    offset: -8
+  }, colors.slice(0, 5).map(_ref2 => {
+    let {
+      color
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ColorIndicator, {
+      key: color,
+      colorValue: color
+    });
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, paletteButtonText)))));
+}
+
+/* harmony default export */ var palette = (Palette);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-colors.js


+/**
+ * WordPress dependencies
+ */


 /**
@@ -5697,102 +5884,111 @@ MainDashboardButton.Slot = main_dashboard_button_Slot;



-const SITE_EDITOR_KEY = 'site-editor';

-function NavLink(_ref) {
+
+
+function BackgroundColorItem(_ref) {
   let {
-    params,
-    replace,
-    ...props
+    name,
+    parentMenu
   } = _ref;
-  const linkProps = useLink(params, replace);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigationItem"], Object(esm_extends["a" /* default */])({}, linkProps, props));
+  const supports = getSupportedGlobalStylesPanels(name);
+  const hasSupport = supports.includes('backgroundColor') || supports.includes('background');
+  const [backgroundColor] = useStyle('color.background', name);
+  const [gradientValue] = useStyle('color.gradient', name);
+
+  if (!hasSupport) {
+    return null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    path: parentMenu + '/colors/background'
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    justify: "flex-start"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ColorIndicator, {
+    colorValue: gradientValue !== null && gradientValue !== void 0 ? gradientValue : backgroundColor
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_i18n_namespaceObject.__)('Background'))));
 }

-const NavigationPanel = _ref2 => {
+function TextColorItem(_ref2) {
   let {
-    activeItem = SITE_EDITOR_KEY
+    name,
+    parentMenu
   } = _ref2;
-  const {
-    isNavigationOpen,
-    siteTitle
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getEntityRecord
-    } = select(external_wp_coreData_["store"]);
-    const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
-    return {
-      siteTitle: siteData.name,
-      isNavigationOpen: select(store).isNavigationOpened()
-    };
-  }, []);
-  const {
-    setIsNavigationPanelOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
+  const supports = getSupportedGlobalStylesPanels(name);
+  const hasSupport = supports.includes('color');
+  const [color] = useStyle('color.text', name);

-  const closeOnEscape = event => {
-    if (event.keyCode === external_wp_keycodes_["ESCAPE"] && !event.defaultPrevented) {
-      event.preventDefault();
-      setIsNavigationPanelOpened(false);
-    }
-  };
+  if (!hasSupport) {
+    return null;
+  }

-  return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
-    Object(external_wp_element_["createElement"])("div", {
-      className: classnames_default()(`edit-site-navigation-panel`, {
-        'is-open': isNavigationOpen
-      }),
-      onKeyDown: closeOnEscape
-    }, Object(external_wp_element_["createElement"])("div", {
-      className: "edit-site-navigation-panel__inner"
-    }, Object(external_wp_element_["createElement"])("div", {
-      className: "edit-site-navigation-panel__site-title-container"
-    }, Object(external_wp_element_["createElement"])("div", {
-      className: "edit-site-navigation-panel__site-title"
-    }, Object(external_wp_htmlEntities_["decodeEntities"])(siteTitle))), Object(external_wp_element_["createElement"])("div", {
-      className: "edit-site-navigation-panel__scroll-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigation"], {
-      activeItem: activeItem
-    }, Object(external_wp_element_["createElement"])(main_dashboard_button.Slot, null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigationBackButton"], {
-      backButtonLabel: Object(external_wp_i18n_["__"])('Dashboard'),
-      className: "edit-site-navigation-panel__back-to-dashboard",
-      href: "index.php"
-    })), Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigationMenu"], null, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalNavigationGroup"], {
-      title: Object(external_wp_i18n_["__"])('Editor')
-    }, Object(external_wp_element_["createElement"])(NavLink, {
-      icon: library_home,
-      title: Object(external_wp_i18n_["__"])('Site'),
-      item: SITE_EDITOR_KEY,
-      params: {
-        postId: undefined,
-        postType: undefined
-      }
-    }), Object(external_wp_element_["createElement"])(NavLink, {
-      icon: layout["a" /* default */],
-      title: Object(external_wp_i18n_["__"])('Templates'),
-      item: "wp_template",
-      params: {
-        postId: undefined,
-        postType: 'wp_template'
-      }
-    }), Object(external_wp_element_["createElement"])(NavLink, {
-      icon: symbol_filled["a" /* default */],
-      title: Object(external_wp_i18n_["__"])('Template Parts'),
-      item: "wp_template_part",
-      params: {
-        postId: undefined,
-        postType: 'wp_template_part'
-      }
-    })))))))
-  );
-};
+  return (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    path: parentMenu + '/colors/text'
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    justify: "flex-start"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ColorIndicator, {
+    colorValue: color
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_i18n_namespaceObject.__)('Text'))));
+}

-/* harmony default export */ var navigation_panel = (NavigationPanel);
+function LinkColorItem(_ref3) {
+  let {
+    name,
+    parentMenu
+  } = _ref3;
+  const supports = getSupportedGlobalStylesPanels(name);
+  const hasSupport = supports.includes('linkColor');
+  const [color] = useStyle('elements.link.color.text', name);
+
+  if (!hasSupport) {
+    return null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(navigation_button, {
+    path: parentMenu + '/colors/link'
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    justify: "flex-start"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ColorIndicator, {
+    colorValue: color
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_i18n_namespaceObject.__)('Links'))));
+}
+
+function ScreenColors(_ref4) {
+  let {
+    name
+  } = _ref4;
+  const parentMenu = name === undefined ? '' : '/blocks/' + name;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: parentMenu ? parentMenu : '/',
+    title: (0,external_wp_i18n_namespaceObject.__)('Colors'),
+    description: (0,external_wp_i18n_namespaceObject.__)('Manage palettes and the default color of different global elements on the website.')
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-global-styles-screen-colors"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalVStack, {
+    spacing: 10
+  }, (0,external_wp_element_namespaceObject.createElement)(palette, {
+    name: name
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalVStack, {
+    spacing: 3
+  }, (0,external_wp_element_namespaceObject.createElement)(subtitle, null, (0,external_wp_i18n_namespaceObject.__)('Elements')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalItemGroup, {
+    isBordered: true,
+    isSeparated: true
+  }, (0,external_wp_element_namespaceObject.createElement)(BackgroundColorItem, {
+    name: name,
+    parentMenu: parentMenu
+  }), (0,external_wp_element_namespaceObject.createElement)(TextColorItem, {
+    name: name,
+    parentMenu: parentMenu
+  }), (0,external_wp_element_namespaceObject.createElement)(LinkColorItem, {
+    name: name,
+    parentMenu: parentMenu
+  }))))));
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/wordpress.js
-var wordpress = __webpack_require__("wduq");
+/* harmony default export */ var screen_colors = (ScreenColors);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/navigation-toggle/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/color-palette-panel.js


 /**
@@ -5800,100 +5996,108 @@ var wordpress = __webpack_require__("wduq");
  */


+/**
+ * Internal dependencies
+ */


+function ColorPalettePanel(_ref) {
+  let {
+    name
+  } = _ref;
+  const [themeColors, setThemeColors] = useSetting('color.palette.theme', name);
+  const [baseThemeColors] = useSetting('color.palette.theme', name, 'base');
+  const [defaultColors, setDefaultColors] = useSetting('color.palette.default', name);
+  const [baseDefaultColors] = useSetting('color.palette.default', name, 'base');
+  const [customColors, setCustomColors] = useSetting('color.palette.custom', name);
+  const [defaultPaletteEnabled] = useSetting('color.defaultPalette', name);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalVStack, {
+    className: "edit-site-global-styles-color-palette-panel",
+    spacing: 10
+  }, !!themeColors && !!themeColors.length && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalPaletteEdit, {
+    canReset: themeColors !== baseThemeColors,
+    canOnlyChangeValues: true,
+    colors: themeColors,
+    onChange: setThemeColors,
+    paletteLabel: (0,external_wp_i18n_namespaceObject.__)('Theme')
+  }), !!defaultColors && !!defaultColors.length && !!defaultPaletteEnabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalPaletteEdit, {
+    canReset: defaultColors !== baseDefaultColors,
+    canOnlyChangeValues: true,
+    colors: defaultColors,
+    onChange: setDefaultColors,
+    paletteLabel: (0,external_wp_i18n_namespaceObject.__)('Default')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalPaletteEdit, {
+    colors: customColors,
+    onChange: setCustomColors,
+    paletteLabel: (0,external_wp_i18n_namespaceObject.__)('Custom'),
+    emptyMessage: (0,external_wp_i18n_namespaceObject.__)('Custom colors are empty! Add some colors to create your own color palette.'),
+    slugPrefix: "custom-"
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/gradients-palette-panel.js


 /**
- * Internal dependencies
+ * External dependencies
  */

+/**
+ * WordPress dependencies
+ */


-function NavigationToggle(_ref) {
-  let {
-    icon
-  } = _ref;
-  const {
-    isNavigationOpen,
-    isRequestingSiteIcon,
-    siteIconUrl
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getEntityRecord,
-      isResolving
-    } = select(external_wp_coreData_["store"]);
-    const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
-    return {
-      isNavigationOpen: select(store).isNavigationOpened(),
-      isRequestingSiteIcon: isResolving('core', 'getEntityRecord', ['root', '__unstableBase', undefined]),
-      siteIconUrl: siteData.site_icon_url
-    };
-  }, []);
-  const {
-    setIsNavigationPanelOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const disableMotion = Object(external_wp_compose_["useReducedMotion"])();
-  const navigationToggleRef = Object(external_wp_element_["useRef"])();
-  Object(external_wp_element_["useEffect"])(() => {
-    // TODO: Remove this effect when alternative solution is merged.
-    // See: https://github.com/WordPress/gutenberg/pull/37314
-    if (!isNavigationOpen) {
-      navigationToggleRef.current.focus();
-    }
-  }, [isNavigationOpen]);

-  const toggleNavigationPanel = () => setIsNavigationPanelOpened(!isNavigationOpen);
+/**
+ * Internal dependencies
+ */

-  let buttonIcon = Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
-    size: "36px",
-    icon: wordpress["a" /* default */]
-  });
-  const effect = {
-    expand: {
-      scale: 1.7,
-      borderRadius: 0,
-      transition: {
-        type: 'tween',
-        duration: '0.2'
-      }
-    }
-  };

-  if (siteIconUrl) {
-    buttonIcon = Object(external_wp_element_["createElement"])(external_wp_components_["__unstableMotion"].img, {
-      variants: !disableMotion && effect,
-      alt: Object(external_wp_i18n_["__"])('Site Icon'),
-      className: "edit-site-navigation-toggle__site-icon",
-      src: siteIconUrl
-    });
-  } else if (isRequestingSiteIcon) {
-    buttonIcon = null;
-  } else if (icon) {
-    buttonIcon = Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
-      size: "36px",
-      icon: icon
-    });
-  }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["__unstableMotion"].div, {
-    className: 'edit-site-navigation-toggle' + (isNavigationOpen ? ' is-open' : ''),
-    whileHover: "expand"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "edit-site-navigation-toggle__button has-icon",
-    label: Object(external_wp_i18n_["__"])('Toggle navigation'),
-    ref: navigationToggleRef // isPressed will add unwanted styles.
-    ,
-    "aria-pressed": isNavigationOpen,
-    onClick: toggleNavigationPanel,
-    showTooltip: true
-  }, buttonIcon));
+function GradientPalettePanel(_ref) {
+  let {
+    name
+  } = _ref;
+  const [themeGradients, setThemeGradients] = useSetting('color.gradients.theme', name);
+  const [baseThemeGradients] = useSetting('color.gradients.theme', name, 'base');
+  const [defaultGradients, setDefaultGradients] = useSetting('color.gradients.default', name);
+  const [baseDefaultGradients] = useSetting('color.gradients.default', name, 'base');
+  const [customGradients, setCustomGradients] = useSetting('color.gradients.custom', name);
+  const [defaultPaletteEnabled] = useSetting('color.defaultGradients', name);
+  const [duotonePalette] = useSetting('color.duotone') || [];
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalVStack, {
+    className: "edit-site-global-styles-gradient-palette-panel",
+    spacing: 10
+  }, !!themeGradients && !!themeGradients.length && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalPaletteEdit, {
+    canReset: themeGradients !== baseThemeGradients,
+    canOnlyChangeValues: true,
+    gradients: themeGradients,
+    onChange: setThemeGradients,
+    paletteLabel: (0,external_wp_i18n_namespaceObject.__)('Theme')
+  }), !!defaultGradients && !!defaultGradients.length && !!defaultPaletteEnabled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalPaletteEdit, {
+    canReset: defaultGradients !== baseDefaultGradients,
+    canOnlyChangeValues: true,
+    gradients: defaultGradients,
+    onChange: setDefaultGradients,
+    paletteLabel: (0,external_wp_i18n_namespaceObject.__)('Default')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalPaletteEdit, {
+    gradients: customGradients,
+    onChange: setCustomGradients,
+    paletteLabel: (0,external_wp_i18n_namespaceObject.__)('Custom'),
+    emptyMessage: (0,external_wp_i18n_namespaceObject.__)('Custom gradients are empty! Add some gradients to create your own palette.'),
+    slugPrefix: "custom-"
+  }), (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)(subtitle, null, (0,external_wp_i18n_namespaceObject.__)('Duotone')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalSpacer, {
+    margin: 3
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DuotonePicker, {
+    duotonePalette: duotonePalette,
+    disableCustomDuotone: true,
+    disableCustomColors: true,
+    clearable: false,
+    onChange: external_lodash_namespaceObject.noop
+  })));
 }

-/* harmony default export */ var navigation_toggle = (NavigationToggle);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-color-palette.js


 /**
@@ -5902,7 +6106,6 @@ function NavigationToggle(_ref) {



-
 /**
  * Internal dependencies
  */
@@ -5910,39 +6113,41 @@ function NavigationToggle(_ref) {



-const {
-  Fill: NavigationPanelPreviewFill,
-  Slot: NavigationPanelPreviewSlot
-} = Object(external_wp_components_["createSlotFill"])('EditSiteNavigationPanelPreview');
-const {
-  Fill: NavigationSidebarFill,
-  Slot: NavigationSidebarSlot
-} = Object(external_wp_components_["createSlotFill"])('EditSiteNavigationSidebar');

-function NavigationSidebar(_ref) {
+function ScreenColorPalette(_ref) {
   let {
-    isDefaultOpen = false,
-    activeTemplateType
+    name
   } = _ref;
-  const isDesktopViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
-  const {
-    setIsNavigationPanelOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(function autoOpenNavigationPanelOnViewportChange() {
-    setIsNavigationPanelOpened(isDefaultOpen && isDesktopViewport);
-  }, [isDefaultOpen, isDesktopViewport, setIsNavigationPanelOpened]);
-  return Object(external_wp_element_["createElement"])(NavigationSidebarFill, null, Object(external_wp_element_["createElement"])(navigation_toggle, null), Object(external_wp_element_["createElement"])(navigation_panel, {
-    activeItem: activeTemplateType
-  }), Object(external_wp_element_["createElement"])(NavigationPanelPreviewSlot, null));
+  const [currentTab, setCurrentTab] = (0,external_wp_element_namespaceObject.useState)('solid');
+  const parentMenu = name === undefined ? '' : '/blocks/' + name;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: parentMenu + '/colors',
+    title: (0,external_wp_i18n_namespaceObject.__)('Palette'),
+    description: (0,external_wp_i18n_namespaceObject.__)('Palettes are used to provide default color options for blocks and various design tools. Here you can edit the colors with their labels.')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControl, {
+    className: "edit-site-screen-color-palette-toggle",
+    value: currentTab,
+    onChange: setCurrentTab,
+    label: (0,external_wp_i18n_namespaceObject.__)('Select palette type'),
+    hideLabelFromVision: true,
+    isBlock: true
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
+    value: "solid",
+    label: (0,external_wp_i18n_namespaceObject.__)('Solid')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalToggleGroupControlOption, {
+    value: "gradient",
+    label: (0,external_wp_i18n_namespaceObject.__)('Gradient')
+  })), currentTab === 'solid' && (0,external_wp_element_namespaceObject.createElement)(ColorPalettePanel, {
+    name: name
+  }), currentTab === 'gradient' && (0,external_wp_element_namespaceObject.createElement)(GradientPalettePanel, {
+    name: name
+  }));
 }

-NavigationSidebar.Slot = NavigationSidebarSlot;
-/* harmony default export */ var navigation_sidebar = (NavigationSidebar);
+/* harmony default export */ var screen_color_palette = (ScreenColorPalette);

-// EXTERNAL MODULE: external ["wp","reusableBlocks"]
-var external_wp_reusableBlocks_ = __webpack_require__("diJD");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-background-color.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-part-converter/convert-to-regular.js


 /**
@@ -5950,209 +6155,139 @@ var external_wp_reusableBlocks_ = __webpack_require__("diJD");
  */


-
-
-function ConvertToRegularBlocks(_ref) {
-  let {
-    clientId
-  } = _ref;
-  const {
-    getBlocks
-  } = Object(external_wp_data_["useSelect"])(external_wp_blockEditor_["store"]);
-  const {
-    replaceBlocks
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockSettingsMenuControls"], null, _ref2 => {
-    let {
-      onClose
-    } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-      onClick: () => {
-        replaceBlocks(clientId, getBlocks(clientId));
-        onClose();
-      }
-    }, Object(external_wp_i18n_["__"])('Detach blocks from template part'));
-  });
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/create-template-part-modal/index.js
-
-
 /**
- * WordPress dependencies
+ * Internal dependencies
  */




+function ScreenBackgroundColor(_ref) {
+  let {
+    name
+  } = _ref;
+  const parentMenu = name === undefined ? '' : '/blocks/' + name;
+  const supports = getSupportedGlobalStylesPanels(name);
+  const [solids] = useSetting('color.palette', name);
+  const [gradients] = useSetting('color.gradients', name);
+  const [areCustomSolidsEnabled] = useSetting('color.custom', name);
+  const [areCustomGradientsEnabled] = useSetting('color.customGradient', name);
+  const colorsPerOrigin = useColorsPerOrigin(name);
+  const gradientsPerOrigin = useGradientsPerOrigin(name);
+  const [isBackgroundEnabled] = useSetting('color.background', name);
+  const hasBackgroundColor = supports.includes('backgroundColor') && isBackgroundEnabled && (solids.length > 0 || areCustomSolidsEnabled);
+  const hasGradientColor = supports.includes('background') && (gradients.length > 0 || areCustomGradientsEnabled);
+  const [backgroundColor, setBackgroundColor] = useStyle('color.background', name);
+  const [userBackgroundColor] = useStyle('color.background', name, 'user');
+  const [gradient, setGradient] = useStyle('color.gradient', name);
+  const [userGradient] = useStyle('color.gradient', name, 'user');

+  if (!hasBackgroundColor && !hasGradientColor) {
+    return null;
+  }

+  let backgroundSettings = {};

-/**
- * Internal dependencies
- */
+  if (hasBackgroundColor) {
+    backgroundSettings = {
+      colorValue: backgroundColor,
+      onColorChange: setBackgroundColor
+    };

+    if (backgroundColor) {
+      backgroundSettings.clearable = backgroundColor === userBackgroundColor;
+    }
+  }

-function CreateTemplatePartModal(_ref) {
-  let {
-    closeModal,
-    onCreate
-  } = _ref;
-  const [title, setTitle] = Object(external_wp_element_["useState"])('');
-  const [area, setArea] = Object(external_wp_element_["useState"])(TEMPLATE_PART_AREA_GENERAL);
-  const [isSubmitting, setIsSubmitting] = Object(external_wp_element_["useState"])(false);
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(CreateTemplatePartModal);
-  const templatePartAreas = Object(external_wp_data_["useSelect"])(select => select(external_wp_editor_["store"]).__experimentalGetDefaultTemplatePartAreas(), []);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    title: Object(external_wp_i18n_["__"])('Create a template part'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
-    onRequestClose: closeModal,
-    overlayClassName: "edit-site-create-template-part-modal"
-  }, Object(external_wp_element_["createElement"])("form", {
-    onSubmit: async event => {
-      event.preventDefault();
+  let gradientSettings = {};

-      if (!title) {
-        return;
-      }
+  if (hasGradientColor) {
+    gradientSettings = {
+      gradientValue: gradient,
+      onGradientChange: setGradient
+    };

-      setIsSubmitting(true);
-      await onCreate({
-        title,
-        area
-      });
-    }
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Name'),
-    value: title,
-    onChange: setTitle,
-    required: true
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["BaseControl"], {
-    label: Object(external_wp_i18n_["__"])('Area'),
-    id: `edit-site-create-template-part-modal__area-selection-${instanceId}`,
-    className: "edit-site-create-template-part-modal__area-base-control"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalRadioGroup"], {
-    label: Object(external_wp_i18n_["__"])('Area'),
-    className: "edit-site-create-template-part-modal__area-radio-group",
-    id: `edit-site-create-template-part-modal__area-selection-${instanceId}`,
-    onChange: setArea,
-    checked: area
-  }, templatePartAreas.map(_ref2 => {
-    let {
-      icon,
-      label,
-      area: value,
-      description
-    } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalRadio"], {
-      key: label,
-      value: value,
-      className: "edit-site-create-template-part-modal__area-radio"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
-      align: "start",
-      justify: "start"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
-      icon: icon
-    })), Object(external_wp_element_["createElement"])(external_wp_components_["FlexBlock"], {
-      className: "edit-site-create-template-part-modal__option-label"
-    }, label, Object(external_wp_element_["createElement"])("div", null, description)), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], {
-      className: "edit-site-create-template-part-modal__checkbox"
-    }, area === value && Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
-      icon: check["a" /* default */]
-    }))));
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
-    className: "edit-site-create-template-part-modal__modal-actions",
-    justify: "flex-end"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    onClick: () => {
-      closeModal();
+    if (gradient) {
+      gradientSettings.clearable = gradient === userGradient;
     }
-  }, Object(external_wp_i18n_["__"])('Cancel'))), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "primary",
-    type: "submit",
-    disabled: !title,
-    isBusy: isSubmitting
-  }, Object(external_wp_i18n_["__"])('Create'))))));
+  }
+
+  const controlProps = { ...backgroundSettings,
+    ...gradientSettings
+  };
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: parentMenu + '/colors',
+    title: (0,external_wp_i18n_namespaceObject.__)('Background'),
+    description: (0,external_wp_i18n_namespaceObject.__)('Set a background color or gradient for the whole website.')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalColorGradientControl, extends_extends({
+    className: "edit-site-screen-background-color__control",
+    colors: colorsPerOrigin,
+    gradients: gradientsPerOrigin,
+    disableCustomColors: !areCustomSolidsEnabled,
+    disableCustomGradients: !areCustomGradientsEnabled,
+    __experimentalHasMultipleOrigins: true,
+    showTitle: false,
+    enableAlpha: true,
+    __experimentalIsRenderedInSidebar: true
+  }, controlProps)));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-part-converter/convert-to-template-part.js
+/* harmony default export */ var screen_background_color = (ScreenBackgroundColor);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-text-color.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */


-
-
-
-
-
-
-
 /**
  * Internal dependencies
  */


-function ConvertToTemplatePart(_ref) {
+
+
+function ScreenTextColor(_ref) {
   let {
-    clientIds,
-    blocks
+    name
   } = _ref;
-  const [isModalOpen, setIsModalOpen] = Object(external_wp_element_["useState"])(false);
-  const {
-    replaceBlocks
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const {
-    saveEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  const {
-    createSuccessNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
+  const parentMenu = name === undefined ? '' : '/blocks/' + name;
+  const supports = getSupportedGlobalStylesPanels(name);
+  const [solids] = useSetting('color.palette', name);
+  const [areCustomSolidsEnabled] = useSetting('color.custom', name);
+  const [isTextEnabled] = useSetting('color.text', name);
+  const colorsPerOrigin = useColorsPerOrigin(name);
+  const hasTextColor = supports.includes('color') && isTextEnabled && (solids.length > 0 || areCustomSolidsEnabled);
+  const [color, setColor] = useStyle('color.text', name);
+  const [userColor] = useStyle('color.text', name, 'user');

-  const onConvert = async _ref2 => {
-    let {
-      title,
-      area
-    } = _ref2;
-    // Currently template parts only allow latin chars.
-    // Fallback slug will receive suffix by default.
-    const cleanSlug = Object(external_lodash_["kebabCase"])(title).replace(/[^\w-]+/g, '') || 'wp-custom-part';
-    const templatePart = await saveEntityRecord('postType', 'wp_template_part', {
-      slug: cleanSlug,
-      title,
-      content: Object(external_wp_blocks_["serialize"])(blocks),
-      area
-    });
-    replaceBlocks(clientIds, Object(external_wp_blocks_["createBlock"])('core/template-part', {
-      slug: templatePart.slug,
-      theme: templatePart.theme
-    }));
-    createSuccessNotice(Object(external_wp_i18n_["__"])('Template part created.'), {
-      type: 'snackbar'
-    }); // The modal and this component will be unmounted because of `replaceBlocks` above,
-    // so no need to call `closeModal` or `onClose`.
-  };
+  if (!hasTextColor) {
+    return null;
+  }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockSettingsMenuControls"], null, () => Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: () => {
-      setIsModalOpen(true);
-    }
-  }, Object(external_wp_i18n_["__"])('Make template part'))), isModalOpen && Object(external_wp_element_["createElement"])(CreateTemplatePartModal, {
-    closeModal: () => {
-      setIsModalOpen(false);
-    },
-    onCreate: onConvert
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: parentMenu + '/colors',
+    title: (0,external_wp_i18n_namespaceObject.__)('Text'),
+    description: (0,external_wp_i18n_namespaceObject.__)('Set the default color used for text across the site.')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalColorGradientControl, {
+    className: "edit-site-screen-text-color__control",
+    colors: colorsPerOrigin,
+    disableCustomColors: !areCustomSolidsEnabled,
+    __experimentalHasMultipleOrigins: true,
+    showTitle: false,
+    enableAlpha: true,
+    __experimentalIsRenderedInSidebar: true,
+    colorValue: color,
+    onColorChange: setColor,
+    clearable: color === userColor
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-part-converter/index.js
+/* harmony default export */ var screen_text_color = (ScreenTextColor);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-link-color.js


 /**
@@ -6166,82 +6301,80 @@ function ConvertToTemplatePart(_ref) {



-function TemplatePartConverter() {
-  var _blocks$;
-
-  const {
-    clientIds,
-    blocks
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getSelectedBlockClientIds,
-      getBlocksByClientId
-    } = select(external_wp_blockEditor_["store"]);
-    const selectedBlockClientIds = getSelectedBlockClientIds();
-    return {
-      clientIds: selectedBlockClientIds,
-      blocks: getBlocksByClientId(selectedBlockClientIds)
-    };
-  }, []); // Allow converting a single template part to standard blocks.
-
-  if (blocks.length === 1 && ((_blocks$ = blocks[0]) === null || _blocks$ === void 0 ? void 0 : _blocks$.name) === 'core/template-part') {
-    return Object(external_wp_element_["createElement"])(ConvertToRegularBlocks, {
-      clientId: clientIds[0]
-    });
-  }

-  return Object(external_wp_element_["createElement"])(ConvertToTemplatePart, {
-    clientIds: clientIds,
-    blocks: blocks
-  });
+function ScreenLinkColor(_ref) {
+  let {
+    name
+  } = _ref;
+  const parentMenu = name === undefined ? '' : '/blocks/' + name;
+  const supports = getSupportedGlobalStylesPanels(name);
+  const [solids] = useSetting('color.palette', name);
+  const [areCustomSolidsEnabled] = useSetting('color.custom', name);
+  const colorsPerOrigin = useColorsPerOrigin(name);
+  const [isLinkEnabled] = useSetting('color.link', name);
+  const hasLinkColor = supports.includes('linkColor') && isLinkEnabled && (solids.length > 0 || areCustomSolidsEnabled);
+  const [linkColor, setLinkColor] = useStyle('elements.link.color.text', name);
+  const [userLinkColor] = useStyle('elements.link.color.text', name, 'user');
+
+  if (!hasLinkColor) {
+    return null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: parentMenu + '/colors',
+    title: (0,external_wp_i18n_namespaceObject.__)('Links'),
+    description: (0,external_wp_i18n_namespaceObject.__)('Set the default color used for links across the site.')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalColorGradientControl, {
+    className: "edit-site-screen-link-color__control",
+    colors: colorsPerOrigin,
+    disableCustomColors: !areCustomSolidsEnabled,
+    __experimentalHasMultipleOrigins: true,
+    showTitle: false,
+    enableAlpha: true,
+    __experimentalIsRenderedInSidebar: true,
+    colorValue: linkColor,
+    onColorChange: setLinkColor,
+    clearable: linkColor === userLinkColor
+  }));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js + 1 modules
-var edit = __webpack_require__("B9Az");
+/* harmony default export */ var screen_link_color = (ScreenLinkColor);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigate-to-link/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/screen-layout.js


 /**
  * WordPress dependencies
  */

+/**
+ * Internal dependencies
+ */





-
-function NavigateToLink(_ref) {
+function ScreenLayout(_ref) {
   let {
-    type,
-    id,
-    activePage,
-    onActivePageChange
+    name
   } = _ref;
-  const post = Object(external_wp_data_["useSelect"])(select => type && id && type !== 'URL' && select(external_wp_coreData_["store"]).getEntityRecord('postType', type, id), [type, id]);
-  const onClick = Object(external_wp_element_["useMemo"])(() => {
-    if (!(post !== null && post !== void 0 && post.link)) return null;
-    const path = Object(external_wp_url_["getPathAndQueryString"])(post.link);
-    if (path === (activePage === null || activePage === void 0 ? void 0 : activePage.path)) return null;
-    return () => onActivePageChange({
-      type,
-      slug: post.slug,
-      path,
-      context: {
-        postType: post.type,
-        postId: post.id
-      }
-    });
-  }, [post, activePage === null || activePage === void 0 ? void 0 : activePage.path, onActivePageChange]);
-  return onClick && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: edit["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Edit Page Template'),
-    onClick: onClick
-  });
+  const parentMenu = name === undefined ? '' : '/blocks/' + name;
+  const hasBorderPanel = useHasBorderPanel(name);
+  const hasDimensionsPanel = useHasDimensionsPanel(name);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(header, {
+    back: parentMenu ? parentMenu : '/',
+    title: (0,external_wp_i18n_namespaceObject.__)('Layout')
+  }), hasDimensionsPanel && (0,external_wp_element_namespaceObject.createElement)(DimensionsPanel, {
+    name: name
+  }), hasBorderPanel && (0,external_wp_element_namespaceObject.createElement)(BorderPanel, {
+    name: name
+  }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/block-inspector-button.js
+/* harmony default export */ var screen_layout = (ScreenLayout);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/ui.js


 /**
@@ -6249,10 +6382,6 @@ function NavigateToLink(_ref) {
  */


-
-
-
-
 /**
  * Internal dependencies
  */
@@ -6260,117 +6389,86 @@ function NavigateToLink(_ref) {



-function BlockInspectorButton(_ref) {
-  let {
-    onClick = () => {}
-  } = _ref;
-  const {
-    shortcut,
-    isBlockInspectorOpen
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    shortcut: select(external_wp_keyboardShortcuts_["store"]).getShortcutRepresentation('core/edit-site/toggle-block-settings-sidebar'),
-    isBlockInspectorOpen: select(build_module["i" /* store */]).getActiveComplementaryArea(store.name) === SIDEBAR_BLOCK
-  }), []);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(build_module["i" /* store */]);
-  const label = isBlockInspectorOpen ? Object(external_wp_i18n_["__"])('Hide more settings') : Object(external_wp_i18n_["__"])('Show more settings');
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: () => {
-      if (isBlockInspectorOpen) {
-        disableComplementaryArea(STORE_NAME);
-        Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('Block settings closed'));
-      } else {
-        enableComplementaryArea(STORE_NAME, SIDEBAR_BLOCK);
-        Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('Additional settings are now available in the Editor block settings sidebar'));
-      } // Close dropdown menu.
-
-
-      onClick();
-    },
-    shortcut: shortcut
-  }, label);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/edit-template-part-menu-button/index.js
-
-
-
-/**
- * WordPress dependencies
- */
-





-/**
- * Internal dependencies
- */



-function EditTemplatePartMenuButton() {
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockSettingsMenuControls"], null, _ref => {
-    let {
-      selectedClientIds,
-      onClose
-    } = _ref;
-    return Object(external_wp_element_["createElement"])(EditTemplatePartMenuItem, {
-      selectedClientId: selectedClientIds[0],
-      onClose: onClose
-    });
-  });
-}

-function EditTemplatePartMenuItem(_ref2) {
+function ContextScreens(_ref) {
   let {
-    selectedClientId,
-    onClose
-  } = _ref2;
-  const {
-    params
-  } = useLocation();
-  const selectedTemplatePart = Object(external_wp_data_["useSelect"])(select => {
-    const block = select(external_wp_blockEditor_["store"]).getBlock(selectedClientId);
-
-    if (block && Object(external_wp_blocks_["isTemplatePart"])(block)) {
-      const {
-        theme,
-        slug
-      } = block.attributes;
-      return select(external_wp_coreData_["store"]).getEntityRecord('postType', 'wp_template_part', // Ideally this should be an official public API.
-      `${theme}//${slug}`);
-    }
-  }, [selectedClientId]);
-  const linkProps = useLink({
-    postId: selectedTemplatePart === null || selectedTemplatePart === void 0 ? void 0 : selectedTemplatePart.id,
-    postType: selectedTemplatePart === null || selectedTemplatePart === void 0 ? void 0 : selectedTemplatePart.type
-  }, {
-    fromTemplateId: params.postId
-  });
-
-  if (!selectedTemplatePart) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], Object(esm_extends["a" /* default */])({}, linkProps, {
-    onClick: event => {
-      linkProps.onClick(event);
-      onClose();
-    }
-  }),
-  /* translators: %s: template part title */
-  Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('Edit %s'), selectedTemplatePart.slug));
+    name
+  } = _ref;
+  const parentMenu = name === undefined ? '' : '/blocks/' + name;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: parentMenu + '/typography'
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_typography, {
+    name: name
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: parentMenu + '/typography/text'
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_typography_element, {
+    name: name,
+    element: "text"
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: parentMenu + '/typography/link'
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_typography_element, {
+    name: name,
+    element: "link"
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: parentMenu + '/colors'
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_colors, {
+    name: name
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: parentMenu + '/colors/palette'
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_color_palette, {
+    name: name
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: parentMenu + '/colors/background'
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_background_color, {
+    name: name
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: parentMenu + '/colors/text'
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_text_color, {
+    name: name
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: parentMenu + '/colors/link'
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_link_color, {
+    name: name
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: parentMenu + '/layout'
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_layout, {
+    name: name
+  })));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-left.js
-var arrow_left = __webpack_require__("cjQ8");
+function GlobalStylesUI() {
+  const blocks = (0,external_wp_blocks_namespaceObject.getBlockTypes)();
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorProvider, {
+    initialPath: "/"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: "/"
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_root, null)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    path: "/blocks"
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_block_list, null)), blocks.map(block => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigatorScreen, {
+    key: 'menu-block-' + block.name,
+    path: '/blocks/' + block.name
+  }, (0,external_wp_element_namespaceObject.createElement)(screen_block, {
+    name: block.name
+  }))), (0,external_wp_element_namespaceObject.createElement)(ContextScreens, null), blocks.map(block => (0,external_wp_element_namespaceObject.createElement)(ContextScreens, {
+    key: 'screens-block-' + block.name,
+    name: block.name
+  })));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/back-button.js
+/* harmony default export */ var ui = (GlobalStylesUI);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/use-global-styles-output.js
+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -6382,331 +6480,376 @@ var arrow_left = __webpack_require__("cjQ8");
  * Internal dependencies
  */

+/**
+ * Internal dependencies
+ */


-function BackButton() {
-  var _location$state;

-  const location = useLocation();
-  const history = useHistory();
-  const isTemplatePart = location.params.postType === 'wp_template_part';
-  const previousTemplateId = (_location$state = location.state) === null || _location$state === void 0 ? void 0 : _location$state.fromTemplateId;

-  if (!isTemplatePart || !previousTemplateId) {
-    return null;
+function compileStyleValue(uncompiledValue) {
+  const VARIABLE_REFERENCE_PREFIX = 'var:';
+  const VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE = '|';
+  const VARIABLE_PATH_SEPARATOR_TOKEN_STYLE = '--';
+
+  if ((0,external_lodash_namespaceObject.startsWith)(uncompiledValue, VARIABLE_REFERENCE_PREFIX)) {
+    const variable = uncompiledValue.slice(VARIABLE_REFERENCE_PREFIX.length).split(VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE).join(VARIABLE_PATH_SEPARATOR_TOKEN_STYLE);
+    return `var(--wp--${variable})`;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "edit-site-visual-editor__back-button",
-    icon: arrow_left["a" /* default */],
-    onClick: () => {
-      history.back();
-    }
-  }, Object(external_wp_i18n_["__"])('Back'));
+  return uncompiledValue;
 }
-
-/* harmony default export */ var back_button = (BackButton);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/resize-handle.js
+/**
+ * Transform given preset tree into a set of style declarations.
+ *
+ * @param {Object} blockPresets
+ *
+ * @return {Array} An array of style declarations.
+ */


+function getPresetsDeclarations() {
+  let blockPresets = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  return (0,external_lodash_namespaceObject.reduce)(PRESET_METADATA, (declarations, _ref) => {
+    let {
+      path,
+      valueKey,
+      cssVarInfix
+    } = _ref;
+    const presetByOrigin = (0,external_lodash_namespaceObject.get)(blockPresets, path, []);
+    ['default', 'theme', 'custom'].forEach(origin => {
+      if (presetByOrigin[origin]) {
+        presetByOrigin[origin].forEach(value => {
+          declarations.push(`--wp--preset--${cssVarInfix}--${(0,external_lodash_namespaceObject.kebabCase)(value.slug)}: ${value[valueKey]}`);
+        });
+      }
+    });
+    return declarations;
+  }, []);
+}
 /**
- * WordPress dependencies
+ * Transform given preset tree into a set of preset class declarations.
+ *
+ * @param {string} blockSelector
+ * @param {Object} blockPresets
+ * @return {string} CSS declarations for the preset classes.
  */


+function getPresetsClasses(blockSelector) {
+  let blockPresets = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  return (0,external_lodash_namespaceObject.reduce)(PRESET_METADATA, (declarations, _ref2) => {
+    let {
+      path,
+      cssVarInfix,
+      classes
+    } = _ref2;

-const DELTA_DISTANCE = 20; // The distance to resize per keydown in pixels.
+    if (!classes) {
+      return declarations;
+    }

-function ResizeHandle(_ref) {
-  let {
-    direction,
-    resizeWidthBy
-  } = _ref;
+    const presetByOrigin = (0,external_lodash_namespaceObject.get)(blockPresets, path, []);
+    ['default', 'theme', 'custom'].forEach(origin => {
+      if (presetByOrigin[origin]) {
+        presetByOrigin[origin].forEach(_ref3 => {
+          let {
+            slug
+          } = _ref3;
+          classes.forEach(_ref4 => {
+            let {
+              classSuffix,
+              propertyName
+            } = _ref4;
+            const classSelectorToUse = `.has-${(0,external_lodash_namespaceObject.kebabCase)(slug)}-${classSuffix}`;
+            const selectorToUse = blockSelector.split(',') // Selector can be "h1, h2, h3"
+            .map(selector => `${selector}${classSelectorToUse}`).join(',');
+            const value = `var(--wp--preset--${cssVarInfix}--${(0,external_lodash_namespaceObject.kebabCase)(slug)})`;
+            declarations += `${selectorToUse}{${propertyName}: ${value} !important;}`;
+          });
+        });
+      }
+    });
+    return declarations;
+  }, '');
+}

-  function handleKeyDown(event) {
-    const {
-      keyCode
-    } = event;
+function flattenTree() {
+  let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let prefix = arguments.length > 1 ? arguments[1] : undefined;
+  let token = arguments.length > 2 ? arguments[2] : undefined;
+  let result = [];
+  Object.keys(input).forEach(key => {
+    const newKey = prefix + (0,external_lodash_namespaceObject.kebabCase)(key.replace('/', '-'));
+    const newLeaf = input[key];

-    if (direction === 'left' && keyCode === external_wp_keycodes_["LEFT"] || direction === 'right' && keyCode === external_wp_keycodes_["RIGHT"]) {
-      resizeWidthBy(DELTA_DISTANCE);
-    } else if (direction === 'left' && keyCode === external_wp_keycodes_["RIGHT"] || direction === 'right' && keyCode === external_wp_keycodes_["LEFT"]) {
-      resizeWidthBy(-DELTA_DISTANCE);
+    if (newLeaf instanceof Object) {
+      const newPrefix = newKey + token;
+      result = [...result, ...flattenTree(newLeaf, newPrefix, token)];
+    } else {
+      result.push(`${newKey}: ${newLeaf}`);
     }
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("button", {
-    className: `resizable-editor__drag-handle is-${direction}`,
-    "aria-label": Object(external_wp_i18n_["__"])('Drag to resize'),
-    "aria-describedby": `resizable-editor__resize-help-${direction}`,
-    onKeyDown: handleKeyDown
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    id: `resizable-editor__resize-help-${direction}`
-  }, Object(external_wp_i18n_["__"])('Use left and right arrow keys to resize the canvas.')));
+  });
+  return result;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/resizable-editor.js
-
-
-
 /**
- * WordPress dependencies
+ * Transform given style tree into a set of style declarations.
+ *
+ * @param {Object} blockStyles Block styles.
+ *
+ * @return {Array} An array of style declarations.
  */


+function getStylesDeclarations() {
+  let blockStyles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  return (0,external_lodash_namespaceObject.reduce)(external_wp_blocks_namespaceObject.__EXPERIMENTAL_STYLE_PROPERTY, (declarations, _ref5, key) => {
+    let {
+      value,
+      properties
+    } = _ref5;
+    const pathToValue = value;

+    if ((0,external_lodash_namespaceObject.first)(pathToValue) === 'elements') {
+      return declarations;
+    }

+    const styleValue = (0,external_lodash_namespaceObject.get)(blockStyles, pathToValue);

-/**
- * Internal dependencies
- */
-
-
-
-const DEFAULT_STYLES = {
-  width: '100%',
-  height: '100%'
-}; // Removes the inline styles in the drag handles.
-
-const HANDLE_STYLES_OVERRIDE = {
-  position: undefined,
-  userSelect: undefined,
-  cursor: undefined,
-  width: undefined,
-  height: undefined,
-  top: undefined,
-  right: undefined,
-  bottom: undefined,
-  left: undefined
-};
+    if (!!properties && !(0,external_lodash_namespaceObject.isString)(styleValue)) {
+      Object.entries(properties).forEach(entry => {
+        const [name, prop] = entry;

-function ResizableEditor(_ref) {
-  let {
-    enableResizing,
-    settings,
-    ...props
-  } = _ref;
-  const deviceType = Object(external_wp_data_["useSelect"])(select => select(store).__experimentalGetPreviewDeviceType(), []);
-  const deviceStyles = Object(external_wp_blockEditor_["__experimentalUseResizeCanvas"])(deviceType);
-  const [width, setWidth] = Object(external_wp_element_["useState"])(DEFAULT_STYLES.width);
-  const [height, setHeight] = Object(external_wp_element_["useState"])(DEFAULT_STYLES.height);
-  const iframeRef = Object(external_wp_element_["useRef"])();
-  const mouseMoveTypingResetRef = Object(external_wp_blockEditor_["__unstableUseMouseMoveTypingReset"])();
-  const ref = Object(external_wp_compose_["useMergeRefs"])([iframeRef, mouseMoveTypingResetRef]);
-  Object(external_wp_element_["useEffect"])(function autoResizeIframeHeight() {
-    const iframe = iframeRef.current;
+        if (!(0,external_lodash_namespaceObject.get)(styleValue, [prop], false)) {
+          // Do not create a declaration
+          // for sub-properties that don't have any value.
+          return;
+        }

-    if (!iframe || !enableResizing) {
-      return;
+        const cssProperty = (0,external_lodash_namespaceObject.kebabCase)(name);
+        declarations.push(`${cssProperty}: ${compileStyleValue((0,external_lodash_namespaceObject.get)(styleValue, [prop]))}`);
+      });
+    } else if ((0,external_lodash_namespaceObject.get)(blockStyles, pathToValue, false)) {
+      const cssProperty = key.startsWith('--') ? key : (0,external_lodash_namespaceObject.kebabCase)(key);
+      declarations.push(`${cssProperty}: ${compileStyleValue((0,external_lodash_namespaceObject.get)(blockStyles, pathToValue))}`);
     }

-    let animationFrame = null;
-
-    function resizeHeight() {
-      if (!animationFrame) {
-        // Throttle the updates on animation frame.
-        animationFrame = iframe.contentWindow.requestAnimationFrame(() => {
-          setHeight(iframe.contentDocument.documentElement.scrollHeight);
-          animationFrame = null;
-        });
-      }
-    }
+    return declarations;
+  }, []);
+}

-    let resizeObserver;
+const getNodesWithStyles = (tree, blockSelectors) => {
+  var _tree$styles, _tree$styles2;

-    function registerObserver() {
-      var _resizeObserver;
+  const nodes = [];

-      (_resizeObserver = resizeObserver) === null || _resizeObserver === void 0 ? void 0 : _resizeObserver.disconnect();
-      resizeObserver = new iframe.contentWindow.ResizeObserver(resizeHeight); // Observing the <html> rather than the <body> because the latter
-      // gets destroyed and remounted after initialization in <Iframe>.
+  if (!(tree !== null && tree !== void 0 && tree.styles)) {
+    return nodes;
+  }

-      resizeObserver.observe(iframe.contentDocument.documentElement);
-      resizeHeight();
-    } // This is only required in Firefox for some unknown reasons.
+  const pickStyleKeys = treeToPickFrom => (0,external_lodash_namespaceObject.pickBy)(treeToPickFrom, (value, key) => ['border', 'color', 'spacing', 'typography'].includes(key)); // Top-level.


-    iframe.addEventListener('load', registerObserver); // This is required in Chrome and Safari.
+  const styles = pickStyleKeys(tree.styles);

-    registerObserver();
-    return () => {
-      var _iframe$contentWindow, _resizeObserver2;
+  if (!!styles) {
+    nodes.push({
+      styles,
+      selector: ROOT_BLOCK_SELECTOR
+    });
+  }

-      (_iframe$contentWindow = iframe.contentWindow) === null || _iframe$contentWindow === void 0 ? void 0 : _iframe$contentWindow.cancelAnimationFrame(animationFrame);
-      (_resizeObserver2 = resizeObserver) === null || _resizeObserver2 === void 0 ? void 0 : _resizeObserver2.disconnect();
-      iframe.removeEventListener('load', registerObserver);
-    };
-  }, [enableResizing]);
-  const resizeWidthBy = Object(external_wp_element_["useCallback"])(deltaPixels => {
-    if (iframeRef.current) {
-      setWidth(iframeRef.current.offsetWidth + deltaPixels);
-    }
-  }, []);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ResizableBox"], {
-    size: {
-      width,
-      height
-    },
-    onResizeStop: (event, direction, element) => {
-      setWidth(element.style.width);
-    },
-    minWidth: 300,
-    maxWidth: "100%",
-    maxHeight: "100%",
-    enable: {
-      right: enableResizing,
-      left: enableResizing
-    },
-    showHandle: enableResizing // The editor is centered horizontally, resizing it only
-    // moves half the distance. Hence double the ratio to correctly
-    // align the cursor to the resizer handle.
-    ,
-    resizeRatio: 2,
-    handleComponent: {
-      left: Object(external_wp_element_["createElement"])(ResizeHandle, {
-        direction: "left",
-        resizeWidthBy: resizeWidthBy
-      }),
-      right: Object(external_wp_element_["createElement"])(ResizeHandle, {
-        direction: "right",
-        resizeWidthBy: resizeWidthBy
-      })
-    },
-    handleClasses: undefined,
-    handleStyles: {
-      left: HANDLE_STYLES_OVERRIDE,
-      right: HANDLE_STYLES_OVERRIDE
+  (0,external_lodash_namespaceObject.forEach)((_tree$styles = tree.styles) === null || _tree$styles === void 0 ? void 0 : _tree$styles.elements, (value, key) => {
+    if (!!value && !!external_wp_blocks_namespaceObject.__EXPERIMENTAL_ELEMENTS[key]) {
+      nodes.push({
+        styles: value,
+        selector: external_wp_blocks_namespaceObject.__EXPERIMENTAL_ELEMENTS[key]
+      });
     }
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableIframe"], Object(esm_extends["a" /* default */])({
-    style: enableResizing ? undefined : deviceStyles,
-    head: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableEditorStyles"], {
-      styles: settings.styles
-    }), Object(external_wp_element_["createElement"])("style", null, // Forming a "block formatting context" to prevent margin collapsing.
-    // @see https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
-    `.is-root-container { display: flow-root; }`), enableResizing && Object(external_wp_element_["createElement"])("style", null, // Force the <html> and <body>'s heights to fit the content.
-    `html, body { height: -moz-fit-content !important; height: fit-content !important; min-height: 0 !important; }`, // Some themes will have `min-height: 100vh` for the root container,
-    // which isn't a requirement in auto resize mode.
-    `.is-root-container { min-height: 0 !important; }`)),
-    ref: ref,
-    name: "editor-canvas",
-    className: "edit-site-visual-editor__editor-canvas"
-  }, props)));
-}
-
-/* harmony default export */ var resizable_editor = (ResizableEditor);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/index.js
+  }); // Iterate over blocks: they can have styles & elements.

+  (0,external_lodash_namespaceObject.forEach)((_tree$styles2 = tree.styles) === null || _tree$styles2 === void 0 ? void 0 : _tree$styles2.blocks, (node, blockName) => {
+    var _blockSelectors$block;

+    const blockStyles = pickStyleKeys(node);

-/**
- * External dependencies
- */
+    if (!!blockStyles && !!(blockSelectors !== null && blockSelectors !== void 0 && (_blockSelectors$block = blockSelectors[blockName]) !== null && _blockSelectors$block !== void 0 && _blockSelectors$block.selector)) {
+      nodes.push({
+        styles: blockStyles,
+        selector: blockSelectors[blockName].selector
+      });
+    }

-/**
- * WordPress dependencies
- */
+    (0,external_lodash_namespaceObject.forEach)(node === null || node === void 0 ? void 0 : node.elements, (value, elementName) => {
+      if (!!value && !!(blockSelectors !== null && blockSelectors !== void 0 && blockSelectors[blockName]) && !!(external_wp_blocks_namespaceObject.__EXPERIMENTAL_ELEMENTS !== null && external_wp_blocks_namespaceObject.__EXPERIMENTAL_ELEMENTS !== void 0 && external_wp_blocks_namespaceObject.__EXPERIMENTAL_ELEMENTS[elementName])) {
+        nodes.push({
+          styles: value,
+          selector: blockSelectors[blockName].selector.split(',').map(sel => sel + ' ' + external_wp_blocks_namespaceObject.__EXPERIMENTAL_ELEMENTS[elementName]).join(',')
+        });
+      }
+    });
+  });
+  return nodes;
+};
+const getNodesWithSettings = (tree, blockSelectors) => {
+  var _tree$settings, _tree$settings2;

+  const nodes = [];

+  if (!(tree !== null && tree !== void 0 && tree.settings)) {
+    return nodes;
+  }

+  const pickPresets = treeToPickFrom => {
+    const presets = {};
+    PRESET_METADATA.forEach(_ref6 => {
+      let {
+        path
+      } = _ref6;
+      const value = (0,external_lodash_namespaceObject.get)(treeToPickFrom, path, false);

+      if (value !== false) {
+        (0,external_lodash_namespaceObject.set)(presets, path, value);
+      }
+    });
+    return presets;
+  }; // Top-level.


+  const presets = pickPresets(tree.settings);
+  const custom = (_tree$settings = tree.settings) === null || _tree$settings === void 0 ? void 0 : _tree$settings.custom;

-/**
- * Internal dependencies
- */
+  if (!(0,external_lodash_namespaceObject.isEmpty)(presets) || !!custom) {
+    nodes.push({
+      presets,
+      custom,
+      selector: ROOT_BLOCK_SELECTOR
+    });
+  } // Blocks.


+  (0,external_lodash_namespaceObject.forEach)((_tree$settings2 = tree.settings) === null || _tree$settings2 === void 0 ? void 0 : _tree$settings2.blocks, (node, blockName) => {
+    const blockPresets = pickPresets(node);
+    const blockCustom = node.custom;

+    if (!(0,external_lodash_namespaceObject.isEmpty)(blockPresets) || !!blockCustom) {
+      nodes.push({
+        presets: blockPresets,
+        custom: blockCustom,
+        selector: blockSelectors[blockName].selector
+      });
+    }
+  });
+  return nodes;
+};
+const toCustomProperties = (tree, blockSelectors) => {
+  const settings = getNodesWithSettings(tree, blockSelectors);
+  let ruleset = '';
+  settings.forEach(_ref7 => {
+    let {
+      presets,
+      custom,
+      selector
+    } = _ref7;
+    const declarations = getPresetsDeclarations(presets);
+    const customProps = flattenTree(custom, '--wp--custom--', '--');
+
+    if (customProps.length > 0) {
+      declarations.push(...customProps);
+    }

+    if (declarations.length > 0) {
+      ruleset = ruleset + `${selector}{${declarations.join(';')};}`;
+    }
+  });
+  return ruleset;
+};
+const toStyles = (tree, blockSelectors) => {
+  const nodesWithStyles = getNodesWithStyles(tree, blockSelectors);
+  const nodesWithSettings = getNodesWithSettings(tree, blockSelectors);
+  let ruleset = '.wp-site-blocks > * { margin-top: 0; margin-bottom: 0; }.wp-site-blocks > * + * { margin-top: var( --wp--style--block-gap ); }';
+  nodesWithStyles.forEach(_ref8 => {
+    let {
+      selector,
+      styles
+    } = _ref8;
+    const declarations = getStylesDeclarations(styles);

+    if (declarations.length === 0) {
+      return;
+    }

+    ruleset = ruleset + `${selector}{${declarations.join(';')};}`;
+  });
+  nodesWithSettings.forEach(_ref9 => {
+    let {
+      selector,
+      presets
+    } = _ref9;

+    if (ROOT_BLOCK_SELECTOR === selector) {
+      // Do not add extra specificity for top-level classes.
+      selector = '';
+    }

+    const classes = getPresetsClasses(selector, presets);

-const LAYOUT = {
-  type: 'default',
-  // At the root level of the site editor, no alignments should be allowed.
-  alignments: []
+    if (!(0,external_lodash_namespaceObject.isEmpty)(classes)) {
+      ruleset = ruleset + classes;
+    }
+  });
+  return ruleset;
 };
-function BlockEditor(_ref) {
-  let {
-    setIsInserterOpen
-  } = _ref;
-  const {
-    settings,
-    templateType,
-    templateId,
-    page
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getSettings,
-      getEditedPostType,
-      getEditedPostId,
-      getPage
-    } = select(store);
-    return {
-      settings: getSettings(setIsInserterOpen),
-      templateType: getEditedPostType(),
-      templateId: getEditedPostId(),
-      page: getPage()
+
+const getBlockSelectors = blockTypes => {
+  const result = {};
+  blockTypes.forEach(blockType => {
+    var _blockType$supports$_, _blockType$supports;
+
+    const name = blockType.name;
+    const selector = (_blockType$supports$_ = blockType === null || blockType === void 0 ? void 0 : (_blockType$supports = blockType.supports) === null || _blockType$supports === void 0 ? void 0 : _blockType$supports.__experimentalSelector) !== null && _blockType$supports$_ !== void 0 ? _blockType$supports$_ : '.wp-block-' + name.replace('core/', '').replace('/', '-');
+    result[name] = {
+      name,
+      selector
     };
-  }, [setIsInserterOpen]);
-  const [blocks, onInput, onChange] = Object(external_wp_coreData_["useEntityBlockEditor"])('postType', templateType);
-  const {
-    setPage
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const contentRef = Object(external_wp_element_["useRef"])();
-  const mergedRefs = Object(external_wp_compose_["useMergeRefs"])([contentRef, Object(external_wp_blockEditor_["__unstableUseTypingObserver"])()]);
-  const isMobileViewport = Object(external_wp_compose_["useViewportMatch"])('small', '<');
+  });
+  return result;
+};
+
+function useGlobalStylesOutput() {
+  const [stylesheets, setStylesheets] = (0,external_wp_element_namespaceObject.useState)([]);
+  const [settings, setSettings] = (0,external_wp_element_namespaceObject.useState)({});
   const {
-    clearSelectedBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const isTemplatePart = templateType === 'wp_template_part';
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockEditorProvider"], {
-    settings: settings,
-    value: blocks,
-    onInput: onInput,
-    onChange: onChange,
-    useSubRegistry: false
-  }, Object(external_wp_element_["createElement"])(EditTemplatePartMenuButton, null), Object(external_wp_element_["createElement"])(TemplatePartConverter, null), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLinkControl"].ViewerFill, null, Object(external_wp_element_["useCallback"])(fillProps => Object(external_wp_element_["createElement"])(NavigateToLink, Object(esm_extends["a" /* default */])({}, fillProps, {
-    activePage: page,
-    onActivePageChange: setPage
-  })), [page])), Object(external_wp_element_["createElement"])(SidebarInspectorFill, null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockInspector"], null)), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockTools"], {
-    className: classnames_default()('edit-site-visual-editor', {
-      'is-focus-mode': isTemplatePart
-    }),
-    __unstableContentRef: contentRef,
-    onClick: event => {
-      // Clear selected block when clicking on the gray background.
-      if (event.target === event.currentTarget) {
-        clearSelectedBlock();
-      }
+    merged: mergedConfig
+  } = (0,external_wp_element_namespaceObject.useContext)(GlobalStylesContext);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!(mergedConfig !== null && mergedConfig !== void 0 && mergedConfig.styles) || !(mergedConfig !== null && mergedConfig !== void 0 && mergedConfig.settings)) {
+      return;
     }
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockEditorKeyboardShortcuts"].Register, null), Object(external_wp_element_["createElement"])(back_button, null), Object(external_wp_element_["createElement"])(resizable_editor // Reinitialize the editor and reset the states when the template changes.
-  , {
-    key: templateId,
-    enableResizing: isTemplatePart && // Disable resizing in mobile viewport.
-    !isMobileViewport,
-    settings: settings,
-    contentRef: mergedRefs
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockList"], {
-    className: "edit-site-block-editor__block-list wp-site-blocks",
-    __experimentalLayout: LAYOUT,
-    renderAppender: isTemplatePart ? false : undefined
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableBlockSettingsMenuFirstItem"], null, _ref2 => {
-    let {
-      onClose
-    } = _ref2;
-    return Object(external_wp_element_["createElement"])(BlockInspectorButton, {
-      onClick: onClose
-    });
-  })), Object(external_wp_element_["createElement"])(external_wp_reusableBlocks_["ReusableBlocksMenuItems"], null));
+
+    const blockSelectors = getBlockSelectors((0,external_wp_blocks_namespaceObject.getBlockTypes)());
+    const customProperties = toCustomProperties(mergedConfig, blockSelectors);
+    const globalStyles = toStyles(mergedConfig, blockSelectors);
+    setStylesheets([{
+      css: customProperties,
+      isGlobalStyles: true
+    }, {
+      css: globalStyles,
+      isGlobalStyles: true
+    }]);
+    setSettings(mergedConfig.settings);
+  }, [mergedConfig]);
+  return [stylesheets, settings];
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcuts/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/index.js
+
+
+
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/global-styles-sidebar.js
+
+
 /**
  * WordPress dependencies
  */
@@ -6714,214 +6857,181 @@ function BlockEditor(_ref) {



+/**
+ * Internal dependencies
+ */
+
+
+
+
+function GlobalStylesSidebar() {
+  const [canReset, onReset] = useGlobalStylesReset();
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  return (0,external_wp_element_namespaceObject.createElement)(DefaultSidebar, {
+    className: "edit-site-global-styles-sidebar",
+    identifier: "edit-site/global-styles",
+    title: (0,external_wp_i18n_namespaceObject.__)('Styles'),
+    icon: library_styles,
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close global styles sidebar'),
+    header: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexBlock, null, (0,external_wp_element_namespaceObject.createElement)("strong", null, (0,external_wp_i18n_namespaceObject.__)('Styles')), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "edit-site-global-styles-sidebar__beta"
+    }, (0,external_wp_i18n_namespaceObject.__)('Beta'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+      icon: more_vertical,
+      label: (0,external_wp_i18n_namespaceObject.__)('More Global Styles Actions'),
+      toggleProps: {
+        disabled: !canReset
+      },
+      controls: [{
+        title: (0,external_wp_i18n_namespaceObject.__)('Reset to defaults'),
+        onClick: onReset
+      }, {
+        title: (0,external_wp_i18n_namespaceObject.__)('Welcome Guide'),
+        onClick: () => toggleFeature('welcomeGuideStyles')
+      }]
+    })))
+  }, (0,external_wp_element_namespaceObject.createElement)(ui, null));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/constants.js
+const SIDEBAR_TEMPLATE = 'edit-site/template';
+const SIDEBAR_BLOCK = 'edit-site/block-inspector';
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/settings-header/index.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */




+/**
+ * Internal dependencies
+ */
+

-function KeyboardShortcuts(_ref) {
+
+
+const SettingsHeader = _ref => {
   let {
-    openEntitiesSavedStates
+    sidebarName
   } = _ref;
   const {
-    __experimentalGetDirtyEntityRecords,
-    isSavingEntityRecord
-  } = Object(external_wp_data_["useSelect"])(external_wp_coreData_["store"]);
-  const isListViewOpen = Object(external_wp_data_["useSelect"])(select => select(store).isListViewOpened(), []);
-  const isBlockInspectorOpen = Object(external_wp_data_["useSelect"])(select => select(build_module["i" /* store */]).getActiveComplementaryArea(store.name) === SIDEBAR_BLOCK, []);
-  const {
-    redo,
-    undo
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  const {
-    setIsListViewOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(build_module["i" /* store */]);
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-site/save', event => {
-    event.preventDefault();
+    enableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-    const dirtyEntityRecords = __experimentalGetDirtyEntityRecords();
+  const openTemplateSettings = () => enableComplementaryArea(STORE_NAME, SIDEBAR_TEMPLATE);

-    const isDirty = !!dirtyEntityRecords.length;
-    const isSaving = dirtyEntityRecords.some(record => isSavingEntityRecord(record.kind, record.name, record.key));
+  const openBlockSettings = () => enableComplementaryArea(STORE_NAME, SIDEBAR_BLOCK);

-    if (!isSaving && isDirty) {
-      openEntitiesSavedStates();
-    }
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-site/undo', event => {
-    undo();
-    event.preventDefault();
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-site/redo', event => {
-    redo();
-    event.preventDefault();
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-site/toggle-list-view', () => {
-    setIsListViewOpened(!isListViewOpen);
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-site/toggle-block-settings-sidebar', event => {
-    // This shortcut has no known clashes, but use preventDefault to prevent any
-    // obscure shortcuts from triggering.
-    event.preventDefault();
+  const [templateAriaLabel, templateActiveClass] = sidebarName === SIDEBAR_TEMPLATE ? // translators: ARIA label for the Template sidebar tab, selected.
+  [(0,external_wp_i18n_namespaceObject.__)('Template (selected)'), 'is-active'] : // translators: ARIA label for the Template Settings Sidebar tab, not selected.
+  [(0,external_wp_i18n_namespaceObject.__)('Template'), ''];
+  const [blockAriaLabel, blockActiveClass] = sidebarName === SIDEBAR_BLOCK ? // translators: ARIA label for the Block Settings Sidebar tab, selected.
+  [(0,external_wp_i18n_namespaceObject.__)('Block (selected)'), 'is-active'] : // translators: ARIA label for the Block Settings Sidebar tab, not selected.
+  [(0,external_wp_i18n_namespaceObject.__)('Block'), ''];
+  /* Use a list so screen readers will announce how many tabs there are. */

-    if (isBlockInspectorOpen) {
-      disableComplementaryArea(STORE_NAME);
-    } else {
-      enableComplementaryArea(STORE_NAME, SIDEBAR_BLOCK);
-    }
-  });
-  return null;
-}
+  return (0,external_wp_element_namespaceObject.createElement)("ul", null, (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    onClick: openTemplateSettings,
+    className: `edit-site-sidebar__panel-tab ${templateActiveClass}`,
+    "aria-label": templateAriaLabel // translators: Data label for the Template Settings Sidebar tab.
+    ,
+    "data-label": (0,external_wp_i18n_namespaceObject.__)('Template')
+  }, // translators: Text label for the Template Settings Sidebar tab.
+  (0,external_wp_i18n_namespaceObject.__)('Template'))), (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    onClick: openBlockSettings,
+    className: `edit-site-sidebar__panel-tab ${blockActiveClass}`,
+    "aria-label": blockAriaLabel // translators: Data label for the Block Settings Sidebar tab.
+    ,
+    "data-label": (0,external_wp_i18n_namespaceObject.__)('Block')
+  }, // translators: Text label for the Block Settings Sidebar tab.
+  (0,external_wp_i18n_namespaceObject.__)('Block'))));
+};

-function KeyboardShortcutsRegister() {
-  // Registering the shortcuts
-  const {
-    registerShortcut
-  } = Object(external_wp_data_["useDispatch"])(external_wp_keyboardShortcuts_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
-    registerShortcut({
-      name: 'core/edit-site/save',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Save your changes.'),
-      keyCombination: {
-        modifier: 'primary',
-        character: 's'
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-site/undo',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Undo your last changes.'),
-      keyCombination: {
-        modifier: 'primary',
-        character: 'z'
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-site/redo',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Redo your last undo.'),
-      keyCombination: {
-        modifier: 'primaryShift',
-        character: 'z'
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-site/toggle-list-view',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Open the block list view.'),
-      keyCombination: {
-        modifier: 'access',
-        character: 'o'
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-site/toggle-block-settings-sidebar',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Show or hide the block settings sidebar.'),
-      keyCombination: {
-        modifier: 'primaryShift',
-        character: ','
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-site/keyboard-shortcuts',
-      category: 'main',
-      description: Object(external_wp_i18n_["__"])('Display these keyboard shortcuts.'),
-      keyCombination: {
-        modifier: 'access',
-        character: 'h'
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-site/next-region',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Navigate to the next part of the editor.'),
-      keyCombination: {
-        modifier: 'ctrl',
-        character: '`'
-      },
-      aliases: [{
-        modifier: 'access',
-        character: 'n'
-      }]
-    });
-    registerShortcut({
-      name: 'core/edit-site/previous-region',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Navigate to the previous part of the editor.'),
-      keyCombination: {
-        modifier: 'ctrlShift',
-        character: '`'
-      },
-      aliases: [{
-        modifier: 'access',
-        character: 'p'
-      }]
-    });
-  }, [registerShortcut]);
-  return null;
-}
+/* harmony default export */ var settings_header = (SettingsHeader);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/template-card/template-areas.js

-KeyboardShortcuts.Register = KeyboardShortcutsRegister;
-/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/url-query-controller/index.js
 /**
  * WordPress dependencies
  */


+
+
+
 /**
  * Internal dependencies
  */



-function URLQueryController() {
-  const {
-    setTemplate,
-    setTemplatePart,
-    setPage
-  } = Object(external_wp_data_["useDispatch"])(store);
+function TemplateAreaItem(_ref) {
+  let {
+    area,
+    clientId
+  } = _ref;
   const {
-    params: {
-      postId,
-      postType
-    }
-  } = useLocation(); // Set correct entity on page navigation.
+    selectBlock,
+    toggleBlockHighlight
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const templatePartArea = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const defaultAreas = select(external_wp_editor_namespaceObject.store).__experimentalGetDefaultTemplatePartAreas();

-  Object(external_wp_element_["useEffect"])(() => {
-    if ('page' === postType || 'post' === postType) {
-      setPage({
-        context: {
-          postType,
-          postId
-        }
-      }); // Resolves correct template based on ID.
-    } else if ('wp_template' === postType) {
-      setTemplate(postId);
-    } else if ('wp_template_part' === postType) {
-      setTemplatePart(postId);
+    return defaultAreas.find(defaultArea => defaultArea.area === area);
+  }, [area]);
+
+  const highlightBlock = () => toggleBlockHighlight(clientId, true);
+
+  const cancelHighlightBlock = () => toggleBlockHighlight(clientId, false);
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "edit-site-template-card__template-areas-item",
+    icon: templatePartArea === null || templatePartArea === void 0 ? void 0 : templatePartArea.icon,
+    onMouseOver: highlightBlock,
+    onMouseLeave: cancelHighlightBlock,
+    onFocus: highlightBlock,
+    onBlur: cancelHighlightBlock,
+    onClick: () => {
+      selectBlock(clientId);
     }
-  }, [postId, postType]);
-  return null;
+  }, templatePartArea === null || templatePartArea === void 0 ? void 0 : templatePartArea.label);
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
-var library_close = __webpack_require__("w95h");
+function template_areas_TemplateAreas() {
+  const templateParts = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).getCurrentTemplateTemplateParts(), []);
+
+  if (!templateParts.length) {
+    return null;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/secondary-sidebar/inserter-sidebar.js
+  return (0,external_wp_element_namespaceObject.createElement)("section", {
+    className: "edit-site-template-card__template-areas"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHeading, {
+    level: 3,
+    className: "edit-site-template-card__template-areas-title"
+  }, (0,external_wp_i18n_namespaceObject.__)('Areas')), (0,external_wp_element_namespaceObject.createElement)("ul", {
+    className: "edit-site-template-card__template-areas-list"
+  }, templateParts.map(_ref2 => {
+    let {
+      templatePart,
+      block
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)("li", {
+      key: templatePart.slug
+    }, (0,external_wp_element_namespaceObject.createElement)(TemplateAreaItem, {
+      area: templatePart.area,
+      clientId: block.clientId
+    }));
+  })));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/template-card/index.js


 /**
@@ -6931,45 +7041,54 @@ var library_close = __webpack_require__("w95h");



-
 /**
  * Internal dependencies
  */


-function InserterSidebar() {
+
+function TemplateCard() {
   const {
-    setIsInserterOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const insertionPoint = Object(external_wp_data_["useSelect"])(select => select(store).__experimentalGetInsertionPoint(), []);
-  const isMobile = Object(external_wp_compose_["useViewportMatch"])('medium', '<');
-  const [inserterDialogRef, inserterDialogProps] = Object(external_wp_compose_["__experimentalUseDialog"])({
-    onClose: () => setIsInserterOpened(false)
-  });
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-    ref: inserterDialogRef
-  }, inserterDialogProps, {
-    className: "edit-site-editor__inserter-panel"
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-editor__inserter-panel-header"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: library_close["a" /* default */],
-    onClick: () => setIsInserterOpened(false)
-  })), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-editor__inserter-panel-content"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLibrary"], {
-    showInserterHelpPanel: true,
-    shouldFocusBlock: isMobile,
-    rootClientId: insertionPoint.rootClientId,
-    __experimentalInsertionIndex: insertionPoint.insertionIndex,
-    __experimentalFilterValue: insertionPoint.filterValue
-  })));
-}
+    title,
+    description,
+    icon
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEditedPostType,
+      getEditedPostId
+    } = select(store_store);
+    const {
+      getEntityRecord
+    } = select(external_wp_coreData_namespaceObject.store);
+    const {
+      __experimentalGetTemplateInfo: getTemplateInfo
+    } = select(external_wp_editor_namespaceObject.store);
+    const postType = getEditedPostType();
+    const postId = getEditedPostId();
+    const record = getEntityRecord('postType', postType, postId);
+    const info = record ? getTemplateInfo(record) : {};
+    return info;
+  }, []);
+
+  if (!title && !description) {
+    return null;
+  }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-template-card"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+    className: "edit-site-template-card__icon",
+    icon: icon
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-template-card__content"
+  }, (0,external_wp_element_namespaceObject.createElement)("h2", {
+    className: "edit-site-template-card__title"
+  }, title), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-template-card__description"
+  }, description), (0,external_wp_element_namespaceObject.createElement)(template_areas_TemplateAreas, null)));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/secondary-sidebar/list-view-sidebar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/index.js


 /**
@@ -6987,326 +7106,273 @@ var close_small = __webpack_require__("bWcr");
  */


-function ListViewSidebar() {
-  const {
-    setIsListViewOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
+
+
+
+
+
+const {
+  Slot: InspectorSlot,
+  Fill: InspectorFill
+} = (0,external_wp_components_namespaceObject.createSlotFill)('EditSiteSidebarInspector');
+const SidebarInspectorFill = InspectorFill;
+function SidebarComplementaryAreaFills() {
   const {
-    clearSelectedBlock,
-    selectBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+    sidebar,
+    isEditorSidebarOpened,
+    hasBlockSelection
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const _sidebar = select(store).getActiveComplementaryArea(STORE_NAME);

-  async function selectEditorBlock(clientId) {
-    await clearSelectedBlock();
-    selectBlock(clientId, -1);
-  }
+    const _isEditorSidebarOpened = [SIDEBAR_BLOCK, SIDEBAR_TEMPLATE].includes(_sidebar);

-  const focusOnMountRef = Object(external_wp_compose_["useFocusOnMount"])('firstElement');
-  const focusReturnRef = Object(external_wp_compose_["useFocusReturn"])();
+    return {
+      sidebar: _sidebar,
+      isEditorSidebarOpened: _isEditorSidebarOpened,
+      hasBlockSelection: !!select(external_wp_blockEditor_namespaceObject.store).getBlockSelectionStart()
+    };
+  }, []);
+  const {
+    enableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!isEditorSidebarOpened) return;

-  function closeOnEscape(event) {
-    if (event.keyCode === external_wp_keycodes_["ESCAPE"] && !event.defaultPrevented) {
-      setIsListViewOpened(false);
+    if (hasBlockSelection) {
+      enableComplementaryArea(STORE_NAME, SIDEBAR_BLOCK);
+    } else {
+      enableComplementaryArea(STORE_NAME, SIDEBAR_TEMPLATE);
     }
+  }, [hasBlockSelection, isEditorSidebarOpened]);
+  let sidebarName = sidebar;
+
+  if (!isEditorSidebarOpened) {
+    sidebarName = hasBlockSelection ? SIDEBAR_BLOCK : SIDEBAR_TEMPLATE;
   }

-  const instanceId = Object(external_wp_compose_["useInstanceId"])(ListViewSidebar);
-  const labelId = `edit-site-editor__list-view-panel-label-${instanceId}`;
-  return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
-    Object(external_wp_element_["createElement"])("div", {
-      "aria-labelledby": labelId,
-      className: "edit-site-editor__list-view-panel",
-      onKeyDown: closeOnEscape
-    }, Object(external_wp_element_["createElement"])("div", {
-      className: "edit-site-editor__list-view-panel-header"
-    }, Object(external_wp_element_["createElement"])("strong", {
-      id: labelId
-    }, Object(external_wp_i18n_["__"])('List view')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      icon: close_small["a" /* default */],
-      label: Object(external_wp_i18n_["__"])('Close list view sidebar'),
-      onClick: () => setIsListViewOpened(false)
-    })), Object(external_wp_element_["createElement"])("div", {
-      className: "edit-site-editor__list-view-panel-content",
-      ref: Object(external_wp_compose_["useMergeRefs"])([focusReturnRef, focusOnMountRef])
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalListView"], {
-      onSelect: selectEditorBlock,
-      showNestedBlocks: true,
-      __experimentalFeatures: true,
-      __experimentalPersistentListViewFeatures: true
-    })))
-  );
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(DefaultSidebar, {
+    identifier: sidebarName,
+    title: (0,external_wp_i18n_namespaceObject.__)('Settings'),
+    icon: library_cog,
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close settings sidebar'),
+    header: (0,external_wp_element_namespaceObject.createElement)(settings_header, {
+      sidebarName: sidebarName
+    }),
+    headerClassName: "edit-site-sidebar__panel-tabs"
+  }, sidebarName === SIDEBAR_TEMPLATE && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, null, (0,external_wp_element_namespaceObject.createElement)(TemplateCard, null)), sidebarName === SIDEBAR_BLOCK && (0,external_wp_element_namespaceObject.createElement)(InspectorSlot, {
+    bubblesVirtually: true
+  })), (0,external_wp_element_namespaceObject.createElement)(GlobalStylesSidebar, null));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/error-boundary/warning.js
+;// CONCATENATED MODULE: external ["wp","htmlEntities"]
+var external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/home.js


 /**
  * WordPress dependencies
  */

+const home = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"
+}));
+/* harmony default export */ var library_home = (home);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol-filled.js
+
+
+/**
+ * WordPress dependencies
+ */

+const symbolFilled = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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-17.6 1L10 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"
+}));
+/* harmony default export */ var symbol_filled = (symbolFilled);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/main-dashboard-button/index.js


-function CopyButton(_ref) {
+/**
+ * WordPress dependencies
+ */
+
+const slotName = '__experimentalMainDashboardButton';
+const {
+  Fill,
+  Slot: MainDashboardButtonSlot
+} = (0,external_wp_components_namespaceObject.createSlotFill)(slotName);
+const MainDashboardButton = Fill;
+
+const main_dashboard_button_Slot = _ref => {
   let {
-    text,
     children
   } = _ref;
-  const ref = Object(external_wp_compose_["useCopyToClipboard"])(text);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    ref: ref
-  }, children);
-}
-
-function ErrorBoundaryWarning(_ref2) {
-  let {
-    message,
-    error,
-    reboot,
-    dashboardLink
-  } = _ref2;
-  const actions = [];
+  const slot = (0,external_wp_components_namespaceObject.__experimentalUseSlot)(slotName);
+  const hasFills = Boolean(slot.fills && slot.fills.length);

-  if (reboot) {
-    actions.push(Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      key: "recovery",
-      onClick: reboot,
-      variant: "secondary"
-    }, Object(external_wp_i18n_["__"])('Attempt Recovery')));
+  if (!hasFills) {
+    return children;
   }

-  if (error) {
-    actions.push(Object(external_wp_element_["createElement"])(CopyButton, {
-      key: "copy-error",
-      text: error.stack
-    }, Object(external_wp_i18n_["__"])('Copy Error')));
-  }
+  return (0,external_wp_element_namespaceObject.createElement)(MainDashboardButtonSlot, {
+    bubblesVirtually: true
+  });
+};

-  if (dashboardLink) {
-    actions.push(Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      key: "back-to-dashboard",
-      variant: "secondary",
-      href: dashboardLink
-    }, Object(external_wp_i18n_["__"])('Back to dashboard')));
-  }
+MainDashboardButton.Slot = main_dashboard_button_Slot;
+/* harmony default export */ var main_dashboard_button = (MainDashboardButton);

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], {
-    className: "editor-error-boundary",
-    actions: actions
-  }, message);
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/navigation-panel/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/error-boundary/index.js


 /**
- * WordPress dependencies
+ * External dependencies
  */

-
 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-class error_boundary_ErrorBoundary extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.reboot = this.reboot.bind(this);
-    this.state = {
-      error: null
-    };
-  }
-
-  static getDerivedStateFromError(error) {
-    return {
-      error
-    };
-  }
-
-  reboot() {
-    this.props.onError();
-  }
-
-  render() {
-    const {
-      error
-    } = this.state;
-
-    if (!error) {
-      return this.props.children;
-    }
-
-    return Object(external_wp_element_["createElement"])(ErrorBoundaryWarning, {
-      message: Object(external_wp_i18n_["__"])('The editor has encountered an unexpected error.'),
-      error: error,
-      reboot: this.reboot
-    });
-  }

-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/welcome-guide/image.js

-function WelcomeGuideImage(_ref) {
-  let {
-    nonAnimatedSrc,
-    animatedSrc
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("picture", {
-    className: "edit-site-welcome-guide__image"
-  }, Object(external_wp_element_["createElement"])("source", {
-    srcSet: nonAnimatedSrc,
-    media: "(prefers-reduced-motion: reduce)"
-  }), Object(external_wp_element_["createElement"])("img", {
-    src: animatedSrc,
-    width: "312",
-    height: "240",
-    alt: ""
-  }));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/welcome-guide/editor.js


 /**
- * WordPress dependencies
+ * Internal dependencies
  */




-/**
- * Internal dependencies
- */
-
+const SITE_EDITOR_KEY = 'site-editor';

+function NavLink(_ref) {
+  let {
+    params,
+    replace,
+    ...props
+  } = _ref;
+  const linkProps = useLink(params, replace);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationItem, extends_extends({}, linkProps, props));
+}

-function WelcomeGuideEditor() {
+const NavigationPanel = _ref2 => {
+  let {
+    activeItem = SITE_EDITOR_KEY
+  } = _ref2;
   const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const isActive = Object(external_wp_data_["useSelect"])(select => select(store).isFeatureActive('welcomeGuide'), []);
+    isNavigationOpen,
+    siteTitle
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEntityRecord
+    } = select(external_wp_coreData_namespaceObject.store);
+    const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
+    return {
+      siteTitle: siteData.name,
+      isNavigationOpen: select(store_store).isNavigationOpened()
+    };
+  }, []);
+  const {
+    setIsNavigationPanelOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);

-  if (!isActive) {
-    return null;
-  }
+  const closeOnEscape = event => {
+    if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented) {
+      event.preventDefault();
+      setIsNavigationPanelOpened(false);
+    }
+  };

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Guide"], {
-    className: "edit-site-welcome-guide",
-    contentLabel: Object(external_wp_i18n_["__"])('Welcome to the site editor'),
-    finishButtonText: Object(external_wp_i18n_["__"])('Get Started'),
-    onFinish: () => toggleFeature('welcomeGuide'),
-    pages: [{
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
-        nonAnimatedSrc: "https://s.w.org/images/block-editor/edit-your-site.svg?1",
-        animatedSrc: "https://s.w.org/images/block-editor/edit-your-site.gif?1"
+  return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
+    (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: classnames_default()(`edit-site-navigation-panel`, {
+        'is-open': isNavigationOpen
       }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
-        className: "edit-site-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Edit your site')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-site-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('Design everything on your site — from the header right down to the footer — using blocks.')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-site-welcome-guide__text"
-      }, Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["__"])('Click <StylesIconImage /> to start designing your blocks, and choose your typography, layout, and colors.'), {
-        StylesIconImage: Object(external_wp_element_["createElement"])("img", {
-          alt: Object(external_wp_i18n_["__"])('styles'),
-          src: "data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' fill='%231E1E1E'/%3E%3C/svg%3E%0A"
-        })
-      })))
-    }]
-  });
-}
+      onKeyDown: closeOnEscape
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-site-navigation-panel__inner"
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-site-navigation-panel__site-title-container"
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-site-navigation-panel__site-title"
+    }, (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(siteTitle))), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-site-navigation-panel__scroll-container"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigation, {
+      activeItem: activeItem
+    }, (0,external_wp_element_namespaceObject.createElement)(main_dashboard_button.Slot, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationBackButton, {
+      backButtonLabel: (0,external_wp_i18n_namespaceObject.__)('Dashboard'),
+      className: "edit-site-navigation-panel__back-to-dashboard",
+      href: "index.php"
+    })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationMenu, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalNavigationGroup, {
+      title: (0,external_wp_i18n_namespaceObject.__)('Editor')
+    }, (0,external_wp_element_namespaceObject.createElement)(NavLink, {
+      icon: library_home,
+      title: (0,external_wp_i18n_namespaceObject.__)('Site'),
+      item: SITE_EDITOR_KEY,
+      params: {
+        postId: undefined,
+        postType: undefined
+      }
+    }), (0,external_wp_element_namespaceObject.createElement)(NavLink, {
+      icon: library_layout,
+      title: (0,external_wp_i18n_namespaceObject.__)('Templates'),
+      item: "wp_template",
+      params: {
+        postId: undefined,
+        postType: 'wp_template'
+      }
+    }), (0,external_wp_element_namespaceObject.createElement)(NavLink, {
+      icon: symbol_filled,
+      title: (0,external_wp_i18n_namespaceObject.__)('Template Parts'),
+      item: "wp_template_part",
+      params: {
+        postId: undefined,
+        postType: 'wp_template_part'
+      }
+    })))))))
+  );
+};
+
+/* harmony default export */ var navigation_panel = (NavigationPanel);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/welcome-guide/styles.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/wordpress.js


 /**
  * WordPress dependencies
  */

+const wordpress = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "-2 -2 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"
+}));
+/* harmony default export */ var library_wordpress = (wordpress);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/navigation-toggle/index.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */



-function WelcomeGuideStyles() {
-  const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    isActive,
-    isStylesOpen
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const sidebar = select(build_module["i" /* store */]).getActiveComplementaryArea(store.name);
-    return {
-      isActive: select(store).isFeatureActive('welcomeGuideStyles'),
-      isStylesOpen: sidebar === 'edit-site/global-styles'
-    };
-  }, []);
-
-  if (!isActive || !isStylesOpen) {
-    return null;
-  }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Guide"], {
-    className: "edit-site-welcome-guide",
-    contentLabel: Object(external_wp_i18n_["__"])('Welcome to styles'),
-    finishButtonText: Object(external_wp_i18n_["__"])('Get Started'),
-    onFinish: () => toggleFeature('welcomeGuideStyles'),
-    pages: [{
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
-        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-to-styles.svg?1",
-        animatedSrc: "https://s.w.org/images/block-editor/welcome-to-styles.gif?1"
-      }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
-        className: "edit-site-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Welcome to Styles')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-site-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('Tweak your site, or give it a whole new look! Get creative — how about a new color palette for your buttons, or choosing a new font? Take a look at what you can do here.')))
-    }, {
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
-        nonAnimatedSrc: "https://s.w.org/images/block-editor/set-the-design.svg?1",
-        animatedSrc: "https://s.w.org/images/block-editor/set-the-design.gif?1"
-      }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
-        className: "edit-site-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Set the design')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-site-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('You can customize your site as much as you like with different colors, typography, and layouts. Or if you prefer, just leave it up to your theme to handle! ')))
-    }, {
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
-        nonAnimatedSrc: "https://s.w.org/images/block-editor/personalize-blocks.svg?1",
-        animatedSrc: "https://s.w.org/images/block-editor/personalize-blocks.gif?1"
-      }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
-        className: "edit-site-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Personalize blocks')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-site-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('You can adjust your blocks to ensure a cohesive experience across your site — add your unique colors to a branded Button block, or adjust the Heading block to your preferred size.')))
-    }, {
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
-        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.svg",
-        animatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.gif"
-      }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
-        className: "edit-site-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Learn more')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-site-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('New to block themes and styling your site? '), Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-        href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/styles-overview/')
-      }, Object(external_wp_i18n_["__"])('Here’s a detailed guide to learn how to make the most of it.'))))
-    }]
-  });
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/welcome-guide/index.js


 /**
@@ -7314,62 +7380,91 @@ function WelcomeGuideStyles() {
  */


-function WelcomeGuide() {
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(WelcomeGuideEditor, null), Object(external_wp_element_["createElement"])(WelcomeGuideStyles, null));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/editor/global-styles-renderer.js
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-
-function useGlobalStylesRenderer() {
-  const [styles, settings] = useGlobalStylesOutput();
+function NavigationToggle(_ref) {
+  let {
+    icon
+  } = _ref;
   const {
-    getSettings
-  } = Object(external_wp_data_["useSelect"])(store);
+    isNavigationOpen,
+    isRequestingSiteIcon,
+    siteIconUrl
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEntityRecord,
+      isResolving
+    } = select(external_wp_coreData_namespaceObject.store);
+    const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
+    return {
+      isNavigationOpen: select(store_store).isNavigationOpened(),
+      isRequestingSiteIcon: isResolving('core', 'getEntityRecord', ['root', '__unstableBase', undefined]),
+      siteIconUrl: siteData.site_icon_url
+    };
+  }, []);
   const {
-    updateSettings
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    var _currentStoreSettings;
+    setIsNavigationPanelOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const disableMotion = (0,external_wp_compose_namespaceObject.useReducedMotion)();
+  const navigationToggleRef = (0,external_wp_element_namespaceObject.useRef)();
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // TODO: Remove this effect when alternative solution is merged.
+    // See: https://github.com/WordPress/gutenberg/pull/37314
+    if (!isNavigationOpen) {
+      navigationToggleRef.current.focus();
+    }
+  }, [isNavigationOpen]);

-    if (!styles || !settings) {
-      return;
+  const toggleNavigationPanel = () => setIsNavigationPanelOpened(!isNavigationOpen);
+
+  let buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+    size: "36px",
+    icon: library_wordpress
+  });
+  const effect = {
+    expand: {
+      scale: 1.7,
+      borderRadius: 0,
+      transition: {
+        type: 'tween',
+        duration: '0.2'
+      }
     }
+  };

-    const currentStoreSettings = getSettings();
-    const nonGlobalStyles = currentStoreSettings === null || currentStoreSettings === void 0 ? void 0 : (_currentStoreSettings = currentStoreSettings.styles) === null || _currentStoreSettings === void 0 ? void 0 : _currentStoreSettings.filter(style => !style.isGlobalStyles);
-    updateSettings({ ...currentStoreSettings,
-      styles: [...nonGlobalStyles, ...styles],
-      __experimentalFeatures: settings
+  if (siteIconUrl) {
+    buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.img, {
+      variants: !disableMotion && effect,
+      alt: (0,external_wp_i18n_namespaceObject.__)('Site Icon'),
+      className: "edit-site-navigation-toggle__site-icon",
+      src: siteIconUrl
     });
-  }, [styles, settings]);
-}
+  } else if (isRequestingSiteIcon) {
+    buttonIcon = null;
+  } else if (icon) {
+    buttonIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+      size: "36px",
+      icon: icon
+    });
+  }

-function GlobalStylesRenderer() {
-  useGlobalStylesRenderer();
-  return null;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableMotion.div, {
+    className: 'edit-site-navigation-toggle' + (isNavigationOpen ? ' is-open' : ''),
+    whileHover: "expand"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "edit-site-navigation-toggle__button has-icon",
+    label: (0,external_wp_i18n_namespaceObject.__)('Toggle navigation'),
+    ref: navigationToggleRef // isPressed will add unwanted styles.
+    ,
+    "aria-pressed": isNavigationOpen,
+    onClick: toggleNavigationPanel,
+    showTooltip: true
+  }, buttonIcon));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/global-styles-provider.js
+/* harmony default export */ var navigation_toggle = (NavigationToggle);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigation-sidebar/index.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -7384,162 +7479,72 @@ function GlobalStylesRenderer() {



-function mergeTreesCustomizer(_, srcValue) {
-  // We only pass as arrays the presets,
-  // in which case we want the new array of values
-  // to override the old array (no merging).
-  if (Array.isArray(srcValue)) {
-    return srcValue;
-  }
-}
-
-function mergeBaseAndUserConfigs(base, user) {
-  return Object(external_lodash_["mergeWith"])({}, base, user, mergeTreesCustomizer);
-}
-
-const cleanEmptyObject = object => {
-  if (!Object(external_lodash_["isObject"])(object) || Array.isArray(object)) {
-    return object;
-  }
-
-  const cleanedNestedObjects = Object(external_lodash_["pickBy"])(Object(external_lodash_["mapValues"])(object, cleanEmptyObject), external_lodash_["identity"]);
-  return Object(external_lodash_["isEmpty"])(cleanedNestedObjects) ? undefined : cleanedNestedObjects;
-};
-
-function useGlobalStylesUserConfig() {
-  const {
-    globalStylesId,
-    settings,
-    styles
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const _globalStylesId = select(external_wp_coreData_["store"]).__experimentalGetCurrentGlobalStylesId();
-
-    const record = _globalStylesId ? select(external_wp_coreData_["store"]).getEditedEntityRecord('root', 'globalStyles', _globalStylesId) : undefined;
-    return {
-      globalStylesId: _globalStylesId,
-      settings: record === null || record === void 0 ? void 0 : record.settings,
-      styles: record === null || record === void 0 ? void 0 : record.styles
-    };
-  }, []);
-  const {
-    getEditedEntityRecord
-  } = Object(external_wp_data_["useSelect"])(external_wp_coreData_["store"]);
-  const {
-    editEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  const config = Object(external_wp_element_["useMemo"])(() => {
-    return {
-      settings: settings !== null && settings !== void 0 ? settings : {},
-      styles: styles !== null && styles !== void 0 ? styles : {}
-    };
-  }, [settings, styles]);
-  const setConfig = Object(external_wp_element_["useCallback"])(callback => {
-    var _record$styles, _record$settings;
-
-    const record = getEditedEntityRecord('root', 'globalStyles', globalStylesId);
-    const currentConfig = {
-      styles: (_record$styles = record === null || record === void 0 ? void 0 : record.styles) !== null && _record$styles !== void 0 ? _record$styles : {},
-      settings: (_record$settings = record === null || record === void 0 ? void 0 : record.settings) !== null && _record$settings !== void 0 ? _record$settings : {}
-    };
-    const updatedConfig = callback(currentConfig);
-    editEntityRecord('root', 'globalStyles', globalStylesId, {
-      styles: cleanEmptyObject(updatedConfig.styles) || {},
-      settings: cleanEmptyObject(updatedConfig.settings) || {}
-    });
-  }, [globalStylesId]);
-  return [!!settings || !!styles, config, setConfig];
-}
-
-function useGlobalStylesBaseConfig() {
-  const baseConfig = Object(external_wp_data_["useSelect"])(select => {
-    return select(external_wp_coreData_["store"]).__experimentalGetCurrentThemeBaseGlobalStyles();
-  }, []);
-  return [!!baseConfig, baseConfig];
-}
-
-function useGlobalStylesContext() {
-  const [isUserConfigReady, userConfig, setUserConfig] = useGlobalStylesUserConfig();
-  const [isBaseConfigReady, baseConfig] = useGlobalStylesBaseConfig();
-  const mergedConfig = Object(external_wp_element_["useMemo"])(() => {
-    if (!baseConfig || !userConfig) {
-      return {};
-    }

-    return mergeBaseAndUserConfigs(baseConfig, userConfig);
-  }, [userConfig, baseConfig]);
-  const context = Object(external_wp_element_["useMemo"])(() => {
-    return {
-      isReady: isUserConfigReady && isBaseConfigReady,
-      user: userConfig,
-      base: baseConfig,
-      merged: mergedConfig,
-      setUserConfig
-    };
-  }, [mergedConfig, userConfig, baseConfig, setUserConfig, isUserConfigReady, isBaseConfigReady]);
-  return context;
-}
+const {
+  Fill: NavigationPanelPreviewFill,
+  Slot: NavigationPanelPreviewSlot
+} = (0,external_wp_components_namespaceObject.createSlotFill)('EditSiteNavigationPanelPreview');
+const {
+  Fill: NavigationSidebarFill,
+  Slot: NavigationSidebarSlot
+} = (0,external_wp_components_namespaceObject.createSlotFill)('EditSiteNavigationSidebar');

-function GlobalStylesProvider(_ref) {
+function NavigationSidebar(_ref) {
   let {
-    children
+    isDefaultOpen = false,
+    activeTemplateType
   } = _ref;
-  const context = useGlobalStylesContext();
-
-  if (!context.isReady) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(GlobalStylesContext.Provider, {
-    value: context
-  }, children);
+  const isDesktopViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  const {
+    setIsNavigationPanelOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  (0,external_wp_element_namespaceObject.useEffect)(function autoOpenNavigationPanelOnViewportChange() {
+    setIsNavigationPanelOpened(isDefaultOpen && isDesktopViewport);
+  }, [isDefaultOpen, isDesktopViewport, setIsNavigationPanelOpened]);
+  return (0,external_wp_element_namespaceObject.createElement)(NavigationSidebarFill, null, (0,external_wp_element_namespaceObject.createElement)(navigation_toggle, null), (0,external_wp_element_namespaceObject.createElement)(navigation_panel, {
+    activeItem: activeTemplateType
+  }), (0,external_wp_element_namespaceObject.createElement)(NavigationPanelPreviewSlot, null));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/use-title.js
-/**
- * WordPress dependencies
- */
-
-
+NavigationSidebar.Slot = NavigationSidebarSlot;
+/* harmony default export */ var navigation_sidebar = (NavigationSidebar);

+;// CONCATENATED MODULE: external ["wp","reusableBlocks"]
+var external_wp_reusableBlocks_namespaceObject = window["wp"]["reusableBlocks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-part-converter/convert-to-regular.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */


-function useTitle(title) {
-  const location = useLocation();
-  const siteTitle = Object(external_wp_data_["useSelect"])(select => {
-    var _select$getEntityReco;
-
-    return (_select$getEntityReco = select(external_wp_coreData_["store"]).getEntityRecord('root', 'site')) === null || _select$getEntityReco === void 0 ? void 0 : _select$getEntityReco.title;
-  }, []);
-  const isInitialLocationRef = Object(external_wp_element_["useRef"])(true);
-  Object(external_wp_element_["useEffect"])(() => {
-    isInitialLocationRef.current = false;
-  }, [location]);
-  Object(external_wp_element_["useEffect"])(() => {
-    // Don't update or announce the title for initial page load.
-    if (isInitialLocationRef.current) {
-      return;
-    }

-    if (title && siteTitle) {
-      // @see https://github.com/WordPress/wordpress-develop/blob/94849898192d271d533e09756007e176feb80697/src/wp-admin/admin-header.php#L67-L68
-      const formattedTitle = Object(external_wp_i18n_["sprintf"])(
-      /* translators: Admin screen title. 1: Admin screen name, 2: Network or site name. */
-      Object(external_wp_i18n_["__"])('%1$s ‹ %2$s — WordPress'), title, siteTitle);
-      document.title = formattedTitle; // Announce title on route change for screen readers.

-      Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["sprintf"])(
-      /* translators: The page title that is currently displaying. */
-      Object(external_wp_i18n_["__"])('Now displaying: %s'), document.title), 'assertive');
-    }
-  }, [title, siteTitle, location]);
+function ConvertToRegularBlocks(_ref) {
+  let {
+    clientId
+  } = _ref;
+  const {
+    getBlocks
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_blockEditor_namespaceObject.store);
+  const {
+    replaceBlocks
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockSettingsMenuControls, null, _ref2 => {
+    let {
+      onClose
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      onClick: () => {
+        replaceBlocks(clientId, getBlocks(clientId));
+        onClose();
+      }
+    }, (0,external_wp_i18n_namespaceObject.__)('Detach blocks from template part'));
+  });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/editor/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/create-template-part-modal/index.js


 /**
@@ -7552,229 +7557,95 @@ function useTitle(title) {



-
-
-
 /**
  * Internal dependencies
  */


+function CreateTemplatePartModal(_ref) {
+  let {
+    closeModal,
+    onCreate
+  } = _ref;
+  const [title, setTitle] = (0,external_wp_element_namespaceObject.useState)('');
+  const [area, setArea] = (0,external_wp_element_namespaceObject.useState)(TEMPLATE_PART_AREA_GENERAL);
+  const [isSubmitting, setIsSubmitting] = (0,external_wp_element_namespaceObject.useState)(false);
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(CreateTemplatePartModal);
+  const templatePartAreas = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_editor_namespaceObject.store).__experimentalGetDefaultTemplatePartAreas(), []);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Create a template part'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
+    onRequestClose: closeModal,
+    overlayClassName: "edit-site-create-template-part-modal"
+  }, (0,external_wp_element_namespaceObject.createElement)("form", {
+    onSubmit: async event => {
+      event.preventDefault();

+      if (!title) {
+        return;
+      }

-
-
-
-
-
-
-
-
-
-
-
-const interfaceLabels = {
-  secondarySidebar: Object(external_wp_i18n_["__"])('Block Library'),
-  drawer: Object(external_wp_i18n_["__"])('Navigation Sidebar')
-};
-
-function Editor(_ref) {
-  let {
-    onError
-  } = _ref;
-  const {
-    isInserterOpen,
-    isListViewOpen,
-    sidebarIsOpened,
-    settings,
-    entityId,
-    templateType,
-    page,
-    template,
-    templateResolved,
-    isNavigationOpen,
-    previousShortcut,
-    nextShortcut
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      isInserterOpened,
-      isListViewOpened,
-      getSettings,
-      getEditedPostType,
-      getEditedPostId,
-      getPage,
-      isNavigationOpened
-    } = select(store);
-    const {
-      hasFinishedResolution,
-      getEntityRecord
-    } = select(external_wp_coreData_["store"]);
-    const postType = getEditedPostType();
-    const postId = getEditedPostId(); // The currently selected entity to display. Typically template or template part.
-
-    return {
-      isInserterOpen: isInserterOpened(),
-      isListViewOpen: isListViewOpened(),
-      sidebarIsOpened: !!select(build_module["i" /* store */]).getActiveComplementaryArea(store.name),
-      settings: getSettings(),
-      templateType: postType,
-      page: getPage(),
-      template: postId ? getEntityRecord('postType', postType, postId) : null,
-      templateResolved: postId ? hasFinishedResolution('getEntityRecord', ['postType', postType, postId]) : false,
-      entityId: postId,
-      isNavigationOpen: isNavigationOpened(),
-      previousShortcut: select(external_wp_keyboardShortcuts_["store"]).getAllShortcutKeyCombinations('core/edit-site/previous-region'),
-      nextShortcut: select(external_wp_keyboardShortcuts_["store"]).getAllShortcutKeyCombinations('core/edit-site/next-region')
-    };
-  }, []);
-  const {
-    setPage,
-    setIsInserterOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    enableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(build_module["i" /* store */]);
-  const [isEntitiesSavedStatesOpen, setIsEntitiesSavedStatesOpen] = Object(external_wp_element_["useState"])(false);
-  const openEntitiesSavedStates = Object(external_wp_element_["useCallback"])(() => setIsEntitiesSavedStatesOpen(true), []);
-  const closeEntitiesSavedStates = Object(external_wp_element_["useCallback"])(() => {
-    setIsEntitiesSavedStatesOpen(false);
-  }, []);
-  const blockContext = Object(external_wp_element_["useMemo"])(() => ({ ...(page === null || page === void 0 ? void 0 : page.context),
-    queryContext: [(page === null || page === void 0 ? void 0 : page.context.queryContext) || {
-      page: 1
-    }, newQueryContext => setPage({ ...page,
-      context: { ...(page === null || page === void 0 ? void 0 : page.context),
-        queryContext: { ...(page === null || page === void 0 ? void 0 : page.context.queryContext),
-          ...newQueryContext
-        }
-      }
-    })]
-  }), [page === null || page === void 0 ? void 0 : page.context]);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isNavigationOpen) {
-      document.body.classList.add('is-navigation-sidebar-open');
-    } else {
-      document.body.classList.remove('is-navigation-sidebar-open');
-    }
-  }, [isNavigationOpen]);
-  Object(external_wp_element_["useEffect"])(function openGlobalStylesOnLoad() {
-    const searchParams = new URLSearchParams(window.location.search);
-
-    if (searchParams.get('styles') === 'open') {
-      enableComplementaryArea('core/edit-site', 'edit-site/global-styles');
-    }
-  }, [enableComplementaryArea]); // Don't render the Editor until the settings are set and loaded
-
-  const isReady = (settings === null || settings === void 0 ? void 0 : settings.siteUrl) && templateType !== undefined && entityId !== undefined;
-
-  const secondarySidebar = () => {
-    if (isInserterOpen) {
-      return Object(external_wp_element_["createElement"])(InserterSidebar, null);
-    }
-
-    if (isListViewOpen) {
-      return Object(external_wp_element_["createElement"])(ListViewSidebar, null);
+      setIsSubmitting(true);
+      await onCreate({
+        title,
+        area
+      });
     }
-
-    return null;
-  }; // Only announce the title once the editor is ready to prevent "Replace"
-  // action in <URlQueryController> from double-announcing.
-
-
-  useTitle(isReady && Object(external_wp_i18n_["__"])('Editor (beta)'));
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(URLQueryController, null), isReady && Object(external_wp_element_["createElement"])(external_wp_keyboardShortcuts_["ShortcutProvider"], null, Object(external_wp_element_["createElement"])(external_wp_coreData_["EntityProvider"], {
-    kind: "root",
-    type: "site"
-  }, Object(external_wp_element_["createElement"])(external_wp_coreData_["EntityProvider"], {
-    kind: "postType",
-    type: templateType,
-    id: entityId
-  }, Object(external_wp_element_["createElement"])(GlobalStylesProvider, null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockContextProvider"], {
-    value: blockContext
-  }, Object(external_wp_element_["createElement"])(GlobalStylesRenderer, null), Object(external_wp_element_["createElement"])(error_boundary_ErrorBoundary, {
-    onError: onError
-  }, Object(external_wp_element_["createElement"])(keyboard_shortcuts.Register, null), Object(external_wp_element_["createElement"])(SidebarComplementaryAreaFills, null), Object(external_wp_element_["createElement"])(build_module["e" /* InterfaceSkeleton */], {
-    labels: interfaceLabels,
-    secondarySidebar: secondarySidebar(),
-    sidebar: sidebarIsOpened && Object(external_wp_element_["createElement"])(build_module["b" /* ComplementaryArea */].Slot, {
-      scope: "core/edit-site"
-    }),
-    drawer: Object(external_wp_element_["createElement"])(navigation_sidebar.Slot, null),
-    header: Object(external_wp_element_["createElement"])(Header, {
-      openEntitiesSavedStates: openEntitiesSavedStates
-    }),
-    notices: Object(external_wp_element_["createElement"])(external_wp_editor_["EditorSnackbars"], null),
-    content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["EditorNotices"], null), template && Object(external_wp_element_["createElement"])(BlockEditor, {
-      setIsInserterOpen: setIsInserterOpened
-    }), templateResolved && !template && (settings === null || settings === void 0 ? void 0 : settings.siteUrl) && entityId && Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
-      status: "warning",
-      isDismissible: false
-    }, Object(external_wp_i18n_["__"])("You attempted to edit an item that doesn't exist. Perhaps it was deleted?")), Object(external_wp_element_["createElement"])(keyboard_shortcuts, {
-      openEntitiesSavedStates: openEntitiesSavedStates
-    })),
-    actions: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isEntitiesSavedStatesOpen ? Object(external_wp_element_["createElement"])(external_wp_editor_["EntitiesSavedStates"], {
-      close: closeEntitiesSavedStates
-    }) : Object(external_wp_element_["createElement"])("div", {
-      className: "edit-site-editor__toggle-save-panel"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      variant: "secondary",
-      className: "edit-site-editor__toggle-save-panel-button",
-      onClick: openEntitiesSavedStates,
-      "aria-expanded": false
-    }, Object(external_wp_i18n_["__"])('Open save panel')))),
-    footer: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockBreadcrumb"], null),
-    shortcuts: {
-      previous: previousShortcut,
-      next: nextShortcut
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Name'),
+    value: title,
+    onChange: setTitle,
+    required: true
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.BaseControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Area'),
+    id: `edit-site-create-template-part-modal__area-selection-${instanceId}`,
+    className: "edit-site-create-template-part-modal__area-base-control"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalRadioGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Area'),
+    className: "edit-site-create-template-part-modal__area-radio-group",
+    id: `edit-site-create-template-part-modal__area-selection-${instanceId}`,
+    onChange: setArea,
+    checked: area
+  }, templatePartAreas.map(_ref2 => {
+    let {
+      icon,
+      label,
+      area: value,
+      description
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalRadio, {
+      key: label,
+      value: value,
+      className: "edit-site-create-template-part-modal__area-radio"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
+      align: "start",
+      justify: "start"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+      icon: icon
+    })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexBlock, {
+      className: "edit-site-create-template-part-modal__option-label"
+    }, label, (0,external_wp_element_namespaceObject.createElement)("div", null, description)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, {
+      className: "edit-site-create-template-part-modal__checkbox"
+    }, area === value && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+      icon: library_check
+    }))));
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
+    className: "edit-site-create-template-part-modal__modal-actions",
+    justify: "flex-end"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    onClick: () => {
+      closeModal();
     }
-  }), Object(external_wp_element_["createElement"])(WelcomeGuide, null), Object(external_wp_element_["createElement"])(external_wp_components_["Popover"].Slot, null), Object(external_wp_element_["createElement"])(external_wp_plugins_["PluginArea"], null))))))));
-}
-
-/* harmony default export */ var editor = (Editor);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/use-register-shortcuts.js
-/**
- * WordPress dependencies
- */
-
-
-
-
-function useRegisterShortcuts() {
-  const {
-    registerShortcut
-  } = Object(external_wp_data_["useDispatch"])(external_wp_keyboardShortcuts_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
-    registerShortcut({
-      name: 'core/edit-site/next-region',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Navigate to the next part of the editor.'),
-      keyCombination: {
-        modifier: 'ctrl',
-        character: '`'
-      },
-      aliases: [{
-        modifier: 'access',
-        character: 'n'
-      }]
-    });
-    registerShortcut({
-      name: 'core/edit-site/previous-region',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Navigate to the previous part of the editor.'),
-      keyCombination: {
-        modifier: 'ctrlShift',
-        character: '`'
-      },
-      aliases: [{
-        modifier: 'access',
-        character: 'p'
-      }]
-    });
-  }, []);
+  }, (0,external_wp_i18n_namespaceObject.__)('Cancel'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "primary",
+    type: "submit",
+    disabled: !title,
+    isBusy: isSubmitting
+  }, (0,external_wp_i18n_namespaceObject.__)('Create'))))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/add-new-template/new-template.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-part-converter/convert-to-template-part.js


 /**
@@ -7791,246 +7662,174 @@ function useRegisterShortcuts() {



+
+
 /**
  * Internal dependencies
  */


-const DEFAULT_TEMPLATE_SLUGS = ['front-page', 'single-post', 'page', 'archive', 'search', '404', 'index'];
-function NewTemplate(_ref) {
+function ConvertToTemplatePart(_ref) {
   let {
-    postType
+    clientIds,
+    blocks
   } = _ref;
-  const history = useHistory();
+  const [isModalOpen, setIsModalOpen] = (0,external_wp_element_namespaceObject.useState)(false);
   const {
-    templates,
-    defaultTemplateTypes
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    templates: select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_template', {
-      per_page: -1
-    }),
-    defaultTemplateTypes: select(external_wp_editor_["store"]).__experimentalGetDefaultTemplateTypes()
-  }), []);
+    replaceBlocks
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
   const {
     saveEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
   const {
-    createErrorNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const {
-    getLastEntitySaveError
-  } = Object(external_wp_data_["useSelect"])(external_wp_coreData_["store"]);
+    createSuccessNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);

-  async function createTemplate(_ref2) {
+  const onConvert = async _ref2 => {
     let {
-      slug
+      title,
+      area
     } = _ref2;
+    // Currently template parts only allow latin chars.
+    // Fallback slug will receive suffix by default.
+    const cleanSlug = (0,external_lodash_namespaceObject.kebabCase)(title).replace(/[^\w-]+/g, '') || 'wp-custom-part';
+    const templatePart = await saveEntityRecord('postType', 'wp_template_part', {
+      slug: cleanSlug,
+      title,
+      content: (0,external_wp_blocks_namespaceObject.serialize)(blocks),
+      area
+    });
+    replaceBlocks(clientIds, (0,external_wp_blocks_namespaceObject.createBlock)('core/template-part', {
+      slug: templatePart.slug,
+      theme: templatePart.theme
+    }));
+    createSuccessNotice((0,external_wp_i18n_namespaceObject.__)('Template part created.'), {
+      type: 'snackbar'
+    }); // The modal and this component will be unmounted because of `replaceBlocks` above,
+    // so no need to call `closeModal` or `onClose`.
+  };

-    try {
-      const {
-        title,
-        description
-      } = Object(external_lodash_["find"])(defaultTemplateTypes, {
-        slug
-      });
-      const template = await saveEntityRecord('postType', 'wp_template', {
-        excerpt: description,
-        // Slugs need to be strings, so this is for template `404`
-        slug: slug.toString(),
-        status: 'publish',
-        title
-      });
-      const lastEntitySaveError = getLastEntitySaveError('postType', 'wp_template', template.id);
-
-      if (lastEntitySaveError) {
-        throw lastEntitySaveError;
-      } // Navigate to the created template editor.
-
-
-      history.push({
-        postId: template.id,
-        postType: template.type
-      }); // TODO: Add a success notice?
-    } catch (error) {
-      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : Object(external_wp_i18n_["__"])('An error occurred while creating the template.');
-      createErrorNotice(errorMessage, {
-        type: 'snackbar'
-      });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockSettingsMenuControls, null, () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: () => {
+      setIsModalOpen(true);
     }
-  }
-
-  const existingTemplateSlugs = Object(external_lodash_["map"])(templates, 'slug');
-  const missingTemplates = Object(external_lodash_["filter"])(defaultTemplateTypes, template => Object(external_lodash_["includes"])(DEFAULT_TEMPLATE_SLUGS, template.slug) && !Object(external_lodash_["includes"])(existingTemplateSlugs, template.slug));
-
-  if (!missingTemplates.length) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    className: "edit-site-new-template-dropdown",
-    icon: null,
-    text: postType.labels.add_new,
-    label: postType.labels.add_new_item,
-    popoverProps: {
-      noArrow: false
+  }, (0,external_wp_i18n_namespaceObject.__)('Make template part'))), isModalOpen && (0,external_wp_element_namespaceObject.createElement)(CreateTemplatePartModal, {
+    closeModal: () => {
+      setIsModalOpen(false);
     },
-    toggleProps: {
-      variant: 'primary'
-    }
-  }, () => Object(external_wp_element_["createElement"])(external_wp_components_["NavigableMenu"], {
-    className: "edit-site-new-template-dropdown__popover"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: postType.labels.add_new_item
-  }, Object(external_lodash_["map"])(missingTemplates, _ref3 => {
-    let {
-      title,
-      description,
-      slug
-    } = _ref3;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-      info: description,
-      key: slug,
-      onClick: () => {
-        createTemplate({
-          slug
-        }); // We will be navigated way so no need to close the dropdown.
-      }
-    }, title);
-  }))));
+    onCreate: onConvert
+  }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/add-new-template/new-template-part.js
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/template-part-converter/index.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */


-
-
-
-
-
 /**
  * Internal dependencies
  */



-function NewTemplatePart(_ref) {
-  let {
-    postType
-  } = _ref;
-  const history = useHistory();
-  const [isModalOpen, setIsModalOpen] = Object(external_wp_element_["useState"])(false);
-  const {
-    createErrorNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const {
-    saveEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  const {
-    getLastEntitySaveError
-  } = Object(external_wp_data_["useSelect"])(external_wp_coreData_["store"]);
-
-  async function createTemplatePart(_ref2) {
-    let {
-      title,
-      area
-    } = _ref2;
-
-    if (!title) {
-      createErrorNotice(Object(external_wp_i18n_["__"])('Title is not defined.'), {
-        type: 'snackbar'
-      });
-      return;
-    }
-
-    try {
-      // Currently template parts only allow latin chars.
-      // Fallback slug will receive suffix by default.
-      const cleanSlug = Object(external_lodash_["kebabCase"])(title).replace(/[^\w-]+/g, '') || 'wp-custom-part';
-      const templatePart = await saveEntityRecord('postType', 'wp_template_part', {
-        slug: cleanSlug,
-        title,
-        content: '',
-        area
-      });
-      const lastEntitySaveError = getLastEntitySaveError('postType', 'wp_template_part', templatePart.id);
-
-      if (lastEntitySaveError) {
-        throw lastEntitySaveError;
-      }
+function TemplatePartConverter() {
+  var _blocks$;

-      setIsModalOpen(false); // Navigate to the created template part editor.
+  const {
+    clientIds,
+    blocks
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSelectedBlockClientIds,
+      getBlocksByClientId
+    } = select(external_wp_blockEditor_namespaceObject.store);
+    const selectedBlockClientIds = getSelectedBlockClientIds();
+    return {
+      clientIds: selectedBlockClientIds,
+      blocks: getBlocksByClientId(selectedBlockClientIds)
+    };
+  }, []); // Allow converting a single template part to standard blocks.

-      history.push({
-        postId: templatePart.id,
-        postType: templatePart.type
-      }); // TODO: Add a success notice?
-    } catch (error) {
-      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : Object(external_wp_i18n_["__"])('An error occurred while creating the template part.');
-      createErrorNotice(errorMessage, {
-        type: 'snackbar'
-      });
-      setIsModalOpen(false);
-    }
+  if (blocks.length === 1 && ((_blocks$ = blocks[0]) === null || _blocks$ === void 0 ? void 0 : _blocks$.name) === 'core/template-part') {
+    return (0,external_wp_element_namespaceObject.createElement)(ConvertToRegularBlocks, {
+      clientId: clientIds[0]
+    });
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "primary",
-    onClick: () => {
-      setIsModalOpen(true);
-    }
-  }, postType.labels.add_new), isModalOpen && Object(external_wp_element_["createElement"])(CreateTemplatePartModal, {
-    closeModal: () => setIsModalOpen(false),
-    onCreate: createTemplatePart
-  }));
+  return (0,external_wp_element_namespaceObject.createElement)(ConvertToTemplatePart, {
+    clientIds: clientIds,
+    blocks: blocks
+  });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/add-new-template/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/pencil.js


 /**
  * WordPress dependencies
  */

+const pencil = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_pencil = (pencil);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/edit.js
 /**
  * Internal dependencies
  */

+/* harmony default export */ var edit = (library_pencil);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/navigate-to-link/index.js

-function AddNewTemplate(_ref) {
-  let {
-    templateType = 'wp_template'
-  } = _ref;
-  const postType = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).getPostType(templateType), [templateType]);

-  if (!postType) {
-    return null;
-  }
+/**
+ * WordPress dependencies
+ */

-  if (templateType === 'wp_template') {
-    return Object(external_wp_element_["createElement"])(NewTemplate, {
-      postType: postType
-    });
-  } else if (templateType === 'wp_template_part') {
-    return Object(external_wp_element_["createElement"])(NewTemplatePart, {
-      postType: postType
-    });
-  }

-  return null;
+
+
+
+
+
+function NavigateToLink(_ref) {
+  let {
+    type,
+    id,
+    activePage,
+    onActivePageChange
+  } = _ref;
+  const post = (0,external_wp_data_namespaceObject.useSelect)(select => type && id && type !== 'URL' && select(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', type, id), [type, id]);
+  const onClick = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (!(post !== null && post !== void 0 && post.link)) return null;
+    const path = (0,external_wp_url_namespaceObject.getPathAndQueryString)(post.link);
+    if (path === (activePage === null || activePage === void 0 ? void 0 : activePage.path)) return null;
+    return () => onActivePageChange({
+      type,
+      slug: post.slug,
+      path,
+      context: {
+        postType: post.type,
+        postId: post.id
+      }
+    });
+  }, [post, activePage === null || activePage === void 0 ? void 0 : activePage.path, onActivePageChange]);
+  return onClick && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: edit,
+    label: (0,external_wp_i18n_namespaceObject.__)('Edit Page Template'),
+    onClick: onClick
+  });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/header.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/block-inspector-button.js


 /**
@@ -8039,51 +7838,51 @@ function AddNewTemplate(_ref) {



+
+
+
 /**
  * Internal dependencies
  */


-function header_Header(_ref) {
-  var _postType$labels;

+
+function BlockInspectorButton(_ref) {
   let {
-    templateType
+    onClick = () => {}
   } = _ref;
-  const postType = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).getPostType(templateType), [templateType]);
+  const {
+    shortcut,
+    isBlockInspectorOpen
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    shortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getShortcutRepresentation('core/edit-site/toggle-block-settings-sidebar'),
+    isBlockInspectorOpen: select(store).getActiveComplementaryArea(store_store.name) === SIDEBAR_BLOCK
+  }), []);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const label = isBlockInspectorOpen ? (0,external_wp_i18n_namespaceObject.__)('Hide more settings') : (0,external_wp_i18n_namespaceObject.__)('Show more settings');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: () => {
+      if (isBlockInspectorOpen) {
+        disableComplementaryArea(STORE_NAME);
+        (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('Block settings closed'));
+      } else {
+        enableComplementaryArea(STORE_NAME, SIDEBAR_BLOCK);
+        (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('Additional settings are now available in the Editor block settings sidebar'));
+      } // Close dropdown menu.

-  if (!postType) {
-    return null;
-  }

-  return Object(external_wp_element_["createElement"])("header", {
-    className: "edit-site-list-header"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHeading"], {
-    level: 1,
-    className: "edit-site-list-header__title"
-  }, (_postType$labels = postType.labels) === null || _postType$labels === void 0 ? void 0 : _postType$labels.name), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-site-list-header__right"
-  }, Object(external_wp_element_["createElement"])(AddNewTemplate, {
-    templateType: templateType
-  })));
+      onClick();
+    },
+    shortcut: shortcut
+  }, label);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/is-template-removable.js
-/**
- * Check if a template is removable.
- *
- * @param {Object} template The template entity to check.
- * @return {boolean} Whether the template is revertable.
- */
-function isTemplateRemovable(template) {
-  if (!template) {
-    return false;
-  }
-
-  return template.source === 'custom' && !template.has_theme_file;
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/edit-template-part-menu-button/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/actions/rename-menu-item.js


 /**
@@ -8095,105 +7894,87 @@ function isTemplateRemovable(template) {



-function RenameMenuItem(_ref) {
-  let {
-    template,
-    onClose
-  } = _ref;
-  const [title, setTitle] = Object(external_wp_element_["useState"])(() => template.title.rendered);
-  const [isModalOpen, setIsModalOpen] = Object(external_wp_element_["useState"])(false);
-  const {
-    getLastEntitySaveError
-  } = Object(external_wp_data_["useSelect"])(external_wp_coreData_["store"]);
-  const {
-    editEntityRecord,
-    saveEditedEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  const {
-    createSuccessNotice,
-    createErrorNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
+/**
+ * Internal dependencies
+ */

-  if (!template.is_custom) {
-    return null;
-  }

-  async function onTemplateRename(event) {
-    event.preventDefault();

-    try {
-      await editEntityRecord('postType', template.type, template.id, {
-        title
-      }); // Update state before saving rerenders the list.
-
-      setTitle('');
-      setIsModalOpen(false);
-      onClose(); // Persist edited entity.
-
-      await saveEditedEntityRecord('postType', template.type, template.id);
-      const lastError = getLastEntitySaveError('postType', template.type, template.id);
+function EditTemplatePartMenuButton() {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockSettingsMenuControls, null, _ref => {
+    let {
+      selectedClientIds,
+      onClose
+    } = _ref;
+    return (0,external_wp_element_namespaceObject.createElement)(EditTemplatePartMenuItem, {
+      selectedClientId: selectedClientIds[0],
+      onClose: onClose
+    });
+  });
+}

-      if (lastError) {
-        throw lastError;
-      }
+function EditTemplatePartMenuItem(_ref2) {
+  let {
+    selectedClientId,
+    onClose
+  } = _ref2;
+  const {
+    params
+  } = useLocation();
+  const selectedTemplatePart = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const block = select(external_wp_blockEditor_namespaceObject.store).getBlock(selectedClientId);

-      createSuccessNotice(Object(external_wp_i18n_["__"])('Template has been renamed.'), {
-        type: 'snackbar'
-      });
-    } catch (error) {
-      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : Object(external_wp_i18n_["__"])('An error occurred while renaming the template.');
-      createErrorNotice(errorMessage, {
-        type: 'snackbar'
-      });
+    if (block && (0,external_wp_blocks_namespaceObject.isTemplatePart)(block)) {
+      const {
+        theme,
+        slug
+      } = block.attributes;
+      return select(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', 'wp_template_part', // Ideally this should be an official public API.
+      `${theme}//${slug}`);
     }
+  }, [selectedClientId]);
+  const linkProps = useLink({
+    postId: selectedTemplatePart === null || selectedTemplatePart === void 0 ? void 0 : selectedTemplatePart.id,
+    postType: selectedTemplatePart === null || selectedTemplatePart === void 0 ? void 0 : selectedTemplatePart.type
+  }, {
+    fromTemplateId: params.postId
+  });
+
+  if (!selectedTemplatePart) {
+    return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: () => {
-      setIsModalOpen(true);
-      setTitle(template.title.rendered);
-    }
-  }, Object(external_wp_i18n_["__"])('Rename')), isModalOpen && Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    title: Object(external_wp_i18n_["__"])('Rename template'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
-    onRequestClose: () => {
-      setIsModalOpen(false);
-    },
-    overlayClassName: "edit-site-list__rename-modal"
-  }, Object(external_wp_element_["createElement"])("form", {
-    onSubmit: onTemplateRename
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
-    align: "flex-start",
-    gap: 8
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    label: Object(external_wp_i18n_["__"])('Name'),
-    value: title,
-    onChange: setTitle,
-    required: true
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
-    className: "edit-site-list__rename-modal-actions",
-    justify: "flex-end",
-    expanded: false
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "tertiary",
-    onClick: () => {
-      setIsModalOpen(false);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, extends_extends({}, linkProps, {
+    onClick: event => {
+      linkProps.onClick(event);
+      onClose();
     }
-  }, Object(external_wp_i18n_["__"])('Cancel'))), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "primary",
-    type: "submit"
-  }, Object(external_wp_i18n_["__"])('Save')))))));
+  }),
+  /* translators: %s: template part title */
+  (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('Edit %s'), selectedTemplatePart.slug));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/actions/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/arrow-left.js


 /**
  * WordPress dependencies
  */

+const arrowLeft = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var arrow_left = (arrowLeft);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/back-button.js


+/**
+ * WordPress dependencies
+ */



@@ -8203,104 +7984,71 @@ function RenameMenuItem(_ref) {



+function BackButton() {
+  var _location$state;

+  const location = useLocation();
+  const history = useHistory();
+  const isTemplatePart = location.params.postType === 'wp_template_part';
+  const previousTemplateId = (_location$state = location.state) === null || _location$state === void 0 ? void 0 : _location$state.fromTemplateId;

-function Actions(_ref) {
-  let {
-    template
-  } = _ref;
-  const {
-    removeTemplate,
-    revertTemplate
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    saveEditedEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  const {
-    createSuccessNotice,
-    createErrorNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const isRemovable = isTemplateRemovable(template);
-  const isRevertable = isTemplateRevertable(template);
-
-  if (!isRemovable && !isRevertable) {
+  if (!isTemplatePart || !previousTemplateId) {
     return null;
   }

-  async function revertAndSaveTemplate() {
-    try {
-      await revertTemplate(template, {
-        allowUndo: false
-      });
-      await saveEditedEntityRecord('postType', template.type, template.id);
-      createSuccessNotice(Object(external_wp_i18n_["__"])('Template reverted.'), {
-        type: 'snackbar'
-      });
-    } catch (error) {
-      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : Object(external_wp_i18n_["__"])('An error occurred while reverting the template.');
-      createErrorNotice(errorMessage, {
-        type: 'snackbar'
-      });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "edit-site-visual-editor__back-button",
+    icon: arrow_left,
+    onClick: () => {
+      history.back();
     }
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
-    icon: more_vertical["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Actions'),
-    className: "edit-site-list-table__actions"
-  }, _ref2 => {
-    let {
-      onClose
-    } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, isRemovable && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(RenameMenuItem, {
-      template: template,
-      onClose: onClose
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-      isDestructive: true,
-      onClick: () => {
-        removeTemplate(template);
-        onClose();
-      }
-    }, Object(external_wp_i18n_["__"])('Delete template'))), isRevertable && Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-      info: Object(external_wp_i18n_["__"])('Restore template to default state'),
-      onClick: () => {
-        revertAndSaveTemplate();
-        onClose();
-      }
-    }, Object(external_wp_i18n_["__"])('Clear customizations')));
-  });
+  }, (0,external_wp_i18n_namespaceObject.__)('Back'));
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plugins.js
-var plugins = __webpack_require__("0Ene");
+/* harmony default export */ var back_button = (BackButton);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/comment-author-avatar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/resize-handle.js


 /**
  * WordPress dependencies
  */

-const commentAuthorAvatar = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M7.25 16.4371C6.16445 15.2755 5.5 13.7153 5.5 12C5.5 8.41015 8.41015 5.5 12 5.5C15.5899 5.5 18.5 8.41015 18.5 12C18.5 13.7153 17.8356 15.2755 16.75 16.4371V16C16.75 14.4812 15.5188 13.25 14 13.25L10 13.25C8.48122 13.25 7.25 14.4812 7.25 16V16.4371ZM8.75 17.6304C9.70606 18.1835 10.8161 18.5 12 18.5C13.1839 18.5 14.2939 18.1835 15.25 17.6304V16C15.25 15.3096 14.6904 14.75 14 14.75L10 14.75C9.30964 14.75 8.75 15.3096 8.75 16V17.6304ZM4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM14 10C14 11.1046 13.1046 12 12 12C10.8954 12 10 11.1046 10 10C10 8.89543 10.8954 8 12 8C13.1046 8 14 8.89543 14 10Z",
-  fillRule: "evenodd",
-  clipRule: "evenodd",
-  fill: "black"
-}));
-/* harmony default export */ var comment_author_avatar = (commentAuthorAvatar);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/globe.js
-var globe = __webpack_require__("K8zD");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/added-by.js
+const DELTA_DISTANCE = 20; // The distance to resize per keydown in pixels.
+
+function ResizeHandle(_ref) {
+  let {
+    direction,
+    resizeWidthBy
+  } = _ref;
+
+  function handleKeyDown(event) {
+    const {
+      keyCode
+    } = event;
+
+    if (direction === 'left' && keyCode === external_wp_keycodes_namespaceObject.LEFT || direction === 'right' && keyCode === external_wp_keycodes_namespaceObject.RIGHT) {
+      resizeWidthBy(DELTA_DISTANCE);
+    } else if (direction === 'left' && keyCode === external_wp_keycodes_namespaceObject.RIGHT || direction === 'right' && keyCode === external_wp_keycodes_namespaceObject.LEFT) {
+      resizeWidthBy(-DELTA_DISTANCE);
+    }
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("button", {
+    className: `resizable-editor__drag-handle is-${direction}`,
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Drag to resize'),
+    "aria-describedby": `resizable-editor__resize-help-${direction}`,
+    onKeyDown: handleKeyDown
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    id: `resizable-editor__resize-help-${direction}`
+  }, (0,external_wp_i18n_namespaceObject.__)('Use left and right arrow keys to resize the canvas.')));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/resizable-editor.js


-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -8310,269 +8058,146 @@ var globe = __webpack_require__("K8zD");



+/**
+ * Internal dependencies
+ */


-const TEMPLATE_POST_TYPE_NAMES = ['wp_template', 'wp_template_part'];

-function CustomizedTooltip(_ref) {
+const DEFAULT_STYLES = {
+  width: '100%',
+  height: '100%'
+}; // Removes the inline styles in the drag handles.
+
+const HANDLE_STYLES_OVERRIDE = {
+  position: undefined,
+  userSelect: undefined,
+  cursor: undefined,
+  width: undefined,
+  height: undefined,
+  top: undefined,
+  right: undefined,
+  bottom: undefined,
+  left: undefined
+};
+
+function ResizableEditor(_ref) {
   let {
-    isCustomized,
-    children
+    enableResizing,
+    settings,
+    ...props
   } = _ref;
+  const deviceType = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).__experimentalGetPreviewDeviceType(), []);
+  const deviceStyles = (0,external_wp_blockEditor_namespaceObject.__experimentalUseResizeCanvas)(deviceType);
+  const [width, setWidth] = (0,external_wp_element_namespaceObject.useState)(DEFAULT_STYLES.width);
+  const [height, setHeight] = (0,external_wp_element_namespaceObject.useState)(DEFAULT_STYLES.height);
+  const iframeRef = (0,external_wp_element_namespaceObject.useRef)();
+  const mouseMoveTypingResetRef = (0,external_wp_blockEditor_namespaceObject.__unstableUseMouseMoveTypingReset)();
+  const ref = (0,external_wp_compose_namespaceObject.useMergeRefs)([iframeRef, mouseMoveTypingResetRef]);
+  (0,external_wp_element_namespaceObject.useEffect)(function autoResizeIframeHeight() {
+    const iframe = iframeRef.current;

-  if (!isCustomized) {
-    return children;
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Tooltip"], {
-    text: Object(external_wp_i18n_["__"])('This template has been customized')
-  }, children);
-}
+    if (!iframe || !enableResizing) {
+      return;
+    }

-function BaseAddedBy(_ref2) {
-  let {
-    text,
-    icon,
-    imageUrl,
-    isCustomized
-  } = _ref2;
-  const [isImageLoaded, setIsImageLoaded] = Object(external_wp_element_["useState"])(false);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHStack"], {
-    alignment: "left"
-  }, Object(external_wp_element_["createElement"])(CustomizedTooltip, {
-    isCustomized: isCustomized
-  }, imageUrl ? Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('edit-site-list-added-by__avatar', {
-      'is-loaded': isImageLoaded
-    })
-  }, Object(external_wp_element_["createElement"])("img", {
-    onLoad: () => setIsImageLoaded(true),
-    alt: "",
-    src: imageUrl
-  })) : Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('edit-site-list-added-by__icon', {
-      'is-customized': isCustomized
-    })
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
-    icon: icon
-  }))), Object(external_wp_element_["createElement"])("span", null, text));
-}
+    let animationFrame = null;

-function AddedByTheme(_ref3) {
-  var _theme$name;
+    function resizeHeight() {
+      if (!animationFrame) {
+        // Throttle the updates on animation frame.
+        animationFrame = iframe.contentWindow.requestAnimationFrame(() => {
+          setHeight(iframe.contentDocument.documentElement.scrollHeight);
+          animationFrame = null;
+        });
+      }
+    }

-  let {
-    slug,
-    isCustomized
-  } = _ref3;
-  const theme = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).getTheme(slug), [slug]);
-  return Object(external_wp_element_["createElement"])(BaseAddedBy, {
-    icon: layout["a" /* default */],
-    text: (theme === null || theme === void 0 ? void 0 : (_theme$name = theme.name) === null || _theme$name === void 0 ? void 0 : _theme$name.rendered) || slug,
-    isCustomized: isCustomized
-  });
-}
+    let resizeObserver;

-function AddedByPlugin(_ref4) {
-  let {
-    slug,
-    isCustomized
-  } = _ref4;
-  const plugin = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).getPlugin(slug), [slug]);
-  return Object(external_wp_element_["createElement"])(BaseAddedBy, {
-    icon: plugins["a" /* default */],
-    text: (plugin === null || plugin === void 0 ? void 0 : plugin.name) || slug,
-    isCustomized: isCustomized
-  });
-}
-
-function AddedByAuthor(_ref5) {
-  var _user$avatar_urls;
-
-  let {
-    id
-  } = _ref5;
-  const user = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).getUser(id), [id]);
-  return Object(external_wp_element_["createElement"])(BaseAddedBy, {
-    icon: comment_author_avatar,
-    imageUrl: user === null || user === void 0 ? void 0 : (_user$avatar_urls = user.avatar_urls) === null || _user$avatar_urls === void 0 ? void 0 : _user$avatar_urls[48],
-    text: user === null || user === void 0 ? void 0 : user.nickname
-  });
-}
-
-function AddedBySite() {
-  const {
-    name,
-    logoURL
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _getMedia;
-
-    const {
-      getEntityRecord,
-      getMedia
-    } = select(external_wp_coreData_["store"]);
-    const siteData = getEntityRecord('root', '__unstableBase');
-    return {
-      name: siteData === null || siteData === void 0 ? void 0 : siteData.name,
-      logoURL: siteData !== null && siteData !== void 0 && siteData.site_logo ? (_getMedia = getMedia(siteData.site_logo)) === null || _getMedia === void 0 ? void 0 : _getMedia.source_url : undefined
-    };
-  }, []);
-  return Object(external_wp_element_["createElement"])(BaseAddedBy, {
-    icon: globe["a" /* default */],
-    imageUrl: logoURL,
-    text: name
-  });
-}
-
-function AddedBy(_ref6) {
-  let {
-    templateType,
-    template
-  } = _ref6;
+    function registerObserver() {
+      var _resizeObserver;

-  if (!template) {
-    return;
-  }
+      (_resizeObserver = resizeObserver) === null || _resizeObserver === void 0 ? void 0 : _resizeObserver.disconnect();
+      resizeObserver = new iframe.contentWindow.ResizeObserver(resizeHeight); // Observing the <html> rather than the <body> because the latter
+      // gets destroyed and remounted after initialization in <Iframe>.

-  if (TEMPLATE_POST_TYPE_NAMES.includes(templateType)) {
-    // Template originally provided by a theme, but customized by a user.
-    // Templates originally didn't have the 'origin' field so identify
-    // older customized templates by checking for no origin and a 'theme'
-    // or 'custom' source.
-    if (template.has_theme_file && (template.origin === 'theme' || !template.origin && ['theme', 'custom'].includes(template.source))) {
-      return Object(external_wp_element_["createElement"])(AddedByTheme, {
-        slug: template.theme,
-        isCustomized: template.source === 'custom'
-      });
-    } // Template originally provided by a plugin, but customized by a user.
+      resizeObserver.observe(iframe.contentDocument.documentElement);
+      resizeHeight();
+    } // This is only required in Firefox for some unknown reasons.


-    if (template.has_theme_file && template.origin === 'plugin') {
-      return Object(external_wp_element_["createElement"])(AddedByPlugin, {
-        slug: template.theme,
-        isCustomized: template.source === 'custom'
-      });
-    } // Template was created from scratch, but has no author. Author support
-    // was only added to templates in WordPress 5.9. Fallback to showing the
-    // site logo and title.
+    iframe.addEventListener('load', registerObserver); // This is required in Chrome and Safari.

+    registerObserver();
+    return () => {
+      var _iframe$contentWindow, _resizeObserver2;

-    if (!template.has_theme_file && template.source === 'custom' && !template.author) {
-      return Object(external_wp_element_["createElement"])(AddedBySite, null);
+      (_iframe$contentWindow = iframe.contentWindow) === null || _iframe$contentWindow === void 0 ? void 0 : _iframe$contentWindow.cancelAnimationFrame(animationFrame);
+      (_resizeObserver2 = resizeObserver) === null || _resizeObserver2 === void 0 ? void 0 : _resizeObserver2.disconnect();
+      iframe.removeEventListener('load', registerObserver);
+    };
+  }, [enableResizing]);
+  const resizeWidthBy = (0,external_wp_element_namespaceObject.useCallback)(deltaPixels => {
+    if (iframeRef.current) {
+      setWidth(iframeRef.current.offsetWidth + deltaPixels);
     }
-  } // Simply show the author for templates created from scratch that have an
-  // author or for any other post type.
-
-
-  return Object(external_wp_element_["createElement"])(AddedByAuthor, {
-    id: template.author
-  });
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/table.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-function Table(_ref) {
-  let {
-    templateType
-  } = _ref;
-  const {
-    templates,
-    isLoading,
-    postType
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getEntityRecords,
-      hasFinishedResolution,
-      getPostType
-    } = select(external_wp_coreData_["store"]);
-    return {
-      templates: getEntityRecords('postType', templateType, {
-        per_page: -1
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ResizableBox, {
+    size: {
+      width,
+      height
+    },
+    onResizeStop: (event, direction, element) => {
+      setWidth(element.style.width);
+    },
+    minWidth: 300,
+    maxWidth: "100%",
+    maxHeight: "100%",
+    enable: {
+      right: enableResizing,
+      left: enableResizing
+    },
+    showHandle: enableResizing // The editor is centered horizontally, resizing it only
+    // moves half the distance. Hence double the ratio to correctly
+    // align the cursor to the resizer handle.
+    ,
+    resizeRatio: 2,
+    handleComponent: {
+      left: (0,external_wp_element_namespaceObject.createElement)(ResizeHandle, {
+        direction: "left",
+        resizeWidthBy: resizeWidthBy
       }),
-      isLoading: !hasFinishedResolution('getEntityRecords', ['postType', templateType, {
-        per_page: -1
-      }]),
-      postType: getPostType(templateType)
-    };
-  }, [templateType]);
-
-  if (!templates || isLoading) {
-    return null;
-  }
-
-  if (!templates.length) {
-    var _postType$labels, _postType$labels$name;
-
-    return Object(external_wp_element_["createElement"])("div", null, Object(external_wp_i18n_["sprintf"])( // translators: The template type name, should be either "templates" or "template parts".
-    Object(external_wp_i18n_["__"])('No %s found.'), postType === null || postType === void 0 ? void 0 : (_postType$labels = postType.labels) === null || _postType$labels === void 0 ? void 0 : (_postType$labels$name = _postType$labels.name) === null || _postType$labels$name === void 0 ? void 0 : _postType$labels$name.toLowerCase()));
-  }
+      right: (0,external_wp_element_namespaceObject.createElement)(ResizeHandle, {
+        direction: "right",
+        resizeWidthBy: resizeWidthBy
+      })
+    },
+    handleClasses: undefined,
+    handleStyles: {
+      left: HANDLE_STYLES_OVERRIDE,
+      right: HANDLE_STYLES_OVERRIDE
+    }
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableIframe, extends_extends({
+    style: enableResizing ? undefined : deviceStyles,
+    head: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableEditorStyles, {
+      styles: settings.styles
+    }), (0,external_wp_element_namespaceObject.createElement)("style", null, // Forming a "block formatting context" to prevent margin collapsing.
+    // @see https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
+    `.is-root-container { display: flow-root; }`), enableResizing && (0,external_wp_element_namespaceObject.createElement)("style", null, // Force the <html> and <body>'s heights to fit the content.
+    `html, body { height: -moz-fit-content !important; height: fit-content !important; min-height: 0 !important; }`, // Some themes will have `min-height: 100vh` for the root container,
+    // which isn't a requirement in auto resize mode.
+    `.is-root-container { min-height: 0 !important; }`)),
+    ref: ref,
+    name: "editor-canvas",
+    className: "edit-site-visual-editor__editor-canvas"
+  }, props)));
+}

-  return (// These explicit aria roles are needed for Safari.
-    // See https://developer.mozilla.org/en-US/docs/Web/CSS/display#tables
-    Object(external_wp_element_["createElement"])("table", {
-      className: "edit-site-list-table",
-      role: "table"
-    }, Object(external_wp_element_["createElement"])("thead", null, Object(external_wp_element_["createElement"])("tr", {
-      className: "edit-site-list-table-head",
-      role: "row"
-    }, Object(external_wp_element_["createElement"])("th", {
-      className: "edit-site-list-table-column",
-      role: "columnheader"
-    }, Object(external_wp_i18n_["__"])('Template')), Object(external_wp_element_["createElement"])("th", {
-      className: "edit-site-list-table-column",
-      role: "columnheader"
-    }, Object(external_wp_i18n_["__"])('Added by')), Object(external_wp_element_["createElement"])("th", {
-      className: "edit-site-list-table-column",
-      role: "columnheader"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], null, Object(external_wp_i18n_["__"])('Actions'))))), Object(external_wp_element_["createElement"])("tbody", null, templates.map(template => {
-      var _template$title;
+/* harmony default export */ var resizable_editor = (ResizableEditor);

-      return Object(external_wp_element_["createElement"])("tr", {
-        key: template.id,
-        className: "edit-site-list-table-row",
-        role: "row"
-      }, Object(external_wp_element_["createElement"])("td", {
-        className: "edit-site-list-table-column",
-        role: "cell"
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalHeading"], {
-        level: 4
-      }, Object(external_wp_element_["createElement"])(Link, {
-        params: {
-          postId: template.id,
-          postType: template.type
-        }
-      }, ((_template$title = template.title) === null || _template$title === void 0 ? void 0 : _template$title.rendered) || template.slug)), template.description), Object(external_wp_element_["createElement"])("td", {
-        className: "edit-site-list-table-column",
-        role: "cell"
-      }, Object(external_wp_element_["createElement"])(AddedBy, {
-        templateType: templateType,
-        template: template
-      })), Object(external_wp_element_["createElement"])("td", {
-        className: "edit-site-list-table-column",
-        role: "cell"
-      }, Object(external_wp_element_["createElement"])(Actions, {
-        template: template
-      })));
-    })))
-  );
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/block-editor/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/index.js


 /**
@@ -8600,83 +8225,95 @@ function Table(_ref) {



-function List() {
-  var _postType$labels, _postType$labels2;

+const LAYOUT = {
+  type: 'default',
+  // At the root level of the site editor, no alignments should be allowed.
+  alignments: []
+};
+function BlockEditor(_ref) {
+  let {
+    setIsInserterOpen
+  } = _ref;
   const {
-    params: {
-      postType: templateType
-    }
-  } = useLocation();
-  useRegisterShortcuts();
-  const {
-    previousShortcut,
-    nextShortcut,
-    isNavigationOpen
-  } = Object(external_wp_data_["useSelect"])(select => {
+    settings,
+    templateType,
+    templateId,
+    page
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSettings,
+      getEditedPostType,
+      getEditedPostId,
+      getPage
+    } = select(store_store);
     return {
-      previousShortcut: select(external_wp_keyboardShortcuts_["store"]).getAllShortcutKeyCombinations('core/edit-site/previous-region'),
-      nextShortcut: select(external_wp_keyboardShortcuts_["store"]).getAllShortcutKeyCombinations('core/edit-site/next-region'),
-      isNavigationOpen: select(store).isNavigationOpened()
+      settings: getSettings(setIsInserterOpen),
+      templateType: getEditedPostType(),
+      templateId: getEditedPostId(),
+      page: getPage()
     };
-  }, []);
-  const postType = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).getPostType(templateType), [templateType]);
-  useTitle(postType === null || postType === void 0 ? void 0 : (_postType$labels = postType.labels) === null || _postType$labels === void 0 ? void 0 : _postType$labels.name); // `postType` could load in asynchronously. Only provide the detailed region labels if
-  // the postType has loaded, otherwise `InterfaceSkeleton` will fallback to the defaults.
-
-  const itemsListLabel = postType === null || postType === void 0 ? void 0 : (_postType$labels2 = postType.labels) === null || _postType$labels2 === void 0 ? void 0 : _postType$labels2.items_list;
-  const detailedRegionLabels = postType ? {
-    header: Object(external_wp_i18n_["sprintf"])( // translators: %s - the name of the page, 'Header' as in the header area of that page.
-    Object(external_wp_i18n_["__"])('%s - Header'), itemsListLabel),
-    body: Object(external_wp_i18n_["sprintf"])( // translators: %s - the name of the page, 'Content' as in the content area of that page.
-    Object(external_wp_i18n_["__"])('%s - Content'), itemsListLabel)
-  } : undefined;
-  return Object(external_wp_element_["createElement"])(build_module["e" /* InterfaceSkeleton */], {
-    className: classnames_default()('edit-site-list', {
-      'is-navigation-open': isNavigationOpen
-    }),
-    labels: {
-      drawer: Object(external_wp_i18n_["__"])('Navigation Sidebar'),
-      ...detailedRegionLabels
-    },
-    header: Object(external_wp_element_["createElement"])(header_Header, {
-      templateType: templateType
-    }),
-    drawer: Object(external_wp_element_["createElement"])(navigation_sidebar.Slot, null),
-    notices: Object(external_wp_element_["createElement"])(external_wp_editor_["EditorSnackbars"], null),
-    content: Object(external_wp_element_["createElement"])(Table, {
-      templateType: templateType
+  }, [setIsInserterOpen]);
+  const [blocks, onInput, onChange] = (0,external_wp_coreData_namespaceObject.useEntityBlockEditor)('postType', templateType);
+  const {
+    setPage
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const contentRef = (0,external_wp_element_namespaceObject.useRef)();
+  const mergedRefs = (0,external_wp_compose_namespaceObject.useMergeRefs)([contentRef, (0,external_wp_blockEditor_namespaceObject.__unstableUseTypingObserver)()]);
+  const isMobileViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('small', '<');
+  const {
+    clearSelectedBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const isTemplatePart = templateType === 'wp_template_part';
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockEditorProvider, {
+    settings: settings,
+    value: blocks,
+    onInput: onInput,
+    onChange: onChange,
+    useSubRegistry: false
+  }, (0,external_wp_element_namespaceObject.createElement)(EditTemplatePartMenuButton, null), (0,external_wp_element_namespaceObject.createElement)(TemplatePartConverter, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLinkControl.ViewerFill, null, (0,external_wp_element_namespaceObject.useCallback)(fillProps => (0,external_wp_element_namespaceObject.createElement)(NavigateToLink, extends_extends({}, fillProps, {
+    activePage: page,
+    onActivePageChange: setPage
+  })), [page])), (0,external_wp_element_namespaceObject.createElement)(SidebarInspectorFill, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockInspector, null)), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockTools, {
+    className: classnames_default()('edit-site-visual-editor', {
+      'is-focus-mode': isTemplatePart
     }),
-    shortcuts: {
-      previous: previousShortcut,
-      next: nextShortcut
+    __unstableContentRef: contentRef,
+    onClick: event => {
+      // Clear selected block when clicking on the gray background.
+      if (event.target === event.currentTarget) {
+        clearSelectedBlock();
+      }
     }
-  });
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockEditorKeyboardShortcuts.Register, null), (0,external_wp_element_namespaceObject.createElement)(back_button, null), (0,external_wp_element_namespaceObject.createElement)(resizable_editor // Reinitialize the editor and reset the states when the template changes.
+  , {
+    key: templateId,
+    enableResizing: isTemplatePart && // Disable resizing in mobile viewport.
+    !isMobileViewport,
+    settings: settings,
+    contentRef: mergedRefs
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockList, {
+    className: "edit-site-block-editor__block-list wp-site-blocks",
+    __experimentalLayout: LAYOUT,
+    renderAppender: isTemplatePart ? false : undefined
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableBlockSettingsMenuFirstItem, null, _ref2 => {
+    let {
+      onClose
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(BlockInspectorButton, {
+      onClick: onClose
+    });
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_reusableBlocks_namespaceObject.ReusableBlocksMenuItems, null));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/get-is-list-page.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/keyboard-shortcuts/index.js
 /**
- * Returns if the params match the list page route.
- *
- * @param {Object} params          The search params.
- * @param {string} params.postId   The post ID.
- * @param {string} params.postType The post type.
- * @return {boolean} Is list page or not.
+ * WordPress dependencies
  */
-function getIsListPage(_ref) {
-  let {
-    postId,
-    postType
-  } = _ref;
-  return !!(!postId && postType);
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/app/index.js


-/**
- * WordPress dependencies
- */
+


 /**
@@ -8687,27 +8324,158 @@ function getIsListPage(_ref) {



-
-function EditSiteApp(_ref) {
+function KeyboardShortcuts(_ref) {
   let {
-    reboot
+    openEntitiesSavedStates
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["SlotFillProvider"], null, Object(external_wp_element_["createElement"])(external_wp_editor_["UnsavedChangesWarning"], null), Object(external_wp_element_["createElement"])(Routes, null, _ref2 => {
-    let {
-      params
-    } = _ref2;
-    const isListPage = getIsListPage(params);
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isListPage ? Object(external_wp_element_["createElement"])(List, null) : Object(external_wp_element_["createElement"])(editor, {
-      onError: reboot
-    }), Object(external_wp_element_["createElement"])(navigation_sidebar // Open the navigation sidebar by default when in the list page.
-    , {
-      isDefaultOpen: !!isListPage,
-      activeTemplateType: isListPage ? params.postType : undefined
-    }));
-  }));
+  const {
+    __experimentalGetDirtyEntityRecords,
+    isSavingEntityRecord
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_coreData_namespaceObject.store);
+  const isListViewOpen = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).isListViewOpened(), []);
+  const isBlockInspectorOpen = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getActiveComplementaryArea(store_store.name) === SIDEBAR_BLOCK, []);
+  const {
+    redo,
+    undo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const {
+    setIsListViewOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-site/save', event => {
+    event.preventDefault();
+
+    const dirtyEntityRecords = __experimentalGetDirtyEntityRecords();
+
+    const isDirty = !!dirtyEntityRecords.length;
+    const isSaving = dirtyEntityRecords.some(record => isSavingEntityRecord(record.kind, record.name, record.key));
+
+    if (!isSaving && isDirty) {
+      openEntitiesSavedStates();
+    }
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-site/undo', event => {
+    undo();
+    event.preventDefault();
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-site/redo', event => {
+    redo();
+    event.preventDefault();
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-site/toggle-list-view', () => {
+    setIsListViewOpened(!isListViewOpen);
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-site/toggle-block-settings-sidebar', event => {
+    // This shortcut has no known clashes, but use preventDefault to prevent any
+    // obscure shortcuts from triggering.
+    event.preventDefault();
+
+    if (isBlockInspectorOpen) {
+      disableComplementaryArea(STORE_NAME);
+    } else {
+      enableComplementaryArea(STORE_NAME, SIDEBAR_BLOCK);
+    }
+  });
+  return null;
+}
+
+function KeyboardShortcutsRegister() {
+  // Registering the shortcuts
+  const {
+    registerShortcut
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_keyboardShortcuts_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    registerShortcut({
+      name: 'core/edit-site/save',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Save your changes.'),
+      keyCombination: {
+        modifier: 'primary',
+        character: 's'
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-site/undo',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Undo your last changes.'),
+      keyCombination: {
+        modifier: 'primary',
+        character: 'z'
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-site/redo',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Redo your last undo.'),
+      keyCombination: {
+        modifier: 'primaryShift',
+        character: 'z'
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-site/toggle-list-view',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Open the block list view.'),
+      keyCombination: {
+        modifier: 'access',
+        character: 'o'
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-site/toggle-block-settings-sidebar',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Show or hide the block settings sidebar.'),
+      keyCombination: {
+        modifier: 'primaryShift',
+        character: ','
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-site/keyboard-shortcuts',
+      category: 'main',
+      description: (0,external_wp_i18n_namespaceObject.__)('Display these keyboard shortcuts.'),
+      keyCombination: {
+        modifier: 'access',
+        character: 'h'
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-site/next-region',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Navigate to the next part of the editor.'),
+      keyCombination: {
+        modifier: 'ctrl',
+        character: '`'
+      },
+      aliases: [{
+        modifier: 'access',
+        character: 'n'
+      }]
+    });
+    registerShortcut({
+      name: 'core/edit-site/previous-region',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Navigate to the previous part of the editor.'),
+      keyCombination: {
+        modifier: 'ctrlShift',
+        character: '`'
+      },
+      aliases: [{
+        modifier: 'access',
+        character: 'p'
+      }]
+    });
+  }, [registerShortcut]);
+  return null;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/redirect-to-homepage.js
+KeyboardShortcuts.Register = KeyboardShortcutsRegister;
+/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/url-query-controller/index.js
 /**
  * WordPress dependencies
  */
@@ -8719,322 +8487,302 @@ function EditSiteApp(_ref) {



-
-function getNeedsHomepageRedirect(params) {
+function URLQueryController() {
   const {
-    postType
-  } = params;
-  return !getIsListPage(params) && !['post', 'page', 'wp_template', 'wp_template_part'].includes(postType);
+    setTemplate,
+    setTemplatePart,
+    setPage
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    params: {
+      postId,
+      postType
+    }
+  } = useLocation(); // Set correct entity on page navigation.
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if ('page' === postType || 'post' === postType) {
+      setPage({
+        context: {
+          postType,
+          postId
+        }
+      }); // Resolves correct template based on ID.
+    } else if ('wp_template' === postType) {
+      setTemplate(postId);
+    } else if ('wp_template_part' === postType) {
+      setTemplatePart(postId);
+    }
+  }, [postId, postType]);
+  return null;
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
+
+
 /**
- * Returns the postType and postId of the default homepage.
- *
- * @param {string} siteUrl The URL of the site.
- * @return {Object} An object containing the postType and postId properties
- *                  or `undefined` if a homepage could not be found.
+ * WordPress dependencies
  */

+const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_close = (close_close);

-async function getHomepageParams(siteUrl) {
-  const siteSettings = await external_wp_apiFetch_default()({
-    path: '/wp/v2/settings'
-  });
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/secondary-sidebar/inserter-sidebar.js

-  if (!siteSettings) {
-    throw new Error('`getHomepageParams`: unable to load site settings.');
-  }

-  const {
-    show_on_front: showOnFront,
-    page_on_front: frontpageId
-  } = siteSettings; // If the user has set a page as the homepage, use those details.

-  if (showOnFront === 'page') {
-    return {
-      postType: 'page',
-      postId: frontpageId
-    };
-  } // Else get the home template.
-  // This matches the logic in `__experimentalGetTemplateForLink`.
-  // (packages/core-data/src/resolvers.js)
+/**
+ * WordPress dependencies
+ */


-  const template = await window.fetch(Object(external_wp_url_["addQueryArgs"])(siteUrl, {
-    '_wp-find-template': true
-  })).then(response => {
-    if (!response.ok) {
-      throw new Error(`\`getHomepageParams\`: HTTP status error, ${response.status} ${response.statusText}`);
-    }

-    return response.json();
-  }).then(_ref => {
-    let {
-      data
-    } = _ref;

-    if (data.message) {
-      throw new Error(`\`getHomepageParams\`: REST API error, ${data.message}`);
-    }

-    return data;
-  });
+/**
+ * Internal dependencies
+ */

-  if (!(template !== null && template !== void 0 && template.id)) {
-    throw new Error('`getHomepageParams`: unable to find home template.');
-  }

-  return {
-    postType: 'wp_template',
-    postId: template.id
-  };
+function InserterSidebar() {
+  const {
+    setIsInserterOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const insertionPoint = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).__experimentalGetInsertionPoint(), []);
+  const isMobile = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
+  const [inserterDialogRef, inserterDialogProps] = (0,external_wp_compose_namespaceObject.__experimentalUseDialog)({
+    onClose: () => setIsInserterOpened(false)
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", extends_extends({
+    ref: inserterDialogRef
+  }, inserterDialogProps, {
+    className: "edit-site-editor__inserter-panel"
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-editor__inserter-panel-header"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: library_close,
+    onClick: () => setIsInserterOpened(false)
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-editor__inserter-panel-content"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLibrary, {
+    showInserterHelpPanel: true,
+    shouldFocusBlock: isMobile,
+    rootClientId: insertionPoint.rootClientId,
+    __experimentalInsertionIndex: insertionPoint.insertionIndex,
+    __experimentalFilterValue: insertionPoint.filterValue
+  })));
 }

-async function redirectToHomepage(siteUrl) {
-  const searchParams = new URLSearchParams(utils_history.location.search);
-  const params = Object.fromEntries(searchParams.entries());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/secondary-sidebar/list-view-sidebar.js

-  if (getNeedsHomepageRedirect(params)) {
-    const homepageParams = await getHomepageParams(siteUrl);

-    if (homepageParams) {
-      utils_history.replace(homepageParams);
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+function ListViewSidebar() {
+  const {
+    setIsListViewOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    clearSelectedBlock,
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+
+  async function selectEditorBlock(clientId) {
+    await clearSelectedBlock();
+    selectBlock(clientId, -1);
+  }
+
+  const focusOnMountRef = (0,external_wp_compose_namespaceObject.useFocusOnMount)('firstElement');
+  const focusReturnRef = (0,external_wp_compose_namespaceObject.useFocusReturn)();
+
+  function closeOnEscape(event) {
+    if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented) {
+      setIsListViewOpened(false);
     }
   }
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/plugin-sidebar/index.js
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ListViewSidebar);
+  const labelId = `edit-site-editor__list-view-panel-label-${instanceId}`;
+  return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
+    (0,external_wp_element_namespaceObject.createElement)("div", {
+      "aria-labelledby": labelId,
+      className: "edit-site-editor__list-view-panel",
+      onKeyDown: closeOnEscape
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-site-editor__list-view-panel-header"
+    }, (0,external_wp_element_namespaceObject.createElement)("strong", {
+      id: labelId
+    }, (0,external_wp_i18n_namespaceObject.__)('List view')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      icon: close_small,
+      label: (0,external_wp_i18n_namespaceObject.__)('Close list view sidebar'),
+      onClick: () => setIsListViewOpened(false)
+    })), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-site-editor__list-view-panel-content",
+      ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([focusReturnRef, focusOnMountRef])
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalListView, {
+      onSelect: selectEditorBlock,
+      showNestedBlocks: true,
+      __experimentalFeatures: true,
+      __experimentalPersistentListViewFeatures: true
+    })))
+  );
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/error-boundary/warning.js


 /**
  * WordPress dependencies
  */

-/**
- * Renders a sidebar when activated. The contents within the `PluginSidebar` will appear as content within the sidebar.
- * It also automatically renders a corresponding `PluginSidebarMenuItem` component when `isPinnable` flag is set to `true`.
- * If you wish to display the sidebar, you can with use the `PluginSidebarMoreMenuItem` component or the `wp.data.dispatch` API:
- *
- * ```js
- * wp.data.dispatch( 'core/edit-site' ).openGeneralSidebar( 'plugin-name/sidebar-name' );
- * ```
- *
- * @see PluginSidebarMoreMenuItem
- *
- * @param {Object}                props                                 Element props.
- * @param {string}                props.name                            A string identifying the sidebar. Must be unique for every sidebar registered within the scope of your plugin.
- * @param {string}                [props.className]                     An optional class name added to the sidebar body.
- * @param {string}                props.title                           Title displayed at the top of the sidebar.
- * @param {boolean}               [props.isPinnable=true]               Whether to allow to pin sidebar to the toolbar. When set to `true` it also automatically renders a corresponding menu item.
- * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.
- *
- * @example
- * ```js
- * // Using ES5 syntax
- * var __ = wp.i18n.__;
- * var el = wp.element.createElement;
- * var PanelBody = wp.components.PanelBody;
- * var PluginSidebar = wp.editSite.PluginSidebar;
- * var moreIcon = wp.element.createElement( 'svg' ); //... svg element.
- *
- * function MyPluginSidebar() {
- * 	return el(
- * 			PluginSidebar,
- * 			{
- * 				name: 'my-sidebar',
- * 				title: 'My sidebar title',
- * 				icon: moreIcon,
- * 			},
- * 			el(
- * 				PanelBody,
- * 				{},
- * 				__( 'My sidebar content' )
- * 			)
- * 	);
- * }
- * ```
- *
- * @example
- * ```jsx
- * // Using ESNext syntax
- * import { __ } from '@wordpress/i18n';
- * import { PanelBody } from '@wordpress/components';
- * import { PluginSidebar } from '@wordpress/edit-site';
- * import { more } from '@wordpress/icons';
- *
- * const MyPluginSidebar = () => (
- * 	<PluginSidebar
- * 		name="my-sidebar"
- * 		title="My sidebar title"
- * 		icon={ more }
- * 	>
- * 		<PanelBody>
- * 			{ __( 'My sidebar content' ) }
- * 		</PanelBody>
- * 	</PluginSidebar>
- * );
- * ```
- */

-function PluginSidebarEditSite(_ref) {
+
+
+
+function CopyButton(_ref) {
   let {
-    className,
-    ...props
+    text,
+    children
   } = _ref;
-  return Object(external_wp_element_["createElement"])(build_module["b" /* ComplementaryArea */], Object(esm_extends["a" /* default */])({
-    panelClassName: className,
-    className: "edit-site-sidebar",
-    scope: "core/edit-site"
-  }, props));
+  const ref = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(text);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    ref: ref
+  }, children);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/plugin-sidebar-more-menu-item/index.js
+function ErrorBoundaryWarning(_ref2) {
+  let {
+    message,
+    error,
+    reboot,
+    dashboardLink
+  } = _ref2;
+  const actions = [];
+
+  if (reboot) {
+    actions.push((0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      key: "recovery",
+      onClick: reboot,
+      variant: "secondary"
+    }, (0,external_wp_i18n_namespaceObject.__)('Attempt Recovery')));
+  }
+
+  if (error) {
+    actions.push((0,external_wp_element_namespaceObject.createElement)(CopyButton, {
+      key: "copy-error",
+      text: error.stack
+    }, (0,external_wp_i18n_namespaceObject.__)('Copy Error')));
+  }
+
+  if (dashboardLink) {
+    actions.push((0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      key: "back-to-dashboard",
+      variant: "secondary",
+      href: dashboardLink
+    }, (0,external_wp_i18n_namespaceObject.__)('Back to dashboard')));
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, {
+    className: "editor-error-boundary",
+    actions: actions
+  }, message);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/error-boundary/index.js


 /**
  * WordPress dependencies
  */

+
 /**
- * Renders a menu item in `Plugins` group in `More Menu` drop down,
- * and can be used to activate the corresponding `PluginSidebar` component.
- * The text within the component appears as the menu item label.
- *
- * @param {Object}                props                                 Component props.
- * @param {string}                props.target                          A string identifying the target sidebar you wish to be activated by this menu item. Must be the same as the `name` prop you have given to that sidebar.
- * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label.
- *
- * @example
- * ```js
- * // Using ES5 syntax
- * var __ = wp.i18n.__;
- * var PluginSidebarMoreMenuItem = wp.editSite.PluginSidebarMoreMenuItem;
- * var moreIcon = wp.element.createElement( 'svg' ); //... svg element.
- *
- * function MySidebarMoreMenuItem() {
- * 	return wp.element.createElement(
- * 		PluginSidebarMoreMenuItem,
- * 		{
- * 			target: 'my-sidebar',
- * 			icon: moreIcon,
- * 		},
- * 		__( 'My sidebar title' )
- * 	)
- * }
- * ```
- *
- * @example
- * ```jsx
- * // Using ESNext syntax
- * import { __ } from '@wordpress/i18n';
- * import { PluginSidebarMoreMenuItem } from '@wordpress/edit-site';
- * import { more } from '@wordpress/icons';
- *
- * const MySidebarMoreMenuItem = () => (
- * 	<PluginSidebarMoreMenuItem
- * 		target="my-sidebar"
- * 		icon={ more }
- * 	>
- * 		{ __( 'My sidebar title' ) }
- * 	</PluginSidebarMoreMenuItem>
- * );
- * ```
- *
- * @return {WPComponent} The component to be rendered.
+ * Internal dependencies
  */

-function PluginSidebarMoreMenuItem(props) {
-  return Object(external_wp_element_["createElement"])(build_module["c" /* ComplementaryAreaMoreMenuItem */] // Menu item is marked with unstable prop for backward compatibility.
-  // @see https://github.com/WordPress/gutenberg/issues/14457
-  , Object(esm_extends["a" /* default */])({
-    __unstableExplicitMenuItem: true,
-    scope: "core/edit-site"
-  }, props));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/plugin-more-menu-item/index.js
-/**
- * WordPress dependencies
- */

+class ErrorBoundary extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.reboot = this.reboot.bind(this);
+    this.state = {
+      error: null
+    };
+  }

+  static getDerivedStateFromError(error) {
+    return {
+      error
+    };
+  }

-/**
- * Renders a menu item in `Plugins` group in `More Menu` drop down, and can be used to as a button or link depending on the props provided.
- * The text within the component appears as the menu item label.
- *
- * @param {Object}                props                                 Component properties.
- * @param {string}                [props.href]                          When `href` is provided then the menu item is represented as an anchor rather than button. It corresponds to the `href` attribute of the anchor.
- * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label.
- * @param {Function}              [props.onClick=noop]                  The callback function to be executed when the user clicks the menu item.
- * @param {...*}                  [props.other]                         Any additional props are passed through to the underlying [Button](/packages/components/src/button/README.md) component.
- *
- * @example
- * ```js
- * // Using ES5 syntax
- * var __ = wp.i18n.__;
- * var PluginMoreMenuItem = wp.editSite.PluginMoreMenuItem;
- * var moreIcon = wp.element.createElement( 'svg' ); //... svg element.
- *
- * function onButtonClick() {
- * 	alert( 'Button clicked.' );
- * }
- *
- * function MyButtonMoreMenuItem() {
- * 	return wp.element.createElement(
- * 		PluginMoreMenuItem,
- * 		{
- * 			icon: moreIcon,
- * 			onClick: onButtonClick,
- * 		},
- * 		__( 'My button title' )
- * 	);
- * }
- * ```
- *
- * @example
- * ```jsx
- * // Using ESNext syntax
- * import { __ } from '@wordpress/i18n';
- * import { PluginMoreMenuItem } from '@wordpress/edit-site';
- * import { more } from '@wordpress/icons';
- *
- * function onButtonClick() {
- * 	alert( 'Button clicked.' );
- * }
- *
- * const MyButtonMoreMenuItem = () => (
- * 	<PluginMoreMenuItem
- * 		icon={ more }
- * 		onClick={ onButtonClick }
- * 	>
- * 		{ __( 'My button title' ) }
- * 	</PluginMoreMenuItem>
- * );
- * ```
- *
- * @return {WPComponent} The component to be rendered.
- */
+  reboot() {
+    this.props.onError();
+  }

-/* harmony default export */ var plugin_more_menu_item = (Object(external_wp_compose_["compose"])(Object(external_wp_plugins_["withPluginContext"])((context, ownProps) => {
-  return {
-    icon: ownProps.icon || context.icon,
-    name: 'core/edit-site/plugin-more-menu'
-  };
-}))(build_module["a" /* ActionItem */]));
+  render() {
+    const {
+      error
+    } = this.state;

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/index.js
+    if (!error) {
+      return this.props.children;
+    }

+    return (0,external_wp_element_namespaceObject.createElement)(ErrorBoundaryWarning, {
+      message: (0,external_wp_i18n_namespaceObject.__)('The editor has encountered an unexpected error.'),
+      error: error,
+      reboot: this.reboot
+    });
+  }

-/**
- * WordPress dependencies
- */
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/welcome-guide/image.js

+function WelcomeGuideImage(_ref) {
+  let {
+    nonAnimatedSrc,
+    animatedSrc
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("picture", {
+    className: "edit-site-welcome-guide__image"
+  }, (0,external_wp_element_namespaceObject.createElement)("source", {
+    srcSet: nonAnimatedSrc,
+    media: "(prefers-reduced-motion: reduce)"
+  }), (0,external_wp_element_namespaceObject.createElement)("img", {
+    src: animatedSrc,
+    width: "312",
+    height: "240",
+    alt: ""
+  }));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/welcome-guide/editor.js


+/**
+ * WordPress dependencies
+ */



@@ -9045,987 +8793,1142 @@ function PluginSidebarMoreMenuItem(props) {



+function WelcomeGuideEditor() {
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const isActive = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).isFeatureActive('welcomeGuide'), []);
+
+  if (!isActive) {
+    return null;
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Guide, {
+    className: "edit-site-welcome-guide",
+    contentLabel: (0,external_wp_i18n_namespaceObject.__)('Welcome to the site editor'),
+    finishButtonText: (0,external_wp_i18n_namespaceObject.__)('Get Started'),
+    onFinish: () => toggleFeature('welcomeGuide'),
+    pages: [{
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
+        nonAnimatedSrc: "https://s.w.org/images/block-editor/edit-your-site.svg?1",
+        animatedSrc: "https://s.w.org/images/block-editor/edit-your-site.gif?1"
+      }),
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
+        className: "edit-site-welcome-guide__heading"
+      }, (0,external_wp_i18n_namespaceObject.__)('Edit your site')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-site-welcome-guide__text"
+      }, (0,external_wp_i18n_namespaceObject.__)('Design everything on your site — from the header right down to the footer — using blocks.')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-site-welcome-guide__text"
+      }, (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.__)('Click <StylesIconImage /> to start designing your blocks, and choose your typography, layout, and colors.'), {
+        StylesIconImage: (0,external_wp_element_namespaceObject.createElement)("img", {
+          alt: (0,external_wp_i18n_namespaceObject.__)('styles'),
+          src: "data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' fill='%231E1E1E'/%3E%3C/svg%3E%0A"
+        })
+      })))
+    }]
+  });
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/welcome-guide/styles.js


 /**
- * Reinitializes the editor after the user chooses to reboot the editor after
- * an unhandled error occurs, replacing previously mounted editor element using
- * an initial state from prior to the crash.
- *
- * @param {Element} target   DOM node in which editor is rendered.
- * @param {?Object} settings Editor settings object.
+ * WordPress dependencies
  */

-async function reinitializeEditor(target, settings) {
-  // The site editor relies on `postType` and `postId` params in the URL to
-  // define what's being edited. When visiting via the dashboard link, these
-  // won't be present. Do a client side redirect to the 'homepage' if that's
-  // the case.
-  try {
-    await redirectToHomepage(settings.siteUrl);
-  } catch (error) {
-    Object(external_wp_element_["render"])(Object(external_wp_element_["createElement"])(ErrorBoundaryWarning, {
-      message: Object(external_wp_i18n_["__"])('The editor is unable to find a block template for the homepage.'),
-      error: error,
-      dashboardLink: "index.php"
-    }), target);
-    return;
-  } // This will be a no-op if the target doesn't have any React nodes.
-
-
-  Object(external_wp_element_["unmountComponentAtNode"])(target);
-  const reboot = reinitializeEditor.bind(null, target, settings); // We dispatch actions and update the store synchronously before rendering
-  // so that we won't trigger unnecessary re-renders with useEffect.

-  {
-    Object(external_wp_data_["dispatch"])(store).updateSettings(settings); // Keep the defaultTemplateTypes in the core/editor settings too,
-    // so that they can be selected with core/editor selectors in any editor.
-    // This is needed because edit-site doesn't initialize with EditorProvider,
-    // which internally uses updateEditorSettings as well.

-    Object(external_wp_data_["dispatch"])(external_wp_editor_["store"]).updateEditorSettings({
-      defaultTemplateTypes: settings.defaultTemplateTypes,
-      defaultTemplatePartAreas: settings.defaultTemplatePartAreas
-    });
-    const isLandingOnListPage = getIsListPage(Object(external_wp_url_["getQueryArgs"])(window.location.href));

-    if (isLandingOnListPage) {
-      // Default the navigation panel to be opened when we're in a bigger
-      // screen and land in the list screen.
-      Object(external_wp_data_["dispatch"])(store).setIsNavigationPanelOpened(Object(external_wp_data_["select"])(external_wp_viewport_["store"]).isViewportMatch('medium'));
-    }
-  }
-  Object(external_wp_element_["render"])(Object(external_wp_element_["createElement"])(EditSiteApp, {
-    reboot: reboot
-  }), target);
-}
 /**
- * Initializes the site editor screen.
- *
- * @param {string} id       ID of the root element to render the screen in.
- * @param {Object} settings Editor settings.
+ * Internal dependencies
  */

-function initializeEditor(id, settings) {
-  settings.__experimentalFetchLinkSuggestions = (search, searchOptions) => Object(external_wp_coreData_["__experimentalFetchLinkSuggestions"])(search, searchOptions, settings);
-
-  settings.__experimentalFetchRichUrlData = external_wp_coreData_["__experimentalFetchUrlData"];
-  settings.__experimentalSpotlightEntityBlocks = ['core/template-part'];
-  const target = document.getElementById(id);

-  Object(external_wp_data_["dispatch"])(external_wp_blocks_["store"]).__experimentalReapplyBlockTypeFilters();

-  Object(external_wp_blockLibrary_["registerCoreBlocks"])();
+function WelcomeGuideStyles() {
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    isActive,
+    isStylesOpen
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const sidebar = select(store).getActiveComplementaryArea(store_store.name);
+    return {
+      isActive: select(store_store).isFeatureActive('welcomeGuideStyles'),
+      isStylesOpen: sidebar === 'edit-site/global-styles'
+    };
+  }, []);

-  if (false) {}
+  if (!isActive || !isStylesOpen) {
+    return null;
+  }

-  reinitializeEditor(target, settings);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Guide, {
+    className: "edit-site-welcome-guide",
+    contentLabel: (0,external_wp_i18n_namespaceObject.__)('Welcome to styles'),
+    finishButtonText: (0,external_wp_i18n_namespaceObject.__)('Get Started'),
+    onFinish: () => toggleFeature('welcomeGuideStyles'),
+    pages: [{
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
+        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-to-styles.svg?1",
+        animatedSrc: "https://s.w.org/images/block-editor/welcome-to-styles.gif?1"
+      }),
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
+        className: "edit-site-welcome-guide__heading"
+      }, (0,external_wp_i18n_namespaceObject.__)('Welcome to Styles')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-site-welcome-guide__text"
+      }, (0,external_wp_i18n_namespaceObject.__)('Tweak your site, or give it a whole new look! Get creative — how about a new color palette for your buttons, or choosing a new font? Take a look at what you can do here.')))
+    }, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
+        nonAnimatedSrc: "https://s.w.org/images/block-editor/set-the-design.svg?1",
+        animatedSrc: "https://s.w.org/images/block-editor/set-the-design.gif?1"
+      }),
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
+        className: "edit-site-welcome-guide__heading"
+      }, (0,external_wp_i18n_namespaceObject.__)('Set the design')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-site-welcome-guide__text"
+      }, (0,external_wp_i18n_namespaceObject.__)('You can customize your site as much as you like with different colors, typography, and layouts. Or if you prefer, just leave it up to your theme to handle! ')))
+    }, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
+        nonAnimatedSrc: "https://s.w.org/images/block-editor/personalize-blocks.svg?1",
+        animatedSrc: "https://s.w.org/images/block-editor/personalize-blocks.gif?1"
+      }),
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
+        className: "edit-site-welcome-guide__heading"
+      }, (0,external_wp_i18n_namespaceObject.__)('Personalize blocks')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-site-welcome-guide__text"
+      }, (0,external_wp_i18n_namespaceObject.__)('You can adjust your blocks to ensure a cohesive experience across your site — add your unique colors to a branded Button block, or adjust the Heading block to your preferred size.')))
+    }, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
+        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.svg",
+        animatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.gif"
+      }),
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
+        className: "edit-site-welcome-guide__heading"
+      }, (0,external_wp_i18n_namespaceObject.__)('Learn more')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-site-welcome-guide__text"
+      }, (0,external_wp_i18n_namespaceObject.__)('New to block themes and styling your site? '), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+        href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/styles-overview/')
+      }, (0,external_wp_i18n_namespaceObject.__)('Here’s a detailed guide to learn how to make the most of it.'))))
+    }]
+  });
 }

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/welcome-guide/index.js


+/**
+ * Internal dependencies
+ */


+function WelcomeGuide() {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideEditor, null), (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideStyles, null));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/editor/global-styles-renderer.js
+/**
+ * WordPress dependencies
+ */

-/***/ }),
-
-/***/ "K+tz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+/**
+ * Internal dependencies
+ */


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (external);


-/***/ }),
+function useGlobalStylesRenderer() {
+  const [styles, settings] = useGlobalStylesOutput();
+  const {
+    getSettings
+  } = (0,external_wp_data_namespaceObject.useSelect)(store_store);
+  const {
+    updateSettings
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    var _currentStoreSettings;

-/***/ "K2cm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    if (!styles || !settings) {
+      return;
+    }

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+    const currentStoreSettings = getSettings();
+    const nonGlobalStyles = currentStoreSettings === null || currentStoreSettings === void 0 ? void 0 : (_currentStoreSettings = currentStoreSettings.styles) === null || _currentStoreSettings === void 0 ? void 0 : _currentStoreSettings.filter(style => !style.isGlobalStyles);
+    updateSettings({ ...currentStoreSettings,
+      styles: [...nonGlobalStyles, ...styles],
+      __experimentalFeatures: settings
+    });
+  }, [styles, settings]);
+}
+
+function GlobalStylesRenderer() {
+  useGlobalStylesRenderer();
+  return null;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/global-styles/global-styles-provider.js


 /**
- * WordPress dependencies
+ * External dependencies
  */

-const redo = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (redo);
-
-
-/***/ }),
+/**
+ * WordPress dependencies
+ */

-/***/ "K8zD":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const globe = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (globe);


-/***/ }),
+function mergeTreesCustomizer(_, srcValue) {
+  // We only pass as arrays the presets,
+  // in which case we want the new array of values
+  // to override the old array (no merging).
+  if (Array.isArray(srcValue)) {
+    return srcValue;
+  }
+}

-/***/ "K9lf":
-/***/ (function(module, exports) {
+function mergeBaseAndUserConfigs(base, user) {
+  return (0,external_lodash_namespaceObject.mergeWith)({}, base, user, mergeTreesCustomizer);
+}

-(function() { module.exports = window["wp"]["compose"]; }());
+const cleanEmptyObject = object => {
+  if (!(0,external_lodash_namespaceObject.isObject)(object) || Array.isArray(object)) {
+    return object;
+  }

-/***/ }),
+  const cleanedNestedObjects = (0,external_lodash_namespaceObject.pickBy)((0,external_lodash_namespaceObject.mapValues)(object, cleanEmptyObject), external_lodash_namespaceObject.identity);
+  return (0,external_lodash_namespaceObject.isEmpty)(cleanedNestedObjects) ? undefined : cleanedNestedObjects;
+};

-/***/ "KEfo":
-/***/ (function(module, exports) {
+function useGlobalStylesUserConfig() {
+  const {
+    globalStylesId,
+    settings,
+    styles
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const _globalStylesId = select(external_wp_coreData_namespaceObject.store).__experimentalGetCurrentGlobalStylesId();

-(function() { module.exports = window["wp"]["viewport"]; }());
+    const record = _globalStylesId ? select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord('root', 'globalStyles', _globalStylesId) : undefined;
+    return {
+      globalStylesId: _globalStylesId,
+      settings: record === null || record === void 0 ? void 0 : record.settings,
+      styles: record === null || record === void 0 ? void 0 : record.styles
+    };
+  }, []);
+  const {
+    getEditedEntityRecord
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_coreData_namespaceObject.store);
+  const {
+    editEntityRecord
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const config = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return {
+      settings: settings !== null && settings !== void 0 ? settings : {},
+      styles: styles !== null && styles !== void 0 ? styles : {}
+    };
+  }, [settings, styles]);
+  const setConfig = (0,external_wp_element_namespaceObject.useCallback)(callback => {
+    var _record$styles, _record$settings;

-/***/ }),
+    const record = getEditedEntityRecord('root', 'globalStyles', globalStylesId);
+    const currentConfig = {
+      styles: (_record$styles = record === null || record === void 0 ? void 0 : record.styles) !== null && _record$styles !== void 0 ? _record$styles : {},
+      settings: (_record$settings = record === null || record === void 0 ? void 0 : record.settings) !== null && _record$settings !== void 0 ? _record$settings : {}
+    };
+    const updatedConfig = callback(currentConfig);
+    editEntityRecord('root', 'globalStyles', globalStylesId, {
+      styles: cleanEmptyObject(updatedConfig.styles) || {},
+      settings: cleanEmptyObject(updatedConfig.settings) || {}
+    });
+  }, [globalStylesId]);
+  return [!!settings || !!styles, config, setConfig];
+}

-/***/ "Mmq9":
-/***/ (function(module, exports) {
+function useGlobalStylesBaseConfig() {
+  const baseConfig = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(external_wp_coreData_namespaceObject.store).__experimentalGetCurrentThemeBaseGlobalStyles();
+  }, []);
+  return [!!baseConfig, baseConfig];
+}

-(function() { module.exports = window["wp"]["url"]; }());
+function useGlobalStylesContext() {
+  const [isUserConfigReady, userConfig, setUserConfig] = useGlobalStylesUserConfig();
+  const [isBaseConfigReady, baseConfig] = useGlobalStylesBaseConfig();
+  const mergedConfig = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (!baseConfig || !userConfig) {
+      return {};
+    }

-/***/ }),
+    return mergeBaseAndUserConfigs(baseConfig, userConfig);
+  }, [userConfig, baseConfig]);
+  const context = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return {
+      isReady: isUserConfigReady && isBaseConfigReady,
+      user: userConfig,
+      base: baseConfig,
+      merged: mergedConfig,
+      setUserConfig
+    };
+  }, [mergedConfig, userConfig, baseConfig, setUserConfig, isUserConfigReady, isBaseConfigReady]);
+  return context;
+}

-/***/ "NWDH":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function GlobalStylesProvider(_ref) {
+  let {
+    children
+  } = _ref;
+  const context = useGlobalStylesContext();

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  if (!context.isReady) {
+    return null;
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(GlobalStylesContext.Provider, {
+    value: context
+  }, children);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/use-title.js
 /**
  * WordPress dependencies
  */

-const chevronDown = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (chevronDown);
-

-/***/ }),
-
-/***/ "Ntru":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const undo = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (undo);

+function useTitle(title) {
+  const location = useLocation();
+  const siteTitle = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _select$getEntityReco;
+
+    return (_select$getEntityReco = select(external_wp_coreData_namespaceObject.store).getEntityRecord('root', 'site')) === null || _select$getEntityReco === void 0 ? void 0 : _select$getEntityReco.title;
+  }, []);
+  const isInitialLocationRef = (0,external_wp_element_namespaceObject.useRef)(true);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    isInitialLocationRef.current = false;
+  }, [location]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // Don't update or announce the title for initial page load.
+    if (isInitialLocationRef.current) {
+      return;
+    }

-/***/ }),
+    if (title && siteTitle) {
+      // @see https://github.com/WordPress/wordpress-develop/blob/94849898192d271d533e09756007e176feb80697/src/wp-admin/admin-header.php#L67-L68
+      const formattedTitle = (0,external_wp_i18n_namespaceObject.sprintf)(
+      /* translators: Admin screen title. 1: Admin screen name, 2: Network or site name. */
+      (0,external_wp_i18n_namespaceObject.__)('%1$s ‹ %2$s — WordPress'), title, siteTitle);
+      document.title = formattedTitle; // Announce title on route change for screen readers.

-/***/ "OE6V":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+      (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.sprintf)(
+      /* translators: The page title that is currently displaying. */
+      (0,external_wp_i18n_namespaceObject.__)('Now displaying: %s'), document.title), 'assertive');
+    }
+  }, [title, siteTitle, location]);
+}

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/editor/index.js


 /**
  * WordPress dependencies
  */

-const symbolFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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-17.6 1L10 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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (symbolFilled);
-
-
-/***/ }),
-
-/***/ "OzlF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */

-const listView = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (listView);


-/***/ }),

-/***/ "Q4Sy":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const plus = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (plus);
-

-/***/ }),

-/***/ "QyPg":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["blockLibrary"]; }());

-/***/ }),

-/***/ "RMJe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */

-const check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (check);


-/***/ }),

-/***/ "RxS6":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["keycodes"]; }());

-/***/ }),
+const interfaceLabels = {
+  secondarySidebar: (0,external_wp_i18n_namespaceObject.__)('Block Library'),
+  drawer: (0,external_wp_i18n_namespaceObject.__)('Navigation Sidebar')
+};

-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
+function Editor(_ref) {
+  let {
+    onError
+  } = _ref;
+  const {
+    isInserterOpen,
+    isListViewOpen,
+    sidebarIsOpened,
+    settings,
+    entityId,
+    templateType,
+    page,
+    template,
+    templateResolved,
+    isNavigationOpen,
+    previousShortcut,
+    nextShortcut
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      isInserterOpened,
+      isListViewOpened,
+      getSettings,
+      getEditedPostType,
+      getEditedPostId,
+      getPage,
+      isNavigationOpened
+    } = select(store_store);
+    const {
+      hasFinishedResolution,
+      getEntityRecord
+    } = select(external_wp_coreData_namespaceObject.store);
+    const postType = getEditedPostType();
+    const postId = getEditedPostId(); // The currently selected entity to display. Typically template or template part.

-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */
-
-(function () {
-	'use strict';
-
-	var hasOwn = {}.hasOwnProperty;
-
-	function classNames() {
-		var classes = [];
-
-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
+    return {
+      isInserterOpen: isInserterOpened(),
+      isListViewOpen: isListViewOpened(),
+      sidebarIsOpened: !!select(store).getActiveComplementaryArea(store_store.name),
+      settings: getSettings(),
+      templateType: postType,
+      page: getPage(),
+      template: postId ? getEntityRecord('postType', postType, postId) : null,
+      templateResolved: postId ? hasFinishedResolution('getEntityRecord', ['postType', postType, postId]) : false,
+      entityId: postId,
+      isNavigationOpen: isNavigationOpened(),
+      previousShortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getAllShortcutKeyCombinations('core/edit-site/previous-region'),
+      nextShortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getAllShortcutKeyCombinations('core/edit-site/next-region')
+    };
+  }, []);
+  const {
+    setPage,
+    setIsInserterOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    enableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const [isEntitiesSavedStatesOpen, setIsEntitiesSavedStatesOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  const openEntitiesSavedStates = (0,external_wp_element_namespaceObject.useCallback)(() => setIsEntitiesSavedStatesOpen(true), []);
+  const closeEntitiesSavedStates = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    setIsEntitiesSavedStatesOpen(false);
+  }, []);
+  const blockContext = (0,external_wp_element_namespaceObject.useMemo)(() => ({ ...(page === null || page === void 0 ? void 0 : page.context),
+    queryContext: [(page === null || page === void 0 ? void 0 : page.context.queryContext) || {
+      page: 1
+    }, newQueryContext => setPage({ ...page,
+      context: { ...(page === null || page === void 0 ? void 0 : page.context),
+        queryContext: { ...(page === null || page === void 0 ? void 0 : page.context.queryContext),
+          ...newQueryContext
+        }
+      }
+    })]
+  }), [page === null || page === void 0 ? void 0 : page.context]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isNavigationOpen) {
+      document.body.classList.add('is-navigation-sidebar-open');
+    } else {
+      document.body.classList.remove('is-navigation-sidebar-open');
+    }
+  }, [isNavigationOpen]);
+  (0,external_wp_element_namespaceObject.useEffect)(function openGlobalStylesOnLoad() {
+    const searchParams = new URLSearchParams(window.location.search);

-			var argType = typeof arg;
+    if (searchParams.get('styles') === 'open') {
+      enableComplementaryArea('core/edit-site', 'edit-site/global-styles');
+    }
+  }, [enableComplementaryArea]); // Don't render the Editor until the settings are set and loaded

-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
+  const isReady = (settings === null || settings === void 0 ? void 0 : settings.siteUrl) && templateType !== undefined && entityId !== undefined;

-		return classes.join(' ');
-	}
+  const secondarySidebar = () => {
+    if (isInserterOpen) {
+      return (0,external_wp_element_namespaceObject.createElement)(InserterSidebar, null);
+    }

-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());
+    if (isListViewOpen) {
+      return (0,external_wp_element_namespaceObject.createElement)(ListViewSidebar, null);
+    }

+    return null;
+  }; // Only announce the title once the editor is ready to prevent "Replace"
+  // action in <URlQueryController> from double-announcing.

-/***/ }),

-/***/ "Tqx9":
-/***/ (function(module, exports) {
+  useTitle(isReady && (0,external_wp_i18n_namespaceObject.__)('Editor (beta)'));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(URLQueryController, null), isReady && (0,external_wp_element_namespaceObject.createElement)(external_wp_keyboardShortcuts_namespaceObject.ShortcutProvider, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_coreData_namespaceObject.EntityProvider, {
+    kind: "root",
+    type: "site"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_coreData_namespaceObject.EntityProvider, {
+    kind: "postType",
+    type: templateType,
+    id: entityId
+  }, (0,external_wp_element_namespaceObject.createElement)(GlobalStylesProvider, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockContextProvider, {
+    value: blockContext
+  }, (0,external_wp_element_namespaceObject.createElement)(GlobalStylesRenderer, null), (0,external_wp_element_namespaceObject.createElement)(ErrorBoundary, {
+    onError: onError
+  }, (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts.Register, null), (0,external_wp_element_namespaceObject.createElement)(SidebarComplementaryAreaFills, null), (0,external_wp_element_namespaceObject.createElement)(interface_skeleton, {
+    labels: interfaceLabels,
+    secondarySidebar: secondarySidebar(),
+    sidebar: sidebarIsOpened && (0,external_wp_element_namespaceObject.createElement)(complementary_area.Slot, {
+      scope: "core/edit-site"
+    }),
+    drawer: (0,external_wp_element_namespaceObject.createElement)(navigation_sidebar.Slot, null),
+    header: (0,external_wp_element_namespaceObject.createElement)(Header, {
+      openEntitiesSavedStates: openEntitiesSavedStates
+    }),
+    notices: (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.EditorSnackbars, null),
+    content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.EditorNotices, null), template && (0,external_wp_element_namespaceObject.createElement)(BlockEditor, {
+      setIsInserterOpen: setIsInserterOpened
+    }), templateResolved && !template && (settings === null || settings === void 0 ? void 0 : settings.siteUrl) && entityId && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Notice, {
+      status: "warning",
+      isDismissible: false
+    }, (0,external_wp_i18n_namespaceObject.__)("You attempted to edit an item that doesn't exist. Perhaps it was deleted?")), (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts, {
+      openEntitiesSavedStates: openEntitiesSavedStates
+    })),
+    actions: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isEntitiesSavedStatesOpen ? (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.EntitiesSavedStates, {
+      close: closeEntitiesSavedStates
+    }) : (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-site-editor__toggle-save-panel"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      variant: "secondary",
+      className: "edit-site-editor__toggle-save-panel-button",
+      onClick: openEntitiesSavedStates,
+      "aria-expanded": false
+    }, (0,external_wp_i18n_namespaceObject.__)('Open save panel')))),
+    footer: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockBreadcrumb, null),
+    shortcuts: {
+      previous: previousShortcut,
+      next: nextShortcut
+    }
+  }), (0,external_wp_element_namespaceObject.createElement)(WelcomeGuide, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover.Slot, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_plugins_namespaceObject.PluginArea, null))))))));
+}

-(function() { module.exports = window["wp"]["primitives"]; }());
+/* harmony default export */ var editor = (Editor);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/use-register-shortcuts.js
+/**
+ * WordPress dependencies
+ */

-/***/ "TvNi":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["plugins"]; }());

-/***/ }),

-/***/ "U60i":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+function useRegisterShortcuts() {
+  const {
+    registerShortcut
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_keyboardShortcuts_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    registerShortcut({
+      name: 'core/edit-site/next-region',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Navigate to the next part of the editor.'),
+      keyCombination: {
+        modifier: 'ctrl',
+        character: '`'
+      },
+      aliases: [{
+        modifier: 'access',
+        character: 'n'
+      }]
+    });
+    registerShortcut({
+      name: 'core/edit-site/previous-region',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Navigate to the previous part of the editor.'),
+      keyCombination: {
+        modifier: 'ctrlShift',
+        character: '`'
+      },
+      aliases: [{
+        modifier: 'access',
+        character: 'p'
+      }]
+    });
+  }, []);
+}

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/add-new-template/new-template.js

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ complementary_area; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ ComplementaryAreaMoreMenuItem; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ fullscreen_mode; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ interface_skeleton; });
-__webpack_require__.d(__webpack_exports__, "h", function() { return /* reexport */ pinned_items; });
-__webpack_require__.d(__webpack_exports__, "f", function() { return /* reexport */ MoreMenuDropdown; });
-__webpack_require__.d(__webpack_exports__, "g", function() { return /* reexport */ MoreMenuFeatureToggle; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ action_item; });
-__webpack_require__.d(__webpack_exports__, "i", function() { return /* reexport */ store; });

-// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/actions.js
-var actions_namespaceObject = {};
-__webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "enableComplementaryArea", function() { return actions_enableComplementaryArea; });
-__webpack_require__.d(actions_namespaceObject, "disableComplementaryArea", function() { return actions_disableComplementaryArea; });
-__webpack_require__.d(actions_namespaceObject, "pinItem", function() { return actions_pinItem; });
-__webpack_require__.d(actions_namespaceObject, "unpinItem", function() { return actions_unpinItem; });
-__webpack_require__.d(actions_namespaceObject, "toggleFeature", function() { return actions_toggleFeature; });
-__webpack_require__.d(actions_namespaceObject, "setFeatureValue", function() { return setFeatureValue; });
-__webpack_require__.d(actions_namespaceObject, "setFeatureDefaults", function() { return setFeatureDefaults; });
+/**
+ * External dependencies
+ */

-// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getActiveComplementaryArea", function() { return selectors_getActiveComplementaryArea; });
-__webpack_require__.d(selectors_namespaceObject, "isItemPinned", function() { return selectors_isItemPinned; });
-__webpack_require__.d(selectors_namespaceObject, "isFeatureActive", function() { return isFeatureActive; });
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
-var check = __webpack_require__("RMJe");
+/**
+ * Internal dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
-var star_filled = __webpack_require__("URob");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
-var star_empty = __webpack_require__("Xxwi");
+const DEFAULT_TEMPLATE_SLUGS = ['front-page', 'single-post', 'page', 'archive', 'search', '404', 'index'];
+function NewTemplate(_ref) {
+  let {
+    postType
+  } = _ref;
+  const history = useHistory();
+  const {
+    templates,
+    defaultTemplateTypes
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    templates: select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_template', {
+      per_page: -1
+    }),
+    defaultTemplateTypes: select(external_wp_editor_namespaceObject.store).__experimentalGetDefaultTemplateTypes()
+  }), []);
+  const {
+    saveEntityRecord
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const {
+    createErrorNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const {
+    getLastEntitySaveError
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_coreData_namespaceObject.store);

-// EXTERNAL MODULE: external ["wp","viewport"]
-var external_wp_viewport_ = __webpack_require__("KEfo");
+  async function createTemplate(_ref2) {
+    let {
+      slug
+    } = _ref2;

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
+    try {
+      const {
+        title,
+        description
+      } = (0,external_lodash_namespaceObject.find)(defaultTemplateTypes, {
+        slug
+      });
+      const template = await saveEntityRecord('postType', 'wp_template', {
+        excerpt: description,
+        // Slugs need to be strings, so this is for template `404`
+        slug: slug.toString(),
+        status: 'publish',
+        title
+      });
+      const lastEntitySaveError = getLastEntitySaveError('postType', 'wp_template', template.id);

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+      if (lastEntitySaveError) {
+        throw lastEntitySaveError;
+      } // Navigate to the created template editor.

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/reducer.js
-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */
+      history.push({
+        postId: template.id,
+        postType: template.type
+      }); // TODO: Add a success notice?
+    } catch (error) {
+      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : (0,external_wp_i18n_namespaceObject.__)('An error occurred while creating the template.');
+      createErrorNotice(errorMessage, {
+        type: 'snackbar'
+      });
+    }
+  }

+  const existingTemplateSlugs = (0,external_lodash_namespaceObject.map)(templates, 'slug');
+  const missingTemplates = (0,external_lodash_namespaceObject.filter)(defaultTemplateTypes, template => (0,external_lodash_namespaceObject.includes)(DEFAULT_TEMPLATE_SLUGS, template.slug) && !(0,external_lodash_namespaceObject.includes)(existingTemplateSlugs, template.slug));

-/**
- * Reducer to keep tract of the active area per scope.
- *
- * @param {boolean} state           Previous state.
- * @param {Object}  action          Action object.
- * @param {string}  action.type     Action type.
- * @param {string}  action.itemType Type of item.
- * @param {string}  action.scope    Item scope.
- * @param {string}  action.item     Item name.
- *
- * @return {Object} Updated state.
- */
+  if (!missingTemplates.length) {
+    return null;
+  }

-function singleEnableItems() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let {
-    type,
-    itemType,
-    scope,
-    item
-  } = arguments.length > 1 ? arguments[1] : undefined;
-
-  if (type !== 'SET_SINGLE_ENABLE_ITEM' || !itemType || !scope) {
-    return state;
-  }
-
-  return { ...state,
-    [itemType]: { ...state[itemType],
-      [scope]: item || null
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    className: "edit-site-new-template-dropdown",
+    icon: null,
+    text: postType.labels.add_new,
+    label: postType.labels.add_new_item,
+    popoverProps: {
+      noArrow: false
+    },
+    toggleProps: {
+      variant: 'primary'
     }
-  };
+  }, () => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NavigableMenu, {
+    className: "edit-site-new-template-dropdown__popover"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: postType.labels.add_new_item
+  }, (0,external_lodash_namespaceObject.map)(missingTemplates, _ref3 => {
+    let {
+      title,
+      description,
+      slug
+    } = _ref3;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      info: description,
+      key: slug,
+      onClick: () => {
+        createTemplate({
+          slug
+        }); // We will be navigated way so no need to close the dropdown.
+      }
+    }, title);
+  }))));
 }
-/**
- * Reducer keeping track of the "pinned" items per scope.
- *
- * @param {boolean} state           Previous state.
- * @param {Object}  action          Action object.
- * @param {string}  action.type     Action type.
- * @param {string}  action.itemType Type of item.
- * @param {string}  action.scope    Item scope.
- * @param {string}  action.item     Item name.
- * @param {boolean} action.isEnable Whether the item is pinned.
- *
- * @return {Object} Updated state.
- */

-function multipleEnableItems() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let {
-    type,
-    itemType,
-    scope,
-    item,
-    isEnable
-  } = arguments.length > 1 ? arguments[1] : undefined;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/add-new-template/new-template-part.js

-  if (type !== 'SET_MULTIPLE_ENABLE_ITEM' || !itemType || !scope || !item || Object(external_lodash_["get"])(state, [itemType, scope, item]) === isEnable) {
-    return state;
-  }

-  const currentTypeState = state[itemType] || {};
-  const currentScopeState = currentTypeState[scope] || {};
-  return { ...state,
-    [itemType]: { ...currentTypeState,
-      [scope]: { ...currentScopeState,
-        [item]: isEnable || false
-      }
-    }
-  };
-}
 /**
- * Reducer returning the defaults for user preferences.
- *
- * This is kept intentionally separate from the preferences
- * themselves so that defaults are not persisted.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
+ * External dependencies
  */

-const preferenceDefaults = Object(external_wp_data_["combineReducers"])({
-  features() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;
+/**
+ * WordPress dependencies
+ */
+
+
+
+

-    if (action.type === 'SET_FEATURE_DEFAULTS') {
-      const {
-        scope,
-        defaults
-      } = action;
-      return { ...state,
-        [scope]: { ...state[scope],
-          ...defaults
-        }
-      };
-    }

-    return state;
-  }

-});
 /**
- * Reducer returning the user preferences.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
+ * Internal dependencies
  */

-const preferences = Object(external_wp_data_["combineReducers"])({
-  features() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;

-    if (action.type === 'SET_FEATURE_VALUE') {
-      const {
-        scope,
-        featureName,
-        value
-      } = action;
-      return { ...state,
-        [scope]: { ...state[scope],
-          [featureName]: value
-        }
-      };
+
+function NewTemplatePart(_ref) {
+  let {
+    postType
+  } = _ref;
+  const history = useHistory();
+  const [isModalOpen, setIsModalOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  const {
+    createErrorNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const {
+    saveEntityRecord
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const {
+    getLastEntitySaveError
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_coreData_namespaceObject.store);
+
+  async function createTemplatePart(_ref2) {
+    let {
+      title,
+      area
+    } = _ref2;
+
+    if (!title) {
+      createErrorNotice((0,external_wp_i18n_namespaceObject.__)('Title is not defined.'), {
+        type: 'snackbar'
+      });
+      return;
     }

-    return state;
+    try {
+      // Currently template parts only allow latin chars.
+      // Fallback slug will receive suffix by default.
+      const cleanSlug = (0,external_lodash_namespaceObject.kebabCase)(title).replace(/[^\w-]+/g, '') || 'wp-custom-part';
+      const templatePart = await saveEntityRecord('postType', 'wp_template_part', {
+        slug: cleanSlug,
+        title,
+        content: '',
+        area
+      });
+      const lastEntitySaveError = getLastEntitySaveError('postType', 'wp_template_part', templatePart.id);
+
+      if (lastEntitySaveError) {
+        throw lastEntitySaveError;
+      }
+
+      setIsModalOpen(false); // Navigate to the created template part editor.
+
+      history.push({
+        postId: templatePart.id,
+        postType: templatePart.type
+      }); // TODO: Add a success notice?
+    } catch (error) {
+      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : (0,external_wp_i18n_namespaceObject.__)('An error occurred while creating the template part.');
+      createErrorNotice(errorMessage, {
+        type: 'snackbar'
+      });
+      setIsModalOpen(false);
+    }
   }

-});
-const enableItems = Object(external_wp_data_["combineReducers"])({
-  singleEnableItems,
-  multipleEnableItems
-});
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  enableItems,
-  preferenceDefaults,
-  preferences
-}));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "primary",
+    onClick: () => {
+      setIsModalOpen(true);
+    }
+  }, postType.labels.add_new), isModalOpen && (0,external_wp_element_namespaceObject.createElement)(CreateTemplatePartModal, {
+    closeModal: () => setIsModalOpen(false),
+    onCreate: createTemplatePart
+  }));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/add-new-template/index.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/actions.js
 /**
- * Returns an action object used in signalling that an active area should be changed.
- *
- * @param {string} itemType Type of item.
- * @param {string} scope    Item scope.
- * @param {string} item     Item identifier.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */
-function setSingleEnableItem(itemType, scope, item) {
-  return {
-    type: 'SET_SINGLE_ENABLE_ITEM',
-    itemType,
-    scope,
-    item
-  };
-}
+
+
 /**
- * Returns an action object used in signalling that a complementary item should be enabled.
- *
- * @param {string} scope Complementary area scope.
- * @param {string} area  Area identifier.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */


-function actions_enableComplementaryArea(scope, area) {
-  return setSingleEnableItem('complementaryArea', scope, area);
+
+function AddNewTemplate(_ref) {
+  let {
+    templateType = 'wp_template'
+  } = _ref;
+  const postType = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getPostType(templateType), [templateType]);
+
+  if (!postType) {
+    return null;
+  }
+
+  if (templateType === 'wp_template') {
+    return (0,external_wp_element_namespaceObject.createElement)(NewTemplate, {
+      postType: postType
+    });
+  } else if (templateType === 'wp_template_part') {
+    return (0,external_wp_element_namespaceObject.createElement)(NewTemplatePart, {
+      postType: postType
+    });
+  }
+
+  return null;
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/header.js
+
+
 /**
- * Returns an action object used in signalling that the complementary area of a given scope should be disabled.
- *
- * @param {string} scope Complementary area scope.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */

-function actions_disableComplementaryArea(scope) {
-  return setSingleEnableItem('complementaryArea', scope, undefined);
-}
+
+
 /**
- * Returns an action object to make an area enabled/disabled.
- *
- * @param {string}  itemType Type of item.
- * @param {string}  scope    Item scope.
- * @param {string}  item     Item identifier.
- * @param {boolean} isEnable Boolean indicating if an area should be pinned or not.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */

-function setMultipleEnableItem(itemType, scope, item, isEnable) {
-  return {
-    type: 'SET_MULTIPLE_ENABLE_ITEM',
-    itemType,
-    scope,
-    item,
-    isEnable
-  };
-}
-/**
- * Returns an action object used in signalling that an item should be pinned.
- *
- * @param {string} scope  Item scope.
- * @param {string} itemId Item identifier.
- *
- * @return {Object} Action object.
- */

+function header_Header(_ref) {
+  var _postType$labels;

-function actions_pinItem(scope, itemId) {
-  return setMultipleEnableItem('pinnedItems', scope, itemId, true);
-}
-/**
- * Returns an action object used in signalling that an item should be unpinned.
- *
- * @param {string} scope  Item scope.
- * @param {string} itemId Item identifier.
- *
- * @return {Object} Action object.
- */
+  let {
+    templateType
+  } = _ref;
+  const postType = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getPostType(templateType), [templateType]);

-function actions_unpinItem(scope, itemId) {
-  return setMultipleEnableItem('pinnedItems', scope, itemId, false);
-}
-/**
- * Returns an action object used in signalling that a feature should be toggled.
- *
- * @param {string} scope       The feature scope (e.g. core/edit-post).
- * @param {string} featureName The feature name.
- */
+  if (!postType) {
+    return null;
+  }

-function actions_toggleFeature(scope, featureName) {
-  return function (_ref) {
-    let {
-      select,
-      dispatch
-    } = _ref;
-    const currentValue = select.isFeatureActive(scope, featureName);
-    dispatch.setFeatureValue(scope, featureName, !currentValue);
-  };
+  return (0,external_wp_element_namespaceObject.createElement)("header", {
+    className: "edit-site-list-header"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHeading, {
+    level: 1,
+    className: "edit-site-list-header__title"
+  }, (_postType$labels = postType.labels) === null || _postType$labels === void 0 ? void 0 : _postType$labels.name), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-site-list-header__right"
+  }, (0,external_wp_element_namespaceObject.createElement)(AddNewTemplate, {
+    templateType: templateType
+  })));
 }
-/**
- * Returns an action object used in signalling that a feature should be set to
- * a true or false value
- *
- * @param {string}  scope       The feature scope (e.g. core/edit-post).
- * @param {string}  featureName The feature name.
- * @param {boolean} value       The value to set.
- *
- * @return {Object} Action object.
- */

-function setFeatureValue(scope, featureName, value) {
-  return {
-    type: 'SET_FEATURE_VALUE',
-    scope,
-    featureName,
-    value: !!value
-  };
-}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/is-template-removable.js
 /**
- * Returns an action object used in signalling that defaults should be set for features.
- *
- * @param {string}                  scope    The feature scope (e.g. core/edit-post).
- * @param {Object<string, boolean>} defaults A key/value map of feature names to values.
+ * Check if a template is removable.
  *
- * @return {Object} Action object.
+ * @param {Object} template The template entity to check.
+ * @return {boolean} Whether the template is revertable.
  */
+function isTemplateRemovable(template) {
+  if (!template) {
+    return false;
+  }

-function setFeatureDefaults(scope, defaults) {
-  return {
-    type: 'SET_FEATURE_DEFAULTS',
-    scope,
-    defaults
-  };
+  return template.source === 'custom' && !template.has_theme_file;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/selectors.js
-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/actions/rename-menu-item.js

-/**
- * Returns the item that is enabled in a given scope.
- *
- * @param {Object} state    Global application state.
- * @param {string} itemType Type of item.
- * @param {string} scope    Item scope.
- *
- * @return {?string|null} The item that is enabled in the passed scope and type.
- */

-function getSingleEnableItem(state, itemType, scope) {
-  return Object(external_lodash_["get"])(state.enableItems.singleEnableItems, [itemType, scope]);
-}
 /**
- * Returns the complementary area that is active in a given scope.
- *
- * @param {Object} state Global application state.
- * @param {string} scope Item scope.
- *
- * @return {string} The complementary area that is active in the given scope.
+ * WordPress dependencies
  */


-function selectors_getActiveComplementaryArea(state, scope) {
-  return getSingleEnableItem(state, 'complementaryArea', scope);
-}
-/**
- * Returns a boolean indicating if an item is enabled or not in a given scope.
- *
- * @param {Object} state    Global application state.
- * @param {string} itemType Type of item.
- * @param {string} scope    Scope.
- * @param {string} item     Item to check.
- *
- * @return {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
- */

-function isMultipleEnabledItemEnabled(state, itemType, scope, item) {
-  return Object(external_lodash_["get"])(state.enableItems.multipleEnableItems, [itemType, scope, item]);
-}
-/**
- * Returns a boolean indicating if an item is pinned or not.
- *
- * @param {Object} state Global application state.
- * @param {string} scope Scope.
- * @param {string} item  Item to check.
- *
- * @return {boolean} True if the item is pinned and false otherwise.
- */


-function selectors_isItemPinned(state, scope, item) {
-  return isMultipleEnabledItemEnabled(state, 'pinnedItems', scope, item) !== false;
-}
-/**
- * Returns a boolean indicating whether a feature is active for a particular
- * scope.
- *
- * @param {Object} state       The store state.
- * @param {string} scope       The scope of the feature (e.g. core/edit-post).
- * @param {string} featureName The name of the feature.
- *
- * @return {boolean} Is the feature enabled?
- */

-function isFeatureActive(state, scope, featureName) {
-  var _state$preferences$fe, _state$preferenceDefa;
+function RenameMenuItem(_ref) {
+  let {
+    template,
+    onClose
+  } = _ref;
+  const [title, setTitle] = (0,external_wp_element_namespaceObject.useState)(() => template.title.rendered);
+  const [isModalOpen, setIsModalOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  const {
+    getLastEntitySaveError
+  } = (0,external_wp_data_namespaceObject.useSelect)(external_wp_coreData_namespaceObject.store);
+  const {
+    editEntityRecord,
+    saveEditedEntityRecord
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const {
+    createSuccessNotice,
+    createErrorNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);

-  const featureValue = (_state$preferences$fe = state.preferences.features[scope]) === null || _state$preferences$fe === void 0 ? void 0 : _state$preferences$fe[featureName];
-  const defaultedFeatureValue = featureValue !== undefined ? featureValue : (_state$preferenceDefa = state.preferenceDefaults.features[scope]) === null || _state$preferenceDefa === void 0 ? void 0 : _state$preferenceDefa[featureName];
-  return !!defaultedFeatureValue;
+  if (!template.is_custom) {
+    return null;
+  }
+
+  async function onTemplateRename(event) {
+    event.preventDefault();
+
+    try {
+      await editEntityRecord('postType', template.type, template.id, {
+        title
+      }); // Update state before saving rerenders the list.
+
+      setTitle('');
+      setIsModalOpen(false);
+      onClose(); // Persist edited entity.
+
+      await saveEditedEntityRecord('postType', template.type, template.id);
+      const lastError = getLastEntitySaveError('postType', template.type, template.id);
+
+      if (lastError) {
+        throw lastError;
+      }
+
+      createSuccessNotice((0,external_wp_i18n_namespaceObject.__)('Template has been renamed.'), {
+        type: 'snackbar'
+      });
+    } catch (error) {
+      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : (0,external_wp_i18n_namespaceObject.__)('An error occurred while renaming the template.');
+      createErrorNotice(errorMessage, {
+        type: 'snackbar'
+      });
+    }
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    onClick: () => {
+      setIsModalOpen(true);
+      setTitle(template.title.rendered);
+    }
+  }, (0,external_wp_i18n_namespaceObject.__)('Rename')), isModalOpen && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Rename template'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
+    onRequestClose: () => {
+      setIsModalOpen(false);
+    },
+    overlayClassName: "edit-site-list__rename-modal"
+  }, (0,external_wp_element_namespaceObject.createElement)("form", {
+    onSubmit: onTemplateRename
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
+    align: "flex-start",
+    gap: 8
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Name'),
+    value: title,
+    onChange: setTitle,
+    required: true
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
+    className: "edit-site-list__rename-modal-actions",
+    justify: "flex-end",
+    expanded: false
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "tertiary",
+    onClick: () => {
+      setIsModalOpen(false);
+    }
+  }, (0,external_wp_i18n_namespaceObject.__)('Cancel'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "primary",
+    type: "submit"
+  }, (0,external_wp_i18n_namespaceObject.__)('Save')))))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/constants.js
-/**
- * The identifier for the data store.
- *
- * @type {string}
- */
-const STORE_NAME = 'core/interface';
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/actions/index.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/index.js
 /**
  * WordPress dependencies
  */

-/**
- * Internal dependencies
- */





 /**
- * Store definition for the interface namespace.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
- *
- * @type {Object}
+ * Internal dependencies
  */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['enableItems', 'preferences'],
-  __experimentalUseThunks: true
-}); // Once we build a more generic persistence plugin that works across types of stores
-// we'd be able to replace this with a register call.

-Object(external_wp_data_["registerStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['enableItems', 'preferences'],
-  __experimentalUseThunks: true
-});

-// EXTERNAL MODULE: external ["wp","plugins"]
-var external_wp_plugins_ = __webpack_require__("TvNi");

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-context/index.js
-/**
- * WordPress dependencies
- */

-/* harmony default export */ var complementary_area_context = (Object(external_wp_plugins_["withPluginContext"])((context, ownProps) => {
-  return {
-    icon: ownProps.icon || context.icon,
-    identifier: ownProps.identifier || `${context.name}/${ownProps.name}`
-  };
-}));
+function Actions(_ref) {
+  let {
+    template
+  } = _ref;
+  const {
+    removeTemplate,
+    revertTemplate
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    saveEditedEntityRecord
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const {
+    createSuccessNotice,
+    createErrorNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const isRemovable = isTemplateRemovable(template);
+  const isRevertable = isTemplateRevertable(template);
+
+  if (!isRemovable && !isRevertable) {
+    return null;
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-toggle/index.js
+  async function revertAndSaveTemplate() {
+    try {
+      await revertTemplate(template, {
+        allowUndo: false
+      });
+      await saveEditedEntityRecord('postType', template.type, template.id);
+      createSuccessNotice((0,external_wp_i18n_namespaceObject.__)('Template reverted.'), {
+        type: 'snackbar'
+      });
+    } catch (error) {
+      const errorMessage = error.message && error.code !== 'unknown_error' ? error.message : (0,external_wp_i18n_namespaceObject.__)('An error occurred while reverting the template.');
+      createErrorNotice(errorMessage, {
+        type: 'snackbar'
+      });
+    }
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
+    icon: more_vertical,
+    label: (0,external_wp_i18n_namespaceObject.__)('Actions'),
+    className: "edit-site-list-table__actions"
+  }, _ref2 => {
+    let {
+      onClose
+    } = _ref2;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, null, isRemovable && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(RenameMenuItem, {
+      template: template,
+      onClose: onClose
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      isDestructive: true,
+      onClick: () => {
+        removeTemplate(template);
+        onClose();
+      }
+    }, (0,external_wp_i18n_namespaceObject.__)('Delete template'))), isRevertable && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+      info: (0,external_wp_i18n_namespaceObject.__)('Restore template to default state'),
+      onClick: () => {
+        revertAndSaveTemplate();
+        onClose();
+      }
+    }, (0,external_wp_i18n_namespaceObject.__)('Clear customizations')));
+  });
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plugins.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */

+const plugins = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"
+}));
+/* harmony default export */ var library_plugins = (plugins);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/comment-author-avatar.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const commentAuthorAvatar = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M7.25 16.4371C6.16445 15.2755 5.5 13.7153 5.5 12C5.5 8.41015 8.41015 5.5 12 5.5C15.5899 5.5 18.5 8.41015 18.5 12C18.5 13.7153 17.8356 15.2755 16.75 16.4371V16C16.75 14.4812 15.5188 13.25 14 13.25L10 13.25C8.48122 13.25 7.25 14.4812 7.25 16V16.4371ZM8.75 17.6304C9.70606 18.1835 10.8161 18.5 12 18.5C13.1839 18.5 14.2939 18.1835 15.25 17.6304V16C15.25 15.3096 14.6904 14.75 14 14.75L10 14.75C9.30964 14.75 8.75 15.3096 8.75 16V17.6304ZM4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM14 10C14 11.1046 13.1046 12 12 12C10.8954 12 10 11.1046 10 10C10 8.89543 10.8954 8 12 8C13.1046 8 14 8.89543 14 10Z",
+  fillRule: "evenodd",
+  clipRule: "evenodd",
+  fill: "black"
+}));
+/* harmony default export */ var comment_author_avatar = (commentAuthorAvatar);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/globe.js


-function ComplementaryAreaToggle(_ref) {
-  let {
-    as = external_wp_components_["Button"],
-    scope,
-    identifier,
-    icon,
-    selectedIcon,
-    ...props
-  } = _ref;
-  const ComponentToUse = as;
-  const isSelected = Object(external_wp_data_["useSelect"])(select => select(store).getActiveComplementaryArea(scope) === identifier, [identifier]);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(ComponentToUse, Object(esm_extends["a" /* default */])({
-    icon: selectedIcon && isSelected ? selectedIcon : icon,
-    onClick: () => {
-      if (isSelected) {
-        disableComplementaryArea(scope);
-      } else {
-        enableComplementaryArea(scope, identifier);
-      }
-    }
-  }, Object(external_lodash_["omit"])(props, ['name'])));
-}
-
-/* harmony default export */ var complementary_area_toggle = (complementary_area_context(ComplementaryAreaToggle));
+/**
+ * WordPress dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-header/index.js
+const globe = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_globe = (globe);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/added-by.js


 /**
@@ -10037,212 +9940,272 @@ function ComplementaryAreaToggle(_ref) {
  */


-/**
- * Internal dependencies
- */
-
-
-
-const ComplementaryAreaHeader = _ref => {
-  let {
-    smallScreenTitle,
-    children,
-    className,
-    toggleButtonProps
-  } = _ref;
-  const toggleButton = Object(external_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
-    icon: close_small["a" /* default */]
-  }, toggleButtonProps));
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "components-panel__header interface-complementary-area-header__small"
-  }, smallScreenTitle && Object(external_wp_element_["createElement"])("span", {
-    className: "interface-complementary-area-header__small-title"
-  }, smallScreenTitle), toggleButton), Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('components-panel__header', 'interface-complementary-area-header', className),
-    tabIndex: -1
-  }, children, toggleButton));
-};
-
-/* harmony default export */ var complementary_area_header = (ComplementaryAreaHeader);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/action-item/index.js
-


-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */



+const TEMPLATE_POST_TYPE_NAMES = ['wp_template', 'wp_template_part'];

-function ActionItemSlot(_ref) {
+function CustomizedTooltip(_ref) {
   let {
-    name,
-    as: Component = external_wp_components_["ButtonGroup"],
-    fillProps = {},
-    bubblesVirtually,
-    ...props
+    isCustomized,
+    children
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], {
-    name: name,
-    bubblesVirtually: bubblesVirtually,
-    fillProps: fillProps
-  }, fills => {
-    if (Object(external_lodash_["isEmpty"])(external_wp_element_["Children"].toArray(fills))) {
-      return null;
-    } // Special handling exists for backward compatibility.
-    // It ensures that menu items created by plugin authors aren't
-    // duplicated with automatically injected menu items coming
-    // from pinnable plugin sidebars.
-    // @see https://github.com/WordPress/gutenberg/issues/14457

+  if (!isCustomized) {
+    return children;
+  }

-    const initializedByPlugins = [];
-    external_wp_element_["Children"].forEach(fills, _ref2 => {
-      let {
-        props: {
-          __unstableExplicitMenuItem,
-          __unstableTarget
-        }
-      } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Tooltip, {
+    text: (0,external_wp_i18n_namespaceObject.__)('This template has been customized')
+  }, children);
+}

-      if (__unstableTarget && __unstableExplicitMenuItem) {
-        initializedByPlugins.push(__unstableTarget);
-      }
-    });
-    const children = external_wp_element_["Children"].map(fills, child => {
-      if (!child.props.__unstableExplicitMenuItem && initializedByPlugins.includes(child.props.__unstableTarget)) {
-        return null;
-      }
+function BaseAddedBy(_ref2) {
+  let {
+    text,
+    icon,
+    imageUrl,
+    isCustomized
+  } = _ref2;
+  const [isImageLoaded, setIsImageLoaded] = (0,external_wp_element_namespaceObject.useState)(false);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHStack, {
+    alignment: "left"
+  }, (0,external_wp_element_namespaceObject.createElement)(CustomizedTooltip, {
+    isCustomized: isCustomized
+  }, imageUrl ? (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('edit-site-list-added-by__avatar', {
+      'is-loaded': isImageLoaded
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)("img", {
+    onLoad: () => setIsImageLoaded(true),
+    alt: "",
+    src: imageUrl
+  })) : (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('edit-site-list-added-by__icon', {
+      'is-customized': isCustomized
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+    icon: icon
+  }))), (0,external_wp_element_namespaceObject.createElement)("span", null, text));
+}

-      return child;
-    });
-    return Object(external_wp_element_["createElement"])(Component, props, children);
+function AddedByTheme(_ref3) {
+  var _theme$name;
+
+  let {
+    slug,
+    isCustomized
+  } = _ref3;
+  const theme = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getTheme(slug), [slug]);
+  return (0,external_wp_element_namespaceObject.createElement)(BaseAddedBy, {
+    icon: library_layout,
+    text: (theme === null || theme === void 0 ? void 0 : (_theme$name = theme.name) === null || _theme$name === void 0 ? void 0 : _theme$name.rendered) || slug,
+    isCustomized: isCustomized
   });
 }

-function ActionItem(_ref3) {
+function AddedByPlugin(_ref4) {
   let {
-    name,
-    as: Component = external_wp_components_["Button"],
-    onClick,
-    ...props
-  } = _ref3;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], {
-    name: name
-  }, _ref4 => {
-    let {
-      onClick: fpOnClick
-    } = _ref4;
-    return Object(external_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({
-      onClick: onClick || fpOnClick ? function () {
-        (onClick || external_lodash_["noop"])(...arguments);
-        (fpOnClick || external_lodash_["noop"])(...arguments);
-      } : undefined
-    }, props));
+    slug,
+    isCustomized
+  } = _ref4;
+  const plugin = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getPlugin(slug), [slug]);
+  return (0,external_wp_element_namespaceObject.createElement)(BaseAddedBy, {
+    icon: library_plugins,
+    text: (plugin === null || plugin === void 0 ? void 0 : plugin.name) || slug,
+    isCustomized: isCustomized
   });
 }

-ActionItem.Slot = ActionItemSlot;
-/* harmony default export */ var action_item = (ActionItem);
+function AddedByAuthor(_ref5) {
+  var _user$avatar_urls;

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-more-menu-item/index.js
+  let {
+    id
+  } = _ref5;
+  const user = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getUser(id), [id]);
+  return (0,external_wp_element_namespaceObject.createElement)(BaseAddedBy, {
+    icon: comment_author_avatar,
+    imageUrl: user === null || user === void 0 ? void 0 : (_user$avatar_urls = user.avatar_urls) === null || _user$avatar_urls === void 0 ? void 0 : _user$avatar_urls[48],
+    text: user === null || user === void 0 ? void 0 : user.nickname
+  });
+}

+function AddedBySite() {
+  const {
+    name,
+    logoURL
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _getMedia;

+    const {
+      getEntityRecord,
+      getMedia
+    } = select(external_wp_coreData_namespaceObject.store);
+    const siteData = getEntityRecord('root', '__unstableBase');
+    return {
+      name: siteData === null || siteData === void 0 ? void 0 : siteData.name,
+      logoURL: siteData !== null && siteData !== void 0 && siteData.site_logo ? (_getMedia = getMedia(siteData.site_logo)) === null || _getMedia === void 0 ? void 0 : _getMedia.source_url : undefined
+    };
+  }, []);
+  return (0,external_wp_element_namespaceObject.createElement)(BaseAddedBy, {
+    icon: library_globe,
+    imageUrl: logoURL,
+    text: name
+  });
+}

-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
+function AddedBy(_ref6) {
+  let {
+    templateType,
+    template
+  } = _ref6;

+  if (!template) {
+    return;
+  }

+  if (TEMPLATE_POST_TYPE_NAMES.includes(templateType)) {
+    // Template originally provided by a theme, but customized by a user.
+    // Templates originally didn't have the 'origin' field so identify
+    // older customized templates by checking for no origin and a 'theme'
+    // or 'custom' source.
+    if (template.has_theme_file && (template.origin === 'theme' || !template.origin && ['theme', 'custom'].includes(template.source))) {
+      return (0,external_wp_element_namespaceObject.createElement)(AddedByTheme, {
+        slug: template.theme,
+        isCustomized: template.source === 'custom'
+      });
+    } // Template originally provided by a plugin, but customized by a user.

-/**
- * Internal dependencies
- */

+    if (template.has_theme_file && template.origin === 'plugin') {
+      return (0,external_wp_element_namespaceObject.createElement)(AddedByPlugin, {
+        slug: template.theme,
+        isCustomized: template.source === 'custom'
+      });
+    } // Template was created from scratch, but has no author. Author support
+    // was only added to templates in WordPress 5.9. Fallback to showing the
+    // site logo and title.


+    if (!template.has_theme_file && template.source === 'custom' && !template.author) {
+      return (0,external_wp_element_namespaceObject.createElement)(AddedBySite, null);
+    }
+  } // Simply show the author for templates created from scratch that have an
+  // author or for any other post type.

-const PluginsMenuItem = props => // Menu item is marked with unstable prop for backward compatibility.
-// They are removed so they don't leak to DOM elements.
-// @see https://github.com/WordPress/gutenberg/issues/14457
-Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], Object(external_lodash_["omit"])(props, ['__unstableExplicitMenuItem', '__unstableTarget']));

-function ComplementaryAreaMoreMenuItem(_ref) {
-  let {
-    scope,
-    target,
-    __unstableExplicitMenuItem,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
-    as: toggleProps => {
-      return Object(external_wp_element_["createElement"])(action_item, Object(esm_extends["a" /* default */])({
-        __unstableExplicitMenuItem: __unstableExplicitMenuItem,
-        __unstableTarget: `${scope}/${target}`,
-        as: PluginsMenuItem,
-        name: `${scope}/plugin-more-menu`
-      }, toggleProps));
-    },
-    role: "menuitemcheckbox",
-    selectedIcon: check["a" /* default */],
-    name: target,
-    scope: scope
-  }, props));
+  return (0,external_wp_element_namespaceObject.createElement)(AddedByAuthor, {
+    id: template.author
+  });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/pinned-items/index.js
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/table.js


 /**
- * External dependencies
+ * WordPress dependencies
  */


+
+
 /**
- * WordPress dependencies
+ * Internal dependencies
  */



-function PinnedItems(_ref) {
+
+function Table(_ref) {
   let {
-    scope,
-    ...props
+    templateType
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], Object(esm_extends["a" /* default */])({
-    name: `PinnedItems/${scope}`
-  }, props));
-}
+  const {
+    templates,
+    isLoading,
+    postType
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEntityRecords,
+      hasFinishedResolution,
+      getPostType
+    } = select(external_wp_coreData_namespaceObject.store);
+    return {
+      templates: getEntityRecords('postType', templateType, {
+        per_page: -1
+      }),
+      isLoading: !hasFinishedResolution('getEntityRecords', ['postType', templateType, {
+        per_page: -1
+      }]),
+      postType: getPostType(templateType)
+    };
+  }, [templateType]);

-function PinnedItemsSlot(_ref2) {
-  let {
-    scope,
-    className,
-    ...props
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
-    name: `PinnedItems/${scope}`
-  }, props), fills => !Object(external_lodash_["isEmpty"])(fills) && Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()(className, 'interface-pinned-items')
-  }, fills));
-}
+  if (!templates || isLoading) {
+    return null;
+  }

-PinnedItems.Slot = PinnedItemsSlot;
-/* harmony default export */ var pinned_items = (PinnedItems);
+  if (!templates.length) {
+    var _postType$labels, _postType$labels$name;
+
+    return (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_i18n_namespaceObject.sprintf)( // translators: The template type name, should be either "templates" or "template parts".
+    (0,external_wp_i18n_namespaceObject.__)('No %s found.'), postType === null || postType === void 0 ? void 0 : (_postType$labels = postType.labels) === null || _postType$labels === void 0 ? void 0 : (_postType$labels$name = _postType$labels.name) === null || _postType$labels$name === void 0 ? void 0 : _postType$labels$name.toLowerCase()));
+  }
+
+  return (// These explicit aria roles are needed for Safari.
+    // See https://developer.mozilla.org/en-US/docs/Web/CSS/display#tables
+    (0,external_wp_element_namespaceObject.createElement)("table", {
+      className: "edit-site-list-table",
+      role: "table"
+    }, (0,external_wp_element_namespaceObject.createElement)("thead", null, (0,external_wp_element_namespaceObject.createElement)("tr", {
+      className: "edit-site-list-table-head",
+      role: "row"
+    }, (0,external_wp_element_namespaceObject.createElement)("th", {
+      className: "edit-site-list-table-column",
+      role: "columnheader"
+    }, (0,external_wp_i18n_namespaceObject.__)('Template')), (0,external_wp_element_namespaceObject.createElement)("th", {
+      className: "edit-site-list-table-column",
+      role: "columnheader"
+    }, (0,external_wp_i18n_namespaceObject.__)('Added by')), (0,external_wp_element_namespaceObject.createElement)("th", {
+      className: "edit-site-list-table-column",
+      role: "columnheader"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, null, (0,external_wp_i18n_namespaceObject.__)('Actions'))))), (0,external_wp_element_namespaceObject.createElement)("tbody", null, templates.map(template => {
+      var _template$title;

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area/index.js
+      return (0,external_wp_element_namespaceObject.createElement)("tr", {
+        key: template.id,
+        className: "edit-site-list-table-row",
+        role: "row"
+      }, (0,external_wp_element_namespaceObject.createElement)("td", {
+        className: "edit-site-list-table-column",
+        role: "cell"
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__experimentalHeading, {
+        level: 4
+      }, (0,external_wp_element_namespaceObject.createElement)(Link, {
+        params: {
+          postId: template.id,
+          postType: template.type
+        }
+      }, ((_template$title = template.title) === null || _template$title === void 0 ? void 0 : _template$title.rendered) || template.slug)), template.description), (0,external_wp_element_namespaceObject.createElement)("td", {
+        className: "edit-site-list-table-column",
+        role: "cell"
+      }, (0,external_wp_element_namespaceObject.createElement)(AddedBy, {
+        templateType: templateType,
+        template: template
+      })), (0,external_wp_element_namespaceObject.createElement)("td", {
+        className: "edit-site-list-table-column",
+        role: "cell"
+      }, (0,external_wp_element_namespaceObject.createElement)(Actions, {
+        template: template
+      })));
+    })))
+  );
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/list/index.js


 /**
@@ -10270,1232 +10233,536 @@ PinnedItems.Slot = PinnedItemsSlot;



-function ComplementaryAreaSlot(_ref) {
-  let {
-    scope,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
-    name: `ComplementaryArea/${scope}`
-  }, props));
+function List() {
+  var _postType$labels, _postType$labels2;
+
+  const {
+    params: {
+      postType: templateType
+    }
+  } = useLocation();
+  useRegisterShortcuts();
+  const {
+    previousShortcut,
+    nextShortcut,
+    isNavigationOpen
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return {
+      previousShortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getAllShortcutKeyCombinations('core/edit-site/previous-region'),
+      nextShortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getAllShortcutKeyCombinations('core/edit-site/next-region'),
+      isNavigationOpen: select(store_store).isNavigationOpened()
+    };
+  }, []);
+  const postType = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getPostType(templateType), [templateType]);
+  useTitle(postType === null || postType === void 0 ? void 0 : (_postType$labels = postType.labels) === null || _postType$labels === void 0 ? void 0 : _postType$labels.name); // `postType` could load in asynchronously. Only provide the detailed region labels if
+  // the postType has loaded, otherwise `InterfaceSkeleton` will fallback to the defaults.
+
+  const itemsListLabel = postType === null || postType === void 0 ? void 0 : (_postType$labels2 = postType.labels) === null || _postType$labels2 === void 0 ? void 0 : _postType$labels2.items_list;
+  const detailedRegionLabels = postType ? {
+    header: (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s - the name of the page, 'Header' as in the header area of that page.
+    (0,external_wp_i18n_namespaceObject.__)('%s - Header'), itemsListLabel),
+    body: (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s - the name of the page, 'Content' as in the content area of that page.
+    (0,external_wp_i18n_namespaceObject.__)('%s - Content'), itemsListLabel)
+  } : undefined;
+  return (0,external_wp_element_namespaceObject.createElement)(interface_skeleton, {
+    className: classnames_default()('edit-site-list', {
+      'is-navigation-open': isNavigationOpen
+    }),
+    labels: {
+      drawer: (0,external_wp_i18n_namespaceObject.__)('Navigation Sidebar'),
+      ...detailedRegionLabels
+    },
+    header: (0,external_wp_element_namespaceObject.createElement)(header_Header, {
+      templateType: templateType
+    }),
+    drawer: (0,external_wp_element_namespaceObject.createElement)(navigation_sidebar.Slot, null),
+    notices: (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.EditorSnackbars, null),
+    content: (0,external_wp_element_namespaceObject.createElement)(Table, {
+      templateType: templateType
+    }),
+    shortcuts: {
+      previous: previousShortcut,
+      next: nextShortcut
+    }
+  });
 }

-function ComplementaryAreaFill(_ref2) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/utils/get-is-list-page.js
+/**
+ * Returns if the params match the list page route.
+ *
+ * @param {Object} params          The search params.
+ * @param {string} params.postId   The post ID.
+ * @param {string} params.postType The post type.
+ * @return {boolean} Is list page or not.
+ */
+function getIsListPage(_ref) {
   let {
-    scope,
-    children,
-    className
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], {
-    name: `ComplementaryArea/${scope}`
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: className
-  }, children));
+    postId,
+    postType
+  } = _ref;
+  return !!(!postId && postType);
 }

-function useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall) {
-  const previousIsSmall = Object(external_wp_element_["useRef"])(false);
-  const shouldOpenWhenNotSmall = Object(external_wp_element_["useRef"])(false);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    // If the complementary area is active and the editor is switching from a big to a small window size.
-    if (isActive && isSmall && !previousIsSmall.current) {
-      // Disable the complementary area.
-      disableComplementaryArea(scope); // Flag the complementary area to be reopened when the window size goes from small to big.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/app/index.js

-      shouldOpenWhenNotSmall.current = true;
-    } else if ( // If there is a flag indicating the complementary area should be enabled when we go from small to big window size
-    // and we are going from a small to big window size.
-    shouldOpenWhenNotSmall.current && !isSmall && previousIsSmall.current) {
-      // Remove the flag indicating the complementary area should be enabled.
-      shouldOpenWhenNotSmall.current = false; // Enable the complementary area.

-      enableComplementaryArea(scope, identifier);
-    } else if ( // If the flag is indicating the current complementary should be reopened but another complementary area becomes active,
-    // remove the flag.
-    shouldOpenWhenNotSmall.current && activeArea && activeArea !== identifier) {
-      shouldOpenWhenNotSmall.current = false;
-    }
+/**
+ * WordPress dependencies
+ */

-    if (isSmall !== previousIsSmall.current) {
-      previousIsSmall.current = isSmall;
-    }
-  }, [isActive, isSmall, scope, identifier, activeArea]);
-}

-function ComplementaryArea(_ref3) {
+/**
+ * Internal dependencies
+ */
+
+
+
+
+
+
+function EditSiteApp(_ref) {
   let {
-    children,
-    className,
-    closeLabel = Object(external_wp_i18n_["__"])('Close plugin'),
-    identifier,
-    header,
-    headerClassName,
-    icon,
-    isPinnable = true,
-    panelClassName,
-    scope,
-    name,
-    smallScreenTitle,
-    title,
-    toggleShortcut,
-    isActiveByDefault,
-    showIconLabels = false
-  } = _ref3;
-  const {
-    isActive,
-    isPinned,
-    activeArea,
-    isSmall,
-    isLarge
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getActiveComplementaryArea,
-      isItemPinned
-    } = select(store);
-
-    const _activeArea = getActiveComplementaryArea(scope);
-
-    return {
-      isActive: _activeArea === identifier,
-      isPinned: isItemPinned(scope, identifier),
-      activeArea: _activeArea,
-      isSmall: select(external_wp_viewport_["store"]).isViewportMatch('< medium'),
-      isLarge: select(external_wp_viewport_["store"]).isViewportMatch('large')
-    };
-  }, [identifier, scope]);
-  useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea,
-    pinItem,
-    unpinItem
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isActiveByDefault && activeArea === undefined && !isSmall) {
-      enableComplementaryArea(scope, identifier);
-    }
-  }, [activeArea, isActiveByDefault, scope, identifier, isSmall]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isPinnable && Object(external_wp_element_["createElement"])(pinned_items, {
-    scope: scope
-  }, isPinned && Object(external_wp_element_["createElement"])(complementary_area_toggle, {
-    scope: scope,
-    identifier: identifier,
-    isPressed: isActive && (!showIconLabels || isLarge),
-    "aria-expanded": isActive,
-    label: title,
-    icon: showIconLabels ? check["a" /* default */] : icon,
-    showTooltip: !showIconLabels,
-    variant: showIconLabels ? 'tertiary' : undefined
-  })), name && isPinnable && Object(external_wp_element_["createElement"])(ComplementaryAreaMoreMenuItem, {
-    target: name,
-    scope: scope,
-    icon: icon
-  }, title), isActive && Object(external_wp_element_["createElement"])(ComplementaryAreaFill, {
-    className: classnames_default()('interface-complementary-area', className),
-    scope: scope
-  }, Object(external_wp_element_["createElement"])(complementary_area_header, {
-    className: headerClassName,
-    closeLabel: closeLabel,
-    onClose: () => disableComplementaryArea(scope),
-    smallScreenTitle: smallScreenTitle,
-    toggleButtonProps: {
-      label: closeLabel,
-      shortcut: toggleShortcut,
-      scope,
-      identifier
-    }
-  }, header || Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("strong", null, title), isPinnable && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "interface-complementary-area__pin-unpin-item",
-    icon: isPinned ? star_filled["a" /* default */] : star_empty["a" /* default */],
-    label: isPinned ? Object(external_wp_i18n_["__"])('Unpin from toolbar') : Object(external_wp_i18n_["__"])('Pin to toolbar'),
-    onClick: () => (isPinned ? unpinItem : pinItem)(scope, identifier),
-    isPressed: isPinned,
-    "aria-expanded": isPinned
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["Panel"], {
-    className: panelClassName
-  }, children)));
+    reboot
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SlotFillProvider, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_editor_namespaceObject.UnsavedChangesWarning, null), (0,external_wp_element_namespaceObject.createElement)(Routes, null, _ref2 => {
+    let {
+      params
+    } = _ref2;
+    const isListPage = getIsListPage(params);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isListPage ? (0,external_wp_element_namespaceObject.createElement)(List, null) : (0,external_wp_element_namespaceObject.createElement)(editor, {
+      onError: reboot
+    }), (0,external_wp_element_namespaceObject.createElement)(navigation_sidebar // Open the navigation sidebar by default when in the list page.
+    , {
+      isDefaultOpen: !!isListPage,
+      activeTemplateType: isListPage ? params.postType : undefined
+    }));
+  }));
 }

-const ComplementaryAreaWrapped = complementary_area_context(ComplementaryArea);
-ComplementaryAreaWrapped.Slot = ComplementaryAreaSlot;
-/* harmony default export */ var complementary_area = (ComplementaryAreaWrapped);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/fullscreen-mode/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/routes/redirect-to-homepage.js
 /**
  * WordPress dependencies
  */


-const FullscreenMode = _ref => {
-  let {
-    isActive
-  } = _ref;
-  Object(external_wp_element_["useEffect"])(() => {
-    let isSticky = false; // `is-fullscreen-mode` is set in PHP as a body class by Gutenberg, and this causes
-    // `sticky-menu` to be applied by WordPress and prevents the admin menu being scrolled
-    // even if `is-fullscreen-mode` is then removed. Let's remove `sticky-menu` here as
-    // a consequence of the FullscreenMode setup
-
-    if (document.body.classList.contains('sticky-menu')) {
-      isSticky = true;
-      document.body.classList.remove('sticky-menu');
-    }
-
-    return () => {
-      if (isSticky) {
-        document.body.classList.add('sticky-menu');
-      }
-    };
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isActive) {
-      document.body.classList.add('is-fullscreen-mode');
-    } else {
-      document.body.classList.remove('is-fullscreen-mode');
-    }
-
-    return () => {
-      if (isActive) {
-        document.body.classList.remove('is-fullscreen-mode');
-      }
-    };
-  }, [isActive]);
-  return null;
-};
-
-/* harmony default export */ var fullscreen_mode = (FullscreenMode);
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/interface-skeleton/index.js
-
-
-
-/**
- * External dependencies
- */
-
 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-/**
- * WordPress dependencies
- */



+function getNeedsHomepageRedirect(params) {
+  const {
+    postType
+  } = params;
+  return !getIsListPage(params) && !['post', 'page', 'wp_template', 'wp_template_part'].includes(postType);
+}
+/**
+ * Returns the postType and postId of the default homepage.
+ *
+ * @param {string} siteUrl The URL of the site.
+ * @return {Object} An object containing the postType and postId properties
+ *                  or `undefined` if a homepage could not be found.
+ */


+async function getHomepageParams(siteUrl) {
+  const siteSettings = await external_wp_apiFetch_default()({
+    path: '/wp/v2/settings'
+  });

-function useHTMLClass(className) {
-  Object(external_wp_element_["useEffect"])(() => {
-    const element = document && document.querySelector(`html:not(.${className})`);
+  if (!siteSettings) {
+    throw new Error('`getHomepageParams`: unable to load site settings.');
+  }

-    if (!element) {
-      return;
-    }
+  const {
+    show_on_front: showOnFront,
+    page_on_front: frontpageId
+  } = siteSettings; // If the user has set a page as the homepage, use those details.

-    element.classList.toggle(className);
-    return () => {
-      element.classList.toggle(className);
+  if (showOnFront === 'page') {
+    return {
+      postType: 'page',
+      postId: frontpageId
     };
-  }, [className]);
-}
+  } // Else get the home template.
+  // This matches the logic in `__experimentalGetTemplateForLink`.
+  // (packages/core-data/src/resolvers.js)

-function InterfaceSkeleton(_ref, ref) {
-  let {
-    footer,
-    header,
-    sidebar,
-    secondarySidebar,
-    notices,
-    content,
-    drawer,
-    actions,
-    labels,
-    className,
-    shortcuts
-  } = _ref;
-  const navigateRegionsProps = Object(external_wp_components_["__unstableUseNavigateRegions"])(shortcuts);
-  useHTMLClass('interface-interface-skeleton__html-container');
-  const defaultLabels = {
-    /* translators: accessibility text for the nav bar landmark region. */
-    drawer: Object(external_wp_i18n_["__"])('Drawer'),

-    /* translators: accessibility text for the top bar landmark region. */
-    header: Object(external_wp_i18n_["__"])('Header'),
+  const template = await window.fetch((0,external_wp_url_namespaceObject.addQueryArgs)(siteUrl, {
+    '_wp-find-template': true
+  })).then(response => {
+    if (!response.ok) {
+      throw new Error(`\`getHomepageParams\`: HTTP status error, ${response.status} ${response.statusText}`);
+    }

-    /* translators: accessibility text for the content landmark region. */
-    body: Object(external_wp_i18n_["__"])('Content'),
+    return response.json();
+  }).then(_ref => {
+    let {
+      data
+    } = _ref;

-    /* translators: accessibility text for the secondary sidebar landmark region. */
-    secondarySidebar: Object(external_wp_i18n_["__"])('Block Library'),
+    if (data.message) {
+      throw new Error(`\`getHomepageParams\`: REST API error, ${data.message}`);
+    }

-    /* translators: accessibility text for the settings landmark region. */
-    sidebar: Object(external_wp_i18n_["__"])('Settings'),
+    return data;
+  });

-    /* translators: accessibility text for the publish landmark region. */
-    actions: Object(external_wp_i18n_["__"])('Publish'),
+  if (!(template !== null && template !== void 0 && template.id)) {
+    throw new Error('`getHomepageParams`: unable to find home template.');
+  }

-    /* translators: accessibility text for the footer landmark region. */
-    footer: Object(external_wp_i18n_["__"])('Footer')
-  };
-  const mergedLabels = { ...defaultLabels,
-    ...labels
+  return {
+    postType: 'wp_template',
+    postId: template.id
   };
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, navigateRegionsProps, {
-    ref: Object(external_wp_compose_["useMergeRefs"])([ref, navigateRegionsProps.ref]),
-    className: classnames_default()(className, 'interface-interface-skeleton', navigateRegionsProps.className, !!footer && 'has-footer')
-  }), !!drawer && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__drawer",
-    role: "region",
-    "aria-label": mergedLabels.drawer,
-    tabIndex: "-1"
-  }, drawer), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__editor"
-  }, !!header && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__header",
-    role: "region",
-    "aria-label": mergedLabels.header,
-    tabIndex: "-1"
-  }, header), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__body"
-  }, !!secondarySidebar && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__secondary-sidebar",
-    role: "region",
-    "aria-label": mergedLabels.secondarySidebar,
-    tabIndex: "-1"
-  }, secondarySidebar), !!notices && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__notices"
-  }, notices), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__content",
-    role: "region",
-    "aria-label": mergedLabels.body,
-    tabIndex: "-1"
-  }, content), !!sidebar && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__sidebar",
-    role: "region",
-    "aria-label": mergedLabels.sidebar,
-    tabIndex: "-1"
-  }, sidebar), !!actions && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__actions",
-    role: "region",
-    "aria-label": mergedLabels.actions,
-    tabIndex: "-1"
-  }, actions))), !!footer && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__footer",
-    role: "region",
-    "aria-label": mergedLabels.footer,
-    tabIndex: "-1"
-  }, footer));
 }

-/* harmony default export */ var interface_skeleton = (Object(external_wp_element_["forwardRef"])(InterfaceSkeleton));
+async function redirectToHomepage(siteUrl) {
+  const searchParams = new URLSearchParams(utils_history.location.search);
+  const params = Object.fromEntries(searchParams.entries());
+
+  if (getNeedsHomepageRedirect(params)) {
+    const homepageParams = await getHomepageParams(siteUrl);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
-var more_vertical = __webpack_require__("VKE3");
+    if (homepageParams) {
+      utils_history.replace(homepageParams);
+    }
+  }
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-dropdown/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/sidebar/plugin-sidebar/index.js


-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */

-
-
-
-function MoreMenuDropdown(_ref) {
-  let {
-    as: DropdownComponent = external_wp_components_["DropdownMenu"],
-    className,
-
-    /* translators: button label text should, if possible, be under 16 characters. */
-    label = Object(external_wp_i18n_["__"])('Options'),
-    popoverProps,
-    toggleProps,
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(DropdownComponent, {
-    className: classnames_default()('interface-more-menu-dropdown', className),
-    icon: more_vertical["a" /* default */],
-    label: label,
-    popoverProps: {
-      position: 'bottom left',
-      ...popoverProps,
-      className: classnames_default()('interface-more-menu-dropdown__content', popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.className)
-    },
-    toggleProps: {
-      tooltipPosition: 'bottom',
-      ...toggleProps
-    }
-  }, onClose => children(onClose));
-}
-
-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-feature-toggle/index.js
-
-
 /**
- * WordPress dependencies
- */
-
-
-
-
-
-/**
- * Internal dependencies
+ * Renders a sidebar when activated. The contents within the `PluginSidebar` will appear as content within the sidebar.
+ * It also automatically renders a corresponding `PluginSidebarMenuItem` component when `isPinnable` flag is set to `true`.
+ * If you wish to display the sidebar, you can with use the `PluginSidebarMoreMenuItem` component or the `wp.data.dispatch` API:
+ *
+ * ```js
+ * wp.data.dispatch( 'core/edit-site' ).openGeneralSidebar( 'plugin-name/sidebar-name' );
+ * ```
+ *
+ * @see PluginSidebarMoreMenuItem
+ *
+ * @param {Object}                props                                 Element props.
+ * @param {string}                props.name                            A string identifying the sidebar. Must be unique for every sidebar registered within the scope of your plugin.
+ * @param {string}                [props.className]                     An optional class name added to the sidebar body.
+ * @param {string}                props.title                           Title displayed at the top of the sidebar.
+ * @param {boolean}               [props.isPinnable=true]               Whether to allow to pin sidebar to the toolbar. When set to `true` it also automatically renders a corresponding menu item.
+ * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.
+ *
+ * @example
+ * ```js
+ * // Using ES5 syntax
+ * var __ = wp.i18n.__;
+ * var el = wp.element.createElement;
+ * var PanelBody = wp.components.PanelBody;
+ * var PluginSidebar = wp.editSite.PluginSidebar;
+ * var moreIcon = wp.element.createElement( 'svg' ); //... svg element.
+ *
+ * function MyPluginSidebar() {
+ * 	return el(
+ * 			PluginSidebar,
+ * 			{
+ * 				name: 'my-sidebar',
+ * 				title: 'My sidebar title',
+ * 				icon: moreIcon,
+ * 			},
+ * 			el(
+ * 				PanelBody,
+ * 				{},
+ * 				__( 'My sidebar content' )
+ * 			)
+ * 	);
+ * }
+ * ```
+ *
+ * @example
+ * ```jsx
+ * // Using ESNext syntax
+ * import { __ } from '@wordpress/i18n';
+ * import { PanelBody } from '@wordpress/components';
+ * import { PluginSidebar } from '@wordpress/edit-site';
+ * import { more } from '@wordpress/icons';
+ *
+ * const MyPluginSidebar = () => (
+ * 	<PluginSidebar
+ * 		name="my-sidebar"
+ * 		title="My sidebar title"
+ * 		icon={ more }
+ * 	>
+ * 		<PanelBody>
+ * 			{ __( 'My sidebar content' ) }
+ * 		</PanelBody>
+ * 	</PluginSidebar>
+ * );
+ * ```
  */

-
-function MoreMenuFeatureToggle(_ref) {
+function PluginSidebarEditSite(_ref) {
   let {
-    scope,
-    label,
-    info,
-    messageActivated,
-    messageDeactivated,
-    shortcut,
-    feature
+    className,
+    ...props
   } = _ref;
-  const isActive = Object(external_wp_data_["useSelect"])(select => select(store).isFeatureActive(scope, feature), [feature]);
-  const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store);
-
-  const speakMessage = () => {
-    if (isActive) {
-      Object(external_wp_a11y_["speak"])(messageDeactivated || Object(external_wp_i18n_["__"])('Feature deactivated'));
-    } else {
-      Object(external_wp_a11y_["speak"])(messageActivated || Object(external_wp_i18n_["__"])('Feature activated'));
-    }
-  };
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    icon: isActive && check["a" /* default */],
-    isSelected: isActive,
-    onClick: () => {
-      toggleFeature(scope, feature);
-      speakMessage();
-    },
-    role: "menuitemcheckbox",
-    info: info,
-    shortcut: shortcut
-  }, label);
+  return (0,external_wp_element_namespaceObject.createElement)(complementary_area, extends_extends({
+    panelClassName: className,
+    className: "edit-site-sidebar",
+    scope: "core/edit-site"
+  }, props));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/index.js
-
-
-
-
-
-
-
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/index.js
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/plugin-sidebar-more-menu-item/index.js


-/***/ }),
-
-/***/ "URob":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starFilled);
-
-
-/***/ }),
-
-/***/ "VKE3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const moreVertical = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (moreVertical);
-
-
-/***/ }),
-
-/***/ "Xxwi":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starEmpty);
-
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "axFQ":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blockEditor"]; }());
-
-/***/ }),
-
-/***/ "bWcr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);

-
-/**
- * WordPress dependencies
- */
-
-const closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (closeSmall);
-
-
-/***/ }),
-
-/***/ "cjQ8":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const arrowLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (arrowLeft);
-
-
-/***/ }),
-
-/***/ "diJD":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["reusableBlocks"]; }());
-
-/***/ }),
-
-/***/ "g56x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["hooks"]; }());
-
-/***/ }),
-
-/***/ "gdqT":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["a11y"]; }());
-
-/***/ }),
-
-/***/ "hF7m":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["keyboardShortcuts"]; }());
-
-/***/ }),
-
-/***/ "iClF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
 /**
  * WordPress dependencies
  */

-/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
-
 /**
- * Return an SVG icon.
+ * Renders a menu item in `Plugins` group in `More Menu` drop down,
+ * and can be used to activate the corresponding `PluginSidebar` component.
+ * The text within the component appears as the menu item label.
  *
- * @param {IconProps} props icon is the SVG component to render
- *                          size is a number specifiying the icon size in pixels
- *                          Other props will be passed to wrapped SVG component
+ * @param {Object}                props                                 Component props.
+ * @param {string}                props.target                          A string identifying the target sidebar you wish to be activated by this menu item. Must be the same as the `name` prop you have given to that sidebar.
+ * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label.
  *
- * @return {JSX.Element}  Icon component
- */
-
-function Icon(_ref) {
-  let {
-    icon,
-    size = 24,
-    ...props
-  } = _ref;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
-    width: size,
-    height: size,
-    ...props
-  });
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (Icon);
-
-
-/***/ }),
-
-/***/ "jSdM":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["editor"]; }());
-
-/***/ }),
-
-/***/ "jZUy":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["coreData"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "onLe":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["notices"]; }());
-
-/***/ }),
-
-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-
-
-var LEAF_KEY, hasWeakMap;
-
-/**
- * Arbitrary value used as key for referencing cache object in WeakMap tree.
- *
- * @type {Object}
- */
-LEAF_KEY = {};
-
-/**
- * Whether environment supports WeakMap.
- *
- * @type {boolean}
- */
-hasWeakMap = typeof WeakMap !== 'undefined';
-
-/**
- * Returns the first argument as the sole entry in an array.
- *
- * @param {*} value Value to return.
- *
- * @return {Array} Value returned as entry in array.
- */
-function arrayOf( value ) {
-	return [ value ];
-}
-
-/**
- * Returns true if the value passed is object-like, or false otherwise. A value
- * is object-like if it can support property assignment, e.g. object or array.
- *
- * @param {*} value Value to test.
- *
- * @return {boolean} Whether value is object-like.
- */
-function isObjectLike( value ) {
-	return !! value && 'object' === typeof value;
-}
-
-/**
- * Creates and returns a new cache object.
- *
- * @return {Object} Cache object.
- */
-function createCache() {
-	var cache = {
-		clear: function() {
-			cache.head = null;
-		},
-	};
-
-	return cache;
-}
-
-/**
- * Returns true if entries within the two arrays are strictly equal by
- * reference from a starting index.
- *
- * @param {Array}  a         First array.
- * @param {Array}  b         Second array.
- * @param {number} fromIndex Index from which to start comparison.
- *
- * @return {boolean} Whether arrays are shallowly equal.
- */
-function isShallowEqual( a, b, fromIndex ) {
-	var i;
-
-	if ( a.length !== b.length ) {
-		return false;
-	}
-
-	for ( i = fromIndex; i < a.length; i++ ) {
-		if ( a[ i ] !== b[ i ] ) {
-			return false;
-		}
-	}
-
-	return true;
-}
-
-/**
- * Returns a memoized selector function. The getDependants function argument is
- * called before the memoized selector and is expected to return an immutable
- * reference or array of references on which the selector depends for computing
- * its own return value. The memoize cache is preserved only as long as those
- * dependant references remain the same. If getDependants returns a different
- * reference(s), the cache is cleared and the selector value regenerated.
- *
- * @param {Function} selector      Selector function.
- * @param {Function} getDependants Dependant getter returning an immutable
- *                                 reference or array of reference used in
- *                                 cache bust consideration.
- *
- * @return {Function} Memoized selector.
- */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
-	var rootCache, getCache;
-
-	// Use object source as dependant if getter not provided
-	if ( ! getDependants ) {
-		getDependants = arrayOf;
-	}
-
-	/**
-	 * Returns the root cache. If WeakMap is supported, this is assigned to the
-	 * root WeakMap cache set, otherwise it is a shared instance of the default
-	 * cache object.
-	 *
-	 * @return {(WeakMap|Object)} Root cache object.
-	 */
-	function getRootCache() {
-		return rootCache;
-	}
-
-	/**
-	 * Returns the cache for a given dependants array. When possible, a WeakMap
-	 * will be used to create a unique cache for each set of dependants. This
-	 * is feasible due to the nature of WeakMap in allowing garbage collection
-	 * to occur on entries where the key object is no longer referenced. Since
-	 * WeakMap requires the key to be an object, this is only possible when the
-	 * dependant is object-like. The root cache is created as a hierarchy where
-	 * each top-level key is the first entry in a dependants set, the value a
-	 * WeakMap where each key is the next dependant, and so on. This continues
-	 * so long as the dependants are object-like. If no dependants are object-
-	 * like, then the cache is shared across all invocations.
-	 *
-	 * @see isObjectLike
-	 *
-	 * @param {Array} dependants Selector dependants.
-	 *
-	 * @return {Object} Cache object.
-	 */
-	function getWeakMapCache( dependants ) {
-		var caches = rootCache,
-			isUniqueByDependants = true,
-			i, dependant, map, cache;
-
-		for ( i = 0; i < dependants.length; i++ ) {
-			dependant = dependants[ i ];
-
-			// Can only compose WeakMap from object-like key.
-			if ( ! isObjectLike( dependant ) ) {
-				isUniqueByDependants = false;
-				break;
-			}
-
-			// Does current segment of cache already have a WeakMap?
-			if ( caches.has( dependant ) ) {
-				// Traverse into nested WeakMap.
-				caches = caches.get( dependant );
-			} else {
-				// Create, set, and traverse into a new one.
-				map = new WeakMap();
-				caches.set( dependant, map );
-				caches = map;
-			}
-		}
-
-		// We use an arbitrary (but consistent) object as key for the last item
-		// in the WeakMap to serve as our running cache.
-		if ( ! caches.has( LEAF_KEY ) ) {
-			cache = createCache();
-			cache.isUniqueByDependants = isUniqueByDependants;
-			caches.set( LEAF_KEY, cache );
-		}
-
-		return caches.get( LEAF_KEY );
-	}
-
-	// Assign cache handler by availability of WeakMap
-	getCache = hasWeakMap ? getWeakMapCache : getRootCache;
-
-	/**
-	 * Resets root memoization cache.
-	 */
-	function clear() {
-		rootCache = hasWeakMap ? new WeakMap() : createCache();
-	}
-
-	// eslint-disable-next-line jsdoc/check-param-names
-	/**
-	 * The augmented selector call, considering first whether dependants have
-	 * changed before passing it to underlying memoize function.
-	 *
-	 * @param {Object} source    Source object for derivation.
-	 * @param {...*}   extraArgs Additional arguments to pass to selector.
-	 *
-	 * @return {*} Selector result.
-	 */
-	function callSelector( /* source, ...extraArgs */ ) {
-		var len = arguments.length,
-			cache, node, i, args, dependants;
-
-		// Create copy of arguments (avoid leaking deoptimization).
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}
-
-		dependants = getDependants.apply( null, args );
-		cache = getCache( dependants );
-
-		// If not guaranteed uniqueness by dependants (primitive type or lack
-		// of WeakMap support), shallow compare against last dependants and, if
-		// references have changed, destroy cache to recalculate result.
-		if ( ! cache.isUniqueByDependants ) {
-			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
-				cache.clear();
-			}
-
-			cache.lastDependants = dependants;
-		}
-
-		node = cache.head;
-		while ( node ) {
-			// Check whether node arguments match arguments
-			if ( ! isShallowEqual( node.args, args, 1 ) ) {
-				node = node.next;
-				continue;
-			}
-
-			// At this point we can assume we've found a match
-
-			// Surface matched node to head if not already
-			if ( node !== cache.head ) {
-				// Adjust siblings to point to each other.
-				node.prev.next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}
-
-				node.next = cache.head;
-				node.prev = null;
-				cache.head.prev = node;
-				cache.head = node;
-			}
-
-			// Return immediately
-			return node.val;
-		}
-
-		// No cached value found. Continue to insertion phase:
-
-		node = {
-			// Generate the result from original function
-			val: selector.apply( null, args ),
-		};
-
-		// Avoid including the source object in the cache.
-		args[ 0 ] = null;
-		node.args = args;
-
-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
-
-		// Shift existing head down list
-		if ( cache.head ) {
-			cache.head.prev = node;
-			node.next = cache.head;
-		}
-
-		cache.head = node;
-
-		return node.val;
-	}
-
-	callSelector.getDependants = getDependants;
-	callSelector.clear = clear;
-	clear();
-
-	return callSelector;
-});
-
-
-/***/ }),
-
-/***/ "rmEH":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["htmlEntities"]; }());
-
-/***/ }),
-
-/***/ "rrFr":
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//download.js v4.2, by dandavis; 2008-2016. [MIT] see http://danml.com/download.html for tests/usage
-// v1 landed a FF+Chrome compat way of downloading strings to local un-named files, upgraded to use a hidden frame and optional mime
-// v2 added named files via a[download], msSaveBlob, IE (10+) support, and window.URL support for larger+faster saves than dataURLs
-// v3 added dataURL and Blob Input, bind-toggle arity, and legacy dataURL fallback was improved with force-download mime and base64 support. 3.1 improved safari handling.
-// v4 adds AMD/UMD, commonJS, and plain browser support
-// v4.1 adds url download capability via solo URL argument (same domain/CORS only)
-// v4.2 adds semantic variable names, long (over 2MB) dataURL support, and hidden by default temp anchors
-// https://github.com/rndme/download
-
-(function (root, factory) {
-	if (true) {
-		// AMD. Register as an anonymous module.
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
-				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
-				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}(this, function () {
-
-	return function download(data, strFileName, strMimeType) {
-
-		var self = window, // this script is only for browsers anyway...
-			defaultMime = "application/octet-stream", // this default mime also triggers iframe downloads
-			mimeType = strMimeType || defaultMime,
-			payload = data,
-			url = !strFileName && !strMimeType && payload,
-			anchor = document.createElement("a"),
-			toString = function(a){return String(a);},
-			myBlob = (self.Blob || self.MozBlob || self.WebKitBlob || toString),
-			fileName = strFileName || "download",
-			blob,
-			reader;
-			myBlob= myBlob.call ? myBlob.bind(self) : Blob ;
-
-		if(String(this)==="true"){ //reverse arguments, allowing download.bind(true, "text/xml", "export.xml") to act as a callback
-			payload=[payload, mimeType];
-			mimeType=payload[0];
-			payload=payload[1];
-		}
-
-
-		if(url && url.length< 2048){ // if no filename and no mime, assume a url was passed as the only argument
-			fileName = url.split("/").pop().split("?")[0];
-			anchor.href = url; // assign href prop to temp anchor
-		  	if(anchor.href.indexOf(url) !== -1){ // if the browser determines that it's a potentially valid url path:
-        		var ajax=new XMLHttpRequest();
-        		ajax.open( "GET", url, true);
-        		ajax.responseType = 'blob';
-        		ajax.onload= function(e){
-				  download(e.target.response, fileName, defaultMime);
-				};
-        		setTimeout(function(){ ajax.send();}, 0); // allows setting custom ajax headers using the return:
-			    return ajax;
-			} // end if valid url?
-		} // end if url?
-
-
-		//go ahead and download dataURLs right away
-		if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(payload)){
-
-			if(payload.length > (1024*1024*1.999) && myBlob !== toString ){
-				payload=dataUrlToBlob(payload);
-				mimeType=payload.type || defaultMime;
-			}else{
-				return navigator.msSaveBlob ?  // IE10 can't do a[download], only Blobs:
-					navigator.msSaveBlob(dataUrlToBlob(payload), fileName) :
-					saver(payload) ; // everyone else can save dataURLs un-processed
-			}
-
-		}else{//not data url, is it a string with special needs?
-			if(/([\x80-\xff])/.test(payload)){
-				var i=0, tempUiArr= new Uint8Array(payload.length), mx=tempUiArr.length;
-				for(i;i<mx;++i) tempUiArr[i]= payload.charCodeAt(i);
-			 	payload=new myBlob([tempUiArr], {type: mimeType});
-			}
-		}
-		blob = payload instanceof myBlob ?
-			payload :
-			new myBlob([payload], {type: mimeType}) ;
+ * @example
+ * ```js
+ * // Using ES5 syntax
+ * var __ = wp.i18n.__;
+ * var PluginSidebarMoreMenuItem = wp.editSite.PluginSidebarMoreMenuItem;
+ * var moreIcon = wp.element.createElement( 'svg' ); //... svg element.
+ *
+ * function MySidebarMoreMenuItem() {
+ * 	return wp.element.createElement(
+ * 		PluginSidebarMoreMenuItem,
+ * 		{
+ * 			target: 'my-sidebar',
+ * 			icon: moreIcon,
+ * 		},
+ * 		__( 'My sidebar title' )
+ * 	)
+ * }
+ * ```
+ *
+ * @example
+ * ```jsx
+ * // Using ESNext syntax
+ * import { __ } from '@wordpress/i18n';
+ * import { PluginSidebarMoreMenuItem } from '@wordpress/edit-site';
+ * import { more } from '@wordpress/icons';
+ *
+ * const MySidebarMoreMenuItem = () => (
+ * 	<PluginSidebarMoreMenuItem
+ * 		target="my-sidebar"
+ * 		icon={ more }
+ * 	>
+ * 		{ __( 'My sidebar title' ) }
+ * 	</PluginSidebarMoreMenuItem>
+ * );
+ * ```
+ *
+ * @return {WPComponent} The component to be rendered.
+ */

+function PluginSidebarMoreMenuItem(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaMoreMenuItem // Menu item is marked with unstable prop for backward compatibility.
+  // @see https://github.com/WordPress/gutenberg/issues/14457
+  , extends_extends({
+    __unstableExplicitMenuItem: true,
+    scope: "core/edit-site"
+  }, props));
+}

-		function dataUrlToBlob(strUrl) {
-			var parts= strUrl.split(/[:;,]/),
-			type= parts[1],
-			decoder= parts[2] == "base64" ? atob : decodeURIComponent,
-			binData= decoder( parts.pop() ),
-			mx= binData.length,
-			i= 0,
-			uiArr= new Uint8Array(mx);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/components/header/plugin-more-menu-item/index.js
+/**
+ * WordPress dependencies
+ */

-			for(i;i<mx;++i) uiArr[i]= binData.charCodeAt(i);

-			return new myBlob([uiArr], {type: type});
-		 }

-		function saver(url, winMode){
+/**
+ * Renders a menu item in `Plugins` group in `More Menu` drop down, and can be used to as a button or link depending on the props provided.
+ * The text within the component appears as the menu item label.
+ *
+ * @param {Object}                props                                 Component properties.
+ * @param {string}                [props.href]                          When `href` is provided then the menu item is represented as an anchor rather than button. It corresponds to the `href` attribute of the anchor.
+ * @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label.
+ * @param {Function}              [props.onClick=noop]                  The callback function to be executed when the user clicks the menu item.
+ * @param {...*}                  [props.other]                         Any additional props are passed through to the underlying [Button](/packages/components/src/button/README.md) component.
+ *
+ * @example
+ * ```js
+ * // Using ES5 syntax
+ * var __ = wp.i18n.__;
+ * var PluginMoreMenuItem = wp.editSite.PluginMoreMenuItem;
+ * var moreIcon = wp.element.createElement( 'svg' ); //... svg element.
+ *
+ * function onButtonClick() {
+ * 	alert( 'Button clicked.' );
+ * }
+ *
+ * function MyButtonMoreMenuItem() {
+ * 	return wp.element.createElement(
+ * 		PluginMoreMenuItem,
+ * 		{
+ * 			icon: moreIcon,
+ * 			onClick: onButtonClick,
+ * 		},
+ * 		__( 'My button title' )
+ * 	);
+ * }
+ * ```
+ *
+ * @example
+ * ```jsx
+ * // Using ESNext syntax
+ * import { __ } from '@wordpress/i18n';
+ * import { PluginMoreMenuItem } from '@wordpress/edit-site';
+ * import { more } from '@wordpress/icons';
+ *
+ * function onButtonClick() {
+ * 	alert( 'Button clicked.' );
+ * }
+ *
+ * const MyButtonMoreMenuItem = () => (
+ * 	<PluginMoreMenuItem
+ * 		icon={ more }
+ * 		onClick={ onButtonClick }
+ * 	>
+ * 		{ __( 'My button title' ) }
+ * 	</PluginMoreMenuItem>
+ * );
+ * ```
+ *
+ * @return {WPComponent} The component to be rendered.
+ */

-			if ('download' in anchor) { //html5 A[download]
-				anchor.href = url;
-				anchor.setAttribute("download", fileName);
-				anchor.className = "download-js-link";
-				anchor.innerHTML = "downloading...";
-				anchor.style.display = "none";
-				document.body.appendChild(anchor);
-				setTimeout(function() {
-					anchor.click();
-					document.body.removeChild(anchor);
-					if(winMode===true){setTimeout(function(){ self.URL.revokeObjectURL(anchor.href);}, 250 );}
-				}, 66);
-				return true;
-			}
+/* harmony default export */ var plugin_more_menu_item = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_plugins_namespaceObject.withPluginContext)((context, ownProps) => {
+  return {
+    icon: ownProps.icon || context.icon,
+    name: 'core/edit-site/plugin-more-menu'
+  };
+}))(action_item));

-			// handle non-a[download] safari as best we can:
-			if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent)) {
-				if(/^data:/.test(url))	url="data:"+url.replace(/^data:([\w\/\-\+]+)/, defaultMime);
-				if(!window.open(url)){ // popup blocked, offer direct download:
-					if(confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")){ location.href=url; }
-				}
-				return true;
-			}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-site/build-module/index.js

-			//do iframe dataURL download (old ch+FF):
-			var f = document.createElement("iframe");
-			document.body.appendChild(f);

-			if(!winMode && /^data:/.test(url)){ // force a mime that will download:
-				url="data:"+url.replace(/^data:([\w\/\-\+]+)/, defaultMime);
-			}
-			f.src=url;
-			setTimeout(function(){ document.body.removeChild(f); }, 333);
+/**
+ * WordPress dependencies
+ */

-		}//end saver




-		if (navigator.msSaveBlob) { // IE10+ : (has Blob, but not a[download] or URL)
-			return navigator.msSaveBlob(blob, fileName);
-		}

-		if(self.URL){ // simple fast and modern way using Blob and URL:
-			saver(self.URL.createObjectURL(blob), true);
-		}else{
-			// handle non-Blob()+non-URL browsers:
-			if(typeof blob === "string" || blob.constructor===toString ){
-				try{
-					return saver( "data:" +  mimeType   + ";base64,"  +  self.btoa(blob)  );
-				}catch(y){
-					return saver( "data:" +  mimeType   + "," + encodeURIComponent(blob)  );
-				}
-			}

-			// Blob but not URL support:
-			reader=new FileReader();
-			reader.onload=function(e){
-				saver(this.result);
-			};
-			reader.readAsDataURL(blob);
-		}
-		return true;
-	}; /* end download() */
-}));


-/***/ }),
+/**
+ * Internal dependencies
+ */

-/***/ "tI+e":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["components"]; }());

-/***/ }),

-/***/ "w95h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Reinitializes the editor after the user chooses to reboot the editor after
+ * an unhandled error occurs, replacing previously mounted editor element using
+ * an initial state from prior to the crash.
+ *
+ * @param {Element} target   DOM node in which editor is rendered.
+ * @param {?Object} settings Editor settings object.
  */

-const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (close);
-
+async function reinitializeEditor(target, settings) {
+  // The site editor relies on `postType` and `postId` params in the URL to
+  // define what's being edited. When visiting via the dashboard link, these
+  // won't be present. Do a client side redirect to the 'homepage' if that's
+  // the case.
+  try {
+    await redirectToHomepage(settings.siteUrl);
+  } catch (error) {
+    (0,external_wp_element_namespaceObject.render)((0,external_wp_element_namespaceObject.createElement)(ErrorBoundaryWarning, {
+      message: (0,external_wp_i18n_namespaceObject.__)('The editor is unable to find a block template for the homepage.'),
+      error: error,
+      dashboardLink: "index.php"
+    }), target);
+    return;
+  } // This will be a no-op if the target doesn't have any React nodes.

-/***/ }),

-/***/ "wduq":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  (0,external_wp_element_namespaceObject.unmountComponentAtNode)(target);
+  const reboot = reinitializeEditor.bind(null, target, settings); // We dispatch actions and update the store synchronously before rendering
+  // so that we won't trigger unnecessary re-renders with useEffect.

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+  {
+    (0,external_wp_data_namespaceObject.dispatch)(store_store).updateSettings(settings); // Keep the defaultTemplateTypes in the core/editor settings too,
+    // so that they can be selected with core/editor selectors in any editor.
+    // This is needed because edit-site doesn't initialize with EditorProvider,
+    // which internally uses updateEditorSettings as well.

+    (0,external_wp_data_namespaceObject.dispatch)(external_wp_editor_namespaceObject.store).updateEditorSettings({
+      defaultTemplateTypes: settings.defaultTemplateTypes,
+      defaultTemplatePartAreas: settings.defaultTemplatePartAreas
+    });
+    const isLandingOnListPage = getIsListPage((0,external_wp_url_namespaceObject.getQueryArgs)(window.location.href));

+    if (isLandingOnListPage) {
+      // Default the navigation panel to be opened when we're in a bigger
+      // screen and land in the list screen.
+      (0,external_wp_data_namespaceObject.dispatch)(store_store).setIsNavigationPanelOpened((0,external_wp_data_namespaceObject.select)(external_wp_viewport_namespaceObject.store).isViewportMatch('medium'));
+    }
+  }
+  (0,external_wp_element_namespaceObject.render)((0,external_wp_element_namespaceObject.createElement)(EditSiteApp, {
+    reboot: reboot
+  }), target);
+}
 /**
- * WordPress dependencies
+ * Initializes the site editor screen.
+ *
+ * @param {string} id       ID of the root element to render the screen in.
+ * @param {Object} settings Editor settings.
  */

-const wordpress = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "-2 -2 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (wordpress);
-
-
-/***/ }),
+function initializeEditor(id, settings) {
+  settings.__experimentalFetchLinkSuggestions = (search, searchOptions) => (0,external_wp_coreData_namespaceObject.__experimentalFetchLinkSuggestions)(search, searchOptions, settings);

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  settings.__experimentalFetchRichUrlData = external_wp_coreData_namespaceObject.__experimentalFetchUrlData;
+  settings.__experimentalSpotlightEntityBlocks = ['core/template-part'];
+  const target = document.getElementById(id);

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
+  (0,external_wp_data_namespaceObject.dispatch)(external_wp_blocks_namespaceObject.store).__experimentalReapplyBlockTypeFilters();

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
+  (0,external_wp_blockLibrary_namespaceObject.registerCoreBlocks)();

-    return target;
-  };
+  if (false) {}

-  return _extends.apply(this, arguments);
+  reinitializeEditor(target, settings);
 }

-/***/ }),

-/***/ "ywyh":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["apiFetch"]; }());

-/***/ })

-/******/ });
\ No newline at end of file
+
+}();
+(window.wp = window.wp || {}).editSite = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/edit-site.min.js b/wp-includes/js/dist/edit-site.min.js
index 6c91347f19..abd3696424 100644
--- a/wp-includes/js/dist/edit-site.min.js
+++ b/wp-includes/js/dist/edit-site.min.js
@@ -1,7 +1,7 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.editSite=function(e){var t={};function n(c){if(t[c])return t[c].exports;var r=t[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,c){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:c})},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 c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(c,r,function(t){return e[t]}.bind(null,r));return c},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="IqXm")}({"0Ene":function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}));t.a=a},"1ZqX":function(e,t){e.exports=window.wp.data},"1iEr":function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=a},"2gm7":function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=a},"51Zz":function(e,t){e.exports=window.wp.dataControls},"6aBm":function(e,t){e.exports=window.wp.mediaUtils},B9Az:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");var a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.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=a},Cg8A:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));t.a=a},Civd:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},IqXm:function(e,t,n){"use strict";n.r(t),n.d(t,"reinitializeEditor",(function(){return qr})),n.d(t,"initializeEditor",(function(){return $r})),n.d(t,"__experimentalMainDashboardButton",(function(){return fc})),n.d(t,"__experimentalNavigationToggle",(function(){return Sc})),n.d(t,"PluginSidebar",(function(){return Ur})),n.d(t,"PluginSidebarMoreMenuItem",(function(){return Hr})),n.d(t,"PluginMoreMenuItem",(function(){return Wr}));var c={};n.r(c),n.d(c,"toggleFeature",(function(){return I})),n.d(c,"__experimentalSetPreviewDeviceType",(function(){return N})),n.d(c,"setTemplate",(function(){return P})),n.d(c,"addTemplate",(function(){return M})),n.d(c,"removeTemplate",(function(){return R})),n.d(c,"setTemplatePart",(function(){return A})),n.d(c,"setHomeTemplateId",(function(){return L})),n.d(c,"setPage",(function(){return B})),n.d(c,"setNavigationPanelActiveMenu",(function(){return D})),n.d(c,"openNavigationPanelToMenu",(function(){return F})),n.d(c,"setIsNavigationPanelOpened",(function(){return V})),n.d(c,"setIsInserterOpened",(function(){return G})),n.d(c,"updateSettings",(function(){return z})),n.d(c,"setIsListViewOpened",(function(){return U})),n.d(c,"revertTemplate",(function(){return H})),n.d(c,"openGeneralSidebar",(function(){return W})),n.d(c,"closeGeneralSidebar",(function(){return q}));var r={};n.r(r),n.d(r,"isFeatureActive",(function(){return Q})),n.d(r,"__experimentalGetPreviewDeviceType",(function(){return Z})),n.d(r,"getCanUserCreateMedia",(function(){return J})),n.d(r,"getReusableBlocks",(function(){return ee})),n.d(r,"getSettings",(function(){return te})),n.d(r,"getHomeTemplateId",(function(){return ne})),n.d(r,"getEditedPostType",(function(){return re})),n.d(r,"getEditedPostId",(function(){return ae})),n.d(r,"getPage",(function(){return le})),n.d(r,"getNavigationPanelActiveMenu",(function(){return oe})),n.d(r,"getCurrentTemplateNavigationPanelSubMenu",(function(){return ie})),n.d(r,"isNavigationOpened",(function(){return se})),n.d(r,"isInserterOpened",(function(){return ue})),n.d(r,"__experimentalGetInsertionPoint",(function(){return me})),n.d(r,"isListViewOpened",(function(){return de})),n.d(r,"getCurrentTemplateTemplateParts",(function(){return be}));var a=n("GRId"),l=n("HSyU"),o=n("QyPg"),i=n("1ZqX"),s=n("jZUy"),u=n("jSdM"),m=n("l3Sj"),d=n("KEfo"),b=n("Mmq9"),p=n("g56x"),O=n("6aBm");Object(p.addFilter)("editor.MediaUpload","core/edit-site/components/media-upload",()=>O.MediaUpload);var j=n("51Zz");const _={features:{welcomeGuide:!0,welcomeGuideStyles:!0}},g="core/edit-site",h=["index","singular","archive","single","page","home","404","search","author","category","taxonomy","date","tag","attachment","single-post","front-page"],f=["page-home"],E=["post-","author-","single-post-","tag-"],v=["page-"],y={singular:["single","page"],index:["archive","404","search","singular","home"],home:["front-page"]},w=[{area:"header",menu:"template-parts-headers",title:Object(m.__)("headers")},{area:"footer",menu:"template-parts-footers",title:Object(m.__)("footers")},{area:"sidebar",menu:"template-parts-sidebars",title:Object(m.__)("sidebars")},{area:"uncategorized",menu:"template-parts-general",title:Object(m.__)("general")}],S=Object(i.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_.features,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_FEATURE":return{...e,[t.feature]:!e[t.feature]};default:return e}}});var x=Object(i.combineReducers)({preferences:S,deviceType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PREVIEW_DEVICE_TYPE":return t.deviceType}return e},settings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return{...e,...t.settings}}return e},editedPost: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_TEMPLATE":case"SET_PAGE":return{type:"wp_template",id:t.templateId,page:t.page};case"SET_TEMPLATE_PART":return{type:"wp_template_part",id:t.templatePartId}}return e},homeTemplateId:function(e,t){switch(t.type){case"SET_HOME_TEMPLATE":return t.homeTemplateId}return e},navigationPanel:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{menu:"root",isOpen:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_NAVIGATION_PANEL_ACTIVE_MENU":return{...e,menu:t.menu};case"OPEN_NAVIGATION_PANEL_TO_MENU":return{...e,isOpen:!0,menu:t.menu};case"SET_IS_NAVIGATION_PANEL_OPENED":return{...e,menu:t.isOpen?e.menu:"root",isOpen:t.isOpen};case"SET_IS_LIST_VIEW_OPENED":return{...e,menu:e.isOpen&&t.isOpen?"root":e.menu,isOpen:!t.isOpen&&e.isOpen};case"SET_IS_INSERTER_OPENED":return{...e,menu:e.isOpen&&t.value?"root":e.menu,isOpen:!t.value&&e.isOpen}}return e},blockInserterPanel:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_NAVIGATION_PANEL_TO_MENU":return!1;case"SET_IS_NAVIGATION_PANEL_OPENED":case"SET_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_NAVIGATION_PANEL_TO_MENU":return!1;case"SET_IS_NAVIGATION_PANEL_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e}}),k=n("onLe"),T=n("U60i");function C(e){return!!e&&("custom"===(null==e?void 0:e.source)&&(null==e?void 0:e.has_theme_file))}function I(e){return{type:"TOGGLE_FEATURE",feature:e}}function N(e){return{type:"SET_PREVIEW_DEVICE_TYPE",deviceType:e}}function*P(e,t){const n={templateSlug:t};if(!t){const t=yield i.controls.resolveSelect(s.store,"getEntityRecord","postType","wp_template",e);n.templateSlug=null==t?void 0:t.slug}return{type:"SET_TEMPLATE",templateId:e,page:{context:n}}}function*M(e){const t=yield i.controls.dispatch(s.store,"saveEntityRecord","postType","wp_template",e);return e.content&&(yield i.controls.dispatch(s.store,"editEntityRecord","postType","wp_template",t.id,{blocks:Object(l.parse)(e.content)},{undoIgnore:!0})),{type:"SET_TEMPLATE",templateId:t.id,page:{context:{templateSlug:t.slug}}}}function*R(e){try{yield i.controls.dispatch(s.store,"deleteEntityRecord","postType",e.type,e.id,{force:!0});const t=yield i.controls.select(s.store,"getLastEntityDeleteError","postType",e.type,e.id);if(t)throw t;yield i.controls.dispatch(k.store,"createSuccessNotice",Object(m.sprintf)(Object(m.__)('"%s" removed.'),e.title.rendered),{type:"snackbar"})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:Object(m.__)("An error occurred while deleting the template.");yield i.controls.dispatch(k.store,"createErrorNotice",t,{type:"snackbar"})}}function A(e){return{type:"SET_TEMPLATE_PART",templatePartId:e}}function L(e){return{type:"SET_HOME_TEMPLATE",homeTemplateId:e}}function*B(e){var t;if(!e.path&&null!==(t=e.context)&&void 0!==t&&t.postId){const t=yield i.controls.resolveSelect(s.store,"getEntityRecord","postType",e.context.postType||"post",e.context.postId);e.path=Object(b.getPathAndQueryString)(t.link)}const n=yield i.controls.resolveSelect(s.store,"__experimentalGetTemplateForLink",e.path);if(!n)return;const{id:c,slug:r}=n;return yield{type:"SET_PAGE",page:r?{...e,context:{...e.context,templateSlug:r}}:e,templateId:c},c}function D(e){return{type:"SET_NAVIGATION_PANEL_ACTIVE_MENU",menu:e}}function F(e){return{type:"OPEN_NAVIGATION_PANEL_TO_MENU",menu:e}}function V(e){return{type:"SET_IS_NAVIGATION_PANEL_OPENED",isOpen:e}}function G(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function z(e){return{type:"UPDATE_SETTINGS",settings:e}}function U(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}function*H(e){let{allowUndo:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(C(e))try{var n;const c=yield i.controls.select(s.store,"getEntity","postType",e.type);if(!c)return void(yield i.controls.dispatch(k.store,"createErrorNotice",Object(m.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"}));const r=Object(b.addQueryArgs)(`${c.baseURL}/${e.id}`,{context:"edit",source:"theme"}),a=yield Object(j.apiFetch)({path:r});if(!a)return void(yield i.controls.dispatch(k.store,"createErrorNotice",Object(m.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"}));const o=e=>{let{blocks:t=[]}=e;return Object(l.__unstableSerializeAndClean)(t)},u=yield i.controls.select(s.store,"getEditedEntityRecord","postType",e.type,e.id);yield i.controls.dispatch(s.store,"editEntityRecord","postType",e.type,e.id,{content:o,blocks:u.blocks,source:"custom"},{undoIgnore:!0});const d=Object(l.parse)(null==a||null===(n=a.content)||void 0===n?void 0:n.raw);if(yield i.controls.dispatch(s.store,"editEntityRecord","postType",e.type,a.id,{content:o,blocks:d,source:"theme"}),t){const t=async()=>{await Object(i.dispatch)(s.store).editEntityRecord("postType",e.type,u.id,{content:o,blocks:u.blocks,source:"custom"})};yield i.controls.dispatch(k.store,"createSuccessNotice",Object(m.__)("Template reverted."),{type:"snackbar",actions:[{label:Object(m.__)("Undo"),onClick:t}]})}else yield i.controls.dispatch(k.store,"createSuccessNotice",Object(m.__)("Template reverted."))}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:Object(m.__)("Template revert failed. Please reload.");yield i.controls.dispatch(k.store,"createErrorNotice",t,{type:"snackbar"})}else yield i.controls.dispatch(k.store,"createErrorNotice",Object(m.__)("This template is not revertable."),{type:"snackbar"})}function*W(e){yield i.controls.dispatch(T.i,"enableComplementaryArea",g,e)}function*q(){yield i.controls.dispatch(T.i,"disableComplementaryArea",g)}var $=n("YLtl"),K=n("pPDe");function Y(e,t,n){return!!y[e]&&("home"===e&&"posts"!==n||y[e].every(e=>t.includes(e)||Y(e,t,n)))}function X(e){if(h.includes(e))return"templates";if(f.includes(e))return"templates-general";if(E.some(t=>e.startsWith(t)))return"templates-posts";return v.some(t=>e.startsWith(t))?"templates-pages":"templates-general"}function Q(e,t){return Object($.get)(e.preferences.features,[t],!1)}function Z(e){return e.deviceType}const J=Object(i.createRegistrySelector)(e=>()=>e(s.store).canUser("create","media")),ee=Object(i.createRegistrySelector)(e=>()=>"web"===a.Platform.OS?e(s.store).getEntityRecords("postType","wp_block",{per_page:-1}):[]),te=Object(K.a)((e,t)=>{const n={...e.settings,outlineMode:!0,focusMode:Q(e,"focusMode"),hasFixedToolbar:Q(e,"fixedToolbar"),__experimentalSetIsInserterOpened:t,__experimentalReusableBlocks:ee(e)};return J(e)?(n.mediaUpload=t=>{let{onError:n,...c}=t;Object(O.uploadMedia)({wpAllowedMimeTypes:e.settings.allowedMimeTypes,onError:e=>{let{message:t}=e;return n(t)},...c})},n):n},e=>[J(e),e.settings,Q(e,"focusMode"),Q(e,"fixedToolbar"),ee(e)]);function ne(e){return e.homeTemplateId}function ce(e){return e.editedPost}function re(e){return ce(e).type}function ae(e){return ce(e).id}function le(e){return ce(e).page}function oe(e){return e.navigationPanel.menu}const ie=Object(i.createRegistrySelector)(e=>t=>{const n=re(t),c=ae(t),r=c?e(s.store).getEntityRecord("postType",n,c):null;if(!r)return"root";var a;if("wp_template_part"===n)return(null===(a=w.find(e=>e.area===(null==r?void 0:r.area)))||void 0===a?void 0:a.menu)||"template-parts";const l=e(s.store).getEntityRecords("postType","wp_template"),o=e(s.store).getEditedEntityRecord("root","site").show_on_front;return Y(r.slug,Object($.map)(l,"slug"),o)?"templates-unused":X(r.slug)});function se(e){return e.navigationPanel.isOpen}function ue(e){return!!e.blockInserterPanel}function me(e){const{rootClientId:t,insertionIndex:n,filterValue:c}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:n,filterValue:c}}function de(e){return e.listViewPanel}const be=Object(i.createRegistrySelector)(e=>t=>{var n;const c=re(t),r=ae(t),a=e(s.store).getEditedEntityRecord("postType",c,r),o=e(s.store).getEntityRecords("postType","wp_template_part",{per_page:-1}),i=Object($.keyBy)(o,e=>e.id);return(null!==(n=a.blocks)&&void 0!==n?n:[]).filter(e=>Object(l.isTemplatePart)(e)).map(e=>{const{attributes:{theme:t,slug:n}}=e;return{templatePart:i[`${t}//${n}`],block:e}}).filter(e=>{let{templatePart:t}=e;return!!t})}),pe={reducer:x,actions:c,selectors:r,controls:j.controls,persist:["preferences"]},Oe=Object(i.createReduxStore)(g,pe);Object(i.registerStore)(g,pe);var je,_e=n("tI+e"),ge=n("wx14"),he=je||(je={});he.Pop="POP",he.Push="PUSH",he.Replace="REPLACE";var fe=function(e){return e};function Ee(e){e.preventDefault(),e.returnValue=""}function ve(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function ye(){return Math.random().toString(36).substr(2,8)}function we(e){var t=e.pathname;t=void 0===t?"/":t;var n=e.search;return n=void 0===n?"":n,e=void 0===(e=e.hash)?"":e,n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),e&&"#"!==e&&(t+="#"===e.charAt(0)?e:"#"+e),t}function Se(e){var t={};if(e){var n=e.indexOf("#");0<=n&&(t.hash=e.substr(n),e=e.substr(0,n)),0<=(n=e.indexOf("?"))&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}const xe=function(e){function t(){var e=l.location,t=o.state||{};return[t.idx,fe({pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"})]}function n(e){return"string"==typeof e?e:we(e)}function c(e,t){return void 0===t&&(t=null),fe(Object(ge.a)({pathname:m.pathname,hash:"",search:""},"string"==typeof e?Se(e):e,{state:t,key:ye()}))}function r(e){s=e,e=t(),u=e[0],m=e[1],d.call({action:s,location:m})}function a(e){o.go(e)}void 0===e&&(e={});var l=void 0===(e=e.window)?document.defaultView:e,o=l.history,i=null;l.addEventListener("popstate",(function(){if(i)b.call(i),i=null;else{var e=je.Pop,n=t(),c=n[0];if(n=n[1],b.length){if(null!=c){var l=u-c;l&&(i={action:e,location:n,retry:function(){a(-1*l)}},a(l))}}else r(e)}}));var s=je.Pop,u=(e=t())[0],m=e[1],d=ve(),b=ve();return null==u&&(u=0,o.replaceState(Object(ge.a)({},o.state,{idx:u}),"")),{get action(){return s},get location(){return m},createHref:n,push:function e(t,a){var i=je.Push,s=c(t,a);if(!b.length||(b.call({action:i,location:s,retry:function(){e(t,a)}}),0)){var m=[{usr:s.state,key:s.key,idx:u+1},n(s)];s=m[0],m=m[1];try{o.pushState(s,"",m)}catch(e){l.location.assign(m)}r(i)}},replace:function e(t,a){var l=je.Replace,i=c(t,a);b.length&&(b.call({action:l,location:i,retry:function(){e(t,a)}}),1)||(i=[{usr:i.state,key:i.key,idx:u},n(i)],o.replaceState(i[0],"",i[1]),r(l))},go:a,back:function(){a(-1)},forward:function(){a(1)},listen:function(e){return d.push(e)},block:function(e){var t=b.push(e);return 1===b.length&&l.addEventListener("beforeunload",Ee),function(){t(),b.length||l.removeEventListener("beforeunload",Ee)}}}}(),ke=xe.push,Te=xe.replace;xe.push=function(e,t){return ke.call(xe,Object(b.addQueryArgs)(window.location.href,e),t)},xe.replace=function(e,t){return Te.call(xe,Object(b.addQueryArgs)(window.location.href,e),t)};var Ce=xe;const Ie=Object(a.createContext)(),Ne=Object(a.createContext)();function Pe(){return Object(a.useContext)(Ie)}function Me(){return Object(a.useContext)(Ne)}function Re(e){const t=new URLSearchParams(e.search);return{...e,params:Object.fromEntries(t.entries())}}function Ae(e){let{children:t}=e;const[n,c]=Object(a.useState)(()=>Re(Ce.location));return Object(a.useEffect)(()=>Ce.listen(e=>{let{location:t}=e;c(Re(t))}),[]),Object(a.createElement)(Ne.Provider,{value:Ce},Object(a.createElement)(Ie.Provider,{value:n},t(n)))}var Le=n("axFQ"),Be=n("TvNi"),De=n("hF7m"),Fe=n("K9lf"),Ve=n("Q4Sy"),Ge=n("OzlF"),ze=n("RxS6"),Ue=n("VKE3"),He=n("K+tz"),We=n("TSYQ"),qe=n.n(We);const $e=[{keyCombination:{modifier:"primary",character:"b"},description:Object(m.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(m.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(m.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(m.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(m.__)("Underline the selected text.")}];function Ke(e){let{keyCombination:t,forceAriaLabel:n}=e;const c=t.modifier?ze.displayShortcutList[t.modifier](t.character):t.character,r=t.modifier?ze.shortcutAriaLabel[t.modifier](t.character):t.character;return Object(a.createElement)("kbd",{className:"edit-site-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":n||r},Object($.castArray)(c).map((e,t)=>"+"===e?Object(a.createElement)(a.Fragment,{key:t},e):Object(a.createElement)("kbd",{key:t,className:"edit-site-keyboard-shortcut-help-modal__shortcut-key"},e)))}function Ye(e){let{description:t,keyCombination:n,aliases:c=[],ariaLabel:r}=e;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"edit-site-keyboard-shortcut-help-modal__shortcut-description"},t),Object(a.createElement)("div",{className:"edit-site-keyboard-shortcut-help-modal__shortcut-term"},Object(a.createElement)(Ke,{keyCombination:n,forceAriaLabel:r}),c.map((e,t)=>Object(a.createElement)(Ke,{keyCombination:e,forceAriaLabel:r,key:t}))))}function Xe(e){let{name:t}=e;const{keyCombination:n,description:c,aliases:r}=Object(i.useSelect)(e=>{const{getShortcutKeyCombination:n,getShortcutDescription:c,getShortcutAliases:r}=e(De.store);return{keyCombination:n(t),aliases:r(t),description:c(t)}},[t]);return n?Object(a.createElement)(Ye,{keyCombination:n,description:c,aliases:r}):null}const Qe=e=>{let{shortcuts:t}=e;return Object(a.createElement)("ul",{className:"edit-site-keyboard-shortcut-help-modal__shortcut-list",role:"list"},t.map((e,t)=>Object(a.createElement)("li",{className:"edit-site-keyboard-shortcut-help-modal__shortcut",key:t},Object($.isString)(e)?Object(a.createElement)(Xe,{name:e}):Object(a.createElement)(Ye,e))))},Ze=e=>{let{title:t,shortcuts:n,className:c}=e;return Object(a.createElement)("section",{className:qe()("edit-site-keyboard-shortcut-help-modal__section",c)},!!t&&Object(a.createElement)("h2",{className:"edit-site-keyboard-shortcut-help-modal__section-title"},t),Object(a.createElement)(Qe,{shortcuts:n}))},Je=e=>{let{title:t,categoryName:n,additionalShortcuts:c=[]}=e;const r=Object(i.useSelect)(e=>e(De.store).getCategoryShortcuts(n),[n]);return Object(a.createElement)(Ze,{title:t,shortcuts:r.concat(c)})};function et(e){let{isModalActive:t,toggleModal:n}=e;return t?Object(a.createElement)(_e.Modal,{className:"edit-site-keyboard-shortcut-help-modal",title:Object(m.__)("Keyboard shortcuts"),closeLabel:Object(m.__)("Close"),onRequestClose:n},Object(a.createElement)(Ze,{className:"edit-site-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-site/keyboard-shortcuts"]}),Object(a.createElement)(Je,{title:Object(m.__)("Global shortcuts"),categoryName:"global"}),Object(a.createElement)(Je,{title:Object(m.__)("Selection shortcuts"),categoryName:"selection"}),Object(a.createElement)(Je,{title:Object(m.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(m.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(m.__)("Forward-slash")}]}),Object(a.createElement)(Ze,{title:Object(m.__)("Text formatting"),shortcuts:$e})):null}var tt=n("RMJe"),nt=n("gdqT");function ct(e){let{feature:t,label:n,info:c,messageActivated:r,messageDeactivated:l}=e;const o=Object(i.useSelect)(e=>e(Oe).isFeatureActive(t),[]),{toggleFeature:s}=Object(i.useDispatch)(Oe);return Object(a.createElement)(_e.MenuItem,{icon:o&&tt.a,isSelected:o,onClick:Object($.flow)(s.bind(null,t),()=>{o?Object(nt.speak)(l||Object(m.__)("Feature deactivated")):Object(nt.speak)(r||Object(m.__)("Feature activated"))}),role:"menuitemcheckbox",info:c},n)}const{Fill:rt,Slot:at}=Object(_e.createSlotFill)("EditSiteToolsMoreMenuGroup");rt.Slot=e=>{let{fillProps:t}=e;return Object(a.createElement)(at,{fillProps:t},e=>!Object($.isEmpty)(e)&&e)};var lt=rt,ot=n("rrFr"),it=n.n(ot),st=n("ywyh"),ut=n.n(st),mt=n("Tqx9");var dt=Object(a.createElement)(mt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(mt.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"}));function bt(){const{createErrorNotice:e}=Object(i.useDispatch)(k.store);return Object(a.createElement)(_e.MenuItem,{role:"menuitem",icon:dt,onClick:async function(){try{const e=await ut()({path:"/wp-block-editor/v1/export",parse:!1}),t=await e.blob();it()(t,"edit-site-export.zip","application/zip")}catch(t){let n={};try{n=await t.json()}catch(e){}const c=n.message&&"unknown_error"!==n.code?n.message:Object(m.__)("An error occurred while creating the site export.");e(c,{type:"snackbar"})}},info:Object(m.__)("Download your templates and template parts.")},Object(m._x)("Export","site exporter menu item"))}function pt(){const{toggleFeature:e}=Object(i.useDispatch)(Oe);return Object(a.createElement)(_e.MenuItem,{onClick:()=>e("welcomeGuide")},Object(m.__)("Welcome Guide"))}const Ot={className:"edit-site-more-menu__content",position:"bottom left"},jt={tooltipPosition:"bottom"};function _t(){const[e,t]=Object(a.useReducer)(e=>!e,!1);return Object(De.useShortcut)("core/edit-site/keyboard-shortcuts",t),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_e.DropdownMenu,{className:"edit-site-more-menu",icon:Ue.a,label:Object(m.__)("More tools & options"),popoverProps:Ot,toggleProps:jt},e=>{let{onClose:n}=e;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_e.MenuGroup,{label:Object(m._x)("View","noun")},Object(a.createElement)(ct,{feature:"fixedToolbar",label:Object(m.__)("Top toolbar"),info:Object(m.__)("Access all block and document tools in a single place"),messageActivated:Object(m.__)("Top toolbar activated"),messageDeactivated:Object(m.__)("Top toolbar deactivated")}),Object(a.createElement)(ct,{feature:"focusMode",label:Object(m.__)("Spotlight mode"),info:Object(m.__)("Focus on one block at a time"),messageActivated:Object(m.__)("Spotlight mode activated"),messageDeactivated:Object(m.__)("Spotlight mode deactivated")}),Object(a.createElement)(T.a.Slot,{name:"core/edit-site/plugin-more-menu",label:Object(m.__)("Plugins"),as:_e.MenuGroup,fillProps:{onClick:n}})),Object(a.createElement)(_e.MenuGroup,{label:Object(m.__)("Tools")},Object(a.createElement)(bt,null),Object(a.createElement)(_e.MenuItem,{onClick:t,shortcut:ze.displayShortcut.access("h")},Object(m.__)("Keyboard shortcuts")),Object(a.createElement)(pt,null),Object(a.createElement)(_e.MenuItem,{icon:He.a,role:"menuitem",href:Object(m.__)("https://wordpress.org/support/article/site-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(m.__)("Help"),Object(a.createElement)(_e.VisuallyHidden,{as:"span"},Object(m.__)("(opens in a new tab)"))),Object(a.createElement)(lt.Slot,{fillProps:{onClose:n}})))}),Object(a.createElement)(et,{isModalActive:e,toggleModal:t}))}function gt(e){let{openEntitiesSavedStates:t,isEntitiesSavedStatesOpen:n}=e;const{isDirty:c,isSaving:r}=Object(i.useSelect)(e=>{const{__experimentalGetDirtyEntityRecords:t,isSavingEntityRecord:n}=e(s.store),c=t();return{isDirty:c.length>0,isSaving:Object($.some)(c,e=>n(e.kind,e.name,e.key))}},[]),l=!c||r;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_e.Button,{variant:"primary",className:"edit-site-save-button__button","aria-disabled":l,"aria-expanded":n,disabled:l,isBusy:r,onClick:l?void 0:t},Object(m.__)("Save")))}var ht=n("Ntru"),ft=n("K2cm");function Et(){const e=Object(i.useSelect)(e=>e(s.store).hasUndo(),[]),{undo:t}=Object(i.useDispatch)(s.store);return Object(a.createElement)(_e.Button,{icon:Object(m.isRTL)()?ft.a:ht.a,label:Object(m.__)("Undo"),shortcut:ze.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?t:void 0})}function vt(){const e=Object(i.useSelect)(e=>e(s.store).hasRedo(),[]),{redo:t}=Object(i.useDispatch)(s.store);return Object(a.createElement)(_e.Button,{icon:Object(m.isRTL)()?ht.a:ft.a,label:Object(m.__)("Redo"),shortcut:ze.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?t:void 0})}var yt=n("NWDH");function wt(e){if(e){const t=Object(l.getBlockType)(e.name);return t?Object(l.__experimentalGetBlockLabel)(t,e.attributes):null}return null}function St(e){let{entityTitle:t,entityLabel:n,isLoaded:c,children:r}=e;const{label:l}=function(){const{getBlock:e}=Object(i.useSelect)(Le.store),t=Object(i.useSelect)(e=>e(Le.store).__experimentalGetActiveBlockIdByBlockNames(["core/template-part"]),[]);return t?{label:wt(e(t)),isActive:!0}:{}}(),o=Object(a.useRef)();return c?t?Object(a.createElement)("div",{className:qe()("edit-site-document-actions",{"has-secondary-label":!!l})},Object(a.createElement)("div",{ref:o,className:"edit-site-document-actions__title-wrapper"},Object(a.createElement)(_e.__experimentalText,{size:"body",className:"edit-site-document-actions__title",as:"h1"},Object(a.createElement)(_e.VisuallyHidden,{as:"span"},Object(m.sprintf)(Object(m.__)("Editing %s: "),n)),t),Object(a.createElement)(_e.__experimentalText,{size:"body",className:"edit-site-document-actions__secondary-item"},null!=l?l:""),r&&Object(a.createElement)(_e.Dropdown,{popoverProps:{anchorRef:o.current},position:"bottom center",renderToggle:e=>{let{isOpen:t,onToggle:c}=e;return Object(a.createElement)(_e.Button,{className:"edit-site-document-actions__get-info",icon:yt.a,"aria-expanded":t,"aria-haspopup":"true",onClick:c,label:Object(m.sprintf)(Object(m.__)("Show %s details"),n)})},contentClassName:"edit-site-document-actions__info-dropdown",renderContent:r}))):Object(a.createElement)("div",{className:"edit-site-document-actions"},Object(m.__)("Template not found")):Object(a.createElement)("div",{className:"edit-site-document-actions"},Object(m.__)("Loading…"))}function xt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const c=Me();function r(r){r.preventDefault(),n?c.replace(e,t):c.push(e,t)}return{href:Object(b.addQueryArgs)(window.location.href,e),onClick:r}}function kt(e){let{params:t={},state:n,replace:c=!1,children:r,...l}=e;const{href:o,onClick:i}=xt(t,n,c);return Object(a.createElement)("a",Object(ge.a)({href:o,onClick:i},l),r)}function Tt(e){var t;let{onClose:n,templatePart:c,closeTemplateDetailsDropdown:r}=e;const{revertTemplate:l}=Object(i.useDispatch)(Oe),{params:o}=Pe(),s=xt({postId:c.id,postType:c.type},{fromTemplateId:o.postId});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_e.MenuGroup,null,Object(a.createElement)(_e.MenuItem,Object(ge.a)({},s,{onClick:function(e){s.onClick(e),n(),r()}}),Object(m.sprintf)(Object(m.__)("Edit %s"),null===(t=c.title)||void 0===t?void 0:t.rendered))),C(c)&&Object(a.createElement)(_e.MenuGroup,null,Object(a.createElement)(_e.MenuItem,{info:Object(m.__)("Restore template to default state"),onClick:function(){l(c),n(),r()}},Object(m.__)("Clear customizations"))))}function Ct(e){let{templatePart:t,clientId:n,closeTemplateDetailsDropdown:c}=e;const{selectBlock:r,toggleBlockHighlight:l}=Object(i.useDispatch)(Le.store),o=Object(i.useSelect)(e=>e(u.store).__experimentalGetDefaultTemplatePartAreas().find(e=>e.area===t.area),[t.area]),s=()=>l(n,!0),d=()=>l(n,!1);return Object(a.createElement)("div",{role:"menuitem",className:"edit-site-template-details__template-areas-item"},Object(a.createElement)(_e.MenuItem,{role:"button",icon:null==o?void 0:o.icon,iconPosition:"left",onClick:()=>{r(n)},onMouseOver:s,onMouseLeave:d,onFocus:s,onBlur:d},null==o?void 0:o.label),Object(a.createElement)(_e.DropdownMenu,{icon:Ue.a,label:Object(m.__)("More options"),className:"edit-site-template-details__template-areas-item-more"},e=>{let{onClose:n}=e;return Object(a.createElement)(Tt,{onClose:n,templatePart:t,closeTemplateDetailsDropdown:c})}))}function It(e){let{closeTemplateDetailsDropdown:t}=e;const n=Object(i.useSelect)(e=>e(Oe).getCurrentTemplateTemplateParts(),[]);return n.length?Object(a.createElement)(_e.MenuGroup,{label:Object(m.__)("Areas"),className:"edit-site-template-details__group edit-site-template-details__template-areas"},n.map(e=>{let{templatePart:n,block:c}=e;return Object(a.createElement)(Ct,{key:n.slug,clientId:c.clientId,templatePart:n,closeTemplateDetailsDropdown:t})})):null}function Nt(e){let{template:t}=e;const[n,c]=Object(s.useEntityProp)("postType",t.type,"title",t.id);return Object(a.createElement)(_e.TextControl,{label:Object(m.__)("Title"),value:n,help:Object(m.__)('Give the template a title that indicates its purpose, e.g. "Full Width".'),onChange:e=>{c(e||t.slug)}})}function Pt(e){let{template:t,onClose:n}=e;const{title:c,description:r}=Object(i.useSelect)(e=>e(u.store).__experimentalGetTemplateInfo(t),[]),{revertTemplate:l}=Object(i.useDispatch)(Oe),o=Object(a.useMemo)(()=>"wp_template"===(null==t?void 0:t.type)?{title:Object(m.__)("templates"),menu:"templates"}:w.find(e=>{let{area:n}=e;return n===(null==t?void 0:t.area)}),[t]),s=xt({postType:t.type,postId:void 0});if(!t)return null;return Object(a.createElement)("div",{className:"edit-site-template-details"},Object(a.createElement)("div",{className:"edit-site-template-details__group"},t.is_custom?Object(a.createElement)(Nt,{template:t}):Object(a.createElement)(_e.__experimentalHeading,{level:4,weight:600,className:"edit-site-template-details__title"},c),r&&Object(a.createElement)(_e.__experimentalText,{size:"body",className:"edit-site-template-details__description",as:"p"},r)),Object(a.createElement)(It,{closeTemplateDetailsDropdown:n}),C(t)&&Object(a.createElement)(_e.MenuGroup,{className:"edit-site-template-details__group edit-site-template-details__revert"},Object(a.createElement)(_e.MenuItem,{className:"edit-site-template-details__revert-button",info:Object(m.__)("Restore template to default state"),onClick:()=>{l(t),n()}},Object(m.__)("Clear customizations"))),Object(a.createElement)(_e.Button,Object(ge.a)({className:"edit-site-template-details__show-all-button"},s),Object(m.sprintf)(Object(m.__)("Browse all %s"),o.title)))}const Mt=e=>{e.preventDefault()};function Rt(e){let{openEntitiesSavedStates:t,isEntitiesSavedStatesOpen:n}=e;const c=Object(a.useRef)(),{deviceType:r,entityTitle:l,template:o,templateType:d,isInserterOpen:b,isListViewOpen:p,listViewShortcut:O,isLoaded:j}=Object(i.useSelect)(e=>{const{__experimentalGetPreviewDeviceType:t,getEditedPostType:n,getEditedPostId:c,isInserterOpened:r,isListViewOpened:a}=e(Oe),{getEditedEntityRecord:l}=e(s.store),{__experimentalGetTemplateInfo:o}=e(u.store),{getShortcutRepresentation:i}=e(De.store),m=n(),d=c(),b=l("postType",m,d),p=!!d;return{deviceType:t(),entityTitle:o(b).title,isLoaded:p,template:b,templateType:m,isInserterOpen:r(),isListViewOpen:a(),listViewShortcut:i("core/edit-site/toggle-list-view")}},[]),{__experimentalSetPreviewDeviceType:_,setIsInserterOpened:g,setIsListViewOpened:h}=Object(i.useDispatch)(Oe),f=Object(Fe.useViewportMatch)("medium"),E=Object(a.useCallback)(()=>{b?c.current.focus():g(!0)},[b,g]),v=Object(a.useCallback)(()=>h(!p),[h,p]),y="wp_template_part"===d;return Object(a.createElement)("div",{className:"edit-site-header"},Object(a.createElement)("div",{className:"edit-site-header_start"},Object(a.createElement)("div",{className:"edit-site-header__toolbar"},Object(a.createElement)(_e.Button,{ref:c,variant:"primary",isPressed:b,className:"edit-site-header-toolbar__inserter-toggle",onMouseDown:Mt,onClick:E,icon:Ve.a,label:Object(m._x)("Toggle block inserter","Generic label for block inserter button")}),f&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Le.ToolSelector,null),Object(a.createElement)(Et,null),Object(a.createElement)(vt,null),Object(a.createElement)(_e.Button,{className:"edit-site-header-toolbar__list-view-toggle",icon:Ge.a,isPressed:p,label:Object(m.__)("List View"),onClick:v,shortcut:O})))),Object(a.createElement)("div",{className:"edit-site-header_center"},Object(a.createElement)(St,{entityTitle:l,entityLabel:"wp_template_part"===d?"template part":"template",isLoaded:j},e=>{let{onClose:t}=e;return Object(a.createElement)(Pt,{template:o,onClose:t})})),Object(a.createElement)("div",{className:"edit-site-header_end"},Object(a.createElement)("div",{className:"edit-site-header__actions"},!y&&Object(a.createElement)(Le.__experimentalPreviewOptions,{deviceType:r,setDeviceType:_}),Object(a.createElement)(gt,{openEntitiesSavedStates:t,isEntitiesSavedStatesOpen:n}),Object(a.createElement)(T.h.Slot,{scope:"core/edit-site"}),Object(a.createElement)(_t,null))))}var At=n("Cg8A");function Lt(e){let{className:t,identifier:n,title:c,icon:r,children:l,closeLabel:o,header:i,headerClassName:s}=e;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(T.b,{className:t,scope:"core/edit-site",identifier:n,title:c,icon:r,closeLabel:o,header:i,headerClassName:s},l),Object(a.createElement)(T.c,{scope:"core/edit-site",identifier:n,icon:r},c))}var Bt=Object(a.createElement)(mt.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(mt.Path,{d:"M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z"})),Dt=n("iClF"),Ft=n("2gm7"),Vt=n("1iEr");const Gt=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["typography","fontSizes"],valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]}],zt={"color.background":"color","color.text":"color","elements.link.color.text":"color","color.gradient":"gradient","typography.fontSize":"font-size","typography.fontFamily":"font-family"};function Ut(e,t,n,c,r){const a=[Object($.get)(e,["blocks",t,...n]),Object($.get)(e,n)];for(const l of a)if(l){const a=["custom","theme","default"];for(const o of a){const a=l[o];if(a){const l=Object($.find)(a,e=>e[c]===r);if(l){if("slug"===c)return l;return Ut(e,t,n,"slug",l.slug)[c]===l[c]?l:void 0}}}}}function Ht(e,t,n,c){if(!c)return c;const r=zt[n],a=Object($.find)(Gt,["cssVarInfix",r]);if(!a)return c;const{valueKey:l,path:o}=a,i=Ut(e,t,o,l,c);return i?`var:preset|${r}|${i.slug}`:c}function Wt(e,t,n){if(!n||!Object($.isString)(n))return n;let c;if(n.startsWith("var:"))c=n.slice("var:".length).split("|");else{if(!n.startsWith("var(--wp--")||!n.endsWith(")"))return n;c=n.slice("var(--wp--".length,-")".length).split("--")}const[r,...a]=c;return"preset"===r?function(e,t,n,c){let[r,a]=c;const l=Object($.find)(Gt,["cssVarInfix",r]);if(!l)return n;const o=Ut(e,t,l.path,"slug",a);if(o){const{valueKey:n}=l;return Wt(e,t,o[n])}return n}(e,t,n,a):"custom"===r?function(e,t,n,c){var r;const a=null!==(r=Object($.get)(e,["blocks",t,"custom",...c]))&&void 0!==r?r:Object($.get)(e,["custom",...c]);return a?Wt(e,t,a):n}(e,t,n,a):n}const qt=Object(a.createContext)({user:{},base:{},merged:{},setUserConfig:()=>{}}),$t={isGlobalStylesUserThemeJSON:!0,version:1};function Kt(e,t){var n;let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";const{merged:r,base:o,user:i,setUserConfig:s}=Object(a.useContext)(qt),u=t?`settings.blocks.${t}.${e}`:"settings."+e,m=t=>{s(n=>{const c=Object($.cloneDeep)(n),r=l.__EXPERIMENTAL_PATHS_WITH_MERGE[e]?u+".custom":u;return Object($.set)(c,r,t),c})},d=t=>{const n=t?`settings.blocks.${t}.${e}`:"settings."+e,a=t=>{const c=Object($.get)(t,n);var r,a;return l.__EXPERIMENTAL_PATHS_WITH_MERGE[e]?null!==(r=null!==(a=null==c?void 0:c.custom)&&void 0!==a?a:null==c?void 0:c.theme)&&void 0!==r?r:null==c?void 0:c.default:c};let s;switch(c){case"all":s=a(r);break;case"user":s=a(i);break;case"base":s=a(o);break;default:throw"Unsupported source"}return s},b=null!==(n=d(t))&&void 0!==n?n:d();return[b,m]}function Yt(e,t){var n;let c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";const{merged:r,base:l,user:o,setUserConfig:i}=Object(a.useContext)(qt),s=t?`styles.blocks.${t}.${e}`:"styles."+e,u=n=>{i(c=>{const a=Object($.cloneDeep)(c);return Object($.set)(a,s,Ht(r.settings,t,e,n)),a})};let m;switch(c){case"all":m=Wt(r.settings,t,null!==(n=Object($.get)(o,s))&&void 0!==n?n:Object($.get)(l,s));break;case"user":m=Wt(r.settings,t,Object($.get)(o,s));break;case"base":m=Wt(l.settings,t,Object($.get)(l,s));break;default:throw"Unsupported source"}return[m,u]}const Xt=["background","backgroundColor","color","linkColor","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textDecoration","textTransform","padding"];function Qt(e){if(!e)return Xt;const t=Object(l.getBlockType)(e);if(!t)return[];const n=[];return Object.keys(l.__EXPERIMENTAL_STYLE_PROPERTY).forEach(e=>{if(l.__EXPERIMENTAL_STYLE_PROPERTY[e].support)return l.__EXPERIMENTAL_STYLE_PROPERTY[e].requiresOptOut&&Object($.has)(t.supports,l.__EXPERIMENTAL_STYLE_PROPERTY[e].support[0])&&!1!==Object($.get)(t.supports,l.__EXPERIMENTAL_STYLE_PROPERTY[e].support)||Object($.get)(t.supports,l.__EXPERIMENTAL_STYLE_PROPERTY[e].support,!1)?n.push(e):void 0}),n}function Zt(e){const[t]=Kt("color.palette.custom",e),[n]=Kt("color.palette.theme",e),[c]=Kt("color.palette.default",e),[r]=Kt("color.defaultPalette");return Object(a.useMemo)(()=>{const e=[];return n&&n.length&&e.push({name:Object(m._x)("Theme","Indicates this palette comes from the theme."),colors:n}),r&&c&&c.length&&e.push({name:Object(m._x)("Default","Indicates this palette comes from WordPress."),colors:c}),t&&t.length&&e.push({name:Object(m._x)("Custom","Indicates this palette is created by the user."),colors:t}),e},[t,n,c])}var Jt=()=>{const[e="serif"]=Yt("typography.fontFamily"),[t="black"]=Yt("color.text"),[n="blue"]=Yt("elements.link.color.text"),[c="white"]=Yt("color.background"),[r]=Yt("color.gradient");return Object(a.createElement)(_e.Card,{className:"edit-site-global-styles-preview",style:{background:null!=r?r:c}},Object(a.createElement)(_e.__experimentalHStack,{spacing:5},Object(a.createElement)("div",{style:{fontFamily:e,fontSize:"80px",color:t}},"Aa"),Object(a.createElement)(_e.__experimentalVStack,{spacing:2},Object(a.createElement)(_e.ColorIndicator,{colorValue:t}),Object(a.createElement)(_e.ColorIndicator,{colorValue:n}))))};var en=function(e){let{path:t,icon:n,children:c,isBack:r=!1,...l}=e;const o=Object(_e.__experimentalUseNavigator)();return Object(a.createElement)(_e.__experimentalItem,Object(ge.a)({onClick:()=>o.push(t,{isBack:r})},l),n&&Object(a.createElement)(_e.__experimentalHStack,{justify:"flex-start"},Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(Dt.a,{icon:n,size:24})),Object(a.createElement)(_e.FlexItem,null,c)),!n&&c)};var tn=Object(a.createElement)(mt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(mt.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"}));var nn=Object(a.createElement)(mt.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(mt.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"})),cn=n("Civd");const rn=[];function an(e){return[ln(e),on(e),sn(e),un(e)].some(Boolean)}function ln(e){const t=Qt(e);return Kt("border.color",e)[0]&&t.includes("borderColor")}function on(e){const t=Qt(e);return Kt("border.radius",e)[0]&&t.includes("borderRadius")}function sn(e){const t=Qt(e);return Kt("border.style",e)[0]&&t.includes("borderStyle")}function un(e){const t=Qt(e);return Kt("border.width",e)[0]&&t.includes("borderWidth")}function mn(e){let{name:t}=e;const n=Object(_e.__experimentalUseCustomUnits)({availableUnits:Kt("spacing.units")[0]||["px","em","rem"]}),c=un(t),[r,l]=Yt("border.width",t),o=sn(t),[i,s]=Yt("border.style",t),[u=rn]=Kt("color.palette"),d=!Kt("color.custom")[0],b=!Kt("color.customGradient")[0],p=ln(t),[O,j]=Yt("border.color",t),_=on(t),[g,h]=Yt("border.radius",t);return Object(a.createElement)(_e.PanelBody,{title:Object(m.__)("Border"),initialOpen:!0},(c||o)&&Object(a.createElement)("div",{className:"edit-site-global-styles-sidebar__border-controls-row"},c&&Object(a.createElement)(_e.__experimentalUnitControl,{value:r,label:Object(m.__)("Width"),min:0,onChange:e=>{l(e||void 0)},units:n}),o&&Object(a.createElement)(Le.__experimentalBorderStyleControl,{value:i,onChange:s})),p&&Object(a.createElement)(Le.__experimentalColorGradientControl,{label:Object(m.__)("Color"),colorValue:O,colors:u,gradients:void 0,disableCustomColors:d,disableCustomGradients:b,onColorChange:j}),_&&Object(a.createElement)(Le.__experimentalBorderRadiusControl,{values:g,onChange:h}))}function dn(e){const t=Qt(e);return t.includes("color")||t.includes("backgroundColor")||t.includes("background")||t.includes("linkColor")}const bn=["horizontal","vertical"];function pn(e){const t=On(e),n=jn(e),c=_n(e);return t||n||c}function On(e){const t=Qt(e),[n]=Kt("spacing.padding",e);return n&&t.includes("padding")}function jn(e){const t=Qt(e),[n]=Kt("spacing.margin",e);return n&&t.includes("margin")}function _n(e){const t=Qt(e),[n]=Kt("spacing.blockGap",e);return n&&t.includes("--wp--style--block-gap")}function gn(e,t){if(!t)return e;const n={};return t.forEach(t=>{"vertical"===t&&(n.top=e.top,n.bottom=e.bottom),"horizontal"===t&&(n.left=e.left,n.right=e.right),n[t]=e[t]}),n}function hn(e){return e&&"string"==typeof e?{top:e,right:e,bottom:e,left:e}:e}function fn(e){let{name:t}=e;const n=On(t),c=jn(t),r=_n(t),l=Object(_e.__experimentalUseCustomUnits)({availableUnits:Kt("spacing.units",t)[0]||["%","px","em","rem","vw"]}),[o,i]=Yt("spacing.padding",t),s=hn(o),u=Object(Le.__experimentalUseCustomSides)(t,"padding"),d=u&&u.some(e=>bn.includes(e)),b=e=>{const t=gn(e,u);i(t)},p=()=>b({}),[O,j]=Yt("spacing.margin",t),_=hn(O),g=Object(Le.__experimentalUseCustomSides)(t,"margin"),h=g&&g.some(e=>bn.includes(e)),f=e=>{const t=gn(e,g);j(t)},E=()=>f({}),[v,y]=Yt("spacing.blockGap",t),w=()=>y(void 0);return Object(a.createElement)(_e.__experimentalToolsPanel,{label:Object(m.__)("Dimensions"),resetAll:()=>{p(),E(),w()}},n&&Object(a.createElement)(_e.__experimentalToolsPanelItem,{hasValue:()=>!!s&&Object.keys(s).length,label:Object(m.__)("Padding"),onDeselect:p,isShownByDefault:!0},Object(a.createElement)(_e.__experimentalBoxControl,{values:s,onChange:b,label:Object(m.__)("Padding"),sides:u,units:l,allowReset:!1,splitOnAxis:d})),c&&Object(a.createElement)(_e.__experimentalToolsPanelItem,{hasValue:()=>!!_&&Object.keys(_).length,label:Object(m.__)("Margin"),onDeselect:E,isShownByDefault:!0},Object(a.createElement)(_e.__experimentalBoxControl,{values:_,onChange:f,label:Object(m.__)("Margin"),sides:g,units:l,allowReset:!1,splitOnAxis:h})),r&&Object(a.createElement)(_e.__experimentalToolsPanelItem,{hasValue:()=>!!v,label:Object(m.__)("Block spacing"),onDeselect:w,isShownByDefault:!0},Object(a.createElement)(_e.__experimentalUnitControl,{label:Object(m.__)("Block spacing"),__unstableInputWidth:"80px",min:0,onChange:y,units:l,value:v})))}function En(e){const t=vn(e),n=yn(e),c=wn(e),r=Qt(e);return t||n||c||r.includes("fontSize")}function vn(e){const t=Qt(e);return Kt("typography.lineHeight",e)[0]&&t.includes("lineHeight")}function yn(e){const t=Qt(e),n=Kt("typography.fontStyle",e)[0]&&t.includes("fontStyle"),c=Kt("typography.fontWeight",e)[0]&&t.includes("fontWeight");return n||c}function wn(e){const t=Qt(e);return Kt("typography.letterSpacing",e)[0]&&t.includes("letterSpacing")}function Sn(e){let{name:t,element:n}=e;const c=Qt(t),r="text"!==n&&n?`elements.${n}.`:"",[l]=Kt("typography.fontSizes",t),o=!Kt("typography.customFontSize",t)[0],[i]=Kt("typography.fontFamilies",t),s=Kt("typography.fontStyle",t)[0]&&c.includes("fontStyle"),u=Kt("typography.fontWeight",t)[0]&&c.includes("fontWeight"),m=vn(t),d=yn(t),b=wn(t),[p,O]=Yt(r+"typography.fontFamily",t),[j,_]=Yt(r+"typography.fontSize",t),[g,h]=Yt(r+"typography.fontStyle",t),[f,E]=Yt(r+"typography.fontWeight",t),[v,y]=Yt(r+"typography.lineHeight",t),[w,S]=Yt(r+"typography.letterSpacing",t),[x]=Yt(r+"color.background",t),[k]=Yt(r+"color.gradient",t),[T]=Yt(r+"color.text",t),C="link"===n?{textDecoration:"underline"}:{};return Object(a.createElement)(_e.PanelBody,{className:"edit-site-typography-panel",initialOpen:!0},Object(a.createElement)("div",{className:"edit-site-typography-panel__preview",style:{fontFamily:null!=p?p:"serif",background:null!=k?k:x,color:T,fontSize:j,fontStyle:g,fontWeight:f,letterSpacing:w,...C}},"Aa"),c.includes("fontFamily")&&Object(a.createElement)(Le.__experimentalFontFamilyControl,{fontFamilies:i,value:p,onChange:O}),c.includes("fontSize")&&Object(a.createElement)(_e.FontSizePicker,{value:j,onChange:_,fontSizes:l,disableCustomFontSizes:o}),m&&Object(a.createElement)(Le.LineHeightControl,{value:v,onChange:y}),d&&Object(a.createElement)(Le.__experimentalFontAppearanceControl,{value:{fontStyle:g,fontWeight:f},onChange:e=>{let{fontStyle:t,fontWeight:n}=e;h(t),E(n)},hasFontStyles:s,hasFontWeights:u}),b&&Object(a.createElement)(Le.__experimentalLetterSpacingControl,{value:w,onChange:S}))}var xn=function(e){let{name:t,parentMenu:n=""}=e;const c=En(t),r=dn(t),l=an(t),o=pn(t),i=l||o;return Object(a.createElement)(_e.__experimentalItemGroup,null,c&&Object(a.createElement)(en,{icon:tn,path:n+"/typography"},Object(m.__)("Typography")),r&&Object(a.createElement)(en,{icon:nn,path:n+"/colors"},Object(m.__)("Colors")),i&&Object(a.createElement)(en,{icon:cn.a,path:n+"/layout"},Object(m.__)("Layout")))};var kn=function(){return Object(a.createElement)(_e.Card,{size:"small"},Object(a.createElement)(_e.CardBody,null,Object(a.createElement)(Jt,null)),Object(a.createElement)(_e.CardBody,null,Object(a.createElement)(xn,null)),Object(a.createElement)(_e.CardDivider,null),Object(a.createElement)(_e.CardBody,null,Object(a.createElement)(_e.__experimentalItemGroup,null,Object(a.createElement)(_e.__experimentalItem,null,Object(m.__)("Customize the appearance of specific blocks for the whole site.")),Object(a.createElement)(en,{path:"/blocks"},Object(a.createElement)(_e.__experimentalHStack,{justify:"space-between"},Object(a.createElement)(_e.FlexItem,null,Object(m.__)("Blocks")),Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(Dt.a,{icon:Object(m.isRTL)()?Ft.a:Vt.a})))))))};var Tn=function(e){let{back:t,title:n,description:c}=e;return Object(a.createElement)(_e.__experimentalVStack,{spacing:2},Object(a.createElement)(_e.__experimentalHStack,{spacing:2},Object(a.createElement)(_e.__experimentalView,null,Object(a.createElement)(en,{path:t,icon:Object(a.createElement)(Dt.a,{icon:Object(m.isRTL)()?Vt.a:Ft.a,variant:"muted"}),size:"small",isBack:!0,"aria-label":Object(m.__)("Navigate to the previous view")})),Object(a.createElement)(_e.__experimentalSpacer,null,Object(a.createElement)(_e.__experimentalHeading,{level:5},n))),c&&Object(a.createElement)("p",{className:"edit-site-global-styles-header__description"},c))};function Cn(e){let{block:t}=e;const n=En(t.name),c=dn(t.name),r=an(t.name),l=pn(t.name);return n||c||(r||l)?Object(a.createElement)(en,{path:"/blocks/"+t.name},Object(a.createElement)(_e.__experimentalHStack,{justify:"flex-start"},Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(Le.BlockIcon,{icon:t.icon})),Object(a.createElement)(_e.FlexItem,null,t.title))):null}var In=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:"/",title:Object(m.__)("Blocks"),description:Object(m.__)("Customize the appearance of specific blocks and for the whole site.")}),Object(l.getBlockTypes)().map(e=>Object(a.createElement)(Cn,{block:e,key:"menu-itemblock-"+e.name})))};var Nn=function(e){let{name:t}=e;const n=Object(l.getBlockType)(t);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:"/blocks",title:n.title}),Object(a.createElement)(xn,{parentMenu:"/blocks/"+t,name:t}))};var Pn=function(e){let{children:t}=e;return Object(a.createElement)(_e.__experimentalHeading,{className:"edit-site-global-styles-subtitle",level:2},t)};function Mn(e){let{name:t,parentMenu:n,element:c,label:r}=e;const l=!t,o="text"!==c&&c?`elements.${c}.`:"",i="link"===c?{textDecoration:"underline"}:{},[s]=Yt(o+"typography.fontFamily",t),[u]=Yt(o+"typography.fontStyle",t),[d]=Yt(o+"typography.fontWeight",t),[b]=Yt(o+"typography.letterSpacing",t),[p]=Yt(o+"color.background",t),[O]=Yt(o+"color.gradient",t),[j]=Yt(o+"color.text",t);return l?Object(a.createElement)(en,{path:n+"/typography/"+c},Object(a.createElement)(_e.__experimentalHStack,{justify:"flex-start"},Object(a.createElement)(_e.FlexItem,{className:"edit-site-global-styles-screen-typography__indicator",style:{fontFamily:null!=s?s:"serif",background:null!=O?O:p,color:j,fontStyle:u,fontWeight:d,letterSpacing:b,...i}},Object(m.__)("Aa")),Object(a.createElement)(_e.FlexItem,null,r))):null}var Rn=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:n||"/",title:Object(m.__)("Typography"),description:Object(m.__)("Manage the typography settings for different elements.")}),!t&&Object(a.createElement)("div",{className:"edit-site-global-styles-screen-typography"},Object(a.createElement)(_e.__experimentalVStack,{spacing:3},Object(a.createElement)(Pn,null,Object(m.__)("Elements")),Object(a.createElement)(_e.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},Object(a.createElement)(Mn,{name:t,parentMenu:n,element:"text",label:Object(m.__)("Text")}),Object(a.createElement)(Mn,{name:t,parentMenu:n,element:"link",label:Object(m.__)("Links")})))),!!t&&Object(a.createElement)(Sn,{name:t,element:"text"}))};const An={text:{description:Object(m.__)("Manage the fonts used on the site."),title:Object(m.__)("Text")},link:{description:Object(m.__)("Manage the fonts and typography used on the links."),title:Object(m.__)("Links")}};var Ln=function(e){let{name:t,element:n}=e;const c=void 0===t?"/typography":"/blocks/"+t+"/typography";return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:c,title:An[n].title,description:An[n].description}),Object(a.createElement)(Sn,{name:t,element:n}))};const Bn=[];var Dn=function(e){let{name:t}=e;const[n]=Kt("color.palette.custom"),[c]=Kt("color.palette.theme"),[r]=Kt("color.palette.default"),[l]=Kt("color.defaultPalette",t),o=Object(a.useMemo)(()=>[...n||Bn,...c||Bn,...r&&l?r:Bn],[n,c,r,l]),i=t?"/blocks/"+t+"/colors/palette":"/colors/palette",s=o.length>0?Object(m.sprintf)(Object(m._n)("%d color","%d colors",o.length),o.length):Object(m.__)("Add custom colors");return Object(a.createElement)(_e.__experimentalVStack,{spacing:3},Object(a.createElement)(Pn,null,Object(m.__)("Palette")),Object(a.createElement)(_e.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},Object(a.createElement)(en,{path:i},Object(a.createElement)(_e.__experimentalHStack,{isReversed:0===o.length},Object(a.createElement)(_e.FlexBlock,null,Object(a.createElement)(_e.__experimentalZStack,{isLayered:!1,offset:-8},o.slice(0,5).map(e=>{let{color:t}=e;return Object(a.createElement)(_e.ColorIndicator,{key:t,colorValue:t})}))),Object(a.createElement)(_e.FlexItem,null,s)))))};function Fn(e){let{name:t,parentMenu:n}=e;const c=Qt(t),r=c.includes("backgroundColor")||c.includes("background"),[l]=Yt("color.background",t),[o]=Yt("color.gradient",t);return r?Object(a.createElement)(en,{path:n+"/colors/background"},Object(a.createElement)(_e.__experimentalHStack,{justify:"flex-start"},Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.ColorIndicator,{colorValue:null!=o?o:l})),Object(a.createElement)(_e.FlexItem,null,Object(m.__)("Background")))):null}function Vn(e){let{name:t,parentMenu:n}=e;const c=Qt(t).includes("color"),[r]=Yt("color.text",t);return c?Object(a.createElement)(en,{path:n+"/colors/text"},Object(a.createElement)(_e.__experimentalHStack,{justify:"flex-start"},Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.ColorIndicator,{colorValue:r})),Object(a.createElement)(_e.FlexItem,null,Object(m.__)("Text")))):null}function Gn(e){let{name:t,parentMenu:n}=e;const c=Qt(t).includes("linkColor"),[r]=Yt("elements.link.color.text",t);return c?Object(a.createElement)(en,{path:n+"/colors/link"},Object(a.createElement)(_e.__experimentalHStack,{justify:"flex-start"},Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.ColorIndicator,{colorValue:r})),Object(a.createElement)(_e.FlexItem,null,Object(m.__)("Links")))):null}var zn=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:n||"/",title:Object(m.__)("Colors"),description:Object(m.__)("Manage palettes and the default color of different global elements on the website.")}),Object(a.createElement)("div",{className:"edit-site-global-styles-screen-colors"},Object(a.createElement)(_e.__experimentalVStack,{spacing:10},Object(a.createElement)(Dn,{name:t}),Object(a.createElement)(_e.__experimentalVStack,{spacing:3},Object(a.createElement)(Pn,null,Object(m.__)("Elements")),Object(a.createElement)(_e.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},Object(a.createElement)(Fn,{name:t,parentMenu:n}),Object(a.createElement)(Vn,{name:t,parentMenu:n}),Object(a.createElement)(Gn,{name:t,parentMenu:n}))))))};function Un(e){let{name:t}=e;const[n,c]=Kt("color.palette.theme",t),[r]=Kt("color.palette.theme",t,"base"),[l,o]=Kt("color.palette.default",t),[i]=Kt("color.palette.default",t,"base"),[s,u]=Kt("color.palette.custom",t),[d]=Kt("color.defaultPalette",t);return Object(a.createElement)(_e.__experimentalVStack,{className:"edit-site-global-styles-color-palette-panel",spacing:10},!!n&&!!n.length&&Object(a.createElement)(_e.__experimentalPaletteEdit,{canReset:n!==r,canOnlyChangeValues:!0,colors:n,onChange:c,paletteLabel:Object(m.__)("Theme")}),!!l&&!!l.length&&!!d&&Object(a.createElement)(_e.__experimentalPaletteEdit,{canReset:l!==i,canOnlyChangeValues:!0,colors:l,onChange:o,paletteLabel:Object(m.__)("Default")}),Object(a.createElement)(_e.__experimentalPaletteEdit,{colors:s,onChange:u,paletteLabel:Object(m.__)("Custom"),emptyMessage:Object(m.__)("Custom colors are empty! Add some colors to create your own color palette."),slugPrefix:"custom-"}))}function Hn(e){let{name:t}=e;const[n,c]=Kt("color.gradients.theme",t),[r]=Kt("color.gradients.theme",t,"base"),[l,o]=Kt("color.gradients.default",t),[i]=Kt("color.gradients.default",t,"base"),[s,u]=Kt("color.gradients.custom",t),[d]=Kt("color.defaultGradients",t),[b]=Kt("color.duotone")||[];return Object(a.createElement)(_e.__experimentalVStack,{className:"edit-site-global-styles-gradient-palette-panel",spacing:10},!!n&&!!n.length&&Object(a.createElement)(_e.__experimentalPaletteEdit,{canReset:n!==r,canOnlyChangeValues:!0,gradients:n,onChange:c,paletteLabel:Object(m.__)("Theme")}),!!l&&!!l.length&&!!d&&Object(a.createElement)(_e.__experimentalPaletteEdit,{canReset:l!==i,canOnlyChangeValues:!0,gradients:l,onChange:o,paletteLabel:Object(m.__)("Default")}),Object(a.createElement)(_e.__experimentalPaletteEdit,{gradients:s,onChange:u,paletteLabel:Object(m.__)("Custom"),emptyMessage:Object(m.__)("Custom gradients are empty! Add some gradients to create your own palette."),slugPrefix:"custom-"}),Object(a.createElement)("div",null,Object(a.createElement)(Pn,null,Object(m.__)("Duotone")),Object(a.createElement)(_e.__experimentalSpacer,{margin:3}),Object(a.createElement)(_e.DuotonePicker,{duotonePalette:b,disableCustomDuotone:!0,disableCustomColors:!0,clearable:!1,onChange:$.noop})))}var Wn=function(e){let{name:t}=e;const[n,c]=Object(a.useState)("solid"),r=void 0===t?"":"/blocks/"+t;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:r+"/colors",title:Object(m.__)("Palette"),description:Object(m.__)("Palettes are used to provide default color options for blocks and various design tools. Here you can edit the colors with their labels.")}),Object(a.createElement)(_e.__experimentalToggleGroupControl,{className:"edit-site-screen-color-palette-toggle",value:n,onChange:c,label:Object(m.__)("Select palette type"),hideLabelFromVision:!0,isBlock:!0},Object(a.createElement)(_e.__experimentalToggleGroupControlOption,{value:"solid",label:Object(m.__)("Solid")}),Object(a.createElement)(_e.__experimentalToggleGroupControlOption,{value:"gradient",label:Object(m.__)("Gradient")})),"solid"===n&&Object(a.createElement)(Un,{name:t}),"gradient"===n&&Object(a.createElement)(Hn,{name:t}))};var qn=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t,c=Qt(t),[r]=Kt("color.palette",t),[l]=Kt("color.gradients",t),[o]=Kt("color.custom",t),[i]=Kt("color.customGradient",t),s=Zt(t),u=function(e){const[t]=Kt("color.gradients.custom",e),[n]=Kt("color.gradients.theme",e),[c]=Kt("color.gradients.default",e),[r]=Kt("color.defaultGradients");return Object(a.useMemo)(()=>{const e=[];return n&&n.length&&e.push({name:Object(m._x)("Theme","Indicates this palette comes from the theme."),gradients:n}),r&&c&&c.length&&e.push({name:Object(m._x)("Default","Indicates this palette comes from WordPress."),gradients:c}),t&&t.length&&e.push({name:Object(m._x)("Custom","Indicates this palette is created by the user."),gradients:t}),e},[t,n,c])}(t),[d]=Kt("color.background",t),b=c.includes("backgroundColor")&&d&&(r.length>0||o),p=c.includes("background")&&(l.length>0||i),[O,j]=Yt("color.background",t),[_]=Yt("color.background",t,"user"),[g,h]=Yt("color.gradient",t),[f]=Yt("color.gradient",t,"user");if(!b&&!p)return null;let E={};b&&(E={colorValue:O,onColorChange:j},O&&(E.clearable=O===_));let v={};p&&(v={gradientValue:g,onGradientChange:h},g&&(v.clearable=g===f));const y={...E,...v};return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:n+"/colors",title:Object(m.__)("Background"),description:Object(m.__)("Set a background color or gradient for the whole website.")}),Object(a.createElement)(Le.__experimentalColorGradientControl,Object(ge.a)({className:"edit-site-screen-background-color__control",colors:s,gradients:u,disableCustomColors:!o,disableCustomGradients:!i,__experimentalHasMultipleOrigins:!0,showTitle:!1,enableAlpha:!0,__experimentalIsRenderedInSidebar:!0},y)))};var $n=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t,c=Qt(t),[r]=Kt("color.palette",t),[l]=Kt("color.custom",t),[o]=Kt("color.text",t),i=Zt(t),s=c.includes("color")&&o&&(r.length>0||l),[u,d]=Yt("color.text",t),[b]=Yt("color.text",t,"user");return s?Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:n+"/colors",title:Object(m.__)("Text"),description:Object(m.__)("Set the default color used for text across the site.")}),Object(a.createElement)(Le.__experimentalColorGradientControl,{className:"edit-site-screen-text-color__control",colors:i,disableCustomColors:!l,__experimentalHasMultipleOrigins:!0,showTitle:!1,enableAlpha:!0,__experimentalIsRenderedInSidebar:!0,colorValue:u,onColorChange:d,clearable:u===b})):null};var Kn=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t,c=Qt(t),[r]=Kt("color.palette",t),[l]=Kt("color.custom",t),o=Zt(t),[i]=Kt("color.link",t),s=c.includes("linkColor")&&i&&(r.length>0||l),[u,d]=Yt("elements.link.color.text",t),[b]=Yt("elements.link.color.text",t,"user");return s?Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:n+"/colors",title:Object(m.__)("Links"),description:Object(m.__)("Set the default color used for links across the site.")}),Object(a.createElement)(Le.__experimentalColorGradientControl,{className:"edit-site-screen-link-color__control",colors:o,disableCustomColors:!l,__experimentalHasMultipleOrigins:!0,showTitle:!1,enableAlpha:!0,__experimentalIsRenderedInSidebar:!0,colorValue:u,onColorChange:d,clearable:u===b})):null};var Yn=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t,c=an(t),r=pn(t);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Tn,{back:n||"/",title:Object(m.__)("Layout")}),r&&Object(a.createElement)(fn,{name:t}),c&&Object(a.createElement)(mn,{name:t}))};function Xn(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:n+"/typography"},Object(a.createElement)(Rn,{name:t})),Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:n+"/typography/text"},Object(a.createElement)(Ln,{name:t,element:"text"})),Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:n+"/typography/link"},Object(a.createElement)(Ln,{name:t,element:"link"})),Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:n+"/colors"},Object(a.createElement)(zn,{name:t})),Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:n+"/colors/palette"},Object(a.createElement)(Wn,{name:t})),Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:n+"/colors/background"},Object(a.createElement)(qn,{name:t})),Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:n+"/colors/text"},Object(a.createElement)($n,{name:t})),Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:n+"/colors/link"},Object(a.createElement)(Kn,{name:t})),Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:n+"/layout"},Object(a.createElement)(Yn,{name:t})))}var Qn=function(){const e=Object(l.getBlockTypes)();return Object(a.createElement)(_e.__experimentalNavigatorProvider,{initialPath:"/"},Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:"/"},Object(a.createElement)(kn,null)),Object(a.createElement)(_e.__experimentalNavigatorScreen,{path:"/blocks"},Object(a.createElement)(In,null)),e.map(e=>Object(a.createElement)(_e.__experimentalNavigatorScreen,{key:"menu-block-"+e.name,path:"/blocks/"+e.name},Object(a.createElement)(Nn,{name:e.name}))),Object(a.createElement)(Xn,null),e.map(e=>Object(a.createElement)(Xn,{key:"screens-block-"+e.name,name:e.name})))};function Zn(e){if(Object($.startsWith)(e,"var:")){return`var(--wp--${e.slice("var:".length).split("|").join("--")})`}return e}const Jn=(e,t)=>{var n,c;const r=[];if(null==e||!e.settings)return r;const a=e=>{const t={};return Gt.forEach(n=>{let{path:c}=n;const r=Object($.get)(e,c,!1);!1!==r&&Object($.set)(t,c,r)}),t},l=a(e.settings),o=null===(n=e.settings)||void 0===n?void 0:n.custom;return Object($.isEmpty)(l)&&!o||r.push({presets:l,custom:o,selector:"body"}),Object($.forEach)(null===(c=e.settings)||void 0===c?void 0:c.blocks,(e,n)=>{const c=a(e),l=e.custom;Object($.isEmpty)(c)&&!l||r.push({presets:c,custom:l,selector:t[n].selector})}),r},ec=(e,t)=>{const n=Jn(e,t);let c="";return n.forEach(e=>{let{presets:t,custom:n,selector:r}=e;const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object($.reduce)(Gt,(t,n)=>{let{path:c,valueKey:r,cssVarInfix:a}=n;const l=Object($.get)(e,c,[]);return["default","theme","custom"].forEach(e=>{l[e]&&l[e].forEach(e=>{t.push(`--wp--preset--${a}--${Object($.kebabCase)(e.slug)}: ${e[r]}`)})}),t},[])}(t),l=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,c=arguments.length>2?arguments[2]:void 0,r=[];return Object.keys(t).forEach(a=>{const l=n+Object($.kebabCase)(a.replace("/","-")),o=t[a];if(o instanceof Object){const t=l+c;r=[...r,...e(o,t,c)]}else r.push(`${l}: ${o}`)}),r}(n,"--wp--custom--","--");l.length>0&&a.push(...l),a.length>0&&(c+=`${r}{${a.join(";")};}`)}),c},tc=(e,t)=>{const n=((e,t)=>{var n,c;const r=[];if(null==e||!e.styles)return r;const a=e=>Object($.pickBy)(e,(e,t)=>["border","color","spacing","typography"].includes(t)),o=a(e.styles);return o&&r.push({styles:o,selector:"body"}),Object($.forEach)(null===(n=e.styles)||void 0===n?void 0:n.elements,(e,t)=>{e&&l.__EXPERIMENTAL_ELEMENTS[t]&&r.push({styles:e,selector:l.__EXPERIMENTAL_ELEMENTS[t]})}),Object($.forEach)(null===(c=e.styles)||void 0===c?void 0:c.blocks,(e,n)=>{var c;const o=a(e);o&&null!=t&&null!==(c=t[n])&&void 0!==c&&c.selector&&r.push({styles:o,selector:t[n].selector}),Object($.forEach)(null==e?void 0:e.elements,(e,c)=>{e&&null!=t&&t[n]&&null!==l.__EXPERIMENTAL_ELEMENTS&&void 0!==l.__EXPERIMENTAL_ELEMENTS&&l.__EXPERIMENTAL_ELEMENTS[c]&&r.push({styles:e,selector:t[n].selector.split(",").map(e=>e+" "+l.__EXPERIMENTAL_ELEMENTS[c]).join(",")})})}),r})(e,t),c=Jn(e,t);let r=".wp-site-blocks > * { margin-top: 0; margin-bottom: 0; }.wp-site-blocks > * + * { margin-top: var( --wp--style--block-gap ); }";return n.forEach(e=>{let{selector:t,styles:n}=e;const c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object($.reduce)(l.__EXPERIMENTAL_STYLE_PROPERTY,(t,n,c)=>{let{value:r,properties:a}=n;const l=r;if("elements"===Object($.first)(l))return t;const o=Object($.get)(e,l);if(a&&!Object($.isString)(o))Object.entries(a).forEach(e=>{const[n,c]=e;if(!Object($.get)(o,[c],!1))return;const r=Object($.kebabCase)(n);t.push(`${r}: ${Zn(Object($.get)(o,[c]))}`)});else if(Object($.get)(e,l,!1)){const n=c.startsWith("--")?c:Object($.kebabCase)(c);t.push(`${n}: ${Zn(Object($.get)(e,l))}`)}return t},[])}(n);0!==c.length&&(r+=`${t}{${c.join(";")};}`)}),c.forEach(e=>{let{selector:t,presets:n}=e;"body"===t&&(t="");const c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object($.reduce)(Gt,(n,c)=>{let{path:r,cssVarInfix:a,classes:l}=c;if(!l)return n;const o=Object($.get)(t,r,[]);return["default","theme","custom"].forEach(t=>{o[t]&&o[t].forEach(t=>{let{slug:c}=t;l.forEach(t=>{let{classSuffix:r,propertyName:l}=t;const o=`.has-${Object($.kebabCase)(c)}-${r}`,i=e.split(",").map(e=>`${e}${o}`).join(","),s=`var(--wp--preset--${a}--${Object($.kebabCase)(c)})`;n+=`${i}{${l}: ${s} !important;}`})})}),n},"")}(t,n);Object($.isEmpty)(c)||(r+=c)}),r};function nc(){const[e,t]=(()=>{const{user:e,setUserConfig:t}=Object(a.useContext)(qt);return[!!e&&!Object($.isEqual)(e,$t),Object(a.useCallback)(()=>t(()=>$t),[t])]})(),{toggleFeature:n}=Object(i.useDispatch)(Oe);return Object(a.createElement)(Lt,{className:"edit-site-global-styles-sidebar",identifier:"edit-site/global-styles",title:Object(m.__)("Styles"),icon:Bt,closeLabel:Object(m.__)("Close global styles sidebar"),header:Object(a.createElement)(_e.Flex,null,Object(a.createElement)(_e.FlexBlock,null,Object(a.createElement)("strong",null,Object(m.__)("Styles")),Object(a.createElement)("span",{className:"edit-site-global-styles-sidebar__beta"},Object(m.__)("Beta"))),Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.DropdownMenu,{icon:Ue.a,label:Object(m.__)("More Global Styles Actions"),toggleProps:{disabled:!e},controls:[{title:Object(m.__)("Reset to defaults"),onClick:t},{title:Object(m.__)("Welcome Guide"),onClick:()=>n("welcomeGuideStyles")}]})))},Object(a.createElement)(Qn,null))}const cc="edit-site/template",rc="edit-site/block-inspector";var ac=e=>{let{sidebarName:t}=e;const{enableComplementaryArea:n}=Object(i.useDispatch)(T.i),[c,r]=t===cc?[Object(m.__)("Template (selected)"),"is-active"]:[Object(m.__)("Template"),""],[l,o]=t===rc?[Object(m.__)("Block (selected)"),"is-active"]:[Object(m.__)("Block"),""];return Object(a.createElement)("ul",null,Object(a.createElement)("li",null,Object(a.createElement)(_e.Button,{onClick:()=>n(g,cc),className:"edit-site-sidebar__panel-tab "+r,"aria-label":c,"data-label":Object(m.__)("Template")},Object(m.__)("Template"))),Object(a.createElement)("li",null,Object(a.createElement)(_e.Button,{onClick:()=>n(g,rc),className:"edit-site-sidebar__panel-tab "+o,"aria-label":l,"data-label":Object(m.__)("Block")},Object(m.__)("Block"))))};function lc(e){let{area:t,clientId:n}=e;const{selectBlock:c,toggleBlockHighlight:r}=Object(i.useDispatch)(Le.store),l=Object(i.useSelect)(e=>e(u.store).__experimentalGetDefaultTemplatePartAreas().find(e=>e.area===t),[t]),o=()=>r(n,!0),s=()=>r(n,!1);return Object(a.createElement)(_e.Button,{className:"edit-site-template-card__template-areas-item",icon:null==l?void 0:l.icon,onMouseOver:o,onMouseLeave:s,onFocus:o,onBlur:s,onClick:()=>{c(n)}},null==l?void 0:l.label)}function oc(){const e=Object(i.useSelect)(e=>e(Oe).getCurrentTemplateTemplateParts(),[]);return e.length?Object(a.createElement)("section",{className:"edit-site-template-card__template-areas"},Object(a.createElement)(_e.__experimentalHeading,{level:3,className:"edit-site-template-card__template-areas-title"},Object(m.__)("Areas")),Object(a.createElement)("ul",{className:"edit-site-template-card__template-areas-list"},e.map(e=>{let{templatePart:t,block:n}=e;return Object(a.createElement)("li",{key:t.slug},Object(a.createElement)(lc,{area:t.area,clientId:n.clientId}))}))):null}function ic(){const{title:e,description:t,icon:n}=Object(i.useSelect)(e=>{const{getEditedPostType:t,getEditedPostId:n}=e(Oe),{getEntityRecord:c}=e(s.store),{__experimentalGetTemplateInfo:r}=e(u.store),a=c("postType",t(),n());return a?r(a):{}},[]);return e||t?Object(a.createElement)("div",{className:"edit-site-template-card"},Object(a.createElement)(_e.Icon,{className:"edit-site-template-card__icon",icon:n}),Object(a.createElement)("div",{className:"edit-site-template-card__content"},Object(a.createElement)("h2",{className:"edit-site-template-card__title"},e),Object(a.createElement)("div",{className:"edit-site-template-card__description"},t),Object(a.createElement)(oc,null))):null}const{Slot:sc,Fill:uc}=Object(_e.createSlotFill)("EditSiteSidebarInspector"),mc=uc;function dc(){const{sidebar:e,isEditorSidebarOpened:t,hasBlockSelection:n}=Object(i.useSelect)(e=>{const t=e(T.i).getActiveComplementaryArea(g);return{sidebar:t,isEditorSidebarOpened:[rc,cc].includes(t),hasBlockSelection:!!e(Le.store).getBlockSelectionStart()}},[]),{enableComplementaryArea:c}=Object(i.useDispatch)(T.i);Object(a.useEffect)(()=>{t&&c(g,n?rc:cc)},[n,t]);let r=e;return t||(r=n?rc:cc),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Lt,{identifier:r,title:Object(m.__)("Settings"),icon:At.a,closeLabel:Object(m.__)("Close settings sidebar"),header:Object(a.createElement)(ac,{sidebarName:r}),headerClassName:"edit-site-sidebar__panel-tabs"},r===cc&&Object(a.createElement)(_e.PanelBody,null,Object(a.createElement)(ic,null)),r===rc&&Object(a.createElement)(sc,{bubblesVirtually:!0})),Object(a.createElement)(nc,null))}var bc=n("rmEH");var pc=Object(a.createElement)(mt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(mt.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})),Oc=n("OE6V");const jc="__experimentalMainDashboardButton",{Fill:_c,Slot:gc}=Object(_e.createSlotFill)(jc),hc=_c;hc.Slot=e=>{let{children:t}=e;const n=Object(_e.__experimentalUseSlot)(jc);return Boolean(n.fills&&n.fills.length)?Object(a.createElement)(gc,{bubblesVirtually:!0}):t};var fc=hc;const Ec="site-editor";function vc(e){let{params:t,replace:n,...c}=e;const r=xt(t,n);return Object(a.createElement)(_e.__experimentalNavigationItem,Object(ge.a)({},r,c))}var yc=e=>{let{activeItem:t=Ec}=e;const{isNavigationOpen:n,siteTitle:c}=Object(i.useSelect)(e=>{const{getEntityRecord:t}=e(s.store);return{siteTitle:(t("root","__unstableBase",void 0)||{}).name,isNavigationOpen:e(Oe).isNavigationOpened()}},[]),{setIsNavigationPanelOpened:r}=Object(i.useDispatch)(Oe);return Object(a.createElement)("div",{className:qe()("edit-site-navigation-panel",{"is-open":n}),onKeyDown:e=>{e.keyCode!==ze.ESCAPE||e.defaultPrevented||(e.preventDefault(),r(!1))}},Object(a.createElement)("div",{className:"edit-site-navigation-panel__inner"},Object(a.createElement)("div",{className:"edit-site-navigation-panel__site-title-container"},Object(a.createElement)("div",{className:"edit-site-navigation-panel__site-title"},Object(bc.decodeEntities)(c))),Object(a.createElement)("div",{className:"edit-site-navigation-panel__scroll-container"},Object(a.createElement)(_e.__experimentalNavigation,{activeItem:t},Object(a.createElement)(fc.Slot,null,Object(a.createElement)(_e.__experimentalNavigationBackButton,{backButtonLabel:Object(m.__)("Dashboard"),className:"edit-site-navigation-panel__back-to-dashboard",href:"index.php"})),Object(a.createElement)(_e.__experimentalNavigationMenu,null,Object(a.createElement)(_e.__experimentalNavigationGroup,{title:Object(m.__)("Editor")},Object(a.createElement)(vc,{icon:pc,title:Object(m.__)("Site"),item:Ec,params:{postId:void 0,postType:void 0}}),Object(a.createElement)(vc,{icon:cn.a,title:Object(m.__)("Templates"),item:"wp_template",params:{postId:void 0,postType:"wp_template"}}),Object(a.createElement)(vc,{icon:Oc.a,title:Object(m.__)("Template Parts"),item:"wp_template_part",params:{postId:void 0,postType:"wp_template_part"}})))))))},wc=n("wduq");var Sc=function(e){let{icon:t}=e;const{isNavigationOpen:n,isRequestingSiteIcon:c,siteIconUrl:r}=Object(i.useSelect)(e=>{const{getEntityRecord:t,isResolving:n}=e(s.store),c=t("root","__unstableBase",void 0)||{};return{isNavigationOpen:e(Oe).isNavigationOpened(),isRequestingSiteIcon:n("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:c.site_icon_url}},[]),{setIsNavigationPanelOpened:l}=Object(i.useDispatch)(Oe),o=Object(Fe.useReducedMotion)(),u=Object(a.useRef)();Object(a.useEffect)(()=>{n||u.current.focus()},[n]);let d=Object(a.createElement)(_e.Icon,{size:"36px",icon:wc.a});const b={expand:{scale:1.7,borderRadius:0,transition:{type:"tween",duration:"0.2"}}};return r?d=Object(a.createElement)(_e.__unstableMotion.img,{variants:!o&&b,alt:Object(m.__)("Site Icon"),className:"edit-site-navigation-toggle__site-icon",src:r}):c?d=null:t&&(d=Object(a.createElement)(_e.Icon,{size:"36px",icon:t})),Object(a.createElement)(_e.__unstableMotion.div,{className:"edit-site-navigation-toggle"+(n?" is-open":""),whileHover:"expand"},Object(a.createElement)(_e.Button,{className:"edit-site-navigation-toggle__button has-icon",label:Object(m.__)("Toggle navigation"),ref:u,"aria-pressed":n,onClick:()=>l(!n),showTooltip:!0},d))};const{Fill:xc,Slot:kc}=Object(_e.createSlotFill)("EditSiteNavigationPanelPreview"),{Fill:Tc,Slot:Cc}=Object(_e.createSlotFill)("EditSiteNavigationSidebar");function Ic(e){let{isDefaultOpen:t=!1,activeTemplateType:n}=e;const c=Object(Fe.useViewportMatch)("medium"),{setIsNavigationPanelOpened:r}=Object(i.useDispatch)(Oe);return Object(a.useEffect)((function(){r(t&&c)}),[t,c,r]),Object(a.createElement)(Tc,null,Object(a.createElement)(Sc,null),Object(a.createElement)(yc,{activeItem:n}),Object(a.createElement)(kc,null))}Ic.Slot=Cc;var Nc=Ic,Pc=n("diJD");function Mc(e){let{clientId:t}=e;const{getBlocks:n}=Object(i.useSelect)(Le.store),{replaceBlocks:c}=Object(i.useDispatch)(Le.store);return Object(a.createElement)(Le.BlockSettingsMenuControls,null,e=>{let{onClose:r}=e;return Object(a.createElement)(_e.MenuItem,{onClick:()=>{c(t,n(t)),r()}},Object(m.__)("Detach blocks from template part"))})}function Rc(e){let{closeModal:t,onCreate:n}=e;const[c,r]=Object(a.useState)(""),[l,o]=Object(a.useState)("uncategorized"),[s,d]=Object(a.useState)(!1),b=Object(Fe.useInstanceId)(Rc),p=Object(i.useSelect)(e=>e(u.store).__experimentalGetDefaultTemplatePartAreas(),[]);return Object(a.createElement)(_e.Modal,{title:Object(m.__)("Create a template part"),closeLabel:Object(m.__)("Close"),onRequestClose:t,overlayClassName:"edit-site-create-template-part-modal"},Object(a.createElement)("form",{onSubmit:async e=>{e.preventDefault(),c&&(d(!0),await n({title:c,area:l}))}},Object(a.createElement)(_e.TextControl,{label:Object(m.__)("Name"),value:c,onChange:r,required:!0}),Object(a.createElement)(_e.BaseControl,{label:Object(m.__)("Area"),id:"edit-site-create-template-part-modal__area-selection-"+b,className:"edit-site-create-template-part-modal__area-base-control"},Object(a.createElement)(_e.__experimentalRadioGroup,{label:Object(m.__)("Area"),className:"edit-site-create-template-part-modal__area-radio-group",id:"edit-site-create-template-part-modal__area-selection-"+b,onChange:o,checked:l},p.map(e=>{let{icon:t,label:n,area:c,description:r}=e;return Object(a.createElement)(_e.__experimentalRadio,{key:n,value:c,className:"edit-site-create-template-part-modal__area-radio"},Object(a.createElement)(_e.Flex,{align:"start",justify:"start"},Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.Icon,{icon:t})),Object(a.createElement)(_e.FlexBlock,{className:"edit-site-create-template-part-modal__option-label"},n,Object(a.createElement)("div",null,r)),Object(a.createElement)(_e.FlexItem,{className:"edit-site-create-template-part-modal__checkbox"},l===c&&Object(a.createElement)(_e.Icon,{icon:tt.a}))))}))),Object(a.createElement)(_e.Flex,{className:"edit-site-create-template-part-modal__modal-actions",justify:"flex-end"},Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.Button,{variant:"secondary",onClick:()=>{t()}},Object(m.__)("Cancel"))),Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.Button,{variant:"primary",type:"submit",disabled:!c,isBusy:s},Object(m.__)("Create"))))))}function Ac(e){let{clientIds:t,blocks:n}=e;const[c,r]=Object(a.useState)(!1),{replaceBlocks:o}=Object(i.useDispatch)(Le.store),{saveEntityRecord:u}=Object(i.useDispatch)(s.store),{createSuccessNotice:d}=Object(i.useDispatch)(k.store);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Le.BlockSettingsMenuControls,null,()=>Object(a.createElement)(_e.MenuItem,{onClick:()=>{r(!0)}},Object(m.__)("Make template part"))),c&&Object(a.createElement)(Rc,{closeModal:()=>{r(!1)},onCreate:async e=>{let{title:c,area:r}=e;const a=Object($.kebabCase)(c).replace(/[^\w-]+/g,"")||"wp-custom-part",i=await u("postType","wp_template_part",{slug:a,title:c,content:Object(l.serialize)(n),area:r});o(t,Object(l.createBlock)("core/template-part",{slug:i.slug,theme:i.theme})),d(Object(m.__)("Template part created."),{type:"snackbar"})}}))}function Lc(){var e;const{clientIds:t,blocks:n}=Object(i.useSelect)(e=>{const{getSelectedBlockClientIds:t,getBlocksByClientId:n}=e(Le.store),c=t();return{clientIds:c,blocks:n(c)}},[]);return 1===n.length&&"core/template-part"===(null===(e=n[0])||void 0===e?void 0:e.name)?Object(a.createElement)(Mc,{clientId:t[0]}):Object(a.createElement)(Ac,{clientIds:t,blocks:n})}var Bc=n("B9Az");function Dc(e){let{type:t,id:n,activePage:c,onActivePageChange:r}=e;const l=Object(i.useSelect)(e=>t&&n&&"URL"!==t&&e(s.store).getEntityRecord("postType",t,n),[t,n]),o=Object(a.useMemo)(()=>{if(null==l||!l.link)return null;const e=Object(b.getPathAndQueryString)(l.link);return e===(null==c?void 0:c.path)?null:()=>r({type:t,slug:l.slug,path:e,context:{postType:l.type,postId:l.id}})},[l,null==c?void 0:c.path,r]);return o&&Object(a.createElement)(_e.Button,{icon:Bc.a,label:Object(m.__)("Edit Page Template"),onClick:o})}function Fc(e){let{onClick:t=(()=>{})}=e;const{shortcut:n,isBlockInspectorOpen:c}=Object(i.useSelect)(e=>({shortcut:e(De.store).getShortcutRepresentation("core/edit-site/toggle-block-settings-sidebar"),isBlockInspectorOpen:e(T.i).getActiveComplementaryArea(Oe.name)===rc}),[]),{enableComplementaryArea:r,disableComplementaryArea:l}=Object(i.useDispatch)(T.i),o=c?Object(m.__)("Hide more settings"):Object(m.__)("Show more settings");return Object(a.createElement)(_e.MenuItem,{onClick:()=>{c?(l(g),Object(nt.speak)(Object(m.__)("Block settings closed"))):(r(g,rc),Object(nt.speak)(Object(m.__)("Additional settings are now available in the Editor block settings sidebar"))),t()},shortcut:n},o)}function Vc(){return Object(a.createElement)(Le.BlockSettingsMenuControls,null,e=>{let{selectedClientIds:t,onClose:n}=e;return Object(a.createElement)(Gc,{selectedClientId:t[0],onClose:n})})}function Gc(e){let{selectedClientId:t,onClose:n}=e;const{params:c}=Pe(),r=Object(i.useSelect)(e=>{const n=e(Le.store).getBlock(t);if(n&&Object(l.isTemplatePart)(n)){const{theme:t,slug:c}=n.attributes;return e(s.store).getEntityRecord("postType","wp_template_part",`${t}//${c}`)}},[t]),o=xt({postId:null==r?void 0:r.id,postType:null==r?void 0:r.type},{fromTemplateId:c.postId});return r?Object(a.createElement)(_e.MenuItem,Object(ge.a)({},o,{onClick:e=>{o.onClick(e),n()}}),Object(m.sprintf)(Object(m.__)("Edit %s"),r.slug)):null}var zc=n("cjQ8");var Uc=function(){var e;const t=Pe(),n=Me(),c="wp_template_part"===t.params.postType,r=null===(e=t.state)||void 0===e?void 0:e.fromTemplateId;return c&&r?Object(a.createElement)(_e.Button,{className:"edit-site-visual-editor__back-button",icon:zc.a,onClick:()=>{n.back()}},Object(m.__)("Back")):null};function Hc(e){let{direction:t,resizeWidthBy:n}=e;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("button",{className:"resizable-editor__drag-handle is-"+t,"aria-label":Object(m.__)("Drag to resize"),"aria-describedby":"resizable-editor__resize-help-"+t,onKeyDown:function(e){const{keyCode:c}=e;"left"===t&&c===ze.LEFT||"right"===t&&c===ze.RIGHT?n(20):("left"===t&&c===ze.RIGHT||"right"===t&&c===ze.LEFT)&&n(-20)}}),Object(a.createElement)(_e.VisuallyHidden,{id:"resizable-editor__resize-help-"+t},Object(m.__)("Use left and right arrow keys to resize the canvas.")))}const Wc="100%",qc="100%",$c={position:void 0,userSelect:void 0,cursor:void 0,width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0};var Kc=function(e){let{enableResizing:t,settings:n,...c}=e;const r=Object(i.useSelect)(e=>e(Oe).__experimentalGetPreviewDeviceType(),[]),l=Object(Le.__experimentalUseResizeCanvas)(r),[o,s]=Object(a.useState)(Wc),[u,m]=Object(a.useState)(qc),d=Object(a.useRef)(),b=Object(Le.__unstableUseMouseMoveTypingReset)(),p=Object(Fe.useMergeRefs)([d,b]);Object(a.useEffect)((function(){const e=d.current;if(!e||!t)return;let n,c=null;function r(){c||(c=e.contentWindow.requestAnimationFrame(()=>{m(e.contentDocument.documentElement.scrollHeight),c=null}))}function a(){var t;null===(t=n)||void 0===t||t.disconnect(),n=new e.contentWindow.ResizeObserver(r),n.observe(e.contentDocument.documentElement),r()}return e.addEventListener("load",a),a(),()=>{var t,r;null===(t=e.contentWindow)||void 0===t||t.cancelAnimationFrame(c),null===(r=n)||void 0===r||r.disconnect(),e.removeEventListener("load",a)}}),[t]);const O=Object(a.useCallback)(e=>{d.current&&s(d.current.offsetWidth+e)},[]);return Object(a.createElement)(_e.ResizableBox,{size:{width:o,height:u},onResizeStop:(e,t,n)=>{s(n.style.width)},minWidth:300,maxWidth:"100%",maxHeight:"100%",enable:{right:t,left:t},showHandle:t,resizeRatio:2,handleComponent:{left:Object(a.createElement)(Hc,{direction:"left",resizeWidthBy:O}),right:Object(a.createElement)(Hc,{direction:"right",resizeWidthBy:O})},handleClasses:void 0,handleStyles:{left:$c,right:$c}},Object(a.createElement)(Le.__unstableIframe,Object(ge.a)({style:t?void 0:l,head:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Le.__unstableEditorStyles,{styles:n.styles}),Object(a.createElement)("style",null,".is-root-container { display: flow-root; }"),t&&Object(a.createElement)("style",null,"html, body { height: -moz-fit-content !important; height: fit-content !important; min-height: 0 !important; }",".is-root-container { min-height: 0 !important; }")),ref:p,name:"editor-canvas",className:"edit-site-visual-editor__editor-canvas"},c)))};const Yc={type:"default",alignments:[]};function Xc(e){let{setIsInserterOpen:t}=e;const{settings:n,templateType:c,templateId:r,page:l}=Object(i.useSelect)(e=>{const{getSettings:n,getEditedPostType:c,getEditedPostId:r,getPage:a}=e(Oe);return{settings:n(t),templateType:c(),templateId:r(),page:a()}},[t]),[o,u,m]=Object(s.useEntityBlockEditor)("postType",c),{setPage:d}=Object(i.useDispatch)(Oe),b=Object(a.useRef)(),p=Object(Fe.useMergeRefs)([b,Object(Le.__unstableUseTypingObserver)()]),O=Object(Fe.useViewportMatch)("small","<"),{clearSelectedBlock:j}=Object(i.useDispatch)(Le.store),_="wp_template_part"===c;return Object(a.createElement)(Le.BlockEditorProvider,{settings:n,value:o,onInput:u,onChange:m,useSubRegistry:!1},Object(a.createElement)(Vc,null),Object(a.createElement)(Lc,null),Object(a.createElement)(Le.__experimentalLinkControl.ViewerFill,null,Object(a.useCallback)(e=>Object(a.createElement)(Dc,Object(ge.a)({},e,{activePage:l,onActivePageChange:d})),[l])),Object(a.createElement)(mc,null,Object(a.createElement)(Le.BlockInspector,null)),Object(a.createElement)(Le.BlockTools,{className:qe()("edit-site-visual-editor",{"is-focus-mode":_}),__unstableContentRef:b,onClick:e=>{e.target===e.currentTarget&&j()}},Object(a.createElement)(Le.BlockEditorKeyboardShortcuts.Register,null),Object(a.createElement)(Uc,null),Object(a.createElement)(Kc,{key:r,enableResizing:_&&!O,settings:n,contentRef:p},Object(a.createElement)(Le.BlockList,{className:"edit-site-block-editor__block-list wp-site-blocks",__experimentalLayout:Yc,renderAppender:!_&&void 0})),Object(a.createElement)(Le.__unstableBlockSettingsMenuFirstItem,null,e=>{let{onClose:t}=e;return Object(a.createElement)(Fc,{onClick:t})})),Object(a.createElement)(Pc.ReusableBlocksMenuItems,null))}function Qc(e){let{openEntitiesSavedStates:t}=e;const{__experimentalGetDirtyEntityRecords:n,isSavingEntityRecord:c}=Object(i.useSelect)(s.store),r=Object(i.useSelect)(e=>e(Oe).isListViewOpened(),[]),a=Object(i.useSelect)(e=>e(T.i).getActiveComplementaryArea(Oe.name)===rc,[]),{redo:l,undo:o}=Object(i.useDispatch)(s.store),{setIsListViewOpened:u}=Object(i.useDispatch)(Oe),{enableComplementaryArea:m,disableComplementaryArea:d}=Object(i.useDispatch)(T.i);return Object(De.useShortcut)("core/edit-site/save",e=>{e.preventDefault();const r=n(),a=!!r.length;!r.some(e=>c(e.kind,e.name,e.key))&&a&&t()}),Object(De.useShortcut)("core/edit-site/undo",e=>{o(),e.preventDefault()}),Object(De.useShortcut)("core/edit-site/redo",e=>{l(),e.preventDefault()}),Object(De.useShortcut)("core/edit-site/toggle-list-view",()=>{u(!r)}),Object(De.useShortcut)("core/edit-site/toggle-block-settings-sidebar",e=>{e.preventDefault(),a?d(g):m(g,rc)}),null}Qc.Register=function(){const{registerShortcut:e}=Object(i.useDispatch)(De.store);return Object(a.useEffect)(()=>{e({name:"core/edit-site/save",category:"global",description:Object(m.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/edit-site/undo",category:"global",description:Object(m.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-site/redo",category:"global",description:Object(m.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/edit-site/toggle-list-view",category:"global",description:Object(m.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),e({name:"core/edit-site/toggle-block-settings-sidebar",category:"global",description:Object(m.__)("Show or hide the block settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}}),e({name:"core/edit-site/keyboard-shortcuts",category:"main",description:Object(m.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}}),e({name:"core/edit-site/next-region",category:"global",description:Object(m.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),e({name:"core/edit-site/previous-region",category:"global",description:Object(m.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]})},[e]),null};var Zc=Qc;function Jc(){const{setTemplate:e,setTemplatePart:t,setPage:n}=Object(i.useDispatch)(Oe),{params:{postId:c,postType:r}}=Pe();return Object(a.useEffect)(()=>{"page"===r||"post"===r?n({context:{postType:r,postId:c}}):"wp_template"===r?e(c):"wp_template_part"===r&&t(c)},[c,r]),null}var er=n("w95h");function tr(){const{setIsInserterOpened:e}=Object(i.useDispatch)(Oe),t=Object(i.useSelect)(e=>e(Oe).__experimentalGetInsertionPoint(),[]),n=Object(Fe.useViewportMatch)("medium","<"),[c,r]=Object(Fe.__experimentalUseDialog)({onClose:()=>e(!1)});return Object(a.createElement)("div",Object(ge.a)({ref:c},r,{className:"edit-site-editor__inserter-panel"}),Object(a.createElement)("div",{className:"edit-site-editor__inserter-panel-header"},Object(a.createElement)(_e.Button,{icon:er.a,onClick:()=>e(!1)})),Object(a.createElement)("div",{className:"edit-site-editor__inserter-panel-content"},Object(a.createElement)(Le.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:n,rootClientId:t.rootClientId,__experimentalInsertionIndex:t.insertionIndex,__experimentalFilterValue:t.filterValue})))}var nr=n("bWcr");function cr(){const{setIsListViewOpened:e}=Object(i.useDispatch)(Oe),{clearSelectedBlock:t,selectBlock:n}=Object(i.useDispatch)(Le.store);const c=Object(Fe.useFocusOnMount)("firstElement"),r=Object(Fe.useFocusReturn)();const l="edit-site-editor__list-view-panel-label-"+Object(Fe.useInstanceId)(cr);return Object(a.createElement)("div",{"aria-labelledby":l,className:"edit-site-editor__list-view-panel",onKeyDown:function(t){t.keyCode!==ze.ESCAPE||t.defaultPrevented||e(!1)}},Object(a.createElement)("div",{className:"edit-site-editor__list-view-panel-header"},Object(a.createElement)("strong",{id:l},Object(m.__)("List view")),Object(a.createElement)(_e.Button,{icon:nr.a,label:Object(m.__)("Close list view sidebar"),onClick:()=>e(!1)})),Object(a.createElement)("div",{className:"edit-site-editor__list-view-panel-content",ref:Object(Fe.useMergeRefs)([r,c])},Object(a.createElement)(Le.__experimentalListView,{onSelect:async function(e){await t(),n(e,-1)},showNestedBlocks:!0,__experimentalFeatures:!0,__experimentalPersistentListViewFeatures:!0})))}function rr(e){let{text:t,children:n}=e;const c=Object(Fe.useCopyToClipboard)(t);return Object(a.createElement)(_e.Button,{variant:"secondary",ref:c},n)}function ar(e){let{message:t,error:n,reboot:c,dashboardLink:r}=e;const l=[];return c&&l.push(Object(a.createElement)(_e.Button,{key:"recovery",onClick:c,variant:"secondary"},Object(m.__)("Attempt Recovery"))),n&&l.push(Object(a.createElement)(rr,{key:"copy-error",text:n.stack},Object(m.__)("Copy Error"))),r&&l.push(Object(a.createElement)(_e.Button,{key:"back-to-dashboard",variant:"secondary",href:r},Object(m.__)("Back to dashboard"))),Object(a.createElement)(Le.Warning,{className:"editor-error-boundary",actions:l},t)}class lr extends a.Component{constructor(){super(...arguments),this.reboot=this.reboot.bind(this),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}reboot(){this.props.onError()}render(){const{error:e}=this.state;return e?Object(a.createElement)(ar,{message:Object(m.__)("The editor has encountered an unexpected error."),error:e,reboot:this.reboot}):this.props.children}}function or(e){let{nonAnimatedSrc:t,animatedSrc:n}=e;return Object(a.createElement)("picture",{className:"edit-site-welcome-guide__image"},Object(a.createElement)("source",{srcSet:t,media:"(prefers-reduced-motion: reduce)"}),Object(a.createElement)("img",{src:n,width:"312",height:"240",alt:""}))}function ir(){const{toggleFeature:e}=Object(i.useDispatch)(Oe);return Object(i.useSelect)(e=>e(Oe).isFeatureActive("welcomeGuide"),[])?Object(a.createElement)(_e.Guide,{className:"edit-site-welcome-guide",contentLabel:Object(m.__)("Welcome to the site editor"),finishButtonText:Object(m.__)("Get Started"),onFinish:()=>e("welcomeGuide"),pages:[{image:Object(a.createElement)(or,{nonAnimatedSrc:"https://s.w.org/images/block-editor/edit-your-site.svg?1",animatedSrc:"https://s.w.org/images/block-editor/edit-your-site.gif?1"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-site-welcome-guide__heading"},Object(m.__)("Edit your site")),Object(a.createElement)("p",{className:"edit-site-welcome-guide__text"},Object(m.__)("Design everything on your site — from the header right down to the footer — using blocks.")),Object(a.createElement)("p",{className:"edit-site-welcome-guide__text"},Object(a.createInterpolateElement)(Object(m.__)("Click <StylesIconImage /> to start designing your blocks, and choose your typography, layout, and colors."),{StylesIconImage:Object(a.createElement)("img",{alt:Object(m.__)("styles"),src:"data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' fill='%231E1E1E'/%3E%3C/svg%3E%0A"})})))}]}):null}function sr(){const{toggleFeature:e}=Object(i.useDispatch)(Oe),{isActive:t,isStylesOpen:n}=Object(i.useSelect)(e=>{const t=e(T.i).getActiveComplementaryArea(Oe.name);return{isActive:e(Oe).isFeatureActive("welcomeGuideStyles"),isStylesOpen:"edit-site/global-styles"===t}},[]);return t&&n?Object(a.createElement)(_e.Guide,{className:"edit-site-welcome-guide",contentLabel:Object(m.__)("Welcome to styles"),finishButtonText:Object(m.__)("Get Started"),onFinish:()=>e("welcomeGuideStyles"),pages:[{image:Object(a.createElement)(or,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-to-styles.svg?1",animatedSrc:"https://s.w.org/images/block-editor/welcome-to-styles.gif?1"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-site-welcome-guide__heading"},Object(m.__)("Welcome to Styles")),Object(a.createElement)("p",{className:"edit-site-welcome-guide__text"},Object(m.__)("Tweak your site, or give it a whole new look! Get creative — how about a new color palette for your buttons, or choosing a new font? Take a look at what you can do here.")))},{image:Object(a.createElement)(or,{nonAnimatedSrc:"https://s.w.org/images/block-editor/set-the-design.svg?1",animatedSrc:"https://s.w.org/images/block-editor/set-the-design.gif?1"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-site-welcome-guide__heading"},Object(m.__)("Set the design")),Object(a.createElement)("p",{className:"edit-site-welcome-guide__text"},Object(m.__)("You can customize your site as much as you like with different colors, typography, and layouts. Or if you prefer, just leave it up to your theme to handle! ")))},{image:Object(a.createElement)(or,{nonAnimatedSrc:"https://s.w.org/images/block-editor/personalize-blocks.svg?1",animatedSrc:"https://s.w.org/images/block-editor/personalize-blocks.gif?1"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-site-welcome-guide__heading"},Object(m.__)("Personalize blocks")),Object(a.createElement)("p",{className:"edit-site-welcome-guide__text"},Object(m.__)("You can adjust your blocks to ensure a cohesive experience across your site — add your unique colors to a branded Button block, or adjust the Heading block to your preferred size.")))},{image:Object(a.createElement)(or,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("h1",{className:"edit-site-welcome-guide__heading"},Object(m.__)("Learn more")),Object(a.createElement)("p",{className:"edit-site-welcome-guide__text"},Object(m.__)("New to block themes and styling your site? "),Object(a.createElement)(_e.ExternalLink,{href:Object(m.__)("https://wordpress.org/support/article/styles-overview/")},Object(m.__)("Here’s a detailed guide to learn how to make the most of it."))))}]}):null}function ur(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(ir,null),Object(a.createElement)(sr,null))}function mr(){const[e,t]=function(){const[e,t]=Object(a.useState)([]),[n,c]=Object(a.useState)({}),{merged:r}=Object(a.useContext)(qt);return Object(a.useEffect)(()=>{if(null==r||!r.styles||null==r||!r.settings)return;const e=(e=>{const t={};return e.forEach(e=>{var n,c;const r=e.name,a=null!==(n=null==e||null===(c=e.supports)||void 0===c?void 0:c.__experimentalSelector)&&void 0!==n?n:".wp-block-"+r.replace("core/","").replace("/","-");t[r]={name:r,selector:a}}),t})(Object(l.getBlockTypes)()),n=ec(r,e),a=tc(r,e);t([{css:n,isGlobalStyles:!0},{css:a,isGlobalStyles:!0}]),c(r.settings)},[r]),[e,n]}(),{getSettings:n}=Object(i.useSelect)(Oe),{updateSettings:c}=Object(i.useDispatch)(Oe);Object(a.useEffect)(()=>{var r;if(!e||!t)return;const a=n(),l=null==a||null===(r=a.styles)||void 0===r?void 0:r.filter(e=>!e.isGlobalStyles);c({...a,styles:[...l,...e],__experimentalFeatures:t})},[e,t])}function dr(){return mr(),null}function br(e,t){if(Array.isArray(t))return t}const pr=e=>{if(!Object($.isObject)(e)||Array.isArray(e))return e;const t=Object($.pickBy)(Object($.mapValues)(e,pr),$.identity);return Object($.isEmpty)(t)?void 0:t};function Or(){const[e,t,n]=function(){const{globalStylesId:e,settings:t,styles:n}=Object(i.useSelect)(e=>{const t=e(s.store).__experimentalGetCurrentGlobalStylesId(),n=t?e(s.store).getEditedEntityRecord("root","globalStyles",t):void 0;return{globalStylesId:t,settings:null==n?void 0:n.settings,styles:null==n?void 0:n.styles}},[]),{getEditedEntityRecord:c}=Object(i.useSelect)(s.store),{editEntityRecord:r}=Object(i.useDispatch)(s.store),l=Object(a.useMemo)(()=>({settings:null!=t?t:{},styles:null!=n?n:{}}),[t,n]),o=Object(a.useCallback)(t=>{var n,a;const l=c("root","globalStyles",e),o=t({styles:null!==(n=null==l?void 0:l.styles)&&void 0!==n?n:{},settings:null!==(a=null==l?void 0:l.settings)&&void 0!==a?a:{}});r("root","globalStyles",e,{styles:pr(o.styles)||{},settings:pr(o.settings)||{}})},[e]);return[!!t||!!n,l,o]}(),[c,r]=function(){const e=Object(i.useSelect)(e=>e(s.store).__experimentalGetCurrentThemeBaseGlobalStyles(),[]);return[!!e,e]}(),l=Object(a.useMemo)(()=>{return r&&t?(e=r,n=t,Object($.mergeWith)({},e,n,br)):{};var e,n},[t,r]);return Object(a.useMemo)(()=>({isReady:e&&c,user:t,base:r,merged:l,setUserConfig:n}),[l,t,r,n,e,c])}function jr(e){let{children:t}=e;const n=Or();return n.isReady?Object(a.createElement)(qt.Provider,{value:n},t):null}function _r(e){const t=Pe(),n=Object(i.useSelect)(e=>{var t;return null===(t=e(s.store).getEntityRecord("root","site"))||void 0===t?void 0:t.title},[]),c=Object(a.useRef)(!0);Object(a.useEffect)(()=>{c.current=!1},[t]),Object(a.useEffect)(()=>{if(!c.current&&e&&n){const t=Object(m.sprintf)(Object(m.__)("%1$s ‹ %2$s — WordPress"),e,n);document.title=t,Object(nt.speak)(Object(m.sprintf)(Object(m.__)("Now displaying: %s"),document.title),"assertive")}},[e,n,t])}const gr={secondarySidebar:Object(m.__)("Block Library"),drawer:Object(m.__)("Navigation Sidebar")};var hr=function(e){let{onError:t}=e;const{isInserterOpen:n,isListViewOpen:c,sidebarIsOpened:r,settings:l,entityId:o,templateType:d,page:b,template:p,templateResolved:O,isNavigationOpen:j,previousShortcut:_,nextShortcut:g}=Object(i.useSelect)(e=>{const{isInserterOpened:t,isListViewOpened:n,getSettings:c,getEditedPostType:r,getEditedPostId:a,getPage:l,isNavigationOpened:o}=e(Oe),{hasFinishedResolution:i,getEntityRecord:u}=e(s.store),m=r(),d=a();return{isInserterOpen:t(),isListViewOpen:n(),sidebarIsOpened:!!e(T.i).getActiveComplementaryArea(Oe.name),settings:c(),templateType:m,page:l(),template:d?u("postType",m,d):null,templateResolved:!!d&&i("getEntityRecord",["postType",m,d]),entityId:d,isNavigationOpen:o(),previousShortcut:e(De.store).getAllShortcutKeyCombinations("core/edit-site/previous-region"),nextShortcut:e(De.store).getAllShortcutKeyCombinations("core/edit-site/next-region")}},[]),{setPage:h,setIsInserterOpened:f}=Object(i.useDispatch)(Oe),{enableComplementaryArea:E}=Object(i.useDispatch)(T.i),[v,y]=Object(a.useState)(!1),w=Object(a.useCallback)(()=>y(!0),[]),S=Object(a.useCallback)(()=>{y(!1)},[]),x=Object(a.useMemo)(()=>({...null==b?void 0:b.context,queryContext:[(null==b?void 0:b.context.queryContext)||{page:1},e=>h({...b,context:{...null==b?void 0:b.context,queryContext:{...null==b?void 0:b.context.queryContext,...e}}})]}),[null==b?void 0:b.context]);Object(a.useEffect)(()=>{j?document.body.classList.add("is-navigation-sidebar-open"):document.body.classList.remove("is-navigation-sidebar-open")},[j]),Object(a.useEffect)((function(){"open"===new URLSearchParams(window.location.search).get("styles")&&E("core/edit-site","edit-site/global-styles")}),[E]);const k=(null==l?void 0:l.siteUrl)&&void 0!==d&&void 0!==o;return _r(k&&Object(m.__)("Editor (beta)")),Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Jc,null),k&&Object(a.createElement)(De.ShortcutProvider,null,Object(a.createElement)(s.EntityProvider,{kind:"root",type:"site"},Object(a.createElement)(s.EntityProvider,{kind:"postType",type:d,id:o},Object(a.createElement)(jr,null,Object(a.createElement)(Le.BlockContextProvider,{value:x},Object(a.createElement)(dr,null),Object(a.createElement)(lr,{onError:t},Object(a.createElement)(Zc.Register,null),Object(a.createElement)(dc,null),Object(a.createElement)(T.e,{labels:gr,secondarySidebar:n?Object(a.createElement)(tr,null):c?Object(a.createElement)(cr,null):null,sidebar:r&&Object(a.createElement)(T.b.Slot,{scope:"core/edit-site"}),drawer:Object(a.createElement)(Nc.Slot,null),header:Object(a.createElement)(Rt,{openEntitiesSavedStates:w}),notices:Object(a.createElement)(u.EditorSnackbars,null),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(u.EditorNotices,null),p&&Object(a.createElement)(Xc,{setIsInserterOpen:f}),O&&!p&&(null==l?void 0:l.siteUrl)&&o&&Object(a.createElement)(_e.Notice,{status:"warning",isDismissible:!1},Object(m.__)("You attempted to edit an item that doesn't exist. Perhaps it was deleted?")),Object(a.createElement)(Zc,{openEntitiesSavedStates:w})),actions:Object(a.createElement)(a.Fragment,null,v?Object(a.createElement)(u.EntitiesSavedStates,{close:S}):Object(a.createElement)("div",{className:"edit-site-editor__toggle-save-panel"},Object(a.createElement)(_e.Button,{variant:"secondary",className:"edit-site-editor__toggle-save-panel-button",onClick:w,"aria-expanded":!1},Object(m.__)("Open save panel")))),footer:Object(a.createElement)(Le.BlockBreadcrumb,null),shortcuts:{previous:_,next:g}}),Object(a.createElement)(ur,null),Object(a.createElement)(_e.Popover.Slot,null),Object(a.createElement)(Be.PluginArea,null))))))))};const fr=["front-page","single-post","page","archive","search","404","index"];function Er(e){let{postType:t}=e;const n=Me(),{templates:c,defaultTemplateTypes:r}=Object(i.useSelect)(e=>({templates:e(s.store).getEntityRecords("postType","wp_template",{per_page:-1}),defaultTemplateTypes:e(u.store).__experimentalGetDefaultTemplateTypes()}),[]),{saveEntityRecord:l}=Object(i.useDispatch)(s.store),{createErrorNotice:o}=Object(i.useDispatch)(k.store),{getLastEntitySaveError:d}=Object(i.useSelect)(s.store);const b=Object($.map)(c,"slug"),p=Object($.filter)(r,e=>Object($.includes)(fr,e.slug)&&!Object($.includes)(b,e.slug));return p.length?Object(a.createElement)(_e.DropdownMenu,{className:"edit-site-new-template-dropdown",icon:null,text:t.labels.add_new,label:t.labels.add_new_item,popoverProps:{noArrow:!1},toggleProps:{variant:"primary"}},()=>Object(a.createElement)(_e.NavigableMenu,{className:"edit-site-new-template-dropdown__popover"},Object(a.createElement)(_e.MenuGroup,{label:t.labels.add_new_item},Object($.map)(p,e=>{let{title:t,description:c,slug:i}=e;return Object(a.createElement)(_e.MenuItem,{info:c,key:i,onClick:()=>{!async function(e){let{slug:t}=e;try{const{title:e,description:c}=Object($.find)(r,{slug:t}),a=await l("postType","wp_template",{excerpt:c,slug:t.toString(),status:"publish",title:e}),o=d("postType","wp_template",a.id);if(o)throw o;n.push({postId:a.id,postType:a.type})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:Object(m.__)("An error occurred while creating the template.");o(t,{type:"snackbar"})}}({slug:i})}},t)})))):null}function vr(e){let{postType:t}=e;const n=Me(),[c,r]=Object(a.useState)(!1),{createErrorNotice:l}=Object(i.useDispatch)(k.store),{saveEntityRecord:o}=Object(i.useDispatch)(s.store),{getLastEntitySaveError:u}=Object(i.useSelect)(s.store);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_e.Button,{variant:"primary",onClick:()=>{r(!0)}},t.labels.add_new),c&&Object(a.createElement)(Rc,{closeModal:()=>r(!1),onCreate:async function(e){let{title:t,area:c}=e;if(t)try{const e=Object($.kebabCase)(t).replace(/[^\w-]+/g,"")||"wp-custom-part",a=await o("postType","wp_template_part",{slug:e,title:t,content:"",area:c}),l=u("postType","wp_template_part",a.id);if(l)throw l;r(!1),n.push({postId:a.id,postType:a.type})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:Object(m.__)("An error occurred while creating the template part.");l(t,{type:"snackbar"}),r(!1)}else l(Object(m.__)("Title is not defined."),{type:"snackbar"})}}))}function yr(e){let{templateType:t="wp_template"}=e;const n=Object(i.useSelect)(e=>e(s.store).getPostType(t),[t]);return n?"wp_template"===t?Object(a.createElement)(Er,{postType:n}):"wp_template_part"===t?Object(a.createElement)(vr,{postType:n}):null:null}function wr(e){var t;let{templateType:n}=e;const c=Object(i.useSelect)(e=>e(s.store).getPostType(n),[n]);return c?Object(a.createElement)("header",{className:"edit-site-list-header"},Object(a.createElement)(_e.__experimentalHeading,{level:1,className:"edit-site-list-header__title"},null===(t=c.labels)||void 0===t?void 0:t.name),Object(a.createElement)("div",{className:"edit-site-list-header__right"},Object(a.createElement)(yr,{templateType:n}))):null}function Sr(e){let{template:t,onClose:n}=e;const[c,r]=Object(a.useState)(()=>t.title.rendered),[l,o]=Object(a.useState)(!1),{getLastEntitySaveError:u}=Object(i.useSelect)(s.store),{editEntityRecord:d,saveEditedEntityRecord:b}=Object(i.useDispatch)(s.store),{createSuccessNotice:p,createErrorNotice:O}=Object(i.useDispatch)(k.store);if(!t.is_custom)return null;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_e.MenuItem,{onClick:()=>{o(!0),r(t.title.rendered)}},Object(m.__)("Rename")),l&&Object(a.createElement)(_e.Modal,{title:Object(m.__)("Rename template"),closeLabel:Object(m.__)("Close"),onRequestClose:()=>{o(!1)},overlayClassName:"edit-site-list__rename-modal"},Object(a.createElement)("form",{onSubmit:async function(e){e.preventDefault();try{await d("postType",t.type,t.id,{title:c}),r(""),o(!1),n(),await b("postType",t.type,t.id);const e=u("postType",t.type,t.id);if(e)throw e;p(Object(m.__)("Template has been renamed."),{type:"snackbar"})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:Object(m.__)("An error occurred while renaming the template.");O(t,{type:"snackbar"})}}},Object(a.createElement)(_e.Flex,{align:"flex-start",gap:8},Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.TextControl,{label:Object(m.__)("Name"),value:c,onChange:r,required:!0}))),Object(a.createElement)(_e.Flex,{className:"edit-site-list__rename-modal-actions",justify:"flex-end",expanded:!1},Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.Button,{variant:"tertiary",onClick:()=>{o(!1)}},Object(m.__)("Cancel"))),Object(a.createElement)(_e.FlexItem,null,Object(a.createElement)(_e.Button,{variant:"primary",type:"submit"},Object(m.__)("Save")))))))}function xr(e){let{template:t}=e;const{removeTemplate:n,revertTemplate:c}=Object(i.useDispatch)(Oe),{saveEditedEntityRecord:r}=Object(i.useDispatch)(s.store),{createSuccessNotice:l,createErrorNotice:o}=Object(i.useDispatch)(k.store),u=function(e){return!!e&&("custom"===e.source&&!e.has_theme_file)}(t),d=C(t);if(!u&&!d)return null;return Object(a.createElement)(_e.DropdownMenu,{icon:Ue.a,label:Object(m.__)("Actions"),className:"edit-site-list-table__actions"},e=>{let{onClose:i}=e;return Object(a.createElement)(_e.MenuGroup,null,u&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Sr,{template:t,onClose:i}),Object(a.createElement)(_e.MenuItem,{isDestructive:!0,onClick:()=>{n(t),i()}},Object(m.__)("Delete template"))),d&&Object(a.createElement)(_e.MenuItem,{info:Object(m.__)("Restore template to default state"),onClick:()=>{!async function(){try{await c(t,{allowUndo:!1}),await r("postType",t.type,t.id),l(Object(m.__)("Template reverted."),{type:"snackbar"})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:Object(m.__)("An error occurred while reverting the template.");o(t,{type:"snackbar"})}}(),i()}},Object(m.__)("Clear customizations")))})}var kr=n("0Ene");var Tr=Object(a.createElement)(mt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(mt.Path,{d:"M7.25 16.4371C6.16445 15.2755 5.5 13.7153 5.5 12C5.5 8.41015 8.41015 5.5 12 5.5C15.5899 5.5 18.5 8.41015 18.5 12C18.5 13.7153 17.8356 15.2755 16.75 16.4371V16C16.75 14.4812 15.5188 13.25 14 13.25L10 13.25C8.48122 13.25 7.25 14.4812 7.25 16V16.4371ZM8.75 17.6304C9.70606 18.1835 10.8161 18.5 12 18.5C13.1839 18.5 14.2939 18.1835 15.25 17.6304V16C15.25 15.3096 14.6904 14.75 14 14.75L10 14.75C9.30964 14.75 8.75 15.3096 8.75 16V17.6304ZM4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM14 10C14 11.1046 13.1046 12 12 12C10.8954 12 10 11.1046 10 10C10 8.89543 10.8954 8 12 8C13.1046 8 14 8.89543 14 10Z",fillRule:"evenodd",clipRule:"evenodd",fill:"black"})),Cr=n("K8zD");const Ir=["wp_template","wp_template_part"];function Nr(e){let{isCustomized:t,children:n}=e;return t?Object(a.createElement)(_e.Tooltip,{text:Object(m.__)("This template has been customized")},n):n}function Pr(e){let{text:t,icon:n,imageUrl:c,isCustomized:r}=e;const[l,o]=Object(a.useState)(!1);return Object(a.createElement)(_e.__experimentalHStack,{alignment:"left"},Object(a.createElement)(Nr,{isCustomized:r},c?Object(a.createElement)("div",{className:qe()("edit-site-list-added-by__avatar",{"is-loaded":l})},Object(a.createElement)("img",{onLoad:()=>o(!0),alt:"",src:c})):Object(a.createElement)("div",{className:qe()("edit-site-list-added-by__icon",{"is-customized":r})},Object(a.createElement)(_e.Icon,{icon:n}))),Object(a.createElement)("span",null,t))}function Mr(e){var t;let{slug:n,isCustomized:c}=e;const r=Object(i.useSelect)(e=>e(s.store).getTheme(n),[n]);return Object(a.createElement)(Pr,{icon:cn.a,text:(null==r||null===(t=r.name)||void 0===t?void 0:t.rendered)||n,isCustomized:c})}function Rr(e){let{slug:t,isCustomized:n}=e;const c=Object(i.useSelect)(e=>e(s.store).getPlugin(t),[t]);return Object(a.createElement)(Pr,{icon:kr.a,text:(null==c?void 0:c.name)||t,isCustomized:n})}function Ar(e){var t;let{id:n}=e;const c=Object(i.useSelect)(e=>e(s.store).getUser(n),[n]);return Object(a.createElement)(Pr,{icon:Tr,imageUrl:null==c||null===(t=c.avatar_urls)||void 0===t?void 0:t[48],text:null==c?void 0:c.nickname})}function Lr(){const{name:e,logoURL:t}=Object(i.useSelect)(e=>{var t;const{getEntityRecord:n,getMedia:c}=e(s.store),r=n("root","__unstableBase");return{name:null==r?void 0:r.name,logoURL:null!=r&&r.site_logo?null===(t=c(r.site_logo))||void 0===t?void 0:t.source_url:void 0}},[]);return Object(a.createElement)(Pr,{icon:Cr.a,imageUrl:t,text:e})}function Br(e){let{templateType:t,template:n}=e;if(n){if(Ir.includes(t)){if(n.has_theme_file&&("theme"===n.origin||!n.origin&&["theme","custom"].includes(n.source)))return Object(a.createElement)(Mr,{slug:n.theme,isCustomized:"custom"===n.source});if(n.has_theme_file&&"plugin"===n.origin)return Object(a.createElement)(Rr,{slug:n.theme,isCustomized:"custom"===n.source});if(!n.has_theme_file&&"custom"===n.source&&!n.author)return Object(a.createElement)(Lr,null)}return Object(a.createElement)(Ar,{id:n.author})}}function Dr(e){let{templateType:t}=e;const{templates:n,isLoading:c,postType:r}=Object(i.useSelect)(e=>{const{getEntityRecords:n,hasFinishedResolution:c,getPostType:r}=e(s.store);return{templates:n("postType",t,{per_page:-1}),isLoading:!c("getEntityRecords",["postType",t,{per_page:-1}]),postType:r(t)}},[t]);return!n||c?null:n.length?Object(a.createElement)("table",{className:"edit-site-list-table",role:"table"},Object(a.createElement)("thead",null,Object(a.createElement)("tr",{className:"edit-site-list-table-head",role:"row"},Object(a.createElement)("th",{className:"edit-site-list-table-column",role:"columnheader"},Object(m.__)("Template")),Object(a.createElement)("th",{className:"edit-site-list-table-column",role:"columnheader"},Object(m.__)("Added by")),Object(a.createElement)("th",{className:"edit-site-list-table-column",role:"columnheader"},Object(a.createElement)(_e.VisuallyHidden,null,Object(m.__)("Actions"))))),Object(a.createElement)("tbody",null,n.map(e=>{var n;return Object(a.createElement)("tr",{key:e.id,className:"edit-site-list-table-row",role:"row"},Object(a.createElement)("td",{className:"edit-site-list-table-column",role:"cell"},Object(a.createElement)(_e.__experimentalHeading,{level:4},Object(a.createElement)(kt,{params:{postId:e.id,postType:e.type}},(null===(n=e.title)||void 0===n?void 0:n.rendered)||e.slug)),e.description),Object(a.createElement)("td",{className:"edit-site-list-table-column",role:"cell"},Object(a.createElement)(Br,{templateType:t,template:e})),Object(a.createElement)("td",{className:"edit-site-list-table-column",role:"cell"},Object(a.createElement)(xr,{template:e})))}))):Object(a.createElement)("div",null,Object(m.sprintf)(Object(m.__)("No %s found."),null==r||null===(l=r.labels)||void 0===l||null===(o=l.name)||void 0===o?void 0:o.toLowerCase()));var l,o}function Fr(){var e,t;const{params:{postType:n}}=Pe();!function(){const{registerShortcut:e}=Object(i.useDispatch)(De.store);Object(a.useEffect)(()=>{e({name:"core/edit-site/next-region",category:"global",description:Object(m.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),e({name:"core/edit-site/previous-region",category:"global",description:Object(m.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]})},[])}();const{previousShortcut:c,nextShortcut:r,isNavigationOpen:l}=Object(i.useSelect)(e=>({previousShortcut:e(De.store).getAllShortcutKeyCombinations("core/edit-site/previous-region"),nextShortcut:e(De.store).getAllShortcutKeyCombinations("core/edit-site/next-region"),isNavigationOpen:e(Oe).isNavigationOpened()}),[]),o=Object(i.useSelect)(e=>e(s.store).getPostType(n),[n]);_r(null==o||null===(e=o.labels)||void 0===e?void 0:e.name);const d=null==o||null===(t=o.labels)||void 0===t?void 0:t.items_list,b=o?{header:Object(m.sprintf)(Object(m.__)("%s - Header"),d),body:Object(m.sprintf)(Object(m.__)("%s - Content"),d)}:void 0;return Object(a.createElement)(T.e,{className:qe()("edit-site-list",{"is-navigation-open":l}),labels:{drawer:Object(m.__)("Navigation Sidebar"),...b},header:Object(a.createElement)(wr,{templateType:n}),drawer:Object(a.createElement)(Nc.Slot,null),notices:Object(a.createElement)(u.EditorSnackbars,null),content:Object(a.createElement)(Dr,{templateType:n}),shortcuts:{previous:c,next:r}})}function Vr(e){let{postId:t,postType:n}=e;return!(t||!n)}function Gr(e){let{reboot:t}=e;return Object(a.createElement)(_e.SlotFillProvider,null,Object(a.createElement)(u.UnsavedChangesWarning,null),Object(a.createElement)(Ae,null,e=>{let{params:n}=e;const c=Vr(n);return Object(a.createElement)(a.Fragment,null,c?Object(a.createElement)(Fr,null):Object(a.createElement)(hr,{onError:t}),Object(a.createElement)(Nc,{isDefaultOpen:!!c,activeTemplateType:c?n.postType:void 0}))}))}async function zr(e){const t=new URLSearchParams(Ce.location.search);if(function(e){const{postType:t}=e;return!Vr(e)&&!["post","page","wp_template","wp_template_part"].includes(t)}(Object.fromEntries(t.entries()))){const t=await async function(e){const t=await ut()({path:"/wp/v2/settings"});if(!t)throw new Error("`getHomepageParams`: unable to load site settings.");const{show_on_front:n,page_on_front:c}=t;if("page"===n)return{postType:"page",postId:c};const r=await window.fetch(Object(b.addQueryArgs)(e,{"_wp-find-template":!0})).then(e=>{if(!e.ok)throw new Error(`\`getHomepageParams\`: HTTP status error, ${e.status} ${e.statusText}`);return e.json()}).then(e=>{let{data:t}=e;if(t.message)throw new Error("`getHomepageParams`: REST API error, "+t.message);return t});if(null==r||!r.id)throw new Error("`getHomepageParams`: unable to find home template.");return{postType:"wp_template",postId:r.id}}(e);t&&Ce.replace(t)}}function Ur(e){let{className:t,...n}=e;return Object(a.createElement)(T.b,Object(ge.a)({panelClassName:t,className:"edit-site-sidebar",scope:"core/edit-site"},n))}function Hr(e){return Object(a.createElement)(T.c,Object(ge.a)({__unstableExplicitMenuItem:!0,scope:"core/edit-site"},e))}var Wr=Object(Fe.compose)(Object(Be.withPluginContext)((e,t)=>({icon:t.icon||e.icon,name:"core/edit-site/plugin-more-menu"})))(T.a);async function qr(e,t){try{await zr(t.siteUrl)}catch(t){return void Object(a.render)(Object(a.createElement)(ar,{message:Object(m.__)("The editor is unable to find a block template for the homepage."),error:t,dashboardLink:"index.php"}),e)}Object(a.unmountComponentAtNode)(e);const n=qr.bind(null,e,t);Object(i.dispatch)(Oe).updateSettings(t),Object(i.dispatch)(u.store).updateEditorSettings({defaultTemplateTypes:t.defaultTemplateTypes,defaultTemplatePartAreas:t.defaultTemplatePartAreas});Vr(Object(b.getQueryArgs)(window.location.href))&&Object(i.dispatch)(Oe).setIsNavigationPanelOpened(Object(i.select)(d.store).isViewportMatch("medium"));Object(a.render)(Object(a.createElement)(Gr,{reboot:n}),e)}function $r(e,t){t.__experimentalFetchLinkSuggestions=(e,n)=>Object(s.__experimentalFetchLinkSuggestions)(e,n,t),t.__experimentalFetchRichUrlData=s.__experimentalFetchUrlData,t.__experimentalSpotlightEntityBlocks=["core/template-part"];const n=document.getElementById(e);Object(i.dispatch)(l.store).__experimentalReapplyBlockTypeFilters(),Object(o.registerCoreBlocks)(),qr(n,t)}},"K+tz":function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.a=a},K2cm:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"}));t.a=a},K8zD:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.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"}));t.a=a},K9lf:function(e,t){e.exports=window.wp.compose},KEfo:function(e,t){e.exports=window.wp.viewport},Mmq9:function(e,t){e.exports=window.wp.url},NWDH:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.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=a},Ntru:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"}));t.a=a},OE6V:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.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-17.6 1L10 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=a},OzlF:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.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=a},Q4Sy:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=a},QyPg:function(e,t){e.exports=window.wp.blockLibrary},RMJe:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.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=a},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,n){var c;
+!function(){var e={4403:function(e,t){var n;
 /*!
   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<arguments.length;t++){var c=arguments[t];if(c){var a=typeof c;if("string"===a||"number"===a)e.push(c);else if(Array.isArray(c)){if(c.length){var l=r.apply(null,c);l&&e.push(l)}}else if("object"===a)if(c.toString===Object.prototype.toString)for(var o in c)n.call(c,o)&&c[o]&&e.push(o);else e.push(c.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(c=function(){return r}.apply(t,[]))||(e.exports=c)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},TvNi:function(e,t){e.exports=window.wp.plugins},U60i:function(e,t,n){"use strict";n.d(t,"b",(function(){return $})),n.d(t,"c",(function(){return z})),n.d(t,"d",(function(){return K})),n.d(t,"e",(function(){return X})),n.d(t,"h",(function(){return H})),n.d(t,"f",(function(){return Z})),n.d(t,"g",(function(){return ee})),n.d(t,"a",(function(){return V})),n.d(t,"i",(function(){return R}));var c={};n.r(c),n.d(c,"enableComplementaryArea",(function(){return y})),n.d(c,"disableComplementaryArea",(function(){return w})),n.d(c,"pinItem",(function(){return x})),n.d(c,"unpinItem",(function(){return k})),n.d(c,"toggleFeature",(function(){return T})),n.d(c,"setFeatureValue",(function(){return C})),n.d(c,"setFeatureDefaults",(function(){return I}));var r={};n.r(r),n.d(r,"getActiveComplementaryArea",(function(){return N})),n.d(r,"isItemPinned",(function(){return P})),n.d(r,"isFeatureActive",(function(){return M}));var a=n("wx14"),l=n("GRId"),o=n("TSYQ"),i=n.n(o),s=n("tI+e"),u=n("1ZqX"),m=n("l3Sj"),d=n("RMJe"),b=n("URob"),p=n("Xxwi"),O=n("KEfo"),j=n("bWcr"),_=n("YLtl");const g=Object(u.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:c}=t;return{...e,[n]:{...e[n],...c}}}return e}}),h=Object(u.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:c,value:r}=t;return{...e,[n]:{...e[n],[c]:r}}}return e}}),f=Object(u.combineReducers)({singleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:c,item:r}=arguments.length>1?arguments[1]:void 0;return"SET_SINGLE_ENABLE_ITEM"===t&&n&&c?{...e,[n]:{...e[n],[c]:r||null}}:e},multipleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:c,item:r,isEnable:a}=arguments.length>1?arguments[1]:void 0;if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!c||!r||Object(_.get)(e,[n,c,r])===a)return e;const l=e[n]||{},o=l[c]||{};return{...e,[n]:{...l,[c]:{...o,[r]:a||!1}}}}});var E=Object(u.combineReducers)({enableItems:f,preferenceDefaults:g,preferences:h});function v(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function y(e,t){return v("complementaryArea",e,t)}function w(e){return v("complementaryArea",e,void 0)}function S(e,t,n,c){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:c}}function x(e,t){return S("pinnedItems",e,t,!0)}function k(e,t){return S("pinnedItems",e,t,!1)}function T(e,t){return function(n){let{select:c,dispatch:r}=n;const a=c.isFeatureActive(e,t);r.setFeatureValue(e,t,!a)}}function C(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function I(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function N(e,t){return function(e,t,n){return Object(_.get)(e.enableItems.singleEnableItems,[t,n])}(e,"complementaryArea",t)}function P(e,t,n){return!1!==function(e,t,n,c){return Object(_.get)(e.enableItems.multipleEnableItems,[t,n,c])}(e,"pinnedItems",t,n)}function M(e,t,n){var c,r;const a=null===(c=e.preferences.features[t])||void 0===c?void 0:c[n];return!!(void 0!==a?a:null===(r=e.preferenceDefaults.features[t])||void 0===r?void 0:r[n])}const R=Object(u.createReduxStore)("core/interface",{reducer:E,actions:c,selectors:r,persist:["enableItems","preferences"],__experimentalUseThunks:!0});Object(u.registerStore)("core/interface",{reducer:E,actions:c,selectors:r,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var A=n("TvNi"),L=Object(A.withPluginContext)((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`}));var B=L((function(e){let{as:t=s.Button,scope:n,identifier:c,icon:r,selectedIcon:o,...i}=e;const m=t,d=Object(u.useSelect)(e=>e(R).getActiveComplementaryArea(n)===c,[c]),{enableComplementaryArea:b,disableComplementaryArea:p}=Object(u.useDispatch)(R);return Object(l.createElement)(m,Object(a.a)({icon:o&&d?o:r,onClick:()=>{d?p(n):b(n,c)}},Object(_.omit)(i,["name"])))}));var D=e=>{let{smallScreenTitle:t,children:n,className:c,toggleButtonProps:r}=e;const o=Object(l.createElement)(B,Object(a.a)({icon:j.a},r));return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&Object(l.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),o),Object(l.createElement)("div",{className:i()("components-panel__header","interface-complementary-area-header",c),tabIndex:-1},n,o))};function F(e){let{name:t,as:n=s.Button,onClick:c,...r}=e;return Object(l.createElement)(s.Fill,{name:t},e=>{let{onClick:t}=e;return Object(l.createElement)(n,Object(a.a)({onClick:c||t?function(){(c||_.noop)(...arguments),(t||_.noop)(...arguments)}:void 0},r))})}F.Slot=function(e){let{name:t,as:n=s.ButtonGroup,fillProps:c={},bubblesVirtually:r,...a}=e;return Object(l.createElement)(s.Slot,{name:t,bubblesVirtually:r,fillProps:c},e=>{if(Object(_.isEmpty)(l.Children.toArray(e)))return null;const t=[];l.Children.forEach(e,e=>{let{props:{__unstableExplicitMenuItem:n,__unstableTarget:c}}=e;c&&n&&t.push(c)});const c=l.Children.map(e,e=>!e.props.__unstableExplicitMenuItem&&t.includes(e.props.__unstableTarget)?null:e);return Object(l.createElement)(n,a,c)})};var V=F;const G=e=>Object(l.createElement)(s.MenuItem,Object(_.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function z(e){let{scope:t,target:n,__unstableExplicitMenuItem:c,...r}=e;return Object(l.createElement)(B,Object(a.a)({as:e=>Object(l.createElement)(V,Object(a.a)({__unstableExplicitMenuItem:c,__unstableTarget:`${t}/${n}`,as:G,name:t+"/plugin-more-menu"},e)),role:"menuitemcheckbox",selectedIcon:d.a,name:n,scope:t},r))}function U(e){let{scope:t,...n}=e;return Object(l.createElement)(s.Fill,Object(a.a)({name:"PinnedItems/"+t},n))}U.Slot=function(e){let{scope:t,className:n,...c}=e;return Object(l.createElement)(s.Slot,Object(a.a)({name:"PinnedItems/"+t},c),e=>!Object(_.isEmpty)(e)&&Object(l.createElement)("div",{className:i()(n,"interface-pinned-items")},e))};var H=U;function W(e){let{scope:t,children:n,className:c}=e;return Object(l.createElement)(s.Fill,{name:"ComplementaryArea/"+t},Object(l.createElement)("div",{className:c},n))}const q=L((function(e){let{children:t,className:n,closeLabel:c=Object(m.__)("Close plugin"),identifier:r,header:a,headerClassName:o,icon:j,isPinnable:_=!0,panelClassName:g,scope:h,name:f,smallScreenTitle:E,title:v,toggleShortcut:y,isActiveByDefault:w,showIconLabels:S=!1}=e;const{isActive:x,isPinned:k,activeArea:T,isSmall:C,isLarge:I}=Object(u.useSelect)(e=>{const{getActiveComplementaryArea:t,isItemPinned:n}=e(R),c=t(h);return{isActive:c===r,isPinned:n(h,r),activeArea:c,isSmall:e(O.store).isViewportMatch("< medium"),isLarge:e(O.store).isViewportMatch("large")}},[r,h]);!function(e,t,n,c,r){const a=Object(l.useRef)(!1),o=Object(l.useRef)(!1),{enableComplementaryArea:i,disableComplementaryArea:s}=Object(u.useDispatch)(R);Object(l.useEffect)(()=>{c&&r&&!a.current?(s(e),o.current=!0):o.current&&!r&&a.current?(o.current=!1,i(e,t)):o.current&&n&&n!==t&&(o.current=!1),r!==a.current&&(a.current=r)},[c,r,e,t,n])}(h,r,T,x,C);const{enableComplementaryArea:N,disableComplementaryArea:P,pinItem:M,unpinItem:A}=Object(u.useDispatch)(R);return Object(l.useEffect)(()=>{w&&void 0===T&&!C&&N(h,r)},[T,w,h,r,C]),Object(l.createElement)(l.Fragment,null,_&&Object(l.createElement)(H,{scope:h},k&&Object(l.createElement)(B,{scope:h,identifier:r,isPressed:x&&(!S||I),"aria-expanded":x,label:v,icon:S?d.a:j,showTooltip:!S,variant:S?"tertiary":void 0})),f&&_&&Object(l.createElement)(z,{target:f,scope:h,icon:j},v),x&&Object(l.createElement)(W,{className:i()("interface-complementary-area",n),scope:h},Object(l.createElement)(D,{className:o,closeLabel:c,onClose:()=>P(h),smallScreenTitle:E,toggleButtonProps:{label:c,shortcut:y,scope:h,identifier:r}},a||Object(l.createElement)(l.Fragment,null,Object(l.createElement)("strong",null,v),_&&Object(l.createElement)(s.Button,{className:"interface-complementary-area__pin-unpin-item",icon:k?b.a:p.a,label:k?Object(m.__)("Unpin from toolbar"):Object(m.__)("Pin to toolbar"),onClick:()=>(k?A:M)(h,r),isPressed:k,"aria-expanded":k}))),Object(l.createElement)(s.Panel,{className:g},t)))}));q.Slot=function(e){let{scope:t,...n}=e;return Object(l.createElement)(s.Slot,Object(a.a)({name:"ComplementaryArea/"+t},n))};var $=q;var K=e=>{let{isActive:t}=e;return Object(l.useEffect)(()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}},[]),Object(l.useEffect)(()=>(t?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{t&&document.body.classList.remove("is-fullscreen-mode")}),[t]),null},Y=n("K9lf");var X=Object(l.forwardRef)((function(e,t){let{footer:n,header:c,sidebar:r,secondarySidebar:o,notices:u,content:d,drawer:b,actions:p,labels:O,className:j,shortcuts:_}=e;const g=Object(s.__unstableUseNavigateRegions)(_);!function(e){Object(l.useEffect)(()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}},[e])}("interface-interface-skeleton__html-container");const h={...{drawer:Object(m.__)("Drawer"),header:Object(m.__)("Header"),body:Object(m.__)("Content"),secondarySidebar:Object(m.__)("Block Library"),sidebar:Object(m.__)("Settings"),actions:Object(m.__)("Publish"),footer:Object(m.__)("Footer")},...O};return Object(l.createElement)("div",Object(a.a)({},g,{ref:Object(Y.useMergeRefs)([t,g.ref]),className:i()(j,"interface-interface-skeleton",g.className,!!n&&"has-footer")}),!!b&&Object(l.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":h.drawer,tabIndex:"-1"},b),Object(l.createElement)("div",{className:"interface-interface-skeleton__editor"},!!c&&Object(l.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":h.header,tabIndex:"-1"},c),Object(l.createElement)("div",{className:"interface-interface-skeleton__body"},!!o&&Object(l.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":h.secondarySidebar,tabIndex:"-1"},o),!!u&&Object(l.createElement)("div",{className:"interface-interface-skeleton__notices"},u),Object(l.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":h.body,tabIndex:"-1"},d),!!r&&Object(l.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":h.sidebar,tabIndex:"-1"},r),!!p&&Object(l.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":h.actions,tabIndex:"-1"},p))),!!n&&Object(l.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":h.footer,tabIndex:"-1"},n))})),Q=n("VKE3");function Z(e){let{as:t=s.DropdownMenu,className:n,label:c=Object(m.__)("Options"),popoverProps:r,toggleProps:a,children:o}=e;return Object(l.createElement)(t,{className:i()("interface-more-menu-dropdown",n),icon:Q.a,label:c,popoverProps:{position:"bottom left",...r,className:i()("interface-more-menu-dropdown__content",null==r?void 0:r.className)},toggleProps:{tooltipPosition:"bottom",...a}},e=>o(e))}var J=n("gdqT");function ee(e){let{scope:t,label:n,info:c,messageActivated:r,messageDeactivated:a,shortcut:o,feature:i}=e;const b=Object(u.useSelect)(e=>e(R).isFeatureActive(t,i),[i]),{toggleFeature:p}=Object(u.useDispatch)(R);return Object(l.createElement)(s.MenuItem,{icon:b&&d.a,isSelected:b,onClick:()=>{p(t,i),b?Object(J.speak)(a||Object(m.__)("Feature deactivated")):Object(J.speak)(r||Object(m.__)("Feature activated"))},role:"menuitemcheckbox",info:c,shortcut:o},n)}},URob:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.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=a},VKE3:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=a},Xxwi:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.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=a},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},bWcr:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.createElement)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=a},cjQ8:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.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=a},diJD:function(e,t){e.exports=window.wp.reusableBlocks},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},iClF:function(e,t,n){"use strict";var c=n("GRId");t.a=function(e){let{icon:t,size:n=24,...r}=e;return Object(c.cloneElement)(t,{width:n,height:n,...r})}},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},pPDe:function(e,t,n){"use strict";var c,r;function a(e){return[e]}function l(){var e={clear:function(){e.head=null}};return e}function o(e,t,n){var c;if(e.length!==t.length)return!1;for(c=n;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}c={},r="undefined"!=typeof WeakMap,t.a=function(e,t){var n,i;function s(){n=r?new WeakMap:l()}function u(){var n,c,r,a,l,s=arguments.length;for(a=new Array(s),r=0;r<s;r++)a[r]=arguments[r];for(l=t.apply(null,a),(n=i(l)).isUniqueByDependants||(n.lastDependants&&!o(l,n.lastDependants,0)&&n.clear(),n.lastDependants=l),c=n.head;c;){if(o(c.args,a,1))return c!==n.head&&(c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=n.head,c.prev=null,n.head.prev=c,n.head=c),c.val;c=c.next}return c={val:e.apply(null,a)},a[0]=null,c.args=a,n.head&&(n.head.prev=c,c.next=n.head),n.head=c,c.val}return t||(t=a),i=r?function(e){var t,r,a,o,i,s=n,u=!0;for(t=0;t<e.length;t++){if(r=e[t],!(i=r)||"object"!=typeof i){u=!1;break}s.has(r)?s=s.get(r):(a=new WeakMap,s.set(r,a),s=a)}return s.has(c)||((o=l()).isUniqueByDependants=u,s.set(c,o)),s.get(c)}:function(){return n},u.getDependants=t,u.clear=s,s(),u}},rmEH:function(e,t){e.exports=window.wp.htmlEntities},rrFr:function(e,t,n){var c,r,a;r=[],void 0===(a="function"==typeof(c=function(){return function e(t,n,c){var r,a,l=window,o="application/octet-stream",i=c||o,s=t,u=!n&&!c&&s,m=document.createElement("a"),d=function(e){return String(e)},b=l.Blob||l.MozBlob||l.WebKitBlob||d,p=n||"download";if(b=b.call?b.bind(l):Blob,"true"===String(this)&&(i=(s=[s,i])[0],s=s[1]),u&&u.length<2048&&(p=u.split("/").pop().split("?")[0],m.href=u,-1!==m.href.indexOf(u))){var O=new XMLHttpRequest;return O.open("GET",u,!0),O.responseType="blob",O.onload=function(t){e(t.target.response,p,o)},setTimeout((function(){O.send()}),0),O}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(s)){if(!(s.length>2096103.424&&b!==d))return navigator.msSaveBlob?navigator.msSaveBlob(h(s),p):f(s);i=(s=h(s)).type||o}else if(/([\x80-\xff])/.test(s)){for(var j=0,_=new Uint8Array(s.length),g=_.length;j<g;++j)_[j]=s.charCodeAt(j);s=new b([_],{type:i})}function h(e){for(var t=e.split(/[:;,]/),n=t[1],c=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),r=c.length,a=0,l=new Uint8Array(r);a<r;++a)l[a]=c.charCodeAt(a);return new b([l],{type:n})}function f(e,t){if("download"in m)return m.href=e,m.setAttribute("download",p),m.className="download-js-link",m.innerHTML="downloading...",m.style.display="none",document.body.appendChild(m),setTimeout((function(){m.click(),document.body.removeChild(m),!0===t&&setTimeout((function(){l.URL.revokeObjectURL(m.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,o)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,o)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(r=s instanceof b?s:new b([s],{type:i}),navigator.msSaveBlob)return navigator.msSaveBlob(r,p);if(l.URL)f(l.URL.createObjectURL(r),!0);else{if("string"==typeof r||r.constructor===d)try{return f("data:"+i+";base64,"+l.btoa(r))}catch(e){return f("data:"+i+","+encodeURIComponent(r))}(a=new FileReader).onload=function(e){f(this.result)},a.readAsDataURL(r)}return!0}})?c.apply(t,r):c)||(e.exports=a)},"tI+e":function(e,t){e.exports=window.wp.components},w95h:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.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=a},wduq:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const a=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(c.createElement)(r.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}));t.a=a},wx14:function(e,t,n){"use strict";function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return c}))},ywyh:function(e,t){e.exports=window.wp.apiFetch}});
\ No newline at end of file
+*/!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var o=a.apply(null,n);o&&e.push(o)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var i in n)r.call(n,i)&&n[i]&&e.push(i);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},8981:function(e,t){var n,r,a;r=[],void 0===(a="function"==typeof(n=function(){return function e(t,n,r){var a,l,o=window,i="application/octet-stream",s=r||i,c=t,u=!n&&!r&&c,m=document.createElement("a"),d=function(e){return String(e)},p=o.Blob||o.MozBlob||o.WebKitBlob||d,_=n||"download";if(p=p.call?p.bind(o):Blob,"true"===String(this)&&(s=(c=[c,s])[0],c=c[1]),u&&u.length<2048&&(_=u.split("/").pop().split("?")[0],m.href=u,-1!==m.href.indexOf(u))){var g=new XMLHttpRequest;return g.open("GET",u,!0),g.responseType="blob",g.onload=function(t){e(t.target.response,_,i)},setTimeout((function(){g.send()}),0),g}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(c)){if(!(c.length>2096103.424&&p!==d))return navigator.msSaveBlob?navigator.msSaveBlob(v(c),_):y(c);s=(c=v(c)).type||i}else if(/([\x80-\xff])/.test(c)){for(var h=0,E=new Uint8Array(c.length),f=E.length;h<f;++h)E[h]=c.charCodeAt(h);c=new p([E],{type:s})}function v(e){for(var t=e.split(/[:;,]/),n=t[1],r=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),a=r.length,l=0,o=new Uint8Array(a);l<a;++l)o[l]=r.charCodeAt(l);return new p([o],{type:n})}function y(e,t){if("download"in m)return m.href=e,m.setAttribute("download",_),m.className="download-js-link",m.innerHTML="downloading...",m.style.display="none",document.body.appendChild(m),setTimeout((function(){m.click(),document.body.removeChild(m),!0===t&&setTimeout((function(){o.URL.revokeObjectURL(m.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,i)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,i)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(a=c instanceof p?c:new p([c],{type:s}),navigator.msSaveBlob)return navigator.msSaveBlob(a,_);if(o.URL)y(o.URL.createObjectURL(a),!0);else{if("string"==typeof a||a.constructor===d)try{return y("data:"+s+";base64,"+o.btoa(a))}catch(e){return y("data:"+s+","+encodeURIComponent(a))}(l=new FileReader).onload=function(e){y(this.result)},l.readAsDataURL(a)}return!0}})?n.apply(t,r):n)||(e.exports=a)}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var l=t[r]={exports:{}};return e[r].call(l.exports,l,l.exports,n),l.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r),n.d(r,{PluginMoreMenuItem:function(){return Ll},PluginSidebar:function(){return Al},PluginSidebarMoreMenuItem:function(){return Rl},__experimentalMainDashboardButton:function(){return ua},__experimentalNavigationToggle:function(){return ga},initializeEditor:function(){return Dl},reinitializeEditor:function(){return Bl}});var e={};n.r(e),n.d(e,{disableComplementaryArea:function(){return Y},enableComplementaryArea:function(){return K},pinItem:function(){return Q},setFeatureDefaults:function(){return te},setFeatureValue:function(){return ee},toggleFeature:function(){return J},unpinItem:function(){return Z}});var t={};n.r(t),n.d(t,{getActiveComplementaryArea:function(){return ne},isFeatureActive:function(){return ae},isItemPinned:function(){return re}});var a={};n.r(a),n.d(a,{__experimentalSetPreviewDeviceType:function(){return Te},addTemplate:function(){return Ne},closeGeneralSidebar:function(){return Ge},openGeneralSidebar:function(){return ze},openNavigationPanelToMenu:function(){return Le},removeTemplate:function(){return Ie},revertTemplate:function(){return Ve},setHomeTemplateId:function(){return Me},setIsInserterOpened:function(){return De},setIsListViewOpened:function(){return Fe},setIsNavigationPanelOpened:function(){return Be},setNavigationPanelActiveMenu:function(){return Re},setPage:function(){return Ae},setTemplate:function(){return Ce},setTemplatePart:function(){return Pe},toggleFeature:function(){return xe},updateSettings:function(){return Oe}});var l={};n.r(l),n.d(l,{__experimentalGetInsertionPoint:function(){return it},__experimentalGetPreviewDeviceType:function(){return Ke},getCanUserCreateMedia:function(){return Ye},getCurrentTemplateNavigationPanelSubMenu:function(){return at},getCurrentTemplateTemplateParts:function(){return ct},getEditedPostId:function(){return tt},getEditedPostType:function(){return et},getHomeTemplateId:function(){return Ze},getNavigationPanelActiveMenu:function(){return rt},getPage:function(){return nt},getReusableBlocks:function(){return Xe},getSettings:function(){return Qe},isFeatureActive:function(){return qe},isInserterOpened:function(){return ot},isListViewOpened:function(){return st},isNavigationOpened:function(){return lt}});var o=window.wp.element,i=window.wp.blocks,s=window.wp.blockLibrary,c=window.wp.data,u=window.wp.coreData,m=window.wp.editor,d=window.wp.i18n,p=window.wp.viewport,_=window.wp.url,g=window.wp.hooks,h=window.wp.mediaUtils;(0,g.addFilter)("editor.MediaUpload","core/edit-site/components/media-upload",(()=>h.MediaUpload));var E=window.wp.dataControls;const f={features:{welcomeGuide:!0,welcomeGuideStyles:!0}},v="core/edit-site",y="uncategorized",b=["index","singular","archive","single","page","home","404","search","author","category","taxonomy","date","tag","attachment","single-post","front-page"],w=["page-home"],S=["post-","author-","single-post-","tag-"],k=["page-"],x={singular:["single","page"],index:["archive","404","search","singular","home"],home:["front-page"]},T="root",C="templates",N="templates-general",I=[{area:"header",menu:"template-parts-headers",title:(0,d.__)("headers")},{area:"footer",menu:"template-parts-footers",title:(0,d.__)("footers")},{area:"sidebar",menu:"template-parts-sidebars",title:(0,d.__)("sidebars")},{area:y,menu:"template-parts-general",title:(0,d.__)("general")}],P=(0,c.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.features,t=arguments.length>1?arguments[1]:void 0;return"TOGGLE_FEATURE"===t.type?{...e,[t.feature]:!e[t.feature]}:e}});var M=(0,c.combineReducers)({preferences:P,deviceType:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;return"SET_PREVIEW_DEVICE_TYPE"===t.type?t.deviceType:e},settings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"UPDATE_SETTINGS"===t.type?{...e,...t.settings}:e},editedPost: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_TEMPLATE":case"SET_PAGE":return{type:"wp_template",id:t.templateId,page:t.page};case"SET_TEMPLATE_PART":return{type:"wp_template_part",id:t.templatePartId}}return e},homeTemplateId:function(e,t){return"SET_HOME_TEMPLATE"===t.type?t.homeTemplateId:e},navigationPanel:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{menu:T,isOpen:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_NAVIGATION_PANEL_ACTIVE_MENU":return{...e,menu:t.menu};case"OPEN_NAVIGATION_PANEL_TO_MENU":return{...e,isOpen:!0,menu:t.menu};case"SET_IS_NAVIGATION_PANEL_OPENED":return{...e,menu:t.isOpen?e.menu:T,isOpen:t.isOpen};case"SET_IS_LIST_VIEW_OPENED":return{...e,menu:e.isOpen&&t.isOpen?T:e.menu,isOpen:!t.isOpen&&e.isOpen};case"SET_IS_INSERTER_OPENED":return{...e,menu:e.isOpen&&t.value?T:e.menu,isOpen:!t.value&&e.isOpen}}return e},blockInserterPanel:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_NAVIGATION_PANEL_TO_MENU":return!1;case"SET_IS_NAVIGATION_PANEL_OPENED":case"SET_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"OPEN_NAVIGATION_PANEL_TO_MENU":return!1;case"SET_IS_NAVIGATION_PANEL_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e}}),A=window.wp.notices;function R(){return R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}var L=n(4403),B=n.n(L),D=window.wp.components,O=window.wp.primitives;var F=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));var V=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.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"}));var z=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.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"}));var G=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),U=window.lodash;const H=(0,c.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_DEFAULTS"===t.type){const{scope:n,defaults:r}=t;return{...e,[n]:{...e[n],...r}}}return e}}),$=(0,c.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_VALUE"===t.type){const{scope:n,featureName:r,value:a}=t;return{...e,[n]:{...e[n],[r]:a}}}return e}}),W=(0,c.combineReducers)({singleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:r,item:a}=arguments.length>1?arguments[1]:void 0;return"SET_SINGLE_ENABLE_ITEM"===t&&n&&r?{...e,[n]:{...e[n],[r]:a||null}}:e},multipleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:n,scope:r,item:a,isEnable:l}=arguments.length>1?arguments[1]:void 0;if("SET_MULTIPLE_ENABLE_ITEM"!==t||!n||!r||!a||(0,U.get)(e,[n,r,a])===l)return e;const o=e[n]||{},i=o[r]||{};return{...e,[n]:{...o,[r]:{...i,[a]:l||!1}}}}});var j=(0,c.combineReducers)({enableItems:W,preferenceDefaults:H,preferences:$});function q(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function K(e,t){return q("complementaryArea",e,t)}function Y(e){return q("complementaryArea",e,void 0)}function X(e,t,n,r){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:r}}function Q(e,t){return X("pinnedItems",e,t,!0)}function Z(e,t){return X("pinnedItems",e,t,!1)}function J(e,t){return function(n){let{select:r,dispatch:a}=n;const l=r.isFeatureActive(e,t);a.setFeatureValue(e,t,!l)}}function ee(e,t,n){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!n}}function te(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function ne(e,t){return function(e,t,n){return(0,U.get)(e.enableItems.singleEnableItems,[t,n])}(e,"complementaryArea",t)}function re(e,t,n){return!1!==function(e,t,n,r){return(0,U.get)(e.enableItems.multipleEnableItems,[t,n,r])}(e,"pinnedItems",t,n)}function ae(e,t,n){var r,a;const l=null===(r=e.preferences.features[t])||void 0===r?void 0:r[n];return!!(void 0!==l?l:null===(a=e.preferenceDefaults.features[t])||void 0===a?void 0:a[n])}const le="core/interface",oe=(0,c.createReduxStore)(le,{reducer:j,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});(0,c.registerStore)(le,{reducer:j,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var ie=window.wp.plugins,se=(0,ie.withPluginContext)(((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`})));var ce=se((function(e){let{as:t=D.Button,scope:n,identifier:r,icon:a,selectedIcon:l,...i}=e;const s=t,u=(0,c.useSelect)((e=>e(oe).getActiveComplementaryArea(n)===r),[r]),{enableComplementaryArea:m,disableComplementaryArea:d}=(0,c.useDispatch)(oe);return(0,o.createElement)(s,R({icon:l&&u?l:a,onClick:()=>{u?d(n):m(n,r)}},(0,U.omit)(i,["name"])))}));var ue=e=>{let{smallScreenTitle:t,children:n,className:r,toggleButtonProps:a}=e;const l=(0,o.createElement)(ce,R({icon:G},a));return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&(0,o.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),l),(0,o.createElement)("div",{className:B()("components-panel__header","interface-complementary-area-header",r),tabIndex:-1},n,l))};function me(e){let{name:t,as:n=D.Button,onClick:r,...a}=e;return(0,o.createElement)(D.Fill,{name:t},(e=>{let{onClick:t}=e;return(0,o.createElement)(n,R({onClick:r||t?function(){(r||U.noop)(...arguments),(t||U.noop)(...arguments)}:void 0},a))}))}me.Slot=function(e){let{name:t,as:n=D.ButtonGroup,fillProps:r={},bubblesVirtually:a,...l}=e;return(0,o.createElement)(D.Slot,{name:t,bubblesVirtually:a,fillProps:r},(e=>{if((0,U.isEmpty)(o.Children.toArray(e)))return null;const t=[];o.Children.forEach(e,(e=>{let{props:{__unstableExplicitMenuItem:n,__unstableTarget:r}}=e;r&&n&&t.push(r)}));const r=o.Children.map(e,(e=>!e.props.__unstableExplicitMenuItem&&t.includes(e.props.__unstableTarget)?null:e));return(0,o.createElement)(n,l,r)}))};var de=me;const pe=e=>(0,o.createElement)(D.MenuItem,(0,U.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function _e(e){let{scope:t,target:n,__unstableExplicitMenuItem:r,...a}=e;return(0,o.createElement)(ce,R({as:e=>(0,o.createElement)(de,R({__unstableExplicitMenuItem:r,__unstableTarget:`${t}/${n}`,as:pe,name:`${t}/plugin-more-menu`},e)),role:"menuitemcheckbox",selectedIcon:F,name:n,scope:t},a))}function ge(e){let{scope:t,...n}=e;return(0,o.createElement)(D.Fill,R({name:`PinnedItems/${t}`},n))}ge.Slot=function(e){let{scope:t,className:n,...r}=e;return(0,o.createElement)(D.Slot,R({name:`PinnedItems/${t}`},r),(e=>!(0,U.isEmpty)(e)&&(0,o.createElement)("div",{className:B()(n,"interface-pinned-items")},e)))};var he=ge;function Ee(e){let{scope:t,children:n,className:r}=e;return(0,o.createElement)(D.Fill,{name:`ComplementaryArea/${t}`},(0,o.createElement)("div",{className:r},n))}const fe=se((function(e){let{children:t,className:n,closeLabel:r=(0,d.__)("Close plugin"),identifier:a,header:l,headerClassName:i,icon:s,isPinnable:u=!0,panelClassName:m,scope:_,name:g,smallScreenTitle:h,title:E,toggleShortcut:f,isActiveByDefault:v,showIconLabels:y=!1}=e;const{isActive:b,isPinned:w,activeArea:S,isSmall:k,isLarge:x}=(0,c.useSelect)((e=>{const{getActiveComplementaryArea:t,isItemPinned:n}=e(oe),r=t(_);return{isActive:r===a,isPinned:n(_,a),activeArea:r,isSmall:e(p.store).isViewportMatch("< medium"),isLarge:e(p.store).isViewportMatch("large")}}),[a,_]);!function(e,t,n,r,a){const l=(0,o.useRef)(!1),i=(0,o.useRef)(!1),{enableComplementaryArea:s,disableComplementaryArea:u}=(0,c.useDispatch)(oe);(0,o.useEffect)((()=>{r&&a&&!l.current?(u(e),i.current=!0):i.current&&!a&&l.current?(i.current=!1,s(e,t)):i.current&&n&&n!==t&&(i.current=!1),a!==l.current&&(l.current=a)}),[r,a,e,t,n])}(_,a,S,b,k);const{enableComplementaryArea:T,disableComplementaryArea:C,pinItem:N,unpinItem:I}=(0,c.useDispatch)(oe);return(0,o.useEffect)((()=>{v&&void 0===S&&!k&&T(_,a)}),[S,v,_,a,k]),(0,o.createElement)(o.Fragment,null,u&&(0,o.createElement)(he,{scope:_},w&&(0,o.createElement)(ce,{scope:_,identifier:a,isPressed:b&&(!y||x),"aria-expanded":b,label:E,icon:y?F:s,showTooltip:!y,variant:y?"tertiary":void 0})),g&&u&&(0,o.createElement)(_e,{target:g,scope:_,icon:s},E),b&&(0,o.createElement)(Ee,{className:B()("interface-complementary-area",n),scope:_},(0,o.createElement)(ue,{className:i,closeLabel:r,onClose:()=>C(_),smallScreenTitle:h,toggleButtonProps:{label:r,shortcut:f,scope:_,identifier:a}},l||(0,o.createElement)(o.Fragment,null,(0,o.createElement)("strong",null,E),u&&(0,o.createElement)(D.Button,{className:"interface-complementary-area__pin-unpin-item",icon:w?V:z,label:w?(0,d.__)("Unpin from toolbar"):(0,d.__)("Pin to toolbar"),onClick:()=>(w?I:N)(_,a),isPressed:w,"aria-expanded":w}))),(0,o.createElement)(D.Panel,{className:m},t)))}));fe.Slot=function(e){let{scope:t,...n}=e;return(0,o.createElement)(D.Slot,R({name:`ComplementaryArea/${t}`},n))};var ve=fe,ye=window.wp.compose;var be,we,Se=(0,o.forwardRef)((function(e,t){let{footer:n,header:r,sidebar:a,secondarySidebar:l,notices:i,content:s,drawer:c,actions:u,labels:m,className:p,shortcuts:_}=e;const g=(0,D.__unstableUseNavigateRegions)(_);!function(e){(0,o.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");const h={...{drawer:(0,d.__)("Drawer"),header:(0,d.__)("Header"),body:(0,d.__)("Content"),secondarySidebar:(0,d.__)("Block Library"),sidebar:(0,d.__)("Settings"),actions:(0,d.__)("Publish"),footer:(0,d.__)("Footer")},...m};return(0,o.createElement)("div",R({},g,{ref:(0,ye.useMergeRefs)([t,g.ref]),className:B()(p,"interface-interface-skeleton",g.className,!!n&&"has-footer")}),!!c&&(0,o.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":h.drawer,tabIndex:"-1"},c),(0,o.createElement)("div",{className:"interface-interface-skeleton__editor"},!!r&&(0,o.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":h.header,tabIndex:"-1"},r),(0,o.createElement)("div",{className:"interface-interface-skeleton__body"},!!l&&(0,o.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":h.secondarySidebar,tabIndex:"-1"},l),!!i&&(0,o.createElement)("div",{className:"interface-interface-skeleton__notices"},i),(0,o.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":h.body,tabIndex:"-1"},s),!!a&&(0,o.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":h.sidebar,tabIndex:"-1"},a),!!u&&(0,o.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":h.actions,tabIndex:"-1"},u))),!!n&&(0,o.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":h.footer,tabIndex:"-1"},n))}));function ke(e){return!!e&&("custom"===(null==e?void 0:e.source)&&(null==e?void 0:e.has_theme_file))}function xe(e){return{type:"TOGGLE_FEATURE",feature:e}}function Te(e){return{type:"SET_PREVIEW_DEVICE_TYPE",deviceType:e}}function*Ce(e,t){const n={templateSlug:t};if(!t){const t=yield c.controls.resolveSelect(u.store,"getEntityRecord","postType","wp_template",e);n.templateSlug=null==t?void 0:t.slug}return{type:"SET_TEMPLATE",templateId:e,page:{context:n}}}function*Ne(e){const t=yield c.controls.dispatch(u.store,"saveEntityRecord","postType","wp_template",e);return e.content&&(yield c.controls.dispatch(u.store,"editEntityRecord","postType","wp_template",t.id,{blocks:(0,i.parse)(e.content)},{undoIgnore:!0})),{type:"SET_TEMPLATE",templateId:t.id,page:{context:{templateSlug:t.slug}}}}function*Ie(e){try{yield c.controls.dispatch(u.store,"deleteEntityRecord","postType",e.type,e.id,{force:!0});const t=yield c.controls.select(u.store,"getLastEntityDeleteError","postType",e.type,e.id);if(t)throw t;yield c.controls.dispatch(A.store,"createSuccessNotice",(0,d.sprintf)((0,d.__)('"%s" removed.'),e.title.rendered),{type:"snackbar"})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,d.__)("An error occurred while deleting the template.");yield c.controls.dispatch(A.store,"createErrorNotice",t,{type:"snackbar"})}}function Pe(e){return{type:"SET_TEMPLATE_PART",templatePartId:e}}function Me(e){return{type:"SET_HOME_TEMPLATE",homeTemplateId:e}}function*Ae(e){var t;if(!e.path&&null!==(t=e.context)&&void 0!==t&&t.postId){const t=yield c.controls.resolveSelect(u.store,"getEntityRecord","postType",e.context.postType||"post",e.context.postId);e.path=(0,_.getPathAndQueryString)(t.link)}const n=yield c.controls.resolveSelect(u.store,"__experimentalGetTemplateForLink",e.path);if(!n)return;const{id:r,slug:a}=n;return yield{type:"SET_PAGE",page:a?{...e,context:{...e.context,templateSlug:a}}:e,templateId:r},r}function Re(e){return{type:"SET_NAVIGATION_PANEL_ACTIVE_MENU",menu:e}}function Le(e){return{type:"OPEN_NAVIGATION_PANEL_TO_MENU",menu:e}}function Be(e){return{type:"SET_IS_NAVIGATION_PANEL_OPENED",isOpen:e}}function De(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function Oe(e){return{type:"UPDATE_SETTINGS",settings:e}}function Fe(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}function*Ve(e){let{allowUndo:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ke(e))try{var n;const r=yield c.controls.select(u.store,"getEntity","postType",e.type);if(!r)return void(yield c.controls.dispatch(A.store,"createErrorNotice",(0,d.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"}));const a=(0,_.addQueryArgs)(`${r.baseURL}/${e.id}`,{context:"edit",source:"theme"}),l=yield(0,E.apiFetch)({path:a});if(!l)return void(yield c.controls.dispatch(A.store,"createErrorNotice",(0,d.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"}));const o=e=>{let{blocks:t=[]}=e;return(0,i.__unstableSerializeAndClean)(t)},s=yield c.controls.select(u.store,"getEditedEntityRecord","postType",e.type,e.id);yield c.controls.dispatch(u.store,"editEntityRecord","postType",e.type,e.id,{content:o,blocks:s.blocks,source:"custom"},{undoIgnore:!0});const m=(0,i.parse)(null==l||null===(n=l.content)||void 0===n?void 0:n.raw);if(yield c.controls.dispatch(u.store,"editEntityRecord","postType",e.type,l.id,{content:o,blocks:m,source:"theme"}),t){const t=async()=>{await(0,c.dispatch)(u.store).editEntityRecord("postType",e.type,s.id,{content:o,blocks:s.blocks,source:"custom"})};yield c.controls.dispatch(A.store,"createSuccessNotice",(0,d.__)("Template reverted."),{type:"snackbar",actions:[{label:(0,d.__)("Undo"),onClick:t}]})}else yield c.controls.dispatch(A.store,"createSuccessNotice",(0,d.__)("Template reverted."))}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,d.__)("Template revert failed. Please reload.");yield c.controls.dispatch(A.store,"createErrorNotice",t,{type:"snackbar"})}else yield c.controls.dispatch(A.store,"createErrorNotice",(0,d.__)("This template is not revertable."),{type:"snackbar"})}function*ze(e){yield c.controls.dispatch(oe,"enableComplementaryArea",v,e)}function*Ge(){yield c.controls.dispatch(oe,"disableComplementaryArea",v)}function Ue(e){return[e]}function He(){var e={clear:function(){e.head=null}};return e}function $e(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function We(e,t,n){return!!x[e]&&("home"===e&&"posts"!==n||x[e].every((e=>t.includes(e)||We(e,t,n))))}function je(e){if(b.includes(e))return C;if(w.includes(e))return N;if(S.some((t=>e.startsWith(t))))return"templates-posts";return k.some((t=>e.startsWith(t)))?"templates-pages":N}function qe(e,t){return(0,U.get)(e.preferences.features,[t],!1)}function Ke(e){return e.deviceType}be={},we="undefined"!=typeof WeakMap;const Ye=(0,c.createRegistrySelector)((e=>()=>e(u.store).canUser("create","media"))),Xe=(0,c.createRegistrySelector)((e=>()=>"web"===o.Platform.OS?e(u.store).getEntityRecords("postType","wp_block",{per_page:-1}):[])),Qe=function(e,t){var n,r;function a(){n=we?new WeakMap:He()}function l(){var n,a,l,o,i,s=arguments.length;for(o=new Array(s),l=0;l<s;l++)o[l]=arguments[l];for(i=t.apply(null,o),(n=r(i)).isUniqueByDependants||(n.lastDependants&&!$e(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),a=n.head;a;){if($e(a.args,o,1))return a!==n.head&&(a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=n.head,a.prev=null,n.head.prev=a,n.head=a),a.val;a=a.next}return a={val:e.apply(null,o)},o[0]=null,a.args=o,n.head&&(n.head.prev=a,a.next=n.head),n.head=a,a.val}return t||(t=Ue),r=we?function(e){var t,r,a,l,o,i=n,s=!0;for(t=0;t<e.length;t++){if(r=e[t],!(o=r)||"object"!=typeof o){s=!1;break}i.has(r)?i=i.get(r):(a=new WeakMap,i.set(r,a),i=a)}return i.has(be)||((l=He()).isUniqueByDependants=s,i.set(be,l)),i.get(be)}:function(){return n},l.getDependants=t,l.clear=a,a(),l}(((e,t)=>{const n={...e.settings,outlineMode:!0,focusMode:qe(e,"focusMode"),hasFixedToolbar:qe(e,"fixedToolbar"),__experimentalSetIsInserterOpened:t,__experimentalReusableBlocks:Xe(e)};return Ye(e)?(n.mediaUpload=t=>{let{onError:n,...r}=t;(0,h.uploadMedia)({wpAllowedMimeTypes:e.settings.allowedMimeTypes,onError:e=>{let{message:t}=e;return n(t)},...r})},n):n}),(e=>[Ye(e),e.settings,qe(e,"focusMode"),qe(e,"fixedToolbar"),Xe(e)]));function Ze(e){return e.homeTemplateId}function Je(e){return e.editedPost}function et(e){return Je(e).type}function tt(e){return Je(e).id}function nt(e){return Je(e).page}function rt(e){return e.navigationPanel.menu}const at=(0,c.createRegistrySelector)((e=>t=>{const n=et(t),r=tt(t),a=r?e(u.store).getEntityRecord("postType",n,r):null;if(!a)return T;var l;if("wp_template_part"===n)return(null===(l=I.find((e=>e.area===(null==a?void 0:a.area))))||void 0===l?void 0:l.menu)||"template-parts";const o=e(u.store).getEntityRecords("postType","wp_template"),i=e(u.store).getEditedEntityRecord("root","site").show_on_front;return We(a.slug,(0,U.map)(o,"slug"),i)?"templates-unused":je(a.slug)}));function lt(e){return e.navigationPanel.isOpen}function ot(e){return!!e.blockInserterPanel}function it(e){const{rootClientId:t,insertionIndex:n,filterValue:r}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:n,filterValue:r}}function st(e){return e.listViewPanel}const ct=(0,c.createRegistrySelector)((e=>t=>{var n;const r=et(t),a=tt(t),l=e(u.store).getEditedEntityRecord("postType",r,a),o=e(u.store).getEntityRecords("postType","wp_template_part",{per_page:-1}),s=(0,U.keyBy)(o,(e=>e.id));return(null!==(n=l.blocks)&&void 0!==n?n:[]).filter((e=>(0,i.isTemplatePart)(e))).map((e=>{const{attributes:{theme:t,slug:n}}=e;return{templatePart:s[`${t}//${n}`],block:e}})).filter((e=>{let{templatePart:t}=e;return!!t}))})),ut={reducer:M,actions:a,selectors:l,controls:E.controls,persist:["preferences"]},mt=(0,c.createReduxStore)(v,ut);(0,c.registerStore)(v,ut);var dt,pt=dt||(dt={});pt.Pop="POP",pt.Push="PUSH",pt.Replace="REPLACE";var _t=function(e){return e};function gt(e){e.preventDefault(),e.returnValue=""}function ht(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function Et(){return Math.random().toString(36).substr(2,8)}function ft(e){var t=e.pathname;t=void 0===t?"/":t;var n=e.search;return n=void 0===n?"":n,e=void 0===(e=e.hash)?"":e,n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),e&&"#"!==e&&(t+="#"===e.charAt(0)?e:"#"+e),t}function vt(e){var t={};if(e){var n=e.indexOf("#");0<=n&&(t.hash=e.substr(n),e=e.substr(0,n)),0<=(n=e.indexOf("?"))&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}const yt=function(e){function t(){var e=o.location,t=i.state||{};return[t.idx,_t({pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"})]}function n(e){return"string"==typeof e?e:ft(e)}function r(e,t){return void 0===t&&(t=null),_t(R({pathname:m.pathname,hash:"",search:""},"string"==typeof e?vt(e):e,{state:t,key:Et()}))}function a(e){c=e,e=t(),u=e[0],m=e[1],d.call({action:c,location:m})}function l(e){i.go(e)}void 0===e&&(e={});var o=void 0===(e=e.window)?document.defaultView:e,i=o.history,s=null;o.addEventListener("popstate",(function(){if(s)p.call(s),s=null;else{var e=dt.Pop,n=t(),r=n[0];if(n=n[1],p.length){if(null!=r){var o=u-r;o&&(s={action:e,location:n,retry:function(){l(-1*o)}},l(o))}}else a(e)}}));var c=dt.Pop,u=(e=t())[0],m=e[1],d=ht(),p=ht();return null==u&&(u=0,i.replaceState(R({},i.state,{idx:u}),"")),{get action(){return c},get location(){return m},createHref:n,push:function e(t,l){var s=dt.Push,c=r(t,l);if(!p.length||(p.call({action:s,location:c,retry:function(){e(t,l)}}),0)){var m=[{usr:c.state,key:c.key,idx:u+1},n(c)];c=m[0],m=m[1];try{i.pushState(c,"",m)}catch(e){o.location.assign(m)}a(s)}},replace:function e(t,l){var o=dt.Replace,s=r(t,l);p.length&&(p.call({action:o,location:s,retry:function(){e(t,l)}}),1)||(s=[{usr:s.state,key:s.key,idx:u},n(s)],i.replaceState(s[0],"",s[1]),a(o))},go:l,back:function(){l(-1)},forward:function(){l(1)},listen:function(e){return d.push(e)},block:function(e){var t=p.push(e);return 1===p.length&&o.addEventListener("beforeunload",gt),function(){t(),p.length||o.removeEventListener("beforeunload",gt)}}}}(),bt=yt.push,wt=yt.replace;yt.push=function(e,t){return bt.call(yt,(0,_.addQueryArgs)(window.location.href,e),t)},yt.replace=function(e,t){return wt.call(yt,(0,_.addQueryArgs)(window.location.href,e),t)};var St=yt;const kt=(0,o.createContext)(),xt=(0,o.createContext)();function Tt(){return(0,o.useContext)(kt)}function Ct(){return(0,o.useContext)(xt)}function Nt(e){const t=new URLSearchParams(e.search);return{...e,params:Object.fromEntries(t.entries())}}function It(e){let{children:t}=e;const[n,r]=(0,o.useState)((()=>Nt(St.location)));return(0,o.useEffect)((()=>St.listen((e=>{let{location:t}=e;r(Nt(t))}))),[]),(0,o.createElement)(xt.Provider,{value:St},(0,o.createElement)(kt.Provider,{value:n},t(n)))}var Pt=window.wp.blockEditor,Mt=window.wp.keyboardShortcuts;var At=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));var Rt=(0,o.createElement)(O.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(O.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"})),Lt=window.wp.keycodes;var Bt=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));var Dt=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));const Ot=[{keyCombination:{modifier:"primary",character:"b"},description:(0,d.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:(0,d.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:(0,d.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:(0,d.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:(0,d.__)("Underline the selected text.")}];function Ft(e){let{keyCombination:t,forceAriaLabel:n}=e;const r=t.modifier?Lt.displayShortcutList[t.modifier](t.character):t.character,a=t.modifier?Lt.shortcutAriaLabel[t.modifier](t.character):t.character;return(0,o.createElement)("kbd",{className:"edit-site-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":n||a},(0,U.castArray)(r).map(((e,t)=>"+"===e?(0,o.createElement)(o.Fragment,{key:t},e):(0,o.createElement)("kbd",{key:t,className:"edit-site-keyboard-shortcut-help-modal__shortcut-key"},e))))}function Vt(e){let{description:t,keyCombination:n,aliases:r=[],ariaLabel:a}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"edit-site-keyboard-shortcut-help-modal__shortcut-description"},t),(0,o.createElement)("div",{className:"edit-site-keyboard-shortcut-help-modal__shortcut-term"},(0,o.createElement)(Ft,{keyCombination:n,forceAriaLabel:a}),r.map(((e,t)=>(0,o.createElement)(Ft,{keyCombination:e,forceAriaLabel:a,key:t})))))}function zt(e){let{name:t}=e;const{keyCombination:n,description:r,aliases:a}=(0,c.useSelect)((e=>{const{getShortcutKeyCombination:n,getShortcutDescription:r,getShortcutAliases:a}=e(Mt.store);return{keyCombination:n(t),aliases:a(t),description:r(t)}}),[t]);return n?(0,o.createElement)(Vt,{keyCombination:n,description:r,aliases:a}):null}const Gt=e=>{let{shortcuts:t}=e;return(0,o.createElement)("ul",{className:"edit-site-keyboard-shortcut-help-modal__shortcut-list",role:"list"},t.map(((e,t)=>(0,o.createElement)("li",{className:"edit-site-keyboard-shortcut-help-modal__shortcut",key:t},(0,U.isString)(e)?(0,o.createElement)(zt,{name:e}):(0,o.createElement)(Vt,e)))))},Ut=e=>{let{title:t,shortcuts:n,className:r}=e;return(0,o.createElement)("section",{className:B()("edit-site-keyboard-shortcut-help-modal__section",r)},!!t&&(0,o.createElement)("h2",{className:"edit-site-keyboard-shortcut-help-modal__section-title"},t),(0,o.createElement)(Gt,{shortcuts:n}))},Ht=e=>{let{title:t,categoryName:n,additionalShortcuts:r=[]}=e;const a=(0,c.useSelect)((e=>e(Mt.store).getCategoryShortcuts(n)),[n]);return(0,o.createElement)(Ut,{title:t,shortcuts:a.concat(r)})};function $t(e){let{isModalActive:t,toggleModal:n}=e;return t?(0,o.createElement)(D.Modal,{className:"edit-site-keyboard-shortcut-help-modal",title:(0,d.__)("Keyboard shortcuts"),closeLabel:(0,d.__)("Close"),onRequestClose:n},(0,o.createElement)(Ut,{className:"edit-site-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-site/keyboard-shortcuts"]}),(0,o.createElement)(Ht,{title:(0,d.__)("Global shortcuts"),categoryName:"global"}),(0,o.createElement)(Ht,{title:(0,d.__)("Selection shortcuts"),categoryName:"selection"}),(0,o.createElement)(Ht,{title:(0,d.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:(0,d.__)("Change the block type after adding a new paragraph."),ariaLabel:(0,d.__)("Forward-slash")}]}),(0,o.createElement)(Ut,{title:(0,d.__)("Text formatting"),shortcuts:Ot})):null}var Wt=window.wp.a11y;function jt(e){let{feature:t,label:n,info:r,messageActivated:a,messageDeactivated:l}=e;const i=(0,c.useSelect)((e=>e(mt).isFeatureActive(t)),[]),{toggleFeature:s}=(0,c.useDispatch)(mt);return(0,o.createElement)(D.MenuItem,{icon:i&&F,isSelected:i,onClick:(0,U.flow)(s.bind(null,t),(()=>{i?(0,Wt.speak)(l||(0,d.__)("Feature deactivated")):(0,Wt.speak)(a||(0,d.__)("Feature activated"))})),role:"menuitemcheckbox",info:r},n)}const{Fill:qt,Slot:Kt}=(0,D.createSlotFill)("EditSiteToolsMoreMenuGroup");qt.Slot=e=>{let{fillProps:t}=e;return(0,o.createElement)(Kt,{fillProps:t},(e=>!(0,U.isEmpty)(e)&&e))};var Yt=qt,Xt=n(8981),Qt=n.n(Xt),Zt=window.wp.apiFetch,Jt=n.n(Zt);var en=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M18 11.3l-1-1.1-4 4V3h-1.5v11.3L7 10.2l-1 1.1 6.2 5.8 5.8-5.8zm.5 3.7v3.5h-13V15H4v5h16v-5h-1.5z"}));function tn(){const{createErrorNotice:e}=(0,c.useDispatch)(A.store);return(0,o.createElement)(D.MenuItem,{role:"menuitem",icon:en,onClick:async function(){try{const e=await Jt()({path:"/wp-block-editor/v1/export",parse:!1}),t=await e.blob();Qt()(t,"edit-site-export.zip","application/zip")}catch(t){let n={};try{n=await t.json()}catch(e){}const r=n.message&&"unknown_error"!==n.code?n.message:(0,d.__)("An error occurred while creating the site export.");e(r,{type:"snackbar"})}},info:(0,d.__)("Download your templates and template parts.")},(0,d._x)("Export","site exporter menu item"))}function nn(){const{toggleFeature:e}=(0,c.useDispatch)(mt);return(0,o.createElement)(D.MenuItem,{onClick:()=>e("welcomeGuide")},(0,d.__)("Welcome Guide"))}const rn={className:"edit-site-more-menu__content",position:"bottom left"},an={tooltipPosition:"bottom"};function ln(){const[e,t]=(0,o.useReducer)((e=>!e),!1);return(0,Mt.useShortcut)("core/edit-site/keyboard-shortcuts",t),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(D.DropdownMenu,{className:"edit-site-more-menu",icon:Bt,label:(0,d.__)("More tools & options"),popoverProps:rn,toggleProps:an},(e=>{let{onClose:n}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(D.MenuGroup,{label:(0,d._x)("View","noun")},(0,o.createElement)(jt,{feature:"fixedToolbar",label:(0,d.__)("Top toolbar"),info:(0,d.__)("Access all block and document tools in a single place"),messageActivated:(0,d.__)("Top toolbar activated"),messageDeactivated:(0,d.__)("Top toolbar deactivated")}),(0,o.createElement)(jt,{feature:"focusMode",label:(0,d.__)("Spotlight mode"),info:(0,d.__)("Focus on one block at a time"),messageActivated:(0,d.__)("Spotlight mode activated"),messageDeactivated:(0,d.__)("Spotlight mode deactivated")}),(0,o.createElement)(de.Slot,{name:"core/edit-site/plugin-more-menu",label:(0,d.__)("Plugins"),as:D.MenuGroup,fillProps:{onClick:n}})),(0,o.createElement)(D.MenuGroup,{label:(0,d.__)("Tools")},(0,o.createElement)(tn,null),(0,o.createElement)(D.MenuItem,{onClick:t,shortcut:Lt.displayShortcut.access("h")},(0,d.__)("Keyboard shortcuts")),(0,o.createElement)(nn,null),(0,o.createElement)(D.MenuItem,{icon:Dt,role:"menuitem",href:(0,d.__)("https://wordpress.org/support/article/site-editor/"),target:"_blank",rel:"noopener noreferrer"},(0,d.__)("Help"),(0,o.createElement)(D.VisuallyHidden,{as:"span"},(0,d.__)("(opens in a new tab)"))),(0,o.createElement)(Yt.Slot,{fillProps:{onClose:n}})))})),(0,o.createElement)($t,{isModalActive:e,toggleModal:t}))}function on(e){let{openEntitiesSavedStates:t,isEntitiesSavedStatesOpen:n}=e;const{isDirty:r,isSaving:a}=(0,c.useSelect)((e=>{const{__experimentalGetDirtyEntityRecords:t,isSavingEntityRecord:n}=e(u.store),r=t();return{isDirty:r.length>0,isSaving:(0,U.some)(r,(e=>n(e.kind,e.name,e.key)))}}),[]),l=!r||a;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(D.Button,{variant:"primary",className:"edit-site-save-button__button","aria-disabled":l,"aria-expanded":n,disabled:l,isBusy:a,onClick:l?void 0:t},(0,d.__)("Save")))}var sn=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"}));var cn=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"}));function un(){const e=(0,c.useSelect)((e=>e(u.store).hasUndo()),[]),{undo:t}=(0,c.useDispatch)(u.store);return(0,o.createElement)(D.Button,{icon:(0,d.isRTL)()?cn:sn,label:(0,d.__)("Undo"),shortcut:Lt.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?t:void 0})}function mn(){const e=(0,c.useSelect)((e=>e(u.store).hasRedo()),[]),{redo:t}=(0,c.useDispatch)(u.store);return(0,o.createElement)(D.Button,{icon:(0,d.isRTL)()?sn:cn,label:(0,d.__)("Redo"),shortcut:Lt.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?t:void 0})}var dn=(0,o.createElement)(O.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(O.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));function pn(e){if(e){const t=(0,i.getBlockType)(e.name);return t?(0,i.__experimentalGetBlockLabel)(t,e.attributes):null}return null}function _n(e){let{entityTitle:t,entityLabel:n,isLoaded:r,children:a}=e;const{label:l}=function(){const{getBlock:e}=(0,c.useSelect)(Pt.store),t=(0,c.useSelect)((e=>e(Pt.store).__experimentalGetActiveBlockIdByBlockNames(["core/template-part"])),[]);return t?{label:pn(e(t)),isActive:!0}:{}}(),i=(0,o.useRef)();return r?t?(0,o.createElement)("div",{className:B()("edit-site-document-actions",{"has-secondary-label":!!l})},(0,o.createElement)("div",{ref:i,className:"edit-site-document-actions__title-wrapper"},(0,o.createElement)(D.__experimentalText,{size:"body",className:"edit-site-document-actions__title",as:"h1"},(0,o.createElement)(D.VisuallyHidden,{as:"span"},(0,d.sprintf)((0,d.__)("Editing %s: "),n)),t),(0,o.createElement)(D.__experimentalText,{size:"body",className:"edit-site-document-actions__secondary-item"},null!=l?l:""),a&&(0,o.createElement)(D.Dropdown,{popoverProps:{anchorRef:i.current},position:"bottom center",renderToggle:e=>{let{isOpen:t,onToggle:r}=e;return(0,o.createElement)(D.Button,{className:"edit-site-document-actions__get-info",icon:dn,"aria-expanded":t,"aria-haspopup":"true",onClick:r,label:(0,d.sprintf)((0,d.__)("Show %s details"),n)})},contentClassName:"edit-site-document-actions__info-dropdown",renderContent:a}))):(0,o.createElement)("div",{className:"edit-site-document-actions"},(0,d.__)("Template not found")):(0,o.createElement)("div",{className:"edit-site-document-actions"},(0,d.__)("Loading…"))}function gn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=Ct();function a(a){a.preventDefault(),n?r.replace(e,t):r.push(e,t)}return{href:(0,_.addQueryArgs)(window.location.href,e),onClick:a}}function hn(e){let{params:t={},state:n,replace:r=!1,children:a,...l}=e;const{href:i,onClick:s}=gn(t,n,r);return(0,o.createElement)("a",R({href:i,onClick:s},l),a)}function En(e){var t;let{onClose:n,templatePart:r,closeTemplateDetailsDropdown:a}=e;const{revertTemplate:l}=(0,c.useDispatch)(mt),{params:i}=Tt(),s=gn({postId:r.id,postType:r.type},{fromTemplateId:i.postId});return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(D.MenuGroup,null,(0,o.createElement)(D.MenuItem,R({},s,{onClick:function(e){s.onClick(e),n(),a()}}),(0,d.sprintf)((0,d.__)("Edit %s"),null===(t=r.title)||void 0===t?void 0:t.rendered))),ke(r)&&(0,o.createElement)(D.MenuGroup,null,(0,o.createElement)(D.MenuItem,{info:(0,d.__)("Restore template to default state"),onClick:function(){l(r),n(),a()}},(0,d.__)("Clear customizations"))))}function fn(e){let{templatePart:t,clientId:n,closeTemplateDetailsDropdown:r}=e;const{selectBlock:a,toggleBlockHighlight:l}=(0,c.useDispatch)(Pt.store),i=(0,c.useSelect)((e=>e(m.store).__experimentalGetDefaultTemplatePartAreas().find((e=>e.area===t.area))),[t.area]),s=()=>l(n,!0),u=()=>l(n,!1);return(0,o.createElement)("div",{role:"menuitem",className:"edit-site-template-details__template-areas-item"},(0,o.createElement)(D.MenuItem,{role:"button",icon:null==i?void 0:i.icon,iconPosition:"left",onClick:()=>{a(n)},onMouseOver:s,onMouseLeave:u,onFocus:s,onBlur:u},null==i?void 0:i.label),(0,o.createElement)(D.DropdownMenu,{icon:Bt,label:(0,d.__)("More options"),className:"edit-site-template-details__template-areas-item-more"},(e=>{let{onClose:n}=e;return(0,o.createElement)(En,{onClose:n,templatePart:t,closeTemplateDetailsDropdown:r})})))}function vn(e){let{closeTemplateDetailsDropdown:t}=e;const n=(0,c.useSelect)((e=>e(mt).getCurrentTemplateTemplateParts()),[]);return n.length?(0,o.createElement)(D.MenuGroup,{label:(0,d.__)("Areas"),className:"edit-site-template-details__group edit-site-template-details__template-areas"},n.map((e=>{let{templatePart:n,block:r}=e;return(0,o.createElement)(fn,{key:n.slug,clientId:r.clientId,templatePart:n,closeTemplateDetailsDropdown:t})}))):null}function yn(e){let{template:t}=e;const[n,r]=(0,u.useEntityProp)("postType",t.type,"title",t.id);return(0,o.createElement)(D.TextControl,{label:(0,d.__)("Title"),value:n,help:(0,d.__)('Give the template a title that indicates its purpose, e.g. "Full Width".'),onChange:e=>{r(e||t.slug)}})}function bn(e){let{template:t,onClose:n}=e;const{title:r,description:a}=(0,c.useSelect)((e=>e(m.store).__experimentalGetTemplateInfo(t)),[]),{revertTemplate:l}=(0,c.useDispatch)(mt),i=(0,o.useMemo)((()=>"wp_template"===(null==t?void 0:t.type)?{title:(0,d.__)("templates"),menu:C}:I.find((e=>{let{area:n}=e;return n===(null==t?void 0:t.area)}))),[t]),s=gn({postType:t.type,postId:void 0});if(!t)return null;return(0,o.createElement)("div",{className:"edit-site-template-details"},(0,o.createElement)("div",{className:"edit-site-template-details__group"},t.is_custom?(0,o.createElement)(yn,{template:t}):(0,o.createElement)(D.__experimentalHeading,{level:4,weight:600,className:"edit-site-template-details__title"},r),a&&(0,o.createElement)(D.__experimentalText,{size:"body",className:"edit-site-template-details__description",as:"p"},a)),(0,o.createElement)(vn,{closeTemplateDetailsDropdown:n}),ke(t)&&(0,o.createElement)(D.MenuGroup,{className:"edit-site-template-details__group edit-site-template-details__revert"},(0,o.createElement)(D.MenuItem,{className:"edit-site-template-details__revert-button",info:(0,d.__)("Restore template to default state"),onClick:()=>{l(t),n()}},(0,d.__)("Clear customizations"))),(0,o.createElement)(D.Button,R({className:"edit-site-template-details__show-all-button"},s),(0,d.sprintf)((0,d.__)("Browse all %s"),i.title)))}const wn=e=>{e.preventDefault()};function Sn(e){let{openEntitiesSavedStates:t,isEntitiesSavedStatesOpen:n}=e;const r=(0,o.useRef)(),{deviceType:a,entityTitle:l,template:i,templateType:s,isInserterOpen:p,isListViewOpen:_,listViewShortcut:g,isLoaded:h}=(0,c.useSelect)((e=>{const{__experimentalGetPreviewDeviceType:t,getEditedPostType:n,getEditedPostId:r,isInserterOpened:a,isListViewOpened:l}=e(mt),{getEditedEntityRecord:o}=e(u.store),{__experimentalGetTemplateInfo:i}=e(m.store),{getShortcutRepresentation:s}=e(Mt.store),c=n(),d=r(),p=o("postType",c,d),_=!!d;return{deviceType:t(),entityTitle:i(p).title,isLoaded:_,template:p,templateType:c,isInserterOpen:a(),isListViewOpen:l(),listViewShortcut:s("core/edit-site/toggle-list-view")}}),[]),{__experimentalSetPreviewDeviceType:E,setIsInserterOpened:f,setIsListViewOpened:v}=(0,c.useDispatch)(mt),y=(0,ye.useViewportMatch)("medium"),b=(0,o.useCallback)((()=>{p?r.current.focus():f(!0)}),[p,f]),w=(0,o.useCallback)((()=>v(!_)),[v,_]),S="wp_template_part"===s;return(0,o.createElement)("div",{className:"edit-site-header"},(0,o.createElement)("div",{className:"edit-site-header_start"},(0,o.createElement)("div",{className:"edit-site-header__toolbar"},(0,o.createElement)(D.Button,{ref:r,variant:"primary",isPressed:p,className:"edit-site-header-toolbar__inserter-toggle",onMouseDown:wn,onClick:b,icon:At,label:(0,d._x)("Toggle block inserter","Generic label for block inserter button")}),y&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Pt.ToolSelector,null),(0,o.createElement)(un,null),(0,o.createElement)(mn,null),(0,o.createElement)(D.Button,{className:"edit-site-header-toolbar__list-view-toggle",icon:Rt,isPressed:_,label:(0,d.__)("List View"),onClick:w,shortcut:g})))),(0,o.createElement)("div",{className:"edit-site-header_center"},(0,o.createElement)(_n,{entityTitle:l,entityLabel:"wp_template_part"===s?"template part":"template",isLoaded:h},(e=>{let{onClose:t}=e;return(0,o.createElement)(bn,{template:i,onClose:t})}))),(0,o.createElement)("div",{className:"edit-site-header_end"},(0,o.createElement)("div",{className:"edit-site-header__actions"},!S&&(0,o.createElement)(Pt.__experimentalPreviewOptions,{deviceType:a,setDeviceType:E}),(0,o.createElement)(on,{openEntitiesSavedStates:t,isEntitiesSavedStatesOpen:n}),(0,o.createElement)(he.Slot,{scope:"core/edit-site"}),(0,o.createElement)(ln,null))))}var kn=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));function xn(e){let{className:t,identifier:n,title:r,icon:a,children:l,closeLabel:i,header:s,headerClassName:c}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(ve,{className:t,scope:"core/edit-site",identifier:n,title:r,icon:a,closeLabel:i,header:s,headerClassName:c},l),(0,o.createElement)(_e,{scope:"core/edit-site",identifier:n,icon:a},r))}var Tn=(0,o.createElement)(O.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(O.Path,{d:"M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z"}));var Cn=function(e){let{icon:t,size:n=24,...r}=e;return(0,o.cloneElement)(t,{width:n,height:n,...r})};var Nn=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));var In=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));const Pn="body",Mn=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["typography","fontSizes"],valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]}],An={"color.background":"color","color.text":"color","elements.link.color.text":"color","color.gradient":"gradient","typography.fontSize":"font-size","typography.fontFamily":"font-family"};function Rn(e,t,n,r,a){const l=[(0,U.get)(e,["blocks",t,...n]),(0,U.get)(e,n)];for(const o of l)if(o){const l=["custom","theme","default"];for(const i of l){const l=o[i];if(l){const o=(0,U.find)(l,(e=>e[r]===a));if(o){if("slug"===r)return o;return Rn(e,t,n,"slug",o.slug)[r]===o[r]?o:void 0}}}}}function Ln(e,t,n,r){if(!r)return r;const a=An[n],l=(0,U.find)(Mn,["cssVarInfix",a]);if(!l)return r;const{valueKey:o,path:i}=l,s=Rn(e,t,i,o,r);return s?`var:preset|${a}|${s.slug}`:r}function Bn(e,t,n){if(!n||!(0,U.isString)(n))return n;const r="var:",a="var(--wp--";let l;if(n.startsWith(r))l=n.slice(r.length).split("|");else{if(!n.startsWith(a)||!n.endsWith(")"))return n;l=n.slice(a.length,-")".length).split("--")}const[o,...i]=l;return"preset"===o?function(e,t,n,r){let[a,l]=r;const o=(0,U.find)(Mn,["cssVarInfix",a]);if(!o)return n;const i=Rn(e,t,o.path,"slug",l);if(i){const{valueKey:n}=o;return Bn(e,t,i[n])}return n}(e,t,n,i):"custom"===o?function(e,t,n,r){var a;const l=null!==(a=(0,U.get)(e,["blocks",t,"custom",...r]))&&void 0!==a?a:(0,U.get)(e,["custom",...r]);return l?Bn(e,t,l):n}(e,t,n,i):n}const Dn=(0,o.createContext)({user:{},base:{},merged:{},setUserConfig:()=>{}}),On={isGlobalStylesUserThemeJSON:!0,version:1};function Fn(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";const{merged:a,base:l,user:s,setUserConfig:c}=(0,o.useContext)(Dn),u=t?`settings.blocks.${t}.${e}`:`settings.${e}`,m=t=>{c((n=>{const r=(0,U.cloneDeep)(n),a=i.__EXPERIMENTAL_PATHS_WITH_MERGE[e]?u+".custom":u;return(0,U.set)(r,a,t),r}))},d=t=>{const n=t?`settings.blocks.${t}.${e}`:`settings.${e}`,o=t=>{const r=(0,U.get)(t,n);var a,l;return i.__EXPERIMENTAL_PATHS_WITH_MERGE[e]?null!==(a=null!==(l=null==r?void 0:r.custom)&&void 0!==l?l:null==r?void 0:r.theme)&&void 0!==a?a:null==r?void 0:r.default:r};let c;switch(r){case"all":c=o(a);break;case"user":c=o(s);break;case"base":c=o(l);break;default:throw"Unsupported source"}return c},p=null!==(n=d(t))&&void 0!==n?n:d();return[p,m]}function Vn(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";const{merged:a,base:l,user:i,setUserConfig:s}=(0,o.useContext)(Dn),c=t?`styles.blocks.${t}.${e}`:`styles.${e}`,u=n=>{s((r=>{const l=(0,U.cloneDeep)(r);return(0,U.set)(l,c,Ln(a.settings,t,e,n)),l}))};let m;switch(r){case"all":m=Bn(a.settings,t,null!==(n=(0,U.get)(i,c))&&void 0!==n?n:(0,U.get)(l,c));break;case"user":m=Bn(a.settings,t,(0,U.get)(i,c));break;case"base":m=Bn(l.settings,t,(0,U.get)(l,c));break;default:throw"Unsupported source"}return[m,u]}const zn=["background","backgroundColor","color","linkColor","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textDecoration","textTransform","padding"];function Gn(e){if(!e)return zn;const t=(0,i.getBlockType)(e);if(!t)return[];const n=[];return Object.keys(i.__EXPERIMENTAL_STYLE_PROPERTY).forEach((e=>{if(i.__EXPERIMENTAL_STYLE_PROPERTY[e].support)return i.__EXPERIMENTAL_STYLE_PROPERTY[e].requiresOptOut&&(0,U.has)(t.supports,i.__EXPERIMENTAL_STYLE_PROPERTY[e].support[0])&&!1!==(0,U.get)(t.supports,i.__EXPERIMENTAL_STYLE_PROPERTY[e].support)||(0,U.get)(t.supports,i.__EXPERIMENTAL_STYLE_PROPERTY[e].support,!1)?n.push(e):void 0})),n}function Un(e){const[t]=Fn("color.palette.custom",e),[n]=Fn("color.palette.theme",e),[r]=Fn("color.palette.default",e),[a]=Fn("color.defaultPalette");return(0,o.useMemo)((()=>{const e=[];return n&&n.length&&e.push({name:(0,d._x)("Theme","Indicates this palette comes from the theme."),colors:n}),a&&r&&r.length&&e.push({name:(0,d._x)("Default","Indicates this palette comes from WordPress."),colors:r}),t&&t.length&&e.push({name:(0,d._x)("Custom","Indicates this palette is created by the user."),colors:t}),e}),[t,n,r])}var Hn=()=>{const[e="serif"]=Vn("typography.fontFamily"),[t="black"]=Vn("color.text"),[n="blue"]=Vn("elements.link.color.text"),[r="white"]=Vn("color.background"),[a]=Vn("color.gradient");return(0,o.createElement)(D.Card,{className:"edit-site-global-styles-preview",style:{background:null!=a?a:r}},(0,o.createElement)(D.__experimentalHStack,{spacing:5},(0,o.createElement)("div",{style:{fontFamily:e,fontSize:"80px",color:t}},"Aa"),(0,o.createElement)(D.__experimentalVStack,{spacing:2},(0,o.createElement)(D.ColorIndicator,{colorValue:t}),(0,o.createElement)(D.ColorIndicator,{colorValue:n}))))};var $n=function(e){let{path:t,icon:n,children:r,isBack:a=!1,...l}=e;const i=(0,D.__experimentalUseNavigator)();return(0,o.createElement)(D.__experimentalItem,R({onClick:()=>i.push(t,{isBack:a})},l),n&&(0,o.createElement)(D.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(Cn,{icon:n,size:24})),(0,o.createElement)(D.FlexItem,null,r)),!n&&r)};var Wn=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"}));var jn=(0,o.createElement)(O.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,o.createElement)(O.Path,{d:"M17.2 10.9c-.5-1-1.2-2.1-2.1-3.2-.6-.9-1.3-1.7-2.1-2.6L12 4l-1 1.1c-.6.9-1.3 1.7-2 2.6-.8 1.2-1.5 2.3-2 3.2-.6 1.2-1 2.2-1 3 0 3.4 2.7 6.1 6.1 6.1s6.1-2.7 6.1-6.1c0-.8-.3-1.8-1-3zm-5.1 7.6c-2.5 0-4.6-2.1-4.6-4.6 0-.3.1-1 .8-2.3.5-.9 1.1-1.9 2-3.1.7-.9 1.3-1.7 1.8-2.3.7.8 1.3 1.6 1.8 2.3.8 1.1 1.5 2.2 2 3.1.7 1.3.8 2 .8 2.3 0 2.5-2.1 4.6-4.6 4.6z"}));var qn=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));const Kn=[];function Yn(e){return[Xn(e),Qn(e),Zn(e),Jn(e)].some(Boolean)}function Xn(e){const t=Gn(e);return Fn("border.color",e)[0]&&t.includes("borderColor")}function Qn(e){const t=Gn(e);return Fn("border.radius",e)[0]&&t.includes("borderRadius")}function Zn(e){const t=Gn(e);return Fn("border.style",e)[0]&&t.includes("borderStyle")}function Jn(e){const t=Gn(e);return Fn("border.width",e)[0]&&t.includes("borderWidth")}function er(e){let{name:t}=e;const n=(0,D.__experimentalUseCustomUnits)({availableUnits:Fn("spacing.units")[0]||["px","em","rem"]}),r=Jn(t),[a,l]=Vn("border.width",t),i=Zn(t),[s,c]=Vn("border.style",t),[u=Kn]=Fn("color.palette"),m=!Fn("color.custom")[0],p=!Fn("color.customGradient")[0],_=Xn(t),[g,h]=Vn("border.color",t),E=Qn(t),[f,v]=Vn("border.radius",t);return(0,o.createElement)(D.PanelBody,{title:(0,d.__)("Border"),initialOpen:!0},(r||i)&&(0,o.createElement)("div",{className:"edit-site-global-styles-sidebar__border-controls-row"},r&&(0,o.createElement)(D.__experimentalUnitControl,{value:a,label:(0,d.__)("Width"),min:0,onChange:e=>{l(e||void 0)},units:n}),i&&(0,o.createElement)(Pt.__experimentalBorderStyleControl,{value:s,onChange:c})),_&&(0,o.createElement)(Pt.__experimentalColorGradientControl,{label:(0,d.__)("Color"),colorValue:g,colors:u,gradients:void 0,disableCustomColors:m,disableCustomGradients:p,onColorChange:h}),E&&(0,o.createElement)(Pt.__experimentalBorderRadiusControl,{values:f,onChange:v}))}function tr(e){const t=Gn(e);return t.includes("color")||t.includes("backgroundColor")||t.includes("background")||t.includes("linkColor")}const nr=["horizontal","vertical"];function rr(e){const t=ar(e),n=lr(e),r=or(e);return t||n||r}function ar(e){const t=Gn(e),[n]=Fn("spacing.padding",e);return n&&t.includes("padding")}function lr(e){const t=Gn(e),[n]=Fn("spacing.margin",e);return n&&t.includes("margin")}function or(e){const t=Gn(e),[n]=Fn("spacing.blockGap",e);return n&&t.includes("--wp--style--block-gap")}function ir(e,t){if(!t)return e;const n={};return t.forEach((t=>{"vertical"===t&&(n.top=e.top,n.bottom=e.bottom),"horizontal"===t&&(n.left=e.left,n.right=e.right),n[t]=e[t]})),n}function sr(e){return e&&"string"==typeof e?{top:e,right:e,bottom:e,left:e}:e}function cr(e){let{name:t}=e;const n=ar(t),r=lr(t),a=or(t),l=(0,D.__experimentalUseCustomUnits)({availableUnits:Fn("spacing.units",t)[0]||["%","px","em","rem","vw"]}),[i,s]=Vn("spacing.padding",t),c=sr(i),u=(0,Pt.__experimentalUseCustomSides)(t,"padding"),m=u&&u.some((e=>nr.includes(e))),p=e=>{const t=ir(e,u);s(t)},_=()=>p({}),[g,h]=Vn("spacing.margin",t),E=sr(g),f=(0,Pt.__experimentalUseCustomSides)(t,"margin"),v=f&&f.some((e=>nr.includes(e))),y=e=>{const t=ir(e,f);h(t)},b=()=>y({}),[w,S]=Vn("spacing.blockGap",t),k=()=>S(void 0);return(0,o.createElement)(D.__experimentalToolsPanel,{label:(0,d.__)("Dimensions"),resetAll:()=>{_(),b(),k()}},n&&(0,o.createElement)(D.__experimentalToolsPanelItem,{hasValue:()=>!!c&&Object.keys(c).length,label:(0,d.__)("Padding"),onDeselect:_,isShownByDefault:!0},(0,o.createElement)(D.__experimentalBoxControl,{values:c,onChange:p,label:(0,d.__)("Padding"),sides:u,units:l,allowReset:!1,splitOnAxis:m})),r&&(0,o.createElement)(D.__experimentalToolsPanelItem,{hasValue:()=>!!E&&Object.keys(E).length,label:(0,d.__)("Margin"),onDeselect:b,isShownByDefault:!0},(0,o.createElement)(D.__experimentalBoxControl,{values:E,onChange:y,label:(0,d.__)("Margin"),sides:f,units:l,allowReset:!1,splitOnAxis:v})),a&&(0,o.createElement)(D.__experimentalToolsPanelItem,{hasValue:()=>!!w,label:(0,d.__)("Block spacing"),onDeselect:k,isShownByDefault:!0},(0,o.createElement)(D.__experimentalUnitControl,{label:(0,d.__)("Block spacing"),__unstableInputWidth:"80px",min:0,onChange:S,units:l,value:w})))}function ur(e){const t=mr(e),n=dr(e),r=pr(e),a=Gn(e);return t||n||r||a.includes("fontSize")}function mr(e){const t=Gn(e);return Fn("typography.lineHeight",e)[0]&&t.includes("lineHeight")}function dr(e){const t=Gn(e),n=Fn("typography.fontStyle",e)[0]&&t.includes("fontStyle"),r=Fn("typography.fontWeight",e)[0]&&t.includes("fontWeight");return n||r}function pr(e){const t=Gn(e);return Fn("typography.letterSpacing",e)[0]&&t.includes("letterSpacing")}function _r(e){let{name:t,element:n}=e;const r=Gn(t),a="text"!==n&&n?`elements.${n}.`:"",[l]=Fn("typography.fontSizes",t),i=!Fn("typography.customFontSize",t)[0],[s]=Fn("typography.fontFamilies",t),c=Fn("typography.fontStyle",t)[0]&&r.includes("fontStyle"),u=Fn("typography.fontWeight",t)[0]&&r.includes("fontWeight"),m=mr(t),d=dr(t),p=pr(t),[_,g]=Vn(a+"typography.fontFamily",t),[h,E]=Vn(a+"typography.fontSize",t),[f,v]=Vn(a+"typography.fontStyle",t),[y,b]=Vn(a+"typography.fontWeight",t),[w,S]=Vn(a+"typography.lineHeight",t),[k,x]=Vn(a+"typography.letterSpacing",t),[T]=Vn(a+"color.background",t),[C]=Vn(a+"color.gradient",t),[N]=Vn(a+"color.text",t),I="link"===n?{textDecoration:"underline"}:{};return(0,o.createElement)(D.PanelBody,{className:"edit-site-typography-panel",initialOpen:!0},(0,o.createElement)("div",{className:"edit-site-typography-panel__preview",style:{fontFamily:null!=_?_:"serif",background:null!=C?C:T,color:N,fontSize:h,fontStyle:f,fontWeight:y,letterSpacing:k,...I}},"Aa"),r.includes("fontFamily")&&(0,o.createElement)(Pt.__experimentalFontFamilyControl,{fontFamilies:s,value:_,onChange:g}),r.includes("fontSize")&&(0,o.createElement)(D.FontSizePicker,{value:h,onChange:E,fontSizes:l,disableCustomFontSizes:i}),m&&(0,o.createElement)(Pt.LineHeightControl,{value:w,onChange:S}),d&&(0,o.createElement)(Pt.__experimentalFontAppearanceControl,{value:{fontStyle:f,fontWeight:y},onChange:e=>{let{fontStyle:t,fontWeight:n}=e;v(t),b(n)},hasFontStyles:c,hasFontWeights:u}),p&&(0,o.createElement)(Pt.__experimentalLetterSpacingControl,{value:k,onChange:x}))}var gr=function(e){let{name:t,parentMenu:n=""}=e;const r=ur(t),a=tr(t),l=Yn(t),i=rr(t),s=l||i;return(0,o.createElement)(D.__experimentalItemGroup,null,r&&(0,o.createElement)($n,{icon:Wn,path:n+"/typography"},(0,d.__)("Typography")),a&&(0,o.createElement)($n,{icon:jn,path:n+"/colors"},(0,d.__)("Colors")),s&&(0,o.createElement)($n,{icon:qn,path:n+"/layout"},(0,d.__)("Layout")))};var hr=function(){return(0,o.createElement)(D.Card,{size:"small"},(0,o.createElement)(D.CardBody,null,(0,o.createElement)(Hn,null)),(0,o.createElement)(D.CardBody,null,(0,o.createElement)(gr,null)),(0,o.createElement)(D.CardDivider,null),(0,o.createElement)(D.CardBody,null,(0,o.createElement)(D.__experimentalItemGroup,null,(0,o.createElement)(D.__experimentalItem,null,(0,d.__)("Customize the appearance of specific blocks for the whole site.")),(0,o.createElement)($n,{path:"/blocks"},(0,o.createElement)(D.__experimentalHStack,{justify:"space-between"},(0,o.createElement)(D.FlexItem,null,(0,d.__)("Blocks")),(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(Cn,{icon:(0,d.isRTL)()?Nn:In})))))))};var Er=function(e){let{back:t,title:n,description:r}=e;return(0,o.createElement)(D.__experimentalVStack,{spacing:2},(0,o.createElement)(D.__experimentalHStack,{spacing:2},(0,o.createElement)(D.__experimentalView,null,(0,o.createElement)($n,{path:t,icon:(0,o.createElement)(Cn,{icon:(0,d.isRTL)()?In:Nn,variant:"muted"}),size:"small",isBack:!0,"aria-label":(0,d.__)("Navigate to the previous view")})),(0,o.createElement)(D.__experimentalSpacer,null,(0,o.createElement)(D.__experimentalHeading,{level:5},n))),r&&(0,o.createElement)("p",{className:"edit-site-global-styles-header__description"},r))};function fr(e){let{block:t}=e;const n=ur(t.name),r=tr(t.name),a=Yn(t.name),l=rr(t.name);return n||r||(a||l)?(0,o.createElement)($n,{path:"/blocks/"+t.name},(0,o.createElement)(D.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(Pt.BlockIcon,{icon:t.icon})),(0,o.createElement)(D.FlexItem,null,t.title))):null}var vr=function(){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:"/",title:(0,d.__)("Blocks"),description:(0,d.__)("Customize the appearance of specific blocks and for the whole site.")}),(0,i.getBlockTypes)().map((e=>(0,o.createElement)(fr,{block:e,key:"menu-itemblock-"+e.name}))))};var yr=function(e){let{name:t}=e;const n=(0,i.getBlockType)(t);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:"/blocks",title:n.title}),(0,o.createElement)(gr,{parentMenu:"/blocks/"+t,name:t}))};var br=function(e){let{children:t}=e;return(0,o.createElement)(D.__experimentalHeading,{className:"edit-site-global-styles-subtitle",level:2},t)};function wr(e){let{name:t,parentMenu:n,element:r,label:a}=e;const l=!t,i="text"!==r&&r?`elements.${r}.`:"",s="link"===r?{textDecoration:"underline"}:{},[c]=Vn(i+"typography.fontFamily",t),[u]=Vn(i+"typography.fontStyle",t),[m]=Vn(i+"typography.fontWeight",t),[p]=Vn(i+"typography.letterSpacing",t),[_]=Vn(i+"color.background",t),[g]=Vn(i+"color.gradient",t),[h]=Vn(i+"color.text",t);return l?(0,o.createElement)($n,{path:n+"/typography/"+r},(0,o.createElement)(D.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(D.FlexItem,{className:"edit-site-global-styles-screen-typography__indicator",style:{fontFamily:null!=c?c:"serif",background:null!=g?g:_,color:h,fontStyle:u,fontWeight:m,letterSpacing:p,...s}},(0,d.__)("Aa")),(0,o.createElement)(D.FlexItem,null,a))):null}var Sr=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:n||"/",title:(0,d.__)("Typography"),description:(0,d.__)("Manage the typography settings for different elements.")}),!t&&(0,o.createElement)("div",{className:"edit-site-global-styles-screen-typography"},(0,o.createElement)(D.__experimentalVStack,{spacing:3},(0,o.createElement)(br,null,(0,d.__)("Elements")),(0,o.createElement)(D.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},(0,o.createElement)(wr,{name:t,parentMenu:n,element:"text",label:(0,d.__)("Text")}),(0,o.createElement)(wr,{name:t,parentMenu:n,element:"link",label:(0,d.__)("Links")})))),!!t&&(0,o.createElement)(_r,{name:t,element:"text"}))};const kr={text:{description:(0,d.__)("Manage the fonts used on the site."),title:(0,d.__)("Text")},link:{description:(0,d.__)("Manage the fonts and typography used on the links."),title:(0,d.__)("Links")}};var xr=function(e){let{name:t,element:n}=e;const r=void 0===t?"/typography":"/blocks/"+t+"/typography";return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:r,title:kr[n].title,description:kr[n].description}),(0,o.createElement)(_r,{name:t,element:n}))};const Tr=[];var Cr=function(e){let{name:t}=e;const[n]=Fn("color.palette.custom"),[r]=Fn("color.palette.theme"),[a]=Fn("color.palette.default"),[l]=Fn("color.defaultPalette",t),i=(0,o.useMemo)((()=>[...n||Tr,...r||Tr,...a&&l?a:Tr]),[n,r,a,l]),s=t?"/blocks/"+t+"/colors/palette":"/colors/palette",c=i.length>0?(0,d.sprintf)((0,d._n)("%d color","%d colors",i.length),i.length):(0,d.__)("Add custom colors");return(0,o.createElement)(D.__experimentalVStack,{spacing:3},(0,o.createElement)(br,null,(0,d.__)("Palette")),(0,o.createElement)(D.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},(0,o.createElement)($n,{path:s},(0,o.createElement)(D.__experimentalHStack,{isReversed:0===i.length},(0,o.createElement)(D.FlexBlock,null,(0,o.createElement)(D.__experimentalZStack,{isLayered:!1,offset:-8},i.slice(0,5).map((e=>{let{color:t}=e;return(0,o.createElement)(D.ColorIndicator,{key:t,colorValue:t})})))),(0,o.createElement)(D.FlexItem,null,c)))))};function Nr(e){let{name:t,parentMenu:n}=e;const r=Gn(t),a=r.includes("backgroundColor")||r.includes("background"),[l]=Vn("color.background",t),[i]=Vn("color.gradient",t);return a?(0,o.createElement)($n,{path:n+"/colors/background"},(0,o.createElement)(D.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.ColorIndicator,{colorValue:null!=i?i:l})),(0,o.createElement)(D.FlexItem,null,(0,d.__)("Background")))):null}function Ir(e){let{name:t,parentMenu:n}=e;const r=Gn(t).includes("color"),[a]=Vn("color.text",t);return r?(0,o.createElement)($n,{path:n+"/colors/text"},(0,o.createElement)(D.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.ColorIndicator,{colorValue:a})),(0,o.createElement)(D.FlexItem,null,(0,d.__)("Text")))):null}function Pr(e){let{name:t,parentMenu:n}=e;const r=Gn(t).includes("linkColor"),[a]=Vn("elements.link.color.text",t);return r?(0,o.createElement)($n,{path:n+"/colors/link"},(0,o.createElement)(D.__experimentalHStack,{justify:"flex-start"},(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.ColorIndicator,{colorValue:a})),(0,o.createElement)(D.FlexItem,null,(0,d.__)("Links")))):null}var Mr=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:n||"/",title:(0,d.__)("Colors"),description:(0,d.__)("Manage palettes and the default color of different global elements on the website.")}),(0,o.createElement)("div",{className:"edit-site-global-styles-screen-colors"},(0,o.createElement)(D.__experimentalVStack,{spacing:10},(0,o.createElement)(Cr,{name:t}),(0,o.createElement)(D.__experimentalVStack,{spacing:3},(0,o.createElement)(br,null,(0,d.__)("Elements")),(0,o.createElement)(D.__experimentalItemGroup,{isBordered:!0,isSeparated:!0},(0,o.createElement)(Nr,{name:t,parentMenu:n}),(0,o.createElement)(Ir,{name:t,parentMenu:n}),(0,o.createElement)(Pr,{name:t,parentMenu:n}))))))};function Ar(e){let{name:t}=e;const[n,r]=Fn("color.palette.theme",t),[a]=Fn("color.palette.theme",t,"base"),[l,i]=Fn("color.palette.default",t),[s]=Fn("color.palette.default",t,"base"),[c,u]=Fn("color.palette.custom",t),[m]=Fn("color.defaultPalette",t);return(0,o.createElement)(D.__experimentalVStack,{className:"edit-site-global-styles-color-palette-panel",spacing:10},!!n&&!!n.length&&(0,o.createElement)(D.__experimentalPaletteEdit,{canReset:n!==a,canOnlyChangeValues:!0,colors:n,onChange:r,paletteLabel:(0,d.__)("Theme")}),!!l&&!!l.length&&!!m&&(0,o.createElement)(D.__experimentalPaletteEdit,{canReset:l!==s,canOnlyChangeValues:!0,colors:l,onChange:i,paletteLabel:(0,d.__)("Default")}),(0,o.createElement)(D.__experimentalPaletteEdit,{colors:c,onChange:u,paletteLabel:(0,d.__)("Custom"),emptyMessage:(0,d.__)("Custom colors are empty! Add some colors to create your own color palette."),slugPrefix:"custom-"}))}function Rr(e){let{name:t}=e;const[n,r]=Fn("color.gradients.theme",t),[a]=Fn("color.gradients.theme",t,"base"),[l,i]=Fn("color.gradients.default",t),[s]=Fn("color.gradients.default",t,"base"),[c,u]=Fn("color.gradients.custom",t),[m]=Fn("color.defaultGradients",t),[p]=Fn("color.duotone")||[];return(0,o.createElement)(D.__experimentalVStack,{className:"edit-site-global-styles-gradient-palette-panel",spacing:10},!!n&&!!n.length&&(0,o.createElement)(D.__experimentalPaletteEdit,{canReset:n!==a,canOnlyChangeValues:!0,gradients:n,onChange:r,paletteLabel:(0,d.__)("Theme")}),!!l&&!!l.length&&!!m&&(0,o.createElement)(D.__experimentalPaletteEdit,{canReset:l!==s,canOnlyChangeValues:!0,gradients:l,onChange:i,paletteLabel:(0,d.__)("Default")}),(0,o.createElement)(D.__experimentalPaletteEdit,{gradients:c,onChange:u,paletteLabel:(0,d.__)("Custom"),emptyMessage:(0,d.__)("Custom gradients are empty! Add some gradients to create your own palette."),slugPrefix:"custom-"}),(0,o.createElement)("div",null,(0,o.createElement)(br,null,(0,d.__)("Duotone")),(0,o.createElement)(D.__experimentalSpacer,{margin:3}),(0,o.createElement)(D.DuotonePicker,{duotonePalette:p,disableCustomDuotone:!0,disableCustomColors:!0,clearable:!1,onChange:U.noop})))}var Lr=function(e){let{name:t}=e;const[n,r]=(0,o.useState)("solid"),a=void 0===t?"":"/blocks/"+t;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:a+"/colors",title:(0,d.__)("Palette"),description:(0,d.__)("Palettes are used to provide default color options for blocks and various design tools. Here you can edit the colors with their labels.")}),(0,o.createElement)(D.__experimentalToggleGroupControl,{className:"edit-site-screen-color-palette-toggle",value:n,onChange:r,label:(0,d.__)("Select palette type"),hideLabelFromVision:!0,isBlock:!0},(0,o.createElement)(D.__experimentalToggleGroupControlOption,{value:"solid",label:(0,d.__)("Solid")}),(0,o.createElement)(D.__experimentalToggleGroupControlOption,{value:"gradient",label:(0,d.__)("Gradient")})),"solid"===n&&(0,o.createElement)(Ar,{name:t}),"gradient"===n&&(0,o.createElement)(Rr,{name:t}))};var Br=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t,r=Gn(t),[a]=Fn("color.palette",t),[l]=Fn("color.gradients",t),[i]=Fn("color.custom",t),[s]=Fn("color.customGradient",t),c=Un(t),u=function(e){const[t]=Fn("color.gradients.custom",e),[n]=Fn("color.gradients.theme",e),[r]=Fn("color.gradients.default",e),[a]=Fn("color.defaultGradients");return(0,o.useMemo)((()=>{const e=[];return n&&n.length&&e.push({name:(0,d._x)("Theme","Indicates this palette comes from the theme."),gradients:n}),a&&r&&r.length&&e.push({name:(0,d._x)("Default","Indicates this palette comes from WordPress."),gradients:r}),t&&t.length&&e.push({name:(0,d._x)("Custom","Indicates this palette is created by the user."),gradients:t}),e}),[t,n,r])}(t),[m]=Fn("color.background",t),p=r.includes("backgroundColor")&&m&&(a.length>0||i),_=r.includes("background")&&(l.length>0||s),[g,h]=Vn("color.background",t),[E]=Vn("color.background",t,"user"),[f,v]=Vn("color.gradient",t),[y]=Vn("color.gradient",t,"user");if(!p&&!_)return null;let b={};p&&(b={colorValue:g,onColorChange:h},g&&(b.clearable=g===E));let w={};_&&(w={gradientValue:f,onGradientChange:v},f&&(w.clearable=f===y));const S={...b,...w};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:n+"/colors",title:(0,d.__)("Background"),description:(0,d.__)("Set a background color or gradient for the whole website.")}),(0,o.createElement)(Pt.__experimentalColorGradientControl,R({className:"edit-site-screen-background-color__control",colors:c,gradients:u,disableCustomColors:!i,disableCustomGradients:!s,__experimentalHasMultipleOrigins:!0,showTitle:!1,enableAlpha:!0,__experimentalIsRenderedInSidebar:!0},S)))};var Dr=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t,r=Gn(t),[a]=Fn("color.palette",t),[l]=Fn("color.custom",t),[i]=Fn("color.text",t),s=Un(t),c=r.includes("color")&&i&&(a.length>0||l),[u,m]=Vn("color.text",t),[p]=Vn("color.text",t,"user");return c?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:n+"/colors",title:(0,d.__)("Text"),description:(0,d.__)("Set the default color used for text across the site.")}),(0,o.createElement)(Pt.__experimentalColorGradientControl,{className:"edit-site-screen-text-color__control",colors:s,disableCustomColors:!l,__experimentalHasMultipleOrigins:!0,showTitle:!1,enableAlpha:!0,__experimentalIsRenderedInSidebar:!0,colorValue:u,onColorChange:m,clearable:u===p})):null};var Or=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t,r=Gn(t),[a]=Fn("color.palette",t),[l]=Fn("color.custom",t),i=Un(t),[s]=Fn("color.link",t),c=r.includes("linkColor")&&s&&(a.length>0||l),[u,m]=Vn("elements.link.color.text",t),[p]=Vn("elements.link.color.text",t,"user");return c?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:n+"/colors",title:(0,d.__)("Links"),description:(0,d.__)("Set the default color used for links across the site.")}),(0,o.createElement)(Pt.__experimentalColorGradientControl,{className:"edit-site-screen-link-color__control",colors:i,disableCustomColors:!l,__experimentalHasMultipleOrigins:!0,showTitle:!1,enableAlpha:!0,__experimentalIsRenderedInSidebar:!0,colorValue:u,onColorChange:m,clearable:u===p})):null};var Fr=function(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t,r=Yn(t),a=rr(t);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Er,{back:n||"/",title:(0,d.__)("Layout")}),a&&(0,o.createElement)(cr,{name:t}),r&&(0,o.createElement)(er,{name:t}))};function Vr(e){let{name:t}=e;const n=void 0===t?"":"/blocks/"+t;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(D.__experimentalNavigatorScreen,{path:n+"/typography"},(0,o.createElement)(Sr,{name:t})),(0,o.createElement)(D.__experimentalNavigatorScreen,{path:n+"/typography/text"},(0,o.createElement)(xr,{name:t,element:"text"})),(0,o.createElement)(D.__experimentalNavigatorScreen,{path:n+"/typography/link"},(0,o.createElement)(xr,{name:t,element:"link"})),(0,o.createElement)(D.__experimentalNavigatorScreen,{path:n+"/colors"},(0,o.createElement)(Mr,{name:t})),(0,o.createElement)(D.__experimentalNavigatorScreen,{path:n+"/colors/palette"},(0,o.createElement)(Lr,{name:t})),(0,o.createElement)(D.__experimentalNavigatorScreen,{path:n+"/colors/background"},(0,o.createElement)(Br,{name:t})),(0,o.createElement)(D.__experimentalNavigatorScreen,{path:n+"/colors/text"},(0,o.createElement)(Dr,{name:t})),(0,o.createElement)(D.__experimentalNavigatorScreen,{path:n+"/colors/link"},(0,o.createElement)(Or,{name:t})),(0,o.createElement)(D.__experimentalNavigatorScreen,{path:n+"/layout"},(0,o.createElement)(Fr,{name:t})))}var zr=function(){const e=(0,i.getBlockTypes)();return(0,o.createElement)(D.__experimentalNavigatorProvider,{initialPath:"/"},(0,o.createElement)(D.__experimentalNavigatorScreen,{path:"/"},(0,o.createElement)(hr,null)),(0,o.createElement)(D.__experimentalNavigatorScreen,{path:"/blocks"},(0,o.createElement)(vr,null)),e.map((e=>(0,o.createElement)(D.__experimentalNavigatorScreen,{key:"menu-block-"+e.name,path:"/blocks/"+e.name},(0,o.createElement)(yr,{name:e.name})))),(0,o.createElement)(Vr,null),e.map((e=>(0,o.createElement)(Vr,{key:"screens-block-"+e.name,name:e.name}))))};function Gr(e){const t="var:";if((0,U.startsWith)(e,t)){return`var(--wp--${e.slice(t.length).split("|").join("--")})`}return e}function Ur(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[];return Object.keys(e).forEach((a=>{const l=t+(0,U.kebabCase)(a.replace("/","-")),o=e[a];if(o instanceof Object){const e=l+n;r=[...r,...Ur(o,e,n)]}else r.push(`${l}: ${o}`)})),r}const Hr=(e,t)=>{var n,r;const a=[];if(null==e||!e.settings)return a;const l=e=>{const t={};return Mn.forEach((n=>{let{path:r}=n;const a=(0,U.get)(e,r,!1);!1!==a&&(0,U.set)(t,r,a)})),t},o=l(e.settings),i=null===(n=e.settings)||void 0===n?void 0:n.custom;return(0,U.isEmpty)(o)&&!i||a.push({presets:o,custom:i,selector:Pn}),(0,U.forEach)(null===(r=e.settings)||void 0===r?void 0:r.blocks,((e,n)=>{const r=l(e),o=e.custom;(0,U.isEmpty)(r)&&!o||a.push({presets:r,custom:o,selector:t[n].selector})})),a},$r=(e,t)=>{const n=Hr(e,t);let r="";return n.forEach((e=>{let{presets:t,custom:n,selector:a}=e;const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,U.reduce)(Mn,((t,n)=>{let{path:r,valueKey:a,cssVarInfix:l}=n;const o=(0,U.get)(e,r,[]);return["default","theme","custom"].forEach((e=>{o[e]&&o[e].forEach((e=>{t.push(`--wp--preset--${l}--${(0,U.kebabCase)(e.slug)}: ${e[a]}`)}))})),t}),[])}(t),o=Ur(n,"--wp--custom--","--");o.length>0&&l.push(...o),l.length>0&&(r+=`${a}{${l.join(";")};}`)})),r},Wr=(e,t)=>{const n=((e,t)=>{var n,r;const a=[];if(null==e||!e.styles)return a;const l=e=>(0,U.pickBy)(e,((e,t)=>["border","color","spacing","typography"].includes(t))),o=l(e.styles);return o&&a.push({styles:o,selector:Pn}),(0,U.forEach)(null===(n=e.styles)||void 0===n?void 0:n.elements,((e,t)=>{e&&i.__EXPERIMENTAL_ELEMENTS[t]&&a.push({styles:e,selector:i.__EXPERIMENTAL_ELEMENTS[t]})})),(0,U.forEach)(null===(r=e.styles)||void 0===r?void 0:r.blocks,((e,n)=>{var r;const o=l(e);o&&null!=t&&null!==(r=t[n])&&void 0!==r&&r.selector&&a.push({styles:o,selector:t[n].selector}),(0,U.forEach)(null==e?void 0:e.elements,((e,r)=>{e&&null!=t&&t[n]&&null!==i.__EXPERIMENTAL_ELEMENTS&&void 0!==i.__EXPERIMENTAL_ELEMENTS&&i.__EXPERIMENTAL_ELEMENTS[r]&&a.push({styles:e,selector:t[n].selector.split(",").map((e=>e+" "+i.__EXPERIMENTAL_ELEMENTS[r])).join(",")})}))})),a})(e,t),r=Hr(e,t);let a=".wp-site-blocks > * { margin-top: 0; margin-bottom: 0; }.wp-site-blocks > * + * { margin-top: var( --wp--style--block-gap ); }";return n.forEach((e=>{let{selector:t,styles:n}=e;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,U.reduce)(i.__EXPERIMENTAL_STYLE_PROPERTY,((t,n,r)=>{let{value:a,properties:l}=n;const o=a;if("elements"===(0,U.first)(o))return t;const i=(0,U.get)(e,o);if(l&&!(0,U.isString)(i))Object.entries(l).forEach((e=>{const[n,r]=e;if(!(0,U.get)(i,[r],!1))return;const a=(0,U.kebabCase)(n);t.push(`${a}: ${Gr((0,U.get)(i,[r]))}`)}));else if((0,U.get)(e,o,!1)){const n=r.startsWith("--")?r:(0,U.kebabCase)(r);t.push(`${n}: ${Gr((0,U.get)(e,o))}`)}return t}),[])}(n);0!==r.length&&(a+=`${t}{${r.join(";")};}`)})),r.forEach((e=>{let{selector:t,presets:n}=e;Pn===t&&(t="");const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,U.reduce)(Mn,((n,r)=>{let{path:a,cssVarInfix:l,classes:o}=r;if(!o)return n;const i=(0,U.get)(t,a,[]);return["default","theme","custom"].forEach((t=>{i[t]&&i[t].forEach((t=>{let{slug:r}=t;o.forEach((t=>{let{classSuffix:a,propertyName:o}=t;const i=`.has-${(0,U.kebabCase)(r)}-${a}`,s=e.split(",").map((e=>`${e}${i}`)).join(","),c=`var(--wp--preset--${l}--${(0,U.kebabCase)(r)})`;n+=`${s}{${o}: ${c} !important;}`}))}))})),n}),"")}(t,n);(0,U.isEmpty)(r)||(a+=r)})),a};function jr(){const[e,t]=(()=>{const{user:e,setUserConfig:t}=(0,o.useContext)(Dn);return[!!e&&!(0,U.isEqual)(e,On),(0,o.useCallback)((()=>t((()=>On))),[t])]})(),{toggleFeature:n}=(0,c.useDispatch)(mt);return(0,o.createElement)(xn,{className:"edit-site-global-styles-sidebar",identifier:"edit-site/global-styles",title:(0,d.__)("Styles"),icon:Tn,closeLabel:(0,d.__)("Close global styles sidebar"),header:(0,o.createElement)(D.Flex,null,(0,o.createElement)(D.FlexBlock,null,(0,o.createElement)("strong",null,(0,d.__)("Styles")),(0,o.createElement)("span",{className:"edit-site-global-styles-sidebar__beta"},(0,d.__)("Beta"))),(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.DropdownMenu,{icon:Bt,label:(0,d.__)("More Global Styles Actions"),toggleProps:{disabled:!e},controls:[{title:(0,d.__)("Reset to defaults"),onClick:t},{title:(0,d.__)("Welcome Guide"),onClick:()=>n("welcomeGuideStyles")}]})))},(0,o.createElement)(zr,null))}const qr="edit-site/template",Kr="edit-site/block-inspector";var Yr=e=>{let{sidebarName:t}=e;const{enableComplementaryArea:n}=(0,c.useDispatch)(oe),[r,a]=t===qr?[(0,d.__)("Template (selected)"),"is-active"]:[(0,d.__)("Template"),""],[l,i]=t===Kr?[(0,d.__)("Block (selected)"),"is-active"]:[(0,d.__)("Block"),""];return(0,o.createElement)("ul",null,(0,o.createElement)("li",null,(0,o.createElement)(D.Button,{onClick:()=>n(v,qr),className:`edit-site-sidebar__panel-tab ${a}`,"aria-label":r,"data-label":(0,d.__)("Template")},(0,d.__)("Template"))),(0,o.createElement)("li",null,(0,o.createElement)(D.Button,{onClick:()=>n(v,Kr),className:`edit-site-sidebar__panel-tab ${i}`,"aria-label":l,"data-label":(0,d.__)("Block")},(0,d.__)("Block"))))};function Xr(e){let{area:t,clientId:n}=e;const{selectBlock:r,toggleBlockHighlight:a}=(0,c.useDispatch)(Pt.store),l=(0,c.useSelect)((e=>e(m.store).__experimentalGetDefaultTemplatePartAreas().find((e=>e.area===t))),[t]),i=()=>a(n,!0),s=()=>a(n,!1);return(0,o.createElement)(D.Button,{className:"edit-site-template-card__template-areas-item",icon:null==l?void 0:l.icon,onMouseOver:i,onMouseLeave:s,onFocus:i,onBlur:s,onClick:()=>{r(n)}},null==l?void 0:l.label)}function Qr(){const e=(0,c.useSelect)((e=>e(mt).getCurrentTemplateTemplateParts()),[]);return e.length?(0,o.createElement)("section",{className:"edit-site-template-card__template-areas"},(0,o.createElement)(D.__experimentalHeading,{level:3,className:"edit-site-template-card__template-areas-title"},(0,d.__)("Areas")),(0,o.createElement)("ul",{className:"edit-site-template-card__template-areas-list"},e.map((e=>{let{templatePart:t,block:n}=e;return(0,o.createElement)("li",{key:t.slug},(0,o.createElement)(Xr,{area:t.area,clientId:n.clientId}))})))):null}function Zr(){const{title:e,description:t,icon:n}=(0,c.useSelect)((e=>{const{getEditedPostType:t,getEditedPostId:n}=e(mt),{getEntityRecord:r}=e(u.store),{__experimentalGetTemplateInfo:a}=e(m.store),l=r("postType",t(),n());return l?a(l):{}}),[]);return e||t?(0,o.createElement)("div",{className:"edit-site-template-card"},(0,o.createElement)(D.Icon,{className:"edit-site-template-card__icon",icon:n}),(0,o.createElement)("div",{className:"edit-site-template-card__content"},(0,o.createElement)("h2",{className:"edit-site-template-card__title"},e),(0,o.createElement)("div",{className:"edit-site-template-card__description"},t),(0,o.createElement)(Qr,null))):null}const{Slot:Jr,Fill:ea}=(0,D.createSlotFill)("EditSiteSidebarInspector"),ta=ea;function na(){const{sidebar:e,isEditorSidebarOpened:t,hasBlockSelection:n}=(0,c.useSelect)((e=>{const t=e(oe).getActiveComplementaryArea(v);return{sidebar:t,isEditorSidebarOpened:[Kr,qr].includes(t),hasBlockSelection:!!e(Pt.store).getBlockSelectionStart()}}),[]),{enableComplementaryArea:r}=(0,c.useDispatch)(oe);(0,o.useEffect)((()=>{t&&r(v,n?Kr:qr)}),[n,t]);let a=e;return t||(a=n?Kr:qr),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(xn,{identifier:a,title:(0,d.__)("Settings"),icon:kn,closeLabel:(0,d.__)("Close settings sidebar"),header:(0,o.createElement)(Yr,{sidebarName:a}),headerClassName:"edit-site-sidebar__panel-tabs"},a===qr&&(0,o.createElement)(D.PanelBody,null,(0,o.createElement)(Zr,null)),a===Kr&&(0,o.createElement)(Jr,{bubblesVirtually:!0})),(0,o.createElement)(jr,null))}var ra=window.wp.htmlEntities;var aa=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"}));var la=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.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-17.6 1L10 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"}));const oa="__experimentalMainDashboardButton",{Fill:ia,Slot:sa}=(0,D.createSlotFill)(oa),ca=ia;ca.Slot=e=>{let{children:t}=e;const n=(0,D.__experimentalUseSlot)(oa);return Boolean(n.fills&&n.fills.length)?(0,o.createElement)(sa,{bubblesVirtually:!0}):t};var ua=ca;const ma="site-editor";function da(e){let{params:t,replace:n,...r}=e;const a=gn(t,n);return(0,o.createElement)(D.__experimentalNavigationItem,R({},a,r))}var pa=e=>{let{activeItem:t=ma}=e;const{isNavigationOpen:n,siteTitle:r}=(0,c.useSelect)((e=>{const{getEntityRecord:t}=e(u.store);return{siteTitle:(t("root","__unstableBase",void 0)||{}).name,isNavigationOpen:e(mt).isNavigationOpened()}}),[]),{setIsNavigationPanelOpened:a}=(0,c.useDispatch)(mt);return(0,o.createElement)("div",{className:B()("edit-site-navigation-panel",{"is-open":n}),onKeyDown:e=>{e.keyCode!==Lt.ESCAPE||e.defaultPrevented||(e.preventDefault(),a(!1))}},(0,o.createElement)("div",{className:"edit-site-navigation-panel__inner"},(0,o.createElement)("div",{className:"edit-site-navigation-panel__site-title-container"},(0,o.createElement)("div",{className:"edit-site-navigation-panel__site-title"},(0,ra.decodeEntities)(r))),(0,o.createElement)("div",{className:"edit-site-navigation-panel__scroll-container"},(0,o.createElement)(D.__experimentalNavigation,{activeItem:t},(0,o.createElement)(ua.Slot,null,(0,o.createElement)(D.__experimentalNavigationBackButton,{backButtonLabel:(0,d.__)("Dashboard"),className:"edit-site-navigation-panel__back-to-dashboard",href:"index.php"})),(0,o.createElement)(D.__experimentalNavigationMenu,null,(0,o.createElement)(D.__experimentalNavigationGroup,{title:(0,d.__)("Editor")},(0,o.createElement)(da,{icon:aa,title:(0,d.__)("Site"),item:ma,params:{postId:void 0,postType:void 0}}),(0,o.createElement)(da,{icon:qn,title:(0,d.__)("Templates"),item:"wp_template",params:{postId:void 0,postType:"wp_template"}}),(0,o.createElement)(da,{icon:la,title:(0,d.__)("Template Parts"),item:"wp_template_part",params:{postId:void 0,postType:"wp_template_part"}})))))))};var _a=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(O.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}));var ga=function(e){let{icon:t}=e;const{isNavigationOpen:n,isRequestingSiteIcon:r,siteIconUrl:a}=(0,c.useSelect)((e=>{const{getEntityRecord:t,isResolving:n}=e(u.store),r=t("root","__unstableBase",void 0)||{};return{isNavigationOpen:e(mt).isNavigationOpened(),isRequestingSiteIcon:n("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:r.site_icon_url}}),[]),{setIsNavigationPanelOpened:l}=(0,c.useDispatch)(mt),i=(0,ye.useReducedMotion)(),s=(0,o.useRef)();(0,o.useEffect)((()=>{n||s.current.focus()}),[n]);let m=(0,o.createElement)(D.Icon,{size:"36px",icon:_a});const p={expand:{scale:1.7,borderRadius:0,transition:{type:"tween",duration:"0.2"}}};return a?m=(0,o.createElement)(D.__unstableMotion.img,{variants:!i&&p,alt:(0,d.__)("Site Icon"),className:"edit-site-navigation-toggle__site-icon",src:a}):r?m=null:t&&(m=(0,o.createElement)(D.Icon,{size:"36px",icon:t})),(0,o.createElement)(D.__unstableMotion.div,{className:"edit-site-navigation-toggle"+(n?" is-open":""),whileHover:"expand"},(0,o.createElement)(D.Button,{className:"edit-site-navigation-toggle__button has-icon",label:(0,d.__)("Toggle navigation"),ref:s,"aria-pressed":n,onClick:()=>l(!n),showTooltip:!0},m))};const{Fill:ha,Slot:Ea}=(0,D.createSlotFill)("EditSiteNavigationPanelPreview"),{Fill:fa,Slot:va}=(0,D.createSlotFill)("EditSiteNavigationSidebar");function ya(e){let{isDefaultOpen:t=!1,activeTemplateType:n}=e;const r=(0,ye.useViewportMatch)("medium"),{setIsNavigationPanelOpened:a}=(0,c.useDispatch)(mt);return(0,o.useEffect)((function(){a(t&&r)}),[t,r,a]),(0,o.createElement)(fa,null,(0,o.createElement)(ga,null),(0,o.createElement)(pa,{activeItem:n}),(0,o.createElement)(Ea,null))}ya.Slot=va;var ba=ya,wa=window.wp.reusableBlocks;function Sa(e){let{clientId:t}=e;const{getBlocks:n}=(0,c.useSelect)(Pt.store),{replaceBlocks:r}=(0,c.useDispatch)(Pt.store);return(0,o.createElement)(Pt.BlockSettingsMenuControls,null,(e=>{let{onClose:a}=e;return(0,o.createElement)(D.MenuItem,{onClick:()=>{r(t,n(t)),a()}},(0,d.__)("Detach blocks from template part"))}))}function ka(e){let{closeModal:t,onCreate:n}=e;const[r,a]=(0,o.useState)(""),[l,i]=(0,o.useState)(y),[s,u]=(0,o.useState)(!1),p=(0,ye.useInstanceId)(ka),_=(0,c.useSelect)((e=>e(m.store).__experimentalGetDefaultTemplatePartAreas()),[]);return(0,o.createElement)(D.Modal,{title:(0,d.__)("Create a template part"),closeLabel:(0,d.__)("Close"),onRequestClose:t,overlayClassName:"edit-site-create-template-part-modal"},(0,o.createElement)("form",{onSubmit:async e=>{e.preventDefault(),r&&(u(!0),await n({title:r,area:l}))}},(0,o.createElement)(D.TextControl,{label:(0,d.__)("Name"),value:r,onChange:a,required:!0}),(0,o.createElement)(D.BaseControl,{label:(0,d.__)("Area"),id:`edit-site-create-template-part-modal__area-selection-${p}`,className:"edit-site-create-template-part-modal__area-base-control"},(0,o.createElement)(D.__experimentalRadioGroup,{label:(0,d.__)("Area"),className:"edit-site-create-template-part-modal__area-radio-group",id:`edit-site-create-template-part-modal__area-selection-${p}`,onChange:i,checked:l},_.map((e=>{let{icon:t,label:n,area:r,description:a}=e;return(0,o.createElement)(D.__experimentalRadio,{key:n,value:r,className:"edit-site-create-template-part-modal__area-radio"},(0,o.createElement)(D.Flex,{align:"start",justify:"start"},(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.Icon,{icon:t})),(0,o.createElement)(D.FlexBlock,{className:"edit-site-create-template-part-modal__option-label"},n,(0,o.createElement)("div",null,a)),(0,o.createElement)(D.FlexItem,{className:"edit-site-create-template-part-modal__checkbox"},l===r&&(0,o.createElement)(D.Icon,{icon:F}))))})))),(0,o.createElement)(D.Flex,{className:"edit-site-create-template-part-modal__modal-actions",justify:"flex-end"},(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.Button,{variant:"secondary",onClick:()=>{t()}},(0,d.__)("Cancel"))),(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.Button,{variant:"primary",type:"submit",disabled:!r,isBusy:s},(0,d.__)("Create"))))))}function xa(e){let{clientIds:t,blocks:n}=e;const[r,a]=(0,o.useState)(!1),{replaceBlocks:l}=(0,c.useDispatch)(Pt.store),{saveEntityRecord:s}=(0,c.useDispatch)(u.store),{createSuccessNotice:m}=(0,c.useDispatch)(A.store);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Pt.BlockSettingsMenuControls,null,(()=>(0,o.createElement)(D.MenuItem,{onClick:()=>{a(!0)}},(0,d.__)("Make template part")))),r&&(0,o.createElement)(ka,{closeModal:()=>{a(!1)},onCreate:async e=>{let{title:r,area:a}=e;const o=(0,U.kebabCase)(r).replace(/[^\w-]+/g,"")||"wp-custom-part",c=await s("postType","wp_template_part",{slug:o,title:r,content:(0,i.serialize)(n),area:a});l(t,(0,i.createBlock)("core/template-part",{slug:c.slug,theme:c.theme})),m((0,d.__)("Template part created."),{type:"snackbar"})}}))}function Ta(){var e;const{clientIds:t,blocks:n}=(0,c.useSelect)((e=>{const{getSelectedBlockClientIds:t,getBlocksByClientId:n}=e(Pt.store),r=t();return{clientIds:r,blocks:n(r)}}),[]);return 1===n.length&&"core/template-part"===(null===(e=n[0])||void 0===e?void 0:e.name)?(0,o.createElement)(Sa,{clientId:t[0]}):(0,o.createElement)(xa,{clientIds:t,blocks:n})}var Ca=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.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"}));function Na(e){let{type:t,id:n,activePage:r,onActivePageChange:a}=e;const l=(0,c.useSelect)((e=>t&&n&&"URL"!==t&&e(u.store).getEntityRecord("postType",t,n)),[t,n]),i=(0,o.useMemo)((()=>{if(null==l||!l.link)return null;const e=(0,_.getPathAndQueryString)(l.link);return e===(null==r?void 0:r.path)?null:()=>a({type:t,slug:l.slug,path:e,context:{postType:l.type,postId:l.id}})}),[l,null==r?void 0:r.path,a]);return i&&(0,o.createElement)(D.Button,{icon:Ca,label:(0,d.__)("Edit Page Template"),onClick:i})}function Ia(e){let{onClick:t=(()=>{})}=e;const{shortcut:n,isBlockInspectorOpen:r}=(0,c.useSelect)((e=>({shortcut:e(Mt.store).getShortcutRepresentation("core/edit-site/toggle-block-settings-sidebar"),isBlockInspectorOpen:e(oe).getActiveComplementaryArea(mt.name)===Kr})),[]),{enableComplementaryArea:a,disableComplementaryArea:l}=(0,c.useDispatch)(oe),i=r?(0,d.__)("Hide more settings"):(0,d.__)("Show more settings");return(0,o.createElement)(D.MenuItem,{onClick:()=>{r?(l(v),(0,Wt.speak)((0,d.__)("Block settings closed"))):(a(v,Kr),(0,Wt.speak)((0,d.__)("Additional settings are now available in the Editor block settings sidebar"))),t()},shortcut:n},i)}function Pa(){return(0,o.createElement)(Pt.BlockSettingsMenuControls,null,(e=>{let{selectedClientIds:t,onClose:n}=e;return(0,o.createElement)(Ma,{selectedClientId:t[0],onClose:n})}))}function Ma(e){let{selectedClientId:t,onClose:n}=e;const{params:r}=Tt(),a=(0,c.useSelect)((e=>{const n=e(Pt.store).getBlock(t);if(n&&(0,i.isTemplatePart)(n)){const{theme:t,slug:r}=n.attributes;return e(u.store).getEntityRecord("postType","wp_template_part",`${t}//${r}`)}}),[t]),l=gn({postId:null==a?void 0:a.id,postType:null==a?void 0:a.type},{fromTemplateId:r.postId});return a?(0,o.createElement)(D.MenuItem,R({},l,{onClick:e=>{l.onClick(e),n()}}),(0,d.sprintf)((0,d.__)("Edit %s"),a.slug)):null}var Aa=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.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"}));var Ra=function(){var e;const t=Tt(),n=Ct(),r="wp_template_part"===t.params.postType,a=null===(e=t.state)||void 0===e?void 0:e.fromTemplateId;return r&&a?(0,o.createElement)(D.Button,{className:"edit-site-visual-editor__back-button",icon:Aa,onClick:()=>{n.back()}},(0,d.__)("Back")):null};function La(e){let{direction:t,resizeWidthBy:n}=e;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("button",{className:`resizable-editor__drag-handle is-${t}`,"aria-label":(0,d.__)("Drag to resize"),"aria-describedby":`resizable-editor__resize-help-${t}`,onKeyDown:function(e){const{keyCode:r}=e;"left"===t&&r===Lt.LEFT||"right"===t&&r===Lt.RIGHT?n(20):("left"===t&&r===Lt.RIGHT||"right"===t&&r===Lt.LEFT)&&n(-20)}}),(0,o.createElement)(D.VisuallyHidden,{id:`resizable-editor__resize-help-${t}`},(0,d.__)("Use left and right arrow keys to resize the canvas.")))}const Ba="100%",Da="100%",Oa={position:void 0,userSelect:void 0,cursor:void 0,width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0};var Fa=function(e){let{enableResizing:t,settings:n,...r}=e;const a=(0,c.useSelect)((e=>e(mt).__experimentalGetPreviewDeviceType()),[]),l=(0,Pt.__experimentalUseResizeCanvas)(a),[i,s]=(0,o.useState)(Ba),[u,m]=(0,o.useState)(Da),d=(0,o.useRef)(),p=(0,Pt.__unstableUseMouseMoveTypingReset)(),_=(0,ye.useMergeRefs)([d,p]);(0,o.useEffect)((function(){const e=d.current;if(!e||!t)return;let n,r=null;function a(){r||(r=e.contentWindow.requestAnimationFrame((()=>{m(e.contentDocument.documentElement.scrollHeight),r=null})))}function l(){var t;null===(t=n)||void 0===t||t.disconnect(),n=new e.contentWindow.ResizeObserver(a),n.observe(e.contentDocument.documentElement),a()}return e.addEventListener("load",l),l(),()=>{var t,a;null===(t=e.contentWindow)||void 0===t||t.cancelAnimationFrame(r),null===(a=n)||void 0===a||a.disconnect(),e.removeEventListener("load",l)}}),[t]);const g=(0,o.useCallback)((e=>{d.current&&s(d.current.offsetWidth+e)}),[]);return(0,o.createElement)(D.ResizableBox,{size:{width:i,height:u},onResizeStop:(e,t,n)=>{s(n.style.width)},minWidth:300,maxWidth:"100%",maxHeight:"100%",enable:{right:t,left:t},showHandle:t,resizeRatio:2,handleComponent:{left:(0,o.createElement)(La,{direction:"left",resizeWidthBy:g}),right:(0,o.createElement)(La,{direction:"right",resizeWidthBy:g})},handleClasses:void 0,handleStyles:{left:Oa,right:Oa}},(0,o.createElement)(Pt.__unstableIframe,R({style:t?void 0:l,head:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Pt.__unstableEditorStyles,{styles:n.styles}),(0,o.createElement)("style",null,".is-root-container { display: flow-root; }"),t&&(0,o.createElement)("style",null,"html, body { height: -moz-fit-content !important; height: fit-content !important; min-height: 0 !important; }",".is-root-container { min-height: 0 !important; }")),ref:_,name:"editor-canvas",className:"edit-site-visual-editor__editor-canvas"},r)))};const Va={type:"default",alignments:[]};function za(e){let{setIsInserterOpen:t}=e;const{settings:n,templateType:r,templateId:a,page:l}=(0,c.useSelect)((e=>{const{getSettings:n,getEditedPostType:r,getEditedPostId:a,getPage:l}=e(mt);return{settings:n(t),templateType:r(),templateId:a(),page:l()}}),[t]),[i,s,m]=(0,u.useEntityBlockEditor)("postType",r),{setPage:d}=(0,c.useDispatch)(mt),p=(0,o.useRef)(),_=(0,ye.useMergeRefs)([p,(0,Pt.__unstableUseTypingObserver)()]),g=(0,ye.useViewportMatch)("small","<"),{clearSelectedBlock:h}=(0,c.useDispatch)(Pt.store),E="wp_template_part"===r;return(0,o.createElement)(Pt.BlockEditorProvider,{settings:n,value:i,onInput:s,onChange:m,useSubRegistry:!1},(0,o.createElement)(Pa,null),(0,o.createElement)(Ta,null),(0,o.createElement)(Pt.__experimentalLinkControl.ViewerFill,null,(0,o.useCallback)((e=>(0,o.createElement)(Na,R({},e,{activePage:l,onActivePageChange:d}))),[l])),(0,o.createElement)(ta,null,(0,o.createElement)(Pt.BlockInspector,null)),(0,o.createElement)(Pt.BlockTools,{className:B()("edit-site-visual-editor",{"is-focus-mode":E}),__unstableContentRef:p,onClick:e=>{e.target===e.currentTarget&&h()}},(0,o.createElement)(Pt.BlockEditorKeyboardShortcuts.Register,null),(0,o.createElement)(Ra,null),(0,o.createElement)(Fa,{key:a,enableResizing:E&&!g,settings:n,contentRef:_},(0,o.createElement)(Pt.BlockList,{className:"edit-site-block-editor__block-list wp-site-blocks",__experimentalLayout:Va,renderAppender:!E&&void 0})),(0,o.createElement)(Pt.__unstableBlockSettingsMenuFirstItem,null,(e=>{let{onClose:t}=e;return(0,o.createElement)(Ia,{onClick:t})}))),(0,o.createElement)(wa.ReusableBlocksMenuItems,null))}function Ga(e){let{openEntitiesSavedStates:t}=e;const{__experimentalGetDirtyEntityRecords:n,isSavingEntityRecord:r}=(0,c.useSelect)(u.store),a=(0,c.useSelect)((e=>e(mt).isListViewOpened()),[]),l=(0,c.useSelect)((e=>e(oe).getActiveComplementaryArea(mt.name)===Kr),[]),{redo:o,undo:i}=(0,c.useDispatch)(u.store),{setIsListViewOpened:s}=(0,c.useDispatch)(mt),{enableComplementaryArea:m,disableComplementaryArea:d}=(0,c.useDispatch)(oe);return(0,Mt.useShortcut)("core/edit-site/save",(e=>{e.preventDefault();const a=n(),l=!!a.length;!a.some((e=>r(e.kind,e.name,e.key)))&&l&&t()})),(0,Mt.useShortcut)("core/edit-site/undo",(e=>{i(),e.preventDefault()})),(0,Mt.useShortcut)("core/edit-site/redo",(e=>{o(),e.preventDefault()})),(0,Mt.useShortcut)("core/edit-site/toggle-list-view",(()=>{s(!a)})),(0,Mt.useShortcut)("core/edit-site/toggle-block-settings-sidebar",(e=>{e.preventDefault(),l?d(v):m(v,Kr)})),null}Ga.Register=function(){const{registerShortcut:e}=(0,c.useDispatch)(Mt.store);return(0,o.useEffect)((()=>{e({name:"core/edit-site/save",category:"global",description:(0,d.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/edit-site/undo",category:"global",description:(0,d.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-site/redo",category:"global",description:(0,d.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/edit-site/toggle-list-view",category:"global",description:(0,d.__)("Open the block list view."),keyCombination:{modifier:"access",character:"o"}}),e({name:"core/edit-site/toggle-block-settings-sidebar",category:"global",description:(0,d.__)("Show or hide the block settings sidebar."),keyCombination:{modifier:"primaryShift",character:","}}),e({name:"core/edit-site/keyboard-shortcuts",category:"main",description:(0,d.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}}),e({name:"core/edit-site/next-region",category:"global",description:(0,d.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),e({name:"core/edit-site/previous-region",category:"global",description:(0,d.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]})}),[e]),null};var Ua=Ga;function Ha(){const{setTemplate:e,setTemplatePart:t,setPage:n}=(0,c.useDispatch)(mt),{params:{postId:r,postType:a}}=Tt();return(0,o.useEffect)((()=>{"page"===a||"post"===a?n({context:{postType:a,postId:r}}):"wp_template"===a?e(r):"wp_template_part"===a&&t(r)}),[r,a]),null}var $a=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.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"}));function Wa(){const{setIsInserterOpened:e}=(0,c.useDispatch)(mt),t=(0,c.useSelect)((e=>e(mt).__experimentalGetInsertionPoint()),[]),n=(0,ye.useViewportMatch)("medium","<"),[r,a]=(0,ye.__experimentalUseDialog)({onClose:()=>e(!1)});return(0,o.createElement)("div",R({ref:r},a,{className:"edit-site-editor__inserter-panel"}),(0,o.createElement)("div",{className:"edit-site-editor__inserter-panel-header"},(0,o.createElement)(D.Button,{icon:$a,onClick:()=>e(!1)})),(0,o.createElement)("div",{className:"edit-site-editor__inserter-panel-content"},(0,o.createElement)(Pt.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:n,rootClientId:t.rootClientId,__experimentalInsertionIndex:t.insertionIndex,__experimentalFilterValue:t.filterValue})))}function ja(){const{setIsListViewOpened:e}=(0,c.useDispatch)(mt),{clearSelectedBlock:t,selectBlock:n}=(0,c.useDispatch)(Pt.store);const r=(0,ye.useFocusOnMount)("firstElement"),a=(0,ye.useFocusReturn)();const l=`edit-site-editor__list-view-panel-label-${(0,ye.useInstanceId)(ja)}`;return(0,o.createElement)("div",{"aria-labelledby":l,className:"edit-site-editor__list-view-panel",onKeyDown:function(t){t.keyCode!==Lt.ESCAPE||t.defaultPrevented||e(!1)}},(0,o.createElement)("div",{className:"edit-site-editor__list-view-panel-header"},(0,o.createElement)("strong",{id:l},(0,d.__)("List view")),(0,o.createElement)(D.Button,{icon:G,label:(0,d.__)("Close list view sidebar"),onClick:()=>e(!1)})),(0,o.createElement)("div",{className:"edit-site-editor__list-view-panel-content",ref:(0,ye.useMergeRefs)([a,r])},(0,o.createElement)(Pt.__experimentalListView,{onSelect:async function(e){await t(),n(e,-1)},showNestedBlocks:!0,__experimentalFeatures:!0,__experimentalPersistentListViewFeatures:!0})))}function qa(e){let{text:t,children:n}=e;const r=(0,ye.useCopyToClipboard)(t);return(0,o.createElement)(D.Button,{variant:"secondary",ref:r},n)}function Ka(e){let{message:t,error:n,reboot:r,dashboardLink:a}=e;const l=[];return r&&l.push((0,o.createElement)(D.Button,{key:"recovery",onClick:r,variant:"secondary"},(0,d.__)("Attempt Recovery"))),n&&l.push((0,o.createElement)(qa,{key:"copy-error",text:n.stack},(0,d.__)("Copy Error"))),a&&l.push((0,o.createElement)(D.Button,{key:"back-to-dashboard",variant:"secondary",href:a},(0,d.__)("Back to dashboard"))),(0,o.createElement)(Pt.Warning,{className:"editor-error-boundary",actions:l},t)}class Ya extends o.Component{constructor(){super(...arguments),this.reboot=this.reboot.bind(this),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}reboot(){this.props.onError()}render(){const{error:e}=this.state;return e?(0,o.createElement)(Ka,{message:(0,d.__)("The editor has encountered an unexpected error."),error:e,reboot:this.reboot}):this.props.children}}function Xa(e){let{nonAnimatedSrc:t,animatedSrc:n}=e;return(0,o.createElement)("picture",{className:"edit-site-welcome-guide__image"},(0,o.createElement)("source",{srcSet:t,media:"(prefers-reduced-motion: reduce)"}),(0,o.createElement)("img",{src:n,width:"312",height:"240",alt:""}))}function Qa(){const{toggleFeature:e}=(0,c.useDispatch)(mt);return(0,c.useSelect)((e=>e(mt).isFeatureActive("welcomeGuide")),[])?(0,o.createElement)(D.Guide,{className:"edit-site-welcome-guide",contentLabel:(0,d.__)("Welcome to the site editor"),finishButtonText:(0,d.__)("Get Started"),onFinish:()=>e("welcomeGuide"),pages:[{image:(0,o.createElement)(Xa,{nonAnimatedSrc:"https://s.w.org/images/block-editor/edit-your-site.svg?1",animatedSrc:"https://s.w.org/images/block-editor/edit-your-site.gif?1"}),content:(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h1",{className:"edit-site-welcome-guide__heading"},(0,d.__)("Edit your site")),(0,o.createElement)("p",{className:"edit-site-welcome-guide__text"},(0,d.__)("Design everything on your site — from the header right down to the footer — using blocks.")),(0,o.createElement)("p",{className:"edit-site-welcome-guide__text"},(0,o.createInterpolateElement)((0,d.__)("Click <StylesIconImage /> to start designing your blocks, and choose your typography, layout, and colors."),{StylesIconImage:(0,o.createElement)("img",{alt:(0,d.__)("styles"),src:"data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4c-4.4 0-8 3.6-8 8v.1c0 4.1 3.2 7.5 7.2 7.9h.8c4.4 0 8-3.6 8-8s-3.6-8-8-8zm0 15V5c3.9 0 7 3.1 7 7s-3.1 7-7 7z' fill='%231E1E1E'/%3E%3C/svg%3E%0A"})})))}]}):null}function Za(){const{toggleFeature:e}=(0,c.useDispatch)(mt),{isActive:t,isStylesOpen:n}=(0,c.useSelect)((e=>{const t=e(oe).getActiveComplementaryArea(mt.name);return{isActive:e(mt).isFeatureActive("welcomeGuideStyles"),isStylesOpen:"edit-site/global-styles"===t}}),[]);return t&&n?(0,o.createElement)(D.Guide,{className:"edit-site-welcome-guide",contentLabel:(0,d.__)("Welcome to styles"),finishButtonText:(0,d.__)("Get Started"),onFinish:()=>e("welcomeGuideStyles"),pages:[{image:(0,o.createElement)(Xa,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-to-styles.svg?1",animatedSrc:"https://s.w.org/images/block-editor/welcome-to-styles.gif?1"}),content:(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h1",{className:"edit-site-welcome-guide__heading"},(0,d.__)("Welcome to Styles")),(0,o.createElement)("p",{className:"edit-site-welcome-guide__text"},(0,d.__)("Tweak your site, or give it a whole new look! Get creative — how about a new color palette for your buttons, or choosing a new font? Take a look at what you can do here.")))},{image:(0,o.createElement)(Xa,{nonAnimatedSrc:"https://s.w.org/images/block-editor/set-the-design.svg?1",animatedSrc:"https://s.w.org/images/block-editor/set-the-design.gif?1"}),content:(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h1",{className:"edit-site-welcome-guide__heading"},(0,d.__)("Set the design")),(0,o.createElement)("p",{className:"edit-site-welcome-guide__text"},(0,d.__)("You can customize your site as much as you like with different colors, typography, and layouts. Or if you prefer, just leave it up to your theme to handle! ")))},{image:(0,o.createElement)(Xa,{nonAnimatedSrc:"https://s.w.org/images/block-editor/personalize-blocks.svg?1",animatedSrc:"https://s.w.org/images/block-editor/personalize-blocks.gif?1"}),content:(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h1",{className:"edit-site-welcome-guide__heading"},(0,d.__)("Personalize blocks")),(0,o.createElement)("p",{className:"edit-site-welcome-guide__text"},(0,d.__)("You can adjust your blocks to ensure a cohesive experience across your site — add your unique colors to a branded Button block, or adjust the Heading block to your preferred size.")))},{image:(0,o.createElement)(Xa,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:(0,o.createElement)(o.Fragment,null,(0,o.createElement)("h1",{className:"edit-site-welcome-guide__heading"},(0,d.__)("Learn more")),(0,o.createElement)("p",{className:"edit-site-welcome-guide__text"},(0,d.__)("New to block themes and styling your site? "),(0,o.createElement)(D.ExternalLink,{href:(0,d.__)("https://wordpress.org/support/article/styles-overview/")},(0,d.__)("Here’s a detailed guide to learn how to make the most of it."))))}]}):null}function Ja(){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Qa,null),(0,o.createElement)(Za,null))}function el(){const[e,t]=function(){const[e,t]=(0,o.useState)([]),[n,r]=(0,o.useState)({}),{merged:a}=(0,o.useContext)(Dn);return(0,o.useEffect)((()=>{if(null==a||!a.styles||null==a||!a.settings)return;const e=(e=>{const t={};return e.forEach((e=>{var n,r;const a=e.name,l=null!==(n=null==e||null===(r=e.supports)||void 0===r?void 0:r.__experimentalSelector)&&void 0!==n?n:".wp-block-"+a.replace("core/","").replace("/","-");t[a]={name:a,selector:l}})),t})((0,i.getBlockTypes)()),n=$r(a,e),l=Wr(a,e);t([{css:n,isGlobalStyles:!0},{css:l,isGlobalStyles:!0}]),r(a.settings)}),[a]),[e,n]}(),{getSettings:n}=(0,c.useSelect)(mt),{updateSettings:r}=(0,c.useDispatch)(mt);(0,o.useEffect)((()=>{var a;if(!e||!t)return;const l=n(),o=null==l||null===(a=l.styles)||void 0===a?void 0:a.filter((e=>!e.isGlobalStyles));r({...l,styles:[...o,...e],__experimentalFeatures:t})}),[e,t])}function tl(){return el(),null}function nl(e,t){if(Array.isArray(t))return t}const rl=e=>{if(!(0,U.isObject)(e)||Array.isArray(e))return e;const t=(0,U.pickBy)((0,U.mapValues)(e,rl),U.identity);return(0,U.isEmpty)(t)?void 0:t};function al(){const[e,t,n]=function(){const{globalStylesId:e,settings:t,styles:n}=(0,c.useSelect)((e=>{const t=e(u.store).__experimentalGetCurrentGlobalStylesId(),n=t?e(u.store).getEditedEntityRecord("root","globalStyles",t):void 0;return{globalStylesId:t,settings:null==n?void 0:n.settings,styles:null==n?void 0:n.styles}}),[]),{getEditedEntityRecord:r}=(0,c.useSelect)(u.store),{editEntityRecord:a}=(0,c.useDispatch)(u.store),l=(0,o.useMemo)((()=>({settings:null!=t?t:{},styles:null!=n?n:{}})),[t,n]),i=(0,o.useCallback)((t=>{var n,l;const o=r("root","globalStyles",e),i=t({styles:null!==(n=null==o?void 0:o.styles)&&void 0!==n?n:{},settings:null!==(l=null==o?void 0:o.settings)&&void 0!==l?l:{}});a("root","globalStyles",e,{styles:rl(i.styles)||{},settings:rl(i.settings)||{}})}),[e]);return[!!t||!!n,l,i]}(),[r,a]=function(){const e=(0,c.useSelect)((e=>e(u.store).__experimentalGetCurrentThemeBaseGlobalStyles()),[]);return[!!e,e]}(),l=(0,o.useMemo)((()=>{return a&&t?(e=a,n=t,(0,U.mergeWith)({},e,n,nl)):{};var e,n}),[t,a]);return(0,o.useMemo)((()=>({isReady:e&&r,user:t,base:a,merged:l,setUserConfig:n})),[l,t,a,n,e,r])}function ll(e){let{children:t}=e;const n=al();return n.isReady?(0,o.createElement)(Dn.Provider,{value:n},t):null}function ol(e){const t=Tt(),n=(0,c.useSelect)((e=>{var t;return null===(t=e(u.store).getEntityRecord("root","site"))||void 0===t?void 0:t.title}),[]),r=(0,o.useRef)(!0);(0,o.useEffect)((()=>{r.current=!1}),[t]),(0,o.useEffect)((()=>{if(!r.current&&e&&n){const t=(0,d.sprintf)((0,d.__)("%1$s ‹ %2$s — WordPress"),e,n);document.title=t,(0,Wt.speak)((0,d.sprintf)((0,d.__)("Now displaying: %s"),document.title),"assertive")}}),[e,n,t])}const il={secondarySidebar:(0,d.__)("Block Library"),drawer:(0,d.__)("Navigation Sidebar")};var sl=function(e){let{onError:t}=e;const{isInserterOpen:n,isListViewOpen:r,sidebarIsOpened:a,settings:l,entityId:i,templateType:s,page:p,template:_,templateResolved:g,isNavigationOpen:h,previousShortcut:E,nextShortcut:f}=(0,c.useSelect)((e=>{const{isInserterOpened:t,isListViewOpened:n,getSettings:r,getEditedPostType:a,getEditedPostId:l,getPage:o,isNavigationOpened:i}=e(mt),{hasFinishedResolution:s,getEntityRecord:c}=e(u.store),m=a(),d=l();return{isInserterOpen:t(),isListViewOpen:n(),sidebarIsOpened:!!e(oe).getActiveComplementaryArea(mt.name),settings:r(),templateType:m,page:o(),template:d?c("postType",m,d):null,templateResolved:!!d&&s("getEntityRecord",["postType",m,d]),entityId:d,isNavigationOpen:i(),previousShortcut:e(Mt.store).getAllShortcutKeyCombinations("core/edit-site/previous-region"),nextShortcut:e(Mt.store).getAllShortcutKeyCombinations("core/edit-site/next-region")}}),[]),{setPage:v,setIsInserterOpened:y}=(0,c.useDispatch)(mt),{enableComplementaryArea:b}=(0,c.useDispatch)(oe),[w,S]=(0,o.useState)(!1),k=(0,o.useCallback)((()=>S(!0)),[]),x=(0,o.useCallback)((()=>{S(!1)}),[]),T=(0,o.useMemo)((()=>({...null==p?void 0:p.context,queryContext:[(null==p?void 0:p.context.queryContext)||{page:1},e=>v({...p,context:{...null==p?void 0:p.context,queryContext:{...null==p?void 0:p.context.queryContext,...e}}})]})),[null==p?void 0:p.context]);(0,o.useEffect)((()=>{h?document.body.classList.add("is-navigation-sidebar-open"):document.body.classList.remove("is-navigation-sidebar-open")}),[h]),(0,o.useEffect)((function(){"open"===new URLSearchParams(window.location.search).get("styles")&&b("core/edit-site","edit-site/global-styles")}),[b]);const C=(null==l?void 0:l.siteUrl)&&void 0!==s&&void 0!==i;return ol(C&&(0,d.__)("Editor (beta)")),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Ha,null),C&&(0,o.createElement)(Mt.ShortcutProvider,null,(0,o.createElement)(u.EntityProvider,{kind:"root",type:"site"},(0,o.createElement)(u.EntityProvider,{kind:"postType",type:s,id:i},(0,o.createElement)(ll,null,(0,o.createElement)(Pt.BlockContextProvider,{value:T},(0,o.createElement)(tl,null),(0,o.createElement)(Ya,{onError:t},(0,o.createElement)(Ua.Register,null),(0,o.createElement)(na,null),(0,o.createElement)(Se,{labels:il,secondarySidebar:n?(0,o.createElement)(Wa,null):r?(0,o.createElement)(ja,null):null,sidebar:a&&(0,o.createElement)(ve.Slot,{scope:"core/edit-site"}),drawer:(0,o.createElement)(ba.Slot,null),header:(0,o.createElement)(Sn,{openEntitiesSavedStates:k}),notices:(0,o.createElement)(m.EditorSnackbars,null),content:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(m.EditorNotices,null),_&&(0,o.createElement)(za,{setIsInserterOpen:y}),g&&!_&&(null==l?void 0:l.siteUrl)&&i&&(0,o.createElement)(D.Notice,{status:"warning",isDismissible:!1},(0,d.__)("You attempted to edit an item that doesn't exist. Perhaps it was deleted?")),(0,o.createElement)(Ua,{openEntitiesSavedStates:k})),actions:(0,o.createElement)(o.Fragment,null,w?(0,o.createElement)(m.EntitiesSavedStates,{close:x}):(0,o.createElement)("div",{className:"edit-site-editor__toggle-save-panel"},(0,o.createElement)(D.Button,{variant:"secondary",className:"edit-site-editor__toggle-save-panel-button",onClick:k,"aria-expanded":!1},(0,d.__)("Open save panel")))),footer:(0,o.createElement)(Pt.BlockBreadcrumb,null),shortcuts:{previous:E,next:f}}),(0,o.createElement)(Ja,null),(0,o.createElement)(D.Popover.Slot,null),(0,o.createElement)(ie.PluginArea,null))))))))};const cl=["front-page","single-post","page","archive","search","404","index"];function ul(e){let{postType:t}=e;const n=Ct(),{templates:r,defaultTemplateTypes:a}=(0,c.useSelect)((e=>({templates:e(u.store).getEntityRecords("postType","wp_template",{per_page:-1}),defaultTemplateTypes:e(m.store).__experimentalGetDefaultTemplateTypes()})),[]),{saveEntityRecord:l}=(0,c.useDispatch)(u.store),{createErrorNotice:i}=(0,c.useDispatch)(A.store),{getLastEntitySaveError:s}=(0,c.useSelect)(u.store);const p=(0,U.map)(r,"slug"),_=(0,U.filter)(a,(e=>(0,U.includes)(cl,e.slug)&&!(0,U.includes)(p,e.slug)));return _.length?(0,o.createElement)(D.DropdownMenu,{className:"edit-site-new-template-dropdown",icon:null,text:t.labels.add_new,label:t.labels.add_new_item,popoverProps:{noArrow:!1},toggleProps:{variant:"primary"}},(()=>(0,o.createElement)(D.NavigableMenu,{className:"edit-site-new-template-dropdown__popover"},(0,o.createElement)(D.MenuGroup,{label:t.labels.add_new_item},(0,U.map)(_,(e=>{let{title:t,description:r,slug:c}=e;return(0,o.createElement)(D.MenuItem,{info:r,key:c,onClick:()=>{!async function(e){let{slug:t}=e;try{const{title:e,description:r}=(0,U.find)(a,{slug:t}),o=await l("postType","wp_template",{excerpt:r,slug:t.toString(),status:"publish",title:e}),i=s("postType","wp_template",o.id);if(i)throw i;n.push({postId:o.id,postType:o.type})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,d.__)("An error occurred while creating the template.");i(t,{type:"snackbar"})}}({slug:c})}},t)})))))):null}function ml(e){let{postType:t}=e;const n=Ct(),[r,a]=(0,o.useState)(!1),{createErrorNotice:l}=(0,c.useDispatch)(A.store),{saveEntityRecord:i}=(0,c.useDispatch)(u.store),{getLastEntitySaveError:s}=(0,c.useSelect)(u.store);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(D.Button,{variant:"primary",onClick:()=>{a(!0)}},t.labels.add_new),r&&(0,o.createElement)(ka,{closeModal:()=>a(!1),onCreate:async function(e){let{title:t,area:r}=e;if(t)try{const e=(0,U.kebabCase)(t).replace(/[^\w-]+/g,"")||"wp-custom-part",l=await i("postType","wp_template_part",{slug:e,title:t,content:"",area:r}),o=s("postType","wp_template_part",l.id);if(o)throw o;a(!1),n.push({postId:l.id,postType:l.type})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,d.__)("An error occurred while creating the template part.");l(t,{type:"snackbar"}),a(!1)}else l((0,d.__)("Title is not defined."),{type:"snackbar"})}}))}function dl(e){let{templateType:t="wp_template"}=e;const n=(0,c.useSelect)((e=>e(u.store).getPostType(t)),[t]);return n?"wp_template"===t?(0,o.createElement)(ul,{postType:n}):"wp_template_part"===t?(0,o.createElement)(ml,{postType:n}):null:null}function pl(e){var t;let{templateType:n}=e;const r=(0,c.useSelect)((e=>e(u.store).getPostType(n)),[n]);return r?(0,o.createElement)("header",{className:"edit-site-list-header"},(0,o.createElement)(D.__experimentalHeading,{level:1,className:"edit-site-list-header__title"},null===(t=r.labels)||void 0===t?void 0:t.name),(0,o.createElement)("div",{className:"edit-site-list-header__right"},(0,o.createElement)(dl,{templateType:n}))):null}function _l(e){let{template:t,onClose:n}=e;const[r,a]=(0,o.useState)((()=>t.title.rendered)),[l,i]=(0,o.useState)(!1),{getLastEntitySaveError:s}=(0,c.useSelect)(u.store),{editEntityRecord:m,saveEditedEntityRecord:p}=(0,c.useDispatch)(u.store),{createSuccessNotice:_,createErrorNotice:g}=(0,c.useDispatch)(A.store);if(!t.is_custom)return null;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(D.MenuItem,{onClick:()=>{i(!0),a(t.title.rendered)}},(0,d.__)("Rename")),l&&(0,o.createElement)(D.Modal,{title:(0,d.__)("Rename template"),closeLabel:(0,d.__)("Close"),onRequestClose:()=>{i(!1)},overlayClassName:"edit-site-list__rename-modal"},(0,o.createElement)("form",{onSubmit:async function(e){e.preventDefault();try{await m("postType",t.type,t.id,{title:r}),a(""),i(!1),n(),await p("postType",t.type,t.id);const e=s("postType",t.type,t.id);if(e)throw e;_((0,d.__)("Template has been renamed."),{type:"snackbar"})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,d.__)("An error occurred while renaming the template.");g(t,{type:"snackbar"})}}},(0,o.createElement)(D.Flex,{align:"flex-start",gap:8},(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.TextControl,{label:(0,d.__)("Name"),value:r,onChange:a,required:!0}))),(0,o.createElement)(D.Flex,{className:"edit-site-list__rename-modal-actions",justify:"flex-end",expanded:!1},(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.Button,{variant:"tertiary",onClick:()=>{i(!1)}},(0,d.__)("Cancel"))),(0,o.createElement)(D.FlexItem,null,(0,o.createElement)(D.Button,{variant:"primary",type:"submit"},(0,d.__)("Save")))))))}function gl(e){let{template:t}=e;const{removeTemplate:n,revertTemplate:r}=(0,c.useDispatch)(mt),{saveEditedEntityRecord:a}=(0,c.useDispatch)(u.store),{createSuccessNotice:l,createErrorNotice:i}=(0,c.useDispatch)(A.store),s=function(e){return!!e&&"custom"===e.source&&!e.has_theme_file}(t),m=ke(t);if(!s&&!m)return null;return(0,o.createElement)(D.DropdownMenu,{icon:Bt,label:(0,d.__)("Actions"),className:"edit-site-list-table__actions"},(e=>{let{onClose:c}=e;return(0,o.createElement)(D.MenuGroup,null,s&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(_l,{template:t,onClose:c}),(0,o.createElement)(D.MenuItem,{isDestructive:!0,onClick:()=>{n(t),c()}},(0,d.__)("Delete template"))),m&&(0,o.createElement)(D.MenuItem,{info:(0,d.__)("Restore template to default state"),onClick:()=>{!async function(){try{await r(t,{allowUndo:!1}),await a("postType",t.type,t.id),l((0,d.__)("Template reverted."),{type:"snackbar"})}catch(e){const t=e.message&&"unknown_error"!==e.code?e.message:(0,d.__)("An error occurred while reverting the template.");i(t,{type:"snackbar"})}}(),c()}},(0,d.__)("Clear customizations")))}))}var hl=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}));var El=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.Path,{d:"M7.25 16.4371C6.16445 15.2755 5.5 13.7153 5.5 12C5.5 8.41015 8.41015 5.5 12 5.5C15.5899 5.5 18.5 8.41015 18.5 12C18.5 13.7153 17.8356 15.2755 16.75 16.4371V16C16.75 14.4812 15.5188 13.25 14 13.25L10 13.25C8.48122 13.25 7.25 14.4812 7.25 16V16.4371ZM8.75 17.6304C9.70606 18.1835 10.8161 18.5 12 18.5C13.1839 18.5 14.2939 18.1835 15.25 17.6304V16C15.25 15.3096 14.6904 14.75 14 14.75L10 14.75C9.30964 14.75 8.75 15.3096 8.75 16V17.6304ZM4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM14 10C14 11.1046 13.1046 12 12 12C10.8954 12 10 11.1046 10 10C10 8.89543 10.8954 8 12 8C13.1046 8 14 8.89543 14 10Z",fillRule:"evenodd",clipRule:"evenodd",fill:"black"}));var fl=(0,o.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(O.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"}));const vl=["wp_template","wp_template_part"];function yl(e){let{isCustomized:t,children:n}=e;return t?(0,o.createElement)(D.Tooltip,{text:(0,d.__)("This template has been customized")},n):n}function bl(e){let{text:t,icon:n,imageUrl:r,isCustomized:a}=e;const[l,i]=(0,o.useState)(!1);return(0,o.createElement)(D.__experimentalHStack,{alignment:"left"},(0,o.createElement)(yl,{isCustomized:a},r?(0,o.createElement)("div",{className:B()("edit-site-list-added-by__avatar",{"is-loaded":l})},(0,o.createElement)("img",{onLoad:()=>i(!0),alt:"",src:r})):(0,o.createElement)("div",{className:B()("edit-site-list-added-by__icon",{"is-customized":a})},(0,o.createElement)(D.Icon,{icon:n}))),(0,o.createElement)("span",null,t))}function wl(e){var t;let{slug:n,isCustomized:r}=e;const a=(0,c.useSelect)((e=>e(u.store).getTheme(n)),[n]);return(0,o.createElement)(bl,{icon:qn,text:(null==a||null===(t=a.name)||void 0===t?void 0:t.rendered)||n,isCustomized:r})}function Sl(e){let{slug:t,isCustomized:n}=e;const r=(0,c.useSelect)((e=>e(u.store).getPlugin(t)),[t]);return(0,o.createElement)(bl,{icon:hl,text:(null==r?void 0:r.name)||t,isCustomized:n})}function kl(e){var t;let{id:n}=e;const r=(0,c.useSelect)((e=>e(u.store).getUser(n)),[n]);return(0,o.createElement)(bl,{icon:El,imageUrl:null==r||null===(t=r.avatar_urls)||void 0===t?void 0:t[48],text:null==r?void 0:r.nickname})}function xl(){const{name:e,logoURL:t}=(0,c.useSelect)((e=>{var t;const{getEntityRecord:n,getMedia:r}=e(u.store),a=n("root","__unstableBase");return{name:null==a?void 0:a.name,logoURL:null!=a&&a.site_logo?null===(t=r(a.site_logo))||void 0===t?void 0:t.source_url:void 0}}),[]);return(0,o.createElement)(bl,{icon:fl,imageUrl:t,text:e})}function Tl(e){let{templateType:t,template:n}=e;if(n){if(vl.includes(t)){if(n.has_theme_file&&("theme"===n.origin||!n.origin&&["theme","custom"].includes(n.source)))return(0,o.createElement)(wl,{slug:n.theme,isCustomized:"custom"===n.source});if(n.has_theme_file&&"plugin"===n.origin)return(0,o.createElement)(Sl,{slug:n.theme,isCustomized:"custom"===n.source});if(!n.has_theme_file&&"custom"===n.source&&!n.author)return(0,o.createElement)(xl,null)}return(0,o.createElement)(kl,{id:n.author})}}function Cl(e){let{templateType:t}=e;const{templates:n,isLoading:r,postType:a}=(0,c.useSelect)((e=>{const{getEntityRecords:n,hasFinishedResolution:r,getPostType:a}=e(u.store);return{templates:n("postType",t,{per_page:-1}),isLoading:!r("getEntityRecords",["postType",t,{per_page:-1}]),postType:a(t)}}),[t]);return!n||r?null:n.length?(0,o.createElement)("table",{className:"edit-site-list-table",role:"table"},(0,o.createElement)("thead",null,(0,o.createElement)("tr",{className:"edit-site-list-table-head",role:"row"},(0,o.createElement)("th",{className:"edit-site-list-table-column",role:"columnheader"},(0,d.__)("Template")),(0,o.createElement)("th",{className:"edit-site-list-table-column",role:"columnheader"},(0,d.__)("Added by")),(0,o.createElement)("th",{className:"edit-site-list-table-column",role:"columnheader"},(0,o.createElement)(D.VisuallyHidden,null,(0,d.__)("Actions"))))),(0,o.createElement)("tbody",null,n.map((e=>{var n;return(0,o.createElement)("tr",{key:e.id,className:"edit-site-list-table-row",role:"row"},(0,o.createElement)("td",{className:"edit-site-list-table-column",role:"cell"},(0,o.createElement)(D.__experimentalHeading,{level:4},(0,o.createElement)(hn,{params:{postId:e.id,postType:e.type}},(null===(n=e.title)||void 0===n?void 0:n.rendered)||e.slug)),e.description),(0,o.createElement)("td",{className:"edit-site-list-table-column",role:"cell"},(0,o.createElement)(Tl,{templateType:t,template:e})),(0,o.createElement)("td",{className:"edit-site-list-table-column",role:"cell"},(0,o.createElement)(gl,{template:e})))})))):(0,o.createElement)("div",null,(0,d.sprintf)((0,d.__)("No %s found."),null==a||null===(l=a.labels)||void 0===l||null===(i=l.name)||void 0===i?void 0:i.toLowerCase()));var l,i}function Nl(){var e,t;const{params:{postType:n}}=Tt();!function(){const{registerShortcut:e}=(0,c.useDispatch)(Mt.store);(0,o.useEffect)((()=>{e({name:"core/edit-site/next-region",category:"global",description:(0,d.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),e({name:"core/edit-site/previous-region",category:"global",description:(0,d.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]})}),[])}();const{previousShortcut:r,nextShortcut:a,isNavigationOpen:l}=(0,c.useSelect)((e=>({previousShortcut:e(Mt.store).getAllShortcutKeyCombinations("core/edit-site/previous-region"),nextShortcut:e(Mt.store).getAllShortcutKeyCombinations("core/edit-site/next-region"),isNavigationOpen:e(mt).isNavigationOpened()})),[]),i=(0,c.useSelect)((e=>e(u.store).getPostType(n)),[n]);ol(null==i||null===(e=i.labels)||void 0===e?void 0:e.name);const s=null==i||null===(t=i.labels)||void 0===t?void 0:t.items_list,p=i?{header:(0,d.sprintf)((0,d.__)("%s - Header"),s),body:(0,d.sprintf)((0,d.__)("%s - Content"),s)}:void 0;return(0,o.createElement)(Se,{className:B()("edit-site-list",{"is-navigation-open":l}),labels:{drawer:(0,d.__)("Navigation Sidebar"),...p},header:(0,o.createElement)(pl,{templateType:n}),drawer:(0,o.createElement)(ba.Slot,null),notices:(0,o.createElement)(m.EditorSnackbars,null),content:(0,o.createElement)(Cl,{templateType:n}),shortcuts:{previous:r,next:a}})}function Il(e){let{postId:t,postType:n}=e;return!(t||!n)}function Pl(e){let{reboot:t}=e;return(0,o.createElement)(D.SlotFillProvider,null,(0,o.createElement)(m.UnsavedChangesWarning,null),(0,o.createElement)(It,null,(e=>{let{params:n}=e;const r=Il(n);return(0,o.createElement)(o.Fragment,null,r?(0,o.createElement)(Nl,null):(0,o.createElement)(sl,{onError:t}),(0,o.createElement)(ba,{isDefaultOpen:!!r,activeTemplateType:r?n.postType:void 0}))})))}async function Ml(e){const t=new URLSearchParams(St.location.search);if(function(e){const{postType:t}=e;return!Il(e)&&!["post","page","wp_template","wp_template_part"].includes(t)}(Object.fromEntries(t.entries()))){const t=await async function(e){const t=await Jt()({path:"/wp/v2/settings"});if(!t)throw new Error("`getHomepageParams`: unable to load site settings.");const{show_on_front:n,page_on_front:r}=t;if("page"===n)return{postType:"page",postId:r};const a=await window.fetch((0,_.addQueryArgs)(e,{"_wp-find-template":!0})).then((e=>{if(!e.ok)throw new Error(`\`getHomepageParams\`: HTTP status error, ${e.status} ${e.statusText}`);return e.json()})).then((e=>{let{data:t}=e;if(t.message)throw new Error(`\`getHomepageParams\`: REST API error, ${t.message}`);return t}));if(null==a||!a.id)throw new Error("`getHomepageParams`: unable to find home template.");return{postType:"wp_template",postId:a.id}}(e);t&&St.replace(t)}}function Al(e){let{className:t,...n}=e;return(0,o.createElement)(ve,R({panelClassName:t,className:"edit-site-sidebar",scope:"core/edit-site"},n))}function Rl(e){return(0,o.createElement)(_e,R({__unstableExplicitMenuItem:!0,scope:"core/edit-site"},e))}var Ll=(0,ye.compose)((0,ie.withPluginContext)(((e,t)=>({icon:t.icon||e.icon,name:"core/edit-site/plugin-more-menu"}))))(de);async function Bl(e,t){try{await Ml(t.siteUrl)}catch(t){return void(0,o.render)((0,o.createElement)(Ka,{message:(0,d.__)("The editor is unable to find a block template for the homepage."),error:t,dashboardLink:"index.php"}),e)}(0,o.unmountComponentAtNode)(e);const n=Bl.bind(null,e,t);(0,c.dispatch)(mt).updateSettings(t),(0,c.dispatch)(m.store).updateEditorSettings({defaultTemplateTypes:t.defaultTemplateTypes,defaultTemplatePartAreas:t.defaultTemplatePartAreas});Il((0,_.getQueryArgs)(window.location.href))&&(0,c.dispatch)(mt).setIsNavigationPanelOpened((0,c.select)(p.store).isViewportMatch("medium"));(0,o.render)((0,o.createElement)(Pl,{reboot:n}),e)}function Dl(e,t){t.__experimentalFetchLinkSuggestions=(e,n)=>(0,u.__experimentalFetchLinkSuggestions)(e,n,t),t.__experimentalFetchRichUrlData=u.__experimentalFetchUrlData,t.__experimentalSpotlightEntityBlocks=["core/template-part"];const n=document.getElementById(e);(0,c.dispatch)(i.store).__experimentalReapplyBlockTypeFilters(),(0,s.registerCoreBlocks)(),Bl(n,t)}}(),(window.wp=window.wp||{}).editSite=r}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/edit-widgets.js b/wp-includes/js/dist/edit-widgets.js
index 3501bf1621..24e52913ce 100644
--- a/wp-includes/js/dist/edit-widgets.js
+++ b/wp-includes/js/dist/edit-widgets.js
@@ -1,1007 +1,944 @@
-this["wp"] = this["wp"] || {}; this["wp"]["editWidgets"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "F35A");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "//Lo":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const blockDefault = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (blockDefault);
-
-
-/***/ }),
-
-/***/ "1CF3":
-/***/ (function(module, exports) {
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-(function() { module.exports = window["wp"]["dom"]; }());
-
-/***/ }),
-
-/***/ "1ZqX":
+/***/ 4403:
 /***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "6aBm":
-/***/ (function(module, exports) {
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */

-(function() { module.exports = window["wp"]["mediaUtils"]; }());
+(function () {
+	'use strict';

-/***/ }),
+	var hasOwn = {}.hasOwnProperty;

-/***/ "Cg8A":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+	function classNames() {
+		var classes = [];

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;

+			var argType = typeof arg;

-/**
- * WordPress dependencies
- */
+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}

-const cog = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  fillRule: "evenodd",
-  d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",
-  clipRule: "evenodd"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (cog);
+		return classes.join(' ');
+	}

+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());

-/***/ }),

-/***/ "F35A":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ })

+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
 "use strict";
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "reinitializeEditor", function() { return /* binding */ reinitializeEditor; });
-__webpack_require__.d(__webpack_exports__, "initialize", function() { return /* binding */ initialize; });
+__webpack_require__.d(__webpack_exports__, {
+  "initialize": function() { return /* binding */ initialize; },
+  "reinitializeEditor": function() { return /* binding */ reinitializeEditor; }
+});

-// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-widgets/build-module/store/actions.js
+// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "persistStubPost", function() { return persistStubPost; });
-__webpack_require__.d(actions_namespaceObject, "saveEditedWidgetAreas", function() { return actions_saveEditedWidgetAreas; });
-__webpack_require__.d(actions_namespaceObject, "saveWidgetAreas", function() { return saveWidgetAreas; });
-__webpack_require__.d(actions_namespaceObject, "saveWidgetArea", function() { return saveWidgetArea; });
-__webpack_require__.d(actions_namespaceObject, "setWidgetIdForClientId", function() { return setWidgetIdForClientId; });
-__webpack_require__.d(actions_namespaceObject, "setWidgetAreasOpenState", function() { return setWidgetAreasOpenState; });
-__webpack_require__.d(actions_namespaceObject, "setIsWidgetAreaOpen", function() { return actions_setIsWidgetAreaOpen; });
-__webpack_require__.d(actions_namespaceObject, "setIsInserterOpened", function() { return actions_setIsInserterOpened; });
-__webpack_require__.d(actions_namespaceObject, "setIsListViewOpened", function() { return actions_setIsListViewOpened; });
-__webpack_require__.d(actions_namespaceObject, "closeGeneralSidebar", function() { return actions_closeGeneralSidebar; });
-__webpack_require__.d(actions_namespaceObject, "moveBlockToWidgetArea", function() { return actions_moveBlockToWidgetArea; });
+__webpack_require__.d(actions_namespaceObject, {
+  "disableComplementaryArea": function() { return disableComplementaryArea; },
+  "enableComplementaryArea": function() { return enableComplementaryArea; },
+  "pinItem": function() { return pinItem; },
+  "setFeatureDefaults": function() { return setFeatureDefaults; },
+  "setFeatureValue": function() { return setFeatureValue; },
+  "toggleFeature": function() { return toggleFeature; },
+  "unpinItem": function() { return unpinItem; }
+});
+
+// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/selectors.js
+var selectors_namespaceObject = {};
+__webpack_require__.r(selectors_namespaceObject);
+__webpack_require__.d(selectors_namespaceObject, {
+  "getActiveComplementaryArea": function() { return getActiveComplementaryArea; },
+  "isFeatureActive": function() { return isFeatureActive; },
+  "isItemPinned": function() { return isItemPinned; }
+});
+
+// NAMESPACE OBJECT: ./node_modules/@wordpress/edit-widgets/build-module/store/actions.js
+var store_actions_namespaceObject = {};
+__webpack_require__.r(store_actions_namespaceObject);
+__webpack_require__.d(store_actions_namespaceObject, {
+  "closeGeneralSidebar": function() { return closeGeneralSidebar; },
+  "moveBlockToWidgetArea": function() { return moveBlockToWidgetArea; },
+  "persistStubPost": function() { return persistStubPost; },
+  "saveEditedWidgetAreas": function() { return saveEditedWidgetAreas; },
+  "saveWidgetArea": function() { return saveWidgetArea; },
+  "saveWidgetAreas": function() { return saveWidgetAreas; },
+  "setIsInserterOpened": function() { return setIsInserterOpened; },
+  "setIsListViewOpened": function() { return setIsListViewOpened; },
+  "setIsWidgetAreaOpen": function() { return setIsWidgetAreaOpen; },
+  "setWidgetAreasOpenState": function() { return setWidgetAreasOpenState; },
+  "setWidgetIdForClientId": function() { return setWidgetIdForClientId; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/edit-widgets/build-module/store/resolvers.js
 var resolvers_namespaceObject = {};
 __webpack_require__.r(resolvers_namespaceObject);
-__webpack_require__.d(resolvers_namespaceObject, "getWidgetAreas", function() { return getWidgetAreas; });
-__webpack_require__.d(resolvers_namespaceObject, "getWidgets", function() { return getWidgets; });
+__webpack_require__.d(resolvers_namespaceObject, {
+  "getWidgetAreas": function() { return getWidgetAreas; },
+  "getWidgets": function() { return getWidgets; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/edit-widgets/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getWidgets", function() { return selectors_getWidgets; });
-__webpack_require__.d(selectors_namespaceObject, "getWidget", function() { return getWidget; });
-__webpack_require__.d(selectors_namespaceObject, "getWidgetAreas", function() { return selectors_getWidgetAreas; });
-__webpack_require__.d(selectors_namespaceObject, "getWidgetAreaForWidgetId", function() { return getWidgetAreaForWidgetId; });
-__webpack_require__.d(selectors_namespaceObject, "getParentWidgetAreaBlock", function() { return selectors_getParentWidgetAreaBlock; });
-__webpack_require__.d(selectors_namespaceObject, "getEditedWidgetAreas", function() { return selectors_getEditedWidgetAreas; });
-__webpack_require__.d(selectors_namespaceObject, "getReferenceWidgetBlocks", function() { return getReferenceWidgetBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "isSavingWidgetAreas", function() { return selectors_isSavingWidgetAreas; });
-__webpack_require__.d(selectors_namespaceObject, "getIsWidgetAreaOpen", function() { return getIsWidgetAreaOpen; });
-__webpack_require__.d(selectors_namespaceObject, "isInserterOpened", function() { return selectors_isInserterOpened; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetInsertionPoint", function() { return __experimentalGetInsertionPoint; });
-__webpack_require__.d(selectors_namespaceObject, "canInsertBlockInWidgetArea", function() { return selectors_canInsertBlockInWidgetArea; });
-__webpack_require__.d(selectors_namespaceObject, "isListViewOpened", function() { return selectors_isListViewOpened; });
+var store_selectors_namespaceObject = {};
+__webpack_require__.r(store_selectors_namespaceObject);
+__webpack_require__.d(store_selectors_namespaceObject, {
+  "__experimentalGetInsertionPoint": function() { return __experimentalGetInsertionPoint; },
+  "canInsertBlockInWidgetArea": function() { return canInsertBlockInWidgetArea; },
+  "getEditedWidgetAreas": function() { return getEditedWidgetAreas; },
+  "getIsWidgetAreaOpen": function() { return getIsWidgetAreaOpen; },
+  "getParentWidgetAreaBlock": function() { return getParentWidgetAreaBlock; },
+  "getReferenceWidgetBlocks": function() { return getReferenceWidgetBlocks; },
+  "getWidget": function() { return getWidget; },
+  "getWidgetAreaForWidgetId": function() { return getWidgetAreaForWidgetId; },
+  "getWidgetAreas": function() { return selectors_getWidgetAreas; },
+  "getWidgets": function() { return selectors_getWidgets; },
+  "isInserterOpened": function() { return isInserterOpened; },
+  "isListViewOpened": function() { return isListViewOpened; },
+  "isSavingWidgetAreas": function() { return isSavingWidgetAreas; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/edit-widgets/build-module/blocks/widget-area/index.js
 var widget_area_namespaceObject = {};
 __webpack_require__.r(widget_area_namespaceObject);
-__webpack_require__.d(widget_area_namespaceObject, "metadata", function() { return widget_area_metadata; });
-__webpack_require__.d(widget_area_namespaceObject, "name", function() { return widget_area_name; });
-__webpack_require__.d(widget_area_namespaceObject, "settings", function() { return widget_area_settings; });
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+__webpack_require__.d(widget_area_namespaceObject, {
+  "metadata": function() { return metadata; },
+  "name": function() { return widget_area_name; },
+  "settings": function() { return settings; }
+});

-// EXTERNAL MODULE: external ["wp","blockLibrary"]
-var external_wp_blockLibrary_ = __webpack_require__("QyPg");
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external ["wp","blockLibrary"]
+var external_wp_blockLibrary_namespaceObject = window["wp"]["blockLibrary"];
+;// CONCATENATED MODULE: external ["wp","coreData"]
+var external_wp_coreData_namespaceObject = window["wp"]["coreData"];
+;// CONCATENATED MODULE: external ["wp","widgets"]
+var external_wp_widgets_namespaceObject = window["wp"]["widgets"];
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-// EXTERNAL MODULE: external ["wp","widgets"]
-var external_wp_widgets_ = __webpack_require__("GLVC");
+    return target;
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/interface/build-module/index.js + 17 modules
-var build_module = __webpack_require__("U60i");
+  return _extends.apply(this, arguments);
+}
+// EXTERNAL MODULE: ./node_modules/classnames/index.js
+var classnames = __webpack_require__(4403);
+var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js

-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/reducer.js
 /**
  * WordPress dependencies
  */

-/**
- * Controls the open state of the widget areas.
- *
- * @param {Object} state  Redux state.
- * @param {Object} action Redux action.
- *
- * @return {Array} Updated state.
- */
-
-function reducer_widgetAreasOpenState() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
-  const {
-    type
-  } = action;
+const check = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
+}));
+/* harmony default export */ var library_check = (check);

-  switch (type) {
-    case 'SET_WIDGET_AREAS_OPEN_STATE':
-      {
-        return action.widgetAreasOpenState;
-      }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js

-    case 'SET_IS_WIDGET_AREA_OPEN':
-      {
-        const {
-          clientId,
-          isOpen
-        } = action;
-        return { ...state,
-          [clientId]: isOpen
-        };
-      }

-    default:
-      {
-        return state;
-      }
-  }
-}
 /**
- * Reducer to set the block inserter panel open or closed.
- *
- * Note: this reducer interacts with the list view panel reducer
- * to make sure that only one of the two panels is open at the same time.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
+ * WordPress dependencies
  */

-function blockInserterPanel() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+const starFilled = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var star_filled = (starFilled);

-  switch (action.type) {
-    case 'SET_IS_LIST_VIEW_OPENED':
-      return action.isOpen ? false : state;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js

-    case 'SET_IS_INSERTER_OPENED':
-      return action.value;
-  }

-  return state;
-}
 /**
- * Reducer to set the list view panel open or closed.
- *
- * Note: this reducer interacts with the inserter panel reducer
- * to make sure that only one of the two panels is open at the same time.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
+ * WordPress dependencies
  */

-function listViewPanel() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
-
-  switch (action.type) {
-    case 'SET_IS_INSERTER_OPENED':
-      return action.value ? false : state;
-
-    case 'SET_IS_LIST_VIEW_OPENED':
-      return action.isOpen;
-  }
-
-  return state;
-}
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  blockInserterPanel,
-  listViewPanel,
-  widgetAreasOpenState: reducer_widgetAreasOpenState
+const starEmpty = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
 }));
+/* harmony default export */ var star_empty = (starEmpty);

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
+;// CONCATENATED MODULE: external ["wp","viewport"]
+var external_wp_viewport_namespaceObject = window["wp"]["viewport"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js

-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/transformers.js
 /**
  * WordPress dependencies
  */

+const closeSmall = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
+}));
+/* harmony default export */ var close_small = (closeSmall);

+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/reducer.js
 /**
- * Converts a widget entity record into a block.
- *
- * @param {Object} widget The widget entity record.
- * @return {Object} a block (converted from the entity record).
+ * External dependencies
  */

-function transformWidgetToBlock(widget) {
-  if (widget.id_base === 'block') {
-    const parsedBlocks = Object(external_wp_blocks_["parse"])(widget.instance.raw.content);
+/**
+ * WordPress dependencies
+ */

-    if (!parsedBlocks.length) {
-      return Object(external_wp_widgets_["addWidgetIdToBlock"])(Object(external_wp_blocks_["createBlock"])('core/paragraph', {}, []), widget.id);
-    }

-    return Object(external_wp_widgets_["addWidgetIdToBlock"])(parsedBlocks[0], widget.id);
-  }
+/**
+ * Reducer to keep tract of the active area per scope.
+ *
+ * @param {boolean} state           Previous state.
+ * @param {Object}  action          Action object.
+ * @param {string}  action.type     Action type.
+ * @param {string}  action.itemType Type of item.
+ * @param {string}  action.scope    Item scope.
+ * @param {string}  action.item     Item name.
+ *
+ * @return {Object} Updated state.
+ */

-  let attributes;
+function singleEnableItems() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let {
+    type,
+    itemType,
+    scope,
+    item
+  } = arguments.length > 1 ? arguments[1] : undefined;

-  if (widget._embedded.about[0].is_multi) {
-    attributes = {
-      idBase: widget.id_base,
-      instance: widget.instance
-    };
-  } else {
-    attributes = {
-      id: widget.id
-    };
+  if (type !== 'SET_SINGLE_ENABLE_ITEM' || !itemType || !scope) {
+    return state;
   }

-  return Object(external_wp_widgets_["addWidgetIdToBlock"])(Object(external_wp_blocks_["createBlock"])('core/legacy-widget', attributes, []), widget.id);
+  return { ...state,
+    [itemType]: { ...state[itemType],
+      [scope]: item || null
+    }
+  };
 }
 /**
- * Converts a block to a widget entity record.
+ * Reducer keeping track of the "pinned" items per scope.
  *
- * @param {Object}  block         The block.
- * @param {Object?} relatedWidget A related widget entity record from the API (optional).
- * @return {Object} the widget object (converted from block).
+ * @param {boolean} state           Previous state.
+ * @param {Object}  action          Action object.
+ * @param {string}  action.type     Action type.
+ * @param {string}  action.itemType Type of item.
+ * @param {string}  action.scope    Item scope.
+ * @param {string}  action.item     Item name.
+ * @param {boolean} action.isEnable Whether the item is pinned.
+ *
+ * @return {Object} Updated state.
  */

-function transformBlockToWidget(block) {
-  let relatedWidget = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  let widget;
-  const isValidLegacyWidgetBlock = block.name === 'core/legacy-widget' && (block.attributes.id || block.attributes.instance);
+function multipleEnableItems() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let {
+    type,
+    itemType,
+    scope,
+    item,
+    isEnable
+  } = arguments.length > 1 ? arguments[1] : undefined;

-  if (isValidLegacyWidgetBlock) {
-    var _block$attributes$id, _block$attributes$idB, _block$attributes$ins;
+  if (type !== 'SET_MULTIPLE_ENABLE_ITEM' || !itemType || !scope || !item || (0,external_lodash_namespaceObject.get)(state, [itemType, scope, item]) === isEnable) {
+    return state;
+  }

-    widget = { ...relatedWidget,
-      id: (_block$attributes$id = block.attributes.id) !== null && _block$attributes$id !== void 0 ? _block$attributes$id : relatedWidget.id,
-      id_base: (_block$attributes$idB = block.attributes.idBase) !== null && _block$attributes$idB !== void 0 ? _block$attributes$idB : relatedWidget.id_base,
-      instance: (_block$attributes$ins = block.attributes.instance) !== null && _block$attributes$ins !== void 0 ? _block$attributes$ins : relatedWidget.instance
-    };
-  } else {
-    widget = { ...relatedWidget,
-      id_base: 'block',
-      instance: {
-        raw: {
-          content: Object(external_wp_blocks_["serialize"])(block)
-        }
+  const currentTypeState = state[itemType] || {};
+  const currentScopeState = currentTypeState[scope] || {};
+  return { ...state,
+    [itemType]: { ...currentTypeState,
+      [scope]: { ...currentScopeState,
+        [item]: isEnable || false
       }
-    };
-  } // Delete read-only properties.
-
-
-  delete widget.rendered;
-  delete widget.rendered_form;
-  return widget;
+    }
+  };
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/utils.js
 /**
- * "Kind" of the navigation post.
+ * Reducer returning the defaults for user preferences.
  *
- * @type {string}
- */
-const KIND = 'root';
-/**
- * "post type" of the navigation post.
+ * This is kept intentionally separate from the preferences
+ * themselves so that defaults are not persisted.
  *
- * @type {string}
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */

-const WIDGET_AREA_ENTITY_TYPE = 'sidebar';
+const preferenceDefaults = (0,external_wp_data_namespaceObject.combineReducers)({
+  features() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;
+
+    if (action.type === 'SET_FEATURE_DEFAULTS') {
+      const {
+        scope,
+        defaults
+      } = action;
+      return { ...state,
+        [scope]: { ...state[scope],
+          ...defaults
+        }
+      };
+    }
+
+    return state;
+  }
+
+});
 /**
- * "post type" of the widget area post.
+ * Reducer returning the user preferences.
  *
- * @type {string}
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
  */

-const POST_TYPE = 'postType';
+const preferences = (0,external_wp_data_namespaceObject.combineReducers)({
+  features() {
+    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+    let action = arguments.length > 1 ? arguments[1] : undefined;
+
+    if (action.type === 'SET_FEATURE_VALUE') {
+      const {
+        scope,
+        featureName,
+        value
+      } = action;
+      return { ...state,
+        [scope]: { ...state[scope],
+          [featureName]: value
+        }
+      };
+    }
+
+    return state;
+  }
+
+});
+const enableItems = (0,external_wp_data_namespaceObject.combineReducers)({
+  singleEnableItems,
+  multipleEnableItems
+});
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  enableItems,
+  preferenceDefaults,
+  preferences
+}));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/actions.js
 /**
- * Builds an ID for a new widget area post.
+ * Returns an action object used in signalling that an active area should be changed.
  *
- * @param {number} widgetAreaId Widget area id.
- * @return {string} An ID.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Item scope.
+ * @param {string} item     Item identifier.
+ *
+ * @return {Object} Action object.
  */
-
-const buildWidgetAreaPostId = widgetAreaId => `widget-area-${widgetAreaId}`;
+function setSingleEnableItem(itemType, scope, item) {
+  return {
+    type: 'SET_SINGLE_ENABLE_ITEM',
+    itemType,
+    scope,
+    item
+  };
+}
 /**
- * Builds an ID for a global widget areas post.
+ * Returns an action object used in signalling that a complementary item should be enabled.
  *
- * @return {string} An ID.
+ * @param {string} scope Complementary area scope.
+ * @param {string} area  Area identifier.
+ *
+ * @return {Object} Action object.
  */

-const buildWidgetAreasPostId = () => `widget-areas`;
+
+function enableComplementaryArea(scope, area) {
+  return setSingleEnableItem('complementaryArea', scope, area);
+}
 /**
- * Builds a query to resolve sidebars.
+ * Returns an action object used in signalling that the complementary area of a given scope should be disabled.
  *
- * @return {Object} Query.
+ * @param {string} scope Complementary area scope.
+ *
+ * @return {Object} Action object.
  */

-function buildWidgetAreasQuery() {
-  return {
-    per_page: -1
-  };
+function disableComplementaryArea(scope) {
+  return setSingleEnableItem('complementaryArea', scope, undefined);
 }
 /**
- * Builds a query to resolve widgets.
+ * Returns an action object to make an area enabled/disabled.
  *
- * @return {Object} Query.
+ * @param {string}  itemType Type of item.
+ * @param {string}  scope    Item scope.
+ * @param {string}  item     Item identifier.
+ * @param {boolean} isEnable Boolean indicating if an area should be pinned or not.
+ *
+ * @return {Object} Action object.
  */

-function buildWidgetsQuery() {
+function setMultipleEnableItem(itemType, scope, item, isEnable) {
   return {
-    per_page: -1,
-    _embed: 'about'
+    type: 'SET_MULTIPLE_ENABLE_ITEM',
+    itemType,
+    scope,
+    item,
+    isEnable
   };
 }
 /**
- * Creates a stub post with given id and set of blocks. Used as a governing entity records
- * for all widget areas.
+ * Returns an action object used in signalling that an item should be pinned.
  *
- * @param {string} id     Post ID.
- * @param {Array}  blocks The list of blocks.
- * @return {Object} A stub post object formatted in compliance with the data layer.
+ * @param {string} scope  Item scope.
+ * @param {string} itemId Item identifier.
+ *
+ * @return {Object} Action object.
  */

-const createStubPost = (id, blocks) => ({
-  id,
-  slug: id,
-  status: 'draft',
-  type: 'page',
-  blocks,
-  meta: {
-    widgetAreaId: id
-  }
-});
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/constants.js
-/**
- * Module Constants
- */
-const STORE_NAME = 'core/edit-widgets';

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/actions.js
+function pinItem(scope, itemId) {
+  return setMultipleEnableItem('pinnedItems', scope, itemId, true);
+}
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that an item should be unpinned.
+ *
+ * @param {string} scope  Item scope.
+ * @param {string} itemId Item identifier.
+ *
+ * @return {Object} Action object.
  */

+function unpinItem(scope, itemId) {
+  return setMultipleEnableItem('pinnedItems', scope, itemId, false);
+}
+/**
+ * Returns an action object used in signalling that a feature should be toggled.
+ *
+ * @param {string} scope       The feature scope (e.g. core/edit-post).
+ * @param {string} featureName The feature name.
+ */

+function toggleFeature(scope, featureName) {
+  return function (_ref) {
+    let {
+      select,
+      dispatch
+    } = _ref;
+    const currentValue = select.isFeatureActive(scope, featureName);
+    dispatch.setFeatureValue(scope, featureName, !currentValue);
+  };
+}
+/**
+ * Returns an action object used in signalling that a feature should be set to
+ * a true or false value
+ *
+ * @param {string}  scope       The feature scope (e.g. core/edit-post).
+ * @param {string}  featureName The feature name.
+ * @param {boolean} value       The value to set.
+ *
+ * @return {Object} Action object.
+ */

+function setFeatureValue(scope, featureName, value) {
+  return {
+    type: 'SET_FEATURE_VALUE',
+    scope,
+    featureName,
+    value: !!value
+  };
+}
+/**
+ * Returns an action object used in signalling that defaults should be set for features.
+ *
+ * @param {string}                  scope    The feature scope (e.g. core/edit-post).
+ * @param {Object<string, boolean>} defaults A key/value map of feature names to values.
+ *
+ * @return {Object} Action object.
+ */

+function setFeatureDefaults(scope, defaults) {
+  return {
+    type: 'SET_FEATURE_DEFAULTS',
+    scope,
+    defaults
+  };
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/selectors.js
+/**
+ * External dependencies
+ */

 /**
- * Internal dependencies
+ * Returns the item that is enabled in a given scope.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Item scope.
+ *
+ * @return {?string|null} The item that is enabled in the passed scope and type.
  */

+function getSingleEnableItem(state, itemType, scope) {
+  return (0,external_lodash_namespaceObject.get)(state.enableItems.singleEnableItems, [itemType, scope]);
+}
+/**
+ * Returns the complementary area that is active in a given scope.
+ *
+ * @param {Object} state Global application state.
+ * @param {string} scope Item scope.
+ *
+ * @return {string} The complementary area that is active in the given scope.
+ */


+function getActiveComplementaryArea(state, scope) {
+  return getSingleEnableItem(state, 'complementaryArea', scope);
+}
+/**
+ * Returns a boolean indicating if an item is enabled or not in a given scope.
+ *
+ * @param {Object} state    Global application state.
+ * @param {string} itemType Type of item.
+ * @param {string} scope    Scope.
+ * @param {string} item     Item to check.
+ *
+ * @return {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
+ */

+function isMultipleEnabledItemEnabled(state, itemType, scope, item) {
+  return (0,external_lodash_namespaceObject.get)(state.enableItems.multipleEnableItems, [itemType, scope, item]);
+}
 /**
- * Persists a stub post with given ID to core data store. The post is meant to be in-memory only and
- * shouldn't be saved via the API.
+ * Returns a boolean indicating if an item is pinned or not.
  *
- * @param {string} id     Post ID.
- * @param {Array}  blocks Blocks the post should consist of.
- * @return {Object} The post object.
+ * @param {Object} state Global application state.
+ * @param {string} scope Scope.
+ * @param {string} item  Item to check.
+ *
+ * @return {boolean} True if the item is pinned and false otherwise.
  */

-const persistStubPost = (id, blocks) => _ref => {
-  let {
-    registry
-  } = _ref;
-  const stubPost = createStubPost(id, blocks);
-  registry.dispatch(external_wp_coreData_["store"]).receiveEntityRecords(KIND, POST_TYPE, stubPost, {
-    id: stubPost.id
-  }, false);
-  return stubPost;
-};
+
+function isItemPinned(state, scope, item) {
+  return isMultipleEnabledItemEnabled(state, 'pinnedItems', scope, item) !== false;
+}
 /**
- * Converts all the blocks from edited widget areas into widgets,
- * and submits a batch request to save everything at once.
+ * Returns a boolean indicating whether a feature is active for a particular
+ * scope.
  *
- * Creates a snackbar notice on either success or error.
+ * @param {Object} state       The store state.
+ * @param {string} scope       The scope of the feature (e.g. core/edit-post).
+ * @param {string} featureName The name of the feature.
  *
- * @return {Function} An action creator.
+ * @return {boolean} Is the feature enabled?
  */

-const actions_saveEditedWidgetAreas = () => async _ref2 => {
-  let {
-    select,
-    dispatch,
-    registry
-  } = _ref2;
-  const editedWidgetAreas = select.getEditedWidgetAreas();
+function isFeatureActive(state, scope, featureName) {
+  var _state$preferences$fe, _state$preferenceDefa;

-  if (!(editedWidgetAreas !== null && editedWidgetAreas !== void 0 && editedWidgetAreas.length)) {
-    return;
-  }
+  const featureValue = (_state$preferences$fe = state.preferences.features[scope]) === null || _state$preferences$fe === void 0 ? void 0 : _state$preferences$fe[featureName];
+  const defaultedFeatureValue = featureValue !== undefined ? featureValue : (_state$preferenceDefa = state.preferenceDefaults.features[scope]) === null || _state$preferenceDefa === void 0 ? void 0 : _state$preferenceDefa[featureName];
+  return !!defaultedFeatureValue;
+}

-  try {
-    await dispatch.saveWidgetAreas(editedWidgetAreas);
-    registry.dispatch(external_wp_notices_["store"]).createSuccessNotice(Object(external_wp_i18n_["__"])('Widgets saved.'), {
-      type: 'snackbar'
-    });
-  } catch (e) {
-    registry.dispatch(external_wp_notices_["store"]).createErrorNotice(
-    /* translators: %s: The error message. */
-    Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('There was an error. %s'), e.message), {
-      type: 'snackbar'
-    });
-  }
-};
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/constants.js
 /**
- * Converts all the blocks from specified widget areas into widgets,
- * and submits a batch request to save everything at once.
+ * The identifier for the data store.
  *
- * @param {Object[]} widgetAreas Widget areas to save.
- * @return {Function} An action creator.
+ * @type {string}
  */
+const STORE_NAME = 'core/interface';

-const saveWidgetAreas = widgetAreas => async _ref3 => {
-  let {
-    dispatch,
-    registry
-  } = _ref3;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/index.js
+/**
+ * WordPress dependencies
+ */

-  try {
-    for (const widgetArea of widgetAreas) {
-      await dispatch.saveWidgetArea(widgetArea.id);
-    }
-  } finally {
-    // saveEditedEntityRecord resets the resolution status, let's fix it manually
-    await registry.dispatch(external_wp_coreData_["store"]).finishResolution('getEntityRecord', KIND, WIDGET_AREA_ENTITY_TYPE, buildWidgetAreasQuery());
-  }
-};
 /**
- * Converts all the blocks from a widget area specified by ID into widgets,
- * and submits a batch request to save everything at once.
- *
- * @param {string} widgetAreaId ID of the widget area to process.
- * @return {Function} An action creator.
+ * Internal dependencies
  */

-const saveWidgetArea = widgetAreaId => async _ref4 => {
-  let {
-    dispatch,
-    select,
-    registry
-  } = _ref4;
-  const widgets = select.getWidgets();
-  const post = registry.select(external_wp_coreData_["store"]).getEditedEntityRecord(KIND, POST_TYPE, buildWidgetAreaPostId(widgetAreaId)); // Get all widgets from this area

-  const areaWidgets = Object.values(widgets).filter(_ref5 => {
-    let {
-      sidebar
-    } = _ref5;
-    return sidebar === widgetAreaId;
-  }); // Remove all duplicate reference widget instances for legacy widgets.
-  // Why? We filter out the widgets with duplicate IDs to prevent adding more than one instance of a widget
-  // implemented using a function. WordPress doesn't support having more than one instance of these, if you try to
-  // save multiple instances of these in different sidebars you will run into undefined behaviors.

-  const usedReferenceWidgets = [];
-  const widgetsBlocks = post.blocks.filter(block => {
-    const {
-      id
-    } = block.attributes;

-    if (block.name === 'core/legacy-widget' && id) {
-      if (usedReferenceWidgets.includes(id)) {
-        return false;
-      }

-      usedReferenceWidgets.push(id);
-    }
+/**
+ * Store definition for the interface namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
+ */

-    return true;
-  }); // Determine which widgets have been deleted. We can tell if a widget is
-  // deleted and not just moved to a different area by looking to see if
-  // getWidgetAreaForWidgetId() finds something.
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
+  reducer: reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['enableItems', 'preferences'],
+  __experimentalUseThunks: true
+}); // Once we build a more generic persistence plugin that works across types of stores
+// we'd be able to replace this with a register call.

-  const deletedWidgets = [];
+(0,external_wp_data_namespaceObject.registerStore)(STORE_NAME, {
+  reducer: reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['enableItems', 'preferences'],
+  __experimentalUseThunks: true
+});

-  for (const widget of areaWidgets) {
-    const widgetsNewArea = select.getWidgetAreaForWidgetId(widget.id);
+;// CONCATENATED MODULE: external ["wp","plugins"]
+var external_wp_plugins_namespaceObject = window["wp"]["plugins"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-context/index.js
+/**
+ * WordPress dependencies
+ */

-    if (!widgetsNewArea) {
-      deletedWidgets.push(widget);
-    }
-  }
+/* harmony default export */ var complementary_area_context = ((0,external_wp_plugins_namespaceObject.withPluginContext)((context, ownProps) => {
+  return {
+    icon: ownProps.icon || context.icon,
+    identifier: ownProps.identifier || `${context.name}/${ownProps.name}`
+  };
+}));

-  const batchMeta = [];
-  const batchTasks = [];
-  const sidebarWidgetsIds = [];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-toggle/index.js

-  for (let i = 0; i < widgetsBlocks.length; i++) {
-    const block = widgetsBlocks[i];
-    const widgetId = Object(external_wp_widgets_["getWidgetIdFromBlock"])(block);
-    const oldWidget = widgets[widgetId];
-    const widget = transformBlockToWidget(block, oldWidget); // We'll replace the null widgetId after save, but we track it here
-    // since order is important.

-    sidebarWidgetsIds.push(widgetId); // Check oldWidget as widgetId might refer to an ID which has been
-    // deleted, e.g. if a deleted block is restored via undo after saving.

-    if (oldWidget) {
-      // Update an existing widget.
-      registry.dispatch(external_wp_coreData_["store"]).editEntityRecord('root', 'widget', widgetId, { ...widget,
-        sidebar: widgetAreaId
-      }, {
-        undoIgnore: true
-      });
-      const hasEdits = registry.select(external_wp_coreData_["store"]).hasEditsForEntityRecord('root', 'widget', widgetId);
-
-      if (!hasEdits) {
-        continue;
-      }
+/**
+ * External dependencies
+ */

-      batchTasks.push(_ref6 => {
-        let {
-          saveEditedEntityRecord
-        } = _ref6;
-        return saveEditedEntityRecord('root', 'widget', widgetId);
-      });
-    } else {
-      // Create a new widget.
-      batchTasks.push(_ref7 => {
-        let {
-          saveEntityRecord
-        } = _ref7;
-        return saveEntityRecord('root', 'widget', { ...widget,
-          sidebar: widgetAreaId
-        });
-      });
-    }
+/**
+ * WordPress dependencies
+ */

-    batchMeta.push({
-      block,
-      position: i,
-      clientId: block.clientId
-    });
-  }

-  for (const widget of deletedWidgets) {
-    batchTasks.push(_ref8 => {
-      let {
-        deleteEntityRecord
-      } = _ref8;
-      return deleteEntityRecord('root', 'widget', widget.id, {
-        force: true
-      });
-    });
-  }

-  const records = await registry.dispatch(external_wp_coreData_["store"]).__experimentalBatch(batchTasks);
-  const preservedRecords = records.filter(record => !record.hasOwnProperty('deleted'));
-  const failedWidgetNames = [];
+/**
+ * Internal dependencies
+ */

-  for (let i = 0; i < preservedRecords.length; i++) {
-    const widget = preservedRecords[i];
-    const {
-      block,
-      position
-    } = batchMeta[i]; // Set __internalWidgetId on the block. This will be persisted to the
-    // store when we dispatch receiveEntityRecords( post ) below.

-    post.blocks[position].attributes.__internalWidgetId = widget.id;
-    const error = registry.select(external_wp_coreData_["store"]).getLastEntitySaveError('root', 'widget', widget.id);

-    if (error) {
-      var _block$attributes;

-      failedWidgetNames.push(((_block$attributes = block.attributes) === null || _block$attributes === void 0 ? void 0 : _block$attributes.name) || (block === null || block === void 0 ? void 0 : block.name));
+function ComplementaryAreaToggle(_ref) {
+  let {
+    as = external_wp_components_namespaceObject.Button,
+    scope,
+    identifier,
+    icon,
+    selectedIcon,
+    ...props
+  } = _ref;
+  const ComponentToUse = as;
+  const isSelected = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getActiveComplementaryArea(scope) === identifier, [identifier]);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_element_namespaceObject.createElement)(ComponentToUse, _extends({
+    icon: selectedIcon && isSelected ? selectedIcon : icon,
+    onClick: () => {
+      if (isSelected) {
+        disableComplementaryArea(scope);
+      } else {
+        enableComplementaryArea(scope, identifier);
+      }
     }
+  }, (0,external_lodash_namespaceObject.omit)(props, ['name'])));
+}

-    if (!sidebarWidgetsIds[position]) {
-      sidebarWidgetsIds[position] = widget.id;
-    }
-  }
+/* harmony default export */ var complementary_area_toggle = (complementary_area_context(ComplementaryAreaToggle));

-  if (failedWidgetNames.length) {
-    throw new Error(Object(external_wp_i18n_["sprintf"])(
-    /* translators: %s: List of widget names */
-    Object(external_wp_i18n_["__"])('Could not save the following widgets: %s.'), failedWidgetNames.join(', ')));
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-header/index.js

-  registry.dispatch(external_wp_coreData_["store"]).editEntityRecord(KIND, WIDGET_AREA_ENTITY_TYPE, widgetAreaId, {
-    widgets: sidebarWidgetsIds
-  }, {
-    undoIgnore: true
-  });
-  dispatch(trySaveWidgetArea(widgetAreaId));
-  registry.dispatch(external_wp_coreData_["store"]).receiveEntityRecords(KIND, POST_TYPE, post, undefined);
-};

-const trySaveWidgetArea = widgetAreaId => _ref9 => {
-  let {
-    registry
-  } = _ref9;
-  const saveErrorBefore = registry.select(external_wp_coreData_["store"]).getLastEntitySaveError(KIND, WIDGET_AREA_ENTITY_TYPE, widgetAreaId);
-  registry.dispatch(external_wp_coreData_["store"]).saveEditedEntityRecord(KIND, WIDGET_AREA_ENTITY_TYPE, widgetAreaId);
-  const saveErrorAfter = registry.select(external_wp_coreData_["store"]).getLastEntitySaveError(KIND, WIDGET_AREA_ENTITY_TYPE, widgetAreaId);

-  if (saveErrorAfter && saveErrorBefore !== saveErrorAfter) {
-    throw new Error(saveErrorAfter);
-  }
-};
 /**
- * Sets the clientId stored for a particular widgetId.
- *
- * @param {number} clientId Client id.
- * @param {number} widgetId Widget id.
- *
- * @return {Object} Action.
+ * External dependencies
  */

-
-function setWidgetIdForClientId(clientId, widgetId) {
-  return {
-    type: 'SET_WIDGET_ID_FOR_CLIENT_ID',
-    clientId,
-    widgetId
-  };
-}
 /**
- * Sets the open state of all the widget areas.
- *
- * @param {Object} widgetAreasOpenState The open states of all the widget areas.
- *
- * @return {Object} Action.
+ * WordPress dependencies
  */

-function setWidgetAreasOpenState(widgetAreasOpenState) {
-  return {
-    type: 'SET_WIDGET_AREAS_OPEN_STATE',
-    widgetAreasOpenState
-  };
-}
-/**
- * Sets the open state of the widget area.
- *
- * @param {string}  clientId The clientId of the widget area.
- * @param {boolean} isOpen   Whether the widget area should be opened.
- *
- * @return {Object} Action.
- */

-function actions_setIsWidgetAreaOpen(clientId, isOpen) {
-  return {
-    type: 'SET_IS_WIDGET_AREA_OPEN',
-    clientId,
-    isOpen
-  };
-}
 /**
- * Returns an action object used to open/close the inserter.
- *
- * @param {boolean|Object} value                Whether the inserter should be
- *                                              opened (true) or closed (false).
- *                                              To specify an insertion point,
- *                                              use an object.
- * @param {string}         value.rootClientId   The root client ID to insert at.
- * @param {number}         value.insertionIndex The index to insert at.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */

-function actions_setIsInserterOpened(value) {
-  return {
-    type: 'SET_IS_INSERTER_OPENED',
-    value
-  };
-}
-/**
- * Returns an action object used to open/close the list view.
- *
- * @param {boolean} isOpen A boolean representing whether the list view should be opened or closed.
- * @return {Object} Action object.
- */

-function actions_setIsListViewOpened(isOpen) {
-  return {
-    type: 'SET_IS_LIST_VIEW_OPENED',
-    isOpen
-  };
-}
-/**
- * Returns an action object signalling that the user closed the sidebar.
- *
- * @return {Object} Action creator.
- */

-const actions_closeGeneralSidebar = () => _ref10 => {
+const ComplementaryAreaHeader = _ref => {
   let {
-    registry
-  } = _ref10;
-  registry.dispatch(build_module["i" /* store */]).disableComplementaryArea(STORE_NAME);
+    smallScreenTitle,
+    children,
+    className,
+    toggleButtonProps
+  } = _ref;
+  const toggleButton = (0,external_wp_element_namespaceObject.createElement)(complementary_area_toggle, _extends({
+    icon: close_small
+  }, toggleButtonProps));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-panel__header interface-complementary-area-header__small"
+  }, smallScreenTitle && (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "interface-complementary-area-header__small-title"
+  }, smallScreenTitle), toggleButton), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()('components-panel__header', 'interface-complementary-area-header', className),
+    tabIndex: -1
+  }, children, toggleButton));
 };
-/**
- * Action that handles moving a block between widget areas
- *
- * @param {string} clientId     The clientId of the block to move.
- * @param {string} widgetAreaId The id of the widget area to move the block to.
- */
-
-const actions_moveBlockToWidgetArea = (clientId, widgetAreaId) => async _ref11 => {
-  let {
-    dispatch,
-    select,
-    registry
-  } = _ref11;
-  const sourceRootClientId = registry.select(external_wp_blockEditor_["store"]).getBlockRootClientId([clientId]); // Search the top level blocks (widget areas) for the one with the matching
-  // id attribute. Makes the assumption that all top-level blocks are widget
-  // areas.
-
-  const widgetAreas = registry.select(external_wp_blockEditor_["store"]).getBlocks();
-  const destinationWidgetAreaBlock = widgetAreas.find(_ref12 => {
-    let {
-      attributes
-    } = _ref12;
-    return attributes.id === widgetAreaId;
-  });
-  const destinationRootClientId = destinationWidgetAreaBlock.clientId; // Get the index for moving to the end of the the destination widget area.
-
-  const destinationInnerBlocksClientIds = registry.select(external_wp_blockEditor_["store"]).getBlockOrder(destinationRootClientId);
-  const destinationIndex = destinationInnerBlocksClientIds.length; // Reveal the widget area, if it's not open.

-  const isDestinationWidgetAreaOpen = select.getIsWidgetAreaOpen(destinationRootClientId);
+/* harmony default export */ var complementary_area_header = (ComplementaryAreaHeader);

-  if (!isDestinationWidgetAreaOpen) {
-    dispatch.setIsWidgetAreaOpen(destinationRootClientId, true);
-  } // Move the block.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/action-item/index.js


-  registry.dispatch(external_wp_blockEditor_["store"]).moveBlocksToPosition([clientId], sourceRootClientId, destinationRootClientId, destinationIndex);
-};

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/resolvers.js
 /**
- * WordPress dependencies
+ * External dependencies
  */

-
 /**
- * Internal dependencies
+ * WordPress dependencies
  */




-/**
- * Creates a "stub" widgets post reflecting all available widget areas. The
- * post is meant as a convenient to only exists in runtime and should never be saved. It
- * enables a convenient way of editing the widgets by using a regular post editor.
- *
- * Fetches all widgets from all widgets aras, converts them into blocks, and hydrates a new post with them.
- *
- * @return {Function} An action creator.
- */
-
-const getWidgetAreas = () => async _ref => {
+function ActionItemSlot(_ref) {
   let {
-    dispatch,
-    registry
+    name,
+    as: Component = external_wp_components_namespaceObject.ButtonGroup,
+    fillProps = {},
+    bubblesVirtually,
+    ...props
   } = _ref;
-  const query = buildWidgetAreasQuery();
-  const widgetAreas = await registry.resolveSelect(external_wp_coreData_["store"]).getEntityRecords(KIND, WIDGET_AREA_ENTITY_TYPE, query);
-  const widgetAreaBlocks = [];
-  const sortedWidgetAreas = widgetAreas.sort((a, b) => {
-    if (a.id === 'wp_inactive_widgets') {
-      return 1;
-    }
-
-    if (b.id === 'wp_inactive_widgets') {
-      return -1;
-    }
-
-    return 0;
-  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, {
+    name: name,
+    bubblesVirtually: bubblesVirtually,
+    fillProps: fillProps
+  }, fills => {
+    if ((0,external_lodash_namespaceObject.isEmpty)(external_wp_element_namespaceObject.Children.toArray(fills))) {
+      return null;
+    } // Special handling exists for backward compatibility.
+    // It ensures that menu items created by plugin authors aren't
+    // duplicated with automatically injected menu items coming
+    // from pinnable plugin sidebars.
+    // @see https://github.com/WordPress/gutenberg/issues/14457

-  for (const widgetArea of sortedWidgetAreas) {
-    widgetAreaBlocks.push(Object(external_wp_blocks_["createBlock"])('core/widget-area', {
-      id: widgetArea.id,
-      name: widgetArea.name
-    }));

-    if (!widgetArea.widgets.length) {
-      // If this widget area has no widgets, it won't get a post setup by
-      // the getWidgets resolver.
-      dispatch(persistStubPost(buildWidgetAreaPostId(widgetArea.id), []));
-    }
-  }
+    const initializedByPlugins = [];
+    external_wp_element_namespaceObject.Children.forEach(fills, _ref2 => {
+      let {
+        props: {
+          __unstableExplicitMenuItem,
+          __unstableTarget
+        }
+      } = _ref2;

-  const widgetAreasOpenState = {};
-  widgetAreaBlocks.forEach((widgetAreaBlock, index) => {
-    // Defaults to open the first widget area.
-    widgetAreasOpenState[widgetAreaBlock.clientId] = index === 0;
+      if (__unstableTarget && __unstableExplicitMenuItem) {
+        initializedByPlugins.push(__unstableTarget);
+      }
+    });
+    const children = external_wp_element_namespaceObject.Children.map(fills, child => {
+      if (!child.props.__unstableExplicitMenuItem && initializedByPlugins.includes(child.props.__unstableTarget)) {
+        return null;
+      }
+
+      return child;
+    });
+    return (0,external_wp_element_namespaceObject.createElement)(Component, props, children);
   });
-  dispatch(setWidgetAreasOpenState(widgetAreasOpenState));
-  dispatch(persistStubPost(buildWidgetAreasPostId(), widgetAreaBlocks));
-};
-/**
- * Fetches all widgets from all widgets ares, and groups them by widget area Id.
- *
- * @return {Function} An action creator.
- */
+}

-const getWidgets = () => async _ref2 => {
+function ActionItem(_ref3) {
   let {
-    dispatch,
-    registry
-  } = _ref2;
-  const query = buildWidgetsQuery();
-  const widgets = await registry.resolveSelect(external_wp_coreData_["store"]).getEntityRecords('root', 'widget', query);
-  const groupedBySidebar = {};
+    name,
+    as: Component = external_wp_components_namespaceObject.Button,
+    onClick,
+    ...props
+  } = _ref3;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, {
+    name: name
+  }, _ref4 => {
+    let {
+      onClick: fpOnClick
+    } = _ref4;
+    return (0,external_wp_element_namespaceObject.createElement)(Component, _extends({
+      onClick: onClick || fpOnClick ? function () {
+        (onClick || external_lodash_namespaceObject.noop)(...arguments);
+        (fpOnClick || external_lodash_namespaceObject.noop)(...arguments);
+      } : undefined
+    }, props));
+  });
+}

-  for (const widget of widgets) {
-    const block = transformWidgetToBlock(widget);
-    groupedBySidebar[widget.sidebar] = groupedBySidebar[widget.sidebar] || [];
-    groupedBySidebar[widget.sidebar].push(block);
-  }
+ActionItem.Slot = ActionItemSlot;
+/* harmony default export */ var action_item = (ActionItem);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-more-menu-item/index.js

-  for (const sidebarId in groupedBySidebar) {
-    if (groupedBySidebar.hasOwnProperty(sidebarId)) {
-      // Persist the actual post containing the widget block
-      dispatch(persistStubPost(buildWidgetAreaPostId(sidebarId), groupedBySidebar[sidebarId]));
-    }
-  }
-};

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/selectors.js
 /**
  * External dependencies
  */
@@ -1012,462 +949,453 @@ var external_lodash_ = __webpack_require__("YLtl");



-
-
 /**
  * Internal dependencies
  */



-/**
- * Returns all API widgets.
- *
- * @return {Object[]} API List of widgets.
- */

-const selectors_getWidgets = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  const widgets = select(external_wp_coreData_["store"]).getEntityRecords('root', 'widget', buildWidgetsQuery());
-  return Object(external_lodash_["keyBy"])(widgets, 'id');
-});
-/**
- * Returns API widget data for a particular widget ID.
- *
- * @param {number} id Widget ID.
- *
- * @return {Object} API widget data for a particular widget ID.
- */
+const PluginsMenuItem = props => // Menu item is marked with unstable prop for backward compatibility.
+// They are removed so they don't leak to DOM elements.
+// @see https://github.com/WordPress/gutenberg/issues/14457
+(0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, (0,external_lodash_namespaceObject.omit)(props, ['__unstableExplicitMenuItem', '__unstableTarget']));
+
+function ComplementaryAreaMoreMenuItem(_ref) {
+  let {
+    scope,
+    target,
+    __unstableExplicitMenuItem,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(complementary_area_toggle, _extends({
+    as: toggleProps => {
+      return (0,external_wp_element_namespaceObject.createElement)(action_item, _extends({
+        __unstableExplicitMenuItem: __unstableExplicitMenuItem,
+        __unstableTarget: `${scope}/${target}`,
+        as: PluginsMenuItem,
+        name: `${scope}/plugin-more-menu`
+      }, toggleProps));
+    },
+    role: "menuitemcheckbox",
+    selectedIcon: library_check,
+    name: target,
+    scope: scope
+  }, props));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/pinned-items/index.js

-const getWidget = Object(external_wp_data_["createRegistrySelector"])(select => (state, id) => {
-  const widgets = select(STORE_NAME).getWidgets();
-  return widgets[id];
-});
-/**
- * Returns all API widget areas.
- *
- * @return {Object[]} API List of widget areas.
- */

-const selectors_getWidgetAreas = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  const query = buildWidgetAreasQuery();
-  return select(external_wp_coreData_["store"]).getEntityRecords(KIND, WIDGET_AREA_ENTITY_TYPE, query);
-});
-/**
- * Returns widgetArea containing a block identify by given widgetId
- *
- * @param {string} widgetId The ID of the widget.
- * @return {Object} Containing widget area.
- */

-const getWidgetAreaForWidgetId = Object(external_wp_data_["createRegistrySelector"])(select => (state, widgetId) => {
-  const widgetAreas = select(STORE_NAME).getWidgetAreas();
-  return widgetAreas.find(widgetArea => {
-    const post = select(external_wp_coreData_["store"]).getEditedEntityRecord(KIND, POST_TYPE, buildWidgetAreaPostId(widgetArea.id));
-    const blockWidgetIds = post.blocks.map(block => Object(external_wp_widgets_["getWidgetIdFromBlock"])(block));
-    return blockWidgetIds.includes(widgetId);
-  });
-});
 /**
- * Given a child client id, returns the parent widget area block.
- *
- * @param {string} clientId The client id of a block in a widget area.
- *
- * @return {WPBlock} The widget area block.
+ * External dependencies
  */

-const selectors_getParentWidgetAreaBlock = Object(external_wp_data_["createRegistrySelector"])(select => (state, clientId) => {
-  const {
-    getBlock,
-    getBlockName,
-    getBlockParents
-  } = select(external_wp_blockEditor_["store"]);
-  const blockParents = getBlockParents(clientId);
-  const widgetAreaClientId = blockParents.find(parentClientId => getBlockName(parentClientId) === 'core/widget-area');
-  return getBlock(widgetAreaClientId);
-});
+
 /**
- * Returns all edited widget area entity records.
- *
- * @return {Object[]} List of edited widget area entity records.
+ * WordPress dependencies
  */

-const selectors_getEditedWidgetAreas = Object(external_wp_data_["createRegistrySelector"])(select => (state, ids) => {
-  let widgetAreas = select(STORE_NAME).getWidgetAreas();

-  if (!widgetAreas) {
-    return [];
-  }

-  if (ids) {
-    widgetAreas = widgetAreas.filter(_ref => {
-      let {
-        id
-      } = _ref;
-      return ids.includes(id);
-    });
-  }
+function PinnedItems(_ref) {
+  let {
+    scope,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, _extends({
+    name: `PinnedItems/${scope}`
+  }, props));
+}
+
+function PinnedItemsSlot(_ref2) {
+  let {
+    scope,
+    className,
+    ...props
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, _extends({
+    name: `PinnedItems/${scope}`
+  }, props), fills => !(0,external_lodash_namespaceObject.isEmpty)(fills) && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: classnames_default()(className, 'interface-pinned-items')
+  }, fills));
+}
+
+PinnedItems.Slot = PinnedItemsSlot;
+/* harmony default export */ var pinned_items = (PinnedItems);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area/index.js
+
+

-  return widgetAreas.filter(_ref2 => {
-    let {
-      id
-    } = _ref2;
-    return select(external_wp_coreData_["store"]).hasEditsForEntityRecord(KIND, POST_TYPE, buildWidgetAreaPostId(id));
-  }).map(_ref3 => {
-    let {
-      id
-    } = _ref3;
-    return select(external_wp_coreData_["store"]).getEditedEntityRecord(KIND, WIDGET_AREA_ENTITY_TYPE, id);
-  });
-});
 /**
- * Returns all blocks representing reference widgets.
- *
- * @param {string} referenceWidgetName Optional. If given, only reference widgets with this name will be returned.
- * @return {Array}  List of all blocks representing reference widgets
+ * External dependencies
  */

-const getReferenceWidgetBlocks = Object(external_wp_data_["createRegistrySelector"])(select => function (state) {
-  let referenceWidgetName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
-  const results = [];
-  const widgetAreas = select(STORE_NAME).getWidgetAreas();
+/**
+ * WordPress dependencies
+ */
+
+
+

-  for (const _widgetArea of widgetAreas) {
-    const post = select(external_wp_coreData_["store"]).getEditedEntityRecord(KIND, POST_TYPE, buildWidgetAreaPostId(_widgetArea.id));

-    for (const block of post.blocks) {
-      var _block$attributes;

-      if (block.name === 'core/legacy-widget' && (!referenceWidgetName || ((_block$attributes = block.attributes) === null || _block$attributes === void 0 ? void 0 : _block$attributes.referenceWidgetName) === referenceWidgetName)) {
-        results.push(block);
-      }
-    }
-  }

-  return results;
-});
 /**
- * Returns true if any widget area is currently being saved.
- *
- * @return {boolean} True if any widget area is currently being saved. False otherwise.
+ * Internal dependencies
  */

-const selectors_isSavingWidgetAreas = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  var _select$getWidgetArea;

-  const widgetAreasIds = (_select$getWidgetArea = select(STORE_NAME).getWidgetAreas()) === null || _select$getWidgetArea === void 0 ? void 0 : _select$getWidgetArea.map(_ref4 => {
-    let {
-      id
-    } = _ref4;
-    return id;
-  });

-  if (!widgetAreasIds) {
-    return false;
-  }

-  for (const id of widgetAreasIds) {
-    const isSaving = select(external_wp_coreData_["store"]).isSavingEntityRecord(KIND, WIDGET_AREA_ENTITY_TYPE, id);

-    if (isSaving) {
-      return true;
-    }
-  }

-  const widgetIds = [...Object.keys(select(STORE_NAME).getWidgets()), undefined // account for new widgets without an ID
-  ];

-  for (const id of widgetIds) {
-    const isSaving = select(external_wp_coreData_["store"]).isSavingEntityRecord('root', 'widget', id);

-    if (isSaving) {
-      return true;
-    }
-  }
-
-  return false;
-});
-/**
- * Gets whether the widget area is opened.
- *
- * @param {Array}  state    The open state of the widget areas.
- * @param {string} clientId The clientId of the widget area.
- *
- * @return {boolean} True if the widget area is open.
- */
-
-const getIsWidgetAreaOpen = (state, clientId) => {
-  const {
-    widgetAreasOpenState
-  } = state;
-  return !!widgetAreasOpenState[clientId];
-};
-/**
- * Returns true if the inserter is opened.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the inserter is opened.
- */
+function ComplementaryAreaSlot(_ref) {
+  let {
+    scope,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Slot, _extends({
+    name: `ComplementaryArea/${scope}`
+  }, props));
+}

-function selectors_isInserterOpened(state) {
-  return !!state.blockInserterPanel;
+function ComplementaryAreaFill(_ref2) {
+  let {
+    scope,
+    children,
+    className
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Fill, {
+    name: `ComplementaryArea/${scope}`
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: className
+  }, children));
 }
-/**
- * Get the insertion point for the inserter.
- *
- * @param {Object} state Global application state.
- *
- * @return {Object} The root client ID and index to insert at.
- */

-function __experimentalGetInsertionPoint(state) {
+function useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall) {
+  const previousIsSmall = (0,external_wp_element_namespaceObject.useRef)(false);
+  const shouldOpenWhenNotSmall = (0,external_wp_element_namespaceObject.useRef)(false);
   const {
-    rootClientId,
-    insertionIndex
-  } = state.blockInserterPanel;
-  return {
-    rootClientId,
-    insertionIndex
-  };
-}
-/**
- * Returns true if a block can be inserted into a widget area.
- *
- * @param {Array}  state     The open state of the widget areas.
- * @param {string} blockName The name of the block being inserted.
- *
- * @return {boolean} True if the block can be inserted in a widget area.
- */
+    enableComplementaryArea,
+    disableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    // If the complementary area is active and the editor is switching from a big to a small window size.
+    if (isActive && isSmall && !previousIsSmall.current) {
+      // Disable the complementary area.
+      disableComplementaryArea(scope); // Flag the complementary area to be reopened when the window size goes from small to big.

-const selectors_canInsertBlockInWidgetArea = Object(external_wp_data_["createRegistrySelector"])(select => (state, blockName) => {
-  // Widget areas are always top-level blocks, which getBlocks will return.
-  const widgetAreas = select(external_wp_blockEditor_["store"]).getBlocks(); // Makes an assumption that a block that can be inserted into one
-  // widget area can be inserted into any widget area. Uses the first
-  // widget area for testing whether the block can be inserted.
+      shouldOpenWhenNotSmall.current = true;
+    } else if ( // If there is a flag indicating the complementary area should be enabled when we go from small to big window size
+    // and we are going from a small to big window size.
+    shouldOpenWhenNotSmall.current && !isSmall && previousIsSmall.current) {
+      // Remove the flag indicating the complementary area should be enabled.
+      shouldOpenWhenNotSmall.current = false; // Enable the complementary area.

-  const [firstWidgetArea] = widgetAreas;
-  return select(external_wp_blockEditor_["store"]).canInsertBlockType(blockName, firstWidgetArea.clientId);
-});
-/**
- * Returns true if the list view is opened.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the list view is opened.
- */
+      enableComplementaryArea(scope, identifier);
+    } else if ( // If the flag is indicating the current complementary should be reopened but another complementary area becomes active,
+    // remove the flag.
+    shouldOpenWhenNotSmall.current && activeArea && activeArea !== identifier) {
+      shouldOpenWhenNotSmall.current = false;
+    }

-function selectors_isListViewOpened(state) {
-  return state.listViewPanel;
+    if (isSmall !== previousIsSmall.current) {
+      previousIsSmall.current = isSmall;
+    }
+  }, [isActive, isSmall, scope, identifier, activeArea]);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/index.js
-/**
- * WordPress dependencies
- */
+function ComplementaryArea(_ref3) {
+  let {
+    children,
+    className,
+    closeLabel = (0,external_wp_i18n_namespaceObject.__)('Close plugin'),
+    identifier,
+    header,
+    headerClassName,
+    icon,
+    isPinnable = true,
+    panelClassName,
+    scope,
+    name,
+    smallScreenTitle,
+    title,
+    toggleShortcut,
+    isActiveByDefault,
+    showIconLabels = false
+  } = _ref3;
+  const {
+    isActive,
+    isPinned,
+    activeArea,
+    isSmall,
+    isLarge
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getActiveComplementaryArea,
+      isItemPinned
+    } = select(store);

+    const _activeArea = getActiveComplementaryArea(scope);

-/**
- * Internal dependencies
- */
+    return {
+      isActive: _activeArea === identifier,
+      isPinned: isItemPinned(scope, identifier),
+      activeArea: _activeArea,
+      isSmall: select(external_wp_viewport_namespaceObject.store).isViewportMatch('< medium'),
+      isLarge: select(external_wp_viewport_namespaceObject.store).isViewportMatch('large')
+    };
+  }, [identifier, scope]);
+  useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall);
+  const {
+    enableComplementaryArea,
+    disableComplementaryArea,
+    pinItem,
+    unpinItem
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isActiveByDefault && activeArea === undefined && !isSmall) {
+      enableComplementaryArea(scope, identifier);
+    }
+  }, [activeArea, isActiveByDefault, scope, identifier, isSmall]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isPinnable && (0,external_wp_element_namespaceObject.createElement)(pinned_items, {
+    scope: scope
+  }, isPinned && (0,external_wp_element_namespaceObject.createElement)(complementary_area_toggle, {
+    scope: scope,
+    identifier: identifier,
+    isPressed: isActive && (!showIconLabels || isLarge),
+    "aria-expanded": isActive,
+    label: title,
+    icon: showIconLabels ? library_check : icon,
+    showTooltip: !showIconLabels,
+    variant: showIconLabels ? 'tertiary' : undefined
+  })), name && isPinnable && (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaMoreMenuItem, {
+    target: name,
+    scope: scope,
+    icon: icon
+  }, title), isActive && (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaFill, {
+    className: classnames_default()('interface-complementary-area', className),
+    scope: scope
+  }, (0,external_wp_element_namespaceObject.createElement)(complementary_area_header, {
+    className: headerClassName,
+    closeLabel: closeLabel,
+    onClose: () => disableComplementaryArea(scope),
+    smallScreenTitle: smallScreenTitle,
+    toggleButtonProps: {
+      label: closeLabel,
+      shortcut: toggleShortcut,
+      scope,
+      identifier
+    }
+  }, header || (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("strong", null, title), isPinnable && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "interface-complementary-area__pin-unpin-item",
+    icon: isPinned ? star_filled : star_empty,
+    label: isPinned ? (0,external_wp_i18n_namespaceObject.__)('Unpin from toolbar') : (0,external_wp_i18n_namespaceObject.__)('Pin to toolbar'),
+    onClick: () => (isPinned ? unpinItem : pinItem)(scope, identifier),
+    isPressed: isPinned,
+    "aria-expanded": isPinned
+  }))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Panel, {
+    className: panelClassName
+  }, children)));
+}

+const ComplementaryAreaWrapped = complementary_area_context(ComplementaryArea);
+ComplementaryAreaWrapped.Slot = ComplementaryAreaSlot;
+/* harmony default export */ var complementary_area = (ComplementaryAreaWrapped);

+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/interface-skeleton/index.js



+/**
+ * External dependencies
+ */

 /**
- * Block editor data store configuration.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
- *
- * @type {Object}
+ * WordPress dependencies
  */

-const storeConfig = {
-  reducer: reducer,
-  selectors: selectors_namespaceObject,
-  resolvers: resolvers_namespaceObject,
-  actions: actions_namespaceObject,
-  __experimentalUseThunks: true
-};
 /**
- * Store definition for the edit widgets namespace.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
- *
- * @type {Object}
+ * WordPress dependencies
  */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, storeConfig); // Once we build a more generic persistence plugin that works across types of stores
-// we'd be able to replace this with a register call.

-Object(external_wp_data_["registerStore"])(STORE_NAME, storeConfig); // This package uses a few in-memory post types as wrappers for convenience.
-// This middleware prevents any network requests related to these types as they are
-// bound to fail anyway.

-external_wp_apiFetch_default.a.use(function (options, next) {
-  var _options$path;

-  if (((_options$path = options.path) === null || _options$path === void 0 ? void 0 : _options$path.indexOf('/wp/v2/types/widget-area')) === 0) {
-    return Promise.resolve({});
-  }

-  return next(options);
-});

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+function useHTMLClass(className) {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const element = document && document.querySelector(`html:not(.${className})`);

-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
+    if (!element) {
+      return;
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/filters/move-to-widget-area.js
+    element.classList.toggle(className);
+    return () => {
+      element.classList.toggle(className);
+    };
+  }, [className]);
+}

+function InterfaceSkeleton(_ref, ref) {
+  let {
+    footer,
+    header,
+    sidebar,
+    secondarySidebar,
+    notices,
+    content,
+    drawer,
+    actions,
+    labels,
+    className,
+    shortcuts
+  } = _ref;
+  const navigateRegionsProps = (0,external_wp_components_namespaceObject.__unstableUseNavigateRegions)(shortcuts);
+  useHTMLClass('interface-interface-skeleton__html-container');
+  const defaultLabels = {
+    /* translators: accessibility text for the nav bar landmark region. */
+    drawer: (0,external_wp_i18n_namespaceObject.__)('Drawer'),

-/**
- * WordPress dependencies
- */
+    /* translators: accessibility text for the top bar landmark region. */
+    header: (0,external_wp_i18n_namespaceObject.__)('Header'),

+    /* translators: accessibility text for the content landmark region. */
+    body: (0,external_wp_i18n_namespaceObject.__)('Content'),

+    /* translators: accessibility text for the secondary sidebar landmark region. */
+    secondarySidebar: (0,external_wp_i18n_namespaceObject.__)('Block Library'),

+    /* translators: accessibility text for the settings landmark region. */
+    sidebar: (0,external_wp_i18n_namespaceObject.__)('Settings'),

+    /* translators: accessibility text for the publish landmark region. */
+    actions: (0,external_wp_i18n_namespaceObject.__)('Publish'),

-/**
- * Internal dependencies
- */
-
-
-const withMoveToWidgetAreaToolbarItem = Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => props => {
-  const {
-    clientId,
-    name: blockName
-  } = props;
-  const {
-    widgetAreas,
-    currentWidgetAreaId,
-    canInsertBlockInWidgetArea
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _widgetAreaBlock$attr;
+    /* translators: accessibility text for the footer landmark region. */
+    footer: (0,external_wp_i18n_namespaceObject.__)('Footer')
+  };
+  const mergedLabels = { ...defaultLabels,
+    ...labels
+  };
+  return (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, navigateRegionsProps, {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, navigateRegionsProps.ref]),
+    className: classnames_default()(className, 'interface-interface-skeleton', navigateRegionsProps.className, !!footer && 'has-footer')
+  }), !!drawer && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__drawer",
+    role: "region",
+    "aria-label": mergedLabels.drawer,
+    tabIndex: "-1"
+  }, drawer), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__editor"
+  }, !!header && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__header",
+    role: "region",
+    "aria-label": mergedLabels.header,
+    tabIndex: "-1"
+  }, header), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__body"
+  }, !!secondarySidebar && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__secondary-sidebar",
+    role: "region",
+    "aria-label": mergedLabels.secondarySidebar,
+    tabIndex: "-1"
+  }, secondarySidebar), !!notices && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__notices"
+  }, notices), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__content",
+    role: "region",
+    "aria-label": mergedLabels.body,
+    tabIndex: "-1"
+  }, content), !!sidebar && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__sidebar",
+    role: "region",
+    "aria-label": mergedLabels.sidebar,
+    tabIndex: "-1"
+  }, sidebar), !!actions && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__actions",
+    role: "region",
+    "aria-label": mergedLabels.actions,
+    tabIndex: "-1"
+  }, actions))), !!footer && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "interface-interface-skeleton__footer",
+    role: "region",
+    "aria-label": mergedLabels.footer,
+    tabIndex: "-1"
+  }, footer));
+}

-    // Component won't display for a widget area, so don't run selectors.
-    if (blockName === 'core/widget-area') {
-      return {};
-    }
+/* harmony default export */ var interface_skeleton = ((0,external_wp_element_namespaceObject.forwardRef)(InterfaceSkeleton));

-    const selectors = select(store);
-    const widgetAreaBlock = selectors.getParentWidgetAreaBlock(clientId);
-    return {
-      widgetAreas: selectors.getWidgetAreas(),
-      currentWidgetAreaId: widgetAreaBlock === null || widgetAreaBlock === void 0 ? void 0 : (_widgetAreaBlock$attr = widgetAreaBlock.attributes) === null || _widgetAreaBlock$attr === void 0 ? void 0 : _widgetAreaBlock$attr.id,
-      canInsertBlockInWidgetArea: selectors.canInsertBlockInWidgetArea(blockName)
-    };
-  }, [clientId, blockName]);
-  const {
-    moveBlockToWidgetArea
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const hasMultipleWidgetAreas = (widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.length) > 1;
-  const isMoveToWidgetAreaVisible = blockName !== 'core/widget-area' && hasMultipleWidgetAreas && canInsertBlockInWidgetArea;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(BlockEdit, props), isMoveToWidgetAreaVisible && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], null, Object(external_wp_element_["createElement"])(external_wp_widgets_["MoveToWidgetArea"], {
-    widgetAreas: widgetAreas,
-    currentWidgetAreaId: currentWidgetAreaId,
-    onSelect: widgetAreaId => {
-      moveBlockToWidgetArea(props.clientId, widgetAreaId);
-    }
-  })));
-}, 'withMoveToWidgetAreaToolbarItem');
-Object(external_wp_hooks_["addFilter"])('editor.BlockEdit', 'core/edit-widgets/block-edit', withMoveToWidgetAreaToolbarItem);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js

-// EXTERNAL MODULE: external ["wp","mediaUtils"]
-var external_wp_mediaUtils_ = __webpack_require__("6aBm");

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/filters/replace-media-upload.js
 /**
  * WordPress dependencies
  */

+const moreVertical = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
+}));
+/* harmony default export */ var more_vertical = (moreVertical);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-dropdown/index.js

-const replaceMediaUpload = () => external_wp_mediaUtils_["MediaUpload"];
-
-Object(external_wp_hooks_["addFilter"])('editor.MediaUpload', 'core/edit-widgets/replace-media-upload', replaceMediaUpload);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/filters/index.js
 /**
- * Internal dependencies
+ * External dependencies
  */

-
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/blocks/widget-area/edit/use-is-dragging-within.js
 /**
  * WordPress dependencies
  */

-/** @typedef {import('@wordpress/element').RefObject} RefObject */
-
-/**
- * A React hook to determine if it's dragging within the target element.
- *
- * @param {RefObject<HTMLElement>} elementRef The target elementRef object.
- *
- * @return {boolean} Is dragging within the target element.
- */

-const useIsDraggingWithin = elementRef => {
-  const [isDraggingWithin, setIsDraggingWithin] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    const {
-      ownerDocument
-    } = elementRef.current;

-    function handleDragStart(event) {
-      // Check the first time when the dragging starts.
-      handleDragEnter(event);
-    } // Set to false whenever the user cancel the drag event by either releasing the mouse or press Escape.

+function MoreMenuDropdown(_ref) {
+  let {
+    as: DropdownComponent = external_wp_components_namespaceObject.DropdownMenu,
+    className,

-    function handleDragEnd() {
-      setIsDraggingWithin(false);
+    /* translators: button label text should, if possible, be under 16 characters. */
+    label = (0,external_wp_i18n_namespaceObject.__)('Options'),
+    popoverProps,
+    toggleProps,
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(DropdownComponent, {
+    className: classnames_default()('interface-more-menu-dropdown', className),
+    icon: more_vertical,
+    label: label,
+    popoverProps: {
+      position: 'bottom left',
+      ...popoverProps,
+      className: classnames_default()('interface-more-menu-dropdown__content', popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.className)
+    },
+    toggleProps: {
+      tooltipPosition: 'bottom',
+      ...toggleProps
     }
+  }, onClose => children(onClose));
+}

-    function handleDragEnter(event) {
-      // Check if the current target is inside the item element.
-      if (elementRef.current.contains(event.target)) {
-        setIsDraggingWithin(true);
-      } else {
-        setIsDraggingWithin(false);
-      }
-    } // Bind these events to the document to catch all drag events.
-    // Ideally, we can also use `event.relatedTarget`, but sadly that doesn't work in Safari.
-
-
-    ownerDocument.addEventListener('dragstart', handleDragStart);
-    ownerDocument.addEventListener('dragend', handleDragEnd);
-    ownerDocument.addEventListener('dragenter', handleDragEnter);
-    return () => {
-      ownerDocument.removeEventListener('dragstart', handleDragStart);
-      ownerDocument.removeEventListener('dragend', handleDragEnd);
-      ownerDocument.removeEventListener('dragenter', handleDragEnter);
-    };
-  }, []);
-  return isDraggingWithin;
-};
-
-/* harmony default export */ var use_is_dragging_within = (useIsDraggingWithin);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/blocks/widget-area/edit/inner-blocks.js
-
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-feature-toggle/index.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -1476,457 +1404,330 @@ const useIsDraggingWithin = elementRef => {



+
 /**
  * Internal dependencies
  */


-function WidgetAreaInnerBlocks(_ref) {
+function MoreMenuFeatureToggle(_ref) {
   let {
-    id
+    scope,
+    label,
+    info,
+    messageActivated,
+    messageDeactivated,
+    shortcut,
+    feature
   } = _ref;
-  const [blocks, onInput, onChange] = Object(external_wp_coreData_["useEntityBlockEditor"])('root', 'postType');
-  const innerBlocksRef = Object(external_wp_element_["useRef"])();
-  const isDraggingWithinInnerBlocks = use_is_dragging_within(innerBlocksRef);
-  const shouldHighlightDropZone = isDraggingWithinInnerBlocks; // Using the experimental hook so that we can control the className of the element.
+  const isActive = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isFeatureActive(scope, feature), [feature]);
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-  const innerBlocksProps = Object(external_wp_blockEditor_["useInnerBlocksProps"])({
-    ref: innerBlocksRef
-  }, {
-    value: blocks,
-    onInput,
-    onChange,
-    templateLock: false,
-    renderAppender: external_wp_blockEditor_["InnerBlocks"].ButtonBlockAppender
-  });
-  return Object(external_wp_element_["createElement"])("div", {
-    "data-widget-area-id": id,
-    className: classnames_default()('wp-block-widget-area__inner-blocks block-editor-inner-blocks editor-styles-wrapper', {
-      'wp-block-widget-area__highlight-drop-zone': shouldHighlightDropZone
-    })
-  }, Object(external_wp_element_["createElement"])("div", innerBlocksProps));
+  const speakMessage = () => {
+    if (isActive) {
+      (0,external_wp_a11y_namespaceObject.speak)(messageDeactivated || (0,external_wp_i18n_namespaceObject.__)('Feature deactivated'));
+    } else {
+      (0,external_wp_a11y_namespaceObject.speak)(messageActivated || (0,external_wp_i18n_namespaceObject.__)('Feature activated'));
+    }
+  };
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    icon: isActive && library_check,
+    isSelected: isActive,
+    onClick: () => {
+      toggleFeature(scope, feature);
+      speakMessage();
+    },
+    role: "menuitemcheckbox",
+    info: info,
+    shortcut: shortcut
+  }, label);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/blocks/widget-area/edit/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/index.js
+
+
+


+
+
+
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/index.js
+
+
+
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/reducer.js
 /**
  * WordPress dependencies
  */

+/**
+ * Controls the open state of the widget areas.
+ *
+ * @param {Object} state  Redux state.
+ * @param {Object} action Redux action.
+ *
+ * @return {Array} Updated state.
+ */
+
+function widgetAreasOpenState() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+  const {
+    type
+  } = action;

+  switch (type) {
+    case 'SET_WIDGET_AREAS_OPEN_STATE':
+      {
+        return action.widgetAreasOpenState;
+      }

+    case 'SET_IS_WIDGET_AREA_OPEN':
+      {
+        const {
+          clientId,
+          isOpen
+        } = action;
+        return { ...state,
+          [clientId]: isOpen
+        };
+      }

+    default:
+      {
+        return state;
+      }
+  }
+}
 /**
- * Internal dependencies
+ * Reducer to set the block inserter panel open or closed.
+ *
+ * Note: this reducer interacts with the list view panel reducer
+ * to make sure that only one of the two panels is open at the same time.
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  */

+function blockInserterPanel() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

+  switch (action.type) {
+    case 'SET_IS_LIST_VIEW_OPENED':
+      return action.isOpen ? false : state;

+    case 'SET_IS_INSERTER_OPENED':
+      return action.value;
+  }

-/** @typedef {import('@wordpress/element').RefObject} RefObject */
-
-function WidgetAreaEdit(_ref) {
-  let {
-    clientId,
-    className,
-    attributes: {
-      id,
-      name
-    }
-  } = _ref;
-  const isOpen = Object(external_wp_data_["useSelect"])(select => select(store).getIsWidgetAreaOpen(clientId), [clientId]);
-  const {
-    setIsWidgetAreaOpen
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const wrapper = Object(external_wp_element_["useRef"])();
-  const setOpen = Object(external_wp_element_["useCallback"])(openState => setIsWidgetAreaOpen(clientId, openState), [clientId]);
-  const isDragging = useIsDragging(wrapper);
-  const isDraggingWithin = use_is_dragging_within(wrapper);
-  const [openedWhileDragging, setOpenedWhileDragging] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!isDragging) {
-      setOpenedWhileDragging(false);
-      return;
-    }
-
-    if (isDraggingWithin && !isOpen) {
-      setOpen(true);
-      setOpenedWhileDragging(true);
-    } else if (!isDraggingWithin && isOpen && openedWhileDragging) {
-      setOpen(false);
-    }
-  }, [isOpen, isDragging, isDraggingWithin, openedWhileDragging]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Panel"], {
-    className: className,
-    ref: wrapper
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: name,
-    opened: isOpen,
-    onToggle: () => {
-      setIsWidgetAreaOpen(clientId, !isOpen);
-    },
-    scrollAfterOpen: !isDragging
-  }, _ref2 => {
-    let {
-      opened
-    } = _ref2;
-    return (// This is required to ensure LegacyWidget blocks are not
-      // unmounted when the panel is collapsed. Unmounting legacy
-      // widgets may have unintended consequences (e.g.  TinyMCE
-      // not being properly reinitialized)
-      Object(external_wp_element_["createElement"])(external_wp_components_["__unstableDisclosureContent"], {
-        className: "wp-block-widget-area__panel-body-content",
-        visible: opened
-      }, Object(external_wp_element_["createElement"])(external_wp_coreData_["EntityProvider"], {
-        kind: "root",
-        type: "postType",
-        id: `widget-area-${id}`
-      }, Object(external_wp_element_["createElement"])(WidgetAreaInnerBlocks, {
-        id: id
-      })))
-    );
-  }));
+  return state;
 }
 /**
- * A React hook to determine if dragging is active.
+ * Reducer to set the list view panel open or closed.
  *
- * @param {RefObject<HTMLElement>} elementRef The target elementRef object.
+ * Note: this reducer interacts with the inserter panel reducer
+ * to make sure that only one of the two panels is open at the same time.
  *
- * @return {boolean} Is dragging within the entire document.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  */

-const useIsDragging = elementRef => {
-  const [isDragging, setIsDragging] = Object(external_wp_element_["useState"])(false);
-  Object(external_wp_element_["useEffect"])(() => {
-    const {
-      ownerDocument
-    } = elementRef.current;
+function listViewPanel() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-    function handleDragStart() {
-      setIsDragging(true);
-    }
+  switch (action.type) {
+    case 'SET_IS_INSERTER_OPENED':
+      return action.value ? false : state;

-    function handleDragEnd() {
-      setIsDragging(false);
-    }
+    case 'SET_IS_LIST_VIEW_OPENED':
+      return action.isOpen;
+  }

-    ownerDocument.addEventListener('dragstart', handleDragStart);
-    ownerDocument.addEventListener('dragend', handleDragEnd);
-    return () => {
-      ownerDocument.removeEventListener('dragstart', handleDragStart);
-      ownerDocument.removeEventListener('dragend', handleDragEnd);
-    };
-  }, []);
-  return isDragging;
-};
+  return state;
+}
+/* harmony default export */ var store_reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  blockInserterPanel,
+  listViewPanel,
+  widgetAreasOpenState
+}));

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/blocks/widget-area/index.js
+;// CONCATENATED MODULE: external ["wp","notices"]
+var external_wp_notices_namespaceObject = window["wp"]["notices"];
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/transformers.js
 /**
  * WordPress dependencies
  */

-/**
- * Internal dependencies
- */
-
-const widget_area_metadata = {
-  name: "core/widget-area",
-  category: "widgets",
-  attributes: {
-    id: {
-      type: "string"
-    },
-    name: {
-      type: "string"
-    }
-  },
-  supports: {
-    html: false,
-    inserter: false,
-    customClassName: false,
-    reusable: false,
-    __experimentalToolbar: false,
-    __experimentalParentSelector: false
-  },
-  editorStyle: "wp-block-widget-area-editor",
-  style: "wp-block-widget-area"
-};
-
-const {
-  name: widget_area_name
-} = widget_area_metadata;
-
-const widget_area_settings = {
-  title: Object(external_wp_i18n_["__"])('Widget Area'),
-  description: Object(external_wp_i18n_["__"])('A widget area container.'),
-  __experimentalLabel: _ref => {
-    let {
-      name: label
-    } = _ref;
-    return label;
-  },
-  edit: WidgetAreaEdit
-};
-
-// EXTERNAL MODULE: external ["wp","plugins"]
-var external_wp_plugins_ = __webpack_require__("TvNi");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/error-boundary/index.js
-

 /**
- * WordPress dependencies
+ * Converts a widget entity record into a block.
+ *
+ * @param {Object} widget The widget entity record.
+ * @return {Object} a block (converted from the entity record).
  */

+function transformWidgetToBlock(widget) {
+  if (widget.id_base === 'block') {
+    const parsedBlocks = (0,external_wp_blocks_namespaceObject.parse)(widget.instance.raw.content);

+    if (!parsedBlocks.length) {
+      return (0,external_wp_widgets_namespaceObject.addWidgetIdToBlock)((0,external_wp_blocks_namespaceObject.createBlock)('core/paragraph', {}, []), widget.id);
+    }

+    return (0,external_wp_widgets_namespaceObject.addWidgetIdToBlock)(parsedBlocks[0], widget.id);
+  }

+  let attributes;

-
-function CopyButton(_ref) {
-  let {
-    text,
-    children
-  } = _ref;
-  const ref = Object(external_wp_compose_["useCopyToClipboard"])(text);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    ref: ref
-  }, children);
-}
-
-class error_boundary_ErrorBoundary extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.reboot = this.reboot.bind(this);
-    this.state = {
-      error: null
+  if (widget._embedded.about[0].is_multi) {
+    attributes = {
+      idBase: widget.id_base,
+      instance: widget.instance
+    };
+  } else {
+    attributes = {
+      id: widget.id
     };
   }

-  componentDidCatch(error) {
-    this.setState({
-      error
-    });
-  }
+  return (0,external_wp_widgets_namespaceObject.addWidgetIdToBlock)((0,external_wp_blocks_namespaceObject.createBlock)('core/legacy-widget', attributes, []), widget.id);
+}
+/**
+ * Converts a block to a widget entity record.
+ *
+ * @param {Object}  block         The block.
+ * @param {Object?} relatedWidget A related widget entity record from the API (optional).
+ * @return {Object} the widget object (converted from block).
+ */

-  reboot() {
-    this.props.onError();
-  }
+function transformBlockToWidget(block) {
+  let relatedWidget = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  let widget;
+  const isValidLegacyWidgetBlock = block.name === 'core/legacy-widget' && (block.attributes.id || block.attributes.instance);

-  render() {
-    const {
-      error
-    } = this.state;
+  if (isValidLegacyWidgetBlock) {
+    var _block$attributes$id, _block$attributes$idB, _block$attributes$ins;

-    if (!error) {
-      return this.props.children;
-    }
+    widget = { ...relatedWidget,
+      id: (_block$attributes$id = block.attributes.id) !== null && _block$attributes$id !== void 0 ? _block$attributes$id : relatedWidget.id,
+      id_base: (_block$attributes$idB = block.attributes.idBase) !== null && _block$attributes$idB !== void 0 ? _block$attributes$idB : relatedWidget.id_base,
+      instance: (_block$attributes$ins = block.attributes.instance) !== null && _block$attributes$ins !== void 0 ? _block$attributes$ins : relatedWidget.instance
+    };
+  } else {
+    widget = { ...relatedWidget,
+      id_base: 'block',
+      instance: {
+        raw: {
+          content: (0,external_wp_blocks_namespaceObject.serialize)(block)
+        }
+      }
+    };
+  } // Delete read-only properties.

-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], {
-      className: "edit-widgets-error-boundary",
-      actions: [Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        key: "recovery",
-        onClick: this.reboot,
-        variant: "secondary"
-      }, Object(external_wp_i18n_["__"])('Attempt Recovery')), Object(external_wp_element_["createElement"])(CopyButton, {
-        key: "copy-error",
-        text: error.stack
-      }, Object(external_wp_i18n_["__"])('Copy Error'))]
-    }, Object(external_wp_i18n_["__"])('The editor has encountered an unexpected error.'));
-  }

+  delete widget.rendered;
+  delete widget.rendered_form;
+  return widget;
 }

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external ["wp","reusableBlocks"]
-var external_wp_reusableBlocks_ = __webpack_require__("diJD");
-
-// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
-var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcuts/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/utils.js
 /**
- * WordPress dependencies
+ * "Kind" of the navigation post.
+ *
+ * @type {string}
  */
-
-
-
-
-
+const KIND = 'root';
 /**
- * Internal dependencies
+ * "post type" of the navigation post.
+ *
+ * @type {string}
  */

+const WIDGET_AREA_ENTITY_TYPE = 'sidebar';
+/**
+ * "post type" of the widget area post.
+ *
+ * @type {string}
+ */

+const POST_TYPE = 'postType';
+/**
+ * Builds an ID for a new widget area post.
+ *
+ * @param {number} widgetAreaId Widget area id.
+ * @return {string} An ID.
+ */

-function KeyboardShortcuts() {
-  const {
-    redo,
-    undo
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  const {
-    saveEditedWidgetAreas
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-widgets/undo', event => {
-    undo();
-    event.preventDefault();
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-widgets/redo', event => {
-    redo();
-    event.preventDefault();
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-widgets/save', event => {
-    event.preventDefault();
-    saveEditedWidgetAreas();
-  });
-  return null;
-}
-
-function KeyboardShortcutsRegister() {
-  // Registering the shortcuts
-  const {
-    registerShortcut
-  } = Object(external_wp_data_["useDispatch"])(external_wp_keyboardShortcuts_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
-    registerShortcut({
-      name: 'core/edit-widgets/undo',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Undo your last changes.'),
-      keyCombination: {
-        modifier: 'primary',
-        character: 'z'
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-widgets/redo',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Redo your last undo.'),
-      keyCombination: {
-        modifier: 'primaryShift',
-        character: 'z'
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-widgets/save',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Save your changes.'),
-      keyCombination: {
-        modifier: 'primary',
-        character: 's'
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-widgets/keyboard-shortcuts',
-      category: 'main',
-      description: Object(external_wp_i18n_["__"])('Display these keyboard shortcuts.'),
-      keyCombination: {
-        modifier: 'access',
-        character: 'h'
-      }
-    });
-    registerShortcut({
-      name: 'core/edit-widgets/next-region',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Navigate to the next part of the editor.'),
-      keyCombination: {
-        modifier: 'ctrl',
-        character: '`'
-      },
-      aliases: [{
-        modifier: 'access',
-        character: 'n'
-      }]
-    });
-    registerShortcut({
-      name: 'core/edit-widgets/previous-region',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Navigate to the previous part of the editor.'),
-      keyCombination: {
-        modifier: 'ctrlShift',
-        character: '`'
-      },
-      aliases: [{
-        modifier: 'access',
-        character: 'p'
-      }]
-    });
-  }, [registerShortcut]);
-  return null;
-}
-
-KeyboardShortcuts.Register = KeyboardShortcutsRegister;
-/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/hooks/use-last-selected-widget-area.js
+const buildWidgetAreaPostId = widgetAreaId => `widget-area-${widgetAreaId}`;
 /**
- * WordPress dependencies
+ * Builds an ID for a global widget areas post.
+ *
+ * @return {string} An ID.
  */

-
-
+const buildWidgetAreasPostId = () => `widget-areas`;
 /**
- * Internal dependencies
+ * Builds a query to resolve sidebars.
+ *
+ * @return {Object} Query.
  */

-
-
+function buildWidgetAreasQuery() {
+  return {
+    per_page: -1
+  };
+}
 /**
- * A react hook that returns the client id of the last widget area to have
- * been selected, or to have a selected block within it.
+ * Builds a query to resolve widgets.
  *
- * @return {string} clientId of the widget area last selected.
+ * @return {Object} Query.
  */

-const useLastSelectedWidgetArea = () => Object(external_wp_data_["useSelect"])(select => {
-  var _widgetAreasPost$bloc;
-
-  const {
-    getBlockSelectionEnd,
-    getBlockName
-  } = select(external_wp_blockEditor_["store"]);
-  const selectionEndClientId = getBlockSelectionEnd(); // If the selected block is a widget area, return its clientId.
+function buildWidgetsQuery() {
+  return {
+    per_page: -1,
+    _embed: 'about'
+  };
+}
+/**
+ * Creates a stub post with given id and set of blocks. Used as a governing entity records
+ * for all widget areas.
+ *
+ * @param {string} id     Post ID.
+ * @param {Array}  blocks The list of blocks.
+ * @return {Object} A stub post object formatted in compliance with the data layer.
+ */

-  if (getBlockName(selectionEndClientId) === 'core/widget-area') {
-    return selectionEndClientId;
+const createStubPost = (id, blocks) => ({
+  id,
+  slug: id,
+  status: 'draft',
+  type: 'page',
+  blocks,
+  meta: {
+    widgetAreaId: id
   }
+});

-  const {
-    getParentWidgetAreaBlock
-  } = select(store);
-  const widgetAreaBlock = getParentWidgetAreaBlock(selectionEndClientId);
-  const widgetAreaBlockClientId = widgetAreaBlock === null || widgetAreaBlock === void 0 ? void 0 : widgetAreaBlock.clientId;
-
-  if (widgetAreaBlockClientId) {
-    return widgetAreaBlockClientId;
-  } // If no widget area has been selected, return the clientId of the first
-  // area.
-
-
-  const {
-    getEntityRecord
-  } = select(external_wp_coreData_["store"]);
-  const widgetAreasPost = getEntityRecord(KIND, POST_TYPE, buildWidgetAreasPostId());
-  return widgetAreasPost === null || widgetAreasPost === void 0 ? void 0 : (_widgetAreasPost$bloc = widgetAreasPost.blocks[0]) === null || _widgetAreasPost$bloc === void 0 ? void 0 : _widgetAreasPost$bloc.clientId;
-}, []);
-
-/* harmony default export */ var use_last_selected_widget_area = (useLastSelectedWidgetArea);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/constants.js
-const ALLOW_REUSABLE_BLOCKS = false;
-const ENABLE_EXPERIMENTAL_FSE_BLOCKS = false;
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/widget-areas-block-editor-provider/index.js
-
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/constants.js
 /**
- * External dependencies
+ * Module Constants
  */
+const constants_STORE_NAME = 'core/edit-widgets';

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/actions.js
 /**
  * WordPress dependencies
  */
@@ -1936,9 +1737,6 @@ const ENABLE_EXPERIMENTAL_FSE_BLOCKS = false;



-
-
-
 /**
  * Internal dependencies
  */
@@ -1946,935 +1744,481 @@ const ENABLE_EXPERIMENTAL_FSE_BLOCKS = false;



+/**
+ * Persists a stub post with given ID to core data store. The post is meant to be in-memory only and
+ * shouldn't be saved via the API.
+ *
+ * @param {string} id     Post ID.
+ * @param {Array}  blocks Blocks the post should consist of.
+ * @return {Object} The post object.
+ */

-
-
-function WidgetAreasBlockEditorProvider(_ref) {
+const persistStubPost = (id, blocks) => _ref => {
   let {
-    blockEditorSettings,
-    children,
-    ...props
+    registry
   } = _ref;
-  const {
-    hasUploadPermissions,
-    reusableBlocks,
-    isFixedToolbarActive,
-    keepCaretInsideBlock
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    hasUploadPermissions: Object(external_lodash_["defaultTo"])(select(external_wp_coreData_["store"]).canUser('create', 'media'), true),
-    widgetAreas: select(store).getWidgetAreas(),
-    widgets: select(store).getWidgets(),
-    reusableBlocks: ALLOW_REUSABLE_BLOCKS ? select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_block') : [],
-    isFixedToolbarActive: select(build_module["i" /* store */]).isFeatureActive('core/edit-widgets', 'fixedToolbar'),
-    keepCaretInsideBlock: select(build_module["i" /* store */]).isFeatureActive('core/edit-widgets', 'keepCaretInsideBlock')
-  }), []);
-  const {
-    setIsInserterOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const settings = Object(external_wp_element_["useMemo"])(() => {
-    let mediaUploadBlockEditor;
-
-    if (hasUploadPermissions) {
-      mediaUploadBlockEditor = _ref2 => {
-        let {
-          onError,
-          ...argumentsObject
-        } = _ref2;
-        Object(external_wp_mediaUtils_["uploadMedia"])({
-          wpAllowedMimeTypes: blockEditorSettings.allowedMimeTypes,
-          onError: _ref3 => {
-            let {
-              message
-            } = _ref3;
-            return onError(message);
-          },
-          ...argumentsObject
-        });
-      };
-    }
-
-    return { ...blockEditorSettings,
-      __experimentalReusableBlocks: reusableBlocks,
-      hasFixedToolbar: isFixedToolbarActive,
-      keepCaretInsideBlock,
-      mediaUpload: mediaUploadBlockEditor,
-      templateLock: 'all',
-      __experimentalSetIsInserterOpened: setIsInserterOpened
-    };
-  }, [blockEditorSettings, isFixedToolbarActive, keepCaretInsideBlock, hasUploadPermissions, reusableBlocks, setIsInserterOpened]);
-  const widgetAreaId = use_last_selected_widget_area();
-  const [blocks, onInput, onChange] = Object(external_wp_coreData_["useEntityBlockEditor"])(KIND, POST_TYPE, {
-    id: buildWidgetAreasPostId()
-  });
-  return Object(external_wp_element_["createElement"])(external_wp_keyboardShortcuts_["ShortcutProvider"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockEditorKeyboardShortcuts"].Register, null), Object(external_wp_element_["createElement"])(keyboard_shortcuts.Register, null), Object(external_wp_element_["createElement"])(external_wp_components_["SlotFillProvider"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockEditorProvider"], Object(esm_extends["a" /* default */])({
-    value: blocks,
-    onInput: onInput,
-    onChange: onChange,
-    settings: settings,
-    useSubRegistry: false
-  }, props), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["CopyHandler"], null, children), Object(external_wp_element_["createElement"])(external_wp_reusableBlocks_["ReusableBlocksMenuItems"], {
-    rootClientId: widgetAreaId
-  }))));
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/cog.js
-var cog = __webpack_require__("Cg8A");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
-var block_default = __webpack_require__("//Lo");
-
-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
-
-// EXTERNAL MODULE: external ["wp","dom"]
-var external_wp_dom_ = __webpack_require__("1CF3");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/sidebar/widget-areas.js
-
-
+  const stubPost = createStubPost(id, blocks);
+  registry.dispatch(external_wp_coreData_namespaceObject.store).receiveEntityRecords(KIND, POST_TYPE, stubPost, {
+    id: stubPost.id
+  }, false);
+  return stubPost;
+};
 /**
- * WordPress dependencies
+ * Converts all the blocks from edited widget areas into widgets,
+ * and submits a batch request to save everything at once.
+ *
+ * Creates a snackbar notice on either success or error.
+ *
+ * @return {Function} An action creator.
  */

-
-
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-function WidgetAreas(_ref) {
+const saveEditedWidgetAreas = () => async _ref2 => {
   let {
-    selectedWidgetAreaId
-  } = _ref;
-  const widgetAreas = Object(external_wp_data_["useSelect"])(select => select(store).getWidgetAreas(), []);
-  const selectedWidgetArea = Object(external_wp_element_["useMemo"])(() => selectedWidgetAreaId && (widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.find(widgetArea => widgetArea.id === selectedWidgetAreaId)), [selectedWidgetAreaId, widgetAreas]);
-  let description;
+    select,
+    dispatch,
+    registry
+  } = _ref2;
+  const editedWidgetAreas = select.getEditedWidgetAreas();

-  if (!selectedWidgetArea) {
-    description = Object(external_wp_i18n_["__"])('Widget Areas are global parts in your site’s layout that can accept blocks. These vary by theme, but are typically parts like your Sidebar or Footer.');
-  } else if (selectedWidgetAreaId === 'wp_inactive_widgets') {
-    description = Object(external_wp_i18n_["__"])('Blocks in this Widget Area will not be displayed in your site.');
-  } else {
-    description = selectedWidgetArea.description;
+  if (!(editedWidgetAreas !== null && editedWidgetAreas !== void 0 && editedWidgetAreas.length)) {
+    return;
   }

-  return Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-widget-areas"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-widget-areas__top-container"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
-    icon: block_default["a" /* default */]
-  }), Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])("p", {
-    // Use `dangerouslySetInnerHTML` to keep backwards
-    // compatibility. Basic markup in the description is an
-    // established feature of WordPress.
-    // @see https://github.com/WordPress/gutenberg/issues/33106
-    dangerouslySetInnerHTML: {
-      __html: Object(external_wp_dom_["safeHTML"])(description)
-    }
-  }), (widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.length) === 0 && Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('Your theme does not contain any Widget Areas.')), !selectedWidgetArea && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    href: Object(external_wp_url_["addQueryArgs"])('customize.php', {
-      'autofocus[panel]': 'widgets',
-      return: window.location.pathname
-    }),
-    variant: "tertiary"
-  }, Object(external_wp_i18n_["__"])('Manage with live preview')))));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/sidebar/index.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-
-
-const SIDEBAR_ACTIVE_BY_DEFAULT = external_wp_element_["Platform"].select({
-  web: true,
-  native: false
-});
-const BLOCK_INSPECTOR_IDENTIFIER = 'edit-widgets/block-inspector'; // Widget areas were one called block areas, so use 'edit-widgets/block-areas'
-// for backwards compatibility.
-
-const WIDGET_AREAS_IDENTIFIER = 'edit-widgets/block-areas';
+  try {
+    await dispatch.saveWidgetAreas(editedWidgetAreas);
+    registry.dispatch(external_wp_notices_namespaceObject.store).createSuccessNotice((0,external_wp_i18n_namespaceObject.__)('Widgets saved.'), {
+      type: 'snackbar'
+    });
+  } catch (e) {
+    registry.dispatch(external_wp_notices_namespaceObject.store).createErrorNotice(
+    /* translators: %s: The error message. */
+    (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('There was an error. %s'), e.message), {
+      type: 'snackbar'
+    });
+  }
+};
 /**
- * Internal dependencies
+ * Converts all the blocks from specified widget areas into widgets,
+ * and submits a batch request to save everything at once.
+ *
+ * @param {Object[]} widgetAreas Widget areas to save.
+ * @return {Function} An action creator.
  */

-
-
-
-function ComplementaryAreaTab(_ref) {
+const saveWidgetAreas = widgetAreas => async _ref3 => {
   let {
-    identifier,
-    label,
-    isActive
-  } = _ref;
-  const {
-    enableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(build_module["i" /* store */]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    onClick: () => enableComplementaryArea(store.name, identifier),
-    className: classnames_default()('edit-widgets-sidebar__panel-tab', {
-      'is-active': isActive
-    }),
-    "aria-label": isActive ? // translators: %s: sidebar label e.g: "Widget Areas".
-    Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('%s (selected)'), label) : label,
-    "data-label": label
-  }, label);
-}
-
-function Sidebar() {
-  const {
-    enableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(build_module["i" /* store */]);
-  const {
-    currentArea,
-    hasSelectedNonAreaBlock,
-    isGeneralSidebarOpen,
-    selectedWidgetAreaBlock
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getSelectedBlock,
-      getBlock,
-      getBlockParentsByBlockName
-    } = select(external_wp_blockEditor_["store"]);
-    const {
-      getActiveComplementaryArea
-    } = select(build_module["i" /* store */]);
-    const selectedBlock = getSelectedBlock();
-    const activeArea = getActiveComplementaryArea(store.name);
-    let currentSelection = activeArea;
-
-    if (!currentSelection) {
-      if (selectedBlock) {
-        currentSelection = BLOCK_INSPECTOR_IDENTIFIER;
-      } else {
-        currentSelection = WIDGET_AREAS_IDENTIFIER;
-      }
-    }
-
-    let widgetAreaBlock;
-
-    if (selectedBlock) {
-      if (selectedBlock.name === 'core/widget-area') {
-        widgetAreaBlock = selectedBlock;
-      } else {
-        widgetAreaBlock = getBlock(getBlockParentsByBlockName(selectedBlock.clientId, 'core/widget-area')[0]);
-      }
-    }
-
-    return {
-      currentArea: currentSelection,
-      hasSelectedNonAreaBlock: !!(selectedBlock && selectedBlock.name !== 'core/widget-area'),
-      isGeneralSidebarOpen: !!activeArea,
-      selectedWidgetAreaBlock: widgetAreaBlock
-    };
-  }, []); // currentArea, and isGeneralSidebarOpen are intentionally left out from the dependencies,
-  // because we want to run the effect when a block is selected/unselected and not when the sidebar state changes.
-
-  Object(external_wp_element_["useEffect"])(() => {
-    if (hasSelectedNonAreaBlock && currentArea === WIDGET_AREAS_IDENTIFIER && isGeneralSidebarOpen) {
-      enableComplementaryArea('core/edit-widgets', BLOCK_INSPECTOR_IDENTIFIER);
-    }
-
-    if (!hasSelectedNonAreaBlock && currentArea === BLOCK_INSPECTOR_IDENTIFIER && isGeneralSidebarOpen) {
-      enableComplementaryArea('core/edit-widgets', WIDGET_AREAS_IDENTIFIER);
-    }
-  }, [hasSelectedNonAreaBlock, enableComplementaryArea]);
-  return Object(external_wp_element_["createElement"])(build_module["b" /* ComplementaryArea */], {
-    className: "edit-widgets-sidebar",
-    header: Object(external_wp_element_["createElement"])("ul", null, Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])(ComplementaryAreaTab, {
-      identifier: WIDGET_AREAS_IDENTIFIER,
-      label: selectedWidgetAreaBlock ? selectedWidgetAreaBlock.attributes.name : Object(external_wp_i18n_["__"])('Widget Areas'),
-      isActive: currentArea === WIDGET_AREAS_IDENTIFIER
-    })), Object(external_wp_element_["createElement"])("li", null, Object(external_wp_element_["createElement"])(ComplementaryAreaTab, {
-      identifier: BLOCK_INSPECTOR_IDENTIFIER,
-      label: Object(external_wp_i18n_["__"])('Block'),
-      isActive: currentArea === BLOCK_INSPECTOR_IDENTIFIER
-    }))),
-    headerClassName: "edit-widgets-sidebar__panel-tabs"
-    /* translators: button label text should, if possible, be under 16 characters. */
-    ,
-    title: Object(external_wp_i18n_["__"])('Settings'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close settings'),
-    scope: "core/edit-widgets",
-    identifier: currentArea,
-    icon: cog["a" /* default */],
-    isActiveByDefault: SIDEBAR_ACTIVE_BY_DEFAULT
-  }, currentArea === WIDGET_AREAS_IDENTIFIER && Object(external_wp_element_["createElement"])(WidgetAreas, {
-    selectedWidgetAreaId: selectedWidgetAreaBlock === null || selectedWidgetAreaBlock === void 0 ? void 0 : selectedWidgetAreaBlock.attributes.id
-  }), currentArea === BLOCK_INSPECTOR_IDENTIFIER && (hasSelectedNonAreaBlock ? Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockInspector"], null) : // Pretend that Widget Areas are part of the UI by not
-  // showing the Block Inspector when one is selected.
-  Object(external_wp_element_["createElement"])("span", {
-    className: "block-editor-block-inspector__no-blocks"
-  }, Object(external_wp_i18n_["__"])('No block selected.'))));
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
-var plus = __webpack_require__("Q4Sy");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js
-var list_view = __webpack_require__("OzlF");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/save-button/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-function SaveButton() {
-  const {
-    hasEditedWidgetAreaIds,
-    isSaving
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _getEditedWidgetAreas;
-
-    const {
-      getEditedWidgetAreas,
-      isSavingWidgetAreas
-    } = select(store);
-    return {
-      hasEditedWidgetAreaIds: ((_getEditedWidgetAreas = getEditedWidgetAreas()) === null || _getEditedWidgetAreas === void 0 ? void 0 : _getEditedWidgetAreas.length) > 0,
-      isSaving: isSavingWidgetAreas()
-    };
-  }, []);
-  const {
-    saveEditedWidgetAreas
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "primary",
-    isBusy: isSaving,
-    "aria-disabled": isSaving,
-    onClick: isSaving ? undefined : saveEditedWidgetAreas,
-    disabled: !hasEditedWidgetAreaIds
-  }, isSaving ? Object(external_wp_i18n_["__"])('Saving…') : Object(external_wp_i18n_["__"])('Update'));
-}
-
-/* harmony default export */ var save_button = (SaveButton);
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/undo.js
-var library_undo = __webpack_require__("Ntru");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/redo.js
-var library_redo = __webpack_require__("K2cm");
-
-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/header/undo-redo/undo.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-function UndoButton() {
-  const hasUndo = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).hasUndo(), []);
-  const {
-    undo
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    icon: !Object(external_wp_i18n_["isRTL"])() ? library_undo["a" /* default */] : library_redo["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Undo'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primary('z') // If there are no undo levels we don't want to actually disable this
-    // button, because it will remove focus for keyboard users.
-    // See: https://github.com/WordPress/gutenberg/issues/3486
-    ,
-    "aria-disabled": !hasUndo,
-    onClick: hasUndo ? undo : undefined
-  });
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/header/undo-redo/redo.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-function RedoButton() {
-  const hasRedo = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).hasRedo(), []);
-  const {
-    redo
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
-    icon: !Object(external_wp_i18n_["isRTL"])() ? library_redo["a" /* default */] : library_undo["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Redo'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primaryShift('z') // If there are no undo levels we don't want to actually disable this
-    // button, because it will remove focus for keyboard users.
-    // See: https://github.com/WordPress/gutenberg/issues/3486
-    ,
-    "aria-disabled": !hasRedo,
-    onClick: hasRedo ? redo : undefined
-  });
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
-var external = __webpack_require__("K+tz");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcut-help-modal/config.js
-/**
- * WordPress dependencies
- */
-
-const textFormattingShortcuts = [{
-  keyCombination: {
-    modifier: 'primary',
-    character: 'b'
-  },
-  description: Object(external_wp_i18n_["__"])('Make the selected text bold.')
-}, {
-  keyCombination: {
-    modifier: 'primary',
-    character: 'i'
-  },
-  description: Object(external_wp_i18n_["__"])('Make the selected text italic.')
-}, {
-  keyCombination: {
-    modifier: 'primary',
-    character: 'k'
-  },
-  description: Object(external_wp_i18n_["__"])('Convert the selected text into a link.')
-}, {
-  keyCombination: {
-    modifier: 'primaryShift',
-    character: 'k'
-  },
-  description: Object(external_wp_i18n_["__"])('Remove a link.')
-}, {
-  keyCombination: {
-    modifier: 'primary',
-    character: 'u'
-  },
-  description: Object(external_wp_i18n_["__"])('Underline the selected text.')
-}];
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcut-help-modal/shortcut.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
+    dispatch,
+    registry
+  } = _ref3;

-function KeyCombination(_ref) {
-  let {
-    keyCombination,
-    forceAriaLabel
-  } = _ref;
-  const shortcut = keyCombination.modifier ? external_wp_keycodes_["displayShortcutList"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
-  const ariaLabel = keyCombination.modifier ? external_wp_keycodes_["shortcutAriaLabel"][keyCombination.modifier](keyCombination.character) : keyCombination.character;
-  return Object(external_wp_element_["createElement"])("kbd", {
-    className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination",
-    "aria-label": forceAriaLabel || ariaLabel
-  }, Object(external_lodash_["castArray"])(shortcut).map((character, index) => {
-    if (character === '+') {
-      return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], {
-        key: index
-      }, character);
+  try {
+    for (const widgetArea of widgetAreas) {
+      await dispatch.saveWidgetArea(widgetArea.id);
     }
-
-    return Object(external_wp_element_["createElement"])("kbd", {
-      key: index,
-      className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-key"
-    }, character);
-  }));
-}
-
-function Shortcut(_ref2) {
-  let {
-    description,
-    keyCombination,
-    aliases = [],
-    ariaLabel
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-description"
-  }, description), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-term"
-  }, Object(external_wp_element_["createElement"])(KeyCombination, {
-    keyCombination: keyCombination,
-    forceAriaLabel: ariaLabel
-  }), aliases.map((alias, index) => Object(external_wp_element_["createElement"])(KeyCombination, {
-    keyCombination: alias,
-    forceAriaLabel: ariaLabel,
-    key: index
-  }))));
-}
-
-/* harmony default export */ var keyboard_shortcut_help_modal_shortcut = (Shortcut);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js
-
-
-/**
- * WordPress dependencies
- */
-
-
+  } finally {
+    // saveEditedEntityRecord resets the resolution status, let's fix it manually
+    await registry.dispatch(external_wp_coreData_namespaceObject.store).finishResolution('getEntityRecord', KIND, WIDGET_AREA_ENTITY_TYPE, buildWidgetAreasQuery());
+  }
+};
 /**
- * Internal dependencies
+ * Converts all the blocks from a widget area specified by ID into widgets,
+ * and submits a batch request to save everything at once.
+ *
+ * @param {string} widgetAreaId ID of the widget area to process.
+ * @return {Function} An action creator.
  */

+const saveWidgetArea = widgetAreaId => async _ref4 => {
+  let {
+    dispatch,
+    select,
+    registry
+  } = _ref4;
+  const widgets = select.getWidgets();
+  const post = registry.select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord(KIND, POST_TYPE, buildWidgetAreaPostId(widgetAreaId)); // Get all widgets from this area

+  const areaWidgets = Object.values(widgets).filter(_ref5 => {
+    let {
+      sidebar
+    } = _ref5;
+    return sidebar === widgetAreaId;
+  }); // Remove all duplicate reference widget instances for legacy widgets.
+  // Why? We filter out the widgets with duplicate IDs to prevent adding more than one instance of a widget
+  // implemented using a function. WordPress doesn't support having more than one instance of these, if you try to
+  // save multiple instances of these in different sidebars you will run into undefined behaviors.

-function DynamicShortcut(_ref) {
-  let {
-    name
-  } = _ref;
-  const {
-    keyCombination,
-    description,
-    aliases
-  } = Object(external_wp_data_["useSelect"])(select => {
+  const usedReferenceWidgets = [];
+  const widgetsBlocks = post.blocks.filter(block => {
     const {
-      getShortcutKeyCombination,
-      getShortcutDescription,
-      getShortcutAliases
-    } = select(external_wp_keyboardShortcuts_["store"]);
-    return {
-      keyCombination: getShortcutKeyCombination(name),
-      aliases: getShortcutAliases(name),
-      description: getShortcutDescription(name)
-    };
-  }, [name]);
+      id
+    } = block.attributes;

-  if (!keyCombination) {
-    return null;
-  }
+    if (block.name === 'core/legacy-widget' && id) {
+      if (usedReferenceWidgets.includes(id)) {
+        return false;
+      }

-  return Object(external_wp_element_["createElement"])(keyboard_shortcut_help_modal_shortcut, {
-    keyCombination: keyCombination,
-    description: description,
-    aliases: aliases
-  });
-}
+      usedReferenceWidgets.push(id);
+    }

-/* harmony default export */ var dynamic_shortcut = (DynamicShortcut);
+    return true;
+  }); // Determine which widgets have been deleted. We can tell if a widget is
+  // deleted and not just moved to a different area by looking to see if
+  // getWidgetAreaForWidgetId() finds something.

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcut-help-modal/index.js
+  const deletedWidgets = [];

+  for (const widget of areaWidgets) {
+    const widgetsNewArea = select.getWidgetAreaForWidgetId(widget.id);

-/**
- * External dependencies
- */
+    if (!widgetsNewArea) {
+      deletedWidgets.push(widget);
+    }
+  }

+  const batchMeta = [];
+  const batchTasks = [];
+  const sidebarWidgetsIds = [];

-/**
- * WordPress dependencies
- */
+  for (let i = 0; i < widgetsBlocks.length; i++) {
+    const block = widgetsBlocks[i];
+    const widgetId = (0,external_wp_widgets_namespaceObject.getWidgetIdFromBlock)(block);
+    const oldWidget = widgets[widgetId];
+    const widget = transformBlockToWidget(block, oldWidget); // We'll replace the null widgetId after save, but we track it here
+    // since order is important.

+    sidebarWidgetsIds.push(widgetId); // Check oldWidget as widgetId might refer to an ID which has been
+    // deleted, e.g. if a deleted block is restored via undo after saving.

+    if (oldWidget) {
+      // Update an existing widget.
+      registry.dispatch(external_wp_coreData_namespaceObject.store).editEntityRecord('root', 'widget', widgetId, { ...widget,
+        sidebar: widgetAreaId
+      }, {
+        undoIgnore: true
+      });
+      const hasEdits = registry.select(external_wp_coreData_namespaceObject.store).hasEditsForEntityRecord('root', 'widget', widgetId);

+      if (!hasEdits) {
+        continue;
+      }

+      batchTasks.push(_ref6 => {
+        let {
+          saveEditedEntityRecord
+        } = _ref6;
+        return saveEditedEntityRecord('root', 'widget', widgetId);
+      });
+    } else {
+      // Create a new widget.
+      batchTasks.push(_ref7 => {
+        let {
+          saveEntityRecord
+        } = _ref7;
+        return saveEntityRecord('root', 'widget', { ...widget,
+          sidebar: widgetAreaId
+        });
+      });
+    }

-/**
- * Internal dependencies
- */
+    batchMeta.push({
+      block,
+      position: i,
+      clientId: block.clientId
+    });
+  }

+  for (const widget of deletedWidgets) {
+    batchTasks.push(_ref8 => {
+      let {
+        deleteEntityRecord
+      } = _ref8;
+      return deleteEntityRecord('root', 'widget', widget.id, {
+        force: true
+      });
+    });
+  }

+  const records = await registry.dispatch(external_wp_coreData_namespaceObject.store).__experimentalBatch(batchTasks);
+  const preservedRecords = records.filter(record => !record.hasOwnProperty('deleted'));
+  const failedWidgetNames = [];

+  for (let i = 0; i < preservedRecords.length; i++) {
+    const widget = preservedRecords[i];
+    const {
+      block,
+      position
+    } = batchMeta[i]; // Set __internalWidgetId on the block. This will be persisted to the
+    // store when we dispatch receiveEntityRecords( post ) below.

+    post.blocks[position].attributes.__internalWidgetId = widget.id;
+    const error = registry.select(external_wp_coreData_namespaceObject.store).getLastEntitySaveError('root', 'widget', widget.id);

-const ShortcutList = _ref => {
-  let {
-    shortcuts
-  } = _ref;
-  return (
-    /*
-     * Disable reason: The `list` ARIA role is redundant but
-     * Safari+VoiceOver won't announce the list otherwise.
-     */
+    if (error) {
+      var _block$attributes;

-    /* eslint-disable jsx-a11y/no-redundant-roles */
-    Object(external_wp_element_["createElement"])("ul", {
-      className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-list",
-      role: "list"
-    }, shortcuts.map((shortcut, index) => Object(external_wp_element_["createElement"])("li", {
-      className: "edit-widgets-keyboard-shortcut-help-modal__shortcut",
-      key: index
-    }, Object(external_lodash_["isString"])(shortcut) ? Object(external_wp_element_["createElement"])(dynamic_shortcut, {
-      name: shortcut
-    }) : Object(external_wp_element_["createElement"])(keyboard_shortcut_help_modal_shortcut, shortcut))))
-    /* eslint-enable jsx-a11y/no-redundant-roles */
+      failedWidgetNames.push(((_block$attributes = block.attributes) === null || _block$attributes === void 0 ? void 0 : _block$attributes.name) || (block === null || block === void 0 ? void 0 : block.name));
+    }

-  );
-};
+    if (!sidebarWidgetsIds[position]) {
+      sidebarWidgetsIds[position] = widget.id;
+    }
+  }

-const ShortcutSection = _ref2 => {
-  let {
-    title,
-    shortcuts,
-    className
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])("section", {
-    className: classnames_default()('edit-widgets-keyboard-shortcut-help-modal__section', className)
-  }, !!title && Object(external_wp_element_["createElement"])("h2", {
-    className: "edit-widgets-keyboard-shortcut-help-modal__section-title"
-  }, title), Object(external_wp_element_["createElement"])(ShortcutList, {
-    shortcuts: shortcuts
-  }));
-};
+  if (failedWidgetNames.length) {
+    throw new Error((0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %s: List of widget names */
+    (0,external_wp_i18n_namespaceObject.__)('Could not save the following widgets: %s.'), failedWidgetNames.join(', ')));
+  }

-const ShortcutCategorySection = _ref3 => {
-  let {
-    title,
-    categoryName,
-    additionalShortcuts = []
-  } = _ref3;
-  const categoryShortcuts = Object(external_wp_data_["useSelect"])(select => {
-    return select(external_wp_keyboardShortcuts_["store"]).getCategoryShortcuts(categoryName);
-  }, [categoryName]);
-  return Object(external_wp_element_["createElement"])(ShortcutSection, {
-    title: title,
-    shortcuts: categoryShortcuts.concat(additionalShortcuts)
+  registry.dispatch(external_wp_coreData_namespaceObject.store).editEntityRecord(KIND, WIDGET_AREA_ENTITY_TYPE, widgetAreaId, {
+    widgets: sidebarWidgetsIds
+  }, {
+    undoIgnore: true
   });
+  dispatch(trySaveWidgetArea(widgetAreaId));
+  registry.dispatch(external_wp_coreData_namespaceObject.store).receiveEntityRecords(KIND, POST_TYPE, post, undefined);
 };

-function KeyboardShortcutHelpModal(_ref4) {
+const trySaveWidgetArea = widgetAreaId => _ref9 => {
   let {
-    isModalActive,
-    toggleModal
-  } = _ref4;
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-widgets/keyboard-shortcuts', toggleModal, {
-    bindGlobal: true
-  });
+    registry
+  } = _ref9;
+  const saveErrorBefore = registry.select(external_wp_coreData_namespaceObject.store).getLastEntitySaveError(KIND, WIDGET_AREA_ENTITY_TYPE, widgetAreaId);
+  registry.dispatch(external_wp_coreData_namespaceObject.store).saveEditedEntityRecord(KIND, WIDGET_AREA_ENTITY_TYPE, widgetAreaId);
+  const saveErrorAfter = registry.select(external_wp_coreData_namespaceObject.store).getLastEntitySaveError(KIND, WIDGET_AREA_ENTITY_TYPE, widgetAreaId);

-  if (!isModalActive) {
-    return null;
+  if (saveErrorAfter && saveErrorBefore !== saveErrorAfter) {
+    throw new Error(saveErrorAfter);
   }
+};
+/**
+ * Sets the clientId stored for a particular widgetId.
+ *
+ * @param {number} clientId Client id.
+ * @param {number} widgetId Widget id.
+ *
+ * @return {Object} Action.
+ */

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    className: "edit-widgets-keyboard-shortcut-help-modal",
-    title: Object(external_wp_i18n_["__"])('Keyboard shortcuts'),
-    closeLabel: Object(external_wp_i18n_["__"])('Close'),
-    onRequestClose: toggleModal
-  }, Object(external_wp_element_["createElement"])(ShortcutSection, {
-    className: "edit-widgets-keyboard-shortcut-help-modal__main-shortcuts",
-    shortcuts: ['core/edit-widgets/keyboard-shortcuts']
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Global shortcuts'),
-    categoryName: "global"
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Selection shortcuts'),
-    categoryName: "selection"
-  }), Object(external_wp_element_["createElement"])(ShortcutCategorySection, {
-    title: Object(external_wp_i18n_["__"])('Block shortcuts'),
-    categoryName: "block",
-    additionalShortcuts: [{
-      keyCombination: {
-        character: '/'
-      },
-      description: Object(external_wp_i18n_["__"])('Change the block type after adding a new paragraph.'),

-      /* translators: The forward-slash character. e.g. '/'. */
-      ariaLabel: Object(external_wp_i18n_["__"])('Forward-slash')
-    }]
-  }), Object(external_wp_element_["createElement"])(ShortcutSection, {
-    title: Object(external_wp_i18n_["__"])('Text formatting'),
-    shortcuts: textFormattingShortcuts
-  }));
+function setWidgetIdForClientId(clientId, widgetId) {
+  return {
+    type: 'SET_WIDGET_ID_FOR_CLIENT_ID',
+    clientId,
+    widgetId
+  };
+}
+/**
+ * Sets the open state of all the widget areas.
+ *
+ * @param {Object} widgetAreasOpenState The open states of all the widget areas.
+ *
+ * @return {Object} Action.
+ */
+
+function setWidgetAreasOpenState(widgetAreasOpenState) {
+  return {
+    type: 'SET_WIDGET_AREAS_OPEN_STATE',
+    widgetAreasOpenState
+  };
+}
+/**
+ * Sets the open state of the widget area.
+ *
+ * @param {string}  clientId The clientId of the widget area.
+ * @param {boolean} isOpen   Whether the widget area should be opened.
+ *
+ * @return {Object} Action.
+ */
+
+function setIsWidgetAreaOpen(clientId, isOpen) {
+  return {
+    type: 'SET_IS_WIDGET_AREA_OPEN',
+    clientId,
+    isOpen
+  };
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/more-menu/index.js
-
-
 /**
- * WordPress dependencies
+ * Returns an action object used to open/close the inserter.
+ *
+ * @param {boolean|Object} value                Whether the inserter should be
+ *                                              opened (true) or closed (false).
+ *                                              To specify an insertion point,
+ *                                              use an object.
+ * @param {string}         value.rootClientId   The root client ID to insert at.
+ * @param {number}         value.insertionIndex The index to insert at.
+ *
+ * @return {Object} Action object.
  */

-
-
-
-
-
-
-
+function setIsInserterOpened(value) {
+  return {
+    type: 'SET_IS_INSERTER_OPENED',
+    value
+  };
+}
 /**
- * Internal dependencies
+ * Returns an action object used to open/close the list view.
+ *
+ * @param {boolean} isOpen A boolean representing whether the list view should be opened or closed.
+ * @return {Object} Action object.
  */

-
-function MoreMenu() {
-  const [isKeyboardShortcutsModalActive, setIsKeyboardShortcutsModalVisible] = Object(external_wp_element_["useState"])(false);
-
-  const toggleKeyboardShortcutsModal = () => setIsKeyboardShortcutsModalVisible(!isKeyboardShortcutsModalActive);
-
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/edit-widgets/keyboard-shortcuts', toggleKeyboardShortcutsModal);
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(build_module["f" /* MoreMenuDropdown */], null, () => Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isLargeViewport && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["_x"])('View', 'noun')
-  }, Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
-    scope: "core/edit-widgets",
-    feature: "fixedToolbar",
-    label: Object(external_wp_i18n_["__"])('Top toolbar'),
-    info: Object(external_wp_i18n_["__"])('Access all block and document tools in a single place'),
-    messageActivated: Object(external_wp_i18n_["__"])('Top toolbar activated'),
-    messageDeactivated: Object(external_wp_i18n_["__"])('Top toolbar deactivated')
-  })), Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Tools')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    onClick: () => {
-      setIsKeyboardShortcutsModalVisible(true);
-    },
-    shortcut: external_wp_keycodes_["displayShortcut"].access('h')
-  }, Object(external_wp_i18n_["__"])('Keyboard shortcuts')), Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
-    scope: "core/edit-widgets",
-    feature: "welcomeGuide",
-    label: Object(external_wp_i18n_["__"])('Welcome Guide')
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    role: "menuitem",
-    icon: external["a" /* default */],
-    href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/block-based-widgets-editor/'),
-    target: "_blank",
-    rel: "noopener noreferrer"
-  }, Object(external_wp_i18n_["__"])('Help'), Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    as: "span"
-  },
-  /* translators: accessibility text */
-  Object(external_wp_i18n_["__"])('(opens in a new tab)')))), Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-    label: Object(external_wp_i18n_["__"])('Preferences')
-  }, Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
-    scope: "core/edit-widgets",
-    feature: "keepCaretInsideBlock",
-    label: Object(external_wp_i18n_["__"])('Contain text cursor inside block'),
-    info: Object(external_wp_i18n_["__"])('Aids screen readers by stopping text caret from leaving blocks.'),
-    messageActivated: Object(external_wp_i18n_["__"])('Contain text cursor inside block activated'),
-    messageDeactivated: Object(external_wp_i18n_["__"])('Contain text cursor inside block deactivated')
-  }), Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
-    scope: "core/edit-widgets",
-    feature: "themeStyles",
-    info: Object(external_wp_i18n_["__"])('Make the editor look like your theme.'),
-    label: Object(external_wp_i18n_["__"])('Use theme styles')
-  }), isLargeViewport && Object(external_wp_element_["createElement"])(build_module["g" /* MoreMenuFeatureToggle */], {
-    scope: "core/edit-widgets",
-    feature: "showBlockBreadcrumbs",
-    label: Object(external_wp_i18n_["__"])('Display block breadcrumbs'),
-    info: Object(external_wp_i18n_["__"])('Shows block breadcrumbs at the bottom of the editor.'),
-    messageActivated: Object(external_wp_i18n_["__"])('Display block breadcrumbs activated'),
-    messageDeactivated: Object(external_wp_i18n_["__"])('Display block breadcrumbs deactivated')
-  })))), Object(external_wp_element_["createElement"])(KeyboardShortcutHelpModal, {
-    isModalActive: isKeyboardShortcutsModalActive,
-    toggleModal: toggleKeyboardShortcutsModal
-  }));
+function setIsListViewOpened(isOpen) {
+  return {
+    type: 'SET_IS_LIST_VIEW_OPENED',
+    isOpen
+  };
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/header/index.js
-
-
 /**
- * WordPress dependencies
+ * Returns an action object signalling that the user closed the sidebar.
+ *
+ * @return {Object} Action creator.
  */

-
-
-
-
-
-
-
+const closeGeneralSidebar = () => _ref10 => {
+  let {
+    registry
+  } = _ref10;
+  registry.dispatch(store).disableComplementaryArea(constants_STORE_NAME);
+};
 /**
- * Internal dependencies
+ * Action that handles moving a block between widget areas
+ *
+ * @param {string} clientId     The clientId of the block to move.
+ * @param {string} widgetAreaId The id of the widget area to move the block to.
  */

+const moveBlockToWidgetArea = (clientId, widgetAreaId) => async _ref11 => {
+  let {
+    dispatch,
+    select,
+    registry
+  } = _ref11;
+  const sourceRootClientId = registry.select(external_wp_blockEditor_namespaceObject.store).getBlockRootClientId([clientId]); // Search the top level blocks (widget areas) for the one with the matching
+  // id attribute. Makes the assumption that all top-level blocks are widget
+  // areas.

+  const widgetAreas = registry.select(external_wp_blockEditor_namespaceObject.store).getBlocks();
+  const destinationWidgetAreaBlock = widgetAreas.find(_ref12 => {
+    let {
+      attributes
+    } = _ref12;
+    return attributes.id === widgetAreaId;
+  });
+  const destinationRootClientId = destinationWidgetAreaBlock.clientId; // Get the index for moving to the end of the the destination widget area.

+  const destinationInnerBlocksClientIds = registry.select(external_wp_blockEditor_namespaceObject.store).getBlockOrder(destinationRootClientId);
+  const destinationIndex = destinationInnerBlocksClientIds.length; // Reveal the widget area, if it's not open.

+  const isDestinationWidgetAreaOpen = select.getIsWidgetAreaOpen(destinationRootClientId);

+  if (!isDestinationWidgetAreaOpen) {
+    dispatch.setIsWidgetAreaOpen(destinationRootClientId, true);
+  } // Move the block.


+  registry.dispatch(external_wp_blockEditor_namespaceObject.store).moveBlocksToPosition([clientId], sourceRootClientId, destinationRootClientId, destinationIndex);
+};

-function Header() {
-  const isMediumViewport = Object(external_wp_compose_["useViewportMatch"])('medium');
-  const inserterButton = Object(external_wp_element_["useRef"])();
-  const widgetAreaClientId = use_last_selected_widget_area();
-  const isLastSelectedWidgetAreaOpen = Object(external_wp_data_["useSelect"])(select => select(store).getIsWidgetAreaOpen(widgetAreaClientId), [widgetAreaClientId]);
-  const {
-    isInserterOpen,
-    isListViewOpen
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      isInserterOpened,
-      isListViewOpened
-    } = select(store);
-    return {
-      isInserterOpen: isInserterOpened(),
-      isListViewOpen: isListViewOpened()
-    };
-  }, []);
-  const {
-    setIsWidgetAreaOpen,
-    setIsInserterOpened,
-    setIsListViewOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    selectBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-
-  const handleClick = () => {
-    if (isInserterOpen) {
-      // Focusing the inserter button closes the inserter popover
-      setIsInserterOpened(false);
-    } else {
-      if (!isLastSelectedWidgetAreaOpen) {
-        // Select the last selected block if hasn't already.
-        selectBlock(widgetAreaClientId); // Open the last selected widget area when opening the inserter.
-
-        setIsWidgetAreaOpen(widgetAreaClientId, true);
-      } // The DOM updates resulting from selectBlock() and setIsInserterOpened() calls are applied the
-      // same tick and pretty much in a random order. The inserter is closed if any other part of the
-      // app receives focus. If selectBlock() happens to take effect after setIsInserterOpened() then
-      // the inserter is visible for a brief moment and then gets auto-closed due to focus moving to
-      // the selected block.
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/resolvers.js
+/**
+ * WordPress dependencies
+ */

-      window.requestAnimationFrame(() => setIsInserterOpened(true));
-    }
-  };

-  const toggleListView = Object(external_wp_element_["useCallback"])(() => setIsListViewOpened(!isListViewOpen), [setIsListViewOpened, isListViewOpen]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-header"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-header__navigable-toolbar-wrapper"
-  }, isMediumViewport && Object(external_wp_element_["createElement"])("h1", {
-    className: "edit-widgets-header__title"
-  }, Object(external_wp_i18n_["__"])('Widgets')), !isMediumViewport && Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    as: "h1",
-    className: "edit-widgets-header__title"
-  }, Object(external_wp_i18n_["__"])('Widgets')), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["NavigableToolbar"], {
-    className: "edit-widgets-header-toolbar",
-    "aria-label": Object(external_wp_i18n_["__"])('Document tools')
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], {
-    ref: inserterButton,
-    as: external_wp_components_["Button"],
-    className: "edit-widgets-header-toolbar__inserter-toggle",
-    variant: "primary",
-    isPressed: isInserterOpen,
-    onMouseDown: event => {
-      event.preventDefault();
-    },
-    onClick: handleClick,
-    icon: plus["a" /* default */]
-    /* translators: button label text should, if possible, be under 16
-    characters. */
-    ,
-    label: Object(external_wp_i18n_["_x"])('Toggle block inserter', 'Generic label for block inserter button')
-  }), isMediumViewport && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(UndoButton, null), Object(external_wp_element_["createElement"])(RedoButton, null), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], {
-    as: external_wp_components_["Button"],
-    className: "edit-widgets-header-toolbar__list-view-toggle",
-    icon: list_view["a" /* default */],
-    isPressed: isListViewOpen
-    /* translators: button label text should, if possible, be under 16 characters. */
-    ,
-    label: Object(external_wp_i18n_["__"])('List View'),
-    onClick: toggleListView
-  })))), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-header__actions"
-  }, Object(external_wp_element_["createElement"])(save_button, null), Object(external_wp_element_["createElement"])(build_module["h" /* PinnedItems */].Slot, {
-    scope: "core/edit-widgets"
-  }), Object(external_wp_element_["createElement"])(MoreMenu, null))));
-}
+/**
+ * Internal dependencies
+ */

-/* harmony default export */ var header = (Header);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/notices/index.js


 /**
- * External dependencies
+ * Creates a "stub" widgets post reflecting all available widget areas. The
+ * post is meant as a convenient to only exists in runtime and should never be saved. It
+ * enables a convenient way of editing the widgets by using a regular post editor.
+ *
+ * Fetches all widgets from all widgets aras, converts them into blocks, and hydrates a new post with them.
+ *
+ * @return {Function} An action creator.
  */

-/**
- * WordPress dependencies
- */
+const getWidgetAreas = () => async _ref => {
+  let {
+    dispatch,
+    registry
+  } = _ref;
+  const query = buildWidgetAreasQuery();
+  const widgetAreas = await registry.resolveSelect(external_wp_coreData_namespaceObject.store).getEntityRecords(KIND, WIDGET_AREA_ENTITY_TYPE, query);
+  const widgetAreaBlocks = [];
+  const sortedWidgetAreas = widgetAreas.sort((a, b) => {
+    if (a.id === 'wp_inactive_widgets') {
+      return 1;
+    }

+    if (b.id === 'wp_inactive_widgets') {
+      return -1;
+    }

+    return 0;
+  });

+  for (const widgetArea of sortedWidgetAreas) {
+    widgetAreaBlocks.push((0,external_wp_blocks_namespaceObject.createBlock)('core/widget-area', {
+      id: widgetArea.id,
+      name: widgetArea.name
+    }));

+    if (!widgetArea.widgets.length) {
+      // If this widget area has no widgets, it won't get a post setup by
+      // the getWidgets resolver.
+      dispatch(persistStubPost(buildWidgetAreaPostId(widgetArea.id), []));
+    }
+  }

-function Notices() {
-  const {
-    removeNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const {
-    notices
-  } = Object(external_wp_data_["useSelect"])(select => {
-    return {
-      notices: select(external_wp_notices_["store"]).getNotices()
-    };
-  }, []);
-  const dismissibleNotices = Object(external_lodash_["filter"])(notices, {
-    isDismissible: true,
-    type: 'default'
-  });
-  const nonDismissibleNotices = Object(external_lodash_["filter"])(notices, {
-    isDismissible: false,
-    type: 'default'
-  });
-  const snackbarNotices = Object(external_lodash_["filter"])(notices, {
-    type: 'snackbar'
+  const widgetAreasOpenState = {};
+  widgetAreaBlocks.forEach((widgetAreaBlock, index) => {
+    // Defaults to open the first widget area.
+    widgetAreasOpenState[widgetAreaBlock.clientId] = index === 0;
   });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["NoticeList"], {
-    notices: nonDismissibleNotices,
-    className: "edit-widgets-notices__pinned"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["NoticeList"], {
-    notices: dismissibleNotices,
-    className: "edit-widgets-notices__dismissible",
-    onRemove: removeNotice
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["SnackbarList"], {
-    notices: snackbarNotices,
-    className: "edit-widgets-notices__snackbar",
-    onRemove: removeNotice
-  }));
-}
+  dispatch(setWidgetAreasOpenState(widgetAreasOpenState));
+  dispatch(persistStubPost(buildWidgetAreasPostId(), widgetAreaBlocks));
+};
+/**
+ * Fetches all widgets from all widgets ares, and groups them by widget area Id.
+ *
+ * @return {Function} An action creator.
+ */
+
+const getWidgets = () => async _ref2 => {
+  let {
+    dispatch,
+    registry
+  } = _ref2;
+  const query = buildWidgetsQuery();
+  const widgets = await registry.resolveSelect(external_wp_coreData_namespaceObject.store).getEntityRecords('root', 'widget', query);
+  const groupedBySidebar = {};

-/* harmony default export */ var components_notices = (Notices);
+  for (const widget of widgets) {
+    const block = transformWidgetToBlock(widget);
+    groupedBySidebar[widget.sidebar] = groupedBySidebar[widget.sidebar] || [];
+    groupedBySidebar[widget.sidebar].push(block);
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/widget-areas-block-editor-content/index.js
+  for (const sidebarId in groupedBySidebar) {
+    if (groupedBySidebar.hasOwnProperty(sidebarId)) {
+      // Persist the actual post containing the widget block
+      dispatch(persistStubPost(buildWidgetAreaPostId(sidebarId), groupedBySidebar[sidebarId]));
+    }
+  }
+};

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/selectors.js
+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -2883,265 +2227,311 @@ function Notices() {



+
 /**
  * Internal dependencies
  */



-function WidgetAreasBlockEditorContent(_ref) {
-  let {
-    blockEditorSettings
-  } = _ref;
-  const hasThemeStyles = Object(external_wp_data_["useSelect"])(select => select(build_module["i" /* store */]).isFeatureActive('core/edit-widgets', 'themeStyles'), []);
-  const styles = Object(external_wp_element_["useMemo"])(() => {
-    return hasThemeStyles ? blockEditorSettings.styles : [];
-  }, [blockEditorSettings, hasThemeStyles]);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-block-editor"
-  }, Object(external_wp_element_["createElement"])(components_notices, null), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockTools"], null, Object(external_wp_element_["createElement"])(keyboard_shortcuts, null), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableEditorStyles"], {
-    styles: styles
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockSelectionClearer"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["WritingFlow"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ObserveTyping"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockList"], {
-    className: "edit-widgets-main-block-list"
-  }))))));
-}
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
-var library_close = __webpack_require__("w95h");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/hooks/use-widget-library-insertion-point.js
 /**
- * WordPress dependencies
+ * Returns all API widgets.
+ *
+ * @return {Object[]} API List of widgets.
  */

+const selectors_getWidgets = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  const widgets = select(external_wp_coreData_namespaceObject.store).getEntityRecords('root', 'widget', buildWidgetsQuery());
+  return (0,external_lodash_namespaceObject.keyBy)(widgets, 'id');
+});
+/**
+ * Returns API widget data for a particular widget ID.
+ *
+ * @param {number} id Widget ID.
+ *
+ * @return {Object} API widget data for a particular widget ID.
+ */

+const getWidget = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, id) => {
+  const widgets = select(constants_STORE_NAME).getWidgets();
+  return widgets[id];
+});
+/**
+ * Returns all API widget areas.
+ *
+ * @return {Object[]} API List of widget areas.
+ */

+const selectors_getWidgetAreas = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  const query = buildWidgetAreasQuery();
+  return select(external_wp_coreData_namespaceObject.store).getEntityRecords(KIND, WIDGET_AREA_ENTITY_TYPE, query);
+});
 /**
- * Internal dependencies
+ * Returns widgetArea containing a block identify by given widgetId
+ *
+ * @param {string} widgetId The ID of the widget.
+ * @return {Object} Containing widget area.
  */

+const getWidgetAreaForWidgetId = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, widgetId) => {
+  const widgetAreas = select(constants_STORE_NAME).getWidgetAreas();
+  return widgetAreas.find(widgetArea => {
+    const post = select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord(KIND, POST_TYPE, buildWidgetAreaPostId(widgetArea.id));
+    const blockWidgetIds = post.blocks.map(block => (0,external_wp_widgets_namespaceObject.getWidgetIdFromBlock)(block));
+    return blockWidgetIds.includes(widgetId);
+  });
+});
+/**
+ * Given a child client id, returns the parent widget area block.
+ *
+ * @param {string} clientId The client id of a block in a widget area.
+ *
+ * @return {WPBlock} The widget area block.
+ */

+const getParentWidgetAreaBlock = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, clientId) => {
+  const {
+    getBlock,
+    getBlockName,
+    getBlockParents
+  } = select(external_wp_blockEditor_namespaceObject.store);
+  const blockParents = getBlockParents(clientId);
+  const widgetAreaClientId = blockParents.find(parentClientId => getBlockName(parentClientId) === 'core/widget-area');
+  return getBlock(widgetAreaClientId);
+});
+/**
+ * Returns all edited widget area entity records.
+ *
+ * @return {Object[]} List of edited widget area entity records.
+ */

+const getEditedWidgetAreas = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, ids) => {
+  let widgetAreas = select(constants_STORE_NAME).getWidgetAreas();

-const useWidgetLibraryInsertionPoint = () => {
-  const firstRootId = Object(external_wp_data_["useSelect"])(select => {
-    var _widgetAreasPost$bloc;
+  if (!widgetAreas) {
+    return [];
+  }

-    // Default to the first widget area
-    const {
-      getEntityRecord
-    } = select(external_wp_coreData_["store"]);
-    const widgetAreasPost = getEntityRecord(KIND, POST_TYPE, buildWidgetAreasPostId());
-    return widgetAreasPost === null || widgetAreasPost === void 0 ? void 0 : (_widgetAreasPost$bloc = widgetAreasPost.blocks[0]) === null || _widgetAreasPost$bloc === void 0 ? void 0 : _widgetAreasPost$bloc.clientId;
-  }, []);
-  return Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getBlockRootClientId,
-      getBlockSelectionEnd,
-      getBlockOrder,
-      getBlockIndex
-    } = select(external_wp_blockEditor_["store"]);
+  if (ids) {
+    widgetAreas = widgetAreas.filter(_ref => {
+      let {
+        id
+      } = _ref;
+      return ids.includes(id);
+    });
+  }

-    const insertionPoint = select(store).__experimentalGetInsertionPoint(); // "Browse all" in the quick inserter will set the rootClientId to the current block.
-    // Otherwise, it will just be undefined, and we'll have to handle it differently below.
+  return widgetAreas.filter(_ref2 => {
+    let {
+      id
+    } = _ref2;
+    return select(external_wp_coreData_namespaceObject.store).hasEditsForEntityRecord(KIND, POST_TYPE, buildWidgetAreaPostId(id));
+  }).map(_ref3 => {
+    let {
+      id
+    } = _ref3;
+    return select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord(KIND, WIDGET_AREA_ENTITY_TYPE, id);
+  });
+});
+/**
+ * Returns all blocks representing reference widgets.
+ *
+ * @param {string} referenceWidgetName Optional. If given, only reference widgets with this name will be returned.
+ * @return {Array}  List of all blocks representing reference widgets
+ */

+const getReferenceWidgetBlocks = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => function (state) {
+  let referenceWidgetName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
+  const results = [];
+  const widgetAreas = select(constants_STORE_NAME).getWidgetAreas();

-    if (insertionPoint.rootClientId) {
-      return insertionPoint;
-    }
+  for (const _widgetArea of widgetAreas) {
+    const post = select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord(KIND, POST_TYPE, buildWidgetAreaPostId(_widgetArea.id));

-    const clientId = getBlockSelectionEnd() || firstRootId;
-    const rootClientId = getBlockRootClientId(clientId); // If the selected block is at the root level, it's a widget area and
-    // blocks can't be inserted here. Return this block as the root and the
-    // last child clientId indicating insertion at the end.
+    for (const block of post.blocks) {
+      var _block$attributes;

-    if (clientId && rootClientId === '') {
-      return {
-        rootClientId: clientId,
-        insertionIndex: getBlockOrder(clientId).length
-      };
+      if (block.name === 'core/legacy-widget' && (!referenceWidgetName || ((_block$attributes = block.attributes) === null || _block$attributes === void 0 ? void 0 : _block$attributes.referenceWidgetName) === referenceWidgetName)) {
+        results.push(block);
+      }
     }
+  }

-    return {
-      rootClientId,
-      insertionIndex: getBlockIndex(clientId) + 1
-    };
-  }, [firstRootId]);
-};
-
-/* harmony default export */ var use_widget_library_insertion_point = (useWidgetLibraryInsertionPoint);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/secondary-sidebar/inserter-sidebar.js
+  return results;
+});
+/**
+ * Returns true if any widget area is currently being saved.
+ *
+ * @return {boolean} True if any widget area is currently being saved. False otherwise.
+ */

+const isSavingWidgetAreas = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  var _select$getWidgetArea;

+  const widgetAreasIds = (_select$getWidgetArea = select(constants_STORE_NAME).getWidgetAreas()) === null || _select$getWidgetArea === void 0 ? void 0 : _select$getWidgetArea.map(_ref4 => {
+    let {
+      id
+    } = _ref4;
+    return id;
+  });

-/**
- * WordPress dependencies
- */
+  if (!widgetAreasIds) {
+    return false;
+  }

+  for (const id of widgetAreasIds) {
+    const isSaving = select(external_wp_coreData_namespaceObject.store).isSavingEntityRecord(KIND, WIDGET_AREA_ENTITY_TYPE, id);

+    if (isSaving) {
+      return true;
+    }
+  }

+  const widgetIds = [...Object.keys(select(constants_STORE_NAME).getWidgets()), undefined // account for new widgets without an ID
+  ];

+  for (const id of widgetIds) {
+    const isSaving = select(external_wp_coreData_namespaceObject.store).isSavingEntityRecord('root', 'widget', id);

+    if (isSaving) {
+      return true;
+    }
+  }

+  return false;
+});
 /**
- * Internal dependencies
+ * Gets whether the widget area is opened.
+ *
+ * @param {Array}  state    The open state of the widget areas.
+ * @param {string} clientId The clientId of the widget area.
+ *
+ * @return {boolean} True if the widget area is open.
  */

+const getIsWidgetAreaOpen = (state, clientId) => {
+  const {
+    widgetAreasOpenState
+  } = state;
+  return !!widgetAreasOpenState[clientId];
+};
+/**
+ * Returns true if the inserter is opened.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the inserter is opened.
+ */

+function isInserterOpened(state) {
+  return !!state.blockInserterPanel;
+}
+/**
+ * Get the insertion point for the inserter.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} The root client ID and index to insert at.
+ */

-function InserterSidebar() {
-  const isMobileViewport = Object(external_wp_compose_["useViewportMatch"])('medium', '<');
+function __experimentalGetInsertionPoint(state) {
   const {
     rootClientId,
     insertionIndex
-  } = use_widget_library_insertion_point();
-  const {
-    setIsInserterOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const closeInserter = Object(external_wp_element_["useCallback"])(() => {
-    return () => setIsInserterOpened(false);
-  }, [setIsInserterOpened]);
-  const [inserterDialogRef, inserterDialogProps] = Object(external_wp_compose_["__experimentalUseDialog"])({
-    onClose: closeInserter
-  });
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-    ref: inserterDialogRef
-  }, inserterDialogProps, {
-    className: "edit-widgets-layout__inserter-panel"
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-layout__inserter-panel-header"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: library_close["a" /* default */],
-    onClick: closeInserter
-  })), Object(external_wp_element_["createElement"])("div", {
-    className: "edit-widgets-layout__inserter-panel-content"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLibrary"], {
-    showInserterHelpPanel: true,
-    shouldFocusBlock: isMobileViewport,
-    rootClientId: rootClientId,
-    __experimentalInsertionIndex: insertionIndex
-  })));
+  } = state.blockInserterPanel;
+  return {
+    rootClientId,
+    insertionIndex
+  };
 }
+/**
+ * Returns true if a block can be inserted into a widget area.
+ *
+ * @param {Array}  state     The open state of the widget areas.
+ * @param {string} blockName The name of the block being inserted.
+ *
+ * @return {boolean} True if the block can be inserted in a widget area.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
+const canInsertBlockInWidgetArea = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, blockName) => {
+  // Widget areas are always top-level blocks, which getBlocks will return.
+  const widgetAreas = select(external_wp_blockEditor_namespaceObject.store).getBlocks(); // Makes an assumption that a block that can be inserted into one
+  // widget area can be inserted into any widget area. Uses the first
+  // widget area for testing whether the block can be inserted.

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/secondary-sidebar/list-view-sidebar.js
+  const [firstWidgetArea] = widgetAreas;
+  return select(external_wp_blockEditor_namespaceObject.store).canInsertBlockType(blockName, firstWidgetArea.clientId);
+});
+/**
+ * Returns true if the list view is opened.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the list view is opened.
+ */

+function isListViewOpened(state) {
+  return state.listViewPanel;
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/store/index.js
 /**
  * WordPress dependencies
  */


-
-
-
-
-
 /**
  * Internal dependencies
  */


-function ListViewSidebar() {
-  const {
-    setIsListViewOpened
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    clearSelectedBlock,
-    selectBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-
-  async function selectEditorBlock(clientId) {
-    await clearSelectedBlock();
-    selectBlock(clientId, -1);
-  }
-
-  const focusOnMountRef = Object(external_wp_compose_["useFocusOnMount"])('firstElement');
-  const focusReturnRef = Object(external_wp_compose_["useFocusReturn"])();
-
-  function closeOnEscape(event) {
-    if (event.keyCode === external_wp_keycodes_["ESCAPE"] && !event.defaultPrevented) {
-      event.preventDefault();
-      setIsListViewOpened(false);
-    }
-  }
-
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(ListViewSidebar);
-  const labelId = `edit-widgets-editor__list-view-panel-label-${instanceId}`;
-  return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
-    Object(external_wp_element_["createElement"])("div", {
-      "aria-labelledby": labelId,
-      className: "edit-widgets-editor__list-view-panel",
-      onKeyDown: closeOnEscape
-    }, Object(external_wp_element_["createElement"])("div", {
-      className: "edit-widgets-editor__list-view-panel-header"
-    }, Object(external_wp_element_["createElement"])("strong", {
-      id: labelId
-    }, Object(external_wp_i18n_["__"])('List view')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      icon: close_small["a" /* default */],
-      label: Object(external_wp_i18n_["__"])('Close list view sidebar'),
-      onClick: () => setIsListViewOpened(false)
-    })), Object(external_wp_element_["createElement"])("div", {
-      className: "edit-widgets-editor__list-view-panel-content",
-      ref: Object(external_wp_compose_["useMergeRefs"])([focusReturnRef, focusOnMountRef])
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalListView"], {
-      onSelect: selectEditorBlock,
-      showNestedBlocks: true,
-      __experimentalHideContainerBlockActions: true,
-      __experimentalFeatures: true,
-      __experimentalPersistentListViewFeatures: true
-    })))
-  );
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/secondary-sidebar/index.js


-/**
- * WordPress dependencies
- */

 /**
- * Internal dependencies
+ * Block editor data store configuration.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
+ *
+ * @type {Object}
  */

-
+const storeConfig = {
+  reducer: store_reducer,
+  selectors: store_selectors_namespaceObject,
+  resolvers: resolvers_namespaceObject,
+  actions: store_actions_namespaceObject,
+  __experimentalUseThunks: true
+};
 /**
- * Internal dependencies
+ * Store definition for the edit widgets namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
  */

+const store_store = (0,external_wp_data_namespaceObject.createReduxStore)(constants_STORE_NAME, storeConfig); // Once we build a more generic persistence plugin that works across types of stores
+// we'd be able to replace this with a register call.

+(0,external_wp_data_namespaceObject.registerStore)(constants_STORE_NAME, storeConfig); // This package uses a few in-memory post types as wrappers for convenience.
+// This middleware prevents any network requests related to these types as they are
+// bound to fail anyway.

-function SecondarySidebar() {
-  const {
-    isInserterOpen,
-    isListViewOpen
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      isInserterOpened,
-      isListViewOpened
-    } = select(store);
-    return {
-      isInserterOpen: isInserterOpened(),
-      isListViewOpen: isListViewOpened()
-    };
-  }, []);
-
-  if (isInserterOpen) {
-    return Object(external_wp_element_["createElement"])(InserterSidebar, null);
-  }
+external_wp_apiFetch_default().use(function (options, next) {
+  var _options$path;

-  if (isListViewOpen) {
-    return Object(external_wp_element_["createElement"])(ListViewSidebar, null);
+  if (((_options$path = options.path) === null || _options$path === void 0 ? void 0 : _options$path.indexOf('/wp/v2/types/widget-area')) === 0) {
+    return Promise.resolve({});
   }

-  return null;
-}
+  return next(options);
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/layout/interface.js
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/filters/move-to-widget-area.js


 /**
@@ -3152,148 +2542,135 @@ function SecondarySidebar() {



-
-
 /**
  * Internal dependencies
  */


-
-
-
-const interfaceLabels = {
-  /* translators: accessibility text for the widgets screen top bar landmark region. */
-  header: Object(external_wp_i18n_["__"])('Widgets top bar'),
-
-  /* translators: accessibility text for the widgets screen content landmark region. */
-  body: Object(external_wp_i18n_["__"])('Widgets and blocks'),
-
-  /* translators: accessibility text for the widgets screen settings landmark region. */
-  sidebar: Object(external_wp_i18n_["__"])('Widgets settings'),
-
-  /* translators: accessibility text for the widgets screen footer landmark region. */
-  footer: Object(external_wp_i18n_["__"])('Widgets footer')
-};
-
-function Interface(_ref) {
-  let {
-    blockEditorSettings
-  } = _ref;
-  const isMobileViewport = Object(external_wp_compose_["useViewportMatch"])('medium', '<');
-  const isHugeViewport = Object(external_wp_compose_["useViewportMatch"])('huge', '>=');
+const withMoveToWidgetAreaToolbarItem = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => props => {
   const {
-    setIsInserterOpened,
-    setIsListViewOpened,
-    closeGeneralSidebar
-  } = Object(external_wp_data_["useDispatch"])(store);
+    clientId,
+    name: blockName
+  } = props;
   const {
-    hasBlockBreadCrumbsEnabled,
-    hasSidebarEnabled,
-    isInserterOpened,
-    isListViewOpened,
-    previousShortcut,
-    nextShortcut
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    hasSidebarEnabled: !!select(build_module["i" /* store */]).getActiveComplementaryArea(store.name),
-    isInserterOpened: !!select(store).isInserterOpened(),
-    isListViewOpened: !!select(store).isListViewOpened(),
-    hasBlockBreadCrumbsEnabled: select(build_module["i" /* store */]).isFeatureActive('core/edit-widgets', 'showBlockBreadcrumbs'),
-    previousShortcut: select(external_wp_keyboardShortcuts_["store"]).getAllShortcutKeyCombinations('core/edit-widgets/previous-region'),
-    nextShortcut: select(external_wp_keyboardShortcuts_["store"]).getAllShortcutKeyCombinations('core/edit-widgets/next-region')
-  }), []); // Inserter and Sidebars are mutually exclusive
+    widgetAreas,
+    currentWidgetAreaId,
+    canInsertBlockInWidgetArea
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _widgetAreaBlock$attr;

-  Object(external_wp_element_["useEffect"])(() => {
-    if (hasSidebarEnabled && !isHugeViewport) {
-      setIsInserterOpened(false);
-      setIsListViewOpened(false);
-    }
-  }, [hasSidebarEnabled, isHugeViewport]);
-  Object(external_wp_element_["useEffect"])(() => {
-    if ((isInserterOpened || isListViewOpened) && !isHugeViewport) {
-      closeGeneralSidebar();
-    }
-  }, [isInserterOpened, isListViewOpened, isHugeViewport]);
-  const hasSecondarySidebar = isListViewOpened || isInserterOpened;
-  return Object(external_wp_element_["createElement"])(build_module["e" /* InterfaceSkeleton */], {
-    labels: interfaceLabels,
-    header: Object(external_wp_element_["createElement"])(header, null),
-    secondarySidebar: hasSecondarySidebar && Object(external_wp_element_["createElement"])(SecondarySidebar, null),
-    sidebar: hasSidebarEnabled && Object(external_wp_element_["createElement"])(build_module["b" /* ComplementaryArea */].Slot, {
-      scope: "core/edit-widgets"
-    }),
-    content: Object(external_wp_element_["createElement"])(WidgetAreasBlockEditorContent, {
-      blockEditorSettings: blockEditorSettings
-    }),
-    footer: hasBlockBreadCrumbsEnabled && !isMobileViewport && Object(external_wp_element_["createElement"])("div", {
-      className: "edit-widgets-layout__footer"
-    }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockBreadcrumb"], {
-      rootLabelText: Object(external_wp_i18n_["__"])('Widgets')
-    })),
-    shortcuts: {
-      previous: previousShortcut,
-      next: nextShortcut
+    // Component won't display for a widget area, so don't run selectors.
+    if (blockName === 'core/widget-area') {
+      return {};
     }
-  });
-}

-/* harmony default export */ var layout_interface = (Interface);
+    const selectors = select(store_store);
+    const widgetAreaBlock = selectors.getParentWidgetAreaBlock(clientId);
+    return {
+      widgetAreas: selectors.getWidgetAreas(),
+      currentWidgetAreaId: widgetAreaBlock === null || widgetAreaBlock === void 0 ? void 0 : (_widgetAreaBlock$attr = widgetAreaBlock.attributes) === null || _widgetAreaBlock$attr === void 0 ? void 0 : _widgetAreaBlock$attr.id,
+      canInsertBlockInWidgetArea: selectors.canInsertBlockInWidgetArea(blockName)
+    };
+  }, [clientId, blockName]);
+  const {
+    moveBlockToWidgetArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const hasMultipleWidgetAreas = (widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.length) > 1;
+  const isMoveToWidgetAreaVisible = blockName !== 'core/widget-area' && hasMultipleWidgetAreas && canInsertBlockInWidgetArea;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(BlockEdit, props), isMoveToWidgetAreaVisible && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_widgets_namespaceObject.MoveToWidgetArea, {
+    widgetAreas: widgetAreas,
+    currentWidgetAreaId: currentWidgetAreaId,
+    onSelect: widgetAreaId => {
+      moveBlockToWidgetArea(props.clientId, widgetAreaId);
+    }
+  })));
+}, 'withMoveToWidgetAreaToolbarItem');
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.BlockEdit', 'core/edit-widgets/block-edit', withMoveToWidgetAreaToolbarItem);

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/layout/unsaved-changes-warning.js
+;// CONCATENATED MODULE: external ["wp","mediaUtils"]
+var external_wp_mediaUtils_namespaceObject = window["wp"]["mediaUtils"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/filters/replace-media-upload.js
 /**
  * WordPress dependencies
  */



+const replaceMediaUpload = () => external_wp_mediaUtils_namespaceObject.MediaUpload;
+
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.MediaUpload', 'core/edit-widgets/replace-media-upload', replaceMediaUpload);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/filters/index.js
 /**
  * Internal dependencies
  */


+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/blocks/widget-area/edit/use-is-dragging-within.js
 /**
- * Warns the user if there are unsaved changes before leaving the editor.
+ * WordPress dependencies
+ */
+
+/** @typedef {import('@wordpress/element').RefObject} RefObject */
+
+/**
+ * A React hook to determine if it's dragging within the target element.
  *
- * This is a duplicate of the component implemented in the editor package.
- * Duplicated here as edit-widgets doesn't depend on editor.
+ * @param {RefObject<HTMLElement>} elementRef The target elementRef object.
  *
- * @return {WPComponent} The component.
+ * @return {boolean} Is dragging within the target element.
  */

-function UnsavedChangesWarning() {
-  const isDirty = Object(external_wp_data_["useSelect"])(select => {
+const useIsDraggingWithin = elementRef => {
+  const [isDraggingWithin, setIsDraggingWithin] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     const {
-      getEditedWidgetAreas
-    } = select(store);
-    const editedWidgetAreas = getEditedWidgetAreas();
-    return (editedWidgetAreas === null || editedWidgetAreas === void 0 ? void 0 : editedWidgetAreas.length) > 0;
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    /**
-     * Warns the user if there are unsaved changes before leaving the editor.
-     *
-     * @param {Event} event `beforeunload` event.
-     *
-     * @return {?string} Warning prompt message, if unsaved changes exist.
-     */
-    const warnIfUnsavedChanges = event => {
-      if (isDirty) {
-        event.returnValue = Object(external_wp_i18n_["__"])('You have unsaved changes. If you proceed, they will be lost.');
-        return event.returnValue;
+      ownerDocument
+    } = elementRef.current;
+
+    function handleDragStart(event) {
+      // Check the first time when the dragging starts.
+      handleDragEnter(event);
+    } // Set to false whenever the user cancel the drag event by either releasing the mouse or press Escape.
+
+
+    function handleDragEnd() {
+      setIsDraggingWithin(false);
+    }
+
+    function handleDragEnter(event) {
+      // Check if the current target is inside the item element.
+      if (elementRef.current.contains(event.target)) {
+        setIsDraggingWithin(true);
+      } else {
+        setIsDraggingWithin(false);
       }
-    };
+    } // Bind these events to the document to catch all drag events.
+    // Ideally, we can also use `event.relatedTarget`, but sadly that doesn't work in Safari.

-    window.addEventListener('beforeunload', warnIfUnsavedChanges);
+
+    ownerDocument.addEventListener('dragstart', handleDragStart);
+    ownerDocument.addEventListener('dragend', handleDragEnd);
+    ownerDocument.addEventListener('dragenter', handleDragEnter);
     return () => {
-      window.removeEventListener('beforeunload', warnIfUnsavedChanges);
+      ownerDocument.removeEventListener('dragstart', handleDragStart);
+      ownerDocument.removeEventListener('dragend', handleDragEnd);
+      ownerDocument.removeEventListener('dragenter', handleDragEnter);
     };
-  }, [isDirty]);
-  return null;
-}
+  }, []);
+  return isDraggingWithin;
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/welcome-guide/index.js
+/* harmony default export */ var use_is_dragging_within = (useIsDraggingWithin);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/blocks/widget-area/edit/inner-blocks.js


+/**
+ * External dependencies
+ */
+
 /**
  * WordPress dependencies
  */
@@ -3301,112 +2678,38 @@ function UnsavedChangesWarning() {



-
 /**
  * Internal dependencies
  */


-function WelcomeGuide() {
-  var _widgetAreas$filter$l;
-
-  const isActive = Object(external_wp_data_["useSelect"])(select => select(build_module["i" /* store */]).isFeatureActive('core/edit-widgets', 'welcomeGuide'), []);
-  const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(build_module["i" /* store */]);
-  const widgetAreas = Object(external_wp_data_["useSelect"])(select => select(store).getWidgetAreas({
-    per_page: -1
-  }), []);
-
-  if (!isActive) {
-    return null;
-  }
-
-  const isEntirelyBlockWidgets = widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.every(widgetArea => widgetArea.id === 'wp_inactive_widgets' || widgetArea.widgets.every(widgetId => widgetId.startsWith('block-')));
-  const numWidgetAreas = (_widgetAreas$filter$l = widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.filter(widgetArea => widgetArea.id !== 'wp_inactive_widgets').length) !== null && _widgetAreas$filter$l !== void 0 ? _widgetAreas$filter$l : 0;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Guide"], {
-    className: "edit-widgets-welcome-guide",
-    contentLabel: Object(external_wp_i18n_["__"])('Welcome to block Widgets'),
-    finishButtonText: Object(external_wp_i18n_["__"])('Get started'),
-    onFinish: () => toggleFeature('core/edit-widgets', 'welcomeGuide'),
-    pages: [{
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
-        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-canvas.svg",
-        animatedSrc: "https://s.w.org/images/block-editor/welcome-canvas.gif"
-      }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
-        className: "edit-widgets-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Welcome to block Widgets')), isEntirelyBlockWidgets ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("p", {
-        className: "edit-widgets-welcome-guide__text"
-      }, Object(external_wp_i18n_["sprintf"])( // Translators: %s: Number of block areas in the current theme.
-      Object(external_wp_i18n_["_n"])('Your theme provides %s “block” area for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.', 'Your theme provides %s different “block” areas for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.', numWidgetAreas), numWidgetAreas))) : Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("p", {
-        className: "edit-widgets-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-widgets-welcome-guide__text"
-      }, Object(external_wp_element_["createElement"])("strong", null, Object(external_wp_i18n_["__"])('Want to stick with the old widgets?')), ' ', Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-        href: Object(external_wp_i18n_["__"])('https://wordpress.org/plugins/classic-widgets/')
-      }, Object(external_wp_i18n_["__"])('Get the Classic Widgets plugin.')))))
-    }, {
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
-        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-editor.svg",
-        animatedSrc: "https://s.w.org/images/block-editor/welcome-editor.gif"
-      }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
-        className: "edit-widgets-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Make each block your own')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-widgets-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.')))
-    }, {
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
-        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-library.svg",
-        animatedSrc: "https://s.w.org/images/block-editor/welcome-library.gif"
-      }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
-        className: "edit-widgets-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Get to know the block library')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-widgets-welcome-guide__text"
-      }, Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["__"])('All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon.'), {
-        InserterIconImage: Object(external_wp_element_["createElement"])("img", {
-          className: "edit-widgets-welcome-guide__inserter-icon",
-          alt: Object(external_wp_i18n_["__"])('inserter'),
-          src: "data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' rx='2' fill='%231E1E1E'/%3E%3Cpath d='M9.22727 4V14M4 8.77273H14' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A"
-        })
-      })))
-    }, {
-      image: Object(external_wp_element_["createElement"])(WelcomeGuideImage, {
-        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.svg",
-        animatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.gif"
-      }),
-      content: Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("h1", {
-        className: "edit-widgets-welcome-guide__heading"
-      }, Object(external_wp_i18n_["__"])('Learn how to use the block editor')), Object(external_wp_element_["createElement"])("p", {
-        className: "edit-widgets-welcome-guide__text"
-      }, Object(external_wp_i18n_["__"])('New to the block editor? Want to learn more about using it? '), Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-        href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/wordpress-editor/')
-      }, Object(external_wp_i18n_["__"])("Here's a detailed guide."))))
-    }]
-  });
-}
-
-function WelcomeGuideImage(_ref) {
+function WidgetAreaInnerBlocks(_ref) {
   let {
-    nonAnimatedSrc,
-    animatedSrc
+    id
   } = _ref;
-  return Object(external_wp_element_["createElement"])("picture", {
-    className: "edit-widgets-welcome-guide__image"
-  }, Object(external_wp_element_["createElement"])("source", {
-    srcSet: nonAnimatedSrc,
-    media: "(prefers-reduced-motion: reduce)"
-  }), Object(external_wp_element_["createElement"])("img", {
-    src: animatedSrc,
-    width: "312",
-    height: "240",
-    alt: ""
-  }));
+  const [blocks, onInput, onChange] = (0,external_wp_coreData_namespaceObject.useEntityBlockEditor)('root', 'postType');
+  const innerBlocksRef = (0,external_wp_element_namespaceObject.useRef)();
+  const isDraggingWithinInnerBlocks = use_is_dragging_within(innerBlocksRef);
+  const shouldHighlightDropZone = isDraggingWithinInnerBlocks; // Using the experimental hook so that we can control the className of the element.
+
+  const innerBlocksProps = (0,external_wp_blockEditor_namespaceObject.useInnerBlocksProps)({
+    ref: innerBlocksRef
+  }, {
+    value: blocks,
+    onInput,
+    onChange,
+    templateLock: false,
+    renderAppender: external_wp_blockEditor_namespaceObject.InnerBlocks.ButtonBlockAppender
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    "data-widget-area-id": id,
+    className: classnames_default()('wp-block-widget-area__inner-blocks block-editor-inner-blocks editor-styles-wrapper', {
+      'wp-block-widget-area__highlight-drop-zone': shouldHighlightDropZone
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)("div", innerBlocksProps));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/layout/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/blocks/widget-area/edit/index.js


 /**
@@ -3414,6 +2717,8 @@ function WelcomeGuideImage(_ref) {
  */


+
+
 /**
  * Internal dependencies
  */
@@ -3421,881 +2726,1067 @@ function WelcomeGuideImage(_ref) {



+/** @typedef {import('@wordpress/element').RefObject} RefObject */

-
-
-
-function Layout(_ref) {
+function WidgetAreaEdit(_ref) {
   let {
-    blockEditorSettings,
-    onError
+    clientId,
+    className,
+    attributes: {
+      id,
+      name
+    }
   } = _ref;
-  return Object(external_wp_element_["createElement"])(error_boundary_ErrorBoundary, {
-    onError: onError
-  }, Object(external_wp_element_["createElement"])(WidgetAreasBlockEditorProvider, {
-    blockEditorSettings: blockEditorSettings
-  }, Object(external_wp_element_["createElement"])(layout_interface, {
-    blockEditorSettings: blockEditorSettings
-  }), Object(external_wp_element_["createElement"])(Sidebar, null), Object(external_wp_element_["createElement"])(external_wp_components_["Popover"].Slot, null), Object(external_wp_element_["createElement"])(external_wp_plugins_["PluginArea"], null), Object(external_wp_element_["createElement"])(UnsavedChangesWarning, null), Object(external_wp_element_["createElement"])(WelcomeGuide, null)));
-}
-
-/* harmony default export */ var layout = (Layout);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/index.js
-
+  const isOpen = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).getIsWidgetAreaOpen(clientId), [clientId]);
+  const {
+    setIsWidgetAreaOpen
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const wrapper = (0,external_wp_element_namespaceObject.useRef)();
+  const setOpen = (0,external_wp_element_namespaceObject.useCallback)(openState => setIsWidgetAreaOpen(clientId, openState), [clientId]);
+  const isDragging = useIsDragging(wrapper);
+  const isDraggingWithin = use_is_dragging_within(wrapper);
+  const [openedWhileDragging, setOpenedWhileDragging] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!isDragging) {
+      setOpenedWhileDragging(false);
+      return;
+    }

+    if (isDraggingWithin && !isOpen) {
+      setOpen(true);
+      setOpenedWhileDragging(true);
+    } else if (!isDraggingWithin && isOpen && openedWhileDragging) {
+      setOpen(false);
+    }
+  }, [isOpen, isDragging, isDraggingWithin, openedWhileDragging]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Panel, {
+    className: className,
+    ref: wrapper
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: name,
+    opened: isOpen,
+    onToggle: () => {
+      setIsWidgetAreaOpen(clientId, !isOpen);
+    },
+    scrollAfterOpen: !isDragging
+  }, _ref2 => {
+    let {
+      opened
+    } = _ref2;
+    return (// This is required to ensure LegacyWidget blocks are not
+      // unmounted when the panel is collapsed. Unmounting legacy
+      // widgets may have unintended consequences (e.g.  TinyMCE
+      // not being properly reinitialized)
+      (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.__unstableDisclosureContent, {
+        className: "wp-block-widget-area__panel-body-content",
+        visible: opened
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_coreData_namespaceObject.EntityProvider, {
+        kind: "root",
+        type: "postType",
+        id: `widget-area-${id}`
+      }, (0,external_wp_element_namespaceObject.createElement)(WidgetAreaInnerBlocks, {
+        id: id
+      })))
+    );
+  }));
+}
 /**
- * WordPress dependencies
+ * A React hook to determine if dragging is active.
+ *
+ * @param {RefObject<HTMLElement>} elementRef The target elementRef object.
+ *
+ * @return {boolean} Is dragging within the entire document.
  */

+const useIsDragging = elementRef => {
+  const [isDragging, setIsDragging] = (0,external_wp_element_namespaceObject.useState)(false);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const {
+      ownerDocument
+    } = elementRef.current;

+    function handleDragStart() {
+      setIsDragging(true);
+    }

+    function handleDragEnd() {
+      setIsDragging(false);
+    }

+    ownerDocument.addEventListener('dragstart', handleDragStart);
+    ownerDocument.addEventListener('dragend', handleDragEnd);
+    return () => {
+      ownerDocument.removeEventListener('dragstart', handleDragStart);
+      ownerDocument.removeEventListener('dragend', handleDragEnd);
+    };
+  }, []);
+  return isDragging;
+};

-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/blocks/widget-area/index.js
+/**
+ * WordPress dependencies
+ */

 /**
  * Internal dependencies
  */

+const metadata = {
+  name: "core/widget-area",
+  category: "widgets",
+  attributes: {
+    id: {
+      type: "string"
+    },
+    name: {
+      type: "string"
+    }
+  },
+  supports: {
+    html: false,
+    inserter: false,
+    customClassName: false,
+    reusable: false,
+    __experimentalToolbar: false,
+    __experimentalParentSelector: false
+  },
+  editorStyle: "wp-block-widget-area-editor",
+  style: "wp-block-widget-area"
+};

+const {
+  name: widget_area_name
+} = metadata;

+const settings = {
+  title: (0,external_wp_i18n_namespaceObject.__)('Widget Area'),
+  description: (0,external_wp_i18n_namespaceObject.__)('A widget area container.'),
+  __experimentalLabel: _ref => {
+    let {
+      name: label
+    } = _ref;
+    return label;
+  },
+  edit: WidgetAreaEdit
+};

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/error-boundary/index.js


-const disabledBlocks = ['core/more', 'core/freeform', 'core/template-part', ...(ALLOW_REUSABLE_BLOCKS ? [] : ['core/block'])];
-/**
- * Reinitializes the editor after the user chooses to reboot the editor after
- * an unhandled error occurs, replacing previously mounted editor element using
- * an initial state from prior to the crash.
- *
- * @param {Element} target   DOM node in which editor is rendered.
- * @param {?Object} settings Editor settings object.
- */
-
-function reinitializeEditor(target, settings) {
-  Object(external_wp_element_["unmountComponentAtNode"])(target);
-  const reboot = reinitializeEditor.bind(null, target, settings);
-  Object(external_wp_element_["render"])(Object(external_wp_element_["createElement"])(layout, {
-    blockEditorSettings: settings,
-    onError: reboot
-  }), target);
-}
 /**
- * Initializes the block editor in the widgets screen.
- *
- * @param {string} id       ID of the root element to render the screen in.
- * @param {Object} settings Block editor settings.
+ * WordPress dependencies
  */

-function initialize(id, settings) {
-  const target = document.getElementById(id);
-  const reboot = reinitializeEditor.bind(null, target, settings);
-
-  const coreBlocks = Object(external_wp_blockLibrary_["__experimentalGetCoreBlocks"])().filter(block => {
-    return !(disabledBlocks.includes(block.name) || block.name.startsWith('core/post') || block.name.startsWith('core/query') || block.name.startsWith('core/site') || block.name.startsWith('core/navigation'));
-  });
-
-  Object(external_wp_data_["dispatch"])(build_module["i" /* store */]).setFeatureDefaults('core/edit-widgets', {
-    fixedToolbar: false,
-    welcomeGuide: true,
-    showBlockBreadcrumbs: true,
-    themeStyles: true
-  });
-
-  Object(external_wp_data_["dispatch"])(external_wp_blocks_["store"]).__experimentalReapplyBlockTypeFilters();
-
-  Object(external_wp_blockLibrary_["registerCoreBlocks"])(coreBlocks);
-  Object(external_wp_widgets_["registerLegacyWidgetBlock"])();

-  if (false) {}

-  Object(external_wp_widgets_["registerLegacyWidgetVariations"])(settings);
-  registerBlock(widget_area_namespaceObject);
-  Object(external_wp_widgets_["registerWidgetGroupBlock"])();

-  settings.__experimentalFetchLinkSuggestions = (search, searchOptions) => Object(external_wp_coreData_["__experimentalFetchLinkSuggestions"])(search, searchOptions, settings); // As we are unregistering `core/freeform` to avoid the Classic block, we must
-  // replace it with something as the default freeform content handler. Failure to
-  // do this will result in errors in the default block parser.
-  // see: https://github.com/WordPress/gutenberg/issues/33097


-  Object(external_wp_blocks_["setFreeformContentHandlerName"])('core/html');
-  Object(external_wp_element_["render"])(Object(external_wp_element_["createElement"])(layout, {
-    blockEditorSettings: settings,
-    onError: reboot
-  }), target);
+function CopyButton(_ref) {
+  let {
+    text,
+    children
+  } = _ref;
+  const ref = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(text);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    ref: ref
+  }, children);
 }
-/**
- * Function to register an individual block.
- *
- * @param {Object} block The block to be registered.
- *
- */

-const registerBlock = block => {
-  if (!block) {
-    return;
+class ErrorBoundary extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.reboot = this.reboot.bind(this);
+    this.state = {
+      error: null
+    };
   }

-  const {
-    metadata,
-    settings,
-    name
-  } = block;
-
-  if (metadata) {
-    Object(external_wp_blocks_["unstable__bootstrapServerSideBlockDefinitions"])({
-      [name]: metadata
+  componentDidCatch(error) {
+    this.setState({
+      error
     });
   }

-  Object(external_wp_blocks_["registerBlockType"])(name, settings);
-};
+  reboot() {
+    this.props.onError();
+  }

+  render() {
+    const {
+      error
+    } = this.state;

-/***/ }),
+    if (!error) {
+      return this.props.children;
+    }

-/***/ "GLVC":
-/***/ (function(module, exports) {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, {
+      className: "edit-widgets-error-boundary",
+      actions: [(0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        key: "recovery",
+        onClick: this.reboot,
+        variant: "secondary"
+      }, (0,external_wp_i18n_namespaceObject.__)('Attempt Recovery')), (0,external_wp_element_namespaceObject.createElement)(CopyButton, {
+        key: "copy-error",
+        text: error.stack
+      }, (0,external_wp_i18n_namespaceObject.__)('Copy Error'))]
+    }, (0,external_wp_i18n_namespaceObject.__)('The editor has encountered an unexpected error.'));
+  }

-(function() { module.exports = window["wp"]["widgets"]; }());
+}

-/***/ }),
+;// CONCATENATED MODULE: external ["wp","reusableBlocks"]
+var external_wp_reusableBlocks_namespaceObject = window["wp"]["reusableBlocks"];
+;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"]
+var external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcuts/index.js
+/**
+ * WordPress dependencies
+ */

-/***/ "GRId":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["element"]; }());

-/***/ }),

-/***/ "HSyU":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["blocks"]; }());
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "K+tz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+function KeyboardShortcuts() {
+  const {
+    redo,
+    undo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const {
+    saveEditedWidgetAreas
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-widgets/undo', event => {
+    undo();
+    event.preventDefault();
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-widgets/redo', event => {
+    redo();
+    event.preventDefault();
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-widgets/save', event => {
+    event.preventDefault();
+    saveEditedWidgetAreas();
+  });
+  return null;
+}
+
+function KeyboardShortcutsRegister() {
+  // Registering the shortcuts
+  const {
+    registerShortcut
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_keyboardShortcuts_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    registerShortcut({
+      name: 'core/edit-widgets/undo',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Undo your last changes.'),
+      keyCombination: {
+        modifier: 'primary',
+        character: 'z'
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-widgets/redo',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Redo your last undo.'),
+      keyCombination: {
+        modifier: 'primaryShift',
+        character: 'z'
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-widgets/save',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Save your changes.'),
+      keyCombination: {
+        modifier: 'primary',
+        character: 's'
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-widgets/keyboard-shortcuts',
+      category: 'main',
+      description: (0,external_wp_i18n_namespaceObject.__)('Display these keyboard shortcuts.'),
+      keyCombination: {
+        modifier: 'access',
+        character: 'h'
+      }
+    });
+    registerShortcut({
+      name: 'core/edit-widgets/next-region',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Navigate to the next part of the editor.'),
+      keyCombination: {
+        modifier: 'ctrl',
+        character: '`'
+      },
+      aliases: [{
+        modifier: 'access',
+        character: 'n'
+      }]
+    });
+    registerShortcut({
+      name: 'core/edit-widgets/previous-region',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Navigate to the previous part of the editor.'),
+      keyCombination: {
+        modifier: 'ctrlShift',
+        character: '`'
+      },
+      aliases: [{
+        modifier: 'access',
+        character: 'p'
+      }]
+    });
+  }, [registerShortcut]);
+  return null;
+}

+KeyboardShortcuts.Register = KeyboardShortcutsRegister;
+/* harmony default export */ var keyboard_shortcuts = (KeyboardShortcuts);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/hooks/use-last-selected-widget-area.js
 /**
  * WordPress dependencies
  */

-const external = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (external);
-

-/***/ }),

-/***/ "K2cm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Internal dependencies
+ */

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * A react hook that returns the client id of the last widget area to have
+ * been selected, or to have a selected block within it.
+ *
+ * @return {string} clientId of the widget area last selected.
  */

-const redo = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (redo);
-
-
-/***/ }),
+const useLastSelectedWidgetArea = () => (0,external_wp_data_namespaceObject.useSelect)(select => {
+  var _widgetAreasPost$bloc;

-/***/ "K9lf":
-/***/ (function(module, exports) {
+  const {
+    getBlockSelectionEnd,
+    getBlockName
+  } = select(external_wp_blockEditor_namespaceObject.store);
+  const selectionEndClientId = getBlockSelectionEnd(); // If the selected block is a widget area, return its clientId.

-(function() { module.exports = window["wp"]["compose"]; }());
+  if (getBlockName(selectionEndClientId) === 'core/widget-area') {
+    return selectionEndClientId;
+  }

-/***/ }),
+  const {
+    getParentWidgetAreaBlock
+  } = select(store_store);
+  const widgetAreaBlock = getParentWidgetAreaBlock(selectionEndClientId);
+  const widgetAreaBlockClientId = widgetAreaBlock === null || widgetAreaBlock === void 0 ? void 0 : widgetAreaBlock.clientId;

-/***/ "KEfo":
-/***/ (function(module, exports) {
+  if (widgetAreaBlockClientId) {
+    return widgetAreaBlockClientId;
+  } // If no widget area has been selected, return the clientId of the first
+  // area.

-(function() { module.exports = window["wp"]["viewport"]; }());

-/***/ }),
+  const {
+    getEntityRecord
+  } = select(external_wp_coreData_namespaceObject.store);
+  const widgetAreasPost = getEntityRecord(KIND, POST_TYPE, buildWidgetAreasPostId());
+  return widgetAreasPost === null || widgetAreasPost === void 0 ? void 0 : (_widgetAreasPost$bloc = widgetAreasPost.blocks[0]) === null || _widgetAreasPost$bloc === void 0 ? void 0 : _widgetAreasPost$bloc.clientId;
+}, []);

-/***/ "Mmq9":
-/***/ (function(module, exports) {
+/* harmony default export */ var use_last_selected_widget_area = (useLastSelectedWidgetArea);

-(function() { module.exports = window["wp"]["url"]; }());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/constants.js
+const ALLOW_REUSABLE_BLOCKS = false;
+const ENABLE_EXPERIMENTAL_FSE_BLOCKS = false;

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/widget-areas-block-editor-provider/index.js

-/***/ "Ntru":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
  */

-const undo = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (undo);


-/***/ }),

-/***/ "OzlF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+
+


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const listView = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (listView);


-/***/ }),

-/***/ "Q4Sy":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+
+
+function WidgetAreasBlockEditorProvider(_ref) {
+  let {
+    blockEditorSettings,
+    children,
+    ...props
+  } = _ref;
+  const {
+    hasUploadPermissions,
+    reusableBlocks,
+    isFixedToolbarActive,
+    keepCaretInsideBlock
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    hasUploadPermissions: (0,external_lodash_namespaceObject.defaultTo)(select(external_wp_coreData_namespaceObject.store).canUser('create', 'media'), true),
+    widgetAreas: select(store_store).getWidgetAreas(),
+    widgets: select(store_store).getWidgets(),
+    reusableBlocks: ALLOW_REUSABLE_BLOCKS ? select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_block') : [],
+    isFixedToolbarActive: select(store).isFeatureActive('core/edit-widgets', 'fixedToolbar'),
+    keepCaretInsideBlock: select(store).isFeatureActive('core/edit-widgets', 'keepCaretInsideBlock')
+  }), []);
+  const {
+    setIsInserterOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const settings = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    let mediaUploadBlockEditor;
+
+    if (hasUploadPermissions) {
+      mediaUploadBlockEditor = _ref2 => {
+        let {
+          onError,
+          ...argumentsObject
+        } = _ref2;
+        (0,external_wp_mediaUtils_namespaceObject.uploadMedia)({
+          wpAllowedMimeTypes: blockEditorSettings.allowedMimeTypes,
+          onError: _ref3 => {
+            let {
+              message
+            } = _ref3;
+            return onError(message);
+          },
+          ...argumentsObject
+        });
+      };
+    }
+
+    return { ...blockEditorSettings,
+      __experimentalReusableBlocks: reusableBlocks,
+      hasFixedToolbar: isFixedToolbarActive,
+      keepCaretInsideBlock,
+      mediaUpload: mediaUploadBlockEditor,
+      templateLock: 'all',
+      __experimentalSetIsInserterOpened: setIsInserterOpened
+    };
+  }, [blockEditorSettings, isFixedToolbarActive, keepCaretInsideBlock, hasUploadPermissions, reusableBlocks, setIsInserterOpened]);
+  const widgetAreaId = use_last_selected_widget_area();
+  const [blocks, onInput, onChange] = (0,external_wp_coreData_namespaceObject.useEntityBlockEditor)(KIND, POST_TYPE, {
+    id: buildWidgetAreasPostId()
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_keyboardShortcuts_namespaceObject.ShortcutProvider, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockEditorKeyboardShortcuts.Register, null), (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts.Register, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SlotFillProvider, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockEditorProvider, _extends({
+    value: blocks,
+    onInput: onInput,
+    onChange: onChange,
+    settings: settings,
+    useSubRegistry: false
+  }, props), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.CopyHandler, null, children), (0,external_wp_element_namespaceObject.createElement)(external_wp_reusableBlocks_namespaceObject.ReusableBlocksMenuItems, {
+    rootClientId: widgetAreaId
+  }))));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cog.js


 /**
  * WordPress dependencies
  */

-const plus = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const cog = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  fillRule: "evenodd",
+  d: "M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",
+  clipRule: "evenodd"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (plus);
+/* harmony default export */ var library_cog = (cog);

-
-/***/ }),
-
-/***/ "QyPg":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blockLibrary"]; }());
-
-/***/ }),
-
-/***/ "RMJe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js


 /**
  * WordPress dependencies
  */

-const check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const blockDefault = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (check);
-
-
-/***/ }),
-
-/***/ "RxS6":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["keycodes"]; }());
-
-/***/ }),
-
-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */
-
-(function () {
-	'use strict';
-
-	var hasOwn = {}.hasOwnProperty;
-
-	function classNames() {
-		var classes = [];
-
-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
-
-			var argType = typeof arg;
-
-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
+/* harmony default export */ var block_default = (blockDefault);

-		return classes.join(' ');
-	}
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: external ["wp","dom"]
+var external_wp_dom_namespaceObject = window["wp"]["dom"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/sidebar/widget-areas.js

-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());

+/**
+ * WordPress dependencies
+ */

-/***/ }),

-/***/ "Tqx9":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["primitives"]; }());

-/***/ }),

-/***/ "TvNi":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["plugins"]; }());

-/***/ }),

-/***/ "U60i":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * Internal dependencies
+ */

-"use strict";

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ complementary_area; });
-__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ ComplementaryAreaMoreMenuItem; });
-__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ fullscreen_mode; });
-__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ interface_skeleton; });
-__webpack_require__.d(__webpack_exports__, "h", function() { return /* reexport */ pinned_items; });
-__webpack_require__.d(__webpack_exports__, "f", function() { return /* reexport */ MoreMenuDropdown; });
-__webpack_require__.d(__webpack_exports__, "g", function() { return /* reexport */ MoreMenuFeatureToggle; });
-__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ action_item; });
-__webpack_require__.d(__webpack_exports__, "i", function() { return /* reexport */ store; });
+function WidgetAreas(_ref) {
+  let {
+    selectedWidgetAreaId
+  } = _ref;
+  const widgetAreas = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).getWidgetAreas(), []);
+  const selectedWidgetArea = (0,external_wp_element_namespaceObject.useMemo)(() => selectedWidgetAreaId && (widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.find(widgetArea => widgetArea.id === selectedWidgetAreaId)), [selectedWidgetAreaId, widgetAreas]);
+  let description;

-// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/actions.js
-var actions_namespaceObject = {};
-__webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "enableComplementaryArea", function() { return actions_enableComplementaryArea; });
-__webpack_require__.d(actions_namespaceObject, "disableComplementaryArea", function() { return actions_disableComplementaryArea; });
-__webpack_require__.d(actions_namespaceObject, "pinItem", function() { return actions_pinItem; });
-__webpack_require__.d(actions_namespaceObject, "unpinItem", function() { return actions_unpinItem; });
-__webpack_require__.d(actions_namespaceObject, "toggleFeature", function() { return actions_toggleFeature; });
-__webpack_require__.d(actions_namespaceObject, "setFeatureValue", function() { return setFeatureValue; });
-__webpack_require__.d(actions_namespaceObject, "setFeatureDefaults", function() { return setFeatureDefaults; });
+  if (!selectedWidgetArea) {
+    description = (0,external_wp_i18n_namespaceObject.__)('Widget Areas are global parts in your site’s layout that can accept blocks. These vary by theme, but are typically parts like your Sidebar or Footer.');
+  } else if (selectedWidgetAreaId === 'wp_inactive_widgets') {
+    description = (0,external_wp_i18n_namespaceObject.__)('Blocks in this Widget Area will not be displayed in your site.');
+  } else {
+    description = selectedWidgetArea.description;
+  }

-// NAMESPACE OBJECT: ./node_modules/@wordpress/interface/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getActiveComplementaryArea", function() { return selectors_getActiveComplementaryArea; });
-__webpack_require__.d(selectors_namespaceObject, "isItemPinned", function() { return selectors_isItemPinned; });
-__webpack_require__.d(selectors_namespaceObject, "isFeatureActive", function() { return isFeatureActive; });
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-widget-areas"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-widget-areas__top-container"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
+    icon: block_default
+  }), (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)("p", {
+    // Use `dangerouslySetInnerHTML` to keep backwards
+    // compatibility. Basic markup in the description is an
+    // established feature of WordPress.
+    // @see https://github.com/WordPress/gutenberg/issues/33106
+    dangerouslySetInnerHTML: {
+      __html: (0,external_wp_dom_namespaceObject.safeHTML)(description)
+    }
+  }), (widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.length) === 0 && (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('Your theme does not contain any Widget Areas.')), !selectedWidgetArea && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    href: (0,external_wp_url_namespaceObject.addQueryArgs)('customize.php', {
+      'autofocus[panel]': 'widgets',
+      return: window.location.pathname
+    }),
+    variant: "tertiary"
+  }, (0,external_wp_i18n_namespaceObject.__)('Manage with live preview')))));
+}

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/sidebar/index.js

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");

-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+/**
+ * External dependencies
+ */

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
-var check = __webpack_require__("RMJe");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
-var star_filled = __webpack_require__("URob");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
-var star_empty = __webpack_require__("Xxwi");

-// EXTERNAL MODULE: external ["wp","viewport"]
-var external_wp_viewport_ = __webpack_require__("KEfo");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+const SIDEBAR_ACTIVE_BY_DEFAULT = external_wp_element_namespaceObject.Platform.select({
+  web: true,
+  native: false
+});
+const BLOCK_INSPECTOR_IDENTIFIER = 'edit-widgets/block-inspector'; // Widget areas were one called block areas, so use 'edit-widgets/block-areas'
+// for backwards compatibility.

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/reducer.js
+const WIDGET_AREAS_IDENTIFIER = 'edit-widgets/block-areas';
 /**
- * External dependencies
+ * Internal dependencies
  */

-/**
- * WordPress dependencies
- */


-/**
- * Reducer to keep tract of the active area per scope.
- *
- * @param {boolean} state           Previous state.
- * @param {Object}  action          Action object.
- * @param {string}  action.type     Action type.
- * @param {string}  action.itemType Type of item.
- * @param {string}  action.scope    Item scope.
- * @param {string}  action.item     Item name.
- *
- * @return {Object} Updated state.
- */

-function singleEnableItems() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+function ComplementaryAreaTab(_ref) {
   let {
-    type,
-    itemType,
-    scope,
-    item
-  } = arguments.length > 1 ? arguments[1] : undefined;
+    identifier,
+    label,
+    isActive
+  } = _ref;
+  const {
+    enableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    onClick: () => enableComplementaryArea(store_store.name, identifier),
+    className: classnames_default()('edit-widgets-sidebar__panel-tab', {
+      'is-active': isActive
+    }),
+    "aria-label": isActive ? // translators: %s: sidebar label e.g: "Widget Areas".
+    (0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('%s (selected)'), label) : label,
+    "data-label": label
+  }, label);
+}

-  if (type !== 'SET_SINGLE_ENABLE_ITEM' || !itemType || !scope) {
-    return state;
-  }
+function Sidebar() {
+  const {
+    enableComplementaryArea
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    currentArea,
+    hasSelectedNonAreaBlock,
+    isGeneralSidebarOpen,
+    selectedWidgetAreaBlock
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getSelectedBlock,
+      getBlock,
+      getBlockParentsByBlockName
+    } = select(external_wp_blockEditor_namespaceObject.store);
+    const {
+      getActiveComplementaryArea
+    } = select(store);
+    const selectedBlock = getSelectedBlock();
+    const activeArea = getActiveComplementaryArea(store_store.name);
+    let currentSelection = activeArea;

-  return { ...state,
-    [itemType]: { ...state[itemType],
-      [scope]: item || null
+    if (!currentSelection) {
+      if (selectedBlock) {
+        currentSelection = BLOCK_INSPECTOR_IDENTIFIER;
+      } else {
+        currentSelection = WIDGET_AREAS_IDENTIFIER;
+      }
     }
-  };
-}
-/**
- * Reducer keeping track of the "pinned" items per scope.
- *
- * @param {boolean} state           Previous state.
- * @param {Object}  action          Action object.
- * @param {string}  action.type     Action type.
- * @param {string}  action.itemType Type of item.
- * @param {string}  action.scope    Item scope.
- * @param {string}  action.item     Item name.
- * @param {boolean} action.isEnable Whether the item is pinned.
- *
- * @return {Object} Updated state.
- */
-
-function multipleEnableItems() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let {
-    type,
-    itemType,
-    scope,
-    item,
-    isEnable
-  } = arguments.length > 1 ? arguments[1] : undefined;

-  if (type !== 'SET_MULTIPLE_ENABLE_ITEM' || !itemType || !scope || !item || Object(external_lodash_["get"])(state, [itemType, scope, item]) === isEnable) {
-    return state;
-  }
+    let widgetAreaBlock;

-  const currentTypeState = state[itemType] || {};
-  const currentScopeState = currentTypeState[scope] || {};
-  return { ...state,
-    [itemType]: { ...currentTypeState,
-      [scope]: { ...currentScopeState,
-        [item]: isEnable || false
+    if (selectedBlock) {
+      if (selectedBlock.name === 'core/widget-area') {
+        widgetAreaBlock = selectedBlock;
+      } else {
+        widgetAreaBlock = getBlock(getBlockParentsByBlockName(selectedBlock.clientId, 'core/widget-area')[0]);
       }
     }
-  };
+
+    return {
+      currentArea: currentSelection,
+      hasSelectedNonAreaBlock: !!(selectedBlock && selectedBlock.name !== 'core/widget-area'),
+      isGeneralSidebarOpen: !!activeArea,
+      selectedWidgetAreaBlock: widgetAreaBlock
+    };
+  }, []); // currentArea, and isGeneralSidebarOpen are intentionally left out from the dependencies,
+  // because we want to run the effect when a block is selected/unselected and not when the sidebar state changes.
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (hasSelectedNonAreaBlock && currentArea === WIDGET_AREAS_IDENTIFIER && isGeneralSidebarOpen) {
+      enableComplementaryArea('core/edit-widgets', BLOCK_INSPECTOR_IDENTIFIER);
+    }
+
+    if (!hasSelectedNonAreaBlock && currentArea === BLOCK_INSPECTOR_IDENTIFIER && isGeneralSidebarOpen) {
+      enableComplementaryArea('core/edit-widgets', WIDGET_AREAS_IDENTIFIER);
+    }
+  }, [hasSelectedNonAreaBlock, enableComplementaryArea]);
+  return (0,external_wp_element_namespaceObject.createElement)(complementary_area, {
+    className: "edit-widgets-sidebar",
+    header: (0,external_wp_element_namespaceObject.createElement)("ul", null, (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaTab, {
+      identifier: WIDGET_AREAS_IDENTIFIER,
+      label: selectedWidgetAreaBlock ? selectedWidgetAreaBlock.attributes.name : (0,external_wp_i18n_namespaceObject.__)('Widget Areas'),
+      isActive: currentArea === WIDGET_AREAS_IDENTIFIER
+    })), (0,external_wp_element_namespaceObject.createElement)("li", null, (0,external_wp_element_namespaceObject.createElement)(ComplementaryAreaTab, {
+      identifier: BLOCK_INSPECTOR_IDENTIFIER,
+      label: (0,external_wp_i18n_namespaceObject.__)('Block'),
+      isActive: currentArea === BLOCK_INSPECTOR_IDENTIFIER
+    }))),
+    headerClassName: "edit-widgets-sidebar__panel-tabs"
+    /* translators: button label text should, if possible, be under 16 characters. */
+    ,
+    title: (0,external_wp_i18n_namespaceObject.__)('Settings'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close settings'),
+    scope: "core/edit-widgets",
+    identifier: currentArea,
+    icon: library_cog,
+    isActiveByDefault: SIDEBAR_ACTIVE_BY_DEFAULT
+  }, currentArea === WIDGET_AREAS_IDENTIFIER && (0,external_wp_element_namespaceObject.createElement)(WidgetAreas, {
+    selectedWidgetAreaId: selectedWidgetAreaBlock === null || selectedWidgetAreaBlock === void 0 ? void 0 : selectedWidgetAreaBlock.attributes.id
+  }), currentArea === BLOCK_INSPECTOR_IDENTIFIER && (hasSelectedNonAreaBlock ? (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockInspector, null) : // Pretend that Widget Areas are part of the UI by not
+  // showing the Block Inspector when one is selected.
+  (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "block-editor-block-inspector__no-blocks"
+  }, (0,external_wp_i18n_namespaceObject.__)('No block selected.'))));
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plus.js
+
+
 /**
- * Reducer returning the defaults for user preferences.
- *
- * This is kept intentionally separate from the preferences
- * themselves so that defaults are not persisted.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
+ * WordPress dependencies
  */

-const preferenceDefaults = Object(external_wp_data_["combineReducers"])({
-  features() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;
+const plus = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"
+}));
+/* harmony default export */ var library_plus = (plus);

-    if (action.type === 'SET_FEATURE_DEFAULTS') {
-      const {
-        scope,
-        defaults
-      } = action;
-      return { ...state,
-        [scope]: { ...state[scope],
-          ...defaults
-        }
-      };
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/list-view.js

-    return state;
-  }

-});
 /**
- * Reducer returning the user preferences.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
+ * WordPress dependencies
  */

-const preferences = Object(external_wp_data_["combineReducers"])({
-  features() {
-    let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-    let action = arguments.length > 1 ? arguments[1] : undefined;
-
-    if (action.type === 'SET_FEATURE_VALUE') {
-      const {
-        scope,
-        featureName,
-        value
-      } = action;
-      return { ...state,
-        [scope]: { ...state[scope],
-          [featureName]: value
-        }
-      };
-    }
+const listView = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"
+}));
+/* harmony default export */ var list_view = (listView);

-    return state;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/save-button/index.js

-});
-const enableItems = Object(external_wp_data_["combineReducers"])({
-  singleEnableItems,
-  multipleEnableItems
-});
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  enableItems,
-  preferenceDefaults,
-  preferences
-}));

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/actions.js
-/**
- * Returns an action object used in signalling that an active area should be changed.
- *
- * @param {string} itemType Type of item.
- * @param {string} scope    Item scope.
- * @param {string} item     Item identifier.
- *
- * @return {Object} Action object.
- */
-function setSingleEnableItem(itemType, scope, item) {
-  return {
-    type: 'SET_SINGLE_ENABLE_ITEM',
-    itemType,
-    scope,
-    item
-  };
-}
 /**
- * Returns an action object used in signalling that a complementary item should be enabled.
- *
- * @param {string} scope Complementary area scope.
- * @param {string} area  Area identifier.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */


-function actions_enableComplementaryArea(scope, area) {
-  return setSingleEnableItem('complementaryArea', scope, area);
-}
-/**
- * Returns an action object used in signalling that the complementary area of a given scope should be disabled.
- *
- * @param {string} scope Complementary area scope.
- *
- * @return {Object} Action object.
- */

-function actions_disableComplementaryArea(scope) {
-  return setSingleEnableItem('complementaryArea', scope, undefined);
-}
 /**
- * Returns an action object to make an area enabled/disabled.
- *
- * @param {string}  itemType Type of item.
- * @param {string}  scope    Item scope.
- * @param {string}  item     Item identifier.
- * @param {boolean} isEnable Boolean indicating if an area should be pinned or not.
- *
- * @return {Object} Action object.
+ * Internal dependencies
  */

-function setMultipleEnableItem(itemType, scope, item, isEnable) {
-  return {
-    type: 'SET_MULTIPLE_ENABLE_ITEM',
-    itemType,
-    scope,
-    item,
-    isEnable
-  };
+
+
+function SaveButton() {
+  const {
+    hasEditedWidgetAreaIds,
+    isSaving
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _getEditedWidgetAreas;
+
+    const {
+      getEditedWidgetAreas,
+      isSavingWidgetAreas
+    } = select(store_store);
+    return {
+      hasEditedWidgetAreaIds: ((_getEditedWidgetAreas = getEditedWidgetAreas()) === null || _getEditedWidgetAreas === void 0 ? void 0 : _getEditedWidgetAreas.length) > 0,
+      isSaving: isSavingWidgetAreas()
+    };
+  }, []);
+  const {
+    saveEditedWidgetAreas
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "primary",
+    isBusy: isSaving,
+    "aria-disabled": isSaving,
+    onClick: isSaving ? undefined : saveEditedWidgetAreas,
+    disabled: !hasEditedWidgetAreaIds
+  }, isSaving ? (0,external_wp_i18n_namespaceObject.__)('Saving…') : (0,external_wp_i18n_namespaceObject.__)('Update'));
 }
+
+/* harmony default export */ var save_button = (SaveButton);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/undo.js
+
+
 /**
- * Returns an action object used in signalling that an item should be pinned.
- *
- * @param {string} scope  Item scope.
- * @param {string} itemId Item identifier.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */

+const undo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"
+}));
+/* harmony default export */ var library_undo = (undo);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/redo.js
+

-function actions_pinItem(scope, itemId) {
-  return setMultipleEnableItem('pinnedItems', scope, itemId, true);
-}
 /**
- * Returns an action object used in signalling that an item should be unpinned.
- *
- * @param {string} scope  Item scope.
- * @param {string} itemId Item identifier.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */

-function actions_unpinItem(scope, itemId) {
-  return setMultipleEnableItem('pinnedItems', scope, itemId, false);
-}
+const redo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"
+}));
+/* harmony default export */ var library_redo = (redo);
+
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/header/undo-redo/undo.js
+
+
 /**
- * Returns an action object used in signalling that a feature should be toggled.
- *
- * @param {string} scope       The feature scope (e.g. core/edit-post).
- * @param {string} featureName The feature name.
+ * WordPress dependencies
  */

-function actions_toggleFeature(scope, featureName) {
-  return function (_ref) {
-    let {
-      select,
-      dispatch
-    } = _ref;
-    const currentValue = select.isFeatureActive(scope, featureName);
-    dispatch.setFeatureValue(scope, featureName, !currentValue);
-  };
+
+
+
+
+
+function UndoButton() {
+  const hasUndo = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).hasUndo(), []);
+  const {
+    undo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    icon: !(0,external_wp_i18n_namespaceObject.isRTL)() ? library_undo : library_redo,
+    label: (0,external_wp_i18n_namespaceObject.__)('Undo'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primary('z') // If there are no undo levels we don't want to actually disable this
+    // button, because it will remove focus for keyboard users.
+    // See: https://github.com/WordPress/gutenberg/issues/3486
+    ,
+    "aria-disabled": !hasUndo,
+    onClick: hasUndo ? undo : undefined
+  });
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/header/undo-redo/redo.js
+
+
 /**
- * Returns an action object used in signalling that a feature should be set to
- * a true or false value
- *
- * @param {string}  scope       The feature scope (e.g. core/edit-post).
- * @param {string}  featureName The feature name.
- * @param {boolean} value       The value to set.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */

-function setFeatureValue(scope, featureName, value) {
-  return {
-    type: 'SET_FEATURE_VALUE',
-    scope,
-    featureName,
-    value: !!value
-  };
+
+
+
+
+
+function RedoButton() {
+  const hasRedo = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).hasRedo(), []);
+  const {
+    redo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
+    icon: !(0,external_wp_i18n_namespaceObject.isRTL)() ? library_redo : library_undo,
+    label: (0,external_wp_i18n_namespaceObject.__)('Redo'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primaryShift('z') // If there are no undo levels we don't want to actually disable this
+    // button, because it will remove focus for keyboard users.
+    // See: https://github.com/WordPress/gutenberg/issues/3486
+    ,
+    "aria-disabled": !hasRedo,
+    onClick: hasRedo ? redo : undefined
+  });
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/external.js
+
+
 /**
- * Returns an action object used in signalling that defaults should be set for features.
- *
- * @param {string}                  scope    The feature scope (e.g. core/edit-post).
- * @param {Object<string, boolean>} defaults A key/value map of feature names to values.
- *
- * @return {Object} Action object.
+ * WordPress dependencies
  */

-function setFeatureDefaults(scope, defaults) {
-  return {
-    type: 'SET_FEATURE_DEFAULTS',
-    scope,
-    defaults
-  };
-}
+const external = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"
+}));
+/* harmony default export */ var library_external = (external);

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/selectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcut-help-modal/config.js
 /**
- * External dependencies
+ * WordPress dependencies
  */

+const textFormattingShortcuts = [{
+  keyCombination: {
+    modifier: 'primary',
+    character: 'b'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Make the selected text bold.')
+}, {
+  keyCombination: {
+    modifier: 'primary',
+    character: 'i'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Make the selected text italic.')
+}, {
+  keyCombination: {
+    modifier: 'primary',
+    character: 'k'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Convert the selected text into a link.')
+}, {
+  keyCombination: {
+    modifier: 'primaryShift',
+    character: 'k'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Remove a link.')
+}, {
+  keyCombination: {
+    modifier: 'primary',
+    character: 'u'
+  },
+  description: (0,external_wp_i18n_namespaceObject.__)('Underline the selected text.')
+}];
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcut-help-modal/shortcut.js
+
+
 /**
- * Returns the item that is enabled in a given scope.
- *
- * @param {Object} state    Global application state.
- * @param {string} itemType Type of item.
- * @param {string} scope    Item scope.
- *
- * @return {?string|null} The item that is enabled in the passed scope and type.
+ * External dependencies
  */

-function getSingleEnableItem(state, itemType, scope) {
-  return Object(external_lodash_["get"])(state.enableItems.singleEnableItems, [itemType, scope]);
-}
 /**
- * Returns the complementary area that is active in a given scope.
- *
- * @param {Object} state Global application state.
- * @param {string} scope Item scope.
- *
- * @return {string} The complementary area that is active in the given scope.
+ * WordPress dependencies
  */


-function selectors_getActiveComplementaryArea(state, scope) {
-  return getSingleEnableItem(state, 'complementaryArea', scope);
+
+
+function KeyCombination(_ref) {
+  let {
+    keyCombination,
+    forceAriaLabel
+  } = _ref;
+  const shortcut = keyCombination.modifier ? external_wp_keycodes_namespaceObject.displayShortcutList[keyCombination.modifier](keyCombination.character) : keyCombination.character;
+  const ariaLabel = keyCombination.modifier ? external_wp_keycodes_namespaceObject.shortcutAriaLabel[keyCombination.modifier](keyCombination.character) : keyCombination.character;
+  return (0,external_wp_element_namespaceObject.createElement)("kbd", {
+    className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination",
+    "aria-label": forceAriaLabel || ariaLabel
+  }, (0,external_lodash_namespaceObject.castArray)(shortcut).map((character, index) => {
+    if (character === '+') {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, {
+        key: index
+      }, character);
+    }
+
+    return (0,external_wp_element_namespaceObject.createElement)("kbd", {
+      key: index,
+      className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-key"
+    }, character);
+  }));
 }
-/**
- * Returns a boolean indicating if an item is enabled or not in a given scope.
- *
- * @param {Object} state    Global application state.
- * @param {string} itemType Type of item.
- * @param {string} scope    Scope.
- * @param {string} item     Item to check.
- *
- * @return {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.
- */

-function isMultipleEnabledItemEnabled(state, itemType, scope, item) {
-  return Object(external_lodash_["get"])(state.enableItems.multipleEnableItems, [itemType, scope, item]);
+function Shortcut(_ref2) {
+  let {
+    description,
+    keyCombination,
+    aliases = [],
+    ariaLabel
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-description"
+  }, description), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-term"
+  }, (0,external_wp_element_namespaceObject.createElement)(KeyCombination, {
+    keyCombination: keyCombination,
+    forceAriaLabel: ariaLabel
+  }), aliases.map((alias, index) => (0,external_wp_element_namespaceObject.createElement)(KeyCombination, {
+    keyCombination: alias,
+    forceAriaLabel: ariaLabel,
+    key: index
+  }))));
 }
+
+/* harmony default export */ var keyboard_shortcut_help_modal_shortcut = (Shortcut);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcut-help-modal/dynamic-shortcut.js
+
+
 /**
- * Returns a boolean indicating if an item is pinned or not.
- *
- * @param {Object} state Global application state.
- * @param {string} scope Scope.
- * @param {string} item  Item to check.
- *
- * @return {boolean} True if the item is pinned and false otherwise.
+ * WordPress dependencies
  */


-function selectors_isItemPinned(state, scope, item) {
-  return isMultipleEnabledItemEnabled(state, 'pinnedItems', scope, item) !== false;
-}
 /**
- * Returns a boolean indicating whether a feature is active for a particular
- * scope.
- *
- * @param {Object} state       The store state.
- * @param {string} scope       The scope of the feature (e.g. core/edit-post).
- * @param {string} featureName The name of the feature.
- *
- * @return {boolean} Is the feature enabled?
+ * Internal dependencies
  */

-function isFeatureActive(state, scope, featureName) {
-  var _state$preferences$fe, _state$preferenceDefa;

-  const featureValue = (_state$preferences$fe = state.preferences.features[scope]) === null || _state$preferences$fe === void 0 ? void 0 : _state$preferences$fe[featureName];
-  const defaultedFeatureValue = featureValue !== undefined ? featureValue : (_state$preferenceDefa = state.preferenceDefaults.features[scope]) === null || _state$preferenceDefa === void 0 ? void 0 : _state$preferenceDefa[featureName];
-  return !!defaultedFeatureValue;
+
+function DynamicShortcut(_ref) {
+  let {
+    name
+  } = _ref;
+  const {
+    keyCombination,
+    description,
+    aliases
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getShortcutKeyCombination,
+      getShortcutDescription,
+      getShortcutAliases
+    } = select(external_wp_keyboardShortcuts_namespaceObject.store);
+    return {
+      keyCombination: getShortcutKeyCombination(name),
+      aliases: getShortcutAliases(name),
+      description: getShortcutDescription(name)
+    };
+  }, [name]);
+
+  if (!keyCombination) {
+    return null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcut_help_modal_shortcut, {
+    keyCombination: keyCombination,
+    description: description,
+    aliases: aliases
+  });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/constants.js
+/* harmony default export */ var dynamic_shortcut = (DynamicShortcut);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/keyboard-shortcut-help-modal/index.js
+
+
 /**
- * The identifier for the data store.
- *
- * @type {string}
+ * External dependencies
  */
-const STORE_NAME = 'core/interface';

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/store/index.js
+
 /**
  * WordPress dependencies
  */

+
+
+
+
 /**
  * Internal dependencies
  */
@@ -4304,57 +3795,117 @@ const STORE_NAME = 'core/interface';



-/**
- * Store definition for the interface namespace.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
- *
- * @type {Object}
- */
+const ShortcutList = _ref => {
+  let {
+    shortcuts
+  } = _ref;
+  return (
+    /*
+     * Disable reason: The `list` ARIA role is redundant but
+     * Safari+VoiceOver won't announce the list otherwise.
+     */
+
+    /* eslint-disable jsx-a11y/no-redundant-roles */
+    (0,external_wp_element_namespaceObject.createElement)("ul", {
+      className: "edit-widgets-keyboard-shortcut-help-modal__shortcut-list",
+      role: "list"
+    }, shortcuts.map((shortcut, index) => (0,external_wp_element_namespaceObject.createElement)("li", {
+      className: "edit-widgets-keyboard-shortcut-help-modal__shortcut",
+      key: index
+    }, (0,external_lodash_namespaceObject.isString)(shortcut) ? (0,external_wp_element_namespaceObject.createElement)(dynamic_shortcut, {
+      name: shortcut
+    }) : (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcut_help_modal_shortcut, shortcut))))
+    /* eslint-enable jsx-a11y/no-redundant-roles */
+
+  );
+};
+
+const ShortcutSection = _ref2 => {
+  let {
+    title,
+    shortcuts,
+    className
+  } = _ref2;
+  return (0,external_wp_element_namespaceObject.createElement)("section", {
+    className: classnames_default()('edit-widgets-keyboard-shortcut-help-modal__section', className)
+  }, !!title && (0,external_wp_element_namespaceObject.createElement)("h2", {
+    className: "edit-widgets-keyboard-shortcut-help-modal__section-title"
+  }, title), (0,external_wp_element_namespaceObject.createElement)(ShortcutList, {
+    shortcuts: shortcuts
+  }));
+};
+
+const ShortcutCategorySection = _ref3 => {
+  let {
+    title,
+    categoryName,
+    additionalShortcuts = []
+  } = _ref3;
+  const categoryShortcuts = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return select(external_wp_keyboardShortcuts_namespaceObject.store).getCategoryShortcuts(categoryName);
+  }, [categoryName]);
+  return (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    title: title,
+    shortcuts: categoryShortcuts.concat(additionalShortcuts)
+  });
+};
+
+function KeyboardShortcutHelpModal(_ref4) {
+  let {
+    isModalActive,
+    toggleModal
+  } = _ref4;
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-widgets/keyboard-shortcuts', toggleModal, {
+    bindGlobal: true
+  });
+
+  if (!isModalActive) {
+    return null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    className: "edit-widgets-keyboard-shortcut-help-modal",
+    title: (0,external_wp_i18n_namespaceObject.__)('Keyboard shortcuts'),
+    closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
+    onRequestClose: toggleModal
+  }, (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    className: "edit-widgets-keyboard-shortcut-help-modal__main-shortcuts",
+    shortcuts: ['core/edit-widgets/keyboard-shortcuts']
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Global shortcuts'),
+    categoryName: "global"
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Selection shortcuts'),
+    categoryName: "selection"
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutCategorySection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Block shortcuts'),
+    categoryName: "block",
+    additionalShortcuts: [{
+      keyCombination: {
+        character: '/'
+      },
+      description: (0,external_wp_i18n_namespaceObject.__)('Change the block type after adding a new paragraph.'),

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['enableItems', 'preferences'],
-  __experimentalUseThunks: true
-}); // Once we build a more generic persistence plugin that works across types of stores
-// we'd be able to replace this with a register call.
+      /* translators: The forward-slash character. e.g. '/'. */
+      ariaLabel: (0,external_wp_i18n_namespaceObject.__)('Forward-slash')
+    }]
+  }), (0,external_wp_element_namespaceObject.createElement)(ShortcutSection, {
+    title: (0,external_wp_i18n_namespaceObject.__)('Text formatting'),
+    shortcuts: textFormattingShortcuts
+  }));
+}

-Object(external_wp_data_["registerStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['enableItems', 'preferences'],
-  __experimentalUseThunks: true
-});
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/more-menu/index.js

-// EXTERNAL MODULE: external ["wp","plugins"]
-var external_wp_plugins_ = __webpack_require__("TvNi");

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-context/index.js
 /**
  * WordPress dependencies
  */

-/* harmony default export */ var complementary_area_context = (Object(external_wp_plugins_["withPluginContext"])((context, ownProps) => {
-  return {
-    icon: ownProps.icon || context.icon,
-    identifier: ownProps.identifier || `${context.name}/${ownProps.name}`
-  };
-}));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-toggle/index.js



-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */



@@ -4363,496 +3914,407 @@ var external_wp_plugins_ = __webpack_require__("TvNi");
  */


+function MoreMenu() {
+  const [isKeyboardShortcutsModalActive, setIsKeyboardShortcutsModalVisible] = (0,external_wp_element_namespaceObject.useState)(false);

+  const toggleKeyboardShortcutsModal = () => setIsKeyboardShortcutsModalVisible(!isKeyboardShortcutsModalActive);

-function ComplementaryAreaToggle(_ref) {
-  let {
-    as = external_wp_components_["Button"],
-    scope,
-    identifier,
-    icon,
-    selectedIcon,
-    ...props
-  } = _ref;
-  const ComponentToUse = as;
-  const isSelected = Object(external_wp_data_["useSelect"])(select => select(store).getActiveComplementaryArea(scope) === identifier, [identifier]);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(ComponentToUse, Object(esm_extends["a" /* default */])({
-    icon: selectedIcon && isSelected ? selectedIcon : icon,
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/edit-widgets/keyboard-shortcuts', toggleKeyboardShortcutsModal);
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(MoreMenuDropdown, null, () => (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isLargeViewport && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject._x)('View', 'noun')
+  }, (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
+    scope: "core/edit-widgets",
+    feature: "fixedToolbar",
+    label: (0,external_wp_i18n_namespaceObject.__)('Top toolbar'),
+    info: (0,external_wp_i18n_namespaceObject.__)('Access all block and document tools in a single place'),
+    messageActivated: (0,external_wp_i18n_namespaceObject.__)('Top toolbar activated'),
+    messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Top toolbar deactivated')
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Tools')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
     onClick: () => {
-      if (isSelected) {
-        disableComplementaryArea(scope);
-      } else {
-        enableComplementaryArea(scope, identifier);
-      }
-    }
-  }, Object(external_lodash_["omit"])(props, ['name'])));
+      setIsKeyboardShortcutsModalVisible(true);
+    },
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.access('h')
+  }, (0,external_wp_i18n_namespaceObject.__)('Keyboard shortcuts')), (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
+    scope: "core/edit-widgets",
+    feature: "welcomeGuide",
+    label: (0,external_wp_i18n_namespaceObject.__)('Welcome Guide')
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    role: "menuitem",
+    icon: library_external,
+    href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/block-based-widgets-editor/'),
+    target: "_blank",
+    rel: "noopener noreferrer"
+  }, (0,external_wp_i18n_namespaceObject.__)('Help'), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    as: "span"
+  },
+  /* translators: accessibility text */
+  (0,external_wp_i18n_namespaceObject.__)('(opens in a new tab)')))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Preferences')
+  }, (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
+    scope: "core/edit-widgets",
+    feature: "keepCaretInsideBlock",
+    label: (0,external_wp_i18n_namespaceObject.__)('Contain text cursor inside block'),
+    info: (0,external_wp_i18n_namespaceObject.__)('Aids screen readers by stopping text caret from leaving blocks.'),
+    messageActivated: (0,external_wp_i18n_namespaceObject.__)('Contain text cursor inside block activated'),
+    messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Contain text cursor inside block deactivated')
+  }), (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
+    scope: "core/edit-widgets",
+    feature: "themeStyles",
+    info: (0,external_wp_i18n_namespaceObject.__)('Make the editor look like your theme.'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Use theme styles')
+  }), isLargeViewport && (0,external_wp_element_namespaceObject.createElement)(MoreMenuFeatureToggle, {
+    scope: "core/edit-widgets",
+    feature: "showBlockBreadcrumbs",
+    label: (0,external_wp_i18n_namespaceObject.__)('Display block breadcrumbs'),
+    info: (0,external_wp_i18n_namespaceObject.__)('Shows block breadcrumbs at the bottom of the editor.'),
+    messageActivated: (0,external_wp_i18n_namespaceObject.__)('Display block breadcrumbs activated'),
+    messageDeactivated: (0,external_wp_i18n_namespaceObject.__)('Display block breadcrumbs deactivated')
+  })))), (0,external_wp_element_namespaceObject.createElement)(KeyboardShortcutHelpModal, {
+    isModalActive: isKeyboardShortcutsModalActive,
+    toggleModal: toggleKeyboardShortcutsModal
+  }));
 }

-/* harmony default export */ var complementary_area_toggle = (complementary_area_context(ComplementaryAreaToggle));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-header/index.js
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/header/index.js


-/**
- * External dependencies
- */
-
 /**
  * WordPress dependencies
  */


-/**
- * Internal dependencies
- */
-
-
-
-const ComplementaryAreaHeader = _ref => {
-  let {
-    smallScreenTitle,
-    children,
-    className,
-    toggleButtonProps
-  } = _ref;
-  const toggleButton = Object(external_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
-    icon: close_small["a" /* default */]
-  }, toggleButtonProps));
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-    className: "components-panel__header interface-complementary-area-header__small"
-  }, smallScreenTitle && Object(external_wp_element_["createElement"])("span", {
-    className: "interface-complementary-area-header__small-title"
-  }, smallScreenTitle), toggleButton), Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()('components-panel__header', 'interface-complementary-area-header', className),
-    tabIndex: -1
-  }, children, toggleButton));
-};

-/* harmony default export */ var complementary_area_header = (ComplementaryAreaHeader);

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/action-item/index.js



-/**
- * External dependencies
- */

 /**
- * WordPress dependencies
+ * Internal dependencies
  */




-function ActionItemSlot(_ref) {
-  let {
-    name,
-    as: Component = external_wp_components_["ButtonGroup"],
-    fillProps = {},
-    bubblesVirtually,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], {
-    name: name,
-    bubblesVirtually: bubblesVirtually,
-    fillProps: fillProps
-  }, fills => {
-    if (Object(external_lodash_["isEmpty"])(external_wp_element_["Children"].toArray(fills))) {
-      return null;
-    } // Special handling exists for backward compatibility.
-    // It ensures that menu items created by plugin authors aren't
-    // duplicated with automatically injected menu items coming
-    // from pinnable plugin sidebars.
-    // @see https://github.com/WordPress/gutenberg/issues/14457
-
-
-    const initializedByPlugins = [];
-    external_wp_element_["Children"].forEach(fills, _ref2 => {
-      let {
-        props: {
-          __unstableExplicitMenuItem,
-          __unstableTarget
-        }
-      } = _ref2;
-
-      if (__unstableTarget && __unstableExplicitMenuItem) {
-        initializedByPlugins.push(__unstableTarget);
-      }
-    });
-    const children = external_wp_element_["Children"].map(fills, child => {
-      if (!child.props.__unstableExplicitMenuItem && initializedByPlugins.includes(child.props.__unstableTarget)) {
-        return null;
-      }
-
-      return child;
-    });
-    return Object(external_wp_element_["createElement"])(Component, props, children);
-  });
-}
-
-function ActionItem(_ref3) {
-  let {
-    name,
-    as: Component = external_wp_components_["Button"],
-    onClick,
-    ...props
-  } = _ref3;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], {
-    name: name
-  }, _ref4 => {
-    let {
-      onClick: fpOnClick
-    } = _ref4;
-    return Object(external_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({
-      onClick: onClick || fpOnClick ? function () {
-        (onClick || external_lodash_["noop"])(...arguments);
-        (fpOnClick || external_lodash_["noop"])(...arguments);
-      } : undefined
-    }, props));
-  });
-}
-
-ActionItem.Slot = ActionItemSlot;
-/* harmony default export */ var action_item = (ActionItem);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area-more-menu-item/index.js
-
-
-
-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */



-/**
- * Internal dependencies
- */
+function Header() {
+  const isMediumViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium');
+  const inserterButton = (0,external_wp_element_namespaceObject.useRef)();
+  const widgetAreaClientId = use_last_selected_widget_area();
+  const isLastSelectedWidgetAreaOpen = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).getIsWidgetAreaOpen(widgetAreaClientId), [widgetAreaClientId]);
+  const {
+    isInserterOpen,
+    isListViewOpen
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      isInserterOpened,
+      isListViewOpened
+    } = select(store_store);
+    return {
+      isInserterOpen: isInserterOpened(),
+      isListViewOpen: isListViewOpened()
+    };
+  }, []);
+  const {
+    setIsWidgetAreaOpen,
+    setIsInserterOpened,
+    setIsListViewOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);

+  const handleClick = () => {
+    if (isInserterOpen) {
+      // Focusing the inserter button closes the inserter popover
+      setIsInserterOpened(false);
+    } else {
+      if (!isLastSelectedWidgetAreaOpen) {
+        // Select the last selected block if hasn't already.
+        selectBlock(widgetAreaClientId); // Open the last selected widget area when opening the inserter.

+        setIsWidgetAreaOpen(widgetAreaClientId, true);
+      } // The DOM updates resulting from selectBlock() and setIsInserterOpened() calls are applied the
+      // same tick and pretty much in a random order. The inserter is closed if any other part of the
+      // app receives focus. If selectBlock() happens to take effect after setIsInserterOpened() then
+      // the inserter is visible for a brief moment and then gets auto-closed due to focus moving to
+      // the selected block.


-const PluginsMenuItem = props => // Menu item is marked with unstable prop for backward compatibility.
-// They are removed so they don't leak to DOM elements.
-// @see https://github.com/WordPress/gutenberg/issues/14457
-Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], Object(external_lodash_["omit"])(props, ['__unstableExplicitMenuItem', '__unstableTarget']));
+      window.requestAnimationFrame(() => setIsInserterOpened(true));
+    }
+  };

-function ComplementaryAreaMoreMenuItem(_ref) {
-  let {
-    scope,
-    target,
-    __unstableExplicitMenuItem,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(complementary_area_toggle, Object(esm_extends["a" /* default */])({
-    as: toggleProps => {
-      return Object(external_wp_element_["createElement"])(action_item, Object(esm_extends["a" /* default */])({
-        __unstableExplicitMenuItem: __unstableExplicitMenuItem,
-        __unstableTarget: `${scope}/${target}`,
-        as: PluginsMenuItem,
-        name: `${scope}/plugin-more-menu`
-      }, toggleProps));
+  const toggleListView = (0,external_wp_element_namespaceObject.useCallback)(() => setIsListViewOpened(!isListViewOpen), [setIsListViewOpened, isListViewOpen]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-header"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-header__navigable-toolbar-wrapper"
+  }, isMediumViewport && (0,external_wp_element_namespaceObject.createElement)("h1", {
+    className: "edit-widgets-header__title"
+  }, (0,external_wp_i18n_namespaceObject.__)('Widgets')), !isMediumViewport && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    as: "h1",
+    className: "edit-widgets-header__title"
+  }, (0,external_wp_i18n_namespaceObject.__)('Widgets')), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.NavigableToolbar, {
+    className: "edit-widgets-header-toolbar",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Document tools')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+    ref: inserterButton,
+    as: external_wp_components_namespaceObject.Button,
+    className: "edit-widgets-header-toolbar__inserter-toggle",
+    variant: "primary",
+    isPressed: isInserterOpen,
+    onMouseDown: event => {
+      event.preventDefault();
     },
-    role: "menuitemcheckbox",
-    selectedIcon: check["a" /* default */],
-    name: target,
-    scope: scope
-  }, props));
+    onClick: handleClick,
+    icon: library_plus
+    /* translators: button label text should, if possible, be under 16
+    characters. */
+    ,
+    label: (0,external_wp_i18n_namespaceObject._x)('Toggle block inserter', 'Generic label for block inserter button')
+  }), isMediumViewport && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(UndoButton, null), (0,external_wp_element_namespaceObject.createElement)(RedoButton, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+    as: external_wp_components_namespaceObject.Button,
+    className: "edit-widgets-header-toolbar__list-view-toggle",
+    icon: list_view,
+    isPressed: isListViewOpen
+    /* translators: button label text should, if possible, be under 16 characters. */
+    ,
+    label: (0,external_wp_i18n_namespaceObject.__)('List View'),
+    onClick: toggleListView
+  })))), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-header__actions"
+  }, (0,external_wp_element_namespaceObject.createElement)(save_button, null), (0,external_wp_element_namespaceObject.createElement)(pinned_items.Slot, {
+    scope: "core/edit-widgets"
+  }), (0,external_wp_element_namespaceObject.createElement)(MoreMenu, null))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/pinned-items/index.js
+/* harmony default export */ var header = (Header);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/notices/index.js


 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */



-function PinnedItems(_ref) {
-  let {
-    scope,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], Object(esm_extends["a" /* default */])({
-    name: `PinnedItems/${scope}`
-  }, props));
-}

-function PinnedItemsSlot(_ref2) {
-  let {
-    scope,
-    className,
-    ...props
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
-    name: `PinnedItems/${scope}`
-  }, props), fills => !Object(external_lodash_["isEmpty"])(fills) && Object(external_wp_element_["createElement"])("div", {
-    className: classnames_default()(className, 'interface-pinned-items')
-  }, fills));
-}

-PinnedItems.Slot = PinnedItemsSlot;
-/* harmony default export */ var pinned_items = (PinnedItems);
+function Notices() {
+  const {
+    removeNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const {
+    notices
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return {
+      notices: select(external_wp_notices_namespaceObject.store).getNotices()
+    };
+  }, []);
+  const dismissibleNotices = (0,external_lodash_namespaceObject.filter)(notices, {
+    isDismissible: true,
+    type: 'default'
+  });
+  const nonDismissibleNotices = (0,external_lodash_namespaceObject.filter)(notices, {
+    isDismissible: false,
+    type: 'default'
+  });
+  const snackbarNotices = (0,external_lodash_namespaceObject.filter)(notices, {
+    type: 'snackbar'
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NoticeList, {
+    notices: nonDismissibleNotices,
+    className: "edit-widgets-notices__pinned"
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NoticeList, {
+    notices: dismissibleNotices,
+    className: "edit-widgets-notices__dismissible",
+    onRemove: removeNotice
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SnackbarList, {
+    notices: snackbarNotices,
+    className: "edit-widgets-notices__snackbar",
+    onRemove: removeNotice
+  }));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/complementary-area/index.js
+/* harmony default export */ var notices = (Notices);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/widget-areas-block-editor-content/index.js


 /**
- * External dependencies
+ * WordPress dependencies
  */

+
+
+
 /**
- * WordPress dependencies
+ * Internal dependencies
  */



+function WidgetAreasBlockEditorContent(_ref) {
+  let {
+    blockEditorSettings
+  } = _ref;
+  const hasThemeStyles = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isFeatureActive('core/edit-widgets', 'themeStyles'), []);
+  const styles = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return hasThemeStyles ? blockEditorSettings.styles : [];
+  }, [blockEditorSettings, hasThemeStyles]);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-block-editor"
+  }, (0,external_wp_element_namespaceObject.createElement)(notices, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockTools, null, (0,external_wp_element_namespaceObject.createElement)(keyboard_shortcuts, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableEditorStyles, {
+    styles: styles
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockSelectionClearer, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.WritingFlow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ObserveTyping, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockList, {
+    className: "edit-widgets-main-block-list"
+  }))))));
+}

-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_close = (close_close);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/hooks/use-widget-library-insertion-point.js
+/**
+ * WordPress dependencies
+ */



+/**
+ * Internal dependencies
+ */



-function ComplementaryAreaSlot(_ref) {
-  let {
-    scope,
-    ...props
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Slot"], Object(esm_extends["a" /* default */])({
-    name: `ComplementaryArea/${scope}`
-  }, props));
-}

-function ComplementaryAreaFill(_ref2) {
-  let {
-    scope,
-    children,
-    className
-  } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Fill"], {
-    name: `ComplementaryArea/${scope}`
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: className
-  }, children));
-}
+const useWidgetLibraryInsertionPoint = () => {
+  const firstRootId = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _widgetAreasPost$bloc;

-function useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall) {
-  const previousIsSmall = Object(external_wp_element_["useRef"])(false);
-  const shouldOpenWhenNotSmall = Object(external_wp_element_["useRef"])(false);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    // If the complementary area is active and the editor is switching from a big to a small window size.
-    if (isActive && isSmall && !previousIsSmall.current) {
-      // Disable the complementary area.
-      disableComplementaryArea(scope); // Flag the complementary area to be reopened when the window size goes from small to big.
+    // Default to the first widget area
+    const {
+      getEntityRecord
+    } = select(external_wp_coreData_namespaceObject.store);
+    const widgetAreasPost = getEntityRecord(KIND, POST_TYPE, buildWidgetAreasPostId());
+    return widgetAreasPost === null || widgetAreasPost === void 0 ? void 0 : (_widgetAreasPost$bloc = widgetAreasPost.blocks[0]) === null || _widgetAreasPost$bloc === void 0 ? void 0 : _widgetAreasPost$bloc.clientId;
+  }, []);
+  return (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getBlockRootClientId,
+      getBlockSelectionEnd,
+      getBlockOrder,
+      getBlockIndex
+    } = select(external_wp_blockEditor_namespaceObject.store);

-      shouldOpenWhenNotSmall.current = true;
-    } else if ( // If there is a flag indicating the complementary area should be enabled when we go from small to big window size
-    // and we are going from a small to big window size.
-    shouldOpenWhenNotSmall.current && !isSmall && previousIsSmall.current) {
-      // Remove the flag indicating the complementary area should be enabled.
-      shouldOpenWhenNotSmall.current = false; // Enable the complementary area.
+    const insertionPoint = select(store_store).__experimentalGetInsertionPoint(); // "Browse all" in the quick inserter will set the rootClientId to the current block.
+    // Otherwise, it will just be undefined, and we'll have to handle it differently below.

-      enableComplementaryArea(scope, identifier);
-    } else if ( // If the flag is indicating the current complementary should be reopened but another complementary area becomes active,
-    // remove the flag.
-    shouldOpenWhenNotSmall.current && activeArea && activeArea !== identifier) {
-      shouldOpenWhenNotSmall.current = false;
-    }

-    if (isSmall !== previousIsSmall.current) {
-      previousIsSmall.current = isSmall;
+    if (insertionPoint.rootClientId) {
+      return insertionPoint;
     }
-  }, [isActive, isSmall, scope, identifier, activeArea]);
-}

-function ComplementaryArea(_ref3) {
-  let {
-    children,
-    className,
-    closeLabel = Object(external_wp_i18n_["__"])('Close plugin'),
-    identifier,
-    header,
-    headerClassName,
-    icon,
-    isPinnable = true,
-    panelClassName,
-    scope,
-    name,
-    smallScreenTitle,
-    title,
-    toggleShortcut,
-    isActiveByDefault,
-    showIconLabels = false
-  } = _ref3;
-  const {
-    isActive,
-    isPinned,
-    activeArea,
-    isSmall,
-    isLarge
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getActiveComplementaryArea,
-      isItemPinned
-    } = select(store);
+    const clientId = getBlockSelectionEnd() || firstRootId;
+    const rootClientId = getBlockRootClientId(clientId); // If the selected block is at the root level, it's a widget area and
+    // blocks can't be inserted here. Return this block as the root and the
+    // last child clientId indicating insertion at the end.

-    const _activeArea = getActiveComplementaryArea(scope);
+    if (clientId && rootClientId === '') {
+      return {
+        rootClientId: clientId,
+        insertionIndex: getBlockOrder(clientId).length
+      };
+    }

     return {
-      isActive: _activeArea === identifier,
-      isPinned: isItemPinned(scope, identifier),
-      activeArea: _activeArea,
-      isSmall: select(external_wp_viewport_["store"]).isViewportMatch('< medium'),
-      isLarge: select(external_wp_viewport_["store"]).isViewportMatch('large')
+      rootClientId,
+      insertionIndex: getBlockIndex(clientId) + 1
     };
-  }, [identifier, scope]);
-  useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall);
-  const {
-    enableComplementaryArea,
-    disableComplementaryArea,
-    pinItem,
-    unpinItem
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isActiveByDefault && activeArea === undefined && !isSmall) {
-      enableComplementaryArea(scope, identifier);
-    }
-  }, [activeArea, isActiveByDefault, scope, identifier, isSmall]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isPinnable && Object(external_wp_element_["createElement"])(pinned_items, {
-    scope: scope
-  }, isPinned && Object(external_wp_element_["createElement"])(complementary_area_toggle, {
-    scope: scope,
-    identifier: identifier,
-    isPressed: isActive && (!showIconLabels || isLarge),
-    "aria-expanded": isActive,
-    label: title,
-    icon: showIconLabels ? check["a" /* default */] : icon,
-    showTooltip: !showIconLabels,
-    variant: showIconLabels ? 'tertiary' : undefined
-  })), name && isPinnable && Object(external_wp_element_["createElement"])(ComplementaryAreaMoreMenuItem, {
-    target: name,
-    scope: scope,
-    icon: icon
-  }, title), isActive && Object(external_wp_element_["createElement"])(ComplementaryAreaFill, {
-    className: classnames_default()('interface-complementary-area', className),
-    scope: scope
-  }, Object(external_wp_element_["createElement"])(complementary_area_header, {
-    className: headerClassName,
-    closeLabel: closeLabel,
-    onClose: () => disableComplementaryArea(scope),
-    smallScreenTitle: smallScreenTitle,
-    toggleButtonProps: {
-      label: closeLabel,
-      shortcut: toggleShortcut,
-      scope,
-      identifier
-    }
-  }, header || Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("strong", null, title), isPinnable && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "interface-complementary-area__pin-unpin-item",
-    icon: isPinned ? star_filled["a" /* default */] : star_empty["a" /* default */],
-    label: isPinned ? Object(external_wp_i18n_["__"])('Unpin from toolbar') : Object(external_wp_i18n_["__"])('Pin to toolbar'),
-    onClick: () => (isPinned ? unpinItem : pinItem)(scope, identifier),
-    isPressed: isPinned,
-    "aria-expanded": isPinned
-  }))), Object(external_wp_element_["createElement"])(external_wp_components_["Panel"], {
-    className: panelClassName
-  }, children)));
-}
+  }, [firstRootId]);
+};
+
+/* harmony default export */ var use_widget_library_insertion_point = (useWidgetLibraryInsertionPoint);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/secondary-sidebar/inserter-sidebar.js
+

-const ComplementaryAreaWrapped = complementary_area_context(ComplementaryArea);
-ComplementaryAreaWrapped.Slot = ComplementaryAreaSlot;
-/* harmony default export */ var complementary_area = (ComplementaryAreaWrapped);

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/fullscreen-mode/index.js
 /**
  * WordPress dependencies
  */


-const FullscreenMode = _ref => {
-  let {
-    isActive
-  } = _ref;
-  Object(external_wp_element_["useEffect"])(() => {
-    let isSticky = false; // `is-fullscreen-mode` is set in PHP as a body class by Gutenberg, and this causes
-    // `sticky-menu` to be applied by WordPress and prevents the admin menu being scrolled
-    // even if `is-fullscreen-mode` is then removed. Let's remove `sticky-menu` here as
-    // a consequence of the FullscreenMode setup
-
-    if (document.body.classList.contains('sticky-menu')) {
-      isSticky = true;
-      document.body.classList.remove('sticky-menu');
-    }

-    return () => {
-      if (isSticky) {
-        document.body.classList.add('sticky-menu');
-      }
-    };
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isActive) {
-      document.body.classList.add('is-fullscreen-mode');
-    } else {
-      document.body.classList.remove('is-fullscreen-mode');
-    }

-    return () => {
-      if (isActive) {
-        document.body.classList.remove('is-fullscreen-mode');
-      }
-    };
-  }, [isActive]);
-  return null;
-};

-/* harmony default export */ var fullscreen_mode = (FullscreenMode);

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+/**
+ * Internal dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/interface-skeleton/index.js


+function InserterSidebar() {
+  const isMobileViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
+  const {
+    rootClientId,
+    insertionIndex
+  } = use_widget_library_insertion_point();
+  const {
+    setIsInserterOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const closeInserter = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    return () => setIsInserterOpened(false);
+  }, [setIsInserterOpened]);
+  const [inserterDialogRef, inserterDialogProps] = (0,external_wp_compose_namespaceObject.__experimentalUseDialog)({
+    onClose: closeInserter
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
+    ref: inserterDialogRef
+  }, inserterDialogProps, {
+    className: "edit-widgets-layout__inserter-panel"
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-layout__inserter-panel-header"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: library_close,
+    onClick: closeInserter
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "edit-widgets-layout__inserter-panel-content"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLibrary, {
+    showInserterHelpPanel: true,
+    shouldFocusBlock: isMobileViewport,
+    rootClientId: rootClientId,
+    __experimentalInsertionIndex: insertionIndex
+  })));
+}

-/**
- * External dependencies
- */
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/secondary-sidebar/list-view-sidebar.js

-/**
- * WordPress dependencies
- */

 /**
  * WordPress dependencies
@@ -4863,159 +4325,109 @@ var external_wp_compose_ = __webpack_require__("K9lf");



-function useHTMLClass(className) {
-  Object(external_wp_element_["useEffect"])(() => {
-    const element = document && document.querySelector(`html:not(.${className})`);
-
-    if (!element) {
-      return;
-    }
-
-    element.classList.toggle(className);
-    return () => {
-      element.classList.toggle(className);
-    };
-  }, [className]);
-}

-function InterfaceSkeleton(_ref, ref) {
-  let {
-    footer,
-    header,
-    sidebar,
-    secondarySidebar,
-    notices,
-    content,
-    drawer,
-    actions,
-    labels,
-    className,
-    shortcuts
-  } = _ref;
-  const navigateRegionsProps = Object(external_wp_components_["__unstableUseNavigateRegions"])(shortcuts);
-  useHTMLClass('interface-interface-skeleton__html-container');
-  const defaultLabels = {
-    /* translators: accessibility text for the nav bar landmark region. */
-    drawer: Object(external_wp_i18n_["__"])('Drawer'),
+/**
+ * Internal dependencies
+ */

-    /* translators: accessibility text for the top bar landmark region. */
-    header: Object(external_wp_i18n_["__"])('Header'),

-    /* translators: accessibility text for the content landmark region. */
-    body: Object(external_wp_i18n_["__"])('Content'),
+function ListViewSidebar() {
+  const {
+    setIsListViewOpened
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    clearSelectedBlock,
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);

-    /* translators: accessibility text for the secondary sidebar landmark region. */
-    secondarySidebar: Object(external_wp_i18n_["__"])('Block Library'),
+  async function selectEditorBlock(clientId) {
+    await clearSelectedBlock();
+    selectBlock(clientId, -1);
+  }

-    /* translators: accessibility text for the settings landmark region. */
-    sidebar: Object(external_wp_i18n_["__"])('Settings'),
+  const focusOnMountRef = (0,external_wp_compose_namespaceObject.useFocusOnMount)('firstElement');
+  const focusReturnRef = (0,external_wp_compose_namespaceObject.useFocusReturn)();

-    /* translators: accessibility text for the publish landmark region. */
-    actions: Object(external_wp_i18n_["__"])('Publish'),
+  function closeOnEscape(event) {
+    if (event.keyCode === external_wp_keycodes_namespaceObject.ESCAPE && !event.defaultPrevented) {
+      event.preventDefault();
+      setIsListViewOpened(false);
+    }
+  }

-    /* translators: accessibility text for the footer landmark region. */
-    footer: Object(external_wp_i18n_["__"])('Footer')
-  };
-  const mergedLabels = { ...defaultLabels,
-    ...labels
-  };
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, navigateRegionsProps, {
-    ref: Object(external_wp_compose_["useMergeRefs"])([ref, navigateRegionsProps.ref]),
-    className: classnames_default()(className, 'interface-interface-skeleton', navigateRegionsProps.className, !!footer && 'has-footer')
-  }), !!drawer && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__drawer",
-    role: "region",
-    "aria-label": mergedLabels.drawer,
-    tabIndex: "-1"
-  }, drawer), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__editor"
-  }, !!header && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__header",
-    role: "region",
-    "aria-label": mergedLabels.header,
-    tabIndex: "-1"
-  }, header), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__body"
-  }, !!secondarySidebar && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__secondary-sidebar",
-    role: "region",
-    "aria-label": mergedLabels.secondarySidebar,
-    tabIndex: "-1"
-  }, secondarySidebar), !!notices && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__notices"
-  }, notices), Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__content",
-    role: "region",
-    "aria-label": mergedLabels.body,
-    tabIndex: "-1"
-  }, content), !!sidebar && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__sidebar",
-    role: "region",
-    "aria-label": mergedLabels.sidebar,
-    tabIndex: "-1"
-  }, sidebar), !!actions && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__actions",
-    role: "region",
-    "aria-label": mergedLabels.actions,
-    tabIndex: "-1"
-  }, actions))), !!footer && Object(external_wp_element_["createElement"])("div", {
-    className: "interface-interface-skeleton__footer",
-    role: "region",
-    "aria-label": mergedLabels.footer,
-    tabIndex: "-1"
-  }, footer));
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(ListViewSidebar);
+  const labelId = `edit-widgets-editor__list-view-panel-label-${instanceId}`;
+  return (// eslint-disable-next-line jsx-a11y/no-static-element-interactions
+    (0,external_wp_element_namespaceObject.createElement)("div", {
+      "aria-labelledby": labelId,
+      className: "edit-widgets-editor__list-view-panel",
+      onKeyDown: closeOnEscape
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-widgets-editor__list-view-panel-header"
+    }, (0,external_wp_element_namespaceObject.createElement)("strong", {
+      id: labelId
+    }, (0,external_wp_i18n_namespaceObject.__)('List view')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      icon: close_small,
+      label: (0,external_wp_i18n_namespaceObject.__)('Close list view sidebar'),
+      onClick: () => setIsListViewOpened(false)
+    })), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-widgets-editor__list-view-panel-content",
+      ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([focusReturnRef, focusOnMountRef])
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalListView, {
+      onSelect: selectEditorBlock,
+      showNestedBlocks: true,
+      __experimentalHideContainerBlockActions: true,
+      __experimentalFeatures: true,
+      __experimentalPersistentListViewFeatures: true
+    })))
+  );
 }

-/* harmony default export */ var interface_skeleton = (Object(external_wp_element_["forwardRef"])(InterfaceSkeleton));
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/more-vertical.js
-var more_vertical = __webpack_require__("VKE3");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/secondary-sidebar/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-dropdown/index.js

+/**
+ * WordPress dependencies
+ */

 /**
- * External dependencies
+ * Internal dependencies
  */

+
 /**
- * WordPress dependencies
+ * Internal dependencies
  */



+function SecondarySidebar() {
+  const {
+    isInserterOpen,
+    isListViewOpen
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      isInserterOpened,
+      isListViewOpened
+    } = select(store_store);
+    return {
+      isInserterOpen: isInserterOpened(),
+      isListViewOpen: isListViewOpened()
+    };
+  }, []);

-function MoreMenuDropdown(_ref) {
-  let {
-    as: DropdownComponent = external_wp_components_["DropdownMenu"],
-    className,
+  if (isInserterOpen) {
+    return (0,external_wp_element_namespaceObject.createElement)(InserterSidebar, null);
+  }

-    /* translators: button label text should, if possible, be under 16 characters. */
-    label = Object(external_wp_i18n_["__"])('Options'),
-    popoverProps,
-    toggleProps,
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(DropdownComponent, {
-    className: classnames_default()('interface-more-menu-dropdown', className),
-    icon: more_vertical["a" /* default */],
-    label: label,
-    popoverProps: {
-      position: 'bottom left',
-      ...popoverProps,
-      className: classnames_default()('interface-more-menu-dropdown__content', popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.className)
-    },
-    toggleProps: {
-      tooltipPosition: 'bottom',
-      ...toggleProps
-    }
-  }, onClose => children(onClose));
-}
+  if (isListViewOpen) {
+    return (0,external_wp_element_namespaceObject.createElement)(ListViewSidebar, null);
+  }

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+  return null;
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/more-menu-feature-toggle/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/layout/interface.js


 /**
@@ -5026,291 +4438,408 @@ var external_wp_a11y_ = __webpack_require__("gdqT");



+
+
 /**
  * Internal dependencies
  */


-function MoreMenuFeatureToggle(_ref) {
+
+
+
+const interfaceLabels = {
+  /* translators: accessibility text for the widgets screen top bar landmark region. */
+  header: (0,external_wp_i18n_namespaceObject.__)('Widgets top bar'),
+
+  /* translators: accessibility text for the widgets screen content landmark region. */
+  body: (0,external_wp_i18n_namespaceObject.__)('Widgets and blocks'),
+
+  /* translators: accessibility text for the widgets screen settings landmark region. */
+  sidebar: (0,external_wp_i18n_namespaceObject.__)('Widgets settings'),
+
+  /* translators: accessibility text for the widgets screen footer landmark region. */
+  footer: (0,external_wp_i18n_namespaceObject.__)('Widgets footer')
+};
+
+function Interface(_ref) {
   let {
-    scope,
-    label,
-    info,
-    messageActivated,
-    messageDeactivated,
-    shortcut,
-    feature
+    blockEditorSettings
   } = _ref;
-  const isActive = Object(external_wp_data_["useSelect"])(select => select(store).isFeatureActive(scope, feature), [feature]);
+  const isMobileViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('medium', '<');
+  const isHugeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('huge', '>=');
   const {
-    toggleFeature
-  } = Object(external_wp_data_["useDispatch"])(store);
+    setIsInserterOpened,
+    setIsListViewOpened,
+    closeGeneralSidebar
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store_store);
+  const {
+    hasBlockBreadCrumbsEnabled,
+    hasSidebarEnabled,
+    isInserterOpened,
+    isListViewOpened,
+    previousShortcut,
+    nextShortcut
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    hasSidebarEnabled: !!select(store).getActiveComplementaryArea(store_store.name),
+    isInserterOpened: !!select(store_store).isInserterOpened(),
+    isListViewOpened: !!select(store_store).isListViewOpened(),
+    hasBlockBreadCrumbsEnabled: select(store).isFeatureActive('core/edit-widgets', 'showBlockBreadcrumbs'),
+    previousShortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getAllShortcutKeyCombinations('core/edit-widgets/previous-region'),
+    nextShortcut: select(external_wp_keyboardShortcuts_namespaceObject.store).getAllShortcutKeyCombinations('core/edit-widgets/next-region')
+  }), []); // Inserter and Sidebars are mutually exclusive

-  const speakMessage = () => {
-    if (isActive) {
-      Object(external_wp_a11y_["speak"])(messageDeactivated || Object(external_wp_i18n_["__"])('Feature deactivated'));
-    } else {
-      Object(external_wp_a11y_["speak"])(messageActivated || Object(external_wp_i18n_["__"])('Feature activated'));
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (hasSidebarEnabled && !isHugeViewport) {
+      setIsInserterOpened(false);
+      setIsListViewOpened(false);
     }
-  };
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    icon: isActive && check["a" /* default */],
-    isSelected: isActive,
-    onClick: () => {
-      toggleFeature(scope, feature);
-      speakMessage();
-    },
-    role: "menuitemcheckbox",
-    info: info,
-    shortcut: shortcut
-  }, label);
+  }, [hasSidebarEnabled, isHugeViewport]);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if ((isInserterOpened || isListViewOpened) && !isHugeViewport) {
+      closeGeneralSidebar();
+    }
+  }, [isInserterOpened, isListViewOpened, isHugeViewport]);
+  const hasSecondarySidebar = isListViewOpened || isInserterOpened;
+  return (0,external_wp_element_namespaceObject.createElement)(interface_skeleton, {
+    labels: interfaceLabels,
+    header: (0,external_wp_element_namespaceObject.createElement)(header, null),
+    secondarySidebar: hasSecondarySidebar && (0,external_wp_element_namespaceObject.createElement)(SecondarySidebar, null),
+    sidebar: hasSidebarEnabled && (0,external_wp_element_namespaceObject.createElement)(complementary_area.Slot, {
+      scope: "core/edit-widgets"
+    }),
+    content: (0,external_wp_element_namespaceObject.createElement)(WidgetAreasBlockEditorContent, {
+      blockEditorSettings: blockEditorSettings
+    }),
+    footer: hasBlockBreadCrumbsEnabled && !isMobileViewport && (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "edit-widgets-layout__footer"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockBreadcrumb, {
+      rootLabelText: (0,external_wp_i18n_namespaceObject.__)('Widgets')
+    })),
+    shortcuts: {
+      previous: previousShortcut,
+      next: nextShortcut
+    }
+  });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/components/index.js
-
-
-
-
-
-
-
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/interface/build-module/index.js
-
-
-
-
-/***/ }),
-
-/***/ "URob":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
+/* harmony default export */ var layout_interface = (Interface);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/layout/unsaved-changes-warning.js
 /**
  * WordPress dependencies
  */

-const starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starFilled);
-
-
-/***/ }),
-
-/***/ "VKE3":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const moreVertical = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (moreVertical);

+/**
+ * Warns the user if there are unsaved changes before leaving the editor.
+ *
+ * This is a duplicate of the component implemented in the editor package.
+ * Duplicated here as edit-widgets doesn't depend on editor.
+ *
+ * @return {WPComponent} The component.
+ */

-/***/ }),
+function UnsavedChangesWarning() {
+  const isDirty = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEditedWidgetAreas
+    } = select(store_store);
+    const editedWidgetAreas = getEditedWidgetAreas();
+    return (editedWidgetAreas === null || editedWidgetAreas === void 0 ? void 0 : editedWidgetAreas.length) > 0;
+  }, []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    /**
+     * Warns the user if there are unsaved changes before leaving the editor.
+     *
+     * @param {Event} event `beforeunload` event.
+     *
+     * @return {?string} Warning prompt message, if unsaved changes exist.
+     */
+    const warnIfUnsavedChanges = event => {
+      if (isDirty) {
+        event.returnValue = (0,external_wp_i18n_namespaceObject.__)('You have unsaved changes. If you proceed, they will be lost.');
+        return event.returnValue;
+      }
+    };

-/***/ "Xxwi":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    window.addEventListener('beforeunload', warnIfUnsavedChanges);
+    return () => {
+      window.removeEventListener('beforeunload', warnIfUnsavedChanges);
+    };
+  }, [isDirty]);
+  return null;
+}

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/welcome-guide/index.js


 /**
  * WordPress dependencies
  */

-const starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (starEmpty);


-/***/ }),

-/***/ "YLtl":
-/***/ (function(module, exports) {

-(function() { module.exports = window["lodash"]; }());
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "axFQ":
-/***/ (function(module, exports) {
+function WelcomeGuide() {
+  var _widgetAreas$filter$l;

-(function() { module.exports = window["wp"]["blockEditor"]; }());
+  const isActive = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).isFeatureActive('core/edit-widgets', 'welcomeGuide'), []);
+  const {
+    toggleFeature
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const widgetAreas = (0,external_wp_data_namespaceObject.useSelect)(select => select(store_store).getWidgetAreas({
+    per_page: -1
+  }), []);

-/***/ }),
+  if (!isActive) {
+    return null;
+  }

-/***/ "bWcr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  const isEntirelyBlockWidgets = widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.every(widgetArea => widgetArea.id === 'wp_inactive_widgets' || widgetArea.widgets.every(widgetId => widgetId.startsWith('block-')));
+  const numWidgetAreas = (_widgetAreas$filter$l = widgetAreas === null || widgetAreas === void 0 ? void 0 : widgetAreas.filter(widgetArea => widgetArea.id !== 'wp_inactive_widgets').length) !== null && _widgetAreas$filter$l !== void 0 ? _widgetAreas$filter$l : 0;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Guide, {
+    className: "edit-widgets-welcome-guide",
+    contentLabel: (0,external_wp_i18n_namespaceObject.__)('Welcome to block Widgets'),
+    finishButtonText: (0,external_wp_i18n_namespaceObject.__)('Get started'),
+    onFinish: () => toggleFeature('core/edit-widgets', 'welcomeGuide'),
+    pages: [{
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
+        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-canvas.svg",
+        animatedSrc: "https://s.w.org/images/block-editor/welcome-canvas.gif"
+      }),
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
+        className: "edit-widgets-welcome-guide__heading"
+      }, (0,external_wp_i18n_namespaceObject.__)('Welcome to block Widgets')), isEntirelyBlockWidgets ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-widgets-welcome-guide__text"
+      }, (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s: Number of block areas in the current theme.
+      (0,external_wp_i18n_namespaceObject._n)('Your theme provides %s “block” area for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.', 'Your theme provides %s different “block” areas for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.', numWidgetAreas), numWidgetAreas))) : (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-widgets-welcome-guide__text"
+      }, (0,external_wp_i18n_namespaceObject.__)('You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-widgets-welcome-guide__text"
+      }, (0,external_wp_element_namespaceObject.createElement)("strong", null, (0,external_wp_i18n_namespaceObject.__)('Want to stick with the old widgets?')), ' ', (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+        href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/plugins/classic-widgets/')
+      }, (0,external_wp_i18n_namespaceObject.__)('Get the Classic Widgets plugin.')))))
+    }, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
+        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-editor.svg",
+        animatedSrc: "https://s.w.org/images/block-editor/welcome-editor.gif"
+      }),
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
+        className: "edit-widgets-welcome-guide__heading"
+      }, (0,external_wp_i18n_namespaceObject.__)('Make each block your own')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-widgets-welcome-guide__text"
+      }, (0,external_wp_i18n_namespaceObject.__)('Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.')))
+    }, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
+        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-library.svg",
+        animatedSrc: "https://s.w.org/images/block-editor/welcome-library.gif"
+      }),
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
+        className: "edit-widgets-welcome-guide__heading"
+      }, (0,external_wp_i18n_namespaceObject.__)('Get to know the block library')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-widgets-welcome-guide__text"
+      }, (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.__)('All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon.'), {
+        InserterIconImage: (0,external_wp_element_namespaceObject.createElement)("img", {
+          className: "edit-widgets-welcome-guide__inserter-icon",
+          alt: (0,external_wp_i18n_namespaceObject.__)('inserter'),
+          src: "data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' rx='2' fill='%231E1E1E'/%3E%3Cpath d='M9.22727 4V14M4 8.77273H14' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A"
+        })
+      })))
+    }, {
+      image: (0,external_wp_element_namespaceObject.createElement)(WelcomeGuideImage, {
+        nonAnimatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.svg",
+        animatedSrc: "https://s.w.org/images/block-editor/welcome-documentation.gif"
+      }),
+      content: (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("h1", {
+        className: "edit-widgets-welcome-guide__heading"
+      }, (0,external_wp_i18n_namespaceObject.__)('Learn how to use the block editor')), (0,external_wp_element_namespaceObject.createElement)("p", {
+        className: "edit-widgets-welcome-guide__text"
+      }, (0,external_wp_i18n_namespaceObject.__)('New to the block editor? Want to learn more about using it? '), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+        href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/wordpress-editor/')
+      }, (0,external_wp_i18n_namespaceObject.__)("Here's a detailed guide."))))
+    }]
+  });
+}

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+function WelcomeGuideImage(_ref) {
+  let {
+    nonAnimatedSrc,
+    animatedSrc
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("picture", {
+    className: "edit-widgets-welcome-guide__image"
+  }, (0,external_wp_element_namespaceObject.createElement)("source", {
+    srcSet: nonAnimatedSrc,
+    media: "(prefers-reduced-motion: reduce)"
+  }), (0,external_wp_element_namespaceObject.createElement)("img", {
+    src: animatedSrc,
+    width: "312",
+    height: "240",
+    alt: ""
+  }));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/components/layout/index.js


 /**
  * WordPress dependencies
  */

-const closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (closeSmall);
-
-
-/***/ }),
-
-/***/ "diJD":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["reusableBlocks"]; }());
+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "g56x":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["hooks"]; }());

-/***/ }),

-/***/ "gdqT":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["a11y"]; }());

-/***/ }),

-/***/ "hF7m":
-/***/ (function(module, exports) {
+function Layout(_ref) {
+  let {
+    blockEditorSettings,
+    onError
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(ErrorBoundary, {
+    onError: onError
+  }, (0,external_wp_element_namespaceObject.createElement)(WidgetAreasBlockEditorProvider, {
+    blockEditorSettings: blockEditorSettings
+  }, (0,external_wp_element_namespaceObject.createElement)(layout_interface, {
+    blockEditorSettings: blockEditorSettings
+  }), (0,external_wp_element_namespaceObject.createElement)(Sidebar, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover.Slot, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_plugins_namespaceObject.PluginArea, null), (0,external_wp_element_namespaceObject.createElement)(UnsavedChangesWarning, null), (0,external_wp_element_namespaceObject.createElement)(WelcomeGuide, null)));
+}

-(function() { module.exports = window["wp"]["keyboardShortcuts"]; }());
+/* harmony default export */ var layout = (Layout);

-/***/ }),
+;// CONCATENATED MODULE: ./node_modules/@wordpress/edit-widgets/build-module/index.js

-/***/ "jZUy":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["coreData"]; }());
+/**
+ * WordPress dependencies
+ */

-/***/ }),

-/***/ "l3Sj":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["i18n"]; }());

-/***/ }),

-/***/ "onLe":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["notices"]; }());

-/***/ }),
+/**
+ * Internal dependencies
+ */

-/***/ "tI+e":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["components"]; }());

-/***/ }),

-/***/ "w95h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);

+const disabledBlocks = ['core/more', 'core/freeform', 'core/template-part', ...(ALLOW_REUSABLE_BLOCKS ? [] : ['core/block'])];
+/**
+ * Reinitializes the editor after the user chooses to reboot the editor after
+ * an unhandled error occurs, replacing previously mounted editor element using
+ * an initial state from prior to the crash.
+ *
+ * @param {Element} target   DOM node in which editor is rendered.
+ * @param {?Object} settings Editor settings object.
+ */

+function reinitializeEditor(target, settings) {
+  (0,external_wp_element_namespaceObject.unmountComponentAtNode)(target);
+  const reboot = reinitializeEditor.bind(null, target, settings);
+  (0,external_wp_element_namespaceObject.render)((0,external_wp_element_namespaceObject.createElement)(layout, {
+    blockEditorSettings: settings,
+    onError: reboot
+  }), target);
+}
 /**
- * WordPress dependencies
+ * Initializes the block editor in the widgets screen.
+ *
+ * @param {string} id       ID of the root element to render the screen in.
+ * @param {Object} settings Block editor settings.
  */

-const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (close);
+function initialize(id, settings) {
+  const target = document.getElementById(id);
+  const reboot = reinitializeEditor.bind(null, target, settings);

+  const coreBlocks = (0,external_wp_blockLibrary_namespaceObject.__experimentalGetCoreBlocks)().filter(block => {
+    return !(disabledBlocks.includes(block.name) || block.name.startsWith('core/post') || block.name.startsWith('core/query') || block.name.startsWith('core/site') || block.name.startsWith('core/navigation'));
+  });

-/***/ }),
+  (0,external_wp_data_namespaceObject.dispatch)(store).setFeatureDefaults('core/edit-widgets', {
+    fixedToolbar: false,
+    welcomeGuide: true,
+    showBlockBreadcrumbs: true,
+    themeStyles: true
+  });

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  (0,external_wp_data_namespaceObject.dispatch)(external_wp_blocks_namespaceObject.store).__experimentalReapplyBlockTypeFilters();

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
+  (0,external_wp_blockLibrary_namespaceObject.registerCoreBlocks)(coreBlocks);
+  (0,external_wp_widgets_namespaceObject.registerLegacyWidgetBlock)();

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
+  if (false) {}

-    return target;
-  };
+  (0,external_wp_widgets_namespaceObject.registerLegacyWidgetVariations)(settings);
+  registerBlock(widget_area_namespaceObject);
+  (0,external_wp_widgets_namespaceObject.registerWidgetGroupBlock)();

-  return _extends.apply(this, arguments);
+  settings.__experimentalFetchLinkSuggestions = (search, searchOptions) => (0,external_wp_coreData_namespaceObject.__experimentalFetchLinkSuggestions)(search, searchOptions, settings); // As we are unregistering `core/freeform` to avoid the Classic block, we must
+  // replace it with something as the default freeform content handler. Failure to
+  // do this will result in errors in the default block parser.
+  // see: https://github.com/WordPress/gutenberg/issues/33097
+
+
+  (0,external_wp_blocks_namespaceObject.setFreeformContentHandlerName)('core/html');
+  (0,external_wp_element_namespaceObject.render)((0,external_wp_element_namespaceObject.createElement)(layout, {
+    blockEditorSettings: settings,
+    onError: reboot
+  }), target);
 }
+/**
+ * Function to register an individual block.
+ *
+ * @param {Object} block The block to be registered.
+ *
+ */

-/***/ }),
+const registerBlock = block => {
+  if (!block) {
+    return;
+  }

-/***/ "ywyh":
-/***/ (function(module, exports) {
+  const {
+    metadata,
+    settings,
+    name
+  } = block;

-(function() { module.exports = window["wp"]["apiFetch"]; }());
+  if (metadata) {
+    (0,external_wp_blocks_namespaceObject.unstable__bootstrapServerSideBlockDefinitions)({
+      [name]: metadata
+    });
+  }

-/***/ })
+  (0,external_wp_blocks_namespaceObject.registerBlockType)(name, settings);
+};

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).editWidgets = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/edit-widgets.min.js b/wp-includes/js/dist/edit-widgets.min.js
index d2711648bc..c2cb5efd9b 100644
--- a/wp-includes/js/dist/edit-widgets.min.js
+++ b/wp-includes/js/dist/edit-widgets.min.js
@@ -1,7 +1,7 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.editWidgets=function(e){var t={};function r(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,r),c.l=!0,c.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 c in e)r.d(n,c,function(t){return e[t]}.bind(null,c));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="F35A")}({"//Lo":function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.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=i},"1CF3":function(e,t){e.exports=window.wp.dom},"1ZqX":function(e,t){e.exports=window.wp.data},"6aBm":function(e,t){e.exports=window.wp.mediaUtils},Cg8A:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));t.a=i},F35A:function(e,t,r){"use strict";r.r(t),r.d(t,"reinitializeEditor",(function(){return bt})),r.d(t,"initialize",(function(){return mt}));var n={};r.r(n),r.d(n,"persistStubPost",(function(){return k})),r.d(n,"saveEditedWidgetAreas",(function(){return S})),r.d(n,"saveWidgetAreas",(function(){return I})),r.d(n,"saveWidgetArea",(function(){return A})),r.d(n,"setWidgetIdForClientId",(function(){return T})),r.d(n,"setWidgetAreasOpenState",(function(){return B})),r.d(n,"setIsWidgetAreaOpen",(function(){return N})),r.d(n,"setIsInserterOpened",(function(){return C})),r.d(n,"setIsListViewOpened",(function(){return L})),r.d(n,"closeGeneralSidebar",(function(){return W})),r.d(n,"moveBlockToWidgetArea",(function(){return R}));var c={};r.r(c),r.d(c,"getWidgetAreas",(function(){return P})),r.d(c,"getWidgets",(function(){return F}));var i={};r.r(i),r.d(i,"getWidgets",(function(){return D})),r.d(i,"getWidget",(function(){return V})),r.d(i,"getWidgetAreas",(function(){return G})),r.d(i,"getWidgetAreaForWidgetId",(function(){return U})),r.d(i,"getParentWidgetAreaBlock",(function(){return z})),r.d(i,"getEditedWidgetAreas",(function(){return H})),r.d(i,"getReferenceWidgetBlocks",(function(){return q})),r.d(i,"isSavingWidgetAreas",(function(){return K})),r.d(i,"getIsWidgetAreaOpen",(function(){return Y})),r.d(i,"isInserterOpened",(function(){return Q})),r.d(i,"__experimentalGetInsertionPoint",(function(){return X})),r.d(i,"canInsertBlockInWidgetArea",(function(){return Z})),r.d(i,"isListViewOpened",(function(){return $}));var a={};r.r(a),r.d(a,"metadata",(function(){return ue})),r.d(a,"name",(function(){return be})),r.d(a,"settings",(function(){return me}));var o=r("GRId"),s=r("HSyU"),l=r("1ZqX"),d=r("QyPg"),u=r("jZUy"),b=r("GLVC"),m=r("U60i"),g=r("ywyh"),p=r.n(g);var O=Object(l.combineReducers)({blockInserterPanel: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_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel: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_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e},widgetAreasOpenState:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{type:r}=t;switch(r){case"SET_WIDGET_AREAS_OPEN_STATE":return t.widgetAreasOpenState;case"SET_IS_WIDGET_AREA_OPEN":{const{clientId:r,isOpen:n}=t;return{...e,[r]:n}}default:return e}}}),j=r("l3Sj"),f=r("onLe"),_=r("axFQ");function h(e){if("block"===e.id_base){const t=Object(s.parse)(e.instance.raw.content);return t.length?Object(b.addWidgetIdToBlock)(t[0],e.id):Object(b.addWidgetIdToBlock)(Object(s.createBlock)("core/paragraph",{},[]),e.id)}let t;return t=e._embedded.about[0].is_multi?{idBase:e.id_base,instance:e.instance}:{id:e.id},Object(b.addWidgetIdToBlock)(Object(s.createBlock)("core/legacy-widget",t,[]),e.id)}function w(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="core/legacy-widget"===e.name&&(e.attributes.id||e.attributes.instance);var c,i,a;n?t={...r,id:null!==(c=e.attributes.id)&&void 0!==c?c:r.id,id_base:null!==(i=e.attributes.idBase)&&void 0!==i?i:r.id_base,instance:null!==(a=e.attributes.instance)&&void 0!==a?a:r.instance}:t={...r,id_base:"block",instance:{raw:{content:Object(s.serialize)(e)}}};return delete t.rendered,delete t.rendered_form,t}const E="root",v=e=>"widget-area-"+e;const y="core/edit-widgets",k=(e,t)=>r=>{let{registry:n}=r;const c=((e,t)=>({id:e,slug:e,status:"draft",type:"page",blocks:t,meta:{widgetAreaId:e}}))(e,t);return n.dispatch(u.store).receiveEntityRecords(E,"postType",c,{id:c.id},!1),c},S=()=>async e=>{let{select:t,dispatch:r,registry:n}=e;const c=t.getEditedWidgetAreas();if(null!=c&&c.length)try{await r.saveWidgetAreas(c),n.dispatch(f.store).createSuccessNotice(Object(j.__)("Widgets saved."),{type:"snackbar"})}catch(e){n.dispatch(f.store).createErrorNotice(Object(j.sprintf)(Object(j.__)("There was an error. %s"),e.message),{type:"snackbar"})}},I=e=>async t=>{let{dispatch:r,registry:n}=t;try{for(const t of e)await r.saveWidgetArea(t.id)}finally{await n.dispatch(u.store).finishResolution("getEntityRecord",E,"sidebar",{per_page:-1})}},A=e=>async t=>{let{dispatch:r,select:n,registry:c}=t;const i=n.getWidgets(),a=c.select(u.store).getEditedEntityRecord(E,"postType",v(e)),o=Object.values(i).filter(t=>{let{sidebar:r}=t;return r===e}),s=[],l=a.blocks.filter(e=>{const{id:t}=e.attributes;if("core/legacy-widget"===e.name&&t){if(s.includes(t))return!1;s.push(t)}return!0}),d=[];for(const e of o){n.getWidgetAreaForWidgetId(e.id)||d.push(e)}const m=[],g=[],p=[];for(let t=0;t<l.length;t++){const r=l[t],n=Object(b.getWidgetIdFromBlock)(r),a=i[n],o=w(r,a);if(p.push(n),a){c.dispatch(u.store).editEntityRecord("root","widget",n,{...o,sidebar:e},{undoIgnore:!0});if(!c.select(u.store).hasEditsForEntityRecord("root","widget",n))continue;g.push(e=>{let{saveEditedEntityRecord:t}=e;return t("root","widget",n)})}else g.push(t=>{let{saveEntityRecord:r}=t;return r("root","widget",{...o,sidebar:e})});m.push({block:r,position:t,clientId:r.clientId})}for(const e of d)g.push(t=>{let{deleteEntityRecord:r}=t;return r("root","widget",e.id,{force:!0})});const O=(await c.dispatch(u.store).__experimentalBatch(g)).filter(e=>!e.hasOwnProperty("deleted")),f=[];for(let e=0;e<O.length;e++){const t=O[e],{block:r,position:n}=m[e];a.blocks[n].attributes.__internalWidgetId=t.id;var _;if(c.select(u.store).getLastEntitySaveError("root","widget",t.id))f.push((null===(_=r.attributes)||void 0===_?void 0:_.name)||(null==r?void 0:r.name));p[n]||(p[n]=t.id)}if(f.length)throw new Error(Object(j.sprintf)(Object(j.__)("Could not save the following widgets: %s."),f.join(", ")));c.dispatch(u.store).editEntityRecord(E,"sidebar",e,{widgets:p},{undoIgnore:!0}),r(x(e)),c.dispatch(u.store).receiveEntityRecords(E,"postType",a,void 0)},x=e=>t=>{let{registry:r}=t;const n=r.select(u.store).getLastEntitySaveError(E,"sidebar",e);r.dispatch(u.store).saveEditedEntityRecord(E,"sidebar",e);const c=r.select(u.store).getLastEntitySaveError(E,"sidebar",e);if(c&&n!==c)throw new Error(c)};function T(e,t){return{type:"SET_WIDGET_ID_FOR_CLIENT_ID",clientId:e,widgetId:t}}function B(e){return{type:"SET_WIDGET_AREAS_OPEN_STATE",widgetAreasOpenState:e}}function N(e,t){return{type:"SET_IS_WIDGET_AREA_OPEN",clientId:e,isOpen:t}}function C(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function L(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}const W=()=>e=>{let{registry:t}=e;t.dispatch(m.i).disableComplementaryArea(y)},R=(e,t)=>async r=>{let{dispatch:n,select:c,registry:i}=r;const a=i.select(_.store).getBlockRootClientId([e]),o=i.select(_.store).getBlocks().find(e=>{let{attributes:r}=e;return r.id===t}).clientId,s=i.select(_.store).getBlockOrder(o).length;c.getIsWidgetAreaOpen(o)||n.setIsWidgetAreaOpen(o,!0),i.dispatch(_.store).moveBlocksToPosition([e],a,o,s)},P=()=>async e=>{let{dispatch:t,registry:r}=e;const n={per_page:-1},c=[],i=(await r.resolveSelect(u.store).getEntityRecords(E,"sidebar",n)).sort((e,t)=>"wp_inactive_widgets"===e.id?1:"wp_inactive_widgets"===t.id?-1:0);for(const e of i)c.push(Object(s.createBlock)("core/widget-area",{id:e.id,name:e.name})),e.widgets.length||t(k(v(e.id),[]));const a={};c.forEach((e,t)=>{a[e.clientId]=0===t}),t(B(a)),t(k("widget-areas",c))},F=()=>async e=>{let{dispatch:t,registry:r}=e;const n={per_page:-1,_embed:"about"},c=await r.resolveSelect(u.store).getEntityRecords("root","widget",n),i={};for(const e of c){const t=h(e);i[e.sidebar]=i[e.sidebar]||[],i[e.sidebar].push(t)}for(const e in i)i.hasOwnProperty(e)&&t(k(v(e),i[e]))};var M=r("YLtl");const D=Object(l.createRegistrySelector)(e=>()=>{const t=e(u.store).getEntityRecords("root","widget",{per_page:-1,_embed:"about"});return Object(M.keyBy)(t,"id")}),V=Object(l.createRegistrySelector)(e=>(t,r)=>e(y).getWidgets()[r]),G=Object(l.createRegistrySelector)(e=>()=>{const t={per_page:-1};return e(u.store).getEntityRecords(E,"sidebar",t)}),U=Object(l.createRegistrySelector)(e=>(t,r)=>e(y).getWidgetAreas().find(t=>e(u.store).getEditedEntityRecord(E,"postType",v(t.id)).blocks.map(e=>Object(b.getWidgetIdFromBlock)(e)).includes(r))),z=Object(l.createRegistrySelector)(e=>(t,r)=>{const{getBlock:n,getBlockName:c,getBlockParents:i}=e(_.store);return n(i(r).find(e=>"core/widget-area"===c(e)))}),H=Object(l.createRegistrySelector)(e=>(t,r)=>{let n=e(y).getWidgetAreas();return n?(r&&(n=n.filter(e=>{let{id:t}=e;return r.includes(t)})),n.filter(t=>{let{id:r}=t;return e(u.store).hasEditsForEntityRecord(E,"postType",v(r))}).map(t=>{let{id:r}=t;return e(u.store).getEditedEntityRecord(E,"sidebar",r)})):[]}),q=Object(l.createRegistrySelector)(e=>function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=[],c=e(y).getWidgetAreas();for(const t of c){const c=e(u.store).getEditedEntityRecord(E,"postType",v(t.id));for(const e of c.blocks){var i;"core/legacy-widget"!==e.name||r&&(null===(i=e.attributes)||void 0===i?void 0:i.referenceWidgetName)!==r||n.push(e)}}return n}),K=Object(l.createRegistrySelector)(e=>()=>{var t;const r=null===(t=e(y).getWidgetAreas())||void 0===t?void 0:t.map(e=>{let{id:t}=e;return t});if(!r)return!1;for(const t of r){if(e(u.store).isSavingEntityRecord(E,"sidebar",t))return!0}const n=[...Object.keys(e(y).getWidgets()),void 0];for(const t of n){if(e(u.store).isSavingEntityRecord("root","widget",t))return!0}return!1}),Y=(e,t)=>{const{widgetAreasOpenState:r}=e;return!!r[t]};function Q(e){return!!e.blockInserterPanel}function X(e){const{rootClientId:t,insertionIndex:r}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:r}}const Z=Object(l.createRegistrySelector)(e=>(t,r)=>{const n=e(_.store).getBlocks(),[c]=n;return e(_.store).canInsertBlockType(r,c.clientId)});function $(e){return e.listViewPanel}const J={reducer:O,selectors:i,resolvers:c,actions:n,__experimentalUseThunks:!0},ee=Object(l.createReduxStore)(y,J);Object(l.registerStore)(y,J),p.a.use((function(e,t){var r;return 0===(null===(r=e.path)||void 0===r?void 0:r.indexOf("/wp/v2/types/widget-area"))?Promise.resolve({}):t(e)}));var te=r("K9lf"),re=r("g56x");const ne=Object(te.createHigherOrderComponent)(e=>t=>{const{clientId:r,name:n}=t,{widgetAreas:c,currentWidgetAreaId:i,canInsertBlockInWidgetArea:a}=Object(l.useSelect)(e=>{var t;if("core/widget-area"===n)return{};const c=e(ee),i=c.getParentWidgetAreaBlock(r);return{widgetAreas:c.getWidgetAreas(),currentWidgetAreaId:null==i||null===(t=i.attributes)||void 0===t?void 0:t.id,canInsertBlockInWidgetArea:c.canInsertBlockInWidgetArea(n)}},[r,n]),{moveBlockToWidgetArea:s}=Object(l.useDispatch)(ee),d=(null==c?void 0:c.length)>1,u="core/widget-area"!==n&&d&&a;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(e,t),u&&Object(o.createElement)(_.BlockControls,null,Object(o.createElement)(b.MoveToWidgetArea,{widgetAreas:c,currentWidgetAreaId:i,onSelect:e=>{s(t.clientId,e)}})))},"withMoveToWidgetAreaToolbarItem");Object(re.addFilter)("editor.BlockEdit","core/edit-widgets/block-edit",ne);var ce=r("6aBm");Object(re.addFilter)("editor.MediaUpload","core/edit-widgets/replace-media-upload",()=>ce.MediaUpload);var ie=r("tI+e"),ae=r("TSYQ"),oe=r.n(ae);var se=e=>{const[t,r]=Object(o.useState)(!1);return Object(o.useEffect)(()=>{const{ownerDocument:t}=e.current;function n(e){i(e)}function c(){r(!1)}function i(t){e.current.contains(t.target)?r(!0):r(!1)}return t.addEventListener("dragstart",n),t.addEventListener("dragend",c),t.addEventListener("dragenter",i),()=>{t.removeEventListener("dragstart",n),t.removeEventListener("dragend",c),t.removeEventListener("dragenter",i)}},[]),t};function le(e){let{id:t}=e;const[r,n,c]=Object(u.useEntityBlockEditor)("root","postType"),i=Object(o.useRef)(),a=se(i),s=Object(_.useInnerBlocksProps)({ref:i},{value:r,onInput:n,onChange:c,templateLock:!1,renderAppender:_.InnerBlocks.ButtonBlockAppender});return Object(o.createElement)("div",{"data-widget-area-id":t,className:oe()("wp-block-widget-area__inner-blocks block-editor-inner-blocks editor-styles-wrapper",{"wp-block-widget-area__highlight-drop-zone":a})},Object(o.createElement)("div",s))}const de=e=>{const[t,r]=Object(o.useState)(!1);return Object(o.useEffect)(()=>{const{ownerDocument:t}=e.current;function n(){r(!0)}function c(){r(!1)}return t.addEventListener("dragstart",n),t.addEventListener("dragend",c),()=>{t.removeEventListener("dragstart",n),t.removeEventListener("dragend",c)}},[]),t},ue={name:"core/widget-area",category:"widgets",attributes:{id:{type:"string"},name:{type:"string"}},supports:{html:!1,inserter:!1,customClassName:!1,reusable:!1,__experimentalToolbar:!1,__experimentalParentSelector:!1},editorStyle:"wp-block-widget-area-editor",style:"wp-block-widget-area"},{name:be}=ue,me={title:Object(j.__)("Widget Area"),description:Object(j.__)("A widget area container."),__experimentalLabel:e=>{let{name:t}=e;return t},edit:function(e){let{clientId:t,className:r,attributes:{id:n,name:c}}=e;const i=Object(l.useSelect)(e=>e(ee).getIsWidgetAreaOpen(t),[t]),{setIsWidgetAreaOpen:a}=Object(l.useDispatch)(ee),s=Object(o.useRef)(),d=Object(o.useCallback)(e=>a(t,e),[t]),b=de(s),m=se(s),[g,p]=Object(o.useState)(!1);return Object(o.useEffect)(()=>{b?m&&!i?(d(!0),p(!0)):!m&&i&&g&&d(!1):p(!1)},[i,b,m,g]),Object(o.createElement)(ie.Panel,{className:r,ref:s},Object(o.createElement)(ie.PanelBody,{title:c,opened:i,onToggle:()=>{a(t,!i)},scrollAfterOpen:!b},e=>{let{opened:t}=e;return Object(o.createElement)(ie.__unstableDisclosureContent,{className:"wp-block-widget-area__panel-body-content",visible:t},Object(o.createElement)(u.EntityProvider,{kind:"root",type:"postType",id:"widget-area-"+n},Object(o.createElement)(le,{id:n})))}))}};var ge=r("TvNi");function pe(e){let{text:t,children:r}=e;const n=Object(te.useCopyToClipboard)(t);return Object(o.createElement)(ie.Button,{variant:"secondary",ref:n},r)}class Oe extends o.Component{constructor(){super(...arguments),this.reboot=this.reboot.bind(this),this.state={error:null}}componentDidCatch(e){this.setState({error:e})}reboot(){this.props.onError()}render(){const{error:e}=this.state;return e?Object(o.createElement)(_.Warning,{className:"edit-widgets-error-boundary",actions:[Object(o.createElement)(ie.Button,{key:"recovery",onClick:this.reboot,variant:"secondary"},Object(j.__)("Attempt Recovery")),Object(o.createElement)(pe,{key:"copy-error",text:e.stack},Object(j.__)("Copy Error"))]},Object(j.__)("The editor has encountered an unexpected error.")):this.props.children}}var je=r("wx14"),fe=r("diJD"),_e=r("hF7m");function he(){const{redo:e,undo:t}=Object(l.useDispatch)(u.store),{saveEditedWidgetAreas:r}=Object(l.useDispatch)(ee);return Object(_e.useShortcut)("core/edit-widgets/undo",e=>{t(),e.preventDefault()}),Object(_e.useShortcut)("core/edit-widgets/redo",t=>{e(),t.preventDefault()}),Object(_e.useShortcut)("core/edit-widgets/save",e=>{e.preventDefault(),r()}),null}he.Register=function(){const{registerShortcut:e}=Object(l.useDispatch)(_e.store);return Object(o.useEffect)(()=>{e({name:"core/edit-widgets/undo",category:"global",description:Object(j.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-widgets/redo",category:"global",description:Object(j.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/edit-widgets/save",category:"global",description:Object(j.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/edit-widgets/keyboard-shortcuts",category:"main",description:Object(j.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}}),e({name:"core/edit-widgets/next-region",category:"global",description:Object(j.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),e({name:"core/edit-widgets/previous-region",category:"global",description:Object(j.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]})},[e]),null};var we=he;var Ee=()=>Object(l.useSelect)(e=>{var t;const{getBlockSelectionEnd:r,getBlockName:n}=e(_.store),c=r();if("core/widget-area"===n(c))return c;const{getParentWidgetAreaBlock:i}=e(ee),a=i(c),o=null==a?void 0:a.clientId;if(o)return o;const{getEntityRecord:s}=e(u.store),l=s(E,"postType","widget-areas");return null==l||null===(t=l.blocks[0])||void 0===t?void 0:t.clientId},[]);function ve(e){let{blockEditorSettings:t,children:r,...n}=e;const{hasUploadPermissions:c,reusableBlocks:i,isFixedToolbarActive:a,keepCaretInsideBlock:s}=Object(l.useSelect)(e=>({hasUploadPermissions:Object(M.defaultTo)(e(u.store).canUser("create","media"),!0),widgetAreas:e(ee).getWidgetAreas(),widgets:e(ee).getWidgets(),reusableBlocks:[],isFixedToolbarActive:e(m.i).isFeatureActive("core/edit-widgets","fixedToolbar"),keepCaretInsideBlock:e(m.i).isFeatureActive("core/edit-widgets","keepCaretInsideBlock")}),[]),{setIsInserterOpened:d}=Object(l.useDispatch)(ee),b=Object(o.useMemo)(()=>{let e;return c&&(e=e=>{let{onError:r,...n}=e;Object(ce.uploadMedia)({wpAllowedMimeTypes:t.allowedMimeTypes,onError:e=>{let{message:t}=e;return r(t)},...n})}),{...t,__experimentalReusableBlocks:i,hasFixedToolbar:a,keepCaretInsideBlock:s,mediaUpload:e,templateLock:"all",__experimentalSetIsInserterOpened:d}},[t,a,s,c,i,d]),g=Ee(),[p,O,j]=Object(u.useEntityBlockEditor)(E,"postType",{id:"widget-areas"});return Object(o.createElement)(_e.ShortcutProvider,null,Object(o.createElement)(_.BlockEditorKeyboardShortcuts.Register,null),Object(o.createElement)(we.Register,null),Object(o.createElement)(ie.SlotFillProvider,null,Object(o.createElement)(_.BlockEditorProvider,Object(je.a)({value:p,onInput:O,onChange:j,settings:b,useSubRegistry:!1},n),Object(o.createElement)(_.CopyHandler,null,r),Object(o.createElement)(fe.ReusableBlocksMenuItems,{rootClientId:g}))))}var ye=r("Cg8A"),ke=r("//Lo"),Se=r("Mmq9"),Ie=r("1CF3");function Ae(e){let{selectedWidgetAreaId:t}=e;const r=Object(l.useSelect)(e=>e(ee).getWidgetAreas(),[]),n=Object(o.useMemo)(()=>t&&(null==r?void 0:r.find(e=>e.id===t)),[t,r]);let c;return c=n?"wp_inactive_widgets"===t?Object(j.__)("Blocks in this Widget Area will not be displayed in your site."):n.description:Object(j.__)("Widget Areas are global parts in your site’s layout that can accept blocks. These vary by theme, but are typically parts like your Sidebar or Footer."),Object(o.createElement)("div",{className:"edit-widgets-widget-areas"},Object(o.createElement)("div",{className:"edit-widgets-widget-areas__top-container"},Object(o.createElement)(_.BlockIcon,{icon:ke.a}),Object(o.createElement)("div",null,Object(o.createElement)("p",{dangerouslySetInnerHTML:{__html:Object(Ie.safeHTML)(c)}}),0===(null==r?void 0:r.length)&&Object(o.createElement)("p",null,Object(j.__)("Your theme does not contain any Widget Areas.")),!n&&Object(o.createElement)(ie.Button,{href:Object(Se.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),variant:"tertiary"},Object(j.__)("Manage with live preview")))))}const xe=o.Platform.select({web:!0,native:!1});function Te(e){let{identifier:t,label:r,isActive:n}=e;const{enableComplementaryArea:c}=Object(l.useDispatch)(m.i);return Object(o.createElement)(ie.Button,{onClick:()=>c(ee.name,t),className:oe()("edit-widgets-sidebar__panel-tab",{"is-active":n}),"aria-label":n?Object(j.sprintf)(Object(j.__)("%s (selected)"),r):r,"data-label":r},r)}function Be(){const{enableComplementaryArea:e}=Object(l.useDispatch)(m.i),{currentArea:t,hasSelectedNonAreaBlock:r,isGeneralSidebarOpen:n,selectedWidgetAreaBlock:c}=Object(l.useSelect)(e=>{const{getSelectedBlock:t,getBlock:r,getBlockParentsByBlockName:n}=e(_.store),{getActiveComplementaryArea:c}=e(m.i),i=t(),a=c(ee.name);let o,s=a;return s||(s=i?"edit-widgets/block-inspector":"edit-widgets/block-areas"),i&&(o="core/widget-area"===i.name?i:r(n(i.clientId,"core/widget-area")[0])),{currentArea:s,hasSelectedNonAreaBlock:!(!i||"core/widget-area"===i.name),isGeneralSidebarOpen:!!a,selectedWidgetAreaBlock:o}},[]);return Object(o.useEffect)(()=>{r&&"edit-widgets/block-areas"===t&&n&&e("core/edit-widgets","edit-widgets/block-inspector"),!r&&"edit-widgets/block-inspector"===t&&n&&e("core/edit-widgets","edit-widgets/block-areas")},[r,e]),Object(o.createElement)(m.b,{className:"edit-widgets-sidebar",header:Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(o.createElement)(Te,{identifier:"edit-widgets/block-areas",label:c?c.attributes.name:Object(j.__)("Widget Areas"),isActive:"edit-widgets/block-areas"===t})),Object(o.createElement)("li",null,Object(o.createElement)(Te,{identifier:"edit-widgets/block-inspector",label:Object(j.__)("Block"),isActive:"edit-widgets/block-inspector"===t}))),headerClassName:"edit-widgets-sidebar__panel-tabs",title:Object(j.__)("Settings"),closeLabel:Object(j.__)("Close settings"),scope:"core/edit-widgets",identifier:t,icon:ye.a,isActiveByDefault:xe},"edit-widgets/block-areas"===t&&Object(o.createElement)(Ae,{selectedWidgetAreaId:null==c?void 0:c.attributes.id}),"edit-widgets/block-inspector"===t&&(r?Object(o.createElement)(_.BlockInspector,null):Object(o.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(j.__)("No block selected."))))}var Ne=r("Q4Sy"),Ce=r("OzlF");var Le=function(){const{hasEditedWidgetAreaIds:e,isSaving:t}=Object(l.useSelect)(e=>{var t;const{getEditedWidgetAreas:r,isSavingWidgetAreas:n}=e(ee);return{hasEditedWidgetAreaIds:(null===(t=r())||void 0===t?void 0:t.length)>0,isSaving:n()}},[]),{saveEditedWidgetAreas:r}=Object(l.useDispatch)(ee);return Object(o.createElement)(ie.Button,{variant:"primary",isBusy:t,"aria-disabled":t,onClick:t?void 0:r,disabled:!e},t?Object(j.__)("Saving…"):Object(j.__)("Update"))},We=r("Ntru"),Re=r("K2cm"),Pe=r("RxS6");function Fe(){const e=Object(l.useSelect)(e=>e(u.store).hasUndo(),[]),{undo:t}=Object(l.useDispatch)(u.store);return Object(o.createElement)(ie.ToolbarButton,{icon:Object(j.isRTL)()?Re.a:We.a,label:Object(j.__)("Undo"),shortcut:Pe.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?t:void 0})}function Me(){const e=Object(l.useSelect)(e=>e(u.store).hasRedo(),[]),{redo:t}=Object(l.useDispatch)(u.store);return Object(o.createElement)(ie.ToolbarButton,{icon:Object(j.isRTL)()?We.a:Re.a,label:Object(j.__)("Redo"),shortcut:Pe.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?t:void 0})}var De=r("K+tz");const Ve=[{keyCombination:{modifier:"primary",character:"b"},description:Object(j.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:Object(j.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:Object(j.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:Object(j.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:Object(j.__)("Underline the selected text.")}];function Ge(e){let{keyCombination:t,forceAriaLabel:r}=e;const n=t.modifier?Pe.displayShortcutList[t.modifier](t.character):t.character,c=t.modifier?Pe.shortcutAriaLabel[t.modifier](t.character):t.character;return Object(o.createElement)("kbd",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":r||c},Object(M.castArray)(n).map((e,t)=>"+"===e?Object(o.createElement)(o.Fragment,{key:t},e):Object(o.createElement)("kbd",{key:t,className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key"},e)))}var Ue=function(e){let{description:t,keyCombination:r,aliases:n=[],ariaLabel:c}=e;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-description"},t),Object(o.createElement)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-term"},Object(o.createElement)(Ge,{keyCombination:r,forceAriaLabel:c}),n.map((e,t)=>Object(o.createElement)(Ge,{keyCombination:e,forceAriaLabel:c,key:t}))))};var ze=function(e){let{name:t}=e;const{keyCombination:r,description:n,aliases:c}=Object(l.useSelect)(e=>{const{getShortcutKeyCombination:r,getShortcutDescription:n,getShortcutAliases:c}=e(_e.store);return{keyCombination:r(t),aliases:c(t),description:n(t)}},[t]);return r?Object(o.createElement)(Ue,{keyCombination:r,description:n,aliases:c}):null};const He=e=>{let{shortcuts:t}=e;return Object(o.createElement)("ul",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-list",role:"list"},t.map((e,t)=>Object(o.createElement)("li",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut",key:t},Object(M.isString)(e)?Object(o.createElement)(ze,{name:e}):Object(o.createElement)(Ue,e))))},qe=e=>{let{title:t,shortcuts:r,className:n}=e;return Object(o.createElement)("section",{className:oe()("edit-widgets-keyboard-shortcut-help-modal__section",n)},!!t&&Object(o.createElement)("h2",{className:"edit-widgets-keyboard-shortcut-help-modal__section-title"},t),Object(o.createElement)(He,{shortcuts:r}))},Ke=e=>{let{title:t,categoryName:r,additionalShortcuts:n=[]}=e;const c=Object(l.useSelect)(e=>e(_e.store).getCategoryShortcuts(r),[r]);return Object(o.createElement)(qe,{title:t,shortcuts:c.concat(n)})};function Ye(e){let{isModalActive:t,toggleModal:r}=e;return Object(_e.useShortcut)("core/edit-widgets/keyboard-shortcuts",r,{bindGlobal:!0}),t?Object(o.createElement)(ie.Modal,{className:"edit-widgets-keyboard-shortcut-help-modal",title:Object(j.__)("Keyboard shortcuts"),closeLabel:Object(j.__)("Close"),onRequestClose:r},Object(o.createElement)(qe,{className:"edit-widgets-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-widgets/keyboard-shortcuts"]}),Object(o.createElement)(Ke,{title:Object(j.__)("Global shortcuts"),categoryName:"global"}),Object(o.createElement)(Ke,{title:Object(j.__)("Selection shortcuts"),categoryName:"selection"}),Object(o.createElement)(Ke,{title:Object(j.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:Object(j.__)("Change the block type after adding a new paragraph."),ariaLabel:Object(j.__)("Forward-slash")}]}),Object(o.createElement)(qe,{title:Object(j.__)("Text formatting"),shortcuts:Ve})):null}function Qe(){const[e,t]=Object(o.useState)(!1),r=()=>t(!e);Object(_e.useShortcut)("core/edit-widgets/keyboard-shortcuts",r);const n=Object(te.useViewportMatch)("medium");return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(m.f,null,()=>Object(o.createElement)(o.Fragment,null,n&&Object(o.createElement)(ie.MenuGroup,{label:Object(j._x)("View","noun")},Object(o.createElement)(m.g,{scope:"core/edit-widgets",feature:"fixedToolbar",label:Object(j.__)("Top toolbar"),info:Object(j.__)("Access all block and document tools in a single place"),messageActivated:Object(j.__)("Top toolbar activated"),messageDeactivated:Object(j.__)("Top toolbar deactivated")})),Object(o.createElement)(ie.MenuGroup,{label:Object(j.__)("Tools")},Object(o.createElement)(ie.MenuItem,{onClick:()=>{t(!0)},shortcut:Pe.displayShortcut.access("h")},Object(j.__)("Keyboard shortcuts")),Object(o.createElement)(m.g,{scope:"core/edit-widgets",feature:"welcomeGuide",label:Object(j.__)("Welcome Guide")}),Object(o.createElement)(ie.MenuItem,{role:"menuitem",icon:De.a,href:Object(j.__)("https://wordpress.org/support/article/block-based-widgets-editor/"),target:"_blank",rel:"noopener noreferrer"},Object(j.__)("Help"),Object(o.createElement)(ie.VisuallyHidden,{as:"span"},Object(j.__)("(opens in a new tab)")))),Object(o.createElement)(ie.MenuGroup,{label:Object(j.__)("Preferences")},Object(o.createElement)(m.g,{scope:"core/edit-widgets",feature:"keepCaretInsideBlock",label:Object(j.__)("Contain text cursor inside block"),info:Object(j.__)("Aids screen readers by stopping text caret from leaving blocks."),messageActivated:Object(j.__)("Contain text cursor inside block activated"),messageDeactivated:Object(j.__)("Contain text cursor inside block deactivated")}),Object(o.createElement)(m.g,{scope:"core/edit-widgets",feature:"themeStyles",info:Object(j.__)("Make the editor look like your theme."),label:Object(j.__)("Use theme styles")}),n&&Object(o.createElement)(m.g,{scope:"core/edit-widgets",feature:"showBlockBreadcrumbs",label:Object(j.__)("Display block breadcrumbs"),info:Object(j.__)("Shows block breadcrumbs at the bottom of the editor."),messageActivated:Object(j.__)("Display block breadcrumbs activated"),messageDeactivated:Object(j.__)("Display block breadcrumbs deactivated")})))),Object(o.createElement)(Ye,{isModalActive:e,toggleModal:r}))}var Xe=function(){const e=Object(te.useViewportMatch)("medium"),t=Object(o.useRef)(),r=Ee(),n=Object(l.useSelect)(e=>e(ee).getIsWidgetAreaOpen(r),[r]),{isInserterOpen:c,isListViewOpen:i}=Object(l.useSelect)(e=>{const{isInserterOpened:t,isListViewOpened:r}=e(ee);return{isInserterOpen:t(),isListViewOpen:r()}},[]),{setIsWidgetAreaOpen:a,setIsInserterOpened:s,setIsListViewOpened:d}=Object(l.useDispatch)(ee),{selectBlock:u}=Object(l.useDispatch)(_.store),b=Object(o.useCallback)(()=>d(!i),[d,i]);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"edit-widgets-header"},Object(o.createElement)("div",{className:"edit-widgets-header__navigable-toolbar-wrapper"},e&&Object(o.createElement)("h1",{className:"edit-widgets-header__title"},Object(j.__)("Widgets")),!e&&Object(o.createElement)(ie.VisuallyHidden,{as:"h1",className:"edit-widgets-header__title"},Object(j.__)("Widgets")),Object(o.createElement)(_.NavigableToolbar,{className:"edit-widgets-header-toolbar","aria-label":Object(j.__)("Document tools")},Object(o.createElement)(ie.ToolbarItem,{ref:t,as:ie.Button,className:"edit-widgets-header-toolbar__inserter-toggle",variant:"primary",isPressed:c,onMouseDown:e=>{e.preventDefault()},onClick:()=>{c?s(!1):(n||(u(r),a(r,!0)),window.requestAnimationFrame(()=>s(!0)))},icon:Ne.a,label:Object(j._x)("Toggle block inserter","Generic label for block inserter button")}),e&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Fe,null),Object(o.createElement)(Me,null),Object(o.createElement)(ie.ToolbarItem,{as:ie.Button,className:"edit-widgets-header-toolbar__list-view-toggle",icon:Ce.a,isPressed:i,label:Object(j.__)("List View"),onClick:b})))),Object(o.createElement)("div",{className:"edit-widgets-header__actions"},Object(o.createElement)(Le,null),Object(o.createElement)(m.h.Slot,{scope:"core/edit-widgets"}),Object(o.createElement)(Qe,null))))};var Ze=function(){const{removeNotice:e}=Object(l.useDispatch)(f.store),{notices:t}=Object(l.useSelect)(e=>({notices:e(f.store).getNotices()}),[]),r=Object(M.filter)(t,{isDismissible:!0,type:"default"}),n=Object(M.filter)(t,{isDismissible:!1,type:"default"}),c=Object(M.filter)(t,{type:"snackbar"});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(ie.NoticeList,{notices:n,className:"edit-widgets-notices__pinned"}),Object(o.createElement)(ie.NoticeList,{notices:r,className:"edit-widgets-notices__dismissible",onRemove:e}),Object(o.createElement)(ie.SnackbarList,{notices:c,className:"edit-widgets-notices__snackbar",onRemove:e}))};function $e(e){let{blockEditorSettings:t}=e;const r=Object(l.useSelect)(e=>e(m.i).isFeatureActive("core/edit-widgets","themeStyles"),[]),n=Object(o.useMemo)(()=>r?t.styles:[],[t,r]);return Object(o.createElement)("div",{className:"edit-widgets-block-editor"},Object(o.createElement)(Ze,null),Object(o.createElement)(_.BlockTools,null,Object(o.createElement)(we,null),Object(o.createElement)(_.__unstableEditorStyles,{styles:n}),Object(o.createElement)(_.BlockSelectionClearer,null,Object(o.createElement)(_.WritingFlow,null,Object(o.createElement)(_.ObserveTyping,null,Object(o.createElement)(_.BlockList,{className:"edit-widgets-main-block-list"}))))))}var Je=r("w95h");var et=()=>{const e=Object(l.useSelect)(e=>{var t;const{getEntityRecord:r}=e(u.store),n=r(E,"postType","widget-areas");return null==n||null===(t=n.blocks[0])||void 0===t?void 0:t.clientId},[]);return Object(l.useSelect)(t=>{const{getBlockRootClientId:r,getBlockSelectionEnd:n,getBlockOrder:c,getBlockIndex:i}=t(_.store),a=t(ee).__experimentalGetInsertionPoint();if(a.rootClientId)return a;const o=n()||e,s=r(o);return o&&""===s?{rootClientId:o,insertionIndex:c(o).length}:{rootClientId:s,insertionIndex:i(o)+1}},[e])};function tt(){const e=Object(te.useViewportMatch)("medium","<"),{rootClientId:t,insertionIndex:r}=et(),{setIsInserterOpened:n}=Object(l.useDispatch)(ee),c=Object(o.useCallback)(()=>()=>n(!1),[n]),[i,a]=Object(te.__experimentalUseDialog)({onClose:c});return Object(o.createElement)("div",Object(je.a)({ref:i},a,{className:"edit-widgets-layout__inserter-panel"}),Object(o.createElement)("div",{className:"edit-widgets-layout__inserter-panel-header"},Object(o.createElement)(ie.Button,{icon:Je.a,onClick:c})),Object(o.createElement)("div",{className:"edit-widgets-layout__inserter-panel-content"},Object(o.createElement)(_.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:e,rootClientId:t,__experimentalInsertionIndex:r})))}var rt=r("bWcr");function nt(){const{setIsListViewOpened:e}=Object(l.useDispatch)(ee),{clearSelectedBlock:t,selectBlock:r}=Object(l.useDispatch)(_.store);const n=Object(te.useFocusOnMount)("firstElement"),c=Object(te.useFocusReturn)();const i="edit-widgets-editor__list-view-panel-label-"+Object(te.useInstanceId)(nt);return Object(o.createElement)("div",{"aria-labelledby":i,className:"edit-widgets-editor__list-view-panel",onKeyDown:function(t){t.keyCode!==Pe.ESCAPE||t.defaultPrevented||(t.preventDefault(),e(!1))}},Object(o.createElement)("div",{className:"edit-widgets-editor__list-view-panel-header"},Object(o.createElement)("strong",{id:i},Object(j.__)("List view")),Object(o.createElement)(ie.Button,{icon:rt.a,label:Object(j.__)("Close list view sidebar"),onClick:()=>e(!1)})),Object(o.createElement)("div",{className:"edit-widgets-editor__list-view-panel-content",ref:Object(te.useMergeRefs)([c,n])},Object(o.createElement)(_.__experimentalListView,{onSelect:async function(e){await t(),r(e,-1)},showNestedBlocks:!0,__experimentalHideContainerBlockActions:!0,__experimentalFeatures:!0,__experimentalPersistentListViewFeatures:!0})))}function ct(){const{isInserterOpen:e,isListViewOpen:t}=Object(l.useSelect)(e=>{const{isInserterOpened:t,isListViewOpened:r}=e(ee);return{isInserterOpen:t(),isListViewOpen:r()}},[]);return e?Object(o.createElement)(tt,null):t?Object(o.createElement)(nt,null):null}const it={header:Object(j.__)("Widgets top bar"),body:Object(j.__)("Widgets and blocks"),sidebar:Object(j.__)("Widgets settings"),footer:Object(j.__)("Widgets footer")};var at=function(e){let{blockEditorSettings:t}=e;const r=Object(te.useViewportMatch)("medium","<"),n=Object(te.useViewportMatch)("huge",">="),{setIsInserterOpened:c,setIsListViewOpened:i,closeGeneralSidebar:a}=Object(l.useDispatch)(ee),{hasBlockBreadCrumbsEnabled:s,hasSidebarEnabled:d,isInserterOpened:u,isListViewOpened:b,previousShortcut:g,nextShortcut:p}=Object(l.useSelect)(e=>({hasSidebarEnabled:!!e(m.i).getActiveComplementaryArea(ee.name),isInserterOpened:!!e(ee).isInserterOpened(),isListViewOpened:!!e(ee).isListViewOpened(),hasBlockBreadCrumbsEnabled:e(m.i).isFeatureActive("core/edit-widgets","showBlockBreadcrumbs"),previousShortcut:e(_e.store).getAllShortcutKeyCombinations("core/edit-widgets/previous-region"),nextShortcut:e(_e.store).getAllShortcutKeyCombinations("core/edit-widgets/next-region")}),[]);Object(o.useEffect)(()=>{d&&!n&&(c(!1),i(!1))},[d,n]),Object(o.useEffect)(()=>{!u&&!b||n||a()},[u,b,n]);const O=b||u;return Object(o.createElement)(m.e,{labels:it,header:Object(o.createElement)(Xe,null),secondarySidebar:O&&Object(o.createElement)(ct,null),sidebar:d&&Object(o.createElement)(m.b.Slot,{scope:"core/edit-widgets"}),content:Object(o.createElement)($e,{blockEditorSettings:t}),footer:s&&!r&&Object(o.createElement)("div",{className:"edit-widgets-layout__footer"},Object(o.createElement)(_.BlockBreadcrumb,{rootLabelText:Object(j.__)("Widgets")})),shortcuts:{previous:g,next:p}})};function ot(){const e=Object(l.useSelect)(e=>{const{getEditedWidgetAreas:t}=e(ee),r=t();return(null==r?void 0:r.length)>0},[]);return Object(o.useEffect)(()=>{const t=t=>{if(e)return t.returnValue=Object(j.__)("You have unsaved changes. If you proceed, they will be lost."),t.returnValue};return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}},[e]),null}function st(){var e;const t=Object(l.useSelect)(e=>e(m.i).isFeatureActive("core/edit-widgets","welcomeGuide"),[]),{toggleFeature:r}=Object(l.useDispatch)(m.i),n=Object(l.useSelect)(e=>e(ee).getWidgetAreas({per_page:-1}),[]);if(!t)return null;const c=null==n?void 0:n.every(e=>"wp_inactive_widgets"===e.id||e.widgets.every(e=>e.startsWith("block-"))),i=null!==(e=null==n?void 0:n.filter(e=>"wp_inactive_widgets"!==e.id).length)&&void 0!==e?e:0;return Object(o.createElement)(ie.Guide,{className:"edit-widgets-welcome-guide",contentLabel:Object(j.__)("Welcome to block Widgets"),finishButtonText:Object(j.__)("Get started"),onFinish:()=>r("core/edit-widgets","welcomeGuide"),pages:[{image:Object(o.createElement)(lt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(j.__)("Welcome to block Widgets")),c?Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(j.sprintf)(Object(j._n)("Your theme provides %s “block” area for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.","Your theme provides %s different “block” areas for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.",i),i))):Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(j.__)("You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.")),Object(o.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(o.createElement)("strong",null,Object(j.__)("Want to stick with the old widgets?"))," ",Object(o.createElement)(ie.ExternalLink,{href:Object(j.__)("https://wordpress.org/plugins/classic-widgets/")},Object(j.__)("Get the Classic Widgets plugin.")))))},{image:Object(o.createElement)(lt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(j.__)("Make each block your own")),Object(o.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(j.__)("Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.")))},{image:Object(o.createElement)(lt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(j.__)("Get to know the block library")),Object(o.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(o.createInterpolateElement)(Object(j.__)("All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon."),{InserterIconImage:Object(o.createElement)("img",{className:"edit-widgets-welcome-guide__inserter-icon",alt:Object(j.__)("inserter"),src:"data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' rx='2' fill='%231E1E1E'/%3E%3Cpath d='M9.22727 4V14M4 8.77273H14' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A"})})))},{image:Object(o.createElement)(lt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},Object(j.__)("Learn how to use the block editor")),Object(o.createElement)("p",{className:"edit-widgets-welcome-guide__text"},Object(j.__)("New to the block editor? Want to learn more about using it? "),Object(o.createElement)(ie.ExternalLink,{href:Object(j.__)("https://wordpress.org/support/article/wordpress-editor/")},Object(j.__)("Here's a detailed guide."))))}]})}function lt(e){let{nonAnimatedSrc:t,animatedSrc:r}=e;return Object(o.createElement)("picture",{className:"edit-widgets-welcome-guide__image"},Object(o.createElement)("source",{srcSet:t,media:"(prefers-reduced-motion: reduce)"}),Object(o.createElement)("img",{src:r,width:"312",height:"240",alt:""}))}var dt=function(e){let{blockEditorSettings:t,onError:r}=e;return Object(o.createElement)(Oe,{onError:r},Object(o.createElement)(ve,{blockEditorSettings:t},Object(o.createElement)(at,{blockEditorSettings:t}),Object(o.createElement)(Be,null),Object(o.createElement)(ie.Popover.Slot,null),Object(o.createElement)(ge.PluginArea,null),Object(o.createElement)(ot,null),Object(o.createElement)(st,null)))};const ut=["core/more","core/freeform","core/template-part","core/block"];function bt(e,t){Object(o.unmountComponentAtNode)(e);const r=bt.bind(null,e,t);Object(o.render)(Object(o.createElement)(dt,{blockEditorSettings:t,onError:r}),e)}function mt(e,t){const r=document.getElementById(e),n=bt.bind(null,r,t),c=Object(d.__experimentalGetCoreBlocks)().filter(e=>!(ut.includes(e.name)||e.name.startsWith("core/post")||e.name.startsWith("core/query")||e.name.startsWith("core/site")||e.name.startsWith("core/navigation")));Object(l.dispatch)(m.i).setFeatureDefaults("core/edit-widgets",{fixedToolbar:!1,welcomeGuide:!0,showBlockBreadcrumbs:!0,themeStyles:!0}),Object(l.dispatch)(s.store).__experimentalReapplyBlockTypeFilters(),Object(d.registerCoreBlocks)(c),Object(b.registerLegacyWidgetBlock)(),Object(b.registerLegacyWidgetVariations)(t),gt(a),Object(b.registerWidgetGroupBlock)(),t.__experimentalFetchLinkSuggestions=(e,r)=>Object(u.__experimentalFetchLinkSuggestions)(e,r,t),Object(s.setFreeformContentHandlerName)("core/html"),Object(o.render)(Object(o.createElement)(dt,{blockEditorSettings:t,onError:n}),r)}const gt=e=>{if(!e)return;const{metadata:t,settings:r,name:n}=e;t&&Object(s.unstable__bootstrapServerSideBlockDefinitions)({[n]:t}),Object(s.registerBlockType)(n,r)}},GLVC:function(e,t){e.exports=window.wp.widgets},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},"K+tz":function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));t.a=i},K2cm:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"}));t.a=i},K9lf:function(e,t){e.exports=window.wp.compose},KEfo:function(e,t){e.exports=window.wp.viewport},Mmq9:function(e,t){e.exports=window.wp.url},Ntru:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"}));t.a=i},OzlF:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(c.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=i},Q4Sy:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=i},QyPg:function(e,t){e.exports=window.wp.blockLibrary},RMJe:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.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=i},RxS6:function(e,t){e.exports=window.wp.keycodes},TSYQ:function(e,t,r){var n;
+!function(){var e={4403:function(e,t){var r;
 /*!
   Copyright (c) 2018 Jed Watson.
   Licensed under the MIT License (MIT), see
   http://jedwatson.github.io/classnames
-*/!function(){"use strict";var r={}.hasOwnProperty;function c(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=c.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var o in n)r.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(c.default=c,e.exports=c):void 0===(n=function(){return c}.apply(t,[]))||(e.exports=n)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},TvNi:function(e,t){e.exports=window.wp.plugins},U60i:function(e,t,r){"use strict";r.d(t,"b",(function(){return K})),r.d(t,"c",(function(){return G})),r.d(t,"d",(function(){return Y})),r.d(t,"e",(function(){return X})),r.d(t,"h",(function(){return z})),r.d(t,"f",(function(){return $})),r.d(t,"g",(function(){return ee})),r.d(t,"a",(function(){return D})),r.d(t,"i",(function(){return L}));var n={};r.r(n),r.d(n,"enableComplementaryArea",(function(){return v})),r.d(n,"disableComplementaryArea",(function(){return y})),r.d(n,"pinItem",(function(){return S})),r.d(n,"unpinItem",(function(){return I})),r.d(n,"toggleFeature",(function(){return A})),r.d(n,"setFeatureValue",(function(){return x})),r.d(n,"setFeatureDefaults",(function(){return T}));var c={};r.r(c),r.d(c,"getActiveComplementaryArea",(function(){return B})),r.d(c,"isItemPinned",(function(){return N})),r.d(c,"isFeatureActive",(function(){return C}));var i=r("wx14"),a=r("GRId"),o=r("TSYQ"),s=r.n(o),l=r("tI+e"),d=r("1ZqX"),u=r("l3Sj"),b=r("RMJe"),m=r("URob"),g=r("Xxwi"),p=r("KEfo"),O=r("bWcr"),j=r("YLtl");const f=Object(d.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_DEFAULTS"===t.type){const{scope:r,defaults:n}=t;return{...e,[r]:{...e[r],...n}}}return e}}),_=Object(d.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_VALUE"===t.type){const{scope:r,featureName:n,value:c}=t;return{...e,[r]:{...e[r],[n]:c}}}return e}}),h=Object(d.combineReducers)({singleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:r,scope:n,item:c}=arguments.length>1?arguments[1]:void 0;return"SET_SINGLE_ENABLE_ITEM"===t&&r&&n?{...e,[r]:{...e[r],[n]:c||null}}:e},multipleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:r,scope:n,item:c,isEnable:i}=arguments.length>1?arguments[1]:void 0;if("SET_MULTIPLE_ENABLE_ITEM"!==t||!r||!n||!c||Object(j.get)(e,[r,n,c])===i)return e;const a=e[r]||{},o=a[n]||{};return{...e,[r]:{...a,[n]:{...o,[c]:i||!1}}}}});var w=Object(d.combineReducers)({enableItems:h,preferenceDefaults:f,preferences:_});function E(e,t,r){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:r}}function v(e,t){return E("complementaryArea",e,t)}function y(e){return E("complementaryArea",e,void 0)}function k(e,t,r,n){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:r,isEnable:n}}function S(e,t){return k("pinnedItems",e,t,!0)}function I(e,t){return k("pinnedItems",e,t,!1)}function A(e,t){return function(r){let{select:n,dispatch:c}=r;const i=n.isFeatureActive(e,t);c.setFeatureValue(e,t,!i)}}function x(e,t,r){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!r}}function T(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function B(e,t){return function(e,t,r){return Object(j.get)(e.enableItems.singleEnableItems,[t,r])}(e,"complementaryArea",t)}function N(e,t,r){return!1!==function(e,t,r,n){return Object(j.get)(e.enableItems.multipleEnableItems,[t,r,n])}(e,"pinnedItems",t,r)}function C(e,t,r){var n,c;const i=null===(n=e.preferences.features[t])||void 0===n?void 0:n[r];return!!(void 0!==i?i:null===(c=e.preferenceDefaults.features[t])||void 0===c?void 0:c[r])}const L=Object(d.createReduxStore)("core/interface",{reducer:w,actions:n,selectors:c,persist:["enableItems","preferences"],__experimentalUseThunks:!0});Object(d.registerStore)("core/interface",{reducer:w,actions:n,selectors:c,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var W=r("TvNi"),R=Object(W.withPluginContext)((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`}));var P=R((function(e){let{as:t=l.Button,scope:r,identifier:n,icon:c,selectedIcon:o,...s}=e;const u=t,b=Object(d.useSelect)(e=>e(L).getActiveComplementaryArea(r)===n,[n]),{enableComplementaryArea:m,disableComplementaryArea:g}=Object(d.useDispatch)(L);return Object(a.createElement)(u,Object(i.a)({icon:o&&b?o:c,onClick:()=>{b?g(r):m(r,n)}},Object(j.omit)(s,["name"])))}));var F=e=>{let{smallScreenTitle:t,children:r,className:n,toggleButtonProps:c}=e;const o=Object(a.createElement)(P,Object(i.a)({icon:O.a},c));return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&Object(a.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),o),Object(a.createElement)("div",{className:s()("components-panel__header","interface-complementary-area-header",n),tabIndex:-1},r,o))};function M(e){let{name:t,as:r=l.Button,onClick:n,...c}=e;return Object(a.createElement)(l.Fill,{name:t},e=>{let{onClick:t}=e;return Object(a.createElement)(r,Object(i.a)({onClick:n||t?function(){(n||j.noop)(...arguments),(t||j.noop)(...arguments)}:void 0},c))})}M.Slot=function(e){let{name:t,as:r=l.ButtonGroup,fillProps:n={},bubblesVirtually:c,...i}=e;return Object(a.createElement)(l.Slot,{name:t,bubblesVirtually:c,fillProps:n},e=>{if(Object(j.isEmpty)(a.Children.toArray(e)))return null;const t=[];a.Children.forEach(e,e=>{let{props:{__unstableExplicitMenuItem:r,__unstableTarget:n}}=e;n&&r&&t.push(n)});const n=a.Children.map(e,e=>!e.props.__unstableExplicitMenuItem&&t.includes(e.props.__unstableTarget)?null:e);return Object(a.createElement)(r,i,n)})};var D=M;const V=e=>Object(a.createElement)(l.MenuItem,Object(j.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function G(e){let{scope:t,target:r,__unstableExplicitMenuItem:n,...c}=e;return Object(a.createElement)(P,Object(i.a)({as:e=>Object(a.createElement)(D,Object(i.a)({__unstableExplicitMenuItem:n,__unstableTarget:`${t}/${r}`,as:V,name:t+"/plugin-more-menu"},e)),role:"menuitemcheckbox",selectedIcon:b.a,name:r,scope:t},c))}function U(e){let{scope:t,...r}=e;return Object(a.createElement)(l.Fill,Object(i.a)({name:"PinnedItems/"+t},r))}U.Slot=function(e){let{scope:t,className:r,...n}=e;return Object(a.createElement)(l.Slot,Object(i.a)({name:"PinnedItems/"+t},n),e=>!Object(j.isEmpty)(e)&&Object(a.createElement)("div",{className:s()(r,"interface-pinned-items")},e))};var z=U;function H(e){let{scope:t,children:r,className:n}=e;return Object(a.createElement)(l.Fill,{name:"ComplementaryArea/"+t},Object(a.createElement)("div",{className:n},r))}const q=R((function(e){let{children:t,className:r,closeLabel:n=Object(u.__)("Close plugin"),identifier:c,header:i,headerClassName:o,icon:O,isPinnable:j=!0,panelClassName:f,scope:_,name:h,smallScreenTitle:w,title:E,toggleShortcut:v,isActiveByDefault:y,showIconLabels:k=!1}=e;const{isActive:S,isPinned:I,activeArea:A,isSmall:x,isLarge:T}=Object(d.useSelect)(e=>{const{getActiveComplementaryArea:t,isItemPinned:r}=e(L),n=t(_);return{isActive:n===c,isPinned:r(_,c),activeArea:n,isSmall:e(p.store).isViewportMatch("< medium"),isLarge:e(p.store).isViewportMatch("large")}},[c,_]);!function(e,t,r,n,c){const i=Object(a.useRef)(!1),o=Object(a.useRef)(!1),{enableComplementaryArea:s,disableComplementaryArea:l}=Object(d.useDispatch)(L);Object(a.useEffect)(()=>{n&&c&&!i.current?(l(e),o.current=!0):o.current&&!c&&i.current?(o.current=!1,s(e,t)):o.current&&r&&r!==t&&(o.current=!1),c!==i.current&&(i.current=c)},[n,c,e,t,r])}(_,c,A,S,x);const{enableComplementaryArea:B,disableComplementaryArea:N,pinItem:C,unpinItem:W}=Object(d.useDispatch)(L);return Object(a.useEffect)(()=>{y&&void 0===A&&!x&&B(_,c)},[A,y,_,c,x]),Object(a.createElement)(a.Fragment,null,j&&Object(a.createElement)(z,{scope:_},I&&Object(a.createElement)(P,{scope:_,identifier:c,isPressed:S&&(!k||T),"aria-expanded":S,label:E,icon:k?b.a:O,showTooltip:!k,variant:k?"tertiary":void 0})),h&&j&&Object(a.createElement)(G,{target:h,scope:_,icon:O},E),S&&Object(a.createElement)(H,{className:s()("interface-complementary-area",r),scope:_},Object(a.createElement)(F,{className:o,closeLabel:n,onClose:()=>N(_),smallScreenTitle:w,toggleButtonProps:{label:n,shortcut:v,scope:_,identifier:c}},i||Object(a.createElement)(a.Fragment,null,Object(a.createElement)("strong",null,E),j&&Object(a.createElement)(l.Button,{className:"interface-complementary-area__pin-unpin-item",icon:I?m.a:g.a,label:I?Object(u.__)("Unpin from toolbar"):Object(u.__)("Pin to toolbar"),onClick:()=>(I?W:C)(_,c),isPressed:I,"aria-expanded":I}))),Object(a.createElement)(l.Panel,{className:f},t)))}));q.Slot=function(e){let{scope:t,...r}=e;return Object(a.createElement)(l.Slot,Object(i.a)({name:"ComplementaryArea/"+t},r))};var K=q;var Y=e=>{let{isActive:t}=e;return Object(a.useEffect)(()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}},[]),Object(a.useEffect)(()=>(t?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{t&&document.body.classList.remove("is-fullscreen-mode")}),[t]),null},Q=r("K9lf");var X=Object(a.forwardRef)((function(e,t){let{footer:r,header:n,sidebar:c,secondarySidebar:o,notices:d,content:b,drawer:m,actions:g,labels:p,className:O,shortcuts:j}=e;const f=Object(l.__unstableUseNavigateRegions)(j);!function(e){Object(a.useEffect)(()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}},[e])}("interface-interface-skeleton__html-container");const _={...{drawer:Object(u.__)("Drawer"),header:Object(u.__)("Header"),body:Object(u.__)("Content"),secondarySidebar:Object(u.__)("Block Library"),sidebar:Object(u.__)("Settings"),actions:Object(u.__)("Publish"),footer:Object(u.__)("Footer")},...p};return Object(a.createElement)("div",Object(i.a)({},f,{ref:Object(Q.useMergeRefs)([t,f.ref]),className:s()(O,"interface-interface-skeleton",f.className,!!r&&"has-footer")}),!!m&&Object(a.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":_.drawer,tabIndex:"-1"},m),Object(a.createElement)("div",{className:"interface-interface-skeleton__editor"},!!n&&Object(a.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":_.header,tabIndex:"-1"},n),Object(a.createElement)("div",{className:"interface-interface-skeleton__body"},!!o&&Object(a.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":_.secondarySidebar,tabIndex:"-1"},o),!!d&&Object(a.createElement)("div",{className:"interface-interface-skeleton__notices"},d),Object(a.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":_.body,tabIndex:"-1"},b),!!c&&Object(a.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":_.sidebar,tabIndex:"-1"},c),!!g&&Object(a.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":_.actions,tabIndex:"-1"},g))),!!r&&Object(a.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":_.footer,tabIndex:"-1"},r))})),Z=r("VKE3");function $(e){let{as:t=l.DropdownMenu,className:r,label:n=Object(u.__)("Options"),popoverProps:c,toggleProps:i,children:o}=e;return Object(a.createElement)(t,{className:s()("interface-more-menu-dropdown",r),icon:Z.a,label:n,popoverProps:{position:"bottom left",...c,className:s()("interface-more-menu-dropdown__content",null==c?void 0:c.className)},toggleProps:{tooltipPosition:"bottom",...i}},e=>o(e))}var J=r("gdqT");function ee(e){let{scope:t,label:r,info:n,messageActivated:c,messageDeactivated:i,shortcut:o,feature:s}=e;const m=Object(d.useSelect)(e=>e(L).isFeatureActive(t,s),[s]),{toggleFeature:g}=Object(d.useDispatch)(L);return Object(a.createElement)(l.MenuItem,{icon:m&&b.a,isSelected:m,onClick:()=>{g(t,s),m?Object(J.speak)(i||Object(u.__)("Feature deactivated")):Object(J.speak)(c||Object(u.__)("Feature activated"))},role:"menuitemcheckbox",info:n,shortcut:o},r)}},URob:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.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=i},VKE3:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=i},Xxwi:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.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=i},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},bWcr:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=i},diJD:function(e,t){e.exports=window.wp.reusableBlocks},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},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},"tI+e":function(e,t){e.exports=window.wp.components},w95h:function(e,t,r){"use strict";var n=r("GRId"),c=r("Tqx9");const i=Object(n.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(c.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=i},wx14:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},ywyh:function(e,t){e.exports=window.wp.apiFetch}});
\ No newline at end of file
+*/!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var o=i.apply(null,r);o&&e.push(o)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";r.r(n),r.d(n,{initialize:function(){return nr},reinitializeEditor:function(){return rr}});var e={};r.r(e),r.d(e,{disableComplementaryArea:function(){return W},enableComplementaryArea:function(){return T},pinItem:function(){return P},setFeatureDefaults:function(){return D},setFeatureValue:function(){return M},toggleFeature:function(){return O},unpinItem:function(){return R}});var t={};r.r(t),r.d(t,{getActiveComplementaryArea:function(){return F},isFeatureActive:function(){return G},isItemPinned:function(){return V}});var i={};r.r(i),r.d(i,{closeGeneralSidebar:function(){return Te},moveBlockToWidgetArea:function(){return We},persistStubPost:function(){return ve},saveEditedWidgetAreas:function(){return ye},saveWidgetArea:function(){return Se},saveWidgetAreas:function(){return ke},setIsInserterOpened:function(){return Ce},setIsListViewOpened:function(){return xe},setIsWidgetAreaOpen:function(){return Ne},setWidgetAreasOpenState:function(){return Be},setWidgetIdForClientId:function(){return Ae}});var a={};r.r(a),r.d(a,{getWidgetAreas:function(){return Le},getWidgets:function(){return Pe}});var o={};r.r(o),r.d(o,{__experimentalGetInsertionPoint:function(){return $e},canInsertBlockInWidgetArea:function(){return je},getEditedWidgetAreas:function(){return Ve},getIsWidgetAreaOpen:function(){return Ue},getParentWidgetAreaBlock:function(){return Fe},getReferenceWidgetBlocks:function(){return Ge},getWidget:function(){return Oe},getWidgetAreaForWidgetId:function(){return De},getWidgetAreas:function(){return Me},getWidgets:function(){return Re},isInserterOpened:function(){return He},isListViewOpened:function(){return Ke},isSavingWidgetAreas:function(){return ze}});var s={};r.r(s),r.d(s,{metadata:function(){return rt},name:function(){return nt},settings:function(){return it}});var l=window.wp.element,c=window.wp.blocks,d=window.wp.data,u=window.wp.blockLibrary,m=window.wp.coreData,g=window.wp.widgets;function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}var _=r(4403),h=r.n(_),w=window.wp.components,E=window.wp.i18n,f=window.wp.primitives;var b=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));var v=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.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"}));var y=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.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"})),k=window.wp.viewport;var S=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),I=window.lodash;const A=(0,d.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_DEFAULTS"===t.type){const{scope:r,defaults:n}=t;return{...e,[r]:{...e[r],...n}}}return e}}),B=(0,d.combineReducers)({features(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_FEATURE_VALUE"===t.type){const{scope:r,featureName:n,value:i}=t;return{...e,[r]:{...e[r],[n]:i}}}return e}}),N=(0,d.combineReducers)({singleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:r,scope:n,item:i}=arguments.length>1?arguments[1]:void 0;return"SET_SINGLE_ENABLE_ITEM"===t&&r&&n?{...e,[r]:{...e[r],[n]:i||null}}:e},multipleEnableItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,itemType:r,scope:n,item:i,isEnable:a}=arguments.length>1?arguments[1]:void 0;if("SET_MULTIPLE_ENABLE_ITEM"!==t||!r||!n||!i||(0,I.get)(e,[r,n,i])===a)return e;const o=e[r]||{},s=o[n]||{};return{...e,[r]:{...o,[n]:{...s,[i]:a||!1}}}}});var C=(0,d.combineReducers)({enableItems:N,preferenceDefaults:A,preferences:B});function x(e,t,r){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:r}}function T(e,t){return x("complementaryArea",e,t)}function W(e){return x("complementaryArea",e,void 0)}function L(e,t,r,n){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:r,isEnable:n}}function P(e,t){return L("pinnedItems",e,t,!0)}function R(e,t){return L("pinnedItems",e,t,!1)}function O(e,t){return function(r){let{select:n,dispatch:i}=r;const a=n.isFeatureActive(e,t);i.setFeatureValue(e,t,!a)}}function M(e,t,r){return{type:"SET_FEATURE_VALUE",scope:e,featureName:t,value:!!r}}function D(e,t){return{type:"SET_FEATURE_DEFAULTS",scope:e,defaults:t}}function F(e,t){return function(e,t,r){return(0,I.get)(e.enableItems.singleEnableItems,[t,r])}(e,"complementaryArea",t)}function V(e,t,r){return!1!==function(e,t,r,n){return(0,I.get)(e.enableItems.multipleEnableItems,[t,r,n])}(e,"pinnedItems",t,r)}function G(e,t,r){var n,i;const a=null===(n=e.preferences.features[t])||void 0===n?void 0:n[r];return!!(void 0!==a?a:null===(i=e.preferenceDefaults.features[t])||void 0===i?void 0:i[r])}const z="core/interface",U=(0,d.createReduxStore)(z,{reducer:C,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});(0,d.registerStore)(z,{reducer:C,actions:e,selectors:t,persist:["enableItems","preferences"],__experimentalUseThunks:!0});var H=window.wp.plugins,$=(0,H.withPluginContext)(((e,t)=>({icon:t.icon||e.icon,identifier:t.identifier||`${e.name}/${t.name}`})));var j=$((function(e){let{as:t=w.Button,scope:r,identifier:n,icon:i,selectedIcon:a,...o}=e;const s=t,c=(0,d.useSelect)((e=>e(U).getActiveComplementaryArea(r)===n),[n]),{enableComplementaryArea:u,disableComplementaryArea:m}=(0,d.useDispatch)(U);return(0,l.createElement)(s,p({icon:a&&c?a:i,onClick:()=>{c?m(r):u(r,n)}},(0,I.omit)(o,["name"])))}));var K=e=>{let{smallScreenTitle:t,children:r,className:n,toggleButtonProps:i}=e;const a=(0,l.createElement)(j,p({icon:S},i));return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&(0,l.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),a),(0,l.createElement)("div",{className:h()("components-panel__header","interface-complementary-area-header",n),tabIndex:-1},r,a))};function Y(e){let{name:t,as:r=w.Button,onClick:n,...i}=e;return(0,l.createElement)(w.Fill,{name:t},(e=>{let{onClick:t}=e;return(0,l.createElement)(r,p({onClick:n||t?function(){(n||I.noop)(...arguments),(t||I.noop)(...arguments)}:void 0},i))}))}Y.Slot=function(e){let{name:t,as:r=w.ButtonGroup,fillProps:n={},bubblesVirtually:i,...a}=e;return(0,l.createElement)(w.Slot,{name:t,bubblesVirtually:i,fillProps:n},(e=>{if((0,I.isEmpty)(l.Children.toArray(e)))return null;const t=[];l.Children.forEach(e,(e=>{let{props:{__unstableExplicitMenuItem:r,__unstableTarget:n}}=e;n&&r&&t.push(n)}));const n=l.Children.map(e,(e=>!e.props.__unstableExplicitMenuItem&&t.includes(e.props.__unstableTarget)?null:e));return(0,l.createElement)(r,a,n)}))};var q=Y;const Q=e=>(0,l.createElement)(w.MenuItem,(0,I.omit)(e,["__unstableExplicitMenuItem","__unstableTarget"]));function J(e){let{scope:t,target:r,__unstableExplicitMenuItem:n,...i}=e;return(0,l.createElement)(j,p({as:e=>(0,l.createElement)(q,p({__unstableExplicitMenuItem:n,__unstableTarget:`${t}/${r}`,as:Q,name:`${t}/plugin-more-menu`},e)),role:"menuitemcheckbox",selectedIcon:b,name:r,scope:t},i))}function X(e){let{scope:t,...r}=e;return(0,l.createElement)(w.Fill,p({name:`PinnedItems/${t}`},r))}X.Slot=function(e){let{scope:t,className:r,...n}=e;return(0,l.createElement)(w.Slot,p({name:`PinnedItems/${t}`},n),(e=>!(0,I.isEmpty)(e)&&(0,l.createElement)("div",{className:h()(r,"interface-pinned-items")},e)))};var Z=X;function ee(e){let{scope:t,children:r,className:n}=e;return(0,l.createElement)(w.Fill,{name:`ComplementaryArea/${t}`},(0,l.createElement)("div",{className:n},r))}const te=$((function(e){let{children:t,className:r,closeLabel:n=(0,E.__)("Close plugin"),identifier:i,header:a,headerClassName:o,icon:s,isPinnable:c=!0,panelClassName:u,scope:m,name:g,smallScreenTitle:p,title:_,toggleShortcut:f,isActiveByDefault:S,showIconLabels:I=!1}=e;const{isActive:A,isPinned:B,activeArea:N,isSmall:C,isLarge:x}=(0,d.useSelect)((e=>{const{getActiveComplementaryArea:t,isItemPinned:r}=e(U),n=t(m);return{isActive:n===i,isPinned:r(m,i),activeArea:n,isSmall:e(k.store).isViewportMatch("< medium"),isLarge:e(k.store).isViewportMatch("large")}}),[i,m]);!function(e,t,r,n,i){const a=(0,l.useRef)(!1),o=(0,l.useRef)(!1),{enableComplementaryArea:s,disableComplementaryArea:c}=(0,d.useDispatch)(U);(0,l.useEffect)((()=>{n&&i&&!a.current?(c(e),o.current=!0):o.current&&!i&&a.current?(o.current=!1,s(e,t)):o.current&&r&&r!==t&&(o.current=!1),i!==a.current&&(a.current=i)}),[n,i,e,t,r])}(m,i,N,A,C);const{enableComplementaryArea:T,disableComplementaryArea:W,pinItem:L,unpinItem:P}=(0,d.useDispatch)(U);return(0,l.useEffect)((()=>{S&&void 0===N&&!C&&T(m,i)}),[N,S,m,i,C]),(0,l.createElement)(l.Fragment,null,c&&(0,l.createElement)(Z,{scope:m},B&&(0,l.createElement)(j,{scope:m,identifier:i,isPressed:A&&(!I||x),"aria-expanded":A,label:_,icon:I?b:s,showTooltip:!I,variant:I?"tertiary":void 0})),g&&c&&(0,l.createElement)(J,{target:g,scope:m,icon:s},_),A&&(0,l.createElement)(ee,{className:h()("interface-complementary-area",r),scope:m},(0,l.createElement)(K,{className:o,closeLabel:n,onClose:()=>W(m),smallScreenTitle:p,toggleButtonProps:{label:n,shortcut:f,scope:m,identifier:i}},a||(0,l.createElement)(l.Fragment,null,(0,l.createElement)("strong",null,_),c&&(0,l.createElement)(w.Button,{className:"interface-complementary-area__pin-unpin-item",icon:B?v:y,label:B?(0,E.__)("Unpin from toolbar"):(0,E.__)("Pin to toolbar"),onClick:()=>(B?P:L)(m,i),isPressed:B,"aria-expanded":B}))),(0,l.createElement)(w.Panel,{className:u},t)))}));te.Slot=function(e){let{scope:t,...r}=e;return(0,l.createElement)(w.Slot,p({name:`ComplementaryArea/${t}`},r))};var re=te,ne=window.wp.compose;var ie=(0,l.forwardRef)((function(e,t){let{footer:r,header:n,sidebar:i,secondarySidebar:a,notices:o,content:s,drawer:c,actions:d,labels:u,className:m,shortcuts:g}=e;const _=(0,w.__unstableUseNavigateRegions)(g);!function(e){(0,l.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");const f={...{drawer:(0,E.__)("Drawer"),header:(0,E.__)("Header"),body:(0,E.__)("Content"),secondarySidebar:(0,E.__)("Block Library"),sidebar:(0,E.__)("Settings"),actions:(0,E.__)("Publish"),footer:(0,E.__)("Footer")},...u};return(0,l.createElement)("div",p({},_,{ref:(0,ne.useMergeRefs)([t,_.ref]),className:h()(m,"interface-interface-skeleton",_.className,!!r&&"has-footer")}),!!c&&(0,l.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":f.drawer,tabIndex:"-1"},c),(0,l.createElement)("div",{className:"interface-interface-skeleton__editor"},!!n&&(0,l.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":f.header,tabIndex:"-1"},n),(0,l.createElement)("div",{className:"interface-interface-skeleton__body"},!!a&&(0,l.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":f.secondarySidebar,tabIndex:"-1"},a),!!o&&(0,l.createElement)("div",{className:"interface-interface-skeleton__notices"},o),(0,l.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":f.body,tabIndex:"-1"},s),!!i&&(0,l.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":f.sidebar,tabIndex:"-1"},i),!!d&&(0,l.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":f.actions,tabIndex:"-1"},d))),!!r&&(0,l.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":f.footer,tabIndex:"-1"},r))}));var ae=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));function oe(e){let{as:t=w.DropdownMenu,className:r,label:n=(0,E.__)("Options"),popoverProps:i,toggleProps:a,children:o}=e;return(0,l.createElement)(t,{className:h()("interface-more-menu-dropdown",r),icon:ae,label:n,popoverProps:{position:"bottom left",...i,className:h()("interface-more-menu-dropdown__content",null==i?void 0:i.className)},toggleProps:{tooltipPosition:"bottom",...a}},(e=>o(e)))}var se=window.wp.a11y;function le(e){let{scope:t,label:r,info:n,messageActivated:i,messageDeactivated:a,shortcut:o,feature:s}=e;const c=(0,d.useSelect)((e=>e(U).isFeatureActive(t,s)),[s]),{toggleFeature:u}=(0,d.useDispatch)(U);return(0,l.createElement)(w.MenuItem,{icon:c&&b,isSelected:c,onClick:()=>{u(t,s),c?(0,se.speak)(a||(0,E.__)("Feature deactivated")):(0,se.speak)(i||(0,E.__)("Feature activated"))},role:"menuitemcheckbox",info:n,shortcut:o},r)}var ce=window.wp.apiFetch,de=r.n(ce);var ue=(0,d.combineReducers)({blockInserterPanel: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_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel: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_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e},widgetAreasOpenState:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{type:r}=t;switch(r){case"SET_WIDGET_AREAS_OPEN_STATE":return t.widgetAreasOpenState;case"SET_IS_WIDGET_AREA_OPEN":{const{clientId:r,isOpen:n}=t;return{...e,[r]:n}}default:return e}}}),me=window.wp.notices,ge=window.wp.blockEditor;function pe(e){if("block"===e.id_base){const t=(0,c.parse)(e.instance.raw.content);return t.length?(0,g.addWidgetIdToBlock)(t[0],e.id):(0,g.addWidgetIdToBlock)((0,c.createBlock)("core/paragraph",{},[]),e.id)}let t;return t=e._embedded.about[0].is_multi?{idBase:e.id_base,instance:e.instance}:{id:e.id},(0,g.addWidgetIdToBlock)((0,c.createBlock)("core/legacy-widget",t,[]),e.id)}function _e(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="core/legacy-widget"===e.name&&(e.attributes.id||e.attributes.instance);var i,a,o;n?t={...r,id:null!==(i=e.attributes.id)&&void 0!==i?i:r.id,id_base:null!==(a=e.attributes.idBase)&&void 0!==a?a:r.id_base,instance:null!==(o=e.attributes.instance)&&void 0!==o?o:r.instance}:t={...r,id_base:"block",instance:{raw:{content:(0,c.serialize)(e)}}};return delete t.rendered,delete t.rendered_form,t}const he="root",we="sidebar",Ee="postType",fe=e=>`widget-area-${e}`;const be="core/edit-widgets",ve=(e,t)=>r=>{let{registry:n}=r;const i=((e,t)=>({id:e,slug:e,status:"draft",type:"page",blocks:t,meta:{widgetAreaId:e}}))(e,t);return n.dispatch(m.store).receiveEntityRecords(he,Ee,i,{id:i.id},!1),i},ye=()=>async e=>{let{select:t,dispatch:r,registry:n}=e;const i=t.getEditedWidgetAreas();if(null!=i&&i.length)try{await r.saveWidgetAreas(i),n.dispatch(me.store).createSuccessNotice((0,E.__)("Widgets saved."),{type:"snackbar"})}catch(e){n.dispatch(me.store).createErrorNotice((0,E.sprintf)((0,E.__)("There was an error. %s"),e.message),{type:"snackbar"})}},ke=e=>async t=>{let{dispatch:r,registry:n}=t;try{for(const t of e)await r.saveWidgetArea(t.id)}finally{await n.dispatch(m.store).finishResolution("getEntityRecord",he,we,{per_page:-1})}},Se=e=>async t=>{let{dispatch:r,select:n,registry:i}=t;const a=n.getWidgets(),o=i.select(m.store).getEditedEntityRecord(he,Ee,fe(e)),s=Object.values(a).filter((t=>{let{sidebar:r}=t;return r===e})),l=[],c=o.blocks.filter((e=>{const{id:t}=e.attributes;if("core/legacy-widget"===e.name&&t){if(l.includes(t))return!1;l.push(t)}return!0})),d=[];for(const e of s){n.getWidgetAreaForWidgetId(e.id)||d.push(e)}const u=[],p=[],_=[];for(let t=0;t<c.length;t++){const r=c[t],n=(0,g.getWidgetIdFromBlock)(r),o=a[n],s=_e(r,o);if(_.push(n),o){i.dispatch(m.store).editEntityRecord("root","widget",n,{...s,sidebar:e},{undoIgnore:!0});if(!i.select(m.store).hasEditsForEntityRecord("root","widget",n))continue;p.push((e=>{let{saveEditedEntityRecord:t}=e;return t("root","widget",n)}))}else p.push((t=>{let{saveEntityRecord:r}=t;return r("root","widget",{...s,sidebar:e})}));u.push({block:r,position:t,clientId:r.clientId})}for(const e of d)p.push((t=>{let{deleteEntityRecord:r}=t;return r("root","widget",e.id,{force:!0})}));const h=(await i.dispatch(m.store).__experimentalBatch(p)).filter((e=>!e.hasOwnProperty("deleted"))),w=[];for(let e=0;e<h.length;e++){const t=h[e],{block:r,position:n}=u[e];o.blocks[n].attributes.__internalWidgetId=t.id;var f;if(i.select(m.store).getLastEntitySaveError("root","widget",t.id))w.push((null===(f=r.attributes)||void 0===f?void 0:f.name)||(null==r?void 0:r.name));_[n]||(_[n]=t.id)}if(w.length)throw new Error((0,E.sprintf)((0,E.__)("Could not save the following widgets: %s."),w.join(", ")));i.dispatch(m.store).editEntityRecord(he,we,e,{widgets:_},{undoIgnore:!0}),r(Ie(e)),i.dispatch(m.store).receiveEntityRecords(he,Ee,o,void 0)},Ie=e=>t=>{let{registry:r}=t;const n=r.select(m.store).getLastEntitySaveError(he,we,e);r.dispatch(m.store).saveEditedEntityRecord(he,we,e);const i=r.select(m.store).getLastEntitySaveError(he,we,e);if(i&&n!==i)throw new Error(i)};function Ae(e,t){return{type:"SET_WIDGET_ID_FOR_CLIENT_ID",clientId:e,widgetId:t}}function Be(e){return{type:"SET_WIDGET_AREAS_OPEN_STATE",widgetAreasOpenState:e}}function Ne(e,t){return{type:"SET_IS_WIDGET_AREA_OPEN",clientId:e,isOpen:t}}function Ce(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function xe(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}const Te=()=>e=>{let{registry:t}=e;t.dispatch(U).disableComplementaryArea(be)},We=(e,t)=>async r=>{let{dispatch:n,select:i,registry:a}=r;const o=a.select(ge.store).getBlockRootClientId([e]),s=a.select(ge.store).getBlocks().find((e=>{let{attributes:r}=e;return r.id===t})).clientId,l=a.select(ge.store).getBlockOrder(s).length;i.getIsWidgetAreaOpen(s)||n.setIsWidgetAreaOpen(s,!0),a.dispatch(ge.store).moveBlocksToPosition([e],o,s,l)},Le=()=>async e=>{let{dispatch:t,registry:r}=e;const n={per_page:-1},i=[],a=(await r.resolveSelect(m.store).getEntityRecords(he,we,n)).sort(((e,t)=>"wp_inactive_widgets"===e.id?1:"wp_inactive_widgets"===t.id?-1:0));for(const e of a)i.push((0,c.createBlock)("core/widget-area",{id:e.id,name:e.name})),e.widgets.length||t(ve(fe(e.id),[]));const o={};i.forEach(((e,t)=>{o[e.clientId]=0===t})),t(Be(o)),t(ve("widget-areas",i))},Pe=()=>async e=>{let{dispatch:t,registry:r}=e;const n={per_page:-1,_embed:"about"},i=await r.resolveSelect(m.store).getEntityRecords("root","widget",n),a={};for(const e of i){const t=pe(e);a[e.sidebar]=a[e.sidebar]||[],a[e.sidebar].push(t)}for(const e in a)a.hasOwnProperty(e)&&t(ve(fe(e),a[e]))},Re=(0,d.createRegistrySelector)((e=>()=>{const t=e(m.store).getEntityRecords("root","widget",{per_page:-1,_embed:"about"});return(0,I.keyBy)(t,"id")})),Oe=(0,d.createRegistrySelector)((e=>(t,r)=>e(be).getWidgets()[r])),Me=(0,d.createRegistrySelector)((e=>()=>{const t={per_page:-1};return e(m.store).getEntityRecords(he,we,t)})),De=(0,d.createRegistrySelector)((e=>(t,r)=>e(be).getWidgetAreas().find((t=>e(m.store).getEditedEntityRecord(he,Ee,fe(t.id)).blocks.map((e=>(0,g.getWidgetIdFromBlock)(e))).includes(r))))),Fe=(0,d.createRegistrySelector)((e=>(t,r)=>{const{getBlock:n,getBlockName:i,getBlockParents:a}=e(ge.store);return n(a(r).find((e=>"core/widget-area"===i(e))))})),Ve=(0,d.createRegistrySelector)((e=>(t,r)=>{let n=e(be).getWidgetAreas();return n?(r&&(n=n.filter((e=>{let{id:t}=e;return r.includes(t)}))),n.filter((t=>{let{id:r}=t;return e(m.store).hasEditsForEntityRecord(he,Ee,fe(r))})).map((t=>{let{id:r}=t;return e(m.store).getEditedEntityRecord(he,we,r)}))):[]})),Ge=(0,d.createRegistrySelector)((e=>function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=[],i=e(be).getWidgetAreas();for(const t of i){const i=e(m.store).getEditedEntityRecord(he,Ee,fe(t.id));for(const e of i.blocks){var a;"core/legacy-widget"!==e.name||r&&(null===(a=e.attributes)||void 0===a?void 0:a.referenceWidgetName)!==r||n.push(e)}}return n})),ze=(0,d.createRegistrySelector)((e=>()=>{var t;const r=null===(t=e(be).getWidgetAreas())||void 0===t?void 0:t.map((e=>{let{id:t}=e;return t}));if(!r)return!1;for(const t of r){if(e(m.store).isSavingEntityRecord(he,we,t))return!0}const n=[...Object.keys(e(be).getWidgets()),void 0];for(const t of n){if(e(m.store).isSavingEntityRecord("root","widget",t))return!0}return!1})),Ue=(e,t)=>{const{widgetAreasOpenState:r}=e;return!!r[t]};function He(e){return!!e.blockInserterPanel}function $e(e){const{rootClientId:t,insertionIndex:r}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:r}}const je=(0,d.createRegistrySelector)((e=>(t,r)=>{const n=e(ge.store).getBlocks(),[i]=n;return e(ge.store).canInsertBlockType(r,i.clientId)}));function Ke(e){return e.listViewPanel}const Ye={reducer:ue,selectors:o,resolvers:a,actions:i,__experimentalUseThunks:!0},qe=(0,d.createReduxStore)(be,Ye);(0,d.registerStore)(be,Ye),de().use((function(e,t){var r;return 0===(null===(r=e.path)||void 0===r?void 0:r.indexOf("/wp/v2/types/widget-area"))?Promise.resolve({}):t(e)}));var Qe=window.wp.hooks;const Je=(0,ne.createHigherOrderComponent)((e=>t=>{const{clientId:r,name:n}=t,{widgetAreas:i,currentWidgetAreaId:a,canInsertBlockInWidgetArea:o}=(0,d.useSelect)((e=>{var t;if("core/widget-area"===n)return{};const i=e(qe),a=i.getParentWidgetAreaBlock(r);return{widgetAreas:i.getWidgetAreas(),currentWidgetAreaId:null==a||null===(t=a.attributes)||void 0===t?void 0:t.id,canInsertBlockInWidgetArea:i.canInsertBlockInWidgetArea(n)}}),[r,n]),{moveBlockToWidgetArea:s}=(0,d.useDispatch)(qe),c=(null==i?void 0:i.length)>1,u="core/widget-area"!==n&&c&&o;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(e,t),u&&(0,l.createElement)(ge.BlockControls,null,(0,l.createElement)(g.MoveToWidgetArea,{widgetAreas:i,currentWidgetAreaId:a,onSelect:e=>{s(t.clientId,e)}})))}),"withMoveToWidgetAreaToolbarItem");(0,Qe.addFilter)("editor.BlockEdit","core/edit-widgets/block-edit",Je);var Xe=window.wp.mediaUtils;(0,Qe.addFilter)("editor.MediaUpload","core/edit-widgets/replace-media-upload",(()=>Xe.MediaUpload));var Ze=e=>{const[t,r]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{const{ownerDocument:t}=e.current;function n(e){a(e)}function i(){r(!1)}function a(t){e.current.contains(t.target)?r(!0):r(!1)}return t.addEventListener("dragstart",n),t.addEventListener("dragend",i),t.addEventListener("dragenter",a),()=>{t.removeEventListener("dragstart",n),t.removeEventListener("dragend",i),t.removeEventListener("dragenter",a)}}),[]),t};function et(e){let{id:t}=e;const[r,n,i]=(0,m.useEntityBlockEditor)("root","postType"),a=(0,l.useRef)(),o=Ze(a),s=(0,ge.useInnerBlocksProps)({ref:a},{value:r,onInput:n,onChange:i,templateLock:!1,renderAppender:ge.InnerBlocks.ButtonBlockAppender});return(0,l.createElement)("div",{"data-widget-area-id":t,className:h()("wp-block-widget-area__inner-blocks block-editor-inner-blocks editor-styles-wrapper",{"wp-block-widget-area__highlight-drop-zone":o})},(0,l.createElement)("div",s))}const tt=e=>{const[t,r]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{const{ownerDocument:t}=e.current;function n(){r(!0)}function i(){r(!1)}return t.addEventListener("dragstart",n),t.addEventListener("dragend",i),()=>{t.removeEventListener("dragstart",n),t.removeEventListener("dragend",i)}}),[]),t},rt={name:"core/widget-area",category:"widgets",attributes:{id:{type:"string"},name:{type:"string"}},supports:{html:!1,inserter:!1,customClassName:!1,reusable:!1,__experimentalToolbar:!1,__experimentalParentSelector:!1},editorStyle:"wp-block-widget-area-editor",style:"wp-block-widget-area"},{name:nt}=rt,it={title:(0,E.__)("Widget Area"),description:(0,E.__)("A widget area container."),__experimentalLabel:e=>{let{name:t}=e;return t},edit:function(e){let{clientId:t,className:r,attributes:{id:n,name:i}}=e;const a=(0,d.useSelect)((e=>e(qe).getIsWidgetAreaOpen(t)),[t]),{setIsWidgetAreaOpen:o}=(0,d.useDispatch)(qe),s=(0,l.useRef)(),c=(0,l.useCallback)((e=>o(t,e)),[t]),u=tt(s),g=Ze(s),[p,_]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{u?g&&!a?(c(!0),_(!0)):!g&&a&&p&&c(!1):_(!1)}),[a,u,g,p]),(0,l.createElement)(w.Panel,{className:r,ref:s},(0,l.createElement)(w.PanelBody,{title:i,opened:a,onToggle:()=>{o(t,!a)},scrollAfterOpen:!u},(e=>{let{opened:t}=e;return(0,l.createElement)(w.__unstableDisclosureContent,{className:"wp-block-widget-area__panel-body-content",visible:t},(0,l.createElement)(m.EntityProvider,{kind:"root",type:"postType",id:`widget-area-${n}`},(0,l.createElement)(et,{id:n})))})))}};function at(e){let{text:t,children:r}=e;const n=(0,ne.useCopyToClipboard)(t);return(0,l.createElement)(w.Button,{variant:"secondary",ref:n},r)}class ot extends l.Component{constructor(){super(...arguments),this.reboot=this.reboot.bind(this),this.state={error:null}}componentDidCatch(e){this.setState({error:e})}reboot(){this.props.onError()}render(){const{error:e}=this.state;return e?(0,l.createElement)(ge.Warning,{className:"edit-widgets-error-boundary",actions:[(0,l.createElement)(w.Button,{key:"recovery",onClick:this.reboot,variant:"secondary"},(0,E.__)("Attempt Recovery")),(0,l.createElement)(at,{key:"copy-error",text:e.stack},(0,E.__)("Copy Error"))]},(0,E.__)("The editor has encountered an unexpected error.")):this.props.children}}var st=window.wp.reusableBlocks,lt=window.wp.keyboardShortcuts;function ct(){const{redo:e,undo:t}=(0,d.useDispatch)(m.store),{saveEditedWidgetAreas:r}=(0,d.useDispatch)(qe);return(0,lt.useShortcut)("core/edit-widgets/undo",(e=>{t(),e.preventDefault()})),(0,lt.useShortcut)("core/edit-widgets/redo",(t=>{e(),t.preventDefault()})),(0,lt.useShortcut)("core/edit-widgets/save",(e=>{e.preventDefault(),r()})),null}ct.Register=function(){const{registerShortcut:e}=(0,d.useDispatch)(lt.store);return(0,l.useEffect)((()=>{e({name:"core/edit-widgets/undo",category:"global",description:(0,E.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-widgets/redo",category:"global",description:(0,E.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}}),e({name:"core/edit-widgets/save",category:"global",description:(0,E.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/edit-widgets/keyboard-shortcuts",category:"main",description:(0,E.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}}),e({name:"core/edit-widgets/next-region",category:"global",description:(0,E.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),e({name:"core/edit-widgets/previous-region",category:"global",description:(0,E.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"}]})}),[e]),null};var dt=ct;var ut=()=>(0,d.useSelect)((e=>{var t;const{getBlockSelectionEnd:r,getBlockName:n}=e(ge.store),i=r();if("core/widget-area"===n(i))return i;const{getParentWidgetAreaBlock:a}=e(qe),o=a(i),s=null==o?void 0:o.clientId;if(s)return s;const{getEntityRecord:l}=e(m.store),c=l(he,Ee,"widget-areas");return null==c||null===(t=c.blocks[0])||void 0===t?void 0:t.clientId}),[]);function mt(e){let{blockEditorSettings:t,children:r,...n}=e;const{hasUploadPermissions:i,reusableBlocks:a,isFixedToolbarActive:o,keepCaretInsideBlock:s}=(0,d.useSelect)((e=>({hasUploadPermissions:(0,I.defaultTo)(e(m.store).canUser("create","media"),!0),widgetAreas:e(qe).getWidgetAreas(),widgets:e(qe).getWidgets(),reusableBlocks:[],isFixedToolbarActive:e(U).isFeatureActive("core/edit-widgets","fixedToolbar"),keepCaretInsideBlock:e(U).isFeatureActive("core/edit-widgets","keepCaretInsideBlock")})),[]),{setIsInserterOpened:c}=(0,d.useDispatch)(qe),u=(0,l.useMemo)((()=>{let e;return i&&(e=e=>{let{onError:r,...n}=e;(0,Xe.uploadMedia)({wpAllowedMimeTypes:t.allowedMimeTypes,onError:e=>{let{message:t}=e;return r(t)},...n})}),{...t,__experimentalReusableBlocks:a,hasFixedToolbar:o,keepCaretInsideBlock:s,mediaUpload:e,templateLock:"all",__experimentalSetIsInserterOpened:c}}),[t,o,s,i,a,c]),g=ut(),[_,h,E]=(0,m.useEntityBlockEditor)(he,Ee,{id:"widget-areas"});return(0,l.createElement)(lt.ShortcutProvider,null,(0,l.createElement)(ge.BlockEditorKeyboardShortcuts.Register,null),(0,l.createElement)(dt.Register,null),(0,l.createElement)(w.SlotFillProvider,null,(0,l.createElement)(ge.BlockEditorProvider,p({value:_,onInput:h,onChange:E,settings:u,useSubRegistry:!1},n),(0,l.createElement)(ge.CopyHandler,null,r),(0,l.createElement)(st.ReusableBlocksMenuItems,{rootClientId:g}))))}var gt=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"}));var pt=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.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=window.wp.url,ht=window.wp.dom;function wt(e){let{selectedWidgetAreaId:t}=e;const r=(0,d.useSelect)((e=>e(qe).getWidgetAreas()),[]),n=(0,l.useMemo)((()=>t&&(null==r?void 0:r.find((e=>e.id===t)))),[t,r]);let i;return i=n?"wp_inactive_widgets"===t?(0,E.__)("Blocks in this Widget Area will not be displayed in your site."):n.description:(0,E.__)("Widget Areas are global parts in your site’s layout that can accept blocks. These vary by theme, but are typically parts like your Sidebar or Footer."),(0,l.createElement)("div",{className:"edit-widgets-widget-areas"},(0,l.createElement)("div",{className:"edit-widgets-widget-areas__top-container"},(0,l.createElement)(ge.BlockIcon,{icon:pt}),(0,l.createElement)("div",null,(0,l.createElement)("p",{dangerouslySetInnerHTML:{__html:(0,ht.safeHTML)(i)}}),0===(null==r?void 0:r.length)&&(0,l.createElement)("p",null,(0,E.__)("Your theme does not contain any Widget Areas.")),!n&&(0,l.createElement)(w.Button,{href:(0,_t.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),variant:"tertiary"},(0,E.__)("Manage with live preview")))))}const Et=l.Platform.select({web:!0,native:!1}),ft="edit-widgets/block-inspector",bt="edit-widgets/block-areas";function vt(e){let{identifier:t,label:r,isActive:n}=e;const{enableComplementaryArea:i}=(0,d.useDispatch)(U);return(0,l.createElement)(w.Button,{onClick:()=>i(qe.name,t),className:h()("edit-widgets-sidebar__panel-tab",{"is-active":n}),"aria-label":n?(0,E.sprintf)((0,E.__)("%s (selected)"),r):r,"data-label":r},r)}function yt(){const{enableComplementaryArea:e}=(0,d.useDispatch)(U),{currentArea:t,hasSelectedNonAreaBlock:r,isGeneralSidebarOpen:n,selectedWidgetAreaBlock:i}=(0,d.useSelect)((e=>{const{getSelectedBlock:t,getBlock:r,getBlockParentsByBlockName:n}=e(ge.store),{getActiveComplementaryArea:i}=e(U),a=t(),o=i(qe.name);let s,l=o;return l||(l=a?ft:bt),a&&(s="core/widget-area"===a.name?a:r(n(a.clientId,"core/widget-area")[0])),{currentArea:l,hasSelectedNonAreaBlock:!(!a||"core/widget-area"===a.name),isGeneralSidebarOpen:!!o,selectedWidgetAreaBlock:s}}),[]);return(0,l.useEffect)((()=>{r&&t===bt&&n&&e("core/edit-widgets",ft),!r&&t===ft&&n&&e("core/edit-widgets",bt)}),[r,e]),(0,l.createElement)(re,{className:"edit-widgets-sidebar",header:(0,l.createElement)("ul",null,(0,l.createElement)("li",null,(0,l.createElement)(vt,{identifier:bt,label:i?i.attributes.name:(0,E.__)("Widget Areas"),isActive:t===bt})),(0,l.createElement)("li",null,(0,l.createElement)(vt,{identifier:ft,label:(0,E.__)("Block"),isActive:t===ft}))),headerClassName:"edit-widgets-sidebar__panel-tabs",title:(0,E.__)("Settings"),closeLabel:(0,E.__)("Close settings"),scope:"core/edit-widgets",identifier:t,icon:gt,isActiveByDefault:Et},t===bt&&(0,l.createElement)(wt,{selectedWidgetAreaId:null==i?void 0:i.attributes.id}),t===ft&&(r?(0,l.createElement)(ge.BlockInspector,null):(0,l.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},(0,E.__)("No block selected."))))}var kt=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));var St=(0,l.createElement)(f.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)(f.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));var It=function(){const{hasEditedWidgetAreaIds:e,isSaving:t}=(0,d.useSelect)((e=>{var t;const{getEditedWidgetAreas:r,isSavingWidgetAreas:n}=e(qe);return{hasEditedWidgetAreaIds:(null===(t=r())||void 0===t?void 0:t.length)>0,isSaving:n()}}),[]),{saveEditedWidgetAreas:r}=(0,d.useDispatch)(qe);return(0,l.createElement)(w.Button,{variant:"primary",isBusy:t,"aria-disabled":t,onClick:t?void 0:r,disabled:!e},t?(0,E.__)("Saving…"):(0,E.__)("Update"))};var At=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"}));var Bt=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})),Nt=window.wp.keycodes;function Ct(){const e=(0,d.useSelect)((e=>e(m.store).hasUndo()),[]),{undo:t}=(0,d.useDispatch)(m.store);return(0,l.createElement)(w.ToolbarButton,{icon:(0,E.isRTL)()?Bt:At,label:(0,E.__)("Undo"),shortcut:Nt.displayShortcut.primary("z"),"aria-disabled":!e,onClick:e?t:void 0})}function xt(){const e=(0,d.useSelect)((e=>e(m.store).hasRedo()),[]),{redo:t}=(0,d.useDispatch)(m.store);return(0,l.createElement)(w.ToolbarButton,{icon:(0,E.isRTL)()?At:Bt,label:(0,E.__)("Redo"),shortcut:Nt.displayShortcut.primaryShift("z"),"aria-disabled":!e,onClick:e?t:void 0})}var Tt=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"}));const Wt=[{keyCombination:{modifier:"primary",character:"b"},description:(0,E.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:(0,E.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:(0,E.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:(0,E.__)("Remove a link.")},{keyCombination:{modifier:"primary",character:"u"},description:(0,E.__)("Underline the selected text.")}];function Lt(e){let{keyCombination:t,forceAriaLabel:r}=e;const n=t.modifier?Nt.displayShortcutList[t.modifier](t.character):t.character,i=t.modifier?Nt.shortcutAriaLabel[t.modifier](t.character):t.character;return(0,l.createElement)("kbd",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":r||i},(0,I.castArray)(n).map(((e,t)=>"+"===e?(0,l.createElement)(l.Fragment,{key:t},e):(0,l.createElement)("kbd",{key:t,className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key"},e))))}var Pt=function(e){let{description:t,keyCombination:r,aliases:n=[],ariaLabel:i}=e;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-description"},t),(0,l.createElement)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-term"},(0,l.createElement)(Lt,{keyCombination:r,forceAriaLabel:i}),n.map(((e,t)=>(0,l.createElement)(Lt,{keyCombination:e,forceAriaLabel:i,key:t})))))};var Rt=function(e){let{name:t}=e;const{keyCombination:r,description:n,aliases:i}=(0,d.useSelect)((e=>{const{getShortcutKeyCombination:r,getShortcutDescription:n,getShortcutAliases:i}=e(lt.store);return{keyCombination:r(t),aliases:i(t),description:n(t)}}),[t]);return r?(0,l.createElement)(Pt,{keyCombination:r,description:n,aliases:i}):null};const Ot=e=>{let{shortcuts:t}=e;return(0,l.createElement)("ul",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-list",role:"list"},t.map(((e,t)=>(0,l.createElement)("li",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut",key:t},(0,I.isString)(e)?(0,l.createElement)(Rt,{name:e}):(0,l.createElement)(Pt,e)))))},Mt=e=>{let{title:t,shortcuts:r,className:n}=e;return(0,l.createElement)("section",{className:h()("edit-widgets-keyboard-shortcut-help-modal__section",n)},!!t&&(0,l.createElement)("h2",{className:"edit-widgets-keyboard-shortcut-help-modal__section-title"},t),(0,l.createElement)(Ot,{shortcuts:r}))},Dt=e=>{let{title:t,categoryName:r,additionalShortcuts:n=[]}=e;const i=(0,d.useSelect)((e=>e(lt.store).getCategoryShortcuts(r)),[r]);return(0,l.createElement)(Mt,{title:t,shortcuts:i.concat(n)})};function Ft(e){let{isModalActive:t,toggleModal:r}=e;return(0,lt.useShortcut)("core/edit-widgets/keyboard-shortcuts",r,{bindGlobal:!0}),t?(0,l.createElement)(w.Modal,{className:"edit-widgets-keyboard-shortcut-help-modal",title:(0,E.__)("Keyboard shortcuts"),closeLabel:(0,E.__)("Close"),onRequestClose:r},(0,l.createElement)(Mt,{className:"edit-widgets-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-widgets/keyboard-shortcuts"]}),(0,l.createElement)(Dt,{title:(0,E.__)("Global shortcuts"),categoryName:"global"}),(0,l.createElement)(Dt,{title:(0,E.__)("Selection shortcuts"),categoryName:"selection"}),(0,l.createElement)(Dt,{title:(0,E.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:(0,E.__)("Change the block type after adding a new paragraph."),ariaLabel:(0,E.__)("Forward-slash")}]}),(0,l.createElement)(Mt,{title:(0,E.__)("Text formatting"),shortcuts:Wt})):null}function Vt(){const[e,t]=(0,l.useState)(!1),r=()=>t(!e);(0,lt.useShortcut)("core/edit-widgets/keyboard-shortcuts",r);const n=(0,ne.useViewportMatch)("medium");return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(oe,null,(()=>(0,l.createElement)(l.Fragment,null,n&&(0,l.createElement)(w.MenuGroup,{label:(0,E._x)("View","noun")},(0,l.createElement)(le,{scope:"core/edit-widgets",feature:"fixedToolbar",label:(0,E.__)("Top toolbar"),info:(0,E.__)("Access all block and document tools in a single place"),messageActivated:(0,E.__)("Top toolbar activated"),messageDeactivated:(0,E.__)("Top toolbar deactivated")})),(0,l.createElement)(w.MenuGroup,{label:(0,E.__)("Tools")},(0,l.createElement)(w.MenuItem,{onClick:()=>{t(!0)},shortcut:Nt.displayShortcut.access("h")},(0,E.__)("Keyboard shortcuts")),(0,l.createElement)(le,{scope:"core/edit-widgets",feature:"welcomeGuide",label:(0,E.__)("Welcome Guide")}),(0,l.createElement)(w.MenuItem,{role:"menuitem",icon:Tt,href:(0,E.__)("https://wordpress.org/support/article/block-based-widgets-editor/"),target:"_blank",rel:"noopener noreferrer"},(0,E.__)("Help"),(0,l.createElement)(w.VisuallyHidden,{as:"span"},(0,E.__)("(opens in a new tab)")))),(0,l.createElement)(w.MenuGroup,{label:(0,E.__)("Preferences")},(0,l.createElement)(le,{scope:"core/edit-widgets",feature:"keepCaretInsideBlock",label:(0,E.__)("Contain text cursor inside block"),info:(0,E.__)("Aids screen readers by stopping text caret from leaving blocks."),messageActivated:(0,E.__)("Contain text cursor inside block activated"),messageDeactivated:(0,E.__)("Contain text cursor inside block deactivated")}),(0,l.createElement)(le,{scope:"core/edit-widgets",feature:"themeStyles",info:(0,E.__)("Make the editor look like your theme."),label:(0,E.__)("Use theme styles")}),n&&(0,l.createElement)(le,{scope:"core/edit-widgets",feature:"showBlockBreadcrumbs",label:(0,E.__)("Display block breadcrumbs"),info:(0,E.__)("Shows block breadcrumbs at the bottom of the editor."),messageActivated:(0,E.__)("Display block breadcrumbs activated"),messageDeactivated:(0,E.__)("Display block breadcrumbs deactivated")}))))),(0,l.createElement)(Ft,{isModalActive:e,toggleModal:r}))}var Gt=function(){const e=(0,ne.useViewportMatch)("medium"),t=(0,l.useRef)(),r=ut(),n=(0,d.useSelect)((e=>e(qe).getIsWidgetAreaOpen(r)),[r]),{isInserterOpen:i,isListViewOpen:a}=(0,d.useSelect)((e=>{const{isInserterOpened:t,isListViewOpened:r}=e(qe);return{isInserterOpen:t(),isListViewOpen:r()}}),[]),{setIsWidgetAreaOpen:o,setIsInserterOpened:s,setIsListViewOpened:c}=(0,d.useDispatch)(qe),{selectBlock:u}=(0,d.useDispatch)(ge.store),m=(0,l.useCallback)((()=>c(!a)),[c,a]);return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:"edit-widgets-header"},(0,l.createElement)("div",{className:"edit-widgets-header__navigable-toolbar-wrapper"},e&&(0,l.createElement)("h1",{className:"edit-widgets-header__title"},(0,E.__)("Widgets")),!e&&(0,l.createElement)(w.VisuallyHidden,{as:"h1",className:"edit-widgets-header__title"},(0,E.__)("Widgets")),(0,l.createElement)(ge.NavigableToolbar,{className:"edit-widgets-header-toolbar","aria-label":(0,E.__)("Document tools")},(0,l.createElement)(w.ToolbarItem,{ref:t,as:w.Button,className:"edit-widgets-header-toolbar__inserter-toggle",variant:"primary",isPressed:i,onMouseDown:e=>{e.preventDefault()},onClick:()=>{i?s(!1):(n||(u(r),o(r,!0)),window.requestAnimationFrame((()=>s(!0))))},icon:kt,label:(0,E._x)("Toggle block inserter","Generic label for block inserter button")}),e&&(0,l.createElement)(l.Fragment,null,(0,l.createElement)(Ct,null),(0,l.createElement)(xt,null),(0,l.createElement)(w.ToolbarItem,{as:w.Button,className:"edit-widgets-header-toolbar__list-view-toggle",icon:St,isPressed:a,label:(0,E.__)("List View"),onClick:m})))),(0,l.createElement)("div",{className:"edit-widgets-header__actions"},(0,l.createElement)(It,null),(0,l.createElement)(Z.Slot,{scope:"core/edit-widgets"}),(0,l.createElement)(Vt,null))))};var zt=function(){const{removeNotice:e}=(0,d.useDispatch)(me.store),{notices:t}=(0,d.useSelect)((e=>({notices:e(me.store).getNotices()})),[]),r=(0,I.filter)(t,{isDismissible:!0,type:"default"}),n=(0,I.filter)(t,{isDismissible:!1,type:"default"}),i=(0,I.filter)(t,{type:"snackbar"});return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(w.NoticeList,{notices:n,className:"edit-widgets-notices__pinned"}),(0,l.createElement)(w.NoticeList,{notices:r,className:"edit-widgets-notices__dismissible",onRemove:e}),(0,l.createElement)(w.SnackbarList,{notices:i,className:"edit-widgets-notices__snackbar",onRemove:e}))};function Ut(e){let{blockEditorSettings:t}=e;const r=(0,d.useSelect)((e=>e(U).isFeatureActive("core/edit-widgets","themeStyles")),[]),n=(0,l.useMemo)((()=>r?t.styles:[]),[t,r]);return(0,l.createElement)("div",{className:"edit-widgets-block-editor"},(0,l.createElement)(zt,null),(0,l.createElement)(ge.BlockTools,null,(0,l.createElement)(dt,null),(0,l.createElement)(ge.__unstableEditorStyles,{styles:n}),(0,l.createElement)(ge.BlockSelectionClearer,null,(0,l.createElement)(ge.WritingFlow,null,(0,l.createElement)(ge.ObserveTyping,null,(0,l.createElement)(ge.BlockList,{className:"edit-widgets-main-block-list"}))))))}var Ht=(0,l.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(f.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"}));var $t=()=>{const e=(0,d.useSelect)((e=>{var t;const{getEntityRecord:r}=e(m.store),n=r(he,Ee,"widget-areas");return null==n||null===(t=n.blocks[0])||void 0===t?void 0:t.clientId}),[]);return(0,d.useSelect)((t=>{const{getBlockRootClientId:r,getBlockSelectionEnd:n,getBlockOrder:i,getBlockIndex:a}=t(ge.store),o=t(qe).__experimentalGetInsertionPoint();if(o.rootClientId)return o;const s=n()||e,l=r(s);return s&&""===l?{rootClientId:s,insertionIndex:i(s).length}:{rootClientId:l,insertionIndex:a(s)+1}}),[e])};function jt(){const e=(0,ne.useViewportMatch)("medium","<"),{rootClientId:t,insertionIndex:r}=$t(),{setIsInserterOpened:n}=(0,d.useDispatch)(qe),i=(0,l.useCallback)((()=>()=>n(!1)),[n]),[a,o]=(0,ne.__experimentalUseDialog)({onClose:i});return(0,l.createElement)("div",p({ref:a},o,{className:"edit-widgets-layout__inserter-panel"}),(0,l.createElement)("div",{className:"edit-widgets-layout__inserter-panel-header"},(0,l.createElement)(w.Button,{icon:Ht,onClick:i})),(0,l.createElement)("div",{className:"edit-widgets-layout__inserter-panel-content"},(0,l.createElement)(ge.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:e,rootClientId:t,__experimentalInsertionIndex:r})))}function Kt(){const{setIsListViewOpened:e}=(0,d.useDispatch)(qe),{clearSelectedBlock:t,selectBlock:r}=(0,d.useDispatch)(ge.store);const n=(0,ne.useFocusOnMount)("firstElement"),i=(0,ne.useFocusReturn)();const a=`edit-widgets-editor__list-view-panel-label-${(0,ne.useInstanceId)(Kt)}`;return(0,l.createElement)("div",{"aria-labelledby":a,className:"edit-widgets-editor__list-view-panel",onKeyDown:function(t){t.keyCode!==Nt.ESCAPE||t.defaultPrevented||(t.preventDefault(),e(!1))}},(0,l.createElement)("div",{className:"edit-widgets-editor__list-view-panel-header"},(0,l.createElement)("strong",{id:a},(0,E.__)("List view")),(0,l.createElement)(w.Button,{icon:S,label:(0,E.__)("Close list view sidebar"),onClick:()=>e(!1)})),(0,l.createElement)("div",{className:"edit-widgets-editor__list-view-panel-content",ref:(0,ne.useMergeRefs)([i,n])},(0,l.createElement)(ge.__experimentalListView,{onSelect:async function(e){await t(),r(e,-1)},showNestedBlocks:!0,__experimentalHideContainerBlockActions:!0,__experimentalFeatures:!0,__experimentalPersistentListViewFeatures:!0})))}function Yt(){const{isInserterOpen:e,isListViewOpen:t}=(0,d.useSelect)((e=>{const{isInserterOpened:t,isListViewOpened:r}=e(qe);return{isInserterOpen:t(),isListViewOpen:r()}}),[]);return e?(0,l.createElement)(jt,null):t?(0,l.createElement)(Kt,null):null}const qt={header:(0,E.__)("Widgets top bar"),body:(0,E.__)("Widgets and blocks"),sidebar:(0,E.__)("Widgets settings"),footer:(0,E.__)("Widgets footer")};var Qt=function(e){let{blockEditorSettings:t}=e;const r=(0,ne.useViewportMatch)("medium","<"),n=(0,ne.useViewportMatch)("huge",">="),{setIsInserterOpened:i,setIsListViewOpened:a,closeGeneralSidebar:o}=(0,d.useDispatch)(qe),{hasBlockBreadCrumbsEnabled:s,hasSidebarEnabled:c,isInserterOpened:u,isListViewOpened:m,previousShortcut:g,nextShortcut:p}=(0,d.useSelect)((e=>({hasSidebarEnabled:!!e(U).getActiveComplementaryArea(qe.name),isInserterOpened:!!e(qe).isInserterOpened(),isListViewOpened:!!e(qe).isListViewOpened(),hasBlockBreadCrumbsEnabled:e(U).isFeatureActive("core/edit-widgets","showBlockBreadcrumbs"),previousShortcut:e(lt.store).getAllShortcutKeyCombinations("core/edit-widgets/previous-region"),nextShortcut:e(lt.store).getAllShortcutKeyCombinations("core/edit-widgets/next-region")})),[]);(0,l.useEffect)((()=>{c&&!n&&(i(!1),a(!1))}),[c,n]),(0,l.useEffect)((()=>{!u&&!m||n||o()}),[u,m,n]);const _=m||u;return(0,l.createElement)(ie,{labels:qt,header:(0,l.createElement)(Gt,null),secondarySidebar:_&&(0,l.createElement)(Yt,null),sidebar:c&&(0,l.createElement)(re.Slot,{scope:"core/edit-widgets"}),content:(0,l.createElement)(Ut,{blockEditorSettings:t}),footer:s&&!r&&(0,l.createElement)("div",{className:"edit-widgets-layout__footer"},(0,l.createElement)(ge.BlockBreadcrumb,{rootLabelText:(0,E.__)("Widgets")})),shortcuts:{previous:g,next:p}})};function Jt(){const e=(0,d.useSelect)((e=>{const{getEditedWidgetAreas:t}=e(qe),r=t();return(null==r?void 0:r.length)>0}),[]);return(0,l.useEffect)((()=>{const t=t=>{if(e)return t.returnValue=(0,E.__)("You have unsaved changes. If you proceed, they will be lost."),t.returnValue};return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}}),[e]),null}function Xt(){var e;const t=(0,d.useSelect)((e=>e(U).isFeatureActive("core/edit-widgets","welcomeGuide")),[]),{toggleFeature:r}=(0,d.useDispatch)(U),n=(0,d.useSelect)((e=>e(qe).getWidgetAreas({per_page:-1})),[]);if(!t)return null;const i=null==n?void 0:n.every((e=>"wp_inactive_widgets"===e.id||e.widgets.every((e=>e.startsWith("block-"))))),a=null!==(e=null==n?void 0:n.filter((e=>"wp_inactive_widgets"!==e.id)).length)&&void 0!==e?e:0;return(0,l.createElement)(w.Guide,{className:"edit-widgets-welcome-guide",contentLabel:(0,E.__)("Welcome to block Widgets"),finishButtonText:(0,E.__)("Get started"),onFinish:()=>r("core/edit-widgets","welcomeGuide"),pages:[{image:(0,l.createElement)(Zt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:(0,l.createElement)(l.Fragment,null,(0,l.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},(0,E.__)("Welcome to block Widgets")),i?(0,l.createElement)(l.Fragment,null,(0,l.createElement)("p",{className:"edit-widgets-welcome-guide__text"},(0,E.sprintf)((0,E._n)("Your theme provides %s “block” area for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.","Your theme provides %s different “block” areas for you to add and edit content. Try adding a search bar, social icons, or other types of blocks here and see how they’ll look on your site.",a),a))):(0,l.createElement)(l.Fragment,null,(0,l.createElement)("p",{className:"edit-widgets-welcome-guide__text"},(0,E.__)("You can now add any block to your site’s widget areas. Don’t worry, all of your favorite widgets still work flawlessly.")),(0,l.createElement)("p",{className:"edit-widgets-welcome-guide__text"},(0,l.createElement)("strong",null,(0,E.__)("Want to stick with the old widgets?"))," ",(0,l.createElement)(w.ExternalLink,{href:(0,E.__)("https://wordpress.org/plugins/classic-widgets/")},(0,E.__)("Get the Classic Widgets plugin.")))))},{image:(0,l.createElement)(Zt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:(0,l.createElement)(l.Fragment,null,(0,l.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},(0,E.__)("Make each block your own")),(0,l.createElement)("p",{className:"edit-widgets-welcome-guide__text"},(0,E.__)("Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.")))},{image:(0,l.createElement)(Zt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:(0,l.createElement)(l.Fragment,null,(0,l.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},(0,E.__)("Get to know the block library")),(0,l.createElement)("p",{className:"edit-widgets-welcome-guide__text"},(0,l.createInterpolateElement)((0,E.__)("All of the blocks available to you live in the block library. You’ll find it wherever you see the <InserterIconImage /> icon."),{InserterIconImage:(0,l.createElement)("img",{className:"edit-widgets-welcome-guide__inserter-icon",alt:(0,E.__)("inserter"),src:"data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' rx='2' fill='%231E1E1E'/%3E%3Cpath d='M9.22727 4V14M4 8.77273H14' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A"})})))},{image:(0,l.createElement)(Zt,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:(0,l.createElement)(l.Fragment,null,(0,l.createElement)("h1",{className:"edit-widgets-welcome-guide__heading"},(0,E.__)("Learn how to use the block editor")),(0,l.createElement)("p",{className:"edit-widgets-welcome-guide__text"},(0,E.__)("New to the block editor? Want to learn more about using it? "),(0,l.createElement)(w.ExternalLink,{href:(0,E.__)("https://wordpress.org/support/article/wordpress-editor/")},(0,E.__)("Here's a detailed guide."))))}]})}function Zt(e){let{nonAnimatedSrc:t,animatedSrc:r}=e;return(0,l.createElement)("picture",{className:"edit-widgets-welcome-guide__image"},(0,l.createElement)("source",{srcSet:t,media:"(prefers-reduced-motion: reduce)"}),(0,l.createElement)("img",{src:r,width:"312",height:"240",alt:""}))}var er=function(e){let{blockEditorSettings:t,onError:r}=e;return(0,l.createElement)(ot,{onError:r},(0,l.createElement)(mt,{blockEditorSettings:t},(0,l.createElement)(Qt,{blockEditorSettings:t}),(0,l.createElement)(yt,null),(0,l.createElement)(w.Popover.Slot,null),(0,l.createElement)(H.PluginArea,null),(0,l.createElement)(Jt,null),(0,l.createElement)(Xt,null)))};const tr=["core/more","core/freeform","core/template-part","core/block"];function rr(e,t){(0,l.unmountComponentAtNode)(e);const r=rr.bind(null,e,t);(0,l.render)((0,l.createElement)(er,{blockEditorSettings:t,onError:r}),e)}function nr(e,t){const r=document.getElementById(e),n=rr.bind(null,r,t),i=(0,u.__experimentalGetCoreBlocks)().filter((e=>!(tr.includes(e.name)||e.name.startsWith("core/post")||e.name.startsWith("core/query")||e.name.startsWith("core/site")||e.name.startsWith("core/navigation"))));(0,d.dispatch)(U).setFeatureDefaults("core/edit-widgets",{fixedToolbar:!1,welcomeGuide:!0,showBlockBreadcrumbs:!0,themeStyles:!0}),(0,d.dispatch)(c.store).__experimentalReapplyBlockTypeFilters(),(0,u.registerCoreBlocks)(i),(0,g.registerLegacyWidgetBlock)(),(0,g.registerLegacyWidgetVariations)(t),ir(s),(0,g.registerWidgetGroupBlock)(),t.__experimentalFetchLinkSuggestions=(e,r)=>(0,m.__experimentalFetchLinkSuggestions)(e,r,t),(0,c.setFreeformContentHandlerName)("core/html"),(0,l.render)((0,l.createElement)(er,{blockEditorSettings:t,onError:n}),r)}const ir=e=>{if(!e)return;const{metadata:t,settings:r,name:n}=e;t&&(0,c.unstable__bootstrapServerSideBlockDefinitions)({[n]:t}),(0,c.registerBlockType)(n,r)}}(),(window.wp=window.wp||{}).editWidgets=n}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/editor.js b/wp-includes/js/dist/editor.js
index 6b5ccf4690..1e785e114b 100644
--- a/wp-includes/js/dist/editor.js
+++ b/wp-includes/js/dist/editor.js
@@ -1,650 +1,195 @@
-this["wp"] = this["wp"] || {}; this["wp"]["editor"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "PLxR");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "//kF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

+/***/ 6411:
+/***/ (function(module, exports) {

-/**
- * WordPress dependencies
- */
+var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+	autosize 4.0.4
+	license: MIT
+	http://www.jacklmoore.com/autosize
+*/
+(function (global, factory) {
+	if (true) {
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
+		__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
+		(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else { var mod; }
+})(this, function (module, exports) {
+	'use strict';

-const footer = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  fillRule: "evenodd",
-  d: "M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (footer);
+	var map = typeof Map === "function" ? new Map() : function () {
+		var keys = [];
+		var values = [];

+		return {
+			has: function has(key) {
+				return keys.indexOf(key) > -1;
+			},
+			get: function get(key) {
+				return values[keys.indexOf(key)];
+			},
+			set: function set(key, value) {
+				if (keys.indexOf(key) === -1) {
+					keys.push(key);
+					values.push(value);
+				}
+			},
+			delete: function _delete(key) {
+				var index = keys.indexOf(key);
+				if (index > -1) {
+					keys.splice(index, 1);
+					values.splice(index, 1);
+				}
+			}
+		};
+	}();

-/***/ }),
+	var createEvent = function createEvent(name) {
+		return new Event(name, { bubbles: true });
+	};
+	try {
+		new Event('test');
+	} catch (e) {
+		// IE does not support `new Event()`
+		createEvent = function createEvent(name) {
+			var evt = document.createEvent('Event');
+			evt.initEvent(name, true, false);
+			return evt;
+		};
+	}

-/***/ "16Al":
-/***/ (function(module, exports, __webpack_require__) {
+	function assign(ta) {
+		if (!ta || !ta.nodeName || ta.nodeName !== 'TEXTAREA' || map.has(ta)) return;

-"use strict";
-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
+		var heightOffset = null;
+		var clientWidth = null;
+		var cachedHeight = null;

+		function init() {
+			var style = window.getComputedStyle(ta, null);

+			if (style.resize === 'vertical') {
+				ta.style.resize = 'none';
+			} else if (style.resize === 'both') {
+				ta.style.resize = 'horizontal';
+			}

-var ReactPropTypesSecret = __webpack_require__("WbBG");
+			if (style.boxSizing === 'content-box') {
+				heightOffset = -(parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));
+			} else {
+				heightOffset = parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
+			}
+			// Fix when a textarea is not on document body and heightOffset is Not a Number
+			if (isNaN(heightOffset)) {
+				heightOffset = 0;
+			}

-function emptyFunction() {}
-function emptyFunctionWithReset() {}
-emptyFunctionWithReset.resetWarningCache = emptyFunction;
+			update();
+		}

-module.exports = function() {
-  function shim(props, propName, componentName, location, propFullName, secret) {
-    if (secret === ReactPropTypesSecret) {
-      // It is still safe when called from React.
-      return;
-    }
-    var err = 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'
-    );
-    err.name = 'Invariant Violation';
-    throw err;
-  };
-  shim.isRequired = shim;
-  function getShim() {
-    return shim;
-  };
-  // Important!
-  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
-  var ReactPropTypes = {
-    array: shim,
-    bigint: shim,
-    bool: shim,
-    func: shim,
-    number: shim,
-    object: shim,
-    string: shim,
-    symbol: shim,
+		function changeOverflow(value) {
+			{
+				// Chrome/Safari-specific fix:
+				// When the textarea y-overflow is hidden, Chrome/Safari do not reflow the text to account for the space
+				// made available by removing the scrollbar. The following forces the necessary text reflow.
+				var width = ta.style.width;
+				ta.style.width = '0px';
+				// Force reflow:
+				/* jshint ignore:start */
+				ta.offsetWidth;
+				/* jshint ignore:end */
+				ta.style.width = width;
+			}

-    any: shim,
-    arrayOf: getShim,
-    element: shim,
-    elementType: shim,
-    instanceOf: getShim,
-    node: shim,
-    objectOf: getShim,
-    oneOf: getShim,
-    oneOfType: getShim,
-    shape: getShim,
-    exact: getShim,
+			ta.style.overflowY = value;
+		}

-    checkPropTypes: emptyFunctionWithReset,
-    resetWarningCache: emptyFunction
-  };
+		function getParentOverflows(el) {
+			var arr = [];

-  ReactPropTypes.PropTypes = ReactPropTypes;
+			while (el && el.parentNode && el.parentNode instanceof Element) {
+				if (el.parentNode.scrollTop) {
+					arr.push({
+						node: el.parentNode,
+						scrollTop: el.parentNode.scrollTop
+					});
+				}
+				el = el.parentNode;
+			}

-  return ReactPropTypes;
-};
+			return arr;
+		}

+		function resize() {
+			if (ta.scrollHeight === 0) {
+				// If the scrollHeight is 0, then the element probably has display:none or is detached from the DOM.
+				return;
+			}

-/***/ }),
+			var overflows = getParentOverflows(ta);
+			var docTop = document.documentElement && document.documentElement.scrollTop; // Needed for Mobile IE (ticket #240)

-/***/ "17x9":
-/***/ (function(module, exports, __webpack_require__) {
+			ta.style.height = '';
+			ta.style.height = ta.scrollHeight + heightOffset + 'px';

-/**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
+			// used to check if an update is actually necessary on window.resize
+			clientWidth = ta.clientWidth;

-if (false) { var throwOnDirectAccess, ReactIs; } else {
-  // By explicitly using `prop-types` you are opting into new production behavior.
-  // http://fb.me/prop-types-in-prod
-  module.exports = __webpack_require__("16Al")();
-}
+			// prevents scroll-position jumping
+			overflows.forEach(function (el) {
+				el.node.scrollTop = el.scrollTop;
+			});

+			if (docTop) {
+				document.documentElement.scrollTop = docTop;
+			}
+		}

-/***/ }),
+		function update() {
+			resize();

-/***/ "1ZqX":
-/***/ (function(module, exports) {
+			var styleHeight = Math.round(parseFloat(ta.style.height));
+			var computed = window.getComputedStyle(ta, null);

-(function() { module.exports = window["wp"]["data"]; }());
+			// Using offsetHeight as a replacement for computed.height in IE, because IE does not account use of border-box
+			var actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(computed.height)) : ta.offsetHeight;

-/***/ }),
+			// The actual height not matching the style height (set via the resize method) indicates that
+			// the max-height has been exceeded, in which case the overflow should be allowed.
+			if (actualHeight < styleHeight) {
+				if (computed.overflowY === 'hidden') {
+					changeOverflow('scroll');
+					resize();
+					actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
+				}
+			} else {
+				// Normally keep overflow set to hidden, to avoid flash of scrollbar as the textarea expands.
+				if (computed.overflowY !== 'hidden') {
+					changeOverflow('hidden');
+					resize();
+					actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
+				}
+			}

-/***/ "51Zz":
-/***/ (function(module, exports) {
+			if (cachedHeight !== actualHeight) {
+				cachedHeight = actualHeight;
+				var evt = createEvent('autosize:resized');
+				try {
+					ta.dispatchEvent(evt);
+				} catch (err) {
+					// Firefox will throw an error on dispatchEvent for a detached element
+					// https://bugzilla.mozilla.org/show_bug.cgi?id=889376
+				}
+			}
+		}

-(function() { module.exports = window["wp"]["dataControls"]; }());
-
-/***/ }),
-
-/***/ "6aBm":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["mediaUtils"]; }());
-
-/***/ }),
-
-/***/ "7fqt":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["wordcount"]; }());
-
-/***/ }),
-
-/***/ "CNgt":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var __assign = (this && this.__assign) || Object.assign || function(t) {
-    for (var s, i = 1, n = arguments.length; i < n; i++) {
-        s = arguments[i];
-        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
-            t[p] = s[p];
-    }
-    return t;
-};
-var __rest = (this && this.__rest) || function (s, e) {
-    var t = {};
-    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
-        t[p] = s[p];
-    if (s != null && typeof Object.getOwnPropertySymbols === "function")
-        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
-            t[p[i]] = s[p[i]];
-    return t;
-};
-exports.__esModule = true;
-var React = __webpack_require__("cDcd");
-var PropTypes = __webpack_require__("17x9");
-var autosize = __webpack_require__("GemG");
-var _getLineHeight = __webpack_require__("Rk8H");
-var getLineHeight = _getLineHeight;
-var RESIZED = "autosize:resized";
-/**
- * A light replacement for built-in textarea component
- * which automaticaly adjusts its height to match the content
- */
-var TextareaAutosizeClass = /** @class */ (function (_super) {
-    __extends(TextareaAutosizeClass, _super);
-    function TextareaAutosizeClass() {
-        var _this = _super !== null && _super.apply(this, arguments) || this;
-        _this.state = {
-            lineHeight: null
-        };
-        _this.textarea = null;
-        _this.onResize = function (e) {
-            if (_this.props.onResize) {
-                _this.props.onResize(e);
-            }
-        };
-        _this.updateLineHeight = function () {
-            if (_this.textarea) {
-                _this.setState({
-                    lineHeight: getLineHeight(_this.textarea)
-                });
-            }
-        };
-        _this.onChange = function (e) {
-            var onChange = _this.props.onChange;
-            _this.currentValue = e.currentTarget.value;
-            onChange && onChange(e);
-        };
-        return _this;
-    }
-    TextareaAutosizeClass.prototype.componentDidMount = function () {
-        var _this = this;
-        var _a = this.props, maxRows = _a.maxRows, async = _a.async;
-        if (typeof maxRows === "number") {
-            this.updateLineHeight();
-        }
-        if (typeof maxRows === "number" || async) {
-            /*
-              the defer is needed to:
-                - force "autosize" to activate the scrollbar when this.props.maxRows is passed
-                - support StyledComponents (see #71)
-            */
-            setTimeout(function () { return _this.textarea && autosize(_this.textarea); });
-        }
-        else {
-            this.textarea && autosize(this.textarea);
-        }
-        if (this.textarea) {
-            this.textarea.addEventListener(RESIZED, this.onResize);
-        }
-    };
-    TextareaAutosizeClass.prototype.componentWillUnmount = function () {
-        if (this.textarea) {
-            this.textarea.removeEventListener(RESIZED, this.onResize);
-            autosize.destroy(this.textarea);
-        }
-    };
-    TextareaAutosizeClass.prototype.render = function () {
-        var _this = this;
-        var _a = this, _b = _a.props, onResize = _b.onResize, maxRows = _b.maxRows, onChange = _b.onChange, style = _b.style, innerRef = _b.innerRef, children = _b.children, props = __rest(_b, ["onResize", "maxRows", "onChange", "style", "innerRef", "children"]), lineHeight = _a.state.lineHeight;
-        var maxHeight = maxRows && lineHeight ? lineHeight * maxRows : null;
-        return (React.createElement("textarea", __assign({}, props, { onChange: this.onChange, style: maxHeight ? __assign({}, style, { maxHeight: maxHeight }) : style, ref: function (element) {
-                _this.textarea = element;
-                if (typeof _this.props.innerRef === 'function') {
-                    _this.props.innerRef(element);
-                }
-                else if (_this.props.innerRef) {
-                    _this.props.innerRef.current = element;
-                }
-            } }), children));
-    };
-    TextareaAutosizeClass.prototype.componentDidUpdate = function () {
-        this.textarea && autosize.update(this.textarea);
-    };
-    TextareaAutosizeClass.defaultProps = {
-        rows: 1,
-        async: false
-    };
-    TextareaAutosizeClass.propTypes = {
-        rows: PropTypes.number,
-        maxRows: PropTypes.number,
-        onResize: PropTypes.func,
-        innerRef: PropTypes.any,
-        async: PropTypes.bool
-    };
-    return TextareaAutosizeClass;
-}(React.Component));
-exports.TextareaAutosize = React.forwardRef(function (props, ref) {
-    return React.createElement(TextareaAutosizeClass, __assign({}, props, { innerRef: ref }));
-});
-
-
-/***/ }),
-
-/***/ "Civd":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const layout = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (layout);
-
-
-/***/ }),
-
-/***/ "FnAh":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const info = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (info);
-
-
-/***/ }),
-
-/***/ "FqII":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["date"]; }());
-
-/***/ }),
-
-/***/ "G8mJ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const header = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (header);
-
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "GemG":
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-	autosize 4.0.4
-	license: MIT
-	http://www.jacklmoore.com/autosize
-*/
-(function (global, factory) {
-	if (true) {
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
-				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
-				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else { var mod; }
-})(this, function (module, exports) {
-	'use strict';
-
-	var map = typeof Map === "function" ? new Map() : function () {
-		var keys = [];
-		var values = [];
-
-		return {
-			has: function has(key) {
-				return keys.indexOf(key) > -1;
-			},
-			get: function get(key) {
-				return values[keys.indexOf(key)];
-			},
-			set: function set(key, value) {
-				if (keys.indexOf(key) === -1) {
-					keys.push(key);
-					values.push(value);
-				}
-			},
-			delete: function _delete(key) {
-				var index = keys.indexOf(key);
-				if (index > -1) {
-					keys.splice(index, 1);
-					values.splice(index, 1);
-				}
-			}
-		};
-	}();
-
-	var createEvent = function createEvent(name) {
-		return new Event(name, { bubbles: true });
-	};
-	try {
-		new Event('test');
-	} catch (e) {
-		// IE does not support `new Event()`
-		createEvent = function createEvent(name) {
-			var evt = document.createEvent('Event');
-			evt.initEvent(name, true, false);
-			return evt;
-		};
-	}
-
-	function assign(ta) {
-		if (!ta || !ta.nodeName || ta.nodeName !== 'TEXTAREA' || map.has(ta)) return;
-
-		var heightOffset = null;
-		var clientWidth = null;
-		var cachedHeight = null;
-
-		function init() {
-			var style = window.getComputedStyle(ta, null);
-
-			if (style.resize === 'vertical') {
-				ta.style.resize = 'none';
-			} else if (style.resize === 'both') {
-				ta.style.resize = 'horizontal';
-			}
-
-			if (style.boxSizing === 'content-box') {
-				heightOffset = -(parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));
-			} else {
-				heightOffset = parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
-			}
-			// Fix when a textarea is not on document body and heightOffset is Not a Number
-			if (isNaN(heightOffset)) {
-				heightOffset = 0;
-			}
-
-			update();
-		}
-
-		function changeOverflow(value) {
-			{
-				// Chrome/Safari-specific fix:
-				// When the textarea y-overflow is hidden, Chrome/Safari do not reflow the text to account for the space
-				// made available by removing the scrollbar. The following forces the necessary text reflow.
-				var width = ta.style.width;
-				ta.style.width = '0px';
-				// Force reflow:
-				/* jshint ignore:start */
-				ta.offsetWidth;
-				/* jshint ignore:end */
-				ta.style.width = width;
-			}
-
-			ta.style.overflowY = value;
-		}
-
-		function getParentOverflows(el) {
-			var arr = [];
-
-			while (el && el.parentNode && el.parentNode instanceof Element) {
-				if (el.parentNode.scrollTop) {
-					arr.push({
-						node: el.parentNode,
-						scrollTop: el.parentNode.scrollTop
-					});
-				}
-				el = el.parentNode;
-			}
-
-			return arr;
-		}
-
-		function resize() {
-			if (ta.scrollHeight === 0) {
-				// If the scrollHeight is 0, then the element probably has display:none or is detached from the DOM.
-				return;
-			}
-
-			var overflows = getParentOverflows(ta);
-			var docTop = document.documentElement && document.documentElement.scrollTop; // Needed for Mobile IE (ticket #240)
-
-			ta.style.height = '';
-			ta.style.height = ta.scrollHeight + heightOffset + 'px';
-
-			// used to check if an update is actually necessary on window.resize
-			clientWidth = ta.clientWidth;
-
-			// prevents scroll-position jumping
-			overflows.forEach(function (el) {
-				el.node.scrollTop = el.scrollTop;
-			});
-
-			if (docTop) {
-				document.documentElement.scrollTop = docTop;
-			}
-		}
-
-		function update() {
-			resize();
-
-			var styleHeight = Math.round(parseFloat(ta.style.height));
-			var computed = window.getComputedStyle(ta, null);
-
-			// Using offsetHeight as a replacement for computed.height in IE, because IE does not account use of border-box
-			var actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(computed.height)) : ta.offsetHeight;
-
-			// The actual height not matching the style height (set via the resize method) indicates that
-			// the max-height has been exceeded, in which case the overflow should be allowed.
-			if (actualHeight < styleHeight) {
-				if (computed.overflowY === 'hidden') {
-					changeOverflow('scroll');
-					resize();
-					actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
-				}
-			} else {
-				// Normally keep overflow set to hidden, to avoid flash of scrollbar as the textarea expands.
-				if (computed.overflowY !== 'hidden') {
-					changeOverflow('hidden');
-					resize();
-					actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;
-				}
-			}
-
-			if (cachedHeight !== actualHeight) {
-				cachedHeight = actualHeight;
-				var evt = createEvent('autosize:resized');
-				try {
-					ta.dispatchEvent(evt);
-				} catch (err) {
-					// Firefox will throw an error on dispatchEvent for a detached element
-					// https://bugzilla.mozilla.org/show_bug.cgi?id=889376
-				}
-			}
-		}
-
-		var pageResize = function pageResize() {
-			if (ta.clientWidth !== clientWidth) {
-				update();
-			}
-		};
+		var pageResize = function pageResize() {
+			if (ta.clientWidth !== clientWidth) {
+				update();
+			}
+		};

 		var destroy = function (style) {
 			window.removeEventListener('resize', pageResize, false);
@@ -716,3437 +261,3378 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
 		autosize.update = function (el) {
 			return el;
 		};
-	} else {
-		autosize = function autosize(el, options) {
-			if (el) {
-				Array.prototype.forEach.call(el.length ? el : [el], function (x) {
-					return assign(x, options);
-				});
-			}
-			return el;
-		};
-		autosize.destroy = function (el) {
-			if (el) {
-				Array.prototype.forEach.call(el.length ? el : [el], destroy);
-			}
-			return el;
-		};
-		autosize.update = function (el) {
-			if (el) {
-				Array.prototype.forEach.call(el.length ? el : [el], update);
-			}
-			return el;
-		};
-	}
-
-	exports.default = autosize;
-	module.exports = exports['default'];
-});
-
-/***/ }),
-
-/***/ "HSyU":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blocks"]; }());
-
-/***/ }),
-
-/***/ "JREk":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["serverSideRender"]; }());
-
-/***/ }),
-
-/***/ "K2cm":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const redo = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (redo);
-
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "Mmq9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["url"]; }());
-
-/***/ }),
-
-/***/ "NMb1":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["deprecated"]; }());
-
-/***/ }),
-
-/***/ "Ntru":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const undo = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (undo);
-
-
-/***/ }),
-
-/***/ "O6Fj":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
-exports.__esModule = true;
-var TextareaAutosize_1 = __webpack_require__("CNgt");
-exports["default"] = TextareaAutosize_1.TextareaAutosize;
-
-
-/***/ }),
-
-/***/ "OE6V":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const symbolFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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-17.6 1L10 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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (symbolFilled);
-
-
-/***/ }),
-
-/***/ "PLxR":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "storeConfig", function() { return /* reexport */ storeConfig; });
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
-__webpack_require__.d(__webpack_exports__, "userAutocompleter", function() { return /* reexport */ autocompleters_user; });
-__webpack_require__.d(__webpack_exports__, "AutosaveMonitor", function() { return /* reexport */ autosave_monitor; });
-__webpack_require__.d(__webpack_exports__, "DocumentOutline", function() { return /* reexport */ document_outline; });
-__webpack_require__.d(__webpack_exports__, "DocumentOutlineCheck", function() { return /* reexport */ check; });
-__webpack_require__.d(__webpack_exports__, "VisualEditorGlobalKeyboardShortcuts", function() { return /* reexport */ visual_editor_shortcuts; });
-__webpack_require__.d(__webpack_exports__, "TextEditorGlobalKeyboardShortcuts", function() { return /* reexport */ TextEditorGlobalKeyboardShortcuts; });
-__webpack_require__.d(__webpack_exports__, "EditorKeyboardShortcutsRegister", function() { return /* reexport */ register_shortcuts; });
-__webpack_require__.d(__webpack_exports__, "EditorHistoryRedo", function() { return /* reexport */ editor_history_redo; });
-__webpack_require__.d(__webpack_exports__, "EditorHistoryUndo", function() { return /* reexport */ editor_history_undo; });
-__webpack_require__.d(__webpack_exports__, "EditorNotices", function() { return /* reexport */ editor_notices; });
-__webpack_require__.d(__webpack_exports__, "EditorSnackbars", function() { return /* reexport */ EditorSnackbars; });
-__webpack_require__.d(__webpack_exports__, "EntitiesSavedStates", function() { return /* reexport */ EntitiesSavedStates; });
-__webpack_require__.d(__webpack_exports__, "ErrorBoundary", function() { return /* reexport */ error_boundary; });
-__webpack_require__.d(__webpack_exports__, "LocalAutosaveMonitor", function() { return /* reexport */ local_autosave_monitor; });
-__webpack_require__.d(__webpack_exports__, "PageAttributesCheck", function() { return /* reexport */ page_attributes_check; });
-__webpack_require__.d(__webpack_exports__, "PageAttributesOrder", function() { return /* reexport */ page_attributes_order; });
-__webpack_require__.d(__webpack_exports__, "PageAttributesParent", function() { return /* reexport */ page_attributes_parent; });
-__webpack_require__.d(__webpack_exports__, "PageTemplate", function() { return /* reexport */ post_template; });
-__webpack_require__.d(__webpack_exports__, "PostAuthor", function() { return /* reexport */ post_author; });
-__webpack_require__.d(__webpack_exports__, "PostAuthorCheck", function() { return /* reexport */ PostAuthorCheck; });
-__webpack_require__.d(__webpack_exports__, "PostComments", function() { return /* reexport */ post_comments; });
-__webpack_require__.d(__webpack_exports__, "PostExcerpt", function() { return /* reexport */ post_excerpt; });
-__webpack_require__.d(__webpack_exports__, "PostExcerptCheck", function() { return /* reexport */ post_excerpt_check; });
-__webpack_require__.d(__webpack_exports__, "PostFeaturedImage", function() { return /* reexport */ post_featured_image; });
-__webpack_require__.d(__webpack_exports__, "PostFeaturedImageCheck", function() { return /* reexport */ post_featured_image_check; });
-__webpack_require__.d(__webpack_exports__, "PostFormat", function() { return /* reexport */ PostFormat; });
-__webpack_require__.d(__webpack_exports__, "PostFormatCheck", function() { return /* reexport */ post_format_check; });
-__webpack_require__.d(__webpack_exports__, "PostLastRevision", function() { return /* reexport */ post_last_revision; });
-__webpack_require__.d(__webpack_exports__, "PostLastRevisionCheck", function() { return /* reexport */ post_last_revision_check; });
-__webpack_require__.d(__webpack_exports__, "PostLockedModal", function() { return /* reexport */ PostLockedModal; });
-__webpack_require__.d(__webpack_exports__, "PostPendingStatus", function() { return /* reexport */ post_pending_status; });
-__webpack_require__.d(__webpack_exports__, "PostPendingStatusCheck", function() { return /* reexport */ post_pending_status_check; });
-__webpack_require__.d(__webpack_exports__, "PostPingbacks", function() { return /* reexport */ post_pingbacks; });
-__webpack_require__.d(__webpack_exports__, "PostPreviewButton", function() { return /* reexport */ post_preview_button; });
-__webpack_require__.d(__webpack_exports__, "PostPublishButton", function() { return /* reexport */ post_publish_button; });
-__webpack_require__.d(__webpack_exports__, "PostPublishButtonLabel", function() { return /* reexport */ post_publish_button_label; });
-__webpack_require__.d(__webpack_exports__, "PostPublishPanel", function() { return /* reexport */ post_publish_panel; });
-__webpack_require__.d(__webpack_exports__, "PostSavedState", function() { return /* reexport */ PostSavedState; });
-__webpack_require__.d(__webpack_exports__, "PostSchedule", function() { return /* reexport */ PostSchedule; });
-__webpack_require__.d(__webpack_exports__, "PostScheduleCheck", function() { return /* reexport */ post_schedule_check; });
-__webpack_require__.d(__webpack_exports__, "PostScheduleLabel", function() { return /* reexport */ post_schedule_label; });
-__webpack_require__.d(__webpack_exports__, "PostSlug", function() { return /* reexport */ post_slug; });
-__webpack_require__.d(__webpack_exports__, "PostSlugCheck", function() { return /* reexport */ PostSlugCheck; });
-__webpack_require__.d(__webpack_exports__, "PostSticky", function() { return /* reexport */ post_sticky; });
-__webpack_require__.d(__webpack_exports__, "PostStickyCheck", function() { return /* reexport */ post_sticky_check; });
-__webpack_require__.d(__webpack_exports__, "PostSwitchToDraftButton", function() { return /* reexport */ post_switch_to_draft_button; });
-__webpack_require__.d(__webpack_exports__, "PostTaxonomies", function() { return /* reexport */ post_taxonomies; });
-__webpack_require__.d(__webpack_exports__, "PostTaxonomiesCheck", function() { return /* reexport */ post_taxonomies_check; });
-__webpack_require__.d(__webpack_exports__, "PostTextEditor", function() { return /* reexport */ PostTextEditor; });
-__webpack_require__.d(__webpack_exports__, "PostTitle", function() { return /* reexport */ PostTitle; });
-__webpack_require__.d(__webpack_exports__, "PostTrash", function() { return /* reexport */ post_trash; });
-__webpack_require__.d(__webpack_exports__, "PostTrashCheck", function() { return /* reexport */ post_trash_check; });
-__webpack_require__.d(__webpack_exports__, "PostTypeSupportCheck", function() { return /* reexport */ post_type_support_check; });
-__webpack_require__.d(__webpack_exports__, "PostVisibility", function() { return /* reexport */ post_visibility; });
-__webpack_require__.d(__webpack_exports__, "PostVisibilityLabel", function() { return /* reexport */ post_visibility_label; });
-__webpack_require__.d(__webpack_exports__, "PostVisibilityCheck", function() { return /* reexport */ post_visibility_check; });
-__webpack_require__.d(__webpack_exports__, "TableOfContents", function() { return /* reexport */ table_of_contents; });
-__webpack_require__.d(__webpack_exports__, "ThemeSupportCheck", function() { return /* reexport */ theme_support_check; });
-__webpack_require__.d(__webpack_exports__, "UnsavedChangesWarning", function() { return /* reexport */ UnsavedChangesWarning; });
-__webpack_require__.d(__webpack_exports__, "WordCount", function() { return /* reexport */ WordCount; });
-__webpack_require__.d(__webpack_exports__, "EditorProvider", function() { return /* reexport */ provider; });
-__webpack_require__.d(__webpack_exports__, "ServerSideRender", function() { return /* reexport */ external_wp_serverSideRender_default.a; });
-__webpack_require__.d(__webpack_exports__, "RichText", function() { return /* reexport */ RichText; });
-__webpack_require__.d(__webpack_exports__, "Autocomplete", function() { return /* reexport */ Autocomplete; });
-__webpack_require__.d(__webpack_exports__, "AlignmentToolbar", function() { return /* reexport */ AlignmentToolbar; });
-__webpack_require__.d(__webpack_exports__, "BlockAlignmentToolbar", function() { return /* reexport */ BlockAlignmentToolbar; });
-__webpack_require__.d(__webpack_exports__, "BlockControls", function() { return /* reexport */ BlockControls; });
-__webpack_require__.d(__webpack_exports__, "BlockEdit", function() { return /* reexport */ deprecated_BlockEdit; });
-__webpack_require__.d(__webpack_exports__, "BlockEditorKeyboardShortcuts", function() { return /* reexport */ BlockEditorKeyboardShortcuts; });
-__webpack_require__.d(__webpack_exports__, "BlockFormatControls", function() { return /* reexport */ BlockFormatControls; });
-__webpack_require__.d(__webpack_exports__, "BlockIcon", function() { return /* reexport */ BlockIcon; });
-__webpack_require__.d(__webpack_exports__, "BlockInspector", function() { return /* reexport */ BlockInspector; });
-__webpack_require__.d(__webpack_exports__, "BlockList", function() { return /* reexport */ BlockList; });
-__webpack_require__.d(__webpack_exports__, "BlockMover", function() { return /* reexport */ BlockMover; });
-__webpack_require__.d(__webpack_exports__, "BlockNavigationDropdown", function() { return /* reexport */ BlockNavigationDropdown; });
-__webpack_require__.d(__webpack_exports__, "BlockSelectionClearer", function() { return /* reexport */ BlockSelectionClearer; });
-__webpack_require__.d(__webpack_exports__, "BlockSettingsMenu", function() { return /* reexport */ BlockSettingsMenu; });
-__webpack_require__.d(__webpack_exports__, "BlockTitle", function() { return /* reexport */ BlockTitle; });
-__webpack_require__.d(__webpack_exports__, "BlockToolbar", function() { return /* reexport */ BlockToolbar; });
-__webpack_require__.d(__webpack_exports__, "ColorPalette", function() { return /* reexport */ ColorPalette; });
-__webpack_require__.d(__webpack_exports__, "ContrastChecker", function() { return /* reexport */ ContrastChecker; });
-__webpack_require__.d(__webpack_exports__, "CopyHandler", function() { return /* reexport */ CopyHandler; });
-__webpack_require__.d(__webpack_exports__, "DefaultBlockAppender", function() { return /* reexport */ DefaultBlockAppender; });
-__webpack_require__.d(__webpack_exports__, "FontSizePicker", function() { return /* reexport */ FontSizePicker; });
-__webpack_require__.d(__webpack_exports__, "Inserter", function() { return /* reexport */ Inserter; });
-__webpack_require__.d(__webpack_exports__, "InnerBlocks", function() { return /* reexport */ InnerBlocks; });
-__webpack_require__.d(__webpack_exports__, "InspectorAdvancedControls", function() { return /* reexport */ InspectorAdvancedControls; });
-__webpack_require__.d(__webpack_exports__, "InspectorControls", function() { return /* reexport */ InspectorControls; });
-__webpack_require__.d(__webpack_exports__, "PanelColorSettings", function() { return /* reexport */ PanelColorSettings; });
-__webpack_require__.d(__webpack_exports__, "PlainText", function() { return /* reexport */ PlainText; });
-__webpack_require__.d(__webpack_exports__, "RichTextShortcut", function() { return /* reexport */ RichTextShortcut; });
-__webpack_require__.d(__webpack_exports__, "RichTextToolbarButton", function() { return /* reexport */ RichTextToolbarButton; });
-__webpack_require__.d(__webpack_exports__, "__unstableRichTextInputEvent", function() { return /* reexport */ __unstableRichTextInputEvent; });
-__webpack_require__.d(__webpack_exports__, "MediaPlaceholder", function() { return /* reexport */ MediaPlaceholder; });
-__webpack_require__.d(__webpack_exports__, "MediaUpload", function() { return /* reexport */ MediaUpload; });
-__webpack_require__.d(__webpack_exports__, "MediaUploadCheck", function() { return /* reexport */ MediaUploadCheck; });
-__webpack_require__.d(__webpack_exports__, "MultiSelectScrollIntoView", function() { return /* reexport */ MultiSelectScrollIntoView; });
-__webpack_require__.d(__webpack_exports__, "NavigableToolbar", function() { return /* reexport */ NavigableToolbar; });
-__webpack_require__.d(__webpack_exports__, "ObserveTyping", function() { return /* reexport */ ObserveTyping; });
-__webpack_require__.d(__webpack_exports__, "PreserveScrollInReorder", function() { return /* reexport */ PreserveScrollInReorder; });
-__webpack_require__.d(__webpack_exports__, "SkipToSelectedBlock", function() { return /* reexport */ SkipToSelectedBlock; });
-__webpack_require__.d(__webpack_exports__, "URLInput", function() { return /* reexport */ URLInput; });
-__webpack_require__.d(__webpack_exports__, "URLInputButton", function() { return /* reexport */ URLInputButton; });
-__webpack_require__.d(__webpack_exports__, "URLPopover", function() { return /* reexport */ URLPopover; });
-__webpack_require__.d(__webpack_exports__, "Warning", function() { return /* reexport */ Warning; });
-__webpack_require__.d(__webpack_exports__, "WritingFlow", function() { return /* reexport */ WritingFlow; });
-__webpack_require__.d(__webpack_exports__, "createCustomColorsHOC", function() { return /* reexport */ createCustomColorsHOC; });
-__webpack_require__.d(__webpack_exports__, "getColorClassName", function() { return /* reexport */ getColorClassName; });
-__webpack_require__.d(__webpack_exports__, "getColorObjectByAttributeValues", function() { return /* reexport */ getColorObjectByAttributeValues; });
-__webpack_require__.d(__webpack_exports__, "getColorObjectByColorValue", function() { return /* reexport */ getColorObjectByColorValue; });
-__webpack_require__.d(__webpack_exports__, "getFontSize", function() { return /* reexport */ getFontSize; });
-__webpack_require__.d(__webpack_exports__, "getFontSizeClass", function() { return /* reexport */ getFontSizeClass; });
-__webpack_require__.d(__webpack_exports__, "withColorContext", function() { return /* reexport */ withColorContext; });
-__webpack_require__.d(__webpack_exports__, "withColors", function() { return /* reexport */ withColors; });
-__webpack_require__.d(__webpack_exports__, "withFontSizes", function() { return /* reexport */ withFontSizes; });
-__webpack_require__.d(__webpack_exports__, "mediaUpload", function() { return /* reexport */ mediaUpload; });
-__webpack_require__.d(__webpack_exports__, "cleanForSlug", function() { return /* reexport */ cleanForSlug; });
-__webpack_require__.d(__webpack_exports__, "getTemplatePartIcon", function() { return /* reexport */ getTemplatePartIcon; });
-__webpack_require__.d(__webpack_exports__, "transformStyles", function() { return /* reexport */ external_wp_blockEditor_["transformStyles"]; });
-
-// NAMESPACE OBJECT: ./node_modules/@wordpress/editor/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "hasEditorUndo", function() { return hasEditorUndo; });
-__webpack_require__.d(selectors_namespaceObject, "hasEditorRedo", function() { return hasEditorRedo; });
-__webpack_require__.d(selectors_namespaceObject, "isEditedPostNew", function() { return selectors_isEditedPostNew; });
-__webpack_require__.d(selectors_namespaceObject, "hasChangedContent", function() { return hasChangedContent; });
-__webpack_require__.d(selectors_namespaceObject, "isEditedPostDirty", function() { return selectors_isEditedPostDirty; });
-__webpack_require__.d(selectors_namespaceObject, "hasNonPostEntityChanges", function() { return selectors_hasNonPostEntityChanges; });
-__webpack_require__.d(selectors_namespaceObject, "isCleanNewPost", function() { return selectors_isCleanNewPost; });
-__webpack_require__.d(selectors_namespaceObject, "getCurrentPost", function() { return selectors_getCurrentPost; });
-__webpack_require__.d(selectors_namespaceObject, "getCurrentPostType", function() { return selectors_getCurrentPostType; });
-__webpack_require__.d(selectors_namespaceObject, "getCurrentPostId", function() { return selectors_getCurrentPostId; });
-__webpack_require__.d(selectors_namespaceObject, "getCurrentPostRevisionsCount", function() { return selectors_getCurrentPostRevisionsCount; });
-__webpack_require__.d(selectors_namespaceObject, "getCurrentPostLastRevisionId", function() { return selectors_getCurrentPostLastRevisionId; });
-__webpack_require__.d(selectors_namespaceObject, "getPostEdits", function() { return selectors_getPostEdits; });
-__webpack_require__.d(selectors_namespaceObject, "getReferenceByDistinctEdits", function() { return selectors_getReferenceByDistinctEdits; });
-__webpack_require__.d(selectors_namespaceObject, "getCurrentPostAttribute", function() { return selectors_getCurrentPostAttribute; });
-__webpack_require__.d(selectors_namespaceObject, "getEditedPostAttribute", function() { return selectors_getEditedPostAttribute; });
-__webpack_require__.d(selectors_namespaceObject, "getAutosaveAttribute", function() { return getAutosaveAttribute; });
-__webpack_require__.d(selectors_namespaceObject, "getEditedPostVisibility", function() { return selectors_getEditedPostVisibility; });
-__webpack_require__.d(selectors_namespaceObject, "isCurrentPostPending", function() { return isCurrentPostPending; });
-__webpack_require__.d(selectors_namespaceObject, "isCurrentPostPublished", function() { return selectors_isCurrentPostPublished; });
-__webpack_require__.d(selectors_namespaceObject, "isCurrentPostScheduled", function() { return selectors_isCurrentPostScheduled; });
-__webpack_require__.d(selectors_namespaceObject, "isEditedPostPublishable", function() { return selectors_isEditedPostPublishable; });
-__webpack_require__.d(selectors_namespaceObject, "isEditedPostSaveable", function() { return selectors_isEditedPostSaveable; });
-__webpack_require__.d(selectors_namespaceObject, "isEditedPostEmpty", function() { return isEditedPostEmpty; });
-__webpack_require__.d(selectors_namespaceObject, "isEditedPostAutosaveable", function() { return selectors_isEditedPostAutosaveable; });
-__webpack_require__.d(selectors_namespaceObject, "isEditedPostBeingScheduled", function() { return selectors_isEditedPostBeingScheduled; });
-__webpack_require__.d(selectors_namespaceObject, "isEditedPostDateFloating", function() { return isEditedPostDateFloating; });
-__webpack_require__.d(selectors_namespaceObject, "isSavingPost", function() { return selectors_isSavingPost; });
-__webpack_require__.d(selectors_namespaceObject, "isSavingNonPostEntityChanges", function() { return selectors_isSavingNonPostEntityChanges; });
-__webpack_require__.d(selectors_namespaceObject, "didPostSaveRequestSucceed", function() { return didPostSaveRequestSucceed; });
-__webpack_require__.d(selectors_namespaceObject, "didPostSaveRequestFail", function() { return didPostSaveRequestFail; });
-__webpack_require__.d(selectors_namespaceObject, "isAutosavingPost", function() { return selectors_isAutosavingPost; });
-__webpack_require__.d(selectors_namespaceObject, "isPreviewingPost", function() { return isPreviewingPost; });
-__webpack_require__.d(selectors_namespaceObject, "getEditedPostPreviewLink", function() { return selectors_getEditedPostPreviewLink; });
-__webpack_require__.d(selectors_namespaceObject, "getSuggestedPostFormat", function() { return selectors_getSuggestedPostFormat; });
-__webpack_require__.d(selectors_namespaceObject, "getEditedPostContent", function() { return getEditedPostContent; });
-__webpack_require__.d(selectors_namespaceObject, "isPublishingPost", function() { return selectors_isPublishingPost; });
-__webpack_require__.d(selectors_namespaceObject, "isPermalinkEditable", function() { return isPermalinkEditable; });
-__webpack_require__.d(selectors_namespaceObject, "getPermalink", function() { return getPermalink; });
-__webpack_require__.d(selectors_namespaceObject, "getEditedPostSlug", function() { return getEditedPostSlug; });
-__webpack_require__.d(selectors_namespaceObject, "getPermalinkParts", function() { return getPermalinkParts; });
-__webpack_require__.d(selectors_namespaceObject, "isPostLocked", function() { return selectors_isPostLocked; });
-__webpack_require__.d(selectors_namespaceObject, "isPostSavingLocked", function() { return selectors_isPostSavingLocked; });
-__webpack_require__.d(selectors_namespaceObject, "isPostAutosavingLocked", function() { return isPostAutosavingLocked; });
-__webpack_require__.d(selectors_namespaceObject, "isPostLockTakeover", function() { return selectors_isPostLockTakeover; });
-__webpack_require__.d(selectors_namespaceObject, "getPostLockUser", function() { return selectors_getPostLockUser; });
-__webpack_require__.d(selectors_namespaceObject, "getActivePostLock", function() { return selectors_getActivePostLock; });
-__webpack_require__.d(selectors_namespaceObject, "canUserUseUnfilteredHTML", function() { return selectors_canUserUseUnfilteredHTML; });
-__webpack_require__.d(selectors_namespaceObject, "isPublishSidebarEnabled", function() { return selectors_isPublishSidebarEnabled; });
-__webpack_require__.d(selectors_namespaceObject, "getEditorBlocks", function() { return getEditorBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getEditorSelectionStart", function() { return getEditorSelectionStart; });
-__webpack_require__.d(selectors_namespaceObject, "getEditorSelectionEnd", function() { return getEditorSelectionEnd; });
-__webpack_require__.d(selectors_namespaceObject, "getEditorSelection", function() { return selectors_getEditorSelection; });
-__webpack_require__.d(selectors_namespaceObject, "__unstableIsEditorReady", function() { return selectors_unstableIsEditorReady; });
-__webpack_require__.d(selectors_namespaceObject, "getEditorSettings", function() { return selectors_getEditorSettings; });
-__webpack_require__.d(selectors_namespaceObject, "getStateBeforeOptimisticTransaction", function() { return getStateBeforeOptimisticTransaction; });
-__webpack_require__.d(selectors_namespaceObject, "inSomeHistory", function() { return inSomeHistory; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockName", function() { return getBlockName; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockValid", function() { return isBlockValid; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockAttributes", function() { return getBlockAttributes; });
-__webpack_require__.d(selectors_namespaceObject, "getBlock", function() { return getBlock; });
-__webpack_require__.d(selectors_namespaceObject, "getBlocks", function() { return selectors_getBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getClientIdsOfDescendants", function() { return getClientIdsOfDescendants; });
-__webpack_require__.d(selectors_namespaceObject, "getClientIdsWithDescendants", function() { return getClientIdsWithDescendants; });
-__webpack_require__.d(selectors_namespaceObject, "getGlobalBlockCount", function() { return selectors_getGlobalBlockCount; });
-__webpack_require__.d(selectors_namespaceObject, "getBlocksByClientId", function() { return getBlocksByClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockCount", function() { return getBlockCount; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockSelectionStart", function() { return getBlockSelectionStart; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockSelectionEnd", function() { return getBlockSelectionEnd; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectedBlockCount", function() { return getSelectedBlockCount; });
-__webpack_require__.d(selectors_namespaceObject, "hasSelectedBlock", function() { return hasSelectedBlock; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectedBlockClientId", function() { return getSelectedBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectedBlock", function() { return getSelectedBlock; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockRootClientId", function() { return getBlockRootClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockHierarchyRootClientId", function() { return getBlockHierarchyRootClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getAdjacentBlockClientId", function() { return getAdjacentBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getPreviousBlockClientId", function() { return getPreviousBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getNextBlockClientId", function() { return getNextBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getSelectedBlocksInitialCaretPosition", function() { return getSelectedBlocksInitialCaretPosition; });
-__webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlockClientIds", function() { return getMultiSelectedBlockClientIds; });
-__webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlocks", function() { return getMultiSelectedBlocks; });
-__webpack_require__.d(selectors_namespaceObject, "getFirstMultiSelectedBlockClientId", function() { return getFirstMultiSelectedBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getLastMultiSelectedBlockClientId", function() { return getLastMultiSelectedBlockClientId; });
-__webpack_require__.d(selectors_namespaceObject, "isFirstMultiSelectedBlock", function() { return isFirstMultiSelectedBlock; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockMultiSelected", function() { return isBlockMultiSelected; });
-__webpack_require__.d(selectors_namespaceObject, "isAncestorMultiSelected", function() { return isAncestorMultiSelected; });
-__webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlocksStartClientId", function() { return getMultiSelectedBlocksStartClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getMultiSelectedBlocksEndClientId", function() { return getMultiSelectedBlocksEndClientId; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockOrder", function() { return getBlockOrder; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockIndex", function() { return getBlockIndex; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockSelected", function() { return isBlockSelected; });
-__webpack_require__.d(selectors_namespaceObject, "hasSelectedInnerBlock", function() { return hasSelectedInnerBlock; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockWithinSelection", function() { return isBlockWithinSelection; });
-__webpack_require__.d(selectors_namespaceObject, "hasMultiSelection", function() { return hasMultiSelection; });
-__webpack_require__.d(selectors_namespaceObject, "isMultiSelecting", function() { return isMultiSelecting; });
-__webpack_require__.d(selectors_namespaceObject, "isSelectionEnabled", function() { return isSelectionEnabled; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockMode", function() { return getBlockMode; });
-__webpack_require__.d(selectors_namespaceObject, "isTyping", function() { return isTyping; });
-__webpack_require__.d(selectors_namespaceObject, "isCaretWithinFormattedText", function() { return isCaretWithinFormattedText; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockInsertionPoint", function() { return getBlockInsertionPoint; });
-__webpack_require__.d(selectors_namespaceObject, "isBlockInsertionPointVisible", function() { return isBlockInsertionPointVisible; });
-__webpack_require__.d(selectors_namespaceObject, "isValidTemplate", function() { return isValidTemplate; });
-__webpack_require__.d(selectors_namespaceObject, "getTemplate", function() { return getTemplate; });
-__webpack_require__.d(selectors_namespaceObject, "getTemplateLock", function() { return getTemplateLock; });
-__webpack_require__.d(selectors_namespaceObject, "canInsertBlockType", function() { return canInsertBlockType; });
-__webpack_require__.d(selectors_namespaceObject, "getInserterItems", function() { return getInserterItems; });
-__webpack_require__.d(selectors_namespaceObject, "hasInserterItems", function() { return hasInserterItems; });
-__webpack_require__.d(selectors_namespaceObject, "getBlockListSettings", function() { return getBlockListSettings; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetDefaultTemplateTypes", function() { return __experimentalGetDefaultTemplateTypes; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetDefaultTemplatePartAreas", function() { return __experimentalGetDefaultTemplatePartAreas; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetDefaultTemplateType", function() { return __experimentalGetDefaultTemplateType; });
-__webpack_require__.d(selectors_namespaceObject, "__experimentalGetTemplateInfo", function() { return __experimentalGetTemplateInfo; });
-__webpack_require__.d(selectors_namespaceObject, "getPostTypeLabel", function() { return getPostTypeLabel; });
-
-// NAMESPACE OBJECT: ./node_modules/@wordpress/editor/build-module/store/actions.js
-var actions_namespaceObject = {};
-__webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "setupEditor", function() { return actions_setupEditor; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalTearDownEditor", function() { return actions_experimentalTearDownEditor; });
-__webpack_require__.d(actions_namespaceObject, "resetPost", function() { return resetPost; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalRequestPostUpdateStart", function() { return __experimentalRequestPostUpdateStart; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalRequestPostUpdateFinish", function() { return __experimentalRequestPostUpdateFinish; });
-__webpack_require__.d(actions_namespaceObject, "updatePost", function() { return updatePost; });
-__webpack_require__.d(actions_namespaceObject, "setupEditorState", function() { return setupEditorState; });
-__webpack_require__.d(actions_namespaceObject, "editPost", function() { return actions_editPost; });
-__webpack_require__.d(actions_namespaceObject, "savePost", function() { return actions_savePost; });
-__webpack_require__.d(actions_namespaceObject, "refreshPost", function() { return refreshPost; });
-__webpack_require__.d(actions_namespaceObject, "trashPost", function() { return trashPost; });
-__webpack_require__.d(actions_namespaceObject, "autosave", function() { return actions_autosave; });
-__webpack_require__.d(actions_namespaceObject, "redo", function() { return actions_redo; });
-__webpack_require__.d(actions_namespaceObject, "undo", function() { return actions_undo; });
-__webpack_require__.d(actions_namespaceObject, "createUndoLevel", function() { return createUndoLevel; });
-__webpack_require__.d(actions_namespaceObject, "updatePostLock", function() { return actions_updatePostLock; });
-__webpack_require__.d(actions_namespaceObject, "enablePublishSidebar", function() { return actions_enablePublishSidebar; });
-__webpack_require__.d(actions_namespaceObject, "disablePublishSidebar", function() { return actions_disablePublishSidebar; });
-__webpack_require__.d(actions_namespaceObject, "lockPostSaving", function() { return lockPostSaving; });
-__webpack_require__.d(actions_namespaceObject, "unlockPostSaving", function() { return unlockPostSaving; });
-__webpack_require__.d(actions_namespaceObject, "lockPostAutosaving", function() { return lockPostAutosaving; });
-__webpack_require__.d(actions_namespaceObject, "unlockPostAutosaving", function() { return unlockPostAutosaving; });
-__webpack_require__.d(actions_namespaceObject, "resetEditorBlocks", function() { return actions_resetEditorBlocks; });
-__webpack_require__.d(actions_namespaceObject, "updateEditorSettings", function() { return actions_updateEditorSettings; });
-__webpack_require__.d(actions_namespaceObject, "resetBlocks", function() { return resetBlocks; });
-__webpack_require__.d(actions_namespaceObject, "receiveBlocks", function() { return receiveBlocks; });
-__webpack_require__.d(actions_namespaceObject, "updateBlock", function() { return updateBlock; });
-__webpack_require__.d(actions_namespaceObject, "updateBlockAttributes", function() { return updateBlockAttributes; });
-__webpack_require__.d(actions_namespaceObject, "selectBlock", function() { return actions_selectBlock; });
-__webpack_require__.d(actions_namespaceObject, "startMultiSelect", function() { return startMultiSelect; });
-__webpack_require__.d(actions_namespaceObject, "stopMultiSelect", function() { return stopMultiSelect; });
-__webpack_require__.d(actions_namespaceObject, "multiSelect", function() { return multiSelect; });
-__webpack_require__.d(actions_namespaceObject, "clearSelectedBlock", function() { return actions_clearSelectedBlock; });
-__webpack_require__.d(actions_namespaceObject, "toggleSelection", function() { return toggleSelection; });
-__webpack_require__.d(actions_namespaceObject, "replaceBlocks", function() { return replaceBlocks; });
-__webpack_require__.d(actions_namespaceObject, "replaceBlock", function() { return replaceBlock; });
-__webpack_require__.d(actions_namespaceObject, "moveBlocksDown", function() { return moveBlocksDown; });
-__webpack_require__.d(actions_namespaceObject, "moveBlocksUp", function() { return moveBlocksUp; });
-__webpack_require__.d(actions_namespaceObject, "moveBlockToPosition", function() { return moveBlockToPosition; });
-__webpack_require__.d(actions_namespaceObject, "insertBlock", function() { return insertBlock; });
-__webpack_require__.d(actions_namespaceObject, "insertBlocks", function() { return actions_insertBlocks; });
-__webpack_require__.d(actions_namespaceObject, "showInsertionPoint", function() { return showInsertionPoint; });
-__webpack_require__.d(actions_namespaceObject, "hideInsertionPoint", function() { return hideInsertionPoint; });
-__webpack_require__.d(actions_namespaceObject, "setTemplateValidity", function() { return actions_setTemplateValidity; });
-__webpack_require__.d(actions_namespaceObject, "synchronizeTemplate", function() { return actions_synchronizeTemplate; });
-__webpack_require__.d(actions_namespaceObject, "mergeBlocks", function() { return mergeBlocks; });
-__webpack_require__.d(actions_namespaceObject, "removeBlocks", function() { return removeBlocks; });
-__webpack_require__.d(actions_namespaceObject, "removeBlock", function() { return removeBlock; });
-__webpack_require__.d(actions_namespaceObject, "toggleBlockMode", function() { return toggleBlockMode; });
-__webpack_require__.d(actions_namespaceObject, "startTyping", function() { return startTyping; });
-__webpack_require__.d(actions_namespaceObject, "stopTyping", function() { return stopTyping; });
-__webpack_require__.d(actions_namespaceObject, "enterFormattedText", function() { return enterFormattedText; });
-__webpack_require__.d(actions_namespaceObject, "exitFormattedText", function() { return exitFormattedText; });
-__webpack_require__.d(actions_namespaceObject, "insertDefaultBlock", function() { return actions_insertDefaultBlock; });
-__webpack_require__.d(actions_namespaceObject, "updateBlockListSettings", function() { return updateBlockListSettings; });
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// EXTERNAL MODULE: external ["wp","dataControls"]
-var external_wp_dataControls_ = __webpack_require__("51Zz");
-
-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/defaults.js
-/**
- * WordPress dependencies
- */
-
-const PREFERENCES_DEFAULTS = {
-  insertUsage: {},
-  // Should be kept for backward compatibility, see: https://github.com/WordPress/gutenberg/issues/14580.
-  isPublishSidebarEnabled: true
-};
-/**
- * The default post editor settings
- *
- *  allowedBlockTypes  boolean|Array Allowed block types
- *  richEditingEnabled boolean       Whether rich editing is enabled or not
- *  codeEditingEnabled boolean       Whether code editing is enabled or not
- *  enableCustomFields boolean       Whether the WordPress custom fields are enabled or not.
- *                                     true  = the user has opted to show the Custom Fields panel at the bottom of the editor.
- *                                     false = the user has opted to hide the Custom Fields panel at the bottom of the editor.
- *                                     undefined = the current environment does not support Custom Fields,
- *                                                 so the option toggle in Preferences -> Panels to
- *                                                 enable the Custom Fields panel is not displayed.
- *  autosaveInterval   number        Autosave Interval
- *  availableTemplates array?        The available post templates
- *  disablePostFormats boolean       Whether or not the post formats are disabled
- *  allowedMimeTypes   array?        List of allowed mime types and file extensions
- *  maxUploadFileSize  number        Maximum upload file size
- *  supportsLayout     boolean      Whether the editor supports layouts.
- */
-
-const EDITOR_SETTINGS_DEFAULTS = { ...external_wp_blockEditor_["SETTINGS_DEFAULTS"],
-  richEditingEnabled: true,
-  codeEditingEnabled: true,
-  enableCustomFields: undefined,
-  supportsLayout: true
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/reducer.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Internal dependencies
- */
-
-
-/**
- * Returns a post attribute value, flattening nested rendered content using its
- * raw value in place of its original object form.
- *
- * @param {*} value Original value.
- *
- * @return {*} Raw value.
- */
-
-function getPostRawValue(value) {
-  if (value && 'object' === typeof value && 'raw' in value) {
-    return value.raw;
-  }
-
-  return value;
-}
-/**
- * Returns true if the two object arguments have the same keys, or false
- * otherwise.
- *
- * @param {Object} a First object.
- * @param {Object} b Second object.
- *
- * @return {boolean} Whether the two objects have the same keys.
- */
-
-function hasSameKeys(a, b) {
-  return Object(external_lodash_["isEqual"])(Object(external_lodash_["keys"])(a), Object(external_lodash_["keys"])(b));
-}
-/**
- * Returns true if, given the currently dispatching action and the previously
- * dispatched action, the two actions are editing the same post property, or
- * false otherwise.
- *
- * @param {Object} action         Currently dispatching action.
- * @param {Object} previousAction Previously dispatched action.
- *
- * @return {boolean} Whether actions are updating the same post property.
- */
-
-function isUpdatingSamePostProperty(action, previousAction) {
-  return action.type === 'EDIT_POST' && hasSameKeys(action.edits, previousAction.edits);
-}
-/**
- * Returns true if, given the currently dispatching action and the previously
- * dispatched action, the two actions are modifying the same property such that
- * undo history should be batched.
- *
- * @param {Object} action         Currently dispatching action.
- * @param {Object} previousAction Previously dispatched action.
- *
- * @return {boolean} Whether to overwrite present state.
- */
-
-function shouldOverwriteState(action, previousAction) {
-  if (action.type === 'RESET_EDITOR_BLOCKS') {
-    return !action.shouldCreateUndoLevel;
-  }
+	} else {
+		autosize = function autosize(el, options) {
+			if (el) {
+				Array.prototype.forEach.call(el.length ? el : [el], function (x) {
+					return assign(x, options);
+				});
+			}
+			return el;
+		};
+		autosize.destroy = function (el) {
+			if (el) {
+				Array.prototype.forEach.call(el.length ? el : [el], destroy);
+			}
+			return el;
+		};
+		autosize.update = function (el) {
+			if (el) {
+				Array.prototype.forEach.call(el.length ? el : [el], update);
+			}
+			return el;
+		};
+	}

-  if (!previousAction || action.type !== previousAction.type) {
-    return false;
-  }
+	exports.default = autosize;
+	module.exports = exports['default'];
+});

-  return isUpdatingSamePostProperty(action, previousAction);
-}
-function reducer_postId() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+/***/ }),

-  switch (action.type) {
-    case 'SETUP_EDITOR_STATE':
-    case 'RESET_POST':
-      return action.post.id;
-  }
+/***/ 4403:
+/***/ (function(module, exports) {

-  return state;
-}
-function reducer_postType() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */

-  switch (action.type) {
-    case 'SETUP_EDITOR_STATE':
-    case 'RESET_POST':
-      return action.post.type;
-  }
+(function () {
+	'use strict';

-  return state;
-}
-/**
- * Reducer returning whether the post blocks match the defined template or not.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {boolean} Updated state.
- */
+	var hasOwn = {}.hasOwnProperty;

-function reducer_template() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
-    isValid: true
-  };
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+	function classNames() {
+		var classes = [];

-  switch (action.type) {
-    case 'SET_TEMPLATE_VALIDITY':
-      return { ...state,
-        isValid: action.isValid
-      };
-  }
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;

-  return state;
-}
-/**
- * Reducer returning the user preferences.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {string} Updated state.
- */
+			var argType = typeof arg;

-function preferences() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : PREFERENCES_DEFAULTS;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}

-  switch (action.type) {
-    case 'ENABLE_PUBLISH_SIDEBAR':
-      return { ...state,
-        isPublishSidebarEnabled: true
-      };
+		return classes.join(' ');
+	}

-    case 'DISABLE_PUBLISH_SIDEBAR':
-      return { ...state,
-        isPublishSidebarEnabled: false
-      };
-  }
+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());

-  return state;
-}
-/**
- * Reducer returning current network request state (whether a request to
- * the WP REST API is in progress, successful, or failed).
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */

-function saving() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+/***/ }),

-  switch (action.type) {
-    case 'REQUEST_POST_UPDATE_START':
-    case 'REQUEST_POST_UPDATE_FINISH':
-      return {
-        pending: action.type === 'REQUEST_POST_UPDATE_START',
-        options: action.options || {}
-      };
-  }
+/***/ 4827:
+/***/ (function(module) {

-  return state;
-}
-/**
- * Post Lock State.
- *
- * @typedef {Object} PostLockState
- *
- * @property {boolean}  isLocked       Whether the post is locked.
- * @property {?boolean} isTakeover     Whether the post editing has been taken over.
- * @property {?boolean} activePostLock Active post lock value.
- * @property {?Object}  user           User that took over the post.
- */
+// This code has been refactored for 140 bytes
+// You can see the original here: https://github.com/twolfson/computedStyle/blob/04cd1da2e30fa45844f95f5cb1ac898e9b9ef050/lib/computedStyle.js
+var computedStyle = function (el, prop, getComputedStyle) {
+  getComputedStyle = window.getComputedStyle;

-/**
- * Reducer returning the post lock status.
- *
- * @param {PostLockState} state  Current state.
- * @param {Object}        action Dispatched action.
- *
- * @return {PostLockState} Updated state.
- */
+  // In one fell swoop
+  return (
+    // If we have getComputedStyle
+    getComputedStyle ?
+      // Query it
+      // TODO: From CSS-Query notes, we might need (node, null) for FF
+      getComputedStyle(el) :

-function postLock() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
-    isLocked: false
-  };
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+    // Otherwise, we are in IE and use currentStyle
+      el.currentStyle
+  )[
+    // Switch to camelCase for CSSOM
+    // DEV: Grabbed from jQuery
+    // https://github.com/jquery/jquery/blob/1.9-stable/src/css.js#L191-L194
+    // https://github.com/jquery/jquery/blob/1.9-stable/src/core.js#L593-L597
+    prop.replace(/-(\w)/gi, function (word, letter) {
+      return letter.toUpperCase();
+    })
+  ];
+};

-  switch (action.type) {
-    case 'UPDATE_POST_LOCK':
-      return action.lock;
-  }
+module.exports = computedStyle;

-  return state;
-}
-/**
- * Post saving lock.
- *
- * When post saving is locked, the post cannot be published or updated.
- *
- * @param {PostLockState} state  Current state.
- * @param {Object}        action Dispatched action.
- *
- * @return {PostLockState} Updated state.
- */

-function postSavingLock() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+/***/ }),

-  switch (action.type) {
-    case 'LOCK_POST_SAVING':
-      return { ...state,
-        [action.lockName]: true
-      };
+/***/ 9894:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-    case 'UNLOCK_POST_SAVING':
-      return Object(external_lodash_["omit"])(state, action.lockName);
-  }
+// Load in dependencies
+var computedStyle = __webpack_require__(4827);

-  return state;
-}
 /**
- * Post autosaving lock.
- *
- * When post autosaving is locked, the post will not autosave.
- *
- * @param {PostLockState} state  Current state.
- * @param {Object}        action Dispatched action.
- *
- * @return {PostLockState} Updated state.
+ * Calculate the `line-height` of a given node
+ * @param {HTMLElement} node Element to calculate line height of. Must be in the DOM.
+ * @returns {Number} `line-height` of the element in pixels
  */
+function lineHeight(node) {
+  // Grab the line-height via style
+  var lnHeightStr = computedStyle(node, 'line-height');
+  var lnHeight = parseFloat(lnHeightStr, 10);

-function postAutosavingLock() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+  // If the lineHeight did not contain a unit (i.e. it was numeric), convert it to ems (e.g. '2.3' === '2.3em')
+  if (lnHeightStr === lnHeight + '') {
+    // Save the old lineHeight style and update the em unit to the element
+    var _lnHeightStyle = node.style.lineHeight;
+    node.style.lineHeight = lnHeightStr + 'em';

-  switch (action.type) {
-    case 'LOCK_POST_AUTOSAVING':
-      return { ...state,
-        [action.lockName]: true
-      };
+    // Calculate the em based height
+    lnHeightStr = computedStyle(node, 'line-height');
+    lnHeight = parseFloat(lnHeightStr, 10);

-    case 'UNLOCK_POST_AUTOSAVING':
-      return Object(external_lodash_["omit"])(state, action.lockName);
+    // Revert the lineHeight style
+    if (_lnHeightStyle) {
+      node.style.lineHeight = _lnHeightStyle;
+    } else {
+      delete node.style.lineHeight;
+    }
   }

-  return state;
-}
-/**
- * Reducer returning whether the editor is ready to be rendered.
- * The editor is considered ready to be rendered once
- * the post object is loaded properly and the initial blocks parsed.
- *
- * @param {boolean} state
- * @param {Object}  action
- *
- * @return {boolean} Updated state.
- */
+  // If the lineHeight is in `pt`, convert it to pixels (4px for 3pt)
+  // DEV: `em` units are converted to `pt` in IE6
+  // Conversion ratio from https://developer.mozilla.org/en-US/docs/Web/CSS/length
+  if (lnHeightStr.indexOf('pt') !== -1) {
+    lnHeight *= 4;
+    lnHeight /= 3;
+  // Otherwise, if the lineHeight is in `mm`, convert it to pixels (96px for 25.4mm)
+  } else if (lnHeightStr.indexOf('mm') !== -1) {
+    lnHeight *= 96;
+    lnHeight /= 25.4;
+  // Otherwise, if the lineHeight is in `cm`, convert it to pixels (96px for 2.54cm)
+  } else if (lnHeightStr.indexOf('cm') !== -1) {
+    lnHeight *= 96;
+    lnHeight /= 2.54;
+  // Otherwise, if the lineHeight is in `in`, convert it to pixels (96px for 1in)
+  } else if (lnHeightStr.indexOf('in') !== -1) {
+    lnHeight *= 96;
+  // Otherwise, if the lineHeight is in `pc`, convert it to pixels (12pt for 1pc)
+  } else if (lnHeightStr.indexOf('pc') !== -1) {
+    lnHeight *= 16;
+  }

-function reducer_isReady() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+  // Continue our computation
+  lnHeight = Math.round(lnHeight);

-  switch (action.type) {
-    case 'SETUP_EDITOR_STATE':
-      return true;
+  // If the line-height is "normal", calculate by font-size
+  if (lnHeightStr === 'normal') {
+    // Create a temporary node
+    var nodeName = node.nodeName;
+    var _node = document.createElement(nodeName);
+    _node.innerHTML = '&nbsp;';

-    case 'TEAR_DOWN_EDITOR':
-      return false;
-  }
+    // If we have a text area, reset it to only 1 row
+    // https://github.com/twolfson/line-height/issues/4
+    if (nodeName.toUpperCase() === 'TEXTAREA') {
+      _node.setAttribute('rows', '1');
+    }

-  return state;
-}
-/**
- * Reducer returning the post editor setting.
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */
+    // Set the font-size of the element
+    var fontSizeStr = computedStyle(node, 'font-size');
+    _node.style.fontSize = fontSizeStr;

-function reducer_editorSettings() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : EDITOR_SETTINGS_DEFAULTS;
-  let action = arguments.length > 1 ? arguments[1] : undefined;
+    // Remove default padding/border which can affect offset height
+    // https://github.com/twolfson/line-height/issues/4
+    // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight
+    _node.style.padding = '0px';
+    _node.style.border = '0px';

-  switch (action.type) {
-    case 'UPDATE_EDITOR_SETTINGS':
-      return { ...state,
-        ...action.settings
-      };
+    // Append it to the body
+    var body = document.body;
+    body.appendChild(_node);
+
+    // Assume the line height of the element is the height
+    var height = _node.offsetHeight;
+    lnHeight = height;
+
+    // Remove our child from the DOM
+    body.removeChild(_node);
   }

-  return state;
+  // Return the calculated height
+  return lnHeight;
 }
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  postId: reducer_postId,
-  postType: reducer_postType,
-  preferences,
-  saving,
-  postLock,
-  template: reducer_template,
-  postSavingLock,
-  isReady: reducer_isReady,
-  editorSettings: reducer_editorSettings,
-  postAutosavingLock
-}));
-
-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");

-// EXTERNAL MODULE: external ["wp","date"]
-var external_wp_date_ = __webpack_require__("FqII");
+// Export lineHeight
+module.exports = lineHeight;

-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");

-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
+/***/ }),

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
-var layout = __webpack_require__("Civd");
+/***/ 5372:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/constants.js
-/**
- * Set of post properties for which edits should assume a merging behavior,
- * assuming an object value.
- *
- * @type {Set}
- */
-const EDIT_MERGE_PROPERTIES = new Set(['meta']);
+"use strict";
 /**
- * Constant for the store module (or reducer) key.
+ * Copyright (c) 2013-present, Facebook, Inc.
  *
- * @type {string}
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
  */

-const STORE_NAME = 'core/editor';
-const SAVE_POST_NOTICE_ID = 'SAVE_POST_NOTICE_ID';
-const TRASH_POST_NOTICE_ID = 'TRASH_POST_NOTICE_ID';
-const PERMALINK_POSTNAME_REGEX = /%(?:postname|pagename)%/;
-const ONE_MINUTE_IN_MS = 60 * 1000;
-const AUTOSAVE_PROPERTIES = ['title', 'excerpt', 'content'];
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/url.js
-/**
- * External dependencies
- */

-/**
- * WordPress dependencies
- */

+var ReactPropTypesSecret = __webpack_require__(9567);

-/**
- * Returns the URL of a WPAdmin Page.
- *
- * TODO: This should be moved to a module less specific to the editor.
- *
- * @param {string} page  Page to navigate to.
- * @param {Object} query Query Args.
- *
- * @return {string} WPAdmin URL.
- */
+function emptyFunction() {}
+function emptyFunctionWithReset() {}
+emptyFunctionWithReset.resetWarningCache = emptyFunction;

-function getWPAdminURL(page, query) {
-  return Object(external_wp_url_["addQueryArgs"])(page, query);
-}
-/**
- * Performs some basic cleanup of a string for use as a post slug
- *
- * This replicates some of what sanitize_title() does in WordPress core, but
- * is only designed to approximate what the slug will be.
- *
- * Converts Latin-1 Supplement and Latin Extended-A letters to basic Latin letters.
- * Removes combining diacritical marks. Converts whitespace, periods,
- * and forward slashes to hyphens. Removes any remaining non-word characters
- * except hyphens and underscores. Converts remaining string to lowercase.
- * It does not account for octets, HTML entities, or other encoded characters.
- *
- * @param {string} string Title or slug to be processed
- *
- * @return {string} Processed string
- */
+module.exports = function() {
+  function shim(props, propName, componentName, location, propFullName, secret) {
+    if (secret === ReactPropTypesSecret) {
+      // It is still safe when called from React.
+      return;
+    }
+    var err = 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'
+    );
+    err.name = 'Invariant Violation';
+    throw err;
+  };
+  shim.isRequired = shim;
+  function getShim() {
+    return shim;
+  };
+  // Important!
+  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
+  var ReactPropTypes = {
+    array: shim,
+    bigint: shim,
+    bool: shim,
+    func: shim,
+    number: shim,
+    object: shim,
+    string: shim,
+    symbol: shim,

-function cleanForSlug(string) {
-  if (!string) {
-    return '';
-  }
+    any: shim,
+    arrayOf: getShim,
+    element: shim,
+    elementType: shim,
+    instanceOf: getShim,
+    node: shim,
+    objectOf: getShim,
+    oneOf: getShim,
+    oneOfType: getShim,
+    shape: getShim,
+    exact: getShim,

-  return Object(external_lodash_["trim"])(Object(external_lodash_["deburr"])(string).replace(/[\s\./]+/g, '-').replace(/[^\p{L}\p{N}_-]+/gu, '').toLowerCase(), '-');
-}
+    checkPropTypes: emptyFunctionWithReset,
+    resetWarningCache: emptyFunction
+  };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/header.js
-var header = __webpack_require__("G8mJ");
+  ReactPropTypes.PropTypes = ReactPropTypes;

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/footer.js
-var footer = __webpack_require__("//kF");
+  return ReactPropTypes;
+};

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/sidebar.js
-var sidebar = __webpack_require__("rvQu");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol-filled.js
-var symbol_filled = __webpack_require__("OE6V");
+/***/ }),

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/get-template-part-icon.js
-/**
- * WordPress dependencies
- */
+/***/ 2652:
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

 /**
- * Helper function to retrieve the corresponding icon by name.
- *
- * @param {string} iconName The name of the icon.
+ * Copyright (c) 2013-present, Facebook, Inc.
  *
- * @return {Object} The corresponding icon.
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
  */

-function getTemplatePartIcon(iconName) {
-  if ('header' === iconName) {
-    return header["a" /* default */];
-  } else if ('footer' === iconName) {
-    return footer["a" /* default */];
-  } else if ('sidebar' === iconName) {
-    return sidebar["a" /* default */];
-  }
+if (false) { var throwOnDirectAccess, ReactIs; } else {
+  // By explicitly using `prop-types` you are opting into new production behavior.
+  // http://fb.me/prop-types-in-prod
+  module.exports = __webpack_require__(5372)();
+}
+
+
+/***/ }),

-  return symbol_filled["a" /* default */];
-}
+/***/ 9567:
+/***/ (function(module) {

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/selectors.js
+"use strict";
 /**
- * External dependencies
+ * Copyright (c) 2013-present, Facebook, Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
  */


+
+var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
+
+module.exports = ReactPropTypesSecret;
+
+
+/***/ }),
+
+/***/ 5438:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+
+"use strict";
+
+var __extends = (this && this.__extends) || (function () {
+    var extendStatics = Object.setPrototypeOf ||
+        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+    return function (d, b) {
+        extendStatics(d, b);
+        function __() { this.constructor = d; }
+        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+    };
+})();
+var __assign = (this && this.__assign) || Object.assign || function(t) {
+    for (var s, i = 1, n = arguments.length; i < n; i++) {
+        s = arguments[i];
+        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
+            t[p] = s[p];
+    }
+    return t;
+};
+var __rest = (this && this.__rest) || function (s, e) {
+    var t = {};
+    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
+        t[p] = s[p];
+    if (s != null && typeof Object.getOwnPropertySymbols === "function")
+        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
+            t[p[i]] = s[p[i]];
+    return t;
+};
+exports.__esModule = true;
+var React = __webpack_require__(9196);
+var PropTypes = __webpack_require__(2652);
+var autosize = __webpack_require__(6411);
+var _getLineHeight = __webpack_require__(9894);
+var getLineHeight = _getLineHeight;
+var RESIZED = "autosize:resized";
 /**
- * WordPress dependencies
+ * A light replacement for built-in textarea component
+ * which automaticaly adjusts its height to match the content
  */
+var TextareaAutosizeClass = /** @class */ (function (_super) {
+    __extends(TextareaAutosizeClass, _super);
+    function TextareaAutosizeClass() {
+        var _this = _super !== null && _super.apply(this, arguments) || this;
+        _this.state = {
+            lineHeight: null
+        };
+        _this.textarea = null;
+        _this.onResize = function (e) {
+            if (_this.props.onResize) {
+                _this.props.onResize(e);
+            }
+        };
+        _this.updateLineHeight = function () {
+            if (_this.textarea) {
+                _this.setState({
+                    lineHeight: getLineHeight(_this.textarea)
+                });
+            }
+        };
+        _this.onChange = function (e) {
+            var onChange = _this.props.onChange;
+            _this.currentValue = e.currentTarget.value;
+            onChange && onChange(e);
+        };
+        return _this;
+    }
+    TextareaAutosizeClass.prototype.componentDidMount = function () {
+        var _this = this;
+        var _a = this.props, maxRows = _a.maxRows, async = _a.async;
+        if (typeof maxRows === "number") {
+            this.updateLineHeight();
+        }
+        if (typeof maxRows === "number" || async) {
+            /*
+              the defer is needed to:
+                - force "autosize" to activate the scrollbar when this.props.maxRows is passed
+                - support StyledComponents (see #71)
+            */
+            setTimeout(function () { return _this.textarea && autosize(_this.textarea); });
+        }
+        else {
+            this.textarea && autosize(this.textarea);
+        }
+        if (this.textarea) {
+            this.textarea.addEventListener(RESIZED, this.onResize);
+        }
+    };
+    TextareaAutosizeClass.prototype.componentWillUnmount = function () {
+        if (this.textarea) {
+            this.textarea.removeEventListener(RESIZED, this.onResize);
+            autosize.destroy(this.textarea);
+        }
+    };
+    TextareaAutosizeClass.prototype.render = function () {
+        var _this = this;
+        var _a = this, _b = _a.props, onResize = _b.onResize, maxRows = _b.maxRows, onChange = _b.onChange, style = _b.style, innerRef = _b.innerRef, children = _b.children, props = __rest(_b, ["onResize", "maxRows", "onChange", "style", "innerRef", "children"]), lineHeight = _a.state.lineHeight;
+        var maxHeight = maxRows && lineHeight ? lineHeight * maxRows : null;
+        return (React.createElement("textarea", __assign({}, props, { onChange: this.onChange, style: maxHeight ? __assign({}, style, { maxHeight: maxHeight }) : style, ref: function (element) {
+                _this.textarea = element;
+                if (typeof _this.props.innerRef === 'function') {
+                    _this.props.innerRef(element);
+                }
+                else if (_this.props.innerRef) {
+                    _this.props.innerRef.current = element;
+                }
+            } }), children));
+    };
+    TextareaAutosizeClass.prototype.componentDidUpdate = function () {
+        this.textarea && autosize.update(this.textarea);
+    };
+    TextareaAutosizeClass.defaultProps = {
+        rows: 1,
+        async: false
+    };
+    TextareaAutosizeClass.propTypes = {
+        rows: PropTypes.number,
+        maxRows: PropTypes.number,
+        onResize: PropTypes.func,
+        innerRef: PropTypes.any,
+        async: PropTypes.bool
+    };
+    return TextareaAutosizeClass;
+}(React.Component));
+exports.TextareaAutosize = React.forwardRef(function (props, ref) {
+    return React.createElement(TextareaAutosizeClass, __assign({}, props, { innerRef: ref }));
+});


+/***/ }),

+/***/ 773:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

+"use strict";
+var __webpack_unused_export__;

+__webpack_unused_export__ = true;
+var TextareaAutosize_1 = __webpack_require__(5438);
+exports.Z = TextareaAutosize_1.TextareaAutosize;


+/***/ }),

+/***/ 9196:
+/***/ (function(module) {

+"use strict";
+module.exports = window["React"];

-/**
- * Internal dependencies
- */
+/***/ })

+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
+"use strict";
+// ESM COMPAT FLAG
+__webpack_require__.r(__webpack_exports__);

+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "AlignmentToolbar": function() { return /* reexport */ AlignmentToolbar; },
+  "Autocomplete": function() { return /* reexport */ Autocomplete; },
+  "AutosaveMonitor": function() { return /* reexport */ autosave_monitor; },
+  "BlockAlignmentToolbar": function() { return /* reexport */ BlockAlignmentToolbar; },
+  "BlockControls": function() { return /* reexport */ BlockControls; },
+  "BlockEdit": function() { return /* reexport */ BlockEdit; },
+  "BlockEditorKeyboardShortcuts": function() { return /* reexport */ BlockEditorKeyboardShortcuts; },
+  "BlockFormatControls": function() { return /* reexport */ BlockFormatControls; },
+  "BlockIcon": function() { return /* reexport */ BlockIcon; },
+  "BlockInspector": function() { return /* reexport */ BlockInspector; },
+  "BlockList": function() { return /* reexport */ BlockList; },
+  "BlockMover": function() { return /* reexport */ BlockMover; },
+  "BlockNavigationDropdown": function() { return /* reexport */ BlockNavigationDropdown; },
+  "BlockSelectionClearer": function() { return /* reexport */ BlockSelectionClearer; },
+  "BlockSettingsMenu": function() { return /* reexport */ BlockSettingsMenu; },
+  "BlockTitle": function() { return /* reexport */ BlockTitle; },
+  "BlockToolbar": function() { return /* reexport */ BlockToolbar; },
+  "ColorPalette": function() { return /* reexport */ ColorPalette; },
+  "ContrastChecker": function() { return /* reexport */ ContrastChecker; },
+  "CopyHandler": function() { return /* reexport */ CopyHandler; },
+  "DefaultBlockAppender": function() { return /* reexport */ DefaultBlockAppender; },
+  "DocumentOutline": function() { return /* reexport */ document_outline; },
+  "DocumentOutlineCheck": function() { return /* reexport */ check; },
+  "EditorHistoryRedo": function() { return /* reexport */ editor_history_redo; },
+  "EditorHistoryUndo": function() { return /* reexport */ editor_history_undo; },
+  "EditorKeyboardShortcutsRegister": function() { return /* reexport */ register_shortcuts; },
+  "EditorNotices": function() { return /* reexport */ editor_notices; },
+  "EditorProvider": function() { return /* reexport */ provider; },
+  "EditorSnackbars": function() { return /* reexport */ EditorSnackbars; },
+  "EntitiesSavedStates": function() { return /* reexport */ EntitiesSavedStates; },
+  "ErrorBoundary": function() { return /* reexport */ error_boundary; },
+  "FontSizePicker": function() { return /* reexport */ FontSizePicker; },
+  "InnerBlocks": function() { return /* reexport */ InnerBlocks; },
+  "Inserter": function() { return /* reexport */ Inserter; },
+  "InspectorAdvancedControls": function() { return /* reexport */ InspectorAdvancedControls; },
+  "InspectorControls": function() { return /* reexport */ InspectorControls; },
+  "LocalAutosaveMonitor": function() { return /* reexport */ local_autosave_monitor; },
+  "MediaPlaceholder": function() { return /* reexport */ MediaPlaceholder; },
+  "MediaUpload": function() { return /* reexport */ MediaUpload; },
+  "MediaUploadCheck": function() { return /* reexport */ MediaUploadCheck; },
+  "MultiSelectScrollIntoView": function() { return /* reexport */ MultiSelectScrollIntoView; },
+  "NavigableToolbar": function() { return /* reexport */ NavigableToolbar; },
+  "ObserveTyping": function() { return /* reexport */ ObserveTyping; },
+  "PageAttributesCheck": function() { return /* reexport */ page_attributes_check; },
+  "PageAttributesOrder": function() { return /* reexport */ order; },
+  "PageAttributesParent": function() { return /* reexport */ page_attributes_parent; },
+  "PageTemplate": function() { return /* reexport */ post_template; },
+  "PanelColorSettings": function() { return /* reexport */ PanelColorSettings; },
+  "PlainText": function() { return /* reexport */ PlainText; },
+  "PostAuthor": function() { return /* reexport */ post_author; },
+  "PostAuthorCheck": function() { return /* reexport */ PostAuthorCheck; },
+  "PostComments": function() { return /* reexport */ post_comments; },
+  "PostExcerpt": function() { return /* reexport */ post_excerpt; },
+  "PostExcerptCheck": function() { return /* reexport */ post_excerpt_check; },
+  "PostFeaturedImage": function() { return /* reexport */ post_featured_image; },
+  "PostFeaturedImageCheck": function() { return /* reexport */ post_featured_image_check; },
+  "PostFormat": function() { return /* reexport */ PostFormat; },
+  "PostFormatCheck": function() { return /* reexport */ post_format_check; },
+  "PostLastRevision": function() { return /* reexport */ post_last_revision; },
+  "PostLastRevisionCheck": function() { return /* reexport */ post_last_revision_check; },
+  "PostLockedModal": function() { return /* reexport */ PostLockedModal; },
+  "PostPendingStatus": function() { return /* reexport */ post_pending_status; },
+  "PostPendingStatusCheck": function() { return /* reexport */ post_pending_status_check; },
+  "PostPingbacks": function() { return /* reexport */ post_pingbacks; },
+  "PostPreviewButton": function() { return /* reexport */ post_preview_button; },
+  "PostPublishButton": function() { return /* reexport */ post_publish_button; },
+  "PostPublishButtonLabel": function() { return /* reexport */ label; },
+  "PostPublishPanel": function() { return /* reexport */ post_publish_panel; },
+  "PostSavedState": function() { return /* reexport */ PostSavedState; },
+  "PostSchedule": function() { return /* reexport */ PostSchedule; },
+  "PostScheduleCheck": function() { return /* reexport */ post_schedule_check; },
+  "PostScheduleLabel": function() { return /* reexport */ post_schedule_label; },
+  "PostSlug": function() { return /* reexport */ post_slug; },
+  "PostSlugCheck": function() { return /* reexport */ PostSlugCheck; },
+  "PostSticky": function() { return /* reexport */ post_sticky; },
+  "PostStickyCheck": function() { return /* reexport */ post_sticky_check; },
+  "PostSwitchToDraftButton": function() { return /* reexport */ post_switch_to_draft_button; },
+  "PostTaxonomies": function() { return /* reexport */ post_taxonomies; },
+  "PostTaxonomiesCheck": function() { return /* reexport */ post_taxonomies_check; },
+  "PostTextEditor": function() { return /* reexport */ PostTextEditor; },
+  "PostTitle": function() { return /* reexport */ PostTitle; },
+  "PostTrash": function() { return /* reexport */ post_trash; },
+  "PostTrashCheck": function() { return /* reexport */ post_trash_check; },
+  "PostTypeSupportCheck": function() { return /* reexport */ post_type_support_check; },
+  "PostVisibility": function() { return /* reexport */ post_visibility; },
+  "PostVisibilityCheck": function() { return /* reexport */ post_visibility_check; },
+  "PostVisibilityLabel": function() { return /* reexport */ post_visibility_label; },
+  "PreserveScrollInReorder": function() { return /* reexport */ PreserveScrollInReorder; },
+  "RichText": function() { return /* reexport */ RichText; },
+  "RichTextShortcut": function() { return /* reexport */ RichTextShortcut; },
+  "RichTextToolbarButton": function() { return /* reexport */ RichTextToolbarButton; },
+  "ServerSideRender": function() { return /* reexport */ (external_wp_serverSideRender_default()); },
+  "SkipToSelectedBlock": function() { return /* reexport */ SkipToSelectedBlock; },
+  "TableOfContents": function() { return /* reexport */ table_of_contents; },
+  "TextEditorGlobalKeyboardShortcuts": function() { return /* reexport */ TextEditorGlobalKeyboardShortcuts; },
+  "ThemeSupportCheck": function() { return /* reexport */ theme_support_check; },
+  "URLInput": function() { return /* reexport */ URLInput; },
+  "URLInputButton": function() { return /* reexport */ URLInputButton; },
+  "URLPopover": function() { return /* reexport */ URLPopover; },
+  "UnsavedChangesWarning": function() { return /* reexport */ UnsavedChangesWarning; },
+  "VisualEditorGlobalKeyboardShortcuts": function() { return /* reexport */ visual_editor_shortcuts; },
+  "Warning": function() { return /* reexport */ Warning; },
+  "WordCount": function() { return /* reexport */ WordCount; },
+  "WritingFlow": function() { return /* reexport */ WritingFlow; },
+  "__unstableRichTextInputEvent": function() { return /* reexport */ __unstableRichTextInputEvent; },
+  "cleanForSlug": function() { return /* reexport */ cleanForSlug; },
+  "createCustomColorsHOC": function() { return /* reexport */ createCustomColorsHOC; },
+  "getColorClassName": function() { return /* reexport */ getColorClassName; },
+  "getColorObjectByAttributeValues": function() { return /* reexport */ getColorObjectByAttributeValues; },
+  "getColorObjectByColorValue": function() { return /* reexport */ getColorObjectByColorValue; },
+  "getFontSize": function() { return /* reexport */ getFontSize; },
+  "getFontSizeClass": function() { return /* reexport */ getFontSizeClass; },
+  "getTemplatePartIcon": function() { return /* reexport */ getTemplatePartIcon; },
+  "mediaUpload": function() { return /* reexport */ mediaUpload; },
+  "store": function() { return /* reexport */ store; },
+  "storeConfig": function() { return /* reexport */ storeConfig; },
+  "transformStyles": function() { return /* reexport */ external_wp_blockEditor_namespaceObject.transformStyles; },
+  "userAutocompleter": function() { return /* reexport */ user; },
+  "withColorContext": function() { return /* reexport */ withColorContext; },
+  "withColors": function() { return /* reexport */ withColors; },
+  "withFontSizes": function() { return /* reexport */ withFontSizes; }
+});

+// NAMESPACE OBJECT: ./node_modules/@wordpress/editor/build-module/store/selectors.js
+var selectors_namespaceObject = {};
+__webpack_require__.r(selectors_namespaceObject);
+__webpack_require__.d(selectors_namespaceObject, {
+  "__experimentalGetDefaultTemplatePartAreas": function() { return __experimentalGetDefaultTemplatePartAreas; },
+  "__experimentalGetDefaultTemplateType": function() { return __experimentalGetDefaultTemplateType; },
+  "__experimentalGetDefaultTemplateTypes": function() { return __experimentalGetDefaultTemplateTypes; },
+  "__experimentalGetTemplateInfo": function() { return __experimentalGetTemplateInfo; },
+  "__unstableIsEditorReady": function() { return __unstableIsEditorReady; },
+  "canInsertBlockType": function() { return canInsertBlockType; },
+  "canUserUseUnfilteredHTML": function() { return canUserUseUnfilteredHTML; },
+  "didPostSaveRequestFail": function() { return didPostSaveRequestFail; },
+  "didPostSaveRequestSucceed": function() { return didPostSaveRequestSucceed; },
+  "getActivePostLock": function() { return getActivePostLock; },
+  "getAdjacentBlockClientId": function() { return getAdjacentBlockClientId; },
+  "getAutosaveAttribute": function() { return getAutosaveAttribute; },
+  "getBlock": function() { return getBlock; },
+  "getBlockAttributes": function() { return getBlockAttributes; },
+  "getBlockCount": function() { return getBlockCount; },
+  "getBlockHierarchyRootClientId": function() { return getBlockHierarchyRootClientId; },
+  "getBlockIndex": function() { return getBlockIndex; },
+  "getBlockInsertionPoint": function() { return getBlockInsertionPoint; },
+  "getBlockListSettings": function() { return getBlockListSettings; },
+  "getBlockMode": function() { return getBlockMode; },
+  "getBlockName": function() { return getBlockName; },
+  "getBlockOrder": function() { return getBlockOrder; },
+  "getBlockRootClientId": function() { return getBlockRootClientId; },
+  "getBlockSelectionEnd": function() { return getBlockSelectionEnd; },
+  "getBlockSelectionStart": function() { return getBlockSelectionStart; },
+  "getBlocks": function() { return getBlocks; },
+  "getBlocksByClientId": function() { return getBlocksByClientId; },
+  "getClientIdsOfDescendants": function() { return getClientIdsOfDescendants; },
+  "getClientIdsWithDescendants": function() { return getClientIdsWithDescendants; },
+  "getCurrentPost": function() { return getCurrentPost; },
+  "getCurrentPostAttribute": function() { return getCurrentPostAttribute; },
+  "getCurrentPostId": function() { return getCurrentPostId; },
+  "getCurrentPostLastRevisionId": function() { return getCurrentPostLastRevisionId; },
+  "getCurrentPostRevisionsCount": function() { return getCurrentPostRevisionsCount; },
+  "getCurrentPostType": function() { return getCurrentPostType; },
+  "getEditedPostAttribute": function() { return getEditedPostAttribute; },
+  "getEditedPostContent": function() { return getEditedPostContent; },
+  "getEditedPostPreviewLink": function() { return getEditedPostPreviewLink; },
+  "getEditedPostSlug": function() { return getEditedPostSlug; },
+  "getEditedPostVisibility": function() { return getEditedPostVisibility; },
+  "getEditorBlocks": function() { return getEditorBlocks; },
+  "getEditorSelection": function() { return getEditorSelection; },
+  "getEditorSelectionEnd": function() { return getEditorSelectionEnd; },
+  "getEditorSelectionStart": function() { return getEditorSelectionStart; },
+  "getEditorSettings": function() { return getEditorSettings; },
+  "getFirstMultiSelectedBlockClientId": function() { return getFirstMultiSelectedBlockClientId; },
+  "getGlobalBlockCount": function() { return getGlobalBlockCount; },
+  "getInserterItems": function() { return getInserterItems; },
+  "getLastMultiSelectedBlockClientId": function() { return getLastMultiSelectedBlockClientId; },
+  "getMultiSelectedBlockClientIds": function() { return getMultiSelectedBlockClientIds; },
+  "getMultiSelectedBlocks": function() { return getMultiSelectedBlocks; },
+  "getMultiSelectedBlocksEndClientId": function() { return getMultiSelectedBlocksEndClientId; },
+  "getMultiSelectedBlocksStartClientId": function() { return getMultiSelectedBlocksStartClientId; },
+  "getNextBlockClientId": function() { return getNextBlockClientId; },
+  "getPermalink": function() { return getPermalink; },
+  "getPermalinkParts": function() { return getPermalinkParts; },
+  "getPostEdits": function() { return getPostEdits; },
+  "getPostLockUser": function() { return getPostLockUser; },
+  "getPostTypeLabel": function() { return getPostTypeLabel; },
+  "getPreviousBlockClientId": function() { return getPreviousBlockClientId; },
+  "getReferenceByDistinctEdits": function() { return getReferenceByDistinctEdits; },
+  "getSelectedBlock": function() { return getSelectedBlock; },
+  "getSelectedBlockClientId": function() { return getSelectedBlockClientId; },
+  "getSelectedBlockCount": function() { return getSelectedBlockCount; },
+  "getSelectedBlocksInitialCaretPosition": function() { return getSelectedBlocksInitialCaretPosition; },
+  "getStateBeforeOptimisticTransaction": function() { return getStateBeforeOptimisticTransaction; },
+  "getSuggestedPostFormat": function() { return getSuggestedPostFormat; },
+  "getTemplate": function() { return getTemplate; },
+  "getTemplateLock": function() { return getTemplateLock; },
+  "hasChangedContent": function() { return hasChangedContent; },
+  "hasEditorRedo": function() { return hasEditorRedo; },
+  "hasEditorUndo": function() { return hasEditorUndo; },
+  "hasInserterItems": function() { return hasInserterItems; },
+  "hasMultiSelection": function() { return hasMultiSelection; },
+  "hasNonPostEntityChanges": function() { return hasNonPostEntityChanges; },
+  "hasSelectedBlock": function() { return hasSelectedBlock; },
+  "hasSelectedInnerBlock": function() { return hasSelectedInnerBlock; },
+  "inSomeHistory": function() { return inSomeHistory; },
+  "isAncestorMultiSelected": function() { return isAncestorMultiSelected; },
+  "isAutosavingPost": function() { return isAutosavingPost; },
+  "isBlockInsertionPointVisible": function() { return isBlockInsertionPointVisible; },
+  "isBlockMultiSelected": function() { return isBlockMultiSelected; },
+  "isBlockSelected": function() { return isBlockSelected; },
+  "isBlockValid": function() { return isBlockValid; },
+  "isBlockWithinSelection": function() { return isBlockWithinSelection; },
+  "isCaretWithinFormattedText": function() { return isCaretWithinFormattedText; },
+  "isCleanNewPost": function() { return isCleanNewPost; },
+  "isCurrentPostPending": function() { return isCurrentPostPending; },
+  "isCurrentPostPublished": function() { return isCurrentPostPublished; },
+  "isCurrentPostScheduled": function() { return isCurrentPostScheduled; },
+  "isEditedPostAutosaveable": function() { return isEditedPostAutosaveable; },
+  "isEditedPostBeingScheduled": function() { return isEditedPostBeingScheduled; },
+  "isEditedPostDateFloating": function() { return isEditedPostDateFloating; },
+  "isEditedPostDirty": function() { return isEditedPostDirty; },
+  "isEditedPostEmpty": function() { return isEditedPostEmpty; },
+  "isEditedPostNew": function() { return isEditedPostNew; },
+  "isEditedPostPublishable": function() { return isEditedPostPublishable; },
+  "isEditedPostSaveable": function() { return isEditedPostSaveable; },
+  "isFirstMultiSelectedBlock": function() { return isFirstMultiSelectedBlock; },
+  "isMultiSelecting": function() { return isMultiSelecting; },
+  "isPermalinkEditable": function() { return isPermalinkEditable; },
+  "isPostAutosavingLocked": function() { return isPostAutosavingLocked; },
+  "isPostLockTakeover": function() { return isPostLockTakeover; },
+  "isPostLocked": function() { return isPostLocked; },
+  "isPostSavingLocked": function() { return isPostSavingLocked; },
+  "isPreviewingPost": function() { return isPreviewingPost; },
+  "isPublishSidebarEnabled": function() { return isPublishSidebarEnabled; },
+  "isPublishingPost": function() { return isPublishingPost; },
+  "isSavingNonPostEntityChanges": function() { return isSavingNonPostEntityChanges; },
+  "isSavingPost": function() { return isSavingPost; },
+  "isSelectionEnabled": function() { return isSelectionEnabled; },
+  "isTyping": function() { return isTyping; },
+  "isValidTemplate": function() { return isValidTemplate; }
+});

+// NAMESPACE OBJECT: ./node_modules/@wordpress/editor/build-module/store/actions.js
+var actions_namespaceObject = {};
+__webpack_require__.r(actions_namespaceObject);
+__webpack_require__.d(actions_namespaceObject, {
+  "__experimentalRequestPostUpdateFinish": function() { return __experimentalRequestPostUpdateFinish; },
+  "__experimentalRequestPostUpdateStart": function() { return __experimentalRequestPostUpdateStart; },
+  "__experimentalTearDownEditor": function() { return __experimentalTearDownEditor; },
+  "autosave": function() { return autosave; },
+  "clearSelectedBlock": function() { return clearSelectedBlock; },
+  "createUndoLevel": function() { return createUndoLevel; },
+  "disablePublishSidebar": function() { return disablePublishSidebar; },
+  "editPost": function() { return editPost; },
+  "enablePublishSidebar": function() { return enablePublishSidebar; },
+  "enterFormattedText": function() { return enterFormattedText; },
+  "exitFormattedText": function() { return exitFormattedText; },
+  "hideInsertionPoint": function() { return hideInsertionPoint; },
+  "insertBlock": function() { return insertBlock; },
+  "insertBlocks": function() { return insertBlocks; },
+  "insertDefaultBlock": function() { return insertDefaultBlock; },
+  "lockPostAutosaving": function() { return lockPostAutosaving; },
+  "lockPostSaving": function() { return lockPostSaving; },
+  "mergeBlocks": function() { return mergeBlocks; },
+  "moveBlockToPosition": function() { return moveBlockToPosition; },
+  "moveBlocksDown": function() { return moveBlocksDown; },
+  "moveBlocksUp": function() { return moveBlocksUp; },
+  "multiSelect": function() { return multiSelect; },
+  "receiveBlocks": function() { return receiveBlocks; },
+  "redo": function() { return redo; },
+  "refreshPost": function() { return refreshPost; },
+  "removeBlock": function() { return removeBlock; },
+  "removeBlocks": function() { return removeBlocks; },
+  "replaceBlock": function() { return replaceBlock; },
+  "replaceBlocks": function() { return replaceBlocks; },
+  "resetBlocks": function() { return resetBlocks; },
+  "resetEditorBlocks": function() { return resetEditorBlocks; },
+  "resetPost": function() { return resetPost; },
+  "savePost": function() { return savePost; },
+  "selectBlock": function() { return selectBlock; },
+  "setTemplateValidity": function() { return setTemplateValidity; },
+  "setupEditor": function() { return setupEditor; },
+  "setupEditorState": function() { return setupEditorState; },
+  "showInsertionPoint": function() { return showInsertionPoint; },
+  "startMultiSelect": function() { return startMultiSelect; },
+  "startTyping": function() { return startTyping; },
+  "stopMultiSelect": function() { return stopMultiSelect; },
+  "stopTyping": function() { return stopTyping; },
+  "synchronizeTemplate": function() { return synchronizeTemplate; },
+  "toggleBlockMode": function() { return toggleBlockMode; },
+  "toggleSelection": function() { return toggleSelection; },
+  "trashPost": function() { return trashPost; },
+  "undo": function() { return undo; },
+  "unlockPostAutosaving": function() { return unlockPostAutosaving; },
+  "unlockPostSaving": function() { return unlockPostSaving; },
+  "updateBlock": function() { return updateBlock; },
+  "updateBlockAttributes": function() { return updateBlockAttributes; },
+  "updateBlockListSettings": function() { return updateBlockListSettings; },
+  "updateEditorSettings": function() { return updateEditorSettings; },
+  "updatePost": function() { return updatePost; },
+  "updatePostLock": function() { return updatePostLock; }
+});

+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-/**
- * Shared reference to an empty object for cases where it is important to avoid
- * returning a new object reference on every invocation, as in a connected or
- * other pure component which performs `shouldComponentUpdate` check on props.
- * This should be used as a last resort, since the normalized data should be
- * maintained by the reducer result in state.
- */
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-const EMPTY_OBJECT = {};
+    return target;
+  };
+
+  return _extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external ["wp","coreData"]
+var external_wp_coreData_namespaceObject = window["wp"]["coreData"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: external ["wp","dataControls"]
+var external_wp_dataControls_namespaceObject = window["wp"]["dataControls"];
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/defaults.js
 /**
- * Shared reference to an empty array for cases where it is important to avoid
- * returning a new array reference on every invocation, as in a connected or
- * other pure component which performs `shouldComponentUpdate` check on props.
- * This should be used as a last resort, since the normalized data should be
- * maintained by the reducer result in state.
+ * WordPress dependencies
  */

-const EMPTY_ARRAY = [];
+const PREFERENCES_DEFAULTS = {
+  insertUsage: {},
+  // Should be kept for backward compatibility, see: https://github.com/WordPress/gutenberg/issues/14580.
+  isPublishSidebarEnabled: true
+};
 /**
- * Returns true if any past editor history snapshots exist, or false otherwise.
- *
- * @param {Object} state Global application state.
+ * The default post editor settings
  *
- * @return {boolean} Whether undo history exists.
+ *  allowedBlockTypes  boolean|Array Allowed block types
+ *  richEditingEnabled boolean       Whether rich editing is enabled or not
+ *  codeEditingEnabled boolean       Whether code editing is enabled or not
+ *  enableCustomFields boolean       Whether the WordPress custom fields are enabled or not.
+ *                                     true  = the user has opted to show the Custom Fields panel at the bottom of the editor.
+ *                                     false = the user has opted to hide the Custom Fields panel at the bottom of the editor.
+ *                                     undefined = the current environment does not support Custom Fields,
+ *                                                 so the option toggle in Preferences -> Panels to
+ *                                                 enable the Custom Fields panel is not displayed.
+ *  autosaveInterval   number        Autosave Interval
+ *  availableTemplates array?        The available post templates
+ *  disablePostFormats boolean       Whether or not the post formats are disabled
+ *  allowedMimeTypes   array?        List of allowed mime types and file extensions
+ *  maxUploadFileSize  number        Maximum upload file size
+ *  supportsLayout     boolean      Whether the editor supports layouts.
  */

-const hasEditorUndo = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  return select(external_wp_coreData_["store"]).hasUndo();
-});
+const EDITOR_SETTINGS_DEFAULTS = { ...external_wp_blockEditor_namespaceObject.SETTINGS_DEFAULTS,
+  richEditingEnabled: true,
+  codeEditingEnabled: true,
+  enableCustomFields: undefined,
+  supportsLayout: true
+};
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/reducer.js
 /**
- * Returns true if any future editor history snapshots exist, or false
- * otherwise.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether redo history exists.
+ * External dependencies
  */

-const hasEditorRedo = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  return select(external_wp_coreData_["store"]).hasRedo();
-});
 /**
- * Returns true if the currently edited post is yet to be saved, or false if
- * the post has been saved.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the post is new.
+ * WordPress dependencies
  */

-function selectors_isEditedPostNew(state) {
-  return selectors_getCurrentPost(state).status === 'auto-draft';
-}
+
 /**
- * Returns true if content includes unsaved changes, or false otherwise.
- *
- * @param {Object} state Editor state.
- *
- * @return {boolean} Whether content includes unsaved changes.
+ * Internal dependencies
  */

-function hasChangedContent(state) {
-  const edits = selectors_getPostEdits(state);
-  return 'blocks' in edits || // `edits` is intended to contain only values which are different from
-  // the saved post, so the mere presence of a property is an indicator
-  // that the value is different than what is known to be saved. While
-  // content in Visual mode is represented by the blocks state, in Text
-  // mode it is tracked by `edits.content`.
-  'content' in edits;
-}
+
 /**
- * Returns true if there are unsaved values for the current edit session, or
- * false if the editing state matches the saved or new post.
+ * Returns a post attribute value, flattening nested rendered content using its
+ * raw value in place of its original object form.
  *
- * @param {Object} state Global application state.
+ * @param {*} value Original value.
  *
- * @return {boolean} Whether unsaved values exist.
+ * @return {*} Raw value.
  */

-const selectors_isEditedPostDirty = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  // Edits should contain only fields which differ from the saved post (reset
-  // at initial load and save complete). Thus, a non-empty edits state can be
-  // inferred to contain unsaved values.
-  const postType = selectors_getCurrentPostType(state);
-  const postId = selectors_getCurrentPostId(state);
-
-  if (select(external_wp_coreData_["store"]).hasEditsForEntityRecord('postType', postType, postId)) {
-    return true;
+function getPostRawValue(value) {
+  if (value && 'object' === typeof value && 'raw' in value) {
+    return value.raw;
   }

-  return false;
-});
+  return value;
+}
 /**
- * Returns true if there are unsaved edits for entities other than
- * the editor's post, and false otherwise.
+ * Returns true if the two object arguments have the same keys, or false
+ * otherwise.
  *
- * @param {Object} state Global application state.
+ * @param {Object} a First object.
+ * @param {Object} b Second object.
  *
- * @return {boolean} Whether there are edits or not.
+ * @return {boolean} Whether the two objects have the same keys.
  */

-const selectors_hasNonPostEntityChanges = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const dirtyEntityRecords = select(external_wp_coreData_["store"]).__experimentalGetDirtyEntityRecords();
-
-  const {
-    type,
-    id
-  } = selectors_getCurrentPost(state);
-  return Object(external_lodash_["some"])(dirtyEntityRecords, entityRecord => entityRecord.kind !== 'postType' || entityRecord.name !== type || entityRecord.key !== id);
-});
+function hasSameKeys(a, b) {
+  return isEqual(keys(a), keys(b));
+}
 /**
- * Returns true if there are no unsaved values for the current edit session and
- * if the currently edited post is new (has never been saved before).
+ * Returns true if, given the currently dispatching action and the previously
+ * dispatched action, the two actions are editing the same post property, or
+ * false otherwise.
  *
- * @param {Object} state Global application state.
+ * @param {Object} action         Currently dispatching action.
+ * @param {Object} previousAction Previously dispatched action.
  *
- * @return {boolean} Whether new post and unsaved values exist.
+ * @return {boolean} Whether actions are updating the same post property.
  */

-function selectors_isCleanNewPost(state) {
-  return !selectors_isEditedPostDirty(state) && selectors_isEditedPostNew(state);
+function isUpdatingSamePostProperty(action, previousAction) {
+  return action.type === 'EDIT_POST' && hasSameKeys(action.edits, previousAction.edits);
 }
 /**
- * Returns the post currently being edited in its last known saved state, not
- * including unsaved edits. Returns an object containing relevant default post
- * values if the post has not yet been saved.
+ * Returns true if, given the currently dispatching action and the previously
+ * dispatched action, the two actions are modifying the same property such that
+ * undo history should be batched.
  *
- * @param {Object} state Global application state.
+ * @param {Object} action         Currently dispatching action.
+ * @param {Object} previousAction Previously dispatched action.
  *
- * @return {Object} Post object.
+ * @return {boolean} Whether to overwrite present state.
  */

-const selectors_getCurrentPost = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const postId = selectors_getCurrentPostId(state);
-  const postType = selectors_getCurrentPostType(state);
-  const post = select(external_wp_coreData_["store"]).getRawEntityRecord('postType', postType, postId);
+function shouldOverwriteState(action, previousAction) {
+  if (action.type === 'RESET_EDITOR_BLOCKS') {
+    return !action.shouldCreateUndoLevel;
+  }

-  if (post) {
-    return post;
-  } // This exists for compatibility with the previous selector behavior
-  // which would guarantee an object return based on the editor reducer's
-  // default empty object state.
+  if (!previousAction || action.type !== previousAction.type) {
+    return false;
+  }

+  return isUpdatingSamePostProperty(action, previousAction);
+}
+function postId() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-  return EMPTY_OBJECT;
-});
-/**
- * Returns the post type of the post currently being edited.
- *
- * @param {Object} state Global application state.
- *
- * @return {string} Post type.
- */
+  switch (action.type) {
+    case 'SETUP_EDITOR_STATE':
+    case 'RESET_POST':
+      return action.post.id;
+  }

-function selectors_getCurrentPostType(state) {
-  return state.postType;
+  return state;
 }
-/**
- * Returns the ID of the post currently being edited, or null if the post has
- * not yet been saved.
- *
- * @param {Object} state Global application state.
- *
- * @return {?number} ID of current post.
- */
+function postType() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-function selectors_getCurrentPostId(state) {
-  return state.postId;
+  switch (action.type) {
+    case 'SETUP_EDITOR_STATE':
+    case 'RESET_POST':
+      return action.post.type;
+  }
+
+  return state;
 }
 /**
- * Returns the number of revisions of the post currently being edited.
+ * Reducer returning whether the post blocks match the defined template or not.
  *
- * @param {Object} state Global application state.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  *
- * @return {number} Number of revisions.
+ * @return {boolean} Updated state.
  */

-function selectors_getCurrentPostRevisionsCount(state) {
-  return Object(external_lodash_["get"])(selectors_getCurrentPost(state), ['_links', 'version-history', 0, 'count'], 0);
+function 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,
+        isValid: action.isValid
+      };
+  }
+
+  return state;
 }
 /**
- * Returns the last revision ID of the post currently being edited,
- * or null if the post has no revisions.
+ * Reducer returning the user preferences.
  *
- * @param {Object} state Global application state.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  *
- * @return {?number} ID of the last revision.
+ * @return {string} Updated state.
  */

-function selectors_getCurrentPostLastRevisionId(state) {
-  return Object(external_lodash_["get"])(selectors_getCurrentPost(state), ['_links', 'predecessor-version', 0, 'id'], null);
+function preferences() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : PREFERENCES_DEFAULTS;
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'ENABLE_PUBLISH_SIDEBAR':
+      return { ...state,
+        isPublishSidebarEnabled: true
+      };
+
+    case 'DISABLE_PUBLISH_SIDEBAR':
+      return { ...state,
+        isPublishSidebarEnabled: false
+      };
+  }
+
+  return state;
 }
 /**
- * Returns any post values which have been changed in the editor but not yet
- * been saved.
+ * Reducer returning current network request state (whether a request to
+ * the WP REST API is in progress, successful, or failed).
  *
- * @param {Object} state Global application state.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  *
- * @return {Object} Object of key value pairs comprising unsaved edits.
+ * @return {Object} Updated state.
  */

-const selectors_getPostEdits = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const postType = selectors_getCurrentPostType(state);
-  const postId = selectors_getCurrentPostId(state);
-  return select(external_wp_coreData_["store"]).getEntityRecordEdits('postType', postType, postId) || EMPTY_OBJECT;
-});
+function saving() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;
+
+  switch (action.type) {
+    case 'REQUEST_POST_UPDATE_START':
+    case 'REQUEST_POST_UPDATE_FINISH':
+      return {
+        pending: action.type === 'REQUEST_POST_UPDATE_START',
+        options: action.options || {}
+      };
+  }
+
+  return state;
+}
 /**
- * Returns a new reference when edited values have changed. This is useful in
- * inferring where an edit has been made between states by comparison of the
- * return values using strict equality.
- *
- * @deprecated since Gutenberg 6.5.0.
- *
- * @example
- *
- * ```
- * const hasEditOccurred = (
- *    getReferenceByDistinctEdits( beforeState ) !==
- *    getReferenceByDistinctEdits( afterState )
- * );
- * ```
+ * Post Lock State.
  *
- * @param {Object} state Editor state.
+ * @typedef {Object} PostLockState
  *
- * @return {*} A value whose reference will change only when an edit occurs.
+ * @property {boolean}  isLocked       Whether the post is locked.
+ * @property {?boolean} isTakeover     Whether the post editing has been taken over.
+ * @property {?boolean} activePostLock Active post lock value.
+ * @property {?Object}  user           User that took over the post.
  */

-const selectors_getReferenceByDistinctEdits = Object(external_wp_data_["createRegistrySelector"])(select => () => {
-  external_wp_deprecated_default()("`wp.data.select( 'core/editor' ).getReferenceByDistinctEdits`", {
-    since: '5.4',
-    alternative: "`wp.data.select( 'core' ).getReferenceByDistinctEdits`"
-  });
-  return select(external_wp_coreData_["store"]).getReferenceByDistinctEdits();
-});
 /**
- * Returns an attribute value of the saved post.
+ * Reducer returning the post lock status.
  *
- * @param {Object} state         Global application state.
- * @param {string} attributeName Post attribute name.
+ * @param {PostLockState} state  Current state.
+ * @param {Object}        action Dispatched action.
  *
- * @return {*} Post attribute value.
+ * @return {PostLockState} Updated state.
  */

-function selectors_getCurrentPostAttribute(state, attributeName) {
-  switch (attributeName) {
-    case 'type':
-      return selectors_getCurrentPostType(state);
-
-    case 'id':
-      return selectors_getCurrentPostId(state);
-
-    default:
-      const post = selectors_getCurrentPost(state);
-
-      if (!post.hasOwnProperty(attributeName)) {
-        break;
-      }
+function postLock() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
+    isLocked: false
+  };
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-      return getPostRawValue(post[attributeName]);
+  switch (action.type) {
+    case 'UPDATE_POST_LOCK':
+      return action.lock;
   }
+
+  return state;
 }
 /**
- * Returns a single attribute of the post being edited, preferring the unsaved
- * edit if one exists, but merging with the attribute value for the last known
- * saved state of the post (this is needed for some nested attributes like meta).
+ * Post saving lock.
+ *
+ * When post saving is locked, the post cannot be published or updated.
  *
- * @param {Object} state         Global application state.
- * @param {string} attributeName Post attribute name.
+ * @param {PostLockState} state  Current state.
+ * @param {Object}        action Dispatched action.
  *
- * @return {*} Post attribute value.
+ * @return {PostLockState} Updated state.
  */

-const getNestedEditedPostProperty = (state, attributeName) => {
-  const edits = selectors_getPostEdits(state);
+function postSavingLock() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-  if (!edits.hasOwnProperty(attributeName)) {
-    return selectors_getCurrentPostAttribute(state, attributeName);
+  switch (action.type) {
+    case 'LOCK_POST_SAVING':
+      return { ...state,
+        [action.lockName]: true
+      };
+
+    case 'UNLOCK_POST_SAVING':
+      return (0,external_lodash_namespaceObject.omit)(state, action.lockName);
   }

-  return { ...selectors_getCurrentPostAttribute(state, attributeName),
-    ...edits[attributeName]
-  };
-};
+  return state;
+}
 /**
- * Returns a single attribute of the post being edited, preferring the unsaved
- * edit if one exists, but falling back to the attribute for the last known
- * saved state of the post.
+ * Post autosaving lock.
  *
- * @param {Object} state         Global application state.
- * @param {string} attributeName Post attribute name.
+ * When post autosaving is locked, the post will not autosave.
  *
- * @return {*} Post attribute value.
+ * @param {PostLockState} state  Current state.
+ * @param {Object}        action Dispatched action.
+ *
+ * @return {PostLockState} Updated state.
  */

+function postAutosavingLock() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-function selectors_getEditedPostAttribute(state, attributeName) {
-  // Special cases
-  switch (attributeName) {
-    case 'content':
-      return getEditedPostContent(state);
-  } // Fall back to saved post value if not edited.
-
-
-  const edits = selectors_getPostEdits(state);
-
-  if (!edits.hasOwnProperty(attributeName)) {
-    return selectors_getCurrentPostAttribute(state, attributeName);
-  } // Merge properties are objects which contain only the patch edit in state,
-  // and thus must be merged with the current post attribute.
-
+  switch (action.type) {
+    case 'LOCK_POST_AUTOSAVING':
+      return { ...state,
+        [action.lockName]: true
+      };

-  if (EDIT_MERGE_PROPERTIES.has(attributeName)) {
-    return getNestedEditedPostProperty(state, attributeName);
+    case 'UNLOCK_POST_AUTOSAVING':
+      return (0,external_lodash_namespaceObject.omit)(state, action.lockName);
   }

-  return edits[attributeName];
+  return state;
 }
 /**
- * Returns an attribute value of the current autosave revision for a post, or
- * null if there is no autosave for the post.
- *
- * @deprecated since 5.6. Callers should use the `getAutosave( postType, postId, userId )` selector
- * 			   from the '@wordpress/core-data' package and access properties on the returned
- * 			   autosave object using getPostRawValue.
+ * Reducer returning whether the editor is ready to be rendered.
+ * The editor is considered ready to be rendered once
+ * the post object is loaded properly and the initial blocks parsed.
  *
- * @param {Object} state         Global application state.
- * @param {string} attributeName Autosave attribute name.
+ * @param {boolean} state
+ * @param {Object}  action
  *
- * @return {*} Autosave attribute value.
+ * @return {boolean} Updated state.
  */

-const getAutosaveAttribute = Object(external_wp_data_["createRegistrySelector"])(select => (state, attributeName) => {
-  if (!Object(external_lodash_["includes"])(AUTOSAVE_PROPERTIES, attributeName) && attributeName !== 'preview_link') {
-    return;
-  }
+function isReady() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-  const postType = selectors_getCurrentPostType(state);
-  const postId = selectors_getCurrentPostId(state);
-  const currentUserId = Object(external_lodash_["get"])(select(external_wp_coreData_["store"]).getCurrentUser(), ['id']);
-  const autosave = select(external_wp_coreData_["store"]).getAutosave(postType, postId, currentUserId);
+  switch (action.type) {
+    case 'SETUP_EDITOR_STATE':
+      return true;

-  if (autosave) {
-    return getPostRawValue(autosave[attributeName]);
+    case 'TEAR_DOWN_EDITOR':
+      return false;
   }
-});
+
+  return state;
+}
 /**
- * Returns the current visibility of the post being edited, preferring the
- * unsaved value if different than the saved post. The return value is one of
- * "private", "password", or "public".
+ * Reducer returning the post editor setting.
  *
- * @param {Object} state Global application state.
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
  *
- * @return {string} Post visibility.
+ * @return {Object} Updated state.
  */

-function selectors_getEditedPostVisibility(state) {
-  const status = selectors_getEditedPostAttribute(state, 'status');
+function editorSettings() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : EDITOR_SETTINGS_DEFAULTS;
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-  if (status === 'private') {
-    return 'private';
+  switch (action.type) {
+    case 'UPDATE_EDITOR_SETTINGS':
+      return { ...state,
+        ...action.settings
+      };
   }

-  const password = selectors_getEditedPostAttribute(state, 'password');
+  return state;
+}
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  postId,
+  postType,
+  preferences,
+  saving,
+  postLock,
+  template,
+  postSavingLock,
+  isReady,
+  editorSettings,
+  postAutosavingLock
+}));
+
+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js

-  if (password) {
-    return 'password';
-  }

-  return 'public';
-}
+var LEAF_KEY, hasWeakMap;
+
 /**
- * Returns true if post is pending review.
+ * Arbitrary value used as key for referencing cache object in WeakMap tree.
  *
- * @param {Object} state Global application state.
+ * @type {Object}
+ */
+LEAF_KEY = {};
+
+/**
+ * Whether environment supports WeakMap.
  *
- * @return {boolean} Whether current post is pending review.
+ * @type {boolean}
  */
+hasWeakMap = typeof WeakMap !== 'undefined';

-function isCurrentPostPending(state) {
-  return selectors_getCurrentPost(state).status === 'pending';
-}
 /**
- * Return true if the current post has already been published.
+ * Returns the first argument as the sole entry in an array.
  *
- * @param {Object}  state       Global application state.
- * @param {Object?} currentPost Explicit current post for bypassing registry selector.
+ * @param {*} value Value to return.
  *
- * @return {boolean} Whether the post has been published.
+ * @return {Array} Value returned as entry in array.
  */
-
-function selectors_isCurrentPostPublished(state, currentPost) {
-  const post = currentPost || selectors_getCurrentPost(state);
-  return ['publish', 'private'].indexOf(post.status) !== -1 || post.status === 'future' && !Object(external_wp_date_["isInTheFuture"])(new Date(Number(Object(external_wp_date_["getDate"])(post.date)) - ONE_MINUTE_IN_MS));
+function arrayOf( value ) {
+	return [ value ];
 }
+
 /**
- * Returns true if post is already scheduled.
+ * Returns true if the value passed is object-like, or false otherwise. A value
+ * is object-like if it can support property assignment, e.g. object or array.
  *
- * @param {Object} state Global application state.
+ * @param {*} value Value to test.
  *
- * @return {boolean} Whether current post is scheduled to be posted.
+ * @return {boolean} Whether value is object-like.
+ */
+function isObjectLike( value ) {
+	return !! value && 'object' === typeof value;
+}
+
+/**
+ * Creates and returns a new cache object.
+ *
+ * @return {Object} Cache object.
  */
+function createCache() {
+	var cache = {
+		clear: function() {
+			cache.head = null;
+		},
+	};

-function selectors_isCurrentPostScheduled(state) {
-  return selectors_getCurrentPost(state).status === 'future' && !selectors_isCurrentPostPublished(state);
+	return cache;
 }
+
 /**
- * Return true if the post being edited can be published.
+ * Returns true if entries within the two arrays are strictly equal by
+ * reference from a starting index.
  *
- * @param {Object} state Global application state.
+ * @param {Array}  a         First array.
+ * @param {Array}  b         Second array.
+ * @param {number} fromIndex Index from which to start comparison.
  *
- * @return {boolean} Whether the post can been published.
+ * @return {boolean} Whether arrays are shallowly equal.
  */
+function isShallowEqual( a, b, fromIndex ) {
+	var i;

-function selectors_isEditedPostPublishable(state) {
-  const post = selectors_getCurrentPost(state); // TODO: Post being publishable should be superset of condition of post
-  // being saveable. Currently this restriction is imposed at UI.
-  //
-  //  See: <PostPublishButton /> (`isButtonEnabled` assigned by `isSaveable`)
+	if ( a.length !== b.length ) {
+		return false;
+	}
+
+	for ( i = fromIndex; i < a.length; i++ ) {
+		if ( a[ i ] !== b[ i ] ) {
+			return false;
+		}
+	}

-  return selectors_isEditedPostDirty(state) || ['publish', 'private', 'future'].indexOf(post.status) === -1;
+	return true;
 }
+
 /**
- * Returns true if the post can be saved, or false otherwise. A post must
- * contain a title, an excerpt, or non-empty content to be valid for save.
+ * Returns a memoized selector function. The getDependants function argument is
+ * called before the memoized selector and is expected to return an immutable
+ * reference or array of references on which the selector depends for computing
+ * its own return value. The memoize cache is preserved only as long as those
+ * dependant references remain the same. If getDependants returns a different
+ * reference(s), the cache is cleared and the selector value regenerated.
  *
- * @param {Object} state Global application state.
+ * @param {Function} selector      Selector function.
+ * @param {Function} getDependants Dependant getter returning an immutable
+ *                                 reference or array of reference used in
+ *                                 cache bust consideration.
  *
- * @return {boolean} Whether the post can be saved.
+ * @return {Function} Memoized selector.
  */
+/* harmony default export */ function rememo(selector, getDependants ) {
+	var rootCache, getCache;

-function selectors_isEditedPostSaveable(state) {
-  if (selectors_isSavingPost(state)) {
-    return false;
-  } // TODO: Post should not be saveable if not dirty. Cannot be added here at
-  // this time since posts where meta boxes are present can be saved even if
-  // the post is not dirty. Currently this restriction is imposed at UI, but
-  // should be moved here.
-  //
-  //  See: `isEditedPostPublishable` (includes `isEditedPostDirty` condition)
-  //  See: <PostSavedState /> (`forceIsDirty` prop)
-  //  See: <PostPublishButton /> (`forceIsDirty` prop)
-  //  See: https://github.com/WordPress/gutenberg/pull/4184
+	// Use object source as dependant if getter not provided
+	if ( ! getDependants ) {
+		getDependants = arrayOf;
+	}
+
+	/**
+	 * Returns the root cache. If WeakMap is supported, this is assigned to the
+	 * root WeakMap cache set, otherwise it is a shared instance of the default
+	 * cache object.
+	 *
+	 * @return {(WeakMap|Object)} Root cache object.
+	 */
+	function getRootCache() {
+		return rootCache;
+	}
+
+	/**
+	 * Returns the cache for a given dependants array. When possible, a WeakMap
+	 * will be used to create a unique cache for each set of dependants. This
+	 * is feasible due to the nature of WeakMap in allowing garbage collection
+	 * to occur on entries where the key object is no longer referenced. Since
+	 * WeakMap requires the key to be an object, this is only possible when the
+	 * dependant is object-like. The root cache is created as a hierarchy where
+	 * each top-level key is the first entry in a dependants set, the value a
+	 * WeakMap where each key is the next dependant, and so on. This continues
+	 * so long as the dependants are object-like. If no dependants are object-
+	 * like, then the cache is shared across all invocations.
+	 *
+	 * @see isObjectLike
+	 *
+	 * @param {Array} dependants Selector dependants.
+	 *
+	 * @return {Object} Cache object.
+	 */
+	function getWeakMapCache( dependants ) {
+		var caches = rootCache,
+			isUniqueByDependants = true,
+			i, dependant, map, cache;

+		for ( i = 0; i < dependants.length; i++ ) {
+			dependant = dependants[ i ];

-  return !!selectors_getEditedPostAttribute(state, 'title') || !!selectors_getEditedPostAttribute(state, 'excerpt') || !isEditedPostEmpty(state) || external_wp_element_["Platform"].OS === 'native';
-}
-/**
- * Returns true if the edited post has content. A post has content if it has at
- * least one saveable block or otherwise has a non-empty content property
- * assigned.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether post has content.
- */
+			// Can only compose WeakMap from object-like key.
+			if ( ! isObjectLike( dependant ) ) {
+				isUniqueByDependants = false;
+				break;
+			}

-function isEditedPostEmpty(state) {
-  // While the condition of truthy content string is sufficient to determine
-  // emptiness, testing saveable blocks length is a trivial operation. Since
-  // this function can be called frequently, optimize for the fast case as a
-  // condition of the mere existence of blocks. Note that the value of edited
-  // content takes precedent over block content, and must fall through to the
-  // default logic.
-  const blocks = getEditorBlocks(state);
+			// Does current segment of cache already have a WeakMap?
+			if ( caches.has( dependant ) ) {
+				// Traverse into nested WeakMap.
+				caches = caches.get( dependant );
+			} else {
+				// Create, set, and traverse into a new one.
+				map = new WeakMap();
+				caches.set( dependant, map );
+				caches = map;
+			}
+		}

-  if (blocks.length) {
-    // Pierce the abstraction of the serializer in knowing that blocks are
-    // joined with with newlines such that even if every individual block
-    // produces an empty save result, the serialized content is non-empty.
-    if (blocks.length > 1) {
-      return false;
-    } // There are two conditions under which the optimization cannot be
-    // assumed, and a fallthrough to getEditedPostContent must occur:
-    //
-    // 1. getBlocksForSerialization has special treatment in omitting a
-    //    single unmodified default block.
-    // 2. Comment delimiters are omitted for a freeform or unregistered
-    //    block in its serialization. The freeform block specifically may
-    //    produce an empty string in its saved output.
-    //
-    // For all other content, the single block is assumed to make a post
-    // non-empty, if only by virtue of its own comment delimiters.
+		// We use an arbitrary (but consistent) object as key for the last item
+		// in the WeakMap to serve as our running cache.
+		if ( ! caches.has( LEAF_KEY ) ) {
+			cache = createCache();
+			cache.isUniqueByDependants = isUniqueByDependants;
+			caches.set( LEAF_KEY, cache );
+		}

+		return caches.get( LEAF_KEY );
+	}

-    const blockName = blocks[0].name;
+	// Assign cache handler by availability of WeakMap
+	getCache = hasWeakMap ? getWeakMapCache : getRootCache;

-    if (blockName !== Object(external_wp_blocks_["getDefaultBlockName"])() && blockName !== Object(external_wp_blocks_["getFreeformContentHandlerName"])()) {
-      return false;
-    }
-  }
+	/**
+	 * Resets root memoization cache.
+	 */
+	function clear() {
+		rootCache = hasWeakMap ? new WeakMap() : createCache();
+	}

-  return !getEditedPostContent(state);
-}
-/**
- * Returns true if the post can be autosaved, or false otherwise.
- *
- * @param {Object} state    Global application state.
- * @param {Object} autosave A raw autosave object from the REST API.
- *
- * @return {boolean} Whether the post can be autosaved.
- */
+	// eslint-disable-next-line jsdoc/check-param-names
+	/**
+	 * The augmented selector call, considering first whether dependants have
+	 * changed before passing it to underlying memoize function.
+	 *
+	 * @param {Object} source    Source object for derivation.
+	 * @param {...*}   extraArgs Additional arguments to pass to selector.
+	 *
+	 * @return {*} Selector result.
+	 */
+	function callSelector( /* source, ...extraArgs */ ) {
+		var len = arguments.length,
+			cache, node, i, args, dependants;

-const selectors_isEditedPostAutosaveable = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  // A post must contain a title, an excerpt, or non-empty content to be valid for autosaving.
-  if (!selectors_isEditedPostSaveable(state)) {
-    return false;
-  } // A post is not autosavable when there is a post autosave lock.
+		// Create copy of arguments (avoid leaking deoptimization).
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}

+		dependants = getDependants.apply( null, args );
+		cache = getCache( dependants );

-  if (isPostAutosavingLocked(state)) {
-    return false;
-  }
+		// If not guaranteed uniqueness by dependants (primitive type or lack
+		// of WeakMap support), shallow compare against last dependants and, if
+		// references have changed, destroy cache to recalculate result.
+		if ( ! cache.isUniqueByDependants ) {
+			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
+				cache.clear();
+			}

-  const postType = selectors_getCurrentPostType(state);
-  const postId = selectors_getCurrentPostId(state);
-  const hasFetchedAutosave = select(external_wp_coreData_["store"]).hasFetchedAutosaves(postType, postId);
-  const currentUserId = Object(external_lodash_["get"])(select(external_wp_coreData_["store"]).getCurrentUser(), ['id']); // Disable reason - this line causes the side-effect of fetching the autosave
-  // via a resolver, moving below the return would result in the autosave never
-  // being fetched.
-  // eslint-disable-next-line @wordpress/no-unused-vars-before-return
+			cache.lastDependants = dependants;
+		}

-  const autosave = select(external_wp_coreData_["store"]).getAutosave(postType, postId, currentUserId); // If any existing autosaves have not yet been fetched, this function is
-  // unable to determine if the post is autosaveable, so return false.
+		node = cache.head;
+		while ( node ) {
+			// Check whether node arguments match arguments
+			if ( ! isShallowEqual( node.args, args, 1 ) ) {
+				node = node.next;
+				continue;
+			}

-  if (!hasFetchedAutosave) {
-    return false;
-  } // If we don't already have an autosave, the post is autosaveable.
+			// At this point we can assume we've found a match

+			// Surface matched node to head if not already
+			if ( node !== cache.head ) {
+				// Adjust siblings to point to each other.
+				node.prev.next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}

-  if (!autosave) {
-    return true;
-  } // To avoid an expensive content serialization, use the content dirtiness
-  // flag in place of content field comparison against the known autosave.
-  // This is not strictly accurate, and relies on a tolerance toward autosave
-  // request failures for unnecessary saves.
+				node.next = cache.head;
+				node.prev = null;
+				cache.head.prev = node;
+				cache.head = node;
+			}

+			// Return immediately
+			return node.val;
+		}

-  if (hasChangedContent(state)) {
-    return true;
-  } // If the title or excerpt has changed, the post is autosaveable.
+		// No cached value found. Continue to insertion phase:

+		node = {
+			// Generate the result from original function
+			val: selector.apply( null, args ),
+		};

-  return ['title', 'excerpt'].some(field => getPostRawValue(autosave[field]) !== selectors_getEditedPostAttribute(state, field));
-});
-/**
- * Return true if the post being edited is being scheduled. Preferring the
- * unsaved status values.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the post has been published.
- */
+		// Avoid including the source object in the cache.
+		args[ 0 ] = null;
+		node.args = args;

-function selectors_isEditedPostBeingScheduled(state) {
-  const date = selectors_getEditedPostAttribute(state, 'date'); // Offset the date by one minute (network latency)
+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was

-  const checkedDate = new Date(Number(Object(external_wp_date_["getDate"])(date)) - ONE_MINUTE_IN_MS);
-  return Object(external_wp_date_["isInTheFuture"])(checkedDate);
-}
-/**
- * Returns whether the current post should be considered to have a "floating"
- * date (i.e. that it would publish "Immediately" rather than at a set time).
- *
- * Unlike in the PHP backend, the REST API returns a full date string for posts
- * where the 0000-00-00T00:00:00 placeholder is present in the database. To
- * infer that a post is set to publish "Immediately" we check whether the date
- * and modified date are the same.
- *
- * @param {Object} state Editor state.
- *
- * @return {boolean} Whether the edited post has a floating date value.
- */
+		// Shift existing head down list
+		if ( cache.head ) {
+			cache.head.prev = node;
+			node.next = cache.head;
+		}

-function isEditedPostDateFloating(state) {
-  const date = selectors_getEditedPostAttribute(state, 'date');
-  const modified = selectors_getEditedPostAttribute(state, 'modified'); // This should be the status of the persisted post
-  // It shouldn't use the "edited" status otherwise it breaks the
-  // inferred post data floating status
-  // See https://github.com/WordPress/gutenberg/issues/28083
+		cache.head = node;

-  const status = selectors_getCurrentPost(state).status;
+		return node.val;
+	}

-  if (status === 'draft' || status === 'auto-draft' || status === 'pending') {
-    return date === modified || date === null;
-  }
+	callSelector.getDependants = getDependants;
+	callSelector.clear = clear;
+	clear();

-  return false;
+	return callSelector;
 }
-/**
- * Returns true if the post is currently being saved, or false otherwise.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether post is being saved.
- */

-const selectors_isSavingPost = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const postType = selectors_getCurrentPostType(state);
-  const postId = selectors_getCurrentPostId(state);
-  return select(external_wp_coreData_["store"]).isSavingEntityRecord('postType', postType, postId);
-});
+;// CONCATENATED MODULE: external ["wp","date"]
+var external_wp_date_namespaceObject = window["wp"]["date"];
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/layout.js
+
+
 /**
- * Returns true if non-post entities are currently being saved, or false otherwise.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether non-post entities are being saved.
+ * WordPress dependencies
  */

-const selectors_isSavingNonPostEntityChanges = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const entitiesBeingSaved = select(external_wp_coreData_["store"]).__experimentalGetEntitiesBeingSaved();
+const layout = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_layout = (layout);

-  const {
-    type,
-    id
-  } = selectors_getCurrentPost(state);
-  return Object(external_lodash_["some"])(entitiesBeingSaved, entityRecord => entityRecord.kind !== 'postType' || entityRecord.name !== type || entityRecord.key !== id);
-});
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/constants.js
 /**
- * Returns true if a previous post save was attempted successfully, or false
- * otherwise.
+ * Set of post properties for which edits should assume a merging behavior,
+ * assuming an object value.
  *
- * @param {Object} state Global application state.
+ * @type {Set}
+ */
+const EDIT_MERGE_PROPERTIES = new Set(['meta']);
+/**
+ * Constant for the store module (or reducer) key.
  *
- * @return {boolean} Whether the post was saved successfully.
+ * @type {string}
  */

-const didPostSaveRequestSucceed = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const postType = selectors_getCurrentPostType(state);
-  const postId = selectors_getCurrentPostId(state);
-  return !select(external_wp_coreData_["store"]).getLastEntitySaveError('postType', postType, postId);
-});
+const STORE_NAME = 'core/editor';
+const SAVE_POST_NOTICE_ID = 'SAVE_POST_NOTICE_ID';
+const TRASH_POST_NOTICE_ID = 'TRASH_POST_NOTICE_ID';
+const PERMALINK_POSTNAME_REGEX = /%(?:postname|pagename)%/;
+const ONE_MINUTE_IN_MS = 60 * 1000;
+const AUTOSAVE_PROPERTIES = ['title', 'excerpt', 'content'];
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/url.js
 /**
- * Returns true if a previous post save was attempted but failed, or false
- * otherwise.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the post save failed.
+ * External dependencies
  */

-const didPostSaveRequestFail = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const postType = selectors_getCurrentPostType(state);
-  const postId = selectors_getCurrentPostId(state);
-  return !!select(external_wp_coreData_["store"]).getLastEntitySaveError('postType', postType, postId);
-});
 /**
- * Returns true if the post is autosaving, or false otherwise.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether the post is autosaving.
+ * WordPress dependencies
  */

-function selectors_isAutosavingPost(state) {
-  if (!selectors_isSavingPost(state)) {
-    return false;
-  }

-  return !!Object(external_lodash_["get"])(state.saving, ['options', 'isAutosave']);
-}
 /**
- * Returns true if the post is being previewed, or false otherwise.
+ * Returns the URL of a WPAdmin Page.
  *
- * @param {Object} state Global application state.
+ * TODO: This should be moved to a module less specific to the editor.
  *
- * @return {boolean} Whether the post is being previewed.
+ * @param {string} page  Page to navigate to.
+ * @param {Object} query Query Args.
+ *
+ * @return {string} WPAdmin URL.
  */

-function isPreviewingPost(state) {
-  if (!selectors_isSavingPost(state)) {
-    return false;
-  }
-
-  return !!Object(external_lodash_["get"])(state.saving, ['options', 'isPreview']);
+function getWPAdminURL(page, query) {
+  return (0,external_wp_url_namespaceObject.addQueryArgs)(page, query);
 }
 /**
- * Returns the post preview link
+ * Performs some basic cleanup of a string for use as a post slug
  *
- * @param {Object} state Global application state.
+ * This replicates some of what sanitize_title() does in WordPress core, but
+ * is only designed to approximate what the slug will be.
  *
- * @return {string?} Preview Link.
+ * Converts Latin-1 Supplement and Latin Extended-A letters to basic Latin letters.
+ * Removes combining diacritical marks. Converts whitespace, periods,
+ * and forward slashes to hyphens. Removes any remaining non-word characters
+ * except hyphens and underscores. Converts remaining string to lowercase.
+ * It does not account for octets, HTML entities, or other encoded characters.
+ *
+ * @param {string} string Title or slug to be processed
+ *
+ * @return {string} Processed string
  */

-function selectors_getEditedPostPreviewLink(state) {
-  if (state.saving.pending || selectors_isSavingPost(state)) {
-    return;
+function cleanForSlug(string) {
+  if (!string) {
+    return '';
   }

-  let previewLink = getAutosaveAttribute(state, 'preview_link');
-
-  if (!previewLink) {
-    previewLink = selectors_getEditedPostAttribute(state, 'link');
-
-    if (previewLink) {
-      previewLink = Object(external_wp_url_["addQueryArgs"])(previewLink, {
-        preview: true
-      });
-    }
-  }
+  return (0,external_lodash_namespaceObject.trim)((0,external_lodash_namespaceObject.deburr)(string).replace(/[\s\./]+/g, '-').replace(/[^\p{L}\p{N}_-]+/gu, '').toLowerCase(), '-');
+}

-  const featuredImageId = selectors_getEditedPostAttribute(state, 'featured_media');
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/header.js

-  if (previewLink && featuredImageId) {
-    return Object(external_wp_url_["addQueryArgs"])(previewLink, {
-      _thumbnail_id: featuredImageId
-    });
-  }

-  return previewLink;
-}
 /**
- * Returns a suggested post format for the current post, inferred only if there
- * is a single block within the post and it is of a type known to match a
- * default post format. Returns null if the format cannot be determined.
- *
- * @param {Object} state Global application state.
- *
- * @return {?string} Suggested post format.
+ * WordPress dependencies
  */

-function selectors_getSuggestedPostFormat(state) {
-  const blocks = getEditorBlocks(state);
-  if (blocks.length > 2) return null;
-  let name; // If there is only one block in the content of the post grab its name
-  // so we can derive a suitable post format from it.
-
-  if (blocks.length === 1) {
-    name = blocks[0].name; // check for core/embed `video` and `audio` eligible suggestions
-
-    if (name === 'core/embed') {
-      var _blocks$0$attributes;
+const header = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_header = (header);

-      const provider = (_blocks$0$attributes = blocks[0].attributes) === null || _blocks$0$attributes === void 0 ? void 0 : _blocks$0$attributes.providerNameSlug;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/footer.js

-      if (['youtube', 'vimeo'].includes(provider)) {
-        name = 'core/video';
-      } else if (['spotify', 'soundcloud'].includes(provider)) {
-        name = 'core/audio';
-      }
-    }
-  } // If there are two blocks in the content and the last one is a text blocks
-  // grab the name of the first one to also suggest a post format from it.

+/**
+ * WordPress dependencies
+ */

-  if (blocks.length === 2 && blocks[1].name === 'core/paragraph') {
-    name = blocks[0].name;
-  } // We only convert to default post formats in core.
+const footer = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  fillRule: "evenodd",
+  d: "M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_footer = (footer);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/sidebar.js

-  switch (name) {
-    case 'core/image':
-      return 'image';

-    case 'core/quote':
-    case 'core/pullquote':
-      return 'quote';
+/**
+ * WordPress dependencies
+ */

-    case 'core/gallery':
-      return 'gallery';
+const sidebar = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
+}));
+/* harmony default export */ var library_sidebar = (sidebar);

-    case 'core/video':
-      return 'video';
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/symbol-filled.js

-    case 'core/audio':
-      return 'audio';

-    default:
-      return null;
-  }
-}
 /**
- * Returns the content of the post being edited.
- *
- * @param {Object} state Global application state.
- *
- * @return {string} Post content.
+ * WordPress dependencies
  */

-const getEditedPostContent = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  const postId = selectors_getCurrentPostId(state);
-  const postType = selectors_getCurrentPostType(state);
-  const record = select(external_wp_coreData_["store"]).getEditedEntityRecord('postType', postType, postId);
+const symbolFilled = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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-17.6 1L10 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"
+}));
+/* harmony default export */ var symbol_filled = (symbolFilled);

-  if (record) {
-    if (typeof record.content === 'function') {
-      return record.content(record);
-    } else if (record.blocks) {
-      return Object(external_wp_blocks_["__unstableSerializeAndClean"])(record.blocks);
-    } else if (record.content) {
-      return record.content;
-    }
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/get-template-part-icon.js
+/**
+ * WordPress dependencies
+ */

-  return '';
-});
 /**
- * Returns true if the post is being published, or false otherwise.
+ * Helper function to retrieve the corresponding icon by name.
  *
- * @param {Object} state Global application state.
+ * @param {string} iconName The name of the icon.
  *
- * @return {boolean} Whether post is being published.
+ * @return {Object} The corresponding icon.
  */

-function selectors_isPublishingPost(state) {
-  return selectors_isSavingPost(state) && !selectors_isCurrentPostPublished(state) && selectors_getEditedPostAttribute(state, 'status') === 'publish';
+function getTemplatePartIcon(iconName) {
+  if ('header' === iconName) {
+    return library_header;
+  } else if ('footer' === iconName) {
+    return library_footer;
+  } else if ('sidebar' === iconName) {
+    return library_sidebar;
+  }
+
+  return symbol_filled;
 }
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/selectors.js
 /**
- * Returns whether the permalink is editable or not.
- *
- * @param {Object} state Editor state.
- *
- * @return {boolean} Whether or not the permalink is editable.
+ * External dependencies
  */

-function isPermalinkEditable(state) {
-  const permalinkTemplate = selectors_getEditedPostAttribute(state, 'permalink_template');
-  return PERMALINK_POSTNAME_REGEX.test(permalinkTemplate);
-}
+
 /**
- * Returns the permalink for the post.
- *
- * @param {Object} state Editor state.
- *
- * @return {?string} The permalink, or null if the post is not viewable.
+ * WordPress dependencies
  */

-function getPermalink(state) {
-  const permalinkParts = getPermalinkParts(state);

-  if (!permalinkParts) {
-    return null;
-  }

-  const {
-    prefix,
-    postName,
-    suffix
-  } = permalinkParts;

-  if (isPermalinkEditable(state)) {
-    return prefix + postName + suffix;
-  }

-  return prefix;
-}
-/**
- * Returns the slug for the post being edited, preferring a manually edited
- * value if one exists, then a sanitized version of the current post title, and
- * finally the post ID.
- *
- * @param {Object} state Editor state.
- *
- * @return {string} The current slug to be displayed in the editor
- */

-function getEditedPostSlug(state) {
-  return selectors_getEditedPostAttribute(state, 'slug') || cleanForSlug(selectors_getEditedPostAttribute(state, 'title')) || selectors_getCurrentPostId(state);
-}
+
+
+
+
 /**
- * Returns the permalink for a post, split into it's three parts: the prefix,
- * the postName, and the suffix.
- *
- * @param {Object} state Editor state.
- *
- * @return {Object} An object containing the prefix, postName, and suffix for
- *                  the permalink, or null if the post is not viewable.
+ * Internal dependencies
  */

-function getPermalinkParts(state) {
-  const permalinkTemplate = selectors_getEditedPostAttribute(state, 'permalink_template');

-  if (!permalinkTemplate) {
-    return null;
-  }

-  const postName = selectors_getEditedPostAttribute(state, 'slug') || selectors_getEditedPostAttribute(state, 'generated_slug');
-  const [prefix, suffix] = permalinkTemplate.split(PERMALINK_POSTNAME_REGEX);
-  return {
-    prefix,
-    postName,
-    suffix
-  };
-}
+
+
+
+/**
+ * Shared reference to an empty object for cases where it is important to avoid
+ * returning a new object reference on every invocation, as in a connected or
+ * other pure component which performs `shouldComponentUpdate` check on props.
+ * This should be used as a last resort, since the normalized data should be
+ * maintained by the reducer result in state.
+ */
+
+const EMPTY_OBJECT = {};
+/**
+ * Shared reference to an empty array for cases where it is important to avoid
+ * returning a new array reference on every invocation, as in a connected or
+ * other pure component which performs `shouldComponentUpdate` check on props.
+ * This should be used as a last resort, since the normalized data should be
+ * maintained by the reducer result in state.
+ */
+
+const EMPTY_ARRAY = [];
 /**
- * Returns whether the post is locked.
+ * Returns true if any past editor history snapshots exist, or false otherwise.
  *
  * @param {Object} state Global application state.
  *
- * @return {boolean} Is locked.
+ * @return {boolean} Whether undo history exists.
  */

-function selectors_isPostLocked(state) {
-  return state.postLock.isLocked;
-}
+const hasEditorUndo = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  return select(external_wp_coreData_namespaceObject.store).hasUndo();
+});
 /**
- * Returns whether post saving is locked.
+ * Returns true if any future editor history snapshots exist, or false
+ * otherwise.
  *
  * @param {Object} state Global application state.
  *
- * @return {boolean} Is locked.
+ * @return {boolean} Whether redo history exists.
  */

-function selectors_isPostSavingLocked(state) {
-  return Object.keys(state.postSavingLock).length > 0;
-}
+const hasEditorRedo = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  return select(external_wp_coreData_namespaceObject.store).hasRedo();
+});
 /**
- * Returns whether post autosaving is locked.
+ * Returns true if the currently edited post is yet to be saved, or false if
+ * the post has been saved.
  *
  * @param {Object} state Global application state.
  *
- * @return {boolean} Is locked.
+ * @return {boolean} Whether the post is new.
  */

-function isPostAutosavingLocked(state) {
-  return Object.keys(state.postAutosavingLock).length > 0;
+function isEditedPostNew(state) {
+  return getCurrentPost(state).status === 'auto-draft';
 }
 /**
- * Returns whether the edition of the post has been taken over.
+ * Returns true if content includes unsaved changes, or false otherwise.
  *
- * @param {Object} state Global application state.
+ * @param {Object} state Editor state.
  *
- * @return {boolean} Is post lock takeover.
+ * @return {boolean} Whether content includes unsaved changes.
  */

-function selectors_isPostLockTakeover(state) {
-  return state.postLock.isTakeover;
+function hasChangedContent(state) {
+  const edits = getPostEdits(state);
+  return 'blocks' in edits || // `edits` is intended to contain only values which are different from
+  // the saved post, so the mere presence of a property is an indicator
+  // that the value is different than what is known to be saved. While
+  // content in Visual mode is represented by the blocks state, in Text
+  // mode it is tracked by `edits.content`.
+  'content' in edits;
 }
 /**
- * Returns details about the post lock user.
+ * Returns true if there are unsaved values for the current edit session, or
+ * false if the editing state matches the saved or new post.
  *
  * @param {Object} state Global application state.
  *
- * @return {Object} A user object.
+ * @return {boolean} Whether unsaved values exist.
  */

-function selectors_getPostLockUser(state) {
-  return state.postLock.user;
-}
+const isEditedPostDirty = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  // Edits should contain only fields which differ from the saved post (reset
+  // at initial load and save complete). Thus, a non-empty edits state can be
+  // inferred to contain unsaved values.
+  const postType = getCurrentPostType(state);
+  const postId = getCurrentPostId(state);
+
+  if (select(external_wp_coreData_namespaceObject.store).hasEditsForEntityRecord('postType', postType, postId)) {
+    return true;
+  }
+
+  return false;
+});
 /**
- * Returns the active post lock.
+ * Returns true if there are unsaved edits for entities other than
+ * the editor's post, and false otherwise.
  *
  * @param {Object} state Global application state.
  *
- * @return {Object} The lock object.
+ * @return {boolean} Whether there are edits or not.
  */

-function selectors_getActivePostLock(state) {
-  return state.postLock.activePostLock;
-}
+const hasNonPostEntityChanges = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const dirtyEntityRecords = select(external_wp_coreData_namespaceObject.store).__experimentalGetDirtyEntityRecords();
+
+  const {
+    type,
+    id
+  } = getCurrentPost(state);
+  return (0,external_lodash_namespaceObject.some)(dirtyEntityRecords, entityRecord => entityRecord.kind !== 'postType' || entityRecord.name !== type || entityRecord.key !== id);
+});
 /**
- * Returns whether or not the user has the unfiltered_html capability.
+ * Returns true if there are no unsaved values for the current edit session and
+ * if the currently edited post is new (has never been saved before).
  *
- * @param {Object} state Editor state.
+ * @param {Object} state Global application state.
  *
- * @return {boolean} Whether the user can or can't post unfiltered HTML.
+ * @return {boolean} Whether new post and unsaved values exist.
  */

-function selectors_canUserUseUnfilteredHTML(state) {
-  return Object(external_lodash_["has"])(selectors_getCurrentPost(state), ['_links', 'wp:action-unfiltered-html']);
+function isCleanNewPost(state) {
+  return !isEditedPostDirty(state) && isEditedPostNew(state);
 }
 /**
- * Returns whether the pre-publish panel should be shown
- * or skipped when the user clicks the "publish" button.
+ * Returns the post currently being edited in its last known saved state, not
+ * including unsaved edits. Returns an object containing relevant default post
+ * values if the post has not yet been saved.
  *
  * @param {Object} state Global application state.
  *
- * @return {boolean} Whether the pre-publish panel should be shown or not.
+ * @return {Object} Post object.
  */

-function selectors_isPublishSidebarEnabled(state) {
-  if (state.preferences.hasOwnProperty('isPublishSidebarEnabled')) {
-    return state.preferences.isPublishSidebarEnabled;
-  }
+const getCurrentPost = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const postId = getCurrentPostId(state);
+  const postType = getCurrentPostType(state);
+  const post = select(external_wp_coreData_namespaceObject.store).getRawEntityRecord('postType', postType, postId);

-  return PREFERENCES_DEFAULTS.isPublishSidebarEnabled;
-}
-/**
- * Return the current block list.
- *
- * @param {Object} state
- * @return {Array} Block list.
- */
+  if (post) {
+    return post;
+  } // This exists for compatibility with the previous selector behavior
+  // which would guarantee an object return based on the editor reducer's
+  // default empty object state.

-function getEditorBlocks(state) {
-  return selectors_getEditedPostAttribute(state, 'blocks') || EMPTY_ARRAY;
-}
+
+  return EMPTY_OBJECT;
+});
 /**
- * A block selection object.
+ * Returns the post type of the post currently being edited.
  *
- * @typedef {Object} WPBlockSelection
+ * @param {Object} state Global application state.
  *
- * @property {string} clientId     A block client ID.
- * @property {string} attributeKey A block attribute key.
- * @property {number} offset       An attribute value offset, based on the rich
- *                                 text value. See `wp.richText.create`.
+ * @return {string} Post type.
  */

+function getCurrentPostType(state) {
+  return state.postType;
+}
 /**
- * Returns the current selection start.
+ * Returns the ID of the post currently being edited, or null if the post has
+ * not yet been saved.
  *
- * @param {Object} state
- * @return {WPBlockSelection} The selection start.
+ * @param {Object} state Global application state.
  *
- * @deprecated since Gutenberg 10.0.0.
+ * @return {?number} ID of current post.
  */

-function getEditorSelectionStart(state) {
-  var _getEditedPostAttribu;
-
-  external_wp_deprecated_default()("select('core/editor').getEditorSelectionStart", {
-    since: '10.0',
-    plugin: 'Gutenberg',
-    alternative: "select('core/editor').getEditorSelection"
-  });
-  return (_getEditedPostAttribu = selectors_getEditedPostAttribute(state, 'selection')) === null || _getEditedPostAttribu === void 0 ? void 0 : _getEditedPostAttribu.selectionStart;
+function getCurrentPostId(state) {
+  return state.postId;
 }
 /**
- * Returns the current selection end.
+ * Returns the number of revisions of the post currently being edited.
  *
- * @param {Object} state
- * @return {WPBlockSelection} The selection end.
+ * @param {Object} state Global application state.
  *
- * @deprecated since Gutenberg 10.0.0.
+ * @return {number} Number of revisions.
  */

-function getEditorSelectionEnd(state) {
-  var _getEditedPostAttribu2;
-
-  external_wp_deprecated_default()("select('core/editor').getEditorSelectionStart", {
-    since: '10.0',
-    plugin: 'Gutenberg',
-    alternative: "select('core/editor').getEditorSelection"
-  });
-  return (_getEditedPostAttribu2 = selectors_getEditedPostAttribute(state, 'selection')) === null || _getEditedPostAttribu2 === void 0 ? void 0 : _getEditedPostAttribu2.selectionEnd;
+function getCurrentPostRevisionsCount(state) {
+  return (0,external_lodash_namespaceObject.get)(getCurrentPost(state), ['_links', 'version-history', 0, 'count'], 0);
 }
 /**
- * Returns the current selection.
+ * Returns the last revision ID of the post currently being edited,
+ * or null if the post has no revisions.
  *
- * @param {Object} state
- * @return {WPBlockSelection} The selection end.
+ * @param {Object} state Global application state.
+ *
+ * @return {?number} ID of the last revision.
  */

-function selectors_getEditorSelection(state) {
-  return selectors_getEditedPostAttribute(state, 'selection');
+function getCurrentPostLastRevisionId(state) {
+  return (0,external_lodash_namespaceObject.get)(getCurrentPost(state), ['_links', 'predecessor-version', 0, 'id'], null);
 }
 /**
- * Is the editor ready
+ * Returns any post values which have been changed in the editor but not yet
+ * been saved.
  *
- * @param {Object} state
- * @return {boolean} is Ready.
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} Object of key value pairs comprising unsaved edits.
  */

-function selectors_unstableIsEditorReady(state) {
-  return state.isReady;
-}
+const getPostEdits = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const postType = getCurrentPostType(state);
+  const postId = getCurrentPostId(state);
+  return select(external_wp_coreData_namespaceObject.store).getEntityRecordEdits('postType', postType, postId) || EMPTY_OBJECT;
+});
 /**
- * Returns the post editor settings.
+ * Returns a new reference when edited values have changed. This is useful in
+ * inferring where an edit has been made between states by comparison of the
+ * return values using strict equality.
+ *
+ * @deprecated since Gutenberg 6.5.0.
+ *
+ * @example
+ *
+ * ```
+ * const hasEditOccurred = (
+ *    getReferenceByDistinctEdits( beforeState ) !==
+ *    getReferenceByDistinctEdits( afterState )
+ * );
+ * ```
  *
  * @param {Object} state Editor state.
  *
- * @return {Object} The editor settings object.
- */
-
-function selectors_getEditorSettings(state) {
-  return state.editorSettings;
-}
-/*
- * Backward compatibility
+ * @return {*} A value whose reference will change only when an edit occurs.
  */

+const getReferenceByDistinctEdits = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
+  external_wp_deprecated_default()("`wp.data.select( 'core/editor' ).getReferenceByDistinctEdits`", {
+    since: '5.4',
+    alternative: "`wp.data.select( 'core' ).getReferenceByDistinctEdits`"
+  });
+  return select(external_wp_coreData_namespaceObject.store).getReferenceByDistinctEdits();
+});
 /**
- * Returns state object prior to a specified optimist transaction ID, or `null`
- * if the transaction corresponding to the given ID cannot be found.
+ * Returns an attribute value of the saved post.
  *
- * @deprecated since Gutenberg 9.7.0.
+ * @param {Object} state         Global application state.
+ * @param {string} attributeName Post attribute name.
+ *
+ * @return {*} Post attribute value.
  */

-function getStateBeforeOptimisticTransaction() {
-  external_wp_deprecated_default()("select('core/editor').getStateBeforeOptimisticTransaction", {
-    since: '5.7',
-    hint: 'No state history is kept on this store anymore'
-  });
-  return null;
+function getCurrentPostAttribute(state, attributeName) {
+  switch (attributeName) {
+    case 'type':
+      return getCurrentPostType(state);
+
+    case 'id':
+      return getCurrentPostId(state);
+
+    default:
+      const post = getCurrentPost(state);
+
+      if (!post.hasOwnProperty(attributeName)) {
+        break;
+      }
+
+      return getPostRawValue(post[attributeName]);
+  }
 }
 /**
- * Returns true if an optimistic transaction is pending commit, for which the
- * before state satisfies the given predicate function.
+ * Returns a single attribute of the post being edited, preferring the unsaved
+ * edit if one exists, but merging with the attribute value for the last known
+ * saved state of the post (this is needed for some nested attributes like meta).
  *
- * @deprecated since Gutenberg 9.7.0.
+ * @param {Object} state         Global application state.
+ * @param {string} attributeName Post attribute name.
+ *
+ * @return {*} Post attribute value.
  */

-function inSomeHistory() {
-  external_wp_deprecated_default()("select('core/editor').inSomeHistory", {
-    since: '5.7',
-    hint: 'No state history is kept on this store anymore'
-  });
-  return false;
-}
+const getNestedEditedPostProperty = (state, attributeName) => {
+  const edits = getPostEdits(state);

-function getBlockEditorSelector(name) {
-  return Object(external_wp_data_["createRegistrySelector"])(select => function (state) {
-    external_wp_deprecated_default()("`wp.data.select( 'core/editor' )." + name + '`', {
-      since: '5.3',
-      alternative: "`wp.data.select( 'core/block-editor' )." + name + '`'
-    });
+  if (!edits.hasOwnProperty(attributeName)) {
+    return getCurrentPostAttribute(state, attributeName);
+  }
+
+  return { ...getCurrentPostAttribute(state, attributeName),
+    ...edits[attributeName]
+  };
+};
+/**
+ * Returns a single attribute of the post being edited, preferring the unsaved
+ * edit if one exists, but falling back to the attribute for the last known
+ * saved state of the post.
+ *
+ * @param {Object} state         Global application state.
+ * @param {string} attributeName Post attribute name.
+ *
+ * @return {*} Post attribute value.
+ */

-    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-      args[_key - 1] = arguments[_key];
-    }

-    return select(external_wp_blockEditor_["store"])[name](...args);
-  });
-}
-/**
- * @see getBlockName in core/block-editor store.
- */
+function getEditedPostAttribute(state, attributeName) {
+  // Special cases
+  switch (attributeName) {
+    case 'content':
+      return getEditedPostContent(state);
+  } // Fall back to saved post value if not edited.


-const getBlockName = getBlockEditorSelector('getBlockName');
-/**
- * @see isBlockValid in core/block-editor store.
- */
+  const edits = getPostEdits(state);

-const isBlockValid = getBlockEditorSelector('isBlockValid');
-/**
- * @see getBlockAttributes in core/block-editor store.
- */
+  if (!edits.hasOwnProperty(attributeName)) {
+    return getCurrentPostAttribute(state, attributeName);
+  } // Merge properties are objects which contain only the patch edit in state,
+  // and thus must be merged with the current post attribute.

-const getBlockAttributes = getBlockEditorSelector('getBlockAttributes');
-/**
- * @see getBlock in core/block-editor store.
- */

-const getBlock = getBlockEditorSelector('getBlock');
-/**
- * @see getBlocks in core/block-editor store.
- */
+  if (EDIT_MERGE_PROPERTIES.has(attributeName)) {
+    return getNestedEditedPostProperty(state, attributeName);
+  }

-const selectors_getBlocks = getBlockEditorSelector('getBlocks');
+  return edits[attributeName];
+}
 /**
- * @see getClientIdsOfDescendants in core/block-editor store.
+ * Returns an attribute value of the current autosave revision for a post, or
+ * null if there is no autosave for the post.
+ *
+ * @deprecated since 5.6. Callers should use the `getAutosave( postType, postId, userId )` selector
+ * 			   from the '@wordpress/core-data' package and access properties on the returned
+ * 			   autosave object using getPostRawValue.
+ *
+ * @param {Object} state         Global application state.
+ * @param {string} attributeName Autosave attribute name.
+ *
+ * @return {*} Autosave attribute value.
  */

-const getClientIdsOfDescendants = getBlockEditorSelector('getClientIdsOfDescendants');
-/**
- * @see getClientIdsWithDescendants in core/block-editor store.
- */
+const getAutosaveAttribute = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, attributeName) => {
+  if (!(0,external_lodash_namespaceObject.includes)(AUTOSAVE_PROPERTIES, attributeName) && attributeName !== 'preview_link') {
+    return;
+  }

-const getClientIdsWithDescendants = getBlockEditorSelector('getClientIdsWithDescendants');
-/**
- * @see getGlobalBlockCount in core/block-editor store.
- */
+  const postType = getCurrentPostType(state);
+  const postId = getCurrentPostId(state);
+  const currentUserId = (0,external_lodash_namespaceObject.get)(select(external_wp_coreData_namespaceObject.store).getCurrentUser(), ['id']);
+  const autosave = select(external_wp_coreData_namespaceObject.store).getAutosave(postType, postId, currentUserId);

-const selectors_getGlobalBlockCount = getBlockEditorSelector('getGlobalBlockCount');
+  if (autosave) {
+    return getPostRawValue(autosave[attributeName]);
+  }
+});
 /**
- * @see getBlocksByClientId in core/block-editor store.
+ * Returns the current visibility of the post being edited, preferring the
+ * unsaved value if different than the saved post. The return value is one of
+ * "private", "password", or "public".
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {string} Post visibility.
  */

-const getBlocksByClientId = getBlockEditorSelector('getBlocksByClientId');
-/**
- * @see getBlockCount in core/block-editor store.
- */
+function getEditedPostVisibility(state) {
+  const status = getEditedPostAttribute(state, 'status');

-const getBlockCount = getBlockEditorSelector('getBlockCount');
-/**
- * @see getBlockSelectionStart in core/block-editor store.
- */
+  if (status === 'private') {
+    return 'private';
+  }

-const getBlockSelectionStart = getBlockEditorSelector('getBlockSelectionStart');
-/**
- * @see getBlockSelectionEnd in core/block-editor store.
- */
+  const password = getEditedPostAttribute(state, 'password');

-const getBlockSelectionEnd = getBlockEditorSelector('getBlockSelectionEnd');
-/**
- * @see getSelectedBlockCount in core/block-editor store.
- */
+  if (password) {
+    return 'password';
+  }

-const getSelectedBlockCount = getBlockEditorSelector('getSelectedBlockCount');
+  return 'public';
+}
 /**
- * @see hasSelectedBlock in core/block-editor store.
+ * Returns true if post is pending review.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether current post is pending review.
  */

-const hasSelectedBlock = getBlockEditorSelector('hasSelectedBlock');
+function isCurrentPostPending(state) {
+  return getCurrentPost(state).status === 'pending';
+}
 /**
- * @see getSelectedBlockClientId in core/block-editor store.
+ * Return true if the current post has already been published.
+ *
+ * @param {Object}  state       Global application state.
+ * @param {Object?} currentPost Explicit current post for bypassing registry selector.
+ *
+ * @return {boolean} Whether the post has been published.
  */

-const getSelectedBlockClientId = getBlockEditorSelector('getSelectedBlockClientId');
+function isCurrentPostPublished(state, currentPost) {
+  const post = currentPost || getCurrentPost(state);
+  return ['publish', 'private'].indexOf(post.status) !== -1 || post.status === 'future' && !(0,external_wp_date_namespaceObject.isInTheFuture)(new Date(Number((0,external_wp_date_namespaceObject.getDate)(post.date)) - ONE_MINUTE_IN_MS));
+}
 /**
- * @see getSelectedBlock in core/block-editor store.
+ * Returns true if post is already scheduled.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether current post is scheduled to be posted.
  */

-const getSelectedBlock = getBlockEditorSelector('getSelectedBlock');
+function isCurrentPostScheduled(state) {
+  return getCurrentPost(state).status === 'future' && !isCurrentPostPublished(state);
+}
 /**
- * @see getBlockRootClientId in core/block-editor store.
+ * Return true if the post being edited can be published.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the post can been published.
  */

-const getBlockRootClientId = getBlockEditorSelector('getBlockRootClientId');
-/**
- * @see getBlockHierarchyRootClientId in core/block-editor store.
- */
+function isEditedPostPublishable(state) {
+  const post = getCurrentPost(state); // TODO: Post being publishable should be superset of condition of post
+  // being saveable. Currently this restriction is imposed at UI.
+  //
+  //  See: <PostPublishButton /> (`isButtonEnabled` assigned by `isSaveable`)

-const getBlockHierarchyRootClientId = getBlockEditorSelector('getBlockHierarchyRootClientId');
+  return isEditedPostDirty(state) || ['publish', 'private', 'future'].indexOf(post.status) === -1;
+}
 /**
- * @see getAdjacentBlockClientId in core/block-editor store.
+ * Returns true if the post can be saved, or false otherwise. A post must
+ * contain a title, an excerpt, or non-empty content to be valid for save.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the post can be saved.
  */

-const getAdjacentBlockClientId = getBlockEditorSelector('getAdjacentBlockClientId');
-/**
- * @see getPreviousBlockClientId in core/block-editor store.
- */
+function isEditedPostSaveable(state) {
+  if (isSavingPost(state)) {
+    return false;
+  } // TODO: Post should not be saveable if not dirty. Cannot be added here at
+  // this time since posts where meta boxes are present can be saved even if
+  // the post is not dirty. Currently this restriction is imposed at UI, but
+  // should be moved here.
+  //
+  //  See: `isEditedPostPublishable` (includes `isEditedPostDirty` condition)
+  //  See: <PostSavedState /> (`forceIsDirty` prop)
+  //  See: <PostPublishButton /> (`forceIsDirty` prop)
+  //  See: https://github.com/WordPress/gutenberg/pull/4184

-const getPreviousBlockClientId = getBlockEditorSelector('getPreviousBlockClientId');
-/**
- * @see getNextBlockClientId in core/block-editor store.
- */

-const getNextBlockClientId = getBlockEditorSelector('getNextBlockClientId');
+  return !!getEditedPostAttribute(state, 'title') || !!getEditedPostAttribute(state, 'excerpt') || !isEditedPostEmpty(state) || external_wp_element_namespaceObject.Platform.OS === 'native';
+}
 /**
- * @see getSelectedBlocksInitialCaretPosition in core/block-editor store.
+ * Returns true if the edited post has content. A post has content if it has at
+ * least one saveable block or otherwise has a non-empty content property
+ * assigned.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether post has content.
  */

-const getSelectedBlocksInitialCaretPosition = getBlockEditorSelector('getSelectedBlocksInitialCaretPosition');
-/**
- * @see getMultiSelectedBlockClientIds in core/block-editor store.
- */
+function isEditedPostEmpty(state) {
+  // While the condition of truthy content string is sufficient to determine
+  // emptiness, testing saveable blocks length is a trivial operation. Since
+  // this function can be called frequently, optimize for the fast case as a
+  // condition of the mere existence of blocks. Note that the value of edited
+  // content takes precedent over block content, and must fall through to the
+  // default logic.
+  const blocks = getEditorBlocks(state);

-const getMultiSelectedBlockClientIds = getBlockEditorSelector('getMultiSelectedBlockClientIds');
-/**
- * @see getMultiSelectedBlocks in core/block-editor store.
- */
+  if (blocks.length) {
+    // Pierce the abstraction of the serializer in knowing that blocks are
+    // joined with with newlines such that even if every individual block
+    // produces an empty save result, the serialized content is non-empty.
+    if (blocks.length > 1) {
+      return false;
+    } // There are two conditions under which the optimization cannot be
+    // assumed, and a fallthrough to getEditedPostContent must occur:
+    //
+    // 1. getBlocksForSerialization has special treatment in omitting a
+    //    single unmodified default block.
+    // 2. Comment delimiters are omitted for a freeform or unregistered
+    //    block in its serialization. The freeform block specifically may
+    //    produce an empty string in its saved output.
+    //
+    // For all other content, the single block is assumed to make a post
+    // non-empty, if only by virtue of its own comment delimiters.

-const getMultiSelectedBlocks = getBlockEditorSelector('getMultiSelectedBlocks');
-/**
- * @see getFirstMultiSelectedBlockClientId in core/block-editor store.
- */

-const getFirstMultiSelectedBlockClientId = getBlockEditorSelector('getFirstMultiSelectedBlockClientId');
-/**
- * @see getLastMultiSelectedBlockClientId in core/block-editor store.
- */
+    const blockName = blocks[0].name;

-const getLastMultiSelectedBlockClientId = getBlockEditorSelector('getLastMultiSelectedBlockClientId');
-/**
- * @see isFirstMultiSelectedBlock in core/block-editor store.
- */
+    if (blockName !== (0,external_wp_blocks_namespaceObject.getDefaultBlockName)() && blockName !== (0,external_wp_blocks_namespaceObject.getFreeformContentHandlerName)()) {
+      return false;
+    }
+  }

-const isFirstMultiSelectedBlock = getBlockEditorSelector('isFirstMultiSelectedBlock');
+  return !getEditedPostContent(state);
+}
 /**
- * @see isBlockMultiSelected in core/block-editor store.
+ * Returns true if the post can be autosaved, or false otherwise.
+ *
+ * @param {Object} state    Global application state.
+ * @param {Object} autosave A raw autosave object from the REST API.
+ *
+ * @return {boolean} Whether the post can be autosaved.
  */

-const isBlockMultiSelected = getBlockEditorSelector('isBlockMultiSelected');
-/**
- * @see isAncestorMultiSelected in core/block-editor store.
- */
+const isEditedPostAutosaveable = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  // A post must contain a title, an excerpt, or non-empty content to be valid for autosaving.
+  if (!isEditedPostSaveable(state)) {
+    return false;
+  } // A post is not autosavable when there is a post autosave lock.

-const isAncestorMultiSelected = getBlockEditorSelector('isAncestorMultiSelected');
-/**
- * @see getMultiSelectedBlocksStartClientId in core/block-editor store.
- */

-const getMultiSelectedBlocksStartClientId = getBlockEditorSelector('getMultiSelectedBlocksStartClientId');
-/**
- * @see getMultiSelectedBlocksEndClientId in core/block-editor store.
- */
+  if (isPostAutosavingLocked(state)) {
+    return false;
+  }

-const getMultiSelectedBlocksEndClientId = getBlockEditorSelector('getMultiSelectedBlocksEndClientId');
-/**
- * @see getBlockOrder in core/block-editor store.
- */
+  const postType = getCurrentPostType(state);
+  const postId = getCurrentPostId(state);
+  const hasFetchedAutosave = select(external_wp_coreData_namespaceObject.store).hasFetchedAutosaves(postType, postId);
+  const currentUserId = (0,external_lodash_namespaceObject.get)(select(external_wp_coreData_namespaceObject.store).getCurrentUser(), ['id']); // Disable reason - this line causes the side-effect of fetching the autosave
+  // via a resolver, moving below the return would result in the autosave never
+  // being fetched.
+  // eslint-disable-next-line @wordpress/no-unused-vars-before-return

-const getBlockOrder = getBlockEditorSelector('getBlockOrder');
-/**
- * @see getBlockIndex in core/block-editor store.
- */
+  const autosave = select(external_wp_coreData_namespaceObject.store).getAutosave(postType, postId, currentUserId); // If any existing autosaves have not yet been fetched, this function is
+  // unable to determine if the post is autosaveable, so return false.

-const getBlockIndex = getBlockEditorSelector('getBlockIndex');
-/**
- * @see isBlockSelected in core/block-editor store.
- */
+  if (!hasFetchedAutosave) {
+    return false;
+  } // If we don't already have an autosave, the post is autosaveable.

-const isBlockSelected = getBlockEditorSelector('isBlockSelected');
-/**
- * @see hasSelectedInnerBlock in core/block-editor store.
- */

-const hasSelectedInnerBlock = getBlockEditorSelector('hasSelectedInnerBlock');
-/**
- * @see isBlockWithinSelection in core/block-editor store.
- */
+  if (!autosave) {
+    return true;
+  } // To avoid an expensive content serialization, use the content dirtiness
+  // flag in place of content field comparison against the known autosave.
+  // This is not strictly accurate, and relies on a tolerance toward autosave
+  // request failures for unnecessary saves.

-const isBlockWithinSelection = getBlockEditorSelector('isBlockWithinSelection');
-/**
- * @see hasMultiSelection in core/block-editor store.
- */

-const hasMultiSelection = getBlockEditorSelector('hasMultiSelection');
-/**
- * @see isMultiSelecting in core/block-editor store.
- */
+  if (hasChangedContent(state)) {
+    return true;
+  } // If the title or excerpt has changed, the post is autosaveable.

-const isMultiSelecting = getBlockEditorSelector('isMultiSelecting');
-/**
- * @see isSelectionEnabled in core/block-editor store.
- */

-const isSelectionEnabled = getBlockEditorSelector('isSelectionEnabled');
+  return ['title', 'excerpt'].some(field => getPostRawValue(autosave[field]) !== getEditedPostAttribute(state, field));
+});
 /**
- * @see getBlockMode in core/block-editor store.
+ * Return true if the post being edited is being scheduled. Preferring the
+ * unsaved status values.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the post has been published.
  */

-const getBlockMode = getBlockEditorSelector('getBlockMode');
-/**
- * @see isTyping in core/block-editor store.
- */
+function isEditedPostBeingScheduled(state) {
+  const date = getEditedPostAttribute(state, 'date'); // Offset the date by one minute (network latency)

-const isTyping = getBlockEditorSelector('isTyping');
+  const checkedDate = new Date(Number((0,external_wp_date_namespaceObject.getDate)(date)) - ONE_MINUTE_IN_MS);
+  return (0,external_wp_date_namespaceObject.isInTheFuture)(checkedDate);
+}
 /**
- * @see isCaretWithinFormattedText in core/block-editor store.
+ * Returns whether the current post should be considered to have a "floating"
+ * date (i.e. that it would publish "Immediately" rather than at a set time).
+ *
+ * Unlike in the PHP backend, the REST API returns a full date string for posts
+ * where the 0000-00-00T00:00:00 placeholder is present in the database. To
+ * infer that a post is set to publish "Immediately" we check whether the date
+ * and modified date are the same.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {boolean} Whether the edited post has a floating date value.
  */

-const isCaretWithinFormattedText = getBlockEditorSelector('isCaretWithinFormattedText');
-/**
- * @see getBlockInsertionPoint in core/block-editor store.
- */
+function isEditedPostDateFloating(state) {
+  const date = getEditedPostAttribute(state, 'date');
+  const modified = getEditedPostAttribute(state, 'modified'); // This should be the status of the persisted post
+  // It shouldn't use the "edited" status otherwise it breaks the
+  // inferred post data floating status
+  // See https://github.com/WordPress/gutenberg/issues/28083

-const getBlockInsertionPoint = getBlockEditorSelector('getBlockInsertionPoint');
-/**
- * @see isBlockInsertionPointVisible in core/block-editor store.
- */
+  const status = getCurrentPost(state).status;

-const isBlockInsertionPointVisible = getBlockEditorSelector('isBlockInsertionPointVisible');
-/**
- * @see isValidTemplate in core/block-editor store.
- */
+  if (status === 'draft' || status === 'auto-draft' || status === 'pending') {
+    return date === modified || date === null;
+  }

-const isValidTemplate = getBlockEditorSelector('isValidTemplate');
+  return false;
+}
 /**
- * @see getTemplate in core/block-editor store.
+ * Returns true if the post is currently being saved, or false otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether post is being saved.
  */

-const getTemplate = getBlockEditorSelector('getTemplate');
+const isSavingPost = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const postType = getCurrentPostType(state);
+  const postId = getCurrentPostId(state);
+  return select(external_wp_coreData_namespaceObject.store).isSavingEntityRecord('postType', postType, postId);
+});
 /**
- * @see getTemplateLock in core/block-editor store.
+ * Returns true if non-post entities are currently being saved, or false otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether non-post entities are being saved.
  */

-const getTemplateLock = getBlockEditorSelector('getTemplateLock');
-/**
- * @see canInsertBlockType in core/block-editor store.
- */
+const isSavingNonPostEntityChanges = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const entitiesBeingSaved = select(external_wp_coreData_namespaceObject.store).__experimentalGetEntitiesBeingSaved();

-const canInsertBlockType = getBlockEditorSelector('canInsertBlockType');
+  const {
+    type,
+    id
+  } = getCurrentPost(state);
+  return (0,external_lodash_namespaceObject.some)(entitiesBeingSaved, entityRecord => entityRecord.kind !== 'postType' || entityRecord.name !== type || entityRecord.key !== id);
+});
 /**
- * @see getInserterItems in core/block-editor store.
+ * Returns true if a previous post save was attempted successfully, or false
+ * otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the post was saved successfully.
  */

-const getInserterItems = getBlockEditorSelector('getInserterItems');
+const didPostSaveRequestSucceed = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const postType = getCurrentPostType(state);
+  const postId = getCurrentPostId(state);
+  return !select(external_wp_coreData_namespaceObject.store).getLastEntitySaveError('postType', postType, postId);
+});
 /**
- * @see hasInserterItems in core/block-editor store.
+ * Returns true if a previous post save was attempted but failed, or false
+ * otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the post save failed.
  */

-const hasInserterItems = getBlockEditorSelector('hasInserterItems');
+const didPostSaveRequestFail = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const postType = getCurrentPostType(state);
+  const postId = getCurrentPostId(state);
+  return !!select(external_wp_coreData_namespaceObject.store).getLastEntitySaveError('postType', postType, postId);
+});
 /**
- * @see getBlockListSettings in core/block-editor store.
+ * Returns true if the post is autosaving, or false otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the post is autosaving.
  */

-const getBlockListSettings = getBlockEditorSelector('getBlockListSettings');
+function isAutosavingPost(state) {
+  if (!isSavingPost(state)) {
+    return false;
+  }
+
+  return !!(0,external_lodash_namespaceObject.get)(state.saving, ['options', 'isAutosave']);
+}
 /**
- * Returns the default template types.
+ * Returns true if the post is being previewed, or false otherwise.
  *
  * @param {Object} state Global application state.
  *
- * @return {Object} The template types.
+ * @return {boolean} Whether the post is being previewed.
  */

-function __experimentalGetDefaultTemplateTypes(state) {
-  var _getEditorSettings;
+function isPreviewingPost(state) {
+  if (!isSavingPost(state)) {
+    return false;
+  }

-  return (_getEditorSettings = selectors_getEditorSettings(state)) === null || _getEditorSettings === void 0 ? void 0 : _getEditorSettings.defaultTemplateTypes;
+  return !!(0,external_lodash_namespaceObject.get)(state.saving, ['options', 'isPreview']);
 }
 /**
- * Returns the default template part areas.
+ * Returns the post preview link
  *
  * @param {Object} state Global application state.
  *
- * @return {Array} The template part areas.
+ * @return {string?} Preview Link.
  */

-const __experimentalGetDefaultTemplatePartAreas = Object(rememo["a" /* default */])(state => {
-  var _getEditorSettings2;
+function getEditedPostPreviewLink(state) {
+  if (state.saving.pending || isSavingPost(state)) {
+    return;
+  }

-  const areas = ((_getEditorSettings2 = selectors_getEditorSettings(state)) === null || _getEditorSettings2 === void 0 ? void 0 : _getEditorSettings2.defaultTemplatePartAreas) || [];
-  return areas === null || areas === void 0 ? void 0 : areas.map(item => {
-    return { ...item,
-      icon: getTemplatePartIcon(item.icon)
-    };
-  });
-}, state => {
-  var _getEditorSettings3;
+  let previewLink = getAutosaveAttribute(state, 'preview_link');

-  return [(_getEditorSettings3 = selectors_getEditorSettings(state)) === null || _getEditorSettings3 === void 0 ? void 0 : _getEditorSettings3.defaultTemplatePartAreas];
-});
+  if (!previewLink) {
+    previewLink = getEditedPostAttribute(state, 'link');
+
+    if (previewLink) {
+      previewLink = (0,external_wp_url_namespaceObject.addQueryArgs)(previewLink, {
+        preview: true
+      });
+    }
+  }
+
+  const featuredImageId = getEditedPostAttribute(state, 'featured_media');
+
+  if (previewLink && featuredImageId) {
+    return (0,external_wp_url_namespaceObject.addQueryArgs)(previewLink, {
+      _thumbnail_id: featuredImageId
+    });
+  }
+
+  return previewLink;
+}
 /**
- * Returns a default template type searched by slug.
+ * Returns a suggested post format for the current post, inferred only if there
+ * is a single block within the post and it is of a type known to match a
+ * default post format. Returns null if the format cannot be determined.
  *
  * @param {Object} state Global application state.
- * @param {string} slug  The template type slug.
  *
- * @return {Object} The template type.
+ * @return {?string} Suggested post format.
  */

-const __experimentalGetDefaultTemplateType = Object(rememo["a" /* default */])((state, slug) => Object(external_lodash_["find"])(__experimentalGetDefaultTemplateTypes(state), {
-  slug
-}) || {}, (state, slug) => [__experimentalGetDefaultTemplateTypes(state), slug]);
-/**
- * Given a template entity, return information about it which is ready to be
- * rendered, such as the title, description, and icon.
- *
- * @param {Object} state    Global application state.
- * @param {Object} template The template for which we need information.
- * @return {Object} Information about the template, including title, description, and icon.
- */
+function getSuggestedPostFormat(state) {
+  const blocks = getEditorBlocks(state);
+  if (blocks.length > 2) return null;
+  let name; // If there is only one block in the content of the post grab its name
+  // so we can derive a suitable post format from it.

-function __experimentalGetTemplateInfo(state, template) {
-  var _experimentalGetDefa;
+  if (blocks.length === 1) {
+    name = blocks[0].name; // check for core/embed `video` and `audio` eligible suggestions

-  if (!template) {
-    return {};
-  }
+    if (name === 'core/embed') {
+      var _blocks$0$attributes;

-  const {
-    excerpt,
-    slug,
-    title,
-    area
-  } = template;
+      const provider = (_blocks$0$attributes = blocks[0].attributes) === null || _blocks$0$attributes === void 0 ? void 0 : _blocks$0$attributes.providerNameSlug;

-  const {
-    title: defaultTitle,
-    description: defaultDescription
-  } = __experimentalGetDefaultTemplateType(state, slug);
+      if (['youtube', 'vimeo'].includes(provider)) {
+        name = 'core/video';
+      } else if (['spotify', 'soundcloud'].includes(provider)) {
+        name = 'core/audio';
+      }
+    }
+  } // If there are two blocks in the content and the last one is a text blocks
+  // grab the name of the first one to also suggest a post format from it.
+
+
+  if (blocks.length === 2 && blocks[1].name === 'core/paragraph') {
+    name = blocks[0].name;
+  } // We only convert to default post formats in core.
+
+
+  switch (name) {
+    case 'core/image':
+      return 'image';
+
+    case 'core/quote':
+    case 'core/pullquote':
+      return 'quote';
+
+    case 'core/gallery':
+      return 'gallery';
+
+    case 'core/video':
+      return 'video';
+
+    case 'core/audio':
+      return 'audio';

-  const templateTitle = Object(external_lodash_["isString"])(title) ? title : title === null || title === void 0 ? void 0 : title.rendered;
-  const templateDescription = Object(external_lodash_["isString"])(excerpt) ? excerpt : excerpt === null || excerpt === void 0 ? void 0 : excerpt.raw;
-  const templateIcon = ((_experimentalGetDefa = __experimentalGetDefaultTemplatePartAreas(state).find(item => area === item.area)) === null || _experimentalGetDefa === void 0 ? void 0 : _experimentalGetDefa.icon) || layout["a" /* default */];
-  return {
-    title: templateTitle && templateTitle !== slug ? templateTitle : defaultTitle || slug,
-    description: templateDescription || defaultDescription,
-    icon: templateIcon
-  };
+    default:
+      return null;
+  }
 }
 /**
- * Returns a post type label depending on the current post.
+ * Returns the content of the post being edited.
  *
  * @param {Object} state Global application state.
  *
- * @return {string|undefined} The post type label if available, otherwise undefined.
+ * @return {string} Post content.
  */

-const getPostTypeLabel = Object(external_wp_data_["createRegistrySelector"])(select => state => {
-  var _postType$labels;
+const getEditedPostContent = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  const postId = getCurrentPostId(state);
+  const postType = getCurrentPostType(state);
+  const record = select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord('postType', postType, postId);

-  const currentPostType = selectors_getCurrentPostType(state);
-  const postType = select(external_wp_coreData_["store"]).getPostType(currentPostType); // Disable reason: Post type labels object is shaped like this.
-  // eslint-disable-next-line camelcase
+  if (record) {
+    if (typeof record.content === 'function') {
+      return record.content(record);
+    } else if (record.blocks) {
+      return (0,external_wp_blocks_namespaceObject.__unstableSerializeAndClean)(record.blocks);
+    } else if (record.content) {
+      return record.content;
+    }
+  }

-  return postType === null || postType === void 0 ? void 0 : (_postType$labels = postType.labels) === null || _postType$labels === void 0 ? void 0 : _postType$labels.singular_name;
+  return '';
 });
-
-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/utils/notice-builder.js
-/**
- * WordPress dependencies
- */
-
 /**
- * Internal dependencies
+ * Returns true if the post is being published, or false otherwise.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether post is being published.
  */

-
+function isPublishingPost(state) {
+  return isSavingPost(state) && !isCurrentPostPublished(state) && getEditedPostAttribute(state, 'status') === 'publish';
+}
 /**
- * External dependencies
+ * Returns whether the permalink is editable or not.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {boolean} Whether or not the permalink is editable.
  */

-
+function isPermalinkEditable(state) {
+  const permalinkTemplate = getEditedPostAttribute(state, 'permalink_template');
+  return PERMALINK_POSTNAME_REGEX.test(permalinkTemplate);
+}
 /**
- * Builds the arguments for a success notification dispatch.
+ * Returns the permalink for the post.
  *
- * @param {Object} data Incoming data to build the arguments from.
+ * @param {Object} state Editor state.
  *
- * @return {Array} Arguments for dispatch. An empty array signals no
- *                 notification should be sent.
+ * @return {?string} The permalink, or null if the post is not viewable.
  */

-function getNotificationArgumentsForSaveSuccess(data) {
-  const {
-    previousPost,
-    post,
-    postType
-  } = data; // Autosaves are neither shown a notice nor redirected.
+function getPermalink(state) {
+  const permalinkParts = getPermalinkParts(state);

-  if (Object(external_lodash_["get"])(data.options, ['isAutosave'])) {
-    return [];
+  if (!permalinkParts) {
+    return null;
   }

-  const publishStatus = ['publish', 'private', 'future'];
-  const isPublished = Object(external_lodash_["includes"])(publishStatus, previousPost.status);
-  const willPublish = Object(external_lodash_["includes"])(publishStatus, post.status);
-  let noticeMessage;
-  let shouldShowLink = Object(external_lodash_["get"])(postType, ['viewable'], false); // Always should a notice, which will be spoken for accessibility.
+  const {
+    prefix,
+    postName,
+    suffix
+  } = permalinkParts;

-  if (!isPublished && !willPublish) {
-    // If saving a non-published post, don't show notice.
-    noticeMessage = Object(external_wp_i18n_["__"])('Saved');
-    shouldShowLink = false;
-  } else if (isPublished && !willPublish) {
-    // If undoing publish status, show specific notice
-    noticeMessage = postType.labels.item_reverted_to_draft;
-    shouldShowLink = false;
-  } else if (!isPublished && willPublish) {
-    // If publishing or scheduling a post, show the corresponding
-    // publish message
-    noticeMessage = {
-      publish: postType.labels.item_published,
-      private: postType.labels.item_published_privately,
-      future: postType.labels.item_scheduled
-    }[post.status];
-  } else {
-    // Generic fallback notice
-    noticeMessage = postType.labels.item_updated;
+  if (isPermalinkEditable(state)) {
+    return prefix + postName + suffix;
   }

-  const actions = [];
-
-  if (shouldShowLink) {
-    actions.push({
-      label: postType.labels.view_item,
-      url: post.link
-    });
-  }
+  return prefix;
+}
+/**
+ * Returns the slug for the post being edited, preferring a manually edited
+ * value if one exists, then a sanitized version of the current post title, and
+ * finally the post ID.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {string} The current slug to be displayed in the editor
+ */

-  return [noticeMessage, {
-    id: SAVE_POST_NOTICE_ID,
-    type: 'snackbar',
-    actions
-  }];
+function getEditedPostSlug(state) {
+  return getEditedPostAttribute(state, 'slug') || cleanForSlug(getEditedPostAttribute(state, 'title')) || getCurrentPostId(state);
 }
 /**
- * Builds the fail notification arguments for dispatch.
+ * Returns the permalink for a post, split into it's three parts: the prefix,
+ * the postName, and the suffix.
  *
- * @param {Object} data Incoming data to build the arguments with.
+ * @param {Object} state Editor state.
  *
- * @return {Array} Arguments for dispatch. An empty array signals no
- *                 notification should be sent.
+ * @return {Object} An object containing the prefix, postName, and suffix for
+ *                  the permalink, or null if the post is not viewable.
  */

-function getNotificationArgumentsForSaveFail(data) {
-  const {
-    post,
-    edits,
-    error
-  } = data;
+function getPermalinkParts(state) {
+  const permalinkTemplate = getEditedPostAttribute(state, 'permalink_template');

-  if (error && 'rest_autosave_no_changes' === error.code) {
-    // Autosave requested a new autosave, but there were no changes. This shouldn't
-    // result in an error notice for the user.
-    return [];
+  if (!permalinkTemplate) {
+    return null;
   }

-  const publishStatus = ['publish', 'private', 'future'];
-  const isPublished = publishStatus.indexOf(post.status) !== -1; // If the post was being published, we show the corresponding publish error message
-  // Unless we publish an "updating failed" message
-
-  const messages = {
-    publish: Object(external_wp_i18n_["__"])('Publishing failed.'),
-    private: Object(external_wp_i18n_["__"])('Publishing failed.'),
-    future: Object(external_wp_i18n_["__"])('Scheduling failed.')
+  const postName = getEditedPostAttribute(state, 'slug') || getEditedPostAttribute(state, 'generated_slug');
+  const [prefix, suffix] = permalinkTemplate.split(PERMALINK_POSTNAME_REGEX);
+  return {
+    prefix,
+    postName,
+    suffix
   };
-  let noticeMessage = !isPublished && publishStatus.indexOf(edits.status) !== -1 ? messages[edits.status] : Object(external_wp_i18n_["__"])('Updating failed.'); // Check if message string contains HTML. Notice text is currently only
-  // supported as plaintext, and stripping the tags may muddle the meaning.
-
-  if (error.message && !/<\/?[^>]*>/.test(error.message)) {
-    noticeMessage = [noticeMessage, error.message].join(' ');
-  }
-
-  return [noticeMessage, {
-    id: SAVE_POST_NOTICE_ID
-  }];
 }
 /**
- * Builds the trash fail notification arguments for dispatch.
+ * Returns whether the post is locked.
  *
- * @param {Object} data
+ * @param {Object} state Global application state.
  *
- * @return {Array} Arguments for dispatch.
+ * @return {boolean} Is locked.
  */

-function getNotificationArgumentsForTrashFail(data) {
-  return [data.error.message && data.error.code !== 'unknown_error' ? data.error.message : Object(external_wp_i18n_["__"])('Trashing failed'), {
-    id: TRASH_POST_NOTICE_ID
-  }];
+function isPostLocked(state) {
+  return state.postLock.isLocked;
 }
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/actions.js
 /**
- * External dependencies
+ * Returns whether post saving is locked.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Is locked.
  */

+function isPostSavingLocked(state) {
+  return Object.keys(state.postSavingLock).length > 0;
+}
 /**
- * WordPress dependencies
+ * Returns whether post autosaving is locked.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Is locked.
  */

-
-
-
-
-
-
-
+function isPostAutosavingLocked(state) {
+  return Object.keys(state.postAutosavingLock).length > 0;
+}
 /**
- * Internal dependencies
+ * Returns whether the edition of the post has been taken over.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Is post lock takeover.
  */

-
-
+function isPostLockTakeover(state) {
+  return state.postLock.isTakeover;
+}
 /**
- * Returns an action generator used in signalling that editor has initialized with
- * the specified post object and editor settings.
+ * Returns details about the post lock user.
  *
- * @param {Object} post     Post object.
- * @param {Object} edits    Initial edited attributes object.
- * @param {Array?} template Block Template.
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} A user object.
  */

-function* actions_setupEditor(post, edits, template) {
-  yield resetPost(post);
-  yield {
-    type: 'SETUP_EDITOR',
-    post,
-    edits,
-    template
-  };
-  yield setupEditorState(post); // Apply a template for new posts only, if exists.
-
-  const isNewPost = post.status === 'auto-draft';
+function getPostLockUser(state) {
+  return state.postLock.user;
+}
+/**
+ * Returns the active post lock.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} The lock object.
+ */

-  if (isNewPost && template) {
-    // In order to ensure maximum of a single parse during setup, edits are
-    // included as part of editor setup action. Assume edited content as
-    // canonical if provided, falling back to post.
-    let content;
+function getActivePostLock(state) {
+  return state.postLock.activePostLock;
+}
+/**
+ * Returns whether or not the user has the unfiltered_html capability.
+ *
+ * @param {Object} state Editor state.
+ *
+ * @return {boolean} Whether the user can or can't post unfiltered HTML.
+ */

-    if (Object(external_lodash_["has"])(edits, ['content'])) {
-      content = edits.content;
-    } else {
-      content = post.content.raw;
-    }
+function canUserUseUnfilteredHTML(state) {
+  return (0,external_lodash_namespaceObject.has)(getCurrentPost(state), ['_links', 'wp:action-unfiltered-html']);
+}
+/**
+ * Returns whether the pre-publish panel should be shown
+ * or skipped when the user clicks the "publish" button.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether the pre-publish panel should be shown or not.
+ */

-    let blocks = Object(external_wp_blocks_["parse"])(content);
-    blocks = Object(external_wp_blocks_["synchronizeBlocksWithTemplate"])(blocks, template);
-    yield actions_resetEditorBlocks(blocks, {
-      __unstableShouldCreateUndoLevel: false
-    });
+function isPublishSidebarEnabled(state) {
+  if (state.preferences.hasOwnProperty('isPublishSidebarEnabled')) {
+    return state.preferences.isPublishSidebarEnabled;
   }

-  if (edits && Object.keys(edits).some(key => edits[key] !== (Object(external_lodash_["has"])(post, [key, 'raw']) ? post[key].raw : post[key]))) {
-    yield actions_editPost(edits);
-  }
+  return PREFERENCES_DEFAULTS.isPublishSidebarEnabled;
 }
 /**
- * Returns an action object signalling that the editor is being destroyed and
- * that any necessary state or side-effect cleanup should occur.
+ * Return the current block list.
  *
- * @return {Object} Action object.
+ * @param {Object} state
+ * @return {Array} Block list.
  */

-function actions_experimentalTearDownEditor() {
-  return {
-    type: 'TEAR_DOWN_EDITOR'
-  };
+function getEditorBlocks(state) {
+  return getEditedPostAttribute(state, 'blocks') || EMPTY_ARRAY;
 }
 /**
- * Returns an action object used in signalling that the latest version of the
- * post has been received, either by initialization or save.
+ * A block selection object.
  *
- * @param {Object} post Post object.
+ * @typedef {Object} WPBlockSelection
  *
- * @return {Object} Action object.
+ * @property {string} clientId     A block client ID.
+ * @property {string} attributeKey A block attribute key.
+ * @property {number} offset       An attribute value offset, based on the rich
+ *                                 text value. See `wp.richText.create`.
  */

-function resetPost(post) {
-  return {
-    type: 'RESET_POST',
-    post
-  };
-}
 /**
- * Action for dispatching that a post update request has started.
+ * Returns the current selection start.
  *
- * @param {Object} options
+ * @param {Object} state
+ * @return {WPBlockSelection} The selection start.
  *
- * @return {Object} An action object
+ * @deprecated since Gutenberg 10.0.0.
  */

-function __experimentalRequestPostUpdateStart() {
-  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  return {
-    type: 'REQUEST_POST_UPDATE_START',
-    options
-  };
+function getEditorSelectionStart(state) {
+  var _getEditedPostAttribu;
+
+  external_wp_deprecated_default()("select('core/editor').getEditorSelectionStart", {
+    since: '10.0',
+    plugin: 'Gutenberg',
+    alternative: "select('core/editor').getEditorSelection"
+  });
+  return (_getEditedPostAttribu = getEditedPostAttribute(state, 'selection')) === null || _getEditedPostAttribu === void 0 ? void 0 : _getEditedPostAttribu.selectionStart;
 }
 /**
- * Action for dispatching that a post update request has finished.
+ * Returns the current selection end.
  *
- * @param {Object} options
+ * @param {Object} state
+ * @return {WPBlockSelection} The selection end.
  *
- * @return {Object} An action object
+ * @deprecated since Gutenberg 10.0.0.
  */

-function __experimentalRequestPostUpdateFinish() {
-  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  return {
-    type: 'REQUEST_POST_UPDATE_FINISH',
-    options
-  };
+function getEditorSelectionEnd(state) {
+  var _getEditedPostAttribu2;
+
+  external_wp_deprecated_default()("select('core/editor').getEditorSelectionStart", {
+    since: '10.0',
+    plugin: 'Gutenberg',
+    alternative: "select('core/editor').getEditorSelection"
+  });
+  return (_getEditedPostAttribu2 = getEditedPostAttribute(state, 'selection')) === null || _getEditedPostAttribu2 === void 0 ? void 0 : _getEditedPostAttribu2.selectionEnd;
 }
 /**
- * Returns an action object used in signalling that a patch of updates for the
- * latest version of the post have been received.
+ * Returns the current selection.
  *
- * @return {Object} Action object.
- * @deprecated since Gutenberg 9.7.0.
+ * @param {Object} state
+ * @return {WPBlockSelection} The selection end.
  */

-function updatePost() {
-  external_wp_deprecated_default()("wp.data.dispatch( 'core/editor' ).updatePost", {
-    since: '5.7',
-    alternative: 'Use the core entities store instead'
-  });
-  return {
-    type: 'DO_NOTHING'
-  };
+function getEditorSelection(state) {
+  return getEditedPostAttribute(state, 'selection');
 }
 /**
- * Returns an action object used to setup the editor state when first opening
- * an editor.
- *
- * @param {Object} post Post object.
+ * Is the editor ready
  *
- * @return {Object} Action object.
+ * @param {Object} state
+ * @return {boolean} is Ready.
  */

-function setupEditorState(post) {
-  return {
-    type: 'SETUP_EDITOR_STATE',
-    post
-  };
+function __unstableIsEditorReady(state) {
+  return state.isReady;
 }
 /**
- * Returns an action object used in signalling that attributes of the post have
- * been edited.
+ * Returns the post editor settings.
  *
- * @param {Object} edits   Post attributes to edit.
- * @param {Object} options Options for the edit.
+ * @param {Object} state Editor state.
  *
- * @yield {Object} Action object or control.
+ * @return {Object} The editor settings object.
  */

-function* actions_editPost(edits, options) {
-  const {
-    id,
-    type
-  } = yield external_wp_data_["controls"].select(STORE_NAME, 'getCurrentPost');
-  yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'editEntityRecord', 'postType', type, id, edits, options);
+function getEditorSettings(state) {
+  return state.editorSettings;
 }
+/*
+ * Backward compatibility
+ */
+
 /**
- * Action generator for saving the current post in the editor.
+ * Returns state object prior to a specified optimist transaction ID, or `null`
+ * if the transaction corresponding to the given ID cannot be found.
  *
- * @param {Object} options
+ * @deprecated since Gutenberg 9.7.0.
  */

-function* actions_savePost() {
-  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-
-  if (!(yield external_wp_data_["controls"].select(STORE_NAME, 'isEditedPostSaveable'))) {
-    return;
-  }
-
-  let edits = {
-    content: yield external_wp_data_["controls"].select(STORE_NAME, 'getEditedPostContent')
-  };
-
-  if (!options.isAutosave) {
-    yield external_wp_data_["controls"].dispatch(STORE_NAME, 'editPost', edits, {
-      undoIgnore: true
-    });
-  }
+function getStateBeforeOptimisticTransaction() {
+  external_wp_deprecated_default()("select('core/editor').getStateBeforeOptimisticTransaction", {
+    since: '5.7',
+    hint: 'No state history is kept on this store anymore'
+  });
+  return null;
+}
+/**
+ * Returns true if an optimistic transaction is pending commit, for which the
+ * before state satisfies the given predicate function.
+ *
+ * @deprecated since Gutenberg 9.7.0.
+ */

-  yield __experimentalRequestPostUpdateStart(options);
-  const previousRecord = yield external_wp_data_["controls"].select(STORE_NAME, 'getCurrentPost');
-  edits = {
-    id: previousRecord.id,
-    ...(yield external_wp_data_["controls"].select(external_wp_coreData_["store"], 'getEntityRecordNonTransientEdits', 'postType', previousRecord.type, previousRecord.id)),
-    ...edits
-  };
-  yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'saveEntityRecord', 'postType', previousRecord.type, edits, options);
-  yield __experimentalRequestPostUpdateFinish(options);
-  const error = yield external_wp_data_["controls"].select(external_wp_coreData_["store"], 'getLastEntitySaveError', 'postType', previousRecord.type, previousRecord.id);
+function inSomeHistory() {
+  external_wp_deprecated_default()("select('core/editor').inSomeHistory", {
+    since: '5.7',
+    hint: 'No state history is kept on this store anymore'
+  });
+  return false;
+}

-  if (error) {
-    const args = getNotificationArgumentsForSaveFail({
-      post: previousRecord,
-      edits,
-      error
+function getBlockEditorSelector(name) {
+  return (0,external_wp_data_namespaceObject.createRegistrySelector)(select => function (state) {
+    external_wp_deprecated_default()("`wp.data.select( 'core/editor' )." + name + '`', {
+      since: '5.3',
+      alternative: "`wp.data.select( 'core/block-editor' )." + name + '`'
     });

-    if (args.length) {
-      yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createErrorNotice', ...args);
+    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+      args[_key - 1] = arguments[_key];
     }
-  } else {
-    const updatedRecord = yield external_wp_data_["controls"].select(STORE_NAME, 'getCurrentPost');
-    const args = getNotificationArgumentsForSaveSuccess({
-      previousPost: previousRecord,
-      post: updatedRecord,
-      postType: yield external_wp_data_["controls"].resolveSelect(external_wp_coreData_["store"], 'getPostType', updatedRecord.type),
-      options
-    });

-    if (args.length) {
-      yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createSuccessNotice', ...args);
-    } // Make sure that any edits after saving create an undo level and are
-    // considered for change detection.
+    return select(external_wp_blockEditor_namespaceObject.store)[name](...args);
+  });
+}
+/**
+ * @see getBlockName in core/block-editor store.
+ */


-    if (!options.isAutosave) {
-      yield external_wp_data_["controls"].dispatch(external_wp_blockEditor_["store"], '__unstableMarkLastChangeAsPersistent');
-    }
-  }
-}
+const getBlockName = getBlockEditorSelector('getBlockName');
 /**
- * Action generator for handling refreshing the current post.
+ * @see isBlockValid in core/block-editor store.
  */

-function* refreshPost() {
-  const post = yield external_wp_data_["controls"].select(STORE_NAME, 'getCurrentPost');
-  const postTypeSlug = yield external_wp_data_["controls"].select(STORE_NAME, 'getCurrentPostType');
-  const postType = yield external_wp_data_["controls"].resolveSelect(external_wp_coreData_["store"], 'getPostType', postTypeSlug);
-  const newPost = yield Object(external_wp_dataControls_["apiFetch"])({
-    // Timestamp arg allows caller to bypass browser caching, which is
-    // expected for this specific function.
-    path: `/wp/v2/${postType.rest_base}/${post.id}` + `?context=edit&_timestamp=${Date.now()}`
-  });
-  yield external_wp_data_["controls"].dispatch(STORE_NAME, 'resetPost', newPost);
-}
+const isBlockValid = getBlockEditorSelector('isBlockValid');
 /**
- * Action generator for trashing the current post in the editor.
+ * @see getBlockAttributes in core/block-editor store.
  */

-function* trashPost() {
-  const postTypeSlug = yield external_wp_data_["controls"].select(STORE_NAME, 'getCurrentPostType');
-  const postType = yield external_wp_data_["controls"].resolveSelect(external_wp_coreData_["store"], 'getPostType', postTypeSlug);
-  yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'removeNotice', TRASH_POST_NOTICE_ID);
+const getBlockAttributes = getBlockEditorSelector('getBlockAttributes');
+/**
+ * @see getBlock in core/block-editor store.
+ */

-  try {
-    const post = yield external_wp_data_["controls"].select(STORE_NAME, 'getCurrentPost');
-    yield Object(external_wp_dataControls_["apiFetch"])({
-      path: `/wp/v2/${postType.rest_base}/${post.id}`,
-      method: 'DELETE'
-    });
-    yield external_wp_data_["controls"].dispatch(STORE_NAME, 'savePost');
-  } catch (error) {
-    yield external_wp_data_["controls"].dispatch(external_wp_notices_["store"], 'createErrorNotice', ...getNotificationArgumentsForTrashFail({
-      error
-    }));
-  }
-}
+const getBlock = getBlockEditorSelector('getBlock');
 /**
- * Action generator used in signalling that the post should autosave.  This
- * includes server-side autosaving (default) and client-side (a.k.a. local)
- * autosaving (e.g. on the Web, the post might be committed to Session
- * Storage).
- *
- * @param {Object?} options Extra flags to identify the autosave.
+ * @see getBlocks in core/block-editor store.
  */

-function* actions_autosave() {
-  let {
-    local = false,
-    ...options
-  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+const getBlocks = getBlockEditorSelector('getBlocks');
+/**
+ * @see getClientIdsOfDescendants in core/block-editor store.
+ */

-  if (local) {
-    const post = yield external_wp_data_["controls"].select(STORE_NAME, 'getCurrentPost');
-    const isPostNew = yield external_wp_data_["controls"].select(STORE_NAME, 'isEditedPostNew');
-    const title = yield external_wp_data_["controls"].select(STORE_NAME, 'getEditedPostAttribute', 'title');
-    const content = yield external_wp_data_["controls"].select(STORE_NAME, 'getEditedPostAttribute', 'content');
-    const excerpt = yield external_wp_data_["controls"].select(STORE_NAME, 'getEditedPostAttribute', 'excerpt');
-    yield {
-      type: 'LOCAL_AUTOSAVE_SET',
-      postId: post.id,
-      isPostNew,
-      title,
-      content,
-      excerpt
-    };
-  } else {
-    yield external_wp_data_["controls"].dispatch(STORE_NAME, 'savePost', {
-      isAutosave: true,
-      ...options
-    });
-  }
-}
+const getClientIdsOfDescendants = getBlockEditorSelector('getClientIdsOfDescendants');
+/**
+ * @see getClientIdsWithDescendants in core/block-editor store.
+ */
+
+const getClientIdsWithDescendants = getBlockEditorSelector('getClientIdsWithDescendants');
 /**
- * Returns an action object used in signalling that undo history should
- * restore last popped state.
- *
- * @yield {Object} Action object.
+ * @see getGlobalBlockCount in core/block-editor store.
  */

-function* actions_redo() {
-  yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'redo');
-}
+const getGlobalBlockCount = getBlockEditorSelector('getGlobalBlockCount');
 /**
- * Returns an action object used in signalling that undo history should pop.
- *
- * @yield {Object} Action object.
+ * @see getBlocksByClientId in core/block-editor store.
  */

-function* actions_undo() {
-  yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], 'undo');
-}
+const getBlocksByClientId = getBlockEditorSelector('getBlocksByClientId');
 /**
- * Returns an action object used in signalling that undo history record should
- * be created.
- *
- * @return {Object} Action object.
+ * @see getBlockCount in core/block-editor store.
  */

-function createUndoLevel() {
-  return {
-    type: 'CREATE_UNDO_LEVEL'
-  };
-}
+const getBlockCount = getBlockEditorSelector('getBlockCount');
 /**
- * Returns an action object used to lock the editor.
- *
- * @param {Object} lock Details about the post lock status, user, and nonce.
- *
- * @return {Object} Action object.
+ * @see getBlockSelectionStart in core/block-editor store.
  */

-function actions_updatePostLock(lock) {
-  return {
-    type: 'UPDATE_POST_LOCK',
-    lock
-  };
-}
+const getBlockSelectionStart = getBlockEditorSelector('getBlockSelectionStart');
 /**
- * Returns an action object used in signalling that the user has enabled the
- * publish sidebar.
- *
- * @return {Object} Action object
+ * @see getBlockSelectionEnd in core/block-editor store.
  */

-function actions_enablePublishSidebar() {
-  return {
-    type: 'ENABLE_PUBLISH_SIDEBAR'
-  };
-}
+const getBlockSelectionEnd = getBlockEditorSelector('getBlockSelectionEnd');
 /**
- * Returns an action object used in signalling that the user has disabled the
- * publish sidebar.
- *
- * @return {Object} Action object
+ * @see getSelectedBlockCount in core/block-editor store.
  */

-function actions_disablePublishSidebar() {
-  return {
-    type: 'DISABLE_PUBLISH_SIDEBAR'
-  };
-}
+const getSelectedBlockCount = getBlockEditorSelector('getSelectedBlockCount');
 /**
- * Returns an action object used to signal that post saving is locked.
- *
- * @param {string} lockName The lock name.
- *
- * @example
- * ```
- * const { subscribe } = wp.data;
- *
- * const initialPostStatus = wp.data.select( 'core/editor' ).getEditedPostAttribute( 'status' );
- *
- * // Only allow publishing posts that are set to a future date.
- * if ( 'publish' !== initialPostStatus ) {
- *
- * 	// Track locking.
- * 	let locked = false;
- *
- * 	// Watch for the publish event.
- * 	let unssubscribe = subscribe( () => {
- * 		const currentPostStatus = wp.data.select( 'core/editor' ).getEditedPostAttribute( 'status' );
- * 		if ( 'publish' !== currentPostStatus ) {
- *
- * 			// Compare the post date to the current date, lock the post if the date isn't in the future.
- * 			const postDate = new Date( wp.data.select( 'core/editor' ).getEditedPostAttribute( 'date' ) );
- * 			const currentDate = new Date();
- * 			if ( postDate.getTime() <= currentDate.getTime() ) {
- * 				if ( ! locked ) {
- * 					locked = true;
- * 					wp.data.dispatch( 'core/editor' ).lockPostSaving( 'futurelock' );
- * 				}
- * 			} else {
- * 				if ( locked ) {
- * 					locked = false;
- * 					wp.data.dispatch( 'core/editor' ).unlockPostSaving( 'futurelock' );
- * 				}
- * 			}
- * 		}
- * 	} );
- * }
- * ```
- *
- * @return {Object} Action object
+ * @see hasSelectedBlock in core/block-editor store.
  */

-function lockPostSaving(lockName) {
-  return {
-    type: 'LOCK_POST_SAVING',
-    lockName
-  };
-}
+const hasSelectedBlock = getBlockEditorSelector('hasSelectedBlock');
 /**
- * Returns an action object used to signal that post saving is unlocked.
- *
- * @param {string} lockName The lock name.
- *
- * @example
- * ```
- * // Unlock post saving with the lock key `mylock`:
- * wp.data.dispatch( 'core/editor' ).unlockPostSaving( 'mylock' );
- * ```
- *
- * @return {Object} Action object
+ * @see getSelectedBlockClientId in core/block-editor store.
  */

-function unlockPostSaving(lockName) {
-  return {
-    type: 'UNLOCK_POST_SAVING',
-    lockName
-  };
-}
+const getSelectedBlockClientId = getBlockEditorSelector('getSelectedBlockClientId');
 /**
- * Returns an action object used to signal that post autosaving is locked.
- *
- * @param {string} lockName The lock name.
- *
- * @example
- * ```
- * // Lock post autosaving with the lock key `mylock`:
- * wp.data.dispatch( 'core/editor' ).lockPostAutosaving( 'mylock' );
- * ```
- *
- * @return {Object} Action object
+ * @see getSelectedBlock in core/block-editor store.
  */

-function lockPostAutosaving(lockName) {
-  return {
-    type: 'LOCK_POST_AUTOSAVING',
-    lockName
-  };
-}
+const getSelectedBlock = getBlockEditorSelector('getSelectedBlock');
 /**
- * Returns an action object used to signal that post autosaving is unlocked.
- *
- * @param {string} lockName The lock name.
- *
- * @example
- * ```
- * // Unlock post saving with the lock key `mylock`:
- * wp.data.dispatch( 'core/editor' ).unlockPostAutosaving( 'mylock' );
- * ```
- *
- * @return {Object} Action object
+ * @see getBlockRootClientId in core/block-editor store.
  */

-function unlockPostAutosaving(lockName) {
-  return {
-    type: 'UNLOCK_POST_AUTOSAVING',
-    lockName
-  };
-}
+const getBlockRootClientId = getBlockEditorSelector('getBlockRootClientId');
 /**
- * Returns an action object used to signal that the blocks have been updated.
- *
- * @param {Array}   blocks  Block Array.
- * @param {?Object} options Optional options.
- *
- * @yield {Object} Action object
+ * @see getBlockHierarchyRootClientId in core/block-editor store.
  */

-function* actions_resetEditorBlocks(blocks) {
-  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-  const {
-    __unstableShouldCreateUndoLevel,
-    selection
-  } = options;
-  const edits = {
-    blocks,
-    selection
-  };
+const getBlockHierarchyRootClientId = getBlockEditorSelector('getBlockHierarchyRootClientId');
+/**
+ * @see getAdjacentBlockClientId in core/block-editor store.
+ */

-  if (__unstableShouldCreateUndoLevel !== false) {
-    const {
-      id,
-      type
-    } = yield external_wp_data_["controls"].select(STORE_NAME, 'getCurrentPost');
-    const noChange = (yield external_wp_data_["controls"].select(external_wp_coreData_["store"], 'getEditedEntityRecord', 'postType', type, id)).blocks === edits.blocks;
+const getAdjacentBlockClientId = getBlockEditorSelector('getAdjacentBlockClientId');
+/**
+ * @see getPreviousBlockClientId in core/block-editor store.
+ */

-    if (noChange) {
-      return yield external_wp_data_["controls"].dispatch(external_wp_coreData_["store"], '__unstableCreateUndoLevel', 'postType', type, id);
-    } // We create a new function here on every persistent edit
-    // to make sure the edit makes the post dirty and creates
-    // a new undo level.
+const getPreviousBlockClientId = getBlockEditorSelector('getPreviousBlockClientId');
+/**
+ * @see getNextBlockClientId in core/block-editor store.
+ */

+const getNextBlockClientId = getBlockEditorSelector('getNextBlockClientId');
+/**
+ * @see getSelectedBlocksInitialCaretPosition in core/block-editor store.
+ */

-    edits.content = _ref => {
-      let {
-        blocks: blocksForSerialization = []
-      } = _ref;
-      return Object(external_wp_blocks_["__unstableSerializeAndClean"])(blocksForSerialization);
-    };
-  }
+const getSelectedBlocksInitialCaretPosition = getBlockEditorSelector('getSelectedBlocksInitialCaretPosition');
+/**
+ * @see getMultiSelectedBlockClientIds in core/block-editor store.
+ */

-  yield* actions_editPost(edits);
-}
-/*
- * Returns an action object used in signalling that the post editor settings have been updated.
- *
- * @param {Object} settings Updated settings
- *
- * @return {Object} Action object
+const getMultiSelectedBlockClientIds = getBlockEditorSelector('getMultiSelectedBlockClientIds');
+/**
+ * @see getMultiSelectedBlocks in core/block-editor store.
  */

-function actions_updateEditorSettings(settings) {
-  return {
-    type: 'UPDATE_EDITOR_SETTINGS',
-    settings
-  };
-}
+const getMultiSelectedBlocks = getBlockEditorSelector('getMultiSelectedBlocks');
 /**
- * Backward compatibility
+ * @see getFirstMultiSelectedBlockClientId in core/block-editor store.
  */

-const getBlockEditorAction = name => function* () {
-  external_wp_deprecated_default()("`wp.data.dispatch( 'core/editor' )." + name + '`', {
-    since: '5.3',
-    alternative: "`wp.data.dispatch( 'core/block-editor' )." + name + '`'
-  });
+const getFirstMultiSelectedBlockClientId = getBlockEditorSelector('getFirstMultiSelectedBlockClientId');
+/**
+ * @see getLastMultiSelectedBlockClientId in core/block-editor store.
+ */

-  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-    args[_key] = arguments[_key];
-  }
+const getLastMultiSelectedBlockClientId = getBlockEditorSelector('getLastMultiSelectedBlockClientId');
+/**
+ * @see isFirstMultiSelectedBlock in core/block-editor store.
+ */

-  yield external_wp_data_["controls"].dispatch(external_wp_blockEditor_["store"], name, ...args);
-};
+const isFirstMultiSelectedBlock = getBlockEditorSelector('isFirstMultiSelectedBlock');
 /**
- * @see resetBlocks in core/block-editor store.
+ * @see isBlockMultiSelected in core/block-editor store.
+ */
+
+const isBlockMultiSelected = getBlockEditorSelector('isBlockMultiSelected');
+/**
+ * @see isAncestorMultiSelected in core/block-editor store.
  */

-
-const resetBlocks = getBlockEditorAction('resetBlocks');
+const isAncestorMultiSelected = getBlockEditorSelector('isAncestorMultiSelected');
 /**
- * @see receiveBlocks in core/block-editor store.
+ * @see getMultiSelectedBlocksStartClientId in core/block-editor store.
  */

-const receiveBlocks = getBlockEditorAction('receiveBlocks');
+const getMultiSelectedBlocksStartClientId = getBlockEditorSelector('getMultiSelectedBlocksStartClientId');
 /**
- * @see updateBlock in core/block-editor store.
+ * @see getMultiSelectedBlocksEndClientId in core/block-editor store.
  */

-const updateBlock = getBlockEditorAction('updateBlock');
+const getMultiSelectedBlocksEndClientId = getBlockEditorSelector('getMultiSelectedBlocksEndClientId');
 /**
- * @see updateBlockAttributes in core/block-editor store.
+ * @see getBlockOrder in core/block-editor store.
  */

-const updateBlockAttributes = getBlockEditorAction('updateBlockAttributes');
+const getBlockOrder = getBlockEditorSelector('getBlockOrder');
 /**
- * @see selectBlock in core/block-editor store.
+ * @see getBlockIndex in core/block-editor store.
  */

-const actions_selectBlock = getBlockEditorAction('selectBlock');
+const getBlockIndex = getBlockEditorSelector('getBlockIndex');
 /**
- * @see startMultiSelect in core/block-editor store.
+ * @see isBlockSelected in core/block-editor store.
  */

-const startMultiSelect = getBlockEditorAction('startMultiSelect');
+const isBlockSelected = getBlockEditorSelector('isBlockSelected');
 /**
- * @see stopMultiSelect in core/block-editor store.
+ * @see hasSelectedInnerBlock in core/block-editor store.
  */

-const stopMultiSelect = getBlockEditorAction('stopMultiSelect');
+const hasSelectedInnerBlock = getBlockEditorSelector('hasSelectedInnerBlock');
 /**
- * @see multiSelect in core/block-editor store.
+ * @see isBlockWithinSelection in core/block-editor store.
  */

-const multiSelect = getBlockEditorAction('multiSelect');
+const isBlockWithinSelection = getBlockEditorSelector('isBlockWithinSelection');
 /**
- * @see clearSelectedBlock in core/block-editor store.
+ * @see hasMultiSelection in core/block-editor store.
  */

-const actions_clearSelectedBlock = getBlockEditorAction('clearSelectedBlock');
+const hasMultiSelection = getBlockEditorSelector('hasMultiSelection');
 /**
- * @see toggleSelection in core/block-editor store.
+ * @see isMultiSelecting in core/block-editor store.
  */

-const toggleSelection = getBlockEditorAction('toggleSelection');
+const isMultiSelecting = getBlockEditorSelector('isMultiSelecting');
 /**
- * @see replaceBlocks in core/block-editor store.
+ * @see isSelectionEnabled in core/block-editor store.
  */

-const replaceBlocks = getBlockEditorAction('replaceBlocks');
+const isSelectionEnabled = getBlockEditorSelector('isSelectionEnabled');
 /**
- * @see replaceBlock in core/block-editor store.
+ * @see getBlockMode in core/block-editor store.
  */

-const replaceBlock = getBlockEditorAction('replaceBlock');
+const getBlockMode = getBlockEditorSelector('getBlockMode');
 /**
- * @see moveBlocksDown in core/block-editor store.
+ * @see isTyping in core/block-editor store.
  */

-const moveBlocksDown = getBlockEditorAction('moveBlocksDown');
+const isTyping = getBlockEditorSelector('isTyping');
 /**
- * @see moveBlocksUp in core/block-editor store.
+ * @see isCaretWithinFormattedText in core/block-editor store.
  */

-const moveBlocksUp = getBlockEditorAction('moveBlocksUp');
+const isCaretWithinFormattedText = getBlockEditorSelector('isCaretWithinFormattedText');
 /**
- * @see moveBlockToPosition in core/block-editor store.
+ * @see getBlockInsertionPoint in core/block-editor store.
  */

-const moveBlockToPosition = getBlockEditorAction('moveBlockToPosition');
+const getBlockInsertionPoint = getBlockEditorSelector('getBlockInsertionPoint');
 /**
- * @see insertBlock in core/block-editor store.
+ * @see isBlockInsertionPointVisible in core/block-editor store.
  */

-const insertBlock = getBlockEditorAction('insertBlock');
+const isBlockInsertionPointVisible = getBlockEditorSelector('isBlockInsertionPointVisible');
 /**
- * @see insertBlocks in core/block-editor store.
+ * @see isValidTemplate in core/block-editor store.
  */

-const actions_insertBlocks = getBlockEditorAction('insertBlocks');
+const isValidTemplate = getBlockEditorSelector('isValidTemplate');
 /**
- * @see showInsertionPoint in core/block-editor store.
+ * @see getTemplate in core/block-editor store.
  */

-const showInsertionPoint = getBlockEditorAction('showInsertionPoint');
+const getTemplate = getBlockEditorSelector('getTemplate');
 /**
- * @see hideInsertionPoint in core/block-editor store.
+ * @see getTemplateLock in core/block-editor store.
  */

-const hideInsertionPoint = getBlockEditorAction('hideInsertionPoint');
+const getTemplateLock = getBlockEditorSelector('getTemplateLock');
 /**
- * @see setTemplateValidity in core/block-editor store.
+ * @see canInsertBlockType in core/block-editor store.
  */

-const actions_setTemplateValidity = getBlockEditorAction('setTemplateValidity');
+const canInsertBlockType = getBlockEditorSelector('canInsertBlockType');
 /**
- * @see synchronizeTemplate in core/block-editor store.
+ * @see getInserterItems in core/block-editor store.
  */

-const actions_synchronizeTemplate = getBlockEditorAction('synchronizeTemplate');
+const getInserterItems = getBlockEditorSelector('getInserterItems');
 /**
- * @see mergeBlocks in core/block-editor store.
+ * @see hasInserterItems in core/block-editor store.
  */

-const mergeBlocks = getBlockEditorAction('mergeBlocks');
+const hasInserterItems = getBlockEditorSelector('hasInserterItems');
 /**
- * @see removeBlocks in core/block-editor store.
+ * @see getBlockListSettings in core/block-editor store.
  */

-const removeBlocks = getBlockEditorAction('removeBlocks');
+const getBlockListSettings = getBlockEditorSelector('getBlockListSettings');
 /**
- * @see removeBlock in core/block-editor store.
+ * Returns the default template types.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Object} The template types.
  */

-const removeBlock = getBlockEditorAction('removeBlock');
+function __experimentalGetDefaultTemplateTypes(state) {
+  var _getEditorSettings;
+
+  return (_getEditorSettings = getEditorSettings(state)) === null || _getEditorSettings === void 0 ? void 0 : _getEditorSettings.defaultTemplateTypes;
+}
 /**
- * @see toggleBlockMode in core/block-editor store.
+ * Returns the default template part areas.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {Array} The template part areas.
  */

-const toggleBlockMode = getBlockEditorAction('toggleBlockMode');
+const __experimentalGetDefaultTemplatePartAreas = rememo(state => {
+  var _getEditorSettings2;
+
+  const areas = ((_getEditorSettings2 = getEditorSettings(state)) === null || _getEditorSettings2 === void 0 ? void 0 : _getEditorSettings2.defaultTemplatePartAreas) || [];
+  return areas === null || areas === void 0 ? void 0 : areas.map(item => {
+    return { ...item,
+      icon: getTemplatePartIcon(item.icon)
+    };
+  });
+}, state => {
+  var _getEditorSettings3;
+
+  return [(_getEditorSettings3 = getEditorSettings(state)) === null || _getEditorSettings3 === void 0 ? void 0 : _getEditorSettings3.defaultTemplatePartAreas];
+});
 /**
- * @see startTyping in core/block-editor store.
+ * Returns a default template type searched by slug.
+ *
+ * @param {Object} state Global application state.
+ * @param {string} slug  The template type slug.
+ *
+ * @return {Object} The template type.
  */

-const startTyping = getBlockEditorAction('startTyping');
+const __experimentalGetDefaultTemplateType = rememo((state, slug) => (0,external_lodash_namespaceObject.find)(__experimentalGetDefaultTemplateTypes(state), {
+  slug
+}) || {}, (state, slug) => [__experimentalGetDefaultTemplateTypes(state), slug]);
 /**
- * @see stopTyping in core/block-editor store.
+ * Given a template entity, return information about it which is ready to be
+ * rendered, such as the title, description, and icon.
+ *
+ * @param {Object} state    Global application state.
+ * @param {Object} template The template for which we need information.
+ * @return {Object} Information about the template, including title, description, and icon.
  */

-const stopTyping = getBlockEditorAction('stopTyping');
+function __experimentalGetTemplateInfo(state, template) {
+  var _experimentalGetDefa;
+
+  if (!template) {
+    return {};
+  }
+
+  const {
+    excerpt,
+    slug,
+    title,
+    area
+  } = template;
+
+  const {
+    title: defaultTitle,
+    description: defaultDescription
+  } = __experimentalGetDefaultTemplateType(state, slug);
+
+  const templateTitle = (0,external_lodash_namespaceObject.isString)(title) ? title : title === null || title === void 0 ? void 0 : title.rendered;
+  const templateDescription = (0,external_lodash_namespaceObject.isString)(excerpt) ? excerpt : excerpt === null || excerpt === void 0 ? void 0 : excerpt.raw;
+  const templateIcon = ((_experimentalGetDefa = __experimentalGetDefaultTemplatePartAreas(state).find(item => area === item.area)) === null || _experimentalGetDefa === void 0 ? void 0 : _experimentalGetDefa.icon) || library_layout;
+  return {
+    title: templateTitle && templateTitle !== slug ? templateTitle : defaultTitle || slug,
+    description: templateDescription || defaultDescription,
+    icon: templateIcon
+  };
+}
 /**
- * @see enterFormattedText in core/block-editor store.
+ * Returns a post type label depending on the current post.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {string|undefined} The post type label if available, otherwise undefined.
  */

-const enterFormattedText = getBlockEditorAction('enterFormattedText');
+const getPostTypeLabel = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => state => {
+  var _postType$labels;
+
+  const currentPostType = getCurrentPostType(state);
+  const postType = select(external_wp_coreData_namespaceObject.store).getPostType(currentPostType); // Disable reason: Post type labels object is shaped like this.
+  // eslint-disable-next-line camelcase
+
+  return postType === null || postType === void 0 ? void 0 : (_postType$labels = postType.labels) === null || _postType$labels === void 0 ? void 0 : _postType$labels.singular_name;
+});
+
+;// CONCATENATED MODULE: external ["wp","notices"]
+var external_wp_notices_namespaceObject = window["wp"]["notices"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/utils/notice-builder.js
 /**
- * @see exitFormattedText in core/block-editor store.
+ * WordPress dependencies
  */

-const exitFormattedText = getBlockEditorAction('exitFormattedText');
 /**
- * @see insertDefaultBlock in core/block-editor store.
+ * Internal dependencies
  */

-const actions_insertDefaultBlock = getBlockEditorAction('insertDefaultBlock');
+
 /**
- * @see updateBlockListSettings in core/block-editor store.
+ * External dependencies
  */

-const updateBlockListSettings = getBlockEditorAction('updateBlockListSettings');

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/controls.js
 /**
- * Function returning a sessionStorage key to set or retrieve a given post's
- * automatic session backup.
- *
- * Keys are crucially prefixed with 'wp-autosave-' so that wp-login.php's
- * `loggedout` handler can clear sessionStorage of any user-private content.
- *
- * @see https://github.com/WordPress/wordpress-develop/blob/6dad32d2aed47e6c0cf2aee8410645f6d7aba6bd/src/wp-login.php#L103
+ * Builds the arguments for a success notification dispatch.
  *
- * @param {string}  postId    Post ID.
- * @param {boolean} isPostNew Whether post new.
+ * @param {Object} data Incoming data to build the arguments from.
  *
- * @return {string} sessionStorage key
+ * @return {Array} Arguments for dispatch. An empty array signals no
+ *                 notification should be sent.
  */
-function postKey(postId, isPostNew) {
-  return `wp-autosave-block-editor-post-${isPostNew ? 'auto-draft' : postId}`;
-}

-function localAutosaveGet(postId, isPostNew) {
-  return window.sessionStorage.getItem(postKey(postId, isPostNew));
-}
-function localAutosaveSet(postId, isPostNew, title, content, excerpt) {
-  window.sessionStorage.setItem(postKey(postId, isPostNew), JSON.stringify({
-    post_title: title,
-    content,
-    excerpt
-  }));
-}
-function localAutosaveClear(postId, isPostNew) {
-  window.sessionStorage.removeItem(postKey(postId, isPostNew));
-}
-const controls = {
-  LOCAL_AUTOSAVE_SET(_ref) {
-    let {
-      postId,
-      isPostNew,
-      title,
-      content,
-      excerpt
-    } = _ref;
-    localAutosaveSet(postId, isPostNew, title, content, excerpt);
+function getNotificationArgumentsForSaveSuccess(data) {
+  const {
+    previousPost,
+    post,
+    postType
+  } = data; // Autosaves are neither shown a notice nor redirected.
+
+  if ((0,external_lodash_namespaceObject.get)(data.options, ['isAutosave'])) {
+    return [];
   }

-};
-/* harmony default export */ var store_controls = (controls);
+  const publishStatus = ['publish', 'private', 'future'];
+  const isPublished = (0,external_lodash_namespaceObject.includes)(publishStatus, previousPost.status);
+  const willPublish = (0,external_lodash_namespaceObject.includes)(publishStatus, post.status);
+  let noticeMessage;
+  let shouldShowLink = (0,external_lodash_namespaceObject.get)(postType, ['viewable'], false); // Always should a notice, which will be spoken for accessibility.

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/index.js
-/**
- * WordPress dependencies
- */
+  if (!isPublished && !willPublish) {
+    // If saving a non-published post, don't show notice.
+    noticeMessage = (0,external_wp_i18n_namespaceObject.__)('Saved');
+    shouldShowLink = false;
+  } else if (isPublished && !willPublish) {
+    // If undoing publish status, show specific notice
+    noticeMessage = postType.labels.item_reverted_to_draft;
+    shouldShowLink = false;
+  } else if (!isPublished && willPublish) {
+    // If publishing or scheduling a post, show the corresponding
+    // publish message
+    noticeMessage = {
+      publish: postType.labels.item_published,
+      private: postType.labels.item_published_privately,
+      future: postType.labels.item_scheduled
+    }[post.status];
+  } else {
+    // Generic fallback notice
+    noticeMessage = postType.labels.item_updated;
+  }
+
+  const actions = [];

+  if (shouldShowLink) {
+    actions.push({
+      label: postType.labels.view_item,
+      url: post.link
+    });
+  }

+  return [noticeMessage, {
+    id: SAVE_POST_NOTICE_ID,
+    type: 'snackbar',
+    actions
+  }];
+}
 /**
- * Internal dependencies
+ * Builds the fail notification arguments for dispatch.
+ *
+ * @param {Object} data Incoming data to build the arguments with.
+ *
+ * @return {Array} Arguments for dispatch. An empty array signals no
+ *                 notification should be sent.
  */

+function getNotificationArgumentsForSaveFail(data) {
+  const {
+    post,
+    edits,
+    error
+  } = data;

+  if (error && 'rest_autosave_no_changes' === error.code) {
+    // Autosave requested a new autosave, but there were no changes. This shouldn't
+    // result in an error notice for the user.
+    return [];
+  }

+  const publishStatus = ['publish', 'private', 'future'];
+  const isPublished = publishStatus.indexOf(post.status) !== -1; // If the post was being published, we show the corresponding publish error message
+  // Unless we publish an "updating failed" message

+  const messages = {
+    publish: (0,external_wp_i18n_namespaceObject.__)('Publishing failed.'),
+    private: (0,external_wp_i18n_namespaceObject.__)('Publishing failed.'),
+    future: (0,external_wp_i18n_namespaceObject.__)('Scheduling failed.')
+  };
+  let noticeMessage = !isPublished && publishStatus.indexOf(edits.status) !== -1 ? messages[edits.status] : (0,external_wp_i18n_namespaceObject.__)('Updating failed.'); // Check if message string contains HTML. Notice text is currently only
+  // supported as plaintext, and stripping the tags may muddle the meaning.

-
-/**
- * Post editor data store configuration.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
- *
- * @type {Object}
- */
-
-const storeConfig = {
-  reducer: reducer,
-  selectors: selectors_namespaceObject,
-  actions: actions_namespaceObject,
-  controls: { ...external_wp_dataControls_["controls"],
-    ...store_controls
+  if (error.message && !/<\/?[^>]*>/.test(error.message)) {
+    noticeMessage = [noticeMessage, error.message].join(' ');
   }
-};
+
+  return [noticeMessage, {
+    id: SAVE_POST_NOTICE_ID
+  }];
+}
 /**
- * Store definition for the editor namespace.
+ * Builds the trash fail notification arguments for dispatch.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ * @param {Object} data
  *
- * @type {Object}
+ * @return {Array} Arguments for dispatch.
  */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, { ...storeConfig,
-  persist: ['preferences']
-}); // Once we build a more generic persistence plugin that works across types of stores
-// we'd be able to replace this with a register call.
-
-Object(external_wp_data_["registerStore"])(STORE_NAME, { ...storeConfig,
-  persist: ['preferences']
-});
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/custom-sources-backwards-compatibility.js
-
-
+function getNotificationArgumentsForTrashFail(data) {
+  return [data.error.message && data.error.code !== 'unknown_error' ? data.error.message : (0,external_wp_i18n_namespaceObject.__)('Trashing failed'), {
+    id: TRASH_POST_NOTICE_ID
+  }];
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/actions.js
 /**
  * External dependencies
  */
@@ -4161,863 +3647,930 @@ Object(external_wp_data_["registerStore"])(STORE_NAME, { ...storeConfig,



+
 /**
  * Internal dependencies
  */


-/** @typedef {import('@wordpress/compose').WPHigherOrderComponent} WPHigherOrderComponent */
-
-/** @typedef {import('@wordpress/blocks').WPBlockSettings} WPBlockSettings */

 /**
- * Object whose keys are the names of block attributes, where each value
- * represents the meta key to which the block attribute is intended to save.
- *
- * @see https://developer.wordpress.org/reference/functions/register_meta/
+ * Returns an action generator used in signalling that editor has initialized with
+ * the specified post object and editor settings.
  *
- * @typedef {Object<string,string>} WPMetaAttributeMapping
+ * @param {Object} post     Post object.
+ * @param {Object} edits    Initial edited attributes object.
+ * @param {Array?} template Block Template.
  */

-/**
- * Given a mapping of attribute names (meta source attributes) to their
- * associated meta key, returns a higher order component that overrides its
- * `attributes` and `setAttributes` props to sync any changes with the edited
- * post's meta keys.
- *
- * @param {WPMetaAttributeMapping} metaAttributes Meta attribute mapping.
- *
- * @return {WPHigherOrderComponent} Higher-order component.
- */
+function* setupEditor(post, edits, template) {
+  yield resetPost(post);
+  yield {
+    type: 'SETUP_EDITOR',
+    post,
+    edits,
+    template
+  };
+  yield setupEditorState(post); // Apply a template for new posts only, if exists.

-const createWithMetaAttributeSource = metaAttributes => Object(external_wp_compose_["createHigherOrderComponent"])(BlockEdit => _ref => {
-  let {
-    attributes,
-    setAttributes,
-    ...props
-  } = _ref;
-  const postType = Object(external_wp_data_["useSelect"])(select => select(store).getCurrentPostType(), []);
-  const [meta, setMeta] = Object(external_wp_coreData_["useEntityProp"])('postType', postType, 'meta');
-  const mergedAttributes = Object(external_wp_element_["useMemo"])(() => ({ ...attributes,
-    ...Object(external_lodash_["mapValues"])(metaAttributes, metaKey => meta[metaKey])
-  }), [attributes, meta]);
-  return Object(external_wp_element_["createElement"])(BlockEdit, Object(esm_extends["a" /* default */])({
-    attributes: mergedAttributes,
-    setAttributes: nextAttributes => {
-      const nextMeta = Object(external_lodash_["mapKeys"])( // Filter to intersection of keys between the updated
-      // attributes and those with an associated meta key.
-      Object(external_lodash_["pickBy"])(nextAttributes, (value, key) => metaAttributes[key]), // Rename the keys to the expected meta key name.
-      (value, attributeKey) => metaAttributes[attributeKey]);
+  const isNewPost = post.status === 'auto-draft';

-      if (!Object(external_lodash_["isEmpty"])(nextMeta)) {
-        setMeta(nextMeta);
-      }
+  if (isNewPost && template) {
+    // In order to ensure maximum of a single parse during setup, edits are
+    // included as part of editor setup action. Assume edited content as
+    // canonical if provided, falling back to post.
+    let content;

-      setAttributes(nextAttributes);
+    if ((0,external_lodash_namespaceObject.has)(edits, ['content'])) {
+      content = edits.content;
+    } else {
+      content = post.content.raw;
     }
-  }, props));
-}, 'withMetaAttributeSource');
-/**
- * Filters a registered block's settings to enhance a block's `edit` component
- * to upgrade meta-sourced attributes to use the post's meta entity property.
- *
- * @param {WPBlockSettings} settings Registered block settings.
- *
- * @return {WPBlockSettings} Filtered block settings.
- */
-
-
-function shimAttributeSource(settings) {
-  /** @type {WPMetaAttributeMapping} */
-  const metaAttributes = Object(external_lodash_["mapValues"])(Object(external_lodash_["pickBy"])(settings.attributes, {
-    source: 'meta'
-  }), 'meta');

-  if (!Object(external_lodash_["isEmpty"])(metaAttributes)) {
-    settings.edit = createWithMetaAttributeSource(metaAttributes)(settings.edit);
+    let blocks = (0,external_wp_blocks_namespaceObject.parse)(content);
+    blocks = (0,external_wp_blocks_namespaceObject.synchronizeBlocksWithTemplate)(blocks, template);
+    yield resetEditorBlocks(blocks, {
+      __unstableShouldCreateUndoLevel: false
+    });
   }

-  return settings;
+  if (edits && Object.keys(edits).some(key => edits[key] !== ((0,external_lodash_namespaceObject.has)(post, [key, 'raw']) ? post[key].raw : post[key]))) {
+    yield editPost(edits);
+  }
 }
-
-Object(external_wp_hooks_["addFilter"])('blocks.registerBlockType', 'core/editor/custom-sources-backwards-compatibility/shim-attribute-source', shimAttributeSource); // The above filter will only capture blocks registered after the filter was
-// added. There may already be blocks registered by this point, and those must
-// be updated to apply the shim.
-//
-// The following implementation achieves this, albeit with a couple caveats:
-// - Only blocks registered on the global store will be modified.
-// - The block settings are directly mutated, since there is currently no
-//   mechanism to update an existing block registration. This is the reason for
-//   `getBlockType` separate from `getBlockTypes`, since the latter returns a
-//   _copy_ of the block registration (i.e. the mutation would not affect the
-//   actual registered block settings).
-//
-// `getBlockTypes` or `getBlockType` implementation could change in the future
-// in regards to creating settings clones, but the corresponding end-to-end
-// tests for meta blocks should cover against any potential regressions.
-//
-// In the future, we could support updating block settings, at which point this
-// implementation could use that mechanism instead.
-
-Object(external_wp_data_["select"])(external_wp_blocks_["store"]).getBlockTypes().map(_ref2 => {
-  let {
-    name
-  } = _ref2;
-  return Object(external_wp_data_["select"])(external_wp_blocks_["store"]).getBlockType(name);
-}).forEach(shimAttributeSource);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autocompleters/user.js
-
-
 /**
- * WordPress dependencies
+ * Returns an action object signalling that the editor is being destroyed and
+ * that any necessary state or side-effect cleanup should occur.
+ *
+ * @return {Object} Action object.
  */

-
-
-/** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */
-
-function getUserLabel(user) {
-  const avatar = user.avatar_urls && user.avatar_urls[24] ? Object(external_wp_element_["createElement"])("img", {
-    className: "editor-autocompleters__user-avatar",
-    alt: "",
-    src: user.avatar_urls[24]
-  }) : Object(external_wp_element_["createElement"])("span", {
-    className: "editor-autocompleters__no-avatar"
-  });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, avatar, Object(external_wp_element_["createElement"])("span", {
-    className: "editor-autocompleters__user-name"
-  }, user.name), Object(external_wp_element_["createElement"])("span", {
-    className: "editor-autocompleters__user-slug"
-  }, user.slug));
+function __experimentalTearDownEditor() {
+  return {
+    type: 'TEAR_DOWN_EDITOR'
+  };
 }
 /**
- * A user mentions completer.
+ * Returns an action object used in signalling that the latest version of the
+ * post has been received, either by initialization or save.
  *
- * @type {WPCompleter}
- */
-
-/* harmony default export */ var autocompleters_user = ({
-  name: 'users',
-  className: 'editor-autocompleters__user',
-  triggerPrefix: '@',
-
-  useItems(filterValue) {
-    const users = Object(external_wp_data_["useSelect"])(select => {
-      const {
-        getUsers
-      } = select(external_wp_coreData_["store"]);
-      return getUsers({
-        context: 'view',
-        search: encodeURIComponent(filterValue)
-      });
-    }, [filterValue]);
-    const options = Object(external_wp_element_["useMemo"])(() => users ? users.map(user => ({
-      key: `user-${user.slug}`,
-      value: user,
-      label: getUserLabel(user)
-    })) : [], [users]);
-    return [options];
-  },
-
-  getOptionCompletion(user) {
-    return `@${user.slug}`;
-  }
-
-});
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/default-autocompleters.js
-/**
- * External dependencies
+ * @param {Object} post Post object.
+ *
+ * @return {Object} Action object.
  */

+function resetPost(post) {
+  return {
+    type: 'RESET_POST',
+    post
+  };
+}
 /**
- * WordPress dependencies
+ * Action for dispatching that a post update request has started.
+ *
+ * @param {Object} options
+ *
+ * @return {Object} An action object
  */

-
+function __experimentalRequestPostUpdateStart() {
+  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  return {
+    type: 'REQUEST_POST_UPDATE_START',
+    options
+  };
+}
 /**
- * Internal dependencies
+ * Action for dispatching that a post update request has finished.
+ *
+ * @param {Object} options
+ *
+ * @return {Object} An action object
  */

-
-
-function setDefaultCompleters() {
-  let completers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  // Provide copies so filters may directly modify them.
-  completers.push(Object(external_lodash_["clone"])(autocompleters_user));
-  return completers;
+function __experimentalRequestPostUpdateFinish() {
+  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  return {
+    type: 'REQUEST_POST_UPDATE_FINISH',
+    options
+  };
 }
-
-Object(external_wp_hooks_["addFilter"])('editor.Autocomplete.completers', 'editor/autocompleters/set-default-completers', setDefaultCompleters);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/index.js
 /**
- * Internal dependencies
+ * Returns an action object used in signalling that a patch of updates for the
+ * latest version of the post have been received.
+ *
+ * @return {Object} Action object.
+ * @deprecated since Gutenberg 9.7.0.
  */

-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autocompleters/index.js
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autosave-monitor/index.js
+function updatePost() {
+  external_wp_deprecated_default()("wp.data.dispatch( 'core/editor' ).updatePost", {
+    since: '5.7',
+    alternative: 'Use the core entities store instead'
+  });
+  return {
+    type: 'DO_NOTHING'
+  };
+}
 /**
- * WordPress dependencies
+ * Returns an action object used to setup the editor state when first opening
+ * an editor.
+ *
+ * @param {Object} post Post object.
+ *
+ * @return {Object} Action object.
  */

-
-
-
+function setupEditorState(post) {
+  return {
+    type: 'SETUP_EDITOR_STATE',
+    post
+  };
+}
 /**
- * Internal dependencies
+ * Returns an action object used in signalling that attributes of the post have
+ * been edited.
+ *
+ * @param {Object} edits   Post attributes to edit.
+ * @param {Object} options Options for the edit.
+ *
+ * @yield {Object} Action object or control.
  */

-
+function* editPost(edits, options) {
+  const {
+    id,
+    type
+  } = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getCurrentPost');
+  yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'editEntityRecord', 'postType', type, id, edits, options);
+}
 /**
- * AutosaveMonitor invokes `props.autosave()` within at most `interval` seconds after an unsaved change is detected.
- *
- * The logic is straightforward: a check is performed every `props.interval` seconds. If any changes are detected, `props.autosave()` is called.
- * The time between the change and the autosave varies but is no larger than `props.interval` seconds. Refer to the code below for more details, such as
- * the specific way of detecting changes.
+ * Action generator for saving the current post in the editor.
  *
- * There are two caveats:
- * * If `props.isAutosaveable` happens to be false at a time of checking for changes, the check is retried every second.
- * * The timer may be disabled by setting `props.disableIntervalChecks` to `true`. In that mode, any change will immediately trigger `props.autosave()`.
+ * @param {Object} options
  */

-class autosave_monitor_AutosaveMonitor extends external_wp_element_["Component"] {
-  constructor(props) {
-    super(props);
-    this.needsAutosave = !!(props.isDirty && props.isAutosaveable);
-  }
+function* savePost() {
+  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

-  componentDidMount() {
-    if (!this.props.disableIntervalChecks) {
-      this.setAutosaveTimer();
-    }
+  if (!(yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'isEditedPostSaveable'))) {
+    return;
   }

-  componentDidUpdate(prevProps) {
-    if (this.props.disableIntervalChecks) {
-      if (this.props.editsReference !== prevProps.editsReference) {
-        this.props.autosave();
-      }
-
-      return;
-    }
-
-    if (this.props.interval !== prevProps.interval) {
-      clearTimeout(this.timerId);
-      this.setAutosaveTimer();
-    }
-
-    if (!this.props.isDirty) {
-      this.needsAutosave = false;
-      return;
-    }
-
-    if (this.props.isAutosaving && !prevProps.isAutosaving) {
-      this.needsAutosave = false;
-      return;
-    }
+  let edits = {
+    content: yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getEditedPostContent')
+  };

-    if (this.props.editsReference !== prevProps.editsReference) {
-      this.needsAutosave = true;
-    }
+  if (!options.isAutosave) {
+    yield external_wp_data_namespaceObject.controls.dispatch(STORE_NAME, 'editPost', edits, {
+      undoIgnore: true
+    });
   }

-  componentWillUnmount() {
-    clearTimeout(this.timerId);
-  }
+  yield __experimentalRequestPostUpdateStart(options);
+  const previousRecord = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getCurrentPost');
+  edits = {
+    id: previousRecord.id,
+    ...(yield external_wp_data_namespaceObject.controls.select(external_wp_coreData_namespaceObject.store, 'getEntityRecordNonTransientEdits', 'postType', previousRecord.type, previousRecord.id)),
+    ...edits
+  };
+  yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'saveEntityRecord', 'postType', previousRecord.type, edits, options);
+  yield __experimentalRequestPostUpdateFinish(options);
+  const error = yield external_wp_data_namespaceObject.controls.select(external_wp_coreData_namespaceObject.store, 'getLastEntitySaveError', 'postType', previousRecord.type, previousRecord.id);

-  setAutosaveTimer() {
-    let timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props.interval * 1000;
-    this.timerId = setTimeout(() => {
-      this.autosaveTimerHandler();
-    }, timeout);
-  }
+  if (error) {
+    const args = getNotificationArgumentsForSaveFail({
+      post: previousRecord,
+      edits,
+      error
+    });

-  autosaveTimerHandler() {
-    if (!this.props.isAutosaveable) {
-      this.setAutosaveTimer(1000);
-      return;
+    if (args.length) {
+      yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createErrorNotice', ...args);
     }
+  } else {
+    const updatedRecord = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getCurrentPost');
+    const args = getNotificationArgumentsForSaveSuccess({
+      previousPost: previousRecord,
+      post: updatedRecord,
+      postType: yield external_wp_data_namespaceObject.controls.resolveSelect(external_wp_coreData_namespaceObject.store, 'getPostType', updatedRecord.type),
+      options
+    });

-    if (this.needsAutosave) {
-      this.needsAutosave = false;
-      this.props.autosave();
-    }
+    if (args.length) {
+      yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createSuccessNotice', ...args);
+    } // Make sure that any edits after saving create an undo level and are
+    // considered for change detection.

-    this.setAutosaveTimer();
-  }

-  render() {
-    return null;
+    if (!options.isAutosave) {
+      yield external_wp_data_namespaceObject.controls.dispatch(external_wp_blockEditor_namespaceObject.store, '__unstableMarkLastChangeAsPersistent');
+    }
   }
-
 }
-/* harmony default export */ var autosave_monitor = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, ownProps) => {
-  const {
-    getReferenceByDistinctEdits
-  } = select(external_wp_coreData_["store"]);
-  const {
-    isEditedPostDirty,
-    isEditedPostAutosaveable,
-    isAutosavingPost,
-    getEditorSettings
-  } = select(store);
-  const {
-    interval = getEditorSettings().autosaveInterval
-  } = ownProps;
-  return {
-    editsReference: getReferenceByDistinctEdits(),
-    isDirty: isEditedPostDirty(),
-    isAutosaveable: isEditedPostAutosaveable(),
-    isAutosaving: isAutosavingPost(),
-    interval
-  };
-}), Object(external_wp_data_["withDispatch"])((dispatch, ownProps) => ({
-  autosave() {
-    const {
-      autosave = dispatch(store).autosave
-    } = ownProps;
-    autosave();
-  }
-
-}))])(autosave_monitor_AutosaveMonitor));
-
-// EXTERNAL MODULE: external ["wp","richText"]
-var external_wp_richText_ = __webpack_require__("qRz9");
-
-// EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
-var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+/**
+ * Action generator for handling refreshing the current post.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/document-outline/item.js
+function* refreshPost() {
+  const post = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getCurrentPost');
+  const postTypeSlug = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getCurrentPostType');
+  const postType = yield external_wp_data_namespaceObject.controls.resolveSelect(external_wp_coreData_namespaceObject.store, 'getPostType', postTypeSlug);
+  const newPost = yield (0,external_wp_dataControls_namespaceObject.apiFetch)({
+    // Timestamp arg allows caller to bypass browser caching, which is
+    // expected for this specific function.
+    path: `/wp/v2/${postType.rest_base}/${post.id}` + `?context=edit&_timestamp=${Date.now()}`
+  });
+  yield external_wp_data_namespaceObject.controls.dispatch(STORE_NAME, 'resetPost', newPost);
+}
+/**
+ * Action generator for trashing the current post in the editor.
+ */

+function* trashPost() {
+  const postTypeSlug = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getCurrentPostType');
+  const postType = yield external_wp_data_namespaceObject.controls.resolveSelect(external_wp_coreData_namespaceObject.store, 'getPostType', postTypeSlug);
+  yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'removeNotice', TRASH_POST_NOTICE_ID);

+  try {
+    const post = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getCurrentPost');
+    yield (0,external_wp_dataControls_namespaceObject.apiFetch)({
+      path: `/wp/v2/${postType.rest_base}/${post.id}`,
+      method: 'DELETE'
+    });
+    yield external_wp_data_namespaceObject.controls.dispatch(STORE_NAME, 'savePost');
+  } catch (error) {
+    yield external_wp_data_namespaceObject.controls.dispatch(external_wp_notices_namespaceObject.store, 'createErrorNotice', ...getNotificationArgumentsForTrashFail({
+      error
+    }));
+  }
+}
 /**
- * External dependencies
+ * Action generator used in signalling that the post should autosave.  This
+ * includes server-side autosaving (default) and client-side (a.k.a. local)
+ * autosaving (e.g. on the Web, the post might be committed to Session
+ * Storage).
+ *
+ * @param {Object?} options Extra flags to identify the autosave.
  */

-
-const TableOfContentsItem = _ref => {
+function* autosave() {
   let {
-    children,
-    isValid,
-    level,
-    href,
-    onSelect
-  } = _ref;
-  return Object(external_wp_element_["createElement"])("li", {
-    className: classnames_default()('document-outline__item', `is-${level.toLowerCase()}`, {
-      'is-invalid': !isValid
-    })
-  }, Object(external_wp_element_["createElement"])("a", {
-    href: href,
-    className: "document-outline__button",
-    onClick: onSelect
-  }, Object(external_wp_element_["createElement"])("span", {
-    className: "document-outline__emdash",
-    "aria-hidden": "true"
-  }), Object(external_wp_element_["createElement"])("strong", {
-    className: "document-outline__level"
-  }, level), Object(external_wp_element_["createElement"])("span", {
-    className: "document-outline__item-content"
-  }, children)));
-};
-
-/* harmony default export */ var document_outline_item = (TableOfContentsItem);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/document-outline/index.js
-
+    local = false,
+    ...options
+  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

+  if (local) {
+    const post = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getCurrentPost');
+    const isPostNew = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'isEditedPostNew');
+    const title = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getEditedPostAttribute', 'title');
+    const content = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getEditedPostAttribute', 'content');
+    const excerpt = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getEditedPostAttribute', 'excerpt');
+    yield {
+      type: 'LOCAL_AUTOSAVE_SET',
+      postId: post.id,
+      isPostNew,
+      title,
+      content,
+      excerpt
+    };
+  } else {
+    yield external_wp_data_namespaceObject.controls.dispatch(STORE_NAME, 'savePost', {
+      isAutosave: true,
+      ...options
+    });
+  }
+}
 /**
- * External dependencies
+ * Returns an action object used in signalling that undo history should
+ * restore last popped state.
+ *
+ * @yield {Object} Action object.
  */

+function* redo() {
+  yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'redo');
+}
 /**
- * WordPress dependencies
+ * Returns an action object used in signalling that undo history should pop.
+ *
+ * @yield {Object} Action object.
  */

-
-
-
-
-
-
+function* undo() {
+  yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, 'undo');
+}
 /**
- * Internal dependencies
+ * Returns an action object used in signalling that undo history record should
+ * be created.
+ *
+ * @return {Object} Action object.
  */

+function createUndoLevel() {
+  return {
+    type: 'CREATE_UNDO_LEVEL'
+  };
+}
+/**
+ * Returns an action object used to lock the editor.
+ *
+ * @param {Object} lock Details about the post lock status, user, and nonce.
+ *
+ * @return {Object} Action object.
+ */

+function updatePostLock(lock) {
+  return {
+    type: 'UPDATE_POST_LOCK',
+    lock
+  };
+}
+/**
+ * Returns an action object used in signalling that the user has enabled the
+ * publish sidebar.
+ *
+ * @return {Object} Action object
+ */

+function enablePublishSidebar() {
+  return {
+    type: 'ENABLE_PUBLISH_SIDEBAR'
+  };
+}
 /**
- * Module constants
+ * Returns an action object used in signalling that the user has disabled the
+ * publish sidebar.
+ *
+ * @return {Object} Action object
  */

-const emptyHeadingContent = Object(external_wp_element_["createElement"])("em", null, Object(external_wp_i18n_["__"])('(Empty heading)'));
-const incorrectLevelContent = [Object(external_wp_element_["createElement"])("br", {
-  key: "incorrect-break"
-}), Object(external_wp_element_["createElement"])("em", {
-  key: "incorrect-message"
-}, Object(external_wp_i18n_["__"])('(Incorrect heading level)'))];
-const singleH1Headings = [Object(external_wp_element_["createElement"])("br", {
-  key: "incorrect-break-h1"
-}), Object(external_wp_element_["createElement"])("em", {
-  key: "incorrect-message-h1"
-}, Object(external_wp_i18n_["__"])('(Your theme may already use a H1 for the post title)'))];
-const multipleH1Headings = [Object(external_wp_element_["createElement"])("br", {
-  key: "incorrect-break-multiple-h1"
-}), Object(external_wp_element_["createElement"])("em", {
-  key: "incorrect-message-multiple-h1"
-}, Object(external_wp_i18n_["__"])('(Multiple H1 headings are not recommended)'))];
+function disablePublishSidebar() {
+  return {
+    type: 'DISABLE_PUBLISH_SIDEBAR'
+  };
+}
 /**
- * Returns an array of heading blocks enhanced with the following properties:
- * level   - An integer with the heading level.
- * isEmpty - Flag indicating if the heading has no content.
+ * Returns an action object used to signal that post saving is locked.
  *
- * @param {?Array} blocks An array of blocks.
+ * @param {string} lockName The lock name.
  *
- * @return {Array} An array of heading blocks enhanced with the properties described above.
+ * @example
+ * ```
+ * const { subscribe } = wp.data;
+ *
+ * const initialPostStatus = wp.data.select( 'core/editor' ).getEditedPostAttribute( 'status' );
+ *
+ * // Only allow publishing posts that are set to a future date.
+ * if ( 'publish' !== initialPostStatus ) {
+ *
+ * 	// Track locking.
+ * 	let locked = false;
+ *
+ * 	// Watch for the publish event.
+ * 	let unssubscribe = subscribe( () => {
+ * 		const currentPostStatus = wp.data.select( 'core/editor' ).getEditedPostAttribute( 'status' );
+ * 		if ( 'publish' !== currentPostStatus ) {
+ *
+ * 			// Compare the post date to the current date, lock the post if the date isn't in the future.
+ * 			const postDate = new Date( wp.data.select( 'core/editor' ).getEditedPostAttribute( 'date' ) );
+ * 			const currentDate = new Date();
+ * 			if ( postDate.getTime() <= currentDate.getTime() ) {
+ * 				if ( ! locked ) {
+ * 					locked = true;
+ * 					wp.data.dispatch( 'core/editor' ).lockPostSaving( 'futurelock' );
+ * 				}
+ * 			} else {
+ * 				if ( locked ) {
+ * 					locked = false;
+ * 					wp.data.dispatch( 'core/editor' ).unlockPostSaving( 'futurelock' );
+ * 				}
+ * 			}
+ * 		}
+ * 	} );
+ * }
+ * ```
+ *
+ * @return {Object} Action object
  */

-const computeOutlineHeadings = function () {
-  let blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
-  return Object(external_lodash_["flatMap"])(blocks, function () {
-    let block = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-
-    if (block.name === 'core/heading') {
-      return { ...block,
-        level: block.attributes.level,
-        isEmpty: isEmptyHeading(block)
-      };
-    }
-
-    return computeOutlineHeadings(block.innerBlocks);
-  });
-};
-
-const isEmptyHeading = heading => !heading.attributes.content || heading.attributes.content.length === 0;
-
-const DocumentOutline = _ref => {
-  let {
-    blocks = [],
-    title,
-    onSelect,
-    isTitleSupported,
-    hasOutlineItemsDisabled
-  } = _ref;
-  const headings = computeOutlineHeadings(blocks);
-
-  if (headings.length < 1) {
-    return null;
-  }
-
-  let prevHeadingLevel = 1; // Not great but it's the simplest way to locate the title right now.
+function lockPostSaving(lockName) {
+  return {
+    type: 'LOCK_POST_SAVING',
+    lockName
+  };
+}
+/**
+ * Returns an action object used to signal that post saving is unlocked.
+ *
+ * @param {string} lockName The lock name.
+ *
+ * @example
+ * ```
+ * // Unlock post saving with the lock key `mylock`:
+ * wp.data.dispatch( 'core/editor' ).unlockPostSaving( 'mylock' );
+ * ```
+ *
+ * @return {Object} Action object
+ */

-  const titleNode = document.querySelector('.editor-post-title__input');
-  const hasTitle = isTitleSupported && title && titleNode;
-  const countByLevel = Object(external_lodash_["countBy"])(headings, 'level');
-  const hasMultipleH1 = countByLevel[1] > 1;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "document-outline"
-  }, Object(external_wp_element_["createElement"])("ul", null, hasTitle && Object(external_wp_element_["createElement"])(document_outline_item, {
-    level: Object(external_wp_i18n_["__"])('Title'),
-    isValid: true,
-    onSelect: onSelect,
-    href: `#${titleNode.id}`,
-    isDisabled: hasOutlineItemsDisabled
-  }, title), headings.map((item, index) => {
-    // Headings remain the same, go up by one, or down by any amount.
-    // Otherwise there are missing levels.
-    const isIncorrectLevel = item.level > prevHeadingLevel + 1;
-    const isValid = !item.isEmpty && !isIncorrectLevel && !!item.level && (item.level !== 1 || !hasMultipleH1 && !hasTitle);
-    prevHeadingLevel = item.level;
-    return Object(external_wp_element_["createElement"])(document_outline_item, {
-      key: index,
-      level: `H${item.level}`,
-      isValid: isValid,
-      isDisabled: hasOutlineItemsDisabled,
-      href: `#block-${item.clientId}`,
-      onSelect: onSelect
-    }, item.isEmpty ? emptyHeadingContent : Object(external_wp_richText_["getTextContent"])(Object(external_wp_richText_["create"])({
-      html: item.attributes.content
-    })), isIncorrectLevel && incorrectLevelContent, item.level === 1 && hasMultipleH1 && multipleH1Headings, hasTitle && item.level === 1 && !hasMultipleH1 && singleH1Headings);
-  })));
-};
-/* harmony default export */ var document_outline = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getBlocks
-  } = select(external_wp_blockEditor_["store"]);
-  const {
-    getEditedPostAttribute
-  } = select(store);
-  const {
-    getPostType
-  } = select(external_wp_coreData_["store"]);
-  const postType = getPostType(getEditedPostAttribute('type'));
+function unlockPostSaving(lockName) {
   return {
-    title: getEditedPostAttribute('title'),
-    blocks: getBlocks(),
-    isTitleSupported: Object(external_lodash_["get"])(postType, ['supports', 'title'], false)
+    type: 'UNLOCK_POST_SAVING',
+    lockName
   };
-}))(DocumentOutline));
+}
+/**
+ * Returns an action object used to signal that post autosaving is locked.
+ *
+ * @param {string} lockName The lock name.
+ *
+ * @example
+ * ```
+ * // Lock post autosaving with the lock key `mylock`:
+ * wp.data.dispatch( 'core/editor' ).lockPostAutosaving( 'mylock' );
+ * ```
+ *
+ * @return {Object} Action object
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/document-outline/check.js
+function lockPostAutosaving(lockName) {
+  return {
+    type: 'LOCK_POST_AUTOSAVING',
+    lockName
+  };
+}
 /**
- * External dependencies
+ * Returns an action object used to signal that post autosaving is unlocked.
+ *
+ * @param {string} lockName The lock name.
+ *
+ * @example
+ * ```
+ * // Unlock post saving with the lock key `mylock`:
+ * wp.data.dispatch( 'core/editor' ).unlockPostAutosaving( 'mylock' );
+ * ```
+ *
+ * @return {Object} Action object
  */

+function unlockPostAutosaving(lockName) {
+  return {
+    type: 'UNLOCK_POST_AUTOSAVING',
+    lockName
+  };
+}
 /**
- * WordPress dependencies
+ * Returns an action object used to signal that the blocks have been updated.
+ *
+ * @param {Array}   blocks  Block Array.
+ * @param {?Object} options Optional options.
+ *
+ * @yield {Object} Action object
  */

+function* resetEditorBlocks(blocks) {
+  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+  const {
+    __unstableShouldCreateUndoLevel,
+    selection
+  } = options;
+  const edits = {
+    blocks,
+    selection
+  };

+  if (__unstableShouldCreateUndoLevel !== false) {
+    const {
+      id,
+      type
+    } = yield external_wp_data_namespaceObject.controls.select(STORE_NAME, 'getCurrentPost');
+    const noChange = (yield external_wp_data_namespaceObject.controls.select(external_wp_coreData_namespaceObject.store, 'getEditedEntityRecord', 'postType', type, id)).blocks === edits.blocks;

+    if (noChange) {
+      return yield external_wp_data_namespaceObject.controls.dispatch(external_wp_coreData_namespaceObject.store, '__unstableCreateUndoLevel', 'postType', type, id);
+    } // We create a new function here on every persistent edit
+    // to make sure the edit makes the post dirty and creates
+    // a new undo level.

-function DocumentOutlineCheck(_ref) {
-  let {
-    blocks,
-    children
-  } = _ref;
-  const headings = Object(external_lodash_["filter"])(blocks, block => block.name === 'core/heading');

-  if (headings.length < 1) {
-    return null;
+    edits.content = _ref => {
+      let {
+        blocks: blocksForSerialization = []
+      } = _ref;
+      return (0,external_wp_blocks_namespaceObject.__unstableSerializeAndClean)(blocksForSerialization);
+    };
   }

-  return children;
+  yield* editPost(edits);
 }
+/*
+ * Returns an action object used in signalling that the post editor settings have been updated.
+ *
+ * @param {Object} settings Updated settings
+ *
+ * @return {Object} Action object
+ */

-/* harmony default export */ var check = (Object(external_wp_data_["withSelect"])(select => ({
-  blocks: select(external_wp_blockEditor_["store"]).getBlocks()
-}))(DocumentOutlineCheck));
-
-// EXTERNAL MODULE: external ["wp","keyboardShortcuts"]
-var external_wp_keyboardShortcuts_ = __webpack_require__("hF7m");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/save-shortcut.js
+function updateEditorSettings(settings) {
+  return {
+    type: 'UPDATE_EDITOR_SETTINGS',
+    settings
+  };
+}
 /**
- * WordPress dependencies
+ * Backward compatibility
  */

+const getBlockEditorAction = name => function* () {
+  external_wp_deprecated_default()("`wp.data.dispatch( 'core/editor' )." + name + '`', {
+    since: '5.3',
+    alternative: "`wp.data.dispatch( 'core/block-editor' )." + name + '`'
+  });

+  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+    args[_key] = arguments[_key];
+  }

+  yield external_wp_data_namespaceObject.controls.dispatch(external_wp_blockEditor_namespaceObject.store, name, ...args);
+};
 /**
- * Internal dependencies
+ * @see resetBlocks in core/block-editor store.
  */


+const resetBlocks = getBlockEditorAction('resetBlocks');
+/**
+ * @see receiveBlocks in core/block-editor store.
+ */

-function SaveShortcut(_ref) {
-  let {
-    resetBlocksOnSave
-  } = _ref;
-  const {
-    resetEditorBlocks,
-    savePost
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    isEditedPostDirty,
-    getPostEdits,
-    isPostSavingLocked
-  } = Object(external_wp_data_["useSelect"])(store);
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/editor/save', event => {
-    event.preventDefault();
-    /**
-     * Do not save the post if post saving is locked.
-     */
-
-    if (isPostSavingLocked()) {
-      return;
-    } // TODO: This should be handled in the `savePost` effect in
-    // considering `isSaveable`. See note on `isEditedPostSaveable`
-    // selector about dirtiness and meta-boxes.
-    //
-    // See: `isEditedPostSaveable`
-
-
-    if (!isEditedPostDirty()) {
-      return;
-    } // The text editor requires that editor blocks are updated for a
-    // save to work correctly. Usually this happens when the textarea
-    // for the code editors blurs, but the shortcut can be used without
-    // blurring the textarea.
-
-
-    if (resetBlocksOnSave) {
-      const postEdits = getPostEdits();
-
-      if (postEdits.content && typeof postEdits.content === 'string') {
-        const blocks = Object(external_wp_blocks_["parse"])(postEdits.content);
-        resetEditorBlocks(blocks);
-      }
-    }
-
-    savePost();
-  });
-  return null;
-}
+const receiveBlocks = getBlockEditorAction('receiveBlocks');
+/**
+ * @see updateBlock in core/block-editor store.
+ */

-/* harmony default export */ var save_shortcut = (SaveShortcut);
+const updateBlock = getBlockEditorAction('updateBlock');
+/**
+ * @see updateBlockAttributes in core/block-editor store.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/visual-editor-shortcuts.js
+const updateBlockAttributes = getBlockEditorAction('updateBlockAttributes');
+/**
+ * @see selectBlock in core/block-editor store.
+ */

+const selectBlock = getBlockEditorAction('selectBlock');
+/**
+ * @see startMultiSelect in core/block-editor store.
+ */

+const startMultiSelect = getBlockEditorAction('startMultiSelect');
 /**
- * WordPress dependencies
+ * @see stopMultiSelect in core/block-editor store.
  */

+const stopMultiSelect = getBlockEditorAction('stopMultiSelect');
+/**
+ * @see multiSelect in core/block-editor store.
+ */

+const multiSelect = getBlockEditorAction('multiSelect');
 /**
- * Internal dependencies
+ * @see clearSelectedBlock in core/block-editor store.
  */

+const clearSelectedBlock = getBlockEditorAction('clearSelectedBlock');
+/**
+ * @see toggleSelection in core/block-editor store.
+ */

+const toggleSelection = getBlockEditorAction('toggleSelection');
+/**
+ * @see replaceBlocks in core/block-editor store.
+ */

+const replaceBlocks = getBlockEditorAction('replaceBlocks');
+/**
+ * @see replaceBlock in core/block-editor store.
+ */

-function VisualEditorGlobalKeyboardShortcuts() {
-  const {
-    redo,
-    undo
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/editor/undo', event => {
-    undo();
-    event.preventDefault();
-  });
-  Object(external_wp_keyboardShortcuts_["useShortcut"])('core/editor/redo', event => {
-    redo();
-    event.preventDefault();
-  });
-  return Object(external_wp_element_["createElement"])(save_shortcut, null);
-}
+const replaceBlock = getBlockEditorAction('replaceBlock');
+/**
+ * @see moveBlocksDown in core/block-editor store.
+ */

-/* harmony default export */ var visual_editor_shortcuts = (VisualEditorGlobalKeyboardShortcuts);
+const moveBlocksDown = getBlockEditorAction('moveBlocksDown');
+/**
+ * @see moveBlocksUp in core/block-editor store.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/text-editor-shortcuts.js
+const moveBlocksUp = getBlockEditorAction('moveBlocksUp');
+/**
+ * @see moveBlockToPosition in core/block-editor store.
+ */

+const moveBlockToPosition = getBlockEditorAction('moveBlockToPosition');
+/**
+ * @see insertBlock in core/block-editor store.
+ */

+const insertBlock = getBlockEditorAction('insertBlock');
 /**
- * Internal dependencies
+ * @see insertBlocks in core/block-editor store.
  */

-function TextEditorGlobalKeyboardShortcuts() {
-  return Object(external_wp_element_["createElement"])(save_shortcut, {
-    resetBlocksOnSave: true
-  });
-}
+const insertBlocks = getBlockEditorAction('insertBlocks');
+/**
+ * @see showInsertionPoint in core/block-editor store.
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/register-shortcuts.js
+const showInsertionPoint = getBlockEditorAction('showInsertionPoint');
+/**
+ * @see hideInsertionPoint in core/block-editor store.
+ */

+const hideInsertionPoint = getBlockEditorAction('hideInsertionPoint');
+/**
+ * @see setTemplateValidity in core/block-editor store.
+ */

+const setTemplateValidity = getBlockEditorAction('setTemplateValidity');
 /**
- * WordPress dependencies
+ * @see synchronizeTemplate in core/block-editor store.
  */

+const synchronizeTemplate = getBlockEditorAction('synchronizeTemplate');
+/**
+ * @see mergeBlocks in core/block-editor store.
+ */

+const mergeBlocks = getBlockEditorAction('mergeBlocks');
+/**
+ * @see removeBlocks in core/block-editor store.
+ */

+const removeBlocks = getBlockEditorAction('removeBlocks');
+/**
+ * @see removeBlock in core/block-editor store.
+ */

+const removeBlock = getBlockEditorAction('removeBlock');
+/**
+ * @see toggleBlockMode in core/block-editor store.
+ */

+const toggleBlockMode = getBlockEditorAction('toggleBlockMode');
+/**
+ * @see startTyping in core/block-editor store.
+ */

-function EditorKeyboardShortcutsRegister() {
-  // Registering the shortcuts
-  const {
-    registerShortcut
-  } = Object(external_wp_data_["useDispatch"])(external_wp_keyboardShortcuts_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
-    registerShortcut({
-      name: 'core/editor/save',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Save your changes.'),
-      keyCombination: {
-        modifier: 'primary',
-        character: 's'
-      }
-    });
-    registerShortcut({
-      name: 'core/editor/undo',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Undo your last changes.'),
-      keyCombination: {
-        modifier: 'primary',
-        character: 'z'
-      }
-    });
-    registerShortcut({
-      name: 'core/editor/redo',
-      category: 'global',
-      description: Object(external_wp_i18n_["__"])('Redo your last undo.'),
-      keyCombination: {
-        modifier: 'primaryShift',
-        character: 'z'
-      }
-    });
-  }, [registerShortcut]);
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockEditorKeyboardShortcuts"].Register, null);
-}
+const startTyping = getBlockEditorAction('startTyping');
+/**
+ * @see stopTyping in core/block-editor store.
+ */

-/* harmony default export */ var register_shortcuts = (EditorKeyboardShortcutsRegister);
+const stopTyping = getBlockEditorAction('stopTyping');
+/**
+ * @see enterFormattedText in core/block-editor store.
+ */

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+const enterFormattedText = getBlockEditorAction('enterFormattedText');
+/**
+ * @see exitFormattedText in core/block-editor store.
+ */

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
+const exitFormattedText = getBlockEditorAction('exitFormattedText');
+/**
+ * @see insertDefaultBlock in core/block-editor store.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/redo.js
-var library_redo = __webpack_require__("K2cm");
+const insertDefaultBlock = getBlockEditorAction('insertDefaultBlock');
+/**
+ * @see updateBlockListSettings in core/block-editor store.
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/undo.js
-var library_undo = __webpack_require__("Ntru");
+const updateBlockListSettings = getBlockEditorAction('updateBlockListSettings');

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/editor-history/redo.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/controls.js
+/**
+ * Function returning a sessionStorage key to set or retrieve a given post's
+ * automatic session backup.
+ *
+ * Keys are crucially prefixed with 'wp-autosave-' so that wp-login.php's
+ * `loggedout` handler can clear sessionStorage of any user-private content.
+ *
+ * @see https://github.com/WordPress/wordpress-develop/blob/6dad32d2aed47e6c0cf2aee8410645f6d7aba6bd/src/wp-login.php#L103
+ *
+ * @param {string}  postId    Post ID.
+ * @param {boolean} isPostNew Whether post new.
+ *
+ * @return {string} sessionStorage key
+ */
+function postKey(postId, isPostNew) {
+  return `wp-autosave-block-editor-post-${isPostNew ? 'auto-draft' : postId}`;
+}

+function localAutosaveGet(postId, isPostNew) {
+  return window.sessionStorage.getItem(postKey(postId, isPostNew));
+}
+function localAutosaveSet(postId, isPostNew, title, content, excerpt) {
+  window.sessionStorage.setItem(postKey(postId, isPostNew), JSON.stringify({
+    post_title: title,
+    content,
+    excerpt
+  }));
+}
+function localAutosaveClear(postId, isPostNew) {
+  window.sessionStorage.removeItem(postKey(postId, isPostNew));
+}
+const controls = {
+  LOCAL_AUTOSAVE_SET(_ref) {
+    let {
+      postId,
+      isPostNew,
+      title,
+      content,
+      excerpt
+    } = _ref;
+    localAutosaveSet(postId, isPostNew, title, content, excerpt);
+  }

+};
+/* harmony default export */ var store_controls = (controls);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/store/index.js
 /**
  * WordPress dependencies
  */


-
-
-
-
 /**
  * Internal dependencies
  */



-function EditorHistoryRedo(props, ref) {
-  const hasRedo = Object(external_wp_data_["useSelect"])(select => select(store).hasEditorRedo(), []);
-  const {
-    redo
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, props, {
-    ref: ref,
-    icon: !Object(external_wp_i18n_["isRTL"])() ? library_redo["a" /* default */] : library_undo["a" /* default */]
-    /* translators: button label text should, if possible, be under 16 characters. */
-    ,
-    label: Object(external_wp_i18n_["__"])('Redo'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primaryShift('z') // If there are no redo levels we don't want to actually disable this
-    // button, because it will remove focus for keyboard users.
-    // See: https://github.com/WordPress/gutenberg/issues/3486
-    ,
-    "aria-disabled": !hasRedo,
-    onClick: hasRedo ? redo : undefined,
-    className: "editor-history__redo"
-  }));
-}

-/* harmony default export */ var editor_history_redo = (Object(external_wp_element_["forwardRef"])(EditorHistoryRedo));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/editor-history/undo.js


+/**
+ * Post editor data store configuration.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#registerStore
+ *
+ * @type {Object}
+ */

+const storeConfig = {
+  reducer: reducer,
+  selectors: selectors_namespaceObject,
+  actions: actions_namespaceObject,
+  controls: { ...external_wp_dataControls_namespaceObject.controls,
+    ...store_controls
+  }
+};
 /**
- * WordPress dependencies
+ * Store definition for the editor namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
  */

+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, { ...storeConfig,
+  persist: ['preferences']
+}); // Once we build a more generic persistence plugin that works across types of stores
+// we'd be able to replace this with a register call.

+(0,external_wp_data_namespaceObject.registerStore)(STORE_NAME, { ...storeConfig,
+  persist: ['preferences']
+});

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/custom-sources-backwards-compatibility.js



 /**
- * Internal dependencies
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
  */



-function EditorHistoryUndo(props, ref) {
-  const hasUndo = Object(external_wp_data_["useSelect"])(select => select(store).hasEditorUndo(), []);
-  const {
-    undo
-  } = Object(external_wp_data_["useDispatch"])(store);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, props, {
-    ref: ref,
-    icon: !Object(external_wp_i18n_["isRTL"])() ? library_undo["a" /* default */] : library_redo["a" /* default */]
-    /* translators: button label text should, if possible, be under 16 characters. */
-    ,
-    label: Object(external_wp_i18n_["__"])('Undo'),
-    shortcut: external_wp_keycodes_["displayShortcut"].primary('z') // If there are no undo levels we don't want to actually disable this
-    // button, because it will remove focus for keyboard users.
-    // See: https://github.com/WordPress/gutenberg/issues/3486
-    ,
-    "aria-disabled": !hasUndo,
-    onClick: hasUndo ? undo : undefined,
-    className: "editor-history__undo"
-  }));
-}

-/* harmony default export */ var editor_history_undo = (Object(external_wp_element_["forwardRef"])(EditorHistoryUndo));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/template-validation-notice/index.js


 /**
- * WordPress dependencies
+ * Internal dependencies
  */


+/** @typedef {import('@wordpress/compose').WPHigherOrderComponent} WPHigherOrderComponent */

+/** @typedef {import('@wordpress/blocks').WPBlockSettings} WPBlockSettings */

+/**
+ * Object whose keys are the names of block attributes, where each value
+ * represents the meta key to which the block attribute is intended to save.
+ *
+ * @see https://developer.wordpress.org/reference/functions/register_meta/
+ *
+ * @typedef {Object<string,string>} WPMetaAttributeMapping
+ */

+/**
+ * Given a mapping of attribute names (meta source attributes) to their
+ * associated meta key, returns a higher order component that overrides its
+ * `attributes` and `setAttributes` props to sync any changes with the edited
+ * post's meta keys.
+ *
+ * @param {WPMetaAttributeMapping} metaAttributes Meta attribute mapping.
+ *
+ * @return {WPHigherOrderComponent} Higher-order component.
+ */

-function TemplateValidationNotice(_ref) {
+const createWithMetaAttributeSource = metaAttributes => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(BlockEdit => _ref => {
   let {
-    isValid,
+    attributes,
+    setAttributes,
     ...props
   } = _ref;
+  const postType = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getCurrentPostType(), []);
+  const [meta, setMeta] = (0,external_wp_coreData_namespaceObject.useEntityProp)('postType', postType, 'meta');
+  const mergedAttributes = (0,external_wp_element_namespaceObject.useMemo)(() => ({ ...attributes,
+    ...(0,external_lodash_namespaceObject.mapValues)(metaAttributes, metaKey => meta[metaKey])
+  }), [attributes, meta]);
+  return (0,external_wp_element_namespaceObject.createElement)(BlockEdit, _extends({
+    attributes: mergedAttributes,
+    setAttributes: nextAttributes => {
+      const nextMeta = (0,external_lodash_namespaceObject.mapKeys)( // Filter to intersection of keys between the updated
+      // attributes and those with an associated meta key.
+      (0,external_lodash_namespaceObject.pickBy)(nextAttributes, (value, key) => metaAttributes[key]), // Rename the keys to the expected meta key name.
+      (value, attributeKey) => metaAttributes[attributeKey]);

-  if (isValid) {
-    return null;
-  }
+      if (!(0,external_lodash_namespaceObject.isEmpty)(nextMeta)) {
+        setMeta(nextMeta);
+      }

-  const confirmSynchronization = () => {
-    if ( // eslint-disable-next-line no-alert
-    window.confirm(Object(external_wp_i18n_["__"])('Resetting the template may result in loss of content, do you want to continue?'))) {
-      props.synchronizeTemplate();
+      setAttributes(nextAttributes);
     }
-  };
+  }, props));
+}, 'withMetaAttributeSource');
+/**
+ * Filters a registered block's settings to enhance a block's `edit` component
+ * to upgrade meta-sourced attributes to use the post's meta entity property.
+ *
+ * @param {WPBlockSettings} settings Registered block settings.
+ *
+ * @return {WPBlockSettings} Filtered block settings.
+ */

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
-    className: "editor-template-validation-notice",
-    isDismissible: false,
-    status: "warning",
-    actions: [{
-      label: Object(external_wp_i18n_["__"])('Keep it as is'),
-      onClick: props.resetTemplateValidity
-    }, {
-      label: Object(external_wp_i18n_["__"])('Reset the template'),
-      onClick: confirmSynchronization
-    }]
-  }, Object(external_wp_i18n_["__"])('The content of your post doesn’t match the template assigned to your post type.'));
+
+function shimAttributeSource(settings) {
+  /** @type {WPMetaAttributeMapping} */
+  const metaAttributes = (0,external_lodash_namespaceObject.mapValues)((0,external_lodash_namespaceObject.pickBy)(settings.attributes, {
+    source: 'meta'
+  }), 'meta');
+
+  if (!(0,external_lodash_namespaceObject.isEmpty)(metaAttributes)) {
+    settings.edit = createWithMetaAttributeSource(metaAttributes)(settings.edit);
+  }
+
+  return settings;
 }

-/* harmony default export */ var template_validation_notice = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => ({
-  isValid: select(external_wp_blockEditor_["store"]).isValidTemplate()
-})), Object(external_wp_data_["withDispatch"])(dispatch => {
-  const {
-    setTemplateValidity,
-    synchronizeTemplate
-  } = dispatch(external_wp_blockEditor_["store"]);
-  return {
-    resetTemplateValidity: () => setTemplateValidity(true),
-    synchronizeTemplate
-  };
-})])(TemplateValidationNotice));
+(0,external_wp_hooks_namespaceObject.addFilter)('blocks.registerBlockType', 'core/editor/custom-sources-backwards-compatibility/shim-attribute-source', shimAttributeSource); // The above filter will only capture blocks registered after the filter was
+// added. There may already be blocks registered by this point, and those must
+// be updated to apply the shim.
+//
+// The following implementation achieves this, albeit with a couple caveats:
+// - Only blocks registered on the global store will be modified.
+// - The block settings are directly mutated, since there is currently no
+//   mechanism to update an existing block registration. This is the reason for
+//   `getBlockType` separate from `getBlockTypes`, since the latter returns a
+//   _copy_ of the block registration (i.e. the mutation would not affect the
+//   actual registered block settings).
+//
+// `getBlockTypes` or `getBlockType` implementation could change in the future
+// in regards to creating settings clones, but the corresponding end-to-end
+// tests for meta blocks should cover against any potential regressions.
+//
+// In the future, we could support updating block settings, at which point this
+// implementation could use that mechanism instead.

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/editor-notices/index.js
+(0,external_wp_data_namespaceObject.select)(external_wp_blocks_namespaceObject.store).getBlockTypes().map(_ref2 => {
+  let {
+    name
+  } = _ref2;
+  return (0,external_wp_data_namespaceObject.select)(external_wp_blocks_namespaceObject.store).getBlockType(name);
+}).forEach(shimAttributeSource);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autocompleters/user.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -5025,44 +4578,58 @@ function TemplateValidationNotice(_ref) {



+/** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */

-
+function getUserLabel(user) {
+  const avatar = user.avatar_urls && user.avatar_urls[24] ? (0,external_wp_element_namespaceObject.createElement)("img", {
+    className: "editor-autocompleters__user-avatar",
+    alt: "",
+    src: user.avatar_urls[24]
+  }) : (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "editor-autocompleters__no-avatar"
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, avatar, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "editor-autocompleters__user-name"
+  }, user.name), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "editor-autocompleters__user-slug"
+  }, user.slug));
+}
 /**
- * Internal dependencies
+ * A user mentions completer.
+ *
+ * @type {WPCompleter}
  */

+/* harmony default export */ var user = ({
+  name: 'users',
+  className: 'editor-autocompleters__user',
+  triggerPrefix: '@',

-function EditorNotices(_ref) {
-  let {
-    notices,
-    onRemove
-  } = _ref;
-  const dismissibleNotices = Object(external_lodash_["filter"])(notices, {
-    isDismissible: true,
-    type: 'default'
-  });
-  const nonDismissibleNotices = Object(external_lodash_["filter"])(notices, {
-    isDismissible: false,
-    type: 'default'
-  });
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["NoticeList"], {
-    notices: nonDismissibleNotices,
-    className: "components-editor-notices__pinned"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["NoticeList"], {
-    notices: dismissibleNotices,
-    className: "components-editor-notices__dismissible",
-    onRemove: onRemove
-  }, Object(external_wp_element_["createElement"])(template_validation_notice, null)));
-}
-/* harmony default export */ var editor_notices = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => ({
-  notices: select(external_wp_notices_["store"]).getNotices()
-})), Object(external_wp_data_["withDispatch"])(dispatch => ({
-  onRemove: dispatch(external_wp_notices_["store"]).removeNotice
-}))])(EditorNotices));
+  useItems(filterValue) {
+    const users = (0,external_wp_data_namespaceObject.useSelect)(select => {
+      const {
+        getUsers
+      } = select(external_wp_coreData_namespaceObject.store);
+      return getUsers({
+        context: 'view',
+        search: encodeURIComponent(filterValue)
+      });
+    }, [filterValue]);
+    const options = (0,external_wp_element_namespaceObject.useMemo)(() => users ? users.map(user => ({
+      key: `user-${user.slug}`,
+      value: user,
+      label: getUserLabel(user)
+    })) : [], [users]);
+    return [options];
+  },

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/editor-snackbars/index.js
+  getOptionCompletion(user) {
+    return `@${user.slug}`;
+  }

+});

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/default-autocompleters.js
 /**
  * External dependencies
  */
@@ -5072,32 +4639,32 @@ function EditorNotices(_ref) {
  */


+/**
+ * Internal dependencies
+ */


-function EditorSnackbars() {
-  const notices = Object(external_wp_data_["useSelect"])(select => select(external_wp_notices_["store"]).getNotices(), []);
-  const {
-    removeNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const snackbarNotices = Object(external_lodash_["filter"])(notices, {
-    type: 'snackbar'
-  });
-  return Object(external_wp_element_["createElement"])(external_wp_components_["SnackbarList"], {
-    notices: snackbarNotices,
-    className: "components-editor-notices__snackbar",
-    onRemove: removeNotice
-  });
+
+function setDefaultCompleters() {
+  let completers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  // Provide copies so filters may directly modify them.
+  completers.push((0,external_lodash_namespaceObject.clone)(user));
+  return completers;
 }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
-var library_close = __webpack_require__("w95h");
+(0,external_wp_hooks_namespaceObject.addFilter)('editor.Autocomplete.completers', 'editor/autocompleters/set-default-completers', setDefaultCompleters);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/hooks/index.js
+/**
+ * Internal dependencies
+ */
+

-// EXTERNAL MODULE: external ["wp","htmlEntities"]
-var external_wp_htmlEntities_ = __webpack_require__("rmEH");

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/entities-saved-states/entity-record-item.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autocompleters/index.js


+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/autosave-monitor/index.js
 /**
  * WordPress dependencies
  */
@@ -5105,142 +4672,166 @@ var external_wp_htmlEntities_ = __webpack_require__("rmEH");



-
-
-
 /**
  * Internal dependencies
  */


-function EntityRecordItem(_ref) {
-  let {
-    record,
-    checked,
-    onChange,
-    closePanel
-  } = _ref;
-  const {
-    name,
-    kind,
-    title,
-    key
-  } = record;
-  const parentBlockId = Object(external_wp_data_["useSelect"])(select => {
-    var _blocks$;
+/**
+ * AutosaveMonitor invokes `props.autosave()` within at most `interval` seconds after an unsaved change is detected.
+ *
+ * The logic is straightforward: a check is performed every `props.interval` seconds. If any changes are detected, `props.autosave()` is called.
+ * The time between the change and the autosave varies but is no larger than `props.interval` seconds. Refer to the code below for more details, such as
+ * the specific way of detecting changes.
+ *
+ * There are two caveats:
+ * * If `props.isAutosaveable` happens to be false at a time of checking for changes, the check is retried every second.
+ * * The timer may be disabled by setting `props.disableIntervalChecks` to `true`. In that mode, any change will immediately trigger `props.autosave()`.
+ */

-    // Get entity's blocks.
-    const {
-      blocks = []
-    } = select(external_wp_coreData_["store"]).getEditedEntityRecord(kind, name, key); // Get parents of the entity's first block.
+class AutosaveMonitor extends external_wp_element_namespaceObject.Component {
+  constructor(props) {
+    super(props);
+    this.needsAutosave = !!(props.isDirty && props.isAutosaveable);
+  }

-    const parents = select(external_wp_blockEditor_["store"]).getBlockParents((_blocks$ = blocks[0]) === null || _blocks$ === void 0 ? void 0 : _blocks$.clientId); // Return closest parent block's clientId.
+  componentDidMount() {
+    if (!this.props.disableIntervalChecks) {
+      this.setAutosaveTimer();
+    }
+  }

-    return parents[parents.length - 1];
-  }, []); // Handle templates that might use default descriptive titles
+  componentDidUpdate(prevProps) {
+    if (this.props.disableIntervalChecks) {
+      if (this.props.editsReference !== prevProps.editsReference) {
+        this.props.autosave();
+      }

-  const entityRecordTitle = Object(external_wp_data_["useSelect"])(select => {
-    if ('postType' !== kind || 'wp_template' !== name) {
-      return title;
+      return;
     }

-    const template = select(external_wp_coreData_["store"]).getEditedEntityRecord(kind, name, key);
-    return select(store).__experimentalGetTemplateInfo(template).title;
-  }, [name, kind, title, key]);
-  const isSelected = Object(external_wp_data_["useSelect"])(select => {
-    const selectedBlockId = select(external_wp_blockEditor_["store"]).getSelectedBlockClientId();
-    return selectedBlockId === parentBlockId;
-  }, [parentBlockId]);
-  const isSelectedText = isSelected ? Object(external_wp_i18n_["__"])('Selected') : Object(external_wp_i18n_["__"])('Select');
-  const {
-    selectBlock
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  const selectParentBlock = Object(external_wp_element_["useCallback"])(() => selectBlock(parentBlockId), [parentBlockId]);
-  const selectAndDismiss = Object(external_wp_element_["useCallback"])(() => {
-    selectBlock(parentBlockId);
-    closePanel();
-  }, [parentBlockId]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, Object(external_wp_element_["createElement"])(external_wp_components_["CheckboxControl"], {
-    label: Object(external_wp_element_["createElement"])("strong", null, Object(external_wp_htmlEntities_["decodeEntities"])(entityRecordTitle) || Object(external_wp_i18n_["__"])('Untitled')),
-    checked: checked,
-    onChange: onChange
-  }), parentBlockId ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    onClick: selectParentBlock,
-    className: "entities-saved-states__find-entity",
-    disabled: isSelected
-  }, isSelectedText), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    onClick: selectAndDismiss,
-    className: "entities-saved-states__find-entity-small",
-    disabled: isSelected
-  }, isSelectedText)) : null);
-}
+    if (this.props.interval !== prevProps.interval) {
+      clearTimeout(this.timerId);
+      this.setAutosaveTimer();
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/entities-saved-states/entity-type-list.js
+    if (!this.props.isDirty) {
+      this.needsAutosave = false;
+      return;
+    }

+    if (this.props.isAutosaving && !prevProps.isAutosaving) {
+      this.needsAutosave = false;
+      return;
+    }

-/**
- * External dependencies
- */
+    if (this.props.editsReference !== prevProps.editsReference) {
+      this.needsAutosave = true;
+    }
+  }

-/**
- * WordPress dependencies
- */
+  componentWillUnmount() {
+    clearTimeout(this.timerId);
+  }
+
+  setAutosaveTimer() {
+    let timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props.interval * 1000;
+    this.timerId = setTimeout(() => {
+      this.autosaveTimerHandler();
+    }, timeout);
+  }

+  autosaveTimerHandler() {
+    if (!this.props.isAutosaveable) {
+      this.setAutosaveTimer(1000);
+      return;
+    }

+    if (this.needsAutosave) {
+      this.needsAutosave = false;
+      this.props.autosave();
+    }

+    this.setAutosaveTimer();
+  }

+  render() {
+    return null;
+  }

-/**
- * Internal dependencies
- */
+}
+/* harmony default export */ var autosave_monitor = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)((select, ownProps) => {
+  const {
+    getReferenceByDistinctEdits
+  } = select(external_wp_coreData_namespaceObject.store);
+  const {
+    isEditedPostDirty,
+    isEditedPostAutosaveable,
+    isAutosavingPost,
+    getEditorSettings
+  } = select(store);
+  const {
+    interval = getEditorSettings().autosaveInterval
+  } = ownProps;
+  return {
+    editsReference: getReferenceByDistinctEdits(),
+    isDirty: isEditedPostDirty(),
+    isAutosaveable: isEditedPostAutosaveable(),
+    isAutosaving: isAutosavingPost(),
+    interval
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, ownProps) => ({
+  autosave() {
+    const {
+      autosave = dispatch(store).autosave
+    } = ownProps;
+    autosave();
+  }

+}))])(AutosaveMonitor));

+;// CONCATENATED MODULE: external ["wp","richText"]
+var external_wp_richText_namespaceObject = window["wp"]["richText"];
+// EXTERNAL MODULE: ./node_modules/classnames/index.js
+var classnames = __webpack_require__(4403);
+var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/document-outline/item.js

-function getEntityDescription(entity, length) {
-  switch (entity) {
-    case 'site':
-      return Object(external_wp_i18n_["_n"])('This change will affect your whole site.', 'These changes will affect your whole site.', length);

-    case 'wp_template':
-      return Object(external_wp_i18n_["_n"])('This change will affect pages and posts that use this template.', 'These changes will affect pages and posts that use these templates.', length);
+/**
+ * External dependencies
+ */

-    case 'page':
-    case 'post':
-      return Object(external_wp_i18n_["__"])('The following content has been modified.');
-  }
-}

-function EntityTypeList(_ref) {
+const TableOfContentsItem = _ref => {
   let {
-    list,
-    unselectedEntities,
-    setUnselectedEntities,
-    closePanel
+    children,
+    isValid,
+    level,
+    href,
+    onSelect
   } = _ref;
-  const firstRecord = list[0];
-  const entity = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).getEntity(firstRecord.kind, firstRecord.name), [firstRecord.kind, firstRecord.name]);
-  const {
-    name
-  } = firstRecord;
-  const entityLabel = name === 'wp_template_part' ? Object(external_wp_i18n_["_n"])('Template Part', 'Template Parts', list.length) : entity.label; // Set description based on type of entity.
-
-  const description = getEntityDescription(name, list.length);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    title: entityLabel,
-    initialOpen: true
-  }, description && Object(external_wp_element_["createElement"])(external_wp_components_["PanelRow"], null, description), list.map(record => {
-    return Object(external_wp_element_["createElement"])(EntityRecordItem, {
-      key: record.key || record.property,
-      record: record,
-      checked: !Object(external_lodash_["some"])(unselectedEntities, elt => elt.kind === record.kind && elt.name === record.name && elt.key === record.key && elt.property === record.property),
-      onChange: value => setUnselectedEntities(record, value),
-      closePanel: closePanel
-    });
-  }));
-}
+  return (0,external_wp_element_namespaceObject.createElement)("li", {
+    className: classnames_default()('document-outline__item', `is-${level.toLowerCase()}`, {
+      'is-invalid': !isValid
+    })
+  }, (0,external_wp_element_namespaceObject.createElement)("a", {
+    href: href,
+    className: "document-outline__button",
+    onClick: onSelect
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "document-outline__emdash",
+    "aria-hidden": "true"
+  }), (0,external_wp_element_namespaceObject.createElement)("strong", {
+    className: "document-outline__level"
+  }, level), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "document-outline__item-content"
+  }, children)));
+};

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/entities-saved-states/index.js
+/* harmony default export */ var document_outline_item = (TableOfContentsItem);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/document-outline/index.js


 /**
@@ -5257,471 +4848,397 @@ function EntityTypeList(_ref) {



+/**
+ * Internal dependencies
+ */



 /**
- * Internal dependencies
+ * Module constants
+ */
+
+const emptyHeadingContent = (0,external_wp_element_namespaceObject.createElement)("em", null, (0,external_wp_i18n_namespaceObject.__)('(Empty heading)'));
+const incorrectLevelContent = [(0,external_wp_element_namespaceObject.createElement)("br", {
+  key: "incorrect-break"
+}), (0,external_wp_element_namespaceObject.createElement)("em", {
+  key: "incorrect-message"
+}, (0,external_wp_i18n_namespaceObject.__)('(Incorrect heading level)'))];
+const singleH1Headings = [(0,external_wp_element_namespaceObject.createElement)("br", {
+  key: "incorrect-break-h1"
+}), (0,external_wp_element_namespaceObject.createElement)("em", {
+  key: "incorrect-message-h1"
+}, (0,external_wp_i18n_namespaceObject.__)('(Your theme may already use a H1 for the post title)'))];
+const multipleH1Headings = [(0,external_wp_element_namespaceObject.createElement)("br", {
+  key: "incorrect-break-multiple-h1"
+}), (0,external_wp_element_namespaceObject.createElement)("em", {
+  key: "incorrect-message-multiple-h1"
+}, (0,external_wp_i18n_namespaceObject.__)('(Multiple H1 headings are not recommended)'))];
+/**
+ * Returns an array of heading blocks enhanced with the following properties:
+ * level   - An integer with the heading level.
+ * isEmpty - Flag indicating if the heading has no content.
+ *
+ * @param {?Array} blocks An array of blocks.
+ *
+ * @return {Array} An array of heading blocks enhanced with the properties described above.
  */

+const computeOutlineHeadings = function () {
+  let blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
+  return (0,external_lodash_namespaceObject.flatMap)(blocks, function () {
+    let block = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+
+    if (block.name === 'core/heading') {
+      return { ...block,
+        level: block.attributes.level,
+        isEmpty: isEmptyHeading(block)
+      };
+    }

-const TRANSLATED_SITE_PROPERTIES = {
-  title: Object(external_wp_i18n_["__"])('Title'),
-  description: Object(external_wp_i18n_["__"])('Tagline'),
-  site_logo: Object(external_wp_i18n_["__"])('Logo'),
-  site_icon: Object(external_wp_i18n_["__"])('Icon'),
-  show_on_front: Object(external_wp_i18n_["__"])('Show on front'),
-  page_on_front: Object(external_wp_i18n_["__"])('Page on front')
+    return computeOutlineHeadings(block.innerBlocks);
+  });
 };
-const PUBLISH_ON_SAVE_ENTITIES = [{
-  kind: 'postType',
-  name: 'wp_navigation'
-}];
-function EntitiesSavedStates(_ref) {
+
+const isEmptyHeading = heading => !heading.attributes.content || heading.attributes.content.length === 0;
+
+const DocumentOutline = _ref => {
   let {
-    close
+    blocks = [],
+    title,
+    onSelect,
+    isTitleSupported,
+    hasOutlineItemsDisabled
   } = _ref;
-  const saveButtonRef = Object(external_wp_element_["useRef"])();
-  const {
-    dirtyEntityRecords
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const dirtyRecords = select(external_wp_coreData_["store"]).__experimentalGetDirtyEntityRecords(); // Remove site object and decouple into its edited pieces.
-
+  const headings = computeOutlineHeadings(blocks);

-    const dirtyRecordsWithoutSite = dirtyRecords.filter(record => !(record.kind === 'root' && record.name === 'site'));
-    const siteEdits = select(external_wp_coreData_["store"]).getEntityRecordEdits('root', 'site');
-    const siteEditsAsEntities = [];
+  if (headings.length < 1) {
+    return null;
+  }

-    for (const property in siteEdits) {
-      siteEditsAsEntities.push({
-        kind: 'root',
-        name: 'site',
-        title: TRANSLATED_SITE_PROPERTIES[property] || property,
-        property
-      });
-    }
+  let prevHeadingLevel = 1; // Not great but it's the simplest way to locate the title right now.

-    const dirtyRecordsWithSiteItems = [...dirtyRecordsWithoutSite, ...siteEditsAsEntities];
-    return {
-      dirtyEntityRecords: dirtyRecordsWithSiteItems
-    };
-  }, []);
-  const {
-    editEntityRecord,
-    saveEditedEntityRecord,
-    __experimentalSaveSpecifiedEntityEdits: saveSpecifiedEntityEdits
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+  const titleNode = document.querySelector('.editor-post-title__input');
+  const hasTitle = isTitleSupported && title && titleNode;
+  const countByLevel = (0,external_lodash_namespaceObject.countBy)(headings, 'level');
+  const hasMultipleH1 = countByLevel[1] > 1;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "document-outline"
+  }, (0,external_wp_element_namespaceObject.createElement)("ul", null, hasTitle && (0,external_wp_element_namespaceObject.createElement)(document_outline_item, {
+    level: (0,external_wp_i18n_namespaceObject.__)('Title'),
+    isValid: true,
+    onSelect: onSelect,
+    href: `#${titleNode.id}`,
+    isDisabled: hasOutlineItemsDisabled
+  }, title), headings.map((item, index) => {
+    // Headings remain the same, go up by one, or down by any amount.
+    // Otherwise there are missing levels.
+    const isIncorrectLevel = item.level > prevHeadingLevel + 1;
+    const isValid = !item.isEmpty && !isIncorrectLevel && !!item.level && (item.level !== 1 || !hasMultipleH1 && !hasTitle);
+    prevHeadingLevel = item.level;
+    return (0,external_wp_element_namespaceObject.createElement)(document_outline_item, {
+      key: index,
+      level: `H${item.level}`,
+      isValid: isValid,
+      isDisabled: hasOutlineItemsDisabled,
+      href: `#block-${item.clientId}`,
+      onSelect: onSelect
+    }, item.isEmpty ? emptyHeadingContent : (0,external_wp_richText_namespaceObject.getTextContent)((0,external_wp_richText_namespaceObject.create)({
+      html: item.attributes.content
+    })), isIncorrectLevel && incorrectLevelContent, item.level === 1 && hasMultipleH1 && multipleH1Headings, hasTitle && item.level === 1 && !hasMultipleH1 && singleH1Headings);
+  })));
+};
+/* harmony default export */ var document_outline = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
-    createSuccessNotice,
-    createErrorNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
+    getBlocks
+  } = select(external_wp_blockEditor_namespaceObject.store);
   const {
-    __unstableMarkLastChangeAsPersistent
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]); // To group entities by type.
-
-  const partitionedSavables = Object(external_lodash_["groupBy"])(dirtyEntityRecords, 'name'); // Sort entity groups.
-
+    getEditedPostAttribute
+  } = select(store);
   const {
-    site: siteSavables,
-    wp_template: templateSavables,
-    wp_template_part: templatePartSavables,
-    ...contentSavables
-  } = partitionedSavables;
-  const sortedPartitionedSavables = [siteSavables, templateSavables, templatePartSavables, ...Object.values(contentSavables)].filter(Array.isArray); // Unchecked entities to be ignored by save function.
-
-  const [unselectedEntities, _setUnselectedEntities] = Object(external_wp_element_["useState"])([]);
-
-  const setUnselectedEntities = (_ref2, checked) => {
-    let {
-      kind,
-      name,
-      key,
-      property
-    } = _ref2;
-
-    if (checked) {
-      _setUnselectedEntities(unselectedEntities.filter(elt => elt.kind !== kind || elt.name !== name || elt.key !== key || elt.property !== property));
-    } else {
-      _setUnselectedEntities([...unselectedEntities, {
-        kind,
-        name,
-        key,
-        property
-      }]);
-    }
+    getPostType
+  } = select(external_wp_coreData_namespaceObject.store);
+  const postType = getPostType(getEditedPostAttribute('type'));
+  return {
+    title: getEditedPostAttribute('title'),
+    blocks: getBlocks(),
+    isTitleSupported: (0,external_lodash_namespaceObject.get)(postType, ['supports', 'title'], false)
   };
+}))(DocumentOutline));

-  const saveCheckedEntities = () => {
-    const entitiesToSave = dirtyEntityRecords.filter(_ref3 => {
-      let {
-        kind,
-        name,
-        key,
-        property
-      } = _ref3;
-      return !Object(external_lodash_["some"])(unselectedEntities, elt => elt.kind === kind && elt.name === name && elt.key === key && elt.property === property);
-    });
-    close(entitiesToSave);
-    const siteItemsToSave = [];
-    const pendingSavedRecords = [];
-    entitiesToSave.forEach(_ref4 => {
-      let {
-        kind,
-        name,
-        key,
-        property
-      } = _ref4;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/document-outline/check.js
+/**
+ * External dependencies
+ */

-      if ('root' === kind && 'site' === name) {
-        siteItemsToSave.push(property);
-      } else {
-        if (PUBLISH_ON_SAVE_ENTITIES.some(typeToPublish => typeToPublish.kind === kind && typeToPublish.name === name)) {
-          editEntityRecord(kind, name, key, {
-            status: 'publish'
-          });
-        }
+/**
+ * WordPress dependencies
+ */

-        pendingSavedRecords.push(saveEditedEntityRecord(kind, name, key));
-      }
-    });

-    if (siteItemsToSave.length) {
-      pendingSavedRecords.push(saveSpecifiedEntityEdits('root', 'site', undefined, siteItemsToSave));
-    }

-    Promise.all(pendingSavedRecords).then(values => {
-      if (values.some(value => typeof value === 'undefined')) {
-        createErrorNotice(Object(external_wp_i18n_["__"])('Saving failed.'));
-      } else {
-        createSuccessNotice(Object(external_wp_i18n_["__"])('Site updated.'), {
-          type: 'snackbar'
-        });
-      }
-    }).catch(error => createErrorNotice(`${Object(external_wp_i18n_["__"])('Saving failed.')} ${error}`));

-    __unstableMarkLastChangeAsPersistent();
-  }; // Explicitly define this with no argument passed.  Using `close` on
-  // its own will use the event object in place of the expected saved entities.
+function DocumentOutlineCheck(_ref) {
+  let {
+    blocks,
+    children
+  } = _ref;
+  const headings = (0,external_lodash_namespaceObject.filter)(blocks, block => block.name === 'core/heading');

+  if (headings.length < 1) {
+    return null;
+  }

-  const dismissPanel = Object(external_wp_element_["useCallback"])(() => close(), [close]);
-  const [saveDialogRef, saveDialogProps] = Object(external_wp_compose_["__experimentalUseDialog"])({
-    onClose: () => dismissPanel()
-  });
-  return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-    ref: saveDialogRef
-  }, saveDialogProps, {
-    className: "entities-saved-states__panel"
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "entities-saved-states__panel-header"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    ref: saveButtonRef,
-    variant: "primary",
-    disabled: dirtyEntityRecords.length - unselectedEntities.length === 0,
-    onClick: saveCheckedEntities,
-    className: "editor-entities-saved-states__save-button"
-  }, Object(external_wp_i18n_["__"])('Save')), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: library_close["a" /* default */],
-    onClick: dismissPanel,
-    label: Object(external_wp_i18n_["__"])('Close panel')
-  })), Object(external_wp_element_["createElement"])("div", {
-    className: "entities-saved-states__text-prompt"
-  }, Object(external_wp_element_["createElement"])("strong", null, Object(external_wp_i18n_["__"])('Are you ready to save?')), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('The following changes have been made to your site, templates, and content.'))), sortedPartitionedSavables.map(list => {
-    return Object(external_wp_element_["createElement"])(EntityTypeList, {
-      key: list[0].name,
-      list: list,
-      closePanel: dismissPanel,
-      unselectedEntities: unselectedEntities,
-      setUnselectedEntities: setUnselectedEntities
-    });
-  }));
+  return children;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/error-boundary/index.js
-
+/* harmony default export */ var check = ((0,external_wp_data_namespaceObject.withSelect)(select => ({
+  blocks: select(external_wp_blockEditor_namespaceObject.store).getBlocks()
+}))(DocumentOutlineCheck));

+;// CONCATENATED MODULE: external ["wp","keyboardShortcuts"]
+var external_wp_keyboardShortcuts_namespaceObject = window["wp"]["keyboardShortcuts"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/save-shortcut.js
 /**
  * WordPress dependencies
  */



-
-
-
 /**
  * Internal dependencies
  */



-function CopyButton(_ref) {
+function SaveShortcut(_ref) {
   let {
-    text,
-    children
+    resetBlocksOnSave
   } = _ref;
-  const ref = Object(external_wp_compose_["useCopyToClipboard"])(text);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    ref: ref
-  }, children);
-}
+  const {
+    resetEditorBlocks,
+    savePost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    isEditedPostDirty,
+    getPostEdits,
+    isPostSavingLocked
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/editor/save', event => {
+    event.preventDefault();
+    /**
+     * Do not save the post if post saving is locked.
+     */

-class error_boundary_ErrorBoundary extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.reboot = this.reboot.bind(this);
-    this.getContent = this.getContent.bind(this);
-    this.state = {
-      error: null
-    };
-  }
+    if (isPostSavingLocked()) {
+      return;
+    } // TODO: This should be handled in the `savePost` effect in
+    // considering `isSaveable`. See note on `isEditedPostSaveable`
+    // selector about dirtiness and meta-boxes.
+    //
+    // See: `isEditedPostSaveable`

-  componentDidCatch(error) {
-    this.setState({
-      error
-    });
-  }

-  reboot() {
-    this.props.onError();
-  }
+    if (!isEditedPostDirty()) {
+      return;
+    } // The text editor requires that editor blocks are updated for a
+    // save to work correctly. Usually this happens when the textarea
+    // for the code editors blurs, but the shortcut can be used without
+    // blurring the textarea.

-  getContent() {
-    try {
-      // While `select` in a component is generally discouraged, it is
-      // used here because it (a) reduces the chance of data loss in the
-      // case of additional errors by performing a direct retrieval and
-      // (b) avoids the performance cost associated with unnecessary
-      // content serialization throughout the lifetime of a non-erroring
-      // application.
-      return Object(external_wp_data_["select"])(store).getEditedPostContent();
-    } catch (error) {}
-  }

-  render() {
-    const {
-      error
-    } = this.state;
+    if (resetBlocksOnSave) {
+      const postEdits = getPostEdits();

-    if (!error) {
-      return this.props.children;
+      if (postEdits.content && typeof postEdits.content === 'string') {
+        const blocks = (0,external_wp_blocks_namespaceObject.parse)(postEdits.content);
+        resetEditorBlocks(blocks);
+      }
     }

-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["Warning"], {
-      className: "editor-error-boundary",
-      actions: [Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        key: "recovery",
-        onClick: this.reboot,
-        variant: "secondary"
-      }, Object(external_wp_i18n_["__"])('Attempt Recovery')), Object(external_wp_element_["createElement"])(CopyButton, {
-        key: "copy-post",
-        text: this.getContent
-      }, Object(external_wp_i18n_["__"])('Copy Post Text')), Object(external_wp_element_["createElement"])(CopyButton, {
-        key: "copy-error",
-        text: error.stack
-      }, Object(external_wp_i18n_["__"])('Copy Error'))]
-    }, Object(external_wp_i18n_["__"])('The editor has encountered an unexpected error.'));
-  }
-
+    savePost();
+  });
+  return null;
 }

-/* harmony default export */ var error_boundary = (error_boundary_ErrorBoundary);
+/* harmony default export */ var save_shortcut = (SaveShortcut);

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/local-autosave-monitor/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/visual-editor-shortcuts.js


 /**
- * External dependencies
+ * WordPress dependencies
  */

+
 /**
- * WordPress dependencies
+ * Internal dependencies
  */




+function VisualEditorGlobalKeyboardShortcuts() {
+  const {
+    redo,
+    undo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/editor/undo', event => {
+    undo();
+    event.preventDefault();
+  });
+  (0,external_wp_keyboardShortcuts_namespaceObject.useShortcut)('core/editor/redo', event => {
+    redo();
+    event.preventDefault();
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(save_shortcut, null);
+}
+
+/* harmony default export */ var visual_editor_shortcuts = (VisualEditorGlobalKeyboardShortcuts);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/text-editor-shortcuts.js


 /**
  * Internal dependencies
  */

+function TextEditorGlobalKeyboardShortcuts() {
+  return (0,external_wp_element_namespaceObject.createElement)(save_shortcut, {
+    resetBlocksOnSave: true
+  });
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/global-keyboard-shortcuts/register-shortcuts.js


-const requestIdleCallback = window.requestIdleCallback ? window.requestIdleCallback : window.requestAnimationFrame;
 /**
- * Function which returns true if the current environment supports browser
- * sessionStorage, or false otherwise. The result of this function is cached and
- * reused in subsequent invocations.
+ * WordPress dependencies
  */

-const hasSessionStorageSupport = Object(external_lodash_["once"])(() => {
-  try {
-    // Private Browsing in Safari 10 and earlier will throw an error when
-    // attempting to set into sessionStorage. The test here is intentional in
-    // causing a thrown error as condition bailing from local autosave.
-    window.sessionStorage.setItem('__wpEditorTestSessionStorage', '');
-    window.sessionStorage.removeItem('__wpEditorTestSessionStorage');
-    return true;
-  } catch (error) {
-    return false;
-  }
-});
+
+
+
+
+
+function EditorKeyboardShortcutsRegister() {
+  // Registering the shortcuts
+  const {
+    registerShortcut
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_keyboardShortcuts_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    registerShortcut({
+      name: 'core/editor/save',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Save your changes.'),
+      keyCombination: {
+        modifier: 'primary',
+        character: 's'
+      }
+    });
+    registerShortcut({
+      name: 'core/editor/undo',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Undo your last changes.'),
+      keyCombination: {
+        modifier: 'primary',
+        character: 'z'
+      }
+    });
+    registerShortcut({
+      name: 'core/editor/redo',
+      category: 'global',
+      description: (0,external_wp_i18n_namespaceObject.__)('Redo your last undo.'),
+      keyCombination: {
+        modifier: 'primaryShift',
+        character: 'z'
+      }
+    });
+  }, [registerShortcut]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockEditorKeyboardShortcuts.Register, null);
+}
+
+/* harmony default export */ var register_shortcuts = (EditorKeyboardShortcutsRegister);
+
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/redo.js
+
+
 /**
- * Custom hook which manages the creation of a notice prompting the user to
- * restore a local autosave, if one exists.
+ * WordPress dependencies
  */

-function useAutosaveNotice() {
-  const {
-    postId,
-    isEditedPostNew,
-    hasRemoteAutosave
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    postId: select(store).getCurrentPostId(),
-    isEditedPostNew: select(store).isEditedPostNew(),
-    hasRemoteAutosave: !!select(store).getEditorSettings().autosave
-  }), []);
-  const {
-    getEditedPostAttribute
-  } = Object(external_wp_data_["useSelect"])(store);
-  const {
-    createWarningNotice,
-    removeNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const {
-    editPost,
-    resetEditorBlocks
-  } = Object(external_wp_data_["useDispatch"])(store);
-  Object(external_wp_element_["useEffect"])(() => {
-    let localAutosave = localAutosaveGet(postId, isEditedPostNew);
+const redo_redo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"
+}));
+/* harmony default export */ var library_redo = (redo_redo);

-    if (!localAutosave) {
-      return;
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/undo.js

-    try {
-      localAutosave = JSON.parse(localAutosave);
-    } catch (error) {
-      // Not usable if it can't be parsed.
-      return;
-    }

-    const {
-      post_title: title,
-      content,
-      excerpt
-    } = localAutosave;
-    const edits = {
-      title,
-      content,
-      excerpt
-    };
-    {
-      // Only display a notice if there is a difference between what has been
-      // saved and that which is stored in sessionStorage.
-      const hasDifference = Object.keys(edits).some(key => {
-        return edits[key] !== getEditedPostAttribute(key);
-      });
+/**
+ * WordPress dependencies
+ */

-      if (!hasDifference) {
-        // If there is no difference, it can be safely ejected from storage.
-        localAutosaveClear(postId, isEditedPostNew);
-        return;
-      }
-    }
+const undo_undo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"
+}));
+/* harmony default export */ var library_undo = (undo_undo);

-    if (hasRemoteAutosave) {
-      return;
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/editor-history/redo.js

-    const noticeId = Object(external_lodash_["uniqueId"])('wpEditorAutosaveRestore');
-    createWarningNotice(Object(external_wp_i18n_["__"])('The backup of this post in your browser is different from the version below.'), {
-      id: noticeId,
-      actions: [{
-        label: Object(external_wp_i18n_["__"])('Restore the backup'),

-        onClick() {
-          editPost(Object(external_lodash_["omit"])(edits, ['content']));
-          resetEditorBlocks(Object(external_wp_blocks_["parse"])(edits.content));
-          removeNotice(noticeId);
-        }

-      }]
-    });
-  }, [isEditedPostNew, postId]);
-}
 /**
- * Custom hook which ejects a local autosave after a successful save occurs.
+ * WordPress dependencies
  */


-function useAutosavePurge() {
-  const {
-    postId,
-    isEditedPostNew,
-    isDirty,
-    isAutosaving,
-    didError
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    postId: select(store).getCurrentPostId(),
-    isEditedPostNew: select(store).isEditedPostNew(),
-    isDirty: select(store).isEditedPostDirty(),
-    isAutosaving: select(store).isAutosavingPost(),
-    didError: select(store).didPostSaveRequestFail()
-  }), []);
-  const lastIsDirty = Object(external_wp_element_["useRef"])(isDirty);
-  const lastIsAutosaving = Object(external_wp_element_["useRef"])(isAutosaving);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!didError && (lastIsAutosaving.current && !isAutosaving || lastIsDirty.current && !isDirty)) {
-      localAutosaveClear(postId, isEditedPostNew);
-    }

-    lastIsDirty.current = isDirty;
-    lastIsAutosaving.current = isAutosaving;
-  }, [isDirty, isAutosaving, didError]); // Once the isEditedPostNew changes from true to false, let's clear the auto-draft autosave.

-  const wasEditedPostNew = Object(external_wp_compose_["usePrevious"])(isEditedPostNew);
-  const prevPostId = Object(external_wp_compose_["usePrevious"])(postId);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (prevPostId === postId && wasEditedPostNew && !isEditedPostNew) {
-      localAutosaveClear(postId, true);
-    }
-  }, [isEditedPostNew, postId]);
-}

-function LocalAutosaveMonitor() {
-  const {
-    autosave
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const deferredAutosave = Object(external_wp_element_["useCallback"])(() => {
-    requestIdleCallback(() => autosave({
-      local: true
-    }));
-  }, []);
-  useAutosaveNotice();
-  useAutosavePurge();
+
+/**
+ * Internal dependencies
+ */
+
+
+
+function EditorHistoryRedo(props, ref) {
+  const hasRedo = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).hasEditorRedo(), []);
   const {
-    localAutosaveInterval
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    localAutosaveInterval: select(store).getEditorSettings().__experimentalLocalAutosaveInterval
-  }), []);
-  return Object(external_wp_element_["createElement"])(autosave_monitor, {
-    interval: localAutosaveInterval,
-    autosave: deferredAutosave
-  });
+    redo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({}, props, {
+    ref: ref,
+    icon: !(0,external_wp_i18n_namespaceObject.isRTL)() ? library_redo : library_undo
+    /* translators: button label text should, if possible, be under 16 characters. */
+    ,
+    label: (0,external_wp_i18n_namespaceObject.__)('Redo'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primaryShift('z') // If there are no redo levels we don't want to actually disable this
+    // button, because it will remove focus for keyboard users.
+    // See: https://github.com/WordPress/gutenberg/issues/3486
+    ,
+    "aria-disabled": !hasRedo,
+    onClick: hasRedo ? redo : undefined,
+    className: "editor-history__redo"
+  }));
 }

-/* harmony default export */ var local_autosave_monitor = (Object(external_wp_compose_["ifCondition"])(hasSessionStorageSupport)(LocalAutosaveMonitor));
+/* harmony default export */ var editor_history_redo = ((0,external_wp_element_namespaceObject.forwardRef)(EditorHistoryRedo));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/editor-history/undo.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/page-attributes/check.js
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -5729,38 +5246,40 @@ function LocalAutosaveMonitor() {



+
+
+
 /**
  * Internal dependencies
  */


-function PageAttributesCheck(_ref) {
-  let {
-    children
-  } = _ref;
-  const postType = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getEditedPostAttribute
-    } = select(store);
-    const {
-      getPostType
-    } = select(external_wp_coreData_["store"]);
-    return getPostType(getEditedPostAttribute('type'));
-  }, []);
-  const supportsPageAttributes = Object(external_lodash_["get"])(postType, ['supports', 'page-attributes'], false); // Only render fields if post type supports page attributes or available templates exist.

-  if (!supportsPageAttributes) {
-    return null;
-  }
+function EditorHistoryUndo(props, ref) {
+  const hasUndo = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).hasEditorUndo(), []);
+  const {
+    undo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({}, props, {
+    ref: ref,
+    icon: !(0,external_wp_i18n_namespaceObject.isRTL)() ? library_undo : library_redo
+    /* translators: button label text should, if possible, be under 16 characters. */
+    ,
+    label: (0,external_wp_i18n_namespaceObject.__)('Undo'),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primary('z') // If there are no undo levels we don't want to actually disable this
+    // button, because it will remove focus for keyboard users.
+    // See: https://github.com/WordPress/gutenberg/issues/3486
+    ,
+    "aria-disabled": !hasUndo,
+    onClick: hasUndo ? undo : undefined,
+    className: "editor-history__undo"
+  }));
+}
+
+/* harmony default export */ var editor_history_undo = ((0,external_wp_element_namespaceObject.forwardRef)(EditorHistoryUndo));

-  return children;
-}
-/* harmony default export */ var page_attributes_check = (PageAttributesCheck);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/template-validation-notice/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-type-support-check/index.js
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -5768,56 +5287,54 @@ function PageAttributesCheck(_ref) {



-/**
- * Internal dependencies
- */


-/**
- * A component which renders its own children only if the current editor post
- * type supports one of the given `supportKeys` prop.
- *
- * @param {Object}            props             Props.
- * @param {string}            [props.postType]  Current post type.
- * @param {WPElement}         props.children    Children to be rendered if post
- *                                              type supports.
- * @param {(string|string[])} props.supportKeys String or string array of keys
- *                                              to test.
- *
- * @return {WPComponent} The component to be rendered.
- */

-function PostTypeSupportCheck(_ref) {
+function TemplateValidationNotice(_ref) {
   let {
-    postType,
-    children,
-    supportKeys
+    isValid,
+    ...props
   } = _ref;
-  let isSupported = true;
-
-  if (postType) {
-    isSupported = Object(external_lodash_["some"])(Object(external_lodash_["castArray"])(supportKeys), key => !!postType.supports[key]);
-  }

-  if (!isSupported) {
+  if (isValid) {
     return null;
   }

-  return children;
+  const confirmSynchronization = () => {
+    if ( // eslint-disable-next-line no-alert
+    window.confirm((0,external_wp_i18n_namespaceObject.__)('Resetting the template may result in loss of content, do you want to continue?'))) {
+      props.synchronizeTemplate();
+    }
+  };
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Notice, {
+    className: "editor-template-validation-notice",
+    isDismissible: false,
+    status: "warning",
+    actions: [{
+      label: (0,external_wp_i18n_namespaceObject.__)('Keep it as is'),
+      onClick: props.resetTemplateValidity
+    }, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Reset the template'),
+      onClick: confirmSynchronization
+    }]
+  }, (0,external_wp_i18n_namespaceObject.__)('The content of your post doesn’t match the template assigned to your post type.'));
 }
-/* harmony default export */ var post_type_support_check = (Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getEditedPostAttribute
-  } = select(store);
+
+/* harmony default export */ var template_validation_notice = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => ({
+  isValid: select(external_wp_blockEditor_namespaceObject.store).isValidTemplate()
+})), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
   const {
-    getPostType
-  } = select(external_wp_coreData_["store"]);
+    setTemplateValidity,
+    synchronizeTemplate
+  } = dispatch(external_wp_blockEditor_namespaceObject.store);
   return {
-    postType: getPostType(getEditedPostAttribute('type'))
+    resetTemplateValidity: () => setTemplateValidity(true),
+    synchronizeTemplate
   };
-})(PostTypeSupportCheck));
+})])(TemplateValidationNotice));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/page-attributes/order.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/editor-notices/index.js


 /**
@@ -5832,137 +5349,87 @@ function PostTypeSupportCheck(_ref) {



-
 /**
  * Internal dependencies
  */


-
-const PageAttributesOrder = _ref => {
+function EditorNotices(_ref) {
   let {
-    onUpdateOrder,
-    order = 0
+    notices,
+    onRemove
   } = _ref;
-  const [orderInput, setOrderInput] = Object(external_wp_element_["useState"])(null);
-
-  const setUpdatedOrder = value => {
-    setOrderInput(value);
-    const newOrder = Number(value);
-
-    if (Number.isInteger(newOrder) && Object(external_lodash_["invoke"])(value, ['trim']) !== '') {
-      onUpdateOrder(Number(value));
-    }
-  };
-
-  const value = orderInput === null ? order : orderInput;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    className: "editor-page-attributes__order",
-    type: "number",
-    label: Object(external_wp_i18n_["__"])('Order'),
-    value: value,
-    onChange: setUpdatedOrder,
-    size: 6,
-    onBlur: () => {
-      setOrderInput(null);
-    }
+  const dismissibleNotices = (0,external_lodash_namespaceObject.filter)(notices, {
+    isDismissible: true,
+    type: 'default'
   });
-};
-
-function PageAttributesOrderWithChecks(props) {
-  return Object(external_wp_element_["createElement"])(post_type_support_check, {
-    supportKeys: "page-attributes"
-  }, Object(external_wp_element_["createElement"])(PageAttributesOrder, props));
+  const nonDismissibleNotices = (0,external_lodash_namespaceObject.filter)(notices, {
+    isDismissible: false,
+    type: 'default'
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NoticeList, {
+    notices: nonDismissibleNotices,
+    className: "components-editor-notices__pinned"
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.NoticeList, {
+    notices: dismissibleNotices,
+    className: "components-editor-notices__dismissible",
+    onRemove: onRemove
+  }, (0,external_wp_element_namespaceObject.createElement)(template_validation_notice, null)));
 }
+/* harmony default export */ var editor_notices = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => ({
+  notices: select(external_wp_notices_namespaceObject.store).getNotices()
+})), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
+  onRemove: dispatch(external_wp_notices_namespaceObject.store).removeNotice
+}))])(EditorNotices));

-/* harmony default export */ var page_attributes_order = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  return {
-    order: select(store).getEditedPostAttribute('menu_order')
-  };
-}), Object(external_wp_data_["withDispatch"])(dispatch => ({
-  onUpdateOrder(order) {
-    dispatch(store).editPost({
-      menu_order: order
-    });
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/editor-snackbars/index.js

-}))])(PageAttributesOrderWithChecks));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/terms.js
 /**
  * External dependencies
  */

 /**
- * Returns terms in a tree form.
- *
- * @param {Array} flatTerms Array of terms in flat format.
- *
- * @return {Array} Array of terms in tree format.
+ * WordPress dependencies
  */

-function buildTermsTree(flatTerms) {
-  const flatTermsWithParentAndChildren = flatTerms.map(term => {
-    return {
-      children: [],
-      parent: null,
-      ...term
-    };
-  });
-  const termsByParent = Object(external_lodash_["groupBy"])(flatTermsWithParentAndChildren, 'parent');

-  if (termsByParent.null && termsByParent.null.length) {
-    return flatTermsWithParentAndChildren;
-  }

-  const fillWithChildren = terms => {
-    return terms.map(term => {
-      const children = termsByParent[term.id];
-      return { ...term,
-        children: children && children.length ? fillWithChildren(children) : []
-      };
-    });
-  };

-  return fillWithChildren(termsByParent['0'] || []);
-} // Lodash unescape function handles &#39; but not &#039; which may be return in some API requests.
+function EditorSnackbars() {
+  const notices = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_notices_namespaceObject.store).getNotices(), []);
+  const {
+    removeNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const snackbarNotices = (0,external_lodash_namespaceObject.filter)(notices, {
+    type: 'snackbar'
+  });
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SnackbarList, {
+    notices: snackbarNotices,
+    className: "components-editor-notices__snackbar",
+    onRemove: removeNotice
+  });
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js

-const unescapeString = arg => {
-  return Object(external_lodash_["unescape"])(arg.replace('&#039;', "'"));
-};
-/**
- * Returns a term object with name unescaped.
- * The unescape of the name property is done using lodash unescape function.
- *
- * @param {Object} term The term object to unescape.
- *
- * @return {Object} Term object with name property unescaped.
- */

-const unescapeTerm = term => {
-  return { ...term,
-    name: unescapeString(term.name)
-  };
-};
 /**
- * Returns an array of term objects with names unescaped.
- * The unescape of each term is performed using the unescapeTerm function.
- *
- * @param {Object[]} terms Array of term objects to unescape.
- *
- * @return {Object[]} Array of term objects unescaped.
+ * WordPress dependencies
  */

-const unescapeTerms = terms => {
-  return Object(external_lodash_["map"])(terms, unescapeTerm);
-};
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/page-attributes/parent.js
+const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_close = (close_close);

+;// CONCATENATED MODULE: external ["wp","htmlEntities"]
+var external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/entities-saved-states/entity-record-item.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -5979,156 +5446,134 @@ const unescapeTerms = terms => {
  */


-
-
-function getTitle(post) {
-  var _post$title;
-
-  return post !== null && post !== void 0 && (_post$title = post.title) !== null && _post$title !== void 0 && _post$title.rendered ? Object(external_wp_htmlEntities_["decodeEntities"])(post.title.rendered) : `#${post.id} (${Object(external_wp_i18n_["__"])('no title')})`;
-}
-
-const getItemPriority = (name, searchValue) => {
-  const normalizedName = Object(external_lodash_["deburr"])(name).toLowerCase();
-  const normalizedSearch = Object(external_lodash_["deburr"])(searchValue).toLowerCase();
-
-  if (normalizedName === normalizedSearch) {
-    return 0;
-  }
-
-  if (normalizedName.startsWith(normalizedSearch)) {
-    return normalizedName.length;
-  }
-
-  return Infinity;
-};
-function PageAttributesParent() {
-  const {
-    editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const [fieldValue, setFieldValue] = Object(external_wp_element_["useState"])(false);
+function EntityRecordItem(_ref) {
+  let {
+    record,
+    checked,
+    onChange,
+    closePanel
+  } = _ref;
   const {
-    parentPost,
-    parentPostId,
-    items,
-    postType
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getPostType,
-      getEntityRecords,
-      getEntityRecord
-    } = select(external_wp_coreData_["store"]);
+    name,
+    kind,
+    title,
+    key
+  } = record;
+  const parentBlockId = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _blocks$;
+
+    // Get entity's blocks.
     const {
-      getCurrentPostId,
-      getEditedPostAttribute
-    } = select(store);
-    const postTypeSlug = getEditedPostAttribute('type');
-    const pageId = getEditedPostAttribute('parent');
-    const pType = getPostType(postTypeSlug);
-    const postId = getCurrentPostId();
-    const isHierarchical = Object(external_lodash_["get"])(pType, ['hierarchical'], false);
-    const query = {
-      per_page: 100,
-      exclude: postId,
-      parent_exclude: postId,
-      orderby: 'menu_order',
-      order: 'asc',
-      _fields: 'id,title,parent'
-    }; // Perform a search when the field is changed.
+      blocks = []
+    } = select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord(kind, name, key); // Get parents of the entity's first block.

-    if (!!fieldValue) {
-      query.search = fieldValue;
+    const parents = select(external_wp_blockEditor_namespaceObject.store).getBlockParents((_blocks$ = blocks[0]) === null || _blocks$ === void 0 ? void 0 : _blocks$.clientId); // Return closest parent block's clientId.
+
+    return parents[parents.length - 1];
+  }, []); // Handle templates that might use default descriptive titles
+
+  const entityRecordTitle = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    if ('postType' !== kind || 'wp_template' !== name) {
+      return title;
     }

-    return {
-      parentPostId: pageId,
-      parentPost: pageId ? getEntityRecord('postType', postTypeSlug, pageId) : null,
-      items: isHierarchical ? getEntityRecords('postType', postTypeSlug, query) : [],
-      postType: pType
-    };
-  }, [fieldValue]);
-  const isHierarchical = Object(external_lodash_["get"])(postType, ['hierarchical'], false);
-  const parentPageLabel = Object(external_lodash_["get"])(postType, ['labels', 'parent_item_colon']);
-  const pageItems = items || [];
-  const parentOptions = Object(external_wp_element_["useMemo"])(() => {
-    const getOptionsFromTree = function (tree) {
-      let level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
-      const mappedNodes = tree.map(treeNode => [{
-        value: treeNode.id,
-        label: Object(external_lodash_["repeat"])('— ', level) + Object(external_lodash_["unescape"])(treeNode.name),
-        rawName: treeNode.name
-      }, ...getOptionsFromTree(treeNode.children || [], level + 1)]);
-      const sortedNodes = mappedNodes.sort((_ref, _ref2) => {
-        let [a] = _ref;
-        let [b] = _ref2;
-        const priorityA = getItemPriority(a.rawName, fieldValue);
-        const priorityB = getItemPriority(b.rawName, fieldValue);
-        return priorityA >= priorityB ? 1 : -1;
-      });
-      return Object(external_lodash_["flatten"])(sortedNodes);
-    };
+    const template = select(external_wp_coreData_namespaceObject.store).getEditedEntityRecord(kind, name, key);
+    return select(store).__experimentalGetTemplateInfo(template).title;
+  }, [name, kind, title, key]);
+  const isSelected = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const selectedBlockId = select(external_wp_blockEditor_namespaceObject.store).getSelectedBlockClientId();
+    return selectedBlockId === parentBlockId;
+  }, [parentBlockId]);
+  const isSelectedText = isSelected ? (0,external_wp_i18n_namespaceObject.__)('Selected') : (0,external_wp_i18n_namespaceObject.__)('Select');
+  const {
+    selectBlock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const selectParentBlock = (0,external_wp_element_namespaceObject.useCallback)(() => selectBlock(parentBlockId), [parentBlockId]);
+  const selectAndDismiss = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    selectBlock(parentBlockId);
+    closePanel();
+  }, [parentBlockId]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CheckboxControl, {
+    label: (0,external_wp_element_namespaceObject.createElement)("strong", null, (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(entityRecordTitle) || (0,external_wp_i18n_namespaceObject.__)('Untitled')),
+    checked: checked,
+    onChange: onChange
+  }), parentBlockId ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    onClick: selectParentBlock,
+    className: "entities-saved-states__find-entity",
+    disabled: isSelected
+  }, isSelectedText), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    onClick: selectAndDismiss,
+    className: "entities-saved-states__find-entity-small",
+    disabled: isSelected
+  }, isSelectedText)) : null);
+}

-    let tree = pageItems.map(item => ({
-      id: item.id,
-      parent: item.parent,
-      name: getTitle(item)
-    })); // Only build a hierarchical tree when not searching.
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/entities-saved-states/entity-type-list.js

-    if (!fieldValue) {
-      tree = buildTermsTree(tree);
-    }

-    const opts = getOptionsFromTree(tree); // Ensure the current parent is in the options list.
+/**
+ * External dependencies
+ */
+
+/**
+ * WordPress dependencies
+ */

-    const optsHasParent = Object(external_lodash_["find"])(opts, item => item.value === parentPostId);

-    if (parentPost && !optsHasParent) {
-      opts.unshift({
-        value: parentPostId,
-        label: getTitle(parentPost)
-      });
-    }

-    return opts;
-  }, [pageItems, fieldValue]);

-  if (!isHierarchical || !parentPageLabel) {
-    return null;
-  }
-  /**
-   * Handle user input.
-   *
-   * @param {string} inputValue The current value of the input field.
-   */

+/**
+ * Internal dependencies
+ */

-  const handleKeydown = inputValue => {
-    setFieldValue(inputValue);
-  };
-  /**
-   * Handle author selection.
-   *
-   * @param {Object} selectedPostId The selected Author.
-   */


-  const handleChange = selectedPostId => {
-    editPost({
-      parent: selectedPostId
-    });
-  };
+function getEntityDescription(entity, length) {
+  switch (entity) {
+    case 'site':
+      return (0,external_wp_i18n_namespaceObject._n)('This change will affect your whole site.', 'These changes will affect your whole site.', length);

-  return Object(external_wp_element_["createElement"])(external_wp_components_["ComboboxControl"], {
-    className: "editor-page-attributes__parent",
-    label: parentPageLabel,
-    value: parentPostId,
-    options: parentOptions,
-    onFilterValueChange: Object(external_lodash_["debounce"])(handleKeydown, 300),
-    onChange: handleChange
-  });
+    case 'wp_template':
+      return (0,external_wp_i18n_namespaceObject._n)('This change will affect pages and posts that use this template.', 'These changes will affect pages and posts that use these templates.', length);
+
+    case 'page':
+    case 'post':
+      return (0,external_wp_i18n_namespaceObject.__)('The following content has been modified.');
+  }
 }
-/* harmony default export */ var page_attributes_parent = (PageAttributesParent);

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-template/index.js
+function EntityTypeList(_ref) {
+  let {
+    list,
+    unselectedEntities,
+    setUnselectedEntities,
+    closePanel
+  } = _ref;
+  const firstRecord = list[0];
+  const entity = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getEntity(firstRecord.kind, firstRecord.name), [firstRecord.kind, firstRecord.name]);
+  const {
+    name
+  } = firstRecord;
+  const entityLabel = name === 'wp_template_part' ? (0,external_wp_i18n_namespaceObject._n)('Template Part', 'Template Parts', list.length) : entity.label; // Set description based on type of entity.
+
+  const description = getEntityDescription(name, list.length);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    title: entityLabel,
+    initialOpen: true
+  }, description && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelRow, null, description), list.map(record => {
+    return (0,external_wp_element_namespaceObject.createElement)(EntityRecordItem, {
+      key: record.key || record.property,
+      record: record,
+      checked: !(0,external_lodash_namespaceObject.some)(unselectedEntities, elt => elt.kind === record.kind && elt.name === record.name && elt.key === record.key && elt.property === record.property),
+      onChange: value => setUnselectedEntities(record, value),
+      closePanel: closePanel
+    });
+  }));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/entities-saved-states/index.js
+


 /**
@@ -6143,73 +5588,190 @@ function PageAttributesParent() {



+
+
+
+
+
 /**
  * Internal dependencies
  */


-function PostTemplate(_ref) {
-  let {} = _ref;
+const TRANSLATED_SITE_PROPERTIES = {
+  title: (0,external_wp_i18n_namespaceObject.__)('Title'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Tagline'),
+  site_logo: (0,external_wp_i18n_namespaceObject.__)('Logo'),
+  site_icon: (0,external_wp_i18n_namespaceObject.__)('Icon'),
+  show_on_front: (0,external_wp_i18n_namespaceObject.__)('Show on front'),
+  page_on_front: (0,external_wp_i18n_namespaceObject.__)('Page on front')
+};
+const PUBLISH_ON_SAVE_ENTITIES = [{
+  kind: 'postType',
+  name: 'wp_navigation'
+}];
+function EntitiesSavedStates(_ref) {
+  let {
+    close
+  } = _ref;
+  const saveButtonRef = (0,external_wp_element_namespaceObject.useRef)();
   const {
-    availableTemplates,
-    selectedTemplate,
-    isViewable
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _getPostType$viewable, _getPostType;
+    dirtyEntityRecords
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const dirtyRecords = select(external_wp_coreData_namespaceObject.store).__experimentalGetDirtyEntityRecords(); // Remove site object and decouple into its edited pieces.

-    const {
-      getEditedPostAttribute,
-      getEditorSettings,
-      getCurrentPostType
-    } = select(store);
-    const {
-      getPostType
-    } = select(external_wp_coreData_["store"]);
+
+    const dirtyRecordsWithoutSite = dirtyRecords.filter(record => !(record.kind === 'root' && record.name === 'site'));
+    const siteEdits = select(external_wp_coreData_namespaceObject.store).getEntityRecordEdits('root', 'site');
+    const siteEditsAsEntities = [];
+
+    for (const property in siteEdits) {
+      siteEditsAsEntities.push({
+        kind: 'root',
+        name: 'site',
+        title: TRANSLATED_SITE_PROPERTIES[property] || property,
+        property
+      });
+    }
+
+    const dirtyRecordsWithSiteItems = [...dirtyRecordsWithoutSite, ...siteEditsAsEntities];
     return {
-      selectedTemplate: getEditedPostAttribute('template'),
-      availableTemplates: getEditorSettings().availableTemplates,
-      isViewable: (_getPostType$viewable = (_getPostType = getPostType(getCurrentPostType())) === null || _getPostType === void 0 ? void 0 : _getPostType.viewable) !== null && _getPostType$viewable !== void 0 ? _getPostType$viewable : false
+      dirtyEntityRecords: dirtyRecordsWithSiteItems
     };
   }, []);
   const {
-    editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
+    editEntityRecord,
+    saveEditedEntityRecord,
+    __experimentalSaveSpecifiedEntityEdits: saveSpecifiedEntityEdits
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const {
+    createSuccessNotice,
+    createErrorNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const {
+    __unstableMarkLastChangeAsPersistent
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store); // To group entities by type.

-  if (!isViewable || Object(external_lodash_["isEmpty"])(availableTemplates)) {
-    return null;
-  }
+  const partitionedSavables = (0,external_lodash_namespaceObject.groupBy)(dirtyEntityRecords, 'name'); // Sort entity groups.
+
+  const {
+    site: siteSavables,
+    wp_template: templateSavables,
+    wp_template_part: templatePartSavables,
+    ...contentSavables
+  } = partitionedSavables;
+  const sortedPartitionedSavables = [siteSavables, templateSavables, templatePartSavables, ...Object.values(contentSavables)].filter(Array.isArray); // Unchecked entities to be ignored by save function.
+
+  const [unselectedEntities, _setUnselectedEntities] = (0,external_wp_element_namespaceObject.useState)([]);
+
+  const setUnselectedEntities = (_ref2, checked) => {
+    let {
+      kind,
+      name,
+      key,
+      property
+    } = _ref2;
+
+    if (checked) {
+      _setUnselectedEntities(unselectedEntities.filter(elt => elt.kind !== kind || elt.name !== name || elt.key !== key || elt.property !== property));
+    } else {
+      _setUnselectedEntities([...unselectedEntities, {
+        kind,
+        name,
+        key,
+        property
+      }]);
+    }
+  };
+
+  const saveCheckedEntities = () => {
+    const entitiesToSave = dirtyEntityRecords.filter(_ref3 => {
+      let {
+        kind,
+        name,
+        key,
+        property
+      } = _ref3;
+      return !(0,external_lodash_namespaceObject.some)(unselectedEntities, elt => elt.kind === kind && elt.name === name && elt.key === key && elt.property === property);
+    });
+    close(entitiesToSave);
+    const siteItemsToSave = [];
+    const pendingSavedRecords = [];
+    entitiesToSave.forEach(_ref4 => {
+      let {
+        kind,
+        name,
+        key,
+        property
+      } = _ref4;
+
+      if ('root' === kind && 'site' === name) {
+        siteItemsToSave.push(property);
+      } else {
+        if (PUBLISH_ON_SAVE_ENTITIES.some(typeToPublish => typeToPublish.kind === kind && typeToPublish.name === name)) {
+          editEntityRecord(kind, name, key, {
+            status: 'publish'
+          });
+        }
+
+        pendingSavedRecords.push(saveEditedEntityRecord(kind, name, key));
+      }
+    });

-  return Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Template:'),
-    value: selectedTemplate,
-    onChange: templateSlug => {
-      editPost({
-        template: templateSlug || ''
-      });
-    },
-    options: Object(external_lodash_["map"])(availableTemplates, (templateName, templateSlug) => ({
-      value: templateSlug,
-      label: templateName
-    }))
-  });
-}
-/* harmony default export */ var post_template = (PostTemplate);
+    if (siteItemsToSave.length) {
+      pendingSavedRecords.push(saveSpecifiedEntityEdits('root', 'site', undefined, siteItemsToSave));
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/constants.js
-const AUTHORS_QUERY = {
-  who: 'authors',
-  per_page: 50,
-  _fields: 'id,name',
-  context: 'view' // Allows non-admins to perform requests.
+    Promise.all(pendingSavedRecords).then(values => {
+      if (values.some(value => typeof value === 'undefined')) {
+        createErrorNotice((0,external_wp_i18n_namespaceObject.__)('Saving failed.'));
+      } else {
+        createSuccessNotice((0,external_wp_i18n_namespaceObject.__)('Site updated.'), {
+          type: 'snackbar'
+        });
+      }
+    }).catch(error => createErrorNotice(`${(0,external_wp_i18n_namespaceObject.__)('Saving failed.')} ${error}`));

-};
+    __unstableMarkLastChangeAsPersistent();
+  }; // Explicitly define this with no argument passed.  Using `close` on
+  // its own will use the event object in place of the expected saved entities.

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/combobox.js

+  const dismissPanel = (0,external_wp_element_namespaceObject.useCallback)(() => close(), [close]);
+  const [saveDialogRef, saveDialogProps] = (0,external_wp_compose_namespaceObject.__experimentalUseDialog)({
+    onClose: () => dismissPanel()
+  });
+  return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
+    ref: saveDialogRef
+  }, saveDialogProps, {
+    className: "entities-saved-states__panel"
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "entities-saved-states__panel-header"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    ref: saveButtonRef,
+    variant: "primary",
+    disabled: dirtyEntityRecords.length - unselectedEntities.length === 0,
+    onClick: saveCheckedEntities,
+    className: "editor-entities-saved-states__save-button"
+  }, (0,external_wp_i18n_namespaceObject.__)('Save')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: library_close,
+    onClick: dismissPanel,
+    label: (0,external_wp_i18n_namespaceObject.__)('Close panel')
+  })), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "entities-saved-states__text-prompt"
+  }, (0,external_wp_element_namespaceObject.createElement)("strong", null, (0,external_wp_i18n_namespaceObject.__)('Are you ready to save?')), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('The following changes have been made to your site, templates, and content.'))), sortedPartitionedSavables.map(list => {
+    return (0,external_wp_element_namespaceObject.createElement)(EntityTypeList, {
+      key: list[0].name,
+      list: list,
+      closePanel: dismissPanel,
+      unselectedEntities: unselectedEntities,
+      setUnselectedEntities: setUnselectedEntities
+    });
+  }));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/error-boundary/index.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -6220,120 +5782,92 @@ const AUTHORS_QUERY = {



-
 /**
  * Internal dependencies
  */



+function CopyButton(_ref) {
+  let {
+    text,
+    children
+  } = _ref;
+  const ref = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(text);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    ref: ref
+  }, children);
+}

-function PostAuthorCombobox() {
-  const [fieldValue, setFieldValue] = Object(external_wp_element_["useState"])();
-  const {
-    authorId,
-    isLoading,
-    authors,
-    postAuthor
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getUser,
-      getUsers,
-      isResolving
-    } = select(external_wp_coreData_["store"]);
-    const {
-      getEditedPostAttribute
-    } = select(store);
-    const author = getUser(getEditedPostAttribute('author'), {
-      context: 'view'
-    });
-    const query = { ...AUTHORS_QUERY
-    };
-
-    if (fieldValue) {
-      query.search = fieldValue;
-    }
-
-    return {
-      authorId: getEditedPostAttribute('author'),
-      postAuthor: author,
-      authors: getUsers(query),
-      isLoading: isResolving('core', 'getUsers', [query])
+class ErrorBoundary extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.reboot = this.reboot.bind(this);
+    this.getContent = this.getContent.bind(this);
+    this.state = {
+      error: null
     };
-  }, [fieldValue]);
-  const {
-    editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const authorOptions = Object(external_wp_element_["useMemo"])(() => {
-    const fetchedAuthors = (authors !== null && authors !== void 0 ? authors : []).map(author => {
-      return {
-        value: author.id,
-        label: Object(external_wp_htmlEntities_["decodeEntities"])(author.name)
-      };
-    }); // Ensure the current author is included in the dropdown list.
+  }

-    const foundAuthor = fetchedAuthors.findIndex(_ref => {
-      let {
-        value
-      } = _ref;
-      return (postAuthor === null || postAuthor === void 0 ? void 0 : postAuthor.id) === value;
+  componentDidCatch(error) {
+    this.setState({
+      error
     });
+  }

-    if (foundAuthor < 0 && postAuthor) {
-      return [{
-        value: postAuthor.id,
-        label: Object(external_wp_htmlEntities_["decodeEntities"])(postAuthor.name)
-      }, ...fetchedAuthors];
-    }
-
-    return fetchedAuthors;
-  }, [authors, postAuthor]);
-  /**
-   * Handle author selection.
-   *
-   * @param {number} postAuthorId The selected Author.
-   */
-
-  const handleSelect = postAuthorId => {
-    if (!postAuthorId) {
-      return;
-    }
+  reboot() {
+    this.props.onError();
+  }

-    editPost({
-      author: postAuthorId
-    });
-  };
-  /**
-   * Handle user input.
-   *
-   * @param {string} inputValue The current value of the input field.
-   */
+  getContent() {
+    try {
+      // While `select` in a component is generally discouraged, it is
+      // used here because it (a) reduces the chance of data loss in the
+      // case of additional errors by performing a direct retrieval and
+      // (b) avoids the performance cost associated with unnecessary
+      // content serialization throughout the lifetime of a non-erroring
+      // application.
+      return (0,external_wp_data_namespaceObject.select)(store).getEditedPostContent();
+    } catch (error) {}
+  }

+  render() {
+    const {
+      error
+    } = this.state;

-  const handleKeydown = inputValue => {
-    setFieldValue(inputValue);
-  };
+    if (!error) {
+      return this.props.children;
+    }

-  if (!postAuthor) {
-    return null;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.Warning, {
+      className: "editor-error-boundary",
+      actions: [(0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        key: "recovery",
+        onClick: this.reboot,
+        variant: "secondary"
+      }, (0,external_wp_i18n_namespaceObject.__)('Attempt Recovery')), (0,external_wp_element_namespaceObject.createElement)(CopyButton, {
+        key: "copy-post",
+        text: this.getContent
+      }, (0,external_wp_i18n_namespaceObject.__)('Copy Post Text')), (0,external_wp_element_namespaceObject.createElement)(CopyButton, {
+        key: "copy-error",
+        text: error.stack
+      }, (0,external_wp_i18n_namespaceObject.__)('Copy Error'))]
+    }, (0,external_wp_i18n_namespaceObject.__)('The editor has encountered an unexpected error.'));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["ComboboxControl"], {
-    label: Object(external_wp_i18n_["__"])('Author'),
-    options: authorOptions,
-    value: authorId,
-    onFilterValueChange: Object(external_lodash_["debounce"])(handleKeydown, 300),
-    onChange: handleSelect,
-    isLoading: isLoading,
-    allowReset: false
-  });
 }

-/* harmony default export */ var combobox = (PostAuthorCombobox);
+/* harmony default export */ var error_boundary = (ErrorBoundary);

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/select.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/local-autosave-monitor/index.js


+/**
+ * External dependencies
+ */
+
 /**
  * WordPress dependencies
  */
@@ -6343,6 +5877,7 @@ function PostAuthorCombobox() {



+
 /**
  * Internal dependencies
  */
@@ -6350,81 +5885,173 @@ function PostAuthorCombobox() {



-function PostAuthorSelect() {
+const requestIdleCallback = window.requestIdleCallback ? window.requestIdleCallback : window.requestAnimationFrame;
+/**
+ * Function which returns true if the current environment supports browser
+ * sessionStorage, or false otherwise. The result of this function is cached and
+ * reused in subsequent invocations.
+ */
+
+const hasSessionStorageSupport = (0,external_lodash_namespaceObject.once)(() => {
+  try {
+    // Private Browsing in Safari 10 and earlier will throw an error when
+    // attempting to set into sessionStorage. The test here is intentional in
+    // causing a thrown error as condition bailing from local autosave.
+    window.sessionStorage.setItem('__wpEditorTestSessionStorage', '');
+    window.sessionStorage.removeItem('__wpEditorTestSessionStorage');
+    return true;
+  } catch (error) {
+    return false;
+  }
+});
+/**
+ * Custom hook which manages the creation of a notice prompting the user to
+ * restore a local autosave, if one exists.
+ */
+
+function useAutosaveNotice() {
   const {
-    editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
+    postId,
+    isEditedPostNew,
+    hasRemoteAutosave
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    postId: select(store).getCurrentPostId(),
+    isEditedPostNew: select(store).isEditedPostNew(),
+    hasRemoteAutosave: !!select(store).getEditorSettings().autosave
+  }), []);
   const {
-    postAuthor,
-    authors
-  } = Object(external_wp_data_["useSelect"])(select => {
-    return {
-      postAuthor: select(store).getEditedPostAttribute('author'),
-      authors: select(external_wp_coreData_["store"]).getUsers(AUTHORS_QUERY)
-    };
-  }, []);
-  const authorOptions = Object(external_wp_element_["useMemo"])(() => {
-    return (authors !== null && authors !== void 0 ? authors : []).map(author => {
-      return {
-        value: author.id,
-        label: Object(external_wp_htmlEntities_["decodeEntities"])(author.name)
-      };
-    });
-  }, [authors]);
-
-  const setAuthorId = value => {
-    const author = Number(value);
-    editPost({
-      author
-    });
-  };
+    getEditedPostAttribute
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  const {
+    createWarningNotice,
+    removeNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const {
+    editPost,
+    resetEditorBlocks
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    let localAutosave = localAutosaveGet(postId, isEditedPostNew);

-  return Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    className: "post-author-selector",
-    label: Object(external_wp_i18n_["__"])('Author'),
-    options: authorOptions,
-    onChange: setAuthorId,
-    value: postAuthor
-  });
-}
+    if (!localAutosave) {
+      return;
+    }

-/* harmony default export */ var post_author_select = (PostAuthorSelect);
+    try {
+      localAutosave = JSON.parse(localAutosave);
+    } catch (error) {
+      // Not usable if it can't be parsed.
+      return;
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/index.js
+    const {
+      post_title: title,
+      content,
+      excerpt
+    } = localAutosave;
+    const edits = {
+      title,
+      content,
+      excerpt
+    };
+    {
+      // Only display a notice if there is a difference between what has been
+      // saved and that which is stored in sessionStorage.
+      const hasDifference = Object.keys(edits).some(key => {
+        return edits[key] !== getEditedPostAttribute(key);
+      });

+      if (!hasDifference) {
+        // If there is no difference, it can be safely ejected from storage.
+        localAutosaveClear(postId, isEditedPostNew);
+        return;
+      }
+    }

-/**
- * WordPress dependencies
- */
+    if (hasRemoteAutosave) {
+      return;
+    }
+
+    const noticeId = (0,external_lodash_namespaceObject.uniqueId)('wpEditorAutosaveRestore');
+    createWarningNotice((0,external_wp_i18n_namespaceObject.__)('The backup of this post in your browser is different from the version below.'), {
+      id: noticeId,
+      actions: [{
+        label: (0,external_wp_i18n_namespaceObject.__)('Restore the backup'),

+        onClick() {
+          editPost((0,external_lodash_namespaceObject.omit)(edits, ['content']));
+          resetEditorBlocks((0,external_wp_blocks_namespaceObject.parse)(edits.content));
+          removeNotice(noticeId);
+        }

+      }]
+    });
+  }, [isEditedPostNew, postId]);
+}
 /**
- * Internal dependencies
+ * Custom hook which ejects a local autosave after a successful save occurs.
  */


+function useAutosavePurge() {
+  const {
+    postId,
+    isEditedPostNew,
+    isDirty,
+    isAutosaving,
+    didError
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    postId: select(store).getCurrentPostId(),
+    isEditedPostNew: select(store).isEditedPostNew(),
+    isDirty: select(store).isEditedPostDirty(),
+    isAutosaving: select(store).isAutosavingPost(),
+    didError: select(store).didPostSaveRequestFail()
+  }), []);
+  const lastIsDirty = (0,external_wp_element_namespaceObject.useRef)(isDirty);
+  const lastIsAutosaving = (0,external_wp_element_namespaceObject.useRef)(isAutosaving);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!didError && (lastIsAutosaving.current && !isAutosaving || lastIsDirty.current && !isDirty)) {
+      localAutosaveClear(postId, isEditedPostNew);
+    }

+    lastIsDirty.current = isDirty;
+    lastIsAutosaving.current = isAutosaving;
+  }, [isDirty, isAutosaving, didError]); // Once the isEditedPostNew changes from true to false, let's clear the auto-draft autosave.

-const minimumUsersForCombobox = 25;
+  const wasEditedPostNew = (0,external_wp_compose_namespaceObject.usePrevious)(isEditedPostNew);
+  const prevPostId = (0,external_wp_compose_namespaceObject.usePrevious)(postId);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (prevPostId === postId && wasEditedPostNew && !isEditedPostNew) {
+      localAutosaveClear(postId, true);
+    }
+  }, [isEditedPostNew, postId]);
+}

-function PostAuthor() {
-  const showCombobox = Object(external_wp_data_["useSelect"])(select => {
-    const authors = select(external_wp_coreData_["store"]).getUsers(AUTHORS_QUERY);
-    return (authors === null || authors === void 0 ? void 0 : authors.length) >= minimumUsersForCombobox;
+function LocalAutosaveMonitor() {
+  const {
+    autosave
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const deferredAutosave = (0,external_wp_element_namespaceObject.useCallback)(() => {
+    requestIdleCallback(() => autosave({
+      local: true
+    }));
   }, []);
-
-  if (showCombobox) {
-    return Object(external_wp_element_["createElement"])(combobox, null);
-  }
-
-  return Object(external_wp_element_["createElement"])(post_author_select, null);
+  useAutosaveNotice();
+  useAutosavePurge();
+  const {
+    localAutosaveInterval
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    localAutosaveInterval: select(store).getEditorSettings().__experimentalLocalAutosaveInterval
+  }), []);
+  return (0,external_wp_element_namespaceObject.createElement)(autosave_monitor, {
+    interval: localAutosaveInterval,
+    autosave: deferredAutosave
+  });
 }

-/* harmony default export */ var post_author = (PostAuthor);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/check.js
-
+/* harmony default export */ var local_autosave_monitor = ((0,external_wp_compose_namespaceObject.ifCondition)(hasSessionStorageSupport)(LocalAutosaveMonitor));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/page-attributes/check.js
 /**
  * External dependencies
  */
@@ -6440,35 +6067,33 @@ function PostAuthor() {
  */


-
-
-function PostAuthorCheck(_ref) {
+function PageAttributesCheck(_ref) {
   let {
     children
   } = _ref;
-  const {
-    hasAssignAuthorAction,
-    hasAuthors
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const post = select(store).getCurrentPost();
-    const authors = select(external_wp_coreData_["store"]).getUsers(AUTHORS_QUERY);
-    return {
-      hasAssignAuthorAction: Object(external_lodash_["get"])(post, ['_links', 'wp:action-assign-author'], false),
-      hasAuthors: (authors === null || authors === void 0 ? void 0 : authors.length) >= 1
-    };
+  const postType = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEditedPostAttribute
+    } = select(store);
+    const {
+      getPostType
+    } = select(external_wp_coreData_namespaceObject.store);
+    return getPostType(getEditedPostAttribute('type'));
   }, []);
+  const supportsPageAttributes = (0,external_lodash_namespaceObject.get)(postType, ['supports', 'page-attributes'], false); // Only render fields if post type supports page attributes or available templates exist.

-  if (!hasAssignAuthorAction || !hasAuthors) {
+  if (!supportsPageAttributes) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(post_type_support_check, {
-    supportKeys: "author"
-  }, children);
+  return children;
 }
+/* harmony default export */ var page_attributes_check = (PageAttributesCheck);

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-comments/index.js
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-type-support-check/index.js
+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -6476,40 +6101,61 @@ function PostAuthorCheck(_ref) {



-
 /**
  * Internal dependencies
  */


+/**
+ * A component which renders its own children only if the current editor post
+ * type supports one of the given `supportKeys` prop.
+ *
+ * @param {Object}            props             Props.
+ * @param {string}            [props.postType]  Current post type.
+ * @param {WPElement}         props.children    Children to be rendered if post
+ *                                              type supports.
+ * @param {(string|string[])} props.supportKeys String or string array of keys
+ *                                              to test.
+ *
+ * @return {WPComponent} The component to be rendered.
+ */

-function PostComments(_ref) {
+function PostTypeSupportCheck(_ref) {
   let {
-    commentStatus = 'open',
-    ...props
+    postType,
+    children,
+    supportKeys
   } = _ref;
+  let isSupported = true;

-  const onToggleComments = () => props.editPost({
-    comment_status: commentStatus === 'open' ? 'closed' : 'open'
-  });
+  if (postType) {
+    isSupported = (0,external_lodash_namespaceObject.some)((0,external_lodash_namespaceObject.castArray)(supportKeys), key => !!postType.supports[key]);
+  }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["CheckboxControl"], {
-    label: Object(external_wp_i18n_["__"])('Allow comments'),
-    checked: commentStatus === 'open',
-    onChange: onToggleComments
-  });
-}
+  if (!isSupported) {
+    return null;
+  }

-/* harmony default export */ var post_comments = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
+  return children;
+}
+/* harmony default export */ var post_type_support_check = ((0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    getEditedPostAttribute
+  } = select(store);
+  const {
+    getPostType
+  } = select(external_wp_coreData_namespaceObject.store);
   return {
-    commentStatus: select(store).getEditedPostAttribute('comment_status')
+    postType: getPostType(getEditedPostAttribute('type'))
   };
-}), Object(external_wp_data_["withDispatch"])(dispatch => ({
-  editPost: dispatch(store).editPost
-}))])(PostComments));
+})(PostTypeSupportCheck));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/page-attributes/order.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-excerpt/index.js

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -6518,135 +6164,133 @@ function PostComments(_ref) {



+
+
 /**
  * Internal dependencies
  */



-function PostExcerpt(_ref) {
+const PageAttributesOrder = _ref => {
   let {
-    excerpt,
-    onUpdateExcerpt
+    onUpdateOrder,
+    order = 0
   } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-excerpt"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextareaControl"], {
-    label: Object(external_wp_i18n_["__"])('Write an excerpt (optional)'),
-    className: "editor-post-excerpt__textarea",
-    onChange: value => onUpdateExcerpt(value),
-    value: excerpt
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["ExternalLink"], {
-    href: Object(external_wp_i18n_["__"])('https://wordpress.org/support/article/excerpt/')
-  }, Object(external_wp_i18n_["__"])('Learn more about manual excerpts')));
+  const [orderInput, setOrderInput] = (0,external_wp_element_namespaceObject.useState)(null);
+
+  const setUpdatedOrder = value => {
+    setOrderInput(value);
+    const newOrder = Number(value);
+
+    if (Number.isInteger(newOrder) && (0,external_lodash_namespaceObject.invoke)(value, ['trim']) !== '') {
+      onUpdateOrder(Number(value));
+    }
+  };
+
+  const value = orderInput === null ? order : orderInput;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    className: "editor-page-attributes__order",
+    type: "number",
+    label: (0,external_wp_i18n_namespaceObject.__)('Order'),
+    value: value,
+    onChange: setUpdatedOrder,
+    size: 6,
+    onBlur: () => {
+      setOrderInput(null);
+    }
+  });
+};
+
+function PageAttributesOrderWithChecks(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(post_type_support_check, {
+    supportKeys: "page-attributes"
+  }, (0,external_wp_element_namespaceObject.createElement)(PageAttributesOrder, props));
 }

-/* harmony default export */ var post_excerpt = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var order = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
   return {
-    excerpt: select(store).getEditedPostAttribute('excerpt')
+    order: select(store).getEditedPostAttribute('menu_order')
   };
-}), Object(external_wp_data_["withDispatch"])(dispatch => ({
-  onUpdateExcerpt(excerpt) {
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
+  onUpdateOrder(order) {
     dispatch(store).editPost({
-      excerpt
+      menu_order: order
     });
   }

-}))])(PostExcerpt));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-excerpt/check.js
-
-
-
-/**
- * Internal dependencies
- */
-
-
-function PostExcerptCheck(props) {
-  return Object(external_wp_element_["createElement"])(post_type_support_check, Object(esm_extends["a" /* default */])({}, props, {
-    supportKeys: "excerpt"
-  }));
-}
-
-/* harmony default export */ var post_excerpt_check = (PostExcerptCheck);
+}))])(PageAttributesOrderWithChecks));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/theme-support-check/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/terms.js
 /**
  * External dependencies
  */

 /**
- * WordPress dependencies
- */
-
-
-
-/**
- * Internal dependencies
- */
-
-
-function ThemeSupportCheck(_ref) {
-  let {
-    themeSupports,
-    children,
-    postType,
-    supportKeys
-  } = _ref;
-  const isSupported = Object(external_lodash_["some"])(Object(external_lodash_["castArray"])(supportKeys), key => {
-    const supported = Object(external_lodash_["get"])(themeSupports, [key], false); // 'post-thumbnails' can be boolean or an array of post types.
-    // In the latter case, we need to verify `postType` exists
-    // within `supported`. If `postType` isn't passed, then the check
-    // should fail.
-
-    if ('post-thumbnails' === key && Object(external_lodash_["isArray"])(supported)) {
-      return Object(external_lodash_["includes"])(supported, postType);
-    }
+ * Returns terms in a tree form.
+ *
+ * @param {Array} flatTerms Array of terms in flat format.
+ *
+ * @return {Array} Array of terms in tree format.
+ */

-    return supported;
+function buildTermsTree(flatTerms) {
+  const flatTermsWithParentAndChildren = flatTerms.map(term => {
+    return {
+      children: [],
+      parent: null,
+      ...term
+    };
   });
+  const termsByParent = (0,external_lodash_namespaceObject.groupBy)(flatTermsWithParentAndChildren, 'parent');

-  if (!isSupported) {
-    return null;
+  if (termsByParent.null && termsByParent.null.length) {
+    return flatTermsWithParentAndChildren;
   }

-  return children;
-}
-/* harmony default export */ var theme_support_check = (Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getThemeSupports
-  } = select(external_wp_coreData_["store"]);
-  const {
-    getEditedPostAttribute
-  } = select(store);
-  return {
-    postType: getEditedPostAttribute('type'),
-    themeSupports: getThemeSupports()
+  const fillWithChildren = terms => {
+    return terms.map(term => {
+      const children = termsByParent[term.id];
+      return { ...term,
+        children: children && children.length ? fillWithChildren(children) : []
+      };
+    });
   };
-})(ThemeSupportCheck));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-featured-image/check.js
-

+  return fillWithChildren(termsByParent['0'] || []);
+} // Lodash unescape function handles &#39; but not &#039; which may be return in some API requests.

+const unescapeString = arg => {
+  return (0,external_lodash_namespaceObject.unescape)(arg.replace('&#039;', "'"));
+};
 /**
- * Internal dependencies
+ * Returns a term object with name unescaped.
+ * The unescape of the name property is done using lodash unescape function.
+ *
+ * @param {Object} term The term object to unescape.
+ *
+ * @return {Object} Term object with name property unescaped.
  */

+const unescapeTerm = term => {
+  return { ...term,
+    name: unescapeString(term.name)
+  };
+};
+/**
+ * Returns an array of term objects with names unescaped.
+ * The unescape of each term is performed using the unescapeTerm function.
+ *
+ * @param {Object[]} terms Array of term objects to unescape.
+ *
+ * @return {Object[]} Array of term objects unescaped.
+ */

+const unescapeTerms = terms => {
+  return (0,external_lodash_namespaceObject.map)(terms, unescapeTerm);
+};

-function PostFeaturedImageCheck(props) {
-  return Object(external_wp_element_["createElement"])(theme_support_check, {
-    supportKeys: "post-thumbnails"
-  }, Object(external_wp_element_["createElement"])(post_type_support_check, Object(esm_extends["a" /* default */])({}, props, {
-    supportKeys: "thumbnail"
-  })));
-}
-
-/* harmony default export */ var post_featured_image_check = (PostFeaturedImageCheck);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-featured-image/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/page-attributes/parent.js


 /**
@@ -6663,223 +6307,161 @@ function PostFeaturedImageCheck(props) {



-
 /**
  * Internal dependencies
  */



-const ALLOWED_MEDIA_TYPES = ['image']; // Used when labels from post type were not yet loaded or when they are not present.
-
-const DEFAULT_FEATURE_IMAGE_LABEL = Object(external_wp_i18n_["__"])('Featured image');
-
-const DEFAULT_SET_FEATURE_IMAGE_LABEL = Object(external_wp_i18n_["__"])('Set featured image');
-
-const DEFAULT_REMOVE_FEATURE_IMAGE_LABEL = Object(external_wp_i18n_["__"])('Remove image');

-function PostFeaturedImage(_ref) {
-  var _media$media_details$, _media$media_details$2;
-
-  let {
-    currentPostId,
-    featuredImageId,
-    onUpdateImage,
-    onDropImage,
-    onRemoveImage,
-    media,
-    postType,
-    noticeUI
-  } = _ref;
-  const postLabel = Object(external_lodash_["get"])(postType, ['labels'], {});
-  const instructions = Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('To edit the featured image, you need permission to upload media.'));
-  let mediaWidth, mediaHeight, mediaSourceUrl;
+function getTitle(post) {
+  var _post$title;

-  if (media) {
-    const mediaSize = Object(external_wp_hooks_["applyFilters"])('editor.PostFeaturedImage.imageSize', 'post-thumbnail', media.id, currentPostId);
+  return post !== null && post !== void 0 && (_post$title = post.title) !== null && _post$title !== void 0 && _post$title.rendered ? (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(post.title.rendered) : `#${post.id} (${(0,external_wp_i18n_namespaceObject.__)('no title')})`;
+}

-    if (Object(external_lodash_["has"])(media, ['media_details', 'sizes', mediaSize])) {
-      // use mediaSize when available
-      mediaWidth = media.media_details.sizes[mediaSize].width;
-      mediaHeight = media.media_details.sizes[mediaSize].height;
-      mediaSourceUrl = media.media_details.sizes[mediaSize].source_url;
-    } else {
-      // get fallbackMediaSize if mediaSize is not available
-      const fallbackMediaSize = Object(external_wp_hooks_["applyFilters"])('editor.PostFeaturedImage.imageSize', 'thumbnail', media.id, currentPostId);
+const getItemPriority = (name, searchValue) => {
+  const normalizedName = (0,external_lodash_namespaceObject.deburr)(name).toLowerCase();
+  const normalizedSearch = (0,external_lodash_namespaceObject.deburr)(searchValue).toLowerCase();

-      if (Object(external_lodash_["has"])(media, ['media_details', 'sizes', fallbackMediaSize])) {
-        // use fallbackMediaSize when mediaSize is not available
-        mediaWidth = media.media_details.sizes[fallbackMediaSize].width;
-        mediaHeight = media.media_details.sizes[fallbackMediaSize].height;
-        mediaSourceUrl = media.media_details.sizes[fallbackMediaSize].source_url;
-      } else {
-        // use full image size when mediaFallbackSize and mediaSize are not available
-        mediaWidth = media.media_details.width;
-        mediaHeight = media.media_details.height;
-        mediaSourceUrl = media.source_url;
-      }
-    }
+  if (normalizedName === normalizedSearch) {
+    return 0;
   }

-  return Object(external_wp_element_["createElement"])(post_featured_image_check, null, noticeUI, Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-featured-image"
-  }, media && Object(external_wp_element_["createElement"])("div", {
-    id: `editor-post-featured-image-${featuredImageId}-describedby`,
-    className: "hidden"
-  }, media.alt_text && Object(external_wp_i18n_["sprintf"])( // Translators: %s: The selected image alt text.
-  Object(external_wp_i18n_["__"])('Current image: %s'), media.alt_text), !media.alt_text && Object(external_wp_i18n_["sprintf"])( // Translators: %s: The selected image filename.
-  Object(external_wp_i18n_["__"])('The current image has no alternative text. The file name is: %s'), ((_media$media_details$ = media.media_details.sizes) === null || _media$media_details$ === void 0 ? void 0 : (_media$media_details$2 = _media$media_details$.full) === null || _media$media_details$2 === void 0 ? void 0 : _media$media_details$2.file) || media.slug)), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUploadCheck"], {
-    fallback: instructions
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUpload"], {
-    title: postLabel.featured_image || DEFAULT_FEATURE_IMAGE_LABEL,
-    onSelect: onUpdateImage,
-    unstableFeaturedImageFlow: true,
-    allowedTypes: ALLOWED_MEDIA_TYPES,
-    modalClass: "editor-post-featured-image__media-modal",
-    render: _ref2 => {
-      let {
-        open
-      } = _ref2;
-      return Object(external_wp_element_["createElement"])("div", {
-        className: "editor-post-featured-image__container"
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        className: !featuredImageId ? 'editor-post-featured-image__toggle' : 'editor-post-featured-image__preview',
-        onClick: open,
-        "aria-label": !featuredImageId ? null : Object(external_wp_i18n_["__"])('Edit or update the image'),
-        "aria-describedby": !featuredImageId ? null : `editor-post-featured-image-${featuredImageId}-describedby`
-      }, !!featuredImageId && media && Object(external_wp_element_["createElement"])(external_wp_components_["ResponsiveWrapper"], {
-        naturalWidth: mediaWidth,
-        naturalHeight: mediaHeight,
-        isInline: true
-      }, Object(external_wp_element_["createElement"])("img", {
-        src: mediaSourceUrl,
-        alt: ""
-      })), !!featuredImageId && !media && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null), !featuredImageId && (postLabel.set_featured_image || DEFAULT_SET_FEATURE_IMAGE_LABEL)), Object(external_wp_element_["createElement"])(external_wp_components_["DropZone"], {
-        onFilesDrop: onDropImage
-      }));
-    },
-    value: featuredImageId
-  })), !!featuredImageId && media && !media.isLoading && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUploadCheck"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUpload"], {
-    title: postLabel.featured_image || DEFAULT_FEATURE_IMAGE_LABEL,
-    onSelect: onUpdateImage,
-    unstableFeaturedImageFlow: true,
-    allowedTypes: ALLOWED_MEDIA_TYPES,
-    modalClass: "editor-post-featured-image__media-modal",
-    render: _ref3 => {
-      let {
-        open
-      } = _ref3;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-        onClick: open,
-        variant: "secondary"
-      }, Object(external_wp_i18n_["__"])('Replace Image'));
-    }
-  })), !!featuredImageId && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUploadCheck"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    onClick: onRemoveImage,
-    variant: "link",
-    isDestructive: true
-  }, postLabel.remove_featured_image || DEFAULT_REMOVE_FEATURE_IMAGE_LABEL))));
-}
+  if (normalizedName.startsWith(normalizedSearch)) {
+    return normalizedName.length;
+  }

-const applyWithSelect = Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getMedia,
-    getPostType
-  } = select(external_wp_coreData_["store"]);
-  const {
-    getCurrentPostId,
-    getEditedPostAttribute
-  } = select(store);
-  const featuredImageId = getEditedPostAttribute('featured_media');
-  return {
-    media: featuredImageId ? getMedia(featuredImageId, {
-      context: 'view'
-    }) : null,
-    currentPostId: getCurrentPostId(),
-    postType: getPostType(getEditedPostAttribute('type')),
-    featuredImageId
-  };
-});
-const applyWithDispatch = Object(external_wp_data_["withDispatch"])((dispatch, _ref4, _ref5) => {
-  let {
-    noticeOperations
-  } = _ref4;
-  let {
-    select
-  } = _ref5;
+  return Infinity;
+};
+function PageAttributesParent() {
   const {
     editPost
-  } = dispatch(store);
-  return {
-    onUpdateImage(image) {
-      editPost({
-        featured_media: image.id
-      });
-    },
-
-    onDropImage(filesList) {
-      select(external_wp_blockEditor_["store"]).getSettings().mediaUpload({
-        allowedTypes: ['image'],
-        filesList,
-
-        onFileChange(_ref6) {
-          let [image] = _ref6;
-          editPost({
-            featured_media: image.id
-          });
-        },
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const [fieldValue, setFieldValue] = (0,external_wp_element_namespaceObject.useState)(false);
+  const {
+    parentPost,
+    parentPostId,
+    items,
+    postType
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getPostType,
+      getEntityRecords,
+      getEntityRecord
+    } = select(external_wp_coreData_namespaceObject.store);
+    const {
+      getCurrentPostId,
+      getEditedPostAttribute
+    } = select(store);
+    const postTypeSlug = getEditedPostAttribute('type');
+    const pageId = getEditedPostAttribute('parent');
+    const pType = getPostType(postTypeSlug);
+    const postId = getCurrentPostId();
+    const isHierarchical = (0,external_lodash_namespaceObject.get)(pType, ['hierarchical'], false);
+    const query = {
+      per_page: 100,
+      exclude: postId,
+      parent_exclude: postId,
+      orderby: 'menu_order',
+      order: 'asc',
+      _fields: 'id,title,parent'
+    }; // Perform a search when the field is changed.

-        onError(message) {
-          noticeOperations.removeAllNotices();
-          noticeOperations.createErrorNotice(message);
-        }
+    if (!!fieldValue) {
+      query.search = fieldValue;
+    }

+    return {
+      parentPostId: pageId,
+      parentPost: pageId ? getEntityRecord('postType', postTypeSlug, pageId) : null,
+      items: isHierarchical ? getEntityRecords('postType', postTypeSlug, query) : [],
+      postType: pType
+    };
+  }, [fieldValue]);
+  const isHierarchical = (0,external_lodash_namespaceObject.get)(postType, ['hierarchical'], false);
+  const parentPageLabel = (0,external_lodash_namespaceObject.get)(postType, ['labels', 'parent_item_colon']);
+  const pageItems = items || [];
+  const parentOptions = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const getOptionsFromTree = function (tree) {
+      let level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
+      const mappedNodes = tree.map(treeNode => [{
+        value: treeNode.id,
+        label: (0,external_lodash_namespaceObject.repeat)('— ', level) + (0,external_lodash_namespaceObject.unescape)(treeNode.name),
+        rawName: treeNode.name
+      }, ...getOptionsFromTree(treeNode.children || [], level + 1)]);
+      const sortedNodes = mappedNodes.sort((_ref, _ref2) => {
+        let [a] = _ref;
+        let [b] = _ref2;
+        const priorityA = getItemPriority(a.rawName, fieldValue);
+        const priorityB = getItemPriority(b.rawName, fieldValue);
+        return priorityA >= priorityB ? 1 : -1;
       });
-    },
+      return (0,external_lodash_namespaceObject.flatten)(sortedNodes);
+    };

-    onRemoveImage() {
-      editPost({
-        featured_media: 0
-      });
+    let tree = pageItems.map(item => ({
+      id: item.id,
+      parent: item.parent,
+      name: getTitle(item)
+    })); // Only build a hierarchical tree when not searching.
+
+    if (!fieldValue) {
+      tree = buildTermsTree(tree);
     }

-  };
-});
-/* harmony default export */ var post_featured_image = (Object(external_wp_compose_["compose"])(external_wp_components_["withNotices"], applyWithSelect, applyWithDispatch, Object(external_wp_components_["withFilters"])('editor.PostFeaturedImage'))(PostFeaturedImage));
+    const opts = getOptionsFromTree(tree); // Ensure the current parent is in the options list.

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-format/check.js
+    const optsHasParent = (0,external_lodash_namespaceObject.find)(opts, item => item.value === parentPostId);

+    if (parentPost && !optsHasParent) {
+      opts.unshift({
+        value: parentPostId,
+        label: getTitle(parentPost)
+      });
+    }

+    return opts;
+  }, [pageItems, fieldValue]);

-/**
- * WordPress dependencies
- */
+  if (!isHierarchical || !parentPageLabel) {
+    return null;
+  }
+  /**
+   * Handle user input.
+   *
+   * @param {string} inputValue The current value of the input field.
+   */

-/**
- * Internal dependencies
- */

+  const handleKeydown = inputValue => {
+    setFieldValue(inputValue);
+  };
+  /**
+   * Handle author selection.
+   *
+   * @param {Object} selectedPostId The selected Author.
+   */


+  const handleChange = selectedPostId => {
+    editPost({
+      parent: selectedPostId
+    });
+  };

-function PostFormatCheck(_ref) {
-  let {
-    disablePostFormats,
-    ...props
-  } = _ref;
-  return !disablePostFormats && Object(external_wp_element_["createElement"])(post_type_support_check, Object(esm_extends["a" /* default */])({}, props, {
-    supportKeys: "post-formats"
-  }));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ComboboxControl, {
+    className: "editor-page-attributes__parent",
+    label: parentPageLabel,
+    value: parentPostId,
+    options: parentOptions,
+    onFilterValueChange: (0,external_lodash_namespaceObject.debounce)(handleKeydown, 300),
+    onChange: handleChange
+  });
 }
+/* harmony default export */ var page_attributes_parent = (PageAttributesParent);

-/* harmony default export */ var post_format_check = (Object(external_wp_data_["withSelect"])(select => {
-  const editorSettings = select(store).getEditorSettings();
-  return {
-    disablePostFormats: editorSettings.disablePostFormats
-  };
-})(PostFormatCheck));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-format/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-template/index.js


 /**
@@ -6894,227 +6476,74 @@ function PostFormatCheck(_ref) {



-
 /**
  * Internal dependencies
  */


- // All WP post formats, sorted alphabetically by translated name.
-
-const POST_FORMATS = [{
-  id: 'aside',
-  caption: Object(external_wp_i18n_["__"])('Aside')
-}, {
-  id: 'audio',
-  caption: Object(external_wp_i18n_["__"])('Audio')
-}, {
-  id: 'chat',
-  caption: Object(external_wp_i18n_["__"])('Chat')
-}, {
-  id: 'gallery',
-  caption: Object(external_wp_i18n_["__"])('Gallery')
-}, {
-  id: 'image',
-  caption: Object(external_wp_i18n_["__"])('Image')
-}, {
-  id: 'link',
-  caption: Object(external_wp_i18n_["__"])('Link')
-}, {
-  id: 'quote',
-  caption: Object(external_wp_i18n_["__"])('Quote')
-}, {
-  id: 'standard',
-  caption: Object(external_wp_i18n_["__"])('Standard')
-}, {
-  id: 'status',
-  caption: Object(external_wp_i18n_["__"])('Status')
-}, {
-  id: 'video',
-  caption: Object(external_wp_i18n_["__"])('Video')
-}].sort((a, b) => {
-  const normalizedA = a.caption.toUpperCase();
-  const normalizedB = b.caption.toUpperCase();
-
-  if (normalizedA < normalizedB) {
-    return -1;
-  }
-
-  if (normalizedA > normalizedB) {
-    return 1;
-  }
-
-  return 0;
-});
-function PostFormat() {
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(PostFormat);
-  const postFormatSelectorId = `post-format-selector-${instanceId}`;
+function PostTemplate(_ref) {
+  let {} = _ref;
   const {
-    postFormat,
-    suggestedFormat,
-    supportedFormats
-  } = Object(external_wp_data_["useSelect"])(select => {
+    availableTemplates,
+    selectedTemplate,
+    isViewable
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _getPostType$viewable, _getPostType;
+
     const {
       getEditedPostAttribute,
-      getSuggestedPostFormat
+      getEditorSettings,
+      getCurrentPostType
     } = select(store);
-
-    const _postFormat = getEditedPostAttribute('format');
-
-    const themeSupports = select(external_wp_coreData_["store"]).getThemeSupports();
+    const {
+      getPostType
+    } = select(external_wp_coreData_namespaceObject.store);
     return {
-      postFormat: _postFormat !== null && _postFormat !== void 0 ? _postFormat : 'standard',
-      suggestedFormat: getSuggestedPostFormat(),
-      // Ensure current format is always in the set.
-      // The current format may not be a format supported by the theme.
-      supportedFormats: Object(external_lodash_["union"])([_postFormat], Object(external_lodash_["get"])(themeSupports, ['formats'], []))
+      selectedTemplate: getEditedPostAttribute('template'),
+      availableTemplates: getEditorSettings().availableTemplates,
+      isViewable: (_getPostType$viewable = (_getPostType = getPostType(getCurrentPostType())) === null || _getPostType === void 0 ? void 0 : _getPostType.viewable) !== null && _getPostType$viewable !== void 0 ? _getPostType$viewable : false
     };
   }, []);
-  const formats = POST_FORMATS.filter(format => Object(external_lodash_["includes"])(supportedFormats, format.id));
-  const suggestion = Object(external_lodash_["find"])(formats, format => format.id === suggestedFormat);
   const {
     editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
-
-  const onUpdatePostFormat = format => editPost({
-    format
-  });
-
-  return Object(external_wp_element_["createElement"])(post_format_check, null, Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-format"
-  }, Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-format__content"
-  }, Object(external_wp_element_["createElement"])("label", {
-    htmlFor: postFormatSelectorId
-  }, Object(external_wp_i18n_["__"])('Post Format')), Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    value: postFormat,
-    onChange: format => onUpdatePostFormat(format),
-    id: postFormatSelectorId,
-    options: formats.map(format => ({
-      label: format.caption,
-      value: format.id
-    }))
-  })), suggestion && suggestion.id !== postFormat && Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-format__suggestion"
-  }, Object(external_wp_i18n_["__"])('Suggestion:'), ' ', Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "link",
-    onClick: () => onUpdatePostFormat(suggestion.id)
-  }, Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: post format */
-  Object(external_wp_i18n_["__"])('Apply format: %s'), suggestion.caption)))));
-}
-
-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/backup.js
-
-
-/**
- * WordPress dependencies
- */
-
-const backup = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M5.5 12h1.75l-2.5 3-2.5-3H4a8 8 0 113.134 6.35l.907-1.194A6.5 6.5 0 105.5 12zm9.53 1.97l-2.28-2.28V8.5a.75.75 0 00-1.5 0V12a.747.747 0 00.218.529l1.282-.84-1.28.842 2.5 2.5a.75.75 0 101.06-1.061z"
-}));
-/* harmony default export */ var library_backup = (backup);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-last-revision/check.js
-
-
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-function PostLastRevisionCheck(_ref) {
-  let {
-    lastRevisionId,
-    revisionsCount,
-    children
-  } = _ref;
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-  if (!lastRevisionId || revisionsCount < 2) {
+  if (!isViewable || (0,external_lodash_namespaceObject.isEmpty)(availableTemplates)) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(post_type_support_check, {
-    supportKeys: "revisions"
-  }, children);
-}
-/* harmony default export */ var post_last_revision_check = (Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getCurrentPostLastRevisionId,
-    getCurrentPostRevisionsCount
-  } = select(store);
-  return {
-    lastRevisionId: getCurrentPostLastRevisionId(),
-    revisionsCount: getCurrentPostRevisionsCount()
-  };
-})(PostLastRevisionCheck));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-last-revision/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-
-
-function LastRevision(_ref) {
-  let {
-    lastRevisionId,
-    revisionsCount
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(post_last_revision_check, null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    href: getWPAdminURL('revision.php', {
-      revision: lastRevisionId,
-      gutenberg: true
-    }),
-    className: "editor-post-last-revision__title",
-    icon: library_backup
-  }, Object(external_wp_i18n_["sprintf"])(
-  /* translators: %d: number of revisions */
-  Object(external_wp_i18n_["_n"])('%d Revision', '%d Revisions', revisionsCount), revisionsCount)));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Template:'),
+    value: selectedTemplate,
+    onChange: templateSlug => {
+      editPost({
+        template: templateSlug || ''
+      });
+    },
+    options: (0,external_lodash_namespaceObject.map)(availableTemplates, (templateName, templateSlug) => ({
+      value: templateSlug,
+      label: templateName
+    }))
+  });
 }
+/* harmony default export */ var post_template = (PostTemplate);

-/* harmony default export */ var post_last_revision = (Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getCurrentPostLastRevisionId,
-    getCurrentPostRevisionsCount
-  } = select(store);
-  return {
-    lastRevisionId: getCurrentPostLastRevisionId(),
-    revisionsCount: getCurrentPostRevisionsCount()
-  };
-})(LastRevision));
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/constants.js
+const AUTHORS_QUERY = {
+  who: 'authors',
+  per_page: 50,
+  _fields: 'id,name',
+  context: 'view' // Allows non-admins to perform requests.

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-preview-button/index.js
+};
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/combobox.js


 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */
@@ -7125,254 +6554,208 @@ function LastRevision(_ref) {



-
 /**
  * Internal dependencies
  */



-function writeInterstitialMessage(targetDocument) {
-  let markup = Object(external_wp_element_["renderToString"])(Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-preview-button__interstitial-message"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
-    xmlns: "http://www.w3.org/2000/svg",
-    viewBox: "0 0 96 96"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
-    className: "outer",
-    d: "M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",
-    fill: "none"
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
-    className: "inner",
-    d: "M69.5 46.4c0-3.9-1.4-6.7-2.6-8.8-1.6-2.6-3.1-4.9-3.1-7.5 0-2.9 2.2-5.7 5.4-5.7h.4C63.9 19.2 56.4 16 48 16c-11.2 0-21 5.7-26.7 14.4h2.1c3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3L40 67.5l7-20.9L42 33c-1.7-.1-3.3-.3-3.3-.3-1.7-.1-1.5-2.7.2-2.6 0 0 5.3.4 8.4.4 3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3l11.5 34.3 3.3-10.4c1.6-4.5 2.4-7.8 2.4-10.5zM16.1 48c0 12.6 7.3 23.5 18 28.7L18.8 35c-1.7 4-2.7 8.4-2.7 13zm32.5 2.8L39 78.6c2.9.8 5.9 1.3 9 1.3 3.7 0 7.3-.6 10.6-1.8-.1-.1-.2-.3-.2-.4l-9.8-26.9zM76.2 36c0 3.2-.6 6.9-2.4 11.4L64 75.6c9.5-5.5 15.9-15.8 15.9-27.6 0-5.5-1.4-10.8-3.9-15.3.1 1 .2 2.1.2 3.3z",
-    fill: "none"
-  })), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('Generating preview…'))));
-  markup += `
-		<style>
-			body {
-				margin: 0;
-			}
-			.editor-post-preview-button__interstitial-message {
-				display: flex;
-				flex-direction: column;
-				align-items: center;
-				justify-content: center;
-				height: 100vh;
-				width: 100vw;
-			}
-			@-webkit-keyframes paint {
-				0% {
-					stroke-dashoffset: 0;
-				}
-			}
-			@-moz-keyframes paint {
-				0% {
-					stroke-dashoffset: 0;
-				}
-			}
-			@-o-keyframes paint {
-				0% {
-					stroke-dashoffset: 0;
-				}
-			}
-			@keyframes paint {
-				0% {
-					stroke-dashoffset: 0;
-				}
-			}
-			.editor-post-preview-button__interstitial-message svg {
-				width: 192px;
-				height: 192px;
-				stroke: #555d66;
-				stroke-width: 0.75;
-			}
-			.editor-post-preview-button__interstitial-message svg .outer,
-			.editor-post-preview-button__interstitial-message svg .inner {
-				stroke-dasharray: 280;
-				stroke-dashoffset: 280;
-				-webkit-animation: paint 1.5s ease infinite alternate;
-				-moz-animation: paint 1.5s ease infinite alternate;
-				-o-animation: paint 1.5s ease infinite alternate;
-				animation: paint 1.5s ease infinite alternate;
-			}
-			p {
-				text-align: center;
-				font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
-			}
-		</style>
-	`;
-  /**
-   * Filters the interstitial message shown when generating previews.
-   *
-   * @param {string} markup The preview interstitial markup.
-   */

-  markup = Object(external_wp_hooks_["applyFilters"])('editor.PostPreview.interstitialMarkup', markup);
-  targetDocument.write(markup);
-  targetDocument.title = Object(external_wp_i18n_["__"])('Generating preview…');
-  targetDocument.close();
-}
+function PostAuthorCombobox() {
+  const [fieldValue, setFieldValue] = (0,external_wp_element_namespaceObject.useState)();
+  const {
+    authorId,
+    isLoading,
+    authors,
+    postAuthor
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getUser,
+      getUsers,
+      isResolving
+    } = select(external_wp_coreData_namespaceObject.store);
+    const {
+      getEditedPostAttribute
+    } = select(store);
+    const author = getUser(getEditedPostAttribute('author'), {
+      context: 'view'
+    });
+    const query = { ...AUTHORS_QUERY
+    };

-class post_preview_button_PostPreviewButton extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.buttonRef = Object(external_wp_element_["createRef"])();
-    this.openPreviewWindow = this.openPreviewWindow.bind(this);
-  }
+    if (fieldValue) {
+      query.search = fieldValue;
+    }

-  componentDidUpdate(prevProps) {
-    const {
-      previewLink
-    } = this.props; // This relies on the window being responsible to unset itself when
-    // navigation occurs or a new preview window is opened, to avoid
-    // unintentional forceful redirects.
+    return {
+      authorId: getEditedPostAttribute('author'),
+      postAuthor: author,
+      authors: getUsers(query),
+      isLoading: isResolving('core', 'getUsers', [query])
+    };
+  }, [fieldValue]);
+  const {
+    editPost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const authorOptions = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    const fetchedAuthors = (authors !== null && authors !== void 0 ? authors : []).map(author => {
+      return {
+        value: author.id,
+        label: (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(author.name)
+      };
+    }); // Ensure the current author is included in the dropdown list.

-    if (previewLink && !prevProps.previewLink) {
-      this.setPreviewWindowLink(previewLink);
+    const foundAuthor = fetchedAuthors.findIndex(_ref => {
+      let {
+        value
+      } = _ref;
+      return (postAuthor === null || postAuthor === void 0 ? void 0 : postAuthor.id) === value;
+    });
+
+    if (foundAuthor < 0 && postAuthor) {
+      return [{
+        value: postAuthor.id,
+        label: (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(postAuthor.name)
+      }, ...fetchedAuthors];
     }
-  }
+
+    return fetchedAuthors;
+  }, [authors, postAuthor]);
   /**
-   * Sets the preview window's location to the given URL, if a preview window
-   * exists and is not closed.
+   * Handle author selection.
    *
-   * @param {string} url URL to assign as preview window location.
+   * @param {number} postAuthorId The selected Author.
    */

+  const handleSelect = postAuthorId => {
+    if (!postAuthorId) {
+      return;
+    }

-  setPreviewWindowLink(url) {
-    const {
-      previewWindow
-    } = this;
+    editPost({
+      author: postAuthorId
+    });
+  };
+  /**
+   * Handle user input.
+   *
+   * @param {string} inputValue The current value of the input field.
+   */

-    if (previewWindow && !previewWindow.closed) {
-      previewWindow.location = url;

-      if (this.buttonRef.current) {
-        this.buttonRef.current.focus();
-      }
-    }
-  }
+  const handleKeydown = inputValue => {
+    setFieldValue(inputValue);
+  };

-  getWindowTarget() {
-    const {
-      postId
-    } = this.props;
-    return `wp-preview-${postId}`;
+  if (!postAuthor) {
+    return null;
   }

-  openPreviewWindow(event) {
-    // Our Preview button has its 'href' and 'target' set correctly for a11y
-    // purposes. Unfortunately, though, we can't rely on the default 'click'
-    // handler since sometimes it incorrectly opens a new tab instead of reusing
-    // the existing one.
-    // https://github.com/WordPress/gutenberg/pull/8330
-    event.preventDefault(); // Open up a Preview tab if needed. This is where we'll show the preview.
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ComboboxControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Author'),
+    options: authorOptions,
+    value: authorId,
+    onFilterValueChange: (0,external_lodash_namespaceObject.debounce)(handleKeydown, 300),
+    onChange: handleSelect,
+    isLoading: isLoading,
+    allowReset: false
+  });
+}

-    if (!this.previewWindow || this.previewWindow.closed) {
-      this.previewWindow = window.open('', this.getWindowTarget());
-    } // Focus the Preview tab. This might not do anything, depending on the browser's
-    // and user's preferences.
-    // https://html.spec.whatwg.org/multipage/interaction.html#dom-window-focus
+/* harmony default export */ var combobox = (PostAuthorCombobox);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/select.js

-    this.previewWindow.focus();

-    if ( // If we don't need to autosave the post before previewing, then we simply
-    // load the Preview URL in the Preview tab.
-    !this.props.isAutosaveable || // Do not save or overwrite the post, if the post is already locked.
-    this.props.isPostLocked) {
-      this.setPreviewWindowLink(event.target.href);
-      return;
-    } // Request an autosave. This happens asynchronously and causes the component
-    // to update when finished.
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+function PostAuthorSelect() {
+  const {
+    editPost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    postAuthor,
+    authors
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return {
+      postAuthor: select(store).getEditedPostAttribute('author'),
+      authors: select(external_wp_coreData_namespaceObject.store).getUsers(AUTHORS_QUERY)
+    };
+  }, []);
+  const authorOptions = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return (authors !== null && authors !== void 0 ? authors : []).map(author => {
+      return {
+        value: author.id,
+        label: (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(author.name)
+      };
+    });
+  }, [authors]);
+
+  const setAuthorId = value => {
+    const author = Number(value);
+    editPost({
+      author
+    });
+  };
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    className: "post-author-selector",
+    label: (0,external_wp_i18n_namespaceObject.__)('Author'),
+    options: authorOptions,
+    onChange: setAuthorId,
+    value: postAuthor
+  });
+}
+
+/* harmony default export */ var post_author_select = (PostAuthorSelect);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/index.js
+

+/**
+ * WordPress dependencies
+ */

-    if (this.props.isDraft) {
-      this.props.savePost({
-        isPreview: true
-      });
-    } else {
-      this.props.autosave({
-        isPreview: true
-      });
-    } // Display a 'Generating preview' message in the Preview tab while we wait for the
-    // autosave to finish.

+/**
+ * Internal dependencies
+ */

-    writeInterstitialMessage(this.previewWindow.document);
-  }

-  render() {
-    const {
-      previewLink,
-      currentPostLink,
-      isSaveable,
-      role
-    } = this.props; // Link to the `?preview=true` URL if we have it, since this lets us see
-    // changes that were autosaved since the post was last published. Otherwise,
-    // just link to the post's URL.

-    const href = previewLink || currentPostLink;
-    const classNames = classnames_default()({
-      'editor-post-preview': !this.props.className
-    }, this.props.className);
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      variant: !this.props.className ? 'tertiary' : undefined,
-      className: classNames,
-      href: href,
-      target: this.getWindowTarget(),
-      disabled: !isSaveable,
-      onClick: this.openPreviewWindow,
-      ref: this.buttonRef,
-      role: role
-    }, this.props.textContent ? this.props.textContent : Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_i18n_["_x"])('Preview', 'imperative verb'), Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-      as: "span"
-    },
-    /* translators: accessibility text */
-    Object(external_wp_i18n_["__"])('(opens in a new tab)'))));
+
+const minimumUsersForCombobox = 25;
+
+function PostAuthor() {
+  const showCombobox = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const authors = select(external_wp_coreData_namespaceObject.store).getUsers(AUTHORS_QUERY);
+    return (authors === null || authors === void 0 ? void 0 : authors.length) >= minimumUsersForCombobox;
+  }, []);
+
+  if (showCombobox) {
+    return (0,external_wp_element_namespaceObject.createElement)(combobox, null);
   }

+  return (0,external_wp_element_namespaceObject.createElement)(post_author_select, null);
 }
-/* harmony default export */ var post_preview_button = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, _ref) => {
-  let {
-    forcePreviewLink,
-    forceIsAutosaveable
-  } = _ref;
-  const {
-    getCurrentPostId,
-    getCurrentPostAttribute,
-    getEditedPostAttribute,
-    isEditedPostSaveable,
-    isEditedPostAutosaveable,
-    getEditedPostPreviewLink,
-    isPostLocked
-  } = select(store);
-  const {
-    getPostType
-  } = select(external_wp_coreData_["store"]);
-  const previewLink = getEditedPostPreviewLink();
-  const postType = getPostType(getEditedPostAttribute('type'));
-  return {
-    postId: getCurrentPostId(),
-    currentPostLink: getCurrentPostAttribute('link'),
-    previewLink: forcePreviewLink !== undefined ? forcePreviewLink : previewLink,
-    isSaveable: isEditedPostSaveable(),
-    isAutosaveable: forceIsAutosaveable || isEditedPostAutosaveable(),
-    isViewable: Object(external_lodash_["get"])(postType, ['viewable'], false),
-    isDraft: ['draft', 'auto-draft'].indexOf(getEditedPostAttribute('status')) !== -1,
-    isPostLocked: isPostLocked()
-  };
-}), Object(external_wp_data_["withDispatch"])(dispatch => ({
-  autosave: dispatch(store).autosave,
-  savePost: dispatch(store).savePost
-})), Object(external_wp_compose_["ifCondition"])(_ref2 => {
-  let {
-    isViewable
-  } = _ref2;
-  return isViewable;
-})])(post_preview_button_PostPreviewButton));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-locked-modal/index.js
+/* harmony default export */ var post_author = (PostAuthor);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-author/check.js


 /**
@@ -7385,8 +6768,44 @@ class post_preview_button_PostPreviewButton extends external_wp_element_["Compon



+/**
+ * Internal dependencies
+ */
+
+
+
+
+function PostAuthorCheck(_ref) {
+  let {
+    children
+  } = _ref;
+  const {
+    hasAssignAuthorAction,
+    hasAuthors
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const post = select(store).getCurrentPost();
+    const authors = select(external_wp_coreData_namespaceObject.store).getUsers(AUTHORS_QUERY);
+    return {
+      hasAssignAuthorAction: (0,external_lodash_namespaceObject.get)(post, ['_links', 'wp:action-assign-author'], false),
+      hasAuthors: (authors === null || authors === void 0 ? void 0 : authors.length) >= 1
+    };
+  }, []);
+
+  if (!hasAssignAuthorAction || !hasAuthors) {
+    return null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(post_type_support_check, {
+    supportKeys: "author"
+  }, children);
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-comments/index.js


+/**
+ * WordPress dependencies
+ */



@@ -7397,183 +6816,95 @@ class post_preview_button_PostPreviewButton extends external_wp_element_["Compon



+function PostComments(_ref) {
+  let {
+    commentStatus = 'open',
+    ...props
+  } = _ref;

-function PostLockedModal() {
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(PostLockedModal);
-  const hookName = 'core/editor/post-locked-modal-' + instanceId;
-  const {
-    autosave,
-    updatePostLock
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    isLocked,
-    isTakeover,
-    user,
-    postId,
-    postLockUtils,
-    activePostLock,
-    postType
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      isPostLocked,
-      isPostLockTakeover,
-      getPostLockUser,
-      getCurrentPostId,
-      getActivePostLock,
-      getEditedPostAttribute,
-      getEditorSettings
-    } = select(store);
-    const {
-      getPostType
-    } = select(external_wp_coreData_["store"]);
-    return {
-      isLocked: isPostLocked(),
-      isTakeover: isPostLockTakeover(),
-      user: getPostLockUser(),
-      postId: getCurrentPostId(),
-      postLockUtils: getEditorSettings().postLockUtils,
-      activePostLock: getActivePostLock(),
-      postType: getPostType(getEditedPostAttribute('type'))
-    };
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    /**
-     * Keep the lock refreshed.
-     *
-     * When the user does not send a heartbeat in a heartbeat-tick
-     * the user is no longer editing and another user can start editing.
-     *
-     * @param {Object} data Data to send in the heartbeat request.
-     */
-    function sendPostLock(data) {
-      if (isLocked) {
-        return;
-      }
+  const onToggleComments = () => props.editPost({
+    comment_status: commentStatus === 'open' ? 'closed' : 'open'
+  });

-      data['wp-refresh-post-lock'] = {
-        lock: activePostLock,
-        post_id: postId
-      };
-    }
-    /**
-     * Refresh post locks: update the lock string or show the dialog if somebody has taken over editing.
-     *
-     * @param {Object} data Data received in the heartbeat request
-     */
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CheckboxControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Allow comments'),
+    checked: commentStatus === 'open',
+    onChange: onToggleComments
+  });
+}

+/* harmony default export */ var post_comments = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  return {
+    commentStatus: select(store).getEditedPostAttribute('comment_status')
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
+  editPost: dispatch(store).editPost
+}))])(PostComments));

-    function receivePostLock(data) {
-      if (!data['wp-refresh-post-lock']) {
-        return;
-      }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-excerpt/index.js

-      const received = data['wp-refresh-post-lock'];

-      if (received.lock_error) {
-        // Auto save and display the takeover modal.
-        autosave();
-        updatePostLock({
-          isLocked: true,
-          isTakeover: true,
-          user: {
-            avatar: received.lock_error.avatar_src
-          }
-        });
-      } else if (received.new_lock) {
-        updatePostLock({
-          isLocked: false,
-          activePostLock: received.new_lock
-        });
-      }
-    }
-    /**
-     * Unlock the post before the window is exited.
-     */
+/**
+ * WordPress dependencies
+ */


-    function releasePostLock() {
-      if (isLocked || !activePostLock) {
-        return;
-      }

-      const data = new window.FormData();
-      data.append('action', 'wp-remove-post-lock');
-      data.append('_wpnonce', postLockUtils.unlockNonce);
-      data.append('post_ID', postId);
-      data.append('active_post_lock', activePostLock);

-      if (window.navigator.sendBeacon) {
-        window.navigator.sendBeacon(postLockUtils.ajaxUrl, data);
-      } else {
-        const xhr = new window.XMLHttpRequest();
-        xhr.open('POST', postLockUtils.ajaxUrl, false);
-        xhr.send(data);
-      }
-    } // Details on these events on the Heartbeat API docs
-    // https://developer.wordpress.org/plugins/javascript/heartbeat-api/
+/**
+ * Internal dependencies
+ */
+
+
+
+function PostExcerpt(_ref) {
+  let {
+    excerpt,
+    onUpdateExcerpt
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-excerpt"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextareaControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Write an excerpt (optional)'),
+    className: "editor-post-excerpt__textarea",
+    onChange: value => onUpdateExcerpt(value),
+    value: excerpt
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ExternalLink, {
+    href: (0,external_wp_i18n_namespaceObject.__)('https://wordpress.org/support/article/excerpt/')
+  }, (0,external_wp_i18n_namespaceObject.__)('Learn more about manual excerpts')));
+}
+
+/* harmony default export */ var post_excerpt = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  return {
+    excerpt: select(store).getEditedPostAttribute('excerpt')
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
+  onUpdateExcerpt(excerpt) {
+    dispatch(store).editPost({
+      excerpt
+    });
+  }

+}))])(PostExcerpt));

-    Object(external_wp_hooks_["addAction"])('heartbeat.send', hookName, sendPostLock);
-    Object(external_wp_hooks_["addAction"])('heartbeat.tick', hookName, receivePostLock);
-    window.addEventListener('beforeunload', releasePostLock);
-    return () => {
-      Object(external_wp_hooks_["removeAction"])('heartbeat.send', hookName);
-      Object(external_wp_hooks_["removeAction"])('heartbeat.tick', hookName);
-      window.removeEventListener('beforeunload', releasePostLock);
-    };
-  }, []);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-excerpt/check.js

-  if (!isLocked) {
-    return null;
-  }

-  const userDisplayName = user.name;
-  const userAvatar = user.avatar;
-  const unlockUrl = Object(external_wp_url_["addQueryArgs"])('post.php', {
-    'get-post-lock': '1',
-    lockKey: true,
-    post: postId,
-    action: 'edit',
-    _wpnonce: postLockUtils.nonce
-  });
-  const allPostsUrl = getWPAdminURL('edit.php', {
-    post_type: Object(external_lodash_["get"])(postType, ['slug'])
-  });

-  const allPostsLabel = Object(external_wp_i18n_["__"])('Exit the Editor');
+/**
+ * Internal dependencies
+ */

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-    title: isTakeover ? Object(external_wp_i18n_["__"])('Someone else has taken over this post.') : Object(external_wp_i18n_["__"])('This post is already being edited.'),
-    focusOnMount: true,
-    shouldCloseOnClickOutside: false,
-    shouldCloseOnEsc: false,
-    isDismissible: false,
-    className: "editor-post-locked-modal"
-  }, !!userAvatar && Object(external_wp_element_["createElement"])("img", {
-    src: userAvatar,
-    alt: Object(external_wp_i18n_["__"])('Avatar'),
-    className: "editor-post-locked-modal__avatar"
-  }), !!isTakeover && Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])("div", null, userDisplayName ? Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: user's display name */
-  Object(external_wp_i18n_["__"])('%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved.'), userDisplayName) : Object(external_wp_i18n_["__"])('Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.')), Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-locked-modal__buttons"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "primary",
-    href: allPostsUrl
-  }, allPostsLabel))), !isTakeover && Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])("div", null, userDisplayName ? Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: user's display name */
-  Object(external_wp_i18n_["__"])('%s is currently working on this post, which means you cannot make changes, unless you take over.'), userDisplayName) : Object(external_wp_i18n_["__"])('Another user is currently working on this post, which means you cannot make changes, unless you take over.')), Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-locked-modal__buttons"
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    href: allPostsUrl
-  }, allPostsLabel), Object(external_wp_element_["createElement"])(post_preview_button, null), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "primary",
-    href: unlockUrl
-  }, Object(external_wp_i18n_["__"])('Take Over')))));
+
+function PostExcerptCheck(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(post_type_support_check, _extends({}, props, {
+    supportKeys: "excerpt"
+  }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-pending-status/check.js
+/* harmony default export */ var post_excerpt_check = (PostExcerptCheck);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/theme-support-check/index.js
 /**
  * External dependencies
  */
@@ -7589,199 +6920,305 @@ function PostLockedModal() {
  */


-function PostPendingStatusCheck(_ref) {
+function ThemeSupportCheck(_ref) {
   let {
-    hasPublishAction,
-    isPublished,
-    children
+    themeSupports,
+    children,
+    postType,
+    supportKeys
   } = _ref;
+  const isSupported = (0,external_lodash_namespaceObject.some)((0,external_lodash_namespaceObject.castArray)(supportKeys), key => {
+    const supported = (0,external_lodash_namespaceObject.get)(themeSupports, [key], false); // 'post-thumbnails' can be boolean or an array of post types.
+    // In the latter case, we need to verify `postType` exists
+    // within `supported`. If `postType` isn't passed, then the check
+    // should fail.

-  if (isPublished || !hasPublishAction) {
+    if ('post-thumbnails' === key && (0,external_lodash_namespaceObject.isArray)(supported)) {
+      return (0,external_lodash_namespaceObject.includes)(supported, postType);
+    }
+
+    return supported;
+  });
+
+  if (!isSupported) {
     return null;
   }

   return children;
 }
-/* harmony default export */ var post_pending_status_check = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var theme_support_check = ((0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
-    isCurrentPostPublished,
-    getCurrentPostType,
-    getCurrentPost
+    getThemeSupports
+  } = select(external_wp_coreData_namespaceObject.store);
+  const {
+    getEditedPostAttribute
   } = select(store);
   return {
-    hasPublishAction: Object(external_lodash_["get"])(getCurrentPost(), ['_links', 'wp:action-publish'], false),
-    isPublished: isCurrentPostPublished(),
-    postType: getCurrentPostType()
+    postType: getEditedPostAttribute('type'),
+    themeSupports: getThemeSupports()
   };
-}))(PostPendingStatusCheck));
+})(ThemeSupportCheck));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-featured-image/check.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-pending-status/index.js


 /**
- * WordPress dependencies
+ * Internal dependencies
  */



+function PostFeaturedImageCheck(props) {
+  return (0,external_wp_element_namespaceObject.createElement)(theme_support_check, {
+    supportKeys: "post-thumbnails"
+  }, (0,external_wp_element_namespaceObject.createElement)(post_type_support_check, _extends({}, props, {
+    supportKeys: "thumbnail"
+  })));
+}
+
+/* harmony default export */ var post_featured_image_check = (PostFeaturedImageCheck);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-featured-image/index.js
+

 /**
- * Internal dependencies
+ * External dependencies
  */

+/**
+ * WordPress dependencies
+ */


-function PostPendingStatus(_ref) {
-  let {
-    status,
-    onUpdateStatus
-  } = _ref;

-  const togglePendingStatus = () => {
-    const updatedStatus = status === 'pending' ? 'draft' : 'pending';
-    onUpdateStatus(updatedStatus);
-  };

-  return Object(external_wp_element_["createElement"])(post_pending_status_check, null, Object(external_wp_element_["createElement"])(external_wp_components_["CheckboxControl"], {
-    label: Object(external_wp_i18n_["__"])('Pending review'),
-    checked: status === 'pending',
-    onChange: togglePendingStatus
-  }));
-}
-/* harmony default export */ var post_pending_status = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])(select => ({
-  status: select(store).getEditedPostAttribute('status')
-})), Object(external_wp_data_["withDispatch"])(dispatch => ({
-  onUpdateStatus(status) {
-    dispatch(store).editPost({
-      status
-    });
-  }

-})))(PostPendingStatus));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-pingbacks/index.js


 /**
- * WordPress dependencies
+ * Internal dependencies
  */



+const ALLOWED_MEDIA_TYPES = ['image']; // Used when labels from post type were not yet loaded or when they are not present.

-/**
- * Internal dependencies
- */
+const DEFAULT_FEATURE_IMAGE_LABEL = (0,external_wp_i18n_namespaceObject.__)('Featured image');

+const DEFAULT_SET_FEATURE_IMAGE_LABEL = (0,external_wp_i18n_namespaceObject.__)('Set featured image');

+const DEFAULT_REMOVE_FEATURE_IMAGE_LABEL = (0,external_wp_i18n_namespaceObject.__)('Remove image');
+
+function PostFeaturedImage(_ref) {
+  var _media$media_details$, _media$media_details$2;

-function PostPingbacks(_ref) {
   let {
-    pingStatus = 'open',
-    ...props
+    currentPostId,
+    featuredImageId,
+    onUpdateImage,
+    onDropImage,
+    onRemoveImage,
+    media,
+    postType,
+    noticeUI
   } = _ref;
+  const postLabel = (0,external_lodash_namespaceObject.get)(postType, ['labels'], {});
+  const instructions = (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('To edit the featured image, you need permission to upload media.'));
+  let mediaWidth, mediaHeight, mediaSourceUrl;

-  const onTogglePingback = () => props.editPost({
-    ping_status: pingStatus === 'open' ? 'closed' : 'open'
-  });
+  if (media) {
+    const mediaSize = (0,external_wp_hooks_namespaceObject.applyFilters)('editor.PostFeaturedImage.imageSize', 'post-thumbnail', media.id, currentPostId);
+
+    if ((0,external_lodash_namespaceObject.has)(media, ['media_details', 'sizes', mediaSize])) {
+      // use mediaSize when available
+      mediaWidth = media.media_details.sizes[mediaSize].width;
+      mediaHeight = media.media_details.sizes[mediaSize].height;
+      mediaSourceUrl = media.media_details.sizes[mediaSize].source_url;
+    } else {
+      // get fallbackMediaSize if mediaSize is not available
+      const fallbackMediaSize = (0,external_wp_hooks_namespaceObject.applyFilters)('editor.PostFeaturedImage.imageSize', 'thumbnail', media.id, currentPostId);
+
+      if ((0,external_lodash_namespaceObject.has)(media, ['media_details', 'sizes', fallbackMediaSize])) {
+        // use fallbackMediaSize when mediaSize is not available
+        mediaWidth = media.media_details.sizes[fallbackMediaSize].width;
+        mediaHeight = media.media_details.sizes[fallbackMediaSize].height;
+        mediaSourceUrl = media.media_details.sizes[fallbackMediaSize].source_url;
+      } else {
+        // use full image size when mediaFallbackSize and mediaSize are not available
+        mediaWidth = media.media_details.width;
+        mediaHeight = media.media_details.height;
+        mediaSourceUrl = media.source_url;
+      }
+    }
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(post_featured_image_check, null, noticeUI, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-featured-image"
+  }, media && (0,external_wp_element_namespaceObject.createElement)("div", {
+    id: `editor-post-featured-image-${featuredImageId}-describedby`,
+    className: "hidden"
+  }, media.alt_text && (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s: The selected image alt text.
+  (0,external_wp_i18n_namespaceObject.__)('Current image: %s'), media.alt_text), !media.alt_text && (0,external_wp_i18n_namespaceObject.sprintf)( // Translators: %s: The selected image filename.
+  (0,external_wp_i18n_namespaceObject.__)('The current image has no alternative text. The file name is: %s'), ((_media$media_details$ = media.media_details.sizes) === null || _media$media_details$ === void 0 ? void 0 : (_media$media_details$2 = _media$media_details$.full) === null || _media$media_details$2 === void 0 ? void 0 : _media$media_details$2.file) || media.slug)), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUploadCheck, {
+    fallback: instructions
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUpload, {
+    title: postLabel.featured_image || DEFAULT_FEATURE_IMAGE_LABEL,
+    onSelect: onUpdateImage,
+    unstableFeaturedImageFlow: true,
+    allowedTypes: ALLOWED_MEDIA_TYPES,
+    modalClass: "editor-post-featured-image__media-modal",
+    render: _ref2 => {
+      let {
+        open
+      } = _ref2;
+      return (0,external_wp_element_namespaceObject.createElement)("div", {
+        className: "editor-post-featured-image__container"
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        className: !featuredImageId ? 'editor-post-featured-image__toggle' : 'editor-post-featured-image__preview',
+        onClick: open,
+        "aria-label": !featuredImageId ? null : (0,external_wp_i18n_namespaceObject.__)('Edit or update the image'),
+        "aria-describedby": !featuredImageId ? null : `editor-post-featured-image-${featuredImageId}-describedby`
+      }, !!featuredImageId && media && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ResponsiveWrapper, {
+        naturalWidth: mediaWidth,
+        naturalHeight: mediaHeight,
+        isInline: true
+      }, (0,external_wp_element_namespaceObject.createElement)("img", {
+        src: mediaSourceUrl,
+        alt: ""
+      })), !!featuredImageId && !media && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null), !featuredImageId && (postLabel.set_featured_image || DEFAULT_SET_FEATURE_IMAGE_LABEL)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropZone, {
+        onFilesDrop: onDropImage
+      }));
+    },
+    value: featuredImageId
+  })), !!featuredImageId && media && !media.isLoading && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUploadCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUpload, {
+    title: postLabel.featured_image || DEFAULT_FEATURE_IMAGE_LABEL,
+    onSelect: onUpdateImage,
+    unstableFeaturedImageFlow: true,
+    allowedTypes: ALLOWED_MEDIA_TYPES,
+    modalClass: "editor-post-featured-image__media-modal",
+    render: _ref3 => {
+      let {
+        open
+      } = _ref3;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+        onClick: open,
+        variant: "secondary"
+      }, (0,external_wp_i18n_namespaceObject.__)('Replace Image'));
+    }
+  })), !!featuredImageId && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUploadCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    onClick: onRemoveImage,
+    variant: "link",
+    isDestructive: true
+  }, postLabel.remove_featured_image || DEFAULT_REMOVE_FEATURE_IMAGE_LABEL))));
+}
+
+const applyWithSelect = (0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    getMedia,
+    getPostType
+  } = select(external_wp_coreData_namespaceObject.store);
+  const {
+    getCurrentPostId,
+    getEditedPostAttribute
+  } = select(store);
+  const featuredImageId = getEditedPostAttribute('featured_media');
+  return {
+    media: featuredImageId ? getMedia(featuredImageId, {
+      context: 'view'
+    }) : null,
+    currentPostId: getCurrentPostId(),
+    postType: getPostType(getEditedPostAttribute('type')),
+    featuredImageId
+  };
+});
+const applyWithDispatch = (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref4, _ref5) => {
+  let {
+    noticeOperations
+  } = _ref4;
+  let {
+    select
+  } = _ref5;
+  const {
+    editPost
+  } = dispatch(store);
+  return {
+    onUpdateImage(image) {
+      editPost({
+        featured_media: image.id
+      });
+    },
+
+    onDropImage(filesList) {
+      select(external_wp_blockEditor_namespaceObject.store).getSettings().mediaUpload({
+        allowedTypes: ['image'],
+        filesList,
+
+        onFileChange(_ref6) {
+          let [image] = _ref6;
+          editPost({
+            featured_media: image.id
+          });
+        },
+
+        onError(message) {
+          noticeOperations.removeAllNotices();
+          noticeOperations.createErrorNotice(message);
+        }
+
+      });
+    },

-  return Object(external_wp_element_["createElement"])(external_wp_components_["CheckboxControl"], {
-    label: Object(external_wp_i18n_["__"])('Allow pingbacks & trackbacks'),
-    checked: pingStatus === 'open',
-    onChange: onTogglePingback
-  });
-}
+    onRemoveImage() {
+      editPost({
+        featured_media: 0
+      });
+    }

-/* harmony default export */ var post_pingbacks = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  return {
-    pingStatus: select(store).getEditedPostAttribute('ping_status')
   };
-}), Object(external_wp_data_["withDispatch"])(dispatch => ({
-  editPost: dispatch(store).editPost
-}))])(PostPingbacks));
+});
+/* harmony default export */ var post_featured_image = ((0,external_wp_compose_namespaceObject.compose)(external_wp_components_namespaceObject.withNotices, applyWithSelect, applyWithDispatch, (0,external_wp_components_namespaceObject.withFilters)('editor.PostFeaturedImage'))(PostFeaturedImage));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-format/check.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-button/label.js
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
  */

-
-
-
 /**
  * Internal dependencies
  */


-function PublishButtonLabel(_ref) {
-  let {
-    isPublished,
-    isBeingScheduled,
-    isSaving,
-    isPublishing,
-    hasPublishAction,
-    isAutosaving,
-    hasNonPostEntityChanges
-  } = _ref;
-
-  if (isPublishing) {
-    /* translators: button label text should, if possible, be under 16 characters. */
-    return Object(external_wp_i18n_["__"])('Publishing…');
-  } else if (isPublished && isSaving && !isAutosaving) {
-    /* translators: button label text should, if possible, be under 16 characters. */
-    return Object(external_wp_i18n_["__"])('Updating…');
-  } else if (isBeingScheduled && isSaving && !isAutosaving) {
-    /* translators: button label text should, if possible, be under 16 characters. */
-    return Object(external_wp_i18n_["__"])('Scheduling…');
-  }

-  if (!hasPublishAction) {
-    return hasNonPostEntityChanges ? Object(external_wp_i18n_["__"])('Submit for Review…') : Object(external_wp_i18n_["__"])('Submit for Review');
-  } else if (isPublished) {
-    return hasNonPostEntityChanges ? Object(external_wp_i18n_["__"])('Update…') : Object(external_wp_i18n_["__"])('Update');
-  } else if (isBeingScheduled) {
-    return hasNonPostEntityChanges ? Object(external_wp_i18n_["__"])('Schedule…') : Object(external_wp_i18n_["__"])('Schedule');
-  }

-  return Object(external_wp_i18n_["__"])('Publish');
-}
-/* harmony default export */ var post_publish_button_label = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])((select, _ref2) => {
+function PostFormatCheck(_ref) {
   let {
-    forceIsSaving
-  } = _ref2;
-  const {
-    isCurrentPostPublished,
-    isEditedPostBeingScheduled,
-    isSavingPost,
-    isPublishingPost,
-    getCurrentPost,
-    getCurrentPostType,
-    isAutosavingPost
-  } = select(store);
+    disablePostFormats,
+    ...props
+  } = _ref;
+  return !disablePostFormats && (0,external_wp_element_namespaceObject.createElement)(post_type_support_check, _extends({}, props, {
+    supportKeys: "post-formats"
+  }));
+}
+
+/* harmony default export */ var post_format_check = ((0,external_wp_data_namespaceObject.withSelect)(select => {
+  const editorSettings = select(store).getEditorSettings();
   return {
-    isPublished: isCurrentPostPublished(),
-    isBeingScheduled: isEditedPostBeingScheduled(),
-    isSaving: forceIsSaving || isSavingPost(),
-    isPublishing: isPublishingPost(),
-    hasPublishAction: Object(external_lodash_["get"])(getCurrentPost(), ['_links', 'wp:action-publish'], false),
-    postType: getCurrentPostType(),
-    isAutosaving: isAutosavingPost()
+    disablePostFormats: editorSettings.disablePostFormats
   };
-})])(PublishButtonLabel));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-button/index.js
+})(PostFormatCheck));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-format/index.js


 /**
  * External dependencies
  */

-
 /**
  * WordPress dependencies
  */
@@ -7796,640 +7233,677 @@ function PublishButtonLabel(_ref) {
  */


+ // All WP post formats, sorted alphabetically by translated name.

-class post_publish_button_PostPublishButton extends external_wp_element_["Component"] {
-  constructor(props) {
-    super(props);
-    this.buttonNode = Object(external_wp_element_["createRef"])();
-    this.createOnClick = this.createOnClick.bind(this);
-    this.closeEntitiesSavedStates = this.closeEntitiesSavedStates.bind(this);
-    this.state = {
-      entitiesSavedStatesCallback: false
-    };
-  }
-
-  componentDidMount() {
-    if (this.props.focusOnMount) {
-      this.buttonNode.current.focus();
-    }
-  }
-
-  createOnClick(callback) {
-    var _this = this;
-
-    return function () {
-      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
-        args[_key] = arguments[_key];
-      }
-
-      const {
-        hasNonPostEntityChanges,
-        setEntitiesSavedStatesCallback
-      } = _this.props; // If a post with non-post entities is published, but the user
-      // elects to not save changes to the non-post entities, those
-      // entities will still be dirty when the Publish button is clicked.
-      // We also need to check that the `setEntitiesSavedStatesCallback`
-      // prop was passed. See https://github.com/WordPress/gutenberg/pull/37383
-
-      if (hasNonPostEntityChanges && setEntitiesSavedStatesCallback) {
-        // The modal for multiple entity saving will open,
-        // hold the callback for saving/publishing the post
-        // so that we can call it if the post entity is checked.
-        _this.setState({
-          entitiesSavedStatesCallback: () => callback(...args)
-        }); // Open the save panel by setting its callback.
-        // To set a function on the useState hook, we must set it
-        // with another function (() => myFunction). Passing the
-        // function on its own will cause an error when called.
-
-
-        setEntitiesSavedStatesCallback(() => _this.closeEntitiesSavedStates);
-        return external_lodash_["noop"];
-      }
+const POST_FORMATS = [{
+  id: 'aside',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Aside')
+}, {
+  id: 'audio',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Audio')
+}, {
+  id: 'chat',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Chat')
+}, {
+  id: 'gallery',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Gallery')
+}, {
+  id: 'image',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Image')
+}, {
+  id: 'link',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Link')
+}, {
+  id: 'quote',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Quote')
+}, {
+  id: 'standard',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Standard')
+}, {
+  id: 'status',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Status')
+}, {
+  id: 'video',
+  caption: (0,external_wp_i18n_namespaceObject.__)('Video')
+}].sort((a, b) => {
+  const normalizedA = a.caption.toUpperCase();
+  const normalizedB = b.caption.toUpperCase();

-      return callback(...args);
-    };
+  if (normalizedA < normalizedB) {
+    return -1;
   }

-  closeEntitiesSavedStates(savedEntities) {
-    const {
-      postType,
-      postId
-    } = this.props;
-    const {
-      entitiesSavedStatesCallback
-    } = this.state;
-    this.setState({
-      entitiesSavedStatesCallback: false
-    }, () => {
-      if (savedEntities && Object(external_lodash_["some"])(savedEntities, elt => elt.kind === 'postType' && elt.name === postType && elt.key === postId)) {
-        // The post entity was checked, call the held callback from `createOnClick`.
-        entitiesSavedStatesCallback();
-      }
-    });
+  if (normalizedA > normalizedB) {
+    return 1;
   }

-  render() {
-    const {
-      forceIsDirty,
-      forceIsSaving,
-      hasPublishAction,
-      isBeingScheduled,
-      isOpen,
-      isPostSavingLocked,
-      isPublishable,
-      isPublished,
-      isSaveable,
-      isSaving,
-      isAutoSaving,
-      isToggle,
-      onSave,
-      onStatusChange,
-      onSubmit = external_lodash_["noop"],
-      onToggle,
-      visibility,
-      hasNonPostEntityChanges,
-      isSavingNonPostEntityChanges
-    } = this.props;
-    const isButtonDisabled = (isSaving || forceIsSaving || !isSaveable || isPostSavingLocked || !isPublishable && !forceIsDirty) && (!hasNonPostEntityChanges || isSavingNonPostEntityChanges);
-    const isToggleDisabled = (isPublished || isSaving || forceIsSaving || !isSaveable || !isPublishable && !forceIsDirty) && (!hasNonPostEntityChanges || isSavingNonPostEntityChanges);
-    let publishStatus;
-
-    if (!hasPublishAction) {
-      publishStatus = 'pending';
-    } else if (visibility === 'private') {
-      publishStatus = 'private';
-    } else if (isBeingScheduled) {
-      publishStatus = 'future';
-    } else {
-      publishStatus = 'publish';
-    }
-
-    const onClickButton = () => {
-      if (isButtonDisabled) {
-        return;
-      }
-
-      onSubmit();
-      onStatusChange(publishStatus);
-      onSave();
-    };
-
-    const onClickToggle = () => {
-      if (isToggleDisabled) {
-        return;
-      }
-
-      onToggle();
-    };
-
-    const buttonProps = {
-      'aria-disabled': isButtonDisabled,
-      className: 'editor-post-publish-button',
-      isBusy: !isAutoSaving && isSaving && isPublished,
-      variant: 'primary',
-      onClick: this.createOnClick(onClickButton)
-    };
-    const toggleProps = {
-      'aria-disabled': isToggleDisabled,
-      'aria-expanded': isOpen,
-      className: 'editor-post-publish-panel__toggle',
-      isBusy: isSaving && isPublished,
-      variant: 'primary',
-      onClick: this.createOnClick(onClickToggle)
-    };
-    const toggleChildren = isBeingScheduled ? Object(external_wp_i18n_["__"])('Schedule…') : Object(external_wp_i18n_["__"])('Publish');
-    const buttonChildren = Object(external_wp_element_["createElement"])(post_publish_button_label, {
-      forceIsSaving: forceIsSaving,
-      hasNonPostEntityChanges: hasNonPostEntityChanges
-    });
-    const componentProps = isToggle ? toggleProps : buttonProps;
-    const componentChildren = isToggle ? toggleChildren : buttonChildren;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({
-      ref: this.buttonNode
-    }, componentProps, {
-      className: classnames_default()(componentProps.className, 'editor-post-publish-button__button', {
-        'has-changes-dot': hasNonPostEntityChanges
-      })
-    }), componentChildren));
-  }
+  return 0;
+});
+function PostFormat() {
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(PostFormat);
+  const postFormatSelectorId = `post-format-selector-${instanceId}`;
+  const {
+    postFormat,
+    suggestedFormat,
+    supportedFormats
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEditedPostAttribute,
+      getSuggestedPostFormat
+    } = select(store);

-}
-/* harmony default export */ var post_publish_button = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
+    const _postFormat = getEditedPostAttribute('format');
+
+    const themeSupports = select(external_wp_coreData_namespaceObject.store).getThemeSupports();
+    return {
+      postFormat: _postFormat !== null && _postFormat !== void 0 ? _postFormat : 'standard',
+      suggestedFormat: getSuggestedPostFormat(),
+      // Ensure current format is always in the set.
+      // The current format may not be a format supported by the theme.
+      supportedFormats: (0,external_lodash_namespaceObject.union)([_postFormat], (0,external_lodash_namespaceObject.get)(themeSupports, ['formats'], []))
+    };
+  }, []);
+  const formats = POST_FORMATS.filter(format => (0,external_lodash_namespaceObject.includes)(supportedFormats, format.id));
+  const suggestion = (0,external_lodash_namespaceObject.find)(formats, format => format.id === suggestedFormat);
   const {
-    isSavingPost,
-    isAutosavingPost,
-    isEditedPostBeingScheduled,
-    getEditedPostVisibility,
-    isCurrentPostPublished,
-    isEditedPostSaveable,
-    isEditedPostPublishable,
-    isPostSavingLocked,
-    getCurrentPost,
-    getCurrentPostType,
-    getCurrentPostId,
-    hasNonPostEntityChanges,
-    isSavingNonPostEntityChanges
-  } = select(store);
+    editPost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-  const _isAutoSaving = isAutosavingPost();
+  const onUpdatePostFormat = format => editPost({
+    format
+  });

-  return {
-    isSaving: isSavingPost() || _isAutoSaving,
-    isAutoSaving: _isAutoSaving,
-    isBeingScheduled: isEditedPostBeingScheduled(),
-    visibility: getEditedPostVisibility(),
-    isSaveable: isEditedPostSaveable(),
-    isPostSavingLocked: isPostSavingLocked(),
-    isPublishable: isEditedPostPublishable(),
-    isPublished: isCurrentPostPublished(),
-    hasPublishAction: Object(external_lodash_["get"])(getCurrentPost(), ['_links', 'wp:action-publish'], false),
-    postType: getCurrentPostType(),
-    postId: getCurrentPostId(),
-    hasNonPostEntityChanges: hasNonPostEntityChanges(),
-    isSavingNonPostEntityChanges: isSavingNonPostEntityChanges()
-  };
-}), Object(external_wp_data_["withDispatch"])(dispatch => {
-  const {
-    editPost,
-    savePost
-  } = dispatch(store);
-  return {
-    onStatusChange: status => editPost({
-      status
-    }, {
-      undoIgnore: true
-    }),
-    onSave: savePost
-  };
-})])(post_publish_button_PostPublishButton));
+  return (0,external_wp_element_namespaceObject.createElement)(post_format_check, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-format"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-format__content"
+  }, (0,external_wp_element_namespaceObject.createElement)("label", {
+    htmlFor: postFormatSelectorId
+  }, (0,external_wp_i18n_namespaceObject.__)('Post Format')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    value: postFormat,
+    onChange: format => onUpdatePostFormat(format),
+    id: postFormatSelectorId,
+    options: formats.map(format => ({
+      label: format.caption,
+      value: format.id
+    }))
+  })), suggestion && suggestion.id !== postFormat && (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-format__suggestion"
+  }, (0,external_wp_i18n_namespaceObject.__)('Suggestion:'), ' ', (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "link",
+    onClick: () => onUpdatePostFormat(suggestion.id)
+  }, (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: post format */
+  (0,external_wp_i18n_namespaceObject.__)('Apply format: %s'), suggestion.caption)))));
+}

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js
-var close_small = __webpack_require__("bWcr");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/backup.js

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/wordpress.js
-var wordpress = __webpack_require__("wduq");

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-visibility/utils.js
 /**
  * WordPress dependencies
  */

-const visibilityOptions = [{
-  value: 'public',
-  label: Object(external_wp_i18n_["__"])('Public'),
-  info: Object(external_wp_i18n_["__"])('Visible to everyone.')
-}, {
-  value: 'private',
-  label: Object(external_wp_i18n_["__"])('Private'),
-  info: Object(external_wp_i18n_["__"])('Only visible to site admins and editors.')
-}, {
-  value: 'password',
-  label: Object(external_wp_i18n_["__"])('Password Protected'),
-  info: Object(external_wp_i18n_["__"])('Protected with a password you choose. Only those with the password can view this post.')
-}];
+const backup = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M5.5 12h1.75l-2.5 3-2.5-3H4a8 8 0 113.134 6.35l.907-1.194A6.5 6.5 0 105.5 12zm9.53 1.97l-2.28-2.28V8.5a.75.75 0 00-1.5 0V12a.747.747 0 00.218.529l1.282-.84-1.28.842 2.5 2.5a.75.75 0 101.06-1.061z"
+}));
+/* harmony default export */ var library_backup = (backup);

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-visibility/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-last-revision/check.js


 /**
  * WordPress dependencies
  */

+/**
+ * Internal dependencies
+ */
+
+
+
+function PostLastRevisionCheck(_ref) {
+  let {
+    lastRevisionId,
+    revisionsCount,
+    children
+  } = _ref;
+
+  if (!lastRevisionId || revisionsCount < 2) {
+    return null;
+  }

+  return (0,external_wp_element_namespaceObject.createElement)(post_type_support_check, {
+    supportKeys: "revisions"
+  }, children);
+}
+/* harmony default export */ var post_last_revision_check = ((0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    getCurrentPostLastRevisionId,
+    getCurrentPostRevisionsCount
+  } = select(store);
+  return {
+    lastRevisionId: getCurrentPostLastRevisionId(),
+    revisionsCount: getCurrentPostRevisionsCount()
+  };
+})(PostLastRevisionCheck));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-last-revision/index.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */



-class post_visibility_PostVisibility extends external_wp_element_["Component"] {
-  constructor(props) {
-    super(...arguments);
-    this.setPublic = this.setPublic.bind(this);
-    this.setPrivate = this.setPrivate.bind(this);
-    this.setPasswordProtected = this.setPasswordProtected.bind(this);
-    this.updatePassword = this.updatePassword.bind(this);
-    this.state = {
-      hasPassword: !!props.password
-    };
-  }
-
-  setPublic() {
-    const {
-      visibility,
-      onUpdateVisibility,
-      status
-    } = this.props;
-    onUpdateVisibility(visibility === 'private' ? 'draft' : status);
-    this.setState({
-      hasPassword: false
-    });
-  }

-  setPrivate() {
-    if ( // eslint-disable-next-line no-alert
-    !window.confirm(Object(external_wp_i18n_["__"])('Would you like to privately publish this post now?'))) {
-      return;
-    }
+/**
+ * Internal dependencies
+ */

-    const {
-      onUpdateVisibility,
-      onSave
-    } = this.props;
-    onUpdateVisibility('private');
-    this.setState({
-      hasPassword: false
-    });
-    onSave();
-  }

-  setPasswordProtected() {
-    const {
-      visibility,
-      onUpdateVisibility,
-      status,
-      password
-    } = this.props;
-    onUpdateVisibility(visibility === 'private' ? 'draft' : status, password || '');
-    this.setState({
-      hasPassword: true
-    });
-  }

-  updatePassword(event) {
-    const {
-      status,
-      onUpdateVisibility
-    } = this.props;
-    onUpdateVisibility(status, event.target.value);
-  }

-  render() {
-    const {
-      visibility,
-      password,
-      instanceId
-    } = this.props;
-    const visibilityHandlers = {
-      public: {
-        onSelect: this.setPublic,
-        checked: visibility === 'public' && !this.state.hasPassword
-      },
-      private: {
-        onSelect: this.setPrivate,
-        checked: visibility === 'private'
-      },
-      password: {
-        onSelect: this.setPasswordProtected,
-        checked: this.state.hasPassword
-      }
-    };
-    return [Object(external_wp_element_["createElement"])("fieldset", {
-      key: "visibility-selector",
-      className: "editor-post-visibility__dialog-fieldset"
-    }, Object(external_wp_element_["createElement"])("legend", {
-      className: "editor-post-visibility__dialog-legend"
-    }, Object(external_wp_i18n_["__"])('Post Visibility')), visibilityOptions.map(_ref => {
-      let {
-        value,
-        label,
-        info
-      } = _ref;
-      return Object(external_wp_element_["createElement"])("div", {
-        key: value,
-        className: "editor-post-visibility__choice"
-      }, Object(external_wp_element_["createElement"])("input", {
-        type: "radio",
-        name: `editor-post-visibility__setting-${instanceId}`,
-        value: value,
-        onChange: visibilityHandlers[value].onSelect,
-        checked: visibilityHandlers[value].checked,
-        id: `editor-post-${value}-${instanceId}`,
-        "aria-describedby": `editor-post-${value}-${instanceId}-description`,
-        className: "editor-post-visibility__dialog-radio"
-      }), Object(external_wp_element_["createElement"])("label", {
-        htmlFor: `editor-post-${value}-${instanceId}`,
-        className: "editor-post-visibility__dialog-label"
-      }, label), Object(external_wp_element_["createElement"])("p", {
-        id: `editor-post-${value}-${instanceId}-description`,
-        className: "editor-post-visibility__dialog-info"
-      }, info));
-    })), this.state.hasPassword && Object(external_wp_element_["createElement"])("div", {
-      className: "editor-post-visibility__dialog-password",
-      key: "password-selector"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-      as: "label",
-      htmlFor: `editor-post-visibility__dialog-password-input-${instanceId}`
-    }, Object(external_wp_i18n_["__"])('Create password')), Object(external_wp_element_["createElement"])("input", {
-      className: "editor-post-visibility__dialog-password-input",
-      id: `editor-post-visibility__dialog-password-input-${instanceId}`,
-      type: "text",
-      onChange: this.updatePassword,
-      value: password,
-      placeholder: Object(external_wp_i18n_["__"])('Use a secure password')
-    }))];
-  }

+function LastRevision(_ref) {
+  let {
+    lastRevisionId,
+    revisionsCount
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(post_last_revision_check, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    href: getWPAdminURL('revision.php', {
+      revision: lastRevisionId,
+      gutenberg: true
+    }),
+    className: "editor-post-last-revision__title",
+    icon: library_backup
+  }, (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %d: number of revisions */
+  (0,external_wp_i18n_namespaceObject._n)('%d Revision', '%d Revisions', revisionsCount), revisionsCount)));
 }
-/* harmony default export */ var post_visibility = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
+
+/* harmony default export */ var post_last_revision = ((0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
-    getEditedPostAttribute,
-    getEditedPostVisibility
+    getCurrentPostLastRevisionId,
+    getCurrentPostRevisionsCount
   } = select(store);
   return {
-    status: getEditedPostAttribute('status'),
-    visibility: getEditedPostVisibility(),
-    password: getEditedPostAttribute('password')
+    lastRevisionId: getCurrentPostLastRevisionId(),
+    revisionsCount: getCurrentPostRevisionsCount()
   };
-}), Object(external_wp_data_["withDispatch"])(dispatch => {
-  const {
-    savePost,
-    editPost
-  } = dispatch(store);
-  return {
-    onSave: savePost,
+})(LastRevision));

-    onUpdateVisibility(status) {
-      let password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
-      editPost({
-        status,
-        password
-      });
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-preview-button/index.js

-  };
-}), external_wp_compose_["withInstanceId"]])(post_visibility_PostVisibility));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-visibility/label.js
 /**
  * External dependencies
  */

+
 /**
  * WordPress dependencies
  */


+
+
+
+
+
+
 /**
  * Internal dependencies
  */



+function writeInterstitialMessage(targetDocument) {
+  let markup = (0,external_wp_element_namespaceObject.renderToString)((0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-preview-button__interstitial-message"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
+    xmlns: "http://www.w3.org/2000/svg",
+    viewBox: "0 0 96 96"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
+    className: "outer",
+    d: "M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",
+    fill: "none"
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
+    className: "inner",
+    d: "M69.5 46.4c0-3.9-1.4-6.7-2.6-8.8-1.6-2.6-3.1-4.9-3.1-7.5 0-2.9 2.2-5.7 5.4-5.7h.4C63.9 19.2 56.4 16 48 16c-11.2 0-21 5.7-26.7 14.4h2.1c3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3L40 67.5l7-20.9L42 33c-1.7-.1-3.3-.3-3.3-.3-1.7-.1-1.5-2.7.2-2.6 0 0 5.3.4 8.4.4 3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3l11.5 34.3 3.3-10.4c1.6-4.5 2.4-7.8 2.4-10.5zM16.1 48c0 12.6 7.3 23.5 18 28.7L18.8 35c-1.7 4-2.7 8.4-2.7 13zm32.5 2.8L39 78.6c2.9.8 5.9 1.3 9 1.3 3.7 0 7.3-.6 10.6-1.8-.1-.1-.2-.3-.2-.4l-9.8-26.9zM76.2 36c0 3.2-.6 6.9-2.4 11.4L64 75.6c9.5-5.5 15.9-15.8 15.9-27.6 0-5.5-1.4-10.8-3.9-15.3.1 1 .2 2.1.2 3.3z",
+    fill: "none"
+  })), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('Generating preview…'))));
+  markup += `
+		<style>
+			body {
+				margin: 0;
+			}
+			.editor-post-preview-button__interstitial-message {
+				display: flex;
+				flex-direction: column;
+				align-items: center;
+				justify-content: center;
+				height: 100vh;
+				width: 100vw;
+			}
+			@-webkit-keyframes paint {
+				0% {
+					stroke-dashoffset: 0;
+				}
+			}
+			@-moz-keyframes paint {
+				0% {
+					stroke-dashoffset: 0;
+				}
+			}
+			@-o-keyframes paint {
+				0% {
+					stroke-dashoffset: 0;
+				}
+			}
+			@keyframes paint {
+				0% {
+					stroke-dashoffset: 0;
+				}
+			}
+			.editor-post-preview-button__interstitial-message svg {
+				width: 192px;
+				height: 192px;
+				stroke: #555d66;
+				stroke-width: 0.75;
+			}
+			.editor-post-preview-button__interstitial-message svg .outer,
+			.editor-post-preview-button__interstitial-message svg .inner {
+				stroke-dasharray: 280;
+				stroke-dashoffset: 280;
+				-webkit-animation: paint 1.5s ease infinite alternate;
+				-moz-animation: paint 1.5s ease infinite alternate;
+				-o-animation: paint 1.5s ease infinite alternate;
+				animation: paint 1.5s ease infinite alternate;
+			}
+			p {
+				text-align: center;
+				font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+			}
+		</style>
+	`;
+  /**
+   * Filters the interstitial message shown when generating previews.
+   *
+   * @param {string} markup The preview interstitial markup.
+   */

-function PostVisibilityLabel(_ref) {
-  let {
-    visibility
-  } = _ref;
+  markup = (0,external_wp_hooks_namespaceObject.applyFilters)('editor.PostPreview.interstitialMarkup', markup);
+  targetDocument.write(markup);
+  targetDocument.title = (0,external_wp_i18n_namespaceObject.__)('Generating preview…');
+  targetDocument.close();
+}

-  const getVisibilityLabel = () => Object(external_lodash_["find"])(visibilityOptions, {
-    value: visibility
-  }).label;
+class PostPreviewButton extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.buttonRef = (0,external_wp_element_namespaceObject.createRef)();
+    this.openPreviewWindow = this.openPreviewWindow.bind(this);
+  }

-  return getVisibilityLabel(visibility);
-}
+  componentDidUpdate(prevProps) {
+    const {
+      previewLink
+    } = this.props; // This relies on the window being responsible to unset itself when
+    // navigation occurs or a new preview window is opened, to avoid
+    // unintentional forceful redirects.

-/* harmony default export */ var post_visibility_label = (Object(external_wp_data_["withSelect"])(select => ({
-  visibility: select(store).getEditedPostVisibility()
-}))(PostVisibilityLabel));
+    if (previewLink && !prevProps.previewLink) {
+      this.setPreviewWindowLink(previewLink);
+    }
+  }
+  /**
+   * Sets the preview window's location to the given URL, if a preview window
+   * exists and is not closed.
+   *
+   * @param {string} url URL to assign as preview window location.
+   */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-schedule/index.js

+  setPreviewWindowLink(url) {
+    const {
+      previewWindow
+    } = this;

-/**
- * WordPress dependencies
- */
+    if (previewWindow && !previewWindow.closed) {
+      previewWindow.location = url;

+      if (this.buttonRef.current) {
+        this.buttonRef.current.focus();
+      }
+    }
+  }

+  getWindowTarget() {
+    const {
+      postId
+    } = this.props;
+    return `wp-preview-${postId}`;
+  }

+  openPreviewWindow(event) {
+    // Our Preview button has its 'href' and 'target' set correctly for a11y
+    // purposes. Unfortunately, though, we can't rely on the default 'click'
+    // handler since sometimes it incorrectly opens a new tab instead of reusing
+    // the existing one.
+    // https://github.com/WordPress/gutenberg/pull/8330
+    event.preventDefault(); // Open up a Preview tab if needed. This is where we'll show the preview.

+    if (!this.previewWindow || this.previewWindow.closed) {
+      this.previewWindow = window.open('', this.getWindowTarget());
+    } // Focus the Preview tab. This might not do anything, depending on the browser's
+    // and user's preferences.
+    // https://html.spec.whatwg.org/multipage/interaction.html#dom-window-focus

-/**
- * Internal dependencies
- */

+    this.previewWindow.focus();

+    if ( // If we don't need to autosave the post before previewing, then we simply
+    // load the Preview URL in the Preview tab.
+    !this.props.isAutosaveable || // Do not save or overwrite the post, if the post is already locked.
+    this.props.isPostLocked) {
+      this.setPreviewWindowLink(event.target.href);
+      return;
+    } // Request an autosave. This happens asynchronously and causes the component
+    // to update when finished.

-function getDayOfTheMonth() {
-  let date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
-  let firstDay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
-  const d = new Date(date);
-  return new Date(d.getFullYear(), d.getMonth() + (firstDay ? 0 : 1), firstDay ? 1 : 0).toISOString();
-}

-function PostSchedule() {
-  const {
-    postDate,
-    postType
-  } = Object(external_wp_data_["useSelect"])(select => ({
-    postDate: select(store).getEditedPostAttribute('date'),
-    postType: select(store).getCurrentPostType()
-  }), []);
-  const {
-    editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
+    if (this.props.isDraft) {
+      this.props.savePost({
+        isPreview: true
+      });
+    } else {
+      this.props.autosave({
+        isPreview: true
+      });
+    } // Display a 'Generating preview' message in the Preview tab while we wait for the
+    // autosave to finish.

-  const onUpdateDate = date => editPost({
-    date
-  });

-  const [previewedMonth, setPreviewedMonth] = Object(external_wp_element_["useState"])(getDayOfTheMonth(postDate)); // Pick up published and schduled site posts.
+    writeInterstitialMessage(this.previewWindow.document);
+  }

-  const eventsByPostType = Object(external_wp_data_["useSelect"])(select => select(external_wp_coreData_["store"]).getEntityRecords('postType', postType, {
-    status: 'publish,future',
-    after: getDayOfTheMonth(previewedMonth),
-    before: getDayOfTheMonth(previewedMonth, false),
-    exclude: [select(store).getCurrentPostId()]
-  }), [previewedMonth, postType]);
-  const events = Object(external_wp_element_["useMemo"])(() => (eventsByPostType || []).map(_ref => {
-    let {
-      title,
-      type,
-      date: eventDate
-    } = _ref;
-    return {
-      title: title === null || title === void 0 ? void 0 : title.rendered,
-      type,
-      date: new Date(eventDate)
-    };
-  }), [eventsByPostType]);
-  const ref = Object(external_wp_element_["useRef"])();
+  render() {
+    const {
+      previewLink,
+      currentPostLink,
+      isSaveable,
+      role
+    } = this.props; // Link to the `?preview=true` URL if we have it, since this lets us see
+    // changes that were autosaved since the post was last published. Otherwise,
+    // just link to the post's URL.

-  const settings = Object(external_wp_date_["__experimentalGetSettings"])(); // To know if the current timezone is a 12 hour time with look for "a" in the time format
-  // We also make sure this a is not escaped by a "/"
+    const href = previewLink || currentPostLink;
+    const classNames = classnames_default()({
+      'editor-post-preview': !this.props.className
+    }, this.props.className);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      variant: !this.props.className ? 'tertiary' : undefined,
+      className: classNames,
+      href: href,
+      target: this.getWindowTarget(),
+      disabled: !isSaveable,
+      onClick: this.openPreviewWindow,
+      ref: this.buttonRef,
+      role: role
+    }, this.props.textContent ? this.props.textContent : (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_i18n_namespaceObject._x)('Preview', 'imperative verb'), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+      as: "span"
+    },
+    /* translators: accessibility text */
+    (0,external_wp_i18n_namespaceObject.__)('(opens in a new tab)'))));
+  }

+}
+/* harmony default export */ var post_preview_button = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)((select, _ref) => {
+  let {
+    forcePreviewLink,
+    forceIsAutosaveable
+  } = _ref;
+  const {
+    getCurrentPostId,
+    getCurrentPostAttribute,
+    getEditedPostAttribute,
+    isEditedPostSaveable,
+    isEditedPostAutosaveable,
+    getEditedPostPreviewLink,
+    isPostLocked
+  } = select(store);
+  const {
+    getPostType
+  } = select(external_wp_coreData_namespaceObject.store);
+  const previewLink = getEditedPostPreviewLink();
+  const postType = getPostType(getEditedPostAttribute('type'));
+  return {
+    postId: getCurrentPostId(),
+    currentPostLink: getCurrentPostAttribute('link'),
+    previewLink: forcePreviewLink !== undefined ? forcePreviewLink : previewLink,
+    isSaveable: isEditedPostSaveable(),
+    isAutosaveable: forceIsAutosaveable || isEditedPostAutosaveable(),
+    isViewable: (0,external_lodash_namespaceObject.get)(postType, ['viewable'], false),
+    isDraft: ['draft', 'auto-draft'].indexOf(getEditedPostAttribute('status')) !== -1,
+    isPostLocked: isPostLocked()
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
+  autosave: dispatch(store).autosave,
+  savePost: dispatch(store).savePost
+})), (0,external_wp_compose_namespaceObject.ifCondition)(_ref2 => {
+  let {
+    isViewable
+  } = _ref2;
+  return isViewable;
+})])(PostPreviewButton));

-  const is12HourTime = /a(?!\\)/i.test(settings.formats.time.toLowerCase() // Test only the lower case a
-  .replace(/\\\\/g, '') // Replace "//" with empty strings
-  .split('').reverse().join('') // Reverse the string and test for "a" not followed by a slash
-  );
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-locked-modal/index.js

-  function onChange(newDate) {
-    onUpdateDate(newDate);
-    const {
-      ownerDocument
-    } = ref.current;
-    ownerDocument.activeElement.blur();
-  }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["DateTimePicker"], {
-    ref: ref,
-    currentDate: postDate,
-    onChange: onChange,
-    is12Hour: is12HourTime,
-    events: events,
-    onMonthPreviewed: setPreviewedMonth
-  });
-}
+/**
+ * External dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-schedule/label.js
 /**
  * WordPress dependencies
  */



+
+
+
+
+
+
 /**
  * Internal dependencies
  */


-function PostScheduleLabel(_ref) {
-  let {
-    date,
-    isFloating
-  } = _ref;
-
-  const settings = Object(external_wp_date_["__experimentalGetSettings"])();

-  return date && !isFloating ? Object(external_wp_date_["format"])(`${settings.formats.date} ${settings.formats.time}`, date) : Object(external_wp_i18n_["__"])('Immediately');
-}
-/* harmony default export */ var post_schedule_label = (Object(external_wp_data_["withSelect"])(select => {
-  return {
-    date: select(store).getEditedPostAttribute('date'),
-    isFloating: select(store).isEditedPostDateFloating()
-  };
-})(PostScheduleLabel));

-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
+function PostLockedModal() {
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(PostLockedModal);
+  const hookName = 'core/editor/post-locked-modal-' + instanceId;
+  const {
+    autosave,
+    updatePostLock
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    isLocked,
+    isTakeover,
+    user,
+    postId,
+    postLockUtils,
+    activePostLock,
+    postType
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      isPostLocked,
+      isPostLockTakeover,
+      getPostLockUser,
+      getCurrentPostId,
+      getActivePostLock,
+      getEditedPostAttribute,
+      getEditorSettings
+    } = select(store);
+    const {
+      getPostType
+    } = select(external_wp_coreData_namespaceObject.store);
+    return {
+      isLocked: isPostLocked(),
+      isTakeover: isPostLockTakeover(),
+      user: getPostLockUser(),
+      postId: getCurrentPostId(),
+      postLockUtils: getEditorSettings().postLockUtils,
+      activePostLock: getActivePostLock(),
+      postType: getPostType(getEditedPostAttribute('type'))
+    };
+  }, []);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    /**
+     * Keep the lock refreshed.
+     *
+     * When the user does not send a heartbeat in a heartbeat-tick
+     * the user is no longer editing and another user can start editing.
+     *
+     * @param {Object} data Data to send in the heartbeat request.
+     */
+    function sendPostLock(data) {
+      if (isLocked) {
+        return;
+      }

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+      data['wp-refresh-post-lock'] = {
+        lock: activePostLock,
+        post_id: postId
+      };
+    }
+    /**
+     * Refresh post locks: update the lock string or show the dialog if somebody has taken over editing.
+     *
+     * @param {Object} data Data received in the heartbeat request
+     */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/most-used-terms.js

+    function receivePostLock(data) {
+      if (!data['wp-refresh-post-lock']) {
+        return;
+      }

-/**
- * External dependencies
- */
+      const received = data['wp-refresh-post-lock'];

-/**
- * WordPress dependencies
- */
+      if (received.lock_error) {
+        // Auto save and display the takeover modal.
+        autosave();
+        updatePostLock({
+          isLocked: true,
+          isTakeover: true,
+          user: {
+            avatar: received.lock_error.avatar_src
+          }
+        });
+      } else if (received.new_lock) {
+        updatePostLock({
+          isLocked: false,
+          activePostLock: received.new_lock
+        });
+      }
+    }
+    /**
+     * Unlock the post before the window is exited.
+     */


+    function releasePostLock() {
+      if (isLocked || !activePostLock) {
+        return;
+      }

+      const data = new window.FormData();
+      data.append('action', 'wp-remove-post-lock');
+      data.append('_wpnonce', postLockUtils.unlockNonce);
+      data.append('post_ID', postId);
+      data.append('active_post_lock', activePostLock);

-/**
- * Internal dependencies
- */
+      if (window.navigator.sendBeacon) {
+        window.navigator.sendBeacon(postLockUtils.ajaxUrl, data);
+      } else {
+        const xhr = new window.XMLHttpRequest();
+        xhr.open('POST', postLockUtils.ajaxUrl, false);
+        xhr.send(data);
+      }
+    } // Details on these events on the Heartbeat API docs
+    // https://developer.wordpress.org/plugins/javascript/heartbeat-api/


-const MAX_MOST_USED_TERMS = 10;
-const DEFAULT_QUERY = {
-  per_page: MAX_MOST_USED_TERMS,
-  orderby: 'count',
-  order: 'desc',
-  hide_empty: true,
-  _fields: 'id,name,count',
-  context: 'view'
-};
-function MostUsedTerms(_ref) {
-  let {
-    onSelect,
-    taxonomy
-  } = _ref;
-  const {
-    _terms,
-    showTerms
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const mostUsedTerms = select(external_wp_coreData_["store"]).getEntityRecords('taxonomy', taxonomy.slug, DEFAULT_QUERY);
-    return {
-      _terms: mostUsedTerms,
-      showTerms: (mostUsedTerms === null || mostUsedTerms === void 0 ? void 0 : mostUsedTerms.length) === MAX_MOST_USED_TERMS
+    (0,external_wp_hooks_namespaceObject.addAction)('heartbeat.send', hookName, sendPostLock);
+    (0,external_wp_hooks_namespaceObject.addAction)('heartbeat.tick', hookName, receivePostLock);
+    window.addEventListener('beforeunload', releasePostLock);
+    return () => {
+      (0,external_wp_hooks_namespaceObject.removeAction)('heartbeat.send', hookName);
+      (0,external_wp_hooks_namespaceObject.removeAction)('heartbeat.tick', hookName);
+      window.removeEventListener('beforeunload', releasePostLock);
     };
   }, []);

-  if (!showTerms) {
+  if (!isLocked) {
     return null;
   }

-  const terms = unescapeTerms(_terms);
-  const label = Object(external_lodash_["get"])(taxonomy, ['labels', 'most_used']);
-  return Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-taxonomies__flat-term-most-used"
-  }, Object(external_wp_element_["createElement"])("h3", {
-    className: "editor-post-taxonomies__flat-term-most-used-label"
-  }, label), Object(external_wp_element_["createElement"])("ul", {
-    role: "list",
-    className: "editor-post-taxonomies__flat-term-most-used-list"
-  }, terms.map(term => Object(external_wp_element_["createElement"])("li", {
-    key: term.id
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "link",
-    onClick: () => onSelect(term)
-  }, term.name)))));
-}
+  const userDisplayName = user.name;
+  const userAvatar = user.avatar;
+  const unlockUrl = (0,external_wp_url_namespaceObject.addQueryArgs)('post.php', {
+    'get-post-lock': '1',
+    lockKey: true,
+    post: postId,
+    action: 'edit',
+    _wpnonce: postLockUtils.nonce
+  });
+  const allPostsUrl = getWPAdminURL('edit.php', {
+    post_type: (0,external_lodash_namespaceObject.get)(postType, ['slug'])
+  });

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/flat-term-selector.js
+  const allPostsLabel = (0,external_wp_i18n_namespaceObject.__)('Exit the Editor');

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+    title: isTakeover ? (0,external_wp_i18n_namespaceObject.__)('Someone else has taken over this post.') : (0,external_wp_i18n_namespaceObject.__)('This post is already being edited.'),
+    focusOnMount: true,
+    shouldCloseOnClickOutside: false,
+    shouldCloseOnEsc: false,
+    isDismissible: false,
+    className: "editor-post-locked-modal"
+  }, !!userAvatar && (0,external_wp_element_namespaceObject.createElement)("img", {
+    src: userAvatar,
+    alt: (0,external_wp_i18n_namespaceObject.__)('Avatar'),
+    className: "editor-post-locked-modal__avatar"
+  }), !!isTakeover && (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)("div", null, userDisplayName ? (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: user's display name */
+  (0,external_wp_i18n_namespaceObject.__)('%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved.'), userDisplayName) : (0,external_wp_i18n_namespaceObject.__)('Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.')), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-locked-modal__buttons"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "primary",
+    href: allPostsUrl
+  }, allPostsLabel))), !isTakeover && (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)("div", null, userDisplayName ? (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: user's display name */
+  (0,external_wp_i18n_namespaceObject.__)('%s is currently working on this post, which means you cannot make changes, unless you take over.'), userDisplayName) : (0,external_wp_i18n_namespaceObject.__)('Another user is currently working on this post, which means you cannot make changes, unless you take over.')), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-locked-modal__buttons"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    href: allPostsUrl
+  }, allPostsLabel), (0,external_wp_element_namespaceObject.createElement)(post_preview_button, null), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "primary",
+    href: unlockUrl
+  }, (0,external_wp_i18n_namespaceObject.__)('Take Over')))));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-pending-status/check.js
 /**
  * External dependencies
  */
@@ -8440,225 +7914,123 @@ function MostUsedTerms(_ref) {



-
-
-
-
-
-
-
 /**
  * Internal dependencies
  */


+function PostPendingStatusCheck(_ref) {
+  let {
+    hasPublishAction,
+    isPublished,
+    children
+  } = _ref;

+  if (isPublished || !hasPublishAction) {
+    return null;
+  }
+
+  return children;
+}
+/* harmony default export */ var post_pending_status_check = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    isCurrentPostPublished,
+    getCurrentPostType,
+    getCurrentPost
+  } = select(store);
+  return {
+    hasPublishAction: (0,external_lodash_namespaceObject.get)(getCurrentPost(), ['_links', 'wp:action-publish'], false),
+    isPublished: isCurrentPostPublished(),
+    postType: getCurrentPostType()
+  };
+}))(PostPendingStatusCheck));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-pending-status/index.js

-/**
- * Shared reference to an empty array for cases where it is important to avoid
- * returning a new array reference on every invocation.
- *
- * @type {Array<any>}
- */

-const flat_term_selector_EMPTY_ARRAY = [];
 /**
- * Module constants
+ * WordPress dependencies
  */

-const MAX_TERMS_SUGGESTIONS = 20;
-const flat_term_selector_DEFAULT_QUERY = {
-  per_page: MAX_TERMS_SUGGESTIONS,
-  orderby: 'count',
-  order: 'desc',
-  _fields: 'id,name',
-  context: 'view'
-};
-
-const isSameTermName = (termA, termB) => unescapeString(termA).toLowerCase() === unescapeString(termB).toLowerCase();

-const termNamesToIds = (names, terms) => {
-  return names.map(termName => Object(external_lodash_["find"])(terms, term => isSameTermName(term.name, termName)).id);
-}; // Tries to create a term or fetch it if it already exists.


-function findOrCreateTerm(termName, restBase) {
-  const escapedTermName = Object(external_lodash_["escape"])(termName);
-  return external_wp_apiFetch_default()({
-    path: `/wp/v2/${restBase}`,
-    method: 'POST',
-    data: {
-      name: escapedTermName
-    }
-  }).catch(error => {
-    const errorCode = error.code;
+/**
+ * Internal dependencies
+ */

-    if (errorCode === 'term_exists') {
-      // If the terms exist, fetch it instead of creating a new one.
-      const addRequest = external_wp_apiFetch_default()({
-        path: Object(external_wp_url_["addQueryArgs"])(`/wp/v2/${restBase}`, { ...flat_term_selector_DEFAULT_QUERY,
-          search: escapedTermName
-        })
-      }).then(unescapeTerms);
-      return addRequest.then(searchResult => {
-        return Object(external_lodash_["find"])(searchResult, result => isSameTermName(result.name, termName));
-      });
-    }

-    return Promise.reject(error);
-  }).then(unescapeTerm);
-}

-function FlatTermSelector(_ref) {
+function PostPendingStatus(_ref) {
   let {
-    slug
+    status,
+    onUpdateStatus
   } = _ref;
-  const [values, setValues] = Object(external_wp_element_["useState"])([]);
-  const [search, setSearch] = Object(external_wp_element_["useState"])('');
-  const debouncedSearch = Object(external_wp_compose_["useDebounce"])(setSearch, 500);
-  const {
-    terms,
-    termIds,
-    taxonomy,
-    hasAssignAction,
-    hasCreateAction,
-    hasResolvedTerms
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getCurrentPost,
-      getEditedPostAttribute
-    } = select(store);
-    const {
-      getEntityRecords,
-      getTaxonomy,
-      hasFinishedResolution
-    } = select(external_wp_coreData_["store"]);
-    const post = getCurrentPost();
-
-    const _taxonomy = getTaxonomy(slug);

-    const _termIds = _taxonomy ? getEditedPostAttribute(_taxonomy.rest_base) : flat_term_selector_EMPTY_ARRAY;
+  const togglePendingStatus = () => {
+    const updatedStatus = status === 'pending' ? 'draft' : 'pending';
+    onUpdateStatus(updatedStatus);
+  };

-    const query = { ...flat_term_selector_DEFAULT_QUERY,
-      include: _termIds.join(','),
-      per_page: -1
-    };
-    return {
-      hasCreateAction: _taxonomy ? Object(external_lodash_["get"])(post, ['_links', 'wp:action-create-' + _taxonomy.rest_base], false) : false,
-      hasAssignAction: _taxonomy ? Object(external_lodash_["get"])(post, ['_links', 'wp:action-assign-' + _taxonomy.rest_base], false) : false,
-      taxonomy: _taxonomy,
-      termIds: _termIds,
-      terms: _termIds.length ? getEntityRecords('taxonomy', slug, query) : flat_term_selector_EMPTY_ARRAY,
-      hasResolvedTerms: hasFinishedResolution('getEntityRecords', ['taxonomy', slug, query])
-    };
-  }, [slug]);
-  const {
-    searchResults
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getEntityRecords
-    } = select(external_wp_coreData_["store"]);
-    return {
-      searchResults: !!search ? getEntityRecords('taxonomy', slug, { ...flat_term_selector_DEFAULT_QUERY,
-        search
-      }) : flat_term_selector_EMPTY_ARRAY
-    };
-  }, [search]); // Update terms state only after the selectors are resolved.
-  // We're using this to avoid terms temporarily disappearing on slow networks
-  // while core data makes REST API requests.
+  return (0,external_wp_element_namespaceObject.createElement)(post_pending_status_check, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CheckboxControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Pending review'),
+    checked: status === 'pending',
+    onChange: togglePendingStatus
+  }));
+}
+/* harmony default export */ var post_pending_status = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)(select => ({
+  status: select(store).getEditedPostAttribute('status')
+})), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
+  onUpdateStatus(status) {
+    dispatch(store).editPost({
+      status
+    });
+  }

-  Object(external_wp_element_["useEffect"])(() => {
-    if (hasResolvedTerms) {
-      const newValues = terms.map(term => unescapeString(term.name));
-      setValues(newValues);
-    }
-  }, [terms, hasResolvedTerms]);
-  const suggestions = Object(external_wp_element_["useMemo"])(() => {
-    return (searchResults !== null && searchResults !== void 0 ? searchResults : []).map(term => unescapeString(term.name));
-  }, [searchResults]);
-  const {
-    editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
+})))(PostPendingStatus));

-  if (!hasAssignAction) {
-    return null;
-  }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-pingbacks/index.js

-  function onUpdateTerms(newTermIds) {
-    editPost({
-      [taxonomy.rest_base]: newTermIds
-    });
-  }

-  function onChange(termNames) {
-    const availableTerms = [...terms, ...(searchResults !== null && searchResults !== void 0 ? searchResults : [])];
-    const uniqueTerms = Object(external_lodash_["uniqBy"])(termNames, term => term.toLowerCase());
-    const newTermNames = uniqueTerms.filter(termName => !Object(external_lodash_["find"])(availableTerms, term => isSameTermName(term.name, termName))); // Optimistically update term values.
-    // The selector will always re-fetch terms later.
+/**
+ * WordPress dependencies
+ */

-    setValues(uniqueTerms);

-    if (newTermNames.length === 0) {
-      return onUpdateTerms(termNamesToIds(uniqueTerms, availableTerms));
-    }

-    if (!hasCreateAction) {
-      return;
-    }

-    Promise.all(newTermNames.map(termName => findOrCreateTerm(termName, taxonomy.rest_base))).then(newTerms => {
-      const newAvailableTerms = availableTerms.concat(newTerms);
-      return onUpdateTerms(termNamesToIds(uniqueTerms, newAvailableTerms));
-    });
-  }
+/**
+ * Internal dependencies
+ */

-  function appendTerm(newTerm) {
-    if (termIds.includes(newTerm.id)) {
-      return;
-    }

-    const newTermIds = [...termIds, newTerm.id];
-    const termAddedMessage = Object(external_wp_i18n_["sprintf"])(
-    /* translators: %s: term name. */
-    Object(external_wp_i18n_["_x"])('%s added', 'term'), Object(external_lodash_["get"])(taxonomy, ['labels', 'singular_name'], slug === 'post_tag' ? Object(external_wp_i18n_["__"])('Tag') : Object(external_wp_i18n_["__"])('Term')));
-    Object(external_wp_a11y_["speak"])(termAddedMessage, 'assertive');
-    onUpdateTerms(newTermIds);
-  }

-  const newTermLabel = Object(external_lodash_["get"])(taxonomy, ['labels', 'add_new_item'], slug === 'post_tag' ? Object(external_wp_i18n_["__"])('Add new tag') : Object(external_wp_i18n_["__"])('Add new Term'));
-  const singularName = Object(external_lodash_["get"])(taxonomy, ['labels', 'singular_name'], slug === 'post_tag' ? Object(external_wp_i18n_["__"])('Tag') : Object(external_wp_i18n_["__"])('Term'));
-  const termAddedLabel = Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: term name. */
-  Object(external_wp_i18n_["_x"])('%s added', 'term'), singularName);
-  const termRemovedLabel = Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: term name. */
-  Object(external_wp_i18n_["_x"])('%s removed', 'term'), singularName);
-  const removeTermLabel = Object(external_wp_i18n_["sprintf"])(
-  /* translators: %s: term name. */
-  Object(external_wp_i18n_["_x"])('Remove %s', 'term'), singularName);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["FormTokenField"], {
-    value: values,
-    suggestions: suggestions,
-    onChange: onChange,
-    onInputChange: debouncedSearch,
-    maxSuggestions: MAX_TERMS_SUGGESTIONS,
-    label: newTermLabel,
-    messages: {
-      added: termAddedLabel,
-      removed: termRemovedLabel,
-      remove: removeTermLabel
-    }
-  }), Object(external_wp_element_["createElement"])(MostUsedTerms, {
-    taxonomy: taxonomy,
-    onSelect: appendTerm
-  }));
-}
+function PostPingbacks(_ref) {
+  let {
+    pingStatus = 'open',
+    ...props
+  } = _ref;

-/* harmony default export */ var flat_term_selector = (Object(external_wp_components_["withFilters"])('editor.PostTaxonomyType')(FlatTermSelector));
+  const onTogglePingback = () => props.editPost({
+    ping_status: pingStatus === 'open' ? 'closed' : 'open'
+  });

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/maybe-tags-panel.js
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CheckboxControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Allow pingbacks & trackbacks'),
+    checked: pingStatus === 'open',
+    onChange: onTogglePingback
+  });
+}

+/* harmony default export */ var post_pingbacks = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  return {
+    pingStatus: select(store).getEditedPostAttribute('ping_status')
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
+  editPost: dispatch(store).editPost
+}))])(PostPingbacks));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-button/label.js
 /**
  * External dependencies
  */
@@ -8670,82 +8042,76 @@ function FlatTermSelector(_ref) {



-
-
-
 /**
  * Internal dependencies
  */


+function PublishButtonLabel(_ref) {
+  let {
+    isPublished,
+    isBeingScheduled,
+    isSaving,
+    isPublishing,
+    hasPublishAction,
+    isAutosaving,
+    hasNonPostEntityChanges
+  } = _ref;

-
-const TagsPanel = () => {
-  const panelBodyTitle = [Object(external_wp_i18n_["__"])('Suggestion:'), Object(external_wp_element_["createElement"])("span", {
-    className: "editor-post-publish-panel__link",
-    key: "label"
-  }, Object(external_wp_i18n_["__"])('Add tags'))];
-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    initialOpen: false,
-    title: panelBodyTitle
-  }, Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.')), Object(external_wp_element_["createElement"])(flat_term_selector, {
-    slug: 'post_tag'
-  }));
-};
-
-class maybe_tags_panel_MaybeTagsPanel extends external_wp_element_["Component"] {
-  constructor(props) {
-    super(props);
-    this.state = {
-      hadTagsWhenOpeningThePanel: props.hasTags
-    };
+  if (isPublishing) {
+    /* translators: button label text should, if possible, be under 16 characters. */
+    return (0,external_wp_i18n_namespaceObject.__)('Publishing…');
+  } else if (isPublished && isSaving && !isAutosaving) {
+    /* translators: button label text should, if possible, be under 16 characters. */
+    return (0,external_wp_i18n_namespaceObject.__)('Updating…');
+  } else if (isBeingScheduled && isSaving && !isAutosaving) {
+    /* translators: button label text should, if possible, be under 16 characters. */
+    return (0,external_wp_i18n_namespaceObject.__)('Scheduling…');
   }
-  /*
-   * We only want to show the tag panel if the post didn't have
-   * any tags when the user hit the Publish button.
-   *
-   * We can't use the prop.hasTags because it'll change to true
-   * if the user adds a new tag within the pre-publish panel.
-   * This would force a re-render and a new prop.hasTags check,
-   * hiding this panel and keeping the user from adding
-   * more than one tag.
-   */
-
-
-  render() {
-    if (!this.state.hadTagsWhenOpeningThePanel) {
-      return Object(external_wp_element_["createElement"])(TagsPanel, null);
-    }

-    return null;
+  if (!hasPublishAction) {
+    return hasNonPostEntityChanges ? (0,external_wp_i18n_namespaceObject.__)('Submit for Review…') : (0,external_wp_i18n_namespaceObject.__)('Submit for Review');
+  } else if (isPublished) {
+    return hasNonPostEntityChanges ? (0,external_wp_i18n_namespaceObject.__)('Update…') : (0,external_wp_i18n_namespaceObject.__)('Update');
+  } else if (isBeingScheduled) {
+    return hasNonPostEntityChanges ? (0,external_wp_i18n_namespaceObject.__)('Schedule…') : (0,external_wp_i18n_namespaceObject.__)('Schedule');
   }

+  return (0,external_wp_i18n_namespaceObject.__)('Publish');
 }
-
-/* harmony default export */ var maybe_tags_panel = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])(select => {
-  const postType = select(store).getCurrentPostType();
-  const tagsTaxonomy = select(external_wp_coreData_["store"]).getTaxonomy('post_tag');
-  const tags = tagsTaxonomy && select(store).getEditedPostAttribute(tagsTaxonomy.rest_base);
+/* harmony default export */ var label = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)((select, _ref2) => {
+  let {
+    forceIsSaving
+  } = _ref2;
+  const {
+    isCurrentPostPublished,
+    isEditedPostBeingScheduled,
+    isSavingPost,
+    isPublishingPost,
+    getCurrentPost,
+    getCurrentPostType,
+    isAutosavingPost
+  } = select(store);
   return {
-    areTagsFetched: tagsTaxonomy !== undefined,
-    isPostTypeSupported: tagsTaxonomy && Object(external_lodash_["some"])(tagsTaxonomy.types, type => type === postType),
-    hasTags: tags && tags.length
+    isPublished: isCurrentPostPublished(),
+    isBeingScheduled: isEditedPostBeingScheduled(),
+    isSaving: forceIsSaving || isSavingPost(),
+    isPublishing: isPublishingPost(),
+    hasPublishAction: (0,external_lodash_namespaceObject.get)(getCurrentPost(), ['_links', 'wp:action-publish'], false),
+    postType: getCurrentPostType(),
+    isAutosaving: isAutosavingPost()
   };
-}), Object(external_wp_compose_["ifCondition"])(_ref => {
-  let {
-    areTagsFetched,
-    isPostTypeSupported
-  } = _ref;
-  return isPostTypeSupported && areTagsFetched;
-}))(maybe_tags_panel_MaybeTagsPanel));
+})])(PublishButtonLabel));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-button/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/maybe-post-format-panel.js


 /**
  * External dependencies
  */

+
 /**
  * WordPress dependencies
  */
@@ -8754,206 +8120,275 @@ class maybe_tags_panel_MaybeTagsPanel extends external_wp_element_["Component"]



+
 /**
  * Internal dependencies
  */



-
-const getSuggestion = (supportedFormats, suggestedPostFormat) => {
-  const formats = POST_FORMATS.filter(format => Object(external_lodash_["includes"])(supportedFormats, format.id));
-  return Object(external_lodash_["find"])(formats, format => format.id === suggestedPostFormat);
-};
-
-const PostFormatSuggestion = _ref => {
-  let {
-    suggestedPostFormat,
-    suggestionText,
-    onUpdatePostFormat
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "link",
-    onClick: () => onUpdatePostFormat(suggestedPostFormat)
-  }, suggestionText);
-};
-
-function PostFormatPanel() {
-  const {
-    currentPostFormat,
-    suggestion
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getEditedPostAttribute,
-      getSuggestedPostFormat
-    } = select(store);
-    const supportedFormats = Object(external_lodash_["get"])(select(external_wp_coreData_["store"]).getThemeSupports(), ['formats'], []);
-    return {
-      currentPostFormat: getEditedPostAttribute('format'),
-      suggestion: getSuggestion(supportedFormats, getSuggestedPostFormat())
+class PostPublishButton extends external_wp_element_namespaceObject.Component {
+  constructor(props) {
+    super(props);
+    this.buttonNode = (0,external_wp_element_namespaceObject.createRef)();
+    this.createOnClick = this.createOnClick.bind(this);
+    this.closeEntitiesSavedStates = this.closeEntitiesSavedStates.bind(this);
+    this.state = {
+      entitiesSavedStatesCallback: false
     };
-  }, []);
-  const {
-    editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
-
-  const onUpdatePostFormat = format => editPost({
-    format
-  });
-
-  const panelBodyTitle = [Object(external_wp_i18n_["__"])('Suggestion:'), Object(external_wp_element_["createElement"])("span", {
-    className: "editor-post-publish-panel__link",
-    key: "label"
-  }, Object(external_wp_i18n_["__"])('Use a post format'))];
-
-  if (!suggestion || suggestion.id === currentPostFormat) {
-    return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    initialOpen: false,
-    title: panelBodyTitle
-  }, Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.')), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_element_["createElement"])(PostFormatSuggestion, {
-    onUpdatePostFormat: onUpdatePostFormat,
-    suggestedPostFormat: suggestion.id,
-    suggestionText: Object(external_wp_i18n_["sprintf"])(
-    /* translators: %s: post format */
-    Object(external_wp_i18n_["__"])('Apply the "%1$s" format.'), suggestion.caption)
-  })));
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/prepublish.js
-
-
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-
+  componentDidMount() {
+    if (this.props.focusOnMount) {
+      this.buttonNode.current.focus();
+    }
+  }

+  createOnClick(callback) {
+    var _this = this;

+    return function () {
+      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+        args[_key] = arguments[_key];
+      }

+      const {
+        hasNonPostEntityChanges,
+        setEntitiesSavedStatesCallback
+      } = _this.props; // If a post with non-post entities is published, but the user
+      // elects to not save changes to the non-post entities, those
+      // entities will still be dirty when the Publish button is clicked.
+      // We also need to check that the `setEntitiesSavedStatesCallback`
+      // prop was passed. See https://github.com/WordPress/gutenberg/pull/37383

+      if (hasNonPostEntityChanges && setEntitiesSavedStatesCallback) {
+        // The modal for multiple entity saving will open,
+        // hold the callback for saving/publishing the post
+        // so that we can call it if the post entity is checked.
+        _this.setState({
+          entitiesSavedStatesCallback: () => callback(...args)
+        }); // Open the save panel by setting its callback.
+        // To set a function on the useState hook, we must set it
+        // with another function (() => myFunction). Passing the
+        // function on its own will cause an error when called.

-/**
- * Internal dependencies
- */

+        setEntitiesSavedStatesCallback(() => _this.closeEntitiesSavedStates);
+        return external_lodash_namespaceObject.noop;
+      }

+      return callback(...args);
+    };
+  }

+  closeEntitiesSavedStates(savedEntities) {
+    const {
+      postType,
+      postId
+    } = this.props;
+    const {
+      entitiesSavedStatesCallback
+    } = this.state;
+    this.setState({
+      entitiesSavedStatesCallback: false
+    }, () => {
+      if (savedEntities && (0,external_lodash_namespaceObject.some)(savedEntities, elt => elt.kind === 'postType' && elt.name === postType && elt.key === postId)) {
+        // The post entity was checked, call the held callback from `createOnClick`.
+        entitiesSavedStatesCallback();
+      }
+    });
+  }

+  render() {
+    const {
+      forceIsDirty,
+      forceIsSaving,
+      hasPublishAction,
+      isBeingScheduled,
+      isOpen,
+      isPostSavingLocked,
+      isPublishable,
+      isPublished,
+      isSaveable,
+      isSaving,
+      isAutoSaving,
+      isToggle,
+      onSave,
+      onStatusChange,
+      onSubmit = external_lodash_namespaceObject.noop,
+      onToggle,
+      visibility,
+      hasNonPostEntityChanges,
+      isSavingNonPostEntityChanges
+    } = this.props;
+    const isButtonDisabled = (isSaving || forceIsSaving || !isSaveable || isPostSavingLocked || !isPublishable && !forceIsDirty) && (!hasNonPostEntityChanges || isSavingNonPostEntityChanges);
+    const isToggleDisabled = (isPublished || isSaving || forceIsSaving || !isSaveable || !isPublishable && !forceIsDirty) && (!hasNonPostEntityChanges || isSavingNonPostEntityChanges);
+    let publishStatus;

+    if (!hasPublishAction) {
+      publishStatus = 'pending';
+    } else if (visibility === 'private') {
+      publishStatus = 'private';
+    } else if (isBeingScheduled) {
+      publishStatus = 'future';
+    } else {
+      publishStatus = 'publish';
+    }

+    const onClickButton = () => {
+      if (isButtonDisabled) {
+        return;
+      }

+      onSubmit();
+      onStatusChange(publishStatus);
+      onSave();
+    };

+    const onClickToggle = () => {
+      if (isToggleDisabled) {
+        return;
+      }

-function PostPublishPanelPrepublish(_ref) {
-  let {
-    children
-  } = _ref;
-  const {
-    isBeingScheduled,
-    isRequestingSiteIcon,
-    hasPublishAction,
-    siteIconUrl,
-    siteTitle,
-    siteHome
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getCurrentPost,
-      isEditedPostBeingScheduled
-    } = select(store);
-    const {
-      getEntityRecord,
-      isResolving
-    } = select(external_wp_coreData_["store"]);
-    const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
-    return {
-      hasPublishAction: Object(external_lodash_["get"])(getCurrentPost(), ['_links', 'wp:action-publish'], false),
-      isBeingScheduled: isEditedPostBeingScheduled(),
-      isRequestingSiteIcon: isResolving('getEntityRecord', ['root', '__unstableBase', undefined]),
-      siteIconUrl: siteData.site_icon_url,
-      siteTitle: siteData.name,
-      siteHome: siteData.home && Object(external_wp_url_["filterURLForDisplay"])(siteData.home)
+      onToggle();
     };
-  }, []);
-  let siteIcon = Object(external_wp_element_["createElement"])(external_wp_components_["Icon"], {
-    className: "components-site-icon",
-    size: "36px",
-    icon: wordpress["a" /* default */]
-  });

-  if (siteIconUrl) {
-    siteIcon = Object(external_wp_element_["createElement"])("img", {
-      alt: Object(external_wp_i18n_["__"])('Site Icon'),
-      className: "components-site-icon",
-      src: siteIconUrl
+    const buttonProps = {
+      'aria-disabled': isButtonDisabled,
+      className: 'editor-post-publish-button',
+      isBusy: !isAutoSaving && isSaving && isPublished,
+      variant: 'primary',
+      onClick: this.createOnClick(onClickButton)
+    };
+    const toggleProps = {
+      'aria-disabled': isToggleDisabled,
+      'aria-expanded': isOpen,
+      className: 'editor-post-publish-panel__toggle',
+      isBusy: isSaving && isPublished,
+      variant: 'primary',
+      onClick: this.createOnClick(onClickToggle)
+    };
+    const toggleChildren = isBeingScheduled ? (0,external_wp_i18n_namespaceObject.__)('Schedule…') : (0,external_wp_i18n_namespaceObject.__)('Publish');
+    const buttonChildren = (0,external_wp_element_namespaceObject.createElement)(label, {
+      forceIsSaving: forceIsSaving,
+      hasNonPostEntityChanges: hasNonPostEntityChanges
     });
+    const componentProps = isToggle ? toggleProps : buttonProps;
+    const componentChildren = isToggle ? toggleChildren : buttonChildren;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({
+      ref: this.buttonNode
+    }, componentProps, {
+      className: classnames_default()(componentProps.className, 'editor-post-publish-button__button', {
+        'has-changes-dot': hasNonPostEntityChanges
+      })
+    }), componentChildren));
   }

-  if (isRequestingSiteIcon) {
-    siteIcon = null;
-  }
+}
+/* harmony default export */ var post_publish_button = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    isSavingPost,
+    isAutosavingPost,
+    isEditedPostBeingScheduled,
+    getEditedPostVisibility,
+    isCurrentPostPublished,
+    isEditedPostSaveable,
+    isEditedPostPublishable,
+    isPostSavingLocked,
+    getCurrentPost,
+    getCurrentPostType,
+    getCurrentPostId,
+    hasNonPostEntityChanges,
+    isSavingNonPostEntityChanges
+  } = select(store);
+
+  const _isAutoSaving = isAutosavingPost();
+
+  return {
+    isSaving: isSavingPost() || _isAutoSaving,
+    isAutoSaving: _isAutoSaving,
+    isBeingScheduled: isEditedPostBeingScheduled(),
+    visibility: getEditedPostVisibility(),
+    isSaveable: isEditedPostSaveable(),
+    isPostSavingLocked: isPostSavingLocked(),
+    isPublishable: isEditedPostPublishable(),
+    isPublished: isCurrentPostPublished(),
+    hasPublishAction: (0,external_lodash_namespaceObject.get)(getCurrentPost(), ['_links', 'wp:action-publish'], false),
+    postType: getCurrentPostType(),
+    postId: getCurrentPostId(),
+    hasNonPostEntityChanges: hasNonPostEntityChanges(),
+    isSavingNonPostEntityChanges: isSavingNonPostEntityChanges()
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
+  const {
+    editPost,
+    savePost
+  } = dispatch(store);
+  return {
+    onStatusChange: status => editPost({
+      status
+    }, {
+      undoIgnore: true
+    }),
+    onSave: savePost
+  };
+})])(PostPublishButton));

-  let prePublishTitle, prePublishBodyText;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close-small.js

-  if (!hasPublishAction) {
-    prePublishTitle = Object(external_wp_i18n_["__"])('Are you ready to submit for review?');
-    prePublishBodyText = Object(external_wp_i18n_["__"])('When you’re ready, submit your work for review, and an Editor will be able to approve it for you.');
-  } else if (isBeingScheduled) {
-    prePublishTitle = Object(external_wp_i18n_["__"])('Are you ready to schedule?');
-    prePublishBodyText = Object(external_wp_i18n_["__"])('Your work will be published at the specified date and time.');
-  } else {
-    prePublishTitle = Object(external_wp_i18n_["__"])('Are you ready to publish?');
-    prePublishBodyText = Object(external_wp_i18n_["__"])('Double-check your settings before publishing.');
-  }

-  return Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-publish-panel__prepublish"
-  }, Object(external_wp_element_["createElement"])("div", null, Object(external_wp_element_["createElement"])("strong", null, prePublishTitle)), Object(external_wp_element_["createElement"])("p", null, prePublishBodyText), Object(external_wp_element_["createElement"])("div", {
-    className: "components-site-card"
-  }, siteIcon, Object(external_wp_element_["createElement"])("div", {
-    className: "components-site-info"
-  }, Object(external_wp_element_["createElement"])("span", {
-    className: "components-site-name"
-  }, Object(external_wp_htmlEntities_["decodeEntities"])(siteTitle) || Object(external_wp_i18n_["__"])('(Untitled)')), Object(external_wp_element_["createElement"])("span", {
-    className: "components-site-home"
-  }, siteHome))), hasPublishAction && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    initialOpen: false,
-    title: [Object(external_wp_i18n_["__"])('Visibility:'), Object(external_wp_element_["createElement"])("span", {
-      className: "editor-post-publish-panel__link",
-      key: "label"
-    }, Object(external_wp_element_["createElement"])(post_visibility_label, null))]
-  }, Object(external_wp_element_["createElement"])(post_visibility, null)), Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-    initialOpen: false,
-    title: [Object(external_wp_i18n_["__"])('Publish:'), Object(external_wp_element_["createElement"])("span", {
-      className: "editor-post-publish-panel__link",
-      key: "label"
-    }, Object(external_wp_element_["createElement"])(post_schedule_label, null))]
-  }, Object(external_wp_element_["createElement"])(PostSchedule, null))), Object(external_wp_element_["createElement"])(PostFormatPanel, null), Object(external_wp_element_["createElement"])(maybe_tags_panel, null), children);
-}
+/**
+ * WordPress dependencies
+ */

-/* harmony default export */ var prepublish = (PostPublishPanelPrepublish);
+const closeSmall = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
+}));
+/* harmony default export */ var close_small = (closeSmall);

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/postpublish.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/wordpress.js


 /**
- * External dependencies
+ * WordPress dependencies
  */

+const wordpress = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "-2 -2 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"
+}));
+/* harmony default export */ var library_wordpress = (wordpress);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-visibility/utils.js
 /**
  * WordPress dependencies
  */

+const visibilityOptions = [{
+  value: 'public',
+  label: (0,external_wp_i18n_namespaceObject.__)('Public'),
+  info: (0,external_wp_i18n_namespaceObject.__)('Visible to everyone.')
+}, {
+  value: 'private',
+  label: (0,external_wp_i18n_namespaceObject.__)('Private'),
+  info: (0,external_wp_i18n_namespaceObject.__)('Only visible to site admins and editors.')
+}, {
+  value: 'password',
+  label: (0,external_wp_i18n_namespaceObject.__)('Password Protected'),
+  info: (0,external_wp_i18n_namespaceObject.__)('Protected with a password you choose. Only those with the password can view this post.')
+}];

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-visibility/index.js


+/**
+ * WordPress dependencies
+ */



@@ -8965,149 +8400,165 @@ function PostPublishPanelPrepublish(_ref) {



-const POSTNAME = '%postname%';
-/**
- * Returns URL for a future post.
- *
- * @param {Object} post Post object.
- *
- * @return {string} PostPublish URL.
- */
-
-const getFuturePostUrl = post => {
-  const {
-    slug
-  } = post;
-
-  if (post.permalink_template.includes(POSTNAME)) {
-    return post.permalink_template.replace(POSTNAME, slug);
-  }
-
-  return post.permalink_template;
-};
-
-function postpublish_CopyButton(_ref) {
-  let {
-    text,
-    onCopy,
-    children
-  } = _ref;
-  const ref = Object(external_wp_compose_["useCopyToClipboard"])(text, onCopy);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    ref: ref
-  }, children);
-}
-
-class postpublish_PostPublishPanelPostpublish extends external_wp_element_["Component"] {
-  constructor() {
+class PostVisibility extends external_wp_element_namespaceObject.Component {
+  constructor(props) {
     super(...arguments);
+    this.setPublic = this.setPublic.bind(this);
+    this.setPrivate = this.setPrivate.bind(this);
+    this.setPasswordProtected = this.setPasswordProtected.bind(this);
+    this.updatePassword = this.updatePassword.bind(this);
     this.state = {
-      showCopyConfirmation: false
+      hasPassword: !!props.password
     };
-    this.onCopy = this.onCopy.bind(this);
-    this.onSelectInput = this.onSelectInput.bind(this);
-    this.postLink = Object(external_wp_element_["createRef"])();
   }

-  componentDidMount() {
-    if (this.props.focusOnMount) {
-      this.postLink.current.focus();
-    }
+  setPublic() {
+    const {
+      visibility,
+      onUpdateVisibility,
+      status
+    } = this.props;
+    onUpdateVisibility(visibility === 'private' ? 'draft' : status);
+    this.setState({
+      hasPassword: false
+    });
   }

-  componentWillUnmount() {
-    clearTimeout(this.dismissCopyConfirmation);
+  setPrivate() {
+    if ( // eslint-disable-next-line no-alert
+    !window.confirm((0,external_wp_i18n_namespaceObject.__)('Would you like to privately publish this post now?'))) {
+      return;
+    }
+
+    const {
+      onUpdateVisibility,
+      onSave
+    } = this.props;
+    onUpdateVisibility('private');
+    this.setState({
+      hasPassword: false
+    });
+    onSave();
   }

-  onCopy() {
+  setPasswordProtected() {
+    const {
+      visibility,
+      onUpdateVisibility,
+      status,
+      password
+    } = this.props;
+    onUpdateVisibility(visibility === 'private' ? 'draft' : status, password || '');
     this.setState({
-      showCopyConfirmation: true
+      hasPassword: true
     });
-    clearTimeout(this.dismissCopyConfirmation);
-    this.dismissCopyConfirmation = setTimeout(() => {
-      this.setState({
-        showCopyConfirmation: false
-      });
-    }, 4000);
   }

-  onSelectInput(event) {
-    event.target.select();
+  updatePassword(event) {
+    const {
+      status,
+      onUpdateVisibility
+    } = this.props;
+    onUpdateVisibility(status, event.target.value);
   }

   render() {
     const {
-      children,
-      isScheduled,
-      post,
-      postType
+      visibility,
+      password,
+      instanceId
     } = this.props;
-    const postLabel = Object(external_lodash_["get"])(postType, ['labels', 'singular_name']);
-    const viewPostLabel = Object(external_lodash_["get"])(postType, ['labels', 'view_item']);
-    const addNewPostLabel = Object(external_lodash_["get"])(postType, ['labels', 'add_new_item']);
-    const link = post.status === 'future' ? getFuturePostUrl(post) : post.link;
-    const addLink = Object(external_wp_url_["addQueryArgs"])('post-new.php', {
-      post_type: post.type
-    });
-    const postPublishNonLinkHeader = isScheduled ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_i18n_["__"])('is now scheduled. It will go live on'), ' ', Object(external_wp_element_["createElement"])(post_schedule_label, null), ".") : Object(external_wp_i18n_["__"])('is now live.');
-    return Object(external_wp_element_["createElement"])("div", {
-      className: "post-publish-panel__postpublish"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], {
-      className: "post-publish-panel__postpublish-header"
-    }, Object(external_wp_element_["createElement"])("a", {
-      ref: this.postLink,
-      href: link
-    }, Object(external_wp_htmlEntities_["decodeEntities"])(post.title) || Object(external_wp_i18n_["__"])('(no title)')), ' ', postPublishNonLinkHeader), Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], null, Object(external_wp_element_["createElement"])("p", {
-      className: "post-publish-panel__postpublish-subheader"
-    }, Object(external_wp_element_["createElement"])("strong", null, Object(external_wp_i18n_["__"])('What’s next?'))), Object(external_wp_element_["createElement"])("div", {
-      className: "post-publish-panel__postpublish-post-address-container"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-      className: "post-publish-panel__postpublish-post-address",
-      readOnly: true,
-      label: Object(external_wp_i18n_["sprintf"])(
-      /* translators: %s: post type singular name */
-      Object(external_wp_i18n_["__"])('%s address'), postLabel),
-      value: Object(external_wp_url_["safeDecodeURIComponent"])(link),
-      onFocus: this.onSelectInput
-    }), Object(external_wp_element_["createElement"])("div", {
-      className: "post-publish-panel__postpublish-post-address__copy-button-wrap"
-    }, Object(external_wp_element_["createElement"])(postpublish_CopyButton, {
-      text: link,
-      onCopy: this.onCopy
-    }, this.state.showCopyConfirmation ? Object(external_wp_i18n_["__"])('Copied!') : Object(external_wp_i18n_["__"])('Copy')))), Object(external_wp_element_["createElement"])("div", {
-      className: "post-publish-panel__postpublish-buttons"
-    }, !isScheduled && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      variant: "primary",
-      href: link
-    }, viewPostLabel), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      variant: isScheduled ? 'primary' : 'secondary',
-      href: addLink
-    }, addNewPostLabel))), children);
+    const visibilityHandlers = {
+      public: {
+        onSelect: this.setPublic,
+        checked: visibility === 'public' && !this.state.hasPassword
+      },
+      private: {
+        onSelect: this.setPrivate,
+        checked: visibility === 'private'
+      },
+      password: {
+        onSelect: this.setPasswordProtected,
+        checked: this.state.hasPassword
+      }
+    };
+    return [(0,external_wp_element_namespaceObject.createElement)("fieldset", {
+      key: "visibility-selector",
+      className: "editor-post-visibility__dialog-fieldset"
+    }, (0,external_wp_element_namespaceObject.createElement)("legend", {
+      className: "editor-post-visibility__dialog-legend"
+    }, (0,external_wp_i18n_namespaceObject.__)('Post Visibility')), visibilityOptions.map(_ref => {
+      let {
+        value,
+        label,
+        info
+      } = _ref;
+      return (0,external_wp_element_namespaceObject.createElement)("div", {
+        key: value,
+        className: "editor-post-visibility__choice"
+      }, (0,external_wp_element_namespaceObject.createElement)("input", {
+        type: "radio",
+        name: `editor-post-visibility__setting-${instanceId}`,
+        value: value,
+        onChange: visibilityHandlers[value].onSelect,
+        checked: visibilityHandlers[value].checked,
+        id: `editor-post-${value}-${instanceId}`,
+        "aria-describedby": `editor-post-${value}-${instanceId}-description`,
+        className: "editor-post-visibility__dialog-radio"
+      }), (0,external_wp_element_namespaceObject.createElement)("label", {
+        htmlFor: `editor-post-${value}-${instanceId}`,
+        className: "editor-post-visibility__dialog-label"
+      }, label), (0,external_wp_element_namespaceObject.createElement)("p", {
+        id: `editor-post-${value}-${instanceId}-description`,
+        className: "editor-post-visibility__dialog-info"
+      }, info));
+    })), this.state.hasPassword && (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "editor-post-visibility__dialog-password",
+      key: "password-selector"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+      as: "label",
+      htmlFor: `editor-post-visibility__dialog-password-input-${instanceId}`
+    }, (0,external_wp_i18n_namespaceObject.__)('Create password')), (0,external_wp_element_namespaceObject.createElement)("input", {
+      className: "editor-post-visibility__dialog-password-input",
+      id: `editor-post-visibility__dialog-password-input-${instanceId}`,
+      type: "text",
+      onChange: this.updatePassword,
+      value: password,
+      placeholder: (0,external_wp_i18n_namespaceObject.__)('Use a secure password')
+    }))];
   }

 }
-
-/* harmony default export */ var postpublish = (Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var post_visibility = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
     getEditedPostAttribute,
-    getCurrentPost,
-    isCurrentPostScheduled
+    getEditedPostVisibility
   } = select(store);
-  const {
-    getPostType
-  } = select(external_wp_coreData_["store"]);
   return {
-    post: getCurrentPost(),
-    postType: getPostType(getEditedPostAttribute('type')),
-    isScheduled: isCurrentPostScheduled()
+    status: getEditedPostAttribute('status'),
+    visibility: getEditedPostVisibility(),
+    password: getEditedPostAttribute('password')
   };
-})(postpublish_PostPublishPanelPostpublish));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/index.js
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
+  const {
+    savePost,
+    editPost
+  } = dispatch(store);
+  return {
+    onSave: savePost,

+    onUpdateVisibility(status) {
+      let password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
+      editPost({
+        status,
+        password
+      });
+    }

+  };
+}), external_wp_compose_namespaceObject.withInstanceId])(PostVisibility));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-visibility/label.js
 /**
  * External dependencies
  */
@@ -9117,7 +8568,35 @@ class postpublish_PostPublishPanelPostpublish extends external_wp_element_["Comp
  */


+/**
+ * Internal dependencies
+ */
+
+
+
+
+function PostVisibilityLabel(_ref) {
+  let {
+    visibility
+  } = _ref;
+
+  const getVisibilityLabel = () => (0,external_lodash_namespaceObject.find)(visibilityOptions, {
+    value: visibility
+  }).label;
+
+  return getVisibilityLabel(visibility);
+}
+
+/* harmony default export */ var post_visibility_label = ((0,external_wp_data_namespaceObject.withSelect)(select => ({
+  visibility: select(store).getEditedPostVisibility()
+}))(PostVisibilityLabel));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-schedule/index.js
+

+/**
+ * WordPress dependencies
+ */



@@ -9129,176 +8608,184 @@ class postpublish_PostPublishPanelPostpublish extends external_wp_element_["Comp



+function getDayOfTheMonth() {
+  let date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
+  let firstDay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
+  const d = new Date(date);
+  return new Date(d.getFullYear(), d.getMonth() + (firstDay ? 0 : 1), firstDay ? 1 : 0).toISOString();
+}

+function PostSchedule() {
+  const {
+    postDate,
+    postType
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => ({
+    postDate: select(store).getEditedPostAttribute('date'),
+    postType: select(store).getCurrentPostType()
+  }), []);
+  const {
+    editPost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-class post_publish_panel_PostPublishPanel extends external_wp_element_["Component"] {
-  constructor() {
-    super(...arguments);
-    this.onSubmit = this.onSubmit.bind(this);
-  }
+  const onUpdateDate = date => editPost({
+    date
+  });

-  componentDidUpdate(prevProps) {
-    // Automatically collapse the publish sidebar when a post
-    // is published and the user makes an edit.
-    if (prevProps.isPublished && !this.props.isSaving && this.props.isDirty) {
-      this.props.onClose();
-    }
-  }
+  const [previewedMonth, setPreviewedMonth] = (0,external_wp_element_namespaceObject.useState)(getDayOfTheMonth(postDate)); // Pick up published and schduled site posts.

-  onSubmit() {
-    const {
-      onClose,
-      hasPublishAction,
-      isPostTypeViewable
-    } = this.props;
+  const eventsByPostType = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', postType, {
+    status: 'publish,future',
+    after: getDayOfTheMonth(previewedMonth),
+    before: getDayOfTheMonth(previewedMonth, false),
+    exclude: [select(store).getCurrentPostId()]
+  }), [previewedMonth, postType]);
+  const events = (0,external_wp_element_namespaceObject.useMemo)(() => (eventsByPostType || []).map(_ref => {
+    let {
+      title,
+      type,
+      date: eventDate
+    } = _ref;
+    return {
+      title: title === null || title === void 0 ? void 0 : title.rendered,
+      type,
+      date: new Date(eventDate)
+    };
+  }), [eventsByPostType]);
+  const ref = (0,external_wp_element_namespaceObject.useRef)();

-    if (!hasPublishAction || !isPostTypeViewable) {
-      onClose();
-    }
-  }
+  const settings = (0,external_wp_date_namespaceObject.__experimentalGetSettings)(); // To know if the current timezone is a 12 hour time with look for "a" in the time format
+  // We also make sure this a is not escaped by a "/"

-  render() {
+
+  const is12HourTime = /a(?!\\)/i.test(settings.formats.time.toLowerCase() // Test only the lower case a
+  .replace(/\\\\/g, '') // Replace "//" with empty strings
+  .split('').reverse().join('') // Reverse the string and test for "a" not followed by a slash
+  );
+
+  function onChange(newDate) {
+    onUpdateDate(newDate);
     const {
-      forceIsDirty,
-      forceIsSaving,
-      isBeingScheduled,
-      isPublished,
-      isPublishSidebarEnabled,
-      isScheduled,
-      isSaving,
-      isSavingNonPostEntityChanges,
-      onClose,
-      onTogglePublishSidebar,
-      PostPublishExtension,
-      PrePublishExtension,
-      ...additionalProps
-    } = this.props;
-    const propsForPanel = Object(external_lodash_["omit"])(additionalProps, ['hasPublishAction', 'isDirty', 'isPostTypeViewable']);
-    const isPublishedOrScheduled = isPublished || isScheduled && isBeingScheduled;
-    const isPrePublish = !isPublishedOrScheduled && !isSaving;
-    const isPostPublish = isPublishedOrScheduled && !isSaving;
-    return Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({
-      className: "editor-post-publish-panel"
-    }, propsForPanel), Object(external_wp_element_["createElement"])("div", {
-      className: "editor-post-publish-panel__header"
-    }, isPostPublish ? Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      onClick: onClose,
-      icon: close_small["a" /* default */],
-      label: Object(external_wp_i18n_["__"])('Close panel')
-    }) : Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-      className: "editor-post-publish-panel__header-publish-button"
-    }, Object(external_wp_element_["createElement"])(post_publish_button, {
-      focusOnMount: true,
-      onSubmit: this.onSubmit,
-      forceIsDirty: forceIsDirty,
-      forceIsSaving: forceIsSaving
-    })), Object(external_wp_element_["createElement"])("div", {
-      className: "editor-post-publish-panel__header-cancel-button"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-      disabled: isSavingNonPostEntityChanges,
-      onClick: onClose,
-      variant: "secondary"
-    }, Object(external_wp_i18n_["__"])('Cancel'))))), Object(external_wp_element_["createElement"])("div", {
-      className: "editor-post-publish-panel__content"
-    }, isPrePublish && Object(external_wp_element_["createElement"])(prepublish, null, PrePublishExtension && Object(external_wp_element_["createElement"])(PrePublishExtension, null)), isPostPublish && Object(external_wp_element_["createElement"])(postpublish, {
-      focusOnMount: true
-    }, PostPublishExtension && Object(external_wp_element_["createElement"])(PostPublishExtension, null)), isSaving && Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)), Object(external_wp_element_["createElement"])("div", {
-      className: "editor-post-publish-panel__footer"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["CheckboxControl"], {
-      label: Object(external_wp_i18n_["__"])('Always show pre-publish checks.'),
-      checked: isPublishSidebarEnabled,
-      onChange: onTogglePublishSidebar
-    })));
+      ownerDocument
+    } = ref.current;
+    ownerDocument.activeElement.blur();
   }

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DateTimePicker, {
+    ref: ref,
+    currentDate: postDate,
+    onChange: onChange,
+    is12Hour: is12HourTime,
+    events: events,
+    onMonthPreviewed: setPreviewedMonth
+  });
 }
-/* harmony default export */ var post_publish_panel = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getPostType
-  } = select(external_wp_coreData_["store"]);
-  const {
-    getCurrentPost,
-    getEditedPostAttribute,
-    isCurrentPostPublished,
-    isCurrentPostScheduled,
-    isEditedPostBeingScheduled,
-    isEditedPostDirty,
-    isSavingPost,
-    isSavingNonPostEntityChanges
-  } = select(store);
-  const {
-    isPublishSidebarEnabled
-  } = select(store);
-  const postType = getPostType(getEditedPostAttribute('type'));
-  return {
-    hasPublishAction: Object(external_lodash_["get"])(getCurrentPost(), ['_links', 'wp:action-publish'], false),
-    isPostTypeViewable: Object(external_lodash_["get"])(postType, ['viewable'], false),
-    isBeingScheduled: isEditedPostBeingScheduled(),
-    isDirty: isEditedPostDirty(),
-    isPublished: isCurrentPostPublished(),
-    isPublishSidebarEnabled: isPublishSidebarEnabled(),
-    isSaving: isSavingPost(),
-    isSavingNonPostEntityChanges: isSavingNonPostEntityChanges(),
-    isScheduled: isCurrentPostScheduled()
-  };
-}), Object(external_wp_data_["withDispatch"])((dispatch, _ref) => {
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-schedule/label.js
+/**
+ * WordPress dependencies
+ */
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+function PostScheduleLabel(_ref) {
   let {
-    isPublishSidebarEnabled
+    date,
+    isFloating
   } = _ref;
-  const {
-    disablePublishSidebar,
-    enablePublishSidebar
-  } = dispatch(store);
+
+  const settings = (0,external_wp_date_namespaceObject.__experimentalGetSettings)();
+
+  return date && !isFloating ? (0,external_wp_date_namespaceObject.format)(`${settings.formats.date} ${settings.formats.time}`, date) : (0,external_wp_i18n_namespaceObject.__)('Immediately');
+}
+/* harmony default export */ var post_schedule_label = ((0,external_wp_data_namespaceObject.withSelect)(select => {
   return {
-    onTogglePublishSidebar: () => {
-      if (isPublishSidebarEnabled) {
-        disablePublishSidebar();
-      } else {
-        enablePublishSidebar();
-      }
-    }
+    date: select(store).getEditedPostAttribute('date'),
+    isFloating: select(store).isEditedPostDateFloating()
   };
-}), external_wp_components_["withFocusReturn"], external_wp_components_["withConstrainedTabbing"]])(post_publish_panel_PostPublishPanel));
+})(PostScheduleLabel));

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cloud-upload.js
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/most-used-terms.js


+/**
+ * External dependencies
+ */
+
 /**
  * WordPress dependencies
  */

-const cloudUpload = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-4v-2.4L14 14l1-1-3-3-3 3 1 1 1.2-1.2v2.4H7.7c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4H9l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8 0 1-.8 1.8-1.7 1.8z"
-}));
-/* harmony default export */ var cloud_upload = (cloudUpload);

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
-var icon = __webpack_require__("iClF");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
-var library_check = __webpack_require__("RMJe");

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cloud.js
+/**
+ * Internal dependencies
+ */
+
+
+const MAX_MOST_USED_TERMS = 10;
+const DEFAULT_QUERY = {
+  per_page: MAX_MOST_USED_TERMS,
+  orderby: 'count',
+  order: 'desc',
+  hide_empty: true,
+  _fields: 'id,name,count',
+  context: 'view'
+};
+function MostUsedTerms(_ref) {
+  let {
+    onSelect,
+    taxonomy
+  } = _ref;
+  const {
+    _terms,
+    showTerms
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const mostUsedTerms = select(external_wp_coreData_namespaceObject.store).getEntityRecords('taxonomy', taxonomy.slug, DEFAULT_QUERY);
+    return {
+      _terms: mostUsedTerms,
+      showTerms: (mostUsedTerms === null || mostUsedTerms === void 0 ? void 0 : mostUsedTerms.length) === MAX_MOST_USED_TERMS
+    };
+  }, []);
+
+  if (!showTerms) {
+    return null;
+  }
+
+  const terms = unescapeTerms(_terms);
+  const label = (0,external_lodash_namespaceObject.get)(taxonomy, ['labels', 'most_used']);
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-taxonomies__flat-term-most-used"
+  }, (0,external_wp_element_namespaceObject.createElement)("h3", {
+    className: "editor-post-taxonomies__flat-term-most-used-label"
+  }, label), (0,external_wp_element_namespaceObject.createElement)("ul", {
+    role: "list",
+    className: "editor-post-taxonomies__flat-term-most-used-list"
+  }, terms.map(term => (0,external_wp_element_namespaceObject.createElement)("li", {
+    key: term.id
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "link",
+    onClick: () => onSelect(term)
+  }, term.name)))));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/flat-term-selector.js


 /**
- * WordPress dependencies
+ * External dependencies
  */

-const cloud = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
-  d: "M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-9c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4h1.3l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8-.1 1-.9 1.8-1.8 1.8z"
-}));
-/* harmony default export */ var library_cloud = (cloud);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-switch-to-draft-button/index.js
-
-
 /**
  * WordPress dependencies
  */
@@ -9306,285 +8793,228 @@ const cloud = Object(external_wp_element_["createElement"])(external_wp_primitiv



-/**
- * Internal dependencies
- */
-
-
-
-function PostSwitchToDraftButton(_ref) {
-  let {
-    isSaving,
-    isPublished,
-    isScheduled,
-    onClick
-  } = _ref;
-  const isMobileViewport = Object(external_wp_compose_["useViewportMatch"])('small', '<');

-  if (!isPublished && !isScheduled) {
-    return null;
-  }

-  const onSwitch = () => {
-    let alertMessage;

-    if (isPublished) {
-      alertMessage = Object(external_wp_i18n_["__"])('Are you sure you want to unpublish this post?');
-    } else if (isScheduled) {
-      alertMessage = Object(external_wp_i18n_["__"])('Are you sure you want to unschedule this post?');
-    } // eslint-disable-next-line no-alert


-    if (window.confirm(alertMessage)) {
-      onClick();
-    }
-  };

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "editor-post-switch-to-draft",
-    onClick: onSwitch,
-    disabled: isSaving,
-    variant: "tertiary"
-  }, isMobileViewport ? Object(external_wp_i18n_["__"])('Draft') : Object(external_wp_i18n_["__"])('Switch to draft'));
-}
+/**
+ * Internal dependencies
+ */

-/* harmony default export */ var post_switch_to_draft_button = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  const {
-    isSavingPost,
-    isCurrentPostPublished,
-    isCurrentPostScheduled
-  } = select(store);
-  return {
-    isSaving: isSavingPost(),
-    isPublished: isCurrentPostPublished(),
-    isScheduled: isCurrentPostScheduled()
-  };
-}), Object(external_wp_data_["withDispatch"])(dispatch => {
-  const {
-    editPost,
-    savePost
-  } = dispatch(store);
-  return {
-    onClick: () => {
-      editPost({
-        status: 'draft'
-      });
-      savePost();
-    }
-  };
-})])(PostSwitchToDraftButton));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-saved-state/index.js


 /**
- * External dependencies
+ * Shared reference to an empty array for cases where it is important to avoid
+ * returning a new array reference on every invocation.
+ *
+ * @type {Array<any>}
  */

+const flat_term_selector_EMPTY_ARRAY = [];
 /**
- * WordPress dependencies
+ * Module constants
  */

+const MAX_TERMS_SUGGESTIONS = 20;
+const flat_term_selector_DEFAULT_QUERY = {
+  per_page: MAX_TERMS_SUGGESTIONS,
+  orderby: 'count',
+  order: 'desc',
+  _fields: 'id,name',
+  context: 'view'
+};

+const isSameTermName = (termA, termB) => unescapeString(termA).toLowerCase() === unescapeString(termB).toLowerCase();

+const termNamesToIds = (names, terms) => {
+  return names.map(termName => (0,external_lodash_namespaceObject.find)(terms, term => isSameTermName(term.name, termName)).id);
+}; // Tries to create a term or fetch it if it already exists.


+function findOrCreateTerm(termName, restBase) {
+  const escapedTermName = (0,external_lodash_namespaceObject.escape)(termName);
+  return external_wp_apiFetch_default()({
+    path: `/wp/v2/${restBase}`,
+    method: 'POST',
+    data: {
+      name: escapedTermName
+    }
+  }).catch(error => {
+    const errorCode = error.code;

+    if (errorCode === 'term_exists') {
+      // If the terms exist, fetch it instead of creating a new one.
+      const addRequest = external_wp_apiFetch_default()({
+        path: (0,external_wp_url_namespaceObject.addQueryArgs)(`/wp/v2/${restBase}`, { ...flat_term_selector_DEFAULT_QUERY,
+          search: escapedTermName
+        })
+      }).then(unescapeTerms);
+      return addRequest.then(searchResult => {
+        return (0,external_lodash_namespaceObject.find)(searchResult, result => isSameTermName(result.name, termName));
+      });
+    }

+    return Promise.reject(error);
+  }).then(unescapeTerm);
+}

-/**
- * Internal dependencies
- */
-
-
-
-/**
- * Component showing whether the post is saved or not and providing save
- * buttons.
- *
- * @param {Object}   props                Component props.
- * @param {?boolean} props.forceIsDirty   Whether to force the post to be marked
- *                                        as dirty.
- * @param {?boolean} props.forceIsSaving  Whether to force the post to be marked
- *                                        as being saved.
- * @param {?boolean} props.showIconLabels Whether interface buttons show labels instead of icons
- * @return {import('@wordpress/element').WPComponent} The component.
- */
-
-function PostSavedState(_ref) {
+function FlatTermSelector(_ref) {
   let {
-    forceIsDirty,
-    forceIsSaving,
-    showIconLabels = false
+    slug
   } = _ref;
-  const [forceSavedMessage, setForceSavedMessage] = Object(external_wp_element_["useState"])(false);
-  const isLargeViewport = Object(external_wp_compose_["useViewportMatch"])('small');
+  const [values, setValues] = (0,external_wp_element_namespaceObject.useState)([]);
+  const [search, setSearch] = (0,external_wp_element_namespaceObject.useState)('');
+  const debouncedSearch = (0,external_wp_compose_namespaceObject.useDebounce)(setSearch, 500);
   const {
-    isAutosaving,
-    isDirty,
-    isNew,
-    isPending,
-    isPublished,
-    isSaveable,
-    isSaving,
-    isScheduled,
-    hasPublishAction
-  } = Object(external_wp_data_["useSelect"])(select => {
-    var _getCurrentPost$_link, _getCurrentPost, _getCurrentPost$_link2;
-
+    terms,
+    termIds,
+    taxonomy,
+    hasAssignAction,
+    hasCreateAction,
+    hasResolvedTerms
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
-      isEditedPostNew,
-      isCurrentPostPublished,
-      isCurrentPostScheduled,
-      isEditedPostDirty,
-      isSavingPost,
-      isEditedPostSaveable,
       getCurrentPost,
-      isAutosavingPost,
       getEditedPostAttribute
     } = select(store);
+    const {
+      getEntityRecords,
+      getTaxonomy,
+      hasFinishedResolution
+    } = select(external_wp_coreData_namespaceObject.store);
+    const post = getCurrentPost();
+
+    const _taxonomy = getTaxonomy(slug);
+
+    const _termIds = _taxonomy ? getEditedPostAttribute(_taxonomy.rest_base) : flat_term_selector_EMPTY_ARRAY;
+
+    const query = { ...flat_term_selector_DEFAULT_QUERY,
+      include: _termIds.join(','),
+      per_page: -1
+    };
     return {
-      isAutosaving: isAutosavingPost(),
-      isDirty: forceIsDirty || isEditedPostDirty(),
-      isNew: isEditedPostNew(),
-      isPending: 'pending' === getEditedPostAttribute('status'),
-      isPublished: isCurrentPostPublished(),
-      isSaving: forceIsSaving || isSavingPost(),
-      isSaveable: isEditedPostSaveable(),
-      isScheduled: isCurrentPostScheduled(),
-      hasPublishAction: (_getCurrentPost$_link = (_getCurrentPost = getCurrentPost()) === null || _getCurrentPost === void 0 ? void 0 : (_getCurrentPost$_link2 = _getCurrentPost._links) === null || _getCurrentPost$_link2 === void 0 ? void 0 : _getCurrentPost$_link2['wp:action-publish']) !== null && _getCurrentPost$_link !== void 0 ? _getCurrentPost$_link : false
+      hasCreateAction: _taxonomy ? (0,external_lodash_namespaceObject.get)(post, ['_links', 'wp:action-create-' + _taxonomy.rest_base], false) : false,
+      hasAssignAction: _taxonomy ? (0,external_lodash_namespaceObject.get)(post, ['_links', 'wp:action-assign-' + _taxonomy.rest_base], false) : false,
+      taxonomy: _taxonomy,
+      termIds: _termIds,
+      terms: _termIds.length ? getEntityRecords('taxonomy', slug, query) : flat_term_selector_EMPTY_ARRAY,
+      hasResolvedTerms: hasFinishedResolution('getEntityRecords', ['taxonomy', slug, query])
     };
-  }, [forceIsDirty, forceIsSaving]);
+  }, [slug]);
   const {
-    savePost
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const wasSaving = Object(external_wp_compose_["usePrevious"])(isSaving);
-  Object(external_wp_element_["useEffect"])(() => {
-    let timeoutId;
+    searchResults
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEntityRecords
+    } = select(external_wp_coreData_namespaceObject.store);
+    return {
+      searchResults: !!search ? getEntityRecords('taxonomy', slug, { ...flat_term_selector_DEFAULT_QUERY,
+        search
+      }) : flat_term_selector_EMPTY_ARRAY
+    };
+  }, [search]); // Update terms state only after the selectors are resolved.
+  // We're using this to avoid terms temporarily disappearing on slow networks
+  // while core data makes REST API requests.

-    if (wasSaving && !isSaving) {
-      setForceSavedMessage(true);
-      timeoutId = setTimeout(() => {
-        setForceSavedMessage(false);
-      }, 1000);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (hasResolvedTerms) {
+      const newValues = terms.map(term => unescapeString(term.name));
+      setValues(newValues);
     }
+  }, [terms, hasResolvedTerms]);
+  const suggestions = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    return (searchResults !== null && searchResults !== void 0 ? searchResults : []).map(term => unescapeString(term.name));
+  }, [searchResults]);
+  const {
+    editPost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

-    return () => clearTimeout(timeoutId);
-  }, [isSaving]); // Once the post has been submitted for review this button
-  // is not needed for the contributor role.
-
-  if (!hasPublishAction && isPending) {
+  if (!hasAssignAction) {
     return null;
   }

-  if (isPublished || isScheduled) {
-    return Object(external_wp_element_["createElement"])(post_switch_to_draft_button, null);
-  }
-  /* translators: button label text should, if possible, be under 16 characters. */
-
-
-  const label = isPending ? Object(external_wp_i18n_["__"])('Save as pending') : Object(external_wp_i18n_["__"])('Save draft');
-  /* translators: button label text should, if possible, be under 16 characters. */
-
-  const shortLabel = Object(external_wp_i18n_["__"])('Save');
-
-  const isSaved = forceSavedMessage || !isNew && !isDirty;
-  const isSavedState = isSaving || isSaved;
-  const isDisabled = isSaving || isSaved || !isSaveable;
-  let text;
-
-  if (isSaving) {
-    text = isAutosaving ? Object(external_wp_i18n_["__"])('Autosaving') : Object(external_wp_i18n_["__"])('Saving');
-  } else if (isSaved) {
-    text = Object(external_wp_i18n_["__"])('Saved');
-  } else if (isLargeViewport) {
-    text = label;
-  } else if (showIconLabels) {
-    text = shortLabel;
-  } // Use common Button instance for all saved states so that focus is not
-  // lost.
-
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: isSaveable || isSaving ? classnames_default()({
-      'editor-post-save-draft': !isSavedState,
-      'editor-post-saved-state': isSavedState,
-      'is-saving': isSaving,
-      'is-autosaving': isAutosaving,
-      'is-saved': isSaved,
-      [Object(external_wp_components_["__unstableGetAnimateClassName"])({
-        type: 'loading'
-      })]: isSaving
-    }) : undefined,
-    onClick: isDisabled ? undefined : () => savePost(),
-    shortcut: external_wp_keycodes_["displayShortcut"].primary('s'),
-    variant: isLargeViewport ? 'tertiary' : undefined,
-    icon: isLargeViewport ? undefined : cloud_upload,
-    label: label,
-    "aria-disabled": isDisabled
-  }, isSavedState && Object(external_wp_element_["createElement"])(icon["a" /* default */], {
-    icon: isSaved ? library_check["a" /* default */] : library_cloud
-  }), text);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-schedule/check.js
-/**
- * External dependencies
- */
+  function onUpdateTerms(newTermIds) {
+    editPost({
+      [taxonomy.rest_base]: newTermIds
+    });
+  }

-/**
- * WordPress dependencies
- */
+  function onChange(termNames) {
+    const availableTerms = [...terms, ...(searchResults !== null && searchResults !== void 0 ? searchResults : [])];
+    const uniqueTerms = (0,external_lodash_namespaceObject.uniqBy)(termNames, term => term.toLowerCase());
+    const newTermNames = uniqueTerms.filter(termName => !(0,external_lodash_namespaceObject.find)(availableTerms, term => isSameTermName(term.name, termName))); // Optimistically update term values.
+    // The selector will always re-fetch terms later.

+    setValues(uniqueTerms);

+    if (newTermNames.length === 0) {
+      return onUpdateTerms(termNamesToIds(uniqueTerms, availableTerms));
+    }

-/**
- * Internal dependencies
- */
+    if (!hasCreateAction) {
+      return;
+    }

+    Promise.all(newTermNames.map(termName => findOrCreateTerm(termName, taxonomy.rest_base))).then(newTerms => {
+      const newAvailableTerms = availableTerms.concat(newTerms);
+      return onUpdateTerms(termNamesToIds(uniqueTerms, newAvailableTerms));
+    });
+  }

-function PostScheduleCheck(_ref) {
-  let {
-    hasPublishAction,
-    children
-  } = _ref;
+  function appendTerm(newTerm) {
+    if (termIds.includes(newTerm.id)) {
+      return;
+    }

-  if (!hasPublishAction) {
-    return null;
+    const newTermIds = [...termIds, newTerm.id];
+    const termAddedMessage = (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %s: term name. */
+    (0,external_wp_i18n_namespaceObject._x)('%s added', 'term'), (0,external_lodash_namespaceObject.get)(taxonomy, ['labels', 'singular_name'], slug === 'post_tag' ? (0,external_wp_i18n_namespaceObject.__)('Tag') : (0,external_wp_i18n_namespaceObject.__)('Term')));
+    (0,external_wp_a11y_namespaceObject.speak)(termAddedMessage, 'assertive');
+    onUpdateTerms(newTermIds);
   }

-  return children;
+  const newTermLabel = (0,external_lodash_namespaceObject.get)(taxonomy, ['labels', 'add_new_item'], slug === 'post_tag' ? (0,external_wp_i18n_namespaceObject.__)('Add new tag') : (0,external_wp_i18n_namespaceObject.__)('Add new Term'));
+  const singularName = (0,external_lodash_namespaceObject.get)(taxonomy, ['labels', 'singular_name'], slug === 'post_tag' ? (0,external_wp_i18n_namespaceObject.__)('Tag') : (0,external_wp_i18n_namespaceObject.__)('Term'));
+  const termAddedLabel = (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: term name. */
+  (0,external_wp_i18n_namespaceObject._x)('%s added', 'term'), singularName);
+  const termRemovedLabel = (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: term name. */
+  (0,external_wp_i18n_namespaceObject._x)('%s removed', 'term'), singularName);
+  const removeTermLabel = (0,external_wp_i18n_namespaceObject.sprintf)(
+  /* translators: %s: term name. */
+  (0,external_wp_i18n_namespaceObject._x)('Remove %s', 'term'), singularName);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FormTokenField, {
+    value: values,
+    suggestions: suggestions,
+    onChange: onChange,
+    onInputChange: debouncedSearch,
+    maxSuggestions: MAX_TERMS_SUGGESTIONS,
+    label: newTermLabel,
+    messages: {
+      added: termAddedLabel,
+      removed: termRemovedLabel,
+      remove: removeTermLabel
+    }
+  }), (0,external_wp_element_namespaceObject.createElement)(MostUsedTerms, {
+    taxonomy: taxonomy,
+    onSelect: appendTerm
+  }));
 }
-/* harmony default export */ var post_schedule_check = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getCurrentPost,
-    getCurrentPostType
-  } = select(store);
-  return {
-    hasPublishAction: Object(external_lodash_["get"])(getCurrentPost(), ['_links', 'wp:action-publish'], false),
-    postType: getCurrentPostType()
-  };
-})])(PostScheduleCheck));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-slug/check.js
+/* harmony default export */ var flat_term_selector = ((0,external_wp_components_namespaceObject.withFilters)('editor.PostTaxonomyType')(FlatTermSelector));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/maybe-tags-panel.js


 /**
- * Internal dependencies
+ * External dependencies
  */

-function PostSlugCheck(_ref) {
-  let {
-    children
-  } = _ref;
-  return Object(external_wp_element_["createElement"])(post_type_support_check, {
-    supportKeys: "slug"
-  }, children);
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-slug/index.js
-
-
 /**
  * WordPress dependencies
  */
@@ -9593,6 +9023,8 @@ function PostSlugCheck(_ref) {



+
+
 /**
  * Internal dependencies
  */
@@ -9600,90 +9032,68 @@ function PostSlugCheck(_ref) {



-class post_slug_PostSlug extends external_wp_element_["Component"] {
-  constructor(_ref) {
-    let {
-      postSlug,
-      postTitle,
-      postID
-    } = _ref;
-    super(...arguments);
+const TagsPanel = () => {
+  const panelBodyTitle = [(0,external_wp_i18n_namespaceObject.__)('Suggestion:'), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "editor-post-publish-panel__link",
+    key: "label"
+  }, (0,external_wp_i18n_namespaceObject.__)('Add tags'))];
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    initialOpen: false,
+    title: panelBodyTitle
+  }, (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.')), (0,external_wp_element_namespaceObject.createElement)(flat_term_selector, {
+    slug: 'post_tag'
+  }));
+};
+
+class MaybeTagsPanel extends external_wp_element_namespaceObject.Component {
+  constructor(props) {
+    super(props);
     this.state = {
-      editedSlug: Object(external_wp_url_["safeDecodeURIComponent"])(postSlug) || cleanForSlug(postTitle) || postID
+      hadTagsWhenOpeningThePanel: props.hasTags
     };
-    this.setSlug = this.setSlug.bind(this);
   }
+  /*
+   * We only want to show the tag panel if the post didn't have
+   * any tags when the user hit the Publish button.
+   *
+   * We can't use the prop.hasTags because it'll change to true
+   * if the user adds a new tag within the pre-publish panel.
+   * This would force a re-render and a new prop.hasTags check,
+   * hiding this panel and keeping the user from adding
+   * more than one tag.
+   */

-  setSlug(event) {
-    const {
-      postSlug,
-      onUpdateSlug
-    } = this.props;
-    const {
-      value
-    } = event.target;
-    const editedSlug = cleanForSlug(value);

-    if (editedSlug === postSlug) {
-      return;
+  render() {
+    if (!this.state.hadTagsWhenOpeningThePanel) {
+      return (0,external_wp_element_namespaceObject.createElement)(TagsPanel, null);
     }

-    onUpdateSlug(editedSlug);
-  }
-
-  render() {
-    const {
-      instanceId
-    } = this.props;
-    const {
-      editedSlug
-    } = this.state;
-    const inputId = 'editor-post-slug-' + instanceId;
-    return Object(external_wp_element_["createElement"])(PostSlugCheck, null, Object(external_wp_element_["createElement"])("label", {
-      htmlFor: inputId
-    }, Object(external_wp_i18n_["__"])('Slug')), Object(external_wp_element_["createElement"])("input", {
-      autoComplete: "off",
-      spellCheck: "false",
-      type: "text",
-      id: inputId,
-      value: editedSlug,
-      onChange: event => this.setState({
-        editedSlug: event.target.value
-      }),
-      onBlur: this.setSlug,
-      className: "editor-post-slug__input"
-    }));
+    return null;
   }

 }
-/* harmony default export */ var post_slug = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getCurrentPost,
-    getEditedPostAttribute
-  } = select(store);
-  const {
-    id
-  } = getCurrentPost();
+
+/* harmony default export */ var maybe_tags_panel = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)(select => {
+  const postType = select(store).getCurrentPostType();
+  const tagsTaxonomy = select(external_wp_coreData_namespaceObject.store).getTaxonomy('post_tag');
+  const tags = tagsTaxonomy && select(store).getEditedPostAttribute(tagsTaxonomy.rest_base);
   return {
-    postSlug: getEditedPostAttribute('slug'),
-    postTitle: getEditedPostAttribute('title'),
-    postID: id
+    areTagsFetched: tagsTaxonomy !== undefined,
+    isPostTypeSupported: tagsTaxonomy && (0,external_lodash_namespaceObject.some)(tagsTaxonomy.types, type => type === postType),
+    hasTags: tags && tags.length
   };
-}), Object(external_wp_data_["withDispatch"])(dispatch => {
-  const {
-    editPost
-  } = dispatch(store);
-  return {
-    onUpdateSlug(slug) {
-      editPost({
-        slug
-      });
-    }
+}), (0,external_wp_compose_namespaceObject.ifCondition)(_ref => {
+  let {
+    areTagsFetched,
+    isPostTypeSupported
+  } = _ref;
+  return isPostTypeSupported && areTagsFetched;
+}))(MaybeTagsPanel));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/maybe-post-format-panel.js

-  };
-}), external_wp_compose_["withInstanceId"]])(post_slug_PostSlug));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-sticky/check.js
 /**
  * External dependencies
  */
@@ -9694,75 +9104,77 @@ class post_slug_PostSlug extends external_wp_element_["Component"] {



-/**
- * Internal dependencies
- */
-
-
-function PostStickyCheck(_ref) {
-  let {
-    hasStickyAction,
-    postType,
-    children
-  } = _ref;
-
-  if (postType !== 'post' || !hasStickyAction) {
-    return null;
-  }
-
-  return children;
-}
-/* harmony default export */ var post_sticky_check = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  const post = select(store).getCurrentPost();
-  return {
-    hasStickyAction: Object(external_lodash_["get"])(post, ['_links', 'wp:action-sticky'], false),
-    postType: select(store).getCurrentPostType()
-  };
-})])(PostStickyCheck));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-sticky/index.js


 /**
- * WordPress dependencies
+ * Internal dependencies
  */




-/**
- * Internal dependencies
- */
-
-
+const getSuggestion = (supportedFormats, suggestedPostFormat) => {
+  const formats = POST_FORMATS.filter(format => (0,external_lodash_namespaceObject.includes)(supportedFormats, format.id));
+  return (0,external_lodash_namespaceObject.find)(formats, format => format.id === suggestedPostFormat);
+};

-function PostSticky(_ref) {
+const PostFormatSuggestion = _ref => {
   let {
-    onUpdateSticky,
-    postSticky = false
+    suggestedPostFormat,
+    suggestionText,
+    onUpdatePostFormat
   } = _ref;
-  return Object(external_wp_element_["createElement"])(post_sticky_check, null, Object(external_wp_element_["createElement"])(external_wp_components_["CheckboxControl"], {
-    label: Object(external_wp_i18n_["__"])('Stick to the top of the blog'),
-    checked: postSticky,
-    onChange: () => onUpdateSticky(!postSticky)
-  }));
-}
-/* harmony default export */ var post_sticky = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  return {
-    postSticky: select(store).getEditedPostAttribute('sticky')
-  };
-}), Object(external_wp_data_["withDispatch"])(dispatch => {
-  return {
-    onUpdateSticky(postSticky) {
-      dispatch(store).editPost({
-        sticky: postSticky
-      });
-    }
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "link",
+    onClick: () => onUpdatePostFormat(suggestedPostFormat)
+  }, suggestionText);
+};
+
+function PostFormatPanel() {
+  const {
+    currentPostFormat,
+    suggestion
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEditedPostAttribute,
+      getSuggestedPostFormat
+    } = select(store);
+    const supportedFormats = (0,external_lodash_namespaceObject.get)(select(external_wp_coreData_namespaceObject.store).getThemeSupports(), ['formats'], []);
+    return {
+      currentPostFormat: getEditedPostAttribute('format'),
+      suggestion: getSuggestion(supportedFormats, getSuggestedPostFormat())
+    };
+  }, []);
+  const {
+    editPost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+
+  const onUpdatePostFormat = format => editPost({
+    format
+  });

-  };
-})])(PostSticky));
+  const panelBodyTitle = [(0,external_wp_i18n_namespaceObject.__)('Suggestion:'), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "editor-post-publish-panel__link",
+    key: "label"
+  }, (0,external_wp_i18n_namespaceObject.__)('Use a post format'))];
+
+  if (!suggestion || suggestion.id === currentPostFormat) {
+    return null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    initialOpen: false,
+    title: panelBodyTitle
+  }, (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.')), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_element_namespaceObject.createElement)(PostFormatSuggestion, {
+    onUpdatePostFormat: onUpdatePostFormat,
+    suggestedPostFormat: suggestion.id,
+    suggestionText: (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %s: post format */
+    (0,external_wp_i18n_namespaceObject.__)('Apply the "%1$s" format.'), suggestion.caption)
+  })));
+}

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/hierarchical-term-selector.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/prepublish.js


 /**
@@ -9786,459 +9198,499 @@ function PostSticky(_ref) {



-/**
- * Module Constants
- */

-const hierarchical_term_selector_DEFAULT_QUERY = {
-  per_page: -1,
-  orderby: 'name',
-  order: 'asc',
-  _fields: 'id,name,parent',
-  context: 'view'
-};
-const MIN_TERMS_COUNT_FOR_FILTER = 8;
-const hierarchical_term_selector_EMPTY_ARRAY = [];
-/**
- * Sort Terms by Selected.
- *
- * @param {Object[]} termsTree Array of terms in tree format.
- * @param {number[]} terms     Selected terms.
- *
- * @return {Object[]} Sorted array of terms.
- */

-function sortBySelected(termsTree, terms) {
-  const treeHasSelection = termTree => {
-    if (terms.indexOf(termTree.id) !== -1) {
-      return true;
-    }

-    if (undefined === termTree.children) {
-      return false;
-    }

-    return termTree.children.map(treeHasSelection).filter(child => child).length > 0;
-  };

-  const termOrChildIsSelected = (termA, termB) => {
-    const termASelected = treeHasSelection(termA);
-    const termBSelected = treeHasSelection(termB);

-    if (termASelected === termBSelected) {
-      return 0;
-    }
+function PostPublishPanelPrepublish(_ref) {
+  let {
+    children
+  } = _ref;
+  const {
+    isBeingScheduled,
+    isRequestingSiteIcon,
+    hasPublishAction,
+    siteIconUrl,
+    siteTitle,
+    siteHome
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getCurrentPost,
+      isEditedPostBeingScheduled
+    } = select(store);
+    const {
+      getEntityRecord,
+      isResolving
+    } = select(external_wp_coreData_namespaceObject.store);
+    const siteData = getEntityRecord('root', '__unstableBase', undefined) || {};
+    return {
+      hasPublishAction: (0,external_lodash_namespaceObject.get)(getCurrentPost(), ['_links', 'wp:action-publish'], false),
+      isBeingScheduled: isEditedPostBeingScheduled(),
+      isRequestingSiteIcon: isResolving('getEntityRecord', ['root', '__unstableBase', undefined]),
+      siteIconUrl: siteData.site_icon_url,
+      siteTitle: siteData.name,
+      siteHome: siteData.home && (0,external_wp_url_namespaceObject.filterURLForDisplay)(siteData.home)
+    };
+  }, []);
+  let siteIcon = (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Icon, {
+    className: "components-site-icon",
+    size: "36px",
+    icon: library_wordpress
+  });

-    if (termASelected && !termBSelected) {
-      return -1;
-    }
+  if (siteIconUrl) {
+    siteIcon = (0,external_wp_element_namespaceObject.createElement)("img", {
+      alt: (0,external_wp_i18n_namespaceObject.__)('Site Icon'),
+      className: "components-site-icon",
+      src: siteIconUrl
+    });
+  }

-    if (!termASelected && termBSelected) {
-      return 1;
-    }
+  if (isRequestingSiteIcon) {
+    siteIcon = null;
+  }

-    return 0;
-  };
+  let prePublishTitle, prePublishBodyText;

-  const newTermTree = [...termsTree];
-  newTermTree.sort(termOrChildIsSelected);
-  return newTermTree;
+  if (!hasPublishAction) {
+    prePublishTitle = (0,external_wp_i18n_namespaceObject.__)('Are you ready to submit for review?');
+    prePublishBodyText = (0,external_wp_i18n_namespaceObject.__)('When you’re ready, submit your work for review, and an Editor will be able to approve it for you.');
+  } else if (isBeingScheduled) {
+    prePublishTitle = (0,external_wp_i18n_namespaceObject.__)('Are you ready to schedule?');
+    prePublishBodyText = (0,external_wp_i18n_namespaceObject.__)('Your work will be published at the specified date and time.');
+  } else {
+    prePublishTitle = (0,external_wp_i18n_namespaceObject.__)('Are you ready to publish?');
+    prePublishBodyText = (0,external_wp_i18n_namespaceObject.__)('Double-check your settings before publishing.');
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-publish-panel__prepublish"
+  }, (0,external_wp_element_namespaceObject.createElement)("div", null, (0,external_wp_element_namespaceObject.createElement)("strong", null, prePublishTitle)), (0,external_wp_element_namespaceObject.createElement)("p", null, prePublishBodyText), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-site-card"
+  }, siteIcon, (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "components-site-info"
+  }, (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-site-name"
+  }, (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(siteTitle) || (0,external_wp_i18n_namespaceObject.__)('(Untitled)')), (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "components-site-home"
+  }, siteHome))), hasPublishAction && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    initialOpen: false,
+    title: [(0,external_wp_i18n_namespaceObject.__)('Visibility:'), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "editor-post-publish-panel__link",
+      key: "label"
+    }, (0,external_wp_element_namespaceObject.createElement)(post_visibility_label, null))]
+  }, (0,external_wp_element_namespaceObject.createElement)(post_visibility, null)), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+    initialOpen: false,
+    title: [(0,external_wp_i18n_namespaceObject.__)('Publish:'), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "editor-post-publish-panel__link",
+      key: "label"
+    }, (0,external_wp_element_namespaceObject.createElement)(post_schedule_label, null))]
+  }, (0,external_wp_element_namespaceObject.createElement)(PostSchedule, null))), (0,external_wp_element_namespaceObject.createElement)(PostFormatPanel, null), (0,external_wp_element_namespaceObject.createElement)(maybe_tags_panel, null), children);
 }
+
+/* harmony default export */ var prepublish = (PostPublishPanelPrepublish);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/postpublish.js
+
+
 /**
- * Find term by parent id or name.
- *
- * @param {Object[]}      terms  Array of Terms.
- * @param {number|string} parent id.
- * @param {string}        name   Term name.
- * @return {Object} Term object.
+ * External dependencies
  */

-function findTerm(terms, parent, name) {
-  return Object(external_lodash_["find"])(terms, term => {
-    return (!term.parent && !parent || parseInt(term.parent) === parseInt(parent)) && term.name.toLowerCase() === name.toLowerCase();
-  });
-}
 /**
- * Get filter matcher function.
- *
- * @param {string} filterValue Filter value.
- * @return {(function(Object): (Object|boolean))} Matcher function.
+ * WordPress dependencies
  */

-function getFilterMatcher(filterValue) {
-  const matchTermsForFilter = originalTerm => {
-    if ('' === filterValue) {
-      return originalTerm;
-    } // Shallow clone, because we'll be filtering the term's children and
-    // don't want to modify the original term.


-    const term = { ...originalTerm
-    }; // Map and filter the children, recursive so we deal with grandchildren
-    // and any deeper levels.

-    if (term.children.length > 0) {
-      term.children = term.children.map(matchTermsForFilter).filter(child => child);
-    } // If the term's name contains the filterValue, or it has children
-    // (i.e. some child matched at some point in the tree) then return it.


-    if (-1 !== term.name.toLowerCase().indexOf(filterValue.toLowerCase()) || term.children.length > 0) {
-      return term;
-    } // Otherwise, return false. After mapping, the list of terms will need
-    // to have false values filtered out.


-    return false;
-  };

-  return matchTermsForFilter;
-}
 /**
- * Hierarchical term selector.
+ * Internal dependencies
+ */
+
+
+
+const POSTNAME = '%postname%';
+/**
+ * Returns URL for a future post.
  *
- * @param {Object} props      Component props.
- * @param {string} props.slug Taxonomy slug.
- * @return {WPElement}        Hierarchical term selector component.
+ * @param {Object} post Post object.
+ *
+ * @return {string} PostPublish URL.
  */

-function HierarchicalTermSelector(_ref) {
-  let {
+const getFuturePostUrl = post => {
+  const {
     slug
-  } = _ref;
-  const [adding, setAdding] = Object(external_wp_element_["useState"])(false);
-  const [formName, setFormName] = Object(external_wp_element_["useState"])('');
-  /**
-   * @type {[number|'', Function]}
-   */
+  } = post;

-  const [formParent, setFormParent] = Object(external_wp_element_["useState"])('');
-  const [showForm, setShowForm] = Object(external_wp_element_["useState"])(false);
-  const [filterValue, setFilterValue] = Object(external_wp_element_["useState"])('');
-  const [filteredTermsTree, setFilteredTermsTree] = Object(external_wp_element_["useState"])([]);
-  const debouncedSpeak = Object(external_wp_compose_["useDebounce"])(external_wp_a11y_["speak"], 500);
-  const {
-    hasCreateAction,
-    hasAssignAction,
-    terms,
-    loading,
-    availableTerms,
-    taxonomy
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      getCurrentPost,
-      getEditedPostAttribute
-    } = select(store);
-    const {
-      getTaxonomy,
-      getEntityRecords,
-      isResolving
-    } = select(external_wp_coreData_["store"]);
+  if (post.permalink_template.includes(POSTNAME)) {
+    return post.permalink_template.replace(POSTNAME, slug);
+  }

-    const _taxonomy = getTaxonomy(slug);
+  return post.permalink_template;
+};

-    return {
-      hasCreateAction: _taxonomy ? Object(external_lodash_["get"])(getCurrentPost(), ['_links', 'wp:action-create-' + _taxonomy.rest_base], false) : false,
-      hasAssignAction: _taxonomy ? Object(external_lodash_["get"])(getCurrentPost(), ['_links', 'wp:action-assign-' + _taxonomy.rest_base], false) : false,
-      terms: _taxonomy ? getEditedPostAttribute(_taxonomy.rest_base) : hierarchical_term_selector_EMPTY_ARRAY,
-      loading: isResolving('getEntityRecords', ['taxonomy', slug, hierarchical_term_selector_DEFAULT_QUERY]),
-      availableTerms: getEntityRecords('taxonomy', slug, hierarchical_term_selector_DEFAULT_QUERY) || hierarchical_term_selector_EMPTY_ARRAY,
-      taxonomy: _taxonomy
+function postpublish_CopyButton(_ref) {
+  let {
+    text,
+    onCopy,
+    children
+  } = _ref;
+  const ref = (0,external_wp_compose_namespaceObject.useCopyToClipboard)(text, onCopy);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    ref: ref
+  }, children);
+}
+
+class PostPublishPanelPostpublish extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.state = {
+      showCopyConfirmation: false
     };
-  }, [slug]);
-  const {
-    editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    saveEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
-  const availableTermsTree = Object(external_wp_element_["useMemo"])(() => sortBySelected(buildTermsTree(availableTerms), terms), // Remove `terms` from the dependency list to avoid reordering every time
-  // checking or unchecking a term.
-  [availableTerms]);
+    this.onCopy = this.onCopy.bind(this);
+    this.onSelectInput = this.onSelectInput.bind(this);
+    this.postLink = (0,external_wp_element_namespaceObject.createRef)();
+  }

-  if (!hasAssignAction) {
-    return null;
+  componentDidMount() {
+    if (this.props.focusOnMount) {
+      this.postLink.current.focus();
+    }
+  }
+
+  componentWillUnmount() {
+    clearTimeout(this.dismissCopyConfirmation);
+  }
+
+  onCopy() {
+    this.setState({
+      showCopyConfirmation: true
+    });
+    clearTimeout(this.dismissCopyConfirmation);
+    this.dismissCopyConfirmation = setTimeout(() => {
+      this.setState({
+        showCopyConfirmation: false
+      });
+    }, 4000);
   }
-  /**
-   * Append new term.
-   *
-   * @param {Object} term Term object.
-   * @return {Promise} A promise that resolves to save term object.
-   */

+  onSelectInput(event) {
+    event.target.select();
+  }

-  const addTerm = term => {
-    return saveEntityRecord('taxonomy', slug, term);
-  };
-  /**
-   * Update terms for post.
-   *
-   * @param {number[]} termIds Term ids.
-   */
+  render() {
+    const {
+      children,
+      isScheduled,
+      post,
+      postType
+    } = this.props;
+    const postLabel = (0,external_lodash_namespaceObject.get)(postType, ['labels', 'singular_name']);
+    const viewPostLabel = (0,external_lodash_namespaceObject.get)(postType, ['labels', 'view_item']);
+    const addNewPostLabel = (0,external_lodash_namespaceObject.get)(postType, ['labels', 'add_new_item']);
+    const link = post.status === 'future' ? getFuturePostUrl(post) : post.link;
+    const addLink = (0,external_wp_url_namespaceObject.addQueryArgs)('post-new.php', {
+      post_type: post.type
+    });
+    const postPublishNonLinkHeader = isScheduled ? (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_i18n_namespaceObject.__)('is now scheduled. It will go live on'), ' ', (0,external_wp_element_namespaceObject.createElement)(post_schedule_label, null), ".") : (0,external_wp_i18n_namespaceObject.__)('is now live.');
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "post-publish-panel__postpublish"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, {
+      className: "post-publish-panel__postpublish-header"
+    }, (0,external_wp_element_namespaceObject.createElement)("a", {
+      ref: this.postLink,
+      href: link
+    }, (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(post.title) || (0,external_wp_i18n_namespaceObject.__)('(no title)')), ' ', postPublishNonLinkHeader), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.PanelBody, null, (0,external_wp_element_namespaceObject.createElement)("p", {
+      className: "post-publish-panel__postpublish-subheader"
+    }, (0,external_wp_element_namespaceObject.createElement)("strong", null, (0,external_wp_i18n_namespaceObject.__)('What’s next?'))), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "post-publish-panel__postpublish-post-address-container"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+      className: "post-publish-panel__postpublish-post-address",
+      readOnly: true,
+      label: (0,external_wp_i18n_namespaceObject.sprintf)(
+      /* translators: %s: post type singular name */
+      (0,external_wp_i18n_namespaceObject.__)('%s address'), postLabel),
+      value: (0,external_wp_url_namespaceObject.safeDecodeURIComponent)(link),
+      onFocus: this.onSelectInput
+    }), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "post-publish-panel__postpublish-post-address__copy-button-wrap"
+    }, (0,external_wp_element_namespaceObject.createElement)(postpublish_CopyButton, {
+      text: link,
+      onCopy: this.onCopy
+    }, this.state.showCopyConfirmation ? (0,external_wp_i18n_namespaceObject.__)('Copied!') : (0,external_wp_i18n_namespaceObject.__)('Copy')))), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "post-publish-panel__postpublish-buttons"
+    }, !isScheduled && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      variant: "primary",
+      href: link
+    }, viewPostLabel), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      variant: isScheduled ? 'primary' : 'secondary',
+      href: addLink
+    }, addNewPostLabel))), children);
+  }

+}

-  const onUpdateTerms = termIds => {
-    editPost({
-      [taxonomy.rest_base]: termIds
-    });
+/* harmony default export */ var postpublish = ((0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    getEditedPostAttribute,
+    getCurrentPost,
+    isCurrentPostScheduled
+  } = select(store);
+  const {
+    getPostType
+  } = select(external_wp_coreData_namespaceObject.store);
+  return {
+    post: getCurrentPost(),
+    postType: getPostType(getEditedPostAttribute('type')),
+    isScheduled: isCurrentPostScheduled()
   };
-  /**
-   * Handler for checking term.
-   *
-   * @param {number} termId
-   */
+})(PostPublishPanelPostpublish));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-publish-panel/index.js

-  const onChange = termId => {
-    const hasTerm = terms.includes(termId);
-    const newTerms = hasTerm ? Object(external_lodash_["without"])(terms, termId) : [...terms, termId];
-    onUpdateTerms(newTerms);
-  };

-  const onChangeFormName = value => {
-    setFormName(value);
-  };
-  /**
-   * Handler for changing form parent.
-   *
-   * @param {number|''} parentId Parent post id.
-   */

+/**
+ * External dependencies
+ */

-  const onChangeFormParent = parentId => {
-    setFormParent(parentId);
-  };
+/**
+ * WordPress dependencies
+ */

-  const onToggleForm = () => {
-    setShowForm(!showForm);
-  };

-  const onAddTerm = async event => {
-    event.preventDefault();

-    if (formName === '' || adding) {
-      return;
-    } // check if the term we are adding already exists


-    const existingTerm = findTerm(availableTerms, formParent, formName);

-    if (existingTerm) {
-      // if the term we are adding exists but is not selected select it
-      if (!Object(external_lodash_["some"])(terms, term => term === existingTerm.id)) {
-        onUpdateTerms([...terms, existingTerm.id]);
-      }

-      setFormName('');
-      setFormParent('');
-      return;
-    }

-    setAdding(true);
-    const newTerm = await addTerm({
-      name: formName,
-      parent: formParent ? formParent : undefined
-    });
-    const termAddedMessage = Object(external_wp_i18n_["sprintf"])(
-    /* translators: %s: taxonomy name */
-    Object(external_wp_i18n_["_x"])('%s added', 'term'), Object(external_lodash_["get"])(taxonomy, ['labels', 'singular_name'], slug === 'category' ? Object(external_wp_i18n_["__"])('Category') : Object(external_wp_i18n_["__"])('Term')));
-    Object(external_wp_a11y_["speak"])(termAddedMessage, 'assertive');
-    setAdding(false);
-    setFormName('');
-    setFormParent('');
-    onUpdateTerms([...terms, newTerm.id]);
-  };
+/**
+ * Internal dependencies
+ */

-  const setFilter = value => {
-    const newFilteredTermsTree = availableTermsTree.map(getFilterMatcher(value)).filter(term => term);

-    const getResultCount = termsTree => {
-      let count = 0;

-      for (let i = 0; i < termsTree.length; i++) {
-        count++;

-        if (undefined !== termsTree[i].children) {
-          count += getResultCount(termsTree[i].children);
-        }
-      }

-      return count;
-    };
+class PostPublishPanel extends external_wp_element_namespaceObject.Component {
+  constructor() {
+    super(...arguments);
+    this.onSubmit = this.onSubmit.bind(this);
+  }

-    setFilterValue(value);
-    setFilteredTermsTree(newFilteredTermsTree);
-    const resultCount = getResultCount(newFilteredTermsTree);
-    const resultsFoundMessage = Object(external_wp_i18n_["sprintf"])(
-    /* translators: %d: number of results */
-    Object(external_wp_i18n_["_n"])('%d result found.', '%d results found.', resultCount), resultCount);
-    debouncedSpeak(resultsFoundMessage, 'assertive');
-  };
+  componentDidUpdate(prevProps) {
+    // Automatically collapse the publish sidebar when a post
+    // is published and the user makes an edit.
+    if (prevProps.isPublished && !this.props.isSaving && this.props.isDirty) {
+      this.props.onClose();
+    }
+  }

-  const renderTerms = renderedTerms => {
-    return renderedTerms.map(term => {
-      return Object(external_wp_element_["createElement"])("div", {
-        key: term.id,
-        className: "editor-post-taxonomies__hierarchical-terms-choice"
-      }, Object(external_wp_element_["createElement"])(external_wp_components_["CheckboxControl"], {
-        checked: terms.indexOf(term.id) !== -1,
-        onChange: () => {
-          const termId = parseInt(term.id, 10);
-          onChange(termId);
-        },
-        label: Object(external_lodash_["unescape"])(term.name)
-      }), !!term.children.length && Object(external_wp_element_["createElement"])("div", {
-        className: "editor-post-taxonomies__hierarchical-terms-subchoices"
-      }, renderTerms(term.children)));
-    });
-  };
+  onSubmit() {
+    const {
+      onClose,
+      hasPublishAction,
+      isPostTypeViewable
+    } = this.props;

-  const labelWithFallback = (labelProperty, fallbackIsCategory, fallbackIsNotCategory) => Object(external_lodash_["get"])(taxonomy, ['labels', labelProperty], slug === 'category' ? fallbackIsCategory : fallbackIsNotCategory);
+    if (!hasPublishAction || !isPostTypeViewable) {
+      onClose();
+    }
+  }

-  const newTermButtonLabel = labelWithFallback('add_new_item', Object(external_wp_i18n_["__"])('Add new category'), Object(external_wp_i18n_["__"])('Add new term'));
-  const newTermLabel = labelWithFallback('new_item_name', Object(external_wp_i18n_["__"])('Add new category'), Object(external_wp_i18n_["__"])('Add new term'));
-  const parentSelectLabel = labelWithFallback('parent_item', Object(external_wp_i18n_["__"])('Parent Category'), Object(external_wp_i18n_["__"])('Parent Term'));
-  const noParentOption = `— ${parentSelectLabel} —`;
-  const newTermSubmitLabel = newTermButtonLabel;
-  const filterLabel = Object(external_lodash_["get"])(taxonomy, ['labels', 'search_items'], Object(external_wp_i18n_["__"])('Search Terms'));
-  const groupLabel = Object(external_lodash_["get"])(taxonomy, ['name'], Object(external_wp_i18n_["__"])('Terms'));
-  const showFilter = availableTerms.length >= MIN_TERMS_COUNT_FOR_FILTER;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, showFilter && Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    className: "editor-post-taxonomies__hierarchical-terms-filter",
-    label: filterLabel,
-    value: filterValue,
-    onChange: setFilter
-  }), Object(external_wp_element_["createElement"])("div", {
-    className: "editor-post-taxonomies__hierarchical-terms-list",
-    tabIndex: "0",
-    role: "group",
-    "aria-label": groupLabel
-  }, renderTerms('' !== filterValue ? filteredTermsTree : availableTermsTree)), !loading && hasCreateAction && Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    onClick: onToggleForm,
-    className: "editor-post-taxonomies__hierarchical-terms-add",
-    "aria-expanded": showForm,
-    variant: "link"
-  }, newTermButtonLabel), showForm && Object(external_wp_element_["createElement"])("form", {
-    onSubmit: onAddTerm
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-    className: "editor-post-taxonomies__hierarchical-terms-input",
-    label: newTermLabel,
-    value: formName,
-    onChange: onChangeFormName,
-    required: true
-  }), !!availableTerms.length && Object(external_wp_element_["createElement"])(external_wp_components_["TreeSelect"], {
-    label: parentSelectLabel,
-    noOptionLabel: noParentOption,
-    onChange: onChangeFormParent,
-    selectedId: formParent,
-    tree: availableTermsTree
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "secondary",
-    type: "submit",
-    className: "editor-post-taxonomies__hierarchical-terms-submit"
-  }, newTermSubmitLabel)));
-}
+  render() {
+    const {
+      forceIsDirty,
+      forceIsSaving,
+      isBeingScheduled,
+      isPublished,
+      isPublishSidebarEnabled,
+      isScheduled,
+      isSaving,
+      isSavingNonPostEntityChanges,
+      onClose,
+      onTogglePublishSidebar,
+      PostPublishExtension,
+      PrePublishExtension,
+      ...additionalProps
+    } = this.props;
+    const propsForPanel = (0,external_lodash_namespaceObject.omit)(additionalProps, ['hasPublishAction', 'isDirty', 'isPostTypeViewable']);
+    const isPublishedOrScheduled = isPublished || isScheduled && isBeingScheduled;
+    const isPrePublish = !isPublishedOrScheduled && !isSaving;
+    const isPostPublish = isPublishedOrScheduled && !isSaving;
+    return (0,external_wp_element_namespaceObject.createElement)("div", _extends({
+      className: "editor-post-publish-panel"
+    }, propsForPanel), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "editor-post-publish-panel__header"
+    }, isPostPublish ? (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      onClick: onClose,
+      icon: close_small,
+      label: (0,external_wp_i18n_namespaceObject.__)('Close panel')
+    }) : (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "editor-post-publish-panel__header-publish-button"
+    }, (0,external_wp_element_namespaceObject.createElement)(post_publish_button, {
+      focusOnMount: true,
+      onSubmit: this.onSubmit,
+      forceIsDirty: forceIsDirty,
+      forceIsSaving: forceIsSaving
+    })), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "editor-post-publish-panel__header-cancel-button"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+      disabled: isSavingNonPostEntityChanges,
+      onClick: onClose,
+      variant: "secondary"
+    }, (0,external_wp_i18n_namespaceObject.__)('Cancel'))))), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "editor-post-publish-panel__content"
+    }, isPrePublish && (0,external_wp_element_namespaceObject.createElement)(prepublish, null, PrePublishExtension && (0,external_wp_element_namespaceObject.createElement)(PrePublishExtension, null)), isPostPublish && (0,external_wp_element_namespaceObject.createElement)(postpublish, {
+      focusOnMount: true
+    }, PostPublishExtension && (0,external_wp_element_namespaceObject.createElement)(PostPublishExtension, null)), isSaving && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null)), (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "editor-post-publish-panel__footer"
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CheckboxControl, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Always show pre-publish checks.'),
+      checked: isPublishSidebarEnabled,
+      onChange: onTogglePublishSidebar
+    })));
+  }

-/* harmony default export */ var hierarchical_term_selector = (Object(external_wp_components_["withFilters"])('editor.PostTaxonomyType')(HierarchicalTermSelector));
+}
+/* harmony default export */ var post_publish_panel = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    getPostType
+  } = select(external_wp_coreData_namespaceObject.store);
+  const {
+    getCurrentPost,
+    getEditedPostAttribute,
+    isCurrentPostPublished,
+    isCurrentPostScheduled,
+    isEditedPostBeingScheduled,
+    isEditedPostDirty,
+    isSavingPost,
+    isSavingNonPostEntityChanges
+  } = select(store);
+  const {
+    isPublishSidebarEnabled
+  } = select(store);
+  const postType = getPostType(getEditedPostAttribute('type'));
+  return {
+    hasPublishAction: (0,external_lodash_namespaceObject.get)(getCurrentPost(), ['_links', 'wp:action-publish'], false),
+    isPostTypeViewable: (0,external_lodash_namespaceObject.get)(postType, ['viewable'], false),
+    isBeingScheduled: isEditedPostBeingScheduled(),
+    isDirty: isEditedPostDirty(),
+    isPublished: isCurrentPostPublished(),
+    isPublishSidebarEnabled: isPublishSidebarEnabled(),
+    isSaving: isSavingPost(),
+    isSavingNonPostEntityChanges: isSavingNonPostEntityChanges(),
+    isScheduled: isCurrentPostScheduled()
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref) => {
+  let {
+    isPublishSidebarEnabled
+  } = _ref;
+  const {
+    disablePublishSidebar,
+    enablePublishSidebar
+  } = dispatch(store);
+  return {
+    onTogglePublishSidebar: () => {
+      if (isPublishSidebarEnabled) {
+        disablePublishSidebar();
+      } else {
+        enablePublishSidebar();
+      }
+    }
+  };
+}), external_wp_components_namespaceObject.withFocusReturn, external_wp_components_namespaceObject.withConstrainedTabbing])(PostPublishPanel));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cloud-upload.js


 /**
- * External dependencies
+ * WordPress dependencies
  */

+const cloudUpload = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-4v-2.4L14 14l1-1-3-3-3 3 1 1 1.2-1.2v2.4H7.7c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4H9l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8 0 1-.8 1.8-1.7 1.8z"
+}));
+/* harmony default export */ var cloud_upload = (cloudUpload);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
 /**
  * WordPress dependencies
  */

-
-
-
+/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */

 /**
- * Internal dependencies
+ * Return an SVG icon.
+ *
+ * @param {IconProps} props icon is the SVG component to render
+ *                          size is a number specifiying the icon size in pixels
+ *                          Other props will be passed to wrapped SVG component
+ *
+ * @return {JSX.Element}  Icon component
  */

-
-
-
-function PostTaxonomies(_ref) {
+function Icon(_ref) {
   let {
-    postType,
-    taxonomies,
-    taxonomyWrapper = external_lodash_["identity"]
+    icon,
+    size = 24,
+    ...props
   } = _ref;
-  const availableTaxonomies = Object(external_lodash_["filter"])(taxonomies, taxonomy => Object(external_lodash_["includes"])(taxonomy.types, postType));
-  const visibleTaxonomies = Object(external_lodash_["filter"])(availableTaxonomies, taxonomy => taxonomy.visibility.show_ui);
-  return visibleTaxonomies.map(taxonomy => {
-    const TaxonomyComponent = taxonomy.hierarchical ? hierarchical_term_selector : flat_term_selector;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], {
-      key: `taxonomy-${taxonomy.slug}`
-    }, taxonomyWrapper(Object(external_wp_element_["createElement"])(TaxonomyComponent, {
-      slug: taxonomy.slug
-    }), taxonomy));
+  return (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+    width: size,
+    height: size,
+    ...props
   });
 }
-/* harmony default export */ var post_taxonomies = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  return {
-    postType: select(store).getCurrentPostType(),
-    taxonomies: select(external_wp_coreData_["store"]).getTaxonomies({
-      per_page: -1
-    })
-  };
-})])(PostTaxonomies));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/check.js
-/**
- * External dependencies
- */
+/* harmony default export */ var icon = (Icon);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/check.js
+

 /**
  * WordPress dependencies
  */

+const check_check = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
+}));
+/* harmony default export */ var library_check = (check_check);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/cloud.js


 /**
- * Internal dependencies
+ * WordPress dependencies
  */

+const cloud = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-9c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4h1.3l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8-.1 1-.9 1.8-1.8 1.8z"
+}));
+/* harmony default export */ var library_cloud = (cloud);

-function PostTaxonomiesCheck(_ref) {
-  let {
-    postType,
-    taxonomies,
-    children
-  } = _ref;
-  const hasTaxonomies = Object(external_lodash_["some"])(taxonomies, taxonomy => Object(external_lodash_["includes"])(taxonomy.types, postType));
-
-  if (!hasTaxonomies) {
-    return null;
-  }
-
-  return children;
-}
-/* harmony default export */ var post_taxonomies_check = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  return {
-    postType: select(store).getCurrentPostType(),
-    taxonomies: select(external_wp_coreData_["store"]).getTaxonomies({
-      per_page: -1
-    })
-  };
-})])(PostTaxonomiesCheck));
-
-// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js
-var lib = __webpack_require__("O6Fj");
-var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-text-editor/index.js
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-switch-to-draft-button/index.js

-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -10247,79 +9699,75 @@ var lib_default = /*#__PURE__*/__webpack_require__.n(lib);



-
-
-
 /**
  * Internal dependencies
  */


-function PostTextEditor() {
-  const postContent = Object(external_wp_data_["useSelect"])(select => select(store).getEditedPostContent(), []);
-  const {
-    editPost,
-    resetEditorBlocks
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const [value, setValue] = Object(external_wp_element_["useState"])(postContent);
-  const [isDirty, setIsDirty] = Object(external_wp_element_["useState"])(false);
-  const instanceId = Object(external_wp_compose_["useInstanceId"])(PostTextEditor);

-  if (!isDirty && value !== postContent) {
-    setValue(postContent);
+function PostSwitchToDraftButton(_ref) {
+  let {
+    isSaving,
+    isPublished,
+    isScheduled,
+    onClick
+  } = _ref;
+  const isMobileViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('small', '<');
+
+  if (!isPublished && !isScheduled) {
+    return null;
   }
-  /**
-   * Handles a textarea change event to notify the onChange prop callback and
-   * reflect the new value in the component's own state. This marks the start
-   * of the user's edits, if not already changed, preventing future props
-   * changes to value from replacing the rendered value. This is expected to
-   * be followed by a reset to dirty state via `stopEditing`.
-   *
-   * @see stopEditing
-   *
-   * @param {Event} event Change event.
-   */

+  const onSwitch = () => {
+    let alertMessage;

-  const onChange = event => {
-    const newValue = event.target.value;
-    editPost({
-      content: newValue
-    });
-    setValue(newValue);
-    setIsDirty(true);
-  };
-  /**
-   * Function called when the user has completed their edits, responsible for
-   * ensuring that changes, if made, are surfaced to the onPersist prop
-   * callback and resetting dirty state.
-   */
+    if (isPublished) {
+      alertMessage = (0,external_wp_i18n_namespaceObject.__)('Are you sure you want to unpublish this post?');
+    } else if (isScheduled) {
+      alertMessage = (0,external_wp_i18n_namespaceObject.__)('Are you sure you want to unschedule this post?');
+    } // eslint-disable-next-line no-alert


-  const stopEditing = () => {
-    if (isDirty) {
-      const blocks = Object(external_wp_blocks_["parse"])(value);
-      resetEditorBlocks(blocks);
-      setIsDirty(false);
+    if (window.confirm(alertMessage)) {
+      onClick();
     }
   };

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["VisuallyHidden"], {
-    as: "label",
-    htmlFor: `post-content-${instanceId}`
-  }, Object(external_wp_i18n_["__"])('Type text or HTML')), Object(external_wp_element_["createElement"])(lib_default.a, {
-    autoComplete: "off",
-    dir: "auto",
-    value: value,
-    onChange: onChange,
-    onBlur: stopEditing,
-    className: "editor-post-text-editor",
-    id: `post-content-${instanceId}`,
-    placeholder: Object(external_wp_i18n_["__"])('Start writing with text or HTML')
-  }));
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "editor-post-switch-to-draft",
+    onClick: onSwitch,
+    disabled: isSaving,
+    variant: "tertiary"
+  }, isMobileViewport ? (0,external_wp_i18n_namespaceObject.__)('Draft') : (0,external_wp_i18n_namespaceObject.__)('Switch to draft'));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-title/index.js
+/* harmony default export */ var post_switch_to_draft_button = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    isSavingPost,
+    isCurrentPostPublished,
+    isCurrentPostScheduled
+  } = select(store);
+  return {
+    isSaving: isSavingPost(),
+    isPublished: isCurrentPostPublished(),
+    isScheduled: isCurrentPostScheduled()
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
+  const {
+    editPost,
+    savePost
+  } = dispatch(store);
+  return {
+    onClick: () => {
+      editPost({
+        status: 'draft'
+      });
+      savePost();
+    }
+  };
+})])(PostSwitchToDraftButton));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-saved-state/index.js


 /**
@@ -10337,8 +9785,6 @@ function PostTextEditor() {



-
-
 /**
  * Internal dependencies
  */
@@ -10346,209 +9792,190 @@ function PostTextEditor() {


 /**
- * Constants
+ * Component showing whether the post is saved or not and providing save
+ * buttons.
+ *
+ * @param {Object}   props                Component props.
+ * @param {?boolean} props.forceIsDirty   Whether to force the post to be marked
+ *                                        as dirty.
+ * @param {?boolean} props.forceIsSaving  Whether to force the post to be marked
+ *                                        as being saved.
+ * @param {?boolean} props.showIconLabels Whether interface buttons show labels instead of icons
+ * @return {import('@wordpress/element').WPComponent} The component.
  */

-const REGEXP_NEWLINES = /[\r\n]+/g;
-function PostTitle() {
-  const ref = Object(external_wp_element_["useRef"])();
-  const [isSelected, setIsSelected] = Object(external_wp_element_["useState"])(false);
-  const {
-    editPost
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    insertDefaultBlock,
-    clearSelectedBlock,
-    insertBlocks
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
+function PostSavedState(_ref) {
+  let {
+    forceIsDirty,
+    forceIsSaving,
+    showIconLabels = false
+  } = _ref;
+  const [forceSavedMessage, setForceSavedMessage] = (0,external_wp_element_namespaceObject.useState)(false);
+  const isLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('small');
   const {
-    isCleanNewPost,
-    title,
-    placeholder,
-    isFocusMode,
-    hasFixedToolbar
-  } = Object(external_wp_data_["useSelect"])(select => {
+    isAutosaving,
+    isDirty,
+    isNew,
+    isPending,
+    isPublished,
+    isSaveable,
+    isSaving,
+    isScheduled,
+    hasPublishAction
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    var _getCurrentPost$_link, _getCurrentPost, _getCurrentPost$_link2;
+
     const {
-      getEditedPostAttribute,
-      isCleanNewPost: _isCleanNewPost
+      isEditedPostNew,
+      isCurrentPostPublished,
+      isCurrentPostScheduled,
+      isEditedPostDirty,
+      isSavingPost,
+      isEditedPostSaveable,
+      getCurrentPost,
+      isAutosavingPost,
+      getEditedPostAttribute
     } = select(store);
-    const {
-      getSettings
-    } = select(external_wp_blockEditor_["store"]);
-    const {
-      titlePlaceholder,
-      focusMode,
-      hasFixedToolbar: _hasFixedToolbar
-    } = getSettings();
     return {
-      isCleanNewPost: _isCleanNewPost(),
-      title: getEditedPostAttribute('title'),
-      placeholder: titlePlaceholder,
-      isFocusMode: focusMode,
-      hasFixedToolbar: _hasFixedToolbar
+      isAutosaving: isAutosavingPost(),
+      isDirty: forceIsDirty || isEditedPostDirty(),
+      isNew: isEditedPostNew(),
+      isPending: 'pending' === getEditedPostAttribute('status'),
+      isPublished: isCurrentPostPublished(),
+      isSaving: forceIsSaving || isSavingPost(),
+      isSaveable: isEditedPostSaveable(),
+      isScheduled: isCurrentPostScheduled(),
+      hasPublishAction: (_getCurrentPost$_link = (_getCurrentPost = getCurrentPost()) === null || _getCurrentPost === void 0 ? void 0 : (_getCurrentPost$_link2 = _getCurrentPost._links) === null || _getCurrentPost$_link2 === void 0 ? void 0 : _getCurrentPost$_link2['wp:action-publish']) !== null && _getCurrentPost$_link !== void 0 ? _getCurrentPost$_link : false
     };
-  }, []);
-  Object(external_wp_element_["useEffect"])(() => {
-    if (!ref.current) {
-      return;
-    }
-
-    const {
-      ownerDocument
-    } = ref.current;
-    const {
-      activeElement,
-      body
-    } = ownerDocument; // Only autofocus the title when the post is entirely empty. This should
-    // only happen for a new post, which means we focus the title on new
-    // post so the author can start typing right away, without needing to
-    // click anything.
+  }, [forceIsDirty, forceIsSaving]);
+  const {
+    savePost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const wasSaving = (0,external_wp_compose_namespaceObject.usePrevious)(isSaving);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    let timeoutId;

-    if (isCleanNewPost && (!activeElement || body === activeElement)) {
-      ref.current.focus();
+    if (wasSaving && !isSaving) {
+      setForceSavedMessage(true);
+      timeoutId = setTimeout(() => {
+        setForceSavedMessage(false);
+      }, 1000);
     }
-  }, [isCleanNewPost]);

-  function onEnterPress() {
-    insertDefaultBlock(undefined, undefined, 0);
-  }
+    return () => clearTimeout(timeoutId);
+  }, [isSaving]); // Once the post has been submitted for review this button
+  // is not needed for the contributor role.

-  function onInsertBlockAfter(blocks) {
-    insertBlocks(blocks, 0);
+  if (!hasPublishAction && isPending) {
+    return null;
   }

-  function onUpdate(newTitle) {
-    editPost({
-      title: newTitle
-    });
+  if (isPublished || isScheduled) {
+    return (0,external_wp_element_namespaceObject.createElement)(post_switch_to_draft_button, null);
   }
+  /* translators: button label text should, if possible, be under 16 characters. */

-  const [selection, setSelection] = Object(external_wp_element_["useState"])({});

-  function onSelect() {
-    setIsSelected(true);
-    clearSelectedBlock();
-  }
+  const label = isPending ? (0,external_wp_i18n_namespaceObject.__)('Save as pending') : (0,external_wp_i18n_namespaceObject.__)('Save draft');
+  /* translators: button label text should, if possible, be under 16 characters. */

-  function onUnselect() {
-    setIsSelected(false);
-    setSelection({});
-  }
+  const shortLabel = (0,external_wp_i18n_namespaceObject.__)('Save');

-  function onChange(value) {
-    onUpdate(value.replace(REGEXP_NEWLINES, ' '));
-  }
+  const isSaved = forceSavedMessage || !isNew && !isDirty;
+  const isSavedState = isSaving || isSaved;
+  const isDisabled = isSaving || isSaved || !isSaveable;
+  let text;

-  function onKeyDown(event) {
-    if (event.keyCode === external_wp_keycodes_["ENTER"]) {
-      event.preventDefault();
-      onEnterPress();
-    }
-  }
+  if (isSaving) {
+    text = isAutosaving ? (0,external_wp_i18n_namespaceObject.__)('Autosaving') : (0,external_wp_i18n_namespaceObject.__)('Saving');
+  } else if (isSaved) {
+    text = (0,external_wp_i18n_namespaceObject.__)('Saved');
+  } else if (isLargeViewport) {
+    text = label;
+  } else if (showIconLabels) {
+    text = shortLabel;
+  } // Use common Button instance for all saved states so that focus is not
+  // lost.

-  function onPaste(event) {
-    const clipboardData = event.clipboardData;
-    let plainText = '';
-    let html = ''; // IE11 only supports `Text` as an argument for `getData` and will
-    // otherwise throw an invalid argument error, so we try the standard
-    // arguments first, then fallback to `Text` if they fail.

-    try {
-      plainText = clipboardData.getData('text/plain');
-      html = clipboardData.getData('text/html');
-    } catch (error1) {
-      try {
-        html = clipboardData.getData('Text');
-      } catch (error2) {
-        // Some browsers like UC Browser paste plain text by default and
-        // don't support clipboardData at all, so allow default
-        // behaviour.
-        return;
-      }
-    } // Allows us to ask for this information when we get a report.
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: isSaveable || isSaving ? classnames_default()({
+      'editor-post-save-draft': !isSavedState,
+      'editor-post-saved-state': isSavedState,
+      'is-saving': isSaving,
+      'is-autosaving': isAutosaving,
+      'is-saved': isSaved,
+      [(0,external_wp_components_namespaceObject.__unstableGetAnimateClassName)({
+        type: 'loading'
+      })]: isSaving
+    }) : undefined,
+    onClick: isDisabled ? undefined : () => savePost(),
+    shortcut: external_wp_keycodes_namespaceObject.displayShortcut.primary('s'),
+    variant: isLargeViewport ? 'tertiary' : undefined,
+    icon: isLargeViewport ? undefined : cloud_upload,
+    label: label,
+    "aria-disabled": isDisabled
+  }, isSavedState && (0,external_wp_element_namespaceObject.createElement)(icon, {
+    icon: isSaved ? library_check : library_cloud
+  }), text);
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-schedule/check.js
+/**
+ * External dependencies
+ */

-    window.console.log('Received HTML:\n\n', html);
-    window.console.log('Received plain text:\n\n', plainText);
-    const content = Object(external_wp_blocks_["pasteHandler"])({
-      HTML: html,
-      plainText
-    });
+/**
+ * WordPress dependencies
+ */

-    if (typeof content !== 'string' && content.length) {
-      event.preventDefault();
-      const [firstBlock] = content;

-      if (!title && (firstBlock.name === 'core/heading' || firstBlock.name === 'core/paragraph')) {
-        onUpdate(firstBlock.attributes.content);
-        onInsertBlockAfter(content.slice(1));
-      } else {
-        onInsertBlockAfter(content);
-      }
-    }
-  } // The wp-block className is important for editor styles.
-  // This same block is used in both the visual and the code editor.
+
+/**
+ * Internal dependencies
+ */


-  const className = classnames_default()('wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text', {
-    'is-selected': isSelected,
-    'is-focus-mode': isFocusMode,
-    'has-fixed-toolbar': hasFixedToolbar
-  });
+function PostScheduleCheck(_ref) {
+  let {
+    hasPublishAction,
+    children
+  } = _ref;

-  const decodedPlaceholder = Object(external_wp_htmlEntities_["decodeEntities"])(placeholder) || Object(external_wp_i18n_["__"])('Add title');
+  if (!hasPublishAction) {
+    return null;
+  }

+  return children;
+}
+/* harmony default export */ var post_schedule_check = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
-    ref: richTextRef
-  } = Object(external_wp_richText_["__unstableUseRichText"])({
-    value: title,
-    onChange,
-    placeholder: decodedPlaceholder,
-    selectionStart: selection.start,
-    selectionEnd: selection.end,
-
-    onSelectionChange(newStart, newEnd) {
-      setSelection(sel => {
-        const {
-          start,
-          end
-        } = sel;
+    getCurrentPost,
+    getCurrentPostType
+  } = select(store);
+  return {
+    hasPublishAction: (0,external_lodash_namespaceObject.get)(getCurrentPost(), ['_links', 'wp:action-publish'], false),
+    postType: getCurrentPostType()
+  };
+})])(PostScheduleCheck));

-        if (start === newStart && end === newEnd) {
-          return sel;
-        }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-slug/check.js

-        return {
-          start: newStart,
-          end: newEnd
-        };
-      });
-    },

-    __unstableDisableFormats: true,
-    preserveWhiteSpace: true
-  });
-  /* eslint-disable jsx-a11y/heading-has-content, jsx-a11y/no-noninteractive-element-to-interactive-role */
+/**
+ * Internal dependencies
+ */

-  return Object(external_wp_element_["createElement"])(post_type_support_check, {
-    supportKeys: "title"
-  }, Object(external_wp_element_["createElement"])("h1", {
-    ref: Object(external_wp_compose_["useMergeRefs"])([richTextRef, ref]),
-    contentEditable: true,
-    className: className,
-    "aria-label": decodedPlaceholder,
-    role: "textbox",
-    "aria-multiline": "true",
-    onFocus: onSelect,
-    onBlur: onUnselect,
-    onKeyDown: onKeyDown,
-    onKeyPress: onUnselect,
-    onPaste: onPaste
-  }));
-  /* eslint-enable jsx-a11y/heading-has-content, jsx-a11y/no-noninteractive-element-to-interactive-role */
+function PostSlugCheck(_ref) {
+  let {
+    children
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.createElement)(post_type_support_check, {
+    supportKeys: "slug"
+  }, children);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-trash/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-slug/index.js


 /**
@@ -10558,101 +9985,136 @@ function PostTitle() {



+
 /**
  * Internal dependencies
  */



-function PostTrash(_ref) {
-  let {
-    isNew,
-    postId,
-    postType,
-    ...props
-  } = _ref;

-  if (isNew || !postId) {
-    return null;
+class PostSlug extends external_wp_element_namespaceObject.Component {
+  constructor(_ref) {
+    let {
+      postSlug,
+      postTitle,
+      postID
+    } = _ref;
+    super(...arguments);
+    this.state = {
+      editedSlug: (0,external_wp_url_namespaceObject.safeDecodeURIComponent)(postSlug) || cleanForSlug(postTitle) || postID
+    };
+    this.setSlug = this.setSlug.bind(this);
+  }
+
+  setSlug(event) {
+    const {
+      postSlug,
+      onUpdateSlug
+    } = this.props;
+    const {
+      value
+    } = event.target;
+    const editedSlug = cleanForSlug(value);
+
+    if (editedSlug === postSlug) {
+      return;
+    }
+
+    onUpdateSlug(editedSlug);
   }

-  const onClick = () => props.trashPost(postId, postType);
+  render() {
+    const {
+      instanceId
+    } = this.props;
+    const {
+      editedSlug
+    } = this.state;
+    const inputId = 'editor-post-slug-' + instanceId;
+    return (0,external_wp_element_namespaceObject.createElement)(PostSlugCheck, null, (0,external_wp_element_namespaceObject.createElement)("label", {
+      htmlFor: inputId
+    }, (0,external_wp_i18n_namespaceObject.__)('Slug')), (0,external_wp_element_namespaceObject.createElement)("input", {
+      autoComplete: "off",
+      spellCheck: "false",
+      type: "text",
+      id: inputId,
+      value: editedSlug,
+      onChange: event => this.setState({
+        editedSlug: event.target.value
+      }),
+      onBlur: this.setSlug,
+      className: "editor-post-slug__input"
+    }));
+  }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "editor-post-trash",
-    isDestructive: true,
-    variant: "tertiary",
-    onClick: onClick
-  }, Object(external_wp_i18n_["__"])('Move to trash'));
 }
-
-/* harmony default export */ var post_trash = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var post_slug = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
-    isEditedPostNew,
-    getCurrentPostId,
-    getCurrentPostType
+    getCurrentPost,
+    getEditedPostAttribute
   } = select(store);
+  const {
+    id
+  } = getCurrentPost();
   return {
-    isNew: isEditedPostNew(),
-    postId: getCurrentPostId(),
-    postType: getCurrentPostType()
+    postSlug: getEditedPostAttribute('slug'),
+    postTitle: getEditedPostAttribute('title'),
+    postID: id
   };
-}), Object(external_wp_data_["withDispatch"])(dispatch => ({
-  trashPost: dispatch(store).trashPost
-}))])(PostTrash));
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
+  const {
+    editPost
+  } = dispatch(store);
+  return {
+    onUpdateSlug(slug) {
+      editPost({
+        slug
+      });
+    }
+
+  };
+}), external_wp_compose_namespaceObject.withInstanceId])(PostSlug));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-sticky/check.js
+/**
+ * External dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-trash/check.js
 /**
  * WordPress dependencies
  */


+
 /**
  * Internal dependencies
  */


-
-function PostTrashCheck(_ref) {
+function PostStickyCheck(_ref) {
   let {
-    isNew,
-    postId,
-    canUserDelete,
+    hasStickyAction,
+    postType,
     children
   } = _ref;

-  if (isNew || !postId || !canUserDelete) {
+  if (postType !== 'post' || !hasStickyAction) {
     return null;
   }

   return children;
 }
-
-/* harmony default export */ var post_trash_check = (Object(external_wp_data_["withSelect"])(select => {
-  const {
-    isEditedPostNew,
-    getCurrentPostId,
-    getCurrentPostType
-  } = select(store);
-  const {
-    getPostType,
-    canUser
-  } = select(external_wp_coreData_["store"]);
-  const postId = getCurrentPostId();
-  const postType = getPostType(getCurrentPostType());
-  const resource = (postType === null || postType === void 0 ? void 0 : postType.rest_base) || ''; // eslint-disable-line camelcase
-
+/* harmony default export */ var post_sticky_check = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  const post = select(store).getCurrentPost();
   return {
-    isNew: isEditedPostNew(),
-    postId,
-    canUserDelete: postId && resource ? canUser('delete', resource, postId) : false
+    hasStickyAction: (0,external_lodash_namespaceObject.get)(post, ['_links', 'wp:action-sticky'], false),
+    postType: select(store).getCurrentPostType()
   };
-})(PostTrashCheck));
+})])(PostStickyCheck));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-sticky/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-visibility/check.js
-/**
- * External dependencies
- */

 /**
  * WordPress dependencies
@@ -10660,40 +10122,45 @@ function PostTrashCheck(_ref) {



+
 /**
  * Internal dependencies
  */


-function PostVisibilityCheck(_ref) {
+
+function PostSticky(_ref) {
   let {
-    hasPublishAction,
-    render
+    onUpdateSticky,
+    postSticky = false
   } = _ref;
-  const canEdit = hasPublishAction;
-  return render({
-    canEdit
-  });
+  return (0,external_wp_element_namespaceObject.createElement)(post_sticky_check, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CheckboxControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Stick to the top of the blog'),
+    checked: postSticky,
+    onChange: () => onUpdateSticky(!postSticky)
+  }));
 }
-/* harmony default export */ var post_visibility_check = (Object(external_wp_compose_["compose"])([Object(external_wp_data_["withSelect"])(select => {
-  const {
-    getCurrentPost,
-    getCurrentPostType
-  } = select(store);
+/* harmony default export */ var post_sticky = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
   return {
-    hasPublishAction: Object(external_lodash_["get"])(getCurrentPost(), ['_links', 'wp:action-publish'], false),
-    postType: getCurrentPostType()
+    postSticky: select(store).getEditedPostAttribute('sticky')
   };
-})])(PostVisibilityCheck));
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => {
+  return {
+    onUpdateSticky(postSticky) {
+      dispatch(store).editPost({
+        sticky: postSticky
+      });
+    }

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/info.js
-var library_info = __webpack_require__("FnAh");
+  };
+})])(PostSticky));

-// EXTERNAL MODULE: external ["wp","wordcount"]
-var external_wp_wordcount_ = __webpack_require__("7fqt");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/hierarchical-term-selector.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/word-count/index.js

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -10701,246 +10168,378 @@ var external_wp_wordcount_ = __webpack_require__("7fqt");



-/**
- * Internal dependencies
- */


-function WordCount() {
-  const content = Object(external_wp_data_["useSelect"])(select => select(store).getEditedPostAttribute('content'), []);
-  /*
-   * translators: If your word count is based on single characters (e.g. East Asian characters),
-   * enter 'characters_excluding_spaces' or 'characters_including_spaces'. Otherwise, enter 'words'.
-   * Do not translate into your own language.
-   */

-  const wordCountType = Object(external_wp_i18n_["_x"])('words', 'Word count type. Do not translate!');

-  return Object(external_wp_element_["createElement"])("span", {
-    className: "word-count"
-  }, Object(external_wp_wordcount_["count"])(content, wordCountType));
-}

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/character-count/index.js
 /**
- * WordPress dependencies
+ * Internal dependencies
  */


+
 /**
- * Internal dependencies
+ * Module Constants
+ */
+
+const hierarchical_term_selector_DEFAULT_QUERY = {
+  per_page: -1,
+  orderby: 'name',
+  order: 'asc',
+  _fields: 'id,name,parent',
+  context: 'view'
+};
+const MIN_TERMS_COUNT_FOR_FILTER = 8;
+const hierarchical_term_selector_EMPTY_ARRAY = [];
+/**
+ * Sort Terms by Selected.
+ *
+ * @param {Object[]} termsTree Array of terms in tree format.
+ * @param {number[]} terms     Selected terms.
+ *
+ * @return {Object[]} Sorted array of terms.
  */

+function sortBySelected(termsTree, terms) {
+  const treeHasSelection = termTree => {
+    if (terms.indexOf(termTree.id) !== -1) {
+      return true;
+    }

-function CharacterCount() {
-  const content = Object(external_wp_data_["useSelect"])(select => select(store).getEditedPostAttribute('content'), []);
-  return Object(external_wp_wordcount_["count"])(content, 'characters_including_spaces');
-}
+    if (undefined === termTree.children) {
+      return false;
+    }

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/table-of-contents/panel.js
+    return termTree.children.map(treeHasSelection).filter(child => child).length > 0;
+  };

+  const termOrChildIsSelected = (termA, termB) => {
+    const termASelected = treeHasSelection(termA);
+    const termBSelected = treeHasSelection(termB);

-/**
- * WordPress dependencies
- */
+    if (termASelected === termBSelected) {
+      return 0;
+    }
+
+    if (termASelected && !termBSelected) {
+      return -1;
+    }

+    if (!termASelected && termBSelected) {
+      return 1;
+    }

+    return 0;
+  };

+  const newTermTree = [...termsTree];
+  newTermTree.sort(termOrChildIsSelected);
+  return newTermTree;
+}
 /**
- * Internal dependencies
+ * Find term by parent id or name.
+ *
+ * @param {Object[]}      terms  Array of Terms.
+ * @param {number|string} parent id.
+ * @param {string}        name   Term name.
+ * @return {Object} Term object.
+ */
+
+function findTerm(terms, parent, name) {
+  return (0,external_lodash_namespaceObject.find)(terms, term => {
+    return (!term.parent && !parent || parseInt(term.parent) === parseInt(parent)) && term.name.toLowerCase() === name.toLowerCase();
+  });
+}
+/**
+ * Get filter matcher function.
+ *
+ * @param {string} filterValue Filter value.
+ * @return {(function(Object): (Object|boolean))} Matcher function.
  */

+function getFilterMatcher(filterValue) {
+  const matchTermsForFilter = originalTerm => {
+    if ('' === filterValue) {
+      return originalTerm;
+    } // Shallow clone, because we'll be filtering the term's children and
+    // don't want to modify the original term.
+
+
+    const term = { ...originalTerm
+    }; // Map and filter the children, recursive so we deal with grandchildren
+    // and any deeper levels.
+
+    if (term.children.length > 0) {
+      term.children = term.children.map(matchTermsForFilter).filter(child => child);
+    } // If the term's name contains the filterValue, or it has children
+    // (i.e. some child matched at some point in the tree) then return it.


+    if (-1 !== term.name.toLowerCase().indexOf(filterValue.toLowerCase()) || term.children.length > 0) {
+      return term;
+    } // Otherwise, return false. After mapping, the list of terms will need
+    // to have false values filtered out.
+
+
+    return false;
+  };

+  return matchTermsForFilter;
+}
+/**
+ * Hierarchical term selector.
+ *
+ * @param {Object} props      Component props.
+ * @param {string} props.slug Taxonomy slug.
+ * @return {WPElement}        Hierarchical term selector component.
+ */

-function TableOfContentsPanel(_ref) {
+function HierarchicalTermSelector(_ref) {
   let {
-    hasOutlineItemsDisabled,
-    onRequestClose
+    slug
   } = _ref;
+  const [adding, setAdding] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [formName, setFormName] = (0,external_wp_element_namespaceObject.useState)('');
+  /**
+   * @type {[number|'', Function]}
+   */
+
+  const [formParent, setFormParent] = (0,external_wp_element_namespaceObject.useState)('');
+  const [showForm, setShowForm] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [filterValue, setFilterValue] = (0,external_wp_element_namespaceObject.useState)('');
+  const [filteredTermsTree, setFilteredTermsTree] = (0,external_wp_element_namespaceObject.useState)([]);
+  const debouncedSpeak = (0,external_wp_compose_namespaceObject.useDebounce)(external_wp_a11y_namespaceObject.speak, 500);
   const {
-    headingCount,
-    paragraphCount,
-    numberOfBlocks
-  } = Object(external_wp_data_["useSelect"])(select => {
+    hasCreateAction,
+    hasAssignAction,
+    terms,
+    loading,
+    availableTerms,
+    taxonomy
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
-      getGlobalBlockCount
-    } = select(external_wp_blockEditor_["store"]);
-    return {
-      headingCount: getGlobalBlockCount('core/heading'),
-      paragraphCount: getGlobalBlockCount('core/paragraph'),
-      numberOfBlocks: getGlobalBlockCount()
-    };
-  }, []);
-  return (
-    /*
-     * Disable reason: The `list` ARIA role is redundant but
-     * Safari+VoiceOver won't announce the list otherwise.
-     */
+      getCurrentPost,
+      getEditedPostAttribute
+    } = select(store);
+    const {
+      getTaxonomy,
+      getEntityRecords,
+      isResolving
+    } = select(external_wp_coreData_namespaceObject.store);

-    /* eslint-disable jsx-a11y/no-redundant-roles */
-    Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("div", {
-      className: "table-of-contents__wrapper",
-      role: "note",
-      "aria-label": Object(external_wp_i18n_["__"])('Document Statistics'),
-      tabIndex: "0"
-    }, Object(external_wp_element_["createElement"])("ul", {
-      role: "list",
-      className: "table-of-contents__counts"
-    }, Object(external_wp_element_["createElement"])("li", {
-      className: "table-of-contents__count"
-    }, Object(external_wp_i18n_["__"])('Characters'), Object(external_wp_element_["createElement"])("span", {
-      className: "table-of-contents__number"
-    }, Object(external_wp_element_["createElement"])(CharacterCount, null))), Object(external_wp_element_["createElement"])("li", {
-      className: "table-of-contents__count"
-    }, Object(external_wp_i18n_["__"])('Words'), Object(external_wp_element_["createElement"])(WordCount, null)), Object(external_wp_element_["createElement"])("li", {
-      className: "table-of-contents__count"
-    }, Object(external_wp_i18n_["__"])('Headings'), Object(external_wp_element_["createElement"])("span", {
-      className: "table-of-contents__number"
-    }, headingCount)), Object(external_wp_element_["createElement"])("li", {
-      className: "table-of-contents__count"
-    }, Object(external_wp_i18n_["__"])('Paragraphs'), Object(external_wp_element_["createElement"])("span", {
-      className: "table-of-contents__number"
-    }, paragraphCount)), Object(external_wp_element_["createElement"])("li", {
-      className: "table-of-contents__count"
-    }, Object(external_wp_i18n_["__"])('Blocks'), Object(external_wp_element_["createElement"])("span", {
-      className: "table-of-contents__number"
-    }, numberOfBlocks)))), headingCount > 0 && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])("hr", null), Object(external_wp_element_["createElement"])("h2", {
-      className: "table-of-contents__title"
-    }, Object(external_wp_i18n_["__"])('Document Outline')), Object(external_wp_element_["createElement"])(document_outline, {
-      onSelect: onRequestClose,
-      hasOutlineItemsDisabled: hasOutlineItemsDisabled
-    })))
-    /* eslint-enable jsx-a11y/no-redundant-roles */
+    const _taxonomy = getTaxonomy(slug);

-  );
-}
+    return {
+      hasCreateAction: _taxonomy ? (0,external_lodash_namespaceObject.get)(getCurrentPost(), ['_links', 'wp:action-create-' + _taxonomy.rest_base], false) : false,
+      hasAssignAction: _taxonomy ? (0,external_lodash_namespaceObject.get)(getCurrentPost(), ['_links', 'wp:action-assign-' + _taxonomy.rest_base], false) : false,
+      terms: _taxonomy ? getEditedPostAttribute(_taxonomy.rest_base) : hierarchical_term_selector_EMPTY_ARRAY,
+      loading: isResolving('getEntityRecords', ['taxonomy', slug, hierarchical_term_selector_DEFAULT_QUERY]),
+      availableTerms: getEntityRecords('taxonomy', slug, hierarchical_term_selector_DEFAULT_QUERY) || hierarchical_term_selector_EMPTY_ARRAY,
+      taxonomy: _taxonomy
+    };
+  }, [slug]);
+  const {
+    editPost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    saveEntityRecord
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  const availableTermsTree = (0,external_wp_element_namespaceObject.useMemo)(() => sortBySelected(buildTermsTree(availableTerms), terms), // Remove `terms` from the dependency list to avoid reordering every time
+  // checking or unchecking a term.
+  [availableTerms]);

-/* harmony default export */ var panel = (TableOfContentsPanel);
+  if (!hasAssignAction) {
+    return null;
+  }
+  /**
+   * Append new term.
+   *
+   * @param {Object} term Term object.
+   * @return {Promise} A promise that resolves to save term object.
+   */

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/table-of-contents/index.js

+  const addTerm = term => {
+    return saveEntityRecord('taxonomy', slug, term);
+  };
+  /**
+   * Update terms for post.
+   *
+   * @param {number[]} termIds Term ids.
+   */


-/**
- * WordPress dependencies
- */
+  const onUpdateTerms = termIds => {
+    editPost({
+      [taxonomy.rest_base]: termIds
+    });
+  };
+  /**
+   * Handler for checking term.
+   *
+   * @param {number} termId
+   */


+  const onChange = termId => {
+    const hasTerm = terms.includes(termId);
+    const newTerms = hasTerm ? (0,external_lodash_namespaceObject.without)(terms, termId) : [...terms, termId];
+    onUpdateTerms(newTerms);
+  };

+  const onChangeFormName = value => {
+    setFormName(value);
+  };
+  /**
+   * Handler for changing form parent.
+   *
+   * @param {number|''} parentId Parent post id.
+   */


+  const onChangeFormParent = parentId => {
+    setFormParent(parentId);
+  };

-/**
- * Internal dependencies
- */
+  const onToggleForm = () => {
+    setShowForm(!showForm);
+  };

+  const onAddTerm = async event => {
+    event.preventDefault();

+    if (formName === '' || adding) {
+      return;
+    } // check if the term we are adding already exists

-function TableOfContents(_ref, ref) {
-  let {
-    hasOutlineItemsDisabled,
-    repositionDropdown,
-    ...props
-  } = _ref;
-  const hasBlocks = Object(external_wp_data_["useSelect"])(select => !!select(external_wp_blockEditor_["store"]).getBlockCount(), []);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
-    position: repositionDropdown ? 'middle right right' : 'bottom',
-    className: "table-of-contents",
-    contentClassName: "table-of-contents__popover",
-    renderToggle: _ref2 => {
-      let {
-        isOpen,
-        onToggle
-      } = _ref2;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], Object(esm_extends["a" /* default */])({}, props, {
-        ref: ref,
-        onClick: hasBlocks ? onToggle : undefined,
-        icon: library_info["a" /* default */],
-        "aria-expanded": isOpen,
-        "aria-haspopup": "true"
-        /* translators: button label text should, if possible, be under 16 characters. */
-        ,
-        label: Object(external_wp_i18n_["__"])('Details'),
-        tooltipPosition: "bottom",
-        "aria-disabled": !hasBlocks
-      }));
-    },
-    renderContent: _ref3 => {
-      let {
-        onClose
-      } = _ref3;
-      return Object(external_wp_element_["createElement"])(panel, {
-        onRequestClose: onClose,
-        hasOutlineItemsDisabled: hasOutlineItemsDisabled
-      });
-    }
-  });
-}

-/* harmony default export */ var table_of_contents = (Object(external_wp_element_["forwardRef"])(TableOfContents));
+    const existingTerm = findTerm(availableTerms, formParent, formName);

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/unsaved-changes-warning/index.js
-/**
- * WordPress dependencies
- */
+    if (existingTerm) {
+      // if the term we are adding exists but is not selected select it
+      if (!(0,external_lodash_namespaceObject.some)(terms, term => term === existingTerm.id)) {
+        onUpdateTerms([...terms, existingTerm.id]);
+      }

+      setFormName('');
+      setFormParent('');
+      return;
+    }

+    setAdding(true);
+    const newTerm = await addTerm({
+      name: formName,
+      parent: formParent ? formParent : undefined
+    });
+    const termAddedMessage = (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %s: taxonomy name */
+    (0,external_wp_i18n_namespaceObject._x)('%s added', 'term'), (0,external_lodash_namespaceObject.get)(taxonomy, ['labels', 'singular_name'], slug === 'category' ? (0,external_wp_i18n_namespaceObject.__)('Category') : (0,external_wp_i18n_namespaceObject.__)('Term')));
+    (0,external_wp_a11y_namespaceObject.speak)(termAddedMessage, 'assertive');
+    setAdding(false);
+    setFormName('');
+    setFormParent('');
+    onUpdateTerms([...terms, newTerm.id]);
+  };

+  const setFilter = value => {
+    const newFilteredTermsTree = availableTermsTree.map(getFilterMatcher(value)).filter(term => term);

-/**
- * Warns the user if there are unsaved changes before leaving the editor.
- * Compatible with Post Editor and Site Editor.
- *
- * @return {WPComponent} The component.
- */
+    const getResultCount = termsTree => {
+      let count = 0;

-function UnsavedChangesWarning() {
-  const isDirty = Object(external_wp_data_["useSelect"])(select => {
-    return () => {
-      const {
-        __experimentalGetDirtyEntityRecords
-      } = select(external_wp_coreData_["store"]);
+      for (let i = 0; i < termsTree.length; i++) {
+        count++;

-      const dirtyEntityRecords = __experimentalGetDirtyEntityRecords();
+        if (undefined !== termsTree[i].children) {
+          count += getResultCount(termsTree[i].children);
+        }
+      }

-      return dirtyEntityRecords.length > 0;
+      return count;
     };
-  }, []);
-  /**
-   * Warns the user if there are unsaved changes before leaving the editor.
-   *
-   * @param {Event} event `beforeunload` event.
-   *
-   * @return {?string} Warning prompt message, if unsaved changes exist.
-   */

-  const warnIfUnsavedChanges = event => {
-    // We need to call the selector directly in the listener to avoid race
-    // conditions with `BrowserURL` where `componentDidUpdate` gets the
-    // new value of `isEditedPostDirty` before this component does,
-    // causing this component to incorrectly think a trashed post is still dirty.
-    if (isDirty()) {
-      event.returnValue = Object(external_wp_i18n_["__"])('You have unsaved changes. If you proceed, they will be lost.');
-      return event.returnValue;
-    }
+    setFilterValue(value);
+    setFilteredTermsTree(newFilteredTermsTree);
+    const resultCount = getResultCount(newFilteredTermsTree);
+    const resultsFoundMessage = (0,external_wp_i18n_namespaceObject.sprintf)(
+    /* translators: %d: number of results */
+    (0,external_wp_i18n_namespaceObject._n)('%d result found.', '%d results found.', resultCount), resultCount);
+    debouncedSpeak(resultsFoundMessage, 'assertive');
   };

-  Object(external_wp_element_["useEffect"])(() => {
-    window.addEventListener('beforeunload', warnIfUnsavedChanges);
-    return () => {
-      window.removeEventListener('beforeunload', warnIfUnsavedChanges);
-    };
-  }, []);
-  return null;
+  const renderTerms = renderedTerms => {
+    return renderedTerms.map(term => {
+      return (0,external_wp_element_namespaceObject.createElement)("div", {
+        key: term.id,
+        className: "editor-post-taxonomies__hierarchical-terms-choice"
+      }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.CheckboxControl, {
+        checked: terms.indexOf(term.id) !== -1,
+        onChange: () => {
+          const termId = parseInt(term.id, 10);
+          onChange(termId);
+        },
+        label: (0,external_lodash_namespaceObject.unescape)(term.name)
+      }), !!term.children.length && (0,external_wp_element_namespaceObject.createElement)("div", {
+        className: "editor-post-taxonomies__hierarchical-terms-subchoices"
+      }, renderTerms(term.children)));
+    });
+  };
+
+  const labelWithFallback = (labelProperty, fallbackIsCategory, fallbackIsNotCategory) => (0,external_lodash_namespaceObject.get)(taxonomy, ['labels', labelProperty], slug === 'category' ? fallbackIsCategory : fallbackIsNotCategory);
+
+  const newTermButtonLabel = labelWithFallback('add_new_item', (0,external_wp_i18n_namespaceObject.__)('Add new category'), (0,external_wp_i18n_namespaceObject.__)('Add new term'));
+  const newTermLabel = labelWithFallback('new_item_name', (0,external_wp_i18n_namespaceObject.__)('Add new category'), (0,external_wp_i18n_namespaceObject.__)('Add new term'));
+  const parentSelectLabel = labelWithFallback('parent_item', (0,external_wp_i18n_namespaceObject.__)('Parent Category'), (0,external_wp_i18n_namespaceObject.__)('Parent Term'));
+  const noParentOption = `— ${parentSelectLabel} —`;
+  const newTermSubmitLabel = newTermButtonLabel;
+  const filterLabel = (0,external_lodash_namespaceObject.get)(taxonomy, ['labels', 'search_items'], (0,external_wp_i18n_namespaceObject.__)('Search Terms'));
+  const groupLabel = (0,external_lodash_namespaceObject.get)(taxonomy, ['name'], (0,external_wp_i18n_namespaceObject.__)('Terms'));
+  const showFilter = availableTerms.length >= MIN_TERMS_COUNT_FOR_FILTER;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, showFilter && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    className: "editor-post-taxonomies__hierarchical-terms-filter",
+    label: filterLabel,
+    value: filterValue,
+    onChange: setFilter
+  }), (0,external_wp_element_namespaceObject.createElement)("div", {
+    className: "editor-post-taxonomies__hierarchical-terms-list",
+    tabIndex: "0",
+    role: "group",
+    "aria-label": groupLabel
+  }, renderTerms('' !== filterValue ? filteredTermsTree : availableTermsTree)), !loading && hasCreateAction && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    onClick: onToggleForm,
+    className: "editor-post-taxonomies__hierarchical-terms-add",
+    "aria-expanded": showForm,
+    variant: "link"
+  }, newTermButtonLabel), showForm && (0,external_wp_element_namespaceObject.createElement)("form", {
+    onSubmit: onAddTerm
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+    className: "editor-post-taxonomies__hierarchical-terms-input",
+    label: newTermLabel,
+    value: formName,
+    onChange: onChangeFormName,
+    required: true
+  }), !!availableTerms.length && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TreeSelect, {
+    label: parentSelectLabel,
+    noOptionLabel: noParentOption,
+    onChange: onChangeFormParent,
+    selectedId: formParent,
+    tree: availableTermsTree
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "secondary",
+    type: "submit",
+    className: "editor-post-taxonomies__hierarchical-terms-submit"
+  }, newTermSubmitLabel)));
 }

-// EXTERNAL MODULE: external ["wp","reusableBlocks"]
-var external_wp_reusableBlocks_ = __webpack_require__("diJD");
+/* harmony default export */ var hierarchical_term_selector = ((0,external_wp_components_namespaceObject.withFilters)('editor.PostTaxonomyType')(HierarchicalTermSelector));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/provider/with-registry-provider.js

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -10949,45 +10548,41 @@ var external_wp_reusableBlocks_ = __webpack_require__("diJD");



+
 /**
  * Internal dependencies
  */


-const withRegistryProvider = Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => Object(external_wp_data_["withRegistry"])(props => {
-  const {
-    useSubRegistry = true,
-    registry,
-    ...additionalProps
-  } = props;
-
-  if (!useSubRegistry) {
-    return Object(external_wp_element_["createElement"])(WrappedComponent, additionalProps);
-  }
-
-  const [subRegistry, setSubRegistry] = Object(external_wp_element_["useState"])(null);
-  Object(external_wp_element_["useEffect"])(() => {
-    const newRegistry = Object(external_wp_data_["createRegistry"])({
-      'core/block-editor': external_wp_blockEditor_["storeConfig"]
-    }, registry);
-    newRegistry.registerStore('core/editor', storeConfig);
-    setSubRegistry(newRegistry);
-  }, [registry]);
-
-  if (!subRegistry) {
-    return null;
-  }

-  return Object(external_wp_element_["createElement"])(external_wp_data_["RegistryProvider"], {
-    value: subRegistry
-  }, Object(external_wp_element_["createElement"])(WrappedComponent, additionalProps));
-}), 'withRegistryProvider');
-/* harmony default export */ var with_registry_provider = (withRegistryProvider);

-// EXTERNAL MODULE: external ["wp","mediaUtils"]
-var external_wp_mediaUtils_ = __webpack_require__("6aBm");
+function PostTaxonomies(_ref) {
+  let {
+    postType,
+    taxonomies,
+    taxonomyWrapper = external_lodash_namespaceObject.identity
+  } = _ref;
+  const availableTaxonomies = (0,external_lodash_namespaceObject.filter)(taxonomies, taxonomy => (0,external_lodash_namespaceObject.includes)(taxonomy.types, postType));
+  const visibleTaxonomies = (0,external_lodash_namespaceObject.filter)(availableTaxonomies, taxonomy => taxonomy.visibility.show_ui);
+  return visibleTaxonomies.map(taxonomy => {
+    const TaxonomyComponent = taxonomy.hierarchical ? hierarchical_term_selector : flat_term_selector;
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, {
+      key: `taxonomy-${taxonomy.slug}`
+    }, taxonomyWrapper((0,external_wp_element_namespaceObject.createElement)(TaxonomyComponent, {
+      slug: taxonomy.slug
+    }), taxonomy));
+  });
+}
+/* harmony default export */ var post_taxonomies = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  return {
+    postType: select(store).getCurrentPostType(),
+    taxonomies: select(external_wp_coreData_namespaceObject.store).getTaxonomies({
+      per_page: -1
+    })
+  };
+})])(PostTaxonomies));

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/media-upload/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-taxonomies/check.js
 /**
  * External dependencies
  */
@@ -10998,59 +10593,40 @@ var external_wp_mediaUtils_ = __webpack_require__("6aBm");



+
 /**
  * Internal dependencies
  */


-/**
- * Upload a media file when the file upload button is activated.
- * Wrapper around mediaUpload() that injects the current post ID.
- *
- * @param {Object}   $0                   Parameters object passed to the function.
- * @param {?Object}  $0.additionalData    Additional data to include in the request.
- * @param {string}   $0.allowedTypes      Array with the types of media that can be uploaded, if unset all types are allowed.
- * @param {Array}    $0.filesList         List of files.
- * @param {?number}  $0.maxUploadFileSize Maximum upload size in bytes allowed for the site.
- * @param {Function} $0.onError           Function called when an error happens.
- * @param {Function} $0.onFileChange      Function called each time a file or a temporary representation of the file is available.
- */
-
-function mediaUpload(_ref) {
+function PostTaxonomiesCheck(_ref) {
   let {
-    additionalData = {},
-    allowedTypes,
-    filesList,
-    maxUploadFileSize,
-    onError = external_lodash_["noop"],
-    onFileChange
+    postType,
+    taxonomies,
+    children
   } = _ref;
-  const {
-    getCurrentPostId,
-    getEditorSettings
-  } = Object(external_wp_data_["select"])(store);
-  const wpAllowedMimeTypes = getEditorSettings().allowedMimeTypes;
-  maxUploadFileSize = maxUploadFileSize || getEditorSettings().maxUploadFileSize;
-  Object(external_wp_mediaUtils_["uploadMedia"])({
-    allowedTypes,
-    filesList,
-    onFileChange,
-    additionalData: {
-      post: getCurrentPostId(),
-      ...additionalData
-    },
-    maxUploadFileSize,
-    onError: _ref2 => {
-      let {
-        message
-      } = _ref2;
-      return onError(message);
-    },
-    wpAllowedMimeTypes
-  });
+  const hasTaxonomies = (0,external_lodash_namespaceObject.some)(taxonomies, taxonomy => (0,external_lodash_namespaceObject.includes)(taxonomy.types, postType));
+
+  if (!hasTaxonomies) {
+    return null;
+  }
+
+  return children;
 }
+/* harmony default export */ var post_taxonomies_check = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  return {
+    postType: select(store).getCurrentPostType(),
+    taxonomies: select(external_wp_coreData_namespaceObject.store).getTaxonomies({
+      per_page: -1
+    })
+  };
+})])(PostTaxonomiesCheck));
+
+// EXTERNAL MODULE: ./node_modules/react-autosize-textarea/lib/index.js
+var lib = __webpack_require__(773);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-text-editor/index.js
+

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/provider/use-block-editor-settings.js
 /**
  * External dependencies
  */
@@ -11063,92 +10639,83 @@ function mediaUpload(_ref) {



-/**
- * Internal dependencies
- */
-


 /**
- * React hook used to compute the block editor settings to use for the post editor.
- *
- * @param {Object}  settings    EditorProvider settings prop.
- * @param {boolean} hasTemplate Whether template mode is enabled.
- *
- * @return {Object} Block Editor Settings.
+ * Internal dependencies
  */

-function useBlockEditorSettings(settings, hasTemplate) {
-  const {
-    reusableBlocks,
-    hasUploadPermissions,
-    canUseUnfilteredHTML,
-    userCanCreatePages
-  } = Object(external_wp_data_["useSelect"])(select => {
-    const {
-      canUserUseUnfilteredHTML
-    } = select(store);
-    const isWeb = external_wp_element_["Platform"].OS === 'web';
-    const {
-      canUser,
-      getUnstableBase,
-      hasFinishedResolution
-    } = select(external_wp_coreData_["store"]);
-    const siteData = getUnstableBase();
-    const hasFinishedResolvingSiteData = hasFinishedResolution('getUnstableBase');
-    return {
-      canUseUnfilteredHTML: canUserUseUnfilteredHTML(),
-      reusableBlocks: isWeb ? select(external_wp_coreData_["store"]).getEntityRecords('postType', 'wp_block', {
-        per_page: -1
-      }) : [],
-      // Reusable blocks are fetched in the native version of this hook.
-      hasUploadPermissions: Object(external_lodash_["defaultTo"])(canUser('create', 'media'), true),
-      hasResolvedLocalSiteData: hasFinishedResolvingSiteData,
-      baseUrl: (siteData === null || siteData === void 0 ? void 0 : siteData.url) || '',
-      userCanCreatePages: canUser('create', 'pages')
-    };
-  }, []);
-  const {
-    undo
-  } = Object(external_wp_data_["useDispatch"])(store);
+
+function PostTextEditor() {
+  const postContent = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getEditedPostContent(), []);
   const {
-    saveEntityRecord
-  } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]);
+    editPost,
+    resetEditorBlocks
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const [value, setValue] = (0,external_wp_element_namespaceObject.useState)(postContent);
+  const [isDirty, setIsDirty] = (0,external_wp_element_namespaceObject.useState)(false);
+  const instanceId = (0,external_wp_compose_namespaceObject.useInstanceId)(PostTextEditor);
+
+  if (!isDirty && value !== postContent) {
+    setValue(postContent);
+  }
   /**
-   * Creates a Post entity.
-   * This is utilised by the Link UI to allow for on-the-fly creation of Posts/Pages.
+   * Handles a textarea change event to notify the onChange prop callback and
+   * reflect the new value in the component's own state. This marks the start
+   * of the user's edits, if not already changed, preventing future props
+   * changes to value from replacing the rendered value. This is expected to
+   * be followed by a reset to dirty state via `stopEditing`.
    *
-   * @param {Object} options parameters for the post being created. These mirror those used on 3rd param of saveEntityRecord.
-   * @return {Object} the post type object that was created.
+   * @see stopEditing
+   *
+   * @param {Event} event Change event.
    */

-  const createPageEntity = options => {
-    if (!userCanCreatePages) {
-      return Promise.reject({
-        message: Object(external_wp_i18n_["__"])('You do not have permission to create Pages.')
-      });
-    }

-    return saveEntityRecord('postType', 'page', options);
+  const onChange = event => {
+    const newValue = event.target.value;
+    editPost({
+      content: newValue
+    });
+    setValue(newValue);
+    setIsDirty(true);
   };
+  /**
+   * Function called when the user has completed their edits, responsible for
+   * ensuring that changes, if made, are surfaced to the onPersist prop
+   * callback and resetting dirty state.
+   */

-  return Object(external_wp_element_["useMemo"])(() => ({ ...Object(external_lodash_["pick"])(settings, ['__experimentalBlockDirectory', '__experimentalBlockPatternCategories', '__experimentalBlockPatterns', '__experimentalFeatures', '__experimentalPreferredStyleVariations', '__experimentalSetIsInserterOpened', '__experimentalGenerateAnchors', '__unstableGalleryWithImageBlocks', 'alignWide', 'allowedBlockTypes', 'bodyPlaceholder', 'codeEditingEnabled', 'colors', 'disableCustomColors', 'disableCustomFontSizes', 'disableCustomGradients', 'enableCustomLineHeight', 'enableCustomSpacing', 'enableCustomUnits', 'focusMode', 'fontSizes', 'gradients', 'hasFixedToolbar', 'hasReducedUI', 'imageDefaultSize', 'imageDimensions', 'imageEditing', 'imageSizes', 'isRTL', 'keepCaretInsideBlock', 'maxWidth', 'onUpdateDefaultBlockStyles', 'styles', 'template', 'templateLock', 'titlePlaceholder', 'supportsLayout', 'widgetTypesToHideFromLegacyWidgetBlock']),
-    mediaUpload: hasUploadPermissions ? mediaUpload : undefined,
-    __experimentalReusableBlocks: reusableBlocks,
-    __experimentalFetchLinkSuggestions: (search, searchOptions) => Object(external_wp_coreData_["__experimentalFetchLinkSuggestions"])(search, searchOptions, settings),
-    __experimentalFetchRichUrlData: external_wp_coreData_["__experimentalFetchUrlData"],
-    __experimentalCanUserUseUnfilteredHTML: canUseUnfilteredHTML,
-    __experimentalUndo: undo,
-    outlineMode: hasTemplate,
-    __experimentalCreatePageEntity: createPageEntity,
-    __experimentalUserCanCreatePages: userCanCreatePages
-  }), [settings, hasUploadPermissions, reusableBlocks, canUseUnfilteredHTML, undo, hasTemplate, userCanCreatePages]);
+
+  const stopEditing = () => {
+    if (isDirty) {
+      const blocks = (0,external_wp_blocks_namespaceObject.parse)(value);
+      resetEditorBlocks(blocks);
+      setIsDirty(false);
+    }
+  };
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.VisuallyHidden, {
+    as: "label",
+    htmlFor: `post-content-${instanceId}`
+  }, (0,external_wp_i18n_namespaceObject.__)('Type text or HTML')), (0,external_wp_element_namespaceObject.createElement)(lib/* default */.Z, {
+    autoComplete: "off",
+    dir: "auto",
+    value: value,
+    onChange: onChange,
+    onBlur: stopEditing,
+    className: "editor-post-text-editor",
+    id: `post-content-${instanceId}`,
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Start writing with text or HTML')
+  }));
 }

-/* harmony default export */ var use_block_editor_settings = (useBlockEditorSettings);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-title/index.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/provider/index.js

+/**
+ * External dependencies
+ */

 /**
  * WordPress dependencies
@@ -11160,295 +10727,427 @@ function useBlockEditorSettings(settings, hasTemplate) {



-/**
- * Internal dependencies
- */
-
-



-function EditorProvider(_ref) {
-  let {
-    __unstableTemplate,
-    post,
-    settings,
-    recovery,
-    initialEdits,
-    children
-  } = _ref;
-  const defaultBlockContext = Object(external_wp_element_["useMemo"])(() => {
-    if (post.type === 'wp_template') {
-      return {};
-    }
+/**
+ * Internal dependencies
+ */

-    return {
-      postId: post.id,
-      postType: post.type
-    };
-  }, [post.id, post.type]);
+
+
+/**
+ * Constants
+ */
+
+const REGEXP_NEWLINES = /[\r\n]+/g;
+function PostTitle() {
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const [isSelected, setIsSelected] = (0,external_wp_element_namespaceObject.useState)(false);
   const {
-    selection,
-    isReady
-  } = Object(external_wp_data_["useSelect"])(select => {
+    editPost
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    insertDefaultBlock,
+    clearSelectedBlock,
+    insertBlocks
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  const {
+    isCleanNewPost,
+    title,
+    placeholder,
+    isFocusMode,
+    hasFixedToolbar
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
-      getEditorSelection,
-      __unstableIsEditorReady
+      getEditedPostAttribute,
+      isCleanNewPost: _isCleanNewPost
     } = select(store);
+    const {
+      getSettings
+    } = select(external_wp_blockEditor_namespaceObject.store);
+    const {
+      titlePlaceholder,
+      focusMode,
+      hasFixedToolbar: _hasFixedToolbar
+    } = getSettings();
     return {
-      isReady: __unstableIsEditorReady(),
-      selection: getEditorSelection()
+      isCleanNewPost: _isCleanNewPost(),
+      title: getEditedPostAttribute('title'),
+      placeholder: titlePlaceholder,
+      isFocusMode: focusMode,
+      hasFixedToolbar: _hasFixedToolbar
     };
   }, []);
-  const {
-    id,
-    type
-  } = __unstableTemplate !== null && __unstableTemplate !== void 0 ? __unstableTemplate : post;
-  const [blocks, onInput, onChange] = Object(external_wp_coreData_["useEntityBlockEditor"])('postType', type, {
-    id
-  });
-  const editorSettings = use_block_editor_settings(settings, !!__unstableTemplate);
-  const {
-    updatePostLock,
-    setupEditor,
-    updateEditorSettings,
-    __experimentalTearDownEditor
-  } = Object(external_wp_data_["useDispatch"])(store);
-  const {
-    createWarningNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]); // Initialize and tear down the editor.
-  // Ideally this should be synced on each change and not just something you do once.
-
-  Object(external_wp_element_["useLayoutEffect"])(() => {
-    // Assume that we don't need to initialize in the case of an error recovery.
-    if (recovery) {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (!ref.current) {
       return;
     }

-    updatePostLock(settings.postLock);
-    setupEditor(post, initialEdits, settings.template);
+    const {
+      ownerDocument
+    } = ref.current;
+    const {
+      activeElement,
+      body
+    } = ownerDocument; // Only autofocus the title when the post is entirely empty. This should
+    // only happen for a new post, which means we focus the title on new
+    // post so the author can start typing right away, without needing to
+    // click anything.

-    if (settings.autosave) {
-      createWarningNotice(Object(external_wp_i18n_["__"])('There is an autosave of this post that is more recent than the version below.'), {
-        id: 'autosave-exists',
-        actions: [{
-          label: Object(external_wp_i18n_["__"])('View the autosave'),
-          url: settings.autosave.editLink
-        }]
-      });
+    if (isCleanNewPost && (!activeElement || body === activeElement)) {
+      ref.current.focus();
     }
+  }, [isCleanNewPost]);

-    return () => {
-      __experimentalTearDownEditor();
-    };
-  }, []); // Synchronize the editor settings as they change
-
-  Object(external_wp_element_["useEffect"])(() => {
-    updateEditorSettings(settings);
-  }, [settings]);
-
-  if (!isReady) {
-    return null;
+  function onEnterPress() {
+    insertDefaultBlock(undefined, undefined, 0);
   }

-  return Object(external_wp_element_["createElement"])(external_wp_coreData_["EntityProvider"], {
-    kind: "root",
-    type: "site"
-  }, Object(external_wp_element_["createElement"])(external_wp_coreData_["EntityProvider"], {
-    kind: "postType",
-    type: post.type,
-    id: post.id
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockContextProvider"], {
-    value: defaultBlockContext
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockEditorProvider"], {
-    value: blocks,
-    onChange: onChange,
-    onInput: onInput,
-    selection: selection,
-    settings: editorSettings,
-    useSubRegistry: false
-  }, children, Object(external_wp_element_["createElement"])(external_wp_reusableBlocks_["ReusableBlocksMenuItems"], null)))));
-}
-
-/* harmony default export */ var provider = (with_registry_provider(EditorProvider));
-
-// EXTERNAL MODULE: external ["wp","serverSideRender"]
-var external_wp_serverSideRender_ = __webpack_require__("JREk");
-var external_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_wp_serverSideRender_);
+  function onInsertBlockAfter(blocks) {
+    insertBlocks(blocks, 0);
+  }

-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/deprecated.js
+  function onUpdate(newTitle) {
+    editPost({
+      title: newTitle
+    });
+  }

+  const [selection, setSelection] = (0,external_wp_element_namespaceObject.useState)({});

-// Block Creation Components
+  function onSelect() {
+    setIsSelected(true);
+    clearSelectedBlock();
+  }

-/**
- * WordPress dependencies
- */
+  function onUnselect() {
+    setIsSelected(false);
+    setSelection({});
+  }

+  function onChange(value) {
+    onUpdate(value.replace(REGEXP_NEWLINES, ' '));
+  }

+  function onKeyDown(event) {
+    if (event.keyCode === external_wp_keycodes_namespaceObject.ENTER) {
+      event.preventDefault();
+      onEnterPress();
+    }
+  }

+  function onPaste(event) {
+    const clipboardData = event.clipboardData;
+    let plainText = '';
+    let html = ''; // IE11 only supports `Text` as an argument for `getData` and will
+    // otherwise throw an invalid argument error, so we try the standard
+    // arguments first, then fallback to `Text` if they fail.

+    try {
+      plainText = clipboardData.getData('text/plain');
+      html = clipboardData.getData('text/html');
+    } catch (error1) {
+      try {
+        html = clipboardData.getData('Text');
+      } catch (error2) {
+        // Some browsers like UC Browser paste plain text by default and
+        // don't support clipboardData at all, so allow default
+        // behaviour.
+        return;
+      }
+    } // Allows us to ask for this information when we get a report.

-function deprecateComponent(name, Wrapped) {
-  let staticsToHoist = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
-  const Component = Object(external_wp_element_["forwardRef"])((props, ref) => {
-    external_wp_deprecated_default()('wp.editor.' + name, {
-      since: '5.3',
-      alternative: 'wp.blockEditor.' + name
-    });
-    return Object(external_wp_element_["createElement"])(Wrapped, Object(esm_extends["a" /* default */])({
-      ref: ref
-    }, props));
-  });
-  staticsToHoist.forEach(staticName => {
-    Component[staticName] = deprecateComponent(name + '.' + staticName, Wrapped[staticName]);
-  });
-  return Component;
-}

-function deprecateFunction(name, func) {
-  return function () {
-    external_wp_deprecated_default()('wp.editor.' + name, {
-      since: '5.3',
-      alternative: 'wp.blockEditor.' + name
+    window.console.log('Received HTML:\n\n', html);
+    window.console.log('Received plain text:\n\n', plainText);
+    const content = (0,external_wp_blocks_namespaceObject.pasteHandler)({
+      HTML: html,
+      plainText
     });
-    return func(...arguments);
-  };
-}

-const RichText = deprecateComponent('RichText', external_wp_blockEditor_["RichText"], ['Content']);
-RichText.isEmpty = deprecateFunction('RichText.isEmpty', external_wp_blockEditor_["RichText"].isEmpty);
-
-const Autocomplete = deprecateComponent('Autocomplete', external_wp_blockEditor_["Autocomplete"]);
-const AlignmentToolbar = deprecateComponent('AlignmentToolbar', external_wp_blockEditor_["AlignmentToolbar"]);
-const BlockAlignmentToolbar = deprecateComponent('BlockAlignmentToolbar', external_wp_blockEditor_["BlockAlignmentToolbar"]);
-const BlockControls = deprecateComponent('BlockControls', external_wp_blockEditor_["BlockControls"], ['Slot']);
-const deprecated_BlockEdit = deprecateComponent('BlockEdit', external_wp_blockEditor_["BlockEdit"]);
-const BlockEditorKeyboardShortcuts = deprecateComponent('BlockEditorKeyboardShortcuts', external_wp_blockEditor_["BlockEditorKeyboardShortcuts"]);
-const BlockFormatControls = deprecateComponent('BlockFormatControls', external_wp_blockEditor_["BlockFormatControls"], ['Slot']);
-const BlockIcon = deprecateComponent('BlockIcon', external_wp_blockEditor_["BlockIcon"]);
-const BlockInspector = deprecateComponent('BlockInspector', external_wp_blockEditor_["BlockInspector"]);
-const BlockList = deprecateComponent('BlockList', external_wp_blockEditor_["BlockList"]);
-const BlockMover = deprecateComponent('BlockMover', external_wp_blockEditor_["BlockMover"]);
-const BlockNavigationDropdown = deprecateComponent('BlockNavigationDropdown', external_wp_blockEditor_["BlockNavigationDropdown"]);
-const BlockSelectionClearer = deprecateComponent('BlockSelectionClearer', external_wp_blockEditor_["BlockSelectionClearer"]);
-const BlockSettingsMenu = deprecateComponent('BlockSettingsMenu', external_wp_blockEditor_["BlockSettingsMenu"]);
-const BlockTitle = deprecateComponent('BlockTitle', external_wp_blockEditor_["BlockTitle"]);
-const BlockToolbar = deprecateComponent('BlockToolbar', external_wp_blockEditor_["BlockToolbar"]);
-const ColorPalette = deprecateComponent('ColorPalette', external_wp_blockEditor_["ColorPalette"]);
-const ContrastChecker = deprecateComponent('ContrastChecker', external_wp_blockEditor_["ContrastChecker"]);
-const CopyHandler = deprecateComponent('CopyHandler', external_wp_blockEditor_["CopyHandler"]);
-const DefaultBlockAppender = deprecateComponent('DefaultBlockAppender', external_wp_blockEditor_["DefaultBlockAppender"]);
-const FontSizePicker = deprecateComponent('FontSizePicker', external_wp_blockEditor_["FontSizePicker"]);
-const Inserter = deprecateComponent('Inserter', external_wp_blockEditor_["Inserter"]);
-const InnerBlocks = deprecateComponent('InnerBlocks', external_wp_blockEditor_["InnerBlocks"], ['ButtonBlockAppender', 'DefaultBlockAppender', 'Content']);
-const InspectorAdvancedControls = deprecateComponent('InspectorAdvancedControls', external_wp_blockEditor_["InspectorAdvancedControls"], ['Slot']);
-const InspectorControls = deprecateComponent('InspectorControls', external_wp_blockEditor_["InspectorControls"], ['Slot']);
-const PanelColorSettings = deprecateComponent('PanelColorSettings', external_wp_blockEditor_["PanelColorSettings"]);
-const PlainText = deprecateComponent('PlainText', external_wp_blockEditor_["PlainText"]);
-const RichTextShortcut = deprecateComponent('RichTextShortcut', external_wp_blockEditor_["RichTextShortcut"]);
-const RichTextToolbarButton = deprecateComponent('RichTextToolbarButton', external_wp_blockEditor_["RichTextToolbarButton"]);
-const __unstableRichTextInputEvent = deprecateComponent('__unstableRichTextInputEvent', external_wp_blockEditor_["__unstableRichTextInputEvent"]);
-const MediaPlaceholder = deprecateComponent('MediaPlaceholder', external_wp_blockEditor_["MediaPlaceholder"]);
-const MediaUpload = deprecateComponent('MediaUpload', external_wp_blockEditor_["MediaUpload"]);
-const MediaUploadCheck = deprecateComponent('MediaUploadCheck', external_wp_blockEditor_["MediaUploadCheck"]);
-const MultiSelectScrollIntoView = deprecateComponent('MultiSelectScrollIntoView', external_wp_blockEditor_["MultiSelectScrollIntoView"]);
-const NavigableToolbar = deprecateComponent('NavigableToolbar', external_wp_blockEditor_["NavigableToolbar"]);
-const ObserveTyping = deprecateComponent('ObserveTyping', external_wp_blockEditor_["ObserveTyping"]);
-const PreserveScrollInReorder = deprecateComponent('PreserveScrollInReorder', external_wp_blockEditor_["PreserveScrollInReorder"]);
-const SkipToSelectedBlock = deprecateComponent('SkipToSelectedBlock', external_wp_blockEditor_["SkipToSelectedBlock"]);
-const URLInput = deprecateComponent('URLInput', external_wp_blockEditor_["URLInput"]);
-const URLInputButton = deprecateComponent('URLInputButton', external_wp_blockEditor_["URLInputButton"]);
-const URLPopover = deprecateComponent('URLPopover', external_wp_blockEditor_["URLPopover"]);
-const Warning = deprecateComponent('Warning', external_wp_blockEditor_["Warning"]);
-const WritingFlow = deprecateComponent('WritingFlow', external_wp_blockEditor_["WritingFlow"]);
-const createCustomColorsHOC = deprecateFunction('createCustomColorsHOC', external_wp_blockEditor_["createCustomColorsHOC"]);
-const getColorClassName = deprecateFunction('getColorClassName', external_wp_blockEditor_["getColorClassName"]);
-const getColorObjectByAttributeValues = deprecateFunction('getColorObjectByAttributeValues', external_wp_blockEditor_["getColorObjectByAttributeValues"]);
-const getColorObjectByColorValue = deprecateFunction('getColorObjectByColorValue', external_wp_blockEditor_["getColorObjectByColorValue"]);
-const getFontSize = deprecateFunction('getFontSize', external_wp_blockEditor_["getFontSize"]);
-const getFontSizeClass = deprecateFunction('getFontSizeClass', external_wp_blockEditor_["getFontSizeClass"]);
-const withColorContext = deprecateFunction('withColorContext', external_wp_blockEditor_["withColorContext"]);
-const withColors = deprecateFunction('withColors', external_wp_blockEditor_["withColors"]);
-const withFontSizes = deprecateFunction('withFontSizes', external_wp_blockEditor_["withFontSizes"]);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/index.js
-// Block Creation Components
- // Post Related Components
+    if (typeof content !== 'string' && content.length) {
+      event.preventDefault();
+      const [firstBlock] = content;

+      if (!title && (firstBlock.name === 'core/heading' || firstBlock.name === 'core/paragraph')) {
+        onUpdate(firstBlock.attributes.content);
+        onInsertBlockAfter(content.slice(1));
+      } else {
+        onInsertBlockAfter(content);
+      }
+    }
+  } // The wp-block className is important for editor styles.
+  // This same block is used in both the visual and the code editor.


+  const className = classnames_default()('wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text', {
+    'is-selected': isSelected,
+    'is-focus-mode': isFocusMode,
+    'has-fixed-toolbar': hasFixedToolbar
+  });

+  const decodedPlaceholder = (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(placeholder) || (0,external_wp_i18n_namespaceObject.__)('Add title');

+  const {
+    ref: richTextRef
+  } = (0,external_wp_richText_namespaceObject.__unstableUseRichText)({
+    value: title,
+    onChange,
+    placeholder: decodedPlaceholder,
+    selectionStart: selection.start,
+    selectionEnd: selection.end,

+    onSelectionChange(newStart, newEnd) {
+      setSelection(sel => {
+        const {
+          start,
+          end
+        } = sel;

+        if (start === newStart && end === newEnd) {
+          return sel;
+        }

+        return {
+          start: newStart,
+          end: newEnd
+        };
+      });
+    },

+    __unstableDisableFormats: true,
+    preserveWhiteSpace: true
+  });
+  /* eslint-disable jsx-a11y/heading-has-content, jsx-a11y/no-noninteractive-element-to-interactive-role */

+  return (0,external_wp_element_namespaceObject.createElement)(post_type_support_check, {
+    supportKeys: "title"
+  }, (0,external_wp_element_namespaceObject.createElement)("h1", {
+    ref: (0,external_wp_compose_namespaceObject.useMergeRefs)([richTextRef, ref]),
+    contentEditable: true,
+    className: className,
+    "aria-label": decodedPlaceholder,
+    role: "textbox",
+    "aria-multiline": "true",
+    onFocus: onSelect,
+    onBlur: onUnselect,
+    onKeyDown: onKeyDown,
+    onKeyPress: onUnselect,
+    onPaste: onPaste
+  }));
+  /* eslint-enable jsx-a11y/heading-has-content, jsx-a11y/no-noninteractive-element-to-interactive-role */
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-trash/index.js


+/**
+ * WordPress dependencies
+ */




+/**
+ * Internal dependencies
+ */



+function PostTrash(_ref) {
+  let {
+    isNew,
+    postId,
+    postType,
+    ...props
+  } = _ref;

+  if (isNew || !postId) {
+    return null;
+  }

+  const onClick = () => props.trashPost(postId, postType);

+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "editor-post-trash",
+    isDestructive: true,
+    variant: "tertiary",
+    onClick: onClick
+  }, (0,external_wp_i18n_namespaceObject.__)('Move to trash'));
+}

+/* harmony default export */ var post_trash = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    isEditedPostNew,
+    getCurrentPostId,
+    getCurrentPostType
+  } = select(store);
+  return {
+    isNew: isEditedPostNew(),
+    postId: getCurrentPostId(),
+    postType: getCurrentPostType()
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)(dispatch => ({
+  trashPost: dispatch(store).trashPost
+}))])(PostTrash));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-trash/check.js
+/**
+ * WordPress dependencies
+ */


+/**
+ * Internal dependencies
+ */



+function PostTrashCheck(_ref) {
+  let {
+    isNew,
+    postId,
+    canUserDelete,
+    children
+  } = _ref;

+  if (isNew || !postId || !canUserDelete) {
+    return null;
+  }

+  return children;
+}

+/* harmony default export */ var post_trash_check = ((0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    isEditedPostNew,
+    getCurrentPostId,
+    getCurrentPostType
+  } = select(store);
+  const {
+    getPostType,
+    canUser
+  } = select(external_wp_coreData_namespaceObject.store);
+  const postId = getCurrentPostId();
+  const postType = getPostType(getCurrentPostType());
+  const resource = (postType === null || postType === void 0 ? void 0 : postType.rest_base) || ''; // eslint-disable-line camelcase

+  return {
+    isNew: isEditedPostNew(),
+    postId,
+    canUserDelete: postId && resource ? canUser('delete', resource, postId) : false
+  };
+})(PostTrashCheck));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/post-visibility/check.js
+/**
+ * External dependencies
+ */

+/**
+ * WordPress dependencies
+ */



+/**
+ * Internal dependencies
+ */


+function PostVisibilityCheck(_ref) {
+  let {
+    hasPublishAction,
+    render
+  } = _ref;
+  const canEdit = hasPublishAction;
+  return render({
+    canEdit
+  });
+}
+/* harmony default export */ var post_visibility_check = ((0,external_wp_compose_namespaceObject.compose)([(0,external_wp_data_namespaceObject.withSelect)(select => {
+  const {
+    getCurrentPost,
+    getCurrentPostType
+  } = select(store);
+  return {
+    hasPublishAction: (0,external_lodash_namespaceObject.get)(getCurrentPost(), ['_links', 'wp:action-publish'], false),
+    postType: getCurrentPostType()
+  };
+})])(PostVisibilityCheck));

+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/info.js


+/**
+ * WordPress dependencies
+ */

+const info = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_info = (info);

+;// CONCATENATED MODULE: external ["wp","wordcount"]
+var external_wp_wordcount_namespaceObject = window["wp"]["wordcount"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/word-count/index.js


+/**
+ * WordPress dependencies
+ */



+/**
+ * Internal dependencies
+ */


+function WordCount() {
+  const content = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getEditedPostAttribute('content'), []);
+  /*
+   * translators: If your word count is based on single characters (e.g. East Asian characters),
+   * enter 'characters_excluding_spaces' or 'characters_including_spaces'. Otherwise, enter 'words'.
+   * Do not translate into your own language.
+   */

+  const wordCountType = (0,external_wp_i18n_namespaceObject._x)('words', 'Word count type. Do not translate!');

+  return (0,external_wp_element_namespaceObject.createElement)("span", {
+    className: "word-count"
+  }, (0,external_wp_wordcount_namespaceObject.count)(content, wordCountType));
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/character-count/index.js
+/**
+ * WordPress dependencies
+ */


+/**
+ * Internal dependencies
+ */

- // State Related Components

+function CharacterCount() {
+  const content = (0,external_wp_data_namespaceObject.useSelect)(select => select(store).getEditedPostAttribute('content'), []);
+  return (0,external_wp_wordcount_namespaceObject.count)(content, 'characters_including_spaces');
+}

+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/table-of-contents/panel.js


-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/index.js
 /**
- * Internal dependencies
+ * WordPress dependencies
  */



-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/index.js
 /**
  * Internal dependencies
  */
@@ -11456,819 +11155,713 @@ const withFontSizes = deprecateFunction('withFontSizes', external_wp_blockEditor



-/*
- * Backward compatibility
- */

+function TableOfContentsPanel(_ref) {
+  let {
+    hasOutlineItemsDisabled,
+    onRequestClose
+  } = _ref;
+  const {
+    headingCount,
+    paragraphCount,
+    numberOfBlocks
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getGlobalBlockCount
+    } = select(external_wp_blockEditor_namespaceObject.store);
+    return {
+      headingCount: getGlobalBlockCount('core/heading'),
+      paragraphCount: getGlobalBlockCount('core/paragraph'),
+      numberOfBlocks: getGlobalBlockCount()
+    };
+  }, []);
+  return (
+    /*
+     * Disable reason: The `list` ARIA role is redundant but
+     * Safari+VoiceOver won't announce the list otherwise.
+     */

+    /* eslint-disable jsx-a11y/no-redundant-roles */
+    (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("div", {
+      className: "table-of-contents__wrapper",
+      role: "note",
+      "aria-label": (0,external_wp_i18n_namespaceObject.__)('Document Statistics'),
+      tabIndex: "0"
+    }, (0,external_wp_element_namespaceObject.createElement)("ul", {
+      role: "list",
+      className: "table-of-contents__counts"
+    }, (0,external_wp_element_namespaceObject.createElement)("li", {
+      className: "table-of-contents__count"
+    }, (0,external_wp_i18n_namespaceObject.__)('Characters'), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "table-of-contents__number"
+    }, (0,external_wp_element_namespaceObject.createElement)(CharacterCount, null))), (0,external_wp_element_namespaceObject.createElement)("li", {
+      className: "table-of-contents__count"
+    }, (0,external_wp_i18n_namespaceObject.__)('Words'), (0,external_wp_element_namespaceObject.createElement)(WordCount, null)), (0,external_wp_element_namespaceObject.createElement)("li", {
+      className: "table-of-contents__count"
+    }, (0,external_wp_i18n_namespaceObject.__)('Headings'), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "table-of-contents__number"
+    }, headingCount)), (0,external_wp_element_namespaceObject.createElement)("li", {
+      className: "table-of-contents__count"
+    }, (0,external_wp_i18n_namespaceObject.__)('Paragraphs'), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "table-of-contents__number"
+    }, paragraphCount)), (0,external_wp_element_namespaceObject.createElement)("li", {
+      className: "table-of-contents__count"
+    }, (0,external_wp_i18n_namespaceObject.__)('Blocks'), (0,external_wp_element_namespaceObject.createElement)("span", {
+      className: "table-of-contents__number"
+    }, numberOfBlocks)))), headingCount > 0 && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("hr", null), (0,external_wp_element_namespaceObject.createElement)("h2", {
+      className: "table-of-contents__title"
+    }, (0,external_wp_i18n_namespaceObject.__)('Document Outline')), (0,external_wp_element_namespaceObject.createElement)(document_outline, {
+      onSelect: onRequestClose,
+      hasOutlineItemsDisabled: hasOutlineItemsDisabled
+    })))
+    /* eslint-enable jsx-a11y/no-redundant-roles */

+  );
+}

-/***/ }),
+/* harmony default export */ var panel = (TableOfContentsPanel);

-/***/ "RMJe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/table-of-contents/index.js

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


 /**
  * WordPress dependencies
  */

-const check = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (check);


-/***/ }),

-/***/ "Rk8H":
-/***/ (function(module, exports, __webpack_require__) {

-// Load in dependencies
-var computedStyle = __webpack_require__("jTPX");

 /**
- * Calculate the `line-height` of a given node
- * @param {HTMLElement} node Element to calculate line height of. Must be in the DOM.
- * @returns {Number} `line-height` of the element in pixels
+ * Internal dependencies
  */
-function lineHeight(node) {
-  // Grab the line-height via style
-  var lnHeightStr = computedStyle(node, 'line-height');
-  var lnHeight = parseFloat(lnHeightStr, 10);

-  // If the lineHeight did not contain a unit (i.e. it was numeric), convert it to ems (e.g. '2.3' === '2.3em')
-  if (lnHeightStr === lnHeight + '') {
-    // Save the old lineHeight style and update the em unit to the element
-    var _lnHeightStyle = node.style.lineHeight;
-    node.style.lineHeight = lnHeightStr + 'em';

-    // Calculate the em based height
-    lnHeightStr = computedStyle(node, 'line-height');
-    lnHeight = parseFloat(lnHeightStr, 10);

-    // Revert the lineHeight style
-    if (_lnHeightStyle) {
-      node.style.lineHeight = _lnHeightStyle;
-    } else {
-      delete node.style.lineHeight;
+function TableOfContents(_ref, ref) {
+  let {
+    hasOutlineItemsDisabled,
+    repositionDropdown,
+    ...props
+  } = _ref;
+  const hasBlocks = (0,external_wp_data_namespaceObject.useSelect)(select => !!select(external_wp_blockEditor_namespaceObject.store).getBlockCount(), []);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
+    position: repositionDropdown ? 'middle right right' : 'bottom',
+    className: "table-of-contents",
+    contentClassName: "table-of-contents__popover",
+    renderToggle: _ref2 => {
+      let {
+        isOpen,
+        onToggle
+      } = _ref2;
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, _extends({}, props, {
+        ref: ref,
+        onClick: hasBlocks ? onToggle : undefined,
+        icon: library_info,
+        "aria-expanded": isOpen,
+        "aria-haspopup": "true"
+        /* translators: button label text should, if possible, be under 16 characters. */
+        ,
+        label: (0,external_wp_i18n_namespaceObject.__)('Details'),
+        tooltipPosition: "bottom",
+        "aria-disabled": !hasBlocks
+      }));
+    },
+    renderContent: _ref3 => {
+      let {
+        onClose
+      } = _ref3;
+      return (0,external_wp_element_namespaceObject.createElement)(panel, {
+        onRequestClose: onClose,
+        hasOutlineItemsDisabled: hasOutlineItemsDisabled
+      });
     }
-  }
+  });
+}

-  // If the lineHeight is in `pt`, convert it to pixels (4px for 3pt)
-  // DEV: `em` units are converted to `pt` in IE6
-  // Conversion ratio from https://developer.mozilla.org/en-US/docs/Web/CSS/length
-  if (lnHeightStr.indexOf('pt') !== -1) {
-    lnHeight *= 4;
-    lnHeight /= 3;
-  // Otherwise, if the lineHeight is in `mm`, convert it to pixels (96px for 25.4mm)
-  } else if (lnHeightStr.indexOf('mm') !== -1) {
-    lnHeight *= 96;
-    lnHeight /= 25.4;
-  // Otherwise, if the lineHeight is in `cm`, convert it to pixels (96px for 2.54cm)
-  } else if (lnHeightStr.indexOf('cm') !== -1) {
-    lnHeight *= 96;
-    lnHeight /= 2.54;
-  // Otherwise, if the lineHeight is in `in`, convert it to pixels (96px for 1in)
-  } else if (lnHeightStr.indexOf('in') !== -1) {
-    lnHeight *= 96;
-  // Otherwise, if the lineHeight is in `pc`, convert it to pixels (12pt for 1pc)
-  } else if (lnHeightStr.indexOf('pc') !== -1) {
-    lnHeight *= 16;
-  }
+/* harmony default export */ var table_of_contents = ((0,external_wp_element_namespaceObject.forwardRef)(TableOfContents));

-  // Continue our computation
-  lnHeight = Math.round(lnHeight);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/unsaved-changes-warning/index.js
+/**
+ * WordPress dependencies
+ */

-  // If the line-height is "normal", calculate by font-size
-  if (lnHeightStr === 'normal') {
-    // Create a temporary node
-    var nodeName = node.nodeName;
-    var _node = document.createElement(nodeName);
-    _node.innerHTML = '&nbsp;';

-    // If we have a text area, reset it to only 1 row
-    // https://github.com/twolfson/line-height/issues/4
-    if (nodeName.toUpperCase() === 'TEXTAREA') {
-      _node.setAttribute('rows', '1');
-    }

-    // Set the font-size of the element
-    var fontSizeStr = computedStyle(node, 'font-size');
-    _node.style.fontSize = fontSizeStr;

-    // Remove default padding/border which can affect offset height
-    // https://github.com/twolfson/line-height/issues/4
-    // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight
-    _node.style.padding = '0px';
-    _node.style.border = '0px';
+/**
+ * Warns the user if there are unsaved changes before leaving the editor.
+ * Compatible with Post Editor and Site Editor.
+ *
+ * @return {WPComponent} The component.
+ */

-    // Append it to the body
-    var body = document.body;
-    body.appendChild(_node);
+function UnsavedChangesWarning() {
+  const isDirty = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    return () => {
+      const {
+        __experimentalGetDirtyEntityRecords
+      } = select(external_wp_coreData_namespaceObject.store);

-    // Assume the line height of the element is the height
-    var height = _node.offsetHeight;
-    lnHeight = height;
+      const dirtyEntityRecords = __experimentalGetDirtyEntityRecords();

-    // Remove our child from the DOM
-    body.removeChild(_node);
-  }
+      return dirtyEntityRecords.length > 0;
+    };
+  }, []);
+  /**
+   * Warns the user if there are unsaved changes before leaving the editor.
+   *
+   * @param {Event} event `beforeunload` event.
+   *
+   * @return {?string} Warning prompt message, if unsaved changes exist.
+   */

-  // Return the calculated height
-  return lnHeight;
+  const warnIfUnsavedChanges = event => {
+    // We need to call the selector directly in the listener to avoid race
+    // conditions with `BrowserURL` where `componentDidUpdate` gets the
+    // new value of `isEditedPostDirty` before this component does,
+    // causing this component to incorrectly think a trashed post is still dirty.
+    if (isDirty()) {
+      event.returnValue = (0,external_wp_i18n_namespaceObject.__)('You have unsaved changes. If you proceed, they will be lost.');
+      return event.returnValue;
+    }
+  };
+
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    window.addEventListener('beforeunload', warnIfUnsavedChanges);
+    return () => {
+      window.removeEventListener('beforeunload', warnIfUnsavedChanges);
+    };
+  }, []);
+  return null;
 }

-// Export lineHeight
-module.exports = lineHeight;
+;// CONCATENATED MODULE: external ["wp","reusableBlocks"]
+var external_wp_reusableBlocks_namespaceObject = window["wp"]["reusableBlocks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/provider/with-registry-provider.js


-/***/ }),
+/**
+ * WordPress dependencies
+ */

-/***/ "RxS6":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["keycodes"]; }());

-/***/ }),

-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
+/**
+ * Internal dependencies
+ */

-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */

-(function () {
-	'use strict';
+const withRegistryProvider = (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => (0,external_wp_data_namespaceObject.withRegistry)(props => {
+  const {
+    useSubRegistry = true,
+    registry,
+    ...additionalProps
+  } = props;

-	var hasOwn = {}.hasOwnProperty;
+  if (!useSubRegistry) {
+    return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, additionalProps);
+  }

-	function classNames() {
-		var classes = [];
+  const [subRegistry, setSubRegistry] = (0,external_wp_element_namespaceObject.useState)(null);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    const newRegistry = (0,external_wp_data_namespaceObject.createRegistry)({
+      'core/block-editor': external_wp_blockEditor_namespaceObject.storeConfig
+    }, registry);
+    newRegistry.registerStore('core/editor', storeConfig);
+    setSubRegistry(newRegistry);
+  }, [registry]);

-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
+  if (!subRegistry) {
+    return null;
+  }

-			var argType = typeof arg;
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_data_namespaceObject.RegistryProvider, {
+    value: subRegistry
+  }, (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, additionalProps));
+}), 'withRegistryProvider');
+/* harmony default export */ var with_registry_provider = (withRegistryProvider);

-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
+;// CONCATENATED MODULE: external ["wp","mediaUtils"]
+var external_wp_mediaUtils_namespaceObject = window["wp"]["mediaUtils"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/media-upload/index.js
+/**
+ * External dependencies
+ */

-		return classes.join(' ');
-	}
+/**
+ * WordPress dependencies
+ */

-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());


-/***/ }),
+/**
+ * Internal dependencies
+ */

-/***/ "Tqx9":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["primitives"]; }());
+/**
+ * Upload a media file when the file upload button is activated.
+ * Wrapper around mediaUpload() that injects the current post ID.
+ *
+ * @param {Object}   $0                   Parameters object passed to the function.
+ * @param {?Object}  $0.additionalData    Additional data to include in the request.
+ * @param {string}   $0.allowedTypes      Array with the types of media that can be uploaded, if unset all types are allowed.
+ * @param {Array}    $0.filesList         List of files.
+ * @param {?number}  $0.maxUploadFileSize Maximum upload size in bytes allowed for the site.
+ * @param {Function} $0.onError           Function called when an error happens.
+ * @param {Function} $0.onFileChange      Function called each time a file or a temporary representation of the file is available.
+ */

-/***/ }),
+function mediaUpload(_ref) {
+  let {
+    additionalData = {},
+    allowedTypes,
+    filesList,
+    maxUploadFileSize,
+    onError = external_lodash_namespaceObject.noop,
+    onFileChange
+  } = _ref;
+  const {
+    getCurrentPostId,
+    getEditorSettings
+  } = (0,external_wp_data_namespaceObject.select)(store);
+  const wpAllowedMimeTypes = getEditorSettings().allowedMimeTypes;
+  maxUploadFileSize = maxUploadFileSize || getEditorSettings().maxUploadFileSize;
+  (0,external_wp_mediaUtils_namespaceObject.uploadMedia)({
+    allowedTypes,
+    filesList,
+    onFileChange,
+    additionalData: {
+      post: getCurrentPostId(),
+      ...additionalData
+    },
+    maxUploadFileSize,
+    onError: _ref2 => {
+      let {
+        message
+      } = _ref2;
+      return onError(message);
+    },
+    wpAllowedMimeTypes
+  });
+}

-/***/ "WbBG":
-/***/ (function(module, exports, __webpack_require__) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/provider/use-block-editor-settings.js
+/**
+ * External dependencies
+ */

-"use strict";
 /**
- * Copyright (c) 2013-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
+ * WordPress dependencies
  */



-var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';

-module.exports = ReactPropTypesSecret;

+/**
+ * Internal dependencies
+ */

-/***/ }),

-/***/ "YLtl":
-/***/ (function(module, exports) {

-(function() { module.exports = window["lodash"]; }());
+/**
+ * React hook used to compute the block editor settings to use for the post editor.
+ *
+ * @param {Object}  settings    EditorProvider settings prop.
+ * @param {boolean} hasTemplate Whether template mode is enabled.
+ *
+ * @return {Object} Block Editor Settings.
+ */

-/***/ }),
+function useBlockEditorSettings(settings, hasTemplate) {
+  const {
+    reusableBlocks,
+    hasUploadPermissions,
+    canUseUnfilteredHTML,
+    userCanCreatePages
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      canUserUseUnfilteredHTML
+    } = select(store);
+    const isWeb = external_wp_element_namespaceObject.Platform.OS === 'web';
+    const {
+      canUser,
+      getUnstableBase,
+      hasFinishedResolution
+    } = select(external_wp_coreData_namespaceObject.store);
+    const siteData = getUnstableBase();
+    const hasFinishedResolvingSiteData = hasFinishedResolution('getUnstableBase');
+    return {
+      canUseUnfilteredHTML: canUserUseUnfilteredHTML(),
+      reusableBlocks: isWeb ? select(external_wp_coreData_namespaceObject.store).getEntityRecords('postType', 'wp_block', {
+        per_page: -1
+      }) : [],
+      // Reusable blocks are fetched in the native version of this hook.
+      hasUploadPermissions: (0,external_lodash_namespaceObject.defaultTo)(canUser('create', 'media'), true),
+      hasResolvedLocalSiteData: hasFinishedResolvingSiteData,
+      baseUrl: (siteData === null || siteData === void 0 ? void 0 : siteData.url) || '',
+      userCanCreatePages: canUser('create', 'pages')
+    };
+  }, []);
+  const {
+    undo
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    saveEntityRecord
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_coreData_namespaceObject.store);
+  /**
+   * Creates a Post entity.
+   * This is utilised by the Link UI to allow for on-the-fly creation of Posts/Pages.
+   *
+   * @param {Object} options parameters for the post being created. These mirror those used on 3rd param of saveEntityRecord.
+   * @return {Object} the post type object that was created.
+   */

-/***/ "axFQ":
-/***/ (function(module, exports) {
+  const createPageEntity = options => {
+    if (!userCanCreatePages) {
+      return Promise.reject({
+        message: (0,external_wp_i18n_namespaceObject.__)('You do not have permission to create Pages.')
+      });
+    }

-(function() { module.exports = window["wp"]["blockEditor"]; }());
+    return saveEntityRecord('postType', 'page', options);
+  };

-/***/ }),
+  return (0,external_wp_element_namespaceObject.useMemo)(() => ({ ...(0,external_lodash_namespaceObject.pick)(settings, ['__experimentalBlockDirectory', '__experimentalBlockPatternCategories', '__experimentalBlockPatterns', '__experimentalFeatures', '__experimentalPreferredStyleVariations', '__experimentalSetIsInserterOpened', '__experimentalGenerateAnchors', '__unstableGalleryWithImageBlocks', 'alignWide', 'allowedBlockTypes', 'bodyPlaceholder', 'codeEditingEnabled', 'colors', 'disableCustomColors', 'disableCustomFontSizes', 'disableCustomGradients', 'enableCustomLineHeight', 'enableCustomSpacing', 'enableCustomUnits', 'focusMode', 'fontSizes', 'gradients', 'hasFixedToolbar', 'hasReducedUI', 'imageDefaultSize', 'imageDimensions', 'imageEditing', 'imageSizes', 'isRTL', 'keepCaretInsideBlock', 'maxWidth', 'onUpdateDefaultBlockStyles', 'styles', 'template', 'templateLock', 'titlePlaceholder', 'supportsLayout', 'widgetTypesToHideFromLegacyWidgetBlock']),
+    mediaUpload: hasUploadPermissions ? mediaUpload : undefined,
+    __experimentalReusableBlocks: reusableBlocks,
+    __experimentalFetchLinkSuggestions: (search, searchOptions) => (0,external_wp_coreData_namespaceObject.__experimentalFetchLinkSuggestions)(search, searchOptions, settings),
+    __experimentalFetchRichUrlData: external_wp_coreData_namespaceObject.__experimentalFetchUrlData,
+    __experimentalCanUserUseUnfilteredHTML: canUseUnfilteredHTML,
+    __experimentalUndo: undo,
+    outlineMode: hasTemplate,
+    __experimentalCreatePageEntity: createPageEntity,
+    __experimentalUserCanCreatePages: userCanCreatePages
+  }), [settings, hasUploadPermissions, reusableBlocks, canUseUnfilteredHTML, undo, hasTemplate, userCanCreatePages]);
+}

-/***/ "bWcr":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var use_block_editor_settings = (useBlockEditorSettings);

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/provider/index.js


 /**
  * WordPress dependencies
  */

-const closeSmall = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (closeSmall);
-
-
-/***/ }),
-
-/***/ "cDcd":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["React"]; }());

-/***/ }),
-
-/***/ "diJD":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["reusableBlocks"]; }());
-
-/***/ }),
-
-/***/ "g56x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["hooks"]; }());
-
-/***/ }),
-
-/***/ "gdqT":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["a11y"]; }());
-
-/***/ }),

-/***/ "hF7m":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["keyboardShortcuts"]; }());
-
-/***/ }),

-/***/ "iClF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * WordPress dependencies
- */

-/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */

 /**
- * Return an SVG icon.
- *
- * @param {IconProps} props icon is the SVG component to render
- *                          size is a number specifiying the icon size in pixels
- *                          Other props will be passed to wrapped SVG component
- *
- * @return {JSX.Element}  Icon component
+ * Internal dependencies
  */

-function Icon(_ref) {
-  let {
-    icon,
-    size = 24,
-    ...props
-  } = _ref;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
-    width: size,
-    height: size,
-    ...props
-  });
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (Icon);
-
-
-/***/ }),
-
-/***/ "jTPX":
-/***/ (function(module, exports) {
-
-// This code has been refactored for 140 bytes
-// You can see the original here: https://github.com/twolfson/computedStyle/blob/04cd1da2e30fa45844f95f5cb1ac898e9b9ef050/lib/computedStyle.js
-var computedStyle = function (el, prop, getComputedStyle) {
-  getComputedStyle = window.getComputedStyle;
-
-  // In one fell swoop
-  return (
-    // If we have getComputedStyle
-    getComputedStyle ?
-      // Query it
-      // TODO: From CSS-Query notes, we might need (node, null) for FF
-      getComputedStyle(el) :
-
-    // Otherwise, we are in IE and use currentStyle
-      el.currentStyle
-  )[
-    // Switch to camelCase for CSSOM
-    // DEV: Grabbed from jQuery
-    // https://github.com/jquery/jquery/blob/1.9-stable/src/css.js#L191-L194
-    // https://github.com/jquery/jquery/blob/1.9-stable/src/core.js#L593-L597
-    prop.replace(/-(\w)/gi, function (word, letter) {
-      return letter.toUpperCase();
-    })
-  ];
-};

-module.exports = computedStyle;


-/***/ }),

-/***/ "jZUy":
-/***/ (function(module, exports) {
+function EditorProvider(_ref) {
+  let {
+    __unstableTemplate,
+    post,
+    settings,
+    recovery,
+    initialEdits,
+    children
+  } = _ref;
+  const defaultBlockContext = (0,external_wp_element_namespaceObject.useMemo)(() => {
+    if (post.type === 'wp_template') {
+      return {};
+    }

-(function() { module.exports = window["wp"]["coreData"]; }());
+    return {
+      postId: post.id,
+      postType: post.type
+    };
+  }, [post.id, post.type]);
+  const {
+    selection,
+    isReady
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
+    const {
+      getEditorSelection,
+      __unstableIsEditorReady
+    } = select(store);
+    return {
+      isReady: __unstableIsEditorReady(),
+      selection: getEditorSelection()
+    };
+  }, []);
+  const {
+    id,
+    type
+  } = __unstableTemplate !== null && __unstableTemplate !== void 0 ? __unstableTemplate : post;
+  const [blocks, onInput, onChange] = (0,external_wp_coreData_namespaceObject.useEntityBlockEditor)('postType', type, {
+    id
+  });
+  const editorSettings = use_block_editor_settings(settings, !!__unstableTemplate);
+  const {
+    updatePostLock,
+    setupEditor,
+    updateEditorSettings,
+    __experimentalTearDownEditor
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
+  const {
+    createWarningNotice
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store); // Initialize and tear down the editor.
+  // Ideally this should be synced on each change and not just something you do once.

-/***/ }),
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
+    // Assume that we don't need to initialize in the case of an error recovery.
+    if (recovery) {
+      return;
+    }

-/***/ "l3Sj":
-/***/ (function(module, exports) {
+    updatePostLock(settings.postLock);
+    setupEditor(post, initialEdits, settings.template);

-(function() { module.exports = window["wp"]["i18n"]; }());
+    if (settings.autosave) {
+      createWarningNotice((0,external_wp_i18n_namespaceObject.__)('There is an autosave of this post that is more recent than the version below.'), {
+        id: 'autosave-exists',
+        actions: [{
+          label: (0,external_wp_i18n_namespaceObject.__)('View the autosave'),
+          url: settings.autosave.editLink
+        }]
+      });
+    }

-/***/ }),
+    return () => {
+      __experimentalTearDownEditor();
+    };
+  }, []); // Synchronize the editor settings as they change

-/***/ "onLe":
-/***/ (function(module, exports) {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    updateEditorSettings(settings);
+  }, [settings]);

-(function() { module.exports = window["wp"]["notices"]; }());
+  if (!isReady) {
+    return null;
+  }

-/***/ }),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_coreData_namespaceObject.EntityProvider, {
+    kind: "root",
+    type: "site"
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_coreData_namespaceObject.EntityProvider, {
+    kind: "postType",
+    type: post.type,
+    id: post.id
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockContextProvider, {
+    value: defaultBlockContext
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockEditorProvider, {
+    value: blocks,
+    onChange: onChange,
+    onInput: onInput,
+    selection: selection,
+    settings: editorSettings,
+    useSubRegistry: false
+  }, children, (0,external_wp_element_namespaceObject.createElement)(external_wp_reusableBlocks_namespaceObject.ReusableBlocksMenuItems, null)))));
+}

-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/* harmony default export */ var provider = (with_registry_provider(EditorProvider));

-"use strict";
+;// CONCATENATED MODULE: external ["wp","serverSideRender"]
+var external_wp_serverSideRender_namespaceObject = window["wp"]["serverSideRender"];
+var external_wp_serverSideRender_default = /*#__PURE__*/__webpack_require__.n(external_wp_serverSideRender_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/deprecated.js


-var LEAF_KEY, hasWeakMap;
+// Block Creation Components

 /**
- * Arbitrary value used as key for referencing cache object in WeakMap tree.
- *
- * @type {Object}
+ * WordPress dependencies
  */
-LEAF_KEY = {};

-/**
- * Whether environment supports WeakMap.
- *
- * @type {boolean}
- */
-hasWeakMap = typeof WeakMap !== 'undefined';

-/**
- * Returns the first argument as the sole entry in an array.
- *
- * @param {*} value Value to return.
- *
- * @return {Array} Value returned as entry in array.
- */
-function arrayOf( value ) {
-	return [ value ];
-}

-/**
- * Returns true if the value passed is object-like, or false otherwise. A value
- * is object-like if it can support property assignment, e.g. object or array.
- *
- * @param {*} value Value to test.
- *
- * @return {boolean} Whether value is object-like.
- */
-function isObjectLike( value ) {
-	return !! value && 'object' === typeof value;
-}

-/**
- * Creates and returns a new cache object.
- *
- * @return {Object} Cache object.
- */
-function createCache() {
-	var cache = {
-		clear: function() {
-			cache.head = null;
-		},
-	};

-	return cache;
+function deprecateComponent(name, Wrapped) {
+  let staticsToHoist = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
+  const Component = (0,external_wp_element_namespaceObject.forwardRef)((props, ref) => {
+    external_wp_deprecated_default()('wp.editor.' + name, {
+      since: '5.3',
+      alternative: 'wp.blockEditor.' + name
+    });
+    return (0,external_wp_element_namespaceObject.createElement)(Wrapped, _extends({
+      ref: ref
+    }, props));
+  });
+  staticsToHoist.forEach(staticName => {
+    Component[staticName] = deprecateComponent(name + '.' + staticName, Wrapped[staticName]);
+  });
+  return Component;
+}
+
+function deprecateFunction(name, func) {
+  return function () {
+    external_wp_deprecated_default()('wp.editor.' + name, {
+      since: '5.3',
+      alternative: 'wp.blockEditor.' + name
+    });
+    return func(...arguments);
+  };
 }

-/**
- * Returns true if entries within the two arrays are strictly equal by
- * reference from a starting index.
- *
- * @param {Array}  a         First array.
- * @param {Array}  b         Second array.
- * @param {number} fromIndex Index from which to start comparison.
- *
- * @return {boolean} Whether arrays are shallowly equal.
- */
-function isShallowEqual( a, b, fromIndex ) {
-	var i;
+const RichText = deprecateComponent('RichText', external_wp_blockEditor_namespaceObject.RichText, ['Content']);
+RichText.isEmpty = deprecateFunction('RichText.isEmpty', external_wp_blockEditor_namespaceObject.RichText.isEmpty);
+
+const Autocomplete = deprecateComponent('Autocomplete', external_wp_blockEditor_namespaceObject.Autocomplete);
+const AlignmentToolbar = deprecateComponent('AlignmentToolbar', external_wp_blockEditor_namespaceObject.AlignmentToolbar);
+const BlockAlignmentToolbar = deprecateComponent('BlockAlignmentToolbar', external_wp_blockEditor_namespaceObject.BlockAlignmentToolbar);
+const BlockControls = deprecateComponent('BlockControls', external_wp_blockEditor_namespaceObject.BlockControls, ['Slot']);
+const BlockEdit = deprecateComponent('BlockEdit', external_wp_blockEditor_namespaceObject.BlockEdit);
+const BlockEditorKeyboardShortcuts = deprecateComponent('BlockEditorKeyboardShortcuts', external_wp_blockEditor_namespaceObject.BlockEditorKeyboardShortcuts);
+const BlockFormatControls = deprecateComponent('BlockFormatControls', external_wp_blockEditor_namespaceObject.BlockFormatControls, ['Slot']);
+const BlockIcon = deprecateComponent('BlockIcon', external_wp_blockEditor_namespaceObject.BlockIcon);
+const BlockInspector = deprecateComponent('BlockInspector', external_wp_blockEditor_namespaceObject.BlockInspector);
+const BlockList = deprecateComponent('BlockList', external_wp_blockEditor_namespaceObject.BlockList);
+const BlockMover = deprecateComponent('BlockMover', external_wp_blockEditor_namespaceObject.BlockMover);
+const BlockNavigationDropdown = deprecateComponent('BlockNavigationDropdown', external_wp_blockEditor_namespaceObject.BlockNavigationDropdown);
+const BlockSelectionClearer = deprecateComponent('BlockSelectionClearer', external_wp_blockEditor_namespaceObject.BlockSelectionClearer);
+const BlockSettingsMenu = deprecateComponent('BlockSettingsMenu', external_wp_blockEditor_namespaceObject.BlockSettingsMenu);
+const BlockTitle = deprecateComponent('BlockTitle', external_wp_blockEditor_namespaceObject.BlockTitle);
+const BlockToolbar = deprecateComponent('BlockToolbar', external_wp_blockEditor_namespaceObject.BlockToolbar);
+const ColorPalette = deprecateComponent('ColorPalette', external_wp_blockEditor_namespaceObject.ColorPalette);
+const ContrastChecker = deprecateComponent('ContrastChecker', external_wp_blockEditor_namespaceObject.ContrastChecker);
+const CopyHandler = deprecateComponent('CopyHandler', external_wp_blockEditor_namespaceObject.CopyHandler);
+const DefaultBlockAppender = deprecateComponent('DefaultBlockAppender', external_wp_blockEditor_namespaceObject.DefaultBlockAppender);
+const FontSizePicker = deprecateComponent('FontSizePicker', external_wp_blockEditor_namespaceObject.FontSizePicker);
+const Inserter = deprecateComponent('Inserter', external_wp_blockEditor_namespaceObject.Inserter);
+const InnerBlocks = deprecateComponent('InnerBlocks', external_wp_blockEditor_namespaceObject.InnerBlocks, ['ButtonBlockAppender', 'DefaultBlockAppender', 'Content']);
+const InspectorAdvancedControls = deprecateComponent('InspectorAdvancedControls', external_wp_blockEditor_namespaceObject.InspectorAdvancedControls, ['Slot']);
+const InspectorControls = deprecateComponent('InspectorControls', external_wp_blockEditor_namespaceObject.InspectorControls, ['Slot']);
+const PanelColorSettings = deprecateComponent('PanelColorSettings', external_wp_blockEditor_namespaceObject.PanelColorSettings);
+const PlainText = deprecateComponent('PlainText', external_wp_blockEditor_namespaceObject.PlainText);
+const RichTextShortcut = deprecateComponent('RichTextShortcut', external_wp_blockEditor_namespaceObject.RichTextShortcut);
+const RichTextToolbarButton = deprecateComponent('RichTextToolbarButton', external_wp_blockEditor_namespaceObject.RichTextToolbarButton);
+const __unstableRichTextInputEvent = deprecateComponent('__unstableRichTextInputEvent', external_wp_blockEditor_namespaceObject.__unstableRichTextInputEvent);
+const MediaPlaceholder = deprecateComponent('MediaPlaceholder', external_wp_blockEditor_namespaceObject.MediaPlaceholder);
+const MediaUpload = deprecateComponent('MediaUpload', external_wp_blockEditor_namespaceObject.MediaUpload);
+const MediaUploadCheck = deprecateComponent('MediaUploadCheck', external_wp_blockEditor_namespaceObject.MediaUploadCheck);
+const MultiSelectScrollIntoView = deprecateComponent('MultiSelectScrollIntoView', external_wp_blockEditor_namespaceObject.MultiSelectScrollIntoView);
+const NavigableToolbar = deprecateComponent('NavigableToolbar', external_wp_blockEditor_namespaceObject.NavigableToolbar);
+const ObserveTyping = deprecateComponent('ObserveTyping', external_wp_blockEditor_namespaceObject.ObserveTyping);
+const PreserveScrollInReorder = deprecateComponent('PreserveScrollInReorder', external_wp_blockEditor_namespaceObject.PreserveScrollInReorder);
+const SkipToSelectedBlock = deprecateComponent('SkipToSelectedBlock', external_wp_blockEditor_namespaceObject.SkipToSelectedBlock);
+const URLInput = deprecateComponent('URLInput', external_wp_blockEditor_namespaceObject.URLInput);
+const URLInputButton = deprecateComponent('URLInputButton', external_wp_blockEditor_namespaceObject.URLInputButton);
+const URLPopover = deprecateComponent('URLPopover', external_wp_blockEditor_namespaceObject.URLPopover);
+const Warning = deprecateComponent('Warning', external_wp_blockEditor_namespaceObject.Warning);
+const WritingFlow = deprecateComponent('WritingFlow', external_wp_blockEditor_namespaceObject.WritingFlow);
+const createCustomColorsHOC = deprecateFunction('createCustomColorsHOC', external_wp_blockEditor_namespaceObject.createCustomColorsHOC);
+const getColorClassName = deprecateFunction('getColorClassName', external_wp_blockEditor_namespaceObject.getColorClassName);
+const getColorObjectByAttributeValues = deprecateFunction('getColorObjectByAttributeValues', external_wp_blockEditor_namespaceObject.getColorObjectByAttributeValues);
+const getColorObjectByColorValue = deprecateFunction('getColorObjectByColorValue', external_wp_blockEditor_namespaceObject.getColorObjectByColorValue);
+const getFontSize = deprecateFunction('getFontSize', external_wp_blockEditor_namespaceObject.getFontSize);
+const getFontSizeClass = deprecateFunction('getFontSizeClass', external_wp_blockEditor_namespaceObject.getFontSizeClass);
+const withColorContext = deprecateFunction('withColorContext', external_wp_blockEditor_namespaceObject.withColorContext);
+const withColors = deprecateFunction('withColors', external_wp_blockEditor_namespaceObject.withColors);
+const withFontSizes = deprecateFunction('withFontSizes', external_wp_blockEditor_namespaceObject.withFontSizes);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/components/index.js
+// Block Creation Components
+ // Post Related Components

-	if ( a.length !== b.length ) {
-		return false;
-	}

-	for ( i = fromIndex; i < a.length; i++ ) {
-		if ( a[ i ] !== b[ i ] ) {
-			return false;
-		}
-	}

-	return true;
-}

-/**
- * Returns a memoized selector function. The getDependants function argument is
- * called before the memoized selector and is expected to return an immutable
- * reference or array of references on which the selector depends for computing
- * its own return value. The memoize cache is preserved only as long as those
- * dependant references remain the same. If getDependants returns a different
- * reference(s), the cache is cleared and the selector value regenerated.
- *
- * @param {Function} selector      Selector function.
- * @param {Function} getDependants Dependant getter returning an immutable
- *                                 reference or array of reference used in
- *                                 cache bust consideration.
- *
- * @return {Function} Memoized selector.
- */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
-	var rootCache, getCache;

-	// Use object source as dependant if getter not provided
-	if ( ! getDependants ) {
-		getDependants = arrayOf;
-	}

-	/**
-	 * Returns the root cache. If WeakMap is supported, this is assigned to the
-	 * root WeakMap cache set, otherwise it is a shared instance of the default
-	 * cache object.
-	 *
-	 * @return {(WeakMap|Object)} Root cache object.
-	 */
-	function getRootCache() {
-		return rootCache;
-	}

-	/**
-	 * Returns the cache for a given dependants array. When possible, a WeakMap
-	 * will be used to create a unique cache for each set of dependants. This
-	 * is feasible due to the nature of WeakMap in allowing garbage collection
-	 * to occur on entries where the key object is no longer referenced. Since
-	 * WeakMap requires the key to be an object, this is only possible when the
-	 * dependant is object-like. The root cache is created as a hierarchy where
-	 * each top-level key is the first entry in a dependants set, the value a
-	 * WeakMap where each key is the next dependant, and so on. This continues
-	 * so long as the dependants are object-like. If no dependants are object-
-	 * like, then the cache is shared across all invocations.
-	 *
-	 * @see isObjectLike
-	 *
-	 * @param {Array} dependants Selector dependants.
-	 *
-	 * @return {Object} Cache object.
-	 */
-	function getWeakMapCache( dependants ) {
-		var caches = rootCache,
-			isUniqueByDependants = true,
-			i, dependant, map, cache;

-		for ( i = 0; i < dependants.length; i++ ) {
-			dependant = dependants[ i ];

-			// Can only compose WeakMap from object-like key.
-			if ( ! isObjectLike( dependant ) ) {
-				isUniqueByDependants = false;
-				break;
-			}

-			// Does current segment of cache already have a WeakMap?
-			if ( caches.has( dependant ) ) {
-				// Traverse into nested WeakMap.
-				caches = caches.get( dependant );
-			} else {
-				// Create, set, and traverse into a new one.
-				map = new WeakMap();
-				caches.set( dependant, map );
-				caches = map;
-			}
-		}

-		// We use an arbitrary (but consistent) object as key for the last item
-		// in the WeakMap to serve as our running cache.
-		if ( ! caches.has( LEAF_KEY ) ) {
-			cache = createCache();
-			cache.isUniqueByDependants = isUniqueByDependants;
-			caches.set( LEAF_KEY, cache );
-		}

-		return caches.get( LEAF_KEY );
-	}

-	// Assign cache handler by availability of WeakMap
-	getCache = hasWeakMap ? getWeakMapCache : getRootCache;

-	/**
-	 * Resets root memoization cache.
-	 */
-	function clear() {
-		rootCache = hasWeakMap ? new WeakMap() : createCache();
-	}

-	// eslint-disable-next-line jsdoc/check-param-names
-	/**
-	 * The augmented selector call, considering first whether dependants have
-	 * changed before passing it to underlying memoize function.
-	 *
-	 * @param {Object} source    Source object for derivation.
-	 * @param {...*}   extraArgs Additional arguments to pass to selector.
-	 *
-	 * @return {*} Selector result.
-	 */
-	function callSelector( /* source, ...extraArgs */ ) {
-		var len = arguments.length,
-			cache, node, i, args, dependants;

-		// Create copy of arguments (avoid leaking deoptimization).
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}

-		dependants = getDependants.apply( null, args );
-		cache = getCache( dependants );

-		// If not guaranteed uniqueness by dependants (primitive type or lack
-		// of WeakMap support), shallow compare against last dependants and, if
-		// references have changed, destroy cache to recalculate result.
-		if ( ! cache.isUniqueByDependants ) {
-			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
-				cache.clear();
-			}

-			cache.lastDependants = dependants;
-		}

-		node = cache.head;
-		while ( node ) {
-			// Check whether node arguments match arguments
-			if ( ! isShallowEqual( node.args, args, 1 ) ) {
-				node = node.next;
-				continue;
-			}

-			// At this point we can assume we've found a match

-			// Surface matched node to head if not already
-			if ( node !== cache.head ) {
-				// Adjust siblings to point to each other.
-				node.prev.next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}

-				node.next = cache.head;
-				node.prev = null;
-				cache.head.prev = node;
-				cache.head = node;
-			}

-			// Return immediately
-			return node.val;
-		}

-		// No cached value found. Continue to insertion phase:

-		node = {
-			// Generate the result from original function
-			val: selector.apply( null, args ),
-		};

-		// Avoid including the source object in the cache.
-		args[ 0 ] = null;
-		node.args = args;

-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was

-		// Shift existing head down list
-		if ( cache.head ) {
-			cache.head.prev = node;
-			node.next = cache.head;
-		}

-		cache.head = node;

-		return node.val;
-	}

-	callSelector.getDependants = getDependants;
-	callSelector.clear = clear;
-	clear();

-	return callSelector;
-});


-/***/ }),

-/***/ "qRz9":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["richText"]; }());

-/***/ }),

-/***/ "rmEH":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["htmlEntities"]; }());

-/***/ }),

-/***/ "rvQu":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */

-const sidebar = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (sidebar);


-/***/ }),

-/***/ "tI+e":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["components"]; }());

-/***/ }),

-/***/ "w95h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


-/**
- * WordPress dependencies
- */

-const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (close);


-/***/ }),

-/***/ "wduq":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+ // State Related Components
+

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);


+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/utils/index.js
 /**
- * WordPress dependencies
+ * Internal dependencies
  */

-const wordpress = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "-2 -2 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (wordpress);
-

-/***/ }),

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/editor/build-module/index.js
+/**
+ * Internal dependencies
+ */

-    return target;
-  };

-  return _extends.apply(this, arguments);
-}

-/***/ }),

-/***/ "ywyh":
-/***/ (function(module, exports) {
+/*
+ * Backward compatibility
+ */

-(function() { module.exports = window["wp"]["apiFetch"]; }());

-/***/ })

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).editor = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/editor.min.js b/wp-includes/js/dist/editor.min.js
index 0c62379021..c97ae111ae 100644
--- a/wp-includes/js/dist/editor.min.js
+++ b/wp-includes/js/dist/editor.min.js
@@ -1,12 +1,12 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.editor=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="PLxR")}({"//kF":function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=s},"16Al":function(e,t,n){"use strict";var o=n("WbBG");function r(){}function s(){}s.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,s,i){if(i!==o){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:r};return n.PropTypes=n,n}},"17x9":function(e,t,n){e.exports=n("16Al")()},"1ZqX":function(e,t){e.exports=window.wp.data},"51Zz":function(e,t){e.exports=window.wp.dataControls},"6aBm":function(e,t){e.exports=window.wp.mediaUtils},"7fqt":function(e,t){e.exports=window.wp.wordcount},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)}),s=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n};t.__esModule=!0;var c=n("cDcd"),a=n("17x9"),l=n("GemG"),u=n("Rk8H"),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.textarea=null,t.onResize=function(e){t.props.onResize&&t.props.onResize(e)},t.updateLineHeight=function(){t.textarea&&t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.maxRows,o=t.async;"number"==typeof n&&this.updateLineHeight(),"number"==typeof n||o?setTimeout((function(){return e.textarea&&l(e.textarea)})):this.textarea&&l(this.textarea),this.textarea&&this.textarea.addEventListener("autosize:resized",this.onResize)},t.prototype.componentWillUnmount=function(){this.textarea&&(this.textarea.removeEventListener("autosize:resized",this.onResize),l.destroy(this.textarea))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onResize,t.maxRows),o=(t.onChange,t.style),r=(t.innerRef,t.children),a=i(t,["onResize","maxRows","onChange","style","innerRef","children"]),l=this.state.lineHeight,u=n&&l?l*n:null;return c.createElement("textarea",s({},a,{onChange:this.onChange,style:u?s({},o,{maxHeight:u}):o,ref:function(t){e.textarea=t,"function"==typeof e.props.innerRef?e.props.innerRef(t):e.props.innerRef&&(e.props.innerRef.current=t)}}),r)},t.prototype.componentDidUpdate=function(){this.textarea&&l.update(this.textarea)},t.defaultProps={rows:1,async:!1},t.propTypes={rows:a.number,maxRows:a.number,onResize:a.func,innerRef:a.any,async:a.bool},t}(c.Component);t.TextareaAutosize=c.forwardRef((function(e,t){return c.createElement(d,s({},e,{innerRef:t}))}))},Civd:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=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.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=s},FnAh:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=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=s},FqII:function(e,t){e.exports=window.wp.date},G8mJ:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=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 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=s},GRId:function(e,t){e.exports=window.wp.element},GemG:function(e,t,n){var o,r,s;
+!function(){var e={6411:function(e,t){var n,o,r;
 /*!
 	autosize 4.0.4
 	license: MIT
 	http://www.jacklmoore.com/autosize
-*/r=[e,t],void 0===(s="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))}}),s=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){s=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,c=function(){e.clientWidth!==o&&d()},a=function(t){window.removeEventListener("resize",c,!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",c,!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 l(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<t?"hidden"===n.overflowY&&(l("scroll"),u(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),u(),o="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),i!==o){i=o;var r=s("autosize:resized");try{e.dispatchEvent(r)}catch(e){}}}}function c(e){var t=r.get(e);t&&t.destroy()}function a(e){var t=r.get(e);t&&t.update()}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((l=function(e){return e}).destroy=function(e){return e},l.update=function(e){return e}):((l=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return i(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],c),e},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e}),t.default=l,e.exports=t.default})?o.apply(t,r):o)||(e.exports=s)},HSyU:function(e,t){e.exports=window.wp.blocks},JREk:function(e,t){e.exports=window.wp.serverSideRender},K2cm:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=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 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"}));t.a=s},K9lf:function(e,t){e.exports=window.wp.compose},Mmq9:function(e,t){e.exports=window.wp.url},NMb1:function(e,t){e.exports=window.wp.deprecated},Ntru:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"}));t.a=s},O6Fj:function(e,t,n){"use strict";t.__esModule=!0;var o=n("CNgt");t.default=o.TextareaAutosize},OE6V:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=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-17.6 1L10 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=s},PLxR:function(e,t,n){"use strict";n.r(t),n.d(t,"storeConfig",(function(){return eo})),n.d(t,"store",(function(){return to})),n.d(t,"userAutocompleter",(function(){return ro})),n.d(t,"AutosaveMonitor",(function(){return io})),n.d(t,"DocumentOutline",(function(){return Oo})),n.d(t,"DocumentOutlineCheck",(function(){return vo})),n.d(t,"VisualEditorGlobalKeyboardShortcuts",(function(){return yo})),n.d(t,"TextEditorGlobalKeyboardShortcuts",(function(){return Eo})),n.d(t,"EditorKeyboardShortcutsRegister",(function(){return So})),n.d(t,"EditorHistoryRedo",(function(){return To})),n.d(t,"EditorHistoryUndo",(function(){return xo})),n.d(t,"EditorNotices",(function(){return Io})),n.d(t,"EditorSnackbars",(function(){return Ao})),n.d(t,"EntitiesSavedStates",(function(){return Mo})),n.d(t,"ErrorBoundary",(function(){return Ho})),n.d(t,"LocalAutosaveMonitor",(function(){return Ko})),n.d(t,"PageAttributesCheck",(function(){return $o})),n.d(t,"PageAttributesOrder",(function(){return Jo})),n.d(t,"PageAttributesParent",(function(){return rr})),n.d(t,"PageTemplate",(function(){return sr})),n.d(t,"PostAuthor",(function(){return lr})),n.d(t,"PostAuthorCheck",(function(){return ur})),n.d(t,"PostComments",(function(){return dr})),n.d(t,"PostExcerpt",(function(){return pr})),n.d(t,"PostExcerptCheck",(function(){return br})),n.d(t,"PostFeaturedImage",(function(){return yr})),n.d(t,"PostFeaturedImageCheck",(function(){return hr})),n.d(t,"PostFormat",(function(){return wr})),n.d(t,"PostFormatCheck",(function(){return Er})),n.d(t,"PostLastRevision",(function(){return Tr})),n.d(t,"PostLastRevisionCheck",(function(){return Cr})),n.d(t,"PostLockedModal",(function(){return Ir})),n.d(t,"PostPendingStatus",(function(){return Rr})),n.d(t,"PostPendingStatusCheck",(function(){return Ar})),n.d(t,"PostPingbacks",(function(){return Nr})),n.d(t,"PostPreviewButton",(function(){return Br})),n.d(t,"PostPublishButton",(function(){return Ur})),n.d(t,"PostPublishButtonLabel",(function(){return Dr})),n.d(t,"PostPublishPanel",(function(){return hs})),n.d(t,"PostSavedState",(function(){return _s})),n.d(t,"PostSchedule",(function(){return qr})),n.d(t,"PostScheduleCheck",(function(){return ys})),n.d(t,"PostScheduleLabel",(function(){return Kr})),n.d(t,"PostSlug",(function(){return ws})),n.d(t,"PostSlugCheck",(function(){return Es})),n.d(t,"PostSticky",(function(){return ks})),n.d(t,"PostStickyCheck",(function(){return Ps})),n.d(t,"PostSwitchToDraftButton",(function(){return js})),n.d(t,"PostTaxonomies",(function(){return Bs})),n.d(t,"PostTaxonomiesCheck",(function(){return Is})),n.d(t,"PostTextEditor",(function(){return Ns})),n.d(t,"PostTitle",(function(){return Ls})),n.d(t,"PostTrash",(function(){return Us})),n.d(t,"PostTrashCheck",(function(){return Fs})),n.d(t,"PostTypeSupportCheck",(function(){return Qo})),n.d(t,"PostVisibility",(function(){return Hr})),n.d(t,"PostVisibilityLabel",(function(){return Gr})),n.d(t,"PostVisibilityCheck",(function(){return Ms})),n.d(t,"TableOfContents",(function(){return qs})),n.d(t,"ThemeSupportCheck",(function(){return mr})),n.d(t,"UnsavedChangesWarning",(function(){return Ks})),n.d(t,"WordCount",(function(){return Hs})),n.d(t,"EditorProvider",(function(){return Zs})),n.d(t,"ServerSideRender",(function(){return ti.a})),n.d(t,"RichText",(function(){return ri})),n.d(t,"Autocomplete",(function(){return si})),n.d(t,"AlignmentToolbar",(function(){return ii})),n.d(t,"BlockAlignmentToolbar",(function(){return ci})),n.d(t,"BlockControls",(function(){return ai})),n.d(t,"BlockEdit",(function(){return li})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return ui})),n.d(t,"BlockFormatControls",(function(){return di})),n.d(t,"BlockIcon",(function(){return pi})),n.d(t,"BlockInspector",(function(){return bi})),n.d(t,"BlockList",(function(){return mi})),n.d(t,"BlockMover",(function(){return hi})),n.d(t,"BlockNavigationDropdown",(function(){return gi})),n.d(t,"BlockSelectionClearer",(function(){return fi})),n.d(t,"BlockSettingsMenu",(function(){return Oi})),n.d(t,"BlockTitle",(function(){return vi})),n.d(t,"BlockToolbar",(function(){return ji})),n.d(t,"ColorPalette",(function(){return _i})),n.d(t,"ContrastChecker",(function(){return yi})),n.d(t,"CopyHandler",(function(){return Ei})),n.d(t,"DefaultBlockAppender",(function(){return Si})),n.d(t,"FontSizePicker",(function(){return wi})),n.d(t,"Inserter",(function(){return Pi})),n.d(t,"InnerBlocks",(function(){return ki})),n.d(t,"InspectorAdvancedControls",(function(){return Ci})),n.d(t,"InspectorControls",(function(){return Ti})),n.d(t,"PanelColorSettings",(function(){return xi})),n.d(t,"PlainText",(function(){return Bi})),n.d(t,"RichTextShortcut",(function(){return Ii})),n.d(t,"RichTextToolbarButton",(function(){return Ai})),n.d(t,"__unstableRichTextInputEvent",(function(){return Ri})),n.d(t,"MediaPlaceholder",(function(){return Ni})),n.d(t,"MediaUpload",(function(){return Di})),n.d(t,"MediaUploadCheck",(function(){return Li})),n.d(t,"MultiSelectScrollIntoView",(function(){return Ui})),n.d(t,"NavigableToolbar",(function(){return Fi})),n.d(t,"ObserveTyping",(function(){return Mi})),n.d(t,"PreserveScrollInReorder",(function(){return zi})),n.d(t,"SkipToSelectedBlock",(function(){return Vi})),n.d(t,"URLInput",(function(){return Hi})),n.d(t,"URLInputButton",(function(){return Gi})),n.d(t,"URLPopover",(function(){return Wi})),n.d(t,"Warning",(function(){return qi})),n.d(t,"WritingFlow",(function(){return Ki})),n.d(t,"createCustomColorsHOC",(function(){return $i})),n.d(t,"getColorClassName",(function(){return Qi})),n.d(t,"getColorObjectByAttributeValues",(function(){return Yi})),n.d(t,"getColorObjectByColorValue",(function(){return Ji})),n.d(t,"getFontSize",(function(){return Xi})),n.d(t,"getFontSizeClass",(function(){return Zi})),n.d(t,"withColorContext",(function(){return ec})),n.d(t,"withColors",(function(){return tc})),n.d(t,"withFontSizes",(function(){return nc})),n.d(t,"mediaUpload",(function(){return Js})),n.d(t,"cleanForSlug",(function(){return x})),n.d(t,"getTemplatePartIcon",(function(){return N})),n.d(t,"transformStyles",(function(){return m.transformStyles}));var o={};n.r(o),n.d(o,"hasEditorUndo",(function(){return U})),n.d(o,"hasEditorRedo",(function(){return F})),n.d(o,"isEditedPostNew",(function(){return M})),n.d(o,"hasChangedContent",(function(){return z})),n.d(o,"isEditedPostDirty",(function(){return V})),n.d(o,"hasNonPostEntityChanges",(function(){return H})),n.d(o,"isCleanNewPost",(function(){return G})),n.d(o,"getCurrentPost",(function(){return W})),n.d(o,"getCurrentPostType",(function(){return q})),n.d(o,"getCurrentPostId",(function(){return K})),n.d(o,"getCurrentPostRevisionsCount",(function(){return $})),n.d(o,"getCurrentPostLastRevisionId",(function(){return Q})),n.d(o,"getPostEdits",(function(){return Y})),n.d(o,"getReferenceByDistinctEdits",(function(){return J})),n.d(o,"getCurrentPostAttribute",(function(){return X})),n.d(o,"getEditedPostAttribute",(function(){return Z})),n.d(o,"getAutosaveAttribute",(function(){return ee})),n.d(o,"getEditedPostVisibility",(function(){return te})),n.d(o,"isCurrentPostPending",(function(){return ne})),n.d(o,"isCurrentPostPublished",(function(){return oe})),n.d(o,"isCurrentPostScheduled",(function(){return re})),n.d(o,"isEditedPostPublishable",(function(){return se})),n.d(o,"isEditedPostSaveable",(function(){return ie})),n.d(o,"isEditedPostEmpty",(function(){return ce})),n.d(o,"isEditedPostAutosaveable",(function(){return ae})),n.d(o,"isEditedPostBeingScheduled",(function(){return le})),n.d(o,"isEditedPostDateFloating",(function(){return ue})),n.d(o,"isSavingPost",(function(){return de})),n.d(o,"isSavingNonPostEntityChanges",(function(){return pe})),n.d(o,"didPostSaveRequestSucceed",(function(){return be})),n.d(o,"didPostSaveRequestFail",(function(){return me})),n.d(o,"isAutosavingPost",(function(){return he})),n.d(o,"isPreviewingPost",(function(){return ge})),n.d(o,"getEditedPostPreviewLink",(function(){return fe})),n.d(o,"getSuggestedPostFormat",(function(){return Oe})),n.d(o,"getEditedPostContent",(function(){return ve})),n.d(o,"isPublishingPost",(function(){return je})),n.d(o,"isPermalinkEditable",(function(){return _e})),n.d(o,"getPermalink",(function(){return ye})),n.d(o,"getEditedPostSlug",(function(){return Ee})),n.d(o,"getPermalinkParts",(function(){return Se})),n.d(o,"isPostLocked",(function(){return we})),n.d(o,"isPostSavingLocked",(function(){return Pe})),n.d(o,"isPostAutosavingLocked",(function(){return ke})),n.d(o,"isPostLockTakeover",(function(){return Ce})),n.d(o,"getPostLockUser",(function(){return Te})),n.d(o,"getActivePostLock",(function(){return xe})),n.d(o,"canUserUseUnfilteredHTML",(function(){return Be})),n.d(o,"isPublishSidebarEnabled",(function(){return Ie})),n.d(o,"getEditorBlocks",(function(){return Ae})),n.d(o,"getEditorSelectionStart",(function(){return Re})),n.d(o,"getEditorSelectionEnd",(function(){return Ne})),n.d(o,"getEditorSelection",(function(){return De})),n.d(o,"__unstableIsEditorReady",(function(){return Le})),n.d(o,"getEditorSettings",(function(){return Ue})),n.d(o,"getStateBeforeOptimisticTransaction",(function(){return Fe})),n.d(o,"inSomeHistory",(function(){return Me})),n.d(o,"getBlockName",(function(){return Ve})),n.d(o,"isBlockValid",(function(){return He})),n.d(o,"getBlockAttributes",(function(){return Ge})),n.d(o,"getBlock",(function(){return We})),n.d(o,"getBlocks",(function(){return qe})),n.d(o,"getClientIdsOfDescendants",(function(){return Ke})),n.d(o,"getClientIdsWithDescendants",(function(){return $e})),n.d(o,"getGlobalBlockCount",(function(){return Qe})),n.d(o,"getBlocksByClientId",(function(){return Ye})),n.d(o,"getBlockCount",(function(){return Je})),n.d(o,"getBlockSelectionStart",(function(){return Xe})),n.d(o,"getBlockSelectionEnd",(function(){return Ze})),n.d(o,"getSelectedBlockCount",(function(){return et})),n.d(o,"hasSelectedBlock",(function(){return tt})),n.d(o,"getSelectedBlockClientId",(function(){return nt})),n.d(o,"getSelectedBlock",(function(){return ot})),n.d(o,"getBlockRootClientId",(function(){return rt})),n.d(o,"getBlockHierarchyRootClientId",(function(){return st})),n.d(o,"getAdjacentBlockClientId",(function(){return it})),n.d(o,"getPreviousBlockClientId",(function(){return ct})),n.d(o,"getNextBlockClientId",(function(){return at})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return lt})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return ut})),n.d(o,"getMultiSelectedBlocks",(function(){return dt})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return pt})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return bt})),n.d(o,"isFirstMultiSelectedBlock",(function(){return mt})),n.d(o,"isBlockMultiSelected",(function(){return ht})),n.d(o,"isAncestorMultiSelected",(function(){return gt})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return ft})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return Ot})),n.d(o,"getBlockOrder",(function(){return vt})),n.d(o,"getBlockIndex",(function(){return jt})),n.d(o,"isBlockSelected",(function(){return _t})),n.d(o,"hasSelectedInnerBlock",(function(){return yt})),n.d(o,"isBlockWithinSelection",(function(){return Et})),n.d(o,"hasMultiSelection",(function(){return St})),n.d(o,"isMultiSelecting",(function(){return wt})),n.d(o,"isSelectionEnabled",(function(){return Pt})),n.d(o,"getBlockMode",(function(){return kt})),n.d(o,"isTyping",(function(){return Ct})),n.d(o,"isCaretWithinFormattedText",(function(){return Tt})),n.d(o,"getBlockInsertionPoint",(function(){return xt})),n.d(o,"isBlockInsertionPointVisible",(function(){return Bt})),n.d(o,"isValidTemplate",(function(){return It})),n.d(o,"getTemplate",(function(){return At})),n.d(o,"getTemplateLock",(function(){return Rt})),n.d(o,"canInsertBlockType",(function(){return Nt})),n.d(o,"getInserterItems",(function(){return Dt})),n.d(o,"hasInserterItems",(function(){return Lt})),n.d(o,"getBlockListSettings",(function(){return Ut})),n.d(o,"__experimentalGetDefaultTemplateTypes",(function(){return Ft})),n.d(o,"__experimentalGetDefaultTemplatePartAreas",(function(){return Mt})),n.d(o,"__experimentalGetDefaultTemplateType",(function(){return zt})),n.d(o,"__experimentalGetTemplateInfo",(function(){return Vt})),n.d(o,"getPostTypeLabel",(function(){return Ht}));var r={};n.r(r),n.d(r,"setupEditor",(function(){return $t})),n.d(r,"__experimentalTearDownEditor",(function(){return Qt})),n.d(r,"resetPost",(function(){return Yt})),n.d(r,"__experimentalRequestPostUpdateStart",(function(){return Jt})),n.d(r,"__experimentalRequestPostUpdateFinish",(function(){return Xt})),n.d(r,"updatePost",(function(){return Zt})),n.d(r,"setupEditorState",(function(){return en})),n.d(r,"editPost",(function(){return tn})),n.d(r,"savePost",(function(){return nn})),n.d(r,"refreshPost",(function(){return on})),n.d(r,"trashPost",(function(){return rn})),n.d(r,"autosave",(function(){return sn})),n.d(r,"redo",(function(){return cn})),n.d(r,"undo",(function(){return an})),n.d(r,"createUndoLevel",(function(){return ln})),n.d(r,"updatePostLock",(function(){return un})),n.d(r,"enablePublishSidebar",(function(){return dn})),n.d(r,"disablePublishSidebar",(function(){return pn})),n.d(r,"lockPostSaving",(function(){return bn})),n.d(r,"unlockPostSaving",(function(){return mn})),n.d(r,"lockPostAutosaving",(function(){return hn})),n.d(r,"unlockPostAutosaving",(function(){return gn})),n.d(r,"resetEditorBlocks",(function(){return fn})),n.d(r,"updateEditorSettings",(function(){return On})),n.d(r,"resetBlocks",(function(){return jn})),n.d(r,"receiveBlocks",(function(){return _n})),n.d(r,"updateBlock",(function(){return yn})),n.d(r,"updateBlockAttributes",(function(){return En})),n.d(r,"selectBlock",(function(){return Sn})),n.d(r,"startMultiSelect",(function(){return wn})),n.d(r,"stopMultiSelect",(function(){return Pn})),n.d(r,"multiSelect",(function(){return kn})),n.d(r,"clearSelectedBlock",(function(){return Cn})),n.d(r,"toggleSelection",(function(){return Tn})),n.d(r,"replaceBlocks",(function(){return xn})),n.d(r,"replaceBlock",(function(){return Bn})),n.d(r,"moveBlocksDown",(function(){return In})),n.d(r,"moveBlocksUp",(function(){return An})),n.d(r,"moveBlockToPosition",(function(){return Rn})),n.d(r,"insertBlock",(function(){return Nn})),n.d(r,"insertBlocks",(function(){return Dn})),n.d(r,"showInsertionPoint",(function(){return Ln})),n.d(r,"hideInsertionPoint",(function(){return Un})),n.d(r,"setTemplateValidity",(function(){return Fn})),n.d(r,"synchronizeTemplate",(function(){return Mn})),n.d(r,"mergeBlocks",(function(){return zn})),n.d(r,"removeBlocks",(function(){return Vn})),n.d(r,"removeBlock",(function(){return Hn})),n.d(r,"toggleBlockMode",(function(){return Gn})),n.d(r,"startTyping",(function(){return Wn})),n.d(r,"stopTyping",(function(){return qn})),n.d(r,"enterFormattedText",(function(){return Kn})),n.d(r,"exitFormattedText",(function(){return $n})),n.d(r,"insertDefaultBlock",(function(){return Qn})),n.d(r,"updateBlockListSettings",(function(){return Yn}));var s=n("wx14"),i=n("GRId"),c=n("YLtl"),a=n("HSyU"),l=n("1ZqX"),u=n("jZUy"),d=n("K9lf"),p=n("g56x"),b=n("51Zz"),m=n("axFQ");const h={insertUsage:{},isPublishSidebarEnabled:!0},g={...m.SETTINGS_DEFAULTS,richEditingEnabled:!0,codeEditingEnabled:!0,enableCustomFields:void 0,supportsLayout:!0};function f(e){return e&&"object"==typeof e&&"raw"in e?e.raw:e}var O=Object(l.combineReducers)({postId: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"SETUP_EDITOR_STATE":case"RESET_POST":return t.post.id}return e},postType: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"SETUP_EDITOR_STATE":case"RESET_POST":return t.post.type}return e},preferences:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENABLE_PUBLISH_SIDEBAR":return{...e,isPublishSidebarEnabled:!0};case"DISABLE_PUBLISH_SIDEBAR":return{...e,isPublishSidebarEnabled:!1}}return e},saving:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REQUEST_POST_UPDATE_START":case"REQUEST_POST_UPDATE_FINISH":return{pending:"REQUEST_POST_UPDATE_START"===t.type,options:t.options||{}}}return e},postLock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_POST_LOCK":return t.lock}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},postSavingLock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_SAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_SAVING":return Object(c.omit)(e,t.lockName)}return e},isReady:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR_STATE":return!0;case"TEAR_DOWN_EDITOR":return!1}return e},editorSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_EDITOR_SETTINGS":return{...e,...t.settings}}return e},postAutosavingLock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_AUTOSAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_AUTOSAVING":return Object(c.omit)(e,t.lockName)}return e}}),v=n("pPDe"),j=n("FqII"),_=n("Mmq9"),y=n("NMb1"),E=n.n(y),S=n("Civd");const w=new Set(["meta"]),P="core/editor",k=/%(?:postname|pagename)%/,C=["title","excerpt","content"];function T(e,t){return Object(_.addQueryArgs)(e,t)}function x(e){return e?Object(c.trim)(Object(c.deburr)(e).replace(/[\s\./]+/g,"-").replace(/[^\p{L}\p{N}_-]+/gu,"").toLowerCase(),"-"):""}var B=n("G8mJ"),I=n("//kF"),A=n("rvQu"),R=n("OE6V");function N(e){return"header"===e?B.a:"footer"===e?I.a:"sidebar"===e?A.a:R.a}const D={},L=[],U=Object(l.createRegistrySelector)(e=>()=>e(u.store).hasUndo()),F=Object(l.createRegistrySelector)(e=>()=>e(u.store).hasRedo());function M(e){return"auto-draft"===W(e).status}function z(e){const t=Y(e);return"blocks"in t||"content"in t}const V=Object(l.createRegistrySelector)(e=>t=>{const n=q(t),o=K(t);return!!e(u.store).hasEditsForEntityRecord("postType",n,o)}),H=Object(l.createRegistrySelector)(e=>t=>{const n=e(u.store).__experimentalGetDirtyEntityRecords(),{type:o,id:r}=W(t);return Object(c.some)(n,e=>"postType"!==e.kind||e.name!==o||e.key!==r)});function G(e){return!V(e)&&M(e)}const W=Object(l.createRegistrySelector)(e=>t=>{const n=K(t),o=q(t),r=e(u.store).getRawEntityRecord("postType",o,n);return r||D});function q(e){return e.postType}function K(e){return e.postId}function $(e){return Object(c.get)(W(e),["_links","version-history",0,"count"],0)}function Q(e){return Object(c.get)(W(e),["_links","predecessor-version",0,"id"],null)}const Y=Object(l.createRegistrySelector)(e=>t=>{const n=q(t),o=K(t);return e(u.store).getEntityRecordEdits("postType",n,o)||D}),J=Object(l.createRegistrySelector)(e=>()=>(E()("`wp.data.select( 'core/editor' ).getReferenceByDistinctEdits`",{since:"5.4",alternative:"`wp.data.select( 'core' ).getReferenceByDistinctEdits`"}),e(u.store).getReferenceByDistinctEdits()));function X(e,t){switch(t){case"type":return q(e);case"id":return K(e);default:const n=W(e);if(!n.hasOwnProperty(t))break;return f(n[t])}}function Z(e,t){switch(t){case"content":return ve(e)}const n=Y(e);return n.hasOwnProperty(t)?w.has(t)?((e,t)=>{const n=Y(e);return n.hasOwnProperty(t)?{...X(e,t),...n[t]}:X(e,t)})(e,t):n[t]:X(e,t)}const ee=Object(l.createRegistrySelector)(e=>(t,n)=>{if(!Object(c.includes)(C,n)&&"preview_link"!==n)return;const o=q(t),r=K(t),s=Object(c.get)(e(u.store).getCurrentUser(),["id"]),i=e(u.store).getAutosave(o,r,s);return i?f(i[n]):void 0});function te(e){if("private"===Z(e,"status"))return"private";return Z(e,"password")?"password":"public"}function ne(e){return"pending"===W(e).status}function oe(e,t){const n=t||W(e);return-1!==["publish","private"].indexOf(n.status)||"future"===n.status&&!Object(j.isInTheFuture)(new Date(Number(Object(j.getDate)(n.date))-6e4))}function re(e){return"future"===W(e).status&&!oe(e)}function se(e){const t=W(e);return V(e)||-1===["publish","private","future"].indexOf(t.status)}function ie(e){return!de(e)&&(!!Z(e,"title")||!!Z(e,"excerpt")||!ce(e)||"native"===i.Platform.OS)}function ce(e){const t=Ae(e);if(t.length){if(t.length>1)return!1;const e=t[0].name;if(e!==Object(a.getDefaultBlockName)()&&e!==Object(a.getFreeformContentHandlerName)())return!1}return!ve(e)}const ae=Object(l.createRegistrySelector)(e=>t=>{if(!ie(t))return!1;if(ke(t))return!1;const n=q(t),o=K(t),r=e(u.store).hasFetchedAutosaves(n,o),s=Object(c.get)(e(u.store).getCurrentUser(),["id"]),i=e(u.store).getAutosave(n,o,s);return!!r&&(!i||(!!z(t)||["title","excerpt"].some(e=>f(i[e])!==Z(t,e))))});function le(e){const t=Z(e,"date"),n=new Date(Number(Object(j.getDate)(t))-6e4);return Object(j.isInTheFuture)(n)}function ue(e){const t=Z(e,"date"),n=Z(e,"modified"),o=W(e).status;return("draft"===o||"auto-draft"===o||"pending"===o)&&(t===n||null===t)}const de=Object(l.createRegistrySelector)(e=>t=>{const n=q(t),o=K(t);return e(u.store).isSavingEntityRecord("postType",n,o)}),pe=Object(l.createRegistrySelector)(e=>t=>{const n=e(u.store).__experimentalGetEntitiesBeingSaved(),{type:o,id:r}=W(t);return Object(c.some)(n,e=>"postType"!==e.kind||e.name!==o||e.key!==r)}),be=Object(l.createRegistrySelector)(e=>t=>{const n=q(t),o=K(t);return!e(u.store).getLastEntitySaveError("postType",n,o)}),me=Object(l.createRegistrySelector)(e=>t=>{const n=q(t),o=K(t);return!!e(u.store).getLastEntitySaveError("postType",n,o)});function he(e){return!!de(e)&&!!Object(c.get)(e.saving,["options","isAutosave"])}function ge(e){return!!de(e)&&!!Object(c.get)(e.saving,["options","isPreview"])}function fe(e){if(e.saving.pending||de(e))return;let t=ee(e,"preview_link");t||(t=Z(e,"link"),t&&(t=Object(_.addQueryArgs)(t,{preview:!0})));const n=Z(e,"featured_media");return t&&n?Object(_.addQueryArgs)(t,{_thumbnail_id:n}):t}function Oe(e){const t=Ae(e);if(t.length>2)return null;let n;if(1===t.length&&(n=t[0].name,"core/embed"===n)){var o;const e=null===(o=t[0].attributes)||void 0===o?void 0:o.providerNameSlug;["youtube","vimeo"].includes(e)?n="core/video":["spotify","soundcloud"].includes(e)&&(n="core/audio")}switch(2===t.length&&"core/paragraph"===t[1].name&&(n=t[0].name),n){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":return"video";case"core/audio":return"audio";default:return null}}const ve=Object(l.createRegistrySelector)(e=>t=>{const n=K(t),o=q(t),r=e(u.store).getEditedEntityRecord("postType",o,n);if(r){if("function"==typeof r.content)return r.content(r);if(r.blocks)return Object(a.__unstableSerializeAndClean)(r.blocks);if(r.content)return r.content}return""});function je(e){return de(e)&&!oe(e)&&"publish"===Z(e,"status")}function _e(e){const t=Z(e,"permalink_template");return k.test(t)}function ye(e){const t=Se(e);if(!t)return null;const{prefix:n,postName:o,suffix:r}=t;return _e(e)?n+o+r:n}function Ee(e){return Z(e,"slug")||x(Z(e,"title"))||K(e)}function Se(e){const t=Z(e,"permalink_template");if(!t)return null;const n=Z(e,"slug")||Z(e,"generated_slug"),[o,r]=t.split(k);return{prefix:o,postName:n,suffix:r}}function we(e){return e.postLock.isLocked}function Pe(e){return Object.keys(e.postSavingLock).length>0}function ke(e){return Object.keys(e.postAutosavingLock).length>0}function Ce(e){return e.postLock.isTakeover}function Te(e){return e.postLock.user}function xe(e){return e.postLock.activePostLock}function Be(e){return Object(c.has)(W(e),["_links","wp:action-unfiltered-html"])}function Ie(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:h.isPublishSidebarEnabled}function Ae(e){return Z(e,"blocks")||L}function Re(e){var t;return E()("select('core/editor').getEditorSelectionStart",{since:"10.0",plugin:"Gutenberg",alternative:"select('core/editor').getEditorSelection"}),null===(t=Z(e,"selection"))||void 0===t?void 0:t.selectionStart}function Ne(e){var t;return E()("select('core/editor').getEditorSelectionStart",{since:"10.0",plugin:"Gutenberg",alternative:"select('core/editor').getEditorSelection"}),null===(t=Z(e,"selection"))||void 0===t?void 0:t.selectionEnd}function De(e){return Z(e,"selection")}function Le(e){return e.isReady}function Ue(e){return e.editorSettings}function Fe(){return E()("select('core/editor').getStateBeforeOptimisticTransaction",{since:"5.7",hint:"No state history is kept on this store anymore"}),null}function Me(){return E()("select('core/editor').inSomeHistory",{since:"5.7",hint:"No state history is kept on this store anymore"}),!1}function ze(e){return Object(l.createRegistrySelector)(t=>function(n){E()("`wp.data.select( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.select( 'core/block-editor' )."+e+"`"});for(var o=arguments.length,r=new Array(o>1?o-1:0),s=1;s<o;s++)r[s-1]=arguments[s];return t(m.store)[e](...r)})}const Ve=ze("getBlockName"),He=ze("isBlockValid"),Ge=ze("getBlockAttributes"),We=ze("getBlock"),qe=ze("getBlocks"),Ke=ze("getClientIdsOfDescendants"),$e=ze("getClientIdsWithDescendants"),Qe=ze("getGlobalBlockCount"),Ye=ze("getBlocksByClientId"),Je=ze("getBlockCount"),Xe=ze("getBlockSelectionStart"),Ze=ze("getBlockSelectionEnd"),et=ze("getSelectedBlockCount"),tt=ze("hasSelectedBlock"),nt=ze("getSelectedBlockClientId"),ot=ze("getSelectedBlock"),rt=ze("getBlockRootClientId"),st=ze("getBlockHierarchyRootClientId"),it=ze("getAdjacentBlockClientId"),ct=ze("getPreviousBlockClientId"),at=ze("getNextBlockClientId"),lt=ze("getSelectedBlocksInitialCaretPosition"),ut=ze("getMultiSelectedBlockClientIds"),dt=ze("getMultiSelectedBlocks"),pt=ze("getFirstMultiSelectedBlockClientId"),bt=ze("getLastMultiSelectedBlockClientId"),mt=ze("isFirstMultiSelectedBlock"),ht=ze("isBlockMultiSelected"),gt=ze("isAncestorMultiSelected"),ft=ze("getMultiSelectedBlocksStartClientId"),Ot=ze("getMultiSelectedBlocksEndClientId"),vt=ze("getBlockOrder"),jt=ze("getBlockIndex"),_t=ze("isBlockSelected"),yt=ze("hasSelectedInnerBlock"),Et=ze("isBlockWithinSelection"),St=ze("hasMultiSelection"),wt=ze("isMultiSelecting"),Pt=ze("isSelectionEnabled"),kt=ze("getBlockMode"),Ct=ze("isTyping"),Tt=ze("isCaretWithinFormattedText"),xt=ze("getBlockInsertionPoint"),Bt=ze("isBlockInsertionPointVisible"),It=ze("isValidTemplate"),At=ze("getTemplate"),Rt=ze("getTemplateLock"),Nt=ze("canInsertBlockType"),Dt=ze("getInserterItems"),Lt=ze("hasInserterItems"),Ut=ze("getBlockListSettings");function Ft(e){var t;return null===(t=Ue(e))||void 0===t?void 0:t.defaultTemplateTypes}const Mt=Object(v.a)(e=>{var t;const n=(null===(t=Ue(e))||void 0===t?void 0:t.defaultTemplatePartAreas)||[];return null==n?void 0:n.map(e=>({...e,icon:N(e.icon)}))},e=>{var t;return[null===(t=Ue(e))||void 0===t?void 0:t.defaultTemplatePartAreas]}),zt=Object(v.a)((e,t)=>Object(c.find)(Ft(e),{slug:t})||{},(e,t)=>[Ft(e),t]);function Vt(e,t){var n;if(!t)return{};const{excerpt:o,slug:r,title:s,area:i}=t,{title:a,description:l}=zt(e,r),u=Object(c.isString)(s)?s:null==s?void 0:s.rendered;return{title:u&&u!==r?u:a||r,description:(Object(c.isString)(o)?o:null==o?void 0:o.raw)||l,icon:(null===(n=Mt(e).find(e=>i===e.area))||void 0===n?void 0:n.icon)||S.a}}const Ht=Object(l.createRegistrySelector)(e=>t=>{var n;const o=q(t),r=e(u.store).getPostType(o);return null==r||null===(n=r.labels)||void 0===n?void 0:n.singular_name});var Gt=n("onLe"),Wt=n("l3Sj");function qt(e){const{previousPost:t,post:n,postType:o}=e;if(Object(c.get)(e.options,["isAutosave"]))return[];const r=["publish","private","future"],s=Object(c.includes)(r,t.status),i=Object(c.includes)(r,n.status);let a,l=Object(c.get)(o,["viewable"],!1);s||i?s&&!i?(a=o.labels.item_reverted_to_draft,l=!1):a=!s&&i?{publish:o.labels.item_published,private:o.labels.item_published_privately,future:o.labels.item_scheduled}[n.status]:o.labels.item_updated:(a=Object(Wt.__)("Saved"),l=!1);const u=[];return l&&u.push({label:o.labels.view_item,url:n.link}),[a,{id:"SAVE_POST_NOTICE_ID",type:"snackbar",actions:u}]}function Kt(e){const{post:t,edits:n,error:o}=e;if(o&&"rest_autosave_no_changes"===o.code)return[];const r=["publish","private","future"],s=-1!==r.indexOf(t.status),i={publish:Object(Wt.__)("Publishing failed."),private:Object(Wt.__)("Publishing failed."),future:Object(Wt.__)("Scheduling failed.")};let c=s||-1===r.indexOf(n.status)?Object(Wt.__)("Updating failed."):i[n.status];return o.message&&!/<\/?[^>]*>/.test(o.message)&&(c=[c,o.message].join(" ")),[c,{id:"SAVE_POST_NOTICE_ID"}]}function*$t(e,t,n){yield Yt(e),yield{type:"SETUP_EDITOR",post:e,edits:t,template:n},yield en(e);if("auto-draft"===e.status&&n){let o;o=Object(c.has)(t,["content"])?t.content:e.content.raw;let r=Object(a.parse)(o);r=Object(a.synchronizeBlocksWithTemplate)(r,n),yield fn(r,{__unstableShouldCreateUndoLevel:!1})}t&&Object.keys(t).some(n=>t[n]!==(Object(c.has)(e,[n,"raw"])?e[n].raw:e[n]))&&(yield tn(t))}function Qt(){return{type:"TEAR_DOWN_EDITOR"}}function Yt(e){return{type:"RESET_POST",post:e}}function Jt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"REQUEST_POST_UPDATE_START",options:e}}function Xt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"REQUEST_POST_UPDATE_FINISH",options:e}}function Zt(){return E()("wp.data.dispatch( 'core/editor' ).updatePost",{since:"5.7",alternative:"Use the core entities store instead"}),{type:"DO_NOTHING"}}function en(e){return{type:"SETUP_EDITOR_STATE",post:e}}function*tn(e,t){const{id:n,type:o}=yield l.controls.select(P,"getCurrentPost");yield l.controls.dispatch(u.store,"editEntityRecord","postType",o,n,e,t)}function*nn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(yield l.controls.select(P,"isEditedPostSaveable")))return;let t={content:yield l.controls.select(P,"getEditedPostContent")};e.isAutosave||(yield l.controls.dispatch(P,"editPost",t,{undoIgnore:!0})),yield Jt(e);const n=yield l.controls.select(P,"getCurrentPost");t={id:n.id,...yield l.controls.select(u.store,"getEntityRecordNonTransientEdits","postType",n.type,n.id),...t},yield l.controls.dispatch(u.store,"saveEntityRecord","postType",n.type,t,e),yield Xt(e);const o=yield l.controls.select(u.store,"getLastEntitySaveError","postType",n.type,n.id);if(o){const e=Kt({post:n,edits:t,error:o});e.length&&(yield l.controls.dispatch(Gt.store,"createErrorNotice",...e))}else{const t=yield l.controls.select(P,"getCurrentPost"),o=qt({previousPost:n,post:t,postType:yield l.controls.resolveSelect(u.store,"getPostType",t.type),options:e});o.length&&(yield l.controls.dispatch(Gt.store,"createSuccessNotice",...o)),e.isAutosave||(yield l.controls.dispatch(m.store,"__unstableMarkLastChangeAsPersistent"))}}function*on(){const e=yield l.controls.select(P,"getCurrentPost"),t=yield l.controls.select(P,"getCurrentPostType"),n=yield l.controls.resolveSelect(u.store,"getPostType",t),o=yield Object(b.apiFetch)({path:`/wp/v2/${n.rest_base}/${e.id}?context=edit&_timestamp=`+Date.now()});yield l.controls.dispatch(P,"resetPost",o)}function*rn(){const e=yield l.controls.select(P,"getCurrentPostType"),t=yield l.controls.resolveSelect(u.store,"getPostType",e);yield l.controls.dispatch(Gt.store,"removeNotice","TRASH_POST_NOTICE_ID");try{const e=yield l.controls.select(P,"getCurrentPost");yield Object(b.apiFetch)({path:`/wp/v2/${t.rest_base}/${e.id}`,method:"DELETE"}),yield l.controls.dispatch(P,"savePost")}catch(e){yield l.controls.dispatch(Gt.store,"createErrorNotice",...(n={error:e},[n.error.message&&"unknown_error"!==n.error.code?n.error.message:Object(Wt.__)("Trashing failed"),{id:"TRASH_POST_NOTICE_ID"}]))}var n}function*sn(){let{local:e=!1,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e){const e=yield l.controls.select(P,"getCurrentPost"),t=yield l.controls.select(P,"isEditedPostNew"),n=yield l.controls.select(P,"getEditedPostAttribute","title"),o=yield l.controls.select(P,"getEditedPostAttribute","content"),r=yield l.controls.select(P,"getEditedPostAttribute","excerpt");yield{type:"LOCAL_AUTOSAVE_SET",postId:e.id,isPostNew:t,title:n,content:o,excerpt:r}}else yield l.controls.dispatch(P,"savePost",{isAutosave:!0,...t})}function*cn(){yield l.controls.dispatch(u.store,"redo")}function*an(){yield l.controls.dispatch(u.store,"undo")}function ln(){return{type:"CREATE_UNDO_LEVEL"}}function un(e){return{type:"UPDATE_POST_LOCK",lock:e}}function dn(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function pn(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function bn(e){return{type:"LOCK_POST_SAVING",lockName:e}}function mn(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function hn(e){return{type:"LOCK_POST_AUTOSAVING",lockName:e}}function gn(e){return{type:"UNLOCK_POST_AUTOSAVING",lockName:e}}function*fn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{__unstableShouldCreateUndoLevel:n,selection:o}=t,r={blocks:e,selection:o};if(!1!==n){const{id:e,type:t}=yield l.controls.select(P,"getCurrentPost");if((yield l.controls.select(u.store,"getEditedEntityRecord","postType",t,e)).blocks===r.blocks)return yield l.controls.dispatch(u.store,"__unstableCreateUndoLevel","postType",t,e);r.content=e=>{let{blocks:t=[]}=e;return Object(a.__unstableSerializeAndClean)(t)}}yield*tn(r)}function On(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}const vn=e=>function*(){E()("`wp.data.dispatch( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.dispatch( 'core/block-editor' )."+e+"`"});for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];yield l.controls.dispatch(m.store,e,...n)},jn=vn("resetBlocks"),_n=vn("receiveBlocks"),yn=vn("updateBlock"),En=vn("updateBlockAttributes"),Sn=vn("selectBlock"),wn=vn("startMultiSelect"),Pn=vn("stopMultiSelect"),kn=vn("multiSelect"),Cn=vn("clearSelectedBlock"),Tn=vn("toggleSelection"),xn=vn("replaceBlocks"),Bn=vn("replaceBlock"),In=vn("moveBlocksDown"),An=vn("moveBlocksUp"),Rn=vn("moveBlockToPosition"),Nn=vn("insertBlock"),Dn=vn("insertBlocks"),Ln=vn("showInsertionPoint"),Un=vn("hideInsertionPoint"),Fn=vn("setTemplateValidity"),Mn=vn("synchronizeTemplate"),zn=vn("mergeBlocks"),Vn=vn("removeBlocks"),Hn=vn("removeBlock"),Gn=vn("toggleBlockMode"),Wn=vn("startTyping"),qn=vn("stopTyping"),Kn=vn("enterFormattedText"),$n=vn("exitFormattedText"),Qn=vn("insertDefaultBlock"),Yn=vn("updateBlockListSettings");function Jn(e,t){return"wp-autosave-block-editor-post-"+(t?"auto-draft":e)}function Xn(e,t){window.sessionStorage.removeItem(Jn(e,t))}var Zn={LOCAL_AUTOSAVE_SET(e){let{postId:t,isPostNew:n,title:o,content:r,excerpt:s}=e;!function(e,t,n,o,r){window.sessionStorage.setItem(Jn(e,t),JSON.stringify({post_title:n,content:o,excerpt:r}))}(t,n,o,r,s)}};const eo={reducer:O,selectors:o,actions:r,controls:{...b.controls,...Zn}},to=Object(l.createReduxStore)(P,{...eo,persist:["preferences"]});Object(l.registerStore)(P,{...eo,persist:["preferences"]});function no(e){const t=Object(c.mapValues)(Object(c.pickBy)(e.attributes,{source:"meta"}),"meta");return Object(c.isEmpty)(t)||(e.edit=(e=>Object(d.createHigherOrderComponent)(t=>n=>{let{attributes:o,setAttributes:r,...a}=n;const d=Object(l.useSelect)(e=>e(to).getCurrentPostType(),[]),[p,b]=Object(u.useEntityProp)("postType",d,"meta"),m=Object(i.useMemo)(()=>({...o,...Object(c.mapValues)(e,e=>p[e])}),[o,p]);return Object(i.createElement)(t,Object(s.a)({attributes:m,setAttributes:t=>{const n=Object(c.mapKeys)(Object(c.pickBy)(t,(t,n)=>e[n]),(t,n)=>e[n]);Object(c.isEmpty)(n)||b(n),r(t)}},a))},"withMetaAttributeSource"))(t)(e.edit)),e}function oo(e){const t=e.avatar_urls&&e.avatar_urls[24]?Object(i.createElement)("img",{className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}):Object(i.createElement)("span",{className:"editor-autocompleters__no-avatar"});return Object(i.createElement)(i.Fragment,null,t,Object(i.createElement)("span",{className:"editor-autocompleters__user-name"},e.name),Object(i.createElement)("span",{className:"editor-autocompleters__user-slug"},e.slug))}Object(p.addFilter)("blocks.registerBlockType","core/editor/custom-sources-backwards-compatibility/shim-attribute-source",no),Object(l.select)(a.store).getBlockTypes().map(e=>{let{name:t}=e;return Object(l.select)(a.store).getBlockType(t)}).forEach(no);var ro={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",useItems(e){const t=Object(l.useSelect)(t=>{const{getUsers:n}=t(u.store);return n({context:"view",search:encodeURIComponent(e)})},[e]);return[Object(i.useMemo)(()=>t?t.map(e=>({key:"user-"+e.slug,value:e,label:oo(e)})):[],[t])]},getOptionCompletion:e=>"@"+e.slug};Object(p.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.push(Object(c.clone)(ro)),e}));class so extends i.Component{constructor(e){super(e),this.needsAutosave=!(!e.isDirty||!e.isAutosaveable)}componentDidMount(){this.props.disableIntervalChecks||this.setAutosaveTimer()}componentDidUpdate(e){this.props.disableIntervalChecks?this.props.editsReference!==e.editsReference&&this.props.autosave():(this.props.interval!==e.interval&&(clearTimeout(this.timerId),this.setAutosaveTimer()),this.props.isDirty&&(!this.props.isAutosaving||e.isAutosaving)?this.props.editsReference!==e.editsReference&&(this.needsAutosave=!0):this.needsAutosave=!1)}componentWillUnmount(){clearTimeout(this.timerId)}setAutosaveTimer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3*this.props.interval;this.timerId=setTimeout(()=>{this.autosaveTimerHandler()},e)}autosaveTimerHandler(){this.props.isAutosaveable?(this.needsAutosave&&(this.needsAutosave=!1,this.props.autosave()),this.setAutosaveTimer()):this.setAutosaveTimer(1e3)}render(){return null}}var io=Object(d.compose)([Object(l.withSelect)((e,t)=>{const{getReferenceByDistinctEdits:n}=e(u.store),{isEditedPostDirty:o,isEditedPostAutosaveable:r,isAutosavingPost:s,getEditorSettings:i}=e(to),{interval:c=i().autosaveInterval}=t;return{editsReference:n(),isDirty:o(),isAutosaveable:r(),isAutosaving:s(),interval:c}}),Object(l.withDispatch)((e,t)=>({autosave(){const{autosave:n=e(to).autosave}=t;n()}}))])(so),co=n("qRz9"),ao=n("TSYQ"),lo=n.n(ao);var uo=e=>{let{children:t,isValid:n,level:o,href:r,onSelect:s}=e;return Object(i.createElement)("li",{className:lo()("document-outline__item","is-"+o.toLowerCase(),{"is-invalid":!n})},Object(i.createElement)("a",{href:r,className:"document-outline__button",onClick:s},Object(i.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),Object(i.createElement)("strong",{className:"document-outline__level"},o),Object(i.createElement)("span",{className:"document-outline__item-content"},t)))};const po=Object(i.createElement)("em",null,Object(Wt.__)("(Empty heading)")),bo=[Object(i.createElement)("br",{key:"incorrect-break"}),Object(i.createElement)("em",{key:"incorrect-message"},Object(Wt.__)("(Incorrect heading level)"))],mo=[Object(i.createElement)("br",{key:"incorrect-break-h1"}),Object(i.createElement)("em",{key:"incorrect-message-h1"},Object(Wt.__)("(Your theme may already use a H1 for the post title)"))],ho=[Object(i.createElement)("br",{key:"incorrect-break-multiple-h1"}),Object(i.createElement)("em",{key:"incorrect-message-multiple-h1"},Object(Wt.__)("(Multiple H1 headings are not recommended)"))],go=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.flatMap)(e,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===e.name?{...e,level:e.attributes.level,isEmpty:fo(e)}:go(e.innerBlocks)}))},fo=e=>!e.attributes.content||0===e.attributes.content.length;var Oo=Object(d.compose)(Object(l.withSelect)(e=>{const{getBlocks:t}=e(m.store),{getEditedPostAttribute:n}=e(to),{getPostType:o}=e(u.store),r=o(n("type"));return{title:n("title"),blocks:t(),isTitleSupported:Object(c.get)(r,["supports","title"],!1)}}))(e=>{let{blocks:t=[],title:n,onSelect:o,isTitleSupported:r,hasOutlineItemsDisabled:s}=e;const a=go(t);if(a.length<1)return null;let l=1;const u=document.querySelector(".editor-post-title__input"),d=r&&n&&u,p=Object(c.countBy)(a,"level")[1]>1;return Object(i.createElement)("div",{className:"document-outline"},Object(i.createElement)("ul",null,d&&Object(i.createElement)(uo,{level:Object(Wt.__)("Title"),isValid:!0,onSelect:o,href:"#"+u.id,isDisabled:s},n),a.map((e,t)=>{const n=e.level>l+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(p||d));return l=e.level,Object(i.createElement)(uo,{key:t,level:"H"+e.level,isValid:r,isDisabled:s,href:"#block-"+e.clientId,onSelect:o},e.isEmpty?po:Object(co.getTextContent)(Object(co.create)({html:e.attributes.content})),n&&bo,1===e.level&&p&&ho,d&&1===e.level&&!p&&mo)})))});var vo=Object(l.withSelect)(e=>({blocks:e(m.store).getBlocks()}))((function(e){let{blocks:t,children:n}=e;return Object(c.filter)(t,e=>"core/heading"===e.name).length<1?null:n})),jo=n("hF7m");var _o=function(e){let{resetBlocksOnSave:t}=e;const{resetEditorBlocks:n,savePost:o}=Object(l.useDispatch)(to),{isEditedPostDirty:r,getPostEdits:s,isPostSavingLocked:i}=Object(l.useSelect)(to);return Object(jo.useShortcut)("core/editor/save",e=>{if(e.preventDefault(),!i()&&r()){if(t){const e=s();if(e.content&&"string"==typeof e.content){const t=Object(a.parse)(e.content);n(t)}}o()}}),null};var yo=function(){const{redo:e,undo:t}=Object(l.useDispatch)(to);return Object(jo.useShortcut)("core/editor/undo",e=>{t(),e.preventDefault()}),Object(jo.useShortcut)("core/editor/redo",t=>{e(),t.preventDefault()}),Object(i.createElement)(_o,null)};function Eo(){return Object(i.createElement)(_o,{resetBlocksOnSave:!0})}var So=function(){const{registerShortcut:e}=Object(l.useDispatch)(jo.store);return Object(i.useEffect)(()=>{e({name:"core/editor/save",category:"global",description:Object(Wt.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/editor/undo",category:"global",description:Object(Wt.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/editor/redo",category:"global",description:Object(Wt.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}})},[e]),Object(i.createElement)(m.BlockEditorKeyboardShortcuts.Register,null)},wo=n("tI+e"),Po=n("RxS6"),ko=n("K2cm"),Co=n("Ntru");var To=Object(i.forwardRef)((function(e,t){const n=Object(l.useSelect)(e=>e(to).hasEditorRedo(),[]),{redo:o}=Object(l.useDispatch)(to);return Object(i.createElement)(wo.Button,Object(s.a)({},e,{ref:t,icon:Object(Wt.isRTL)()?Co.a:ko.a,label:Object(Wt.__)("Redo"),shortcut:Po.displayShortcut.primaryShift("z"),"aria-disabled":!n,onClick:n?o:void 0,className:"editor-history__redo"}))}));var xo=Object(i.forwardRef)((function(e,t){const n=Object(l.useSelect)(e=>e(to).hasEditorUndo(),[]),{undo:o}=Object(l.useDispatch)(to);return Object(i.createElement)(wo.Button,Object(s.a)({},e,{ref:t,icon:Object(Wt.isRTL)()?ko.a:Co.a,label:Object(Wt.__)("Undo"),shortcut:Po.displayShortcut.primary("z"),"aria-disabled":!n,onClick:n?o:void 0,className:"editor-history__undo"}))}));var Bo=Object(d.compose)([Object(l.withSelect)(e=>({isValid:e(m.store).isValidTemplate()})),Object(l.withDispatch)(e=>{const{setTemplateValidity:t,synchronizeTemplate:n}=e(m.store);return{resetTemplateValidity:()=>t(!0),synchronizeTemplate:n}})])((function(e){let{isValid:t,...n}=e;return t?null:Object(i.createElement)(wo.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning",actions:[{label:Object(Wt.__)("Keep it as is"),onClick:n.resetTemplateValidity},{label:Object(Wt.__)("Reset the template"),onClick:()=>{window.confirm(Object(Wt.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()}}]},Object(Wt.__)("The content of your post doesn’t match the template assigned to your post type."))}));var Io=Object(d.compose)([Object(l.withSelect)(e=>({notices:e(Gt.store).getNotices()})),Object(l.withDispatch)(e=>({onRemove:e(Gt.store).removeNotice}))])((function(e){let{notices:t,onRemove:n}=e;const o=Object(c.filter)(t,{isDismissible:!0,type:"default"}),r=Object(c.filter)(t,{isDismissible:!1,type:"default"});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(wo.NoticeList,{notices:r,className:"components-editor-notices__pinned"}),Object(i.createElement)(wo.NoticeList,{notices:o,className:"components-editor-notices__dismissible",onRemove:n},Object(i.createElement)(Bo,null)))}));function Ao(){const e=Object(l.useSelect)(e=>e(Gt.store).getNotices(),[]),{removeNotice:t}=Object(l.useDispatch)(Gt.store),n=Object(c.filter)(e,{type:"snackbar"});return Object(i.createElement)(wo.SnackbarList,{notices:n,className:"components-editor-notices__snackbar",onRemove:t})}var Ro=n("w95h"),No=n("rmEH");function Do(e){let{record:t,checked:n,onChange:o,closePanel:r}=e;const{name:s,kind:c,title:a,key:d}=t,p=Object(l.useSelect)(e=>{var t;const{blocks:n=[]}=e(u.store).getEditedEntityRecord(c,s,d),o=e(m.store).getBlockParents(null===(t=n[0])||void 0===t?void 0:t.clientId);return o[o.length-1]},[]),b=Object(l.useSelect)(e=>{if("postType"!==c||"wp_template"!==s)return a;const t=e(u.store).getEditedEntityRecord(c,s,d);return e(to).__experimentalGetTemplateInfo(t).title},[s,c,a,d]),h=Object(l.useSelect)(e=>e(m.store).getSelectedBlockClientId()===p,[p]),g=h?Object(Wt.__)("Selected"):Object(Wt.__)("Select"),{selectBlock:f}=Object(l.useDispatch)(m.store),O=Object(i.useCallback)(()=>f(p),[p]),v=Object(i.useCallback)(()=>{f(p),r()},[p]);return Object(i.createElement)(wo.PanelRow,null,Object(i.createElement)(wo.CheckboxControl,{label:Object(i.createElement)("strong",null,Object(No.decodeEntities)(b)||Object(Wt.__)("Untitled")),checked:n,onChange:o}),p?Object(i.createElement)(i.Fragment,null,Object(i.createElement)(wo.Button,{onClick:O,className:"entities-saved-states__find-entity",disabled:h},g),Object(i.createElement)(wo.Button,{onClick:v,className:"entities-saved-states__find-entity-small",disabled:h},g)):null)}function Lo(e){let{list:t,unselectedEntities:n,setUnselectedEntities:o,closePanel:r}=e;const s=t[0],a=Object(l.useSelect)(e=>e(u.store).getEntity(s.kind,s.name),[s.kind,s.name]),{name:d}=s,p="wp_template_part"===d?Object(Wt._n)("Template Part","Template Parts",t.length):a.label,b=function(e,t){switch(e){case"site":return Object(Wt._n)("This change will affect your whole site.","These changes will affect your whole site.",t);case"wp_template":return Object(Wt._n)("This change will affect pages and posts that use this template.","These changes will affect pages and posts that use these templates.",t);case"page":case"post":return Object(Wt.__)("The following content has been modified.")}}(d,t.length);return Object(i.createElement)(wo.PanelBody,{title:p,initialOpen:!0},b&&Object(i.createElement)(wo.PanelRow,null,b),t.map(e=>Object(i.createElement)(Do,{key:e.key||e.property,record:e,checked:!Object(c.some)(n,t=>t.kind===e.kind&&t.name===e.name&&t.key===e.key&&t.property===e.property),onChange:t=>o(e,t),closePanel:r})))}const Uo={title:Object(Wt.__)("Title"),description:Object(Wt.__)("Tagline"),site_logo:Object(Wt.__)("Logo"),site_icon:Object(Wt.__)("Icon"),show_on_front:Object(Wt.__)("Show on front"),page_on_front:Object(Wt.__)("Page on front")},Fo=[{kind:"postType",name:"wp_navigation"}];function Mo(e){let{close:t}=e;const n=Object(i.useRef)(),{dirtyEntityRecords:o}=Object(l.useSelect)(e=>{const t=e(u.store).__experimentalGetDirtyEntityRecords().filter(e=>!("root"===e.kind&&"site"===e.name)),n=e(u.store).getEntityRecordEdits("root","site"),o=[];for(const e in n)o.push({kind:"root",name:"site",title:Uo[e]||e,property:e});return{dirtyEntityRecords:[...t,...o]}},[]),{editEntityRecord:r,saveEditedEntityRecord:a,__experimentalSaveSpecifiedEntityEdits:p}=Object(l.useDispatch)(u.store),{createSuccessNotice:b,createErrorNotice:h}=Object(l.useDispatch)(Gt.store),{__unstableMarkLastChangeAsPersistent:g}=Object(l.useDispatch)(m.store),f=Object(c.groupBy)(o,"name"),{site:O,wp_template:v,wp_template_part:j,..._}=f,y=[O,v,j,...Object.values(_)].filter(Array.isArray),[E,S]=Object(i.useState)([]),w=(e,t)=>{let{kind:n,name:o,key:r,property:s}=e;S(t?E.filter(e=>e.kind!==n||e.name!==o||e.key!==r||e.property!==s):[...E,{kind:n,name:o,key:r,property:s}])},P=Object(i.useCallback)(()=>t(),[t]),[k,C]=Object(d.__experimentalUseDialog)({onClose:()=>P()});return Object(i.createElement)("div",Object(s.a)({ref:k},C,{className:"entities-saved-states__panel"}),Object(i.createElement)("div",{className:"entities-saved-states__panel-header"},Object(i.createElement)(wo.Button,{ref:n,variant:"primary",disabled:o.length-E.length==0,onClick:()=>{const e=o.filter(e=>{let{kind:t,name:n,key:o,property:r}=e;return!Object(c.some)(E,e=>e.kind===t&&e.name===n&&e.key===o&&e.property===r)});t(e);const n=[],s=[];e.forEach(e=>{let{kind:t,name:o,key:i,property:c}=e;"root"===t&&"site"===o?n.push(c):(Fo.some(e=>e.kind===t&&e.name===o)&&r(t,o,i,{status:"publish"}),s.push(a(t,o,i)))}),n.length&&s.push(p("root","site",void 0,n)),Promise.all(s).then(e=>{e.some(e=>void 0===e)?h(Object(Wt.__)("Saving failed.")):b(Object(Wt.__)("Site updated."),{type:"snackbar"})}).catch(e=>h(`${Object(Wt.__)("Saving failed.")} ${e}`)),g()},className:"editor-entities-saved-states__save-button"},Object(Wt.__)("Save")),Object(i.createElement)(wo.Button,{icon:Ro.a,onClick:P,label:Object(Wt.__)("Close panel")})),Object(i.createElement)("div",{className:"entities-saved-states__text-prompt"},Object(i.createElement)("strong",null,Object(Wt.__)("Are you ready to save?")),Object(i.createElement)("p",null,Object(Wt.__)("The following changes have been made to your site, templates, and content."))),y.map(e=>Object(i.createElement)(Lo,{key:e[0].name,list:e,closePanel:P,unselectedEntities:E,setUnselectedEntities:w})))}function zo(e){let{text:t,children:n}=e;const o=Object(d.useCopyToClipboard)(t);return Object(i.createElement)(wo.Button,{variant:"secondary",ref:o},n)}class Vo extends i.Component{constructor(){super(...arguments),this.reboot=this.reboot.bind(this),this.getContent=this.getContent.bind(this),this.state={error:null}}componentDidCatch(e){this.setState({error:e})}reboot(){this.props.onError()}getContent(){try{return Object(l.select)(to).getEditedPostContent()}catch(e){}}render(){const{error:e}=this.state;return e?Object(i.createElement)(m.Warning,{className:"editor-error-boundary",actions:[Object(i.createElement)(wo.Button,{key:"recovery",onClick:this.reboot,variant:"secondary"},Object(Wt.__)("Attempt Recovery")),Object(i.createElement)(zo,{key:"copy-post",text:this.getContent},Object(Wt.__)("Copy Post Text")),Object(i.createElement)(zo,{key:"copy-error",text:e.stack},Object(Wt.__)("Copy Error"))]},Object(Wt.__)("The editor has encountered an unexpected error.")):this.props.children}}var Ho=Vo;const Go=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Wo=Object(c.once)(()=>{try{return window.sessionStorage.setItem("__wpEditorTestSessionStorage",""),window.sessionStorage.removeItem("__wpEditorTestSessionStorage"),!0}catch(e){return!1}});function qo(){const{postId:e,isEditedPostNew:t,hasRemoteAutosave:n}=Object(l.useSelect)(e=>({postId:e(to).getCurrentPostId(),isEditedPostNew:e(to).isEditedPostNew(),hasRemoteAutosave:!!e(to).getEditorSettings().autosave}),[]),{getEditedPostAttribute:o}=Object(l.useSelect)(to),{createWarningNotice:r,removeNotice:s}=Object(l.useDispatch)(Gt.store),{editPost:u,resetEditorBlocks:d}=Object(l.useDispatch)(to);Object(i.useEffect)(()=>{let i=function(e,t){return window.sessionStorage.getItem(Jn(e,t))}(e,t);if(!i)return;try{i=JSON.parse(i)}catch(e){return}const{post_title:l,content:p,excerpt:b}=i,m={title:l,content:p,excerpt:b};if(!Object.keys(m).some(e=>m[e]!==o(e)))return void Xn(e,t);if(n)return;const h=Object(c.uniqueId)("wpEditorAutosaveRestore");r(Object(Wt.__)("The backup of this post in your browser is different from the version below."),{id:h,actions:[{label:Object(Wt.__)("Restore the backup"),onClick(){u(Object(c.omit)(m,["content"])),d(Object(a.parse)(m.content)),s(h)}}]})},[t,e])}var Ko=Object(d.ifCondition)(Wo)((function(){const{autosave:e}=Object(l.useDispatch)(to),t=Object(i.useCallback)(()=>{Go(()=>e({local:!0}))},[]);qo(),function(){const{postId:e,isEditedPostNew:t,isDirty:n,isAutosaving:o,didError:r}=Object(l.useSelect)(e=>({postId:e(to).getCurrentPostId(),isEditedPostNew:e(to).isEditedPostNew(),isDirty:e(to).isEditedPostDirty(),isAutosaving:e(to).isAutosavingPost(),didError:e(to).didPostSaveRequestFail()}),[]),s=Object(i.useRef)(n),c=Object(i.useRef)(o);Object(i.useEffect)(()=>{!r&&(c.current&&!o||s.current&&!n)&&Xn(e,t),s.current=n,c.current=o},[n,o,r]);const a=Object(d.usePrevious)(t),u=Object(d.usePrevious)(e);Object(i.useEffect)(()=>{u===e&&a&&!t&&Xn(e,!0)},[t,e])}();const{localAutosaveInterval:n}=Object(l.useSelect)(e=>({localAutosaveInterval:e(to).getEditorSettings().__experimentalLocalAutosaveInterval}),[]);return Object(i.createElement)(io,{interval:n,autosave:t})}));var $o=function(e){let{children:t}=e;const n=Object(l.useSelect)(e=>{const{getEditedPostAttribute:t}=e(to),{getPostType:n}=e(u.store);return n(t("type"))},[]);return Object(c.get)(n,["supports","page-attributes"],!1)?t:null};var Qo=Object(l.withSelect)(e=>{const{getEditedPostAttribute:t}=e(to),{getPostType:n}=e(u.store);return{postType:n(t("type"))}})((function(e){let{postType:t,children:n,supportKeys:o}=e,r=!0;return t&&(r=Object(c.some)(Object(c.castArray)(o),e=>!!t.supports[e])),r?n:null}));const Yo=e=>{let{onUpdateOrder:t,order:n=0}=e;const[o,r]=Object(i.useState)(null),s=null===o?n:o;return Object(i.createElement)(wo.TextControl,{className:"editor-page-attributes__order",type:"number",label:Object(Wt.__)("Order"),value:s,onChange:e=>{r(e);const n=Number(e);Number.isInteger(n)&&""!==Object(c.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:()=>{r(null)}})};var Jo=Object(d.compose)([Object(l.withSelect)(e=>({order:e(to).getEditedPostAttribute("menu_order")})),Object(l.withDispatch)(e=>({onUpdateOrder(t){e(to).editPost({menu_order:t})}}))])((function(e){return Object(i.createElement)(Qo,{supportKeys:"page-attributes"},Object(i.createElement)(Yo,e))}));function Xo(e){const t=e.map(e=>({children:[],parent:null,...e})),n=Object(c.groupBy)(t,"parent");if(n.null&&n.null.length)return t;const o=e=>e.map(e=>{const t=n[e.id];return{...e,children:t&&t.length?o(t):[]}});return o(n[0]||[])}const Zo=e=>Object(c.unescape)(e.replace("&#039;","'")),er=e=>({...e,name:Zo(e.name)}),tr=e=>Object(c.map)(e,er);function nr(e){var t;return null!=e&&null!==(t=e.title)&&void 0!==t&&t.rendered?Object(No.decodeEntities)(e.title.rendered):`#${e.id} (${Object(Wt.__)("no title")})`}const or=(e,t)=>{const n=Object(c.deburr)(e).toLowerCase(),o=Object(c.deburr)(t).toLowerCase();return n===o?0:n.startsWith(o)?n.length:1/0};var rr=function(){const{editPost:e}=Object(l.useDispatch)(to),[t,n]=Object(i.useState)(!1),{parentPost:o,parentPostId:r,items:s,postType:a}=Object(l.useSelect)(e=>{const{getPostType:n,getEntityRecords:o,getEntityRecord:r}=e(u.store),{getCurrentPostId:s,getEditedPostAttribute:i}=e(to),a=i("type"),l=i("parent"),d=n(a),p=s(),b=Object(c.get)(d,["hierarchical"],!1),m={per_page:100,exclude:p,parent_exclude:p,orderby:"menu_order",order:"asc",_fields:"id,title,parent"};return t&&(m.search=t),{parentPostId:l,parentPost:l?r("postType",a,l):null,items:b?o("postType",a,m):[],postType:d}},[t]),d=Object(c.get)(a,["hierarchical"],!1),p=Object(c.get)(a,["labels","parent_item_colon"]),b=s||[],m=Object(i.useMemo)(()=>{const e=function(n){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=n.map(t=>[{value:t.id,label:Object(c.repeat)("— ",o)+Object(c.unescape)(t.name),rawName:t.name},...e(t.children||[],o+1)]),s=r.sort((e,n)=>{let[o]=e,[r]=n;return or(o.rawName,t)>=or(r.rawName,t)?1:-1});return Object(c.flatten)(s)};let n=b.map(e=>({id:e.id,parent:e.parent,name:nr(e)}));t||(n=Xo(n));const s=e(n),i=Object(c.find)(s,e=>e.value===r);return o&&!i&&s.unshift({value:r,label:nr(o)}),s},[b,t]);return d&&p?Object(i.createElement)(wo.ComboboxControl,{className:"editor-page-attributes__parent",label:p,value:r,options:m,onFilterValueChange:Object(c.debounce)(e=>{n(e)},300),onChange:t=>{e({parent:t})}}):null};var sr=function(e){let{}=e;const{availableTemplates:t,selectedTemplate:n,isViewable:o}=Object(l.useSelect)(e=>{var t,n;const{getEditedPostAttribute:o,getEditorSettings:r,getCurrentPostType:s}=e(to),{getPostType:i}=e(u.store);return{selectedTemplate:o("template"),availableTemplates:r().availableTemplates,isViewable:null!==(t=null===(n=i(s()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t}},[]),{editPost:r}=Object(l.useDispatch)(to);return!o||Object(c.isEmpty)(t)?null:Object(i.createElement)(wo.SelectControl,{label:Object(Wt.__)("Template:"),value:n,onChange:e=>{r({template:e||""})},options:Object(c.map)(t,(e,t)=>({value:t,label:e}))})};const ir={who:"authors",per_page:50,_fields:"id,name",context:"view"};var cr=function(){const[e,t]=Object(i.useState)(),{authorId:n,isLoading:o,authors:r,postAuthor:s}=Object(l.useSelect)(t=>{const{getUser:n,getUsers:o,isResolving:r}=t(u.store),{getEditedPostAttribute:s}=t(to),i=n(s("author"),{context:"view"}),c={...ir};return e&&(c.search=e),{authorId:s("author"),postAuthor:i,authors:o(c),isLoading:r("core","getUsers",[c])}},[e]),{editPost:a}=Object(l.useDispatch)(to),d=Object(i.useMemo)(()=>{const e=(null!=r?r:[]).map(e=>({value:e.id,label:Object(No.decodeEntities)(e.name)}));return e.findIndex(e=>{let{value:t}=e;return(null==s?void 0:s.id)===t})<0&&s?[{value:s.id,label:Object(No.decodeEntities)(s.name)},...e]:e},[r,s]);return s?Object(i.createElement)(wo.ComboboxControl,{label:Object(Wt.__)("Author"),options:d,value:n,onFilterValueChange:Object(c.debounce)(e=>{t(e)},300),onChange:e=>{e&&a({author:e})},isLoading:o,allowReset:!1}):null};var ar=function(){const{editPost:e}=Object(l.useDispatch)(to),{postAuthor:t,authors:n}=Object(l.useSelect)(e=>({postAuthor:e(to).getEditedPostAttribute("author"),authors:e(u.store).getUsers(ir)}),[]),o=Object(i.useMemo)(()=>(null!=n?n:[]).map(e=>({value:e.id,label:Object(No.decodeEntities)(e.name)})),[n]);return Object(i.createElement)(wo.SelectControl,{className:"post-author-selector",label:Object(Wt.__)("Author"),options:o,onChange:t=>{const n=Number(t);e({author:n})},value:t})};var lr=function(){return Object(l.useSelect)(e=>{const t=e(u.store).getUsers(ir);return(null==t?void 0:t.length)>=25},[])?Object(i.createElement)(cr,null):Object(i.createElement)(ar,null)};function ur(e){let{children:t}=e;const{hasAssignAuthorAction:n,hasAuthors:o}=Object(l.useSelect)(e=>{const t=e(to).getCurrentPost(),n=e(u.store).getUsers(ir);return{hasAssignAuthorAction:Object(c.get)(t,["_links","wp:action-assign-author"],!1),hasAuthors:(null==n?void 0:n.length)>=1}},[]);return n&&o?Object(i.createElement)(Qo,{supportKeys:"author"},t):null}var dr=Object(d.compose)([Object(l.withSelect)(e=>({commentStatus:e(to).getEditedPostAttribute("comment_status")})),Object(l.withDispatch)(e=>({editPost:e(to).editPost}))])((function(e){let{commentStatus:t="open",...n}=e;return Object(i.createElement)(wo.CheckboxControl,{label:Object(Wt.__)("Allow comments"),checked:"open"===t,onChange:()=>n.editPost({comment_status:"open"===t?"closed":"open"})})}));var pr=Object(d.compose)([Object(l.withSelect)(e=>({excerpt:e(to).getEditedPostAttribute("excerpt")})),Object(l.withDispatch)(e=>({onUpdateExcerpt(t){e(to).editPost({excerpt:t})}}))])((function(e){let{excerpt:t,onUpdateExcerpt:n}=e;return Object(i.createElement)("div",{className:"editor-post-excerpt"},Object(i.createElement)(wo.TextareaControl,{label:Object(Wt.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:e=>n(e),value:t}),Object(i.createElement)(wo.ExternalLink,{href:Object(Wt.__)("https://wordpress.org/support/article/excerpt/")},Object(Wt.__)("Learn more about manual excerpts")))}));var br=function(e){return Object(i.createElement)(Qo,Object(s.a)({},e,{supportKeys:"excerpt"}))};var mr=Object(l.withSelect)(e=>{const{getThemeSupports:t}=e(u.store),{getEditedPostAttribute:n}=e(to);return{postType:n("type"),themeSupports:t()}})((function(e){let{themeSupports:t,children:n,postType:o,supportKeys:r}=e;return Object(c.some)(Object(c.castArray)(r),e=>{const n=Object(c.get)(t,[e],!1);return"post-thumbnails"===e&&Object(c.isArray)(n)?Object(c.includes)(n,o):n})?n:null}));var hr=function(e){return Object(i.createElement)(mr,{supportKeys:"post-thumbnails"},Object(i.createElement)(Qo,Object(s.a)({},e,{supportKeys:"thumbnail"})))};const gr=["image"],fr=Object(Wt.__)("Featured image"),Or=Object(Wt.__)("Set featured image"),vr=Object(Wt.__)("Remove image");const jr=Object(l.withSelect)(e=>{const{getMedia:t,getPostType:n}=e(u.store),{getCurrentPostId:o,getEditedPostAttribute:r}=e(to),s=r("featured_media");return{media:s?t(s,{context:"view"}):null,currentPostId:o(),postType:n(r("type")),featuredImageId:s}}),_r=Object(l.withDispatch)((e,t,n)=>{let{noticeOperations:o}=t,{select:r}=n;const{editPost:s}=e(to);return{onUpdateImage(e){s({featured_media:e.id})},onDropImage(e){r(m.store).getSettings().mediaUpload({allowedTypes:["image"],filesList:e,onFileChange(e){let[t]=e;s({featured_media:t.id})},onError(e){o.removeAllNotices(),o.createErrorNotice(e)}})},onRemoveImage(){s({featured_media:0})}}});var yr=Object(d.compose)(wo.withNotices,jr,_r,Object(wo.withFilters)("editor.PostFeaturedImage"))((function(e){var t,n;let{currentPostId:o,featuredImageId:r,onUpdateImage:s,onDropImage:a,onRemoveImage:l,media:u,postType:d,noticeUI:b}=e;const h=Object(c.get)(d,["labels"],{}),g=Object(i.createElement)("p",null,Object(Wt.__)("To edit the featured image, you need permission to upload media."));let f,O,v;if(u){const e=Object(p.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",u.id,o);if(Object(c.has)(u,["media_details","sizes",e]))f=u.media_details.sizes[e].width,O=u.media_details.sizes[e].height,v=u.media_details.sizes[e].source_url;else{const e=Object(p.applyFilters)("editor.PostFeaturedImage.imageSize","thumbnail",u.id,o);Object(c.has)(u,["media_details","sizes",e])?(f=u.media_details.sizes[e].width,O=u.media_details.sizes[e].height,v=u.media_details.sizes[e].source_url):(f=u.media_details.width,O=u.media_details.height,v=u.source_url)}}return Object(i.createElement)(hr,null,b,Object(i.createElement)("div",{className:"editor-post-featured-image"},u&&Object(i.createElement)("div",{id:`editor-post-featured-image-${r}-describedby`,className:"hidden"},u.alt_text&&Object(Wt.sprintf)(Object(Wt.__)("Current image: %s"),u.alt_text),!u.alt_text&&Object(Wt.sprintf)(Object(Wt.__)("The current image has no alternative text. The file name is: %s"),(null===(t=u.media_details.sizes)||void 0===t||null===(n=t.full)||void 0===n?void 0:n.file)||u.slug)),Object(i.createElement)(m.MediaUploadCheck,{fallback:g},Object(i.createElement)(m.MediaUpload,{title:h.featured_image||fr,onSelect:s,unstableFeaturedImageFlow:!0,allowedTypes:gr,modalClass:"editor-post-featured-image__media-modal",render:e=>{let{open:t}=e;return Object(i.createElement)("div",{className:"editor-post-featured-image__container"},Object(i.createElement)(wo.Button,{className:r?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t,"aria-label":r?Object(Wt.__)("Edit or update the image"):null,"aria-describedby":r?`editor-post-featured-image-${r}-describedby`:null},!!r&&u&&Object(i.createElement)(wo.ResponsiveWrapper,{naturalWidth:f,naturalHeight:O,isInline:!0},Object(i.createElement)("img",{src:v,alt:""})),!!r&&!u&&Object(i.createElement)(wo.Spinner,null),!r&&(h.set_featured_image||Or)),Object(i.createElement)(wo.DropZone,{onFilesDrop:a}))},value:r})),!!r&&u&&!u.isLoading&&Object(i.createElement)(m.MediaUploadCheck,null,Object(i.createElement)(m.MediaUpload,{title:h.featured_image||fr,onSelect:s,unstableFeaturedImageFlow:!0,allowedTypes:gr,modalClass:"editor-post-featured-image__media-modal",render:e=>{let{open:t}=e;return Object(i.createElement)(wo.Button,{onClick:t,variant:"secondary"},Object(Wt.__)("Replace Image"))}})),!!r&&Object(i.createElement)(m.MediaUploadCheck,null,Object(i.createElement)(wo.Button,{onClick:l,variant:"link",isDestructive:!0},h.remove_featured_image||vr))))}));var Er=Object(l.withSelect)(e=>({disablePostFormats:e(to).getEditorSettings().disablePostFormats}))((function(e){let{disablePostFormats:t,...n}=e;return!t&&Object(i.createElement)(Qo,Object(s.a)({},n,{supportKeys:"post-formats"}))}));const Sr=[{id:"aside",caption:Object(Wt.__)("Aside")},{id:"audio",caption:Object(Wt.__)("Audio")},{id:"chat",caption:Object(Wt.__)("Chat")},{id:"gallery",caption:Object(Wt.__)("Gallery")},{id:"image",caption:Object(Wt.__)("Image")},{id:"link",caption:Object(Wt.__)("Link")},{id:"quote",caption:Object(Wt.__)("Quote")},{id:"standard",caption:Object(Wt.__)("Standard")},{id:"status",caption:Object(Wt.__)("Status")},{id:"video",caption:Object(Wt.__)("Video")}].sort((e,t)=>{const n=e.caption.toUpperCase(),o=t.caption.toUpperCase();return n<o?-1:n>o?1:0});function wr(){const e="post-format-selector-"+Object(d.useInstanceId)(wr),{postFormat:t,suggestedFormat:n,supportedFormats:o}=Object(l.useSelect)(e=>{const{getEditedPostAttribute:t,getSuggestedPostFormat:n}=e(to),o=t("format"),r=e(u.store).getThemeSupports();return{postFormat:null!=o?o:"standard",suggestedFormat:n(),supportedFormats:Object(c.union)([o],Object(c.get)(r,["formats"],[]))}},[]),r=Sr.filter(e=>Object(c.includes)(o,e.id)),s=Object(c.find)(r,e=>e.id===n),{editPost:a}=Object(l.useDispatch)(to),p=e=>a({format:e});return Object(i.createElement)(Er,null,Object(i.createElement)("div",{className:"editor-post-format"},Object(i.createElement)("div",{className:"editor-post-format__content"},Object(i.createElement)("label",{htmlFor:e},Object(Wt.__)("Post Format")),Object(i.createElement)(wo.SelectControl,{value:t,onChange:e=>p(e),id:e,options:r.map(e=>({label:e.caption,value:e.id}))})),s&&s.id!==t&&Object(i.createElement)("div",{className:"editor-post-format__suggestion"},Object(Wt.__)("Suggestion:")," ",Object(i.createElement)(wo.Button,{variant:"link",onClick:()=>p(s.id)},Object(Wt.sprintf)(Object(Wt.__)("Apply format: %s"),s.caption)))))}var Pr=n("Tqx9");var kr=Object(i.createElement)(Pr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Pr.Path,{d:"M5.5 12h1.75l-2.5 3-2.5-3H4a8 8 0 113.134 6.35l.907-1.194A6.5 6.5 0 105.5 12zm9.53 1.97l-2.28-2.28V8.5a.75.75 0 00-1.5 0V12a.747.747 0 00.218.529l1.282-.84-1.28.842 2.5 2.5a.75.75 0 101.06-1.061z"}));var Cr=Object(l.withSelect)(e=>{const{getCurrentPostLastRevisionId:t,getCurrentPostRevisionsCount:n}=e(to);return{lastRevisionId:t(),revisionsCount:n()}})((function(e){let{lastRevisionId:t,revisionsCount:n,children:o}=e;return!t||n<2?null:Object(i.createElement)(Qo,{supportKeys:"revisions"},o)}));var Tr=Object(l.withSelect)(e=>{const{getCurrentPostLastRevisionId:t,getCurrentPostRevisionsCount:n}=e(to);return{lastRevisionId:t(),revisionsCount:n()}})((function(e){let{lastRevisionId:t,revisionsCount:n}=e;return Object(i.createElement)(Cr,null,Object(i.createElement)(wo.Button,{href:T("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:kr},Object(Wt.sprintf)(Object(Wt._n)("%d Revision","%d Revisions",n),n)))}));class xr extends i.Component{constructor(){super(...arguments),this.buttonRef=Object(i.createRef)(),this.openPreviewWindow=this.openPreviewWindow.bind(this)}componentDidUpdate(e){const{previewLink:t}=this.props;t&&!e.previewLink&&this.setPreviewWindowLink(t)}setPreviewWindowLink(e){const{previewWindow:t}=this;t&&!t.closed&&(t.location=e,this.buttonRef.current&&this.buttonRef.current.focus())}getWindowTarget(){const{postId:e}=this.props;return"wp-preview-"+e}openPreviewWindow(e){e.preventDefault(),this.previewWindow&&!this.previewWindow.closed||(this.previewWindow=window.open("",this.getWindowTarget())),this.previewWindow.focus(),this.props.isAutosaveable&&!this.props.isPostLocked?(this.props.isDraft?this.props.savePost({isPreview:!0}):this.props.autosave({isPreview:!0}),function(e){let t=Object(i.renderToString)(Object(i.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},Object(i.createElement)(wo.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},Object(i.createElement)(wo.Path,{className:"outer",d:"M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",fill:"none"}),Object(i.createElement)(wo.Path,{className:"inner",d:"M69.5 46.4c0-3.9-1.4-6.7-2.6-8.8-1.6-2.6-3.1-4.9-3.1-7.5 0-2.9 2.2-5.7 5.4-5.7h.4C63.9 19.2 56.4 16 48 16c-11.2 0-21 5.7-26.7 14.4h2.1c3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3L40 67.5l7-20.9L42 33c-1.7-.1-3.3-.3-3.3-.3-1.7-.1-1.5-2.7.2-2.6 0 0 5.3.4 8.4.4 3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3l11.5 34.3 3.3-10.4c1.6-4.5 2.4-7.8 2.4-10.5zM16.1 48c0 12.6 7.3 23.5 18 28.7L18.8 35c-1.7 4-2.7 8.4-2.7 13zm32.5 2.8L39 78.6c2.9.8 5.9 1.3 9 1.3 3.7 0 7.3-.6 10.6-1.8-.1-.1-.2-.3-.2-.4l-9.8-26.9zM76.2 36c0 3.2-.6 6.9-2.4 11.4L64 75.6c9.5-5.5 15.9-15.8 15.9-27.6 0-5.5-1.4-10.8-3.9-15.3.1 1 .2 2.1.2 3.3z",fill:"none"})),Object(i.createElement)("p",null,Object(Wt.__)("Generating preview…"))));t+='\n\t\t<style>\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\t.editor-post-preview-button__interstitial-message {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\twidth: 100vw;\n\t\t\t}\n\t\t\t@-webkit-keyframes paint {\n\t\t\t\t0% {\n\t\t\t\t\tstroke-dashoffset: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\t@-moz-keyframes paint {\n\t\t\t\t0% {\n\t\t\t\t\tstroke-dashoffset: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\t@-o-keyframes paint {\n\t\t\t\t0% {\n\t\t\t\t\tstroke-dashoffset: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\t@keyframes paint {\n\t\t\t\t0% {\n\t\t\t\t\tstroke-dashoffset: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\t.editor-post-preview-button__interstitial-message svg {\n\t\t\t\twidth: 192px;\n\t\t\t\theight: 192px;\n\t\t\t\tstroke: #555d66;\n\t\t\t\tstroke-width: 0.75;\n\t\t\t}\n\t\t\t.editor-post-preview-button__interstitial-message svg .outer,\n\t\t\t.editor-post-preview-button__interstitial-message svg .inner {\n\t\t\t\tstroke-dasharray: 280;\n\t\t\t\tstroke-dashoffset: 280;\n\t\t\t\t-webkit-animation: paint 1.5s ease infinite alternate;\n\t\t\t\t-moz-animation: paint 1.5s ease infinite alternate;\n\t\t\t\t-o-animation: paint 1.5s ease infinite alternate;\n\t\t\t\tanimation: paint 1.5s ease infinite alternate;\n\t\t\t}\n\t\t\tp {\n\t\t\t\ttext-align: center;\n\t\t\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;\n\t\t\t}\n\t\t</style>\n\t',t=Object(p.applyFilters)("editor.PostPreview.interstitialMarkup",t),e.write(t),e.title=Object(Wt.__)("Generating preview…"),e.close()}(this.previewWindow.document)):this.setPreviewWindowLink(e.target.href)}render(){const{previewLink:e,currentPostLink:t,isSaveable:n,role:o}=this.props,r=e||t,s=lo()({"editor-post-preview":!this.props.className},this.props.className);return Object(i.createElement)(wo.Button,{variant:this.props.className?void 0:"tertiary",className:s,href:r,target:this.getWindowTarget(),disabled:!n,onClick:this.openPreviewWindow,ref:this.buttonRef,role:o},this.props.textContent?this.props.textContent:Object(i.createElement)(i.Fragment,null,Object(Wt._x)("Preview","imperative verb"),Object(i.createElement)(wo.VisuallyHidden,{as:"span"},Object(Wt.__)("(opens in a new tab)"))))}}var Br=Object(d.compose)([Object(l.withSelect)((e,t)=>{let{forcePreviewLink:n,forceIsAutosaveable:o}=t;const{getCurrentPostId:r,getCurrentPostAttribute:s,getEditedPostAttribute:i,isEditedPostSaveable:a,isEditedPostAutosaveable:l,getEditedPostPreviewLink:d,isPostLocked:p}=e(to),{getPostType:b}=e(u.store),m=d(),h=b(i("type"));return{postId:r(),currentPostLink:s("link"),previewLink:void 0!==n?n:m,isSaveable:a(),isAutosaveable:o||l(),isViewable:Object(c.get)(h,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(i("status")),isPostLocked:p()}}),Object(l.withDispatch)(e=>({autosave:e(to).autosave,savePost:e(to).savePost})),Object(d.ifCondition)(e=>{let{isViewable:t}=e;return t})])(xr);function Ir(){const e="core/editor/post-locked-modal-"+Object(d.useInstanceId)(Ir),{autosave:t,updatePostLock:n}=Object(l.useDispatch)(to),{isLocked:o,isTakeover:r,user:s,postId:a,postLockUtils:b,activePostLock:m,postType:h}=Object(l.useSelect)(e=>{const{isPostLocked:t,isPostLockTakeover:n,getPostLockUser:o,getCurrentPostId:r,getActivePostLock:s,getEditedPostAttribute:i,getEditorSettings:c}=e(to),{getPostType:a}=e(u.store);return{isLocked:t(),isTakeover:n(),user:o(),postId:r(),postLockUtils:c().postLockUtils,activePostLock:s(),postType:a(i("type"))}},[]);if(Object(i.useEffect)(()=>{function r(){if(o||!m)return;const e=new window.FormData;if(e.append("action","wp-remove-post-lock"),e.append("_wpnonce",b.unlockNonce),e.append("post_ID",a),e.append("active_post_lock",m),window.navigator.sendBeacon)window.navigator.sendBeacon(b.ajaxUrl,e);else{const t=new window.XMLHttpRequest;t.open("POST",b.ajaxUrl,!1),t.send(e)}}return Object(p.addAction)("heartbeat.send",e,(function(e){o||(e["wp-refresh-post-lock"]={lock:m,post_id:a})})),Object(p.addAction)("heartbeat.tick",e,(function(e){if(!e["wp-refresh-post-lock"])return;const o=e["wp-refresh-post-lock"];o.lock_error?(t(),n({isLocked:!0,isTakeover:!0,user:{avatar:o.lock_error.avatar_src}})):o.new_lock&&n({isLocked:!1,activePostLock:o.new_lock})})),window.addEventListener("beforeunload",r),()=>{Object(p.removeAction)("heartbeat.send",e),Object(p.removeAction)("heartbeat.tick",e),window.removeEventListener("beforeunload",r)}},[]),!o)return null;const g=s.name,f=s.avatar,O=Object(_.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:a,action:"edit",_wpnonce:b.nonce}),v=T("edit.php",{post_type:Object(c.get)(h,["slug"])}),j=Object(Wt.__)("Exit the Editor");return Object(i.createElement)(wo.Modal,{title:r?Object(Wt.__)("Someone else has taken over this post."):Object(Wt.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"editor-post-locked-modal"},!!f&&Object(i.createElement)("img",{src:f,alt:Object(Wt.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!r&&Object(i.createElement)("div",null,Object(i.createElement)("div",null,g?Object(Wt.sprintf)(Object(Wt.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),g):Object(Wt.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),Object(i.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(i.createElement)(wo.Button,{variant:"primary",href:v},j))),!r&&Object(i.createElement)("div",null,Object(i.createElement)("div",null,g?Object(Wt.sprintf)(Object(Wt.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),g):Object(Wt.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),Object(i.createElement)("div",{className:"editor-post-locked-modal__buttons"},Object(i.createElement)(wo.Button,{variant:"secondary",href:v},j),Object(i.createElement)(Br,null),Object(i.createElement)(wo.Button,{variant:"primary",href:O},Object(Wt.__)("Take Over")))))}var Ar=Object(d.compose)(Object(l.withSelect)(e=>{const{isCurrentPostPublished:t,getCurrentPostType:n,getCurrentPost:o}=e(to);return{hasPublishAction:Object(c.get)(o(),["_links","wp:action-publish"],!1),isPublished:t(),postType:n()}}))((function(e){let{hasPublishAction:t,isPublished:n,children:o}=e;return n||!t?null:o}));var Rr=Object(d.compose)(Object(l.withSelect)(e=>({status:e(to).getEditedPostAttribute("status")})),Object(l.withDispatch)(e=>({onUpdateStatus(t){e(to).editPost({status:t})}})))((function(e){let{status:t,onUpdateStatus:n}=e;return Object(i.createElement)(Ar,null,Object(i.createElement)(wo.CheckboxControl,{label:Object(Wt.__)("Pending review"),checked:"pending"===t,onChange:()=>{n("pending"===t?"draft":"pending")}}))}));var Nr=Object(d.compose)([Object(l.withSelect)(e=>({pingStatus:e(to).getEditedPostAttribute("ping_status")})),Object(l.withDispatch)(e=>({editPost:e(to).editPost}))])((function(e){let{pingStatus:t="open",...n}=e;return Object(i.createElement)(wo.CheckboxControl,{label:Object(Wt.__)("Allow pingbacks & trackbacks"),checked:"open"===t,onChange:()=>n.editPost({ping_status:"open"===t?"closed":"open"})})}));var Dr=Object(d.compose)([Object(l.withSelect)((e,t)=>{let{forceIsSaving:n}=t;const{isCurrentPostPublished:o,isEditedPostBeingScheduled:r,isSavingPost:s,isPublishingPost:i,getCurrentPost:a,getCurrentPostType:l,isAutosavingPost:u}=e(to);return{isPublished:o(),isBeingScheduled:r(),isSaving:n||s(),isPublishing:i(),hasPublishAction:Object(c.get)(a(),["_links","wp:action-publish"],!1),postType:l(),isAutosaving:u()}})])((function(e){let{isPublished:t,isBeingScheduled:n,isSaving:o,isPublishing:r,hasPublishAction:s,isAutosaving:i,hasNonPostEntityChanges:c}=e;return r?Object(Wt.__)("Publishing…"):t&&o&&!i?Object(Wt.__)("Updating…"):n&&o&&!i?Object(Wt.__)("Scheduling…"):s?t?c?Object(Wt.__)("Update…"):Object(Wt.__)("Update"):n?c?Object(Wt.__)("Schedule…"):Object(Wt.__)("Schedule"):Object(Wt.__)("Publish"):c?Object(Wt.__)("Submit for Review…"):Object(Wt.__)("Submit for Review")}));class Lr extends i.Component{constructor(e){super(e),this.buttonNode=Object(i.createRef)(),this.createOnClick=this.createOnClick.bind(this),this.closeEntitiesSavedStates=this.closeEntitiesSavedStates.bind(this),this.state={entitiesSavedStatesCallback:!1}}componentDidMount(){this.props.focusOnMount&&this.buttonNode.current.focus()}createOnClick(e){var t=this;return function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];const{hasNonPostEntityChanges:s,setEntitiesSavedStatesCallback:i}=t.props;return s&&i?(t.setState({entitiesSavedStatesCallback:()=>e(...o)}),i(()=>t.closeEntitiesSavedStates),c.noop):e(...o)}}closeEntitiesSavedStates(e){const{postType:t,postId:n}=this.props,{entitiesSavedStatesCallback:o}=this.state;this.setState({entitiesSavedStatesCallback:!1},()=>{e&&Object(c.some)(e,e=>"postType"===e.kind&&e.name===t&&e.key===n)&&o()})}render(){const{forceIsDirty:e,forceIsSaving:t,hasPublishAction:n,isBeingScheduled:o,isOpen:r,isPostSavingLocked:a,isPublishable:l,isPublished:u,isSaveable:d,isSaving:p,isAutoSaving:b,isToggle:m,onSave:h,onStatusChange:g,onSubmit:f=c.noop,onToggle:O,visibility:v,hasNonPostEntityChanges:j,isSavingNonPostEntityChanges:_}=this.props,y=(p||t||!d||a||!l&&!e)&&(!j||_),E=(u||p||t||!d||!l&&!e)&&(!j||_);let S;S=n?"private"===v?"private":o?"future":"publish":"pending";const w={"aria-disabled":y,className:"editor-post-publish-button",isBusy:!b&&p&&u,variant:"primary",onClick:this.createOnClick(()=>{y||(f(),g(S),h())})},P={"aria-disabled":E,"aria-expanded":r,className:"editor-post-publish-panel__toggle",isBusy:p&&u,variant:"primary",onClick:this.createOnClick(()=>{E||O()})},k=o?Object(Wt.__)("Schedule…"):Object(Wt.__)("Publish"),C=Object(i.createElement)(Dr,{forceIsSaving:t,hasNonPostEntityChanges:j}),T=m?P:w,x=m?k:C;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(wo.Button,Object(s.a)({ref:this.buttonNode},T,{className:lo()(T.className,"editor-post-publish-button__button",{"has-changes-dot":j})}),x))}}var Ur=Object(d.compose)([Object(l.withSelect)(e=>{const{isSavingPost:t,isAutosavingPost:n,isEditedPostBeingScheduled:o,getEditedPostVisibility:r,isCurrentPostPublished:s,isEditedPostSaveable:i,isEditedPostPublishable:a,isPostSavingLocked:l,getCurrentPost:u,getCurrentPostType:d,getCurrentPostId:p,hasNonPostEntityChanges:b,isSavingNonPostEntityChanges:m}=e(to),h=n();return{isSaving:t()||h,isAutoSaving:h,isBeingScheduled:o(),visibility:r(),isSaveable:i(),isPostSavingLocked:l(),isPublishable:a(),isPublished:s(),hasPublishAction:Object(c.get)(u(),["_links","wp:action-publish"],!1),postType:d(),postId:p(),hasNonPostEntityChanges:b(),isSavingNonPostEntityChanges:m()}}),Object(l.withDispatch)(e=>{const{editPost:t,savePost:n}=e(to);return{onStatusChange:e=>t({status:e},{undoIgnore:!0}),onSave:n}})])(Lr),Fr=n("bWcr"),Mr=n("wduq");const zr=[{value:"public",label:Object(Wt.__)("Public"),info:Object(Wt.__)("Visible to everyone.")},{value:"private",label:Object(Wt.__)("Private"),info:Object(Wt.__)("Only visible to site admins and editors.")},{value:"password",label:Object(Wt.__)("Password Protected"),info:Object(Wt.__)("Protected with a password you choose. Only those with the password can view this post.")}];class Vr extends i.Component{constructor(e){super(...arguments),this.setPublic=this.setPublic.bind(this),this.setPrivate=this.setPrivate.bind(this),this.setPasswordProtected=this.setPasswordProtected.bind(this),this.updatePassword=this.updatePassword.bind(this),this.state={hasPassword:!!e.password}}setPublic(){const{visibility:e,onUpdateVisibility:t,status:n}=this.props;t("private"===e?"draft":n),this.setState({hasPassword:!1})}setPrivate(){if(!window.confirm(Object(Wt.__)("Would you like to privately publish this post now?")))return;const{onUpdateVisibility:e,onSave:t}=this.props;e("private"),this.setState({hasPassword:!1}),t()}setPasswordProtected(){const{visibility:e,onUpdateVisibility:t,status:n,password:o}=this.props;t("private"===e?"draft":n,o||""),this.setState({hasPassword:!0})}updatePassword(e){const{status:t,onUpdateVisibility:n}=this.props;n(t,e.target.value)}render(){const{visibility:e,password:t,instanceId:n}=this.props,o={public:{onSelect:this.setPublic,checked:"public"===e&&!this.state.hasPassword},private:{onSelect:this.setPrivate,checked:"private"===e},password:{onSelect:this.setPasswordProtected,checked:this.state.hasPassword}};return[Object(i.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},Object(i.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},Object(Wt.__)("Post Visibility")),zr.map(e=>{let{value:t,label:r,info:s}=e;return Object(i.createElement)("div",{key:t,className:"editor-post-visibility__choice"},Object(i.createElement)("input",{type:"radio",name:"editor-post-visibility__setting-"+n,value:t,onChange:o[t].onSelect,checked:o[t].checked,id:`editor-post-${t}-${n}`,"aria-describedby":`editor-post-${t}-${n}-description`,className:"editor-post-visibility__dialog-radio"}),Object(i.createElement)("label",{htmlFor:`editor-post-${t}-${n}`,className:"editor-post-visibility__dialog-label"},r),Object(i.createElement)("p",{id:`editor-post-${t}-${n}-description`,className:"editor-post-visibility__dialog-info"},s))})),this.state.hasPassword&&Object(i.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},Object(i.createElement)(wo.VisuallyHidden,{as:"label",htmlFor:"editor-post-visibility__dialog-password-input-"+n},Object(Wt.__)("Create password")),Object(i.createElement)("input",{className:"editor-post-visibility__dialog-password-input",id:"editor-post-visibility__dialog-password-input-"+n,type:"text",onChange:this.updatePassword,value:t,placeholder:Object(Wt.__)("Use a secure password")}))]}}var Hr=Object(d.compose)([Object(l.withSelect)(e=>{const{getEditedPostAttribute:t,getEditedPostVisibility:n}=e(to);return{status:t("status"),visibility:n(),password:t("password")}}),Object(l.withDispatch)(e=>{const{savePost:t,editPost:n}=e(to);return{onSave:t,onUpdateVisibility(e){n({status:e,password:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""})}}}),d.withInstanceId])(Vr);var Gr=Object(l.withSelect)(e=>({visibility:e(to).getEditedPostVisibility()}))((function(e){let{visibility:t}=e;return Object(c.find)(zr,{value:t}).label}));function Wr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=new Date(e);return new Date(n.getFullYear(),n.getMonth()+(t?0:1),t?1:0).toISOString()}function qr(){const{postDate:e,postType:t}=Object(l.useSelect)(e=>({postDate:e(to).getEditedPostAttribute("date"),postType:e(to).getCurrentPostType()}),[]),{editPost:n}=Object(l.useDispatch)(to),[o,r]=Object(i.useState)(Wr(e)),s=Object(l.useSelect)(e=>e(u.store).getEntityRecords("postType",t,{status:"publish,future",after:Wr(o),before:Wr(o,!1),exclude:[e(to).getCurrentPostId()]}),[o,t]),c=Object(i.useMemo)(()=>(s||[]).map(e=>{let{title:t,type:n,date:o}=e;return{title:null==t?void 0:t.rendered,type:n,date:new Date(o)}}),[s]),a=Object(i.useRef)(),d=Object(j.__experimentalGetSettings)(),p=/a(?!\\)/i.test(d.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return Object(i.createElement)(wo.DateTimePicker,{ref:a,currentDate:e,onChange:function(e){n({date:e});const{ownerDocument:t}=a.current;t.activeElement.blur()},is12Hour:p,events:c,onMonthPreviewed:r})}var Kr=Object(l.withSelect)(e=>({date:e(to).getEditedPostAttribute("date"),isFloating:e(to).isEditedPostDateFloating()}))((function(e){let{date:t,isFloating:n}=e;const o=Object(j.__experimentalGetSettings)();return t&&!n?Object(j.format)(`${o.formats.date} ${o.formats.time}`,t):Object(Wt.__)("Immediately")})),$r=n("ywyh"),Qr=n.n($r),Yr=n("gdqT");const Jr={per_page:10,orderby:"count",order:"desc",hide_empty:!0,_fields:"id,name,count",context:"view"};function Xr(e){let{onSelect:t,taxonomy:n}=e;const{_terms:o,showTerms:r}=Object(l.useSelect)(e=>{const t=e(u.store).getEntityRecords("taxonomy",n.slug,Jr);return{_terms:t,showTerms:10===(null==t?void 0:t.length)}},[]);if(!r)return null;const s=tr(o),a=Object(c.get)(n,["labels","most_used"]);return Object(i.createElement)("div",{className:"editor-post-taxonomies__flat-term-most-used"},Object(i.createElement)("h3",{className:"editor-post-taxonomies__flat-term-most-used-label"},a),Object(i.createElement)("ul",{role:"list",className:"editor-post-taxonomies__flat-term-most-used-list"},s.map(e=>Object(i.createElement)("li",{key:e.id},Object(i.createElement)(wo.Button,{variant:"link",onClick:()=>t(e)},e.name)))))}const Zr=[],es={per_page:20,orderby:"count",order:"desc",_fields:"id,name",context:"view"},ts=(e,t)=>Zo(e).toLowerCase()===Zo(t).toLowerCase(),ns=(e,t)=>e.map(e=>Object(c.find)(t,t=>ts(t.name,e)).id);var os=Object(wo.withFilters)("editor.PostTaxonomyType")((function(e){let{slug:t}=e;const[n,o]=Object(i.useState)([]),[r,s]=Object(i.useState)(""),a=Object(d.useDebounce)(s,500),{terms:p,termIds:b,taxonomy:m,hasAssignAction:h,hasCreateAction:g,hasResolvedTerms:f}=Object(l.useSelect)(e=>{const{getCurrentPost:n,getEditedPostAttribute:o}=e(to),{getEntityRecords:r,getTaxonomy:s,hasFinishedResolution:i}=e(u.store),a=n(),l=s(t),d=l?o(l.rest_base):Zr,p={...es,include:d.join(","),per_page:-1};return{hasCreateAction:!!l&&Object(c.get)(a,["_links","wp:action-create-"+l.rest_base],!1),hasAssignAction:!!l&&Object(c.get)(a,["_links","wp:action-assign-"+l.rest_base],!1),taxonomy:l,termIds:d,terms:d.length?r("taxonomy",t,p):Zr,hasResolvedTerms:i("getEntityRecords",["taxonomy",t,p])}},[t]),{searchResults:O}=Object(l.useSelect)(e=>{const{getEntityRecords:n}=e(u.store);return{searchResults:r?n("taxonomy",t,{...es,search:r}):Zr}},[r]);Object(i.useEffect)(()=>{if(f){const e=p.map(e=>Zo(e.name));o(e)}},[p,f]);const v=Object(i.useMemo)(()=>(null!=O?O:[]).map(e=>Zo(e.name)),[O]),{editPost:j}=Object(l.useDispatch)(to);if(!h)return null;function y(e){j({[m.rest_base]:e})}const E=Object(c.get)(m,["labels","add_new_item"],"post_tag"===t?Object(Wt.__)("Add new tag"):Object(Wt.__)("Add new Term")),S=Object(c.get)(m,["labels","singular_name"],"post_tag"===t?Object(Wt.__)("Tag"):Object(Wt.__)("Term")),w=Object(Wt.sprintf)(Object(Wt._x)("%s added","term"),S),P=Object(Wt.sprintf)(Object(Wt._x)("%s removed","term"),S),k=Object(Wt.sprintf)(Object(Wt._x)("Remove %s","term"),S);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(wo.FormTokenField,{value:n,suggestions:v,onChange:function(e){const t=[...p,...null!=O?O:[]],n=Object(c.uniqBy)(e,e=>e.toLowerCase()),r=n.filter(e=>!Object(c.find)(t,t=>ts(t.name,e)));if(o(n),0===r.length)return y(ns(n,t));g&&Promise.all(r.map(e=>function(e,t){const n=Object(c.escape)(e);return Qr()({path:"/wp/v2/"+t,method:"POST",data:{name:n}}).catch(o=>{if("term_exists"===o.code){return Qr()({path:Object(_.addQueryArgs)("/wp/v2/"+t,{...es,search:n})}).then(tr).then(t=>Object(c.find)(t,t=>ts(t.name,e)))}return Promise.reject(o)}).then(er)}(e,m.rest_base))).then(e=>{const o=t.concat(e);return y(ns(n,o))})},onInputChange:a,maxSuggestions:20,label:E,messages:{added:w,removed:P,remove:k}}),Object(i.createElement)(Xr,{taxonomy:m,onSelect:function(e){if(b.includes(e.id))return;const n=[...b,e.id],o=Object(Wt.sprintf)(Object(Wt._x)("%s added","term"),Object(c.get)(m,["labels","singular_name"],"post_tag"===t?Object(Wt.__)("Tag"):Object(Wt.__)("Term")));Object(Yr.speak)(o,"assertive"),y(n)}}))}));const rs=()=>{const e=[Object(Wt.__)("Suggestion:"),Object(i.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Wt.__)("Add tags"))];return Object(i.createElement)(wo.PanelBody,{initialOpen:!1,title:e},Object(i.createElement)("p",null,Object(Wt.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),Object(i.createElement)(os,{slug:"post_tag"}))};class ss extends i.Component{constructor(e){super(e),this.state={hadTagsWhenOpeningThePanel:e.hasTags}}render(){return this.state.hadTagsWhenOpeningThePanel?null:Object(i.createElement)(rs,null)}}var is=Object(d.compose)(Object(l.withSelect)(e=>{const t=e(to).getCurrentPostType(),n=e(u.store).getTaxonomy("post_tag"),o=n&&e(to).getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&Object(c.some)(n.types,e=>e===t),hasTags:o&&o.length}}),Object(d.ifCondition)(e=>{let{areTagsFetched:t,isPostTypeSupported:n}=e;return n&&t}))(ss);const cs=(e,t)=>{const n=Sr.filter(t=>Object(c.includes)(e,t.id));return Object(c.find)(n,e=>e.id===t)},as=e=>{let{suggestedPostFormat:t,suggestionText:n,onUpdatePostFormat:o}=e;return Object(i.createElement)(wo.Button,{variant:"link",onClick:()=>o(t)},n)};function ls(){const{currentPostFormat:e,suggestion:t}=Object(l.useSelect)(e=>{const{getEditedPostAttribute:t,getSuggestedPostFormat:n}=e(to),o=Object(c.get)(e(u.store).getThemeSupports(),["formats"],[]);return{currentPostFormat:t("format"),suggestion:cs(o,n())}},[]),{editPost:n}=Object(l.useDispatch)(to),o=[Object(Wt.__)("Suggestion:"),Object(i.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(Wt.__)("Use a post format"))];return t&&t.id!==e?Object(i.createElement)(wo.PanelBody,{initialOpen:!1,title:o},Object(i.createElement)("p",null,Object(Wt.__)("Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.")),Object(i.createElement)("p",null,Object(i.createElement)(as,{onUpdatePostFormat:e=>n({format:e}),suggestedPostFormat:t.id,suggestionText:Object(Wt.sprintf)(Object(Wt.__)('Apply the "%1$s" format.'),t.caption)}))):null}var us=function(e){let{children:t}=e;const{isBeingScheduled:n,isRequestingSiteIcon:o,hasPublishAction:r,siteIconUrl:s,siteTitle:a,siteHome:d}=Object(l.useSelect)(e=>{const{getCurrentPost:t,isEditedPostBeingScheduled:n}=e(to),{getEntityRecord:o,isResolving:r}=e(u.store),s=o("root","__unstableBase",void 0)||{};return{hasPublishAction:Object(c.get)(t(),["_links","wp:action-publish"],!1),isBeingScheduled:n(),isRequestingSiteIcon:r("getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:s.site_icon_url,siteTitle:s.name,siteHome:s.home&&Object(_.filterURLForDisplay)(s.home)}},[]);let p,b,m=Object(i.createElement)(wo.Icon,{className:"components-site-icon",size:"36px",icon:Mr.a});return s&&(m=Object(i.createElement)("img",{alt:Object(Wt.__)("Site Icon"),className:"components-site-icon",src:s})),o&&(m=null),r?n?(p=Object(Wt.__)("Are you ready to schedule?"),b=Object(Wt.__)("Your work will be published at the specified date and time.")):(p=Object(Wt.__)("Are you ready to publish?"),b=Object(Wt.__)("Double-check your settings before publishing.")):(p=Object(Wt.__)("Are you ready to submit for review?"),b=Object(Wt.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),Object(i.createElement)("div",{className:"editor-post-publish-panel__prepublish"},Object(i.createElement)("div",null,Object(i.createElement)("strong",null,p)),Object(i.createElement)("p",null,b),Object(i.createElement)("div",{className:"components-site-card"},m,Object(i.createElement)("div",{className:"components-site-info"},Object(i.createElement)("span",{className:"components-site-name"},Object(No.decodeEntities)(a)||Object(Wt.__)("(Untitled)")),Object(i.createElement)("span",{className:"components-site-home"},d))),r&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(wo.PanelBody,{initialOpen:!1,title:[Object(Wt.__)("Visibility:"),Object(i.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(i.createElement)(Gr,null))]},Object(i.createElement)(Hr,null)),Object(i.createElement)(wo.PanelBody,{initialOpen:!1,title:[Object(Wt.__)("Publish:"),Object(i.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},Object(i.createElement)(Kr,null))]},Object(i.createElement)(qr,null))),Object(i.createElement)(ls,null),Object(i.createElement)(is,null),t)};function ds(e){let{text:t,onCopy:n,children:o}=e;const r=Object(d.useCopyToClipboard)(t,n);return Object(i.createElement)(wo.Button,{variant:"secondary",ref:r},o)}class ps extends i.Component{constructor(){super(...arguments),this.state={showCopyConfirmation:!1},this.onCopy=this.onCopy.bind(this),this.onSelectInput=this.onSelectInput.bind(this),this.postLink=Object(i.createRef)()}componentDidMount(){this.props.focusOnMount&&this.postLink.current.focus()}componentWillUnmount(){clearTimeout(this.dismissCopyConfirmation)}onCopy(){this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout(()=>{this.setState({showCopyConfirmation:!1})},4e3)}onSelectInput(e){e.target.select()}render(){const{children:e,isScheduled:t,post:n,postType:o}=this.props,r=Object(c.get)(o,["labels","singular_name"]),s=Object(c.get)(o,["labels","view_item"]),a=Object(c.get)(o,["labels","add_new_item"]),l="future"===n.status?(e=>{const{slug:t}=e;return e.permalink_template.includes("%postname%")?e.permalink_template.replace("%postname%",t):e.permalink_template})(n):n.link,u=Object(_.addQueryArgs)("post-new.php",{post_type:n.type}),d=t?Object(i.createElement)(i.Fragment,null,Object(Wt.__)("is now scheduled. It will go live on")," ",Object(i.createElement)(Kr,null),"."):Object(Wt.__)("is now live.");return Object(i.createElement)("div",{className:"post-publish-panel__postpublish"},Object(i.createElement)(wo.PanelBody,{className:"post-publish-panel__postpublish-header"},Object(i.createElement)("a",{ref:this.postLink,href:l},Object(No.decodeEntities)(n.title)||Object(Wt.__)("(no title)"))," ",d),Object(i.createElement)(wo.PanelBody,null,Object(i.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},Object(i.createElement)("strong",null,Object(Wt.__)("What’s next?"))),Object(i.createElement)("div",{className:"post-publish-panel__postpublish-post-address-container"},Object(i.createElement)(wo.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:Object(Wt.sprintf)(Object(Wt.__)("%s address"),r),value:Object(_.safeDecodeURIComponent)(l),onFocus:this.onSelectInput}),Object(i.createElement)("div",{className:"post-publish-panel__postpublish-post-address__copy-button-wrap"},Object(i.createElement)(ds,{text:l,onCopy:this.onCopy},this.state.showCopyConfirmation?Object(Wt.__)("Copied!"):Object(Wt.__)("Copy")))),Object(i.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!t&&Object(i.createElement)(wo.Button,{variant:"primary",href:l},s),Object(i.createElement)(wo.Button,{variant:t?"primary":"secondary",href:u},a))),e)}}var bs=Object(l.withSelect)(e=>{const{getEditedPostAttribute:t,getCurrentPost:n,isCurrentPostScheduled:o}=e(to),{getPostType:r}=e(u.store);return{post:n(),postType:r(t("type")),isScheduled:o()}})(ps);class ms extends i.Component{constructor(){super(...arguments),this.onSubmit=this.onSubmit.bind(this)}componentDidUpdate(e){e.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}onSubmit(){const{onClose:e,hasPublishAction:t,isPostTypeViewable:n}=this.props;t&&n||e()}render(){const{forceIsDirty:e,forceIsSaving:t,isBeingScheduled:n,isPublished:o,isPublishSidebarEnabled:r,isScheduled:a,isSaving:l,isSavingNonPostEntityChanges:u,onClose:d,onTogglePublishSidebar:p,PostPublishExtension:b,PrePublishExtension:m,...h}=this.props,g=Object(c.omit)(h,["hasPublishAction","isDirty","isPostTypeViewable"]),f=o||a&&n,O=!f&&!l,v=f&&!l;return Object(i.createElement)("div",Object(s.a)({className:"editor-post-publish-panel"},g),Object(i.createElement)("div",{className:"editor-post-publish-panel__header"},v?Object(i.createElement)(wo.Button,{onClick:d,icon:Fr.a,label:Object(Wt.__)("Close panel")}):Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},Object(i.createElement)(Ur,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:e,forceIsSaving:t})),Object(i.createElement)("div",{className:"editor-post-publish-panel__header-cancel-button"},Object(i.createElement)(wo.Button,{disabled:u,onClick:d,variant:"secondary"},Object(Wt.__)("Cancel"))))),Object(i.createElement)("div",{className:"editor-post-publish-panel__content"},O&&Object(i.createElement)(us,null,m&&Object(i.createElement)(m,null)),v&&Object(i.createElement)(bs,{focusOnMount:!0},b&&Object(i.createElement)(b,null)),l&&Object(i.createElement)(wo.Spinner,null)),Object(i.createElement)("div",{className:"editor-post-publish-panel__footer"},Object(i.createElement)(wo.CheckboxControl,{label:Object(Wt.__)("Always show pre-publish checks."),checked:r,onChange:p})))}}var hs=Object(d.compose)([Object(l.withSelect)(e=>{const{getPostType:t}=e(u.store),{getCurrentPost:n,getEditedPostAttribute:o,isCurrentPostPublished:r,isCurrentPostScheduled:s,isEditedPostBeingScheduled:i,isEditedPostDirty:a,isSavingPost:l,isSavingNonPostEntityChanges:d}=e(to),{isPublishSidebarEnabled:p}=e(to),b=t(o("type"));return{hasPublishAction:Object(c.get)(n(),["_links","wp:action-publish"],!1),isPostTypeViewable:Object(c.get)(b,["viewable"],!1),isBeingScheduled:i(),isDirty:a(),isPublished:r(),isPublishSidebarEnabled:p(),isSaving:l(),isSavingNonPostEntityChanges:d(),isScheduled:s()}}),Object(l.withDispatch)((e,t)=>{let{isPublishSidebarEnabled:n}=t;const{disablePublishSidebar:o,enablePublishSidebar:r}=e(to);return{onTogglePublishSidebar:()=>{n?o():r()}}}),wo.withFocusReturn,wo.withConstrainedTabbing])(ms);var gs=Object(i.createElement)(Pr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Pr.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-4v-2.4L14 14l1-1-3-3-3 3 1 1 1.2-1.2v2.4H7.7c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4H9l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8 0 1-.8 1.8-1.7 1.8z"})),fs=n("iClF"),Os=n("RMJe");var vs=Object(i.createElement)(Pr.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(Pr.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-9c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4h1.3l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8-.1 1-.9 1.8-1.8 1.8z"}));var js=Object(d.compose)([Object(l.withSelect)(e=>{const{isSavingPost:t,isCurrentPostPublished:n,isCurrentPostScheduled:o}=e(to);return{isSaving:t(),isPublished:n(),isScheduled:o()}}),Object(l.withDispatch)(e=>{const{editPost:t,savePost:n}=e(to);return{onClick:()=>{t({status:"draft"}),n()}}})])((function(e){let{isSaving:t,isPublished:n,isScheduled:o,onClick:r}=e;const s=Object(d.useViewportMatch)("small","<");return n||o?Object(i.createElement)(wo.Button,{className:"editor-post-switch-to-draft",onClick:()=>{let e;n?e=Object(Wt.__)("Are you sure you want to unpublish this post?"):o&&(e=Object(Wt.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&r()},disabled:t,variant:"tertiary"},s?Object(Wt.__)("Draft"):Object(Wt.__)("Switch to draft")):null}));function _s(e){let{forceIsDirty:t,forceIsSaving:n,showIconLabels:o=!1}=e;const[r,s]=Object(i.useState)(!1),c=Object(d.useViewportMatch)("small"),{isAutosaving:a,isDirty:u,isNew:p,isPending:b,isPublished:m,isSaveable:h,isSaving:g,isScheduled:f,hasPublishAction:O}=Object(l.useSelect)(e=>{var o,r,s;const{isEditedPostNew:i,isCurrentPostPublished:c,isCurrentPostScheduled:a,isEditedPostDirty:l,isSavingPost:u,isEditedPostSaveable:d,getCurrentPost:p,isAutosavingPost:b,getEditedPostAttribute:m}=e(to);return{isAutosaving:b(),isDirty:t||l(),isNew:i(),isPending:"pending"===m("status"),isPublished:c(),isSaving:n||u(),isSaveable:d(),isScheduled:a(),hasPublishAction:null!==(o=null===(r=p())||void 0===r||null===(s=r._links)||void 0===s?void 0:s["wp:action-publish"])&&void 0!==o&&o}},[t,n]),{savePost:v}=Object(l.useDispatch)(to),j=Object(d.usePrevious)(g);if(Object(i.useEffect)(()=>{let e;return j&&!g&&(s(!0),e=setTimeout(()=>{s(!1)},1e3)),()=>clearTimeout(e)},[g]),!O&&b)return null;if(m||f)return Object(i.createElement)(js,null);const _=b?Object(Wt.__)("Save as pending"):Object(Wt.__)("Save draft"),y=Object(Wt.__)("Save"),E=r||!p&&!u,S=g||E,w=g||E||!h;let P;return g?P=a?Object(Wt.__)("Autosaving"):Object(Wt.__)("Saving"):E?P=Object(Wt.__)("Saved"):c?P=_:o&&(P=y),Object(i.createElement)(wo.Button,{className:h||g?lo()({"editor-post-save-draft":!S,"editor-post-saved-state":S,"is-saving":g,"is-autosaving":a,"is-saved":E,[Object(wo.__unstableGetAnimateClassName)({type:"loading"})]:g}):void 0,onClick:w?void 0:()=>v(),shortcut:Po.displayShortcut.primary("s"),variant:c?"tertiary":void 0,icon:c?void 0:gs,label:_,"aria-disabled":w},S&&Object(i.createElement)(fs.a,{icon:E?Os.a:vs}),P)}var ys=Object(d.compose)([Object(l.withSelect)(e=>{const{getCurrentPost:t,getCurrentPostType:n}=e(to);return{hasPublishAction:Object(c.get)(t(),["_links","wp:action-publish"],!1),postType:n()}})])((function(e){let{hasPublishAction:t,children:n}=e;return t?n:null}));function Es(e){let{children:t}=e;return Object(i.createElement)(Qo,{supportKeys:"slug"},t)}class Ss extends i.Component{constructor(e){let{postSlug:t,postTitle:n,postID:o}=e;super(...arguments),this.state={editedSlug:Object(_.safeDecodeURIComponent)(t)||x(n)||o},this.setSlug=this.setSlug.bind(this)}setSlug(e){const{postSlug:t,onUpdateSlug:n}=this.props,{value:o}=e.target,r=x(o);r!==t&&n(r)}render(){const{instanceId:e}=this.props,{editedSlug:t}=this.state,n="editor-post-slug-"+e;return Object(i.createElement)(Es,null,Object(i.createElement)("label",{htmlFor:n},Object(Wt.__)("Slug")),Object(i.createElement)("input",{autoComplete:"off",spellCheck:"false",type:"text",id:n,value:t,onChange:e=>this.setState({editedSlug:e.target.value}),onBlur:this.setSlug,className:"editor-post-slug__input"}))}}var ws=Object(d.compose)([Object(l.withSelect)(e=>{const{getCurrentPost:t,getEditedPostAttribute:n}=e(to),{id:o}=t();return{postSlug:n("slug"),postTitle:n("title"),postID:o}}),Object(l.withDispatch)(e=>{const{editPost:t}=e(to);return{onUpdateSlug(e){t({slug:e})}}}),d.withInstanceId])(Ss);var Ps=Object(d.compose)([Object(l.withSelect)(e=>{const t=e(to).getCurrentPost();return{hasStickyAction:Object(c.get)(t,["_links","wp:action-sticky"],!1),postType:e(to).getCurrentPostType()}})])((function(e){let{hasStickyAction:t,postType:n,children:o}=e;return"post"===n&&t?o:null}));var ks=Object(d.compose)([Object(l.withSelect)(e=>({postSticky:e(to).getEditedPostAttribute("sticky")})),Object(l.withDispatch)(e=>({onUpdateSticky(t){e(to).editPost({sticky:t})}}))])((function(e){let{onUpdateSticky:t,postSticky:n=!1}=e;return Object(i.createElement)(Ps,null,Object(i.createElement)(wo.CheckboxControl,{label:Object(Wt.__)("Stick to the top of the blog"),checked:n,onChange:()=>t(!n)}))}));const Cs={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent",context:"view"},Ts=[];var xs=Object(wo.withFilters)("editor.PostTaxonomyType")((function(e){let{slug:t}=e;const[n,o]=Object(i.useState)(!1),[r,s]=Object(i.useState)(""),[a,p]=Object(i.useState)(""),[b,m]=Object(i.useState)(!1),[h,g]=Object(i.useState)(""),[f,O]=Object(i.useState)([]),v=Object(d.useDebounce)(Yr.speak,500),{hasCreateAction:j,hasAssignAction:_,terms:y,loading:E,availableTerms:S,taxonomy:w}=Object(l.useSelect)(e=>{const{getCurrentPost:n,getEditedPostAttribute:o}=e(to),{getTaxonomy:r,getEntityRecords:s,isResolving:i}=e(u.store),a=r(t);return{hasCreateAction:!!a&&Object(c.get)(n(),["_links","wp:action-create-"+a.rest_base],!1),hasAssignAction:!!a&&Object(c.get)(n(),["_links","wp:action-assign-"+a.rest_base],!1),terms:a?o(a.rest_base):Ts,loading:i("getEntityRecords",["taxonomy",t,Cs]),availableTerms:s("taxonomy",t,Cs)||Ts,taxonomy:a}},[t]),{editPost:P}=Object(l.useDispatch)(to),{saveEntityRecord:k}=Object(l.useDispatch)(u.store),C=Object(i.useMemo)(()=>function(e,t){const n=e=>-1!==t.indexOf(e.id)||void 0!==e.children&&e.children.map(n).filter(e=>e).length>0,o=[...e];return o.sort((e,t)=>{const o=n(e),r=n(t);return o===r?0:o&&!r?-1:!o&&r?1:0}),o}(Xo(S),y),[S]);if(!_)return null;const T=e=>{P({[w.rest_base]:e})},x=e=>e.map(e=>Object(i.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},Object(i.createElement)(wo.CheckboxControl,{checked:-1!==y.indexOf(e.id),onChange:()=>{(e=>{const t=y.includes(e)?Object(c.without)(y,e):[...y,e];T(t)})(parseInt(e.id,10))},label:Object(c.unescape)(e.name)}),!!e.children.length&&Object(i.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},x(e.children)))),B=(e,n,o)=>Object(c.get)(w,["labels",e],"category"===t?n:o),I=B("add_new_item",Object(Wt.__)("Add new category"),Object(Wt.__)("Add new term")),A=B("new_item_name",Object(Wt.__)("Add new category"),Object(Wt.__)("Add new term")),R=B("parent_item",Object(Wt.__)("Parent Category"),Object(Wt.__)("Parent Term")),N=`— ${R} —`,D=I,L=Object(c.get)(w,["labels","search_items"],Object(Wt.__)("Search Terms")),U=Object(c.get)(w,["name"],Object(Wt.__)("Terms")),F=S.length>=8;return Object(i.createElement)(i.Fragment,null,F&&Object(i.createElement)(wo.TextControl,{className:"editor-post-taxonomies__hierarchical-terms-filter",label:L,value:h,onChange:e=>{const t=C.map(function(e){const t=n=>{if(""===e)return n;const o={...n};return o.children.length>0&&(o.children=o.children.map(t).filter(e=>e)),(-1!==o.name.toLowerCase().indexOf(e.toLowerCase())||o.children.length>0)&&o};return t}(e)).filter(e=>e),n=e=>{let t=0;for(let o=0;o<e.length;o++)t++,void 0!==e[o].children&&(t+=n(e[o].children));return t};g(e),O(t);const o=n(t),r=Object(Wt.sprintf)(Object(Wt._n)("%d result found.","%d results found.",o),o);v(r,"assertive")}}),Object(i.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",tabIndex:"0",role:"group","aria-label":U},x(""!==h?f:C)),!E&&j&&Object(i.createElement)(wo.Button,{onClick:()=>{m(!b)},className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":b,variant:"link"},I),b&&Object(i.createElement)("form",{onSubmit:async e=>{if(e.preventDefault(),""===r||n)return;const i=function(e,t,n){return Object(c.find)(e,e=>(!e.parent&&!t||parseInt(e.parent)===parseInt(t))&&e.name.toLowerCase()===n.toLowerCase())}(S,a,r);if(i)return Object(c.some)(y,e=>e===i.id)||T([...y,i.id]),s(""),void p("");o(!0);const l=await(u={name:r,parent:a||void 0},k("taxonomy",t,u));var u;const d=Object(Wt.sprintf)(Object(Wt._x)("%s added","term"),Object(c.get)(w,["labels","singular_name"],"category"===t?Object(Wt.__)("Category"):Object(Wt.__)("Term")));Object(Yr.speak)(d,"assertive"),o(!1),s(""),p(""),T([...y,l.id])}},Object(i.createElement)(wo.TextControl,{className:"editor-post-taxonomies__hierarchical-terms-input",label:A,value:r,onChange:e=>{s(e)},required:!0}),!!S.length&&Object(i.createElement)(wo.TreeSelect,{label:R,noOptionLabel:N,onChange:e=>{p(e)},selectedId:a,tree:C}),Object(i.createElement)(wo.Button,{variant:"secondary",type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},D)))}));var Bs=Object(d.compose)([Object(l.withSelect)(e=>({postType:e(to).getCurrentPostType(),taxonomies:e(u.store).getTaxonomies({per_page:-1})}))])((function(e){let{postType:t,taxonomies:n,taxonomyWrapper:o=c.identity}=e;const r=Object(c.filter)(n,e=>Object(c.includes)(e.types,t));return Object(c.filter)(r,e=>e.visibility.show_ui).map(e=>{const t=e.hierarchical?xs:os;return Object(i.createElement)(i.Fragment,{key:"taxonomy-"+e.slug},o(Object(i.createElement)(t,{slug:e.slug}),e))})}));var Is=Object(d.compose)([Object(l.withSelect)(e=>({postType:e(to).getCurrentPostType(),taxonomies:e(u.store).getTaxonomies({per_page:-1})}))])((function(e){let{postType:t,taxonomies:n,children:o}=e;return Object(c.some)(n,e=>Object(c.includes)(e.types,t))?o:null})),As=n("O6Fj"),Rs=n.n(As);function Ns(){const e=Object(l.useSelect)(e=>e(to).getEditedPostContent(),[]),{editPost:t,resetEditorBlocks:n}=Object(l.useDispatch)(to),[o,r]=Object(i.useState)(e),[s,c]=Object(i.useState)(!1),u=Object(d.useInstanceId)(Ns);s||o===e||r(e);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(wo.VisuallyHidden,{as:"label",htmlFor:"post-content-"+u},Object(Wt.__)("Type text or HTML")),Object(i.createElement)(Rs.a,{autoComplete:"off",dir:"auto",value:o,onChange:e=>{const n=e.target.value;t({content:n}),r(n),c(!0)},onBlur:()=>{if(s){const e=Object(a.parse)(o);n(e),c(!1)}},className:"editor-post-text-editor",id:"post-content-"+u,placeholder:Object(Wt.__)("Start writing with text or HTML")}))}const Ds=/[\r\n]+/g;function Ls(){const e=Object(i.useRef)(),[t,n]=Object(i.useState)(!1),{editPost:o}=Object(l.useDispatch)(to),{insertDefaultBlock:r,clearSelectedBlock:s,insertBlocks:c}=Object(l.useDispatch)(m.store),{isCleanNewPost:u,title:p,placeholder:b,isFocusMode:h,hasFixedToolbar:g}=Object(l.useSelect)(e=>{const{getEditedPostAttribute:t,isCleanNewPost:n}=e(to),{getSettings:o}=e(m.store),{titlePlaceholder:r,focusMode:s,hasFixedToolbar:i}=o();return{isCleanNewPost:n(),title:t("title"),placeholder:r,isFocusMode:s,hasFixedToolbar:i}},[]);function f(e){c(e,0)}function O(e){o({title:e})}Object(i.useEffect)(()=>{if(!e.current)return;const{ownerDocument:t}=e.current,{activeElement:n,body:o}=t;!u||n&&o!==n||e.current.focus()},[u]);const[v,j]=Object(i.useState)({});function _(){n(!1),j({})}const y=lo()("wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text",{"is-selected":t,"is-focus-mode":h,"has-fixed-toolbar":g}),E=Object(No.decodeEntities)(b)||Object(Wt.__)("Add title"),{ref:S}=Object(co.__unstableUseRichText)({value:p,onChange:function(e){O(e.replace(Ds," "))},placeholder:E,selectionStart:v.start,selectionEnd:v.end,onSelectionChange(e,t){j(n=>{const{start:o,end:r}=n;return o===e&&r===t?n:{start:e,end:t}})},__unstableDisableFormats:!0,preserveWhiteSpace:!0});return Object(i.createElement)(Qo,{supportKeys:"title"},Object(i.createElement)("h1",{ref:Object(d.useMergeRefs)([S,e]),contentEditable:!0,className:y,"aria-label":E,role:"textbox","aria-multiline":"true",onFocus:function(){n(!0),s()},onBlur:_,onKeyDown:function(e){e.keyCode===Po.ENTER&&(e.preventDefault(),r(void 0,void 0,0))},onKeyPress:_,onPaste:function(e){const t=e.clipboardData;let n="",o="";try{n=t.getData("text/plain"),o=t.getData("text/html")}catch(e){try{o=t.getData("Text")}catch(e){return}}window.console.log("Received HTML:\n\n",o),window.console.log("Received plain text:\n\n",n);const r=Object(a.pasteHandler)({HTML:o,plainText:n});if("string"!=typeof r&&r.length){e.preventDefault();const[t]=r;p||"core/heading"!==t.name&&"core/paragraph"!==t.name?f(r):(O(t.attributes.content),f(r.slice(1)))}}}))}var Us=Object(d.compose)([Object(l.withSelect)(e=>{const{isEditedPostNew:t,getCurrentPostId:n,getCurrentPostType:o}=e(to);return{isNew:t(),postId:n(),postType:o()}}),Object(l.withDispatch)(e=>({trashPost:e(to).trashPost}))])((function(e){let{isNew:t,postId:n,postType:o,...r}=e;return t||!n?null:Object(i.createElement)(wo.Button,{className:"editor-post-trash",isDestructive:!0,variant:"tertiary",onClick:()=>r.trashPost(n,o)},Object(Wt.__)("Move to trash"))}));var Fs=Object(l.withSelect)(e=>{const{isEditedPostNew:t,getCurrentPostId:n,getCurrentPostType:o}=e(to),{getPostType:r,canUser:s}=e(u.store),i=n(),c=r(o()),a=(null==c?void 0:c.rest_base)||"";return{isNew:t(),postId:i,canUserDelete:!(!i||!a)&&s("delete",a,i)}})((function(e){let{isNew:t,postId:n,canUserDelete:o,children:r}=e;return!t&&n&&o?r:null}));var Ms=Object(d.compose)([Object(l.withSelect)(e=>{const{getCurrentPost:t,getCurrentPostType:n}=e(to);return{hasPublishAction:Object(c.get)(t(),["_links","wp:action-publish"],!1),postType:n()}})])((function(e){let{hasPublishAction:t,render:n}=e;return n({canEdit:t})})),zs=n("FnAh"),Vs=n("7fqt");function Hs(){const e=Object(l.useSelect)(e=>e(to).getEditedPostAttribute("content"),[]),t=Object(Wt._x)("words","Word count type. Do not translate!");return Object(i.createElement)("span",{className:"word-count"},Object(Vs.count)(e,t))}function Gs(){const e=Object(l.useSelect)(e=>e(to).getEditedPostAttribute("content"),[]);return Object(Vs.count)(e,"characters_including_spaces")}var Ws=function(e){let{hasOutlineItemsDisabled:t,onRequestClose:n}=e;const{headingCount:o,paragraphCount:r,numberOfBlocks:s}=Object(l.useSelect)(e=>{const{getGlobalBlockCount:t}=e(m.store);return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}},[]);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":Object(Wt.__)("Document Statistics"),tabIndex:"0"},Object(i.createElement)("ul",{role:"list",className:"table-of-contents__counts"},Object(i.createElement)("li",{className:"table-of-contents__count"},Object(Wt.__)("Characters"),Object(i.createElement)("span",{className:"table-of-contents__number"},Object(i.createElement)(Gs,null))),Object(i.createElement)("li",{className:"table-of-contents__count"},Object(Wt.__)("Words"),Object(i.createElement)(Hs,null)),Object(i.createElement)("li",{className:"table-of-contents__count"},Object(Wt.__)("Headings"),Object(i.createElement)("span",{className:"table-of-contents__number"},o)),Object(i.createElement)("li",{className:"table-of-contents__count"},Object(Wt.__)("Paragraphs"),Object(i.createElement)("span",{className:"table-of-contents__number"},r)),Object(i.createElement)("li",{className:"table-of-contents__count"},Object(Wt.__)("Blocks"),Object(i.createElement)("span",{className:"table-of-contents__number"},s)))),o>0&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("hr",null),Object(i.createElement)("h2",{className:"table-of-contents__title"},Object(Wt.__)("Document Outline")),Object(i.createElement)(Oo,{onSelect:n,hasOutlineItemsDisabled:t})))};var qs=Object(i.forwardRef)((function(e,t){let{hasOutlineItemsDisabled:n,repositionDropdown:o,...r}=e;const c=Object(l.useSelect)(e=>!!e(m.store).getBlockCount(),[]);return Object(i.createElement)(wo.Dropdown,{position:o?"middle right right":"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:e=>{let{isOpen:n,onToggle:o}=e;return Object(i.createElement)(wo.Button,Object(s.a)({},r,{ref:t,onClick:c?o:void 0,icon:zs.a,"aria-expanded":n,"aria-haspopup":"true",label:Object(Wt.__)("Details"),tooltipPosition:"bottom","aria-disabled":!c}))},renderContent:e=>{let{onClose:t}=e;return Object(i.createElement)(Ws,{onRequestClose:t,hasOutlineItemsDisabled:n})}})}));function Ks(){const e=Object(l.useSelect)(e=>()=>{const{__experimentalGetDirtyEntityRecords:t}=e(u.store);return t().length>0},[]),t=t=>{if(e())return t.returnValue=Object(Wt.__)("You have unsaved changes. If you proceed, they will be lost."),t.returnValue};return Object(i.useEffect)(()=>(window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}),[]),null}var $s=n("diJD");var Qs=Object(d.createHigherOrderComponent)(e=>Object(l.withRegistry)(t=>{const{useSubRegistry:n=!0,registry:o,...r}=t;if(!n)return Object(i.createElement)(e,r);const[s,c]=Object(i.useState)(null);return Object(i.useEffect)(()=>{const e=Object(l.createRegistry)({"core/block-editor":m.storeConfig},o);e.registerStore("core/editor",eo),c(e)},[o]),s?Object(i.createElement)(l.RegistryProvider,{value:s},Object(i.createElement)(e,r)):null}),"withRegistryProvider"),Ys=n("6aBm");function Js(e){let{additionalData:t={},allowedTypes:n,filesList:o,maxUploadFileSize:r,onError:s=c.noop,onFileChange:i}=e;const{getCurrentPostId:a,getEditorSettings:u}=Object(l.select)(to),d=u().allowedMimeTypes;r=r||u().maxUploadFileSize,Object(Ys.uploadMedia)({allowedTypes:n,filesList:o,onFileChange:i,additionalData:{post:a(),...t},maxUploadFileSize:r,onError:e=>{let{message:t}=e;return s(t)},wpAllowedMimeTypes:d})}var Xs=function(e,t){const{reusableBlocks:n,hasUploadPermissions:o,canUseUnfilteredHTML:r,userCanCreatePages:s}=Object(l.useSelect)(e=>{const{canUserUseUnfilteredHTML:t}=e(to),n="web"===i.Platform.OS,{canUser:o,getUnstableBase:r,hasFinishedResolution:s}=e(u.store),a=r(),l=s("getUnstableBase");return{canUseUnfilteredHTML:t(),reusableBlocks:n?e(u.store).getEntityRecords("postType","wp_block",{per_page:-1}):[],hasUploadPermissions:Object(c.defaultTo)(o("create","media"),!0),hasResolvedLocalSiteData:l,baseUrl:(null==a?void 0:a.url)||"",userCanCreatePages:o("create","pages")}},[]),{undo:a}=Object(l.useDispatch)(to),{saveEntityRecord:d}=Object(l.useDispatch)(u.store),p=e=>s?d("postType","page",e):Promise.reject({message:Object(Wt.__)("You do not have permission to create Pages.")});return Object(i.useMemo)(()=>({...Object(c.pick)(e,["__experimentalBlockDirectory","__experimentalBlockPatternCategories","__experimentalBlockPatterns","__experimentalFeatures","__experimentalPreferredStyleVariations","__experimentalSetIsInserterOpened","__experimentalGenerateAnchors","__unstableGalleryWithImageBlocks","alignWide","allowedBlockTypes","bodyPlaceholder","codeEditingEnabled","colors","disableCustomColors","disableCustomFontSizes","disableCustomGradients","enableCustomLineHeight","enableCustomSpacing","enableCustomUnits","focusMode","fontSizes","gradients","hasFixedToolbar","hasReducedUI","imageDefaultSize","imageDimensions","imageEditing","imageSizes","isRTL","keepCaretInsideBlock","maxWidth","onUpdateDefaultBlockStyles","styles","template","templateLock","titlePlaceholder","supportsLayout","widgetTypesToHideFromLegacyWidgetBlock"]),mediaUpload:o?Js:void 0,__experimentalReusableBlocks:n,__experimentalFetchLinkSuggestions:(t,n)=>Object(u.__experimentalFetchLinkSuggestions)(t,n,e),__experimentalFetchRichUrlData:u.__experimentalFetchUrlData,__experimentalCanUserUseUnfilteredHTML:r,__experimentalUndo:a,outlineMode:t,__experimentalCreatePageEntity:p,__experimentalUserCanCreatePages:s}),[e,o,n,r,a,t,s])};var Zs=Qs((function(e){let{__unstableTemplate:t,post:n,settings:o,recovery:r,initialEdits:s,children:c}=e;const a=Object(i.useMemo)(()=>"wp_template"===n.type?{}:{postId:n.id,postType:n.type},[n.id,n.type]),{selection:d,isReady:p}=Object(l.useSelect)(e=>{const{getEditorSelection:t,__unstableIsEditorReady:n}=e(to);return{isReady:n(),selection:t()}},[]),{id:b,type:h}=null!=t?t:n,[g,f,O]=Object(u.useEntityBlockEditor)("postType",h,{id:b}),v=Xs(o,!!t),{updatePostLock:j,setupEditor:_,updateEditorSettings:y,__experimentalTearDownEditor:E}=Object(l.useDispatch)(to),{createWarningNotice:S}=Object(l.useDispatch)(Gt.store);return Object(i.useLayoutEffect)(()=>{if(!r)return j(o.postLock),_(n,s,o.template),o.autosave&&S(Object(Wt.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:Object(Wt.__)("View the autosave"),url:o.autosave.editLink}]}),()=>{E()}},[]),Object(i.useEffect)(()=>{y(o)},[o]),p?Object(i.createElement)(u.EntityProvider,{kind:"root",type:"site"},Object(i.createElement)(u.EntityProvider,{kind:"postType",type:n.type,id:n.id},Object(i.createElement)(m.BlockContextProvider,{value:a},Object(i.createElement)(m.BlockEditorProvider,{value:g,onChange:O,onInput:f,selection:d,settings:v,useSubRegistry:!1},c,Object(i.createElement)($s.ReusableBlocksMenuItems,null))))):null})),ei=n("JREk"),ti=n.n(ei);function ni(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const o=Object(i.forwardRef)((n,o)=>(E()("wp.editor."+e,{since:"5.3",alternative:"wp.blockEditor."+e}),Object(i.createElement)(t,Object(s.a)({ref:o},n))));return n.forEach(n=>{o[n]=ni(e+"."+n,t[n])}),o}function oi(e,t){return function(){return E()("wp.editor."+e,{since:"5.3",alternative:"wp.blockEditor."+e}),t(...arguments)}}const ri=ni("RichText",m.RichText,["Content"]);ri.isEmpty=oi("RichText.isEmpty",m.RichText.isEmpty);const si=ni("Autocomplete",m.Autocomplete),ii=ni("AlignmentToolbar",m.AlignmentToolbar),ci=ni("BlockAlignmentToolbar",m.BlockAlignmentToolbar),ai=ni("BlockControls",m.BlockControls,["Slot"]),li=ni("BlockEdit",m.BlockEdit),ui=ni("BlockEditorKeyboardShortcuts",m.BlockEditorKeyboardShortcuts),di=ni("BlockFormatControls",m.BlockFormatControls,["Slot"]),pi=ni("BlockIcon",m.BlockIcon),bi=ni("BlockInspector",m.BlockInspector),mi=ni("BlockList",m.BlockList),hi=ni("BlockMover",m.BlockMover),gi=ni("BlockNavigationDropdown",m.BlockNavigationDropdown),fi=ni("BlockSelectionClearer",m.BlockSelectionClearer),Oi=ni("BlockSettingsMenu",m.BlockSettingsMenu),vi=ni("BlockTitle",m.BlockTitle),ji=ni("BlockToolbar",m.BlockToolbar),_i=ni("ColorPalette",m.ColorPalette),yi=ni("ContrastChecker",m.ContrastChecker),Ei=ni("CopyHandler",m.CopyHandler),Si=ni("DefaultBlockAppender",m.DefaultBlockAppender),wi=ni("FontSizePicker",m.FontSizePicker),Pi=ni("Inserter",m.Inserter),ki=ni("InnerBlocks",m.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),Ci=ni("InspectorAdvancedControls",m.InspectorAdvancedControls,["Slot"]),Ti=ni("InspectorControls",m.InspectorControls,["Slot"]),xi=ni("PanelColorSettings",m.PanelColorSettings),Bi=ni("PlainText",m.PlainText),Ii=ni("RichTextShortcut",m.RichTextShortcut),Ai=ni("RichTextToolbarButton",m.RichTextToolbarButton),Ri=ni("__unstableRichTextInputEvent",m.__unstableRichTextInputEvent),Ni=ni("MediaPlaceholder",m.MediaPlaceholder),Di=ni("MediaUpload",m.MediaUpload),Li=ni("MediaUploadCheck",m.MediaUploadCheck),Ui=ni("MultiSelectScrollIntoView",m.MultiSelectScrollIntoView),Fi=ni("NavigableToolbar",m.NavigableToolbar),Mi=ni("ObserveTyping",m.ObserveTyping),zi=ni("PreserveScrollInReorder",m.PreserveScrollInReorder),Vi=ni("SkipToSelectedBlock",m.SkipToSelectedBlock),Hi=ni("URLInput",m.URLInput),Gi=ni("URLInputButton",m.URLInputButton),Wi=ni("URLPopover",m.URLPopover),qi=ni("Warning",m.Warning),Ki=ni("WritingFlow",m.WritingFlow),$i=oi("createCustomColorsHOC",m.createCustomColorsHOC),Qi=oi("getColorClassName",m.getColorClassName),Yi=oi("getColorObjectByAttributeValues",m.getColorObjectByAttributeValues),Ji=oi("getColorObjectByColorValue",m.getColorObjectByColorValue),Xi=oi("getFontSize",m.getFontSize),Zi=oi("getFontSizeClass",m.getFontSizeClass),ec=oi("withColorContext",m.withColorContext),tc=oi("withColors",m.withColors),nc=oi("withFontSizes",m.withFontSizes)},RMJe:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=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=s},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 s=e.nodeName,i=document.createElement(s);i.innerHTML="&nbsp;","TEXTAREA"===s.toUpperCase()&&i.setAttribute("rows","1");var c=o(e,"font-size");i.style.fontSize=c,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},TSYQ:function(e,t,n){var o;
+*/o=[e,t],n=function(e,t){"use strict";var n="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,o){-1===e.indexOf(n)&&(e.push(n),t.push(o))},delete:function(n){var o=e.indexOf(n);o>-1&&(e.splice(o,1),t.splice(o,1))}}}(),o=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function r(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!n.has(e)){var t=null,r=null,s=null,i=function(){e.clientWidth!==r&&p()},a=function(t){window.removeEventListener("resize",i,!1),e.removeEventListener("input",p,!1),e.removeEventListener("keyup",p,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",p,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),n.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",p,!1),window.addEventListener("resize",i,!1),e.addEventListener("input",p,!1),e.addEventListener("autosize:update",p,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",n.set(e,{destroy:a,update:p}),l()}function l(){var n=window.getComputedStyle(e,null);"vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),t="content-box"===n.boxSizing?-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),isNaN(t)&&(t=0),p()}function c(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(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}function d(){if(0!==e.scrollHeight){var n=u(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",r=e.clientWidth,n.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function p(){d();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(c("scroll"),d(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(c("hidden"),d(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),s!==r){s=r;var i=o("autosize:resized");try{e.dispatchEvent(i)}catch(e){}}}}function s(e){var t=n.get(e);t&&t.destroy()}function i(e){var t=n.get(e);t&&t.update()}var a=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((a=function(e){return e}).destroy=function(e){return e},a.update=function(e){return e}):((a=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return r(e,t)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},a.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e}),t.default=a,e.exports=t.default},void 0===(r="function"==typeof n?n.apply(t,o):n)||(e.exports=r)},4403:function(e,t){var n;
 /*!
   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<arguments.length;t++){var o=arguments[t];if(o){var s=typeof o;if("string"===s||"number"===s)e.push(o);else if(Array.isArray(o)){if(o.length){var i=r.apply(null,o);i&&e.push(i)}}else if("object"===s)if(o.toString===Object.prototype.toString)for(var c in o)n.call(o,c)&&o[c]&&e.push(c);else e.push(o.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},WbBG:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},bWcr:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));t.a=s},cDcd:function(e,t){e.exports=window.React},diJD:function(e,t){e.exports=window.wp.reusableBlocks},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},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})}},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()}))]}},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},pPDe:function(e,t,n){"use strict";var o,r;function s(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function c(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}o={},r="undefined"!=typeof WeakMap,t.a=function(e,t){var n,a;function l(){n=r?new WeakMap:i()}function u(){var n,o,r,s,i,l=arguments.length;for(s=new Array(l),r=0;r<l;r++)s[r]=arguments[r];for(i=t.apply(null,s),(n=a(i)).isUniqueByDependants||(n.lastDependants&&!c(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),o=n.head;o;){if(c(o.args,s,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,s)},s[0]=null,o.args=s,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=s),a=r?function(e){var t,r,s,c,a,l=n,u=!0;for(t=0;t<e.length;t++){if(r=e[t],!(a=r)||"object"!=typeof a){u=!1;break}l.has(r)?l=l.get(r):(s=new WeakMap,l.set(r,s),l=s)}return l.has(o)||((c=i()).isUniqueByDependants=u,l.set(o,c)),l.get(o)}:function(){return n},u.getDependants=t,u.clear=l,l(),u}},qRz9:function(e,t){e.exports=window.wp.richText},rmEH:function(e,t){e.exports=window.wp.htmlEntities},rvQu:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=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.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=s},"tI+e":function(e,t){e.exports=window.wp.components},w95h:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=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=s},wduq:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const s=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(o.createElement)(r.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}));t.a=s},wx14:function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return o}))},ywyh:function(e,t){e.exports=window.wp.apiFetch}});
\ No newline at end of file
+*/!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var i=r.apply(null,n);i&&e.push(i)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var a in n)o.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},4827:function(e){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},9894:function(e,t,n){var o=n(4827);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 s=e.nodeName,i=document.createElement(s);i.innerHTML="&nbsp;","TEXTAREA"===s.toUpperCase()&&i.setAttribute("rows","1");var a=o(e,"font-size");i.style.fontSize=a,i.style.padding="0px",i.style.border="0px";var l=document.body;l.appendChild(i),n=i.offsetHeight,l.removeChild(i)}return n}},5372:function(e,t,n){"use strict";var o=n(9567);function r(){}function s(){}s.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,s,i){if(i!==o){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:r};return n.PropTypes=n,n}},2652:function(e,t,n){e.exports=n(5372)()},9567:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5438: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)}),s=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&(n[o[r]]=e[o[r]])}return n};t.__esModule=!0;var a=n(9196),l=n(2652),c=n(6411),u=n(9894),d="autosize:resized",p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.textarea=null,t.onResize=function(e){t.props.onResize&&t.props.onResize(e)},t.updateLineHeight=function(){t.textarea&&t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.maxRows,o=t.async;"number"==typeof n&&this.updateLineHeight(),"number"==typeof n||o?setTimeout((function(){return e.textarea&&c(e.textarea)})):this.textarea&&c(this.textarea),this.textarea&&this.textarea.addEventListener(d,this.onResize)},t.prototype.componentWillUnmount=function(){this.textarea&&(this.textarea.removeEventListener(d,this.onResize),c.destroy(this.textarea))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onResize,t.maxRows),o=(t.onChange,t.style),r=(t.innerRef,t.children),l=i(t,["onResize","maxRows","onChange","style","innerRef","children"]),c=this.state.lineHeight,u=n&&c?c*n:null;return a.createElement("textarea",s({},l,{onChange:this.onChange,style:u?s({},o,{maxHeight:u}):o,ref:function(t){e.textarea=t,"function"==typeof e.props.innerRef?e.props.innerRef(t):e.props.innerRef&&(e.props.innerRef.current=t)}}),r)},t.prototype.componentDidUpdate=function(){this.textarea&&c.update(this.textarea)},t.defaultProps={rows:1,async:!1},t.propTypes={rows:l.number,maxRows:l.number,onResize:l.func,innerRef:l.any,async:l.bool},t}(a.Component);t.TextareaAutosize=a.forwardRef((function(e,t){return a.createElement(p,s({},e,{innerRef:t}))}))},773:function(e,t,n){"use strict";var o=n(5438);t.Z=o.TextareaAutosize},9196:function(e){"use strict";e.exports=window.React}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var s=t[o]={exports:{}};return e[o].call(s.exports,s,s.exports,n),s.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){"use strict";n.r(o),n.d(o,{AlignmentToolbar:function(){return mi},Autocomplete:function(){return pi},AutosaveMonitor:function(){return go},BlockAlignmentToolbar:function(){return hi},BlockControls:function(){return gi},BlockEdit:function(){return fi},BlockEditorKeyboardShortcuts:function(){return vi},BlockFormatControls:function(){return _i},BlockIcon:function(){return yi},BlockInspector:function(){return bi},BlockList:function(){return Ei},BlockMover:function(){return Si},BlockNavigationDropdown:function(){return wi},BlockSelectionClearer:function(){return Pi},BlockSettingsMenu:function(){return ki},BlockTitle:function(){return Ci},BlockToolbar:function(){return Ti},ColorPalette:function(){return xi},ContrastChecker:function(){return Bi},CopyHandler:function(){return Ai},DefaultBlockAppender:function(){return Ii},DocumentOutline:function(){return Co},DocumentOutlineCheck:function(){return To},EditorHistoryRedo:function(){return Uo},EditorHistoryUndo:function(){return Fo},EditorKeyboardShortcutsRegister:function(){return Ro},EditorNotices:function(){return zo},EditorProvider:function(){return ii},EditorSnackbars:function(){return Vo},EntitiesSavedStates:function(){return qo},ErrorBoundary:function(){return Xo},FontSizePicker:function(){return Ri},InnerBlocks:function(){return Di},Inserter:function(){return Ni},InspectorAdvancedControls:function(){return Li},InspectorControls:function(){return Oi},LocalAutosaveMonitor:function(){return tr},MediaPlaceholder:function(){return Hi},MediaUpload:function(){return Wi},MediaUploadCheck:function(){return Gi},MultiSelectScrollIntoView:function(){return ji},NavigableToolbar:function(){return $i},ObserveTyping:function(){return Ki},PageAttributesCheck:function(){return nr},PageAttributesOrder:function(){return sr},PageAttributesParent:function(){return pr},PageTemplate:function(){return mr},PanelColorSettings:function(){return Ui},PlainText:function(){return Fi},PostAuthor:function(){return vr},PostAuthorCheck:function(){return _r},PostComments:function(){return yr},PostExcerpt:function(){return br},PostExcerptCheck:function(){return Er},PostFeaturedImage:function(){return Ar},PostFeaturedImageCheck:function(){return wr},PostFormat:function(){return Nr},PostFormatCheck:function(){return Ir},PostLastRevision:function(){return Or},PostLastRevisionCheck:function(){return Lr},PostLockedModal:function(){return Mr},PostPendingStatus:function(){return Vr},PostPendingStatusCheck:function(){return zr},PostPingbacks:function(){return Hr},PostPreviewButton:function(){return Fr},PostPublishButton:function(){return jr},PostPublishButtonLabel:function(){return Wr},PostPublishPanel:function(){return ws},PostSavedState:function(){return Bs},PostSchedule:function(){return Jr},PostScheduleCheck:function(){return As},PostScheduleLabel:function(){return es},PostSlug:function(){return Ns},PostSlugCheck:function(){return Is},PostSticky:function(){return Ls},PostStickyCheck:function(){return Ds},PostSwitchToDraftButton:function(){return xs},PostTaxonomies:function(){return Ms},PostTaxonomiesCheck:function(){return zs},PostTextEditor:function(){return Hs},PostTitle:function(){return Gs},PostTrash:function(){return js},PostTrashCheck:function(){return $s},PostTypeSupportCheck:function(){return or},PostVisibility:function(){return Qr},PostVisibilityCheck:function(){return Ks},PostVisibilityLabel:function(){return Xr},PreserveScrollInReorder:function(){return qi},RichText:function(){return di},RichTextShortcut:function(){return Mi},RichTextToolbarButton:function(){return zi},ServerSideRender:function(){return li()},SkipToSelectedBlock:function(){return Yi},TableOfContents:function(){return Js},TextEditorGlobalKeyboardShortcuts:function(){return Io},ThemeSupportCheck:function(){return Sr},URLInput:function(){return Qi},URLInputButton:function(){return Xi},URLPopover:function(){return Zi},UnsavedChangesWarning:function(){return ei},VisualEditorGlobalKeyboardShortcuts:function(){return Ao},Warning:function(){return Ji},WordCount:function(){return Qs},WritingFlow:function(){return ea},__unstableRichTextInputEvent:function(){return Vi},cleanForSlug:function(){return U},createCustomColorsHOC:function(){return ta},getColorClassName:function(){return na},getColorObjectByAttributeValues:function(){return oa},getColorObjectByColorValue:function(){return ra},getFontSize:function(){return sa},getFontSizeClass:function(){return ia},getTemplatePartIcon:function(){return H},mediaUpload:function(){return ri},store:function(){return co},storeConfig:function(){return lo},transformStyles:function(){return m.transformStyles},userAutocompleter:function(){return mo},withColorContext:function(){return aa},withColors:function(){return la},withFontSizes:function(){return ca}});var e={};n.r(e),n.d(e,{__experimentalGetDefaultTemplatePartAreas:function(){return Kt},__experimentalGetDefaultTemplateType:function(){return qt},__experimentalGetDefaultTemplateTypes:function(){return $t},__experimentalGetTemplateInfo:function(){return Yt},__unstableIsEditorReady:function(){return Ge},canInsertBlockType:function(){return Ht},canUserUseUnfilteredHTML:function(){return Fe},didPostSaveRequestFail:function(){return Ee},didPostSaveRequestSucceed:function(){return be},getActivePostLock:function(){return Ue},getAdjacentBlockClientId:function(){return mt},getAutosaveAttribute:function(){return ae},getBlock:function(){return Ze},getBlockAttributes:function(){return Xe},getBlockCount:function(){return rt},getBlockHierarchyRootClientId:function(){return pt},getBlockIndex:function(){return Tt},getBlockInsertionPoint:function(){return Ut},getBlockListSettings:function(){return jt},getBlockMode:function(){return Dt},getBlockName:function(){return Ye},getBlockOrder:function(){return Ct},getBlockRootClientId:function(){return dt},getBlockSelectionEnd:function(){return it},getBlockSelectionStart:function(){return st},getBlocks:function(){return Je},getBlocksByClientId:function(){return ot},getClientIdsOfDescendants:function(){return et},getClientIdsWithDescendants:function(){return tt},getCurrentPost:function(){return Z},getCurrentPostAttribute:function(){return se},getCurrentPostId:function(){return ee},getCurrentPostLastRevisionId:function(){return ne},getCurrentPostRevisionsCount:function(){return te},getCurrentPostType:function(){return J},getEditedPostAttribute:function(){return ie},getEditedPostContent:function(){return Ce},getEditedPostPreviewLink:function(){return Pe},getEditedPostSlug:function(){return Ae},getEditedPostVisibility:function(){return le},getEditorBlocks:function(){return ze},getEditorSelection:function(){return We},getEditorSelectionEnd:function(){return He},getEditorSelectionStart:function(){return Ve},getEditorSettings:function(){return je},getFirstMultiSelectedBlockClientId:function(){return yt},getGlobalBlockCount:function(){return nt},getInserterItems:function(){return Wt},getLastMultiSelectedBlockClientId:function(){return bt},getMultiSelectedBlockClientIds:function(){return vt},getMultiSelectedBlocks:function(){return _t},getMultiSelectedBlocksEndClientId:function(){return kt},getMultiSelectedBlocksStartClientId:function(){return Pt},getNextBlockClientId:function(){return gt},getPermalink:function(){return Be},getPermalinkParts:function(){return Ie},getPostEdits:function(){return oe},getPostLockUser:function(){return Oe},getPostTypeLabel:function(){return Qt},getPreviousBlockClientId:function(){return ht},getReferenceByDistinctEdits:function(){return re},getSelectedBlock:function(){return ut},getSelectedBlockClientId:function(){return ct},getSelectedBlockCount:function(){return at},getSelectedBlocksInitialCaretPosition:function(){return ft},getStateBeforeOptimisticTransaction:function(){return $e},getSuggestedPostFormat:function(){return ke},getTemplate:function(){return zt},getTemplateLock:function(){return Vt},hasChangedContent:function(){return q},hasEditorRedo:function(){return $},hasEditorUndo:function(){return j},hasInserterItems:function(){return Gt},hasMultiSelection:function(){return It},hasNonPostEntityChanges:function(){return Q},hasSelectedBlock:function(){return lt},hasSelectedInnerBlock:function(){return Bt},inSomeHistory:function(){return Ke},isAncestorMultiSelected:function(){return wt},isAutosavingPost:function(){return Se},isBlockInsertionPointVisible:function(){return Ft},isBlockMultiSelected:function(){return St},isBlockSelected:function(){return xt},isBlockValid:function(){return Qe},isBlockWithinSelection:function(){return At},isCaretWithinFormattedText:function(){return Ot},isCleanNewPost:function(){return X},isCurrentPostPending:function(){return ce},isCurrentPostPublished:function(){return ue},isCurrentPostScheduled:function(){return de},isEditedPostAutosaveable:function(){return ge},isEditedPostBeingScheduled:function(){return fe},isEditedPostDateFloating:function(){return ve},isEditedPostDirty:function(){return Y},isEditedPostEmpty:function(){return he},isEditedPostNew:function(){return K},isEditedPostPublishable:function(){return pe},isEditedPostSaveable:function(){return me},isFirstMultiSelectedBlock:function(){return Et},isMultiSelecting:function(){return Rt},isPermalinkEditable:function(){return xe},isPostAutosavingLocked:function(){return De},isPostLockTakeover:function(){return Le},isPostLocked:function(){return Re},isPostSavingLocked:function(){return Ne},isPreviewingPost:function(){return we},isPublishSidebarEnabled:function(){return Me},isPublishingPost:function(){return Te},isSavingNonPostEntityChanges:function(){return ye},isSavingPost:function(){return _e},isSelectionEnabled:function(){return Nt},isTyping:function(){return Lt},isValidTemplate:function(){return Mt}});var t={};function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r.apply(this,arguments)}n.r(t),n.d(t,{__experimentalRequestPostUpdateFinish:function(){return sn},__experimentalRequestPostUpdateStart:function(){return rn},__experimentalTearDownEditor:function(){return nn},autosave:function(){return mn},clearSelectedBlock:function(){return Ln},createUndoLevel:function(){return fn},disablePublishSidebar:function(){return yn},editPost:function(){return cn},enablePublishSidebar:function(){return _n},enterFormattedText:function(){return eo},exitFormattedText:function(){return to},hideInsertionPoint:function(){return jn},insertBlock:function(){return Hn},insertBlocks:function(){return Wn},insertDefaultBlock:function(){return no},lockPostAutosaving:function(){return Sn},lockPostSaving:function(){return bn},mergeBlocks:function(){return qn},moveBlockToPosition:function(){return Vn},moveBlocksDown:function(){return Mn},moveBlocksUp:function(){return zn},multiSelect:function(){return Dn},receiveBlocks:function(){return xn},redo:function(){return hn},refreshPost:function(){return dn},removeBlock:function(){return Qn},removeBlocks:function(){return Yn},replaceBlock:function(){return Fn},replaceBlocks:function(){return Un},resetBlocks:function(){return Tn},resetEditorBlocks:function(){return Pn},resetPost:function(){return on},savePost:function(){return un},selectBlock:function(){return In},setTemplateValidity:function(){return $n},setupEditor:function(){return tn},setupEditorState:function(){return ln},showInsertionPoint:function(){return Gn},startMultiSelect:function(){return Rn},startTyping:function(){return Zn},stopMultiSelect:function(){return Nn},stopTyping:function(){return Jn},synchronizeTemplate:function(){return Kn},toggleBlockMode:function(){return Xn},toggleSelection:function(){return On},trashPost:function(){return pn},undo:function(){return gn},unlockPostAutosaving:function(){return wn},unlockPostSaving:function(){return En},updateBlock:function(){return Bn},updateBlockAttributes:function(){return An},updateBlockListSettings:function(){return oo},updateEditorSettings:function(){return kn},updatePost:function(){return an},updatePostLock:function(){return vn}});var s=window.wp.element,i=window.lodash,a=window.wp.blocks,l=window.wp.data,c=window.wp.coreData,u=window.wp.compose,d=window.wp.hooks,p=window.wp.dataControls,m=window.wp.blockEditor;const h={insertUsage:{},isPublishSidebarEnabled:!0},g={...m.SETTINGS_DEFAULTS,richEditingEnabled:!0,codeEditingEnabled:!0,enableCustomFields:void 0,supportsLayout:!0};function f(e){return e&&"object"==typeof e&&"raw"in e?e.raw:e}var v,_,y=(0,l.combineReducers)({postId: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"SETUP_EDITOR_STATE":case"RESET_POST":return t.post.id}return e},postType: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"SETUP_EDITOR_STATE":case"RESET_POST":return t.post.type}return e},preferences:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENABLE_PUBLISH_SIDEBAR":return{...e,isPublishSidebarEnabled:!0};case"DISABLE_PUBLISH_SIDEBAR":return{...e,isPublishSidebarEnabled:!1}}return e},saving:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REQUEST_POST_UPDATE_START":case"REQUEST_POST_UPDATE_FINISH":return{pending:"REQUEST_POST_UPDATE_START"===t.type,options:t.options||{}}}return e},postLock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isLocked:!1},t=arguments.length>1?arguments[1]:void 0;return"UPDATE_POST_LOCK"===t.type?t.lock:e},template:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;return"SET_TEMPLATE_VALIDITY"===t.type?{...e,isValid:t.isValid}:e},postSavingLock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_SAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_SAVING":return(0,i.omit)(e,t.lockName)}return e},isReady:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SETUP_EDITOR_STATE":return!0;case"TEAR_DOWN_EDITOR":return!1}return e},editorSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=arguments.length>1?arguments[1]:void 0;return"UPDATE_EDITOR_SETTINGS"===t.type?{...e,...t.settings}:e},postAutosavingLock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"LOCK_POST_AUTOSAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_AUTOSAVING":return(0,i.omit)(e,t.lockName)}return e}});function b(e){return[e]}function E(){var e={clear:function(){e.head=null}};return e}function S(e,t,n){var o;if(e.length!==t.length)return!1;for(o=n;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}function w(e,t){var n,o;function r(){n=_?new WeakMap:E()}function s(){var n,r,s,i,a,l=arguments.length;for(i=new Array(l),s=0;s<l;s++)i[s]=arguments[s];for(a=t.apply(null,i),(n=o(a)).isUniqueByDependants||(n.lastDependants&&!S(a,n.lastDependants,0)&&n.clear(),n.lastDependants=a),r=n.head;r;){if(S(r.args,i,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,i)},i[0]=null,r.args=i,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=b),o=_?function(e){var t,o,r,s,i,a=n,l=!0;for(t=0;t<e.length;t++){if(o=e[t],!(i=o)||"object"!=typeof i){l=!1;break}a.has(o)?a=a.get(o):(r=new WeakMap,a.set(o,r),a=r)}return a.has(v)||((s=E()).isUniqueByDependants=l,a.set(v,s)),a.get(v)}:function(){return n},s.getDependants=t,s.clear=r,r(),s}v={},_="undefined"!=typeof WeakMap;var P=window.wp.date,k=window.wp.url,C=window.wp.deprecated,T=n.n(C),x=window.wp.primitives;var B=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));const A=new Set(["meta"]),I="core/editor",R="SAVE_POST_NOTICE_ID",N="TRASH_POST_NOTICE_ID",D=/%(?:postname|pagename)%/,L=["title","excerpt","content"];function O(e,t){return(0,k.addQueryArgs)(e,t)}function U(e){return e?(0,i.trim)((0,i.deburr)(e).replace(/[\s\./]+/g,"-").replace(/[^\p{L}\p{N}_-]+/gu,"").toLowerCase(),"-"):""}var F=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));var M=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));var z=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));var V=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.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-17.6 1L10 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"}));function H(e){return"header"===e?F:"footer"===e?M:"sidebar"===e?z:V}const W={},G=[],j=(0,l.createRegistrySelector)((e=>()=>e(c.store).hasUndo())),$=(0,l.createRegistrySelector)((e=>()=>e(c.store).hasRedo()));function K(e){return"auto-draft"===Z(e).status}function q(e){const t=oe(e);return"blocks"in t||"content"in t}const Y=(0,l.createRegistrySelector)((e=>t=>{const n=J(t),o=ee(t);return!!e(c.store).hasEditsForEntityRecord("postType",n,o)})),Q=(0,l.createRegistrySelector)((e=>t=>{const n=e(c.store).__experimentalGetDirtyEntityRecords(),{type:o,id:r}=Z(t);return(0,i.some)(n,(e=>"postType"!==e.kind||e.name!==o||e.key!==r))}));function X(e){return!Y(e)&&K(e)}const Z=(0,l.createRegistrySelector)((e=>t=>{const n=ee(t),o=J(t),r=e(c.store).getRawEntityRecord("postType",o,n);return r||W}));function J(e){return e.postType}function ee(e){return e.postId}function te(e){return(0,i.get)(Z(e),["_links","version-history",0,"count"],0)}function ne(e){return(0,i.get)(Z(e),["_links","predecessor-version",0,"id"],null)}const oe=(0,l.createRegistrySelector)((e=>t=>{const n=J(t),o=ee(t);return e(c.store).getEntityRecordEdits("postType",n,o)||W})),re=(0,l.createRegistrySelector)((e=>()=>(T()("`wp.data.select( 'core/editor' ).getReferenceByDistinctEdits`",{since:"5.4",alternative:"`wp.data.select( 'core' ).getReferenceByDistinctEdits`"}),e(c.store).getReferenceByDistinctEdits())));function se(e,t){switch(t){case"type":return J(e);case"id":return ee(e);default:const n=Z(e);if(!n.hasOwnProperty(t))break;return f(n[t])}}function ie(e,t){if("content"===t)return Ce(e);const n=oe(e);return n.hasOwnProperty(t)?A.has(t)?((e,t)=>{const n=oe(e);return n.hasOwnProperty(t)?{...se(e,t),...n[t]}:se(e,t)})(e,t):n[t]:se(e,t)}const ae=(0,l.createRegistrySelector)((e=>(t,n)=>{if(!(0,i.includes)(L,n)&&"preview_link"!==n)return;const o=J(t),r=ee(t),s=(0,i.get)(e(c.store).getCurrentUser(),["id"]),a=e(c.store).getAutosave(o,r,s);return a?f(a[n]):void 0}));function le(e){if("private"===ie(e,"status"))return"private";return ie(e,"password")?"password":"public"}function ce(e){return"pending"===Z(e).status}function ue(e,t){const n=t||Z(e);return-1!==["publish","private"].indexOf(n.status)||"future"===n.status&&!(0,P.isInTheFuture)(new Date(Number((0,P.getDate)(n.date))-6e4))}function de(e){return"future"===Z(e).status&&!ue(e)}function pe(e){const t=Z(e);return Y(e)||-1===["publish","private","future"].indexOf(t.status)}function me(e){return!_e(e)&&(!!ie(e,"title")||!!ie(e,"excerpt")||!he(e)||"native"===s.Platform.OS)}function he(e){const t=ze(e);if(t.length){if(t.length>1)return!1;const e=t[0].name;if(e!==(0,a.getDefaultBlockName)()&&e!==(0,a.getFreeformContentHandlerName)())return!1}return!Ce(e)}const ge=(0,l.createRegistrySelector)((e=>t=>{if(!me(t))return!1;if(De(t))return!1;const n=J(t),o=ee(t),r=e(c.store).hasFetchedAutosaves(n,o),s=(0,i.get)(e(c.store).getCurrentUser(),["id"]),a=e(c.store).getAutosave(n,o,s);return!!r&&(!a||(!!q(t)||["title","excerpt"].some((e=>f(a[e])!==ie(t,e)))))}));function fe(e){const t=ie(e,"date"),n=new Date(Number((0,P.getDate)(t))-6e4);return(0,P.isInTheFuture)(n)}function ve(e){const t=ie(e,"date"),n=ie(e,"modified"),o=Z(e).status;return("draft"===o||"auto-draft"===o||"pending"===o)&&(t===n||null===t)}const _e=(0,l.createRegistrySelector)((e=>t=>{const n=J(t),o=ee(t);return e(c.store).isSavingEntityRecord("postType",n,o)})),ye=(0,l.createRegistrySelector)((e=>t=>{const n=e(c.store).__experimentalGetEntitiesBeingSaved(),{type:o,id:r}=Z(t);return(0,i.some)(n,(e=>"postType"!==e.kind||e.name!==o||e.key!==r))})),be=(0,l.createRegistrySelector)((e=>t=>{const n=J(t),o=ee(t);return!e(c.store).getLastEntitySaveError("postType",n,o)})),Ee=(0,l.createRegistrySelector)((e=>t=>{const n=J(t),o=ee(t);return!!e(c.store).getLastEntitySaveError("postType",n,o)}));function Se(e){return!!_e(e)&&!!(0,i.get)(e.saving,["options","isAutosave"])}function we(e){return!!_e(e)&&!!(0,i.get)(e.saving,["options","isPreview"])}function Pe(e){if(e.saving.pending||_e(e))return;let t=ae(e,"preview_link");t||(t=ie(e,"link"),t&&(t=(0,k.addQueryArgs)(t,{preview:!0})));const n=ie(e,"featured_media");return t&&n?(0,k.addQueryArgs)(t,{_thumbnail_id:n}):t}function ke(e){const t=ze(e);if(t.length>2)return null;let n;if(1===t.length&&(n=t[0].name,"core/embed"===n)){var o;const e=null===(o=t[0].attributes)||void 0===o?void 0:o.providerNameSlug;["youtube","vimeo"].includes(e)?n="core/video":["spotify","soundcloud"].includes(e)&&(n="core/audio")}switch(2===t.length&&"core/paragraph"===t[1].name&&(n=t[0].name),n){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":return"video";case"core/audio":return"audio";default:return null}}const Ce=(0,l.createRegistrySelector)((e=>t=>{const n=ee(t),o=J(t),r=e(c.store).getEditedEntityRecord("postType",o,n);if(r){if("function"==typeof r.content)return r.content(r);if(r.blocks)return(0,a.__unstableSerializeAndClean)(r.blocks);if(r.content)return r.content}return""}));function Te(e){return _e(e)&&!ue(e)&&"publish"===ie(e,"status")}function xe(e){const t=ie(e,"permalink_template");return D.test(t)}function Be(e){const t=Ie(e);if(!t)return null;const{prefix:n,postName:o,suffix:r}=t;return xe(e)?n+o+r:n}function Ae(e){return ie(e,"slug")||U(ie(e,"title"))||ee(e)}function Ie(e){const t=ie(e,"permalink_template");if(!t)return null;const n=ie(e,"slug")||ie(e,"generated_slug"),[o,r]=t.split(D);return{prefix:o,postName:n,suffix:r}}function Re(e){return e.postLock.isLocked}function Ne(e){return Object.keys(e.postSavingLock).length>0}function De(e){return Object.keys(e.postAutosavingLock).length>0}function Le(e){return e.postLock.isTakeover}function Oe(e){return e.postLock.user}function Ue(e){return e.postLock.activePostLock}function Fe(e){return(0,i.has)(Z(e),["_links","wp:action-unfiltered-html"])}function Me(e){return e.preferences.hasOwnProperty("isPublishSidebarEnabled")?e.preferences.isPublishSidebarEnabled:h.isPublishSidebarEnabled}function ze(e){return ie(e,"blocks")||G}function Ve(e){var t;return T()("select('core/editor').getEditorSelectionStart",{since:"10.0",plugin:"Gutenberg",alternative:"select('core/editor').getEditorSelection"}),null===(t=ie(e,"selection"))||void 0===t?void 0:t.selectionStart}function He(e){var t;return T()("select('core/editor').getEditorSelectionStart",{since:"10.0",plugin:"Gutenberg",alternative:"select('core/editor').getEditorSelection"}),null===(t=ie(e,"selection"))||void 0===t?void 0:t.selectionEnd}function We(e){return ie(e,"selection")}function Ge(e){return e.isReady}function je(e){return e.editorSettings}function $e(){return T()("select('core/editor').getStateBeforeOptimisticTransaction",{since:"5.7",hint:"No state history is kept on this store anymore"}),null}function Ke(){return T()("select('core/editor').inSomeHistory",{since:"5.7",hint:"No state history is kept on this store anymore"}),!1}function qe(e){return(0,l.createRegistrySelector)((t=>function(n){T()("`wp.data.select( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.select( 'core/block-editor' )."+e+"`"});for(var o=arguments.length,r=new Array(o>1?o-1:0),s=1;s<o;s++)r[s-1]=arguments[s];return t(m.store)[e](...r)}))}const Ye=qe("getBlockName"),Qe=qe("isBlockValid"),Xe=qe("getBlockAttributes"),Ze=qe("getBlock"),Je=qe("getBlocks"),et=qe("getClientIdsOfDescendants"),tt=qe("getClientIdsWithDescendants"),nt=qe("getGlobalBlockCount"),ot=qe("getBlocksByClientId"),rt=qe("getBlockCount"),st=qe("getBlockSelectionStart"),it=qe("getBlockSelectionEnd"),at=qe("getSelectedBlockCount"),lt=qe("hasSelectedBlock"),ct=qe("getSelectedBlockClientId"),ut=qe("getSelectedBlock"),dt=qe("getBlockRootClientId"),pt=qe("getBlockHierarchyRootClientId"),mt=qe("getAdjacentBlockClientId"),ht=qe("getPreviousBlockClientId"),gt=qe("getNextBlockClientId"),ft=qe("getSelectedBlocksInitialCaretPosition"),vt=qe("getMultiSelectedBlockClientIds"),_t=qe("getMultiSelectedBlocks"),yt=qe("getFirstMultiSelectedBlockClientId"),bt=qe("getLastMultiSelectedBlockClientId"),Et=qe("isFirstMultiSelectedBlock"),St=qe("isBlockMultiSelected"),wt=qe("isAncestorMultiSelected"),Pt=qe("getMultiSelectedBlocksStartClientId"),kt=qe("getMultiSelectedBlocksEndClientId"),Ct=qe("getBlockOrder"),Tt=qe("getBlockIndex"),xt=qe("isBlockSelected"),Bt=qe("hasSelectedInnerBlock"),At=qe("isBlockWithinSelection"),It=qe("hasMultiSelection"),Rt=qe("isMultiSelecting"),Nt=qe("isSelectionEnabled"),Dt=qe("getBlockMode"),Lt=qe("isTyping"),Ot=qe("isCaretWithinFormattedText"),Ut=qe("getBlockInsertionPoint"),Ft=qe("isBlockInsertionPointVisible"),Mt=qe("isValidTemplate"),zt=qe("getTemplate"),Vt=qe("getTemplateLock"),Ht=qe("canInsertBlockType"),Wt=qe("getInserterItems"),Gt=qe("hasInserterItems"),jt=qe("getBlockListSettings");function $t(e){var t;return null===(t=je(e))||void 0===t?void 0:t.defaultTemplateTypes}const Kt=w((e=>{var t;const n=(null===(t=je(e))||void 0===t?void 0:t.defaultTemplatePartAreas)||[];return null==n?void 0:n.map((e=>({...e,icon:H(e.icon)})))}),(e=>{var t;return[null===(t=je(e))||void 0===t?void 0:t.defaultTemplatePartAreas]})),qt=w(((e,t)=>(0,i.find)($t(e),{slug:t})||{}),((e,t)=>[$t(e),t]));function Yt(e,t){var n;if(!t)return{};const{excerpt:o,slug:r,title:s,area:a}=t,{title:l,description:c}=qt(e,r),u=(0,i.isString)(s)?s:null==s?void 0:s.rendered;return{title:u&&u!==r?u:l||r,description:((0,i.isString)(o)?o:null==o?void 0:o.raw)||c,icon:(null===(n=Kt(e).find((e=>a===e.area)))||void 0===n?void 0:n.icon)||B}}const Qt=(0,l.createRegistrySelector)((e=>t=>{var n;const o=J(t),r=e(c.store).getPostType(o);return null==r||null===(n=r.labels)||void 0===n?void 0:n.singular_name}));var Xt=window.wp.notices,Zt=window.wp.i18n;function Jt(e){const{previousPost:t,post:n,postType:o}=e;if((0,i.get)(e.options,["isAutosave"]))return[];const r=["publish","private","future"],s=(0,i.includes)(r,t.status),a=(0,i.includes)(r,n.status);let l,c=(0,i.get)(o,["viewable"],!1);s||a?s&&!a?(l=o.labels.item_reverted_to_draft,c=!1):l=!s&&a?{publish:o.labels.item_published,private:o.labels.item_published_privately,future:o.labels.item_scheduled}[n.status]:o.labels.item_updated:(l=(0,Zt.__)("Saved"),c=!1);const u=[];return c&&u.push({label:o.labels.view_item,url:n.link}),[l,{id:R,type:"snackbar",actions:u}]}function en(e){const{post:t,edits:n,error:o}=e;if(o&&"rest_autosave_no_changes"===o.code)return[];const r=["publish","private","future"],s=-1!==r.indexOf(t.status),i={publish:(0,Zt.__)("Publishing failed."),private:(0,Zt.__)("Publishing failed."),future:(0,Zt.__)("Scheduling failed.")};let a=s||-1===r.indexOf(n.status)?(0,Zt.__)("Updating failed."):i[n.status];return o.message&&!/<\/?[^>]*>/.test(o.message)&&(a=[a,o.message].join(" ")),[a,{id:R}]}function*tn(e,t,n){yield on(e),yield{type:"SETUP_EDITOR",post:e,edits:t,template:n},yield ln(e);if("auto-draft"===e.status&&n){let o;o=(0,i.has)(t,["content"])?t.content:e.content.raw;let r=(0,a.parse)(o);r=(0,a.synchronizeBlocksWithTemplate)(r,n),yield Pn(r,{__unstableShouldCreateUndoLevel:!1})}t&&Object.keys(t).some((n=>t[n]!==((0,i.has)(e,[n,"raw"])?e[n].raw:e[n])))&&(yield cn(t))}function nn(){return{type:"TEAR_DOWN_EDITOR"}}function on(e){return{type:"RESET_POST",post:e}}function rn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"REQUEST_POST_UPDATE_START",options:e}}function sn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"REQUEST_POST_UPDATE_FINISH",options:e}}function an(){return T()("wp.data.dispatch( 'core/editor' ).updatePost",{since:"5.7",alternative:"Use the core entities store instead"}),{type:"DO_NOTHING"}}function ln(e){return{type:"SETUP_EDITOR_STATE",post:e}}function*cn(e,t){const{id:n,type:o}=yield l.controls.select(I,"getCurrentPost");yield l.controls.dispatch(c.store,"editEntityRecord","postType",o,n,e,t)}function*un(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(yield l.controls.select(I,"isEditedPostSaveable")))return;let t={content:yield l.controls.select(I,"getEditedPostContent")};e.isAutosave||(yield l.controls.dispatch(I,"editPost",t,{undoIgnore:!0})),yield rn(e);const n=yield l.controls.select(I,"getCurrentPost");t={id:n.id,...yield l.controls.select(c.store,"getEntityRecordNonTransientEdits","postType",n.type,n.id),...t},yield l.controls.dispatch(c.store,"saveEntityRecord","postType",n.type,t,e),yield sn(e);const o=yield l.controls.select(c.store,"getLastEntitySaveError","postType",n.type,n.id);if(o){const e=en({post:n,edits:t,error:o});e.length&&(yield l.controls.dispatch(Xt.store,"createErrorNotice",...e))}else{const t=yield l.controls.select(I,"getCurrentPost"),o=Jt({previousPost:n,post:t,postType:yield l.controls.resolveSelect(c.store,"getPostType",t.type),options:e});o.length&&(yield l.controls.dispatch(Xt.store,"createSuccessNotice",...o)),e.isAutosave||(yield l.controls.dispatch(m.store,"__unstableMarkLastChangeAsPersistent"))}}function*dn(){const e=yield l.controls.select(I,"getCurrentPost"),t=yield l.controls.select(I,"getCurrentPostType"),n=yield l.controls.resolveSelect(c.store,"getPostType",t),o=yield(0,p.apiFetch)({path:`/wp/v2/${n.rest_base}/${e.id}?context=edit&_timestamp=${Date.now()}`});yield l.controls.dispatch(I,"resetPost",o)}function*pn(){const e=yield l.controls.select(I,"getCurrentPostType"),t=yield l.controls.resolveSelect(c.store,"getPostType",e);yield l.controls.dispatch(Xt.store,"removeNotice",N);try{const e=yield l.controls.select(I,"getCurrentPost");yield(0,p.apiFetch)({path:`/wp/v2/${t.rest_base}/${e.id}`,method:"DELETE"}),yield l.controls.dispatch(I,"savePost")}catch(e){yield l.controls.dispatch(Xt.store,"createErrorNotice",...(n={error:e},[n.error.message&&"unknown_error"!==n.error.code?n.error.message:(0,Zt.__)("Trashing failed"),{id:N}]))}var n}function*mn(){let{local:e=!1,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e){const e=yield l.controls.select(I,"getCurrentPost"),t=yield l.controls.select(I,"isEditedPostNew"),n=yield l.controls.select(I,"getEditedPostAttribute","title"),o=yield l.controls.select(I,"getEditedPostAttribute","content"),r=yield l.controls.select(I,"getEditedPostAttribute","excerpt");yield{type:"LOCAL_AUTOSAVE_SET",postId:e.id,isPostNew:t,title:n,content:o,excerpt:r}}else yield l.controls.dispatch(I,"savePost",{isAutosave:!0,...t})}function*hn(){yield l.controls.dispatch(c.store,"redo")}function*gn(){yield l.controls.dispatch(c.store,"undo")}function fn(){return{type:"CREATE_UNDO_LEVEL"}}function vn(e){return{type:"UPDATE_POST_LOCK",lock:e}}function _n(){return{type:"ENABLE_PUBLISH_SIDEBAR"}}function yn(){return{type:"DISABLE_PUBLISH_SIDEBAR"}}function bn(e){return{type:"LOCK_POST_SAVING",lockName:e}}function En(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function Sn(e){return{type:"LOCK_POST_AUTOSAVING",lockName:e}}function wn(e){return{type:"UNLOCK_POST_AUTOSAVING",lockName:e}}function*Pn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{__unstableShouldCreateUndoLevel:n,selection:o}=t,r={blocks:e,selection:o};if(!1!==n){const{id:e,type:t}=yield l.controls.select(I,"getCurrentPost");if((yield l.controls.select(c.store,"getEditedEntityRecord","postType",t,e)).blocks===r.blocks)return yield l.controls.dispatch(c.store,"__unstableCreateUndoLevel","postType",t,e);r.content=e=>{let{blocks:t=[]}=e;return(0,a.__unstableSerializeAndClean)(t)}}yield*cn(r)}function kn(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}const Cn=e=>function*(){T()("`wp.data.dispatch( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.dispatch( 'core/block-editor' )."+e+"`"});for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];yield l.controls.dispatch(m.store,e,...n)},Tn=Cn("resetBlocks"),xn=Cn("receiveBlocks"),Bn=Cn("updateBlock"),An=Cn("updateBlockAttributes"),In=Cn("selectBlock"),Rn=Cn("startMultiSelect"),Nn=Cn("stopMultiSelect"),Dn=Cn("multiSelect"),Ln=Cn("clearSelectedBlock"),On=Cn("toggleSelection"),Un=Cn("replaceBlocks"),Fn=Cn("replaceBlock"),Mn=Cn("moveBlocksDown"),zn=Cn("moveBlocksUp"),Vn=Cn("moveBlockToPosition"),Hn=Cn("insertBlock"),Wn=Cn("insertBlocks"),Gn=Cn("showInsertionPoint"),jn=Cn("hideInsertionPoint"),$n=Cn("setTemplateValidity"),Kn=Cn("synchronizeTemplate"),qn=Cn("mergeBlocks"),Yn=Cn("removeBlocks"),Qn=Cn("removeBlock"),Xn=Cn("toggleBlockMode"),Zn=Cn("startTyping"),Jn=Cn("stopTyping"),eo=Cn("enterFormattedText"),to=Cn("exitFormattedText"),no=Cn("insertDefaultBlock"),oo=Cn("updateBlockListSettings");function ro(e,t){return`wp-autosave-block-editor-post-${t?"auto-draft":e}`}function so(e,t){window.sessionStorage.removeItem(ro(e,t))}const io={LOCAL_AUTOSAVE_SET(e){let{postId:t,isPostNew:n,title:o,content:r,excerpt:s}=e;!function(e,t,n,o,r){window.sessionStorage.setItem(ro(e,t),JSON.stringify({post_title:n,content:o,excerpt:r}))}(t,n,o,r,s)}};var ao=io;const lo={reducer:y,selectors:e,actions:t,controls:{...p.controls,...ao}},co=(0,l.createReduxStore)(I,{...lo,persist:["preferences"]});(0,l.registerStore)(I,{...lo,persist:["preferences"]});function uo(e){const t=(0,i.mapValues)((0,i.pickBy)(e.attributes,{source:"meta"}),"meta");return(0,i.isEmpty)(t)||(e.edit=(e=>(0,u.createHigherOrderComponent)((t=>n=>{let{attributes:o,setAttributes:a,...u}=n;const d=(0,l.useSelect)((e=>e(co).getCurrentPostType()),[]),[p,m]=(0,c.useEntityProp)("postType",d,"meta"),h=(0,s.useMemo)((()=>({...o,...(0,i.mapValues)(e,(e=>p[e]))})),[o,p]);return(0,s.createElement)(t,r({attributes:h,setAttributes:t=>{const n=(0,i.mapKeys)((0,i.pickBy)(t,((t,n)=>e[n])),((t,n)=>e[n]));(0,i.isEmpty)(n)||m(n),a(t)}},u))}),"withMetaAttributeSource"))(t)(e.edit)),e}function po(e){const t=e.avatar_urls&&e.avatar_urls[24]?(0,s.createElement)("img",{className:"editor-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}):(0,s.createElement)("span",{className:"editor-autocompleters__no-avatar"});return(0,s.createElement)(s.Fragment,null,t,(0,s.createElement)("span",{className:"editor-autocompleters__user-name"},e.name),(0,s.createElement)("span",{className:"editor-autocompleters__user-slug"},e.slug))}(0,d.addFilter)("blocks.registerBlockType","core/editor/custom-sources-backwards-compatibility/shim-attribute-source",uo),(0,l.select)(a.store).getBlockTypes().map((e=>{let{name:t}=e;return(0,l.select)(a.store).getBlockType(t)})).forEach(uo);var mo={name:"users",className:"editor-autocompleters__user",triggerPrefix:"@",useItems(e){const t=(0,l.useSelect)((t=>{const{getUsers:n}=t(c.store);return n({context:"view",search:encodeURIComponent(e)})}),[e]),n=(0,s.useMemo)((()=>t?t.map((e=>({key:`user-${e.slug}`,value:e,label:po(e)}))):[]),[t]);return[n]},getOptionCompletion:e=>`@${e.slug}`};(0,d.addFilter)("editor.Autocomplete.completers","editor/autocompleters/set-default-completers",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.push((0,i.clone)(mo)),e}));class ho extends s.Component{constructor(e){super(e),this.needsAutosave=!(!e.isDirty||!e.isAutosaveable)}componentDidMount(){this.props.disableIntervalChecks||this.setAutosaveTimer()}componentDidUpdate(e){this.props.disableIntervalChecks?this.props.editsReference!==e.editsReference&&this.props.autosave():(this.props.interval!==e.interval&&(clearTimeout(this.timerId),this.setAutosaveTimer()),this.props.isDirty&&(!this.props.isAutosaving||e.isAutosaving)?this.props.editsReference!==e.editsReference&&(this.needsAutosave=!0):this.needsAutosave=!1)}componentWillUnmount(){clearTimeout(this.timerId)}setAutosaveTimer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3*this.props.interval;this.timerId=setTimeout((()=>{this.autosaveTimerHandler()}),e)}autosaveTimerHandler(){this.props.isAutosaveable?(this.needsAutosave&&(this.needsAutosave=!1,this.props.autosave()),this.setAutosaveTimer()):this.setAutosaveTimer(1e3)}render(){return null}}var go=(0,u.compose)([(0,l.withSelect)(((e,t)=>{const{getReferenceByDistinctEdits:n}=e(c.store),{isEditedPostDirty:o,isEditedPostAutosaveable:r,isAutosavingPost:s,getEditorSettings:i}=e(co),{interval:a=i().autosaveInterval}=t;return{editsReference:n(),isDirty:o(),isAutosaveable:r(),isAutosaving:s(),interval:a}})),(0,l.withDispatch)(((e,t)=>({autosave(){const{autosave:n=e(co).autosave}=t;n()}})))])(ho),fo=window.wp.richText,vo=n(4403),_o=n.n(vo);var yo=e=>{let{children:t,isValid:n,level:o,href:r,onSelect:i}=e;return(0,s.createElement)("li",{className:_o()("document-outline__item",`is-${o.toLowerCase()}`,{"is-invalid":!n})},(0,s.createElement)("a",{href:r,className:"document-outline__button",onClick:i},(0,s.createElement)("span",{className:"document-outline__emdash","aria-hidden":"true"}),(0,s.createElement)("strong",{className:"document-outline__level"},o),(0,s.createElement)("span",{className:"document-outline__item-content"},t)))};const bo=(0,s.createElement)("em",null,(0,Zt.__)("(Empty heading)")),Eo=[(0,s.createElement)("br",{key:"incorrect-break"}),(0,s.createElement)("em",{key:"incorrect-message"},(0,Zt.__)("(Incorrect heading level)"))],So=[(0,s.createElement)("br",{key:"incorrect-break-h1"}),(0,s.createElement)("em",{key:"incorrect-message-h1"},(0,Zt.__)("(Your theme may already use a H1 for the post title)"))],wo=[(0,s.createElement)("br",{key:"incorrect-break-multiple-h1"}),(0,s.createElement)("em",{key:"incorrect-message-multiple-h1"},(0,Zt.__)("(Multiple H1 headings are not recommended)"))],Po=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,i.flatMap)(e,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"core/heading"===e.name?{...e,level:e.attributes.level,isEmpty:ko(e)}:Po(e.innerBlocks)}))},ko=e=>!e.attributes.content||0===e.attributes.content.length;var Co=(0,u.compose)((0,l.withSelect)((e=>{const{getBlocks:t}=e(m.store),{getEditedPostAttribute:n}=e(co),{getPostType:o}=e(c.store),r=o(n("type"));return{title:n("title"),blocks:t(),isTitleSupported:(0,i.get)(r,["supports","title"],!1)}})))((e=>{let{blocks:t=[],title:n,onSelect:o,isTitleSupported:r,hasOutlineItemsDisabled:a}=e;const l=Po(t);if(l.length<1)return null;let c=1;const u=document.querySelector(".editor-post-title__input"),d=r&&n&&u,p=(0,i.countBy)(l,"level")[1]>1;return(0,s.createElement)("div",{className:"document-outline"},(0,s.createElement)("ul",null,d&&(0,s.createElement)(yo,{level:(0,Zt.__)("Title"),isValid:!0,onSelect:o,href:`#${u.id}`,isDisabled:a},n),l.map(((e,t)=>{const n=e.level>c+1,r=!(e.isEmpty||n||!e.level||1===e.level&&(p||d));return c=e.level,(0,s.createElement)(yo,{key:t,level:`H${e.level}`,isValid:r,isDisabled:a,href:`#block-${e.clientId}`,onSelect:o},e.isEmpty?bo:(0,fo.getTextContent)((0,fo.create)({html:e.attributes.content})),n&&Eo,1===e.level&&p&&wo,d&&1===e.level&&!p&&So)}))))}));var To=(0,l.withSelect)((e=>({blocks:e(m.store).getBlocks()})))((function(e){let{blocks:t,children:n}=e;return(0,i.filter)(t,(e=>"core/heading"===e.name)).length<1?null:n})),xo=window.wp.keyboardShortcuts;var Bo=function(e){let{resetBlocksOnSave:t}=e;const{resetEditorBlocks:n,savePost:o}=(0,l.useDispatch)(co),{isEditedPostDirty:r,getPostEdits:s,isPostSavingLocked:i}=(0,l.useSelect)(co);return(0,xo.useShortcut)("core/editor/save",(e=>{if(e.preventDefault(),!i()&&r()){if(t){const e=s();if(e.content&&"string"==typeof e.content){const t=(0,a.parse)(e.content);n(t)}}o()}})),null};var Ao=function(){const{redo:e,undo:t}=(0,l.useDispatch)(co);return(0,xo.useShortcut)("core/editor/undo",(e=>{t(),e.preventDefault()})),(0,xo.useShortcut)("core/editor/redo",(t=>{e(),t.preventDefault()})),(0,s.createElement)(Bo,null)};function Io(){return(0,s.createElement)(Bo,{resetBlocksOnSave:!0})}var Ro=function(){const{registerShortcut:e}=(0,l.useDispatch)(xo.store);return(0,s.useEffect)((()=>{e({name:"core/editor/save",category:"global",description:(0,Zt.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/editor/undo",category:"global",description:(0,Zt.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/editor/redo",category:"global",description:(0,Zt.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}})}),[e]),(0,s.createElement)(m.BlockEditorKeyboardShortcuts.Register,null)},No=window.wp.components,Do=window.wp.keycodes;var Lo=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"}));var Oo=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"}));var Uo=(0,s.forwardRef)((function(e,t){const n=(0,l.useSelect)((e=>e(co).hasEditorRedo()),[]),{redo:o}=(0,l.useDispatch)(co);return(0,s.createElement)(No.Button,r({},e,{ref:t,icon:(0,Zt.isRTL)()?Oo:Lo,label:(0,Zt.__)("Redo"),shortcut:Do.displayShortcut.primaryShift("z"),"aria-disabled":!n,onClick:n?o:void 0,className:"editor-history__redo"}))}));var Fo=(0,s.forwardRef)((function(e,t){const n=(0,l.useSelect)((e=>e(co).hasEditorUndo()),[]),{undo:o}=(0,l.useDispatch)(co);return(0,s.createElement)(No.Button,r({},e,{ref:t,icon:(0,Zt.isRTL)()?Lo:Oo,label:(0,Zt.__)("Undo"),shortcut:Do.displayShortcut.primary("z"),"aria-disabled":!n,onClick:n?o:void 0,className:"editor-history__undo"}))}));var Mo=(0,u.compose)([(0,l.withSelect)((e=>({isValid:e(m.store).isValidTemplate()}))),(0,l.withDispatch)((e=>{const{setTemplateValidity:t,synchronizeTemplate:n}=e(m.store);return{resetTemplateValidity:()=>t(!0),synchronizeTemplate:n}}))])((function(e){let{isValid:t,...n}=e;return t?null:(0,s.createElement)(No.Notice,{className:"editor-template-validation-notice",isDismissible:!1,status:"warning",actions:[{label:(0,Zt.__)("Keep it as is"),onClick:n.resetTemplateValidity},{label:(0,Zt.__)("Reset the template"),onClick:()=>{window.confirm((0,Zt.__)("Resetting the template may result in loss of content, do you want to continue?"))&&n.synchronizeTemplate()}}]},(0,Zt.__)("The content of your post doesn’t match the template assigned to your post type."))}));var zo=(0,u.compose)([(0,l.withSelect)((e=>({notices:e(Xt.store).getNotices()}))),(0,l.withDispatch)((e=>({onRemove:e(Xt.store).removeNotice})))])((function(e){let{notices:t,onRemove:n}=e;const o=(0,i.filter)(t,{isDismissible:!0,type:"default"}),r=(0,i.filter)(t,{isDismissible:!1,type:"default"});return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(No.NoticeList,{notices:r,className:"components-editor-notices__pinned"}),(0,s.createElement)(No.NoticeList,{notices:o,className:"components-editor-notices__dismissible",onRemove:n},(0,s.createElement)(Mo,null)))}));function Vo(){const e=(0,l.useSelect)((e=>e(Xt.store).getNotices()),[]),{removeNotice:t}=(0,l.useDispatch)(Xt.store),n=(0,i.filter)(e,{type:"snackbar"});return(0,s.createElement)(No.SnackbarList,{notices:n,className:"components-editor-notices__snackbar",onRemove:t})}var Ho=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.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"})),Wo=window.wp.htmlEntities;function Go(e){let{record:t,checked:n,onChange:o,closePanel:r}=e;const{name:i,kind:a,title:u,key:d}=t,p=(0,l.useSelect)((e=>{var t;const{blocks:n=[]}=e(c.store).getEditedEntityRecord(a,i,d),o=e(m.store).getBlockParents(null===(t=n[0])||void 0===t?void 0:t.clientId);return o[o.length-1]}),[]),h=(0,l.useSelect)((e=>{if("postType"!==a||"wp_template"!==i)return u;const t=e(c.store).getEditedEntityRecord(a,i,d);return e(co).__experimentalGetTemplateInfo(t).title}),[i,a,u,d]),g=(0,l.useSelect)((e=>e(m.store).getSelectedBlockClientId()===p),[p]),f=g?(0,Zt.__)("Selected"):(0,Zt.__)("Select"),{selectBlock:v}=(0,l.useDispatch)(m.store),_=(0,s.useCallback)((()=>v(p)),[p]),y=(0,s.useCallback)((()=>{v(p),r()}),[p]);return(0,s.createElement)(No.PanelRow,null,(0,s.createElement)(No.CheckboxControl,{label:(0,s.createElement)("strong",null,(0,Wo.decodeEntities)(h)||(0,Zt.__)("Untitled")),checked:n,onChange:o}),p?(0,s.createElement)(s.Fragment,null,(0,s.createElement)(No.Button,{onClick:_,className:"entities-saved-states__find-entity",disabled:g},f),(0,s.createElement)(No.Button,{onClick:y,className:"entities-saved-states__find-entity-small",disabled:g},f)):null)}function jo(e){let{list:t,unselectedEntities:n,setUnselectedEntities:o,closePanel:r}=e;const a=t[0],u=(0,l.useSelect)((e=>e(c.store).getEntity(a.kind,a.name)),[a.kind,a.name]),{name:d}=a,p="wp_template_part"===d?(0,Zt._n)("Template Part","Template Parts",t.length):u.label,m=function(e,t){switch(e){case"site":return(0,Zt._n)("This change will affect your whole site.","These changes will affect your whole site.",t);case"wp_template":return(0,Zt._n)("This change will affect pages and posts that use this template.","These changes will affect pages and posts that use these templates.",t);case"page":case"post":return(0,Zt.__)("The following content has been modified.")}}(d,t.length);return(0,s.createElement)(No.PanelBody,{title:p,initialOpen:!0},m&&(0,s.createElement)(No.PanelRow,null,m),t.map((e=>(0,s.createElement)(Go,{key:e.key||e.property,record:e,checked:!(0,i.some)(n,(t=>t.kind===e.kind&&t.name===e.name&&t.key===e.key&&t.property===e.property)),onChange:t=>o(e,t),closePanel:r}))))}const $o={title:(0,Zt.__)("Title"),description:(0,Zt.__)("Tagline"),site_logo:(0,Zt.__)("Logo"),site_icon:(0,Zt.__)("Icon"),show_on_front:(0,Zt.__)("Show on front"),page_on_front:(0,Zt.__)("Page on front")},Ko=[{kind:"postType",name:"wp_navigation"}];function qo(e){let{close:t}=e;const n=(0,s.useRef)(),{dirtyEntityRecords:o}=(0,l.useSelect)((e=>{const t=e(c.store).__experimentalGetDirtyEntityRecords().filter((e=>!("root"===e.kind&&"site"===e.name))),n=e(c.store).getEntityRecordEdits("root","site"),o=[];for(const e in n)o.push({kind:"root",name:"site",title:$o[e]||e,property:e});return{dirtyEntityRecords:[...t,...o]}}),[]),{editEntityRecord:a,saveEditedEntityRecord:d,__experimentalSaveSpecifiedEntityEdits:p}=(0,l.useDispatch)(c.store),{createSuccessNotice:h,createErrorNotice:g}=(0,l.useDispatch)(Xt.store),{__unstableMarkLastChangeAsPersistent:f}=(0,l.useDispatch)(m.store),v=(0,i.groupBy)(o,"name"),{site:_,wp_template:y,wp_template_part:b,...E}=v,S=[_,y,b,...Object.values(E)].filter(Array.isArray),[w,P]=(0,s.useState)([]),k=(e,t)=>{let{kind:n,name:o,key:r,property:s}=e;P(t?w.filter((e=>e.kind!==n||e.name!==o||e.key!==r||e.property!==s)):[...w,{kind:n,name:o,key:r,property:s}])},C=(0,s.useCallback)((()=>t()),[t]),[T,x]=(0,u.__experimentalUseDialog)({onClose:()=>C()});return(0,s.createElement)("div",r({ref:T},x,{className:"entities-saved-states__panel"}),(0,s.createElement)("div",{className:"entities-saved-states__panel-header"},(0,s.createElement)(No.Button,{ref:n,variant:"primary",disabled:o.length-w.length==0,onClick:()=>{const e=o.filter((e=>{let{kind:t,name:n,key:o,property:r}=e;return!(0,i.some)(w,(e=>e.kind===t&&e.name===n&&e.key===o&&e.property===r))}));t(e);const n=[],r=[];e.forEach((e=>{let{kind:t,name:o,key:s,property:i}=e;"root"===t&&"site"===o?n.push(i):(Ko.some((e=>e.kind===t&&e.name===o))&&a(t,o,s,{status:"publish"}),r.push(d(t,o,s)))})),n.length&&r.push(p("root","site",void 0,n)),Promise.all(r).then((e=>{e.some((e=>void 0===e))?g((0,Zt.__)("Saving failed.")):h((0,Zt.__)("Site updated."),{type:"snackbar"})})).catch((e=>g(`${(0,Zt.__)("Saving failed.")} ${e}`))),f()},className:"editor-entities-saved-states__save-button"},(0,Zt.__)("Save")),(0,s.createElement)(No.Button,{icon:Ho,onClick:C,label:(0,Zt.__)("Close panel")})),(0,s.createElement)("div",{className:"entities-saved-states__text-prompt"},(0,s.createElement)("strong",null,(0,Zt.__)("Are you ready to save?")),(0,s.createElement)("p",null,(0,Zt.__)("The following changes have been made to your site, templates, and content."))),S.map((e=>(0,s.createElement)(jo,{key:e[0].name,list:e,closePanel:C,unselectedEntities:w,setUnselectedEntities:k}))))}function Yo(e){let{text:t,children:n}=e;const o=(0,u.useCopyToClipboard)(t);return(0,s.createElement)(No.Button,{variant:"secondary",ref:o},n)}class Qo extends s.Component{constructor(){super(...arguments),this.reboot=this.reboot.bind(this),this.getContent=this.getContent.bind(this),this.state={error:null}}componentDidCatch(e){this.setState({error:e})}reboot(){this.props.onError()}getContent(){try{return(0,l.select)(co).getEditedPostContent()}catch(e){}}render(){const{error:e}=this.state;return e?(0,s.createElement)(m.Warning,{className:"editor-error-boundary",actions:[(0,s.createElement)(No.Button,{key:"recovery",onClick:this.reboot,variant:"secondary"},(0,Zt.__)("Attempt Recovery")),(0,s.createElement)(Yo,{key:"copy-post",text:this.getContent},(0,Zt.__)("Copy Post Text")),(0,s.createElement)(Yo,{key:"copy-error",text:e.stack},(0,Zt.__)("Copy Error"))]},(0,Zt.__)("The editor has encountered an unexpected error.")):this.props.children}}var Xo=Qo;const Zo=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Jo=(0,i.once)((()=>{try{return window.sessionStorage.setItem("__wpEditorTestSessionStorage",""),window.sessionStorage.removeItem("__wpEditorTestSessionStorage"),!0}catch(e){return!1}}));function er(){const{postId:e,isEditedPostNew:t,hasRemoteAutosave:n}=(0,l.useSelect)((e=>({postId:e(co).getCurrentPostId(),isEditedPostNew:e(co).isEditedPostNew(),hasRemoteAutosave:!!e(co).getEditorSettings().autosave})),[]),{getEditedPostAttribute:o}=(0,l.useSelect)(co),{createWarningNotice:r,removeNotice:c}=(0,l.useDispatch)(Xt.store),{editPost:u,resetEditorBlocks:d}=(0,l.useDispatch)(co);(0,s.useEffect)((()=>{let s=function(e,t){return window.sessionStorage.getItem(ro(e,t))}(e,t);if(!s)return;try{s=JSON.parse(s)}catch(e){return}const{post_title:l,content:p,excerpt:m}=s,h={title:l,content:p,excerpt:m};if(!Object.keys(h).some((e=>h[e]!==o(e))))return void so(e,t);if(n)return;const g=(0,i.uniqueId)("wpEditorAutosaveRestore");r((0,Zt.__)("The backup of this post in your browser is different from the version below."),{id:g,actions:[{label:(0,Zt.__)("Restore the backup"),onClick(){u((0,i.omit)(h,["content"])),d((0,a.parse)(h.content)),c(g)}}]})}),[t,e])}var tr=(0,u.ifCondition)(Jo)((function(){const{autosave:e}=(0,l.useDispatch)(co),t=(0,s.useCallback)((()=>{Zo((()=>e({local:!0})))}),[]);er(),function(){const{postId:e,isEditedPostNew:t,isDirty:n,isAutosaving:o,didError:r}=(0,l.useSelect)((e=>({postId:e(co).getCurrentPostId(),isEditedPostNew:e(co).isEditedPostNew(),isDirty:e(co).isEditedPostDirty(),isAutosaving:e(co).isAutosavingPost(),didError:e(co).didPostSaveRequestFail()})),[]),i=(0,s.useRef)(n),a=(0,s.useRef)(o);(0,s.useEffect)((()=>{!r&&(a.current&&!o||i.current&&!n)&&so(e,t),i.current=n,a.current=o}),[n,o,r]);const c=(0,u.usePrevious)(t),d=(0,u.usePrevious)(e);(0,s.useEffect)((()=>{d===e&&c&&!t&&so(e,!0)}),[t,e])}();const{localAutosaveInterval:n}=(0,l.useSelect)((e=>({localAutosaveInterval:e(co).getEditorSettings().__experimentalLocalAutosaveInterval})),[]);return(0,s.createElement)(go,{interval:n,autosave:t})}));var nr=function(e){let{children:t}=e;const n=(0,l.useSelect)((e=>{const{getEditedPostAttribute:t}=e(co),{getPostType:n}=e(c.store);return n(t("type"))}),[]);return(0,i.get)(n,["supports","page-attributes"],!1)?t:null};var or=(0,l.withSelect)((e=>{const{getEditedPostAttribute:t}=e(co),{getPostType:n}=e(c.store);return{postType:n(t("type"))}}))((function(e){let{postType:t,children:n,supportKeys:o}=e,r=!0;return t&&(r=(0,i.some)((0,i.castArray)(o),(e=>!!t.supports[e]))),r?n:null}));const rr=e=>{let{onUpdateOrder:t,order:n=0}=e;const[o,r]=(0,s.useState)(null),a=null===o?n:o;return(0,s.createElement)(No.TextControl,{className:"editor-page-attributes__order",type:"number",label:(0,Zt.__)("Order"),value:a,onChange:e=>{r(e);const n=Number(e);Number.isInteger(n)&&""!==(0,i.invoke)(e,["trim"])&&t(Number(e))},size:6,onBlur:()=>{r(null)}})};var sr=(0,u.compose)([(0,l.withSelect)((e=>({order:e(co).getEditedPostAttribute("menu_order")}))),(0,l.withDispatch)((e=>({onUpdateOrder(t){e(co).editPost({menu_order:t})}})))])((function(e){return(0,s.createElement)(or,{supportKeys:"page-attributes"},(0,s.createElement)(rr,e))}));function ir(e){const t=e.map((e=>({children:[],parent:null,...e}))),n=(0,i.groupBy)(t,"parent");if(n.null&&n.null.length)return t;const o=e=>e.map((e=>{const t=n[e.id];return{...e,children:t&&t.length?o(t):[]}}));return o(n[0]||[])}const ar=e=>(0,i.unescape)(e.replace("&#039;","'")),lr=e=>({...e,name:ar(e.name)}),cr=e=>(0,i.map)(e,lr);function ur(e){var t;return null!=e&&null!==(t=e.title)&&void 0!==t&&t.rendered?(0,Wo.decodeEntities)(e.title.rendered):`#${e.id} (${(0,Zt.__)("no title")})`}const dr=(e,t)=>{const n=(0,i.deburr)(e).toLowerCase(),o=(0,i.deburr)(t).toLowerCase();return n===o?0:n.startsWith(o)?n.length:1/0};var pr=function(){const{editPost:e}=(0,l.useDispatch)(co),[t,n]=(0,s.useState)(!1),{parentPost:o,parentPostId:r,items:a,postType:u}=(0,l.useSelect)((e=>{const{getPostType:n,getEntityRecords:o,getEntityRecord:r}=e(c.store),{getCurrentPostId:s,getEditedPostAttribute:a}=e(co),l=a("type"),u=a("parent"),d=n(l),p=s(),m=(0,i.get)(d,["hierarchical"],!1),h={per_page:100,exclude:p,parent_exclude:p,orderby:"menu_order",order:"asc",_fields:"id,title,parent"};return t&&(h.search=t),{parentPostId:u,parentPost:u?r("postType",l,u):null,items:m?o("postType",l,h):[],postType:d}}),[t]),d=(0,i.get)(u,["hierarchical"],!1),p=(0,i.get)(u,["labels","parent_item_colon"]),m=a||[],h=(0,s.useMemo)((()=>{const e=function(n){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const r=n.map((t=>[{value:t.id,label:(0,i.repeat)("— ",o)+(0,i.unescape)(t.name),rawName:t.name},...e(t.children||[],o+1)])),s=r.sort(((e,n)=>{let[o]=e,[r]=n;return dr(o.rawName,t)>=dr(r.rawName,t)?1:-1}));return(0,i.flatten)(s)};let n=m.map((e=>({id:e.id,parent:e.parent,name:ur(e)})));t||(n=ir(n));const s=e(n),a=(0,i.find)(s,(e=>e.value===r));return o&&!a&&s.unshift({value:r,label:ur(o)}),s}),[m,t]);return d&&p?(0,s.createElement)(No.ComboboxControl,{className:"editor-page-attributes__parent",label:p,value:r,options:h,onFilterValueChange:(0,i.debounce)((e=>{n(e)}),300),onChange:t=>{e({parent:t})}}):null};var mr=function(e){let{}=e;const{availableTemplates:t,selectedTemplate:n,isViewable:o}=(0,l.useSelect)((e=>{var t,n;const{getEditedPostAttribute:o,getEditorSettings:r,getCurrentPostType:s}=e(co),{getPostType:i}=e(c.store);return{selectedTemplate:o("template"),availableTemplates:r().availableTemplates,isViewable:null!==(t=null===(n=i(s()))||void 0===n?void 0:n.viewable)&&void 0!==t&&t}}),[]),{editPost:r}=(0,l.useDispatch)(co);return!o||(0,i.isEmpty)(t)?null:(0,s.createElement)(No.SelectControl,{label:(0,Zt.__)("Template:"),value:n,onChange:e=>{r({template:e||""})},options:(0,i.map)(t,((e,t)=>({value:t,label:e})))})};const hr={who:"authors",per_page:50,_fields:"id,name",context:"view"};var gr=function(){const[e,t]=(0,s.useState)(),{authorId:n,isLoading:o,authors:r,postAuthor:a}=(0,l.useSelect)((t=>{const{getUser:n,getUsers:o,isResolving:r}=t(c.store),{getEditedPostAttribute:s}=t(co),i=n(s("author"),{context:"view"}),a={...hr};return e&&(a.search=e),{authorId:s("author"),postAuthor:i,authors:o(a),isLoading:r("core","getUsers",[a])}}),[e]),{editPost:u}=(0,l.useDispatch)(co),d=(0,s.useMemo)((()=>{const e=(null!=r?r:[]).map((e=>({value:e.id,label:(0,Wo.decodeEntities)(e.name)})));return e.findIndex((e=>{let{value:t}=e;return(null==a?void 0:a.id)===t}))<0&&a?[{value:a.id,label:(0,Wo.decodeEntities)(a.name)},...e]:e}),[r,a]);return a?(0,s.createElement)(No.ComboboxControl,{label:(0,Zt.__)("Author"),options:d,value:n,onFilterValueChange:(0,i.debounce)((e=>{t(e)}),300),onChange:e=>{e&&u({author:e})},isLoading:o,allowReset:!1}):null};var fr=function(){const{editPost:e}=(0,l.useDispatch)(co),{postAuthor:t,authors:n}=(0,l.useSelect)((e=>({postAuthor:e(co).getEditedPostAttribute("author"),authors:e(c.store).getUsers(hr)})),[]),o=(0,s.useMemo)((()=>(null!=n?n:[]).map((e=>({value:e.id,label:(0,Wo.decodeEntities)(e.name)})))),[n]);return(0,s.createElement)(No.SelectControl,{className:"post-author-selector",label:(0,Zt.__)("Author"),options:o,onChange:t=>{const n=Number(t);e({author:n})},value:t})};var vr=function(){return(0,l.useSelect)((e=>{const t=e(c.store).getUsers(hr);return(null==t?void 0:t.length)>=25}),[])?(0,s.createElement)(gr,null):(0,s.createElement)(fr,null)};function _r(e){let{children:t}=e;const{hasAssignAuthorAction:n,hasAuthors:o}=(0,l.useSelect)((e=>{const t=e(co).getCurrentPost(),n=e(c.store).getUsers(hr);return{hasAssignAuthorAction:(0,i.get)(t,["_links","wp:action-assign-author"],!1),hasAuthors:(null==n?void 0:n.length)>=1}}),[]);return n&&o?(0,s.createElement)(or,{supportKeys:"author"},t):null}var yr=(0,u.compose)([(0,l.withSelect)((e=>({commentStatus:e(co).getEditedPostAttribute("comment_status")}))),(0,l.withDispatch)((e=>({editPost:e(co).editPost})))])((function(e){let{commentStatus:t="open",...n}=e;return(0,s.createElement)(No.CheckboxControl,{label:(0,Zt.__)("Allow comments"),checked:"open"===t,onChange:()=>n.editPost({comment_status:"open"===t?"closed":"open"})})}));var br=(0,u.compose)([(0,l.withSelect)((e=>({excerpt:e(co).getEditedPostAttribute("excerpt")}))),(0,l.withDispatch)((e=>({onUpdateExcerpt(t){e(co).editPost({excerpt:t})}})))])((function(e){let{excerpt:t,onUpdateExcerpt:n}=e;return(0,s.createElement)("div",{className:"editor-post-excerpt"},(0,s.createElement)(No.TextareaControl,{label:(0,Zt.__)("Write an excerpt (optional)"),className:"editor-post-excerpt__textarea",onChange:e=>n(e),value:t}),(0,s.createElement)(No.ExternalLink,{href:(0,Zt.__)("https://wordpress.org/support/article/excerpt/")},(0,Zt.__)("Learn more about manual excerpts")))}));var Er=function(e){return(0,s.createElement)(or,r({},e,{supportKeys:"excerpt"}))};var Sr=(0,l.withSelect)((e=>{const{getThemeSupports:t}=e(c.store),{getEditedPostAttribute:n}=e(co);return{postType:n("type"),themeSupports:t()}}))((function(e){let{themeSupports:t,children:n,postType:o,supportKeys:r}=e;return(0,i.some)((0,i.castArray)(r),(e=>{const n=(0,i.get)(t,[e],!1);return"post-thumbnails"===e&&(0,i.isArray)(n)?(0,i.includes)(n,o):n}))?n:null}));var wr=function(e){return(0,s.createElement)(Sr,{supportKeys:"post-thumbnails"},(0,s.createElement)(or,r({},e,{supportKeys:"thumbnail"})))};const Pr=["image"],kr=(0,Zt.__)("Featured image"),Cr=(0,Zt.__)("Set featured image"),Tr=(0,Zt.__)("Remove image");const xr=(0,l.withSelect)((e=>{const{getMedia:t,getPostType:n}=e(c.store),{getCurrentPostId:o,getEditedPostAttribute:r}=e(co),s=r("featured_media");return{media:s?t(s,{context:"view"}):null,currentPostId:o(),postType:n(r("type")),featuredImageId:s}})),Br=(0,l.withDispatch)(((e,t,n)=>{let{noticeOperations:o}=t,{select:r}=n;const{editPost:s}=e(co);return{onUpdateImage(e){s({featured_media:e.id})},onDropImage(e){r(m.store).getSettings().mediaUpload({allowedTypes:["image"],filesList:e,onFileChange(e){let[t]=e;s({featured_media:t.id})},onError(e){o.removeAllNotices(),o.createErrorNotice(e)}})},onRemoveImage(){s({featured_media:0})}}}));var Ar=(0,u.compose)(No.withNotices,xr,Br,(0,No.withFilters)("editor.PostFeaturedImage"))((function(e){var t,n;let{currentPostId:o,featuredImageId:r,onUpdateImage:a,onDropImage:l,onRemoveImage:c,media:u,postType:p,noticeUI:h}=e;const g=(0,i.get)(p,["labels"],{}),f=(0,s.createElement)("p",null,(0,Zt.__)("To edit the featured image, you need permission to upload media."));let v,_,y;if(u){const e=(0,d.applyFilters)("editor.PostFeaturedImage.imageSize","post-thumbnail",u.id,o);if((0,i.has)(u,["media_details","sizes",e]))v=u.media_details.sizes[e].width,_=u.media_details.sizes[e].height,y=u.media_details.sizes[e].source_url;else{const e=(0,d.applyFilters)("editor.PostFeaturedImage.imageSize","thumbnail",u.id,o);(0,i.has)(u,["media_details","sizes",e])?(v=u.media_details.sizes[e].width,_=u.media_details.sizes[e].height,y=u.media_details.sizes[e].source_url):(v=u.media_details.width,_=u.media_details.height,y=u.source_url)}}return(0,s.createElement)(wr,null,h,(0,s.createElement)("div",{className:"editor-post-featured-image"},u&&(0,s.createElement)("div",{id:`editor-post-featured-image-${r}-describedby`,className:"hidden"},u.alt_text&&(0,Zt.sprintf)((0,Zt.__)("Current image: %s"),u.alt_text),!u.alt_text&&(0,Zt.sprintf)((0,Zt.__)("The current image has no alternative text. The file name is: %s"),(null===(t=u.media_details.sizes)||void 0===t||null===(n=t.full)||void 0===n?void 0:n.file)||u.slug)),(0,s.createElement)(m.MediaUploadCheck,{fallback:f},(0,s.createElement)(m.MediaUpload,{title:g.featured_image||kr,onSelect:a,unstableFeaturedImageFlow:!0,allowedTypes:Pr,modalClass:"editor-post-featured-image__media-modal",render:e=>{let{open:t}=e;return(0,s.createElement)("div",{className:"editor-post-featured-image__container"},(0,s.createElement)(No.Button,{className:r?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t,"aria-label":r?(0,Zt.__)("Edit or update the image"):null,"aria-describedby":r?`editor-post-featured-image-${r}-describedby`:null},!!r&&u&&(0,s.createElement)(No.ResponsiveWrapper,{naturalWidth:v,naturalHeight:_,isInline:!0},(0,s.createElement)("img",{src:y,alt:""})),!!r&&!u&&(0,s.createElement)(No.Spinner,null),!r&&(g.set_featured_image||Cr)),(0,s.createElement)(No.DropZone,{onFilesDrop:l}))},value:r})),!!r&&u&&!u.isLoading&&(0,s.createElement)(m.MediaUploadCheck,null,(0,s.createElement)(m.MediaUpload,{title:g.featured_image||kr,onSelect:a,unstableFeaturedImageFlow:!0,allowedTypes:Pr,modalClass:"editor-post-featured-image__media-modal",render:e=>{let{open:t}=e;return(0,s.createElement)(No.Button,{onClick:t,variant:"secondary"},(0,Zt.__)("Replace Image"))}})),!!r&&(0,s.createElement)(m.MediaUploadCheck,null,(0,s.createElement)(No.Button,{onClick:c,variant:"link",isDestructive:!0},g.remove_featured_image||Tr))))}));var Ir=(0,l.withSelect)((e=>({disablePostFormats:e(co).getEditorSettings().disablePostFormats})))((function(e){let{disablePostFormats:t,...n}=e;return!t&&(0,s.createElement)(or,r({},n,{supportKeys:"post-formats"}))}));const Rr=[{id:"aside",caption:(0,Zt.__)("Aside")},{id:"audio",caption:(0,Zt.__)("Audio")},{id:"chat",caption:(0,Zt.__)("Chat")},{id:"gallery",caption:(0,Zt.__)("Gallery")},{id:"image",caption:(0,Zt.__)("Image")},{id:"link",caption:(0,Zt.__)("Link")},{id:"quote",caption:(0,Zt.__)("Quote")},{id:"standard",caption:(0,Zt.__)("Standard")},{id:"status",caption:(0,Zt.__)("Status")},{id:"video",caption:(0,Zt.__)("Video")}].sort(((e,t)=>{const n=e.caption.toUpperCase(),o=t.caption.toUpperCase();return n<o?-1:n>o?1:0}));function Nr(){const e=`post-format-selector-${(0,u.useInstanceId)(Nr)}`,{postFormat:t,suggestedFormat:n,supportedFormats:o}=(0,l.useSelect)((e=>{const{getEditedPostAttribute:t,getSuggestedPostFormat:n}=e(co),o=t("format"),r=e(c.store).getThemeSupports();return{postFormat:null!=o?o:"standard",suggestedFormat:n(),supportedFormats:(0,i.union)([o],(0,i.get)(r,["formats"],[]))}}),[]),r=Rr.filter((e=>(0,i.includes)(o,e.id))),a=(0,i.find)(r,(e=>e.id===n)),{editPost:d}=(0,l.useDispatch)(co),p=e=>d({format:e});return(0,s.createElement)(Ir,null,(0,s.createElement)("div",{className:"editor-post-format"},(0,s.createElement)("div",{className:"editor-post-format__content"},(0,s.createElement)("label",{htmlFor:e},(0,Zt.__)("Post Format")),(0,s.createElement)(No.SelectControl,{value:t,onChange:e=>p(e),id:e,options:r.map((e=>({label:e.caption,value:e.id})))})),a&&a.id!==t&&(0,s.createElement)("div",{className:"editor-post-format__suggestion"},(0,Zt.__)("Suggestion:")," ",(0,s.createElement)(No.Button,{variant:"link",onClick:()=>p(a.id)},(0,Zt.sprintf)((0,Zt.__)("Apply format: %s"),a.caption)))))}var Dr=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M5.5 12h1.75l-2.5 3-2.5-3H4a8 8 0 113.134 6.35l.907-1.194A6.5 6.5 0 105.5 12zm9.53 1.97l-2.28-2.28V8.5a.75.75 0 00-1.5 0V12a.747.747 0 00.218.529l1.282-.84-1.28.842 2.5 2.5a.75.75 0 101.06-1.061z"}));var Lr=(0,l.withSelect)((e=>{const{getCurrentPostLastRevisionId:t,getCurrentPostRevisionsCount:n}=e(co);return{lastRevisionId:t(),revisionsCount:n()}}))((function(e){let{lastRevisionId:t,revisionsCount:n,children:o}=e;return!t||n<2?null:(0,s.createElement)(or,{supportKeys:"revisions"},o)}));var Or=(0,l.withSelect)((e=>{const{getCurrentPostLastRevisionId:t,getCurrentPostRevisionsCount:n}=e(co);return{lastRevisionId:t(),revisionsCount:n()}}))((function(e){let{lastRevisionId:t,revisionsCount:n}=e;return(0,s.createElement)(Lr,null,(0,s.createElement)(No.Button,{href:O("revision.php",{revision:t,gutenberg:!0}),className:"editor-post-last-revision__title",icon:Dr},(0,Zt.sprintf)((0,Zt._n)("%d Revision","%d Revisions",n),n)))}));class Ur extends s.Component{constructor(){super(...arguments),this.buttonRef=(0,s.createRef)(),this.openPreviewWindow=this.openPreviewWindow.bind(this)}componentDidUpdate(e){const{previewLink:t}=this.props;t&&!e.previewLink&&this.setPreviewWindowLink(t)}setPreviewWindowLink(e){const{previewWindow:t}=this;t&&!t.closed&&(t.location=e,this.buttonRef.current&&this.buttonRef.current.focus())}getWindowTarget(){const{postId:e}=this.props;return`wp-preview-${e}`}openPreviewWindow(e){e.preventDefault(),this.previewWindow&&!this.previewWindow.closed||(this.previewWindow=window.open("",this.getWindowTarget())),this.previewWindow.focus(),this.props.isAutosaveable&&!this.props.isPostLocked?(this.props.isDraft?this.props.savePost({isPreview:!0}):this.props.autosave({isPreview:!0}),function(e){let t=(0,s.renderToString)((0,s.createElement)("div",{className:"editor-post-preview-button__interstitial-message"},(0,s.createElement)(No.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},(0,s.createElement)(No.Path,{className:"outer",d:"M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",fill:"none"}),(0,s.createElement)(No.Path,{className:"inner",d:"M69.5 46.4c0-3.9-1.4-6.7-2.6-8.8-1.6-2.6-3.1-4.9-3.1-7.5 0-2.9 2.2-5.7 5.4-5.7h.4C63.9 19.2 56.4 16 48 16c-11.2 0-21 5.7-26.7 14.4h2.1c3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3L40 67.5l7-20.9L42 33c-1.7-.1-3.3-.3-3.3-.3-1.7-.1-1.5-2.7.2-2.6 0 0 5.3.4 8.4.4 3.3 0 8.5-.4 8.5-.4 1.7-.1 1.9 2.4.2 2.6 0 0-1.7.2-3.7.3l11.5 34.3 3.3-10.4c1.6-4.5 2.4-7.8 2.4-10.5zM16.1 48c0 12.6 7.3 23.5 18 28.7L18.8 35c-1.7 4-2.7 8.4-2.7 13zm32.5 2.8L39 78.6c2.9.8 5.9 1.3 9 1.3 3.7 0 7.3-.6 10.6-1.8-.1-.1-.2-.3-.2-.4l-9.8-26.9zM76.2 36c0 3.2-.6 6.9-2.4 11.4L64 75.6c9.5-5.5 15.9-15.8 15.9-27.6 0-5.5-1.4-10.8-3.9-15.3.1 1 .2 2.1.2 3.3z",fill:"none"})),(0,s.createElement)("p",null,(0,Zt.__)("Generating preview…"))));t+='\n\t\t<style>\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\t.editor-post-preview-button__interstitial-message {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\twidth: 100vw;\n\t\t\t}\n\t\t\t@-webkit-keyframes paint {\n\t\t\t\t0% {\n\t\t\t\t\tstroke-dashoffset: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\t@-moz-keyframes paint {\n\t\t\t\t0% {\n\t\t\t\t\tstroke-dashoffset: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\t@-o-keyframes paint {\n\t\t\t\t0% {\n\t\t\t\t\tstroke-dashoffset: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\t@keyframes paint {\n\t\t\t\t0% {\n\t\t\t\t\tstroke-dashoffset: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t\t.editor-post-preview-button__interstitial-message svg {\n\t\t\t\twidth: 192px;\n\t\t\t\theight: 192px;\n\t\t\t\tstroke: #555d66;\n\t\t\t\tstroke-width: 0.75;\n\t\t\t}\n\t\t\t.editor-post-preview-button__interstitial-message svg .outer,\n\t\t\t.editor-post-preview-button__interstitial-message svg .inner {\n\t\t\t\tstroke-dasharray: 280;\n\t\t\t\tstroke-dashoffset: 280;\n\t\t\t\t-webkit-animation: paint 1.5s ease infinite alternate;\n\t\t\t\t-moz-animation: paint 1.5s ease infinite alternate;\n\t\t\t\t-o-animation: paint 1.5s ease infinite alternate;\n\t\t\t\tanimation: paint 1.5s ease infinite alternate;\n\t\t\t}\n\t\t\tp {\n\t\t\t\ttext-align: center;\n\t\t\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;\n\t\t\t}\n\t\t</style>\n\t',t=(0,d.applyFilters)("editor.PostPreview.interstitialMarkup",t),e.write(t),e.title=(0,Zt.__)("Generating preview…"),e.close()}(this.previewWindow.document)):this.setPreviewWindowLink(e.target.href)}render(){const{previewLink:e,currentPostLink:t,isSaveable:n,role:o}=this.props,r=e||t,i=_o()({"editor-post-preview":!this.props.className},this.props.className);return(0,s.createElement)(No.Button,{variant:this.props.className?void 0:"tertiary",className:i,href:r,target:this.getWindowTarget(),disabled:!n,onClick:this.openPreviewWindow,ref:this.buttonRef,role:o},this.props.textContent?this.props.textContent:(0,s.createElement)(s.Fragment,null,(0,Zt._x)("Preview","imperative verb"),(0,s.createElement)(No.VisuallyHidden,{as:"span"},(0,Zt.__)("(opens in a new tab)"))))}}var Fr=(0,u.compose)([(0,l.withSelect)(((e,t)=>{let{forcePreviewLink:n,forceIsAutosaveable:o}=t;const{getCurrentPostId:r,getCurrentPostAttribute:s,getEditedPostAttribute:a,isEditedPostSaveable:l,isEditedPostAutosaveable:u,getEditedPostPreviewLink:d,isPostLocked:p}=e(co),{getPostType:m}=e(c.store),h=d(),g=m(a("type"));return{postId:r(),currentPostLink:s("link"),previewLink:void 0!==n?n:h,isSaveable:l(),isAutosaveable:o||u(),isViewable:(0,i.get)(g,["viewable"],!1),isDraft:-1!==["draft","auto-draft"].indexOf(a("status")),isPostLocked:p()}})),(0,l.withDispatch)((e=>({autosave:e(co).autosave,savePost:e(co).savePost}))),(0,u.ifCondition)((e=>{let{isViewable:t}=e;return t}))])(Ur);function Mr(){const e="core/editor/post-locked-modal-"+(0,u.useInstanceId)(Mr),{autosave:t,updatePostLock:n}=(0,l.useDispatch)(co),{isLocked:o,isTakeover:r,user:a,postId:p,postLockUtils:m,activePostLock:h,postType:g}=(0,l.useSelect)((e=>{const{isPostLocked:t,isPostLockTakeover:n,getPostLockUser:o,getCurrentPostId:r,getActivePostLock:s,getEditedPostAttribute:i,getEditorSettings:a}=e(co),{getPostType:l}=e(c.store);return{isLocked:t(),isTakeover:n(),user:o(),postId:r(),postLockUtils:a().postLockUtils,activePostLock:s(),postType:l(i("type"))}}),[]);if((0,s.useEffect)((()=>{function r(){if(o||!h)return;const e=new window.FormData;if(e.append("action","wp-remove-post-lock"),e.append("_wpnonce",m.unlockNonce),e.append("post_ID",p),e.append("active_post_lock",h),window.navigator.sendBeacon)window.navigator.sendBeacon(m.ajaxUrl,e);else{const t=new window.XMLHttpRequest;t.open("POST",m.ajaxUrl,!1),t.send(e)}}return(0,d.addAction)("heartbeat.send",e,(function(e){o||(e["wp-refresh-post-lock"]={lock:h,post_id:p})})),(0,d.addAction)("heartbeat.tick",e,(function(e){if(!e["wp-refresh-post-lock"])return;const o=e["wp-refresh-post-lock"];o.lock_error?(t(),n({isLocked:!0,isTakeover:!0,user:{avatar:o.lock_error.avatar_src}})):o.new_lock&&n({isLocked:!1,activePostLock:o.new_lock})})),window.addEventListener("beforeunload",r),()=>{(0,d.removeAction)("heartbeat.send",e),(0,d.removeAction)("heartbeat.tick",e),window.removeEventListener("beforeunload",r)}}),[]),!o)return null;const f=a.name,v=a.avatar,_=(0,k.addQueryArgs)("post.php",{"get-post-lock":"1",lockKey:!0,post:p,action:"edit",_wpnonce:m.nonce}),y=O("edit.php",{post_type:(0,i.get)(g,["slug"])}),b=(0,Zt.__)("Exit the Editor");return(0,s.createElement)(No.Modal,{title:r?(0,Zt.__)("Someone else has taken over this post."):(0,Zt.__)("This post is already being edited."),focusOnMount:!0,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,isDismissible:!1,className:"editor-post-locked-modal"},!!v&&(0,s.createElement)("img",{src:v,alt:(0,Zt.__)("Avatar"),className:"editor-post-locked-modal__avatar"}),!!r&&(0,s.createElement)("div",null,(0,s.createElement)("div",null,f?(0,Zt.sprintf)((0,Zt.__)("%s now has editing control of this post. Don’t worry, your changes up to this moment have been saved."),f):(0,Zt.__)("Another user now has editing control of this post. Don’t worry, your changes up to this moment have been saved.")),(0,s.createElement)("div",{className:"editor-post-locked-modal__buttons"},(0,s.createElement)(No.Button,{variant:"primary",href:y},b))),!r&&(0,s.createElement)("div",null,(0,s.createElement)("div",null,f?(0,Zt.sprintf)((0,Zt.__)("%s is currently working on this post, which means you cannot make changes, unless you take over."),f):(0,Zt.__)("Another user is currently working on this post, which means you cannot make changes, unless you take over.")),(0,s.createElement)("div",{className:"editor-post-locked-modal__buttons"},(0,s.createElement)(No.Button,{variant:"secondary",href:y},b),(0,s.createElement)(Fr,null),(0,s.createElement)(No.Button,{variant:"primary",href:_},(0,Zt.__)("Take Over")))))}var zr=(0,u.compose)((0,l.withSelect)((e=>{const{isCurrentPostPublished:t,getCurrentPostType:n,getCurrentPost:o}=e(co);return{hasPublishAction:(0,i.get)(o(),["_links","wp:action-publish"],!1),isPublished:t(),postType:n()}})))((function(e){let{hasPublishAction:t,isPublished:n,children:o}=e;return n||!t?null:o}));var Vr=(0,u.compose)((0,l.withSelect)((e=>({status:e(co).getEditedPostAttribute("status")}))),(0,l.withDispatch)((e=>({onUpdateStatus(t){e(co).editPost({status:t})}}))))((function(e){let{status:t,onUpdateStatus:n}=e;return(0,s.createElement)(zr,null,(0,s.createElement)(No.CheckboxControl,{label:(0,Zt.__)("Pending review"),checked:"pending"===t,onChange:()=>{n("pending"===t?"draft":"pending")}}))}));var Hr=(0,u.compose)([(0,l.withSelect)((e=>({pingStatus:e(co).getEditedPostAttribute("ping_status")}))),(0,l.withDispatch)((e=>({editPost:e(co).editPost})))])((function(e){let{pingStatus:t="open",...n}=e;return(0,s.createElement)(No.CheckboxControl,{label:(0,Zt.__)("Allow pingbacks & trackbacks"),checked:"open"===t,onChange:()=>n.editPost({ping_status:"open"===t?"closed":"open"})})}));var Wr=(0,u.compose)([(0,l.withSelect)(((e,t)=>{let{forceIsSaving:n}=t;const{isCurrentPostPublished:o,isEditedPostBeingScheduled:r,isSavingPost:s,isPublishingPost:a,getCurrentPost:l,getCurrentPostType:c,isAutosavingPost:u}=e(co);return{isPublished:o(),isBeingScheduled:r(),isSaving:n||s(),isPublishing:a(),hasPublishAction:(0,i.get)(l(),["_links","wp:action-publish"],!1),postType:c(),isAutosaving:u()}}))])((function(e){let{isPublished:t,isBeingScheduled:n,isSaving:o,isPublishing:r,hasPublishAction:s,isAutosaving:i,hasNonPostEntityChanges:a}=e;return r?(0,Zt.__)("Publishing…"):t&&o&&!i?(0,Zt.__)("Updating…"):n&&o&&!i?(0,Zt.__)("Scheduling…"):s?t?a?(0,Zt.__)("Update…"):(0,Zt.__)("Update"):n?a?(0,Zt.__)("Schedule…"):(0,Zt.__)("Schedule"):(0,Zt.__)("Publish"):a?(0,Zt.__)("Submit for Review…"):(0,Zt.__)("Submit for Review")}));class Gr extends s.Component{constructor(e){super(e),this.buttonNode=(0,s.createRef)(),this.createOnClick=this.createOnClick.bind(this),this.closeEntitiesSavedStates=this.closeEntitiesSavedStates.bind(this),this.state={entitiesSavedStatesCallback:!1}}componentDidMount(){this.props.focusOnMount&&this.buttonNode.current.focus()}createOnClick(e){var t=this;return function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];const{hasNonPostEntityChanges:s,setEntitiesSavedStatesCallback:a}=t.props;return s&&a?(t.setState({entitiesSavedStatesCallback:()=>e(...o)}),a((()=>t.closeEntitiesSavedStates)),i.noop):e(...o)}}closeEntitiesSavedStates(e){const{postType:t,postId:n}=this.props,{entitiesSavedStatesCallback:o}=this.state;this.setState({entitiesSavedStatesCallback:!1},(()=>{e&&(0,i.some)(e,(e=>"postType"===e.kind&&e.name===t&&e.key===n))&&o()}))}render(){const{forceIsDirty:e,forceIsSaving:t,hasPublishAction:n,isBeingScheduled:o,isOpen:a,isPostSavingLocked:l,isPublishable:c,isPublished:u,isSaveable:d,isSaving:p,isAutoSaving:m,isToggle:h,onSave:g,onStatusChange:f,onSubmit:v=i.noop,onToggle:_,visibility:y,hasNonPostEntityChanges:b,isSavingNonPostEntityChanges:E}=this.props,S=(p||t||!d||l||!c&&!e)&&(!b||E),w=(u||p||t||!d||!c&&!e)&&(!b||E);let P;P=n?"private"===y?"private":o?"future":"publish":"pending";const k={"aria-disabled":S,className:"editor-post-publish-button",isBusy:!m&&p&&u,variant:"primary",onClick:this.createOnClick((()=>{S||(v(),f(P),g())}))},C={"aria-disabled":w,"aria-expanded":a,className:"editor-post-publish-panel__toggle",isBusy:p&&u,variant:"primary",onClick:this.createOnClick((()=>{w||_()}))},T=o?(0,Zt.__)("Schedule…"):(0,Zt.__)("Publish"),x=(0,s.createElement)(Wr,{forceIsSaving:t,hasNonPostEntityChanges:b}),B=h?C:k,A=h?T:x;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(No.Button,r({ref:this.buttonNode},B,{className:_o()(B.className,"editor-post-publish-button__button",{"has-changes-dot":b})}),A))}}var jr=(0,u.compose)([(0,l.withSelect)((e=>{const{isSavingPost:t,isAutosavingPost:n,isEditedPostBeingScheduled:o,getEditedPostVisibility:r,isCurrentPostPublished:s,isEditedPostSaveable:a,isEditedPostPublishable:l,isPostSavingLocked:c,getCurrentPost:u,getCurrentPostType:d,getCurrentPostId:p,hasNonPostEntityChanges:m,isSavingNonPostEntityChanges:h}=e(co),g=n();return{isSaving:t()||g,isAutoSaving:g,isBeingScheduled:o(),visibility:r(),isSaveable:a(),isPostSavingLocked:c(),isPublishable:l(),isPublished:s(),hasPublishAction:(0,i.get)(u(),["_links","wp:action-publish"],!1),postType:d(),postId:p(),hasNonPostEntityChanges:m(),isSavingNonPostEntityChanges:h()}})),(0,l.withDispatch)((e=>{const{editPost:t,savePost:n}=e(co);return{onStatusChange:e=>t({status:e},{undoIgnore:!0}),onSave:n}}))])(Gr);var $r=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}));var Kr=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,s.createElement)(x.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}));const qr=[{value:"public",label:(0,Zt.__)("Public"),info:(0,Zt.__)("Visible to everyone.")},{value:"private",label:(0,Zt.__)("Private"),info:(0,Zt.__)("Only visible to site admins and editors.")},{value:"password",label:(0,Zt.__)("Password Protected"),info:(0,Zt.__)("Protected with a password you choose. Only those with the password can view this post.")}];class Yr extends s.Component{constructor(e){super(...arguments),this.setPublic=this.setPublic.bind(this),this.setPrivate=this.setPrivate.bind(this),this.setPasswordProtected=this.setPasswordProtected.bind(this),this.updatePassword=this.updatePassword.bind(this),this.state={hasPassword:!!e.password}}setPublic(){const{visibility:e,onUpdateVisibility:t,status:n}=this.props;t("private"===e?"draft":n),this.setState({hasPassword:!1})}setPrivate(){if(!window.confirm((0,Zt.__)("Would you like to privately publish this post now?")))return;const{onUpdateVisibility:e,onSave:t}=this.props;e("private"),this.setState({hasPassword:!1}),t()}setPasswordProtected(){const{visibility:e,onUpdateVisibility:t,status:n,password:o}=this.props;t("private"===e?"draft":n,o||""),this.setState({hasPassword:!0})}updatePassword(e){const{status:t,onUpdateVisibility:n}=this.props;n(t,e.target.value)}render(){const{visibility:e,password:t,instanceId:n}=this.props,o={public:{onSelect:this.setPublic,checked:"public"===e&&!this.state.hasPassword},private:{onSelect:this.setPrivate,checked:"private"===e},password:{onSelect:this.setPasswordProtected,checked:this.state.hasPassword}};return[(0,s.createElement)("fieldset",{key:"visibility-selector",className:"editor-post-visibility__dialog-fieldset"},(0,s.createElement)("legend",{className:"editor-post-visibility__dialog-legend"},(0,Zt.__)("Post Visibility")),qr.map((e=>{let{value:t,label:r,info:i}=e;return(0,s.createElement)("div",{key:t,className:"editor-post-visibility__choice"},(0,s.createElement)("input",{type:"radio",name:`editor-post-visibility__setting-${n}`,value:t,onChange:o[t].onSelect,checked:o[t].checked,id:`editor-post-${t}-${n}`,"aria-describedby":`editor-post-${t}-${n}-description`,className:"editor-post-visibility__dialog-radio"}),(0,s.createElement)("label",{htmlFor:`editor-post-${t}-${n}`,className:"editor-post-visibility__dialog-label"},r),(0,s.createElement)("p",{id:`editor-post-${t}-${n}-description`,className:"editor-post-visibility__dialog-info"},i))}))),this.state.hasPassword&&(0,s.createElement)("div",{className:"editor-post-visibility__dialog-password",key:"password-selector"},(0,s.createElement)(No.VisuallyHidden,{as:"label",htmlFor:`editor-post-visibility__dialog-password-input-${n}`},(0,Zt.__)("Create password")),(0,s.createElement)("input",{className:"editor-post-visibility__dialog-password-input",id:`editor-post-visibility__dialog-password-input-${n}`,type:"text",onChange:this.updatePassword,value:t,placeholder:(0,Zt.__)("Use a secure password")}))]}}var Qr=(0,u.compose)([(0,l.withSelect)((e=>{const{getEditedPostAttribute:t,getEditedPostVisibility:n}=e(co);return{status:t("status"),visibility:n(),password:t("password")}})),(0,l.withDispatch)((e=>{const{savePost:t,editPost:n}=e(co);return{onSave:t,onUpdateVisibility(e){n({status:e,password:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""})}}})),u.withInstanceId])(Yr);var Xr=(0,l.withSelect)((e=>({visibility:e(co).getEditedPostVisibility()})))((function(e){let{visibility:t}=e;return(0,i.find)(qr,{value:t}).label}));function Zr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=new Date(e);return new Date(n.getFullYear(),n.getMonth()+(t?0:1),t?1:0).toISOString()}function Jr(){const{postDate:e,postType:t}=(0,l.useSelect)((e=>({postDate:e(co).getEditedPostAttribute("date"),postType:e(co).getCurrentPostType()})),[]),{editPost:n}=(0,l.useDispatch)(co),[o,r]=(0,s.useState)(Zr(e)),i=(0,l.useSelect)((e=>e(c.store).getEntityRecords("postType",t,{status:"publish,future",after:Zr(o),before:Zr(o,!1),exclude:[e(co).getCurrentPostId()]})),[o,t]),a=(0,s.useMemo)((()=>(i||[]).map((e=>{let{title:t,type:n,date:o}=e;return{title:null==t?void 0:t.rendered,type:n,date:new Date(o)}}))),[i]),u=(0,s.useRef)(),d=(0,P.__experimentalGetSettings)(),p=/a(?!\\)/i.test(d.formats.time.toLowerCase().replace(/\\\\/g,"").split("").reverse().join(""));return(0,s.createElement)(No.DateTimePicker,{ref:u,currentDate:e,onChange:function(e){n({date:e});const{ownerDocument:t}=u.current;t.activeElement.blur()},is12Hour:p,events:a,onMonthPreviewed:r})}var es=(0,l.withSelect)((e=>({date:e(co).getEditedPostAttribute("date"),isFloating:e(co).isEditedPostDateFloating()})))((function(e){let{date:t,isFloating:n}=e;const o=(0,P.__experimentalGetSettings)();return t&&!n?(0,P.format)(`${o.formats.date} ${o.formats.time}`,t):(0,Zt.__)("Immediately")})),ts=window.wp.apiFetch,ns=n.n(ts),os=window.wp.a11y;const rs={per_page:10,orderby:"count",order:"desc",hide_empty:!0,_fields:"id,name,count",context:"view"};function ss(e){let{onSelect:t,taxonomy:n}=e;const{_terms:o,showTerms:r}=(0,l.useSelect)((e=>{const t=e(c.store).getEntityRecords("taxonomy",n.slug,rs);return{_terms:t,showTerms:10===(null==t?void 0:t.length)}}),[]);if(!r)return null;const a=cr(o),u=(0,i.get)(n,["labels","most_used"]);return(0,s.createElement)("div",{className:"editor-post-taxonomies__flat-term-most-used"},(0,s.createElement)("h3",{className:"editor-post-taxonomies__flat-term-most-used-label"},u),(0,s.createElement)("ul",{role:"list",className:"editor-post-taxonomies__flat-term-most-used-list"},a.map((e=>(0,s.createElement)("li",{key:e.id},(0,s.createElement)(No.Button,{variant:"link",onClick:()=>t(e)},e.name))))))}const is=[],as={per_page:20,orderby:"count",order:"desc",_fields:"id,name",context:"view"},ls=(e,t)=>ar(e).toLowerCase()===ar(t).toLowerCase(),cs=(e,t)=>e.map((e=>(0,i.find)(t,(t=>ls(t.name,e))).id));var us=(0,No.withFilters)("editor.PostTaxonomyType")((function(e){let{slug:t}=e;const[n,o]=(0,s.useState)([]),[r,a]=(0,s.useState)(""),d=(0,u.useDebounce)(a,500),{terms:p,termIds:m,taxonomy:h,hasAssignAction:g,hasCreateAction:f,hasResolvedTerms:v}=(0,l.useSelect)((e=>{const{getCurrentPost:n,getEditedPostAttribute:o}=e(co),{getEntityRecords:r,getTaxonomy:s,hasFinishedResolution:a}=e(c.store),l=n(),u=s(t),d=u?o(u.rest_base):is,p={...as,include:d.join(","),per_page:-1};return{hasCreateAction:!!u&&(0,i.get)(l,["_links","wp:action-create-"+u.rest_base],!1),hasAssignAction:!!u&&(0,i.get)(l,["_links","wp:action-assign-"+u.rest_base],!1),taxonomy:u,termIds:d,terms:d.length?r("taxonomy",t,p):is,hasResolvedTerms:a("getEntityRecords",["taxonomy",t,p])}}),[t]),{searchResults:_}=(0,l.useSelect)((e=>{const{getEntityRecords:n}=e(c.store);return{searchResults:r?n("taxonomy",t,{...as,search:r}):is}}),[r]);(0,s.useEffect)((()=>{if(v){const e=p.map((e=>ar(e.name)));o(e)}}),[p,v]);const y=(0,s.useMemo)((()=>(null!=_?_:[]).map((e=>ar(e.name)))),[_]),{editPost:b}=(0,l.useDispatch)(co);if(!g)return null;function E(e){b({[h.rest_base]:e})}const S=(0,i.get)(h,["labels","add_new_item"],"post_tag"===t?(0,Zt.__)("Add new tag"):(0,Zt.__)("Add new Term")),w=(0,i.get)(h,["labels","singular_name"],"post_tag"===t?(0,Zt.__)("Tag"):(0,Zt.__)("Term")),P=(0,Zt.sprintf)((0,Zt._x)("%s added","term"),w),C=(0,Zt.sprintf)((0,Zt._x)("%s removed","term"),w),T=(0,Zt.sprintf)((0,Zt._x)("Remove %s","term"),w);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(No.FormTokenField,{value:n,suggestions:y,onChange:function(e){const t=[...p,...null!=_?_:[]],n=(0,i.uniqBy)(e,(e=>e.toLowerCase())),r=n.filter((e=>!(0,i.find)(t,(t=>ls(t.name,e)))));if(o(n),0===r.length)return E(cs(n,t));f&&Promise.all(r.map((e=>function(e,t){const n=(0,i.escape)(e);return ns()({path:`/wp/v2/${t}`,method:"POST",data:{name:n}}).catch((o=>"term_exists"===o.code?ns()({path:(0,k.addQueryArgs)(`/wp/v2/${t}`,{...as,search:n})}).then(cr).then((t=>(0,i.find)(t,(t=>ls(t.name,e))))):Promise.reject(o))).then(lr)}(e,h.rest_base)))).then((e=>{const o=t.concat(e);return E(cs(n,o))}))},onInputChange:d,maxSuggestions:20,label:S,messages:{added:P,removed:C,remove:T}}),(0,s.createElement)(ss,{taxonomy:h,onSelect:function(e){if(m.includes(e.id))return;const n=[...m,e.id],o=(0,Zt.sprintf)((0,Zt._x)("%s added","term"),(0,i.get)(h,["labels","singular_name"],"post_tag"===t?(0,Zt.__)("Tag"):(0,Zt.__)("Term")));(0,os.speak)(o,"assertive"),E(n)}}))}));const ds=()=>{const e=[(0,Zt.__)("Suggestion:"),(0,s.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},(0,Zt.__)("Add tags"))];return(0,s.createElement)(No.PanelBody,{initialOpen:!1,title:e},(0,s.createElement)("p",null,(0,Zt.__)("Tags help users and search engines navigate your site and find your content. Add a few keywords to describe your post.")),(0,s.createElement)(us,{slug:"post_tag"}))};class ps extends s.Component{constructor(e){super(e),this.state={hadTagsWhenOpeningThePanel:e.hasTags}}render(){return this.state.hadTagsWhenOpeningThePanel?null:(0,s.createElement)(ds,null)}}var ms=(0,u.compose)((0,l.withSelect)((e=>{const t=e(co).getCurrentPostType(),n=e(c.store).getTaxonomy("post_tag"),o=n&&e(co).getEditedPostAttribute(n.rest_base);return{areTagsFetched:void 0!==n,isPostTypeSupported:n&&(0,i.some)(n.types,(e=>e===t)),hasTags:o&&o.length}})),(0,u.ifCondition)((e=>{let{areTagsFetched:t,isPostTypeSupported:n}=e;return n&&t})))(ps);const hs=(e,t)=>{const n=Rr.filter((t=>(0,i.includes)(e,t.id)));return(0,i.find)(n,(e=>e.id===t))},gs=e=>{let{suggestedPostFormat:t,suggestionText:n,onUpdatePostFormat:o}=e;return(0,s.createElement)(No.Button,{variant:"link",onClick:()=>o(t)},n)};function fs(){const{currentPostFormat:e,suggestion:t}=(0,l.useSelect)((e=>{const{getEditedPostAttribute:t,getSuggestedPostFormat:n}=e(co),o=(0,i.get)(e(c.store).getThemeSupports(),["formats"],[]);return{currentPostFormat:t("format"),suggestion:hs(o,n())}}),[]),{editPost:n}=(0,l.useDispatch)(co),o=[(0,Zt.__)("Suggestion:"),(0,s.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},(0,Zt.__)("Use a post format"))];return t&&t.id!==e?(0,s.createElement)(No.PanelBody,{initialOpen:!1,title:o},(0,s.createElement)("p",null,(0,Zt.__)("Your theme uses post formats to highlight different kinds of content, like images or videos. Apply a post format to see this special styling.")),(0,s.createElement)("p",null,(0,s.createElement)(gs,{onUpdatePostFormat:e=>n({format:e}),suggestedPostFormat:t.id,suggestionText:(0,Zt.sprintf)((0,Zt.__)('Apply the "%1$s" format.'),t.caption)}))):null}var vs=function(e){let{children:t}=e;const{isBeingScheduled:n,isRequestingSiteIcon:o,hasPublishAction:r,siteIconUrl:a,siteTitle:u,siteHome:d}=(0,l.useSelect)((e=>{const{getCurrentPost:t,isEditedPostBeingScheduled:n}=e(co),{getEntityRecord:o,isResolving:r}=e(c.store),s=o("root","__unstableBase",void 0)||{};return{hasPublishAction:(0,i.get)(t(),["_links","wp:action-publish"],!1),isBeingScheduled:n(),isRequestingSiteIcon:r("getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:s.site_icon_url,siteTitle:s.name,siteHome:s.home&&(0,k.filterURLForDisplay)(s.home)}}),[]);let p,m,h=(0,s.createElement)(No.Icon,{className:"components-site-icon",size:"36px",icon:Kr});return a&&(h=(0,s.createElement)("img",{alt:(0,Zt.__)("Site Icon"),className:"components-site-icon",src:a})),o&&(h=null),r?n?(p=(0,Zt.__)("Are you ready to schedule?"),m=(0,Zt.__)("Your work will be published at the specified date and time.")):(p=(0,Zt.__)("Are you ready to publish?"),m=(0,Zt.__)("Double-check your settings before publishing.")):(p=(0,Zt.__)("Are you ready to submit for review?"),m=(0,Zt.__)("When you’re ready, submit your work for review, and an Editor will be able to approve it for you.")),(0,s.createElement)("div",{className:"editor-post-publish-panel__prepublish"},(0,s.createElement)("div",null,(0,s.createElement)("strong",null,p)),(0,s.createElement)("p",null,m),(0,s.createElement)("div",{className:"components-site-card"},h,(0,s.createElement)("div",{className:"components-site-info"},(0,s.createElement)("span",{className:"components-site-name"},(0,Wo.decodeEntities)(u)||(0,Zt.__)("(Untitled)")),(0,s.createElement)("span",{className:"components-site-home"},d))),r&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(No.PanelBody,{initialOpen:!1,title:[(0,Zt.__)("Visibility:"),(0,s.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},(0,s.createElement)(Xr,null))]},(0,s.createElement)(Qr,null)),(0,s.createElement)(No.PanelBody,{initialOpen:!1,title:[(0,Zt.__)("Publish:"),(0,s.createElement)("span",{className:"editor-post-publish-panel__link",key:"label"},(0,s.createElement)(es,null))]},(0,s.createElement)(Jr,null))),(0,s.createElement)(fs,null),(0,s.createElement)(ms,null),t)};const _s="%postname%";function ys(e){let{text:t,onCopy:n,children:o}=e;const r=(0,u.useCopyToClipboard)(t,n);return(0,s.createElement)(No.Button,{variant:"secondary",ref:r},o)}class bs extends s.Component{constructor(){super(...arguments),this.state={showCopyConfirmation:!1},this.onCopy=this.onCopy.bind(this),this.onSelectInput=this.onSelectInput.bind(this),this.postLink=(0,s.createRef)()}componentDidMount(){this.props.focusOnMount&&this.postLink.current.focus()}componentWillUnmount(){clearTimeout(this.dismissCopyConfirmation)}onCopy(){this.setState({showCopyConfirmation:!0}),clearTimeout(this.dismissCopyConfirmation),this.dismissCopyConfirmation=setTimeout((()=>{this.setState({showCopyConfirmation:!1})}),4e3)}onSelectInput(e){e.target.select()}render(){const{children:e,isScheduled:t,post:n,postType:o}=this.props,r=(0,i.get)(o,["labels","singular_name"]),a=(0,i.get)(o,["labels","view_item"]),l=(0,i.get)(o,["labels","add_new_item"]),c="future"===n.status?(e=>{const{slug:t}=e;return e.permalink_template.includes(_s)?e.permalink_template.replace(_s,t):e.permalink_template})(n):n.link,u=(0,k.addQueryArgs)("post-new.php",{post_type:n.type}),d=t?(0,s.createElement)(s.Fragment,null,(0,Zt.__)("is now scheduled. It will go live on")," ",(0,s.createElement)(es,null),"."):(0,Zt.__)("is now live.");return(0,s.createElement)("div",{className:"post-publish-panel__postpublish"},(0,s.createElement)(No.PanelBody,{className:"post-publish-panel__postpublish-header"},(0,s.createElement)("a",{ref:this.postLink,href:c},(0,Wo.decodeEntities)(n.title)||(0,Zt.__)("(no title)"))," ",d),(0,s.createElement)(No.PanelBody,null,(0,s.createElement)("p",{className:"post-publish-panel__postpublish-subheader"},(0,s.createElement)("strong",null,(0,Zt.__)("What’s next?"))),(0,s.createElement)("div",{className:"post-publish-panel__postpublish-post-address-container"},(0,s.createElement)(No.TextControl,{className:"post-publish-panel__postpublish-post-address",readOnly:!0,label:(0,Zt.sprintf)((0,Zt.__)("%s address"),r),value:(0,k.safeDecodeURIComponent)(c),onFocus:this.onSelectInput}),(0,s.createElement)("div",{className:"post-publish-panel__postpublish-post-address__copy-button-wrap"},(0,s.createElement)(ys,{text:c,onCopy:this.onCopy},this.state.showCopyConfirmation?(0,Zt.__)("Copied!"):(0,Zt.__)("Copy")))),(0,s.createElement)("div",{className:"post-publish-panel__postpublish-buttons"},!t&&(0,s.createElement)(No.Button,{variant:"primary",href:c},a),(0,s.createElement)(No.Button,{variant:t?"primary":"secondary",href:u},l))),e)}}var Es=(0,l.withSelect)((e=>{const{getEditedPostAttribute:t,getCurrentPost:n,isCurrentPostScheduled:o}=e(co),{getPostType:r}=e(c.store);return{post:n(),postType:r(t("type")),isScheduled:o()}}))(bs);class Ss extends s.Component{constructor(){super(...arguments),this.onSubmit=this.onSubmit.bind(this)}componentDidUpdate(e){e.isPublished&&!this.props.isSaving&&this.props.isDirty&&this.props.onClose()}onSubmit(){const{onClose:e,hasPublishAction:t,isPostTypeViewable:n}=this.props;t&&n||e()}render(){const{forceIsDirty:e,forceIsSaving:t,isBeingScheduled:n,isPublished:o,isPublishSidebarEnabled:a,isScheduled:l,isSaving:c,isSavingNonPostEntityChanges:u,onClose:d,onTogglePublishSidebar:p,PostPublishExtension:m,PrePublishExtension:h,...g}=this.props,f=(0,i.omit)(g,["hasPublishAction","isDirty","isPostTypeViewable"]),v=o||l&&n,_=!v&&!c,y=v&&!c;return(0,s.createElement)("div",r({className:"editor-post-publish-panel"},f),(0,s.createElement)("div",{className:"editor-post-publish-panel__header"},y?(0,s.createElement)(No.Button,{onClick:d,icon:$r,label:(0,Zt.__)("Close panel")}):(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"editor-post-publish-panel__header-publish-button"},(0,s.createElement)(jr,{focusOnMount:!0,onSubmit:this.onSubmit,forceIsDirty:e,forceIsSaving:t})),(0,s.createElement)("div",{className:"editor-post-publish-panel__header-cancel-button"},(0,s.createElement)(No.Button,{disabled:u,onClick:d,variant:"secondary"},(0,Zt.__)("Cancel"))))),(0,s.createElement)("div",{className:"editor-post-publish-panel__content"},_&&(0,s.createElement)(vs,null,h&&(0,s.createElement)(h,null)),y&&(0,s.createElement)(Es,{focusOnMount:!0},m&&(0,s.createElement)(m,null)),c&&(0,s.createElement)(No.Spinner,null)),(0,s.createElement)("div",{className:"editor-post-publish-panel__footer"},(0,s.createElement)(No.CheckboxControl,{label:(0,Zt.__)("Always show pre-publish checks."),checked:a,onChange:p})))}}var ws=(0,u.compose)([(0,l.withSelect)((e=>{const{getPostType:t}=e(c.store),{getCurrentPost:n,getEditedPostAttribute:o,isCurrentPostPublished:r,isCurrentPostScheduled:s,isEditedPostBeingScheduled:a,isEditedPostDirty:l,isSavingPost:u,isSavingNonPostEntityChanges:d}=e(co),{isPublishSidebarEnabled:p}=e(co),m=t(o("type"));return{hasPublishAction:(0,i.get)(n(),["_links","wp:action-publish"],!1),isPostTypeViewable:(0,i.get)(m,["viewable"],!1),isBeingScheduled:a(),isDirty:l(),isPublished:r(),isPublishSidebarEnabled:p(),isSaving:u(),isSavingNonPostEntityChanges:d(),isScheduled:s()}})),(0,l.withDispatch)(((e,t)=>{let{isPublishSidebarEnabled:n}=t;const{disablePublishSidebar:o,enablePublishSidebar:r}=e(co);return{onTogglePublishSidebar:()=>{n?o():r()}}})),No.withFocusReturn,No.withConstrainedTabbing])(Ss);var Ps=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-4v-2.4L14 14l1-1-3-3-3 3 1 1 1.2-1.2v2.4H7.7c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4H9l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8 0 1-.8 1.8-1.7 1.8z"}));var ks=function(e){let{icon:t,size:n=24,...o}=e;return(0,s.cloneElement)(t,{width:n,height:n,...o})};var Cs=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));var Ts=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.Path,{d:"M17.3 10.1c0-2.5-2.1-4.4-4.8-4.4-2.2 0-4.1 1.4-4.6 3.3h-.2C5.7 9 4 10.7 4 12.8c0 2.1 1.7 3.8 3.7 3.8h9c1.8 0 3.2-1.5 3.2-3.3.1-1.6-1.1-2.9-2.6-3.2zm-.5 5.1h-9c-1.2 0-2.2-1.1-2.2-2.3s1-2.4 2.2-2.4h1.3l.3-1.1c.4-1.3 1.7-2.2 3.2-2.2 1.8 0 3.3 1.3 3.3 2.9v1.3l1.3.2c.8.1 1.4.9 1.4 1.8-.1 1-.9 1.8-1.8 1.8z"}));var xs=(0,u.compose)([(0,l.withSelect)((e=>{const{isSavingPost:t,isCurrentPostPublished:n,isCurrentPostScheduled:o}=e(co);return{isSaving:t(),isPublished:n(),isScheduled:o()}})),(0,l.withDispatch)((e=>{const{editPost:t,savePost:n}=e(co);return{onClick:()=>{t({status:"draft"}),n()}}}))])((function(e){let{isSaving:t,isPublished:n,isScheduled:o,onClick:r}=e;const i=(0,u.useViewportMatch)("small","<");return n||o?(0,s.createElement)(No.Button,{className:"editor-post-switch-to-draft",onClick:()=>{let e;n?e=(0,Zt.__)("Are you sure you want to unpublish this post?"):o&&(e=(0,Zt.__)("Are you sure you want to unschedule this post?")),window.confirm(e)&&r()},disabled:t,variant:"tertiary"},i?(0,Zt.__)("Draft"):(0,Zt.__)("Switch to draft")):null}));function Bs(e){let{forceIsDirty:t,forceIsSaving:n,showIconLabels:o=!1}=e;const[r,i]=(0,s.useState)(!1),a=(0,u.useViewportMatch)("small"),{isAutosaving:c,isDirty:d,isNew:p,isPending:m,isPublished:h,isSaveable:g,isSaving:f,isScheduled:v,hasPublishAction:_}=(0,l.useSelect)((e=>{var o,r,s;const{isEditedPostNew:i,isCurrentPostPublished:a,isCurrentPostScheduled:l,isEditedPostDirty:c,isSavingPost:u,isEditedPostSaveable:d,getCurrentPost:p,isAutosavingPost:m,getEditedPostAttribute:h}=e(co);return{isAutosaving:m(),isDirty:t||c(),isNew:i(),isPending:"pending"===h("status"),isPublished:a(),isSaving:n||u(),isSaveable:d(),isScheduled:l(),hasPublishAction:null!==(o=null===(r=p())||void 0===r||null===(s=r._links)||void 0===s?void 0:s["wp:action-publish"])&&void 0!==o&&o}}),[t,n]),{savePost:y}=(0,l.useDispatch)(co),b=(0,u.usePrevious)(f);if((0,s.useEffect)((()=>{let e;return b&&!f&&(i(!0),e=setTimeout((()=>{i(!1)}),1e3)),()=>clearTimeout(e)}),[f]),!_&&m)return null;if(h||v)return(0,s.createElement)(xs,null);const E=m?(0,Zt.__)("Save as pending"):(0,Zt.__)("Save draft"),S=(0,Zt.__)("Save"),w=r||!p&&!d,P=f||w,k=f||w||!g;let C;return f?C=c?(0,Zt.__)("Autosaving"):(0,Zt.__)("Saving"):w?C=(0,Zt.__)("Saved"):a?C=E:o&&(C=S),(0,s.createElement)(No.Button,{className:g||f?_o()({"editor-post-save-draft":!P,"editor-post-saved-state":P,"is-saving":f,"is-autosaving":c,"is-saved":w,[(0,No.__unstableGetAnimateClassName)({type:"loading"})]:f}):void 0,onClick:k?void 0:()=>y(),shortcut:Do.displayShortcut.primary("s"),variant:a?"tertiary":void 0,icon:a?void 0:Ps,label:E,"aria-disabled":k},P&&(0,s.createElement)(ks,{icon:w?Cs:Ts}),C)}var As=(0,u.compose)([(0,l.withSelect)((e=>{const{getCurrentPost:t,getCurrentPostType:n}=e(co);return{hasPublishAction:(0,i.get)(t(),["_links","wp:action-publish"],!1),postType:n()}}))])((function(e){let{hasPublishAction:t,children:n}=e;return t?n:null}));function Is(e){let{children:t}=e;return(0,s.createElement)(or,{supportKeys:"slug"},t)}class Rs extends s.Component{constructor(e){let{postSlug:t,postTitle:n,postID:o}=e;super(...arguments),this.state={editedSlug:(0,k.safeDecodeURIComponent)(t)||U(n)||o},this.setSlug=this.setSlug.bind(this)}setSlug(e){const{postSlug:t,onUpdateSlug:n}=this.props,{value:o}=e.target,r=U(o);r!==t&&n(r)}render(){const{instanceId:e}=this.props,{editedSlug:t}=this.state,n="editor-post-slug-"+e;return(0,s.createElement)(Is,null,(0,s.createElement)("label",{htmlFor:n},(0,Zt.__)("Slug")),(0,s.createElement)("input",{autoComplete:"off",spellCheck:"false",type:"text",id:n,value:t,onChange:e=>this.setState({editedSlug:e.target.value}),onBlur:this.setSlug,className:"editor-post-slug__input"}))}}var Ns=(0,u.compose)([(0,l.withSelect)((e=>{const{getCurrentPost:t,getEditedPostAttribute:n}=e(co),{id:o}=t();return{postSlug:n("slug"),postTitle:n("title"),postID:o}})),(0,l.withDispatch)((e=>{const{editPost:t}=e(co);return{onUpdateSlug(e){t({slug:e})}}})),u.withInstanceId])(Rs);var Ds=(0,u.compose)([(0,l.withSelect)((e=>{const t=e(co).getCurrentPost();return{hasStickyAction:(0,i.get)(t,["_links","wp:action-sticky"],!1),postType:e(co).getCurrentPostType()}}))])((function(e){let{hasStickyAction:t,postType:n,children:o}=e;return"post"===n&&t?o:null}));var Ls=(0,u.compose)([(0,l.withSelect)((e=>({postSticky:e(co).getEditedPostAttribute("sticky")}))),(0,l.withDispatch)((e=>({onUpdateSticky(t){e(co).editPost({sticky:t})}})))])((function(e){let{onUpdateSticky:t,postSticky:n=!1}=e;return(0,s.createElement)(Ds,null,(0,s.createElement)(No.CheckboxControl,{label:(0,Zt.__)("Stick to the top of the blog"),checked:n,onChange:()=>t(!n)}))}));const Os={per_page:-1,orderby:"name",order:"asc",_fields:"id,name,parent",context:"view"},Us=[];var Fs=(0,No.withFilters)("editor.PostTaxonomyType")((function(e){let{slug:t}=e;const[n,o]=(0,s.useState)(!1),[r,a]=(0,s.useState)(""),[d,p]=(0,s.useState)(""),[m,h]=(0,s.useState)(!1),[g,f]=(0,s.useState)(""),[v,_]=(0,s.useState)([]),y=(0,u.useDebounce)(os.speak,500),{hasCreateAction:b,hasAssignAction:E,terms:S,loading:w,availableTerms:P,taxonomy:k}=(0,l.useSelect)((e=>{const{getCurrentPost:n,getEditedPostAttribute:o}=e(co),{getTaxonomy:r,getEntityRecords:s,isResolving:a}=e(c.store),l=r(t);return{hasCreateAction:!!l&&(0,i.get)(n(),["_links","wp:action-create-"+l.rest_base],!1),hasAssignAction:!!l&&(0,i.get)(n(),["_links","wp:action-assign-"+l.rest_base],!1),terms:l?o(l.rest_base):Us,loading:a("getEntityRecords",["taxonomy",t,Os]),availableTerms:s("taxonomy",t,Os)||Us,taxonomy:l}}),[t]),{editPost:C}=(0,l.useDispatch)(co),{saveEntityRecord:T}=(0,l.useDispatch)(c.store),x=(0,s.useMemo)((()=>function(e,t){const n=e=>-1!==t.indexOf(e.id)||void 0!==e.children&&e.children.map(n).filter((e=>e)).length>0,o=[...e];return o.sort(((e,t)=>{const o=n(e),r=n(t);return o===r?0:o&&!r?-1:!o&&r?1:0})),o}(ir(P),S)),[P]);if(!E)return null;const B=e=>{C({[k.rest_base]:e})},A=e=>e.map((e=>(0,s.createElement)("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},(0,s.createElement)(No.CheckboxControl,{checked:-1!==S.indexOf(e.id),onChange:()=>{(e=>{const t=S.includes(e)?(0,i.without)(S,e):[...S,e];B(t)})(parseInt(e.id,10))},label:(0,i.unescape)(e.name)}),!!e.children.length&&(0,s.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-subchoices"},A(e.children))))),I=(e,n,o)=>(0,i.get)(k,["labels",e],"category"===t?n:o),R=I("add_new_item",(0,Zt.__)("Add new category"),(0,Zt.__)("Add new term")),N=I("new_item_name",(0,Zt.__)("Add new category"),(0,Zt.__)("Add new term")),D=I("parent_item",(0,Zt.__)("Parent Category"),(0,Zt.__)("Parent Term")),L=`— ${D} —`,O=R,U=(0,i.get)(k,["labels","search_items"],(0,Zt.__)("Search Terms")),F=(0,i.get)(k,["name"],(0,Zt.__)("Terms")),M=P.length>=8;return(0,s.createElement)(s.Fragment,null,M&&(0,s.createElement)(No.TextControl,{className:"editor-post-taxonomies__hierarchical-terms-filter",label:U,value:g,onChange:e=>{const t=x.map(function(e){const t=n=>{if(""===e)return n;const o={...n};return o.children.length>0&&(o.children=o.children.map(t).filter((e=>e))),(-1!==o.name.toLowerCase().indexOf(e.toLowerCase())||o.children.length>0)&&o};return t}(e)).filter((e=>e)),n=e=>{let t=0;for(let o=0;o<e.length;o++)t++,void 0!==e[o].children&&(t+=n(e[o].children));return t};f(e),_(t);const o=n(t),r=(0,Zt.sprintf)((0,Zt._n)("%d result found.","%d results found.",o),o);y(r,"assertive")}}),(0,s.createElement)("div",{className:"editor-post-taxonomies__hierarchical-terms-list",tabIndex:"0",role:"group","aria-label":F},A(""!==g?v:x)),!w&&b&&(0,s.createElement)(No.Button,{onClick:()=>{h(!m)},className:"editor-post-taxonomies__hierarchical-terms-add","aria-expanded":m,variant:"link"},R),m&&(0,s.createElement)("form",{onSubmit:async e=>{if(e.preventDefault(),""===r||n)return;const s=function(e,t,n){return(0,i.find)(e,(e=>(!e.parent&&!t||parseInt(e.parent)===parseInt(t))&&e.name.toLowerCase()===n.toLowerCase()))}(P,d,r);if(s)return(0,i.some)(S,(e=>e===s.id))||B([...S,s.id]),a(""),void p("");o(!0);const l=await(c={name:r,parent:d||void 0},T("taxonomy",t,c));var c;const u=(0,Zt.sprintf)((0,Zt._x)("%s added","term"),(0,i.get)(k,["labels","singular_name"],"category"===t?(0,Zt.__)("Category"):(0,Zt.__)("Term")));(0,os.speak)(u,"assertive"),o(!1),a(""),p(""),B([...S,l.id])}},(0,s.createElement)(No.TextControl,{className:"editor-post-taxonomies__hierarchical-terms-input",label:N,value:r,onChange:e=>{a(e)},required:!0}),!!P.length&&(0,s.createElement)(No.TreeSelect,{label:D,noOptionLabel:L,onChange:e=>{p(e)},selectedId:d,tree:x}),(0,s.createElement)(No.Button,{variant:"secondary",type:"submit",className:"editor-post-taxonomies__hierarchical-terms-submit"},O)))}));var Ms=(0,u.compose)([(0,l.withSelect)((e=>({postType:e(co).getCurrentPostType(),taxonomies:e(c.store).getTaxonomies({per_page:-1})})))])((function(e){let{postType:t,taxonomies:n,taxonomyWrapper:o=i.identity}=e;const r=(0,i.filter)(n,(e=>(0,i.includes)(e.types,t)));return(0,i.filter)(r,(e=>e.visibility.show_ui)).map((e=>{const t=e.hierarchical?Fs:us;return(0,s.createElement)(s.Fragment,{key:`taxonomy-${e.slug}`},o((0,s.createElement)(t,{slug:e.slug}),e))}))}));var zs=(0,u.compose)([(0,l.withSelect)((e=>({postType:e(co).getCurrentPostType(),taxonomies:e(c.store).getTaxonomies({per_page:-1})})))])((function(e){let{postType:t,taxonomies:n,children:o}=e;return(0,i.some)(n,(e=>(0,i.includes)(e.types,t)))?o:null})),Vs=n(773);function Hs(){const e=(0,l.useSelect)((e=>e(co).getEditedPostContent()),[]),{editPost:t,resetEditorBlocks:n}=(0,l.useDispatch)(co),[o,r]=(0,s.useState)(e),[i,c]=(0,s.useState)(!1),d=(0,u.useInstanceId)(Hs);i||o===e||r(e);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(No.VisuallyHidden,{as:"label",htmlFor:`post-content-${d}`},(0,Zt.__)("Type text or HTML")),(0,s.createElement)(Vs.Z,{autoComplete:"off",dir:"auto",value:o,onChange:e=>{const n=e.target.value;t({content:n}),r(n),c(!0)},onBlur:()=>{if(i){const e=(0,a.parse)(o);n(e),c(!1)}},className:"editor-post-text-editor",id:`post-content-${d}`,placeholder:(0,Zt.__)("Start writing with text or HTML")}))}const Ws=/[\r\n]+/g;function Gs(){const e=(0,s.useRef)(),[t,n]=(0,s.useState)(!1),{editPost:o}=(0,l.useDispatch)(co),{insertDefaultBlock:r,clearSelectedBlock:i,insertBlocks:c}=(0,l.useDispatch)(m.store),{isCleanNewPost:d,title:p,placeholder:h,isFocusMode:g,hasFixedToolbar:f}=(0,l.useSelect)((e=>{const{getEditedPostAttribute:t,isCleanNewPost:n}=e(co),{getSettings:o}=e(m.store),{titlePlaceholder:r,focusMode:s,hasFixedToolbar:i}=o();return{isCleanNewPost:n(),title:t("title"),placeholder:r,isFocusMode:s,hasFixedToolbar:i}}),[]);function v(e){c(e,0)}function _(e){o({title:e})}(0,s.useEffect)((()=>{if(!e.current)return;const{ownerDocument:t}=e.current,{activeElement:n,body:o}=t;!d||n&&o!==n||e.current.focus()}),[d]);const[y,b]=(0,s.useState)({});function E(){n(!1),b({})}const S=_o()("wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text",{"is-selected":t,"is-focus-mode":g,"has-fixed-toolbar":f}),w=(0,Wo.decodeEntities)(h)||(0,Zt.__)("Add title"),{ref:P}=(0,fo.__unstableUseRichText)({value:p,onChange:function(e){_(e.replace(Ws," "))},placeholder:w,selectionStart:y.start,selectionEnd:y.end,onSelectionChange(e,t){b((n=>{const{start:o,end:r}=n;return o===e&&r===t?n:{start:e,end:t}}))},__unstableDisableFormats:!0,preserveWhiteSpace:!0});return(0,s.createElement)(or,{supportKeys:"title"},(0,s.createElement)("h1",{ref:(0,u.useMergeRefs)([P,e]),contentEditable:!0,className:S,"aria-label":w,role:"textbox","aria-multiline":"true",onFocus:function(){n(!0),i()},onBlur:E,onKeyDown:function(e){e.keyCode===Do.ENTER&&(e.preventDefault(),r(void 0,void 0,0))},onKeyPress:E,onPaste:function(e){const t=e.clipboardData;let n="",o="";try{n=t.getData("text/plain"),o=t.getData("text/html")}catch(e){try{o=t.getData("Text")}catch(e){return}}window.console.log("Received HTML:\n\n",o),window.console.log("Received plain text:\n\n",n);const r=(0,a.pasteHandler)({HTML:o,plainText:n});if("string"!=typeof r&&r.length){e.preventDefault();const[t]=r;p||"core/heading"!==t.name&&"core/paragraph"!==t.name?v(r):(_(t.attributes.content),v(r.slice(1)))}}}))}var js=(0,u.compose)([(0,l.withSelect)((e=>{const{isEditedPostNew:t,getCurrentPostId:n,getCurrentPostType:o}=e(co);return{isNew:t(),postId:n(),postType:o()}})),(0,l.withDispatch)((e=>({trashPost:e(co).trashPost})))])((function(e){let{isNew:t,postId:n,postType:o,...r}=e;return t||!n?null:(0,s.createElement)(No.Button,{className:"editor-post-trash",isDestructive:!0,variant:"tertiary",onClick:()=>r.trashPost(n,o)},(0,Zt.__)("Move to trash"))}));var $s=(0,l.withSelect)((e=>{const{isEditedPostNew:t,getCurrentPostId:n,getCurrentPostType:o}=e(co),{getPostType:r,canUser:s}=e(c.store),i=n(),a=r(o()),l=(null==a?void 0:a.rest_base)||"";return{isNew:t(),postId:i,canUserDelete:!(!i||!l)&&s("delete",l,i)}}))((function(e){let{isNew:t,postId:n,canUserDelete:o,children:r}=e;return!t&&n&&o?r:null}));var Ks=(0,u.compose)([(0,l.withSelect)((e=>{const{getCurrentPost:t,getCurrentPostType:n}=e(co);return{hasPublishAction:(0,i.get)(t(),["_links","wp:action-publish"],!1),postType:n()}}))])((function(e){let{hasPublishAction:t,render:n}=e;return n({canEdit:t})}));var qs=(0,s.createElement)(x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(x.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"})),Ys=window.wp.wordcount;function Qs(){const e=(0,l.useSelect)((e=>e(co).getEditedPostAttribute("content")),[]),t=(0,Zt._x)("words","Word count type. Do not translate!");return(0,s.createElement)("span",{className:"word-count"},(0,Ys.count)(e,t))}function Xs(){const e=(0,l.useSelect)((e=>e(co).getEditedPostAttribute("content")),[]);return(0,Ys.count)(e,"characters_including_spaces")}var Zs=function(e){let{hasOutlineItemsDisabled:t,onRequestClose:n}=e;const{headingCount:o,paragraphCount:r,numberOfBlocks:i}=(0,l.useSelect)((e=>{const{getGlobalBlockCount:t}=e(m.store);return{headingCount:t("core/heading"),paragraphCount:t("core/paragraph"),numberOfBlocks:t()}}),[]);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"table-of-contents__wrapper",role:"note","aria-label":(0,Zt.__)("Document Statistics"),tabIndex:"0"},(0,s.createElement)("ul",{role:"list",className:"table-of-contents__counts"},(0,s.createElement)("li",{className:"table-of-contents__count"},(0,Zt.__)("Characters"),(0,s.createElement)("span",{className:"table-of-contents__number"},(0,s.createElement)(Xs,null))),(0,s.createElement)("li",{className:"table-of-contents__count"},(0,Zt.__)("Words"),(0,s.createElement)(Qs,null)),(0,s.createElement)("li",{className:"table-of-contents__count"},(0,Zt.__)("Headings"),(0,s.createElement)("span",{className:"table-of-contents__number"},o)),(0,s.createElement)("li",{className:"table-of-contents__count"},(0,Zt.__)("Paragraphs"),(0,s.createElement)("span",{className:"table-of-contents__number"},r)),(0,s.createElement)("li",{className:"table-of-contents__count"},(0,Zt.__)("Blocks"),(0,s.createElement)("span",{className:"table-of-contents__number"},i)))),o>0&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("hr",null),(0,s.createElement)("h2",{className:"table-of-contents__title"},(0,Zt.__)("Document Outline")),(0,s.createElement)(Co,{onSelect:n,hasOutlineItemsDisabled:t})))};var Js=(0,s.forwardRef)((function(e,t){let{hasOutlineItemsDisabled:n,repositionDropdown:o,...i}=e;const a=(0,l.useSelect)((e=>!!e(m.store).getBlockCount()),[]);return(0,s.createElement)(No.Dropdown,{position:o?"middle right right":"bottom",className:"table-of-contents",contentClassName:"table-of-contents__popover",renderToggle:e=>{let{isOpen:n,onToggle:o}=e;return(0,s.createElement)(No.Button,r({},i,{ref:t,onClick:a?o:void 0,icon:qs,"aria-expanded":n,"aria-haspopup":"true",label:(0,Zt.__)("Details"),tooltipPosition:"bottom","aria-disabled":!a}))},renderContent:e=>{let{onClose:t}=e;return(0,s.createElement)(Zs,{onRequestClose:t,hasOutlineItemsDisabled:n})}})}));function ei(){const e=(0,l.useSelect)((e=>()=>{const{__experimentalGetDirtyEntityRecords:t}=e(c.store);return t().length>0}),[]),t=t=>{if(e())return t.returnValue=(0,Zt.__)("You have unsaved changes. If you proceed, they will be lost."),t.returnValue};return(0,s.useEffect)((()=>(window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)})),[]),null}var ti=window.wp.reusableBlocks;var ni=(0,u.createHigherOrderComponent)((e=>(0,l.withRegistry)((t=>{const{useSubRegistry:n=!0,registry:o,...r}=t;if(!n)return(0,s.createElement)(e,r);const[i,a]=(0,s.useState)(null);return(0,s.useEffect)((()=>{const e=(0,l.createRegistry)({"core/block-editor":m.storeConfig},o);e.registerStore("core/editor",lo),a(e)}),[o]),i?(0,s.createElement)(l.RegistryProvider,{value:i},(0,s.createElement)(e,r)):null}))),"withRegistryProvider"),oi=window.wp.mediaUtils;function ri(e){let{additionalData:t={},allowedTypes:n,filesList:o,maxUploadFileSize:r,onError:s=i.noop,onFileChange:a}=e;const{getCurrentPostId:c,getEditorSettings:u}=(0,l.select)(co),d=u().allowedMimeTypes;r=r||u().maxUploadFileSize,(0,oi.uploadMedia)({allowedTypes:n,filesList:o,onFileChange:a,additionalData:{post:c(),...t},maxUploadFileSize:r,onError:e=>{let{message:t}=e;return s(t)},wpAllowedMimeTypes:d})}var si=function(e,t){const{reusableBlocks:n,hasUploadPermissions:o,canUseUnfilteredHTML:r,userCanCreatePages:a}=(0,l.useSelect)((e=>{const{canUserUseUnfilteredHTML:t}=e(co),n="web"===s.Platform.OS,{canUser:o,getUnstableBase:r,hasFinishedResolution:a}=e(c.store),l=r(),u=a("getUnstableBase");return{canUseUnfilteredHTML:t(),reusableBlocks:n?e(c.store).getEntityRecords("postType","wp_block",{per_page:-1}):[],hasUploadPermissions:(0,i.defaultTo)(o("create","media"),!0),hasResolvedLocalSiteData:u,baseUrl:(null==l?void 0:l.url)||"",userCanCreatePages:o("create","pages")}}),[]),{undo:u}=(0,l.useDispatch)(co),{saveEntityRecord:d}=(0,l.useDispatch)(c.store),p=e=>a?d("postType","page",e):Promise.reject({message:(0,Zt.__)("You do not have permission to create Pages.")});return(0,s.useMemo)((()=>({...(0,i.pick)(e,["__experimentalBlockDirectory","__experimentalBlockPatternCategories","__experimentalBlockPatterns","__experimentalFeatures","__experimentalPreferredStyleVariations","__experimentalSetIsInserterOpened","__experimentalGenerateAnchors","__unstableGalleryWithImageBlocks","alignWide","allowedBlockTypes","bodyPlaceholder","codeEditingEnabled","colors","disableCustomColors","disableCustomFontSizes","disableCustomGradients","enableCustomLineHeight","enableCustomSpacing","enableCustomUnits","focusMode","fontSizes","gradients","hasFixedToolbar","hasReducedUI","imageDefaultSize","imageDimensions","imageEditing","imageSizes","isRTL","keepCaretInsideBlock","maxWidth","onUpdateDefaultBlockStyles","styles","template","templateLock","titlePlaceholder","supportsLayout","widgetTypesToHideFromLegacyWidgetBlock"]),mediaUpload:o?ri:void 0,__experimentalReusableBlocks:n,__experimentalFetchLinkSuggestions:(t,n)=>(0,c.__experimentalFetchLinkSuggestions)(t,n,e),__experimentalFetchRichUrlData:c.__experimentalFetchUrlData,__experimentalCanUserUseUnfilteredHTML:r,__experimentalUndo:u,outlineMode:t,__experimentalCreatePageEntity:p,__experimentalUserCanCreatePages:a})),[e,o,n,r,u,t,a])};var ii=ni((function(e){let{__unstableTemplate:t,post:n,settings:o,recovery:r,initialEdits:i,children:a}=e;const u=(0,s.useMemo)((()=>"wp_template"===n.type?{}:{postId:n.id,postType:n.type}),[n.id,n.type]),{selection:d,isReady:p}=(0,l.useSelect)((e=>{const{getEditorSelection:t,__unstableIsEditorReady:n}=e(co);return{isReady:n(),selection:t()}}),[]),{id:h,type:g}=null!=t?t:n,[f,v,_]=(0,c.useEntityBlockEditor)("postType",g,{id:h}),y=si(o,!!t),{updatePostLock:b,setupEditor:E,updateEditorSettings:S,__experimentalTearDownEditor:w}=(0,l.useDispatch)(co),{createWarningNotice:P}=(0,l.useDispatch)(Xt.store);return(0,s.useLayoutEffect)((()=>{if(!r)return b(o.postLock),E(n,i,o.template),o.autosave&&P((0,Zt.__)("There is an autosave of this post that is more recent than the version below."),{id:"autosave-exists",actions:[{label:(0,Zt.__)("View the autosave"),url:o.autosave.editLink}]}),()=>{w()}}),[]),(0,s.useEffect)((()=>{S(o)}),[o]),p?(0,s.createElement)(c.EntityProvider,{kind:"root",type:"site"},(0,s.createElement)(c.EntityProvider,{kind:"postType",type:n.type,id:n.id},(0,s.createElement)(m.BlockContextProvider,{value:u},(0,s.createElement)(m.BlockEditorProvider,{value:f,onChange:_,onInput:v,selection:d,settings:y,useSubRegistry:!1},a,(0,s.createElement)(ti.ReusableBlocksMenuItems,null))))):null})),ai=window.wp.serverSideRender,li=n.n(ai);function ci(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const o=(0,s.forwardRef)(((n,o)=>(T()("wp.editor."+e,{since:"5.3",alternative:"wp.blockEditor."+e}),(0,s.createElement)(t,r({ref:o},n)))));return n.forEach((n=>{o[n]=ci(e+"."+n,t[n])})),o}function ui(e,t){return function(){return T()("wp.editor."+e,{since:"5.3",alternative:"wp.blockEditor."+e}),t(...arguments)}}const di=ci("RichText",m.RichText,["Content"]);di.isEmpty=ui("RichText.isEmpty",m.RichText.isEmpty);const pi=ci("Autocomplete",m.Autocomplete),mi=ci("AlignmentToolbar",m.AlignmentToolbar),hi=ci("BlockAlignmentToolbar",m.BlockAlignmentToolbar),gi=ci("BlockControls",m.BlockControls,["Slot"]),fi=ci("BlockEdit",m.BlockEdit),vi=ci("BlockEditorKeyboardShortcuts",m.BlockEditorKeyboardShortcuts),_i=ci("BlockFormatControls",m.BlockFormatControls,["Slot"]),yi=ci("BlockIcon",m.BlockIcon),bi=ci("BlockInspector",m.BlockInspector),Ei=ci("BlockList",m.BlockList),Si=ci("BlockMover",m.BlockMover),wi=ci("BlockNavigationDropdown",m.BlockNavigationDropdown),Pi=ci("BlockSelectionClearer",m.BlockSelectionClearer),ki=ci("BlockSettingsMenu",m.BlockSettingsMenu),Ci=ci("BlockTitle",m.BlockTitle),Ti=ci("BlockToolbar",m.BlockToolbar),xi=ci("ColorPalette",m.ColorPalette),Bi=ci("ContrastChecker",m.ContrastChecker),Ai=ci("CopyHandler",m.CopyHandler),Ii=ci("DefaultBlockAppender",m.DefaultBlockAppender),Ri=ci("FontSizePicker",m.FontSizePicker),Ni=ci("Inserter",m.Inserter),Di=ci("InnerBlocks",m.InnerBlocks,["ButtonBlockAppender","DefaultBlockAppender","Content"]),Li=ci("InspectorAdvancedControls",m.InspectorAdvancedControls,["Slot"]),Oi=ci("InspectorControls",m.InspectorControls,["Slot"]),Ui=ci("PanelColorSettings",m.PanelColorSettings),Fi=ci("PlainText",m.PlainText),Mi=ci("RichTextShortcut",m.RichTextShortcut),zi=ci("RichTextToolbarButton",m.RichTextToolbarButton),Vi=ci("__unstableRichTextInputEvent",m.__unstableRichTextInputEvent),Hi=ci("MediaPlaceholder",m.MediaPlaceholder),Wi=ci("MediaUpload",m.MediaUpload),Gi=ci("MediaUploadCheck",m.MediaUploadCheck),ji=ci("MultiSelectScrollIntoView",m.MultiSelectScrollIntoView),$i=ci("NavigableToolbar",m.NavigableToolbar),Ki=ci("ObserveTyping",m.ObserveTyping),qi=ci("PreserveScrollInReorder",m.PreserveScrollInReorder),Yi=ci("SkipToSelectedBlock",m.SkipToSelectedBlock),Qi=ci("URLInput",m.URLInput),Xi=ci("URLInputButton",m.URLInputButton),Zi=ci("URLPopover",m.URLPopover),Ji=ci("Warning",m.Warning),ea=ci("WritingFlow",m.WritingFlow),ta=ui("createCustomColorsHOC",m.createCustomColorsHOC),na=ui("getColorClassName",m.getColorClassName),oa=ui("getColorObjectByAttributeValues",m.getColorObjectByAttributeValues),ra=ui("getColorObjectByColorValue",m.getColorObjectByColorValue),sa=ui("getFontSize",m.getFontSize),ia=ui("getFontSizeClass",m.getFontSizeClass),aa=ui("withColorContext",m.withColorContext),la=ui("withColors",m.withColors),ca=ui("withFontSizes",m.withFontSizes)}(),(window.wp=window.wp||{}).editor=o}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/element.js b/wp-includes/js/dist/element.js
index 78c46f4b14..9d1b672539 100644
--- a/wp-includes/js/dist/element.js
+++ b/wp-includes/js/dist/element.js
@@ -1,167 +1,83 @@
-this["wp"] = this["wp"] || {}; this["wp"]["element"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "o/Ny");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "Vx3V":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["escapeHtml"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "cDcd":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["React"]; }());
-
-/***/ }),
-
-/***/ "faye":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["ReactDOM"]; }());
-
-/***/ }),
-
-/***/ "o/Ny":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "createInterpolateElement", function() { return /* reexport */ create_interpolate_element; });
-__webpack_require__.d(__webpack_exports__, "Children", function() { return /* reexport */ external_React_["Children"]; });
-__webpack_require__.d(__webpack_exports__, "cloneElement", function() { return /* reexport */ external_React_["cloneElement"]; });
-__webpack_require__.d(__webpack_exports__, "Component", function() { return /* reexport */ external_React_["Component"]; });
-__webpack_require__.d(__webpack_exports__, "createContext", function() { return /* reexport */ external_React_["createContext"]; });
-__webpack_require__.d(__webpack_exports__, "createElement", function() { return /* reexport */ external_React_["createElement"]; });
-__webpack_require__.d(__webpack_exports__, "createRef", function() { return /* reexport */ external_React_["createRef"]; });
-__webpack_require__.d(__webpack_exports__, "forwardRef", function() { return /* reexport */ external_React_["forwardRef"]; });
-__webpack_require__.d(__webpack_exports__, "Fragment", function() { return /* reexport */ external_React_["Fragment"]; });
-__webpack_require__.d(__webpack_exports__, "isValidElement", function() { return /* reexport */ external_React_["isValidElement"]; });
-__webpack_require__.d(__webpack_exports__, "memo", function() { return /* reexport */ external_React_["memo"]; });
-__webpack_require__.d(__webpack_exports__, "StrictMode", function() { return /* reexport */ external_React_["StrictMode"]; });
-__webpack_require__.d(__webpack_exports__, "useCallback", function() { return /* reexport */ external_React_["useCallback"]; });
-__webpack_require__.d(__webpack_exports__, "useContext", function() { return /* reexport */ external_React_["useContext"]; });
-__webpack_require__.d(__webpack_exports__, "useDebugValue", function() { return /* reexport */ external_React_["useDebugValue"]; });
-__webpack_require__.d(__webpack_exports__, "useEffect", function() { return /* reexport */ external_React_["useEffect"]; });
-__webpack_require__.d(__webpack_exports__, "useImperativeHandle", function() { return /* reexport */ external_React_["useImperativeHandle"]; });
-__webpack_require__.d(__webpack_exports__, "useLayoutEffect", function() { return /* reexport */ external_React_["useLayoutEffect"]; });
-__webpack_require__.d(__webpack_exports__, "useMemo", function() { return /* reexport */ external_React_["useMemo"]; });
-__webpack_require__.d(__webpack_exports__, "useReducer", function() { return /* reexport */ external_React_["useReducer"]; });
-__webpack_require__.d(__webpack_exports__, "useRef", function() { return /* reexport */ external_React_["useRef"]; });
-__webpack_require__.d(__webpack_exports__, "useState", function() { return /* reexport */ external_React_["useState"]; });
-__webpack_require__.d(__webpack_exports__, "lazy", function() { return /* reexport */ external_React_["lazy"]; });
-__webpack_require__.d(__webpack_exports__, "Suspense", function() { return /* reexport */ external_React_["Suspense"]; });
-__webpack_require__.d(__webpack_exports__, "concatChildren", function() { return /* reexport */ concatChildren; });
-__webpack_require__.d(__webpack_exports__, "switchChildrenNodeName", function() { return /* reexport */ switchChildrenNodeName; });
-__webpack_require__.d(__webpack_exports__, "createPortal", function() { return /* reexport */ external_ReactDOM_["createPortal"]; });
-__webpack_require__.d(__webpack_exports__, "findDOMNode", function() { return /* reexport */ external_ReactDOM_["findDOMNode"]; });
-__webpack_require__.d(__webpack_exports__, "render", function() { return /* reexport */ external_ReactDOM_["render"]; });
-__webpack_require__.d(__webpack_exports__, "unmountComponentAtNode", function() { return /* reexport */ external_ReactDOM_["unmountComponentAtNode"]; });
-__webpack_require__.d(__webpack_exports__, "isEmptyElement", function() { return /* reexport */ isEmptyElement; });
-__webpack_require__.d(__webpack_exports__, "Platform", function() { return /* reexport */ platform; });
-__webpack_require__.d(__webpack_exports__, "renderToString", function() { return /* reexport */ serialize; });
-__webpack_require__.d(__webpack_exports__, "RawHTML", function() { return /* reexport */ RawHTML; });
-
-// EXTERNAL MODULE: external "React"
-var external_React_ = __webpack_require__("cDcd");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/create-interpolate-element.js
+__webpack_require__.d(__webpack_exports__, {
+  "Children": function() { return /* reexport */ external_React_namespaceObject.Children; },
+  "Component": function() { return /* reexport */ external_React_namespaceObject.Component; },
+  "Fragment": function() { return /* reexport */ external_React_namespaceObject.Fragment; },
+  "Platform": function() { return /* reexport */ platform; },
+  "RawHTML": function() { return /* reexport */ RawHTML; },
+  "StrictMode": function() { return /* reexport */ external_React_namespaceObject.StrictMode; },
+  "Suspense": function() { return /* reexport */ external_React_namespaceObject.Suspense; },
+  "cloneElement": function() { return /* reexport */ external_React_namespaceObject.cloneElement; },
+  "concatChildren": function() { return /* reexport */ concatChildren; },
+  "createContext": function() { return /* reexport */ external_React_namespaceObject.createContext; },
+  "createElement": function() { return /* reexport */ external_React_namespaceObject.createElement; },
+  "createInterpolateElement": function() { return /* reexport */ create_interpolate_element; },
+  "createPortal": function() { return /* reexport */ external_ReactDOM_namespaceObject.createPortal; },
+  "createRef": function() { return /* reexport */ external_React_namespaceObject.createRef; },
+  "findDOMNode": function() { return /* reexport */ external_ReactDOM_namespaceObject.findDOMNode; },
+  "forwardRef": function() { return /* reexport */ external_React_namespaceObject.forwardRef; },
+  "isEmptyElement": function() { return /* reexport */ isEmptyElement; },
+  "isValidElement": function() { return /* reexport */ external_React_namespaceObject.isValidElement; },
+  "lazy": function() { return /* reexport */ external_React_namespaceObject.lazy; },
+  "memo": function() { return /* reexport */ external_React_namespaceObject.memo; },
+  "render": function() { return /* reexport */ external_ReactDOM_namespaceObject.render; },
+  "renderToString": function() { return /* reexport */ serialize; },
+  "switchChildrenNodeName": function() { return /* reexport */ switchChildrenNodeName; },
+  "unmountComponentAtNode": function() { return /* reexport */ external_ReactDOM_namespaceObject.unmountComponentAtNode; },
+  "useCallback": function() { return /* reexport */ external_React_namespaceObject.useCallback; },
+  "useContext": function() { return /* reexport */ external_React_namespaceObject.useContext; },
+  "useDebugValue": function() { return /* reexport */ external_React_namespaceObject.useDebugValue; },
+  "useEffect": function() { return /* reexport */ external_React_namespaceObject.useEffect; },
+  "useImperativeHandle": function() { return /* reexport */ external_React_namespaceObject.useImperativeHandle; },
+  "useLayoutEffect": function() { return /* reexport */ external_React_namespaceObject.useLayoutEffect; },
+  "useMemo": function() { return /* reexport */ external_React_namespaceObject.useMemo; },
+  "useReducer": function() { return /* reexport */ external_React_namespaceObject.useReducer; },
+  "useRef": function() { return /* reexport */ external_React_namespaceObject.useRef; },
+  "useState": function() { return /* reexport */ external_React_namespaceObject.useState; }
+});
+
+;// CONCATENATED MODULE: external "React"
+var external_React_namespaceObject = window["React"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/create-interpolate-element.js
 /**
  * Internal dependencies
  */
@@ -279,7 +195,7 @@ const createInterpolateElement = (interpolatedString, conversionMap) => {
   do {// twiddle our thumbs
   } while (proceed(conversionMap));

-  return Object(external_React_["createElement"])(external_React_["Fragment"], null, ...output);
+  return (0,external_React_namespaceObject.createElement)(external_React_namespaceObject.Fragment, null, ...output);
 };
 /**
  * Validate conversion map.
@@ -298,7 +214,7 @@ const createInterpolateElement = (interpolatedString, conversionMap) => {
 const isValidConversionMap = conversionMap => {
   const isObject = typeof conversionMap === 'object';
   const values = isObject && Object.values(conversionMap);
-  return isObject && values.length && values.every(element => Object(external_React_["isValidElement"])(element));
+  return isObject && values.length && values.every(element => (0,external_React_namespaceObject.isValidElement)(element));
 };
 /**
  * This is the iterator over the matches in the string.
@@ -455,7 +371,7 @@ function addChild(frame) {
     parent.children.push(text);
   }

-  parent.children.push(Object(external_React_["cloneElement"])(element, null, ...children));
+  parent.children.push((0,external_React_namespaceObject.cloneElement)(element, null, ...children));
   parent.prevOffset = prevOffset ? prevOffset : tokenStart + tokenLength;
 }
 /**
@@ -490,15 +406,14 @@ function closeOuterElement(endOffset) {
     output.push(indoc.substr(leadingTextStart, tokenStart - leadingTextStart));
   }

-  output.push(Object(external_React_["cloneElement"])(element, null, ...children));
+  output.push((0,external_React_namespaceObject.cloneElement)(element, null, ...children));
 }

 /* harmony default export */ var create_interpolate_element = (createInterpolateElement);

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react.js
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react.js
 /**
  * External dependencies
  */
@@ -686,9 +601,9 @@ function concatChildren() {
   }

   return childrenArguments.reduce((accumulator, children, i) => {
-    external_React_["Children"].forEach(children, (child, j) => {
+    external_React_namespaceObject.Children.forEach(children, (child, j) => {
       if (child && 'string' !== typeof child) {
-        child = Object(external_React_["cloneElement"])(child, {
+        child = (0,external_React_namespaceObject.cloneElement)(child, {
           key: [i, j].join()
         });
       }
@@ -708,9 +623,9 @@ function concatChildren() {
  */

 function switchChildrenNodeName(children, nodeName) {
-  return children && external_React_["Children"].map(children, (elt, index) => {
-    if (Object(external_lodash_["isString"])(elt)) {
-      return Object(external_React_["createElement"])(nodeName, {
+  return children && external_React_namespaceObject.Children.map(children, (elt, index) => {
+    if ((0,external_lodash_namespaceObject.isString)(elt)) {
+      return (0,external_React_namespaceObject.createElement)(nodeName, {
         key: index
       }, elt);
     }
@@ -719,17 +634,16 @@ function switchChildrenNodeName(children, nodeName) {
       children: childrenProp,
       ...props
     } = elt.props;
-    return Object(external_React_["createElement"])(nodeName, {
+    return (0,external_React_namespaceObject.createElement)(nodeName, {
       key: index,
       ...props
     }, childrenProp);
   });
 }

-// EXTERNAL MODULE: external "ReactDOM"
-var external_ReactDOM_ = __webpack_require__("faye");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react-platform.js
+;// CONCATENATED MODULE: external "ReactDOM"
+var external_ReactDOM_namespaceObject = window["ReactDOM"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/react-platform.js
 /**
  * External dependencies
  */
@@ -768,7 +682,7 @@ var external_ReactDOM_ = __webpack_require__("faye");



-// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/utils.js
 /**
  * External dependencies
  */
@@ -781,18 +695,18 @@ var external_ReactDOM_ = __webpack_require__("faye");
  */

 const isEmptyElement = element => {
-  if (Object(external_lodash_["isNumber"])(element)) {
+  if ((0,external_lodash_namespaceObject.isNumber)(element)) {
     return false;
   }

-  if (Object(external_lodash_["isString"])(element) || Object(external_lodash_["isArray"])(element)) {
+  if ((0,external_lodash_namespaceObject.isString)(element) || (0,external_lodash_namespaceObject.isArray)(element)) {
     return !element.length;
   }

   return !element;
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/platform.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/platform.js
 /**
  * Parts of this source were derived and modified from react-native-web,
  * released under the MIT license.
@@ -828,10 +742,9 @@ const Platform = {

 /* harmony default export */ var platform = (Platform);

-// EXTERNAL MODULE: external ["wp","escapeHtml"]
-var external_wp_escapeHtml_ = __webpack_require__("Vx3V");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js
+;// CONCATENATED MODULE: external ["wp","escapeHtml"]
+var external_wp_escapeHtml_namespaceObject = window["wp"]["escapeHtml"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/raw-html.js
 /**
  * Internal dependencies
  */
@@ -859,14 +772,14 @@ function RawHTML(_ref) {
   } = _ref;
   let rawHtml = ''; // Cast children as an array, and concatenate each element if it is a string.

-  external_React_["Children"].toArray(children).forEach(child => {
+  external_React_namespaceObject.Children.toArray(children).forEach(child => {
     if (typeof child === 'string' && child.trim() !== '') {
       rawHtml += child;
     }
   }); // The `div` wrapper will be stripped by the `renderElement` serializer in
   // `./serialize.js` unless there are non-children props present.

-  return Object(external_React_["createElement"])('div', {
+  return (0,external_React_namespaceObject.createElement)('div', {
     dangerouslySetInnerHTML: {
       __html: rawHtml
     },
@@ -874,7 +787,7 @@ function RawHTML(_ref) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/serialize.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/serialize.js
 /**
  * Parts of this source were derived and modified from fast-react-render,
  * released under the MIT license.
@@ -922,8 +835,8 @@ function RawHTML(_ref) {
 const {
   Provider,
   Consumer
-} = Object(external_React_["createContext"])(undefined);
-const ForwardRef = Object(external_React_["forwardRef"])(() => {
+} = (0,external_React_namespaceObject.createContext)(undefined);
+const ForwardRef = (0,external_React_namespaceObject.forwardRef)(() => {
   return null;
 });
 /**
@@ -1076,15 +989,15 @@ function getNormalAttributeName(attribute) {


 function getNormalStylePropertyName(property) {
-  if (Object(external_lodash_["startsWith"])(property, '--')) {
+  if ((0,external_lodash_namespaceObject.startsWith)(property, '--')) {
     return property;
   }

   if (hasPrefix(property, ['ms', 'O', 'Moz', 'Webkit'])) {
-    return '-' + Object(external_lodash_["kebabCase"])(property);
+    return '-' + (0,external_lodash_namespaceObject.kebabCase)(property);
   }

-  return Object(external_lodash_["kebabCase"])(property);
+  return (0,external_lodash_namespaceObject.kebabCase)(property);
 }
 /**
  * Returns the normal form of the style property value for HTML. Appends a
@@ -1128,7 +1041,7 @@ function renderElement(element, context) {

   switch (typeof element) {
     case 'string':
-      return Object(external_wp_escapeHtml_["escapeHTML"])(element);
+      return (0,external_wp_escapeHtml_namespaceObject.escapeHTML)(element);

     case 'number':
       return element.toString();
@@ -1142,8 +1055,8 @@ function renderElement(element, context) {
   element;

   switch (type) {
-    case external_React_["StrictMode"]:
-    case external_React_["Fragment"]:
+    case external_React_namespaceObject.StrictMode:
+    case external_React_namespaceObject.Fragment:
       return renderChildren(props.children, context, legacyContext);

     case RawHTML:
@@ -1151,7 +1064,7 @@ function renderElement(element, context) {
         children,
         ...wrapperProps
       } = props;
-      return renderNativeComponent(Object(external_lodash_["isEmpty"])(wrapperProps) ? null : 'div', { ...wrapperProps,
+      return renderNativeComponent((0,external_lodash_namespaceObject.isEmpty)(wrapperProps) ? null : 'div', { ...wrapperProps,
         dangerouslySetInnerHTML: {
           __html: children
         }
@@ -1204,7 +1117,7 @@ function renderNativeComponent(type, props, context) {
     // place of children. Ensure to omit so it is not assigned as attribute
     // as well.
     content = renderChildren(props.value, context, legacyContext);
-    props = Object(external_lodash_["omit"])(props, 'value');
+    props = (0,external_lodash_namespaceObject.omit)(props, 'value');
   } else if (props.dangerouslySetInnerHTML && typeof props.dangerouslySetInnerHTML.__html === 'string') {
     // Dangerous content is left unescaped.
     content = props.dangerouslySetInnerHTML.__html;
@@ -1269,7 +1182,7 @@ function renderComponent(Component, props, context) {
 function renderChildren(children, context) {
   let legacyContext = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
   let result = '';
-  children = Object(external_lodash_["castArray"])(children);
+  children = (0,external_lodash_namespaceObject.castArray)(children);

   for (let i = 0; i < children.length; i++) {
     const child = children[i];
@@ -1293,7 +1206,7 @@ function renderAttributes(props) {
   for (const key in props) {
     const attribute = getNormalAttributeName(key);

-    if (!Object(external_wp_escapeHtml_["isValidAttributeName"])(attribute)) {
+    if (!(0,external_wp_escapeHtml_namespaceObject.isValidAttributeName)(attribute)) {
       continue;
     }

@@ -1328,7 +1241,7 @@ function renderAttributes(props) {
     }

     if (typeof value === 'string') {
-      value = Object(external_wp_escapeHtml_["escapeAttribute"])(value);
+      value = (0,external_wp_escapeHtml_namespaceObject.escapeAttribute)(value);
     }

     result += '="' + value + '"';
@@ -1346,7 +1259,7 @@ function renderAttributes(props) {

 function renderStyle(style) {
   // Only generate from object, e.g. tolerate string value.
-  if (!Object(external_lodash_["isPlainObject"])(style)) {
+  if (!(0,external_lodash_namespaceObject.isPlainObject)(style)) {
     return style;
   }

@@ -1374,9 +1287,7 @@ function renderStyle(style) {
 }
 /* harmony default export */ var serialize = (renderElement);

-// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/index.js
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/element/build-module/index.js



@@ -1384,6 +1295,7 @@ function renderStyle(style) {



-/***/ })

-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).element = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/element.min.js b/wp-includes/js/dist/element.min.js
index 30048aeb24..530ccda82b 100644
--- a/wp-includes/js/dist/element.min.js
+++ b/wp-includes/js/dist/element.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.element=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="o/Ny")}({Vx3V:function(e,t){e.exports=window.wp.escapeHtml},YLtl:function(e,t){e.exports=window.lodash},cDcd:function(e,t){e.exports=window.React},faye:function(e,t){e.exports=window.ReactDOM},"o/Ny":function(e,t,n){"use strict";n.r(t),n.d(t,"createInterpolateElement",(function(){return h})),n.d(t,"Children",(function(){return r.Children})),n.d(t,"cloneElement",(function(){return r.cloneElement})),n.d(t,"Component",(function(){return r.Component})),n.d(t,"createContext",(function(){return r.createContext})),n.d(t,"createElement",(function(){return r.createElement})),n.d(t,"createRef",(function(){return r.createRef})),n.d(t,"forwardRef",(function(){return r.forwardRef})),n.d(t,"Fragment",(function(){return r.Fragment})),n.d(t,"isValidElement",(function(){return r.isValidElement})),n.d(t,"memo",(function(){return r.memo})),n.d(t,"StrictMode",(function(){return r.StrictMode})),n.d(t,"useCallback",(function(){return r.useCallback})),n.d(t,"useContext",(function(){return r.useContext})),n.d(t,"useDebugValue",(function(){return r.useDebugValue})),n.d(t,"useEffect",(function(){return r.useEffect})),n.d(t,"useImperativeHandle",(function(){return r.useImperativeHandle})),n.d(t,"useLayoutEffect",(function(){return r.useLayoutEffect})),n.d(t,"useMemo",(function(){return r.useMemo})),n.d(t,"useReducer",(function(){return r.useReducer})),n.d(t,"useRef",(function(){return r.useRef})),n.d(t,"useState",(function(){return r.useState})),n.d(t,"lazy",(function(){return r.lazy})),n.d(t,"Suspense",(function(){return r.Suspense})),n.d(t,"concatChildren",(function(){return b})),n.d(t,"switchChildrenNodeName",(function(){return y})),n.d(t,"createPortal",(function(){return g.createPortal})),n.d(t,"findDOMNode",(function(){return g.findDOMNode})),n.d(t,"render",(function(){return g.render})),n.d(t,"unmountComponentAtNode",(function(){return g.unmountComponentAtNode})),n.d(t,"isEmptyElement",(function(){return O})),n.d(t,"Platform",(function(){return w})),n.d(t,"renderToString",(function(){return W})),n.d(t,"RawHTML",(function(){return S}));var r=n("cDcd");let o,u,c,i;const s=/<(\/)?(\w+)\s*(\/)?>/g;function a(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}const l=e=>{const t="object"==typeof e,n=t&&Object.values(e);return t&&n.length&&n.every(e=>Object(r.isValidElement)(e))};function f(e){const t=function(){const e=s.exec(o);if(null===e)return["no-more-tokens"];const t=e.index,[n,r,u,c]=e,i=n.length;if(c)return["self-closed",u,t,i];if(r)return["closer",u,t,i];return["opener",u,t,i]}(),[n,l,f,h]=t,m=i.length,b=f>u?u:null;if(!e[l])return d(),!1;switch(n){case"no-more-tokens":if(0!==m){const{leadingTextStart:e,tokenStart:t}=i.pop();c.push(o.substr(e,t))}return d(),!1;case"self-closed":return 0===m?(null!==b&&c.push(o.substr(b,f-b)),c.push(e[l]),u=f+h,!0):(p(a(e[l],f,h)),u=f+h,!0);case"opener":return i.push(a(e[l],f,h,f+h,b)),u=f+h,!0;case"closer":if(1===m)return function(e){const{element:t,leadingTextStart:n,prevOffset:u,tokenStart:s,children:a}=i.pop(),l=e?o.substr(u,e-u):o.substr(u);l&&a.push(l);null!==n&&c.push(o.substr(n,s-n));c.push(Object(r.cloneElement)(t,null,...a))}(f),u=f+h,!0;const t=i.pop(),n=o.substr(t.prevOffset,f-t.prevOffset);t.children.push(n),t.prevOffset=f+h;const s=a(t.element,t.tokenStart,t.tokenLength,f+h);return s.children=t.children,p(s),u=f+h,!0;default:return d(),!1}}function d(){const e=o.length-u;0!==e&&c.push(o.substr(u,e))}function p(e){const{element:t,tokenStart:n,tokenLength:u,prevOffset:c,children:s}=e,a=i[i.length-1],l=o.substr(a.prevOffset,n-a.prevOffset);l&&a.children.push(l),a.children.push(Object(r.cloneElement)(t,null,...s)),a.prevOffset=c||n+u}var h=(e,t)=>{if(o=e,u=0,c=[],i=[],s.lastIndex=0,!l(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(f(t));return Object(r.createElement)(r.Fragment,null,...c)},m=n("YLtl");function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((e,t,n)=>(r.Children.forEach(t,(t,o)=>{t&&"string"!=typeof t&&(t=Object(r.cloneElement)(t,{key:[n,o].join()})),e.push(t)}),e),[])}function y(e,t){return e&&r.Children.map(e,(e,n)=>{if(Object(m.isString)(e))return Object(r.createElement)(t,{key:n},e);const{children:o,...u}=e.props;return Object(r.createElement)(t,{key:n,...u},o)})}var g=n("faye");const O=e=>!Object(m.isNumber)(e)&&(Object(m.isString)(e)||Object(m.isArray)(e)?!e.length:!e);var w={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0},v=n("Vx3V");function S(e){let{children:t,...n}=e,o="";return r.Children.toArray(t).forEach(e=>{"string"==typeof e&&""!==e.trim()&&(o+=e)}),Object(r.createElement)("div",{dangerouslySetInnerHTML:{__html:o},...n})}const{Provider:j,Consumer:x}=Object(r.createContext)(void 0),k=Object(r.forwardRef)(()=>null),C=new Set(["string","boolean","number"]),E=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),M=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),I=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),T=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function L(e,t){return t.some(t=>0===e.indexOf(t))}function _(e){return"key"===e||"children"===e}function R(e,t){switch(e){case"style":return function(e){if(!Object(m.isPlainObject)(e))return e;let t;for(const n in e){const r=e[n];if(null==r)continue;t?t+=";":t="";const o=H(n),u=N(n,r);t+=o+":"+u}return t}(t)}return t}function P(e){switch(e){case"htmlFor":return"for";case"className":return"class"}return e.toLowerCase()}function H(e){return Object(m.startsWith)(e,"--")?e:L(e,["ms","O","Moz","Webkit"])?"-"+Object(m.kebabCase)(e):Object(m.kebabCase)(e)}function N(e,t){return"number"!=typeof t||0===t||T.has(e)?t:t+"px"}function V(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return $(e,t,n);switch(typeof e){case"string":return Object(v.escapeHTML)(e);case"number":return e.toString()}const{type:o,props:u}=e;switch(o){case r.StrictMode:case r.Fragment:return $(u.children,t,n);case S:const{children:e,...o}=u;return A(Object(m.isEmpty)(o)?null:"div",{...o,dangerouslySetInnerHTML:{__html:e}},t,n)}switch(typeof o){case"string":return A(o,u,t,n);case"function":return o.prototype&&"function"==typeof o.prototype.render?D(o,u,t,n):V(o(u,n),t,n)}switch(o&&o.$$typeof){case j.$$typeof:return $(u.children,u.value,n);case x.$$typeof:return V(u.children(t||o._currentValue),t,n);case k.$$typeof:return V(o.render(u),t,n)}return""}function A(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=$(t.value,n,r),t=Object(m.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=$(t.children,n,r)),!e)return o;const u=z(t);return E.has(e)?"<"+e+u+"/>":"<"+e+u+">"+o+"</"+e+">"}function D(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());const u=V(o.render(),n,r);return u}function $(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(m.castArray)(e);for(let o=0;o<e.length;o++){r+=V(e[o],t,n)}return r}function z(e){let t="";for(const n in e){const r=P(n);if(!Object(v.isValidAttributeName)(r))continue;let o=R(n,e[n]);if(!C.has(typeof o))continue;if(_(n))continue;const u=M.has(r);if(u&&!1===o)continue;const c=u||L(n,["data-","aria-"])||I.has(r);("boolean"!=typeof o||c)&&(t+=" "+r,u||("string"==typeof o&&(o=Object(v.escapeAttribute)(o)),t+='="'+o+'"'))}return t}var W=V}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{Children:function(){return n.Children},Component:function(){return n.Component},Fragment:function(){return n.Fragment},Platform:function(){return w},RawHTML:function(){return S},StrictMode:function(){return n.StrictMode},Suspense:function(){return n.Suspense},cloneElement:function(){return n.cloneElement},concatChildren:function(){return m},createContext:function(){return n.createContext},createElement:function(){return n.createElement},createInterpolateElement:function(){return p},createPortal:function(){return g.createPortal},createRef:function(){return n.createRef},findDOMNode:function(){return g.findDOMNode},forwardRef:function(){return n.forwardRef},isEmptyElement:function(){return b},isValidElement:function(){return n.isValidElement},lazy:function(){return n.lazy},memo:function(){return n.memo},render:function(){return g.render},renderToString:function(){return V},switchChildrenNodeName:function(){return y},unmountComponentAtNode:function(){return g.unmountComponentAtNode},useCallback:function(){return n.useCallback},useContext:function(){return n.useContext},useDebugValue:function(){return n.useDebugValue},useEffect:function(){return n.useEffect},useImperativeHandle:function(){return n.useImperativeHandle},useLayoutEffect:function(){return n.useLayoutEffect},useMemo:function(){return n.useMemo},useReducer:function(){return n.useReducer},useRef:function(){return n.useRef},useState:function(){return n.useState}});var n=window.React;let r,o,u,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function s(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}const a=e=>{const t="object"==typeof e,r=t&&Object.values(e);return t&&r.length&&r.every((e=>(0,n.isValidElement)(e)))};function l(e){const t=function(){const e=c.exec(r);if(null===e)return["no-more-tokens"];const t=e.index,[n,o,u,i]=e,s=n.length;if(i)return["self-closed",u,t,s];if(o)return["closer",u,t,s];return["opener",u,t,s]}(),[a,l,p,h]=t,m=i.length,y=p>o?o:null;if(!e[l])return f(),!1;switch(a){case"no-more-tokens":if(0!==m){const{leadingTextStart:e,tokenStart:t}=i.pop();u.push(r.substr(e,t))}return f(),!1;case"self-closed":return 0===m?(null!==y&&u.push(r.substr(y,p-y)),u.push(e[l]),o=p+h,!0):(d(s(e[l],p,h)),o=p+h,!0);case"opener":return i.push(s(e[l],p,h,p+h,y)),o=p+h,!0;case"closer":if(1===m)return function(e){const{element:t,leadingTextStart:o,prevOffset:c,tokenStart:s,children:a}=i.pop(),l=e?r.substr(c,e-c):r.substr(c);l&&a.push(l);null!==o&&u.push(r.substr(o,s-o));u.push((0,n.cloneElement)(t,null,...a))}(p),o=p+h,!0;const t=i.pop(),c=r.substr(t.prevOffset,p-t.prevOffset);t.children.push(c),t.prevOffset=p+h;const a=s(t.element,t.tokenStart,t.tokenLength,p+h);return a.children=t.children,d(a),o=p+h,!0;default:return f(),!1}}function f(){const e=r.length-o;0!==e&&u.push(r.substr(o,e))}function d(e){const{element:t,tokenStart:o,tokenLength:u,prevOffset:c,children:s}=e,a=i[i.length-1],l=r.substr(a.prevOffset,o-a.prevOffset);l&&a.children.push(l),a.children.push((0,n.cloneElement)(t,null,...s)),a.prevOffset=c||o+u}var p=(e,t)=>{if(r=e,o=0,u=[],i=[],c.lastIndex=0,!a(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(l(t));return(0,n.createElement)(n.Fragment,null,...u)},h=window.lodash;function m(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(((e,t,r)=>(n.Children.forEach(t,((t,o)=>{t&&"string"!=typeof t&&(t=(0,n.cloneElement)(t,{key:[r,o].join()})),e.push(t)})),e)),[])}function y(e,t){return e&&n.Children.map(e,((e,r)=>{if((0,h.isString)(e))return(0,n.createElement)(t,{key:r},e);const{children:o,...u}=e.props;return(0,n.createElement)(t,{key:r,...u},o)}))}var g=window.ReactDOM;const b=e=>!(0,h.isNumber)(e)&&((0,h.isString)(e)||(0,h.isArray)(e)?!e.length:!e);var w={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0},v=window.wp.escapeHtml;function S(e){let{children:t,...r}=e,o="";return n.Children.toArray(t).forEach((e=>{"string"==typeof e&&""!==e.trim()&&(o+=e)})),(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:o},...r})}const{Provider:k,Consumer:C}=(0,n.createContext)(void 0),O=(0,n.forwardRef)((()=>null)),E=new Set(["string","boolean","number"]),x=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),M=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),I=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),T=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function R(e,t){return t.some((t=>0===e.indexOf(t)))}function L(e){return"key"===e||"children"===e}function H(e,t){return"style"===e?function(e){if(!(0,h.isPlainObject)(e))return e;let t;for(const n in e){const r=e[n];if(null==r)continue;t?t+=";":t="";t+=_(n)+":"+j(n,r)}return t}(t):t}function P(e){switch(e){case"htmlFor":return"for";case"className":return"class"}return e.toLowerCase()}function _(e){return(0,h.startsWith)(e,"--")?e:R(e,["ms","O","Moz","Webkit"])?"-"+(0,h.kebabCase)(e):(0,h.kebabCase)(e)}function j(e,t){return"number"!=typeof t||0===t||T.has(e)?t:t+"px"}function A(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return z(e,t,r);switch(typeof e){case"string":return(0,v.escapeHTML)(e);case"number":return e.toString()}const{type:o,props:u}=e;switch(o){case n.StrictMode:case n.Fragment:return z(u.children,t,r);case S:const{children:e,...o}=u;return N((0,h.isEmpty)(o)?null:"div",{...o,dangerouslySetInnerHTML:{__html:e}},t,r)}switch(typeof o){case"string":return N(o,u,t,r);case"function":return o.prototype&&"function"==typeof o.prototype.render?$(o,u,t,r):A(o(u,r),t,r)}switch(o&&o.$$typeof){case k.$$typeof:return z(u.children,u.value,r);case C.$$typeof:return A(u.children(t||o._currentValue),t,r);case O.$$typeof:return A(o.render(u),t,r)}return""}function N(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=z(t.value,n,r),t=(0,h.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=z(t.children,n,r)),!e)return o;const u=D(t);return x.has(e)?"<"+e+u+"/>":"<"+e+u+">"+o+"</"+e+">"}function $(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());const u=A(o.render(),n,r);return u}function z(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=(0,h.castArray)(e);for(let o=0;o<e.length;o++){r+=A(e[o],t,n)}return r}function D(e){let t="";for(const n in e){const r=P(n);if(!(0,v.isValidAttributeName)(r))continue;let o=H(n,e[n]);if(!E.has(typeof o))continue;if(L(n))continue;const u=M.has(r);if(u&&!1===o)continue;const i=u||R(n,["data-","aria-"])||I.has(r);("boolean"!=typeof o||i)&&(t+=" "+r,u||("string"==typeof o&&(o=(0,v.escapeAttribute)(o)),t+='="'+o+'"'))}return t}var V=A;(window.wp=window.wp||{}).element=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/escape-html.js b/wp-includes/js/dist/escape-html.js
index d950806fe1..4daf6faf95 100644
--- a/wp-includes/js/dist/escape-html.js
+++ b/wp-includes/js/dist/escape-html.js
@@ -1,109 +1,54 @@
-this["wp"] = this["wp"] || {}; this["wp"]["escapeHtml"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "IsfW");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "IsfW":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "escapeAmpersand", function() { return /* binding */ escapeAmpersand; });
-__webpack_require__.d(__webpack_exports__, "escapeQuotationMark", function() { return /* binding */ escapeQuotationMark; });
-__webpack_require__.d(__webpack_exports__, "escapeLessThan", function() { return /* binding */ escapeLessThan; });
-__webpack_require__.d(__webpack_exports__, "escapeAttribute", function() { return /* binding */ escapeAttribute; });
-__webpack_require__.d(__webpack_exports__, "escapeHTML", function() { return /* binding */ escapeHTML; });
-__webpack_require__.d(__webpack_exports__, "escapeEditableHTML", function() { return /* binding */ escapeEditableHTML; });
-__webpack_require__.d(__webpack_exports__, "isValidAttributeName", function() { return /* binding */ isValidAttributeName; });
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/escape-html/build-module/escape-greater.js
+__webpack_require__.d(__webpack_exports__, {
+  "escapeAmpersand": function() { return /* binding */ escapeAmpersand; },
+  "escapeAttribute": function() { return /* binding */ escapeAttribute; },
+  "escapeEditableHTML": function() { return /* binding */ escapeEditableHTML; },
+  "escapeHTML": function() { return /* binding */ escapeHTML; },
+  "escapeLessThan": function() { return /* binding */ escapeLessThan; },
+  "escapeQuotationMark": function() { return /* binding */ escapeQuotationMark; },
+  "isValidAttributeName": function() { return /* binding */ isValidAttributeName; }
+});
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/escape-html/build-module/escape-greater.js
 /**
  * Returns a string with greater-than sign replaced.
  *
@@ -120,7 +65,7 @@ function __unstableEscapeGreaterThan(value) {
   return value.replace(/>/g, '&gt;');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/escape-html/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/escape-html/build-module/index.js
 /**
  * Internal dependencies
  */
@@ -243,7 +188,6 @@ function isValidAttributeName(name) {
   return !REGEXP_INVALID_ATTRIBUTE_NAME.test(name);
 }

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).escapeHtml = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/escape-html.min.js b/wp-includes/js/dist/escape-html.min.js
index bab00b508a..9030d1e099 100644
--- a/wp-includes/js/dist/escape-html.min.js
+++ b/wp-includes/js/dist/escape-html.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.escapeHtml=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},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="IsfW")}({IsfW:function(e,t,n){"use strict";n.r(t),n.d(t,"escapeAmpersand",(function(){return u})),n.d(t,"escapeQuotationMark",(function(){return o})),n.d(t,"escapeLessThan",(function(){return i})),n.d(t,"escapeAttribute",(function(){return c})),n.d(t,"escapeHTML",(function(){return f})),n.d(t,"escapeEditableHTML",(function(){return a})),n.d(t,"isValidAttributeName",(function(){return p}));const r=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function u(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function o(e){return e.replace(/"/g,"&quot;")}function i(e){return e.replace(/</g,"&lt;")}function c(e){return function(e){return e.replace(/>/g,"&gt;")}(o(u(e)))}function f(e){return i(u(e))}function a(e){return i(e.replace(/&/g,"&amp;"))}function p(e){return!r.test(e)}}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(n,t){for(var r in t)e.o(t,r)&&!e.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:t[r]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{escapeAmpersand:function(){return r},escapeAttribute:function(){return c},escapeEditableHTML:function(){return a},escapeHTML:function(){return i},escapeLessThan:function(){return o},escapeQuotationMark:function(){return u},isValidAttributeName:function(){return f}});const t=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function r(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function u(e){return e.replace(/"/g,"&quot;")}function o(e){return e.replace(/</g,"&lt;")}function c(e){return function(e){return e.replace(/>/g,"&gt;")}(u(r(e)))}function i(e){return o(r(e))}function a(e){return o(e.replace(/&/g,"&amp;"))}function f(e){return!t.test(e)}(window.wp=window.wp||{}).escapeHtml=n}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/format-library.js b/wp-includes/js/dist/format-library.js
index 099cc4a8d7..5520bec6eb 100644
--- a/wp-includes/js/dist/format-library.js
+++ b/wp-includes/js/dist/format-library.js
@@ -1,390 +1,51 @@
-this["wp"] = this["wp"] || {}; this["wp"]["formatLibrary"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "t1DA");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1Yn1":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (code);
-
-
-/***/ }),
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "Bpkj":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const link = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (link);
-
-
-/***/ }),
-
-/***/ "Crq9":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const formatStrikethrough = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (formatStrikethrough);
-
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "Mmq9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["url"]; }());
-
-/***/ }),
-
-/***/ "Mp0b":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const linkOff = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (linkOff);
-
-
-/***/ }),
-
-/***/ "Tqx9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["primitives"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "axFQ":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blockEditor"]; }());
-
-/***/ }),
-
-/***/ "btIw":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const keyboardReturn = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "-2 -2 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["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"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (keyboardReturn);
-
-
-/***/ }),
-
-/***/ "gdqT":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["a11y"]; }());
-
-/***/ }),
-
-/***/ "iClF":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/**
- * WordPress dependencies
- */
-
-/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
-
-/**
- * Return an SVG icon.
- *
- * @param {IconProps} props icon is the SVG component to render
- *                          size is a number specifiying the icon size in pixels
- *                          Other props will be passed to wrapped SVG component
- *
- * @return {JSX.Element}  Icon component
- */
-
-function Icon(_ref) {
-  let {
-    icon,
-    size = 24,
-    ...props
-  } = _ref;
-  return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(icon, {
-    width: size,
-    height: size,
-    ...props
-  });
-}
-
-/* harmony default export */ __webpack_exports__["a"] = (Icon);
-
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "oMoS":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const button = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (button);
-
-
-/***/ }),
-
-/***/ "qRz9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["richText"]; }());
-
-/***/ }),
-
-/***/ "rmEH":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["htmlEntities"]; }());
-
-/***/ }),
-
-/***/ "t1DA":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

-// EXTERNAL MODULE: external ["wp","richText"]
-var external_wp_richText_ = __webpack_require__("qRz9");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");
-
-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-bold.js
+;// CONCATENATED MODULE: external ["wp","richText"]
+var external_wp_richText_namespaceObject = window["wp"]["richText"];
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-bold.js


 /**
  * WordPress dependencies
  */

-const formatBold = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatBold = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"
 }));
 /* harmony default export */ var format_bold = (formatBold);

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/bold/index.js


 /**
@@ -396,7 +57,7 @@ const formatBold = Object(external_wp_element_["createElement"])(external_wp_pri

 const bold_name = 'core/bold';

-const title = Object(external_wp_i18n_["__"])('Bold');
+const title = (0,external_wp_i18n_namespaceObject.__)('Bold');

 const bold = {
   name: bold_name,
@@ -413,24 +74,24 @@ const bold = {
     } = _ref;

     function onToggle() {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: bold_name,
         title
       }));
     }

     function onClick() {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: bold_name
       }));
       onFocus();
     }

-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextShortcut, {
       type: "primary",
       character: "b",
       onUse: onToggle
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
       name: "bold",
       icon: format_bold,
       title: title,
@@ -438,7 +99,7 @@ const bold = {
       isActive: isActive,
       shortcutType: "primary",
       shortcutCharacter: "b"
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableRichTextInputEvent"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableRichTextInputEvent, {
       inputType: "formatBold",
       onInput: onToggle
     }));
@@ -446,10 +107,22 @@ const bold = {

 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js
-var code = __webpack_require__("1Yn1");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/code.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/code/index.js
+
+/**
+ * WordPress dependencies
+ */
+
+const code = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"
+}));
+/* harmony default export */ var library_code = (code);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/code/index.js


 /**
@@ -461,7 +134,7 @@ var code = __webpack_require__("1Yn1");

 const code_name = 'core/code';

-const code_title = Object(external_wp_i18n_["__"])('Inline code');
+const code_title = (0,external_wp_i18n_namespaceObject.__)('Inline code');

 const code_code = {
   name: code_name,
@@ -495,9 +168,9 @@ const code_code = {
       return value;
     }

-    value = Object(external_wp_richText_["remove"])(value, startIndex, startIndex + 1);
-    value = Object(external_wp_richText_["remove"])(value, endIndex, endIndex + 1);
-    value = Object(external_wp_richText_["applyFormat"])(value, {
+    value = (0,external_wp_richText_namespaceObject.remove)(value, startIndex, startIndex + 1);
+    value = (0,external_wp_richText_namespaceObject.remove)(value, endIndex, endIndex + 1);
+    value = (0,external_wp_richText_namespaceObject.applyFormat)(value, {
       type: code_name
     }, startIndex, endIndex);
     return value;
@@ -512,15 +185,15 @@ const code_code = {
     } = _ref;

     function onClick() {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: code_name,
         title: code_title
       }));
       onFocus();
     }

-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
-      icon: code["a" /* default */],
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
+      icon: library_code,
       title: code_title,
       onClick: onClick,
       isActive: isActive,
@@ -530,13 +203,24 @@ const code_code = {

 };

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
+

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/keyboard-return.js
-var keyboard_return = __webpack_require__("btIw");
+/**
+ * WordPress dependencies
+ */
+
+const keyboardReturn = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "-2 -2 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var keyboard_return = (keyboardReturn);

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/image/index.js


 /**
@@ -551,12 +235,12 @@ var keyboard_return = __webpack_require__("btIw");
 const ALLOWED_MEDIA_TYPES = ['image'];
 const image_name = 'core/image';

-const image_title = Object(external_wp_i18n_["__"])('Inline image');
+const image_title = (0,external_wp_i18n_namespaceObject.__)('Inline image');

 const image_image = {
   name: image_name,
   title: image_title,
-  keywords: [Object(external_wp_i18n_["__"])('photo'), Object(external_wp_i18n_["__"])('media')],
+  keywords: [(0,external_wp_i18n_namespaceObject.__)('photo'), (0,external_wp_i18n_namespaceObject.__)('media')],
   object: true,
   tagName: 'img',
   className: null,
@@ -579,18 +263,18 @@ function InlineUI(_ref) {
   const {
     style
   } = activeObjectAttributes;
-  const [width, setWidth] = Object(external_wp_element_["useState"])(style === null || style === void 0 ? void 0 : style.replace(/\D/g, ''));
-  const anchorRef = Object(external_wp_richText_["useAnchorRef"])({
+  const [width, setWidth] = (0,external_wp_element_namespaceObject.useState)(style === null || style === void 0 ? void 0 : style.replace(/\D/g, ''));
+  const anchorRef = (0,external_wp_richText_namespaceObject.useAnchorRef)({
     ref: contentRef,
     value,
     settings: image_image
   });
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
     position: "bottom center",
     focusOnMount: false,
     anchorRef: anchorRef,
     className: "block-editor-format-toolbar__image-popover"
-  }, Object(external_wp_element_["createElement"])("form", {
+  }, (0,external_wp_element_namespaceObject.createElement)("form", {
     className: "block-editor-format-toolbar__image-container-content",
     onSubmit: event => {
       const newReplacements = value.replacements.slice();
@@ -605,16 +289,16 @@ function InlineUI(_ref) {
       });
       event.preventDefault();
     }
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
     className: "block-editor-format-toolbar__image-container-value",
     type: "number",
-    label: Object(external_wp_i18n_["__"])('Width'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Width'),
     value: width,
     min: 1,
     onChange: newWidth => setWidth(newWidth)
-  }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    icon: keyboard_return["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Apply'),
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    icon: keyboard_return,
+    label: (0,external_wp_i18n_namespaceObject.__)('Apply'),
     type: "submit"
   })));
 }
@@ -628,7 +312,7 @@ function Edit(_ref2) {
     activeObjectAttributes,
     contentRef
   } = _ref2;
-  const [isModalOpen, setIsModalOpen] = Object(external_wp_element_["useState"])(false);
+  const [isModalOpen, setIsModalOpen] = (0,external_wp_element_namespaceObject.useState)(false);

   function openModal() {
     setIsModalOpen(true);
@@ -638,17 +322,17 @@ function Edit(_ref2) {
     setIsModalOpen(false);
   }

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUploadCheck"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
-    icon: Object(external_wp_element_["createElement"])(external_wp_components_["SVG"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUploadCheck, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
+    icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SVG, {
       xmlns: "http://www.w3.org/2000/svg",
       viewBox: "0 0 24 24"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["Path"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Path, {
       d: "M4 18.5h16V17H4v1.5zM16 13v1.5h4V13h-4zM5.1 15h7.8c.6 0 1.1-.5 1.1-1.1V6.1c0-.6-.5-1.1-1.1-1.1H5.1C4.5 5 4 5.5 4 6.1v7.8c0 .6.5 1.1 1.1 1.1zm.4-8.5h7V10l-1-1c-.3-.3-.8-.3-1 0l-1.6 1.5-1.2-.7c-.3-.2-.6-.2-.9 0l-1.3 1V6.5zm0 6.1l1.8-1.3 1.3.8c.3.2.7.2.9-.1l1.5-1.4 1.5 1.4v1.5h-7v-.9z"
     })),
     title: image_title,
     onClick: openModal,
     isActive: isObjectActive
-  }), isModalOpen && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["MediaUpload"], {
+  }), isModalOpen && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.MediaUpload, {
     allowedTypes: ALLOWED_MEDIA_TYPES,
     onSelect: _ref3 => {
       let {
@@ -658,7 +342,7 @@ function Edit(_ref2) {
         width: imgWidth
       } = _ref3;
       closeModal();
-      onChange(Object(external_wp_richText_["insertObject"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.insertObject)(value, {
         type: image_name,
         attributes: {
           className: `wp-image-${id}`,
@@ -677,7 +361,7 @@ function Edit(_ref2) {
       open();
       return null;
     }
-  }), isObjectActive && Object(external_wp_element_["createElement"])(InlineUI, {
+  }), isObjectActive && (0,external_wp_element_namespaceObject.createElement)(InlineUI, {
     value: value,
     onChange: onChange,
     activeObjectAttributes: activeObjectAttributes,
@@ -685,22 +369,22 @@ function Edit(_ref2) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-italic.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-italic.js


 /**
  * WordPress dependencies
  */

-const formatItalic = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const formatItalic = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.5 5L10 19h1.9l2.5-14z"
 }));
 /* harmony default export */ var format_italic = (formatItalic);

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/italic/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/italic/index.js


 /**
@@ -712,7 +396,7 @@ const formatItalic = Object(external_wp_element_["createElement"])(external_wp_p

 const italic_name = 'core/italic';

-const italic_title = Object(external_wp_i18n_["__"])('Italic');
+const italic_title = (0,external_wp_i18n_namespaceObject.__)('Italic');

 const italic = {
   name: italic_name,
@@ -729,24 +413,24 @@ const italic = {
     } = _ref;

     function onToggle() {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: italic_name,
         title: italic_title
       }));
     }

     function onClick() {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: italic_name
       }));
       onFocus();
     }

-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextShortcut, {
       type: "primary",
       character: "i",
       onUse: onToggle
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
       name: "italic",
       icon: format_italic,
       title: italic_title,
@@ -754,7 +438,7 @@ const italic = {
       isActive: isActive,
       shortcutType: "primary",
       shortcutCharacter: "i"
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableRichTextInputEvent"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableRichTextInputEvent, {
       inputType: "formatItalic",
       onInput: onToggle
     }));
@@ -762,28 +446,47 @@ const italic = {

 };

-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: external ["wp","htmlEntities"]
+var external_wp_htmlEntities_namespaceObject = window["wp"]["htmlEntities"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js

-// EXTERNAL MODULE: external ["wp","htmlEntities"]
-var external_wp_htmlEntities_ = __webpack_require__("rmEH");

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link-off.js
-var link_off = __webpack_require__("Mp0b");
+/**
+ * WordPress dependencies
+ */

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js
-var library_link = __webpack_require__("Bpkj");
+const linkOff = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var link_off = (linkOff);

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js

-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+/**
+ * WordPress dependencies
+ */

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/utils.js
+const link_link = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var library_link = (link_link);
+
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/utils.js
 /**
  * External dependencies
  */
@@ -814,45 +517,45 @@ function isValidHref(href) {


   if (/^\S+:/.test(trimmedHref)) {
-    const protocol = Object(external_wp_url_["getProtocol"])(trimmedHref);
+    const protocol = (0,external_wp_url_namespaceObject.getProtocol)(trimmedHref);

-    if (!Object(external_wp_url_["isValidProtocol"])(protocol)) {
+    if (!(0,external_wp_url_namespaceObject.isValidProtocol)(protocol)) {
       return false;
     } // Add some extra checks for http(s) URIs, since these are the most common use-case.
     // This ensures URIs with an http protocol have exactly two forward slashes following the protocol.


-    if (Object(external_lodash_["startsWith"])(protocol, 'http') && !/^https?:\/\/[^\/\s]/i.test(trimmedHref)) {
+    if ((0,external_lodash_namespaceObject.startsWith)(protocol, 'http') && !/^https?:\/\/[^\/\s]/i.test(trimmedHref)) {
       return false;
     }

-    const authority = Object(external_wp_url_["getAuthority"])(trimmedHref);
+    const authority = (0,external_wp_url_namespaceObject.getAuthority)(trimmedHref);

-    if (!Object(external_wp_url_["isValidAuthority"])(authority)) {
+    if (!(0,external_wp_url_namespaceObject.isValidAuthority)(authority)) {
       return false;
     }

-    const path = Object(external_wp_url_["getPath"])(trimmedHref);
+    const path = (0,external_wp_url_namespaceObject.getPath)(trimmedHref);

-    if (path && !Object(external_wp_url_["isValidPath"])(path)) {
+    if (path && !(0,external_wp_url_namespaceObject.isValidPath)(path)) {
       return false;
     }

-    const queryString = Object(external_wp_url_["getQueryString"])(trimmedHref);
+    const queryString = (0,external_wp_url_namespaceObject.getQueryString)(trimmedHref);

-    if (queryString && !Object(external_wp_url_["isValidQueryString"])(queryString)) {
+    if (queryString && !(0,external_wp_url_namespaceObject.isValidQueryString)(queryString)) {
       return false;
     }

-    const fragment = Object(external_wp_url_["getFragment"])(trimmedHref);
+    const fragment = (0,external_wp_url_namespaceObject.getFragment)(trimmedHref);

-    if (fragment && !Object(external_wp_url_["isValidFragment"])(fragment)) {
+    if (fragment && !(0,external_wp_url_namespaceObject.isValidFragment)(fragment)) {
       return false;
     }
   } // Validate anchor links.


-  if (Object(external_lodash_["startsWith"])(trimmedHref, '#') && !Object(external_wp_url_["isValidFragment"])(trimmedHref)) {
+  if ((0,external_lodash_namespaceObject.startsWith)(trimmedHref, '#') && !(0,external_wp_url_namespaceObject.isValidFragment)(trimmedHref)) {
     return false;
   }

@@ -927,13 +630,13 @@ function getFormatBoundary(value, format) {


   const newFormats = formats.slice();
-  const formatAtStart = Object(external_lodash_["find"])(newFormats[startIndex], {
+  const formatAtStart = (0,external_lodash_namespaceObject.find)(newFormats[startIndex], {
     type: format.type
   });
-  const formatAtEnd = Object(external_lodash_["find"])(newFormats[endIndex], {
+  const formatAtEnd = (0,external_lodash_namespaceObject.find)(newFormats[endIndex], {
     type: format.type
   });
-  const formatAtEndMinusOne = Object(external_lodash_["find"])(newFormats[endIndex - 1], {
+  const formatAtEndMinusOne = (0,external_lodash_namespaceObject.find)(newFormats[endIndex - 1], {
     type: format.type
   });

@@ -1002,14 +705,14 @@ function walkToBoundary(formats, initialIndex, targetFormatRef, formatIndex, dir
   return index;
 }

-const walkToStart = Object(external_lodash_["partialRight"])(walkToBoundary, 'backwards');
-const walkToEnd = Object(external_lodash_["partialRight"])(walkToBoundary, 'forwards');
+const walkToStart = (0,external_lodash_namespaceObject.partialRight)(walkToBoundary, 'backwards');
+const walkToEnd = (0,external_lodash_namespaceObject.partialRight)(walkToBoundary, 'forwards');

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/use-link-instance-key.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/use-link-instance-key.js
 // Weakly referenced map allows unused ids to be garbage collected.
 const weakMap = new WeakMap(); // Incrementing zero-based ID value

-let use_link_instance_key_id = -1;
+let id = -1;
 const prefix = 'link-control-instance';

 function getKey(_id) {
@@ -1032,14 +735,14 @@ function useLinkInstanceKey(instance) {
     return getKey(weakMap.get(instance));
   }

-  use_link_instance_key_id += 1;
-  weakMap.set(instance, use_link_instance_key_id);
-  return getKey(use_link_instance_key_id);
+  id += 1;
+  weakMap.set(instance, id);
+  return getKey(id);
 }

 /* harmony default export */ var use_link_instance_key = (useLinkInstanceKey);

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/inline.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/inline.js


 /**
@@ -1083,14 +786,14 @@ function InlineLinkUI(_ref) {
    * @type {[Object|undefined,Function]}
    */

-  const [nextLinkValue, setNextLinkValue] = Object(external_wp_element_["useState"])();
+  const [nextLinkValue, setNextLinkValue] = (0,external_wp_element_namespaceObject.useState)();
   const {
     createPageEntity,
     userCanCreatePages
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);

     const _settings = getSettings();

@@ -1109,10 +812,10 @@ function InlineLinkUI(_ref) {
   };

   function removeLink() {
-    const newValue = Object(external_wp_richText_["removeFormat"])(value, 'core/link');
+    const newValue = (0,external_wp_richText_namespaceObject.removeFormat)(value, 'core/link');
     onChange(newValue);
     stopAddingLink();
-    speak(Object(external_wp_i18n_["__"])('Link removed.'), 'assertive');
+    speak((0,external_wp_i18n_namespaceObject.__)('Link removed.'), 'assertive');
   }

   function onChangeLink(nextValue) {
@@ -1136,7 +839,7 @@ function InlineLinkUI(_ref) {
       return;
     }

-    const newUrl = Object(external_wp_url_["prependHTTP"])(nextValue.url);
+    const newUrl = (0,external_wp_url_namespaceObject.prependHTTP)(nextValue.url);
     const linkFormat = createLinkFormat({
       url: newUrl,
       type: nextValue.type,
@@ -1145,27 +848,27 @@ function InlineLinkUI(_ref) {
     });
     const newText = nextValue.title || newUrl;

-    if (Object(external_wp_richText_["isCollapsed"])(value) && !isActive) {
+    if ((0,external_wp_richText_namespaceObject.isCollapsed)(value) && !isActive) {
       // Scenario: we don't have any actively selected text or formats.
-      const toInsert = Object(external_wp_richText_["applyFormat"])(Object(external_wp_richText_["create"])({
+      const toInsert = (0,external_wp_richText_namespaceObject.applyFormat)((0,external_wp_richText_namespaceObject.create)({
         text: newText
       }), linkFormat, 0, newText.length);
-      onChange(Object(external_wp_richText_["insert"])(value, toInsert));
+      onChange((0,external_wp_richText_namespaceObject.insert)(value, toInsert));
     } else {
       // Scenario: we have any active text selection or an active format
       let newValue;

       if (newText === richTextText) {
         // If we're not updating the text then ignore
-        newValue = Object(external_wp_richText_["applyFormat"])(value, linkFormat);
+        newValue = (0,external_wp_richText_namespaceObject.applyFormat)(value, linkFormat);
       } else {
         // Create new RichText value for the new text in order that we
         // can apply formats to it.
-        newValue = Object(external_wp_richText_["create"])({
+        newValue = (0,external_wp_richText_namespaceObject.create)({
           text: newText
         }); // Apply the new Link format to this new text value.

-        newValue = Object(external_wp_richText_["applyFormat"])(newValue, linkFormat, 0, newText.length); // Update the original (full) RichTextValue replacing the
+        newValue = (0,external_wp_richText_namespaceObject.applyFormat)(newValue, linkFormat, 0, newText.length); // Update the original (full) RichTextValue replacing the
         // target text with the *new* RichTextValue containing:
         // 1. The new text content.
         // 2. The new link format.
@@ -1173,7 +876,7 @@ function InlineLinkUI(_ref) {
         // That is expected behaviour.
         // See: https://github.com/WordPress/gutenberg/pull/33849#issuecomment-936134179.

-        newValue = Object(external_wp_richText_["replace"])(value, richTextText, newValue);
+        newValue = (0,external_wp_richText_namespaceObject.replace)(value, richTextText, newValue);
       }

       newValue.start = newValue.end;
@@ -1188,18 +891,18 @@ function InlineLinkUI(_ref) {
     }

     if (!isValidHref(newUrl)) {
-      speak(Object(external_wp_i18n_["__"])('Warning: the link has been inserted but may have errors. Please test it.'), 'assertive');
+      speak((0,external_wp_i18n_namespaceObject.__)('Warning: the link has been inserted but may have errors. Please test it.'), 'assertive');
     } else if (isActive) {
-      speak(Object(external_wp_i18n_["__"])('Link edited.'), 'assertive');
+      speak((0,external_wp_i18n_namespaceObject.__)('Link edited.'), 'assertive');
     } else {
-      speak(Object(external_wp_i18n_["__"])('Link inserted.'), 'assertive');
+      speak((0,external_wp_i18n_namespaceObject.__)('Link inserted.'), 'assertive');
     }
   }

-  const anchorRef = Object(external_wp_richText_["useAnchorRef"])({
+  const anchorRef = (0,external_wp_richText_namespaceObject.useAnchorRef)({
     ref: contentRef,
     value,
-    settings: link_link
+    settings: build_module_link_link
   }); // Generate a string based key that is unique to this anchor reference.
   // This is used to force re-mount the LinkControl component to avoid
   // potential stale state bugs caused by the component not being remounted
@@ -1208,7 +911,7 @@ function InlineLinkUI(_ref) {
   const forceRemountKey = use_link_instance_key(anchorRef); // The focusOnMount prop shouldn't evolve during render of a Popover
   // otherwise it causes a render of the content.

-  const focusOnMount = Object(external_wp_element_["useRef"])(addingLink ? 'firstElement' : false);
+  const focusOnMount = (0,external_wp_element_namespaceObject.useRef)(addingLink ? 'firstElement' : false);

   async function handleCreate(pageTitle) {
     const page = await createPageEntity({
@@ -1225,19 +928,19 @@ function InlineLinkUI(_ref) {
   }

   function createButtonText(searchTerm) {
-    return Object(external_wp_element_["createInterpolateElement"])(Object(external_wp_i18n_["sprintf"])(
+    return (0,external_wp_element_namespaceObject.createInterpolateElement)((0,external_wp_i18n_namespaceObject.sprintf)(
     /* translators: %s: search term. */
-    Object(external_wp_i18n_["__"])('Create Page: <mark>%s</mark>'), searchTerm), {
-      mark: Object(external_wp_element_["createElement"])("mark", null)
+    (0,external_wp_i18n_namespaceObject.__)('Create Page: <mark>%s</mark>'), searchTerm), {
+      mark: (0,external_wp_element_namespaceObject.createElement)("mark", null)
     });
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
     anchorRef: anchorRef,
     focusOnMount: focusOnMount.current,
     onClose: stopAddingLink,
     position: "bottom center"
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__experimentalLinkControl"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__experimentalLinkControl, {
     key: forceRemountKey,
     value: linkValue,
     onChange: onChangeLink,
@@ -1269,12 +972,12 @@ function getRichTextValueFromSelection(value, isActive) {
   } // Get a RichTextValue containing the selected text content.


-  return Object(external_wp_richText_["slice"])(value, textStart, textEnd);
+  return (0,external_wp_richText_namespaceObject.slice)(value, textStart, textEnd);
 }

-/* harmony default export */ var inline = (Object(external_wp_components_["withSpokenMessages"])(InlineLinkUI));
+/* harmony default export */ var inline = ((0,external_wp_components_namespaceObject.withSpokenMessages)(InlineLinkUI));

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/link/index.js


 /**
@@ -1296,7 +999,7 @@ function getRichTextValueFromSelection(value, isActive) {

 const link_name = 'core/link';

-const link_title = Object(external_wp_i18n_["__"])('Link');
+const link_title = (0,external_wp_i18n_namespaceObject.__)('Link');

 function link_Edit(_ref) {
   let {
@@ -1307,20 +1010,20 @@ function link_Edit(_ref) {
     onFocus,
     contentRef
   } = _ref;
-  const [addingLink, setAddingLink] = Object(external_wp_element_["useState"])(false);
+  const [addingLink, setAddingLink] = (0,external_wp_element_namespaceObject.useState)(false);

   function addLink() {
-    const text = Object(external_wp_richText_["getTextContent"])(Object(external_wp_richText_["slice"])(value));
+    const text = (0,external_wp_richText_namespaceObject.getTextContent)((0,external_wp_richText_namespaceObject.slice)(value));

-    if (text && Object(external_wp_url_["isURL"])(text) && isValidHref(text)) {
-      onChange(Object(external_wp_richText_["applyFormat"])(value, {
+    if (text && (0,external_wp_url_namespaceObject.isURL)(text) && isValidHref(text)) {
+      onChange((0,external_wp_richText_namespaceObject.applyFormat)(value, {
         type: link_name,
         attributes: {
           url: text
         }
       }));
-    } else if (text && Object(external_wp_url_["isEmail"])(text)) {
-      onChange(Object(external_wp_richText_["applyFormat"])(value, {
+    } else if (text && (0,external_wp_url_namespaceObject.isEmail)(text)) {
+      onChange((0,external_wp_richText_namespaceObject.applyFormat)(value, {
         type: link_name,
         attributes: {
           url: `mailto:${text}`
@@ -1337,35 +1040,35 @@ function link_Edit(_ref) {
   }

   function onRemoveFormat() {
-    onChange(Object(external_wp_richText_["removeFormat"])(value, link_name));
-    Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["__"])('Link removed.'), 'assertive');
+    onChange((0,external_wp_richText_namespaceObject.removeFormat)(value, link_name));
+    (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.__)('Link removed.'), 'assertive');
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextShortcut, {
     type: "primary",
     character: "k",
     onUse: addLink
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextShortcut, {
     type: "primaryShift",
     character: "k",
     onUse: onRemoveFormat
-  }), isActive && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
+  }), isActive && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
     name: "link",
-    icon: link_off["a" /* default */],
-    title: Object(external_wp_i18n_["__"])('Unlink'),
+    icon: link_off,
+    title: (0,external_wp_i18n_namespaceObject.__)('Unlink'),
     onClick: onRemoveFormat,
     isActive: isActive,
     shortcutType: "primaryShift",
     shortcutCharacter: "k"
-  }), !isActive && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
+  }), !isActive && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
     name: "link",
-    icon: library_link["a" /* default */],
+    icon: library_link,
     title: link_title,
     onClick: addLink,
     isActive: isActive,
     shortcutType: "primary",
     shortcutCharacter: "k"
-  }), (addingLink || isActive) && Object(external_wp_element_["createElement"])(inline, {
+  }), (addingLink || isActive) && (0,external_wp_element_namespaceObject.createElement)(inline, {
     addingLink: addingLink,
     stopAddingLink: stopAddingLink,
     isActive: isActive,
@@ -1376,7 +1079,7 @@ function link_Edit(_ref) {
   }));
 }

-const link_link = {
+const build_module_link_link = {
   name: link_name,
   title: link_title,
   tagName: 'a',
@@ -1394,22 +1097,22 @@ const link_link = {
       plainText
     } = _ref2;

-    if (Object(external_wp_richText_["isCollapsed"])(value)) {
+    if ((0,external_wp_richText_namespaceObject.isCollapsed)(value)) {
       return value;
     }

     const pastedText = (html || plainText).replace(/<[^>]+>/g, '').trim(); // A URL was pasted, turn the selection into a link

-    if (!Object(external_wp_url_["isURL"])(pastedText)) {
+    if (!(0,external_wp_url_namespaceObject.isURL)(pastedText)) {
       return value;
     } // Allows us to ask for this information when we get a report.


     window.console.log('Created link:\n\n', pastedText);
-    return Object(external_wp_richText_["applyFormat"])(value, {
+    return (0,external_wp_richText_namespaceObject.applyFormat)(value, {
       type: link_name,
       attributes: {
-        url: Object(external_wp_htmlEntities_["decodeEntities"])(pastedText)
+        url: (0,external_wp_htmlEntities_namespaceObject.decodeEntities)(pastedText)
       }
     });
   },
@@ -1417,10 +1120,22 @@ const link_link = {
   edit: link_Edit
 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js
-var format_strikethrough = __webpack_require__("Crq9");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/format-strikethrough.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const formatStrikethrough = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
+}));
+/* harmony default export */ var format_strikethrough = (formatStrikethrough);

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/strikethrough/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/strikethrough/index.js


 /**
@@ -1432,7 +1147,7 @@ var format_strikethrough = __webpack_require__("Crq9");

 const strikethrough_name = 'core/strikethrough';

-const strikethrough_title = Object(external_wp_i18n_["__"])('Strikethrough');
+const strikethrough_title = (0,external_wp_i18n_namespaceObject.__)('Strikethrough');

 const strikethrough = {
   name: strikethrough_name,
@@ -1449,15 +1164,15 @@ const strikethrough = {
     } = _ref;

     function onClick() {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: strikethrough_name,
         title: strikethrough_title
       }));
       onFocus();
     }

-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
-      icon: format_strikethrough["a" /* default */],
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
+      icon: format_strikethrough,
       title: strikethrough_title,
       onClick: onClick,
       isActive: isActive,
@@ -1467,7 +1182,7 @@ const strikethrough = {

 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/underline/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/underline/index.js


 /**
@@ -1478,7 +1193,7 @@ const strikethrough = {

 const underline_name = 'core/underline';

-const underline_title = Object(external_wp_i18n_["__"])('Underline');
+const underline_title = (0,external_wp_i18n_namespaceObject.__)('Underline');

 const underline = {
   name: underline_name,
@@ -1496,7 +1211,7 @@ const underline = {
     } = _ref;

     const onToggle = () => {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: underline_name,
         attributes: {
           style: 'text-decoration: underline;'
@@ -1505,11 +1220,11 @@ const underline = {
       }));
     };

-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextShortcut"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextShortcut, {
       type: "primary",
       character: "u",
       onUse: onToggle
-    }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["__unstableRichTextInputEvent"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.__unstableRichTextInputEvent, {
       inputType: "formatUnderline",
       onInput: onToggle
     }));
@@ -1517,25 +1232,54 @@ const underline = {

 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
-var icon = __webpack_require__("iClF");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
+/**
+ * WordPress dependencies
+ */
+
+/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */
+
+/**
+ * Return an SVG icon.
+ *
+ * @param {IconProps} props icon is the SVG component to render
+ *                          size is a number specifiying the icon size in pixels
+ *                          Other props will be passed to wrapped SVG component
+ *
+ * @return {JSX.Element}  Icon component
+ */
+
+function Icon(_ref) {
+  let {
+    icon,
+    size = 24,
+    ...props
+  } = _ref;
+  return (0,external_wp_element_namespaceObject.cloneElement)(icon, {
+    width: size,
+    height: size,
+    ...props
+  });
+}
+
+/* harmony default export */ var icon = (Icon);

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/text-color.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/text-color.js


 /**
  * WordPress dependencies
  */

-const textColor = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const textColor = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M12.9 6h-2l-4 11h1.9l1.1-3h4.2l1.1 3h1.9L12.9 6zm-2.5 6.5l1.5-4.9 1.7 4.9h-3.2z"
 }));
 /* harmony default export */ var text_color = (textColor);

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/inline.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/inline.js


 /**
@@ -1578,7 +1322,7 @@ function parseClassName() {
     // `colorSlug` could contain dashes, so simply match the start and end.
     if (name.startsWith('has-') && name.endsWith('-color')) {
       const colorSlug = name.replace(/^has-/, '').replace(/-color$/, '');
-      const colorObject = Object(external_wp_blockEditor_["getColorObjectByAttributeValues"])(colorSettings, colorSlug);
+      const colorObject = (0,external_wp_blockEditor_namespaceObject.getColorObjectByAttributeValues)(colorSettings, colorSlug);
       accumulator.color = colorObject.color;
     }

@@ -1587,7 +1331,7 @@ function parseClassName() {
 }

 function getActiveColors(value, name, colorSettings) {
-  const activeColorFormat = Object(external_wp_richText_["getActiveFormat"])(value, name);
+  const activeColorFormat = (0,external_wp_richText_namespaceObject.getActiveFormat)(value, name);

   if (!activeColorFormat) {
     return {};
@@ -1607,7 +1351,7 @@ function setColors(value, name, colorSettings, colors) {
   };

   if (!color && !backgroundColor) {
-    return Object(external_wp_richText_["removeFormat"])(value, name);
+    return (0,external_wp_richText_namespaceObject.removeFormat)(value, name);
   }

   const styles = [];
@@ -1622,10 +1366,10 @@ function setColors(value, name, colorSettings, colors) {
   }

   if (color) {
-    const colorObject = Object(external_wp_blockEditor_["getColorObjectByColorValue"])(colorSettings, color);
+    const colorObject = (0,external_wp_blockEditor_namespaceObject.getColorObjectByColorValue)(colorSettings, color);

     if (colorObject) {
-      classNames.push(Object(external_wp_blockEditor_["getColorClassName"])('color', colorObject.slug));
+      classNames.push((0,external_wp_blockEditor_namespaceObject.getColorClassName)('color', colorObject.slug));
     } else {
       styles.push(['color', color].join(':'));
     }
@@ -1633,7 +1377,7 @@ function setColors(value, name, colorSettings, colors) {

   if (styles.length) attributes.style = styles.join(';');
   if (classNames.length) attributes.class = classNames.join(' ');
-  return Object(external_wp_richText_["applyFormat"])(value, {
+  return (0,external_wp_richText_namespaceObject.applyFormat)(value, {
     type: name,
     attributes
   });
@@ -1646,19 +1390,19 @@ function ColorPicker(_ref) {
     value,
     onChange
   } = _ref;
-  const colors = Object(external_wp_data_["useSelect"])(select => {
+  const colors = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getSettings
-    } = select(external_wp_blockEditor_["store"]);
-    return Object(external_lodash_["get"])(getSettings(), ['colors'], []);
+    } = select(external_wp_blockEditor_namespaceObject.store);
+    return (0,external_lodash_namespaceObject.get)(getSettings(), ['colors'], []);
   }, []);
-  const onColorChange = Object(external_wp_element_["useCallback"])(color => {
+  const onColorChange = (0,external_wp_element_namespaceObject.useCallback)(color => {
     onChange(setColors(value, name, colors, {
       [property]: color
     }));
   }, [colors, onChange, property]);
-  const activeColors = Object(external_wp_element_["useMemo"])(() => getActiveColors(value, name, colors), [name, value, colors]);
-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ColorPalette"], {
+  const activeColors = (0,external_wp_element_namespaceObject.useMemo)(() => getActiveColors(value, name, colors), [name, value, colors]);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ColorPalette, {
     value: activeColors[property],
     onChange: onColorChange
   });
@@ -1680,24 +1424,24 @@ function InlineColorUI(_ref2) {
    it will return null, since it can't find the <mark> element within the HEX input.
    This caches the last truthy value of the selection anchor reference.
    */
-  const anchorRef = Object(external_wp_blockEditor_["useCachedTruthy"])(Object(external_wp_richText_["useAnchorRef"])({
+  const anchorRef = (0,external_wp_blockEditor_namespaceObject.useCachedTruthy)((0,external_wp_richText_namespaceObject.useAnchorRef)({
     ref: contentRef,
     value,
     settings: text_color_textColor
   }));
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
     onClose: onClose,
     className: "components-inline-color-popover",
     anchorRef: anchorRef
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["TabPanel"], {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TabPanel, {
     tabs: [{
       name: 'color',
-      title: Object(external_wp_i18n_["__"])('Text')
+      title: (0,external_wp_i18n_namespaceObject.__)('Text')
     }, {
       name: 'backgroundColor',
-      title: Object(external_wp_i18n_["__"])('Background')
+      title: (0,external_wp_i18n_namespaceObject.__)('Background')
     }]
-  }, tab => Object(external_wp_element_["createElement"])(ColorPicker, {
+  }, tab => (0,external_wp_element_namespaceObject.createElement)(ColorPicker, {
     name: name,
     property: tab.name,
     value: value,
@@ -1705,7 +1449,7 @@ function InlineColorUI(_ref2) {
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/text-color/index.js


 /**
@@ -1729,7 +1473,7 @@ function InlineColorUI(_ref2) {
 const transparentValue = 'rgba(0, 0, 0, 0)';
 const text_color_name = 'core/text-color';

-const text_color_title = Object(external_wp_i18n_["__"])('Highlight');
+const text_color_title = (0,external_wp_i18n_namespaceObject.__)('Highlight');

 const EMPTY_ARRAY = [];

@@ -1774,30 +1518,30 @@ function TextColorEdit(_ref2) {
     activeAttributes,
     contentRef
   } = _ref2;
-  const allowCustomControl = Object(external_wp_blockEditor_["useSetting"])('color.custom');
-  const colors = Object(external_wp_blockEditor_["useSetting"])('color.palette') || EMPTY_ARRAY;
-  const [isAddingColor, setIsAddingColor] = Object(external_wp_element_["useState"])(false);
-  const enableIsAddingColor = Object(external_wp_element_["useCallback"])(() => setIsAddingColor(true), [setIsAddingColor]);
-  const disableIsAddingColor = Object(external_wp_element_["useCallback"])(() => setIsAddingColor(false), [setIsAddingColor]);
-  const colorIndicatorStyle = Object(external_wp_element_["useMemo"])(() => fillComputedColors(contentRef.current, getActiveColors(value, text_color_name, colors)), [value, colors]);
-  const hasColorsToChoose = !Object(external_lodash_["isEmpty"])(colors) || !allowCustomControl;
+  const allowCustomControl = (0,external_wp_blockEditor_namespaceObject.useSetting)('color.custom');
+  const colors = (0,external_wp_blockEditor_namespaceObject.useSetting)('color.palette') || EMPTY_ARRAY;
+  const [isAddingColor, setIsAddingColor] = (0,external_wp_element_namespaceObject.useState)(false);
+  const enableIsAddingColor = (0,external_wp_element_namespaceObject.useCallback)(() => setIsAddingColor(true), [setIsAddingColor]);
+  const disableIsAddingColor = (0,external_wp_element_namespaceObject.useCallback)(() => setIsAddingColor(false), [setIsAddingColor]);
+  const colorIndicatorStyle = (0,external_wp_element_namespaceObject.useMemo)(() => fillComputedColors(contentRef.current, getActiveColors(value, text_color_name, colors)), [value, colors]);
+  const hasColorsToChoose = !(0,external_lodash_namespaceObject.isEmpty)(colors) || !allowCustomControl;

   if (!hasColorsToChoose && !isActive) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
     className: "format-library-text-color-button",
     isActive: isActive,
-    icon: Object(external_wp_element_["createElement"])(icon["a" /* default */], {
+    icon: (0,external_wp_element_namespaceObject.createElement)(icon, {
       icon: text_color,
       style: colorIndicatorStyle
     }),
     title: text_color_title // If has no colors to choose but a color is active remove the color onClick
     ,
-    onClick: hasColorsToChoose ? enableIsAddingColor : () => onChange(Object(external_wp_richText_["removeFormat"])(value, text_color_name)),
+    onClick: hasColorsToChoose ? enableIsAddingColor : () => onChange((0,external_wp_richText_namespaceObject.removeFormat)(value, text_color_name)),
     role: "menuitemcheckbox"
-  }), isAddingColor && Object(external_wp_element_["createElement"])(InlineColorUI, {
+  }), isAddingColor && (0,external_wp_element_namespaceObject.createElement)(InlineColorUI, {
     name: text_color_name,
     onClose: disableIsAddingColor,
     activeAttributes: activeAttributes,
@@ -1839,22 +1583,22 @@ const text_color_textColor = {
   edit: TextColorEdit
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/subscript.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/subscript.js


 /**
  * WordPress dependencies
  */

-const subscript = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const subscript = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M16.9 18.3l.8-1.2c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.1-.3-.4-.5-.6-.7-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.2 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3L15 19.4h4.3v-1.2h-2.4zM14.1 7.2h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"
 }));
 /* harmony default export */ var library_subscript = (subscript);

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/subscript/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/subscript/index.js


 /**
@@ -1866,7 +1610,7 @@ const subscript = Object(external_wp_element_["createElement"])(external_wp_prim

 const subscript_name = 'core/subscript';

-const subscript_title = Object(external_wp_i18n_["__"])('Subscript');
+const subscript_title = (0,external_wp_i18n_namespaceObject.__)('Subscript');

 const subscript_subscript = {
   name: subscript_name,
@@ -1883,7 +1627,7 @@ const subscript_subscript = {
     } = _ref;

     function onToggle() {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: subscript_name,
         title: subscript_title
       }));
@@ -1894,7 +1638,7 @@ const subscript_subscript = {
       onFocus();
     }

-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
       icon: library_subscript,
       title: subscript_title,
       onClick: onClick,
@@ -1905,22 +1649,22 @@ const subscript_subscript = {

 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/superscript.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/superscript.js


 /**
  * WordPress dependencies
  */

-const superscript = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const superscript = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M16.9 10.3l.8-1.3c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.2-.2-.4-.4-.7-.6-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.1 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3l-1.8 2.8h4.3v-1.2h-2.2zm-2.8-3.1h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"
 }));
 /* harmony default export */ var library_superscript = (superscript);

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/superscript/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/superscript/index.js


 /**
@@ -1932,7 +1676,7 @@ const superscript = Object(external_wp_element_["createElement"])(external_wp_pr

 const superscript_name = 'core/superscript';

-const superscript_title = Object(external_wp_i18n_["__"])('Superscript');
+const superscript_title = (0,external_wp_i18n_namespaceObject.__)('Superscript');

 const superscript_superscript = {
   name: superscript_name,
@@ -1949,7 +1693,7 @@ const superscript_superscript = {
     } = _ref;

     function onToggle() {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: superscript_name,
         title: superscript_title
       }));
@@ -1960,7 +1704,7 @@ const superscript_superscript = {
       onFocus();
     }

-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
       icon: library_superscript,
       title: superscript_title,
       onClick: onClick,
@@ -1971,10 +1715,22 @@ const superscript_superscript = {

 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js
-var library_button = __webpack_require__("oMoS");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/button.js

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/keyboard/index.js
+
+/**
+ * WordPress dependencies
+ */
+
+const button_button = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"
+}));
+/* harmony default export */ var library_button = (button_button);
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/keyboard/index.js


 /**
@@ -1986,7 +1742,7 @@ var library_button = __webpack_require__("oMoS");

 const keyboard_name = 'core/keyboard';

-const keyboard_title = Object(external_wp_i18n_["__"])('Keyboard input');
+const keyboard_title = (0,external_wp_i18n_namespaceObject.__)('Keyboard input');

 const keyboard = {
   name: keyboard_name,
@@ -2003,7 +1759,7 @@ const keyboard = {
     } = _ref;

     function onToggle() {
-      onChange(Object(external_wp_richText_["toggleFormat"])(value, {
+      onChange((0,external_wp_richText_namespaceObject.toggleFormat)(value, {
         type: keyboard_name,
         title: keyboard_title
       }));
@@ -2014,8 +1770,8 @@ const keyboard = {
       onFocus();
     }

-    return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichTextToolbarButton"], {
-      icon: library_button["a" /* default */],
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichTextToolbarButton, {
+      icon: library_button,
       title: keyboard_title,
       onClick: onClick,
       isActive: isActive,
@@ -2025,7 +1781,7 @@ const keyboard = {

 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/default-formats.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/default-formats.js
 /**
  * Internal dependencies
  */
@@ -2040,9 +1796,9 @@ const keyboard = {



-/* harmony default export */ var default_formats = ([bold, code_code, image_image, italic, link_link, strikethrough, underline, text_color_textColor, subscript_subscript, superscript_superscript, keyboard]);
+/* harmony default export */ var default_formats = ([bold, code_code, image_image, italic, build_module_link_link, strikethrough, underline, text_color_textColor, subscript_subscript, superscript_superscript, keyboard]);

-// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/format-library/build-module/index.js
 /**
  * WordPress dependencies
  */
@@ -2057,17 +1813,9 @@ default_formats.forEach(_ref => {
     name,
     ...settings
   } = _ref;
-  return Object(external_wp_richText_["registerFormatType"])(name, settings);
+  return (0,external_wp_richText_namespaceObject.registerFormatType)(name, settings);
 });

-
-/***/ }),
-
-/***/ "tI+e":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["components"]; }());
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).formatLibrary = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/format-library.min.js b/wp-includes/js/dist/format-library.min.js
index ffb3f4c3bf..802582dd17 100644
--- a/wp-includes/js/dist/format-library.min.js
+++ b/wp-includes/js/dist/format-library.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.formatLibrary=function(e){var t={};function n(c){if(t[c])return t[c].exports;var r=t[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,c){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:c})},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 c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(c,r,function(t){return e[t]}.bind(null,r));return c},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="t1DA")}({"1Yn1":function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const o=Object(c.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(r.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));t.a=o},"1ZqX":function(e,t){e.exports=window.wp.data},Bpkj:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const o=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.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=o},Crq9:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const o=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.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=o},GRId:function(e,t){e.exports=window.wp.element},Mmq9:function(e,t){e.exports=window.wp.url},Mp0b:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const o=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(c.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=o},Tqx9:function(e,t){e.exports=window.wp.primitives},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},btIw:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const o=Object(c.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(c.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=o},gdqT:function(e,t){e.exports=window.wp.a11y},iClF:function(e,t,n){"use strict";var c=n("GRId");t.a=function(e){let{icon:t,size:n=24,...r}=e;return Object(c.cloneElement)(t,{width:n,height:n,...r})}},l3Sj:function(e,t){e.exports=window.wp.i18n},oMoS:function(e,t,n){"use strict";var c=n("GRId"),r=n("Tqx9");const o=Object(c.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(c.createElement)(r.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"}));t.a=o},qRz9:function(e,t){e.exports=window.wp.richText},rmEH:function(e,t){e.exports=window.wp.htmlEntities},t1DA:function(e,t,n){"use strict";n.r(t);var c=n("qRz9"),r=n("GRId"),o=n("l3Sj"),a=n("axFQ"),l=n("Tqx9");var i=Object(r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(l.Path,{d:"M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"}));const s=Object(o.__)("Bold"),u={name:"core/bold",title:s,tagName:"strong",className:null,edit(e){let{isActive:t,value:n,onChange:o,onFocus:l}=e;function u(){o(Object(c.toggleFormat)(n,{type:"core/bold",title:s}))}return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.RichTextShortcut,{type:"primary",character:"b",onUse:u}),Object(r.createElement)(a.RichTextToolbarButton,{name:"bold",icon:i,title:s,onClick:function(){o(Object(c.toggleFormat)(n,{type:"core/bold"})),l()},isActive:t,shortcutType:"primary",shortcutCharacter:"b"}),Object(r.createElement)(a.__unstableRichTextInputEvent,{inputType:"formatBold",onInput:u}))}};var b=n("1Yn1");const m=Object(o.__)("Inline code"),p={name:"core/code",title:m,tagName:"code",className:null,__unstableInputRule(e){const{start:t,text:n}=e;if("`"!==n.slice(t-1,t))return e;const r=n.slice(0,t-1).lastIndexOf("`");if(-1===r)return e;const o=r,a=t-2;return o===a?e:(e=Object(c.remove)(e,o,o+1),e=Object(c.remove)(e,a,a+1),e=Object(c.applyFormat)(e,{type:"core/code"},o,a))},edit(e){let{value:t,onChange:n,onFocus:o,isActive:l}=e;return Object(r.createElement)(a.RichTextToolbarButton,{icon:b.a,title:m,onClick:function(){n(Object(c.toggleFormat)(t,{type:"core/code",title:m})),o()},isActive:l,role:"menuitemcheckbox"})}};var h=n("tI+e"),j=n("btIw");const d=["image"],O=Object(o.__)("Inline image"),g={name:"core/image",title:O,keywords:[Object(o.__)("photo"),Object(o.__)("media")],object:!0,tagName:"img",className:null,attributes:{className:"class",style:"style",url:"src",alt:"alt"},edit:function(e){let{value:t,onChange:n,onFocus:o,isObjectActive:l,activeObjectAttributes:i,contentRef:s}=e;const[u,b]=Object(r.useState)(!1);function m(){b(!1)}return Object(r.createElement)(a.MediaUploadCheck,null,Object(r.createElement)(a.RichTextToolbarButton,{icon:Object(r.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(h.Path,{d:"M4 18.5h16V17H4v1.5zM16 13v1.5h4V13h-4zM5.1 15h7.8c.6 0 1.1-.5 1.1-1.1V6.1c0-.6-.5-1.1-1.1-1.1H5.1C4.5 5 4 5.5 4 6.1v7.8c0 .6.5 1.1 1.1 1.1zm.4-8.5h7V10l-1-1c-.3-.3-.8-.3-1 0l-1.6 1.5-1.2-.7c-.3-.2-.6-.2-.9 0l-1.3 1V6.5zm0 6.1l1.8-1.3 1.3.8c.3.2.7.2.9-.1l1.5-1.4 1.5 1.4v1.5h-7v-.9z"})),title:O,onClick:function(){b(!0)},isActive:l}),u&&Object(r.createElement)(a.MediaUpload,{allowedTypes:d,onSelect:e=>{let{id:r,url:a,alt:l,width:i}=e;m(),n(Object(c.insertObject)(t,{type:"core/image",attributes:{className:"wp-image-"+r,style:`width: ${Math.min(i,150)}px;`,url:a,alt:l}})),o()},onClose:m,render:e=>{let{open:t}=e;return t(),null}}),l&&Object(r.createElement)(v,{value:t,onChange:n,activeObjectAttributes:i,contentRef:s}))}};function v(e){let{value:t,onChange:n,activeObjectAttributes:a,contentRef:l}=e;const{style:i}=a,[s,u]=Object(r.useState)(null==i?void 0:i.replace(/\D/g,"")),b=Object(c.useAnchorRef)({ref:l,value:t,settings:g});return Object(r.createElement)(h.Popover,{position:"bottom center",focusOnMount:!1,anchorRef:b,className:"block-editor-format-toolbar__image-popover"},Object(r.createElement)("form",{className:"block-editor-format-toolbar__image-container-content",onSubmit:e=>{const c=t.replacements.slice();c[t.start]={type:"core/image",attributes:{...a,style:s?`width: ${s}px;`:""}},n({...t,replacements:c}),e.preventDefault()}},Object(r.createElement)(h.TextControl,{className:"block-editor-format-toolbar__image-container-value",type:"number",label:Object(o.__)("Width"),value:s,min:1,onChange:e=>u(e)}),Object(r.createElement)(h.Button,{icon:j.a,label:Object(o.__)("Apply"),type:"submit"})))}var f=Object(r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(l.Path,{d:"M12.5 5L10 19h1.9l2.5-14z"}));const w=Object(o.__)("Italic"),y={name:"core/italic",title:w,tagName:"em",className:null,edit(e){let{isActive:t,value:n,onChange:o,onFocus:l}=e;function i(){o(Object(c.toggleFormat)(n,{type:"core/italic",title:w}))}return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.RichTextShortcut,{type:"primary",character:"i",onUse:i}),Object(r.createElement)(a.RichTextToolbarButton,{name:"italic",icon:f,title:w,onClick:function(){o(Object(c.toggleFormat)(n,{type:"core/italic"})),l()},isActive:t,shortcutType:"primary",shortcutCharacter:"i"}),Object(r.createElement)(a.__unstableRichTextInputEvent,{inputType:"formatItalic",onInput:i}))}};var x=n("Mmq9"),k=n("rmEH"),E=n("Mp0b"),C=n("Bpkj"),_=n("gdqT"),T=n("1ZqX"),R=n("YLtl");function S(e){if(!e)return!1;const t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){const e=Object(x.getProtocol)(t);if(!Object(x.isValidProtocol)(e))return!1;if(Object(R.startsWith)(e,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;const n=Object(x.getAuthority)(t);if(!Object(x.isValidAuthority)(n))return!1;const c=Object(x.getPath)(t);if(c&&!Object(x.isValidPath)(c))return!1;const r=Object(x.getQueryString)(t);if(r&&!Object(x.isValidQueryString)(r))return!1;const o=Object(x.getFragment)(t);if(o&&!Object(x.isValidFragment)(o))return!1}return!(Object(R.startsWith)(t,"#")&&!Object(x.isValidFragment)(t))}function F(e,t,n,c,r){let o=t;const a={forwards:1,backwards:-1}[r]||1,l=-1*a;for(;e[o]&&e[o][c]===n;)o+=a;return o+=l,o}const A=Object(R.partialRight)(F,"backwards"),M=Object(R.partialRight)(F,"forwards"),P=new WeakMap;let N=-1;function I(e){return"link-control-instance-"+e}var B=function(e){if(e)return P.has(e)?I(P.get(e)):(N+=1,P.set(e,N),I(N))};var V=Object(h.withSpokenMessages)((function(e){let{isActive:t,activeAttributes:n,addingLink:l,value:i,onChange:s,speak:u,stopAddingLink:b,contentRef:m}=e;const p=function(e,t){let n=e.start,r=e.end;if(t){const t=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end;const r={start:null,end:null},{formats:o}=e;let a,l;if(null==o||!o.length)return r;const i=o.slice(),s=Object(R.find)(i[n],{type:t.type}),u=Object(R.find)(i[c],{type:t.type}),b=Object(R.find)(i[c-1],{type:t.type});if(s)a=s,l=n;else if(u)a=u,l=c;else{if(!b)return r;a=b,l=c-1}const m=i[l].indexOf(a),p=[i,l,a,m];return n=A(...p),c=M(...p),n=n<0?0:n,{start:n,end:c}}(e,{type:"core/link"});n=t.start,r=t.end+1}return Object(c.slice)(e,n,r)}(i,t).text,[j,d]=Object(r.useState)(),{createPageEntity:O,userCanCreatePages:g}=Object(T.useSelect)(e=>{const{getSettings:t}=e(a.store),n=t();return{createPageEntity:n.__experimentalCreatePageEntity,userCanCreatePages:n.__experimentalUserCanCreatePages}},[]),v={url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,title:p,...j},f=Object(c.useAnchorRef)({ref:m,value:i,settings:H}),w=B(f),y=Object(r.useRef)(!!l&&"firstElement");return Object(r.createElement)(h.Popover,{anchorRef:f,focusOnMount:y.current,onClose:b,position:"bottom center"},Object(r.createElement)(a.__experimentalLinkControl,{key:w,value:v,onChange:function(e){e={...j,...e};const n=v.opensInNewTab!==e.opensInNewTab&&v.url===e.url,r=n&&void 0===e.url;if(d(r?e:void 0),r)return;const a=Object(x.prependHTTP)(e.url),l=function(e){let{url:t,type:n,id:c,opensInNewWindow:r}=e;const o={type:"core/link",attributes:{url:t}};return n&&(o.attributes.type=n),c&&(o.attributes.id=c),r&&(o.attributes.target="_blank",o.attributes.rel="noreferrer noopener"),o}({url:a,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab}),m=e.title||a;if(Object(c.isCollapsed)(i)&&!t){const e=Object(c.applyFormat)(Object(c.create)({text:m}),l,0,m.length);s(Object(c.insert)(i,e))}else{let e;m===p?e=Object(c.applyFormat)(i,l):(e=Object(c.create)({text:m}),e=Object(c.applyFormat)(e,l,0,m.length),e=Object(c.replace)(i,p,e)),e.start=e.end,e.activeFormats=[],s(e)}n||b(),S(a)?u(t?Object(o.__)("Link edited."):Object(o.__)("Link inserted."),"assertive"):u(Object(o.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")},onRemove:function(){const e=Object(c.removeFormat)(i,"core/link");s(e),b(),u(Object(o.__)("Link removed."),"assertive")},forceIsEditingLink:l,hasRichPreviews:!0,createSuggestion:O&&async function(e){const t=await O({title:e,status:"draft"});return{id:t.id,type:t.type,title:t.title.rendered,url:t.link,kind:"post-type"}},withCreateSuggestion:g,createSuggestionButtonText:function(e){return Object(r.createInterpolateElement)(Object(o.sprintf)(Object(o.__)("Create Page: <mark>%s</mark>"),e),{mark:Object(r.createElement)("mark",null)})},hasTextControl:!0}))}));const z=Object(o.__)("Link");const H={name:"core/link",title:z,tagName:"a",className:null,attributes:{url:"href",type:"data-type",id:"data-id",target:"target"},__unstablePasteRule(e,t){let{html:n,plainText:r}=t;if(Object(c.isCollapsed)(e))return e;const o=(n||r).replace(/<[^>]+>/g,"").trim();return Object(x.isURL)(o)?(window.console.log("Created link:\n\n",o),Object(c.applyFormat)(e,{type:"core/link",attributes:{url:Object(k.decodeEntities)(o)}})):e},edit:function(e){let{isActive:t,activeAttributes:n,value:l,onChange:i,onFocus:s,contentRef:u}=e;const[b,m]=Object(r.useState)(!1);function p(){const e=Object(c.getTextContent)(Object(c.slice)(l));e&&Object(x.isURL)(e)&&S(e)?i(Object(c.applyFormat)(l,{type:"core/link",attributes:{url:e}})):e&&Object(x.isEmail)(e)?i(Object(c.applyFormat)(l,{type:"core/link",attributes:{url:"mailto:"+e}})):m(!0)}function h(){i(Object(c.removeFormat)(l,"core/link")),Object(_.speak)(Object(o.__)("Link removed."),"assertive")}return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.RichTextShortcut,{type:"primary",character:"k",onUse:p}),Object(r.createElement)(a.RichTextShortcut,{type:"primaryShift",character:"k",onUse:h}),t&&Object(r.createElement)(a.RichTextToolbarButton,{name:"link",icon:E.a,title:Object(o.__)("Unlink"),onClick:h,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&Object(r.createElement)(a.RichTextToolbarButton,{name:"link",icon:C.a,title:z,onClick:p,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(b||t)&&Object(r.createElement)(V,{addingLink:b,stopAddingLink:function(){m(!1),s()},isActive:t,activeAttributes:n,value:l,onChange:i,contentRef:u}))}};var L=n("Crq9");const G=Object(o.__)("Strikethrough"),q={name:"core/strikethrough",title:G,tagName:"s",className:null,edit(e){let{isActive:t,value:n,onChange:o,onFocus:l}=e;return Object(r.createElement)(a.RichTextToolbarButton,{icon:L.a,title:G,onClick:function(){o(Object(c.toggleFormat)(n,{type:"core/strikethrough",title:G})),l()},isActive:t,role:"menuitemcheckbox"})}},U=Object(o.__)("Underline"),W={name:"core/underline",title:U,tagName:"span",className:null,attributes:{style:"style"},edit(e){let{value:t,onChange:n}=e;const o=()=>{n(Object(c.toggleFormat)(t,{type:"core/underline",attributes:{style:"text-decoration: underline;"},title:U}))};return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.RichTextShortcut,{type:"primary",character:"u",onUse:o}),Object(r.createElement)(a.__unstableRichTextInputEvent,{inputType:"formatUnderline",onInput:o}))}};var D=n("iClF");var Q=Object(r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(l.Path,{d:"M12.9 6h-2l-4 11h1.9l1.1-3h4.2l1.1 3h1.9L12.9 6zm-2.5 6.5l1.5-4.9 1.7 4.9h-3.2z"}));function Y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(";").reduce((e,t)=>{if(t){const[n,c]=t.split(":");"color"===n&&(e.color=c),"background-color"===n&&c!==J&&(e.backgroundColor=c)}return e},{})}function $(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return e.split(" ").reduce((e,n)=>{if(n.startsWith("has-")&&n.endsWith("-color")){const c=n.replace(/^has-/,"").replace(/-color$/,""),r=Object(a.getColorObjectByAttributeValues)(t,c);e.color=r.color}return e},{})}function X(e,t,n){const r=Object(c.getActiveFormat)(e,t);return r?{...Y(r.attributes.style),...$(r.attributes.class,n)}:{}}function Z(e){let{name:t,property:n,value:o,onChange:l}=e;const i=Object(T.useSelect)(e=>{const{getSettings:t}=e(a.store);return Object(R.get)(t(),["colors"],[])},[]),s=Object(r.useCallback)(e=>{l(function(e,t,n,r){const{color:o,backgroundColor:l}={...X(e,t,n),...r};if(!o&&!l)return Object(c.removeFormat)(e,t);const i=[],s=[],u={};if(l?i.push(["background-color",l].join(":")):i.push(["background-color",J].join(":")),o){const e=Object(a.getColorObjectByColorValue)(n,o);e?s.push(Object(a.getColorClassName)("color",e.slug)):i.push(["color",o].join(":"))}return i.length&&(u.style=i.join(";")),s.length&&(u.class=s.join(" ")),Object(c.applyFormat)(e,{type:t,attributes:u})}(o,t,i,{[n]:e}))},[i,l,n]),u=Object(r.useMemo)(()=>X(o,t,i),[t,o,i]);return Object(r.createElement)(a.ColorPalette,{value:u[n],onChange:s})}function K(e){let{name:t,value:n,onChange:l,onClose:i,contentRef:s}=e;const u=Object(a.useCachedTruthy)(Object(c.useAnchorRef)({ref:s,value:n,settings:ce}));return Object(r.createElement)(h.Popover,{onClose:i,className:"components-inline-color-popover",anchorRef:u},Object(r.createElement)(h.TabPanel,{tabs:[{name:"color",title:Object(o.__)("Text")},{name:"backgroundColor",title:Object(o.__)("Background")}]},e=>Object(r.createElement)(Z,{name:t,property:e.name,value:n,onChange:l})))}const J="rgba(0, 0, 0, 0)",ee=Object(o.__)("Highlight"),te=[];function ne(e,t){const{ownerDocument:n}=e,{defaultView:c}=n,r=c.getComputedStyle(e).getPropertyValue(t);return"background-color"===t&&r===J&&e.parentElement?ne(e.parentElement,t):r}const ce={name:"core/text-color",title:ee,tagName:"mark",className:"has-inline-color",attributes:{style:"style",class:"class"},__unstableFilterAttributeValue(e,t){if("style"!==e)return t;if(t&&t.includes("background-color"))return t;const n=["background-color",J].join(":");return t?[n,t].join(";"):n},edit:function(e){let{value:t,onChange:n,isActive:o,activeAttributes:l,contentRef:i}=e;const s=Object(a.useSetting)("color.custom"),u=Object(a.useSetting)("color.palette")||te,[b,m]=Object(r.useState)(!1),p=Object(r.useCallback)(()=>m(!0),[m]),h=Object(r.useCallback)(()=>m(!1),[m]),j=Object(r.useMemo)(()=>function(e,t){let{color:n,backgroundColor:c}=t;if(n||c)return{color:n||ne(e,"color"),backgroundColor:c===J?ne(e,"background-color"):c}}(i.current,X(t,"core/text-color",u)),[t,u]),d=!Object(R.isEmpty)(u)||!s;return d||o?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.RichTextToolbarButton,{className:"format-library-text-color-button",isActive:o,icon:Object(r.createElement)(D.a,{icon:Q,style:j}),title:ee,onClick:d?p:()=>n(Object(c.removeFormat)(t,"core/text-color")),role:"menuitemcheckbox"}),b&&Object(r.createElement)(K,{name:"core/text-color",onClose:h,activeAttributes:l,value:t,onChange:n,contentRef:i})):null}};var re=Object(r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(l.Path,{d:"M16.9 18.3l.8-1.2c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.1-.3-.4-.5-.6-.7-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.2 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3L15 19.4h4.3v-1.2h-2.4zM14.1 7.2h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"}));const oe=Object(o.__)("Subscript"),ae={name:"core/subscript",title:oe,tagName:"sub",className:null,edit(e){let{isActive:t,value:n,onChange:o,onFocus:l}=e;return Object(r.createElement)(a.RichTextToolbarButton,{icon:re,title:oe,onClick:function(){o(Object(c.toggleFormat)(n,{type:"core/subscript",title:oe})),l()},isActive:t,role:"menuitemcheckbox"})}};var le=Object(r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(l.Path,{d:"M16.9 10.3l.8-1.3c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.2-.2-.4-.4-.7-.6-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.1 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3l-1.8 2.8h4.3v-1.2h-2.2zm-2.8-3.1h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"}));const ie=Object(o.__)("Superscript"),se={name:"core/superscript",title:ie,tagName:"sup",className:null,edit(e){let{isActive:t,value:n,onChange:o,onFocus:l}=e;return Object(r.createElement)(a.RichTextToolbarButton,{icon:le,title:ie,onClick:function(){o(Object(c.toggleFormat)(n,{type:"core/superscript",title:ie})),l()},isActive:t,role:"menuitemcheckbox"})}};var ue=n("oMoS");const be=Object(o.__)("Keyboard input");[u,p,g,y,H,q,W,ce,ae,se,{name:"core/keyboard",title:be,tagName:"kbd",className:null,edit(e){let{isActive:t,value:n,onChange:o,onFocus:l}=e;return Object(r.createElement)(a.RichTextToolbarButton,{icon:ue.a,title:be,onClick:function(){o(Object(c.toggleFormat)(n,{type:"core/keyboard",title:be})),l()},isActive:t,role:"menuitemcheckbox"})}}].forEach(e=>{let{name:t,...n}=e;return Object(c.registerFormatType)(t,n)})},"tI+e":function(e,t){e.exports=window.wp.components}});
\ No newline at end of file
+!function(){"use strict";var e={r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t);var n=window.wp.richText,r=window.wp.element,o=window.wp.i18n,a=window.wp.blockEditor,l=window.wp.primitives;var i=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.Path,{d:"M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"}));const c="core/bold",s=(0,o.__)("Bold"),u={name:c,title:s,tagName:"strong",className:null,edit(e){let{isActive:t,value:o,onChange:l,onFocus:u}=e;function m(){l((0,n.toggleFormat)(o,{type:c,title:s}))}return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichTextShortcut,{type:"primary",character:"b",onUse:m}),(0,r.createElement)(a.RichTextToolbarButton,{name:"bold",icon:i,title:s,onClick:function(){l((0,n.toggleFormat)(o,{type:c})),u()},isActive:t,shortcutType:"primary",shortcutCharacter:"b"}),(0,r.createElement)(a.__unstableRichTextInputEvent,{inputType:"formatBold",onInput:m}))}};var m=(0,r.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(l.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"}));const h="core/code",p=(0,o.__)("Inline code"),g={name:h,title:p,tagName:"code",className:null,__unstableInputRule(e){const{start:t,text:r}=e;if("`"!==r.slice(t-1,t))return e;const o=r.slice(0,t-1).lastIndexOf("`");if(-1===o)return e;const a=o,l=t-2;return a===l?e:(e=(0,n.remove)(e,a,a+1),e=(0,n.remove)(e,l,l+1),e=(0,n.applyFormat)(e,{type:h},a,l))},edit(e){let{value:t,onChange:o,onFocus:l,isActive:i}=e;return(0,r.createElement)(a.RichTextToolbarButton,{icon:m,title:p,onClick:function(){o((0,n.toggleFormat)(t,{type:h,title:p})),l()},isActive:i,role:"menuitemcheckbox"})}};var d=window.wp.components;var v=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(l.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"}));const w=["image"],f="core/image",b=(0,o.__)("Inline image"),y={name:f,title:b,keywords:[(0,o.__)("photo"),(0,o.__)("media")],object:!0,tagName:"img",className:null,attributes:{className:"class",style:"style",url:"src",alt:"alt"},edit:function(e){let{value:t,onChange:o,onFocus:l,isObjectActive:i,activeObjectAttributes:c,contentRef:s}=e;const[u,m]=(0,r.useState)(!1);function h(){m(!1)}return(0,r.createElement)(a.MediaUploadCheck,null,(0,r.createElement)(a.RichTextToolbarButton,{icon:(0,r.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(d.Path,{d:"M4 18.5h16V17H4v1.5zM16 13v1.5h4V13h-4zM5.1 15h7.8c.6 0 1.1-.5 1.1-1.1V6.1c0-.6-.5-1.1-1.1-1.1H5.1C4.5 5 4 5.5 4 6.1v7.8c0 .6.5 1.1 1.1 1.1zm.4-8.5h7V10l-1-1c-.3-.3-.8-.3-1 0l-1.6 1.5-1.2-.7c-.3-.2-.6-.2-.9 0l-1.3 1V6.5zm0 6.1l1.8-1.3 1.3.8c.3.2.7.2.9-.1l1.5-1.4 1.5 1.4v1.5h-7v-.9z"})),title:b,onClick:function(){m(!0)},isActive:i}),u&&(0,r.createElement)(a.MediaUpload,{allowedTypes:w,onSelect:e=>{let{id:r,url:a,alt:i,width:c}=e;h(),o((0,n.insertObject)(t,{type:f,attributes:{className:`wp-image-${r}`,style:`width: ${Math.min(c,150)}px;`,url:a,alt:i}})),l()},onClose:h,render:e=>{let{open:t}=e;return t(),null}}),i&&(0,r.createElement)(k,{value:t,onChange:o,activeObjectAttributes:c,contentRef:s}))}};function k(e){let{value:t,onChange:a,activeObjectAttributes:l,contentRef:i}=e;const{style:c}=l,[s,u]=(0,r.useState)(null==c?void 0:c.replace(/\D/g,"")),m=(0,n.useAnchorRef)({ref:i,value:t,settings:y});return(0,r.createElement)(d.Popover,{position:"bottom center",focusOnMount:!1,anchorRef:m,className:"block-editor-format-toolbar__image-popover"},(0,r.createElement)("form",{className:"block-editor-format-toolbar__image-container-content",onSubmit:e=>{const n=t.replacements.slice();n[t.start]={type:f,attributes:{...l,style:s?`width: ${s}px;`:""}},a({...t,replacements:n}),e.preventDefault()}},(0,r.createElement)(d.TextControl,{className:"block-editor-format-toolbar__image-container-value",type:"number",label:(0,o.__)("Width"),value:s,min:1,onChange:e=>u(e)}),(0,r.createElement)(d.Button,{icon:v,label:(0,o.__)("Apply"),type:"submit"})))}var E=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.Path,{d:"M12.5 5L10 19h1.9l2.5-14z"}));const C="core/italic",_=(0,o.__)("Italic"),x={name:C,title:_,tagName:"em",className:null,edit(e){let{isActive:t,value:o,onChange:l,onFocus:i}=e;function c(){l((0,n.toggleFormat)(o,{type:C,title:_}))}return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichTextShortcut,{type:"primary",character:"i",onUse:c}),(0,r.createElement)(a.RichTextToolbarButton,{name:"italic",icon:E,title:_,onClick:function(){l((0,n.toggleFormat)(o,{type:C})),i()},isActive:t,shortcutType:"primary",shortcutCharacter:"i"}),(0,r.createElement)(a.__unstableRichTextInputEvent,{inputType:"formatItalic",onInput:c}))}};var T=window.wp.url,S=window.wp.htmlEntities;var F=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.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"}));var R=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.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"})),A=window.wp.a11y,N=window.wp.data,P=window.lodash;function V(e){if(!e)return!1;const t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){const e=(0,T.getProtocol)(t);if(!(0,T.isValidProtocol)(e))return!1;if((0,P.startsWith)(e,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;const n=(0,T.getAuthority)(t);if(!(0,T.isValidAuthority)(n))return!1;const r=(0,T.getPath)(t);if(r&&!(0,T.isValidPath)(r))return!1;const o=(0,T.getQueryString)(t);if(o&&!(0,T.isValidQueryString)(o))return!1;const a=(0,T.getFragment)(t);if(a&&!(0,T.isValidFragment)(a))return!1}return!((0,P.startsWith)(t,"#")&&!(0,T.isValidFragment)(t))}function B(e,t,n,r,o){let a=t;const l={forwards:1,backwards:-1}[o]||1,i=-1*l;for(;e[a]&&e[a][r]===n;)a+=l;return a+=i,a}const M=(0,P.partialRight)(B,"backwards"),z=(0,P.partialRight)(B,"forwards"),H=new WeakMap;let L=-1;function I(e){return`link-control-instance-${e}`}var j=function(e){if(e)return H.has(e)?I(H.get(e)):(L+=1,H.set(e,L),I(L))};var O=(0,d.withSpokenMessages)((function(e){let{isActive:t,activeAttributes:l,addingLink:i,value:c,onChange:s,speak:u,stopAddingLink:m,contentRef:h}=e;const p=function(e,t){let r=e.start,o=e.end;if(t){const t=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end;const o={start:null,end:null},{formats:a}=e;let l,i;if(null==a||!a.length)return o;const c=a.slice(),s=(0,P.find)(c[n],{type:t.type}),u=(0,P.find)(c[r],{type:t.type}),m=(0,P.find)(c[r-1],{type:t.type});if(s)l=s,i=n;else if(u)l=u,i=r;else{if(!m)return o;l=m,i=r-1}const h=c[i].indexOf(l),p=[c,i,l,h];return n=M(...p),r=z(...p),n=n<0?0:n,{start:n,end:r}}(e,{type:"core/link"});r=t.start,o=t.end+1}return(0,n.slice)(e,r,o)}(c,t),g=p.text,[v,w]=(0,r.useState)(),{createPageEntity:f,userCanCreatePages:b}=(0,N.useSelect)((e=>{const{getSettings:t}=e(a.store),n=t();return{createPageEntity:n.__experimentalCreatePageEntity,userCanCreatePages:n.__experimentalUserCanCreatePages}}),[]),y={url:l.url,type:l.type,id:l.id,opensInNewTab:"_blank"===l.target,title:g,...v},k=(0,n.useAnchorRef)({ref:h,value:c,settings:W}),E=j(k),C=(0,r.useRef)(!!i&&"firstElement");return(0,r.createElement)(d.Popover,{anchorRef:k,focusOnMount:C.current,onClose:m,position:"bottom center"},(0,r.createElement)(a.__experimentalLinkControl,{key:E,value:y,onChange:function(e){e={...v,...e};const r=y.opensInNewTab!==e.opensInNewTab&&y.url===e.url,a=r&&void 0===e.url;if(w(a?e:void 0),a)return;const l=(0,T.prependHTTP)(e.url),i=function(e){let{url:t,type:n,id:r,opensInNewWindow:o}=e;const a={type:"core/link",attributes:{url:t}};return n&&(a.attributes.type=n),r&&(a.attributes.id=r),o&&(a.attributes.target="_blank",a.attributes.rel="noreferrer noopener"),a}({url:l,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab}),h=e.title||l;if((0,n.isCollapsed)(c)&&!t){const e=(0,n.applyFormat)((0,n.create)({text:h}),i,0,h.length);s((0,n.insert)(c,e))}else{let e;h===g?e=(0,n.applyFormat)(c,i):(e=(0,n.create)({text:h}),e=(0,n.applyFormat)(e,i,0,h.length),e=(0,n.replace)(c,g,e)),e.start=e.end,e.activeFormats=[],s(e)}r||m(),V(l)?u(t?(0,o.__)("Link edited."):(0,o.__)("Link inserted."),"assertive"):u((0,o.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")},onRemove:function(){const e=(0,n.removeFormat)(c,"core/link");s(e),m(),u((0,o.__)("Link removed."),"assertive")},forceIsEditingLink:i,hasRichPreviews:!0,createSuggestion:f&&async function(e){const t=await f({title:e,status:"draft"});return{id:t.id,type:t.type,title:t.title.rendered,url:t.link,kind:"post-type"}},withCreateSuggestion:b,createSuggestionButtonText:function(e){return(0,r.createInterpolateElement)((0,o.sprintf)((0,o.__)("Create Page: <mark>%s</mark>"),e),{mark:(0,r.createElement)("mark",null)})},hasTextControl:!0}))}));const U="core/link",G=(0,o.__)("Link");const W={name:U,title:G,tagName:"a",className:null,attributes:{url:"href",type:"data-type",id:"data-id",target:"target"},__unstablePasteRule(e,t){let{html:r,plainText:o}=t;if((0,n.isCollapsed)(e))return e;const a=(r||o).replace(/<[^>]+>/g,"").trim();return(0,T.isURL)(a)?(window.console.log("Created link:\n\n",a),(0,n.applyFormat)(e,{type:U,attributes:{url:(0,S.decodeEntities)(a)}})):e},edit:function(e){let{isActive:t,activeAttributes:l,value:i,onChange:c,onFocus:s,contentRef:u}=e;const[m,h]=(0,r.useState)(!1);function p(){const e=(0,n.getTextContent)((0,n.slice)(i));e&&(0,T.isURL)(e)&&V(e)?c((0,n.applyFormat)(i,{type:U,attributes:{url:e}})):e&&(0,T.isEmail)(e)?c((0,n.applyFormat)(i,{type:U,attributes:{url:`mailto:${e}`}})):h(!0)}function g(){c((0,n.removeFormat)(i,U)),(0,A.speak)((0,o.__)("Link removed."),"assertive")}return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichTextShortcut,{type:"primary",character:"k",onUse:p}),(0,r.createElement)(a.RichTextShortcut,{type:"primaryShift",character:"k",onUse:g}),t&&(0,r.createElement)(a.RichTextToolbarButton,{name:"link",icon:F,title:(0,o.__)("Unlink"),onClick:g,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&(0,r.createElement)(a.RichTextToolbarButton,{name:"link",icon:R,title:G,onClick:p,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(m||t)&&(0,r.createElement)(O,{addingLink:m,stopAddingLink:function(){h(!1),s()},isActive:t,activeAttributes:l,value:i,onChange:c,contentRef:u}))}};var $=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.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"}));const D="core/strikethrough",Q=(0,o.__)("Strikethrough"),K={name:D,title:Q,tagName:"s",className:null,edit(e){let{isActive:t,value:o,onChange:l,onFocus:i}=e;return(0,r.createElement)(a.RichTextToolbarButton,{icon:$,title:Q,onClick:function(){l((0,n.toggleFormat)(o,{type:D,title:Q})),i()},isActive:t,role:"menuitemcheckbox"})}},q="core/underline",J=(0,o.__)("Underline"),X={name:q,title:J,tagName:"span",className:null,attributes:{style:"style"},edit(e){let{value:t,onChange:o}=e;const l=()=>{o((0,n.toggleFormat)(t,{type:q,attributes:{style:"text-decoration: underline;"},title:J}))};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichTextShortcut,{type:"primary",character:"u",onUse:l}),(0,r.createElement)(a.__unstableRichTextInputEvent,{inputType:"formatUnderline",onInput:l}))}};var Y=function(e){let{icon:t,size:n=24,...o}=e;return(0,r.cloneElement)(t,{width:n,height:n,...o})};var Z=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.Path,{d:"M12.9 6h-2l-4 11h1.9l1.1-3h4.2l1.1 3h1.9L12.9 6zm-2.5 6.5l1.5-4.9 1.7 4.9h-3.2z"}));function ee(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(";").reduce(((e,t)=>{if(t){const[n,r]=t.split(":");"color"===n&&(e.color=r),"background-color"===n&&r!==ae&&(e.backgroundColor=r)}return e}),{})}function te(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return e.split(" ").reduce(((e,n)=>{if(n.startsWith("has-")&&n.endsWith("-color")){const r=n.replace(/^has-/,"").replace(/-color$/,""),o=(0,a.getColorObjectByAttributeValues)(t,r);e.color=o.color}return e}),{})}function ne(e,t,r){const o=(0,n.getActiveFormat)(e,t);return o?{...ee(o.attributes.style),...te(o.attributes.class,r)}:{}}function re(e){let{name:t,property:o,value:l,onChange:i}=e;const c=(0,N.useSelect)((e=>{const{getSettings:t}=e(a.store);return(0,P.get)(t(),["colors"],[])}),[]),s=(0,r.useCallback)((e=>{i(function(e,t,r,o){const{color:l,backgroundColor:i}={...ne(e,t,r),...o};if(!l&&!i)return(0,n.removeFormat)(e,t);const c=[],s=[],u={};if(i?c.push(["background-color",i].join(":")):c.push(["background-color",ae].join(":")),l){const e=(0,a.getColorObjectByColorValue)(r,l);e?s.push((0,a.getColorClassName)("color",e.slug)):c.push(["color",l].join(":"))}return c.length&&(u.style=c.join(";")),s.length&&(u.class=s.join(" ")),(0,n.applyFormat)(e,{type:t,attributes:u})}(l,t,c,{[o]:e}))}),[c,i,o]),u=(0,r.useMemo)((()=>ne(l,t,c)),[t,l,c]);return(0,r.createElement)(a.ColorPalette,{value:u[o],onChange:s})}function oe(e){let{name:t,value:l,onChange:i,onClose:c,contentRef:s}=e;const u=(0,a.useCachedTruthy)((0,n.useAnchorRef)({ref:s,value:l,settings:ue}));return(0,r.createElement)(d.Popover,{onClose:c,className:"components-inline-color-popover",anchorRef:u},(0,r.createElement)(d.TabPanel,{tabs:[{name:"color",title:(0,o.__)("Text")},{name:"backgroundColor",title:(0,o.__)("Background")}]},(e=>(0,r.createElement)(re,{name:t,property:e.name,value:l,onChange:i}))))}const ae="rgba(0, 0, 0, 0)",le="core/text-color",ie=(0,o.__)("Highlight"),ce=[];function se(e,t){const{ownerDocument:n}=e,{defaultView:r}=n,o=r.getComputedStyle(e).getPropertyValue(t);return"background-color"===t&&o===ae&&e.parentElement?se(e.parentElement,t):o}const ue={name:le,title:ie,tagName:"mark",className:"has-inline-color",attributes:{style:"style",class:"class"},__unstableFilterAttributeValue(e,t){if("style"!==e)return t;if(t&&t.includes("background-color"))return t;const n=["background-color",ae].join(":");return t?[n,t].join(";"):n},edit:function(e){let{value:t,onChange:o,isActive:l,activeAttributes:i,contentRef:c}=e;const s=(0,a.useSetting)("color.custom"),u=(0,a.useSetting)("color.palette")||ce,[m,h]=(0,r.useState)(!1),p=(0,r.useCallback)((()=>h(!0)),[h]),g=(0,r.useCallback)((()=>h(!1)),[h]),d=(0,r.useMemo)((()=>function(e,t){let{color:n,backgroundColor:r}=t;if(n||r)return{color:n||se(e,"color"),backgroundColor:r===ae?se(e,"background-color"):r}}(c.current,ne(t,le,u))),[t,u]),v=!(0,P.isEmpty)(u)||!s;return v||l?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(a.RichTextToolbarButton,{className:"format-library-text-color-button",isActive:l,icon:(0,r.createElement)(Y,{icon:Z,style:d}),title:ie,onClick:v?p:()=>o((0,n.removeFormat)(t,le)),role:"menuitemcheckbox"}),m&&(0,r.createElement)(oe,{name:le,onClose:g,activeAttributes:i,value:t,onChange:o,contentRef:c})):null}};var me=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.Path,{d:"M16.9 18.3l.8-1.2c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.1-.3-.4-.5-.6-.7-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.2 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3L15 19.4h4.3v-1.2h-2.4zM14.1 7.2h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"}));const he="core/subscript",pe=(0,o.__)("Subscript"),ge={name:he,title:pe,tagName:"sub",className:null,edit(e){let{isActive:t,value:o,onChange:l,onFocus:i}=e;return(0,r.createElement)(a.RichTextToolbarButton,{icon:me,title:pe,onClick:function(){l((0,n.toggleFormat)(o,{type:he,title:pe})),i()},isActive:t,role:"menuitemcheckbox"})}};var de=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.Path,{d:"M16.9 10.3l.8-1.3c.4-.6.7-1.2.9-1.6.2-.4.3-.8.3-1.2 0-.3-.1-.7-.2-1-.2-.2-.4-.4-.7-.6-.3-.2-.6-.3-1-.3s-.8.1-1.1.2c-.3.1-.7.3-1 .6l.1 1.3c.3-.3.5-.5.8-.6s.6-.2.9-.2c.3 0 .5.1.7.2.2.2.2.4.2.7 0 .3-.1.5-.2.8-.1.3-.4.7-.8 1.3l-1.8 2.8h4.3v-1.2h-2.2zm-2.8-3.1h-2L9.5 11 6.9 7.2h-2l3.6 5.3L4.7 18h2l2.7-4 2.7 4h2l-3.8-5.5 3.8-5.3z"}));const ve="core/superscript",we=(0,o.__)("Superscript"),fe={name:ve,title:we,tagName:"sup",className:null,edit(e){let{isActive:t,value:o,onChange:l,onFocus:i}=e;return(0,r.createElement)(a.RichTextToolbarButton,{icon:de,title:we,onClick:function(){l((0,n.toggleFormat)(o,{type:ve,title:we})),i()},isActive:t,role:"menuitemcheckbox"})}};var be=(0,r.createElement)(l.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(l.Path,{d:"M19 6.5H5c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v7zM8 12.8h8v-1.5H8v1.5z"}));const ye="core/keyboard",ke=(0,o.__)("Keyboard input");[u,g,y,x,W,K,X,ue,ge,fe,{name:ye,title:ke,tagName:"kbd",className:null,edit(e){let{isActive:t,value:o,onChange:l,onFocus:i}=e;return(0,r.createElement)(a.RichTextToolbarButton,{icon:be,title:ke,onClick:function(){l((0,n.toggleFormat)(o,{type:ye,title:ke})),i()},isActive:t,role:"menuitemcheckbox"})}}].forEach((e=>{let{name:t,...r}=e;return(0,n.registerFormatType)(t,r)})),(window.wp=window.wp||{}).formatLibrary=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/hooks.js b/wp-includes/js/dist/hooks.js
index f07f5db3bc..d030337816 100644
--- a/wp-includes/js/dist/hooks.js
+++ b/wp-includes/js/dist/hooks.js
@@ -1,122 +1,67 @@
-this["wp"] = this["wp"] || {}; this["wp"]["hooks"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "gEOj");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "gEOj":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "defaultHooks", function() { return /* binding */ defaultHooks; });
-__webpack_require__.d(__webpack_exports__, "createHooks", function() { return /* reexport */ build_module_createHooks; });
-__webpack_require__.d(__webpack_exports__, "addAction", function() { return /* binding */ addAction; });
-__webpack_require__.d(__webpack_exports__, "addFilter", function() { return /* binding */ addFilter; });
-__webpack_require__.d(__webpack_exports__, "removeAction", function() { return /* binding */ removeAction; });
-__webpack_require__.d(__webpack_exports__, "removeFilter", function() { return /* binding */ removeFilter; });
-__webpack_require__.d(__webpack_exports__, "hasAction", function() { return /* binding */ hasAction; });
-__webpack_require__.d(__webpack_exports__, "hasFilter", function() { return /* binding */ hasFilter; });
-__webpack_require__.d(__webpack_exports__, "removeAllActions", function() { return /* binding */ removeAllActions; });
-__webpack_require__.d(__webpack_exports__, "removeAllFilters", function() { return /* binding */ removeAllFilters; });
-__webpack_require__.d(__webpack_exports__, "doAction", function() { return /* binding */ doAction; });
-__webpack_require__.d(__webpack_exports__, "applyFilters", function() { return /* binding */ applyFilters; });
-__webpack_require__.d(__webpack_exports__, "currentAction", function() { return /* binding */ currentAction; });
-__webpack_require__.d(__webpack_exports__, "currentFilter", function() { return /* binding */ currentFilter; });
-__webpack_require__.d(__webpack_exports__, "doingAction", function() { return /* binding */ doingAction; });
-__webpack_require__.d(__webpack_exports__, "doingFilter", function() { return /* binding */ doingFilter; });
-__webpack_require__.d(__webpack_exports__, "didAction", function() { return /* binding */ didAction; });
-__webpack_require__.d(__webpack_exports__, "didFilter", function() { return /* binding */ didFilter; });
-__webpack_require__.d(__webpack_exports__, "actions", function() { return /* binding */ actions; });
-__webpack_require__.d(__webpack_exports__, "filters", function() { return /* binding */ filters; });
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/validateNamespace.js
+__webpack_require__.d(__webpack_exports__, {
+  "actions": function() { return /* binding */ actions; },
+  "addAction": function() { return /* binding */ addAction; },
+  "addFilter": function() { return /* binding */ addFilter; },
+  "applyFilters": function() { return /* binding */ applyFilters; },
+  "createHooks": function() { return /* reexport */ build_module_createHooks; },
+  "currentAction": function() { return /* binding */ currentAction; },
+  "currentFilter": function() { return /* binding */ currentFilter; },
+  "defaultHooks": function() { return /* binding */ defaultHooks; },
+  "didAction": function() { return /* binding */ didAction; },
+  "didFilter": function() { return /* binding */ didFilter; },
+  "doAction": function() { return /* binding */ doAction; },
+  "doingAction": function() { return /* binding */ doingAction; },
+  "doingFilter": function() { return /* binding */ doingFilter; },
+  "filters": function() { return /* binding */ filters; },
+  "hasAction": function() { return /* binding */ hasAction; },
+  "hasFilter": function() { return /* binding */ hasFilter; },
+  "removeAction": function() { return /* binding */ removeAction; },
+  "removeAllActions": function() { return /* binding */ removeAllActions; },
+  "removeAllFilters": function() { return /* binding */ removeAllFilters; },
+  "removeFilter": function() { return /* binding */ removeFilter; }
+});
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/validateNamespace.js
 /**
  * Validate a namespace string.
  *
@@ -143,7 +88,7 @@ function validateNamespace(namespace) {

 /* harmony default export */ var build_module_validateNamespace = (validateNamespace);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/validateHookName.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/validateHookName.js
 /**
  * Validate a hookName string.
  *
@@ -177,7 +122,7 @@ function validateHookName(hookName) {

 /* harmony default export */ var build_module_validateHookName = (validateHookName);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createAddHook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createAddHook.js
 /**
  * Internal dependencies
  */
@@ -281,7 +226,7 @@ function createAddHook(hooks, storeKey) {

 /* harmony default export */ var build_module_createAddHook = (createAddHook);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createRemoveHook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createRemoveHook.js
 /**
  * Internal dependencies
  */
@@ -370,7 +315,7 @@ function createRemoveHook(hooks, storeKey) {

 /* harmony default export */ var build_module_createRemoveHook = (createRemoveHook);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createHasHook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createHasHook.js
 /**
  * @callback HasHook
  *
@@ -407,7 +352,7 @@ function createHasHook(hooks, storeKey) {

 /* harmony default export */ var build_module_createHasHook = (createHasHook);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createRunHook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createRunHook.js
 /**
  * Returns a function which, when invoked, will execute all callbacks
  * registered to a hook of the specified type, optionally returning the final
@@ -473,7 +418,7 @@ function createRunHook(hooks, storeKey) {

 /* harmony default export */ var build_module_createRunHook = (createRunHook);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createCurrentHook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createCurrentHook.js
 /**
  * Returns a function which, when invoked, will return the name of the
  * currently running hook, or `null` if no hook of the given type is currently
@@ -495,7 +440,7 @@ function createCurrentHook(hooks, storeKey) {

 /* harmony default export */ var build_module_createCurrentHook = (createCurrentHook);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createDoingHook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createDoingHook.js
 /**
  * @callback DoingHook
  * Returns whether a hook is currently being executed.
@@ -531,7 +476,7 @@ function createDoingHook(hooks, storeKey) {

 /* harmony default export */ var build_module_createDoingHook = (createDoingHook);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createDidHook.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createDidHook.js
 /**
  * Internal dependencies
  */
@@ -570,7 +515,7 @@ function createDidHook(hooks, storeKey) {

 /* harmony default export */ var build_module_createDidHook = (createDidHook);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createHooks.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createHooks.js
 /**
  * Internal dependencies
  */
@@ -589,7 +534,7 @@ function createDidHook(hooks, storeKey) {
  * @private
  */

-class createHooks_Hooks {
+class _Hooks {
   constructor() {
     /** @type {import('.').Store} actions */
     this.actions = Object.create(null);
@@ -626,12 +571,12 @@ class createHooks_Hooks {
  */

 function createHooks() {
-  return new createHooks_Hooks();
+  return new _Hooks();
 }

 /* harmony default export */ var build_module_createHooks = (createHooks);

-// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/index.js
 /**
  * Internal dependencies
  */
@@ -692,7 +637,6 @@ const {
 } = defaultHooks;


-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).hooks = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/hooks.min.js b/wp-includes/js/dist/hooks.min.js
index 071a92eed1..59d19c9930 100644
--- a/wp-includes/js/dist/hooks.min.js
+++ b/wp-includes/js/dist/hooks.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.hooks=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s="gEOj")}({gEOj:function(t,n,r){"use strict";r.r(n),r.d(n,"defaultHooks",(function(){return p})),r.d(n,"createHooks",(function(){return h})),r.d(n,"addAction",(function(){return v})),r.d(n,"addFilter",(function(){return m})),r.d(n,"removeAction",(function(){return A})),r.d(n,"removeFilter",(function(){return _})),r.d(n,"hasAction",(function(){return g})),r.d(n,"hasFilter",(function(){return y})),r.d(n,"removeAllActions",(function(){return b})),r.d(n,"removeAllFilters",(function(){return F})),r.d(n,"doAction",(function(){return k})),r.d(n,"applyFilters",(function(){return x})),r.d(n,"currentAction",(function(){return j})),r.d(n,"currentFilter",(function(){return O})),r.d(n,"doingAction",(function(){return I})),r.d(n,"doingFilter",(function(){return T})),r.d(n,"didAction",(function(){return w})),r.d(n,"didFilter",(function(){return P})),r.d(n,"actions",(function(){return S})),r.d(n,"filters",(function(){return z}));var e=function(t){return"string"!=typeof t||""===t?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(t)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(t){return"string"!=typeof t||""===t?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(t)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(t)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(t,n){return function(r,i,c){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const u=t[n];if(!o(r))return;if(!e(i))return;if("function"!=typeof c)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");const l={callback:c,priority:s,namespace:i};if(u[r]){const t=u[r].handlers;let n;for(n=t.length;n>0&&!(s>=t[n-1].priority);n--);n===t.length?t[n]=l:t.splice(n,0,l),u.__current.forEach(t=>{t.name===r&&t.currentIndex>=n&&t.currentIndex++})}else u[r]={handlers:[l],runs:0};"hookAdded"!==r&&t.doAction("hookAdded",r,i,c,s)}};var c=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,c){const s=t[n];if(!o(i))return;if(!r&&!e(c))return;if(!s[i])return 0;let u=0;if(r)u=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else{const t=s[i].handlers;for(let n=t.length-1;n>=0;n--)t[n].namespace===c&&(t.splice(n,1),u++,s.__current.forEach(t=>{t.name===i&&t.currentIndex>=n&&t.currentIndex--}))}return"hookRemoved"!==i&&t.doAction("hookRemoved",i,c),u}};var s=function(t,n){return function(r,e){const o=t[n];return void 0!==e?r in o&&o[r].handlers.some(t=>t.namespace===e):r in o}};var u=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(e){const o=t[n];o[e]||(o[e]={handlers:[],runs:0}),o[e].runs++;const i=o[e].handlers;for(var c=arguments.length,s=new Array(c>1?c-1:0),u=1;u<c;u++)s[u-1]=arguments[u];if(!i||!i.length)return r?s[0]:void 0;const l={name:e,currentIndex:0};for(o.__current.push(l);l.currentIndex<i.length;){const t=i[l.currentIndex].callback.apply(null,s);r&&(s[0]=t),l.currentIndex++}return o.__current.pop(),r?s[0]:void 0}};var l=function(t,n){return function(){var r,e;const o=t[n];return null!==(r=null===(e=o.__current[o.__current.length-1])||void 0===e?void 0:e.name)&&void 0!==r?r:null}};var d=function(t,n){return function(r){const e=t[n];return void 0===r?void 0!==e.__current[0]:!!e.__current[0]&&r===e.__current[0].name}};var a=function(t,n){return function(r){const e=t[n];if(o(r))return e[r]&&e[r].runs?e[r].runs:0}};class f{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=i(this,"actions"),this.addFilter=i(this,"filters"),this.removeAction=c(this,"actions"),this.removeFilter=c(this,"filters"),this.hasAction=s(this,"actions"),this.hasFilter=s(this,"filters"),this.removeAllActions=c(this,"actions",!0),this.removeAllFilters=c(this,"filters",!0),this.doAction=u(this,"actions"),this.applyFilters=u(this,"filters",!0),this.currentAction=l(this,"actions"),this.currentFilter=l(this,"filters"),this.doingAction=d(this,"actions"),this.doingFilter=d(this,"filters"),this.didAction=a(this,"actions"),this.didFilter=a(this,"filters")}}var h=function(){return new f};const p=h(),{addAction:v,addFilter:m,removeAction:A,removeFilter:_,hasAction:g,hasFilter:y,removeAllActions:b,removeAllFilters:F,doAction:k,applyFilters:x,currentAction:j,currentFilter:O,doingAction:I,doingFilter:T,didAction:w,didFilter:P,actions:S,filters:z}=p}});
\ No newline at end of file
+!function(){"use strict";var n={d:function(t,r){for(var e in r)n.o(r,e)&&!n.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},o:function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r:function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}},t={};n.r(t),n.d(t,{actions:function(){return S},addAction:function(){return v},addFilter:function(){return m},applyFilters:function(){return k},createHooks:function(){return h},currentAction:function(){return w},currentFilter:function(){return I},defaultHooks:function(){return f},didAction:function(){return O},didFilter:function(){return j},doAction:function(){return b},doingAction:function(){return x},doingFilter:function(){return T},filters:function(){return z},hasAction:function(){return _},hasFilter:function(){return g},removeAction:function(){return p},removeAllActions:function(){return y},removeAllFilters:function(){return F},removeFilter:function(){return A}});var r=function(n){return"string"!=typeof n||""===n?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(n)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var e=function(n){return"string"!=typeof n||""===n?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(n)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(n)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var o=function(n,t){return function(o,i,c){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const u=n[t];if(!e(o))return;if(!r(i))return;if("function"!=typeof c)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");const l={callback:c,priority:s,namespace:i};if(u[o]){const n=u[o].handlers;let t;for(t=n.length;t>0&&!(s>=n[t-1].priority);t--);t===n.length?n[t]=l:n.splice(t,0,l),u.__current.forEach((n=>{n.name===o&&n.currentIndex>=t&&n.currentIndex++}))}else u[o]={handlers:[l],runs:0};"hookAdded"!==o&&n.doAction("hookAdded",o,i,c,s)}};var i=function(n,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,c){const s=n[t];if(!e(i))return;if(!o&&!r(c))return;if(!s[i])return 0;let u=0;if(o)u=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else{const n=s[i].handlers;for(let t=n.length-1;t>=0;t--)n[t].namespace===c&&(n.splice(t,1),u++,s.__current.forEach((n=>{n.name===i&&n.currentIndex>=t&&n.currentIndex--})))}return"hookRemoved"!==i&&n.doAction("hookRemoved",i,c),u}};var c=function(n,t){return function(r,e){const o=n[t];return void 0!==e?r in o&&o[r].handlers.some((n=>n.namespace===e)):r in o}};var s=function(n,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(e){const o=n[t];o[e]||(o[e]={handlers:[],runs:0}),o[e].runs++;const i=o[e].handlers;for(var c=arguments.length,s=new Array(c>1?c-1:0),u=1;u<c;u++)s[u-1]=arguments[u];if(!i||!i.length)return r?s[0]:void 0;const l={name:e,currentIndex:0};for(o.__current.push(l);l.currentIndex<i.length;){const n=i[l.currentIndex].callback.apply(null,s);r&&(s[0]=n),l.currentIndex++}return o.__current.pop(),r?s[0]:void 0}};var u=function(n,t){return function(){var r,e;const o=n[t];return null!==(r=null===(e=o.__current[o.__current.length-1])||void 0===e?void 0:e.name)&&void 0!==r?r:null}};var l=function(n,t){return function(r){const e=n[t];return void 0===r?void 0!==e.__current[0]:!!e.__current[0]&&r===e.__current[0].name}};var a=function(n,t){return function(r){const o=n[t];if(e(r))return o[r]&&o[r].runs?o[r].runs:0}};class d{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=o(this,"actions"),this.addFilter=o(this,"filters"),this.removeAction=i(this,"actions"),this.removeFilter=i(this,"filters"),this.hasAction=c(this,"actions"),this.hasFilter=c(this,"filters"),this.removeAllActions=i(this,"actions",!0),this.removeAllFilters=i(this,"filters",!0),this.doAction=s(this,"actions"),this.applyFilters=s(this,"filters",!0),this.currentAction=u(this,"actions"),this.currentFilter=u(this,"filters"),this.doingAction=l(this,"actions"),this.doingFilter=l(this,"filters"),this.didAction=a(this,"actions"),this.didFilter=a(this,"filters")}}var h=function(){return new d};const f=h(),{addAction:v,addFilter:m,removeAction:p,removeFilter:A,hasAction:_,hasFilter:g,removeAllActions:y,removeAllFilters:F,doAction:b,applyFilters:k,currentAction:w,currentFilter:I,doingAction:x,doingFilter:T,didAction:O,didFilter:j,actions:S,filters:z}=f;(window.wp=window.wp||{}).hooks=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/html-entities.js b/wp-includes/js/dist/html-entities.js
index 8a0227cd8d..e759f4625e 100644
--- a/wp-includes/js/dist/html-entities.js
+++ b/wp-includes/js/dist/html-entities.js
@@ -1,98 +1,43 @@
-this["wp"] = this["wp"] || {}; this["wp"]["htmlEntities"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "1FHn");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1FHn":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 __webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "decodeEntities", function() { return decodeEntities; });
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */   "decodeEntities": function() { return /* binding */ decodeEntities; }
+/* harmony export */ });
 /** @type {HTMLTextAreaElement} */
 let _decodeTextArea;
 /**
@@ -152,7 +97,6 @@ function decodeEntities(html) {
   );
 }

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).htmlEntities = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/html-entities.min.js b/wp-includes/js/dist/html-entities.min.js
index 2b69c28924..295c256ef2 100644
--- a/wp-includes/js/dist/html-entities.min.js
+++ b/wp-includes/js/dist/html-entities.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.htmlEntities=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="1FHn")}({"1FHn":function(e,t,n){"use strict";let r;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===r&&(r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),r.innerHTML=e;const t=r.textContent;return r.innerHTML="",t}n.r(t),n.d(t,"decodeEntities",(function(){return o}))}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};let n;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===n&&(n=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),n.innerHTML=e;const t=n.textContent;return n.innerHTML="",t}e.r(t),e.d(t,{decodeEntities:function(){return o}}),(window.wp=window.wp||{}).htmlEntities=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/i18n.js b/wp-includes/js/dist/i18n.js
index c04351b624..cd6f833131 100644
--- a/wp-includes/js/dist/i18n.js
+++ b/wp-includes/js/dist/i18n.js
@@ -1,93 +1,175 @@
-this["wp"] = this["wp"] || {}; this["wp"]["i18n"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "Vhyj");
-/******/ })
-/************************************************************************/
-/******/ ({
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({
+
+/***/ 9756:
+/***/ (function(module) {
+
+/**
+ * Memize options object.
+ *
+ * @typedef MemizeOptions
+ *
+ * @property {number} [maxSize] Maximum size of the cache.
+ */
+
+/**
+ * Internal cache entry.
+ *
+ * @typedef MemizeCacheNode
+ *
+ * @property {?MemizeCacheNode|undefined} [prev] Previous node.
+ * @property {?MemizeCacheNode|undefined} [next] Next node.
+ * @property {Array<*>}                   args   Function arguments for cache
+ *                                               entry.
+ * @property {*}                          val    Function result.
+ */
+
+/**
+ * Properties of the enhanced function for controlling cache.
+ *
+ * @typedef MemizeMemoizedFunction
+ *
+ * @property {()=>void} clear Clear the cache.
+ */
+
+/**
+ * Accepts a function to be memoized, and returns a new memoized function, with
+ * optional options.
+ *
+ * @template {Function} F
+ *
+ * @param {F}             fn        Function to memoize.
+ * @param {MemizeOptions} [options] Options object.
+ *
+ * @return {F & MemizeMemoizedFunction} Memoized function.
+ */
+function memize( fn, options ) {
+	var size = 0;
+
+	/** @type {?MemizeCacheNode|undefined} */
+	var head;
+
+	/** @type {?MemizeCacheNode|undefined} */
+	var tail;
+
+	options = options || {};
+
+	function memoized( /* ...args */ ) {
+		var node = head,
+			len = arguments.length,
+			args, i;
+
+		searchCache: while ( node ) {
+			// Perform a shallow equality test to confirm that whether the node
+			// under test is a candidate for the arguments passed. Two arrays
+			// are shallowly equal if their length matches and each entry is
+			// strictly equal between the two sets. Avoid abstracting to a
+			// function which could incur an arguments leaking deoptimization.
+
+			// Check whether node arguments match arguments length
+			if ( node.args.length !== arguments.length ) {
+				node = node.next;
+				continue;
+			}
+
+			// Check whether node arguments match arguments values
+			for ( i = 0; i < len; i++ ) {
+				if ( node.args[ i ] !== arguments[ i ] ) {
+					node = node.next;
+					continue searchCache;
+				}
+			}
+
+			// At this point we can assume we've found a match
+
+			// Surface matched node to head if not already
+			if ( node !== head ) {
+				// As tail, shift to previous. Must only shift if not also
+				// head, since if both head and tail, there is no previous.
+				if ( node === tail ) {
+					tail = node.prev;
+				}
+
+				// Adjust siblings to point to each other. If node was tail,
+				// this also handles new tail's empty `next` assignment.
+				/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}
+
+				node.next = head;
+				node.prev = null;
+				/** @type {MemizeCacheNode} */ ( head ).prev = node;
+				head = node;
+			}
+
+			// Return immediately
+			return node.val;
+		}

-/***/ "4Z/T":
+		// No cached value found. Continue to insertion phase:
+
+		// Create a copy of arguments (avoid leaking deoptimization)
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}
+
+		node = {
+			args: args,
+
+			// Generate the result from original function
+			val: fn.apply( null, args ),
+		};
+
+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was
+
+		// Shift existing head down list
+		if ( head ) {
+			head.prev = node;
+			node.next = head;
+		} else {
+			// If no head, follows that there's no tail (at initial or reset)
+			tail = node;
+		}
+
+		// Trim tail if we're reached max size and are pending cache insertion
+		if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
+			tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
+			/** @type {MemizeCacheNode} */ ( tail ).next = null;
+		} else {
+			size++;
+		}
+
+		head = node;
+
+		return node.val;
+	}
+
+	memoized.clear = function() {
+		head = null;
+		tail = null;
+		size = 0;
+	};
+
+	if ( false ) {}
+
+	// Ignore reason: There's not a clear solution to create an intersection of
+	// the function with additional properties, where the goal is to retain the
+	// function signature of the incoming argument and add control properties
+	// on the return value.
+
+	// @ts-ignore
+	return memoized;
+}
+
+module.exports = memize;
+
+
+/***/ }),
+
+/***/ 124:
 /***/ (function(module, exports, __webpack_require__) {

 var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
@@ -303,8 +385,8 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
      */
     /* eslint-disable quote-props */
     if (true) {
-        exports['sprintf'] = sprintf
-        exports['vsprintf'] = vsprintf
+        exports.sprintf = sprintf
+        exports.vsprintf = vsprintf
     }
     if (typeof window !== 'undefined') {
         window['sprintf'] = sprintf
@@ -317,214 +399,114 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/* global window, exports, define */
                     'vsprintf': vsprintf
                 }
             }).call(exports, __webpack_require__, exports, module),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))
         }
     }
     /* eslint-enable quote-props */
 }(); // eslint-disable-line


-/***/ }),
-
-/***/ "4eJC":
-/***/ (function(module, exports, __webpack_require__) {
-
-/**
- * Memize options object.
- *
- * @typedef MemizeOptions
- *
- * @property {number} [maxSize] Maximum size of the cache.
- */
-
-/**
- * Internal cache entry.
- *
- * @typedef MemizeCacheNode
- *
- * @property {?MemizeCacheNode|undefined} [prev] Previous node.
- * @property {?MemizeCacheNode|undefined} [next] Next node.
- * @property {Array<*>}                   args   Function arguments for cache
- *                                               entry.
- * @property {*}                          val    Function result.
- */
-
-/**
- * Properties of the enhanced function for controlling cache.
- *
- * @typedef MemizeMemoizedFunction
- *
- * @property {()=>void} clear Clear the cache.
- */
-
-/**
- * Accepts a function to be memoized, and returns a new memoized function, with
- * optional options.
- *
- * @template {Function} F
- *
- * @param {F}             fn        Function to memoize.
- * @param {MemizeOptions} [options] Options object.
- *
- * @return {F & MemizeMemoizedFunction} Memoized function.
- */
-function memize( fn, options ) {
-	var size = 0;
-
-	/** @type {?MemizeCacheNode|undefined} */
-	var head;
-
-	/** @type {?MemizeCacheNode|undefined} */
-	var tail;
-
-	options = options || {};
-
-	function memoized( /* ...args */ ) {
-		var node = head,
-			len = arguments.length,
-			args, i;
-
-		searchCache: while ( node ) {
-			// Perform a shallow equality test to confirm that whether the node
-			// under test is a candidate for the arguments passed. Two arrays
-			// are shallowly equal if their length matches and each entry is
-			// strictly equal between the two sets. Avoid abstracting to a
-			// function which could incur an arguments leaking deoptimization.
-
-			// Check whether node arguments match arguments length
-			if ( node.args.length !== arguments.length ) {
-				node = node.next;
-				continue;
-			}
-
-			// Check whether node arguments match arguments values
-			for ( i = 0; i < len; i++ ) {
-				if ( node.args[ i ] !== arguments[ i ] ) {
-					node = node.next;
-					continue searchCache;
-				}
-			}
-
-			// At this point we can assume we've found a match
-
-			// Surface matched node to head if not already
-			if ( node !== head ) {
-				// As tail, shift to previous. Must only shift if not also
-				// head, since if both head and tail, there is no previous.
-				if ( node === tail ) {
-					tail = node.prev;
-				}
-
-				// Adjust siblings to point to each other. If node was tail,
-				// this also handles new tail's empty `next` assignment.
-				/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}
-
-				node.next = head;
-				node.prev = null;
-				/** @type {MemizeCacheNode} */ ( head ).prev = node;
-				head = node;
-			}
-
-			// Return immediately
-			return node.val;
-		}
-
-		// No cached value found. Continue to insertion phase:
-
-		// Create a copy of arguments (avoid leaking deoptimization)
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}
-
-		node = {
-			args: args,
-
-			// Generate the result from original function
-			val: fn.apply( null, args ),
-		};
-
-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
-
-		// Shift existing head down list
-		if ( head ) {
-			head.prev = node;
-			node.next = head;
-		} else {
-			// If no head, follows that there's no tail (at initial or reset)
-			tail = node;
-		}
-
-		// Trim tail if we're reached max size and are pending cache insertion
-		if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
-			tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
-			/** @type {MemizeCacheNode} */ ( tail ).next = null;
-		} else {
-			size++;
-		}
-
-		head = node;
-
-		return node.val;
-	}
-
-	memoized.clear = function() {
-		head = null;
-		tail = null;
-		size = 0;
-	};
-
-	if ( false ) {}
-
-	// Ignore reason: There's not a clear solution to create an intersection of
-	// the function with additional properties, where the goal is to retain the
-	// function signature of the incoming argument and add control properties
-	// on the return value.
-
-	// @ts-ignore
-	return memoized;
-}
-
-module.exports = memize;
-
-
-/***/ }),
-
-/***/ "Vhyj":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ })

+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
 "use strict";
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "sprintf", function() { return /* reexport */ sprintf_sprintf; });
-__webpack_require__.d(__webpack_exports__, "createI18n", function() { return /* reexport */ createI18n; });
-__webpack_require__.d(__webpack_exports__, "defaultI18n", function() { return /* reexport */ default_i18n; });
-__webpack_require__.d(__webpack_exports__, "setLocaleData", function() { return /* reexport */ default_i18n_setLocaleData; });
-__webpack_require__.d(__webpack_exports__, "resetLocaleData", function() { return /* reexport */ default_i18n_resetLocaleData; });
-__webpack_require__.d(__webpack_exports__, "getLocaleData", function() { return /* reexport */ default_i18n_getLocaleData; });
-__webpack_require__.d(__webpack_exports__, "subscribe", function() { return /* reexport */ default_i18n_subscribe; });
-__webpack_require__.d(__webpack_exports__, "__", function() { return /* reexport */ default_i18n_; });
-__webpack_require__.d(__webpack_exports__, "_x", function() { return /* reexport */ default_i18n_x; });
-__webpack_require__.d(__webpack_exports__, "_n", function() { return /* reexport */ default_i18n_n; });
-__webpack_require__.d(__webpack_exports__, "_nx", function() { return /* reexport */ default_i18n_nx; });
-__webpack_require__.d(__webpack_exports__, "isRTL", function() { return /* reexport */ default_i18n_isRTL; });
-__webpack_require__.d(__webpack_exports__, "hasTranslation", function() { return /* reexport */ default_i18n_hasTranslation; });
+__webpack_require__.d(__webpack_exports__, {
+  "__": function() { return /* reexport */ __; },
+  "_n": function() { return /* reexport */ _n; },
+  "_nx": function() { return /* reexport */ _nx; },
+  "_x": function() { return /* reexport */ _x; },
+  "createI18n": function() { return /* reexport */ createI18n; },
+  "defaultI18n": function() { return /* reexport */ default_i18n; },
+  "getLocaleData": function() { return /* reexport */ getLocaleData; },
+  "hasTranslation": function() { return /* reexport */ hasTranslation; },
+  "isRTL": function() { return /* reexport */ isRTL; },
+  "resetLocaleData": function() { return /* reexport */ resetLocaleData; },
+  "setLocaleData": function() { return /* reexport */ setLocaleData; },
+  "sprintf": function() { return /* reexport */ sprintf_sprintf; },
+  "subscribe": function() { return /* reexport */ subscribe; }
+});

 // EXTERNAL MODULE: ./node_modules/memize/index.js
-var memize = __webpack_require__("4eJC");
+var memize = __webpack_require__(9756);
 var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
-
 // EXTERNAL MODULE: ./node_modules/sprintf-js/src/sprintf.js
-var sprintf = __webpack_require__("4Z/T");
+var sprintf = __webpack_require__(124);
 var sprintf_default = /*#__PURE__*/__webpack_require__.n(sprintf);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/sprintf.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/sprintf.js
 /**
  * External dependencies
  */
@@ -558,7 +540,7 @@ function sprintf_sprintf(format) {
       args[_key - 1] = arguments[_key];
     }

-    return sprintf_default.a.sprintf(format, ...args);
+    return sprintf_default().sprintf(format, ...args);
   } catch (error) {
     if (error instanceof Error) {
       logErrorOnce('sprintf error: \n\n' + error.toString());
@@ -568,7 +550,7 @@ function sprintf_sprintf(format) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@tannin/postfix/index.js
+;// CONCATENATED MODULE: ./node_modules/@tannin/postfix/index.js
 var PRECEDENCE, OPENERS, TERMINATORS, PATTERN;

 /**
@@ -694,7 +676,7 @@ function postfix( expression ) {
 	return terms.concat( stack.reverse() );
 }

-// CONCATENATED MODULE: ./node_modules/@tannin/evaluate/index.js
+;// CONCATENATED MODULE: ./node_modules/@tannin/evaluate/index.js
 /**
  * Operator callback functions.
  *
@@ -773,7 +755,7 @@ var OPERATORS = {
  *
  * @return {*} Result of evaluation.
  */
-function evaluate_evaluate( postfix, variables ) {
+function evaluate( postfix, variables ) {
 	var stack = [],
 		i, j, args, getOperatorResult, term, value;

@@ -806,7 +788,7 @@ function evaluate_evaluate( postfix, variables ) {
 	return stack[ 0 ];
 }

-// CONCATENATED MODULE: ./node_modules/@tannin/compile/index.js
+;// CONCATENATED MODULE: ./node_modules/@tannin/compile/index.js



@@ -833,11 +815,11 @@ function compile( expression ) {
 	var terms = postfix( expression );

 	return function( variables ) {
-		return evaluate_evaluate( terms, variables );
+		return evaluate( terms, variables );
 	};
 }

-// CONCATENATED MODULE: ./node_modules/@tannin/plural-forms/index.js
+;// CONCATENATED MODULE: ./node_modules/@tannin/plural-forms/index.js


 /**
@@ -857,7 +839,7 @@ function pluralForms( expression ) {
 	};
 }

-// CONCATENATED MODULE: ./node_modules/tannin/index.js
+;// CONCATENATED MODULE: ./node_modules/tannin/index.js


 /**
@@ -1072,7 +1054,7 @@ Tannin.prototype.dcnpgettext = function( domain, context, singular, plural, n )
 	return index === 0 ? singular : plural;
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/create-i18n.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/create-i18n.js
 /**
  * External dependencies
  */
@@ -1529,10 +1511,9 @@ const createI18n = (initialData, initialDomain, hooks) => {
   };
 };

-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/default-i18n.js
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/default-i18n.js
 /**
  * Internal dependencies
  */
@@ -1542,7 +1523,7 @@ var external_wp_hooks_ = __webpack_require__("g56x");
  */


-const i18n = createI18n(undefined, undefined, external_wp_hooks_["defaultHooks"]);
+const i18n = createI18n(undefined, undefined, external_wp_hooks_namespaceObject.defaultHooks);
 /**
  * Default, singleton instance of `I18n`.
  */
@@ -1568,7 +1549,7 @@ const i18n = createI18n(undefined, undefined, external_wp_hooks_["defaultHooks"]
  * @return {LocaleData} Locale data.
  */

-const default_i18n_getLocaleData = i18n.getLocaleData.bind(i18n);
+const getLocaleData = i18n.getLocaleData.bind(i18n);
 /**
  * Merges locale data into the Tannin instance by domain. Accepts data in a
  * Jed-formatted JSON object shape.
@@ -1579,7 +1560,7 @@ const default_i18n_getLocaleData = i18n.getLocaleData.bind(i18n);
  * @param {string}     [domain] Domain for which configuration applies.
  */

-const default_i18n_setLocaleData = i18n.setLocaleData.bind(i18n);
+const setLocaleData = i18n.setLocaleData.bind(i18n);
 /**
  * Resets all current Tannin instance locale data and sets the specified
  * locale data for the domain. Accepts data in a Jed-formatted JSON object shape.
@@ -1590,7 +1571,7 @@ const default_i18n_setLocaleData = i18n.setLocaleData.bind(i18n);
  * @param {string}     [domain] Domain for which configuration applies.
  */

-const default_i18n_resetLocaleData = i18n.resetLocaleData.bind(i18n);
+const resetLocaleData = i18n.resetLocaleData.bind(i18n);
 /**
  * Subscribes to changes of locale data
  *
@@ -1598,7 +1579,7 @@ const default_i18n_resetLocaleData = i18n.resetLocaleData.bind(i18n);
  * @return {UnsubscribeCallback} Unsubscribe callback
  */

-const default_i18n_subscribe = i18n.subscribe.bind(i18n);
+const subscribe = i18n.subscribe.bind(i18n);
 /**
  * Retrieve the translation of text.
  *
@@ -1610,7 +1591,7 @@ const default_i18n_subscribe = i18n.subscribe.bind(i18n);
  * @return {string} Translated text.
  */

-const default_i18n_ = i18n.__.bind(i18n);
+const __ = i18n.__.bind(i18n);
 /**
  * Retrieve translated string with gettext context.
  *
@@ -1623,7 +1604,7 @@ const default_i18n_ = i18n.__.bind(i18n);
  * @return {string} Translated context string without pipe.
  */

-const default_i18n_x = i18n._x.bind(i18n);
+const _x = i18n._x.bind(i18n);
 /**
  * Translates and retrieves the singular or plural form based on the supplied
  * number.
@@ -1639,7 +1620,7 @@ const default_i18n_x = i18n._x.bind(i18n);
  * @return {string} The translated singular or plural form.
  */

-const default_i18n_n = i18n._n.bind(i18n);
+const _n = i18n._n.bind(i18n);
 /**
  * Translates and retrieves the singular or plural form based on the supplied
  * number, with gettext context.
@@ -1656,7 +1637,7 @@ const default_i18n_n = i18n._n.bind(i18n);
  * @return {string} The translated singular or plural form.
  */

-const default_i18n_nx = i18n._nx.bind(i18n);
+const _nx = i18n._nx.bind(i18n);
 /**
  * Check if current locale is RTL.
  *
@@ -1668,7 +1649,7 @@ const default_i18n_nx = i18n._nx.bind(i18n);
  * @return {boolean} Whether locale is RTL.
  */

-const default_i18n_isRTL = i18n.isRTL.bind(i18n);
+const isRTL = i18n.isRTL.bind(i18n);
 /**
  * Check if there is a translation for a given string (in singular form).
  *
@@ -1678,21 +1659,14 @@ const default_i18n_isRTL = i18n.isRTL.bind(i18n);
  * @return {boolean} Whether the translation exists or not.
  */

-const default_i18n_hasTranslation = i18n.hasTranslation.bind(i18n);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/index.js
-
+const hasTranslation = i18n.hasTranslation.bind(i18n);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/i18n/build-module/index.js



-/***/ }),
-
-/***/ "g56x":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["hooks"]; }());
-
-/***/ })

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).i18n = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/i18n.min.js b/wp-includes/js/dist/i18n.min.js
index 4cf74909a1..6571c25396 100644
--- a/wp-includes/js/dist/i18n.min.js
+++ b/wp-includes/js/dist/i18n.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.i18n=function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s="Vhyj")}({"4Z/T":function(t,n,e){var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(t){return s(l(t),arguments)}function a(t,n){return o.apply(null,[t].concat(n||[]))}function s(t,n){var e,r,a,s,u,l,c,p,f,d=1,h=t.length,g="";for(r=0;r<h;r++)if("string"==typeof t[r])g+=t[r];else if("object"==typeof t[r]){if((s=t[r]).keys)for(e=n[d],a=0;a<s.keys.length;a++){if(null==e)throw new Error(o('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[a],s.keys[a-1]));e=e[s.keys[a]]}else e=s.param_no?n[s.param_no]:n[d++];if(i.not_type.test(s.type)&&i.not_primitive.test(s.type)&&e instanceof Function&&(e=e()),i.numeric_arg.test(s.type)&&"number"!=typeof e&&isNaN(e))throw new TypeError(o("[sprintf] expecting number but found %T",e));switch(i.number.test(s.type)&&(p=e>=0),s.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,s.width?parseInt(s.width):0);break;case"e":e=s.precision?parseFloat(e).toExponential(s.precision):parseFloat(e).toExponential();break;case"f":e=s.precision?parseFloat(e).toFixed(s.precision):parseFloat(e);break;case"g":e=s.precision?String(Number(e.toPrecision(s.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=s.precision?e.substring(0,s.precision):e;break;case"t":e=String(!!e),e=s.precision?e.substring(0,s.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=s.precision?e.substring(0,s.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=s.precision?e.substring(0,s.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase()}i.json.test(s.type)?g+=e:(!i.number.test(s.type)||p&&!s.sign?f="":(f=p?"+":"-",e=e.toString().replace(i.sign,"")),l=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",c=s.width-(f+e).length,u=s.width&&c>0?l.repeat(c):"",g+=s.align?f+e+u:"0"===l?f+u+e:u+f+e)}return g}var u=Object.create(null);function l(t){if(u[t])return u[t];for(var n,e=t,r=[],o=0;e;){if(null!==(n=i.text.exec(e)))r.push(n[0]);else if(null!==(n=i.modulo.exec(e)))r.push("%");else{if(null===(n=i.placeholder.exec(e)))throw new SyntaxError("[sprintf] unexpected placeholder");if(n[2]){o|=1;var a=[],s=n[2],l=[];if(null===(l=i.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(l[1]);""!==(s=s.substring(l[0].length));)if(null!==(l=i.key_access.exec(s)))a.push(l[1]);else{if(null===(l=i.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(l[1])}n[2]=a}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:n[0],param_no:n[1],keys:n[2],sign:n[3],pad_char:n[4],align:n[5],width:n[6],precision:n[7],type:n[8]})}e=e.substring(n[0].length)}return u[t]=r}n.sprintf=o,n.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=a,void 0===(r=function(){return{sprintf:o,vsprintf:a}}.call(n,e,n,t))||(t.exports=r))}()},"4eJC":function(t,n,e){t.exports=function(t,n){var e,r,i=0;function o(){var o,a,s=e,u=arguments.length;t:for(;s;){if(s.args.length===arguments.length){for(a=0;a<u;a++)if(s.args[a]!==arguments[a]){s=s.next;continue t}return s!==e&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=e,s.prev=null,e.prev=s,e=s),s.val}s=s.next}for(o=new Array(u),a=0;a<u;a++)o[a]=arguments[a];return s={args:o,val:t.apply(null,o)},e?(e.prev=s,s.next=e):r=s,i===n.maxSize?(r=r.prev).next=null:i++,e=s,s.val}return n=n||{},o.clear=function(){e=null,r=null,i=0},o}},Vhyj:function(t,n,e){"use strict";e.r(n),e.d(n,"sprintf",(function(){return u})),e.d(n,"createI18n",(function(){return b})),e.d(n,"defaultI18n",(function(){return w})),e.d(n,"setLocaleData",(function(){return F})),e.d(n,"resetLocaleData",(function(){return S})),e.d(n,"getLocaleData",(function(){return k})),e.d(n,"subscribe",(function(){return j})),e.d(n,"__",(function(){return T})),e.d(n,"_x",(function(){return O})),e.d(n,"_n",(function(){return L})),e.d(n,"_nx",(function(){return D})),e.d(n,"isRTL",(function(){return P})),e.d(n,"hasTranslation",(function(){return E}));var r=e("4eJC"),i=e.n(r),o=e("4Z/T"),a=e.n(o);const s=i()(console.error);function u(t){try{for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return a.a.sprintf(t,...e)}catch(n){return n instanceof Error&&s("sprintf error: \n\n"+n.toString()),t}}var l,c,p,f;l={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},c=["(","?"],p={")":["("],":":["?","?:"]},f=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var d={"!":function(t){return!t},"*":function(t,n){return t*n},"/":function(t,n){return t/n},"%":function(t,n){return t%n},"+":function(t,n){return t+n},"-":function(t,n){return t-n},"<":function(t,n){return t<n},"<=":function(t,n){return t<=n},">":function(t,n){return t>n},">=":function(t,n){return t>=n},"==":function(t,n){return t===n},"!=":function(t,n){return t!==n},"&&":function(t,n){return t&&n},"||":function(t,n){return t||n},"?:":function(t,n,e){if(t)throw n;return e}};function h(t){var n=function(t){for(var n,e,r,i,o=[],a=[];n=t.match(f);){for(e=n[0],(r=t.substr(0,n.index).trim())&&o.push(r);i=a.pop();){if(p[e]){if(p[e][0]===i){e=p[e][1]||e;break}}else if(c.indexOf(i)>=0||l[i]<l[e]){a.push(i);break}o.push(i)}p[e]||a.push(e),t=t.substr(n.index+e.length)}return(t=t.trim())&&o.push(t),o.concat(a.reverse())}(t);return function(t){return function(t,n){var e,r,i,o,a,s,u=[];for(e=0;e<t.length;e++){if(a=t[e],o=d[a]){for(r=o.length,i=Array(r);r--;)i[r]=u.pop();try{s=o.apply(null,i)}catch(t){return t}}else s=n.hasOwnProperty(a)?n[a]:+a;u.push(s)}return u[0]}(n,t)}}var g={contextDelimiter:"",onMissingKey:null};function x(t,n){var e;for(e in this.data=t,this.pluralForms={},this.options={},g)this.options[e]=void 0!==n&&e in n?n[e]:g[e]}x.prototype.getPluralForm=function(t,n){var e,r,i,o,a=this.pluralForms[t];return a||("function"!=typeof(i=(e=this.data[t][""])["Plural-Forms"]||e["plural-forms"]||e.plural_forms)&&(r=function(t){var n,e,r;for(n=t.split(";"),e=0;e<n.length;e++)if(0===(r=n[e].trim()).indexOf("plural="))return r.substr(7)}(e["Plural-Forms"]||e["plural-forms"]||e.plural_forms),o=h(r),i=function(t){return+o({n:t})}),a=this.pluralForms[t]=i),a(n)},x.prototype.dcnpgettext=function(t,n,e,r,i){var o,a,s;return o=void 0===i?0:this.getPluralForm(t,i),a=e,n&&(a=n+this.options.contextDelimiter+e),(s=this.data[t][a])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(e,t),0===o?e:r)};const y={"":{plural_forms:t=>1===t?0:1}},v=/^i18n\.(n?gettext|has_translation)(_|$)/,b=(t,n,e)=>{const r=new x({}),i=new Set,o=()=>{i.forEach(t=>t())},a=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[n]={...y,...r.data[n],...t},r.data[n][""]={...y[""],...r.data[n][""]}},s=(t,n)=>{a(t,n),o()},u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",n=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return r.data[t]||a(void 0,t),r.dcnpgettext(t,n,e,i,o)},l=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return t},c=(t,n,r)=>{let i=u(r,n,t);return e?(i=e.applyFilters("i18n.gettext_with_context",i,t,n,r),e.applyFilters("i18n.gettext_with_context_"+l(r),i,t,n,r)):i};if(t&&s(t,n),e){const t=t=>{v.test(t)&&o()};e.addAction("hookAdded","core/i18n",t),e.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[t]},setLocaleData:s,resetLocaleData:(t,n)=>{r.data={},r.pluralForms={},s(t,n)},subscribe:t=>(i.add(t),()=>i.delete(t)),__:(t,n)=>{let r=u(n,void 0,t);return e?(r=e.applyFilters("i18n.gettext",r,t,n),e.applyFilters("i18n.gettext_"+l(n),r,t,n)):r},_x:c,_n:(t,n,r,i)=>{let o=u(i,void 0,t,n,r);return e?(o=e.applyFilters("i18n.ngettext",o,t,n,r,i),e.applyFilters("i18n.ngettext_"+l(i),o,t,n,r,i)):o},_nx:(t,n,r,i,o)=>{let a=u(o,i,t,n,r);return e?(a=e.applyFilters("i18n.ngettext_with_context",a,t,n,r,i,o),e.applyFilters("i18n.ngettext_with_context_"+l(o),a,t,n,r,i,o)):a},isRTL:()=>"rtl"===c("ltr","text direction"),hasTranslation:(t,n,i)=>{var o,a;const s=n?n+""+t:t;let u=!(null===(o=r.data)||void 0===o||null===(a=o[null!=i?i:"default"])||void 0===a||!a[s]);return e&&(u=e.applyFilters("i18n.has_translation",u,t,n,i),u=e.applyFilters("i18n.has_translation_"+l(i),u,t,n,i)),u}}};var _=e("g56x");const m=b(void 0,void 0,_.defaultHooks);var w=m;const k=m.getLocaleData.bind(m),F=m.setLocaleData.bind(m),S=m.resetLocaleData.bind(m),j=m.subscribe.bind(m),T=m.__.bind(m),O=m._x.bind(m),L=m._n.bind(m),D=m._nx.bind(m),P=m.isRTL.bind(m),E=m.hasTranslation.bind(m)},g56x:function(t,n){t.exports=window.wp.hooks}});
\ No newline at end of file
+!function(){var t={9756:function(t){t.exports=function(t,n){var e,r,i=0;function o(){var o,a,s=e,u=arguments.length;t:for(;s;){if(s.args.length===arguments.length){for(a=0;a<u;a++)if(s.args[a]!==arguments[a]){s=s.next;continue t}return s!==e&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=e,s.prev=null,e.prev=s,e=s),s.val}s=s.next}for(o=new Array(u),a=0;a<u;a++)o[a]=arguments[a];return s={args:o,val:t.apply(null,o)},e?(e.prev=s,s.next=e):r=s,i===n.maxSize?(r=r.prev).next=null:i++,e=s,s.val}return n=n||{},o.clear=function(){e=null,r=null,i=0},o}},124:function(t,n,e){var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(t){return s(l(t),arguments)}function a(t,n){return o.apply(null,[t].concat(n||[]))}function s(t,n){var e,r,a,s,u,l,c,p,f,d=1,h=t.length,g="";for(r=0;r<h;r++)if("string"==typeof t[r])g+=t[r];else if("object"==typeof t[r]){if((s=t[r]).keys)for(e=n[d],a=0;a<s.keys.length;a++){if(null==e)throw new Error(o('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[a],s.keys[a-1]));e=e[s.keys[a]]}else e=s.param_no?n[s.param_no]:n[d++];if(i.not_type.test(s.type)&&i.not_primitive.test(s.type)&&e instanceof Function&&(e=e()),i.numeric_arg.test(s.type)&&"number"!=typeof e&&isNaN(e))throw new TypeError(o("[sprintf] expecting number but found %T",e));switch(i.number.test(s.type)&&(p=e>=0),s.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,s.width?parseInt(s.width):0);break;case"e":e=s.precision?parseFloat(e).toExponential(s.precision):parseFloat(e).toExponential();break;case"f":e=s.precision?parseFloat(e).toFixed(s.precision):parseFloat(e);break;case"g":e=s.precision?String(Number(e.toPrecision(s.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=s.precision?e.substring(0,s.precision):e;break;case"t":e=String(!!e),e=s.precision?e.substring(0,s.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=s.precision?e.substring(0,s.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=s.precision?e.substring(0,s.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase()}i.json.test(s.type)?g+=e:(!i.number.test(s.type)||p&&!s.sign?f="":(f=p?"+":"-",e=e.toString().replace(i.sign,"")),l=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",c=s.width-(f+e).length,u=s.width&&c>0?l.repeat(c):"",g+=s.align?f+e+u:"0"===l?f+u+e:u+f+e)}return g}var u=Object.create(null);function l(t){if(u[t])return u[t];for(var n,e=t,r=[],o=0;e;){if(null!==(n=i.text.exec(e)))r.push(n[0]);else if(null!==(n=i.modulo.exec(e)))r.push("%");else{if(null===(n=i.placeholder.exec(e)))throw new SyntaxError("[sprintf] unexpected placeholder");if(n[2]){o|=1;var a=[],s=n[2],l=[];if(null===(l=i.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(l[1]);""!==(s=s.substring(l[0].length));)if(null!==(l=i.key_access.exec(s)))a.push(l[1]);else{if(null===(l=i.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(l[1])}n[2]=a}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:n[0],param_no:n[1],keys:n[2],sign:n[3],pad_char:n[4],align:n[5],width:n[6],precision:n[7],type:n[8]})}e=e.substring(n[0].length)}return u[t]=r}n.sprintf=o,n.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=a,void 0===(r=function(){return{sprintf:o,vsprintf:a}}.call(n,e,n,t))||(t.exports=r))}()}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return t[r](o,o.exports,e),o.exports}e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};!function(){"use strict";e.r(r),e.d(r,{__:function(){return j},_n:function(){return T},_nx:function(){return O},_x:function(){return L},createI18n:function(){return y},defaultI18n:function(){return m},getLocaleData:function(){return w},hasTranslation:function(){return E},isRTL:function(){return D},resetLocaleData:function(){return F},setLocaleData:function(){return k},sprintf:function(){return s},subscribe:function(){return S}});var t=e(9756),n=e.n(t),i=e(124),o=e.n(i);const a=n()(console.error);function s(t){try{for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return o().sprintf(t,...e)}catch(n){return n instanceof Error&&a("sprintf error: \n\n"+n.toString()),t}}var u,l,c,p;u={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},l=["(","?"],c={")":["("],":":["?","?:"]},p=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var f={"!":function(t){return!t},"*":function(t,n){return t*n},"/":function(t,n){return t/n},"%":function(t,n){return t%n},"+":function(t,n){return t+n},"-":function(t,n){return t-n},"<":function(t,n){return t<n},"<=":function(t,n){return t<=n},">":function(t,n){return t>n},">=":function(t,n){return t>=n},"==":function(t,n){return t===n},"!=":function(t,n){return t!==n},"&&":function(t,n){return t&&n},"||":function(t,n){return t||n},"?:":function(t,n,e){if(t)throw n;return e}};function d(t){var n=function(t){for(var n,e,r,i,o=[],a=[];n=t.match(p);){for(e=n[0],(r=t.substr(0,n.index).trim())&&o.push(r);i=a.pop();){if(c[e]){if(c[e][0]===i){e=c[e][1]||e;break}}else if(l.indexOf(i)>=0||u[i]<u[e]){a.push(i);break}o.push(i)}c[e]||a.push(e),t=t.substr(n.index+e.length)}return(t=t.trim())&&o.push(t),o.concat(a.reverse())}(t);return function(t){return function(t,n){var e,r,i,o,a,s,u=[];for(e=0;e<t.length;e++){if(a=t[e],o=f[a]){for(r=o.length,i=Array(r);r--;)i[r]=u.pop();try{s=o.apply(null,i)}catch(t){return t}}else s=n.hasOwnProperty(a)?n[a]:+a;u.push(s)}return u[0]}(n,t)}}var h={contextDelimiter:"",onMissingKey:null};function g(t,n){var e;for(e in this.data=t,this.pluralForms={},this.options={},h)this.options[e]=void 0!==n&&e in n?n[e]:h[e]}g.prototype.getPluralForm=function(t,n){var e,r,i,o=this.pluralForms[t];return o||("function"!=typeof(i=(e=this.data[t][""])["Plural-Forms"]||e["plural-forms"]||e.plural_forms)&&(r=function(t){var n,e,r;for(n=t.split(";"),e=0;e<n.length;e++)if(0===(r=n[e].trim()).indexOf("plural="))return r.substr(7)}(e["Plural-Forms"]||e["plural-forms"]||e.plural_forms),i=function(t){var n=d(t);return function(t){return+n({n:t})}}(r)),o=this.pluralForms[t]=i),o(n)},g.prototype.dcnpgettext=function(t,n,e,r,i){var o,a,s;return o=void 0===i?0:this.getPluralForm(t,i),a=e,n&&(a=n+this.options.contextDelimiter+e),(s=this.data[t][a])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(e,t),0===o?e:r)};const v={"":{plural_forms:t=>1===t?0:1}},x=/^i18n\.(n?gettext|has_translation)(_|$)/,y=(t,n,e)=>{const r=new g({}),i=new Set,o=()=>{i.forEach((t=>t()))},a=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[n]={...v,...r.data[n],...t},r.data[n][""]={...v[""],...r.data[n][""]}},s=(t,n)=>{a(t,n),o()},u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",n=arguments.length>1?arguments[1]:void 0,e=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return r.data[t]||a(void 0,t),r.dcnpgettext(t,n,e,i,o)},l=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return t},c=(t,n,r)=>{let i=u(r,n,t);return e?(i=e.applyFilters("i18n.gettext_with_context",i,t,n,r),e.applyFilters("i18n.gettext_with_context_"+l(r),i,t,n,r)):i};if(t&&s(t,n),e){const t=t=>{x.test(t)&&o()};e.addAction("hookAdded","core/i18n",t),e.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[t]},setLocaleData:s,resetLocaleData:(t,n)=>{r.data={},r.pluralForms={},s(t,n)},subscribe:t=>(i.add(t),()=>i.delete(t)),__:(t,n)=>{let r=u(n,void 0,t);return e?(r=e.applyFilters("i18n.gettext",r,t,n),e.applyFilters("i18n.gettext_"+l(n),r,t,n)):r},_x:c,_n:(t,n,r,i)=>{let o=u(i,void 0,t,n,r);return e?(o=e.applyFilters("i18n.ngettext",o,t,n,r,i),e.applyFilters("i18n.ngettext_"+l(i),o,t,n,r,i)):o},_nx:(t,n,r,i,o)=>{let a=u(o,i,t,n,r);return e?(a=e.applyFilters("i18n.ngettext_with_context",a,t,n,r,i,o),e.applyFilters("i18n.ngettext_with_context_"+l(o),a,t,n,r,i,o)):a},isRTL:()=>"rtl"===c("ltr","text direction"),hasTranslation:(t,n,i)=>{var o,a;const s=n?n+""+t:t;let u=!(null===(o=r.data)||void 0===o||null===(a=o[null!=i?i:"default"])||void 0===a||!a[s]);return e&&(u=e.applyFilters("i18n.has_translation",u,t,n,i),u=e.applyFilters("i18n.has_translation_"+l(i),u,t,n,i)),u}}};var b=window.wp.hooks;const _=y(void 0,void 0,b.defaultHooks);var m=_;const w=_.getLocaleData.bind(_),k=_.setLocaleData.bind(_),F=_.resetLocaleData.bind(_),S=_.subscribe.bind(_),j=_.__.bind(_),L=_._x.bind(_),T=_._n.bind(_),O=_._nx.bind(_),D=_.isRTL.bind(_),E=_.hasTranslation.bind(_)}(),(window.wp=window.wp||{}).i18n=r}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/is-shallow-equal.js b/wp-includes/js/dist/is-shallow-equal.js
index c0e0e9b70a..446ebe47c4 100644
--- a/wp-includes/js/dist/is-shallow-equal.js
+++ b/wp-includes/js/dist/is-shallow-equal.js
@@ -1,105 +1,50 @@
-this["wp"] = this["wp"] || {}; this["wp"]["isShallowEqual"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "waYt");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "waYt":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "isShallowEqualObjects", function() { return /* reexport */ isShallowEqualObjects; });
-__webpack_require__.d(__webpack_exports__, "isShallowEqualArrays", function() { return /* reexport */ isShallowEqualArrays; });
-__webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ isShallowEqual; });
+__webpack_require__.d(__webpack_exports__, {
+  "default": function() { return /* binding */ isShallowEqual; },
+  "isShallowEqualArrays": function() { return /* reexport */ isShallowEqualArrays; },
+  "isShallowEqualObjects": function() { return /* reexport */ isShallowEqualObjects; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/is-shallow-equal/build-module/objects.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/is-shallow-equal/build-module/objects.js
 /**
  * Returns true if the two objects are shallow equal, or false otherwise.
  *
@@ -141,7 +86,7 @@ function isShallowEqualObjects(a, b) {
   return true;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/is-shallow-equal/build-module/arrays.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/is-shallow-equal/build-module/arrays.js
 /**
  * Returns true if the two arrays are shallow equal, or false otherwise.
  *
@@ -168,7 +113,7 @@ function isShallowEqualArrays(a, b) {
   return true;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/is-shallow-equal/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/is-shallow-equal/build-module/index.js
 /**
  * Internal dependencies
  */
@@ -202,7 +147,6 @@ function isShallowEqual(a, b) {
   return a === b;
 }

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).isShallowEqual = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/is-shallow-equal.min.js b/wp-includes/js/dist/is-shallow-equal.min.js
index 0481a8a356..c3244364f4 100644
--- a/wp-includes/js/dist/is-shallow-equal.min.js
+++ b/wp-includes/js/dist/is-shallow-equal.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.isShallowEqual=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s="waYt")}({waYt:function(t,r,e){"use strict";function n(t,r){if(t===r)return!0;const e=Object.keys(t),n=Object.keys(r);if(e.length!==n.length)return!1;let u=0;for(;u<e.length;){const n=e[u],o=t[n];if(void 0===o&&!r.hasOwnProperty(n)||o!==r[n])return!1;u++}return!0}function u(t,r){if(t===r)return!0;if(t.length!==r.length)return!1;for(let e=0,n=t.length;e<n;e++)if(t[e]!==r[e])return!1;return!0}function o(t,r){if(t&&r){if(t.constructor===Object&&r.constructor===Object)return n(t,r);if(Array.isArray(t)&&Array.isArray(r))return u(t,r)}return t===r}e.r(r),e.d(r,"isShallowEqualObjects",(function(){return n})),e.d(r,"isShallowEqualArrays",(function(){return u})),e.d(r,"default",(function(){return o}))}});
\ No newline at end of file
+!function(){"use strict";var r={d:function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o:function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},r:function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})}},t={};function e(r,t){if(r===t)return!0;const e=Object.keys(r),n=Object.keys(t);if(e.length!==n.length)return!1;let o=0;for(;o<e.length;){const n=e[o],u=r[n];if(void 0===u&&!t.hasOwnProperty(n)||u!==t[n])return!1;o++}return!0}function n(r,t){if(r===t)return!0;if(r.length!==t.length)return!1;for(let e=0,n=r.length;e<n;e++)if(r[e]!==t[e])return!1;return!0}function o(r,t){if(r&&t){if(r.constructor===Object&&t.constructor===Object)return e(r,t);if(Array.isArray(r)&&Array.isArray(t))return n(r,t)}return r===t}r.r(t),r.d(t,{default:function(){return o},isShallowEqualArrays:function(){return n},isShallowEqualObjects:function(){return e}}),(window.wp=window.wp||{}).isShallowEqual=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/keyboard-shortcuts.js b/wp-includes/js/dist/keyboard-shortcuts.js
index 695a861049..424dc5dce3 100644
--- a/wp-includes/js/dist/keyboard-shortcuts.js
+++ b/wp-includes/js/dist/keyboard-shortcuts.js
@@ -1,157 +1,76 @@
-this["wp"] = this["wp"] || {}; this["wp"]["keyboardShortcuts"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "cFS5");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "RxS6":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["keycodes"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "cFS5":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
-__webpack_require__.d(__webpack_exports__, "useShortcut", function() { return /* reexport */ useShortcut; });
-__webpack_require__.d(__webpack_exports__, "ShortcutProvider", function() { return /* reexport */ ShortcutProvider; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseShortcutEventMatch", function() { return /* reexport */ useShortcutEventMatch; });
+__webpack_require__.d(__webpack_exports__, {
+  "ShortcutProvider": function() { return /* reexport */ ShortcutProvider; },
+  "__unstableUseShortcutEventMatch": function() { return /* reexport */ useShortcutEventMatch; },
+  "store": function() { return /* reexport */ store; },
+  "useShortcut": function() { return /* reexport */ useShortcut; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "registerShortcut", function() { return registerShortcut; });
-__webpack_require__.d(actions_namespaceObject, "unregisterShortcut", function() { return unregisterShortcut; });
+__webpack_require__.d(actions_namespaceObject, {
+  "registerShortcut": function() { return registerShortcut; },
+  "unregisterShortcut": function() { return unregisterShortcut; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
 var selectors_namespaceObject = {};
 __webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getShortcutKeyCombination", function() { return getShortcutKeyCombination; });
-__webpack_require__.d(selectors_namespaceObject, "getShortcutRepresentation", function() { return getShortcutRepresentation; });
-__webpack_require__.d(selectors_namespaceObject, "getShortcutDescription", function() { return getShortcutDescription; });
-__webpack_require__.d(selectors_namespaceObject, "getShortcutAliases", function() { return getShortcutAliases; });
-__webpack_require__.d(selectors_namespaceObject, "getAllShortcutKeyCombinations", function() { return selectors_getAllShortcutKeyCombinations; });
-__webpack_require__.d(selectors_namespaceObject, "getAllShortcutRawKeyCombinations", function() { return getAllShortcutRawKeyCombinations; });
-__webpack_require__.d(selectors_namespaceObject, "getCategoryShortcuts", function() { return getCategoryShortcuts; });
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+__webpack_require__.d(selectors_namespaceObject, {
+  "getAllShortcutKeyCombinations": function() { return getAllShortcutKeyCombinations; },
+  "getAllShortcutRawKeyCombinations": function() { return getAllShortcutRawKeyCombinations; },
+  "getCategoryShortcuts": function() { return getCategoryShortcuts; },
+  "getShortcutAliases": function() { return getShortcutAliases; },
+  "getShortcutDescription": function() { return getShortcutDescription; },
+  "getShortcutKeyCombination": function() { return getShortcutKeyCombination; },
+  "getShortcutRepresentation": function() { return getShortcutRepresentation; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/reducer.js
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/reducer.js
 /**
  * External dependencies
  */
@@ -181,7 +100,7 @@ function reducer() {
       };

     case 'UNREGISTER_SHORTCUT':
-      return Object(external_lodash_["omit"])(state, action.name);
+      return (0,external_lodash_namespaceObject.omit)(state, action.name);
   }

   return state;
@@ -189,7 +108,7 @@ function reducer() {

 /* harmony default export */ var store_reducer = (reducer);

-// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js
 /** @typedef {import('@wordpress/keycodes').WPKeycodeModifier} WPKeycodeModifier */

 /**
@@ -252,625 +171,553 @@ function unregisterShortcut(name) {
   };
 }

-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");
-
-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
-/**
- * External dependencies
- */
-
-
-/**
- * WordPress dependencies
- */
-
+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js

-/** @typedef {import('./actions').WPShortcutKeyCombination} WPShortcutKeyCombination */

-/** @typedef {import('@wordpress/keycodes').WPKeycodeHandlerByModifier} WPKeycodeHandlerByModifier */
+var LEAF_KEY, hasWeakMap;

 /**
- * Shared reference to an empty array for cases where it is important to avoid
- * returning a new array reference on every invocation.
+ * Arbitrary value used as key for referencing cache object in WeakMap tree.
  *
- * @type {Array<any>}
+ * @type {Object}
  */
+LEAF_KEY = {};

-const EMPTY_ARRAY = [];
 /**
- * Shortcut formatting methods.
+ * Whether environment supports WeakMap.
  *
- * @property {WPKeycodeHandlerByModifier} display     Display formatting.
- * @property {WPKeycodeHandlerByModifier} rawShortcut Raw shortcut formatting.
- * @property {WPKeycodeHandlerByModifier} ariaLabel   ARIA label formatting.
+ * @type {boolean}
  */
+hasWeakMap = typeof WeakMap !== 'undefined';

-const FORMATTING_METHODS = {
-  display: external_wp_keycodes_["displayShortcut"],
-  raw: external_wp_keycodes_["rawShortcut"],
-  ariaLabel: external_wp_keycodes_["shortcutAriaLabel"]
-};
 /**
- * Returns a string representing the key combination.
+ * Returns the first argument as the sole entry in an array.
  *
- * @param {?WPShortcutKeyCombination} shortcut       Key combination.
- * @param {keyof FORMATTING_METHODS}  representation Type of representation
- *                                                   (display, raw, ariaLabel).
+ * @param {*} value Value to return.
  *
- * @return {string?} Shortcut representation.
+ * @return {Array} Value returned as entry in array.
  */
-
-function getKeyCombinationRepresentation(shortcut, representation) {
-  if (!shortcut) {
-    return null;
-  }
-
-  return shortcut.modifier ? FORMATTING_METHODS[representation][shortcut.modifier](shortcut.character) : shortcut.character;
+function arrayOf( value ) {
+	return [ value ];
 }
-/**
- * Returns the main key combination for a given shortcut name.
- *
- * @param {Object} state Global state.
- * @param {string} name  Shortcut name.
- *
- * @return {WPShortcutKeyCombination?} Key combination.
- */

-
-function getShortcutKeyCombination(state, name) {
-  return state[name] ? state[name].keyCombination : null;
-}
 /**
- * Returns a string representing the main key combination for a given shortcut name.
+ * Returns true if the value passed is object-like, or false otherwise. A value
+ * is object-like if it can support property assignment, e.g. object or array.
  *
- * @param {Object}                   state          Global state.
- * @param {string}                   name           Shortcut name.
- * @param {keyof FORMATTING_METHODS} representation Type of representation
- *                                                  (display, raw, ariaLabel).
+ * @param {*} value Value to test.
  *
- * @return {string?} Shortcut representation.
+ * @return {boolean} Whether value is object-like.
  */
-
-function getShortcutRepresentation(state, name) {
-  let representation = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'display';
-  const shortcut = getShortcutKeyCombination(state, name);
-  return getKeyCombinationRepresentation(shortcut, representation);
+function isObjectLike( value ) {
+	return !! value && 'object' === typeof value;
 }
-/**
- * Returns the shortcut description given its name.
- *
- * @param {Object} state Global state.
- * @param {string} name  Shortcut name.
- *
- * @return {string?} Shortcut description.
- */

-function getShortcutDescription(state, name) {
-  return state[name] ? state[name].description : null;
-}
 /**
- * Returns the aliases for a given shortcut name.
- *
- * @param {Object} state Global state.
- * @param {string} name  Shortcut name.
+ * Creates and returns a new cache object.
  *
- * @return {WPShortcutKeyCombination[]} Key combinations.
+ * @return {Object} Cache object.
  */
+function createCache() {
+	var cache = {
+		clear: function() {
+			cache.head = null;
+		},
+	};

-function getShortcutAliases(state, name) {
-  return state[name] && state[name].aliases ? state[name].aliases : EMPTY_ARRAY;
+	return cache;
 }
-const selectors_getAllShortcutKeyCombinations = Object(rememo["a" /* default */])((state, name) => {
-  return Object(external_lodash_["compact"])([getShortcutKeyCombination(state, name), ...getShortcutAliases(state, name)]);
-}, (state, name) => [state[name]]);
-/**
- * Returns the raw representation of all the keyboard combinations of a given shortcut name.
- *
- * @param {Object} state Global state.
- * @param {string} name  Shortcut name.
- *
- * @return {string[]} Shortcuts.
- */

-const getAllShortcutRawKeyCombinations = Object(rememo["a" /* default */])((state, name) => {
-  return selectors_getAllShortcutKeyCombinations(state, name).map(combination => getKeyCombinationRepresentation(combination, 'raw'));
-}, (state, name) => [state[name]]);
 /**
- * Returns the shortcut names list for a given category name.
+ * Returns true if entries within the two arrays are strictly equal by
+ * reference from a starting index.
  *
- * @param {Object} state Global state.
- * @param {string} name  Category name.
+ * @param {Array}  a         First array.
+ * @param {Array}  b         Second array.
+ * @param {number} fromIndex Index from which to start comparison.
  *
- * @return {string[]} Shortcut names.
- */
-
-const getCategoryShortcuts = Object(rememo["a" /* default */])((state, categoryName) => {
-  return Object.entries(state).filter(_ref => {
-    let [, shortcut] = _ref;
-    return shortcut.category === categoryName;
-  }).map(_ref2 => {
-    let [name] = _ref2;
-    return name;
-  });
-}, state => [state]);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/index.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
+ * @return {boolean} Whether arrays are shallowly equal.
  */
+function isShallowEqual( a, b, fromIndex ) {
+	var i;

+	if ( a.length !== b.length ) {
+		return false;
+	}

+	for ( i = fromIndex; i < a.length; i++ ) {
+		if ( a[ i ] !== b[ i ] ) {
+			return false;
+		}
+	}

+	return true;
+}

-const STORE_NAME = 'core/keyboard-shortcuts';
 /**
- * Store definition for the keyboard shortcuts namespace.
+ * Returns a memoized selector function. The getDependants function argument is
+ * called before the memoized selector and is expected to return an immutable
+ * reference or array of references on which the selector depends for computing
+ * its own return value. The memoize cache is preserved only as long as those
+ * dependant references remain the same. If getDependants returns a different
+ * reference(s), the cache is cleared and the selector value regenerated.
  *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ * @param {Function} selector      Selector function.
+ * @param {Function} getDependants Dependant getter returning an immutable
+ *                                 reference or array of reference used in
+ *                                 cache bust consideration.
  *
- * @type {Object}
+ * @return {Function} Memoized selector.
  */
+/* harmony default export */ function rememo(selector, getDependants ) {
+	var rootCache, getCache;

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
-  reducer: store_reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject
-});
-Object(external_wp_data_["register"])(store);
+	// Use object source as dependant if getter not provided
+	if ( ! getDependants ) {
+		getDependants = arrayOf;
+	}

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+	/**
+	 * Returns the root cache. If WeakMap is supported, this is assigned to the
+	 * root WeakMap cache set, otherwise it is a shared instance of the default
+	 * cache object.
+	 *
+	 * @return {(WeakMap|Object)} Root cache object.
+	 */
+	function getRootCache() {
+		return rootCache;
+	}

-// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut-event-match.js
-/**
- * WordPress dependencies
- */
+	/**
+	 * Returns the cache for a given dependants array. When possible, a WeakMap
+	 * will be used to create a unique cache for each set of dependants. This
+	 * is feasible due to the nature of WeakMap in allowing garbage collection
+	 * to occur on entries where the key object is no longer referenced. Since
+	 * WeakMap requires the key to be an object, this is only possible when the
+	 * dependant is object-like. The root cache is created as a hierarchy where
+	 * each top-level key is the first entry in a dependants set, the value a
+	 * WeakMap where each key is the next dependant, and so on. This continues
+	 * so long as the dependants are object-like. If no dependants are object-
+	 * like, then the cache is shared across all invocations.
+	 *
+	 * @see isObjectLike
+	 *
+	 * @param {Array} dependants Selector dependants.
+	 *
+	 * @return {Object} Cache object.
+	 */
+	function getWeakMapCache( dependants ) {
+		var caches = rootCache,
+			isUniqueByDependants = true,
+			i, dependant, map, cache;

+		for ( i = 0; i < dependants.length; i++ ) {
+			dependant = dependants[ i ];

-/**
- * Internal dependencies
- */
+			// Can only compose WeakMap from object-like key.
+			if ( ! isObjectLike( dependant ) ) {
+				isUniqueByDependants = false;
+				break;
+			}

+			// Does current segment of cache already have a WeakMap?
+			if ( caches.has( dependant ) ) {
+				// Traverse into nested WeakMap.
+				caches = caches.get( dependant );
+			} else {
+				// Create, set, and traverse into a new one.
+				map = new WeakMap();
+				caches.set( dependant, map );
+				caches = map;
+			}
+		}

-/**
- * Returns a function to check if a keyboard event matches a shortcut name.
- *
- * @return {Function} A function to to check if a keyboard event matches a
- *                    predefined shortcut combination.
- */
-
-function useShortcutEventMatch() {
-  const {
-    getAllShortcutKeyCombinations
-  } = Object(external_wp_data_["useSelect"])(store);
-  /**
-   * A function to check if a keyboard event matches a predefined shortcut
-   * combination.
-   *
-   * @param {string}        name  Shortcut name.
-   * @param {KeyboardEvent} event Event to check.
-   *
-   * @return {boolean} True if the event matches any shortcuts, false if not.
-   */
-
-  function isMatch(name, event) {
-    return getAllShortcutKeyCombinations(name).some(_ref => {
-      let {
-        modifier,
-        character
-      } = _ref;
-      return external_wp_keycodes_["isKeyboardEvent"][modifier](event, character);
-    });
-  }
-
-  return isMatch;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/context.js
-/**
- * WordPress dependencies
- */
+		// We use an arbitrary (but consistent) object as key for the last item
+		// in the WeakMap to serve as our running cache.
+		if ( ! caches.has( LEAF_KEY ) ) {
+			cache = createCache();
+			cache.isUniqueByDependants = isUniqueByDependants;
+			caches.set( LEAF_KEY, cache );
+		}

-const context = Object(external_wp_element_["createContext"])();
+		return caches.get( LEAF_KEY );
+	}

-// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut.js
-/**
- * WordPress dependencies
- */
+	// Assign cache handler by availability of WeakMap
+	getCache = hasWeakMap ? getWeakMapCache : getRootCache;

-/**
- * Internal dependencies
- */
+	/**
+	 * Resets root memoization cache.
+	 */
+	function clear() {
+		rootCache = hasWeakMap ? new WeakMap() : createCache();
+	}

+	// eslint-disable-next-line jsdoc/check-param-names
+	/**
+	 * The augmented selector call, considering first whether dependants have
+	 * changed before passing it to underlying memoize function.
+	 *
+	 * @param {Object} source    Source object for derivation.
+	 * @param {...*}   extraArgs Additional arguments to pass to selector.
+	 *
+	 * @return {*} Selector result.
+	 */
+	function callSelector( /* source, ...extraArgs */ ) {
+		var len = arguments.length,
+			cache, node, i, args, dependants;

+		// Create copy of arguments (avoid leaking deoptimization).
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}

-/**
- * Attach a keyboard shortcut handler.
- *
- * @param {string}   name               Shortcut name.
- * @param {Function} callback           Shortcut callback.
- * @param {Object}   options            Shortcut options.
- * @param {boolean}  options.isDisabled Whether to disable to shortut.
- */
+		dependants = getDependants.apply( null, args );
+		cache = getCache( dependants );

-function useShortcut(name, callback) {
-  let {
-    isDisabled
-  } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-  const shortcuts = Object(external_wp_element_["useContext"])(context);
-  const isMatch = useShortcutEventMatch();
-  const callbackRef = Object(external_wp_element_["useRef"])();
-  callbackRef.current = callback;
-  Object(external_wp_element_["useEffect"])(() => {
-    if (isDisabled) {
-      return;
-    }
+		// If not guaranteed uniqueness by dependants (primitive type or lack
+		// of WeakMap support), shallow compare against last dependants and, if
+		// references have changed, destroy cache to recalculate result.
+		if ( ! cache.isUniqueByDependants ) {
+			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
+				cache.clear();
+			}

-    function _callback(event) {
-      if (isMatch(name, event)) {
-        callbackRef.current(event);
-      }
-    }
+			cache.lastDependants = dependants;
+		}

-    shortcuts.current.add(_callback);
-    return () => {
-      shortcuts.current.delete(_callback);
-    };
-  }, [name, isDisabled]);
-}
+		node = cache.head;
+		while ( node ) {
+			// Check whether node arguments match arguments
+			if ( ! isShallowEqual( node.args, args, 1 ) ) {
+				node = node.next;
+				continue;
+			}

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+			// At this point we can assume we've found a match

-// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/components/shortcut-provider.js
+			// Surface matched node to head if not already
+			if ( node !== cache.head ) {
+				// Adjust siblings to point to each other.
+				node.prev.next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}

+				node.next = cache.head;
+				node.prev = null;
+				cache.head.prev = node;
+				cache.head = node;
+			}

+			// Return immediately
+			return node.val;
+		}

-/**
- * WordPress dependencies
- */
+		// No cached value found. Continue to insertion phase:

-/**
- * Internal dependencies
- */
+		node = {
+			// Generate the result from original function
+			val: selector.apply( null, args ),
+		};

+		// Avoid including the source object in the cache.
+		args[ 0 ] = null;
+		node.args = args;

-const {
-  Provider
-} = context;
-/**
- * Handles callbacks added to context by `useShortcut`.
- *
- * @param {Object} props Props to pass to `div`.
- *
- * @return {import('@wordpress/element').WPElement} Component.
- */
+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was

-function ShortcutProvider(props) {
-  const keyboardShortcuts = Object(external_wp_element_["useRef"])(new Set());
+		// Shift existing head down list
+		if ( cache.head ) {
+			cache.head.prev = node;
+			node.next = cache.head;
+		}

-  function onKeyDown(event) {
-    if (props.onKeyDown) props.onKeyDown(event);
+		cache.head = node;

-    for (const keyboardShortcut of keyboardShortcuts.current) {
-      keyboardShortcut(event);
-    }
-  }
-  /* eslint-disable jsx-a11y/no-static-element-interactions */
+		return node.val;
+	}

+	callSelector.getDependants = getDependants;
+	callSelector.clear = clear;
+	clear();

-  return Object(external_wp_element_["createElement"])(Provider, {
-    value: keyboardShortcuts
-  }, Object(external_wp_element_["createElement"])("div", Object(esm_extends["a" /* default */])({}, props, {
-    onKeyDown: onKeyDown
-  })));
-  /* eslint-enable jsx-a11y/no-static-element-interactions */
+	return callSelector;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/index.js
-
-
-
-
-
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
+/**
+ * External dependencies
+ */

-/***/ }),

-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/**
+ * WordPress dependencies
+ */

-"use strict";

+/** @typedef {import('./actions').WPShortcutKeyCombination} WPShortcutKeyCombination */

-var LEAF_KEY, hasWeakMap;
+/** @typedef {import('@wordpress/keycodes').WPKeycodeHandlerByModifier} WPKeycodeHandlerByModifier */

 /**
- * Arbitrary value used as key for referencing cache object in WeakMap tree.
+ * Shared reference to an empty array for cases where it is important to avoid
+ * returning a new array reference on every invocation.
  *
- * @type {Object}
+ * @type {Array<any>}
  */
-LEAF_KEY = {};

+const EMPTY_ARRAY = [];
 /**
- * Whether environment supports WeakMap.
+ * Shortcut formatting methods.
  *
- * @type {boolean}
+ * @property {WPKeycodeHandlerByModifier} display     Display formatting.
+ * @property {WPKeycodeHandlerByModifier} rawShortcut Raw shortcut formatting.
+ * @property {WPKeycodeHandlerByModifier} ariaLabel   ARIA label formatting.
  */
-hasWeakMap = typeof WeakMap !== 'undefined';

+const FORMATTING_METHODS = {
+  display: external_wp_keycodes_namespaceObject.displayShortcut,
+  raw: external_wp_keycodes_namespaceObject.rawShortcut,
+  ariaLabel: external_wp_keycodes_namespaceObject.shortcutAriaLabel
+};
 /**
- * Returns the first argument as the sole entry in an array.
+ * Returns a string representing the key combination.
  *
- * @param {*} value Value to return.
+ * @param {?WPShortcutKeyCombination} shortcut       Key combination.
+ * @param {keyof FORMATTING_METHODS}  representation Type of representation
+ *                                                   (display, raw, ariaLabel).
  *
- * @return {Array} Value returned as entry in array.
+ * @return {string?} Shortcut representation.
  */
-function arrayOf( value ) {
-	return [ value ];
-}

+function getKeyCombinationRepresentation(shortcut, representation) {
+  if (!shortcut) {
+    return null;
+  }
+
+  return shortcut.modifier ? FORMATTING_METHODS[representation][shortcut.modifier](shortcut.character) : shortcut.character;
+}
 /**
- * Returns true if the value passed is object-like, or false otherwise. A value
- * is object-like if it can support property assignment, e.g. object or array.
+ * Returns the main key combination for a given shortcut name.
  *
- * @param {*} value Value to test.
+ * @param {Object} state Global state.
+ * @param {string} name  Shortcut name.
  *
- * @return {boolean} Whether value is object-like.
+ * @return {WPShortcutKeyCombination?} Key combination.
  */
-function isObjectLike( value ) {
-	return !! value && 'object' === typeof value;
-}

+
+function getShortcutKeyCombination(state, name) {
+  return state[name] ? state[name].keyCombination : null;
+}
 /**
- * Creates and returns a new cache object.
+ * Returns a string representing the main key combination for a given shortcut name.
  *
- * @return {Object} Cache object.
- */
-function createCache() {
-	var cache = {
-		clear: function() {
-			cache.head = null;
-		},
-	};
+ * @param {Object}                   state          Global state.
+ * @param {string}                   name           Shortcut name.
+ * @param {keyof FORMATTING_METHODS} representation Type of representation
+ *                                                  (display, raw, ariaLabel).
+ *
+ * @return {string?} Shortcut representation.
+ */

-	return cache;
+function getShortcutRepresentation(state, name) {
+  let representation = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'display';
+  const shortcut = getShortcutKeyCombination(state, name);
+  return getKeyCombinationRepresentation(shortcut, representation);
 }
-
 /**
- * Returns true if entries within the two arrays are strictly equal by
- * reference from a starting index.
+ * Returns the shortcut description given its name.
  *
- * @param {Array}  a         First array.
- * @param {Array}  b         Second array.
- * @param {number} fromIndex Index from which to start comparison.
+ * @param {Object} state Global state.
+ * @param {string} name  Shortcut name.
  *
- * @return {boolean} Whether arrays are shallowly equal.
+ * @return {string?} Shortcut description.
  */
-function isShallowEqual( a, b, fromIndex ) {
-	var i;
-
-	if ( a.length !== b.length ) {
-		return false;
-	}

-	for ( i = fromIndex; i < a.length; i++ ) {
-		if ( a[ i ] !== b[ i ] ) {
-			return false;
-		}
-	}
-
-	return true;
+function getShortcutDescription(state, name) {
+  return state[name] ? state[name].description : null;
 }
-
 /**
- * Returns a memoized selector function. The getDependants function argument is
- * called before the memoized selector and is expected to return an immutable
- * reference or array of references on which the selector depends for computing
- * its own return value. The memoize cache is preserved only as long as those
- * dependant references remain the same. If getDependants returns a different
- * reference(s), the cache is cleared and the selector value regenerated.
+ * Returns the aliases for a given shortcut name.
  *
- * @param {Function} selector      Selector function.
- * @param {Function} getDependants Dependant getter returning an immutable
- *                                 reference or array of reference used in
- *                                 cache bust consideration.
+ * @param {Object} state Global state.
+ * @param {string} name  Shortcut name.
  *
- * @return {Function} Memoized selector.
+ * @return {WPShortcutKeyCombination[]} Key combinations.
  */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
-	var rootCache, getCache;
-
-	// Use object source as dependant if getter not provided
-	if ( ! getDependants ) {
-		getDependants = arrayOf;
-	}
-
-	/**
-	 * Returns the root cache. If WeakMap is supported, this is assigned to the
-	 * root WeakMap cache set, otherwise it is a shared instance of the default
-	 * cache object.
-	 *
-	 * @return {(WeakMap|Object)} Root cache object.
-	 */
-	function getRootCache() {
-		return rootCache;
-	}

-	/**
-	 * Returns the cache for a given dependants array. When possible, a WeakMap
-	 * will be used to create a unique cache for each set of dependants. This
-	 * is feasible due to the nature of WeakMap in allowing garbage collection
-	 * to occur on entries where the key object is no longer referenced. Since
-	 * WeakMap requires the key to be an object, this is only possible when the
-	 * dependant is object-like. The root cache is created as a hierarchy where
-	 * each top-level key is the first entry in a dependants set, the value a
-	 * WeakMap where each key is the next dependant, and so on. This continues
-	 * so long as the dependants are object-like. If no dependants are object-
-	 * like, then the cache is shared across all invocations.
-	 *
-	 * @see isObjectLike
-	 *
-	 * @param {Array} dependants Selector dependants.
-	 *
-	 * @return {Object} Cache object.
-	 */
-	function getWeakMapCache( dependants ) {
-		var caches = rootCache,
-			isUniqueByDependants = true,
-			i, dependant, map, cache;
-
-		for ( i = 0; i < dependants.length; i++ ) {
-			dependant = dependants[ i ];
-
-			// Can only compose WeakMap from object-like key.
-			if ( ! isObjectLike( dependant ) ) {
-				isUniqueByDependants = false;
-				break;
-			}
+function getShortcutAliases(state, name) {
+  return state[name] && state[name].aliases ? state[name].aliases : EMPTY_ARRAY;
+}
+const getAllShortcutKeyCombinations = rememo((state, name) => {
+  return (0,external_lodash_namespaceObject.compact)([getShortcutKeyCombination(state, name), ...getShortcutAliases(state, name)]);
+}, (state, name) => [state[name]]);
+/**
+ * Returns the raw representation of all the keyboard combinations of a given shortcut name.
+ *
+ * @param {Object} state Global state.
+ * @param {string} name  Shortcut name.
+ *
+ * @return {string[]} Shortcuts.
+ */

-			// Does current segment of cache already have a WeakMap?
-			if ( caches.has( dependant ) ) {
-				// Traverse into nested WeakMap.
-				caches = caches.get( dependant );
-			} else {
-				// Create, set, and traverse into a new one.
-				map = new WeakMap();
-				caches.set( dependant, map );
-				caches = map;
-			}
-		}
+const getAllShortcutRawKeyCombinations = rememo((state, name) => {
+  return getAllShortcutKeyCombinations(state, name).map(combination => getKeyCombinationRepresentation(combination, 'raw'));
+}, (state, name) => [state[name]]);
+/**
+ * Returns the shortcut names list for a given category name.
+ *
+ * @param {Object} state Global state.
+ * @param {string} name  Category name.
+ *
+ * @return {string[]} Shortcut names.
+ */

-		// We use an arbitrary (but consistent) object as key for the last item
-		// in the WeakMap to serve as our running cache.
-		if ( ! caches.has( LEAF_KEY ) ) {
-			cache = createCache();
-			cache.isUniqueByDependants = isUniqueByDependants;
-			caches.set( LEAF_KEY, cache );
-		}
+const getCategoryShortcuts = rememo((state, categoryName) => {
+  return Object.entries(state).filter(_ref => {
+    let [, shortcut] = _ref;
+    return shortcut.category === categoryName;
+  }).map(_ref2 => {
+    let [name] = _ref2;
+    return name;
+  });
+}, state => [state]);

-		return caches.get( LEAF_KEY );
-	}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/index.js
+/**
+ * WordPress dependencies
+ */

-	// Assign cache handler by availability of WeakMap
-	getCache = hasWeakMap ? getWeakMapCache : getRootCache;
+/**
+ * Internal dependencies
+ */

-	/**
-	 * Resets root memoization cache.
-	 */
-	function clear() {
-		rootCache = hasWeakMap ? new WeakMap() : createCache();
-	}

-	// eslint-disable-next-line jsdoc/check-param-names
-	/**
-	 * The augmented selector call, considering first whether dependants have
-	 * changed before passing it to underlying memoize function.
-	 *
-	 * @param {Object} source    Source object for derivation.
-	 * @param {...*}   extraArgs Additional arguments to pass to selector.
-	 *
-	 * @return {*} Selector result.
-	 */
-	function callSelector( /* source, ...extraArgs */ ) {
-		var len = arguments.length,
-			cache, node, i, args, dependants;

-		// Create copy of arguments (avoid leaking deoptimization).
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}

-		dependants = getDependants.apply( null, args );
-		cache = getCache( dependants );
+const STORE_NAME = 'core/keyboard-shortcuts';
+/**
+ * Store definition for the keyboard shortcuts namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
+ */

-		// If not guaranteed uniqueness by dependants (primitive type or lack
-		// of WeakMap support), shallow compare against last dependants and, if
-		// references have changed, destroy cache to recalculate result.
-		if ( ! cache.isUniqueByDependants ) {
-			if ( cache.lastDependants && ! isShallowEqual( dependants, cache.lastDependants, 0 ) ) {
-				cache.clear();
-			}
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
+  reducer: store_reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject
+});
+(0,external_wp_data_namespaceObject.register)(store);

-			cache.lastDependants = dependants;
-		}
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut-event-match.js
+/**
+ * WordPress dependencies
+ */

-		node = cache.head;
-		while ( node ) {
-			// Check whether node arguments match arguments
-			if ( ! isShallowEqual( node.args, args, 1 ) ) {
-				node = node.next;
-				continue;
-			}

-			// At this point we can assume we've found a match
+/**
+ * Internal dependencies
+ */

-			// Surface matched node to head if not already
-			if ( node !== cache.head ) {
-				// Adjust siblings to point to each other.
-				node.prev.next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}

-				node.next = cache.head;
-				node.prev = null;
-				cache.head.prev = node;
-				cache.head = node;
-			}
+/**
+ * Returns a function to check if a keyboard event matches a shortcut name.
+ *
+ * @return {Function} A function to to check if a keyboard event matches a
+ *                    predefined shortcut combination.
+ */

-			// Return immediately
-			return node.val;
-		}
+function useShortcutEventMatch() {
+  const {
+    getAllShortcutKeyCombinations
+  } = (0,external_wp_data_namespaceObject.useSelect)(store);
+  /**
+   * A function to check if a keyboard event matches a predefined shortcut
+   * combination.
+   *
+   * @param {string}        name  Shortcut name.
+   * @param {KeyboardEvent} event Event to check.
+   *
+   * @return {boolean} True if the event matches any shortcuts, false if not.
+   */

-		// No cached value found. Continue to insertion phase:
+  function isMatch(name, event) {
+    return getAllShortcutKeyCombinations(name).some(_ref => {
+      let {
+        modifier,
+        character
+      } = _ref;
+      return external_wp_keycodes_namespaceObject.isKeyboardEvent[modifier](event, character);
+    });
+  }

-		node = {
-			// Generate the result from original function
-			val: selector.apply( null, args ),
-		};
+  return isMatch;
+}

-		// Avoid including the source object in the cache.
-		args[ 0 ] = null;
-		node.args = args;
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/context.js
+/**
+ * WordPress dependencies
+ */

-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
+const context = (0,external_wp_element_namespaceObject.createContext)();

-		// Shift existing head down list
-		if ( cache.head ) {
-			cache.head.prev = node;
-			node.next = cache.head;
-		}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut.js
+/**
+ * WordPress dependencies
+ */

-		cache.head = node;
+/**
+ * Internal dependencies
+ */

-		return node.val;
-	}

-	callSelector.getDependants = getDependants;
-	callSelector.clear = clear;
-	clear();

-	return callSelector;
-});
+/**
+ * Attach a keyboard shortcut handler.
+ *
+ * @param {string}   name               Shortcut name.
+ * @param {Function} callback           Shortcut callback.
+ * @param {Object}   options            Shortcut options.
+ * @param {boolean}  options.isDisabled Whether to disable to shortut.
+ */

+function useShortcut(name, callback) {
+  let {
+    isDisabled
+  } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
+  const shortcuts = (0,external_wp_element_namespaceObject.useContext)(context);
+  const isMatch = useShortcutEventMatch();
+  const callbackRef = (0,external_wp_element_namespaceObject.useRef)();
+  callbackRef.current = callback;
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
+    if (isDisabled) {
+      return;
+    }

-/***/ }),
+    function _callback(event) {
+      if (isMatch(name, event)) {
+        callbackRef.current(event);
+      }
+    }

-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+    shortcuts.current.add(_callback);
+    return () => {
+      shortcuts.current.delete(_callback);
+    };
+  }, [name, isDisabled]);
+}

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
 function _extends() {
   _extends = Object.assign || function (target) {
     for (var i = 1; i < arguments.length; i++) {
@@ -888,7 +735,57 @@ function _extends() {

   return _extends.apply(this, arguments);
 }
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/components/shortcut-provider.js
+
+
+
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+const {
+  Provider
+} = context;
+/**
+ * Handles callbacks added to context by `useShortcut`.
+ *
+ * @param {Object} props Props to pass to `div`.
+ *
+ * @return {import('@wordpress/element').WPElement} Component.
+ */
+
+function ShortcutProvider(props) {
+  const keyboardShortcuts = (0,external_wp_element_namespaceObject.useRef)(new Set());
+
+  function onKeyDown(event) {
+    if (props.onKeyDown) props.onKeyDown(event);
+
+    for (const keyboardShortcut of keyboardShortcuts.current) {
+      keyboardShortcut(event);
+    }
+  }
+  /* eslint-disable jsx-a11y/no-static-element-interactions */
+
+
+  return (0,external_wp_element_namespaceObject.createElement)(Provider, {
+    value: keyboardShortcuts
+  }, (0,external_wp_element_namespaceObject.createElement)("div", _extends({}, props, {
+    onKeyDown: onKeyDown
+  })));
+  /* eslint-enable jsx-a11y/no-static-element-interactions */
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keyboard-shortcuts/build-module/index.js
+
+
+

-/***/ })

-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).keyboardShortcuts = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/keyboard-shortcuts.min.js b/wp-includes/js/dist/keyboard-shortcuts.min.js
index 34fa91bd4a..fdce3c29fa 100644
--- a/wp-includes/js/dist/keyboard-shortcuts.min.js
+++ b/wp-includes/js/dist/keyboard-shortcuts.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.keyboardShortcuts=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="cFS5")}({"1ZqX":function(t,e){t.exports=window.wp.data},GRId:function(t,e){t.exports=window.wp.element},RxS6:function(t,e){t.exports=window.wp.keycodes},YLtl:function(t,e){t.exports=window.lodash},cFS5:function(t,e,n){"use strict";n.r(e),n.d(e,"store",(function(){return w})),n.d(e,"useShortcut",(function(){return C})),n.d(e,"ShortcutProvider",(function(){return E})),n.d(e,"__unstableUseShortcutEventMatch",(function(){return x}));var r={};n.r(r),n.d(r,"registerShortcut",(function(){return a})),n.d(r,"unregisterShortcut",(function(){return s}));var o={};n.r(o),n.d(o,"getShortcutKeyCombination",(function(){return b})),n.d(o,"getShortcutRepresentation",(function(){return y})),n.d(o,"getShortcutDescription",(function(){return v})),n.d(o,"getShortcutAliases",(function(){return g})),n.d(o,"getAllShortcutKeyCombinations",(function(){return S})),n.d(o,"getAllShortcutRawKeyCombinations",(function(){return m})),n.d(o,"getCategoryShortcuts",(function(){return O}));var u=n("1ZqX"),c=n("YLtl");var i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"REGISTER_SHORTCUT":return{...t,[e.name]:{category:e.category,keyCombination:e.keyCombination,aliases:e.aliases,description:e.description}};case"UNREGISTER_SHORTCUT":return Object(c.omit)(t,e.name)}return t};function a(t){let{name:e,category:n,description:r,keyCombination:o,aliases:u}=t;return{type:"REGISTER_SHORTCUT",name:e,category:n,keyCombination:o,aliases:u,description:r}}function s(t){return{type:"UNREGISTER_SHORTCUT",name:t}}var l=n("pPDe"),f=n("RxS6");const d=[],p={display:f.displayShortcut,raw:f.rawShortcut,ariaLabel:f.shortcutAriaLabel};function h(t,e){return t?t.modifier?p[e][t.modifier](t.character):t.character:null}function b(t,e){return t[e]?t[e].keyCombination:null}function y(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"display";const r=b(t,e);return h(r,n)}function v(t,e){return t[e]?t[e].description:null}function g(t,e){return t[e]&&t[e].aliases?t[e].aliases:d}const S=Object(l.a)((t,e)=>Object(c.compact)([b(t,e),...g(t,e)]),(t,e)=>[t[e]]),m=Object(l.a)((t,e)=>S(t,e).map(t=>h(t,"raw")),(t,e)=>[t[e]]),O=Object(l.a)((t,e)=>Object.entries(t).filter(t=>{let[,n]=t;return n.category===e}).map(t=>{let[e]=t;return e}),t=>[t]),w=Object(u.createReduxStore)("core/keyboard-shortcuts",{reducer:i,actions:r,selectors:o});Object(u.register)(w);var j=n("GRId");function x(){const{getAllShortcutKeyCombinations:t}=Object(u.useSelect)(w);return function(e,n){return t(e).some(t=>{let{modifier:e,character:r}=t;return f.isKeyboardEvent[e](n,r)})}}const R=Object(j.createContext)();function C(t,e){let{isDisabled:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=Object(j.useContext)(R),o=x(),u=Object(j.useRef)();u.current=e,Object(j.useEffect)(()=>{if(!n)return r.current.add(e),()=>{r.current.delete(e)};function e(e){o(t,e)&&u.current(e)}},[t,n])}var T=n("wx14");const{Provider:D}=R;function E(t){const e=Object(j.useRef)(new Set);return Object(j.createElement)(D,{value:e},Object(j.createElement)("div",Object(T.a)({},t,{onKeyDown:function(n){t.onKeyDown&&t.onKeyDown(n);for(const t of e.current)t(n)}})))}},pPDe:function(t,e,n){"use strict";var r,o;function u(t){return[t]}function c(){var t={clear:function(){t.head=null}};return t}function i(t,e,n){var r;if(t.length!==e.length)return!1;for(r=n;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,e.a=function(t,e){var n,a;function s(){n=o?new WeakMap:c()}function l(){var n,r,o,u,c,s=arguments.length;for(u=new Array(s),o=0;o<s;o++)u[o]=arguments[o];for(c=e.apply(null,u),(n=a(c)).isUniqueByDependants||(n.lastDependants&&!i(c,n.lastDependants,0)&&n.clear(),n.lastDependants=c),r=n.head;r;){if(i(r.args,u,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:t.apply(null,u)},u[0]=null,r.args=u,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return e||(e=u),a=o?function(t){var e,o,u,i,a,s=n,l=!0;for(e=0;e<t.length;e++){if(o=t[e],!(a=o)||"object"!=typeof a){l=!1;break}s.has(o)?s=s.get(o):(u=new WeakMap,s.set(o,u),s=u)}return s.has(r)||((i=c()).isUniqueByDependants=l,s.set(r,i)),s.get(r)}:function(){return n},l.getDependants=e,l.clear=s,s(),l}},wx14:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return r}))}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ShortcutProvider:function(){return _},__unstableUseShortcutEventMatch:function(){return D},store:function(){return O},useShortcut:function(){return U}});var n={};e.r(n),e.d(n,{registerShortcut:function(){return s},unregisterShortcut:function(){return l}});var r={};e.r(r),e.d(r,{getAllShortcutKeyCombinations:function(){return C},getAllShortcutRawKeyCombinations:function(){return T},getCategoryShortcuts:function(){return E},getShortcutAliases:function(){return R},getShortcutDescription:function(){return m},getShortcutKeyCombination:function(){return w},getShortcutRepresentation:function(){return b}});var o=window.wp.data,a=window.lodash;var u,i,c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REGISTER_SHORTCUT":return{...e,[t.name]:{category:t.category,keyCombination:t.keyCombination,aliases:t.aliases,description:t.description}};case"UNREGISTER_SHORTCUT":return(0,a.omit)(e,t.name)}return e};function s(e){let{name:t,category:n,description:r,keyCombination:o,aliases:a}=e;return{type:"REGISTER_SHORTCUT",name:t,category:n,keyCombination:o,aliases:a,description:r}}function l(e){return{type:"UNREGISTER_SHORTCUT",name:e}}function f(e){return[e]}function d(){var e={clear:function(){e.head=null}};return e}function p(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function h(e,t){var n,r;function o(){n=i?new WeakMap:d()}function a(){var n,o,a,u,i,c=arguments.length;for(u=new Array(c),a=0;a<c;a++)u[a]=arguments[a];for(i=t.apply(null,u),(n=r(i)).isUniqueByDependants||(n.lastDependants&&!p(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),o=n.head;o;){if(p(o.args,u,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,u)},u[0]=null,o.args=u,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=f),r=i?function(e){var t,r,o,a,i,c=n,s=!0;for(t=0;t<e.length;t++){if(r=e[t],!(i=r)||"object"!=typeof i){s=!1;break}c.has(r)?c=c.get(r):(o=new WeakMap,c.set(r,o),c=o)}return c.has(u)||((a=d()).isUniqueByDependants=s,c.set(u,a)),c.get(u)}:function(){return n},a.getDependants=t,a.clear=o,o(),a}u={},i="undefined"!=typeof WeakMap;var y=window.wp.keycodes;const g=[],v={display:y.displayShortcut,raw:y.rawShortcut,ariaLabel:y.shortcutAriaLabel};function S(e,t){return e?e.modifier?v[t][e.modifier](e.character):e.character:null}function w(e,t){return e[t]?e[t].keyCombination:null}function b(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"display";const r=w(e,t);return S(r,n)}function m(e,t){return e[t]?e[t].description:null}function R(e,t){return e[t]&&e[t].aliases?e[t].aliases:g}const C=h(((e,t)=>(0,a.compact)([w(e,t),...R(e,t)])),((e,t)=>[e[t]])),T=h(((e,t)=>C(e,t).map((e=>S(e,"raw")))),((e,t)=>[e[t]])),E=h(((e,t)=>Object.entries(e).filter((e=>{let[,n]=e;return n.category===t})).map((e=>{let[t]=e;return t}))),(e=>[e])),O=(0,o.createReduxStore)("core/keyboard-shortcuts",{reducer:c,actions:n,selectors:r});(0,o.register)(O);var k=window.wp.element;function D(){const{getAllShortcutKeyCombinations:e}=(0,o.useSelect)(O);return function(t,n){return e(t).some((e=>{let{modifier:t,character:r}=e;return y.isKeyboardEvent[t](n,r)}))}}const x=(0,k.createContext)();function U(e,t){let{isDisabled:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,k.useContext)(x),o=D(),a=(0,k.useRef)();a.current=t,(0,k.useEffect)((()=>{if(!n)return r.current.add(t),()=>{r.current.delete(t)};function t(t){o(e,t)&&a.current(t)}}),[e,n])}function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}const{Provider:K}=x;function _(e){const t=(0,k.useRef)(new Set);return(0,k.createElement)(K,{value:t},(0,k.createElement)("div",j({},e,{onKeyDown:function(n){e.onKeyDown&&e.onKeyDown(n);for(const e of t.current)e(n)}})))}(window.wp=window.wp||{}).keyboardShortcuts=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/keycodes.js b/wp-includes/js/dist/keycodes.js
index 8e990053ab..1a5c5b782e 100644
--- a/wp-includes/js/dist/keycodes.js
+++ b/wp-includes/js/dist/keycodes.js
@@ -1,148 +1,77 @@
-this["wp"] = this["wp"] || {}; this["wp"]["keycodes"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "z7pY");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "z7pY":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "BACKSPACE", function() { return /* binding */ BACKSPACE; });
-__webpack_require__.d(__webpack_exports__, "TAB", function() { return /* binding */ TAB; });
-__webpack_require__.d(__webpack_exports__, "ENTER", function() { return /* binding */ ENTER; });
-__webpack_require__.d(__webpack_exports__, "ESCAPE", function() { return /* binding */ ESCAPE; });
-__webpack_require__.d(__webpack_exports__, "SPACE", function() { return /* binding */ SPACE; });
-__webpack_require__.d(__webpack_exports__, "PAGEUP", function() { return /* binding */ PAGEUP; });
-__webpack_require__.d(__webpack_exports__, "PAGEDOWN", function() { return /* binding */ PAGEDOWN; });
-__webpack_require__.d(__webpack_exports__, "END", function() { return /* binding */ END; });
-__webpack_require__.d(__webpack_exports__, "HOME", function() { return /* binding */ HOME; });
-__webpack_require__.d(__webpack_exports__, "LEFT", function() { return /* binding */ LEFT; });
-__webpack_require__.d(__webpack_exports__, "UP", function() { return /* binding */ UP; });
-__webpack_require__.d(__webpack_exports__, "RIGHT", function() { return /* binding */ RIGHT; });
-__webpack_require__.d(__webpack_exports__, "DOWN", function() { return /* binding */ DOWN; });
-__webpack_require__.d(__webpack_exports__, "DELETE", function() { return /* binding */ DELETE; });
-__webpack_require__.d(__webpack_exports__, "F10", function() { return /* binding */ F10; });
-__webpack_require__.d(__webpack_exports__, "ALT", function() { return /* binding */ ALT; });
-__webpack_require__.d(__webpack_exports__, "CTRL", function() { return /* binding */ CTRL; });
-__webpack_require__.d(__webpack_exports__, "COMMAND", function() { return /* binding */ COMMAND; });
-__webpack_require__.d(__webpack_exports__, "SHIFT", function() { return /* binding */ SHIFT; });
-__webpack_require__.d(__webpack_exports__, "ZERO", function() { return /* binding */ ZERO; });
-__webpack_require__.d(__webpack_exports__, "modifiers", function() { return /* binding */ modifiers; });
-__webpack_require__.d(__webpack_exports__, "rawShortcut", function() { return /* binding */ rawShortcut; });
-__webpack_require__.d(__webpack_exports__, "displayShortcutList", function() { return /* binding */ displayShortcutList; });
-__webpack_require__.d(__webpack_exports__, "displayShortcut", function() { return /* binding */ displayShortcut; });
-__webpack_require__.d(__webpack_exports__, "shortcutAriaLabel", function() { return /* binding */ shortcutAriaLabel; });
-__webpack_require__.d(__webpack_exports__, "isKeyboardEvent", function() { return /* binding */ isKeyboardEvent; });
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/keycodes/build-module/platform.js
+__webpack_require__.d(__webpack_exports__, {
+  "ALT": function() { return /* binding */ ALT; },
+  "BACKSPACE": function() { return /* binding */ BACKSPACE; },
+  "COMMAND": function() { return /* binding */ COMMAND; },
+  "CTRL": function() { return /* binding */ CTRL; },
+  "DELETE": function() { return /* binding */ DELETE; },
+  "DOWN": function() { return /* binding */ DOWN; },
+  "END": function() { return /* binding */ END; },
+  "ENTER": function() { return /* binding */ ENTER; },
+  "ESCAPE": function() { return /* binding */ ESCAPE; },
+  "F10": function() { return /* binding */ F10; },
+  "HOME": function() { return /* binding */ HOME; },
+  "LEFT": function() { return /* binding */ LEFT; },
+  "PAGEDOWN": function() { return /* binding */ PAGEDOWN; },
+  "PAGEUP": function() { return /* binding */ PAGEUP; },
+  "RIGHT": function() { return /* binding */ RIGHT; },
+  "SHIFT": function() { return /* binding */ SHIFT; },
+  "SPACE": function() { return /* binding */ SPACE; },
+  "TAB": function() { return /* binding */ TAB; },
+  "UP": function() { return /* binding */ UP; },
+  "ZERO": function() { return /* binding */ ZERO; },
+  "displayShortcut": function() { return /* binding */ displayShortcut; },
+  "displayShortcutList": function() { return /* binding */ displayShortcutList; },
+  "isKeyboardEvent": function() { return /* binding */ isKeyboardEvent; },
+  "modifiers": function() { return /* binding */ modifiers; },
+  "rawShortcut": function() { return /* binding */ rawShortcut; },
+  "shortcutAriaLabel": function() { return /* binding */ shortcutAriaLabel; }
+});
+
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keycodes/build-module/platform.js
 /**
  * External dependencies
  */
@@ -169,10 +98,10 @@ function isAppleOS() {
   const {
     platform
   } = _window.navigator;
-  return platform.indexOf('Mac') !== -1 || Object(external_lodash_["includes"])(['iPad', 'iPhone'], platform);
+  return platform.indexOf('Mac') !== -1 || (0,external_lodash_namespaceObject.includes)(['iPad', 'iPhone'], platform);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/keycodes/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/keycodes/build-module/index.js
 /**
  * Note: The order of the modifier keys in many of the [foo]Shortcut()
  * functions in this file are intentional and should not be changed. They're
@@ -355,7 +284,7 @@ const modifiers = {
  *                                                 shortcuts.
  */

-const rawShortcut = Object(external_lodash_["mapValues"])(modifiers, modifier => {
+const rawShortcut = (0,external_lodash_namespaceObject.mapValues)(modifiers, modifier => {
   return (
     /** @type {WPKeyHandler<string>} */
     function (character) {
@@ -379,7 +308,7 @@ const rawShortcut = Object(external_lodash_["mapValues"])(modifiers, modifier =>
  *                                                   shortcut sequences.
  */

-const displayShortcutList = Object(external_lodash_["mapValues"])(modifiers, modifier => {
+const displayShortcutList = (0,external_lodash_namespaceObject.mapValues)(modifiers, modifier => {
   return (
     /** @type {WPKeyHandler<string[]>} */
     function (character) {
@@ -395,7 +324,7 @@ const displayShortcutList = Object(external_lodash_["mapValues"])(modifiers, mod
         [SHIFT]: isApple ? '⇧' : 'Shift'
       };
       const modifierKeys = modifier(_isApple).reduce((accumulator, key) => {
-        const replacementKey = Object(external_lodash_["get"])(replacementKeyMap, key, key); // If on the Mac, adhere to platform convention and don't show plus between keys.
+        const replacementKey = (0,external_lodash_namespaceObject.get)(replacementKeyMap, key, key); // If on the Mac, adhere to platform convention and don't show plus between keys.

         if (isApple) {
           return [...accumulator, replacementKey];
@@ -405,7 +334,7 @@ const displayShortcutList = Object(external_lodash_["mapValues"])(modifiers, mod
       },
       /** @type {string[]} */
       []);
-      const capitalizedCharacter = Object(external_lodash_["capitalize"])(character);
+      const capitalizedCharacter = (0,external_lodash_namespaceObject.capitalize)(character);
       return [...modifierKeys, capitalizedCharacter];
     }
   );
@@ -424,7 +353,7 @@ const displayShortcutList = Object(external_lodash_["mapValues"])(modifiers, mod
  *                                                 display shortcuts.
  */

-const displayShortcut = Object(external_lodash_["mapValues"])(displayShortcutList, shortcutList => {
+const displayShortcut = (0,external_lodash_namespaceObject.mapValues)(displayShortcutList, shortcutList => {
   return (
     /** @type {WPKeyHandler<string>} */
     function (character) {
@@ -449,7 +378,7 @@ const displayShortcut = Object(external_lodash_["mapValues"])(displayShortcutLis
  *                                                 shortcut ARIA labels.
  */

-const shortcutAriaLabel = Object(external_lodash_["mapValues"])(modifiers, modifier => {
+const shortcutAriaLabel = (0,external_lodash_namespaceObject.mapValues)(modifiers, modifier => {
   return (
     /** @type {WPKeyHandler<string>} */
     function (character) {
@@ -464,15 +393,15 @@ const shortcutAriaLabel = Object(external_lodash_["mapValues"])(modifiers, modif
         [ALT]: isApple ? 'Option' : 'Alt',

         /* translators: comma as in the character ',' */
-        ',': Object(external_wp_i18n_["__"])('Comma'),
+        ',': (0,external_wp_i18n_namespaceObject.__)('Comma'),

         /* translators: period as in the character '.' */
-        '.': Object(external_wp_i18n_["__"])('Period'),
+        '.': (0,external_wp_i18n_namespaceObject.__)('Period'),

         /* translators: backtick as in the character '`' */
-        '`': Object(external_wp_i18n_["__"])('Backtick')
+        '`': (0,external_wp_i18n_namespaceObject.__)('Backtick')
       };
-      return [...modifier(_isApple), character].map(key => Object(external_lodash_["capitalize"])(Object(external_lodash_["get"])(replacementKeyMap, key, key))).join(isApple ? ' ' : ' + ');
+      return [...modifier(_isApple), character].map(key => (0,external_lodash_namespaceObject.capitalize)((0,external_lodash_namespaceObject.get)(replacementKeyMap, key, key))).join(isApple ? ' ' : ' + ');
     }
   );
 });
@@ -509,7 +438,7 @@ function getEventModifiers(event) {
  */


-const isKeyboardEvent = Object(external_lodash_["mapValues"])(modifiers, getModifiers => {
+const isKeyboardEvent = (0,external_lodash_namespaceObject.mapValues)(modifiers, getModifiers => {
   return (
     /** @type {WPEventKeyHandler} */
     function (event, character) {
@@ -518,14 +447,14 @@ const isKeyboardEvent = Object(external_lodash_["mapValues"])(modifiers, getModi
       const mods = getModifiers(_isApple);
       const eventMods = getEventModifiers(event);

-      if (Object(external_lodash_["xor"])(mods, eventMods).length) {
+      if ((0,external_lodash_namespaceObject.xor)(mods, eventMods).length) {
         return false;
       }

       let key = event.key.toLowerCase();

       if (!character) {
-        return Object(external_lodash_["includes"])(mods, key);
+        return (0,external_lodash_namespaceObject.includes)(mods, key);
       }

       if (event.altKey && character.length === 1) {
@@ -542,7 +471,6 @@ const isKeyboardEvent = Object(external_lodash_["mapValues"])(modifiers, getModi
   );
 });

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).keycodes = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/keycodes.min.js b/wp-includes/js/dist/keycodes.min.js
index dfb7ab2906..6f8362db9c 100644
--- a/wp-includes/js/dist/keycodes.min.js
+++ b/wp-includes/js/dist/keycodes.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.keycodes=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s="z7pY")}({YLtl:function(t,n){t.exports=window.lodash},l3Sj:function(t,n){t.exports=window.wp.i18n},z7pY:function(t,n,e){"use strict";e.r(n),e.d(n,"BACKSPACE",(function(){return i})),e.d(n,"TAB",(function(){return c})),e.d(n,"ENTER",(function(){return f})),e.d(n,"ESCAPE",(function(){return l})),e.d(n,"SPACE",(function(){return d})),e.d(n,"PAGEUP",(function(){return a})),e.d(n,"PAGEDOWN",(function(){return s})),e.d(n,"END",(function(){return p})),e.d(n,"HOME",(function(){return b})),e.d(n,"LEFT",(function(){return O})),e.d(n,"UP",(function(){return j})),e.d(n,"RIGHT",(function(){return h})),e.d(n,"DOWN",(function(){return y})),e.d(n,"DELETE",(function(){return m})),e.d(n,"F10",(function(){return S})),e.d(n,"ALT",(function(){return g})),e.d(n,"CTRL",(function(){return w})),e.d(n,"COMMAND",(function(){return C})),e.d(n,"SHIFT",(function(){return v})),e.d(n,"ZERO",(function(){return E})),e.d(n,"modifiers",(function(){return P})),e.d(n,"rawShortcut",(function(){return A})),e.d(n,"displayShortcutList",(function(){return L})),e.d(n,"displayShortcut",(function(){return _})),e.d(n,"shortcutAriaLabel",(function(){return T})),e.d(n,"isKeyboardEvent",(function(){return M}));var r=e("YLtl"),o=e("l3Sj");function u(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t){if("undefined"==typeof window)return!1;t=window}const{platform:n}=t.navigator;return-1!==n.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],n)}const i=8,c=9,f=13,l=27,d=32,a=33,s=34,p=35,b=36,O=37,j=38,h=39,y=40,m=46,S=121,g="alt",w="ctrl",C="meta",v="shift",E=48,P={primary:t=>t()?[C]:[w],primaryShift:t=>t()?[v,C]:[w,v],primaryAlt:t=>t()?[g,C]:[w,g],secondary:t=>t()?[v,g,C]:[w,v,g],access:t=>t()?[w,g]:[v,g],ctrl:()=>[w],alt:()=>[g],ctrlShift:()=>[w,v],shift:()=>[v],shiftAlt:()=>[v,g],undefined:()=>[]},A=Object(r.mapValues)(P,t=>function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;return[...t(e),n.toLowerCase()].join("+")}),L=Object(r.mapValues)(P,t=>function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;const o=e(),i={[g]:o?"⌥":"Alt",[w]:o?"⌃":"Ctrl",[C]:"⌘",[v]:o?"⇧":"Shift"},c=t(e).reduce((t,n)=>{const e=Object(r.get)(i,n,n);return o?[...t,e]:[...t,e,"+"]},[]),f=Object(r.capitalize)(n);return[...c,f]}),_=Object(r.mapValues)(L,t=>function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;return t(n,e).join("")}),T=Object(r.mapValues)(P,t=>function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;const i=e(),c={[v]:"Shift",[C]:i?"Command":"Control",[w]:"Control",[g]:i?"Option":"Alt",",":Object(o.__)("Comma"),".":Object(o.__)("Period"),"`":Object(o.__)("Backtick")};return[...t(e),n].map(t=>Object(r.capitalize)(Object(r.get)(c,t,t))).join(i?" ":" + ")});function x(t){return[g,w,C,v].filter(n=>t[n+"Key"])}const M=Object(r.mapValues)(P,t=>function(n,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;const i=t(o),c=x(n);if(Object(r.xor)(i,c).length)return!1;let f=n.key.toLowerCase();return e?(n.altKey&&1===e.length&&(f=String.fromCharCode(n.keyCode).toLowerCase()),"del"===e&&(e="delete"),f===e.toLowerCase()):Object(r.includes)(i,f)})}});
\ No newline at end of file
+!function(){"use strict";var n={d:function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r:function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}},t={};n.r(t),n.d(t,{ALT:function(){return S},BACKSPACE:function(){return i},COMMAND:function(){return A},CTRL:function(){return E},DELETE:function(){return C},DOWN:function(){return w},END:function(){return s},ENTER:function(){return c},ESCAPE:function(){return f},F10:function(){return g},HOME:function(){return p},LEFT:function(){return h},PAGEDOWN:function(){return d},PAGEUP:function(){return a},RIGHT:function(){return m},SHIFT:function(){return P},SPACE:function(){return l},TAB:function(){return u},UP:function(){return y},ZERO:function(){return v},displayShortcut:function(){return T},displayShortcutList:function(){return L},isKeyboardEvent:function(){return M},modifiers:function(){return O},rawShortcut:function(){return b},shortcutAriaLabel:function(){return _}});var e=window.lodash,r=window.wp.i18n;function o(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!n){if("undefined"==typeof window)return!1;n=window}const{platform:t}=n.navigator;return-1!==t.indexOf("Mac")||(0,e.includes)(["iPad","iPhone"],t)}const i=8,u=9,c=13,f=27,l=32,a=33,d=34,s=35,p=36,h=37,y=38,m=39,w=40,C=46,g=121,S="alt",E="ctrl",A="meta",P="shift",v=48,O={primary:n=>n()?[A]:[E],primaryShift:n=>n()?[P,A]:[E,P],primaryAlt:n=>n()?[S,A]:[E,S],secondary:n=>n()?[P,S,A]:[E,P,S],access:n=>n()?[E,S]:[P,S],ctrl:()=>[E],alt:()=>[S],ctrlShift:()=>[E,P],shift:()=>[P],shiftAlt:()=>[P,S],undefined:()=>[]},b=(0,e.mapValues)(O,(n=>function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return[...n(e),t.toLowerCase()].join("+")})),L=(0,e.mapValues)(O,(n=>function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const i=r(),u={[S]:i?"⌥":"Alt",[E]:i?"⌃":"Ctrl",[A]:"⌘",[P]:i?"⇧":"Shift"},c=n(r).reduce(((n,t)=>{const r=(0,e.get)(u,t,t);return i?[...n,r]:[...n,r,"+"]}),[]),f=(0,e.capitalize)(t);return[...c,f]})),T=(0,e.mapValues)(L,(n=>function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return n(t,e).join("")})),_=(0,e.mapValues)(O,(n=>function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const u=i(),c={[P]:"Shift",[A]:u?"Command":"Control",[E]:"Control",[S]:u?"Option":"Alt",",":(0,r.__)("Comma"),".":(0,r.__)("Period"),"`":(0,r.__)("Backtick")};return[...n(i),t].map((n=>(0,e.capitalize)((0,e.get)(c,n,n)))).join(u?" ":" + ")}));function j(n){return[S,E,A,P].filter((t=>n[`${t}Key`]))}const M=(0,e.mapValues)(O,(n=>function(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;const u=n(i),c=j(t);if((0,e.xor)(u,c).length)return!1;let f=t.key.toLowerCase();return r?(t.altKey&&1===r.length&&(f=String.fromCharCode(t.keyCode).toLowerCase()),"del"===r&&(r="delete"),f===r.toLowerCase()):(0,e.includes)(u,f)}));(window.wp=window.wp||{}).keycodes=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/list-reusable-blocks.js b/wp-includes/js/dist/list-reusable-blocks.js
index a4551acf35..8055b42727 100644
--- a/wp-includes/js/dist/list-reusable-blocks.js
+++ b/wp-includes/js/dist/list-reusable-blocks.js
@@ -1,127 +1,64 @@
-this["wp"] = this["wp"] || {}; this["wp"]["listReusableBlocks"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "SdGz");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "SdGz":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/file.js
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/file.js
 /**
  * Downloads a file.
  *
@@ -165,7 +102,7 @@ function readTextFile(file) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/export.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/export.js
 /**
  * External dependencies
  */
@@ -200,19 +137,17 @@ async function exportReusableBlock(id) {
     title,
     content
   }, null, 2);
-  const fileName = Object(external_lodash_["kebabCase"])(title) + '.json';
+  const fileName = (0,external_lodash_namespaceObject.kebabCase)(title) + '.json';
   download(fileName, fileContent, 'application/json');
 }

 /* harmony default export */ var utils_export = (exportReusableBlock);

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/import.js
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/utils/import.js
 /**
  * External dependencies
  */
@@ -244,7 +179,7 @@ async function importReusableBlock(file) {
     throw new Error('Invalid JSON file');
   }

-  if (parsedContent.__file !== 'wp_block' || !parsedContent.title || !parsedContent.content || !Object(external_lodash_["isString"])(parsedContent.title) || !Object(external_lodash_["isString"])(parsedContent.content)) {
+  if (parsedContent.__file !== 'wp_block' || !parsedContent.title || !parsedContent.content || !(0,external_lodash_namespaceObject.isString)(parsedContent.title) || !(0,external_lodash_namespaceObject.isString)(parsedContent.content)) {
     throw new Error('Invalid Reusable block JSON file');
   }

@@ -265,7 +200,7 @@ async function importReusableBlock(file) {

 /* harmony default export */ var utils_import = (importReusableBlock);

-// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/components/import-form/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/components/import-form/index.js


 /**
@@ -281,7 +216,7 @@ async function importReusableBlock(file) {



-class import_form_ImportForm extends external_wp_element_["Component"] {
+class ImportForm extends external_wp_element_namespaceObject.Component {
   constructor() {
     super(...arguments);
     this.state = {
@@ -339,15 +274,15 @@ class import_form_ImportForm extends external_wp_element_["Component"] {

       switch (error.message) {
         case 'Invalid JSON file':
-          uiMessage = Object(external_wp_i18n_["__"])('Invalid JSON file');
+          uiMessage = (0,external_wp_i18n_namespaceObject.__)('Invalid JSON file');
           break;

         case 'Invalid Reusable block JSON file':
-          uiMessage = Object(external_wp_i18n_["__"])('Invalid Reusable block JSON file');
+          uiMessage = (0,external_wp_i18n_namespaceObject.__)('Invalid Reusable block JSON file');
           break;

         default:
-          uiMessage = Object(external_wp_i18n_["__"])('Unknown error');
+          uiMessage = (0,external_wp_i18n_namespaceObject.__)('Unknown error');
       }

       this.setState({
@@ -373,33 +308,33 @@ class import_form_ImportForm extends external_wp_element_["Component"] {
       error
     } = this.state;
     const inputId = 'list-reusable-blocks-import-form-' + instanceId;
-    return Object(external_wp_element_["createElement"])("form", {
+    return (0,external_wp_element_namespaceObject.createElement)("form", {
       className: "list-reusable-blocks-import-form",
       onSubmit: this.onSubmit
-    }, error && Object(external_wp_element_["createElement"])(external_wp_components_["Notice"], {
+    }, error && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Notice, {
       status: "error",
       onRemove: () => this.onDismissError()
-    }, error), Object(external_wp_element_["createElement"])("label", {
+    }, error), (0,external_wp_element_namespaceObject.createElement)("label", {
       htmlFor: inputId,
       className: "list-reusable-blocks-import-form__label"
-    }, Object(external_wp_i18n_["__"])('File')), Object(external_wp_element_["createElement"])("input", {
+    }, (0,external_wp_i18n_namespaceObject.__)('File')), (0,external_wp_element_namespaceObject.createElement)("input", {
       id: inputId,
       type: "file",
       onChange: this.onChangeFile
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       type: "submit",
       isBusy: isLoading,
       disabled: !file || isLoading,
       variant: "secondary",
       className: "list-reusable-blocks-import-form__button"
-    }, Object(external_wp_i18n_["_x"])('Import', 'button label')));
+    }, (0,external_wp_i18n_namespaceObject._x)('Import', 'button label')));
   }

 }

-/* harmony default export */ var import_form = (Object(external_wp_compose_["withInstanceId"])(import_form_ImportForm));
+/* harmony default export */ var import_form = ((0,external_wp_compose_namespaceObject.withInstanceId)(ImportForm));

-// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/components/import-dropdown/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/components/import-dropdown/index.js


 /**
@@ -422,7 +357,7 @@ function ImportDropdown(_ref) {
   let {
     onUpload
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Dropdown"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Dropdown, {
     position: "bottom right",
     contentClassName: "list-reusable-blocks-import-dropdown__content",
     renderToggle: _ref2 => {
@@ -430,18 +365,18 @@ function ImportDropdown(_ref) {
         isOpen,
         onToggle
       } = _ref2;
-      return Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+      return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
         "aria-expanded": isOpen,
         onClick: onToggle,
         variant: "primary"
-      }, Object(external_wp_i18n_["__"])('Import from JSON'));
+      }, (0,external_wp_i18n_namespaceObject.__)('Import from JSON'));
     },
     renderContent: _ref3 => {
       let {
         onClose
       } = _ref3;
-      return Object(external_wp_element_["createElement"])(import_form, {
-        onUpload: Object(external_lodash_["flow"])(onClose, onUpload)
+      return (0,external_wp_element_namespaceObject.createElement)(import_form, {
+        onUpload: (0,external_lodash_namespaceObject.flow)(onClose, onUpload)
       });
     }
   });
@@ -449,7 +384,7 @@ function ImportDropdown(_ref) {

 /* harmony default export */ var import_dropdown = (ImportDropdown);

-// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/list-reusable-blocks/build-module/index.js


 /**
@@ -483,7 +418,7 @@ document.addEventListener('DOMContentLoaded', () => {
   const showNotice = () => {
     const notice = document.createElement('div');
     notice.className = 'notice notice-success is-dismissible';
-    notice.innerHTML = `<p>${Object(external_wp_i18n_["__"])('Reusable block imported successfully!')}</p>`;
+    notice.innerHTML = `<p>${(0,external_wp_i18n_namespaceObject.__)('Reusable block imported successfully!')}</p>`;
     const headerEnd = document.querySelector('.wp-header-end');

     if (!headerEnd) {
@@ -496,40 +431,11 @@ document.addEventListener('DOMContentLoaded', () => {
   const container = document.createElement('div');
   container.className = 'list-reusable-blocks__container';
   button.parentNode.insertBefore(container, button);
-  Object(external_wp_element_["render"])(Object(external_wp_element_["createElement"])(import_dropdown, {
+  (0,external_wp_element_namespaceObject.render)((0,external_wp_element_namespaceObject.createElement)(import_dropdown, {
     onUpload: showNotice
   }), container);
 });

-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "tI+e":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["components"]; }());
-
-/***/ }),
-
-/***/ "ywyh":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["apiFetch"]; }());
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).listReusableBlocks = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/list-reusable-blocks.min.js b/wp-includes/js/dist/list-reusable-blocks.min.js
index 5c72eb46f2..214664f537 100644
--- a/wp-includes/js/dist/list-reusable-blocks.min.js
+++ b/wp-includes/js/dist/list-reusable-blocks.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.listReusableBlocks=function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));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="SdGz")}({GRId:function(e,t){e.exports=window.wp.element},K9lf:function(e,t){e.exports=window.wp.compose},SdGz:function(e,t,n){"use strict";n.r(t);var o=n("GRId"),i=n("l3Sj"),r=n("YLtl"),s=n("ywyh"),l=n.n(s);var a=async function(e){const t=await l()({path:"/wp/v2/types/wp_block"}),n=await l()({path:`/wp/v2/${t.rest_base}/${e}?context=edit`}),o=n.title.raw,i=n.content.raw,s=JSON.stringify({__file:"wp_block",title:o,content:i},null,2);!function(e,t,n){const o=new window.Blob([t],{type:n});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(o,e);else{const t=document.createElement("a");t.href=URL.createObjectURL(o),t.download=e,t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}}(Object(r.kebabCase)(o)+".json",s,"application/json")},c=n("tI+e"),u=n("K9lf");var d=async function(e){const t=await function(e){const t=new window.FileReader;return new Promise(n=>{t.onload=()=>{n(t.result)},t.readAsText(e)})}(e);let n;try{n=JSON.parse(t)}catch(e){throw new Error("Invalid JSON file")}if(!("wp_block"===n.__file&&n.title&&n.content&&Object(r.isString)(n.title)&&Object(r.isString)(n.content)))throw new Error("Invalid Reusable block JSON file");const o=await l()({path:"/wp/v2/types/wp_block"});return await l()({path:"/wp/v2/"+o.rest_base,data:{title:n.title,content:n.content,status:"publish"},method:"POST"})};class p extends o.Component{constructor(){super(...arguments),this.state={isLoading:!1,error:null,file:null},this.isStillMounted=!0,this.onChangeFile=this.onChangeFile.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentWillUnmount(){this.isStillMounted=!1}onChangeFile(e){this.setState({file:e.target.files[0],error:null})}onSubmit(e){e.preventDefault();const{file:t}=this.state,{onUpload:n}=this.props;t&&(this.setState({isLoading:!0}),d(t).then(e=>{this.isStillMounted&&(this.setState({isLoading:!1}),n(e))}).catch(e=>{if(!this.isStillMounted)return;let t;switch(e.message){case"Invalid JSON file":t=Object(i.__)("Invalid JSON file");break;case"Invalid Reusable block JSON file":t=Object(i.__)("Invalid Reusable block JSON file");break;default:t=Object(i.__)("Unknown error")}this.setState({isLoading:!1,error:t})}))}onDismissError(){this.setState({error:null})}render(){const{instanceId:e}=this.props,{file:t,isLoading:n,error:r}=this.state,s="list-reusable-blocks-import-form-"+e;return Object(o.createElement)("form",{className:"list-reusable-blocks-import-form",onSubmit:this.onSubmit},r&&Object(o.createElement)(c.Notice,{status:"error",onRemove:()=>this.onDismissError()},r),Object(o.createElement)("label",{htmlFor:s,className:"list-reusable-blocks-import-form__label"},Object(i.__)("File")),Object(o.createElement)("input",{id:s,type:"file",onChange:this.onChangeFile}),Object(o.createElement)(c.Button,{type:"submit",isBusy:n,disabled:!t||n,variant:"secondary",className:"list-reusable-blocks-import-form__button"},Object(i._x)("Import","button label")))}}var b=Object(u.withInstanceId)(p);var f=function(e){let{onUpload:t}=e;return Object(o.createElement)(c.Dropdown,{position:"bottom right",contentClassName:"list-reusable-blocks-import-dropdown__content",renderToggle:e=>{let{isOpen:t,onToggle:n}=e;return Object(o.createElement)(c.Button,{"aria-expanded":t,onClick:n,variant:"primary"},Object(i.__)("Import from JSON"))},renderContent:e=>{let{onClose:n}=e;return Object(o.createElement)(b,{onUpload:Object(r.flow)(n,t)})}})};document.body.addEventListener("click",e=>{e.target.classList.contains("wp-list-reusable-blocks__export")&&(e.preventDefault(),a(e.target.dataset.id))}),document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector(".page-title-action");if(!e)return;const t=document.createElement("div");t.className="list-reusable-blocks__container",e.parentNode.insertBefore(t,e),Object(o.render)(Object(o.createElement)(f,{onUpload:()=>{const e=document.createElement("div");e.className="notice notice-success is-dismissible",e.innerHTML=`<p>${Object(i.__)("Reusable block imported successfully!")}</p>`;const t=document.querySelector(".wp-header-end");t&&t.parentNode.insertBefore(e,t)}}),t)})},YLtl:function(e,t){e.exports=window.lodash},l3Sj:function(e,t){e.exports=window.wp.i18n},"tI+e":function(e,t){e.exports=window.wp.components},ywyh:function(e,t){e.exports=window.wp.apiFetch}});
\ No newline at end of file
+!function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t);var n=window.wp.element,o=window.wp.i18n,i=window.lodash,r=window.wp.apiFetch,s=e.n(r);var a=async function(e){const t=await s()({path:"/wp/v2/types/wp_block"}),n=await s()({path:`/wp/v2/${t.rest_base}/${e}?context=edit`}),o=n.title.raw,r=n.content.raw,a=JSON.stringify({__file:"wp_block",title:o,content:r},null,2);!function(e,t,n){const o=new window.Blob([t],{type:n});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(o,e);else{const t=document.createElement("a");t.href=URL.createObjectURL(o),t.download=e,t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}}((0,i.kebabCase)(o)+".json",a,"application/json")},l=window.wp.components,c=window.wp.compose;var d=async function(e){const t=await function(e){const t=new window.FileReader;return new Promise((n=>{t.onload=()=>{n(t.result)},t.readAsText(e)}))}(e);let n;try{n=JSON.parse(t)}catch(e){throw new Error("Invalid JSON file")}if(!("wp_block"===n.__file&&n.title&&n.content&&(0,i.isString)(n.title)&&(0,i.isString)(n.content)))throw new Error("Invalid Reusable block JSON file");const o=await s()({path:"/wp/v2/types/wp_block"});return await s()({path:`/wp/v2/${o.rest_base}`,data:{title:n.title,content:n.content,status:"publish"},method:"POST"})};class u extends n.Component{constructor(){super(...arguments),this.state={isLoading:!1,error:null,file:null},this.isStillMounted=!0,this.onChangeFile=this.onChangeFile.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentWillUnmount(){this.isStillMounted=!1}onChangeFile(e){this.setState({file:e.target.files[0],error:null})}onSubmit(e){e.preventDefault();const{file:t}=this.state,{onUpload:n}=this.props;t&&(this.setState({isLoading:!0}),d(t).then((e=>{this.isStillMounted&&(this.setState({isLoading:!1}),n(e))})).catch((e=>{if(!this.isStillMounted)return;let t;switch(e.message){case"Invalid JSON file":t=(0,o.__)("Invalid JSON file");break;case"Invalid Reusable block JSON file":t=(0,o.__)("Invalid Reusable block JSON file");break;default:t=(0,o.__)("Unknown error")}this.setState({isLoading:!1,error:t})})))}onDismissError(){this.setState({error:null})}render(){const{instanceId:e}=this.props,{file:t,isLoading:i,error:r}=this.state,s="list-reusable-blocks-import-form-"+e;return(0,n.createElement)("form",{className:"list-reusable-blocks-import-form",onSubmit:this.onSubmit},r&&(0,n.createElement)(l.Notice,{status:"error",onRemove:()=>this.onDismissError()},r),(0,n.createElement)("label",{htmlFor:s,className:"list-reusable-blocks-import-form__label"},(0,o.__)("File")),(0,n.createElement)("input",{id:s,type:"file",onChange:this.onChangeFile}),(0,n.createElement)(l.Button,{type:"submit",isBusy:i,disabled:!t||i,variant:"secondary",className:"list-reusable-blocks-import-form__button"},(0,o._x)("Import","button label")))}}var p=(0,c.withInstanceId)(u);var m=function(e){let{onUpload:t}=e;return(0,n.createElement)(l.Dropdown,{position:"bottom right",contentClassName:"list-reusable-blocks-import-dropdown__content",renderToggle:e=>{let{isOpen:t,onToggle:i}=e;return(0,n.createElement)(l.Button,{"aria-expanded":t,onClick:i,variant:"primary"},(0,o.__)("Import from JSON"))},renderContent:e=>{let{onClose:o}=e;return(0,n.createElement)(p,{onUpload:(0,i.flow)(o,t)})}})};document.body.addEventListener("click",(e=>{e.target.classList.contains("wp-list-reusable-blocks__export")&&(e.preventDefault(),a(e.target.dataset.id))})),document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelector(".page-title-action");if(!e)return;const t=document.createElement("div");t.className="list-reusable-blocks__container",e.parentNode.insertBefore(t,e),(0,n.render)((0,n.createElement)(m,{onUpload:()=>{const e=document.createElement("div");e.className="notice notice-success is-dismissible",e.innerHTML=`<p>${(0,o.__)("Reusable block imported successfully!")}</p>`;const t=document.querySelector(".wp-header-end");t&&t.parentNode.insertBefore(e,t)}}),t)})),(window.wp=window.wp||{}).listReusableBlocks=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/media-utils.js b/wp-includes/js/dist/media-utils.js
index 70ea0d9af0..cdc18b5a91 100644
--- a/wp-includes/js/dist/media-utils.js
+++ b/wp-includes/js/dist/media-utils.js
@@ -1,120 +1,67 @@
-this["wp"] = this["wp"] || {}; this["wp"]["mediaUtils"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "Lb+8");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "Lb+8":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "MediaUpload", function() { return /* reexport */ media_upload; });
-__webpack_require__.d(__webpack_exports__, "uploadMedia", function() { return /* reexport */ uploadMedia; });
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/components/media-upload/index.js
+__webpack_require__.d(__webpack_exports__, {
+  "MediaUpload": function() { return /* reexport */ media_upload; },
+  "uploadMedia": function() { return /* reexport */ uploadMedia; }
+});
+
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/components/media-upload/index.js
 /**
  * External dependencies
  */
@@ -266,7 +213,7 @@ const getGalleryDetailsMediaFrame = () => {
         filterable: 'uploaded',
         multiple: 'add',
         editable: false,
-        library: wp.media.query(Object(external_lodash_["defaults"])({
+        library: wp.media.query((0,external_lodash_namespaceObject.defaults)({
           type: 'image'
         }, this.options.library))
       }), new wp.media.controller.EditImage({
@@ -286,7 +233,7 @@ const getGalleryDetailsMediaFrame = () => {

 const slimImageObject = img => {
   const attrSet = ['sizes', 'mime', 'type', 'subtype', 'id', 'url', 'alt', 'link', 'caption'];
-  return Object(external_lodash_["pick"])(img, attrSet);
+  return (0,external_lodash_namespaceObject.pick)(img, attrSet);
 };

 const getAttachmentsCollection = ids => {
@@ -300,7 +247,7 @@ const getAttachmentsCollection = ids => {
   });
 };

-class media_upload_MediaUpload extends external_wp_element_["Component"] {
+class MediaUpload extends external_wp_element_namespaceObject.Component {
   constructor(_ref) {
     let {
       allowedTypes,
@@ -308,7 +255,7 @@ class media_upload_MediaUpload extends external_wp_element_["Component"] {
       unstableFeaturedImageFlow = false,
       modalClass,
       multiple = false,
-      title = Object(external_wp_i18n_["__"])('Select or Upload Media')
+      title = (0,external_wp_i18n_namespaceObject.__)('Select or Upload Media')
     } = _ref;
     super(...arguments);
     this.openModal = this.openModal.bind(this);
@@ -477,13 +424,13 @@ class media_upload_MediaUpload extends external_wp_element_["Component"] {
     const selection = this.frame.state().get('selection');

     if (!isGallery) {
-      Object(external_lodash_["castArray"])(this.props.value).forEach(id => {
+      (0,external_lodash_namespaceObject.castArray)(this.props.value).forEach(id => {
         selection.add(wp.media.attachment(id));
       });
     } // Load the images so they are available in the media modal.


-    const attachments = getAttachmentsCollection(Object(external_lodash_["castArray"])(this.props.value)); // Once attachments are loaded, set the current selection.
+    const attachments = getAttachmentsCollection((0,external_lodash_namespaceObject.castArray)(this.props.value)); // Once attachments are loaded, set the current selection.

     attachments.more().done(function () {
       var _attachments$models;
@@ -534,19 +481,17 @@ class media_upload_MediaUpload extends external_wp_element_["Component"] {

 }

-/* harmony default export */ var media_upload = (media_upload_MediaUpload);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/components/index.js
-
+/* harmony default export */ var media_upload = (MediaUpload);

-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/components/index.js

-// EXTERNAL MODULE: external ["wp","blob"]
-var external_wp_blob_ = __webpack_require__("xTGt");

-// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/utils/upload-media.js
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","blob"]
+var external_wp_blob_namespaceObject = window["wp"]["blob"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/utils/upload-media.js


 /**
@@ -579,10 +524,10 @@ function getMimeTypesArray(wpMimeTypesObject) {
     return wpMimeTypesObject;
   }

-  return Object(external_lodash_["flatMap"])(wpMimeTypesObject, (mime, extensionsString) => {
+  return (0,external_lodash_namespaceObject.flatMap)(wpMimeTypesObject, (mime, extensionsString) => {
     const [type] = mime.split('/');
     const extensions = extensionsString.split('|');
-    return [mime, ...Object(external_lodash_["map"])(extensions, extension => `${type}/${extension}`)];
+    return [mime, ...(0,external_lodash_namespaceObject.map)(extensions, extension => `${type}/${extension}`)];
   });
 }
 /**
@@ -607,7 +552,7 @@ async function uploadMedia(_ref) {
     additionalData = {},
     filesList,
     maxUploadFileSize,
-    onError = external_lodash_["noop"],
+    onError = external_lodash_namespaceObject.noop,
     onFileChange,
     wpAllowedMimeTypes = null
   } = _ref;
@@ -616,9 +561,9 @@ async function uploadMedia(_ref) {
   const filesSet = [];

   const setAndUpdateFiles = (idx, value) => {
-    Object(external_wp_blob_["revokeBlobURL"])(Object(external_lodash_["get"])(filesSet, [idx, 'url']));
+    (0,external_wp_blob_namespaceObject.revokeBlobURL)((0,external_lodash_namespaceObject.get)(filesSet, [idx, 'url']));
     filesSet[idx] = value;
-    onFileChange(Object(external_lodash_["compact"])(filesSet));
+    onFileChange((0,external_lodash_namespaceObject.compact)(filesSet));
   }; // Allowed type specified by consumer


@@ -627,14 +572,14 @@ async function uploadMedia(_ref) {
       return true;
     }

-    return Object(external_lodash_["some"])(allowedTypes, allowedType => {
+    return (0,external_lodash_namespaceObject.some)(allowedTypes, allowedType => {
       // If a complete mimetype is specified verify if it matches exactly the mime type of the file.
-      if (Object(external_lodash_["includes"])(allowedType, '/')) {
+      if ((0,external_lodash_namespaceObject.includes)(allowedType, '/')) {
         return allowedType === fileType;
       } // Otherwise a general mime type is used and we should verify if the file mimetype starts with it.


-      return Object(external_lodash_["startsWith"])(fileType, `${allowedType}/`);
+      return (0,external_lodash_namespaceObject.startsWith)(fileType, `${allowedType}/`);
     });
   }; // Allowed types for the current WP_User

@@ -642,12 +587,12 @@ async function uploadMedia(_ref) {
   const allowedMimeTypesForUser = getMimeTypesArray(wpAllowedMimeTypes);

   const isAllowedMimeTypeForUser = fileType => {
-    return Object(external_lodash_["includes"])(allowedMimeTypesForUser, fileType);
+    return (0,external_lodash_namespaceObject.includes)(allowedMimeTypesForUser, fileType);
   }; // Build the error message including the filename


   const triggerError = error => {
-    error.message = [Object(external_wp_element_["createElement"])("strong", {
+    error.message = [(0,external_wp_element_namespaceObject.createElement)("strong", {
       key: "filename"
     }, error.file.name), ': ', error.message];
     onError(error);
@@ -661,7 +606,7 @@ async function uploadMedia(_ref) {
     if (allowedMimeTypesForUser && mediaFile.type && !isAllowedMimeTypeForUser(mediaFile.type)) {
       triggerError({
         code: 'MIME_TYPE_NOT_ALLOWED_FOR_USER',
-        message: Object(external_wp_i18n_["__"])('Sorry, you are not allowed to upload this file type.'),
+        message: (0,external_wp_i18n_namespaceObject.__)('Sorry, you are not allowed to upload this file type.'),
         file: mediaFile
       });
       continue;
@@ -672,7 +617,7 @@ async function uploadMedia(_ref) {
     if (mediaFile.type && !isAllowedType(mediaFile.type)) {
       triggerError({
         code: 'MIME_TYPE_NOT_SUPPORTED',
-        message: Object(external_wp_i18n_["__"])('Sorry, this file type is not supported here.'),
+        message: (0,external_wp_i18n_namespaceObject.__)('Sorry, this file type is not supported here.'),
         file: mediaFile
       });
       continue;
@@ -682,7 +627,7 @@ async function uploadMedia(_ref) {
     if (maxUploadFileSize && mediaFile.size > maxUploadFileSize) {
       triggerError({
         code: 'SIZE_ABOVE_LIMIT',
-        message: Object(external_wp_i18n_["__"])('This file exceeds the maximum upload size for this site.'),
+        message: (0,external_wp_i18n_namespaceObject.__)('This file exceeds the maximum upload size for this site.'),
         file: mediaFile
       });
       continue;
@@ -692,7 +637,7 @@ async function uploadMedia(_ref) {
     if (mediaFile.size <= 0) {
       triggerError({
         code: 'EMPTY_FILE',
-        message: Object(external_wp_i18n_["__"])('This file is empty.'),
+        message: (0,external_wp_i18n_namespaceObject.__)('This file is empty.'),
         file: mediaFile
       });
       continue;
@@ -702,7 +647,7 @@ async function uploadMedia(_ref) {
     // with final file from media gallery when upload is `done` below

     filesSet.push({
-      url: Object(external_wp_blob_["createBlobURL"])(mediaFile)
+      url: (0,external_wp_blob_namespaceObject.createBlobURL)(mediaFile)
     });
     onFileChange(filesSet);
   }
@@ -712,9 +657,9 @@ async function uploadMedia(_ref) {

     try {
       const savedMedia = await createMediaFromFile(mediaFile, additionalData);
-      const mediaObject = { ...Object(external_lodash_["omit"])(savedMedia, ['alt_text', 'source_url']),
+      const mediaObject = { ...(0,external_lodash_namespaceObject.omit)(savedMedia, ['alt_text', 'source_url']),
         alt: savedMedia.alt_text,
-        caption: Object(external_lodash_["get"])(savedMedia, ['caption', 'raw'], ''),
+        caption: (0,external_lodash_namespaceObject.get)(savedMedia, ['caption', 'raw'], ''),
         title: savedMedia.title.raw,
         url: savedMedia.source_url
       };
@@ -724,11 +669,11 @@ async function uploadMedia(_ref) {
       setAndUpdateFiles(idx, null);
       let message;

-      if (Object(external_lodash_["has"])(error, ['message'])) {
-        message = Object(external_lodash_["get"])(error, ['message']);
+      if ((0,external_lodash_namespaceObject.has)(error, ['message'])) {
+        message = (0,external_lodash_namespaceObject.get)(error, ['message']);
       } else {
-        message = Object(external_wp_i18n_["sprintf"])( // translators: %s: file name
-        Object(external_wp_i18n_["__"])('Error while uploading file %s to the media library.'), mediaFile.name);
+        message = (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: file name
+        (0,external_wp_i18n_namespaceObject.__)('Error while uploading file %s to the media library.'), mediaFile.name);
       }

       onError({
@@ -750,7 +695,7 @@ function createMediaFromFile(file, additionalData) {
   // Create upload payload
   const data = new window.FormData();
   data.append('file', file, file.name || file.type.replace('/', '.'));
-  Object(external_lodash_["forEach"])(additionalData, (value, key) => data.append(key, value));
+  (0,external_lodash_namespaceObject.forEach)(additionalData, (value, key) => data.append(key, value));
   return external_wp_apiFetch_default()({
     path: '/wp/v2/media',
     body: data,
@@ -758,42 +703,13 @@ function createMediaFromFile(file, additionalData) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/utils/index.js
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/index.js
-
-
-
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "xTGt":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blob"]; }());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/utils/index.js

-/***/ }),

-/***/ "ywyh":
-/***/ (function(module, exports) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/media-utils/build-module/index.js

-(function() { module.exports = window["wp"]["apiFetch"]; }());

-/***/ })

-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).mediaUtils = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/media-utils.min.js b/wp-includes/js/dist/media-utils.min.js
index c38a4a1749..c32c7d5880 100644
--- a/wp-includes/js/dist/media-utils.min.js
+++ b/wp-includes/js/dist/media-utils.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.mediaUtils=function(e){var t={};function i(o){if(t[o])return t[o].exports;var l=t[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=e,i.c=t,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)i.d(o,l,function(t){return e[t]}.bind(null,l));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s="Lb+8")}({GRId:function(e,t){e.exports=window.wp.element},"Lb+8":function(e,t,i){"use strict";i.r(t),i.d(t,"MediaUpload",(function(){return u})),i.d(t,"uploadMedia",(function(){return g}));var o=i("YLtl"),l=i("GRId"),a=i("l3Sj");const{wp:r}=window,s=[],n=()=>r.media.view.MediaFrame.Select.extend({featuredImageToolbar(e){this.createSelectToolbar(e,{text:r.media.view.l10n.setFeaturedImage,state:this.options.state})},editState(){const e=this.state("featured-image").get("selection"),t=new r.media.view.EditImage({model:e.single(),controller:this}).render();this.content.set(t),t.loadEditor()},createStates:function(){this.on("toolbar:create:featured-image",this.featuredImageToolbar,this),this.on("content:render:edit-image",this.editState,this),this.states.add([new r.media.controller.FeaturedImage,new r.media.controller.EditImage({model:this.options.editImage})])}}),d=()=>r.media.view.MediaFrame.Post.extend({galleryToolbar(){const e=this.state().get("editing");this.toolbar.set(new r.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:e?r.media.view.l10n.updateGallery:r.media.view.l10n.insertGallery,priority:80,requires:{library:!0},click(){const e=this.controller,t=e.state();e.close(),t.trigger("update",t.get("library")),e.setState(e.options.state),e.reset()}}}}))},editState(){const e=this.state("gallery").get("selection"),t=new r.media.view.EditImage({model:e.single(),controller:this}).render();this.content.set(t),t.loadEditor()},createStates:function(){this.on("toolbar:create:main-gallery",this.galleryToolbar,this),this.on("content:render:edit-image",this.editState,this),this.states.add([new r.media.controller.Library({id:"gallery",title:r.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:r.media.query(Object(o.defaults)({type:"image"},this.options.library))}),new r.media.controller.EditImage({model:this.options.editImage}),new r.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery",displaySettings:!1,multiple:!0}),new r.media.controller.GalleryAdd])}}),p=e=>Object(o.pick)(e,["sizes","mime","type","subtype","id","url","alt","link","caption"]),c=e=>r.media.query({order:"ASC",orderby:"post__in",post__in:e,posts_per_page:-1,query:!0,type:"image"});class m extends l.Component{constructor(e){let{allowedTypes:t,gallery:i=!1,unstableFeaturedImageFlow:o=!1,modalClass:l,multiple:s=!1,title:n=Object(a.__)("Select or Upload Media")}=e;if(super(...arguments),this.openModal=this.openModal.bind(this),this.onOpen=this.onOpen.bind(this),this.onSelect=this.onSelect.bind(this),this.onUpdate=this.onUpdate.bind(this),this.onClose=this.onClose.bind(this),i)this.buildAndSetGalleryFrame();else{const e={title:n,multiple:s};t&&(e.library={type:t}),this.frame=r.media(e)}l&&this.frame.$el.addClass(l),o&&this.buildAndSetFeatureImageFrame(),this.initializeListeners()}initializeListeners(){this.frame.on("select",this.onSelect),this.frame.on("update",this.onUpdate),this.frame.on("open",this.onOpen),this.frame.on("close",this.onClose)}buildAndSetGalleryFrame(){const{addToGallery:e=!1,allowedTypes:t,multiple:i=!1,value:o=s}=this.props;if(o===this.lastGalleryValue)return;let l;this.lastGalleryValue=o,this.frame&&this.frame.remove(),l=e?"gallery-library":o&&o.length?"gallery-edit":"gallery",this.GalleryDetailsMediaFrame||(this.GalleryDetailsMediaFrame=d());const a=c(o),n=new r.media.model.Selection(a.models,{props:a.props.toJSON(),multiple:i});this.frame=new this.GalleryDetailsMediaFrame({mimeType:t,state:l,multiple:i,selection:n,editing:!(!o||!o.length)}),r.media.frame=this.frame,this.initializeListeners()}buildAndSetFeatureImageFrame(){const e=n(),t=c(this.props.value),i=new r.media.model.Selection(t.models,{props:t.props.toJSON()});this.frame=new e({mimeType:this.props.allowedTypes,state:"featured-image",multiple:this.props.multiple,selection:i,editing:!!this.props.value}),r.media.frame=this.frame}componentWillUnmount(){this.frame.remove()}onUpdate(e){const{onSelect:t,multiple:i=!1}=this.props,o=this.frame.state(),l=e||o.get("selection");l&&l.models.length&&t(i?l.models.map(e=>p(e.toJSON())):p(l.models[0].toJSON()))}onSelect(){const{onSelect:e,multiple:t=!1}=this.props,i=this.frame.state().get("selection").toJSON();e(t?i:i[0])}onOpen(){var e;this.updateCollection();if(!(Array.isArray(this.props.value)?!(null===(e=this.props.value)||void 0===e||!e.length):!!this.props.value))return;const t=this.props.gallery,i=this.frame.state().get("selection");t||Object(o.castArray)(this.props.value).forEach(e=>{i.add(r.media.attachment(e))});const l=c(Object(o.castArray)(this.props.value));l.more().done((function(){var e;t&&null!=l&&null!==(e=l.models)&&void 0!==e&&e.length&&i.add(l.models)}))}onClose(){const{onClose:e}=this.props;e&&e()}updateCollection(){const e=this.frame.content.get();if(e&&e.collection){const t=e.collection;t.toArray().forEach(e=>e.trigger("destroy",e)),t.mirroring._hasMore=!0,t.more()}}openModal(){this.props.gallery&&this.buildAndSetGalleryFrame(),this.frame.open()}render(){return this.props.render({open:this.openModal})}}var u=m,h=i("ywyh"),y=i.n(h),f=i("xTGt");async function g(e){let{allowedTypes:t,additionalData:i={},filesList:r,maxUploadFileSize:s,onError:n=o.noop,onFileChange:d,wpAllowedMimeTypes:p=null}=e;const c=[...r],m=[],u=(e,t)=>{Object(f.revokeBlobURL)(Object(o.get)(m,[e,"url"])),m[e]=t,d(Object(o.compact)(m))},h=e=>!t||Object(o.some)(t,t=>Object(o.includes)(t,"/")?t===e:Object(o.startsWith)(e,t+"/")),y=(g=p)?Object(o.flatMap)(g,(e,t)=>{const[i]=e.split("/"),l=t.split("|");return[e,...Object(o.map)(l,e=>`${i}/${e}`)]}):g;var g;const w=e=>{e.message=[Object(l.createElement)("strong",{key:"filename"},e.file.name),": ",e.message],n(e)},O=[];for(const e of c)y&&e.type&&(S=e.type,!Object(o.includes)(y,S))?w({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:Object(a.__)("Sorry, you are not allowed to upload this file type."),file:e}):!e.type||h(e.type)?s&&e.size>s?w({code:"SIZE_ABOVE_LIMIT",message:Object(a.__)("This file exceeds the maximum upload size for this site."),file:e}):e.size<=0?w({code:"EMPTY_FILE",message:Object(a.__)("This file is empty."),file:e}):(O.push(e),m.push({url:Object(f.createBlobURL)(e)}),d(m)):w({code:"MIME_TYPE_NOT_SUPPORTED",message:Object(a.__)("Sorry, this file type is not supported here."),file:e});var S;for(let e=0;e<O.length;++e){const t=O[e];try{const l=await b(t,i);u(e,{...Object(o.omit)(l,["alt_text","source_url"]),alt:l.alt_text,caption:Object(o.get)(l,["caption","raw"],""),title:l.title.raw,url:l.source_url})}catch(i){let l;u(e,null),l=Object(o.has)(i,["message"])?Object(o.get)(i,["message"]):Object(a.sprintf)(Object(a.__)("Error while uploading file %s to the media library."),t.name),n({code:"GENERAL",message:l,file:t})}}}function b(e,t){const i=new window.FormData;return i.append("file",e,e.name||e.type.replace("/",".")),Object(o.forEach)(t,(e,t)=>i.append(t,e)),y()({path:"/wp/v2/media",body:i,method:"POST"})}},YLtl:function(e,t){e.exports=window.lodash},l3Sj:function(e,t){e.exports=window.wp.i18n},xTGt:function(e,t){e.exports=window.wp.blob},ywyh:function(e,t){e.exports=window.wp.apiFetch}});
\ No newline at end of file
+!function(){"use strict";var e={n:function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,{a:i}),i},d:function(t,i){for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{MediaUpload:function(){return c},uploadMedia:function(){return g}});var i=window.lodash,o=window.wp.element,a=window.wp.i18n;const{wp:l}=window,s=[],r=()=>l.media.view.MediaFrame.Select.extend({featuredImageToolbar(e){this.createSelectToolbar(e,{text:l.media.view.l10n.setFeaturedImage,state:this.options.state})},editState(){const e=this.state("featured-image").get("selection"),t=new l.media.view.EditImage({model:e.single(),controller:this}).render();this.content.set(t),t.loadEditor()},createStates:function(){this.on("toolbar:create:featured-image",this.featuredImageToolbar,this),this.on("content:render:edit-image",this.editState,this),this.states.add([new l.media.controller.FeaturedImage,new l.media.controller.EditImage({model:this.options.editImage})])}}),n=()=>l.media.view.MediaFrame.Post.extend({galleryToolbar(){const e=this.state().get("editing");this.toolbar.set(new l.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:e?l.media.view.l10n.updateGallery:l.media.view.l10n.insertGallery,priority:80,requires:{library:!0},click(){const e=this.controller,t=e.state();e.close(),t.trigger("update",t.get("library")),e.setState(e.options.state),e.reset()}}}}))},editState(){const e=this.state("gallery").get("selection"),t=new l.media.view.EditImage({model:e.single(),controller:this}).render();this.content.set(t),t.loadEditor()},createStates:function(){this.on("toolbar:create:main-gallery",this.galleryToolbar,this),this.on("content:render:edit-image",this.editState,this),this.states.add([new l.media.controller.Library({id:"gallery",title:l.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:l.media.query((0,i.defaults)({type:"image"},this.options.library))}),new l.media.controller.EditImage({model:this.options.editImage}),new l.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery",displaySettings:!1,multiple:!0}),new l.media.controller.GalleryAdd])}}),d=e=>(0,i.pick)(e,["sizes","mime","type","subtype","id","url","alt","link","caption"]),p=e=>l.media.query({order:"ASC",orderby:"post__in",post__in:e,posts_per_page:-1,query:!0,type:"image"});class m extends o.Component{constructor(e){let{allowedTypes:t,gallery:i=!1,unstableFeaturedImageFlow:o=!1,modalClass:s,multiple:r=!1,title:n=(0,a.__)("Select or Upload Media")}=e;if(super(...arguments),this.openModal=this.openModal.bind(this),this.onOpen=this.onOpen.bind(this),this.onSelect=this.onSelect.bind(this),this.onUpdate=this.onUpdate.bind(this),this.onClose=this.onClose.bind(this),i)this.buildAndSetGalleryFrame();else{const e={title:n,multiple:r};t&&(e.library={type:t}),this.frame=l.media(e)}s&&this.frame.$el.addClass(s),o&&this.buildAndSetFeatureImageFrame(),this.initializeListeners()}initializeListeners(){this.frame.on("select",this.onSelect),this.frame.on("update",this.onUpdate),this.frame.on("open",this.onOpen),this.frame.on("close",this.onClose)}buildAndSetGalleryFrame(){const{addToGallery:e=!1,allowedTypes:t,multiple:i=!1,value:o=s}=this.props;if(o===this.lastGalleryValue)return;let a;this.lastGalleryValue=o,this.frame&&this.frame.remove(),a=e?"gallery-library":o&&o.length?"gallery-edit":"gallery",this.GalleryDetailsMediaFrame||(this.GalleryDetailsMediaFrame=n());const r=p(o),d=new l.media.model.Selection(r.models,{props:r.props.toJSON(),multiple:i});this.frame=new this.GalleryDetailsMediaFrame({mimeType:t,state:a,multiple:i,selection:d,editing:!(!o||!o.length)}),l.media.frame=this.frame,this.initializeListeners()}buildAndSetFeatureImageFrame(){const e=r(),t=p(this.props.value),i=new l.media.model.Selection(t.models,{props:t.props.toJSON()});this.frame=new e({mimeType:this.props.allowedTypes,state:"featured-image",multiple:this.props.multiple,selection:i,editing:!!this.props.value}),l.media.frame=this.frame}componentWillUnmount(){this.frame.remove()}onUpdate(e){const{onSelect:t,multiple:i=!1}=this.props,o=this.frame.state(),a=e||o.get("selection");a&&a.models.length&&t(i?a.models.map((e=>d(e.toJSON()))):d(a.models[0].toJSON()))}onSelect(){const{onSelect:e,multiple:t=!1}=this.props,i=this.frame.state().get("selection").toJSON();e(t?i:i[0])}onOpen(){var e;this.updateCollection();if(!(Array.isArray(this.props.value)?!(null===(e=this.props.value)||void 0===e||!e.length):!!this.props.value))return;const t=this.props.gallery,o=this.frame.state().get("selection");t||(0,i.castArray)(this.props.value).forEach((e=>{o.add(l.media.attachment(e))}));const a=p((0,i.castArray)(this.props.value));a.more().done((function(){var e;t&&null!=a&&null!==(e=a.models)&&void 0!==e&&e.length&&o.add(a.models)}))}onClose(){const{onClose:e}=this.props;e&&e()}updateCollection(){const e=this.frame.content.get();if(e&&e.collection){const t=e.collection;t.toArray().forEach((e=>e.trigger("destroy",e))),t.mirroring._hasMore=!0,t.more()}}openModal(){this.props.gallery&&this.buildAndSetGalleryFrame(),this.frame.open()}render(){return this.props.render({open:this.openModal})}}var c=m,h=window.wp.apiFetch,u=e.n(h),y=window.wp.blob;async function g(e){let{allowedTypes:t,additionalData:l={},filesList:s,maxUploadFileSize:r,onError:n=i.noop,onFileChange:d,wpAllowedMimeTypes:p=null}=e;const m=[...s],c=[],h=(e,t)=>{(0,y.revokeBlobURL)((0,i.get)(c,[e,"url"])),c[e]=t,d((0,i.compact)(c))},u=e=>!t||(0,i.some)(t,(t=>(0,i.includes)(t,"/")?t===e:(0,i.startsWith)(e,`${t}/`))),g=(w=p)?(0,i.flatMap)(w,((e,t)=>{const[o]=e.split("/"),a=t.split("|");return[e,...(0,i.map)(a,(e=>`${o}/${e}`))]})):w;var w;const b=e=>{e.message=[(0,o.createElement)("strong",{key:"filename"},e.file.name),": ",e.message],n(e)},S=[];for(const e of m)g&&e.type&&(_=e.type,!(0,i.includes)(g,_))?b({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:(0,a.__)("Sorry, you are not allowed to upload this file type."),file:e}):!e.type||u(e.type)?r&&e.size>r?b({code:"SIZE_ABOVE_LIMIT",message:(0,a.__)("This file exceeds the maximum upload size for this site."),file:e}):e.size<=0?b({code:"EMPTY_FILE",message:(0,a.__)("This file is empty."),file:e}):(S.push(e),c.push({url:(0,y.createBlobURL)(e)}),d(c)):b({code:"MIME_TYPE_NOT_SUPPORTED",message:(0,a.__)("Sorry, this file type is not supported here."),file:e});var _;for(let e=0;e<S.length;++e){const t=S[e];try{const o=await f(t,l);h(e,{...(0,i.omit)(o,["alt_text","source_url"]),alt:o.alt_text,caption:(0,i.get)(o,["caption","raw"],""),title:o.title.raw,url:o.source_url})}catch(o){let l;h(e,null),l=(0,i.has)(o,["message"])?(0,i.get)(o,["message"]):(0,a.sprintf)((0,a.__)("Error while uploading file %s to the media library."),t.name),n({code:"GENERAL",message:l,file:t})}}}function f(e,t){const o=new window.FormData;return o.append("file",e,e.name||e.type.replace("/",".")),(0,i.forEach)(t,((e,t)=>o.append(t,e))),u()({path:"/wp/v2/media",body:o,method:"POST"})}(window.wp=window.wp||{}).mediaUtils=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/notices.js b/wp-includes/js/dist/notices.js
index 04ffc50503..434210d991 100644
--- a/wp-includes/js/dist/notices.js
+++ b/wp-includes/js/dist/notices.js
@@ -1,131 +1,71 @@
-this["wp"] = this["wp"] || {}; this["wp"]["notices"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "Ko7W");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "Ko7W":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
+__webpack_require__.d(__webpack_exports__, {
+  "store": function() { return /* reexport */ store; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/notices/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "createNotice", function() { return createNotice; });
-__webpack_require__.d(actions_namespaceObject, "createSuccessNotice", function() { return createSuccessNotice; });
-__webpack_require__.d(actions_namespaceObject, "createInfoNotice", function() { return createInfoNotice; });
-__webpack_require__.d(actions_namespaceObject, "createErrorNotice", function() { return createErrorNotice; });
-__webpack_require__.d(actions_namespaceObject, "createWarningNotice", function() { return createWarningNotice; });
-__webpack_require__.d(actions_namespaceObject, "removeNotice", function() { return removeNotice; });
+__webpack_require__.d(actions_namespaceObject, {
+  "createErrorNotice": function() { return createErrorNotice; },
+  "createInfoNotice": function() { return createInfoNotice; },
+  "createNotice": function() { return createNotice; },
+  "createSuccessNotice": function() { return createSuccessNotice; },
+  "createWarningNotice": function() { return createWarningNotice; },
+  "removeNotice": function() { return removeNotice; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/notices/build-module/store/selectors.js
 var selectors_namespaceObject = {};
 __webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getNotices", function() { return getNotices; });
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+__webpack_require__.d(selectors_namespaceObject, {
+  "getNotices": function() { return getNotices; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/utils/on-sub-key.js
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/utils/on-sub-key.js
 /**
  * Higher-order reducer creator which creates a combined reducer object, keyed
  * by a property on the action object.
@@ -159,7 +99,7 @@ const onSubKey = actionProperty => reducer => function () {
 };
 /* harmony default export */ var on_sub_key = (onSubKey);

-// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/reducer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/reducer.js
 /**
  * External dependencies
  */
@@ -186,12 +126,12 @@ const notices = on_sub_key('context')(function () {
   switch (action.type) {
     case 'CREATE_NOTICE':
       // Avoid duplicates on ID.
-      return [...Object(external_lodash_["reject"])(state, {
+      return [...(0,external_lodash_namespaceObject.reject)(state, {
         id: action.notice.id
       }), action.notice];

     case 'REMOVE_NOTICE':
-      return Object(external_lodash_["reject"])(state, {
+      return (0,external_lodash_namespaceObject.reject)(state, {
         id: action.id
       });
   }
@@ -200,7 +140,7 @@ const notices = on_sub_key('context')(function () {
 });
 /* harmony default export */ var reducer = (notices);

-// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/constants.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/constants.js
 /**
  * Default context to use for notice grouping when not otherwise specified. Its
  * specific value doesn't hold much meaning, but it must be reasonably unique
@@ -217,7 +157,7 @@ const DEFAULT_CONTEXT = 'global';

 const DEFAULT_STATUS = 'info';

-// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/actions.js
 /**
  * External dependencies
  */
@@ -277,7 +217,7 @@ function createNotice() {
     speak = true,
     isDismissible = true,
     context = DEFAULT_CONTEXT,
-    id = Object(external_lodash_["uniqueId"])(context),
+    id = (0,external_lodash_namespaceObject.uniqueId)(context),
     actions = [],
     type = 'default',
     __unstableHTML,
@@ -386,7 +326,7 @@ function removeNotice(id) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/selectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/selectors.js
 /**
  * Internal dependencies
  */
@@ -445,7 +385,7 @@ function getNotices(state) {
   return state[context] || DEFAULT_NOTICES;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/store/index.js
 /**
  * WordPress dependencies
  */
@@ -465,24 +405,16 @@ function getNotices(state) {
  * @type {Object}
  */

-const store = Object(external_wp_data_["createReduxStore"])('core/notices', {
+const store = (0,external_wp_data_namespaceObject.createReduxStore)('core/notices', {
   reducer: reducer,
   actions: actions_namespaceObject,
   selectors: selectors_namespaceObject
 });
-Object(external_wp_data_["register"])(store);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/index.js
-
-
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
+(0,external_wp_data_namespaceObject.register)(store);

-(function() { module.exports = window["lodash"]; }());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/notices/build-module/index.js

-/***/ })

-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).notices = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/notices.min.js b/wp-includes/js/dist/notices.min.js
index 2bb200c407..1ad4140bc6 100644
--- a/wp-includes/js/dist/notices.min.js
+++ b/wp-includes/js/dist/notices.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.notices=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="Ko7W")}({"1ZqX":function(t,e){t.exports=window.wp.data},Ko7W:function(t,e,n){"use strict";n.r(e),n.d(e,"store",(function(){return O}));var r={};n.r(r),n.d(r,"createNotice",(function(){return l})),n.d(r,"createSuccessNotice",(function(){return f})),n.d(r,"createInfoNotice",(function(){return d})),n.d(r,"createErrorNotice",(function(){return a})),n.d(r,"createWarningNotice",(function(){return p})),n.d(r,"removeNotice",(function(){return b}));var o={};n.r(o),n.d(o,"getNotices",(function(){return g}));var i=n("1ZqX"),c=n("YLtl");var u=(t=>e=>function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;const o=r[t];if(void 0===o)return n;const i=e(n[o],r);return i===n[o]?n:{...n,[o]:i}})("context")((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[...Object(c.reject)(t,{id:e.notice.id}),e.notice];case"REMOVE_NOTICE":return Object(c.reject)(t,{id:e.id})}return t}));const s="global";function l(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"info",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{speak:r=!0,isDismissible:o=!0,context:i=s,id:u=Object(c.uniqueId)(i),actions:l=[],type:f="default",__unstableHTML:d,icon:a=null,explicitDismiss:p=!1,onDismiss:b}=n;return e=String(e),{type:"CREATE_NOTICE",context:i,notice:{id:u,status:t,content:e,spokenMessage:r?e:null,__unstableHTML:d,isDismissible:o,actions:l,type:f,icon:a,explicitDismiss:p,onDismiss:b}}}function f(t,e){return l("success",t,e)}function d(t,e){return l("info",t,e)}function a(t,e){return l("error",t,e)}function p(t,e){return l("warning",t,e)}function b(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return{type:"REMOVE_NOTICE",id:t,context:e}}const v=[];function g(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return t[e]||v}const O=Object(i.createReduxStore)("core/notices",{reducer:u,actions:r,selectors:o});Object(i.register)(O)},YLtl:function(t,e){t.exports=window.lodash}});
\ No newline at end of file
+!function(){"use strict";var t={d:function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{store:function(){return E}});var n={};t.r(n),t.d(n,{createErrorNotice:function(){return v},createInfoNotice:function(){return g},createNotice:function(){return a},createSuccessNotice:function(){return f},createWarningNotice:function(){return p},removeNotice:function(){return w}});var o={};t.r(o),t.d(o,{getNotices:function(){return b}});var i=window.wp.data,r=window.lodash;var c=t=>e=>function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;const i=o[t];if(void 0===i)return n;const r=e(n[i],o);return r===n[i]?n:{...n,[i]:r}};const u=c("context")((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[...(0,r.reject)(t,{id:e.notice.id}),e.notice];case"REMOVE_NOTICE":return(0,r.reject)(t,{id:e.id})}return t}));var s=u;const l="global",d="info";function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{speak:o=!0,isDismissible:i=!0,context:c=l,id:u=(0,r.uniqueId)(c),actions:s=[],type:a="default",__unstableHTML:f,icon:g=null,explicitDismiss:v=!1,onDismiss:p}=n;return e=String(e),{type:"CREATE_NOTICE",context:c,notice:{id:u,status:t,content:e,spokenMessage:o?e:null,__unstableHTML:f,isDismissible:i,actions:s,type:a,icon:g,explicitDismiss:v,onDismiss:p}}}function f(t,e){return a("success",t,e)}function g(t,e){return a("info",t,e)}function v(t,e){return a("error",t,e)}function p(t,e){return a("warning",t,e)}function w(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;return{type:"REMOVE_NOTICE",id:t,context:e}}const y=[];function b(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;return t[e]||y}const E=(0,i.createReduxStore)("core/notices",{reducer:s,actions:n,selectors:o});(0,i.register)(E),(window.wp=window.wp||{}).notices=e}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/nux.js b/wp-includes/js/dist/nux.js
index 552ffacdeb..c17cf250a1 100644
--- a/wp-includes/js/dist/nux.js
+++ b/wp-includes/js/dist/nux.js
@@ -1,133 +1,85 @@
-this["wp"] = this["wp"] || {}; this["wp"]["nux"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "51Wn");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "51Wn":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
-__webpack_require__.d(__webpack_exports__, "DotTip", function() { return /* reexport */ dot_tip; });
+__webpack_require__.d(__webpack_exports__, {
+  "DotTip": function() { return /* reexport */ dot_tip; },
+  "store": function() { return /* reexport */ store; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/nux/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "triggerGuide", function() { return triggerGuide; });
-__webpack_require__.d(actions_namespaceObject, "dismissTip", function() { return actions_dismissTip; });
-__webpack_require__.d(actions_namespaceObject, "disableTips", function() { return actions_disableTips; });
-__webpack_require__.d(actions_namespaceObject, "enableTips", function() { return enableTips; });
+__webpack_require__.d(actions_namespaceObject, {
+  "disableTips": function() { return disableTips; },
+  "dismissTip": function() { return dismissTip; },
+  "enableTips": function() { return enableTips; },
+  "triggerGuide": function() { return triggerGuide; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/nux/build-module/store/selectors.js
 var selectors_namespaceObject = {};
 __webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getAssociatedGuide", function() { return selectors_getAssociatedGuide; });
-__webpack_require__.d(selectors_namespaceObject, "isTipVisible", function() { return selectors_isTipVisible; });
-__webpack_require__.d(selectors_namespaceObject, "areTipsEnabled", function() { return selectors_areTipsEnabled; });
-
-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+__webpack_require__.d(selectors_namespaceObject, {
+  "areTipsEnabled": function() { return selectors_areTipsEnabled; },
+  "getAssociatedGuide": function() { return getAssociatedGuide; },
+  "isTipVisible": function() { return isTipVisible; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/reducer.js
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/reducer.js
 /**
  * WordPress dependencies
  */
@@ -202,16 +154,16 @@ function dismissedTips() {

   return state;
 }
-const preferences = Object(external_wp_data_["combineReducers"])({
+const preferences = (0,external_wp_data_namespaceObject.combineReducers)({
   areTipsEnabled,
   dismissedTips
 });
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
   guides,
   preferences
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/actions.js
 /**
  * Returns an action object that, when dispatched, presents a guide that takes
  * the user through a series of tips step by step.
@@ -235,7 +187,7 @@ function triggerGuide(tipIds) {
  * @return {Object} Action object.
  */

-function actions_dismissTip(id) {
+function dismissTip(id) {
   return {
     type: 'DISMISS_TIP',
     id
@@ -248,7 +200,7 @@ function actions_dismissTip(id) {
  * @return {Object} Action object.
  */

-function actions_disableTips() {
+function disableTips() {
   return {
     type: 'DISABLE_TIPS'
   };
@@ -265,307 +217,7 @@ function enableTips() {
   };
 }

-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/selectors.js
-/**
- * External dependencies
- */
-
-
-/**
- * An object containing information about a guide.
- *
- * @typedef {Object} NUXGuideInfo
- * @property {string[]} tipIds       Which tips the guide contains.
- * @property {?string}  currentTipId The guide's currently showing tip.
- * @property {?string}  nextTipId    The guide's next tip to show.
- */
-
-/**
- * Returns an object describing the guide, if any, that the given tip is a part
- * of.
- *
- * @param {Object} state Global application state.
- * @param {string} tipId The tip to query.
- *
- * @return {?NUXGuideInfo} Information about the associated guide.
- */
-
-const selectors_getAssociatedGuide = Object(rememo["a" /* default */])((state, tipId) => {
-  for (const tipIds of state.guides) {
-    if (Object(external_lodash_["includes"])(tipIds, tipId)) {
-      const nonDismissedTips = Object(external_lodash_["difference"])(tipIds, Object(external_lodash_["keys"])(state.preferences.dismissedTips));
-      const [currentTipId = null, nextTipId = null] = nonDismissedTips;
-      return {
-        tipIds,
-        currentTipId,
-        nextTipId
-      };
-    }
-  }
-
-  return null;
-}, state => [state.guides, state.preferences.dismissedTips]);
-/**
- * Determines whether or not the given tip is showing. Tips are hidden if they
- * are disabled, have been dismissed, or are not the current tip in any
- * guide that they have been added to.
- *
- * @param {Object} state Global application state.
- * @param {string} tipId The tip to query.
- *
- * @return {boolean} Whether or not the given tip is showing.
- */
-
-function selectors_isTipVisible(state, tipId) {
-  if (!state.preferences.areTipsEnabled) {
-    return false;
-  }
-
-  if (Object(external_lodash_["has"])(state.preferences.dismissedTips, [tipId])) {
-    return false;
-  }
-
-  const associatedGuide = selectors_getAssociatedGuide(state, tipId);
-
-  if (associatedGuide && associatedGuide.currentTipId !== tipId) {
-    return false;
-  }
-
-  return true;
-}
-/**
- * Returns whether or not tips are globally enabled.
- *
- * @param {Object} state Global application state.
- *
- * @return {boolean} Whether tips are globally enabled.
- */
-
-function selectors_areTipsEnabled(state) {
-  return state.preferences.areTipsEnabled;
-}
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/index.js
-/**
- * WordPress dependencies
- */
-
-/**
- * Internal dependencies
- */
-
-
-
-
-const STORE_NAME = 'core/nux';
-/**
- * Store definition for the nux namespace.
- *
- * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
- *
- * @type {Object}
- */
-
-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['preferences']
-}); // Once we build a more generic persistence plugin that works across types of stores
-// we'd be able to replace this with a register call.
-
-Object(external_wp_data_["registerStore"])(STORE_NAME, {
-  reducer: reducer,
-  actions: actions_namespaceObject,
-  selectors: selectors_namespaceObject,
-  persist: ['preferences']
-});
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js
-var library_close = __webpack_require__("w95h");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/components/dot-tip/index.js
-
-
-/**
- * WordPress dependencies
- */
-
-
-
-
-
-
-/**
- * Internal dependencies
- */
-
-
-
-function onClick(event) {
-  // Tips are often nested within buttons. We stop propagation so that clicking
-  // on a tip doesn't result in the button being clicked.
-  event.stopPropagation();
-}
-
-function DotTip(_ref) {
-  let {
-    position = 'middle right',
-    children,
-    isVisible,
-    hasNextTip,
-    onDismiss,
-    onDisable
-  } = _ref;
-  const anchorParent = Object(external_wp_element_["useRef"])(null);
-  const onFocusOutsideCallback = Object(external_wp_element_["useCallback"])(event => {
-    if (!anchorParent.current) {
-      return;
-    }
-
-    if (anchorParent.current.contains(event.relatedTarget)) {
-      return;
-    }
-
-    onDisable();
-  }, [onDisable, anchorParent]);
-
-  if (!isVisible) {
-    return null;
-  }
-
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
-    className: "nux-dot-tip",
-    position: position,
-    noArrow: true,
-    focusOnMount: "container",
-    shouldAnchorIncludePadding: true,
-    role: "dialog",
-    "aria-label": Object(external_wp_i18n_["__"])('Editor tips'),
-    onClick: onClick,
-    onFocusOutside: onFocusOutsideCallback
-  }, Object(external_wp_element_["createElement"])("p", null, children), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    variant: "link",
-    onClick: onDismiss
-  }, hasNextTip ? Object(external_wp_i18n_["__"])('See next tip') : Object(external_wp_i18n_["__"])('Got it'))), Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
-    className: "nux-dot-tip__disable",
-    icon: library_close["a" /* default */],
-    label: Object(external_wp_i18n_["__"])('Disable tips'),
-    onClick: onDisable
-  }));
-}
-/* harmony default export */ var dot_tip = (Object(external_wp_compose_["compose"])(Object(external_wp_data_["withSelect"])((select, _ref2) => {
-  let {
-    tipId
-  } = _ref2;
-  const {
-    isTipVisible,
-    getAssociatedGuide
-  } = select(store);
-  const associatedGuide = getAssociatedGuide(tipId);
-  return {
-    isVisible: isTipVisible(tipId),
-    hasNextTip: !!(associatedGuide && associatedGuide.nextTipId)
-  };
-}), Object(external_wp_data_["withDispatch"])((dispatch, _ref3) => {
-  let {
-    tipId
-  } = _ref3;
-  const {
-    dismissTip,
-    disableTips
-  } = dispatch(store);
-  return {
-    onDismiss() {
-      dismissTip(tipId);
-    },
-
-    onDisable() {
-      disableTips();
-    }
-
-  };
-}))(DotTip));
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/index.js
-/**
- * WordPress dependencies
- */
-
-
-
-external_wp_deprecated_default()('wp.nux', {
-  since: '5.4',
-  hint: 'wp.components.Guide can be used to show a user guide.'
-});
-
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "NMb1":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["deprecated"]; }());
-
-/***/ }),
-
-/***/ "Tqx9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["primitives"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js


 var LEAF_KEY, hasWeakMap;
@@ -663,7 +315,7 @@ function isShallowEqual( a, b, fromIndex ) {
  *
  * @return {Function} Memoized selector.
  */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
+/* harmony default export */ function rememo(selector, getDependants ) {
 	var rootCache, getCache;

 	// Use object source as dependant if getter not provided
@@ -839,41 +491,266 @@ function isShallowEqual( a, b, fromIndex ) {
 	clear();

 	return callSelector;
-});
+}

+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/selectors.js
+/**
+ * External dependencies
+ */

-/***/ }),

-/***/ "tI+e":
-/***/ (function(module, exports) {
+/**
+ * An object containing information about a guide.
+ *
+ * @typedef {Object} NUXGuideInfo
+ * @property {string[]} tipIds       Which tips the guide contains.
+ * @property {?string}  currentTipId The guide's currently showing tip.
+ * @property {?string}  nextTipId    The guide's next tip to show.
+ */
+
+/**
+ * Returns an object describing the guide, if any, that the given tip is a part
+ * of.
+ *
+ * @param {Object} state Global application state.
+ * @param {string} tipId The tip to query.
+ *
+ * @return {?NUXGuideInfo} Information about the associated guide.
+ */
+
+const getAssociatedGuide = rememo((state, tipId) => {
+  for (const tipIds of state.guides) {
+    if ((0,external_lodash_namespaceObject.includes)(tipIds, tipId)) {
+      const nonDismissedTips = (0,external_lodash_namespaceObject.difference)(tipIds, (0,external_lodash_namespaceObject.keys)(state.preferences.dismissedTips));
+      const [currentTipId = null, nextTipId = null] = nonDismissedTips;
+      return {
+        tipIds,
+        currentTipId,
+        nextTipId
+      };
+    }
+  }

-(function() { module.exports = window["wp"]["components"]; }());
+  return null;
+}, state => [state.guides, state.preferences.dismissedTips]);
+/**
+ * Determines whether or not the given tip is showing. Tips are hidden if they
+ * are disabled, have been dismissed, or are not the current tip in any
+ * guide that they have been added to.
+ *
+ * @param {Object} state Global application state.
+ * @param {string} tipId The tip to query.
+ *
+ * @return {boolean} Whether or not the given tip is showing.
+ */
+
+function isTipVisible(state, tipId) {
+  if (!state.preferences.areTipsEnabled) {
+    return false;
+  }
+
+  if ((0,external_lodash_namespaceObject.has)(state.preferences.dismissedTips, [tipId])) {
+    return false;
+  }
+
+  const associatedGuide = getAssociatedGuide(state, tipId);
+
+  if (associatedGuide && associatedGuide.currentTipId !== tipId) {
+    return false;
+  }
+
+  return true;
+}
+/**
+ * Returns whether or not tips are globally enabled.
+ *
+ * @param {Object} state Global application state.
+ *
+ * @return {boolean} Whether tips are globally enabled.
+ */
+
+function selectors_areTipsEnabled(state) {
+  return state.preferences.areTipsEnabled;
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/store/index.js
+/**
+ * WordPress dependencies
+ */
+
+/**
+ * Internal dependencies
+ */
+
+
+
+
+const STORE_NAME = 'core/nux';
+/**
+ * Store definition for the nux namespace.
+ *
+ * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore
+ *
+ * @type {Object}
+ */

-/***/ }),
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
+  reducer: reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['preferences']
+}); // Once we build a more generic persistence plugin that works across types of stores
+// we'd be able to replace this with a register call.

-/***/ "w95h":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+(0,external_wp_data_namespaceObject.registerStore)(STORE_NAME, {
+  reducer: reducer,
+  actions: actions_namespaceObject,
+  selectors: selectors_namespaceObject,
+  persist: ['preferences']
+});

-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/close.js


 /**
  * WordPress dependencies
  */

-const close = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
+const close_close = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.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"
 }));
-/* harmony default export */ __webpack_exports__["a"] = (close);
+/* harmony default export */ var library_close = (close_close);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/components/dot-tip/index.js

-/***/ })

-/******/ });
\ No newline at end of file
+/**
+ * WordPress dependencies
+ */
+
+
+
+
+
+
+/**
+ * Internal dependencies
+ */
+
+
+
+function onClick(event) {
+  // Tips are often nested within buttons. We stop propagation so that clicking
+  // on a tip doesn't result in the button being clicked.
+  event.stopPropagation();
+}
+
+function DotTip(_ref) {
+  let {
+    position = 'middle right',
+    children,
+    isVisible,
+    hasNextTip,
+    onDismiss,
+    onDisable
+  } = _ref;
+  const anchorParent = (0,external_wp_element_namespaceObject.useRef)(null);
+  const onFocusOutsideCallback = (0,external_wp_element_namespaceObject.useCallback)(event => {
+    if (!anchorParent.current) {
+      return;
+    }
+
+    if (anchorParent.current.contains(event.relatedTarget)) {
+      return;
+    }
+
+    onDisable();
+  }, [onDisable, anchorParent]);
+
+  if (!isVisible) {
+    return null;
+  }
+
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
+    className: "nux-dot-tip",
+    position: position,
+    noArrow: true,
+    focusOnMount: "container",
+    shouldAnchorIncludePadding: true,
+    role: "dialog",
+    "aria-label": (0,external_wp_i18n_namespaceObject.__)('Editor tips'),
+    onClick: onClick,
+    onFocusOutside: onFocusOutsideCallback
+  }, (0,external_wp_element_namespaceObject.createElement)("p", null, children), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    variant: "link",
+    onClick: onDismiss
+  }, hasNextTip ? (0,external_wp_i18n_namespaceObject.__)('See next tip') : (0,external_wp_i18n_namespaceObject.__)('Got it'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
+    className: "nux-dot-tip__disable",
+    icon: library_close,
+    label: (0,external_wp_i18n_namespaceObject.__)('Disable tips'),
+    onClick: onDisable
+  }));
+}
+/* harmony default export */ var dot_tip = ((0,external_wp_compose_namespaceObject.compose)((0,external_wp_data_namespaceObject.withSelect)((select, _ref2) => {
+  let {
+    tipId
+  } = _ref2;
+  const {
+    isTipVisible,
+    getAssociatedGuide
+  } = select(store);
+  const associatedGuide = getAssociatedGuide(tipId);
+  return {
+    isVisible: isTipVisible(tipId),
+    hasNextTip: !!(associatedGuide && associatedGuide.nextTipId)
+  };
+}), (0,external_wp_data_namespaceObject.withDispatch)((dispatch, _ref3) => {
+  let {
+    tipId
+  } = _ref3;
+  const {
+    dismissTip,
+    disableTips
+  } = dispatch(store);
+  return {
+    onDismiss() {
+      dismissTip(tipId);
+    },
+
+    onDisable() {
+      disableTips();
+    }
+
+  };
+}))(DotTip));
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/nux/build-module/index.js
+/**
+ * WordPress dependencies
+ */
+
+
+
+external_wp_deprecated_default()('wp.nux', {
+  since: '5.4',
+  hint: 'wp.components.Guide can be used to show a user guide.'
+});
+
+(window.wp = window.wp || {}).nux = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/nux.min.js b/wp-includes/js/dist/nux.min.js
index 9c813bd049..4b89b121a3 100644
--- a/wp-includes/js/dist/nux.min.js
+++ b/wp-includes/js/dist/nux.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.nux=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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="51Wn")}({"1ZqX":function(e,t){e.exports=window.wp.data},"51Wn":function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return x})),n.d(t,"DotTip",(function(){return S}));var r={};n.r(r),n.d(r,"triggerGuide",(function(){return l})),n.d(r,"dismissTip",(function(){return d})),n.d(r,"disableTips",(function(){return p})),n.d(r,"enableTips",(function(){return f}));var i={};n.r(i),n.d(i,"getAssociatedGuide",(function(){return w})),n.d(i,"isTipVisible",(function(){return v})),n.d(i,"areTipsEnabled",(function(){return g}));var o=n("NMb1"),s=n.n(o),c=n("1ZqX");const u=Object(c.combineReducers)({areTipsEnabled:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISABLE_TIPS":return!1;case"ENABLE_TIPS":return!0}return e},dismissedTips:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"DISMISS_TIP":return{...e,[t.id]:!0};case"ENABLE_TIPS":return{}}return e}});var a=Object(c.combineReducers)({guides:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TRIGGER_GUIDE":return[...e,t.tipIds]}return e},preferences:u});function l(e){return{type:"TRIGGER_GUIDE",tipIds:e}}function d(e){return{type:"DISMISS_TIP",id:e}}function p(){return{type:"DISABLE_TIPS"}}function f(){return{type:"ENABLE_TIPS"}}var b=n("pPDe"),h=n("YLtl");const w=Object(b.a)((e,t)=>{for(const n of e.guides)if(Object(h.includes)(n,t)){const t=Object(h.difference)(n,Object(h.keys)(e.preferences.dismissedTips)),[r=null,i=null]=t;return{tipIds:n,currentTipId:r,nextTipId:i}}return null},e=>[e.guides,e.preferences.dismissedTips]);function v(e,t){if(!e.preferences.areTipsEnabled)return!1;if(Object(h.has)(e.preferences.dismissedTips,[t]))return!1;const n=w(e,t);return!n||n.currentTipId===t}function g(e){return e.preferences.areTipsEnabled}const x=Object(c.createReduxStore)("core/nux",{reducer:a,actions:r,selectors:i,persist:["preferences"]});Object(c.registerStore)("core/nux",{reducer:a,actions:r,selectors:i,persist:["preferences"]});var T=n("GRId"),j=n("K9lf"),O=n("tI+e"),m=n("l3Sj"),I=n("w95h");function y(e){e.stopPropagation()}var S=Object(j.compose)(Object(c.withSelect)((e,t)=>{let{tipId:n}=t;const{isTipVisible:r,getAssociatedGuide:i}=e(x),o=i(n);return{isVisible:r(n),hasNextTip:!(!o||!o.nextTipId)}}),Object(c.withDispatch)((e,t)=>{let{tipId:n}=t;const{dismissTip:r,disableTips:i}=e(x);return{onDismiss(){r(n)},onDisable(){i()}}}))((function(e){let{position:t="middle right",children:n,isVisible:r,hasNextTip:i,onDismiss:o,onDisable:s}=e;const c=Object(T.useRef)(null),u=Object(T.useCallback)(e=>{c.current&&(c.current.contains(e.relatedTarget)||s())},[s,c]);return r?Object(T.createElement)(O.Popover,{className:"nux-dot-tip",position:t,noArrow:!0,focusOnMount:"container",shouldAnchorIncludePadding:!0,role:"dialog","aria-label":Object(m.__)("Editor tips"),onClick:y,onFocusOutside:u},Object(T.createElement)("p",null,n),Object(T.createElement)("p",null,Object(T.createElement)(O.Button,{variant:"link",onClick:o},i?Object(m.__)("See next tip"):Object(m.__)("Got it"))),Object(T.createElement)(O.Button,{className:"nux-dot-tip__disable",icon:I.a,label:Object(m.__)("Disable tips"),onClick:s})):null}));s()("wp.nux",{since:"5.4",hint:"wp.components.Guide can be used to show a user guide."})},GRId:function(e,t){e.exports=window.wp.element},K9lf:function(e,t){e.exports=window.wp.compose},NMb1:function(e,t){e.exports=window.wp.deprecated},Tqx9:function(e,t){e.exports=window.wp.primitives},YLtl:function(e,t){e.exports=window.lodash},l3Sj:function(e,t){e.exports=window.wp.i18n},pPDe:function(e,t,n){"use strict";var r,i;function o(e){return[e]}function s(){var e={clear:function(){e.head=null}};return e}function c(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},i="undefined"!=typeof WeakMap,t.a=function(e,t){var n,u;function a(){n=i?new WeakMap:s()}function l(){var n,r,i,o,s,a=arguments.length;for(o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];for(s=t.apply(null,o),(n=u(s)).isUniqueByDependants||(n.lastDependants&&!c(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),r=n.head;r;){if(c(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),u=i?function(e){var t,i,o,c,u,a=n,l=!0;for(t=0;t<e.length;t++){if(i=e[t],!(u=i)||"object"!=typeof u){l=!1;break}a.has(i)?a=a.get(i):(o=new WeakMap,a.set(i,o),a=o)}return a.has(r)||((c=s()).isUniqueByDependants=l,a.set(r,c)),a.get(r)}:function(){return n},l.getDependants=t,l.clear=a,a(),l}},"tI+e":function(e,t){e.exports=window.wp.components},w95h:function(e,t,n){"use strict";var r=n("GRId"),i=n("Tqx9");const o=Object(r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(i.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=o}});
\ No newline at end of file
+!function(){"use strict";var e={n:function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,{a:t}),t},d:function(n,t){for(var r in t)e.o(t,r)&&!e.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:t[r]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{DotTip:function(){return A},store:function(){return E}});var t={};e.r(t),e.d(t,{disableTips:function(){return f},dismissTip:function(){return p},enableTips:function(){return w},triggerGuide:function(){return d}});var r={};e.r(r),e.d(r,{areTipsEnabled:function(){return I},getAssociatedGuide:function(){return b},isTipVisible:function(){return m}});var i=window.wp.deprecated,s=e.n(i),o=window.wp.data;const u=(0,o.combineReducers)({areTipsEnabled:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"DISABLE_TIPS":return!1;case"ENABLE_TIPS":return!0}return e},dismissedTips:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"DISMISS_TIP":return{...e,[n.id]:!0};case"ENABLE_TIPS":return{}}return e}});var a,c,l=(0,o.combineReducers)({guides:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return"TRIGGER_GUIDE"===n.type?[...e,n.tipIds]:e},preferences:u});function d(e){return{type:"TRIGGER_GUIDE",tipIds:e}}function p(e){return{type:"DISMISS_TIP",id:e}}function f(){return{type:"DISABLE_TIPS"}}function w(){return{type:"ENABLE_TIPS"}}function h(e){return[e]}function v(){var e={clear:function(){e.head=null}};return e}function g(e,n,t){var r;if(e.length!==n.length)return!1;for(r=t;r<e.length;r++)if(e[r]!==n[r])return!1;return!0}a={},c="undefined"!=typeof WeakMap;var T=window.lodash;const b=function(e,n){var t,r;function i(){t=c?new WeakMap:v()}function s(){var t,i,s,o,u,a=arguments.length;for(o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];for(u=n.apply(null,o),(t=r(u)).isUniqueByDependants||(t.lastDependants&&!g(u,t.lastDependants,0)&&t.clear(),t.lastDependants=u),i=t.head;i;){if(g(i.args,o,1))return i!==t.head&&(i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=t.head,i.prev=null,t.head.prev=i,t.head=i),i.val;i=i.next}return i={val:e.apply(null,o)},o[0]=null,i.args=o,t.head&&(t.head.prev=i,i.next=t.head),t.head=i,i.val}return n||(n=h),r=c?function(e){var n,r,i,s,o,u=t,c=!0;for(n=0;n<e.length;n++){if(r=e[n],!(o=r)||"object"!=typeof o){c=!1;break}u.has(r)?u=u.get(r):(i=new WeakMap,u.set(r,i),u=i)}return u.has(a)||((s=v()).isUniqueByDependants=c,u.set(a,s)),u.get(a)}:function(){return t},s.getDependants=n,s.clear=i,i(),s}(((e,n)=>{for(const t of e.guides)if((0,T.includes)(t,n)){const n=(0,T.difference)(t,(0,T.keys)(e.preferences.dismissedTips)),[r=null,i=null]=n;return{tipIds:t,currentTipId:r,nextTipId:i}}return null}),(e=>[e.guides,e.preferences.dismissedTips]));function m(e,n){if(!e.preferences.areTipsEnabled)return!1;if((0,T.has)(e.preferences.dismissedTips,[n]))return!1;const t=b(e,n);return!t||t.currentTipId===n}function I(e){return e.preferences.areTipsEnabled}const y="core/nux",E=(0,o.createReduxStore)(y,{reducer:l,actions:t,selectors:r,persist:["preferences"]});(0,o.registerStore)(y,{reducer:l,actions:t,selectors:r,persist:["preferences"]});var S=window.wp.element,_=window.wp.compose,x=window.wp.components,D=window.wp.i18n,P=window.wp.primitives;var G=(0,S.createElement)(P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,S.createElement)(P.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"}));function k(e){e.stopPropagation()}var A=(0,_.compose)((0,o.withSelect)(((e,n)=>{let{tipId:t}=n;const{isTipVisible:r,getAssociatedGuide:i}=e(E),s=i(t);return{isVisible:r(t),hasNextTip:!(!s||!s.nextTipId)}})),(0,o.withDispatch)(((e,n)=>{let{tipId:t}=n;const{dismissTip:r,disableTips:i}=e(E);return{onDismiss(){r(t)},onDisable(){i()}}})))((function(e){let{position:n="middle right",children:t,isVisible:r,hasNextTip:i,onDismiss:s,onDisable:o}=e;const u=(0,S.useRef)(null),a=(0,S.useCallback)((e=>{u.current&&(u.current.contains(e.relatedTarget)||o())}),[o,u]);return r?(0,S.createElement)(x.Popover,{className:"nux-dot-tip",position:n,noArrow:!0,focusOnMount:"container",shouldAnchorIncludePadding:!0,role:"dialog","aria-label":(0,D.__)("Editor tips"),onClick:k,onFocusOutside:a},(0,S.createElement)("p",null,t),(0,S.createElement)("p",null,(0,S.createElement)(x.Button,{variant:"link",onClick:s},i?(0,D.__)("See next tip"):(0,D.__)("Got it"))),(0,S.createElement)(x.Button,{className:"nux-dot-tip__disable",icon:G,label:(0,D.__)("Disable tips"),onClick:o})):null}));s()("wp.nux",{since:"5.4",hint:"wp.components.Guide can be used to show a user guide."}),(window.wp=window.wp||{}).nux=n}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/plugins.js b/wp-includes/js/dist/plugins.js
index 18dccff2eb..e5c075da84 100644
--- a/wp-includes/js/dist/plugins.js
+++ b/wp-includes/js/dist/plugins.js
@@ -1,119 +1,8 @@
-this["wp"] = this["wp"] || {}; this["wp"]["plugins"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "ey5A");
-/******/ })
-/************************************************************************/
-/******/ ({
-
-/***/ "0Ene":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const plugins = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  xmlns: "http://www.w3.org/2000/svg",
-  viewBox: "0 0 24 24"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (plugins);
-
-
-/***/ }),
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-/***/ "4eJC":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 9756:
+/***/ (function(module) {

 /**
  * Memize options object.
@@ -278,71 +167,123 @@ function memize( fn, options ) {
 module.exports = memize;


-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "Tqx9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["primitives"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "ey5A":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ })

+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
 "use strict";
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "PluginArea", function() { return /* reexport */ plugin_area; });
-__webpack_require__.d(__webpack_exports__, "withPluginContext", function() { return /* reexport */ withPluginContext; });
-__webpack_require__.d(__webpack_exports__, "registerPlugin", function() { return /* reexport */ registerPlugin; });
-__webpack_require__.d(__webpack_exports__, "unregisterPlugin", function() { return /* reexport */ unregisterPlugin; });
-__webpack_require__.d(__webpack_exports__, "getPlugin", function() { return /* reexport */ getPlugin; });
-__webpack_require__.d(__webpack_exports__, "getPlugins", function() { return /* reexport */ getPlugins; });
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+__webpack_require__.d(__webpack_exports__, {
+  "PluginArea": function() { return /* reexport */ plugin_area; },
+  "getPlugin": function() { return /* reexport */ getPlugin; },
+  "getPlugins": function() { return /* reexport */ getPlugins; },
+  "registerPlugin": function() { return /* reexport */ registerPlugin; },
+  "unregisterPlugin": function() { return /* reexport */ unregisterPlugin; },
+  "withPluginContext": function() { return /* reexport */ withPluginContext; }
+});

+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
 // EXTERNAL MODULE: ./node_modules/memize/index.js
-var memize = __webpack_require__("4eJC");
+var memize = __webpack_require__(9756);
 var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
+;// CONCATENATED MODULE: external ["wp","hooks"]
+var external_wp_hooks_namespaceObject = window["wp"]["hooks"];
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-// EXTERNAL MODULE: external ["wp","hooks"]
-var external_wp_hooks_ = __webpack_require__("g56x");
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+    return target;
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-context/index.js
+  return _extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-context/index.js



@@ -354,7 +295,7 @@ var external_wp_compose_ = __webpack_require__("K9lf");
 const {
   Consumer,
   Provider
-} = Object(external_wp_element_["createContext"])({
+} = (0,external_wp_element_namespaceObject.createContext)({
   name: null,
   icon: null
 });
@@ -370,14 +311,28 @@ const {
  * @return {WPComponent} Enhanced component with injected context as props.
  */

-const withPluginContext = mapContextToProps => Object(external_wp_compose_["createHigherOrderComponent"])(OriginalComponent => {
-  return props => Object(external_wp_element_["createElement"])(Consumer, null, context => Object(external_wp_element_["createElement"])(OriginalComponent, Object(esm_extends["a" /* default */])({}, props, mapContextToProps(context, props))));
+const withPluginContext = mapContextToProps => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(OriginalComponent => {
+  return props => (0,external_wp_element_namespaceObject.createElement)(Consumer, null, context => (0,external_wp_element_namespaceObject.createElement)(OriginalComponent, _extends({}, props, mapContextToProps(context, props))));
 }, 'withPluginContext');

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/plugins.js
-var plugins = __webpack_require__("0Ene");
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/plugins.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const plugins = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  xmlns: "http://www.w3.org/2000/svg",
+  viewBox: "0 0 24 24"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"
+}));
+/* harmony default export */ var library_plugins = (plugins);

-// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/api/index.js
 /* eslint no-console: [ 'error', { allow: [ 'error' ] } ] */

 /**
@@ -512,13 +467,13 @@ function registerPlugin(name, settings) {
     console.error(`Plugin "${name}" is already registered.`);
   }

-  settings = Object(external_wp_hooks_["applyFilters"])('plugins.registerPlugin', settings, name);
+  settings = (0,external_wp_hooks_namespaceObject.applyFilters)('plugins.registerPlugin', settings, name);
   const {
     render,
     scope
   } = settings;

-  if (!Object(external_lodash_["isFunction"])(render)) {
+  if (!(0,external_lodash_namespaceObject.isFunction)(render)) {
     console.error('The "render" property must be specified and must be a valid function.');
     return null;
   }
@@ -537,10 +492,10 @@ function registerPlugin(name, settings) {

   api_plugins[name] = {
     name,
-    icon: plugins["a" /* default */],
+    icon: library_plugins,
     ...settings
   };
-  Object(external_wp_hooks_["doAction"])('plugins.pluginRegistered', settings, name);
+  (0,external_wp_hooks_namespaceObject.doAction)('plugins.pluginRegistered', settings, name);
   return settings;
 }
 /**
@@ -576,7 +531,7 @@ function unregisterPlugin(name) {

   const oldPlugin = api_plugins[name];
   delete api_plugins[name];
-  Object(external_wp_hooks_["doAction"])('plugins.pluginUnregistered', oldPlugin, name);
+  (0,external_wp_hooks_namespaceObject.doAction)('plugins.pluginUnregistered', oldPlugin, name);
   return oldPlugin;
 }
 /**
@@ -603,7 +558,7 @@ function getPlugins(scope) {
   return Object.values(api_plugins).filter(plugin => plugin.scope === scope);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-area/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/plugin-area/index.js


 /**
@@ -658,7 +613,7 @@ function getPlugins(scope) {
  * @return {WPComponent} The component to be rendered.
  */

-class plugin_area_PluginArea extends external_wp_element_["Component"] {
+class PluginArea extends external_wp_element_namespaceObject.Component {
   constructor() {
     super(...arguments);
     this.setPlugins = this.setPlugins.bind(this);
@@ -673,7 +628,7 @@ class plugin_area_PluginArea extends external_wp_element_["Component"] {

   getCurrentPluginsState() {
     return {
-      plugins: Object(external_lodash_["map"])(getPlugins(this.props.scope), _ref => {
+      plugins: (0,external_lodash_namespaceObject.map)(getPlugins(this.props.scope), _ref => {
         let {
           icon,
           name,
@@ -688,13 +643,13 @@ class plugin_area_PluginArea extends external_wp_element_["Component"] {
   }

   componentDidMount() {
-    Object(external_wp_hooks_["addAction"])('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered', this.setPlugins);
-    Object(external_wp_hooks_["addAction"])('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered', this.setPlugins);
+    (0,external_wp_hooks_namespaceObject.addAction)('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered', this.setPlugins);
+    (0,external_wp_hooks_namespaceObject.addAction)('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered', this.setPlugins);
   }

   componentWillUnmount() {
-    Object(external_wp_hooks_["removeAction"])('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered');
-    Object(external_wp_hooks_["removeAction"])('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered');
+    (0,external_wp_hooks_namespaceObject.removeAction)('plugins.pluginRegistered', 'core/plugins/plugin-area/plugins-registered');
+    (0,external_wp_hooks_namespaceObject.removeAction)('plugins.pluginUnregistered', 'core/plugins/plugin-area/plugins-unregistered');
   }

   setPlugins() {
@@ -702,67 +657,35 @@ class plugin_area_PluginArea extends external_wp_element_["Component"] {
   }

   render() {
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       style: {
         display: 'none'
       }
-    }, Object(external_lodash_["map"])(this.state.plugins, _ref2 => {
+    }, (0,external_lodash_namespaceObject.map)(this.state.plugins, _ref2 => {
       let {
         context,
         Plugin
       } = _ref2;
-      return Object(external_wp_element_["createElement"])(Provider, {
+      return (0,external_wp_element_namespaceObject.createElement)(Provider, {
         key: context.name,
         value: context
-      }, Object(external_wp_element_["createElement"])(Plugin, null));
+      }, (0,external_wp_element_namespaceObject.createElement)(Plugin, null));
     }));
   }

 }

-/* harmony default export */ var plugin_area = (plugin_area_PluginArea);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/index.js
-
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/index.js
-
-
+/* harmony default export */ var plugin_area = (PluginArea);

+;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/components/index.js

-/***/ }),

-/***/ "g56x":
-/***/ (function(module, exports) {

-(function() { module.exports = window["wp"]["hooks"]; }());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/plugins/build-module/index.js

-/***/ }),
-
-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];

-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
-
-    return target;
-  };
-
-  return _extends.apply(this, arguments);
-}
-
-/***/ })

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).plugins = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/plugins.min.js b/wp-includes/js/dist/plugins.min.js
index 7b78ce27df..d771f58948 100644
--- a/wp-includes/js/dist/plugins.min.js
+++ b/wp-includes/js/dist/plugins.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.plugins=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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="ey5A")}({"0Ene":function(e,t,n){"use strict";var r=n("GRId"),i=n("Tqx9");const o=Object(r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(i.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}));t.a=o},"4eJC":function(e,t,n){e.exports=function(e,t){var n,r,i=0;function o(){var o,u,l=n,s=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(u=0;u<s;u++)if(l.args[u]!==arguments[u]){l=l.next;continue e}return l!==n&&(l===r&&(r=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(o=new Array(s),u=0;u<s;u++)o[u]=arguments[u];return l={args:o,val:e.apply(null,o)},n?(n.prev=l,l.next=n):r=l,i===t.maxSize?(r=r.prev).next=null:i++,n=l,l.val}return t=t||{},o.clear=function(){n=null,r=null,i=0},o}},GRId:function(e,t){e.exports=window.wp.element},K9lf:function(e,t){e.exports=window.wp.compose},Tqx9:function(e,t){e.exports=window.wp.primitives},YLtl:function(e,t){e.exports=window.lodash},ey5A:function(e,t,n){"use strict";n.r(t),n.d(t,"PluginArea",(function(){return w})),n.d(t,"withPluginContext",(function(){return g})),n.d(t,"registerPlugin",(function(){return m})),n.d(t,"unregisterPlugin",(function(){return v})),n.d(t,"getPlugin",(function(){return h})),n.d(t,"getPlugins",(function(){return b}));var r=n("GRId"),i=n("YLtl"),o=n("4eJC"),u=n.n(o),l=n("g56x"),s=n("wx14"),c=n("K9lf");const{Consumer:a,Provider:p}=Object(r.createContext)({name:null,icon:null}),g=e=>Object(c.createHigherOrderComponent)(t=>n=>Object(r.createElement)(a,null,i=>Object(r.createElement)(t,Object(s.a)({},n,e(i,n)))),"withPluginContext");var d=n("0Ene");const f={};function m(e,t){if("object"!=typeof t)return console.error("No settings object provided!"),null;if("string"!=typeof e)return console.error("Plugin name must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(e))return console.error('Plugin name must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".'),null;f[e]&&console.error(`Plugin "${e}" is already registered.`),t=Object(l.applyFilters)("plugins.registerPlugin",t,e);const{render:n,scope:r}=t;if(!Object(i.isFunction)(n))return console.error('The "render" property must be specified and must be a valid function.'),null;if(r){if("string"!=typeof r)return console.error("Plugin scope must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(r))return console.error('Plugin scope must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-page".'),null}return f[e]={name:e,icon:d.a,...t},Object(l.doAction)("plugins.pluginRegistered",t,e),t}function v(e){if(!f[e])return void console.error('Plugin "'+e+'" is not registered.');const t=f[e];return delete f[e],Object(l.doAction)("plugins.pluginUnregistered",t,e),t}function h(e){return f[e]}function b(e){return Object.values(f).filter(t=>t.scope===e)}class x extends r.Component{constructor(){super(...arguments),this.setPlugins=this.setPlugins.bind(this),this.memoizedContext=u()((e,t)=>({name:e,icon:t})),this.state=this.getCurrentPluginsState()}getCurrentPluginsState(){return{plugins:Object(i.map)(b(this.props.scope),e=>{let{icon:t,name:n,render:r}=e;return{Plugin:r,context:this.memoizedContext(n,t)}})}}componentDidMount(){Object(l.addAction)("plugins.pluginRegistered","core/plugins/plugin-area/plugins-registered",this.setPlugins),Object(l.addAction)("plugins.pluginUnregistered","core/plugins/plugin-area/plugins-unregistered",this.setPlugins)}componentWillUnmount(){Object(l.removeAction)("plugins.pluginRegistered","core/plugins/plugin-area/plugins-registered"),Object(l.removeAction)("plugins.pluginUnregistered","core/plugins/plugin-area/plugins-unregistered")}setPlugins(){this.setState(this.getCurrentPluginsState)}render(){return Object(r.createElement)("div",{style:{display:"none"}},Object(i.map)(this.state.plugins,e=>{let{context:t,Plugin:n}=e;return Object(r.createElement)(p,{key:t.name,value:t},Object(r.createElement)(n,null))}))}}var w=x},g56x:function(e,t){e.exports=window.wp.hooks},wx14:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))}});
\ No newline at end of file
+!function(){var e={9756:function(e){e.exports=function(e,n){var t,r,i=0;function o(){var o,u,l=t,s=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(u=0;u<s;u++)if(l.args[u]!==arguments[u]){l=l.next;continue e}return l!==t&&(l===r&&(r=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=t,l.prev=null,t.prev=l,t=l),l.val}l=l.next}for(o=new Array(s),u=0;u<s;u++)o[u]=arguments[u];return l={args:o,val:e.apply(null,o)},t?(t.prev=l,l.next=t):r=l,i===n.maxSize?(r=r.prev).next=null:i++,t=l,l.val}return n=n||{},o.clear=function(){t=null,r=null,i=0},o}}},n={};function t(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return e[r](o,o.exports,t),o.exports}t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},t.d=function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";t.r(r),t.d(r,{PluginArea:function(){return x},getPlugin:function(){return h},getPlugins:function(){return w},registerPlugin:function(){return v},unregisterPlugin:function(){return m},withPluginContext:function(){return g}});var e=window.wp.element,n=window.lodash,i=t(9756),o=t.n(i),u=window.wp.hooks;function l(){return l=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},l.apply(this,arguments)}var s=window.wp.compose;const{Consumer:a,Provider:c}=(0,e.createContext)({name:null,icon:null}),g=n=>(0,s.createHigherOrderComponent)((t=>r=>(0,e.createElement)(a,null,(i=>(0,e.createElement)(t,l({},r,n(i,r)))))),"withPluginContext");var p=window.wp.primitives;var d=(0,e.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(p.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}));const f={};function v(e,t){if("object"!=typeof t)return console.error("No settings object provided!"),null;if("string"!=typeof e)return console.error("Plugin name must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(e))return console.error('Plugin name must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".'),null;f[e]&&console.error(`Plugin "${e}" is already registered.`),t=(0,u.applyFilters)("plugins.registerPlugin",t,e);const{render:r,scope:i}=t;if(!(0,n.isFunction)(r))return console.error('The "render" property must be specified and must be a valid function.'),null;if(i){if("string"!=typeof i)return console.error("Plugin scope must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(i))return console.error('Plugin scope must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-page".'),null}return f[e]={name:e,icon:d,...t},(0,u.doAction)("plugins.pluginRegistered",t,e),t}function m(e){if(!f[e])return void console.error('Plugin "'+e+'" is not registered.');const n=f[e];return delete f[e],(0,u.doAction)("plugins.pluginUnregistered",n,e),n}function h(e){return f[e]}function w(e){return Object.values(f).filter((n=>n.scope===e))}class P extends e.Component{constructor(){super(...arguments),this.setPlugins=this.setPlugins.bind(this),this.memoizedContext=o()(((e,n)=>({name:e,icon:n}))),this.state=this.getCurrentPluginsState()}getCurrentPluginsState(){return{plugins:(0,n.map)(w(this.props.scope),(e=>{let{icon:n,name:t,render:r}=e;return{Plugin:r,context:this.memoizedContext(t,n)}}))}}componentDidMount(){(0,u.addAction)("plugins.pluginRegistered","core/plugins/plugin-area/plugins-registered",this.setPlugins),(0,u.addAction)("plugins.pluginUnregistered","core/plugins/plugin-area/plugins-unregistered",this.setPlugins)}componentWillUnmount(){(0,u.removeAction)("plugins.pluginRegistered","core/plugins/plugin-area/plugins-registered"),(0,u.removeAction)("plugins.pluginUnregistered","core/plugins/plugin-area/plugins-unregistered")}setPlugins(){this.setState(this.getCurrentPluginsState)}render(){return(0,e.createElement)("div",{style:{display:"none"}},(0,n.map)(this.state.plugins,(n=>{let{context:t,Plugin:r}=n;return(0,e.createElement)(c,{key:t.name,value:t},(0,e.createElement)(r,null))})))}}var x=P}(),(window.wp=window.wp||{}).plugins=r}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/primitives.js b/wp-includes/js/dist/primitives.js
index 7b7bc0161e..69792ab40e 100644
--- a/wp-includes/js/dist/primitives.js
+++ b/wp-includes/js/dist/primitives.js
@@ -1,122 +1,168 @@
-this["wp"] = this["wp"] || {}; this["wp"]["primitives"] =
-/******/ (function(modules) { // webpackBootstrap
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({
+
+/***/ 4403:
+/***/ (function(module, exports) {
+
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */
+
+(function () {
+	'use strict';
+
+	var hasOwn = {}.hasOwnProperty;
+
+	function classNames() {
+		var classes = [];
+
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;
+
+			var argType = typeof arg;
+
+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}
+
+		return classes.join(' ');
+	}
+
+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());
+
+
+/***/ })
+
+/******/ 	});
+/************************************************************************/
 /******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
+/******/ 	var __webpack_module_cache__ = {};
+/******/
 /******/ 	// The require function
 /******/ 	function __webpack_require__(moduleId) {
-/******/
 /******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
 /******/ 		}
 /******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
 /******/ 			exports: {}
 /******/ 		};
-/******/
+/******/
 /******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
 /******/ 		// Return the exports of the module
 /******/ 		return module.exports;
 /******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "G8AQ");
-/******/ })
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "G8AQ":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
 "use strict";
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "Circle", function() { return /* reexport */ Circle; });
-__webpack_require__.d(__webpack_exports__, "G", function() { return /* reexport */ G; });
-__webpack_require__.d(__webpack_exports__, "Path", function() { return /* reexport */ Path; });
-__webpack_require__.d(__webpack_exports__, "Polygon", function() { return /* reexport */ Polygon; });
-__webpack_require__.d(__webpack_exports__, "Rect", function() { return /* reexport */ Rect; });
-__webpack_require__.d(__webpack_exports__, "Defs", function() { return /* reexport */ Defs; });
-__webpack_require__.d(__webpack_exports__, "RadialGradient", function() { return /* reexport */ RadialGradient; });
-__webpack_require__.d(__webpack_exports__, "LinearGradient", function() { return /* reexport */ LinearGradient; });
-__webpack_require__.d(__webpack_exports__, "Stop", function() { return /* reexport */ Stop; });
-__webpack_require__.d(__webpack_exports__, "SVG", function() { return /* reexport */ SVG; });
-__webpack_require__.d(__webpack_exports__, "HorizontalRule", function() { return /* reexport */ HorizontalRule; });
-__webpack_require__.d(__webpack_exports__, "BlockQuotation", function() { return /* reexport */ BlockQuotation; });
-__webpack_require__.d(__webpack_exports__, "View", function() { return /* reexport */ View; });
+__webpack_require__.d(__webpack_exports__, {
+  "BlockQuotation": function() { return /* reexport */ BlockQuotation; },
+  "Circle": function() { return /* reexport */ Circle; },
+  "Defs": function() { return /* reexport */ Defs; },
+  "G": function() { return /* reexport */ G; },
+  "HorizontalRule": function() { return /* reexport */ HorizontalRule; },
+  "LinearGradient": function() { return /* reexport */ LinearGradient; },
+  "Path": function() { return /* reexport */ Path; },
+  "Polygon": function() { return /* reexport */ Polygon; },
+  "RadialGradient": function() { return /* reexport */ RadialGradient; },
+  "Rect": function() { return /* reexport */ Rect; },
+  "SVG": function() { return /* reexport */ SVG; },
+  "Stop": function() { return /* reexport */ Stop; },
+  "View": function() { return /* reexport */ View; }
+});

 // EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
+var classnames = __webpack_require__(4403);
 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
 /**
  * External dependencies
  */
@@ -134,63 +180,63 @@ var external_wp_element_ = __webpack_require__("GRId");
  * @return {JSX.Element} Circle component
  */

-const Circle = props => Object(external_wp_element_["createElement"])('circle', props);
+const Circle = props => (0,external_wp_element_namespaceObject.createElement)('circle', props);
 /**
  * @param {import('react').ComponentPropsWithoutRef<'g'>} props
  *
  * @return {JSX.Element} G component
  */

-const G = props => Object(external_wp_element_["createElement"])('g', props);
+const G = props => (0,external_wp_element_namespaceObject.createElement)('g', props);
 /**
  * @param {import('react').ComponentPropsWithoutRef<'path'>} props
  *
  * @return {JSX.Element} Path component
  */

-const Path = props => Object(external_wp_element_["createElement"])('path', props);
+const Path = props => (0,external_wp_element_namespaceObject.createElement)('path', props);
 /**
  * @param {import('react').ComponentPropsWithoutRef<'polygon'>} props
  *
  * @return {JSX.Element} Polygon component
  */

-const Polygon = props => Object(external_wp_element_["createElement"])('polygon', props);
+const Polygon = props => (0,external_wp_element_namespaceObject.createElement)('polygon', props);
 /**
  * @param {import('react').ComponentPropsWithoutRef<'rect'>} props
  *
  * @return {JSX.Element} Rect component
  */

-const Rect = props => Object(external_wp_element_["createElement"])('rect', props);
+const Rect = props => (0,external_wp_element_namespaceObject.createElement)('rect', props);
 /**
  * @param {import('react').ComponentPropsWithoutRef<'defs'>} props
  *
  * @return {JSX.Element} Defs component
  */

-const Defs = props => Object(external_wp_element_["createElement"])('defs', props);
+const Defs = props => (0,external_wp_element_namespaceObject.createElement)('defs', props);
 /**
  * @param {import('react').ComponentPropsWithoutRef<'radialGradient'>} props
  *
  * @return {JSX.Element} RadialGradient component
  */

-const RadialGradient = props => Object(external_wp_element_["createElement"])('radialGradient', props);
+const RadialGradient = props => (0,external_wp_element_namespaceObject.createElement)('radialGradient', props);
 /**
  * @param {import('react').ComponentPropsWithoutRef<'linearGradient'>} props
  *
  * @return {JSX.Element} LinearGradient component
  */

-const LinearGradient = props => Object(external_wp_element_["createElement"])('linearGradient', props);
+const LinearGradient = props => (0,external_wp_element_namespaceObject.createElement)('linearGradient', props);
 /**
  * @param {import('react').ComponentPropsWithoutRef<'stop'>} props
  *
  * @return {JSX.Element} Stop component
  */

-const Stop = props => Object(external_wp_element_["createElement"])('stop', props);
+const Stop = props => (0,external_wp_element_namespaceObject.createElement)('stop', props);
 /**
  *
  * @param {SVGProps} props isPressed indicates whether the SVG should appear as pressed.
@@ -215,96 +261,25 @@ const SVG = _ref => {
   }; // Disable reason: We need to have a way to render HTML tag for web.
   // eslint-disable-next-line react/forbid-elements

-  return Object(external_wp_element_["createElement"])("svg", appliedProps);
+  return (0,external_wp_element_namespaceObject.createElement)("svg", appliedProps);
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/horizontal-rule/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/horizontal-rule/index.js
 const HorizontalRule = 'hr';

-// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/block-quotation/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/block-quotation/index.js
 const BlockQuotation = 'blockquote';

-// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/view/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/view/index.js
 const View = 'div';

-// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/index.js
-
-
-
-
-
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */
-
-(function () {
-	'use strict';
-
-	var hasOwn = {}.hasOwnProperty;
-
-	function classNames() {
-		var classes = [];
-
-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
-
-			var argType = typeof arg;
-
-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
+;// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/index.js

-		return classes.join(' ');
-	}

-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());


-/***/ })

-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).primitives = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/primitives.min.js b/wp-includes/js/dist/primitives.min.js
index 5c07c9642f..c339048653 100644
--- a/wp-includes/js/dist/primitives.min.js
+++ b/wp-includes/js/dist/primitives.min.js
@@ -1,7 +1,7 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.primitives=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="G8AQ")}({G8AQ:function(e,t,r){"use strict";r.r(t),r.d(t,"Circle",(function(){return u})),r.d(t,"G",(function(){return c})),r.d(t,"Path",(function(){return a})),r.d(t,"Polygon",(function(){return l})),r.d(t,"Rect",(function(){return f})),r.d(t,"Defs",(function(){return s})),r.d(t,"RadialGradient",(function(){return d})),r.d(t,"LinearGradient",(function(){return p})),r.d(t,"Stop",(function(){return b})),r.d(t,"SVG",(function(){return m})),r.d(t,"HorizontalRule",(function(){return v})),r.d(t,"BlockQuotation",(function(){return y})),r.d(t,"View",(function(){return j}));var n=r("TSYQ"),o=r.n(n),i=r("GRId");const u=e=>Object(i.createElement)("circle",e),c=e=>Object(i.createElement)("g",e),a=e=>Object(i.createElement)("path",e),l=e=>Object(i.createElement)("polygon",e),f=e=>Object(i.createElement)("rect",e),s=e=>Object(i.createElement)("defs",e),d=e=>Object(i.createElement)("radialGradient",e),p=e=>Object(i.createElement)("linearGradient",e),b=e=>Object(i.createElement)("stop",e),m=e=>{let{className:t,isPressed:r,...n}=e;const u={...n,className:o()(t,{"is-pressed":r})||void 0,role:"img","aria-hidden":!0,focusable:!1};return Object(i.createElement)("svg",u)},v="hr",y="blockquote",j="div"},GRId:function(e,t){e.exports=window.wp.element},TSYQ:function(e,t,r){var n;
+!function(){var e={4403:function(e,t){var n;
 /*!
   Copyright (c) 2018 Jed Watson.
   Licensed under the MIT License (MIT), see
   http://jedwatson.github.io/classnames
-*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var u=o.apply(null,n);u&&e.push(u)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var c in n)r.call(n,c)&&n[c]&&e.push(c);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}});
\ No newline at end of file
+*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var u=o.apply(null,n);u&&e.push(u)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var a in n)r.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r),n.d(r,{BlockQuotation:function(){return y},Circle:function(){return i},Defs:function(){return f},G:function(){return u},HorizontalRule:function(){return m},LinearGradient:function(){return p},Path:function(){return a},Polygon:function(){return c},RadialGradient:function(){return s},Rect:function(){return l},SVG:function(){return v},Stop:function(){return d},View:function(){return g}});var e=n(4403),t=n.n(e),o=window.wp.element;const i=e=>(0,o.createElement)("circle",e),u=e=>(0,o.createElement)("g",e),a=e=>(0,o.createElement)("path",e),c=e=>(0,o.createElement)("polygon",e),l=e=>(0,o.createElement)("rect",e),f=e=>(0,o.createElement)("defs",e),s=e=>(0,o.createElement)("radialGradient",e),p=e=>(0,o.createElement)("linearGradient",e),d=e=>(0,o.createElement)("stop",e),v=e=>{let{className:n,isPressed:r,...i}=e;const u={...i,className:t()(n,{"is-pressed":r})||void 0,role:"img","aria-hidden":!0,focusable:!1};return(0,o.createElement)("svg",u)},m="hr",y="blockquote",g="div"}(),(window.wp=window.wp||{}).primitives=r}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/priority-queue.js b/wp-includes/js/dist/priority-queue.js
index d8738af5d0..b16dc1a5cd 100644
--- a/wp-includes/js/dist/priority-queue.js
+++ b/wp-includes/js/dist/priority-queue.js
@@ -1,103 +1,48 @@
-this["wp"] = this["wp"] || {}; this["wp"]["priorityQueue"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "XPKI");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "XPKI":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "createQueue", function() { return /* binding */ createQueue; });
+__webpack_require__.d(__webpack_exports__, {
+  "createQueue": function() { return /* binding */ createQueue; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/priority-queue/build-module/request-idle-callback.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/priority-queue/build-module/request-idle-callback.js
 /**
  * @typedef {( timeOrDeadline: IdleDeadline | number ) => void} Callback
  */
@@ -116,7 +61,7 @@ function createRequestIdleCallback() {
 }
 /* harmony default export */ var request_idle_callback = (createRequestIdleCallback());

-// CONCATENATED MODULE: ./node_modules/@wordpress/priority-queue/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/priority-queue/build-module/index.js
 /**
  * Internal dependencies
  */
@@ -290,7 +235,6 @@ const createQueue = () => {
   };
 };

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).priorityQueue = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/priority-queue.min.js b/wp-includes/js/dist/priority-queue.min.js
index f4344a97a1..f59b5106f5 100644
--- a/wp-includes/js/dist/priority-queue.min.js
+++ b/wp-includes/js/dist/priority-queue.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.priorityQueue=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="XPKI")}({XPKI:function(e,t,n){"use strict";n.r(t),n.d(t,"createQueue",(function(){return o}));var r="undefined"==typeof window?e=>{setTimeout(()=>e(Date.now()),0)}:window.requestIdleCallback||window.requestAnimationFrame;const o=()=>{let e=[],t=new WeakMap,n=!1;const o=u=>{const i="number"==typeof u?()=>!1:()=>u.timeRemaining()>0;do{if(0===e.length)return void(n=!1);const r=e.shift();t.get(r)(),t.delete(r)}while(i());r(o)};return{add:(u,i)=>{t.has(u)||e.push(u),t.set(u,i),n||(n=!0,r(o))},flush:n=>{if(!t.has(n))return!1;const r=e.indexOf(n);e.splice(r,1);const o=t.get(n);return t.delete(n),o(),!0},reset:()=>{e=[],t=new WeakMap,n=!1}}}}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{createQueue:function(){return o}});var n="undefined"==typeof window?e=>{setTimeout((()=>e(Date.now())),0)}:window.requestIdleCallback||window.requestAnimationFrame;const o=()=>{let e=[],t=new WeakMap,o=!1;const r=i=>{const u="number"==typeof i?()=>!1:()=>i.timeRemaining()>0;do{if(0===e.length)return void(o=!1);const n=e.shift();t.get(n)(),t.delete(n)}while(u());n(r)};return{add:(i,u)=>{t.has(i)||e.push(i),t.set(i,u),o||(o=!0,n(r))},flush:n=>{if(!t.has(n))return!1;const o=e.indexOf(n);e.splice(o,1);const r=t.get(n);return t.delete(n),r(),!0},reset:()=>{e=[],t=new WeakMap,o=!1}}};(window.wp=window.wp||{}).priorityQueue=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/redux-routine.js b/wp-includes/js/dist/redux-routine.js
index d49aff8167..f035ae1dc0 100644
--- a/wp-includes/js/dist/redux-routine.js
+++ b/wp-includes/js/dist/redux-routine.js
@@ -1,318 +1,239 @@
-this["wp"] = this["wp"] || {}; this["wp"]["reduxRoutine"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "+ekt");
-/******/ })
-/************************************************************************/
-/******/ ({
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	var __webpack_modules__ = ({

-/***/ "+ekt":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+/***/ 9025:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);

-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ createMiddleware; });
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/is-generator.js
-/* eslint-disable jsdoc/valid-types */

-/**
- * Returns true if the given object is a generator, or false otherwise.
- *
- * @see https://www.ecma-international.org/ecma-262/6.0/#sec-generator-objects
- *
- * @param {any} object Object to test.
- *
- * @return {object is Generator} Whether object is a generator.
- */
-function isGenerator(object) {
-  /* eslint-enable jsdoc/valid-types */
-  // Check that iterator (next) and iterable (Symbol.iterator) interfaces are satisfied.
-  // These checks seem to be compatible with several generator helpers as well as the native implementation.
-  return !!object && typeof object[Symbol.iterator] === 'function' && typeof object.next === 'function';
-}
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports.race = exports.join = exports.fork = exports.promise = undefined;

-// EXTERNAL MODULE: ./node_modules/rungen/dist/index.js
-var dist = __webpack_require__("hnoU");
+var _is = __webpack_require__(9681);

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+var _is2 = _interopRequireDefault(_is);

-// EXTERNAL MODULE: ./node_modules/is-promise/index.js
-var is_promise = __webpack_require__("JlUD");
-var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
+var _helpers = __webpack_require__(7783);

-// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/is-action.js
-/**
- * External dependencies
- */
-
-/* eslint-disable jsdoc/valid-types */
+var _dispatcher = __webpack_require__(2451);

-/**
- * Returns true if the given object quacks like an action.
- *
- * @param {any} object Object to test
- *
- * @return {object is import('redux').AnyAction}  Whether object is an action.
- */
-
-function isAction(object) {
-  return Object(external_lodash_["isPlainObject"])(object) && Object(external_lodash_["isString"])(object.type);
-}
-/**
- * Returns true if the given object quacks like an action and has a specific
- * action type
- *
- * @param {unknown} object       Object to test
- * @param {string}  expectedType The expected type for the action.
- *
- * @return {object is import('redux').AnyAction} Whether object is an action and is of specific type.
- */
+var _dispatcher2 = _interopRequireDefault(_dispatcher);

-function isActionOfType(object, expectedType) {
-  /* eslint-enable jsdoc/valid-types */
-  return isAction(object) && object.type === expectedType;
-}
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

-// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/runtime.js
-/**
- * External dependencies
- */
+var promise = exports.promise = function promise(value, next, rungen, yieldNext, raiseNext) {
+  if (!_is2.default.promise(value)) return false;
+  value.then(next, raiseNext);
+  return true;
+};

+var forkedTasks = new Map();
+var fork = exports.fork = function fork(value, next, rungen) {
+  if (!_is2.default.fork(value)) return false;
+  var task = Symbol('fork');
+  var dispatcher = (0, _dispatcher2.default)();
+  forkedTasks.set(task, dispatcher);
+  rungen(value.iterator.apply(null, value.args), function (result) {
+    return dispatcher.dispatch(result);
+  }, function (err) {
+    return dispatcher.dispatch((0, _helpers.error)(err));
+  });
+  var unsubscribe = dispatcher.subscribe(function () {
+    unsubscribe();
+    forkedTasks.delete(task);
+  });
+  next(task);
+  return true;
+};

+var join = exports.join = function join(value, next, rungen, yieldNext, raiseNext) {
+  if (!_is2.default.join(value)) return false;
+  var dispatcher = forkedTasks.get(value.task);
+  if (!dispatcher) {
+    raiseNext('join error : task not found');
+  } else {
+    (function () {
+      var unsubscribe = dispatcher.subscribe(function (result) {
+        unsubscribe();
+        next(result);
+      });
+    })();
+  }
+  return true;
+};

+var race = exports.race = function race(value, next, rungen, yieldNext, raiseNext) {
+  if (!_is2.default.race(value)) return false;
+  var finished = false;
+  var success = function success(result, k, v) {
+    if (finished) return;
+    finished = true;
+    result[k] = v;
+    next(result);
+  };

-/**
- * Internal dependencies
- */
+  var fail = function fail(err) {
+    if (finished) return;
+    raiseNext(err);
+  };
+  if (_is2.default.array(value.competitors)) {
+    (function () {
+      var result = value.competitors.map(function () {
+        return false;
+      });
+      value.competitors.forEach(function (competitor, index) {
+        rungen(competitor, function (output) {
+          return success(result, index, output);
+        }, fail);
+      });
+    })();
+  } else {
+    (function () {
+      var result = Object.keys(value.competitors).reduce(function (p, c) {
+        p[c] = false;
+        return p;
+      }, {});
+      Object.keys(value.competitors).forEach(function (index) {
+        rungen(value.competitors[index], function (output) {
+          return success(result, index, output);
+        }, fail);
+      });
+    })();
+  }
+  return true;
+};

-/**
- * Create a co-routine runtime.
- *
- * @param  controls Object of control handlers.
- * @param  dispatch Unhandled action dispatch.
- */
+var subscribe = function subscribe(value, next) {
+  if (!_is2.default.subscribe(value)) return false;
+  if (!_is2.default.channel(value.channel)) {
+    throw new Error('the first argument of "subscribe" must be a valid channel');
+  }
+  var unsubscribe = value.channel.subscribe(function (ret) {
+    unsubscribe && unsubscribe();
+    next(ret);
+  });

-function createRuntime() {
-  let controls = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let dispatch = arguments.length > 1 ? arguments[1] : undefined;
-  const rungenControls = Object(external_lodash_["map"])(controls, (control, actionType) => (value, next, iterate, yieldNext, yieldError) => {
-    if (!isActionOfType(value, actionType)) {
-      return false;
-    }
+  return true;
+};

-    const routine = control(value);
+exports["default"] = [promise, fork, join, race, subscribe];

-    if (is_promise_default()(routine)) {
-      // Async control routine awaits resolution.
-      routine.then(yieldNext, yieldError);
-    } else {
-      yieldNext(routine);
-    }
+/***/ }),

-    return true;
-  });
+/***/ 7961:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-  const unhandledActionControl = (value, next) => {
-    if (!isAction(value)) {
-      return false;
-    }

-    dispatch(value);
-    next();
-    return true;
-  };

-  rungenControls.push(unhandledActionControl);
-  const rungenRuntime = Object(dist["create"])(rungenControls);
-  return action => new Promise((resolve, reject) => rungenRuntime(action, result => {
-    if (isAction(result)) {
-      dispatch(result);
-    }
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports.iterator = exports.array = exports.object = exports.error = exports.any = undefined;

-    resolve(result);
-  }, reject));
-}
+var _is = __webpack_require__(9681);

-// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/index.js
-/**
- * Internal dependencies
- */
+var _is2 = _interopRequireDefault(_is);

+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

-/**
- * Creates a Redux middleware, given an object of controls where each key is an
- * action type for which to act upon, the value a function which returns either
- * a promise which is to resolve when evaluation of the action should continue,
- * or a value. The value or resolved promise value is assigned on the return
- * value of the yield assignment. If the control handler returns undefined, the
- * execution is not continued.
- *
- * @param {Record<string, (value: import('redux').AnyAction) => Promise<boolean> | boolean>} controls Object of control handlers.
- *
- * @return {import('redux').Middleware} Co-routine runtime
- */
+var any = exports.any = function any(value, next, rungen, yieldNext) {
+  yieldNext(value);
+  return true;
+};

-function createMiddleware() {
-  let controls = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  return store => {
-    const runtime = createRuntime(controls, store.dispatch);
-    return next => action => {
-      if (!isGenerator(action)) {
-        return next(action);
-      }
+var error = exports.error = function error(value, next, rungen, yieldNext, raiseNext) {
+  if (!_is2.default.error(value)) return false;
+  raiseNext(value.error);
+  return true;
+};

-      return runtime(action);
-    };
+var object = exports.object = function object(value, next, rungen, yieldNext, raiseNext) {
+  if (!_is2.default.all(value) || !_is2.default.obj(value.value)) return false;
+  var result = {};
+  var keys = Object.keys(value.value);
+  var count = 0;
+  var hasError = false;
+  var gotResultSuccess = function gotResultSuccess(key, ret) {
+    if (hasError) return;
+    result[key] = ret;
+    count++;
+    if (count === keys.length) {
+      yieldNext(result);
+    }
   };
-}

+  var gotResultError = function gotResultError(key, error) {
+    if (hasError) return;
+    hasError = true;
+    raiseNext(error);
+  };

-/***/ }),
-
-/***/ "Hkfj":
-/***/ (function(module, exports, __webpack_require__) {
-
-"use strict";
-
+  keys.map(function (key) {
+    rungen(value.value[key], function (ret) {
+      return gotResultSuccess(key, ret);
+    }, function (err) {
+      return gotResultError(key, err);
+    });
+  });

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-var createDispatcher = function createDispatcher() {
-  var listeners = [];
+  return true;
+};

-  return {
-    subscribe: function subscribe(listener) {
-      listeners.push(listener);
-      return function () {
-        listeners = listeners.filter(function (l) {
-          return l !== listener;
-        });
-      };
-    },
-    dispatch: function dispatch(action) {
-      listeners.slice().forEach(function (listener) {
-        return listener(action);
-      });
+var array = exports.array = function array(value, next, rungen, yieldNext, raiseNext) {
+  if (!_is2.default.all(value) || !_is2.default.array(value.value)) return false;
+  var result = [];
+  var count = 0;
+  var hasError = false;
+  var gotResultSuccess = function gotResultSuccess(key, ret) {
+    if (hasError) return;
+    result[key] = ret;
+    count++;
+    if (count === value.value.length) {
+      yieldNext(result);
     }
   };
-};
-
-exports.default = createDispatcher;

-/***/ }),
+  var gotResultError = function gotResultError(key, error) {
+    if (hasError) return;
+    hasError = true;
+    raiseNext(error);
+  };

-/***/ "JlUD":
-/***/ (function(module, exports) {
+  value.value.map(function (v, key) {
+    rungen(v, function (ret) {
+      return gotResultSuccess(key, ret);
+    }, function (err) {
+      return gotResultError(key, err);
+    });
+  });

-module.exports = isPromise;
-module.exports.default = isPromise;
+  return true;
+};

-function isPromise(obj) {
-  return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
-}
+var iterator = exports.iterator = function iterator(value, next, rungen, yieldNext, raiseNext) {
+  if (!_is2.default.iterator(value)) return false;
+  rungen(value, next, raiseNext);
+  return true;
+};

+exports["default"] = [error, iterator, array, object, any];

 /***/ }),

-/***/ "PERq":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 2165:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
+Object.defineProperty(exports, "__esModule", ({
   value: true
-});
+}));
 exports.cps = exports.call = undefined;

-var _is = __webpack_require__("qmpp");
+var _is = __webpack_require__(9681);

 var _is2 = _interopRequireDefault(_is);

@@ -340,292 +261,106 @@ var cps = exports.cps = function cps(value, next, rungen, yieldNext, raiseNext)
   return true;
 };

-exports.default = [call, cps];
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
+exports["default"] = [call, cps];

 /***/ }),

-/***/ "e6BM":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 6288:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
+Object.defineProperty(exports, "__esModule", ({
   value: true
-});
-exports.createChannel = exports.subscribe = exports.cps = exports.apply = exports.call = exports.invoke = exports.delay = exports.race = exports.join = exports.fork = exports.error = exports.all = undefined;
-
-var _keys = __webpack_require__("tGEh");
-
-var _keys2 = _interopRequireDefault(_keys);
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
-
-var all = exports.all = function all(value) {
-  return {
-    type: _keys2.default.all,
-    value: value
-  };
-};
-
-var error = exports.error = function error(err) {
-  return {
-    type: _keys2.default.error,
-    error: err
-  };
-};
-
-var fork = exports.fork = function fork(iterator) {
-  for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
-    args[_key - 1] = arguments[_key];
-  }
+}));

-  return {
-    type: _keys2.default.fork,
-    iterator: iterator,
-    args: args
-  };
-};
-
-var join = exports.join = function join(task) {
-  return {
-    type: _keys2.default.join,
-    task: task
-  };
-};
-
-var race = exports.race = function race(competitors) {
-  return {
-    type: _keys2.default.race,
-    competitors: competitors
-  };
-};
+var _builtin = __webpack_require__(7961);

-var delay = exports.delay = function delay(timeout) {
-  return new Promise(function (resolve) {
-    setTimeout(function () {
-      return resolve(true);
-    }, timeout);
-  });
-};
-
-var invoke = exports.invoke = function invoke(func) {
-  for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
-    args[_key2 - 1] = arguments[_key2];
-  }
-
-  return {
-    type: _keys2.default.call,
-    func: func,
-    context: null,
-    args: args
-  };
-};
-
-var call = exports.call = function call(func, context) {
-  for (var _len3 = arguments.length, args = Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
-    args[_key3 - 2] = arguments[_key3];
-  }
-
-  return {
-    type: _keys2.default.call,
-    func: func,
-    context: context,
-    args: args
-  };
-};
-
-var apply = exports.apply = function apply(func, context, args) {
-  return {
-    type: _keys2.default.call,
-    func: func,
-    context: context,
-    args: args
-  };
-};
-
-var cps = exports.cps = function cps(func) {
-  for (var _len4 = arguments.length, args = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
-    args[_key4 - 1] = arguments[_key4];
-  }
-
-  return {
-    type: _keys2.default.cps,
-    func: func,
-    args: args
-  };
-};
-
-var subscribe = exports.subscribe = function subscribe(channel) {
-  return {
-    type: _keys2.default.subscribe,
-    channel: channel
-  };
-};
-
-var createChannel = exports.createChannel = function createChannel(callback) {
-  var listeners = [];
-  var subscribe = function subscribe(l) {
-    listeners.push(l);
-    return function () {
-      return listeners.splice(listeners.indexOf(l), 1);
-    };
-  };
-  var next = function next(val) {
-    return listeners.forEach(function (l) {
-      return l(val);
-    });
-  };
-  callback(next);
-
-  return {
-    subscribe: subscribe
-  };
-};
-
-/***/ }),
+var _builtin2 = _interopRequireDefault(_builtin);

-/***/ "hecb":
-/***/ (function(module, exports, __webpack_require__) {
+var _is = __webpack_require__(9681);

-"use strict";
+var _is2 = _interopRequireDefault(_is);

+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
-exports.race = exports.join = exports.fork = exports.promise = undefined;
+function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

-var _is = __webpack_require__("qmpp");
+var create = function create() {
+  var userControls = arguments.length <= 0 || arguments[0] === undefined ? [] : arguments[0];

-var _is2 = _interopRequireDefault(_is);
+  var controls = [].concat(_toConsumableArray(userControls), _toConsumableArray(_builtin2.default));

-var _helpers = __webpack_require__("e6BM");
+  var runtime = function runtime(input) {
+    var success = arguments.length <= 1 || arguments[1] === undefined ? function () {} : arguments[1];
+    var error = arguments.length <= 2 || arguments[2] === undefined ? function () {} : arguments[2];

-var _dispatcher = __webpack_require__("Hkfj");
+    var iterate = function iterate(gen) {
+      var yieldValue = function yieldValue(isError) {
+        return function (ret) {
+          try {
+            var _ref = isError ? gen.throw(ret) : gen.next(ret);

-var _dispatcher2 = _interopRequireDefault(_dispatcher);
+            var value = _ref.value;
+            var done = _ref.done;

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+            if (done) return success(value);
+            next(value);
+          } catch (e) {
+            return error(e);
+          }
+        };
+      };

-var promise = exports.promise = function promise(value, next, rungen, yieldNext, raiseNext) {
-  if (!_is2.default.promise(value)) return false;
-  value.then(next, raiseNext);
-  return true;
-};
+      var next = function next(ret) {
+        controls.some(function (control) {
+          return control(ret, next, runtime, yieldValue(false), yieldValue(true));
+        });
+      };

-var forkedTasks = new Map();
-var fork = exports.fork = function fork(value, next, rungen) {
-  if (!_is2.default.fork(value)) return false;
-  var task = Symbol('fork');
-  var dispatcher = (0, _dispatcher2.default)();
-  forkedTasks.set(task, dispatcher);
-  rungen(value.iterator.apply(null, value.args), function (result) {
-    return dispatcher.dispatch(result);
-  }, function (err) {
-    return dispatcher.dispatch((0, _helpers.error)(err));
-  });
-  var unsubscribe = dispatcher.subscribe(function () {
-    unsubscribe();
-    forkedTasks.delete(task);
-  });
-  next(task);
-  return true;
-};
+      yieldValue(false)();
+    };

-var join = exports.join = function join(value, next, rungen, yieldNext, raiseNext) {
-  if (!_is2.default.join(value)) return false;
-  var dispatcher = forkedTasks.get(value.task);
-  if (!dispatcher) {
-    raiseNext('join error : task not found');
-  } else {
-    (function () {
-      var unsubscribe = dispatcher.subscribe(function (result) {
-        unsubscribe();
-        next(result);
-      });
-    })();
-  }
-  return true;
-};
+    var iterator = _is2.default.iterator(input) ? input : regeneratorRuntime.mark(function _callee() {
+      return regeneratorRuntime.wrap(function _callee$(_context) {
+        while (1) {
+          switch (_context.prev = _context.next) {
+            case 0:
+              _context.next = 2;
+              return input;

-var race = exports.race = function race(value, next, rungen, yieldNext, raiseNext) {
-  if (!_is2.default.race(value)) return false;
-  var finished = false;
-  var success = function success(result, k, v) {
-    if (finished) return;
-    finished = true;
-    result[k] = v;
-    next(result);
-  };
+            case 2:
+              return _context.abrupt('return', _context.sent);

-  var fail = function fail(err) {
-    if (finished) return;
-    raiseNext(err);
-  };
-  if (_is2.default.array(value.competitors)) {
-    (function () {
-      var result = value.competitors.map(function () {
-        return false;
-      });
-      value.competitors.forEach(function (competitor, index) {
-        rungen(competitor, function (output) {
-          return success(result, index, output);
-        }, fail);
-      });
-    })();
-  } else {
-    (function () {
-      var result = Object.keys(value.competitors).reduce(function (p, c) {
-        p[c] = false;
-        return p;
-      }, {});
-      Object.keys(value.competitors).forEach(function (index) {
-        rungen(value.competitors[index], function (output) {
-          return success(result, index, output);
-        }, fail);
-      });
+            case 3:
+            case 'end':
+              return _context.stop();
+          }
+        }
+      }, _callee, this);
     })();
-  }
-  return true;
-};

-var subscribe = function subscribe(value, next) {
-  if (!_is2.default.subscribe(value)) return false;
-  if (!_is2.default.channel(value.channel)) {
-    throw new Error('the first argument of "subscribe" must be a valid channel');
-  }
-  var unsubscribe = value.channel.subscribe(function (ret) {
-    unsubscribe && unsubscribe();
-    next(ret);
-  });
+    iterate(iterator, success, error);
+  };

-  return true;
+  return runtime;
 };

-exports.default = [promise, fork, join, race, subscribe];
+exports["default"] = create;

 /***/ }),

-/***/ "hnoU":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 2290:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
+Object.defineProperty(exports, "__esModule", ({
   value: true
-});
+}));
 exports.wrapControls = exports.asyncControls = exports.create = undefined;

-var _helpers = __webpack_require__("e6BM");
+var _helpers = __webpack_require__(7783);

 Object.keys(_helpers).forEach(function (key) {
   if (key === "default") return;
@@ -637,15 +372,15 @@ Object.keys(_helpers).forEach(function (key) {
   });
 });

-var _create = __webpack_require__("vsQm");
+var _create = __webpack_require__(6288);

 var _create2 = _interopRequireDefault(_create);

-var _async = __webpack_require__("hecb");
+var _async = __webpack_require__(9025);

 var _async2 = _interopRequireDefault(_async);

-var _wrap = __webpack_require__("PERq");
+var _wrap = __webpack_require__(2165);

 var _wrap2 = _interopRequireDefault(_wrap);

@@ -657,120 +392,190 @@ exports.wrapControls = _wrap2.default;

 /***/ }),

-/***/ "k4FQ":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 2451:
+/***/ (function(__unused_webpack_module, exports) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
+Object.defineProperty(exports, "__esModule", ({
   value: true
-});
-exports.iterator = exports.array = exports.object = exports.error = exports.any = undefined;
+}));
+var createDispatcher = function createDispatcher() {
+  var listeners = [];
+
+  return {
+    subscribe: function subscribe(listener) {
+      listeners.push(listener);
+      return function () {
+        listeners = listeners.filter(function (l) {
+          return l !== listener;
+        });
+      };
+    },
+    dispatch: function dispatch(action) {
+      listeners.slice().forEach(function (listener) {
+        return listener(action);
+      });
+    }
+  };
+};

-var _is = __webpack_require__("qmpp");
+exports["default"] = createDispatcher;

-var _is2 = _interopRequireDefault(_is);
+/***/ }),
+
+/***/ 7783:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
+
+
+
+Object.defineProperty(exports, "__esModule", ({
+  value: true
+}));
+exports.createChannel = exports.subscribe = exports.cps = exports.apply = exports.call = exports.invoke = exports.delay = exports.race = exports.join = exports.fork = exports.error = exports.all = undefined;
+
+var _keys = __webpack_require__(9851);
+
+var _keys2 = _interopRequireDefault(_keys);

 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

-var any = exports.any = function any(value, next, rungen, yieldNext) {
-  yieldNext(value);
-  return true;
+var all = exports.all = function all(value) {
+  return {
+    type: _keys2.default.all,
+    value: value
+  };
 };

-var error = exports.error = function error(value, next, rungen, yieldNext, raiseNext) {
-  if (!_is2.default.error(value)) return false;
-  raiseNext(value.error);
-  return true;
+var error = exports.error = function error(err) {
+  return {
+    type: _keys2.default.error,
+    error: err
+  };
 };

-var object = exports.object = function object(value, next, rungen, yieldNext, raiseNext) {
-  if (!_is2.default.all(value) || !_is2.default.obj(value.value)) return false;
-  var result = {};
-  var keys = Object.keys(value.value);
-  var count = 0;
-  var hasError = false;
-  var gotResultSuccess = function gotResultSuccess(key, ret) {
-    if (hasError) return;
-    result[key] = ret;
-    count++;
-    if (count === keys.length) {
-      yieldNext(result);
-    }
+var fork = exports.fork = function fork(iterator) {
+  for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+    args[_key - 1] = arguments[_key];
+  }
+
+  return {
+    type: _keys2.default.fork,
+    iterator: iterator,
+    args: args
   };
+};

-  var gotResultError = function gotResultError(key, error) {
-    if (hasError) return;
-    hasError = true;
-    raiseNext(error);
+var join = exports.join = function join(task) {
+  return {
+    type: _keys2.default.join,
+    task: task
   };
+};

-  keys.map(function (key) {
-    rungen(value.value[key], function (ret) {
-      return gotResultSuccess(key, ret);
-    }, function (err) {
-      return gotResultError(key, err);
-    });
+var race = exports.race = function race(competitors) {
+  return {
+    type: _keys2.default.race,
+    competitors: competitors
+  };
+};
+
+var delay = exports.delay = function delay(timeout) {
+  return new Promise(function (resolve) {
+    setTimeout(function () {
+      return resolve(true);
+    }, timeout);
   });
+};

-  return true;
+var invoke = exports.invoke = function invoke(func) {
+  for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
+    args[_key2 - 1] = arguments[_key2];
+  }
+
+  return {
+    type: _keys2.default.call,
+    func: func,
+    context: null,
+    args: args
+  };
 };

-var array = exports.array = function array(value, next, rungen, yieldNext, raiseNext) {
-  if (!_is2.default.all(value) || !_is2.default.array(value.value)) return false;
-  var result = [];
-  var count = 0;
-  var hasError = false;
-  var gotResultSuccess = function gotResultSuccess(key, ret) {
-    if (hasError) return;
-    result[key] = ret;
-    count++;
-    if (count === value.value.length) {
-      yieldNext(result);
-    }
+var call = exports.call = function call(func, context) {
+  for (var _len3 = arguments.length, args = Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
+    args[_key3 - 2] = arguments[_key3];
+  }
+
+  return {
+    type: _keys2.default.call,
+    func: func,
+    context: context,
+    args: args
   };
+};

-  var gotResultError = function gotResultError(key, error) {
-    if (hasError) return;
-    hasError = true;
-    raiseNext(error);
+var apply = exports.apply = function apply(func, context, args) {
+  return {
+    type: _keys2.default.call,
+    func: func,
+    context: context,
+    args: args
   };
+};

-  value.value.map(function (v, key) {
-    rungen(v, function (ret) {
-      return gotResultSuccess(key, ret);
-    }, function (err) {
-      return gotResultError(key, err);
-    });
-  });
+var cps = exports.cps = function cps(func) {
+  for (var _len4 = arguments.length, args = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
+    args[_key4 - 1] = arguments[_key4];
+  }

-  return true;
+  return {
+    type: _keys2.default.cps,
+    func: func,
+    args: args
+  };
 };

-var iterator = exports.iterator = function iterator(value, next, rungen, yieldNext, raiseNext) {
-  if (!_is2.default.iterator(value)) return false;
-  rungen(value, next, raiseNext);
-  return true;
+var subscribe = exports.subscribe = function subscribe(channel) {
+  return {
+    type: _keys2.default.subscribe,
+    channel: channel
+  };
 };

-exports.default = [error, iterator, array, object, any];
+var createChannel = exports.createChannel = function createChannel(callback) {
+  var listeners = [];
+  var subscribe = function subscribe(l) {
+    listeners.push(l);
+    return function () {
+      return listeners.splice(listeners.indexOf(l), 1);
+    };
+  };
+  var next = function next(val) {
+    return listeners.forEach(function (l) {
+      return l(val);
+    });
+  };
+  callback(next);
+
+  return {
+    subscribe: subscribe
+  };
+};

 /***/ }),

-/***/ "qmpp":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 9681:
+/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
+Object.defineProperty(exports, "__esModule", ({
   value: true
-});
+}));

 var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };

-var _keys = __webpack_require__("tGEh");
+var _keys = __webpack_require__(9851);

 var _keys2 = _interopRequireDefault(_keys);

@@ -819,19 +624,18 @@ var is = {
   }
 };

-exports.default = is;
+exports["default"] = is;

 /***/ }),

-/***/ "tGEh":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 9851:
+/***/ (function(__unused_webpack_module, exports) {

-"use strict";


-Object.defineProperty(exports, "__esModule", {
+Object.defineProperty(exports, "__esModule", ({
   value: true
-});
+}));
 var keys = {
   all: Symbol('all'),
   error: Symbol('error'),
@@ -843,94 +647,219 @@ var keys = {
   subscribe: Symbol('subscribe')
 };

-exports.default = keys;
+exports["default"] = keys;

-/***/ }),
+/***/ })

-/***/ "vsQm":
-/***/ (function(module, exports, __webpack_require__) {
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
+!function() {

-"use strict";
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "default": function() { return /* binding */ createMiddleware; }
+});

+;// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/is-generator.js
+/* eslint-disable jsdoc/valid-types */

-Object.defineProperty(exports, "__esModule", {
-  value: true
-});
+/**
+ * Returns true if the given object is a generator, or false otherwise.
+ *
+ * @see https://www.ecma-international.org/ecma-262/6.0/#sec-generator-objects
+ *
+ * @param {any} object Object to test.
+ *
+ * @return {object is Generator} Whether object is a generator.
+ */
+function isGenerator(object) {
+  /* eslint-enable jsdoc/valid-types */
+  // Check that iterator (next) and iterable (Symbol.iterator) interfaces are satisfied.
+  // These checks seem to be compatible with several generator helpers as well as the native implementation.
+  return !!object && typeof object[Symbol.iterator] === 'function' && typeof object.next === 'function';
+}

-var _builtin = __webpack_require__("k4FQ");
+// EXTERNAL MODULE: ./node_modules/rungen/dist/index.js
+var dist = __webpack_require__(2290);
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/is-promise/index.mjs
+function isPromise(obj) {
+  return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
+}

-var _builtin2 = _interopRequireDefault(_builtin);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/is-action.js
+/**
+ * External dependencies
+ */

-var _is = __webpack_require__("qmpp");
+/* eslint-disable jsdoc/valid-types */

-var _is2 = _interopRequireDefault(_is);
+/**
+ * Returns true if the given object quacks like an action.
+ *
+ * @param {any} object Object to test
+ *
+ * @return {object is import('redux').AnyAction}  Whether object is an action.
+ */

-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+function isAction(object) {
+  return (0,external_lodash_namespaceObject.isPlainObject)(object) && (0,external_lodash_namespaceObject.isString)(object.type);
+}
+/**
+ * Returns true if the given object quacks like an action and has a specific
+ * action type
+ *
+ * @param {unknown} object       Object to test
+ * @param {string}  expectedType The expected type for the action.
+ *
+ * @return {object is import('redux').AnyAction} Whether object is an action and is of specific type.
+ */

-function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
+function isActionOfType(object, expectedType) {
+  /* eslint-enable jsdoc/valid-types */
+  return isAction(object) && object.type === expectedType;
+}

-var create = function create() {
-  var userControls = arguments.length <= 0 || arguments[0] === undefined ? [] : arguments[0];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/runtime.js
+/**
+ * External dependencies
+ */

-  var controls = [].concat(_toConsumableArray(userControls), _toConsumableArray(_builtin2.default));

-  var runtime = function runtime(input) {
-    var success = arguments.length <= 1 || arguments[1] === undefined ? function () {} : arguments[1];
-    var error = arguments.length <= 2 || arguments[2] === undefined ? function () {} : arguments[2];

-    var iterate = function iterate(gen) {
-      var yieldValue = function yieldValue(isError) {
-        return function (ret) {
-          try {
-            var _ref = isError ? gen.throw(ret) : gen.next(ret);

-            var value = _ref.value;
-            var done = _ref.done;
+/**
+ * Internal dependencies
+ */

-            if (done) return success(value);
-            next(value);
-          } catch (e) {
-            return error(e);
-          }
-        };
-      };
+/**
+ * Create a co-routine runtime.
+ *
+ * @param  controls Object of control handlers.
+ * @param  dispatch Unhandled action dispatch.
+ */

-      var next = function next(ret) {
-        controls.some(function (control) {
-          return control(ret, next, runtime, yieldValue(false), yieldValue(true));
-        });
-      };
+function createRuntime() {
+  let controls = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let dispatch = arguments.length > 1 ? arguments[1] : undefined;
+  const rungenControls = (0,external_lodash_namespaceObject.map)(controls, (control, actionType) => (value, next, iterate, yieldNext, yieldError) => {
+    if (!isActionOfType(value, actionType)) {
+      return false;
+    }

-      yieldValue(false)();
-    };
+    const routine = control(value);

-    var iterator = _is2.default.iterator(input) ? input : regeneratorRuntime.mark(function _callee() {
-      return regeneratorRuntime.wrap(function _callee$(_context) {
-        while (1) {
-          switch (_context.prev = _context.next) {
-            case 0:
-              _context.next = 2;
-              return input;
+    if (isPromise(routine)) {
+      // Async control routine awaits resolution.
+      routine.then(yieldNext, yieldError);
+    } else {
+      yieldNext(routine);
+    }

-            case 2:
-              return _context.abrupt('return', _context.sent);
+    return true;
+  });

-            case 3:
-            case 'end':
-              return _context.stop();
-          }
-        }
-      }, _callee, this);
-    })();
+  const unhandledActionControl = (value, next) => {
+    if (!isAction(value)) {
+      return false;
+    }

-    iterate(iterator, success, error);
+    dispatch(value);
+    next();
+    return true;
   };

-  return runtime;
-};
+  rungenControls.push(unhandledActionControl);
+  const rungenRuntime = (0,dist.create)(rungenControls);
+  return action => new Promise((resolve, reject) => rungenRuntime(action, result => {
+    if (isAction(result)) {
+      dispatch(result);
+    }
+
+    resolve(result);
+  }, reject));
+}
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/redux-routine/build-module/index.js
+/**
+ * Internal dependencies
+ */

-exports.default = create;

-/***/ })
+/**
+ * Creates a Redux middleware, given an object of controls where each key is an
+ * action type for which to act upon, the value a function which returns either
+ * a promise which is to resolve when evaluation of the action should continue,
+ * or a value. The value or resolved promise value is assigned on the return
+ * value of the yield assignment. If the control handler returns undefined, the
+ * execution is not continued.
+ *
+ * @param {Record<string, (value: import('redux').AnyAction) => Promise<boolean> | boolean>} controls Object of control handlers.
+ *
+ * @return {import('redux').Middleware} Co-routine runtime
+ */
+
+function createMiddleware() {
+  let controls = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  return store => {
+    const runtime = createRuntime(controls, store.dispatch);
+    return next => action => {
+      if (!isGenerator(action)) {
+        return next(action);
+      }
+
+      return runtime(action);
+    };
+  };
+}

-/******/ })["default"];
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).reduxRoutine = __webpack_exports__["default"];
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/redux-routine.min.js b/wp-includes/js/dist/redux-routine.min.js
index 00fbba9ef2..99d19955c3 100644
--- a/wp-includes/js/dist/redux-routine.min.js
+++ b/wp-includes/js/dist/redux-routine.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.reduxRoutine=function(t){var e={};function r(n){if(e[n])return e[n].exports;var u=e[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var u in t)r.d(n,u,function(e){return t[e]}.bind(null,u));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="+ekt")}({"+ekt":function(t,e,r){"use strict";function n(t){return!!t&&"function"==typeof t[Symbol.iterator]&&"function"==typeof t.next}r.r(e),r.d(e,"default",(function(){return s}));var u=r("hnoU"),o=r("YLtl"),c=r("JlUD"),f=r.n(c);function i(t){return Object(o.isPlainObject)(t)&&Object(o.isString)(t.type)}function a(t,e){return i(t)&&t.type===e}function l(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;const r=Object(o.map)(t,(t,e)=>(r,n,u,o,c)=>{if(!a(r,e))return!1;const i=t(r);return f()(i)?i.then(o,c):o(i),!0}),n=(t,r)=>!!i(t)&&(e(t),r(),!0);r.push(n);const c=Object(u.create)(r);return t=>new Promise((r,n)=>c(t,t=>{i(t)&&e(t),r(t)},n))}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=>{const r=l(t,e.dispatch);return t=>e=>n(e)?r(e):t(e)}}},Hkfj:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=[];return{subscribe:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},dispatch:function(e){t.slice().forEach((function(t){return t(e)}))}}}},JlUD:function(t,e){function r(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}t.exports=r,t.exports.default=r},PERq:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cps=e.call=void 0;var n,u=r("qmpp"),o=(n=u)&&n.__esModule?n:{default:n};var c=e.call=function(t,e,r,n,u){if(!o.default.call(t))return!1;try{e(t.func.apply(t.context,t.args))}catch(t){u(t)}return!0},f=e.cps=function(t,e,r,n,u){var c;return!!o.default.cps(t)&&((c=t.func).call.apply(c,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(t.args),[function(t,r){t?u(t):e(r)}])),!0)};e.default=[c,f]},YLtl:function(t,e){t.exports=window.lodash},e6BM:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createChannel=e.subscribe=e.cps=e.apply=e.call=e.invoke=e.delay=e.race=e.join=e.fork=e.error=e.all=void 0;var n,u=r("tGEh"),o=(n=u)&&n.__esModule?n:{default:n};e.all=function(t){return{type:o.default.all,value:t}},e.error=function(t){return{type:o.default.error,error:t}},e.fork=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:o.default.fork,iterator:t,args:r}},e.join=function(t){return{type:o.default.join,task:t}},e.race=function(t){return{type:o.default.race,competitors:t}},e.delay=function(t){return new Promise((function(e){setTimeout((function(){return e(!0)}),t)}))},e.invoke=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:o.default.call,func:t,context:null,args:r}},e.call=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),u=2;u<r;u++)n[u-2]=arguments[u];return{type:o.default.call,func:t,context:e,args:n}},e.apply=function(t,e,r){return{type:o.default.call,func:t,context:e,args:r}},e.cps=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:o.default.cps,func:t,args:r}},e.subscribe=function(t){return{type:o.default.subscribe,channel:t}},e.createChannel=function(t){var e=[];return t((function(t){return e.forEach((function(e){return e(t)}))})),{subscribe:function(t){return e.push(t),function(){return e.splice(e.indexOf(t),1)}}}}},hecb:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.race=e.join=e.fork=e.promise=void 0;var n=c(r("qmpp")),u=r("e6BM"),o=c(r("Hkfj"));function c(t){return t&&t.__esModule?t:{default:t}}var f=e.promise=function(t,e,r,u,o){return!!n.default.promise(t)&&(t.then(e,o),!0)},i=new Map,a=e.fork=function(t,e,r){if(!n.default.fork(t))return!1;var c=Symbol("fork"),f=(0,o.default)();i.set(c,f),r(t.iterator.apply(null,t.args),(function(t){return f.dispatch(t)}),(function(t){return f.dispatch((0,u.error)(t))}));var a=f.subscribe((function(){a(),i.delete(c)}));return e(c),!0},l=e.join=function(t,e,r,u,o){if(!n.default.join(t))return!1;var c,f=i.get(t.task);return f?c=f.subscribe((function(t){c(),e(t)})):o("join error : task not found"),!0},s=e.race=function(t,e,r,u,o){if(!n.default.race(t))return!1;var c,f=!1,i=function(t,r,n){f||(f=!0,t[r]=n,e(t))},a=function(t){f||o(t)};return n.default.array(t.competitors)?(c=t.competitors.map((function(){return!1})),t.competitors.forEach((function(t,e){r(t,(function(t){return i(c,e,t)}),a)}))):function(){var e=Object.keys(t.competitors).reduce((function(t,e){return t[e]=!1,t}),{});Object.keys(t.competitors).forEach((function(n){r(t.competitors[n],(function(t){return i(e,n,t)}),a)}))}(),!0};e.default=[f,a,l,s,function(t,e){if(!n.default.subscribe(t))return!1;if(!n.default.channel(t.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var r=t.channel.subscribe((function(t){r&&r(),e(t)}));return!0}]},hnoU:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wrapControls=e.asyncControls=e.create=void 0;var n=r("e6BM");Object.keys(n).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})}));var u=f(r("vsQm")),o=f(r("hecb")),c=f(r("PERq"));function f(t){return t&&t.__esModule?t:{default:t}}e.create=u.default,e.asyncControls=o.default,e.wrapControls=c.default},k4FQ:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.iterator=e.array=e.object=e.error=e.any=void 0;var n,u=r("qmpp"),o=(n=u)&&n.__esModule?n:{default:n};var c=e.any=function(t,e,r,n){return n(t),!0},f=e.error=function(t,e,r,n,u){return!!o.default.error(t)&&(u(t.error),!0)},i=e.object=function(t,e,r,n,u){if(!o.default.all(t)||!o.default.obj(t.value))return!1;var c={},f=Object.keys(t.value),i=0,a=!1;return f.map((function(e){r(t.value[e],(function(t){return function(t,e){a||(c[t]=e,++i===f.length&&n(c))}(e,t)}),(function(t){return function(t,e){a||(a=!0,u(e))}(0,t)}))})),!0},a=e.array=function(t,e,r,n,u){if(!o.default.all(t)||!o.default.array(t.value))return!1;var c=[],f=0,i=!1;return t.value.map((function(e,o){r(e,(function(e){return function(e,r){i||(c[e]=r,++f===t.value.length&&n(c))}(o,e)}),(function(t){return function(t,e){i||(i=!0,u(e))}(0,t)}))})),!0},l=e.iterator=function(t,e,r,n,u){return!!o.default.iterator(t)&&(r(t,e,u),!0)};e.default=[f,l,a,i,c]},qmpp:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},o=r("tGEh"),c=(n=o)&&n.__esModule?n:{default:n};var f={obj:function(t){return"object"===(void 0===t?"undefined":u(t))&&!!t},all:function(t){return f.obj(t)&&t.type===c.default.all},error:function(t){return f.obj(t)&&t.type===c.default.error},array:Array.isArray,func:function(t){return"function"==typeof t},promise:function(t){return t&&f.func(t.then)},iterator:function(t){return t&&f.func(t.next)&&f.func(t.throw)},fork:function(t){return f.obj(t)&&t.type===c.default.fork},join:function(t){return f.obj(t)&&t.type===c.default.join},race:function(t){return f.obj(t)&&t.type===c.default.race},call:function(t){return f.obj(t)&&t.type===c.default.call},cps:function(t){return f.obj(t)&&t.type===c.default.cps},subscribe:function(t){return f.obj(t)&&t.type===c.default.subscribe},channel:function(t){return f.obj(t)&&f.func(t.subscribe)}};e.default=f},tGEh:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};e.default=n},vsQm:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(r("k4FQ")),u=o(r("qmpp"));function o(t){return t&&t.__esModule?t:{default:t}}function c(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}e.default=function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=[].concat(c(t),c(n.default)),r=function t(r){var n=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],o=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],c=function(r){var u=function(t){return function(e){try{var u=t?r.throw(e):r.next(e),f=u.value;if(u.done)return n(f);c(f)}catch(t){return o(t)}}},c=function r(n){e.some((function(e){return e(n,r,t,u(!1),u(!0))}))};u(!1)()},f=u.default.iterator(r)?r:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r;case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)}))();c(f,n,o)};return r}}}).default;
\ No newline at end of file
+!function(){"use strict";var r={9025:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.race=t.join=t.fork=t.promise=void 0;var e=c(n(9681)),u=n(7783),o=c(n(2451));function c(r){return r&&r.__esModule?r:{default:r}}var f=t.promise=function(r,t,n,u,o){return!!e.default.promise(r)&&(r.then(t,o),!0)},a=new Map,i=t.fork=function(r,t,n){if(!e.default.fork(r))return!1;var c=Symbol("fork"),f=(0,o.default)();a.set(c,f),n(r.iterator.apply(null,r.args),(function(r){return f.dispatch(r)}),(function(r){return f.dispatch((0,u.error)(r))}));var i=f.subscribe((function(){i(),a.delete(c)}));return t(c),!0},l=t.join=function(r,t,n,u,o){if(!e.default.join(r))return!1;var c,f=a.get(r.task);return f?c=f.subscribe((function(r){c(),t(r)})):o("join error : task not found"),!0},s=t.race=function(r,t,n,u,o){if(!e.default.race(r))return!1;var c,f=!1,a=function(r,n,e){f||(f=!0,r[n]=e,t(r))},i=function(r){f||o(r)};return e.default.array(r.competitors)?(c=r.competitors.map((function(){return!1})),r.competitors.forEach((function(r,t){n(r,(function(r){return a(c,t,r)}),i)}))):function(){var t=Object.keys(r.competitors).reduce((function(r,t){return r[t]=!1,r}),{});Object.keys(r.competitors).forEach((function(e){n(r.competitors[e],(function(r){return a(t,e,r)}),i)}))}(),!0};t.default=[f,i,l,s,function(r,t){if(!e.default.subscribe(r))return!1;if(!e.default.channel(r.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var n=r.channel.subscribe((function(r){n&&n(),t(r)}));return!0}]},7961:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.array=t.object=t.error=t.any=void 0;var e,u=n(9681),o=(e=u)&&e.__esModule?e:{default:e};var c=t.any=function(r,t,n,e){return e(r),!0},f=t.error=function(r,t,n,e,u){return!!o.default.error(r)&&(u(r.error),!0)},a=t.object=function(r,t,n,e,u){if(!o.default.all(r)||!o.default.obj(r.value))return!1;var c={},f=Object.keys(r.value),a=0,i=!1;return f.map((function(t){n(r.value[t],(function(r){return function(r,t){i||(c[r]=t,++a===f.length&&e(c))}(t,r)}),(function(r){return function(r,t){i||(i=!0,u(t))}(0,r)}))})),!0},i=t.array=function(r,t,n,e,u){if(!o.default.all(r)||!o.default.array(r.value))return!1;var c=[],f=0,a=!1;return r.value.map((function(t,o){n(t,(function(t){return function(t,n){a||(c[t]=n,++f===r.value.length&&e(c))}(o,t)}),(function(r){return function(r,t){a||(a=!0,u(t))}(0,r)}))})),!0},l=t.iterator=function(r,t,n,e,u){return!!o.default.iterator(r)&&(n(r,t,u),!0)};t.default=[f,l,i,a,c]},2165:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.cps=t.call=void 0;var e,u=n(9681),o=(e=u)&&e.__esModule?e:{default:e};var c=t.call=function(r,t,n,e,u){if(!o.default.call(r))return!1;try{t(r.func.apply(r.context,r.args))}catch(r){u(r)}return!0},f=t.cps=function(r,t,n,e,u){var c;return!!o.default.cps(r)&&((c=r.func).call.apply(c,[null].concat(function(r){if(Array.isArray(r)){for(var t=0,n=Array(r.length);t<r.length;t++)n[t]=r[t];return n}return Array.from(r)}(r.args),[function(r,n){r?u(r):t(n)}])),!0)};t.default=[c,f]},6288:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=o(n(7961)),u=o(n(9681));function o(r){return r&&r.__esModule?r:{default:r}}function c(r){if(Array.isArray(r)){for(var t=0,n=Array(r.length);t<r.length;t++)n[t]=r[t];return n}return Array.from(r)}t.default=function(){var r=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=[].concat(c(r),c(e.default)),n=function r(n){var e=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],o=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],c=function(n){var u=function(r){return function(t){try{var u=r?n.throw(t):n.next(t),f=u.value;if(u.done)return e(f);c(f)}catch(r){return o(r)}}},c=function n(e){t.some((function(t){return t(e,n,r,u(!1),u(!0))}))};u(!1)()},f=u.default.iterator(n)?n:regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,n;case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}}),r,this)}))();c(f,e,o)};return n}},2290:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var e=n(7783);Object.keys(e).forEach((function(r){"default"!==r&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}));var u=f(n(6288)),o=f(n(9025)),c=f(n(2165));function f(r){return r&&r.__esModule?r:{default:r}}t.create=u.default,t.asyncControls=o.default,t.wrapControls=c.default},2451:function(r,t){Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){var r=[];return{subscribe:function(t){return r.push(t),function(){r=r.filter((function(r){return r!==t}))}},dispatch:function(t){r.slice().forEach((function(r){return r(t)}))}}}},7783:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var e,u=n(9851),o=(e=u)&&e.__esModule?e:{default:e};t.all=function(r){return{type:o.default.all,value:r}},t.error=function(r){return{type:o.default.error,error:r}},t.fork=function(r){for(var t=arguments.length,n=Array(t>1?t-1:0),e=1;e<t;e++)n[e-1]=arguments[e];return{type:o.default.fork,iterator:r,args:n}},t.join=function(r){return{type:o.default.join,task:r}},t.race=function(r){return{type:o.default.race,competitors:r}},t.delay=function(r){return new Promise((function(t){setTimeout((function(){return t(!0)}),r)}))},t.invoke=function(r){for(var t=arguments.length,n=Array(t>1?t-1:0),e=1;e<t;e++)n[e-1]=arguments[e];return{type:o.default.call,func:r,context:null,args:n}},t.call=function(r,t){for(var n=arguments.length,e=Array(n>2?n-2:0),u=2;u<n;u++)e[u-2]=arguments[u];return{type:o.default.call,func:r,context:t,args:e}},t.apply=function(r,t,n){return{type:o.default.call,func:r,context:t,args:n}},t.cps=function(r){for(var t=arguments.length,n=Array(t>1?t-1:0),e=1;e<t;e++)n[e-1]=arguments[e];return{type:o.default.cps,func:r,args:n}},t.subscribe=function(r){return{type:o.default.subscribe,channel:r}},t.createChannel=function(r){var t=[];return r((function(r){return t.forEach((function(t){return t(r)}))})),{subscribe:function(r){return t.push(r),function(){return t.splice(t.indexOf(r),1)}}}}},9681:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol?"symbol":typeof r},o=n(9851),c=(e=o)&&e.__esModule?e:{default:e};var f={obj:function(r){return"object"===(void 0===r?"undefined":u(r))&&!!r},all:function(r){return f.obj(r)&&r.type===c.default.all},error:function(r){return f.obj(r)&&r.type===c.default.error},array:Array.isArray,func:function(r){return"function"==typeof r},promise:function(r){return r&&f.func(r.then)},iterator:function(r){return r&&f.func(r.next)&&f.func(r.throw)},fork:function(r){return f.obj(r)&&r.type===c.default.fork},join:function(r){return f.obj(r)&&r.type===c.default.join},race:function(r){return f.obj(r)&&r.type===c.default.race},call:function(r){return f.obj(r)&&r.type===c.default.call},cps:function(r){return f.obj(r)&&r.type===c.default.cps},subscribe:function(r){return f.obj(r)&&r.type===c.default.subscribe},channel:function(r){return f.obj(r)&&f.func(r.subscribe)}};t.default=f},9851:function(r,t){Object.defineProperty(t,"__esModule",{value:!0});var n={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=n}},t={};function n(e){var u=t[e];if(void 0!==u)return u.exports;var o=t[e]={exports:{}};return r[e](o,o.exports,n),o.exports}n.d=function(r,t){for(var e in t)n.o(t,e)&&!n.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:t[e]})},n.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)};var e={};!function(){function r(r){return!!r&&"function"==typeof r[Symbol.iterator]&&"function"==typeof r.next}n.d(e,{default:function(){return i}});var t=n(2290),u=window.lodash;function o(r){return!!r&&("object"==typeof r||"function"==typeof r)&&"function"==typeof r.then}function c(r){return(0,u.isPlainObject)(r)&&(0,u.isString)(r.type)}function f(r,t){return c(r)&&r.type===t}function a(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;const e=(0,u.map)(r,((r,t)=>(n,e,u,c,a)=>{if(!f(n,t))return!1;const i=r(n);return o(i)?i.then(c,a):c(i),!0})),a=(r,t)=>!!c(r)&&(n(r),t(),!0);e.push(a);const i=(0,t.create)(e);return r=>new Promise(((t,e)=>i(r,(r=>{c(r)&&n(r),t(r)}),e)))}function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n=>{const e=a(t,n.dispatch);return t=>n=>r(n)?e(n):t(n)}}}(),(window.wp=window.wp||{}).reduxRoutine=e.default}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/reusable-blocks.js b/wp-includes/js/dist/reusable-blocks.js
index dfbe5bce71..f48726b5c3 100644
--- a/wp-includes/js/dist/reusable-blocks.js
+++ b/wp-includes/js/dist/reusable-blocks.js
@@ -1,181 +1,76 @@
-this["wp"] = this["wp"] || {}; this["wp"]["reusableBlocks"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "iqm2");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "HSyU":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blocks"]; }());
-
-/***/ }),
-
-/***/ "Mmq9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["url"]; }());
-
-/***/ }),
-
-/***/ "Tqx9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["primitives"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "axFQ":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blockEditor"]; }());
-
-/***/ }),
-
-/***/ "iqm2":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
-__webpack_require__.d(__webpack_exports__, "ReusableBlocksMenuItems", function() { return /* reexport */ reusable_blocks_menu_items; });
+__webpack_require__.d(__webpack_exports__, {
+  "ReusableBlocksMenuItems": function() { return /* reexport */ reusable_blocks_menu_items; },
+  "store": function() { return /* reexport */ store; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/reusable-blocks/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "__experimentalConvertBlockToStatic", function() { return __experimentalConvertBlockToStatic; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalConvertBlocksToReusable", function() { return __experimentalConvertBlocksToReusable; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalDeleteReusableBlock", function() { return __experimentalDeleteReusableBlock; });
-__webpack_require__.d(actions_namespaceObject, "__experimentalSetEditingReusableBlock", function() { return __experimentalSetEditingReusableBlock; });
+__webpack_require__.d(actions_namespaceObject, {
+  "__experimentalConvertBlockToStatic": function() { return __experimentalConvertBlockToStatic; },
+  "__experimentalConvertBlocksToReusable": function() { return __experimentalConvertBlocksToReusable; },
+  "__experimentalDeleteReusableBlock": function() { return __experimentalDeleteReusableBlock; },
+  "__experimentalSetEditingReusableBlock": function() { return __experimentalSetEditingReusableBlock; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/reusable-blocks/build-module/store/selectors.js
 var selectors_namespaceObject = {};
 __webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "__experimentalIsEditingReusableBlock", function() { return __experimentalIsEditingReusableBlock; });
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
+__webpack_require__.d(selectors_namespaceObject, {
+  "__experimentalIsEditingReusableBlock": function() { return __experimentalIsEditingReusableBlock; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/actions.js
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/actions.js
 /**
  * External dependencies
  */
@@ -197,10 +92,10 @@ const __experimentalConvertBlockToStatic = clientId => _ref => {
   let {
     registry
   } = _ref;
-  const oldBlock = registry.select(external_wp_blockEditor_["store"]).getBlock(clientId);
+  const oldBlock = registry.select(external_wp_blockEditor_namespaceObject.store).getBlock(clientId);
   const reusableBlock = registry.select('core').getEditedEntityRecord('postType', 'wp_block', oldBlock.attributes.ref);
-  const newBlocks = Object(external_wp_blocks_["parse"])(Object(external_lodash_["isFunction"])(reusableBlock.content) ? reusableBlock.content(reusableBlock) : reusableBlock.content);
-  registry.dispatch(external_wp_blockEditor_["store"]).replaceBlocks(oldBlock.clientId, newBlocks);
+  const newBlocks = (0,external_wp_blocks_namespaceObject.parse)((0,external_lodash_namespaceObject.isFunction)(reusableBlock.content) ? reusableBlock.content(reusableBlock) : reusableBlock.content);
+  registry.dispatch(external_wp_blockEditor_namespaceObject.store).replaceBlocks(oldBlock.clientId, newBlocks);
 };
 /**
  * Returns a generator converting one or more static blocks into a reusable block.
@@ -215,15 +110,15 @@ const __experimentalConvertBlocksToReusable = (clientIds, title) => async _ref2
     dispatch
   } = _ref2;
   const reusableBlock = {
-    title: title || Object(external_wp_i18n_["__"])('Untitled Reusable block'),
-    content: Object(external_wp_blocks_["serialize"])(registry.select(external_wp_blockEditor_["store"]).getBlocksByClientId(clientIds)),
+    title: title || (0,external_wp_i18n_namespaceObject.__)('Untitled Reusable block'),
+    content: (0,external_wp_blocks_namespaceObject.serialize)(registry.select(external_wp_blockEditor_namespaceObject.store).getBlocksByClientId(clientIds)),
     status: 'publish'
   };
   const updatedRecord = await registry.dispatch('core').saveEntityRecord('postType', 'wp_block', reusableBlock);
-  const newBlock = Object(external_wp_blocks_["createBlock"])('core/block', {
+  const newBlock = (0,external_wp_blocks_namespaceObject.createBlock)('core/block', {
     ref: updatedRecord.id
   });
-  registry.dispatch(external_wp_blockEditor_["store"]).replaceBlocks(clientIds, newBlock);
+  registry.dispatch(external_wp_blockEditor_namespaceObject.store).replaceBlocks(clientIds, newBlock);

   dispatch.__experimentalSetEditingReusableBlock(newBlock.clientId, true);
 };
@@ -244,12 +139,12 @@ const __experimentalDeleteReusableBlock = id => async _ref3 => {
   } // Remove any other blocks that reference this reusable block


-  const allBlocks = registry.select(external_wp_blockEditor_["store"]).getBlocks();
-  const associatedBlocks = allBlocks.filter(block => Object(external_wp_blocks_["isReusableBlock"])(block) && block.attributes.ref === id);
+  const allBlocks = registry.select(external_wp_blockEditor_namespaceObject.store).getBlocks();
+  const associatedBlocks = allBlocks.filter(block => (0,external_wp_blocks_namespaceObject.isReusableBlock)(block) && block.attributes.ref === id);
   const associatedBlockClientIds = associatedBlocks.map(block => block.clientId); // Remove the parsed block.

   if (associatedBlockClientIds.length) {
-    registry.dispatch(external_wp_blockEditor_["store"]).removeBlocks(associatedBlockClientIds);
+    registry.dispatch(external_wp_blockEditor_namespaceObject.store).removeBlocks(associatedBlockClientIds);
   }

   await registry.dispatch('core').deleteEntityRecord('postType', 'wp_block', id);
@@ -270,7 +165,7 @@ function __experimentalSetEditingReusableBlock(clientId, isEditing) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/reducer.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/reducer.js
 /**
  * WordPress dependencies
  */
@@ -287,11 +182,11 @@ function isEditingReusableBlock() {

   return state;
 }
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
   isEditingReusableBlock
 }));

-// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/selectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/selectors.js
 /**
  * Returns true if reusable block is in the editing state.
  *
@@ -303,7 +198,7 @@ function __experimentalIsEditingReusableBlock(state, clientId) {
   return state.isEditingReusableBlock[clientId];
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/store/index.js
 /**
  * WordPress dependencies
  */
@@ -324,45 +219,40 @@ const STORE_NAME = 'core/reusable-blocks';
  * @type {Object}
  */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
   actions: actions_namespaceObject,
   reducer: reducer,
   selectors: selectors_namespaceObject,
   __experimentalUseThunks: true
 });
-Object(external_wp_data_["register"])(store);
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+(0,external_wp_data_namespaceObject.register)(store);

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/reusable-block.js
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/reusable-block.js


 /**
  * WordPress dependencies
  */

-const reusable_block_reusableBlock = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const reusableBlock = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z"
 }));
-/* harmony default export */ var reusable_block = (reusable_block_reusableBlock);
-
-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
+/* harmony default export */ var reusable_block = (reusableBlock);

-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-block-convert-button.js
+;// CONCATENATED MODULE: external ["wp","notices"]
+var external_wp_notices_namespaceObject = window["wp"]["notices"];
+;// CONCATENATED MODULE: external ["wp","coreData"]
+var external_wp_coreData_namespaceObject = window["wp"]["coreData"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-block-convert-button.js


 /**
@@ -396,42 +286,42 @@ function ReusableBlockConvertButton(_ref) {
     clientIds,
     rootClientId
   } = _ref;
-  const [isModalOpen, setIsModalOpen] = Object(external_wp_element_["useState"])(false);
-  const [title, setTitle] = Object(external_wp_element_["useState"])('');
-  const canConvert = Object(external_wp_data_["useSelect"])(select => {
+  const [isModalOpen, setIsModalOpen] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [title, setTitle] = (0,external_wp_element_namespaceObject.useState)('');
+  const canConvert = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _getBlocksByClientId;

     const {
       canUser
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const {
       getBlocksByClientId,
       canInsertBlockType
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const blocks = (_getBlocksByClientId = getBlocksByClientId(clientIds)) !== null && _getBlocksByClientId !== void 0 ? _getBlocksByClientId : [];
-    const isReusable = blocks.length === 1 && blocks[0] && Object(external_wp_blocks_["isReusableBlock"])(blocks[0]) && !!select(external_wp_coreData_["store"]).getEntityRecord('postType', 'wp_block', blocks[0].attributes.ref);
+    const isReusable = blocks.length === 1 && blocks[0] && (0,external_wp_blocks_namespaceObject.isReusableBlock)(blocks[0]) && !!select(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', 'wp_block', blocks[0].attributes.ref);

     const _canConvert = // Hide when this is already a reusable block.
     !isReusable && // Hide when reusable blocks are disabled.
     canInsertBlockType('core/block', rootClientId) && blocks.every(block => // Guard against the case where a regular block has *just* been converted.
     !!block && // Hide on invalid blocks.
     block.isValid && // Hide when block doesn't support being made reusable.
-    Object(external_wp_blocks_["hasBlockSupport"])(block.name, 'reusable', true)) && // Hide when current doesn't have permission to do that.
+    (0,external_wp_blocks_namespaceObject.hasBlockSupport)(block.name, 'reusable', true)) && // Hide when current doesn't have permission to do that.
     !!canUser('create', 'blocks');

     return _canConvert;
   }, [clientIds]);
   const {
     __experimentalConvertBlocksToReusable: convertBlocksToReusable
-  } = Object(external_wp_data_["useDispatch"])(store);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
   const {
     createSuccessNotice,
     createErrorNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  const onConvert = Object(external_wp_element_["useCallback"])(async function (reusableBlockTitle) {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  const onConvert = (0,external_wp_element_namespaceObject.useCallback)(async function (reusableBlockTitle) {
     try {
       await convertBlocksToReusable(clientIds, reusableBlockTitle);
-      createSuccessNotice(Object(external_wp_i18n_["__"])('Reusable block created.'), {
+      createSuccessNotice((0,external_wp_i18n_namespaceObject.__)('Reusable block created.'), {
         type: 'snackbar'
       });
     } catch (error) {
@@ -445,24 +335,24 @@ function ReusableBlockConvertButton(_ref) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockSettingsMenuControls"], null, _ref2 => {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockSettingsMenuControls, null, _ref2 => {
     let {
       onClose
     } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
       icon: reusable_block,
       onClick: () => {
         setIsModalOpen(true);
       }
-    }, Object(external_wp_i18n_["__"])('Add to Reusable blocks')), isModalOpen && Object(external_wp_element_["createElement"])(external_wp_components_["Modal"], {
-      title: Object(external_wp_i18n_["__"])('Create Reusable block'),
-      closeLabel: Object(external_wp_i18n_["__"])('Close'),
+    }, (0,external_wp_i18n_namespaceObject.__)('Add to Reusable blocks')), isModalOpen && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Modal, {
+      title: (0,external_wp_i18n_namespaceObject.__)('Create Reusable block'),
+      closeLabel: (0,external_wp_i18n_namespaceObject.__)('Close'),
       onRequestClose: () => {
         setIsModalOpen(false);
         setTitle('');
       },
       overlayClassName: "reusable-blocks-menu-items__convert-modal"
-    }, Object(external_wp_element_["createElement"])("form", {
+    }, (0,external_wp_element_namespaceObject.createElement)("form", {
       onSubmit: event => {
         event.preventDefault();
         onConvert(title);
@@ -470,30 +360,29 @@ function ReusableBlockConvertButton(_ref) {
         setTitle('');
         onClose();
       }
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["TextControl"], {
-      label: Object(external_wp_i18n_["__"])('Name'),
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.TextControl, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Name'),
       value: title,
       onChange: setTitle
-    }), Object(external_wp_element_["createElement"])(external_wp_components_["Flex"], {
+    }), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Flex, {
       className: "reusable-blocks-menu-items__convert-modal-actions",
       justify: "flex-end"
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       variant: "secondary",
       onClick: () => {
         setIsModalOpen(false);
         setTitle('');
       }
-    }, Object(external_wp_i18n_["__"])('Cancel'))), Object(external_wp_element_["createElement"])(external_wp_components_["FlexItem"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], {
+    }, (0,external_wp_i18n_namespaceObject.__)('Cancel'))), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.FlexItem, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Button, {
       variant: "primary",
       type: "submit"
-    }, Object(external_wp_i18n_["__"])('Save')))))));
+    }, (0,external_wp_i18n_namespaceObject.__)('Save')))))));
   });
 }

-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-blocks-manage-button.js
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-blocks-manage-button.js


 /**
@@ -518,38 +407,38 @@ function ReusableBlocksManageButton(_ref) {
   } = _ref;
   const {
     isVisible
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const {
       getBlock
-    } = select(external_wp_blockEditor_["store"]);
+    } = select(external_wp_blockEditor_namespaceObject.store);
     const {
       canUser
-    } = select(external_wp_coreData_["store"]);
+    } = select(external_wp_coreData_namespaceObject.store);
     const reusableBlock = getBlock(clientId);
     return {
-      isVisible: !!reusableBlock && Object(external_wp_blocks_["isReusableBlock"])(reusableBlock) && !!canUser('update', 'blocks', reusableBlock.attributes.ref)
+      isVisible: !!reusableBlock && (0,external_wp_blocks_namespaceObject.isReusableBlock)(reusableBlock) && !!canUser('update', 'blocks', reusableBlock.attributes.ref)
     };
   }, [clientId]);
   const {
     __experimentalConvertBlockToStatic: convertBlockToStatic
-  } = Object(external_wp_data_["useDispatch"])(store);
+  } = (0,external_wp_data_namespaceObject.useDispatch)(store);

   if (!isVisible) {
     return null;
   }

-  return Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockSettingsMenuControls"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
-    href: Object(external_wp_url_["addQueryArgs"])('edit.php', {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockSettingsMenuControls, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
+    href: (0,external_wp_url_namespaceObject.addQueryArgs)('edit.php', {
       post_type: 'wp_block'
     })
-  }, Object(external_wp_i18n_["__"])('Manage Reusable blocks')), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], {
+  }, (0,external_wp_i18n_namespaceObject.__)('Manage Reusable blocks')), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItem, {
     onClick: () => convertBlockToStatic(clientId)
-  }, Object(external_wp_i18n_["__"])('Convert to regular blocks')));
+  }, (0,external_wp_i18n_namespaceObject.__)('Convert to regular blocks')));
 }

 /* harmony default export */ var reusable_blocks_manage_button = (ReusableBlocksManageButton);

-// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/index.js


 /**
@@ -569,59 +458,30 @@ function ReusableBlocksMenuItems(_ref) {
     clientIds,
     rootClientId
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(ReusableBlockConvertButton, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(ReusableBlockConvertButton, {
     clientIds: clientIds,
     rootClientId: rootClientId
-  }), clientIds.length === 1 && Object(external_wp_element_["createElement"])(reusable_blocks_manage_button, {
+  }), clientIds.length === 1 && (0,external_wp_element_namespaceObject.createElement)(reusable_blocks_manage_button, {
     clientId: clientIds[0]
   }));
 }

-/* harmony default export */ var reusable_blocks_menu_items = (Object(external_wp_data_["withSelect"])(select => {
+/* harmony default export */ var reusable_blocks_menu_items = ((0,external_wp_data_namespaceObject.withSelect)(select => {
   const {
     getSelectedBlockClientIds
-  } = select(external_wp_blockEditor_["store"]);
+  } = select(external_wp_blockEditor_namespaceObject.store);
   return {
     clientIds: getSelectedBlockClientIds()
   };
 })(ReusableBlocksMenuItems));

-// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/index.js
-
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/index.js
-
-
-
-
-/***/ }),
-
-/***/ "jZUy":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["coreData"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "onLe":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["notices"]; }());
+;// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/components/index.js

-/***/ }),

-/***/ "tI+e":
-/***/ (function(module, exports) {
+;// CONCATENATED MODULE: ./node_modules/@wordpress/reusable-blocks/build-module/index.js

-(function() { module.exports = window["wp"]["components"]; }());

-/***/ })

-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).reusableBlocks = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/reusable-blocks.min.js b/wp-includes/js/dist/reusable-blocks.min.js
index 6b5051f138..e0aef07118 100644
--- a/wp-includes/js/dist/reusable-blocks.min.js
+++ b/wp-includes/js/dist/reusable-blocks.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.reusableBlocks=function(e){var t={};function n(c){if(t[c])return t[c].exports;var o=t[c]={i:c,l:!1,exports:{}};return e[c].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,c){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:c})},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 c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(c,o,function(t){return e[t]}.bind(null,o));return c},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="iqm2")}({"1ZqX":function(e,t){e.exports=window.wp.data},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},Mmq9:function(e,t){e.exports=window.wp.url},Tqx9:function(e,t){e.exports=window.wp.primitives},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},iqm2:function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return j})),n.d(t,"ReusableBlocksMenuItems",(function(){return x}));var c={};n.r(c),n.d(c,"__experimentalConvertBlockToStatic",(function(){return u})),n.d(c,"__experimentalConvertBlocksToReusable",(function(){return b})),n.d(c,"__experimentalDeleteReusableBlock",(function(){return d})),n.d(c,"__experimentalSetEditingReusableBlock",(function(){return p}));var o={};n.r(o),n.d(o,"__experimentalIsEditingReusableBlock",(function(){return f}));var r=n("1ZqX"),l=n("YLtl"),s=n("axFQ"),i=n("HSyU"),a=n("l3Sj");const u=e=>t=>{let{registry:n}=t;const c=n.select(s.store).getBlock(e),o=n.select("core").getEditedEntityRecord("postType","wp_block",c.attributes.ref),r=Object(i.parse)(Object(l.isFunction)(o.content)?o.content(o):o.content);n.dispatch(s.store).replaceBlocks(c.clientId,r)},b=(e,t)=>async n=>{let{registry:c,dispatch:o}=n;const r={title:t||Object(a.__)("Untitled Reusable block"),content:Object(i.serialize)(c.select(s.store).getBlocksByClientId(e)),status:"publish"},l=await c.dispatch("core").saveEntityRecord("postType","wp_block",r),u=Object(i.createBlock)("core/block",{ref:l.id});c.dispatch(s.store).replaceBlocks(e,u),o.__experimentalSetEditingReusableBlock(u.clientId,!0)},d=e=>async t=>{let{registry:n}=t;if(!n.select("core").getEditedEntityRecord("postType","wp_block",e))return;const c=n.select(s.store).getBlocks().filter(t=>Object(i.isReusableBlock)(t)&&t.attributes.ref===e).map(e=>e.clientId);c.length&&n.dispatch(s.store).removeBlocks(c),await n.dispatch("core").deleteEntityRecord("postType","wp_block",e)};function p(e,t){return{type:"SET_EDITING_REUSABLE_BLOCK",clientId:e,isEditing:t}}var m=Object(r.combineReducers)({isEditingReusableBlock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_EDITING_REUSABLE_BLOCK"===(null==t?void 0:t.type)?{...e,[t.clientId]:t.isEditing}:e}});function f(e,t){return e.isEditingReusableBlock[t]}const j=Object(r.createReduxStore)("core/reusable-blocks",{actions:c,reducer:m,selectors:o,__experimentalUseThunks:!0});Object(r.register)(j);var _=n("GRId"),O=n("tI+e"),k=n("Tqx9");var w=Object(_.createElement)(k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(_.createElement)(k.Path,{d:"M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z"})),y=n("onLe"),v=n("jZUy");function E(e){let{clientIds:t,rootClientId:n}=e;const[c,o]=Object(_.useState)(!1),[l,u]=Object(_.useState)(""),b=Object(r.useSelect)(e=>{var c;const{canUser:o}=e(v.store),{getBlocksByClientId:r,canInsertBlockType:l}=e(s.store),a=null!==(c=r(t))&&void 0!==c?c:[];return!(1===a.length&&a[0]&&Object(i.isReusableBlock)(a[0])&&!!e(v.store).getEntityRecord("postType","wp_block",a[0].attributes.ref))&&l("core/block",n)&&a.every(e=>!!e&&e.isValid&&Object(i.hasBlockSupport)(e.name,"reusable",!0))&&!!o("create","blocks")},[t]),{__experimentalConvertBlocksToReusable:d}=Object(r.useDispatch)(j),{createSuccessNotice:p,createErrorNotice:m}=Object(r.useDispatch)(y.store),f=Object(_.useCallback)((async function(e){try{await d(t,e),p(Object(a.__)("Reusable block created."),{type:"snackbar"})}catch(e){m(e.message,{type:"snackbar"})}}),[t]);return b?Object(_.createElement)(s.BlockSettingsMenuControls,null,e=>{let{onClose:t}=e;return Object(_.createElement)(_.Fragment,null,Object(_.createElement)(O.MenuItem,{icon:w,onClick:()=>{o(!0)}},Object(a.__)("Add to Reusable blocks")),c&&Object(_.createElement)(O.Modal,{title:Object(a.__)("Create Reusable block"),closeLabel:Object(a.__)("Close"),onRequestClose:()=>{o(!1),u("")},overlayClassName:"reusable-blocks-menu-items__convert-modal"},Object(_.createElement)("form",{onSubmit:e=>{e.preventDefault(),f(l),o(!1),u(""),t()}},Object(_.createElement)(O.TextControl,{label:Object(a.__)("Name"),value:l,onChange:u}),Object(_.createElement)(O.Flex,{className:"reusable-blocks-menu-items__convert-modal-actions",justify:"flex-end"},Object(_.createElement)(O.FlexItem,null,Object(_.createElement)(O.Button,{variant:"secondary",onClick:()=>{o(!1),u("")}},Object(a.__)("Cancel"))),Object(_.createElement)(O.FlexItem,null,Object(_.createElement)(O.Button,{variant:"primary",type:"submit"},Object(a.__)("Save")))))))}):null}var g=n("Mmq9");var B=function(e){let{clientId:t}=e;const{isVisible:n}=Object(r.useSelect)(e=>{const{getBlock:n}=e(s.store),{canUser:c}=e(v.store),o=n(t);return{isVisible:!!o&&Object(i.isReusableBlock)(o)&&!!c("update","blocks",o.attributes.ref)}},[t]),{__experimentalConvertBlockToStatic:c}=Object(r.useDispatch)(j);return n?Object(_.createElement)(s.BlockSettingsMenuControls,null,Object(_.createElement)(O.MenuItem,{href:Object(g.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(a.__)("Manage Reusable blocks")),Object(_.createElement)(O.MenuItem,{onClick:()=>c(t)},Object(a.__)("Convert to regular blocks"))):null};var x=Object(r.withSelect)(e=>{const{getSelectedBlockClientIds:t}=e(s.store);return{clientIds:t()}})((function(e){let{clientIds:t,rootClientId:n}=e;return Object(_.createElement)(_.Fragment,null,Object(_.createElement)(E,{clientIds:t,rootClientId:n}),1===t.length&&Object(_.createElement)(B,{clientId:t[0]}))}))},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},"tI+e":function(e,t){e.exports=window.wp.components}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(t,n){for(var l in n)e.o(n,l)&&!e.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:n[l]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ReusableBlocksMenuItems:function(){return I},store:function(){return k}});var n={};e.r(n),e.d(n,{__experimentalConvertBlockToStatic:function(){return a},__experimentalConvertBlocksToReusable:function(){return u},__experimentalDeleteReusableBlock:function(){return d},__experimentalSetEditingReusableBlock:function(){return p}});var l={};e.r(l),e.d(l,{__experimentalIsEditingReusableBlock:function(){return m}});var o=window.wp.data,r=window.lodash,c=window.wp.blockEditor,s=window.wp.blocks,i=window.wp.i18n;const a=e=>t=>{let{registry:n}=t;const l=n.select(c.store).getBlock(e),o=n.select("core").getEditedEntityRecord("postType","wp_block",l.attributes.ref),i=(0,s.parse)((0,r.isFunction)(o.content)?o.content(o):o.content);n.dispatch(c.store).replaceBlocks(l.clientId,i)},u=(e,t)=>async n=>{let{registry:l,dispatch:o}=n;const r={title:t||(0,i.__)("Untitled Reusable block"),content:(0,s.serialize)(l.select(c.store).getBlocksByClientId(e)),status:"publish"},a=await l.dispatch("core").saveEntityRecord("postType","wp_block",r),u=(0,s.createBlock)("core/block",{ref:a.id});l.dispatch(c.store).replaceBlocks(e,u),o.__experimentalSetEditingReusableBlock(u.clientId,!0)},d=e=>async t=>{let{registry:n}=t;if(!n.select("core").getEditedEntityRecord("postType","wp_block",e))return;const l=n.select(c.store).getBlocks().filter((t=>(0,s.isReusableBlock)(t)&&t.attributes.ref===e)).map((e=>e.clientId));l.length&&n.dispatch(c.store).removeBlocks(l),await n.dispatch("core").deleteEntityRecord("postType","wp_block",e)};function p(e,t){return{type:"SET_EDITING_REUSABLE_BLOCK",clientId:e,isEditing:t}}var b=(0,o.combineReducers)({isEditingReusableBlock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_EDITING_REUSABLE_BLOCK"===(null==t?void 0:t.type)?{...e,[t.clientId]:t.isEditing}:e}});function m(e,t){return e.isEditingReusableBlock[t]}const k=(0,o.createReduxStore)("core/reusable-blocks",{actions:n,reducer:b,selectors:l,__experimentalUseThunks:!0});(0,o.register)(k);var _=window.wp.element,w=window.wp.components,E=window.wp.primitives;var g=(0,_.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,_.createElement)(E.Path,{d:"M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z"})),y=window.wp.notices,v=window.wp.coreData;function B(e){let{clientIds:t,rootClientId:n}=e;const[l,r]=(0,_.useState)(!1),[a,u]=(0,_.useState)(""),d=(0,o.useSelect)((e=>{var l;const{canUser:o}=e(v.store),{getBlocksByClientId:r,canInsertBlockType:i}=e(c.store),a=null!==(l=r(t))&&void 0!==l?l:[];return!(1===a.length&&a[0]&&(0,s.isReusableBlock)(a[0])&&!!e(v.store).getEntityRecord("postType","wp_block",a[0].attributes.ref))&&i("core/block",n)&&a.every((e=>!!e&&e.isValid&&(0,s.hasBlockSupport)(e.name,"reusable",!0)))&&!!o("create","blocks")}),[t]),{__experimentalConvertBlocksToReusable:p}=(0,o.useDispatch)(k),{createSuccessNotice:b,createErrorNotice:m}=(0,o.useDispatch)(y.store),E=(0,_.useCallback)((async function(e){try{await p(t,e),b((0,i.__)("Reusable block created."),{type:"snackbar"})}catch(e){m(e.message,{type:"snackbar"})}}),[t]);return d?(0,_.createElement)(c.BlockSettingsMenuControls,null,(e=>{let{onClose:t}=e;return(0,_.createElement)(_.Fragment,null,(0,_.createElement)(w.MenuItem,{icon:g,onClick:()=>{r(!0)}},(0,i.__)("Add to Reusable blocks")),l&&(0,_.createElement)(w.Modal,{title:(0,i.__)("Create Reusable block"),closeLabel:(0,i.__)("Close"),onRequestClose:()=>{r(!1),u("")},overlayClassName:"reusable-blocks-menu-items__convert-modal"},(0,_.createElement)("form",{onSubmit:e=>{e.preventDefault(),E(a),r(!1),u(""),t()}},(0,_.createElement)(w.TextControl,{label:(0,i.__)("Name"),value:a,onChange:u}),(0,_.createElement)(w.Flex,{className:"reusable-blocks-menu-items__convert-modal-actions",justify:"flex-end"},(0,_.createElement)(w.FlexItem,null,(0,_.createElement)(w.Button,{variant:"secondary",onClick:()=>{r(!1),u("")}},(0,i.__)("Cancel"))),(0,_.createElement)(w.FlexItem,null,(0,_.createElement)(w.Button,{variant:"primary",type:"submit"},(0,i.__)("Save")))))))})):null}var f=window.wp.url;var h=function(e){let{clientId:t}=e;const{isVisible:n}=(0,o.useSelect)((e=>{const{getBlock:n}=e(c.store),{canUser:l}=e(v.store),o=n(t);return{isVisible:!!o&&(0,s.isReusableBlock)(o)&&!!l("update","blocks",o.attributes.ref)}}),[t]),{__experimentalConvertBlockToStatic:l}=(0,o.useDispatch)(k);return n?(0,_.createElement)(c.BlockSettingsMenuControls,null,(0,_.createElement)(w.MenuItem,{href:(0,f.addQueryArgs)("edit.php",{post_type:"wp_block"})},(0,i.__)("Manage Reusable blocks")),(0,_.createElement)(w.MenuItem,{onClick:()=>l(t)},(0,i.__)("Convert to regular blocks"))):null};var I=(0,o.withSelect)((e=>{const{getSelectedBlockClientIds:t}=e(c.store);return{clientIds:t()}}))((function(e){let{clientIds:t,rootClientId:n}=e;return(0,_.createElement)(_.Fragment,null,(0,_.createElement)(B,{clientIds:t,rootClientId:n}),1===t.length&&(0,_.createElement)(h,{clientId:t[0]}))}));(window.wp=window.wp||{}).reusableBlocks=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/rich-text.js b/wp-includes/js/dist/rich-text.js
index 60cd5d66dc..cbd729eedf 100644
--- a/wp-includes/js/dist/rich-text.js
+++ b/wp-includes/js/dist/rich-text.js
@@ -1,152 +1,146 @@
-this["wp"] = this["wp"] || {}; this["wp"]["richText"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "yyEc");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "RxS6":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["keycodes"]; }());
-
-/***/ }),
-
-/***/ "Vx3V":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["escapeHtml"]; }());
+var __webpack_exports__ = {};
+// ESM COMPAT FLAG
+__webpack_require__.r(__webpack_exports__);

-/***/ }),
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "__UNSTABLE_LINE_SEPARATOR": function() { return /* reexport */ LINE_SEPARATOR; },
+  "__experimentalRichText": function() { return /* reexport */ __experimentalRichText; },
+  "__unstableCanIndentListItems": function() { return /* reexport */ canIndentListItems; },
+  "__unstableCanOutdentListItems": function() { return /* reexport */ canOutdentListItems; },
+  "__unstableChangeListType": function() { return /* reexport */ changeListType; },
+  "__unstableCreateElement": function() { return /* reexport */ createElement; },
+  "__unstableFormatEdit": function() { return /* reexport */ FormatEdit; },
+  "__unstableIndentListItems": function() { return /* reexport */ indentListItems; },
+  "__unstableInsertLineSeparator": function() { return /* reexport */ insertLineSeparator; },
+  "__unstableIsActiveListType": function() { return /* reexport */ isActiveListType; },
+  "__unstableIsEmptyLine": function() { return /* reexport */ isEmptyLine; },
+  "__unstableIsListRootSelected": function() { return /* reexport */ isListRootSelected; },
+  "__unstableOutdentListItems": function() { return /* reexport */ outdentListItems; },
+  "__unstableRemoveLineSeparator": function() { return /* reexport */ removeLineSeparator; },
+  "__unstableToDom": function() { return /* reexport */ toDom; },
+  "__unstableUseRichText": function() { return /* reexport */ useRichText; },
+  "applyFormat": function() { return /* reexport */ applyFormat; },
+  "concat": function() { return /* reexport */ concat; },
+  "create": function() { return /* reexport */ create; },
+  "getActiveFormat": function() { return /* reexport */ getActiveFormat; },
+  "getActiveObject": function() { return /* reexport */ getActiveObject; },
+  "getTextContent": function() { return /* reexport */ getTextContent; },
+  "insert": function() { return /* reexport */ insert; },
+  "insertObject": function() { return /* reexport */ insertObject; },
+  "isCollapsed": function() { return /* reexport */ isCollapsed; },
+  "isEmpty": function() { return /* reexport */ isEmpty; },
+  "join": function() { return /* reexport */ join; },
+  "registerFormatType": function() { return /* reexport */ registerFormatType; },
+  "remove": function() { return /* reexport */ remove; },
+  "removeFormat": function() { return /* reexport */ removeFormat; },
+  "replace": function() { return /* reexport */ replace_replace; },
+  "slice": function() { return /* reexport */ slice; },
+  "split": function() { return /* reexport */ split; },
+  "store": function() { return /* reexport */ store; },
+  "toHTMLString": function() { return /* reexport */ toHTMLString; },
+  "toggleFormat": function() { return /* reexport */ toggleFormat; },
+  "unregisterFormatType": function() { return /* reexport */ unregisterFormatType; },
+  "useAnchorRef": function() { return /* reexport */ useAnchorRef; }
+});

-/***/ "YLtl":
-/***/ (function(module, exports) {
+// NAMESPACE OBJECT: ./node_modules/@wordpress/rich-text/build-module/store/selectors.js
+var selectors_namespaceObject = {};
+__webpack_require__.r(selectors_namespaceObject);
+__webpack_require__.d(selectors_namespaceObject, {
+  "getFormatType": function() { return getFormatType; },
+  "getFormatTypeForBareElement": function() { return getFormatTypeForBareElement; },
+  "getFormatTypeForClassName": function() { return getFormatTypeForClassName; },
+  "getFormatTypes": function() { return getFormatTypes; }
+});

-(function() { module.exports = window["lodash"]; }());
+// NAMESPACE OBJECT: ./node_modules/@wordpress/rich-text/build-module/store/actions.js
+var actions_namespaceObject = {};
+__webpack_require__.r(actions_namespaceObject);
+__webpack_require__.d(actions_namespaceObject, {
+  "addFormatTypes": function() { return addFormatTypes; },
+  "removeFormatTypes": function() { return removeFormatTypes; }
+});

-/***/ }),
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/reducer.js
+/**
+ * External dependencies
+ */

-/***/ "gdqT":
-/***/ (function(module, exports) {
+/**
+ * WordPress dependencies
+ */

-(function() { module.exports = window["wp"]["a11y"]; }());

-/***/ }),
+/**
+ * Reducer managing the format types
+ *
+ * @param {Object} state  Current state.
+ * @param {Object} action Dispatched action.
+ *
+ * @return {Object} Updated state.
+ */

-/***/ "l3Sj":
-/***/ (function(module, exports) {
+function formatTypes() {
+  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
+  let action = arguments.length > 1 ? arguments[1] : undefined;

-(function() { module.exports = window["wp"]["i18n"]; }());
+  switch (action.type) {
+    case 'ADD_FORMAT_TYPES':
+      return { ...state,
+        ...(0,external_lodash_namespaceObject.keyBy)(action.formatTypes, 'name')
+      };

-/***/ }),
+    case 'REMOVE_FORMAT_TYPES':
+      return (0,external_lodash_namespaceObject.omit)(state, action.names);
+  }

-/***/ "pPDe":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+  return state;
+}
+/* harmony default export */ var reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
+  formatTypes
+}));

-"use strict";
+;// CONCATENATED MODULE: ./node_modules/rememo/es/rememo.js


 var LEAF_KEY, hasWeakMap;
@@ -244,7 +238,7 @@ function isShallowEqual( a, b, fromIndex ) {
  *
  * @return {Function} Memoized selector.
  */
-/* harmony default export */ __webpack_exports__["a"] = (function( selector, getDependants ) {
+/* harmony default export */ function rememo(selector, getDependants ) {
 	var rootCache, getCache;

 	// Use object source as dependant if getter not provided
@@ -420,121 +414,9 @@ function isShallowEqual( a, b, fromIndex ) {
 	clear();

 	return callSelector;
-});
-
-
-/***/ }),
-
-/***/ "yyEc":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
-__webpack_require__.d(__webpack_exports__, "applyFormat", function() { return /* reexport */ applyFormat; });
-__webpack_require__.d(__webpack_exports__, "concat", function() { return /* reexport */ concat; });
-__webpack_require__.d(__webpack_exports__, "create", function() { return /* reexport */ create; });
-__webpack_require__.d(__webpack_exports__, "getActiveFormat", function() { return /* reexport */ getActiveFormat; });
-__webpack_require__.d(__webpack_exports__, "getActiveObject", function() { return /* reexport */ getActiveObject; });
-__webpack_require__.d(__webpack_exports__, "getTextContent", function() { return /* reexport */ getTextContent; });
-__webpack_require__.d(__webpack_exports__, "__unstableIsListRootSelected", function() { return /* reexport */ isListRootSelected; });
-__webpack_require__.d(__webpack_exports__, "__unstableIsActiveListType", function() { return /* reexport */ isActiveListType; });
-__webpack_require__.d(__webpack_exports__, "isCollapsed", function() { return /* reexport */ isCollapsed; });
-__webpack_require__.d(__webpack_exports__, "isEmpty", function() { return /* reexport */ isEmpty; });
-__webpack_require__.d(__webpack_exports__, "__unstableIsEmptyLine", function() { return /* reexport */ isEmptyLine; });
-__webpack_require__.d(__webpack_exports__, "join", function() { return /* reexport */ join; });
-__webpack_require__.d(__webpack_exports__, "registerFormatType", function() { return /* reexport */ registerFormatType; });
-__webpack_require__.d(__webpack_exports__, "removeFormat", function() { return /* reexport */ removeFormat; });
-__webpack_require__.d(__webpack_exports__, "remove", function() { return /* reexport */ remove_remove; });
-__webpack_require__.d(__webpack_exports__, "replace", function() { return /* reexport */ replace_replace; });
-__webpack_require__.d(__webpack_exports__, "insert", function() { return /* reexport */ insert; });
-__webpack_require__.d(__webpack_exports__, "__unstableInsertLineSeparator", function() { return /* reexport */ insertLineSeparator; });
-__webpack_require__.d(__webpack_exports__, "__unstableRemoveLineSeparator", function() { return /* reexport */ removeLineSeparator; });
-__webpack_require__.d(__webpack_exports__, "insertObject", function() { return /* reexport */ insertObject; });
-__webpack_require__.d(__webpack_exports__, "slice", function() { return /* reexport */ slice; });
-__webpack_require__.d(__webpack_exports__, "split", function() { return /* reexport */ split; });
-__webpack_require__.d(__webpack_exports__, "__unstableToDom", function() { return /* reexport */ toDom; });
-__webpack_require__.d(__webpack_exports__, "toHTMLString", function() { return /* reexport */ toHTMLString; });
-__webpack_require__.d(__webpack_exports__, "toggleFormat", function() { return /* reexport */ toggleFormat; });
-__webpack_require__.d(__webpack_exports__, "__UNSTABLE_LINE_SEPARATOR", function() { return /* reexport */ LINE_SEPARATOR; });
-__webpack_require__.d(__webpack_exports__, "unregisterFormatType", function() { return /* reexport */ unregisterFormatType; });
-__webpack_require__.d(__webpack_exports__, "__unstableCanIndentListItems", function() { return /* reexport */ canIndentListItems; });
-__webpack_require__.d(__webpack_exports__, "__unstableCanOutdentListItems", function() { return /* reexport */ canOutdentListItems; });
-__webpack_require__.d(__webpack_exports__, "__unstableIndentListItems", function() { return /* reexport */ indentListItems; });
-__webpack_require__.d(__webpack_exports__, "__unstableOutdentListItems", function() { return /* reexport */ outdentListItems; });
-__webpack_require__.d(__webpack_exports__, "__unstableChangeListType", function() { return /* reexport */ changeListType; });
-__webpack_require__.d(__webpack_exports__, "__unstableCreateElement", function() { return /* reexport */ createElement; });
-__webpack_require__.d(__webpack_exports__, "useAnchorRef", function() { return /* reexport */ useAnchorRef; });
-__webpack_require__.d(__webpack_exports__, "__experimentalRichText", function() { return /* reexport */ __experimentalRichText; });
-__webpack_require__.d(__webpack_exports__, "__unstableUseRichText", function() { return /* reexport */ useRichText; });
-__webpack_require__.d(__webpack_exports__, "__unstableFormatEdit", function() { return /* reexport */ FormatEdit; });
-
-// NAMESPACE OBJECT: ./node_modules/@wordpress/rich-text/build-module/store/selectors.js
-var selectors_namespaceObject = {};
-__webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "getFormatTypes", function() { return getFormatTypes; });
-__webpack_require__.d(selectors_namespaceObject, "getFormatType", function() { return getFormatType; });
-__webpack_require__.d(selectors_namespaceObject, "getFormatTypeForBareElement", function() { return getFormatTypeForBareElement; });
-__webpack_require__.d(selectors_namespaceObject, "getFormatTypeForClassName", function() { return getFormatTypeForClassName; });
-
-// NAMESPACE OBJECT: ./node_modules/@wordpress/rich-text/build-module/store/actions.js
-var actions_namespaceObject = {};
-__webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "addFormatTypes", function() { return addFormatTypes; });
-__webpack_require__.d(actions_namespaceObject, "removeFormatTypes", function() { return removeFormatTypes; });
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/reducer.js
-/**
- * External dependencies
- */
-
-/**
- * WordPress dependencies
- */
-
-
-/**
- * Reducer managing the format types
- *
- * @param {Object} state  Current state.
- * @param {Object} action Dispatched action.
- *
- * @return {Object} Updated state.
- */
-
-function reducer_formatTypes() {
-  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
-  let action = arguments.length > 1 ? arguments[1] : undefined;
-
-  switch (action.type) {
-    case 'ADD_FORMAT_TYPES':
-      return { ...state,
-        ...Object(external_lodash_["keyBy"])(action.formatTypes, 'name')
-      };
-
-    case 'REMOVE_FORMAT_TYPES':
-      return Object(external_lodash_["omit"])(state, action.names);
-  }
-
-  return state;
 }
-/* harmony default export */ var reducer = (Object(external_wp_data_["combineReducers"])({
-  formatTypes: reducer_formatTypes
-}));
-
-// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
-var rememo = __webpack_require__("pPDe");

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/selectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/selectors.js
 /**
  * External dependencies
  */
@@ -548,7 +430,7 @@ var rememo = __webpack_require__("pPDe");
  * @return {Array} Format types.
  */

-const getFormatTypes = Object(rememo["a" /* default */])(state => Object.values(state.formatTypes), state => [state.formatTypes]);
+const getFormatTypes = rememo(state => Object.values(state.formatTypes), state => [state.formatTypes]);
 /**
  * Returns a format type by name.
  *
@@ -572,7 +454,7 @@ function getFormatType(state, name) {
  */

 function getFormatTypeForBareElement(state, bareElementTagName) {
-  return Object(external_lodash_["find"])(getFormatTypes(state), _ref => {
+  return (0,external_lodash_namespaceObject.find)(getFormatTypes(state), _ref => {
     let {
       className,
       tagName
@@ -590,7 +472,7 @@ function getFormatTypeForBareElement(state, bareElementTagName) {
  */

 function getFormatTypeForClassName(state, elementClassName) {
-  return Object(external_lodash_["find"])(getFormatTypes(state), _ref2 => {
+  return (0,external_lodash_namespaceObject.find)(getFormatTypes(state), _ref2 => {
     let {
       className
     } = _ref2;
@@ -603,7 +485,7 @@ function getFormatTypeForClassName(state, elementClassName) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/actions.js
 /**
  * External dependencies
  */
@@ -620,7 +502,7 @@ function getFormatTypeForClassName(state, elementClassName) {
 function addFormatTypes(formatTypes) {
   return {
     type: 'ADD_FORMAT_TYPES',
-    formatTypes: Object(external_lodash_["castArray"])(formatTypes)
+    formatTypes: (0,external_lodash_namespaceObject.castArray)(formatTypes)
   };
 }
 /**
@@ -634,11 +516,11 @@ function addFormatTypes(formatTypes) {
 function removeFormatTypes(names) {
   return {
     type: 'REMOVE_FORMAT_TYPES',
-    names: Object(external_lodash_["castArray"])(names)
+    names: (0,external_lodash_namespaceObject.castArray)(names)
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/store/index.js
 /**
  * WordPress dependencies
  */
@@ -659,14 +541,14 @@ const STORE_NAME = 'core/rich-text';
  * @type {Object}
  */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
   reducer: reducer,
   selectors: selectors_namespaceObject,
   actions: actions_namespaceObject
 });
-Object(external_wp_data_["register"])(store);
+(0,external_wp_data_namespaceObject.register)(store);

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-format-equal.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-format-equal.js
 /** @typedef {import('./create').RichTextFormat} RichTextFormat */

 /**
@@ -724,7 +606,7 @@ function isFormatEqual(format1, format2) {
   return true;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/normalise-formats.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/normalise-formats.js
 /**
  * Internal dependencies
  */
@@ -762,7 +644,7 @@ function normaliseFormats(value) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/apply-format.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/apply-format.js
 /**
  * External dependencies
  */
@@ -805,7 +687,7 @@ function applyFormat(value, format) {
   const newFormats = formats.slice(); // The selection is collapsed.

   if (startIndex === endIndex) {
-    const startFormat = Object(external_lodash_["find"])(newFormats[startIndex], {
+    const startFormat = (0,external_lodash_namespaceObject.find)(newFormats[startIndex], {
       type: format.type
     }); // If the caret is at a format of the same type, expand start and end to
     // the edges of the format. This is useful to apply new attributes.
@@ -858,13 +740,13 @@ function applyFormat(value, format) {
     // Always revise active formats. This serves as a placeholder for new
     // inputs with the format so new input appears with the format applied,
     // and ensures a format of the same type uses the latest values.
-    activeFormats: [...Object(external_lodash_["reject"])(activeFormats, {
+    activeFormats: [...(0,external_lodash_namespaceObject.reject)(activeFormats, {
       type: format.type
     }), format]
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/create-element.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/create-element.js
 /**
  * Parse the given HTML into a body element.
  *
@@ -894,7 +776,7 @@ function createElement(_ref, html) {
   return createElement.body;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/special-characters.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/special-characters.js
 /**
  * Line separator character, used for multiline text.
  */
@@ -911,7 +793,7 @@ const OBJECT_REPLACEMENT_CHARACTER = '\ufffc';

 const ZWNBSP = '\ufeff';

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/create.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/create.js
 /**
  * WordPress dependencies
  */
@@ -960,7 +842,7 @@ function toFormat(_ref) {
   let formatType;

   if (attributes && attributes.class) {
-    formatType = Object(external_wp_data_["select"])(store).getFormatTypeForClassName(attributes.class);
+    formatType = (0,external_wp_data_namespaceObject.select)(store).getFormatTypeForClassName(attributes.class);

     if (formatType) {
       // Preserve any additional classes.
@@ -973,7 +855,7 @@ function toFormat(_ref) {
   }

   if (!formatType) {
-    formatType = Object(external_wp_data_["select"])(store).getFormatTypeForBareElement(type);
+    formatType = (0,external_wp_data_namespaceObject.select)(store).getFormatTypeForBareElement(type);
   }

   if (!formatType) {
@@ -1511,7 +1393,7 @@ function getAttributes(_ref4) {
   return accumulator;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/concat.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/concat.js
 /**
  * Internal dependencies
  */
@@ -1552,7 +1434,7 @@ function concat() {
   return normaliseFormats(values.reduce(mergePair, create()));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-active-formats.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-active-formats.js
 /** @typedef {import('./create').RichTextValue} RichTextValue */

 /** @typedef {import('./create').RichTextFormatList} RichTextFormatList */
@@ -1600,7 +1482,7 @@ function getActiveFormats(_ref) {
   return formats[start] || EMPTY_ACTIVE_FORMATS;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-active-format.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-active-format.js
 /**
  * External dependencies
  */
@@ -1628,12 +1510,12 @@ function getActiveFormats(_ref) {
  */

 function getActiveFormat(value, formatType) {
-  return Object(external_lodash_["find"])(getActiveFormats(value), {
+  return (0,external_lodash_namespaceObject.find)(getActiveFormats(value), {
     type: formatType
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-active-object.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-active-object.js
 /**
  * Internal dependencies
  */
@@ -1665,7 +1547,7 @@ function getActiveObject(_ref) {
   return replacements[start];
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-text-content.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-text-content.js
 /**
  * Internal dependencies
  */
@@ -1688,7 +1570,7 @@ function getTextContent(_ref) {
   return text.replace(new RegExp(OBJECT_REPLACEMENT_CHARACTER, 'g'), '').replace(new RegExp(LINE_SEPARATOR, 'g'), '\n');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-line-index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-line-index.js
 /**
  * Internal dependencies
  */
@@ -1722,7 +1604,7 @@ function getLineIndex(_ref) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-list-root-selected.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-list-root-selected.js
 /**
  * Internal dependencies
  */
@@ -1748,7 +1630,7 @@ function isListRootSelected(value) {
   return !replacement || replacement.length < 1;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-active-list-type.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-active-list-type.js
 /**
  * Internal dependencies
  */
@@ -1782,7 +1664,7 @@ function isActiveListType(value, type, rootType) {
   return lastFormat.type === type;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-collapsed.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-collapsed.js
 /** @typedef {import('./create').RichTextValue} RichTextValue */

 /**
@@ -1809,7 +1691,7 @@ function isCollapsed(_ref) {
   return start === end;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-empty.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/is-empty.js
 /**
  * Internal dependencies
  */
@@ -1866,7 +1748,7 @@ function isEmptyLine(_ref2) {
   return text.slice(start - 1, end + 1) === `${LINE_SEPARATOR}${LINE_SEPARATOR}`;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/join.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/join.js
 /**
  * Internal dependencies
  */
@@ -1908,7 +1790,7 @@ function join(values) {
   }));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/register-format-type.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/register-format-type.js
 /**
  * WordPress dependencies
  */
@@ -1958,7 +1840,7 @@ function registerFormatType(name, settings) {
     return;
   }

-  if (Object(external_wp_data_["select"])(store).getFormatType(settings.name)) {
+  if ((0,external_wp_data_namespaceObject.select)(store).getFormatType(settings.name)) {
     window.console.error('Format "' + settings.name + '" is already registered.');
     return;
   }
@@ -1979,14 +1861,14 @@ function registerFormatType(name, settings) {
   }

   if (settings.className === null) {
-    const formatTypeForBareElement = Object(external_wp_data_["select"])(store).getFormatTypeForBareElement(settings.tagName);
+    const formatTypeForBareElement = (0,external_wp_data_namespaceObject.select)(store).getFormatTypeForBareElement(settings.tagName);

     if (formatTypeForBareElement) {
       window.console.error(`Format "${formatTypeForBareElement.name}" is already registered to handle bare tag name "${settings.tagName}".`);
       return;
     }
   } else {
-    const formatTypeForClassName = Object(external_wp_data_["select"])(store).getFormatTypeForClassName(settings.className);
+    const formatTypeForClassName = (0,external_wp_data_namespaceObject.select)(store).getFormatTypeForClassName(settings.className);

     if (formatTypeForClassName) {
       window.console.error(`Format "${formatTypeForClassName.name}" is already registered to handle class name "${settings.className}".`);
@@ -2009,11 +1891,11 @@ function registerFormatType(name, settings) {
     return;
   }

-  Object(external_wp_data_["dispatch"])(store).addFormatTypes(settings);
+  (0,external_wp_data_namespaceObject.dispatch)(store).addFormatTypes(settings);
   return settings;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/remove-format.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/remove-format.js
 /**
  * External dependencies
  */
@@ -2049,19 +1931,19 @@ function removeFormat(value, formatType) {
   // format.

   if (startIndex === endIndex) {
-    const format = Object(external_lodash_["find"])(newFormats[startIndex], {
+    const format = (0,external_lodash_namespaceObject.find)(newFormats[startIndex], {
       type: formatType
     });

     if (format) {
-      while (Object(external_lodash_["find"])(newFormats[startIndex], format)) {
+      while ((0,external_lodash_namespaceObject.find)(newFormats[startIndex], format)) {
         filterFormats(newFormats, startIndex, formatType);
         startIndex--;
       }

       endIndex++;

-      while (Object(external_lodash_["find"])(newFormats[endIndex], format)) {
+      while ((0,external_lodash_namespaceObject.find)(newFormats[endIndex], format)) {
         filterFormats(newFormats, endIndex, formatType);
         endIndex++;
       }
@@ -2076,7 +1958,7 @@ function removeFormat(value, formatType) {

   return normaliseFormats({ ...value,
     formats: newFormats,
-    activeFormats: Object(external_lodash_["reject"])(activeFormats, {
+    activeFormats: (0,external_lodash_namespaceObject.reject)(activeFormats, {
       type: formatType
     })
   });
@@ -2097,7 +1979,7 @@ function filterFormats(formats, index, formatType) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/insert.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/insert.js
 /**
  * Internal dependencies
  */
@@ -2144,7 +2026,7 @@ function insert(value, valueToInsert) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/remove.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/remove.js
 /**
  * Internal dependencies
  */
@@ -2163,11 +2045,11 @@ function insert(value, valueToInsert) {
  * @return {RichTextValue} A new value with the content removed.
  */

-function remove_remove(value, startIndex, endIndex) {
+function remove(value, startIndex, endIndex) {
   return insert(value, create(), startIndex, endIndex);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/replace.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/replace.js
 /**
  * Internal dependencies
  */
@@ -2244,7 +2126,7 @@ function replace_replace(_ref, pattern, replacement) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/insert-line-separator.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/insert-line-separator.js
 /**
  * Internal dependencies
  */
@@ -2284,7 +2166,7 @@ function insertLineSeparator(value) {
   return insert(value, valueToInsert, startIndex, endIndex);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/remove-line-separator.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/remove-line-separator.js
 /**
  * Internal dependencies
  */
@@ -2340,13 +2222,13 @@ function removeLineSeparator(value) {
       replacements: newReplacements
     };
   } else {
-    newValue = remove_remove(value, removeStart, removeEnd);
+    newValue = remove(value, removeStart, removeEnd);
   }

   return newValue;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/insert-object.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/insert-object.js
 /**
  * Internal dependencies
  */
@@ -2378,7 +2260,7 @@ function insertObject(value, formatToInsert, startIndex, endIndex) {
   return insert(value, valueToInsert, startIndex, endIndex);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/slice.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/slice.js
 /** @typedef {import('./create').RichTextValue} RichTextValue */

 /**
@@ -2413,7 +2295,7 @@ function slice(value) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/split.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/split.js
 /**
  * Internal dependencies
  */
@@ -2503,7 +2385,7 @@ function splitAtSelection(_ref2) {
   replace_replace(before, /\u2028+$/, ''), replace_replace(after, /^\u2028+/, '')];
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-format-type.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-format-type.js
 /**
  * WordPress dependencies
  */
@@ -2524,10 +2406,10 @@ function splitAtSelection(_ref2) {
  */

 function get_format_type_getFormatType(name) {
-  return Object(external_wp_data_["select"])(store).getFormatType(name);
+  return (0,external_wp_data_namespaceObject.select)(store).getFormatType(name);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-tree.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-tree.js
 /**
  * Internal dependencies
  */
@@ -2863,7 +2745,7 @@ function toTree(_ref2) {
   return tree;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-dom.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-dom.js
 /**
  * Internal dependencies
  */
@@ -2921,7 +2803,7 @@ function getNodeByPath(node, path) {
   };
 }

-function to_dom_append(element, child) {
+function append(element, child) {
   if (typeof child === 'string') {
     child = element.ownerDocument.createTextNode(child);
   }
@@ -2942,29 +2824,29 @@ function to_dom_append(element, child) {
   return element.appendChild(child);
 }

-function to_dom_appendText(node, text) {
+function appendText(node, text) {
   node.appendData(text);
 }

-function to_dom_getLastChild(_ref) {
+function getLastChild(_ref) {
   let {
     lastChild
   } = _ref;
   return lastChild;
 }

-function to_dom_getParent(_ref2) {
+function getParent(_ref2) {
   let {
     parentNode
   } = _ref2;
   return parentNode;
 }

-function to_dom_isText(node) {
+function isText(node) {
   return node.nodeType === node.TEXT_NODE;
 }

-function to_dom_getText(_ref3) {
+function getText(_ref3) {
   let {
     nodeValue
   } = _ref3;
@@ -3010,13 +2892,13 @@ function toDom(_ref4) {
     value,
     multilineTag,
     createEmpty,
-    append: to_dom_append,
-    getLastChild: to_dom_getLastChild,
-    getParent: to_dom_getParent,
-    isText: to_dom_isText,
-    getText: to_dom_getText,
+    append,
+    getLastChild,
+    getParent,
+    isText,
+    getText,
     remove: to_dom_remove,
-    appendText: to_dom_appendText,
+    appendText,

     onStartIndex(body, pointer) {
       startPath = createPathToNode(pointer, body, [pointer.nodeValue.length]);
@@ -3203,10 +3085,9 @@ function applySelection(_ref6, current) {
   }
 }

-// EXTERNAL MODULE: external ["wp","escapeHtml"]
-var external_wp_escapeHtml_ = __webpack_require__("Vx3V");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-html-string.js
+;// CONCATENATED MODULE: external ["wp","escapeHtml"]
+var external_wp_escapeHtml_namespaceObject = window["wp"]["escapeHtml"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/to-html-string.js
 /**
  * WordPress dependencies
  */
@@ -3241,7 +3122,7 @@ function toHTMLString(_ref) {
     value,
     multilineTag,
     preserveWhiteSpace,
-    createEmpty: to_html_string_createEmpty,
+    createEmpty,
     append: to_html_string_append,
     getLastChild: to_html_string_getLastChild,
     getParent: to_html_string_getParent,
@@ -3253,7 +3134,7 @@ function toHTMLString(_ref) {
   return createChildrenHTML(tree.children);
 }

-function to_html_string_createEmpty() {
+function createEmpty() {
   return {};
 }

@@ -3322,11 +3203,11 @@ function createElementHTML(_ref6) {
   let attributeString = '';

   for (const key in attributes) {
-    if (!Object(external_wp_escapeHtml_["isValidAttributeName"])(key)) {
+    if (!(0,external_wp_escapeHtml_namespaceObject.isValidAttributeName)(key)) {
       continue;
     }

-    attributeString += ` ${key}="${Object(external_wp_escapeHtml_["escapeAttribute"])(attributes[key])}"`;
+    attributeString += ` ${key}="${(0,external_wp_escapeHtml_namespaceObject.escapeAttribute)(attributes[key])}"`;
   }

   if (object) {
@@ -3343,17 +3224,15 @@ function createChildrenHTML() {
       return child.html;
     }

-    return child.text === undefined ? createElementHTML(child) : Object(external_wp_escapeHtml_["escapeEditableHTML"])(child.text);
+    return child.text === undefined ? createElementHTML(child) : (0,external_wp_escapeHtml_namespaceObject.escapeEditableHTML)(child.text);
   }).join('');
 }

-// EXTERNAL MODULE: external ["wp","a11y"]
-var external_wp_a11y_ = __webpack_require__("gdqT");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/toggle-format.js
+;// CONCATENATED MODULE: external ["wp","a11y"]
+var external_wp_a11y_namespaceObject = window["wp"]["a11y"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/toggle-format.js
 /**
  * WordPress dependencies
  */
@@ -3384,7 +3263,7 @@ function toggleFormat(value, format) {
     // For screen readers, will announce if formatting control is disabled.
     if (format.title) {
       // translators: %s: title of the formatting control
-      Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('%s removed.'), format.title), 'assertive');
+      (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('%s removed.'), format.title), 'assertive');
     }

     return removeFormat(value, format.type);
@@ -3393,13 +3272,13 @@ function toggleFormat(value, format) {

   if (format.title) {
     // translators: %s: title of the formatting control
-    Object(external_wp_a11y_["speak"])(Object(external_wp_i18n_["sprintf"])(Object(external_wp_i18n_["__"])('%s applied.'), format.title), 'assertive');
+    (0,external_wp_a11y_namespaceObject.speak)((0,external_wp_i18n_namespaceObject.sprintf)((0,external_wp_i18n_namespaceObject.__)('%s applied.'), format.title), 'assertive');
   }

   return applyFormat(value, format);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/unregister-format-type.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/unregister-format-type.js
 /**
  * WordPress dependencies
  */
@@ -3422,18 +3301,18 @@ function toggleFormat(value, format) {
  */

 function unregisterFormatType(name) {
-  const oldFormat = Object(external_wp_data_["select"])(store).getFormatType(name);
+  const oldFormat = (0,external_wp_data_namespaceObject.select)(store).getFormatType(name);

   if (!oldFormat) {
     window.console.error(`Format ${name} is not registered.`);
     return;
   }

-  Object(external_wp_data_["dispatch"])(store).removeFormatTypes(name);
+  (0,external_wp_data_namespaceObject.dispatch)(store).removeFormatTypes(name);
   return oldFormat;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/can-indent-list-items.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/can-indent-list-items.js
 /**
  * Internal dependencies
  */
@@ -3466,7 +3345,7 @@ function canIndentListItems(value) {
   return formatsAtLineIndex.length <= formatsAtPreviousLineIndex.length;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/can-outdent-list-items.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/can-outdent-list-items.js
 /**
  * Internal dependencies
  */
@@ -3490,7 +3369,7 @@ function canOutdentListItems(value) {
   return replacements[startingLineIndex] !== undefined;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/indent-list-items.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/indent-list-items.js
 /**
  * Internal dependencies
  */
@@ -3581,7 +3460,7 @@ function indentListItems(value, rootFormat) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-parent-line-index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-parent-line-index.js
 /**
  * Internal dependencies
  */
@@ -3620,7 +3499,7 @@ function getParentLineIndex(_ref, lineIndex) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-last-child-index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/get-last-child-index.js
 /**
  * Internal dependencies
  */
@@ -3665,7 +3544,7 @@ function getLastChildIndex(_ref, lineIndex) {
   return childIndex;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/outdent-list-items.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/outdent-list-items.js
 /**
  * Internal dependencies
  */
@@ -3724,7 +3603,7 @@ function outdentListItems(value) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/change-list-type.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/change-list-type.js
 /**
  * Internal dependencies
  */
@@ -3792,10 +3671,9 @@ function changeListType(value, newFormat) {
   };
 }

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-anchor-ref.js
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-anchor-ref.js
 /**
  * WordPress dependencies
  */
@@ -3838,7 +3716,7 @@ function useAnchorRef(_ref) {
     name
   } = settings;
   const activeFormat = name ? getActiveFormat(value, name) : undefined;
-  return Object(external_wp_element_["useMemo"])(() => {
+  return (0,external_wp_element_namespaceObject.useMemo)(() => {
     if (!ref.current) return;
     const {
       ownerDocument: {
@@ -3869,10 +3747,9 @@ function useAnchorRef(_ref) {
   }, [activeFormat, value.start, value.end, tagName, className]);
 }

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-default-style.js
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-default-style.js
 /**
  * WordPress dependencies
  */
@@ -3906,14 +3783,14 @@ const whiteSpace = 'pre-wrap';

 const minWidth = '1px';
 function useDefaultStyle() {
-  return Object(external_wp_element_["useCallback"])(element => {
+  return (0,external_wp_element_namespaceObject.useCallback)(element => {
     if (!element) return;
     element.style.whiteSpace = whiteSpace;
     element.style.minWidth = minWidth;
   }, []);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-boundary-style.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-boundary-style.js
 /**
  * WordPress dependencies
  */
@@ -3927,11 +3804,11 @@ function useBoundaryStyle(_ref) {
   let {
     record
   } = _ref;
-  const ref = Object(external_wp_element_["useRef"])();
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
   const {
     activeFormats = []
   } = record.current;
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // There's no need to recalculate the boundary styles if no formats are
     // active, because no boundary styles will be visible.
     if (!activeFormats || !activeFormats.length) {
@@ -3972,7 +3849,7 @@ function useBoundaryStyle(_ref) {
   return ref;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-copy-handler.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-copy-handler.js
 /**
  * WordPress dependencies
  */
@@ -3987,9 +3864,9 @@ function useBoundaryStyle(_ref) {


 function useCopyHandler(props) {
-  const propsRef = Object(external_wp_element_["useRef"])(props);
+  const propsRef = (0,external_wp_element_namespaceObject.useRef)(props);
   propsRef.current = props;
-  return Object(external_wp_compose_["useRefEffect"])(element => {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
     function onCopy(event) {
       const {
         record,
@@ -4022,10 +3899,9 @@ function useCopyHandler(props) {
   }, []);
 }

-// EXTERNAL MODULE: external ["wp","keycodes"]
-var external_wp_keycodes_ = __webpack_require__("RxS6");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-format-boundaries.js
+;// CONCATENATED MODULE: external ["wp","keycodes"]
+var external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-format-boundaries.js
 /**
  * WordPress dependencies
  */
@@ -4039,10 +3915,10 @@ var external_wp_keycodes_ = __webpack_require__("RxS6");

 const EMPTY_ACTIVE_FORMATS = [];
 function useFormatBoundaries(props) {
-  const [, forceRender] = Object(external_wp_element_["useReducer"])(() => ({}));
-  const propsRef = Object(external_wp_element_["useRef"])(props);
+  const [, forceRender] = (0,external_wp_element_namespaceObject.useReducer)(() => ({}));
+  const propsRef = (0,external_wp_element_namespaceObject.useRef)(props);
   propsRef.current = props;
-  return Object(external_wp_compose_["useRefEffect"])(element => {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
     function onKeyDown(event) {
       const {
         keyCode,
@@ -4053,7 +3929,7 @@ function useFormatBoundaries(props) {
       } = event;

       if ( // Only override left and right keys without modifiers pressed.
-      shiftKey || altKey || metaKey || ctrlKey || keyCode !== external_wp_keycodes_["LEFT"] && keyCode !== external_wp_keycodes_["RIGHT"]) {
+      shiftKey || altKey || metaKey || ctrlKey || keyCode !== external_wp_keycodes_namespaceObject.LEFT && keyCode !== external_wp_keycodes_namespaceObject.RIGHT) {
         return;
       }

@@ -4079,7 +3955,7 @@ function useFormatBoundaries(props) {
       const {
         direction
       } = defaultView.getComputedStyle(element);
-      const reverseKey = direction === 'rtl' ? external_wp_keycodes_["RIGHT"] : external_wp_keycodes_["LEFT"];
+      const reverseKey = direction === 'rtl' ? external_wp_keycodes_namespaceObject.RIGHT : external_wp_keycodes_namespaceObject.LEFT;
       const isReverse = event.keyCode === reverseKey; // If the selection is collapsed and at the very start, do nothing if
       // navigating backward.
       // If the selection is collapsed and at the very end, do nothing if
@@ -4138,13 +4014,13 @@ function useFormatBoundaries(props) {
   }, []);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-select-object.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-select-object.js
 /**
  * WordPress dependencies
  */

 function useSelectObject() {
-  return Object(external_wp_compose_["useRefEffect"])(element => {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
     function onClick(event) {
       const {
         target
@@ -4174,7 +4050,7 @@ function useSelectObject() {
   }, []);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-indent-list-item-on-space.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-indent-list-item-on-space.js
 /**
  * WordPress dependencies
  */
@@ -4189,9 +4065,9 @@ function useSelectObject() {


 function useIndentListItemOnSpace(props) {
-  const propsRef = Object(external_wp_element_["useRef"])(props);
+  const propsRef = (0,external_wp_element_namespaceObject.useRef)(props);
   propsRef.current = props;
-  return Object(external_wp_compose_["useRefEffect"])(element => {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
     function onKeyDown(event) {
       const {
         keyCode,
@@ -4207,7 +4083,7 @@ function useIndentListItemOnSpace(props) {
       } = propsRef.current;

       if ( // Only override when no modifiers are pressed.
-      shiftKey || altKey || metaKey || ctrlKey || keyCode !== external_wp_keycodes_["SPACE"] || multilineTag !== 'li') {
+      shiftKey || altKey || metaKey || ctrlKey || keyCode !== external_wp_keycodes_namespaceObject.SPACE || multilineTag !== 'li') {
         return;
       }

@@ -4240,7 +4116,7 @@ function useIndentListItemOnSpace(props) {
   }, []);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/update-formats.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/update-formats.js
 /**
  * Internal dependencies
  */
@@ -4299,7 +4175,7 @@ function updateFormats(_ref) {
   return value;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-input-and-selection.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-input-and-selection.js
 /**
  * WordPress dependencies
  */
@@ -4349,9 +4225,9 @@ function fixPlaceholderSelection(defaultView) {
 }

 function useInputAndSelection(props) {
-  const propsRef = Object(external_wp_element_["useRef"])(props);
+  const propsRef = (0,external_wp_element_namespaceObject.useRef)(props);
   propsRef.current = props;
-  return Object(external_wp_compose_["useRefEffect"])(element => {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
     const {
       ownerDocument
     } = element;
@@ -4571,7 +4447,7 @@ function useInputAndSelection(props) {
   }, []);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-delete.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-delete.js
 /**
  * WordPress dependencies
  */
@@ -4586,9 +4462,9 @@ function useInputAndSelection(props) {


 function useDelete(props) {
-  const propsRef = Object(external_wp_element_["useRef"])(props);
+  const propsRef = (0,external_wp_element_namespaceObject.useRef)(props);
   propsRef.current = props;
-  return Object(external_wp_compose_["useRefEffect"])(element => {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
     function onKeyDown(event) {
       const {
         keyCode
@@ -4603,7 +4479,7 @@ function useDelete(props) {
         return;
       }

-      if (keyCode !== external_wp_keycodes_["DELETE"] && keyCode !== external_wp_keycodes_["BACKSPACE"]) {
+      if (keyCode !== external_wp_keycodes_namespaceObject.DELETE && keyCode !== external_wp_keycodes_namespaceObject.BACKSPACE) {
         return;
       }

@@ -4613,10 +4489,10 @@ function useDelete(props) {
         end,
         text
       } = currentValue;
-      const isReverse = keyCode === external_wp_keycodes_["BACKSPACE"]; // Always handle full content deletion ourselves.
+      const isReverse = keyCode === external_wp_keycodes_namespaceObject.BACKSPACE; // Always handle full content deletion ourselves.

       if (start === 0 && end !== 0 && end === text.length) {
-        handleChange(remove_remove(currentValue));
+        handleChange(remove(currentValue));
         event.preventDefault();
         return;
       }
@@ -4644,7 +4520,7 @@ function useDelete(props) {
   }, []);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-space.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/use-space.js
 /**
  * WordPress dependencies
  */
@@ -4661,7 +4537,7 @@ function useDelete(props) {
  */

 function useSpace() {
-  return Object(external_wp_compose_["useRefEffect"])(element => {
+  return (0,external_wp_compose_namespaceObject.useRefEffect)(element => {
     function onKeyDown(event) {
       // Don't insert a space if default behaviour is prevented.
       if (event.defaultPrevented) {
@@ -4676,7 +4552,7 @@ function useSpace() {
         key
       } = event; // Only consider the space key without modifiers pressed.

-      if (keyCode !== external_wp_keycodes_["SPACE"] || altKey || metaKey || ctrlKey) {
+      if (keyCode !== external_wp_keycodes_namespaceObject.SPACE || altKey || metaKey || ctrlKey) {
         return;
       } // Disregard character composition that involves the Space key.
       //
@@ -4716,7 +4592,7 @@ function useSpace() {
   }, []);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/index.js
 /**
  * WordPress dependencies
  */
@@ -4756,9 +4632,9 @@ function useRichText(_ref) {
     __unstableBeforeSerialize,
     __unstableAddInvisibleFormats
   } = _ref;
-  const registry = Object(external_wp_data_["useRegistry"])();
-  const [, forceRender] = Object(external_wp_element_["useReducer"])(() => ({}));
-  const ref = Object(external_wp_element_["useRef"])();
+  const registry = (0,external_wp_data_namespaceObject.useRegistry)();
+  const [, forceRender] = (0,external_wp_element_namespaceObject.useReducer)(() => ({}));
+  const ref = (0,external_wp_element_namespaceObject.useRef)();

   function createRecord() {
     const {
@@ -4794,9 +4670,9 @@ function useRichText(_ref) {
   } // Internal values are updated synchronously, unlike props and state.


-  const _value = Object(external_wp_element_["useRef"])(value);
+  const _value = (0,external_wp_element_namespaceObject.useRef)(value);

-  const record = Object(external_wp_element_["useRef"])();
+  const record = (0,external_wp_element_namespaceObject.useRef)();

   function setRecordFromProps() {
     _value.current = value;
@@ -4820,7 +4696,7 @@ function useRichText(_ref) {
     record.current.end = selectionEnd;
   }

-  const hadSelectionUpdate = Object(external_wp_element_["useRef"])(false);
+  const hadSelectionUpdate = (0,external_wp_element_namespaceObject.useRef)(false);

   if (!record.current) {
     var _record$current, _record$current$forma, _record$current$forma2;
@@ -4916,15 +4792,15 @@ function useRichText(_ref) {
     applyRecord(record.current);
   }

-  const didMount = Object(external_wp_element_["useRef"])(false); // Value updates must happen synchonously to avoid overwriting newer values.
+  const didMount = (0,external_wp_element_namespaceObject.useRef)(false); // Value updates must happen synchonously to avoid overwriting newer values.

-  Object(external_wp_element_["useLayoutEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
     if (didMount.current && value !== _value.current) {
       applyFromProps();
     }
   }, [value]); // Value updates must happen synchonously to avoid overwriting newer values.

-  Object(external_wp_element_["useLayoutEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useLayoutEffect)(() => {
     if (!hadSelectionUpdate.current) {
       return;
     }
@@ -4932,7 +4808,7 @@ function useRichText(_ref) {
     applyFromProps();
     hadSelectionUpdate.current = false;
   }, [hadSelectionUpdate.current]);
-  const mergedRefs = Object(external_wp_compose_["useMergeRefs"])([ref, useDefaultStyle(), useBoundaryStyle({
+  const mergedRefs = (0,external_wp_compose_namespaceObject.useMergeRefs)([ref, useDefaultStyle(), useBoundaryStyle({
     record
   }), useCopyHandler({
     record,
@@ -4956,7 +4832,7 @@ function useRichText(_ref) {
     handleChange,
     isSelected,
     onSelectionChange
-  }), useSpace(), Object(external_wp_compose_["useRefEffect"])(() => {
+  }), useSpace(), (0,external_wp_compose_namespaceObject.useRefEffect)(() => {
     applyFromProps();
     didMount.current = true;
   }, [placeholder, ...__unstableDependencies])]);
@@ -4968,7 +4844,7 @@ function useRichText(_ref) {
 }
 function __experimentalRichText() {}

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/format-edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/component/format-edit.js


 /**
@@ -4998,7 +4874,7 @@ function FormatEdit(_ref) {
     const isActive = activeFormat !== undefined;
     const activeObject = getActiveObject(value);
     const isObjectActive = activeObject !== undefined && activeObject.type === name;
-    return Object(external_wp_element_["createElement"])(Edit, {
+    return (0,external_wp_element_namespaceObject.createElement)(Edit, {
       key: name,
       isActive: isActive,
       activeAttributes: isActive ? activeFormat.attributes || {} : {},
@@ -5012,9 +4888,7 @@ function FormatEdit(_ref) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/index.js
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/rich-text/build-module/index.js



@@ -5051,6 +4925,7 @@ function FormatEdit(_ref) {



-/***/ })

-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).richText = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/rich-text.min.js b/wp-includes/js/dist/rich-text.min.js
index 897e6377c4..da2ab54698 100644
--- a/wp-includes/js/dist/rich-text.min.js
+++ b/wp-includes/js/dist/rich-text.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.richText=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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="yyEc")}({"1ZqX":function(e,t){e.exports=window.wp.data},GRId:function(e,t){e.exports=window.wp.element},K9lf:function(e,t){e.exports=window.wp.compose},RxS6:function(e,t){e.exports=window.wp.keycodes},Vx3V:function(e,t){e.exports=window.wp.escapeHtml},YLtl:function(e,t){e.exports=window.lodash},gdqT:function(e,t){e.exports=window.wp.a11y},l3Sj:function(e,t){e.exports=window.wp.i18n},pPDe:function(e,t,n){"use strict";var r,o;function a(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function c(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var n,s;function l(){n=o?new WeakMap:i()}function u(){var n,r,o,a,i,l=arguments.length;for(a=new Array(l),o=0;o<l;o++)a[o]=arguments[o];for(i=t.apply(null,a),(n=s(i)).isUniqueByDependants||(n.lastDependants&&!c(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(c(r.args,a,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,a)},a[0]=null,r.args=a,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=a),s=o?function(e){var t,o,a,c,s,l=n,u=!0;for(t=0;t<e.length;t++){if(o=e[t],!(s=o)||"object"!=typeof s){u=!1;break}l.has(o)?l=l.get(o):(a=new WeakMap,l.set(o,a),l=a)}return l.has(r)||((c=i()).isUniqueByDependants=u,l.set(r,c)),l.get(r)}:function(){return n},u.getDependants=t,u.clear=l,l(),u}},yyEc:function(e,t,n){"use strict";n.r(t),n.d(t,"store",(function(){return g})),n.d(t,"applyFormat",(function(){return y})),n.d(t,"concat",(function(){return S})),n.d(t,"create",(function(){return O})),n.d(t,"getActiveFormat",(function(){return D})),n.d(t,"getActiveObject",(function(){return k})),n.d(t,"getTextContent",(function(){return W})),n.d(t,"__unstableIsListRootSelected",(function(){return P})),n.d(t,"__unstableIsActiveListType",(function(){return I})),n.d(t,"isCollapsed",(function(){return $})),n.d(t,"isEmpty",(function(){return V})),n.d(t,"__unstableIsEmptyLine",(function(){return K})),n.d(t,"join",(function(){return H})),n.d(t,"registerFormatType",(function(){return B})),n.d(t,"removeFormat",(function(){return q})),n.d(t,"remove",(function(){return X})),n.d(t,"replace",(function(){return Y})),n.d(t,"insert",(function(){return U})),n.d(t,"__unstableInsertLineSeparator",(function(){return G})),n.d(t,"__unstableRemoveLineSeparator",(function(){return Z})),n.d(t,"insertObject",(function(){return J})),n.d(t,"slice",(function(){return Q})),n.d(t,"split",(function(){return ee})),n.d(t,"__unstableToDom",(function(){return ge})),n.d(t,"toHTMLString",(function(){return ve})),n.d(t,"toggleFormat",(function(){return Ae})),n.d(t,"__UNSTABLE_LINE_SEPARATOR",(function(){return T})),n.d(t,"unregisterFormatType",(function(){return Se})),n.d(t,"__unstableCanIndentListItems",(function(){return Ne})),n.d(t,"__unstableCanOutdentListItems",(function(){return De})),n.d(t,"__unstableIndentListItems",(function(){return ke})),n.d(t,"__unstableOutdentListItems",(function(){return Me})),n.d(t,"__unstableChangeListType",(function(){return Pe})),n.d(t,"__unstableCreateElement",(function(){return x})),n.d(t,"useAnchorRef",(function(){return $e})),n.d(t,"__experimentalRichText",(function(){return Qe})),n.d(t,"__unstableUseRichText",(function(){return Je})),n.d(t,"__unstableFormatEdit",(function(){return et}));var r={};n.r(r),n.d(r,"getFormatTypes",(function(){return l})),n.d(r,"getFormatType",(function(){return u})),n.d(r,"getFormatTypeForBareElement",(function(){return f})),n.d(r,"getFormatTypeForClassName",(function(){return d}));var o={};n.r(o),n.d(o,"addFormatTypes",(function(){return m})),n.d(o,"removeFormatTypes",(function(){return p}));var a=n("1ZqX"),i=n("YLtl");var c=Object(a.combineReducers)({formatTypes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return{...e,...Object(i.keyBy)(t.formatTypes,"name")};case"REMOVE_FORMAT_TYPES":return Object(i.omit)(e,t.names)}return e}}),s=n("pPDe");const l=Object(s.a)(e=>Object.values(e.formatTypes),e=>[e.formatTypes]);function u(e,t){return e.formatTypes[t]}function f(e,t){return Object(i.find)(l(e),e=>{let{className:n,tagName:r}=e;return null===n&&t===r})}function d(e,t){return Object(i.find)(l(e),e=>{let{className:n}=e;return null!==n&&` ${t} `.indexOf(` ${n} `)>=0})}function m(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(i.castArray)(e)}}function p(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(i.castArray)(e)}}const g=Object(a.createReduxStore)("core/rich-text",{reducer:c,selectors:r,actions:o});function h(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;const n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;const o=Object.keys(n),a=Object.keys(r);if(o.length!==a.length)return!1;const i=o.length;for(let e=0;e<i;e++){const t=o[e];if(n[t]!==r[t])return!1}return!0}function b(e){const t=e.formats.slice();return t.forEach((e,n)=>{const r=t[n-1];if(r){const o=e.slice();o.forEach((e,t)=>{const n=r[t];h(e,n)&&(o[t]=n)}),t[n]=o}}),{...e,formats:t}}function v(e,t,n){return(e=e.slice())[t]=n,e}function y(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end;const{formats:o,activeFormats:a}=e,c=o.slice();if(n===r){const e=Object(i.find)(c[n],{type:t.type});if(e){const o=c[n].indexOf(e);for(;c[n]&&c[n][o]===e;)c[n]=v(c[n],o,t),n--;for(r++;c[r]&&c[r][o]===e;)c[r]=v(c[r],o,t),r++}}else{let e=1/0;for(let o=n;o<r;o++)if(c[o]){c[o]=c[o].filter(e=>{let{type:n}=e;return n!==t.type});const n=c[o].length;n<e&&(e=n)}else c[o]=[],e=0;for(let o=n;o<r;o++)c[o].splice(e,0,t)}return b({...e,formats:c,activeFormats:[...Object(i.reject)(a,{type:t.type}),t]})}function x(e,t){let{implementation:n}=e;return x.body||(x.body=n.createHTMLDocument("").body),x.body.innerHTML=t,x.body}Object(a.register)(g);const T="\u2028";function E(e){let t,{type:n,attributes:r}=e;if(r&&r.class&&(t=Object(a.select)(g).getFormatTypeForClassName(r.class),t&&(r.class=` ${r.class} `.replace(` ${t.className} `," ").trim(),r.class||delete r.class)),t||(t=Object(a.select)(g).getFormatTypeForBareElement(n)),!t)return r?{type:n,attributes:r}:{type:n};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{type:t.name};const o={},i={},c={...r};for(const e in t.attributes){const n=t.attributes[e];o[e]=c[n],t.__unstableFilterAttributeValue&&(o[e]=t.__unstableFilterAttributeValue(e,o[e])),delete c[n],void 0===o[e]&&delete o[e]}for(const e in c)i[e]=r[e];return{type:t.name,attributes:o,unregisteredAttributes:i}}function O(){let{element:e,text:t,html:n,range:r,multilineTag:o,multilineWrapperTags:a,__unstableIsEditableTree:i,preserveWhiteSpace:c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"string"==typeof t&&t.length>0?{formats:Array(t.length),replacements:Array(t.length),text:t}:("string"==typeof n&&n.length>0&&(e=x(document,n)),"object"!=typeof e?{formats:[],replacements:[],text:""}:o?R({element:e,range:r,multilineTag:o,multilineWrapperTags:a,isEditableTree:i,preserveWhiteSpace:c}):F({element:e,range:r,isEditableTree:i,preserveWhiteSpace:c}))}function w(e,t,n,r){if(!n)return;const{parentNode:o}=t,{startContainer:a,startOffset:i,endContainer:c,endOffset:s}=n,l=e.text.length;void 0!==r.start?e.start=l+r.start:t===a&&t.nodeType===t.TEXT_NODE?e.start=l+i:o===a&&t===a.childNodes[i]?e.start=l:o===a&&t===a.childNodes[i-1]?e.start=l+r.text.length:t===a&&(e.start=l),void 0!==r.end?e.end=l+r.end:t===c&&t.nodeType===t.TEXT_NODE?e.end=l+s:o===c&&t===c.childNodes[s-1]?e.end=l+r.text.length:o===c&&t===c.childNodes[s]?e.end=l:t===c&&(e.end=l+s)}function _(e,t,n){if(!t)return;const{startContainer:r,endContainer:o}=t;let{startOffset:a,endOffset:i}=t;return e===r&&(a=n(e.nodeValue.slice(0,a)).length),e===o&&(i=n(e.nodeValue.slice(0,i)).length),{startContainer:r,startOffset:a,endContainer:o,endOffset:i}}function j(e){return e.replace(/[\n\r\t]+/g," ")}function C(e){return e.replace(new RegExp("[\ufeff]","gu"),"")}function F(e){let{element:t,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:a=[],isEditableTree:i,preserveWhiteSpace:c}=e;const s={formats:[],replacements:[],text:""};if(!t)return s;if(!t.hasChildNodes())return w(s,t,n,{formats:[],replacements:[],text:""}),s;const l=t.childNodes.length;for(let e=0;e<l;e++){const l=t.childNodes[e],f=l.nodeName.toLowerCase();if(l.nodeType===l.TEXT_NODE){let e=C;c||(e=e=>C(j(e)));const t=e(l.nodeValue);n=_(l,n,e),w(s,l,n,{text:t}),s.formats.length+=t.length,s.replacements.length+=t.length,s.text+=t;continue}if(l.nodeType!==l.ELEMENT_NODE)continue;if(i&&(l.getAttribute("data-rich-text-placeholder")||"br"===f&&!l.getAttribute("data-rich-text-line-break"))){w(s,l,n,{formats:[],replacements:[],text:""});continue}if("script"===f){const e={formats:[,],replacements:[{type:f,attributes:{"data-rich-text-script":l.getAttribute("data-rich-text-script")||encodeURIComponent(l.innerHTML)}}],text:""};w(s,l,n,e),A(s,e);continue}if("br"===f){w(s,l,n,{formats:[],replacements:[],text:""}),A(s,O({text:"\n"}));continue}const d=E({type:f,attributes:L({element:l})});if(o&&-1!==o.indexOf(f)){const e=R({element:l,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:[...a,d],isEditableTree:i,preserveWhiteSpace:c});w(s,l,n,e),A(s,e);continue}const m=F({element:l,range:n,multilineTag:r,multilineWrapperTags:o,isEditableTree:i,preserveWhiteSpace:c});if(w(s,l,n,m),d)if(0===m.text.length)d.attributes&&A(s,{formats:[,],replacements:[d],text:""});else{function u(e){if(u.formats===e)return u.newFormats;const t=e?[d,...e]:[d];return u.formats=e,u.newFormats=t,t}u.newFormats=[d],A(s,{...m,formats:Array.from(m.formats,u)})}else A(s,m)}return s}function R(e){let{element:t,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:a=[],isEditableTree:i,preserveWhiteSpace:c}=e;const s={formats:[],replacements:[],text:""};if(!t||!t.hasChildNodes())return s;const l=t.children.length;for(let e=0;e<l;e++){const l=t.children[e];if(l.nodeName.toLowerCase()!==r)continue;const u=F({element:l,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:a,isEditableTree:i,preserveWhiteSpace:c});(0!==e||a.length>0)&&A(s,{formats:[,],replacements:a.length>0?[a]:[,],text:T}),w(s,l,n,u),A(s,u)}return s}function L(e){let{element:t}=e;if(!t.hasAttributes())return;const n=t.attributes.length;let r;for(let e=0;e<n;e++){const{name:n,value:o}=t.attributes[e];if(0===n.indexOf("data-rich-text-"))continue;r=r||{},r[/^on/i.test(n)?"data-disable-rich-text-"+n:n]=o}return r}function A(e,t){return e.formats=e.formats.concat(t.formats),e.replacements=e.replacements.concat(t.replacements),e.text+=t.text,e}function S(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b(t.reduce(A,O()))}function N(e){let{formats:t,start:n,end:r,activeFormats:o}=e,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===n)return a;if(n===r){if(o)return o;const e=t[n-1]||a,r=t[n]||a;return e.length<r.length?e:r}return t[n]||a}function D(e,t){return Object(i.find)(N(e),{type:t})}function k(e){let{start:t,end:n,replacements:r,text:o}=e;if(t+1===n&&""===o[t])return r[t]}function W(e){let{text:t}=e;return t.replace(new RegExp("","g"),"").replace(new RegExp(T,"g"),"\n")}function M(e){let{start:t,text:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,o=r;for(;o--;)if(n[o]===T)return o}function P(e){const{replacements:t,start:n}=e,r=t[M(e,n)];return!r||r.length<1}function I(e,t,n){const{replacements:r,start:o}=e,a=r[M(e,o)];if(!a||0===a.length)return t===n;return a[a.length-1].type===t}function $(e){let{start:t,end:n}=e;if(void 0!==t&&void 0!==n)return t===n}function V(e){let{text:t}=e;return 0===t.length}function K(e){let{text:t,start:n,end:r}=e;return n===r&&(0===t.length||(0===n&&t.slice(0,1)===T||(n===t.length&&t.slice(-1)===T||t.slice(n-1,r+1)===`${T}${T}`)))}function H(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=O({text:t})),b(e.reduce((e,n)=>{let{formats:r,replacements:o,text:a}=n;return{formats:e.formats.concat(t.formats,r),replacements:e.replacements.concat(t.replacements,o),text:e.text+t.text+a}}))}function B(e,t){if("string"==typeof(t={name:e,...t}).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if(Object(a.select)(g).getFormatType(t.name))window.console.error('Format "'+t.name+'" is already registered.');else if("string"==typeof t.tagName&&""!==t.tagName)if("string"==typeof t.className&&""!==t.className||null===t.className)if(/^[_a-zA-Z]+[a-zA-Z0-9-]*$/.test(t.className)){if(null===t.className){const e=Object(a.select)(g).getFormatTypeForBareElement(t.tagName);if(e)return void window.console.error(`Format "${e.name}" is already registered to handle bare tag name "${t.tagName}".`)}else{const e=Object(a.select)(g).getFormatTypeForClassName(t.className);if(e)return void window.console.error(`Format "${e.name}" is already registered to handle class name "${t.className}".`)}if("title"in t&&""!==t.title)if("keywords"in t&&t.keywords.length>3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title)return Object(a.dispatch)(g).addFormatTypes(t),t;window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}function q(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end;const{formats:o,activeFormats:a}=e,c=o.slice();if(n===r){const e=Object(i.find)(c[n],{type:t});if(e){for(;Object(i.find)(c[n],e);)z(c,n,t),n--;for(r++;Object(i.find)(c[r],e);)z(c,r,t),r++}}else for(let e=n;e<r;e++)c[e]&&z(c,e,t);return b({...e,formats:c,activeFormats:Object(i.reject)(a,{type:t})})}function z(e,t,n){const r=e[t].filter(e=>{let{type:t}=e;return t!==n});r.length?e[t]=r:delete e[t]}function U(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end;const{formats:o,replacements:a,text:i}=e;"string"==typeof t&&(t=O({text:t}));const c=n+t.text.length;return b({formats:o.slice(0,n).concat(t.formats,o.slice(r)),replacements:a.slice(0,n).concat(t.replacements,a.slice(r)),text:i.slice(0,n)+t.text+i.slice(r),start:c,end:c})}function X(e,t,n){return U(e,O(),t,n)}function Y(e,t,n){let{formats:r,replacements:o,text:a,start:i,end:c}=e;return a=a.replace(t,(function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),s=1;s<t;s++)a[s-1]=arguments[s];const l=a[a.length-2];let u,f,d=n;return"function"==typeof d&&(d=n(e,...a)),"object"==typeof d?(u=d.formats,f=d.replacements,d=d.text):(u=Array(d.length),f=Array(d.length),r[l]&&(u=u.fill(r[l]))),r=r.slice(0,l).concat(u,r.slice(l+e.length)),o=o.slice(0,l).concat(f,o.slice(l+e.length)),i&&(i=c=l+d.length),d})),b({formats:r,replacements:o,text:a,start:i,end:c})}function G(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end;const r=e.text.slice(0,t),o=r.lastIndexOf(T),a=e.replacements[o];let i=[,];a&&(i=[a]);const c={formats:[,],replacements:i,text:T};return U(e,c,t,n)}function Z(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const{replacements:n,text:r,start:o,end:a}=e,i=$(e);let c,s=o-1,l=i?o-1:o,u=a;if(t||(s=a,l=o,u=i?a+1:a),r[s]===T){if(i&&n[s]&&n[s].length){const t=n.slice();t[s]=n[s].slice(0,-1),c={...e,replacements:t}}else c=X(e,l,u);return c}}function J(e,t,n,r){return U(e,{formats:[,],replacements:[t],text:""},n,r)}function Q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end;const{formats:r,replacements:o,text:a}=e;return void 0===t||void 0===n?{...e}:{formats:r.slice(t,n),replacements:o.slice(t,n),text:a.slice(t,n)}}function ee(e,t){let{formats:n,replacements:r,text:o,start:a,end:i}=e;if("string"!=typeof t)return te(...arguments);let c=0;return o.split(t).map(e=>{const o=c,s={formats:n.slice(o,o+e.length),replacements:r.slice(o,o+e.length),text:e};return c+=t.length+e.length,void 0!==a&&void 0!==i&&(a>=o&&a<c?s.start=a-o:a<o&&i>o&&(s.start=0),i>=o&&i<c?s.end=i-o:a<c&&i>c&&(s.end=e.length)),s})}function te(e){let{formats:t,replacements:n,text:r,start:o,end:a}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a;if(void 0===o||void 0===a)return;const s={formats:t.slice(0,i),replacements:n.slice(0,i),text:r.slice(0,i)},l={formats:t.slice(c),replacements:n.slice(c),text:r.slice(c),start:0,end:0};return[Y(s,/\u2028+$/,""),Y(l,/^\u2028+/,"")]}function ne(e,t){if(t)return e;const n={};for(const t in e){let r=t;t.startsWith("data-disable-rich-text-")&&(r=t.slice("data-disable-rich-text-".length)),n[r]=e[t]}return n}function re(e){let{type:t,attributes:n,unregisteredAttributes:r,object:o,boundaryClass:i,isEditableTree:c}=e;const s=(l=t,Object(a.select)(g).getFormatType(l));var l;let u={};if(i&&(u["data-rich-text-format-boundary"]="true"),!s)return n&&(u={...n,...u}),{type:t,attributes:ne(u,c),object:o};u={...r,...u};for(const e in n){const t=!!s.attributes&&s.attributes[e];t?u[t]=n[e]:u[e]=n[e]}return s.className&&(u.class?u.class=`${s.className} ${u.class}`:u.class=s.className),{type:s.tagName,object:s.object,attributes:ne(u,c)}}function oe(e,t,n){do{if(e[n]!==t[n])return!1}while(n--);return!0}function ae(e){let{value:t,multilineTag:n,preserveWhiteSpace:r,createEmpty:o,append:a,getLastChild:i,getParent:c,isText:s,getText:l,remove:u,appendText:f,onStartIndex:d,onEndIndex:m,isEditableTree:p,placeholder:g}=e;const{formats:h,replacements:b,text:v,start:y,end:x}=t,E=h.length+1,O=o(),w={type:n},_=N(t),j=_[_.length-1];let C,F,R;n?(a(a(O,{type:n}),""),F=C=[w]):a(O,"");for(let e=0;e<E;e++){const t=v.charAt(e),o=p&&(!R||R===T||"\n"===R);let E=h[e];n&&(E=t===T?C=(b[e]||[]).reduce((e,t)=>(e.push(t,w),e),[w]):[...C,...E||[]]);let _=i(O);if(o&&t===T){let e=_;for(;!s(e);)e=i(e);a(c(e),"\ufeff")}if(R===T){let t=_;for(;!s(t);)t=i(t);d&&y===e&&d(O,t),m&&x===e&&m(O,t)}if(E&&E.forEach((e,n)=>{if(_&&F&&oe(E,F,n)&&(t!==T||E.length-1!==n))return void(_=i(_));const{type:r,attributes:o,unregisteredAttributes:f}=e,d=p&&t!==T&&e===j,m=c(_),g=a(m,re({type:r,attributes:o,unregisteredAttributes:f,boundaryClass:d,isEditableTree:p}));s(_)&&0===l(_).length&&u(_),_=a(g,"")}),t!==T){var L;if(0===e&&(d&&0===y&&d(O,_),m&&0===x&&m(O,_)),""===t)p||"script"!==(null===(L=b[e])||void 0===L?void 0:L.type)?_=a(c(_),re({...b[e],object:!0,isEditableTree:p})):(_=a(c(_),re({type:"script",isEditableTree:p})),a(_,{html:decodeURIComponent(b[e].attributes["data-rich-text-script"])})),_=a(c(_),"");else r||"\n"!==t?s(_)?f(_,t):_=a(c(_),t):(_=a(c(_),{type:"br",attributes:p?{"data-rich-text-line-break":"true"}:void 0,object:!0}),_=a(c(_),""));d&&y===e+1&&d(O,_),m&&x===e+1&&m(O,_),o&&e===v.length&&(a(c(_),"\ufeff"),g&&0===v.length&&a(c(_),{type:"span",attributes:{"data-rich-text-placeholder":g,contenteditable:"false",style:"pointer-events:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;"}})),F=E,R=t}else F=E,R=t}return O}function ie(e,t,n){const r=e.parentNode;let o=0;for(;e=e.previousSibling;)o++;return n=[o,...n],r!==t&&(n=ie(r,t,n)),n}function ce(e,t){for(t=[...t];e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}function se(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));const{type:n,attributes:r}=t;if(n){t=e.ownerDocument.createElement(n);for(const e in r)t.setAttribute(e,r[e])}return e.appendChild(t)}function le(e,t){e.appendData(t)}function ue(e){let{lastChild:t}=e;return t}function fe(e){let{parentNode:t}=e;return t}function de(e){return e.nodeType===e.TEXT_NODE}function me(e){let{nodeValue:t}=e;return t}function pe(e){return e.parentNode.removeChild(e)}function ge(e){let{value:t,multilineTag:n,prepareEditableTree:r,isEditableTree:o=!0,placeholder:a,doc:i=document}=e,c=[],s=[];r&&(t={...t,formats:r(t)});return{body:ae({value:t,multilineTag:n,createEmpty:()=>x(i,""),append:se,getLastChild:ue,getParent:fe,isText:de,getText:me,remove:pe,appendText:le,onStartIndex(e,t){c=ie(t,e,[t.nodeValue.length])},onEndIndex(e,t){s=ie(t,e,[t.nodeValue.length])},isEditableTree:o,placeholder:a}),selection:{startPath:c,endPath:s}}}function he(e){let{value:t,current:n,multilineTag:r,prepareEditableTree:o,__unstableDomOnly:a,placeholder:i}=e;const{body:c,selection:s}=ge({value:t,multilineTag:r,prepareEditableTree:o,placeholder:i,doc:n.ownerDocument});!function e(t,n){let r,o=0;for(;r=t.firstChild;){const a=n.childNodes[o];if(a)if(a.isEqualNode(r))t.removeChild(r);else if(a.nodeName!==r.nodeName||a.nodeType===a.TEXT_NODE&&a.data!==r.data)n.replaceChild(r,a);else{const n=a.attributes,o=r.attributes;if(n){let e=n.length;for(;e--;){const{name:t}=n[e];r.getAttribute(t)||a.removeAttribute(t)}}if(o)for(let e=0;e<o.length;e++){const{name:t,value:n}=o[e];a.getAttribute(t)!==n&&a.setAttribute(t,n)}e(r,a),t.removeChild(r)}else n.appendChild(r);o++}for(;n.childNodes[o];)n.removeChild(n.childNodes[o])}(c,n),void 0===t.start||a||function(e,t){let{startPath:n,endPath:r}=e;const{node:o,offset:a}=ce(t,n),{node:i,offset:c}=ce(t,r),{ownerDocument:s}=t,{defaultView:l}=s,u=l.getSelection(),f=s.createRange();f.setStart(o,a),f.setEnd(i,c);const{activeElement:d}=s;if(u.rangeCount>0){if(m=f,p=u.getRangeAt(0),m.startContainer===p.startContainer&&m.startOffset===p.startOffset&&m.endContainer===p.endContainer&&m.endOffset===p.endOffset)return;u.removeAllRanges()}var m,p;u.addRange(f),d!==s.activeElement&&d instanceof l.HTMLElement&&d.focus()}(s,n)}var be=n("Vx3V");function ve(e){let{value:t,multilineTag:n,preserveWhiteSpace:r}=e;return Fe(ae({value:t,multilineTag:n,preserveWhiteSpace:r,createEmpty:ye,append:Te,getLastChild:xe,getParent:Oe,isText:we,getText:_e,remove:je,appendText:Ee}).children)}function ye(){return{}}function xe(e){let{children:t}=e;return t&&t[t.length-1]}function Te(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Ee(e,t){e.text+=t}function Oe(e){let{parent:t}=e;return t}function we(e){let{text:t}=e;return"string"==typeof t}function _e(e){let{text:t}=e;return t}function je(e){const t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function Ce(e){let{type:t,attributes:n,object:r,children:o}=e,a="";for(const e in n)Object(be.isValidAttributeName)(e)&&(a+=` ${e}="${Object(be.escapeAttribute)(n[e])}"`);return r?`<${t}${a}>`:`<${t}${a}>${Fe(o)}</${t}>`}function Fe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>void 0!==e.html?e.html:void 0===e.text?Ce(e):Object(be.escapeEditableHTML)(e.text)).join("")}var Re=n("gdqT"),Le=n("l3Sj");function Ae(e,t){return D(e,t.type)?(t.title&&Object(Re.speak)(Object(Le.sprintf)(Object(Le.__)("%s removed."),t.title),"assertive"),q(e,t.type)):(t.title&&Object(Re.speak)(Object(Le.sprintf)(Object(Le.__)("%s applied."),t.title),"assertive"),y(e,t))}function Se(e){const t=Object(a.select)(g).getFormatType(e);if(t)return Object(a.dispatch)(g).removeFormatTypes(e),t;window.console.error(`Format ${e} is not registered.`)}function Ne(e){const t=M(e);if(void 0===t)return!1;const{replacements:n}=e,r=M(e,t),o=n[t]||[],a=n[r]||[];return o.length<=a.length}function De(e){const{replacements:t,start:n}=e;return void 0!==t[M(e,n)]}function ke(e,t){if(!Ne(e))return e;const n=M(e),r=M(e,n),{text:o,replacements:a,end:i}=e,c=a.slice(),s=function(e,t){let{text:n,replacements:r}=e;const o=r[t]||[];let a=t;for(;a-- >=0;){if(n[a]!==T)continue;const e=r[a]||[];if(e.length===o.length+1)return a;if(e.length<=o.length)return}}(e,n);for(let e=n;e<i;e++)if(o[e]===T)if(s){const t=a[s]||[];c[e]=t.concat((c[e]||[]).slice(t.length-1))}else{const n=a[r]||[],o=n[n.length-1]||t;c[e]=n.concat([o],(c[e]||[]).slice(n.length))}return{...e,replacements:c}}function We(e,t){let{text:n,replacements:r}=e;const o=r[t]||[];let a=t;for(;a-- >=0;){if(n[a]!==T)continue;if((r[a]||[]).length===o.length-1)return a}}function Me(e){if(!De(e))return e;const{text:t,replacements:n,start:r,end:o}=e,a=M(e,r),i=n.slice(0),c=n[We(e,a)]||[],s=function(e,t){let{text:n,replacements:r}=e;const o=r[t]||[];let a=t;for(let e=t||0;e<n.length;e++){if(n[e]!==T)continue;if(!((r[e]||[]).length>=o.length))return a;a=e}return a}(e,M(e,o));for(let e=a;e<=s;e++){if(t[e]!==T)continue;const n=i[e]||[];i[e]=c.concat(n.slice(c.length+1)),0===i[e].length&&delete i[e]}return{...e,replacements:i}}function Pe(e,t){const{text:n,replacements:r,start:o,end:a}=e,i=M(e,o),c=r[i]||[],s=r[M(e,a)]||[],l=We(e,i),u=r.slice(),f=c.length-1,d=s.length-1;let m;for(let e=l+1||0;e<n.length;e++)if(n[e]===T){if((u[e]||[]).length<=f)break;u[e]&&(m=!0,u[e]=u[e].map((e,n)=>n<f||n>d?e:t))}return m?{...e,replacements:u}:e}var Ie=n("GRId");function $e(e){let{ref:t,value:n,settings:r={}}=e;const{tagName:o,className:a,name:i}=r,c=i?D(n,i):void 0;return Object(Ie.useMemo)(()=>{if(!t.current)return;const{ownerDocument:{defaultView:e}}=t.current,n=e.getSelection();if(!n.rangeCount)return;const r=n.getRangeAt(0);if(!c)return r;let i=r.startContainer;for(i=i.nextElementSibling||i;i.nodeType!==i.ELEMENT_NODE;)i=i.parentNode;return i.closest(o+(a?"."+a:""))},[c,n.start,n.end,o,a])}var Ve=n("K9lf");function Ke(e){let{record:t}=e;const n=Object(Ie.useRef)(),{activeFormats:r=[]}=t.current;return Object(Ie.useEffect)(()=>{if(!r||!r.length)return;const e=n.current.querySelector("*[data-rich-text-format-boundary]");if(!e)return;const{ownerDocument:t}=e,{defaultView:o}=t,a=`.rich-text:focus *[data-rich-text-format-boundary] {${"background-color: "+o.getComputedStyle(e).color.replace(")",", 0.2)").replace("rgb","rgba")}}`;let i=t.getElementById("rich-text-boundary-style");i||(i=t.createElement("style"),i.id="rich-text-boundary-style",t.head.appendChild(i)),i.innerHTML!==a&&(i.innerHTML=a)},[r]),n}function He(e){const t=Object(Ie.useRef)(e);return t.current=e,Object(Ve.useRefEffect)(e=>{function n(n){const{record:r,multilineTag:o,preserveWhiteSpace:a}=t.current;if($(r.current)||!e.contains(e.ownerDocument.activeElement))return;const i=Q(r.current),c=W(i),s=ve({value:i,multilineTag:o,preserveWhiteSpace:a});n.clipboardData.setData("text/plain",c),n.clipboardData.setData("text/html",s),n.clipboardData.setData("rich-text","true"),n.clipboardData.setData("rich-text-multi-line-tag",o||""),n.preventDefault()}return e.addEventListener("copy",n),()=>{e.removeEventListener("copy",n)}},[])}var Be=n("RxS6");const qe=[];function ze(e){const[,t]=Object(Ie.useReducer)(()=>({})),n=Object(Ie.useRef)(e);return n.current=e,Object(Ve.useRefEffect)(e=>{function r(r){const{keyCode:o,shiftKey:a,altKey:i,metaKey:c,ctrlKey:s}=r;if(a||i||c||s||o!==Be.LEFT&&o!==Be.RIGHT)return;const{record:l,applyRecord:u}=n.current,{text:f,formats:d,start:m,end:p,activeFormats:g=[]}=l.current,h=$(l.current),{ownerDocument:b}=e,{defaultView:v}=b,{direction:y}=v.getComputedStyle(e),x="rtl"===y?Be.RIGHT:Be.LEFT,T=r.keyCode===x;if(h&&0===g.length){if(0===m&&T)return;if(p===f.length&&!T)return}if(!h)return;const E=d[m-1]||qe,O=d[m]||qe,w=T?E:O,_=g.every((e,t)=>e===w[t]);let j=g.length;if(_?j<w.length&&j++:j--,j===g.length)return void(l.current._newActiveFormats=w);r.preventDefault();const C=(_?w:T?O:E).slice(0,j),F={...l.current,activeFormats:C};l.current=F,u(F),t()}return e.addEventListener("keydown",r),()=>{e.removeEventListener("keydown",r)}},[])}function Ue(e){const t=Object(Ie.useRef)(e);return t.current=e,Object(Ve.useRefEffect)(e=>{function n(n){const{keyCode:r,shiftKey:o,altKey:a,metaKey:i,ctrlKey:c}=n,{multilineTag:s,createRecord:l,handleChange:u}=t.current;if(o||a||i||c||r!==Be.SPACE||"li"!==s)return;const f=l();if(!$(f))return;const{text:d,start:m}=f,p=d[m-1];p&&p!==T||(u(ke(f,{type:e.tagName.toLowerCase()})),n.preventDefault())}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}},[])}const Xe=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),Ye=[];function Ge(e){const t=Object(Ie.useRef)(e);return t.current=e,Object(Ve.useRefEffect)(e=>{const{ownerDocument:n}=e,{defaultView:r}=n;let o,a=!1;function i(e){if(a)return;let n;e&&(n=e.inputType);const{record:r,applyRecord:o,createRecord:i,handleChange:c}=t.current;if(n&&(0===n.indexOf("format")||Xe.has(n)))return void o(r.current);const s=i(),{start:l,activeFormats:u=[]}=r.current;c(function(e){let{value:t,start:n,end:r,formats:o}=e;const a=Math.min(n,r),i=Math.max(n,r),c=t.formats[a-1]||[],s=t.formats[i]||[];for(t.activeFormats=o.map((e,t)=>{if(c[t]){if(h(e,c[t]))return c[t]}else if(s[t]&&h(e,s[t]))return s[t];return e});--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}({value:s,start:l,end:s.start,formats:u}))}function c(o){if(n.activeElement!==e)return;const{record:c,applyRecord:s,createRecord:l,isSelected:u,onSelectionChange:f}=t.current;if("selectionchange"!==o.type&&!u)return;if("true"!==e.contentEditable)return;if(a)return;const{start:d,end:m,text:p}=l(),g=c.current;if(p!==g.text)return void i();if(d===g.start&&m===g.end)return void(0===g.text.length&&0===d&&function(e){const t=e.getSelection(),{anchorNode:n,anchorOffset:r}=t;if(n.nodeType!==n.ELEMENT_NODE)return;const o=n.childNodes[r];o&&o.nodeType===o.ELEMENT_NODE&&o.getAttribute("data-rich-text-placeholder")&&t.collapseToStart()}(r));const h={...g,start:d,end:m,activeFormats:g._newActiveFormats,_newActiveFormats:void 0},b=N(h,Ye);h.activeFormats=b,c.current=h,s(h,{domOnly:!0}),f(d,m)}function s(){a=!0,n.removeEventListener("selectionchange",c)}function l(){a=!1,i({inputType:"insertText"}),n.addEventListener("selectionchange",c)}function u(){const{record:e,isSelected:a,onSelectionChange:i,applyRecord:s}=t.current;if(a)s(e.current),i(e.current.start,e.current.end);else{const t=void 0;e.current={...e.current,start:t,end:t,activeFormats:Ye},i(t,t)}o=r.requestAnimationFrame(c),n.addEventListener("selectionchange",c)}function f(){n.removeEventListener("selectionchange",c)}return e.addEventListener("input",i),e.addEventListener("compositionstart",s),e.addEventListener("compositionend",l),e.addEventListener("focus",u),e.addEventListener("blur",f),e.addEventListener("keyup",c),e.addEventListener("mouseup",c),e.addEventListener("touchend",c),()=>{e.removeEventListener("input",i),e.removeEventListener("compositionstart",s),e.removeEventListener("compositionend",l),e.removeEventListener("focus",u),e.removeEventListener("blur",f),e.removeEventListener("keyup",c),e.removeEventListener("mouseup",c),e.removeEventListener("touchend",c),n.removeEventListener("selectionchange",c),r.cancelAnimationFrame(o)}},[])}function Ze(e){const t=Object(Ie.useRef)(e);return t.current=e,Object(Ve.useRefEffect)(e=>{function n(e){const{keyCode:n}=e,{createRecord:r,handleChange:o,multilineTag:a}=t.current;if(e.defaultPrevented)return;if(n!==Be.DELETE&&n!==Be.BACKSPACE)return;const i=r(),{start:c,end:s,text:l}=i,u=n===Be.BACKSPACE;if(0===c&&0!==s&&s===l.length)return o(X(i)),void e.preventDefault();if(a){let t;t=u&&0===i.start&&0===i.end&&K(i)?Z(i,!u):Z(i,u),t&&(o(t),e.preventDefault())}}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}},[])}function Je(e){let{value:t="",selectionStart:n,selectionEnd:r,placeholder:o,preserveWhiteSpace:i,onSelectionChange:c,onChange:s,__unstableMultilineTag:l,__unstableDisableFormats:u,__unstableIsSelected:f,__unstableDependencies:d=[],__unstableAfterParse:m,__unstableBeforeSerialize:p,__unstableAddInvisibleFormats:g}=e;const h=Object(a.useRegistry)(),[,b]=Object(Ie.useReducer)(()=>({})),v=Object(Ie.useRef)();function y(){const{ownerDocument:{defaultView:e}}=v.current,t=e.getSelection(),n=t.rangeCount>0?t.getRangeAt(0):null;return O({element:v.current,range:n,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,__unstableIsEditableTree:!0,preserveWhiteSpace:i})}function x(e){let{domOnly:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};he({value:e,current:v.current,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,prepareEditableTree:g,__unstableDomOnly:t,placeholder:o})}const T=Object(Ie.useRef)(t),E=Object(Ie.useRef)();function w(){T.current=t,E.current=O({html:t,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,preserveWhiteSpace:i}),u&&(E.current.formats=Array(t.length),E.current.replacements=Array(t.length)),m&&(E.current.formats=m(E.current)),E.current.start=n,E.current.end=r}const _=Object(Ie.useRef)(!1);if(E.current)n===E.current.start&&r===E.current.end||(_.current=f,E.current={...E.current,start:n,end:r});else{var j,C,F;w();"core/text-color"===(null===(j=E.current)||void 0===j||null===(C=j.formats[0])||void 0===C||null===(F=C[0])||void 0===F?void 0:F.type)&&function(e){E.current=e,T.current=ve({value:p?{...e,formats:p(e)}:e,multilineTag:l,preserveWhiteSpace:i});const{formats:t,text:n}=e;h.batch(()=>{s(T.current,{__unstableFormats:t,__unstableText:n})}),b()}(E.current)}function R(e){E.current=e,x(e),T.current=u?e.text:ve({value:p?{...e,formats:p(e)}:e,multilineTag:l,preserveWhiteSpace:i});const{start:t,end:n,formats:r,text:o}=e;h.batch(()=>{c(t,n),s(T.current,{__unstableFormats:r,__unstableText:o})}),b()}function L(){w(),x(E.current)}const A=Object(Ie.useRef)(!1);Object(Ie.useLayoutEffect)(()=>{A.current&&t!==T.current&&L()},[t]),Object(Ie.useLayoutEffect)(()=>{_.current&&(L(),_.current=!1)},[_.current]);const S=Object(Ve.useMergeRefs)([v,Object(Ie.useCallback)(e=>{e&&(e.style.whiteSpace="pre-wrap",e.style.minWidth="1px")},[]),Ke({record:E}),He({record:E,multilineTag:l,preserveWhiteSpace:i}),Object(Ve.useRefEffect)(e=>{function t(t){const{target:n}=t;if(n===e||n.textContent)return;const{ownerDocument:r}=n,{defaultView:o}=r,a=r.createRange(),i=o.getSelection();a.selectNode(n),i.removeAllRanges(),i.addRange(a)}return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}},[]),ze({record:E,applyRecord:x}),Ze({createRecord:y,handleChange:R,multilineTag:l}),Ue({multilineTag:l,createRecord:y,handleChange:R}),Ge({record:E,applyRecord:x,createRecord:y,handleChange:R,isSelected:f,onSelectionChange:c}),Object(Ve.useRefEffect)(e=>{function t(e){if(e.defaultPrevented)return;const{keyCode:t,altKey:n,metaKey:r,ctrlKey:o,key:a}=e;t!==Be.SPACE||n||r||o||" "===a&&(e.target.ownerDocument.execCommand("insertText",!1," "),e.preventDefault())}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}},[]),Object(Ve.useRefEffect)(()=>{L(),A.current=!0},[o,...d])]);return{value:E.current,onChange:R,ref:S}}function Qe(){}function et(e){let{formatTypes:t,onChange:n,onFocus:r,value:o,forwardedRef:a}=e;return t.map(e=>{const{name:t,edit:i}=e;if(!i)return null;const c=D(o,t),s=void 0!==c,l=k(o),u=void 0!==l&&l.type===t;return Object(Ie.createElement)(i,{key:t,isActive:s,activeAttributes:s&&c.attributes||{},isObjectActive:u,activeObjectAttributes:u&&l.attributes||{},value:o,onChange:n,onFocus:r,contentRef:a})})}}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{__UNSTABLE_LINE_SEPARATOR:function(){return _},__experimentalRichText:function(){return at},__unstableCanIndentListItems:function(){return je},__unstableCanOutdentListItems:function(){return Ie},__unstableChangeListType:function(){return He},__unstableCreateElement:function(){return w},__unstableFormatEdit:function(){return ot},__unstableIndentListItems:function(){return Pe},__unstableInsertLineSeparator:function(){return ee},__unstableIsActiveListType:function(){return H},__unstableIsEmptyLine:function(){return U},__unstableIsListRootSelected:function(){return K},__unstableOutdentListItems:function(){return Ke},__unstableRemoveLineSeparator:function(){return te},__unstableToDom:function(){return be},__unstableUseRichText:function(){return rt},applyFormat:function(){return x},concat:function(){return M},create:function(){return L},getActiveFormat:function(){return j},getActiveObject:function(){return I},getTextContent:function(){return P},insert:function(){return Z},insertObject:function(){return ne},isCollapsed:function(){return B},isEmpty:function(){return z},join:function(){return q},registerFormatType:function(){return X},remove:function(){return J},removeFormat:function(){return Y},replace:function(){return Q},slice:function(){return re},split:function(){return ae},store:function(){return y},toHTMLString:function(){return we},toggleFormat:function(){return Me},unregisterFormatType:function(){return $e},useAnchorRef:function(){return ze}});var n={};e.r(n),e.d(n,{getFormatType:function(){return m},getFormatTypeForBareElement:function(){return p},getFormatTypeForClassName:function(){return g},getFormatTypes:function(){return d}});var r={};e.r(r),e.d(r,{addFormatTypes:function(){return h},removeFormatTypes:function(){return v}});var a=window.wp.data,o=window.lodash;var i,s,c=(0,a.combineReducers)({formatTypes:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return{...e,...(0,o.keyBy)(t.formatTypes,"name")};case"REMOVE_FORMAT_TYPES":return(0,o.omit)(e,t.names)}return e}});function l(e){return[e]}function u(){var e={clear:function(){e.head=null}};return e}function f(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}i={},s="undefined"!=typeof WeakMap;const d=function(e,t){var n,r;function a(){n=s?new WeakMap:u()}function o(){var n,a,o,i,s,c=arguments.length;for(i=new Array(c),o=0;o<c;o++)i[o]=arguments[o];for(s=t.apply(null,i),(n=r(s)).isUniqueByDependants||(n.lastDependants&&!f(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),a=n.head;a;){if(f(a.args,i,1))return a!==n.head&&(a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=n.head,a.prev=null,n.head.prev=a,n.head=a),a.val;a=a.next}return a={val:e.apply(null,i)},i[0]=null,a.args=i,n.head&&(n.head.prev=a,a.next=n.head),n.head=a,a.val}return t||(t=l),r=s?function(e){var t,r,a,o,s,c=n,l=!0;for(t=0;t<e.length;t++){if(r=e[t],!(s=r)||"object"!=typeof s){l=!1;break}c.has(r)?c=c.get(r):(a=new WeakMap,c.set(r,a),c=a)}return c.has(i)||((o=u()).isUniqueByDependants=l,c.set(i,o)),c.get(i)}:function(){return n},o.getDependants=t,o.clear=a,a(),o}((e=>Object.values(e.formatTypes)),(e=>[e.formatTypes]));function m(e,t){return e.formatTypes[t]}function p(e,t){return(0,o.find)(d(e),(e=>{let{className:n,tagName:r}=e;return null===n&&t===r}))}function g(e,t){return(0,o.find)(d(e),(e=>{let{className:n}=e;return null!==n&&` ${t} `.indexOf(` ${n} `)>=0}))}function h(e){return{type:"ADD_FORMAT_TYPES",formatTypes:(0,o.castArray)(e)}}function v(e){return{type:"REMOVE_FORMAT_TYPES",names:(0,o.castArray)(e)}}const y=(0,a.createReduxStore)("core/rich-text",{reducer:c,selectors:n,actions:r});function b(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;const n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;const a=Object.keys(n),o=Object.keys(r);if(a.length!==o.length)return!1;const i=a.length;for(let e=0;e<i;e++){const t=a[e];if(n[t]!==r[t])return!1}return!0}function T(e){const t=e.formats.slice();return t.forEach(((e,n)=>{const r=t[n-1];if(r){const a=e.slice();a.forEach(((e,t)=>{const n=r[t];b(e,n)&&(a[t]=n)})),t[n]=a}})),{...e,formats:t}}function E(e,t,n){return(e=e.slice())[t]=n,e}function x(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end;const{formats:a,activeFormats:i}=e,s=a.slice();if(n===r){const e=(0,o.find)(s[n],{type:t.type});if(e){const a=s[n].indexOf(e);for(;s[n]&&s[n][a]===e;)s[n]=E(s[n],a,t),n--;for(r++;s[r]&&s[r][a]===e;)s[r]=E(s[r],a,t),r++}}else{let e=1/0;for(let a=n;a<r;a++)if(s[a]){s[a]=s[a].filter((e=>{let{type:n}=e;return n!==t.type}));const n=s[a].length;n<e&&(e=n)}else s[a]=[],e=0;for(let a=n;a<r;a++)s[a].splice(e,0,t)}return T({...e,formats:s,activeFormats:[...(0,o.reject)(i,{type:t.type}),t]})}function w(e,t){let{implementation:n}=e;return w.body||(w.body=n.createHTMLDocument("").body),w.body.innerHTML=t,w.body}(0,a.register)(y);const _="\u2028",C="";function F(e){let t,{type:n,attributes:r}=e;if(r&&r.class&&(t=(0,a.select)(y).getFormatTypeForClassName(r.class),t&&(r.class=` ${r.class} `.replace(` ${t.className} `," ").trim(),r.class||delete r.class)),t||(t=(0,a.select)(y).getFormatTypeForBareElement(n)),!t)return r?{type:n,attributes:r}:{type:n};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{type:t.name};const o={},i={},s={...r};for(const e in t.attributes){const n=t.attributes[e];o[e]=s[n],t.__unstableFilterAttributeValue&&(o[e]=t.__unstableFilterAttributeValue(e,o[e])),delete s[n],void 0===o[e]&&delete o[e]}for(const e in s)i[e]=r[e];return{type:t.name,attributes:o,unregisteredAttributes:i}}function L(){let{element:e,text:t,html:n,range:r,multilineTag:a,multilineWrapperTags:o,__unstableIsEditableTree:i,preserveWhiteSpace:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"string"==typeof t&&t.length>0?{formats:Array(t.length),replacements:Array(t.length),text:t}:("string"==typeof n&&n.length>0&&(e=w(document,n)),"object"!=typeof e?{formats:[],replacements:[],text:""}:a?D({element:e,range:r,multilineTag:a,multilineWrapperTags:o,isEditableTree:i,preserveWhiteSpace:s}):O({element:e,range:r,isEditableTree:i,preserveWhiteSpace:s}))}function R(e,t,n,r){if(!n)return;const{parentNode:a}=t,{startContainer:o,startOffset:i,endContainer:s,endOffset:c}=n,l=e.text.length;void 0!==r.start?e.start=l+r.start:t===o&&t.nodeType===t.TEXT_NODE?e.start=l+i:a===o&&t===o.childNodes[i]?e.start=l:a===o&&t===o.childNodes[i-1]?e.start=l+r.text.length:t===o&&(e.start=l),void 0!==r.end?e.end=l+r.end:t===s&&t.nodeType===t.TEXT_NODE?e.end=l+c:a===s&&t===s.childNodes[c-1]?e.end=l+r.text.length:a===s&&t===s.childNodes[c]?e.end=l:t===s&&(e.end=l+c)}function A(e,t,n){if(!t)return;const{startContainer:r,endContainer:a}=t;let{startOffset:o,endOffset:i}=t;return e===r&&(o=n(e.nodeValue.slice(0,o)).length),e===a&&(i=n(e.nodeValue.slice(0,i)).length),{startContainer:r,startOffset:o,endContainer:a,endOffset:i}}function N(e){return e.replace(/[\n\r\t]+/g," ")}function S(e){return e.replace(new RegExp("[\ufeff]","gu"),"")}function O(e){let{element:t,range:n,multilineTag:r,multilineWrapperTags:a,currentWrapperTags:o=[],isEditableTree:i,preserveWhiteSpace:s}=e;const c={formats:[],replacements:[],text:""};if(!t)return c;if(!t.hasChildNodes())return R(c,t,n,{formats:[],replacements:[],text:""}),c;const l=t.childNodes.length;for(let u=0;u<l;u++){const f=t.childNodes[u],d=f.nodeName.toLowerCase();if(f.nodeType===f.TEXT_NODE){let g=S;s||(g=e=>S(N(e)));const h=g(f.nodeValue);n=A(f,n,g),R(c,f,n,{text:h}),c.formats.length+=h.length,c.replacements.length+=h.length,c.text+=h;continue}if(f.nodeType!==f.ELEMENT_NODE)continue;if(i&&(f.getAttribute("data-rich-text-placeholder")||"br"===d&&!f.getAttribute("data-rich-text-line-break"))){R(c,f,n,{formats:[],replacements:[],text:""});continue}if("script"===d){const v={formats:[,],replacements:[{type:d,attributes:{"data-rich-text-script":f.getAttribute("data-rich-text-script")||encodeURIComponent(f.innerHTML)}}],text:C};R(c,f,n,v),W(c,v);continue}if("br"===d){R(c,f,n,{formats:[],replacements:[],text:""}),W(c,L({text:"\n"}));continue}const m=F({type:d,attributes:k({element:f})});if(a&&-1!==a.indexOf(d)){const y=D({element:f,range:n,multilineTag:r,multilineWrapperTags:a,currentWrapperTags:[...o,m],isEditableTree:i,preserveWhiteSpace:s});R(c,f,n,y),W(c,y);continue}const p=O({element:f,range:n,multilineTag:r,multilineWrapperTags:a,isEditableTree:i,preserveWhiteSpace:s});if(R(c,f,n,p),m)if(0===p.text.length)m.attributes&&W(c,{formats:[,],replacements:[m],text:C});else{function b(e){if(b.formats===e)return b.newFormats;const t=e?[m,...e]:[m];return b.formats=e,b.newFormats=t,t}b.newFormats=[m],W(c,{...p,formats:Array.from(p.formats,b)})}else W(c,p)}return c}function D(e){let{element:t,range:n,multilineTag:r,multilineWrapperTags:a,currentWrapperTags:o=[],isEditableTree:i,preserveWhiteSpace:s}=e;const c={formats:[],replacements:[],text:""};if(!t||!t.hasChildNodes())return c;const l=t.children.length;for(let e=0;e<l;e++){const l=t.children[e];if(l.nodeName.toLowerCase()!==r)continue;const u=O({element:l,range:n,multilineTag:r,multilineWrapperTags:a,currentWrapperTags:o,isEditableTree:i,preserveWhiteSpace:s});(0!==e||o.length>0)&&W(c,{formats:[,],replacements:o.length>0?[o]:[,],text:_}),R(c,l,n,u),W(c,u)}return c}function k(e){let{element:t}=e;if(!t.hasAttributes())return;const n=t.attributes.length;let r;for(let e=0;e<n;e++){const{name:n,value:a}=t.attributes[e];if(0===n.indexOf("data-rich-text-"))continue;r=r||{},r[/^on/i.test(n)?"data-disable-rich-text-"+n:n]=a}return r}function W(e,t){return e.formats=e.formats.concat(t.formats),e.replacements=e.replacements.concat(t.replacements),e.text+=t.text,e}function M(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return T(t.reduce(W,L()))}function $(e){let{formats:t,start:n,end:r,activeFormats:a}=e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===n)return o;if(n===r){if(a)return a;const e=t[n-1]||o,r=t[n]||o;return e.length<r.length?e:r}return t[n]||o}function j(e,t){return(0,o.find)($(e),{type:t})}function I(e){let{start:t,end:n,replacements:r,text:a}=e;if(t+1===n&&a[t]===C)return r[t]}function P(e){let{text:t}=e;return t.replace(new RegExp(C,"g"),"").replace(new RegExp(_,"g"),"\n")}function V(e){let{start:t,text:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,a=r;for(;a--;)if(n[a]===_)return a}function K(e){const{replacements:t,start:n}=e,r=t[V(e,n)];return!r||r.length<1}function H(e,t,n){const{replacements:r,start:a}=e,o=r[V(e,a)];if(!o||0===o.length)return t===n;return o[o.length-1].type===t}function B(e){let{start:t,end:n}=e;if(void 0!==t&&void 0!==n)return t===n}function z(e){let{text:t}=e;return 0===t.length}function U(e){let{text:t,start:n,end:r}=e;return n===r&&(0===t.length||(0===n&&t.slice(0,1)===_||(n===t.length&&t.slice(-1)===_||t.slice(n-1,r+1)===`${_}${_}`)))}function q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"string"==typeof t&&(t=L({text:t})),T(e.reduce(((e,n)=>{let{formats:r,replacements:a,text:o}=n;return{formats:e.formats.concat(t.formats,r),replacements:e.replacements.concat(t.replacements,a),text:e.text+t.text+o}})))}function X(e,t){if("string"==typeof(t={name:e,...t}).name)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name))if((0,a.select)(y).getFormatType(t.name))window.console.error('Format "'+t.name+'" is already registered.');else if("string"==typeof t.tagName&&""!==t.tagName)if("string"==typeof t.className&&""!==t.className||null===t.className)if(/^[_a-zA-Z]+[a-zA-Z0-9-]*$/.test(t.className)){if(null===t.className){const e=(0,a.select)(y).getFormatTypeForBareElement(t.tagName);if(e)return void window.console.error(`Format "${e.name}" is already registered to handle bare tag name "${t.tagName}".`)}else{const e=(0,a.select)(y).getFormatTypeForClassName(t.className);if(e)return void window.console.error(`Format "${e.name}" is already registered to handle class name "${t.className}".`)}if("title"in t&&""!==t.title)if("keywords"in t&&t.keywords.length>3)window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');else{if("string"==typeof t.title)return(0,a.dispatch)(y).addFormatTypes(t),t;window.console.error("Format titles must be strings.")}else window.console.error('The format "'+t.name+'" must have a title.')}else window.console.error("A class name must begin with a letter, followed by any number of hyphens, letters, or numbers.");else window.console.error("Format class names must be a string, or null to handle bare elements.");else window.console.error("Format tag names must be a string.");else window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");else window.console.error("Format names must be strings.")}function Y(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end;const{formats:a,activeFormats:i}=e,s=a.slice();if(n===r){const e=(0,o.find)(s[n],{type:t});if(e){for(;(0,o.find)(s[n],e);)G(s,n,t),n--;for(r++;(0,o.find)(s[r],e);)G(s,r,t),r++}}else for(let e=n;e<r;e++)s[e]&&G(s,e,t);return T({...e,formats:s,activeFormats:(0,o.reject)(i,{type:t})})}function G(e,t,n){const r=e[t].filter((e=>{let{type:t}=e;return t!==n}));r.length?e[t]=r:delete e[t]}function Z(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end;const{formats:a,replacements:o,text:i}=e;"string"==typeof t&&(t=L({text:t}));const s=n+t.text.length;return T({formats:a.slice(0,n).concat(t.formats,a.slice(r)),replacements:o.slice(0,n).concat(t.replacements,o.slice(r)),text:i.slice(0,n)+t.text+i.slice(r),start:s,end:s})}function J(e,t,n){return Z(e,L(),t,n)}function Q(e,t,n){let{formats:r,replacements:a,text:o,start:i,end:s}=e;return o=o.replace(t,(function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),c=1;c<t;c++)o[c-1]=arguments[c];const l=o[o.length-2];let u,f,d=n;return"function"==typeof d&&(d=n(e,...o)),"object"==typeof d?(u=d.formats,f=d.replacements,d=d.text):(u=Array(d.length),f=Array(d.length),r[l]&&(u=u.fill(r[l]))),r=r.slice(0,l).concat(u,r.slice(l+e.length)),a=a.slice(0,l).concat(f,a.slice(l+e.length)),i&&(i=s=l+d.length),d})),T({formats:r,replacements:a,text:o,start:i,end:s})}function ee(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end;const r=e.text.slice(0,t),a=r.lastIndexOf(_),o=e.replacements[a];let i=[,];o&&(i=[o]);const s={formats:[,],replacements:i,text:_};return Z(e,s,t,n)}function te(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const{replacements:n,text:r,start:a,end:o}=e,i=B(e);let s,c=a-1,l=i?a-1:a,u=o;if(t||(c=o,l=a,u=i?o+1:o),r[c]===_){if(i&&n[c]&&n[c].length){const t=n.slice();t[c]=n[c].slice(0,-1),s={...e,replacements:t}}else s=J(e,l,u);return s}}function ne(e,t,n,r){return Z(e,{formats:[,],replacements:[t],text:C},n,r)}function re(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end;const{formats:r,replacements:a,text:o}=e;return void 0===t||void 0===n?{...e}:{formats:r.slice(t,n),replacements:a.slice(t,n),text:o.slice(t,n)}}function ae(e,t){let{formats:n,replacements:r,text:a,start:o,end:i}=e;if("string"!=typeof t)return oe(...arguments);let s=0;return a.split(t).map((e=>{const a=s,c={formats:n.slice(a,a+e.length),replacements:r.slice(a,a+e.length),text:e};return s+=t.length+e.length,void 0!==o&&void 0!==i&&(o>=a&&o<s?c.start=o-a:o<a&&i>a&&(c.start=0),i>=a&&i<s?c.end=i-a:o<s&&i>s&&(c.end=e.length)),c}))}function oe(e){let{formats:t,replacements:n,text:r,start:a,end:o}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;if(void 0===a||void 0===o)return;const c={formats:t.slice(0,i),replacements:n.slice(0,i),text:r.slice(0,i)},l={formats:t.slice(s),replacements:n.slice(s),text:r.slice(s),start:0,end:0};return[Q(c,/\u2028+$/,""),Q(l,/^\u2028+/,"")]}function ie(e,t){if(t)return e;const n={};for(const t in e){let r=t;t.startsWith("data-disable-rich-text-")&&(r=t.slice("data-disable-rich-text-".length)),n[r]=e[t]}return n}function se(e){let{type:t,attributes:n,unregisteredAttributes:r,object:o,boundaryClass:i,isEditableTree:s}=e;const c=(l=t,(0,a.select)(y).getFormatType(l));var l;let u={};if(i&&(u["data-rich-text-format-boundary"]="true"),!c)return n&&(u={...n,...u}),{type:t,attributes:ie(u,s),object:o};u={...r,...u};for(const e in n){const t=!!c.attributes&&c.attributes[e];t?u[t]=n[e]:u[e]=n[e]}return c.className&&(u.class?u.class=`${c.className} ${u.class}`:u.class=c.className),{type:c.tagName,object:c.object,attributes:ie(u,s)}}function ce(e,t,n){do{if(e[n]!==t[n])return!1}while(n--);return!0}function le(e){let{value:t,multilineTag:n,preserveWhiteSpace:r,createEmpty:a,append:o,getLastChild:i,getParent:s,isText:c,getText:l,remove:u,appendText:f,onStartIndex:d,onEndIndex:m,isEditableTree:p,placeholder:g}=e;const{formats:h,replacements:v,text:y,start:b,end:T}=t,E=h.length+1,x=a(),w={type:n},F=$(t),L=F[F.length-1];let R,A,N;n?(o(o(x,{type:n}),""),A=R=[w]):o(x,"");for(let e=0;e<E;e++){const t=y.charAt(e),a=p&&(!N||N===_||"\n"===N);let E=h[e];n&&(E=t===_?R=(v[e]||[]).reduce(((e,t)=>(e.push(t,w),e)),[w]):[...R,...E||[]]);let F=i(x);if(a&&t===_){let e=F;for(;!c(e);)e=i(e);o(s(e),"\ufeff")}if(N===_){let t=F;for(;!c(t);)t=i(t);d&&b===e&&d(x,t),m&&T===e&&m(x,t)}if(E&&E.forEach(((e,n)=>{if(F&&A&&ce(E,A,n)&&(t!==_||E.length-1!==n))return void(F=i(F));const{type:r,attributes:a,unregisteredAttributes:f}=e,d=p&&t!==_&&e===L,m=s(F),g=o(m,se({type:r,attributes:a,unregisteredAttributes:f,boundaryClass:d,isEditableTree:p}));c(F)&&0===l(F).length&&u(F),F=o(g,"")})),t!==_){var S;if(0===e&&(d&&0===b&&d(x,F),m&&0===T&&m(x,F)),t===C)p||"script"!==(null===(S=v[e])||void 0===S?void 0:S.type)?F=o(s(F),se({...v[e],object:!0,isEditableTree:p})):(F=o(s(F),se({type:"script",isEditableTree:p})),o(F,{html:decodeURIComponent(v[e].attributes["data-rich-text-script"])})),F=o(s(F),"");else r||"\n"!==t?c(F)?f(F,t):F=o(s(F),t):(F=o(s(F),{type:"br",attributes:p?{"data-rich-text-line-break":"true"}:void 0,object:!0}),F=o(s(F),""));d&&b===e+1&&d(x,F),m&&T===e+1&&m(x,F),a&&e===y.length&&(o(s(F),"\ufeff"),g&&0===y.length&&o(s(F),{type:"span",attributes:{"data-rich-text-placeholder":g,contenteditable:"false",style:"pointer-events:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;"}})),A=E,N=t}else A=E,N=t}return x}function ue(e,t,n){const r=e.parentNode;let a=0;for(;e=e.previousSibling;)a++;return n=[a,...n],r!==t&&(n=ue(r,t,n)),n}function fe(e,t){for(t=[...t];e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}function de(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));const{type:n,attributes:r}=t;if(n){t=e.ownerDocument.createElement(n);for(const e in r)t.setAttribute(e,r[e])}return e.appendChild(t)}function me(e,t){e.appendData(t)}function pe(e){let{lastChild:t}=e;return t}function ge(e){let{parentNode:t}=e;return t}function he(e){return e.nodeType===e.TEXT_NODE}function ve(e){let{nodeValue:t}=e;return t}function ye(e){return e.parentNode.removeChild(e)}function be(e){let{value:t,multilineTag:n,prepareEditableTree:r,isEditableTree:a=!0,placeholder:o,doc:i=document}=e,s=[],c=[];r&&(t={...t,formats:r(t)});return{body:le({value:t,multilineTag:n,createEmpty:()=>w(i,""),append:de,getLastChild:pe,getParent:ge,isText:he,getText:ve,remove:ye,appendText:me,onStartIndex(e,t){s=ue(t,e,[t.nodeValue.length])},onEndIndex(e,t){c=ue(t,e,[t.nodeValue.length])},isEditableTree:a,placeholder:o}),selection:{startPath:s,endPath:c}}}function Te(e){let{value:t,current:n,multilineTag:r,prepareEditableTree:a,__unstableDomOnly:o,placeholder:i}=e;const{body:s,selection:c}=be({value:t,multilineTag:r,prepareEditableTree:a,placeholder:i,doc:n.ownerDocument});Ee(s,n),void 0===t.start||o||function(e,t){let{startPath:n,endPath:r}=e;const{node:a,offset:o}=fe(t,n),{node:i,offset:s}=fe(t,r),{ownerDocument:c}=t,{defaultView:l}=c,u=l.getSelection(),f=c.createRange();f.setStart(a,o),f.setEnd(i,s);const{activeElement:d}=c;if(u.rangeCount>0){if(m=f,p=u.getRangeAt(0),m.startContainer===p.startContainer&&m.startOffset===p.startOffset&&m.endContainer===p.endContainer&&m.endOffset===p.endOffset)return;u.removeAllRanges()}var m,p;u.addRange(f),d!==c.activeElement&&d instanceof l.HTMLElement&&d.focus()}(c,n)}function Ee(e,t){let n,r=0;for(;n=e.firstChild;){const a=t.childNodes[r];if(a)if(a.isEqualNode(n))e.removeChild(n);else if(a.nodeName!==n.nodeName||a.nodeType===a.TEXT_NODE&&a.data!==n.data)t.replaceChild(n,a);else{const t=a.attributes,r=n.attributes;if(t){let e=t.length;for(;e--;){const{name:r}=t[e];n.getAttribute(r)||a.removeAttribute(r)}}if(r)for(let e=0;e<r.length;e++){const{name:t,value:n}=r[e];a.getAttribute(t)!==n&&a.setAttribute(t,n)}Ee(n,a),e.removeChild(n)}else t.appendChild(n);r++}for(;t.childNodes[r];)t.removeChild(t.childNodes[r])}var xe=window.wp.escapeHtml;function we(e){let{value:t,multilineTag:n,preserveWhiteSpace:r}=e;return De(le({value:t,multilineTag:n,preserveWhiteSpace:r,createEmpty:_e,append:Fe,getLastChild:Ce,getParent:Re,isText:Ae,getText:Ne,remove:Se,appendText:Le}).children)}function _e(){return{}}function Ce(e){let{children:t}=e;return t&&t[t.length-1]}function Fe(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Le(e,t){e.text+=t}function Re(e){let{parent:t}=e;return t}function Ae(e){let{text:t}=e;return"string"==typeof t}function Ne(e){let{text:t}=e;return t}function Se(e){const t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function Oe(e){let{type:t,attributes:n,object:r,children:a}=e,o="";for(const e in n)(0,xe.isValidAttributeName)(e)&&(o+=` ${e}="${(0,xe.escapeAttribute)(n[e])}"`);return r?`<${t}${o}>`:`<${t}${o}>${De(a)}</${t}>`}function De(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((e=>void 0!==e.html?e.html:void 0===e.text?Oe(e):(0,xe.escapeEditableHTML)(e.text))).join("")}var ke=window.wp.a11y,We=window.wp.i18n;function Me(e,t){return j(e,t.type)?(t.title&&(0,ke.speak)((0,We.sprintf)((0,We.__)("%s removed."),t.title),"assertive"),Y(e,t.type)):(t.title&&(0,ke.speak)((0,We.sprintf)((0,We.__)("%s applied."),t.title),"assertive"),x(e,t))}function $e(e){const t=(0,a.select)(y).getFormatType(e);if(t)return(0,a.dispatch)(y).removeFormatTypes(e),t;window.console.error(`Format ${e} is not registered.`)}function je(e){const t=V(e);if(void 0===t)return!1;const{replacements:n}=e,r=V(e,t),a=n[t]||[],o=n[r]||[];return a.length<=o.length}function Ie(e){const{replacements:t,start:n}=e;return void 0!==t[V(e,n)]}function Pe(e,t){if(!je(e))return e;const n=V(e),r=V(e,n),{text:a,replacements:o,end:i}=e,s=o.slice(),c=function(e,t){let{text:n,replacements:r}=e;const a=r[t]||[];let o=t;for(;o-- >=0;){if(n[o]!==_)continue;const e=r[o]||[];if(e.length===a.length+1)return o;if(e.length<=a.length)return}}(e,n);for(let e=n;e<i;e++)if(a[e]===_)if(c){const t=o[c]||[];s[e]=t.concat((s[e]||[]).slice(t.length-1))}else{const n=o[r]||[],a=n[n.length-1]||t;s[e]=n.concat([a],(s[e]||[]).slice(n.length))}return{...e,replacements:s}}function Ve(e,t){let{text:n,replacements:r}=e;const a=r[t]||[];let o=t;for(;o-- >=0;){if(n[o]!==_)continue;if((r[o]||[]).length===a.length-1)return o}}function Ke(e){if(!Ie(e))return e;const{text:t,replacements:n,start:r,end:a}=e,o=V(e,r),i=n.slice(0),s=n[Ve(e,o)]||[],c=function(e,t){let{text:n,replacements:r}=e;const a=r[t]||[];let o=t;for(let e=t||0;e<n.length;e++)if(n[e]===_){if(!((r[e]||[]).length>=a.length))return o;o=e}return o}(e,V(e,a));for(let e=o;e<=c;e++){if(t[e]!==_)continue;const n=i[e]||[];i[e]=s.concat(n.slice(s.length+1)),0===i[e].length&&delete i[e]}return{...e,replacements:i}}function He(e,t){const{text:n,replacements:r,start:a,end:o}=e,i=V(e,a),s=r[i]||[],c=r[V(e,o)]||[],l=Ve(e,i),u=r.slice(),f=s.length-1,d=c.length-1;let m;for(let e=l+1||0;e<n.length;e++)if(n[e]===_){if((u[e]||[]).length<=f)break;u[e]&&(m=!0,u[e]=u[e].map(((e,n)=>n<f||n>d?e:t)))}return m?{...e,replacements:u}:e}var Be=window.wp.element;function ze(e){let{ref:t,value:n,settings:r={}}=e;const{tagName:a,className:o,name:i}=r,s=i?j(n,i):void 0;return(0,Be.useMemo)((()=>{if(!t.current)return;const{ownerDocument:{defaultView:e}}=t.current,n=e.getSelection();if(!n.rangeCount)return;const r=n.getRangeAt(0);if(!s)return r;let i=r.startContainer;for(i=i.nextElementSibling||i;i.nodeType!==i.ELEMENT_NODE;)i=i.parentNode;return i.closest(a+(o?"."+o:""))}),[s,n.start,n.end,a,o])}var Ue=window.wp.compose;function qe(e){let{record:t}=e;const n=(0,Be.useRef)(),{activeFormats:r=[]}=t.current;return(0,Be.useEffect)((()=>{if(!r||!r.length)return;const e="*[data-rich-text-format-boundary]",t=n.current.querySelector(e);if(!t)return;const{ownerDocument:a}=t,{defaultView:o}=a,i=`${`.rich-text:focus ${e}`} {${`background-color: ${o.getComputedStyle(t).color.replace(")",", 0.2)").replace("rgb","rgba")}`}}`,s="rich-text-boundary-style";let c=a.getElementById(s);c||(c=a.createElement("style"),c.id=s,a.head.appendChild(c)),c.innerHTML!==i&&(c.innerHTML=i)}),[r]),n}function Xe(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{function n(n){const{record:r,multilineTag:a,preserveWhiteSpace:o}=t.current;if(B(r.current)||!e.contains(e.ownerDocument.activeElement))return;const i=re(r.current),s=P(i),c=we({value:i,multilineTag:a,preserveWhiteSpace:o});n.clipboardData.setData("text/plain",s),n.clipboardData.setData("text/html",c),n.clipboardData.setData("rich-text","true"),n.clipboardData.setData("rich-text-multi-line-tag",a||""),n.preventDefault()}return e.addEventListener("copy",n),()=>{e.removeEventListener("copy",n)}}),[])}var Ye=window.wp.keycodes;const Ge=[];function Ze(e){const[,t]=(0,Be.useReducer)((()=>({}))),n=(0,Be.useRef)(e);return n.current=e,(0,Ue.useRefEffect)((e=>{function r(r){const{keyCode:a,shiftKey:o,altKey:i,metaKey:s,ctrlKey:c}=r;if(o||i||s||c||a!==Ye.LEFT&&a!==Ye.RIGHT)return;const{record:l,applyRecord:u}=n.current,{text:f,formats:d,start:m,end:p,activeFormats:g=[]}=l.current,h=B(l.current),{ownerDocument:v}=e,{defaultView:y}=v,{direction:b}=y.getComputedStyle(e),T="rtl"===b?Ye.RIGHT:Ye.LEFT,E=r.keyCode===T;if(h&&0===g.length){if(0===m&&E)return;if(p===f.length&&!E)return}if(!h)return;const x=d[m-1]||Ge,w=d[m]||Ge,_=E?x:w,C=g.every(((e,t)=>e===_[t]));let F=g.length;if(C?F<_.length&&F++:F--,F===g.length)return void(l.current._newActiveFormats=_);r.preventDefault();const L=(C?_:E?w:x).slice(0,F),R={...l.current,activeFormats:L};l.current=R,u(R),t()}return e.addEventListener("keydown",r),()=>{e.removeEventListener("keydown",r)}}),[])}function Je(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{function n(n){const{keyCode:r,shiftKey:a,altKey:o,metaKey:i,ctrlKey:s}=n,{multilineTag:c,createRecord:l,handleChange:u}=t.current;if(a||o||i||s||r!==Ye.SPACE||"li"!==c)return;const f=l();if(!B(f))return;const{text:d,start:m}=f,p=d[m-1];p&&p!==_||(u(Pe(f,{type:e.tagName.toLowerCase()})),n.preventDefault())}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}}),[])}const Qe=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),et=[];function tt(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{const{ownerDocument:n}=e,{defaultView:r}=n;let a,o=!1;function i(e){if(o)return;let n;e&&(n=e.inputType);const{record:r,applyRecord:a,createRecord:i,handleChange:s}=t.current;if(n&&(0===n.indexOf("format")||Qe.has(n)))return void a(r.current);const c=i(),{start:l,activeFormats:u=[]}=r.current,f=function(e){let{value:t,start:n,end:r,formats:a}=e;const o=Math.min(n,r),i=Math.max(n,r),s=t.formats[o-1]||[],c=t.formats[i]||[];for(t.activeFormats=a.map(((e,t)=>{if(s[t]){if(b(e,s[t]))return s[t]}else if(c[t]&&b(e,c[t]))return c[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}({value:c,start:l,end:c.start,formats:u});s(f)}function s(a){if(n.activeElement!==e)return;const{record:s,applyRecord:c,createRecord:l,isSelected:u,onSelectionChange:f}=t.current;if("selectionchange"!==a.type&&!u)return;if("true"!==e.contentEditable)return;if(o)return;const{start:d,end:m,text:p}=l(),g=s.current;if(p!==g.text)return void i();if(d===g.start&&m===g.end)return void(0===g.text.length&&0===d&&function(e){const t=e.getSelection(),{anchorNode:n,anchorOffset:r}=t;if(n.nodeType!==n.ELEMENT_NODE)return;const a=n.childNodes[r];a&&a.nodeType===a.ELEMENT_NODE&&a.getAttribute("data-rich-text-placeholder")&&t.collapseToStart()}(r));const h={...g,start:d,end:m,activeFormats:g._newActiveFormats,_newActiveFormats:void 0},v=$(h,et);h.activeFormats=v,s.current=h,c(h,{domOnly:!0}),f(d,m)}function c(){o=!0,n.removeEventListener("selectionchange",s)}function l(){o=!1,i({inputType:"insertText"}),n.addEventListener("selectionchange",s)}function u(){const{record:e,isSelected:o,onSelectionChange:i,applyRecord:c}=t.current;if(o)c(e.current),i(e.current.start,e.current.end);else{const t=void 0;e.current={...e.current,start:t,end:t,activeFormats:et},i(t,t)}a=r.requestAnimationFrame(s),n.addEventListener("selectionchange",s)}function f(){n.removeEventListener("selectionchange",s)}return e.addEventListener("input",i),e.addEventListener("compositionstart",c),e.addEventListener("compositionend",l),e.addEventListener("focus",u),e.addEventListener("blur",f),e.addEventListener("keyup",s),e.addEventListener("mouseup",s),e.addEventListener("touchend",s),()=>{e.removeEventListener("input",i),e.removeEventListener("compositionstart",c),e.removeEventListener("compositionend",l),e.removeEventListener("focus",u),e.removeEventListener("blur",f),e.removeEventListener("keyup",s),e.removeEventListener("mouseup",s),e.removeEventListener("touchend",s),n.removeEventListener("selectionchange",s),r.cancelAnimationFrame(a)}}),[])}function nt(e){const t=(0,Be.useRef)(e);return t.current=e,(0,Ue.useRefEffect)((e=>{function n(e){const{keyCode:n}=e,{createRecord:r,handleChange:a,multilineTag:o}=t.current;if(e.defaultPrevented)return;if(n!==Ye.DELETE&&n!==Ye.BACKSPACE)return;const i=r(),{start:s,end:c,text:l}=i,u=n===Ye.BACKSPACE;if(0===s&&0!==c&&c===l.length)return a(J(i)),void e.preventDefault();if(o){let t;t=u&&0===i.start&&0===i.end&&U(i)?te(i,!u):te(i,u),t&&(a(t),e.preventDefault())}}return e.addEventListener("keydown",n),()=>{e.removeEventListener("keydown",n)}}),[])}function rt(e){let{value:t="",selectionStart:n,selectionEnd:r,placeholder:o,preserveWhiteSpace:i,onSelectionChange:s,onChange:c,__unstableMultilineTag:l,__unstableDisableFormats:u,__unstableIsSelected:f,__unstableDependencies:d=[],__unstableAfterParse:m,__unstableBeforeSerialize:p,__unstableAddInvisibleFormats:g}=e;const h=(0,a.useRegistry)(),[,v]=(0,Be.useReducer)((()=>({}))),y=(0,Be.useRef)();function b(){const{ownerDocument:{defaultView:e}}=y.current,t=e.getSelection(),n=t.rangeCount>0?t.getRangeAt(0):null;return L({element:y.current,range:n,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,__unstableIsEditableTree:!0,preserveWhiteSpace:i})}function T(e){let{domOnly:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Te({value:e,current:y.current,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,prepareEditableTree:g,__unstableDomOnly:t,placeholder:o})}const E=(0,Be.useRef)(t),x=(0,Be.useRef)();function w(){E.current=t,x.current=L({html:t,multilineTag:l,multilineWrapperTags:"li"===l?["ul","ol"]:void 0,preserveWhiteSpace:i}),u&&(x.current.formats=Array(t.length),x.current.replacements=Array(t.length)),m&&(x.current.formats=m(x.current)),x.current.start=n,x.current.end=r}const _=(0,Be.useRef)(!1);if(x.current)n===x.current.start&&r===x.current.end||(_.current=f,x.current={...x.current,start:n,end:r});else{var C,F,R;w();"core/text-color"===(null===(C=x.current)||void 0===C||null===(F=C.formats[0])||void 0===F||null===(R=F[0])||void 0===R?void 0:R.type)&&function(e){x.current=e,E.current=we({value:p?{...e,formats:p(e)}:e,multilineTag:l,preserveWhiteSpace:i});const{formats:t,text:n}=e;h.batch((()=>{c(E.current,{__unstableFormats:t,__unstableText:n})})),v()}(x.current)}function A(e){x.current=e,T(e),E.current=u?e.text:we({value:p?{...e,formats:p(e)}:e,multilineTag:l,preserveWhiteSpace:i});const{start:t,end:n,formats:r,text:a}=e;h.batch((()=>{s(t,n),c(E.current,{__unstableFormats:r,__unstableText:a})})),v()}function N(){w(),T(x.current)}const S=(0,Be.useRef)(!1);(0,Be.useLayoutEffect)((()=>{S.current&&t!==E.current&&N()}),[t]),(0,Be.useLayoutEffect)((()=>{_.current&&(N(),_.current=!1)}),[_.current]);const O=(0,Ue.useMergeRefs)([y,(0,Be.useCallback)((e=>{e&&(e.style.whiteSpace="pre-wrap",e.style.minWidth="1px")}),[]),qe({record:x}),Xe({record:x,multilineTag:l,preserveWhiteSpace:i}),(0,Ue.useRefEffect)((e=>{function t(t){const{target:n}=t;if(n===e||n.textContent)return;const{ownerDocument:r}=n,{defaultView:a}=r,o=r.createRange(),i=a.getSelection();o.selectNode(n),i.removeAllRanges(),i.addRange(o)}return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}),[]),Ze({record:x,applyRecord:T}),nt({createRecord:b,handleChange:A,multilineTag:l}),Je({multilineTag:l,createRecord:b,handleChange:A}),tt({record:x,applyRecord:T,createRecord:b,handleChange:A,isSelected:f,onSelectionChange:s}),(0,Ue.useRefEffect)((e=>{function t(e){if(e.defaultPrevented)return;const{keyCode:t,altKey:n,metaKey:r,ctrlKey:a,key:o}=e;t!==Ye.SPACE||n||r||a||" "===o&&(e.target.ownerDocument.execCommand("insertText",!1," "),e.preventDefault())}return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[]),(0,Ue.useRefEffect)((()=>{N(),S.current=!0}),[o,...d])]);return{value:x.current,onChange:A,ref:O}}function at(){}function ot(e){let{formatTypes:t,onChange:n,onFocus:r,value:a,forwardedRef:o}=e;return t.map((e=>{const{name:t,edit:i}=e;if(!i)return null;const s=j(a,t),c=void 0!==s,l=I(a),u=void 0!==l&&l.type===t;return(0,Be.createElement)(i,{key:t,isActive:c,activeAttributes:c&&s.attributes||{},isObjectActive:u,activeObjectAttributes:u&&l.attributes||{},value:a,onChange:n,onFocus:r,contentRef:o})}))}(window.wp=window.wp||{}).richText=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/server-side-render.js b/wp-includes/js/dist/server-side-render.js
index 69332136ca..43bcba7e2f 100644
--- a/wp-includes/js/dist/server-side-render.js
+++ b/wp-includes/js/dist/server-side-render.js
@@ -1,142 +1,87 @@
-this["wp"] = this["wp"] || {}; this["wp"]["serverSideRender"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "4dqW");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "4dqW":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
-
-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+var __webpack_exports__ = {};

-// EXTERNAL MODULE: external ["wp","deprecated"]
-var external_wp_deprecated_ = __webpack_require__("NMb1");
-var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_);
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "default": function() { return /* binding */ build_module; }
+});

-// EXTERNAL MODULE: external ["wp","url"]
-var external_wp_url_ = __webpack_require__("Mmq9");
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
+    return target;
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/server-side-render/build-module/server-side-render.js
+  return _extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external ["wp","deprecated"]
+var external_wp_deprecated_namespaceObject = window["wp"]["deprecated"];
+var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject);
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: external ["wp","url"]
+var external_wp_url_namespaceObject = window["wp"]["url"];
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/server-side-render/build-module/server-side-render.js



@@ -158,7 +103,7 @@ var external_wp_blocks_ = __webpack_require__("HSyU");
 function rendererPath(block) {
   let attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
   let urlQueryArgs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
-  return Object(external_wp_url_["addQueryArgs"])(`/wp/v2/block-renderer/${block}`, {
+  return (0,external_wp_url_namespaceObject.addQueryArgs)(`/wp/v2/block-renderer/${block}`, {
     context: 'edit',
     ...(null !== attributes ? {
       attributes
@@ -171,9 +116,9 @@ function DefaultEmptyResponsePlaceholder(_ref) {
   let {
     className
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
     className: className
-  }, Object(external_wp_i18n_["__"])('Block rendered as empty.'));
+  }, (0,external_wp_i18n_namespaceObject.__)('Block rendered as empty.'));
 }

 function DefaultErrorResponsePlaceholder(_ref2) {
@@ -181,9 +126,9 @@ function DefaultErrorResponsePlaceholder(_ref2) {
     response,
     className
   } = _ref2;
-  const errorMessage = Object(external_wp_i18n_["sprintf"])( // translators: %s: error message describing the problem
-  Object(external_wp_i18n_["__"])('Error loading block: %s'), response.errorMsg);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+  const errorMessage = (0,external_wp_i18n_namespaceObject.sprintf)( // translators: %s: error message describing the problem
+  (0,external_wp_i18n_namespaceObject.__)('Error loading block: %s'), response.errorMsg);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
     className: className
   }, errorMessage);
 }
@@ -193,11 +138,11 @@ function DefaultLoadingResponsePlaceholder(_ref3) {
     children,
     showLoader
   } = _ref3;
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     style: {
       position: 'relative'
     }
-  }, showLoader && Object(external_wp_element_["createElement"])("div", {
+  }, showLoader && (0,external_wp_element_namespaceObject.createElement)("div", {
     style: {
       position: 'absolute',
       top: '50%',
@@ -205,7 +150,7 @@ function DefaultLoadingResponsePlaceholder(_ref3) {
       marginTop: '-9px',
       marginLeft: '-9px'
     }
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)), Object(external_wp_element_["createElement"])("div", {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null)), (0,external_wp_element_namespaceObject.createElement)("div", {
     style: {
       opacity: showLoader ? '0.3' : 1
     }
@@ -223,12 +168,12 @@ function ServerSideRender(props) {
     ErrorResponsePlaceholder = DefaultErrorResponsePlaceholder,
     LoadingResponsePlaceholder = DefaultLoadingResponsePlaceholder
   } = props;
-  const isMountedRef = Object(external_wp_element_["useRef"])(true);
-  const [showLoader, setShowLoader] = Object(external_wp_element_["useState"])(false);
-  const fetchRequestRef = Object(external_wp_element_["useRef"])();
-  const [response, setResponse] = Object(external_wp_element_["useState"])(null);
-  const prevProps = Object(external_wp_compose_["usePrevious"])(props);
-  const [isLoading, setIsLoading] = Object(external_wp_element_["useState"])(false);
+  const isMountedRef = (0,external_wp_element_namespaceObject.useRef)(true);
+  const [showLoader, setShowLoader] = (0,external_wp_element_namespaceObject.useState)(false);
+  const fetchRequestRef = (0,external_wp_element_namespaceObject.useRef)();
+  const [response, setResponse] = (0,external_wp_element_namespaceObject.useState)(null);
+  const prevProps = (0,external_wp_compose_namespaceObject.usePrevious)(props);
+  const [isLoading, setIsLoading] = (0,external_wp_element_namespaceObject.useState)(false);

   function fetchData() {
     if (!isMountedRef.current) {
@@ -237,7 +182,7 @@ function ServerSideRender(props) {

     setIsLoading(true);

-    const sanitizedAttributes = attributes && Object(external_wp_blocks_["__experimentalSanitizeBlockAttributes"])(block, attributes); // If httpMethod is 'POST', send the attributes in the request body instead of the URL.
+    const sanitizedAttributes = attributes && (0,external_wp_blocks_namespaceObject.__experimentalSanitizeBlockAttributes)(block, attributes); // If httpMethod is 'POST', send the attributes in the request body instead of the URL.
     // This allows sending a larger attributes object than in a GET request, where the attributes are in the URL.


@@ -272,18 +217,18 @@ function ServerSideRender(props) {
     return fetchRequest;
   }

-  const debouncedFetchData = Object(external_wp_compose_["useDebounce"])(fetchData, 500); // When the component unmounts, set isMountedRef to false. This will
+  const debouncedFetchData = (0,external_wp_compose_namespaceObject.useDebounce)(fetchData, 500); // When the component unmounts, set isMountedRef to false. This will
   // let the async fetch callbacks know when to stop.

-  Object(external_wp_element_["useEffect"])(() => () => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => () => {
     isMountedRef.current = false;
   }, []);
-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     // Don't debounce the first fetch. This ensures that the first render
     // shows data as soon as possible
     if (prevProps === undefined) {
       fetchData();
-    } else if (!Object(external_lodash_["isEqual"])(prevProps, props)) {
+    } else if (!(0,external_lodash_namespaceObject.isEqual)(prevProps, props)) {
       debouncedFetchData();
     }
   });
@@ -293,7 +238,7 @@ function ServerSideRender(props) {
    * the request takes more than one second.
    */

-  Object(external_wp_element_["useEffect"])(() => {
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (!isLoading) {
       return;
     }
@@ -308,29 +253,29 @@ function ServerSideRender(props) {
   const hasError = response === null || response === void 0 ? void 0 : response.error;

   if (isLoading) {
-    return Object(external_wp_element_["createElement"])(LoadingResponsePlaceholder, Object(esm_extends["a" /* default */])({}, props, {
+    return (0,external_wp_element_namespaceObject.createElement)(LoadingResponsePlaceholder, _extends({}, props, {
       showLoader: showLoader
-    }), hasResponse && Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], {
+    }), hasResponse && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, {
       className: className
     }, response));
   }

   if (hasEmptyResponse || !hasResponse) {
-    return Object(external_wp_element_["createElement"])(EmptyResponsePlaceholder, props);
+    return (0,external_wp_element_namespaceObject.createElement)(EmptyResponsePlaceholder, props);
   }

   if (hasError) {
-    return Object(external_wp_element_["createElement"])(ErrorResponsePlaceholder, Object(esm_extends["a" /* default */])({
+    return (0,external_wp_element_namespaceObject.createElement)(ErrorResponsePlaceholder, _extends({
       response: response
     }, props));
   }

-  return Object(external_wp_element_["createElement"])(external_wp_element_["RawHTML"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.RawHTML, {
     className: className
   }, response);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/server-side-render/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/server-side-render/build-module/index.js



@@ -350,7 +295,7 @@ function ServerSideRender(props) {
  */

 const EMPTY_OBJECT = {};
-const ExportedServerSideRender = Object(external_wp_data_["withSelect"])(select => {
+const ExportedServerSideRender = (0,external_wp_data_namespaceObject.withSelect)(select => {
   // FIXME: @wordpress/server-side-render should not depend on @wordpress/editor.
   // It is used by blocks that can be loaded into a *non-post* block editor.
   // eslint-disable-next-line @wordpress/data-no-store-string-literals
@@ -376,7 +321,7 @@ const ExportedServerSideRender = Object(external_wp_data_["withSelect"])(select
     currentPostId,
     ...props
   } = _ref;
-  const newUrlQueryArgs = Object(external_wp_element_["useMemo"])(() => {
+  const newUrlQueryArgs = (0,external_wp_element_namespaceObject.useMemo)(() => {
     if (!currentPostId) {
       return urlQueryArgs;
     }
@@ -386,114 +331,25 @@ const ExportedServerSideRender = Object(external_wp_data_["withSelect"])(select
       ...urlQueryArgs
     };
   }, [currentPostId, urlQueryArgs]);
-  return Object(external_wp_element_["createElement"])(ServerSideRender, Object(esm_extends["a" /* default */])({
+  return (0,external_wp_element_namespaceObject.createElement)(ServerSideRender, _extends({
     urlQueryArgs: newUrlQueryArgs
   }, props));
 });

 if (window && window.wp && window.wp.components) {
-  window.wp.components.ServerSideRender = Object(external_wp_element_["forwardRef"])((props, ref) => {
+  window.wp.components.ServerSideRender = (0,external_wp_element_namespaceObject.forwardRef)((props, ref) => {
     external_wp_deprecated_default()('wp.components.ServerSideRender', {
       since: '5.3',
       alternative: 'wp.serverSideRender'
     });
-    return Object(external_wp_element_["createElement"])(ExportedServerSideRender, Object(esm_extends["a" /* default */])({}, props, {
+    return (0,external_wp_element_namespaceObject.createElement)(ExportedServerSideRender, _extends({}, props, {
       ref: ref
     }));
   });
 }

-/* harmony default export */ var build_module = __webpack_exports__["default"] = (ExportedServerSideRender);
-
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "HSyU":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blocks"]; }());
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "Mmq9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["url"]; }());
-
-/***/ }),
-
-/***/ "NMb1":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["deprecated"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "tI+e":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["components"]; }());
-
-/***/ }),
-
-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
-
-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
-
-    return target;
-  };
-
-  return _extends.apply(this, arguments);
-}
-
-/***/ }),
-
-/***/ "ywyh":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["apiFetch"]; }());
-
-/***/ })
+/* harmony default export */ var build_module = (ExportedServerSideRender);

-/******/ })["default"];
\ No newline at end of file
+(window.wp = window.wp || {}).serverSideRender = __webpack_exports__["default"];
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/server-side-render.min.js b/wp-includes/js/dist/server-side-render.min.js
index 187445508b..b4abee23e0 100644
--- a/wp-includes/js/dist/server-side-render.min.js
+++ b/wp-includes/js/dist/server-side-render.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.serverSideRender=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="4dqW")}({"1ZqX":function(e,t){e.exports=window.wp.data},"4dqW":function(e,t,r){"use strict";r.r(t);var n=r("wx14"),o=r("GRId"),c=r("1ZqX"),u=r("NMb1"),l=r.n(u),s=r("YLtl"),i=r("K9lf"),a=r("l3Sj"),d=r("ywyh"),p=r.n(d),f=r("Mmq9"),b=r("tI+e"),w=r("HSyU");function O(e){let{className:t}=e;return Object(o.createElement)(b.Placeholder,{className:t},Object(a.__)("Block rendered as empty."))}function j(e){let{response:t,className:r}=e;const n=Object(a.sprintf)(Object(a.__)("Error loading block: %s"),t.errorMsg);return Object(o.createElement)(b.Placeholder,{className:r},n)}function m(e){let{children:t,showLoader:r}=e;return Object(o.createElement)("div",{style:{position:"relative"}},r&&Object(o.createElement)("div",{style:{position:"absolute",top:"50%",left:"50%",marginTop:"-9px",marginLeft:"-9px"}},Object(o.createElement)(b.Spinner,null)),Object(o.createElement)("div",{style:{opacity:r?"0.3":1}},t))}function y(e){const{attributes:t,block:r,className:c,httpMethod:u="GET",urlQueryArgs:l,EmptyResponsePlaceholder:a=O,ErrorResponsePlaceholder:d=j,LoadingResponsePlaceholder:b=m}=e,y=Object(o.useRef)(!0),[h,v]=Object(o.useState)(!1),S=Object(o.useRef)(),[g,E]=Object(o.useState)(null),x=Object(i.usePrevious)(e),[P,M]=Object(o.useState)(!1);function R(){if(!y.current)return;M(!0);const e=t&&Object(w.__experimentalSanitizeBlockAttributes)(r,t),n="POST"===u,o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(f.addQueryArgs)("/wp/v2/block-renderer/"+e,{context:"edit",...null!==t?{attributes:t}:{},...r})}(r,n?null:null!=e?e:null,l),c=n?{attributes:null!=e?e:null}:null,s=S.current=p()({path:o,data:c,method:n?"POST":"GET"}).then(e=>{y.current&&s===S.current&&e&&E(e.rendered)}).catch(e=>{y.current&&s===S.current&&E({error:!0,errorMsg:e.message})}).finally(()=>{y.current&&s===S.current&&M(!1)});return s}const _=Object(i.useDebounce)(R,500);Object(o.useEffect)(()=>()=>{y.current=!1},[]),Object(o.useEffect)(()=>{void 0===x?R():Object(s.isEqual)(x,e)||_()}),Object(o.useEffect)(()=>{if(!P)return;const e=setTimeout(()=>{v(!0)},1e3);return()=>clearTimeout(e)},[P]);const T=!!g,N=""===g,L=null==g?void 0:g.error;return P?Object(o.createElement)(b,Object(n.a)({},e,{showLoader:h}),T&&Object(o.createElement)(o.RawHTML,{className:c},g)):N||!T?Object(o.createElement)(a,e):L?Object(o.createElement)(d,Object(n.a)({response:g},e)):Object(o.createElement)(o.RawHTML,{className:c},g)}const h={},v=Object(c.withSelect)(e=>{const t=e("core/editor");if(t){const e=t.getCurrentPostId();if(e&&"number"==typeof e)return{currentPostId:e}}return h})(e=>{let{urlQueryArgs:t=h,currentPostId:r,...c}=e;const u=Object(o.useMemo)(()=>r?{post_id:r,...t}:t,[r,t]);return Object(o.createElement)(y,Object(n.a)({urlQueryArgs:u},c))});window&&window.wp&&window.wp.components&&(window.wp.components.ServerSideRender=Object(o.forwardRef)((e,t)=>(l()("wp.components.ServerSideRender",{since:"5.3",alternative:"wp.serverSideRender"}),Object(o.createElement)(v,Object(n.a)({},e,{ref:t})))));t.default=v},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},Mmq9:function(e,t){e.exports=window.wp.url},NMb1:function(e,t){e.exports=window.wp.deprecated},YLtl:function(e,t){e.exports=window.lodash},l3Sj:function(e,t){e.exports=window.wp.i18n},"tI+e":function(e,t){e.exports=window.wp.components},wx14:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},ywyh:function(e,t){e.exports=window.wp.apiFetch}}).default;
\ No newline at end of file
+!function(){"use strict";var e={n:function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.d(t,{default:function(){return b}});var n=window.wp.element,o=window.wp.data,l=window.wp.deprecated,c=e.n(l),s=window.lodash,u=window.wp.compose,a=window.wp.i18n,i=window.wp.apiFetch,d=e.n(i),w=window.wp.url,p=window.wp.components,f=window.wp.blocks;function m(e){let{className:t}=e;return(0,n.createElement)(p.Placeholder,{className:t},(0,a.__)("Block rendered as empty."))}function h(e){let{response:t,className:r}=e;const o=(0,a.sprintf)((0,a.__)("Error loading block: %s"),t.errorMsg);return(0,n.createElement)(p.Placeholder,{className:r},o)}function v(e){let{children:t,showLoader:r}=e;return(0,n.createElement)("div",{style:{position:"relative"}},r&&(0,n.createElement)("div",{style:{position:"absolute",top:"50%",left:"50%",marginTop:"-9px",marginLeft:"-9px"}},(0,n.createElement)(p.Spinner,null)),(0,n.createElement)("div",{style:{opacity:r?"0.3":1}},t))}function E(e){const{attributes:t,block:o,className:l,httpMethod:c="GET",urlQueryArgs:a,EmptyResponsePlaceholder:i=m,ErrorResponsePlaceholder:p=h,LoadingResponsePlaceholder:E=v}=e,y=(0,n.useRef)(!0),[g,b]=(0,n.useState)(!1),P=(0,n.useRef)(),[S,R]=(0,n.useState)(null),T=(0,u.usePrevious)(e),[_,O]=(0,n.useState)(!1);function M(){if(!y.current)return;O(!0);const e=t&&(0,f.__experimentalSanitizeBlockAttributes)(o,t),r="POST"===c,n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,w.addQueryArgs)(`/wp/v2/block-renderer/${e}`,{context:"edit",...null!==t?{attributes:t}:{},...r})}(o,r?null:null!=e?e:null,a),l=r?{attributes:null!=e?e:null}:null,s=P.current=d()({path:n,data:l,method:r?"POST":"GET"}).then((e=>{y.current&&s===P.current&&e&&R(e.rendered)})).catch((e=>{y.current&&s===P.current&&R({error:!0,errorMsg:e.message})})).finally((()=>{y.current&&s===P.current&&O(!1)}));return s}const N=(0,u.useDebounce)(M,500);(0,n.useEffect)((()=>()=>{y.current=!1}),[]),(0,n.useEffect)((()=>{void 0===T?M():(0,s.isEqual)(T,e)||N()})),(0,n.useEffect)((()=>{if(!_)return;const e=setTimeout((()=>{b(!0)}),1e3);return()=>clearTimeout(e)}),[_]);const k=!!S,L=""===S,A=null==S?void 0:S.error;return _?(0,n.createElement)(E,r({},e,{showLoader:g}),k&&(0,n.createElement)(n.RawHTML,{className:l},S)):L||!k?(0,n.createElement)(i,e):A?(0,n.createElement)(p,r({response:S},e)):(0,n.createElement)(n.RawHTML,{className:l},S)}const y={},g=(0,o.withSelect)((e=>{const t=e("core/editor");if(t){const e=t.getCurrentPostId();if(e&&"number"==typeof e)return{currentPostId:e}}return y}))((e=>{let{urlQueryArgs:t=y,currentPostId:o,...l}=e;const c=(0,n.useMemo)((()=>o?{post_id:o,...t}:t),[o,t]);return(0,n.createElement)(E,r({urlQueryArgs:c},l))}));window&&window.wp&&window.wp.components&&(window.wp.components.ServerSideRender=(0,n.forwardRef)(((e,t)=>(c()("wp.components.ServerSideRender",{since:"5.3",alternative:"wp.serverSideRender"}),(0,n.createElement)(g,r({},e,{ref:t}))))));var b=g;(window.wp=window.wp||{}).serverSideRender=t.default}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/shortcode.js b/wp-includes/js/dist/shortcode.js
index b11dc85793..b403362a87 100644
--- a/wp-includes/js/dist/shortcode.js
+++ b/wp-includes/js/dist/shortcode.js
@@ -1,107 +1,249 @@
-this["wp"] = this["wp"] || {}; this["wp"]["shortcode"] =
-/******/ (function(modules) { // webpackBootstrap
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({
+
+/***/ 9756:
+/***/ (function(module) {
+
+/**
+ * Memize options object.
+ *
+ * @typedef MemizeOptions
+ *
+ * @property {number} [maxSize] Maximum size of the cache.
+ */
+
+/**
+ * Internal cache entry.
+ *
+ * @typedef MemizeCacheNode
+ *
+ * @property {?MemizeCacheNode|undefined} [prev] Previous node.
+ * @property {?MemizeCacheNode|undefined} [next] Next node.
+ * @property {Array<*>}                   args   Function arguments for cache
+ *                                               entry.
+ * @property {*}                          val    Function result.
+ */
+
+/**
+ * Properties of the enhanced function for controlling cache.
+ *
+ * @typedef MemizeMemoizedFunction
+ *
+ * @property {()=>void} clear Clear the cache.
+ */
+
+/**
+ * Accepts a function to be memoized, and returns a new memoized function, with
+ * optional options.
+ *
+ * @template {Function} F
+ *
+ * @param {F}             fn        Function to memoize.
+ * @param {MemizeOptions} [options] Options object.
+ *
+ * @return {F & MemizeMemoizedFunction} Memoized function.
+ */
+function memize( fn, options ) {
+	var size = 0;
+
+	/** @type {?MemizeCacheNode|undefined} */
+	var head;
+
+	/** @type {?MemizeCacheNode|undefined} */
+	var tail;
+
+	options = options || {};
+
+	function memoized( /* ...args */ ) {
+		var node = head,
+			len = arguments.length,
+			args, i;
+
+		searchCache: while ( node ) {
+			// Perform a shallow equality test to confirm that whether the node
+			// under test is a candidate for the arguments passed. Two arrays
+			// are shallowly equal if their length matches and each entry is
+			// strictly equal between the two sets. Avoid abstracting to a
+			// function which could incur an arguments leaking deoptimization.
+
+			// Check whether node arguments match arguments length
+			if ( node.args.length !== arguments.length ) {
+				node = node.next;
+				continue;
+			}
+
+			// Check whether node arguments match arguments values
+			for ( i = 0; i < len; i++ ) {
+				if ( node.args[ i ] !== arguments[ i ] ) {
+					node = node.next;
+					continue searchCache;
+				}
+			}
+
+			// At this point we can assume we've found a match
+
+			// Surface matched node to head if not already
+			if ( node !== head ) {
+				// As tail, shift to previous. Must only shift if not also
+				// head, since if both head and tail, there is no previous.
+				if ( node === tail ) {
+					tail = node.prev;
+				}
+
+				// Adjust siblings to point to each other. If node was tail,
+				// this also handles new tail's empty `next` assignment.
+				/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
+				if ( node.next ) {
+					node.next.prev = node.prev;
+				}
+
+				node.next = head;
+				node.prev = null;
+				/** @type {MemizeCacheNode} */ ( head ).prev = node;
+				head = node;
+			}
+
+			// Return immediately
+			return node.val;
+		}
+
+		// No cached value found. Continue to insertion phase:
+
+		// Create a copy of arguments (avoid leaking deoptimization)
+		args = new Array( len );
+		for ( i = 0; i < len; i++ ) {
+			args[ i ] = arguments[ i ];
+		}
+
+		node = {
+			args: args,
+
+			// Generate the result from original function
+			val: fn.apply( null, args ),
+		};
+
+		// Don't need to check whether node is already head, since it would
+		// have been returned above already if it was
+
+		// Shift existing head down list
+		if ( head ) {
+			head.prev = node;
+			node.next = head;
+		} else {
+			// If no head, follows that there's no tail (at initial or reset)
+			tail = node;
+		}
+
+		// Trim tail if we're reached max size and are pending cache insertion
+		if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
+			tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
+			/** @type {MemizeCacheNode} */ ( tail ).next = null;
+		} else {
+			size++;
+		}
+
+		head = node;
+
+		return node.val;
+	}
+
+	memoized.clear = function() {
+		head = null;
+		tail = null;
+		size = 0;
+	};
+
+	if ( false ) {}
+
+	// Ignore reason: There's not a clear solution to create an intersection of
+	// the function with additional properties, where the goal is to retain the
+	// function signature of the incoming argument and add control properties
+	// on the return value.
+
+	// @ts-ignore
+	return memoized;
+}
+
+module.exports = memize;
+
+
+/***/ })
+
+/******/ 	});
+/************************************************************************/
 /******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
+/******/ 	var __webpack_module_cache__ = {};
+/******/
 /******/ 	// The require function
 /******/ 	function __webpack_require__(moduleId) {
-/******/
 /******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
 /******/ 		}
 /******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
 /******/ 			exports: {}
 /******/ 		};
-/******/
+/******/
 /******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
 /******/ 		// Return the exports of the module
 /******/ 		return module.exports;
 /******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "/2FX");
-/******/ })
+/******/
 /************************************************************************/
-/******/ ({
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
+"use strict";

-/***/ "/2FX":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "default": function() { return /* binding */ build_module; }
+});

-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "next", function() { return next; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "replace", function() { return replace; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "string", function() { return string; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "regexp", function() { return regexp; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "attrs", function() { return attrs; });
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fromMatch", function() { return fromMatch; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("4eJC");
-/* harmony import */ var memize__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(memize__WEBPACK_IMPORTED_MODULE_1__);
+// UNUSED EXPORTS: attrs, fromMatch, next, regexp, replace, string
+
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+// EXTERNAL MODULE: ./node_modules/memize/index.js
+var memize = __webpack_require__(9756);
+var memize_default = /*#__PURE__*/__webpack_require__.n(memize);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/shortcode/build-module/index.js
 /**
  * External dependencies
  */
@@ -265,7 +407,7 @@ function regexp(tag) {
  * @return {WPShortcodeAttrs} Parsed shortcode attributes.
  */

-const attrs = memize__WEBPACK_IMPORTED_MODULE_1___default()(text => {
+const attrs = memize_default()(text => {
   const named = {};
   const numeric = []; // This regular expression is reused from `shortcode_parse_atts()` in
   // `wp-includes/shortcodes.php`.
@@ -351,8 +493,8 @@ function fromMatch(match) {
  * @return {WPShortcode} Shortcode instance.
  */

-const shortcode = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(function (options) {
-  Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(this, Object(lodash__WEBPACK_IMPORTED_MODULE_0__["pick"])(options || {}, 'tag', 'attrs', 'type', 'content'));
+const shortcode = (0,external_lodash_namespaceObject.extend)(function (options) {
+  (0,external_lodash_namespaceObject.extend)(this, (0,external_lodash_namespaceObject.pick)(options || {}, 'tag', 'attrs', 'type', 'content'));
   const attributes = this.attrs; // Ensure we have a correctly formatted `attrs` object.

   this.attrs = {
@@ -365,12 +507,12 @@ const shortcode = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(function
   } // Parse a string of attributes.


-  if (Object(lodash__WEBPACK_IMPORTED_MODULE_0__["isString"])(attributes)) {
+  if ((0,external_lodash_namespaceObject.isString)(attributes)) {
     this.attrs = attrs(attributes); // Identify a correctly formatted `attrs` object.
-  } else if (Object(lodash__WEBPACK_IMPORTED_MODULE_0__["isEqual"])(Object.keys(attributes), ['named', 'numeric'])) {
+  } else if ((0,external_lodash_namespaceObject.isEqual)(Object.keys(attributes), ['named', 'numeric'])) {
     this.attrs = attributes; // Handle a flat object of attributes.
   } else {
-    Object(lodash__WEBPACK_IMPORTED_MODULE_0__["forEach"])(attributes, (value, key) => {
+    (0,external_lodash_namespaceObject.forEach)(attributes, (value, key) => {
       this.set(key, value);
     });
   }
@@ -382,7 +524,7 @@ const shortcode = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(function
   attrs,
   fromMatch
 });
-Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(shortcode.prototype, {
+(0,external_lodash_namespaceObject.extend)(shortcode.prototype, {
   /**
    * Get a shortcode attribute.
    *
@@ -394,7 +536,7 @@ Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(shortcode.prototype, {
    * @return {string} Attribute value.
    */
   get(attr) {
-    return this.attrs[Object(lodash__WEBPACK_IMPORTED_MODULE_0__["isNumber"])(attr) ? 'numeric' : 'named'][attr];
+    return this.attrs[(0,external_lodash_namespaceObject.isNumber)(attr) ? 'numeric' : 'named'][attr];
   },

   /**
@@ -409,7 +551,7 @@ Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(shortcode.prototype, {
    * @return {WPShortcode} Shortcode instance.
    */
   set(attr, value) {
-    this.attrs[Object(lodash__WEBPACK_IMPORTED_MODULE_0__["isNumber"])(attr) ? 'numeric' : 'named'][attr] = value;
+    this.attrs[(0,external_lodash_namespaceObject.isNumber)(attr) ? 'numeric' : 'named'][attr] = value;
     return this;
   },

@@ -420,14 +562,14 @@ Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(shortcode.prototype, {
    */
   string() {
     let text = '[' + this.tag;
-    Object(lodash__WEBPACK_IMPORTED_MODULE_0__["forEach"])(this.attrs.numeric, value => {
+    (0,external_lodash_namespaceObject.forEach)(this.attrs.numeric, value => {
       if (/\s/.test(value)) {
         text += ' "' + value + '"';
       } else {
         text += ' ' + value;
       }
     });
-    Object(lodash__WEBPACK_IMPORTED_MODULE_0__["forEach"])(this.attrs.named, (value, name) => {
+    (0,external_lodash_namespaceObject.forEach)(this.attrs.named, (value, name) => {
       text += ' ' + name + '="' + value + '"';
     }); // If the tag is marked as `single` or `self-closing`, close the tag and
     // ignore any additional content.
@@ -450,184 +592,9 @@ Object(lodash__WEBPACK_IMPORTED_MODULE_0__["extend"])(shortcode.prototype, {
   }

 });
-/* harmony default export */ __webpack_exports__["default"] = (shortcode);
-
-
-/***/ }),
-
-/***/ "4eJC":
-/***/ (function(module, exports, __webpack_require__) {
-
-/**
- * Memize options object.
- *
- * @typedef MemizeOptions
- *
- * @property {number} [maxSize] Maximum size of the cache.
- */
-
-/**
- * Internal cache entry.
- *
- * @typedef MemizeCacheNode
- *
- * @property {?MemizeCacheNode|undefined} [prev] Previous node.
- * @property {?MemizeCacheNode|undefined} [next] Next node.
- * @property {Array<*>}                   args   Function arguments for cache
- *                                               entry.
- * @property {*}                          val    Function result.
- */
-
-/**
- * Properties of the enhanced function for controlling cache.
- *
- * @typedef MemizeMemoizedFunction
- *
- * @property {()=>void} clear Clear the cache.
- */
-
-/**
- * Accepts a function to be memoized, and returns a new memoized function, with
- * optional options.
- *
- * @template {Function} F
- *
- * @param {F}             fn        Function to memoize.
- * @param {MemizeOptions} [options] Options object.
- *
- * @return {F & MemizeMemoizedFunction} Memoized function.
- */
-function memize( fn, options ) {
-	var size = 0;
-
-	/** @type {?MemizeCacheNode|undefined} */
-	var head;
-
-	/** @type {?MemizeCacheNode|undefined} */
-	var tail;
-
-	options = options || {};
-
-	function memoized( /* ...args */ ) {
-		var node = head,
-			len = arguments.length,
-			args, i;
-
-		searchCache: while ( node ) {
-			// Perform a shallow equality test to confirm that whether the node
-			// under test is a candidate for the arguments passed. Two arrays
-			// are shallowly equal if their length matches and each entry is
-			// strictly equal between the two sets. Avoid abstracting to a
-			// function which could incur an arguments leaking deoptimization.
-
-			// Check whether node arguments match arguments length
-			if ( node.args.length !== arguments.length ) {
-				node = node.next;
-				continue;
-			}
-
-			// Check whether node arguments match arguments values
-			for ( i = 0; i < len; i++ ) {
-				if ( node.args[ i ] !== arguments[ i ] ) {
-					node = node.next;
-					continue searchCache;
-				}
-			}
-
-			// At this point we can assume we've found a match
-
-			// Surface matched node to head if not already
-			if ( node !== head ) {
-				// As tail, shift to previous. Must only shift if not also
-				// head, since if both head and tail, there is no previous.
-				if ( node === tail ) {
-					tail = node.prev;
-				}
-
-				// Adjust siblings to point to each other. If node was tail,
-				// this also handles new tail's empty `next` assignment.
-				/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
-				if ( node.next ) {
-					node.next.prev = node.prev;
-				}
-
-				node.next = head;
-				node.prev = null;
-				/** @type {MemizeCacheNode} */ ( head ).prev = node;
-				head = node;
-			}
-
-			// Return immediately
-			return node.val;
-		}
-
-		// No cached value found. Continue to insertion phase:
-
-		// Create a copy of arguments (avoid leaking deoptimization)
-		args = new Array( len );
-		for ( i = 0; i < len; i++ ) {
-			args[ i ] = arguments[ i ];
-		}
-
-		node = {
-			args: args,
-
-			// Generate the result from original function
-			val: fn.apply( null, args ),
-		};
-
-		// Don't need to check whether node is already head, since it would
-		// have been returned above already if it was
-
-		// Shift existing head down list
-		if ( head ) {
-			head.prev = node;
-			node.next = head;
-		} else {
-			// If no head, follows that there's no tail (at initial or reset)
-			tail = node;
-		}
-
-		// Trim tail if we're reached max size and are pending cache insertion
-		if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
-			tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
-			/** @type {MemizeCacheNode} */ ( tail ).next = null;
-		} else {
-			size++;
-		}
-
-		head = node;
-
-		return node.val;
-	}
-
-	memoized.clear = function() {
-		head = null;
-		tail = null;
-		size = 0;
-	};
-
-	if ( false ) {}
-
-	// Ignore reason: There's not a clear solution to create an intersection of
-	// the function with additional properties, where the goal is to retain the
-	// function signature of the incoming argument and add control properties
-	// on the return value.
-
-	// @ts-ignore
-	return memoized;
-}
-
-module.exports = memize;
-
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ })
+/* harmony default export */ var build_module = (shortcode);

-/******/ })["default"];
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).shortcode = __webpack_exports__["default"];
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/shortcode.min.js b/wp-includes/js/dist/shortcode.min.js
index 8e764619e9..0814d05d00 100644
--- a/wp-includes/js/dist/shortcode.min.js
+++ b/wp-includes/js/dist/shortcode.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.shortcode=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="/2FX")}({"/2FX":function(t,e,n){"use strict";n.r(e),n.d(e,"next",(function(){return s})),n.d(e,"replace",(function(){return i})),n.d(e,"string",(function(){return u})),n.d(e,"regexp",(function(){return c})),n.d(e,"attrs",(function(){return a})),n.d(e,"fromMatch",(function(){return l}));var r=n("YLtl"),o=n("4eJC");function s(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=c(t);r.lastIndex=n;const o=r.exec(e);if(!o)return;if("["===o[1]&&"]"===o[7])return s(t,e,r.lastIndex);const i={index:o.index,content:o[0],shortcode:l(o)};return o[1]&&(i.content=i.content.slice(1),i.index++),o[7]&&(i.content=i.content.slice(0,-1)),i}function i(t,e,n){return e.replace(c(t),(function(t,e,r,o,s,i,u,c){if("["===e&&"]"===c)return t;const a=n(l(arguments));return a||""===a?e+a+c:t}))}function u(t){return new f(t).string()}function c(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}const a=n.n(o)()(t=>{const e={},n=[],r=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;let o;for(t=t.replace(/[\u00a0\u200b]/g," ");o=r.exec(t);)o[1]?e[o[1].toLowerCase()]=o[2]:o[3]?e[o[3].toLowerCase()]=o[4]:o[5]?e[o[5].toLowerCase()]=o[6]:o[7]?n.push(o[7]):o[8]?n.push(o[8]):o[9]&&n.push(o[9]);return{named:e,numeric:n}});function l(t){let e;return e=t[4]?"self-closing":t[6]?"closed":"single",new f({tag:t[2],attrs:t[3],type:e,content:t[5]})}const f=Object(r.extend)((function(t){Object(r.extend)(this,Object(r.pick)(t||{},"tag","attrs","type","content"));const e=this.attrs;this.attrs={named:{},numeric:[]},e&&(Object(r.isString)(e)?this.attrs=a(e):Object(r.isEqual)(Object.keys(e),["named","numeric"])?this.attrs=e:Object(r.forEach)(e,(t,e)=>{this.set(e,t)}))}),{next:s,replace:i,string:u,regexp:c,attrs:a,fromMatch:l});Object(r.extend)(f.prototype,{get(t){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]},set(t,e){return this.attrs[Object(r.isNumber)(t)?"numeric":"named"][t]=e,this},string(){let t="["+this.tag;return Object(r.forEach)(this.attrs.numeric,e=>{/\s/.test(e)?t+=' "'+e+'"':t+=" "+e}),Object(r.forEach)(this.attrs.named,(e,n)=>{t+=" "+n+'="'+e+'"'}),"single"===this.type?t+"]":"self-closing"===this.type?t+" /]":(t+="]",this.content&&(t+=this.content),t+"[/"+this.tag+"]")}}),e.default=f},"4eJC":function(t,e,n){t.exports=function(t,e){var n,r,o=0;function s(){var s,i,u=n,c=arguments.length;t:for(;u;){if(u.args.length===arguments.length){for(i=0;i<c;i++)if(u.args[i]!==arguments[i]){u=u.next;continue t}return u!==n&&(u===r&&(r=u.prev),u.prev.next=u.next,u.next&&(u.next.prev=u.prev),u.next=n,u.prev=null,n.prev=u,n=u),u.val}u=u.next}for(s=new Array(c),i=0;i<c;i++)s[i]=arguments[i];return u={args:s,val:t.apply(null,s)},n?(n.prev=u,u.next=n):r=u,o===e.maxSize?(r=r.prev).next=null:o++,n=u,u.val}return e=e||{},s.clear=function(){n=null,r=null,o=0},s}},YLtl:function(t,e){t.exports=window.lodash}}).default;
\ No newline at end of file
+!function(){var t={9756:function(t){t.exports=function(t,e){var n,r,s=0;function o(){var o,i,u=n,c=arguments.length;t:for(;u;){if(u.args.length===arguments.length){for(i=0;i<c;i++)if(u.args[i]!==arguments[i]){u=u.next;continue t}return u!==n&&(u===r&&(r=u.prev),u.prev.next=u.next,u.next&&(u.next.prev=u.prev),u.next=n,u.prev=null,n.prev=u,n=u),u.val}u=u.next}for(o=new Array(c),i=0;i<c;i++)o[i]=arguments[i];return u={args:o,val:t.apply(null,o)},n?(n.prev=u,u.next=n):r=u,s===e.maxSize?(r=r.prev).next=null:s++,n=u,u.val}return e=e||{},o.clear=function(){n=null,r=null,s=0},o}}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var r={};!function(){"use strict";n.d(r,{default:function(){return c}});var t=window.lodash,e=n(9756);function s(t){return new RegExp("\\[(\\[?)("+t+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}const o=n.n(e)()((t=>{const e={},n=[],r=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;let s;for(t=t.replace(/[\u00a0\u200b]/g," ");s=r.exec(t);)s[1]?e[s[1].toLowerCase()]=s[2]:s[3]?e[s[3].toLowerCase()]=s[4]:s[5]?e[s[5].toLowerCase()]=s[6]:s[7]?n.push(s[7]):s[8]?n.push(s[8]):s[9]&&n.push(s[9]);return{named:e,numeric:n}}));function i(t){let e;return e=t[4]?"self-closing":t[6]?"closed":"single",new u({tag:t[2],attrs:t[3],type:e,content:t[5]})}const u=(0,t.extend)((function(e){(0,t.extend)(this,(0,t.pick)(e||{},"tag","attrs","type","content"));const n=this.attrs;this.attrs={named:{},numeric:[]},n&&((0,t.isString)(n)?this.attrs=o(n):(0,t.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:(0,t.forEach)(n,((t,e)=>{this.set(e,t)})))}),{next:function t(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const o=s(e);o.lastIndex=r;const u=o.exec(n);if(!u)return;if("["===u[1]&&"]"===u[7])return t(e,n,o.lastIndex);const c={index:u.index,content:u[0],shortcode:i(u)};return u[1]&&(c.content=c.content.slice(1),c.index++),u[7]&&(c.content=c.content.slice(0,-1)),c},replace:function(t,e,n){return e.replace(s(t),(function(t,e,r,s,o,u,c,a){if("["===e&&"]"===a)return t;const l=n(i(arguments));return l||""===l?e+l+a:t}))},string:function(t){return new u(t).string()},regexp:s,attrs:o,fromMatch:i});(0,t.extend)(u.prototype,{get(e){return this.attrs[(0,t.isNumber)(e)?"numeric":"named"][e]},set(e,n){return this.attrs[(0,t.isNumber)(e)?"numeric":"named"][e]=n,this},string(){let e="["+this.tag;return(0,t.forEach)(this.attrs.numeric,(t=>{/\s/.test(t)?e+=' "'+t+'"':e+=" "+t})),(0,t.forEach)(this.attrs.named,((t,n)=>{e+=" "+n+'="'+t+'"'})),"single"===this.type?e+"]":"self-closing"===this.type?e+" /]":(e+="]",this.content&&(e+=this.content),e+"[/"+this.tag+"]")}});var c=u}(),(window.wp=window.wp||{}).shortcode=r.default}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/token-list.js b/wp-includes/js/dist/token-list.js
index a6298f1a3c..690592dfdf 100644
--- a/wp-includes/js/dist/token-list.js
+++ b/wp-includes/js/dist/token-list.js
@@ -1,107 +1,37 @@
-this["wp"] = this["wp"] || {}; this["wp"]["tokenList"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "hwXU");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
+var __webpack_exports__ = {};

-/***/ }),
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "default": function() { return /* binding */ TokenList; }
+});

-/***/ "hwXU":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return TokenList; });
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("YLtl");
-/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/token-list/build-module/index.js
 /**
  * External dependencies
  */
@@ -187,7 +117,7 @@ class TokenList {

   set value(value) {
     value = String(value);
-    this._valueAsArray = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["uniq"])(Object(lodash__WEBPACK_IMPORTED_MODULE_0__["compact"])(value.split(/\s+/g)));
+    this._valueAsArray = (0,external_lodash_namespaceObject.uniq)((0,external_lodash_namespaceObject.compact)(value.split(/\s+/g)));
     this._currentValue = this._valueAsArray.join(' ');
   }
   /**
@@ -285,7 +215,7 @@ class TokenList {
       items[_key2] = arguments[_key2];
     }

-    this.value = Object(lodash__WEBPACK_IMPORTED_MODULE_0__["without"])(this._valueAsArray, ...items).join(' ');
+    this.value = (0,external_lodash_namespaceObject.without)(this._valueAsArray, ...items).join(' ');
   }
   /**
    * If `force` is not given, "toggles" `token`, removing it if it’s present
@@ -355,7 +285,6 @@ class TokenList {

 }

-
-/***/ })
-
-/******/ })["default"];
\ No newline at end of file
+(window.wp = window.wp || {}).tokenList = __webpack_exports__["default"];
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/token-list.min.js b/wp-includes/js/dist/token-list.min.js
index e96e96279d..55e46212d7 100644
--- a/wp-includes/js/dist/token-list.min.js
+++ b/wp-includes/js/dist/token-list.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.tokenList=function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.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 u in e)r.d(n,u,function(t){return e[t]}.bind(null,u));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="hwXU")}({YLtl:function(e,t){e.exports=window.lodash},hwXU:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return u}));var n=r("YLtl");class u{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.value=e,this._currentValue,this._valueAsArray}entries(){return this._valueAsArray.entries(...arguments)}forEach(){return this._valueAsArray.forEach(...arguments)}keys(){return this._valueAsArray.keys(...arguments)}values(){return this._valueAsArray.values(...arguments)}get value(){return this._currentValue}set value(e){e=String(e),this._valueAsArray=Object(n.uniq)(Object(n.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}get length(){return this._valueAsArray.length}toString(){return this.value}*[Symbol.iterator](){return yield*this._valueAsArray}item(e){return this._valueAsArray[e]}contains(e){return-1!==this._valueAsArray.indexOf(e)}add(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.value+=" "+t.join(" ")}remove(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this.value=Object(n.without)(this._valueAsArray,...t).join(" ")}toggle(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}replace(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}supports(){return!0}}}}).default;
\ No newline at end of file
+!function(){"use strict";var r={d:function(t,e){for(var a in e)r.o(e,a)&&!r.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},o:function(r,t){return Object.prototype.hasOwnProperty.call(r,t)}},t={};r.d(t,{default:function(){return a}});var e=window.lodash;class a{constructor(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.value=r,this._currentValue,this._valueAsArray}entries(){return this._valueAsArray.entries(...arguments)}forEach(){return this._valueAsArray.forEach(...arguments)}keys(){return this._valueAsArray.keys(...arguments)}values(){return this._valueAsArray.values(...arguments)}get value(){return this._currentValue}set value(r){r=String(r),this._valueAsArray=(0,e.uniq)((0,e.compact)(r.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}get length(){return this._valueAsArray.length}toString(){return this.value}*[Symbol.iterator](){return yield*this._valueAsArray}item(r){return this._valueAsArray[r]}contains(r){return-1!==this._valueAsArray.indexOf(r)}add(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];this.value+=" "+t.join(" ")}remove(){for(var r=arguments.length,t=new Array(r),a=0;a<r;a++)t[a]=arguments[a];this.value=(0,e.without)(this._valueAsArray,...t).join(" ")}toggle(r,t){return void 0===t&&(t=!this.contains(r)),t?this.add(r):this.remove(r),t}replace(r,t){return!!this.contains(r)&&(this.remove(r),this.add(t),!0)}supports(){return!0}}(window.wp=window.wp||{}).tokenList=t.default}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/url.js b/wp-includes/js/dist/url.js
index bdf0f5d82b..0b00fabb31 100644
--- a/wp-includes/js/dist/url.js
+++ b/wp-includes/js/dist/url.js
@@ -1,135 +1,73 @@
-this["wp"] = this["wp"] || {}; this["wp"]["url"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "lbya");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "lbya":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "isURL", function() { return /* reexport */ isURL; });
-__webpack_require__.d(__webpack_exports__, "isEmail", function() { return /* reexport */ isEmail; });
-__webpack_require__.d(__webpack_exports__, "getProtocol", function() { return /* reexport */ getProtocol; });
-__webpack_require__.d(__webpack_exports__, "isValidProtocol", function() { return /* reexport */ isValidProtocol; });
-__webpack_require__.d(__webpack_exports__, "getAuthority", function() { return /* reexport */ getAuthority; });
-__webpack_require__.d(__webpack_exports__, "isValidAuthority", function() { return /* reexport */ isValidAuthority; });
-__webpack_require__.d(__webpack_exports__, "getPath", function() { return /* reexport */ getPath; });
-__webpack_require__.d(__webpack_exports__, "isValidPath", function() { return /* reexport */ isValidPath; });
-__webpack_require__.d(__webpack_exports__, "getQueryString", function() { return /* reexport */ getQueryString; });
-__webpack_require__.d(__webpack_exports__, "buildQueryString", function() { return /* reexport */ buildQueryString; });
-__webpack_require__.d(__webpack_exports__, "isValidQueryString", function() { return /* reexport */ isValidQueryString; });
-__webpack_require__.d(__webpack_exports__, "getPathAndQueryString", function() { return /* reexport */ getPathAndQueryString; });
-__webpack_require__.d(__webpack_exports__, "getFragment", function() { return /* reexport */ getFragment; });
-__webpack_require__.d(__webpack_exports__, "isValidFragment", function() { return /* reexport */ isValidFragment; });
-__webpack_require__.d(__webpack_exports__, "addQueryArgs", function() { return /* reexport */ addQueryArgs; });
-__webpack_require__.d(__webpack_exports__, "getQueryArg", function() { return /* reexport */ getQueryArg; });
-__webpack_require__.d(__webpack_exports__, "getQueryArgs", function() { return /* reexport */ getQueryArgs; });
-__webpack_require__.d(__webpack_exports__, "hasQueryArg", function() { return /* reexport */ hasQueryArg; });
-__webpack_require__.d(__webpack_exports__, "removeQueryArgs", function() { return /* reexport */ removeQueryArgs; });
-__webpack_require__.d(__webpack_exports__, "prependHTTP", function() { return /* reexport */ prependHTTP; });
-__webpack_require__.d(__webpack_exports__, "safeDecodeURI", function() { return /* reexport */ safeDecodeURI; });
-__webpack_require__.d(__webpack_exports__, "safeDecodeURIComponent", function() { return /* reexport */ safeDecodeURIComponent; });
-__webpack_require__.d(__webpack_exports__, "filterURLForDisplay", function() { return /* reexport */ filterURLForDisplay; });
-__webpack_require__.d(__webpack_exports__, "cleanForSlug", function() { return /* reexport */ cleanForSlug; });
-__webpack_require__.d(__webpack_exports__, "getFilename", function() { return /* reexport */ getFilename; });
-__webpack_require__.d(__webpack_exports__, "normalizePath", function() { return /* reexport */ normalizePath; });
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-url.js
+__webpack_require__.d(__webpack_exports__, {
+  "addQueryArgs": function() { return /* reexport */ addQueryArgs; },
+  "buildQueryString": function() { return /* reexport */ buildQueryString; },
+  "cleanForSlug": function() { return /* reexport */ cleanForSlug; },
+  "filterURLForDisplay": function() { return /* reexport */ filterURLForDisplay; },
+  "getAuthority": function() { return /* reexport */ getAuthority; },
+  "getFilename": function() { return /* reexport */ getFilename; },
+  "getFragment": function() { return /* reexport */ getFragment; },
+  "getPath": function() { return /* reexport */ getPath; },
+  "getPathAndQueryString": function() { return /* reexport */ getPathAndQueryString; },
+  "getProtocol": function() { return /* reexport */ getProtocol; },
+  "getQueryArg": function() { return /* reexport */ getQueryArg; },
+  "getQueryArgs": function() { return /* reexport */ getQueryArgs; },
+  "getQueryString": function() { return /* reexport */ getQueryString; },
+  "hasQueryArg": function() { return /* reexport */ hasQueryArg; },
+  "isEmail": function() { return /* reexport */ isEmail; },
+  "isURL": function() { return /* reexport */ isURL; },
+  "isValidAuthority": function() { return /* reexport */ isValidAuthority; },
+  "isValidFragment": function() { return /* reexport */ isValidFragment; },
+  "isValidPath": function() { return /* reexport */ isValidPath; },
+  "isValidProtocol": function() { return /* reexport */ isValidProtocol; },
+  "isValidQueryString": function() { return /* reexport */ isValidQueryString; },
+  "normalizePath": function() { return /* reexport */ normalizePath; },
+  "prependHTTP": function() { return /* reexport */ prependHTTP; },
+  "removeQueryArgs": function() { return /* reexport */ removeQueryArgs; },
+  "safeDecodeURI": function() { return /* reexport */ safeDecodeURI; },
+  "safeDecodeURIComponent": function() { return /* reexport */ safeDecodeURIComponent; }
+});
+
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-url.js
 /**
  * Determines whether the given string looks like a URL.
  *
@@ -156,7 +94,7 @@ function isURL(url) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-email.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-email.js
 const EMAIL_REGEXP = /^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i;
 /**
  * Determines whether the given string looks like an email.
@@ -175,7 +113,7 @@ function isEmail(email) {
   return EMAIL_REGEXP.test(email);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-protocol.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-protocol.js
 /**
  * Returns the protocol part of the URL.
  *
@@ -197,7 +135,7 @@ function getProtocol(url) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-protocol.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-protocol.js
 /**
  * Tests if a url protocol is valid.
  *
@@ -219,7 +157,7 @@ function isValidProtocol(protocol) {
   return /^[a-z\-.\+]+[0-9]*:$/i.test(protocol);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-authority.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-authority.js
 /**
  * Returns the authority part of the URL.
  *
@@ -241,7 +179,7 @@ function getAuthority(url) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-authority.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-authority.js
 /**
  * Checks for invalid characters within the provided authority.
  *
@@ -263,7 +201,7 @@ function isValidAuthority(authority) {
   return /^[^\s#?]+$/.test(authority);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-path.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-path.js
 /**
  * Returns the path part of the URL.
  *
@@ -285,7 +223,7 @@ function getPath(url) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-path.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-path.js
 /**
  * Checks for invalid characters within the provided path.
  *
@@ -307,7 +245,7 @@ function isValidPath(path) {
   return /^[^\s#?]+$/.test(path);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-query-string.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-query-string.js
 /**
  * Returns the query string part of the URL.
  *
@@ -332,7 +270,7 @@ function getQueryString(url) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/build-query-string.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/build-query-string.js
 /**
  * Generates URL-encoded query string using input query data.
  *
@@ -392,7 +330,7 @@ function buildQueryString(data) {
   return string.substr(1);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-query-string.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-query-string.js
 /**
  * Checks for invalid characters within the provided query string.
  *
@@ -414,7 +352,7 @@ function isValidQueryString(queryString) {
   return /^[^\s#?\/]+$/.test(queryString);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-path-and-query-string.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-path-and-query-string.js
 /**
  * Internal dependencies
  */
@@ -442,7 +380,7 @@ function getPathAndQueryString(url) {
   return value;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-fragment.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-fragment.js
 /**
  * Returns the fragment part of the URL.
  *
@@ -464,7 +402,7 @@ function getFragment(url) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-fragment.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/is-valid-fragment.js
 /**
  * Checks for invalid characters within the provided fragment.
  *
@@ -486,7 +424,7 @@ function isValidFragment(fragment) {
   return /^#[^\s#?\/]*$/.test(fragment);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-query-args.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-query-args.js
 /**
  * Internal dependencies
  */
@@ -573,7 +511,7 @@ function getQueryArgs(url) {
   }, {});
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/add-query-args.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/add-query-args.js
 /**
  * Internal dependencies
  */
@@ -619,7 +557,7 @@ function addQueryArgs() {
   return baseUrl + '?' + buildQueryString(args);
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-query-arg.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-query-arg.js
 /**
  * Internal dependencies
  */
@@ -650,7 +588,7 @@ function getQueryArg(url, arg) {
   return getQueryArgs(url)[arg];
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/has-query-arg.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/has-query-arg.js
 /**
  * Internal dependencies
  */
@@ -673,7 +611,7 @@ function hasQueryArg(url, arg) {
   return getQueryArg(url, arg) !== undefined;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/remove-query-args.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/remove-query-args.js
 /**
  * Internal dependencies
  */
@@ -712,7 +650,7 @@ function removeQueryArgs(url) {
   return queryString ? baseURL + '?' + queryString : baseURL;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/prepend-http.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/prepend-http.js
 /**
  * Internal dependencies
  */
@@ -745,7 +683,7 @@ function prependHTTP(url) {
   return url;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/safe-decode-uri.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/safe-decode-uri.js
 /**
  * Safely decodes a URI with `decodeURI`. Returns the URI unmodified if
  * `decodeURI` throws an error.
@@ -767,7 +705,7 @@ function safeDecodeURI(uri) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/safe-decode-uri-component.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/safe-decode-uri-component.js
 /**
  * Safely decodes a URI component with `decodeURIComponent`. Returns the URI component unmodified if
  * `decodeURIComponent` throws an error.
@@ -784,7 +722,7 @@ function safeDecodeURIComponent(uriComponent) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/filter-url-for-display.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/filter-url-for-display.js
 /**
  * Returns a URL for display.
  *
@@ -830,10 +768,9 @@ function filterURLForDisplay(url) {
   return file.slice(0, maxLength - truncatedFile.length - 1) + '…' + truncatedFile;
 }

-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/clean-for-slug.js
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/clean-for-slug.js
 /**
  * External dependencies
  */
@@ -860,10 +797,10 @@ function cleanForSlug(string) {
     return '';
   }

-  return Object(external_lodash_["trim"])(Object(external_lodash_["deburr"])(string).replace(/[\s\./]+/g, '-').replace(/[^\w-]+/g, '').toLowerCase(), '-');
+  return (0,external_lodash_namespaceObject.trim)((0,external_lodash_namespaceObject.deburr)(string).replace(/[\s\./]+/g, '-').replace(/[^\w-]+/g, '').toLowerCase(), '-');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-filename.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/get-filename.js
 /**
  * Returns the filename part of the URL.
  *
@@ -889,7 +826,7 @@ function getFilename(url) {
   }
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/normalize-path.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/normalize-path.js
 /**
  * Given a path, returns a normalized path where equal query parameter values
  * will be treated as identical, regardless of order they appear in the original
@@ -917,9 +854,7 @@ function normalizePath(path) {
   .join('&');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/index.js
-
-
+;// CONCATENATED MODULE: ./node_modules/@wordpress/url/build-module/index.js



@@ -946,6 +881,7 @@ function normalizePath(path) {



-/***/ })

-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).url = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/url.min.js b/wp-includes/js/dist/url.min.js
index f48c9e70ee..7b666000fb 100644
--- a/wp-includes/js/dist/url.min.js
+++ b/wp-includes/js/dist/url.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.url=function(t){var n={};function e(r){if(n[r])return n[r].exports;var u=n[r]={i:r,l:!1,exports:{}};return t[r].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var u in t)e.d(r,u,function(n){return t[n]}.bind(null,u));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s="lbya")}({YLtl:function(t,n){t.exports=window.lodash},lbya:function(t,n,e){"use strict";function r(t){try{return new URL(t),!0}catch{return!1}}e.r(n),e.d(n,"isURL",(function(){return r})),e.d(n,"isEmail",(function(){return o})),e.d(n,"getProtocol",(function(){return i})),e.d(n,"isValidProtocol",(function(){return c})),e.d(n,"getAuthority",(function(){return s})),e.d(n,"isValidAuthority",(function(){return f})),e.d(n,"getPath",(function(){return l})),e.d(n,"isValidPath",(function(){return a})),e.d(n,"getQueryString",(function(){return d})),e.d(n,"buildQueryString",(function(){return p})),e.d(n,"isValidQueryString",(function(){return g})),e.d(n,"getPathAndQueryString",(function(){return h})),e.d(n,"getFragment",(function(){return y})),e.d(n,"isValidFragment",(function(){return m})),e.d(n,"addQueryArgs",(function(){return j})),e.d(n,"getQueryArg",(function(){return v})),e.d(n,"getQueryArgs",(function(){return b})),e.d(n,"hasQueryArg",(function(){return O})),e.d(n,"removeQueryArgs",(function(){return w})),e.d(n,"prependHTTP",(function(){return A})),e.d(n,"safeDecodeURI",(function(){return S})),e.d(n,"safeDecodeURIComponent",(function(){return P})),e.d(n,"filterURLForDisplay",(function(){return R})),e.d(n,"cleanForSlug",(function(){return $})),e.d(n,"getFilename",(function(){return Q})),e.d(n,"normalizePath",(function(){return L}));const u=/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i;function o(t){return u.test(t)}function i(t){const n=/^([^\s:]+:)/.exec(t);if(n)return n[1]}function c(t){return!!t&&/^[a-z\-.\+]+[0-9]*:$/i.test(t)}function s(t){const n=/^[^\/\s:]+:(?:\/\/)?\/?([^\/\s#?]+)[\/#?]{0,1}\S*$/.exec(t);if(n)return n[1]}function f(t){return!!t&&/^[^\s#?]+$/.test(t)}function l(t){const n=/^[^\/\s:]+:(?:\/\/)?[^\/\s#?]+[\/]([^\s#?]+)[#?]{0,1}\S*$/.exec(t);if(n)return n[1]}function a(t){return!!t&&/^[^\s#?]+$/.test(t)}function d(t){let n;try{n=new URL(t,"http://example.com").search.substring(1)}catch(t){}if(n)return n}function p(t){let n="";const e=Object.entries(t);let r;for(;r=e.shift();){let[t,u]=r;if(Array.isArray(u)||u&&u.constructor===Object){const n=Object.entries(u).reverse();for(const[r,u]of n)e.unshift([`${t}[${r}]`,u])}else void 0!==u&&(null===u&&(u=""),n+="&"+[t,u].map(encodeURIComponent).join("="))}return n.substr(1)}function g(t){return!!t&&/^[^\s#?\/]+$/.test(t)}function h(t){const n=l(t),e=d(t);let r="/";return n&&(r+=n),e&&(r+="?"+e),r}function y(t){const n=/^\S+?(#[^\s\?]*)/.exec(t);if(n)return n[1]}function m(t){return!!t&&/^#[^\s#?\/]*$/.test(t)}function b(t){return(d(t)||"").replace(/\+/g,"%20").split("&").reduce((t,n)=>{const[e,r=""]=n.split("=").filter(Boolean).map(decodeURIComponent);if(e){!function(t,n,e){const r=n.length,u=r-1;for(let o=0;o<r;o++){let r=n[o];!r&&Array.isArray(t)&&(r=t.length.toString());const i=!isNaN(Number(n[o+1]));t[r]=o===u?e:t[r]||(i?[]:{}),Array.isArray(t[r])&&!i&&(t[r]={...t[r]}),t=t[r]}}(t,e.replace(/\]/g,"").split("["),r)}return t},{})}function j(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;if(!n||!Object.keys(n).length)return t;let e=t;const r=t.indexOf("?");return-1!==r&&(n=Object.assign(b(t),n),e=e.substr(0,r)),e+"?"+p(n)}function v(t,n){return b(t)[n]}function O(t,n){return void 0!==v(t,n)}function w(t){const n=t.indexOf("?");if(-1===n)return t;const e=b(t),r=t.substr(0,n);for(var u=arguments.length,o=new Array(u>1?u-1:0),i=1;i<u;i++)o[i-1]=arguments[i];o.forEach(t=>delete e[t]);const c=p(e);return c?r+"?"+c:r}const x=/^(?:[a-z]+:|#|\?|\.|\/)/i;function A(t){return t?(t=t.trim(),x.test(t)||o(t)?t:"http://"+t):t}function S(t){try{return decodeURI(t)}catch(n){return t}}function P(t){try{return decodeURIComponent(t)}catch(n){return t}}function R(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=t.replace(/^(?:https?:)\/\/(?:www\.)?/,"");e.match(/^[^\/]+\/$/)&&(e=e.replace("/",""));const r=/([\w|:])*\.(?:jpg|jpeg|gif|png|svg)/;if(!n||e.length<=n||!e.match(r))return e;e=e.split("?")[0];const u=e.split("/"),o=u[u.length-1];if(o.length<=n)return"…"+e.slice(-n);const i=o.lastIndexOf("."),[c,s]=[o.slice(0,i),o.slice(i+1)],f=c.slice(-3)+"."+s;return o.slice(0,n-f.length-1)+"…"+f}var U=e("YLtl");function $(t){return t?Object(U.trim)(Object(U.deburr)(t).replace(/[\s\./]+/g,"-").replace(/[^\w-]+/g,"").toLowerCase(),"-"):""}function Q(t){let n;try{n=new URL(t,"http://example.com").pathname.split("/").pop()}catch(t){}if(n)return n}function L(t){const n=t.split("?"),e=n[1],r=n[0];return e?r+"?"+e.split("&").map(t=>t.split("=")).sort((t,n)=>t[0].localeCompare(n[0])).map(t=>t.join("=")).join("&"):r}}});
\ No newline at end of file
+!function(){"use strict";var t={d:function(n,e){for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},o:function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},n={};function e(t){try{return new URL(t),!0}catch{return!1}}t.r(n),t.d(n,{addQueryArgs:function(){return b},buildQueryString:function(){return g},cleanForSlug:function(){return U},filterURLForDisplay:function(){return P},getAuthority:function(){return c},getFilename:function(){return x},getFragment:function(){return h},getPath:function(){return f},getPathAndQueryString:function(){return d},getProtocol:function(){return u},getQueryArg:function(){return w},getQueryArgs:function(){return m},getQueryString:function(){return a},hasQueryArg:function(){return A},isEmail:function(){return o},isURL:function(){return e},isValidAuthority:function(){return s},isValidFragment:function(){return y},isValidPath:function(){return l},isValidProtocol:function(){return i},isValidQueryString:function(){return p},normalizePath:function(){return Q},prependHTTP:function(){return S},removeQueryArgs:function(){return j},safeDecodeURI:function(){return O},safeDecodeURIComponent:function(){return $}});const r=/^(mailto:)?[a-z0-9._%+-]+@[a-z0-9][a-z0-9.-]*\.[a-z]{2,63}$/i;function o(t){return r.test(t)}function u(t){const n=/^([^\s:]+:)/.exec(t);if(n)return n[1]}function i(t){return!!t&&/^[a-z\-.\+]+[0-9]*:$/i.test(t)}function c(t){const n=/^[^\/\s:]+:(?:\/\/)?\/?([^\/\s#?]+)[\/#?]{0,1}\S*$/.exec(t);if(n)return n[1]}function s(t){return!!t&&/^[^\s#?]+$/.test(t)}function f(t){const n=/^[^\/\s:]+:(?:\/\/)?[^\/\s#?]+[\/]([^\s#?]+)[#?]{0,1}\S*$/.exec(t);if(n)return n[1]}function l(t){return!!t&&/^[^\s#?]+$/.test(t)}function a(t){let n;try{n=new URL(t,"http://example.com").search.substring(1)}catch(t){}if(n)return n}function g(t){let n="";const e=Object.entries(t);let r;for(;r=e.shift();){let[t,o]=r;if(Array.isArray(o)||o&&o.constructor===Object){const n=Object.entries(o).reverse();for(const[r,o]of n)e.unshift([`${t}[${r}]`,o])}else void 0!==o&&(null===o&&(o=""),n+="&"+[t,o].map(encodeURIComponent).join("="))}return n.substr(1)}function p(t){return!!t&&/^[^\s#?\/]+$/.test(t)}function d(t){const n=f(t),e=a(t);let r="/";return n&&(r+=n),e&&(r+=`?${e}`),r}function h(t){const n=/^\S+?(#[^\s\?]*)/.exec(t);if(n)return n[1]}function y(t){return!!t&&/^#[^\s#?\/]*$/.test(t)}function m(t){return(a(t)||"").replace(/\+/g,"%20").split("&").reduce(((t,n)=>{const[e,r=""]=n.split("=").filter(Boolean).map(decodeURIComponent);if(e){!function(t,n,e){const r=n.length,o=r-1;for(let u=0;u<r;u++){let r=n[u];!r&&Array.isArray(t)&&(r=t.length.toString());const i=!isNaN(Number(n[u+1]));t[r]=u===o?e:t[r]||(i?[]:{}),Array.isArray(t[r])&&!i&&(t[r]={...t[r]}),t=t[r]}}(t,e.replace(/\]/g,"").split("["),r)}return t}),{})}function b(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;if(!n||!Object.keys(n).length)return t;let e=t;const r=t.indexOf("?");return-1!==r&&(n=Object.assign(m(t),n),e=e.substr(0,r)),e+"?"+g(n)}function w(t,n){return m(t)[n]}function A(t,n){return void 0!==w(t,n)}function j(t){const n=t.indexOf("?");if(-1===n)return t;const e=m(t),r=t.substr(0,n);for(var o=arguments.length,u=new Array(o>1?o-1:0),i=1;i<o;i++)u[i-1]=arguments[i];u.forEach((t=>delete e[t]));const c=g(e);return c?r+"?"+c:r}const v=/^(?:[a-z]+:|#|\?|\.|\/)/i;function S(t){return t?(t=t.trim(),v.test(t)||o(t)?t:"http://"+t):t}function O(t){try{return decodeURI(t)}catch(n){return t}}function $(t){try{return decodeURIComponent(t)}catch(n){return t}}function P(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=t.replace(/^(?:https?:)\/\/(?:www\.)?/,"");e.match(/^[^\/]+\/$/)&&(e=e.replace("/",""));const r=/([\w|:])*\.(?:jpg|jpeg|gif|png|svg)/;if(!n||e.length<=n||!e.match(r))return e;e=e.split("?")[0];const o=e.split("/"),u=o[o.length-1];if(u.length<=n)return"…"+e.slice(-n);const i=u.lastIndexOf("."),[c,s]=[u.slice(0,i),u.slice(i+1)],f=c.slice(-3)+"."+s;return u.slice(0,n-f.length-1)+"…"+f}var R=window.lodash;function U(t){return t?(0,R.trim)((0,R.deburr)(t).replace(/[\s\./]+/g,"-").replace(/[^\w-]+/g,"").toLowerCase(),"-"):""}function x(t){let n;try{n=new URL(t,"http://example.com").pathname.split("/").pop()}catch(t){}if(n)return n}function Q(t){const n=t.split("?"),e=n[1],r=n[0];return e?r+"?"+e.split("&").map((t=>t.split("="))).sort(((t,n)=>t[0].localeCompare(n[0]))).map((t=>t.join("="))).join("&"):r}(window.wp=window.wp||{}).url=n}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/lodash.min.js b/wp-includes/js/dist/vendor/lodash.min.js
index 4219da738c..f07d5acc3d 100644
--- a/wp-includes/js/dist/vendor/lodash.min.js
+++ b/wp-includes/js/dist/vendor/lodash.min.js
@@ -6,135 +6,4 @@
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  */
-(function(){function n(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function t(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function r(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&t(n[r],r,n)!==!1;);return n}function e(n,t){for(var r=null==n?0:n.length;r--&&t(n[r],r,n)!==!1;);return n}function u(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return!1;
-return!0}function i(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function o(n,t){return!!(null==n?0:n.length)&&y(n,t,0)>-1}function f(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return!0;return!1}function c(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function a(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function l(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);
-return r}function s(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function h(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}function p(n){return n.split("")}function _(n){return n.match($t)||[]}function v(n,t,r){var e;return r(n,function(n,r,u){if(t(n,r,u))return e=r,!1}),e}function g(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;)if(t(n[i],i,n))return i;return-1}function y(n,t,r){return t===t?Z(n,t,r):g(n,b,r)}function d(n,t,r,e){
-for(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return-1}function b(n){return n!==n}function w(n,t){var r=null==n?0:n.length;return r?k(n,t)/r:Cn}function m(n){return function(t){return null==t?X:t[n]}}function x(n){return function(t){return null==n?X:n[t]}}function j(n,t,r,e,u){return u(n,function(n,u,i){r=e?(e=!1,n):t(r,n,u,i)}),r}function A(n,t){var r=n.length;for(n.sort(t);r--;)n[r]=n[r].value;return n}function k(n,t){for(var r,e=-1,u=n.length;++e<u;){var i=t(n[e]);i!==X&&(r=r===X?i:r+i);
-}return r}function O(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function I(n,t){return c(t,function(t){return[t,n[t]]})}function R(n){return n?n.slice(0,H(n)+1).replace(Lt,""):n}function z(n){return function(t){return n(t)}}function E(n,t){return c(t,function(t){return n[t]})}function S(n,t){return n.has(t)}function W(n,t){for(var r=-1,e=n.length;++r<e&&y(t,n[r],0)>-1;);return r}function L(n,t){for(var r=n.length;r--&&y(t,n[r],0)>-1;);return r}function C(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;
-return e}function U(n){return"\\"+Yr[n]}function B(n,t){return null==n?X:n[t]}function T(n){return Nr.test(n)}function $(n){return Pr.test(n)}function D(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}function M(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function F(n,t){return function(r){return n(t(r))}}function N(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r];o!==t&&o!==cn||(n[r]=cn,i[u++]=r)}return i}function P(n){var t=-1,r=Array(n.size);
-return n.forEach(function(n){r[++t]=n}),r}function q(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=[n,n]}),r}function Z(n,t,r){for(var e=r-1,u=n.length;++e<u;)if(n[e]===t)return e;return-1}function K(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}function V(n){return T(n)?J(n):_e(n)}function G(n){return T(n)?Y(n):p(n)}function H(n){for(var t=n.length;t--&&Ct.test(n.charAt(t)););return t}function J(n){for(var t=Mr.lastIndex=0;Mr.test(n);)++t;return t}function Y(n){return n.match(Mr)||[];
-}function Q(n){return n.match(Fr)||[]}var X,nn="4.17.21",tn=200,rn="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",en="Expected a function",un="Invalid `variable` option passed into `_.template`",on="__lodash_hash_undefined__",fn=500,cn="__lodash_placeholder__",an=1,ln=2,sn=4,hn=1,pn=2,_n=1,vn=2,gn=4,yn=8,dn=16,bn=32,wn=64,mn=128,xn=256,jn=512,An=30,kn="...",On=800,In=16,Rn=1,zn=2,En=3,Sn=1/0,Wn=9007199254740991,Ln=1.7976931348623157e308,Cn=NaN,Un=4294967295,Bn=Un-1,Tn=Un>>>1,$n=[["ary",mn],["bind",_n],["bindKey",vn],["curry",yn],["curryRight",dn],["flip",jn],["partial",bn],["partialRight",wn],["rearg",xn]],Dn="[object Arguments]",Mn="[object Array]",Fn="[object AsyncFunction]",Nn="[object Boolean]",Pn="[object Date]",qn="[object DOMException]",Zn="[object Error]",Kn="[object Function]",Vn="[object GeneratorFunction]",Gn="[object Map]",Hn="[object Number]",Jn="[object Null]",Yn="[object Object]",Qn="[object Promise]",Xn="[object Proxy]",nt="[object RegExp]",tt="[object Set]",rt="[object String]",et="[object Symbol]",ut="[object Undefined]",it="[object WeakMap]",ot="[object WeakSet]",ft="[object ArrayBuffer]",ct="[object DataView]",at="[object Float32Array]",lt="[object Float64Array]",st="[object Int8Array]",ht="[object Int16Array]",pt="[object Int32Array]",_t="[object Uint8Array]",vt="[object Uint8ClampedArray]",gt="[object Uint16Array]",yt="[object Uint32Array]",dt=/\b__p \+= '';/g,bt=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,mt=/&(?:amp|lt|gt|quot|#39);/g,xt=/[&<>"']/g,jt=RegExp(mt.source),At=RegExp(xt.source),kt=/<%-([\s\S]+?)%>/g,Ot=/<%([\s\S]+?)%>/g,It=/<%=([\s\S]+?)%>/g,Rt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zt=/^\w*$/,Et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,St=/[\\^$.*+?()[\]{}|]/g,Wt=RegExp(St.source),Lt=/^\s+/,Ct=/\s/,Ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,Tt=/,? & /,$t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Dt=/[()=,{}\[\]\/\s]/,Mt=/\\(\\)?/g,Ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nt=/\w*$/,Pt=/^[-+]0x[0-9a-f]+$/i,qt=/^0b[01]+$/i,Zt=/^\[object .+?Constructor\]$/,Kt=/^0o[0-7]+$/i,Vt=/^(?:0|[1-9]\d*)$/,Gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ht=/($^)/,Jt=/['\n\r\u2028\u2029\\]/g,Yt="\\ud800-\\udfff",Qt="\\u0300-\\u036f",Xt="\\ufe20-\\ufe2f",nr="\\u20d0-\\u20ff",tr=Qt+Xt+nr,rr="\\u2700-\\u27bf",er="a-z\\xdf-\\xf6\\xf8-\\xff",ur="\\xac\\xb1\\xd7\\xf7",ir="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",or="\\u2000-\\u206f",fr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",cr="A-Z\\xc0-\\xd6\\xd8-\\xde",ar="\\ufe0e\\ufe0f",lr=ur+ir+or+fr,sr="['\u2019]",hr="["+Yt+"]",pr="["+lr+"]",_r="["+tr+"]",vr="\\d+",gr="["+rr+"]",yr="["+er+"]",dr="[^"+Yt+lr+vr+rr+er+cr+"]",br="\\ud83c[\\udffb-\\udfff]",wr="(?:"+_r+"|"+br+")",mr="[^"+Yt+"]",xr="(?:\\ud83c[\\udde6-\\uddff]){2}",jr="[\\ud800-\\udbff][\\udc00-\\udfff]",Ar="["+cr+"]",kr="\\u200d",Or="(?:"+yr+"|"+dr+")",Ir="(?:"+Ar+"|"+dr+")",Rr="(?:"+sr+"(?:d|ll|m|re|s|t|ve))?",zr="(?:"+sr+"(?:D|LL|M|RE|S|T|VE))?",Er=wr+"?",Sr="["+ar+"]?",Wr="(?:"+kr+"(?:"+[mr,xr,jr].join("|")+")"+Sr+Er+")*",Lr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ur=Sr+Er+Wr,Br="(?:"+[gr,xr,jr].join("|")+")"+Ur,Tr="(?:"+[mr+_r+"?",_r,xr,jr,hr].join("|")+")",$r=RegExp(sr,"g"),Dr=RegExp(_r,"g"),Mr=RegExp(br+"(?="+br+")|"+Tr+Ur,"g"),Fr=RegExp([Ar+"?"+yr+"+"+Rr+"(?="+[pr,Ar,"$"].join("|")+")",Ir+"+"+zr+"(?="+[pr,Ar+Or,"$"].join("|")+")",Ar+"?"+Or+"+"+Rr,Ar+"+"+zr,Cr,Lr,vr,Br].join("|"),"g"),Nr=RegExp("["+kr+Yt+tr+ar+"]"),Pr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Zr=-1,Kr={};
-Kr[at]=Kr[lt]=Kr[st]=Kr[ht]=Kr[pt]=Kr[_t]=Kr[vt]=Kr[gt]=Kr[yt]=!0,Kr[Dn]=Kr[Mn]=Kr[ft]=Kr[Nn]=Kr[ct]=Kr[Pn]=Kr[Zn]=Kr[Kn]=Kr[Gn]=Kr[Hn]=Kr[Yn]=Kr[nt]=Kr[tt]=Kr[rt]=Kr[it]=!1;var Vr={};Vr[Dn]=Vr[Mn]=Vr[ft]=Vr[ct]=Vr[Nn]=Vr[Pn]=Vr[at]=Vr[lt]=Vr[st]=Vr[ht]=Vr[pt]=Vr[Gn]=Vr[Hn]=Vr[Yn]=Vr[nt]=Vr[tt]=Vr[rt]=Vr[et]=Vr[_t]=Vr[vt]=Vr[gt]=Vr[yt]=!0,Vr[Zn]=Vr[Kn]=Vr[it]=!1;var Gr={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a",
-"\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae",
-"\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g",
-"\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O",
-"\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w",
-"\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"},Hr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Jr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Yr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qr=parseFloat,Xr=parseInt,ne="object"==typeof global&&global&&global.Object===Object&&global,te="object"==typeof self&&self&&self.Object===Object&&self,re=ne||te||Function("return this")(),ee="object"==typeof exports&&exports&&!exports.nodeType&&exports,ue=ee&&"object"==typeof module&&module&&!module.nodeType&&module,ie=ue&&ue.exports===ee,oe=ie&&ne.process,fe=function(){
-try{var n=ue&&ue.require&&ue.require("util").types;return n?n:oe&&oe.binding&&oe.binding("util")}catch(n){}}(),ce=fe&&fe.isArrayBuffer,ae=fe&&fe.isDate,le=fe&&fe.isMap,se=fe&&fe.isRegExp,he=fe&&fe.isSet,pe=fe&&fe.isTypedArray,_e=m("length"),ve=x(Gr),ge=x(Hr),ye=x(Jr),de=function p(x){function Z(n){if(cc(n)&&!bh(n)&&!(n instanceof Ct)){if(n instanceof Y)return n;if(bl.call(n,"__wrapped__"))return eo(n)}return new Y(n)}function J(){}function Y(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,
-this.__index__=0,this.__values__=X}function Ct(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Un,this.__views__=[]}function $t(){var n=new Ct(this.__wrapped__);return n.__actions__=Tu(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Tu(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Tu(this.__views__),n}function Yt(){if(this.__filtered__){var n=new Ct(this);n.__dir__=-1,
-n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n}function Qt(){var n=this.__wrapped__.value(),t=this.__dir__,r=bh(n),e=t<0,u=r?n.length:0,i=Oi(0,u,this.__views__),o=i.start,f=i.end,c=f-o,a=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=Hl(c,this.__takeCount__);if(!r||!e&&u==c&&p==c)return wu(n,this.__actions__);var _=[];n:for(;c--&&h<p;){a+=t;for(var v=-1,g=n[a];++v<s;){var y=l[v],d=y.iteratee,b=y.type,w=d(g);if(b==zn)g=w;else if(!w){if(b==Rn)continue n;break n}}_[h++]=g}return _}function Xt(n){
-var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function nr(){this.__data__=is?is(null):{},this.size=0}function tr(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}function rr(n){var t=this.__data__;if(is){var r=t[n];return r===on?X:r}return bl.call(t,n)?t[n]:X}function er(n){var t=this.__data__;return is?t[n]!==X:bl.call(t,n)}function ur(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=is&&t===X?on:t,this}function ir(n){
-var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function or(){this.__data__=[],this.size=0}function fr(n){var t=this.__data__,r=Wr(t,n);return!(r<0)&&(r==t.length-1?t.pop():Ll.call(t,r,1),--this.size,!0)}function cr(n){var t=this.__data__,r=Wr(t,n);return r<0?X:t[r][1]}function ar(n){return Wr(this.__data__,n)>-1}function lr(n,t){var r=this.__data__,e=Wr(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this}function sr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){
-var e=n[t];this.set(e[0],e[1])}}function hr(){this.size=0,this.__data__={hash:new Xt,map:new(ts||ir),string:new Xt}}function pr(n){var t=xi(this,n).delete(n);return this.size-=t?1:0,t}function _r(n){return xi(this,n).get(n)}function vr(n){return xi(this,n).has(n)}function gr(n,t){var r=xi(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this}function yr(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new sr;++t<r;)this.add(n[t])}function dr(n){return this.__data__.set(n,on),this}function br(n){
-return this.__data__.has(n)}function wr(n){this.size=(this.__data__=new ir(n)).size}function mr(){this.__data__=new ir,this.size=0}function xr(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r}function jr(n){return this.__data__.get(n)}function Ar(n){return this.__data__.has(n)}function kr(n,t){var r=this.__data__;if(r instanceof ir){var e=r.__data__;if(!ts||e.length<tn-1)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new sr(e)}return r.set(n,t),this.size=r.size,this}function Or(n,t){
-var r=bh(n),e=!r&&dh(n),u=!r&&!e&&mh(n),i=!r&&!e&&!u&&Oh(n),o=r||e||u||i,f=o?O(n.length,hl):[],c=f.length;for(var a in n)!t&&!bl.call(n,a)||o&&("length"==a||u&&("offset"==a||"parent"==a)||i&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||Ci(a,c))||f.push(a);return f}function Ir(n){var t=n.length;return t?n[tu(0,t-1)]:X}function Rr(n,t){return Xi(Tu(n),Mr(t,0,n.length))}function zr(n){return Xi(Tu(n))}function Er(n,t,r){(r===X||Gf(n[t],r))&&(r!==X||t in n)||Br(n,t,r)}function Sr(n,t,r){var e=n[t];
-bl.call(n,t)&&Gf(e,r)&&(r!==X||t in n)||Br(n,t,r)}function Wr(n,t){for(var r=n.length;r--;)if(Gf(n[r][0],t))return r;return-1}function Lr(n,t,r,e){return ys(n,function(n,u,i){t(e,n,r(n),i)}),e}function Cr(n,t){return n&&$u(t,Pc(t),n)}function Ur(n,t){return n&&$u(t,qc(t),n)}function Br(n,t,r){"__proto__"==t&&Tl?Tl(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function Tr(n,t){for(var r=-1,e=t.length,u=il(e),i=null==n;++r<e;)u[r]=i?X:Mc(n,t[r]);return u}function Mr(n,t,r){return n===n&&(r!==X&&(n=n<=r?n:r),
-t!==X&&(n=n>=t?n:t)),n}function Fr(n,t,e,u,i,o){var f,c=t&an,a=t&ln,l=t&sn;if(e&&(f=i?e(n,u,i,o):e(n)),f!==X)return f;if(!fc(n))return n;var s=bh(n);if(s){if(f=zi(n),!c)return Tu(n,f)}else{var h=zs(n),p=h==Kn||h==Vn;if(mh(n))return Iu(n,c);if(h==Yn||h==Dn||p&&!i){if(f=a||p?{}:Ei(n),!c)return a?Mu(n,Ur(f,n)):Du(n,Cr(f,n))}else{if(!Vr[h])return i?n:{};f=Si(n,h,c)}}o||(o=new wr);var _=o.get(n);if(_)return _;o.set(n,f),kh(n)?n.forEach(function(r){f.add(Fr(r,t,e,r,n,o))}):jh(n)&&n.forEach(function(r,u){
-f.set(u,Fr(r,t,e,u,n,o))});var v=l?a?di:yi:a?qc:Pc,g=s?X:v(n);return r(g||n,function(r,u){g&&(u=r,r=n[u]),Sr(f,u,Fr(r,t,e,u,n,o))}),f}function Nr(n){var t=Pc(n);return function(r){return Pr(r,n,t)}}function Pr(n,t,r){var e=r.length;if(null==n)return!e;for(n=ll(n);e--;){var u=r[e],i=t[u],o=n[u];if(o===X&&!(u in n)||!i(o))return!1}return!0}function Gr(n,t,r){if("function"!=typeof n)throw new pl(en);return Ws(function(){n.apply(X,r)},t)}function Hr(n,t,r,e){var u=-1,i=o,a=!0,l=n.length,s=[],h=t.length;
-if(!l)return s;r&&(t=c(t,z(r))),e?(i=f,a=!1):t.length>=tn&&(i=S,a=!1,t=new yr(t));n:for(;++u<l;){var p=n[u],_=null==r?p:r(p);if(p=e||0!==p?p:0,a&&_===_){for(var v=h;v--;)if(t[v]===_)continue n;s.push(p)}else i(t,_,e)||s.push(p)}return s}function Jr(n,t){var r=!0;return ys(n,function(n,e,u){return r=!!t(n,e,u)}),r}function Yr(n,t,r){for(var e=-1,u=n.length;++e<u;){var i=n[e],o=t(i);if(null!=o&&(f===X?o===o&&!bc(o):r(o,f)))var f=o,c=i}return c}function ne(n,t,r,e){var u=n.length;for(r=kc(r),r<0&&(r=-r>u?0:u+r),
-e=e===X||e>u?u:kc(e),e<0&&(e+=u),e=r>e?0:Oc(e);r<e;)n[r++]=t;return n}function te(n,t){var r=[];return ys(n,function(n,e,u){t(n,e,u)&&r.push(n)}),r}function ee(n,t,r,e,u){var i=-1,o=n.length;for(r||(r=Li),u||(u=[]);++i<o;){var f=n[i];t>0&&r(f)?t>1?ee(f,t-1,r,e,u):a(u,f):e||(u[u.length]=f)}return u}function ue(n,t){return n&&bs(n,t,Pc)}function oe(n,t){return n&&ws(n,t,Pc)}function fe(n,t){return i(t,function(t){return uc(n[t])})}function _e(n,t){t=ku(t,n);for(var r=0,e=t.length;null!=n&&r<e;)n=n[no(t[r++])];
-return r&&r==e?n:X}function de(n,t,r){var e=t(n);return bh(n)?e:a(e,r(n))}function we(n){return null==n?n===X?ut:Jn:Bl&&Bl in ll(n)?ki(n):Ki(n)}function me(n,t){return n>t}function xe(n,t){return null!=n&&bl.call(n,t)}function je(n,t){return null!=n&&t in ll(n)}function Ae(n,t,r){return n>=Hl(t,r)&&n<Gl(t,r)}function ke(n,t,r){for(var e=r?f:o,u=n[0].length,i=n.length,a=i,l=il(i),s=1/0,h=[];a--;){var p=n[a];a&&t&&(p=c(p,z(t))),s=Hl(p.length,s),l[a]=!r&&(t||u>=120&&p.length>=120)?new yr(a&&p):X}p=n[0];
-var _=-1,v=l[0];n:for(;++_<u&&h.length<s;){var g=p[_],y=t?t(g):g;if(g=r||0!==g?g:0,!(v?S(v,y):e(h,y,r))){for(a=i;--a;){var d=l[a];if(!(d?S(d,y):e(n[a],y,r)))continue n}v&&v.push(y),h.push(g)}}return h}function Oe(n,t,r,e){return ue(n,function(n,u,i){t(e,r(n),u,i)}),e}function Ie(t,r,e){r=ku(r,t),t=Gi(t,r);var u=null==t?t:t[no(jo(r))];return null==u?X:n(u,t,e)}function Re(n){return cc(n)&&we(n)==Dn}function ze(n){return cc(n)&&we(n)==ft}function Ee(n){return cc(n)&&we(n)==Pn}function Se(n,t,r,e,u){
-return n===t||(null==n||null==t||!cc(n)&&!cc(t)?n!==n&&t!==t:We(n,t,r,e,Se,u))}function We(n,t,r,e,u,i){var o=bh(n),f=bh(t),c=o?Mn:zs(n),a=f?Mn:zs(t);c=c==Dn?Yn:c,a=a==Dn?Yn:a;var l=c==Yn,s=a==Yn,h=c==a;if(h&&mh(n)){if(!mh(t))return!1;o=!0,l=!1}if(h&&!l)return i||(i=new wr),o||Oh(n)?pi(n,t,r,e,u,i):_i(n,t,c,r,e,u,i);if(!(r&hn)){var p=l&&bl.call(n,"__wrapped__"),_=s&&bl.call(t,"__wrapped__");if(p||_){var v=p?n.value():n,g=_?t.value():t;return i||(i=new wr),u(v,g,r,e,i)}}return!!h&&(i||(i=new wr),vi(n,t,r,e,u,i));
-}function Le(n){return cc(n)&&zs(n)==Gn}function Ce(n,t,r,e){var u=r.length,i=u,o=!e;if(null==n)return!i;for(n=ll(n);u--;){var f=r[u];if(o&&f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++u<i;){f=r[u];var c=f[0],a=n[c],l=f[1];if(o&&f[2]){if(a===X&&!(c in n))return!1}else{var s=new wr;if(e)var h=e(a,l,c,n,t,s);if(!(h===X?Se(l,a,hn|pn,e,s):h))return!1}}return!0}function Ue(n){return!(!fc(n)||Di(n))&&(uc(n)?kl:Zt).test(to(n))}function Be(n){return cc(n)&&we(n)==nt}function Te(n){return cc(n)&&zs(n)==tt;
-}function $e(n){return cc(n)&&oc(n.length)&&!!Kr[we(n)]}function De(n){return"function"==typeof n?n:null==n?La:"object"==typeof n?bh(n)?Ze(n[0],n[1]):qe(n):Fa(n)}function Me(n){if(!Mi(n))return Vl(n);var t=[];for(var r in ll(n))bl.call(n,r)&&"constructor"!=r&&t.push(r);return t}function Fe(n){if(!fc(n))return Zi(n);var t=Mi(n),r=[];for(var e in n)("constructor"!=e||!t&&bl.call(n,e))&&r.push(e);return r}function Ne(n,t){return n<t}function Pe(n,t){var r=-1,e=Hf(n)?il(n.length):[];return ys(n,function(n,u,i){
-e[++r]=t(n,u,i)}),e}function qe(n){var t=ji(n);return 1==t.length&&t[0][2]?Ni(t[0][0],t[0][1]):function(r){return r===n||Ce(r,n,t)}}function Ze(n,t){return Bi(n)&&Fi(t)?Ni(no(n),t):function(r){var e=Mc(r,n);return e===X&&e===t?Nc(r,n):Se(t,e,hn|pn)}}function Ke(n,t,r,e,u){n!==t&&bs(t,function(i,o){if(u||(u=new wr),fc(i))Ve(n,t,o,r,Ke,e,u);else{var f=e?e(Ji(n,o),i,o+"",n,t,u):X;f===X&&(f=i),Er(n,o,f)}},qc)}function Ve(n,t,r,e,u,i,o){var f=Ji(n,r),c=Ji(t,r),a=o.get(c);if(a)return Er(n,r,a),X;var l=i?i(f,c,r+"",n,t,o):X,s=l===X;
-if(s){var h=bh(c),p=!h&&mh(c),_=!h&&!p&&Oh(c);l=c,h||p||_?bh(f)?l=f:Jf(f)?l=Tu(f):p?(s=!1,l=Iu(c,!0)):_?(s=!1,l=Wu(c,!0)):l=[]:gc(c)||dh(c)?(l=f,dh(f)?l=Rc(f):fc(f)&&!uc(f)||(l=Ei(c))):s=!1}s&&(o.set(c,l),u(l,c,e,i,o),o.delete(c)),Er(n,r,l)}function Ge(n,t){var r=n.length;if(r)return t+=t<0?r:0,Ci(t,r)?n[t]:X}function He(n,t,r){t=t.length?c(t,function(n){return bh(n)?function(t){return _e(t,1===n.length?n[0]:n)}:n}):[La];var e=-1;return t=c(t,z(mi())),A(Pe(n,function(n,r,u){return{criteria:c(t,function(t){
-return t(n)}),index:++e,value:n}}),function(n,t){return Cu(n,t,r)})}function Je(n,t){return Ye(n,t,function(t,r){return Nc(n,r)})}function Ye(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=_e(n,o);r(f,o)&&fu(i,ku(o,n),f)}return i}function Qe(n){return function(t){return _e(t,n)}}function Xe(n,t,r,e){var u=e?d:y,i=-1,o=t.length,f=n;for(n===t&&(t=Tu(t)),r&&(f=c(n,z(r)));++i<o;)for(var a=0,l=t[i],s=r?r(l):l;(a=u(f,s,a,e))>-1;)f!==n&&Ll.call(f,a,1),Ll.call(n,a,1);return n}function nu(n,t){for(var r=n?t.length:0,e=r-1;r--;){
-var u=t[r];if(r==e||u!==i){var i=u;Ci(u)?Ll.call(n,u,1):yu(n,u)}}return n}function tu(n,t){return n+Nl(Ql()*(t-n+1))}function ru(n,t,r,e){for(var u=-1,i=Gl(Fl((t-n)/(r||1)),0),o=il(i);i--;)o[e?i:++u]=n,n+=r;return o}function eu(n,t){var r="";if(!n||t<1||t>Wn)return r;do t%2&&(r+=n),t=Nl(t/2),t&&(n+=n);while(t);return r}function uu(n,t){return Ls(Vi(n,t,La),n+"")}function iu(n){return Ir(ra(n))}function ou(n,t){var r=ra(n);return Xi(r,Mr(t,0,r.length))}function fu(n,t,r,e){if(!fc(n))return n;t=ku(t,n);
-for(var u=-1,i=t.length,o=i-1,f=n;null!=f&&++u<i;){var c=no(t[u]),a=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return n;if(u!=o){var l=f[c];a=e?e(l,c,f):X,a===X&&(a=fc(l)?l:Ci(t[u+1])?[]:{})}Sr(f,c,a),f=f[c]}return n}function cu(n){return Xi(ra(n))}function au(n,t,r){var e=-1,u=n.length;t<0&&(t=-t>u?0:u+t),r=r>u?u:r,r<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=il(u);++e<u;)i[e]=n[e+t];return i}function lu(n,t){var r;return ys(n,function(n,e,u){return r=t(n,e,u),!r}),!!r}function su(n,t,r){
-var e=0,u=null==n?e:n.length;if("number"==typeof t&&t===t&&u<=Tn){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!bc(o)&&(r?o<=t:o<t)?e=i+1:u=i}return u}return hu(n,t,La,r)}function hu(n,t,r,e){var u=0,i=null==n?0:n.length;if(0===i)return 0;t=r(t);for(var o=t!==t,f=null===t,c=bc(t),a=t===X;u<i;){var l=Nl((u+i)/2),s=r(n[l]),h=s!==X,p=null===s,_=s===s,v=bc(s);if(o)var g=e||_;else g=a?_&&(e||h):f?_&&h&&(e||!p):c?_&&h&&!p&&(e||!v):!p&&!v&&(e?s<=t:s<t);g?u=l+1:i=l}return Hl(i,Bn)}function pu(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){
-var o=n[r],f=t?t(o):o;if(!r||!Gf(f,c)){var c=f;i[u++]=0===o?0:o}}return i}function _u(n){return"number"==typeof n?n:bc(n)?Cn:+n}function vu(n){if("string"==typeof n)return n;if(bh(n))return c(n,vu)+"";if(bc(n))return vs?vs.call(n):"";var t=n+"";return"0"==t&&1/n==-Sn?"-0":t}function gu(n,t,r){var e=-1,u=o,i=n.length,c=!0,a=[],l=a;if(r)c=!1,u=f;else if(i>=tn){var s=t?null:ks(n);if(s)return P(s);c=!1,u=S,l=new yr}else l=t?[]:a;n:for(;++e<i;){var h=n[e],p=t?t(h):h;if(h=r||0!==h?h:0,c&&p===p){for(var _=l.length;_--;)if(l[_]===p)continue n;
-t&&l.push(p),a.push(h)}else u(l,p,r)||(l!==a&&l.push(p),a.push(h))}return a}function yu(n,t){return t=ku(t,n),n=Gi(n,t),null==n||delete n[no(jo(t))]}function du(n,t,r,e){return fu(n,t,r(_e(n,t)),e)}function bu(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?au(n,e?0:i,e?i+1:u):au(n,e?i+1:0,e?u:i)}function wu(n,t){var r=n;return r instanceof Ct&&(r=r.value()),l(t,function(n,t){return t.func.apply(t.thisArg,a([n],t.args))},r)}function mu(n,t,r){var e=n.length;if(e<2)return e?gu(n[0]):[];
-for(var u=-1,i=il(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=Hr(i[u]||o,n[f],t,r));return gu(ee(i,1),t,r)}function xu(n,t,r){for(var e=-1,u=n.length,i=t.length,o={};++e<u;){r(o,n[e],e<i?t[e]:X)}return o}function ju(n){return Jf(n)?n:[]}function Au(n){return"function"==typeof n?n:La}function ku(n,t){return bh(n)?n:Bi(n,t)?[n]:Cs(Ec(n))}function Ou(n,t,r){var e=n.length;return r=r===X?e:r,!t&&r>=e?n:au(n,t,r)}function Iu(n,t){if(t)return n.slice();var r=n.length,e=zl?zl(r):new n.constructor(r);
-return n.copy(e),e}function Ru(n){var t=new n.constructor(n.byteLength);return new Rl(t).set(new Rl(n)),t}function zu(n,t){return new n.constructor(t?Ru(n.buffer):n.buffer,n.byteOffset,n.byteLength)}function Eu(n){var t=new n.constructor(n.source,Nt.exec(n));return t.lastIndex=n.lastIndex,t}function Su(n){return _s?ll(_s.call(n)):{}}function Wu(n,t){return new n.constructor(t?Ru(n.buffer):n.buffer,n.byteOffset,n.length)}function Lu(n,t){if(n!==t){var r=n!==X,e=null===n,u=n===n,i=bc(n),o=t!==X,f=null===t,c=t===t,a=bc(t);
-if(!f&&!a&&!i&&n>t||i&&o&&c&&!f&&!a||e&&o&&c||!r&&c||!u)return 1;if(!e&&!i&&!a&&n<t||a&&r&&u&&!e&&!i||f&&r&&u||!o&&u||!c)return-1}return 0}function Cu(n,t,r){for(var e=-1,u=n.criteria,i=t.criteria,o=u.length,f=r.length;++e<o;){var c=Lu(u[e],i[e]);if(c){if(e>=f)return c;return c*("desc"==r[e]?-1:1)}}return n.index-t.index}function Uu(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,c=t.length,a=Gl(i-o,0),l=il(c+a),s=!e;++f<c;)l[f]=t[f];for(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;a--;)l[f++]=n[u++];return l;
-}function Bu(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,c=-1,a=t.length,l=Gl(i-f,0),s=il(l+a),h=!e;++u<l;)s[u]=n[u];for(var p=u;++c<a;)s[p+c]=t[c];for(;++o<f;)(h||u<i)&&(s[p+r[o]]=n[u++]);return s}function Tu(n,t){var r=-1,e=n.length;for(t||(t=il(e));++r<e;)t[r]=n[r];return t}function $u(n,t,r,e){var u=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var f=t[i],c=e?e(r[f],n[f],f,r,n):X;c===X&&(c=n[f]),u?Br(r,f,c):Sr(r,f,c)}return r}function Du(n,t){return $u(n,Is(n),t)}function Mu(n,t){return $u(n,Rs(n),t);
-}function Fu(n,r){return function(e,u){var i=bh(e)?t:Lr,o=r?r():{};return i(e,n,mi(u,2),o)}}function Nu(n){return uu(function(t,r){var e=-1,u=r.length,i=u>1?r[u-1]:X,o=u>2?r[2]:X;for(i=n.length>3&&"function"==typeof i?(u--,i):X,o&&Ui(r[0],r[1],o)&&(i=u<3?X:i,u=1),t=ll(t);++e<u;){var f=r[e];f&&n(t,f,e,i)}return t})}function Pu(n,t){return function(r,e){if(null==r)return r;if(!Hf(r))return n(r,e);for(var u=r.length,i=t?u:-1,o=ll(r);(t?i--:++i<u)&&e(o[i],i,o)!==!1;);return r}}function qu(n){return function(t,r,e){
-for(var u=-1,i=ll(t),o=e(t),f=o.length;f--;){var c=o[n?f:++u];if(r(i[c],c,i)===!1)break}return t}}function Zu(n,t,r){function e(){return(this&&this!==re&&this instanceof e?i:n).apply(u?r:this,arguments)}var u=t&_n,i=Gu(n);return e}function Ku(n){return function(t){t=Ec(t);var r=T(t)?G(t):X,e=r?r[0]:t.charAt(0),u=r?Ou(r,1).join(""):t.slice(1);return e[n]()+u}}function Vu(n){return function(t){return l(Ra(ca(t).replace($r,"")),n,"")}}function Gu(n){return function(){var t=arguments;switch(t.length){
-case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=gs(n.prototype),e=n.apply(r,t);return fc(e)?e:r}}function Hu(t,r,e){function u(){for(var o=arguments.length,f=il(o),c=o,a=wi(u);c--;)f[c]=arguments[c];var l=o<3&&f[0]!==a&&f[o-1]!==a?[]:N(f,a);
-return o-=l.length,o<e?oi(t,r,Qu,u.placeholder,X,f,l,X,X,e-o):n(this&&this!==re&&this instanceof u?i:t,this,f)}var i=Gu(t);return u}function Ju(n){return function(t,r,e){var u=ll(t);if(!Hf(t)){var i=mi(r,3);t=Pc(t),r=function(n){return i(u[n],n,u)}}var o=n(t,r,e);return o>-1?u[i?t[o]:o]:X}}function Yu(n){return gi(function(t){var r=t.length,e=r,u=Y.prototype.thru;for(n&&t.reverse();e--;){var i=t[e];if("function"!=typeof i)throw new pl(en);if(u&&!o&&"wrapper"==bi(i))var o=new Y([],!0)}for(e=o?e:r;++e<r;){
-i=t[e];var f=bi(i),c="wrapper"==f?Os(i):X;o=c&&$i(c[0])&&c[1]==(mn|yn|bn|xn)&&!c[4].length&&1==c[9]?o[bi(c[0])].apply(o,c[3]):1==i.length&&$i(i)?o[f]():o.thru(i)}return function(){var n=arguments,e=n[0];if(o&&1==n.length&&bh(e))return o.plant(e).value();for(var u=0,i=r?t[u].apply(this,n):e;++u<r;)i=t[u].call(this,i);return i}})}function Qu(n,t,r,e,u,i,o,f,c,a){function l(){for(var y=arguments.length,d=il(y),b=y;b--;)d[b]=arguments[b];if(_)var w=wi(l),m=C(d,w);if(e&&(d=Uu(d,e,u,_)),i&&(d=Bu(d,i,o,_)),
-y-=m,_&&y<a){return oi(n,t,Qu,l.placeholder,r,d,N(d,w),f,c,a-y)}var x=h?r:this,j=p?x[n]:n;return y=d.length,f?d=Hi(d,f):v&&y>1&&d.reverse(),s&&c<y&&(d.length=c),this&&this!==re&&this instanceof l&&(j=g||Gu(j)),j.apply(x,d)}var s=t&mn,h=t&_n,p=t&vn,_=t&(yn|dn),v=t&jn,g=p?X:Gu(n);return l}function Xu(n,t){return function(r,e){return Oe(r,n,t(e),{})}}function ni(n,t){return function(r,e){var u;if(r===X&&e===X)return t;if(r!==X&&(u=r),e!==X){if(u===X)return e;"string"==typeof r||"string"==typeof e?(r=vu(r),
-e=vu(e)):(r=_u(r),e=_u(e)),u=n(r,e)}return u}}function ti(t){return gi(function(r){return r=c(r,z(mi())),uu(function(e){var u=this;return t(r,function(t){return n(t,u,e)})})})}function ri(n,t){t=t===X?" ":vu(t);var r=t.length;if(r<2)return r?eu(t,n):t;var e=eu(t,Fl(n/V(t)));return T(t)?Ou(G(e),0,n).join(""):e.slice(0,n)}function ei(t,r,e,u){function i(){for(var r=-1,c=arguments.length,a=-1,l=u.length,s=il(l+c),h=this&&this!==re&&this instanceof i?f:t;++a<l;)s[a]=u[a];for(;c--;)s[a++]=arguments[++r];
-return n(h,o?e:this,s)}var o=r&_n,f=Gu(t);return i}function ui(n){return function(t,r,e){return e&&"number"!=typeof e&&Ui(t,r,e)&&(r=e=X),t=Ac(t),r===X?(r=t,t=0):r=Ac(r),e=e===X?t<r?1:-1:Ac(e),ru(t,r,e,n)}}function ii(n){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=Ic(t),r=Ic(r)),n(t,r)}}function oi(n,t,r,e,u,i,o,f,c,a){var l=t&yn,s=l?o:X,h=l?X:o,p=l?i:X,_=l?X:i;t|=l?bn:wn,t&=~(l?wn:bn),t&gn||(t&=~(_n|vn));var v=[n,t,u,p,s,_,h,f,c,a],g=r.apply(X,v);return $i(n)&&Ss(g,v),g.placeholder=e,
-Yi(g,n,t)}function fi(n){var t=al[n];return function(n,r){if(n=Ic(n),r=null==r?0:Hl(kc(r),292),r&&Zl(n)){var e=(Ec(n)+"e").split("e");return e=(Ec(t(e[0]+"e"+(+e[1]+r)))+"e").split("e"),+(e[0]+"e"+(+e[1]-r))}return t(n)}}function ci(n){return function(t){var r=zs(t);return r==Gn?M(t):r==tt?q(t):I(t,n(t))}}function ai(n,t,r,e,u,i,o,f){var c=t&vn;if(!c&&"function"!=typeof n)throw new pl(en);var a=e?e.length:0;if(a||(t&=~(bn|wn),e=u=X),o=o===X?o:Gl(kc(o),0),f=f===X?f:kc(f),a-=u?u.length:0,t&wn){var l=e,s=u;
-e=u=X}var h=c?X:Os(n),p=[n,t,r,e,u,l,s,i,o,f];if(h&&qi(p,h),n=p[0],t=p[1],r=p[2],e=p[3],u=p[4],f=p[9]=p[9]===X?c?0:n.length:Gl(p[9]-a,0),!f&&t&(yn|dn)&&(t&=~(yn|dn)),t&&t!=_n)_=t==yn||t==dn?Hu(n,t,f):t!=bn&&t!=(_n|bn)||u.length?Qu.apply(X,p):ei(n,t,r,e);else var _=Zu(n,t,r);return Yi((h?ms:Ss)(_,p),n,t)}function li(n,t,r,e){return n===X||Gf(n,gl[r])&&!bl.call(e,r)?t:n}function si(n,t,r,e,u,i){return fc(n)&&fc(t)&&(i.set(t,n),Ke(n,t,X,si,i),i.delete(t)),n}function hi(n){return gc(n)?X:n}function pi(n,t,r,e,u,i){
-var o=r&hn,f=n.length,c=t.length;if(f!=c&&!(o&&c>f))return!1;var a=i.get(n),l=i.get(t);if(a&&l)return a==t&&l==n;var s=-1,p=!0,_=r&pn?new yr:X;for(i.set(n,t),i.set(t,n);++s<f;){var v=n[s],g=t[s];if(e)var y=o?e(g,v,s,t,n,i):e(v,g,s,n,t,i);if(y!==X){if(y)continue;p=!1;break}if(_){if(!h(t,function(n,t){if(!S(_,t)&&(v===n||u(v,n,r,e,i)))return _.push(t)})){p=!1;break}}else if(v!==g&&!u(v,g,r,e,i)){p=!1;break}}return i.delete(n),i.delete(t),p}function _i(n,t,r,e,u,i,o){switch(r){case ct:if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;
-n=n.buffer,t=t.buffer;case ft:return!(n.byteLength!=t.byteLength||!i(new Rl(n),new Rl(t)));case Nn:case Pn:case Hn:return Gf(+n,+t);case Zn:return n.name==t.name&&n.message==t.message;case nt:case rt:return n==t+"";case Gn:var f=M;case tt:var c=e&hn;if(f||(f=P),n.size!=t.size&&!c)return!1;var a=o.get(n);if(a)return a==t;e|=pn,o.set(n,t);var l=pi(f(n),f(t),e,u,i,o);return o.delete(n),l;case et:if(_s)return _s.call(n)==_s.call(t)}return!1}function vi(n,t,r,e,u,i){var o=r&hn,f=yi(n),c=f.length;if(c!=yi(t).length&&!o)return!1;
-for(var a=c;a--;){var l=f[a];if(!(o?l in t:bl.call(t,l)))return!1}var s=i.get(n),h=i.get(t);if(s&&h)return s==t&&h==n;var p=!0;i.set(n,t),i.set(t,n);for(var _=o;++a<c;){l=f[a];var v=n[l],g=t[l];if(e)var y=o?e(g,v,l,t,n,i):e(v,g,l,n,t,i);if(!(y===X?v===g||u(v,g,r,e,i):y)){p=!1;break}_||(_="constructor"==l)}if(p&&!_){var d=n.constructor,b=t.constructor;d!=b&&"constructor"in n&&"constructor"in t&&!("function"==typeof d&&d instanceof d&&"function"==typeof b&&b instanceof b)&&(p=!1)}return i.delete(n),
-i.delete(t),p}function gi(n){return Ls(Vi(n,X,_o),n+"")}function yi(n){return de(n,Pc,Is)}function di(n){return de(n,qc,Rs)}function bi(n){for(var t=n.name+"",r=fs[t],e=bl.call(fs,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function wi(n){return(bl.call(Z,"placeholder")?Z:n).placeholder}function mi(){var n=Z.iteratee||Ca;return n=n===Ca?De:n,arguments.length?n(arguments[0],arguments[1]):n}function xi(n,t){var r=n.__data__;return Ti(t)?r["string"==typeof t?"string":"hash"]:r.map;
-}function ji(n){for(var t=Pc(n),r=t.length;r--;){var e=t[r],u=n[e];t[r]=[e,u,Fi(u)]}return t}function Ai(n,t){var r=B(n,t);return Ue(r)?r:X}function ki(n){var t=bl.call(n,Bl),r=n[Bl];try{n[Bl]=X;var e=!0}catch(n){}var u=xl.call(n);return e&&(t?n[Bl]=r:delete n[Bl]),u}function Oi(n,t,r){for(var e=-1,u=r.length;++e<u;){var i=r[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":t-=o;break;case"take":t=Hl(t,n+o);break;case"takeRight":n=Gl(n,t-o)}}return{start:n,end:t}}function Ii(n){var t=n.match(Bt);
-return t?t[1].split(Tt):[]}function Ri(n,t,r){t=ku(t,n);for(var e=-1,u=t.length,i=!1;++e<u;){var o=no(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o]}return i||++e!=u?i:(u=null==n?0:n.length,!!u&&oc(u)&&Ci(o,u)&&(bh(n)||dh(n)))}function zi(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&bl.call(n,"index")&&(r.index=n.index,r.input=n.input),r}function Ei(n){return"function"!=typeof n.constructor||Mi(n)?{}:gs(El(n))}function Si(n,t,r){var e=n.constructor;switch(t){case ft:return Ru(n);
-case Nn:case Pn:return new e(+n);case ct:return zu(n,r);case at:case lt:case st:case ht:case pt:case _t:case vt:case gt:case yt:return Wu(n,r);case Gn:return new e;case Hn:case rt:return new e(n);case nt:return Eu(n);case tt:return new e;case et:return Su(n)}}function Wi(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(Ut,"{\n/* [wrapped with "+t+"] */\n")}function Li(n){return bh(n)||dh(n)||!!(Cl&&n&&n[Cl])}function Ci(n,t){var r=typeof n;
-return t=null==t?Wn:t,!!t&&("number"==r||"symbol"!=r&&Vt.test(n))&&n>-1&&n%1==0&&n<t}function Ui(n,t,r){if(!fc(r))return!1;var e=typeof t;return!!("number"==e?Hf(r)&&Ci(t,r.length):"string"==e&&t in r)&&Gf(r[t],n)}function Bi(n,t){if(bh(n))return!1;var r=typeof n;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=n&&!bc(n))||(zt.test(n)||!Rt.test(n)||null!=t&&n in ll(t))}function Ti(n){var t=typeof n;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==n:null===n}function $i(n){
-var t=bi(n),r=Z[t];if("function"!=typeof r||!(t in Ct.prototype))return!1;if(n===r)return!0;var e=Os(r);return!!e&&n===e[0]}function Di(n){return!!ml&&ml in n}function Mi(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||gl)}function Fi(n){return n===n&&!fc(n)}function Ni(n,t){return function(r){return null!=r&&(r[n]===t&&(t!==X||n in ll(r)))}}function Pi(n){var t=Cf(n,function(n){return r.size===fn&&r.clear(),n}),r=t.cache;return t}function qi(n,t){var r=n[1],e=t[1],u=r|e,i=u<(_n|vn|mn),o=e==mn&&r==yn||e==mn&&r==xn&&n[7].length<=t[8]||e==(mn|xn)&&t[7].length<=t[8]&&r==yn;
-if(!i&&!o)return n;e&_n&&(n[2]=t[2],u|=r&_n?0:gn);var f=t[3];if(f){var c=n[3];n[3]=c?Uu(c,f,t[4]):f,n[4]=c?N(n[3],cn):t[4]}return f=t[5],f&&(c=n[5],n[5]=c?Bu(c,f,t[6]):f,n[6]=c?N(n[5],cn):t[6]),f=t[7],f&&(n[7]=f),e&mn&&(n[8]=null==n[8]?t[8]:Hl(n[8],t[8])),null==n[9]&&(n[9]=t[9]),n[0]=t[0],n[1]=u,n}function Zi(n){var t=[];if(null!=n)for(var r in ll(n))t.push(r);return t}function Ki(n){return xl.call(n)}function Vi(t,r,e){return r=Gl(r===X?t.length-1:r,0),function(){for(var u=arguments,i=-1,o=Gl(u.length-r,0),f=il(o);++i<o;)f[i]=u[r+i];
-i=-1;for(var c=il(r+1);++i<r;)c[i]=u[i];return c[r]=e(f),n(t,this,c)}}function Gi(n,t){return t.length<2?n:_e(n,au(t,0,-1))}function Hi(n,t){for(var r=n.length,e=Hl(t.length,r),u=Tu(n);e--;){var i=t[e];n[e]=Ci(i,r)?u[i]:X}return n}function Ji(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}function Yi(n,t,r){var e=t+"";return Ls(n,Wi(e,ro(Ii(e),r)))}function Qi(n){var t=0,r=0;return function(){var e=Jl(),u=In-(e-r);if(r=e,u>0){if(++t>=On)return arguments[0]}else t=0;
-return n.apply(X,arguments)}}function Xi(n,t){var r=-1,e=n.length,u=e-1;for(t=t===X?e:t;++r<t;){var i=tu(r,u),o=n[i];n[i]=n[r],n[r]=o}return n.length=t,n}function no(n){if("string"==typeof n||bc(n))return n;var t=n+"";return"0"==t&&1/n==-Sn?"-0":t}function to(n){if(null!=n){try{return dl.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function ro(n,t){return r($n,function(r){var e="_."+r[0];t&r[1]&&!o(n,e)&&n.push(e)}),n.sort()}function eo(n){if(n instanceof Ct)return n.clone();var t=new Y(n.__wrapped__,n.__chain__);
-return t.__actions__=Tu(n.__actions__),t.__index__=n.__index__,t.__values__=n.__values__,t}function uo(n,t,r){t=(r?Ui(n,t,r):t===X)?1:Gl(kc(t),0);var e=null==n?0:n.length;if(!e||t<1)return[];for(var u=0,i=0,o=il(Fl(e/t));u<e;)o[i++]=au(n,u,u+=t);return o}function io(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i)}return u}function oo(){var n=arguments.length;if(!n)return[];for(var t=il(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return a(bh(r)?Tu(r):[r],ee(t,1));
-}function fo(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===X?1:kc(t),au(n,t<0?0:t,e)):[]}function co(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===X?1:kc(t),t=e-t,au(n,0,t<0?0:t)):[]}function ao(n,t){return n&&n.length?bu(n,mi(t,3),!0,!0):[]}function lo(n,t){return n&&n.length?bu(n,mi(t,3),!0):[]}function so(n,t,r,e){var u=null==n?0:n.length;return u?(r&&"number"!=typeof r&&Ui(n,t,r)&&(r=0,e=u),ne(n,t,r,e)):[]}function ho(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:kc(r);
-return u<0&&(u=Gl(e+u,0)),g(n,mi(t,3),u)}function po(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e-1;return r!==X&&(u=kc(r),u=r<0?Gl(e+u,0):Hl(u,e-1)),g(n,mi(t,3),u,!0)}function _o(n){return(null==n?0:n.length)?ee(n,1):[]}function vo(n){return(null==n?0:n.length)?ee(n,Sn):[]}function go(n,t){return(null==n?0:n.length)?(t=t===X?1:kc(t),ee(n,t)):[]}function yo(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];e[u[0]]=u[1]}return e}function bo(n){return n&&n.length?n[0]:X}function wo(n,t,r){
-var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:kc(r);return u<0&&(u=Gl(e+u,0)),y(n,t,u)}function mo(n){return(null==n?0:n.length)?au(n,0,-1):[]}function xo(n,t){return null==n?"":Kl.call(n,t)}function jo(n){var t=null==n?0:n.length;return t?n[t-1]:X}function Ao(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e;return r!==X&&(u=kc(r),u=u<0?Gl(e+u,0):Hl(u,e-1)),t===t?K(n,t,u):g(n,b,u,!0)}function ko(n,t){return n&&n.length?Ge(n,kc(t)):X}function Oo(n,t){return n&&n.length&&t&&t.length?Xe(n,t):n;
-}function Io(n,t,r){return n&&n.length&&t&&t.length?Xe(n,t,mi(r,2)):n}function Ro(n,t,r){return n&&n.length&&t&&t.length?Xe(n,t,X,r):n}function zo(n,t){var r=[];if(!n||!n.length)return r;var e=-1,u=[],i=n.length;for(t=mi(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o),u.push(e))}return nu(n,u),r}function Eo(n){return null==n?n:Xl.call(n)}function So(n,t,r){var e=null==n?0:n.length;return e?(r&&"number"!=typeof r&&Ui(n,t,r)?(t=0,r=e):(t=null==t?0:kc(t),r=r===X?e:kc(r)),au(n,t,r)):[]}function Wo(n,t){
-return su(n,t)}function Lo(n,t,r){return hu(n,t,mi(r,2))}function Co(n,t){var r=null==n?0:n.length;if(r){var e=su(n,t);if(e<r&&Gf(n[e],t))return e}return-1}function Uo(n,t){return su(n,t,!0)}function Bo(n,t,r){return hu(n,t,mi(r,2),!0)}function To(n,t){if(null==n?0:n.length){var r=su(n,t,!0)-1;if(Gf(n[r],t))return r}return-1}function $o(n){return n&&n.length?pu(n):[]}function Do(n,t){return n&&n.length?pu(n,mi(t,2)):[]}function Mo(n){var t=null==n?0:n.length;return t?au(n,1,t):[]}function Fo(n,t,r){
-return n&&n.length?(t=r||t===X?1:kc(t),au(n,0,t<0?0:t)):[]}function No(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===X?1:kc(t),t=e-t,au(n,t<0?0:t,e)):[]}function Po(n,t){return n&&n.length?bu(n,mi(t,3),!1,!0):[]}function qo(n,t){return n&&n.length?bu(n,mi(t,3)):[]}function Zo(n){return n&&n.length?gu(n):[]}function Ko(n,t){return n&&n.length?gu(n,mi(t,2)):[]}function Vo(n,t){return t="function"==typeof t?t:X,n&&n.length?gu(n,X,t):[]}function Go(n){if(!n||!n.length)return[];var t=0;return n=i(n,function(n){
-if(Jf(n))return t=Gl(n.length,t),!0}),O(t,function(t){return c(n,m(t))})}function Ho(t,r){if(!t||!t.length)return[];var e=Go(t);return null==r?e:c(e,function(t){return n(r,X,t)})}function Jo(n,t){return xu(n||[],t||[],Sr)}function Yo(n,t){return xu(n||[],t||[],fu)}function Qo(n){var t=Z(n);return t.__chain__=!0,t}function Xo(n,t){return t(n),n}function nf(n,t){return t(n)}function tf(){return Qo(this)}function rf(){return new Y(this.value(),this.__chain__)}function ef(){this.__values__===X&&(this.__values__=jc(this.value()));
-var n=this.__index__>=this.__values__.length;return{done:n,value:n?X:this.__values__[this.__index__++]}}function uf(){return this}function of(n){for(var t,r=this;r instanceof J;){var e=eo(r);e.__index__=0,e.__values__=X,t?u.__wrapped__=e:t=e;var u=e;r=r.__wrapped__}return u.__wrapped__=n,t}function ff(){var n=this.__wrapped__;if(n instanceof Ct){var t=n;return this.__actions__.length&&(t=new Ct(this)),t=t.reverse(),t.__actions__.push({func:nf,args:[Eo],thisArg:X}),new Y(t,this.__chain__)}return this.thru(Eo);
-}function cf(){return wu(this.__wrapped__,this.__actions__)}function af(n,t,r){var e=bh(n)?u:Jr;return r&&Ui(n,t,r)&&(t=X),e(n,mi(t,3))}function lf(n,t){return(bh(n)?i:te)(n,mi(t,3))}function sf(n,t){return ee(yf(n,t),1)}function hf(n,t){return ee(yf(n,t),Sn)}function pf(n,t,r){return r=r===X?1:kc(r),ee(yf(n,t),r)}function _f(n,t){return(bh(n)?r:ys)(n,mi(t,3))}function vf(n,t){return(bh(n)?e:ds)(n,mi(t,3))}function gf(n,t,r,e){n=Hf(n)?n:ra(n),r=r&&!e?kc(r):0;var u=n.length;return r<0&&(r=Gl(u+r,0)),
-dc(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&y(n,t,r)>-1}function yf(n,t){return(bh(n)?c:Pe)(n,mi(t,3))}function df(n,t,r,e){return null==n?[]:(bh(t)||(t=null==t?[]:[t]),r=e?X:r,bh(r)||(r=null==r?[]:[r]),He(n,t,r))}function bf(n,t,r){var e=bh(n)?l:j,u=arguments.length<3;return e(n,mi(t,4),r,u,ys)}function wf(n,t,r){var e=bh(n)?s:j,u=arguments.length<3;return e(n,mi(t,4),r,u,ds)}function mf(n,t){return(bh(n)?i:te)(n,Uf(mi(t,3)))}function xf(n){return(bh(n)?Ir:iu)(n)}function jf(n,t,r){return t=(r?Ui(n,t,r):t===X)?1:kc(t),
-(bh(n)?Rr:ou)(n,t)}function Af(n){return(bh(n)?zr:cu)(n)}function kf(n){if(null==n)return 0;if(Hf(n))return dc(n)?V(n):n.length;var t=zs(n);return t==Gn||t==tt?n.size:Me(n).length}function Of(n,t,r){var e=bh(n)?h:lu;return r&&Ui(n,t,r)&&(t=X),e(n,mi(t,3))}function If(n,t){if("function"!=typeof t)throw new pl(en);return n=kc(n),function(){if(--n<1)return t.apply(this,arguments)}}function Rf(n,t,r){return t=r?X:t,t=n&&null==t?n.length:t,ai(n,mn,X,X,X,X,t)}function zf(n,t){var r;if("function"!=typeof t)throw new pl(en);
-return n=kc(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=X),r}}function Ef(n,t,r){t=r?X:t;var e=ai(n,yn,X,X,X,X,X,t);return e.placeholder=Ef.placeholder,e}function Sf(n,t,r){t=r?X:t;var e=ai(n,dn,X,X,X,X,X,t);return e.placeholder=Sf.placeholder,e}function Wf(n,t,r){function e(t){var r=h,e=p;return h=p=X,d=t,v=n.apply(e,r)}function u(n){return d=n,g=Ws(f,t),b?e(n):v}function i(n){var r=n-y,e=n-d,u=t-r;return w?Hl(u,_-e):u}function o(n){var r=n-y,e=n-d;return y===X||r>=t||r<0||w&&e>=_;
-}function f(){var n=fh();return o(n)?c(n):(g=Ws(f,i(n)),X)}function c(n){return g=X,m&&h?e(n):(h=p=X,v)}function a(){g!==X&&As(g),d=0,h=y=p=g=X}function l(){return g===X?v:c(fh())}function s(){var n=fh(),r=o(n);if(h=arguments,p=this,y=n,r){if(g===X)return u(y);if(w)return As(g),g=Ws(f,t),e(y)}return g===X&&(g=Ws(f,t)),v}var h,p,_,v,g,y,d=0,b=!1,w=!1,m=!0;if("function"!=typeof n)throw new pl(en);return t=Ic(t)||0,fc(r)&&(b=!!r.leading,w="maxWait"in r,_=w?Gl(Ic(r.maxWait)||0,t):_,m="trailing"in r?!!r.trailing:m),
-s.cancel=a,s.flush=l,s}function Lf(n){return ai(n,jn)}function Cf(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new pl(en);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Cf.Cache||sr),r}function Uf(n){if("function"!=typeof n)throw new pl(en);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:
-return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}function Bf(n){return zf(2,n)}function Tf(n,t){if("function"!=typeof n)throw new pl(en);return t=t===X?t:kc(t),uu(n,t)}function $f(t,r){if("function"!=typeof t)throw new pl(en);return r=null==r?0:Gl(kc(r),0),uu(function(e){var u=e[r],i=Ou(e,0,r);return u&&a(i,u),n(t,this,i)})}function Df(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new pl(en);return fc(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),
-Wf(n,t,{leading:e,maxWait:t,trailing:u})}function Mf(n){return Rf(n,1)}function Ff(n,t){return ph(Au(t),n)}function Nf(){if(!arguments.length)return[];var n=arguments[0];return bh(n)?n:[n]}function Pf(n){return Fr(n,sn)}function qf(n,t){return t="function"==typeof t?t:X,Fr(n,sn,t)}function Zf(n){return Fr(n,an|sn)}function Kf(n,t){return t="function"==typeof t?t:X,Fr(n,an|sn,t)}function Vf(n,t){return null==t||Pr(n,t,Pc(t))}function Gf(n,t){return n===t||n!==n&&t!==t}function Hf(n){return null!=n&&oc(n.length)&&!uc(n);
-}function Jf(n){return cc(n)&&Hf(n)}function Yf(n){return n===!0||n===!1||cc(n)&&we(n)==Nn}function Qf(n){return cc(n)&&1===n.nodeType&&!gc(n)}function Xf(n){if(null==n)return!0;if(Hf(n)&&(bh(n)||"string"==typeof n||"function"==typeof n.splice||mh(n)||Oh(n)||dh(n)))return!n.length;var t=zs(n);if(t==Gn||t==tt)return!n.size;if(Mi(n))return!Me(n).length;for(var r in n)if(bl.call(n,r))return!1;return!0}function nc(n,t){return Se(n,t)}function tc(n,t,r){r="function"==typeof r?r:X;var e=r?r(n,t):X;return e===X?Se(n,t,X,r):!!e;
-}function rc(n){if(!cc(n))return!1;var t=we(n);return t==Zn||t==qn||"string"==typeof n.message&&"string"==typeof n.name&&!gc(n)}function ec(n){return"number"==typeof n&&Zl(n)}function uc(n){if(!fc(n))return!1;var t=we(n);return t==Kn||t==Vn||t==Fn||t==Xn}function ic(n){return"number"==typeof n&&n==kc(n)}function oc(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=Wn}function fc(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function cc(n){return null!=n&&"object"==typeof n}function ac(n,t){
-return n===t||Ce(n,t,ji(t))}function lc(n,t,r){return r="function"==typeof r?r:X,Ce(n,t,ji(t),r)}function sc(n){return vc(n)&&n!=+n}function hc(n){if(Es(n))throw new fl(rn);return Ue(n)}function pc(n){return null===n}function _c(n){return null==n}function vc(n){return"number"==typeof n||cc(n)&&we(n)==Hn}function gc(n){if(!cc(n)||we(n)!=Yn)return!1;var t=El(n);if(null===t)return!0;var r=bl.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&dl.call(r)==jl}function yc(n){
-return ic(n)&&n>=-Wn&&n<=Wn}function dc(n){return"string"==typeof n||!bh(n)&&cc(n)&&we(n)==rt}function bc(n){return"symbol"==typeof n||cc(n)&&we(n)==et}function wc(n){return n===X}function mc(n){return cc(n)&&zs(n)==it}function xc(n){return cc(n)&&we(n)==ot}function jc(n){if(!n)return[];if(Hf(n))return dc(n)?G(n):Tu(n);if(Ul&&n[Ul])return D(n[Ul]());var t=zs(n);return(t==Gn?M:t==tt?P:ra)(n)}function Ac(n){if(!n)return 0===n?n:0;if(n=Ic(n),n===Sn||n===-Sn){return(n<0?-1:1)*Ln}return n===n?n:0}function kc(n){
-var t=Ac(n),r=t%1;return t===t?r?t-r:t:0}function Oc(n){return n?Mr(kc(n),0,Un):0}function Ic(n){if("number"==typeof n)return n;if(bc(n))return Cn;if(fc(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=fc(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=R(n);var r=qt.test(n);return r||Kt.test(n)?Xr(n.slice(2),r?2:8):Pt.test(n)?Cn:+n}function Rc(n){return $u(n,qc(n))}function zc(n){return n?Mr(kc(n),-Wn,Wn):0===n?n:0}function Ec(n){return null==n?"":vu(n)}function Sc(n,t){var r=gs(n);return null==t?r:Cr(r,t);
-}function Wc(n,t){return v(n,mi(t,3),ue)}function Lc(n,t){return v(n,mi(t,3),oe)}function Cc(n,t){return null==n?n:bs(n,mi(t,3),qc)}function Uc(n,t){return null==n?n:ws(n,mi(t,3),qc)}function Bc(n,t){return n&&ue(n,mi(t,3))}function Tc(n,t){return n&&oe(n,mi(t,3))}function $c(n){return null==n?[]:fe(n,Pc(n))}function Dc(n){return null==n?[]:fe(n,qc(n))}function Mc(n,t,r){var e=null==n?X:_e(n,t);return e===X?r:e}function Fc(n,t){return null!=n&&Ri(n,t,xe)}function Nc(n,t){return null!=n&&Ri(n,t,je);
-}function Pc(n){return Hf(n)?Or(n):Me(n)}function qc(n){return Hf(n)?Or(n,!0):Fe(n)}function Zc(n,t){var r={};return t=mi(t,3),ue(n,function(n,e,u){Br(r,t(n,e,u),n)}),r}function Kc(n,t){var r={};return t=mi(t,3),ue(n,function(n,e,u){Br(r,e,t(n,e,u))}),r}function Vc(n,t){return Gc(n,Uf(mi(t)))}function Gc(n,t){if(null==n)return{};var r=c(di(n),function(n){return[n]});return t=mi(t),Ye(n,r,function(n,r){return t(n,r[0])})}function Hc(n,t,r){t=ku(t,n);var e=-1,u=t.length;for(u||(u=1,n=X);++e<u;){var i=null==n?X:n[no(t[e])];
-i===X&&(e=u,i=r),n=uc(i)?i.call(n):i}return n}function Jc(n,t,r){return null==n?n:fu(n,t,r)}function Yc(n,t,r,e){return e="function"==typeof e?e:X,null==n?n:fu(n,t,r,e)}function Qc(n,t,e){var u=bh(n),i=u||mh(n)||Oh(n);if(t=mi(t,4),null==e){var o=n&&n.constructor;e=i?u?new o:[]:fc(n)&&uc(o)?gs(El(n)):{}}return(i?r:ue)(n,function(n,r,u){return t(e,n,r,u)}),e}function Xc(n,t){return null==n||yu(n,t)}function na(n,t,r){return null==n?n:du(n,t,Au(r))}function ta(n,t,r,e){return e="function"==typeof e?e:X,
-null==n?n:du(n,t,Au(r),e)}function ra(n){return null==n?[]:E(n,Pc(n))}function ea(n){return null==n?[]:E(n,qc(n))}function ua(n,t,r){return r===X&&(r=t,t=X),r!==X&&(r=Ic(r),r=r===r?r:0),t!==X&&(t=Ic(t),t=t===t?t:0),Mr(Ic(n),t,r)}function ia(n,t,r){return t=Ac(t),r===X?(r=t,t=0):r=Ac(r),n=Ic(n),Ae(n,t,r)}function oa(n,t,r){if(r&&"boolean"!=typeof r&&Ui(n,t,r)&&(t=r=X),r===X&&("boolean"==typeof t?(r=t,t=X):"boolean"==typeof n&&(r=n,n=X)),n===X&&t===X?(n=0,t=1):(n=Ac(n),t===X?(t=n,n=0):t=Ac(t)),n>t){
-var e=n;n=t,t=e}if(r||n%1||t%1){var u=Ql();return Hl(n+u*(t-n+Qr("1e-"+((u+"").length-1))),t)}return tu(n,t)}function fa(n){return Qh(Ec(n).toLowerCase())}function ca(n){return n=Ec(n),n&&n.replace(Gt,ve).replace(Dr,"")}function aa(n,t,r){n=Ec(n),t=vu(t);var e=n.length;r=r===X?e:Mr(kc(r),0,e);var u=r;return r-=t.length,r>=0&&n.slice(r,u)==t}function la(n){return n=Ec(n),n&&At.test(n)?n.replace(xt,ge):n}function sa(n){return n=Ec(n),n&&Wt.test(n)?n.replace(St,"\\$&"):n}function ha(n,t,r){n=Ec(n),t=kc(t);
-var e=t?V(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return ri(Nl(u),r)+n+ri(Fl(u),r)}function pa(n,t,r){n=Ec(n),t=kc(t);var e=t?V(n):0;return t&&e<t?n+ri(t-e,r):n}function _a(n,t,r){n=Ec(n),t=kc(t);var e=t?V(n):0;return t&&e<t?ri(t-e,r)+n:n}function va(n,t,r){return r||null==t?t=0:t&&(t=+t),Yl(Ec(n).replace(Lt,""),t||0)}function ga(n,t,r){return t=(r?Ui(n,t,r):t===X)?1:kc(t),eu(Ec(n),t)}function ya(){var n=arguments,t=Ec(n[0]);return n.length<3?t:t.replace(n[1],n[2])}function da(n,t,r){return r&&"number"!=typeof r&&Ui(n,t,r)&&(t=r=X),
-(r=r===X?Un:r>>>0)?(n=Ec(n),n&&("string"==typeof t||null!=t&&!Ah(t))&&(t=vu(t),!t&&T(n))?Ou(G(n),0,r):n.split(t,r)):[]}function ba(n,t,r){return n=Ec(n),r=null==r?0:Mr(kc(r),0,n.length),t=vu(t),n.slice(r,r+t.length)==t}function wa(n,t,r){var e=Z.templateSettings;r&&Ui(n,t,r)&&(t=X),n=Ec(n),t=Sh({},t,e,li);var u,i,o=Sh({},t.imports,e.imports,li),f=Pc(o),c=E(o,f),a=0,l=t.interpolate||Ht,s="__p += '",h=sl((t.escape||Ht).source+"|"+l.source+"|"+(l===It?Ft:Ht).source+"|"+(t.evaluate||Ht).source+"|$","g"),p="//# sourceURL="+(bl.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Zr+"]")+"\n";
-n.replace(h,function(t,r,e,o,f,c){return e||(e=o),s+=n.slice(a,c).replace(Jt,U),r&&(u=!0,s+="' +\n__e("+r+") +\n'"),f&&(i=!0,s+="';\n"+f+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),a=c+t.length,t}),s+="';\n";var _=bl.call(t,"variable")&&t.variable;if(_){if(Dt.test(_))throw new fl(un)}else s="with (obj) {\n"+s+"\n}\n";s=(i?s.replace(dt,""):s).replace(bt,"$1").replace(wt,"$1;"),s="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";
-var v=Xh(function(){return cl(f,p+"return "+s).apply(X,c)});if(v.source=s,rc(v))throw v;return v}function ma(n){return Ec(n).toLowerCase()}function xa(n){return Ec(n).toUpperCase()}function ja(n,t,r){if(n=Ec(n),n&&(r||t===X))return R(n);if(!n||!(t=vu(t)))return n;var e=G(n),u=G(t);return Ou(e,W(e,u),L(e,u)+1).join("")}function Aa(n,t,r){if(n=Ec(n),n&&(r||t===X))return n.slice(0,H(n)+1);if(!n||!(t=vu(t)))return n;var e=G(n);return Ou(e,0,L(e,G(t))+1).join("")}function ka(n,t,r){if(n=Ec(n),n&&(r||t===X))return n.replace(Lt,"");
-if(!n||!(t=vu(t)))return n;var e=G(n);return Ou(e,W(e,G(t))).join("")}function Oa(n,t){var r=An,e=kn;if(fc(t)){var u="separator"in t?t.separator:u;r="length"in t?kc(t.length):r,e="omission"in t?vu(t.omission):e}n=Ec(n);var i=n.length;if(T(n)){var o=G(n);i=o.length}if(r>=i)return n;var f=r-V(e);if(f<1)return e;var c=o?Ou(o,0,f).join(""):n.slice(0,f);if(u===X)return c+e;if(o&&(f+=c.length-f),Ah(u)){if(n.slice(f).search(u)){var a,l=c;for(u.global||(u=sl(u.source,Ec(Nt.exec(u))+"g")),u.lastIndex=0;a=u.exec(l);)var s=a.index;
-c=c.slice(0,s===X?f:s)}}else if(n.indexOf(vu(u),f)!=f){var h=c.lastIndexOf(u);h>-1&&(c=c.slice(0,h))}return c+e}function Ia(n){return n=Ec(n),n&&jt.test(n)?n.replace(mt,ye):n}function Ra(n,t,r){return n=Ec(n),t=r?X:t,t===X?$(n)?Q(n):_(n):n.match(t)||[]}function za(t){var r=null==t?0:t.length,e=mi();return t=r?c(t,function(n){if("function"!=typeof n[1])throw new pl(en);return[e(n[0]),n[1]]}):[],uu(function(e){for(var u=-1;++u<r;){var i=t[u];if(n(i[0],this,e))return n(i[1],this,e)}})}function Ea(n){
-return Nr(Fr(n,an))}function Sa(n){return function(){return n}}function Wa(n,t){return null==n||n!==n?t:n}function La(n){return n}function Ca(n){return De("function"==typeof n?n:Fr(n,an))}function Ua(n){return qe(Fr(n,an))}function Ba(n,t){return Ze(n,Fr(t,an))}function Ta(n,t,e){var u=Pc(t),i=fe(t,u);null!=e||fc(t)&&(i.length||!u.length)||(e=t,t=n,n=this,i=fe(t,Pc(t)));var o=!(fc(e)&&"chain"in e&&!e.chain),f=uc(n);return r(i,function(r){var e=t[r];n[r]=e,f&&(n.prototype[r]=function(){var t=this.__chain__;
-if(o||t){var r=n(this.__wrapped__);return(r.__actions__=Tu(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,a([this.value()],arguments))})}),n}function $a(){return re._===this&&(re._=Al),this}function Da(){}function Ma(n){return n=kc(n),uu(function(t){return Ge(t,n)})}function Fa(n){return Bi(n)?m(no(n)):Qe(n)}function Na(n){return function(t){return null==n?X:_e(n,t)}}function Pa(){return[]}function qa(){return!1}function Za(){return{}}function Ka(){return"";
-}function Va(){return!0}function Ga(n,t){if(n=kc(n),n<1||n>Wn)return[];var r=Un,e=Hl(n,Un);t=mi(t),n-=Un;for(var u=O(e,t);++r<n;)t(r);return u}function Ha(n){return bh(n)?c(n,no):bc(n)?[n]:Tu(Cs(Ec(n)))}function Ja(n){var t=++wl;return Ec(n)+t}function Ya(n){return n&&n.length?Yr(n,La,me):X}function Qa(n,t){return n&&n.length?Yr(n,mi(t,2),me):X}function Xa(n){return w(n,La)}function nl(n,t){return w(n,mi(t,2))}function tl(n){return n&&n.length?Yr(n,La,Ne):X}function rl(n,t){return n&&n.length?Yr(n,mi(t,2),Ne):X;
-}function el(n){return n&&n.length?k(n,La):0}function ul(n,t){return n&&n.length?k(n,mi(t,2)):0}x=null==x?re:be.defaults(re.Object(),x,be.pick(re,qr));var il=x.Array,ol=x.Date,fl=x.Error,cl=x.Function,al=x.Math,ll=x.Object,sl=x.RegExp,hl=x.String,pl=x.TypeError,_l=il.prototype,vl=cl.prototype,gl=ll.prototype,yl=x["__core-js_shared__"],dl=vl.toString,bl=gl.hasOwnProperty,wl=0,ml=function(){var n=/[^.]+$/.exec(yl&&yl.keys&&yl.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),xl=gl.toString,jl=dl.call(ll),Al=re._,kl=sl("^"+dl.call(bl).replace(St,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ol=ie?x.Buffer:X,Il=x.Symbol,Rl=x.Uint8Array,zl=Ol?Ol.allocUnsafe:X,El=F(ll.getPrototypeOf,ll),Sl=ll.create,Wl=gl.propertyIsEnumerable,Ll=_l.splice,Cl=Il?Il.isConcatSpreadable:X,Ul=Il?Il.iterator:X,Bl=Il?Il.toStringTag:X,Tl=function(){
-try{var n=Ai(ll,"defineProperty");return n({},"",{}),n}catch(n){}}(),$l=x.clearTimeout!==re.clearTimeout&&x.clearTimeout,Dl=ol&&ol.now!==re.Date.now&&ol.now,Ml=x.setTimeout!==re.setTimeout&&x.setTimeout,Fl=al.ceil,Nl=al.floor,Pl=ll.getOwnPropertySymbols,ql=Ol?Ol.isBuffer:X,Zl=x.isFinite,Kl=_l.join,Vl=F(ll.keys,ll),Gl=al.max,Hl=al.min,Jl=ol.now,Yl=x.parseInt,Ql=al.random,Xl=_l.reverse,ns=Ai(x,"DataView"),ts=Ai(x,"Map"),rs=Ai(x,"Promise"),es=Ai(x,"Set"),us=Ai(x,"WeakMap"),is=Ai(ll,"create"),os=us&&new us,fs={},cs=to(ns),as=to(ts),ls=to(rs),ss=to(es),hs=to(us),ps=Il?Il.prototype:X,_s=ps?ps.valueOf:X,vs=ps?ps.toString:X,gs=function(){
-function n(){}return function(t){if(!fc(t))return{};if(Sl)return Sl(t);n.prototype=t;var r=new n;return n.prototype=X,r}}();Z.templateSettings={escape:kt,evaluate:Ot,interpolate:It,variable:"",imports:{_:Z}},Z.prototype=J.prototype,Z.prototype.constructor=Z,Y.prototype=gs(J.prototype),Y.prototype.constructor=Y,Ct.prototype=gs(J.prototype),Ct.prototype.constructor=Ct,Xt.prototype.clear=nr,Xt.prototype.delete=tr,Xt.prototype.get=rr,Xt.prototype.has=er,Xt.prototype.set=ur,ir.prototype.clear=or,ir.prototype.delete=fr,
-ir.prototype.get=cr,ir.prototype.has=ar,ir.prototype.set=lr,sr.prototype.clear=hr,sr.prototype.delete=pr,sr.prototype.get=_r,sr.prototype.has=vr,sr.prototype.set=gr,yr.prototype.add=yr.prototype.push=dr,yr.prototype.has=br,wr.prototype.clear=mr,wr.prototype.delete=xr,wr.prototype.get=jr,wr.prototype.has=Ar,wr.prototype.set=kr;var ys=Pu(ue),ds=Pu(oe,!0),bs=qu(),ws=qu(!0),ms=os?function(n,t){return os.set(n,t),n}:La,xs=Tl?function(n,t){return Tl(n,"toString",{configurable:!0,enumerable:!1,value:Sa(t),
-writable:!0})}:La,js=uu,As=$l||function(n){return re.clearTimeout(n)},ks=es&&1/P(new es([,-0]))[1]==Sn?function(n){return new es(n)}:Da,Os=os?function(n){return os.get(n)}:Da,Is=Pl?function(n){return null==n?[]:(n=ll(n),i(Pl(n),function(t){return Wl.call(n,t)}))}:Pa,Rs=Pl?function(n){for(var t=[];n;)a(t,Is(n)),n=El(n);return t}:Pa,zs=we;(ns&&zs(new ns(new ArrayBuffer(1)))!=ct||ts&&zs(new ts)!=Gn||rs&&zs(rs.resolve())!=Qn||es&&zs(new es)!=tt||us&&zs(new us)!=it)&&(zs=function(n){var t=we(n),r=t==Yn?n.constructor:X,e=r?to(r):"";
-if(e)switch(e){case cs:return ct;case as:return Gn;case ls:return Qn;case ss:return tt;case hs:return it}return t});var Es=yl?uc:qa,Ss=Qi(ms),Ws=Ml||function(n,t){return re.setTimeout(n,t)},Ls=Qi(xs),Cs=Pi(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(Et,function(n,r,e,u){t.push(e?u.replace(Mt,"$1"):r||n)}),t}),Us=uu(function(n,t){return Jf(n)?Hr(n,ee(t,1,Jf,!0)):[]}),Bs=uu(function(n,t){var r=jo(t);return Jf(r)&&(r=X),Jf(n)?Hr(n,ee(t,1,Jf,!0),mi(r,2)):[]}),Ts=uu(function(n,t){
-var r=jo(t);return Jf(r)&&(r=X),Jf(n)?Hr(n,ee(t,1,Jf,!0),X,r):[]}),$s=uu(function(n){var t=c(n,ju);return t.length&&t[0]===n[0]?ke(t):[]}),Ds=uu(function(n){var t=jo(n),r=c(n,ju);return t===jo(r)?t=X:r.pop(),r.length&&r[0]===n[0]?ke(r,mi(t,2)):[]}),Ms=uu(function(n){var t=jo(n),r=c(n,ju);return t="function"==typeof t?t:X,t&&r.pop(),r.length&&r[0]===n[0]?ke(r,X,t):[]}),Fs=uu(Oo),Ns=gi(function(n,t){var r=null==n?0:n.length,e=Tr(n,t);return nu(n,c(t,function(n){return Ci(n,r)?+n:n}).sort(Lu)),e}),Ps=uu(function(n){
-return gu(ee(n,1,Jf,!0))}),qs=uu(function(n){var t=jo(n);return Jf(t)&&(t=X),gu(ee(n,1,Jf,!0),mi(t,2))}),Zs=uu(function(n){var t=jo(n);return t="function"==typeof t?t:X,gu(ee(n,1,Jf,!0),X,t)}),Ks=uu(function(n,t){return Jf(n)?Hr(n,t):[]}),Vs=uu(function(n){return mu(i(n,Jf))}),Gs=uu(function(n){var t=jo(n);return Jf(t)&&(t=X),mu(i(n,Jf),mi(t,2))}),Hs=uu(function(n){var t=jo(n);return t="function"==typeof t?t:X,mu(i(n,Jf),X,t)}),Js=uu(Go),Ys=uu(function(n){var t=n.length,r=t>1?n[t-1]:X;return r="function"==typeof r?(n.pop(),
-r):X,Ho(n,r)}),Qs=gi(function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,u=function(t){return Tr(t,n)};return!(t>1||this.__actions__.length)&&e instanceof Ct&&Ci(r)?(e=e.slice(r,+r+(t?1:0)),e.__actions__.push({func:nf,args:[u],thisArg:X}),new Y(e,this.__chain__).thru(function(n){return t&&!n.length&&n.push(X),n})):this.thru(u)}),Xs=Fu(function(n,t,r){bl.call(n,r)?++n[r]:Br(n,r,1)}),nh=Ju(ho),th=Ju(po),rh=Fu(function(n,t,r){bl.call(n,r)?n[r].push(t):Br(n,r,[t])}),eh=uu(function(t,r,e){var u=-1,i="function"==typeof r,o=Hf(t)?il(t.length):[];
-return ys(t,function(t){o[++u]=i?n(r,t,e):Ie(t,r,e)}),o}),uh=Fu(function(n,t,r){Br(n,r,t)}),ih=Fu(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),oh=uu(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Ui(n,t[0],t[1])?t=[]:r>2&&Ui(t[0],t[1],t[2])&&(t=[t[0]]),He(n,ee(t,1),[])}),fh=Dl||function(){return re.Date.now()},ch=uu(function(n,t,r){var e=_n;if(r.length){var u=N(r,wi(ch));e|=bn}return ai(n,e,t,r,u)}),ah=uu(function(n,t,r){var e=_n|vn;if(r.length){var u=N(r,wi(ah));e|=bn;
-}return ai(t,e,n,r,u)}),lh=uu(function(n,t){return Gr(n,1,t)}),sh=uu(function(n,t,r){return Gr(n,Ic(t)||0,r)});Cf.Cache=sr;var hh=js(function(t,r){r=1==r.length&&bh(r[0])?c(r[0],z(mi())):c(ee(r,1),z(mi()));var e=r.length;return uu(function(u){for(var i=-1,o=Hl(u.length,e);++i<o;)u[i]=r[i].call(this,u[i]);return n(t,this,u)})}),ph=uu(function(n,t){return ai(n,bn,X,t,N(t,wi(ph)))}),_h=uu(function(n,t){return ai(n,wn,X,t,N(t,wi(_h)))}),vh=gi(function(n,t){return ai(n,xn,X,X,X,t)}),gh=ii(me),yh=ii(function(n,t){
-return n>=t}),dh=Re(function(){return arguments}())?Re:function(n){return cc(n)&&bl.call(n,"callee")&&!Wl.call(n,"callee")},bh=il.isArray,wh=ce?z(ce):ze,mh=ql||qa,xh=ae?z(ae):Ee,jh=le?z(le):Le,Ah=se?z(se):Be,kh=he?z(he):Te,Oh=pe?z(pe):$e,Ih=ii(Ne),Rh=ii(function(n,t){return n<=t}),zh=Nu(function(n,t){if(Mi(t)||Hf(t))return $u(t,Pc(t),n),X;for(var r in t)bl.call(t,r)&&Sr(n,r,t[r])}),Eh=Nu(function(n,t){$u(t,qc(t),n)}),Sh=Nu(function(n,t,r,e){$u(t,qc(t),n,e)}),Wh=Nu(function(n,t,r,e){$u(t,Pc(t),n,e);
-}),Lh=gi(Tr),Ch=uu(function(n,t){n=ll(n);var r=-1,e=t.length,u=e>2?t[2]:X;for(u&&Ui(t[0],t[1],u)&&(e=1);++r<e;)for(var i=t[r],o=qc(i),f=-1,c=o.length;++f<c;){var a=o[f],l=n[a];(l===X||Gf(l,gl[a])&&!bl.call(n,a))&&(n[a]=i[a])}return n}),Uh=uu(function(t){return t.push(X,si),n(Mh,X,t)}),Bh=Xu(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=xl.call(t)),n[t]=r},Sa(La)),Th=Xu(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=xl.call(t)),bl.call(n,t)?n[t].push(r):n[t]=[r]},mi),$h=uu(Ie),Dh=Nu(function(n,t,r){
-Ke(n,t,r)}),Mh=Nu(function(n,t,r,e){Ke(n,t,r,e)}),Fh=gi(function(n,t){var r={};if(null==n)return r;var e=!1;t=c(t,function(t){return t=ku(t,n),e||(e=t.length>1),t}),$u(n,di(n),r),e&&(r=Fr(r,an|ln|sn,hi));for(var u=t.length;u--;)yu(r,t[u]);return r}),Nh=gi(function(n,t){return null==n?{}:Je(n,t)}),Ph=ci(Pc),qh=ci(qc),Zh=Vu(function(n,t,r){return t=t.toLowerCase(),n+(r?fa(t):t)}),Kh=Vu(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),Vh=Vu(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),Gh=Ku("toLowerCase"),Hh=Vu(function(n,t,r){
-return n+(r?"_":"")+t.toLowerCase()}),Jh=Vu(function(n,t,r){return n+(r?" ":"")+Qh(t)}),Yh=Vu(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),Qh=Ku("toUpperCase"),Xh=uu(function(t,r){try{return n(t,X,r)}catch(n){return rc(n)?n:new fl(n)}}),np=gi(function(n,t){return r(t,function(t){t=no(t),Br(n,t,ch(n[t],n))}),n}),tp=Yu(),rp=Yu(!0),ep=uu(function(n,t){return function(r){return Ie(r,n,t)}}),up=uu(function(n,t){return function(r){return Ie(n,r,t)}}),ip=ti(c),op=ti(u),fp=ti(h),cp=ui(),ap=ui(!0),lp=ni(function(n,t){
-return n+t},0),sp=fi("ceil"),hp=ni(function(n,t){return n/t},1),pp=fi("floor"),_p=ni(function(n,t){return n*t},1),vp=fi("round"),gp=ni(function(n,t){return n-t},0);return Z.after=If,Z.ary=Rf,Z.assign=zh,Z.assignIn=Eh,Z.assignInWith=Sh,Z.assignWith=Wh,Z.at=Lh,Z.before=zf,Z.bind=ch,Z.bindAll=np,Z.bindKey=ah,Z.castArray=Nf,Z.chain=Qo,Z.chunk=uo,Z.compact=io,Z.concat=oo,Z.cond=za,Z.conforms=Ea,Z.constant=Sa,Z.countBy=Xs,Z.create=Sc,Z.curry=Ef,Z.curryRight=Sf,Z.debounce=Wf,Z.defaults=Ch,Z.defaultsDeep=Uh,
-Z.defer=lh,Z.delay=sh,Z.difference=Us,Z.differenceBy=Bs,Z.differenceWith=Ts,Z.drop=fo,Z.dropRight=co,Z.dropRightWhile=ao,Z.dropWhile=lo,Z.fill=so,Z.filter=lf,Z.flatMap=sf,Z.flatMapDeep=hf,Z.flatMapDepth=pf,Z.flatten=_o,Z.flattenDeep=vo,Z.flattenDepth=go,Z.flip=Lf,Z.flow=tp,Z.flowRight=rp,Z.fromPairs=yo,Z.functions=$c,Z.functionsIn=Dc,Z.groupBy=rh,Z.initial=mo,Z.intersection=$s,Z.intersectionBy=Ds,Z.intersectionWith=Ms,Z.invert=Bh,Z.invertBy=Th,Z.invokeMap=eh,Z.iteratee=Ca,Z.keyBy=uh,Z.keys=Pc,Z.keysIn=qc,
-Z.map=yf,Z.mapKeys=Zc,Z.mapValues=Kc,Z.matches=Ua,Z.matchesProperty=Ba,Z.memoize=Cf,Z.merge=Dh,Z.mergeWith=Mh,Z.method=ep,Z.methodOf=up,Z.mixin=Ta,Z.negate=Uf,Z.nthArg=Ma,Z.omit=Fh,Z.omitBy=Vc,Z.once=Bf,Z.orderBy=df,Z.over=ip,Z.overArgs=hh,Z.overEvery=op,Z.overSome=fp,Z.partial=ph,Z.partialRight=_h,Z.partition=ih,Z.pick=Nh,Z.pickBy=Gc,Z.property=Fa,Z.propertyOf=Na,Z.pull=Fs,Z.pullAll=Oo,Z.pullAllBy=Io,Z.pullAllWith=Ro,Z.pullAt=Ns,Z.range=cp,Z.rangeRight=ap,Z.rearg=vh,Z.reject=mf,Z.remove=zo,Z.rest=Tf,
-Z.reverse=Eo,Z.sampleSize=jf,Z.set=Jc,Z.setWith=Yc,Z.shuffle=Af,Z.slice=So,Z.sortBy=oh,Z.sortedUniq=$o,Z.sortedUniqBy=Do,Z.split=da,Z.spread=$f,Z.tail=Mo,Z.take=Fo,Z.takeRight=No,Z.takeRightWhile=Po,Z.takeWhile=qo,Z.tap=Xo,Z.throttle=Df,Z.thru=nf,Z.toArray=jc,Z.toPairs=Ph,Z.toPairsIn=qh,Z.toPath=Ha,Z.toPlainObject=Rc,Z.transform=Qc,Z.unary=Mf,Z.union=Ps,Z.unionBy=qs,Z.unionWith=Zs,Z.uniq=Zo,Z.uniqBy=Ko,Z.uniqWith=Vo,Z.unset=Xc,Z.unzip=Go,Z.unzipWith=Ho,Z.update=na,Z.updateWith=ta,Z.values=ra,Z.valuesIn=ea,
-Z.without=Ks,Z.words=Ra,Z.wrap=Ff,Z.xor=Vs,Z.xorBy=Gs,Z.xorWith=Hs,Z.zip=Js,Z.zipObject=Jo,Z.zipObjectDeep=Yo,Z.zipWith=Ys,Z.entries=Ph,Z.entriesIn=qh,Z.extend=Eh,Z.extendWith=Sh,Ta(Z,Z),Z.add=lp,Z.attempt=Xh,Z.camelCase=Zh,Z.capitalize=fa,Z.ceil=sp,Z.clamp=ua,Z.clone=Pf,Z.cloneDeep=Zf,Z.cloneDeepWith=Kf,Z.cloneWith=qf,Z.conformsTo=Vf,Z.deburr=ca,Z.defaultTo=Wa,Z.divide=hp,Z.endsWith=aa,Z.eq=Gf,Z.escape=la,Z.escapeRegExp=sa,Z.every=af,Z.find=nh,Z.findIndex=ho,Z.findKey=Wc,Z.findLast=th,Z.findLastIndex=po,
-Z.findLastKey=Lc,Z.floor=pp,Z.forEach=_f,Z.forEachRight=vf,Z.forIn=Cc,Z.forInRight=Uc,Z.forOwn=Bc,Z.forOwnRight=Tc,Z.get=Mc,Z.gt=gh,Z.gte=yh,Z.has=Fc,Z.hasIn=Nc,Z.head=bo,Z.identity=La,Z.includes=gf,Z.indexOf=wo,Z.inRange=ia,Z.invoke=$h,Z.isArguments=dh,Z.isArray=bh,Z.isArrayBuffer=wh,Z.isArrayLike=Hf,Z.isArrayLikeObject=Jf,Z.isBoolean=Yf,Z.isBuffer=mh,Z.isDate=xh,Z.isElement=Qf,Z.isEmpty=Xf,Z.isEqual=nc,Z.isEqualWith=tc,Z.isError=rc,Z.isFinite=ec,Z.isFunction=uc,Z.isInteger=ic,Z.isLength=oc,Z.isMap=jh,
-Z.isMatch=ac,Z.isMatchWith=lc,Z.isNaN=sc,Z.isNative=hc,Z.isNil=_c,Z.isNull=pc,Z.isNumber=vc,Z.isObject=fc,Z.isObjectLike=cc,Z.isPlainObject=gc,Z.isRegExp=Ah,Z.isSafeInteger=yc,Z.isSet=kh,Z.isString=dc,Z.isSymbol=bc,Z.isTypedArray=Oh,Z.isUndefined=wc,Z.isWeakMap=mc,Z.isWeakSet=xc,Z.join=xo,Z.kebabCase=Kh,Z.last=jo,Z.lastIndexOf=Ao,Z.lowerCase=Vh,Z.lowerFirst=Gh,Z.lt=Ih,Z.lte=Rh,Z.max=Ya,Z.maxBy=Qa,Z.mean=Xa,Z.meanBy=nl,Z.min=tl,Z.minBy=rl,Z.stubArray=Pa,Z.stubFalse=qa,Z.stubObject=Za,Z.stubString=Ka,
-Z.stubTrue=Va,Z.multiply=_p,Z.nth=ko,Z.noConflict=$a,Z.noop=Da,Z.now=fh,Z.pad=ha,Z.padEnd=pa,Z.padStart=_a,Z.parseInt=va,Z.random=oa,Z.reduce=bf,Z.reduceRight=wf,Z.repeat=ga,Z.replace=ya,Z.result=Hc,Z.round=vp,Z.runInContext=p,Z.sample=xf,Z.size=kf,Z.snakeCase=Hh,Z.some=Of,Z.sortedIndex=Wo,Z.sortedIndexBy=Lo,Z.sortedIndexOf=Co,Z.sortedLastIndex=Uo,Z.sortedLastIndexBy=Bo,Z.sortedLastIndexOf=To,Z.startCase=Jh,Z.startsWith=ba,Z.subtract=gp,Z.sum=el,Z.sumBy=ul,Z.template=wa,Z.times=Ga,Z.toFinite=Ac,Z.toInteger=kc,
-Z.toLength=Oc,Z.toLower=ma,Z.toNumber=Ic,Z.toSafeInteger=zc,Z.toString=Ec,Z.toUpper=xa,Z.trim=ja,Z.trimEnd=Aa,Z.trimStart=ka,Z.truncate=Oa,Z.unescape=Ia,Z.uniqueId=Ja,Z.upperCase=Yh,Z.upperFirst=Qh,Z.each=_f,Z.eachRight=vf,Z.first=bo,Ta(Z,function(){var n={};return ue(Z,function(t,r){bl.call(Z.prototype,r)||(n[r]=t)}),n}(),{chain:!1}),Z.VERSION=nn,r(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){Z[n].placeholder=Z}),r(["drop","take"],function(n,t){Ct.prototype[n]=function(r){
-r=r===X?1:Gl(kc(r),0);var e=this.__filtered__&&!t?new Ct(this):this.clone();return e.__filtered__?e.__takeCount__=Hl(r,e.__takeCount__):e.__views__.push({size:Hl(r,Un),type:n+(e.__dir__<0?"Right":"")}),e},Ct.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),r(["filter","map","takeWhile"],function(n,t){var r=t+1,e=r==Rn||r==En;Ct.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:mi(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),r(["head","last"],function(n,t){
-var r="take"+(t?"Right":"");Ct.prototype[n]=function(){return this[r](1).value()[0]}}),r(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");Ct.prototype[n]=function(){return this.__filtered__?new Ct(this):this[r](1)}}),Ct.prototype.compact=function(){return this.filter(La)},Ct.prototype.find=function(n){return this.filter(n).head()},Ct.prototype.findLast=function(n){return this.reverse().find(n)},Ct.prototype.invokeMap=uu(function(n,t){return"function"==typeof n?new Ct(this):this.map(function(r){
-return Ie(r,n,t)})}),Ct.prototype.reject=function(n){return this.filter(Uf(mi(n)))},Ct.prototype.slice=function(n,t){n=kc(n);var r=this;return r.__filtered__&&(n>0||t<0)?new Ct(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==X&&(t=kc(t),r=t<0?r.dropRight(-t):r.take(t-n)),r)},Ct.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Ct.prototype.toArray=function(){return this.take(Un)},ue(Ct.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),u=Z[e?"take"+("last"==t?"Right":""):t],i=e||/^find/.test(t);
-u&&(Z.prototype[t]=function(){var t=this.__wrapped__,o=e?[1]:arguments,f=t instanceof Ct,c=o[0],l=f||bh(t),s=function(n){var t=u.apply(Z,a([n],o));return e&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(f=l=!1);var h=this.__chain__,p=!!this.__actions__.length,_=i&&!h,v=f&&!p;if(!i&&l){t=v?t:new Ct(this);var g=n.apply(t,o);return g.__actions__.push({func:nf,args:[s],thisArg:X}),new Y(g,h)}return _&&v?n.apply(this,o):(g=this.thru(s),_?e?g.value()[0]:g.value():g)})}),r(["pop","push","shift","sort","splice","unshift"],function(n){
-var t=_l[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);Z.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(bh(u)?u:[],n)}return this[r](function(r){return t.apply(bh(r)?r:[],n)})}}),ue(Ct.prototype,function(n,t){var r=Z[t];if(r){var e=r.name+"";bl.call(fs,e)||(fs[e]=[]),fs[e].push({name:t,func:r})}}),fs[Qu(X,vn).name]=[{name:"wrapper",func:X}],Ct.prototype.clone=$t,Ct.prototype.reverse=Yt,Ct.prototype.value=Qt,Z.prototype.at=Qs,
-Z.prototype.chain=tf,Z.prototype.commit=rf,Z.prototype.next=ef,Z.prototype.plant=of,Z.prototype.reverse=ff,Z.prototype.toJSON=Z.prototype.valueOf=Z.prototype.value=cf,Z.prototype.first=Z.prototype.head,Ul&&(Z.prototype[Ul]=uf),Z},be=de();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(re._=be,define(function(){return be})):ue?((ue.exports=be)._=be,ee._=be):re._=be}).call(this);
\ No newline at end of file
+(function(){function n(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function t(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function r(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&!1!==t(n[r],r,n););return n}function e(n,t){for(var r=null==n?0:n.length;r--&&!1!==t(n[r],r,n););return n}function u(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return!1;return!0}function i(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function o(n,t){return!(null==n||!n.length)&&g(n,t,0)>-1}function f(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return!0;return!1}function c(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function a(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function l(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);return r}function s(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function h(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}function p(n){return n.match(Yn)||[]}function _(n,t,r){var e;return r(n,(function(n,r,u){if(t(n,r,u))return e=r,!1})),e}function v(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;)if(t(n[i],i,n))return i;return-1}function g(n,t,r){return t==t?function(n,t,r){for(var e=r-1,u=n.length;++e<u;)if(n[e]===t)return e;return-1}(n,t,r):v(n,d,r)}function y(n,t,r,e){for(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return-1}function d(n){return n!=n}function b(n,t){var r=null==n?0:n.length;return r?j(n,t)/r:nn}function w(n){return function(t){return null==t?P:t[n]}}function m(n){return function(t){return null==n?P:n[t]}}function x(n,t,r,e,u){return u(n,(function(n,u,i){r=e?(e=!1,n):t(r,n,u,i)})),r}function j(n,t){for(var r,e=-1,u=n.length;++e<u;){var i=t(n[e]);i!==P&&(r=r===P?i:r+i)}return r}function A(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function k(n){return n?n.slice(0,F(n)+1).replace(Kn,""):n}function O(n){return function(t){return n(t)}}function I(n,t){return c(t,(function(t){return n[t]}))}function R(n,t){return n.has(t)}function z(n,t){for(var r=-1,e=n.length;++r<e&&g(t,n[r],0)>-1;);return r}function E(n,t){for(var r=n.length;r--&&g(t,n[r],0)>-1;);return r}function S(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}function W(n){return"\\"+Jt[n]}function L(n){return qt.test(n)}function C(n){return Zt.test(n)}function U(n){var t=-1,r=Array(n.size);return n.forEach((function(n,e){r[++t]=[e,n]})),r}function B(n,t){return function(r){return n(t(r))}}function T(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r];o!==t&&o!==K||(n[r]=K,i[u++]=r)}return i}function $(n){var t=-1,r=Array(n.size);return n.forEach((function(n){r[++t]=n})),r}function D(n){return L(n)?function(n){for(var t=Nt.lastIndex=0;Nt.test(n);)++t;return t}(n):pr(n)}function M(n){return L(n)?function(n){return n.match(Nt)||[]}(n):function(n){return n.split("")}(n)}function F(n){for(var t=n.length;t--&&Vn.test(n.charAt(t)););return t}function N(n){return n.match(Pt)||[]}var P,q="Expected a function",Z="__lodash_hash_undefined__",K="__lodash_placeholder__",V=16,G=32,H=64,J=128,Y=256,Q=1/0,X=9007199254740991,nn=NaN,tn=4294967295,rn=[["ary",J],["bind",1],["bindKey",2],["curry",8],["curryRight",V],["flip",512],["partial",G],["partialRight",H],["rearg",Y]],en="[object Arguments]",un="[object Array]",on="[object Boolean]",fn="[object Date]",cn="[object Error]",an="[object Function]",ln="[object GeneratorFunction]",sn="[object Map]",hn="[object Number]",pn="[object Object]",_n="[object Promise]",vn="[object RegExp]",gn="[object Set]",yn="[object String]",dn="[object Symbol]",bn="[object WeakMap]",wn="[object ArrayBuffer]",mn="[object DataView]",xn="[object Float32Array]",jn="[object Float64Array]",An="[object Int8Array]",kn="[object Int16Array]",On="[object Int32Array]",In="[object Uint8Array]",Rn="[object Uint8ClampedArray]",zn="[object Uint16Array]",En="[object Uint32Array]",Sn=/\b__p \+= '';/g,Wn=/\b(__p \+=) '' \+/g,Ln=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Cn=/&(?:amp|lt|gt|quot|#39);/g,Un=/[&<>"']/g,Bn=RegExp(Cn.source),Tn=RegExp(Un.source),$n=/<%-([\s\S]+?)%>/g,Dn=/<%([\s\S]+?)%>/g,Mn=/<%=([\s\S]+?)%>/g,Fn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nn=/^\w*$/,Pn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qn=/[\\^$.*+?()[\]{}|]/g,Zn=RegExp(qn.source),Kn=/^\s+/,Vn=/\s/,Gn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Hn=/\{\n\/\* \[wrapped with (.+)\] \*/,Jn=/,? & /,Yn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qn=/[()=,{}\[\]\/\s]/,Xn=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,tt=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,et=/^0b[01]+$/i,ut=/^\[object .+?Constructor\]$/,it=/^0o[0-7]+$/i,ot=/^(?:0|[1-9]\d*)$/,ft=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=/($^)/,at=/['\n\r\u2028\u2029\\]/g,lt="\\ud800-\\udfff",st="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ht="\\u2700-\\u27bf",pt="a-z\\xdf-\\xf6\\xf8-\\xff",_t="A-Z\\xc0-\\xd6\\xd8-\\xde",vt="\\ufe0e\\ufe0f",gt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",yt="['’]",dt="["+lt+"]",bt="["+gt+"]",wt="["+st+"]",mt="\\d+",xt="["+ht+"]",jt="["+pt+"]",At="[^"+lt+gt+mt+ht+pt+_t+"]",kt="\\ud83c[\\udffb-\\udfff]",Ot="[^"+lt+"]",It="(?:\\ud83c[\\udde6-\\uddff]){2}",Rt="[\\ud800-\\udbff][\\udc00-\\udfff]",zt="["+_t+"]",Et="\\u200d",St="(?:"+jt+"|"+At+")",Wt="(?:"+zt+"|"+At+")",Lt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ct="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ut="(?:"+wt+"|"+kt+")"+"?",Bt="["+vt+"]?",Tt=Bt+Ut+("(?:\\u200d(?:"+[Ot,It,Rt].join("|")+")"+Bt+Ut+")*"),$t="(?:"+[xt,It,Rt].join("|")+")"+Tt,Dt="(?:"+[Ot+wt+"?",wt,It,Rt,dt].join("|")+")",Mt=RegExp(yt,"g"),Ft=RegExp(wt,"g"),Nt=RegExp(kt+"(?="+kt+")|"+Dt+Tt,"g"),Pt=RegExp([zt+"?"+jt+"+"+Lt+"(?="+[bt,zt,"$"].join("|")+")",Wt+"+"+Ct+"(?="+[bt,zt+St,"$"].join("|")+")",zt+"?"+St+"+"+Lt,zt+"+"+Ct,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mt,$t].join("|"),"g"),qt=RegExp("["+Et+lt+st+vt+"]"),Zt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vt=-1,Gt={};Gt[xn]=Gt[jn]=Gt[An]=Gt[kn]=Gt[On]=Gt[In]=Gt[Rn]=Gt[zn]=Gt[En]=!0,Gt[en]=Gt[un]=Gt[wn]=Gt[on]=Gt[mn]=Gt[fn]=Gt[cn]=Gt[an]=Gt[sn]=Gt[hn]=Gt[pn]=Gt[vn]=Gt[gn]=Gt[yn]=Gt[bn]=!1;var Ht={};Ht[en]=Ht[un]=Ht[wn]=Ht[mn]=Ht[on]=Ht[fn]=Ht[xn]=Ht[jn]=Ht[An]=Ht[kn]=Ht[On]=Ht[sn]=Ht[hn]=Ht[pn]=Ht[vn]=Ht[gn]=Ht[yn]=Ht[dn]=Ht[In]=Ht[Rn]=Ht[zn]=Ht[En]=!0,Ht[cn]=Ht[an]=Ht[bn]=!1;var Jt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Yt=parseFloat,Qt=parseInt,Xt="object"==typeof global&&global&&global.Object===Object&&global,nr="object"==typeof self&&self&&self.Object===Object&&self,tr=Xt||nr||Function("return this")(),rr="object"==typeof exports&&exports&&!exports.nodeType&&exports,er=rr&&"object"==typeof module&&module&&!module.nodeType&&module,ur=er&&er.exports===rr,ir=ur&&Xt.process,or=function(){try{var n=er&&er.require&&er.require("util").types;return n||ir&&ir.binding&&ir.binding("util")}catch(n){}}(),fr=or&&or.isArrayBuffer,cr=or&&or.isDate,ar=or&&or.isMap,lr=or&&or.isRegExp,sr=or&&or.isSet,hr=or&&or.isTypedArray,pr=w("length"),_r=m({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),vr=m({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),gr=m({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),yr=function m(Vn){function Yn(n){if(Mu(n)&&!Sf(n)&&!(n instanceof ht)){if(n instanceof st)return n;if(zi.call(n,"__wrapped__"))return hu(n)}return new st(n)}function lt(){}function st(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=P}function ht(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=tn,this.__views__=[]}function pt(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function _t(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function vt(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function gt(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new vt;++t<r;)this.add(n[t])}function yt(n){this.size=(this.__data__=new _t(n)).size}function dt(n,t){var r=Sf(n),e=!r&&Ef(n),u=!r&&!e&&Lf(n),i=!r&&!e&&!u&&$f(n),o=r||e||u||i,f=o?A(n.length,xi):[],c=f.length;for(var a in n)!t&&!zi.call(n,a)||o&&("length"==a||u&&("offset"==a||"parent"==a)||i&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||He(a,c))||f.push(a);return f}function bt(n){var t=n.length;return t?n[Wr(0,t-1)]:P}function wt(n,t){return cu(ae(n),zt(t,0,n.length))}function mt(n){return cu(ae(n))}function xt(n,t,r){(r===P||Wu(n[t],r))&&(r!==P||t in n)||It(n,t,r)}function jt(n,t,r){var e=n[t];zi.call(n,t)&&Wu(e,r)&&(r!==P||t in n)||It(n,t,r)}function At(n,t){for(var r=n.length;r--;)if(Wu(n[r][0],t))return r;return-1}function kt(n,t,r,e){return Ro(n,(function(n,u,i){t(e,n,r(n),i)})),e}function Ot(n,t){return n&&le(t,ni(t),n)}function It(n,t,r){"__proto__"==t&&Vi?Vi(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function Rt(n,t){for(var r=-1,e=t.length,u=vi(e),i=null==n;++r<e;)u[r]=i?P:Qu(n,t[r]);return u}function zt(n,t,r){return n==n&&(r!==P&&(n=n<=r?n:r),t!==P&&(n=n>=t?n:t)),n}function Et(n,t,e,u,i,o){var f,c=1&t,a=2&t,l=4&t;if(e&&(f=i?e(n,u,i,o):e(n)),f!==P)return f;if(!Du(n))return n;var s=Sf(n);if(s){if(f=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&zi.call(n,"index")&&(r.index=n.index,r.input=n.input),r}(n),!c)return ae(n,f)}else{var h=Mo(n),p=h==an||h==ln;if(Lf(n))return ee(n,c);if(h==pn||h==en||p&&!i){if(f=a||p?{}:Ve(n),!c)return a?function(n,t){return le(n,Do(n),t)}(n,function(n,t){return n&&le(t,ti(t),n)}(f,n)):function(n,t){return le(n,$o(n),t)}(n,Ot(f,n))}else{if(!Ht[h])return i?n:{};f=function(n,t,r){var e=n.constructor;switch(t){case wn:return ue(n);case on:case fn:return new e(+n);case mn:return function(n,t){return new n.constructor(t?ue(n.buffer):n.buffer,n.byteOffset,n.byteLength)}(n,r);case xn:case jn:case An:case kn:case On:case In:case Rn:case zn:case En:return ie(n,r);case sn:return new e;case hn:case yn:return new e(n);case vn:return function(n){var t=new n.constructor(n.source,tt.exec(n));return t.lastIndex=n.lastIndex,t}(n);case gn:return new e;case dn:return function(n){return ko?wi(ko.call(n)):{}}(n)}}(n,h,c)}}o||(o=new yt);var _=o.get(n);if(_)return _;o.set(n,f),Tf(n)?n.forEach((function(r){f.add(Et(r,t,e,r,n,o))})):Uf(n)&&n.forEach((function(r,u){f.set(u,Et(r,t,e,u,n,o))}));var v=s?P:(l?a?De:$e:a?ti:ni)(n);return r(v||n,(function(r,u){v&&(r=n[u=r]),jt(f,u,Et(r,t,e,u,n,o))})),f}function St(n,t,r){var e=r.length;if(null==n)return!e;for(n=wi(n);e--;){var u=r[e],i=t[u],o=n[u];if(o===P&&!(u in n)||!i(o))return!1}return!0}function Wt(n,t,r){if("function"!=typeof n)throw new ji(q);return Po((function(){n.apply(P,r)}),t)}function Lt(n,t,r,e){var u=-1,i=o,a=!0,l=n.length,s=[],h=t.length;if(!l)return s;r&&(t=c(t,O(r))),e?(i=f,a=!1):t.length>=200&&(i=R,a=!1,t=new gt(t));n:for(;++u<l;){var p=n[u],_=null==r?p:r(p);if(p=e||0!==p?p:0,a&&_==_){for(var v=h;v--;)if(t[v]===_)continue n;s.push(p)}else i(t,_,e)||s.push(p)}return s}function Ct(n,t){var r=!0;return Ro(n,(function(n,e,u){return r=!!t(n,e,u)})),r}function Ut(n,t,r){for(var e=-1,u=n.length;++e<u;){var i=n[e],o=t(i);if(null!=o&&(f===P?o==o&&!qu(o):r(o,f)))var f=o,c=i}return c}function Bt(n,t){var r=[];return Ro(n,(function(n,e,u){t(n,e,u)&&r.push(n)})),r}function Tt(n,t,r,e,u){var i=-1,o=n.length;for(r||(r=Ge),u||(u=[]);++i<o;){var f=n[i];t>0&&r(f)?t>1?Tt(f,t-1,r,e,u):a(u,f):e||(u[u.length]=f)}return u}function $t(n,t){return n&&Eo(n,t,ni)}function Dt(n,t){return n&&So(n,t,ni)}function Nt(n,t){return i(t,(function(t){return Bu(n[t])}))}function Pt(n,t){for(var r=0,e=(t=te(t,n)).length;null!=n&&r<e;)n=n[au(t[r++])];return r&&r==e?n:P}function qt(n,t,r){var e=t(n);return Sf(n)?e:a(e,r(n))}function Zt(n){return null==n?n===P?"[object Undefined]":"[object Null]":Ki&&Ki in wi(n)?function(n){var t=zi.call(n,Ki),r=n[Ki];try{n[Ki]=P;var e=!0}catch(n){}var u=Wi.call(n);return e&&(t?n[Ki]=r:delete n[Ki]),u}(n):function(n){return Wi.call(n)}(n)}function Jt(n,t){return n>t}function Xt(n,t){return null!=n&&zi.call(n,t)}function nr(n,t){return null!=n&&t in wi(n)}function rr(n,t,r){for(var e=r?f:o,u=n[0].length,i=n.length,a=i,l=vi(i),s=1/0,h=[];a--;){var p=n[a];a&&t&&(p=c(p,O(t))),s=io(p.length,s),l[a]=!r&&(t||u>=120&&p.length>=120)?new gt(a&&p):P}p=n[0];var _=-1,v=l[0];n:for(;++_<u&&h.length<s;){var g=p[_],y=t?t(g):g;if(g=r||0!==g?g:0,!(v?R(v,y):e(h,y,r))){for(a=i;--a;){var d=l[a];if(!(d?R(d,y):e(n[a],y,r)))continue n}v&&v.push(y),h.push(g)}}return h}function er(t,r,e){var u=null==(t=eu(t,r=te(r,t)))?t:t[au(yu(r))];return null==u?P:n(u,t,e)}function ir(n){return Mu(n)&&Zt(n)==en}function or(n,t,r,e,u){return n===t||(null==n||null==t||!Mu(n)&&!Mu(t)?n!=n&&t!=t:function(n,t,r,e,u,i){var o=Sf(n),f=Sf(t),c=o?un:Mo(n),a=f?un:Mo(t),l=(c=c==en?pn:c)==pn,s=(a=a==en?pn:a)==pn,h=c==a;if(h&&Lf(n)){if(!Lf(t))return!1;o=!0,l=!1}if(h&&!l)return i||(i=new yt),o||$f(n)?Be(n,t,r,e,u,i):function(n,t,r,e,u,i,o){switch(r){case mn:if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;n=n.buffer,t=t.buffer;case wn:return!(n.byteLength!=t.byteLength||!i(new $i(n),new $i(t)));case on:case fn:case hn:return Wu(+n,+t);case cn:return n.name==t.name&&n.message==t.message;case vn:case yn:return n==t+"";case sn:var f=U;case gn:var c=1&e;if(f||(f=$),n.size!=t.size&&!c)return!1;var a=o.get(n);if(a)return a==t;e|=2,o.set(n,t);var l=Be(f(n),f(t),e,u,i,o);return o.delete(n),l;case dn:if(ko)return ko.call(n)==ko.call(t)}return!1}(n,t,c,r,e,u,i);if(!(1&r)){var p=l&&zi.call(n,"__wrapped__"),_=s&&zi.call(t,"__wrapped__");if(p||_){var v=p?n.value():n,g=_?t.value():t;return i||(i=new yt),u(v,g,r,e,i)}}return!!h&&(i||(i=new yt),function(n,t,r,e,u,i){var o=1&r,f=$e(n),c=f.length;if(c!=$e(t).length&&!o)return!1;for(var a=c;a--;){var l=f[a];if(!(o?l in t:zi.call(t,l)))return!1}var s=i.get(n),h=i.get(t);if(s&&h)return s==t&&h==n;var p=!0;i.set(n,t),i.set(t,n);for(var _=o;++a<c;){var v=n[l=f[a]],g=t[l];if(e)var y=o?e(g,v,l,t,n,i):e(v,g,l,n,t,i);if(!(y===P?v===g||u(v,g,r,e,i):y)){p=!1;break}_||(_="constructor"==l)}if(p&&!_){var d=n.constructor,b=t.constructor;d!=b&&"constructor"in n&&"constructor"in t&&!("function"==typeof d&&d instanceof d&&"function"==typeof b&&b instanceof b)&&(p=!1)}return i.delete(n),i.delete(t),p}(n,t,r,e,u,i))}(n,t,r,e,or,u))}function pr(n,t,r,e){var u=r.length,i=u,o=!e;if(null==n)return!i;for(n=wi(n);u--;){var f=r[u];if(o&&f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++u<i;){var c=(f=r[u])[0],a=n[c],l=f[1];if(o&&f[2]){if(a===P&&!(c in n))return!1}else{var s=new yt;if(e)var h=e(a,l,c,n,t,s);if(!(h===P?or(l,a,3,e,s):h))return!1}}return!0}function dr(n){return!(!Du(n)||function(n){return!!Si&&Si in n}(n))&&(Bu(n)?Ui:ut).test(lu(n))}function br(n){return"function"==typeof n?n:null==n?ci:"object"==typeof n?Sf(n)?kr(n[0],n[1]):Ar(n):hi(n)}function wr(n){if(!Xe(n))return eo(n);var t=[];for(var r in wi(n))zi.call(n,r)&&"constructor"!=r&&t.push(r);return t}function mr(n){if(!Du(n))return function(n){var t=[];if(null!=n)for(var r in wi(n))t.push(r);return t}(n);var t=Xe(n),r=[];for(var e in n)("constructor"!=e||!t&&zi.call(n,e))&&r.push(e);return r}function xr(n,t){return n<t}function jr(n,t){var r=-1,e=Lu(n)?vi(n.length):[];return Ro(n,(function(n,u,i){e[++r]=t(n,u,i)})),e}function Ar(n){var t=qe(n);return 1==t.length&&t[0][2]?tu(t[0][0],t[0][1]):function(r){return r===n||pr(r,n,t)}}function kr(n,t){return Ye(n)&&nu(t)?tu(au(n),t):function(r){var e=Qu(r,n);return e===P&&e===t?Xu(r,n):or(t,e,3)}}function Or(n,t,r,e,u){n!==t&&Eo(t,(function(i,o){if(u||(u=new yt),Du(i))!function(n,t,r,e,u,i,o){var f=iu(n,r),c=iu(t,r),a=o.get(c);if(a)return xt(n,r,a),P;var l=i?i(f,c,r+"",n,t,o):P,s=l===P;if(s){var h=Sf(c),p=!h&&Lf(c),_=!h&&!p&&$f(c);l=c,h||p||_?Sf(f)?l=f:Cu(f)?l=ae(f):p?(s=!1,l=ee(c,!0)):_?(s=!1,l=ie(c,!0)):l=[]:Nu(c)||Ef(c)?(l=f,Ef(f)?l=Ju(f):Du(f)&&!Bu(f)||(l=Ve(c))):s=!1}s&&(o.set(c,l),u(l,c,e,i,o),o.delete(c)),xt(n,r,l)}(n,t,o,r,Or,e,u);else{var f=e?e(iu(n,o),i,o+"",n,t,u):P;f===P&&(f=i),xt(n,o,f)}}),ti)}function Ir(n,t){var r=n.length;if(r)return He(t+=t<0?r:0,r)?n[t]:P}function Rr(n,t,r){t=t.length?c(t,(function(n){return Sf(n)?function(t){return Pt(t,1===n.length?n[0]:n)}:n})):[ci];var e=-1;return t=c(t,O(Ne())),function(n,t){var r=n.length;for(n.sort(t);r--;)n[r]=n[r].value;return n}(jr(n,(function(n,r,u){return{criteria:c(t,(function(t){return t(n)})),index:++e,value:n}})),(function(n,t){return function(n,t,r){for(var e=-1,u=n.criteria,i=t.criteria,o=u.length,f=r.length;++e<o;){var c=oe(u[e],i[e]);if(c)return e>=f?c:c*("desc"==r[e]?-1:1)}return n.index-t.index}(n,t,r)}))}function zr(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=Pt(n,o);r(f,o)&&Tr(i,te(o,n),f)}return i}function Er(n,t,r,e){var u=e?y:g,i=-1,o=t.length,f=n;for(n===t&&(t=ae(t)),r&&(f=c(n,O(r)));++i<o;)for(var a=0,l=t[i],s=r?r(l):l;(a=u(f,s,a,e))>-1;)f!==n&&Pi.call(f,a,1),Pi.call(n,a,1);return n}function Sr(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;He(u)?Pi.call(n,u,1):Vr(n,u)}}return n}function Wr(n,t){return n+Qi(co()*(t-n+1))}function Lr(n,t){var r="";if(!n||t<1||t>X)return r;do{t%2&&(r+=n),(t=Qi(t/2))&&(n+=n)}while(t);return r}function Cr(n,t){return qo(ru(n,t,ci),n+"")}function Ur(n){return bt(ei(n))}function Br(n,t){var r=ei(n);return cu(r,zt(t,0,r.length))}function Tr(n,t,r,e){if(!Du(n))return n;for(var u=-1,i=(t=te(t,n)).length,o=i-1,f=n;null!=f&&++u<i;){var c=au(t[u]),a=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return n;if(u!=o){var l=f[c];(a=e?e(l,c,f):P)===P&&(a=Du(l)?l:He(t[u+1])?[]:{})}jt(f,c,a),f=f[c]}return n}function $r(n){return cu(ei(n))}function Dr(n,t,r){var e=-1,u=n.length;t<0&&(t=-t>u?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=vi(u);++e<u;)i[e]=n[e+t];return i}function Mr(n,t){var r;return Ro(n,(function(n,e,u){return!(r=t(n,e,u))})),!!r}function Fr(n,t,r){var e=0,u=null==n?e:n.length;if("number"==typeof t&&t==t&&u<=2147483647){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!qu(o)&&(r?o<=t:o<t)?e=i+1:u=i}return u}return Nr(n,t,ci,r)}function Nr(n,t,r,e){var u=0,i=null==n?0:n.length;if(0===i)return 0;for(var o=(t=r(t))!=t,f=null===t,c=qu(t),a=t===P;u<i;){var l=Qi((u+i)/2),s=r(n[l]),h=s!==P,p=null===s,_=s==s,v=qu(s);if(o)var g=e||_;else g=a?_&&(e||h):f?_&&h&&(e||!p):c?_&&h&&!p&&(e||!v):!p&&!v&&(e?s<=t:s<t);g?u=l+1:i=l}return io(i,4294967294)}function Pr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r],f=t?t(o):o;if(!r||!Wu(f,c)){var c=f;i[u++]=0===o?0:o}}return i}function qr(n){return"number"==typeof n?n:qu(n)?nn:+n}function Zr(n){if("string"==typeof n)return n;if(Sf(n))return c(n,Zr)+"";if(qu(n))return Oo?Oo.call(n):"";var t=n+"";return"0"==t&&1/n==-Q?"-0":t}function Kr(n,t,r){var e=-1,u=o,i=n.length,c=!0,a=[],l=a;if(r)c=!1,u=f;else if(i>=200){var s=t?null:Bo(n);if(s)return $(s);c=!1,u=R,l=new gt}else l=t?[]:a;n:for(;++e<i;){var h=n[e],p=t?t(h):h;if(h=r||0!==h?h:0,c&&p==p){for(var _=l.length;_--;)if(l[_]===p)continue n;t&&l.push(p),a.push(h)}else u(l,p,r)||(l!==a&&l.push(p),a.push(h))}return a}function Vr(n,t){return null==(n=eu(n,t=te(t,n)))||delete n[au(yu(t))]}function Gr(n,t,r,e){return Tr(n,t,r(Pt(n,t)),e)}function Hr(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?Dr(n,e?0:i,e?i+1:u):Dr(n,e?i+1:0,e?u:i)}function Jr(n,t){var r=n;return r instanceof ht&&(r=r.value()),l(t,(function(n,t){return t.func.apply(t.thisArg,a([n],t.args))}),r)}function Yr(n,t,r){var e=n.length;if(e<2)return e?Kr(n[0]):[];for(var u=-1,i=vi(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=Lt(i[u]||o,n[f],t,r));return Kr(Tt(i,1),t,r)}function Qr(n,t,r){for(var e=-1,u=n.length,i=t.length,o={};++e<u;)r(o,n[e],e<i?t[e]:P);return o}function Xr(n){return Cu(n)?n:[]}function ne(n){return"function"==typeof n?n:ci}function te(n,t){return Sf(n)?n:Ye(n,t)?[n]:Zo(Yu(n))}function re(n,t,r){var e=n.length;return r=r===P?e:r,!t&&r>=e?n:Dr(n,t,r)}function ee(n,t){if(t)return n.slice();var r=n.length,e=Di?Di(r):new n.constructor(r);return n.copy(e),e}function ue(n){var t=new n.constructor(n.byteLength);return new $i(t).set(new $i(n)),t}function ie(n,t){return new n.constructor(t?ue(n.buffer):n.buffer,n.byteOffset,n.length)}function oe(n,t){if(n!==t){var r=n!==P,e=null===n,u=n==n,i=qu(n),o=t!==P,f=null===t,c=t==t,a=qu(t);if(!f&&!a&&!i&&n>t||i&&o&&c&&!f&&!a||e&&o&&c||!r&&c||!u)return 1;if(!e&&!i&&!a&&n<t||a&&r&&u&&!e&&!i||f&&r&&u||!o&&u||!c)return-1}return 0}function fe(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,c=t.length,a=uo(i-o,0),l=vi(c+a),s=!e;++f<c;)l[f]=t[f];for(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;a--;)l[f++]=n[u++];return l}function ce(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,c=-1,a=t.length,l=uo(i-f,0),s=vi(l+a),h=!e;++u<l;)s[u]=n[u];for(var p=u;++c<a;)s[p+c]=t[c];for(;++o<f;)(h||u<i)&&(s[p+r[o]]=n[u++]);return s}function ae(n,t){var r=-1,e=n.length;for(t||(t=vi(e));++r<e;)t[r]=n[r];return t}function le(n,t,r,e){var u=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var f=t[i],c=e?e(r[f],n[f],f,r,n):P;c===P&&(c=n[f]),u?It(r,f,c):jt(r,f,c)}return r}function se(n,r){return function(e,u){var i=Sf(e)?t:kt,o=r?r():{};return i(e,n,Ne(u,2),o)}}function he(n){return Cr((function(t,r){var e=-1,u=r.length,i=u>1?r[u-1]:P,o=u>2?r[2]:P;for(i=n.length>3&&"function"==typeof i?(u--,i):P,o&&Je(r[0],r[1],o)&&(i=u<3?P:i,u=1),t=wi(t);++e<u;){var f=r[e];f&&n(t,f,e,i)}return t}))}function pe(n,t){return function(r,e){if(null==r)return r;if(!Lu(r))return n(r,e);for(var u=r.length,i=t?u:-1,o=wi(r);(t?i--:++i<u)&&!1!==e(o[i],i,o););return r}}function _e(n){return function(t,r,e){for(var u=-1,i=wi(t),o=e(t),f=o.length;f--;){var c=o[n?f:++u];if(!1===r(i[c],c,i))break}return t}}function ve(n){return function(t){var r=L(t=Yu(t))?M(t):P,e=r?r[0]:t.charAt(0),u=r?re(r,1).join(""):t.slice(1);return e[n]()+u}}function ge(n){return function(t){return l(oi(ii(t).replace(Mt,"")),n,"")}}function ye(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Io(n.prototype),e=n.apply(r,t);return Du(e)?e:r}}function de(t,r,e){var u=ye(t);return function i(){for(var o=arguments.length,f=vi(o),c=o,a=Fe(i);c--;)f[c]=arguments[c];var l=o<3&&f[0]!==a&&f[o-1]!==a?[]:T(f,a);return(o-=l.length)<e?ze(t,r,me,i.placeholder,P,f,l,P,P,e-o):n(this&&this!==tr&&this instanceof i?u:t,this,f)}}function be(n){return function(t,r,e){var u=wi(t);if(!Lu(t)){var i=Ne(r,3);t=ni(t),r=function(n){return i(u[n],n,u)}}var o=n(t,r,e);return o>-1?u[i?t[o]:o]:P}}function we(n){return Te((function(t){var r=t.length,e=r,u=st.prototype.thru;for(n&&t.reverse();e--;){var i=t[e];if("function"!=typeof i)throw new ji(q);if(u&&!o&&"wrapper"==Me(i))var o=new st([],!0)}for(e=o?e:r;++e<r;){var f=Me(i=t[e]),c="wrapper"==f?To(i):P;o=c&&Qe(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?o[Me(c[0])].apply(o,c[3]):1==i.length&&Qe(i)?o[f]():o.thru(i)}return function(){var n=arguments,e=n[0];if(o&&1==n.length&&Sf(e))return o.plant(e).value();for(var u=0,i=r?t[u].apply(this,n):e;++u<r;)i=t[u].call(this,i);return i}}))}function me(n,t,r,e,u,i,o,f,c,a){var l=t&J,s=1&t,h=2&t,p=24&t,_=512&t,v=h?P:ye(n);return function g(){for(var y=arguments.length,d=vi(y),b=y;b--;)d[b]=arguments[b];if(p)var w=Fe(g),m=S(d,w);if(e&&(d=fe(d,e,u,p)),i&&(d=ce(d,i,o,p)),y-=m,p&&y<a)return ze(n,t,me,g.placeholder,r,d,T(d,w),f,c,a-y);var x=s?r:this,j=h?x[n]:n;return y=d.length,f?d=uu(d,f):_&&y>1&&d.reverse(),l&&c<y&&(d.length=c),this&&this!==tr&&this instanceof g&&(j=v||ye(j)),j.apply(x,d)}}function xe(n,t){return function(r,e){return function(n,t,r,e){return $t(n,(function(n,u,i){t(e,r(n),u,i)})),e}(r,n,t(e),{})}}function je(n,t){return function(r,e){var u;if(r===P&&e===P)return t;if(r!==P&&(u=r),e!==P){if(u===P)return e;"string"==typeof r||"string"==typeof e?(r=Zr(r),e=Zr(e)):(r=qr(r),e=qr(e)),u=n(r,e)}return u}}function Ae(t){return Te((function(r){return r=c(r,O(Ne())),Cr((function(e){var u=this;return t(r,(function(t){return n(t,u,e)}))}))}))}function ke(n,t){var r=(t=t===P?" ":Zr(t)).length;if(r<2)return r?Lr(t,n):t;var e=Lr(t,Yi(n/D(t)));return L(t)?re(M(e),0,n).join(""):e.slice(0,n)}function Oe(t,r,e,u){var i=1&r,o=ye(t);return function r(){for(var f=-1,c=arguments.length,a=-1,l=u.length,s=vi(l+c),h=this&&this!==tr&&this instanceof r?o:t;++a<l;)s[a]=u[a];for(;c--;)s[a++]=arguments[++f];return n(h,i?e:this,s)}}function Ie(n){return function(t,r,e){return e&&"number"!=typeof e&&Je(t,r,e)&&(r=e=P),t=Ku(t),r===P?(r=t,t=0):r=Ku(r),function(n,t,r,e){for(var u=-1,i=uo(Yi((t-n)/(r||1)),0),o=vi(i);i--;)o[e?i:++u]=n,n+=r;return o}(t,r,e=e===P?t<r?1:-1:Ku(e),n)}}function Re(n){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=Hu(t),r=Hu(r)),n(t,r)}}function ze(n,t,r,e,u,i,o,f,c,a){var l=8&t;t|=l?G:H,4&(t&=~(l?H:G))||(t&=-4);var s=[n,t,u,l?i:P,l?o:P,l?P:i,l?P:o,f,c,a],h=r.apply(P,s);return Qe(n)&&No(h,s),h.placeholder=e,ou(h,n,t)}function Ee(n){var t=bi[n];return function(n,r){if(n=Hu(n),(r=null==r?0:io(Vu(r),292))&&to(n)){var e=(Yu(n)+"e").split("e");return+((e=(Yu(t(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return t(n)}}function Se(n){return function(t){var r=Mo(t);return r==sn?U(t):r==gn?function(n){var t=-1,r=Array(n.size);return n.forEach((function(n){r[++t]=[n,n]})),r}(t):function(n,t){return c(t,(function(t){return[t,n[t]]}))}(t,n(t))}}function We(n,t,r,e,u,i,o,f){var c=2&t;if(!c&&"function"!=typeof n)throw new ji(q);var a=e?e.length:0;if(a||(t&=-97,e=u=P),o=o===P?o:uo(Vu(o),0),f=f===P?f:Vu(f),a-=u?u.length:0,t&H){var l=e,s=u;e=u=P}var h=c?P:To(n),p=[n,t,r,e,u,l,s,i,o,f];if(h&&function(n,t){var r=n[1],e=t[1],u=r|e,i=u<131,o=e==J&&8==r||e==J&&r==Y&&n[7].length<=t[8]||384==e&&t[7].length<=t[8]&&8==r;if(!i&&!o)return n;1&e&&(n[2]=t[2],u|=1&r?0:4);var f=t[3];if(f){var c=n[3];n[3]=c?fe(c,f,t[4]):f,n[4]=c?T(n[3],K):t[4]}(f=t[5])&&(c=n[5],n[5]=c?ce(c,f,t[6]):f,n[6]=c?T(n[5],K):t[6]),(f=t[7])&&(n[7]=f),e&J&&(n[8]=null==n[8]?t[8]:io(n[8],t[8])),null==n[9]&&(n[9]=t[9]),n[0]=t[0],n[1]=u}(p,h),n=p[0],t=p[1],r=p[2],e=p[3],u=p[4],!(f=p[9]=p[9]===P?c?0:n.length:uo(p[9]-a,0))&&24&t&&(t&=-25),t&&1!=t)_=8==t||t==V?de(n,t,f):t!=G&&33!=t||u.length?me.apply(P,p):Oe(n,t,r,e);else var _=function(n,t,r){var e=1&t,u=ye(n);return function t(){return(this&&this!==tr&&this instanceof t?u:n).apply(e?r:this,arguments)}}(n,t,r);return ou((h?Wo:No)(_,p),n,t)}function Le(n,t,r,e){return n===P||Wu(n,Oi[r])&&!zi.call(e,r)?t:n}function Ce(n,t,r,e,u,i){return Du(n)&&Du(t)&&(i.set(t,n),Or(n,t,P,Ce,i),i.delete(t)),n}function Ue(n){return Nu(n)?P:n}function Be(n,t,r,e,u,i){var o=1&r,f=n.length,c=t.length;if(f!=c&&!(o&&c>f))return!1;var a=i.get(n),l=i.get(t);if(a&&l)return a==t&&l==n;var s=-1,p=!0,_=2&r?new gt:P;for(i.set(n,t),i.set(t,n);++s<f;){var v=n[s],g=t[s];if(e)var y=o?e(g,v,s,t,n,i):e(v,g,s,n,t,i);if(y!==P){if(y)continue;p=!1;break}if(_){if(!h(t,(function(n,t){if(!R(_,t)&&(v===n||u(v,n,r,e,i)))return _.push(t)}))){p=!1;break}}else if(v!==g&&!u(v,g,r,e,i)){p=!1;break}}return i.delete(n),i.delete(t),p}function Te(n){return qo(ru(n,P,vu),n+"")}function $e(n){return qt(n,ni,$o)}function De(n){return qt(n,ti,Do)}function Me(n){for(var t=n.name+"",r=yo[t],e=zi.call(yo,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function Fe(n){return(zi.call(Yn,"placeholder")?Yn:n).placeholder}function Ne(){var n=Yn.iteratee||ai;return n=n===ai?br:n,arguments.length?n(arguments[0],arguments[1]):n}function Pe(n,t){var r=n.__data__;return function(n){var t=typeof n;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==n:null===n}(t)?r["string"==typeof t?"string":"hash"]:r.map}function qe(n){for(var t=ni(n),r=t.length;r--;){var e=t[r],u=n[e];t[r]=[e,u,nu(u)]}return t}function Ze(n,t){var r=function(n,t){return null==n?P:n[t]}(n,t);return dr(r)?r:P}function Ke(n,t,r){for(var e=-1,u=(t=te(t,n)).length,i=!1;++e<u;){var o=au(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o]}return i||++e!=u?i:!!(u=null==n?0:n.length)&&$u(u)&&He(o,u)&&(Sf(n)||Ef(n))}function Ve(n){return"function"!=typeof n.constructor||Xe(n)?{}:Io(Mi(n))}function Ge(n){return Sf(n)||Ef(n)||!!(qi&&n&&n[qi])}function He(n,t){var r=typeof n;return!!(t=null==t?X:t)&&("number"==r||"symbol"!=r&&ot.test(n))&&n>-1&&n%1==0&&n<t}function Je(n,t,r){if(!Du(r))return!1;var e=typeof t;return!!("number"==e?Lu(r)&&He(t,r.length):"string"==e&&t in r)&&Wu(r[t],n)}function Ye(n,t){if(Sf(n))return!1;var r=typeof n;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=n&&!qu(n))||Nn.test(n)||!Fn.test(n)||null!=t&&n in wi(t)}function Qe(n){var t=Me(n),r=Yn[t];if("function"!=typeof r||!(t in ht.prototype))return!1;if(n===r)return!0;var e=To(r);return!!e&&n===e[0]}function Xe(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||Oi)}function nu(n){return n==n&&!Du(n)}function tu(n,t){return function(r){return null!=r&&r[n]===t&&(t!==P||n in wi(r))}}function ru(t,r,e){return r=uo(r===P?t.length-1:r,0),function(){for(var u=arguments,i=-1,o=uo(u.length-r,0),f=vi(o);++i<o;)f[i]=u[r+i];i=-1;for(var c=vi(r+1);++i<r;)c[i]=u[i];return c[r]=e(f),n(t,this,c)}}function eu(n,t){return t.length<2?n:Pt(n,Dr(t,0,-1))}function uu(n,t){for(var r=n.length,e=io(t.length,r),u=ae(n);e--;){var i=t[e];n[e]=He(i,r)?u[i]:P}return n}function iu(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}function ou(n,t,r){var e=t+"";return qo(n,function(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(Gn,"{\n/* [wrapped with "+t+"] */\n")}(e,su(function(n){var t=n.match(Hn);return t?t[1].split(Jn):[]}(e),r)))}function fu(n){var t=0,r=0;return function(){var e=oo(),u=16-(e-r);if(r=e,u>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(P,arguments)}}function cu(n,t){var r=-1,e=n.length,u=e-1;for(t=t===P?e:t;++r<t;){var i=Wr(r,u),o=n[i];n[i]=n[r],n[r]=o}return n.length=t,n}function au(n){if("string"==typeof n||qu(n))return n;var t=n+"";return"0"==t&&1/n==-Q?"-0":t}function lu(n){if(null!=n){try{return Ri.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function su(n,t){return r(rn,(function(r){var e="_."+r[0];t&r[1]&&!o(n,e)&&n.push(e)})),n.sort()}function hu(n){if(n instanceof ht)return n.clone();var t=new st(n.__wrapped__,n.__chain__);return t.__actions__=ae(n.__actions__),t.__index__=n.__index__,t.__values__=n.__values__,t}function pu(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:Vu(r);return u<0&&(u=uo(e+u,0)),v(n,Ne(t,3),u)}function _u(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e-1;return r!==P&&(u=Vu(r),u=r<0?uo(e+u,0):io(u,e-1)),v(n,Ne(t,3),u,!0)}function vu(n){return null!=n&&n.length?Tt(n,1):[]}function gu(n){return n&&n.length?n[0]:P}function yu(n){var t=null==n?0:n.length;return t?n[t-1]:P}function du(n,t){return n&&n.length&&t&&t.length?Er(n,t):n}function bu(n){return null==n?n:ao.call(n)}function wu(n){if(!n||!n.length)return[];var t=0;return n=i(n,(function(n){if(Cu(n))return t=uo(n.length,t),!0})),A(t,(function(t){return c(n,w(t))}))}function mu(t,r){if(!t||!t.length)return[];var e=wu(t);return null==r?e:c(e,(function(t){return n(r,P,t)}))}function xu(n){var t=Yn(n);return t.__chain__=!0,t}function ju(n,t){return t(n)}function Au(n,t){return(Sf(n)?r:Ro)(n,Ne(t,3))}function ku(n,t){return(Sf(n)?e:zo)(n,Ne(t,3))}function Ou(n,t){return(Sf(n)?c:jr)(n,Ne(t,3))}function Iu(n,t,r){return t=r?P:t,t=n&&null==t?n.length:t,We(n,J,P,P,P,P,t)}function Ru(n,t){var r;if("function"!=typeof t)throw new ji(q);return n=Vu(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=P),r}}function zu(n,t,r){function e(t){var r=a,e=l;return a=l=P,v=t,h=n.apply(e,r)}function u(n){return v=n,p=Po(o,t),g?e(n):h}function i(n){var r=n-_;return _===P||r>=t||r<0||y&&n-v>=s}function o(){var n=bf();return i(n)?f(n):(p=Po(o,function(n){var r=t-(n-_);return y?io(r,s-(n-v)):r}(n)),P)}function f(n){return p=P,d&&a?e(n):(a=l=P,h)}function c(){var n=bf(),r=i(n);if(a=arguments,l=this,_=n,r){if(p===P)return u(_);if(y)return Uo(p),p=Po(o,t),e(_)}return p===P&&(p=Po(o,t)),h}var a,l,s,h,p,_,v=0,g=!1,y=!1,d=!0;if("function"!=typeof n)throw new ji(q);return t=Hu(t)||0,Du(r)&&(g=!!r.leading,s=(y="maxWait"in r)?uo(Hu(r.maxWait)||0,t):s,d="trailing"in r?!!r.trailing:d),c.cancel=function(){p!==P&&Uo(p),v=0,a=_=l=p=P},c.flush=function(){return p===P?h:f(bf())},c}function Eu(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new ji(q);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Eu.Cache||vt),r}function Su(n){if("function"!=typeof n)throw new ji(q);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}function Wu(n,t){return n===t||n!=n&&t!=t}function Lu(n){return null!=n&&$u(n.length)&&!Bu(n)}function Cu(n){return Mu(n)&&Lu(n)}function Uu(n){if(!Mu(n))return!1;var t=Zt(n);return t==cn||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!Nu(n)}function Bu(n){if(!Du(n))return!1;var t=Zt(n);return t==an||t==ln||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Tu(n){return"number"==typeof n&&n==Vu(n)}function $u(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=X}function Du(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function Mu(n){return null!=n&&"object"==typeof n}function Fu(n){return"number"==typeof n||Mu(n)&&Zt(n)==hn}function Nu(n){if(!Mu(n)||Zt(n)!=pn)return!1;var t=Mi(n);if(null===t)return!0;var r=zi.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ri.call(r)==Li}function Pu(n){return"string"==typeof n||!Sf(n)&&Mu(n)&&Zt(n)==yn}function qu(n){return"symbol"==typeof n||Mu(n)&&Zt(n)==dn}function Zu(n){if(!n)return[];if(Lu(n))return Pu(n)?M(n):ae(n);if(Zi&&n[Zi])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[Zi]());var t=Mo(n);return(t==sn?U:t==gn?$:ei)(n)}function Ku(n){return n?(n=Hu(n))===Q||n===-Q?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function Vu(n){var t=Ku(n),r=t%1;return t==t?r?t-r:t:0}function Gu(n){return n?zt(Vu(n),0,tn):0}function Hu(n){if("number"==typeof n)return n;if(qu(n))return nn;if(Du(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=Du(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=k(n);var r=et.test(n);return r||it.test(n)?Qt(n.slice(2),r?2:8):rt.test(n)?nn:+n}function Ju(n){return le(n,ti(n))}function Yu(n){return null==n?"":Zr(n)}function Qu(n,t,r){var e=null==n?P:Pt(n,t);return e===P?r:e}function Xu(n,t){return null!=n&&Ke(n,t,nr)}function ni(n){return Lu(n)?dt(n):wr(n)}function ti(n){return Lu(n)?dt(n,!0):mr(n)}function ri(n,t){if(null==n)return{};var r=c(De(n),(function(n){return[n]}));return t=Ne(t),zr(n,r,(function(n,r){return t(n,r[0])}))}function ei(n){return null==n?[]:I(n,ni(n))}function ui(n){return lc(Yu(n).toLowerCase())}function ii(n){return(n=Yu(n))&&n.replace(ft,_r).replace(Ft,"")}function oi(n,t,r){return n=Yu(n),(t=r?P:t)===P?C(n)?N(n):p(n):n.match(t)||[]}function fi(n){return function(){return n}}function ci(n){return n}function ai(n){return br("function"==typeof n?n:Et(n,1))}function li(n,t,e){var u=ni(t),i=Nt(t,u);null!=e||Du(t)&&(i.length||!u.length)||(e=t,t=n,n=this,i=Nt(t,ni(t)));var o=!(Du(e)&&"chain"in e&&!e.chain),f=Bu(n);return r(i,(function(r){var e=t[r];n[r]=e,f&&(n.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=n(this.__wrapped__);return(r.__actions__=ae(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,a([this.value()],arguments))})})),n}function si(){}function hi(n){return Ye(n)?w(au(n)):function(n){return function(t){return Pt(t,n)}}(n)}function pi(){return[]}function _i(){return!1}var vi=(Vn=null==Vn?tr:yr.defaults(tr.Object(),Vn,yr.pick(tr,Kt))).Array,gi=Vn.Date,yi=Vn.Error,di=Vn.Function,bi=Vn.Math,wi=Vn.Object,mi=Vn.RegExp,xi=Vn.String,ji=Vn.TypeError,Ai=vi.prototype,ki=di.prototype,Oi=wi.prototype,Ii=Vn["__core-js_shared__"],Ri=ki.toString,zi=Oi.hasOwnProperty,Ei=0,Si=function(){var n=/[^.]+$/.exec(Ii&&Ii.keys&&Ii.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),Wi=Oi.toString,Li=Ri.call(wi),Ci=tr._,Ui=mi("^"+Ri.call(zi).replace(qn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bi=ur?Vn.Buffer:P,Ti=Vn.Symbol,$i=Vn.Uint8Array,Di=Bi?Bi.allocUnsafe:P,Mi=B(wi.getPrototypeOf,wi),Fi=wi.create,Ni=Oi.propertyIsEnumerable,Pi=Ai.splice,qi=Ti?Ti.isConcatSpreadable:P,Zi=Ti?Ti.iterator:P,Ki=Ti?Ti.toStringTag:P,Vi=function(){try{var n=Ze(wi,"defineProperty");return n({},"",{}),n}catch(n){}}(),Gi=Vn.clearTimeout!==tr.clearTimeout&&Vn.clearTimeout,Hi=gi&&gi.now!==tr.Date.now&&gi.now,Ji=Vn.setTimeout!==tr.setTimeout&&Vn.setTimeout,Yi=bi.ceil,Qi=bi.floor,Xi=wi.getOwnPropertySymbols,no=Bi?Bi.isBuffer:P,to=Vn.isFinite,ro=Ai.join,eo=B(wi.keys,wi),uo=bi.max,io=bi.min,oo=gi.now,fo=Vn.parseInt,co=bi.random,ao=Ai.reverse,lo=Ze(Vn,"DataView"),so=Ze(Vn,"Map"),ho=Ze(Vn,"Promise"),po=Ze(Vn,"Set"),_o=Ze(Vn,"WeakMap"),vo=Ze(wi,"create"),go=_o&&new _o,yo={},bo=lu(lo),wo=lu(so),mo=lu(ho),xo=lu(po),jo=lu(_o),Ao=Ti?Ti.prototype:P,ko=Ao?Ao.valueOf:P,Oo=Ao?Ao.toString:P,Io=function(){function n(){}return function(t){if(!Du(t))return{};if(Fi)return Fi(t);n.prototype=t;var r=new n;return n.prototype=P,r}}();Yn.templateSettings={escape:$n,evaluate:Dn,interpolate:Mn,variable:"",imports:{_:Yn}},Yn.prototype=lt.prototype,Yn.prototype.constructor=Yn,st.prototype=Io(lt.prototype),st.prototype.constructor=st,ht.prototype=Io(lt.prototype),ht.prototype.constructor=ht,pt.prototype.clear=function(){this.__data__=vo?vo(null):{},this.size=0},pt.prototype.delete=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t},pt.prototype.get=function(n){var t=this.__data__;if(vo){var r=t[n];return r===Z?P:r}return zi.call(t,n)?t[n]:P},pt.prototype.has=function(n){var t=this.__data__;return vo?t[n]!==P:zi.call(t,n)},pt.prototype.set=function(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=vo&&t===P?Z:t,this},_t.prototype.clear=function(){this.__data__=[],this.size=0},_t.prototype.delete=function(n){var t=this.__data__,r=At(t,n);return!(r<0||(r==t.length-1?t.pop():Pi.call(t,r,1),--this.size,0))},_t.prototype.get=function(n){var t=this.__data__,r=At(t,n);return r<0?P:t[r][1]},_t.prototype.has=function(n){return At(this.__data__,n)>-1},_t.prototype.set=function(n,t){var r=this.__data__,e=At(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},vt.prototype.clear=function(){this.size=0,this.__data__={hash:new pt,map:new(so||_t),string:new pt}},vt.prototype.delete=function(n){var t=Pe(this,n).delete(n);return this.size-=t?1:0,t},vt.prototype.get=function(n){return Pe(this,n).get(n)},vt.prototype.has=function(n){return Pe(this,n).has(n)},vt.prototype.set=function(n,t){var r=Pe(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},gt.prototype.add=gt.prototype.push=function(n){return this.__data__.set(n,Z),this},gt.prototype.has=function(n){return this.__data__.has(n)},yt.prototype.clear=function(){this.__data__=new _t,this.size=0},yt.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},yt.prototype.get=function(n){return this.__data__.get(n)},yt.prototype.has=function(n){return this.__data__.has(n)},yt.prototype.set=function(n,t){var r=this.__data__;if(r instanceof _t){var e=r.__data__;if(!so||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new vt(e)}return r.set(n,t),this.size=r.size,this};var Ro=pe($t),zo=pe(Dt,!0),Eo=_e(),So=_e(!0),Wo=go?function(n,t){return go.set(n,t),n}:ci,Lo=Vi?function(n,t){return Vi(n,"toString",{configurable:!0,enumerable:!1,value:fi(t),writable:!0})}:ci,Co=Cr,Uo=Gi||function(n){return tr.clearTimeout(n)},Bo=po&&1/$(new po([,-0]))[1]==Q?function(n){return new po(n)}:si,To=go?function(n){return go.get(n)}:si,$o=Xi?function(n){return null==n?[]:(n=wi(n),i(Xi(n),(function(t){return Ni.call(n,t)})))}:pi,Do=Xi?function(n){for(var t=[];n;)a(t,$o(n)),n=Mi(n);return t}:pi,Mo=Zt;(lo&&Mo(new lo(new ArrayBuffer(1)))!=mn||so&&Mo(new so)!=sn||ho&&Mo(ho.resolve())!=_n||po&&Mo(new po)!=gn||_o&&Mo(new _o)!=bn)&&(Mo=function(n){var t=Zt(n),r=t==pn?n.constructor:P,e=r?lu(r):"";if(e)switch(e){case bo:return mn;case wo:return sn;case mo:return _n;case xo:return gn;case jo:return bn}return t});var Fo=Ii?Bu:_i,No=fu(Wo),Po=Ji||function(n,t){return tr.setTimeout(n,t)},qo=fu(Lo),Zo=function(n){var t=Eu(n,(function(n){return 500===r.size&&r.clear(),n})),r=t.cache;return t}((function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(Pn,(function(n,r,e,u){t.push(e?u.replace(Xn,"$1"):r||n)})),t})),Ko=Cr((function(n,t){return Cu(n)?Lt(n,Tt(t,1,Cu,!0)):[]})),Vo=Cr((function(n,t){var r=yu(t);return Cu(r)&&(r=P),Cu(n)?Lt(n,Tt(t,1,Cu,!0),Ne(r,2)):[]})),Go=Cr((function(n,t){var r=yu(t);return Cu(r)&&(r=P),Cu(n)?Lt(n,Tt(t,1,Cu,!0),P,r):[]})),Ho=Cr((function(n){var t=c(n,Xr);return t.length&&t[0]===n[0]?rr(t):[]})),Jo=Cr((function(n){var t=yu(n),r=c(n,Xr);return t===yu(r)?t=P:r.pop(),r.length&&r[0]===n[0]?rr(r,Ne(t,2)):[]})),Yo=Cr((function(n){var t=yu(n),r=c(n,Xr);return(t="function"==typeof t?t:P)&&r.pop(),r.length&&r[0]===n[0]?rr(r,P,t):[]})),Qo=Cr(du),Xo=Te((function(n,t){var r=null==n?0:n.length,e=Rt(n,t);return Sr(n,c(t,(function(n){return He(n,r)?+n:n})).sort(oe)),e})),nf=Cr((function(n){return Kr(Tt(n,1,Cu,!0))})),tf=Cr((function(n){var t=yu(n);return Cu(t)&&(t=P),Kr(Tt(n,1,Cu,!0),Ne(t,2))})),rf=Cr((function(n){var t=yu(n);return t="function"==typeof t?t:P,Kr(Tt(n,1,Cu,!0),P,t)})),ef=Cr((function(n,t){return Cu(n)?Lt(n,t):[]})),uf=Cr((function(n){return Yr(i(n,Cu))})),of=Cr((function(n){var t=yu(n);return Cu(t)&&(t=P),Yr(i(n,Cu),Ne(t,2))})),ff=Cr((function(n){var t=yu(n);return t="function"==typeof t?t:P,Yr(i(n,Cu),P,t)})),cf=Cr(wu),af=Cr((function(n){var t=n.length,r=t>1?n[t-1]:P;return r="function"==typeof r?(n.pop(),r):P,mu(n,r)})),lf=Te((function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,u=function(t){return Rt(t,n)};return!(t>1||this.__actions__.length)&&e instanceof ht&&He(r)?((e=e.slice(r,+r+(t?1:0))).__actions__.push({func:ju,args:[u],thisArg:P}),new st(e,this.__chain__).thru((function(n){return t&&!n.length&&n.push(P),n}))):this.thru(u)})),sf=se((function(n,t,r){zi.call(n,r)?++n[r]:It(n,r,1)})),hf=be(pu),pf=be(_u),_f=se((function(n,t,r){zi.call(n,r)?n[r].push(t):It(n,r,[t])})),vf=Cr((function(t,r,e){var u=-1,i="function"==typeof r,o=Lu(t)?vi(t.length):[];return Ro(t,(function(t){o[++u]=i?n(r,t,e):er(t,r,e)})),o})),gf=se((function(n,t,r){It(n,r,t)})),yf=se((function(n,t,r){n[r?0:1].push(t)}),(function(){return[[],[]]})),df=Cr((function(n,t){if(null==n)return[];var r=t.length;return r>1&&Je(n,t[0],t[1])?t=[]:r>2&&Je(t[0],t[1],t[2])&&(t=[t[0]]),Rr(n,Tt(t,1),[])})),bf=Hi||function(){return tr.Date.now()},wf=Cr((function(n,t,r){var e=1;if(r.length){var u=T(r,Fe(wf));e|=G}return We(n,e,t,r,u)})),mf=Cr((function(n,t,r){var e=3;if(r.length){var u=T(r,Fe(mf));e|=G}return We(t,e,n,r,u)})),xf=Cr((function(n,t){return Wt(n,1,t)})),jf=Cr((function(n,t,r){return Wt(n,Hu(t)||0,r)}));Eu.Cache=vt;var Af=Co((function(t,r){var e=(r=1==r.length&&Sf(r[0])?c(r[0],O(Ne())):c(Tt(r,1),O(Ne()))).length;return Cr((function(u){for(var i=-1,o=io(u.length,e);++i<o;)u[i]=r[i].call(this,u[i]);return n(t,this,u)}))})),kf=Cr((function(n,t){return We(n,G,P,t,T(t,Fe(kf)))})),Of=Cr((function(n,t){return We(n,H,P,t,T(t,Fe(Of)))})),If=Te((function(n,t){return We(n,Y,P,P,P,t)})),Rf=Re(Jt),zf=Re((function(n,t){return n>=t})),Ef=ir(function(){return arguments}())?ir:function(n){return Mu(n)&&zi.call(n,"callee")&&!Ni.call(n,"callee")},Sf=vi.isArray,Wf=fr?O(fr):function(n){return Mu(n)&&Zt(n)==wn},Lf=no||_i,Cf=cr?O(cr):function(n){return Mu(n)&&Zt(n)==fn},Uf=ar?O(ar):function(n){return Mu(n)&&Mo(n)==sn},Bf=lr?O(lr):function(n){return Mu(n)&&Zt(n)==vn},Tf=sr?O(sr):function(n){return Mu(n)&&Mo(n)==gn},$f=hr?O(hr):function(n){return Mu(n)&&$u(n.length)&&!!Gt[Zt(n)]},Df=Re(xr),Mf=Re((function(n,t){return n<=t})),Ff=he((function(n,t){if(Xe(t)||Lu(t))return le(t,ni(t),n),P;for(var r in t)zi.call(t,r)&&jt(n,r,t[r])})),Nf=he((function(n,t){le(t,ti(t),n)})),Pf=he((function(n,t,r,e){le(t,ti(t),n,e)})),qf=he((function(n,t,r,e){le(t,ni(t),n,e)})),Zf=Te(Rt),Kf=Cr((function(n,t){n=wi(n);var r=-1,e=t.length,u=e>2?t[2]:P;for(u&&Je(t[0],t[1],u)&&(e=1);++r<e;)for(var i=t[r],o=ti(i),f=-1,c=o.length;++f<c;){var a=o[f],l=n[a];(l===P||Wu(l,Oi[a])&&!zi.call(n,a))&&(n[a]=i[a])}return n})),Vf=Cr((function(t){return t.push(P,Ce),n(Qf,P,t)})),Gf=xe((function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=Wi.call(t)),n[t]=r}),fi(ci)),Hf=xe((function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=Wi.call(t)),zi.call(n,t)?n[t].push(r):n[t]=[r]}),Ne),Jf=Cr(er),Yf=he((function(n,t,r){Or(n,t,r)})),Qf=he((function(n,t,r,e){Or(n,t,r,e)})),Xf=Te((function(n,t){var r={};if(null==n)return r;var e=!1;t=c(t,(function(t){return t=te(t,n),e||(e=t.length>1),t})),le(n,De(n),r),e&&(r=Et(r,7,Ue));for(var u=t.length;u--;)Vr(r,t[u]);return r})),nc=Te((function(n,t){return null==n?{}:function(n,t){return zr(n,t,(function(t,r){return Xu(n,r)}))}(n,t)})),tc=Se(ni),rc=Se(ti),ec=ge((function(n,t,r){return t=t.toLowerCase(),n+(r?ui(t):t)})),uc=ge((function(n,t,r){return n+(r?"-":"")+t.toLowerCase()})),ic=ge((function(n,t,r){return n+(r?" ":"")+t.toLowerCase()})),oc=ve("toLowerCase"),fc=ge((function(n,t,r){return n+(r?"_":"")+t.toLowerCase()})),cc=ge((function(n,t,r){return n+(r?" ":"")+lc(t)})),ac=ge((function(n,t,r){return n+(r?" ":"")+t.toUpperCase()})),lc=ve("toUpperCase"),sc=Cr((function(t,r){try{return n(t,P,r)}catch(n){return Uu(n)?n:new yi(n)}})),hc=Te((function(n,t){return r(t,(function(t){t=au(t),It(n,t,wf(n[t],n))})),n})),pc=we(),_c=we(!0),vc=Cr((function(n,t){return function(r){return er(r,n,t)}})),gc=Cr((function(n,t){return function(r){return er(n,r,t)}})),yc=Ae(c),dc=Ae(u),bc=Ae(h),wc=Ie(),mc=Ie(!0),xc=je((function(n,t){return n+t}),0),jc=Ee("ceil"),Ac=je((function(n,t){return n/t}),1),kc=Ee("floor"),Oc=je((function(n,t){return n*t}),1),Ic=Ee("round"),Rc=je((function(n,t){return n-t}),0);return Yn.after=function(n,t){if("function"!=typeof t)throw new ji(q);return n=Vu(n),function(){if(--n<1)return t.apply(this,arguments)}},Yn.ary=Iu,Yn.assign=Ff,Yn.assignIn=Nf,Yn.assignInWith=Pf,Yn.assignWith=qf,Yn.at=Zf,Yn.before=Ru,Yn.bind=wf,Yn.bindAll=hc,Yn.bindKey=mf,Yn.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Sf(n)?n:[n]},Yn.chain=xu,Yn.chunk=function(n,t,r){t=(r?Je(n,t,r):t===P)?1:uo(Vu(t),0);var e=null==n?0:n.length;if(!e||t<1)return[];for(var u=0,i=0,o=vi(Yi(e/t));u<e;)o[i++]=Dr(n,u,u+=t);return o},Yn.compact=function(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i)}return u},Yn.concat=function(){var n=arguments.length;if(!n)return[];for(var t=vi(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return a(Sf(r)?ae(r):[r],Tt(t,1))},Yn.cond=function(t){var r=null==t?0:t.length,e=Ne();return t=r?c(t,(function(n){if("function"!=typeof n[1])throw new ji(q);return[e(n[0]),n[1]]})):[],Cr((function(e){for(var u=-1;++u<r;){var i=t[u];if(n(i[0],this,e))return n(i[1],this,e)}}))},Yn.conforms=function(n){return function(n){var t=ni(n);return function(r){return St(r,n,t)}}(Et(n,1))},Yn.constant=fi,Yn.countBy=sf,Yn.create=function(n,t){var r=Io(n);return null==t?r:Ot(r,t)},Yn.curry=function n(t,r,e){var u=We(t,8,P,P,P,P,P,r=e?P:r);return u.placeholder=n.placeholder,u},Yn.curryRight=function n(t,r,e){var u=We(t,V,P,P,P,P,P,r=e?P:r);return u.placeholder=n.placeholder,u},Yn.debounce=zu,Yn.defaults=Kf,Yn.defaultsDeep=Vf,Yn.defer=xf,Yn.delay=jf,Yn.difference=Ko,Yn.differenceBy=Vo,Yn.differenceWith=Go,Yn.drop=function(n,t,r){var e=null==n?0:n.length;return e?Dr(n,(t=r||t===P?1:Vu(t))<0?0:t,e):[]},Yn.dropRight=function(n,t,r){var e=null==n?0:n.length;return e?Dr(n,0,(t=e-(t=r||t===P?1:Vu(t)))<0?0:t):[]},Yn.dropRightWhile=function(n,t){return n&&n.length?Hr(n,Ne(t,3),!0,!0):[]},Yn.dropWhile=function(n,t){return n&&n.length?Hr(n,Ne(t,3),!0):[]},Yn.fill=function(n,t,r,e){var u=null==n?0:n.length;return u?(r&&"number"!=typeof r&&Je(n,t,r)&&(r=0,e=u),function(n,t,r,e){var u=n.length;for((r=Vu(r))<0&&(r=-r>u?0:u+r),(e=e===P||e>u?u:Vu(e))<0&&(e+=u),e=r>e?0:Gu(e);r<e;)n[r++]=t;return n}(n,t,r,e)):[]},Yn.filter=function(n,t){return(Sf(n)?i:Bt)(n,Ne(t,3))},Yn.flatMap=function(n,t){return Tt(Ou(n,t),1)},Yn.flatMapDeep=function(n,t){return Tt(Ou(n,t),Q)},Yn.flatMapDepth=function(n,t,r){return r=r===P?1:Vu(r),Tt(Ou(n,t),r)},Yn.flatten=vu,Yn.flattenDeep=function(n){return null!=n&&n.length?Tt(n,Q):[]},Yn.flattenDepth=function(n,t){return null!=n&&n.length?Tt(n,t=t===P?1:Vu(t)):[]},Yn.flip=function(n){return We(n,512)},Yn.flow=pc,Yn.flowRight=_c,Yn.fromPairs=function(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];e[u[0]]=u[1]}return e},Yn.functions=function(n){return null==n?[]:Nt(n,ni(n))},Yn.functionsIn=function(n){return null==n?[]:Nt(n,ti(n))},Yn.groupBy=_f,Yn.initial=function(n){return null!=n&&n.length?Dr(n,0,-1):[]},Yn.intersection=Ho,Yn.intersectionBy=Jo,Yn.intersectionWith=Yo,Yn.invert=Gf,Yn.invertBy=Hf,Yn.invokeMap=vf,Yn.iteratee=ai,Yn.keyBy=gf,Yn.keys=ni,Yn.keysIn=ti,Yn.map=Ou,Yn.mapKeys=function(n,t){var r={};return t=Ne(t,3),$t(n,(function(n,e,u){It(r,t(n,e,u),n)})),r},Yn.mapValues=function(n,t){var r={};return t=Ne(t,3),$t(n,(function(n,e,u){It(r,e,t(n,e,u))})),r},Yn.matches=function(n){return Ar(Et(n,1))},Yn.matchesProperty=function(n,t){return kr(n,Et(t,1))},Yn.memoize=Eu,Yn.merge=Yf,Yn.mergeWith=Qf,Yn.method=vc,Yn.methodOf=gc,Yn.mixin=li,Yn.negate=Su,Yn.nthArg=function(n){return n=Vu(n),Cr((function(t){return Ir(t,n)}))},Yn.omit=Xf,Yn.omitBy=function(n,t){return ri(n,Su(Ne(t)))},Yn.once=function(n){return Ru(2,n)},Yn.orderBy=function(n,t,r,e){return null==n?[]:(Sf(t)||(t=null==t?[]:[t]),Sf(r=e?P:r)||(r=null==r?[]:[r]),Rr(n,t,r))},Yn.over=yc,Yn.overArgs=Af,Yn.overEvery=dc,Yn.overSome=bc,Yn.partial=kf,Yn.partialRight=Of,Yn.partition=yf,Yn.pick=nc,Yn.pickBy=ri,Yn.property=hi,Yn.propertyOf=function(n){return function(t){return null==n?P:Pt(n,t)}},Yn.pull=Qo,Yn.pullAll=du,Yn.pullAllBy=function(n,t,r){return n&&n.length&&t&&t.length?Er(n,t,Ne(r,2)):n},Yn.pullAllWith=function(n,t,r){return n&&n.length&&t&&t.length?Er(n,t,P,r):n},Yn.pullAt=Xo,Yn.range=wc,Yn.rangeRight=mc,Yn.rearg=If,Yn.reject=function(n,t){return(Sf(n)?i:Bt)(n,Su(Ne(t,3)))},Yn.remove=function(n,t){var r=[];if(!n||!n.length)return r;var e=-1,u=[],i=n.length;for(t=Ne(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o),u.push(e))}return Sr(n,u),r},Yn.rest=function(n,t){if("function"!=typeof n)throw new ji(q);return Cr(n,t=t===P?t:Vu(t))},Yn.reverse=bu,Yn.sampleSize=function(n,t,r){return t=(r?Je(n,t,r):t===P)?1:Vu(t),(Sf(n)?wt:Br)(n,t)},Yn.set=function(n,t,r){return null==n?n:Tr(n,t,r)},Yn.setWith=function(n,t,r,e){return e="function"==typeof e?e:P,null==n?n:Tr(n,t,r,e)},Yn.shuffle=function(n){return(Sf(n)?mt:$r)(n)},Yn.slice=function(n,t,r){var e=null==n?0:n.length;return e?(r&&"number"!=typeof r&&Je(n,t,r)?(t=0,r=e):(t=null==t?0:Vu(t),r=r===P?e:Vu(r)),Dr(n,t,r)):[]},Yn.sortBy=df,Yn.sortedUniq=function(n){return n&&n.length?Pr(n):[]},Yn.sortedUniqBy=function(n,t){return n&&n.length?Pr(n,Ne(t,2)):[]},Yn.split=function(n,t,r){return r&&"number"!=typeof r&&Je(n,t,r)&&(t=r=P),(r=r===P?tn:r>>>0)?(n=Yu(n))&&("string"==typeof t||null!=t&&!Bf(t))&&(!(t=Zr(t))&&L(n))?re(M(n),0,r):n.split(t,r):[]},Yn.spread=function(t,r){if("function"!=typeof t)throw new ji(q);return r=null==r?0:uo(Vu(r),0),Cr((function(e){var u=e[r],i=re(e,0,r);return u&&a(i,u),n(t,this,i)}))},Yn.tail=function(n){var t=null==n?0:n.length;return t?Dr(n,1,t):[]},Yn.take=function(n,t,r){return n&&n.length?Dr(n,0,(t=r||t===P?1:Vu(t))<0?0:t):[]},Yn.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?Dr(n,(t=e-(t=r||t===P?1:Vu(t)))<0?0:t,e):[]},Yn.takeRightWhile=function(n,t){return n&&n.length?Hr(n,Ne(t,3),!1,!0):[]},Yn.takeWhile=function(n,t){return n&&n.length?Hr(n,Ne(t,3)):[]},Yn.tap=function(n,t){return t(n),n},Yn.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new ji(q);return Du(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),zu(n,t,{leading:e,maxWait:t,trailing:u})},Yn.thru=ju,Yn.toArray=Zu,Yn.toPairs=tc,Yn.toPairsIn=rc,Yn.toPath=function(n){return Sf(n)?c(n,au):qu(n)?[n]:ae(Zo(Yu(n)))},Yn.toPlainObject=Ju,Yn.transform=function(n,t,e){var u=Sf(n),i=u||Lf(n)||$f(n);if(t=Ne(t,4),null==e){var o=n&&n.constructor;e=i?u?new o:[]:Du(n)&&Bu(o)?Io(Mi(n)):{}}return(i?r:$t)(n,(function(n,r,u){return t(e,n,r,u)})),e},Yn.unary=function(n){return Iu(n,1)},Yn.union=nf,Yn.unionBy=tf,Yn.unionWith=rf,Yn.uniq=function(n){return n&&n.length?Kr(n):[]},Yn.uniqBy=function(n,t){return n&&n.length?Kr(n,Ne(t,2)):[]},Yn.uniqWith=function(n,t){return t="function"==typeof t?t:P,n&&n.length?Kr(n,P,t):[]},Yn.unset=function(n,t){return null==n||Vr(n,t)},Yn.unzip=wu,Yn.unzipWith=mu,Yn.update=function(n,t,r){return null==n?n:Gr(n,t,ne(r))},Yn.updateWith=function(n,t,r,e){return e="function"==typeof e?e:P,null==n?n:Gr(n,t,ne(r),e)},Yn.values=ei,Yn.valuesIn=function(n){return null==n?[]:I(n,ti(n))},Yn.without=ef,Yn.words=oi,Yn.wrap=function(n,t){return kf(ne(t),n)},Yn.xor=uf,Yn.xorBy=of,Yn.xorWith=ff,Yn.zip=cf,Yn.zipObject=function(n,t){return Qr(n||[],t||[],jt)},Yn.zipObjectDeep=function(n,t){return Qr(n||[],t||[],Tr)},Yn.zipWith=af,Yn.entries=tc,Yn.entriesIn=rc,Yn.extend=Nf,Yn.extendWith=Pf,li(Yn,Yn),Yn.add=xc,Yn.attempt=sc,Yn.camelCase=ec,Yn.capitalize=ui,Yn.ceil=jc,Yn.clamp=function(n,t,r){return r===P&&(r=t,t=P),r!==P&&(r=(r=Hu(r))==r?r:0),t!==P&&(t=(t=Hu(t))==t?t:0),zt(Hu(n),t,r)},Yn.clone=function(n){return Et(n,4)},Yn.cloneDeep=function(n){return Et(n,5)},Yn.cloneDeepWith=function(n,t){return Et(n,5,t="function"==typeof t?t:P)},Yn.cloneWith=function(n,t){return Et(n,4,t="function"==typeof t?t:P)},Yn.conformsTo=function(n,t){return null==t||St(n,t,ni(t))},Yn.deburr=ii,Yn.defaultTo=function(n,t){return null==n||n!=n?t:n},Yn.divide=Ac,Yn.endsWith=function(n,t,r){n=Yu(n),t=Zr(t);var e=n.length,u=r=r===P?e:zt(Vu(r),0,e);return(r-=t.length)>=0&&n.slice(r,u)==t},Yn.eq=Wu,Yn.escape=function(n){return(n=Yu(n))&&Tn.test(n)?n.replace(Un,vr):n},Yn.escapeRegExp=function(n){return(n=Yu(n))&&Zn.test(n)?n.replace(qn,"\\$&"):n},Yn.every=function(n,t,r){var e=Sf(n)?u:Ct;return r&&Je(n,t,r)&&(t=P),e(n,Ne(t,3))},Yn.find=hf,Yn.findIndex=pu,Yn.findKey=function(n,t){return _(n,Ne(t,3),$t)},Yn.findLast=pf,Yn.findLastIndex=_u,Yn.findLastKey=function(n,t){return _(n,Ne(t,3),Dt)},Yn.floor=kc,Yn.forEach=Au,Yn.forEachRight=ku,Yn.forIn=function(n,t){return null==n?n:Eo(n,Ne(t,3),ti)},Yn.forInRight=function(n,t){return null==n?n:So(n,Ne(t,3),ti)},Yn.forOwn=function(n,t){return n&&$t(n,Ne(t,3))},Yn.forOwnRight=function(n,t){return n&&Dt(n,Ne(t,3))},Yn.get=Qu,Yn.gt=Rf,Yn.gte=zf,Yn.has=function(n,t){return null!=n&&Ke(n,t,Xt)},Yn.hasIn=Xu,Yn.head=gu,Yn.identity=ci,Yn.includes=function(n,t,r,e){n=Lu(n)?n:ei(n),r=r&&!e?Vu(r):0;var u=n.length;return r<0&&(r=uo(u+r,0)),Pu(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&g(n,t,r)>-1},Yn.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:Vu(r);return u<0&&(u=uo(e+u,0)),g(n,t,u)},Yn.inRange=function(n,t,r){return t=Ku(t),r===P?(r=t,t=0):r=Ku(r),function(n,t,r){return n>=io(t,r)&&n<uo(t,r)}(n=Hu(n),t,r)},Yn.invoke=Jf,Yn.isArguments=Ef,Yn.isArray=Sf,Yn.isArrayBuffer=Wf,Yn.isArrayLike=Lu,Yn.isArrayLikeObject=Cu,Yn.isBoolean=function(n){return!0===n||!1===n||Mu(n)&&Zt(n)==on},Yn.isBuffer=Lf,Yn.isDate=Cf,Yn.isElement=function(n){return Mu(n)&&1===n.nodeType&&!Nu(n)},Yn.isEmpty=function(n){if(null==n)return!0;if(Lu(n)&&(Sf(n)||"string"==typeof n||"function"==typeof n.splice||Lf(n)||$f(n)||Ef(n)))return!n.length;var t=Mo(n);if(t==sn||t==gn)return!n.size;if(Xe(n))return!wr(n).length;for(var r in n)if(zi.call(n,r))return!1;return!0},Yn.isEqual=function(n,t){return or(n,t)},Yn.isEqualWith=function(n,t,r){var e=(r="function"==typeof r?r:P)?r(n,t):P;return e===P?or(n,t,P,r):!!e},Yn.isError=Uu,Yn.isFinite=function(n){return"number"==typeof n&&to(n)},Yn.isFunction=Bu,Yn.isInteger=Tu,Yn.isLength=$u,Yn.isMap=Uf,Yn.isMatch=function(n,t){return n===t||pr(n,t,qe(t))},Yn.isMatchWith=function(n,t,r){return r="function"==typeof r?r:P,pr(n,t,qe(t),r)},Yn.isNaN=function(n){return Fu(n)&&n!=+n},Yn.isNative=function(n){if(Fo(n))throw new yi("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return dr(n)},Yn.isNil=function(n){return null==n},Yn.isNull=function(n){return null===n},Yn.isNumber=Fu,Yn.isObject=Du,Yn.isObjectLike=Mu,Yn.isPlainObject=Nu,Yn.isRegExp=Bf,Yn.isSafeInteger=function(n){return Tu(n)&&n>=-X&&n<=X},Yn.isSet=Tf,Yn.isString=Pu,Yn.isSymbol=qu,Yn.isTypedArray=$f,Yn.isUndefined=function(n){return n===P},Yn.isWeakMap=function(n){return Mu(n)&&Mo(n)==bn},Yn.isWeakSet=function(n){return Mu(n)&&"[object WeakSet]"==Zt(n)},Yn.join=function(n,t){return null==n?"":ro.call(n,t)},Yn.kebabCase=uc,Yn.last=yu,Yn.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e;return r!==P&&(u=(u=Vu(r))<0?uo(e+u,0):io(u,e-1)),t==t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,u):v(n,d,u,!0)},Yn.lowerCase=ic,Yn.lowerFirst=oc,Yn.lt=Df,Yn.lte=Mf,Yn.max=function(n){return n&&n.length?Ut(n,ci,Jt):P},Yn.maxBy=function(n,t){return n&&n.length?Ut(n,Ne(t,2),Jt):P},Yn.mean=function(n){return b(n,ci)},Yn.meanBy=function(n,t){return b(n,Ne(t,2))},Yn.min=function(n){return n&&n.length?Ut(n,ci,xr):P},Yn.minBy=function(n,t){return n&&n.length?Ut(n,Ne(t,2),xr):P},Yn.stubArray=pi,Yn.stubFalse=_i,Yn.stubObject=function(){return{}},Yn.stubString=function(){return""},Yn.stubTrue=function(){return!0},Yn.multiply=Oc,Yn.nth=function(n,t){return n&&n.length?Ir(n,Vu(t)):P},Yn.noConflict=function(){return tr._===this&&(tr._=Ci),this},Yn.noop=si,Yn.now=bf,Yn.pad=function(n,t,r){n=Yu(n);var e=(t=Vu(t))?D(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return ke(Qi(u),r)+n+ke(Yi(u),r)},Yn.padEnd=function(n,t,r){n=Yu(n);var e=(t=Vu(t))?D(n):0;return t&&e<t?n+ke(t-e,r):n},Yn.padStart=function(n,t,r){n=Yu(n);var e=(t=Vu(t))?D(n):0;return t&&e<t?ke(t-e,r)+n:n},Yn.parseInt=function(n,t,r){return r||null==t?t=0:t&&(t=+t),fo(Yu(n).replace(Kn,""),t||0)},Yn.random=function(n,t,r){if(r&&"boolean"!=typeof r&&Je(n,t,r)&&(t=r=P),r===P&&("boolean"==typeof t?(r=t,t=P):"boolean"==typeof n&&(r=n,n=P)),n===P&&t===P?(n=0,t=1):(n=Ku(n),t===P?(t=n,n=0):t=Ku(t)),n>t){var e=n;n=t,t=e}if(r||n%1||t%1){var u=co();return io(n+u*(t-n+Yt("1e-"+((u+"").length-1))),t)}return Wr(n,t)},Yn.reduce=function(n,t,r){var e=Sf(n)?l:x,u=arguments.length<3;return e(n,Ne(t,4),r,u,Ro)},Yn.reduceRight=function(n,t,r){var e=Sf(n)?s:x,u=arguments.length<3;return e(n,Ne(t,4),r,u,zo)},Yn.repeat=function(n,t,r){return t=(r?Je(n,t,r):t===P)?1:Vu(t),Lr(Yu(n),t)},Yn.replace=function(){var n=arguments,t=Yu(n[0]);return n.length<3?t:t.replace(n[1],n[2])},Yn.result=function(n,t,r){var e=-1,u=(t=te(t,n)).length;for(u||(u=1,n=P);++e<u;){var i=null==n?P:n[au(t[e])];i===P&&(e=u,i=r),n=Bu(i)?i.call(n):i}return n},Yn.round=Ic,Yn.runInContext=m,Yn.sample=function(n){return(Sf(n)?bt:Ur)(n)},Yn.size=function(n){if(null==n)return 0;if(Lu(n))return Pu(n)?D(n):n.length;var t=Mo(n);return t==sn||t==gn?n.size:wr(n).length},Yn.snakeCase=fc,Yn.some=function(n,t,r){var e=Sf(n)?h:Mr;return r&&Je(n,t,r)&&(t=P),e(n,Ne(t,3))},Yn.sortedIndex=function(n,t){return Fr(n,t)},Yn.sortedIndexBy=function(n,t,r){return Nr(n,t,Ne(r,2))},Yn.sortedIndexOf=function(n,t){var r=null==n?0:n.length;if(r){var e=Fr(n,t);if(e<r&&Wu(n[e],t))return e}return-1},Yn.sortedLastIndex=function(n,t){return Fr(n,t,!0)},Yn.sortedLastIndexBy=function(n,t,r){return Nr(n,t,Ne(r,2),!0)},Yn.sortedLastIndexOf=function(n,t){if(null!=n&&n.length){var r=Fr(n,t,!0)-1;if(Wu(n[r],t))return r}return-1},Yn.startCase=cc,Yn.startsWith=function(n,t,r){return n=Yu(n),r=null==r?0:zt(Vu(r),0,n.length),t=Zr(t),n.slice(r,r+t.length)==t},Yn.subtract=Rc,Yn.sum=function(n){return n&&n.length?j(n,ci):0},Yn.sumBy=function(n,t){return n&&n.length?j(n,Ne(t,2)):0},Yn.template=function(n,t,r){var e=Yn.templateSettings;r&&Je(n,t,r)&&(t=P),n=Yu(n),t=Pf({},t,e,Le);var u,i,o=Pf({},t.imports,e.imports,Le),f=ni(o),c=I(o,f),a=0,l=t.interpolate||ct,s="__p += '",h=mi((t.escape||ct).source+"|"+l.source+"|"+(l===Mn?nt:ct).source+"|"+(t.evaluate||ct).source+"|$","g"),p="//# sourceURL="+(zi.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Vt+"]")+"\n";n.replace(h,(function(t,r,e,o,f,c){return e||(e=o),s+=n.slice(a,c).replace(at,W),r&&(u=!0,s+="' +\n__e("+r+") +\n'"),f&&(i=!0,s+="';\n"+f+";\n__p += '"),e&&(s+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),a=c+t.length,t})),s+="';\n";var _=zi.call(t,"variable")&&t.variable;if(_){if(Qn.test(_))throw new yi("Invalid `variable` option passed into `_.template`")}else s="with (obj) {\n"+s+"\n}\n";s=(i?s.replace(Sn,""):s).replace(Wn,"$1").replace(Ln,"$1;"),s="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+s+"return __p\n}";var v=sc((function(){return di(f,p+"return "+s).apply(P,c)}));if(v.source=s,Uu(v))throw v;return v},Yn.times=function(n,t){if((n=Vu(n))<1||n>X)return[];var r=tn,e=io(n,tn);t=Ne(t),n-=tn;for(var u=A(e,t);++r<n;)t(r);return u},Yn.toFinite=Ku,Yn.toInteger=Vu,Yn.toLength=Gu,Yn.toLower=function(n){return Yu(n).toLowerCase()},Yn.toNumber=Hu,Yn.toSafeInteger=function(n){return n?zt(Vu(n),-X,X):0===n?n:0},Yn.toString=Yu,Yn.toUpper=function(n){return Yu(n).toUpperCase()},Yn.trim=function(n,t,r){if((n=Yu(n))&&(r||t===P))return k(n);if(!n||!(t=Zr(t)))return n;var e=M(n),u=M(t);return re(e,z(e,u),E(e,u)+1).join("")},Yn.trimEnd=function(n,t,r){if((n=Yu(n))&&(r||t===P))return n.slice(0,F(n)+1);if(!n||!(t=Zr(t)))return n;var e=M(n);return re(e,0,E(e,M(t))+1).join("")},Yn.trimStart=function(n,t,r){if((n=Yu(n))&&(r||t===P))return n.replace(Kn,"");if(!n||!(t=Zr(t)))return n;var e=M(n);return re(e,z(e,M(t))).join("")},Yn.truncate=function(n,t){var r=30,e="...";if(Du(t)){var u="separator"in t?t.separator:u;r="length"in t?Vu(t.length):r,e="omission"in t?Zr(t.omission):e}var i=(n=Yu(n)).length;if(L(n)){var o=M(n);i=o.length}if(r>=i)return n;var f=r-D(e);if(f<1)return e;var c=o?re(o,0,f).join(""):n.slice(0,f);if(u===P)return c+e;if(o&&(f+=c.length-f),Bf(u)){if(n.slice(f).search(u)){var a,l=c;for(u.global||(u=mi(u.source,Yu(tt.exec(u))+"g")),u.lastIndex=0;a=u.exec(l);)var s=a.index;c=c.slice(0,s===P?f:s)}}else if(n.indexOf(Zr(u),f)!=f){var h=c.lastIndexOf(u);h>-1&&(c=c.slice(0,h))}return c+e},Yn.unescape=function(n){return(n=Yu(n))&&Bn.test(n)?n.replace(Cn,gr):n},Yn.uniqueId=function(n){var t=++Ei;return Yu(n)+t},Yn.upperCase=ac,Yn.upperFirst=lc,Yn.each=Au,Yn.eachRight=ku,Yn.first=gu,li(Yn,function(){var n={};return $t(Yn,(function(t,r){zi.call(Yn.prototype,r)||(n[r]=t)})),n}(),{chain:!1}),Yn.VERSION="4.17.21",r(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(n){Yn[n].placeholder=Yn})),r(["drop","take"],(function(n,t){ht.prototype[n]=function(r){r=r===P?1:uo(Vu(r),0);var e=this.__filtered__&&!t?new ht(this):this.clone();return e.__filtered__?e.__takeCount__=io(r,e.__takeCount__):e.__views__.push({size:io(r,tn),type:n+(e.__dir__<0?"Right":"")}),e},ht.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}})),r(["filter","map","takeWhile"],(function(n,t){var r=t+1,e=1==r||3==r;ht.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:Ne(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}})),r(["head","last"],(function(n,t){var r="take"+(t?"Right":"");ht.prototype[n]=function(){return this[r](1).value()[0]}})),r(["initial","tail"],(function(n,t){var r="drop"+(t?"":"Right");ht.prototype[n]=function(){return this.__filtered__?new ht(this):this[r](1)}})),ht.prototype.compact=function(){return this.filter(ci)},ht.prototype.find=function(n){return this.filter(n).head()},ht.prototype.findLast=function(n){return this.reverse().find(n)},ht.prototype.invokeMap=Cr((function(n,t){return"function"==typeof n?new ht(this):this.map((function(r){return er(r,n,t)}))})),ht.prototype.reject=function(n){return this.filter(Su(Ne(n)))},ht.prototype.slice=function(n,t){n=Vu(n);var r=this;return r.__filtered__&&(n>0||t<0)?new ht(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==P&&(r=(t=Vu(t))<0?r.dropRight(-t):r.take(t-n)),r)},ht.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ht.prototype.toArray=function(){return this.take(tn)},$t(ht.prototype,(function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),u=Yn[e?"take"+("last"==t?"Right":""):t],i=e||/^find/.test(t);u&&(Yn.prototype[t]=function(){var t=this.__wrapped__,o=e?[1]:arguments,f=t instanceof ht,c=o[0],l=f||Sf(t),s=function(n){var t=u.apply(Yn,a([n],o));return e&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(f=l=!1);var h=this.__chain__,p=!!this.__actions__.length,_=i&&!h,v=f&&!p;if(!i&&l){t=v?t:new ht(this);var g=n.apply(t,o);return g.__actions__.push({func:ju,args:[s],thisArg:P}),new st(g,h)}return _&&v?n.apply(this,o):(g=this.thru(s),_?e?g.value()[0]:g.value():g)})})),r(["pop","push","shift","sort","splice","unshift"],(function(n){var t=Ai[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);Yn.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Sf(u)?u:[],n)}return this[r]((function(r){return t.apply(Sf(r)?r:[],n)}))}})),$t(ht.prototype,(function(n,t){var r=Yn[t];if(r){var e=r.name+"";zi.call(yo,e)||(yo[e]=[]),yo[e].push({name:t,func:r})}})),yo[me(P,2).name]=[{name:"wrapper",func:P}],ht.prototype.clone=function(){var n=new ht(this.__wrapped__);return n.__actions__=ae(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=ae(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=ae(this.__views__),n},ht.prototype.reverse=function(){if(this.__filtered__){var n=new ht(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},ht.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=Sf(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e<u;){var i=r[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":t-=o;break;case"take":t=io(t,n+o);break;case"takeRight":n=uo(n,t-o)}}return{start:n,end:t}}(0,u,this.__views__),o=i.start,f=i.end,c=f-o,a=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=io(c,this.__takeCount__);if(!r||!e&&u==c&&p==c)return Jr(n,this.__actions__);var _=[];n:for(;c--&&h<p;){for(var v=-1,g=n[a+=t];++v<s;){var y=l[v],d=y.iteratee,b=y.type,w=d(g);if(2==b)g=w;else if(!w){if(1==b)continue n;break n}}_[h++]=g}return _},Yn.prototype.at=lf,Yn.prototype.chain=function(){return xu(this)},Yn.prototype.commit=function(){return new st(this.value(),this.__chain__)},Yn.prototype.next=function(){this.__values__===P&&(this.__values__=Zu(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?P:this.__values__[this.__index__++]}},Yn.prototype.plant=function(n){for(var t,r=this;r instanceof lt;){var e=hu(r);e.__index__=0,e.__values__=P,t?u.__wrapped__=e:t=e;var u=e;r=r.__wrapped__}return u.__wrapped__=n,t},Yn.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof ht){var t=n;return this.__actions__.length&&(t=new ht(this)),(t=t.reverse()).__actions__.push({func:ju,args:[bu],thisArg:P}),new st(t,this.__chain__)}return this.thru(bu)},Yn.prototype.toJSON=Yn.prototype.valueOf=Yn.prototype.value=function(){return Jr(this.__wrapped__,this.__actions__)},Yn.prototype.first=Yn.prototype.head,Zi&&(Yn.prototype[Zi]=function(){return this}),Yn}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(tr._=yr,define((function(){return yr}))):er?((er.exports=yr)._=yr,rr._=yr):tr._=yr}).call(this);
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/react-dom.min.js b/wp-includes/js/dist/vendor/react-dom.min.js
index f9abec22ca..1ddd380ee7 100644
--- a/wp-includes/js/dist/vendor/react-dom.min.js
+++ b/wp-includes/js/dist/vendor/react-dom.min.js
@@ -6,240 +6,4 @@
  * This source code is licensed under the MIT license found in the
  * LICENSE file in the root directory of this source tree.
  */
-(function(){/*
- Modernizr 3.0.0pre (Custom Build) | MIT
-*/
-'use strict';(function(M,ha){"object"===typeof exports&&"undefined"!==typeof module?ha(exports,require("react")):"function"===typeof define&&define.amd?define(["exports","react"],ha):(M=M||self,ha(M.ReactDOM={},M.React))})(this,function(M,ha){function m(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
-function Ta(a,b){gb(a,b);gb(a+"Capture",b)}function gb(a,b){Ib[a]=b;for(a=0;a<b.length;a++)zf.add(b[a])}function li(a){if(Af.call(Bf,a))return!0;if(Af.call(Cf,a))return!1;if(mi.test(a))return Bf[a]=!0;Cf[a]=!0;return!1}function ni(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function oi(a,b,c,d){if(null===
-b||"undefined"===typeof b||ni(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function Q(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}function Ed(a,b,c,d){var e=I.hasOwnProperty(b)?I[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||
-"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(oi(b,c,e,d)&&(c=null),d||null===e?li(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function Jb(a){if(null===a||"object"!==typeof a)return null;a=Df&&a[Df]||a["@@iterator"];return"function"===typeof a?a:null}
-function Kb(a,b,c){if(void 0===Fd)try{throw Error();}catch(d){Fd=(b=d.stack.trim().match(/\n( *(at )?)/))&&b[1]||""}return"\n"+Fd+a}function Bc(a,b){if(!a||Gd)return"";Gd=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(b)if(b=function(){throw Error();},Object.defineProperty(b.prototype,"props",{set:function(){throw Error();}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(b,[])}catch(k){var d=k}Reflect.construct(a,[],b)}else{try{b.call()}catch(k){d=k}a.call(b.prototype)}else{try{throw Error();
-}catch(k){d=k}a()}}catch(k){if(k&&d&&"string"===typeof k.stack){for(var e=k.stack.split("\n"),f=d.stack.split("\n"),g=e.length-1,h=f.length-1;1<=g&&0<=h&&e[g]!==f[h];)h--;for(;1<=g&&0<=h;g--,h--)if(e[g]!==f[h]){if(1!==g||1!==h){do if(g--,h--,0>h||e[g]!==f[h])return"\n"+e[g].replace(" at new "," at ");while(1<=g&&0<=h)}break}}}finally{Gd=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:"")?Kb(a):""}function pi(a){switch(a.tag){case 5:return Kb(a.type);case 16:return Kb("Lazy");case 13:return Kb("Suspense");
-case 19:return Kb("SuspenseList");case 0:case 2:case 15:return a=Bc(a.type,!1),a;case 11:return a=Bc(a.type.render,!1),a;case 22:return a=Bc(a.type._render,!1),a;case 1:return a=Bc(a.type,!0),a;default:return""}}function hb(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case wa:return"Fragment";case Ua:return"Portal";case Lb:return"Profiler";case Hd:return"StrictMode";case Mb:return"Suspense";case Cc:return"SuspenseList"}if("object"===
-typeof a)switch(a.$$typeof){case Id:return(a.displayName||"Context")+".Consumer";case Jd:return(a._context.displayName||"Context")+".Provider";case Dc:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":"ForwardRef");case Ec:return hb(a.type);case Kd:return hb(a._render);case Ld:b=a._payload;a=a._init;try{return hb(a(b))}catch(c){}}return null}function xa(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;
-default:return""}}function Ef(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}function qi(a){var b=Ef(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"undefined"!==typeof c&&"function"===typeof c.get&&"function"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=""+a;f.call(this,a)}});Object.defineProperty(a,
-b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function Fc(a){a._valueTracker||(a._valueTracker=qi(a))}function Ff(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=Ef(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Gc(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||
-a.body}catch(b){return a.body}}function Md(a,b){var c=b.checked;return B({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Gf(a,b){var c=null==b.defaultValue?"":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=xa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}function Hf(a,b){b=b.checked;null!=b&&Ed(a,"checked",
-b,!1)}function Nd(a,b){Hf(a,b);var c=xa(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?Od(a,b.type,c):b.hasOwnProperty("defaultValue")&&Od(a,b.type,xa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function If(a,b,c){if(b.hasOwnProperty("value")||b.hasOwnProperty("defaultValue")){var d=
-b.type;if(!("submit"!==d&&"reset"!==d||void 0!==b.value&&null!==b.value))return;b=""+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;""!==c&&(a.name="");a.defaultChecked=!!a._wrapperState.initialChecked;""!==c&&(a.name=c)}function Od(a,b,c){if("number"!==b||Gc(a.ownerDocument)!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c)}function ri(a){var b="";ha.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}
-function Pd(a,b){a=B({children:void 0},b);if(b=ri(b.children))a.children=b;return a}function ib(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+xa(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function Qd(a,b){if(null!=
-b.dangerouslySetInnerHTML)throw Error(m(91));return B({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Jf(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(m(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(m(93));c=c[0]}b=c}null==b&&(b="");c=b}a._wrapperState={initialValue:xa(c)}}function Kf(a,b){var c=xa(b.value),d=xa(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==
-c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Lf(a,b){b=a.textContent;b===a._wrapperState.initialValue&&""!==b&&null!==b&&(a.value=b)}function Mf(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Rd(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Mf(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function Nf(a,b,c){return null==
-b||"boolean"===typeof b||""===b?"":c||"number"!==typeof b||0===b||Nb.hasOwnProperty(a)&&Nb[a]?(""+b).trim():b+"px"}function Of(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=Nf(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}function Sd(a,b){if(b){if(si[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(m(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(m(60));if(!("object"===typeof b.dangerouslySetInnerHTML&&
-"__html"in b.dangerouslySetInnerHTML))throw Error(m(61));}if(null!=b.style&&"object"!==typeof b.style)throw Error(m(62));}}function Td(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return!1;default:return!0}}function Ud(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);
-return 3===a.nodeType?a.parentNode:a}function Pf(a){if(a=Ob(a)){if("function"!==typeof Vd)throw Error(m(280));var b=a.stateNode;b&&(b=Hc(b),Vd(a.stateNode,a.type,b))}}function Qf(a){jb?kb?kb.push(a):kb=[a]:jb=a}function Rf(){if(jb){var a=jb,b=kb;kb=jb=null;Pf(a);if(b)for(a=0;a<b.length;a++)Pf(b[a])}}function Wd(){if(null!==jb||null!==kb)Xd(),Rf()}function ti(a,b,c){if(Yd)return a(b,c);Yd=!0;try{return Sf(a,b,c)}finally{Yd=!1,Wd()}}function Pb(a,b){var c=a.stateNode;if(null===c)return null;var d=Hc(c);
-if(null===d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!==typeof c)throw Error(m(231,b,typeof c));return c}function ui(a,b,c,d,e,
-f,g,h,k){Qb=!1;Ic=null;vi.apply(wi,arguments)}function xi(a,b,c,d,e,f,g,h,k){ui.apply(this,arguments);if(Qb){if(Qb){var v=Ic;Qb=!1;Ic=null}else throw Error(m(198));Jc||(Jc=!0,Zd=v)}}function Va(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.flags&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function Tf(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Uf(a){if(Va(a)!==
-a)throw Error(m(188));}function yi(a){var b=a.alternate;if(!b){b=Va(a);if(null===b)throw Error(m(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Uf(e),a;if(f===d)return Uf(e),b;f=f.sibling}throw Error(m(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=
-f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(m(189));}}if(c.alternate!==d)throw Error(m(190));}if(3!==c.tag)throw Error(m(188));return c.stateNode.current===c?a:b}function Vf(a){a=yi(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function Wf(a,b){for(var c=
-a.alternate;null!==b;){if(b===a||b===c)return!0;b=b.return}return!1}function $d(a,b,c,d,e){return{blockedOn:a,domEventName:b,eventSystemFlags:c|16,nativeEvent:e,targetContainers:[d]}}function Xf(a,b){switch(a){case "focusin":case "focusout":ya=null;break;case "dragenter":case "dragleave":za=null;break;case "mouseover":case "mouseout":Aa=null;break;case "pointerover":case "pointerout":Rb.delete(b.pointerId);break;case "gotpointercapture":case "lostpointercapture":Sb.delete(b.pointerId)}}function Tb(a,
-b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a=$d(b,c,d,e,f),null!==b&&(b=Ob(b),null!==b&&Yf(b)),a;a.eventSystemFlags|=d;b=a.targetContainers;null!==e&&-1===b.indexOf(e)&&b.push(e);return a}function zi(a,b,c,d,e){switch(b){case "focusin":return ya=Tb(ya,a,b,c,d,e),!0;case "dragenter":return za=Tb(za,a,b,c,d,e),!0;case "mouseover":return Aa=Tb(Aa,a,b,c,d,e),!0;case "pointerover":var f=e.pointerId;Rb.set(f,Tb(Rb.get(f)||null,a,b,c,d,e));return!0;case "gotpointercapture":return f=e.pointerId,Sb.set(f,
-Tb(Sb.get(f)||null,a,b,c,d,e)),!0}return!1}function Ai(a){var b=Wa(a.target);if(null!==b){var c=Va(b);if(null!==c)if(b=c.tag,13===b){if(b=Tf(c),null!==b){a.blockedOn=b;Bi(a.lanePriority,function(){ae(a.priority,function(){Ci(c)})});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}function Kc(a){if(null!==a.blockedOn)return!1;for(var b=a.targetContainers;0<b.length;){var c=be(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);
-if(null!==c)return b=Ob(c),null!==b&&Yf(b),a.blockedOn=c,!1;b.shift()}return!0}function Zf(a,b,c){Kc(a)&&c.delete(b)}function Di(){for(ce=!1;0<ia.length;){var a=ia[0];if(null!==a.blockedOn){a=Ob(a.blockedOn);null!==a&&Ei(a);break}for(var b=a.targetContainers;0<b.length;){var c=be(a.domEventName,a.eventSystemFlags,b[0],a.nativeEvent);if(null!==c){a.blockedOn=c;break}b.shift()}null===a.blockedOn&&ia.shift()}null!==ya&&Kc(ya)&&(ya=null);null!==za&&Kc(za)&&(za=null);null!==Aa&&Kc(Aa)&&(Aa=null);Rb.forEach(Zf);
-Sb.forEach(Zf)}function Ub(a,b){a.blockedOn===b&&(a.blockedOn=null,ce||(ce=!0,$f(ag,Di)))}function bg(a){if(0<ia.length){Ub(ia[0],a);for(var b=1;b<ia.length;b++){var c=ia[b];c.blockedOn===a&&(c.blockedOn=null)}}null!==ya&&Ub(ya,a);null!==za&&Ub(za,a);null!==Aa&&Ub(Aa,a);b=function(b){return Ub(b,a)};Rb.forEach(b);Sb.forEach(b);for(b=0;b<Vb.length;b++)c=Vb[b],c.blockedOn===a&&(c.blockedOn=null);for(;0<Vb.length&&(b=Vb[0],null===b.blockedOn);)Ai(b),null===b.blockedOn&&Vb.shift()}function Lc(a,b){var c=
-{};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function Mc(a){if(de[a])return de[a];if(!lb[a])return a;var b=lb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in cg)return de[a]=b[c];return a}function ee(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1];e="on"+(e[0].toUpperCase()+e.slice(1));fe.set(d,b);dg.set(d,e);Ta(e,[d])}}function mb(a){if(0!==(1&a))return w=15,1;if(0!==(2&a))return w=14,2;if(0!==(4&a))return w=13,4;var b=24&a;if(0!==b)return w=12,b;
-if(0!==(a&32))return w=11,32;b=192&a;if(0!==b)return w=10,b;if(0!==(a&256))return w=9,256;b=3584&a;if(0!==b)return w=8,b;if(0!==(a&4096))return w=7,4096;b=4186112&a;if(0!==b)return w=6,b;b=62914560&a;if(0!==b)return w=5,b;if(a&67108864)return w=4,67108864;if(0!==(a&134217728))return w=3,134217728;b=805306368&a;if(0!==b)return w=2,b;if(0!==(1073741824&a))return w=1,1073741824;w=8;return a}function Fi(a){switch(a){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}
-function Gi(a){switch(a){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(m(358,a));}}function Wb(a,b){var c=a.pendingLanes;if(0===c)return w=0;var d=0,e=0,f=a.expiredLanes,g=a.suspendedLanes,h=a.pingedLanes;if(0!==f)d=f,e=w=15;else if(f=c&134217727,0!==f){var k=f&~g;0!==k?(d=mb(k),e=w):(h&=f,0!==h&&(d=mb(h),e=w))}else f=c&~g,0!==f?(d=mb(f),e=w):0!==h&&(d=mb(h),
-e=w);if(0===d)return 0;d=31-Ba(d);d=c&((0>d?0:1<<d)<<1)-1;if(0!==b&&b!==d&&0===(b&g)){mb(b);if(e<=w)return b;w=e}b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0<b;)c=31-Ba(b),e=1<<c,d|=a[c],b&=~e;return d}function eg(a){a=a.pendingLanes&-1073741825;return 0!==a?a:a&1073741824?1073741824:0}function Nc(a,b){switch(a){case 15:return 1;case 14:return 2;case 12:return a=nb(24&~b),0===a?Nc(10,b):a;case 10:return a=nb(192&~b),0===a?Nc(8,b):a;case 8:return a=nb(3584&~b),0===a&&(a=nb(4186112&~b),
-0===a&&(a=512)),a;case 2:return b=nb(805306368&~b),0===b&&(b=268435456),b}throw Error(m(358,a));}function nb(a){return a&-a}function ge(a){for(var b=[],c=0;31>c;c++)b.push(a);return b}function Oc(a,b,c){a.pendingLanes|=b;var d=b-1;a.suspendedLanes&=d;a.pingedLanes&=d;a=a.eventTimes;b=31-Ba(b);a[b]=c}function Hi(a){return 0===a?32:31-(Ii(a)/Ji|0)|0}function Ki(a,b,c,d){Xa||Xd();var e=he,f=Xa;Xa=!0;try{fg(e,a,b,c,d)}finally{(Xa=f)||Wd()}}function Li(a,b,c,d){Mi(Ni,he.bind(null,a,b,c,d))}function he(a,
-b,c,d){if(Pc){var e;if((e=0===(b&4))&&0<ia.length&&-1<gg.indexOf(a))a=$d(null,a,b,c,d),ia.push(a);else{var f=be(a,b,c,d);if(null===f)e&&Xf(a,d);else{if(e){if(-1<gg.indexOf(a)){a=$d(f,a,b,c,d);ia.push(a);return}if(zi(f,a,b,c,d))return;Xf(a,d)}hg(a,b,d,null,c)}}}}function be(a,b,c,d){var e=Ud(d);e=Wa(e);if(null!==e){var f=Va(e);if(null===f)e=null;else{var g=f.tag;if(13===g){e=Tf(f);if(null!==e)return e;e=null}else if(3===g){if(f.stateNode.hydrate)return 3===f.tag?f.stateNode.containerInfo:null;e=null}else f!==
-e&&(e=null)}}hg(a,b,d,e,c);return null}function ig(){if(Qc)return Qc;var a,b=ie,c=b.length,d,e="value"in Ca?Ca.value:Ca.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return Qc=e.slice(a,1<d?1-d:void 0)}function Rc(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function Sc(){return!0}function jg(){return!1}function V(a){function b(b,d,e,f,g){this._reactName=b;this._targetInst=e;this.type=
-d;this.nativeEvent=f;this.target=g;this.currentTarget=null;for(var c in a)a.hasOwnProperty(c)&&(b=a[c],this[c]=b?b(f):f[c]);this.isDefaultPrevented=(null!=f.defaultPrevented?f.defaultPrevented:!1===f.returnValue)?Sc:jg;this.isPropagationStopped=jg;return this}B(b.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=Sc)},stopPropagation:function(){var a=
-this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=Sc)},persist:function(){},isPersistent:Sc});return b}function Oi(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Pi[a])?!!b[a]:!1}function je(a){return Oi}function kg(a,b){switch(a){case "keyup":return-1!==Qi.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "focusout":return!0;default:return!1}}
-function lg(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}function Ri(a,b){switch(a){case "compositionend":return lg(b);case "keypress":if(32!==b.which)return null;mg=!0;return ng;case "textInput":return a=b.data,a===ng&&mg?null:a;default:return null}}function Si(a,b){if(ob)return"compositionend"===a||!ke&&kg(a,b)?(a=ig(),Qc=ie=Ca=null,ob=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;
-if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return og&&"ko"!==b.locale?null:b.data;default:return null}}function pg(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!Ti[a.type]:"textarea"===b?!0:!1}function Ui(a){if(!oa)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}function qg(a,b,c,d){Qf(d);b=Tc(b,"onChange");0<b.length&&(c=new le("onChange","change",
-null,c,d),a.push({event:c,listeners:b}))}function Vi(a){rg(a,0)}function Uc(a){var b=pb(a);if(Ff(b))return a}function Wi(a,b){if("change"===a)return b}function sg(){Xb&&(Xb.detachEvent("onpropertychange",tg),Yb=Xb=null)}function tg(a){if("value"===a.propertyName&&Uc(Yb)){var b=[];qg(b,Yb,a,Ud(a));a=Vi;if(Xa)a(b);else{Xa=!0;try{me(a,b)}finally{Xa=!1,Wd()}}}}function Xi(a,b,c){"focusin"===a?(sg(),Xb=b,Yb=c,Xb.attachEvent("onpropertychange",tg)):"focusout"===a&&sg()}function Yi(a,b){if("selectionchange"===
-a||"keyup"===a||"keydown"===a)return Uc(Yb)}function Zi(a,b){if("click"===a)return Uc(b)}function $i(a,b){if("input"===a||"change"===a)return Uc(b)}function aj(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}function Zb(a,b){if(X(a,b))return!0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!bj.call(b,c[d])||!X(a[c[d]],b[c[d]]))return!1;return!0}function ug(a){for(;a&&a.firstChild;)a=
-a.firstChild;return a}function vg(a,b){var c=ug(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ug(c)}}function wg(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wg(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function xg(){for(var a=window,b=Gc();b instanceof a.HTMLIFrameElement;){try{var c=
-"string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Gc(a.document)}return b}function ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}function yg(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;oe||null==qb||qb!==Gc(d)||(d=qb,"selectionStart"in d&&ne(d)?d={start:d.selectionStart,
-end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),$b&&Zb($b,d)||($b=d,d=Tc(pe,"onSelect"),0<d.length&&(b=new le("onSelect","select",null,b,c),a.push({event:b,listeners:d}),b.target=qb)))}function zg(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;xi(d,b,void 0,a);a.currentTarget=null}function rg(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=
-a[c],e=d.event;d=d.listeners;a:{var f=void 0;if(b)for(var g=d.length-1;0<=g;g--){var h=d[g],k=h.instance,v=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;zg(e,h,v);f=k}else for(g=0;g<d.length;g++){h=d[g];k=h.instance;v=h.currentTarget;h=h.listener;if(k!==f&&e.isPropagationStopped())break a;zg(e,h,v);f=k}}}if(Jc)throw a=Zd,Jc=!1,Zd=null,a;}function z(a,b){var c=Ag(b),d=a+"__bubble";c.has(d)||(Bg(b,a,2,!1),c.add(d))}function Cg(a){a[Dg]||(a[Dg]=!0,zf.forEach(function(b){Eg.has(b)||
-Fg(b,!1,a,null);Fg(b,!0,a,null)}))}function Fg(a,b,c,d){var e=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,f=c;"selectionchange"===a&&9!==c.nodeType&&(f=c.ownerDocument);if(null!==d&&!b&&Eg.has(a)){if("scroll"!==a)return;e|=2;f=d}var g=Ag(f),h=a+"__"+(b?"capture":"bubble");g.has(h)||(b&&(e|=4),Bg(f,a,e,b),g.add(h))}function Bg(a,b,c,d,e){e=fe.get(b);switch(void 0===e?2:e){case 0:e=Ki;break;case 1:e=Li;break;default:e=he}c=e.bind(null,b,c,a);e=void 0;!qe||"touchstart"!==b&&"touchmove"!==
-b&&"wheel"!==b||(e=!0);d?void 0!==e?a.addEventListener(b,c,{capture:!0,passive:e}):a.addEventListener(b,c,!0):void 0!==e?a.addEventListener(b,c,{passive:e}):a.addEventListener(b,c,!1)}function hg(a,b,c,d,e){var f=d;if(0===(b&1)&&0===(b&2)&&null!==d)a:for(;;){if(null===d)return;var g=d.tag;if(3===g||4===g){var h=d.stateNode.containerInfo;if(h===e||8===h.nodeType&&h.parentNode===e)break;if(4===g)for(g=d.return;null!==g;){var k=g.tag;if(3===k||4===k)if(k=g.stateNode.containerInfo,k===e||8===k.nodeType&&
-k.parentNode===e)return;g=g.return}for(;null!==h;){g=Wa(h);if(null===g)return;k=g.tag;if(5===k||6===k){d=f=g;continue a}h=h.parentNode}}d=d.return}ti(function(){var d=f,e=Ud(c),g=[];a:{var h=dg.get(a);if(void 0!==h){var k=le,m=a;switch(a){case "keypress":if(0===Rc(c))break a;case "keydown":case "keyup":k=cj;break;case "focusin":m="focus";k=re;break;case "focusout":m="blur";k=re;break;case "beforeblur":case "afterblur":k=re;break;case "click":if(2===c.button)break a;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":k=
-Gg;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":k=dj;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":k=ej;break;case Hg:case Ig:case Jg:k=fj;break;case Kg:k=gj;break;case "scroll":k=hj;break;case "wheel":k=ij;break;case "copy":case "cut":case "paste":k=jj;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":k=
-Lg}var l=0!==(b&4),C=!l&&"scroll"===a,x=l?null!==h?h+"Capture":null:h;l=[];for(var p=d,q;null!==p;){q=p;var u=q.stateNode;5===q.tag&&null!==u&&(q=u,null!==x&&(u=Pb(p,x),null!=u&&l.push(ac(p,u,q))));if(C)break;p=p.return}0<l.length&&(h=new k(h,m,null,c,e),g.push({event:h,listeners:l}))}}if(0===(b&7)){a:{h="mouseover"===a||"pointerover"===a;k="mouseout"===a||"pointerout"===a;if(h&&0===(b&16)&&(m=c.relatedTarget||c.fromElement)&&(Wa(m)||m[rb]))break a;if(k||h){h=e.window===e?e:(h=e.ownerDocument)?h.defaultView||
-h.parentWindow:window;if(k){if(m=c.relatedTarget||c.toElement,k=d,m=m?Wa(m):null,null!==m&&(C=Va(m),m!==C||5!==m.tag&&6!==m.tag))m=null}else k=null,m=d;if(k!==m){l=Gg;u="onMouseLeave";x="onMouseEnter";p="mouse";if("pointerout"===a||"pointerover"===a)l=Lg,u="onPointerLeave",x="onPointerEnter",p="pointer";C=null==k?h:pb(k);q=null==m?h:pb(m);h=new l(u,p+"leave",k,c,e);h.target=C;h.relatedTarget=q;u=null;Wa(e)===d&&(l=new l(x,p+"enter",m,c,e),l.target=q,l.relatedTarget=C,u=l);C=u;if(k&&m)b:{l=k;x=m;p=
-0;for(q=l;q;q=sb(q))p++;q=0;for(u=x;u;u=sb(u))q++;for(;0<p-q;)l=sb(l),p--;for(;0<q-p;)x=sb(x),q--;for(;p--;){if(l===x||null!==x&&l===x.alternate)break b;l=sb(l);x=sb(x)}l=null}else l=null;null!==k&&Mg(g,h,k,l,!1);null!==m&&null!==C&&Mg(g,C,m,l,!0)}}}a:{h=d?pb(d):window;k=h.nodeName&&h.nodeName.toLowerCase();if("select"===k||"input"===k&&"file"===h.type)var n=Wi;else if(pg(h))if(Ng)n=$i;else{n=Yi;var da=Xi}else(k=h.nodeName)&&"input"===k.toLowerCase()&&("checkbox"===h.type||"radio"===h.type)&&(n=Zi);
-if(n&&(n=n(a,d))){qg(g,n,c,e);break a}da&&da(a,h,d);"focusout"===a&&(da=h._wrapperState)&&da.controlled&&"number"===h.type&&Od(h,"number",h.value)}da=d?pb(d):window;switch(a){case "focusin":if(pg(da)||"true"===da.contentEditable)qb=da,pe=d,$b=null;break;case "focusout":$b=pe=qb=null;break;case "mousedown":oe=!0;break;case "contextmenu":case "mouseup":case "dragend":oe=!1;yg(g,c,e);break;case "selectionchange":if(kj)break;case "keydown":case "keyup":yg(g,c,e)}var Ea;if(ke)b:{switch(a){case "compositionstart":var F=
-"onCompositionStart";break b;case "compositionend":F="onCompositionEnd";break b;case "compositionupdate":F="onCompositionUpdate";break b}F=void 0}else ob?kg(a,c)&&(F="onCompositionEnd"):"keydown"===a&&229===c.keyCode&&(F="onCompositionStart");F&&(og&&"ko"!==c.locale&&(ob||"onCompositionStart"!==F?"onCompositionEnd"===F&&ob&&(Ea=ig()):(Ca=e,ie="value"in Ca?Ca.value:Ca.textContent,ob=!0)),da=Tc(d,F),0<da.length&&(F=new Og(F,a,null,c,e),g.push({event:F,listeners:da}),Ea?F.data=Ea:(Ea=lg(c),null!==Ea&&
-(F.data=Ea))));if(Ea=lj?Ri(a,c):Si(a,c))d=Tc(d,"onBeforeInput"),0<d.length&&(e=new mj("onBeforeInput","beforeinput",null,c,e),g.push({event:e,listeners:d}),e.data=Ea)}rg(g,b)})}function ac(a,b,c){return{instance:a,listener:b,currentTarget:c}}function Tc(a,b){for(var c=b+"Capture",d=[];null!==a;){var e=a,f=e.stateNode;5===e.tag&&null!==f&&(e=f,f=Pb(a,c),null!=f&&d.unshift(ac(a,f,e)),f=Pb(a,b),null!=f&&d.push(ac(a,f,e)));a=a.return}return d}function sb(a){if(null===a)return null;do a=a.return;while(a&&
-5!==a.tag);return a?a:null}function Mg(a,b,c,d,e){for(var f=b._reactName,g=[];null!==c&&c!==d;){var h=c,k=h.alternate,v=h.stateNode;if(null!==k&&k===d)break;5===h.tag&&null!==v&&(h=v,e?(k=Pb(c,f),null!=k&&g.unshift(ac(c,k,h))):e||(k=Pb(c,f),null!=k&&g.push(ac(c,k,h))));c=c.return}0!==g.length&&a.push({event:b,listeners:g})}function Vc(){}function Pg(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}function se(a,b){return"textarea"===a||"option"===
-a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}function te(a){1===a.nodeType?a.textContent="":9===a.nodeType&&(a=a.body,null!=a&&(a.textContent=""))}function tb(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}function Qg(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if("$"===c||"$!"===c||"$?"===
-c){if(0===b)return a;b--}else"/$"===c&&b++}a=a.previousSibling}return null}function nj(a){return{$$typeof:ue,toString:a,valueOf:a}}function Wa(a){var b=a[Fa];if(b)return b;for(var c=a.parentNode;c;){if(b=c[rb]||c[Fa]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Qg(a);null!==a;){if(c=a[Fa])return c;a=Qg(a)}return b}a=c;c=a.parentNode}return null}function Ob(a){a=a[Fa]||a[rb];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function pb(a){if(5===a.tag||6===a.tag)return a.stateNode;
-throw Error(m(33));}function Hc(a){return a[Wc]||null}function Ag(a){var b=a[Rg];void 0===b&&(b=a[Rg]=new Set);return b}function Ga(a){return{current:a}}function t(a,b){0>ub||(a.current=ve[ub],ve[ub]=null,ub--)}function A(a,b,c){ub++;ve[ub]=a.current;a.current=b}function vb(a,b){var c=a.type.contextTypes;if(!c)return Ha;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=
-b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function S(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Sg(a,b,c){if(D.current!==Ha)throw Error(m(168));A(D,b);A(J,c)}function Tg(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(m(108,hb(b)||"Unknown",e));return B({},c,d)}function Xc(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Ha;Ya=D.current;
-A(D,a);A(J,J.current);return!0}function Ug(a,b,c){var d=a.stateNode;if(!d)throw Error(m(169));c?(a=Tg(a,b,Ya),d.__reactInternalMemoizedMergedChildContext=a,t(J),t(D),A(D,a)):t(J);A(J,c)}function wb(){switch(oj()){case Yc:return 99;case Vg:return 98;case Wg:return 97;case Xg:return 96;case Yg:return 95;default:throw Error(m(332));}}function Zg(a){switch(a){case 99:return Yc;case 98:return Vg;case 97:return Wg;case 96:return Xg;case 95:return Yg;default:throw Error(m(332));}}function Za(a,b){a=Zg(a);
-return pj(a,b)}function bc(a,b,c){a=Zg(a);return we(a,b,c)}function ja(){if(null!==Zc){var a=Zc;Zc=null;xe(a)}$g()}function $g(){if(!ye&&null!==pa){ye=!0;var a=0;try{var b=pa;Za(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});pa=null}catch(c){throw null!==pa&&(pa=pa.slice(a+1)),we(Yc,ja),c;}finally{ye=!1}}}function ea(a,b){if(a&&a.defaultProps){b=B({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b}function ze(){$c=xb=ad=null}function Ae(a){var b=
-bd.current;t(bd);a.type._context._currentValue=b}function ah(a,b){for(;null!==a;){var c=a.alternate;if((a.childLanes&b)===b)if(null===c||(c.childLanes&b)===b)break;else c.childLanes|=b;else a.childLanes|=b,null!==c&&(c.childLanes|=b);a=a.return}}function yb(a,b){ad=a;$c=xb=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(fa=!0),a.firstContext=null)}function Y(a,b){if($c!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)$c=a,b=1073741823;b={context:a,observedBits:b,
-next:null};if(null===xb){if(null===ad)throw Error(m(308));xb=b;ad.dependencies={lanes:0,firstContext:b,responders:null}}else xb=xb.next=b}return a._currentValue}function Be(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function bh(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function Ia(a,b){return{eventTime:a,
-lane:b,tag:0,payload:null,callback:null,next:null}}function Ja(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}function ch(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=
-f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=b;c.lastBaseUpdate=b}function cc(a,b,c,d){var e=a.updateQueue;Ka=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,v=k.next;k.next=null;null===g?f=v:g.next=v;g=k;var m=a.alternate;if(null!==m){m=m.updateQueue;var l=m.lastBaseUpdate;l!==g&&(null===l?m.firstBaseUpdate=
-v:l.next=v,m.lastBaseUpdate=k)}}if(null!==f){l=e.baseState;g=0;m=v=k=null;do{h=f.lane;var r=f.eventTime;if((d&h)===h){null!==m&&(m=m.next={eventTime:r,lane:0,tag:f.tag,payload:f.payload,callback:f.callback,next:null});a:{var n=a,t=f;h=b;r=c;switch(t.tag){case 1:n=t.payload;if("function"===typeof n){l=n.call(r,l,h);break a}l=n;break a;case 3:n.flags=n.flags&-4097|64;case 0:n=t.payload;h="function"===typeof n?n.call(r,l,h):n;if(null===h||void 0===h)break a;l=B({},l,h);break a;case 2:Ka=!0}}null!==f.callback&&
-(a.flags|=32,h=e.effects,null===h?e.effects=[f]:h.push(f))}else r={eventTime:r,lane:h,tag:f.tag,payload:f.payload,callback:f.callback,next:null},null===m?(v=m=r,k=l):m=m.next=r,g|=h;f=f.next;if(null===f)if(h=e.shared.pending,null===h)break;else f=h.next,h.next=null,e.lastBaseUpdate=h,e.shared.pending=null}while(1);null===m&&(k=l);e.baseState=k;e.firstBaseUpdate=v;e.lastBaseUpdate=m;La|=g;a.lanes=g;a.memoizedState=l}}function dh(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=
-a[b],e=d.callback;if(null!==e){d.callback=null;d=c;if("function"!==typeof e)throw Error(m(191,e));e.call(d)}}}function cd(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:B({},b,c);a.memoizedState=c;0===a.lanes&&(a.updateQueue.baseState=c)}function eh(a,b,c,d,e,f,g){a=a.stateNode;return"function"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!Zb(c,d)||!Zb(e,f):!0}function fh(a,b,c){var d=!1,e=Ha;var f=b.contextType;"object"===
-typeof f&&null!==f?f=Y(f):(e=S(b)?Ya:D.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?vb(a,e):Ha);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=dd;a.stateNode=b;b._reactInternals=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}function gh(a,b,c,d){a=b.state;"function"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);"function"===typeof b.UNSAFE_componentWillReceiveProps&&
-b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&dd.enqueueReplaceState(b,b.state,null)}function Ce(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=hh;Be(a);var f=b.contextType;"object"===typeof f&&null!==f?e.context=Y(f):(f=S(b)?Ya:D.current,e.context=vb(a,f));cc(a,c,e,d);e.state=a.memoizedState;f=b.getDerivedStateFromProps;"function"===typeof f&&(cd(a,b,f,c),e.state=a.memoizedState);"function"===typeof b.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||
-"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==typeof e.componentWillMount||(b=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&dd.enqueueReplaceState(e,e.state,null),cc(a,c,e,d),e.state=a.memoizedState);"function"===typeof e.componentDidMount&&(a.flags|=4)}function dc(a,b,c){a=c.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==
-c.tag)throw Error(m(309));var d=c.stateNode}if(!d)throw Error(m(147,a));var e=""+a;if(null!==b&&null!==b.ref&&"function"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===hh&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}if("string"!==typeof a)throw Error(m(284));if(!c._owner)throw Error(m(290,a));}return a}function ed(a,b){if("textarea"!==a.type)throw Error(m(31,"[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+
-"}":b));}function ih(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.flags=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){a=Ma(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.flags=
-2,c):d;b.flags=2;return c}function g(b){a&&null===b.alternate&&(b.flags=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=De(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=dc(a,b,c),d.return=a,d;d=fd(c.type,c.key,c.props,null,a.mode,d);d.ref=dc(a,b,c);d.return=a;return d}function v(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=
-Ee(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function l(a,b,c,d,f){if(null===b||7!==b.tag)return b=zb(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function n(a,b,c){if("string"===typeof b||"number"===typeof b)return b=De(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case ec:return c=fd(b.type,b.key,b.props,null,a.mode,c),c.ref=dc(a,null,b),c.return=a,c;case Ua:return b=Ee(b,a.mode,c),b.return=a,b}if(gd(b)||Jb(b))return b=zb(b,
-a.mode,c,null),b.return=a,b;ed(a,b)}return null}function r(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case ec:return c.key===e?c.type===wa?l(a,b,c.props.children,d,e):k(a,b,c,d):null;case Ua:return c.key===e?v(a,b,c,d):null}if(gd(c)||Jb(c))return null!==e?null:l(a,b,c,d,null);ed(a,c)}return null}function t(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||
-null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case ec:return a=a.get(null===d.key?c:d.key)||null,d.type===wa?l(b,a,d.props.children,e,d.key):k(b,a,d,e);case Ua:return a=a.get(null===d.key?c:d.key)||null,v(b,a,d,e)}if(gd(d)||Jb(d))return a=a.get(c)||null,l(b,a,d,e,null);ed(b,d)}return null}function w(e,g,h,k){for(var m=null,v=null,l=g,p=g=0,x=null;null!==l&&p<h.length;p++){l.index>p?(x=l,l=null):x=l.sibling;var C=r(e,l,h[p],k);if(null===C){null===l&&(l=x);break}a&&l&&null===
-C.alternate&&b(e,l);g=f(C,g,p);null===v?m=C:v.sibling=C;v=C;l=x}if(p===h.length)return c(e,l),m;if(null===l){for(;p<h.length;p++)l=n(e,h[p],k),null!==l&&(g=f(l,g,p),null===v?m=l:v.sibling=l,v=l);return m}for(l=d(e,l);p<h.length;p++)x=t(l,e,p,h[p],k),null!==x&&(a&&null!==x.alternate&&l.delete(null===x.key?p:x.key),g=f(x,g,p),null===v?m=x:v.sibling=x,v=x);a&&l.forEach(function(a){return b(e,a)});return m}function z(e,g,h,k){var l=Jb(h);if("function"!==typeof l)throw Error(m(150));h=l.call(h);if(null==
-h)throw Error(m(151));for(var v=l=null,p=g,x=g=0,C=null,q=h.next();null!==p&&!q.done;x++,q=h.next()){p.index>x?(C=p,p=null):C=p.sibling;var Da=r(e,p,q.value,k);if(null===Da){null===p&&(p=C);break}a&&p&&null===Da.alternate&&b(e,p);g=f(Da,g,x);null===v?l=Da:v.sibling=Da;v=Da;p=C}if(q.done)return c(e,p),l;if(null===p){for(;!q.done;x++,q=h.next())q=n(e,q.value,k),null!==q&&(g=f(q,g,x),null===v?l=q:v.sibling=q,v=q);return l}for(p=d(e,p);!q.done;x++,q=h.next())q=t(p,e,x,q.value,k),null!==q&&(a&&null!==
-q.alternate&&p.delete(null===q.key?x:q.key),g=f(q,g,x),null===v?l=q:v.sibling=q,v=q);a&&p.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===wa&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case ec:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===wa){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,
-k.sibling);d=e(k,f.props);d.ref=dc(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===wa?(d=zb(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=fd(f.type,f.key,f.props,null,a.mode,h),h.ref=dc(a,d,f),h.return=a,a=h)}return g(a);case Ua:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=
-d.sibling}d=Ee(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=De(f,a.mode,h),d.return=a,a=d),g(a);if(gd(f))return w(a,d,f,h);if(Jb(f))return z(a,d,f,h);l&&ed(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 22:case 0:case 11:case 15:throw Error(m(152,hb(a.type)||"Component"));}return c(a,d)}}function $a(a){if(a===fc)throw Error(m(174));return a}function Fe(a,b){A(gc,
-b);A(hc,a);A(ka,fc);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Rd(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Rd(b,a)}t(ka);A(ka,b)}function Ab(a){t(ka);t(hc);t(gc)}function jh(a){$a(gc.current);var b=$a(ka.current);var c=Rd(b,a.type);b!==c&&(A(hc,a),A(ka,c))}function Ge(a){hc.current===a&&(t(ka),t(hc))}function hd(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||"$?"===c.data||
-"$!"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function kh(a,b){var c=Z(5,null,null,0);c.elementType="DELETED";c.type="DELETED";c.stateNode=b;c.return=a;c.flags=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=
-a.lastEffect=c}function lh(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}function He(a){if(la){var b=Na;if(b){var c=b;if(!lh(a,b)){b=tb(c.nextSibling);if(!b||!lh(a,b)){a.flags=a.flags&-1025|2;la=!1;ra=a;return}kh(ra,c)}ra=a;Na=tb(b.firstChild)}else a.flags=a.flags&-1025|2,la=!1,
-ra=a}}function mh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;ra=a}function id(a){if(a!==ra)return!1;if(!la)return mh(a),la=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!se(b,a.memoizedProps))for(b=Na;b;)kh(a,b),b=tb(b.nextSibling);mh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(m(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if("/$"===c){if(0===b){Na=tb(a.nextSibling);break a}b--}else"$"!==c&&"$!"!==
-c&&"$?"!==c||b++}a=a.nextSibling}Na=null}}else Na=ra?tb(a.stateNode.nextSibling):null;return!0}function Ie(){Na=ra=null;la=!1}function Je(){for(var a=0;a<Bb.length;a++)Bb[a]._workInProgressVersionPrimary=null;Bb.length=0}function T(){throw Error(m(321));}function Ke(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!X(a[c],b[c]))return!1;return!0}function Le(a,b,c,d,e,f){ic=f;y=b;b.memoizedState=null;b.updateQueue=null;b.lanes=0;jc.current=null===a||null===a.memoizedState?qj:rj;
-a=c(d,e);if(kc){f=0;do{kc=!1;if(!(25>f))throw Error(m(301));f+=1;K=N=null;b.updateQueue=null;jc.current=sj;a=c(d,e)}while(kc)}jc.current=jd;b=null!==N&&null!==N.next;ic=0;K=N=y=null;kd=!1;if(b)throw Error(m(300));return a}function ab(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===K?y.memoizedState=K=a:K=K.next=a;return K}function bb(){if(null===N){var a=y.alternate;a=null!==a?a.memoizedState:null}else a=N.next;var b=null===K?y.memoizedState:K.next;if(null!==
-b)K=b,N=a;else{if(null===a)throw Error(m(310));N=a;a={memoizedState:N.memoizedState,baseState:N.baseState,baseQueue:N.baseQueue,queue:N.queue,next:null};null===K?y.memoizedState=K=a:K=K.next=a}return K}function ma(a,b){return"function"===typeof b?b(a):b}function lc(a,b,c){b=bb();c=b.queue;if(null===c)throw Error(m(311));c.lastRenderedReducer=a;var d=N,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;
-var h=g=f=null,k=e;do{var l=k.lane;if((ic&l)===l)null!==h&&(h=h.next={lane:0,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),d=k.eagerReducer===a?k.eagerState:a(d,k.action);else{var n={lane:l,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null};null===h?(g=h=n,f=d):h=h.next=n;y.lanes|=l;La|=l}k=k.next}while(null!==k&&k!==e);null===h?f=d:h.next=g;X(d,b.memoizedState)||(fa=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=
-d}return[b.memoizedState,c.dispatch]}function mc(a,b,c){b=bb();c=b.queue;if(null===c)throw Error(m(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);X(f,b.memoizedState)||(fa=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}function nh(a,b,c){var d=b._getVersion;d=d(b._source);var e=b._workInProgressVersionPrimary;if(null!==e)a=e===d;else if(a=a.mutableReadLanes,
-a=(ic&a)===a)b._workInProgressVersionPrimary=d,Bb.push(b);if(a)return c(b._source);Bb.push(b);throw Error(m(350));}function oh(a,b,c,d){var e=R;if(null===e)throw Error(m(349));var f=b._getVersion,g=f(b._source),h=jc.current,k=h.useState(function(){return nh(e,b,c)}),l=k[1],n=k[0];k=K;var t=a.memoizedState,r=t.refs,w=r.getSnapshot,z=t.source;t=t.subscribe;var B=y;a.memoizedState={refs:r,source:b,subscribe:d};h.useEffect(function(){r.getSnapshot=c;r.setSnapshot=l;var a=f(b._source);if(!X(g,a)){a=c(b._source);
-X(n,a)||(l(a),a=Oa(B),e.mutableReadLanes|=a&e.pendingLanes);a=e.mutableReadLanes;e.entangledLanes|=a;for(var d=e.entanglements,h=a;0<h;){var k=31-Ba(h),m=1<<k;d[k]|=a;h&=~m}}},[c,b,d]);h.useEffect(function(){return d(b._source,function(){var a=r.getSnapshot,c=r.setSnapshot;try{c(a(b._source));var d=Oa(B);e.mutableReadLanes|=d&e.pendingLanes}catch(q){c(function(){throw q;})}})},[b,d]);X(w,c)&&X(z,b)&&X(t,d)||(a={pending:null,dispatch:null,lastRenderedReducer:ma,lastRenderedState:n},a.dispatch=l=Me.bind(null,
-y,a),k.queue=a,k.baseQueue=null,n=nh(e,b,c),k.memoizedState=k.baseState=n);return n}function ph(a,b,c){var d=bb();return oh(d,a,b,c)}function nc(a){var b=ab();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:ma,lastRenderedState:a};a=a.dispatch=Me.bind(null,y,a);return[b.memoizedState,a]}function ld(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=y.updateQueue;null===b?(b={lastEffect:null},y.updateQueue=b,b.lastEffect=
-a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function qh(a){var b=ab();a={current:a};return b.memoizedState=a}function md(a){return bb().memoizedState}function Ne(a,b,c,d){var e=ab();y.flags|=a;e.memoizedState=ld(1|b,c,void 0,void 0===d?null:d)}function Oe(a,b,c,d){var e=bb();d=void 0===d?null:d;var f=void 0;if(null!==N){var g=N.memoizedState;f=g.destroy;if(null!==d&&Ke(d,g.deps)){ld(b,c,f,d);return}}y.flags|=a;e.memoizedState=ld(1|
-b,c,f,d)}function rh(a,b){return Ne(516,4,a,b)}function nd(a,b){return Oe(516,4,a,b)}function sh(a,b){return Oe(4,2,a,b)}function th(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function uh(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Oe(4,2,th.bind(null,b,a),c)}function Pe(a,b){}function vh(a,b){var c=bb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Ke(b,d[1]))return d[0];
-c.memoizedState=[a,b];return a}function wh(a,b){var c=bb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&Ke(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function tj(a,b){var c=wb();Za(98>c?98:c,function(){a(!0)});Za(97<c?97:c,function(){var c=aa.transition;aa.transition=1;try{a(!1),b()}finally{aa.transition=c}})}function Me(a,b,c){var d=W(),e=Oa(a),f={lane:e,action:c,eagerReducer:null,eagerState:null,next:null},g=b.pending;null===g?f.next=f:(f.next=g.next,g.next=f);
-b.pending=f;g=a.alternate;if(a===y||null!==g&&g===y)kc=kd=!0;else{if(0===a.lanes&&(null===g||0===g.lanes)&&(g=b.lastRenderedReducer,null!==g))try{var h=b.lastRenderedState,k=g(h,c);f.eagerReducer=g;f.eagerState=k;if(X(k,h))return}catch(v){}finally{}Pa(a,e,d)}}function U(a,b,c,d){b.child=null===a?xh(b,null,c,d):od(b,a.child,c,d)}function yh(a,b,c,d,e){c=c.render;var f=b.ref;yb(b,e);d=Le(a,b,c,d,f,e);if(null!==a&&!fa)return b.updateQueue=a.updateQueue,b.flags&=-517,a.lanes&=~e,sa(a,b,e);b.flags|=1;
-U(a,b,d,e);return b.child}function zh(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!Qe(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,Ah(a,b,g,d,e,f);a=fd(c.type,null,d,b,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(0===(e&f)&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:Zb,c(e,d)&&a.ref===b.ref))return sa(a,b,f);b.flags|=1;a=Ma(g,d);a.ref=b.ref;a.return=b;return b.child=a}function Ah(a,b,c,d,e,f){if(null!==a&&Zb(a.memoizedProps,
-d)&&a.ref===b.ref)if(fa=!1,0!==(f&e))0!==(a.flags&16384)&&(fa=!0);else return b.lanes=a.lanes,sa(a,b,f);return Re(a,b,c,d,f)}function Se(a,b,c){var d=b.pendingProps,e=d.children,f=null!==a?a.memoizedState:null;if("hidden"===d.mode||"unstable-defer-without-hiding"===d.mode)if(0===(b.mode&4))b.memoizedState={baseLanes:0},pd(b,c);else if(0!==(c&1073741824))b.memoizedState={baseLanes:0},pd(b,null!==f?f.baseLanes:c);else return a=null!==f?f.baseLanes|c:c,b.lanes=b.childLanes=1073741824,b.memoizedState=
-{baseLanes:a},pd(b,a),null;else null!==f?(d=f.baseLanes|c,b.memoizedState=null):d=c,pd(b,d);U(a,b,e,c);return b.child}function Bh(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.flags|=128}function Re(a,b,c,d,e){var f=S(c)?Ya:D.current;f=vb(b,f);yb(b,e);c=Le(a,b,c,d,f,e);if(null!==a&&!fa)return b.updateQueue=a.updateQueue,b.flags&=-517,a.lanes&=~e,sa(a,b,e);b.flags|=1;U(a,b,c,e);return b.child}function Ch(a,b,c,d,e){if(S(c)){var f=!0;Xc(b)}else f=!1;yb(b,e);if(null===b.stateNode)null!==
-a&&(a.alternate=null,b.alternate=null,b.flags|=2),fh(b,c,d),Ce(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;"object"===typeof l&&null!==l?l=Y(l):(l=S(c)?Ya:D.current,l=vb(b,l));var m=c.getDerivedStateFromProps,n="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;n||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&gh(b,g,d,l);Ka=!1;var r=b.memoizedState;
-g.state=r;cc(b,d,g,e);k=b.memoizedState;h!==d||r!==k||J.current||Ka?("function"===typeof m&&(cd(b,c,m,d),k=b.memoizedState),(h=Ka||eh(b,c,h,d,r,k,l))?(n||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(b.flags|=4)):("function"===typeof g.componentDidMount&&(b.flags|=4),
-b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):("function"===typeof g.componentDidMount&&(b.flags|=4),d=!1)}else{g=b.stateNode;bh(a,b);h=b.memoizedProps;l=b.type===b.elementType?h:ea(b.type,h);g.props=l;n=b.pendingProps;r=g.context;k=c.contextType;"object"===typeof k&&null!==k?k=Y(k):(k=S(c)?Ya:D.current,k=vb(b,k));var t=c.getDerivedStateFromProps;(m="function"===typeof t||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&
-"function"!==typeof g.componentWillReceiveProps||(h!==n||r!==k)&&gh(b,g,d,k);Ka=!1;r=b.memoizedState;g.state=r;cc(b,d,g,e);var w=b.memoizedState;h!==n||r!==w||J.current||Ka?("function"===typeof t&&(cd(b,c,t,d),w=b.memoizedState),(l=Ka||eh(b,c,l,d,r,w,k))?(m||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,w,k),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,
-w,k)),"function"===typeof g.componentDidUpdate&&(b.flags|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(b.flags|=256)):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=256),b.memoizedProps=d,b.memoizedState=w),g.props=d,g.state=w,g.context=k,d=l):("function"!==typeof g.componentDidUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=4),"function"!==
-typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&r===a.memoizedState||(b.flags|=256),d=!1)}return Te(a,b,c,d,f,e)}function Te(a,b,c,d,e,f){Bh(a,b);var g=0!==(b.flags&64);if(!d&&!g)return e&&Ug(b,c,!1),sa(a,b,f);d=b.stateNode;uj.current=b;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();b.flags|=1;null!==a&&g?(b.child=od(b,a.child,null,f),b.child=od(b,null,h,f)):U(a,b,h,f);b.memoizedState=d.state;e&&Ug(b,c,!0);return b.child}function Dh(a){var b=a.stateNode;b.pendingContext?
-Sg(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Sg(a,b.context,!1);Fe(a,b.containerInfo)}function Eh(a,b,c){var d=b.pendingProps,e=E.current,f=!1,g;(g=0!==(b.flags&64))||(g=null!==a&&null===a.memoizedState?!1:0!==(e&2));g?(f=!0,b.flags&=-65):null!==a&&null===a.memoizedState||void 0===d.fallback||!0===d.unstable_avoidThisFallback||(e|=1);A(E,e&1);if(null===a){void 0!==d.fallback&&He(b);a=d.children;e=d.fallback;if(f)return a=Fh(b,a,e,c),b.child.memoizedState={baseLanes:c},b.memoizedState=
-qd,a;if("number"===typeof d.unstable_expectedLoadTime)return a=Fh(b,a,e,c),b.child.memoizedState={baseLanes:c},b.memoizedState=qd,b.lanes=33554432,a;c=Ue({mode:"visible",children:a},b.mode,c,null);c.return=b;return b.child=c}if(null!==a.memoizedState){if(f)return d=Gh(a,b,d.children,d.fallback,c),f=b.child,e=a.child.memoizedState,f.memoizedState=null===e?{baseLanes:c}:{baseLanes:e.baseLanes|c},f.childLanes=a.childLanes&~c,b.memoizedState=qd,d;c=Hh(a,b,d.children,c);b.memoizedState=null;return c}if(f)return d=
-Gh(a,b,d.children,d.fallback,c),f=b.child,e=a.child.memoizedState,f.memoizedState=null===e?{baseLanes:c}:{baseLanes:e.baseLanes|c},f.childLanes=a.childLanes&~c,b.memoizedState=qd,d;c=Hh(a,b,d.children,c);b.memoizedState=null;return c}function Fh(a,b,c,d){var e=a.mode,f=a.child;b={mode:"hidden",children:b};0===(e&2)&&null!==f?(f.childLanes=0,f.pendingProps=b):f=Ue(b,e,0,null);c=zb(c,e,d,null);f.return=a;c.return=a;f.sibling=c;a.child=f;return c}function Hh(a,b,c,d){var e=a.child;a=e.sibling;c=Ma(e,
-{mode:"visible",children:c});0===(b.mode&2)&&(c.lanes=d);c.return=b;c.sibling=null;null!==a&&(a.nextEffect=null,a.flags=8,b.firstEffect=b.lastEffect=a);return b.child=c}function Gh(a,b,c,d,e){var f=b.mode,g=a.child;a=g.sibling;var h={mode:"hidden",children:c};0===(f&2)&&b.child!==g?(c=b.child,c.childLanes=0,c.pendingProps=h,g=c.lastEffect,null!==g?(b.firstEffect=c.firstEffect,b.lastEffect=g,g.nextEffect=null):b.firstEffect=b.lastEffect=null):c=Ma(g,h);null!==a?d=Ma(a,d):(d=zb(d,f,e,null),d.flags|=
-2);d.return=b;c.return=b;c.sibling=d;b.child=c;return d}function Ih(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);ah(a.return,b)}function Ve(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailMode:e,lastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailMode=e,g.lastEffect=f)}function Jh(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;U(a,b,d.children,c);d=E.current;
-if(0!==(d&2))d=d&1|2,b.flags|=64;else{if(null!==a&&0!==(a.flags&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&Ih(a,c);else if(19===a.tag)Ih(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}A(E,d);if(0===(b.mode&2))b.memoizedState=null;else switch(e){case "forwards":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===
-hd(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Ve(b,!1,e,c,f,b.lastEffect);break;case "backwards":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===hd(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Ve(b,!0,c,null,f,b.lastEffect);break;case "together":Ve(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}function sa(a,b,c){null!==a&&(b.dependencies=a.dependencies);La|=b.lanes;if(0!==(c&
-b.childLanes)){if(null!==a&&b.child!==a.child)throw Error(m(153));if(null!==b.child){a=b.child;c=Ma(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Ma(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}return null}function oc(a,b){if(!la)switch(a.tailMode){case "hidden":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case "collapsed":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&
-(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}function vj(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return S(b.type)&&(t(J),t(D)),null;case 3:Ab();t(J);t(D);Je();d=b.stateNode;d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null);if(null===a||null===a.child)id(b)?b.flags|=4:d.hydrate||(b.flags|=256);Kh(b);return null;case 5:Ge(b);var e=$a(gc.current);
-c=b.type;if(null!==a&&null!=b.stateNode)wj(a,b,c,d,e),a.ref!==b.ref&&(b.flags|=128);else{if(!d){if(null===b.stateNode)throw Error(m(166));return null}a=$a(ka.current);if(id(b)){d=b.stateNode;c=b.type;var f=b.memoizedProps;d[Fa]=b;d[Wc]=f;switch(c){case "dialog":z("cancel",d);z("close",d);break;case "iframe":case "object":case "embed":z("load",d);break;case "video":case "audio":for(a=0;a<pc.length;a++)z(pc[a],d);break;case "source":z("error",d);break;case "img":case "image":case "link":z("error",d);
-z("load",d);break;case "details":z("toggle",d);break;case "input":Gf(d,f);z("invalid",d);break;case "select":d._wrapperState={wasMultiple:!!f.multiple};z("invalid",d);break;case "textarea":Jf(d,f),z("invalid",d)}Sd(c,f);a=null;for(var g in f)f.hasOwnProperty(g)&&(e=f[g],"children"===g?"string"===typeof e?d.textContent!==e&&(a=["children",e]):"number"===typeof e&&d.textContent!==""+e&&(a=["children",""+e]):Ib.hasOwnProperty(g)&&null!=e&&"onScroll"===g&&z("scroll",d));switch(c){case "input":Fc(d);If(d,
-f,!0);break;case "textarea":Fc(d);Lf(d);break;case "select":case "option":break;default:"function"===typeof f.onClick&&(d.onclick=Vc)}d=a;b.updateQueue=d;null!==d&&(b.flags|=4)}else{g=9===e.nodeType?e:e.ownerDocument;"http://www.w3.org/1999/xhtml"===a&&(a=Mf(c));"http://www.w3.org/1999/xhtml"===a?"script"===c?(a=g.createElement("div"),a.innerHTML="<script>\x3c/script>",a=a.removeChild(a.firstChild)):"string"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),"select"===c&&(g=a,d.multiple?
-g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Fa]=b;a[Wc]=d;xj(a,b,!1,!1);b.stateNode=a;g=Td(c,d);switch(c){case "dialog":z("cancel",a);z("close",a);e=d;break;case "iframe":case "object":case "embed":z("load",a);e=d;break;case "video":case "audio":for(e=0;e<pc.length;e++)z(pc[e],a);e=d;break;case "source":z("error",a);e=d;break;case "img":case "image":case "link":z("error",a);z("load",a);e=d;break;case "details":z("toggle",a);e=d;break;case "input":Gf(a,d);e=Md(a,d);z("invalid",
-a);break;case "option":e=Pd(a,d);break;case "select":a._wrapperState={wasMultiple:!!d.multiple};e=B({},d,{value:void 0});z("invalid",a);break;case "textarea":Jf(a,d);e=Qd(a,d);z("invalid",a);break;default:e=d}Sd(c,e);var h=e;for(f in h)if(h.hasOwnProperty(f)){var k=h[f];"style"===f?Of(a,k):"dangerouslySetInnerHTML"===f?(k=k?k.__html:void 0,null!=k&&Lh(a,k)):"children"===f?"string"===typeof k?("textarea"!==c||""!==k)&&qc(a,k):"number"===typeof k&&qc(a,""+k):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==
-f&&"autoFocus"!==f&&(Ib.hasOwnProperty(f)?null!=k&&"onScroll"===f&&z("scroll",a):null!=k&&Ed(a,f,k,g))}switch(c){case "input":Fc(a);If(a,d,!1);break;case "textarea":Fc(a);Lf(a);break;case "option":null!=d.value&&a.setAttribute("value",""+xa(d.value));break;case "select":a.multiple=!!d.multiple;f=d.value;null!=f?ib(a,!!d.multiple,f,!1):null!=d.defaultValue&&ib(a,!!d.multiple,d.defaultValue,!0);break;default:"function"===typeof e.onClick&&(a.onclick=Vc)}Pg(c,d)&&(b.flags|=4)}null!==b.ref&&(b.flags|=
-128)}return null;case 6:if(a&&null!=b.stateNode)yj(a,b,a.memoizedProps,d);else{if("string"!==typeof d&&null===b.stateNode)throw Error(m(166));c=$a(gc.current);$a(ka.current);id(b)?(d=b.stateNode,c=b.memoizedProps,d[Fa]=b,d.nodeValue!==c&&(b.flags|=4)):(d=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),d[Fa]=b,b.stateNode=d)}return null;case 13:t(E);d=b.memoizedState;if(0!==(b.flags&64))return b.lanes=c,b;d=null!==d;c=!1;null===a?void 0!==b.memoizedProps.fallback&&id(b):c=null!==a.memoizedState;
-if(d&&!c&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||0!==(E.current&1))0===L&&(L=3);else{if(0===L||3===L)L=4;null===R||0===(La&134217727)&&0===(Cb&134217727)||Db(R,O)}if(d||c)b.flags|=4;return null;case 4:return Ab(),Kh(b),null===a&&Cg(b.stateNode.containerInfo),null;case 10:return Ae(b),null;case 17:return S(b.type)&&(t(J),t(D)),null;case 19:t(E);d=b.memoizedState;if(null===d)return null;f=0!==(b.flags&64);g=d.rendering;if(null===g)if(f)oc(d,!1);else{if(0!==L||null!==
-a&&0!==(a.flags&64))for(a=b.child;null!==a;){g=hd(a);if(null!==g){b.flags|=64;oc(d,!1);f=g.updateQueue;null!==f&&(b.updateQueue=f,b.flags|=4);null===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;d=c;for(c=b.child;null!==c;)f=c,a=d,f.flags&=2,f.nextEffect=null,f.firstEffect=null,f.lastEffect=null,g=f.alternate,null===g?(f.childLanes=0,f.lanes=a,f.child=null,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=g.childLanes,f.lanes=
-g.lanes,f.child=g.child,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue,f.type=g.type,a=g.dependencies,f.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext}),c=c.sibling;A(E,E.current&1|2);return b.child}a=a.sibling}null!==d.tail&&P()>We&&(b.flags|=64,f=!0,oc(d,!1),b.lanes=33554432)}else{if(!f)if(a=hd(g),null!==a){if(b.flags|=64,f=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),oc(d,!0),null===d.tail&&"hidden"===d.tailMode&&
-!g.alternate&&!la)return b=b.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*P()-d.renderingStartTime>We&&1073741824!==c&&(b.flags|=64,f=!0,oc(d,!1),b.lanes=33554432);d.isBackwards?(g.sibling=b.child,b.child=g):(c=d.last,null!==c?c.sibling=g:b.child=g,d.last=g)}return null!==d.tail?(c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=P(),c.sibling=null,b=E.current,A(E,f?b&1|2:b&1),c):null;case 23:case 24:return ta=cb.current,t(cb),null!==a&&null!==
-a.memoizedState!==(null!==b.memoizedState)&&"unstable-defer-without-hiding"!==d.mode&&(b.flags|=4),null}throw Error(m(156,b.tag));}function zj(a,b){switch(a.tag){case 1:return S(a.type)&&(t(J),t(D)),b=a.flags,b&4096?(a.flags=b&-4097|64,a):null;case 3:Ab();t(J);t(D);Je();b=a.flags;if(0!==(b&64))throw Error(m(285));a.flags=b&-4097|64;return a;case 5:return Ge(a),null;case 13:return t(E),b=a.flags,b&4096?(a.flags=b&-4097|64,a):null;case 19:return t(E),null;case 4:return Ab(),null;case 10:return Ae(a),
-null;case 23:case 24:return ta=cb.current,t(cb),null;default:return null}}function Xe(a,b){try{var c="",d=b;do c+=pi(d),d=d.return;while(d);var e=c}catch(f){e="\nError generating stack: "+f.message+"\n"+f.stack}return{value:a,source:b,stack:e}}function Ye(a,b){try{console.error(b.value)}catch(c){setTimeout(function(){throw c;})}}function Mh(a,b,c){c=Ia(-1,c);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){rd||(rd=!0,Ze=d);Ye(a,b)};return c}function Nh(a,b,c){c=Ia(-1,c);c.tag=
-3;var d=a.type.getDerivedStateFromError;if("function"===typeof d){var e=b.value;c.payload=function(){Ye(a,b);return d(e)}}var f=a.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===na?na=new Set([this]):na.add(this),Ye(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:""})});return c}function Oh(a){var b=a.ref;if(null!==b)if("function"===typeof b)try{b(null)}catch(c){Qa(a,c)}else b.current=null}function Aj(a,
-b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.flags&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===b.type?c:ea(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:b.flags&256&&te(b.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(m(163));}function Bj(a,b,c,d){switch(c.tag){case 0:case 11:case 15:case 22:b=c.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){a=b=b.next;
-do 3===(a.tag&3)&&(d=a.create,a.destroy=d()),a=a.next;while(a!==b)}b=c.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){a=b=b.next;do{var e=a;d=e.next;e=e.tag;0!==(e&4)&&0!==(e&1)&&(Ph(c,a),Cj(c,a));a=d}while(a!==b)}return;case 1:a=c.stateNode;c.flags&4&&(null===b?a.componentDidMount():(d=c.elementType===c.type?b.memoizedProps:ea(c.type,b.memoizedProps),a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate)));b=c.updateQueue;null!==b&&dh(c,b,a);return;case 3:b=c.updateQueue;
-if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}dh(c,b,a)}return;case 5:a=c.stateNode;null===b&&c.flags&4&&Pg(c.type,c.memoizedProps)&&a.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&bg(c))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(m(163));}function Qh(a,b){for(var c=a;;){if(5===
-c.tag){var d=c.stateNode;if(b)d=d.style,"function"===typeof d.setProperty?d.setProperty("display","none","important"):d.display="none";else{d=c.stateNode;var e=c.memoizedProps.style;e=void 0!==e&&null!==e&&e.hasOwnProperty("display")?e.display:null;d.style.display=Nf("display",e)}}else if(6===c.tag)c.stateNode.nodeValue=b?"":c.memoizedProps;else if((23!==c.tag&&24!==c.tag||null===c.memoizedState||c===a)&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===a)break;for(;null===c.sibling;){if(null===
-c.return||c.return===a)return;c=c.return}c.sibling.return=c.return;c=c.sibling}}function Rh(a,b,c){if(db&&"function"===typeof db.onCommitFiberUnmount)try{db.onCommitFiberUnmount($e,b)}catch(f){}switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){c=a=a.next;do{var d=c,e=d.destroy;d=d.tag;if(void 0!==e)if(0!==(d&4))Ph(b,c);else{d=b;try{e()}catch(f){Qa(d,f)}}c=c.next}while(c!==a)}break;case 1:Oh(b);a=b.stateNode;if("function"===typeof a.componentWillUnmount)try{a.props=
-b.memoizedProps,a.state=b.memoizedState,a.componentWillUnmount()}catch(f){Qa(b,f)}break;case 5:Oh(b);break;case 4:Sh(a,b)}}function Th(a){a.alternate=null;a.child=null;a.dependencies=null;a.firstEffect=null;a.lastEffect=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.return=null;a.updateQueue=null}function Uh(a){return 5===a.tag||3===a.tag||4===a.tag}function Vh(a){a:{for(var b=a.return;null!==b;){if(Uh(b))break a;b=b.return}throw Error(m(160));}var c=b;b=c.stateNode;switch(c.tag){case 5:var d=
-!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(m(161));}c.flags&16&&(qc(b,""),c.flags&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Uh(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.flags&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.flags&2)){c=c.stateNode;break a}}d?af(a,c,b):bf(a,c,b)}function af(a,b,c){var d=
-a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Vc));else if(4!==d&&(a=a.child,null!==a))for(af(a,b,c),a=a.sibling;null!==a;)af(a,b,c),a=a.sibling}function bf(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);
-else if(4!==d&&(a=a.child,null!==a))for(bf(a,b,c),a=a.sibling;null!==a;)bf(a,b,c),a=a.sibling}function Sh(a,b,c){c=b;for(var d=!1,e,f;;){if(!d){e=c.return;a:for(;;){if(null===e)throw Error(m(160));f=e.stateNode;switch(e.tag){case 5:e=f;f=!1;break a;case 3:e=f.containerInfo;f=!0;break a;case 4:e=f.containerInfo;f=!0;break a}e=e.return}d=!0}if(5===c.tag||6===c.tag){a:for(var g=a,h=c,k=h;;)if(Rh(g,k),null!==k.child&&4!==k.tag)k.child.return=k,k=k.child;else{if(k===h)break a;for(;null===k.sibling;){if(null===
-k.return||k.return===h)break a;k=k.return}k.sibling.return=k.return;k=k.sibling}f?(g=e,h=c.stateNode,8===g.nodeType?g.parentNode.removeChild(h):g.removeChild(h)):e.removeChild(c.stateNode)}else if(4===c.tag){if(null!==c.child){e=c.stateNode.containerInfo;f=!0;c.child.return=c;c=c.child;continue}}else if(Rh(a,c),null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return;4===c.tag&&(d=!1)}c.sibling.return=c.return;c=
-c.sibling}}function cf(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:var c=b.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do 3===(d.tag&3)&&(a=d.destroy,d.destroy=void 0,void 0!==a&&a()),d=d.next;while(d!==c)}return;case 1:return;case 5:c=b.stateNode;if(null!=c){d=b.memoizedProps;var e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Wc]=d;"input"===a&&"radio"===d.type&&null!=d.name&&Hf(c,d);Td(a,e);b=Td(a,d);for(e=0;e<f.length;e+=
-2){var g=f[e],h=f[e+1];"style"===g?Of(c,h):"dangerouslySetInnerHTML"===g?Lh(c,h):"children"===g?qc(c,h):Ed(c,g,h,b)}switch(a){case "input":Nd(c,d);break;case "textarea":Kf(c,d);break;case "select":a=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,f=d.value,null!=f?ib(c,!!d.multiple,f,!1):a!==!!d.multiple&&(null!=d.defaultValue?ib(c,!!d.multiple,d.defaultValue,!0):ib(c,!!d.multiple,d.multiple?[]:"",!1))}}}return;case 6:if(null===b.stateNode)throw Error(m(162));b.stateNode.nodeValue=
-b.memoizedProps;return;case 3:c=b.stateNode;c.hydrate&&(c.hydrate=!1,bg(c.containerInfo));return;case 12:return;case 13:null!==b.memoizedState&&(df=P(),Qh(b.child,!0));Wh(b);return;case 19:Wh(b);return;case 17:return;case 23:case 24:Qh(b,null!==b.memoizedState);return}throw Error(m(163));}function Wh(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Dj);b.forEach(function(b){var d=Ej.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}function Fj(a,
-b){return null!==a&&(a=a.memoizedState,null===a||null!==a.dehydrated)?(b=b.memoizedState,null!==b&&null===b.dehydrated):!1}function Eb(){We=P()+500}function W(){return 0!==(n&48)?P():-1!==sd?sd:sd=P()}function Oa(a){a=a.mode;if(0===(a&2))return 1;if(0===(a&4))return 99===wb()?1:2;0===ua&&(ua=Fb);if(0!==Gj.transition){0!==td&&(td=null!==ef?ef.pendingLanes:0);a=ua;var b=4186112&~td;b&=-b;0===b&&(a=4186112&~a,b=a&-a,0===b&&(b=8192));return b}a=wb();0!==(n&4)&&98===a?a=Nc(12,ua):(a=Fi(a),a=Nc(a,ua));
-return a}function Pa(a,b,c){if(50<rc)throw rc=0,ff=null,Error(m(185));a=ud(a,b);if(null===a)return null;Oc(a,b,c);a===R&&(Cb|=b,4===L&&Db(a,O));var d=wb();1===b?0!==(n&8)&&0===(n&48)?gf(a):(ba(a,c),0===n&&(Eb(),ja())):(0===(n&4)||98!==d&&99!==d||(null===va?va=new Set([a]):va.add(a)),ba(a,c));ef=a}function ud(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);c=a;for(a=a.return;null!==a;)a.childLanes|=b,c=a.alternate,null!==c&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}
-function ba(a,b){for(var c=a.callbackNode,d=a.suspendedLanes,e=a.pingedLanes,f=a.expirationTimes,g=a.pendingLanes;0<g;){var h=31-Ba(g),k=1<<h,l=f[h];if(-1===l){if(0===(k&d)||0!==(k&e)){l=b;mb(k);var m=w;f[h]=10<=m?l+250:6<=m?l+5E3:-1}}else l<=b&&(a.expiredLanes|=k);g&=~k}d=Wb(a,a===R?O:0);b=w;if(0===d)null!==c&&(c!==hf&&xe(c),a.callbackNode=null,a.callbackPriority=0);else{if(null!==c){if(a.callbackPriority===b)return;c!==hf&&xe(c)}15===b?(c=gf.bind(null,a),null===pa?(pa=[c],Zc=we(Yc,$g)):pa.push(c),
-c=hf):14===b?c=bc(99,gf.bind(null,a)):(c=Gi(b),c=bc(c,Xh.bind(null,a)));a.callbackPriority=b;a.callbackNode=c}}function Xh(a){sd=-1;td=ua=0;if(0!==(n&48))throw Error(m(327));var b=a.callbackNode;if(Ra()&&a.callbackNode!==b)return null;var c=Wb(a,a===R?O:0);if(0===c)return null;var d=c;var e=n;n|=16;var f=Yh();if(R!==a||O!==d)Eb(),Gb(a,d);do try{Hj();break}catch(h){Zh(a,h)}while(1);ze();vd.current=f;n=e;null!==G?d=0:(R=null,O=0,d=L);if(0!==(Fb&Cb))Gb(a,0);else if(0!==d){2===d&&(n|=64,a.hydrate&&(a.hydrate=
-!1,te(a.containerInfo)),c=eg(a),0!==c&&(d=sc(a,c)));if(1===d)throw b=wd,Gb(a,0),Db(a,c),ba(a,P()),b;a.finishedWork=a.current.alternate;a.finishedLanes=c;switch(d){case 0:case 1:throw Error(m(345));case 2:eb(a);break;case 3:Db(a,c);if((c&62914560)===c&&(d=df+500-P(),10<d)){if(0!==Wb(a,0))break;e=a.suspendedLanes;if((e&c)!==c){W();a.pingedLanes|=a.suspendedLanes&e;break}a.timeoutHandle=$h(eb.bind(null,a),d);break}eb(a);break;case 4:Db(a,c);if((c&4186112)===c)break;d=a.eventTimes;for(e=-1;0<c;){var g=
-31-Ba(c);f=1<<g;g=d[g];g>e&&(e=g);c&=~f}c=e;c=P()-c;c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3E3>c?3E3:4320>c?4320:1960*Ij(c/1960))-c;if(10<c){a.timeoutHandle=$h(eb.bind(null,a),c);break}eb(a);break;case 5:eb(a);break;default:throw Error(m(329));}}ba(a,P());return a.callbackNode===b?Xh.bind(null,a):null}function Db(a,b){b&=~jf;b&=~Cb;a.suspendedLanes|=b;a.pingedLanes&=~b;for(a=a.expirationTimes;0<b;){var c=31-Ba(b),d=1<<c;a[c]=-1;b&=~d}}function gf(a){if(0!==(n&48))throw Error(m(327));Ra();
-if(a===R&&0!==(a.expiredLanes&O)){var b=O;var c=sc(a,b);0!==(Fb&Cb)&&(b=Wb(a,b),c=sc(a,b))}else b=Wb(a,0),c=sc(a,b);0!==a.tag&&2===c&&(n|=64,a.hydrate&&(a.hydrate=!1,te(a.containerInfo)),b=eg(a),0!==b&&(c=sc(a,b)));if(1===c)throw c=wd,Gb(a,0),Db(a,b),ba(a,P()),c;a.finishedWork=a.current.alternate;a.finishedLanes=b;eb(a);ba(a,P());return null}function Jj(){if(null!==va){var a=va;va=null;a.forEach(function(a){a.expiredLanes|=24&a.pendingLanes;ba(a,P())})}ja()}function ai(a,b){var c=n;n|=1;try{return a(b)}finally{n=
-c,0===n&&(Eb(),ja())}}function bi(a,b){var c=n;n&=-2;n|=8;try{return a(b)}finally{n=c,0===n&&(Eb(),ja())}}function pd(a,b){A(cb,ta);ta|=b;Fb|=b}function Gb(a,b){a.finishedWork=null;a.finishedLanes=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Kj(c));if(null!==G)for(c=G.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&(t(J),t(D));break;case 3:Ab();t(J);t(D);Je();break;case 5:Ge(d);break;case 4:Ab();break;case 13:t(E);break;case 19:t(E);break;case 10:Ae(d);
-break;case 23:case 24:ta=cb.current,t(cb)}c=c.return}R=a;G=Ma(a.current,null);O=ta=Fb=b;L=0;wd=null;jf=Cb=La=0}function Zh(a,b){do{var c=G;try{ze();jc.current=jd;if(kd){for(var d=y.memoizedState;null!==d;){var e=d.queue;null!==e&&(e.pending=null);d=d.next}kd=!1}ic=0;K=N=y=null;kc=!1;kf.current=null;if(null===c||null===c.return){L=1;wd=b;G=null;break}a:{var f=a,g=c.return,h=c,k=b;b=O;h.flags|=2048;h.firstEffect=h.lastEffect=null;if(null!==k&&"object"===typeof k&&"function"===typeof k.then){var l=k;
-if(0===(h.mode&2)){var m=h.alternate;m?(h.updateQueue=m.updateQueue,h.memoizedState=m.memoizedState,h.lanes=m.lanes):(h.updateQueue=null,h.memoizedState=null)}var n=0!==(E.current&1),r=g;do{var t;if(t=13===r.tag){var w=r.memoizedState;if(null!==w)t=null!==w.dehydrated?!0:!1;else{var z=r.memoizedProps;t=void 0===z.fallback?!1:!0!==z.unstable_avoidThisFallback?!0:n?!1:!0}}if(t){var C=r.updateQueue;if(null===C){var x=new Set;x.add(l);r.updateQueue=x}else C.add(l);if(0===(r.mode&2)){r.flags|=64;h.flags|=
-16384;h.flags&=-2981;if(1===h.tag)if(null===h.alternate)h.tag=17;else{var p=Ia(-1,1);p.tag=2;Ja(h,p)}h.lanes|=1;break a}k=void 0;h=b;var q=f.pingCache;null===q?(q=f.pingCache=new Lj,k=new Set,q.set(l,k)):(k=q.get(l),void 0===k&&(k=new Set,q.set(l,k)));if(!k.has(h)){k.add(h);var u=Mj.bind(null,f,l,h);l.then(u,u)}r.flags|=4096;r.lanes=b;break a}r=r.return}while(null!==r);k=Error((hb(h.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==
-L&&(L=2);k=Xe(k,h);r=g;do{switch(r.tag){case 3:f=k;r.flags|=4096;b&=-b;r.lanes|=b;var B=Mh(r,f,b);ch(r,B);break a;case 1:f=k;var A=r.type,D=r.stateNode;if(0===(r.flags&64)&&("function"===typeof A.getDerivedStateFromError||null!==D&&"function"===typeof D.componentDidCatch&&(null===na||!na.has(D)))){r.flags|=4096;b&=-b;r.lanes|=b;var F=Nh(r,f,b);ch(r,F);break a}}r=r.return}while(null!==r)}ci(c)}catch(qa){b=qa;G===c&&null!==c&&(G=c=c.return);continue}break}while(1)}function Yh(){var a=vd.current;vd.current=
-jd;return null===a?jd:a}function sc(a,b){var c=n;n|=16;var d=Yh();R===a&&O===b||Gb(a,b);do try{Nj();break}catch(e){Zh(a,e)}while(1);ze();n=c;vd.current=d;if(null!==G)throw Error(m(261));R=null;O=0;return L}function Nj(){for(;null!==G;)di(G)}function Hj(){for(;null!==G&&!Oj();)di(G)}function di(a){var b=Pj(a.alternate,a,ta);a.memoizedProps=a.pendingProps;null===b?ci(a):G=b;kf.current=null}function ci(a){var b=a;do{var c=b.alternate;a=b.return;if(0===(b.flags&2048)){c=vj(c,b,ta);if(null!==c){G=c;return}c=
-b;if(24!==c.tag&&23!==c.tag||null===c.memoizedState||0!==(ta&1073741824)||0===(c.mode&4)){for(var d=0,e=c.child;null!==e;)d|=e.lanes|e.childLanes,e=e.sibling;c.childLanes=d}null!==a&&0===(a.flags&2048)&&(null===a.firstEffect&&(a.firstEffect=b.firstEffect),null!==b.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=b.firstEffect),a.lastEffect=b.lastEffect),1<b.flags&&(null!==a.lastEffect?a.lastEffect.nextEffect=b:a.firstEffect=b,a.lastEffect=b))}else{c=zj(b);if(null!==c){c.flags&=2047;G=c;
-return}null!==a&&(a.firstEffect=a.lastEffect=null,a.flags|=2048)}b=b.sibling;if(null!==b){G=b;return}G=b=a}while(null!==b);0===L&&(L=5)}function eb(a){var b=wb();Za(99,Qj.bind(null,a,b));return null}function Qj(a,b){do Ra();while(null!==tc);if(0!==(n&48))throw Error(m(327));var c=a.finishedWork;if(null===c)return null;a.finishedWork=null;a.finishedLanes=0;if(c===a.current)throw Error(m(177));a.callbackNode=null;var d=c.lanes|c.childLanes,e=d,f=a.pendingLanes&~e;a.pendingLanes=e;a.suspendedLanes=0;
-a.pingedLanes=0;a.expiredLanes&=e;a.mutableReadLanes&=e;a.entangledLanes&=e;e=a.entanglements;for(var g=a.eventTimes,h=a.expirationTimes;0<f;){var k=31-Ba(f),v=1<<k;e[k]=0;g[k]=-1;h[k]=-1;f&=~v}null!==va&&0===(d&24)&&va.has(a)&&va.delete(a);a===R&&(G=R=null,O=0);1<c.flags?null!==c.lastEffect?(c.lastEffect.nextEffect=c,d=c.firstEffect):d=c:d=c.firstEffect;if(null!==d){e=n;n|=32;kf.current=null;lf=Pc;g=xg();if(ne(g)){if("selectionStart"in g)h={start:g.selectionStart,end:g.selectionEnd};else a:if(h=
-(h=g.ownerDocument)&&h.defaultView||window,(v=h.getSelection&&h.getSelection())&&0!==v.rangeCount){h=v.anchorNode;f=v.anchorOffset;k=v.focusNode;v=v.focusOffset;try{h.nodeType,k.nodeType}catch(qa){h=null;break a}var t=0,w=-1,r=-1,z=0,B=0,y=g,C=null;b:for(;;){for(var x;;){y!==h||0!==f&&3!==y.nodeType||(w=t+f);y!==k||0!==v&&3!==y.nodeType||(r=t+v);3===y.nodeType&&(t+=y.nodeValue.length);if(null===(x=y.firstChild))break;C=y;y=x}for(;;){if(y===g)break b;C===h&&++z===f&&(w=t);C===k&&++B===v&&(r=t);if(null!==
-(x=y.nextSibling))break;y=C;C=y.parentNode}y=x}h=-1===w||-1===r?null:{start:w,end:r}}else h=null;h=h||{start:0,end:0}}else h=null;mf={focusedElem:g,selectionRange:h};Pc=!1;uc=null;xd=!1;l=d;do try{Rj()}catch(qa){if(null===l)throw Error(m(330));Qa(l,qa);l=l.nextEffect}while(null!==l);uc=null;l=d;do try{for(g=a;null!==l;){var p=l.flags;p&16&&qc(l.stateNode,"");if(p&128){var q=l.alternate;if(null!==q){var u=q.ref;null!==u&&("function"===typeof u?u(null):u.current=null)}}switch(p&1038){case 2:Vh(l);l.flags&=
--3;break;case 6:Vh(l);l.flags&=-3;cf(l.alternate,l);break;case 1024:l.flags&=-1025;break;case 1028:l.flags&=-1025;cf(l.alternate,l);break;case 4:cf(l.alternate,l);break;case 8:h=l;Sh(g,h);var A=h.alternate;Th(h);null!==A&&Th(A)}l=l.nextEffect}}catch(qa){if(null===l)throw Error(m(330));Qa(l,qa);l=l.nextEffect}while(null!==l);u=mf;q=xg();p=u.focusedElem;g=u.selectionRange;if(q!==p&&p&&p.ownerDocument&&wg(p.ownerDocument.documentElement,p)){null!==g&&ne(p)&&(q=g.start,u=g.end,void 0===u&&(u=q),"selectionStart"in
-p?(p.selectionStart=q,p.selectionEnd=Math.min(u,p.value.length)):(u=(q=p.ownerDocument||document)&&q.defaultView||window,u.getSelection&&(u=u.getSelection(),h=p.textContent.length,A=Math.min(g.start,h),g=void 0===g.end?A:Math.min(g.end,h),!u.extend&&A>g&&(h=g,g=A,A=h),h=vg(p,A),f=vg(p,g),h&&f&&(1!==u.rangeCount||u.anchorNode!==h.node||u.anchorOffset!==h.offset||u.focusNode!==f.node||u.focusOffset!==f.offset)&&(q=q.createRange(),q.setStart(h.node,h.offset),u.removeAllRanges(),A>g?(u.addRange(q),u.extend(f.node,
-f.offset)):(q.setEnd(f.node,f.offset),u.addRange(q))))));q=[];for(u=p;u=u.parentNode;)1===u.nodeType&&q.push({element:u,left:u.scrollLeft,top:u.scrollTop});"function"===typeof p.focus&&p.focus();for(p=0;p<q.length;p++)u=q[p],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}Pc=!!lf;mf=lf=null;a.current=c;l=d;do try{for(p=a;null!==l;){var D=l.flags;D&36&&Bj(p,l.alternate,l);if(D&128){q=void 0;var E=l.ref;if(null!==E){var F=l.stateNode;switch(l.tag){case 5:q=F;break;default:q=F}"function"===typeof E?
-E(q):E.current=q}}l=l.nextEffect}}catch(qa){if(null===l)throw Error(m(330));Qa(l,qa);l=l.nextEffect}while(null!==l);l=null;Sj();n=e}else a.current=c;if(Sa)Sa=!1,tc=a,vc=b;else for(l=d;null!==l;)b=l.nextEffect,l.nextEffect=null,l.flags&8&&(D=l,D.sibling=null,D.stateNode=null),l=b;d=a.pendingLanes;0===d&&(na=null);1===d?a===ff?rc++:(rc=0,ff=a):rc=0;c=c.stateNode;if(db&&"function"===typeof db.onCommitFiberRoot)try{db.onCommitFiberRoot($e,c,void 0,64===(c.current.flags&64))}catch(qa){}ba(a,P());if(rd)throw rd=
-!1,a=Ze,Ze=null,a;if(0!==(n&8))return null;ja();return null}function Rj(){for(;null!==l;){var a=l.alternate;xd||null===uc||(0!==(l.flags&8)?Wf(l,uc)&&(xd=!0):13===l.tag&&Fj(a,l)&&Wf(l,uc)&&(xd=!0));var b=l.flags;0!==(b&256)&&Aj(a,l);0===(b&512)||Sa||(Sa=!0,bc(97,function(){Ra();return null}));l=l.nextEffect}}function Ra(){if(90!==vc){var a=97<vc?97:vc;vc=90;return Za(a,Tj)}return!1}function Cj(a,b){nf.push(b,a);Sa||(Sa=!0,bc(97,function(){Ra();return null}))}function Ph(a,b){of.push(b,a);Sa||(Sa=
-!0,bc(97,function(){Ra();return null}))}function Tj(){if(null===tc)return!1;var a=tc;tc=null;if(0!==(n&48))throw Error(m(331));var b=n;n|=32;var c=of;of=[];for(var d=0;d<c.length;d+=2){var e=c[d],f=c[d+1],g=e.destroy;e.destroy=void 0;if("function"===typeof g)try{g()}catch(k){if(null===f)throw Error(m(330));Qa(f,k)}}c=nf;nf=[];for(d=0;d<c.length;d+=2){e=c[d];f=c[d+1];try{var h=e.create;e.destroy=h()}catch(k){if(null===f)throw Error(m(330));Qa(f,k)}}for(h=a.current.firstEffect;null!==h;)a=h.nextEffect,
-h.nextEffect=null,h.flags&8&&(h.sibling=null,h.stateNode=null),h=a;n=b;ja();return!0}function ei(a,b,c){b=Xe(c,b);b=Mh(a,b,1);Ja(a,b);b=W();a=ud(a,1);null!==a&&(Oc(a,1,b),ba(a,b))}function Qa(a,b){if(3===a.tag)ei(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){ei(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===na||!na.has(d))){a=Xe(b,a);var e=Nh(c,a,1);Ja(c,e);e=W();c=ud(c,1);if(null!==
-c)Oc(c,1,e),ba(c,e);else if("function"===typeof d.componentDidCatch&&(null===na||!na.has(d)))try{d.componentDidCatch(b,a)}catch(f){}break}}c=c.return}}function Mj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);b=W();a.pingedLanes|=a.suspendedLanes&c;R===a&&(O&c)===c&&(4===L||3===L&&(O&62914560)===O&&500>P()-df?Gb(a,0):jf|=c);ba(a,b)}function Ej(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=a.mode,0===(b&2)?b=1:0===(b&4)?b=99===wb()?1:2:(0===ua&&(ua=Fb),b=nb(62914560&~ua),0===b&&(b=4194304)));
-c=W();a=ud(a,b);null!==a&&(Oc(a,b,c),ba(a,c))}function Uj(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.flags=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childLanes=this.lanes=0;this.alternate=null}function Qe(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Vj(a){if("function"===
-typeof a)return Qe(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Dc)return 11;if(a===Ec)return 14}return 2}function Ma(a,b){var c=a.alternate;null===c?(c=Z(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=
-a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function fd(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)Qe(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case wa:return zb(c.children,e,f,b);case fi:g=8;e|=16;break;case Hd:g=8;e|=1;break;case Lb:return a=Z(12,c,b,e|8),a.elementType=Lb,a.type=Lb,a.lanes=f,a;case Mb:return a=Z(13,c,b,e),a.type=Mb,a.elementType=Mb,a.lanes=
-f,a;case Cc:return a=Z(19,c,b,e),a.elementType=Cc,a.lanes=f,a;case pf:return Ue(c,e,f,b);case qf:return a=Z(24,c,b,e),a.elementType=qf,a.lanes=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case Jd:g=10;break a;case Id:g=9;break a;case Dc:g=11;break a;case Ec:g=14;break a;case Ld:g=16;d=null;break a;case Kd:g=22;break a}throw Error(m(130,null==a?a:typeof a,""));}b=Z(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function zb(a,b,c,d){a=Z(7,a,d,b);a.lanes=c;return a}function Ue(a,
-b,c,d){a=Z(23,a,d,b);a.elementType=pf;a.lanes=c;return a}function De(a,b,c){a=Z(6,a,null,b);a.lanes=c;return a}function Ee(a,b,c){b=Z(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function Wj(a,b,c){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=
-null;this.callbackPriority=0;this.eventTimes=ge(0);this.expirationTimes=ge(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=ge(0);this.mutableSourceEagerHydrationData=null}function Xj(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ua,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}function yd(a,b,c,d){var e=b.current,f=W(),g=Oa(e);
-a:if(c){c=c._reactInternals;b:{if(Va(c)!==c||1!==c.tag)throw Error(m(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(S(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(m(171));}if(1===c.tag){var k=c.type;if(S(k)){c=Tg(c,k,h);break a}}c=h}else c=Ha;null===b.context?b.context=c:b.pendingContext=c;b=Ia(f,g);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);Ja(e,b);Pa(e,g,f);return g}function rf(a){a=
-a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function gi(a,b){a=a.memoizedState;if(null!==a&&null!==a.dehydrated){var c=a.retryLane;a.retryLane=0!==c&&c<b?c:b}}function sf(a,b){gi(a,b);(a=a.alternate)&&gi(a,b)}function Yj(a){a=Vf(a);return null===a?null:a.stateNode}function Zj(a){return null}function tf(a,b,c){var d=null!=c&&null!=c.hydrationOptions&&c.hydrationOptions.mutableSources||null;c=new Wj(a,b,null!=c&&!0===c.hydrate);
-b=Z(3,null,null,2===b?7:1===b?3:0);c.current=b;b.stateNode=c;Be(b);a[rb]=c.current;Cg(8===a.nodeType?a.parentNode:a);if(d)for(a=0;a<d.length;a++){b=d[a];var e=b._getVersion;e=e(b._source);null==c.mutableSourceEagerHydrationData?c.mutableSourceEagerHydrationData=[b,e]:c.mutableSourceEagerHydrationData.push(b,e)}this._internalRoot=c}function wc(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}function ak(a,b){b||(b=a?9===
-a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new tf(a,0,b?{hydrate:!0}:void 0)}function zd(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if("function"===typeof e){var h=e;e=function(){var a=rf(g);h.call(a)}}yd(b,g,a,e)}else{f=c._reactRootContainer=ak(c,d);g=f._internalRoot;if("function"===typeof e){var k=e;e=function(){var a=rf(g);k.call(a)}}bi(function(){yd(b,
-g,a,e)})}return rf(g)}function hi(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!wc(b))throw Error(m(200));return Xj(a,b,null,c)}if(!ha)throw Error(m(227));var zf=new Set,Ib={},oa=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),mi=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
-Af=Object.prototype.hasOwnProperty,Cf={},Bf={},I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){I[a]=new Q(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];I[b]=new Q(b,1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){I[a]=
-new Q(a,2,!1,a.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){I[a]=new Q(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){I[a]=new Q(a,3,!1,a.toLowerCase(),null,!1,!1)});["checked","multiple",
-"muted","selected"].forEach(function(a){I[a]=new Q(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){I[a]=new Q(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){I[a]=new Q(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){I[a]=new Q(a,5,!1,a.toLowerCase(),null,!1,!1)});var uf=/[\-:]([a-z])/g,vf=function(a){return a[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
-a.replace(uf,vf);I[b]=new Q(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(uf,vf);I[b]=new Q(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(uf,vf);I[b]=new Q(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){I[a]=new Q(a,1,!1,a.toLowerCase(),null,!1,!1)});I.xlinkHref=new Q("xlinkHref",
-1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){I[a]=new Q(a,1,!1,a.toLowerCase(),null,!0,!0)});var B=ha.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,fb=ha.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ec=60103,Ua=60106,wa=60107,Hd=60108,Lb=60114,Jd=60109,Id=60110,Dc=60112,Mb=60113,Cc=60120,Ec=60115,Ld=60116,Kd=60121,ue=60128,fi=60129,pf=60130,qf=60131;if("function"===typeof Symbol&&Symbol.for){var H=Symbol.for;ec=
-H("react.element");Ua=H("react.portal");wa=H("react.fragment");Hd=H("react.strict_mode");Lb=H("react.profiler");Jd=H("react.provider");Id=H("react.context");Dc=H("react.forward_ref");Mb=H("react.suspense");Cc=H("react.suspense_list");Ec=H("react.memo");Ld=H("react.lazy");Kd=H("react.block");H("react.scope");ue=H("react.opaque.id");fi=H("react.debug_trace_mode");pf=H("react.offscreen");qf=H("react.legacy_hidden")}var Df="function"===typeof Symbol&&Symbol.iterator,Fd,Gd=!1,Ad,Lh=function(a){return"undefined"!==
-typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if("http://www.w3.org/2000/svg"!==a.namespaceURI||"innerHTML"in a)a.innerHTML=b;else{Ad=Ad||document.createElement("div");Ad.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=Ad.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}),qc=function(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=
-b;return}}a.textContent=b},Nb={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,gridArea:!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},bk=["Webkit","ms","Moz","O"];Object.keys(Nb).forEach(function(a){bk.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Nb[b]=Nb[a]})});var si=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),Vd=null,jb=null,kb=null,me=function(a,b){return a(b)},fg=function(a,
-b,c,d,e){return a(b,c,d,e)},Xd=function(){},Sf=me,Xa=!1,Yd=!1,qe=!1;if(oa)try{var xc={};Object.defineProperty(xc,"passive",{get:function(){qe=!0}});window.addEventListener("test",xc,xc);window.removeEventListener("test",xc,xc)}catch(a){qe=!1}var vi=function(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(Da){this.onError(Da)}},Qb=!1,Ic=null,Jc=!1,Zd=null,wi={onError:function(a){Qb=!0;Ic=a}},ca=ha.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,
-ck=ca.unstable_cancelCallback,Bd=ca.unstable_now,$f=ca.unstable_scheduleCallback,dk=ca.unstable_shouldYield,ii=ca.unstable_requestPaint,ae=ca.unstable_runWithPriority,ek=ca.unstable_getCurrentPriorityLevel,fk=ca.unstable_ImmediatePriority,ji=ca.unstable_UserBlockingPriority,ag=ca.unstable_NormalPriority,gk=ca.unstable_LowPriority,hk=ca.unstable_IdlePriority,ce=!1,ia=[],ya=null,za=null,Aa=null,Rb=new Map,Sb=new Map,Vb=[],gg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "),
-lb={animationend:Lc("Animation","AnimationEnd"),animationiteration:Lc("Animation","AnimationIteration"),animationstart:Lc("Animation","AnimationStart"),transitionend:Lc("Transition","TransitionEnd")},de={},cg={};oa&&(cg=document.createElement("div").style,"AnimationEvent"in window||(delete lb.animationend.animation,delete lb.animationiteration.animation,delete lb.animationstart.animation),"TransitionEvent"in window||delete lb.transitionend.transition);var Hg=Mc("animationend"),Ig=Mc("animationiteration"),
-Jg=Mc("animationstart"),Kg=Mc("transitionend"),dg=new Map,fe=new Map,ik=["abort","abort",Hg,"animationEnd",Ig,"animationIteration",Jg,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing",
-"playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Kg,"transitionEnd","waiting","waiting"];Bd();var w=8,Ba=Math.clz32?Math.clz32:Hi,Ii=Math.log,Ji=Math.LN2,Ni=ji,Mi=ae,Pc=!0,Ca=null,ie=null,Qc=null,Hb={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},le=V(Hb),yc=B({},Hb,{view:0,detail:0}),hj=V(yc),wf,xf,zc,Cd=B({},yc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,
-pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:je,button:0,buttons:0,relatedTarget:function(a){return void 0===a.relatedTarget?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){if("movementX"in a)return a.movementX;a!==zc&&(zc&&"mousemove"===a.type?(wf=a.screenX-zc.screenX,xf=a.screenY-zc.screenY):xf=wf=0,zc=a);return wf},movementY:function(a){return"movementY"in a?a.movementY:xf}}),Gg=V(Cd),jk=B({},Cd,{dataTransfer:0}),dj=V(jk),kk=B({},
-yc,{relatedTarget:0}),re=V(kk),lk=B({},Hb,{animationName:0,elapsedTime:0,pseudoElement:0}),fj=V(lk),mk=B({},Hb,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),jj=V(mk),nk=B({},Hb,{data:0}),Og=V(nk),mj=Og,ok={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pk={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",
-16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Pi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},qk=B({},yc,{key:function(a){if(a.key){var b=ok[a.key]||a.key;if("Unidentified"!==
-b)return b}return"keypress"===a.type?(a=Rc(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?pk[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:je,charCode:function(a){return"keypress"===a.type?Rc(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===a.type?Rc(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),cj=V(qk),rk=B({},
-Cd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lg=V(rk),sk=B({},yc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:je}),ej=V(sk),tk=B({},Hb,{propertyName:0,elapsedTime:0,pseudoElement:0}),gj=V(tk),uk=B({},Cd,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in
-a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),ij=V(uk),Qi=[9,13,27,32],ke=oa&&"CompositionEvent"in window,Ac=null;oa&&"documentMode"in document&&(Ac=document.documentMode);var lj=oa&&"TextEvent"in window&&!Ac,og=oa&&(!ke||Ac&&8<Ac&&11>=Ac),ng=String.fromCharCode(32),mg=!1,ob=!1,Ti={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Xb=null,Yb=null,Ng=!1;oa&&(Ng=Ui("input")&&(!document.documentMode||9<document.documentMode));
-var X="function"===typeof Object.is?Object.is:aj,bj=Object.prototype.hasOwnProperty,kj=oa&&"documentMode"in document&&11>=document.documentMode,qb=null,pe=null,$b=null,oe=!1;ee("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),
-0);ee("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);ee(ik,2);(function(a,b){for(var c=0;c<a.length;c++)fe.set(a[c],b)})("change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),0);gb("onMouseEnter",["mouseout","mouseover"]);
-gb("onMouseLeave",["mouseout","mouseover"]);gb("onPointerEnter",["pointerout","pointerover"]);gb("onPointerLeave",["pointerout","pointerover"]);Ta("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ta("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ta("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ta("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));
-Ta("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ta("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Eg=new Set("cancel close invalid load scroll toggle".split(" ").concat(pc)),
-Dg="_reactListening"+Math.random().toString(36).slice(2),lf=null,mf=null,$h="function"===typeof setTimeout?setTimeout:void 0,Kj="function"===typeof clearTimeout?clearTimeout:void 0,yf=0,Dd=Math.random().toString(36).slice(2),Fa="__reactFiber$"+Dd,Wc="__reactProps$"+Dd,rb="__reactContainer$"+Dd,Rg="__reactEvents$"+Dd,ve=[],ub=-1,Ha={},D=Ga(Ha),J=Ga(!1),Ya=Ha,$e=null,db=null,pj=ae,we=$f,xe=ck,oj=ek,Yc=fk,Vg=ji,Wg=ag,Xg=gk,Yg=hk,hf={},Oj=dk,Sj=void 0!==ii?ii:function(){},pa=null,Zc=null,ye=!1,ki=Bd(),
-P=1E4>ki?Bd:function(){return Bd()-ki},Gj=fb.ReactCurrentBatchConfig,bd=Ga(null),ad=null,xb=null,$c=null,Ka=!1,hh=(new ha.Component).refs,dd={isMounted:function(a){return(a=a._reactInternals)?Va(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternals;var d=W(),e=Oa(a),f=Ia(d,e);f.payload=b;void 0!==c&&null!==c&&(f.callback=c);Ja(a,f);Pa(a,e,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternals;var d=W(),e=Oa(a),f=Ia(d,e);f.tag=1;f.payload=b;void 0!==c&&null!==c&&(f.callback=c);Ja(a,f);
-Pa(a,e,d)},enqueueForceUpdate:function(a,b){a=a._reactInternals;var c=W(),d=Oa(a),e=Ia(c,d);e.tag=2;void 0!==b&&null!==b&&(e.callback=b);Ja(a,e);Pa(a,d,c)}},gd=Array.isArray,od=ih(!0),xh=ih(!1),fc={},ka=Ga(fc),hc=Ga(fc),gc=Ga(fc),E=Ga(0),ra=null,Na=null,la=!1,Bb=[],jc=fb.ReactCurrentDispatcher,aa=fb.ReactCurrentBatchConfig,ic=0,y=null,N=null,K=null,kd=!1,kc=!1,jd={readContext:Y,useCallback:T,useContext:T,useEffect:T,useImperativeHandle:T,useLayoutEffect:T,useMemo:T,useReducer:T,useRef:T,useState:T,
-useDebugValue:T,useDeferredValue:T,useTransition:T,useMutableSource:T,useOpaqueIdentifier:T,unstable_isNewReconciler:!1},qj={readContext:Y,useCallback:function(a,b){ab().memoizedState=[a,void 0===b?null:b];return a},useContext:Y,useEffect:rh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Ne(4,2,th.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Ne(4,2,a,b)},useMemo:function(a,b){var c=ab();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,
-b,c){var d=ab();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=Me.bind(null,y,a);return[d.memoizedState,a]},useRef:qh,useState:nc,useDebugValue:Pe,useDeferredValue:function(a){var b=nc(a),c=b[0],d=b[1];rh(function(){var b=aa.transition;aa.transition=1;try{d(a)}finally{aa.transition=b}},[a]);return c},useTransition:function(){var a=nc(!1),b=a[0];a=tj.bind(null,a[1]);qh(a);return[a,b]},useMutableSource:function(a,
-b,c){var d=ab();d.memoizedState={refs:{getSnapshot:b,setSnapshot:null},source:a,subscribe:c};return oh(d,a,b,c)},useOpaqueIdentifier:function(){if(la){var a=!1,b=nj(function(){a||(a=!0,c("r:"+(yf++).toString(36)));throw Error(m(355));}),c=nc(b)[1];0===(y.mode&2)&&(y.flags|=516,ld(5,function(){c("r:"+(yf++).toString(36))},void 0,null));return b}b="r:"+(yf++).toString(36);nc(b);return b},unstable_isNewReconciler:!1},rj={readContext:Y,useCallback:vh,useContext:Y,useEffect:nd,useImperativeHandle:uh,useLayoutEffect:sh,
-useMemo:wh,useReducer:lc,useRef:md,useState:function(a){return lc(ma)},useDebugValue:Pe,useDeferredValue:function(a){var b=lc(ma),c=b[0],d=b[1];nd(function(){var b=aa.transition;aa.transition=1;try{d(a)}finally{aa.transition=b}},[a]);return c},useTransition:function(){var a=lc(ma)[0];return[md().current,a]},useMutableSource:ph,useOpaqueIdentifier:function(){return lc(ma)[0]},unstable_isNewReconciler:!1},sj={readContext:Y,useCallback:vh,useContext:Y,useEffect:nd,useImperativeHandle:uh,useLayoutEffect:sh,
-useMemo:wh,useReducer:mc,useRef:md,useState:function(a){return mc(ma)},useDebugValue:Pe,useDeferredValue:function(a){var b=mc(ma),c=b[0],d=b[1];nd(function(){var b=aa.transition;aa.transition=1;try{d(a)}finally{aa.transition=b}},[a]);return c},useTransition:function(){var a=mc(ma)[0];return[md().current,a]},useMutableSource:ph,useOpaqueIdentifier:function(){return mc(ma)[0]},unstable_isNewReconciler:!1},uj=fb.ReactCurrentOwner,fa=!1,qd={dehydrated:null,retryLane:0};var xj=function(a,b,c,d){for(c=
-b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};var Kh=function(a){};var wj=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){a=b.stateNode;$a(ka.current);e=null;switch(c){case "input":f=Md(a,f);d=Md(a,d);e=[];break;case "option":f=Pd(a,f);d=Pd(a,d);e=[];break;case "select":f=
-B({},f,{value:void 0});d=B({},d,{value:void 0});e=[];break;case "textarea":f=Qd(a,f);d=Qd(a,d);e=[];break;default:"function"!==typeof f.onClick&&"function"===typeof d.onClick&&(a.onclick=Vc)}Sd(c,d);var g;c=null;for(l in f)if(!d.hasOwnProperty(l)&&f.hasOwnProperty(l)&&null!=f[l])if("style"===l){var h=f[l];for(g in h)h.hasOwnProperty(g)&&(c||(c={}),c[g]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(Ib.hasOwnProperty(l)?
-e||(e=[]):(e=e||[]).push(l,null));for(l in d){var k=d[l];h=null!=f?f[l]:void 0;if(d.hasOwnProperty(l)&&k!==h&&(null!=k||null!=h))if("style"===l)if(h){for(g in h)!h.hasOwnProperty(g)||k&&k.hasOwnProperty(g)||(c||(c={}),c[g]="");for(g in k)k.hasOwnProperty(g)&&h[g]!==k[g]&&(c||(c={}),c[g]=k[g])}else c||(e||(e=[]),e.push(l,c)),c=k;else"dangerouslySetInnerHTML"===l?(k=k?k.__html:void 0,h=h?h.__html:void 0,null!=k&&h!==k&&(e=e||[]).push(l,k)):"children"===l?"string"!==typeof k&&"number"!==typeof k||(e=
-e||[]).push(l,""+k):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(Ib.hasOwnProperty(l)?(null!=k&&"onScroll"===l&&z("scroll",a),e||h===k||(e=[])):"object"===typeof k&&null!==k&&k.$$typeof===ue?k.toString():(e=e||[]).push(l,k))}c&&(e=e||[]).push("style",c);var l=e;if(b.updateQueue=l)b.flags|=4}};var yj=function(a,b,c,d){c!==d&&(b.flags|=4)};var Lj="function"===typeof WeakMap?WeakMap:Map,Dj="function"===typeof WeakSet?WeakSet:Set,Ij=Math.ceil,vd=fb.ReactCurrentDispatcher,kf=
-fb.ReactCurrentOwner,n=0,R=null,G=null,O=0,ta=0,cb=Ga(0),L=0,wd=null,Fb=0,La=0,Cb=0,jf=0,ef=null,df=0,We=Infinity,l=null,rd=!1,Ze=null,na=null,Sa=!1,tc=null,vc=90,nf=[],of=[],va=null,rc=0,ff=null,sd=-1,ua=0,td=0,uc=null,xd=!1;var Pj=function(a,b,c){var d=b.lanes;if(null!==a)if(a.memoizedProps!==b.pendingProps||J.current)fa=!0;else if(0!==(c&d))fa=0!==(a.flags&16384)?!0:!1;else{fa=!1;switch(b.tag){case 3:Dh(b);Ie();break;case 5:jh(b);break;case 1:S(b.type)&&Xc(b);break;case 4:Fe(b,b.stateNode.containerInfo);
-break;case 10:d=b.memoizedProps.value;var e=b.type._context;A(bd,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){if(0!==(c&b.child.childLanes))return Eh(a,b,c);A(E,E.current&1);b=sa(a,b,c);return null!==b?b.sibling:null}A(E,E.current&1);break;case 19:d=0!==(c&b.childLanes);if(0!==(a.flags&64)){if(d)return Jh(a,b,c);b.flags|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null,e.lastEffect=null);A(E,E.current);if(d)break;else return null;case 23:case 24:return b.lanes=
-0,Se(a,b,c)}return sa(a,b,c)}else fa=!1;b.lanes=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2);a=b.pendingProps;e=vb(b,D.current);yb(b,c);e=Le(null,b,d,a,e,c);b.flags|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(S(d)){var f=!0;Xc(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;Be(b);var g=d.getDerivedStateFromProps;"function"===typeof g&&
-cd(b,d,g,a);e.updater=dd;b.stateNode=e;e._reactInternals=b;Ce(b,d,a,c);b=Te(null,b,d,!0,f,c)}else b.tag=0,U(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;a:{null!==a&&(a.alternate=null,b.alternate=null,b.flags|=2);a=b.pendingProps;f=e._init;e=f(e._payload);b.type=e;f=b.tag=Vj(e);a=ea(e,a);switch(f){case 0:b=Re(null,b,e,a,c);break a;case 1:b=Ch(null,b,e,a,c);break a;case 11:b=yh(null,b,e,a,c);break a;case 14:b=zh(null,b,e,ea(e.type,a),d,c);break a}throw Error(m(306,e,""));}return b;case 0:return d=
-b.type,e=b.pendingProps,e=b.elementType===d?e:ea(d,e),Re(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ea(d,e),Ch(a,b,d,e,c);case 3:Dh(b);d=b.updateQueue;if(null===a||null===d)throw Error(m(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;bh(a,b);cc(b,d,null,c);d=b.memoizedState.element;if(d===e)Ie(),b=sa(a,b,c);else{e=b.stateNode;if(f=e.hydrate)Na=tb(b.stateNode.containerInfo.firstChild),ra=b,f=la=!0;if(f){a=e.mutableSourceEagerHydrationData;if(null!=
-a)for(e=0;e<a.length;e+=2)f=a[e],f._workInProgressVersionPrimary=a[e+1],Bb.push(f);c=xh(b,null,d,c);for(b.child=c;c;)c.flags=c.flags&-3|1024,c=c.sibling}else U(a,b,d,c),Ie();b=b.child}return b;case 5:return jh(b),null===a&&He(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,se(d,e)?g=null:null!==f&&se(d,f)&&(b.flags|=16),Bh(a,b),U(a,b,g,c),b.child;case 6:return null===a&&He(b),null;case 13:return Eh(a,b,c);case 4:return Fe(b,b.stateNode.containerInfo),d=b.pendingProps,null===
-a?b.child=od(b,null,d,c):U(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ea(d,e),yh(a,b,d,e,c);case 7:return U(a,b,b.pendingProps,c),b.child;case 8:return U(a,b,b.pendingProps.children,c),b.child;case 12:return U(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;A(bd,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=X(h,f)?0:("function"===typeof d._calculateChangedBits?
-d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!J.current){b=sa(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==k){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=Ia(-1,c&-c),l.tag=2,Ja(h,l));h.lanes|=c;l=h.alternate;null!==l&&(l.lanes|=c);ah(h.return,c);k.lanes|=c;break}l=l.next}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=
-h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=g}U(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,yb(b,c),e=Y(e,f.unstable_observedBits),d=d(e),b.flags|=1,U(a,b,d,c),b.child;case 14:return e=b.type,f=ea(e,b.pendingProps),f=ea(e.type,f),zh(a,b,e,f,d,c);case 15:return Ah(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ea(d,e),null!==a&&(a.alternate=null,b.alternate=
-null,b.flags|=2),b.tag=1,S(d)?(a=!0,Xc(b)):a=!1,yb(b,c),fh(b,d,e),Ce(b,d,e,c),Te(null,b,d,!0,a,c);case 19:return Jh(a,b,c);case 23:return Se(a,b,c);case 24:return Se(a,b,c)}throw Error(m(156,b.tag));};var Z=function(a,b,c,d){return new Uj(a,b,c,d)};tf.prototype.render=function(a){yd(a,this._internalRoot,null,null)};tf.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;yd(null,a,null,function(){b[rb]=null})};var Ei=function(a){if(13===a.tag){var b=W();Pa(a,4,b);sf(a,4)}};var Yf=
-function(a){if(13===a.tag){var b=W();Pa(a,67108864,b);sf(a,67108864)}};var Ci=function(a){if(13===a.tag){var b=W(),c=Oa(a);Pa(a,c,b);sf(a,c)}};var Bi=function(a,b){return b()};Vd=function(a,b,c){switch(b){case "input":Nd(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Hc(d);if(!e)throw Error(m(90));Ff(d);Nd(d,e)}}}break;case "textarea":Kf(a,
-c);break;case "select":b=c.value,null!=b&&ib(a,!!c.multiple,b,!1)}};(function(a,b,c,d){me=a;fg=b;Xd=c;Sf=d})(ai,function(a,b,c,d,e){var f=n;n|=4;try{return Za(98,a.bind(null,b,c,d,e))}finally{n=f,0===n&&(Eb(),ja())}},function(){0===(n&49)&&(Jj(),Ra())},function(a,b){var c=n;n|=2;try{return a(b)}finally{n=c,0===n&&(Eb(),ja())}});var vk={Events:[Ob,pb,Hc,Qf,Rf,Ra,{current:!1}]};(function(a){a={bundleType:a.bundleType,version:a.version,rendererPackageName:a.rendererPackageName,rendererConfig:a.rendererConfig,
-overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fb.ReactCurrentDispatcher,findHostInstanceByFiber:Yj,findFiberByHostInstance:a.findFiberByHostInstance||Zj,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)a=
-!1;else{var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!b.isDisabled&&b.supportsFiber)try{$e=b.inject(a),db=b}catch(c){}a=!0}return a})({findFiberByHostInstance:Wa,bundleType:0,version:"17.0.1",rendererPackageName:"react-dom"});M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vk;M.createPortal=hi;M.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternals;if(void 0===b){if("function"===typeof a.render)throw Error(m(188));throw Error(m(268,Object.keys(a)));
-}a=Vf(b);a=null===a?null:a.stateNode;return a};M.flushSync=function(a,b){var c=n;if(0!==(c&48))return a(b);n|=1;try{if(a)return Za(99,a.bind(null,b))}finally{n=c,ja()}};M.hydrate=function(a,b,c){if(!wc(b))throw Error(m(200));return zd(null,a,b,!0,c)};M.render=function(a,b,c){if(!wc(b))throw Error(m(200));return zd(null,a,b,!1,c)};M.unmountComponentAtNode=function(a){if(!wc(a))throw Error(m(40));return a._reactRootContainer?(bi(function(){zd(null,null,a,!1,function(){a._reactRootContainer=null;a[rb]=
-null})}),!0):!1};M.unstable_batchedUpdates=ai;M.unstable_createPortal=function(a,b){return hi(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};M.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!wc(c))throw Error(m(200));if(null==a||void 0===a._reactInternals)throw Error(m(38));return zd(a,b,c,!1,d)};M.version="17.0.1"});
-})();
+!function(){"use strict";var e,n;e=this,n=function(e,n){function t(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(e,n){l(e,n),l(e+"Capture",n)}function l(e,n){for(yl[e]=n,e=0;e<n.length;e++)vl.add(n[e])}function a(e,n,t,r,l,a,o){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=o}function o(e,n,t,r){var l=xl.hasOwnProperty(n)?xl[n]:null;(null!==l?0===l.type:!r&&2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))||(function(e,n,t,r){if(null==n||function(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(n,t,l,r)&&(t=null),r||null===l?function(e){return!!kl.call(El,e)||!kl.call(Sl,e)&&(wl.test(e)?El[e]=!0:(Sl[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=null===t?3!==l.type&&"":t:(n=l.attributeName,r=l.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(l=l.type)||4===l&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}function u(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Xl&&e[Xl]||e["@@iterator"])?e:null}function i(e,n,t){if(void 0===ql)try{throw Error()}catch(e){ql=(n=e.stack.trim().match(/\n( *(at )?)/))&&n[1]||""}return"\n"+ql+e}function s(e,n){if(!e||Gl)return"";Gl=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var l=e.stack.split("\n"),a=r.stack.split("\n"),o=l.length-1,u=a.length-1;1<=o&&0<=u&&l[o]!==a[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==a[u]){if(1!==o||1!==u)do{if(o--,0>--u||l[o]!==a[u])return"\n"+l[o].replace(" at new "," at ")}while(1<=o&&0<=u);break}}}finally{Gl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?i(e):""}function c(e){switch(e.tag){case 5:return i(e.type);case 16:return i("Lazy");case 13:return i("Suspense");case 19:return i("SuspenseList");case 0:case 2:case 15:return e=s(e.type,!1);case 11:return e=s(e.type.render,!1);case 22:return e=s(e.type._render,!1);case 1:return e=s(e.type,!0);default:return""}}function f(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Tl:return"Fragment";case Ll:return"Portal";case Ol:return"Profiler";case Ml:return"StrictMode";case Fl:return"Suspense";case Ul:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Dl:return(e.displayName||"Context")+".Consumer";case Rl:return(e._context.displayName||"Context")+".Provider";case Il:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(""!==n?"ForwardRef("+n+")":"ForwardRef");case Vl:return f(e.type);case Bl:return f(e._render);case Al:n=e._payload,e=e._init;try{return f(e(n))}catch(e){}}return null}function d(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function p(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function h(e){e._valueTracker||(e._valueTracker=function(e){var n=p(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var l=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function m(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=p(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function g(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function v(e,n){var t=n.checked;return Nl({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function y(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=d(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function b(e,n){null!=(n=n.checked)&&o(e,"checked",n,!1)}function w(e,n){b(e,n);var t=d(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");n.hasOwnProperty("value")?S(e,n.type,t):n.hasOwnProperty("defaultValue")&&S(e,n.type,d(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function k(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function S(e,n,t){"number"===n&&g(e.ownerDocument)===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function E(e,t){return e=Nl({children:void 0},t),(t=function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function x(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(t=""+d(t),n=null,l=0;l<e.length;l++){if(e[l].value===t)return e[l].selected=!0,void(r&&(e[l].defaultSelected=!0));null!==n||e[l].disabled||(n=e[l])}null!==n&&(n.selected=!0)}}function C(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(t(91));return Nl({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function _(e,n){var r=n.value;if(null==r){if(r=n.children,n=n.defaultValue,null!=r){if(null!=n)throw Error(t(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(t(93));r=r[0]}n=r}null==n&&(n=""),r=n}e._wrapperState={initialValue:d(r)}}function N(e,n){var t=d(n.value),r=d(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function P(e,n){(n=e.textContent)===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function z(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function L(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?z(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}function T(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||ea.hasOwnProperty(e)&&ea[e]?(""+n).trim():n+"px"}function M(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),l=T(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}function O(e,n){if(n){if(ta[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(t(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(t(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(t(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(t(62))}}function R(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function D(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function I(e){if(e=sn(e)){if("function"!=typeof ra)throw Error(t(280));var n=e.stateNode;n&&(n=fn(n),ra(e.stateNode,e.type,n))}}function F(e){la?aa?aa.push(e):aa=[e]:la=e}function U(){if(la){var e=la,n=aa;if(aa=la=null,I(e),n)for(e=0;e<n.length;e++)I(n[e])}}function V(){null===la&&null===aa||(ia(),U())}function A(e,n){var r=e.stateNode;if(null===r)return null;var l=fn(r);if(null===l)return null;r=l[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(l=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!l;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(t(231,n,typeof r));return r}function B(e,n,t,r,l,a,o,u,i){ma=!1,ga=null,ha.apply(ba,arguments)}function W(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{0!=(1026&(n=e).flags)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function Q(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&null!==(e=e.alternate)&&(n=e.memoizedState),null!==n)return n.dehydrated}return null}function H(e){if(W(e)!==e)throw Error(t(188))}function j(e){if(e=function(e){var n=e.alternate;if(!n){if(null===(n=W(e)))throw Error(t(188));return n!==e?null:e}for(var r=e,l=n;;){var a=r.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(l=a.return)){r=l;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===r)return H(a),e;if(o===l)return H(a),n;o=o.sibling}throw Error(t(188))}if(r.return!==l.return)r=a,l=o;else{for(var u=!1,i=a.child;i;){if(i===r){u=!0,r=a,l=o;break}if(i===l){u=!0,l=a,r=o;break}i=i.sibling}if(!u){for(i=o.child;i;){if(i===r){u=!0,r=o,l=a;break}if(i===l){u=!0,l=o,r=a;break}i=i.sibling}if(!u)throw Error(t(189))}}if(r.alternate!==l)throw Error(t(190))}if(3!==r.tag)throw Error(t(188));return r.stateNode.current===r?e:n}(e),!e)return null;for(var n=e;;){if(5===n.tag||6===n.tag)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===e)break;for(;!n.sibling;){if(!n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function $(e,n){for(var t=e.alternate;null!==n;){if(n===e||n===t)return!0;n=n.return}return!1}function q(e,n,t,r,l){return{blockedOn:e,domEventName:n,eventSystemFlags:16|t,nativeEvent:l,targetContainers:[r]}}function K(e,n){switch(e){case"focusin":case"focusout":Da=null;break;case"dragenter":case"dragleave":Ia=null;break;case"mouseover":case"mouseout":Fa=null;break;case"pointerover":case"pointerout":Ua.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Va.delete(n.pointerId)}}function Y(e,n,t,r,l,a){return null===e||e.nativeEvent!==a?(e=q(n,t,r,l,a),null!==n&&null!==(n=sn(n))&&ss(n),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==l&&-1===n.indexOf(l)&&n.push(l),e)}function X(e){var n=un(e.target);if(null!==n){var t=W(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=Q(t)))return e.blockedOn=n,void fs(e.lanePriority,(function(){_a(e.priority,(function(){cs(t)}))}))}else if(3===n&&t.stateNode.hydrate)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function G(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=ge(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=sn(t))&&ss(n),e.blockedOn=t,!1;n.shift()}return!0}function Z(e,n,t){G(e)&&t.delete(n)}function J(){for(Oa=!1;0<Ra.length;){var e=Ra[0];if(null!==e.blockedOn){null!==(e=sn(e.blockedOn))&&is(e);break}for(var n=e.targetContainers;0<n.length;){var t=ge(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t){e.blockedOn=t;break}n.shift()}null===e.blockedOn&&Ra.shift()}null!==Da&&G(Da)&&(Da=null),null!==Ia&&G(Ia)&&(Ia=null),null!==Fa&&G(Fa)&&(Fa=null),Ua.forEach(Z),Va.forEach(Z)}function ee(e,n){e.blockedOn===n&&(e.blockedOn=null,Oa||(Oa=!0,Ea(La,J)))}function ne(e){if(0<Ra.length){ee(Ra[0],e);for(var n=1;n<Ra.length;n++){var t=Ra[n];t.blockedOn===e&&(t.blockedOn=null)}}for(null!==Da&&ee(Da,e),null!==Ia&&ee(Ia,e),null!==Fa&&ee(Fa,e),n=function(n){return ee(n,e)},Ua.forEach(n),Va.forEach(n),n=0;n<Aa.length;n++)(t=Aa[n]).blockedOn===e&&(t.blockedOn=null);for(;0<Aa.length&&null===(n=Aa[0]).blockedOn;)X(n),null===n.blockedOn&&Aa.shift()}function te(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}function re(e){if(Qa[e])return Qa[e];if(!Wa[e])return e;var n,t=Wa[e];for(n in t)if(t.hasOwnProperty(n)&&n in Ha)return Qa[e]=t[n];return e}function le(e,n){for(var t=0;t<e.length;t+=2){var l=e[t],a=e[t+1];a="on"+(a[0].toUpperCase()+a.slice(1)),Xa.set(l,n),Ya.set(l,a),r(a,[l])}}function ae(e){if(0!=(1&e))return no=15,1;if(0!=(2&e))return no=14,2;if(0!=(4&e))return no=13,4;var n=24&e;return 0!==n?(no=12,n):0!=(32&e)?(no=11,32):0!=(n=192&e)?(no=10,n):0!=(256&e)?(no=9,256):0!=(n=3584&e)?(no=8,n):0!=(4096&e)?(no=7,4096):0!=(n=4186112&e)?(no=6,n):0!=(n=62914560&e)?(no=5,n):67108864&e?(no=4,67108864):0!=(134217728&e)?(no=3,134217728):0!=(n=805306368&e)?(no=2,n):0!=(1073741824&e)?(no=1,1073741824):(no=8,e)}function oe(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(t(358,e))}}function ue(e,n){var t=e.pendingLanes;if(0===t)return no=0;var r=0,l=0,a=e.expiredLanes,o=e.suspendedLanes,u=e.pingedLanes;if(0!==a)r=a,l=no=15;else if(0!=(a=134217727&t)){var i=a&~o;0!==i?(r=ae(i),l=no):0!=(u&=a)&&(r=ae(u),l=no)}else 0!=(a=t&~o)?(r=ae(a),l=no):0!==u&&(r=ae(u),l=no);if(0===r)return 0;if(r=t&((0>(r=31-to(r))?0:1<<r)<<1)-1,0!==n&&n!==r&&0==(n&o)){if(ae(n),l<=no)return n;no=l}if(0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)l=1<<(t=31-to(n)),r|=e[t],n&=~l;return r}function ie(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function se(e,n){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=ce(24&~n))?se(10,n):e;case 10:return 0===(e=ce(192&~n))?se(8,n):e;case 8:return 0===(e=ce(3584&~n))&&0===(e=ce(4186112&~n))&&(e=512),e;case 2:return 0===(n=ce(805306368&~n))&&(n=268435456),n}throw Error(t(358,e))}function ce(e){return e&-e}function fe(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function de(e,n,t){e.pendingLanes|=n;var r=n-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[n=31-to(n)]=t}function pe(e,n,t,r){ca||ia();var l=me,a=ca;ca=!0;try{ua(l,e,n,t,r)}finally{(ca=a)||V()}}function he(e,n,t,r){oo(ao,me.bind(null,e,n,t,r))}function me(e,n,t,r){var l;if(uo)if((l=0==(4&n))&&0<Ra.length&&-1<Ba.indexOf(e))e=q(null,e,n,t,r),Ra.push(e);else{var a=ge(e,n,t,r);if(null===a)l&&K(e,r);else{if(l){if(-1<Ba.indexOf(e))return e=q(a,e,n,t,r),void Ra.push(e);if(function(e,n,t,r,l){switch(n){case"focusin":return Da=Y(Da,e,n,t,r,l),!0;case"dragenter":return Ia=Y(Ia,e,n,t,r,l),!0;case"mouseover":return Fa=Y(Fa,e,n,t,r,l),!0;case"pointerover":var a=l.pointerId;return Ua.set(a,Y(Ua.get(a)||null,e,n,t,r,l)),!0;case"gotpointercapture":return a=l.pointerId,Va.set(a,Y(Va.get(a)||null,e,n,t,r,l)),!0}return!1}(a,e,n,t,r))return;K(e,r)}Xe(e,n,r,null,t)}}}function ge(e,n,t,r){var l=D(r);if(null!==(l=un(l))){var a=W(l);if(null===a)l=null;else{var o=a.tag;if(13===o){if(null!==(l=Q(a)))return l;l=null}else if(3===o){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;l=null}else a!==l&&(l=null)}}return Xe(e,n,r,l,t),null}function ve(){if(co)return co;var e,n,t=so,r=t.length,l="value"in io?io.value:io.textContent,a=l.length;for(e=0;e<r&&t[e]===l[e];e++);var o=r-e;for(n=1;n<=o&&t[r-n]===l[a-n];n++);return co=l.slice(e,1<n?1-n:void 0)}function ye(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function be(){return!0}function we(){return!1}function ke(e){function n(n,t,r,l,a){for(var o in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=l,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(l):l[o]);return this.isDefaultPrevented=(null!=l.defaultPrevented?l.defaultPrevented:!1===l.returnValue)?be:we,this.isPropagationStopped=we,this}return Nl(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=be)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=be)},persist:function(){},isPersistent:be}),n}function Se(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=No[e])&&!!n[e]}function Ee(e){return Se}function xe(e,n){switch(e){case"keyup":return-1!==Do.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ce(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}function _e(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!Qo[e.type]:"textarea"===n}function Ne(e,n,t,r){F(r),0<(n=Ze(n,"onChange")).length&&(t=new po("onChange","change",null,t,r),e.push({event:t,listeners:n}))}function Pe(e){je(e,0)}function ze(e){if(m(cn(e)))return e}function Le(e,n){if("change"===e)return n}function Te(){Ho&&(Ho.detachEvent("onpropertychange",Me),jo=Ho=null)}function Me(e){if("value"===e.propertyName&&ze(jo)){var n=[];if(Ne(n,jo,e,D(e)),e=Pe,ca)e(n);else{ca=!0;try{oa(e,n)}finally{ca=!1,V()}}}}function Oe(e,n,t){"focusin"===e?(Te(),jo=t,(Ho=n).attachEvent("onpropertychange",Me)):"focusout"===e&&Te()}function Re(e,n){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ze(jo)}function De(e,n){if("click"===e)return ze(n)}function Ie(e,n){if("input"===e||"change"===e)return ze(n)}function Fe(e,n){if(qo(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++)if(!Ko.call(n,t[r])||!qo(e[t[r]],n[t[r]]))return!1;return!0}function Ue(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ve(e,n){var t,r=Ue(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ue(r)}}function Ae(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?Ae(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function Be(){for(var e=window,n=g();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(!t)break;n=g((e=n.contentWindow).document)}return n}function We(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}function Qe(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;Jo||null==Xo||Xo!==g(r)||(r="selectionStart"in(r=Xo)&&We(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Zo&&Fe(Zo,r)||(Zo=r,0<(r=Ze(Go,"onSelect")).length&&(n=new po("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=Xo)))}function He(e,n,r){var l=e.type||"unknown-event";e.currentTarget=r,function(e,n,r,l,a,o,u,i,s){if(B.apply(this,arguments),ma){if(!ma)throw Error(t(198));var c=ga;ma=!1,ga=null,va||(va=!0,ya=c)}}(l,n,void 0,e),e.currentTarget=null}function je(e,n){n=0!=(4&n);for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var o=r.length-1;0<=o;o--){var u=r[o],i=u.instance,s=u.currentTarget;if(u=u.listener,i!==a&&l.isPropagationStopped())break e;He(l,u,s),a=i}else for(o=0;o<r.length;o++){if(i=(u=r[o]).instance,s=u.currentTarget,u=u.listener,i!==a&&l.isPropagationStopped())break e;He(l,u,s),a=i}}}if(va)throw e=ya,va=!1,ya=null,e}function $e(e,n){var t=dn(n),r=e+"__bubble";t.has(r)||(Ye(n,e,2,!1),t.add(r))}function qe(e){e[tu]||(e[tu]=!0,vl.forEach((function(n){nu.has(n)||Ke(n,!1,e,null),Ke(n,!0,e,null)})))}function Ke(e,n,t,r){var l=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=t;if("selectionchange"===e&&9!==t.nodeType&&(a=t.ownerDocument),null!==r&&!n&&nu.has(e)){if("scroll"!==e)return;l|=2,a=r}var o=dn(a),u=e+"__"+(n?"capture":"bubble");o.has(u)||(n&&(l|=4),Ye(a,e,l,n),o.add(u))}function Ye(e,n,t,r,l){switch(void 0===(l=Xa.get(n))?2:l){case 0:l=pe;break;case 1:l=he;break;default:l=me}t=l.bind(null,n,t,e),l=void 0,!da||"touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(l=!0),r?void 0!==l?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):void 0!==l?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function Xe(e,n,t,r,l){var a=r;if(0==(1&n)&&0==(2&n)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var u=r.stateNode.containerInfo;if(u===l||8===u.nodeType&&u.parentNode===l)break;if(4===o)for(o=r.return;null!==o;){var i=o.tag;if((3===i||4===i)&&((i=o.stateNode.containerInfo)===l||8===i.nodeType&&i.parentNode===l))return;o=o.return}for(;null!==u;){if(null===(o=un(u)))return;if(5===(i=o.tag)||6===i){r=a=o;continue e}u=u.parentNode}}r=r.return}!function(e,n,t){if(fa)return e(n,t);fa=!0;try{sa(e,n,t)}finally{fa=!1,V()}}((function(){var r=a,l=D(t),o=[];e:{var u=Ya.get(e);if(void 0!==u){var i=po,s=e;switch(e){case"keypress":if(0===ye(t))break e;case"keydown":case"keyup":i=zo;break;case"focusin":s="focus",i=bo;break;case"focusout":s="blur",i=bo;break;case"beforeblur":case"afterblur":i=bo;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":i=vo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":i=yo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":i=To;break;case ja:case $a:case qa:i=wo;break;case Ka:i=Mo;break;case"scroll":i=mo;break;case"wheel":i=Ro;break;case"copy":case"cut":case"paste":i=So;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":i=Lo}var c=0!=(4&n),f=!c&&"scroll"===e,d=c?null!==u?u+"Capture":null:u;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&null!=(m=A(h,d))&&c.push(Ge(h,m,p))),f)break;h=h.return}0<c.length&&(u=new i(u,s,null,t,l),o.push({event:u,listeners:c}))}}if(0==(7&n)){if(i="mouseout"===e||"pointerout"===e,(!(u="mouseover"===e||"pointerover"===e)||0!=(16&n)||!(s=t.relatedTarget||t.fromElement)||!un(s)&&!s[fu])&&(i||u)&&(u=l.window===l?l:(u=l.ownerDocument)?u.defaultView||u.parentWindow:window,i?(i=r,null!==(s=(s=t.relatedTarget||t.toElement)?un(s):null)&&(s!==(f=W(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(i=null,s=r),i!==s)){if(c=vo,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Lo,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==i?u:cn(i),p=null==s?u:cn(s),(u=new c(m,h+"leave",i,t,l)).target=f,u.relatedTarget=p,m=null,un(l)===r&&((c=new c(d,h+"enter",s,t,l)).target=p,c.relatedTarget=f,m=c),f=m,i&&s)e:{for(d=s,h=0,p=c=i;p;p=Je(p))h++;for(p=0,m=d;m;m=Je(m))p++;for(;0<h-p;)c=Je(c),h--;for(;0<p-h;)d=Je(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Je(c),d=Je(d)}c=null}else c=null;null!==i&&en(o,u,i,c,!1),null!==s&&null!==f&&en(o,f,s,c,!0)}if("select"===(i=(u=r?cn(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===i&&"file"===u.type)var g=Le;else if(_e(u))if($o)g=Ie;else{g=Re;var v=Oe}else(i=u.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(g=De);switch(g&&(g=g(e,r))?Ne(o,g,t,l):(v&&v(e,u,r),"focusout"===e&&(v=u._wrapperState)&&v.controlled&&"number"===u.type&&S(u,"number",u.value)),v=r?cn(r):window,e){case"focusin":(_e(v)||"true"===v.contentEditable)&&(Xo=v,Go=r,Zo=null);break;case"focusout":Zo=Go=Xo=null;break;case"mousedown":Jo=!0;break;case"contextmenu":case"mouseup":case"dragend":Jo=!1,Qe(o,t,l);break;case"selectionchange":if(Yo)break;case"keydown":case"keyup":Qe(o,t,l)}var y;if(Io)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Wo?xe(e,t)&&(b="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(b="onCompositionStart");b&&(Vo&&"ko"!==t.locale&&(Wo||"onCompositionStart"!==b?"onCompositionEnd"===b&&Wo&&(y=ve()):(so="value"in(io=l)?io.value:io.textContent,Wo=!0)),0<(v=Ze(r,b)).length&&(b=new Eo(b,e,null,t,l),o.push({event:b,listeners:v}),(y||null!==(y=Ce(t)))&&(b.data=y))),(y=Uo?function(e,n){switch(e){case"compositionend":return Ce(n);case"keypress":return 32!==n.which?null:(Bo=!0,Ao);case"textInput":return(e=n.data)===Ao&&Bo?null:e;default:return null}}(e,t):function(e,n){if(Wo)return"compositionend"===e||!Io&&xe(e,n)?(e=ve(),co=so=io=null,Wo=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Vo&&"ko"!==n.locale?null:n.data}}(e,t))&&0<(r=Ze(r,"onBeforeInput")).length&&(l=new xo("onBeforeInput","beforeinput",null,t,l),o.push({event:l,listeners:r}),l.data=y)}je(o,n)}))}function Ge(e,n,t){return{instance:e,listener:n,currentTarget:t}}function Ze(e,n){for(var t=n+"Capture",r=[];null!==e;){var l=e,a=l.stateNode;5===l.tag&&null!==a&&(l=a,null!=(a=A(e,t))&&r.unshift(Ge(e,a,l)),null!=(a=A(e,n))&&r.push(Ge(e,a,l))),e=e.return}return r}function Je(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function en(e,n,t,r,l){for(var a=n._reactName,o=[];null!==t&&t!==r;){var u=t,i=u.alternate,s=u.stateNode;if(null!==i&&i===r)break;5===u.tag&&null!==s&&(u=s,l?null!=(i=A(t,a))&&o.unshift(Ge(t,i,u)):l||null!=(i=A(t,a))&&o.push(Ge(t,i,u))),t=t.return}0!==o.length&&e.push({event:n,listeners:o})}function nn(){}function tn(e,n){switch(e){case"button":case"input":case"select":case"textarea":return!!n.autoFocus}return!1}function rn(e,n){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}function ln(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function an(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break}return e}function on(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}function un(e){var n=e[su];if(n)return n;for(var t=e.parentNode;t;){if(n=t[fu]||t[su]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=on(e);null!==e;){if(t=e[su])return t;e=on(e)}return n}t=(e=t).parentNode}return null}function sn(e){return!(e=e[su]||e[fu])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function cn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(t(33))}function fn(e){return e[cu]||null}function dn(e){var n=e[du];return void 0===n&&(n=e[du]=new Set),n}function pn(e){return{current:e}}function hn(e,n){0>hu||(e.current=pu[hu],pu[hu]=null,hu--)}function mn(e,n,t){hu++,pu[hu]=e.current,e.current=n}function gn(e,n){var t=e.type.contextTypes;if(!t)return mu;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in t)a[l]=n[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function vn(e){return null!=(e=e.childContextTypes)}function yn(e,n,r){if(gu.current!==mu)throw Error(t(168));mn(gu,n),mn(vu,r)}function bn(e,n,r){var l=e.stateNode;if(e=n.childContextTypes,"function"!=typeof l.getChildContext)return r;for(var a in l=l.getChildContext())if(!(a in e))throw Error(t(108,f(n)||"Unknown",a));return Nl({},r,l)}function wn(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mu,yu=gu.current,mn(gu,e),mn(vu,vu.current),!0}function kn(e,n,r){var l=e.stateNode;if(!l)throw Error(t(169));r?(e=bn(e,n,yu),l.__reactInternalMemoizedMergedChildContext=e,hn(vu),hn(gu),mn(gu,e)):hn(vu),mn(vu,r)}function Sn(){switch(xu()){case Cu:return 99;case _u:return 98;case Nu:return 97;case Pu:return 96;case zu:return 95;default:throw Error(t(332))}}function En(e){switch(e){case 99:return Cu;case 98:return _u;case 97:return Nu;case 96:return Pu;case 95:return zu;default:throw Error(t(332))}}function xn(e,n){return e=En(e),ku(e,n)}function Cn(e,n,t){return e=En(e),Su(e,n,t)}function _n(){if(null!==Ru){var e=Ru;Ru=null,Eu(e)}Nn()}function Nn(){if(!Du&&null!==Ou){Du=!0;var e=0;try{var n=Ou;xn(99,(function(){for(;e<n.length;e++){var t=n[e];do{t=t(!0)}while(null!==t)}})),Ou=null}catch(n){throw null!==Ou&&(Ou=Ou.slice(e+1)),Su(Cu,_n),n}finally{Du=!1}}}function Pn(e,n){if(e&&e.defaultProps){for(var t in n=Nl({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}return n}function zn(){Wu=Bu=Au=null}function Ln(e){var n=Vu.current;hn(Vu),e.type._context._currentValue=n}function Tn(e,n){for(;null!==e;){var t=e.alternate;if((e.childLanes&n)===n){if(null===t||(t.childLanes&n)===n)break;t.childLanes|=n}else e.childLanes|=n,null!==t&&(t.childLanes|=n);e=e.return}}function Mn(e,n){Au=e,Wu=Bu=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&n)&&(vi=!0),e.firstContext=null)}function On(e,n){if(Wu!==e&&!1!==n&&0!==n)if("number"==typeof n&&1073741823!==n||(Wu=e,n=1073741823),n={context:e,observedBits:n,next:null},null===Bu){if(null===Au)throw Error(t(308));Bu=n,Au.dependencies={lanes:0,firstContext:n,responders:null}}else Bu=Bu.next=n;return e._currentValue}function Rn(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Dn(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function In(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function Fn(e,n){if(null!==(e=e.updateQueue)){var t=(e=e.shared).pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}}function Un(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var l=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var o={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?l=a=o:a=a.next=o,t=t.next}while(null!==t);null===a?l=a=n:a=a.next=n}else l=a=n;return t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Vn(e,n,t,r){var l=e.updateQueue;Qu=!1;var a=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(null!==u){l.shared.pending=null;var i=u,s=i.next;i.next=null,null===o?a=s:o.next=s,o=i;var c=e.alternate;if(null!==c){var f=(c=c.updateQueue).lastBaseUpdate;f!==o&&(null===f?c.firstBaseUpdate=s:f.next=s,c.lastBaseUpdate=i)}}if(null!==a){for(f=l.baseState,o=0,c=s=i=null;;){u=a.lane;var d=a.eventTime;if((r&u)===u){null!==c&&(c=c.next={eventTime:d,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,h=a;switch(u=n,d=t,h.tag){case 1:if("function"==typeof(p=h.payload)){f=p.call(d,f,u);break e}f=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(u="function"==typeof(p=h.payload)?p.call(d,f,u):p))break e;f=Nl({},f,u);break e;case 2:Qu=!0}}null!==a.callback&&(e.flags|=32,null===(u=l.effects)?l.effects=[a]:u.push(a))}else d={eventTime:d,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(s=c=d,i=f):c=c.next=d,o|=u;if(null===(a=a.next)){if(null===(u=l.shared.pending))break;a=u.next,u.next=null,l.lastBaseUpdate=u,l.shared.pending=null}}null===c&&(i=f),l.baseState=i,l.firstBaseUpdate=s,l.lastBaseUpdate=c,Fi|=o,e.lanes=o,e.memoizedState=f}}function An(e,n,r){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var l=e[n],a=l.callback;if(null!==a){if(l.callback=null,l=r,"function"!=typeof a)throw Error(t(191,a));a.call(l)}}}function Bn(e,n,t,r){t=null==(t=t(r,n=e.memoizedState))?n:Nl({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}function Wn(e,n,t,r,l,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!(n.prototype&&n.prototype.isPureReactComponent&&Fe(t,r)&&Fe(l,a))}function Qn(e,n,t){var r=!1,l=mu,a=n.contextType;return"object"==typeof a&&null!==a?a=On(a):(l=vn(n)?yu:gu.current,a=(r=null!=(r=n.contextTypes))?gn(e,l):mu),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=ju,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),n}function Hn(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&ju.enqueueReplaceState(n,n.state,null)}function jn(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs=Hu,Rn(e);var a=n.contextType;"object"==typeof a&&null!==a?l.context=On(a):(a=vn(n)?yu:gu.current,l.context=gn(e,a)),Vn(e,t,l,r),l.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Bn(e,n,a,t),l.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(n=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),n!==l.state&&ju.enqueueReplaceState(l,l.state,null),Vn(e,t,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.flags|=4)}function $n(e,n,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(t(309));var l=r.stateNode}if(!l)throw Error(t(147,e));var a=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===a?n.ref:(n=function(e){var n=l.refs;n===Hu&&(n=l.refs={}),null===e?delete n[a]:n[a]=e},n._stringRef=a,n)}if("string"!=typeof e)throw Error(t(284));if(!r._owner)throw Error(t(290,e))}return e}function qn(e,n){if("textarea"!==e.type)throw Error(t(31,"[object Object]"===Object.prototype.toString.call(n)?"object with keys {"+Object.keys(n).join(", ")+"}":n))}function Kn(e){function n(n,t){if(e){var r=n.lastEffect;null!==r?(r.nextEffect=t,n.lastEffect=t):n.firstEffect=n.lastEffect=t,t.nextEffect=null,t.flags=8}}function r(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function l(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function a(e,n){return(e=Jr(e,n)).index=0,e.sibling=null,e}function o(n,t,r){return n.index=r,e?null!==(r=n.alternate)?(r=r.index)<t?(n.flags=2,t):r:(n.flags=2,t):t}function i(n){return e&&null===n.alternate&&(n.flags=2),n}function s(e,n,t,r){return null===n||6!==n.tag?((n=rl(t,e.mode,r)).return=e,n):((n=a(n,t)).return=e,n)}function c(e,n,t,r){return null!==n&&n.elementType===t.type?((r=a(n,t.props)).ref=$n(e,n,t),r.return=e,r):((r=el(t.type,t.key,t.props,null,e.mode,r)).ref=$n(e,n,t),r.return=e,r)}function d(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=ll(t,e.mode,r)).return=e,n):((n=a(n,t.children||[])).return=e,n)}function p(e,n,t,r,l){return null===n||7!==n.tag?((n=nl(t,e.mode,r,l)).return=e,n):((n=a(n,t)).return=e,n)}function h(e,n,t){if("string"==typeof n||"number"==typeof n)return(n=rl(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case zl:return(t=el(n.type,n.key,n.props,null,e.mode,t)).ref=$n(e,null,n),t.return=e,t;case Ll:return(n=ll(n,e.mode,t)).return=e,n}if($u(n)||u(n))return(n=nl(n,e.mode,t,null)).return=e,n;qn(e,n)}return null}function m(e,n,t,r){var l=null!==n?n.key:null;if("string"==typeof t||"number"==typeof t)return null!==l?null:s(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case zl:return t.key===l?t.type===Tl?p(e,n,t.props.children,r,l):c(e,n,t,r):null;case Ll:return t.key===l?d(e,n,t,r):null}if($u(t)||u(t))return null!==l?null:p(e,n,t,r,null);qn(e,t)}return null}function g(e,n,t,r,l){if("string"==typeof r||"number"==typeof r)return s(n,e=e.get(t)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case zl:return e=e.get(null===r.key?t:r.key)||null,r.type===Tl?p(n,e,r.props.children,l,r.key):c(n,e,r,l);case Ll:return d(n,e=e.get(null===r.key?t:r.key)||null,r,l)}if($u(r)||u(r))return p(n,e=e.get(t)||null,r,l,null);qn(n,r)}return null}function v(t,a,u,i){for(var s=null,c=null,f=a,d=a=0,p=null;null!==f&&d<u.length;d++){f.index>d?(p=f,f=null):p=f.sibling;var v=m(t,f,u[d],i);if(null===v){null===f&&(f=p);break}e&&f&&null===v.alternate&&n(t,f),a=o(v,a,d),null===c?s=v:c.sibling=v,c=v,f=p}if(d===u.length)return r(t,f),s;if(null===f){for(;d<u.length;d++)null!==(f=h(t,u[d],i))&&(a=o(f,a,d),null===c?s=f:c.sibling=f,c=f);return s}for(f=l(t,f);d<u.length;d++)null!==(p=g(f,t,d,u[d],i))&&(e&&null!==p.alternate&&f.delete(null===p.key?d:p.key),a=o(p,a,d),null===c?s=p:c.sibling=p,c=p);return e&&f.forEach((function(e){return n(t,e)})),s}function y(a,i,s,c){var f=u(s);if("function"!=typeof f)throw Error(t(150));if(null==(s=f.call(s)))throw Error(t(151));for(var d=f=null,p=i,v=i=0,y=null,b=s.next();null!==p&&!b.done;v++,b=s.next()){p.index>v?(y=p,p=null):y=p.sibling;var w=m(a,p,b.value,c);if(null===w){null===p&&(p=y);break}e&&p&&null===w.alternate&&n(a,p),i=o(w,i,v),null===d?f=w:d.sibling=w,d=w,p=y}if(b.done)return r(a,p),f;if(null===p){for(;!b.done;v++,b=s.next())null!==(b=h(a,b.value,c))&&(i=o(b,i,v),null===d?f=b:d.sibling=b,d=b);return f}for(p=l(a,p);!b.done;v++,b=s.next())null!==(b=g(p,a,v,b.value,c))&&(e&&null!==b.alternate&&p.delete(null===b.key?v:b.key),i=o(b,i,v),null===d?f=b:d.sibling=b,d=b);return e&&p.forEach((function(e){return n(a,e)})),f}return function(e,l,o,s){var c="object"==typeof o&&null!==o&&o.type===Tl&&null===o.key;c&&(o=o.props.children);var d="object"==typeof o&&null!==o;if(d)switch(o.$$typeof){case zl:e:{for(d=o.key,c=l;null!==c;){if(c.key===d){if(7===c.tag){if(o.type===Tl){r(e,c.sibling),(l=a(c,o.props.children)).return=e,e=l;break e}}else if(c.elementType===o.type){r(e,c.sibling),(l=a(c,o.props)).ref=$n(e,c,o),l.return=e,e=l;break e}r(e,c);break}n(e,c),c=c.sibling}o.type===Tl?((l=nl(o.props.children,e.mode,s,o.key)).return=e,e=l):((s=el(o.type,o.key,o.props,null,e.mode,s)).ref=$n(e,l,o),s.return=e,e=s)}return i(e);case Ll:e:{for(c=o.key;null!==l;){if(l.key===c){if(4===l.tag&&l.stateNode.containerInfo===o.containerInfo&&l.stateNode.implementation===o.implementation){r(e,l.sibling),(l=a(l,o.children||[])).return=e,e=l;break e}r(e,l);break}n(e,l),l=l.sibling}(l=ll(o,e.mode,s)).return=e,e=l}return i(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==l&&6===l.tag?(r(e,l.sibling),(l=a(l,o)).return=e,e=l):(r(e,l),(l=rl(o,e.mode,s)).return=e,e=l),i(e);if($u(o))return v(e,l,o,s);if(u(o))return y(e,l,o,s);if(d&&qn(e,o),void 0===o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(t(152,f(e.type)||"Component"))}return r(e,l)}}function Yn(e){if(e===Yu)throw Error(t(174));return e}function Xn(e,n){switch(mn(Zu,n),mn(Gu,e),mn(Xu,Yu),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:L(null,"");break;default:n=L(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}hn(Xu),mn(Xu,n)}function Gn(e){hn(Xu),hn(Gu),hn(Zu)}function Zn(e){Yn(Zu.current);var n=Yn(Xu.current),t=L(n,e.type);n!==t&&(mn(Gu,e),mn(Xu,t))}function Jn(e){Gu.current===e&&(hn(Xu),hn(Gu))}function et(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!=(64&n.flags))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function nt(e,n){var t=us(5,null,null,0);t.elementType="DELETED",t.type="DELETED",t.stateNode=n,t.return=e,t.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=t,e.lastEffect=t):e.firstEffect=e.lastEffect=t}function tt(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,!0);default:return!1}}function rt(e){if(ti){var n=ni;if(n){var t=n;if(!tt(e,n)){if(!(n=an(t.nextSibling))||!tt(e,n))return e.flags=-1025&e.flags|2,ti=!1,void(ei=e);nt(ei,t)}ei=e,ni=an(n.firstChild)}else e.flags=-1025&e.flags|2,ti=!1,ei=e}}function lt(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ei=e}function at(e){if(e!==ei)return!1;if(!ti)return lt(e),ti=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!rn(n,e.memoizedProps))for(n=ni;n;)nt(e,n),n=an(n.nextSibling);if(lt(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(t(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===n){ni=an(e.nextSibling);break e}n--}else"$"!==r&&"$!"!==r&&"$?"!==r||n++}e=e.nextSibling}ni=null}}else ni=ei?an(e.stateNode.nextSibling):null;return!0}function ot(){ni=ei=null,ti=!1}function ut(){for(var e=0;e<ri.length;e++)ri[e]._workInProgressVersionPrimary=null;ri.length=0}function it(){throw Error(t(321))}function st(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!qo(e[t],n[t]))return!1;return!0}function ct(e,n,r,l,a,o){if(oi=o,ui=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,li.current=null===e||null===e.memoizedState?pi:hi,e=r(l,a),fi){o=0;do{if(fi=!1,!(25>o))throw Error(t(301));o+=1,si=ii=null,n.updateQueue=null,li.current=mi,e=r(l,a)}while(fi)}if(li.current=di,n=null!==ii&&null!==ii.next,oi=0,si=ii=ui=null,ci=!1,n)throw Error(t(300));return e}function ft(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===si?ui.memoizedState=si=e:si=si.next=e,si}function dt(){if(null===ii){var e=ui.alternate;e=null!==e?e.memoizedState:null}else e=ii.next;var n=null===si?ui.memoizedState:si.next;if(null!==n)si=n,ii=e;else{if(null===e)throw Error(t(310));e={memoizedState:(ii=e).memoizedState,baseState:ii.baseState,baseQueue:ii.baseQueue,queue:ii.queue,next:null},null===si?ui.memoizedState=si=e:si=si.next=e}return si}function pt(e,n){return"function"==typeof n?n(e):n}function ht(e,n,r){if(null===(r=(n=dt()).queue))throw Error(t(311));r.lastRenderedReducer=e;var l=ii,a=l.baseQueue,o=r.pending;if(null!==o){if(null!==a){var u=a.next;a.next=o.next,o.next=u}l.baseQueue=a=o,r.pending=null}if(null!==a){a=a.next,l=l.baseState;var i=u=o=null,s=a;do{var c=s.lane;if((oi&c)===c)null!==i&&(i=i.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),l=s.eagerReducer===e?s.eagerState:e(l,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===i?(u=i=f,o=l):i=i.next=f,ui.lanes|=c,Fi|=c}s=s.next}while(null!==s&&s!==a);null===i?o=l:i.next=u,qo(l,n.memoizedState)||(vi=!0),n.memoizedState=l,n.baseState=o,n.baseQueue=i,r.lastRenderedState=l}return[n.memoizedState,r.dispatch]}function mt(e,n,r){if(null===(r=(n=dt()).queue))throw Error(t(311));r.lastRenderedReducer=e;var l=r.dispatch,a=r.pending,o=n.memoizedState;if(null!==a){r.pending=null;var u=a=a.next;do{o=e(o,u.action),u=u.next}while(u!==a);qo(o,n.memoizedState)||(vi=!0),n.memoizedState=o,null===n.baseQueue&&(n.baseState=o),r.lastRenderedState=o}return[o,l]}function gt(e,n,r){var l=n._getVersion;l=l(n._source);var a=n._workInProgressVersionPrimary;if(null!==a?e=a===l:(e=e.mutableReadLanes,(e=(oi&e)===e)&&(n._workInProgressVersionPrimary=l,ri.push(n))),e)return r(n._source);throw ri.push(n),Error(t(350))}function vt(e,n,r,l){var a=zi;if(null===a)throw Error(t(349));var o=n._getVersion,u=o(n._source),i=li.current,s=i.useState((function(){return gt(a,n,r)})),c=s[1],f=s[0];s=si;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,m=d.source;d=d.subscribe;var g=ui;return e.memoizedState={refs:p,source:n,subscribe:l},i.useEffect((function(){p.getSnapshot=r,p.setSnapshot=c;var e=o(n._source);if(!qo(u,e)){e=r(n._source),qo(f,e)||(c(e),e=Sr(g),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var t=a.entanglements,l=e;0<l;){var i=31-to(l),s=1<<i;t[i]|=e,l&=~s}}}),[r,n,l]),i.useEffect((function(){return l(n._source,(function(){var e=p.getSnapshot,t=p.setSnapshot;try{t(e(n._source));var r=Sr(g);a.mutableReadLanes|=r&a.pendingLanes}catch(e){t((function(){throw e}))}}))}),[n,l]),qo(h,r)&&qo(m,n)&&qo(d,l)||((e={pending:null,dispatch:null,lastRenderedReducer:pt,lastRenderedState:f}).dispatch=c=Rt.bind(null,ui,e),s.queue=e,s.baseQueue=null,f=gt(a,n,r),s.memoizedState=s.baseState=f),f}function yt(e,n,t){return vt(dt(),e,n,t)}function bt(e){var n=ft();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:pt,lastRenderedState:e}).dispatch=Rt.bind(null,ui,e),[n.memoizedState,e]}function wt(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=ui.updateQueue)?(n={lastEffect:null},ui.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function kt(e){return e={current:e},ft().memoizedState=e}function St(e){return dt().memoizedState}function Et(e,n,t,r){var l=ft();ui.flags|=e,l.memoizedState=wt(1|n,t,void 0,void 0===r?null:r)}function xt(e,n,t,r){var l=dt();r=void 0===r?null:r;var a=void 0;if(null!==ii){var o=ii.memoizedState;if(a=o.destroy,null!==r&&st(r,o.deps))return void wt(n,t,a,r)}ui.flags|=e,l.memoizedState=wt(1|n,t,a,r)}function Ct(e,n){return Et(516,4,e,n)}function _t(e,n){return xt(516,4,e,n)}function Nt(e,n){return xt(4,2,e,n)}function Pt(e,n){return"function"==typeof n?(e=e(),n(e),function(){n(null)}):null!=n?(e=e(),n.current=e,function(){n.current=null}):void 0}function zt(e,n,t){return t=null!=t?t.concat([e]):null,xt(4,2,Pt.bind(null,n,e),t)}function Lt(e,n){}function Tt(e,n){var t=dt();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&st(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Mt(e,n){var t=dt();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&st(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Ot(e,n){var t=Sn();xn(98>t?98:t,(function(){e(!0)})),xn(97<t?97:t,(function(){var t=ai.transition;ai.transition=1;try{e(!1),n()}finally{ai.transition=t}}))}function Rt(e,n,t){var r=kr(),l=Sr(e),a={lane:l,action:t,eagerReducer:null,eagerState:null,next:null},o=n.pending;if(null===o?a.next=a:(a.next=o.next,o.next=a),n.pending=a,o=e.alternate,e===ui||null!==o&&o===ui)fi=ci=!0;else{if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=n.lastRenderedReducer))try{var u=n.lastRenderedState,i=o(u,t);if(a.eagerReducer=o,a.eagerState=i,qo(i,u))return}catch(e){}Er(e,l,r)}}function Dt(e,n,t,r){n.child=null===e?Ku(n,null,t,r):qu(n,e.child,t,r)}function It(e,n,t,r,l){t=t.render;var a=n.ref;return Mn(n,l),r=ct(e,n,t,r,a,l),null===e||vi?(n.flags|=1,Dt(e,n,r,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-517,e.lanes&=~l,Zt(e,n,l))}function Ft(e,n,t,r,l,a){if(null===e){var o=t.type;return"function"!=typeof o||Zr(o)||void 0!==o.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=el(t.type,null,r,n,n.mode,a)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=o,Ut(e,n,o,r,l,a))}return o=e.child,0==(l&a)&&(l=o.memoizedProps,(t=null!==(t=t.compare)?t:Fe)(l,r)&&e.ref===n.ref)?Zt(e,n,a):(n.flags|=1,(e=Jr(o,r)).ref=n.ref,e.return=n,n.child=e)}function Ut(e,n,t,r,l,a){if(null!==e&&Fe(e.memoizedProps,r)&&e.ref===n.ref){if(vi=!1,0==(a&l))return n.lanes=e.lanes,Zt(e,n,a);0!=(16384&e.flags)&&(vi=!0)}return Bt(e,n,t,r,a)}function Vt(e,n,t){var r=n.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&n.mode))n.memoizedState={baseLanes:0},Tr(0,t);else{if(0==(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e},Tr(0,e),null;n.memoizedState={baseLanes:0},Tr(0,null!==a?a.baseLanes:t)}else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,Tr(0,r);return Dt(e,n,l,t),n.child}function At(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=128)}function Bt(e,n,t,r,l){var a=vn(t)?yu:gu.current;return a=gn(n,a),Mn(n,l),t=ct(e,n,t,r,a,l),null===e||vi?(n.flags|=1,Dt(e,n,t,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-517,e.lanes&=~l,Zt(e,n,l))}function Wt(e,n,t,r,l){if(vn(t)){var a=!0;wn(n)}else a=!1;if(Mn(n,l),null===n.stateNode)null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),Qn(n,t,r),jn(n,t,r,l),r=!0;else if(null===e){var o=n.stateNode,u=n.memoizedProps;o.props=u;var i=o.context,s=t.contextType;s="object"==typeof s&&null!==s?On(s):gn(n,s=vn(t)?yu:gu.current);var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==r||i!==s)&&Hn(n,o,r,s),Qu=!1;var d=n.memoizedState;o.state=d,Vn(n,r,o,l),i=n.memoizedState,u!==r||d!==i||vu.current||Qu?("function"==typeof c&&(Bn(n,t,c,r),i=n.memoizedState),(u=Qu||Wn(n,t,u,r,d,i,s))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(n.flags|=4)):("function"==typeof o.componentDidMount&&(n.flags|=4),n.memoizedProps=r,n.memoizedState=i),o.props=r,o.state=i,o.context=s,r=u):("function"==typeof o.componentDidMount&&(n.flags|=4),r=!1)}else{o=n.stateNode,Dn(e,n),u=n.memoizedProps,s=n.type===n.elementType?u:Pn(n.type,u),o.props=s,f=n.pendingProps,d=o.context,i="object"==typeof(i=t.contextType)&&null!==i?On(i):gn(n,i=vn(t)?yu:gu.current);var p=t.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==f||d!==i)&&Hn(n,o,r,i),Qu=!1,d=n.memoizedState,o.state=d,Vn(n,r,o,l);var h=n.memoizedState;u!==f||d!==h||vu.current||Qu?("function"==typeof p&&(Bn(n,t,p,r),h=n.memoizedState),(s=Qu||Wn(n,t,s,r,d,h,i))?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,i),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,i)),"function"==typeof o.componentDidUpdate&&(n.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(n.flags|=256)):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=256),n.memoizedProps=r,n.memoizedState=h),o.props=r,o.state=h,o.context=i,r=s):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=256),r=!1)}return Qt(e,n,t,r,a,l)}function Qt(e,n,t,r,l,a){At(e,n);var o=0!=(64&n.flags);if(!r&&!o)return l&&kn(n,t,!1),Zt(e,n,a);r=n.stateNode,gi.current=n;var u=o&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&o?(n.child=qu(n,e.child,null,a),n.child=qu(n,null,u,a)):Dt(e,n,u,a),n.memoizedState=r.state,l&&kn(n,t,!0),n.child}function Ht(e){var n=e.stateNode;n.pendingContext?yn(0,n.pendingContext,n.pendingContext!==n.context):n.context&&yn(0,n.context,!1),Xn(e,n.containerInfo)}function jt(e,n,t){var r,l=n.pendingProps,a=Ju.current,o=!1;return(r=0!=(64&n.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(o=!0,n.flags&=-65):null!==e&&null===e.memoizedState||void 0===l.fallback||!0===l.unstable_avoidThisFallback||(a|=1),mn(Ju,1&a),null===e?(void 0!==l.fallback&&rt(n),e=l.children,a=l.fallback,o?(e=$t(n,e,a,t),n.child.memoizedState={baseLanes:t},n.memoizedState=yi,e):"number"==typeof l.unstable_expectedLoadTime?(e=$t(n,e,a,t),n.child.memoizedState={baseLanes:t},n.memoizedState=yi,n.lanes=33554432,e):((t=tl({mode:"visible",children:e},n.mode,t,null)).return=n,n.child=t)):(e.memoizedState,o?(l=Kt(e,n,l.children,l.fallback,t),o=n.child,a=e.child.memoizedState,o.memoizedState=null===a?{baseLanes:t}:{baseLanes:a.baseLanes|t},o.childLanes=e.childLanes&~t,n.memoizedState=yi,l):(t=qt(e,n,l.children,t),n.memoizedState=null,t))}function $t(e,n,t,r){var l=e.mode,a=e.child;return n={mode:"hidden",children:n},0==(2&l)&&null!==a?(a.childLanes=0,a.pendingProps=n):a=tl(n,l,0,null),t=nl(t,l,r,null),a.return=e,t.return=e,a.sibling=t,e.child=a,t}function qt(e,n,t,r){var l=e.child;return e=l.sibling,t=Jr(l,{mode:"visible",children:t}),0==(2&n.mode)&&(t.lanes=r),t.return=n,t.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,n.firstEffect=n.lastEffect=e),n.child=t}function Kt(e,n,t,r,l){var a=n.mode,o=e.child;e=o.sibling;var u={mode:"hidden",children:t};return 0==(2&a)&&n.child!==o?((t=n.child).childLanes=0,t.pendingProps=u,null!==(o=t.lastEffect)?(n.firstEffect=t.firstEffect,n.lastEffect=o,o.nextEffect=null):n.firstEffect=n.lastEffect=null):t=Jr(o,u),null!==e?r=Jr(e,r):(r=nl(r,a,l,null)).flags|=2,r.return=n,t.return=n,t.sibling=r,n.child=t,r}function Yt(e,n){e.lanes|=n;var t=e.alternate;null!==t&&(t.lanes|=n),Tn(e.return,n)}function Xt(e,n,t,r,l,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l,lastEffect:a}:(o.isBackwards=n,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=t,o.tailMode=l,o.lastEffect=a)}function Gt(e,n,t){var r=n.pendingProps,l=r.revealOrder,a=r.tail;if(Dt(e,n,r.children,t),0!=(2&(r=Ju.current)))r=1&r|2,n.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Yt(e,t);else if(19===e.tag)Yt(e,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(mn(Ju,r),0==(2&n.mode))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;null!==t;)null!==(e=t.alternate)&&null===et(e)&&(l=t),t=t.sibling;null===(t=l)?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Xt(n,!1,l,t,a,n.lastEffect);break;case"backwards":for(t=null,l=n.child,n.child=null;null!==l;){if(null!==(e=l.alternate)&&null===et(e)){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Xt(n,!0,t,null,a,n.lastEffect);break;case"together":Xt(n,!1,null,null,void 0,n.lastEffect);break;default:n.memoizedState=null}return n.child}function Zt(e,n,r){if(null!==e&&(n.dependencies=e.dependencies),Fi|=n.lanes,0!=(r&n.childLanes)){if(null!==e&&n.child!==e.child)throw Error(t(153));if(null!==n.child){for(r=Jr(e=n.child,e.pendingProps),n.child=r,r.return=n;null!==e.sibling;)e=e.sibling,(r=r.sibling=Jr(e,e.pendingProps)).return=n;r.sibling=null}return n.child}return null}function Jt(e,n){if(!ti)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function er(e,n,r){var l=n.pendingProps;switch(n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return vn(n.type)&&(hn(vu),hn(gu)),null;case 3:return Gn(),hn(vu),hn(gu),ut(),(l=n.stateNode).pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==e&&null!==e.child||(at(n)?n.flags|=4:l.hydrate||(n.flags|=256)),wi(n),null;case 5:Jn(n);var a=Yn(Zu.current);if(r=n.type,null!==e&&null!=n.stateNode)ki(e,n,r,l,a),e.ref!==n.ref&&(n.flags|=128);else{if(!l){if(null===n.stateNode)throw Error(t(166));return null}if(e=Yn(Xu.current),at(n)){l=n.stateNode,r=n.type;var u=n.memoizedProps;switch(l[su]=n,l[cu]=u,r){case"dialog":$e("cancel",l),$e("close",l);break;case"iframe":case"object":case"embed":$e("load",l);break;case"video":case"audio":for(e=0;e<eu.length;e++)$e(eu[e],l);break;case"source":$e("error",l);break;case"img":case"image":case"link":$e("error",l),$e("load",l);break;case"details":$e("toggle",l);break;case"input":y(l,u),$e("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!u.multiple},$e("invalid",l);break;case"textarea":_(l,u),$e("invalid",l)}for(var i in O(r,u),e=null,u)u.hasOwnProperty(i)&&(a=u[i],"children"===i?"string"==typeof a?l.textContent!==a&&(e=["children",a]):"number"==typeof a&&l.textContent!==""+a&&(e=["children",""+a]):yl.hasOwnProperty(i)&&null!=a&&"onScroll"===i&&$e("scroll",l));switch(r){case"input":h(l),k(l,u,!0);break;case"textarea":h(l),P(l);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(l.onclick=nn)}l=e,n.updateQueue=l,null!==l&&(n.flags|=4)}else{switch(i=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=z(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof l.is?e=i.createElement(r,{is:l.is}):(e=i.createElement(r),"select"===r&&(i=e,l.multiple?i.multiple=!0:l.size&&(i.size=l.size))):e=i.createElementNS(e,r),e[su]=n,e[cu]=l,bi(e,n,!1,!1),n.stateNode=e,i=R(r,l),r){case"dialog":$e("cancel",e),$e("close",e),a=l;break;case"iframe":case"object":case"embed":$e("load",e),a=l;break;case"video":case"audio":for(a=0;a<eu.length;a++)$e(eu[a],e);a=l;break;case"source":$e("error",e),a=l;break;case"img":case"image":case"link":$e("error",e),$e("load",e),a=l;break;case"details":$e("toggle",e),a=l;break;case"input":y(e,l),a=v(e,l),$e("invalid",e);break;case"option":a=E(e,l);break;case"select":e._wrapperState={wasMultiple:!!l.multiple},a=Nl({},l,{value:void 0}),$e("invalid",e);break;case"textarea":_(e,l),a=C(e,l),$e("invalid",e);break;default:a=l}O(r,a);var s=a;for(u in s)if(s.hasOwnProperty(u)){var c=s[u];"style"===u?M(e,c):"dangerouslySetInnerHTML"===u?null!=(c=c?c.__html:void 0)&&Zl(e,c):"children"===u?"string"==typeof c?("textarea"!==r||""!==c)&&Jl(e,c):"number"==typeof c&&Jl(e,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(yl.hasOwnProperty(u)?null!=c&&"onScroll"===u&&$e("scroll",e):null!=c&&o(e,u,c,i))}switch(r){case"input":h(e),k(e,l,!1);break;case"textarea":h(e),P(e);break;case"option":null!=l.value&&e.setAttribute("value",""+d(l.value));break;case"select":e.multiple=!!l.multiple,null!=(u=l.value)?x(e,!!l.multiple,u,!1):null!=l.defaultValue&&x(e,!!l.multiple,l.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=nn)}tn(r,l)&&(n.flags|=4)}null!==n.ref&&(n.flags|=128)}return null;case 6:if(e&&null!=n.stateNode)Si(e,n,e.memoizedProps,l);else{if("string"!=typeof l&&null===n.stateNode)throw Error(t(166));r=Yn(Zu.current),Yn(Xu.current),at(n)?(l=n.stateNode,r=n.memoizedProps,l[su]=n,l.nodeValue!==r&&(n.flags|=4)):((l=(9===r.nodeType?r:r.ownerDocument).createTextNode(l))[su]=n,n.stateNode=l)}return null;case 13:return hn(Ju),l=n.memoizedState,0!=(64&n.flags)?(n.lanes=r,n):(l=null!==l,r=!1,null===e?void 0!==n.memoizedProps.fallback&&at(n):r=null!==e.memoizedState,l&&!r&&0!=(2&n.mode)&&(null===e&&!0!==n.memoizedProps.unstable_avoidThisFallback||0!=(1&Ju.current)?0===Ri&&(Ri=3):(0!==Ri&&3!==Ri||(Ri=4),null===zi||0==(134217727&Fi)&&0==(134217727&Ui)||Nr(zi,Ti))),(l||r)&&(n.flags|=4),null);case 4:return Gn(),wi(n),null===e&&qe(n.stateNode.containerInfo),null;case 10:return Ln(n),null;case 19:if(hn(Ju),null===(l=n.memoizedState))return null;if(u=0!=(64&n.flags),null===(i=l.rendering))if(u)Jt(l,!1);else{if(0!==Ri||null!==e&&0!=(64&e.flags))for(e=n.child;null!==e;){if(null!==(i=et(e))){for(n.flags|=64,Jt(l,!1),null!==(u=i.updateQueue)&&(n.updateQueue=u,n.flags|=4),null===l.lastEffect&&(n.firstEffect=null),n.lastEffect=l.lastEffect,l=r,r=n.child;null!==r;)e=l,(u=r).flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,null===(i=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=i.childLanes,u.lanes=i.lanes,u.child=i.child,u.memoizedProps=i.memoizedProps,u.memoizedState=i.memoizedState,u.updateQueue=i.updateQueue,u.type=i.type,e=i.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return mn(Ju,1&Ju.current|2),n.child}e=e.sibling}null!==l.tail&&Fu()>Wi&&(n.flags|=64,u=!0,Jt(l,!1),n.lanes=33554432)}else{if(!u)if(null!==(e=et(i))){if(n.flags|=64,u=!0,null!==(r=e.updateQueue)&&(n.updateQueue=r,n.flags|=4),Jt(l,!0),null===l.tail&&"hidden"===l.tailMode&&!i.alternate&&!ti)return null!==(n=n.lastEffect=l.lastEffect)&&(n.nextEffect=null),null}else 2*Fu()-l.renderingStartTime>Wi&&1073741824!==r&&(n.flags|=64,u=!0,Jt(l,!1),n.lanes=33554432);l.isBackwards?(i.sibling=n.child,n.child=i):(null!==(r=l.last)?r.sibling=i:n.child=i,l.last=i)}return null!==l.tail?(r=l.tail,l.rendering=r,l.tail=r.sibling,l.lastEffect=n.lastEffect,l.renderingStartTime=Fu(),r.sibling=null,n=Ju.current,mn(Ju,u?1&n|2:1&n),r):null;case 23:case 24:return Mi=Oi.current,hn(Oi),null!==e&&null!==e.memoizedState!=(null!==n.memoizedState)&&"unstable-defer-without-hiding"!==l.mode&&(n.flags|=4),null}throw Error(t(156,n.tag))}function nr(e,n){switch(e.tag){case 1:return vn(e.type)&&(hn(vu),hn(gu)),4096&(n=e.flags)?(e.flags=-4097&n|64,e):null;case 3:if(Gn(),hn(vu),hn(gu),ut(),0!=(64&(n=e.flags)))throw Error(t(285));return e.flags=-4097&n|64,e;case 5:return Jn(e),null;case 13:return hn(Ju),4096&(n=e.flags)?(e.flags=-4097&n|64,e):null;case 19:return hn(Ju),null;case 4:return Gn(),null;case 10:return Ln(e),null;case 23:case 24:return Mi=Oi.current,hn(Oi),null;default:return null}}function tr(e,n){try{var t="",r=n;do{t+=c(r),r=r.return}while(r);var l=t}catch(e){l="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:n,stack:l}}function rr(e,n){try{console.error(n.value)}catch(e){setTimeout((function(){throw e}))}}function lr(e,n,t){(t=In(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Hi||(Hi=!0,ji=r),rr(0,n)},t}function ar(e,n,t){(t=In(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=n.value;t.payload=function(){return rr(0,n),r(l)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){"function"!=typeof r&&(null===$i?$i=new Set([this]):$i.add(this),rr(0,n));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),t}function or(e){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Kr(e,n)}else n.current=null}function ur(e,n){switch(n.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&n.flags&&null!==e){var r=e.memoizedProps,l=e.memoizedState;n=(e=n.stateNode).getSnapshotBeforeUpdate(n.elementType===n.type?r:Pn(n.type,r),l),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:return void(256&n.flags&&ln(n.stateNode.containerInfo))}throw Error(t(163))}function ir(e,n,r,l){switch(r.tag){case 0:case 11:case 15:case 22:if(null!==(n=null!==(n=r.updateQueue)?n.lastEffect:null)){e=n=n.next;do{3==(3&e.tag)&&(l=e.create,e.destroy=l()),e=e.next}while(e!==n)}if(null!==(n=null!==(n=r.updateQueue)?n.lastEffect:null)){e=n=n.next;do{var a=e;l=a.next,0!=(4&(a=a.tag))&&0!=(1&a)&&(jr(r,e),Hr(r,e)),e=l}while(e!==n)}return;case 1:return e=r.stateNode,4&r.flags&&(null===n?e.componentDidMount():(l=r.elementType===r.type?n.memoizedProps:Pn(r.type,n.memoizedProps),e.componentDidUpdate(l,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(n=r.updateQueue)&&An(r,n,e));case 3:if(null!==(n=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 5:case 1:e=r.child.stateNode}An(r,n,e)}return;case 5:return e=r.stateNode,void(null===n&&4&r.flags&&tn(r.type,r.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&ne(r)))))}throw Error(t(163))}function sr(e,n){for(var t=e;;){if(5===t.tag){var r=t.stateNode;if(n)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=t.stateNode;var l=t.memoizedProps.style;l=null!=l&&l.hasOwnProperty("display")?l.display:null,r.style.display=T("display",l)}}else if(6===t.tag)t.stateNode.nodeValue=n?"":t.memoizedProps;else if((23!==t.tag&&24!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}}function cr(e,n,t){if(wu&&"function"==typeof wu.onCommitFiberUnmount)try{wu.onCommitFiberUnmount(bu,n)}catch(e){}switch(n.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=n.updateQueue)&&null!==(e=e.lastEffect)){t=e=e.next;do{var r=t,l=r.destroy;if(r=r.tag,void 0!==l)if(0!=(4&r))jr(n,t);else{r=n;try{l()}catch(e){Kr(r,e)}}t=t.next}while(t!==e)}break;case 1:if(or(n),"function"==typeof(e=n.stateNode).componentWillUnmount)try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(e){Kr(n,e)}break;case 5:or(n);break;case 4:gr(e,n)}}function fr(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function dr(e){return 5===e.tag||3===e.tag||4===e.tag}function pr(e){e:{for(var n=e.return;null!==n;){if(dr(n))break e;n=n.return}throw Error(t(160))}var r=n;switch(n=r.stateNode,r.tag){case 5:var l=!1;break;case 3:case 4:n=n.containerInfo,l=!0;break;default:throw Error(t(161))}16&r.flags&&(Jl(n,""),r.flags&=-17);e:n:for(r=e;;){for(;null===r.sibling;){if(null===r.return||dr(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.flags)continue n;if(null===r.child||4===r.tag)continue n;r.child.return=r,r=r.child}if(!(2&r.flags)){r=r.stateNode;break e}}l?hr(e,r,n):mr(e,r,n)}function hr(e,n,t){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!=(t=t._reactRootContainer)||null!==n.onclick||(n.onclick=nn));else if(4!==r&&null!==(e=e.child))for(hr(e,n,t),e=e.sibling;null!==e;)hr(e,n,t),e=e.sibling}function mr(e,n,t){var r=e.tag,l=5===r||6===r;if(l)e=l?e.stateNode:e.stateNode.instance,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(mr(e,n,t),e=e.sibling;null!==e;)mr(e,n,t),e=e.sibling}function gr(e,n,r){r=n;for(var l,a,o=!1;;){if(!o){l=r.return;e:for(;;){if(null===l)throw Error(t(160));switch(a=l.stateNode,l.tag){case 5:l=a,a=!1;break e;case 3:case 4:l=a.containerInfo,a=!0;break e}l=l.return}o=!0}if(5===r.tag||6===r.tag){e:for(var u=e,i=r,s=i;;)if(cr(u,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===i)break e;for(;null===s.sibling;){if(null===s.return||s.return===i)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}a?(u=l,i=r.stateNode,8===u.nodeType?u.parentNode.removeChild(i):u.removeChild(i)):l.removeChild(r.stateNode)}else if(4===r.tag){if(null!==r.child){l=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(cr(e,r),null!==r.child){r.child.return=r,r=r.child;continue}if(r===n)break;for(;null===r.sibling;){if(null===r.return||r.return===n)return;4===(r=r.return).tag&&(o=!1)}r.sibling.return=r.return,r=r.sibling}}function vr(e,n){switch(n.tag){case 0:case 11:case 14:case 15:case 22:var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{3==(3&l.tag)&&(e=l.destroy,l.destroy=void 0,void 0!==e&&e()),l=l.next}while(l!==r)}return;case 1:case 12:case 17:return;case 5:if(null!=(r=n.stateNode)){l=n.memoizedProps;var a=null!==e?e.memoizedProps:l;e=n.type;var u=n.updateQueue;if(n.updateQueue=null,null!==u){for(r[cu]=l,"input"===e&&"radio"===l.type&&null!=l.name&&b(r,l),R(e,a),n=R(e,l),a=0;a<u.length;a+=2){var i=u[a],s=u[a+1];"style"===i?M(r,s):"dangerouslySetInnerHTML"===i?Zl(r,s):"children"===i?Jl(r,s):o(r,i,s,n)}switch(e){case"input":w(r,l);break;case"textarea":N(r,l);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!l.multiple,null!=(u=l.value)?x(r,!!l.multiple,u,!1):e!==!!l.multiple&&(null!=l.defaultValue?x(r,!!l.multiple,l.defaultValue,!0):x(r,!!l.multiple,l.multiple?[]:"",!1))}}}return;case 6:if(null===n.stateNode)throw Error(t(162));return void(n.stateNode.nodeValue=n.memoizedProps);case 3:return void((r=n.stateNode).hydrate&&(r.hydrate=!1,ne(r.containerInfo)));case 13:return null!==n.memoizedState&&(Bi=Fu(),sr(n.child,!0)),void yr(n);case 19:return void yr(n);case 23:case 24:return void sr(n,null!==n.memoizedState)}throw Error(t(163))}function yr(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new xi),n.forEach((function(n){var r=Xr.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))}))}}function br(e,n){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(n=n.memoizedState)&&null===n.dehydrated}function wr(){Wi=Fu()+500}function kr(){return 0!=(48&Pi)?Fu():-1!==ns?ns:ns=Fu()}function Sr(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Sn()?1:2;if(0===ts&&(ts=Ii),0!==Uu.transition){0!==rs&&(rs=null!==Ai?Ai.pendingLanes:0),e=ts;var n=4186112&~rs;return 0==(n&=-n)&&0==(n=(e=4186112&~e)&-e)&&(n=8192),n}return e=Sn(),e=se(0!=(4&Pi)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ts)}function Er(e,n,r){if(50<Ji)throw Ji=0,es=null,Error(t(185));if(null===(e=xr(e,n)))return null;de(e,n,r),e===zi&&(Ui|=n,4===Ri&&Nr(e,Ti));var l=Sn();1===n?0!=(8&Pi)&&0==(48&Pi)?Pr(e):(Cr(e,r),0===Pi&&(wr(),_n())):(0==(4&Pi)||98!==l&&99!==l||(null===Zi?Zi=new Set([e]):Zi.add(e)),Cr(e,r)),Ai=e}function xr(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}function Cr(e,n){for(var t=e.callbackNode,r=e.suspendedLanes,l=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var u=31-to(o),i=1<<u,s=a[u];if(-1===s){if(0==(i&r)||0!=(i&l)){s=n,ae(i);var c=no;a[u]=10<=c?s+250:6<=c?s+5e3:-1}}else s<=n&&(e.expiredLanes|=i);o&=~i}if(r=ue(e,e===zi?Ti:0),n=no,0===r)null!==t&&(t!==Lu&&Eu(t),e.callbackNode=null,e.callbackPriority=0);else{if(null!==t){if(e.callbackPriority===n)return;t!==Lu&&Eu(t)}15===n?(t=Pr.bind(null,e),null===Ou?(Ou=[t],Ru=Su(Cu,Nn)):Ou.push(t),t=Lu):t=14===n?Cn(99,Pr.bind(null,e)):Cn(t=oe(n),_r.bind(null,e)),e.callbackPriority=n,e.callbackNode=t}}function _r(e){if(ns=-1,rs=ts=0,0!=(48&Pi))throw Error(t(327));var n=e.callbackNode;if(Qr()&&e.callbackNode!==n)return null;var r=ue(e,e===zi?Ti:0);if(0===r)return null;var l=r,a=Pi;Pi|=16;var o=Rr();for(zi===e&&Ti===l||(wr(),Mr(e,l));;)try{Fr();break}catch(n){Or(e,n)}if(zn(),_i.current=o,Pi=a,null!==Li?l=0:(zi=null,Ti=0,l=Ri),0!=(Ii&Ui))Mr(e,0);else if(0!==l){if(2===l&&(Pi|=64,e.hydrate&&(e.hydrate=!1,ln(e.containerInfo)),0!==(r=ie(e))&&(l=Dr(e,r))),1===l)throw n=Di,Mr(e,0),Nr(e,r),Cr(e,Fu()),n;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,l){case 0:case 1:throw Error(t(345));case 2:case 5:Ar(e);break;case 3:if(Nr(e,r),(62914560&r)===r&&10<(l=Bi+500-Fu())){if(0!==ue(e,0))break;if(((a=e.suspendedLanes)&r)!==r){kr(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=au(Ar.bind(null,e),l);break}Ar(e);break;case 4:if(Nr(e,r),(4186112&r)===r)break;for(l=e.eventTimes,a=-1;0<r;){var u=31-to(r);o=1<<u,(u=l[u])>a&&(a=u),r&=~o}if(r=a,10<(r=(120>(r=Fu()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ci(r/1960))-r)){e.timeoutHandle=au(Ar.bind(null,e),r);break}Ar(e);break;default:throw Error(t(329))}}return Cr(e,Fu()),e.callbackNode===n?_r.bind(null,e):null}function Nr(e,n){for(n&=~Vi,n&=~Ui,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-to(n),r=1<<t;e[t]=-1,n&=~r}}function Pr(e){if(0!=(48&Pi))throw Error(t(327));if(Qr(),e===zi&&0!=(e.expiredLanes&Ti)){var n=Ti,r=Dr(e,n);0!=(Ii&Ui)&&(r=Dr(e,n=ue(e,n)))}else r=Dr(e,n=ue(e,0));if(0!==e.tag&&2===r&&(Pi|=64,e.hydrate&&(e.hydrate=!1,ln(e.containerInfo)),0!==(n=ie(e))&&(r=Dr(e,n))),1===r)throw r=Di,Mr(e,0),Nr(e,n),Cr(e,Fu()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=n,Ar(e),Cr(e,Fu()),null}function zr(e,n){var t=Pi;Pi|=1;try{return e(n)}finally{0===(Pi=t)&&(wr(),_n())}}function Lr(e,n){var t=Pi;Pi&=-2,Pi|=8;try{return e(n)}finally{0===(Pi=t)&&(wr(),_n())}}function Tr(e,n){mn(Oi,Mi),Mi|=n,Ii|=n}function Mr(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,ou(t)),null!==Li)for(t=Li.return;null!==t;){var r=t;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&(hn(vu),hn(gu));break;case 3:Gn(),hn(vu),hn(gu),ut();break;case 5:Jn(r);break;case 4:Gn();break;case 13:case 19:hn(Ju);break;case 10:Ln(r);break;case 23:case 24:Mi=Oi.current,hn(Oi)}t=t.return}zi=e,Li=Jr(e.current,null),Ti=Mi=Ii=n,Ri=0,Di=null,Vi=Ui=Fi=0}function Or(e,n){for(;;){var t=Li;try{if(zn(),li.current=di,ci){for(var r=ui.memoizedState;null!==r;){var l=r.queue;null!==l&&(l.pending=null),r=r.next}ci=!1}if(oi=0,si=ii=ui=null,fi=!1,Ni.current=null,null===t||null===t.return){Ri=1,Di=n,Li=null;break}e:{var a=e,o=t.return,u=t,i=n;if(n=Ti,u.flags|=2048,u.firstEffect=u.lastEffect=null,null!==i&&"object"==typeof i&&"function"==typeof i.then){var s=i;if(0==(2&u.mode)){var c=u.alternate;c?(u.updateQueue=c.updateQueue,u.memoizedState=c.memoizedState,u.lanes=c.lanes):(u.updateQueue=null,u.memoizedState=null)}var d=0!=(1&Ju.current),p=o;do{var h;if(h=13===p.tag){var m=p.memoizedState;if(null!==m)h=null!==m.dehydrated;else{var g=p.memoizedProps;h=void 0!==g.fallback&&(!0!==g.unstable_avoidThisFallback||!d)}}if(h){var v=p.updateQueue;if(null===v){var y=new Set;y.add(s),p.updateQueue=y}else v.add(s);if(0==(2&p.mode)){if(p.flags|=64,u.flags|=16384,u.flags&=-2981,1===u.tag)if(null===u.alternate)u.tag=17;else{var b=In(-1,1);b.tag=2,Fn(u,b)}u.lanes|=1;break e}i=void 0,u=n;var w=a.pingCache;if(null===w?(w=a.pingCache=new Ei,i=new Set,w.set(s,i)):void 0===(i=w.get(s))&&(i=new Set,w.set(s,i)),!i.has(u)){i.add(u);var k=Yr.bind(null,a,s,u);s.then(k,k)}p.flags|=4096,p.lanes=n;break e}p=p.return}while(null!==p);i=Error((f(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ri&&(Ri=2),i=tr(i,u),p=o;do{switch(p.tag){case 3:a=i,p.flags|=4096,n&=-n,p.lanes|=n,Un(p,lr(0,a,n));break e;case 1:a=i;var S=p.type,E=p.stateNode;if(0==(64&p.flags)&&("function"==typeof S.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===$i||!$i.has(E)))){p.flags|=4096,n&=-n,p.lanes|=n,Un(p,ar(p,a,n));break e}}p=p.return}while(null!==p)}Vr(t)}catch(e){n=e,Li===t&&null!==t&&(Li=t=t.return);continue}break}}function Rr(){var e=_i.current;return _i.current=di,null===e?di:e}function Dr(e,n){var r=Pi;Pi|=16;var l=Rr();for(zi===e&&Ti===n||Mr(e,n);;)try{Ir();break}catch(n){Or(e,n)}if(zn(),Pi=r,_i.current=l,null!==Li)throw Error(t(261));return zi=null,Ti=0,Ri}function Ir(){for(;null!==Li;)Ur(Li)}function Fr(){for(;null!==Li&&!Tu();)Ur(Li)}function Ur(e){var n=os(e.alternate,e,Mi);e.memoizedProps=e.pendingProps,null===n?Vr(e):Li=n,Ni.current=null}function Vr(e){var n=e;do{var t=n.alternate;if(e=n.return,0==(2048&n.flags)){if(null!==(t=er(t,n,Mi)))return void(Li=t);if(24!==(t=n).tag&&23!==t.tag||null===t.memoizedState||0!=(1073741824&Mi)||0==(4&t.mode)){for(var r=0,l=t.child;null!==l;)r|=l.lanes|l.childLanes,l=l.sibling;t.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=n.firstEffect),null!==n.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=n.firstEffect),e.lastEffect=n.lastEffect),1<n.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=n:e.firstEffect=n,e.lastEffect=n))}else{if(null!==(t=nr(n)))return t.flags&=2047,void(Li=t);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(n=n.sibling))return void(Li=n);Li=n=e}while(null!==n);0===Ri&&(Ri=5)}function Ar(e){var n=Sn();return xn(99,Br.bind(null,e,n)),null}function Br(e,n){do{Qr()}while(null!==Ki);if(0!=(48&Pi))throw Error(t(327));var r=e.finishedWork;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(t(177));e.callbackNode=null;var l=r.lanes|r.childLanes,a=l,o=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var u=e.eventTimes,i=e.expirationTimes;0<o;){var s=31-to(o),c=1<<s;a[s]=0,u[s]=-1,i[s]=-1,o&=~c}if(null!==Zi&&0==(24&l)&&Zi.has(e)&&Zi.delete(e),e===zi&&(Li=zi=null,Ti=0),1<r.flags?null!==r.lastEffect?(r.lastEffect.nextEffect=r,l=r.firstEffect):l=r:l=r.firstEffect,null!==l){if(a=Pi,Pi|=32,Ni.current=null,ru=uo,We(u=Be())){if("selectionStart"in u)i={start:u.selectionStart,end:u.selectionEnd};else e:if(i=(i=u.ownerDocument)&&i.defaultView||window,(c=i.getSelection&&i.getSelection())&&0!==c.rangeCount){i=c.anchorNode,o=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{i.nodeType,s.nodeType}catch(e){i=null;break e}var f=0,d=-1,p=-1,h=0,m=0,g=u,v=null;n:for(;;){for(var y;g!==i||0!==o&&3!==g.nodeType||(d=f+o),g!==s||0!==c&&3!==g.nodeType||(p=f+c),3===g.nodeType&&(f+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===u)break n;if(v===i&&++h===o&&(d=f),v===s&&++m===c&&(p=f),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}i=-1===d||-1===p?null:{start:d,end:p}}else i=null;i=i||{start:0,end:0}}else i=null;lu={focusedElem:u,selectionRange:i},uo=!1,ls=null,as=!1,Qi=l;do{try{Wr()}catch(e){if(null===Qi)throw Error(t(330));Kr(Qi,e),Qi=Qi.nextEffect}}while(null!==Qi);ls=null,Qi=l;do{try{for(u=e;null!==Qi;){var b=Qi.flags;if(16&b&&Jl(Qi.stateNode,""),128&b){var w=Qi.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&b){case 2:pr(Qi),Qi.flags&=-3;break;case 6:pr(Qi),Qi.flags&=-3,vr(Qi.alternate,Qi);break;case 1024:Qi.flags&=-1025;break;case 1028:Qi.flags&=-1025,vr(Qi.alternate,Qi);break;case 4:vr(Qi.alternate,Qi);break;case 8:gr(u,i=Qi);var S=i.alternate;fr(i),null!==S&&fr(S)}Qi=Qi.nextEffect}}catch(e){if(null===Qi)throw Error(t(330));Kr(Qi,e),Qi=Qi.nextEffect}}while(null!==Qi);if(k=lu,w=Be(),b=k.focusedElem,u=k.selectionRange,w!==b&&b&&b.ownerDocument&&Ae(b.ownerDocument.documentElement,b)){null!==u&&We(b)&&(w=u.start,void 0===(k=u.end)&&(k=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(k,b.value.length)):(k=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),i=b.textContent.length,S=Math.min(u.start,i),u=void 0===u.end?S:Math.min(u.end,i),!k.extend&&S>u&&(i=u,u=S,S=i),i=Ve(b,S),o=Ve(b,u),i&&o&&(1!==k.rangeCount||k.anchorNode!==i.node||k.anchorOffset!==i.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&((w=w.createRange()).setStart(i.node,i.offset),k.removeAllRanges(),S>u?(k.addRange(w),k.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),k.addRange(w))))),w=[];for(k=b;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(k=w[b]).element.scrollLeft=k.left,k.element.scrollTop=k.top}uo=!!ru,lu=ru=null,e.current=r,Qi=l;do{try{for(b=e;null!==Qi;){var E=Qi.flags;if(36&E&&ir(b,Qi.alternate,Qi),128&E){w=void 0;var x=Qi.ref;if(null!==x){var C=Qi.stateNode;Qi.tag,w=C,"function"==typeof x?x(w):x.current=w}}Qi=Qi.nextEffect}}catch(e){if(null===Qi)throw Error(t(330));Kr(Qi,e),Qi=Qi.nextEffect}}while(null!==Qi);Qi=null,Mu(),Pi=a}else e.current=r;if(qi)qi=!1,Ki=e,Yi=n;else for(Qi=l;null!==Qi;)n=Qi.nextEffect,Qi.nextEffect=null,8&Qi.flags&&((E=Qi).sibling=null,E.stateNode=null),Qi=n;if(0===(l=e.pendingLanes)&&($i=null),1===l?e===es?Ji++:(Ji=0,es=e):Ji=0,r=r.stateNode,wu&&"function"==typeof wu.onCommitFiberRoot)try{wu.onCommitFiberRoot(bu,r,void 0,64==(64&r.current.flags))}catch(e){}if(Cr(e,Fu()),Hi)throw Hi=!1,e=ji,ji=null,e;return 0!=(8&Pi)||_n(),null}function Wr(){for(;null!==Qi;){var e=Qi.alternate;as||null===ls||(0!=(8&Qi.flags)?$(Qi,ls)&&(as=!0):13===Qi.tag&&br(e,Qi)&&$(Qi,ls)&&(as=!0));var n=Qi.flags;0!=(256&n)&&ur(e,Qi),0==(512&n)||qi||(qi=!0,Cn(97,(function(){return Qr(),null}))),Qi=Qi.nextEffect}}function Qr(){if(90!==Yi){var e=97<Yi?97:Yi;return Yi=90,xn(e,$r)}return!1}function Hr(e,n){Xi.push(n,e),qi||(qi=!0,Cn(97,(function(){return Qr(),null})))}function jr(e,n){Gi.push(n,e),qi||(qi=!0,Cn(97,(function(){return Qr(),null})))}function $r(){if(null===Ki)return!1;var e=Ki;if(Ki=null,0!=(48&Pi))throw Error(t(331));var n=Pi;Pi|=32;var r=Gi;Gi=[];for(var l=0;l<r.length;l+=2){var a=r[l],o=r[l+1],u=a.destroy;if(a.destroy=void 0,"function"==typeof u)try{u()}catch(e){if(null===o)throw Error(t(330));Kr(o,e)}}for(r=Xi,Xi=[],l=0;l<r.length;l+=2){a=r[l],o=r[l+1];try{var i=a.create;a.destroy=i()}catch(e){if(null===o)throw Error(t(330));Kr(o,e)}}for(i=e.current.firstEffect;null!==i;)e=i.nextEffect,i.nextEffect=null,8&i.flags&&(i.sibling=null,i.stateNode=null),i=e;return Pi=n,_n(),!0}function qr(e,n,t){Fn(e,n=lr(0,n=tr(t,n),1)),n=kr(),null!==(e=xr(e,1))&&(de(e,1,n),Cr(e,n))}function Kr(e,n){if(3===e.tag)qr(e,e,n);else for(var t=e.return;null!==t;){if(3===t.tag){qr(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$i||!$i.has(r))){var l=ar(t,e=tr(n,e),1);if(Fn(t,l),l=kr(),null!==(t=xr(t,1)))de(t,1,l),Cr(t,l);else if("function"==typeof r.componentDidCatch&&(null===$i||!$i.has(r)))try{r.componentDidCatch(n,e)}catch(e){}break}}t=t.return}}function Yr(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=kr(),e.pingedLanes|=e.suspendedLanes&t,zi===e&&(Ti&t)===t&&(4===Ri||3===Ri&&(62914560&Ti)===Ti&&500>Fu()-Bi?Mr(e,0):Vi|=t),Cr(e,n)}function Xr(e,n){var t=e.stateNode;null!==t&&t.delete(n),0==(n=0)&&(0==(2&(n=e.mode))?n=1:0==(4&n)?n=99===Sn()?1:2:(0===ts&&(ts=Ii),0===(n=ce(62914560&~ts))&&(n=4194304))),t=kr(),null!==(e=xr(e,n))&&(de(e,n,t),Cr(e,t))}function Gr(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Zr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Jr(e,n){var t=e.alternate;return null===t?((t=us(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.nextEffect=null,t.firstEffect=null,t.lastEffect=null),t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function el(e,n,r,l,a,o){var u=2;if(l=e,"function"==typeof e)Zr(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case Tl:return nl(r.children,a,o,n);case Ql:u=8,a|=16;break;case Ml:u=8,a|=1;break;case Ol:return(e=us(12,r,n,8|a)).elementType=Ol,e.type=Ol,e.lanes=o,e;case Fl:return(e=us(13,r,n,a)).type=Fl,e.elementType=Fl,e.lanes=o,e;case Ul:return(e=us(19,r,n,a)).elementType=Ul,e.lanes=o,e;case Hl:return tl(r,a,o,n);case jl:return(e=us(24,r,n,a)).elementType=jl,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Rl:u=10;break e;case Dl:u=9;break e;case Il:u=11;break e;case Vl:u=14;break e;case Al:u=16,l=null;break e;case Bl:u=22;break e}throw Error(t(130,null==e?e:typeof e,""))}return(n=us(u,r,n,a)).elementType=e,n.type=l,n.lanes=o,n}function nl(e,n,t,r){return(e=us(7,e,r,n)).lanes=t,e}function tl(e,n,t,r){return(e=us(23,e,r,n)).elementType=Hl,e.lanes=t,e}function rl(e,n,t){return(e=us(6,e,null,n)).lanes=t,e}function ll(e,n,t){return(n=us(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function al(e,n,t){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=t,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=fe(0),this.expirationTimes=fe(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fe(0),this.mutableSourceEagerHydrationData=null}function ol(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ll,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}function ul(e,n,r,l){var a=n.current,o=kr(),u=Sr(a);e:if(r){n:{if(W(r=r._reactInternals)!==r||1!==r.tag)throw Error(t(170));var i=r;do{switch(i.tag){case 3:i=i.stateNode.context;break n;case 1:if(vn(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break n}}i=i.return}while(null!==i);throw Error(t(171))}if(1===r.tag){var s=r.type;if(vn(s)){r=bn(r,s,i);break e}}r=i}else r=mu;return null===n.context?n.context=r:n.pendingContext=r,(n=In(o,u)).payload={element:e},null!==(l=void 0===l?null:l)&&(n.callback=l),Fn(a,n),Er(a,u,o),u}function il(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function sl(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function cl(e,n){sl(e,n),(e=e.alternate)&&sl(e,n)}function fl(e){return null===(e=j(e))?null:e.stateNode}function dl(e){return null}function pl(e,n,t){var r=null!=t&&null!=t.hydrationOptions&&t.hydrationOptions.mutableSources||null;if(t=new al(e,n,null!=t&&!0===t.hydrate),n=us(3,null,null,2===n?7:1===n?3:0),t.current=n,n.stateNode=t,Rn(n),e[fu]=t.current,qe(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var l=(n=r[e])._getVersion;l=l(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l)}this._internalRoot=t}function hl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ml(e,n,t,r,l){var a=t._reactRootContainer;if(a){var o=a._internalRoot;if("function"==typeof l){var u=l;l=function(){var e=il(o);u.call(e)}}ul(n,o,e,l)}else{if(a=t._reactRootContainer=function(e,n){if(n||(n=!(!(n=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==n.nodeType||!n.hasAttribute("data-reactroot"))),!n)for(var t;t=e.lastChild;)e.removeChild(t);return new pl(e,0,n?{hydrate:!0}:void 0)}(t,r),o=a._internalRoot,"function"==typeof l){var i=l;l=function(){var e=il(o);i.call(e)}}Lr((function(){ul(n,o,e,l)}))}return il(o)}function gl(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!hl(n))throw Error(t(200));return ol(e,n,null,r)}if(!n)throw Error(t(227));var vl=new Set,yl={},bl=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),wl=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,kl=Object.prototype.hasOwnProperty,Sl={},El={},xl={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){xl[e]=new a(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];xl[n]=new a(n,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){xl[e]=new a(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){xl[e]=new a(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){xl[e]=new a(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){xl[e]=new a(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){xl[e]=new a(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){xl[e]=new a(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){xl[e]=new a(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Cl=/[\-:]([a-z])/g,_l=function(e){return e[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var n=e.replace(Cl,_l);xl[n]=new a(n,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var n=e.replace(Cl,_l);xl[n]=new a(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var n=e.replace(Cl,_l);xl[n]=new a(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){xl[e]=new a(e,1,!1,e.toLowerCase(),null,!1,!1)})),xl.xlinkHref=new a("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){xl[e]=new a(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Nl=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,Pl=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,zl=60103,Ll=60106,Tl=60107,Ml=60108,Ol=60114,Rl=60109,Dl=60110,Il=60112,Fl=60113,Ul=60120,Vl=60115,Al=60116,Bl=60121,Wl=60128,Ql=60129,Hl=60130,jl=60131;if("function"==typeof Symbol&&Symbol.for){var $l=Symbol.for;zl=$l("react.element"),Ll=$l("react.portal"),Tl=$l("react.fragment"),Ml=$l("react.strict_mode"),Ol=$l("react.profiler"),Rl=$l("react.provider"),Dl=$l("react.context"),Il=$l("react.forward_ref"),Fl=$l("react.suspense"),Ul=$l("react.suspense_list"),Vl=$l("react.memo"),Al=$l("react.lazy"),Bl=$l("react.block"),$l("react.scope"),Wl=$l("react.opaque.id"),Ql=$l("react.debug_trace_mode"),Hl=$l("react.offscreen"),jl=$l("react.legacy_hidden")}var ql,Kl,Yl,Xl="function"==typeof Symbol&&Symbol.iterator,Gl=!1,Zl=(Yl=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((Kl=Kl||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Kl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction((function(){return Yl(e,n)}))}:Yl),Jl=function(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n},ea={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,gridArea:!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},na=["Webkit","ms","Moz","O"];Object.keys(ea).forEach((function(e){na.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),ea[n]=ea[e]}))}));var ta=Nl({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),ra=null,la=null,aa=null,oa=function(e,n){return e(n)},ua=function(e,n,t,r,l){return e(n,t,r,l)},ia=function(){},sa=oa,ca=!1,fa=!1,da=!1;if(bl)try{var pa={};Object.defineProperty(pa,"passive",{get:function(){da=!0}}),window.addEventListener("test",pa,pa),window.removeEventListener("test",pa,pa)}catch(Yl){da=!1}var ha=function(e,n,t,r,l,a,o,u,i){var s=Array.prototype.slice.call(arguments,3);try{n.apply(t,s)}catch(e){this.onError(e)}},ma=!1,ga=null,va=!1,ya=null,ba={onError:function(e){ma=!0,ga=e}},wa=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,ka=wa.unstable_cancelCallback,Sa=wa.unstable_now,Ea=wa.unstable_scheduleCallback,xa=wa.unstable_shouldYield,Ca=wa.unstable_requestPaint,_a=wa.unstable_runWithPriority,Na=wa.unstable_getCurrentPriorityLevel,Pa=wa.unstable_ImmediatePriority,za=wa.unstable_UserBlockingPriority,La=wa.unstable_NormalPriority,Ta=wa.unstable_LowPriority,Ma=wa.unstable_IdlePriority,Oa=!1,Ra=[],Da=null,Ia=null,Fa=null,Ua=new Map,Va=new Map,Aa=[],Ba="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "),Wa={animationend:te("Animation","AnimationEnd"),animationiteration:te("Animation","AnimationIteration"),animationstart:te("Animation","AnimationStart"),transitionend:te("Transition","TransitionEnd")},Qa={},Ha={};bl&&(Ha=document.createElement("div").style,"AnimationEvent"in window||(delete Wa.animationend.animation,delete Wa.animationiteration.animation,delete Wa.animationstart.animation),"TransitionEvent"in window||delete Wa.transitionend.transition);var ja=re("animationend"),$a=re("animationiteration"),qa=re("animationstart"),Ka=re("transitionend"),Ya=new Map,Xa=new Map,Ga=["abort","abort",ja,"animationEnd",$a,"animationIteration",qa,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ka,"transitionEnd","waiting","waiting"];Sa();var Za,Ja,eo,no=8,to=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(ro(e)/lo|0)|0},ro=Math.log,lo=Math.LN2,ao=za,oo=_a,uo=!0,io=null,so=null,co=null,fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},po=ke(fo),ho=Nl({},fo,{view:0,detail:0}),mo=ke(ho),go=Nl({},ho,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ee,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==eo&&(eo&&"mousemove"===e.type?(Za=e.screenX-eo.screenX,Ja=e.screenY-eo.screenY):Ja=Za=0,eo=e),Za)},movementY:function(e){return"movementY"in e?e.movementY:Ja}}),vo=ke(go),yo=ke(Nl({},go,{dataTransfer:0})),bo=ke(Nl({},ho,{relatedTarget:0})),wo=ke(Nl({},fo,{animationName:0,elapsedTime:0,pseudoElement:0})),ko=Nl({},fo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),So=ke(ko),Eo=ke(Nl({},fo,{data:0})),xo=Eo,Co={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_o={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},No={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Po=Nl({},ho,{key:function(e){if(e.key){var n=Co[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=ye(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_o[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ee,charCode:function(e){return"keypress"===e.type?ye(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ye(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),zo=ke(Po),Lo=ke(Nl({},go,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),To=ke(Nl({},ho,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ee})),Mo=ke(Nl({},fo,{propertyName:0,elapsedTime:0,pseudoElement:0})),Oo=Nl({},go,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ro=ke(Oo),Do=[9,13,27,32],Io=bl&&"CompositionEvent"in window,Fo=null;bl&&"documentMode"in document&&(Fo=document.documentMode);var Uo=bl&&"TextEvent"in window&&!Fo,Vo=bl&&(!Io||Fo&&8<Fo&&11>=Fo),Ao=String.fromCharCode(32),Bo=!1,Wo=!1,Qo={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Ho=null,jo=null,$o=!1;bl&&($o=function(e){if(!bl)return!1;var n=(e="on"+e)in document;return n||((n=document.createElement("div")).setAttribute(e,"return;"),n="function"==typeof n[e]),n}("input")&&(!document.documentMode||9<document.documentMode));var qo="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n},Ko=Object.prototype.hasOwnProperty,Yo=bl&&"documentMode"in document&&11>=document.documentMode,Xo=null,Go=null,Zo=null,Jo=!1;le("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),le("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),le(Ga,2),function(e,n){for(var t=0;t<e.length;t++)Xa.set(e[t],0)}("change selectionchange textInput compositionstart compositionend compositionupdate".split(" ")),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),r("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),r("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),r("onBeforeInput",["compositionend","keypress","textInput","paste"]),r("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),r("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),r("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var eu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),nu=new Set("cancel close invalid load scroll toggle".split(" ").concat(eu)),tu="_reactListening"+Math.random().toString(36).slice(2),ru=null,lu=null,au="function"==typeof setTimeout?setTimeout:void 0,ou="function"==typeof clearTimeout?clearTimeout:void 0,uu=0,iu=Math.random().toString(36).slice(2),su="__reactFiber$"+iu,cu="__reactProps$"+iu,fu="__reactContainer$"+iu,du="__reactEvents$"+iu,pu=[],hu=-1,mu={},gu=pn(mu),vu=pn(!1),yu=mu,bu=null,wu=null,ku=_a,Su=Ea,Eu=ka,xu=Na,Cu=Pa,_u=za,Nu=La,Pu=Ta,zu=Ma,Lu={},Tu=xa,Mu=void 0!==Ca?Ca:function(){},Ou=null,Ru=null,Du=!1,Iu=Sa(),Fu=1e4>Iu?Sa:function(){return Sa()-Iu},Uu=Pl.ReactCurrentBatchConfig,Vu=pn(null),Au=null,Bu=null,Wu=null,Qu=!1,Hu=(new n.Component).refs,ju={isMounted:function(e){return!!(e=e._reactInternals)&&W(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=kr(),l=Sr(e),a=In(r,l);a.payload=n,null!=t&&(a.callback=t),Fn(e,a),Er(e,l,r)},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=kr(),l=Sr(e),a=In(r,l);a.tag=1,a.payload=n,null!=t&&(a.callback=t),Fn(e,a),Er(e,l,r)},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=kr(),r=Sr(e),l=In(t,r);l.tag=2,null!=n&&(l.callback=n),Fn(e,l),Er(e,r,t)}},$u=Array.isArray,qu=Kn(!0),Ku=Kn(!1),Yu={},Xu=pn(Yu),Gu=pn(Yu),Zu=pn(Yu),Ju=pn(0),ei=null,ni=null,ti=!1,ri=[],li=Pl.ReactCurrentDispatcher,ai=Pl.ReactCurrentBatchConfig,oi=0,ui=null,ii=null,si=null,ci=!1,fi=!1,di={readContext:On,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useLayoutEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useMutableSource:it,useOpaqueIdentifier:it,unstable_isNewReconciler:!1},pi={readContext:On,useCallback:function(e,n){return ft().memoizedState=[e,void 0===n?null:n],e},useContext:On,useEffect:Ct,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,Et(4,2,Pt.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Et(4,2,e,n)},useMemo:function(e,n){var t=ft();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=ft();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:n}).dispatch=Rt.bind(null,ui,e),[r.memoizedState,e]},useRef:kt,useState:bt,useDebugValue:Lt,useDeferredValue:function(e){var n=bt(e),t=n[0],r=n[1];return Ct((function(){var n=ai.transition;ai.transition=1;try{r(e)}finally{ai.transition=n}}),[e]),t},useTransition:function(){var e=bt(!1),n=e[0];return kt(e=Ot.bind(null,e[1])),[e,n]},useMutableSource:function(e,n,t){var r=ft();return r.memoizedState={refs:{getSnapshot:n,setSnapshot:null},source:e,subscribe:t},vt(r,e,n,t)},useOpaqueIdentifier:function(){if(ti){var e=!1,n=function(e){return{$$typeof:Wl,toString:e,valueOf:e}}((function(){throw e||(e=!0,r("r:"+(uu++).toString(36))),Error(t(355))})),r=bt(n)[1];return 0==(2&ui.mode)&&(ui.flags|=516,wt(5,(function(){r("r:"+(uu++).toString(36))}),void 0,null)),n}return bt(n="r:"+(uu++).toString(36)),n},unstable_isNewReconciler:!1},hi={readContext:On,useCallback:Tt,useContext:On,useEffect:_t,useImperativeHandle:zt,useLayoutEffect:Nt,useMemo:Mt,useReducer:ht,useRef:St,useState:function(e){return ht(pt)},useDebugValue:Lt,useDeferredValue:function(e){var n=ht(pt),t=n[0],r=n[1];return _t((function(){var n=ai.transition;ai.transition=1;try{r(e)}finally{ai.transition=n}}),[e]),t},useTransition:function(){var e=ht(pt)[0];return[St().current,e]},useMutableSource:yt,useOpaqueIdentifier:function(){return ht(pt)[0]},unstable_isNewReconciler:!1},mi={readContext:On,useCallback:Tt,useContext:On,useEffect:_t,useImperativeHandle:zt,useLayoutEffect:Nt,useMemo:Mt,useReducer:mt,useRef:St,useState:function(e){return mt(pt)},useDebugValue:Lt,useDeferredValue:function(e){var n=mt(pt),t=n[0],r=n[1];return _t((function(){var n=ai.transition;ai.transition=1;try{r(e)}finally{ai.transition=n}}),[e]),t},useTransition:function(){var e=mt(pt)[0];return[St().current,e]},useMutableSource:yt,useOpaqueIdentifier:function(){return mt(pt)[0]},unstable_isNewReconciler:!1},gi=Pl.ReactCurrentOwner,vi=!1,yi={dehydrated:null,retryLane:0},bi=function(e,n,t,r){for(t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},wi=function(e){},ki=function(e,n,t,r,l){var a=e.memoizedProps;if(a!==r){switch(e=n.stateNode,Yn(Xu.current),l=null,t){case"input":a=v(e,a),r=v(e,r),l=[];break;case"option":a=E(e,a),r=E(e,r),l=[];break;case"select":a=Nl({},a,{value:void 0}),r=Nl({},r,{value:void 0}),l=[];break;case"textarea":a=C(e,a),r=C(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=nn)}var o;for(s in O(t,r),t=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s){var u=a[s];for(o in u)u.hasOwnProperty(o)&&(t||(t={}),t[o]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(yl.hasOwnProperty(s)?l||(l=[]):(l=l||[]).push(s,null));for(s in r){var i=r[s];if(u=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&i!==u&&(null!=i||null!=u))if("style"===s)if(u){for(o in u)!u.hasOwnProperty(o)||i&&i.hasOwnProperty(o)||(t||(t={}),t[o]="");for(o in i)i.hasOwnProperty(o)&&u[o]!==i[o]&&(t||(t={}),t[o]=i[o])}else t||(l||(l=[]),l.push(s,t)),t=i;else"dangerouslySetInnerHTML"===s?(i=i?i.__html:void 0,u=u?u.__html:void 0,null!=i&&u!==i&&(l=l||[]).push(s,i)):"children"===s?"string"!=typeof i&&"number"!=typeof i||(l=l||[]).push(s,""+i):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(yl.hasOwnProperty(s)?(null!=i&&"onScroll"===s&&$e("scroll",e),l||u===i||(l=[])):"object"==typeof i&&null!==i&&i.$$typeof===Wl?i.toString():(l=l||[]).push(s,i))}t&&(l=l||[]).push("style",t);var s=l;(n.updateQueue=s)&&(n.flags|=4)}},Si=function(e,n,t,r){t!==r&&(n.flags|=4)},Ei="function"==typeof WeakMap?WeakMap:Map,xi="function"==typeof WeakSet?WeakSet:Set,Ci=Math.ceil,_i=Pl.ReactCurrentDispatcher,Ni=Pl.ReactCurrentOwner,Pi=0,zi=null,Li=null,Ti=0,Mi=0,Oi=pn(0),Ri=0,Di=null,Ii=0,Fi=0,Ui=0,Vi=0,Ai=null,Bi=0,Wi=1/0,Qi=null,Hi=!1,ji=null,$i=null,qi=!1,Ki=null,Yi=90,Xi=[],Gi=[],Zi=null,Ji=0,es=null,ns=-1,ts=0,rs=0,ls=null,as=!1,os=function(e,n,r){var l=n.lanes;if(null!==e)if(e.memoizedProps!==n.pendingProps||vu.current)vi=!0;else{if(0==(r&l)){switch(vi=!1,n.tag){case 3:Ht(n),ot();break;case 5:Zn(n);break;case 1:vn(n.type)&&wn(n);break;case 4:Xn(n,n.stateNode.containerInfo);break;case 10:l=n.memoizedProps.value;var a=n.type._context;mn(Vu,a._currentValue),a._currentValue=l;break;case 13:if(null!==n.memoizedState)return 0!=(r&n.child.childLanes)?jt(e,n,r):(mn(Ju,1&Ju.current),null!==(n=Zt(e,n,r))?n.sibling:null);mn(Ju,1&Ju.current);break;case 19:if(l=0!=(r&n.childLanes),0!=(64&e.flags)){if(l)return Gt(e,n,r);n.flags|=64}if(null!==(a=n.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),mn(Ju,Ju.current),l)break;return null;case 23:case 24:return n.lanes=0,Vt(e,n,r)}return Zt(e,n,r)}vi=0!=(16384&e.flags)}else vi=!1;switch(n.lanes=0,n.tag){case 2:if(l=n.type,null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,a=gn(n,gu.current),Mn(n,r),a=ct(null,n,l,e,a,r),n.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,vn(l)){var o=!0;wn(n)}else o=!1;n.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Rn(n);var u=l.getDerivedStateFromProps;"function"==typeof u&&Bn(n,l,u,e),a.updater=ju,n.stateNode=a,a._reactInternals=n,jn(n,l,e,r),n=Qt(null,n,l,!0,o,r)}else n.tag=0,Dt(null,n,a,r),n=n.child;return n;case 16:a=n.elementType;e:{switch(null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,a=(o=a._init)(a._payload),n.type=a,o=n.tag=function(e){if("function"==typeof e)return Zr(e)?1:0;if(null!=e){if((e=e.$$typeof)===Il)return 11;if(e===Vl)return 14}return 2}(a),e=Pn(a,e),o){case 0:n=Bt(null,n,a,e,r);break e;case 1:n=Wt(null,n,a,e,r);break e;case 11:n=It(null,n,a,e,r);break e;case 14:n=Ft(null,n,a,Pn(a.type,e),l,r);break e}throw Error(t(306,a,""))}return n;case 0:return l=n.type,a=n.pendingProps,Bt(e,n,l,a=n.elementType===l?a:Pn(l,a),r);case 1:return l=n.type,a=n.pendingProps,Wt(e,n,l,a=n.elementType===l?a:Pn(l,a),r);case 3:if(Ht(n),l=n.updateQueue,null===e||null===l)throw Error(t(282));if(l=n.pendingProps,a=null!==(a=n.memoizedState)?a.element:null,Dn(e,n),Vn(n,l,null,r),(l=n.memoizedState.element)===a)ot(),n=Zt(e,n,r);else{if((o=(a=n.stateNode).hydrate)&&(ni=an(n.stateNode.containerInfo.firstChild),ei=n,o=ti=!0),o){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(o=e[a])._workInProgressVersionPrimary=e[a+1],ri.push(o);for(r=Ku(n,null,l,r),n.child=r;r;)r.flags=-3&r.flags|1024,r=r.sibling}else Dt(e,n,l,r),ot();n=n.child}return n;case 5:return Zn(n),null===e&&rt(n),l=n.type,a=n.pendingProps,o=null!==e?e.memoizedProps:null,u=a.children,rn(l,a)?u=null:null!==o&&rn(l,o)&&(n.flags|=16),At(e,n),Dt(e,n,u,r),n.child;case 6:return null===e&&rt(n),null;case 13:return jt(e,n,r);case 4:return Xn(n,n.stateNode.containerInfo),l=n.pendingProps,null===e?n.child=qu(n,null,l,r):Dt(e,n,l,r),n.child;case 11:return l=n.type,a=n.pendingProps,It(e,n,l,a=n.elementType===l?a:Pn(l,a),r);case 7:return Dt(e,n,n.pendingProps,r),n.child;case 8:case 12:return Dt(e,n,n.pendingProps.children,r),n.child;case 10:e:{l=n.type._context,a=n.pendingProps,u=n.memoizedProps,o=a.value;var i=n.type._context;if(mn(Vu,i._currentValue),i._currentValue=o,null!==u)if(i=u.value,0==(o=qo(i,o)?0:0|("function"==typeof l._calculateChangedBits?l._calculateChangedBits(i,o):1073741823))){if(u.children===a.children&&!vu.current){n=Zt(e,n,r);break e}}else for(null!==(i=n.child)&&(i.return=n);null!==i;){var s=i.dependencies;if(null!==s){u=i.child;for(var c=s.firstContext;null!==c;){if(c.context===l&&0!=(c.observedBits&o)){1===i.tag&&((c=In(-1,r&-r)).tag=2,Fn(i,c)),i.lanes|=r,null!==(c=i.alternate)&&(c.lanes|=r),Tn(i.return,r),s.lanes|=r;break}c=c.next}}else u=10===i.tag&&i.type===n.type?null:i.child;if(null!==u)u.return=i;else for(u=i;null!==u;){if(u===n){u=null;break}if(null!==(i=u.sibling)){i.return=u.return,u=i;break}u=u.return}i=u}Dt(e,n,a.children,r),n=n.child}return n;case 9:return a=n.type,l=(o=n.pendingProps).children,Mn(n,r),l=l(a=On(a,o.unstable_observedBits)),n.flags|=1,Dt(e,n,l,r),n.child;case 14:return o=Pn(a=n.type,n.pendingProps),Ft(e,n,a,o=Pn(a.type,o),l,r);case 15:return Ut(e,n,n.type,n.pendingProps,l,r);case 17:return l=n.type,a=n.pendingProps,a=n.elementType===l?a:Pn(l,a),null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2),n.tag=1,vn(l)?(e=!0,wn(n)):e=!1,Mn(n,r),Qn(n,l,a),jn(n,l,a,r),Qt(null,n,l,!0,e,r);case 19:return Gt(e,n,r);case 23:case 24:return Vt(e,n,r)}throw Error(t(156,n.tag))},us=function(e,n,t,r){return new Gr(e,n,t,r)};pl.prototype.render=function(e){ul(e,this._internalRoot,null,null)},pl.prototype.unmount=function(){var e=this._internalRoot,n=e.containerInfo;ul(null,e,null,(function(){n[fu]=null}))};var is=function(e){13===e.tag&&(Er(e,4,kr()),cl(e,4))},ss=function(e){13===e.tag&&(Er(e,67108864,kr()),cl(e,67108864))},cs=function(e){if(13===e.tag){var n=kr(),t=Sr(e);Er(e,t,n),cl(e,t)}},fs=function(e,n){return n()};ra=function(e,n,r){switch(n){case"input":if(w(e,r),n=r.name,"radio"===r.type&&null!=n){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<r.length;n++){var l=r[n];if(l!==e&&l.form===e.form){var a=fn(l);if(!a)throw Error(t(90));m(l),w(l,a)}}}break;case"textarea":N(e,r);break;case"select":null!=(n=r.value)&&x(e,!!r.multiple,n,!1)}},function(e,n,t,r){oa=e,ua=function(e,n,t,r,l){var a=Pi;Pi|=4;try{return xn(98,e.bind(null,n,t,r,l))}finally{0===(Pi=a)&&(wr(),_n())}},ia=function(){0==(49&Pi)&&(function(){if(null!==Zi){var e=Zi;Zi=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,Cr(e,Fu())}))}_n()}(),Qr())},sa=function(e,n){var t=Pi;Pi|=2;try{return e(n)}finally{0===(Pi=t)&&(wr(),_n())}}}(zr);var ds={Events:[sn,cn,fn,F,U,Qr,{current:!1}]};!function(e){if(e={bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Pl.ReactCurrentDispatcher,findHostInstanceByFiber:fl,findFiberByHostInstance:e.findFiberByHostInstance||dl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)e=!1;else{var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!n.isDisabled&&n.supportsFiber)try{bu=n.inject(e),wu=n}catch(e){}e=!0}}({findFiberByHostInstance:un,bundleType:0,version:"17.0.1",rendererPackageName:"react-dom"}),e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ds,e.createPortal=gl,e.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(t(188));throw Error(t(268,Object.keys(e)))}return e=null===(e=j(n))?null:e.stateNode},e.flushSync=function(e,n){var t=Pi;if(0!=(48&t))return e(n);Pi|=1;try{if(e)return xn(99,e.bind(null,n))}finally{Pi=t,_n()}},e.hydrate=function(e,n,r){if(!hl(n))throw Error(t(200));return ml(null,e,n,!0,r)},e.render=function(e,n,r){if(!hl(n))throw Error(t(200));return ml(null,e,n,!1,r)},e.unmountComponentAtNode=function(e){if(!hl(e))throw Error(t(40));return!!e._reactRootContainer&&(Lr((function(){ml(null,null,e,!1,(function(){e._reactRootContainer=null,e[fu]=null}))})),!0)},e.unstable_batchedUpdates=zr,e.unstable_createPortal=function(e,n){return gl(e,n,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(e,n,r,l){if(!hl(r))throw Error(t(200));if(null==e||void 0===e._reactInternals)throw Error(t(38));return ml(e,n,r,!1,l)},e.version="17.0.1"},"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],n):n((e=e||self).ReactDOM={},e.React)}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/react.min.js b/wp-includes/js/dist/vendor/react.min.js
index 8a14055559..ed44406757 100644
--- a/wp-includes/js/dist/vendor/react.min.js
+++ b/wp-includes/js/dist/vendor/react.min.js
@@ -6,26 +6,4 @@
  * This source code is licensed under the MIT license found in the
  * LICENSE file in the root directory of this source tree.
  */
-(function(){'use strict';(function(c,x){"object"===typeof exports&&"undefined"!==typeof module?x(exports):"function"===typeof define&&define.amd?define(["exports"],x):(c=c||self,x(c.React={}))})(this,function(c){function x(a){if(null===a||"object"!==typeof a)return null;a=Y&&a[Y]||a["@@iterator"];return"function"===typeof a?a:null}function y(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,e=1;e<arguments.length;e++)b+="&args[]="+encodeURIComponent(arguments[e]);return"Minified React error #"+
-a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v(a,b,e){this.props=a;this.context=b;this.refs=Z;this.updater=e||aa}function ba(){}function K(a,b,e){this.props=a;this.context=b;this.refs=Z;this.updater=e||aa}function ca(a,b,e){var l,f={},c=null,da=null;if(null!=b)for(l in void 0!==b.ref&&(da=b.ref),void 0!==b.key&&(c=""+b.key),b)ea.call(b,l)&&!fa.hasOwnProperty(l)&&(f[l]=b[l]);var k=arguments.length-2;if(1===
-k)f.children=e;else if(1<k){for(var h=Array(k),d=0;d<k;d++)h[d]=arguments[d+2];f.children=h}if(a&&a.defaultProps)for(l in k=a.defaultProps,k)void 0===f[l]&&(f[l]=k[l]);return{$$typeof:w,type:a,key:c,ref:da,props:f,_owner:L.current}}function va(a,b){return{$$typeof:w,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===w}function wa(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function N(a,b){return"object"===
-typeof a&&null!==a&&null!=a.key?wa(""+a.key):b.toString(36)}function C(a,b,e,l,f){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var d=!1;if(null===a)d=!0;else switch(c){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case w:case ha:d=!0}}if(d)return d=a,f=f(d),a=""===l?"."+N(d,0):l,Array.isArray(f)?(e="",null!=a&&(e=a.replace(ia,"$&/")+"/"),C(f,b,e,"",function(a){return a})):null!=f&&(M(f)&&(f=va(f,e+(!f.key||d&&d.key===f.key?"":(""+f.key).replace(ia,"$&/")+"/")+
-a)),b.push(f)),1;d=0;l=""===l?".":l+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){c=a[k];var h=l+N(c,k);d+=C(c,b,e,h,f)}else if(h=x(a),"function"===typeof h)for(a=h.call(a),k=0;!(c=a.next()).done;)c=c.value,h=l+N(c,k++),d+=C(c,b,e,h,f);else if("object"===c)throw b=""+a,Error(y(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return d}function D(a,b,e){if(null==a)return a;var l=[],c=0;C(a,l,"","",function(a){return b.call(e,a,c++)});return l}function xa(a){if(-1===
-a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}function n(){var a=ja.current;if(null===a)throw Error(y(321));return a}function O(a,b){var e=a.length;a.push(b);a:for(;;){var c=e-1>>>1,f=a[c];if(void 0!==f&&0<E(f,b))a[c]=b,a[e]=f,e=c;else break a}}function p(a){a=a[0];return void 0===a?null:a}function F(a){var b=
-a[0];if(void 0!==b){var e=a.pop();if(e!==b){a[0]=e;a:for(var c=0,f=a.length;c<f;){var d=2*(c+1)-1,g=a[d],k=d+1,h=a[k];if(void 0!==g&&0>E(g,e))void 0!==h&&0>E(h,g)?(a[c]=h,a[k]=e,c=k):(a[c]=g,a[d]=e,c=d);else if(void 0!==h&&0>E(h,e))a[c]=h,a[k]=e,c=k;else break a}}return b}return null}function E(a,b){var e=a.sortIndex-b.sortIndex;return 0!==e?e:a.id-b.id}function P(a){for(var b=p(r);null!==b;){if(null===b.callback)F(r);else if(b.startTime<=a)F(r),b.sortIndex=b.expirationTime,O(q,b);else break;b=p(r)}}
-function Q(a){z=!1;P(a);if(!u)if(null!==p(q))u=!0,A(R);else{var b=p(r);null!==b&&G(Q,b.startTime-a)}}function R(a,b){u=!1;z&&(z=!1,S());H=!0;var e=g;try{P(b);for(m=p(q);null!==m&&(!(m.expirationTime>b)||a&&!T());){var c=m.callback;if("function"===typeof c){m.callback=null;g=m.priorityLevel;var f=c(m.expirationTime<=b);b=t();"function"===typeof f?m.callback=f:m===p(q)&&F(q);P(b)}else F(q);m=p(q)}if(null!==m)var d=!0;else{var n=p(r);null!==n&&G(Q,n.startTime-b);d=!1}return d}finally{m=null,g=e,H=!1}}
-var w=60103,ha=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ka=60109,la=60110,ma=60112;c.Suspense=60113;var na=60115,oa=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;w=d("react.element");ha=d("react.portal");c.Fragment=d("react.fragment");c.StrictMode=d("react.strict_mode");c.Profiler=d("react.profiler");ka=d("react.provider");la=d("react.context");ma=d("react.forward_ref");c.Suspense=d("react.suspense");na=d("react.memo");oa=d("react.lazy")}var Y="function"===
-typeof Symbol&&Symbol.iterator,ya=Object.prototype.hasOwnProperty,U=Object.assign||function(a,b){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");for(var e=Object(a),c=1;c<arguments.length;c++){var d=arguments[c];if(null!=d){var g=void 0;d=Object(d);for(g in d)ya.call(d,g)&&(e[g]=d[g])}}return e},aa={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},Z={};v.prototype.isReactComponent=
-{};v.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(y(85));this.updater.enqueueSetState(this,a,b,"setState")};v.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ba.prototype=v.prototype;d=K.prototype=new ba;d.constructor=K;U(d,v.prototype);d.isPureReactComponent=!0;var L={current:null},ea=Object.prototype.hasOwnProperty,fa={key:!0,ref:!0,__self:!0,__source:!0},ia=/\/+/g,ja={current:null},V;if("object"===typeof performance&&
-"function"===typeof performance.now){var za=performance;var t=function(){return za.now()}}else{var pa=Date,Aa=pa.now();t=function(){return pa.now()-Aa}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var B=null,qa=null,ra=function(){if(null!==B)try{var a=t();B(!0,a);B=null}catch(b){throw setTimeout(ra,0),b;}};var A=function(a){null!==B?setTimeout(A,0,a):(B=a,setTimeout(ra,0))};var G=function(a,b){qa=setTimeout(a,b)};var S=function(){clearTimeout(qa)};var T=function(){return!1};
-d=V=function(){}}else{var Ba=window.setTimeout,Ca=window.clearTimeout;"undefined"!==typeof console&&(d=window.cancelAnimationFrame,"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof d&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"));
-var I=!1,J=null,W=-1,sa=5,ta=0;T=function(){return t()>=ta};d=function(){};V=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):sa=0<a?Math.floor(1E3/a):5};var ua=new MessageChannel,X=ua.port2;ua.port1.onmessage=function(){if(null!==J){var a=t();ta=a+sa;try{J(!0,a)?X.postMessage(null):(I=!1,J=null)}catch(b){throw X.postMessage(null),b;}}else I=!1};A=function(a){J=a;I||(I=!0,X.postMessage(null))};G=
-function(a,b){W=Ba(function(){a(t())},b)};S=function(){Ca(W);W=-1}}var q=[],r=[],Da=1,m=null,g=3,H=!1,u=!1,z=!1,Ea=0;d={ReactCurrentDispatcher:ja,ReactCurrentOwner:L,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:{transition:0},assign:U,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=
-3}var c=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=t();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Da++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=
-c,O(r,a),null===p(q)&&a===p(r)&&(z?S():z=!0,G(Q,c-d))):(a.sortIndex=e,O(q,a),u||H||(u=!0,A(R)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},get unstable_shouldYield(){return T},unstable_requestPaint:d,unstable_continueExecution:function(){u||H||(u=!0,A(R))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return p(q)},
-get unstable_now(){return t},get unstable_forceFrameRate(){return V},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Ea},unstable_trace:function(a,b,c){return c()},unstable_wrap:function(a){return a},unstable_subscribe:function(a){},unstable_unsubscribe:function(a){}}};c.Children={map:D,forEach:function(a,b,c){D(a,function(){b.apply(this,
-arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error(y(143));return a}};c.Component=v;c.PureComponent=K;c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d;c.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(y(267,a));var d=U({},a.props),e=a.key,g=a.ref,n=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,n=L.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var k=
-a.type.defaultProps;for(h in b)ea.call(b,h)&&!fa.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==k?k[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){k=Array(h);for(var m=0;m<h;m++)k[m]=arguments[m+2];d.children=k}return{$$typeof:w,type:a.type,key:e,ref:g,props:d,_owner:n}};c.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:la,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ka,_context:a};return a.Consumer=
-a};c.createElement=ca;c.createFactory=function(a){var b=ca.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:ma,render:a}};c.isValidElement=M;c.lazy=function(a){return{$$typeof:oa,_payload:{_status:-1,_result:a},_init:xa}};c.memo=function(a,b){return{$$typeof:na,type:a,compare:void 0===b?null:b}};c.useCallback=function(a,b){return n().useCallback(a,b)};c.useContext=function(a,b){return n().useContext(a,b)};c.useDebugValue=function(a,
-b){};c.useEffect=function(a,b){return n().useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return n().useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return n().useLayoutEffect(a,b)};c.useMemo=function(a,b){return n().useMemo(a,b)};c.useReducer=function(a,b,c){return n().useReducer(a,b,c)};c.useRef=function(a){return n().useRef(a)};c.useState=function(a){return n().useState(a)};c.version="17.0.1"});
-})();
+!function(){"use strict";var e,t;e=this,t=function(e){function t(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(e,t,n){this.props=e,this.context=t,this.refs=E,this.updater=n||$}function r(){}function o(e,t,n){this.props=e,this.context=t,this.refs=E,this.updater=n||$}function u(e,t,n){var r,o={},u=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(u=""+t.key),t)M.call(t,r)&&!A.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===o[r]&&(o[r]=a[r]);return{$$typeof:m,type:e,key:u,ref:i,props:o,_owner:I.current}}function i(e){return"object"==typeof e&&null!==e&&e.$$typeof===m}function a(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function l(e,n,r,o,u){var c=typeof e;"undefined"!==c&&"boolean"!==c||(e=null);var f=!1;if(null===e)f=!0;else switch(c){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case m:case w:f=!0}}if(f)return u=u(f=e),e=""===o?"."+a(f,0):o,Array.isArray(u)?(r="",null!=e&&(r=e.replace(F,"$&/")+"/"),l(u,n,r,"",(function(e){return e}))):null!=u&&(i(u)&&(u=function(e,t){return{$$typeof:m,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(u,r+(!u.key||f&&f.key===u.key?"":(""+u.key).replace(F,"$&/")+"/")+e)),n.push(u)),1;if(f=0,o=""===o?".":o+":",Array.isArray(e))for(var s=0;s<e.length;s++){var p=o+a(c=e[s],s);f+=l(c,n,r,p,u)}else if(p=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}(e),"function"==typeof p)for(e=p.call(e),s=0;!(c=e.next()).done;)f+=l(c=c.value,n,r,p=o+a(c,s++),u);else if("object"===c)throw n=""+e,Error(t(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n));return f}function c(e,t,n){if(null==e)return e;var r=[],o=0;return l(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function f(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}function s(){var e=L.current;if(null===e)throw Error(t(321));return e}function p(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<b(o,t)))break e;e[r]=t,e[n]=o,n=r}}function y(e){return void 0===(e=e[0])?null:e}function d(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var u=2*(r+1)-1,i=e[u],a=u+1,l=e[a];if(void 0!==i&&0>b(i,n))void 0!==l&&0>b(l,i)?(e[r]=l,e[a]=n,r=a):(e[r]=i,e[u]=n,r=u);else{if(!(void 0!==l&&0>b(l,n)))break e;e[r]=l,e[a]=n,r=a}}}return t}return null}function b(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function v(e){for(var t=y(ue);null!==t;){if(null===t.callback)d(ue);else{if(!(t.startTime<=e))break;d(ue),t.sortIndex=t.expirationTime,p(oe,t)}t=y(ue)}}function _(e){if(se=!1,v(e),!fe)if(null!==y(oe))fe=!0,H(h);else{var t=y(ue);null!==t&&W(_,t.startTime-e)}}function h(e,t){fe=!1,se&&(se=!1,Y()),ce=!0;var n=le;try{for(v(t),ae=y(oe);null!==ae&&(!(ae.expirationTime>t)||e&&!G());){var r=ae.callback;if("function"==typeof r){ae.callback=null,le=ae.priorityLevel;var o=r(ae.expirationTime<=t);t=U(),"function"==typeof o?ae.callback=o:ae===y(oe)&&d(oe),v(t)}else d(oe);ae=y(oe)}if(null!==ae)var u=!0;else{var i=y(ue);null!==i&&W(_,i.startTime-t),u=!1}return u}finally{ae=null,le=n,ce=!1}}var m=60103,w=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var g=60109,k=60110,C=60112;e.Suspense=60113;var S=60115,x=60116;if("function"==typeof Symbol&&Symbol.for){var R=Symbol.for;m=R("react.element"),w=R("react.portal"),e.Fragment=R("react.fragment"),e.StrictMode=R("react.strict_mode"),e.Profiler=R("react.profiler"),g=R("react.provider"),k=R("react.context"),C=R("react.forward_ref"),e.Suspense=R("react.suspense"),S=R("react.memo"),x=R("react.lazy")}var j="function"==typeof Symbol&&Symbol.iterator,P=Object.prototype.hasOwnProperty,T=Object.assign||function(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o){var u=void 0;for(u in o=Object(o))P.call(o,u)&&(n[u]=o[u])}}return n},$={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){},enqueueReplaceState:function(e,t,n,r){},enqueueSetState:function(e,t,n,r){}},E={};n.prototype.isReactComponent={},n.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(t(85));this.updater.enqueueSetState(this,e,n,"setState")},n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},r.prototype=n.prototype,(R=o.prototype=new r).constructor=o,T(R,n.prototype),R.isPureReactComponent=!0;var O,I={current:null},M=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0},F=/\/+/g,L={current:null};if("object"==typeof performance&&"function"==typeof performance.now)var q=performance,U=function(){return q.now()};else{var D=Date,N=D.now();U=function(){return D.now()-N}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var B=null,V=null,z=function(){if(null!==B)try{var e=U();B(!0,e),B=null}catch(e){throw setTimeout(z,0),e}},H=function(e){null!==B?setTimeout(H,0,e):(B=e,setTimeout(z,0))},W=function(e,t){V=setTimeout(e,t)},Y=function(){clearTimeout(V)},G=function(){return!1};R=O=function(){}}else{var J=window.setTimeout,K=window.clearTimeout;"undefined"!=typeof console&&(R=window.cancelAnimationFrame,"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof R&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"));var Q=!1,X=null,Z=-1,ee=5,te=0;G=function(){return U()>=te},R=function(){},O=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<e?Math.floor(1e3/e):5};var ne=new MessageChannel,re=ne.port2;ne.port1.onmessage=function(){if(null!==X){var e=U();te=e+ee;try{X(!0,e)?re.postMessage(null):(Q=!1,X=null)}catch(e){throw re.postMessage(null),e}}else Q=!1},H=function(e){X=e,Q||(Q=!0,re.postMessage(null))},W=function(e,t){Z=J((function(){e(U())}),t)},Y=function(){K(Z),Z=-1}}var oe=[],ue=[],ie=1,ae=null,le=3,ce=!1,fe=!1,se=!1,pe=0;R={ReactCurrentDispatcher:L,ReactCurrentOwner:I,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:{transition:0},assign:T,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=le;le=e;try{return t()}finally{le=n}},unstable_next:function(e){switch(le){case 1:case 2:case 3:var t=3;break;default:t=le}var n=le;le=t;try{return e()}finally{le=n}},unstable_scheduleCallback:function(e,t,n){var r=U();switch(n="object"==typeof n&&null!==n&&"number"==typeof(n=n.delay)&&0<n?r+n:r,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return e={id:ie++,callback:t,priorityLevel:e,startTime:n,expirationTime:o=n+o,sortIndex:-1},n>r?(e.sortIndex=n,p(ue,e),null===y(oe)&&e===y(ue)&&(se?Y():se=!0,W(_,n-r))):(e.sortIndex=o,p(oe,e),fe||ce||(fe=!0,H(h))),e},unstable_cancelCallback:function(e){e.callback=null},unstable_wrapCallback:function(e){var t=le;return function(){var n=le;le=t;try{return e.apply(this,arguments)}finally{le=n}}},unstable_getCurrentPriorityLevel:function(){return le},get unstable_shouldYield(){return G},unstable_requestPaint:R,unstable_continueExecution:function(){fe||ce||(fe=!0,H(h))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return y(oe)},get unstable_now(){return U},get unstable_forceFrameRate(){return O},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,unstable_clear:function(e){return e()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++pe},unstable_trace:function(e,t,n){return n()},unstable_wrap:function(e){return e},unstable_subscribe:function(e){},unstable_unsubscribe:function(e){}}},e.Children={map:c,forEach:function(e,t,n){c(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return c(e,(function(){t++})),t},toArray:function(e){return c(e,(function(e){return e}))||[]},only:function(e){if(!i(e))throw Error(t(143));return e}},e.Component=n,e.PureComponent=o,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,e.cloneElement=function(e,n,r){if(null==e)throw Error(t(267,e));var o=T({},e.props),u=e.key,i=e.ref,a=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,a=I.current),void 0!==n.key&&(u=""+n.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in n)M.call(n,c)&&!A.hasOwnProperty(c)&&(o[c]=void 0===n[c]&&void 0!==l?l[c]:n[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var f=0;f<c;f++)l[f]=arguments[f+2];o.children=l}return{$$typeof:m,type:e.type,key:u,ref:i,props:o,_owner:a}},e.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:k,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:g,_context:e},e.Consumer=e},e.createElement=u,e.createFactory=function(e){var t=u.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:C,render:e}},e.isValidElement=i,e.lazy=function(e){return{$$typeof:x,_payload:{_status:-1,_result:e},_init:f}},e.memo=function(e,t){return{$$typeof:S,type:e,compare:void 0===t?null:t}},e.useCallback=function(e,t){return s().useCallback(e,t)},e.useContext=function(e,t){return s().useContext(e,t)},e.useDebugValue=function(e,t){},e.useEffect=function(e,t){return s().useEffect(e,t)},e.useImperativeHandle=function(e,t,n){return s().useImperativeHandle(e,t,n)},e.useLayoutEffect=function(e,t){return s().useLayoutEffect(e,t)},e.useMemo=function(e,t){return s().useMemo(e,t)},e.useReducer=function(e,t,n){return s().useReducer(e,t,n)},e.useRef=function(e){return s().useRef(e)},e.useState=function(e){return s().useState(e)},e.version="17.0.1"},"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).React={})}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/regenerator-runtime.min.js b/wp-includes/js/dist/vendor/regenerator-runtime.min.js
index 2070921275..66d6caa61d 100644
--- a/wp-includes/js/dist/vendor/regenerator-runtime.min.js
+++ b/wp-includes/js/dist/vendor/regenerator-runtime.min.js
@@ -1 +1 @@
-var runtime=function(a){"use strict";var u,t=Object.prototype,h=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",e=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function i(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{i({},"")}catch(t){i=function(t,r,e){return t[r]=e}}function c(t,r,e,n){var o,i,a,c,r=r&&r.prototype instanceof d?r:d,r=Object.create(r.prototype),n=new j(n||[]);return r._invoke=(o=t,i=e,a=n,c=l,function(t,r){if(c===p)throw new Error("Generator is already running");if(c===y){if("throw"===t)throw r;return k()}for(a.method=t,a.arg=r;;){var e=a.delegate;if(e){e=function t(r,e){var n=r.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(r.iterator.return&&(e.method="return",e.arg=u,t(r,e),"throw"===e.method))return g;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}n=f(n,r.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,g;n=n.arg;if(!n)return e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g;{if(!n.done)return n;e[r.resultName]=n.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u)}e.delegate=null;return g}(e,a);if(e){if(e===g)continue;return e}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===l)throw c=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=p;e=f(o,i,a);if("normal"===e.type){if(c=a.done?y:s,e.arg!==g)return{value:e.arg,done:a.done}}else"throw"===e.type&&(c=y,a.method="throw",a.arg=e.arg)}}),r}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var l="suspendedStart",s="suspendedYield",p="executing",y="completed",g={};function d(){}function v(){}function m(){}var r={},w=(i(r,n,function(){return this}),Object.getPrototypeOf),w=w&&w(w(O([]))),L=(w&&w!==t&&h.call(w,n)&&(r=w),m.prototype=d.prototype=Object.create(r));function x(t){["next","throw","return"].forEach(function(r){i(t,r,function(t){return this._invoke(r,t)})})}function b(a,c){var r;this._invoke=function(e,n){function t(){return new c(function(t,r){!function r(t,e,n,o){var i,t=f(a[t],a,e);if("throw"!==t.type)return(e=(i=t.arg).value)&&"object"==typeof e&&h.call(e,"__await")?c.resolve(e.__await).then(function(t){r("next",t,n,o)},function(t){r("throw",t,n,o)}):c.resolve(e).then(function(t){i.value=t,n(i)},function(t){return r("throw",t,n,o)});o(t.arg)}(e,n,t,r)})}return r=r?r.then(t,t):t()}}function E(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function _(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(r){if(r){var e,t=r[n];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length))return e=-1,(t=function t(){for(;++e<r.length;)if(h.call(r,e))return t.value=r[e],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}return{next:k}}function k(){return{value:u,done:!0}}return i(L,"constructor",v.prototype=m),i(m,"constructor",v),v.displayName=i(m,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(L),t},a.awrap=function(t){return{__await:t}},x(b.prototype),i(b.prototype,e,function(){return this}),a.AsyncIterator=b,a.async=function(t,r,e,n,o){void 0===o&&(o=Promise);var i=new b(c(t,r,e,n),o);return a.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(L),i(L,o,"Generator"),i(L,n,function(){return this}),i(L,"toString",function(){return"[object Generator]"}),a.keys=function(e){var t,n=[];for(t in e)n.push(t);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},a.values=O,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(_),!t)for(var r in this)"t"===r.charAt(0)&&h.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=u),!!r}for(var r=this.tryEntries.length-1;0<=r;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=h.call(o,"catchLoc"),c=h.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&h.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),g},finish:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),_(e),g}},catch:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e,n,o=this.tryEntries[r];if(o.tryLoc===t)return"throw"===(e=o.completion).type&&(n=e.arg,_(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:O(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=u),g}},a}("object"==typeof module?module.exports:{});try{regeneratorRuntime=runtime}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime = r")(runtime)}
\ No newline at end of file
+var runtime=function(t){"use strict";var r,e=Object.prototype,n=e.hasOwnProperty,o=(m="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",i=m.asyncIterator||"@@asyncIterator",a=m.toStringTag||"@@toStringTag";function c(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{c({},"")}catch(e){c=function(t,r,e){return t[r]=e}}function u(t,e,n,o){var i,a,c,u;e=e&&e.prototype instanceof g?e:g,e=Object.create(e.prototype),o=new j(o||[]);return e._invoke=(i=t,a=n,c=o,u=l,function(t,e){if(u===s)throw new Error("Generator is already running");if(u===p){if("throw"===t)throw e;return k()}for(c.method=t,c.arg=e;;){var n=c.delegate;if(n&&(n=function t(e,n){var o=e.iterator[n.method];if(o===r){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=r,t(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}return"throw"===(o=h(o,e.iterator,n.arg)).type?(n.method="throw",n.arg=o.arg,n.delegate=null,y):(o=o.arg)?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=r),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}(n,c),n)){if(n===y)continue;return n}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(u===l)throw u=p,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(u=s,"normal"===(n=h(i,a,c)).type){if(u=c.done?p:f,n.arg!==y)return{value:n.arg,done:c.done}}else"throw"===n.type&&(u=p,c.method="throw",c.arg=n.arg)}}),e}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l="suspendedStart",f="suspendedYield",s="executing",p="completed",y={};function g(){}function d(){}function v(){}var m,w,L=((w=(w=(c(m={},o,(function(){return this})),Object.getPrototypeOf))&&w(w(O([]))))&&w!==e&&n.call(w,o)&&(m=w),v.prototype=g.prototype=Object.create(m));function x(t){["next","throw","return"].forEach((function(r){c(t,r,(function(t){return this._invoke(r,t)}))}))}function b(t,r){var e;this._invoke=function(o,i){function a(){return new r((function(e,a){!function e(o,i,a,c){var u;if("throw"!==(o=h(t[o],t,i)).type)return(i=(u=o.arg).value)&&"object"==typeof i&&n.call(i,"__await")?r.resolve(i.__await).then((function(t){e("next",t,a,c)}),(function(t){e("throw",t,a,c)})):r.resolve(i).then((function(t){u.value=t,a(u)}),(function(t){return e("throw",t,a,c)}));c(o.arg)}(o,i,e,a)}))}return e=e?e.then(a,a):a()}}function E(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function _(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e,i=t[o];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(i=function o(){for(;++e<t.length;)if(n.call(t,e))return o.value=t[e],o.done=!1,o;return o.value=r,o.done=!0,o}).next=i}return{next:k}}function k(){return{value:r,done:!0}}return c(L,"constructor",d.prototype=v),c(v,"constructor",d),d.displayName=c(v,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){return!!(t="function"==typeof t&&t.constructor)&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,a,"GeneratorFunction")),t.prototype=Object.create(L),t},t.awrap=function(t){return{__await:t}},x(b.prototype),c(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new b(u(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(L),c(L,a,"Generator"),c(L,o,(function(){return this})),c(L,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r,e=[];for(r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=O,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;0<=i;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),h=n.call(a,"finallyLoc");if(u&&h){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!h)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}var a=(i=i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc?null:i)?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),y},finish:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),_(e),y}},catch:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e,n,o=this.tryEntries[r];if(o.tryLoc===t)return"throw"===(e=o.completion).type&&(n=e.arg,_(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}},t}("object"==typeof module?module.exports:{});try{regeneratorRuntime=runtime}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime = r")(runtime)}
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/wp-polyfill-dom-rect.min.js b/wp-includes/js/dist/vendor/wp-polyfill-dom-rect.min.js
index b6af4517a5..3c3b2fc8a4 100644
--- a/wp-includes/js/dist/vendor/wp-polyfill-dom-rect.min.js
+++ b/wp-includes/js/dist/vendor/wp-polyfill-dom-rect.min.js
@@ -1 +1 @@
-!function(){function d(e){return void 0===e?0:Number(e)}function g(e,n){return!(e===n||isNaN(e)&&isNaN(n))}self.DOMRect=function(e,n,t,i){var u,r,o,f,c=d(e),a=d(n),m=d(t),b=d(i);Object.defineProperties(this,{x:{get:function(){return c},set:function(e){g(c,e)&&(c=e,u=r=void 0)},enumerable:!0},y:{get:function(){return a},set:function(e){g(a,e)&&(a=e,o=f=void 0)},enumerable:!0},width:{get:function(){return m},set:function(e){g(m,e)&&(m=e,u=r=void 0)},enumerable:!0},height:{get:function(){return b},set:function(e){g(b,e)&&(b=e,o=f=void 0)},enumerable:!0},left:{get:function(){return u=void 0===u?c+Math.min(0,m):u},enumerable:!0},right:{get:function(){return r=void 0===r?c+Math.max(0,m):r},enumerable:!0},top:{get:function(){return o=void 0===o?a+Math.min(0,b):o},enumerable:!0},bottom:{get:function(){return f=void 0===f?a+Math.max(0,b):f},enumerable:!0}})}}();
\ No newline at end of file
+!function(){function e(e){return void 0===e?0:Number(e)}function n(e,n){return!(e===n||isNaN(e)&&isNaN(n))}self.DOMRect=function(t,i,u,r){var o,f,c,a,m=e(t),b=e(i),d=e(u),g=e(r);Object.defineProperties(this,{x:{get:function(){return m},set:function(e){n(m,e)&&(m=e,o=f=void 0)},enumerable:!0},y:{get:function(){return b},set:function(e){n(b,e)&&(b=e,c=a=void 0)},enumerable:!0},width:{get:function(){return d},set:function(e){n(d,e)&&(d=e,o=f=void 0)},enumerable:!0},height:{get:function(){return g},set:function(e){n(g,e)&&(g=e,c=a=void 0)},enumerable:!0},left:{get:function(){return o=void 0===o?m+Math.min(0,d):o},enumerable:!0},right:{get:function(){return f=void 0===f?m+Math.max(0,d):f},enumerable:!0},top:{get:function(){return c=void 0===c?b+Math.min(0,g):c},enumerable:!0},bottom:{get:function(){return a=void 0===a?b+Math.max(0,g):a},enumerable:!0}})}}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/wp-polyfill-fetch.min.js b/wp-includes/js/dist/vendor/wp-polyfill-fetch.min.js
index 4c7a1d0cf1..9232e40974 100644
--- a/wp-includes/js/dist/vendor/wp-polyfill-fetch.min.js
+++ b/wp-includes/js/dist/vendor/wp-polyfill-fetch.min.js
@@ -1 +1 @@
-!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.WHATWGFetch={})}(this,function(a){"use strict";var e,r,h="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==h&&h,o="URLSearchParams"in h,n="Symbol"in h&&"iterator"in Symbol,u="FileReader"in h&&"Blob"in h&&function(){try{return new Blob,!0}catch(t){return!1}}(),i="FormData"in h,f="ArrayBuffer"in h;function s(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function c(t){return t="string"!=typeof t?String(t):t}function t(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach(function(t,e){this.append(e,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function y(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(r){return new Promise(function(t,e){r.onload=function(){t(r.result)},r.onerror=function(){e(r.error)}})}function l(t){var e=new FileReader,r=p(e);return e.readAsArrayBuffer(t),r}function b(t){var e;return t.slice?t.slice(0):((e=new Uint8Array(t.byteLength)).set(new Uint8Array(t)),e.buffer)}function m(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:u&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:i&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():f&&u&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):f&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=b(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},u&&(this.blob=function(){var t=y(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(l)}),this.text=function(){var t,e,r=y(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=new FileReader,e=p(t),t.readAsText(r),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(T)}),this.json=function(){return this.text().then(JSON.parse)},this}f&&(e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&-1<e.indexOf(Object.prototype.toString.call(t))}),d.prototype.append=function(t,e){t=s(t),e=c(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},d.prototype.delete=function(t){delete this.map[s(t)]},d.prototype.get=function(t){return t=s(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(s(t))},d.prototype.set=function(t,e){this.map[s(t)]=c(e)},d.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},d.prototype.keys=function(){var r=[];return this.forEach(function(t,e){r.push(e)}),t(r)},d.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),t(e)},d.prototype.entries=function(){var r=[];return this.forEach(function(t,e){r.push([e,t])}),t(r)},n&&(d.prototype[Symbol.iterator]=d.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function E(t,e){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(e=e||{}).body;if(t instanceof E){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new d(e.headers)),this.method=(t=e.method||this.method||"GET",r=t.toUpperCase(),-1<w.indexOf(r)?r:t),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function T(t){var r=new FormData;return t.trim().split("&").forEach(function(t){var e;t&&(e=(t=t.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}function A(t,e){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{},this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new d(e.headers),this.url=e.url||"",this._initBody(t)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})},m.call(E.prototype),m.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},A.error=function(){var t=new A(null,{status:0,statusText:""});return t.type="error",t};var _=[301,302,303,307,308];A.redirect=function(t,e){if(-1===_.indexOf(e))throw new RangeError("Invalid status code");return new A(null,{status:e,headers:{location:t}})},a.DOMException=h.DOMException;try{new a.DOMException}catch(t){a.DOMException=function(t,e){this.message=t,this.name=e;e=Error(t);this.stack=e.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function g(o,s){return new Promise(function(n,t){var e=new E(o,s);if(e.signal&&e.signal.aborted)return t(new a.DOMException("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var t,r,e={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",r=new d,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}).forEach(function(t){var t=t.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),r.append(e,t))}),r)},o=(e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){n(new A(o,e))},0)},i.onerror=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){t(new a.DOMException("Aborted","AbortError"))},0)},i.open(e.method,function(e){try{return""===e&&h.location.href?h.location.href:e}catch(t){return e}}(e.url),!0),"include"===e.credentials?i.withCredentials=!0:"omit"===e.credentials&&(i.withCredentials=!1),"responseType"in i&&(u?i.responseType="blob":f&&e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof d?e.headers.forEach(function(t,e){i.setRequestHeader(e,t)}):Object.getOwnPropertyNames(s.headers).forEach(function(t){i.setRequestHeader(t,c(s.headers[t]))}),e.signal&&(e.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&e.signal.removeEventListener("abort",r)}),i.send(void 0===e._bodyInit?null:e._bodyInit)})}g.polyfill=!0,h.fetch||(h.fetch=g,h.Headers=d,h.Request=E,h.Response=A),a.Headers=d,a.Request=E,a.Response=A,a.fetch=g,Object.defineProperty(a,"__esModule",{value:!0})});
\ No newline at end of file
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.WHATWGFetch={})}(this,(function(t){"use strict";var e,r,o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,n="URLSearchParams"in o,i="Symbol"in o&&"iterator"in Symbol,s="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(t){return!1}}(),a="FormData"in o,h="ArrayBuffer"in o;function u(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function f(t){return"string"!=typeof t?String(t):t}function c(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function y(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function l(t){var e=new FileReader,r=p(e);return e.readAsArrayBuffer(t),r}function b(t){var e;return t.slice?t.slice(0):((e=new Uint8Array(t.byteLength)).set(new Uint8Array(t)),e.buffer)}function m(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:s&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:a&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():h&&s&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):h&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=b(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var t=y(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(l)}),this.text=function(){var t,e,r=y(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=p(t=new FileReader),t.readAsText(r),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(T)}),this.json=function(){return this.text().then(JSON.parse)},this}h&&(e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&-1<e.indexOf(Object.prototype.toString.call(t))}),d.prototype.append=function(t,e){t=u(t),e=f(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},d.prototype.delete=function(t){delete this.map[u(t)]},d.prototype.get=function(t){return t=u(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(u(t))},d.prototype.set=function(t,e){this.map[u(t)]=f(e)},d.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},d.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),c(t)},d.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),c(t)},d.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),c(t)},i&&(d.prototype[Symbol.iterator]=d.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function E(t,e){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(e=e||{}).body;if(t instanceof E){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new d(e.headers)),this.method=(r=(t=e.method||this.method||"GET").toUpperCase(),-1<w.indexOf(r)?r:t),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function T(t){var e=new FormData;return t.trim().split("&").forEach((function(t){var r;t&&(r=(t=t.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),e.append(decodeURIComponent(r),decodeURIComponent(t)))})),e}function A(t,e){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{},this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new d(e.headers),this.url=e.url||"",this._initBody(t)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})},m.call(E.prototype),m.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},A.error=function(){var t=new A(null,{status:0,statusText:""});return t.type="error",t};var _=[301,302,303,307,308];A.redirect=function(t,e){if(-1===_.indexOf(e))throw new RangeError("Invalid status code");return new A(null,{status:e,headers:{location:t}})},t.DOMException=o.DOMException;try{new t.DOMException}catch(c){t.DOMException=function(t,e){this.message=t,this.name=e,e=Error(t),this.stack=e.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function g(e,r){return new Promise((function(n,i){var a=new E(e,r);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function c(){u.abort()}u.onload=function(){var t,e,r={status:u.status,statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",e=new d,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=(t=t.split(":")).shift().trim();r&&(t=t.join(":").trim(),e.append(r,t))})),e)},o=(r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL"),"response"in u?u.response:u.responseText);setTimeout((function(){n(new A(o,r))}),0)},u.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){i(new t.DOMException("Aborted","AbortError"))}),0)},u.open(a.method,function(t){try{return""===t&&o.location.href?o.location.href:t}catch(e){return t}}(a.url),!0),"include"===a.credentials?u.withCredentials=!0:"omit"===a.credentials&&(u.withCredentials=!1),"responseType"in u&&(s?u.responseType="blob":h&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!r||"object"!=typeof r.headers||r.headers instanceof d?a.headers.forEach((function(t,e){u.setRequestHeader(e,t)})):Object.getOwnPropertyNames(r.headers).forEach((function(t){u.setRequestHeader(t,f(r.headers[t]))})),a.signal&&(a.signal.addEventListener("abort",c),u.onreadystatechange=function(){4===u.readyState&&a.signal.removeEventListener("abort",c)}),u.send(void 0===a._bodyInit?null:a._bodyInit)}))}g.polyfill=!0,o.fetch||(o.fetch=g,o.Headers=d,o.Request=E,o.Response=A),t.Headers=d,t.Request=E,t.Response=A,t.fetch=g,Object.defineProperty(t,"__esModule",{value:!0})}));
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/wp-polyfill-formdata.min.js b/wp-includes/js/dist/vendor/wp-polyfill-formdata.min.js
index 84170dbe73..a9dc52f55b 100644
--- a/wp-includes/js/dist/vendor/wp-polyfill-formdata.min.js
+++ b/wp-includes/js/dist/vendor/wp-polyfill-formdata.min.js
@@ -1,20 +1 @@
-;(function(){var h;function l(a){var c=0;return function(){return c<a.length?{done:!1,value:a[c++]}:{done:!0}}}var m="function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){if(a==Array.prototype||a==Object.prototype)return a;a[c]=b.value;return a};
-function n(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var c=0;c<a.length;++c){var b=a[c];if(b&&b.Math==Math)return b}throw Error("Cannot find global object");}var p=n(this);function r(a,c){if(c)a:{for(var b=p,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];if(!(f in b))break a;b=b[f]}d=d[d.length-1];e=b[d];f=c(e);f!=e&&null!=f&&m(b,d,{configurable:!0,writable:!0,value:f})}}
-r("Symbol",function(a){function c(f){if(this instanceof c)throw new TypeError("Symbol is not a constructor");return new b(d+(f||"")+"_"+e++,f)}function b(f,g){this.A=f;m(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;b.prototype.toString=function(){return this.A};var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return c});
-r("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var c="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),b=0;b<c.length;b++){var d=p[c[b]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&m(d.prototype,a,{configurable:!0,writable:!0,value:function(){return u(l(this))}})}return a});function u(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
-function v(a){var c="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return c?c.call(a):{next:l(a)}}var w;if("function"==typeof Object.setPrototypeOf)w=Object.setPrototypeOf;else{var y;a:{var z={a:!0},A={};try{A.__proto__=z;y=A.a;break a}catch(a){}y=!1}w=y?function(a,c){a.__proto__=c;if(a.__proto__!==c)throw new TypeError(a+" is not extensible");return a}:null}var B=w;function C(){this.m=!1;this.j=null;this.v=void 0;this.h=1;this.u=this.C=0;this.l=null}
-function D(a){if(a.m)throw new TypeError("Generator is already running");a.m=!0}C.prototype.o=function(a){this.v=a};C.prototype.s=function(a){this.l={D:a,F:!0};this.h=this.C||this.u};C.prototype["return"]=function(a){this.l={"return":a};this.h=this.u};function E(a,c){a.h=3;return{value:c}}function F(a){this.g=new C;this.G=a}F.prototype.o=function(a){D(this.g);if(this.g.j)return G(this,this.g.j.next,a,this.g.o);this.g.o(a);return H(this)};
-function I(a,c){D(a.g);var b=a.g.j;if(b)return G(a,"return"in b?b["return"]:function(d){return{value:d,done:!0}},c,a.g["return"]);a.g["return"](c);return H(a)}F.prototype.s=function(a){D(this.g);if(this.g.j)return G(this,this.g.j["throw"],a,this.g.o);this.g.s(a);return H(this)};
-function G(a,c,b,d){try{var e=c.call(a.g.j,b);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.m=!1,e;var f=e.value}catch(g){return a.g.j=null,a.g.s(g),H(a)}a.g.j=null;d.call(a.g,f);return H(a)}function H(a){for(;a.g.h;)try{var c=a.G(a.g);if(c)return a.g.m=!1,{value:c.value,done:!1}}catch(b){a.g.v=void 0,a.g.s(b)}a.g.m=!1;if(a.g.l){c=a.g.l;a.g.l=null;if(c.F)throw c.D;return{value:c["return"],done:!0}}return{value:void 0,done:!0}}
-function J(a){this.next=function(c){return a.o(c)};this["throw"]=function(c){return a.s(c)};this["return"]=function(c){return I(a,c)};this[Symbol.iterator]=function(){return this}}function K(a,c){var b=new J(new F(c));B&&a.prototype&&B(b,a.prototype);return b}
-if("undefined"!==typeof Blob&&("undefined"===typeof FormData||!FormData.prototype.keys)){var L=function(a,c){for(var b=0;b<a.length;b++)c(a[b])},M=function(a,c,b){return c instanceof Blob?[String(a),c,void 0!==b?b+"":"string"===typeof c.name?c.name:"blob"]:[String(a),String(c)]},N=function(a,c){if(a.length<c)throw new TypeError(c+" argument required, but only "+a.length+" present.");},O=function(a){var c=v(a);a=c.next().value;var b=c.next().value;c=c.next().value;b instanceof Blob&&(b=new File([b],
-c,{type:b.type,lastModified:b.lastModified}));return[a,b]},P="object"===typeof globalThis?globalThis:"object"===typeof window?window:"object"===typeof self?self:this,Q=P.FormData,R=P.XMLHttpRequest&&P.XMLHttpRequest.prototype.send,S=P.Request&&P.fetch,T=P.navigator&&P.navigator.sendBeacon,U=P.Element&&P.Element.prototype,V=P.Symbol&&Symbol.toStringTag;V&&(Blob.prototype[V]||(Blob.prototype[V]="Blob"),"File"in P&&!File.prototype[V]&&(File.prototype[V]="File"));try{new File([],"")}catch(a){P.File=function(c,
-b,d){c=new Blob(c,d);d=d&&void 0!==d.lastModified?new Date(d.lastModified):new Date;Object.defineProperties(c,{name:{value:b},lastModifiedDate:{value:d},lastModified:{value:+d},toString:{value:function(){return"[object File]"}}});V&&Object.defineProperty(c,V,{value:"File"});return c}}var W=function(a){this.i=[];var c=this;a&&L(a.elements,function(b){if(b.name&&!b.disabled&&"submit"!==b.type&&"button"!==b.type&&!b.matches("form fieldset[disabled] *"))if("file"===b.type){var d=b.files&&b.files.length?
-b.files:[new File([],"",{type:"application/octet-stream"})];L(d,function(e){c.append(b.name,e)})}else"select-multiple"===b.type||"select-one"===b.type?L(b.options,function(e){!e.disabled&&e.selected&&c.append(b.name,e.value)}):"checkbox"===b.type||"radio"===b.type?b.checked&&c.append(b.name,b.value):(d="textarea"===b.type?b.value.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n"):b.value,c.append(b.name,d))})};h=W.prototype;h.append=function(a,c,b){N(arguments,2);this.i.push(M(a,c,b))};h["delete"]=function(a){N(arguments,
-1);var c=[];a=String(a);L(this.i,function(b){b[0]!==a&&c.push(b)});this.i=c};h.entries=function c(){var b,d=this;return K(c,function(e){1==e.h&&(b=0);if(3!=e.h)return b<d.i.length?e=E(e,O(d.i[b])):(e.h=0,e=void 0),e;b++;e.h=2})};h.forEach=function(c,b){N(arguments,1);for(var d=v(this),e=d.next();!e.done;e=d.next()){var f=v(e.value);e=f.next().value;f=f.next().value;c.call(b,f,e,this)}};h.get=function(c){N(arguments,1);var b=this.i;c=String(c);for(var d=0;d<b.length;d++)if(b[d][0]===c)return O(b[d])[1];
-return null};h.getAll=function(c){N(arguments,1);var b=[];c=String(c);L(this.i,function(d){d[0]===c&&b.push(O(d)[1])});return b};h.has=function(c){N(arguments,1);c=String(c);for(var b=0;b<this.i.length;b++)if(this.i[b][0]===c)return!0;return!1};h.keys=function b(){var d=this,e,f,g,k,q;return K(b,function(t){1==t.h&&(e=v(d),f=e.next());if(3!=t.h){if(f.done){t.h=0;return}g=f.value;k=v(g);q=k.next().value;return E(t,q)}f=e.next();t.h=2})};h.set=function(b,d,e){N(arguments,2);b=String(b);var f=[],g=M(b,
-d,e),k=!0;L(this.i,function(q){q[0]===b?k&&(k=!f.push(g)):f.push(q)});k&&f.push(g);this.i=f};h.values=function d(){var e=this,f,g,k,q,t;return K(d,function(x){1==x.h&&(f=v(e),g=f.next());if(3!=x.h){if(g.done){x.h=0;return}k=g.value;q=v(k);q.next();t=q.next().value;return E(x,t)}g=f.next();x.h=2})};W.prototype._asNative=function(){for(var d=new Q,e=v(this),f=e.next();!f.done;f=e.next()){var g=v(f.value);f=g.next().value;g=g.next().value;d.append(f,g)}return d};W.prototype._blob=function(){for(var d=
-"----formdata-polyfill-"+Math.random(),e=[],f=v(this),g=f.next();!g.done;g=f.next()){var k=v(g.value);g=k.next().value;k=k.next().value;e.push("--"+d+"\r\n");k instanceof Blob?e.push('Content-Disposition: form-data; name="'+g+'"; filename="'+k.name+'"\r\nContent-Type: '+((k.type||"application/octet-stream")+"\r\n\r\n"),k,"\r\n"):e.push('Content-Disposition: form-data; name="'+g+'"\r\n\r\n'+k+"\r\n")}e.push("--"+d+"--");return new Blob(e,{type:"multipart/form-data; boundary="+d})};W.prototype[Symbol.iterator]=
-function(){return this.entries()};W.prototype.toString=function(){return"[object FormData]"};U&&!U.matches&&(U.matches=U.matchesSelector||U.mozMatchesSelector||U.msMatchesSelector||U.oMatchesSelector||U.webkitMatchesSelector||function(d){d=(this.document||this.ownerDocument).querySelectorAll(d);for(var e=d.length;0<=--e&&d.item(e)!==this;);return-1<e});V&&(W.prototype[V]="FormData");if(R){var X=P.XMLHttpRequest.prototype.setRequestHeader;P.XMLHttpRequest.prototype.setRequestHeader=function(d,e){X.call(this,
-d,e);"content-type"===d.toLowerCase()&&(this.B=!0)};P.XMLHttpRequest.prototype.send=function(d){d instanceof W?(d=d._blob(),this.B||this.setRequestHeader("Content-Type",d.type),R.call(this,d)):R.call(this,d)}}S&&(P.fetch=function(d,e){e&&e.body&&e.body instanceof W&&(e.body=e.body._blob());return S.call(this,d,e)});T&&(P.navigator.sendBeacon=function(d,e){e instanceof W&&(e=e._asNative());return T.call(this,d,e)});P.FormData=W};
-})();
+!function(){var t;function e(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}var n="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){return t==Array.prototype||t==Object.prototype||(t[e]=n.value),t};var r,o=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var n=t[e];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")}(this);function i(t,e){if(e)t:{for(var r=o,i=t.split("."),a=0;a<i.length-1;a++){var u=i[a];if(!(u in r))break t;r=r[u]}(u=e(a=r[i=i[i.length-1]]))!=a&&null!=u&&n(r,i,{configurable:!0,writable:!0,value:u})}}function a(t){return(t={next:t})[Symbol.iterator]=function(){return this},t}function u(t){var n="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return n?n.call(t):{next:e(t)}}if(i("Symbol",(function(t){function e(t,e){this.A=t,n(this,"description",{configurable:!0,writable:!0,value:e})}if(t)return t;e.prototype.toString=function(){return this.A};var r="jscomp_symbol_"+(1e9*Math.random()>>>0)+"_",o=0;return function t(n){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new e(r+(n||"")+"_"+o++,n)}})),i("Symbol.iterator",(function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var r="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),i=0;i<r.length;i++){var u=o[r[i]];"function"==typeof u&&"function"!=typeof u.prototype[t]&&n(u.prototype,t,{configurable:!0,writable:!0,value:function(){return a(e(this))}})}return t})),"function"==typeof Object.setPrototypeOf)r=Object.setPrototypeOf;else{var l;t:{var s={};try{s.__proto__={a:!0},l=s.a;break t}catch(t){}l=!1}r=l?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var f=r;function c(){this.m=!1,this.j=null,this.v=void 0,this.h=1,this.u=this.C=0,this.l=null}function h(t){if(t.m)throw new TypeError("Generator is already running");t.m=!0}function p(t,e){return t.h=3,{value:e}}function y(t){this.g=new c,this.G=t}function v(t,e,n,r){try{var o=e.call(t.g.j,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return t.g.m=!1,o;var i=o.value}catch(e){return t.g.j=null,t.g.s(e),d(t)}return t.g.j=null,r.call(t.g,i),d(t)}function d(t){for(;t.g.h;)try{var e=t.G(t.g);if(e)return t.g.m=!1,{value:e.value,done:!1}}catch(e){t.g.v=void 0,t.g.s(e)}if(t.g.m=!1,t.g.l){if(e=t.g.l,t.g.l=null,e.F)throw e.D;return{value:e.return,done:!0}}return{value:void 0,done:!0}}function b(t){this.next=function(e){return t.o(e)},this.throw=function(e){return t.s(e)},this.return=function(e){return function(t,e){h(t.g);var n=t.g.j;return n?v(t,"return"in n?n.return:function(t){return{value:t,done:!0}},e,t.g.return):(t.g.return(e),d(t))}(t,e)},this[Symbol.iterator]=function(){return this}}function g(t,e){var n=new b(new y(e));return f&&t.prototype&&f(n,t.prototype),n}if(c.prototype.o=function(t){this.v=t},c.prototype.s=function(t){this.l={D:t,F:!0},this.h=this.C||this.u},c.prototype.return=function(t){this.l={return:t},this.h=this.u},y.prototype.o=function(t){return h(this.g),this.g.j?v(this,this.g.j.next,t,this.g.o):(this.g.o(t),d(this))},y.prototype.s=function(t){return h(this.g),this.g.j?v(this,this.g.j.throw,t,this.g.o):(this.g.s(t),d(this))},"undefined"!=typeof Blob&&("undefined"==typeof FormData||!FormData.prototype.keys)){var m=function(t,e){for(var n=0;n<t.length;n++)e(t[n])},w=function(t,e,n){return e instanceof Blob?[String(t),e,void 0!==n?n+"":"string"==typeof e.name?e.name:"blob"]:[String(t),String(e)]},S=function(t,e){if(t.length<e)throw new TypeError(e+" argument required, but only "+t.length+" present.")},j=function(t){var e=u(t);t=e.next().value;var n=e.next().value;return e=e.next().value,n instanceof Blob&&(n=new File([n],e,{type:n.type,lastModified:n.lastModified})),[t,n]},x="object"==typeof globalThis?globalThis:"object"==typeof window?window:"object"==typeof self?self:this,_=x.FormData,F=x.XMLHttpRequest&&x.XMLHttpRequest.prototype.send,M=x.Request&&x.fetch,A=x.navigator&&x.navigator.sendBeacon,D=x.Element&&x.Element.prototype,B=x.Symbol&&Symbol.toStringTag;B&&(Blob.prototype[B]||(Blob.prototype[B]="Blob"),"File"in x&&!File.prototype[B]&&(File.prototype[B]="File"));try{new File([],"")}catch(t){x.File=function(t,e,n){return t=new Blob(t,n),n=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date,Object.defineProperties(t,{name:{value:e},lastModifiedDate:{value:n},lastModified:{value:+n},toString:{value:function(){return"[object File]"}}}),B&&Object.defineProperty(t,B,{value:"File"}),t}}var T=function(t){this.i=[];var e=this;t&&m(t.elements,(function(t){if(t.name&&!t.disabled&&"submit"!==t.type&&"button"!==t.type&&!t.matches("form fieldset[disabled] *"))if("file"===t.type){var n=t.files&&t.files.length?t.files:[new File([],"",{type:"application/octet-stream"})];m(n,(function(n){e.append(t.name,n)}))}else"select-multiple"===t.type||"select-one"===t.type?m(t.options,(function(n){!n.disabled&&n.selected&&e.append(t.name,n.value)})):"checkbox"===t.type||"radio"===t.type?t.checked&&e.append(t.name,t.value):(n="textarea"===t.type?t.value.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n"):t.value,e.append(t.name,n))}))};if((t=T.prototype).append=function(t,e,n){S(arguments,2),this.i.push(w(t,e,n))},t.delete=function(t){S(arguments,1);var e=[];t=String(t),m(this.i,(function(n){n[0]!==t&&e.push(n)})),this.i=e},t.entries=function t(){var e,n=this;return g(t,(function(t){if(1==t.h&&(e=0),3!=t.h)return e<n.i.length?t=p(t,j(n.i[e])):(t.h=0,t=void 0),t;e++,t.h=2}))},t.forEach=function(t,e){S(arguments,1);for(var n=u(this),r=n.next();!r.done;r=n.next()){var o=u(r.value);r=o.next().value,o=o.next().value,t.call(e,o,r,this)}},t.get=function(t){S(arguments,1);var e=this.i;t=String(t);for(var n=0;n<e.length;n++)if(e[n][0]===t)return j(e[n])[1];return null},t.getAll=function(t){S(arguments,1);var e=[];return t=String(t),m(this.i,(function(n){n[0]===t&&e.push(j(n)[1])})),e},t.has=function(t){S(arguments,1),t=String(t);for(var e=0;e<this.i.length;e++)if(this.i[e][0]===t)return!0;return!1},t.keys=function t(){var e,n,r,o,i=this;return g(t,(function(t){if(1==t.h&&(e=u(i),n=e.next()),3!=t.h)return n.done?void(t.h=0):(r=n.value,o=u(r),p(t,o.next().value));n=e.next(),t.h=2}))},t.set=function(t,e,n){S(arguments,2),t=String(t);var r=[],o=w(t,e,n),i=!0;m(this.i,(function(e){e[0]===t?i&&(i=!r.push(o)):r.push(e)})),i&&r.push(o),this.i=r},t.values=function t(){var e,n,r,o,i=this;return g(t,(function(t){if(1==t.h&&(e=u(i),n=e.next()),3!=t.h)return n.done?void(t.h=0):(r=n.value,(o=u(r)).next(),p(t,o.next().value));n=e.next(),t.h=2}))},T.prototype._asNative=function(){for(var t=new _,e=u(this),n=e.next();!n.done;n=e.next()){var r=u(n.value);n=r.next().value,r=r.next().value,t.append(n,r)}return t},T.prototype._blob=function(){for(var t="----formdata-polyfill-"+Math.random(),e=[],n=u(this),r=n.next();!r.done;r=n.next()){var o=u(r.value);r=o.next().value,o=o.next().value,e.push("--"+t+"\r\n"),o instanceof Blob?e.push('Content-Disposition: form-data; name="'+r+'"; filename="'+o.name+'"\r\nContent-Type: '+(o.type||"application/octet-stream")+"\r\n\r\n",o,"\r\n"):e.push('Content-Disposition: form-data; name="'+r+'"\r\n\r\n'+o+"\r\n")}return e.push("--"+t+"--"),new Blob(e,{type:"multipart/form-data; boundary="+t})},T.prototype[Symbol.iterator]=function(){return this.entries()},T.prototype.toString=function(){return"[object FormData]"},D&&!D.matches&&(D.matches=D.matchesSelector||D.mozMatchesSelector||D.msMatchesSelector||D.oMatchesSelector||D.webkitMatchesSelector||function(t){for(var e=(t=(this.document||this.ownerDocument).querySelectorAll(t)).length;0<=--e&&t.item(e)!==this;);return-1<e}),B&&(T.prototype[B]="FormData"),F){var q=x.XMLHttpRequest.prototype.setRequestHeader;x.XMLHttpRequest.prototype.setRequestHeader=function(t,e){q.call(this,t,e),"content-type"===t.toLowerCase()&&(this.B=!0)},x.XMLHttpRequest.prototype.send=function(t){t instanceof T?(t=t._blob(),this.B||this.setRequestHeader("Content-Type",t.type),F.call(this,t)):F.call(this,t)}}M&&(x.fetch=function(t,e){return e&&e.body&&e.body instanceof T&&(e.body=e.body._blob()),M.call(this,t,e)}),A&&(x.navigator.sendBeacon=function(t,e){return e instanceof T&&(e=e._asNative()),A.call(this,t,e)}),x.FormData=T}}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/wp-polyfill-object-fit.min.js b/wp-includes/js/dist/vendor/wp-polyfill-object-fit.min.js
index d2fc665cfe..b589231911 100644
--- a/wp-includes/js/dist/vendor/wp-polyfill-object-fit.min.js
+++ b/wp-includes/js/dist/vendor/wp-polyfill-object-fit.min.js
@@ -1 +1 @@
-!function(){"use strict";if("undefined"!=typeof window){var t=window.navigator.userAgent.match(/Edge\/(\d{2})\./),e=t?parseInt(t[1],10):null,n=!!e&&(16<=e&&e<=18);if(!("objectFit"in document.documentElement.style!=!1)||n){var o=function(t,e,i){var n,o,l,a,d;if((i=i.split(" ")).length<2&&(i[1]=i[0]),"x"===t)n=i[0],o=i[1],l="left",a="right",d=e.clientWidth;else{if("y"!==t)return;n=i[1],o=i[0],l="top",a="bottom",d=e.clientHeight}if(n!==l&&o!==l){if(n!==a&&o!==a)return"center"===n||"50%"===n?(e.style[l]="50%",void(e.style["margin-"+l]=d/-2+"px")):void(0<=n.indexOf("%")?(n=parseInt(n,10))<50?(e.style[l]=n+"%",e.style["margin-"+l]=d*(n/-100)+"px"):(n=100-n,e.style[a]=n+"%",e.style["margin-"+a]=d*(n/-100)+"px"):e.style[l]=n);e.style[a]="0"}else e.style[l]="0"},l=function(t){var e=t.dataset?t.dataset.objectFit:t.getAttribute("data-object-fit"),i=t.dataset?t.dataset.objectPosition:t.getAttribute("data-object-position");e=e||"cover",i=i||"50% 50%";var n=t.parentNode;return function(t){var e=window.getComputedStyle(t,null),i=e.getPropertyValue("position"),n=e.getPropertyValue("overflow"),o=e.getPropertyValue("display");i&&"static"!==i||(t.style.position="relative"),"hidden"!==n&&(t.style.overflow="hidden"),o&&"inline"!==o||(t.style.display="block"),0===t.clientHeight&&(t.style.height="100%"),-1===t.className.indexOf("object-fit-polyfill")&&(t.className=t.className+" object-fit-polyfill")}(n),function(t){var e=window.getComputedStyle(t,null),i={"max-width":"none","max-height":"none","min-width":"0px","min-height":"0px",top:"auto",right:"auto",bottom:"auto",left:"auto","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"};for(var n in i)e.getPropertyValue(n)!==i[n]&&(t.style[n]=i[n])}(t),t.style.position="absolute",t.style.width="auto",t.style.height="auto","scale-down"===e&&(e=t.clientWidth<n.clientWidth&&t.clientHeight<n.clientHeight?"none":"contain"),"none"===e?(o("x",t,i),void o("y",t,i)):"fill"===e?(t.style.width="100%",t.style.height="100%",o("x",t,i),void o("y",t,i)):(t.style.height="100%",void("cover"===e&&t.clientWidth>n.clientWidth||"contain"===e&&t.clientWidth<n.clientWidth?(t.style.top="0",t.style.marginTop="0",o("x",t,i)):(t.style.width="100%",t.style.height="auto",t.style.left="0",t.style.marginLeft="0",o("y",t,i))))},i=function(t){if(void 0===t||t instanceof Event)t=document.querySelectorAll("[data-object-fit]");else if(t&&t.nodeName)t=[t];else{if("object"!=typeof t||!t.length||!t[0].nodeName)return!1;t=t}for(var e=0;e<t.length;e++)if(t[e].nodeName){var i=t[e].nodeName.toLowerCase();if("img"===i){if(n)continue;t[e].complete?l(t[e]):t[e].addEventListener("load",function(){l(this)})}else"video"===i?0<t[e].readyState?l(t[e]):t[e].addEventListener("loadedmetadata",function(){l(this)}):l(t[e])}return!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",i):i(),window.addEventListener("resize",i),window.objectFitPolyfill=i}else window.objectFitPolyfill=function(){return!1}}}();
\ No newline at end of file
+!function(){"use strict";if("undefined"!=typeof window){var t=window.navigator.userAgent.match(/Edge\/(\d{2})\./),e=t?parseInt(t[1],10):null,i=!!e&&16<=e&&e<=18;if("objectFit"in document.documentElement.style==0||i){var n=function(t,e,i){var n,o,l,a,d;if((i=i.split(" ")).length<2&&(i[1]=i[0]),"x"===t)n=i[0],o=i[1],l="left",a="right",d=e.clientWidth;else{if("y"!==t)return;n=i[1],o=i[0],l="top",a="bottom",d=e.clientHeight}if(n!==l&&o!==l){if(n!==a&&o!==a)return"center"===n||"50%"===n?(e.style[l]="50%",void(e.style["margin-"+l]=d/-2+"px")):void(0<=n.indexOf("%")?(n=parseInt(n,10))<50?(e.style[l]=n+"%",e.style["margin-"+l]=d*(n/-100)+"px"):(n=100-n,e.style[a]=n+"%",e.style["margin-"+a]=d*(n/-100)+"px"):e.style[l]=n);e.style[a]="0"}else e.style[l]="0"},o=function(t){var e=t.dataset?t.dataset.objectFit:t.getAttribute("data-object-fit"),i=t.dataset?t.dataset.objectPosition:t.getAttribute("data-object-position");e=e||"cover",i=i||"50% 50%";var o=t.parentNode;return function(t){var e=window.getComputedStyle(t,null),i=e.getPropertyValue("position"),n=e.getPropertyValue("overflow"),o=e.getPropertyValue("display");i&&"static"!==i||(t.style.position="relative"),"hidden"!==n&&(t.style.overflow="hidden"),o&&"inline"!==o||(t.style.display="block"),0===t.clientHeight&&(t.style.height="100%"),-1===t.className.indexOf("object-fit-polyfill")&&(t.className=t.className+" object-fit-polyfill")}(o),function(t){var e=window.getComputedStyle(t,null),i={"max-width":"none","max-height":"none","min-width":"0px","min-height":"0px",top:"auto",right:"auto",bottom:"auto",left:"auto","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"};for(var n in i)e.getPropertyValue(n)!==i[n]&&(t.style[n]=i[n])}(t),t.style.position="absolute",t.style.width="auto",t.style.height="auto","scale-down"===e&&(e=t.clientWidth<o.clientWidth&&t.clientHeight<o.clientHeight?"none":"contain"),"none"===e?(n("x",t,i),void n("y",t,i)):"fill"===e?(t.style.width="100%",t.style.height="100%",n("x",t,i),void n("y",t,i)):(t.style.height="100%",void("cover"===e&&t.clientWidth>o.clientWidth||"contain"===e&&t.clientWidth<o.clientWidth?(t.style.top="0",t.style.marginTop="0",n("x",t,i)):(t.style.width="100%",t.style.height="auto",t.style.left="0",t.style.marginLeft="0",n("y",t,i))))},l=function(t){if(void 0===t||t instanceof Event)t=document.querySelectorAll("[data-object-fit]");else if(t&&t.nodeName)t=[t];else{if("object"!=typeof t||!t.length||!t[0].nodeName)return!1;t=t}for(var e=0;e<t.length;e++)if(t[e].nodeName){var n=t[e].nodeName.toLowerCase();if("img"===n){if(i)continue;t[e].complete?o(t[e]):t[e].addEventListener("load",(function(){o(this)}))}else"video"===n?0<t[e].readyState?o(t[e]):t[e].addEventListener("loadedmetadata",(function(){o(this)})):o(t[e])}return!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",l):l(),window.addEventListener("resize",l),window.objectFitPolyfill=l}else window.objectFitPolyfill=function(){return!1}}}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/wp-polyfill-url.min.js b/wp-includes/js/dist/vendor/wp-polyfill-url.min.js
index b447c39c1d..f065228ceb 100644
--- a/wp-includes/js/dist/vendor/wp-polyfill-url.min.js
+++ b/wp-includes/js/dist/vendor/wp-polyfill-url.min.js
@@ -1 +1 @@
-!function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};t[o][0].call(u.exports,(function(e){return i(t[o][1][e]||e)}),u,u.exports,e,t,n,r)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},{}],2:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},{"../internals/is-object":37}],3:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),a=e("../internals/object-define-property"),o=r("unscopables"),s=Array.prototype;null==s[o]&&a.f(s,o,{configurable:!0,value:i(null)}),t.exports=function(e){s[o][e]=!0}},{"../internals/object-create":45,"../internals/object-define-property":47,"../internals/well-known-symbol":77}],4:[function(e,t,n){t.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},{}],5:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},{"../internals/is-object":37}],6:[function(e,t,n){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/to-object"),a=e("../internals/call-with-safe-iteration-closing"),o=e("../internals/is-array-iterator-method"),s=e("../internals/to-length"),l=e("../internals/create-property"),c=e("../internals/get-iterator-method");t.exports=function(e){var t,n,u,f,p,h,b=i(e),d="function"==typeof this?this:Array,y=arguments.length,g=y>1?arguments[1]:void 0,v=void 0!==g,m=c(b),w=0;if(v&&(g=r(g,y>2?arguments[2]:void 0,2)),null==m||d==Array&&o(m))for(n=new d(t=s(b.length));t>w;w++)h=v?g(b[w],w):b[w],l(n,w,h);else for(p=(f=m.call(b)).next,n=new d;!(u=p.call(f)).done;w++)h=v?a(f,g,[u.value,w],!0):u.value,l(n,w,h);return n.length=w,n}},{"../internals/call-with-safe-iteration-closing":8,"../internals/create-property":16,"../internals/function-bind-context":23,"../internals/get-iterator-method":25,"../internals/is-array-iterator-method":35,"../internals/to-length":71,"../internals/to-object":72}],7:[function(e,t,n){var r=e("../internals/to-indexed-object"),i=e("../internals/to-length"),a=e("../internals/to-absolute-index"),o=function(e){return function(t,n,o){var s,l=r(t),c=i(l.length),u=a(o,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},{"../internals/to-absolute-index":68,"../internals/to-indexed-object":69,"../internals/to-length":71}],8:[function(e,t,n){var r=e("../internals/an-object");t.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},{"../internals/an-object":5}],9:[function(e,t,n){var r={}.toString;t.exports=function(e){return r.call(e).slice(8,-1)}},{}],10:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/classof-raw"),a=e("../internals/well-known-symbol")("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:o?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},{"../internals/classof-raw":9,"../internals/to-string-tag-support":74,"../internals/well-known-symbol":77}],11:[function(e,t,n){var r=e("../internals/has"),i=e("../internals/own-keys"),a=e("../internals/object-get-own-property-descriptor"),o=e("../internals/object-define-property");t.exports=function(e,t){for(var n=i(t),s=o.f,l=a.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},{"../internals/has":28,"../internals/object-define-property":47,"../internals/object-get-own-property-descriptor":48,"../internals/own-keys":56}],12:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":22}],13:[function(e,t,n){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),a=e("../internals/create-property-descriptor"),o=e("../internals/set-to-string-tag"),s=e("../internals/iterators"),l=function(){return this};t.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:a(1,n)}),o(e,c,!1,!0),s[c]=l,e}},{"../internals/create-property-descriptor":15,"../internals/iterators":40,"../internals/iterators-core":39,"../internals/object-create":45,"../internals/set-to-string-tag":62}],14:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),a=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":15,"../internals/descriptors":18,"../internals/object-define-property":47}],15:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],16:[function(e,t,n){"use strict";var r=e("../internals/to-primitive"),i=e("../internals/object-define-property"),a=e("../internals/create-property-descriptor");t.exports=function(e,t,n){var o=r(t);o in e?i.f(e,o,a(0,n)):e[o]=n}},{"../internals/create-property-descriptor":15,"../internals/object-define-property":47,"../internals/to-primitive":73}],17:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/create-iterator-constructor"),a=e("../internals/object-get-prototype-of"),o=e("../internals/object-set-prototype-of"),s=e("../internals/set-to-string-tag"),l=e("../internals/create-non-enumerable-property"),c=e("../internals/redefine"),u=e("../internals/well-known-symbol"),f=e("../internals/is-pure"),p=e("../internals/iterators"),h=e("../internals/iterators-core"),b=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,y=u("iterator"),g=function(){return this};t.exports=function(e,t,n,u,h,v,m){i(n,t,u);var w,j,x,k=function(e){if(e===h&&L)return L;if(!d&&e in O)return O[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},S=t+" Iterator",A=!1,O=e.prototype,R=O[y]||O["@@iterator"]||h&&O[h],L=!d&&R||k(h),U="Array"==t&&O.entries||R;if(U&&(w=a(U.call(new e)),b!==Object.prototype&&w.next&&(f||a(w)===b||(o?o(w,b):"function"!=typeof w[y]&&l(w,y,g)),s(w,S,!0,!0),f&&(p[S]=g))),"values"==h&&R&&"values"!==R.name&&(A=!0,L=function(){return R.call(this)}),f&&!m||O[y]===L||l(O,y,L),p[t]=L,h)if(j={values:k("values"),keys:v?L:k("keys"),entries:k("entries")},m)for(x in j)!d&&!A&&x in O||c(O,x,j[x]);else r({target:t,proto:!0,forced:d||A},j);return j}},{"../internals/create-iterator-constructor":13,"../internals/create-non-enumerable-property":14,"../internals/export":21,"../internals/is-pure":38,"../internals/iterators":40,"../internals/iterators-core":39,"../internals/object-get-prototype-of":51,"../internals/object-set-prototype-of":55,"../internals/redefine":59,"../internals/set-to-string-tag":62,"../internals/well-known-symbol":77}],18:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":22}],19:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-object"),a=r.document,o=i(a)&&i(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}},{"../internals/global":27,"../internals/is-object":37}],20:[function(e,t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],21:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,a=e("../internals/create-non-enumerable-property"),o=e("../internals/redefine"),s=e("../internals/set-global"),l=e("../internals/copy-constructor-properties"),c=e("../internals/is-forced");t.exports=function(e,t){var n,u,f,p,h,b=e.target,d=e.global,y=e.stat;if(n=d?r:y?r[b]||s(b,{}):(r[b]||{}).prototype)for(u in t){if(p=t[u],f=e.noTargetGet?(h=i(n,u))&&h.value:n[u],!c(d?u:b+(y?".":"#")+u,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;l(p,f)}(e.sham||f&&f.sham)&&a(p,"sham",!0),o(n,u,p,e)}}},{"../internals/copy-constructor-properties":11,"../internals/create-non-enumerable-property":14,"../internals/global":27,"../internals/is-forced":36,"../internals/object-get-own-property-descriptor":48,"../internals/redefine":59,"../internals/set-global":61}],22:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],23:[function(e,t,n){var r=e("../internals/a-function");t.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},{"../internals/a-function":1}],24:[function(e,t,n){var r=e("../internals/path"),i=e("../internals/global"),a=function(e){return"function"==typeof e?e:void 0};t.exports=function(e,t){return arguments.length<2?a(r[e])||a(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},{"../internals/global":27,"../internals/path":57}],25:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/iterators"),a=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||i[r(e)]}},{"../internals/classof":10,"../internals/iterators":40,"../internals/well-known-symbol":77}],26:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/get-iterator-method");t.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},{"../internals/an-object":5,"../internals/get-iterator-method":25}],27:[function(e,t,n){(function(e){var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],28:[function(e,t,n){var r={}.hasOwnProperty;t.exports=function(e,t){return r.call(e,t)}},{}],29:[function(e,t,n){t.exports={}},{}],30:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":24}],31:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails"),a=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":18,"../internals/document-create-element":19,"../internals/fails":22}],32:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/classof-raw"),a="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a.call(e,""):Object(e)}:Object},{"../internals/classof-raw":9,"../internals/fails":22}],33:[function(e,t,n){var r=e("../internals/shared-store"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),t.exports=r.inspectSource},{"../internals/shared-store":64}],34:[function(e,t,n){var r,i,a,o=e("../internals/native-weak-map"),s=e("../internals/global"),l=e("../internals/is-object"),c=e("../internals/create-non-enumerable-property"),u=e("../internals/has"),f=e("../internals/shared-key"),p=e("../internals/hidden-keys"),h=s.WeakMap;if(o){var b=new h,d=b.get,y=b.has,g=b.set;r=function(e,t){return g.call(b,e,t),t},i=function(e){return d.call(b,e)||{}},a=function(e){return y.call(b,e)}}else{var v=f("state");p[v]=!0,r=function(e,t){return c(e,v,t),t},i=function(e){return u(e,v)?e[v]:{}},a=function(e){return u(e,v)}}t.exports={set:r,get:i,has:a,enforce:function(e){return a(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":14,"../internals/global":27,"../internals/has":28,"../internals/hidden-keys":29,"../internals/is-object":37,"../internals/native-weak-map":43,"../internals/shared-key":63}],35:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),a=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},{"../internals/iterators":40,"../internals/well-known-symbol":77}],36:[function(e,t,n){var r=e("../internals/fails"),i=/#|\.prototype\./,a=function(e,t){var n=s[o(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},{"../internals/fails":22}],37:[function(e,t,n){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],38:[function(e,t,n){t.exports=!1},{}],39:[function(e,t,n){"use strict";var r,i,a,o=e("../internals/object-get-prototype-of"),s=e("../internals/create-non-enumerable-property"),l=e("../internals/has"),c=e("../internals/well-known-symbol"),u=e("../internals/is-pure"),f=c("iterator"),p=!1;[].keys&&("next"in(a=[].keys())?(i=o(o(a)))!==Object.prototype&&(r=i):p=!0),null==r&&(r={}),u||l(r,f)||s(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},{"../internals/create-non-enumerable-property":14,"../internals/has":28,"../internals/is-pure":38,"../internals/object-get-prototype-of":51,"../internals/well-known-symbol":77}],40:[function(e,t,n){arguments[4][29][0].apply(n,arguments)},{dup:29}],41:[function(e,t,n){var r=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},{"../internals/fails":22}],42:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/well-known-symbol"),a=e("../internals/is-pure"),o=i("iterator");t.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},{"../internals/fails":22,"../internals/is-pure":38,"../internals/well-known-symbol":77}],43:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/inspect-source"),a=r.WeakMap;t.exports="function"==typeof a&&/native code/.test(i(a))},{"../internals/global":27,"../internals/inspect-source":33}],44:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails"),a=e("../internals/object-keys"),o=e("../internals/object-get-own-property-symbols"),s=e("../internals/object-property-is-enumerable"),l=e("../internals/to-object"),c=e("../internals/indexed-object"),u=Object.assign,f=Object.defineProperty;t.exports=!u||i((function(){if(r&&1!==u({b:1},u(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=a(u({},t)).join("")}))?function(e,t){for(var n=l(e),i=arguments.length,u=1,f=o.f,p=s.f;i>u;)for(var h,b=c(arguments[u++]),d=f?a(b).concat(f(b)):a(b),y=d.length,g=0;y>g;)h=d[g++],r&&!p.call(b,h)||(n[h]=b[h]);return n}:u},{"../internals/descriptors":18,"../internals/fails":22,"../internals/indexed-object":32,"../internals/object-get-own-property-symbols":50,"../internals/object-keys":53,"../internals/object-property-is-enumerable":54,"../internals/to-object":72}],45:[function(e,t,n){var r,i=e("../internals/an-object"),a=e("../internals/object-define-properties"),o=e("../internals/enum-bug-keys"),s=e("../internals/hidden-keys"),l=e("../internals/html"),c=e("../internals/document-create-element"),u=e("../internals/shared-key"),f=u("IE_PROTO"),p=function(){},h=function(e){return"<script>"+e+"<\/script>"},b=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;b=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=o.length;n--;)delete b.prototype[o[n]];return b()};s[f]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=i(e),n=new p,p.prototype=null,n[f]=e):n=b(),void 0===t?n:a(n,t)}},{"../internals/an-object":5,"../internals/document-create-element":19,"../internals/enum-bug-keys":20,"../internals/hidden-keys":29,"../internals/html":30,"../internals/object-define-properties":46,"../internals/shared-key":63}],46:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),a=e("../internals/an-object"),o=e("../internals/object-keys");t.exports=r?Object.defineProperties:function(e,t){a(e);for(var n,r=o(t),s=r.length,l=0;s>l;)i.f(e,n=r[l++],t[n]);return e}},{"../internals/an-object":5,"../internals/descriptors":18,"../internals/object-define-property":47,"../internals/object-keys":53}],47:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),a=e("../internals/an-object"),o=e("../internals/to-primitive"),s=Object.defineProperty;n.f=r?s:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":5,"../internals/descriptors":18,"../internals/ie8-dom-define":31,"../internals/to-primitive":73}],48:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-property-is-enumerable"),a=e("../internals/create-property-descriptor"),o=e("../internals/to-indexed-object"),s=e("../internals/to-primitive"),l=e("../internals/has"),c=e("../internals/ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=r?u:function(e,t){if(e=o(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return a(!i.f.call(e,t),e[t])}},{"../internals/create-property-descriptor":15,"../internals/descriptors":18,"../internals/has":28,"../internals/ie8-dom-define":31,"../internals/object-property-is-enumerable":54,"../internals/to-indexed-object":69,"../internals/to-primitive":73}],49:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"../internals/enum-bug-keys":20,"../internals/object-keys-internal":52}],50:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],51:[function(e,t,n){var r=e("../internals/has"),i=e("../internals/to-object"),a=e("../internals/shared-key"),o=e("../internals/correct-prototype-getter"),s=a("IE_PROTO"),l=Object.prototype;t.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},{"../internals/correct-prototype-getter":12,"../internals/has":28,"../internals/shared-key":63,"../internals/to-object":72}],52:[function(e,t,n){var r=e("../internals/has"),i=e("../internals/to-indexed-object"),a=e("../internals/array-includes").indexOf,o=e("../internals/hidden-keys");t.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)!r(o,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},{"../internals/array-includes":7,"../internals/has":28,"../internals/hidden-keys":29,"../internals/to-indexed-object":69}],53:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"../internals/enum-bug-keys":20,"../internals/object-keys-internal":52}],54:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);n.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],55:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,a){return r(n),i(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},{"../internals/a-possible-prototype":2,"../internals/an-object":5}],56:[function(e,t,n){var r=e("../internals/get-built-in"),i=e("../internals/object-get-own-property-names"),a=e("../internals/object-get-own-property-symbols"),o=e("../internals/an-object");t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),n=a.f;return n?t.concat(n(e)):t}},{"../internals/an-object":5,"../internals/get-built-in":24,"../internals/object-get-own-property-names":49,"../internals/object-get-own-property-symbols":50}],57:[function(e,t,n){var r=e("../internals/global");t.exports=r},{"../internals/global":27}],58:[function(e,t,n){var r=e("../internals/redefine");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/redefine":59}],59:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property"),a=e("../internals/has"),o=e("../internals/set-global"),s=e("../internals/inspect-source"),l=e("../internals/internal-state"),c=l.get,u=l.enforce,f=String(String).split("String");(t.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),u(n).source=f.join("string"==typeof t?t:"")),e!==r?(l?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=n:i(e,t,n)):c?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},{"../internals/create-non-enumerable-property":14,"../internals/global":27,"../internals/has":28,"../internals/inspect-source":33,"../internals/internal-state":34,"../internals/set-global":61}],60:[function(e,t,n){t.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},{}],61:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property");t.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},{"../internals/create-non-enumerable-property":14,"../internals/global":27}],62:[function(e,t,n){var r=e("../internals/object-define-property").f,i=e("../internals/has"),a=e("../internals/well-known-symbol")("toStringTag");t.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},{"../internals/has":28,"../internals/object-define-property":47,"../internals/well-known-symbol":77}],63:[function(e,t,n){var r=e("../internals/shared"),i=e("../internals/uid"),a=r("keys");t.exports=function(e){return a[e]||(a[e]=i(e))}},{"../internals/shared":65,"../internals/uid":75}],64:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/set-global"),a=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=a},{"../internals/global":27,"../internals/set-global":61}],65:[function(e,t,n){var r=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},{"../internals/is-pure":38,"../internals/shared-store":64}],66:[function(e,t,n){var r=e("../internals/to-integer"),i=e("../internals/require-object-coercible"),a=function(e){return function(t,n){var a,o,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):a:e?s.slice(l,l+2):o-56320+(a-55296<<10)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},{"../internals/require-object-coercible":60,"../internals/to-integer":70}],67:[function(e,t,n){"use strict";var r=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",o=Math.floor,s=String.fromCharCode,l=function(e){return e+22+75*(e<26)},c=function(e,t,n){var r=0;for(e=n?o(e/700):e>>1,e+=o(e/t);e>455;r+=36)e=o(e/35);return o(r+36*e/(e+38))},u=function(e){var t,n,r=[],i=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,u=128,f=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var h=r.length,b=h;for(h&&r.push("-");b<i;){var d=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=u&&n<d&&(d=n);var y=b+1;if(d-u>o((2147483647-f)/y))throw RangeError(a);for(f+=(d-u)*y,u=d,t=0;t<e.length;t++){if((n=e[t])<u&&++f>2147483647)throw RangeError(a);if(n==u){for(var g=f,v=36;;v+=36){var m=v<=p?1:v>=p+26?26:v-p;if(g<m)break;var w=g-m,j=36-m;r.push(s(l(m+w%j))),g=o(w/j)}r.push(s(l(g))),p=c(f,y,b==h),f=0,++b}}++f,++u}return r.join("")};t.exports=function(e){var t,n,a=[],o=e.toLowerCase().replace(i,".").split(".");for(t=0;t<o.length;t++)n=o[t],a.push(r.test(n)?"xn--"+u(n):n);return a.join(".")}},{}],68:[function(e,t,n){var r=e("../internals/to-integer"),i=Math.max,a=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},{"../internals/to-integer":70}],69:[function(e,t,n){var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return r(i(e))}},{"../internals/indexed-object":32,"../internals/require-object-coercible":60}],70:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?i:r)(e)}},{}],71:[function(e,t,n){var r=e("../internals/to-integer"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"../internals/to-integer":70}],72:[function(e,t,n){var r=e("../internals/require-object-coercible");t.exports=function(e){return Object(r(e))}},{"../internals/require-object-coercible":60}],73:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},{"../internals/is-object":37}],74:[function(e,t,n){var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":77}],75:[function(e,t,n){var r=0,i=Math.random();t.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+i).toString(36)}},{}],76:[function(e,t,n){var r=e("../internals/native-symbol");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/native-symbol":41}],77:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/shared"),a=e("../internals/has"),o=e("../internals/uid"),s=e("../internals/native-symbol"),l=e("../internals/use-symbol-as-uid"),c=i("wks"),u=r.Symbol,f=l?u:u&&u.withoutSetter||o;t.exports=function(e){return a(c,e)||(s&&a(u,e)?c[e]=u[e]:c[e]=f("Symbol."+e)),c[e]}},{"../internals/global":27,"../internals/has":28,"../internals/native-symbol":41,"../internals/shared":65,"../internals/uid":75,"../internals/use-symbol-as-uid":76}],78:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),a=e("../internals/iterators"),o=e("../internals/internal-state"),s=e("../internals/define-iterator"),l=o.set,c=o.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},{"../internals/add-to-unscopables":3,"../internals/define-iterator":17,"../internals/internal-state":34,"../internals/iterators":40,"../internals/to-indexed-object":69}],79:[function(e,t,n){"use strict";var r=e("../internals/string-multibyte").charAt,i=e("../internals/internal-state"),a=e("../internals/define-iterator"),o=i.set,s=i.getterFor("String Iterator");a(String,"String",(function(e){o(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},{"../internals/define-iterator":17,"../internals/internal-state":34,"../internals/string-multibyte":66}],80:[function(e,t,n){"use strict";e("../modules/es.array.iterator");var r=e("../internals/export"),i=e("../internals/get-built-in"),a=e("../internals/native-url"),o=e("../internals/redefine"),s=e("../internals/redefine-all"),l=e("../internals/set-to-string-tag"),c=e("../internals/create-iterator-constructor"),u=e("../internals/internal-state"),f=e("../internals/an-instance"),p=e("../internals/has"),h=e("../internals/function-bind-context"),b=e("../internals/classof"),d=e("../internals/an-object"),y=e("../internals/is-object"),g=e("../internals/object-create"),v=e("../internals/create-property-descriptor"),m=e("../internals/get-iterator"),w=e("../internals/get-iterator-method"),j=e("../internals/well-known-symbol"),x=i("fetch"),k=i("Headers"),S=j("iterator"),A=u.set,O=u.getterFor("URLSearchParams"),R=u.getterFor("URLSearchParamsIterator"),L=/\+/g,U=Array(4),P=function(e){return U[e-1]||(U[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},q=function(e){var t=e.replace(L," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(P(n--),I);return t}},E=/[!'()~]|%20/g,_={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},T=function(e){return _[e]},B=function(e){return encodeURIComponent(e).replace(E,T)},F=function(e,t){if(t)for(var n,r,i=t.split("&"),a=0;a<i.length;)(n=i[a++]).length&&(r=n.split("="),e.push({key:q(r.shift()),value:q(r.join("="))}))},C=function(e){this.entries.length=0,F(this.entries,e)},M=function(e,t){if(e<t)throw TypeError("Not enough arguments")},N=c((function(e,t){A(this,{type:"URLSearchParamsIterator",iterator:m(O(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),D=function(){f(this,D,"URLSearchParams");var e,t,n,r,i,a,o,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,h=[];if(A(u,{type:"URLSearchParams",entries:h,updateURL:function(){},updateSearchParams:C}),void 0!==c)if(y(c))if("function"==typeof(e=w(c)))for(n=(t=e.call(c)).next;!(r=n.call(t)).done;){if((o=(a=(i=m(d(r.value))).next).call(i)).done||(s=a.call(i)).done||!a.call(i).done)throw TypeError("Expected sequence with length 2");h.push({key:o.value+"",value:s.value+""})}else for(l in c)p(c,l)&&h.push({key:l,value:c[l]+""});else F(h,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},z=D.prototype;s(z,{append:function(e,t){M(arguments.length,2);var n=O(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){M(arguments.length,1);for(var t=O(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){M(arguments.length,1);for(var t=O(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){M(arguments.length,1);for(var t=O(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){M(arguments.length,1);for(var t=O(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){M(arguments.length,1);for(var n,r=O(this),i=r.entries,a=!1,o=e+"",s=t+"",l=0;l<i.length;l++)(n=i[l]).key===o&&(a?i.splice(l--,1):(a=!0,n.value=s));a||i.push({key:o,value:s}),r.updateURL()},sort:function(){var e,t,n,r=O(this),i=r.entries,a=i.slice();for(i.length=0,n=0;n<a.length;n++){for(e=a[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){for(var t,n=O(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new N(this,"keys")},values:function(){return new N(this,"values")},entries:function(){return new N(this,"entries")}},{enumerable:!0}),o(z,S,z.entries),o(z,"toString",(function(){for(var e,t=O(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(B(e.key)+"="+B(e.value));return n.join("&")}),{enumerable:!0}),l(D,"URLSearchParams"),r({global:!0,forced:!a},{URLSearchParams:D}),a||"function"!=typeof x||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(t=arguments[1],y(t)&&(n=t.body,"URLSearchParams"===b(n)&&((r=t.headers?new k(t.headers):new k).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:v(0,String(n)),headers:v(0,r)}))),i.push(t)),x.apply(this,i)}}),t.exports={URLSearchParams:D,getState:O}},{"../internals/an-instance":4,"../internals/an-object":5,"../internals/classof":10,"../internals/create-iterator-constructor":13,"../internals/create-property-descriptor":15,"../internals/export":21,"../internals/function-bind-context":23,"../internals/get-built-in":24,"../internals/get-iterator":26,"../internals/get-iterator-method":25,"../internals/has":28,"../internals/internal-state":34,"../internals/is-object":37,"../internals/native-url":42,"../internals/object-create":45,"../internals/redefine":59,"../internals/redefine-all":58,"../internals/set-to-string-tag":62,"../internals/well-known-symbol":77,"../modules/es.array.iterator":78}],81:[function(e,t,n){"use strict";e("../modules/es.string.iterator");var r,i=e("../internals/export"),a=e("../internals/descriptors"),o=e("../internals/native-url"),s=e("../internals/global"),l=e("../internals/object-define-properties"),c=e("../internals/redefine"),u=e("../internals/an-instance"),f=e("../internals/has"),p=e("../internals/object-assign"),h=e("../internals/array-from"),b=e("../internals/string-multibyte").codeAt,d=e("../internals/string-punycode-to-ascii"),y=e("../internals/set-to-string-tag"),g=e("../modules/web.url-search-params"),v=e("../internals/internal-state"),m=s.URL,w=g.URLSearchParams,j=g.getState,x=v.set,k=v.getterFor("URL"),S=Math.floor,A=Math.pow,O=/[A-Za-z]/,R=/[\d+\-.A-Za-z]/,L=/\d/,U=/^(0x|0X)/,P=/^[0-7]+$/,I=/^\d+$/,q=/^[\dA-Fa-f]+$/,E=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,_=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,T=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,B=/[\u0009\u000A\u000D]/g,F=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=M(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Y(e)){if(t=d(t),E.test(t))return"Invalid host";if(null===(n=C(t)))return"Invalid host";e.host=n}else{if(_.test(t))return"Invalid host";for(n="",r=h(t),i=0;i<r.length;i++)n+=$(r[i],D);e.host=n}},C=function(e){var t,n,r,i,a,o,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=l[r]))return e;if(a=10,i.length>1&&"0"==i.charAt(0)&&(a=U.test(i)?16:8,i=i.slice(8==a?1:2)),""===i)o=0;else{if(!(10==a?I:8==a?P:q).test(i))return e;o=parseInt(i,a)}n.push(o)}for(r=0;r<t;r++)if(o=n[r],r==t-1){if(o>=A(256,5-t))return null}else if(o>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*A(256,3-r);return s},M=function(e){var t,n,r,i,a,o,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,u=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=n=0;n<4&&q.test(p());)t=16*t+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,c>6)return;for(r=0;p();){if(i=null,r>0){if(!("."==p()&&r<4))return;f++}if(!L.test(p()))return;for(;L.test(p());){if(a=parseInt(p(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;f++}l[c]=256*l[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;l[c++]=t}else{if(null!==u)return;f++,u=++c}}if(null!==u)for(o=c-u,c=7;0!=c&&o>0;)s=l[c],l[c--]=l[u+o-1],l[u+--o]=s;else if(8!=c)return;return l},N=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,a=0;a<8;a++)0!==e[a]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=a),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},D={},z=p({},D,{" ":1,'"':1,"<":1,">":1,"`":1}),G=p({},z,{"#":1,"?":1,"{":1,"}":1}),W=p({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),$=function(e,t){var n=b(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return f(J,e.scheme)},X=function(e){return""!=e.username||""!=e.password},Z=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},H=function(e,t){var n;return 2==e.length&&O.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},K=function(e){var t;return e.length>1&&H(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},V=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&H(t[0],!0)||t.pop()},Q=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},ie={},ae={},oe={},se={},le={},ce={},ue={},fe={},pe={},he={},be={},de={},ye={},ge={},ve={},me={},we={},je=function(e,t,n,i){var a,o,s,l,c,u=n||ee,p=0,b="",d=!1,y=!1,g=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(T,"")),t=t.replace(B,""),a=h(t);p<=a.length;){switch(o=a[p],u){case ee:if(!o||!O.test(o)){if(n)return"Invalid scheme";u=ne;continue}b+=o.toLowerCase(),u=te;break;case te:if(o&&(R.test(o)||"+"==o||"-"==o||"."==o))b+=o.toLowerCase();else{if(":"!=o){if(n)return"Invalid scheme";b="",u=ne,p=0;continue}if(n&&(Y(e)!=f(J,b)||"file"==b&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=b,n)return void(Y(e)&&J[e.scheme]==e.port&&(e.port=null));b="","file"==e.scheme?u=he:Y(e)&&i&&i.scheme==e.scheme?u=re:Y(e)?u=se:"/"==a[p+1]?(u=ie,p++):(e.cannotBeABaseURL=!0,e.path.push(""),u=ve)}break;case ne:if(!i||i.cannotBeABaseURL&&"#"!=o)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==o){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=we;break}u="file"==i.scheme?he:ae;continue;case re:if("/"!=o||"/"!=a[p+1]){u=ae;continue}u=le,p++;break;case ie:if("/"==o){u=ce;break}u=ge;continue;case ae:if(e.scheme=i.scheme,o==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==o||"\\"==o&&Y(e))u=oe;else if("?"==o)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=me;else{if("#"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=ge;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=we}break;case oe:if(!Y(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=ge;continue}u=ce}else u=le;break;case se:if(u=le,"/"!=o||"/"!=b.charAt(p+1))continue;p++;break;case le:if("/"!=o&&"\\"!=o){u=ce;continue}break;case ce:if("@"==o){d&&(b="%40"+b),d=!0,s=h(b);for(var v=0;v<s.length;v++){var m=s[v];if(":"!=m||g){var w=$(m,W);g?e.password+=w:e.username+=w}else g=!0}b=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&Y(e)){if(d&&""==b)return"Invalid authority";p-=h(b).length+1,b="",u=ue}else b+=o;break;case ue:case fe:if(n&&"file"==e.scheme){u=de;continue}if(":"!=o||y){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&Y(e)){if(Y(e)&&""==b)return"Invalid host";if(n&&""==b&&(X(e)||null!==e.port))return;if(l=F(e,b))return l;if(b="",u=ye,n)return;continue}"["==o?y=!0:"]"==o&&(y=!1),b+=o}else{if(""==b)return"Invalid host";if(l=F(e,b))return l;if(b="",u=pe,n==fe)return}break;case pe:if(!L.test(o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&Y(e)||n){if(""!=b){var j=parseInt(b,10);if(j>65535)return"Invalid port";e.port=Y(e)&&j===J[e.scheme]?null:j,b=""}if(n)return;u=ye;continue}return"Invalid port"}b+=o;break;case he:if(e.scheme="file","/"==o||"\\"==o)u=be;else{if(!i||"file"!=i.scheme){u=ge;continue}if(o==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==o)e.host=i.host,e.path=i.path.slice(),e.query="",u=me;else{if("#"!=o){K(a.slice(p).join(""))||(e.host=i.host,e.path=i.path.slice(),V(e)),u=ge;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=we}}break;case be:if("/"==o||"\\"==o){u=de;break}i&&"file"==i.scheme&&!K(a.slice(p).join(""))&&(H(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=ge;continue;case de:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!n&&H(b))u=ge;else if(""==b){if(e.host="",n)return;u=ye}else{if(l=F(e,b))return l;if("localhost"==e.host&&(e.host=""),n)return;b="",u=ye}continue}b+=o;break;case ye:if(Y(e)){if(u=ge,"/"!=o&&"\\"!=o)continue}else if(n||"?"!=o)if(n||"#"!=o){if(o!=r&&(u=ge,"/"!=o))continue}else e.fragment="",u=we;else e.query="",u=me;break;case ge:if(o==r||"/"==o||"\\"==o&&Y(e)||!n&&("?"==o||"#"==o)){if(".."===(c=(c=b).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(V(e),"/"==o||"\\"==o&&Y(e)||e.path.push("")):Q(b)?"/"==o||"\\"==o&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&H(b)&&(e.host&&(e.host=""),b=b.charAt(0)+":"),e.path.push(b)),b="","file"==e.scheme&&(o==r||"?"==o||"#"==o))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",u=me):"#"==o&&(e.fragment="",u=we)}else b+=$(o,G);break;case ve:"?"==o?(e.query="",u=me):"#"==o?(e.fragment="",u=we):o!=r&&(e.path[0]+=$(o,D));break;case me:n||"#"!=o?o!=r&&("'"==o&&Y(e)?e.query+="%27":e.query+="#"==o?"%23":$(o,D)):(e.fragment="",u=we);break;case we:o!=r&&(e.fragment+=$(o,z))}p++}},xe=function(e){var t,n,r=u(this,xe,"URL"),i=arguments.length>1?arguments[1]:void 0,o=String(e),s=x(r,{type:"URL"});if(void 0!==i)if(i instanceof xe)t=k(i);else if(n=je(t={},String(i)))throw TypeError(n);if(n=je(s,o,null,t))throw TypeError(n);var l=s.searchParams=new w,c=j(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},a||(r.href=Se.call(r),r.origin=Ae.call(r),r.protocol=Oe.call(r),r.username=Re.call(r),r.password=Le.call(r),r.host=Ue.call(r),r.hostname=Pe.call(r),r.port=Ie.call(r),r.pathname=qe.call(r),r.search=Ee.call(r),r.searchParams=_e.call(r),r.hash=Te.call(r))},ke=xe.prototype,Se=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,i=e.host,a=e.port,o=e.path,s=e.query,l=e.fragment,c=t+":";return null!==i?(c+="//",X(e)&&(c+=n+(r?":"+r:"")+"@"),c+=N(i),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Ae=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+N(e.host)+(null!==n?":"+n:""):"null"},Oe=function(){return k(this).scheme+":"},Re=function(){return k(this).username},Le=function(){return k(this).password},Ue=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?N(t):N(t)+":"+n},Pe=function(){var e=k(this).host;return null===e?"":N(e)},Ie=function(){var e=k(this).port;return null===e?"":String(e)},qe=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ee=function(){var e=k(this).query;return e?"?"+e:""},_e=function(){return k(this).searchParams},Te=function(){var e=k(this).fragment;return e?"#"+e:""},Be=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&l(ke,{href:Be(Se,(function(e){var t=k(this),n=String(e),r=je(t,n);if(r)throw TypeError(r);j(t.searchParams).updateSearchParams(t.query)})),origin:Be(Ae),protocol:Be(Oe,(function(e){var t=k(this);je(t,String(e)+":",ee)})),username:Be(Re,(function(e){var t=k(this),n=h(String(e));if(!Z(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=$(n[r],W)}})),password:Be(Le,(function(e){var t=k(this),n=h(String(e));if(!Z(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=$(n[r],W)}})),host:Be(Ue,(function(e){var t=k(this);t.cannotBeABaseURL||je(t,String(e),ue)})),hostname:Be(Pe,(function(e){var t=k(this);t.cannotBeABaseURL||je(t,String(e),fe)})),port:Be(Ie,(function(e){var t=k(this);Z(t)||(""==(e=String(e))?t.port=null:je(t,e,pe))})),pathname:Be(qe,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],je(t,e+"",ye))})),search:Be(Ee,(function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",je(t,e,me)),j(t.searchParams).updateSearchParams(t.query)})),searchParams:Be(_e),hash:Be(Te,(function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",je(t,e,we)):t.fragment=null}))}),c(ke,"toJSON",(function(){return Se.call(this)}),{enumerable:!0}),c(ke,"toString",(function(){return Se.call(this)}),{enumerable:!0}),m){var Fe=m.createObjectURL,Ce=m.revokeObjectURL;Fe&&c(xe,"createObjectURL",(function(e){return Fe.apply(m,arguments)})),Ce&&c(xe,"revokeObjectURL",(function(e){return Ce.apply(m,arguments)}))}y(xe,"URL"),i({global:!0,forced:!o,sham:!a},{URL:xe})},{"../internals/an-instance":4,"../internals/array-from":6,"../internals/descriptors":18,"../internals/export":21,"../internals/global":27,"../internals/has":28,"../internals/internal-state":34,"../internals/native-url":42,"../internals/object-assign":44,"../internals/object-define-properties":46,"../internals/redefine":59,"../internals/set-to-string-tag":62,"../internals/string-multibyte":66,"../internals/string-punycode-to-ascii":67,"../modules/es.string.iterator":79,"../modules/web.url-search-params":80}],82:[function(e,t,n){"use strict";e("../internals/export")({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},{"../internals/export":21}],83:[function(e,t,n){e("../modules/web.url"),e("../modules/web.url.to-json"),e("../modules/web.url-search-params");var r=e("../internals/path");t.exports=r.URL},{"../internals/path":57,"../modules/web.url":81,"../modules/web.url-search-params":80,"../modules/web.url.to-json":82}]},{},[83]);
\ No newline at end of file
+!function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(a)return a(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};t[o][0].call(u.exports,(function(e){return i(t[o][1][e]||e)}),u,u.exports,e,t,n,r)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},{}],2:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},{"../internals/is-object":37}],3:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),a=e("../internals/object-define-property"),o=r("unscopables"),s=Array.prototype;null==s[o]&&a.f(s,o,{configurable:!0,value:i(null)}),t.exports=function(e){s[o][e]=!0}},{"../internals/object-create":45,"../internals/object-define-property":47,"../internals/well-known-symbol":77}],4:[function(e,t,n){t.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},{}],5:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},{"../internals/is-object":37}],6:[function(e,t,n){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/to-object"),a=e("../internals/call-with-safe-iteration-closing"),o=e("../internals/is-array-iterator-method"),s=e("../internals/to-length"),l=e("../internals/create-property"),c=e("../internals/get-iterator-method");t.exports=function(e){var t,n,u,f,p,h,b=i(e),d="function"==typeof this?this:Array,y=arguments.length,g=y>1?arguments[1]:void 0,v=void 0!==g,m=c(b),w=0;if(v&&(g=r(g,y>2?arguments[2]:void 0,2)),null==m||d==Array&&o(m))for(n=new d(t=s(b.length));t>w;w++)h=v?g(b[w],w):b[w],l(n,w,h);else for(p=(f=m.call(b)).next,n=new d;!(u=p.call(f)).done;w++)h=v?a(f,g,[u.value,w],!0):u.value,l(n,w,h);return n.length=w,n}},{"../internals/call-with-safe-iteration-closing":8,"../internals/create-property":16,"../internals/function-bind-context":23,"../internals/get-iterator-method":25,"../internals/is-array-iterator-method":35,"../internals/to-length":71,"../internals/to-object":72}],7:[function(e,t,n){var r=e("../internals/to-indexed-object"),i=e("../internals/to-length"),a=e("../internals/to-absolute-index"),o=function(e){return function(t,n,o){var s,l=r(t),c=i(l.length),u=a(o,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},{"../internals/to-absolute-index":68,"../internals/to-indexed-object":69,"../internals/to-length":71}],8:[function(e,t,n){var r=e("../internals/an-object");t.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},{"../internals/an-object":5}],9:[function(e,t,n){var r={}.toString;t.exports=function(e){return r.call(e).slice(8,-1)}},{}],10:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/classof-raw"),a=e("../internals/well-known-symbol")("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:o?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},{"../internals/classof-raw":9,"../internals/to-string-tag-support":74,"../internals/well-known-symbol":77}],11:[function(e,t,n){var r=e("../internals/has"),i=e("../internals/own-keys"),a=e("../internals/object-get-own-property-descriptor"),o=e("../internals/object-define-property");t.exports=function(e,t){for(var n=i(t),s=o.f,l=a.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},{"../internals/has":28,"../internals/object-define-property":47,"../internals/object-get-own-property-descriptor":48,"../internals/own-keys":56}],12:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":22}],13:[function(e,t,n){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),a=e("../internals/create-property-descriptor"),o=e("../internals/set-to-string-tag"),s=e("../internals/iterators"),l=function(){return this};t.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:a(1,n)}),o(e,c,!1,!0),s[c]=l,e}},{"../internals/create-property-descriptor":15,"../internals/iterators":40,"../internals/iterators-core":39,"../internals/object-create":45,"../internals/set-to-string-tag":62}],14:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),a=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":15,"../internals/descriptors":18,"../internals/object-define-property":47}],15:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],16:[function(e,t,n){"use strict";var r=e("../internals/to-primitive"),i=e("../internals/object-define-property"),a=e("../internals/create-property-descriptor");t.exports=function(e,t,n){var o=r(t);o in e?i.f(e,o,a(0,n)):e[o]=n}},{"../internals/create-property-descriptor":15,"../internals/object-define-property":47,"../internals/to-primitive":73}],17:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/create-iterator-constructor"),a=e("../internals/object-get-prototype-of"),o=e("../internals/object-set-prototype-of"),s=e("../internals/set-to-string-tag"),l=e("../internals/create-non-enumerable-property"),c=e("../internals/redefine"),u=e("../internals/well-known-symbol"),f=e("../internals/is-pure"),p=e("../internals/iterators"),h=e("../internals/iterators-core"),b=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,y=u("iterator"),g=function(){return this};t.exports=function(e,t,n,u,h,v,m){i(n,t,u);var w,j,x,k=function(e){if(e===h&&L)return L;if(!d&&e in O)return O[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},S=t+" Iterator",A=!1,O=e.prototype,R=O[y]||O["@@iterator"]||h&&O[h],L=!d&&R||k(h),U="Array"==t&&O.entries||R;if(U&&(w=a(U.call(new e)),b!==Object.prototype&&w.next&&(f||a(w)===b||(o?o(w,b):"function"!=typeof w[y]&&l(w,y,g)),s(w,S,!0,!0),f&&(p[S]=g))),"values"==h&&R&&"values"!==R.name&&(A=!0,L=function(){return R.call(this)}),f&&!m||O[y]===L||l(O,y,L),p[t]=L,h)if(j={values:k("values"),keys:v?L:k("keys"),entries:k("entries")},m)for(x in j)!d&&!A&&x in O||c(O,x,j[x]);else r({target:t,proto:!0,forced:d||A},j);return j}},{"../internals/create-iterator-constructor":13,"../internals/create-non-enumerable-property":14,"../internals/export":21,"../internals/is-pure":38,"../internals/iterators":40,"../internals/iterators-core":39,"../internals/object-get-prototype-of":51,"../internals/object-set-prototype-of":55,"../internals/redefine":59,"../internals/set-to-string-tag":62,"../internals/well-known-symbol":77}],18:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":22}],19:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-object"),a=r.document,o=i(a)&&i(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}},{"../internals/global":27,"../internals/is-object":37}],20:[function(e,t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],21:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,a=e("../internals/create-non-enumerable-property"),o=e("../internals/redefine"),s=e("../internals/set-global"),l=e("../internals/copy-constructor-properties"),c=e("../internals/is-forced");t.exports=function(e,t){var n,u,f,p,h,b=e.target,d=e.global,y=e.stat;if(n=d?r:y?r[b]||s(b,{}):(r[b]||{}).prototype)for(u in t){if(p=t[u],f=e.noTargetGet?(h=i(n,u))&&h.value:n[u],!c(d?u:b+(y?".":"#")+u,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;l(p,f)}(e.sham||f&&f.sham)&&a(p,"sham",!0),o(n,u,p,e)}}},{"../internals/copy-constructor-properties":11,"../internals/create-non-enumerable-property":14,"../internals/global":27,"../internals/is-forced":36,"../internals/object-get-own-property-descriptor":48,"../internals/redefine":59,"../internals/set-global":61}],22:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],23:[function(e,t,n){var r=e("../internals/a-function");t.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},{"../internals/a-function":1}],24:[function(e,t,n){var r=e("../internals/path"),i=e("../internals/global"),a=function(e){return"function"==typeof e?e:void 0};t.exports=function(e,t){return arguments.length<2?a(r[e])||a(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},{"../internals/global":27,"../internals/path":57}],25:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/iterators"),a=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||i[r(e)]}},{"../internals/classof":10,"../internals/iterators":40,"../internals/well-known-symbol":77}],26:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/get-iterator-method");t.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},{"../internals/an-object":5,"../internals/get-iterator-method":25}],27:[function(e,t,n){(function(e){var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],28:[function(e,t,n){var r={}.hasOwnProperty;t.exports=function(e,t){return r.call(e,t)}},{}],29:[function(e,t,n){t.exports={}},{}],30:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":24}],31:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails"),a=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":18,"../internals/document-create-element":19,"../internals/fails":22}],32:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/classof-raw"),a="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a.call(e,""):Object(e)}:Object},{"../internals/classof-raw":9,"../internals/fails":22}],33:[function(e,t,n){var r=e("../internals/shared-store"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),t.exports=r.inspectSource},{"../internals/shared-store":64}],34:[function(e,t,n){var r,i,a,o=e("../internals/native-weak-map"),s=e("../internals/global"),l=e("../internals/is-object"),c=e("../internals/create-non-enumerable-property"),u=e("../internals/has"),f=e("../internals/shared-key"),p=e("../internals/hidden-keys"),h=s.WeakMap;if(o){var b=new h,d=b.get,y=b.has,g=b.set;r=function(e,t){return g.call(b,e,t),t},i=function(e){return d.call(b,e)||{}},a=function(e){return y.call(b,e)}}else{var v=f("state");p[v]=!0,r=function(e,t){return c(e,v,t),t},i=function(e){return u(e,v)?e[v]:{}},a=function(e){return u(e,v)}}t.exports={set:r,get:i,has:a,enforce:function(e){return a(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":14,"../internals/global":27,"../internals/has":28,"../internals/hidden-keys":29,"../internals/is-object":37,"../internals/native-weak-map":43,"../internals/shared-key":63}],35:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),a=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},{"../internals/iterators":40,"../internals/well-known-symbol":77}],36:[function(e,t,n){var r=e("../internals/fails"),i=/#|\.prototype\./,a=function(e,t){var n=s[o(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},{"../internals/fails":22}],37:[function(e,t,n){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],38:[function(e,t,n){t.exports=!1},{}],39:[function(e,t,n){"use strict";var r,i,a,o=e("../internals/object-get-prototype-of"),s=e("../internals/create-non-enumerable-property"),l=e("../internals/has"),c=e("../internals/well-known-symbol"),u=e("../internals/is-pure"),f=c("iterator"),p=!1;[].keys&&("next"in(a=[].keys())?(i=o(o(a)))!==Object.prototype&&(r=i):p=!0),null==r&&(r={}),u||l(r,f)||s(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},{"../internals/create-non-enumerable-property":14,"../internals/has":28,"../internals/is-pure":38,"../internals/object-get-prototype-of":51,"../internals/well-known-symbol":77}],40:[function(e,t,n){arguments[4][29][0].apply(n,arguments)},{dup:29}],41:[function(e,t,n){var r=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},{"../internals/fails":22}],42:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/well-known-symbol"),a=e("../internals/is-pure"),o=i("iterator");t.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},{"../internals/fails":22,"../internals/is-pure":38,"../internals/well-known-symbol":77}],43:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/inspect-source"),a=r.WeakMap;t.exports="function"==typeof a&&/native code/.test(i(a))},{"../internals/global":27,"../internals/inspect-source":33}],44:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails"),a=e("../internals/object-keys"),o=e("../internals/object-get-own-property-symbols"),s=e("../internals/object-property-is-enumerable"),l=e("../internals/to-object"),c=e("../internals/indexed-object"),u=Object.assign,f=Object.defineProperty;t.exports=!u||i((function(){if(r&&1!==u({b:1},u(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=a(u({},t)).join("")}))?function(e,t){for(var n=l(e),i=arguments.length,u=1,f=o.f,p=s.f;i>u;)for(var h,b=c(arguments[u++]),d=f?a(b).concat(f(b)):a(b),y=d.length,g=0;y>g;)h=d[g++],r&&!p.call(b,h)||(n[h]=b[h]);return n}:u},{"../internals/descriptors":18,"../internals/fails":22,"../internals/indexed-object":32,"../internals/object-get-own-property-symbols":50,"../internals/object-keys":53,"../internals/object-property-is-enumerable":54,"../internals/to-object":72}],45:[function(e,t,n){var r,i=e("../internals/an-object"),a=e("../internals/object-define-properties"),o=e("../internals/enum-bug-keys"),s=e("../internals/hidden-keys"),l=e("../internals/html"),c=e("../internals/document-create-element"),u=e("../internals/shared-key")("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=o.length;n--;)delete h.prototype[o[n]];return h()};s[u]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=i(e),n=new f,f.prototype=null,n[u]=e):n=h(),void 0===t?n:a(n,t)}},{"../internals/an-object":5,"../internals/document-create-element":19,"../internals/enum-bug-keys":20,"../internals/hidden-keys":29,"../internals/html":30,"../internals/object-define-properties":46,"../internals/shared-key":63}],46:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),a=e("../internals/an-object"),o=e("../internals/object-keys");t.exports=r?Object.defineProperties:function(e,t){a(e);for(var n,r=o(t),s=r.length,l=0;s>l;)i.f(e,n=r[l++],t[n]);return e}},{"../internals/an-object":5,"../internals/descriptors":18,"../internals/object-define-property":47,"../internals/object-keys":53}],47:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),a=e("../internals/an-object"),o=e("../internals/to-primitive"),s=Object.defineProperty;n.f=r?s:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":5,"../internals/descriptors":18,"../internals/ie8-dom-define":31,"../internals/to-primitive":73}],48:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-property-is-enumerable"),a=e("../internals/create-property-descriptor"),o=e("../internals/to-indexed-object"),s=e("../internals/to-primitive"),l=e("../internals/has"),c=e("../internals/ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=r?u:function(e,t){if(e=o(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return a(!i.f.call(e,t),e[t])}},{"../internals/create-property-descriptor":15,"../internals/descriptors":18,"../internals/has":28,"../internals/ie8-dom-define":31,"../internals/object-property-is-enumerable":54,"../internals/to-indexed-object":69,"../internals/to-primitive":73}],49:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"../internals/enum-bug-keys":20,"../internals/object-keys-internal":52}],50:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],51:[function(e,t,n){var r=e("../internals/has"),i=e("../internals/to-object"),a=e("../internals/shared-key"),o=e("../internals/correct-prototype-getter"),s=a("IE_PROTO"),l=Object.prototype;t.exports=o?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},{"../internals/correct-prototype-getter":12,"../internals/has":28,"../internals/shared-key":63,"../internals/to-object":72}],52:[function(e,t,n){var r=e("../internals/has"),i=e("../internals/to-indexed-object"),a=e("../internals/array-includes").indexOf,o=e("../internals/hidden-keys");t.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)!r(o,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},{"../internals/array-includes":7,"../internals/has":28,"../internals/hidden-keys":29,"../internals/to-indexed-object":69}],53:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"../internals/enum-bug-keys":20,"../internals/object-keys-internal":52}],54:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);n.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],55:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,a){return r(n),i(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},{"../internals/a-possible-prototype":2,"../internals/an-object":5}],56:[function(e,t,n){var r=e("../internals/get-built-in"),i=e("../internals/object-get-own-property-names"),a=e("../internals/object-get-own-property-symbols"),o=e("../internals/an-object");t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),n=a.f;return n?t.concat(n(e)):t}},{"../internals/an-object":5,"../internals/get-built-in":24,"../internals/object-get-own-property-names":49,"../internals/object-get-own-property-symbols":50}],57:[function(e,t,n){var r=e("../internals/global");t.exports=r},{"../internals/global":27}],58:[function(e,t,n){var r=e("../internals/redefine");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/redefine":59}],59:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property"),a=e("../internals/has"),o=e("../internals/set-global"),s=e("../internals/inspect-source"),l=e("../internals/internal-state"),c=l.get,u=l.enforce,f=String(String).split("String");(t.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),u(n).source=f.join("string"==typeof t?t:"")),e!==r?(l?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=n:i(e,t,n)):c?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},{"../internals/create-non-enumerable-property":14,"../internals/global":27,"../internals/has":28,"../internals/inspect-source":33,"../internals/internal-state":34,"../internals/set-global":61}],60:[function(e,t,n){t.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},{}],61:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property");t.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},{"../internals/create-non-enumerable-property":14,"../internals/global":27}],62:[function(e,t,n){var r=e("../internals/object-define-property").f,i=e("../internals/has"),a=e("../internals/well-known-symbol")("toStringTag");t.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},{"../internals/has":28,"../internals/object-define-property":47,"../internals/well-known-symbol":77}],63:[function(e,t,n){var r=e("../internals/shared"),i=e("../internals/uid"),a=r("keys");t.exports=function(e){return a[e]||(a[e]=i(e))}},{"../internals/shared":65,"../internals/uid":75}],64:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/set-global"),a=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=a},{"../internals/global":27,"../internals/set-global":61}],65:[function(e,t,n){var r=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},{"../internals/is-pure":38,"../internals/shared-store":64}],66:[function(e,t,n){var r=e("../internals/to-integer"),i=e("../internals/require-object-coercible"),a=function(e){return function(t,n){var a,o,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):a:e?s.slice(l,l+2):o-56320+(a-55296<<10)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},{"../internals/require-object-coercible":60,"../internals/to-integer":70}],67:[function(e,t,n){"use strict";var r=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",o=Math.floor,s=String.fromCharCode,l=function(e){return e+22+75*(e<26)},c=function(e,t,n){var r=0;for(e=n?o(e/700):e>>1,e+=o(e/t);e>455;r+=36)e=o(e/35);return o(r+36*e/(e+38))},u=function(e){var t,n,r=[],i=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,u=128,f=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var h=r.length,b=h;for(h&&r.push("-");b<i;){var d=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=u&&n<d&&(d=n);var y=b+1;if(d-u>o((2147483647-f)/y))throw RangeError(a);for(f+=(d-u)*y,u=d,t=0;t<e.length;t++){if((n=e[t])<u&&++f>2147483647)throw RangeError(a);if(n==u){for(var g=f,v=36;;v+=36){var m=v<=p?1:v>=p+26?26:v-p;if(g<m)break;var w=g-m,j=36-m;r.push(s(l(m+w%j))),g=o(w/j)}r.push(s(l(g))),p=c(f,y,b==h),f=0,++b}}++f,++u}return r.join("")};t.exports=function(e){var t,n,a=[],o=e.toLowerCase().replace(i,".").split(".");for(t=0;t<o.length;t++)n=o[t],a.push(r.test(n)?"xn--"+u(n):n);return a.join(".")}},{}],68:[function(e,t,n){var r=e("../internals/to-integer"),i=Math.max,a=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},{"../internals/to-integer":70}],69:[function(e,t,n){var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return r(i(e))}},{"../internals/indexed-object":32,"../internals/require-object-coercible":60}],70:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?i:r)(e)}},{}],71:[function(e,t,n){var r=e("../internals/to-integer"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"../internals/to-integer":70}],72:[function(e,t,n){var r=e("../internals/require-object-coercible");t.exports=function(e){return Object(r(e))}},{"../internals/require-object-coercible":60}],73:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},{"../internals/is-object":37}],74:[function(e,t,n){var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":77}],75:[function(e,t,n){var r=0,i=Math.random();t.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+i).toString(36)}},{}],76:[function(e,t,n){var r=e("../internals/native-symbol");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/native-symbol":41}],77:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/shared"),a=e("../internals/has"),o=e("../internals/uid"),s=e("../internals/native-symbol"),l=e("../internals/use-symbol-as-uid"),c=i("wks"),u=r.Symbol,f=l?u:u&&u.withoutSetter||o;t.exports=function(e){return a(c,e)||(s&&a(u,e)?c[e]=u[e]:c[e]=f("Symbol."+e)),c[e]}},{"../internals/global":27,"../internals/has":28,"../internals/native-symbol":41,"../internals/shared":65,"../internals/uid":75,"../internals/use-symbol-as-uid":76}],78:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),a=e("../internals/iterators"),o=e("../internals/internal-state"),s=e("../internals/define-iterator"),l=o.set,c=o.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},{"../internals/add-to-unscopables":3,"../internals/define-iterator":17,"../internals/internal-state":34,"../internals/iterators":40,"../internals/to-indexed-object":69}],79:[function(e,t,n){"use strict";var r=e("../internals/string-multibyte").charAt,i=e("../internals/internal-state"),a=e("../internals/define-iterator"),o=i.set,s=i.getterFor("String Iterator");a(String,"String",(function(e){o(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},{"../internals/define-iterator":17,"../internals/internal-state":34,"../internals/string-multibyte":66}],80:[function(e,t,n){"use strict";e("../modules/es.array.iterator");var r=e("../internals/export"),i=e("../internals/get-built-in"),a=e("../internals/native-url"),o=e("../internals/redefine"),s=e("../internals/redefine-all"),l=e("../internals/set-to-string-tag"),c=e("../internals/create-iterator-constructor"),u=e("../internals/internal-state"),f=e("../internals/an-instance"),p=e("../internals/has"),h=e("../internals/function-bind-context"),b=e("../internals/classof"),d=e("../internals/an-object"),y=e("../internals/is-object"),g=e("../internals/object-create"),v=e("../internals/create-property-descriptor"),m=e("../internals/get-iterator"),w=e("../internals/get-iterator-method"),j=e("../internals/well-known-symbol"),x=i("fetch"),k=i("Headers"),S=j("iterator"),A=u.set,O=u.getterFor("URLSearchParams"),R=u.getterFor("URLSearchParamsIterator"),L=/\+/g,U=Array(4),P=function(e){return U[e-1]||(U[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},q=function(e){var t=e.replace(L," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(P(n--),I);return t}},E=/[!'()~]|%20/g,_={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},T=function(e){return _[e]},B=function(e){return encodeURIComponent(e).replace(E,T)},F=function(e,t){if(t)for(var n,r,i=t.split("&"),a=0;a<i.length;)(n=i[a++]).length&&(r=n.split("="),e.push({key:q(r.shift()),value:q(r.join("="))}))},C=function(e){this.entries.length=0,F(this.entries,e)},M=function(e,t){if(e<t)throw TypeError("Not enough arguments")},N=c((function(e,t){A(this,{type:"URLSearchParamsIterator",iterator:m(O(e).entries),kind:t})}),"Iterator",(function(){var e=R(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),D=function(){f(this,D,"URLSearchParams");var e,t,n,r,i,a,o,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,h=[];if(A(u,{type:"URLSearchParams",entries:h,updateURL:function(){},updateSearchParams:C}),void 0!==c)if(y(c))if("function"==typeof(e=w(c)))for(n=(t=e.call(c)).next;!(r=n.call(t)).done;){if((o=(a=(i=m(d(r.value))).next).call(i)).done||(s=a.call(i)).done||!a.call(i).done)throw TypeError("Expected sequence with length 2");h.push({key:o.value+"",value:s.value+""})}else for(l in c)p(c,l)&&h.push({key:l,value:c[l]+""});else F(h,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},z=D.prototype;s(z,{append:function(e,t){M(arguments.length,2);var n=O(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){M(arguments.length,1);for(var t=O(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){M(arguments.length,1);for(var t=O(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){M(arguments.length,1);for(var t=O(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){M(arguments.length,1);for(var t=O(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){M(arguments.length,1);for(var n,r=O(this),i=r.entries,a=!1,o=e+"",s=t+"",l=0;l<i.length;l++)(n=i[l]).key===o&&(a?i.splice(l--,1):(a=!0,n.value=s));a||i.push({key:o,value:s}),r.updateURL()},sort:function(){var e,t,n,r=O(this),i=r.entries,a=i.slice();for(i.length=0,n=0;n<a.length;n++){for(e=a[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){for(var t,n=O(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new N(this,"keys")},values:function(){return new N(this,"values")},entries:function(){return new N(this,"entries")}},{enumerable:!0}),o(z,S,z.entries),o(z,"toString",(function(){for(var e,t=O(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(B(e.key)+"="+B(e.value));return n.join("&")}),{enumerable:!0}),l(D,"URLSearchParams"),r({global:!0,forced:!a},{URLSearchParams:D}),a||"function"!=typeof x||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(y(t=arguments[1])&&(n=t.body,"URLSearchParams"===b(n)&&((r=t.headers?new k(t.headers):new k).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:v(0,String(n)),headers:v(0,r)}))),i.push(t)),x.apply(this,i)}}),t.exports={URLSearchParams:D,getState:O}},{"../internals/an-instance":4,"../internals/an-object":5,"../internals/classof":10,"../internals/create-iterator-constructor":13,"../internals/create-property-descriptor":15,"../internals/export":21,"../internals/function-bind-context":23,"../internals/get-built-in":24,"../internals/get-iterator":26,"../internals/get-iterator-method":25,"../internals/has":28,"../internals/internal-state":34,"../internals/is-object":37,"../internals/native-url":42,"../internals/object-create":45,"../internals/redefine":59,"../internals/redefine-all":58,"../internals/set-to-string-tag":62,"../internals/well-known-symbol":77,"../modules/es.array.iterator":78}],81:[function(e,t,n){"use strict";e("../modules/es.string.iterator");var r,i=e("../internals/export"),a=e("../internals/descriptors"),o=e("../internals/native-url"),s=e("../internals/global"),l=e("../internals/object-define-properties"),c=e("../internals/redefine"),u=e("../internals/an-instance"),f=e("../internals/has"),p=e("../internals/object-assign"),h=e("../internals/array-from"),b=e("../internals/string-multibyte").codeAt,d=e("../internals/string-punycode-to-ascii"),y=e("../internals/set-to-string-tag"),g=e("../modules/web.url-search-params"),v=e("../internals/internal-state"),m=s.URL,w=g.URLSearchParams,j=g.getState,x=v.set,k=v.getterFor("URL"),S=Math.floor,A=Math.pow,O=/[A-Za-z]/,R=/[\d+\-.A-Za-z]/,L=/\d/,U=/^(0x|0X)/,P=/^[0-7]+$/,I=/^\d+$/,q=/^[\dA-Fa-f]+$/,E=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,_=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,T=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,B=/[\u0009\u000A\u000D]/g,F=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=M(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Y(e)){if(t=d(t),E.test(t))return"Invalid host";if(null===(n=C(t)))return"Invalid host";e.host=n}else{if(_.test(t))return"Invalid host";for(n="",r=h(t),i=0;i<r.length;i++)n+=$(r[i],D);e.host=n}},C=function(e){var t,n,r,i,a,o,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=l[r]))return e;if(a=10,i.length>1&&"0"==i.charAt(0)&&(a=U.test(i)?16:8,i=i.slice(8==a?1:2)),""===i)o=0;else{if(!(10==a?I:8==a?P:q).test(i))return e;o=parseInt(i,a)}n.push(o)}for(r=0;r<t;r++)if(o=n[r],r==t-1){if(o>=A(256,5-t))return null}else if(o>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*A(256,3-r);return s},M=function(e){var t,n,r,i,a,o,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,u=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=n=0;n<4&&q.test(p());)t=16*t+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,c>6)return;for(r=0;p();){if(i=null,r>0){if(!("."==p()&&r<4))return;f++}if(!L.test(p()))return;for(;L.test(p());){if(a=parseInt(p(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;f++}l[c]=256*l[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;l[c++]=t}else{if(null!==u)return;f++,u=++c}}if(null!==u)for(o=c-u,c=7;0!=c&&o>0;)s=l[c],l[c--]=l[u+o-1],l[u+--o]=s;else if(8!=c)return;return l},N=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,a=0;a<8;a++)0!==e[a]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=a),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},D={},z=p({},D,{" ":1,'"':1,"<":1,">":1,"`":1}),G=p({},z,{"#":1,"?":1,"{":1,"}":1}),W=p({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),$=function(e,t){var n=b(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return f(J,e.scheme)},X=function(e){return""!=e.username||""!=e.password},Z=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},H=function(e,t){var n;return 2==e.length&&O.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},K=function(e){var t;return e.length>1&&H(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},V=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&H(t[0],!0)||t.pop()},Q=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},ie={},ae={},oe={},se={},le={},ce={},ue={},fe={},pe={},he={},be={},de={},ye={},ge={},ve={},me={},we={},je=function(e,t,n,i){var a,o,s,l,c,u=n||ee,p=0,b="",d=!1,y=!1,g=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(T,"")),t=t.replace(B,""),a=h(t);p<=a.length;){switch(o=a[p],u){case ee:if(!o||!O.test(o)){if(n)return"Invalid scheme";u=ne;continue}b+=o.toLowerCase(),u=te;break;case te:if(o&&(R.test(o)||"+"==o||"-"==o||"."==o))b+=o.toLowerCase();else{if(":"!=o){if(n)return"Invalid scheme";b="",u=ne,p=0;continue}if(n&&(Y(e)!=f(J,b)||"file"==b&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=b,n)return void(Y(e)&&J[e.scheme]==e.port&&(e.port=null));b="","file"==e.scheme?u=he:Y(e)&&i&&i.scheme==e.scheme?u=re:Y(e)?u=se:"/"==a[p+1]?(u=ie,p++):(e.cannotBeABaseURL=!0,e.path.push(""),u=ve)}break;case ne:if(!i||i.cannotBeABaseURL&&"#"!=o)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==o){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=we;break}u="file"==i.scheme?he:ae;continue;case re:if("/"!=o||"/"!=a[p+1]){u=ae;continue}u=le,p++;break;case ie:if("/"==o){u=ce;break}u=ge;continue;case ae:if(e.scheme=i.scheme,o==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==o||"\\"==o&&Y(e))u=oe;else if("?"==o)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=me;else{if("#"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=ge;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=we}break;case oe:if(!Y(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=ge;continue}u=ce}else u=le;break;case se:if(u=le,"/"!=o||"/"!=b.charAt(p+1))continue;p++;break;case le:if("/"!=o&&"\\"!=o){u=ce;continue}break;case ce:if("@"==o){d&&(b="%40"+b),d=!0,s=h(b);for(var v=0;v<s.length;v++){var m=s[v];if(":"!=m||g){var w=$(m,W);g?e.password+=w:e.username+=w}else g=!0}b=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&Y(e)){if(d&&""==b)return"Invalid authority";p-=h(b).length+1,b="",u=ue}else b+=o;break;case ue:case fe:if(n&&"file"==e.scheme){u=de;continue}if(":"!=o||y){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&Y(e)){if(Y(e)&&""==b)return"Invalid host";if(n&&""==b&&(X(e)||null!==e.port))return;if(l=F(e,b))return l;if(b="",u=ye,n)return;continue}"["==o?y=!0:"]"==o&&(y=!1),b+=o}else{if(""==b)return"Invalid host";if(l=F(e,b))return l;if(b="",u=pe,n==fe)return}break;case pe:if(!L.test(o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&Y(e)||n){if(""!=b){var j=parseInt(b,10);if(j>65535)return"Invalid port";e.port=Y(e)&&j===J[e.scheme]?null:j,b=""}if(n)return;u=ye;continue}return"Invalid port"}b+=o;break;case he:if(e.scheme="file","/"==o||"\\"==o)u=be;else{if(!i||"file"!=i.scheme){u=ge;continue}if(o==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==o)e.host=i.host,e.path=i.path.slice(),e.query="",u=me;else{if("#"!=o){K(a.slice(p).join(""))||(e.host=i.host,e.path=i.path.slice(),V(e)),u=ge;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=we}}break;case be:if("/"==o||"\\"==o){u=de;break}i&&"file"==i.scheme&&!K(a.slice(p).join(""))&&(H(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=ge;continue;case de:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!n&&H(b))u=ge;else if(""==b){if(e.host="",n)return;u=ye}else{if(l=F(e,b))return l;if("localhost"==e.host&&(e.host=""),n)return;b="",u=ye}continue}b+=o;break;case ye:if(Y(e)){if(u=ge,"/"!=o&&"\\"!=o)continue}else if(n||"?"!=o)if(n||"#"!=o){if(o!=r&&(u=ge,"/"!=o))continue}else e.fragment="",u=we;else e.query="",u=me;break;case ge:if(o==r||"/"==o||"\\"==o&&Y(e)||!n&&("?"==o||"#"==o)){if(".."===(c=(c=b).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(V(e),"/"==o||"\\"==o&&Y(e)||e.path.push("")):Q(b)?"/"==o||"\\"==o&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&H(b)&&(e.host&&(e.host=""),b=b.charAt(0)+":"),e.path.push(b)),b="","file"==e.scheme&&(o==r||"?"==o||"#"==o))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",u=me):"#"==o&&(e.fragment="",u=we)}else b+=$(o,G);break;case ve:"?"==o?(e.query="",u=me):"#"==o?(e.fragment="",u=we):o!=r&&(e.path[0]+=$(o,D));break;case me:n||"#"!=o?o!=r&&("'"==o&&Y(e)?e.query+="%27":e.query+="#"==o?"%23":$(o,D)):(e.fragment="",u=we);break;case we:o!=r&&(e.fragment+=$(o,z))}p++}},xe=function(e){var t,n,r=u(this,xe,"URL"),i=arguments.length>1?arguments[1]:void 0,o=String(e),s=x(r,{type:"URL"});if(void 0!==i)if(i instanceof xe)t=k(i);else if(n=je(t={},String(i)))throw TypeError(n);if(n=je(s,o,null,t))throw TypeError(n);var l=s.searchParams=new w,c=j(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},a||(r.href=Se.call(r),r.origin=Ae.call(r),r.protocol=Oe.call(r),r.username=Re.call(r),r.password=Le.call(r),r.host=Ue.call(r),r.hostname=Pe.call(r),r.port=Ie.call(r),r.pathname=qe.call(r),r.search=Ee.call(r),r.searchParams=_e.call(r),r.hash=Te.call(r))},ke=xe.prototype,Se=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,i=e.host,a=e.port,o=e.path,s=e.query,l=e.fragment,c=t+":";return null!==i?(c+="//",X(e)&&(c+=n+(r?":"+r:"")+"@"),c+=N(i),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Ae=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+N(e.host)+(null!==n?":"+n:""):"null"},Oe=function(){return k(this).scheme+":"},Re=function(){return k(this).username},Le=function(){return k(this).password},Ue=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?N(t):N(t)+":"+n},Pe=function(){var e=k(this).host;return null===e?"":N(e)},Ie=function(){var e=k(this).port;return null===e?"":String(e)},qe=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ee=function(){var e=k(this).query;return e?"?"+e:""},_e=function(){return k(this).searchParams},Te=function(){var e=k(this).fragment;return e?"#"+e:""},Be=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&l(ke,{href:Be(Se,(function(e){var t=k(this),n=String(e),r=je(t,n);if(r)throw TypeError(r);j(t.searchParams).updateSearchParams(t.query)})),origin:Be(Ae),protocol:Be(Oe,(function(e){var t=k(this);je(t,String(e)+":",ee)})),username:Be(Re,(function(e){var t=k(this),n=h(String(e));if(!Z(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=$(n[r],W)}})),password:Be(Le,(function(e){var t=k(this),n=h(String(e));if(!Z(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=$(n[r],W)}})),host:Be(Ue,(function(e){var t=k(this);t.cannotBeABaseURL||je(t,String(e),ue)})),hostname:Be(Pe,(function(e){var t=k(this);t.cannotBeABaseURL||je(t,String(e),fe)})),port:Be(Ie,(function(e){var t=k(this);Z(t)||(""==(e=String(e))?t.port=null:je(t,e,pe))})),pathname:Be(qe,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],je(t,e+"",ye))})),search:Be(Ee,(function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",je(t,e,me)),j(t.searchParams).updateSearchParams(t.query)})),searchParams:Be(_e),hash:Be(Te,(function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",je(t,e,we)):t.fragment=null}))}),c(ke,"toJSON",(function(){return Se.call(this)}),{enumerable:!0}),c(ke,"toString",(function(){return Se.call(this)}),{enumerable:!0}),m){var Fe=m.createObjectURL,Ce=m.revokeObjectURL;Fe&&c(xe,"createObjectURL",(function(e){return Fe.apply(m,arguments)})),Ce&&c(xe,"revokeObjectURL",(function(e){return Ce.apply(m,arguments)}))}y(xe,"URL"),i({global:!0,forced:!o,sham:!a},{URL:xe})},{"../internals/an-instance":4,"../internals/array-from":6,"../internals/descriptors":18,"../internals/export":21,"../internals/global":27,"../internals/has":28,"../internals/internal-state":34,"../internals/native-url":42,"../internals/object-assign":44,"../internals/object-define-properties":46,"../internals/redefine":59,"../internals/set-to-string-tag":62,"../internals/string-multibyte":66,"../internals/string-punycode-to-ascii":67,"../modules/es.string.iterator":79,"../modules/web.url-search-params":80}],82:[function(e,t,n){"use strict";e("../internals/export")({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},{"../internals/export":21}],83:[function(e,t,n){e("../modules/web.url"),e("../modules/web.url.to-json"),e("../modules/web.url-search-params");var r=e("../internals/path");t.exports=r.URL},{"../internals/path":57,"../modules/web.url":81,"../modules/web.url-search-params":80,"../modules/web.url.to-json":82}]},{},[83]);
\ No newline at end of file
diff --git a/wp-includes/js/dist/vendor/wp-polyfill.js b/wp-includes/js/dist/vendor/wp-polyfill.js
index 525b0b542f..da32913faa 100644
--- a/wp-includes/js/dist/vendor/wp-polyfill.js
+++ b/wp-includes/js/dist/vendor/wp-polyfill.js
@@ -2,7 +2,7 @@
  * core-js 3.19.1
  * https://github.com/zloirock/core-js
  * License: http://rock.mit-license.org
- * © 2021 Denis Pushkarev (zloirock.ru)
+ * © 2022 Denis Pushkarev (zloirock.ru)
  */
 !function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
 /******/ 	// The module cache
diff --git a/wp-includes/js/dist/vendor/wp-polyfill.min.js b/wp-includes/js/dist/vendor/wp-polyfill.min.js
index 2a85d39d0c..de23fbfa89 100644
--- a/wp-includes/js/dist/vendor/wp-polyfill.min.js
+++ b/wp-includes/js/dist/vendor/wp-polyfill.min.js
@@ -1,7 +1 @@
-/**
- * core-js 3.19.1
- * https://github.com/zloirock/core-js
- * License: http://rock.mit-license.org
- * © 2021 Denis Pushkarev (zloirock.ru)
- */
-!function(C){"use strict";var r,e,o;e={},(o=function(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{}};return r[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}).m=r=[function(t,n,r){r(1),r(67),r(68),r(72),r(79),t.exports=r(85)},function(t,n,r){var e=r(2),o=r(36),i=r(57),u=r(56),r=r(62);e({target:"Array",proto:!0},{at:function(t){var n=o(this),r=i(n),t=u(t),t=0<=t?t:r+t;return t<0||r<=t?C:n[t]}}),r("at")},function(t,n,r){var a=r(3),p=r(4).f,s=r(40),l=r(43),y=r(34),v=r(50),d=r(61);t.exports=function(t,n){var r,e,o,i=t.target,u=t.global,c=t.stat,f=u?a:c?a[i]||y(i,{}):(a[i]||{}).prototype;if(f)for(r in n){if(e=n[r],o=t.noTargetGet?(o=p(f,r))&&o.value:f[r],!d(u?r:i+(c?".":"#")+r,t.forced)&&o!==C){if(typeof e==typeof o)continue;v(e,o)}(t.sham||o&&o.sham)&&s(e,"sham",!0),l(f,r,e,t)}}},function(t,n){function r(t){return t&&t.Math==Math&&t}t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof global&&global)||function(){return this}()||Function("return this")()},function(t,n,r){var e=r(5),o=r(7),i=r(8),u=r(9),c=r(10),f=r(15),a=r(35),p=r(38),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=c(t),n=f(n),p)try{return s(t,n)}catch(t){}if(a(t,n))return u(!o(i.f,t,n),t[n])}},function(t,n,r){r=r(6);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){t=o(this,t);return!!t&&t.enumerable}:e},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(11),o=r(14);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(3),o=r(12),i=r(6),u=r(13),c=e.Object,f=o("".split);t.exports=i(function(){return!c("z").propertyIsEnumerable(0)})?function(t){return"String"==u(t)?f(t,""):c(t)}:c},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n,r){var r=r(12),e=r({}.toString),o=r("".slice);t.exports=function(t){return o(e(t),8,-1)}},function(t,n,r){var e=r(3).TypeError;t.exports=function(t){if(t==C)throw e("Can't call method on "+t);return t}},function(t,n,r){var e=r(16),o=r(19);t.exports=function(t){t=e(t,"string");return o(t)?t:t+""}},function(t,n,r){var e=r(3),o=r(7),i=r(17),u=r(19),c=r(26),f=r(29),r=r(30),a=e.TypeError,p=r("toPrimitive");t.exports=function(t,n){if(!i(t)||u(t))return t;var r=c(t,p);if(r){if(r=o(r,t,n=n===C?"default":n),!i(r)||u(r))return r;throw a("Can't convert object to primitive value")}return f(t,n=n===C?"number":n)}},function(t,n,r){var e=r(18);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n,r){var e=r(3),o=r(20),i=r(18),u=r(21),r=r(22),c=e.Object;t.exports=r?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&u(n.prototype,c(t))}},function(t,n,r){var e=r(3),o=r(18);t.exports=function(t,n){return arguments.length<2?(r=e[t],o(r)?r:C):e[t]&&e[t][n];var r}},function(t,n,r){r=r(12);t.exports=r({}.isPrototypeOf)},function(t,n,r){r=r(23);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(24),r=r(6);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})},function(t,n,r){var e,o,i=r(3),u=r(25),r=i.process,i=i.Deno,i=r&&r.versions||i&&i.version,i=i&&i.v8;!(o=i?0<(e=i.split("."))[0]&&e[0]<4?1:+(e[0]+e[1]):o)&&u&&(!(e=u.match(/Edge\/(\d+)/))||74<=e[1])&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,n,r){r=r(20);t.exports=r("navigator","userAgent")||""},function(t,n,r){var e=r(27);t.exports=function(t,n){n=t[n];return null==n?C:e(n)}},function(t,n,r){var e=r(3),o=r(18),i=r(28),u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,n,r){var e=r(3).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(3),o=r(7),i=r(18),u=r(17),c=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!u(e=o(r,t)))return e;if(i(r=t.valueOf)&&!u(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!u(e=o(r,t)))return e;throw c("Can't convert object to primitive value")}},function(t,n,r){var e=r(3),o=r(31),i=r(35),u=r(37),c=r(23),f=r(22),a=o("wks"),p=e.Symbol,s=p&&p.for,l=f?p:p&&p.withoutSetter||u;t.exports=function(t){var n;return i(a,t)&&(c||"string"==typeof a[t])||(n="Symbol."+t,c&&i(p,t)?a[t]=p[t]:a[t]=(f&&s?s:l)(n)),a[t]}},function(t,n,r){var e=r(32),o=r(33);(t.exports=function(t,n){return o[t]||(o[t]=n!==C?n:{})})("versions",[]).push({version:"3.19.1",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports=!1},function(t,n,r){var e=r(3),o=r(34),r="__core-js_shared__",r=e[r]||o(r,{});t.exports=r},function(t,n,r){var e=r(3),o=Object.defineProperty;t.exports=function(n,r){try{o(e,n,{value:r,configurable:!0,writable:!0})}catch(t){e[n]=r}return r}},function(t,n,r){var e=r(12),o=r(36),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(3),o=r(14),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var r=r(12),e=0,o=Math.random(),i=r(1..toString);t.exports=function(t){return"Symbol("+(t===C?"":t)+")_"+i(++e+o,36)}},function(t,n,r){var e=r(5),o=r(6),i=r(39);t.exports=!e&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(3),r=r(17),o=e.document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(5),o=r(41),i=r(9);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(3),o=r(5),i=r(38),u=r(42),c=r(15),f=e.TypeError,a=Object.defineProperty;n.f=o?a:function(t,n,r){if(u(t),n=c(n),u(r),i)try{return a(t,n,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(3),o=r(17),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(t,n,r){var f=r(3),a=r(18),p=r(35),s=r(40),l=r(34),e=r(44),o=r(45),y=r(49).CONFIGURABLE,i=o.get,v=o.enforce,d=String(String).split("String");(t.exports=function(t,n,r,e){var o=!!e&&!!e.unsafe,i=!!e&&!!e.enumerable,u=!!e&&!!e.noTargetGet,c=e&&e.name!==C?e.name:n;a(r)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!p(r,"name")||y&&r.name!==c)&&s(r,"name",c),(e=v(r)).source||(e.source=d.join("string"==typeof c?c:""))),t!==f?(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=r:s(t,n,r)):i?t[n]=r:l(n,r)})(Function.prototype,"toString",function(){return a(this)&&i(this).source||e(this)})},function(t,n,r){var e=r(12),o=r(18),r=r(33),i=e(Function.toString);o(r.inspectSource)||(r.inspectSource=function(t){return i(t)}),t.exports=r.inspectSource},function(t,n,r){var e,o,i,u,c,f,a,p,s=r(46),l=r(3),y=r(12),v=r(17),d=r(40),b=r(35),g=r(33),h=r(47),r=r(48),m="Object already initialized",x=l.TypeError,l=l.WeakMap;a=s||g.state?(e=g.state||(g.state=new l),o=y(e.get),i=y(e.has),u=y(e.set),c=function(t,n){if(i(e,t))throw new x(m);return n.facade=t,u(e,t,n),n},f=function(t){return o(e,t)||{}},function(t){return i(e,t)}):(r[p=h("state")]=!0,c=function(t,n){if(b(t,p))throw new x(m);return n.facade=t,d(t,p,n),n},f=function(t){return b(t,p)?t[p]:{}},function(t){return b(t,p)}),t.exports={set:c,get:f,has:a,enforce:function(t){return a(t)?f(t):c(t,{})},getterFor:function(r){return function(t){var n;if(!v(t)||(n=f(t)).type!==r)throw x("Incompatible receiver, "+r+" required");return n}}}},function(t,n,r){var e=r(3),o=r(18),r=r(44),e=e.WeakMap;t.exports=o(e)&&/native code/.test(r(e))},function(t,n,r){var e=r(31),o=r(37),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n,r){var e=r(5),o=r(35),i=Function.prototype,u=e&&Object.getOwnPropertyDescriptor,r=o(i,"name"),o=r&&"something"===function(){}.name,i=r&&(!e||e&&u(i,"name").configurable);t.exports={EXISTS:r,PROPER:o,CONFIGURABLE:i}},function(t,n,r){var c=r(35),f=r(51),a=r(4),p=r(41);t.exports=function(t,n){for(var r=f(n),e=p.f,o=a.f,i=0;i<r.length;i++){var u=r[i];c(t,u)||e(t,u,o(n,u))}}},function(t,n,r){var e=r(20),o=r(12),i=r(52),u=r(60),c=r(42),f=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(c(t)),r=u.f;return r?f(n,r(t)):n}},function(t,n,r){var e=r(53),o=r(59).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(12),u=r(35),c=r(10),f=r(54).indexOf,a=r(48),p=e([].push);t.exports=function(t,n){var r,e=c(t),o=0,i=[];for(r in e)!u(a,r)&&u(e,r)&&p(i,r);for(;n.length>o;)u(e,r=n[o++])&&(~f(i,r)||p(i,r));return i}},function(t,n,r){var f=r(10),a=r(55),p=r(57),r=function(c){return function(t,n,r){var e,o=f(t),i=p(o),u=a(r,i);if(c&&n!=n){for(;u<i;)if((e=o[u++])!=e)return!0}else for(;u<i;u++)if((c||u in o)&&o[u]===n)return c||u||0;return!c&&-1}};t.exports={includes:r(!0),indexOf:r(!1)}},function(t,n,r){var e=r(56),o=Math.max,i=Math.min;t.exports=function(t,n){t=e(t);return t<0?o(t+n,0):i(t,n)}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){t=+t;return t!=t||0==t?0:(0<t?e:r)(t)}},function(t,n,r){var e=r(58);t.exports=function(t){return e(t.length)}},function(t,n,r){var e=r(56),o=Math.min;t.exports=function(t){return 0<t?o(e(t),9007199254740991):0}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(6),o=r(18),i=/#|\.prototype\./,r=function(t,n){t=c[u(t)];return t==a||t!=f&&(o(n)?e(n):!!n)},u=r.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=r.data={},f=r.NATIVE="N",a=r.POLYFILL="P";t.exports=r},function(t,n,r){var e=r(30),o=r(63),r=r(41),i=e("unscopables"),u=Array.prototype;u[i]==C&&r.f(u,i,{configurable:!0,value:o(null)}),t.exports=function(t){u[i][t]=!0}},function(t,n,r){function e(){}function o(t){return"<script>"+t+"</"+v+">"}function i(t){t.write(o("")),t.close();var n=t.parentWindow.Object;return t=null,n}var u,c=r(42),f=r(64),a=r(59),p=r(48),s=r(66),l=r(39),r=r(47),y="prototype",v="script",d=r("IE_PROTO"),b=function(){try{u=new ActiveXObject("htmlfile")}catch(t){}var t;b="undefined"==typeof document||document.domain&&u?i(u):((t=l("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(o("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete b[y][a[n]];return b()};p[d]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(e[y]=c(t),r=new e,e[y]=null,r[d]=t):r=b(),n===C?r:f(r,n)}},function(t,n,r){var e=r(5),c=r(41),f=r(42),a=r(10),p=r(65);t.exports=e?Object.defineProperties:function(t,n){f(t);for(var r,e=a(n),o=p(n),i=o.length,u=0;u<i;)c.f(t,r=o[u++],e[r]);return t}},function(t,n,r){var e=r(53),o=r(59);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){r=r(20);t.exports=r("document","documentElement")},function(t,n,r){r(2)({target:"Object",stat:!0},{hasOwn:r(35)})},function(t,n,r){var e=r(2),o=r(12),i=r(14),u=r(56),c=r(69),r=r(6),f=o("".charAt);e({target:"String",proto:!0,forced:r(function(){return"\ud842"!=="𠮷".at(0)})},{at:function(t){var n=c(i(this)),r=n.length,t=u(t),t=0<=t?t:r+t;return t<0||r<=t?C:f(n,t)}})},function(t,n,r){var e=r(3),o=r(70),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,n,r){var e=r(3),o=r(71),i=r(18),u=r(13),c=r(30)("toStringTag"),f=e.Object,a="Arguments"==u(function(){return arguments}());t.exports=o?u:function(t){var n;return t===C?"Undefined":null===t?"Null":"string"==typeof(t=function(t,n){try{return t[n]}catch(t){}}(n=f(t),c))?t:a?u(n):"Object"==(t=u(n))&&i(n.callee)?"Arguments":t}},function(t,n,r){var e={};e[r(30)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){var e=r(73),o=r(57),i=r(56),u=e.aTypedArray;(0,e.exportTypedArrayMethod)("at",function(t){var n=u(this),r=o(n),t=i(t),t=0<=t?t:r+t;return t<0||r<=t?C:n[t]})},function(t,n,r){function e(t){return!!s(t)&&(t=y(t),l(M,t)||l(R,t))}var o,i,u,c=r(74),f=r(5),a=r(3),p=r(18),s=r(17),l=r(35),y=r(70),v=r(28),d=r(40),b=r(43),g=r(41).f,h=r(21),m=r(75),x=r(77),O=r(30),S=r(37),w=a.Int8Array,j=w&&w.prototype,r=a.Uint8ClampedArray,r=r&&r.prototype,A=w&&m(w),T=j&&m(j),w=Object.prototype,P=a.TypeError,O=O("toStringTag"),_=S("TYPED_ARRAY_TAG"),E=S("TYPED_ARRAY_CONSTRUCTOR"),I=c&&!!x&&"Opera"!==y(a.opera),c=!1,M={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R={BigInt64Array:8,BigUint64Array:8};for(o in M)(u=(i=a[o])&&i.prototype)?d(u,E,i):I=!1;for(o in R)(u=(i=a[o])&&i.prototype)&&d(u,E,i);if((!I||!p(A)||A===Function.prototype)&&(A=function(){throw P("Incorrect invocation")},I))for(o in M)a[o]&&x(a[o],A);if((!I||!T||T===w)&&(T=A.prototype,I))for(o in M)a[o]&&x(a[o].prototype,T);if(I&&m(r)!==T&&x(r,T),f&&!l(T,O))for(o in c=!0,g(T,O,{get:function(){return s(this)?this[_]:C}}),M)a[o]&&d(a[o],_,o);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_CONSTRUCTOR:E,TYPED_ARRAY_TAG:c&&_,aTypedArray:function(t){if(e(t))return t;throw P("Target is not a typed array")},aTypedArrayConstructor:function(t){if(p(t)&&(!x||h(A,t)))return t;throw P(v(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,n,r){if(f){if(r)for(var e in M){e=a[e];if(e&&l(e.prototype,t))try{delete e.prototype[t]}catch(t){}}T[t]&&!r||b(T,t,!r&&I&&j[t]||n)}},exportTypedArrayStaticMethod:function(t,n,r){var e,o;if(f){if(x){if(r)for(e in M)if((o=a[e])&&l(o,t))try{delete o[t]}catch(t){}if(A[t]&&!r)return;try{return b(A,t,!r&&I&&A[t]||n)}catch(t){}}for(e in M)!(o=a[e])||o[t]&&!r||b(o,t,n)}},isView:function(t){if(!s(t))return!1;t=y(t);return"DataView"===t||l(M,t)||l(R,t)},isTypedArray:e,TypedArray:A,TypedArrayPrototype:T}},function(t,n){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,n,r){var e=r(3),o=r(35),i=r(18),u=r(36),c=r(47),r=r(76),f=c("IE_PROTO"),a=e.Object,p=a.prototype;t.exports=r?a.getPrototypeOf:function(t){var n=u(t);if(o(n,f))return n[f];t=n.constructor;return i(t)&&n instanceof t?t.prototype:n instanceof a?p:null}},function(t,n,r){r=r(6);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},function(t,n,r){var o=r(12),i=r(42),u=r(78);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,e=!1,t={};try{(r=o(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(t,[]),e=t instanceof Array}catch(t){}return function(t,n){return i(t),u(n),e?r(t,n):t.__proto__=n,t}}():C)},function(t,n,r){var e=r(3),o=r(18),i=e.String,u=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},function(t,n,r){var e=r(3),o=r(12),i=r(6),u=r(27),c=r(80),f=r(73),a=r(82),p=r(83),s=r(24),l=r(84),y=e.Array,v=f.aTypedArray,f=f.exportTypedArrayMethod,d=e.Uint16Array,b=d&&o(d.prototype.sort),o=!(!b||i(function(){b(new d(2),null)})&&i(function(){b(new d(2),{})})),g=!!b&&!i(function(){if(s)return s<74;if(a)return a<67;if(p)return!0;if(l)return l<602;for(var t,n=new d(516),r=y(516),e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(b(n,function(t,n){return(t/4|0)-(n/4|0)}),e=0;e<516;e++)if(n[e]!==r[e])return!0});f("sort",function(t){return t!==C&&u(t),g?b(this,t):c(v(this),(r=t,function(t,n){return r!==C?+r(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?0<1/t&&1/n<0?1:-1:n<t}));var r},!g||o)},function(t,n,r){var o=r(81),i=Math.floor,u=function(t,n){var r=t.length,e=i(r/2);return r<8?c(t,n):f(t,u(o(t,0,e),n),u(o(t,e),n),n)},c=function(t,n){for(var r,e,o=t.length,i=1;i<o;){for(r=t[e=i];e&&0<n(t[e-1],r);)t[e]=t[--e];e!==i++&&(t[e]=r)}return t},f=function(t,n,r,e){for(var o=n.length,i=r.length,u=0,c=0;u<o||c<i;)t[u+c]=u<o&&c<i?e(n[u],r[c])<=0?n[u++]:r[c++]:u<o?n[u++]:r[c++];return t};t.exports=u},function(t,n,r){r=r(12);t.exports=r([].slice)},function(t,n,r){r=r(25).match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},function(t,n,r){r=r(25);t.exports=/MSIE|Trident/.test(r)},function(t,n,r){r=r(25).match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},function(t,n,r){var e=r(2),o=r(3),r=r(86);e({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:r.set,clearImmediate:r.clear})},function(t,n,r){var e,o,i=r(3),u=r(87),c=r(88),f=r(18),a=r(35),p=r(6),s=r(66),l=r(81),y=r(39),v=r(89),d=r(90),b=i.setImmediate,g=i.clearImmediate,h=i.process,m=i.Dispatch,x=i.Function,O=i.MessageChannel,S=i.String,w=0,j={},A="onreadystatechange";try{e=i.location}catch(t){}function T(t){var n;a(j,t)&&(n=j[t],delete j[t],n())}function P(t){return function(){T(t)}}function _(t){T(t.data)}r=function(t){i.postMessage(S(t),e.protocol+"//"+e.host)};b&&g||(b=function(t){var n=l(arguments,1);return j[++w]=function(){u(f(t)?t:x(t),C,n)},o(w),w},g=function(t){delete j[t]},d?o=function(t){h.nextTick(P(t))}:m&&m.now?o=function(t){m.now(P(t))}:O&&!v?(O=(v=new O).port2,v.port1.onmessage=_,o=c(O.postMessage,O)):i.addEventListener&&f(i.postMessage)&&!i.importScripts&&e&&"file:"!==e.protocol&&!p(r)?(o=r,i.addEventListener("message",_,!1)):o=A in y("script")?function(t){s.appendChild(y("script"))[A]=function(){s.removeChild(this),T(t)}}:function(t){setTimeout(P(t),0)}),t.exports={set:b,clear:g}},function(t,n){var r=Function.prototype,e=r.apply,o=r.bind,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(e):function(){return i.apply(e,arguments)})},function(t,n,r){var e=r(12),o=r(27),i=e(e.bind);t.exports=function(t,n){return o(t),n===C?t:i?i(t,n):function(){return t.apply(n,arguments)}}},function(t,n,r){r=r(25);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,n,r){var e=r(13),r=r(3);t.exports="process"==e(r.process)}],o.c=e,o.d=function(t,n,r){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(n,t){if(1&t&&(n=o(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var e in n)o.d(r,e,function(t){return n[t]}.bind(null,e));return r},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="",o(o.s=0)}();
\ No newline at end of file
+!function(t){"use strict";var n,r,e;r={},(e=function(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return n[t].call(o.exports,o,o.exports,e),o.l=!0,o.exports}).m=n=[function(t,n,r){r(1),r(67),r(68),r(72),r(79),t.exports=r(85)},function(n,r,e){var o=e(2),i=e(36),u=e(57),c=e(56);e=e(62);o({target:"Array",proto:!0},{at:function(n){var r=i(this),e=u(r);return(n=0<=(n=c(n))?n:e+n)<0||e<=n?t:r[n]}}),e("at")},function(n,r,e){var o=e(3),i=e(4).f,u=e(40),c=e(43),f=e(34),a=e(50),p=e(61);n.exports=function(n,r){var e,s,l,y=n.target,v=n.global,d=n.stat,b=v?o:d?o[y]||f(y,{}):(o[y]||{}).prototype;if(b)for(e in r){if(s=r[e],l=n.noTargetGet?(l=i(b,e))&&l.value:b[e],!p(v?e:y+(d?".":"#")+e,n.forced)&&l!==t){if(typeof s==typeof l)continue;a(s,l)}(n.sham||l&&l.sham)&&u(s,"sham",!0),c(b,e,s,n)}}},function(t,n){function r(t){return t&&t.Math==Math&&t}t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof global&&global)||function(){return this}()||Function("return this")()},function(t,n,r){var e=r(5),o=r(7),i=r(8),u=r(9),c=r(10),f=r(15),a=r(35),p=r(38),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=c(t),n=f(n),p)try{return s(t,n)}catch(t){}if(a(t,n))return u(!o(i.f,t,n),t[n])}},function(t,n,r){r=r(6),t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r=Function.prototype.call;t.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(t,n,r){var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){return!!(t=o(this,t))&&t.enumerable}:e},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(11),o=r(14);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(3),o=r(12),i=r(6),u=r(13),c=e.Object,f=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?f(t,""):c(t)}:c},function(t,n){var r=Function.prototype,e=r.bind,o=r.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,n,r){var e=(r=r(12))({}.toString),o=r("".slice);t.exports=function(t){return o(e(t),8,-1)}},function(n,r,e){var o=e(3).TypeError;n.exports=function(n){if(n==t)throw o("Can't call method on "+n);return n}},function(t,n,r){var e=r(16),o=r(19);t.exports=function(t){return t=e(t,"string"),o(t)?t:t+""}},function(n,r,e){var o=e(3),i=e(7),u=e(17),c=e(19),f=e(26),a=e(29),p=(e=e(30),o.TypeError),s=e("toPrimitive");n.exports=function(n,r){if(!u(n)||c(n))return n;var e=f(n,s);if(e){if(e=i(e,n,r=r===t?"default":r),!u(e)||c(e))return e;throw p("Can't convert object to primitive value")}return a(n,r=r===t?"number":r)}},function(t,n,r){var e=r(18);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n,r){var e=r(3),o=r(20),i=r(18),u=r(21),c=(r=r(22),e.Object);t.exports=r?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&u(n.prototype,c(t))}},function(n,r,e){var o=e(3),i=e(18);n.exports=function(n,r){return arguments.length<2?(e=o[n],i(e)?e:t):o[n]&&o[n][r];var e}},function(t,n,r){r=r(12),t.exports=r({}.isPrototypeOf)},function(t,n,r){r=r(23),t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(24);r=r(6);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,n,r){var e,o,i=r(3),u=r(25);r=i.process,i=i.Deno;!(o=(i=(i=r&&r.versions||i&&i.version)&&i.v8)?0<(e=i.split("."))[0]&&e[0]<4?1:+(e[0]+e[1]):o)&&u&&(!(e=u.match(/Edge\/(\d+)/))||74<=e[1])&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,n,r){r=r(20),t.exports=r("navigator","userAgent")||""},function(n,r,e){var o=e(27);n.exports=function(n,r){return null==(r=n[r])?t:o(r)}},function(t,n,r){var e=r(3),o=r(18),i=r(28),u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not a function")}},function(t,n,r){var e=r(3).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(3),o=r(7),i=r(18),u=r(17),c=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!u(e=o(r,t)))return e;if(i(r=t.valueOf)&&!u(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!u(e=o(r,t)))return e;throw c("Can't convert object to primitive value")}},function(t,n,r){var e=r(3),o=r(31),i=r(35),u=r(37),c=r(23),f=r(22),a=o("wks"),p=e.Symbol,s=p&&p.for,l=f?p:p&&p.withoutSetter||u;t.exports=function(t){var n;return i(a,t)&&(c||"string"==typeof a[t])||(n="Symbol."+t,c&&i(p,t)?a[t]=p[t]:a[t]=(f&&s?s:l)(n)),a[t]}},function(n,r,e){var o=e(32),i=e(33);(n.exports=function(n,r){return i[n]||(i[n]=r!==t?r:{})})("versions",[]).push({version:"3.19.1",mode:o?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports=!1},function(t,n,r){var e=r(3),o=r(34);r=e[r="__core-js_shared__"]||o(r,{});t.exports=r},function(t,n,r){var e=r(3),o=Object.defineProperty;t.exports=function(t,n){try{o(e,t,{value:n,configurable:!0,writable:!0})}catch(r){e[t]=n}return n}},function(t,n,r){var e=r(12),o=r(36),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(3),o=r(14),i=e.Object;t.exports=function(t){return i(o(t))}},function(n,r,e){e=e(12);var o=0,i=Math.random(),u=e(1..toString);n.exports=function(n){return"Symbol("+(n===t?"":n)+")_"+u(++o+i,36)}},function(t,n,r){var e=r(5),o=r(6),i=r(39);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(3),o=(r=r(17),e.document),i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(5),o=r(41),i=r(9);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(3),o=r(5),i=r(38),u=r(42),c=r(15),f=e.TypeError,a=Object.defineProperty;n.f=o?a:function(t,n,r){if(u(t),n=c(n),u(r),i)try{return a(t,n,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(3),o=r(17),i=e.String,u=e.TypeError;t.exports=function(t){if(o(t))return t;throw u(i(t)+" is not an object")}},function(n,r,e){var o=e(3),i=e(18),u=e(35),c=e(40),f=e(34),a=e(44),p=e(45),s=e(49).CONFIGURABLE,l=p.get,y=p.enforce,v=String(String).split("String");(n.exports=function(n,r,e,a){var p=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet,b=a&&a.name!==t?a.name:r;i(e)&&("Symbol("===String(b).slice(0,7)&&(b="["+String(b).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!u(e,"name")||s&&e.name!==b)&&c(e,"name",b),(a=y(e)).source||(a.source=v.join("string"==typeof b?b:""))),n!==o?(p?!d&&n[r]&&(l=!0):delete n[r],l?n[r]=e:c(n,r,e)):l?n[r]=e:f(r,e)})(Function.prototype,"toString",(function(){return i(this)&&l(this).source||a(this)}))},function(t,n,r){var e=r(12),o=r(18),i=(r=r(33),e(Function.toString));o(r.inspectSource)||(r.inspectSource=function(t){return i(t)}),t.exports=r.inspectSource},function(t,n,r){var e,o,i,u,c,f,a,p,s=r(46),l=r(3),y=r(12),v=r(17),d=r(40),b=r(35),g=r(33),h=r(47),m=(r=r(48),"Object already initialized"),x=l.TypeError;l=l.WeakMap;a=s||g.state?(e=g.state||(g.state=new l),o=y(e.get),i=y(e.has),u=y(e.set),c=function(t,n){if(i(e,t))throw new x(m);return n.facade=t,u(e,t,n),n},f=function(t){return o(e,t)||{}},function(t){return i(e,t)}):(r[p=h("state")]=!0,c=function(t,n){if(b(t,p))throw new x(m);return n.facade=t,d(t,p,n),n},f=function(t){return b(t,p)?t[p]:{}},function(t){return b(t,p)}),t.exports={set:c,get:f,has:a,enforce:function(t){return a(t)?f(t):c(t,{})},getterFor:function(t){return function(n){var r;if(!v(n)||(r=f(n)).type!==t)throw x("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(3),o=r(18);r=r(44),e=e.WeakMap;t.exports=o(e)&&/native code/.test(r(e))},function(t,n,r){var e=r(31),o=r(37),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n,r){var e=r(5),o=r(35),i=Function.prototype,u=e&&Object.getOwnPropertyDescriptor;o=(r=o(i,"name"))&&"something"===function(){}.name,i=r&&(!e||e&&u(i,"name").configurable);t.exports={EXISTS:r,PROPER:o,CONFIGURABLE:i}},function(t,n,r){var e=r(35),o=r(51),i=r(4),u=r(41);t.exports=function(t,n){for(var r=o(n),c=u.f,f=i.f,a=0;a<r.length;a++){var p=r[a];e(t,p)||c(t,p,f(n,p))}}},function(t,n,r){var e=r(20),o=r(12),i=r(52),u=r(60),c=r(42),f=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(c(t)),r=u.f;return r?f(n,r(t)):n}},function(t,n,r){var e=r(53),o=r(59).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(12),o=r(35),i=r(10),u=r(54).indexOf,c=r(48),f=e([].push);t.exports=function(t,n){var r,e=i(t),a=0,p=[];for(r in e)!o(c,r)&&o(e,r)&&f(p,r);for(;n.length>a;)o(e,r=n[a++])&&(~u(p,r)||f(p,r));return p}},function(t,n,r){var e=r(10),o=r(55),i=r(57);r=function(t){return function(n,r,u){var c,f=e(n),a=i(f),p=o(u,a);if(t&&r!=r){for(;p<a;)if((c=f[p++])!=c)return!0}else for(;p<a;p++)if((t||p in f)&&f[p]===r)return t||p||0;return!t&&-1}};t.exports={includes:r(!0),indexOf:r(!1)}},function(t,n,r){var e=r(56),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return(t=+t)!=t||0==t?0:(0<t?e:r)(t)}},function(t,n,r){var e=r(58);t.exports=function(t){return e(t.length)}},function(t,n,r){var e=r(56),o=Math.min;t.exports=function(t){return 0<t?o(e(t),9007199254740991):0}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(6),o=r(18),i=/#|\.prototype\./,u=(r=function(t,n){return(t=c[u(t)])==a||t!=f&&(o(n)?e(n):!!n)},r.normalize=function(t){return String(t).replace(i,".").toLowerCase()}),c=r.data={},f=r.NATIVE="N",a=r.POLYFILL="P";t.exports=r},function(n,r,e){var o=e(30),i=e(63),u=(e=e(41),o("unscopables")),c=Array.prototype;c[u]==t&&e.f(c,u,{configurable:!0,value:i(null)}),n.exports=function(t){c[u][t]=!0}},function(n,r,e){function o(){}function i(t){return"<script>"+t+"</"+v+">"}var u,c=e(42),f=e(64),a=e(59),p=e(48),s=e(66),l=e(39),y=(e=e(47),"prototype"),v="script",d=e("IE_PROTO"),b=function(){try{u=new ActiveXObject("htmlfile")}catch(t){}var t;b="undefined"==typeof document||document.domain&&u?function(t){t.write(i("")),t.close();var n=t.parentWindow.Object;return t=null,n}(u):((t=l("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(i("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete b[y][a[n]];return b()};p[d]=!0,n.exports=Object.create||function(n,r){var e;return null!==n?(o[y]=c(n),e=new o,o[y]=null,e[d]=n):e=b(),r===t?e:f(e,r)}},function(t,n,r){var e=r(5),o=r(41),i=r(42),u=r(10),c=r(65);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),f=c(n),a=f.length,p=0;p<a;)o.f(t,r=f[p++],e[r]);return t}},function(t,n,r){var e=r(53),o=r(59);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){r=r(20),t.exports=r("document","documentElement")},function(t,n,r){r(2)({target:"Object",stat:!0},{hasOwn:r(35)})},function(n,r,e){var o=e(2),i=e(12),u=e(14),c=e(56),f=e(69),a=(e=e(6),i("".charAt));o({target:"String",proto:!0,forced:e((function(){return"\ud842"!=="𠮷".at(0)}))},{at:function(n){var r=f(u(this)),e=r.length;return(n=0<=(n=c(n))?n:e+n)<0||e<=n?t:a(r,n)}})},function(t,n,r){var e=r(3),o=r(70),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(n,r,e){var o=e(3),i=e(71),u=e(18),c=e(13),f=e(30)("toStringTag"),a=o.Object,p="Arguments"==c(function(){return arguments}());n.exports=i?c:function(n){var r;return n===t?"Undefined":null===n?"Null":"string"==typeof(n=function(t,n){try{return t[n]}catch(t){}}(r=a(n),f))?n:p?c(r):"Object"==(n=c(r))&&u(r.callee)?"Arguments":n}},function(t,n,r){var e={};e[r(30)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(n,r,e){var o=e(73),i=e(57),u=e(56),c=o.aTypedArray;(0,o.exportTypedArrayMethod)("at",(function(n){var r=c(this),e=i(r);return(n=0<=(n=u(n))?n:e+n)<0||e<=n?t:r[n]}))},function(n,r,e){function o(t){return!!l(t)&&(t=v(t),y(R,t)||y(C,t))}var i,u,c,f=e(74),a=e(5),p=e(3),s=e(18),l=e(17),y=e(35),v=e(70),d=e(28),b=e(40),g=e(43),h=e(41).f,m=e(21),x=e(75),O=e(77),S=e(30),w=e(37),j=(P=p.Int8Array)&&P.prototype,A=(e=(e=p.Uint8ClampedArray)&&e.prototype,P&&x(P)),T=j&&x(j),P=Object.prototype,_=p.TypeError,E=(S=S("toStringTag"),w("TYPED_ARRAY_TAG")),I=w("TYPED_ARRAY_CONSTRUCTOR"),M=f&&!!O&&"Opera"!==v(p.opera),R=(f=!1,{Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8}),C={BigInt64Array:8,BigUint64Array:8};for(i in R)(c=(u=p[i])&&u.prototype)?b(c,I,u):M=!1;for(i in C)(c=(u=p[i])&&u.prototype)&&b(c,I,u);if((!M||!s(A)||A===Function.prototype)&&(A=function(){throw _("Incorrect invocation")},M))for(i in R)p[i]&&O(p[i],A);if((!M||!T||T===P)&&(T=A.prototype,M))for(i in R)p[i]&&O(p[i].prototype,T);if(M&&x(e)!==T&&O(e,T),a&&!y(T,S))for(i in f=!0,h(T,S,{get:function(){return l(this)?this[E]:t}}),R)p[i]&&b(p[i],E,i);n.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_CONSTRUCTOR:I,TYPED_ARRAY_TAG:f&&E,aTypedArray:function(t){if(o(t))return t;throw _("Target is not a typed array")},aTypedArrayConstructor:function(t){if(s(t)&&(!O||m(A,t)))return t;throw _(d(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,n,r){if(a){if(r)for(var e in R)if((e=p[e])&&y(e.prototype,t))try{delete e.prototype[t]}catch(t){}T[t]&&!r||g(T,t,!r&&M&&j[t]||n)}},exportTypedArrayStaticMethod:function(t,n,r){var e,o;if(a){if(O){if(r)for(e in R)if((o=p[e])&&y(o,t))try{delete o[t]}catch(t){}if(A[t]&&!r)return;try{return g(A,t,!r&&M&&A[t]||n)}catch(t){}}for(e in R)!(o=p[e])||o[t]&&!r||g(o,t,n)}},isView:function(t){return!!l(t)&&("DataView"===(t=v(t))||y(R,t)||y(C,t))},isTypedArray:o,TypedArray:A,TypedArrayPrototype:T}},function(t,n){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,n,r){var e=r(3),o=r(35),i=r(18),u=r(36),c=r(47),f=(r=r(76),c("IE_PROTO")),a=e.Object,p=a.prototype;t.exports=r?a.getPrototypeOf:function(t){var n=u(t);return o(n,f)?n[f]:(t=n.constructor,i(t)&&n instanceof t?t.prototype:n instanceof a?p:null)}},function(t,n,r){r=r(6),t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(n,r,e){var o=e(12),i=e(42),u=e(78);n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=o(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(r){}return function(r,e){return i(r),u(e),n?t(r,e):r.__proto__=e,r}}():t)},function(t,n,r){var e=r(3),o=r(18),i=e.String,u=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw u("Can't set "+i(t)+" as a prototype")}},function(n,r,e){var o=e(3),i=e(12),u=e(6),c=e(27),f=e(80),a=e(73),p=e(82),s=e(83),l=e(24),y=e(84),v=o.Array,d=a.aTypedArray,b=(a=a.exportTypedArrayMethod,o.Uint16Array),g=b&&i(b.prototype.sort),h=(i=!(!g||u((function(){g(new b(2),null)}))&&u((function(){g(new b(2),{})}))),!!g&&!u((function(){if(l)return l<74;if(p)return p<67;if(s)return!0;if(y)return y<602;for(var t,n=new b(516),r=v(516),e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(g(n,(function(t,n){return(t/4|0)-(n/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0})));a("sort",(function(n){return n!==t&&c(n),h?g(this,n):f(d(this),(r=n,function(n,e){return r!==t?+r(n,e)||0:e!=e?-1:n!=n?1:0===n&&0===e?0<1/n&&1/e<0?1:-1:e<n}));var r}),!h||i)},function(t,n,r){var e=r(81),o=Math.floor,i=function(t,n){var r=t.length,f=o(r/2);return r<8?u(t,n):c(t,i(e(t,0,f),n),i(e(t,f),n),n)},u=function(t,n){for(var r,e,o=t.length,i=1;i<o;){for(r=t[e=i];e&&0<n(t[e-1],r);)t[e]=t[--e];e!==i++&&(t[e]=r)}return t},c=function(t,n,r,e){for(var o=n.length,i=r.length,u=0,c=0;u<o||c<i;)t[u+c]=u<o&&c<i?e(n[u],r[c])<=0?n[u++]:r[c++]:u<o?n[u++]:r[c++];return t};t.exports=i},function(t,n,r){r=r(12),t.exports=r([].slice)},function(t,n,r){r=r(25).match(/firefox\/(\d+)/i),t.exports=!!r&&+r[1]},function(t,n,r){r=r(25),t.exports=/MSIE|Trident/.test(r)},function(t,n,r){r=r(25).match(/AppleWebKit\/(\d+)\./),t.exports=!!r&&+r[1]},function(t,n,r){var e=r(2),o=r(3);r=r(86);e({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:r.set,clearImmediate:r.clear})},function(n,r,e){var o,i,u=e(3),c=e(87),f=e(88),a=e(18),p=e(35),s=e(6),l=e(66),y=e(81),v=e(39),d=e(89),b=e(90),g=u.setImmediate,h=u.clearImmediate,m=u.process,x=u.Dispatch,O=u.Function,S=u.MessageChannel,w=u.String,j=0,A={},T="onreadystatechange";try{o=u.location}catch(n){}function P(t){var n;p(A,t)&&(n=A[t],delete A[t],n())}function _(t){return function(){P(t)}}function E(t){P(t.data)}e=function(t){u.postMessage(w(t),o.protocol+"//"+o.host)},g&&h||(g=function(n){var r=y(arguments,1);return A[++j]=function(){c(a(n)?n:O(n),t,r)},i(j),j},h=function(t){delete A[t]},b?i=function(t){m.nextTick(_(t))}:x&&x.now?i=function(t){x.now(_(t))}:S&&!d?(S=(d=new S).port2,d.port1.onmessage=E,i=f(S.postMessage,S)):u.addEventListener&&a(u.postMessage)&&!u.importScripts&&o&&"file:"!==o.protocol&&!s(e)?(i=e,u.addEventListener("message",E,!1)):i=T in v("script")?function(t){l.appendChild(v("script"))[T]=function(){l.removeChild(this),P(t)}}:function(t){setTimeout(_(t),0)}),n.exports={set:g,clear:h}},function(t,n){var r=Function.prototype,e=r.apply,o=r.bind,i=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?i.bind(e):function(){return i.apply(e,arguments)})},function(n,r,e){var o=e(12),i=e(27),u=o(o.bind);n.exports=function(n,r){return i(n),r===t?n:u?u(n,r):function(){return n.apply(r,arguments)}}},function(t,n,r){r=r(25),t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(t,n,r){var e=r(13);r=r(3);t.exports="process"==e(r.process)}],e.c=r,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=0)}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/viewport.js b/wp-includes/js/dist/viewport.js
index 3dbbb64c28..a234fe67a4 100644
--- a/wp-includes/js/dist/viewport.js
+++ b/wp-includes/js/dist/viewport.js
@@ -1,142 +1,68 @@
-this["wp"] = this["wp"] || {}; this["wp"]["viewport"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "PR0u");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "PR0u":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "store", function() { return /* reexport */ store; });
-__webpack_require__.d(__webpack_exports__, "ifViewportMatches", function() { return /* reexport */ if_viewport_matches; });
-__webpack_require__.d(__webpack_exports__, "withViewportMatch", function() { return /* reexport */ with_viewport_match; });
+__webpack_require__.d(__webpack_exports__, {
+  "ifViewportMatches": function() { return /* reexport */ if_viewport_matches; },
+  "store": function() { return /* reexport */ store; },
+  "withViewportMatch": function() { return /* reexport */ with_viewport_match; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/viewport/build-module/store/actions.js
 var actions_namespaceObject = {};
 __webpack_require__.r(actions_namespaceObject);
-__webpack_require__.d(actions_namespaceObject, "setIsMatching", function() { return actions_setIsMatching; });
+__webpack_require__.d(actions_namespaceObject, {
+  "setIsMatching": function() { return setIsMatching; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/viewport/build-module/store/selectors.js
 var selectors_namespaceObject = {};
 __webpack_require__.r(selectors_namespaceObject);
-__webpack_require__.d(selectors_namespaceObject, "isViewportMatch", function() { return isViewportMatch; });
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
+__webpack_require__.d(selectors_namespaceObject, {
+  "isViewportMatch": function() { return isViewportMatch; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/reducer.js
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/reducer.js
 /**
  * Reducer returning the viewport state, as keys of breakpoint queries with
  * boolean value representing whether query is matched.
@@ -160,7 +86,7 @@ function reducer() {

 /* harmony default export */ var store_reducer = (reducer);

-// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/actions.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/actions.js
 /**
  * Returns an action object used in signalling that viewport queries have been
  * updated. Values are specified as an object of breakpoint query keys where
@@ -170,14 +96,14 @@ function reducer() {
  *
  * @return {Object} Action object.
  */
-function actions_setIsMatching(values) {
+function setIsMatching(values) {
   return {
     type: 'SET_IS_MATCHING',
     values
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/selectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/selectors.js
 /**
  * Returns true if the viewport matches the given query, or false otherwise.
  *
@@ -203,7 +129,7 @@ function isViewportMatch(state, query) {
   return !!state[query];
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/index.js
 /**
  * WordPress dependencies
  */
@@ -224,14 +150,14 @@ const STORE_NAME = 'core/viewport';
  * @type {Object}
  */

-const store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
+const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
   reducer: store_reducer,
   actions: actions_namespaceObject,
   selectors: selectors_namespaceObject
 });
-Object(external_wp_data_["register"])(store);
+(0,external_wp_data_namespaceObject.register)(store);

-// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/listener.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/listener.js
 /**
  * External dependencies
  */
@@ -252,9 +178,9 @@ const addDimensionsEventListener = (breakpoints, operators) => {
    * Callback invoked when media query state should be updated. Is invoked a
    * maximum of one time per call stack.
    */
-  const setIsMatching = Object(external_lodash_["debounce"])(() => {
-    const values = Object(external_lodash_["mapValues"])(queries, query => query.matches);
-    Object(external_wp_data_["dispatch"])(store).setIsMatching(values);
+  const setIsMatching = (0,external_lodash_namespaceObject.debounce)(() => {
+    const values = (0,external_lodash_namespaceObject.mapValues)(queries, query => query.matches);
+    (0,external_wp_data_namespaceObject.dispatch)(store).setIsMatching(values);
   }, {
     leading: true
   });
@@ -268,8 +194,8 @@ const addDimensionsEventListener = (breakpoints, operators) => {
    * @type {Object<string,MediaQueryList>}
    */

-  const queries = Object(external_lodash_["reduce"])(breakpoints, (result, width, name) => {
-    Object(external_lodash_["forEach"])(operators, (condition, operator) => {
+  const queries = (0,external_lodash_namespaceObject.reduce)(breakpoints, (result, width, name) => {
+    (0,external_lodash_namespaceObject.forEach)(operators, (condition, operator) => {
       const list = window.matchMedia(`(${condition}: ${width}px)`);
       list.addListener(setIsMatching);
       const key = [operator, name].join(' ');
@@ -285,16 +211,29 @@ const addDimensionsEventListener = (breakpoints, operators) => {

 /* harmony default export */ var listener = (addDimensionsEventListener);

-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
+function _extends() {
+  _extends = Object.assign || function (target) {
+    for (var i = 1; i < arguments.length; i++) {
+      var source = arguments[i];

-// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__("wx14");
+      for (var key in source) {
+        if (Object.prototype.hasOwnProperty.call(source, key)) {
+          target[key] = source[key];
+        }
+      }
+    }

-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
+    return target;
+  };

-// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/with-viewport-match.js
+  return _extends.apply(this, arguments);
+}
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/with-viewport-match.js



@@ -332,7 +271,7 @@ var external_wp_element_ = __webpack_require__("GRId");
  */

 const withViewportMatch = queries => {
-  const useViewPortQueriesResult = () => Object(external_lodash_["mapValues"])(queries, query => {
+  const useViewPortQueriesResult = () => (0,external_lodash_namespaceObject.mapValues)(queries, query => {
     let [operator, breakpointName] = query.split(' ');

     if (breakpointName === undefined) {
@@ -344,20 +283,20 @@ const withViewportMatch = queries => {
     // eslint-disable-next-line react-hooks/rules-of-hooks


-    return Object(external_wp_compose_["useViewportMatch"])(breakpointName, operator);
+    return (0,external_wp_compose_namespaceObject.useViewportMatch)(breakpointName, operator);
   });

-  return Object(external_wp_compose_["createHigherOrderComponent"])(WrappedComponent => {
-    return Object(external_wp_compose_["pure"])(props => {
+  return (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => {
+    return (0,external_wp_compose_namespaceObject.pure)(props => {
       const queriesResult = useViewPortQueriesResult();
-      return Object(external_wp_element_["createElement"])(WrappedComponent, Object(esm_extends["a" /* default */])({}, props, queriesResult));
+      return (0,external_wp_element_namespaceObject.createElement)(WrappedComponent, _extends({}, props, queriesResult));
     });
   }, 'withViewportMatch');
 };

 /* harmony default export */ var with_viewport_match = (withViewportMatch);

-// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/if-viewport-matches.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/if-viewport-matches.js
 /**
  * WordPress dependencies
  */
@@ -388,13 +327,13 @@ const withViewportMatch = queries => {
  * @return {Function} Higher-order component.
  */

-const ifViewportMatches = query => Object(external_wp_compose_["createHigherOrderComponent"])(Object(external_wp_compose_["compose"])([with_viewport_match({
+const ifViewportMatches = query => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)((0,external_wp_compose_namespaceObject.compose)([with_viewport_match({
   isViewportMatch: query
-}), Object(external_wp_compose_["ifCondition"])(props => props.isViewportMatch)]), 'ifViewportMatches');
+}), (0,external_wp_compose_namespaceObject.ifCondition)(props => props.isViewportMatch)]), 'ifViewportMatches');

 /* harmony default export */ var if_viewport_matches = (ifViewportMatches);

-// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/index.js
 /**
  * Internal dependencies
  */
@@ -430,39 +369,6 @@ const OPERATORS = {
 };
 listener(BREAKPOINTS, OPERATORS);

-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "wx14":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
-function _extends() {
-  _extends = Object.assign || function (target) {
-    for (var i = 1; i < arguments.length; i++) {
-      var source = arguments[i];
-
-      for (var key in source) {
-        if (Object.prototype.hasOwnProperty.call(source, key)) {
-          target[key] = source[key];
-        }
-      }
-    }
-
-    return target;
-  };
-
-  return _extends.apply(this, arguments);
-}
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).viewport = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/viewport.min.js b/wp-includes/js/dist/viewport.min.js
index 15bbdbef84..ad5f2df325 100644
--- a/wp-includes/js/dist/viewport.min.js
+++ b/wp-includes/js/dist/viewport.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.viewport=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="PR0u")}({"1ZqX":function(t,e){t.exports=window.wp.data},GRId:function(t,e){t.exports=window.wp.element},K9lf:function(t,e){t.exports=window.wp.compose},PR0u:function(t,e,r){"use strict";r.r(e),r.d(e,"store",(function(){return d})),r.d(e,"ifViewportMatches",(function(){return b})),r.d(e,"withViewportMatch",(function(){return h}));var n={};r.r(n),r.d(n,"setIsMatching",(function(){return a}));var o={};r.r(o),r.d(o,"isViewportMatch",(function(){return s}));var i=r("YLtl"),c=r("1ZqX");var u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_IS_MATCHING":return e.values}return t};function a(t){return{type:"SET_IS_MATCHING",values:t}}function s(t,e){return-1===e.indexOf(" ")&&(e=">= "+e),!!t[e]}const d=Object(c.createReduxStore)("core/viewport",{reducer:u,actions:n,selectors:o});Object(c.register)(d);var p=(t,e)=>{const r=Object(i.debounce)(()=>{const t=Object(i.mapValues)(n,t=>t.matches);Object(c.dispatch)(d).setIsMatching(t)},{leading:!0}),n=Object(i.reduce)(t,(t,n,o)=>(Object(i.forEach)(e,(e,i)=>{const c=window.matchMedia(`(${e}: ${n}px)`);c.addListener(r);const u=[i,o].join(" ");t[u]=c}),t),{});window.addEventListener("orientationchange",r),r(),r.flush()},f=r("K9lf"),l=r("wx14"),w=r("GRId");var h=t=>Object(f.createHigherOrderComponent)(e=>Object(f.pure)(r=>{const n=Object(i.mapValues)(t,t=>{let[e,r]=t.split(" ");return void 0===r&&(r=e,e=">="),Object(f.useViewportMatch)(r,e)});return Object(w.createElement)(e,Object(l.a)({},r,n))}),"withViewportMatch");var b=t=>Object(f.createHigherOrderComponent)(Object(f.compose)([h({isViewportMatch:t}),Object(f.ifCondition)(t=>t.isViewportMatch)]),"ifViewportMatches");p({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"})},YLtl:function(t,e){t.exports=window.lodash},wx14:function(t,e,r){"use strict";function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}r.d(e,"a",(function(){return n}))}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ifViewportMatches:function(){return f},store:function(){return d},withViewportMatch:function(){return h}});var r={};e.r(r),e.d(r,{setIsMatching:function(){return c}});var n={};e.r(n),e.d(n,{isViewportMatch:function(){return u}});var o=window.lodash,i=window.wp.data;var a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"SET_IS_MATCHING"===t.type?t.values:e};function c(e){return{type:"SET_IS_MATCHING",values:e}}function u(e,t){return-1===t.indexOf(" ")&&(t=">= "+t),!!e[t]}const d=(0,i.createReduxStore)("core/viewport",{reducer:a,actions:r,selectors:n});(0,i.register)(d);var s=(e,t)=>{const r=(0,o.debounce)((()=>{const e=(0,o.mapValues)(n,(e=>e.matches));(0,i.dispatch)(d).setIsMatching(e)}),{leading:!0}),n=(0,o.reduce)(e,((e,n,i)=>((0,o.forEach)(t,((t,o)=>{const a=window.matchMedia(`(${t}: ${n}px)`);a.addListener(r);const c=[o,i].join(" ");e[c]=a})),e)),{});window.addEventListener("orientationchange",r),r(),r.flush()},p=window.wp.compose;function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}var l=window.wp.element;var h=e=>(0,p.createHigherOrderComponent)((t=>(0,p.pure)((r=>{const n=(0,o.mapValues)(e,(e=>{let[t,r]=e.split(" ");return void 0===r&&(r=t,t=">="),(0,p.useViewportMatch)(r,t)}));return(0,l.createElement)(t,w({},r,n))}))),"withViewportMatch");var f=e=>(0,p.createHigherOrderComponent)((0,p.compose)([h({isViewportMatch:e}),(0,p.ifCondition)((e=>e.isViewportMatch))]),"ifViewportMatches");s({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"}),(window.wp=window.wp||{}).viewport=t}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/warning.js b/wp-includes/js/dist/warning.js
index 8d15f15f13..59ea5eb8f9 100644
--- a/wp-includes/js/dist/warning.js
+++ b/wp-includes/js/dist/warning.js
@@ -1,97 +1,35 @@
-this["wp"] = this["wp"] || {}; this["wp"]["warning"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "WyMB");
-/******/ })
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
+var __webpack_exports__ = {};

-/***/ "3iIG":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+  "default": function() { return /* binding */ warning; }
+});

-"use strict";
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return logged; });
+;// CONCATENATED MODULE: ./node_modules/@wordpress/warning/build-module/utils.js
 /**
  * Object map tracking messages which have been logged, for use in ensuring a
  * message is only logged once.
@@ -100,207 +38,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["warning"] =
  */
 const logged = new Set();

-
-/***/ }),
-
-/***/ "8oxB":
-/***/ (function(module, exports) {
-
-// shim for using process in browser
-var process = module.exports = {};
-
-// cached from whatever global is present so that test runners that stub it
-// don't break things.  But we need to wrap it in a try catch in case it is
-// wrapped in strict mode code which doesn't define any globals.  It's inside a
-// function because try/catches deoptimize in certain engines.
-
-var cachedSetTimeout;
-var cachedClearTimeout;
-
-function defaultSetTimout() {
-    throw new Error('setTimeout has not been defined');
-}
-function defaultClearTimeout () {
-    throw new Error('clearTimeout has not been defined');
-}
-(function () {
-    try {
-        if (typeof setTimeout === 'function') {
-            cachedSetTimeout = setTimeout;
-        } else {
-            cachedSetTimeout = defaultSetTimout;
-        }
-    } catch (e) {
-        cachedSetTimeout = defaultSetTimout;
-    }
-    try {
-        if (typeof clearTimeout === 'function') {
-            cachedClearTimeout = clearTimeout;
-        } else {
-            cachedClearTimeout = defaultClearTimeout;
-        }
-    } catch (e) {
-        cachedClearTimeout = defaultClearTimeout;
-    }
-} ())
-function runTimeout(fun) {
-    if (cachedSetTimeout === setTimeout) {
-        //normal enviroments in sane situations
-        return setTimeout(fun, 0);
-    }
-    // if setTimeout wasn't available but was latter defined
-    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
-        cachedSetTimeout = setTimeout;
-        return setTimeout(fun, 0);
-    }
-    try {
-        // when when somebody has screwed with setTimeout but no I.E. maddness
-        return cachedSetTimeout(fun, 0);
-    } catch(e){
-        try {
-            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
-            return cachedSetTimeout.call(null, fun, 0);
-        } catch(e){
-            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
-            return cachedSetTimeout.call(this, fun, 0);
-        }
-    }
-
-
-}
-function runClearTimeout(marker) {
-    if (cachedClearTimeout === clearTimeout) {
-        //normal enviroments in sane situations
-        return clearTimeout(marker);
-    }
-    // if clearTimeout wasn't available but was latter defined
-    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
-        cachedClearTimeout = clearTimeout;
-        return clearTimeout(marker);
-    }
-    try {
-        // when when somebody has screwed with setTimeout but no I.E. maddness
-        return cachedClearTimeout(marker);
-    } catch (e){
-        try {
-            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally
-            return cachedClearTimeout.call(null, marker);
-        } catch (e){
-            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
-            // Some versions of I.E. have different rules for clearTimeout vs setTimeout
-            return cachedClearTimeout.call(this, marker);
-        }
-    }
-
-
-
-}
-var queue = [];
-var draining = false;
-var currentQueue;
-var queueIndex = -1;
-
-function cleanUpNextTick() {
-    if (!draining || !currentQueue) {
-        return;
-    }
-    draining = false;
-    if (currentQueue.length) {
-        queue = currentQueue.concat(queue);
-    } else {
-        queueIndex = -1;
-    }
-    if (queue.length) {
-        drainQueue();
-    }
-}
-
-function drainQueue() {
-    if (draining) {
-        return;
-    }
-    var timeout = runTimeout(cleanUpNextTick);
-    draining = true;
-
-    var len = queue.length;
-    while(len) {
-        currentQueue = queue;
-        queue = [];
-        while (++queueIndex < len) {
-            if (currentQueue) {
-                currentQueue[queueIndex].run();
-            }
-        }
-        queueIndex = -1;
-        len = queue.length;
-    }
-    currentQueue = null;
-    draining = false;
-    runClearTimeout(timeout);
-}
-
-process.nextTick = function (fun) {
-    var args = new Array(arguments.length - 1);
-    if (arguments.length > 1) {
-        for (var i = 1; i < arguments.length; i++) {
-            args[i - 1] = arguments[i];
-        }
-    }
-    queue.push(new Item(fun, args));
-    if (queue.length === 1 && !draining) {
-        runTimeout(drainQueue);
-    }
-};
-
-// v8 likes predictible objects
-function Item(fun, array) {
-    this.fun = fun;
-    this.array = array;
-}
-Item.prototype.run = function () {
-    this.fun.apply(null, this.array);
-};
-process.title = 'browser';
-process.browser = true;
-process.env = {};
-process.argv = [];
-process.version = ''; // empty string to avoid regexp issues
-process.versions = {};
-
-function noop() {}
-
-process.on = noop;
-process.addListener = noop;
-process.once = noop;
-process.off = noop;
-process.removeListener = noop;
-process.removeAllListeners = noop;
-process.emit = noop;
-process.prependListener = noop;
-process.prependOnceListener = noop;
-
-process.listeners = function (name) { return [] }
-
-process.binding = function (name) {
-    throw new Error('process.binding is not supported');
-};
-
-process.cwd = function () { return '/' };
-process.chdir = function (dir) {
-    throw new Error('process.chdir is not supported');
-};
-process.umask = function() { return 0; };
-
-
-/***/ }),
-
-/***/ "WyMB":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-__webpack_require__.r(__webpack_exports__);
-/* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return warning; });
-/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3iIG");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/warning/build-module/index.js
 /**
  * Internal dependencies
  */
@@ -334,7 +72,7 @@ function warning(message) {
   } // Skip if already logged.


-  if (_utils__WEBPACK_IMPORTED_MODULE_0__[/* logged */ "a"].has(message)) {
+  if (logged.has(message)) {
     return;
   } // eslint-disable-next-line no-console

@@ -348,11 +86,9 @@ function warning(message) {
   } catch (x) {// do nothing
   }

-  _utils__WEBPACK_IMPORTED_MODULE_0__[/* logged */ "a"].add(message);
+  logged.add(message);
 }

-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("8oxB")))
-
-/***/ })
-
-/******/ })["default"];
\ No newline at end of file
+(window.wp = window.wp || {}).warning = __webpack_exports__["default"];
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/warning.min.js b/wp-includes/js/dist/warning.min.js
index 9183660d10..3f0391ee16 100644
--- a/wp-includes/js/dist/warning.min.js
+++ b/wp-includes/js/dist/warning.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.warning=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="WyMB")}({"3iIG":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=new Set},"8oxB":function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var f,l=[],a=!1,s=-1;function p(){a&&f&&(a=!1,f.length?l=f.concat(l):s=-1,l.length&&d())}function d(){if(!a){var t=c(p);a=!0;for(var e=l.length;e;){for(f=l,l=[];++s<e;)f&&f[s].run();s=-1,e=l.length}f=null,a=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function y(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new h(t,e)),1!==l.length||a||c(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},WyMB:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"default",(function(){return r}));n("3iIG");function r(e){void 0!==t&&t.env}}.call(this,n("8oxB"))}}).default;
\ No newline at end of file
+!function(){"use strict";var e={d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n={};e.d(n,{default:function(){return t}});new Set;function t(e){"undefined"!=typeof process&&process.env}(window.wp=window.wp||{}).warning=n.default}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/widgets.js b/wp-includes/js/dist/widgets.js
index d47e625169..7e6a3be77a 100644
--- a/wp-includes/js/dist/widgets.js
+++ b/wp-includes/js/dist/widgets.js
@@ -1,187 +1,223 @@
-this["wp"] = this["wp"] || {}; this["wp"]["widgets"] =
-/******/ (function(modules) { // webpackBootstrap
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({
+
+/***/ 4403:
+/***/ (function(module, exports) {
+
+var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
+  Copyright (c) 2018 Jed Watson.
+  Licensed under the MIT License (MIT), see
+  http://jedwatson.github.io/classnames
+*/
+/* global define */
+
+(function () {
+	'use strict';
+
+	var hasOwn = {}.hasOwnProperty;
+
+	function classNames() {
+		var classes = [];
+
+		for (var i = 0; i < arguments.length; i++) {
+			var arg = arguments[i];
+			if (!arg) continue;
+
+			var argType = typeof arg;
+
+			if (argType === 'string' || argType === 'number') {
+				classes.push(arg);
+			} else if (Array.isArray(arg)) {
+				if (arg.length) {
+					var inner = classNames.apply(null, arg);
+					if (inner) {
+						classes.push(inner);
+					}
+				}
+			} else if (argType === 'object') {
+				if (arg.toString === Object.prototype.toString) {
+					for (var key in arg) {
+						if (hasOwn.call(arg, key) && arg[key]) {
+							classes.push(key);
+						}
+					}
+				} else {
+					classes.push(arg.toString());
+				}
+			}
+		}
+
+		return classes.join(' ');
+	}
+
+	if ( true && module.exports) {
+		classNames.default = classNames;
+		module.exports = classNames;
+	} else if (true) {
+		// register as 'classnames', consistent with npm package name
+		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
+			return classNames;
+		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
+		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
+	} else {}
+}());
+
+
+/***/ })
+
+/******/ 	});
+/************************************************************************/
 /******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
+/******/ 	var __webpack_module_cache__ = {};
+/******/
 /******/ 	// The require function
 /******/ 	function __webpack_require__(moduleId) {
-/******/
 /******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
 /******/ 		}
 /******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
 /******/ 			exports: {}
 /******/ 		};
-/******/
+/******/
 /******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
 /******/ 		// Return the exports of the module
 /******/ 		return module.exports;
 /******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "4g8P");
-/******/ })
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "1ZqX":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["data"]; }());
-
-/***/ }),
-
-/***/ "4g8P":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
+/******/ 	/* webpack/runtime/compat get default export */
+/******/ 	!function() {
+/******/ 		// getDefaultExport function for compatibility with non-harmony modules
+/******/ 		__webpack_require__.n = function(module) {
+/******/ 			var getter = module && module.__esModule ?
+/******/ 				function() { return module['default']; } :
+/******/ 				function() { return module; };
+/******/ 			__webpack_require__.d(getter, { a: getter });
+/******/ 			return getter;
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
+/******/ 		};
+/******/ 	}();
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be in strict mode.
+!function() {
 "use strict";
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "MoveToWidgetArea", function() { return /* reexport */ MoveToWidgetArea; });
-__webpack_require__.d(__webpack_exports__, "getWidgetIdFromBlock", function() { return /* reexport */ getWidgetIdFromBlock; });
-__webpack_require__.d(__webpack_exports__, "addWidgetIdToBlock", function() { return /* reexport */ addWidgetIdToBlock; });
-__webpack_require__.d(__webpack_exports__, "registerLegacyWidgetBlock", function() { return /* binding */ registerLegacyWidgetBlock; });
-__webpack_require__.d(__webpack_exports__, "registerWidgetGroupBlock", function() { return /* binding */ registerWidgetGroupBlock; });
-__webpack_require__.d(__webpack_exports__, "registerLegacyWidgetVariations", function() { return /* reexport */ registerLegacyWidgetVariations; });
+__webpack_require__.d(__webpack_exports__, {
+  "MoveToWidgetArea": function() { return /* reexport */ MoveToWidgetArea; },
+  "addWidgetIdToBlock": function() { return /* reexport */ addWidgetIdToBlock; },
+  "getWidgetIdFromBlock": function() { return /* reexport */ getWidgetIdFromBlock; },
+  "registerLegacyWidgetBlock": function() { return /* binding */ registerLegacyWidgetBlock; },
+  "registerLegacyWidgetVariations": function() { return /* reexport */ registerLegacyWidgetVariations; },
+  "registerWidgetGroupBlock": function() { return /* binding */ registerWidgetGroupBlock; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/index.js
 var legacy_widget_namespaceObject = {};
 __webpack_require__.r(legacy_widget_namespaceObject);
-__webpack_require__.d(legacy_widget_namespaceObject, "metadata", function() { return legacy_widget_metadata; });
-__webpack_require__.d(legacy_widget_namespaceObject, "name", function() { return legacy_widget_name; });
-__webpack_require__.d(legacy_widget_namespaceObject, "settings", function() { return legacy_widget_settings; });
+__webpack_require__.d(legacy_widget_namespaceObject, {
+  "metadata": function() { return metadata; },
+  "name": function() { return legacy_widget_name; },
+  "settings": function() { return settings; }
+});

 // NAMESPACE OBJECT: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/index.js
 var widget_group_namespaceObject = {};
 __webpack_require__.r(widget_group_namespaceObject);
-__webpack_require__.d(widget_group_namespaceObject, "metadata", function() { return widget_group_metadata; });
-__webpack_require__.d(widget_group_namespaceObject, "name", function() { return widget_group_name; });
-__webpack_require__.d(widget_group_namespaceObject, "settings", function() { return widget_group_settings; });
-
-// EXTERNAL MODULE: external ["wp","blocks"]
-var external_wp_blocks_ = __webpack_require__("HSyU");
-
-// EXTERNAL MODULE: external ["wp","element"]
-var external_wp_element_ = __webpack_require__("GRId");
-
-// EXTERNAL MODULE: external ["wp","primitives"]
-var external_wp_primitives_ = __webpack_require__("Tqx9");
+__webpack_require__.d(widget_group_namespaceObject, {
+  "metadata": function() { return widget_group_metadata; },
+  "name": function() { return widget_group_name; },
+  "settings": function() { return widget_group_settings; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/widget.js
+;// CONCATENATED MODULE: external ["wp","blocks"]
+var external_wp_blocks_namespaceObject = window["wp"]["blocks"];
+;// CONCATENATED MODULE: external ["wp","element"]
+var external_wp_element_namespaceObject = window["wp"]["element"];
+;// CONCATENATED MODULE: external ["wp","primitives"]
+var external_wp_primitives_namespaceObject = window["wp"]["primitives"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/widget.js


 /**
  * WordPress dependencies
  */

-const widget_widget = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const widget = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M6 3H8V5H16V3H18V5C19.1046 5 20 5.89543 20 7V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V7C4 5.89543 4.89543 5 6 5V3ZM18 6.5H6C5.72386 6.5 5.5 6.72386 5.5 7V8H18.5V7C18.5 6.72386 18.2761 6.5 18 6.5ZM18.5 9.5H5.5V19C5.5 19.2761 5.72386 19.5 6 19.5H18C18.2761 19.5 18.5 19.2761 18.5 19V9.5ZM11 11H13V13H11V11ZM7 11V13H9V11H7ZM15 13V11H17V13H15Z"
 }));
-/* harmony default export */ var library_widget = (widget_widget);
+/* harmony default export */ var library_widget = (widget);

 // EXTERNAL MODULE: ./node_modules/classnames/index.js
-var classnames = __webpack_require__("TSYQ");
+var classnames = __webpack_require__(4403);
 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
-
-// EXTERNAL MODULE: external ["wp","blockEditor"]
-var external_wp_blockEditor_ = __webpack_require__("axFQ");
-
-// EXTERNAL MODULE: external ["wp","components"]
-var external_wp_components_ = __webpack_require__("tI+e");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/brush.js
+;// CONCATENATED MODULE: external ["wp","blockEditor"]
+var external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
+;// CONCATENATED MODULE: external ["wp","components"]
+var external_wp_components_namespaceObject = window["wp"]["components"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/brush.js


 /**
  * WordPress dependencies
  */

-const brush = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const brush = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"
 }));
 /* harmony default export */ var library_brush = (brush);

-// EXTERNAL MODULE: external ["wp","i18n"]
-var external_wp_i18n_ = __webpack_require__("l3Sj");
-
-// EXTERNAL MODULE: external ["wp","data"]
-var external_wp_data_ = __webpack_require__("1ZqX");
-
-// EXTERNAL MODULE: external ["wp","coreData"]
-var external_wp_coreData_ = __webpack_require__("jZUy");
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/widget-type-selector.js
+;// CONCATENATED MODULE: external ["wp","i18n"]
+var external_wp_i18n_namespaceObject = window["wp"]["i18n"];
+;// CONCATENATED MODULE: external ["wp","data"]
+var external_wp_data_namespaceObject = window["wp"]["data"];
+;// CONCATENATED MODULE: external ["wp","coreData"]
+var external_wp_coreData_namespaceObject = window["wp"]["coreData"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/widget-type-selector.js


 /**
@@ -197,29 +233,29 @@ function WidgetTypeSelector(_ref) {
     selectedId,
     onSelect
   } = _ref;
-  const widgetTypes = Object(external_wp_data_["useSelect"])(select => {
+  const widgetTypes = (0,external_wp_data_namespaceObject.useSelect)(select => {
     var _select$getSettings$w, _select$getSettings, _select$getWidgetType;

-    const hiddenIds = (_select$getSettings$w = (_select$getSettings = select(external_wp_blockEditor_["store"]).getSettings()) === null || _select$getSettings === void 0 ? void 0 : _select$getSettings.widgetTypesToHideFromLegacyWidgetBlock) !== null && _select$getSettings$w !== void 0 ? _select$getSettings$w : [];
-    return (_select$getWidgetType = select(external_wp_coreData_["store"]).getWidgetTypes({
+    const hiddenIds = (_select$getSettings$w = (_select$getSettings = select(external_wp_blockEditor_namespaceObject.store).getSettings()) === null || _select$getSettings === void 0 ? void 0 : _select$getSettings.widgetTypesToHideFromLegacyWidgetBlock) !== null && _select$getSettings$w !== void 0 ? _select$getSettings$w : [];
+    return (_select$getWidgetType = select(external_wp_coreData_namespaceObject.store).getWidgetTypes({
       per_page: -1
     })) === null || _select$getWidgetType === void 0 ? void 0 : _select$getWidgetType.filter(widgetType => !hiddenIds.includes(widgetType.id));
   }, []);

   if (!widgetTypes) {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null);
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null);
   }

   if (widgetTypes.length === 0) {
-    return Object(external_wp_i18n_["__"])('There are no widgets available.');
+    return (0,external_wp_i18n_namespaceObject.__)('There are no widgets available.');
   }

-  return Object(external_wp_element_["createElement"])(external_wp_components_["SelectControl"], {
-    label: Object(external_wp_i18n_["__"])('Select a legacy widget to display:'),
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.SelectControl, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Select a legacy widget to display:'),
     value: selectedId !== null && selectedId !== void 0 ? selectedId : '',
     options: [{
       value: '',
-      label: Object(external_wp_i18n_["__"])('Select widget')
+      label: (0,external_wp_i18n_namespaceObject.__)('Select widget')
     }, ...widgetTypes.map(widgetType => ({
       value: widgetType.id,
       label: widgetType.name
@@ -240,34 +276,30 @@ function WidgetTypeSelector(_ref) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/inspector-card.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/inspector-card.js

 function InspectorCard(_ref) {
   let {
     name,
     description
   } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-legacy-widget-inspector-card"
-  }, Object(external_wp_element_["createElement"])("h3", {
+  }, (0,external_wp_element_namespaceObject.createElement)("h3", {
     className: "wp-block-legacy-widget-inspector-card__name"
-  }, name), Object(external_wp_element_["createElement"])("span", null, description));
+  }, name), (0,external_wp_element_namespaceObject.createElement)("span", null, description));
 }

-// EXTERNAL MODULE: external ["wp","notices"]
-var external_wp_notices_ = __webpack_require__("onLe");
-
-// EXTERNAL MODULE: external ["wp","compose"]
-var external_wp_compose_ = __webpack_require__("K9lf");
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
-
-// EXTERNAL MODULE: external ["wp","apiFetch"]
-var external_wp_apiFetch_ = __webpack_require__("ywyh");
-var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_);
-
-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/control.js
+;// CONCATENATED MODULE: external ["wp","notices"]
+var external_wp_notices_namespaceObject = window["wp"]["notices"];
+;// CONCATENATED MODULE: external ["wp","compose"]
+var external_wp_compose_namespaceObject = window["wp"]["compose"];
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: external ["wp","apiFetch"]
+var external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
+var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/control.js
 /**
  * External dependencies
  */
@@ -288,7 +320,7 @@ var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_w
  * @property {Element} element The control's DOM element.
  */

-class control_Control {
+class Control {
   /**
    * Creates and loads a new control.
    *
@@ -321,7 +353,7 @@ class control_Control {
     // a fake but unique number.

     this.number = ++lastNumber;
-    this.handleFormChange = Object(external_lodash_["debounce"])(this.handleFormChange.bind(this), 200);
+    this.handleFormChange = (0,external_lodash_namespaceObject.debounce)(this.handleFormChange.bind(this), 200);
     this.handleFormSubmit = this.handleFormSubmit.bind(this);
     this.initDOM();
     this.bindEvents();
@@ -389,7 +421,7 @@ class control_Control {
     this.id && el('button', {
       class: 'button is-primary',
       type: 'submit'
-    }, Object(external_wp_i18n_["__"])('Save'))])])]);
+    }, (0,external_wp_i18n_namespaceObject.__)('Save'))])])]);
   }
   /**
    * Adds the control's event listeners.
@@ -712,7 +744,7 @@ function serializeForm(form) {
   return new window.URLSearchParams(Array.from(new window.FormData(form))).toString();
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/form.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/form.js


 /**
@@ -745,24 +777,24 @@ function Form(_ref) {
     onChangeInstance,
     onChangeHasPreview
   } = _ref;
-  const ref = Object(external_wp_element_["useRef"])();
-  const isMediumLargeViewport = Object(external_wp_compose_["useViewportMatch"])('small'); // We only want to remount the control when the instance changes
+  const ref = (0,external_wp_element_namespaceObject.useRef)();
+  const isMediumLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)('small'); // We only want to remount the control when the instance changes
   // *externally*. For example, if the user performs an undo. To do this, we
   // keep track of changes made to instance by the control itself and then
   // ignore those.

-  const outgoingInstances = Object(external_wp_element_["useRef"])(new Set());
-  const incomingInstances = Object(external_wp_element_["useRef"])(new Set());
+  const outgoingInstances = (0,external_wp_element_namespaceObject.useRef)(new Set());
+  const incomingInstances = (0,external_wp_element_namespaceObject.useRef)(new Set());
   const {
     createNotice
-  } = Object(external_wp_data_["useDispatch"])(external_wp_notices_["store"]);
-  Object(external_wp_element_["useEffect"])(() => {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     if (incomingInstances.current.has(instance)) {
       incomingInstances.current.delete(instance);
       return;
     }

-    const control = new control_Control({
+    const control = new Control({
       id,
       idBase,
       instance,
@@ -777,9 +809,9 @@ function Form(_ref) {

       onError(error) {
         window.console.error(error);
-        createNotice('error', Object(external_wp_i18n_["sprintf"])(
+        createNotice('error', (0,external_wp_i18n_namespaceObject.sprintf)(
         /* translators: %s: the name of the affected block. */
-        Object(external_wp_i18n_["__"])('The "%s" block was affected by errors and may not function properly. Check the developer tools for more details.'), idBase || id));
+        (0,external_wp_i18n_namespaceObject.__)('The "%s" block was affected by errors and may not function properly. Check the developer tools for more details.'), idBase || id));
       }

     });
@@ -795,33 +827,33 @@ function Form(_ref) {
   }, [id, idBase, instance, onChangeInstance, onChangeHasPreview, isMediumLargeViewport]);

   if (isWide && isMediumLargeViewport) {
-    return Object(external_wp_element_["createElement"])("div", {
+    return (0,external_wp_element_namespaceObject.createElement)("div", {
       className: classnames_default()({
         'wp-block-legacy-widget__container': isVisible
       })
-    }, isVisible && Object(external_wp_element_["createElement"])("h3", {
+    }, isVisible && (0,external_wp_element_namespaceObject.createElement)("h3", {
       className: "wp-block-legacy-widget__edit-form-title"
-    }, title), Object(external_wp_element_["createElement"])(external_wp_components_["Popover"], {
+    }, title), (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Popover, {
       focusOnMount: false,
       position: "middle right",
       __unstableForceXAlignment: true
-    }, Object(external_wp_element_["createElement"])("div", {
+    }, (0,external_wp_element_namespaceObject.createElement)("div", {
       ref: ref,
       className: "wp-block-legacy-widget__edit-form",
       hidden: !isVisible
     })));
   }

-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     ref: ref,
     className: "wp-block-legacy-widget__edit-form",
     hidden: !isVisible
-  }, Object(external_wp_element_["createElement"])("h3", {
+  }, (0,external_wp_element_namespaceObject.createElement)("h3", {
     className: "wp-block-legacy-widget__edit-form-title"
   }, title));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/preview.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/preview.js


 /**
@@ -843,9 +875,9 @@ function Preview(_ref) {
     instance,
     isVisible
   } = _ref;
-  const [isLoaded, setIsLoaded] = Object(external_wp_element_["useState"])(false);
-  const [srcDoc, setSrcDoc] = Object(external_wp_element_["useState"])('');
-  Object(external_wp_element_["useEffect"])(() => {
+  const [isLoaded, setIsLoaded] = (0,external_wp_element_namespaceObject.useState)(false);
+  const [srcDoc, setSrcDoc] = (0,external_wp_element_namespaceObject.useState)('');
+  (0,external_wp_element_namespaceObject.useEffect)(() => {
     const abortController = typeof window.AbortController === 'undefined' ? undefined : new window.AbortController();

     async function fetchPreviewHTML() {
@@ -873,7 +905,7 @@ function Preview(_ref) {
     return () => abortController === null || abortController === void 0 ? void 0 : abortController.abort();
   }, [idBase, instance]); // Resize the iframe on either the load event, or when the iframe becomes visible.

-  const ref = Object(external_wp_compose_["useRefEffect"])(iframe => {
+  const ref = (0,external_wp_compose_namespaceObject.useRefEffect)(iframe => {
     // Only set height if the iframe is loaded,
     // or it will grow to an unexpected large height in Safari if it's hidden initially.
     if (!isLoaded) {
@@ -910,15 +942,15 @@ function Preview(_ref) {
       iframe.removeEventListener('load', setHeight);
     };
   }, [isLoaded]);
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, isVisible && !isLoaded && Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)), Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, isVisible && !isLoaded && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null)), (0,external_wp_element_namespaceObject.createElement)("div", {
     className: classnames_default()('wp-block-legacy-widget__edit-preview', {
       'is-offscreen': !isVisible || !isLoaded
     })
-  }, Object(external_wp_element_["createElement"])(external_wp_components_["Disabled"], null, Object(external_wp_element_["createElement"])("iframe", {
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Disabled, null, (0,external_wp_element_namespaceObject.createElement)("iframe", {
     ref: ref,
     className: "wp-block-legacy-widget__edit-preview-iframe",
     tabIndex: "-1",
-    title: Object(external_wp_i18n_["__"])('Legacy Widget Preview'),
+    title: (0,external_wp_i18n_namespaceObject.__)('Legacy Widget Preview'),
     srcDoc: srcDoc,
     onLoad: event => {
       // To hide the scrollbars of the preview frame for some edge cases,
@@ -932,7 +964,7 @@ function Preview(_ref) {
   }))));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/no-preview.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/no-preview.js


 /**
@@ -943,12 +975,12 @@ function NoPreview(_ref) {
   let {
     name
   } = _ref;
-  return Object(external_wp_element_["createElement"])("div", {
+  return (0,external_wp_element_namespaceObject.createElement)("div", {
     className: "wp-block-legacy-widget__edit-no-preview"
-  }, name && Object(external_wp_element_["createElement"])("h3", null, name), Object(external_wp_element_["createElement"])("p", null, Object(external_wp_i18n_["__"])('No preview available.')));
+  }, name && (0,external_wp_element_namespaceObject.createElement)("h3", null, name), (0,external_wp_element_namespaceObject.createElement)("p", null, (0,external_wp_i18n_namespaceObject.__)('No preview available.')));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/convert-to-blocks-button.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/convert-to-blocks-button.js


 /**
@@ -966,25 +998,25 @@ function ConvertToBlocksButton(_ref) {
   } = _ref;
   const {
     replaceBlocks
-  } = Object(external_wp_data_["useDispatch"])(external_wp_blockEditor_["store"]);
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarButton"], {
+  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarButton, {
     onClick: () => {
       if (rawInstance.title) {
-        replaceBlocks(clientId, [Object(external_wp_blocks_["createBlock"])('core/heading', {
+        replaceBlocks(clientId, [(0,external_wp_blocks_namespaceObject.createBlock)('core/heading', {
           content: rawInstance.title
-        }), ...Object(external_wp_blocks_["rawHandler"])({
+        }), ...(0,external_wp_blocks_namespaceObject.rawHandler)({
           HTML: rawInstance.text
         })]);
       } else {
-        replaceBlocks(clientId, Object(external_wp_blocks_["rawHandler"])({
+        replaceBlocks(clientId, (0,external_wp_blocks_namespaceObject.rawHandler)({
           HTML: rawInstance.text
         }));
       }
     }
-  }, Object(external_wp_i18n_["__"])('Convert to blocks'));
+  }, (0,external_wp_i18n_namespaceObject.__)('Convert to blocks'));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/index.js


 /**
@@ -1020,12 +1052,12 @@ function Edit(props) {
   const {
     isWide = false
   } = props;
-  const blockProps = Object(external_wp_blockEditor_["useBlockProps"])({
+  const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: classnames_default()({
       'is-wide-widget': isWide
     })
   });
-  return Object(external_wp_element_["createElement"])("div", blockProps, !id && !idBase ? Object(external_wp_element_["createElement"])(Empty, props) : Object(external_wp_element_["createElement"])(NotEmpty, props));
+  return (0,external_wp_element_namespaceObject.createElement)("div", blockProps, !id && !idBase ? (0,external_wp_element_namespaceObject.createElement)(Empty, props) : (0,external_wp_element_namespaceObject.createElement)(NotEmpty, props));
 }

 function Empty(_ref) {
@@ -1036,12 +1068,12 @@ function Empty(_ref) {
     },
     setAttributes
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
-    icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
+    icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
       icon: library_brush
     }),
-    label: Object(external_wp_i18n_["__"])('Legacy Widget')
-  }, Object(external_wp_element_["createElement"])(WidgetTypeSelector, {
+    label: (0,external_wp_i18n_namespaceObject.__)('Legacy Widget')
+  }, (0,external_wp_element_namespaceObject.createElement)(WidgetTypeSelector, {
     selectedId: id !== null && id !== void 0 ? id : idBase,
     onSelect: _ref2 => {
       let {
@@ -1084,48 +1116,48 @@ function NotEmpty(_ref3) {
     isSelected,
     isWide = false
   } = _ref3;
-  const [hasPreview, setHasPreview] = Object(external_wp_element_["useState"])(null);
+  const [hasPreview, setHasPreview] = (0,external_wp_element_namespaceObject.useState)(null);
   const {
     widgetType,
     hasResolvedWidgetType,
     isNavigationMode
-  } = Object(external_wp_data_["useSelect"])(select => {
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
     const widgetTypeId = id !== null && id !== void 0 ? id : idBase;
     return {
-      widgetType: select(external_wp_coreData_["store"]).getWidgetType(widgetTypeId),
-      hasResolvedWidgetType: select(external_wp_coreData_["store"]).hasFinishedResolution('getWidgetType', [widgetTypeId]),
-      isNavigationMode: select(external_wp_blockEditor_["store"]).isNavigationMode()
+      widgetType: select(external_wp_coreData_namespaceObject.store).getWidgetType(widgetTypeId),
+      hasResolvedWidgetType: select(external_wp_coreData_namespaceObject.store).hasFinishedResolution('getWidgetType', [widgetTypeId]),
+      isNavigationMode: select(external_wp_blockEditor_namespaceObject.store).isNavigationMode()
     };
   }, [id, idBase]);
-  const setInstance = Object(external_wp_element_["useCallback"])(nextInstance => {
+  const setInstance = (0,external_wp_element_namespaceObject.useCallback)(nextInstance => {
     setAttributes({
       instance: nextInstance
     });
   }, []);

   if (!widgetType && hasResolvedWidgetType) {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
-      icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
+      icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
         icon: library_brush
       }),
-      label: Object(external_wp_i18n_["__"])('Legacy Widget')
-    }, Object(external_wp_i18n_["__"])('Widget is missing.'));
+      label: (0,external_wp_i18n_namespaceObject.__)('Legacy Widget')
+    }, (0,external_wp_i18n_namespaceObject.__)('Widget is missing.'));
   }

   if (!hasResolvedWidgetType) {
-    return Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null));
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null));
   }

   const mode = idBase && (isNavigationMode || !isSelected) ? 'preview' : 'edit';
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, idBase === 'text' && Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockControls"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, idBase === 'text' && (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockControls, {
     group: "other"
-  }, Object(external_wp_element_["createElement"])(ConvertToBlocksButton, {
+  }, (0,external_wp_element_namespaceObject.createElement)(ConvertToBlocksButton, {
     clientId: clientId,
     rawInstance: instance.raw
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, Object(external_wp_element_["createElement"])(InspectorCard, {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InspectorControls, null, (0,external_wp_element_namespaceObject.createElement)(InspectorCard, {
     name: widgetType.name,
     description: widgetType.description
-  })), Object(external_wp_element_["createElement"])(Form, {
+  })), (0,external_wp_element_namespaceObject.createElement)(Form, {
     title: widgetType.name,
     isVisible: mode === 'edit',
     id: id,
@@ -1134,16 +1166,16 @@ function NotEmpty(_ref3) {
     isWide: isWide,
     onChangeInstance: setInstance,
     onChangeHasPreview: setHasPreview
-  }), idBase && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, hasPreview === null && mode === 'preview' && Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Spinner"], null)), hasPreview === true && Object(external_wp_element_["createElement"])(Preview, {
+  }), idBase && (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, hasPreview === null && mode === 'preview' && (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Spinner, null)), hasPreview === true && (0,external_wp_element_namespaceObject.createElement)(Preview, {
     idBase: idBase,
     instance: instance,
     isVisible: mode === 'preview'
-  }), hasPreview === false && mode === 'preview' && Object(external_wp_element_["createElement"])(NoPreview, {
+  }), hasPreview === false && mode === 'preview' && (0,external_wp_element_namespaceObject.createElement)(NoPreview, {
     name: widgetType.name
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/transforms.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/transforms.js
 /**
  * WordPress dependencies
  */
@@ -1358,13 +1390,13 @@ const legacyWidgetTransforms = [{
       let {
         instance
       } = _ref14;
-      const transformedBlock = Object(external_wp_blocks_["createBlock"])(block, transform ? transform(instance.raw) : undefined);
+      const transformedBlock = (0,external_wp_blocks_namespaceObject.createBlock)(block, transform ? transform(instance.raw) : undefined);

       if (!((_instance$raw = instance.raw) !== null && _instance$raw !== void 0 && _instance$raw.title)) {
         return transformedBlock;
       }

-      return [Object(external_wp_blocks_["createBlock"])('core/heading', {
+      return [(0,external_wp_blocks_namespaceObject.createBlock)('core/heading', {
         content: instance.raw.title
       }), transformedBlock];
     }
@@ -1375,7 +1407,7 @@ const transforms = {
 };
 /* harmony default export */ var legacy_widget_transforms = (transforms);

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/index.js
 /**
  * WordPress dependencies
  */
@@ -1384,7 +1416,7 @@ const transforms = {
  * Internal dependencies
  */

-const legacy_widget_metadata = {
+const metadata = {
   apiVersion: 2,
   name: "core/legacy-widget",
   title: "Legacy Widget",
@@ -1416,18 +1448,30 @@ const legacy_widget_metadata = {

 const {
   name: legacy_widget_name
-} = legacy_widget_metadata;
+} = metadata;

-const legacy_widget_settings = {
+const settings = {
   icon: library_widget,
   edit: Edit,
   transforms: legacy_widget_transforms
 };

-// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/group.js
-var group = __webpack_require__("u6za");
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/group.js
+
+
+/**
+ * WordPress dependencies
+ */
+
+const group = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
+  viewBox: "0 0 24 24",
+  xmlns: "http://www.w3.org/2000/svg"
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
+  d: "M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"
+}));
+/* harmony default export */ var library_group = (group);

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/edit.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/edit.js


 /**
@@ -1444,25 +1488,25 @@ function edit_Edit(props) {
   } = props;
   const {
     innerBlocks
-  } = Object(external_wp_data_["useSelect"])(select => select(external_wp_blockEditor_["store"]).getBlock(clientId), [clientId]);
-  return Object(external_wp_element_["createElement"])("div", Object(external_wp_blockEditor_["useBlockProps"])({
+  } = (0,external_wp_data_namespaceObject.useSelect)(select => select(external_wp_blockEditor_namespaceObject.store).getBlock(clientId), [clientId]);
+  return (0,external_wp_element_namespaceObject.createElement)("div", (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
     className: 'widget'
-  }), innerBlocks.length === 0 ? Object(external_wp_element_["createElement"])(PlaceholderContent, props) : Object(external_wp_element_["createElement"])(PreviewContent, props));
+  }), innerBlocks.length === 0 ? (0,external_wp_element_namespaceObject.createElement)(PlaceholderContent, props) : (0,external_wp_element_namespaceObject.createElement)(PreviewContent, props));
 }

 function PlaceholderContent(_ref) {
   let {
     clientId
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Placeholder"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.Placeholder, {
     className: "wp-block-widget-group__placeholder",
-    icon: Object(external_wp_element_["createElement"])(external_wp_blockEditor_["BlockIcon"], {
-      icon: group["a" /* default */]
+    icon: (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.BlockIcon, {
+      icon: library_group
     }),
-    label: Object(external_wp_i18n_["__"])('Widget Group')
-  }, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["ButtonBlockAppender"], {
+    label: (0,external_wp_i18n_namespaceObject.__)('Widget Group')
+  }, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.ButtonBlockAppender, {
     rootClientId: clientId
-  })), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"], {
+  })), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks, {
     renderAppender: false
   }));
 }
@@ -1474,19 +1518,19 @@ function PreviewContent(_ref2) {
     attributes,
     setAttributes
   } = _ref2;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText, {
     tagName: "h2",
     className: "widget-title",
     allowedFormats: [],
-    placeholder: Object(external_wp_i18n_["__"])('Title'),
+    placeholder: (0,external_wp_i18n_namespaceObject.__)('Title'),
     value: (_attributes$title = attributes.title) !== null && _attributes$title !== void 0 ? _attributes$title : '',
     onChange: title => setAttributes({
       title
     })
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"], null));
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks, null));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/save.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/save.js


 /**
@@ -1497,14 +1541,14 @@ function save(_ref) {
   let {
     attributes
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["RichText"].Content, {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.RichText.Content, {
     tagName: "h2",
     className: "widget-title",
     value: attributes.title
-  }), Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InnerBlocks"].Content, null));
+  }), (0,external_wp_element_namespaceObject.createElement)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, null));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/index.js
 /**
  * WordPress dependencies
  */
@@ -1540,9 +1584,9 @@ const {
 } = widget_group_metadata;

 const widget_group_settings = {
-  title: Object(external_wp_i18n_["__"])('Widget Group'),
-  description: Object(external_wp_i18n_["__"])('Create a classic widget layout with a title that’s styled by your theme for your widget areas.'),
-  icon: group["a" /* default */],
+  title: (0,external_wp_i18n_namespaceObject.__)('Widget Group'),
+  description: (0,external_wp_i18n_namespaceObject.__)('Create a classic widget layout with a title that’s styled by your theme for your widget areas.'),
+  icon: library_group,
   __experimentalLabel: _ref => {
     let {
       name: label
@@ -1565,7 +1609,7 @@ const widget_group_settings = {
       __experimentalConvert(blocks) {
         // Put the selected blocks inside the new Widget Group's innerBlocks.
         let innerBlocks = [...blocks.map(block => {
-          return Object(external_wp_blocks_["createBlock"])(block.name, block.attributes, block.innerBlocks);
+          return (0,external_wp_blocks_namespaceObject.createBlock)(block.name, block.attributes, block.innerBlocks);
         })]; // If the first block is a heading then assume this is intended
         // to be the Widget's "title".

@@ -1573,7 +1617,7 @@ const widget_group_settings = {
         // it's content into the Widget Group's title attribute.

         innerBlocks = innerBlocks.filter(block => block !== firstHeadingBlock);
-        return Object(external_wp_blocks_["createBlock"])('core/widget-group', { ...(firstHeadingBlock && {
+        return (0,external_wp_blocks_namespaceObject.createBlock)('core/widget-group', { ...(firstHeadingBlock && {
             title: firstHeadingBlock.attributes.content
           })
         }, innerBlocks);
@@ -1583,22 +1627,22 @@ const widget_group_settings = {
   }
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/move-to.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/icons/build-module/library/move-to.js


 /**
  * WordPress dependencies
  */

-const moveTo = Object(external_wp_element_["createElement"])(external_wp_primitives_["SVG"], {
+const moveTo = (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.SVG, {
   xmlns: "http://www.w3.org/2000/svg",
   viewBox: "0 0 24 24"
-}, Object(external_wp_element_["createElement"])(external_wp_primitives_["Path"], {
+}, (0,external_wp_element_namespaceObject.createElement)(external_wp_primitives_namespaceObject.Path, {
   d: "M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z"
 }));
 /* harmony default export */ var move_to = (moveTo);

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/components/move-to-widget-area/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/components/move-to-widget-area/index.js


 /**
@@ -1613,17 +1657,17 @@ function MoveToWidgetArea(_ref) {
     widgetAreas,
     onSelect
   } = _ref;
-  return Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarItem"], null, toggleProps => Object(external_wp_element_["createElement"])(external_wp_components_["DropdownMenu"], {
+  return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarGroup, null, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.ToolbarItem, null, toggleProps => (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.DropdownMenu, {
     icon: move_to,
-    label: Object(external_wp_i18n_["__"])('Move to widget area'),
+    label: (0,external_wp_i18n_namespaceObject.__)('Move to widget area'),
     toggleProps: toggleProps
   }, _ref2 => {
     let {
       onClose
     } = _ref2;
-    return Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], {
-      label: Object(external_wp_i18n_["__"])('Move to')
-    }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItemsChoice"], {
+    return (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuGroup, {
+      label: (0,external_wp_i18n_namespaceObject.__)('Move to')
+    }, (0,external_wp_element_namespaceObject.createElement)(external_wp_components_namespaceObject.MenuItemsChoice, {
       choices: widgetAreas.map(widgetArea => ({
         value: widgetArea.id,
         label: widgetArea.name,
@@ -1638,10 +1682,10 @@ function MoveToWidgetArea(_ref) {
   })));
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/components/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/components/index.js


-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/utils.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/utils.js
 // @ts-check

 /**
@@ -1674,7 +1718,7 @@ function addWidgetIdToBlock(block, widgetId) {
   };
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/register-legacy-widget-variations.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/register-legacy-widget-variations.js
 /**
  * WordPress dependencies
  */
@@ -1682,17 +1726,17 @@ function addWidgetIdToBlock(block, widgetId) {


 function registerLegacyWidgetVariations(settings) {
-  const unsubscribe = Object(external_wp_data_["subscribe"])(() => {
+  const unsubscribe = (0,external_wp_data_namespaceObject.subscribe)(() => {
     var _settings$widgetTypes, _select$getWidgetType;

     const hiddenIds = (_settings$widgetTypes = settings === null || settings === void 0 ? void 0 : settings.widgetTypesToHideFromLegacyWidgetBlock) !== null && _settings$widgetTypes !== void 0 ? _settings$widgetTypes : [];
-    const widgetTypes = (_select$getWidgetType = Object(external_wp_data_["select"])(external_wp_coreData_["store"]).getWidgetTypes({
+    const widgetTypes = (_select$getWidgetType = (0,external_wp_data_namespaceObject.select)(external_wp_coreData_namespaceObject.store).getWidgetTypes({
       per_page: -1
     })) === null || _select$getWidgetType === void 0 ? void 0 : _select$getWidgetType.filter(widgetType => !hiddenIds.includes(widgetType.id));

     if (widgetTypes) {
       unsubscribe();
-      Object(external_wp_data_["dispatch"])(external_wp_blocks_["store"]).addBlockVariations('core/legacy-widget', widgetTypes.map(widgetType => ({
+      (0,external_wp_data_namespaceObject.dispatch)(external_wp_blocks_namespaceObject.store).addBlockVariations('core/legacy-widget', widgetTypes.map(widgetType => ({
         name: widgetType.id,
         title: widgetType.name,
         description: widgetType.description,
@@ -1707,7 +1751,7 @@ function registerLegacyWidgetVariations(settings) {
   });
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/widgets/build-module/index.js
 /**
  * WordPress dependencies
  */
@@ -1735,7 +1779,7 @@ function registerLegacyWidgetBlock() {
     settings,
     name
   } = legacy_widget_namespaceObject;
-  Object(external_wp_blocks_["registerBlockType"])({
+  (0,external_wp_blocks_namespaceObject.registerBlockType)({
     name,
     ...metadata
   }, settings);
@@ -1750,180 +1794,14 @@ function registerWidgetGroupBlock() {
     settings,
     name
   } = widget_group_namespaceObject;
-  Object(external_wp_blocks_["registerBlockType"])({
+  (0,external_wp_blocks_namespaceObject.registerBlockType)({
     name,
     ...metadata
   }, settings);
 }


-
-/***/ }),
-
-/***/ "GRId":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["element"]; }());
-
-/***/ }),
-
-/***/ "HSyU":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blocks"]; }());
-
-/***/ }),
-
-/***/ "K9lf":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["compose"]; }());
-
-/***/ }),
-
-/***/ "TSYQ":
-/***/ (function(module, exports, __webpack_require__) {
-
-var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
-  Copyright (c) 2018 Jed Watson.
-  Licensed under the MIT License (MIT), see
-  http://jedwatson.github.io/classnames
-*/
-/* global define */
-
-(function () {
-	'use strict';
-
-	var hasOwn = {}.hasOwnProperty;
-
-	function classNames() {
-		var classes = [];
-
-		for (var i = 0; i < arguments.length; i++) {
-			var arg = arguments[i];
-			if (!arg) continue;
-
-			var argType = typeof arg;
-
-			if (argType === 'string' || argType === 'number') {
-				classes.push(arg);
-			} else if (Array.isArray(arg)) {
-				if (arg.length) {
-					var inner = classNames.apply(null, arg);
-					if (inner) {
-						classes.push(inner);
-					}
-				}
-			} else if (argType === 'object') {
-				if (arg.toString === Object.prototype.toString) {
-					for (var key in arg) {
-						if (hasOwn.call(arg, key) && arg[key]) {
-							classes.push(key);
-						}
-					}
-				} else {
-					classes.push(arg.toString());
-				}
-			}
-		}
-
-		return classes.join(' ');
-	}
-
-	if ( true && module.exports) {
-		classNames.default = classNames;
-		module.exports = classNames;
-	} else if (true) {
-		// register as 'classnames', consistent with npm package name
-		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
-			return classNames;
-		}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
-				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
-	} else {}
-}());
-
-
-/***/ }),
-
-/***/ "Tqx9":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["primitives"]; }());
-
-/***/ }),
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "axFQ":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["blockEditor"]; }());
-
-/***/ }),
-
-/***/ "jZUy":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["coreData"]; }());
-
-/***/ }),
-
-/***/ "l3Sj":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["i18n"]; }());
-
-/***/ }),
-
-/***/ "onLe":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["notices"]; }());
-
-/***/ }),
-
-/***/ "tI+e":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["components"]; }());
-
-/***/ }),
-
-/***/ "u6za":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
-/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
-
-
-/**
- * WordPress dependencies
- */
-
-const group = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
-  viewBox: "0 0 24 24",
-  xmlns: "http://www.w3.org/2000/svg"
-}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
-  d: "M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"
-}));
-/* harmony default export */ __webpack_exports__["a"] = (group);
-
-
-/***/ }),
-
-/***/ "ywyh":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["wp"]["apiFetch"]; }());
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+}();
+(window.wp = window.wp || {}).widgets = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/widgets.min.js b/wp-includes/js/dist/widgets.min.js
index 1b20d6021a..3f294d400a 100644
--- a/wp-includes/js/dist/widgets.min.js
+++ b/wp-includes/js/dist/widgets.min.js
@@ -1,7 +1,7 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.widgets=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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="4g8P")}({"1ZqX":function(e,t){e.exports=window.wp.data},"4g8P":function(e,t,n){"use strict";n.r(t),n.d(t,"MoveToWidgetArea",(function(){return q})),n.d(t,"getWidgetIdFromBlock",(function(){return X})),n.d(t,"addWidgetIdToBlock",(function(){return Y})),n.d(t,"registerLegacyWidgetBlock",(function(){return J})),n.d(t,"registerWidgetGroupBlock",(function(){return ee})),n.d(t,"registerLegacyWidgetVariations",(function(){return K}));var i={};n.r(i),n.d(i,"metadata",(function(){return D})),n.d(i,"name",(function(){return W})),n.d(i,"settings",(function(){return A}));var r={};n.r(r),n.d(r,"metadata",(function(){return Q})),n.d(r,"name",(function(){return Z})),n.d(r,"settings",(function(){return U}));var o=n("HSyU"),a=n("GRId"),c=n("Tqx9");var s=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Path,{d:"M6 3H8V5H16V3H18V5C19.1046 5 20 5.89543 20 7V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V7C4 5.89543 4.89543 5 6 5V3ZM18 6.5H6C5.72386 6.5 5.5 6.72386 5.5 7V8H18.5V7C18.5 6.72386 18.2761 6.5 18 6.5ZM18.5 9.5H5.5V19C5.5 19.2761 5.72386 19.5 6 19.5H18C18.2761 19.5 18.5 19.2761 18.5 19V9.5ZM11 11H13V13H11V11ZM7 11V13H9V11H7ZM15 13V11H17V13H15Z"})),l=n("TSYQ"),d=n.n(l),u=n("axFQ"),m=n("tI+e");var h=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Path,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"})),b=n("l3Sj"),g=n("1ZqX"),w=n("jZUy");function p(e){let{selectedId:t,onSelect:n}=e;const i=Object(g.useSelect)(e=>{var t,n,i;const r=null!==(t=null===(n=e(u.store).getSettings())||void 0===n?void 0:n.widgetTypesToHideFromLegacyWidgetBlock)&&void 0!==t?t:[];return null===(i=e(w.store).getWidgetTypes({per_page:-1}))||void 0===i?void 0:i.filter(e=>!r.includes(e.id))},[]);return i?0===i.length?Object(b.__)("There are no widgets available."):Object(a.createElement)(m.SelectControl,{label:Object(b.__)("Select a legacy widget to display:"),value:null!=t?t:"",options:[{value:"",label:Object(b.__)("Select widget")},...i.map(e=>({value:e.id,label:e.name}))],onChange:e=>{if(e){const t=i.find(t=>t.id===e);n({selectedId:t.id,isMulti:t.is_multi})}else n({selectedId:null})}}):Object(a.createElement)(m.Spinner,null)}function f(e){let{name:t,description:n}=e;return Object(a.createElement)("div",{className:"wp-block-legacy-widget-inspector-card"},Object(a.createElement)("h3",{className:"wp-block-legacy-widget-inspector-card__name"},t),Object(a.createElement)("span",null,n))}var v=n("onLe"),j=n("K9lf"),O=n("YLtl"),y=n("ywyh"),_=n.n(y);class E{constructor(e){let{id:t,idBase:n,instance:i,onChangeInstance:r,onChangeHasPreview:o,onError:a}=e;this.id=t,this.idBase=n,this._instance=i,this._hasPreview=null,this.onChangeInstance=r,this.onChangeHasPreview=o,this.onError=a,this.number=++k,this.handleFormChange=Object(O.debounce)(this.handleFormChange.bind(this),200),this.handleFormSubmit=this.handleFormSubmit.bind(this),this.initDOM(),this.bindEvents(),this.loadContent()}destroy(){this.unbindEvents(),this.element.remove()}initDOM(){var e,t;this.element=B("div",{class:"widget open"},[B("div",{class:"widget-inside"},[this.form=B("form",{class:"form",method:"post"},[B("input",{class:"widget-id",type:"hidden",name:"widget-id",value:null!==(e=this.id)&&void 0!==e?e:`${this.idBase}-${this.number}`}),B("input",{class:"id_base",type:"hidden",name:"id_base",value:null!==(t=this.idBase)&&void 0!==t?t:this.id}),B("input",{class:"widget-width",type:"hidden",name:"widget-width",value:"250"}),B("input",{class:"widget-height",type:"hidden",name:"widget-height",value:"200"}),B("input",{class:"widget_number",type:"hidden",name:"widget_number",value:this.idBase?this.number.toString():""}),this.content=B("div",{class:"widget-content"}),this.id&&B("button",{class:"button is-primary",type:"submit"},Object(b.__)("Save"))])])])}bindEvents(){if(window.jQuery){const{jQuery:e}=window;e(this.form).on("change",null,this.handleFormChange),e(this.form).on("input",null,this.handleFormChange),e(this.form).on("submit",this.handleFormSubmit)}else this.form.addEventListener("change",this.handleFormChange),this.form.addEventListener("input",this.handleFormChange),this.form.addEventListener("submit",this.handleFormSubmit)}unbindEvents(){if(window.jQuery){const{jQuery:e}=window;e(this.form).off("change",null,this.handleFormChange),e(this.form).off("input",null,this.handleFormChange),e(this.form).off("submit",this.handleFormSubmit)}else this.form.removeEventListener("change",this.handleFormChange),this.form.removeEventListener("input",this.handleFormChange),this.form.removeEventListener("submit",this.handleFormSubmit)}async loadContent(){try{if(this.id){const{form:e}=await C(this.id);this.content.innerHTML=e}else if(this.idBase){const{form:e,preview:t}=await S({idBase:this.idBase,instance:this.instance,number:this.number});if(this.content.innerHTML=e,this.hasPreview=!T(t),!this.instance.hash){const{instance:e}=await S({idBase:this.idBase,instance:this.instance,number:this.number,formData:I(this.form)});this.instance=e}}if(window.jQuery){const{jQuery:e}=window;e(document).trigger("widget-added",[e(this.element)])}}catch(e){this.onError(e)}}handleFormChange(){this.idBase&&this.saveForm()}handleFormSubmit(e){e.preventDefault(),this.saveForm()}async saveForm(){const e=I(this.form);try{if(this.id){const{form:t}=await C(this.id,e);if(this.content.innerHTML=t,window.jQuery){const{jQuery:e}=window;e(document).trigger("widget-updated",[e(this.element)])}}else if(this.idBase){const{instance:t,preview:n}=await S({idBase:this.idBase,instance:this.instance,number:this.number,formData:e});this.instance=t,this.hasPreview=!T(n)}}catch(e){this.onError(e)}}get instance(){return this._instance}set instance(e){this._instance!==e&&(this._instance=e,this.onChangeInstance(e))}get hasPreview(){return this._hasPreview}set hasPreview(e){this._hasPreview!==e&&(this._hasPreview=e,this.onChangeHasPreview(e))}}let k=0;function B(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const i=document.createElement(e);for(const[e,n]of Object.entries(t))i.setAttribute(e,n);if(Array.isArray(n))for(const e of n)e&&i.appendChild(e);else"string"==typeof n&&(i.innerText=n);return i}async function C(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t=n?await _()({path:`/wp/v2/widgets/${e}?context=edit`,method:"PUT",data:{form_data:n}}):await _()({path:`/wp/v2/widgets/${e}?context=edit`,method:"GET"}),{form:t.rendered_form}}async function S(e){let{idBase:t,instance:n,number:i,formData:r=null}=e;const o=await _()({path:`/wp/v2/widget-types/${t}/encode`,method:"POST",data:{instance:n,number:i,form_data:r}});return{instance:o.instance,form:o.form,preview:o.preview}}function T(e){const t=document.createElement("div");return t.innerHTML=e,x(t)}function x(e){switch(e.nodeType){case e.TEXT_NODE:return""===e.nodeValue.trim();case e.ELEMENT_NODE:return!["AUDIO","CANVAS","EMBED","IFRAME","IMG","MATH","OBJECT","SVG","VIDEO"].includes(e.tagName)&&(!e.hasChildNodes()||Array.from(e.childNodes).every(x));default:return!0}}function I(e){return new window.URLSearchParams(Array.from(new window.FormData(e))).toString()}function M(e){let{title:t,isVisible:n,id:i,idBase:r,instance:o,isWide:c,onChangeInstance:s,onChangeHasPreview:l}=e;const u=Object(a.useRef)(),h=Object(j.useViewportMatch)("small"),w=Object(a.useRef)(new Set),p=Object(a.useRef)(new Set),{createNotice:f}=Object(g.useDispatch)(v.store);return Object(a.useEffect)(()=>{if(p.current.has(o))return void p.current.delete(o);const e=new E({id:i,idBase:r,instance:o,onChangeInstance(e){w.current.add(o),p.current.add(e),s(e)},onChangeHasPreview:l,onError(e){window.console.error(e),f("error",Object(b.sprintf)(Object(b.__)('The "%s" block was affected by errors and may not function properly. Check the developer tools for more details.'),r||i))}});return u.current.appendChild(e.element),()=>{w.current.has(o)?w.current.delete(o):e.destroy()}},[i,r,o,s,l,h]),c&&h?Object(a.createElement)("div",{className:d()({"wp-block-legacy-widget__container":n})},n&&Object(a.createElement)("h3",{className:"wp-block-legacy-widget__edit-form-title"},t),Object(a.createElement)(m.Popover,{focusOnMount:!1,position:"middle right",__unstableForceXAlignment:!0},Object(a.createElement)("div",{ref:u,className:"wp-block-legacy-widget__edit-form",hidden:!n}))):Object(a.createElement)("div",{ref:u,className:"wp-block-legacy-widget__edit-form",hidden:!n},Object(a.createElement)("h3",{className:"wp-block-legacy-widget__edit-form-title"},t))}function P(e){let{idBase:t,instance:n,isVisible:i}=e;const[r,o]=Object(a.useState)(!1),[c,s]=Object(a.useState)("");Object(a.useEffect)(()=>{const e=void 0===window.AbortController?void 0:new window.AbortController;return async function(){const i=`/wp/v2/widget-types/${t}/render`;return await _()({path:i,method:"POST",signal:null==e?void 0:e.signal,data:n?{instance:n}:{}})}().then(e=>{s(e.preview)}).catch(e=>{if("AbortError"!==e.name)throw e}),()=>null==e?void 0:e.abort()},[t,n]);const l=Object(j.useRefEffect)(e=>{if(!r)return;function t(){const t=Math.max(e.contentDocument.documentElement.offsetHeight,e.contentDocument.body.offsetHeight);e.style.height=t+"px"}const{IntersectionObserver:n}=e.ownerDocument.defaultView,i=new n(e=>{let[n]=e;n.isIntersecting&&t()},{threshold:1});return i.observe(e),e.addEventListener("load",t),()=>{i.disconnect(),e.removeEventListener("load",t)}},[r]);return Object(a.createElement)(a.Fragment,null,i&&!r&&Object(a.createElement)(m.Placeholder,null,Object(a.createElement)(m.Spinner,null)),Object(a.createElement)("div",{className:d()("wp-block-legacy-widget__edit-preview",{"is-offscreen":!i||!r})},Object(a.createElement)(m.Disabled,null,Object(a.createElement)("iframe",{ref:l,className:"wp-block-legacy-widget__edit-preview-iframe",tabIndex:"-1",title:Object(b.__)("Legacy Widget Preview"),srcDoc:c,onLoad:e=>{e.target.contentDocument.body.style.overflow="hidden",o(!0)},height:100}))))}function H(e){let{name:t}=e;return Object(a.createElement)("div",{className:"wp-block-legacy-widget__edit-no-preview"},t&&Object(a.createElement)("h3",null,t),Object(a.createElement)("p",null,Object(b.__)("No preview available.")))}function V(e){let{clientId:t,rawInstance:n}=e;const{replaceBlocks:i}=Object(g.useDispatch)(u.store);return Object(a.createElement)(m.ToolbarButton,{onClick:()=>{n.title?i(t,[Object(o.createBlock)("core/heading",{content:n.title}),...Object(o.rawHandler)({HTML:n.text})]):i(t,Object(o.rawHandler)({HTML:n.text}))}},Object(b.__)("Convert to blocks"))}function F(e){let{attributes:{id:t,idBase:n},setAttributes:i}=e;return Object(a.createElement)(m.Placeholder,{icon:Object(a.createElement)(u.BlockIcon,{icon:h}),label:Object(b.__)("Legacy Widget")},Object(a.createElement)(p,{selectedId:null!=t?t:n,onSelect:e=>{let{selectedId:t,isMulti:n}=e;i(t?n?{id:null,idBase:t,instance:{}}:{id:t,idBase:null,instance:null}:{id:null,idBase:null,instance:null})}}))}function L(e){let{attributes:{id:t,idBase:n,instance:i},setAttributes:r,clientId:o,isSelected:c,isWide:s=!1}=e;const[l,d]=Object(a.useState)(null),{widgetType:p,hasResolvedWidgetType:v,isNavigationMode:j}=Object(g.useSelect)(e=>{const i=null!=t?t:n;return{widgetType:e(w.store).getWidgetType(i),hasResolvedWidgetType:e(w.store).hasFinishedResolution("getWidgetType",[i]),isNavigationMode:e(u.store).isNavigationMode()}},[t,n]),O=Object(a.useCallback)(e=>{r({instance:e})},[]);if(!p&&v)return Object(a.createElement)(m.Placeholder,{icon:Object(a.createElement)(u.BlockIcon,{icon:h}),label:Object(b.__)("Legacy Widget")},Object(b.__)("Widget is missing."));if(!v)return Object(a.createElement)(m.Placeholder,null,Object(a.createElement)(m.Spinner,null));const y=!n||!j&&c?"edit":"preview";return Object(a.createElement)(a.Fragment,null,"text"===n&&Object(a.createElement)(u.BlockControls,{group:"other"},Object(a.createElement)(V,{clientId:o,rawInstance:i.raw})),Object(a.createElement)(u.InspectorControls,null,Object(a.createElement)(f,{name:p.name,description:p.description})),Object(a.createElement)(M,{title:p.name,isVisible:"edit"===y,id:t,idBase:n,instance:i,isWide:s,onChangeInstance:O,onChangeHasPreview:d}),n&&Object(a.createElement)(a.Fragment,null,null===l&&"preview"===y&&Object(a.createElement)(m.Placeholder,null,Object(a.createElement)(m.Spinner,null)),!0===l&&Object(a.createElement)(P,{idBase:n,instance:i,isVisible:"preview"===y}),!1===l&&"preview"===y&&Object(a.createElement)(H,{name:p.name})))}var N={to:[{block:"core/calendar",widget:"calendar"},{block:"core/search",widget:"search"},{block:"core/html",widget:"custom_html",transform:e=>{let{content:t}=e;return{content:t}}},{block:"core/archives",widget:"archives",transform:e=>{let{count:t,dropdown:n}=e;return{displayAsDropdown:!!n,showPostCounts:!!t}}},{block:"core/latest-posts",widget:"recent-posts",transform:e=>{let{show_date:t,number:n}=e;return{displayPostDate:!!t,postsToShow:n}}},{block:"core/latest-comments",widget:"recent-comments",transform:e=>{let{number:t}=e;return{commentsToShow:t}}},{block:"core/tag-cloud",widget:"tag_cloud",transform:e=>{let{taxonomy:t,count:n}=e;return{showTagCounts:!!n,taxonomy:t}}},{block:"core/categories",widget:"categories",transform:e=>{let{count:t,dropdown:n,hierarchical:i}=e;return{displayAsDropdown:!!n,showPostCounts:!!t,showHierarchy:!!i}}},{block:"core/audio",widget:"media_audio",transform:e=>{let{url:t,preload:n,loop:i,attachment_id:r}=e;return{src:t,id:r,preload:n,loop:i}}},{block:"core/video",widget:"media_video",transform:e=>{let{url:t,preload:n,loop:i,attachment_id:r}=e;return{src:t,id:r,preload:n,loop:i}}},{block:"core/image",widget:"media_image",transform:e=>{let{alt:t,attachment_id:n,caption:i,height:r,link_classes:o,link_rel:a,link_target_blank:c,link_type:s,link_url:l,size:d,url:u,width:m}=e;return{alt:t,caption:i,height:r,id:n,link:l,linkClass:o,linkDestination:s,linkTarget:c?"_blank":void 0,rel:a,sizeSlug:d,url:u,width:m}}},{block:"core/gallery",widget:"media_gallery",transform:e=>{let{ids:t,link_type:n,size:i,number:r}=e;return{ids:t,columns:r,linkTo:n,sizeSlug:i,images:t.map(e=>({id:e}))}}},{block:"core/rss",widget:"rss",transform:e=>{let{url:t,show_author:n,show_date:i,show_summary:r,items:o}=e;return{feedURL:t,displayAuthor:!!n,displayDate:!!i,displayExcerpt:!!r,itemsToShow:o}}}].map(e=>{let{block:t,widget:n,transform:i}=e;return{type:"block",blocks:[t],isMatch:e=>{let{idBase:t,instance:i}=e;return t===n&&!(null==i||!i.raw)},transform:e=>{var n;let{instance:r}=e;const a=Object(o.createBlock)(t,i?i(r.raw):void 0);return null!==(n=r.raw)&&void 0!==n&&n.title?[Object(o.createBlock)("core/heading",{content:r.raw.title}),a]:a}}})};const D={apiVersion:2,name:"core/legacy-widget",title:"Legacy Widget",category:"widgets",description:"Display a legacy widget.",textdomain:"default",attributes:{id:{type:"string",default:null},idBase:{type:"string",default:null},instance:{type:"object",default:null}},supports:{html:!1,customClassName:!1,reusable:!1},editorStyle:"wp-block-legacy-widget-editor"},{name:W}=D,A={icon:s,edit:function(e){const{id:t,idBase:n}=e.attributes,{isWide:i=!1}=e,r=Object(u.useBlockProps)({className:d()({"is-wide-widget":i})});return Object(a.createElement)("div",r,t||n?Object(a.createElement)(L,e):Object(a.createElement)(F,e))},transforms:N};var G=n("u6za");function R(e){let{clientId:t}=e;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(m.Placeholder,{className:"wp-block-widget-group__placeholder",icon:Object(a.createElement)(u.BlockIcon,{icon:G.a}),label:Object(b.__)("Widget Group")},Object(a.createElement)(u.ButtonBlockAppender,{rootClientId:t})),Object(a.createElement)(u.InnerBlocks,{renderAppender:!1}))}function z(e){var t;let{attributes:n,setAttributes:i}=e;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(u.RichText,{tagName:"h2",className:"widget-title",allowedFormats:[],placeholder:Object(b.__)("Title"),value:null!==(t=n.title)&&void 0!==t?t:"",onChange:e=>i({title:e})}),Object(a.createElement)(u.InnerBlocks,null))}const Q={apiVersion:2,name:"core/widget-group",category:"widgets",attributes:{title:{type:"string"}},supports:{html:!1,inserter:!0,customClassName:!0,reusable:!1},editorStyle:"wp-block-widget-group-editor",style:"wp-block-widget-group"},{name:Z}=Q,U={title:Object(b.__)("Widget Group"),description:Object(b.__)("Create a classic widget layout with a title that’s styled by your theme for your widget areas."),icon:G.a,__experimentalLabel:e=>{let{name:t}=e;return t},edit:function(e){const{clientId:t}=e,{innerBlocks:n}=Object(g.useSelect)(e=>e(u.store).getBlock(t),[t]);return Object(a.createElement)("div",Object(u.useBlockProps)({className:"widget"}),0===n.length?Object(a.createElement)(R,e):Object(a.createElement)(z,e))},save:function(e){let{attributes:t}=e;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(u.RichText.Content,{tagName:"h2",className:"widget-title",value:t.title}),Object(a.createElement)(u.InnerBlocks.Content,null))},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],isMatch:(e,t)=>!t.some(e=>"core/widget-group"===e.name),__experimentalConvert(e){let t=[...e.map(e=>Object(o.createBlock)(e.name,e.attributes,e.innerBlocks))];const n="core/heading"===t[0].name?t[0]:null;return t=t.filter(e=>e!==n),Object(o.createBlock)("core/widget-group",{...n&&{title:n.attributes.content}},t)}}]}};var $=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Path,{d:"M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z"}));function q(e){let{currentWidgetAreaId:t,widgetAreas:n,onSelect:i}=e;return Object(a.createElement)(m.ToolbarGroup,null,Object(a.createElement)(m.ToolbarItem,null,e=>Object(a.createElement)(m.DropdownMenu,{icon:$,label:Object(b.__)("Move to widget area"),toggleProps:e},e=>{let{onClose:r}=e;return Object(a.createElement)(m.MenuGroup,{label:Object(b.__)("Move to")},Object(a.createElement)(m.MenuItemsChoice,{choices:n.map(e=>({value:e.id,label:e.name,info:e.description})),value:t,onSelect:e=>{i(e),r()}}))})))}function X(e){return e.attributes.__internalWidgetId}function Y(e,t){return{...e,attributes:{...e.attributes||{},__internalWidgetId:t}}}function K(e){const t=Object(g.subscribe)(()=>{var n,i;const r=null!==(n=null==e?void 0:e.widgetTypesToHideFromLegacyWidgetBlock)&&void 0!==n?n:[],a=null===(i=Object(g.select)(w.store).getWidgetTypes({per_page:-1}))||void 0===i?void 0:i.filter(e=>!r.includes(e.id));a&&(t(),Object(g.dispatch)(o.store).addBlockVariations("core/legacy-widget",a.map(e=>({name:e.id,title:e.name,description:e.description,attributes:e.is_multi?{idBase:e.id,instance:{}}:{id:e.id}}))))})}function J(){const{metadata:e,settings:t,name:n}=i;Object(o.registerBlockType)({name:n,...e},t)}function ee(){const{metadata:e,settings:t,name:n}=r;Object(o.registerBlockType)({name:n,...e},t)}},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},TSYQ:function(e,t,n){var i;
+!function(){var e={4403:function(e,t){var n;
 /*!
   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<arguments.length;t++){var i=arguments[t];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)){if(i.length){var a=r.apply(null,i);a&&e.push(a)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var c in i)n.call(i,c)&&i[c]&&e.push(c);else e.push(i.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(i=function(){return r}.apply(t,[]))||(e.exports=i)}()},Tqx9:function(e,t){e.exports=window.wp.primitives},YLtl:function(e,t){e.exports=window.lodash},axFQ:function(e,t){e.exports=window.wp.blockEditor},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},"tI+e":function(e,t){e.exports=window.wp.components},u6za:function(e,t,n){"use strict";var i=n("GRId"),r=n("Tqx9");const o=Object(i.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(r.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));t.a=o},ywyh:function(e,t){e.exports=window.wp.apiFetch}});
\ No newline at end of file
+*/!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)i.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};!function(){"use strict";n.r(i),n.d(i,{MoveToWidgetArea:function(){return X},addWidgetIdToBlock:function(){return q},getWidgetIdFromBlock:function(){return J},registerLegacyWidgetBlock:function(){return Y},registerLegacyWidgetVariations:function(){return K},registerWidgetGroupBlock:function(){return ee}});var e={};n.r(e),n.d(e,{metadata:function(){return A},name:function(){return O},settings:function(){return j}});var t={};n.r(t),n.d(t,{metadata:function(){return Q},name:function(){return $},settings:function(){return Z}});var r=window.wp.blocks,a=window.wp.element,o=window.wp.primitives;var s=(0,a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(o.Path,{d:"M6 3H8V5H16V3H18V5C19.1046 5 20 5.89543 20 7V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V7C4 5.89543 4.89543 5 6 5V3ZM18 6.5H6C5.72386 6.5 5.5 6.72386 5.5 7V8H18.5V7C18.5 6.72386 18.2761 6.5 18 6.5ZM18.5 9.5H5.5V19C5.5 19.2761 5.72386 19.5 6 19.5H18C18.2761 19.5 18.5 19.2761 18.5 19V9.5ZM11 11H13V13H11V11ZM7 11V13H9V11H7ZM15 13V11H17V13H15Z"})),l=n(4403),c=n.n(l),d=window.wp.blockEditor,u=window.wp.components;var m=(0,a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(o.Path,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"})),h=window.wp.i18n,w=window.wp.data,g=window.wp.coreData;function p(e){let{selectedId:t,onSelect:n}=e;const i=(0,w.useSelect)((e=>{var t,n,i;const r=null!==(t=null===(n=e(d.store).getSettings())||void 0===n?void 0:n.widgetTypesToHideFromLegacyWidgetBlock)&&void 0!==t?t:[];return null===(i=e(g.store).getWidgetTypes({per_page:-1}))||void 0===i?void 0:i.filter((e=>!r.includes(e.id)))}),[]);return i?0===i.length?(0,h.__)("There are no widgets available."):(0,a.createElement)(u.SelectControl,{label:(0,h.__)("Select a legacy widget to display:"),value:null!=t?t:"",options:[{value:"",label:(0,h.__)("Select widget")},...i.map((e=>({value:e.id,label:e.name})))],onChange:e=>{if(e){const t=i.find((t=>t.id===e));n({selectedId:t.id,isMulti:t.is_multi})}else n({selectedId:null})}}):(0,a.createElement)(u.Spinner,null)}function f(e){let{name:t,description:n}=e;return(0,a.createElement)("div",{className:"wp-block-legacy-widget-inspector-card"},(0,a.createElement)("h3",{className:"wp-block-legacy-widget-inspector-card__name"},t),(0,a.createElement)("span",null,n))}var v=window.wp.notices,b=window.wp.compose,y=window.lodash,_=window.wp.apiFetch,E=n.n(_);class k{constructor(e){let{id:t,idBase:n,instance:i,onChangeInstance:r,onChangeHasPreview:a,onError:o}=e;this.id=t,this.idBase=n,this._instance=i,this._hasPreview=null,this.onChangeInstance=r,this.onChangeHasPreview=a,this.onError=o,this.number=++B,this.handleFormChange=(0,y.debounce)(this.handleFormChange.bind(this),200),this.handleFormSubmit=this.handleFormSubmit.bind(this),this.initDOM(),this.bindEvents(),this.loadContent()}destroy(){this.unbindEvents(),this.element.remove()}initDOM(){var e,t;this.element=C("div",{class:"widget open"},[C("div",{class:"widget-inside"},[this.form=C("form",{class:"form",method:"post"},[C("input",{class:"widget-id",type:"hidden",name:"widget-id",value:null!==(e=this.id)&&void 0!==e?e:`${this.idBase}-${this.number}`}),C("input",{class:"id_base",type:"hidden",name:"id_base",value:null!==(t=this.idBase)&&void 0!==t?t:this.id}),C("input",{class:"widget-width",type:"hidden",name:"widget-width",value:"250"}),C("input",{class:"widget-height",type:"hidden",name:"widget-height",value:"200"}),C("input",{class:"widget_number",type:"hidden",name:"widget_number",value:this.idBase?this.number.toString():""}),this.content=C("div",{class:"widget-content"}),this.id&&C("button",{class:"button is-primary",type:"submit"},(0,h.__)("Save"))])])])}bindEvents(){if(window.jQuery){const{jQuery:e}=window;e(this.form).on("change",null,this.handleFormChange),e(this.form).on("input",null,this.handleFormChange),e(this.form).on("submit",this.handleFormSubmit)}else this.form.addEventListener("change",this.handleFormChange),this.form.addEventListener("input",this.handleFormChange),this.form.addEventListener("submit",this.handleFormSubmit)}unbindEvents(){if(window.jQuery){const{jQuery:e}=window;e(this.form).off("change",null,this.handleFormChange),e(this.form).off("input",null,this.handleFormChange),e(this.form).off("submit",this.handleFormSubmit)}else this.form.removeEventListener("change",this.handleFormChange),this.form.removeEventListener("input",this.handleFormChange),this.form.removeEventListener("submit",this.handleFormSubmit)}async loadContent(){try{if(this.id){const{form:e}=await S(this.id);this.content.innerHTML=e}else if(this.idBase){const{form:e,preview:t}=await T({idBase:this.idBase,instance:this.instance,number:this.number});if(this.content.innerHTML=e,this.hasPreview=!M(t),!this.instance.hash){const{instance:e}=await T({idBase:this.idBase,instance:this.instance,number:this.number,formData:P(this.form)});this.instance=e}}if(window.jQuery){const{jQuery:e}=window;e(document).trigger("widget-added",[e(this.element)])}}catch(e){this.onError(e)}}handleFormChange(){this.idBase&&this.saveForm()}handleFormSubmit(e){e.preventDefault(),this.saveForm()}async saveForm(){const e=P(this.form);try{if(this.id){const{form:t}=await S(this.id,e);if(this.content.innerHTML=t,window.jQuery){const{jQuery:e}=window;e(document).trigger("widget-updated",[e(this.element)])}}else if(this.idBase){const{instance:t,preview:n}=await T({idBase:this.idBase,instance:this.instance,number:this.number,formData:e});this.instance=t,this.hasPreview=!M(n)}}catch(e){this.onError(e)}}get instance(){return this._instance}set instance(e){this._instance!==e&&(this._instance=e,this.onChangeInstance(e))}get hasPreview(){return this._hasPreview}set hasPreview(e){this._hasPreview!==e&&(this._hasPreview=e,this.onChangeHasPreview(e))}}let B=0;function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const i=document.createElement(e);for(const[e,n]of Object.entries(t))i.setAttribute(e,n);if(Array.isArray(n))for(const e of n)e&&i.appendChild(e);else"string"==typeof n&&(i.innerText=n);return i}async function S(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t=n?await E()({path:`/wp/v2/widgets/${e}?context=edit`,method:"PUT",data:{form_data:n}}):await E()({path:`/wp/v2/widgets/${e}?context=edit`,method:"GET"}),{form:t.rendered_form}}async function T(e){let{idBase:t,instance:n,number:i,formData:r=null}=e;const a=await E()({path:`/wp/v2/widget-types/${t}/encode`,method:"POST",data:{instance:n,number:i,form_data:r}});return{instance:a.instance,form:a.form,preview:a.preview}}function M(e){const t=document.createElement("div");return t.innerHTML=e,H(t)}function H(e){switch(e.nodeType){case e.TEXT_NODE:return""===e.nodeValue.trim();case e.ELEMENT_NODE:return!["AUDIO","CANVAS","EMBED","IFRAME","IMG","MATH","OBJECT","SVG","VIDEO"].includes(e.tagName)&&(!e.hasChildNodes()||Array.from(e.childNodes).every(H));default:return!0}}function P(e){return new window.URLSearchParams(Array.from(new window.FormData(e))).toString()}function V(e){let{title:t,isVisible:n,id:i,idBase:r,instance:o,isWide:s,onChangeInstance:l,onChangeHasPreview:d}=e;const m=(0,a.useRef)(),g=(0,b.useViewportMatch)("small"),p=(0,a.useRef)(new Set),f=(0,a.useRef)(new Set),{createNotice:y}=(0,w.useDispatch)(v.store);return(0,a.useEffect)((()=>{if(f.current.has(o))return void f.current.delete(o);const e=new k({id:i,idBase:r,instance:o,onChangeInstance(e){p.current.add(o),f.current.add(e),l(e)},onChangeHasPreview:d,onError(e){window.console.error(e),y("error",(0,h.sprintf)((0,h.__)('The "%s" block was affected by errors and may not function properly. Check the developer tools for more details.'),r||i))}});return m.current.appendChild(e.element),()=>{p.current.has(o)?p.current.delete(o):e.destroy()}}),[i,r,o,l,d,g]),s&&g?(0,a.createElement)("div",{className:c()({"wp-block-legacy-widget__container":n})},n&&(0,a.createElement)("h3",{className:"wp-block-legacy-widget__edit-form-title"},t),(0,a.createElement)(u.Popover,{focusOnMount:!1,position:"middle right",__unstableForceXAlignment:!0},(0,a.createElement)("div",{ref:m,className:"wp-block-legacy-widget__edit-form",hidden:!n}))):(0,a.createElement)("div",{ref:m,className:"wp-block-legacy-widget__edit-form",hidden:!n},(0,a.createElement)("h3",{className:"wp-block-legacy-widget__edit-form-title"},t))}function I(e){let{idBase:t,instance:n,isVisible:i}=e;const[r,o]=(0,a.useState)(!1),[s,l]=(0,a.useState)("");(0,a.useEffect)((()=>{const e=void 0===window.AbortController?void 0:new window.AbortController;return async function(){const i=`/wp/v2/widget-types/${t}/render`;return await E()({path:i,method:"POST",signal:null==e?void 0:e.signal,data:n?{instance:n}:{}})}().then((e=>{l(e.preview)})).catch((e=>{if("AbortError"!==e.name)throw e})),()=>null==e?void 0:e.abort()}),[t,n]);const d=(0,b.useRefEffect)((e=>{if(!r)return;function t(){const t=Math.max(e.contentDocument.documentElement.offsetHeight,e.contentDocument.body.offsetHeight);e.style.height=`${t}px`}const{IntersectionObserver:n}=e.ownerDocument.defaultView,i=new n((e=>{let[n]=e;n.isIntersecting&&t()}),{threshold:1});return i.observe(e),e.addEventListener("load",t),()=>{i.disconnect(),e.removeEventListener("load",t)}}),[r]);return(0,a.createElement)(a.Fragment,null,i&&!r&&(0,a.createElement)(u.Placeholder,null,(0,a.createElement)(u.Spinner,null)),(0,a.createElement)("div",{className:c()("wp-block-legacy-widget__edit-preview",{"is-offscreen":!i||!r})},(0,a.createElement)(u.Disabled,null,(0,a.createElement)("iframe",{ref:d,className:"wp-block-legacy-widget__edit-preview-iframe",tabIndex:"-1",title:(0,h.__)("Legacy Widget Preview"),srcDoc:s,onLoad:e=>{e.target.contentDocument.body.style.overflow="hidden",o(!0)},height:100}))))}function F(e){let{name:t}=e;return(0,a.createElement)("div",{className:"wp-block-legacy-widget__edit-no-preview"},t&&(0,a.createElement)("h3",null,t),(0,a.createElement)("p",null,(0,h.__)("No preview available.")))}function x(e){let{clientId:t,rawInstance:n}=e;const{replaceBlocks:i}=(0,w.useDispatch)(d.store);return(0,a.createElement)(u.ToolbarButton,{onClick:()=>{n.title?i(t,[(0,r.createBlock)("core/heading",{content:n.title}),...(0,r.rawHandler)({HTML:n.text})]):i(t,(0,r.rawHandler)({HTML:n.text}))}},(0,h.__)("Convert to blocks"))}function L(e){let{attributes:{id:t,idBase:n},setAttributes:i}=e;return(0,a.createElement)(u.Placeholder,{icon:(0,a.createElement)(d.BlockIcon,{icon:m}),label:(0,h.__)("Legacy Widget")},(0,a.createElement)(p,{selectedId:null!=t?t:n,onSelect:e=>{let{selectedId:t,isMulti:n}=e;i(t?n?{id:null,idBase:t,instance:{}}:{id:t,idBase:null,instance:null}:{id:null,idBase:null,instance:null})}}))}function N(e){let{attributes:{id:t,idBase:n,instance:i},setAttributes:r,clientId:o,isSelected:s,isWide:l=!1}=e;const[c,p]=(0,a.useState)(null),{widgetType:v,hasResolvedWidgetType:b,isNavigationMode:y}=(0,w.useSelect)((e=>{const i=null!=t?t:n;return{widgetType:e(g.store).getWidgetType(i),hasResolvedWidgetType:e(g.store).hasFinishedResolution("getWidgetType",[i]),isNavigationMode:e(d.store).isNavigationMode()}}),[t,n]),_=(0,a.useCallback)((e=>{r({instance:e})}),[]);if(!v&&b)return(0,a.createElement)(u.Placeholder,{icon:(0,a.createElement)(d.BlockIcon,{icon:m}),label:(0,h.__)("Legacy Widget")},(0,h.__)("Widget is missing."));if(!b)return(0,a.createElement)(u.Placeholder,null,(0,a.createElement)(u.Spinner,null));const E=!n||!y&&s?"edit":"preview";return(0,a.createElement)(a.Fragment,null,"text"===n&&(0,a.createElement)(d.BlockControls,{group:"other"},(0,a.createElement)(x,{clientId:o,rawInstance:i.raw})),(0,a.createElement)(d.InspectorControls,null,(0,a.createElement)(f,{name:v.name,description:v.description})),(0,a.createElement)(V,{title:v.name,isVisible:"edit"===E,id:t,idBase:n,instance:i,isWide:l,onChangeInstance:_,onChangeHasPreview:p}),n&&(0,a.createElement)(a.Fragment,null,null===c&&"preview"===E&&(0,a.createElement)(u.Placeholder,null,(0,a.createElement)(u.Spinner,null)),!0===c&&(0,a.createElement)(I,{idBase:n,instance:i,isVisible:"preview"===E}),!1===c&&"preview"===E&&(0,a.createElement)(F,{name:v.name})))}const D=[{block:"core/calendar",widget:"calendar"},{block:"core/search",widget:"search"},{block:"core/html",widget:"custom_html",transform:e=>{let{content:t}=e;return{content:t}}},{block:"core/archives",widget:"archives",transform:e=>{let{count:t,dropdown:n}=e;return{displayAsDropdown:!!n,showPostCounts:!!t}}},{block:"core/latest-posts",widget:"recent-posts",transform:e=>{let{show_date:t,number:n}=e;return{displayPostDate:!!t,postsToShow:n}}},{block:"core/latest-comments",widget:"recent-comments",transform:e=>{let{number:t}=e;return{commentsToShow:t}}},{block:"core/tag-cloud",widget:"tag_cloud",transform:e=>{let{taxonomy:t,count:n}=e;return{showTagCounts:!!n,taxonomy:t}}},{block:"core/categories",widget:"categories",transform:e=>{let{count:t,dropdown:n,hierarchical:i}=e;return{displayAsDropdown:!!n,showPostCounts:!!t,showHierarchy:!!i}}},{block:"core/audio",widget:"media_audio",transform:e=>{let{url:t,preload:n,loop:i,attachment_id:r}=e;return{src:t,id:r,preload:n,loop:i}}},{block:"core/video",widget:"media_video",transform:e=>{let{url:t,preload:n,loop:i,attachment_id:r}=e;return{src:t,id:r,preload:n,loop:i}}},{block:"core/image",widget:"media_image",transform:e=>{let{alt:t,attachment_id:n,caption:i,height:r,link_classes:a,link_rel:o,link_target_blank:s,link_type:l,link_url:c,size:d,url:u,width:m}=e;return{alt:t,caption:i,height:r,id:n,link:c,linkClass:a,linkDestination:l,linkTarget:s?"_blank":void 0,rel:o,sizeSlug:d,url:u,width:m}}},{block:"core/gallery",widget:"media_gallery",transform:e=>{let{ids:t,link_type:n,size:i,number:r}=e;return{ids:t,columns:r,linkTo:n,sizeSlug:i,images:t.map((e=>({id:e})))}}},{block:"core/rss",widget:"rss",transform:e=>{let{url:t,show_author:n,show_date:i,show_summary:r,items:a}=e;return{feedURL:t,displayAuthor:!!n,displayDate:!!i,displayExcerpt:!!r,itemsToShow:a}}}].map((e=>{let{block:t,widget:n,transform:i}=e;return{type:"block",blocks:[t],isMatch:e=>{let{idBase:t,instance:i}=e;return t===n&&!(null==i||!i.raw)},transform:e=>{var n;let{instance:a}=e;const o=(0,r.createBlock)(t,i?i(a.raw):void 0);return null!==(n=a.raw)&&void 0!==n&&n.title?[(0,r.createBlock)("core/heading",{content:a.raw.title}),o]:o}}}));var W={to:D};const A={apiVersion:2,name:"core/legacy-widget",title:"Legacy Widget",category:"widgets",description:"Display a legacy widget.",textdomain:"default",attributes:{id:{type:"string",default:null},idBase:{type:"string",default:null},instance:{type:"object",default:null}},supports:{html:!1,customClassName:!1,reusable:!1},editorStyle:"wp-block-legacy-widget-editor"},{name:O}=A,j={icon:s,edit:function(e){const{id:t,idBase:n}=e.attributes,{isWide:i=!1}=e,r=(0,d.useBlockProps)({className:c()({"is-wide-widget":i})});return(0,a.createElement)("div",r,t||n?(0,a.createElement)(N,e):(0,a.createElement)(L,e))},transforms:W};var z=(0,a.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(o.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));function G(e){let{clientId:t}=e;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(u.Placeholder,{className:"wp-block-widget-group__placeholder",icon:(0,a.createElement)(d.BlockIcon,{icon:z}),label:(0,h.__)("Widget Group")},(0,a.createElement)(d.ButtonBlockAppender,{rootClientId:t})),(0,a.createElement)(d.InnerBlocks,{renderAppender:!1}))}function R(e){var t;let{attributes:n,setAttributes:i}=e;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.RichText,{tagName:"h2",className:"widget-title",allowedFormats:[],placeholder:(0,h.__)("Title"),value:null!==(t=n.title)&&void 0!==t?t:"",onChange:e=>i({title:e})}),(0,a.createElement)(d.InnerBlocks,null))}const Q={apiVersion:2,name:"core/widget-group",category:"widgets",attributes:{title:{type:"string"}},supports:{html:!1,inserter:!0,customClassName:!0,reusable:!1},editorStyle:"wp-block-widget-group-editor",style:"wp-block-widget-group"},{name:$}=Q,Z={title:(0,h.__)("Widget Group"),description:(0,h.__)("Create a classic widget layout with a title that’s styled by your theme for your widget areas."),icon:z,__experimentalLabel:e=>{let{name:t}=e;return t},edit:function(e){const{clientId:t}=e,{innerBlocks:n}=(0,w.useSelect)((e=>e(d.store).getBlock(t)),[t]);return(0,a.createElement)("div",(0,d.useBlockProps)({className:"widget"}),0===n.length?(0,a.createElement)(G,e):(0,a.createElement)(R,e))},save:function(e){let{attributes:t}=e;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(d.RichText.Content,{tagName:"h2",className:"widget-title",value:t.title}),(0,a.createElement)(d.InnerBlocks.Content,null))},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["*"],isMatch:(e,t)=>!t.some((e=>"core/widget-group"===e.name)),__experimentalConvert(e){let t=[...e.map((e=>(0,r.createBlock)(e.name,e.attributes,e.innerBlocks)))];const n="core/heading"===t[0].name?t[0]:null;return t=t.filter((e=>e!==n)),(0,r.createBlock)("core/widget-group",{...n&&{title:n.attributes.content}},t)}}]}};var U=(0,a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(o.Path,{d:"M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z"}));function X(e){let{currentWidgetAreaId:t,widgetAreas:n,onSelect:i}=e;return(0,a.createElement)(u.ToolbarGroup,null,(0,a.createElement)(u.ToolbarItem,null,(e=>(0,a.createElement)(u.DropdownMenu,{icon:U,label:(0,h.__)("Move to widget area"),toggleProps:e},(e=>{let{onClose:r}=e;return(0,a.createElement)(u.MenuGroup,{label:(0,h.__)("Move to")},(0,a.createElement)(u.MenuItemsChoice,{choices:n.map((e=>({value:e.id,label:e.name,info:e.description}))),value:t,onSelect:e=>{i(e),r()}}))})))))}function J(e){return e.attributes.__internalWidgetId}function q(e,t){return{...e,attributes:{...e.attributes||{},__internalWidgetId:t}}}function K(e){const t=(0,w.subscribe)((()=>{var n,i;const a=null!==(n=null==e?void 0:e.widgetTypesToHideFromLegacyWidgetBlock)&&void 0!==n?n:[],o=null===(i=(0,w.select)(g.store).getWidgetTypes({per_page:-1}))||void 0===i?void 0:i.filter((e=>!a.includes(e.id)));o&&(t(),(0,w.dispatch)(r.store).addBlockVariations("core/legacy-widget",o.map((e=>({name:e.id,title:e.name,description:e.description,attributes:e.is_multi?{idBase:e.id,instance:{}}:{id:e.id}})))))}))}function Y(){const{metadata:t,settings:n,name:i}=e;(0,r.registerBlockType)({name:i,...t},n)}function ee(){const{metadata:e,settings:n,name:i}=t;(0,r.registerBlockType)({name:i,...e},n)}}(),(window.wp=window.wp||{}).widgets=i}();
\ No newline at end of file
diff --git a/wp-includes/js/dist/wordcount.js b/wp-includes/js/dist/wordcount.js
index e05df41943..d1e8439e06 100644
--- a/wp-includes/js/dist/wordcount.js
+++ b/wp-includes/js/dist/wordcount.js
@@ -1,113 +1,50 @@
-this["wp"] = this["wp"] || {}; this["wp"]["wordcount"] =
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
+/******/ (function() { // webpackBootstrap
+/******/ 	"use strict";
+/******/ 	// The require scope
+/******/ 	var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ 	/* webpack/runtime/define property getters */
+/******/ 	!function() {
+/******/ 		// define getter functions for harmony exports
+/******/ 		__webpack_require__.d = function(exports, definition) {
+/******/ 			for(var key in definition) {
+/******/ 				if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ 					Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ 				}
+/******/ 			}
+/******/ 		};
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
+/******/ 	!function() {
+/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
+/******/ 	}();
+/******/
+/******/ 	/* webpack/runtime/make namespace object */
+/******/ 	!function() {
+/******/ 		// define __esModule on exports
+/******/ 		__webpack_require__.r = function(exports) {
+/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ 			}
+/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
 /******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = "pC98");
-/******/ })
+/******/ 	}();
+/******/
 /************************************************************************/
-/******/ ({
-
-/***/ "YLtl":
-/***/ (function(module, exports) {
-
-(function() { module.exports = window["lodash"]; }());
-
-/***/ }),
-
-/***/ "pC98":
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
+var __webpack_exports__ = {};
 // ESM COMPAT FLAG
 __webpack_require__.r(__webpack_exports__);

 // EXPORTS
-__webpack_require__.d(__webpack_exports__, "count", function() { return /* binding */ count; });
-
-// EXTERNAL MODULE: external "lodash"
-var external_lodash_ = __webpack_require__("YLtl");
+__webpack_require__.d(__webpack_exports__, {
+  "count": function() { return /* binding */ count; }
+});

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/defaultSettings.js
+;// CONCATENATED MODULE: external "lodash"
+var external_lodash_namespaceObject = window["lodash"];
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/defaultSettings.js
 /** @typedef {import('./index').WPWordCountStrategy} WPWordCountStrategy */

 /** @typedef {Partial<{type: WPWordCountStrategy, shortcodes: string[]}>} WPWordCountL10n */
@@ -208,7 +145,7 @@ const defaultSettings = {
   }
 };

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripTags.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripTags.js
 /**
  * Replaces items matched in the regex with new line
  *
@@ -221,7 +158,7 @@ function stripTags(settings, text) {
   return text.replace(settings.HTMLRegExp, '\n');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/transposeAstralsToCountableChar.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/transposeAstralsToCountableChar.js
 /**
  * Replaces items matched in the regex with character.
  *
@@ -234,7 +171,7 @@ function transposeAstralsToCountableChar(settings, text) {
   return text.replace(settings.astralRegExp, 'a');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripHTMLEntities.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripHTMLEntities.js
 /**
  * Removes items matched in the regex.
  *
@@ -247,7 +184,7 @@ function stripHTMLEntities(settings, text) {
   return text.replace(settings.HTMLEntityRegExp, '');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripConnectors.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripConnectors.js
 /**
  * Replaces items matched in the regex with spaces.
  *
@@ -260,7 +197,7 @@ function stripConnectors(settings, text) {
   return text.replace(settings.connectorRegExp, ' ');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripRemovables.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripRemovables.js
 /**
  * Removes items matched in the regex.
  *
@@ -273,7 +210,7 @@ function stripRemovables(settings, text) {
   return text.replace(settings.removeRegExp, '');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripHTMLComments.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripHTMLComments.js
 /**
  * Removes items matched in the regex.
  *
@@ -286,7 +223,7 @@ function stripHTMLComments(settings, text) {
   return text.replace(settings.HTMLcommentRegExp, '');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripShortcodes.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripShortcodes.js
 /**
  * Replaces items matched in the regex with a new line.
  *
@@ -303,7 +240,7 @@ function stripShortcodes(settings, text) {
   return text;
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripSpaces.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/stripSpaces.js
 /**
  * Replaces items matched in the regex with spaces.
  *
@@ -316,7 +253,7 @@ function stripSpaces(settings, text) {
   return text.replace(settings.spaceRegExp, ' ');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/transposeHTMLEntitiesToCountableChars.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/transposeHTMLEntitiesToCountableChars.js
 /**
  * Replaces items matched in the regex with a single character.
  *
@@ -329,7 +266,7 @@ function transposeHTMLEntitiesToCountableChars(settings, text) {
   return text.replace(settings.HTMLEntityRegExp, 'a');
 }

-// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/index.js
+;// CONCATENATED MODULE: ./node_modules/@wordpress/wordcount/build-module/index.js
 /**
  * External dependencies
  */
@@ -371,7 +308,7 @@ function transposeHTMLEntitiesToCountableChars(settings, text) {
 function loadSettings(type, userSettings) {
   var _settings$l10n$shortc, _settings$l10n;

-  const settings = Object(external_lodash_["extend"])({}, defaultSettings, userSettings);
+  const settings = (0,external_lodash_namespaceObject.extend)({}, defaultSettings, userSettings);
   settings.shortcodes = (_settings$l10n$shortc = (_settings$l10n = settings.l10n) === null || _settings$l10n === void 0 ? void 0 : _settings$l10n.shortcodes) !== null && _settings$l10n$shortc !== void 0 ? _settings$l10n$shortc : [];

   if (settings.shortcodes && settings.shortcodes.length) {
@@ -400,7 +337,7 @@ function loadSettings(type, userSettings) {
 function countWords(text, regex, settings) {
   var _text$match$length, _text$match;

-  text = Object(external_lodash_["flow"])(stripTags.bind(null, settings), stripHTMLComments.bind(null, settings), stripShortcodes.bind(null, settings), stripSpaces.bind(null, settings), stripHTMLEntities.bind(null, settings), stripConnectors.bind(null, settings), stripRemovables.bind(null, settings))(text);
+  text = (0,external_lodash_namespaceObject.flow)(stripTags.bind(null, settings), stripHTMLComments.bind(null, settings), stripShortcodes.bind(null, settings), stripSpaces.bind(null, settings), stripHTMLEntities.bind(null, settings), stripConnectors.bind(null, settings), stripRemovables.bind(null, settings))(text);
   text = text + '\n';
   return (_text$match$length = (_text$match = text.match(regex)) === null || _text$match === void 0 ? void 0 : _text$match.length) !== null && _text$match$length !== void 0 ? _text$match$length : 0;
 }
@@ -418,7 +355,7 @@ function countWords(text, regex, settings) {
 function countCharacters(text, regex, settings) {
   var _text$match$length2, _text$match2;

-  text = Object(external_lodash_["flow"])(stripTags.bind(null, settings), stripHTMLComments.bind(null, settings), stripShortcodes.bind(null, settings), transposeAstralsToCountableChar.bind(null, settings), stripSpaces.bind(null, settings), transposeHTMLEntitiesToCountableChars.bind(null, settings))(text);
+  text = (0,external_lodash_namespaceObject.flow)(stripTags.bind(null, settings), stripHTMLComments.bind(null, settings), stripShortcodes.bind(null, settings), transposeAstralsToCountableChar.bind(null, settings), stripSpaces.bind(null, settings), transposeHTMLEntitiesToCountableChars.bind(null, settings))(text);
   text = text + '\n';
   return (_text$match$length2 = (_text$match2 = text.match(regex)) === null || _text$match2 === void 0 ? void 0 : _text$match2.length) !== null && _text$match$length2 !== void 0 ? _text$match$length2 : 0;
 }
@@ -461,7 +398,6 @@ function count(text, type, userSettings) {
   }
 }

-
-/***/ })
-
-/******/ });
\ No newline at end of file
+(window.wp = window.wp || {}).wordcount = __webpack_exports__;
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/dist/wordcount.min.js b/wp-includes/js/dist/wordcount.min.js
index 73362b528c..195d966c64 100644
--- a/wp-includes/js/dist/wordcount.min.js
+++ b/wp-includes/js/dist/wordcount.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-this.wp=this.wp||{},this.wp.wordcount=function(e){var n={};function t(r){if(n[r])return n[r].exports;var c=n[r]={i:r,l:!1,exports:{}};return e[r].call(c.exports,c,c.exports,t),c.l=!0,c.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var c in e)t.d(r,c,function(n){return e[n]}.bind(null,c));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s="pC98")}({YLtl:function(e,n){e.exports=window.lodash},pC98:function(e,n,t){"use strict";t.r(n),t.d(n,"count",(function(){return x}));var r=t("YLtl");const c={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/&nbsp;|&#160;/gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-/:-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}};function u(e,n){return n.replace(e.HTMLRegExp,"\n")}function o(e,n){return n.replace(e.astralRegExp,"a")}function l(e,n){return n.replace(e.HTMLEntityRegExp,"")}function i(e,n){return n.replace(e.connectorRegExp," ")}function s(e,n){return n.replace(e.removeRegExp,"")}function p(e,n){return n.replace(e.HTMLcommentRegExp,"")}function a(e,n){return e.shortcodesRegExp?n.replace(e.shortcodesRegExp,"\n"):n}function d(e,n){return n.replace(e.spaceRegExp," ")}function g(e,n){return n.replace(e.HTMLEntityRegExp,"a")}function f(e,n,t){var c,l;return e=Object(r.flow)(u.bind(null,t),p.bind(null,t),a.bind(null,t),o.bind(null,t),d.bind(null,t),g.bind(null,t))(e),null!==(c=null===(l=(e+="\n").match(n))||void 0===l?void 0:l.length)&&void 0!==c?c:0}function x(e,n,t){const o=function(e,n){var t,u;const o=Object(r.extend)({},c,n);return o.shortcodes=null!==(t=null===(u=o.l10n)||void 0===u?void 0:u.shortcodes)&&void 0!==t?t:[],o.shortcodes&&o.shortcodes.length&&(o.shortcodesRegExp=new RegExp("\\[\\/?(?:"+o.shortcodes.join("|")+")[^\\]]*?\\]","g")),o.type=e,"characters_excluding_spaces"!==o.type&&"characters_including_spaces"!==o.type&&(o.type="words"),o}(n,t);let g;switch(o.type){case"words":return g=o.wordsRegExp,function(e,n,t){var c,o;return e=Object(r.flow)(u.bind(null,t),p.bind(null,t),a.bind(null,t),d.bind(null,t),l.bind(null,t),i.bind(null,t),s.bind(null,t))(e),null!==(c=null===(o=(e+="\n").match(n))||void 0===o?void 0:o.length)&&void 0!==c?c:0}(e,g,o);case"characters_including_spaces":return g=o.characters_including_spacesRegExp,f(e,g,o);case"characters_excluding_spaces":return g=o.characters_excluding_spacesRegExp,f(e,g,o);default:return 0}}}});
\ No newline at end of file
+!function(){"use strict";var e={d:function(n,r){for(var t in r)e.o(r,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:r[t]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{count:function(){return x}});var r=window.lodash;const t={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/&nbsp;|&#160;/gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-/:-@[-`{-~","€-¿×÷"," -⯿","⸀-⹿","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}};function c(e,n){return n.replace(e.HTMLRegExp,"\n")}function o(e,n){return n.replace(e.astralRegExp,"a")}function u(e,n){return n.replace(e.HTMLEntityRegExp,"")}function l(e,n){return n.replace(e.connectorRegExp," ")}function i(e,n){return n.replace(e.removeRegExp,"")}function s(e,n){return n.replace(e.HTMLcommentRegExp,"")}function a(e,n){return e.shortcodesRegExp?n.replace(e.shortcodesRegExp,"\n"):n}function p(e,n){return n.replace(e.spaceRegExp," ")}function d(e,n){return n.replace(e.HTMLEntityRegExp,"a")}function g(e,n,t){var u,l;return e=(0,r.flow)(c.bind(null,t),s.bind(null,t),a.bind(null,t),o.bind(null,t),p.bind(null,t),d.bind(null,t))(e),null!==(u=null===(l=(e+="\n").match(n))||void 0===l?void 0:l.length)&&void 0!==u?u:0}function x(e,n,o){const d=function(e,n){var c,o;const u=(0,r.extend)({},t,n);return u.shortcodes=null!==(c=null===(o=u.l10n)||void 0===o?void 0:o.shortcodes)&&void 0!==c?c:[],u.shortcodes&&u.shortcodes.length&&(u.shortcodesRegExp=new RegExp("\\[\\/?(?:"+u.shortcodes.join("|")+")[^\\]]*?\\]","g")),u.type=e,"characters_excluding_spaces"!==u.type&&"characters_including_spaces"!==u.type&&(u.type="words"),u}(n,o);let x;switch(d.type){case"words":return x=d.wordsRegExp,function(e,n,t){var o,d;return e=(0,r.flow)(c.bind(null,t),s.bind(null,t),a.bind(null,t),p.bind(null,t),u.bind(null,t),l.bind(null,t),i.bind(null,t))(e),null!==(o=null===(d=(e+="\n").match(n))||void 0===d?void 0:d.length)&&void 0!==o?o:0}(e,x,d);case"characters_including_spaces":return x=d.characters_including_spacesRegExp,g(e,x,d);case"characters_excluding_spaces":return x=d.characters_excluding_spacesRegExp,g(e,x,d);default:return 0}}(window.wp=window.wp||{}).wordcount=n}();
\ No newline at end of file
diff --git a/wp-includes/js/media-audiovideo.js b/wp-includes/js/media-audiovideo.js
index 91f0b4d57f..4e3ba82bc2 100644
--- a/wp-includes/js/media-audiovideo.js
+++ b/wp-includes/js/media-audiovideo.js
@@ -1,93 +1,88 @@
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = 0);
-/******/ })
-/************************************************************************/
-/******/ ({
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-/***/ "+RYg":
-/***/ (function(module, exports) {
+/***/ 6045:
+/***/ (function(module) {
+
+var State = wp.media.controller.State,
+	l10n = wp.media.view.l10n,
+	AudioDetails;
+
+/**
+ * wp.media.controller.AudioDetails
+ *
+ * The controller for the Audio Details state
+ *
+ * @memberOf wp.media.controller
+ *
+ * @class
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ */
+AudioDetails = State.extend(/** @lends wp.media.controller.AudioDetails.prototype */{
+	defaults: {
+		id: 'audio-details',
+		toolbar: 'audio-details',
+		title: l10n.audioDetailsTitle,
+		content: 'audio-details',
+		menu: 'audio-details',
+		router: false,
+		priority: 60
+	},
+
+	initialize: function( options ) {
+		this.media = options.media;
+		State.prototype.initialize.apply( this, arguments );
+	}
+});
+
+module.exports = AudioDetails;
+
+
+/***/ }),
+
+/***/ 580:
+/***/ (function(module) {
+
+/**
+ * wp.media.controller.VideoDetails
+ *
+ * The controller for the Video Details state
+ *
+ * @memberOf wp.media.controller
+ *
+ * @class
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ */
+var State = wp.media.controller.State,
+	l10n = wp.media.view.l10n,
+	VideoDetails;
+
+VideoDetails = State.extend(/** @lends wp.media.controller.VideoDetails.prototype */{
+	defaults: {
+		id: 'video-details',
+		toolbar: 'video-details',
+		title: l10n.videoDetailsTitle,
+		content: 'video-details',
+		menu: 'video-details',
+		router: false,
+		priority: 60
+	},
+
+	initialize: function( options ) {
+		this.media = options.media;
+		State.prototype.initialize.apply( this, arguments );
+	}
+});
+
+module.exports = VideoDetails;
+
+
+/***/ }),
+
+/***/ 6615:
+/***/ (function(module) {

 /**
  * wp.media.model.PostMedia
@@ -135,221 +130,43 @@ module.exports = PostMedia;

 /***/ }),

-/***/ "/4UI":
-/***/ (function(module, exports) {
+/***/ 1764:
+/***/ (function(module) {

-/* global MediaElementPlayer */
-var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
-	$ = jQuery,
-	MediaDetails;
+var MediaDetails = wp.media.view.MediaDetails,
+	AudioDetails;

 /**
- * wp.media.view.MediaDetails
+ * wp.media.view.AudioDetails
  *
  * @memberOf wp.media.view
  *
  * @class
+ * @augments wp.media.view.MediaDetails
  * @augments wp.media.view.Settings.AttachmentDisplay
  * @augments wp.media.view.Settings
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-MediaDetails = AttachmentDisplay.extend(/** @lends wp.media.view.MediaDetails.prototype */{
-	initialize: function() {
-		_.bindAll(this, 'success');
-		this.players = [];
-		this.listenTo( this.controller.states, 'close', wp.media.mixin.unsetPlayers );
-		this.on( 'ready', this.setPlayer );
-		this.on( 'media:setting:remove', wp.media.mixin.unsetPlayers, this );
-		this.on( 'media:setting:remove', this.render );
-		this.on( 'media:setting:remove', this.setPlayer );
-
-		AttachmentDisplay.prototype.initialize.apply( this, arguments );
-	},
-
-	events: function(){
-		return _.extend( {
-			'click .remove-setting' : 'removeSetting',
-			'change .content-track' : 'setTracks',
-			'click .remove-track' : 'setTracks',
-			'click .add-media-source' : 'addSource'
-		}, AttachmentDisplay.prototype.events );
-	},
-
-	prepare: function() {
-		return _.defaults({
-			model: this.model.toJSON()
-		}, this.options );
-	},
-
-	/**
-	 * Remove a setting's UI when the model unsets it
-	 *
-	 * @fires wp.media.view.MediaDetails#media:setting:remove
-	 *
-	 * @param {Event} e
-	 */
-	removeSetting : function(e) {
-		var wrap = $( e.currentTarget ).parent(), setting;
-		setting = wrap.find( 'input' ).data( 'setting' );
-
-		if ( setting ) {
-			this.model.unset( setting );
-			this.trigger( 'media:setting:remove', this );
-		}
-
-		wrap.remove();
-	},
-
-	/**
-	 *
-	 * @fires wp.media.view.MediaDetails#media:setting:remove
-	 */
-	setTracks : function() {
-		var tracks = '';
-
-		_.each( this.$('.content-track'), function(track) {
-			tracks += $( track ).val();
-		} );
-
-		this.model.set( 'content', tracks );
-		this.trigger( 'media:setting:remove', this );
-	},
-
-	addSource : function( e ) {
-		this.controller.lastMime = $( e.currentTarget ).data( 'mime' );
-		this.controller.setState( 'add-' + this.controller.defaults.id + '-source' );
-	},
-
-	loadPlayer: function () {
-		this.players.push( new MediaElementPlayer( this.media, this.settings ) );
-		this.scriptXhr = false;
-	},
-
-	setPlayer : function() {
-		var src;
-
-		if ( this.players.length || ! this.media || this.scriptXhr ) {
-			return;
-		}
+AudioDetails = MediaDetails.extend(/** @lends wp.media.view.AudioDetails.prototype */{
+	className: 'audio-details',
+	template:  wp.template('audio-details'),

-		src = this.model.get( 'src' );
+	setMedia: function() {
+		var audio = this.$('.wp-audio-shortcode');

-		if ( src && src.indexOf( 'vimeo' ) > -1 && ! ( 'Vimeo' in window ) ) {
-			this.scriptXhr = $.getScript( 'https://player.vimeo.com/api/player.js', _.bind( this.loadPlayer, this ) );
+		if ( audio.find( 'source' ).length ) {
+			if ( audio.is(':hidden') ) {
+				audio.show();
+			}
+			this.media = MediaDetails.prepareSrc( audio.get(0) );
 		} else {
-			this.loadPlayer();
+			audio.hide();
+			this.media = false;
 		}
-	},

-	/**
-	 * @abstract
-	 */
-	setMedia : function() {
 		return this;
-	},
-
-	success : function(mejs) {
-		var autoplay = mejs.attributes.autoplay && 'false' !== mejs.attributes.autoplay;
-
-		if ( 'flash' === mejs.pluginType && autoplay ) {
-			mejs.addEventListener( 'canplay', function() {
-				mejs.play();
-			}, false );
-		}
-
-		this.mejs = mejs;
-	},
-
-	/**
-	 * @return {media.view.MediaDetails} Returns itself to allow chaining.
-	 */
-	render: function() {
-		AttachmentDisplay.prototype.render.apply( this, arguments );
-
-		setTimeout( _.bind( function() {
-			this.scrollToTop();
-		}, this ), 10 );
-
-		this.settings = _.defaults( {
-			success : this.success
-		}, wp.media.mixin.mejsSettings );
-
-		return this.setMedia();
-	},
-
-	scrollToTop: function() {
-		this.$( '.embed-media-settings' ).scrollTop( 0 );
-	}
-},/** @lends wp.media.view.MediaDetails */{
-	instances : 0,
-	/**
-	 * When multiple players in the DOM contain the same src, things get weird.
-	 *
-	 * @param {HTMLElement} elem
-	 * @return {HTMLElement}
-	 */
-	prepareSrc : function( elem ) {
-		var i = MediaDetails.instances++;
-		_.each( $( elem ).find( 'source' ), function( source ) {
-			source.src = [
-				source.src,
-				source.src.indexOf('?') > -1 ? '&' : '?',
-				'_=',
-				i
-			].join('');
-		} );
-
-		return elem;
-	}
-});
-
-module.exports = MediaDetails;
-
-
-/***/ }),
-
-/***/ 0:
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__("pMD9");
-
-
-/***/ }),
-
-/***/ "6pp6":
-/***/ (function(module, exports) {
-
-var State = wp.media.controller.State,
-	l10n = wp.media.view.l10n,
-	AudioDetails;
-
-/**
- * wp.media.controller.AudioDetails
- *
- * The controller for the Audio Details state
- *
- * @memberOf wp.media.controller
- *
- * @class
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- */
-AudioDetails = State.extend(/** @lends wp.media.controller.AudioDetails.prototype */{
-	defaults: {
-		id: 'audio-details',
-		toolbar: 'audio-details',
-		title: l10n.audioDetailsTitle,
-		content: 'audio-details',
-		menu: 'audio-details',
-		router: false,
-		priority: 60
-	},
-
-	initialize: function( options ) {
-		this.media = options.media;
-		State.prototype.initialize.apply( this, arguments );
 	}
 });

@@ -358,8 +175,8 @@ module.exports = AudioDetails;

 /***/ }),

-/***/ "Bdio":
-/***/ (function(module, exports) {
+/***/ 5262:
+/***/ (function(module) {

 var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
 	MediaLibrary = wp.media.controller.MediaLibrary,
@@ -441,103 +258,8 @@ module.exports = AudioDetails;

 /***/ }),

-/***/ "LX3m":
-/***/ (function(module, exports) {
-
-var MediaDetails = wp.media.view.MediaDetails,
-	AudioDetails;
-
-/**
- * wp.media.view.AudioDetails
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.view.MediaDetails
- * @augments wp.media.view.Settings.AttachmentDisplay
- * @augments wp.media.view.Settings
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-AudioDetails = MediaDetails.extend(/** @lends wp.media.view.AudioDetails.prototype */{
-	className: 'audio-details',
-	template:  wp.template('audio-details'),
-
-	setMedia: function() {
-		var audio = this.$('.wp-audio-shortcode');
-
-		if ( audio.find( 'source' ).length ) {
-			if ( audio.is(':hidden') ) {
-				audio.show();
-			}
-			this.media = MediaDetails.prepareSrc( audio.get(0) );
-		} else {
-			audio.hide();
-			this.media = false;
-		}
-
-		return this;
-	}
-});
-
-module.exports = AudioDetails;
-
-
-/***/ }),
-
-/***/ "MT9K":
-/***/ (function(module, exports) {
-
-var MediaDetails = wp.media.view.MediaDetails,
-	VideoDetails;
-
-/**
- * wp.media.view.VideoDetails
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.view.MediaDetails
- * @augments wp.media.view.Settings.AttachmentDisplay
- * @augments wp.media.view.Settings
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-VideoDetails = MediaDetails.extend(/** @lends wp.media.view.VideoDetails.prototype */{
-	className: 'video-details',
-	template:  wp.template('video-details'),
-
-	setMedia: function() {
-		var video = this.$('.wp-video-shortcode');
-
-		if ( video.find( 'source' ).length ) {
-			if ( video.is(':hidden') ) {
-				video.show();
-			}
-
-			if ( ! video.hasClass( 'youtube-video' ) && ! video.hasClass( 'vimeo-video' ) ) {
-				this.media = MediaDetails.prepareSrc( video.get(0) );
-			} else {
-				this.media = video.get(0);
-			}
-		} else {
-			video.hide();
-			this.media = false;
-		}
-
-		return this;
-	}
-});
-
-module.exports = VideoDetails;
-
-
-/***/ }),
-
-/***/ "RQe2":
-/***/ (function(module, exports) {
+/***/ 6445:
+/***/ (function(module) {

 var Select = wp.media.view.MediaFrame.Select,
 	l10n = wp.media.view.l10n,
@@ -650,71 +372,31 @@ MediaDetails = Select.extend(/** @lends wp.media.view.MediaFrame.MediaDetails.pr
 			state.trigger( 'update', controller.media.toJSON() );
 		} );
 	},
-
-	renderReplaceToolbar: function() {
-		this.setPrimaryButton( l10n.replace, function( controller, state ) {
-			var attachment = state.get( 'selection' ).single();
-			controller.media.changeAttachment( attachment );
-			state.trigger( 'replace', controller.media.toJSON() );
-		} );
-	},
-
-	renderAddSourceToolbar: function() {
-		this.setPrimaryButton( this.addText, function( controller, state ) {
-			var attachment = state.get( 'selection' ).single();
-			controller.media.setSource( attachment );
-			state.trigger( 'add-source', controller.media.toJSON() );
-		} );
-	}
-});
-
-module.exports = MediaDetails;
-
-
-/***/ }),
-
-/***/ "Xcj4":
-/***/ (function(module, exports) {
-
-/**
- * wp.media.controller.VideoDetails
- *
- * The controller for the Video Details state
- *
- * @memberOf wp.media.controller
- *
- * @class
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- */
-var State = wp.media.controller.State,
-	l10n = wp.media.view.l10n,
-	VideoDetails;
-
-VideoDetails = State.extend(/** @lends wp.media.controller.VideoDetails.prototype */{
-	defaults: {
-		id: 'video-details',
-		toolbar: 'video-details',
-		title: l10n.videoDetailsTitle,
-		content: 'video-details',
-		menu: 'video-details',
-		router: false,
-		priority: 60
+
+	renderReplaceToolbar: function() {
+		this.setPrimaryButton( l10n.replace, function( controller, state ) {
+			var attachment = state.get( 'selection' ).single();
+			controller.media.changeAttachment( attachment );
+			state.trigger( 'replace', controller.media.toJSON() );
+		} );
 	},

-	initialize: function( options ) {
-		this.media = options.media;
-		State.prototype.initialize.apply( this, arguments );
+	renderAddSourceToolbar: function() {
+		this.setPrimaryButton( this.addText, function( controller, state ) {
+			var attachment = state.get( 'selection' ).single();
+			controller.media.setSource( attachment );
+			state.trigger( 'add-source', controller.media.toJSON() );
+		} );
 	}
 });

-module.exports = VideoDetails;
+module.exports = MediaDetails;


 /***/ }),

-/***/ "m85o":
-/***/ (function(module, exports) {
+/***/ 2075:
+/***/ (function(module) {

 var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
 	MediaLibrary = wp.media.controller.MediaLibrary,
@@ -855,9 +537,261 @@ module.exports = VideoDetails;

 /***/ }),

-/***/ "pMD9":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ 8867:
+/***/ (function(module) {
+
+/* global MediaElementPlayer */
+var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
+	$ = jQuery,
+	MediaDetails;
+
+/**
+ * wp.media.view.MediaDetails
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.view.Settings.AttachmentDisplay
+ * @augments wp.media.view.Settings
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+MediaDetails = AttachmentDisplay.extend(/** @lends wp.media.view.MediaDetails.prototype */{
+	initialize: function() {
+		_.bindAll(this, 'success');
+		this.players = [];
+		this.listenTo( this.controller.states, 'close', wp.media.mixin.unsetPlayers );
+		this.on( 'ready', this.setPlayer );
+		this.on( 'media:setting:remove', wp.media.mixin.unsetPlayers, this );
+		this.on( 'media:setting:remove', this.render );
+		this.on( 'media:setting:remove', this.setPlayer );
+
+		AttachmentDisplay.prototype.initialize.apply( this, arguments );
+	},
+
+	events: function(){
+		return _.extend( {
+			'click .remove-setting' : 'removeSetting',
+			'change .content-track' : 'setTracks',
+			'click .remove-track' : 'setTracks',
+			'click .add-media-source' : 'addSource'
+		}, AttachmentDisplay.prototype.events );
+	},
+
+	prepare: function() {
+		return _.defaults({
+			model: this.model.toJSON()
+		}, this.options );
+	},
+
+	/**
+	 * Remove a setting's UI when the model unsets it
+	 *
+	 * @fires wp.media.view.MediaDetails#media:setting:remove
+	 *
+	 * @param {Event} e
+	 */
+	removeSetting : function(e) {
+		var wrap = $( e.currentTarget ).parent(), setting;
+		setting = wrap.find( 'input' ).data( 'setting' );
+
+		if ( setting ) {
+			this.model.unset( setting );
+			this.trigger( 'media:setting:remove', this );
+		}
+
+		wrap.remove();
+	},
+
+	/**
+	 *
+	 * @fires wp.media.view.MediaDetails#media:setting:remove
+	 */
+	setTracks : function() {
+		var tracks = '';
+
+		_.each( this.$('.content-track'), function(track) {
+			tracks += $( track ).val();
+		} );
+
+		this.model.set( 'content', tracks );
+		this.trigger( 'media:setting:remove', this );
+	},
+
+	addSource : function( e ) {
+		this.controller.lastMime = $( e.currentTarget ).data( 'mime' );
+		this.controller.setState( 'add-' + this.controller.defaults.id + '-source' );
+	},
+
+	loadPlayer: function () {
+		this.players.push( new MediaElementPlayer( this.media, this.settings ) );
+		this.scriptXhr = false;
+	},
+
+	setPlayer : function() {
+		var src;
+
+		if ( this.players.length || ! this.media || this.scriptXhr ) {
+			return;
+		}
+
+		src = this.model.get( 'src' );
+
+		if ( src && src.indexOf( 'vimeo' ) > -1 && ! ( 'Vimeo' in window ) ) {
+			this.scriptXhr = $.getScript( 'https://player.vimeo.com/api/player.js', _.bind( this.loadPlayer, this ) );
+		} else {
+			this.loadPlayer();
+		}
+	},
+
+	/**
+	 * @abstract
+	 */
+	setMedia : function() {
+		return this;
+	},
+
+	success : function(mejs) {
+		var autoplay = mejs.attributes.autoplay && 'false' !== mejs.attributes.autoplay;
+
+		if ( 'flash' === mejs.pluginType && autoplay ) {
+			mejs.addEventListener( 'canplay', function() {
+				mejs.play();
+			}, false );
+		}
+
+		this.mejs = mejs;
+	},
+
+	/**
+	 * @return {media.view.MediaDetails} Returns itself to allow chaining.
+	 */
+	render: function() {
+		AttachmentDisplay.prototype.render.apply( this, arguments );
+
+		setTimeout( _.bind( function() {
+			this.scrollToTop();
+		}, this ), 10 );
+
+		this.settings = _.defaults( {
+			success : this.success
+		}, wp.media.mixin.mejsSettings );
+
+		return this.setMedia();
+	},
+
+	scrollToTop: function() {
+		this.$( '.embed-media-settings' ).scrollTop( 0 );
+	}
+},/** @lends wp.media.view.MediaDetails */{
+	instances : 0,
+	/**
+	 * When multiple players in the DOM contain the same src, things get weird.
+	 *
+	 * @param {HTMLElement} elem
+	 * @return {HTMLElement}
+	 */
+	prepareSrc : function( elem ) {
+		var i = MediaDetails.instances++;
+		_.each( $( elem ).find( 'source' ), function( source ) {
+			source.src = [
+				source.src,
+				source.src.indexOf('?') > -1 ? '&' : '?',
+				'_=',
+				i
+			].join('');
+		} );
+
+		return elem;
+	}
+});
+
+module.exports = MediaDetails;
+
+
+/***/ }),
+
+/***/ 7697:
+/***/ (function(module) {
+
+var MediaDetails = wp.media.view.MediaDetails,
+	VideoDetails;
+
+/**
+ * wp.media.view.VideoDetails
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.view.MediaDetails
+ * @augments wp.media.view.Settings.AttachmentDisplay
+ * @augments wp.media.view.Settings
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+VideoDetails = MediaDetails.extend(/** @lends wp.media.view.VideoDetails.prototype */{
+	className: 'video-details',
+	template:  wp.template('video-details'),
+
+	setMedia: function() {
+		var video = this.$('.wp-video-shortcode');
+
+		if ( video.find( 'source' ).length ) {
+			if ( video.is(':hidden') ) {
+				video.show();
+			}
+
+			if ( ! video.hasClass( 'youtube-video' ) && ! video.hasClass( 'vimeo-video' ) ) {
+				this.media = MediaDetails.prepareSrc( video.get(0) );
+			} else {
+				this.media = video.get(0);
+			}
+		} else {
+			video.hide();
+			this.media = false;
+		}
+
+		return this;
+	}
+});
+
+module.exports = VideoDetails;
+

+/***/ })
+
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
+!function() {
 /**
  * @output wp-includes/js/media-audiovideo.js
  */
@@ -1133,17 +1067,16 @@ wp.media.video = {
 	}
 };

-media.model.PostMedia = __webpack_require__( "+RYg" );
-media.controller.AudioDetails = __webpack_require__( "6pp6" );
-media.controller.VideoDetails = __webpack_require__( "Xcj4" );
-media.view.MediaFrame.MediaDetails = __webpack_require__( "RQe2" );
-media.view.MediaFrame.AudioDetails = __webpack_require__( "Bdio" );
-media.view.MediaFrame.VideoDetails = __webpack_require__( "m85o" );
-media.view.MediaDetails = __webpack_require__( "/4UI" );
-media.view.AudioDetails = __webpack_require__( "LX3m" );
-media.view.VideoDetails = __webpack_require__( "MT9K" );
-
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+media.model.PostMedia = __webpack_require__( 6615 );
+media.controller.AudioDetails = __webpack_require__( 6045 );
+media.controller.VideoDetails = __webpack_require__( 580 );
+media.view.MediaFrame.MediaDetails = __webpack_require__( 6445 );
+media.view.MediaFrame.AudioDetails = __webpack_require__( 5262 );
+media.view.MediaFrame.VideoDetails = __webpack_require__( 2075 );
+media.view.MediaDetails = __webpack_require__( 8867 );
+media.view.AudioDetails = __webpack_require__( 1764 );
+media.view.VideoDetails = __webpack_require__( 7697 );
+
+}();
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/media-audiovideo.min.js b/wp-includes/js/media-audiovideo.min.js
index aa794f8f81..5df769e553 100644
--- a/wp-includes/js/media-audiovideo.min.js
+++ b/wp-includes/js/media-audiovideo.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-!function(i){var a={};function o(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=i,o.c=a,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)o.d(i,a,function(e){return t[e]}.bind(null,a));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=0)}({"+RYg":function(e,t){var i=Backbone.Model.extend({initialize:function(){this.attachment=!1},setSource:function(e){this.attachment=e,this.extension=e.get("filename").split(".").pop(),this.get("src")&&this.extension===this.get("src").split(".").pop()&&this.unset("src"),_.contains(wp.media.view.settings.embedExts,this.extension)?this.set(this.extension,this.attachment.get("url")):this.unset(this.extension)},changeAttachment:function(e){this.setSource(e),this.unset("src"),_.each(_.without(wp.media.view.settings.embedExts,this.extension),function(e){this.unset(e)},this)}});e.exports=i},"/4UI":function(e,t){var i=wp.media.view.Settings.AttachmentDisplay,a=jQuery,o=i.extend({initialize:function(){_.bindAll(this,"success"),this.players=[],this.listenTo(this.controller.states,"close",wp.media.mixin.unsetPlayers),this.on("ready",this.setPlayer),this.on("media:setting:remove",wp.media.mixin.unsetPlayers,this),this.on("media:setting:remove",this.render),this.on("media:setting:remove",this.setPlayer),i.prototype.initialize.apply(this,arguments)},events:function(){return _.extend({"click .remove-setting":"removeSetting","change .content-track":"setTracks","click .remove-track":"setTracks","click .add-media-source":"addSource"},i.prototype.events)},prepare:function(){return _.defaults({model:this.model.toJSON()},this.options)},removeSetting:function(e){var e=a(e.currentTarget).parent(),t=e.find("input").data("setting");t&&(this.model.unset(t),this.trigger("media:setting:remove",this)),e.remove()},setTracks:function(){var t="";_.each(this.$(".content-track"),function(e){t+=a(e).val()}),this.model.set("content",t),this.trigger("media:setting:remove",this)},addSource:function(e){this.controller.lastMime=a(e.currentTarget).data("mime"),this.controller.setState("add-"+this.controller.defaults.id+"-source")},loadPlayer:function(){this.players.push(new MediaElementPlayer(this.media,this.settings)),this.scriptXhr=!1},setPlayer:function(){var e;this.players.length||!this.media||this.scriptXhr||((e=this.model.get("src"))&&-1<e.indexOf("vimeo")&&!("Vimeo"in window)?this.scriptXhr=a.getScript("https://player.vimeo.com/api/player.js",_.bind(this.loadPlayer,this)):this.loadPlayer())},setMedia:function(){return this},success:function(e){var t=e.attributes.autoplay&&"false"!==e.attributes.autoplay;"flash"===e.pluginType&&t&&e.addEventListener("canplay",function(){e.play()},!1),this.mejs=e},render:function(){return i.prototype.render.apply(this,arguments),setTimeout(_.bind(function(){this.scrollToTop()},this),10),this.settings=_.defaults({success:this.success},wp.media.mixin.mejsSettings),this.setMedia()},scrollToTop:function(){this.$(".embed-media-settings").scrollTop(0)}},{instances:0,prepareSrc:function(e){var t=o.instances++;return _.each(a(e).find("source"),function(e){e.src=[e.src,-1<e.src.indexOf("?")?"&":"?","_=",t].join("")}),e}});e.exports=o},0:function(e,t,i){e.exports=i("pMD9")},"6pp6":function(e,t){var i=wp.media.controller.State,a=wp.media.view.l10n,a=i.extend({defaults:{id:"audio-details",toolbar:"audio-details",title:a.audioDetailsTitle,content:"audio-details",menu:"audio-details",router:!1,priority:60},initialize:function(e){this.media=e.media,i.prototype.initialize.apply(this,arguments)}});e.exports=a},Bdio:function(e,t){var i=wp.media.view.MediaFrame.MediaDetails,a=wp.media.controller.MediaLibrary,o=wp.media.view.l10n,n=i.extend({defaults:{id:"audio",url:"",menu:"audio-details",content:"audio-details",toolbar:"audio-details",type:"link",title:o.audioDetailsTitle,priority:120},initialize:function(e){e.DetailsView=wp.media.view.AudioDetails,e.cancelText=o.audioDetailsCancel,e.addText=o.audioAddSourceTitle,i.prototype.initialize.call(this,e)},bindHandlers:function(){i.prototype.bindHandlers.apply(this,arguments),this.on("toolbar:render:replace-audio",this.renderReplaceToolbar,this),this.on("toolbar:render:add-audio-source",this.renderAddSourceToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.AudioDetails({media:this.media}),new a({type:"audio",id:"replace-audio",title:o.audioReplaceTitle,toolbar:"replace-audio",media:this.media,menu:"audio-details"}),new a({type:"audio",id:"add-audio-source",title:o.audioAddSourceTitle,toolbar:"add-audio-source",media:this.media,menu:!1})])}});e.exports=n},LX3m:function(e,t){var i=wp.media.view.MediaDetails,a=i.extend({className:"audio-details",template:wp.template("audio-details"),setMedia:function(){var e=this.$(".wp-audio-shortcode");return e.find("source").length?(e.is(":hidden")&&e.show(),this.media=i.prepareSrc(e.get(0))):(e.hide(),this.media=!1),this}});e.exports=a},MT9K:function(e,t){var i=wp.media.view.MediaDetails,a=i.extend({className:"video-details",template:wp.template("video-details"),setMedia:function(){var e=this.$(".wp-video-shortcode");return e.find("source").length?(e.is(":hidden")&&e.show(),e.hasClass("youtube-video")||e.hasClass("vimeo-video")?this.media=e.get(0):this.media=i.prepareSrc(e.get(0))):(e.hide(),this.media=!1),this}});e.exports=a},RQe2:function(e,t){var i=wp.media.view.MediaFrame.Select,a=wp.media.view.l10n,o=i.extend({defaults:{id:"media",url:"",menu:"media-details",content:"media-details",toolbar:"media-details",type:"link",priority:120},initialize:function(e){this.DetailsView=e.DetailsView,this.cancelText=e.cancelText,this.addText=e.addText,this.media=new wp.media.model.PostMedia(e.metadata),this.options.selection=new wp.media.model.Selection(this.media.attachment,{multiple:!1}),i.prototype.initialize.apply(this,arguments)},bindHandlers:function(){var e=this.defaults.menu;i.prototype.bindHandlers.apply(this,arguments),this.on("menu:create:"+e,this.createMenu,this),this.on("content:render:"+e,this.renderDetailsContent,this),this.on("menu:render:"+e,this.renderMenu,this),this.on("toolbar:render:"+e,this.renderDetailsToolbar,this)},renderDetailsContent:function(){var e=new this.DetailsView({controller:this,model:this.state().media,attachment:this.state().media.attachment}).render();this.content.set(e)},renderMenu:function(e){var t=this.lastState(),i=t&&t.id,a=this;e.set({cancel:{text:this.cancelText,priority:20,click:function(){i?a.setState(i):a.close()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},setPrimaryButton:function(e,t){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{button:{style:"primary",text:e,priority:80,click:function(){var e=this.controller;t.call(this,e,e.state()),e.setState(e.options.state),e.reset()}}}}))},renderDetailsToolbar:function(){this.setPrimaryButton(a.update,function(e,t){e.close(),t.trigger("update",e.media.toJSON())})},renderReplaceToolbar:function(){this.setPrimaryButton(a.replace,function(e,t){var i=t.get("selection").single();e.media.changeAttachment(i),t.trigger("replace",e.media.toJSON())})},renderAddSourceToolbar:function(){this.setPrimaryButton(this.addText,function(e,t){var i=t.get("selection").single();e.media.setSource(i),t.trigger("add-source",e.media.toJSON())})}});e.exports=o},Xcj4:function(e,t){var i=wp.media.controller.State,a=wp.media.view.l10n,a=i.extend({defaults:{id:"video-details",toolbar:"video-details",title:a.videoDetailsTitle,content:"video-details",menu:"video-details",router:!1,priority:60},initialize:function(e){this.media=e.media,i.prototype.initialize.apply(this,arguments)}});e.exports=a},m85o:function(e,t){var i=wp.media.view.MediaFrame.MediaDetails,a=wp.media.controller.MediaLibrary,o=wp.media.view.l10n,n=i.extend({defaults:{id:"video",url:"",menu:"video-details",content:"video-details",toolbar:"video-details",type:"link",title:o.videoDetailsTitle,priority:120},initialize:function(e){e.DetailsView=wp.media.view.VideoDetails,e.cancelText=o.videoDetailsCancel,e.addText=o.videoAddSourceTitle,i.prototype.initialize.call(this,e)},bindHandlers:function(){i.prototype.bindHandlers.apply(this,arguments),this.on("toolbar:render:replace-video",this.renderReplaceToolbar,this),this.on("toolbar:render:add-video-source",this.renderAddSourceToolbar,this),this.on("toolbar:render:select-poster-image",this.renderSelectPosterImageToolbar,this),this.on("toolbar:render:add-track",this.renderAddTrackToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.VideoDetails({media:this.media}),new a({type:"video",id:"replace-video",title:o.videoReplaceTitle,toolbar:"replace-video",media:this.media,menu:"video-details"}),new a({type:"video",id:"add-video-source",title:o.videoAddSourceTitle,toolbar:"add-video-source",media:this.media,menu:!1}),new a({type:"image",id:"select-poster-image",title:o.videoSelectPosterImageTitle,toolbar:"select-poster-image",media:this.media,menu:"video-details"}),new a({type:"text",id:"add-track",title:o.videoAddTrackTitle,toolbar:"add-track",media:this.media,menu:"video-details"})])},renderSelectPosterImageToolbar:function(){this.setPrimaryButton(o.videoSelectPosterImageTitle,function(t,e){var i=[],a=e.get("selection").single();t.media.set("poster",a.get("url")),e.trigger("set-poster-image",t.media.toJSON()),_.each(wp.media.view.settings.embedExts,function(e){t.media.get(e)&&i.push(t.media.get(e))}),wp.ajax.send("set-attachment-thumbnail",{data:{urls:i,thumbnail_id:a.get("id")}})})},renderAddTrackToolbar:function(){this.setPrimaryButton(o.videoAddTrackTitle,function(e,t){var i=t.get("selection").single(),a=e.media.get("content");-1===a.indexOf(i.get("url"))&&(a+=['<track srclang="en" label="English" kind="subtitles" src="',i.get("url"),'" />'].join(""),e.media.set("content",a)),t.trigger("add-track",e.media.toJSON())})}});e.exports=n},pMD9:function(e,t,i){var a=wp.media,o=window._wpmejsSettings||{},n=window._wpMediaViewsL10n||{};wp.media.mixin={mejsSettings:o,removeAllPlayers:function(){if(window.mejs&&window.mejs.players)for(var e in window.mejs.players)window.mejs.players[e].pause(),this.removePlayer(window.mejs.players[e])},removePlayer:function(e){var t,i;if(e.options){for(t in e.options.features)if(e["clean"+(i=e.options.features[t])])try{e["clean"+i](e)}catch(e){}e.isDynamic||e.node.remove(),"html5"!==e.media.rendererName&&e.media.remove(),delete window.mejs.players[e.id],e.container.remove(),e.globalUnbind("resize",e.globalResizeCallback),e.globalUnbind("keydown",e.globalKeydownCallback),e.globalUnbind("click",e.globalClickCallback),delete e.media.player}},unsetPlayers:function(){this.players&&this.players.length&&(_.each(this.players,function(e){e.pause(),wp.media.mixin.removePlayer(e)}),this.players=[])}},wp.media.playlist=new wp.media.collection({tag:"playlist",editTitle:n.editPlaylistTitle,defaults:{id:wp.media.view.settings.post.id,style:"light",tracklist:!0,tracknumbers:!0,images:!0,artists:!0,type:"audio"}}),wp.media.audio={coerce:wp.media.coerce,defaults:{id:wp.media.view.settings.post.id,src:"",loop:!1,autoplay:!1,preload:"none",width:400},edit:function(e){e=wp.shortcode.next("audio",e).shortcode;return wp.media({frame:"audio",state:"audio-details",metadata:_.defaults(e.attrs.named,this.defaults)})},shortcode:function(i){var e;return _.each(this.defaults,function(e,t){i[t]=this.coerce(i,t),e===i[t]&&delete i[t]},this),e=i.content,delete i.content,new wp.shortcode({tag:"audio",attrs:i,content:e})}},wp.media.video={coerce:wp.media.coerce,defaults:{id:wp.media.view.settings.post.id,src:"",poster:"",loop:!1,autoplay:!1,preload:"metadata",content:"",width:640,height:360},edit:function(e){var e=wp.shortcode.next("video",e).shortcode,t=e.attrs.named;return t.content=e.content,wp.media({frame:"video",state:"video-details",metadata:_.defaults(t,this.defaults)})},shortcode:function(i){var e;return _.each(this.defaults,function(e,t){i[t]=this.coerce(i,t),e===i[t]&&delete i[t]},this),e=i.content,delete i.content,new wp.shortcode({tag:"video",attrs:i,content:e})}},a.model.PostMedia=i("+RYg"),a.controller.AudioDetails=i("6pp6"),a.controller.VideoDetails=i("Xcj4"),a.view.MediaFrame.MediaDetails=i("RQe2"),a.view.MediaFrame.AudioDetails=i("Bdio"),a.view.MediaFrame.VideoDetails=i("m85o"),a.view.MediaDetails=i("/4UI"),a.view.AudioDetails=i("LX3m"),a.view.VideoDetails=i("MT9K")}});
\ No newline at end of file
+!function(){var i={6045:function(e){var t=wp.media.controller.State,i=wp.media.view.l10n,i=t.extend({defaults:{id:"audio-details",toolbar:"audio-details",title:i.audioDetailsTitle,content:"audio-details",menu:"audio-details",router:!1,priority:60},initialize:function(e){this.media=e.media,t.prototype.initialize.apply(this,arguments)}});e.exports=i},580:function(e){var t=wp.media.controller.State,i=wp.media.view.l10n,i=t.extend({defaults:{id:"video-details",toolbar:"video-details",title:i.videoDetailsTitle,content:"video-details",menu:"video-details",router:!1,priority:60},initialize:function(e){this.media=e.media,t.prototype.initialize.apply(this,arguments)}});e.exports=i},6615:function(e){var t=Backbone.Model.extend({initialize:function(){this.attachment=!1},setSource:function(e){this.attachment=e,this.extension=e.get("filename").split(".").pop(),this.get("src")&&this.extension===this.get("src").split(".").pop()&&this.unset("src"),_.contains(wp.media.view.settings.embedExts,this.extension)?this.set(this.extension,this.attachment.get("url")):this.unset(this.extension)},changeAttachment:function(e){this.setSource(e),this.unset("src"),_.each(_.without(wp.media.view.settings.embedExts,this.extension),function(e){this.unset(e)},this)}});e.exports=t},1764:function(e){var t=wp.media.view.MediaDetails,i=t.extend({className:"audio-details",template:wp.template("audio-details"),setMedia:function(){var e=this.$(".wp-audio-shortcode");return e.find("source").length?(e.is(":hidden")&&e.show(),this.media=t.prepareSrc(e.get(0))):(e.hide(),this.media=!1),this}});e.exports=i},5262:function(e){var t=wp.media.view.MediaFrame.MediaDetails,i=wp.media.controller.MediaLibrary,a=wp.media.view.l10n,s=t.extend({defaults:{id:"audio",url:"",menu:"audio-details",content:"audio-details",toolbar:"audio-details",type:"link",title:a.audioDetailsTitle,priority:120},initialize:function(e){e.DetailsView=wp.media.view.AudioDetails,e.cancelText=a.audioDetailsCancel,e.addText=a.audioAddSourceTitle,t.prototype.initialize.call(this,e)},bindHandlers:function(){t.prototype.bindHandlers.apply(this,arguments),this.on("toolbar:render:replace-audio",this.renderReplaceToolbar,this),this.on("toolbar:render:add-audio-source",this.renderAddSourceToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.AudioDetails({media:this.media}),new i({type:"audio",id:"replace-audio",title:a.audioReplaceTitle,toolbar:"replace-audio",media:this.media,menu:"audio-details"}),new i({type:"audio",id:"add-audio-source",title:a.audioAddSourceTitle,toolbar:"add-audio-source",media:this.media,menu:!1})])}});e.exports=s},6445:function(e){var t=wp.media.view.MediaFrame.Select,i=wp.media.view.l10n,a=t.extend({defaults:{id:"media",url:"",menu:"media-details",content:"media-details",toolbar:"media-details",type:"link",priority:120},initialize:function(e){this.DetailsView=e.DetailsView,this.cancelText=e.cancelText,this.addText=e.addText,this.media=new wp.media.model.PostMedia(e.metadata),this.options.selection=new wp.media.model.Selection(this.media.attachment,{multiple:!1}),t.prototype.initialize.apply(this,arguments)},bindHandlers:function(){var e=this.defaults.menu;t.prototype.bindHandlers.apply(this,arguments),this.on("menu:create:"+e,this.createMenu,this),this.on("content:render:"+e,this.renderDetailsContent,this),this.on("menu:render:"+e,this.renderMenu,this),this.on("toolbar:render:"+e,this.renderDetailsToolbar,this)},renderDetailsContent:function(){var e=new this.DetailsView({controller:this,model:this.state().media,attachment:this.state().media.attachment}).render();this.content.set(e)},renderMenu:function(e){var t=this.lastState(),i=t&&t.id,a=this;e.set({cancel:{text:this.cancelText,priority:20,click:function(){i?a.setState(i):a.close()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},setPrimaryButton:function(e,t){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{button:{style:"primary",text:e,priority:80,click:function(){var e=this.controller;t.call(this,e,e.state()),e.setState(e.options.state),e.reset()}}}}))},renderDetailsToolbar:function(){this.setPrimaryButton(i.update,function(e,t){e.close(),t.trigger("update",e.media.toJSON())})},renderReplaceToolbar:function(){this.setPrimaryButton(i.replace,function(e,t){var i=t.get("selection").single();e.media.changeAttachment(i),t.trigger("replace",e.media.toJSON())})},renderAddSourceToolbar:function(){this.setPrimaryButton(this.addText,function(e,t){var i=t.get("selection").single();e.media.setSource(i),t.trigger("add-source",e.media.toJSON())})}});e.exports=a},2075:function(e){var t=wp.media.view.MediaFrame.MediaDetails,i=wp.media.controller.MediaLibrary,a=wp.media.view.l10n,s=t.extend({defaults:{id:"video",url:"",menu:"video-details",content:"video-details",toolbar:"video-details",type:"link",title:a.videoDetailsTitle,priority:120},initialize:function(e){e.DetailsView=wp.media.view.VideoDetails,e.cancelText=a.videoDetailsCancel,e.addText=a.videoAddSourceTitle,t.prototype.initialize.call(this,e)},bindHandlers:function(){t.prototype.bindHandlers.apply(this,arguments),this.on("toolbar:render:replace-video",this.renderReplaceToolbar,this),this.on("toolbar:render:add-video-source",this.renderAddSourceToolbar,this),this.on("toolbar:render:select-poster-image",this.renderSelectPosterImageToolbar,this),this.on("toolbar:render:add-track",this.renderAddTrackToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.VideoDetails({media:this.media}),new i({type:"video",id:"replace-video",title:a.videoReplaceTitle,toolbar:"replace-video",media:this.media,menu:"video-details"}),new i({type:"video",id:"add-video-source",title:a.videoAddSourceTitle,toolbar:"add-video-source",media:this.media,menu:!1}),new i({type:"image",id:"select-poster-image",title:a.videoSelectPosterImageTitle,toolbar:"select-poster-image",media:this.media,menu:"video-details"}),new i({type:"text",id:"add-track",title:a.videoAddTrackTitle,toolbar:"add-track",media:this.media,menu:"video-details"})])},renderSelectPosterImageToolbar:function(){this.setPrimaryButton(a.videoSelectPosterImageTitle,function(t,e){var i=[],a=e.get("selection").single();t.media.set("poster",a.get("url")),e.trigger("set-poster-image",t.media.toJSON()),_.each(wp.media.view.settings.embedExts,function(e){t.media.get(e)&&i.push(t.media.get(e))}),wp.ajax.send("set-attachment-thumbnail",{data:{urls:i,thumbnail_id:a.get("id")}})})},renderAddTrackToolbar:function(){this.setPrimaryButton(a.videoAddTrackTitle,function(e,t){var i=t.get("selection").single(),a=e.media.get("content");-1===a.indexOf(i.get("url"))&&(a+=['<track srclang="en" label="English" kind="subtitles" src="',i.get("url"),'" />'].join(""),e.media.set("content",a)),t.trigger("add-track",e.media.toJSON())})}});e.exports=s},8867:function(e){var t=wp.media.view.Settings.AttachmentDisplay,i=jQuery,a=t.extend({initialize:function(){_.bindAll(this,"success"),this.players=[],this.listenTo(this.controller.states,"close",wp.media.mixin.unsetPlayers),this.on("ready",this.setPlayer),this.on("media:setting:remove",wp.media.mixin.unsetPlayers,this),this.on("media:setting:remove",this.render),this.on("media:setting:remove",this.setPlayer),t.prototype.initialize.apply(this,arguments)},events:function(){return _.extend({"click .remove-setting":"removeSetting","change .content-track":"setTracks","click .remove-track":"setTracks","click .add-media-source":"addSource"},t.prototype.events)},prepare:function(){return _.defaults({model:this.model.toJSON()},this.options)},removeSetting:function(e){var e=i(e.currentTarget).parent(),t=e.find("input").data("setting");t&&(this.model.unset(t),this.trigger("media:setting:remove",this)),e.remove()},setTracks:function(){var t="";_.each(this.$(".content-track"),function(e){t+=i(e).val()}),this.model.set("content",t),this.trigger("media:setting:remove",this)},addSource:function(e){this.controller.lastMime=i(e.currentTarget).data("mime"),this.controller.setState("add-"+this.controller.defaults.id+"-source")},loadPlayer:function(){this.players.push(new MediaElementPlayer(this.media,this.settings)),this.scriptXhr=!1},setPlayer:function(){var e;this.players.length||!this.media||this.scriptXhr||((e=this.model.get("src"))&&-1<e.indexOf("vimeo")&&!("Vimeo"in window)?this.scriptXhr=i.getScript("https://player.vimeo.com/api/player.js",_.bind(this.loadPlayer,this)):this.loadPlayer())},setMedia:function(){return this},success:function(e){var t=e.attributes.autoplay&&"false"!==e.attributes.autoplay;"flash"===e.pluginType&&t&&e.addEventListener("canplay",function(){e.play()},!1),this.mejs=e},render:function(){return t.prototype.render.apply(this,arguments),setTimeout(_.bind(function(){this.scrollToTop()},this),10),this.settings=_.defaults({success:this.success},wp.media.mixin.mejsSettings),this.setMedia()},scrollToTop:function(){this.$(".embed-media-settings").scrollTop(0)}},{instances:0,prepareSrc:function(e){var t=a.instances++;return _.each(i(e).find("source"),function(e){e.src=[e.src,-1<e.src.indexOf("?")?"&":"?","_=",t].join("")}),e}});e.exports=a},7697:function(e){var t=wp.media.view.MediaDetails,i=t.extend({className:"video-details",template:wp.template("video-details"),setMedia:function(){var e=this.$(".wp-video-shortcode");return e.find("source").length?(e.is(":hidden")&&e.show(),e.hasClass("youtube-video")||e.hasClass("vimeo-video")?this.media=e.get(0):this.media=t.prepareSrc(e.get(0))):(e.hide(),this.media=!1),this}});e.exports=i}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;t=a[e]={exports:{}};return i[e](t,t.exports,s),t.exports}var e,t,o;e=wp.media,t=window._wpmejsSettings||{},o=window._wpMediaViewsL10n||{},wp.media.mixin={mejsSettings:t,removeAllPlayers:function(){if(window.mejs&&window.mejs.players)for(var e in window.mejs.players)window.mejs.players[e].pause(),this.removePlayer(window.mejs.players[e])},removePlayer:function(e){var t,i;if(e.options){for(t in e.options.features)if(e["clean"+(i=e.options.features[t])])try{e["clean"+i](e)}catch(e){}e.isDynamic||e.node.remove(),"html5"!==e.media.rendererName&&e.media.remove(),delete window.mejs.players[e.id],e.container.remove(),e.globalUnbind("resize",e.globalResizeCallback),e.globalUnbind("keydown",e.globalKeydownCallback),e.globalUnbind("click",e.globalClickCallback),delete e.media.player}},unsetPlayers:function(){this.players&&this.players.length&&(_.each(this.players,function(e){e.pause(),wp.media.mixin.removePlayer(e)}),this.players=[])}},wp.media.playlist=new wp.media.collection({tag:"playlist",editTitle:o.editPlaylistTitle,defaults:{id:wp.media.view.settings.post.id,style:"light",tracklist:!0,tracknumbers:!0,images:!0,artists:!0,type:"audio"}}),wp.media.audio={coerce:wp.media.coerce,defaults:{id:wp.media.view.settings.post.id,src:"",loop:!1,autoplay:!1,preload:"none",width:400},edit:function(e){e=wp.shortcode.next("audio",e).shortcode;return wp.media({frame:"audio",state:"audio-details",metadata:_.defaults(e.attrs.named,this.defaults)})},shortcode:function(i){var e;return _.each(this.defaults,function(e,t){i[t]=this.coerce(i,t),e===i[t]&&delete i[t]},this),e=i.content,delete i.content,new wp.shortcode({tag:"audio",attrs:i,content:e})}},wp.media.video={coerce:wp.media.coerce,defaults:{id:wp.media.view.settings.post.id,src:"",poster:"",loop:!1,autoplay:!1,preload:"metadata",content:"",width:640,height:360},edit:function(e){var e=wp.shortcode.next("video",e).shortcode,t=e.attrs.named;return t.content=e.content,wp.media({frame:"video",state:"video-details",metadata:_.defaults(t,this.defaults)})},shortcode:function(i){var e;return _.each(this.defaults,function(e,t){i[t]=this.coerce(i,t),e===i[t]&&delete i[t]},this),e=i.content,delete i.content,new wp.shortcode({tag:"video",attrs:i,content:e})}},e.model.PostMedia=s(6615),e.controller.AudioDetails=s(6045),e.controller.VideoDetails=s(580),e.view.MediaFrame.MediaDetails=s(6445),e.view.MediaFrame.AudioDetails=s(5262),e.view.MediaFrame.VideoDetails=s(2075),e.view.MediaDetails=s(8867),e.view.AudioDetails=s(1764),e.view.VideoDetails=s(7697)}();
\ No newline at end of file
diff --git a/wp-includes/js/media-grid.js b/wp-includes/js/media-grid.js
index 63c6e54852..32dae3cea5 100644
--- a/wp-includes/js/media-grid.js
+++ b/wp-includes/js/media-grid.js
@@ -1,101 +1,166 @@
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = 1);
-/******/ })
-/************************************************************************/
-/******/ ({
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({
+
+/***/ 5817:
+/***/ (function(module) {
+
+var l10n = wp.media.view.l10n,
+	EditAttachmentMetadata;
+
+/**
+ * wp.media.controller.EditAttachmentMetadata
+ *
+ * A state for editing an attachment's metadata.
+ *
+ * @memberOf wp.media.controller
+ *
+ * @class
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ */
+EditAttachmentMetadata = wp.media.controller.State.extend(/** @lends wp.media.controller.EditAttachmentMetadata.prototype */{
+	defaults: {
+		id:      'edit-attachment',
+		// Title string passed to the frame's title region view.
+		title:   l10n.attachmentDetails,
+		// Region mode defaults.
+		content: 'edit-metadata',
+		menu:    false,
+		toolbar: false,
+		router:  false
+	}
+});
+
+module.exports = EditAttachmentMetadata;
+
+
+/***/ }),
+
+/***/ 9525:
+/***/ (function(module) {
+
+/**
+ * wp.media.view.MediaFrame.Manage.Router
+ *
+ * A router for handling the browser history and application state.
+ *
+ * @memberOf wp.media.view.MediaFrame.Manage
+ *
+ * @class
+ * @augments Backbone.Router
+ */
+var Router = Backbone.Router.extend(/** @lends wp.media.view.MediaFrame.Manage.Router.prototype */{
+	routes: {
+		'upload.php?item=:slug&mode=edit': 'editItem',
+		'upload.php?item=:slug':           'showItem',
+		'upload.php?search=:query':        'search',
+		'upload.php':                      'reset'
+	},
+
+	// Map routes against the page URL.
+	baseUrl: function( url ) {
+		return 'upload.php' + url;
+	},
+
+	reset: function() {
+		var frame = wp.media.frames.edit;
+
+		if ( frame ) {
+			frame.close();
+		}
+	},
+
+	// Respond to the search route by filling the search field and triggering the input event.
+	search: function( query ) {
+		jQuery( '#media-search-input' ).val( query ).trigger( 'input' );
+	},
+
+	// Show the modal with a specific item.
+	showItem: function( query ) {
+		var media = wp.media,
+			frame = media.frames.browse,
+			library = frame.state().get('library'),
+			item;
+
+		// Trigger the media frame to open the correct item.
+		item = library.findWhere( { id: parseInt( query, 10 ) } );
+
+		if ( item ) {
+			item.set( 'skipHistory', true );
+			frame.trigger( 'edit:attachment', item );
+		} else {
+			item = media.attachment( query );
+			frame.listenTo( item, 'change', function( model ) {
+				frame.stopListening( item );
+				frame.trigger( 'edit:attachment', model );
+			} );
+			item.fetch();
+		}
+	},
+
+	// Show the modal in edit mode with a specific item.
+	editItem: function( query ) {
+		this.showItem( query );
+		wp.media.frames.edit.content.mode( 'edit-details' );
+	}
+});
+
+module.exports = Router;
+
+
+/***/ }),
+
+/***/ 7433:
+/***/ (function(module) {
+
+var Details = wp.media.view.Attachment.Details,
+	TwoColumn;
+
+/**
+ * wp.media.view.Attachment.Details.TwoColumn
+ *
+ * A similar view to media.view.Attachment.Details
+ * for use in the Edit Attachment modal.
+ *
+ * @memberOf wp.media.view.Attachment.Details
+ *
+ * @class
+ * @augments wp.media.view.Attachment.Details
+ * @augments wp.media.view.Attachment
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+TwoColumn = Details.extend(/** @lends wp.media.view.Attachment.Details.TowColumn.prototype */{
+	template: wp.template( 'attachment-details-two-column' ),
+
+	initialize: function() {
+		this.controller.on( 'content:activate:edit-details', _.bind( this.editAttachment, this ) );
+
+		Details.prototype.initialize.apply( this, arguments );
+	},
+
+	editAttachment: function( event ) {
+		if ( event ) {
+			event.preventDefault();
+		}
+		this.controller.content.mode( 'edit-image' );
+	},
+
+	/**
+	 * Noop this from parent class, doesn't apply here.
+	 */
+	toggleSelectionHandler: function() {}

-/***/ 1:
-/***/ (function(module, exports, __webpack_require__) {
+});

-module.exports = __webpack_require__("LRQ5");
+module.exports = TwoColumn;


 /***/ }),

-/***/ "1lLZ":
-/***/ (function(module, exports) {
+/***/ 5562:
+/***/ (function(module) {

 var Button = wp.media.view.Button,
 	DeleteSelected = wp.media.view.DeleteSelectedButton,
@@ -148,57 +213,69 @@ module.exports = DeleteSelectedPermanently;

 /***/ }),

-/***/ "FcM5":
-/***/ (function(module, exports) {
+/***/ 471:
+/***/ (function(module) {

-var Details = wp.media.view.Attachment.Details,
-	TwoColumn;
+var Button = wp.media.view.Button,
+	l10n = wp.media.view.l10n,
+	DeleteSelected;

 /**
- * wp.media.view.Attachment.Details.TwoColumn
+ * wp.media.view.DeleteSelectedButton
  *
- * A similar view to media.view.Attachment.Details
- * for use in the Edit Attachment modal.
+ * A button that handles bulk Delete/Trash logic
  *
- * @memberOf wp.media.view.Attachment.Details
+ * @memberOf wp.media.view
  *
  * @class
- * @augments wp.media.view.Attachment.Details
- * @augments wp.media.view.Attachment
+ * @augments wp.media.view.Button
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-TwoColumn = Details.extend(/** @lends wp.media.view.Attachment.Details.TowColumn.prototype */{
-	template: wp.template( 'attachment-details-two-column' ),
-
+DeleteSelected = Button.extend(/** @lends wp.media.view.DeleteSelectedButton.prototype */{
 	initialize: function() {
-		this.controller.on( 'content:activate:edit-details', _.bind( this.editAttachment, this ) );
-
-		Details.prototype.initialize.apply( this, arguments );
+		Button.prototype.initialize.apply( this, arguments );
+		if ( this.options.filters ) {
+			this.options.filters.model.on( 'change', this.filterChange, this );
+		}
+		this.controller.on( 'selection:toggle', this.toggleDisabled, this );
+		this.controller.on( 'select:activate', this.toggleDisabled, this );
 	},

-	editAttachment: function( event ) {
-		if ( event ) {
-			event.preventDefault();
+	filterChange: function( model ) {
+		if ( 'trash' === model.get( 'status' ) ) {
+			this.model.set( 'text', l10n.restoreSelected );
+		} else if ( wp.media.view.settings.mediaTrash ) {
+			this.model.set( 'text', l10n.trashSelected );
+		} else {
+			this.model.set( 'text', l10n.deletePermanently );
 		}
-		this.controller.content.mode( 'edit-image' );
 	},

-	/**
-	 * Noop this from parent class, doesn't apply here.
-	 */
-	toggleSelectionHandler: function() {}
+	toggleDisabled: function() {
+		this.model.set( 'disabled', ! this.controller.state().get( 'selection' ).length );
+	},

+	render: function() {
+		Button.prototype.render.apply( this, arguments );
+		if ( this.controller.isModeActive( 'select' ) ) {
+			this.$el.addClass( 'delete-selected-button' );
+		} else {
+			this.$el.addClass( 'delete-selected-button hidden' );
+		}
+		this.toggleDisabled();
+		return this;
+	}
 });

-module.exports = TwoColumn;
+module.exports = DeleteSelected;


 /***/ }),

-/***/ "Ffsb":
-/***/ (function(module, exports) {
+/***/ 6767:
+/***/ (function(module) {


 var Button = wp.media.view.Button,
@@ -281,8 +358,8 @@ module.exports = SelectModeToggle;

 /***/ }),

-/***/ "HUrf":
-/***/ (function(module, exports) {
+/***/ 9157:
+/***/ (function(module) {

 var View = wp.media.View,
 	EditImage = wp.media.view.EditImage,
@@ -323,772 +400,628 @@ module.exports = Details;

 /***/ }),

-/***/ "LRQ5":
-/***/ (function(module, exports, __webpack_require__) {
-
-/**
- * @output wp-includes/js/media-grid.js
- */
-
-var media = wp.media;
-
-media.controller.EditAttachmentMetadata = __webpack_require__( "ZJBI" );
-media.view.MediaFrame.Manage = __webpack_require__( "lH8y" );
-media.view.Attachment.Details.TwoColumn = __webpack_require__( "FcM5" );
-media.view.MediaFrame.Manage.Router = __webpack_require__( "OMfl" );
-media.view.EditImage.Details = __webpack_require__( "HUrf" );
-media.view.MediaFrame.EditAttachments = __webpack_require__( "wQX5" );
-media.view.SelectModeToggleButton = __webpack_require__( "Ffsb" );
-media.view.DeleteSelectedButton = __webpack_require__( "nD7t" );
-media.view.DeleteSelectedPermanentlyButton = __webpack_require__( "1lLZ" );
-
+/***/ 5169:
+/***/ (function(module) {

-/***/ }),
+var Frame = wp.media.view.Frame,
+	MediaFrame = wp.media.view.MediaFrame,

-/***/ "OMfl":
-/***/ (function(module, exports) {
+	$ = jQuery,
+	EditAttachments;

 /**
- * wp.media.view.MediaFrame.Manage.Router
+ * wp.media.view.MediaFrame.EditAttachments
  *
- * A router for handling the browser history and application state.
+ * A frame for editing the details of a specific media item.
  *
- * @memberOf wp.media.view.MediaFrame.Manage
+ * Opens in a modal by default.
+ *
+ * Requires an attachment model to be passed in the options hash under `model`.
+ *
+ * @memberOf wp.media.view.MediaFrame
  *
  * @class
- * @augments Backbone.Router
+ * @augments wp.media.view.Frame
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ * @mixes wp.media.controller.StateMachine
  */
-var Router = Backbone.Router.extend(/** @lends wp.media.view.MediaFrame.Manage.Router.prototype */{
-	routes: {
-		'upload.php?item=:slug&mode=edit': 'editItem',
-		'upload.php?item=:slug':           'showItem',
-		'upload.php?search=:query':        'search',
-		'upload.php':                      'reset'
-	},
-
-	// Map routes against the page URL.
-	baseUrl: function( url ) {
-		return 'upload.php' + url;
-	},
-
-	reset: function() {
-		var frame = wp.media.frames.edit;
-
-		if ( frame ) {
-			frame.close();
-		}
-	},
-
-	// Respond to the search route by filling the search field and triggering the input event.
-	search: function( query ) {
-		jQuery( '#media-search-input' ).val( query ).trigger( 'input' );
-	},
-
-	// Show the modal with a specific item.
-	showItem: function( query ) {
-		var media = wp.media,
-			frame = media.frames.browse,
-			library = frame.state().get('library'),
-			item;
+EditAttachments = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.EditAttachments.prototype */{

-		// Trigger the media frame to open the correct item.
-		item = library.findWhere( { id: parseInt( query, 10 ) } );
+	className: 'edit-attachment-frame',
+	template:  wp.template( 'edit-attachment-frame' ),
+	regions:   [ 'title', 'content' ],

-		if ( item ) {
-			item.set( 'skipHistory', true );
-			frame.trigger( 'edit:attachment', item );
-		} else {
-			item = media.attachment( query );
-			frame.listenTo( item, 'change', function( model ) {
-				frame.stopListening( item );
-				frame.trigger( 'edit:attachment', model );
-			} );
-			item.fetch();
-		}
+	events: {
+		'click .left':  'previousMediaItem',
+		'click .right': 'nextMediaItem'
 	},

-	// Show the modal in edit mode with a specific item.
-	editItem: function( query ) {
-		this.showItem( query );
-		wp.media.frames.edit.content.mode( 'edit-details' );
-	}
-});
-
-module.exports = Router;
-
-
-/***/ }),
-
-/***/ "ZJBI":
-/***/ (function(module, exports) {
-
-var l10n = wp.media.view.l10n,
-	EditAttachmentMetadata;
-
-/**
- * wp.media.controller.EditAttachmentMetadata
- *
- * A state for editing an attachment's metadata.
- *
- * @memberOf wp.media.controller
- *
- * @class
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- */
-EditAttachmentMetadata = wp.media.controller.State.extend(/** @lends wp.media.controller.EditAttachmentMetadata.prototype */{
-	defaults: {
-		id:      'edit-attachment',
-		// Title string passed to the frame's title region view.
-		title:   l10n.attachmentDetails,
-		// Region mode defaults.
-		content: 'edit-metadata',
-		menu:    false,
-		toolbar: false,
-		router:  false
-	}
-});
-
-module.exports = EditAttachmentMetadata;
-
-
-/***/ }),
-
-/***/ "lH8y":
-/***/ (function(module, exports) {
-
-var MediaFrame = wp.media.view.MediaFrame,
-	Library = wp.media.controller.Library,
-
-	$ = Backbone.$,
-	Manage;
-
-/**
- * wp.media.view.MediaFrame.Manage
- *
- * A generic management frame workflow.
- *
- * Used in the media grid view.
- *
- * @memberOf wp.media.view.MediaFrame
- *
- * @class
- * @augments wp.media.view.MediaFrame
- * @augments wp.media.view.Frame
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- * @mixes wp.media.controller.StateMachine
- */
-Manage = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Manage.prototype */{
-	/**
-	 * @constructs
-	 */
 	initialize: function() {
+		Frame.prototype.initialize.apply( this, arguments );
+
 		_.defaults( this.options, {
-			title:     '',
-			modal:     false,
-			selection: [],
-			library:   {}, // Options hash for the query to the media library.
-			multiple:  'add',
-			state:     'library',
-			uploader:  true,
-			mode:      [ 'grid', 'edit' ]
+			modal: true,
+			state: 'edit-attachment'
 		});

-		this.$body = $( document.body );
-		this.$window = $( window );
-		this.$adminBar = $( '#wpadminbar' );
-		// Store the Add New button for later reuse in wp.media.view.UploaderInline.
-		this.$uploaderToggler = $( '.page-title-action' )
-			.attr( 'aria-expanded', 'false' )
-			.on( 'click', _.bind( this.addNewClickHandler, this ) );
-
-		this.$window.on( 'scroll resize', _.debounce( _.bind( this.fixPosition, this ), 15 ) );
-
-		// Ensure core and media grid view UI is enabled.
-		this.$el.addClass('wp-core-ui');
-
-		// Force the uploader off if the upload limit has been exceeded or
-		// if the browser isn't supported.
-		if ( wp.Uploader.limitExceeded || ! wp.Uploader.browser.supported ) {
-			this.options.uploader = false;
-		}
-
-		// Initialize a window-wide uploader.
-		if ( this.options.uploader ) {
-			this.uploader = new wp.media.view.UploaderWindow({
-				controller: this,
-				uploader: {
-					dropzone:  document.body,
-					container: document.body
-				}
-			}).render();
-			this.uploader.ready();
-			$('body').append( this.uploader.el );
+		this.controller = this.options.controller;
+		this.gridRouter = this.controller.gridRouter;
+		this.library = this.options.library;

-			this.options.uploader = false;
+		if ( this.options.model ) {
+			this.model = this.options.model;
 		}

-		this.gridRouter = new wp.media.view.MediaFrame.Manage.Router();
+		this.bindHandlers();
+		this.createStates();
+		this.createModal();

-		// Call 'initialize' directly on the parent class.
-		MediaFrame.prototype.initialize.apply( this, arguments );
+		this.title.mode( 'default' );
+		this.toggleNav();
+	},

-		// Append the frame view directly the supplied container.
-		this.$el.appendTo( this.options.container );
+	bindHandlers: function() {
+		// Bind default title creation.
+		this.on( 'title:create:default', this.createTitle, this );

-		this.createStates();
-		this.bindRegionModeHandlers();
-		this.render();
-		this.bindSearchHandler();
+		this.on( 'content:create:edit-metadata', this.editMetadataMode, this );
+		this.on( 'content:create:edit-image', this.editImageMode, this );
+		this.on( 'content:render:edit-image', this.editImageModeRender, this );
+		this.on( 'refresh', this.rerender, this );
+		this.on( 'close', this.detach );

-		wp.media.frames.browse = this;
+		this.bindModelHandlers();
+		this.listenTo( this.gridRouter, 'route:search', this.close, this );
 	},

-	bindSearchHandler: function() {
-		var search = this.$( '#media-search-input' ),
-			searchView = this.browserView.toolbar.get( 'search' ).$el,
-			listMode = this.$( '.view-list' ),
+	bindModelHandlers: function() {
+		// Close the modal if the attachment is deleted.
+		this.listenTo( this.model, 'change:status destroy', this.close, this );
+	},

-			input  = _.throttle( function (e) {
-				var val = $( e.currentTarget ).val(),
-					url = '';
+	createModal: function() {
+		// Initialize modal container view.
+		if ( this.options.modal ) {
+			this.modal = new wp.media.view.Modal({
+				controller:     this,
+				title:          this.options.title,
+				hasCloseButton: false
+			});

-				if ( val ) {
-					url += '?search=' + val;
-					this.gridRouter.navigate( this.gridRouter.baseUrl( url ), { replace: true } );
-				}
-			}, 1000 );
+			this.modal.on( 'open', _.bind( function () {
+				$( 'body' ).on( 'keydown.media-modal', _.bind( this.keyEvent, this ) );
+			}, this ) );

-		// Update the URL when entering search string (at most once per second).
-		search.on( 'input', _.bind( input, this ) );
+			// Completely destroy the modal DOM element when closing it.
+			this.modal.on( 'close', _.bind( function() {
+				// Remove the keydown event.
+				$( 'body' ).off( 'keydown.media-modal' );
+				// Move focus back to the original item in the grid if possible.
+				$( 'li.attachment[data-id="' + this.model.get( 'id' ) +'"]' ).trigger( 'focus' );
+				this.resetRoute();
+			}, this ) );

-		this.gridRouter
-			.on( 'route:search', function () {
-				var href = window.location.href;
-				if ( href.indexOf( 'mode=' ) > -1 ) {
-					href = href.replace( /mode=[^&]+/g, 'mode=list' );
-				} else {
-					href += href.indexOf( '?' ) > -1 ? '&mode=list' : '?mode=list';
-				}
-				href = href.replace( 'search=', 's=' );
-				listMode.prop( 'href', href );
-			})
-			.on( 'route:reset', function() {
-				searchView.val( '' ).trigger( 'input' );
-			});
+			// Set this frame as the modal's content.
+			this.modal.content( this );
+			this.modal.open();
+		}
 	},

 	/**
-	 * Create the default states for the frame.
+	 * Add the default states to the frame.
 	 */
 	createStates: function() {
-		var options = this.options;
-
-		if ( this.options.states ) {
-			return;
-		}
-
-		// Add the default states.
 		this.states.add([
-			new Library({
-				library:            wp.media.query( options.library ),
-				multiple:           options.multiple,
-				title:              options.title,
-				content:            'browse',
-				toolbar:            'select',
-				contentUserSetting: false,
-				filterable:         'all',
-				autoSelect:         false
+			new wp.media.controller.EditAttachmentMetadata({
+				model:   this.model,
+				library: this.library
 			})
 		]);
 	},

 	/**
-	 * Bind region mode activation events to proper handlers.
+	 * Content region rendering callback for the `edit-metadata` mode.
+	 *
+	 * @param {Object} contentRegion Basic object with a `view` property, which
+	 *                               should be set with the proper region view.
 	 */
-	bindRegionModeHandlers: function() {
-		this.on( 'content:create:browse', this.browseContent, this );
-
-		// Handle a frame-level event for editing an attachment.
-		this.on( 'edit:attachment', this.openEditAttachmentModal, this );
+	editMetadataMode: function( contentRegion ) {
+		contentRegion.view = new wp.media.view.Attachment.Details.TwoColumn({
+			controller: this,
+			model:      this.model
+		});

-		this.on( 'select:activate', this.bindKeydown, this );
-		this.on( 'select:deactivate', this.unbindKeydown, this );
-	},
+		/**
+		 * Attach a subview to display fields added via the
+		 * `attachment_fields_to_edit` filter.
+		 */
+		contentRegion.view.views.set( '.attachment-compat', new wp.media.view.AttachmentCompat({
+			controller: this,
+			model:      this.model
+		}) );

-	handleKeydown: function( e ) {
-		if ( 27 === e.which ) {
-			e.preventDefault();
-			this.deactivateMode( 'select' ).activateMode( 'edit' );
+		// Update browser url when navigating media details, except on load.
+		if ( this.model && ! this.model.get( 'skipHistory' ) ) {
+			this.gridRouter.navigate( this.gridRouter.baseUrl( '?item=' + this.model.id ) );
 		}
 	},

-	bindKeydown: function() {
-		this.$body.on( 'keydown.select', _.bind( this.handleKeydown, this ) );
-	},
-
-	unbindKeydown: function() {
-		this.$body.off( 'keydown.select' );
-	},
+	/**
+	 * Render the EditImage view into the frame's content region.
+	 *
+	 * @param {Object} contentRegion Basic object with a `view` property, which
+	 *                               should be set with the proper region view.
+	 */
+	editImageMode: function( contentRegion ) {
+		var editImageController = new wp.media.controller.EditImage( {
+			model: this.model,
+			frame: this
+		} );
+		// Noop some methods.
+		editImageController._toolbar = function() {};
+		editImageController._router = function() {};
+		editImageController._menu = function() {};

-	fixPosition: function() {
-		var $browser, $toolbar;
-		if ( ! this.isModeActive( 'select' ) ) {
-			return;
-		}
+		contentRegion.view = new wp.media.view.EditImage.Details( {
+			model: this.model,
+			frame: this,
+			controller: editImageController
+		} );

-		$browser = this.$('.attachments-browser');
-		$toolbar = $browser.find('.media-toolbar');
+		this.gridRouter.navigate( this.gridRouter.baseUrl( '?item=' + this.model.id + '&mode=edit' ) );

-		// Offset doesn't appear to take top margin into account, hence +16.
-		if ( ( $browser.offset().top + 16 ) < this.$window.scrollTop() + this.$adminBar.height() ) {
-			$browser.addClass( 'fixed' );
-			$toolbar.css('width', $browser.width() + 'px');
-		} else {
-			$browser.removeClass( 'fixed' );
-			$toolbar.css('width', '');
-		}
 	},

-	/**
-	 * Click handler for the `Add New` button.
-	 */
-	addNewClickHandler: function( event ) {
-		event.preventDefault();
-		this.trigger( 'toggle:upload:attachment' );
-
-		if ( this.uploader ) {
-			this.uploader.refresh();
-		}
+	editImageModeRender: function( view ) {
+		view.on( 'ready', view.loadEditor );
 	},

-	/**
-	 * Open the Edit Attachment modal.
-	 */
-	openEditAttachmentModal: function( model ) {
-		// Create a new EditAttachment frame, passing along the library and the attachment model.
-		if ( wp.media.frames.edit ) {
-			wp.media.frames.edit.open().trigger( 'refresh', model );
-		} else {
-			wp.media.frames.edit = wp.media( {
-				frame:       'edit-attachments',
-				controller:  this,
-				library:     this.state().get('library'),
-				model:       model
-			} );
-		}
+	toggleNav: function() {
+		this.$( '.left' ).prop( 'disabled', ! this.hasPrevious() );
+		this.$( '.right' ).prop( 'disabled', ! this.hasNext() );
 	},

 	/**
-	 * Create an attachments browser view within the content region.
-	 *
-	 * @param {Object} contentRegion Basic object with a `view` property, which
-	 *                               should be set with the proper region view.
-	 * @this wp.media.controller.Region
+	 * Rerender the view.
 	 */
-	browseContent: function( contentRegion ) {
-		var state = this.state();
-
-		// Browse our library of attachments.
-		this.browserView = contentRegion.view = new wp.media.view.AttachmentsBrowser({
-			controller: this,
-			collection: state.get('library'),
-			selection:  state.get('selection'),
-			model:      state,
-			sortable:   state.get('sortable'),
-			search:     state.get('searchable'),
-			filters:    state.get('filterable'),
-			date:       state.get('date'),
-			display:    state.get('displaySettings'),
-			dragInfo:   state.get('dragInfo'),
-			sidebar:    'errors',
-
-			suggestedWidth:  state.get('suggestedWidth'),
-			suggestedHeight: state.get('suggestedHeight'),
-
-			AttachmentView: state.get('AttachmentView'),
-
-			scrollElement: document
-		});
-		this.browserView.on( 'ready', _.bind( this.bindDeferred, this ) );
+	rerender: function( model ) {
+		this.stopListening( this.model );

-		this.errors = wp.Uploader.errors;
-		this.errors.on( 'add remove reset', this.sidebarVisibility, this );
-	},
+		this.model = model;

-	sidebarVisibility: function() {
-		this.browserView.$( '.media-sidebar' ).toggle( !! this.errors.length );
-	},
+		this.bindModelHandlers();

-	bindDeferred: function() {
-		if ( ! this.browserView.dfd ) {
-			return;
+		// Only rerender the `content` region.
+		if ( this.content.mode() !== 'edit-metadata' ) {
+			this.content.mode( 'edit-metadata' );
+		} else {
+			this.content.render();
 		}
-		this.browserView.dfd.done( _.bind( this.startHistory, this ) );
+
+		this.toggleNav();
 	},

-	startHistory: function() {
-		// Verify pushState support and activate.
-		if ( window.history && window.history.pushState ) {
-			if ( Backbone.History.started ) {
-				Backbone.history.stop();
-			}
-			Backbone.history.start( {
-				root: window._wpMediaGridSettings.adminUrl,
-				pushState: true
-			} );
+	/**
+	 * Click handler to switch to the previous media item.
+	 */
+	previousMediaItem: function() {
+		if ( ! this.hasPrevious() ) {
+			return;
 		}
-	}
-});
-
-module.exports = Manage;

+		this.trigger( 'refresh', this.library.at( this.getCurrentIndex() - 1 ) );
+		// Move focus to the Previous button. When there are no more items, to the Next button.
+		this.focusNavButton( this.hasPrevious() ? '.left' : '.right' );
+	},

-/***/ }),
+	/**
+	 * Click handler to switch to the next media item.
+	 */
+	nextMediaItem: function() {
+		if ( ! this.hasNext() ) {
+			return;
+		}

-/***/ "nD7t":
-/***/ (function(module, exports) {
+		this.trigger( 'refresh', this.library.at( this.getCurrentIndex() + 1 ) );
+		// Move focus to the Next button. When there are no more items, to the Previous button.
+		this.focusNavButton( this.hasNext() ? '.right' : '.left' );
+	},

-var Button = wp.media.view.Button,
-	l10n = wp.media.view.l10n,
-	DeleteSelected;
+	/**
+	 * Set focus to the navigation buttons depending on the browsing direction.
+	 *
+	 * @since 5.3.0
+	 *
+	 * @param {string} which A CSS selector to target the button to focus.
+	 */
+	focusNavButton: function( which ) {
+		$( which ).trigger( 'focus' );
+	},

-/**
- * wp.media.view.DeleteSelectedButton
- *
- * A button that handles bulk Delete/Trash logic
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.view.Button
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-DeleteSelected = Button.extend(/** @lends wp.media.view.DeleteSelectedButton.prototype */{
-	initialize: function() {
-		Button.prototype.initialize.apply( this, arguments );
-		if ( this.options.filters ) {
-			this.options.filters.model.on( 'change', this.filterChange, this );
-		}
-		this.controller.on( 'selection:toggle', this.toggleDisabled, this );
-		this.controller.on( 'select:activate', this.toggleDisabled, this );
+	getCurrentIndex: function() {
+		return this.library.indexOf( this.model );
 	},

-	filterChange: function( model ) {
-		if ( 'trash' === model.get( 'status' ) ) {
-			this.model.set( 'text', l10n.restoreSelected );
-		} else if ( wp.media.view.settings.mediaTrash ) {
-			this.model.set( 'text', l10n.trashSelected );
-		} else {
-			this.model.set( 'text', l10n.deletePermanently );
-		}
+	hasNext: function() {
+		return ( this.getCurrentIndex() + 1 ) < this.library.length;
 	},

-	toggleDisabled: function() {
-		this.model.set( 'disabled', ! this.controller.state().get( 'selection' ).length );
+	hasPrevious: function() {
+		return ( this.getCurrentIndex() - 1 ) > -1;
 	},
+	/**
+	 * Respond to the keyboard events: right arrow, left arrow, except when
+	 * focus is in a textarea or input field.
+	 */
+	keyEvent: function( event ) {
+		if ( ( 'INPUT' === event.target.nodeName || 'TEXTAREA' === event.target.nodeName ) && ! event.target.disabled ) {
+			return;
+		}

-	render: function() {
-		Button.prototype.render.apply( this, arguments );
-		if ( this.controller.isModeActive( 'select' ) ) {
-			this.$el.addClass( 'delete-selected-button' );
-		} else {
-			this.$el.addClass( 'delete-selected-button hidden' );
+		// The right arrow key.
+		if ( 39 === event.keyCode ) {
+			this.nextMediaItem();
 		}
-		this.toggleDisabled();
-		return this;
+		// The left arrow key.
+		if ( 37 === event.keyCode ) {
+			this.previousMediaItem();
+		}
+	},
+
+	resetRoute: function() {
+		var searchTerm = this.controller.browserView.toolbar.get( 'search' ).$el.val(),
+			url = '' !== searchTerm ? '?search=' + searchTerm : '';
+		this.gridRouter.navigate( this.gridRouter.baseUrl( url ), { replace: true } );
 	}
 });

-module.exports = DeleteSelected;
+module.exports = EditAttachments;


 /***/ }),

-/***/ "wQX5":
-/***/ (function(module, exports) {
+/***/ 4817:
+/***/ (function(module) {

-var Frame = wp.media.view.Frame,
-	MediaFrame = wp.media.view.MediaFrame,
+var MediaFrame = wp.media.view.MediaFrame,
+	Library = wp.media.controller.Library,

-	$ = jQuery,
-	EditAttachments;
+	$ = Backbone.$,
+	Manage;

 /**
- * wp.media.view.MediaFrame.EditAttachments
- *
- * A frame for editing the details of a specific media item.
+ * wp.media.view.MediaFrame.Manage
  *
- * Opens in a modal by default.
+ * A generic management frame workflow.
  *
- * Requires an attachment model to be passed in the options hash under `model`.
+ * Used in the media grid view.
  *
  * @memberOf wp.media.view.MediaFrame
  *
  * @class
+ * @augments wp.media.view.MediaFrame
  * @augments wp.media.view.Frame
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  * @mixes wp.media.controller.StateMachine
  */
-EditAttachments = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.EditAttachments.prototype */{
+Manage = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Manage.prototype */{
+	/**
+	 * @constructs
+	 */
+	initialize: function() {
+		_.defaults( this.options, {
+			title:     '',
+			modal:     false,
+			selection: [],
+			library:   {}, // Options hash for the query to the media library.
+			multiple:  'add',
+			state:     'library',
+			uploader:  true,
+			mode:      [ 'grid', 'edit' ]
+		});

-	className: 'edit-attachment-frame',
-	template:  wp.template( 'edit-attachment-frame' ),
-	regions:   [ 'title', 'content' ],
+		this.$body = $( document.body );
+		this.$window = $( window );
+		this.$adminBar = $( '#wpadminbar' );
+		// Store the Add New button for later reuse in wp.media.view.UploaderInline.
+		this.$uploaderToggler = $( '.page-title-action' )
+			.attr( 'aria-expanded', 'false' )
+			.on( 'click', _.bind( this.addNewClickHandler, this ) );

-	events: {
-		'click .left':  'previousMediaItem',
-		'click .right': 'nextMediaItem'
-	},
+		this.$window.on( 'scroll resize', _.debounce( _.bind( this.fixPosition, this ), 15 ) );

-	initialize: function() {
-		Frame.prototype.initialize.apply( this, arguments );
+		// Ensure core and media grid view UI is enabled.
+		this.$el.addClass('wp-core-ui');

-		_.defaults( this.options, {
-			modal: true,
-			state: 'edit-attachment'
-		});
+		// Force the uploader off if the upload limit has been exceeded or
+		// if the browser isn't supported.
+		if ( wp.Uploader.limitExceeded || ! wp.Uploader.browser.supported ) {
+			this.options.uploader = false;
+		}

-		this.controller = this.options.controller;
-		this.gridRouter = this.controller.gridRouter;
-		this.library = this.options.library;
+		// Initialize a window-wide uploader.
+		if ( this.options.uploader ) {
+			this.uploader = new wp.media.view.UploaderWindow({
+				controller: this,
+				uploader: {
+					dropzone:  document.body,
+					container: document.body
+				}
+			}).render();
+			this.uploader.ready();
+			$('body').append( this.uploader.el );

-		if ( this.options.model ) {
-			this.model = this.options.model;
+			this.options.uploader = false;
 		}

-		this.bindHandlers();
-		this.createStates();
-		this.createModal();
+		this.gridRouter = new wp.media.view.MediaFrame.Manage.Router();

-		this.title.mode( 'default' );
-		this.toggleNav();
-	},
+		// Call 'initialize' directly on the parent class.
+		MediaFrame.prototype.initialize.apply( this, arguments );

-	bindHandlers: function() {
-		// Bind default title creation.
-		this.on( 'title:create:default', this.createTitle, this );
+		// Append the frame view directly the supplied container.
+		this.$el.appendTo( this.options.container );

-		this.on( 'content:create:edit-metadata', this.editMetadataMode, this );
-		this.on( 'content:create:edit-image', this.editImageMode, this );
-		this.on( 'content:render:edit-image', this.editImageModeRender, this );
-		this.on( 'refresh', this.rerender, this );
-		this.on( 'close', this.detach );
+		this.createStates();
+		this.bindRegionModeHandlers();
+		this.render();
+		this.bindSearchHandler();

-		this.bindModelHandlers();
-		this.listenTo( this.gridRouter, 'route:search', this.close, this );
+		wp.media.frames.browse = this;
 	},

-	bindModelHandlers: function() {
-		// Close the modal if the attachment is deleted.
-		this.listenTo( this.model, 'change:status destroy', this.close, this );
-	},
+	bindSearchHandler: function() {
+		var search = this.$( '#media-search-input' ),
+			searchView = this.browserView.toolbar.get( 'search' ).$el,
+			listMode = this.$( '.view-list' ),

-	createModal: function() {
-		// Initialize modal container view.
-		if ( this.options.modal ) {
-			this.modal = new wp.media.view.Modal({
-				controller:     this,
-				title:          this.options.title,
-				hasCloseButton: false
-			});
+			input  = _.throttle( function (e) {
+				var val = $( e.currentTarget ).val(),
+					url = '';

-			this.modal.on( 'open', _.bind( function () {
-				$( 'body' ).on( 'keydown.media-modal', _.bind( this.keyEvent, this ) );
-			}, this ) );
+				if ( val ) {
+					url += '?search=' + val;
+					this.gridRouter.navigate( this.gridRouter.baseUrl( url ), { replace: true } );
+				}
+			}, 1000 );

-			// Completely destroy the modal DOM element when closing it.
-			this.modal.on( 'close', _.bind( function() {
-				// Remove the keydown event.
-				$( 'body' ).off( 'keydown.media-modal' );
-				// Move focus back to the original item in the grid if possible.
-				$( 'li.attachment[data-id="' + this.model.get( 'id' ) +'"]' ).trigger( 'focus' );
-				this.resetRoute();
-			}, this ) );
+		// Update the URL when entering search string (at most once per second).
+		search.on( 'input', _.bind( input, this ) );

-			// Set this frame as the modal's content.
-			this.modal.content( this );
-			this.modal.open();
-		}
+		this.gridRouter
+			.on( 'route:search', function () {
+				var href = window.location.href;
+				if ( href.indexOf( 'mode=' ) > -1 ) {
+					href = href.replace( /mode=[^&]+/g, 'mode=list' );
+				} else {
+					href += href.indexOf( '?' ) > -1 ? '&mode=list' : '?mode=list';
+				}
+				href = href.replace( 'search=', 's=' );
+				listMode.prop( 'href', href );
+			})
+			.on( 'route:reset', function() {
+				searchView.val( '' ).trigger( 'input' );
+			});
 	},

 	/**
-	 * Add the default states to the frame.
+	 * Create the default states for the frame.
 	 */
 	createStates: function() {
+		var options = this.options;
+
+		if ( this.options.states ) {
+			return;
+		}
+
+		// Add the default states.
 		this.states.add([
-			new wp.media.controller.EditAttachmentMetadata({
-				model:   this.model,
-				library: this.library
+			new Library({
+				library:            wp.media.query( options.library ),
+				multiple:           options.multiple,
+				title:              options.title,
+				content:            'browse',
+				toolbar:            'select',
+				contentUserSetting: false,
+				filterable:         'all',
+				autoSelect:         false
 			})
 		]);
 	},

 	/**
-	 * Content region rendering callback for the `edit-metadata` mode.
-	 *
-	 * @param {Object} contentRegion Basic object with a `view` property, which
-	 *                               should be set with the proper region view.
+	 * Bind region mode activation events to proper handlers.
 	 */
-	editMetadataMode: function( contentRegion ) {
-		contentRegion.view = new wp.media.view.Attachment.Details.TwoColumn({
-			controller: this,
-			model:      this.model
-		});
+	bindRegionModeHandlers: function() {
+		this.on( 'content:create:browse', this.browseContent, this );

-		/**
-		 * Attach a subview to display fields added via the
-		 * `attachment_fields_to_edit` filter.
-		 */
-		contentRegion.view.views.set( '.attachment-compat', new wp.media.view.AttachmentCompat({
-			controller: this,
-			model:      this.model
-		}) );
+		// Handle a frame-level event for editing an attachment.
+		this.on( 'edit:attachment', this.openEditAttachmentModal, this );

-		// Update browser url when navigating media details, except on load.
-		if ( this.model && ! this.model.get( 'skipHistory' ) ) {
-			this.gridRouter.navigate( this.gridRouter.baseUrl( '?item=' + this.model.id ) );
-		}
+		this.on( 'select:activate', this.bindKeydown, this );
+		this.on( 'select:deactivate', this.unbindKeydown, this );
 	},

-	/**
-	 * Render the EditImage view into the frame's content region.
-	 *
-	 * @param {Object} contentRegion Basic object with a `view` property, which
-	 *                               should be set with the proper region view.
-	 */
-	editImageMode: function( contentRegion ) {
-		var editImageController = new wp.media.controller.EditImage( {
-			model: this.model,
-			frame: this
-		} );
-		// Noop some methods.
-		editImageController._toolbar = function() {};
-		editImageController._router = function() {};
-		editImageController._menu = function() {};
-
-		contentRegion.view = new wp.media.view.EditImage.Details( {
-			model: this.model,
-			frame: this,
-			controller: editImageController
-		} );
-
-		this.gridRouter.navigate( this.gridRouter.baseUrl( '?item=' + this.model.id + '&mode=edit' ) );
-
+	handleKeydown: function( e ) {
+		if ( 27 === e.which ) {
+			e.preventDefault();
+			this.deactivateMode( 'select' ).activateMode( 'edit' );
+		}
 	},

-	editImageModeRender: function( view ) {
-		view.on( 'ready', view.loadEditor );
+	bindKeydown: function() {
+		this.$body.on( 'keydown.select', _.bind( this.handleKeydown, this ) );
 	},

-	toggleNav: function() {
-		this.$( '.left' ).prop( 'disabled', ! this.hasPrevious() );
-		this.$( '.right' ).prop( 'disabled', ! this.hasNext() );
+	unbindKeydown: function() {
+		this.$body.off( 'keydown.select' );
 	},

-	/**
-	 * Rerender the view.
-	 */
-	rerender: function( model ) {
-		this.stopListening( this.model );
-
-		this.model = model;
+	fixPosition: function() {
+		var $browser, $toolbar;
+		if ( ! this.isModeActive( 'select' ) ) {
+			return;
+		}

-		this.bindModelHandlers();
+		$browser = this.$('.attachments-browser');
+		$toolbar = $browser.find('.media-toolbar');

-		// Only rerender the `content` region.
-		if ( this.content.mode() !== 'edit-metadata' ) {
-			this.content.mode( 'edit-metadata' );
+		// Offset doesn't appear to take top margin into account, hence +16.
+		if ( ( $browser.offset().top + 16 ) < this.$window.scrollTop() + this.$adminBar.height() ) {
+			$browser.addClass( 'fixed' );
+			$toolbar.css('width', $browser.width() + 'px');
 		} else {
-			this.content.render();
+			$browser.removeClass( 'fixed' );
+			$toolbar.css('width', '');
 		}
-
-		this.toggleNav();
 	},

 	/**
-	 * Click handler to switch to the previous media item.
+	 * Click handler for the `Add New` button.
 	 */
-	previousMediaItem: function() {
-		if ( ! this.hasPrevious() ) {
-			return;
-		}
+	addNewClickHandler: function( event ) {
+		event.preventDefault();
+		this.trigger( 'toggle:upload:attachment' );

-		this.trigger( 'refresh', this.library.at( this.getCurrentIndex() - 1 ) );
-		// Move focus to the Previous button. When there are no more items, to the Next button.
-		this.focusNavButton( this.hasPrevious() ? '.left' : '.right' );
+		if ( this.uploader ) {
+			this.uploader.refresh();
+		}
 	},

 	/**
-	 * Click handler to switch to the next media item.
+	 * Open the Edit Attachment modal.
 	 */
-	nextMediaItem: function() {
-		if ( ! this.hasNext() ) {
-			return;
+	openEditAttachmentModal: function( model ) {
+		// Create a new EditAttachment frame, passing along the library and the attachment model.
+		if ( wp.media.frames.edit ) {
+			wp.media.frames.edit.open().trigger( 'refresh', model );
+		} else {
+			wp.media.frames.edit = wp.media( {
+				frame:       'edit-attachments',
+				controller:  this,
+				library:     this.state().get('library'),
+				model:       model
+			} );
 		}
-
-		this.trigger( 'refresh', this.library.at( this.getCurrentIndex() + 1 ) );
-		// Move focus to the Next button. When there are no more items, to the Previous button.
-		this.focusNavButton( this.hasNext() ? '.right' : '.left' );
 	},

 	/**
-	 * Set focus to the navigation buttons depending on the browsing direction.
-	 *
-	 * @since 5.3.0
+	 * Create an attachments browser view within the content region.
 	 *
-	 * @param {string} which A CSS selector to target the button to focus.
+	 * @param {Object} contentRegion Basic object with a `view` property, which
+	 *                               should be set with the proper region view.
+	 * @this wp.media.controller.Region
 	 */
-	focusNavButton: function( which ) {
-		$( which ).trigger( 'focus' );
-	},
+	browseContent: function( contentRegion ) {
+		var state = this.state();

-	getCurrentIndex: function() {
-		return this.library.indexOf( this.model );
-	},
+		// Browse our library of attachments.
+		this.browserView = contentRegion.view = new wp.media.view.AttachmentsBrowser({
+			controller: this,
+			collection: state.get('library'),
+			selection:  state.get('selection'),
+			model:      state,
+			sortable:   state.get('sortable'),
+			search:     state.get('searchable'),
+			filters:    state.get('filterable'),
+			date:       state.get('date'),
+			display:    state.get('displaySettings'),
+			dragInfo:   state.get('dragInfo'),
+			sidebar:    'errors',

-	hasNext: function() {
-		return ( this.getCurrentIndex() + 1 ) < this.library.length;
+			suggestedWidth:  state.get('suggestedWidth'),
+			suggestedHeight: state.get('suggestedHeight'),
+
+			AttachmentView: state.get('AttachmentView'),
+
+			scrollElement: document
+		});
+		this.browserView.on( 'ready', _.bind( this.bindDeferred, this ) );
+
+		this.errors = wp.Uploader.errors;
+		this.errors.on( 'add remove reset', this.sidebarVisibility, this );
 	},

-	hasPrevious: function() {
-		return ( this.getCurrentIndex() - 1 ) > -1;
+	sidebarVisibility: function() {
+		this.browserView.$( '.media-sidebar' ).toggle( !! this.errors.length );
 	},
-	/**
-	 * Respond to the keyboard events: right arrow, left arrow, except when
-	 * focus is in a textarea or input field.
-	 */
-	keyEvent: function( event ) {
-		if ( ( 'INPUT' === event.target.nodeName || 'TEXTAREA' === event.target.nodeName ) && ! event.target.disabled ) {
-			return;
-		}

-		// The right arrow key.
-		if ( 39 === event.keyCode ) {
-			this.nextMediaItem();
-		}
-		// The left arrow key.
-		if ( 37 === event.keyCode ) {
-			this.previousMediaItem();
+	bindDeferred: function() {
+		if ( ! this.browserView.dfd ) {
+			return;
 		}
+		this.browserView.dfd.done( _.bind( this.startHistory, this ) );
 	},

-	resetRoute: function() {
-		var searchTerm = this.controller.browserView.toolbar.get( 'search' ).$el.val(),
-			url = '' !== searchTerm ? '?search=' + searchTerm : '';
-		this.gridRouter.navigate( this.gridRouter.baseUrl( url ), { replace: true } );
+	startHistory: function() {
+		// Verify pushState support and activate.
+		if ( window.history && window.history.pushState ) {
+			if ( Backbone.History.started ) {
+				Backbone.history.stop();
+			}
+			Backbone.history.start( {
+				root: window._wpMediaGridSettings.adminUrl,
+				pushState: true
+			} );
+		}
 	}
 });

-module.exports = EditAttachments;
+module.exports = Manage;


 /***/ })

-/******/ });
\ No newline at end of file
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
+!function() {
+/**
+ * @output wp-includes/js/media-grid.js
+ */
+
+var media = wp.media;
+
+media.controller.EditAttachmentMetadata = __webpack_require__( 5817 );
+media.view.MediaFrame.Manage = __webpack_require__( 4817 );
+media.view.Attachment.Details.TwoColumn = __webpack_require__( 7433 );
+media.view.MediaFrame.Manage.Router = __webpack_require__( 9525 );
+media.view.EditImage.Details = __webpack_require__( 9157 );
+media.view.MediaFrame.EditAttachments = __webpack_require__( 5169 );
+media.view.SelectModeToggleButton = __webpack_require__( 6767 );
+media.view.DeleteSelectedButton = __webpack_require__( 471 );
+media.view.DeleteSelectedPermanentlyButton = __webpack_require__( 5562 );
+
+}();
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/media-grid.min.js b/wp-includes/js/media-grid.min.js
index 354e962e26..dbad15a55f 100644
--- a/wp-includes/js/media-grid.min.js
+++ b/wp-includes/js/media-grid.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-!function(i){var o={};function n(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}n.m=i,n.c=o,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(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.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=1)}({1:function(t,e,i){t.exports=i("LRQ5")},"1lLZ":function(t,e){var i=wp.media.view.Button,o=wp.media.view.DeleteSelectedButton,n=o.extend({initialize:function(){o.prototype.initialize.apply(this,arguments),this.controller.on("select:activate",this.selectActivate,this),this.controller.on("select:deactivate",this.selectDeactivate,this)},filterChange:function(t){this.canShow="trash"===t.get("status")},selectActivate:function(){this.toggleDisabled(),this.$el.toggleClass("hidden",!this.canShow)},selectDeactivate:function(){this.toggleDisabled(),this.$el.addClass("hidden")},render:function(){return i.prototype.render.apply(this,arguments),this.selectActivate(),this}});t.exports=n},FcM5:function(t,e){var i=wp.media.view.Attachment.Details,o=i.extend({template:wp.template("attachment-details-two-column"),initialize:function(){this.controller.on("content:activate:edit-details",_.bind(this.editAttachment,this)),i.prototype.initialize.apply(this,arguments)},editAttachment:function(t){t&&t.preventDefault(),this.controller.content.mode("edit-image")},toggleSelectionHandler:function(){}});t.exports=o},Ffsb:function(t,e){var i=wp.media.view.Button,o=wp.media.view.l10n,n=i.extend({initialize:function(){_.defaults(this.options,{size:""}),i.prototype.initialize.apply(this,arguments),this.controller.on("select:activate select:deactivate",this.toggleBulkEditHandler,this),this.controller.on("selection:action:done",this.back,this)},back:function(){this.controller.deactivateMode("select").activateMode("edit")},click:function(){i.prototype.click.apply(this,arguments),this.controller.isModeActive("select")?this.back():this.controller.deactivateMode("edit").activateMode("select")},render:function(){return i.prototype.render.apply(this,arguments),this.$el.addClass("select-mode-toggle-button"),this},toggleBulkEditHandler:function(){var t=this.controller.content.get().toolbar,e=t.$(".media-toolbar-secondary > *, .media-toolbar-primary > *");this.controller.isModeActive("select")?(this.model.set({size:"large",text:o.cancel}),e.not(".spinner, .media-button").hide(),this.$el.show(),t.$el.addClass("media-toolbar-mode-select"),t.$(".delete-selected-button").removeClass("hidden")):(this.model.set({size:"",text:o.bulkSelect}),this.controller.content.get().$el.removeClass("fixed"),t.$el.css("width",""),t.$el.removeClass("media-toolbar-mode-select"),t.$(".delete-selected-button").addClass("hidden"),e.not(".media-button").show(),this.controller.state().get("selection").reset())}});t.exports=n},HUrf:function(t,e){var i=wp.media.View,o=wp.media.view.EditImage.extend({initialize:function(t){this.editor=window.imageEdit,this.frame=t.frame,this.controller=t.controller,i.prototype.initialize.apply(this,arguments)},back:function(){this.frame.content.mode("edit-metadata")},save:function(){this.model.fetch().done(_.bind(function(){this.frame.content.mode("edit-metadata")},this))}});t.exports=o},LRQ5:function(t,e,i){var o=wp.media;o.controller.EditAttachmentMetadata=i("ZJBI"),o.view.MediaFrame.Manage=i("lH8y"),o.view.Attachment.Details.TwoColumn=i("FcM5"),o.view.MediaFrame.Manage.Router=i("OMfl"),o.view.EditImage.Details=i("HUrf"),o.view.MediaFrame.EditAttachments=i("wQX5"),o.view.SelectModeToggleButton=i("Ffsb"),o.view.DeleteSelectedButton=i("nD7t"),o.view.DeleteSelectedPermanentlyButton=i("1lLZ")},OMfl:function(t,e){var i=Backbone.Router.extend({routes:{"upload.php?item=:slug&mode=edit":"editItem","upload.php?item=:slug":"showItem","upload.php?search=:query":"search","upload.php":"reset"},baseUrl:function(t){return"upload.php"+t},reset:function(){var t=wp.media.frames.edit;t&&t.close()},search:function(t){jQuery("#media-search-input").val(t).trigger("input")},showItem:function(t){var e=wp.media,i=e.frames.browse,o=i.state().get("library").findWhere({id:parseInt(t,10)});o?(o.set("skipHistory",!0),i.trigger("edit:attachment",o)):(o=e.attachment(t),i.listenTo(o,"change",function(t){i.stopListening(o),i.trigger("edit:attachment",t)}),o.fetch())},editItem:function(t){this.showItem(t),wp.media.frames.edit.content.mode("edit-details")}});t.exports=i},ZJBI:function(t,e){var i=wp.media.view.l10n,i=wp.media.controller.State.extend({defaults:{id:"edit-attachment",title:i.attachmentDetails,content:"edit-metadata",menu:!1,toolbar:!1,router:!1}});t.exports=i},lH8y:function(t,e){var i=wp.media.view.MediaFrame,o=wp.media.controller.Library,n=Backbone.$,s=i.extend({initialize:function(){_.defaults(this.options,{title:"",modal:!1,selection:[],library:{},multiple:"add",state:"library",uploader:!0,mode:["grid","edit"]}),this.$body=n(document.body),this.$window=n(window),this.$adminBar=n("#wpadminbar"),this.$uploaderToggler=n(".page-title-action").attr("aria-expanded","false").on("click",_.bind(this.addNewClickHandler,this)),this.$window.on("scroll resize",_.debounce(_.bind(this.fixPosition,this),15)),this.$el.addClass("wp-core-ui"),!wp.Uploader.limitExceeded&&wp.Uploader.browser.supported||(this.options.uploader=!1),this.options.uploader&&(this.uploader=new wp.media.view.UploaderWindow({controller:this,uploader:{dropzone:document.body,container:document.body}}).render(),this.uploader.ready(),n("body").append(this.uploader.el),this.options.uploader=!1),this.gridRouter=new wp.media.view.MediaFrame.Manage.Router,i.prototype.initialize.apply(this,arguments),this.$el.appendTo(this.options.container),this.createStates(),this.bindRegionModeHandlers(),this.render(),this.bindSearchHandler(),wp.media.frames.browse=this},bindSearchHandler:function(){var t=this.$("#media-search-input"),e=this.browserView.toolbar.get("search").$el,i=this.$(".view-list"),o=_.throttle(function(t){var t=n(t.currentTarget).val(),e="";t&&this.gridRouter.navigate(this.gridRouter.baseUrl(e+="?search="+t),{replace:!0})},1e3);t.on("input",_.bind(o,this)),this.gridRouter.on("route:search",function(){var t=window.location.href;-1<t.indexOf("mode=")?t=t.replace(/mode=[^&]+/g,"mode=list"):t+=-1<t.indexOf("?")?"&mode=list":"?mode=list",t=t.replace("search=","s="),i.prop("href",t)}).on("route:reset",function(){e.val("").trigger("input")})},createStates:function(){var t=this.options;this.options.states||this.states.add([new o({library:wp.media.query(t.library),multiple:t.multiple,title:t.title,content:"browse",toolbar:"select",contentUserSetting:!1,filterable:"all",autoSelect:!1})])},bindRegionModeHandlers:function(){this.on("content:create:browse",this.browseContent,this),this.on("edit:attachment",this.openEditAttachmentModal,this),this.on("select:activate",this.bindKeydown,this),this.on("select:deactivate",this.unbindKeydown,this)},handleKeydown:function(t){27===t.which&&(t.preventDefault(),this.deactivateMode("select").activateMode("edit"))},bindKeydown:function(){this.$body.on("keydown.select",_.bind(this.handleKeydown,this))},unbindKeydown:function(){this.$body.off("keydown.select")},fixPosition:function(){var t,e;this.isModeActive("select")&&(e=(t=this.$(".attachments-browser")).find(".media-toolbar"),t.offset().top+16<this.$window.scrollTop()+this.$adminBar.height()?(t.addClass("fixed"),e.css("width",t.width()+"px")):(t.removeClass("fixed"),e.css("width","")))},addNewClickHandler:function(t){t.preventDefault(),this.trigger("toggle:upload:attachment"),this.uploader&&this.uploader.refresh()},openEditAttachmentModal:function(t){wp.media.frames.edit?wp.media.frames.edit.open().trigger("refresh",t):wp.media.frames.edit=wp.media({frame:"edit-attachments",controller:this,library:this.state().get("library"),model:t})},browseContent:function(t){var e=this.state();this.browserView=t.view=new wp.media.view.AttachmentsBrowser({controller:this,collection:e.get("library"),selection:e.get("selection"),model:e,sortable:e.get("sortable"),search:e.get("searchable"),filters:e.get("filterable"),date:e.get("date"),display:e.get("displaySettings"),dragInfo:e.get("dragInfo"),sidebar:"errors",suggestedWidth:e.get("suggestedWidth"),suggestedHeight:e.get("suggestedHeight"),AttachmentView:e.get("AttachmentView"),scrollElement:document}),this.browserView.on("ready",_.bind(this.bindDeferred,this)),this.errors=wp.Uploader.errors,this.errors.on("add remove reset",this.sidebarVisibility,this)},sidebarVisibility:function(){this.browserView.$(".media-sidebar").toggle(!!this.errors.length)},bindDeferred:function(){this.browserView.dfd&&this.browserView.dfd.done(_.bind(this.startHistory,this))},startHistory:function(){window.history&&window.history.pushState&&(Backbone.History.started&&Backbone.history.stop(),Backbone.history.start({root:window._wpMediaGridSettings.adminUrl,pushState:!0}))}});t.exports=s},nD7t:function(t,e){var i=wp.media.view.Button,o=wp.media.view.l10n,n=i.extend({initialize:function(){i.prototype.initialize.apply(this,arguments),this.options.filters&&this.options.filters.model.on("change",this.filterChange,this),this.controller.on("selection:toggle",this.toggleDisabled,this),this.controller.on("select:activate",this.toggleDisabled,this)},filterChange:function(t){"trash"===t.get("status")?this.model.set("text",o.restoreSelected):wp.media.view.settings.mediaTrash?this.model.set("text",o.trashSelected):this.model.set("text",o.deletePermanently)},toggleDisabled:function(){this.model.set("disabled",!this.controller.state().get("selection").length)},render:function(){return i.prototype.render.apply(this,arguments),this.controller.isModeActive("select")?this.$el.addClass("delete-selected-button"):this.$el.addClass("delete-selected-button hidden"),this.toggleDisabled(),this}});t.exports=n},wQX5:function(t,e){var i=wp.media.view.Frame,o=wp.media.view.MediaFrame,n=jQuery,o=o.extend({className:"edit-attachment-frame",template:wp.template("edit-attachment-frame"),regions:["title","content"],events:{"click .left":"previousMediaItem","click .right":"nextMediaItem"},initialize:function(){i.prototype.initialize.apply(this,arguments),_.defaults(this.options,{modal:!0,state:"edit-attachment"}),this.controller=this.options.controller,this.gridRouter=this.controller.gridRouter,this.library=this.options.library,this.options.model&&(this.model=this.options.model),this.bindHandlers(),this.createStates(),this.createModal(),this.title.mode("default"),this.toggleNav()},bindHandlers:function(){this.on("title:create:default",this.createTitle,this),this.on("content:create:edit-metadata",this.editMetadataMode,this),this.on("content:create:edit-image",this.editImageMode,this),this.on("content:render:edit-image",this.editImageModeRender,this),this.on("refresh",this.rerender,this),this.on("close",this.detach),this.bindModelHandlers(),this.listenTo(this.gridRouter,"route:search",this.close,this)},bindModelHandlers:function(){this.listenTo(this.model,"change:status destroy",this.close,this)},createModal:function(){this.options.modal&&(this.modal=new wp.media.view.Modal({controller:this,title:this.options.title,hasCloseButton:!1}),this.modal.on("open",_.bind(function(){n("body").on("keydown.media-modal",_.bind(this.keyEvent,this))},this)),this.modal.on("close",_.bind(function(){n("body").off("keydown.media-modal"),n('li.attachment[data-id="'+this.model.get("id")+'"]').trigger("focus"),this.resetRoute()},this)),this.modal.content(this),this.modal.open())},createStates:function(){this.states.add([new wp.media.controller.EditAttachmentMetadata({model:this.model,library:this.library})])},editMetadataMode:function(t){t.view=new wp.media.view.Attachment.Details.TwoColumn({controller:this,model:this.model}),t.view.views.set(".attachment-compat",new wp.media.view.AttachmentCompat({controller:this,model:this.model})),this.model&&!this.model.get("skipHistory")&&this.gridRouter.navigate(this.gridRouter.baseUrl("?item="+this.model.id))},editImageMode:function(t){var e=new wp.media.controller.EditImage({model:this.model,frame:this});e._toolbar=function(){},e._router=function(){},e._menu=function(){},t.view=new wp.media.view.EditImage.Details({model:this.model,frame:this,controller:e}),this.gridRouter.navigate(this.gridRouter.baseUrl("?item="+this.model.id+"&mode=edit"))},editImageModeRender:function(t){t.on("ready",t.loadEditor)},toggleNav:function(){this.$(".left").prop("disabled",!this.hasPrevious()),this.$(".right").prop("disabled",!this.hasNext())},rerender:function(t){this.stopListening(this.model),this.model=t,this.bindModelHandlers(),"edit-metadata"!==this.content.mode()?this.content.mode("edit-metadata"):this.content.render(),this.toggleNav()},previousMediaItem:function(){this.hasPrevious()&&(this.trigger("refresh",this.library.at(this.getCurrentIndex()-1)),this.focusNavButton(this.hasPrevious()?".left":".right"))},nextMediaItem:function(){this.hasNext()&&(this.trigger("refresh",this.library.at(this.getCurrentIndex()+1)),this.focusNavButton(this.hasNext()?".right":".left"))},focusNavButton:function(t){n(t).trigger("focus")},getCurrentIndex:function(){return this.library.indexOf(this.model)},hasNext:function(){return this.getCurrentIndex()+1<this.library.length},hasPrevious:function(){return-1<this.getCurrentIndex()-1},keyEvent:function(t){("INPUT"!==t.target.nodeName&&"TEXTAREA"!==t.target.nodeName||t.target.disabled)&&(39===t.keyCode&&this.nextMediaItem(),37===t.keyCode&&this.previousMediaItem())},resetRoute:function(){var t=this.controller.browserView.toolbar.get("search").$el.val();this.gridRouter.navigate(this.gridRouter.baseUrl(""!==t?"?search="+t:""),{replace:!0})}});t.exports=o}});
\ No newline at end of file
+!function(){var i={5817:function(t){var e=wp.media.view.l10n,e=wp.media.controller.State.extend({defaults:{id:"edit-attachment",title:e.attachmentDetails,content:"edit-metadata",menu:!1,toolbar:!1,router:!1}});t.exports=e},9525:function(t){var e=Backbone.Router.extend({routes:{"upload.php?item=:slug&mode=edit":"editItem","upload.php?item=:slug":"showItem","upload.php?search=:query":"search","upload.php":"reset"},baseUrl:function(t){return"upload.php"+t},reset:function(){var t=wp.media.frames.edit;t&&t.close()},search:function(t){jQuery("#media-search-input").val(t).trigger("input")},showItem:function(t){var e=wp.media,i=e.frames.browse,o=i.state().get("library").findWhere({id:parseInt(t,10)});o?(o.set("skipHistory",!0),i.trigger("edit:attachment",o)):(o=e.attachment(t),i.listenTo(o,"change",function(t){i.stopListening(o),i.trigger("edit:attachment",t)}),o.fetch())},editItem:function(t){this.showItem(t),wp.media.frames.edit.content.mode("edit-details")}});t.exports=e},7433:function(t){var e=wp.media.view.Attachment.Details,i=e.extend({template:wp.template("attachment-details-two-column"),initialize:function(){this.controller.on("content:activate:edit-details",_.bind(this.editAttachment,this)),e.prototype.initialize.apply(this,arguments)},editAttachment:function(t){t&&t.preventDefault(),this.controller.content.mode("edit-image")},toggleSelectionHandler:function(){}});t.exports=i},5562:function(t){var e=wp.media.view.Button,i=wp.media.view.DeleteSelectedButton,o=i.extend({initialize:function(){i.prototype.initialize.apply(this,arguments),this.controller.on("select:activate",this.selectActivate,this),this.controller.on("select:deactivate",this.selectDeactivate,this)},filterChange:function(t){this.canShow="trash"===t.get("status")},selectActivate:function(){this.toggleDisabled(),this.$el.toggleClass("hidden",!this.canShow)},selectDeactivate:function(){this.toggleDisabled(),this.$el.addClass("hidden")},render:function(){return e.prototype.render.apply(this,arguments),this.selectActivate(),this}});t.exports=o},471:function(t){var e=wp.media.view.Button,i=wp.media.view.l10n,o=e.extend({initialize:function(){e.prototype.initialize.apply(this,arguments),this.options.filters&&this.options.filters.model.on("change",this.filterChange,this),this.controller.on("selection:toggle",this.toggleDisabled,this),this.controller.on("select:activate",this.toggleDisabled,this)},filterChange:function(t){"trash"===t.get("status")?this.model.set("text",i.restoreSelected):wp.media.view.settings.mediaTrash?this.model.set("text",i.trashSelected):this.model.set("text",i.deletePermanently)},toggleDisabled:function(){this.model.set("disabled",!this.controller.state().get("selection").length)},render:function(){return e.prototype.render.apply(this,arguments),this.controller.isModeActive("select")?this.$el.addClass("delete-selected-button"):this.$el.addClass("delete-selected-button hidden"),this.toggleDisabled(),this}});t.exports=o},6767:function(t){var e=wp.media.view.Button,i=wp.media.view.l10n,o=e.extend({initialize:function(){_.defaults(this.options,{size:""}),e.prototype.initialize.apply(this,arguments),this.controller.on("select:activate select:deactivate",this.toggleBulkEditHandler,this),this.controller.on("selection:action:done",this.back,this)},back:function(){this.controller.deactivateMode("select").activateMode("edit")},click:function(){e.prototype.click.apply(this,arguments),this.controller.isModeActive("select")?this.back():this.controller.deactivateMode("edit").activateMode("select")},render:function(){return e.prototype.render.apply(this,arguments),this.$el.addClass("select-mode-toggle-button"),this},toggleBulkEditHandler:function(){var t=this.controller.content.get().toolbar,e=t.$(".media-toolbar-secondary > *, .media-toolbar-primary > *");this.controller.isModeActive("select")?(this.model.set({size:"large",text:i.cancel}),e.not(".spinner, .media-button").hide(),this.$el.show(),t.$el.addClass("media-toolbar-mode-select"),t.$(".delete-selected-button").removeClass("hidden")):(this.model.set({size:"",text:i.bulkSelect}),this.controller.content.get().$el.removeClass("fixed"),t.$el.css("width",""),t.$el.removeClass("media-toolbar-mode-select"),t.$(".delete-selected-button").addClass("hidden"),e.not(".media-button").show(),this.controller.state().get("selection").reset())}});t.exports=o},9157:function(t){var e=wp.media.View,i=wp.media.view.EditImage.extend({initialize:function(t){this.editor=window.imageEdit,this.frame=t.frame,this.controller=t.controller,e.prototype.initialize.apply(this,arguments)},back:function(){this.frame.content.mode("edit-metadata")},save:function(){this.model.fetch().done(_.bind(function(){this.frame.content.mode("edit-metadata")},this))}});t.exports=i},5169:function(t){var e=wp.media.view.Frame,i=wp.media.view.MediaFrame,o=jQuery,i=i.extend({className:"edit-attachment-frame",template:wp.template("edit-attachment-frame"),regions:["title","content"],events:{"click .left":"previousMediaItem","click .right":"nextMediaItem"},initialize:function(){e.prototype.initialize.apply(this,arguments),_.defaults(this.options,{modal:!0,state:"edit-attachment"}),this.controller=this.options.controller,this.gridRouter=this.controller.gridRouter,this.library=this.options.library,this.options.model&&(this.model=this.options.model),this.bindHandlers(),this.createStates(),this.createModal(),this.title.mode("default"),this.toggleNav()},bindHandlers:function(){this.on("title:create:default",this.createTitle,this),this.on("content:create:edit-metadata",this.editMetadataMode,this),this.on("content:create:edit-image",this.editImageMode,this),this.on("content:render:edit-image",this.editImageModeRender,this),this.on("refresh",this.rerender,this),this.on("close",this.detach),this.bindModelHandlers(),this.listenTo(this.gridRouter,"route:search",this.close,this)},bindModelHandlers:function(){this.listenTo(this.model,"change:status destroy",this.close,this)},createModal:function(){this.options.modal&&(this.modal=new wp.media.view.Modal({controller:this,title:this.options.title,hasCloseButton:!1}),this.modal.on("open",_.bind(function(){o("body").on("keydown.media-modal",_.bind(this.keyEvent,this))},this)),this.modal.on("close",_.bind(function(){o("body").off("keydown.media-modal"),o('li.attachment[data-id="'+this.model.get("id")+'"]').trigger("focus"),this.resetRoute()},this)),this.modal.content(this),this.modal.open())},createStates:function(){this.states.add([new wp.media.controller.EditAttachmentMetadata({model:this.model,library:this.library})])},editMetadataMode:function(t){t.view=new wp.media.view.Attachment.Details.TwoColumn({controller:this,model:this.model}),t.view.views.set(".attachment-compat",new wp.media.view.AttachmentCompat({controller:this,model:this.model})),this.model&&!this.model.get("skipHistory")&&this.gridRouter.navigate(this.gridRouter.baseUrl("?item="+this.model.id))},editImageMode:function(t){var e=new wp.media.controller.EditImage({model:this.model,frame:this});e._toolbar=function(){},e._router=function(){},e._menu=function(){},t.view=new wp.media.view.EditImage.Details({model:this.model,frame:this,controller:e}),this.gridRouter.navigate(this.gridRouter.baseUrl("?item="+this.model.id+"&mode=edit"))},editImageModeRender:function(t){t.on("ready",t.loadEditor)},toggleNav:function(){this.$(".left").prop("disabled",!this.hasPrevious()),this.$(".right").prop("disabled",!this.hasNext())},rerender:function(t){this.stopListening(this.model),this.model=t,this.bindModelHandlers(),"edit-metadata"!==this.content.mode()?this.content.mode("edit-metadata"):this.content.render(),this.toggleNav()},previousMediaItem:function(){this.hasPrevious()&&(this.trigger("refresh",this.library.at(this.getCurrentIndex()-1)),this.focusNavButton(this.hasPrevious()?".left":".right"))},nextMediaItem:function(){this.hasNext()&&(this.trigger("refresh",this.library.at(this.getCurrentIndex()+1)),this.focusNavButton(this.hasNext()?".right":".left"))},focusNavButton:function(t){o(t).trigger("focus")},getCurrentIndex:function(){return this.library.indexOf(this.model)},hasNext:function(){return this.getCurrentIndex()+1<this.library.length},hasPrevious:function(){return-1<this.getCurrentIndex()-1},keyEvent:function(t){("INPUT"!==t.target.nodeName&&"TEXTAREA"!==t.target.nodeName||t.target.disabled)&&(39===t.keyCode&&this.nextMediaItem(),37===t.keyCode&&this.previousMediaItem())},resetRoute:function(){var t=this.controller.browserView.toolbar.get("search").$el.val();this.gridRouter.navigate(this.gridRouter.baseUrl(""!==t?"?search="+t:""),{replace:!0})}});t.exports=i},4817:function(t){var e=wp.media.view.MediaFrame,i=wp.media.controller.Library,s=Backbone.$,o=e.extend({initialize:function(){_.defaults(this.options,{title:"",modal:!1,selection:[],library:{},multiple:"add",state:"library",uploader:!0,mode:["grid","edit"]}),this.$body=s(document.body),this.$window=s(window),this.$adminBar=s("#wpadminbar"),this.$uploaderToggler=s(".page-title-action").attr("aria-expanded","false").on("click",_.bind(this.addNewClickHandler,this)),this.$window.on("scroll resize",_.debounce(_.bind(this.fixPosition,this),15)),this.$el.addClass("wp-core-ui"),!wp.Uploader.limitExceeded&&wp.Uploader.browser.supported||(this.options.uploader=!1),this.options.uploader&&(this.uploader=new wp.media.view.UploaderWindow({controller:this,uploader:{dropzone:document.body,container:document.body}}).render(),this.uploader.ready(),s("body").append(this.uploader.el),this.options.uploader=!1),this.gridRouter=new wp.media.view.MediaFrame.Manage.Router,e.prototype.initialize.apply(this,arguments),this.$el.appendTo(this.options.container),this.createStates(),this.bindRegionModeHandlers(),this.render(),this.bindSearchHandler(),wp.media.frames.browse=this},bindSearchHandler:function(){var t=this.$("#media-search-input"),e=this.browserView.toolbar.get("search").$el,i=this.$(".view-list"),o=_.throttle(function(t){var t=s(t.currentTarget).val(),e="";t&&this.gridRouter.navigate(this.gridRouter.baseUrl(e+="?search="+t),{replace:!0})},1e3);t.on("input",_.bind(o,this)),this.gridRouter.on("route:search",function(){var t=window.location.href;-1<t.indexOf("mode=")?t=t.replace(/mode=[^&]+/g,"mode=list"):t+=-1<t.indexOf("?")?"&mode=list":"?mode=list",t=t.replace("search=","s="),i.prop("href",t)}).on("route:reset",function(){e.val("").trigger("input")})},createStates:function(){var t=this.options;this.options.states||this.states.add([new i({library:wp.media.query(t.library),multiple:t.multiple,title:t.title,content:"browse",toolbar:"select",contentUserSetting:!1,filterable:"all",autoSelect:!1})])},bindRegionModeHandlers:function(){this.on("content:create:browse",this.browseContent,this),this.on("edit:attachment",this.openEditAttachmentModal,this),this.on("select:activate",this.bindKeydown,this),this.on("select:deactivate",this.unbindKeydown,this)},handleKeydown:function(t){27===t.which&&(t.preventDefault(),this.deactivateMode("select").activateMode("edit"))},bindKeydown:function(){this.$body.on("keydown.select",_.bind(this.handleKeydown,this))},unbindKeydown:function(){this.$body.off("keydown.select")},fixPosition:function(){var t,e;this.isModeActive("select")&&(e=(t=this.$(".attachments-browser")).find(".media-toolbar"),t.offset().top+16<this.$window.scrollTop()+this.$adminBar.height()?(t.addClass("fixed"),e.css("width",t.width()+"px")):(t.removeClass("fixed"),e.css("width","")))},addNewClickHandler:function(t){t.preventDefault(),this.trigger("toggle:upload:attachment"),this.uploader&&this.uploader.refresh()},openEditAttachmentModal:function(t){wp.media.frames.edit?wp.media.frames.edit.open().trigger("refresh",t):wp.media.frames.edit=wp.media({frame:"edit-attachments",controller:this,library:this.state().get("library"),model:t})},browseContent:function(t){var e=this.state();this.browserView=t.view=new wp.media.view.AttachmentsBrowser({controller:this,collection:e.get("library"),selection:e.get("selection"),model:e,sortable:e.get("sortable"),search:e.get("searchable"),filters:e.get("filterable"),date:e.get("date"),display:e.get("displaySettings"),dragInfo:e.get("dragInfo"),sidebar:"errors",suggestedWidth:e.get("suggestedWidth"),suggestedHeight:e.get("suggestedHeight"),AttachmentView:e.get("AttachmentView"),scrollElement:document}),this.browserView.on("ready",_.bind(this.bindDeferred,this)),this.errors=wp.Uploader.errors,this.errors.on("add remove reset",this.sidebarVisibility,this)},sidebarVisibility:function(){this.browserView.$(".media-sidebar").toggle(!!this.errors.length)},bindDeferred:function(){this.browserView.dfd&&this.browserView.dfd.done(_.bind(this.startHistory,this))},startHistory:function(){window.history&&window.history.pushState&&(Backbone.History.started&&Backbone.history.stop(),Backbone.history.start({root:window._wpMediaGridSettings.adminUrl,pushState:!0}))}});t.exports=o}},o={};function s(t){var e=o[t];if(void 0!==e)return e.exports;e=o[t]={exports:{}};return i[t](e,e.exports,s),e.exports}var t;(t=wp.media).controller.EditAttachmentMetadata=s(5817),t.view.MediaFrame.Manage=s(4817),t.view.Attachment.Details.TwoColumn=s(7433),t.view.MediaFrame.Manage.Router=s(9525),t.view.EditImage.Details=s(9157),t.view.MediaFrame.EditAttachments=s(5169),t.view.SelectModeToggleButton=s(6767),t.view.DeleteSelectedButton=s(471),t.view.DeleteSelectedPermanentlyButton=s(5562)}();
\ No newline at end of file
diff --git a/wp-includes/js/media-models.js b/wp-includes/js/media-models.js
index 4200b97d9b..70f292af90 100644
--- a/wp-includes/js/media-models.js
+++ b/wp-includes/js/media-models.js
@@ -1,93 +1,8 @@
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = 2);
-/******/ })
-/************************************************************************/
-/******/ ({
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-/***/ "0Ym0":
-/***/ (function(module, exports) {
+/***/ 7727:
+/***/ (function(module) {

 var $ = Backbone.$,
 	Attachment;
@@ -262,120 +177,8 @@ module.exports = Attachment;

 /***/ }),

-/***/ 2:
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__("dx5j");
-
-
-/***/ }),
-
-/***/ "Io+g":
-/***/ (function(module, exports) {
-
-var Attachments = wp.media.model.Attachments,
-	Selection;
-
-/**
- * wp.media.model.Selection
- *
- * A selection of attachments.
- *
- * @memberOf wp.media.model
- *
- * @class
- * @augments wp.media.model.Attachments
- * @augments Backbone.Collection
- */
-Selection = Attachments.extend(/** @lends wp.media.model.Selection.prototype */{
-	/**
-	 * Refresh the `single` model whenever the selection changes.
-	 * Binds `single` instead of using the context argument to ensure
-	 * it receives no parameters.
-	 *
-	 * @param {Array} [models=[]] Array of models used to populate the collection.
-	 * @param {Object} [options={}]
-	 */
-	initialize: function( models, options ) {
-		/**
-		 * call 'initialize' directly on the parent class
-		 */
-		Attachments.prototype.initialize.apply( this, arguments );
-		this.multiple = options && options.multiple;
-
-		this.on( 'add remove reset', _.bind( this.single, this, false ) );
-	},
-
-	/**
-	 * If the workflow does not support multi-select, clear out the selection
-	 * before adding a new attachment to it.
-	 *
-	 * @param {Array} models
-	 * @param {Object} options
-	 * @return {wp.media.model.Attachment[]}
-	 */
-	add: function( models, options ) {
-		if ( ! this.multiple ) {
-			this.remove( this.models );
-		}
-		/**
-		 * call 'add' directly on the parent class
-		 */
-		return Attachments.prototype.add.call( this, models, options );
-	},
-
-	/**
-	 * Fired when toggling (clicking on) an attachment in the modal.
-	 *
-	 * @param {undefined|boolean|wp.media.model.Attachment} model
-	 *
-	 * @fires wp.media.model.Selection#selection:single
-	 * @fires wp.media.model.Selection#selection:unsingle
-	 *
-	 * @return {Backbone.Model}
-	 */
-	single: function( model ) {
-		var previous = this._single;
-
-		// If a `model` is provided, use it as the single model.
-		if ( model ) {
-			this._single = model;
-		}
-		// If the single model isn't in the selection, remove it.
-		if ( this._single && ! this.get( this._single.cid ) ) {
-			delete this._single;
-		}
-
-		this._single = this._single || this.last();
-
-		// If single has changed, fire an event.
-		if ( this._single !== previous ) {
-			if ( previous ) {
-				previous.trigger( 'selection:unsingle', previous, this );
-
-				// If the model was already removed, trigger the collection
-				// event manually.
-				if ( ! this.get( previous.cid ) ) {
-					this.trigger( 'selection:unsingle', previous, this );
-				}
-			}
-			if ( this._single ) {
-				this._single.trigger( 'selection:single', this._single, this );
-			}
-		}
-
-		// Return the single model, or the last model as a fallback.
-		return this._single;
-	}
-});
-
-module.exports = Selection;
-
-
-/***/ }),
-
-/***/ "K0z/":
-/***/ (function(module, exports) {
+/***/ 6940:
+/***/ (function(module) {

 /**
  * wp.media.model.Attachments
@@ -982,259 +785,169 @@ module.exports = Attachments;

 /***/ }),

-/***/ "dx5j":
-/***/ (function(module, exports, __webpack_require__) {
-
-/**
- * @output wp-includes/js/media-models.js
- */
-
-var $ = jQuery,
-	Attachment, Attachments, l10n, media;
-
-/** @namespace wp */
-window.wp = window.wp || {};
+/***/ 5927:
+/***/ (function(module) {

 /**
- * Create and return a media frame.
+ * wp.media.model.PostImage
  *
- * Handles the default media experience.
+ * An instance of an image that's been embedded into a post.
  *
- * @alias wp.media
- * @memberOf wp
- * @namespace
+ * Used in the embedded image attachment display settings modal - @see wp.media.view.MediaFrame.ImageDetails.
  *
- * @param {Object} attributes The properties passed to the main media controller.
- * @return {wp.media.view.MediaFrame} A media workflow.
- */
-media = wp.media = function( attributes ) {
-	var MediaFrame = media.view.MediaFrame,
-		frame;
+ * @memberOf wp.media.model
+ *
+ * @class
+ * @augments Backbone.Model
+ *
+ * @param {int} [attributes]               Initial model attributes.
+ * @param {int} [attributes.attachment_id] ID of the attachment.
+ **/
+var PostImage = Backbone.Model.extend(/** @lends wp.media.model.PostImage.prototype */{

-	if ( ! MediaFrame ) {
-		return;
-	}
+	initialize: function( attributes ) {
+		var Attachment = wp.media.model.Attachment;
+		this.attachment = false;

-	attributes = _.defaults( attributes || {}, {
-		frame: 'select'
-	});
+		if ( attributes.attachment_id ) {
+			this.attachment = Attachment.get( attributes.attachment_id );
+			if ( this.attachment.get( 'url' ) ) {
+				this.dfd = jQuery.Deferred();
+				this.dfd.resolve();
+			} else {
+				this.dfd = this.attachment.fetch();
+			}
+			this.bindAttachmentListeners();
+		}

-	if ( 'select' === attributes.frame && MediaFrame.Select ) {
-		frame = new MediaFrame.Select( attributes );
-	} else if ( 'post' === attributes.frame && MediaFrame.Post ) {
-		frame = new MediaFrame.Post( attributes );
-	} else if ( 'manage' === attributes.frame && MediaFrame.Manage ) {
-		frame = new MediaFrame.Manage( attributes );
-	} else if ( 'image' === attributes.frame && MediaFrame.ImageDetails ) {
-		frame = new MediaFrame.ImageDetails( attributes );
-	} else if ( 'audio' === attributes.frame && MediaFrame.AudioDetails ) {
-		frame = new MediaFrame.AudioDetails( attributes );
-	} else if ( 'video' === attributes.frame && MediaFrame.VideoDetails ) {
-		frame = new MediaFrame.VideoDetails( attributes );
-	} else if ( 'edit-attachments' === attributes.frame && MediaFrame.EditAttachments ) {
-		frame = new MediaFrame.EditAttachments( attributes );
-	}
+		// Keep URL in sync with changes to the type of link.
+		this.on( 'change:link', this.updateLinkUrl, this );
+		this.on( 'change:size', this.updateSize, this );

-	delete attributes.frame;
+		this.setLinkTypeFromUrl();
+		this.setAspectRatio();

-	media.frame = frame;
+		this.set( 'originalUrl', attributes.url );
+	},

-	return frame;
-};
+	bindAttachmentListeners: function() {
+		this.listenTo( this.attachment, 'sync', this.setLinkTypeFromUrl );
+		this.listenTo( this.attachment, 'sync', this.setAspectRatio );
+		this.listenTo( this.attachment, 'change', this.updateSize );
+	},

-/** @namespace wp.media.model */
-/** @namespace wp.media.view */
-/** @namespace wp.media.controller */
-/** @namespace wp.media.frames */
-_.extend( media, { model: {}, view: {}, controller: {}, frames: {} });
+	changeAttachment: function( attachment, props ) {
+		this.stopListening( this.attachment );
+		this.attachment = attachment;
+		this.bindAttachmentListeners();

-// Link any localized strings.
-l10n = media.model.l10n = window._wpMediaModelsL10n || {};
+		this.set( 'attachment_id', this.attachment.get( 'id' ) );
+		this.set( 'caption', this.attachment.get( 'caption' ) );
+		this.set( 'alt', this.attachment.get( 'alt' ) );
+		this.set( 'size', props.get( 'size' ) );
+		this.set( 'align', props.get( 'align' ) );
+		this.set( 'link', props.get( 'link' ) );
+		this.updateLinkUrl();
+		this.updateSize();
+	},

-// Link any settings.
-media.model.settings = l10n.settings || {};
-delete l10n.settings;
+	setLinkTypeFromUrl: function() {
+		var linkUrl = this.get( 'linkUrl' ),
+			type;

-Attachment = media.model.Attachment = __webpack_require__( "0Ym0" );
-Attachments = media.model.Attachments = __webpack_require__( "K0z/" );
+		if ( ! linkUrl ) {
+			this.set( 'link', 'none' );
+			return;
+		}

-media.model.Query = __webpack_require__( "efdO" );
-media.model.PostImage = __webpack_require__( "r1z7" );
-media.model.Selection = __webpack_require__( "Io+g" );
+		// Default to custom if there is a linkUrl.
+		type = 'custom';

-/**
- * ========================================================================
- * UTILITIES
- * ========================================================================
- */
+		if ( this.attachment ) {
+			if ( this.attachment.get( 'url' ) === linkUrl ) {
+				type = 'file';
+			} else if ( this.attachment.get( 'link' ) === linkUrl ) {
+				type = 'post';
+			}
+		} else {
+			if ( this.get( 'url' ) === linkUrl ) {
+				type = 'file';
+			}
+		}

-/**
- * A basic equality comparator for Backbone models.
- *
- * Used to order models within a collection - @see wp.media.model.Attachments.comparator().
- *
- * @param {mixed}  a  The primary parameter to compare.
- * @param {mixed}  b  The primary parameter to compare.
- * @param {string} ac The fallback parameter to compare, a's cid.
- * @param {string} bc The fallback parameter to compare, b's cid.
- * @return {number} -1: a should come before b.
- *                   0: a and b are of the same rank.
- *                   1: b should come before a.
- */
-media.compare = function( a, b, ac, bc ) {
-	if ( _.isEqual( a, b ) ) {
-		return ac === bc ? 0 : (ac > bc ? -1 : 1);
-	} else {
-		return a > b ? -1 : 1;
-	}
-};
-
-_.extend( media, /** @lends wp.media */{
-	/**
-	 * media.template( id )
-	 *
-	 * Fetch a JavaScript template for an id, and return a templating function for it.
-	 *
-	 * See wp.template() in `wp-includes/js/wp-util.js`.
-	 *
-	 * @borrows wp.template as template
-	 */
-	template: wp.template,
+		this.set( 'link', type );
+	},

-	/**
-	 * media.post( [action], [data] )
-	 *
-	 * Sends a POST request to WordPress.
-	 * See wp.ajax.post() in `wp-includes/js/wp-util.js`.
-	 *
-	 * @borrows wp.ajax.post as post
-	 */
-	post: wp.ajax.post,
+	updateLinkUrl: function() {
+		var link = this.get( 'link' ),
+			url;

-	/**
-	 * media.ajax( [action], [options] )
-	 *
-	 * Sends an XHR request to WordPress.
-	 * See wp.ajax.send() in `wp-includes/js/wp-util.js`.
-	 *
-	 * @borrows wp.ajax.send as ajax
-	 */
-	ajax: wp.ajax.send,
+		switch( link ) {
+			case 'file':
+				if ( this.attachment ) {
+					url = this.attachment.get( 'url' );
+				} else {
+					url = this.get( 'url' );
+				}
+				this.set( 'linkUrl', url );
+				break;
+			case 'post':
+				this.set( 'linkUrl', this.attachment.get( 'link' ) );
+				break;
+			case 'none':
+				this.set( 'linkUrl', '' );
+				break;
+		}
+	},

-	/**
-	 * Scales a set of dimensions to fit within bounding dimensions.
-	 *
-	 * @param {Object} dimensions
-	 * @return {Object}
-	 */
-	fit: function( dimensions ) {
-		var width     = dimensions.width,
-			height    = dimensions.height,
-			maxWidth  = dimensions.maxWidth,
-			maxHeight = dimensions.maxHeight,
-			constraint;
+	updateSize: function() {
+		var size;

-		/*
-		 * Compare ratios between the two values to determine
-		 * which max to constrain by. If a max value doesn't exist,
-		 * then the opposite side is the constraint.
-		 */
-		if ( ! _.isUndefined( maxWidth ) && ! _.isUndefined( maxHeight ) ) {
-			constraint = ( width / height > maxWidth / maxHeight ) ? 'width' : 'height';
-		} else if ( _.isUndefined( maxHeight ) ) {
-			constraint = 'width';
-		} else if (  _.isUndefined( maxWidth ) && height > maxHeight ) {
-			constraint = 'height';
+		if ( ! this.attachment ) {
+			return;
 		}

-		// If the value of the constrained side is larger than the max,
-		// then scale the values. Otherwise return the originals; they fit.
-		if ( 'width' === constraint && width > maxWidth ) {
-			return {
-				width : maxWidth,
-				height: Math.round( maxWidth * height / width )
-			};
-		} else if ( 'height' === constraint && height > maxHeight ) {
-			return {
-				width : Math.round( maxHeight * width / height ),
-				height: maxHeight
-			};
-		} else {
-			return {
-				width : width,
-				height: height
-			};
+		if ( this.get( 'size' ) === 'custom' ) {
+			this.set( 'width', this.get( 'customWidth' ) );
+			this.set( 'height', this.get( 'customHeight' ) );
+			this.set( 'url', this.get( 'originalUrl' ) );
+			return;
 		}
-	},
-	/**
-	 * Truncates a string by injecting an ellipsis into the middle.
-	 * Useful for filenames.
-	 *
-	 * @param {string} string
-	 * @param {number} [length=30]
-	 * @param {string} [replacement=&hellip;]
-	 * @return {string} The string, unless length is greater than string.length.
-	 */
-	truncate: function( string, length, replacement ) {
-		length = length || 30;
-		replacement = replacement || '&hellip;';

-		if ( string.length <= length ) {
-			return string;
+		size = this.attachment.get( 'sizes' )[ this.get( 'size' ) ];
+
+		if ( ! size ) {
+			return;
 		}

-		return string.substr( 0, length / 2 ) + replacement + string.substr( -1 * length / 2 );
-	}
-});
+		this.set( 'url', size.url );
+		this.set( 'width', size.width );
+		this.set( 'height', size.height );
+	},

-/**
- * ========================================================================
- * MODELS
- * ========================================================================
- */
-/**
- * wp.media.attachment
- *
- * @static
- * @param {string} id A string used to identify a model.
- * @return {wp.media.model.Attachment}
- */
-media.attachment = function( id ) {
-	return Attachment.get( id );
-};
+	setAspectRatio: function() {
+		var full;

-/**
- * A collection of all attachments that have been fetched from the server.
- *
- * @static
- * @member {wp.media.model.Attachments}
- */
-Attachments.all = new Attachments();
+		if ( this.attachment && this.attachment.get( 'sizes' ) ) {
+			full = this.attachment.get( 'sizes' ).full;

-/**
- * wp.media.query
- *
- * Shorthand for creating a new Attachments Query.
- *
- * @param {Object} [props]
- * @return {wp.media.model.Attachments}
- */
-media.query = function( props ) {
-	return new Attachments( null, {
-		props: _.extend( _.defaults( props || {}, { orderby: 'date' } ), { query: true } )
-	});
-};
+			if ( full ) {
+				this.set( 'aspectRatio', full.width / full.height );
+				return;
+			}
+		}

-// Clean up. Prevents mobile browsers caching.
-$(window).on('unload', function(){
-	window.wp = null;
+		this.set( 'aspectRatio', this.get( 'customWidth' ) / this.get( 'customHeight' ) );
+	}
 });

+module.exports = PostImage;
+

 /***/ }),

-/***/ "efdO":
-/***/ (function(module, exports) {
+/***/ 4009:
+/***/ (function(module) {

 var Attachments = wp.media.model.Attachments,
 	Query;
@@ -1544,165 +1257,385 @@ module.exports = Query;

 /***/ }),

-/***/ "r1z7":
-/***/ (function(module, exports) {
+/***/ 6584:
+/***/ (function(module) {
+
+var Attachments = wp.media.model.Attachments,
+	Selection;

 /**
- * wp.media.model.PostImage
- *
- * An instance of an image that's been embedded into a post.
+ * wp.media.model.Selection
  *
- * Used in the embedded image attachment display settings modal - @see wp.media.view.MediaFrame.ImageDetails.
+ * A selection of attachments.
  *
  * @memberOf wp.media.model
  *
  * @class
- * @augments Backbone.Model
- *
- * @param {int} [attributes]               Initial model attributes.
- * @param {int} [attributes.attachment_id] ID of the attachment.
- **/
-var PostImage = Backbone.Model.extend(/** @lends wp.media.model.PostImage.prototype */{
-
-	initialize: function( attributes ) {
-		var Attachment = wp.media.model.Attachment;
-		this.attachment = false;
-
-		if ( attributes.attachment_id ) {
-			this.attachment = Attachment.get( attributes.attachment_id );
-			if ( this.attachment.get( 'url' ) ) {
-				this.dfd = jQuery.Deferred();
-				this.dfd.resolve();
-			} else {
-				this.dfd = this.attachment.fetch();
-			}
-			this.bindAttachmentListeners();
-		}
-
-		// Keep URL in sync with changes to the type of link.
-		this.on( 'change:link', this.updateLinkUrl, this );
-		this.on( 'change:size', this.updateSize, this );
-
-		this.setLinkTypeFromUrl();
-		this.setAspectRatio();
+ * @augments wp.media.model.Attachments
+ * @augments Backbone.Collection
+ */
+Selection = Attachments.extend(/** @lends wp.media.model.Selection.prototype */{
+	/**
+	 * Refresh the `single` model whenever the selection changes.
+	 * Binds `single` instead of using the context argument to ensure
+	 * it receives no parameters.
+	 *
+	 * @param {Array} [models=[]] Array of models used to populate the collection.
+	 * @param {Object} [options={}]
+	 */
+	initialize: function( models, options ) {
+		/**
+		 * call 'initialize' directly on the parent class
+		 */
+		Attachments.prototype.initialize.apply( this, arguments );
+		this.multiple = options && options.multiple;

-		this.set( 'originalUrl', attributes.url );
+		this.on( 'add remove reset', _.bind( this.single, this, false ) );
 	},

-	bindAttachmentListeners: function() {
-		this.listenTo( this.attachment, 'sync', this.setLinkTypeFromUrl );
-		this.listenTo( this.attachment, 'sync', this.setAspectRatio );
-		this.listenTo( this.attachment, 'change', this.updateSize );
-	},
-
-	changeAttachment: function( attachment, props ) {
-		this.stopListening( this.attachment );
-		this.attachment = attachment;
-		this.bindAttachmentListeners();
-
-		this.set( 'attachment_id', this.attachment.get( 'id' ) );
-		this.set( 'caption', this.attachment.get( 'caption' ) );
-		this.set( 'alt', this.attachment.get( 'alt' ) );
-		this.set( 'size', props.get( 'size' ) );
-		this.set( 'align', props.get( 'align' ) );
-		this.set( 'link', props.get( 'link' ) );
-		this.updateLinkUrl();
-		this.updateSize();
+	/**
+	 * If the workflow does not support multi-select, clear out the selection
+	 * before adding a new attachment to it.
+	 *
+	 * @param {Array} models
+	 * @param {Object} options
+	 * @return {wp.media.model.Attachment[]}
+	 */
+	add: function( models, options ) {
+		if ( ! this.multiple ) {
+			this.remove( this.models );
+		}
+		/**
+		 * call 'add' directly on the parent class
+		 */
+		return Attachments.prototype.add.call( this, models, options );
 	},

-	setLinkTypeFromUrl: function() {
-		var linkUrl = this.get( 'linkUrl' ),
-			type;
+	/**
+	 * Fired when toggling (clicking on) an attachment in the modal.
+	 *
+	 * @param {undefined|boolean|wp.media.model.Attachment} model
+	 *
+	 * @fires wp.media.model.Selection#selection:single
+	 * @fires wp.media.model.Selection#selection:unsingle
+	 *
+	 * @return {Backbone.Model}
+	 */
+	single: function( model ) {
+		var previous = this._single;

-		if ( ! linkUrl ) {
-			this.set( 'link', 'none' );
-			return;
+		// If a `model` is provided, use it as the single model.
+		if ( model ) {
+			this._single = model;
+		}
+		// If the single model isn't in the selection, remove it.
+		if ( this._single && ! this.get( this._single.cid ) ) {
+			delete this._single;
 		}

-		// Default to custom if there is a linkUrl.
-		type = 'custom';
+		this._single = this._single || this.last();

-		if ( this.attachment ) {
-			if ( this.attachment.get( 'url' ) === linkUrl ) {
-				type = 'file';
-			} else if ( this.attachment.get( 'link' ) === linkUrl ) {
-				type = 'post';
+		// If single has changed, fire an event.
+		if ( this._single !== previous ) {
+			if ( previous ) {
+				previous.trigger( 'selection:unsingle', previous, this );
+
+				// If the model was already removed, trigger the collection
+				// event manually.
+				if ( ! this.get( previous.cid ) ) {
+					this.trigger( 'selection:unsingle', previous, this );
+				}
 			}
-		} else {
-			if ( this.get( 'url' ) === linkUrl ) {
-				type = 'file';
+			if ( this._single ) {
+				this._single.trigger( 'selection:single', this._single, this );
 			}
 		}

-		this.set( 'link', type );
-	},
+		// Return the single model, or the last model as a fallback.
+		return this._single;
+	}
+});

-	updateLinkUrl: function() {
-		var link = this.get( 'link' ),
-			url;
+module.exports = Selection;

-		switch( link ) {
-			case 'file':
-				if ( this.attachment ) {
-					url = this.attachment.get( 'url' );
-				} else {
-					url = this.get( 'url' );
-				}
-				this.set( 'linkUrl', url );
-				break;
-			case 'post':
-				this.set( 'linkUrl', this.attachment.get( 'link' ) );
-				break;
-			case 'none':
-				this.set( 'linkUrl', '' );
-				break;
-		}
-	},

-	updateSize: function() {
-		var size;
+/***/ })

-		if ( ! this.attachment ) {
-			return;
-		}
+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
+!function() {
+/**
+ * @output wp-includes/js/media-models.js
+ */

-		if ( this.get( 'size' ) === 'custom' ) {
-			this.set( 'width', this.get( 'customWidth' ) );
-			this.set( 'height', this.get( 'customHeight' ) );
-			this.set( 'url', this.get( 'originalUrl' ) );
-			return;
-		}
+var $ = jQuery,
+	Attachment, Attachments, l10n, media;

-		size = this.attachment.get( 'sizes' )[ this.get( 'size' ) ];
+/** @namespace wp */
+window.wp = window.wp || {};

-		if ( ! size ) {
-			return;
-		}
+/**
+ * Create and return a media frame.
+ *
+ * Handles the default media experience.
+ *
+ * @alias wp.media
+ * @memberOf wp
+ * @namespace
+ *
+ * @param {Object} attributes The properties passed to the main media controller.
+ * @return {wp.media.view.MediaFrame} A media workflow.
+ */
+media = wp.media = function( attributes ) {
+	var MediaFrame = media.view.MediaFrame,
+		frame;

-		this.set( 'url', size.url );
-		this.set( 'width', size.width );
-		this.set( 'height', size.height );
-	},
+	if ( ! MediaFrame ) {
+		return;
+	}

-	setAspectRatio: function() {
-		var full;
+	attributes = _.defaults( attributes || {}, {
+		frame: 'select'
+	});

-		if ( this.attachment && this.attachment.get( 'sizes' ) ) {
-			full = this.attachment.get( 'sizes' ).full;
+	if ( 'select' === attributes.frame && MediaFrame.Select ) {
+		frame = new MediaFrame.Select( attributes );
+	} else if ( 'post' === attributes.frame && MediaFrame.Post ) {
+		frame = new MediaFrame.Post( attributes );
+	} else if ( 'manage' === attributes.frame && MediaFrame.Manage ) {
+		frame = new MediaFrame.Manage( attributes );
+	} else if ( 'image' === attributes.frame && MediaFrame.ImageDetails ) {
+		frame = new MediaFrame.ImageDetails( attributes );
+	} else if ( 'audio' === attributes.frame && MediaFrame.AudioDetails ) {
+		frame = new MediaFrame.AudioDetails( attributes );
+	} else if ( 'video' === attributes.frame && MediaFrame.VideoDetails ) {
+		frame = new MediaFrame.VideoDetails( attributes );
+	} else if ( 'edit-attachments' === attributes.frame && MediaFrame.EditAttachments ) {
+		frame = new MediaFrame.EditAttachments( attributes );
+	}

-			if ( full ) {
-				this.set( 'aspectRatio', full.width / full.height );
-				return;
-			}
+	delete attributes.frame;
+
+	media.frame = frame;
+
+	return frame;
+};
+
+/** @namespace wp.media.model */
+/** @namespace wp.media.view */
+/** @namespace wp.media.controller */
+/** @namespace wp.media.frames */
+_.extend( media, { model: {}, view: {}, controller: {}, frames: {} });
+
+// Link any localized strings.
+l10n = media.model.l10n = window._wpMediaModelsL10n || {};
+
+// Link any settings.
+media.model.settings = l10n.settings || {};
+delete l10n.settings;
+
+Attachment = media.model.Attachment = __webpack_require__( 7727 );
+Attachments = media.model.Attachments = __webpack_require__( 6940 );
+
+media.model.Query = __webpack_require__( 4009 );
+media.model.PostImage = __webpack_require__( 5927 );
+media.model.Selection = __webpack_require__( 6584 );
+
+/**
+ * ========================================================================
+ * UTILITIES
+ * ========================================================================
+ */
+
+/**
+ * A basic equality comparator for Backbone models.
+ *
+ * Used to order models within a collection - @see wp.media.model.Attachments.comparator().
+ *
+ * @param {mixed}  a  The primary parameter to compare.
+ * @param {mixed}  b  The primary parameter to compare.
+ * @param {string} ac The fallback parameter to compare, a's cid.
+ * @param {string} bc The fallback parameter to compare, b's cid.
+ * @return {number} -1: a should come before b.
+ *                   0: a and b are of the same rank.
+ *                   1: b should come before a.
+ */
+media.compare = function( a, b, ac, bc ) {
+	if ( _.isEqual( a, b ) ) {
+		return ac === bc ? 0 : (ac > bc ? -1 : 1);
+	} else {
+		return a > b ? -1 : 1;
+	}
+};
+
+_.extend( media, /** @lends wp.media */{
+	/**
+	 * media.template( id )
+	 *
+	 * Fetch a JavaScript template for an id, and return a templating function for it.
+	 *
+	 * See wp.template() in `wp-includes/js/wp-util.js`.
+	 *
+	 * @borrows wp.template as template
+	 */
+	template: wp.template,
+
+	/**
+	 * media.post( [action], [data] )
+	 *
+	 * Sends a POST request to WordPress.
+	 * See wp.ajax.post() in `wp-includes/js/wp-util.js`.
+	 *
+	 * @borrows wp.ajax.post as post
+	 */
+	post: wp.ajax.post,
+
+	/**
+	 * media.ajax( [action], [options] )
+	 *
+	 * Sends an XHR request to WordPress.
+	 * See wp.ajax.send() in `wp-includes/js/wp-util.js`.
+	 *
+	 * @borrows wp.ajax.send as ajax
+	 */
+	ajax: wp.ajax.send,
+
+	/**
+	 * Scales a set of dimensions to fit within bounding dimensions.
+	 *
+	 * @param {Object} dimensions
+	 * @return {Object}
+	 */
+	fit: function( dimensions ) {
+		var width     = dimensions.width,
+			height    = dimensions.height,
+			maxWidth  = dimensions.maxWidth,
+			maxHeight = dimensions.maxHeight,
+			constraint;
+
+		/*
+		 * Compare ratios between the two values to determine
+		 * which max to constrain by. If a max value doesn't exist,
+		 * then the opposite side is the constraint.
+		 */
+		if ( ! _.isUndefined( maxWidth ) && ! _.isUndefined( maxHeight ) ) {
+			constraint = ( width / height > maxWidth / maxHeight ) ? 'width' : 'height';
+		} else if ( _.isUndefined( maxHeight ) ) {
+			constraint = 'width';
+		} else if (  _.isUndefined( maxWidth ) && height > maxHeight ) {
+			constraint = 'height';
 		}

-		this.set( 'aspectRatio', this.get( 'customWidth' ) / this.get( 'customHeight' ) );
+		// If the value of the constrained side is larger than the max,
+		// then scale the values. Otherwise return the originals; they fit.
+		if ( 'width' === constraint && width > maxWidth ) {
+			return {
+				width : maxWidth,
+				height: Math.round( maxWidth * height / width )
+			};
+		} else if ( 'height' === constraint && height > maxHeight ) {
+			return {
+				width : Math.round( maxHeight * width / height ),
+				height: maxHeight
+			};
+		} else {
+			return {
+				width : width,
+				height: height
+			};
+		}
+	},
+	/**
+	 * Truncates a string by injecting an ellipsis into the middle.
+	 * Useful for filenames.
+	 *
+	 * @param {string} string
+	 * @param {number} [length=30]
+	 * @param {string} [replacement=&hellip;]
+	 * @return {string} The string, unless length is greater than string.length.
+	 */
+	truncate: function( string, length, replacement ) {
+		length = length || 30;
+		replacement = replacement || '&hellip;';
+
+		if ( string.length <= length ) {
+			return string;
+		}
+
+		return string.substr( 0, length / 2 ) + replacement + string.substr( -1 * length / 2 );
 	}
 });

-module.exports = PostImage;
+/**
+ * ========================================================================
+ * MODELS
+ * ========================================================================
+ */
+/**
+ * wp.media.attachment
+ *
+ * @static
+ * @param {string} id A string used to identify a model.
+ * @return {wp.media.model.Attachment}
+ */
+media.attachment = function( id ) {
+	return Attachment.get( id );
+};

+/**
+ * A collection of all attachments that have been fetched from the server.
+ *
+ * @static
+ * @member {wp.media.model.Attachments}
+ */
+Attachments.all = new Attachments();

-/***/ })
+/**
+ * wp.media.query
+ *
+ * Shorthand for creating a new Attachments Query.
+ *
+ * @param {Object} [props]
+ * @return {wp.media.model.Attachments}
+ */
+media.query = function( props ) {
+	return new Attachments( null, {
+		props: _.extend( _.defaults( props || {}, { orderby: 'date' } ), { query: true } )
+	});
+};
+
+// Clean up. Prevents mobile browsers caching.
+$(window).on('unload', function(){
+	window.wp = null;
+});

-/******/ });
\ No newline at end of file
+}();
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/media-models.min.js b/wp-includes/js/media-models.min.js
index 4960d39cf1..981b67cdd6 100644
--- a/wp-includes/js/media-models.min.js
+++ b/wp-includes/js/media-models.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-!function(i){var s={};function r(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}r.m=i,r.c=s,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__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 i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)r.d(i,s,function(t){return e[t]}.bind(null,s));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2)}({"0Ym0":function(t,e){var n=Backbone.$,i=Backbone.Model.extend({sync:function(t,e,i){return _.isUndefined(this.id)?n.Deferred().rejectWith(this).promise():"read"===t?((i=i||{}).context=this,i.data=_.extend(i.data||{},{action:"get-attachment",id:this.id}),wp.media.ajax(i)):"update"===t?this.get("nonces")&&this.get("nonces").update?((i=i||{}).context=this,i.data=_.extend(i.data||{},{action:"save-attachment",id:this.id,nonce:this.get("nonces").update,post_id:wp.media.model.settings.post.id}),e.hasChanged()&&(i.data.changes={},_.each(e.changed,function(t,e){i.data.changes[e]=this.get(e)},this)),wp.media.ajax(i)):n.Deferred().rejectWith(this).promise():"delete"===t?((i=i||{}).wait||(this.destroyed=!0),i.context=this,i.data=_.extend(i.data||{},{action:"delete-post",id:this.id,_wpnonce:this.get("nonces").delete}),wp.media.ajax(i).done(function(){this.destroyed=!0}).fail(function(){this.destroyed=!1})):Backbone.Model.prototype.sync.apply(this,arguments)},parse:function(t){return t&&(t.date=new Date(t.date),t.modified=new Date(t.modified),t)},saveCompat:function(t,s){var r=this;return this.get("nonces")&&this.get("nonces").update?wp.media.post("save-attachment-compat",_.defaults({id:this.id,nonce:this.get("nonces").update,post_id:wp.media.model.settings.post.id},t)).done(function(t,e,i){r.set(r.parse(t,i),s)}):n.Deferred().rejectWith(this).promise()}},{create:function(t){return wp.media.model.Attachments.all.push(t)},get:_.memoize(function(t,e){return wp.media.model.Attachments.all.push(e||{id:t})})});t.exports=i},2:function(t,e,i){t.exports=i("dx5j")},"Io+g":function(t,e){var i=wp.media.model.Attachments,s=i.extend({initialize:function(t,e){i.prototype.initialize.apply(this,arguments),this.multiple=e&&e.multiple,this.on("add remove reset",_.bind(this.single,this,!1))},add:function(t,e){return this.multiple||this.remove(this.models),i.prototype.add.call(this,t,e)},single:function(t){var e=this._single;return t&&(this._single=t),this._single&&!this.get(this._single.cid)&&delete this._single,this._single=this._single||this.last(),this._single!==e&&(e&&(e.trigger("selection:unsingle",e,this),this.get(e.cid)||this.trigger("selection:unsingle",e,this)),this._single&&this._single.trigger("selection:single",this._single,this)),this._single}});t.exports=s},"K0z/":function(t,e){var n=Backbone.Collection.extend({model:wp.media.model.Attachment,initialize:function(t,e){e=e||{},this.props=new Backbone.Model,this.filters=e.filters||{},this.props.on("change",this._changeFilteredProps,this),this.props.on("change:order",this._changeOrder,this),this.props.on("change:orderby",this._changeOrderby,this),this.props.on("change:query",this._changeQuery,this),this.props.set(_.defaults(e.props||{})),e.observe&&this.observe(e.observe)},_changeOrder:function(){this.comparator&&this.sort()},_changeOrderby:function(t,e){this.comparator&&this.comparator!==n.comparator||(e&&"post__in"!==e?this.comparator=n.comparator:delete this.comparator)},_changeQuery:function(t,e){e?(this.props.on("change",this._requery,this),this._requery()):this.props.off("change",this._requery,this)},_changeFilteredProps:function(r){this.props.get("query")||_.chain(r.changed).map(function(t,e){var i=n.filters[e],s=r.get(e);if(i){if(s&&!this.filters[e])this.filters[e]=i;else{if(s||this.filters[e]!==i)return;delete this.filters[e]}return!0}},this).any().value()&&(this._source||(this._source=new n(this.models)),this.reset(this._source.filter(this.validator,this)))},validateDestroyed:!1,validator:function(e){return!(!this.validateDestroyed&&e.destroyed)&&_.all(this.filters,function(t){return!!t.call(this,e)},this)},validate:function(t,e){var i=this.validator(t),s=!!this.get(t.cid);return!i&&s?this.remove(t,e):i&&!s&&this.add(t,e),this},validateAll:function(t,e){return e=e||{},_.each(t.models,function(t){this.validate(t,{silent:!0})},this),e.silent||this.trigger("reset",this,e),this},observe:function(t){return this.observers=this.observers||[],this.observers.push(t),t.on("add change remove",this._validateHandler,this),t.on("add",this._addToTotalAttachments,this),t.on("remove",this._removeFromTotalAttachments,this),t.on("reset",this._validateAllHandler,this),this.validateAll(t),this},unobserve:function(t){return t?(t.off(null,null,this),this.observers=_.without(this.observers,t)):(_.each(this.observers,function(t){t.off(null,null,this)},this),delete this.observers),this},_removeFromTotalAttachments:function(){this.mirroring&&(this.mirroring.totalAttachments=this.mirroring.totalAttachments-1)},_addToTotalAttachments:function(){this.mirroring&&(this.mirroring.totalAttachments=this.mirroring.totalAttachments+1)},_validateHandler:function(t,e,i){return i=e===this.mirroring?i:{silent:i&&i.silent},this.validate(t,i)},_validateAllHandler:function(t,e){return this.validateAll(t,e)},mirror:function(t){return this.mirroring&&this.mirroring===t||(this.unmirror(),this.mirroring=t,this.reset([],{silent:!0}),this.observe(t),this.trigger("attachments:received",this)),this},unmirror:function(){this.mirroring&&(this.unobserve(this.mirroring),delete this.mirroring)},more:function(t){var e=jQuery.Deferred(),i=this.mirroring,s=this;return i&&i.more?(i.more(t).done(function(){this===s.mirroring&&e.resolveWith(this),s.trigger("attachments:received",this)}),e.promise()):e.resolveWith(this).promise()},hasMore:function(){return!!this.mirroring&&this.mirroring.hasMore()},totalAttachments:0,getTotalAttachments:function(){return this.mirroring?this.mirroring.totalAttachments:0},parse:function(t,i){return _.isArray(t)||(t=[t]),_.map(t,function(t){var e;return t instanceof Backbone.Model?(e=t.get("id"),t=t.attributes):e=t.id,t=(e=wp.media.model.Attachment.get(e)).parse(t,i),_.isEqual(e.attributes,t)||e.set(t),e})},_requery:function(){var t;this.props.get("query")&&(t=this.props.toJSON(),this.mirror(wp.media.model.Query.get(t)))},saveMenuOrder:function(){if("menuOrder"===this.props.get("orderby")){var t=this.chain().filter(function(t){return!_.isUndefined(t.id)}).map(function(t,e){return t.set("menuOrder",e+=1),[t.id,e]}).object().value();if(!_.isEmpty(t))return wp.media.post("save-attachment-order",{nonce:wp.media.model.settings.post.nonce,post_id:wp.media.model.settings.post.id,attachments:t})}}},{comparator:function(t,e,i){var s=this.props.get("orderby"),r=this.props.get("order")||"DESC",n=t.cid,a=e.cid;return t=t.get(s),e=e.get(s),"date"!==s&&"modified"!==s||(t=t||new Date,e=e||new Date),i&&i.ties&&(n=a=null),"DESC"===r?wp.media.compare(t,e,n,a):wp.media.compare(e,t,a,n)},filters:{search:function(e){return!this.props.get("search")||_.any(["title","filename","description","caption","name"],function(t){t=e.get(t);return t&&-1!==t.search(this.props.get("search"))},this)},type:function(t){var e,i=this.props.get("type"),t=t.toJSON();return!(i&&(!_.isArray(i)||i.length))||(e=t.mime||t.file&&t.file.type||"",_.isArray(i)?_.find(i,function(t){return-1!==e.indexOf(t)}):-1!==e.indexOf(i))},uploadedTo:function(t){var e=this.props.get("uploadedTo");return!!_.isUndefined(e)||e===t.get("uploadedTo")},status:function(t){var e=this.props.get("status");return!!_.isUndefined(e)||e===t.get("status")}}});t.exports=n},dx5j:function(t,e,i){var s,r,n,a,o=jQuery;window.wp=window.wp||{},a=wp.media=function(t){var e,i=a.view.MediaFrame;if(i)return"select"===(t=_.defaults(t||{},{frame:"select"})).frame&&i.Select?e=new i.Select(t):"post"===t.frame&&i.Post?e=new i.Post(t):"manage"===t.frame&&i.Manage?e=new i.Manage(t):"image"===t.frame&&i.ImageDetails?e=new i.ImageDetails(t):"audio"===t.frame&&i.AudioDetails?e=new i.AudioDetails(t):"video"===t.frame&&i.VideoDetails?e=new i.VideoDetails(t):"edit-attachments"===t.frame&&i.EditAttachments&&(e=new i.EditAttachments(t)),delete t.frame,a.frame=e},_.extend(a,{model:{},view:{},controller:{},frames:{}}),n=a.model.l10n=window._wpMediaModelsL10n||{},a.model.settings=n.settings||{},delete n.settings,s=a.model.Attachment=i("0Ym0"),r=a.model.Attachments=i("K0z/"),a.model.Query=i("efdO"),a.model.PostImage=i("r1z7"),a.model.Selection=i("Io+g"),a.compare=function(t,e,i,s){return _.isEqual(t,e)?i===s?0:s<i?-1:1:e<t?-1:1},_.extend(a,{template:wp.template,post:wp.ajax.post,ajax:wp.ajax.send,fit:function(t){var e,i=t.width,s=t.height,r=t.maxWidth,t=t.maxHeight;return _.isUndefined(r)||_.isUndefined(t)?_.isUndefined(t)?e="width":_.isUndefined(r)&&t<s&&(e="height"):e=r/t<i/s?"width":"height","width"===e&&r<i?{width:r,height:Math.round(r*s/i)}:"height"===e&&t<s?{width:Math.round(t*i/s),height:t}:{width:i,height:s}},truncate:function(t,e,i){return i=i||"&hellip;",t.length<=(e=e||30)?t:t.substr(0,e/2)+i+t.substr(-1*e/2)}}),a.attachment=function(t){return s.get(t)},r.all=new r,a.query=function(t){return new r(null,{props:_.extend(_.defaults(t||{},{orderby:"date"}),{query:!0})})},o(window).on("unload",function(){window.wp=null})},efdO:function(t,e){var a,r=wp.media.model.Attachments,o=r.extend({initialize:function(t,e){var i;e=e||{},r.prototype.initialize.apply(this,arguments),this.args=e.args,this._hasMore=!0,this.created=new Date,this.filters.order=function(t){var e=this.props.get("orderby"),i=this.props.get("order");return!this.comparator||(this.length?1!==this.comparator(t,this.last(),{ties:!0}):"DESC"!==i||"date"!==e&&"modified"!==e?"ASC"===i&&"menuOrder"===e&&0===t.get(e):t.get(e)>=this.created)},i=["s","order","orderby","posts_per_page","post_mime_type","post_parent","author"],wp.Uploader&&_(this.args).chain().keys().difference(i).isEmpty().value()&&this.observe(wp.Uploader.queue)},hasMore:function(){return this._hasMore},more:function(t){var e=this;return this._more&&"pending"===this._more.state()?this._more:this.hasMore()?((t=t||{}).remove=!1,this._more=this.fetch(t).done(function(t){(_.isEmpty(t)||-1===e.args.posts_per_page||t.length<e.args.posts_per_page)&&(e._hasMore=!1)})):jQuery.Deferred().resolveWith(this).promise()},sync:function(t,e,i){var s;return"read"===t?((i=i||{}).context=this,i.data=_.extend(i.data||{},{action:"query-attachments",post_id:wp.media.model.settings.post.id}),-1!==(s=_.clone(this.args)).posts_per_page&&(s.paged=Math.round(this.length/s.posts_per_page)+1),i.data.query=s,wp.media.ajax(i)):(r.prototype.sync?r.prototype:Backbone).sync.apply(this,arguments)}},{defaultProps:{orderby:"date",order:"DESC"},defaultArgs:{posts_per_page:80},orderby:{allowed:["name","author","date","title","modified","uploadedTo","id","post__in","menuOrder"],valuemap:{id:"ID",uploadedTo:"parent",menuOrder:"menu_order ID"}},propmap:{search:"s",type:"post_mime_type",perPage:"posts_per_page",menuOrder:"menu_order",uploadedTo:"post_parent",status:"post_status",include:"post__in",exclude:"post__not_in",author:"author"},get:(a=[],function(e,t){var i,s={},r=o.orderby,n=o.defaultProps;return delete e.query,_.defaults(e,n),e.order=e.order.toUpperCase(),"DESC"!==e.order&&"ASC"!==e.order&&(e.order=n.order.toUpperCase()),_.contains(r.allowed,e.orderby)||(e.orderby=n.orderby),_.each(["include","exclude"],function(t){e[t]&&!_.isArray(e[t])&&(e[t]=[e[t]])}),_.each(e,function(t,e){_.isNull(t)||(s[o.propmap[e]||e]=t)}),_.defaults(s,o.defaultArgs),s.orderby=r.valuemap[e.orderby]||e.orderby,a=[],i||(i=new o([],_.extend(t||{},{props:e,args:s})),a.push(i)),i})});t.exports=o},r1z7:function(t,e){var i=Backbone.Model.extend({initialize:function(t){var e=wp.media.model.Attachment;this.attachment=!1,t.attachment_id&&(this.attachment=e.get(t.attachment_id),this.attachment.get("url")?(this.dfd=jQuery.Deferred(),this.dfd.resolve()):this.dfd=this.attachment.fetch(),this.bindAttachmentListeners()),this.on("change:link",this.updateLinkUrl,this),this.on("change:size",this.updateSize,this),this.setLinkTypeFromUrl(),this.setAspectRatio(),this.set("originalUrl",t.url)},bindAttachmentListeners:function(){this.listenTo(this.attachment,"sync",this.setLinkTypeFromUrl),this.listenTo(this.attachment,"sync",this.setAspectRatio),this.listenTo(this.attachment,"change",this.updateSize)},changeAttachment:function(t,e){this.stopListening(this.attachment),this.attachment=t,this.bindAttachmentListeners(),this.set("attachment_id",this.attachment.get("id")),this.set("caption",this.attachment.get("caption")),this.set("alt",this.attachment.get("alt")),this.set("size",e.get("size")),this.set("align",e.get("align")),this.set("link",e.get("link")),this.updateLinkUrl(),this.updateSize()},setLinkTypeFromUrl:function(){var t,e=this.get("linkUrl");e?(t="custom",this.attachment?this.attachment.get("url")===e?t="file":this.attachment.get("link")===e&&(t="post"):this.get("url")===e&&(t="file"),this.set("link",t)):this.set("link","none")},updateLinkUrl:function(){var t;switch(this.get("link")){case"file":t=(this.attachment||this).get("url"),this.set("linkUrl",t);break;case"post":this.set("linkUrl",this.attachment.get("link"));break;case"none":this.set("linkUrl","")}},updateSize:function(){var t;if(this.attachment){if("custom"===this.get("size"))return this.set("width",this.get("customWidth")),this.set("height",this.get("customHeight")),void this.set("url",this.get("originalUrl"));(t=this.attachment.get("sizes")[this.get("size")])&&(this.set("url",t.url),this.set("width",t.width),this.set("height",t.height))}},setAspectRatio:function(){var t;this.attachment&&this.attachment.get("sizes")&&(t=this.attachment.get("sizes").full)?this.set("aspectRatio",t.width/t.height):this.set("aspectRatio",this.get("customWidth")/this.get("customHeight"))}});t.exports=i}});
\ No newline at end of file
+!function(){var i={7727:function(t){var n=Backbone.$,e=Backbone.Model.extend({sync:function(t,e,i){return _.isUndefined(this.id)?n.Deferred().rejectWith(this).promise():"read"===t?((i=i||{}).context=this,i.data=_.extend(i.data||{},{action:"get-attachment",id:this.id}),wp.media.ajax(i)):"update"===t?this.get("nonces")&&this.get("nonces").update?((i=i||{}).context=this,i.data=_.extend(i.data||{},{action:"save-attachment",id:this.id,nonce:this.get("nonces").update,post_id:wp.media.model.settings.post.id}),e.hasChanged()&&(i.data.changes={},_.each(e.changed,function(t,e){i.data.changes[e]=this.get(e)},this)),wp.media.ajax(i)):n.Deferred().rejectWith(this).promise():"delete"===t?((i=i||{}).wait||(this.destroyed=!0),i.context=this,i.data=_.extend(i.data||{},{action:"delete-post",id:this.id,_wpnonce:this.get("nonces").delete}),wp.media.ajax(i).done(function(){this.destroyed=!0}).fail(function(){this.destroyed=!1})):Backbone.Model.prototype.sync.apply(this,arguments)},parse:function(t){return t&&(t.date=new Date(t.date),t.modified=new Date(t.modified),t)},saveCompat:function(t,s){var r=this;return this.get("nonces")&&this.get("nonces").update?wp.media.post("save-attachment-compat",_.defaults({id:this.id,nonce:this.get("nonces").update,post_id:wp.media.model.settings.post.id},t)).done(function(t,e,i){r.set(r.parse(t,i),s)}):n.Deferred().rejectWith(this).promise()}},{create:function(t){return wp.media.model.Attachments.all.push(t)},get:_.memoize(function(t,e){return wp.media.model.Attachments.all.push(e||{id:t})})});t.exports=e},6940:function(t){var n=Backbone.Collection.extend({model:wp.media.model.Attachment,initialize:function(t,e){e=e||{},this.props=new Backbone.Model,this.filters=e.filters||{},this.props.on("change",this._changeFilteredProps,this),this.props.on("change:order",this._changeOrder,this),this.props.on("change:orderby",this._changeOrderby,this),this.props.on("change:query",this._changeQuery,this),this.props.set(_.defaults(e.props||{})),e.observe&&this.observe(e.observe)},_changeOrder:function(){this.comparator&&this.sort()},_changeOrderby:function(t,e){this.comparator&&this.comparator!==n.comparator||(e&&"post__in"!==e?this.comparator=n.comparator:delete this.comparator)},_changeQuery:function(t,e){e?(this.props.on("change",this._requery,this),this._requery()):this.props.off("change",this._requery,this)},_changeFilteredProps:function(r){this.props.get("query")||_.chain(r.changed).map(function(t,e){var i=n.filters[e],s=r.get(e);if(i){if(s&&!this.filters[e])this.filters[e]=i;else{if(s||this.filters[e]!==i)return;delete this.filters[e]}return!0}},this).any().value()&&(this._source||(this._source=new n(this.models)),this.reset(this._source.filter(this.validator,this)))},validateDestroyed:!1,validator:function(e){return!(!this.validateDestroyed&&e.destroyed)&&_.all(this.filters,function(t){return!!t.call(this,e)},this)},validate:function(t,e){var i=this.validator(t),s=!!this.get(t.cid);return!i&&s?this.remove(t,e):i&&!s&&this.add(t,e),this},validateAll:function(t,e){return e=e||{},_.each(t.models,function(t){this.validate(t,{silent:!0})},this),e.silent||this.trigger("reset",this,e),this},observe:function(t){return this.observers=this.observers||[],this.observers.push(t),t.on("add change remove",this._validateHandler,this),t.on("add",this._addToTotalAttachments,this),t.on("remove",this._removeFromTotalAttachments,this),t.on("reset",this._validateAllHandler,this),this.validateAll(t),this},unobserve:function(t){return t?(t.off(null,null,this),this.observers=_.without(this.observers,t)):(_.each(this.observers,function(t){t.off(null,null,this)},this),delete this.observers),this},_removeFromTotalAttachments:function(){this.mirroring&&(this.mirroring.totalAttachments=this.mirroring.totalAttachments-1)},_addToTotalAttachments:function(){this.mirroring&&(this.mirroring.totalAttachments=this.mirroring.totalAttachments+1)},_validateHandler:function(t,e,i){return i=e===this.mirroring?i:{silent:i&&i.silent},this.validate(t,i)},_validateAllHandler:function(t,e){return this.validateAll(t,e)},mirror:function(t){return this.mirroring&&this.mirroring===t||(this.unmirror(),this.mirroring=t,this.reset([],{silent:!0}),this.observe(t),this.trigger("attachments:received",this)),this},unmirror:function(){this.mirroring&&(this.unobserve(this.mirroring),delete this.mirroring)},more:function(t){var e=jQuery.Deferred(),i=this.mirroring,s=this;return i&&i.more?(i.more(t).done(function(){this===s.mirroring&&e.resolveWith(this),s.trigger("attachments:received",this)}),e.promise()):e.resolveWith(this).promise()},hasMore:function(){return!!this.mirroring&&this.mirroring.hasMore()},totalAttachments:0,getTotalAttachments:function(){return this.mirroring?this.mirroring.totalAttachments:0},parse:function(t,i){return _.isArray(t)||(t=[t]),_.map(t,function(t){var e;return t instanceof Backbone.Model?(e=t.get("id"),t=t.attributes):e=t.id,t=(e=wp.media.model.Attachment.get(e)).parse(t,i),_.isEqual(e.attributes,t)||e.set(t),e})},_requery:function(){var t;this.props.get("query")&&(t=this.props.toJSON(),this.mirror(wp.media.model.Query.get(t)))},saveMenuOrder:function(){if("menuOrder"===this.props.get("orderby")){var t=this.chain().filter(function(t){return!_.isUndefined(t.id)}).map(function(t,e){return t.set("menuOrder",e+=1),[t.id,e]}).object().value();if(!_.isEmpty(t))return wp.media.post("save-attachment-order",{nonce:wp.media.model.settings.post.nonce,post_id:wp.media.model.settings.post.id,attachments:t})}}},{comparator:function(t,e,i){var s=this.props.get("orderby"),r=this.props.get("order")||"DESC",n=t.cid,a=e.cid;return t=t.get(s),e=e.get(s),"date"!==s&&"modified"!==s||(t=t||new Date,e=e||new Date),i&&i.ties&&(n=a=null),"DESC"===r?wp.media.compare(t,e,n,a):wp.media.compare(e,t,a,n)},filters:{search:function(e){return!this.props.get("search")||_.any(["title","filename","description","caption","name"],function(t){t=e.get(t);return t&&-1!==t.search(this.props.get("search"))},this)},type:function(t){var e,i=this.props.get("type"),t=t.toJSON();return!(i&&(!_.isArray(i)||i.length))||(e=t.mime||t.file&&t.file.type||"",_.isArray(i)?_.find(i,function(t){return-1!==e.indexOf(t)}):-1!==e.indexOf(i))},uploadedTo:function(t){var e=this.props.get("uploadedTo");return!!_.isUndefined(e)||e===t.get("uploadedTo")},status:function(t){var e=this.props.get("status");return!!_.isUndefined(e)||e===t.get("status")}}});t.exports=n},5927:function(t){var e=Backbone.Model.extend({initialize:function(t){var e=wp.media.model.Attachment;this.attachment=!1,t.attachment_id&&(this.attachment=e.get(t.attachment_id),this.attachment.get("url")?(this.dfd=jQuery.Deferred(),this.dfd.resolve()):this.dfd=this.attachment.fetch(),this.bindAttachmentListeners()),this.on("change:link",this.updateLinkUrl,this),this.on("change:size",this.updateSize,this),this.setLinkTypeFromUrl(),this.setAspectRatio(),this.set("originalUrl",t.url)},bindAttachmentListeners:function(){this.listenTo(this.attachment,"sync",this.setLinkTypeFromUrl),this.listenTo(this.attachment,"sync",this.setAspectRatio),this.listenTo(this.attachment,"change",this.updateSize)},changeAttachment:function(t,e){this.stopListening(this.attachment),this.attachment=t,this.bindAttachmentListeners(),this.set("attachment_id",this.attachment.get("id")),this.set("caption",this.attachment.get("caption")),this.set("alt",this.attachment.get("alt")),this.set("size",e.get("size")),this.set("align",e.get("align")),this.set("link",e.get("link")),this.updateLinkUrl(),this.updateSize()},setLinkTypeFromUrl:function(){var t,e=this.get("linkUrl");e?(t="custom",this.attachment?this.attachment.get("url")===e?t="file":this.attachment.get("link")===e&&(t="post"):this.get("url")===e&&(t="file"),this.set("link",t)):this.set("link","none")},updateLinkUrl:function(){var t;switch(this.get("link")){case"file":t=(this.attachment||this).get("url"),this.set("linkUrl",t);break;case"post":this.set("linkUrl",this.attachment.get("link"));break;case"none":this.set("linkUrl","")}},updateSize:function(){var t;if(this.attachment){if("custom"===this.get("size"))return this.set("width",this.get("customWidth")),this.set("height",this.get("customHeight")),void this.set("url",this.get("originalUrl"));(t=this.attachment.get("sizes")[this.get("size")])&&(this.set("url",t.url),this.set("width",t.width),this.set("height",t.height))}},setAspectRatio:function(){var t;this.attachment&&this.attachment.get("sizes")&&(t=this.attachment.get("sizes").full)?this.set("aspectRatio",t.width/t.height):this.set("aspectRatio",this.get("customWidth")/this.get("customHeight"))}});t.exports=e},4009:function(t){var a,r=wp.media.model.Attachments,o=r.extend({initialize:function(t,e){var i;e=e||{},r.prototype.initialize.apply(this,arguments),this.args=e.args,this._hasMore=!0,this.created=new Date,this.filters.order=function(t){var e=this.props.get("orderby"),i=this.props.get("order");return!this.comparator||(this.length?1!==this.comparator(t,this.last(),{ties:!0}):"DESC"!==i||"date"!==e&&"modified"!==e?"ASC"===i&&"menuOrder"===e&&0===t.get(e):t.get(e)>=this.created)},i=["s","order","orderby","posts_per_page","post_mime_type","post_parent","author"],wp.Uploader&&_(this.args).chain().keys().difference(i).isEmpty().value()&&this.observe(wp.Uploader.queue)},hasMore:function(){return this._hasMore},more:function(t){var e=this;return this._more&&"pending"===this._more.state()?this._more:this.hasMore()?((t=t||{}).remove=!1,this._more=this.fetch(t).done(function(t){(_.isEmpty(t)||-1===e.args.posts_per_page||t.length<e.args.posts_per_page)&&(e._hasMore=!1)})):jQuery.Deferred().resolveWith(this).promise()},sync:function(t,e,i){var s;return"read"===t?((i=i||{}).context=this,i.data=_.extend(i.data||{},{action:"query-attachments",post_id:wp.media.model.settings.post.id}),-1!==(s=_.clone(this.args)).posts_per_page&&(s.paged=Math.round(this.length/s.posts_per_page)+1),i.data.query=s,wp.media.ajax(i)):(r.prototype.sync?r.prototype:Backbone).sync.apply(this,arguments)}},{defaultProps:{orderby:"date",order:"DESC"},defaultArgs:{posts_per_page:80},orderby:{allowed:["name","author","date","title","modified","uploadedTo","id","post__in","menuOrder"],valuemap:{id:"ID",uploadedTo:"parent",menuOrder:"menu_order ID"}},propmap:{search:"s",type:"post_mime_type",perPage:"posts_per_page",menuOrder:"menu_order",uploadedTo:"post_parent",status:"post_status",include:"post__in",exclude:"post__not_in",author:"author"},get:(a=[],function(e,t){var i,s={},r=o.orderby,n=o.defaultProps;return delete e.query,_.defaults(e,n),e.order=e.order.toUpperCase(),"DESC"!==e.order&&"ASC"!==e.order&&(e.order=n.order.toUpperCase()),_.contains(r.allowed,e.orderby)||(e.orderby=n.orderby),_.each(["include","exclude"],function(t){e[t]&&!_.isArray(e[t])&&(e[t]=[e[t]])}),_.each(e,function(t,e){_.isNull(t)||(s[o.propmap[e]||e]=t)}),_.defaults(s,o.defaultArgs),s.orderby=r.valuemap[e.orderby]||e.orderby,a=[],i||(i=new o([],_.extend(t||{},{props:e,args:s})),a.push(i)),i})});t.exports=o},6584:function(t){var i=wp.media.model.Attachments,e=i.extend({initialize:function(t,e){i.prototype.initialize.apply(this,arguments),this.multiple=e&&e.multiple,this.on("add remove reset",_.bind(this.single,this,!1))},add:function(t,e){return this.multiple||this.remove(this.models),i.prototype.add.call(this,t,e)},single:function(t){var e=this._single;return t&&(this._single=t),this._single&&!this.get(this._single.cid)&&delete this._single,this._single=this._single||this.last(),this._single!==e&&(e&&(e.trigger("selection:unsingle",e,this),this.get(e.cid)||this.trigger("selection:unsingle",e,this)),this._single&&this._single.trigger("selection:single",this._single,this)),this._single}});t.exports=e}},s={};function r(t){var e=s[t];if(void 0!==e)return e.exports;e=s[t]={exports:{}};return i[t](e,e.exports,r),e.exports}var e,n,t,a,o;o=jQuery,window.wp=window.wp||{},a=wp.media=function(t){var e,i=a.view.MediaFrame;if(i)return"select"===(t=_.defaults(t||{},{frame:"select"})).frame&&i.Select?e=new i.Select(t):"post"===t.frame&&i.Post?e=new i.Post(t):"manage"===t.frame&&i.Manage?e=new i.Manage(t):"image"===t.frame&&i.ImageDetails?e=new i.ImageDetails(t):"audio"===t.frame&&i.AudioDetails?e=new i.AudioDetails(t):"video"===t.frame&&i.VideoDetails?e=new i.VideoDetails(t):"edit-attachments"===t.frame&&i.EditAttachments&&(e=new i.EditAttachments(t)),delete t.frame,a.frame=e},_.extend(a,{model:{},view:{},controller:{},frames:{}}),t=a.model.l10n=window._wpMediaModelsL10n||{},a.model.settings=t.settings||{},delete t.settings,e=a.model.Attachment=r(7727),n=a.model.Attachments=r(6940),a.model.Query=r(4009),a.model.PostImage=r(5927),a.model.Selection=r(6584),a.compare=function(t,e,i,s){return _.isEqual(t,e)?i===s?0:s<i?-1:1:e<t?-1:1},_.extend(a,{template:wp.template,post:wp.ajax.post,ajax:wp.ajax.send,fit:function(t){var e,i=t.width,s=t.height,r=t.maxWidth,t=t.maxHeight;return _.isUndefined(r)||_.isUndefined(t)?_.isUndefined(t)?e="width":_.isUndefined(r)&&t<s&&(e="height"):e=r/t<i/s?"width":"height","width"===e&&r<i?{width:r,height:Math.round(r*s/i)}:"height"===e&&t<s?{width:Math.round(t*i/s),height:t}:{width:i,height:s}},truncate:function(t,e,i){return i=i||"&hellip;",t.length<=(e=e||30)?t:t.substr(0,e/2)+i+t.substr(-1*e/2)}}),a.attachment=function(t){return e.get(t)},n.all=new n,a.query=function(t){return new n(null,{props:_.extend(_.defaults(t||{},{orderby:"date"}),{query:!0})})},o(window).on("unload",function(){window.wp=null})}();
\ No newline at end of file
diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js
index c5abd0a9ea..2d49edfdc3 100644
--- a/wp-includes/js/media-views.js
+++ b/wp-includes/js/media-views.js
@@ -1,6316 +1,5702 @@
-/******/ (function(modules) { // webpackBootstrap
-/******/ 	// The module cache
-/******/ 	var installedModules = {};
-/******/
-/******/ 	// The require function
-/******/ 	function __webpack_require__(moduleId) {
-/******/
-/******/ 		// Check if module is in cache
-/******/ 		if(installedModules[moduleId]) {
-/******/ 			return installedModules[moduleId].exports;
-/******/ 		}
-/******/ 		// Create a new module (and put it into the cache)
-/******/ 		var module = installedModules[moduleId] = {
-/******/ 			i: moduleId,
-/******/ 			l: false,
-/******/ 			exports: {}
-/******/ 		};
-/******/
-/******/ 		// Execute the module function
-/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ 		// Flag the module as loaded
-/******/ 		module.l = true;
-/******/
-/******/ 		// Return the exports of the module
-/******/ 		return module.exports;
-/******/ 	}
-/******/
-/******/
-/******/ 	// expose the modules object (__webpack_modules__)
-/******/ 	__webpack_require__.m = modules;
-/******/
-/******/ 	// expose the module cache
-/******/ 	__webpack_require__.c = installedModules;
-/******/
-/******/ 	// define getter function for harmony exports
-/******/ 	__webpack_require__.d = function(exports, name, getter) {
-/******/ 		if(!__webpack_require__.o(exports, name)) {
-/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
-/******/ 		}
-/******/ 	};
-/******/
-/******/ 	// define __esModule on exports
-/******/ 	__webpack_require__.r = function(exports) {
-/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
-/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
-/******/ 		}
-/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
-/******/ 	};
-/******/
-/******/ 	// create a fake namespace object
-/******/ 	// mode & 1: value is a module id, require it
-/******/ 	// mode & 2: merge all properties of value into the ns
-/******/ 	// mode & 4: return value when already ns object
-/******/ 	// mode & 8|1: behave like require
-/******/ 	__webpack_require__.t = function(value, mode) {
-/******/ 		if(mode & 1) value = __webpack_require__(value);
-/******/ 		if(mode & 8) return value;
-/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
-/******/ 		var ns = Object.create(null);
-/******/ 		__webpack_require__.r(ns);
-/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
-/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
-/******/ 		return ns;
-/******/ 	};
-/******/
-/******/ 	// getDefaultExport function for compatibility with non-harmony modules
-/******/ 	__webpack_require__.n = function(module) {
-/******/ 		var getter = module && module.__esModule ?
-/******/ 			function getDefault() { return module['default']; } :
-/******/ 			function getModuleExports() { return module; };
-/******/ 		__webpack_require__.d(getter, 'a', getter);
-/******/ 		return getter;
-/******/ 	};
-/******/
-/******/ 	// Object.prototype.hasOwnProperty.call
-/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ 	// __webpack_public_path__
-/******/ 	__webpack_require__.p = "";
-/******/
-/******/
-/******/ 	// Load entry module and return exports
-/******/ 	return __webpack_require__(__webpack_require__.s = 3);
-/******/ })
-/************************************************************************/
-/******/ ({
+/******/ (function() { // webpackBootstrap
+/******/ 	var __webpack_modules__ = ({

-/***/ "+B8m":
-/***/ (function(module, exports) {
+/***/ 1517:
+/***/ (function(module) {

-var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
-	EmbedImage;
+var Selection = wp.media.model.Selection,
+	Library = wp.media.controller.Library,
+	CollectionAdd;

 /**
- * wp.media.view.EmbedImage
+ * wp.media.controller.CollectionAdd
  *
- * @memberOf wp.media.view
+ * A state for adding attachments to a collection (e.g. video playlist).
+ *
+ * @memberOf wp.media.controller
  *
  * @class
- * @augments wp.media.view.Settings.AttachmentDisplay
- * @augments wp.media.view.Settings
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ * @augments wp.media.controller.Library
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ *
+ * @param {object}                     [attributes]                         The attributes hash passed to the state.
+ * @param {string}                     [attributes.id=library]              Unique identifier.
+ * @param {string}                     attributes.title                     Title for the state. Displays in the frame's title region.
+ * @param {boolean}                    [attributes.multiple=add]            Whether multi-select is enabled. @todo 'add' doesn't seem do anything special, and gets used as a boolean.
+ * @param {wp.media.model.Attachments} [attributes.library]                 The attachments collection to browse.
+ *                                                                          If one is not supplied, a collection of attachments of the specified type will be created.
+ * @param {boolean|string}             [attributes.filterable=uploaded]     Whether the library is filterable, and if so what filters should be shown.
+ *                                                                          Accepts 'all', 'uploaded', or 'unattached'.
+ * @param {string}                     [attributes.menu=gallery]            Initial mode for the menu region.
+ * @param {string}                     [attributes.content=upload]          Initial mode for the content region.
+ *                                                                          Overridden by persistent user setting if 'contentUserSetting' is true.
+ * @param {string}                     [attributes.router=browse]           Initial mode for the router region.
+ * @param {string}                     [attributes.toolbar=gallery-add]     Initial mode for the toolbar region.
+ * @param {boolean}                    [attributes.searchable=true]         Whether the library is searchable.
+ * @param {boolean}                    [attributes.sortable=true]           Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
+ * @param {boolean}                    [attributes.autoSelect=true]         Whether an uploaded attachment should be automatically added to the selection.
+ * @param {boolean}                    [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
+ * @param {int}                        [attributes.priority=100]            The priority for the state link in the media menu.
+ * @param {boolean}                    [attributes.syncSelection=false]     Whether the Attachments selection should be persisted from the last state.
+ *                                                                          Defaults to false because for this state, because the library of the Edit Gallery state is the selection.
+ * @param {string}                     attributes.type                      The collection's media type. (e.g. 'video').
+ * @param {string}                     attributes.collectionType            The collection type. (e.g. 'playlist').
  */
-EmbedImage = AttachmentDisplay.extend(/** @lends wp.media.view.EmbedImage.prototype */{
-	className: 'embed-media-settings',
-	template:  wp.template('embed-image-settings'),
+CollectionAdd = Library.extend(/** @lends wp.media.controller.CollectionAdd.prototype */{
+	defaults: _.defaults( {
+		// Selection defaults. @see media.model.Selection
+		multiple:      'add',
+		// Attachments browser defaults. @see media.view.AttachmentsBrowser
+		filterable:    'uploaded',
+
+		priority:      100,
+		syncSelection: false
+	}, Library.prototype.defaults ),

+	/**
+	 * @since 3.9.0
+	 */
 	initialize: function() {
-		/**
-		 * Call `initialize` directly on parent class with passed arguments
-		 */
-		AttachmentDisplay.prototype.initialize.apply( this, arguments );
-		this.listenTo( this.model, 'change:url', this.updateImage );
+		var collectionType = this.get('collectionType');
+
+		if ( 'video' === this.get( 'type' ) ) {
+			collectionType = 'video-' + collectionType;
+		}
+
+		this.set( 'id', collectionType + '-library' );
+		this.set( 'toolbar', collectionType + '-add' );
+		this.set( 'menu', collectionType );
+
+		// If we haven't been provided a `library`, create a `Selection`.
+		if ( ! this.get('library') ) {
+			this.set( 'library', wp.media.query({ type: this.get('type') }) );
+		}
+		Library.prototype.initialize.apply( this, arguments );
 	},

-	updateImage: function() {
-		this.$('img').attr( 'src', this.model.get('url') );
+	/**
+	 * @since 3.9.0
+	 */
+	activate: function() {
+		var library = this.get('library'),
+			editLibrary = this.get('editLibrary'),
+			edit = this.frame.state( this.get('collectionType') + '-edit' ).get('library');
+
+		if ( editLibrary && editLibrary !== edit ) {
+			library.unobserve( editLibrary );
+		}
+
+		// Accepts attachments that exist in the original library and
+		// that do not exist in gallery's library.
+		library.validator = function( attachment ) {
+			return !! this.mirroring.get( attachment.cid ) && ! edit.get( attachment.cid ) && Selection.prototype.validator.apply( this, arguments );
+		};
+
+		/*
+		 * Reset the library to ensure that all attachments are re-added
+		 * to the collection. Do so silently, as calling `observe` will
+		 * trigger the `reset` event.
+		 */
+		library.reset( library.mirroring.models, { silent: true });
+		library.observe( edit );
+		this.set('editLibrary', edit);
+
+		Library.prototype.activate.apply( this, arguments );
 	}
 });

-module.exports = EmbedImage;
+module.exports = CollectionAdd;


 /***/ }),

-/***/ "+mQJ":
-/***/ (function(module, exports) {
+/***/ 1817:
+/***/ (function(module) {

-var View = wp.media.View,
-	$ = jQuery,
+var Library = wp.media.controller.Library,
 	l10n = wp.media.view.l10n,
-	EmbedUrl;
+	$ = jQuery,
+	CollectionEdit;

 /**
- * wp.media.view.EmbedUrl
+ * wp.media.controller.CollectionEdit
  *
- * @memberOf wp.media.view
+ * A state for editing a collection, which is used by audio and video playlists,
+ * and can be used for other collections.
+ *
+ * @memberOf wp.media.controller
  *
  * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ * @augments wp.media.controller.Library
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ *
+ * @param {object}                     [attributes]                      The attributes hash passed to the state.
+ * @param {string}                     attributes.title                  Title for the state. Displays in the media menu and the frame's title region.
+ * @param {wp.media.model.Attachments} [attributes.library]              The attachments collection to edit.
+ *                                                                       If one is not supplied, an empty media.model.Selection collection is created.
+ * @param {boolean}                    [attributes.multiple=false]       Whether multi-select is enabled.
+ * @param {string}                     [attributes.content=browse]       Initial mode for the content region.
+ * @param {string}                     attributes.menu                   Initial mode for the menu region. @todo this needs a better explanation.
+ * @param {boolean}                    [attributes.searchable=false]     Whether the library is searchable.
+ * @param {boolean}                    [attributes.sortable=true]        Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
+ * @param {boolean}                    [attributes.date=true]            Whether to show the date filter in the browser's toolbar.
+ * @param {boolean}                    [attributes.describe=true]        Whether to offer UI to describe the attachments - e.g. captioning images in a gallery.
+ * @param {boolean}                    [attributes.dragInfo=true]        Whether to show instructional text about the attachments being sortable.
+ * @param {boolean}                    [attributes.dragInfoText]         Instructional text about the attachments being sortable.
+ * @param {int}                        [attributes.idealColumnWidth=170] The ideal column width in pixels for attachments.
+ * @param {boolean}                    [attributes.editing=false]        Whether the gallery is being created, or editing an existing instance.
+ * @param {int}                        [attributes.priority=60]          The priority for the state link in the media menu.
+ * @param {boolean}                    [attributes.syncSelection=false]  Whether the Attachments selection should be persisted from the last state.
+ *                                                                       Defaults to false for this state, because the library passed in  *is* the selection.
+ * @param {view}                       [attributes.SettingsView]         The view to edit the collection instance settings (e.g. Playlist settings with "Show tracklist" checkbox).
+ * @param {view}                       [attributes.AttachmentView]       The single `Attachment` view to be used in the `Attachments`.
+ *                                                                       If none supplied, defaults to wp.media.view.Attachment.EditLibrary.
+ * @param {string}                     attributes.type                   The collection's media type. (e.g. 'video').
+ * @param {string}                     attributes.collectionType         The collection type. (e.g. 'playlist').
  */
-EmbedUrl = View.extend(/** @lends wp.media.view.EmbedUrl.prototype */{
-	tagName:   'span',
-	className: 'embed-url',
-
-	events: {
-		'input': 'url'
+CollectionEdit = Library.extend(/** @lends wp.media.controller.CollectionEdit.prototype */{
+	defaults: {
+		multiple:         false,
+		sortable:         true,
+		date:             false,
+		searchable:       false,
+		content:          'browse',
+		describe:         true,
+		dragInfo:         true,
+		idealColumnWidth: 170,
+		editing:          false,
+		priority:         60,
+		SettingsView:     false,
+		syncSelection:    false
 	},

+	/**
+	 * @since 3.9.0
+	 */
 	initialize: function() {
-		this.$input = $( '<input id="embed-url-field" type="url" />' )
-			.attr( 'aria-label', l10n.insertFromUrlTitle )
-			.val( this.model.get('url') );
-		this.input = this.$input[0];
+		var collectionType = this.get('collectionType');

-		this.spinner = $('<span class="spinner" />')[0];
-		this.$el.append([ this.input, this.spinner ]);
+		if ( 'video' === this.get( 'type' ) ) {
+			collectionType = 'video-' + collectionType;
+		}

-		this.listenTo( this.model, 'change:url', this.render );
+		this.set( 'id', collectionType + '-edit' );
+		this.set( 'toolbar', collectionType + '-edit' );

-		if ( this.model.get( 'url' ) ) {
-			_.delay( _.bind( function () {
-				this.model.trigger( 'change:url' );
-			}, this ), 500 );
+		// If we haven't been provided a `library`, create a `Selection`.
+		if ( ! this.get('library') ) {
+			this.set( 'library', new wp.media.model.Selection() );
+		}
+		// The single `Attachment` view to be used in the `Attachments` view.
+		if ( ! this.get('AttachmentView') ) {
+			this.set( 'AttachmentView', wp.media.view.Attachment.EditLibrary );
 		}
+		Library.prototype.initialize.apply( this, arguments );
 	},
+
 	/**
-	 * @return {wp.media.view.EmbedUrl} Returns itself to allow chaining.
+	 * @since 3.9.0
 	 */
-	render: function() {
-		var $input = this.$input;
+	activate: function() {
+		var library = this.get('library');

-		if ( $input.is(':focus') ) {
-			return;
-		}
+		// Limit the library to images only.
+		library.props.set( 'type', this.get( 'type' ) );

-		this.input.value = this.model.get('url') || 'http://';
-		/**
-		 * Call `render` directly on parent class with passed arguments
-		 */
-		View.prototype.render.apply( this, arguments );
-		return this;
-	},
+		// Watch for uploaded attachments.
+		this.get('library').observe( wp.Uploader.queue );

-	url: function( event ) {
-		var url = event.target.value || '';
-		this.model.set( 'url', url.trim() );
-	}
-});
+		this.frame.on( 'content:render:browse', this.renderSettings, this );

-module.exports = EmbedUrl;
+		Library.prototype.activate.apply( this, arguments );
+	},

+	/**
+	 * @since 3.9.0
+	 */
+	deactivate: function() {
+		// Stop watching for uploaded attachments.
+		this.get('library').unobserve( wp.Uploader.queue );

-/***/ }),
+		this.frame.off( 'content:render:browse', this.renderSettings, this );

-/***/ "04Ix":
-/***/ (function(module, exports) {
+		Library.prototype.deactivate.apply( this, arguments );
+	},

-var _n = wp.i18n._n,
-	sprintf = wp.i18n.sprintf,
-	Selection;
-
-/**
- * wp.media.view.Selection
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-Selection = wp.media.View.extend(/** @lends wp.media.view.Selection.prototype */{
-	tagName:   'div',
-	className: 'media-selection',
-	template:  wp.template('media-selection'),
-
-	events: {
-		'click .edit-selection':  'edit',
-		'click .clear-selection': 'clear'
-	},
-
-	initialize: function() {
-		_.defaults( this.options, {
-			editable:  false,
-			clearable: true
-		});
-
-		/**
-		 * @member {wp.media.view.Attachments.Selection}
-		 */
-		this.attachments = new wp.media.view.Attachments.Selection({
-			controller: this.controller,
-			collection: this.collection,
-			selection:  this.collection,
-			model:      new Backbone.Model()
-		});
-
-		this.views.set( '.selection-view', this.attachments );
-		this.collection.on( 'add remove reset', this.refresh, this );
-		this.controller.on( 'content:activate', this.refresh, this );
-	},
-
-	ready: function() {
-		this.refresh();
-	},
+	/**
+	 * Render the collection embed settings view in the browser sidebar.
+	 *
+	 * @todo This is against the pattern elsewhere in media. Typically the frame
+	 *       is responsible for adding region mode callbacks. Explain.
+	 *
+	 * @since 3.9.0
+	 *
+	 * @param {wp.media.view.attachmentsBrowser} The attachments browser view.
+	 */
+	renderSettings: function( attachmentsBrowserView ) {
+		var library = this.get('library'),
+			collectionType = this.get('collectionType'),
+			dragInfoText = this.get('dragInfoText'),
+			SettingsView = this.get('SettingsView'),
+			obj = {};

-	refresh: function() {
-		// If the selection hasn't been rendered, bail.
-		if ( ! this.$el.children().length ) {
+		if ( ! library || ! attachmentsBrowserView ) {
 			return;
 		}

-		var collection = this.collection,
-			editing = 'edit-selection' === this.controller.content.mode();
+		library[ collectionType ] = library[ collectionType ] || new Backbone.Model();

-		// If nothing is selected, display nothing.
-		this.$el.toggleClass( 'empty', ! collection.length );
-		this.$el.toggleClass( 'one', 1 === collection.length );
-		this.$el.toggleClass( 'editing', editing );
+		obj[ collectionType ] = new SettingsView({
+			controller: this,
+			model:      library[ collectionType ],
+			priority:   40
+		});

-		this.$( '.count' ).text(
-			/* translators: %s: Number of selected media attachments. */
-			sprintf( _n( '%s item selected', '%s items selected', collection.length ), collection.length )
-		);
-	},
+		attachmentsBrowserView.sidebar.set( obj );

-	edit: function( event ) {
-		event.preventDefault();
-		if ( this.options.editable ) {
-			this.options.editable.call( this, this.collection );
+		if ( dragInfoText ) {
+			attachmentsBrowserView.toolbar.set( 'dragInfo', new wp.media.View({
+				el: $( '<div class="instructions">' + dragInfoText + '</div>' )[0],
+				priority: -40
+			}) );
 		}
-	},

-	clear: function( event ) {
-		event.preventDefault();
-		this.collection.reset();
+		// Add the 'Reverse order' button to the toolbar.
+		attachmentsBrowserView.toolbar.set( 'reverse', {
+			text:     l10n.reverseOrder,
+			priority: 80,

-		// Move focus to the modal.
-		this.controller.modal.focusManager.focus();
+			click: function() {
+				library.reset( library.toArray().reverse() );
+			}
+		});
 	}
 });

-module.exports = Selection;
+module.exports = CollectionEdit;


 /***/ }),

-/***/ "1S4+":
-/***/ (function(module, exports) {
+/***/ 2288:
+/***/ (function(module) {

-var $ = jQuery,
-	AttachmentFilters;
+var l10n = wp.media.view.l10n,
+	Cropper;

 /**
- * wp.media.view.AttachmentFilters
+ * wp.media.controller.Cropper
  *
- * @memberOf wp.media.view
+ * A class for cropping an image when called from the header media customization panel.
+ *
+ * @memberOf wp.media.controller
  *
  * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
  */
-AttachmentFilters = wp.media.View.extend(/** @lends wp.media.view.AttachmentFilters.prototype */{
-	tagName:   'select',
-	className: 'attachment-filters',
-	id:        'media-attachment-filters',
+Cropper = wp.media.controller.State.extend(/** @lends wp.media.controller.Cropper.prototype */{
+	defaults: {
+		id:          'cropper',
+		title:       l10n.cropImage,
+		// Region mode defaults.
+		toolbar:     'crop',
+		content:     'crop',
+		router:      false,
+		canSkipCrop: false,

-	events: {
-		change: 'change'
+		// Default doCrop Ajax arguments to allow the Customizer (for example) to inject state.
+		doCropArgs: {}
 	},

-	keys: [],
-
-	initialize: function() {
-		this.createFilters();
-		_.extend( this.filters, this.options.filters );
-
-		// Build `<option>` elements.
-		this.$el.html( _.chain( this.filters ).map( function( filter, value ) {
-			return {
-				el: $( '<option></option>' ).val( value ).html( filter.text )[0],
-				priority: filter.priority || 50
-			};
-		}, this ).sortBy('priority').pluck('el').value() );
+	/**
+	 * Shows the crop image window when called from the Add new image button.
+	 *
+	 * @since 4.2.0
+	 *
+	 * @return {void}
+	 */
+	activate: function() {
+		this.frame.on( 'content:create:crop', this.createCropContent, this );
+		this.frame.on( 'close', this.removeCropper, this );
+		this.set('selection', new Backbone.Collection(this.frame._selection.single));
+	},

-		this.listenTo( this.model, 'change', this.select );
-		this.select();
+	/**
+	 * Changes the state of the toolbar window to browse mode.
+	 *
+	 * @since 4.2.0
+	 *
+	 * @return {void}
+	 */
+	deactivate: function() {
+		this.frame.toolbar.mode('browse');
 	},

 	/**
-	 * @abstract
+	 * Creates the crop image window.
+	 *
+	 * Initialized when clicking on the Select and Crop button.
+	 *
+	 * @since 4.2.0
+	 *
+	 * @fires crop window
+	 *
+	 * @return {void}
 	 */
-	createFilters: function() {
-		this.filters = {};
+	createCropContent: function() {
+		this.cropperView = new wp.media.view.Cropper({
+			controller: this,
+			attachment: this.get('selection').first()
+		});
+		this.cropperView.on('image-loaded', this.createCropToolbar, this);
+		this.frame.content.set(this.cropperView);
+
 	},

 	/**
-	 * When the selected filter changes, update the Attachment Query properties to match.
+	 * Removes the image selection and closes the cropping window.
+	 *
+	 * @since 4.2.0
+	 *
+	 * @return {void}
 	 */
-	change: function() {
-		var filter = this.filters[ this.el.value ];
-		if ( filter ) {
-			this.model.set( filter.props );
-		}
+	removeCropper: function() {
+		this.imgSelect.cancelSelection();
+		this.imgSelect.setOptions({remove: true});
+		this.imgSelect.update();
+		this.cropperView.remove();
 	},

-	select: function() {
-		var model = this.model,
-			value = 'all',
-			props = model.toJSON();
+	/**
+	 * Checks if cropping can be skipped and creates crop toolbar accordingly.
+	 *
+	 * @since 4.2.0
+	 *
+	 * @return {void}
+	 */
+	createCropToolbar: function() {
+		var canSkipCrop, toolbarOptions;

-		_.find( this.filters, function( filter, id ) {
-			var equal = _.all( filter.props, function( prop, key ) {
-				return prop === ( _.isUndefined( props[ key ] ) ? null : props[ key ] );
-			});
+		canSkipCrop = this.get('canSkipCrop') || false;

-			if ( equal ) {
-				return value = id;
-			}
-		});
+		toolbarOptions = {
+			controller: this.frame,
+			items: {
+				insert: {
+					style:    'primary',
+					text:     l10n.cropImage,
+					priority: 80,
+					requires: { library: false, selection: false },

-		this.$el.val( value );
-	}
-});
+					click: function() {
+						var controller = this.controller,
+							selection;

-module.exports = AttachmentFilters;
+						selection = controller.state().get('selection').first();
+						selection.set({cropDetails: controller.state().imgSelect.getSelection()});
+
+						this.$el.text(l10n.cropping);
+						this.$el.attr('disabled', true);
+
+						controller.state().doCrop( selection ).done( function( croppedImage ) {
+							controller.trigger('cropped', croppedImage );
+							controller.close();
+						}).fail( function() {
+							controller.trigger('content:error:crop');
+						});
+					}
+				}
+			}
+		};
+
+		if ( canSkipCrop ) {
+			_.extend( toolbarOptions.items, {
+				skip: {
+					style:      'secondary',
+					text:       l10n.skipCropping,
+					priority:   70,
+					requires:   { library: false, selection: false },
+					click:      function() {
+						var selection = this.controller.state().get('selection').first();
+						this.controller.state().cropperView.remove();
+						this.controller.trigger('skippedcrop', selection);
+						this.controller.close();
+					}
+				}
+			});
+		}
+
+		this.frame.toolbar.set( new wp.media.view.Toolbar(toolbarOptions) );
+	},
+
+	/**
+	 * Creates an object with the image attachment and crop properties.
+	 *
+	 * @since 4.2.0
+	 *
+	 * @return {$.promise} A jQuery promise with the custom header crop details.
+	 */
+	doCrop: function( attachment ) {
+		return wp.ajax.post( 'custom-header-crop', _.extend(
+			{},
+			this.defaults.doCropArgs,
+			{
+				nonce: attachment.get( 'nonces' ).edit,
+				id: attachment.get( 'id' ),
+				cropDetails: attachment.get( 'cropDetails' )
+			}
+		) );
+	}
+});
+
+module.exports = Cropper;


 /***/ }),

-/***/ "2AvB":
-/***/ (function(module, exports) {
+/***/ 6934:
+/***/ (function(module) {

-var Settings = wp.media.view.Settings,
-	AttachmentDisplay;
+var Controller = wp.media.controller,
+	CustomizeImageCropper;

 /**
- * wp.media.view.Settings.AttachmentDisplay
+ * A state for cropping an image in the customizer.
  *
- * @memberOf wp.media.view.Settings
+ * @since 4.3.0
  *
- * @class
- * @augments wp.media.view.Settings
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ * @constructs wp.media.controller.CustomizeImageCropper
+ * @memberOf wp.media.controller
+ * @augments wp.media.controller.CustomizeImageCropper.Cropper
+ * @inheritDoc
  */
-AttachmentDisplay = Settings.extend(/** @lends wp.media.view.Settings.AttachmentDisplay.prototype */{
-	className: 'attachment-display-settings',
-	template:  wp.template('attachment-display-settings'),
-
-	initialize: function() {
-		var attachment = this.options.attachment;
-
-		_.defaults( this.options, {
-			userSettings: false
-		});
-		// Call 'initialize' directly on the parent class.
-		Settings.prototype.initialize.apply( this, arguments );
-		this.listenTo( this.model, 'change:link', this.updateLinkTo );
-
-		if ( attachment ) {
-			attachment.on( 'change:uploading', this.render, this );
-		}
-	},
-
-	dispose: function() {
-		var attachment = this.options.attachment;
-		if ( attachment ) {
-			attachment.off( null, null, this );
-		}
-		/**
-		 * call 'dispose' directly on the parent class
-		 */
-		Settings.prototype.dispose.apply( this, arguments );
-	},
+CustomizeImageCropper = Controller.Cropper.extend(/** @lends wp.media.controller.CustomizeImageCropper.prototype */{
 	/**
-	 * @return {wp.media.view.AttachmentDisplay} Returns itself to allow chaining.
+	 * Posts the crop details to the admin.
+	 *
+	 * Uses crop measurements when flexible in both directions.
+	 * Constrains flexible side based on image ratio and size of the fixed side.
+	 *
+	 * @since 4.3.0
+	 *
+	 * @param {Object} attachment The attachment to crop.
+	 *
+	 * @return {$.promise} A jQuery promise that represents the crop image request.
 	 */
-	render: function() {
-		var attachment = this.options.attachment;
-		if ( attachment ) {
-			_.extend( this.options, {
-				sizes: attachment.get('sizes'),
-				type:  attachment.get('type')
-			});
-		}
-		/**
-		 * call 'render' directly on the parent class
-		 */
-		Settings.prototype.render.call( this );
-		this.updateLinkTo();
-		return this;
-	},
-
-	updateLinkTo: function() {
-		var linkTo = this.model.get('link'),
-			$input = this.$('.link-to-custom'),
-			attachment = this.options.attachment;
-
-		if ( 'none' === linkTo || 'embed' === linkTo || ( ! attachment && 'custom' !== linkTo ) ) {
-			$input.closest( '.setting' ).addClass( 'hidden' );
-			return;
-		}
+	doCrop: function( attachment ) {
+		var cropDetails = attachment.get( 'cropDetails' ),
+			control = this.get( 'control' ),
+			ratio = cropDetails.width / cropDetails.height;

-		if ( attachment ) {
-			if ( 'post' === linkTo ) {
-				$input.val( attachment.get('link') );
-			} else if ( 'file' === linkTo ) {
-				$input.val( attachment.get('url') );
-			} else if ( ! this.model.get('linkUrl') ) {
-				$input.val('http://');
-			}
+		// Use crop measurements when flexible in both directions.
+		if ( control.params.flex_width && control.params.flex_height ) {
+			cropDetails.dst_width  = cropDetails.width;
+			cropDetails.dst_height = cropDetails.height;

-			$input.prop( 'readonly', 'custom' !== linkTo );
+		// Constrain flexible side based on image ratio and size of the fixed side.
+		} else {
+			cropDetails.dst_width  = control.params.flex_width  ? control.params.height * ratio : control.params.width;
+			cropDetails.dst_height = control.params.flex_height ? control.params.width  / ratio : control.params.height;
 		}

-		$input.closest( '.setting' ).removeClass( 'hidden' );
-		if ( $input.length ) {
-			$input[0].scrollIntoView();
-		}
+		return wp.ajax.post( 'crop-image', {
+			wp_customize: 'on',
+			nonce: attachment.get( 'nonces' ).edit,
+			id: attachment.get( 'id' ),
+			context: control.id,
+			cropDetails: cropDetails
+		} );
 	}
 });

-module.exports = AttachmentDisplay;
+module.exports = CustomizeImageCropper;


 /***/ }),

-/***/ "2NU8":
-/***/ (function(module, exports) {
+/***/ 7658:
+/***/ (function(module) {

-var View = wp.media.View,
-	Toolbar;
+var l10n = wp.media.view.l10n,
+	EditImage;

 /**
- * wp.media.view.Toolbar
+ * wp.media.controller.EditImage
  *
- * A toolbar which consists of a primary and a secondary section. Each sections
- * can be filled with views.
+ * A state for editing (cropping, etc.) an image.
  *
- * @memberOf wp.media.view
+ * @memberOf wp.media.controller
  *
  * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ *
+ * @param {object}                    attributes                      The attributes hash passed to the state.
+ * @param {wp.media.model.Attachment} attributes.model                The attachment.
+ * @param {string}                    [attributes.id=edit-image]      Unique identifier.
+ * @param {string}                    [attributes.title=Edit Image]   Title for the state. Displays in the media menu and the frame's title region.
+ * @param {string}                    [attributes.content=edit-image] Initial mode for the content region.
+ * @param {string}                    [attributes.toolbar=edit-image] Initial mode for the toolbar region.
+ * @param {string}                    [attributes.menu=false]         Initial mode for the menu region.
+ * @param {string}                    [attributes.url]                Unused. @todo Consider removal.
  */
-Toolbar = View.extend(/** @lends wp.media.view.Toolbar.prototype */{
-	tagName:   'div',
-	className: 'media-toolbar',
-
-	initialize: function() {
-		var state = this.controller.state(),
-			selection = this.selection = state.get('selection'),
-			library = this.library = state.get('library');
-
-		this._views = {};
-
-		// The toolbar is composed of two `PriorityList` views.
-		this.primary   = new wp.media.view.PriorityList();
-		this.secondary = new wp.media.view.PriorityList();
-		this.primary.$el.addClass('media-toolbar-primary search-form');
-		this.secondary.$el.addClass('media-toolbar-secondary');
-
-		this.views.set([ this.secondary, this.primary ]);
-
-		if ( this.options.items ) {
-			this.set( this.options.items, { silent: true });
-		}
-
-		if ( ! this.options.silent ) {
-			this.render();
-		}
-
-		if ( selection ) {
-			selection.on( 'add remove reset', this.refresh, this );
-		}
-
-		if ( library ) {
-			library.on( 'add remove reset', this.refresh, this );
-		}
+EditImage = wp.media.controller.State.extend(/** @lends wp.media.controller.EditImage.prototype */{
+	defaults: {
+		id:      'edit-image',
+		title:   l10n.editImage,
+		menu:    false,
+		toolbar: 'edit-image',
+		content: 'edit-image',
+		url:     ''
 	},
+
 	/**
-	 * @return {wp.media.view.Toolbar} Returns itsef to allow chaining
+	 * Activates a frame for editing a featured image.
+	 *
+	 * @since 3.9.0
+	 *
+	 * @return {void}
 	 */
-	dispose: function() {
-		if ( this.selection ) {
-			this.selection.off( null, null, this );
-		}
+	activate: function() {
+		this.frame.on( 'toolbar:render:edit-image', _.bind( this.toolbar, this ) );
+	},

-		if ( this.library ) {
-			this.library.off( null, null, this );
-		}
-		/**
-		 * call 'dispose' directly on the parent class
-		 */
-		return View.prototype.dispose.apply( this, arguments );
-	},
-
-	ready: function() {
-		this.refresh();
+	/**
+	 * Deactivates a frame for editing a featured image.
+	 *
+	 * @since 3.9.0
+	 *
+	 * @return {void}
+	 */
+	deactivate: function() {
+		this.frame.off( 'toolbar:render:edit-image' );
 	},

 	/**
-	 * @param {string} id
-	 * @param {Backbone.View|Object} view
-	 * @param {Object} [options={}]
-	 * @return {wp.media.view.Toolbar} Returns itself to allow chaining.
+	 * Adds a toolbar with a back button.
+	 *
+	 * When the back button is pressed it checks whether there is a previous state.
+	 * In case there is a previous state it sets that previous state otherwise it
+	 * closes the frame.
+	 *
+	 * @since 3.9.0
+	 *
+	 * @return {void}
 	 */
-	set: function( id, view, options ) {
-		var list;
-		options = options || {};
-
-		// Accept an object with an `id` : `view` mapping.
-		if ( _.isObject( id ) ) {
-			_.each( id, function( view, id ) {
-				this.set( id, view, { silent: true });
-			}, this );
+	toolbar: function() {
+		var frame = this.frame,
+			lastState = frame.lastState(),
+			previous = lastState && lastState.id;

-		} else {
-			if ( ! ( view instanceof Backbone.View ) ) {
-				view.classes = [ 'media-button-' + id ].concat( view.classes || [] );
-				view = new wp.media.view.Button( view ).render();
+		frame.toolbar.set( new wp.media.view.Toolbar({
+			controller: frame,
+			items: {
+				back: {
+					style: 'primary',
+					text:     l10n.back,
+					priority: 20,
+					click:    function() {
+						if ( previous ) {
+							frame.setState( previous );
+						} else {
+							frame.close();
+						}
+					}
+				}
 			}
+		}) );
+	}
+});

-			view.controller = view.controller || this.controller;
+module.exports = EditImage;

-			this._views[ id ] = view;

-			list = view.options.priority < 0 ? 'secondary' : 'primary';
-			this[ list ].set( id, view, options );
-		}
+/***/ }),

-		if ( ! options.silent ) {
-			this.refresh();
-		}
+/***/ 9067:
+/***/ (function(module) {

-		return this;
+var l10n = wp.media.view.l10n,
+	$ = Backbone.$,
+	Embed;
+
+/**
+ * wp.media.controller.Embed
+ *
+ * A state for embedding media from a URL.
+ *
+ * @memberOf wp.media.controller
+ *
+ * @class
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ *
+ * @param {object} attributes                         The attributes hash passed to the state.
+ * @param {string} [attributes.id=embed]              Unique identifier.
+ * @param {string} [attributes.title=Insert From URL] Title for the state. Displays in the media menu and the frame's title region.
+ * @param {string} [attributes.content=embed]         Initial mode for the content region.
+ * @param {string} [attributes.menu=default]          Initial mode for the menu region.
+ * @param {string} [attributes.toolbar=main-embed]    Initial mode for the toolbar region.
+ * @param {string} [attributes.menu=false]            Initial mode for the menu region.
+ * @param {int}    [attributes.priority=120]          The priority for the state link in the media menu.
+ * @param {string} [attributes.type=link]             The type of embed. Currently only link is supported.
+ * @param {string} [attributes.url]                   The embed URL.
+ * @param {object} [attributes.metadata={}]           Properties of the embed, which will override attributes.url if set.
+ */
+Embed = wp.media.controller.State.extend(/** @lends wp.media.controller.Embed.prototype */{
+	defaults: {
+		id:       'embed',
+		title:    l10n.insertFromUrlTitle,
+		content:  'embed',
+		menu:     'default',
+		toolbar:  'main-embed',
+		priority: 120,
+		type:     'link',
+		url:      '',
+		metadata: {}
 	},
-	/**
-	 * @param {string} id
-	 * @return {wp.media.view.Button}
-	 */
-	get: function( id ) {
-		return this._views[ id ];
+
+	// The amount of time used when debouncing the scan.
+	sensitivity: 400,
+
+	initialize: function(options) {
+		this.metadata = options.metadata;
+		this.debouncedScan = _.debounce( _.bind( this.scan, this ), this.sensitivity );
+		this.props = new Backbone.Model( this.metadata || { url: '' });
+		this.props.on( 'change:url', this.debouncedScan, this );
+		this.props.on( 'change:url', this.refresh, this );
+		this.on( 'scan', this.scanImage, this );
 	},
+
 	/**
-	 * @param {string} id
-	 * @param {Object} options
-	 * @return {wp.media.view.Toolbar} Returns itself to allow chaining.
+	 * Trigger a scan of the embedded URL's content for metadata required to embed.
+	 *
+	 * @fires wp.media.controller.Embed#scan
 	 */
-	unset: function( id, options ) {
-		delete this._views[ id ];
-		this.primary.unset( id, options );
-		this.secondary.unset( id, options );
+	scan: function() {
+		var scanners,
+			embed = this,
+			attributes = {
+				type: 'link',
+				scanners: []
+			};

-		if ( ! options || ! options.silent ) {
-			this.refresh();
+		/*
+		 * Scan is triggered with the list of `attributes` to set on the
+		 * state, useful for the 'type' attribute and 'scanners' attribute,
+		 * an array of promise objects for asynchronous scan operations.
+		 */
+		if ( this.props.get('url') ) {
+			this.trigger( 'scan', attributes );
 		}
-		return this;
-	},

-	refresh: function() {
-		var state = this.controller.state(),
-			library = state.get('library'),
-			selection = state.get('selection');
+		if ( attributes.scanners.length ) {
+			scanners = attributes.scanners = $.when.apply( $, attributes.scanners );
+			scanners.always( function() {
+				if ( embed.get('scanners') === scanners ) {
+					embed.set( 'loading', false );
+				}
+			});
+		} else {
+			attributes.scanners = null;
+		}

-		_.each( this._views, function( button ) {
-			if ( ! button.model || ! button.options || ! button.options.requires ) {
-				return;
-			}
+		attributes.loading = !! attributes.scanners;
+		this.set( attributes );
+	},
+	/**
+	 * Try scanning the embed as an image to discover its dimensions.
+	 *
+	 * @param {Object} attributes
+	 */
+	scanImage: function( attributes ) {
+		var frame = this.frame,
+			state = this,
+			url = this.props.get('url'),
+			image = new Image(),
+			deferred = $.Deferred();

-			var requires = button.options.requires,
-				disabled = false;
+		attributes.scanners.push( deferred.promise() );

-			// Prevent insertion of attachments if any of them are still uploading.
-			if ( selection && selection.models ) {
-				disabled = _.some( selection.models, function( attachment ) {
-					return attachment.get('uploading') === true;
-				});
-			}
+		// Try to load the image and find its width/height.
+		image.onload = function() {
+			deferred.resolve();

-			if ( requires.selection && selection && ! selection.length ) {
-				disabled = true;
-			} else if ( requires.library && library && ! library.length ) {
-				disabled = true;
+			if ( state !== frame.state() || url !== state.props.get('url') ) {
+				return;
 			}
-			button.model.set( 'disabled', disabled );
-		});
-	}
-});

-module.exports = Toolbar;
+			state.set({
+				type: 'image'
+			});

+			state.props.set({
+				width:  image.width,
+				height: image.height
+			});
+		};

-/***/ }),
+		image.onerror = deferred.reject;
+		image.src = url;
+	},

-/***/ "2jku":
-/***/ (function(module, exports) {
+	refresh: function() {
+		this.frame.toolbar.get().refresh();
+	},

-/**
- * wp.media.view.Attachment.Library
- *
- * @memberOf wp.media.view.Attachment
- *
- * @class
- * @augments wp.media.view.Attachment
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-var Library = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.Library.prototype */{
-	buttons: {
-		check: true
+	reset: function() {
+		this.props.clear().set({ url: '' });
+
+		if ( this.active ) {
+			this.refresh();
+		}
 	}
 });

-module.exports = Library;
+module.exports = Embed;


 /***/ }),

-/***/ 3:
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__("tg/Y");
+/***/ 5095:
+/***/ (function(module) {

-
-/***/ }),
-
-/***/ "3nJM":
-/***/ (function(module, exports) {
-
-var $ = jQuery;
+var Attachment = wp.media.model.Attachment,
+	Library = wp.media.controller.Library,
+	l10n = wp.media.view.l10n,
+	FeaturedImage;

 /**
- * wp.media.view.FocusManager
+ * wp.media.controller.FeaturedImage
  *
- * @memberOf wp.media.view
+ * A state for selecting a featured image for a post.
+ *
+ * @memberOf wp.media.controller
  *
  * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ * @augments wp.media.controller.Library
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ *
+ * @param {object}                     [attributes]                          The attributes hash passed to the state.
+ * @param {string}                     [attributes.id=featured-image]        Unique identifier.
+ * @param {string}                     [attributes.title=Set Featured Image] Title for the state. Displays in the media menu and the frame's title region.
+ * @param {wp.media.model.Attachments} [attributes.library]                  The attachments collection to browse.
+ *                                                                           If one is not supplied, a collection of all images will be created.
+ * @param {boolean}                    [attributes.multiple=false]           Whether multi-select is enabled.
+ * @param {string}                     [attributes.content=upload]           Initial mode for the content region.
+ *                                                                           Overridden by persistent user setting if 'contentUserSetting' is true.
+ * @param {string}                     [attributes.menu=default]             Initial mode for the menu region.
+ * @param {string}                     [attributes.router=browse]            Initial mode for the router region.
+ * @param {string}                     [attributes.toolbar=featured-image]   Initial mode for the toolbar region.
+ * @param {int}                        [attributes.priority=60]              The priority for the state link in the media menu.
+ * @param {boolean}                    [attributes.searchable=true]          Whether the library is searchable.
+ * @param {boolean|string}             [attributes.filterable=false]         Whether the library is filterable, and if so what filters should be shown.
+ *                                                                           Accepts 'all', 'uploaded', or 'unattached'.
+ * @param {boolean}                    [attributes.sortable=true]            Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
+ * @param {boolean}                    [attributes.autoSelect=true]          Whether an uploaded attachment should be automatically added to the selection.
+ * @param {boolean}                    [attributes.describe=false]           Whether to offer UI to describe attachments - e.g. captioning images in a gallery.
+ * @param {boolean}                    [attributes.contentUserSetting=true]  Whether the content region's mode should be set and persisted per user.
+ * @param {boolean}                    [attributes.syncSelection=true]       Whether the Attachments selection should be persisted from the last state.
  */
-var FocusManager = wp.media.View.extend(/** @lends wp.media.view.FocusManager.prototype */{
-
-	events: {
-		'keydown': 'focusManagementMode'
-	},
+FeaturedImage = Library.extend(/** @lends wp.media.controller.FeaturedImage.prototype */{
+	defaults: _.defaults({
+		id:            'featured-image',
+		title:         l10n.setFeaturedImageTitle,
+		multiple:      false,
+		filterable:    'uploaded',
+		toolbar:       'featured-image',
+		priority:      60,
+		syncSelection: true
+	}, Library.prototype.defaults ),

 	/**
-	 * Initializes the Focus Manager.
-	 *
-	 * @param {Object} options The Focus Manager options.
-	 *
-	 * @since 5.3.0
-	 *
-	 * @return {void}
+	 * @since 3.5.0
 	 */
-	initialize: function( options ) {
-		this.mode                    = options.mode || 'constrainTabbing';
-		this.tabsAutomaticActivation = options.tabsAutomaticActivation || false;
-	},
+	initialize: function() {
+		var library, comparator;

- 	/**
-	 * Determines which focus management mode to use.
-	 *
-	 * @since 5.3.0
-	 *
-	 * @param {Object} event jQuery event object.
-	 *
-	 * @return {void}
-	 */
-	focusManagementMode: function( event ) {
-		if ( this.mode === 'constrainTabbing' ) {
-			this.constrainTabbing( event );
+		// If we haven't been provided a `library`, create a `Selection`.
+		if ( ! this.get('library') ) {
+			this.set( 'library', wp.media.query({ type: 'image' }) );
 		}

-		if ( this.mode === 'tabsNavigation' ) {
-			this.tabsNavigation( event );
-		}
+		Library.prototype.initialize.apply( this, arguments );
+
+		library    = this.get('library');
+		comparator = library.comparator;
+
+		// Overload the library's comparator to push items that are not in
+		// the mirrored query to the front of the aggregate collection.
+		library.comparator = function( a, b ) {
+			var aInQuery = !! this.mirroring.get( a.cid ),
+				bInQuery = !! this.mirroring.get( b.cid );
+
+			if ( ! aInQuery && bInQuery ) {
+				return -1;
+			} else if ( aInQuery && ! bInQuery ) {
+				return 1;
+			} else {
+				return comparator.apply( this, arguments );
+			}
+		};
+
+		// Add all items in the selection to the library, so any featured
+		// images that are not initially loaded still appear.
+		library.observe( this.get('selection') );
 	},

 	/**
-	 * Gets all the tabbable elements.
-	 *
-	 * @since 5.3.0
-	 *
-	 * @return {Object} A jQuery collection of tabbable elements.
+	 * @since 3.5.0
 	 */
-	getTabbables: function() {
-		// Skip the file input added by Plupload.
-		return this.$( ':tabbable' ).not( '.moxie-shim input[type="file"]' );
+	activate: function() {
+		this.frame.on( 'open', this.updateSelection, this );
+
+		Library.prototype.activate.apply( this, arguments );
 	},

 	/**
-	 * Moves focus to the modal dialog.
-	 *
 	 * @since 3.5.0
-	 *
-	 * @return {void}
 	 */
-	focus: function() {
-		this.$( '.media-modal' ).trigger( 'focus' );
+	deactivate: function() {
+		this.frame.off( 'open', this.updateSelection, this );
+
+		Library.prototype.deactivate.apply( this, arguments );
 	},

 	/**
-	 * Constrains navigation with the Tab key within the media view element.
-	 *
-	 * @since 4.0.0
-	 *
-	 * @param {Object} event A keydown jQuery event.
-	 *
-	 * @return {void}
+	 * @since 3.5.0
 	 */
-	constrainTabbing: function( event ) {
-		var tabbables;
+	updateSelection: function() {
+		var selection = this.get('selection'),
+			id = wp.media.view.settings.post.featuredImageId,
+			attachment;

-		// Look for the tab key.
-		if ( 9 !== event.keyCode ) {
-			return;
+		if ( '' !== id && -1 !== id ) {
+			attachment = Attachment.get( id );
+			attachment.fetch();
 		}

-		tabbables = this.getTabbables();
+		selection.reset( attachment ? [ attachment ] : [] );
+	}
+});

-		// Keep tab focus within media modal while it's open.
-		if ( tabbables.last()[0] === event.target && ! event.shiftKey ) {
-			tabbables.first().focus();
-			return false;
-		} else if ( tabbables.first()[0] === event.target && event.shiftKey ) {
-			tabbables.last().focus();
-			return false;
-		}
-	},
+module.exports = FeaturedImage;
+
+
+/***/ }),
+
+/***/ 7323:
+/***/ (function(module) {
+
+var Selection = wp.media.model.Selection,
+	Library = wp.media.controller.Library,
+	l10n = wp.media.view.l10n,
+	GalleryAdd;
+
+/**
+ * wp.media.controller.GalleryAdd
+ *
+ * A state for selecting more images to add to a gallery.
+ *
+ * @since 3.5.0
+ *
+ * @class
+ * @augments wp.media.controller.Library
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ *
+ * @memberof wp.media.controller
+ *
+ * @param {Object}                     [attributes]                         The attributes hash passed to the state.
+ * @param {string}                     [attributes.id=gallery-library]      Unique identifier.
+ * @param {string}                     [attributes.title=Add to Gallery]    Title for the state. Displays in the frame's title region.
+ * @param {boolean}                    [attributes.multiple=add]            Whether multi-select is enabled. @todo 'add' doesn't seem do anything special, and gets used as a boolean.
+ * @param {wp.media.model.Attachments} [attributes.library]                 The attachments collection to browse.
+ *                                                                          If one is not supplied, a collection of all images will be created.
+ * @param {boolean|string}             [attributes.filterable=uploaded]     Whether the library is filterable, and if so what filters should be shown.
+ *                                                                          Accepts 'all', 'uploaded', or 'unattached'.
+ * @param {string}                     [attributes.menu=gallery]            Initial mode for the menu region.
+ * @param {string}                     [attributes.content=upload]          Initial mode for the content region.
+ *                                                                          Overridden by persistent user setting if 'contentUserSetting' is true.
+ * @param {string}                     [attributes.router=browse]           Initial mode for the router region.
+ * @param {string}                     [attributes.toolbar=gallery-add]     Initial mode for the toolbar region.
+ * @param {boolean}                    [attributes.searchable=true]         Whether the library is searchable.
+ * @param {boolean}                    [attributes.sortable=true]           Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
+ * @param {boolean}                    [attributes.autoSelect=true]         Whether an uploaded attachment should be automatically added to the selection.
+ * @param {boolean}                    [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
+ * @param {number}                     [attributes.priority=100]            The priority for the state link in the media menu.
+ * @param {boolean}                    [attributes.syncSelection=false]     Whether the Attachments selection should be persisted from the last state.
+ *                                                                          Defaults to false because for this state, because the library of the Edit Gallery state is the selection.
+ */
+GalleryAdd = Library.extend(/** @lends wp.media.controller.GalleryAdd.prototype */{
+	defaults: _.defaults({
+		id:            'gallery-library',
+		title:         l10n.addToGalleryTitle,
+		multiple:      'add',
+		filterable:    'uploaded',
+		menu:          'gallery',
+		toolbar:       'gallery-add',
+		priority:      100,
+		syncSelection: false
+	}, Library.prototype.defaults ),

 	/**
-	 * Hides from assistive technologies all the body children.
+	 * Initializes the library. Creates a library of images if a library isn't supplied.
 	 *
-	 * Sets an `aria-hidden="true"` attribute on all the body children except
-	 * the provided element and other elements that should not be hidden.
+	 * @since 3.5.0
 	 *
-	 * The reason why we use `aria-hidden` is that `aria-modal="true"` is buggy
-	 * in Safari 11.1 and support is spotty in other browsers. Also, `aria-modal="true"`
-	 * prevents the `wp.a11y.speak()` ARIA live regions to work as they're outside
-	 * of the modal dialog and get hidden from assistive technologies.
+	 * @return {void}
+	 */
+	initialize: function() {
+		if ( ! this.get('library') ) {
+			this.set( 'library', wp.media.query({ type: 'image' }) );
+		}
+
+		Library.prototype.initialize.apply( this, arguments );
+	},
+
+	/**
+	 * Activates the library.
 	 *
-	 * @since 5.2.3
+	 * Removes all event listeners if in edit mode. Creates a validator to check an attachment.
+	 * Resets library and re-enables event listeners. Activates edit mode. Calls the parent's activate method.
 	 *
-	 * @param {Object} visibleElement The jQuery object representing the element that should not be hidden.
+	 * @since 3.5.0
 	 *
 	 * @return {void}
 	 */
-	setAriaHiddenOnBodyChildren: function( visibleElement ) {
-		var bodyChildren,
-			self = this;
+	activate: function() {
+		var library = this.get('library'),
+			edit    = this.frame.state('gallery-edit').get('library');

-		if ( this.isBodyAriaHidden ) {
-			return;
-		}
+		if ( this.editLibrary && this.editLibrary !== edit ) {
+			library.unobserve( this.editLibrary );
+		}

-		// Get all the body children.
-		bodyChildren = document.body.children;
+		/*
+		 * Accept attachments that exist in the original library but
+		 * that do not exist in gallery's library yet.
+		 */
+		library.validator = function( attachment ) {
+			return !! this.mirroring.get( attachment.cid ) && ! edit.get( attachment.cid ) && Selection.prototype.validator.apply( this, arguments );
+		};

-		// Loop through the body children and hide the ones that should be hidden.
-		_.each( bodyChildren, function( element ) {
-			// Don't hide the modal element.
-			if ( element === visibleElement[0] ) {
-				return;
-			}
+		/*
+		 * Reset the library to ensure that all attachments are re-added
+		 * to the collection. Do so silently, as calling `observe` will
+		 * trigger the `reset` event.
+		 */
+		library.reset( library.mirroring.models, { silent: true });
+		library.observe( edit );
+		this.editLibrary = edit;

-			// Determine the body children to hide.
-			if ( self.elementShouldBeHidden( element ) ) {
-				element.setAttribute( 'aria-hidden', 'true' );
-				// Store the hidden elements.
-				self.ariaHiddenElements.push( element );
-			}
-		} );
+		Library.prototype.activate.apply( this, arguments );
+	}
+});

-		this.isBodyAriaHidden = true;
+module.exports = GalleryAdd;
+
+
+/***/ }),
+
+/***/ 6328:
+/***/ (function(module) {
+
+var Library = wp.media.controller.Library,
+	l10n = wp.media.view.l10n,
+	GalleryEdit;
+
+/**
+ * wp.media.controller.GalleryEdit
+ *
+ * A state for editing a gallery's images and settings.
+ *
+ * @since 3.5.0
+ *
+ * @class
+ * @augments wp.media.controller.Library
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ *
+ * @memberOf wp.media.controller
+ *
+ * @param {Object}                     [attributes]                       The attributes hash passed to the state.
+ * @param {string}                     [attributes.id=gallery-edit]       Unique identifier.
+ * @param {string}                     [attributes.title=Edit Gallery]    Title for the state. Displays in the frame's title region.
+ * @param {wp.media.model.Attachments} [attributes.library]               The collection of attachments in the gallery.
+ *                                                                        If one is not supplied, an empty media.model.Selection collection is created.
+ * @param {boolean}                    [attributes.multiple=false]        Whether multi-select is enabled.
+ * @param {boolean}                    [attributes.searchable=false]      Whether the library is searchable.
+ * @param {boolean}                    [attributes.sortable=true]         Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
+ * @param {boolean}                    [attributes.date=true]             Whether to show the date filter in the browser's toolbar.
+ * @param {string|false}               [attributes.content=browse]        Initial mode for the content region.
+ * @param {string|false}               [attributes.toolbar=image-details] Initial mode for the toolbar region.
+ * @param {boolean}                    [attributes.describe=true]         Whether to offer UI to describe attachments - e.g. captioning images in a gallery.
+ * @param {boolean}                    [attributes.displaySettings=true]  Whether to show the attachment display settings interface.
+ * @param {boolean}                    [attributes.dragInfo=true]         Whether to show instructional text about the attachments being sortable.
+ * @param {number}                     [attributes.idealColumnWidth=170]  The ideal column width in pixels for attachments.
+ * @param {boolean}                    [attributes.editing=false]         Whether the gallery is being created, or editing an existing instance.
+ * @param {number}                     [attributes.priority=60]           The priority for the state link in the media menu.
+ * @param {boolean}                    [attributes.syncSelection=false]   Whether the Attachments selection should be persisted from the last state.
+ *                                                                        Defaults to false for this state, because the library passed in  *is* the selection.
+ * @param {view}                       [attributes.AttachmentView]        The single `Attachment` view to be used in the `Attachments`.
+ *                                                                        If none supplied, defaults to wp.media.view.Attachment.EditLibrary.
+ */
+GalleryEdit = Library.extend(/** @lends wp.media.controller.GalleryEdit.prototype */{
+	defaults: {
+		id:               'gallery-edit',
+		title:            l10n.editGalleryTitle,
+		multiple:         false,
+		searchable:       false,
+		sortable:         true,
+		date:             false,
+		display:          false,
+		content:          'browse',
+		toolbar:          'gallery-edit',
+		describe:         true,
+		displaySettings:  true,
+		dragInfo:         true,
+		idealColumnWidth: 170,
+		editing:          false,
+		priority:         60,
+		syncSelection:    false
 	},

 	/**
-	 * Unhides from assistive technologies all the body children.
+	 * Initializes the library.
 	 *
-	 * Makes visible again to assistive technologies all the body children
-	 * previously hidden and stored in this.ariaHiddenElements.
+	 * Creates a selection if a library isn't supplied and creates an attachment
+	 * view if no attachment view is supplied.
 	 *
-	 * @since 5.2.3
+	 * @since 3.5.0
 	 *
 	 * @return {void}
 	 */
-	removeAriaHiddenFromBodyChildren: function() {
-		_.each( this.ariaHiddenElements, function( element ) {
-			element.removeAttribute( 'aria-hidden' );
-		} );
+	initialize: function() {
+		// If we haven't been provided a `library`, create a `Selection`.
+		if ( ! this.get('library') ) {
+			this.set( 'library', new wp.media.model.Selection() );
+		}

-		this.ariaHiddenElements = [];
-		this.isBodyAriaHidden   = false;
+		// The single `Attachment` view to be used in the `Attachments` view.
+		if ( ! this.get('AttachmentView') ) {
+			this.set( 'AttachmentView', wp.media.view.Attachment.EditLibrary );
+		}
+
+		Library.prototype.initialize.apply( this, arguments );
 	},

 	/**
-	 * Determines if the passed element should not be hidden from assistive technologies.
+	 * Activates the library.
 	 *
-	 * @since 5.2.3
+	 * Limits the library to images, watches for uploaded attachments. Watches for
+	 * the browse event on the frame and binds it to gallerySettings.
 	 *
-	 * @param {Object} element The DOM element that should be checked.
+	 * @since 3.5.0
 	 *
-	 * @return {boolean} Whether the element should not be hidden from assistive technologies.
+	 * @return {void}
 	 */
-	elementShouldBeHidden: function( element ) {
-		var role = element.getAttribute( 'role' ),
-			liveRegionsRoles = [ 'alert', 'status', 'log', 'marquee', 'timer' ];
+	activate: function() {
+		var library = this.get('library');

-		/*
-		 * Don't hide scripts, elements that already have `aria-hidden`, and
-		 * ARIA live regions.
-		 */
-		return ! (
-			element.tagName === 'SCRIPT' ||
-			element.hasAttribute( 'aria-hidden' ) ||
-			element.hasAttribute( 'aria-live' ) ||
-			liveRegionsRoles.indexOf( role ) !== -1
-		);
-	},
+		// Limit the library to images only.
+		library.props.set( 'type', 'image' );

-	/**
-	 * Whether the body children are hidden from assistive technologies.
-	 *
-	 * @since 5.2.3
-	 */
-	isBodyAriaHidden: false,
+		// Watch for uploaded attachments.
+		this.get('library').observe( wp.Uploader.queue );

-	/**
-	 * Stores an array of DOM elements that should be hidden from assistive
-	 * technologies, for example when the media modal dialog opens.
-	 *
-	 * @since 5.2.3
-	 */
-	ariaHiddenElements: [],
+		this.frame.on( 'content:render:browse', this.gallerySettings, this );

-	/**
-	 * Holds the jQuery collection of ARIA tabs.
-	 *
-	 * @since 5.3.0
-	 */
-	tabs: $(),
+		Library.prototype.activate.apply( this, arguments );
+	},

 	/**
-	 * Sets up tabs in an ARIA tabbed interface.
+	 * Deactivates the library.
 	 *
-	 * @since 5.3.0
+	 * Stops watching for uploaded attachments and browse events.
 	 *
-	 * @param {Object} event jQuery event object.
+	 * @since 3.5.0
 	 *
 	 * @return {void}
 	 */
-	setupAriaTabs: function() {
-		this.tabs = this.$( '[role="tab"]' );
+	deactivate: function() {
+		// Stop watching for uploaded attachments.
+		this.get('library').unobserve( wp.Uploader.queue );

-		// Set up initial attributes.
-		this.tabs.attr( {
-			'aria-selected': 'false',
-			tabIndex: '-1'
-		} );
+		this.frame.off( 'content:render:browse', this.gallerySettings, this );

-		// Set up attributes on the initially active tab.
-		this.tabs.filter( '.active' )
-			.removeAttr( 'tabindex' )
-			.attr( 'aria-selected', 'true' );
+		Library.prototype.deactivate.apply( this, arguments );
 	},

 	/**
-	 * Enables arrows navigation within the ARIA tabbed interface.
+	 * Adds the gallery settings to the sidebar and adds a reverse button to the
+	 * toolbar.
 	 *
-	 * @since 5.3.0
+	 * @since 3.5.0
 	 *
-	 * @param {Object} event jQuery event object.
+	 * @param {wp.media.view.Frame} browser The file browser.
 	 *
 	 * @return {void}
 	 */
-	tabsNavigation: function( event ) {
-		var orientation = 'horizontal',
-			keys = [ 32, 35, 36, 37, 38, 39, 40 ];
-
-		// Return if not Spacebar, End, Home, or Arrow keys.
-		if ( keys.indexOf( event.which ) === -1 ) {
+	gallerySettings: function( browser ) {
+		if ( ! this.get('displaySettings') ) {
 			return;
 		}

-		// Determine navigation direction.
-		if ( this.$el.attr( 'aria-orientation' ) === 'vertical' ) {
-			orientation = 'vertical';
-		}
+		var library = this.get('library');

-		// Make Up and Down arrow keys do nothing with horizontal tabs.
-		if ( orientation === 'horizontal' && [ 38, 40 ].indexOf( event.which ) !== -1 ) {
+		if ( ! library || ! browser ) {
 			return;
 		}

-		// Make Left and Right arrow keys do nothing with vertical tabs.
-		if ( orientation === 'vertical' && [ 37, 39 ].indexOf( event.which ) !== -1 ) {
-			return;
-		}
+		library.gallery = library.gallery || new Backbone.Model();

-		this.switchTabs( event, this.tabs );
-	},
+		browser.sidebar.set({
+			gallery: new wp.media.view.Settings.Gallery({
+				controller: this,
+				model:      library.gallery,
+				priority:   40
+			})
+		});

-	/**
-	 * Switches tabs in the ARIA tabbed interface.
-	 *
-	 * @since 5.3.0
-	 *
-	 * @param {Object} event jQuery event object.
-	 *
-	 * @return {void}
-	 */
-	switchTabs: function( event ) {
-		var key   = event.which,
-			index = this.tabs.index( $( event.target ) ),
-			newIndex;
+		browser.toolbar.set( 'reverse', {
+			text:     l10n.reverseOrder,
+			priority: 80,

-		switch ( key ) {
-			// Space bar: Activate current targeted tab.
-			case 32: {
-				this.activateTab( this.tabs[ index ] );
-				break;
-			}
-			// End key: Activate last tab.
-			case 35: {
-				event.preventDefault();
-				this.activateTab( this.tabs[ this.tabs.length - 1 ] );
-				break;
-			}
-			// Home key: Activate first tab.
-			case 36: {
-				event.preventDefault();
-				this.activateTab( this.tabs[ 0 ] );
-				break;
-			}
-			// Left and up keys: Activate previous tab.
-			case 37:
-			case 38: {
-				event.preventDefault();
-				newIndex = ( index - 1 ) < 0 ? this.tabs.length - 1 : index - 1;
-				this.activateTab( this.tabs[ newIndex ] );
-				break;
-			}
-			// Right and down keys: Activate next tab.
-			case 39:
-			case 40: {
-				event.preventDefault();
-				newIndex = ( index + 1 ) === this.tabs.length ? 0 : index + 1;
-				this.activateTab( this.tabs[ newIndex ] );
-				break;
+			click: function() {
+				library.reset( library.toArray().reverse() );
 			}
-		}
-	},
-
-	/**
-	 * Sets a single tab to be focusable and semantically selected.
-	 *
-	 * @since 5.3.0
-	 *
-	 * @param {Object} tab The tab DOM element.
-	 *
-	 * @return {void}
-	 */
-	activateTab: function( tab ) {
-		if ( ! tab ) {
-			return;
-		}
-
-		// The tab is a DOM element: no need for jQuery methods.
-		tab.focus();
-
-		// Handle automatic activation.
-		if ( this.tabsAutomaticActivation ) {
-			tab.removeAttribute( 'tabindex' );
-			tab.setAttribute( 'aria-selected', 'true' );
-			tab.click();
-
-			return;
-		}
-
-		// Handle manual activation.
-		$( tab ).on( 'click', function() {
-			tab.removeAttribute( 'tabindex' );
-			tab.setAttribute( 'aria-selected', 'true' );
-		} );
- 	}
+		});
+	}
 });

-module.exports = FocusManager;
+module.exports = GalleryEdit;


 /***/ }),

-/***/ "4jjk":
-/***/ (function(module, exports) {
+/***/ 3849:
+/***/ (function(module) {

-var l10n = wp.media.view.l10n,
-	Uploaded;
+var State = wp.media.controller.State,
+	Library = wp.media.controller.Library,
+	l10n = wp.media.view.l10n,
+	ImageDetails;

 /**
- * wp.media.view.AttachmentFilters.Uploaded
+ * wp.media.controller.ImageDetails
  *
- * @memberOf wp.media.view.AttachmentFilters
+ * A state for editing the attachment display settings of an image that's been
+ * inserted into the editor.
+ *
+ * @memberOf wp.media.controller
  *
  * @class
- * @augments wp.media.view.AttachmentFilters
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ *
+ * @param {object}                    [attributes]                       The attributes hash passed to the state.
+ * @param {string}                    [attributes.id=image-details]      Unique identifier.
+ * @param {string}                    [attributes.title=Image Details]   Title for the state. Displays in the frame's title region.
+ * @param {wp.media.model.Attachment} attributes.image                   The image's model.
+ * @param {string|false}              [attributes.content=image-details] Initial mode for the content region.
+ * @param {string|false}              [attributes.menu=false]            Initial mode for the menu region.
+ * @param {string|false}              [attributes.router=false]          Initial mode for the router region.
+ * @param {string|false}              [attributes.toolbar=image-details] Initial mode for the toolbar region.
+ * @param {boolean}                   [attributes.editing=false]         Unused.
+ * @param {int}                       [attributes.priority=60]           Unused.
+ *
+ * @todo This state inherits some defaults from media.controller.Library.prototype.defaults,
+ *       however this may not do anything.
  */
-Uploaded = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.Uploaded.prototype */{
-	createFilters: function() {
-		var type = this.model.get('type'),
-			types = wp.media.view.settings.mimeTypes,
-			uid = window.userSettings ? parseInt( window.userSettings.uid, 10 ) : 0,
-			text;
-
-		if ( types && type ) {
-			text = types[ type ];
-		}
-
-		this.filters = {
-			all: {
-				text:  text || l10n.allMediaItems,
-				props: {
-					uploadedTo: null,
-					orderby: 'date',
-					order:   'DESC',
-					author:	 null
-				},
-				priority: 10
-			},
-
-			uploaded: {
-				text:  l10n.uploadedToThisPost,
-				props: {
-					uploadedTo: wp.media.view.settings.post.id,
-					orderby: 'menuOrder',
-					order:   'ASC',
-					author:	 null
-				},
-				priority: 20
-			},
+ImageDetails = State.extend(/** @lends wp.media.controller.ImageDetails.prototype */{
+	defaults: _.defaults({
+		id:       'image-details',
+		title:    l10n.imageDetailsTitle,
+		content:  'image-details',
+		menu:     false,
+		router:   false,
+		toolbar:  'image-details',
+		editing:  false,
+		priority: 60
+	}, Library.prototype.defaults ),

-			unattached: {
-				text:  l10n.unattached,
-				props: {
-					uploadedTo: 0,
-					orderby: 'menuOrder',
-					order:   'ASC',
-					author:	 null
-				},
-				priority: 50
-			}
-		};
+	/**
+	 * @since 3.9.0
+	 *
+	 * @param options Attributes
+	 */
+	initialize: function( options ) {
+		this.image = options.image;
+		State.prototype.initialize.apply( this, arguments );
+	},

-		if ( uid ) {
-			this.filters.mine = {
-				text:  l10n.mine,
-				props: {
-					orderby: 'date',
-					order:   'DESC',
-					author:  uid
-				},
-				priority: 50
-			};
-		}
+	/**
+	 * @since 3.9.0
+	 */
+	activate: function() {
+		this.frame.modal.$el.addClass('image-details');
 	}
 });

-module.exports = Uploaded;
+module.exports = ImageDetails;


 /***/ }),

-/***/ "4tHu":
-/***/ (function(module, exports) {
+/***/ 9024:
+/***/ (function(module) {

 var l10n = wp.media.view.l10n,
-	EditImage;
+	getUserSetting = window.getUserSetting,
+	setUserSetting = window.setUserSetting,
+	Library;

 /**
- * wp.media.controller.EditImage
+ * wp.media.controller.Library
  *
- * A state for editing (cropping, etc.) an image.
+ * A state for choosing an attachment or group of attachments from the media library.
  *
  * @memberOf wp.media.controller
  *
  * @class
  * @augments wp.media.controller.State
  * @augments Backbone.Model
+ * @mixes media.selectionSync
  *
- * @param {object}                    attributes                      The attributes hash passed to the state.
- * @param {wp.media.model.Attachment} attributes.model                The attachment.
- * @param {string}                    [attributes.id=edit-image]      Unique identifier.
- * @param {string}                    [attributes.title=Edit Image]   Title for the state. Displays in the media menu and the frame's title region.
- * @param {string}                    [attributes.content=edit-image] Initial mode for the content region.
- * @param {string}                    [attributes.toolbar=edit-image] Initial mode for the toolbar region.
- * @param {string}                    [attributes.menu=false]         Initial mode for the menu region.
- * @param {string}                    [attributes.url]                Unused. @todo Consider removal.
+ * @param {object}                          [attributes]                         The attributes hash passed to the state.
+ * @param {string}                          [attributes.id=library]              Unique identifier.
+ * @param {string}                          [attributes.title=Media library]     Title for the state. Displays in the media menu and the frame's title region.
+ * @param {wp.media.model.Attachments}      [attributes.library]                 The attachments collection to browse.
+ *                                                                               If one is not supplied, a collection of all attachments will be created.
+ * @param {wp.media.model.Selection|object} [attributes.selection]               A collection to contain attachment selections within the state.
+ *                                                                               If the 'selection' attribute is a plain JS object,
+ *                                                                               a Selection will be created using its values as the selection instance's `props` model.
+ *                                                                               Otherwise, it will copy the library's `props` model.
+ * @param {boolean}                         [attributes.multiple=false]          Whether multi-select is enabled.
+ * @param {string}                          [attributes.content=upload]          Initial mode for the content region.
+ *                                                                               Overridden by persistent user setting if 'contentUserSetting' is true.
+ * @param {string}                          [attributes.menu=default]            Initial mode for the menu region.
+ * @param {string}                          [attributes.router=browse]           Initial mode for the router region.
+ * @param {string}                          [attributes.toolbar=select]          Initial mode for the toolbar region.
+ * @param {boolean}                         [attributes.searchable=true]         Whether the library is searchable.
+ * @param {boolean|string}                  [attributes.filterable=false]        Whether the library is filterable, and if so what filters should be shown.
+ *                                                                               Accepts 'all', 'uploaded', or 'unattached'.
+ * @param {boolean}                         [attributes.sortable=true]           Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
+ * @param {boolean}                         [attributes.autoSelect=true]         Whether an uploaded attachment should be automatically added to the selection.
+ * @param {boolean}                         [attributes.describe=false]          Whether to offer UI to describe attachments - e.g. captioning images in a gallery.
+ * @param {boolean}                         [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
+ * @param {boolean}                         [attributes.syncSelection=true]      Whether the Attachments selection should be persisted from the last state.
  */
-EditImage = wp.media.controller.State.extend(/** @lends wp.media.controller.EditImage.prototype */{
+Library = wp.media.controller.State.extend(/** @lends wp.media.controller.Library.prototype */{
 	defaults: {
-		id:      'edit-image',
-		title:   l10n.editImage,
-		menu:    false,
-		toolbar: 'edit-image',
-		content: 'edit-image',
-		url:     ''
+		id:                 'library',
+		title:              l10n.mediaLibraryTitle,
+		multiple:           false,
+		content:            'upload',
+		menu:               'default',
+		router:             'browse',
+		toolbar:            'select',
+		searchable:         true,
+		filterable:         false,
+		sortable:           true,
+		autoSelect:         true,
+		describe:           false,
+		contentUserSetting: true,
+		syncSelection:      true
 	},

 	/**
-	 * Activates a frame for editing a featured image.
-	 *
-	 * @since 3.9.0
+	 * If a library isn't provided, query all media items.
+	 * If a selection instance isn't provided, create one.
 	 *
-	 * @return {void}
+	 * @since 3.5.0
 	 */
-	activate: function() {
-		this.frame.on( 'toolbar:render:edit-image', _.bind( this.toolbar, this ) );
+	initialize: function() {
+		var selection = this.get('selection'),
+			props;
+
+		if ( ! this.get('library') ) {
+			this.set( 'library', wp.media.query() );
+		}
+
+		if ( ! ( selection instanceof wp.media.model.Selection ) ) {
+			props = selection;
+
+			if ( ! props ) {
+				props = this.get('library').props.toJSON();
+				props = _.omit( props, 'orderby', 'query' );
+			}
+
+			this.set( 'selection', new wp.media.model.Selection( null, {
+				multiple: this.get('multiple'),
+				props: props
+			}) );
+		}
+
+		this.resetDisplays();
 	},

 	/**
-	 * Deactivates a frame for editing a featured image.
-	 *
-	 * @since 3.9.0
-	 *
-	 * @return {void}
+	 * @since 3.5.0
 	 */
-	deactivate: function() {
-		this.frame.off( 'toolbar:render:edit-image' );
+	activate: function() {
+		this.syncSelection();
+
+		wp.Uploader.queue.on( 'add', this.uploading, this );
+
+		this.get('selection').on( 'add remove reset', this.refreshContent, this );
+
+		if ( this.get( 'router' ) && this.get('contentUserSetting') ) {
+			this.frame.on( 'content:activate', this.saveContentMode, this );
+			this.set( 'content', getUserSetting( 'libraryContent', this.get('content') ) );
+		}
 	},

 	/**
-	 * Adds a toolbar with a back button.
-	 *
-	 * When the back button is pressed it checks whether there is a previous state.
-	 * In case there is a previous state it sets that previous state otherwise it
-	 * closes the frame.
-	 *
-	 * @since 3.9.0
-	 *
-	 * @return {void}
+	 * @since 3.5.0
 	 */
-	toolbar: function() {
-		var frame = this.frame,
-			lastState = frame.lastState(),
-			previous = lastState && lastState.id;
-
-		frame.toolbar.set( new wp.media.view.Toolbar({
-			controller: frame,
-			items: {
-				back: {
-					style: 'primary',
-					text:     l10n.back,
-					priority: 20,
-					click:    function() {
-						if ( previous ) {
-							frame.setState( previous );
-						} else {
-							frame.close();
-						}
-					}
-				}
-			}
-		}) );
-	}
-});
-
-module.exports = EditImage;
+	deactivate: function() {
+		this.recordSelection();

+		this.frame.off( 'content:activate', this.saveContentMode, this );

-/***/ }),
+		// Unbind all event handlers that use this state as the context
+		// from the selection.
+		this.get('selection').off( null, null, this );

-/***/ "6B7g":
-/***/ (function(module, exports) {
+		wp.Uploader.queue.off( null, null, this );
+	},

-var Select = wp.media.view.MediaFrame.Select,
-	Library = wp.media.controller.Library,
-	l10n = wp.media.view.l10n,
-	Post;
+	/**
+	 * Reset the library to its initial state.
+	 *
+	 * @since 3.5.0
+	 */
+	reset: function() {
+		this.get('selection').reset();
+		this.resetDisplays();
+		this.refreshContent();
+	},

-/**
- * wp.media.view.MediaFrame.Post
- *
- * The frame for manipulating media on the Edit Post page.
- *
- * @memberOf wp.media.view.MediaFrame
- *
- * @class
- * @augments wp.media.view.MediaFrame.Select
- * @augments wp.media.view.MediaFrame
- * @augments wp.media.view.Frame
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- * @mixes wp.media.controller.StateMachine
- */
-Post = Select.extend(/** @lends wp.media.view.MediaFrame.Post.prototype */{
-	initialize: function() {
-		this.counts = {
-			audio: {
-				count: wp.media.view.settings.attachmentCounts.audio,
-				state: 'playlist'
-			},
-			video: {
-				count: wp.media.view.settings.attachmentCounts.video,
-				state: 'video-playlist'
-			}
+	/**
+	 * Reset the attachment display settings defaults to the site options.
+	 *
+	 * If site options don't define them, fall back to a persistent user setting.
+	 *
+	 * @since 3.5.0
+	 */
+	resetDisplays: function() {
+		var defaultProps = wp.media.view.settings.defaultProps;
+		this._displays = [];
+		this._defaultDisplaySettings = {
+			align: getUserSetting( 'align', defaultProps.align ) || 'none',
+			size:  getUserSetting( 'imgsize', defaultProps.size ) || 'medium',
+			link:  getUserSetting( 'urlbutton', defaultProps.link ) || 'none'
 		};
+	},

-		_.defaults( this.options, {
-			multiple:  true,
-			editing:   false,
-			state:    'insert',
-			metadata:  {}
-		});
-
-		// Call 'initialize' directly on the parent class.
-		Select.prototype.initialize.apply( this, arguments );
-		this.createIframeStates();
+	/**
+	 * Create a model to represent display settings (alignment, etc.) for an attachment.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {wp.media.model.Attachment} attachment
+	 * @return {Backbone.Model}
+	 */
+	display: function( attachment ) {
+		var displays = this._displays;

+		if ( ! displays[ attachment.cid ] ) {
+			displays[ attachment.cid ] = new Backbone.Model( this.defaultDisplaySettings( attachment ) );
+		}
+		return displays[ attachment.cid ];
 	},

 	/**
-	 * Create the default states.
+	 * Given an attachment, create attachment display settings properties.
+	 *
+	 * @since 3.6.0
+	 *
+	 * @param {wp.media.model.Attachment} attachment
+	 * @return {Object}
 	 */
-	createStates: function() {
-		var options = this.options;
+	defaultDisplaySettings: function( attachment ) {
+		var settings = _.clone( this._defaultDisplaySettings );

-		this.states.add([
-			// Main states.
-			new Library({
-				id:         'insert',
-				title:      l10n.insertMediaTitle,
-				priority:   20,
-				toolbar:    'main-insert',
-				filterable: 'all',
-				library:    wp.media.query( options.library ),
-				multiple:   options.multiple ? 'reset' : false,
-				editable:   true,
+		settings.canEmbed = this.canEmbed( attachment );
+		if ( settings.canEmbed ) {
+			settings.link = 'embed';
+		} else if ( ! this.isImageAttachment( attachment ) && settings.link === 'none' ) {
+			settings.link = 'file';
+		}

-				// If the user isn't allowed to edit fields,
-				// can they still edit it locally?
-				allowLocalEdits: true,
+		return settings;
+	},

-				// Show the attachment display settings.
-				displaySettings: true,
-				// Update user settings when users adjust the
-				// attachment display settings.
-				displayUserSettings: true
-			}),
+	/**
+	 * Whether an attachment is image.
+	 *
+	 * @since 4.4.1
+	 *
+	 * @param {wp.media.model.Attachment} attachment
+	 * @return {boolean}
+	 */
+	isImageAttachment: function( attachment ) {
+		// If uploading, we know the filename but not the mime type.
+		if ( attachment.get('uploading') ) {
+			return /\.(jpe?g|png|gif|webp)$/i.test( attachment.get('filename') );
+		}

-			new Library({
-				id:         'gallery',
-				title:      l10n.createGalleryTitle,
-				priority:   40,
-				toolbar:    'main-gallery',
-				filterable: 'uploaded',
-				multiple:   'add',
-				editable:   false,
+		return attachment.get('type') === 'image';
+	},

-				library:  wp.media.query( _.defaults({
-					type: 'image'
-				}, options.library ) )
-			}),
+	/**
+	 * Whether an attachment can be embedded (audio or video).
+	 *
+	 * @since 3.6.0
+	 *
+	 * @param {wp.media.model.Attachment} attachment
+	 * @return {boolean}
+	 */
+	canEmbed: function( attachment ) {
+		// If uploading, we know the filename but not the mime type.
+		if ( ! attachment.get('uploading') ) {
+			var type = attachment.get('type');
+			if ( type !== 'audio' && type !== 'video' ) {
+				return false;
+			}
+		}

-			// Embed states.
-			new wp.media.controller.Embed( { metadata: options.metadata } ),
+		return _.contains( wp.media.view.settings.embedExts, attachment.get('filename').split('.').pop() );
+	},

-			new wp.media.controller.EditImage( { model: options.editImage } ),

-			// Gallery states.
-			new wp.media.controller.GalleryEdit({
-				library: options.selection,
-				editing: options.editing,
-				menu:    'gallery'
-			}),
-
-			new wp.media.controller.GalleryAdd(),
-
-			new Library({
-				id:         'playlist',
-				title:      l10n.createPlaylistTitle,
-				priority:   60,
-				toolbar:    'main-playlist',
-				filterable: 'uploaded',
-				multiple:   'add',
-				editable:   false,
-
-				library:  wp.media.query( _.defaults({
-					type: 'audio'
-				}, options.library ) )
-			}),
-
-			// Playlist states.
-			new wp.media.controller.CollectionEdit({
-				type: 'audio',
-				collectionType: 'playlist',
-				title:          l10n.editPlaylistTitle,
-				SettingsView:   wp.media.view.Settings.Playlist,
-				library:        options.selection,
-				editing:        options.editing,
-				menu:           'playlist',
-				dragInfoText:   l10n.playlistDragInfo,
-				dragInfo:       false
-			}),
-
-			new wp.media.controller.CollectionAdd({
-				type: 'audio',
-				collectionType: 'playlist',
-				title: l10n.addToPlaylistTitle
-			}),
-
-			new Library({
-				id:         'video-playlist',
-				title:      l10n.createVideoPlaylistTitle,
-				priority:   60,
-				toolbar:    'main-video-playlist',
-				filterable: 'uploaded',
-				multiple:   'add',
-				editable:   false,
+	/**
+	 * If the state is active, no items are selected, and the current
+	 * content mode is not an option in the state's router (provided
+	 * the state has a router), reset the content mode to the default.
+	 *
+	 * @since 3.5.0
+	 */
+	refreshContent: function() {
+		var selection = this.get('selection'),
+			frame = this.frame,
+			router = frame.router.get(),
+			mode = frame.content.mode();

-				library:  wp.media.query( _.defaults({
-					type: 'video'
-				}, options.library ) )
-			}),
+		if ( this.active && ! selection.length && router && ! router.get( mode ) ) {
+			this.frame.content.render( this.get('content') );
+		}
+	},

-			new wp.media.controller.CollectionEdit({
-				type: 'video',
-				collectionType: 'playlist',
-				title:          l10n.editVideoPlaylistTitle,
-				SettingsView:   wp.media.view.Settings.Playlist,
-				library:        options.selection,
-				editing:        options.editing,
-				menu:           'video-playlist',
-				dragInfoText:   l10n.videoPlaylistDragInfo,
-				dragInfo:       false
-			}),
+	/**
+	 * Callback handler when an attachment is uploaded.
+	 *
+	 * Switch to the Media Library if uploaded from the 'Upload Files' tab.
+	 *
+	 * Adds any uploading attachments to the selection.
+	 *
+	 * If the state only supports one attachment to be selected and multiple
+	 * attachments are uploaded, the last attachment in the upload queue will
+	 * be selected.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {wp.media.model.Attachment} attachment
+	 */
+	uploading: function( attachment ) {
+		var content = this.frame.content;

-			new wp.media.controller.CollectionAdd({
-				type: 'video',
-				collectionType: 'playlist',
-				title: l10n.addToVideoPlaylistTitle
-			})
-		]);
+		if ( 'upload' === content.mode() ) {
+			this.frame.content.mode('browse');
+		}

-		if ( wp.media.view.settings.post.featuredImageId ) {
-			this.states.add( new wp.media.controller.FeaturedImage() );
+		if ( this.get( 'autoSelect' ) ) {
+			this.get('selection').add( attachment );
+			this.frame.trigger( 'library:selection:add' );
 		}
 	},

-	bindHandlers: function() {
-		var handlers, checkCounts;
+	/**
+	 * Persist the mode of the content region as a user setting.
+	 *
+	 * @since 3.5.0
+	 */
+	saveContentMode: function() {
+		if ( 'browse' !== this.get('router') ) {
+			return;
+		}

-		Select.prototype.bindHandlers.apply( this, arguments );
+		var mode = this.frame.content.mode(),
+			view = this.frame.router.get();

-		this.on( 'activate', this.activate, this );
+		if ( view && view.get( mode ) ) {
+			setUserSetting( 'libraryContent', mode );
+		}
+	}

-		// Only bother checking media type counts if one of the counts is zero.
-		checkCounts = _.find( this.counts, function( type ) {
-			return type.count === 0;
-		} );
+});

-		if ( typeof checkCounts !== 'undefined' ) {
-			this.listenTo( wp.media.model.Attachments.all, 'change:type', this.mediaTypeCounts );
-		}
+// Make selectionSync available on any Media Library state.
+_.extend( Library.prototype, wp.media.selectionSync );

-		this.on( 'menu:create:gallery', this.createMenu, this );
-		this.on( 'menu:create:playlist', this.createMenu, this );
-		this.on( 'menu:create:video-playlist', this.createMenu, this );
-		this.on( 'toolbar:create:main-insert', this.createToolbar, this );
-		this.on( 'toolbar:create:main-gallery', this.createToolbar, this );
-		this.on( 'toolbar:create:main-playlist', this.createToolbar, this );
-		this.on( 'toolbar:create:main-video-playlist', this.createToolbar, this );
-		this.on( 'toolbar:create:featured-image', this.featuredImageToolbar, this );
-		this.on( 'toolbar:create:main-embed', this.mainEmbedToolbar, this );
+module.exports = Library;

-		handlers = {
-			menu: {
-				'default': 'mainMenu',
-				'gallery': 'galleryMenu',
-				'playlist': 'playlistMenu',
-				'video-playlist': 'videoPlaylistMenu'
-			},

-			content: {
-				'embed':          'embedContent',
-				'edit-image':     'editImageContent',
-				'edit-selection': 'editSelectionContent'
-			},
+/***/ }),

-			toolbar: {
-				'main-insert':      'mainInsertToolbar',
-				'main-gallery':     'mainGalleryToolbar',
-				'gallery-edit':     'galleryEditToolbar',
-				'gallery-add':      'galleryAddToolbar',
-				'main-playlist':	'mainPlaylistToolbar',
-				'playlist-edit':	'playlistEditToolbar',
-				'playlist-add':		'playlistAddToolbar',
-				'main-video-playlist': 'mainVideoPlaylistToolbar',
-				'video-playlist-edit': 'videoPlaylistEditToolbar',
-				'video-playlist-add': 'videoPlaylistAddToolbar'
-			}
-		};
+/***/ 3742:
+/***/ (function(module) {

-		_.each( handlers, function( regionHandlers, region ) {
-			_.each( regionHandlers, function( callback, handler ) {
-				this.on( region + ':render:' + handler, this[ callback ], this );
-			}, this );
-		}, this );
-	},
+/**
+ * wp.media.controller.MediaLibrary
+ *
+ * @memberOf wp.media.controller
+ *
+ * @class
+ * @augments wp.media.controller.Library
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
+ */
+var Library = wp.media.controller.Library,
+	MediaLibrary;

-	activate: function() {
-		// Hide menu items for states tied to particular media types if there are no items.
-		_.each( this.counts, function( type ) {
-			if ( type.count < 1 ) {
-				this.menuItemVisibility( type.state, 'hide' );
-			}
-		}, this );
-	},
+MediaLibrary = Library.extend(/** @lends wp.media.controller.MediaLibrary.prototype */{
+	defaults: _.defaults({
+		// Attachments browser defaults. @see media.view.AttachmentsBrowser
+		filterable:      'uploaded',

-	mediaTypeCounts: function( model, attr ) {
-		if ( typeof this.counts[ attr ] !== 'undefined' && this.counts[ attr ].count < 1 ) {
-			this.counts[ attr ].count++;
-			this.menuItemVisibility( this.counts[ attr ].state, 'show' );
-		}
-	},
+		displaySettings: false,
+		priority:        80,
+		syncSelection:   false
+	}, Library.prototype.defaults ),

-	// Menus.
 	/**
-	 * @param {wp.Backbone.View} view
+	 * @since 3.9.0
+	 *
+	 * @param options
 	 */
-	mainMenu: function( view ) {
-		view.set({
-			'library-separator': new wp.media.View({
-				className:  'separator',
-				priority:   100,
-				attributes: {
-					role: 'presentation'
-				}
-			})
-		});
-	},
+	initialize: function( options ) {
+		this.media = options.media;
+		this.type = options.type;
+		this.set( 'library', wp.media.query({ type: this.type }) );

-	menuItemVisibility: function( state, visibility ) {
-		var menu = this.menu.get();
-		if ( visibility === 'hide' ) {
-			menu.hide( state );
-		} else if ( visibility === 'show' ) {
-			menu.show( state );
-		}
+		Library.prototype.initialize.apply( this, arguments );
 	},
+
 	/**
-	 * @param {wp.Backbone.View} view
+	 * @since 3.9.0
 	 */
-	galleryMenu: function( view ) {
-		var lastState = this.lastState(),
-			previous = lastState && lastState.id,
-			frame = this;
-
-		view.set({
-			cancel: {
-				text:     l10n.cancelGalleryTitle,
-				priority: 20,
-				click:    function() {
-					if ( previous ) {
-						frame.setState( previous );
-					} else {
-						frame.close();
-					}
-
-					// Move focus to the modal after canceling a Gallery.
-					this.controller.modal.focusManager.focus();
-				}
-			},
-			separateCancel: new wp.media.View({
-				className: 'separator',
-				priority: 40
-			})
-		});
-	},
-
-	playlistMenu: function( view ) {
-		var lastState = this.lastState(),
-			previous = lastState && lastState.id,
-			frame = this;
-
-		view.set({
-			cancel: {
-				text:     l10n.cancelPlaylistTitle,
-				priority: 20,
-				click:    function() {
-					if ( previous ) {
-						frame.setState( previous );
-					} else {
-						frame.close();
-					}
-
-					// Move focus to the modal after canceling an Audio Playlist.
-					this.controller.modal.focusManager.focus();
-				}
-			},
-			separateCancel: new wp.media.View({
-				className: 'separator',
-				priority: 40
-			})
-		});
-	},
-
-	videoPlaylistMenu: function( view ) {
-		var lastState = this.lastState(),
-			previous = lastState && lastState.id,
-			frame = this;
-
-		view.set({
-			cancel: {
-				text:     l10n.cancelVideoPlaylistTitle,
-				priority: 20,
-				click:    function() {
-					if ( previous ) {
-						frame.setState( previous );
-					} else {
-						frame.close();
-					}
-
-					// Move focus to the modal after canceling a Video Playlist.
-					this.controller.modal.focusManager.focus();
-				}
-			},
-			separateCancel: new wp.media.View({
-				className: 'separator',
-				priority: 40
-			})
-		});
-	},
-
-	// Content.
-	embedContent: function() {
-		var view = new wp.media.view.Embed({
-			controller: this,
-			model:      this.state()
-		}).render();
-
-		this.content.set( view );
-	},
-
-	editSelectionContent: function() {
-		var state = this.state(),
-			selection = state.get('selection'),
-			view;
-
-		view = new wp.media.view.AttachmentsBrowser({
-			controller: this,
-			collection: selection,
-			selection:  selection,
-			model:      state,
-			sortable:   true,
-			search:     false,
-			date:       false,
-			dragInfo:   true,
-
-			AttachmentView: wp.media.view.Attachments.EditSelection
-		}).render();
-
-		view.toolbar.set( 'backToLibrary', {
-			text:     l10n.returnToLibrary,
-			priority: -100,
-
-			click: function() {
-				this.controller.content.mode('browse');
-				// Move focus to the modal when jumping back from Edit Selection to Add Media view.
-				this.controller.modal.focusManager.focus();
-			}
-		});
-
-		// Browse our library of attachments.
-		this.content.set( view );
-
-		// Trigger the controller to set focus.
-		this.trigger( 'edit:selection', this );
-	},
-
-	editImageContent: function() {
-		var image = this.state().get('image'),
-			view = new wp.media.view.EditImage( { model: image, controller: this } ).render();
-
-		this.content.set( view );
-
-		// After creating the wrapper view, load the actual editor via an Ajax call.
-		view.loadEditor();
-
-	},
-
-	// Toolbars.
-
-	/**
-	 * @param {wp.Backbone.View} view
-	 */
-	selectionStatusToolbar: function( view ) {
-		var editable = this.state().get('editable');
-
-		view.set( 'selection', new wp.media.view.Selection({
-			controller: this,
-			collection: this.state().get('selection'),
-			priority:   -40,
-
-			// If the selection is editable, pass the callback to
-			// switch the content mode.
-			editable: editable && function() {
-				this.controller.content.mode('edit-selection');
-			}
-		}).render() );
-	},
-
-	/**
-	 * @param {wp.Backbone.View} view
-	 */
-	mainInsertToolbar: function( view ) {
-		var controller = this;
-
-		this.selectionStatusToolbar( view );
-
-		view.set( 'insert', {
-			style:    'primary',
-			priority: 80,
-			text:     l10n.insertIntoPost,
-			requires: { selection: true },
-
-			/**
-			 * @ignore
-			 *
-			 * @fires wp.media.controller.State#insert
-			 */
-			click: function() {
-				var state = controller.state(),
-					selection = state.get('selection');
-
-				controller.close();
-				state.trigger( 'insert', selection ).reset();
-			}
-		});
-	},
-
-	/**
-	 * @param {wp.Backbone.View} view
-	 */
-	mainGalleryToolbar: function( view ) {
-		var controller = this;
-
-		this.selectionStatusToolbar( view );
-
-		view.set( 'gallery', {
-			style:    'primary',
-			text:     l10n.createNewGallery,
-			priority: 60,
-			requires: { selection: true },
-
-			click: function() {
-				var selection = controller.state().get('selection'),
-					edit = controller.state('gallery-edit'),
-					models = selection.where({ type: 'image' });
-
-				edit.set( 'library', new wp.media.model.Selection( models, {
-					props:    selection.props.toJSON(),
-					multiple: true
-				}) );
-
-				// Jump to Edit Gallery view.
-				this.controller.setState( 'gallery-edit' );
-
-				// Move focus to the modal after jumping to Edit Gallery view.
-				this.controller.modal.focusManager.focus();
-			}
-		});
-	},
-
-	mainPlaylistToolbar: function( view ) {
-		var controller = this;
-
-		this.selectionStatusToolbar( view );
-
-		view.set( 'playlist', {
-			style:    'primary',
-			text:     l10n.createNewPlaylist,
-			priority: 100,
-			requires: { selection: true },
-
-			click: function() {
-				var selection = controller.state().get('selection'),
-					edit = controller.state('playlist-edit'),
-					models = selection.where({ type: 'audio' });
-
-				edit.set( 'library', new wp.media.model.Selection( models, {
-					props:    selection.props.toJSON(),
-					multiple: true
-				}) );
-
-				// Jump to Edit Audio Playlist view.
-				this.controller.setState( 'playlist-edit' );
-
-				// Move focus to the modal after jumping to Edit Audio Playlist view.
-				this.controller.modal.focusManager.focus();
-			}
-		});
-	},
-
-	mainVideoPlaylistToolbar: function( view ) {
-		var controller = this;
-
-		this.selectionStatusToolbar( view );
-
-		view.set( 'video-playlist', {
-			style:    'primary',
-			text:     l10n.createNewVideoPlaylist,
-			priority: 100,
-			requires: { selection: true },
-
-			click: function() {
-				var selection = controller.state().get('selection'),
-					edit = controller.state('video-playlist-edit'),
-					models = selection.where({ type: 'video' });
-
-				edit.set( 'library', new wp.media.model.Selection( models, {
-					props:    selection.props.toJSON(),
-					multiple: true
-				}) );
-
-				// Jump to Edit Video Playlist view.
-				this.controller.setState( 'video-playlist-edit' );
-
-				// Move focus to the modal after jumping to Edit Video Playlist view.
-				this.controller.modal.focusManager.focus();
-			}
-		});
-	},
-
-	featuredImageToolbar: function( toolbar ) {
-		this.createSelectToolbar( toolbar, {
-			text:  l10n.setFeaturedImage,
-			state: this.options.state
-		});
-	},
-
-	mainEmbedToolbar: function( toolbar ) {
-		toolbar.view = new wp.media.view.Toolbar.Embed({
-			controller: this
-		});
-	},
-
-	galleryEditToolbar: function() {
-		var editing = this.state().get('editing');
-		this.toolbar.set( new wp.media.view.Toolbar({
-			controller: this,
-			items: {
-				insert: {
-					style:    'primary',
-					text:     editing ? l10n.updateGallery : l10n.insertGallery,
-					priority: 80,
-					requires: { library: true },
-
-					/**
-					 * @fires wp.media.controller.State#update
-					 */
-					click: function() {
-						var controller = this.controller,
-							state = controller.state();
-
-						controller.close();
-						state.trigger( 'update', state.get('library') );
-
-						// Restore and reset the default state.
-						controller.setState( controller.options.state );
-						controller.reset();
-					}
-				}
-			}
-		}) );
-	},
-
-	galleryAddToolbar: function() {
-		this.toolbar.set( new wp.media.view.Toolbar({
-			controller: this,
-			items: {
-				insert: {
-					style:    'primary',
-					text:     l10n.addToGallery,
-					priority: 80,
-					requires: { selection: true },
-
-					/**
-					 * @fires wp.media.controller.State#reset
-					 */
-					click: function() {
-						var controller = this.controller,
-							state = controller.state(),
-							edit = controller.state('gallery-edit');
-
-						edit.get('library').add( state.get('selection').models );
-						state.trigger('reset');
-						controller.setState('gallery-edit');
-						// Move focus to the modal when jumping back from Add to Gallery to Edit Gallery view.
-						this.controller.modal.focusManager.focus();
-					}
-				}
-			}
-		}) );
-	},
-
-	playlistEditToolbar: function() {
-		var editing = this.state().get('editing');
-		this.toolbar.set( new wp.media.view.Toolbar({
-			controller: this,
-			items: {
-				insert: {
-					style:    'primary',
-					text:     editing ? l10n.updatePlaylist : l10n.insertPlaylist,
-					priority: 80,
-					requires: { library: true },
-
-					/**
-					 * @fires wp.media.controller.State#update
-					 */
-					click: function() {
-						var controller = this.controller,
-							state = controller.state();
-
-						controller.close();
-						state.trigger( 'update', state.get('library') );
-
-						// Restore and reset the default state.
-						controller.setState( controller.options.state );
-						controller.reset();
-					}
-				}
-			}
-		}) );
-	},
-
-	playlistAddToolbar: function() {
-		this.toolbar.set( new wp.media.view.Toolbar({
-			controller: this,
-			items: {
-				insert: {
-					style:    'primary',
-					text:     l10n.addToPlaylist,
-					priority: 80,
-					requires: { selection: true },
-
-					/**
-					 * @fires wp.media.controller.State#reset
-					 */
-					click: function() {
-						var controller = this.controller,
-							state = controller.state(),
-							edit = controller.state('playlist-edit');
-
-						edit.get('library').add( state.get('selection').models );
-						state.trigger('reset');
-						controller.setState('playlist-edit');
-						// Move focus to the modal when jumping back from Add to Audio Playlist to Edit Audio Playlist view.
-						this.controller.modal.focusManager.focus();
-					}
-				}
-			}
-		}) );
-	},
-
-	videoPlaylistEditToolbar: function() {
-		var editing = this.state().get('editing');
-		this.toolbar.set( new wp.media.view.Toolbar({
-			controller: this,
-			items: {
-				insert: {
-					style:    'primary',
-					text:     editing ? l10n.updateVideoPlaylist : l10n.insertVideoPlaylist,
-					priority: 140,
-					requires: { library: true },
-
-					click: function() {
-						var controller = this.controller,
-							state = controller.state(),
-							library = state.get('library');
-
-						library.type = 'video';
-
-						controller.close();
-						state.trigger( 'update', library );
-
-						// Restore and reset the default state.
-						controller.setState( controller.options.state );
-						controller.reset();
-					}
-				}
-			}
-		}) );
-	},
-
-	videoPlaylistAddToolbar: function() {
-		this.toolbar.set( new wp.media.view.Toolbar({
-			controller: this,
-			items: {
-				insert: {
-					style:    'primary',
-					text:     l10n.addToVideoPlaylist,
-					priority: 140,
-					requires: { selection: true },
-
-					click: function() {
-						var controller = this.controller,
-							state = controller.state(),
-							edit = controller.state('video-playlist-edit');
-
-						edit.get('library').add( state.get('selection').models );
-						state.trigger('reset');
-						controller.setState('video-playlist-edit');
-						// Move focus to the modal when jumping back from Add to Video Playlist to Edit Video Playlist view.
-						this.controller.modal.focusManager.focus();
-					}
-				}
-			}
-		}) );
-	}
-});
-
-module.exports = Post;
-
-
-/***/ }),
-
-/***/ "72mI":
-/***/ (function(module, exports) {
-
-var View = wp.media.View,
-	mediaTrash = wp.media.view.settings.mediaTrash,
-	l10n = wp.media.view.l10n,
-	$ = jQuery,
-	AttachmentsBrowser,
-	infiniteScrolling = wp.media.view.settings.infiniteScrolling,
-	__ = wp.i18n.__,
-	sprintf = wp.i18n.sprintf;
-
-/**
- * wp.media.view.AttachmentsBrowser
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- *
- * @param {object}         [options]               The options hash passed to the view.
- * @param {boolean|string} [options.filters=false] Which filters to show in the browser's toolbar.
- *                                                 Accepts 'uploaded' and 'all'.
- * @param {boolean}        [options.search=true]   Whether to show the search interface in the
- *                                                 browser's toolbar.
- * @param {boolean}        [options.date=true]     Whether to show the date filter in the
- *                                                 browser's toolbar.
- * @param {boolean}        [options.display=false] Whether to show the attachments display settings
- *                                                 view in the sidebar.
- * @param {boolean|string} [options.sidebar=true]  Whether to create a sidebar for the browser.
- *                                                 Accepts true, false, and 'errors'.
- */
-AttachmentsBrowser = View.extend(/** @lends wp.media.view.AttachmentsBrowser.prototype */{
-	tagName:   'div',
-	className: 'attachments-browser',
-
-	initialize: function() {
-		_.defaults( this.options, {
-			filters: false,
-			search:  true,
-			date:    true,
-			display: false,
-			sidebar: true,
-			AttachmentView: wp.media.view.Attachment.Library
-		});
-
-		this.controller.on( 'toggle:upload:attachment', this.toggleUploader, this );
-		this.controller.on( 'edit:selection', this.editSelection );
-
-		// In the Media Library, the sidebar is used to display errors before the attachments grid.
-		if ( this.options.sidebar && 'errors' === this.options.sidebar ) {
-			this.createSidebar();
-		}
-
-		/*
-		 * In the grid mode (the Media Library), place the Inline Uploader before
-		 * other sections so that the visual order and the DOM order match. This way,
-		 * the Inline Uploader in the Media Library is right after the "Add New"
-		 * button, see ticket #37188.
-		 */
-		if ( this.controller.isModeActive( 'grid' ) ) {
-			this.createUploader();
-
-			/*
-			 * Create a multi-purpose toolbar. Used as main toolbar in the Media Library
-			 * and also for other things, for example the "Drag and drop to reorder" and
-			 * "Suggested dimensions" info in the media modal.
-			 */
-			this.createToolbar();
-		} else {
-			this.createToolbar();
-			this.createUploader();
-		}
-
-		// Add a heading before the attachments list.
-		this.createAttachmentsHeading();
-
-		// Create the attachments wrapper view.
-		this.createAttachmentsWrapperView();
-
-		if ( ! infiniteScrolling ) {
-			this.$el.addClass( 'has-load-more' );
-			this.createLoadMoreView();
-		}
-
-		// For accessibility reasons, place the normal sidebar after the attachments, see ticket #36909.
-		if ( this.options.sidebar && 'errors' !== this.options.sidebar ) {
-			this.createSidebar();
-		}
-
-		this.updateContent();
-
-		if ( ! infiniteScrolling ) {
-			this.updateLoadMoreView();
-		}
-
-		if ( ! this.options.sidebar || 'errors' === this.options.sidebar ) {
-			this.$el.addClass( 'hide-sidebar' );
-
-			if ( 'errors' === this.options.sidebar ) {
-				this.$el.addClass( 'sidebar-for-errors' );
-			}
-		}
-
-		this.collection.on( 'add remove reset', this.updateContent, this );
-
-		if ( ! infiniteScrolling ) {
-			this.collection.on( 'add remove reset', this.updateLoadMoreView, this );
-		}
-
-		// The non-cached or cached attachments query has completed.
-		this.collection.on( 'attachments:received', this.announceSearchResults, this );
-	},
-
-	/**
-	 * Updates the `wp.a11y.speak()` ARIA live region with a message to communicate
-	 * the number of search results to screen reader users. This function is
-	 * debounced because the collection updates multiple times.
-	 *
-	 * @since 5.3.0
-	 *
-	 * @return {void}
-	 */
-	announceSearchResults: _.debounce( function() {
-		var count,
-			/* translators: Accessibility text. %d: Number of attachments found in a search. */
-			mediaFoundHasMoreResultsMessage = __( 'Number of media items displayed: %d. Click load more for more results.' );
-
-		if ( infiniteScrolling ) {
-			/* translators: Accessibility text. %d: Number of attachments found in a search. */
-			mediaFoundHasMoreResultsMessage = __( 'Number of media items displayed: %d. Scroll the page for more results.' );
-		}
-
-		if ( this.collection.mirroring && this.collection.mirroring.args.s ) {
-			count = this.collection.length;
-
-			if ( 0 === count ) {
-				wp.a11y.speak( l10n.noMediaTryNewSearch );
-				return;
-			}
-
-			if ( this.collection.hasMore() ) {
-				wp.a11y.speak( mediaFoundHasMoreResultsMessage.replace( '%d', count ) );
-				return;
-			}
-
-			wp.a11y.speak( l10n.mediaFound.replace( '%d', count ) );
-		}
-	}, 200 ),
-
-	editSelection: function( modal ) {
-		// When editing a selection, move focus to the "Go to library" button.
-		modal.$( '.media-button-backToLibrary' ).focus();
-	},
-
-	/**
-	 * @return {wp.media.view.AttachmentsBrowser} Returns itself to allow chaining.
-	 */
-	dispose: function() {
-		this.options.selection.off( null, null, this );
-		View.prototype.dispose.apply( this, arguments );
-		return this;
-	},
-
-	createToolbar: function() {
-		var LibraryViewSwitcher, Filters, toolbarOptions,
-			showFilterByType = -1 !== $.inArray( this.options.filters, [ 'uploaded', 'all' ] );
-
-		toolbarOptions = {
-			controller: this.controller
-		};
-
-		if ( this.controller.isModeActive( 'grid' ) ) {
-			toolbarOptions.className = 'media-toolbar wp-filter';
-		}
-
-		/**
-		* @member {wp.media.view.Toolbar}
-		*/
-		this.toolbar = new wp.media.view.Toolbar( toolbarOptions );
-
-		this.views.add( this.toolbar );
-
-		this.toolbar.set( 'spinner', new wp.media.view.Spinner({
-			priority: -20
-		}) );
-
-		if ( showFilterByType || this.options.date ) {
-			/*
-			 * Create a h2 heading before the select elements that filter attachments.
-			 * This heading is visible in the modal and visually hidden in the grid.
-			 */
-			this.toolbar.set( 'filters-heading', new wp.media.view.Heading( {
-				priority:   -100,
-				text:       l10n.filterAttachments,
-				level:      'h2',
-				className:  'media-attachments-filter-heading'
-			}).render() );
-		}
-
-		if ( showFilterByType ) {
-			// "Filters" is a <select>, a visually hidden label element needs to be rendered before.
-			this.toolbar.set( 'filtersLabel', new wp.media.view.Label({
-				value: l10n.filterByType,
-				attributes: {
-					'for':  'media-attachment-filters'
-				},
-				priority:   -80
-			}).render() );
-
-			if ( 'uploaded' === this.options.filters ) {
-				this.toolbar.set( 'filters', new wp.media.view.AttachmentFilters.Uploaded({
-					controller: this.controller,
-					model:      this.collection.props,
-					priority:   -80
-				}).render() );
-			} else {
-				Filters = new wp.media.view.AttachmentFilters.All({
-					controller: this.controller,
-					model:      this.collection.props,
-					priority:   -80
-				});
-
-				this.toolbar.set( 'filters', Filters.render() );
-			}
-		}
-
-		/*
-		 * Feels odd to bring the global media library switcher into the Attachment browser view.
-		 * Is this a use case for doAction( 'add:toolbar-items:attachments-browser', this.toolbar );
-		 * which the controller can tap into and add this view?
-		 */
-		if ( this.controller.isModeActive( 'grid' ) ) {
-			LibraryViewSwitcher = View.extend({
-				className: 'view-switch media-grid-view-switch',
-				template: wp.template( 'media-library-view-switcher')
-			});
-
-			this.toolbar.set( 'libraryViewSwitcher', new LibraryViewSwitcher({
-				controller: this.controller,
-				priority: -90
-			}).render() );
-
-			// DateFilter is a <select>, a visually hidden label element needs to be rendered before.
-			this.toolbar.set( 'dateFilterLabel', new wp.media.view.Label({
-				value: l10n.filterByDate,
-				attributes: {
-					'for': 'media-attachment-date-filters'
-				},
-				priority: -75
-			}).render() );
-			this.toolbar.set( 'dateFilter', new wp.media.view.DateFilter({
-				controller: this.controller,
-				model:      this.collection.props,
-				priority: -75
-			}).render() );
-
-			// BulkSelection is a <div> with subviews, including screen reader text.
-			this.toolbar.set( 'selectModeToggleButton', new wp.media.view.SelectModeToggleButton({
-				text: l10n.bulkSelect,
-				controller: this.controller,
-				priority: -70
-			}).render() );
-
-			this.toolbar.set( 'deleteSelectedButton', new wp.media.view.DeleteSelectedButton({
-				filters: Filters,
-				style: 'primary',
-				disabled: true,
-				text: mediaTrash ? l10n.trashSelected : l10n.deletePermanently,
-				controller: this.controller,
-				priority: -80,
-				click: function() {
-					var changed = [], removed = [],
-						selection = this.controller.state().get( 'selection' ),
-						library = this.controller.state().get( 'library' );
-
-					if ( ! selection.length ) {
-						return;
-					}
-
-					if ( ! mediaTrash && ! window.confirm( l10n.warnBulkDelete ) ) {
-						return;
-					}
-
-					if ( mediaTrash &&
-						'trash' !== selection.at( 0 ).get( 'status' ) &&
-						! window.confirm( l10n.warnBulkTrash ) ) {
-
-						return;
-					}
-
-					selection.each( function( model ) {
-						if ( ! model.get( 'nonces' )['delete'] ) {
-							removed.push( model );
-							return;
-						}
-
-						if ( mediaTrash && 'trash' === model.get( 'status' ) ) {
-							model.set( 'status', 'inherit' );
-							changed.push( model.save() );
-							removed.push( model );
-						} else if ( mediaTrash ) {
-							model.set( 'status', 'trash' );
-							changed.push( model.save() );
-							removed.push( model );
-						} else {
-							model.destroy({wait: true});
-						}
-					} );
-
-					if ( changed.length ) {
-						selection.remove( removed );
-
-						$.when.apply( null, changed ).then( _.bind( function() {
-							library._requery( true );
-							this.controller.trigger( 'selection:action:done' );
-						}, this ) );
-					} else {
-						this.controller.trigger( 'selection:action:done' );
-					}
-				}
-			}).render() );
-
-			if ( mediaTrash ) {
-				this.toolbar.set( 'deleteSelectedPermanentlyButton', new wp.media.view.DeleteSelectedPermanentlyButton({
-					filters: Filters,
-					style: 'link button-link-delete',
-					disabled: true,
-					text: l10n.deletePermanently,
-					controller: this.controller,
-					priority: -55,
-					click: function() {
-						var removed = [],
-							destroy = [],
-							selection = this.controller.state().get( 'selection' );
-
-						if ( ! selection.length || ! window.confirm( l10n.warnBulkDelete ) ) {
-							return;
-						}
-
-						selection.each( function( model ) {
-							if ( ! model.get( 'nonces' )['delete'] ) {
-								removed.push( model );
-								return;
-							}
-
-							destroy.push( model );
-						} );
-
-						if ( removed.length ) {
-							selection.remove( removed );
-						}
-
-						if ( destroy.length ) {
-							$.when.apply( null, destroy.map( function (item) {
-								return item.destroy();
-							} ) ).then( _.bind( function() {
-								this.controller.trigger( 'selection:action:done' );
-							}, this ) );
-						}
-					}
-				}).render() );
-			}
-
-		} else if ( this.options.date ) {
-			// DateFilter is a <select>, a visually hidden label element needs to be rendered before.
-			this.toolbar.set( 'dateFilterLabel', new wp.media.view.Label({
-				value: l10n.filterByDate,
-				attributes: {
-					'for': 'media-attachment-date-filters'
-				},
-				priority: -75
-			}).render() );
-			this.toolbar.set( 'dateFilter', new wp.media.view.DateFilter({
-				controller: this.controller,
-				model:      this.collection.props,
-				priority: -75
-			}).render() );
-		}
-
-		if ( this.options.search ) {
-			// Search is an input, a visually hidden label element needs to be rendered before.
-			this.toolbar.set( 'searchLabel', new wp.media.view.Label({
-				value: l10n.searchLabel,
-				className: 'media-search-input-label',
-				attributes: {
-					'for': 'media-search-input'
-				},
-				priority:   60
-			}).render() );
-			this.toolbar.set( 'search', new wp.media.view.Search({
-				controller: this.controller,
-				model:      this.collection.props,
-				priority:   60
-			}).render() );
-		}
-
-		if ( this.options.dragInfo ) {
-			this.toolbar.set( 'dragInfo', new View({
-				el: $( '<div class="instructions">' + l10n.dragInfo + '</div>' )[0],
-				priority: -40
-			}) );
-		}
-
-		if ( this.options.suggestedWidth && this.options.suggestedHeight ) {
-			this.toolbar.set( 'suggestedDimensions', new View({
-				el: $( '<div class="instructions">' + l10n.suggestedDimensions.replace( '%1$s', this.options.suggestedWidth ).replace( '%2$s', this.options.suggestedHeight ) + '</div>' )[0],
-				priority: -40
-			}) );
-		}
-	},
-
-	updateContent: function() {
-		var view = this,
-			noItemsView;
-
-		if ( this.controller.isModeActive( 'grid' ) ) {
-			// Usually the media library.
-			noItemsView = view.attachmentsNoResults;
-		} else {
-			// Usually the media modal.
-			noItemsView = view.uploader;
-		}
-
-		if ( ! this.collection.length ) {
-			this.toolbar.get( 'spinner' ).show();
-			this.dfd = this.collection.more().done( function() {
-				if ( ! view.collection.length ) {
-					noItemsView.$el.removeClass( 'hidden' );
-				} else {
-					noItemsView.$el.addClass( 'hidden' );
-				}
-				view.toolbar.get( 'spinner' ).hide();
-			} );
-		} else {
-			noItemsView.$el.addClass( 'hidden' );
-			view.toolbar.get( 'spinner' ).hide();
-		}
-	},
-
-	createUploader: function() {
-		this.uploader = new wp.media.view.UploaderInline({
-			controller: this.controller,
-			status:     false,
-			message:    this.controller.isModeActive( 'grid' ) ? '' : l10n.noItemsFound,
-			canClose:   this.controller.isModeActive( 'grid' )
-		});
-
-		this.uploader.$el.addClass( 'hidden' );
-		this.views.add( this.uploader );
-	},
-
-	toggleUploader: function() {
-		if ( this.uploader.$el.hasClass( 'hidden' ) ) {
-			this.uploader.show();
-		} else {
-			this.uploader.hide();
-		}
-	},
-
-	/**
-	 * Creates the Attachments wrapper view.
-	 *
-	 * @since 5.8.0
-	 *
-	 * @return {void}
-	 */
-	createAttachmentsWrapperView: function() {
-		this.attachmentsWrapper = new wp.media.View( {
-			className: 'attachments-wrapper'
-		} );
-
-		// Create the list of attachments.
-		this.views.add( this.attachmentsWrapper );
-		this.createAttachments();
-	},
-
-	createAttachments: function() {
-		this.attachments = new wp.media.view.Attachments({
-			controller:           this.controller,
-			collection:           this.collection,
-			selection:            this.options.selection,
-			model:                this.model,
-			sortable:             this.options.sortable,
-			scrollElement:        this.options.scrollElement,
-			idealColumnWidth:     this.options.idealColumnWidth,
-
-			// The single `Attachment` view to be used in the `Attachments` view.
-			AttachmentView: this.options.AttachmentView
-		});
-
-		// Add keydown listener to the instance of the Attachments view.
-		this.controller.on( 'attachment:keydown:arrow',     _.bind( this.attachments.arrowEvent, this.attachments ) );
-		this.controller.on( 'attachment:details:shift-tab', _.bind( this.attachments.restoreFocus, this.attachments ) );
-
-		this.views.add( '.attachments-wrapper', this.attachments );
-
-		if ( this.controller.isModeActive( 'grid' ) ) {
-			this.attachmentsNoResults = new View({
-				controller: this.controller,
-				tagName: 'p'
-			});
-
-			this.attachmentsNoResults.$el.addClass( 'hidden no-media' );
-			this.attachmentsNoResults.$el.html( l10n.noMedia );
-
-			this.views.add( this.attachmentsNoResults );
-		}
-	},
-
-	/**
-	 * Creates the load more button and attachments counter view.
-	 *
-	 * @since 5.8.0
-	 *
-	 * @return {void}
-	 */
-	createLoadMoreView: function() {
-		var view = this;
-
-		this.loadMoreWrapper = new View( {
-			controller: this.controller,
-			className: 'load-more-wrapper'
-		} );
-
-		this.loadMoreCount = new View( {
-			controller: this.controller,
-			tagName: 'p',
-			className: 'load-more-count hidden'
-		} );
-
-		this.loadMoreButton = new wp.media.view.Button( {
-			text: __( 'Load more' ),
-			className: 'load-more hidden',
-			style: 'primary',
-			size: '',
-			click: function() {
-				view.loadMoreAttachments();
-			}
-		} );
-
-		this.loadMoreSpinner = new wp.media.view.Spinner();
-
-		this.loadMoreJumpToFirst = new wp.media.view.Button( {
-			text: __( 'Jump to first loaded item' ),
-			className: 'load-more-jump hidden',
-			size: '',
-			click: function() {
-				view.jumpToFirstAddedItem();
-			}
-		} );
-
-		this.views.add( '.attachments-wrapper', this.loadMoreWrapper );
-		this.views.add( '.load-more-wrapper', this.loadMoreSpinner );
-		this.views.add( '.load-more-wrapper', this.loadMoreCount );
-		this.views.add( '.load-more-wrapper', this.loadMoreButton );
-		this.views.add( '.load-more-wrapper', this.loadMoreJumpToFirst );
-	},
-
-	/**
-	 * Updates the Load More view. This function is debounced because the
-	 * collection updates multiple times at the add, remove, and reset events.
-	 * We need it to run only once, after all attachments are added or removed.
-	 *
-	 * @since 5.8.0
-	 *
-	 * @return {void}
-	 */
-	updateLoadMoreView: _.debounce( function() {
-		// Ensure the load more view elements are initially hidden at each update.
-		this.loadMoreButton.$el.addClass( 'hidden' );
-		this.loadMoreCount.$el.addClass( 'hidden' );
-		this.loadMoreJumpToFirst.$el.addClass( 'hidden' ).prop( 'disabled', true );
-
-		if ( ! this.collection.getTotalAttachments() ) {
-			return;
-		}
-
-		if ( this.collection.length ) {
-			this.loadMoreCount.$el.text(
-				/* translators: 1: Number of displayed attachments, 2: Number of total attachments. */
-				sprintf(
-					__( 'Showing %1$s of %2$s media items' ),
-					this.collection.length,
-					this.collection.getTotalAttachments()
-				)
-			);
-
-			this.loadMoreCount.$el.removeClass( 'hidden' );
-		}
-
-		/*
-		 * Notice that while the collection updates multiple times hasMore() may
-		 * return true when it's actually not true.
-		 */
-		if ( this.collection.hasMore() ) {
-			this.loadMoreButton.$el.removeClass( 'hidden' );
-		}
-
-		// Find the media item to move focus to. The jQuery `eq()` index is zero-based.
-		this.firstAddedMediaItem = this.$el.find( '.attachment' ).eq( this.firstAddedMediaItemIndex );
-
-		// If there's a media item to move focus to, make the "Jump to" button available.
-		if ( this.firstAddedMediaItem.length ) {
-			this.firstAddedMediaItem.addClass( 'new-media' );
-			this.loadMoreJumpToFirst.$el.removeClass( 'hidden' ).prop( 'disabled', false );
-		}
-
-		// If there are new items added, but no more to be added, move focus to Jump button.
-		if ( this.firstAddedMediaItem.length && ! this.collection.hasMore() ) {
-			this.loadMoreJumpToFirst.$el.trigger( 'focus' );
-		}
-	}, 10 ),
-
-	/**
-	 * Loads more attachments.
-	 *
-	 * @since 5.8.0
-	 *
-	 * @return {void}
-	 */
-	loadMoreAttachments: function() {
-		var view = this;
-
-		if ( ! this.collection.hasMore() ) {
-			return;
-		}
-
-		/*
-		 * The collection index is zero-based while the length counts the actual
-		 * amount of items. Thus the length is equivalent to the position of the
-		 * first added item.
-		 */
-		this.firstAddedMediaItemIndex = this.collection.length;
-
-		this.$el.addClass( 'more-loaded' );
-		this.collection.each( function( attachment ) {
-			var attach_id = attachment.attributes.id;
-			$( '[data-id="' + attach_id + '"]' ).addClass( 'found-media' );
-		});
-
-		view.loadMoreSpinner.show();
-		this.collection.once( 'attachments:received', function() {
-			view.loadMoreSpinner.hide();
-		} );
-		this.collection.more();
-	},
-
-	/**
-	 * Moves focus to the first new added item.	.
-	 *
-	 * @since 5.8.0
-	 *
-	 * @return {void}
-	 */
-	jumpToFirstAddedItem: function() {
-		// Set focus on first added item.
-		this.firstAddedMediaItem.focus();
-	},
-
-	createAttachmentsHeading: function() {
-		this.attachmentsHeading = new wp.media.view.Heading( {
-			text: l10n.attachmentsList,
-			level: 'h2',
-			className: 'media-views-heading screen-reader-text'
-		} );
-		this.views.add( this.attachmentsHeading );
-	},
-
-	createSidebar: function() {
-		var options = this.options,
-			selection = options.selection,
-			sidebar = this.sidebar = new wp.media.view.Sidebar({
-				controller: this.controller
-			});
-
-		this.views.add( sidebar );
-
-		if ( this.controller.uploader ) {
-			sidebar.set( 'uploads', new wp.media.view.UploaderStatus({
-				controller: this.controller,
-				priority:   40
-			}) );
-		}
-
-		selection.on( 'selection:single', this.createSingle, this );
-		selection.on( 'selection:unsingle', this.disposeSingle, this );
-
-		if ( selection.single() ) {
-			this.createSingle();
-		}
-	},
-
-	createSingle: function() {
-		var sidebar = this.sidebar,
-			single = this.options.selection.single();
-
-		sidebar.set( 'details', new wp.media.view.Attachment.Details({
-			controller: this.controller,
-			model:      single,
-			priority:   80
-		}) );
-
-		sidebar.set( 'compat', new wp.media.view.AttachmentCompat({
-			controller: this.controller,
-			model:      single,
-			priority:   120
-		}) );
-
-		if ( this.options.display ) {
-			sidebar.set( 'display', new wp.media.view.Settings.AttachmentDisplay({
-				controller:   this.controller,
-				model:        this.model.display( single ),
-				attachment:   single,
-				priority:     160,
-				userSettings: this.model.get('displayUserSettings')
-			}) );
-		}
-
-		// Show the sidebar on mobile.
-		if ( this.model.id === 'insert' ) {
-			sidebar.$el.addClass( 'visible' );
+	activate: function() {
+		// @todo this should use this.frame.
+		if ( wp.media.frame.lastMime ) {
+			this.set( 'library', wp.media.query({ type: wp.media.frame.lastMime }) );
+			delete wp.media.frame.lastMime;
 		}
-	},
-
-	disposeSingle: function() {
-		var sidebar = this.sidebar;
-		sidebar.unset('details');
-		sidebar.unset('compat');
-		sidebar.unset('display');
-		// Hide the sidebar on mobile.
-		sidebar.$el.removeClass( 'visible' );
+		Library.prototype.activate.apply( this, arguments );
 	}
 });

-module.exports = AttachmentsBrowser;
+module.exports = MediaLibrary;


 /***/ }),

-/***/ "76BF":
-/***/ (function(module, exports) {
+/***/ 4903:
+/***/ (function(module) {

 /**
- * wp.media.view.Settings.Playlist
+ * wp.media.controller.Region
  *
- * @memberOf wp.media.view.Settings
+ * A region is a persistent application layout area.
  *
- * @class
- * @augments wp.media.view.Settings
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-var Playlist = wp.media.view.Settings.extend(/** @lends wp.media.view.Settings.Playlist.prototype */{
-	className: 'collection-settings playlist-settings',
-	template:  wp.template('playlist-settings')
-});
-
-module.exports = Playlist;
-
-
-/***/ }),
-
-/***/ "7Bpz":
-/***/ (function(module, exports) {
-
-var View = wp.media.View,
-	UploaderInline;
-
-/**
- * wp.media.view.UploaderInline
+ * A region assumes one mode at any time, and can be switched to another.
  *
- * The inline uploader that shows up in the 'Upload Files' tab.
+ * When mode changes, events are triggered on the region's parent view.
+ * The parent view will listen to specific events and fill the region with an
+ * appropriate view depending on mode. For example, a frame listens for the
+ * 'browse' mode t be activated on the 'content' view and then fills the region
+ * with an AttachmentsBrowser view.
  *
- * @memberOf wp.media.view
+ * @memberOf wp.media.controller
  *
  * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ *
+ * @param {Object}        options          Options hash for the region.
+ * @param {string}        options.id       Unique identifier for the region.
+ * @param {Backbone.View} options.view     A parent view the region exists within.
+ * @param {string}        options.selector jQuery selector for the region within the parent view.
  */
-UploaderInline = View.extend(/** @lends wp.media.view.UploaderInline.prototype */{
-	tagName:   'div',
-	className: 'uploader-inline',
-	template:  wp.template('uploader-inline'),
-
-	events: {
-		'click .close': 'hide'
-	},
-
-	initialize: function() {
-		_.defaults( this.options, {
-			message: '',
-			status:  true,
-			canClose: false
-		});
+var Region = function( options ) {
+	_.extend( this, _.pick( options || {}, 'id', 'view', 'selector' ) );
+};

-		if ( ! this.options.$browser && this.controller.uploader ) {
-			this.options.$browser = this.controller.uploader.$browser;
-		}
+// Use Backbone's self-propagating `extend` inheritance method.
+Region.extend = Backbone.Model.extend;

-		if ( _.isUndefined( this.options.postId ) ) {
-			this.options.postId = wp.media.view.settings.post.id;
+_.extend( Region.prototype,/** @lends wp.media.controller.Region.prototype */{
+	/**
+	 * Activate a mode.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {string} mode
+	 *
+	 * @fires Region#activate
+	 * @fires Region#deactivate
+	 *
+	 * @return {wp.media.controller.Region} Returns itself to allow chaining.
+	 */
+	mode: function( mode ) {
+		if ( ! mode ) {
+			return this._mode;
 		}
-
-		if ( this.options.status ) {
-			this.views.set( '.upload-inline-status', new wp.media.view.UploaderStatus({
-				controller: this.controller
-			}) );
+		// Bail if we're trying to change to the current mode.
+		if ( mode === this._mode ) {
+			return this;
 		}
-	},
-
-	prepare: function() {
-		var suggestedWidth = this.controller.state().get('suggestedWidth'),
-			suggestedHeight = this.controller.state().get('suggestedHeight'),
-			data = {};

-		data.message = this.options.message;
-		data.canClose = this.options.canClose;
+		/**
+		 * Region mode deactivation event.
+		 *
+		 * @event wp.media.controller.Region#deactivate
+		 */
+		this.trigger('deactivate');

-		if ( suggestedWidth && suggestedHeight ) {
-			data.suggestedWidth = suggestedWidth;
-			data.suggestedHeight = suggestedHeight;
-		}
+		this._mode = mode;
+		this.render( mode );

-		return data;
+		/**
+		 * Region mode activation event.
+		 *
+		 * @event wp.media.controller.Region#activate
+		 */
+		this.trigger('activate');
+		return this;
 	},
 	/**
-	 * @return {wp.media.view.UploaderInline} Returns itself to allow chaining.
+	 * Render a mode.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {string} mode
+	 *
+	 * @fires Region#create
+	 * @fires Region#render
+	 *
+	 * @return {wp.media.controller.Region} Returns itself to allow chaining.
 	 */
-	dispose: function() {
-		if ( this.disposing ) {
-			/**
-			 * call 'dispose' directly on the parent class
-			 */
-			return View.prototype.dispose.apply( this, arguments );
+	render: function( mode ) {
+		// If the mode isn't active, activate it.
+		if ( mode && mode !== this._mode ) {
+			return this.mode( mode );
 		}

-		/*
-		 * Run remove on `dispose`, so we can be sure to refresh the
-		 * uploader with a view-less DOM. Track whether we're disposing
-		 * so we don't trigger an infinite loop.
-		 */
-		this.disposing = true;
-		return this.remove();
-	},
-	/**
-	 * @return {wp.media.view.UploaderInline} Returns itself to allow chaining.
-	 */
-	remove: function() {
+		var set = { view: null },
+			view;
+
 		/**
-		 * call 'remove' directly on the parent class
+		 * Create region view event.
+		 *
+		 * Region view creation takes place in an event callback on the frame.
+		 *
+		 * @event wp.media.controller.Region#create
+		 * @type {object}
+		 * @property {object} view
 		 */
-		var result = View.prototype.remove.apply( this, arguments );
+		this.trigger( 'create', set );
+		view = set.view;

-		_.defer( _.bind( this.refresh, this ) );
-		return result;
+		/**
+		 * Render region view event.
+		 *
+		 * Region view creation takes place in an event callback on the frame.
+		 *
+		 * @event wp.media.controller.Region#render
+		 * @type {object}
+		 */
+		this.trigger( 'render', view );
+		if ( view ) {
+			this.set( view );
+		}
+		return this;
 	},

-	refresh: function() {
-		var uploader = this.controller.uploader;
+	/**
+	 * Get the region's view.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @return {wp.media.View}
+	 */
+	get: function() {
+		return this.view.views.first( this.selector );
+	},

-		if ( uploader ) {
-			uploader.refresh();
+	/**
+	 * Set the region's view as a subview of the frame.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {Array|Object} views
+	 * @param {Object} [options={}]
+	 * @return {wp.Backbone.Subviews} Subviews is returned to allow chaining.
+	 */
+	set: function( views, options ) {
+		if ( options ) {
+			options.add = false;
 		}
+		return this.view.views.set( this.selector, views, options );
 	},
+
 	/**
-	 * @return {wp.media.view.UploaderInline}
+	 * Trigger regional view events on the frame.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {string} event
+	 * @return {undefined|wp.media.controller.Region} Returns itself to allow chaining.
 	 */
-	ready: function() {
-		var $browser = this.options.$browser,
-			$placeholder;
+	trigger: function( event ) {
+		var base, args;

-		if ( this.controller.uploader ) {
-			$placeholder = this.$('.browser');
+		if ( ! this._mode ) {
+			return;
+		}

-			// Check if we've already replaced the placeholder.
-			if ( $placeholder[0] === $browser[0] ) {
-				return;
-			}
+		args = _.toArray( arguments );
+		base = this.id + ':' + event;

-			$browser.detach().text( $placeholder.text() );
-			$browser[0].className = $placeholder[0].className;
-			$browser[0].setAttribute( 'aria-labelledby', $browser[0].id + ' ' + $placeholder[0].getAttribute('aria-labelledby') );
-			$placeholder.replaceWith( $browser.show() );
-		}
+		// Trigger `{this.id}:{event}:{this._mode}` event on the frame.
+		args[0] = base + ':' + this._mode;
+		this.view.trigger.apply( this.view, args );

-		this.refresh();
+		// Trigger `{this.id}:{event}` event on the frame.
+		args[0] = base;
+		this.view.trigger.apply( this.view, args );
 		return this;
-	},
-	show: function() {
-		this.$el.removeClass( 'hidden' );
-		if ( this.controller.$uploaderToggler && this.controller.$uploaderToggler.length ) {
-			this.controller.$uploaderToggler.attr( 'aria-expanded', 'true' );
-		}
-	},
-	hide: function() {
-		this.$el.addClass( 'hidden' );
-		if ( this.controller.$uploaderToggler && this.controller.$uploaderToggler.length ) {
-			this.controller.$uploaderToggler
-				.attr( 'aria-expanded', 'false' )
-				// Move focus back to the toggle button when closing the uploader.
-				.trigger( 'focus' );
-		}
 	}
-
 });

-module.exports = UploaderInline;
+module.exports = Region;


 /***/ }),

-/***/ "99yY":
-/***/ (function(module, exports) {
+/***/ 8493:
+/***/ (function(module) {

 var Library = wp.media.controller.Library,
 	l10n = wp.media.view.l10n,
-	GalleryEdit;
+	ReplaceImage;

 /**
- * wp.media.controller.GalleryEdit
+ * wp.media.controller.ReplaceImage
  *
- * A state for editing a gallery's images and settings.
+ * A state for replacing an image.
  *
- * @since 3.5.0
+ * @memberOf wp.media.controller
  *
  * @class
  * @augments wp.media.controller.Library
  * @augments wp.media.controller.State
  * @augments Backbone.Model
  *
- * @memberOf wp.media.controller
- *
- * @param {Object}                     [attributes]                       The attributes hash passed to the state.
- * @param {string}                     [attributes.id=gallery-edit]       Unique identifier.
- * @param {string}                     [attributes.title=Edit Gallery]    Title for the state. Displays in the frame's title region.
- * @param {wp.media.model.Attachments} [attributes.library]               The collection of attachments in the gallery.
- *                                                                        If one is not supplied, an empty media.model.Selection collection is created.
- * @param {boolean}                    [attributes.multiple=false]        Whether multi-select is enabled.
- * @param {boolean}                    [attributes.searchable=false]      Whether the library is searchable.
- * @param {boolean}                    [attributes.sortable=true]         Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
- * @param {boolean}                    [attributes.date=true]             Whether to show the date filter in the browser's toolbar.
- * @param {string|false}               [attributes.content=browse]        Initial mode for the content region.
- * @param {string|false}               [attributes.toolbar=image-details] Initial mode for the toolbar region.
- * @param {boolean}                    [attributes.describe=true]         Whether to offer UI to describe attachments - e.g. captioning images in a gallery.
- * @param {boolean}                    [attributes.displaySettings=true]  Whether to show the attachment display settings interface.
- * @param {boolean}                    [attributes.dragInfo=true]         Whether to show instructional text about the attachments being sortable.
- * @param {number}                     [attributes.idealColumnWidth=170]  The ideal column width in pixels for attachments.
- * @param {boolean}                    [attributes.editing=false]         Whether the gallery is being created, or editing an existing instance.
- * @param {number}                     [attributes.priority=60]           The priority for the state link in the media menu.
- * @param {boolean}                    [attributes.syncSelection=false]   Whether the Attachments selection should be persisted from the last state.
- *                                                                        Defaults to false for this state, because the library passed in  *is* the selection.
- * @param {view}                       [attributes.AttachmentView]        The single `Attachment` view to be used in the `Attachments`.
- *                                                                        If none supplied, defaults to wp.media.view.Attachment.EditLibrary.
+ * @param {object}                     [attributes]                         The attributes hash passed to the state.
+ * @param {string}                     [attributes.id=replace-image]        Unique identifier.
+ * @param {string}                     [attributes.title=Replace Image]     Title for the state. Displays in the media menu and the frame's title region.
+ * @param {wp.media.model.Attachments} [attributes.library]                 The attachments collection to browse.
+ *                                                                          If one is not supplied, a collection of all images will be created.
+ * @param {boolean}                    [attributes.multiple=false]          Whether multi-select is enabled.
+ * @param {string}                     [attributes.content=upload]          Initial mode for the content region.
+ *                                                                          Overridden by persistent user setting if 'contentUserSetting' is true.
+ * @param {string}                     [attributes.menu=default]            Initial mode for the menu region.
+ * @param {string}                     [attributes.router=browse]           Initial mode for the router region.
+ * @param {string}                     [attributes.toolbar=replace]         Initial mode for the toolbar region.
+ * @param {int}                        [attributes.priority=60]             The priority for the state link in the media menu.
+ * @param {boolean}                    [attributes.searchable=true]         Whether the library is searchable.
+ * @param {boolean|string}             [attributes.filterable=uploaded]     Whether the library is filterable, and if so what filters should be shown.
+ *                                                                          Accepts 'all', 'uploaded', or 'unattached'.
+ * @param {boolean}                    [attributes.sortable=true]           Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
+ * @param {boolean}                    [attributes.autoSelect=true]         Whether an uploaded attachment should be automatically added to the selection.
+ * @param {boolean}                    [attributes.describe=false]          Whether to offer UI to describe attachments - e.g. captioning images in a gallery.
+ * @param {boolean}                    [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
+ * @param {boolean}                    [attributes.syncSelection=true]      Whether the Attachments selection should be persisted from the last state.
  */
-GalleryEdit = Library.extend(/** @lends wp.media.controller.GalleryEdit.prototype */{
-	defaults: {
-		id:               'gallery-edit',
-		title:            l10n.editGalleryTitle,
-		multiple:         false,
-		searchable:       false,
-		sortable:         true,
-		date:             false,
-		display:          false,
-		content:          'browse',
-		toolbar:          'gallery-edit',
-		describe:         true,
-		displaySettings:  true,
-		dragInfo:         true,
-		idealColumnWidth: 170,
-		editing:          false,
-		priority:         60,
-		syncSelection:    false
-	},
+ReplaceImage = Library.extend(/** @lends wp.media.controller.ReplaceImage.prototype */{
+	defaults: _.defaults({
+		id:            'replace-image',
+		title:         l10n.replaceImageTitle,
+		multiple:      false,
+		filterable:    'uploaded',
+		toolbar:       'replace',
+		menu:          false,
+		priority:      60,
+		syncSelection: true
+	}, Library.prototype.defaults ),

 	/**
-	 * Initializes the library.
-	 *
-	 * Creates a selection if a library isn't supplied and creates an attachment
-	 * view if no attachment view is supplied.
-	 *
-	 * @since 3.5.0
+	 * @since 3.9.0
 	 *
-	 * @return {void}
+	 * @param options
 	 */
-	initialize: function() {
+	initialize: function( options ) {
+		var library, comparator;
+
+		this.image = options.image;
 		// If we haven't been provided a `library`, create a `Selection`.
 		if ( ! this.get('library') ) {
-			this.set( 'library', new wp.media.model.Selection() );
-		}
-
-		// The single `Attachment` view to be used in the `Attachments` view.
-		if ( ! this.get('AttachmentView') ) {
-			this.set( 'AttachmentView', wp.media.view.Attachment.EditLibrary );
+			this.set( 'library', wp.media.query({ type: 'image' }) );
 		}

 		Library.prototype.initialize.apply( this, arguments );
+
+		library    = this.get('library');
+		comparator = library.comparator;
+
+		// Overload the library's comparator to push items that are not in
+		// the mirrored query to the front of the aggregate collection.
+		library.comparator = function( a, b ) {
+			var aInQuery = !! this.mirroring.get( a.cid ),
+				bInQuery = !! this.mirroring.get( b.cid );
+
+			if ( ! aInQuery && bInQuery ) {
+				return -1;
+			} else if ( aInQuery && ! bInQuery ) {
+				return 1;
+			} else {
+				return comparator.apply( this, arguments );
+			}
+		};
+
+		// Add all items in the selection to the library, so any featured
+		// images that are not initially loaded still appear.
+		library.observe( this.get('selection') );
 	},

 	/**
-	 * Activates the library.
-	 *
-	 * Limits the library to images, watches for uploaded attachments. Watches for
-	 * the browse event on the frame and binds it to gallerySettings.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @return {void}
+	 * @since 3.9.0
 	 */
 	activate: function() {
-		var library = this.get('library');
-
-		// Limit the library to images only.
-		library.props.set( 'type', 'image' );
-
-		// Watch for uploaded attachments.
-		this.get('library').observe( wp.Uploader.queue );
-
-		this.frame.on( 'content:render:browse', this.gallerySettings, this );
+		this.frame.on( 'content:render:browse', this.updateSelection, this );

 		Library.prototype.activate.apply( this, arguments );
 	},

 	/**
-	 * Deactivates the library.
-	 *
-	 * Stops watching for uploaded attachments and browse events.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @return {void}
+	 * @since 5.9.0
 	 */
 	deactivate: function() {
-		// Stop watching for uploaded attachments.
-		this.get('library').unobserve( wp.Uploader.queue );
-
-		this.frame.off( 'content:render:browse', this.gallerySettings, this );
+		this.frame.off( 'content:render:browse', this.updateSelection, this );

 		Library.prototype.deactivate.apply( this, arguments );
 	},

-	/**
-	 * Adds the gallery settings to the sidebar and adds a reverse button to the
-	 * toolbar.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @param {wp.media.view.Frame} browser The file browser.
-	 *
-	 * @return {void}
-	 */
-	gallerySettings: function( browser ) {
-		if ( ! this.get('displaySettings') ) {
-			return;
-		}
-
-		var library = this.get('library');
-
-		if ( ! library || ! browser ) {
-			return;
-		}
-
-		library.gallery = library.gallery || new Backbone.Model();
-
-		browser.sidebar.set({
-			gallery: new wp.media.view.Settings.Gallery({
-				controller: this,
-				model:      library.gallery,
-				priority:   40
-			})
-		});
-
-		browser.toolbar.set( 'reverse', {
-			text:     l10n.reverseOrder,
-			priority: 80,
-
-			click: function() {
-				library.reset( library.toArray().reverse() );
-			}
-		});
+	/**
+	 * @since 3.9.0
+	 */
+	updateSelection: function() {
+		var selection = this.get('selection'),
+			attachment = this.image.attachment;
+
+		selection.reset( attachment ? [ attachment ] : [] );
 	}
 });

-module.exports = GalleryEdit;
+module.exports = ReplaceImage;


 /***/ }),

-/***/ "9ARG":
-/***/ (function(module, exports) {
+/***/ 5274:
+/***/ (function(module) {
+
+var Controller = wp.media.controller,
+	SiteIconCropper;

 /**
- * wp.media.view.Sidebar
+ * wp.media.controller.SiteIconCropper
  *
- * @memberOf wp.media.view
+ * A state for cropping a Site Icon.
+ *
+ * @memberOf wp.media.controller
  *
  * @class
- * @augments wp.media.view.PriorityList
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ * @augments wp.media.controller.Cropper
+ * @augments wp.media.controller.State
+ * @augments Backbone.Model
  */
-var Sidebar = wp.media.view.PriorityList.extend(/** @lends wp.media.view.Sidebar.prototype */{
-	className: 'media-sidebar'
+SiteIconCropper = Controller.Cropper.extend(/** @lends wp.media.controller.SiteIconCropper.prototype */{
+	activate: function() {
+		this.frame.on( 'content:create:crop', this.createCropContent, this );
+		this.frame.on( 'close', this.removeCropper, this );
+		this.set('selection', new Backbone.Collection(this.frame._selection.single));
+	},
+
+	createCropContent: function() {
+		this.cropperView = new wp.media.view.SiteIconCropper({
+			controller: this,
+			attachment: this.get('selection').first()
+		});
+		this.cropperView.on('image-loaded', this.createCropToolbar, this);
+		this.frame.content.set(this.cropperView);
+
+	},
+
+	doCrop: function( attachment ) {
+		var cropDetails = attachment.get( 'cropDetails' ),
+			control = this.get( 'control' );
+
+		cropDetails.dst_width  = control.params.width;
+		cropDetails.dst_height = control.params.height;
+
+		return wp.ajax.post( 'crop-image', {
+			nonce: attachment.get( 'nonces' ).edit,
+			id: attachment.get( 'id' ),
+			context: 'site-icon',
+			cropDetails: cropDetails
+		} );
+	}
 });

-module.exports = Sidebar;
+module.exports = SiteIconCropper;


 /***/ }),

-/***/ "Bbnu":
-/***/ (function(module, exports) {
+/***/ 5466:
+/***/ (function(module) {

 /**
- * wp.media.View
+ * wp.media.controller.StateMachine
  *
- * The base view class for media.
+ * A state machine keeps track of state. It is in one state at a time,
+ * and can change from one state to another.
  *
- * Undelegating events, removing events from the model, and
- * removing events from the controller mirror the code for
- * `Backbone.View.dispose` in Backbone 0.9.8 development.
+ * States are stored as models in a Backbone collection.
  *
- * This behavior has since been removed, and should not be used
- * outside of the media manager.
+ * @memberOf wp.media.controller
  *
- * @memberOf wp.media
+ * @since 3.5.0
  *
  * @class
- * @augments wp.Backbone.View
- * @augments Backbone.View
+ * @augments Backbone.Model
+ * @mixin
+ * @mixes Backbone.Events
  */
-var View = wp.Backbone.View.extend(/** @lends wp.media.View.prototype */{
-	constructor: function( options ) {
-		if ( options && options.controller ) {
-			this.controller = options.controller;
+var StateMachine = function() {
+	return {
+		// Use Backbone's self-propagating `extend` inheritance method.
+		extend: Backbone.Model.extend
+	};
+};
+
+_.extend( StateMachine.prototype, Backbone.Events,/** @lends wp.media.controller.StateMachine.prototype */{
+	/**
+	 * Fetch a state.
+	 *
+	 * If no `id` is provided, returns the active state.
+	 *
+	 * Implicitly creates states.
+	 *
+	 * Ensure that the `states` collection exists so the `StateMachine`
+	 * can be used as a mixin.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {string} id
+	 * @return {wp.media.controller.State} Returns a State model from
+	 *                                     the StateMachine collection.
+	 */
+	state: function( id ) {
+		this.states = this.states || new Backbone.Collection();
+
+		// Default to the active state.
+		id = id || this._state;
+
+		if ( id && ! this.states.get( id ) ) {
+			this.states.add({ id: id });
 		}
-		wp.Backbone.View.apply( this, arguments );
+		return this.states.get( id );
 	},
+
 	/**
-	 * @todo The internal comment mentions this might have been a stop-gap
-	 *       before Backbone 0.9.8 came out. Figure out if Backbone core takes
-	 *       care of this in Backbone.View now.
+	 * Sets the active state.
 	 *
-	 * @return {wp.media.View} Returns itself to allow chaining.
+	 * Bail if we're trying to select the current state, if we haven't
+	 * created the `states` collection, or are trying to select a state
+	 * that does not exist.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {string} id
+	 *
+	 * @fires wp.media.controller.State#deactivate
+	 * @fires wp.media.controller.State#activate
+	 *
+	 * @return {wp.media.controller.StateMachine} Returns itself to allow chaining.
 	 */
-	dispose: function() {
-		/*
-		 * Undelegating events, removing events from the model, and
-		 * removing events from the controller mirror the code for
-		 * `Backbone.View.dispose` in Backbone 0.9.8 development.
-		 */
-		this.undelegateEvents();
+	setState: function( id ) {
+		var previous = this.state();

-		if ( this.model && this.model.off ) {
-			this.model.off( null, null, this );
+		if ( ( previous && id === previous.id ) || ! this.states || ! this.states.get( id ) ) {
+			return this;
 		}

-		if ( this.collection && this.collection.off ) {
-			this.collection.off( null, null, this );
+		if ( previous ) {
+			previous.trigger('deactivate');
+			this._lastState = previous.id;
 		}

-		// Unbind controller events.
-		if ( this.controller && this.controller.off ) {
-			this.controller.off( null, null, this );
-		}
+		this._state = id;
+		this.state().trigger('activate');

 		return this;
 	},
+
 	/**
-	 * @return {wp.media.View} Returns itself to allow chaining.
+	 * Returns the previous active state.
+	 *
+	 * Call the `state()` method with no parameters to retrieve the current
+	 * active state.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @return {wp.media.controller.State} Returns a State model from
+	 *                                     the StateMachine collection.
 	 */
-	remove: function() {
-		this.dispose();
-		/**
-		 * call 'remove' directly on the parent class
-		 */
-		return wp.Backbone.View.prototype.remove.apply( this, arguments );
+	lastState: function() {
+		if ( this._lastState ) {
+			return this.state( this._lastState );
+		}
 	}
 });

-module.exports = View;
-
-
-/***/ }),
-
-/***/ "EVvK":
-/***/ (function(module, exports) {
-
-var Menu = wp.media.view.Menu,
-	Router;
-
-/**
- * wp.media.view.Router
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.view.Menu
- * @augments wp.media.view.PriorityList
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-Router = Menu.extend(/** @lends wp.media.view.Router.prototype */{
-	tagName:   'div',
-	className: 'media-router',
-	property:  'contentMode',
-	ItemView:  wp.media.view.RouterItem,
-	region:    'router',
-
-	attributes: {
-		role:               'tablist',
-		'aria-orientation': 'horizontal'
-	},
-
-	initialize: function() {
-		this.controller.on( 'content:render', this.update, this );
-		// Call 'initialize' directly on the parent class.
-		Menu.prototype.initialize.apply( this, arguments );
-	},
-
-	update: function() {
-		var mode = this.controller.content.mode();
-		if ( mode ) {
-			this.select( mode );
-		}
-	}
+// Map all event binding and triggering on a StateMachine to its `states` collection.
+_.each([ 'on', 'off', 'trigger' ], function( method ) {
+	/**
+	 * @function on
+	 * @memberOf wp.media.controller.StateMachine
+	 * @instance
+	 * @return {wp.media.controller.StateMachine} Returns itself to allow chaining.
+	 */
+	/**
+	 * @function off
+	 * @memberOf wp.media.controller.StateMachine
+	 * @instance
+	 * @return {wp.media.controller.StateMachine} Returns itself to allow chaining.
+	 */
+	/**
+	 * @function trigger
+	 * @memberOf wp.media.controller.StateMachine
+	 * @instance
+	 * @return {wp.media.controller.StateMachine} Returns itself to allow chaining.
+	 */
+	StateMachine.prototype[ method ] = function() {
+		// Ensure that the `states` collection exists so the `StateMachine`
+		// can be used as a mixin.
+		this.states = this.states || new Backbone.Collection();
+		// Forward the method to the `states` collection.
+		this.states[ method ].apply( this.states, arguments );
+		return this;
+	};
 });

-module.exports = Router;
+module.exports = StateMachine;


 /***/ }),

-/***/ "EvXF":
-/***/ (function(module, exports) {
+/***/ 5826:
+/***/ (function(module) {

 /**
- * wp.media.view.Attachment.EditLibrary
+ * wp.media.controller.State
  *
- * @memberOf wp.media.view.Attachment
+ * A state is a step in a workflow that when set will trigger the controllers
+ * for the regions to be updated as specified in the frame.
  *
- * @class
- * @augments wp.media.view.Attachment
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-var EditLibrary = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.EditLibrary.prototype */{
-	buttons: {
-		close: true
-	}
-});
-
-module.exports = EditLibrary;
-
-
-/***/ }),
-
-/***/ "F/kE":
-/***/ (function(module, exports) {
-
-var l10n = wp.media.view.l10n,
-	getUserSetting = window.getUserSetting,
-	setUserSetting = window.setUserSetting,
-	Library;
-
-/**
- * wp.media.controller.Library
+ * A state has an event-driven lifecycle:
  *
- * A state for choosing an attachment or group of attachments from the media library.
+ *     'ready'      triggers when a state is added to a state machine's collection.
+ *     'activate'   triggers when a state is activated by a state machine.
+ *     'deactivate' triggers when a state is deactivated by a state machine.
+ *     'reset'      is not triggered automatically. It should be invoked by the
+ *                  proper controller to reset the state to its default.
  *
  * @memberOf wp.media.controller
  *
  * @class
- * @augments wp.media.controller.State
  * @augments Backbone.Model
- * @mixes media.selectionSync
- *
- * @param {object}                          [attributes]                         The attributes hash passed to the state.
- * @param {string}                          [attributes.id=library]              Unique identifier.
- * @param {string}                          [attributes.title=Media library]     Title for the state. Displays in the media menu and the frame's title region.
- * @param {wp.media.model.Attachments}      [attributes.library]                 The attachments collection to browse.
- *                                                                               If one is not supplied, a collection of all attachments will be created.
- * @param {wp.media.model.Selection|object} [attributes.selection]               A collection to contain attachment selections within the state.
- *                                                                               If the 'selection' attribute is a plain JS object,
- *                                                                               a Selection will be created using its values as the selection instance's `props` model.
- *                                                                               Otherwise, it will copy the library's `props` model.
- * @param {boolean}                         [attributes.multiple=false]          Whether multi-select is enabled.
- * @param {string}                          [attributes.content=upload]          Initial mode for the content region.
- *                                                                               Overridden by persistent user setting if 'contentUserSetting' is true.
- * @param {string}                          [attributes.menu=default]            Initial mode for the menu region.
- * @param {string}                          [attributes.router=browse]           Initial mode for the router region.
- * @param {string}                          [attributes.toolbar=select]          Initial mode for the toolbar region.
- * @param {boolean}                         [attributes.searchable=true]         Whether the library is searchable.
- * @param {boolean|string}                  [attributes.filterable=false]        Whether the library is filterable, and if so what filters should be shown.
- *                                                                               Accepts 'all', 'uploaded', or 'unattached'.
- * @param {boolean}                         [attributes.sortable=true]           Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
- * @param {boolean}                         [attributes.autoSelect=true]         Whether an uploaded attachment should be automatically added to the selection.
- * @param {boolean}                         [attributes.describe=false]          Whether to offer UI to describe attachments - e.g. captioning images in a gallery.
- * @param {boolean}                         [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
- * @param {boolean}                         [attributes.syncSelection=true]      Whether the Attachments selection should be persisted from the last state.
  */
-Library = wp.media.controller.State.extend(/** @lends wp.media.controller.Library.prototype */{
-	defaults: {
-		id:                 'library',
-		title:              l10n.mediaLibraryTitle,
-		multiple:           false,
-		content:            'upload',
-		menu:               'default',
-		router:             'browse',
-		toolbar:            'select',
-		searchable:         true,
-		filterable:         false,
-		sortable:           true,
-		autoSelect:         true,
-		describe:           false,
-		contentUserSetting: true,
-		syncSelection:      true
+var State = Backbone.Model.extend(/** @lends wp.media.controller.State.prototype */{
+	/**
+	 * Constructor.
+	 *
+	 * @since 3.5.0
+	 */
+	constructor: function() {
+		this.on( 'activate', this._preActivate, this );
+		this.on( 'activate', this.activate, this );
+		this.on( 'activate', this._postActivate, this );
+		this.on( 'deactivate', this._deactivate, this );
+		this.on( 'deactivate', this.deactivate, this );
+		this.on( 'reset', this.reset, this );
+		this.on( 'ready', this._ready, this );
+		this.on( 'ready', this.ready, this );
+		/**
+		 * Call parent constructor with passed arguments
+		 */
+		Backbone.Model.apply( this, arguments );
+		this.on( 'change:menu', this._updateMenu, this );
 	},
-
 	/**
-	 * If a library isn't provided, query all media items.
-	 * If a selection instance isn't provided, create one.
+	 * Ready event callback.
 	 *
+	 * @abstract
 	 * @since 3.5.0
 	 */
-	initialize: function() {
-		var selection = this.get('selection'),
-			props;
+	ready: function() {},

-		if ( ! this.get('library') ) {
-			this.set( 'library', wp.media.query() );
-		}
+	/**
+	 * Activate event callback.
+	 *
+	 * @abstract
+	 * @since 3.5.0
+	 */
+	activate: function() {},

-		if ( ! ( selection instanceof wp.media.model.Selection ) ) {
-			props = selection;
+	/**
+	 * Deactivate event callback.
+	 *
+	 * @abstract
+	 * @since 3.5.0
+	 */
+	deactivate: function() {},

-			if ( ! props ) {
-				props = this.get('library').props.toJSON();
-				props = _.omit( props, 'orderby', 'query' );
-			}
+	/**
+	 * Reset event callback.
+	 *
+	 * @abstract
+	 * @since 3.5.0
+	 */
+	reset: function() {},

-			this.set( 'selection', new wp.media.model.Selection( null, {
-				multiple: this.get('multiple'),
-				props: props
-			}) );
-		}
+	/**
+	 * @since 3.5.0
+	 * @access private
+	 */
+	_ready: function() {
+		this._updateMenu();
+	},

-		this.resetDisplays();
+	/**
+	 * @since 3.5.0
+	 * @access private
+	*/
+	_preActivate: function() {
+		this.active = true;
 	},

 	/**
 	 * @since 3.5.0
+	 * @access private
 	 */
-	activate: function() {
-		this.syncSelection();
-
-		wp.Uploader.queue.on( 'add', this.uploading, this );
+	_postActivate: function() {
+		this.on( 'change:menu', this._menu, this );
+		this.on( 'change:titleMode', this._title, this );
+		this.on( 'change:content', this._content, this );
+		this.on( 'change:toolbar', this._toolbar, this );

-		this.get('selection').on( 'add remove reset', this.refreshContent, this );
+		this.frame.on( 'title:render:default', this._renderTitle, this );

-		if ( this.get( 'router' ) && this.get('contentUserSetting') ) {
-			this.frame.on( 'content:activate', this.saveContentMode, this );
-			this.set( 'content', getUserSetting( 'libraryContent', this.get('content') ) );
-		}
+		this._title();
+		this._menu();
+		this._toolbar();
+		this._content();
+		this._router();
 	},

 	/**
 	 * @since 3.5.0
+	 * @access private
 	 */
-	deactivate: function() {
-		this.recordSelection();
+	_deactivate: function() {
+		this.active = false;

-		this.frame.off( 'content:activate', this.saveContentMode, this );
+		this.frame.off( 'title:render:default', this._renderTitle, this );

-		// Unbind all event handlers that use this state as the context
-		// from the selection.
-		this.get('selection').off( null, null, this );
+		this.off( 'change:menu', this._menu, this );
+		this.off( 'change:titleMode', this._title, this );
+		this.off( 'change:content', this._content, this );
+		this.off( 'change:toolbar', this._toolbar, this );
+	},

-		wp.Uploader.queue.off( null, null, this );
+	/**
+	 * @since 3.5.0
+	 * @access private
+	 */
+	_title: function() {
+		this.frame.title.render( this.get('titleMode') || 'default' );
 	},

 	/**
-	 * Reset the library to its initial state.
-	 *
 	 * @since 3.5.0
+	 * @access private
 	 */
-	reset: function() {
-		this.get('selection').reset();
-		this.resetDisplays();
-		this.refreshContent();
+	_renderTitle: function( view ) {
+		view.$el.text( this.get('title') || '' );
 	},

 	/**
-	 * Reset the attachment display settings defaults to the site options.
-	 *
-	 * If site options don't define them, fall back to a persistent user setting.
-	 *
 	 * @since 3.5.0
+	 * @access private
 	 */
-	resetDisplays: function() {
-		var defaultProps = wp.media.view.settings.defaultProps;
-		this._displays = [];
-		this._defaultDisplaySettings = {
-			align: getUserSetting( 'align', defaultProps.align ) || 'none',
-			size:  getUserSetting( 'imgsize', defaultProps.size ) || 'medium',
-			link:  getUserSetting( 'urlbutton', defaultProps.link ) || 'none'
-		};
+	_router: function() {
+		var router = this.frame.router,
+			mode = this.get('router'),
+			view;
+
+		this.frame.$el.toggleClass( 'hide-router', ! mode );
+		if ( ! mode ) {
+			return;
+		}
+
+		this.frame.router.render( mode );
+
+		view = router.get();
+		if ( view && view.select ) {
+			view.select( this.frame.content.mode() );
+		}
 	},

-	/**
-	 * Create a model to represent display settings (alignment, etc.) for an attachment.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @param {wp.media.model.Attachment} attachment
-	 * @return {Backbone.Model}
-	 */
-	display: function( attachment ) {
-		var displays = this._displays;
+	/**
+	 * @since 3.5.0
+	 * @access private
+	 */
+	_menu: function() {
+		var menu = this.frame.menu,
+			mode = this.get('menu'),
+			view;
+
+		this.frame.$el.toggleClass( 'hide-menu', ! mode );
+		if ( ! mode ) {
+			return;
+		}
+
+		menu.mode( mode );

-		if ( ! displays[ attachment.cid ] ) {
-			displays[ attachment.cid ] = new Backbone.Model( this.defaultDisplaySettings( attachment ) );
+		view = menu.get();
+		if ( view && view.select ) {
+			view.select( this.id );
 		}
-		return displays[ attachment.cid ];
 	},

 	/**
-	 * Given an attachment, create attachment display settings properties.
-	 *
-	 * @since 3.6.0
-	 *
-	 * @param {wp.media.model.Attachment} attachment
-	 * @return {Object}
+	 * @since 3.5.0
+	 * @access private
 	 */
-	defaultDisplaySettings: function( attachment ) {
-		var settings = _.clone( this._defaultDisplaySettings );
+	_updateMenu: function() {
+		var previous = this.previous('menu'),
+			menu = this.get('menu');

-		settings.canEmbed = this.canEmbed( attachment );
-		if ( settings.canEmbed ) {
-			settings.link = 'embed';
-		} else if ( ! this.isImageAttachment( attachment ) && settings.link === 'none' ) {
-			settings.link = 'file';
+		if ( previous ) {
+			this.frame.off( 'menu:render:' + previous, this._renderMenu, this );
 		}

-		return settings;
+		if ( menu ) {
+			this.frame.on( 'menu:render:' + menu, this._renderMenu, this );
+		}
 	},

 	/**
-	 * Whether an attachment is image.
+	 * Create a view in the media menu for the state.
 	 *
-	 * @since 4.4.1
+	 * @since 3.5.0
+	 * @access private
 	 *
-	 * @param {wp.media.model.Attachment} attachment
-	 * @return {boolean}
+	 * @param {media.view.Menu} view The menu view.
 	 */
-	isImageAttachment: function( attachment ) {
-		// If uploading, we know the filename but not the mime type.
-		if ( attachment.get('uploading') ) {
-			return /\.(jpe?g|png|gif|webp)$/i.test( attachment.get('filename') );
+	_renderMenu: function( view ) {
+		var menuItem = this.get('menuItem'),
+			title = this.get('title'),
+			priority = this.get('priority');
+
+		if ( ! menuItem && title ) {
+			menuItem = { text: title };
+
+			if ( priority ) {
+				menuItem.priority = priority;
+			}
 		}

-		return attachment.get('type') === 'image';
-	},
+		if ( ! menuItem ) {
+			return;
+		}
+
+		view.set( this.id, menuItem );
+	}
+});

+_.each(['toolbar','content'], function( region ) {
 	/**
-	 * Whether an attachment can be embedded (audio or video).
-	 *
-	 * @since 3.6.0
-	 *
-	 * @param {wp.media.model.Attachment} attachment
-	 * @return {boolean}
+	 * @access private
 	 */
-	canEmbed: function( attachment ) {
-		// If uploading, we know the filename but not the mime type.
-		if ( ! attachment.get('uploading') ) {
-			var type = attachment.get('type');
-			if ( type !== 'audio' && type !== 'video' ) {
-				return false;
-			}
+	State.prototype[ '_' + region ] = function() {
+		var mode = this.get( region );
+		if ( mode ) {
+			this.frame[ region ].render( mode );
 		}
+	};
+});

-		return _.contains( wp.media.view.settings.embedExts, attachment.get('filename').split('.').pop() );
-	},
+module.exports = State;
+
+
+/***/ }),

+/***/ 3526:
+/***/ (function(module) {

+/**
+ * wp.media.selectionSync
+ *
+ * Sync an attachments selection in a state with another state.
+ *
+ * Allows for selecting multiple images in the Add Media workflow, and then
+ * switching to the Insert Gallery workflow while preserving the attachments selection.
+ *
+ * @memberOf wp.media
+ *
+ * @mixin
+ */
+var selectionSync = {
 	/**
-	 * If the state is active, no items are selected, and the current
-	 * content mode is not an option in the state's router (provided
-	 * the state has a router), reset the content mode to the default.
-	 *
 	 * @since 3.5.0
 	 */
-	refreshContent: function() {
+	syncSelection: function() {
 		var selection = this.get('selection'),
-			frame = this.frame,
-			router = frame.router.get(),
-			mode = frame.content.mode();
+			manager = this.frame._selection;

-		if ( this.active && ! selection.length && router && ! router.get( mode ) ) {
-			this.frame.content.render( this.get('content') );
+		if ( ! this.get('syncSelection') || ! manager || ! selection ) {
+			return;
+		}
+
+		/*
+		 * If the selection supports multiple items, validate the stored
+		 * attachments based on the new selection's conditions. Record
+		 * the attachments that are not included; we'll maintain a
+		 * reference to those. Other attachments are considered in flux.
+		 */
+		if ( selection.multiple ) {
+			selection.reset( [], { silent: true });
+			selection.validateAll( manager.attachments );
+			manager.difference = _.difference( manager.attachments.models, selection.models );
 		}
+
+		// Sync the selection's single item with the master.
+		selection.single( manager.single );
 	},

 	/**
-	 * Callback handler when an attachment is uploaded.
-	 *
-	 * Switch to the Media Library if uploaded from the 'Upload Files' tab.
-	 *
-	 * Adds any uploading attachments to the selection.
-	 *
-	 * If the state only supports one attachment to be selected and multiple
-	 * attachments are uploaded, the last attachment in the upload queue will
-	 * be selected.
+	 * Record the currently active attachments, which is a combination
+	 * of the selection's attachments and the set of selected
+	 * attachments that this specific selection considered invalid.
+	 * Reset the difference and record the single attachment.
 	 *
 	 * @since 3.5.0
-	 *
-	 * @param {wp.media.model.Attachment} attachment
 	 */
-	uploading: function( attachment ) {
-		var content = this.frame.content;
+	recordSelection: function() {
+		var selection = this.get('selection'),
+			manager = this.frame._selection;

-		if ( 'upload' === content.mode() ) {
-			this.frame.content.mode('browse');
+		if ( ! this.get('syncSelection') || ! manager || ! selection ) {
+			return;
 		}

-		if ( this.get( 'autoSelect' ) ) {
-			this.get('selection').add( attachment );
-			this.frame.trigger( 'library:selection:add' );
+		if ( selection.multiple ) {
+			manager.attachments.reset( selection.toArray().concat( manager.difference ) );
+			manager.difference = [];
+		} else {
+			manager.attachments.add( selection.toArray() );
 		}
+
+		manager.single = selection._single;
+	}
+};
+
+module.exports = selectionSync;
+
+
+/***/ }),
+
+/***/ 8093:
+/***/ (function(module) {
+
+var View = wp.media.View,
+	AttachmentCompat;
+
+/**
+ * wp.media.view.AttachmentCompat
+ *
+ * A view to display fields added via the `attachment_fields_to_edit` filter.
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+AttachmentCompat = View.extend(/** @lends wp.media.view.AttachmentCompat.prototype */{
+	tagName:   'form',
+	className: 'compat-item',
+
+	events: {
+		'submit':          'preventDefault',
+		'change input':    'save',
+		'change select':   'save',
+		'change textarea': 'save'
 	},

+	initialize: function() {
+		this.listenTo( this.model, 'change:compat', this.render );
+	},
 	/**
-	 * Persist the mode of the content region as a user setting.
-	 *
-	 * @since 3.5.0
+	 * @return {wp.media.view.AttachmentCompat} Returns itself to allow chaining.
 	 */
-	saveContentMode: function() {
-		if ( 'browse' !== this.get('router') ) {
+	dispose: function() {
+		if ( this.$(':focus').length ) {
+			this.save();
+		}
+		/**
+		 * call 'dispose' directly on the parent class
+		 */
+		return View.prototype.dispose.apply( this, arguments );
+	},
+	/**
+	 * @return {wp.media.view.AttachmentCompat} Returns itself to allow chaining.
+	 */
+	render: function() {
+		var compat = this.model.get('compat');
+		if ( ! compat || ! compat.item ) {
 			return;
 		}

-		var mode = this.frame.content.mode(),
-			view = this.frame.router.get();
+		this.views.detach();
+		this.$el.html( compat.item );
+		this.views.render();
+		return this;
+	},
+	/**
+	 * @param {Object} event
+	 */
+	preventDefault: function( event ) {
+		event.preventDefault();
+	},
+	/**
+	 * @param {Object} event
+	 */
+	save: function( event ) {
+		var data = {};
+
+		if ( event ) {
+			event.preventDefault();
+		}
+
+		_.each( this.$el.serializeArray(), function( pair ) {
+			data[ pair.name ] = pair.value;
+		});
+
+		this.controller.trigger( 'attachment:compat:waiting', ['waiting'] );
+		this.model.saveCompat( data ).always( _.bind( this.postSave, this ) );
+	},

-		if ( view && view.get( mode ) ) {
-			setUserSetting( 'libraryContent', mode );
-		}
+	postSave: function() {
+		this.controller.trigger( 'attachment:compat:ready', ['ready'] );
 	}
-
 });

-// Make selectionSync available on any Media Library state.
-_.extend( Library.prototype, wp.media.selectionSync );
-
-module.exports = Library;
+module.exports = AttachmentCompat;


 /***/ }),

-/***/ "GXJ6":
-/***/ (function(module, exports) {
+/***/ 4906:
+/***/ (function(module) {

-var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
-	$ = jQuery,
-	ImageDetails;
+var $ = jQuery,
+	AttachmentFilters;

 /**
- * wp.media.view.ImageDetails
+ * wp.media.view.AttachmentFilters
  *
  * @memberOf wp.media.view
  *
  * @class
- * @augments wp.media.view.Settings.AttachmentDisplay
- * @augments wp.media.view.Settings
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-ImageDetails = AttachmentDisplay.extend(/** @lends wp.media.view.ImageDetails.prototype */{
-	className: 'image-details',
-	template:  wp.template('image-details'),
-	events: _.defaults( AttachmentDisplay.prototype.events, {
-		'click .edit-attachment': 'editAttachment',
-		'click .replace-attachment': 'replaceAttachment',
-		'click .advanced-toggle': 'onToggleAdvanced',
-		'change [data-setting="customWidth"]': 'onCustomSize',
-		'change [data-setting="customHeight"]': 'onCustomSize',
-		'keyup [data-setting="customWidth"]': 'onCustomSize',
-		'keyup [data-setting="customHeight"]': 'onCustomSize'
-	} ),
-	initialize: function() {
-		// Used in AttachmentDisplay.prototype.updateLinkTo.
-		this.options.attachment = this.model.attachment;
-		this.listenTo( this.model, 'change:url', this.updateUrl );
-		this.listenTo( this.model, 'change:link', this.toggleLinkSettings );
-		this.listenTo( this.model, 'change:size', this.toggleCustomSize );
+AttachmentFilters = wp.media.View.extend(/** @lends wp.media.view.AttachmentFilters.prototype */{
+	tagName:   'select',
+	className: 'attachment-filters',
+	id:        'media-attachment-filters',

-		AttachmentDisplay.prototype.initialize.apply( this, arguments );
+	events: {
+		change: 'change'
 	},

-	prepare: function() {
-		var attachment = false;
+	keys: [],

-		if ( this.model.attachment ) {
-			attachment = this.model.attachment.toJSON();
-		}
-		return _.defaults({
-			model: this.model.toJSON(),
-			attachment: attachment
-		}, this.options );
-	},
+	initialize: function() {
+		this.createFilters();
+		_.extend( this.filters, this.options.filters );

-	render: function() {
-		var args = arguments;
+		// Build `<option>` elements.
+		this.$el.html( _.chain( this.filters ).map( function( filter, value ) {
+			return {
+				el: $( '<option></option>' ).val( value ).html( filter.text )[0],
+				priority: filter.priority || 50
+			};
+		}, this ).sortBy('priority').pluck('el').value() );

-		if ( this.model.attachment && 'pending' === this.model.dfd.state() ) {
-			this.model.dfd
-				.done( _.bind( function() {
-					AttachmentDisplay.prototype.render.apply( this, args );
-					this.postRender();
-				}, this ) )
-				.fail( _.bind( function() {
-					this.model.attachment = false;
-					AttachmentDisplay.prototype.render.apply( this, args );
-					this.postRender();
-				}, this ) );
-		} else {
-			AttachmentDisplay.prototype.render.apply( this, arguments );
-			this.postRender();
-		}
+		this.listenTo( this.model, 'change', this.select );
+		this.select();
+	},

-		return this;
+	/**
+	 * @abstract
+	 */
+	createFilters: function() {
+		this.filters = {};
 	},

-	postRender: function() {
-		setTimeout( _.bind( this.scrollToTop, this ), 10 );
-		this.toggleLinkSettings();
-		if ( window.getUserSetting( 'advImgDetails' ) === 'show' ) {
-			this.toggleAdvanced( true );
+	/**
+	 * When the selected filter changes, update the Attachment Query properties to match.
+	 */
+	change: function() {
+		var filter = this.filters[ this.el.value ];
+		if ( filter ) {
+			this.model.set( filter.props );
 		}
-		this.trigger( 'post-render' );
 	},

-	scrollToTop: function() {
-		this.$( '.embed-media-settings' ).scrollTop( 0 );
-	},
+	select: function() {
+		var model = this.model,
+			value = 'all',
+			props = model.toJSON();

-	updateUrl: function() {
-		this.$( '.image img' ).attr( 'src', this.model.get( 'url' ) );
-		this.$( '.url' ).val( this.model.get( 'url' ) );
-	},
+		_.find( this.filters, function( filter, id ) {
+			var equal = _.all( filter.props, function( prop, key ) {
+				return prop === ( _.isUndefined( props[ key ] ) ? null : props[ key ] );
+			});

-	toggleLinkSettings: function() {
-		if ( this.model.get( 'link' ) === 'none' ) {
-			this.$( '.link-settings' ).addClass('hidden');
-		} else {
-			this.$( '.link-settings' ).removeClass('hidden');
+			if ( equal ) {
+				return value = id;
+			}
+		});
+
+		this.$el.val( value );
+	}
+});
+
+module.exports = AttachmentFilters;
+
+
+/***/ }),
+
+/***/ 2868:
+/***/ (function(module) {
+
+var l10n = wp.media.view.l10n,
+	All;
+
+/**
+ * wp.media.view.AttachmentFilters.All
+ *
+ * @memberOf wp.media.view.AttachmentFilters
+ *
+ * @class
+ * @augments wp.media.view.AttachmentFilters
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+All = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.All.prototype */{
+	createFilters: function() {
+		var filters = {},
+			uid = window.userSettings ? parseInt( window.userSettings.uid, 10 ) : 0;
+
+		_.each( wp.media.view.settings.mimeTypes || {}, function( text, key ) {
+			filters[ key ] = {
+				text: text,
+				props: {
+					status:  null,
+					type:    key,
+					uploadedTo: null,
+					orderby: 'date',
+					order:   'DESC',
+					author:  null
+				}
+			};
+		});
+
+		filters.all = {
+			text:  l10n.allMediaItems,
+			props: {
+				status:  null,
+				type:    null,
+				uploadedTo: null,
+				orderby: 'date',
+				order:   'DESC',
+				author:  null
+			},
+			priority: 10
+		};
+
+		if ( wp.media.view.settings.post.id ) {
+			filters.uploaded = {
+				text:  l10n.uploadedToThisPost,
+				props: {
+					status:  null,
+					type:    null,
+					uploadedTo: wp.media.view.settings.post.id,
+					orderby: 'menuOrder',
+					order:   'ASC',
+					author:  null
+				},
+				priority: 20
+			};
 		}
-	},

-	toggleCustomSize: function() {
-		if ( this.model.get( 'size' ) !== 'custom' ) {
-			this.$( '.custom-size' ).addClass('hidden');
-		} else {
-			this.$( '.custom-size' ).removeClass('hidden');
+		filters.unattached = {
+			text:  l10n.unattached,
+			props: {
+				status:     null,
+				uploadedTo: 0,
+				type:       null,
+				orderby:    'menuOrder',
+				order:      'ASC',
+				author:     null
+			},
+			priority: 50
+		};
+
+		if ( uid ) {
+			filters.mine = {
+				text:  l10n.mine,
+				props: {
+					status:		null,
+					type:		null,
+					uploadedTo:	null,
+					orderby:	'date',
+					order:		'DESC',
+					author:		uid
+				},
+				priority: 50
+			};
 		}
-	},

-	onCustomSize: function( event ) {
-		var dimension = $( event.target ).data('setting'),
-			num = $( event.target ).val(),
-			value;
+		if ( wp.media.view.settings.mediaTrash &&
+			this.controller.isModeActive( 'grid' ) ) {

-		// Ignore bogus input.
-		if ( ! /^\d+/.test( num ) || parseInt( num, 10 ) < 1 ) {
-			event.preventDefault();
-			return;
+			filters.trash = {
+				text:  l10n.trash,
+				props: {
+					uploadedTo: null,
+					status:     'trash',
+					type:       null,
+					orderby:    'date',
+					order:      'DESC',
+					author:     null
+				},
+				priority: 50
+			};
 		}

-		if ( dimension === 'customWidth' ) {
-			value = Math.round( 1 / this.model.get( 'aspectRatio' ) * num );
-			this.model.set( 'customHeight', value, { silent: true } );
-			this.$( '[data-setting="customHeight"]' ).val( value );
-		} else {
-			value = Math.round( this.model.get( 'aspectRatio' ) * num );
-			this.model.set( 'customWidth', value, { silent: true  } );
-			this.$( '[data-setting="customWidth"]' ).val( value );
-		}
-	},
+		this.filters = filters;
+	}
+});

-	onToggleAdvanced: function( event ) {
-		event.preventDefault();
-		this.toggleAdvanced();
-	},
+module.exports = All;

-	toggleAdvanced: function( show ) {
-		var $advanced = this.$el.find( '.advanced-section' ),
-			mode;

-		if ( $advanced.hasClass('advanced-visible') || show === false ) {
-			$advanced.removeClass('advanced-visible');
-			$advanced.find('.advanced-settings').addClass('hidden');
-			mode = 'hide';
-		} else {
-			$advanced.addClass('advanced-visible');
-			$advanced.find('.advanced-settings').removeClass('hidden');
-			mode = 'show';
-		}
+/***/ }),

-		window.setUserSetting( 'advImgDetails', mode );
-	},
+/***/ 9663:
+/***/ (function(module) {

-	editAttachment: function( event ) {
-		var editState = this.controller.states.get( 'edit-image' );
+var l10n = wp.media.view.l10n,
+	DateFilter;

-		if ( window.imageEdit && editState ) {
-			event.preventDefault();
-			editState.set( 'image', this.model.attachment );
-			this.controller.setState( 'edit-image' );
-		}
-	},
+/**
+ * A filter dropdown for month/dates.
+ *
+ * @memberOf wp.media.view.AttachmentFilters
+ *
+ * @class
+ * @augments wp.media.view.AttachmentFilters
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+DateFilter = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.Date.prototype */{
+	id: 'media-attachment-date-filters',

-	replaceAttachment: function( event ) {
-		event.preventDefault();
-		this.controller.setState( 'replace-image' );
+	createFilters: function() {
+		var filters = {};
+		_.each( wp.media.view.settings.months || {}, function( value, index ) {
+			filters[ index ] = {
+				text: value.text,
+				props: {
+					year: value.year,
+					monthnum: value.month
+				}
+			};
+		});
+		filters.all = {
+			text:  l10n.allDates,
+			props: {
+				monthnum: false,
+				year:  false
+			},
+			priority: 10
+		};
+		this.filters = filters;
 	}
 });

-module.exports = ImageDetails;
+module.exports = DateFilter;


 /***/ }),

-/***/ "GXkx":
-/***/ (function(module, exports) {
+/***/ 7040:
+/***/ (function(module) {

-var View = wp.media.View,
-	l10n = wp.media.view.l10n,
-	$ = jQuery,
-	EditorUploader;
+var l10n = wp.media.view.l10n,
+	Uploaded;

 /**
- * Creates a dropzone on WP editor instances (elements with .wp-editor-wrap)
- * and relays drag'n'dropped files to a media workflow.
- *
- * wp.media.view.EditorUploader
+ * wp.media.view.AttachmentFilters.Uploaded
  *
- * @memberOf wp.media.view
+ * @memberOf wp.media.view.AttachmentFilters
  *
  * @class
+ * @augments wp.media.view.AttachmentFilters
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-EditorUploader = View.extend(/** @lends wp.media.view.EditorUploader.prototype */{
-	tagName:   'div',
-	className: 'uploader-editor',
-	template:  wp.template( 'uploader-editor' ),
-
-	localDrag: false,
-	overContainer: false,
-	overDropzone: false,
-	draggingFile: null,
-
-	/**
-	 * Bind drag'n'drop events to callbacks.
-	 */
-	initialize: function() {
-		this.initialized = false;
+Uploaded = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.Uploaded.prototype */{
+	createFilters: function() {
+		var type = this.model.get('type'),
+			types = wp.media.view.settings.mimeTypes,
+			uid = window.userSettings ? parseInt( window.userSettings.uid, 10 ) : 0,
+			text;

-		// Bail if not enabled or UA does not support drag'n'drop or File API.
-		if ( ! window.tinyMCEPreInit || ! window.tinyMCEPreInit.dragDropUpload || ! this.browserSupport() ) {
-			return this;
+		if ( types && type ) {
+			text = types[ type ];
 		}

-		this.$document = $(document);
-		this.dropzones = [];
-		this.files = [];
+		this.filters = {
+			all: {
+				text:  text || l10n.allMediaItems,
+				props: {
+					uploadedTo: null,
+					orderby: 'date',
+					order:   'DESC',
+					author:	 null
+				},
+				priority: 10
+			},

-		this.$document.on( 'drop', '.uploader-editor', _.bind( this.drop, this ) );
-		this.$document.on( 'dragover', '.uploader-editor', _.bind( this.dropzoneDragover, this ) );
-		this.$document.on( 'dragleave', '.uploader-editor', _.bind( this.dropzoneDragleave, this ) );
-		this.$document.on( 'click', '.uploader-editor', _.bind( this.click, this ) );
+			uploaded: {
+				text:  l10n.uploadedToThisPost,
+				props: {
+					uploadedTo: wp.media.view.settings.post.id,
+					orderby: 'menuOrder',
+					order:   'ASC',
+					author:	 null
+				},
+				priority: 20
+			},

-		this.$document.on( 'dragover', _.bind( this.containerDragover, this ) );
-		this.$document.on( 'dragleave', _.bind( this.containerDragleave, this ) );
+			unattached: {
+				text:  l10n.unattached,
+				props: {
+					uploadedTo: 0,
+					orderby: 'menuOrder',
+					order:   'ASC',
+					author:	 null
+				},
+				priority: 50
+			}
+		};

-		this.$document.on( 'dragstart dragend drop', _.bind( function( event ) {
-			this.localDrag = event.type === 'dragstart';
+		if ( uid ) {
+			this.filters.mine = {
+				text:  l10n.mine,
+				props: {
+					orderby: 'date',
+					order:   'DESC',
+					author:  uid
+				},
+				priority: 50
+			};
+		}
+	}
+});

-			if ( event.type === 'drop' ) {
-				this.containerDragleave();
-			}
-		}, this ) );
+module.exports = Uploaded;

-		this.initialized = true;
-		return this;
-	},

-	/**
-	 * Check browser support for drag'n'drop.
-	 *
-	 * @return {boolean}
-	 */
-	browserSupport: function() {
-		var supports = false, div = document.createElement('div');
+/***/ }),

-		supports = ( 'draggable' in div ) || ( 'ondragstart' in div && 'ondrop' in div );
-		supports = supports && !! ( window.File && window.FileList && window.FileReader );
-		return supports;
-	},
+/***/ 5019:
+/***/ (function(module) {

-	isDraggingFile: function( event ) {
-		if ( this.draggingFile !== null ) {
-			return this.draggingFile;
-		}
+var View = wp.media.View,
+	$ = jQuery,
+	Attachment;

-		if ( _.isUndefined( event.originalEvent ) || _.isUndefined( event.originalEvent.dataTransfer ) ) {
-			return false;
-		}
+/**
+ * wp.media.view.Attachment
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{
+	tagName:   'li',
+	className: 'attachment',
+	template:  wp.template('attachment'),

-		this.draggingFile = _.indexOf( event.originalEvent.dataTransfer.types, 'Files' ) > -1 &&
-			_.indexOf( event.originalEvent.dataTransfer.types, 'text/plain' ) === -1;
+	attributes: function() {
+		return {
+			'tabIndex':     0,
+			'role':         'checkbox',
+			'aria-label':   this.model.get( 'title' ),
+			'aria-checked': false,
+			'data-id':      this.model.get( 'id' )
+		};
+	},

-		return this.draggingFile;
+	events: {
+		'click':                          'toggleSelectionHandler',
+		'change [data-setting]':          'updateSetting',
+		'change [data-setting] input':    'updateSetting',
+		'change [data-setting] select':   'updateSetting',
+		'change [data-setting] textarea': 'updateSetting',
+		'click .attachment-close':        'removeFromLibrary',
+		'click .check':                   'checkClickHandler',
+		'keydown':                        'toggleSelectionHandler'
 	},

-	refresh: function( e ) {
-		var dropzone_id;
-		for ( dropzone_id in this.dropzones ) {
-			// Hide the dropzones only if dragging has left the screen.
-			this.dropzones[ dropzone_id ].toggle( this.overContainer || this.overDropzone );
-		}
+	buttons: {},
+
+	initialize: function() {
+		var selection = this.options.selection,
+			options = _.defaults( this.options, {
+				rerenderOnModelChange: true
+			} );

-		if ( ! _.isUndefined( e ) ) {
-			$( e.target ).closest( '.uploader-editor' ).toggleClass( 'droppable', this.overDropzone );
+		if ( options.rerenderOnModelChange ) {
+			this.listenTo( this.model, 'change', this.render );
+		} else {
+			this.listenTo( this.model, 'change:percent', this.progress );
 		}
+		this.listenTo( this.model, 'change:title', this._syncTitle );
+		this.listenTo( this.model, 'change:caption', this._syncCaption );
+		this.listenTo( this.model, 'change:artist', this._syncArtist );
+		this.listenTo( this.model, 'change:album', this._syncAlbum );

-		if ( ! this.overContainer && ! this.overDropzone ) {
-			this.draggingFile = null;
+		// Update the selection.
+		this.listenTo( this.model, 'add', this.select );
+		this.listenTo( this.model, 'remove', this.deselect );
+		if ( selection ) {
+			selection.on( 'reset', this.updateSelect, this );
+			// Update the model's details view.
+			this.listenTo( this.model, 'selection:single selection:unsingle', this.details );
+			this.details( this.model, this.controller.state().get('selection') );
 		}

-		return this;
+		this.listenTo( this.controller.states, 'attachment:compat:waiting attachment:compat:ready', this.updateSave );
 	},
+	/**
+	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
+	 */
+	dispose: function() {
+		var selection = this.options.selection;

-	render: function() {
-		if ( ! this.initialized ) {
-			return this;
-		}
-
-		View.prototype.render.apply( this, arguments );
-		$( '.wp-editor-wrap' ).each( _.bind( this.attach, this ) );
-		return this;
-	},
+		// Make sure all settings are saved before removing the view.
+		this.updateAll();

-	attach: function( index, editor ) {
-		// Attach a dropzone to an editor.
-		var dropzone = this.$el.clone();
-		this.dropzones.push( dropzone );
-		$( editor ).append( dropzone );
+		if ( selection ) {
+			selection.off( null, null, this );
+		}
+		/**
+		 * call 'dispose' directly on the parent class
+		 */
+		View.prototype.dispose.apply( this, arguments );
 		return this;
 	},
-
 	/**
-	 * When a file is dropped on the editor uploader, open up an editor media workflow
-	 * and upload the file immediately.
-	 *
-	 * @param {jQuery.Event} event The 'drop' event.
+	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
 	 */
-	drop: function( event ) {
-		var $wrap, uploadView;
+	render: function() {
+		var options = _.defaults( this.model.toJSON(), {
+				orientation:   'landscape',
+				uploading:     false,
+				type:          '',
+				subtype:       '',
+				icon:          '',
+				filename:      '',
+				caption:       '',
+				title:         '',
+				dateFormatted: '',
+				width:         '',
+				height:        '',
+				compat:        false,
+				alt:           '',
+				description:   ''
+			}, this.options );

-		this.containerDragleave( event );
-		this.dropzoneDragleave( event );
+		options.buttons  = this.buttons;
+		options.describe = this.controller.state().get('describe');

-		this.files = event.originalEvent.dataTransfer.files;
-		if ( this.files.length < 1 ) {
-			return;
+		if ( 'image' === options.type ) {
+			options.size = this.imageSize();
 		}

-		// Set the active editor to the drop target.
-		$wrap = $( event.target ).parents( '.wp-editor-wrap' );
-		if ( $wrap.length > 0 && $wrap[0].id ) {
-			window.wpActiveEditor = $wrap[0].id.slice( 3, -5 );
+		options.can = {};
+		if ( options.nonces ) {
+			options.can.remove = !! options.nonces['delete'];
+			options.can.save = !! options.nonces.update;
 		}

-		if ( ! this.workflow ) {
-			this.workflow = wp.media.editor.open( window.wpActiveEditor, {
-				frame:    'post',
-				state:    'insert',
-				title:    l10n.addMedia,
-				multiple: true
-			});
-
-			uploadView = this.workflow.uploader;
+		if ( this.controller.state().get('allowLocalEdits') ) {
+			options.allowLocalEdits = true;
+		}

-			if ( uploadView.uploader && uploadView.uploader.ready ) {
-				this.addFiles.apply( this );
-			} else {
-				this.workflow.on( 'uploader:ready', this.addFiles, this );
-			}
-		} else {
-			this.workflow.state().reset();
-			this.addFiles.apply( this );
-			this.workflow.open();
+		if ( options.uploading && ! options.percent ) {
+			options.percent = 0;
 		}

-		return false;
-	},
+		this.views.detach();
+		this.$el.html( this.template( options ) );

-	/**
-	 * Add the files to the uploader.
-	 */
-	addFiles: function() {
-		if ( this.files.length ) {
-			this.workflow.uploader.uploader.uploader.addFile( _.toArray( this.files ) );
-			this.files = [];
-		}
-		return this;
-	},
+		this.$el.toggleClass( 'uploading', options.uploading );

-	containerDragover: function( event ) {
-		if ( this.localDrag || ! this.isDraggingFile( event ) ) {
-			return;
+		if ( options.uploading ) {
+			this.$bar = this.$('.media-progress-bar div');
+		} else {
+			delete this.$bar;
 		}

-		this.overContainer = true;
-		this.refresh();
-	},
+		// Check if the model is selected.
+		this.updateSelect();

-	containerDragleave: function() {
-		this.overContainer = false;
+		// Update the save status.
+		this.updateSave();

-		// Throttle dragleave because it's called when bouncing from some elements to others.
-		_.delay( _.bind( this.refresh, this ), 50 );
+		this.views.render();
+
+		return this;
 	},

-	dropzoneDragover: function( event ) {
-		if ( this.localDrag || ! this.isDraggingFile( event ) ) {
-			return;
+	progress: function() {
+		if ( this.$bar && this.$bar.length ) {
+			this.$bar.width( this.model.get('percent') + '%' );
 		}
-
-		this.overDropzone = true;
-		this.refresh( event );
-		return false;
 	},

-	dropzoneDragleave: function( e ) {
-		this.overDropzone = false;
-		_.delay( _.bind( this.refresh, this, e ), 50 );
-	},
+	/**
+	 * @param {Object} event
+	 */
+	toggleSelectionHandler: function( event ) {
+		var method;

-	click: function( e ) {
-		// In the rare case where the dropzone gets stuck, hide it on click.
-		this.containerDragleave( e );
-		this.dropzoneDragleave( e );
-		this.localDrag = false;
-	}
-});
+		// Don't do anything inside inputs and on the attachment check and remove buttons.
+		if ( 'INPUT' === event.target.nodeName || 'BUTTON' === event.target.nodeName ) {
+			return;
+		}

-module.exports = EditorUploader;
+		// Catch arrow events.
+		if ( 37 === event.keyCode || 38 === event.keyCode || 39 === event.keyCode || 40 === event.keyCode ) {
+			this.controller.trigger( 'attachment:keydown:arrow', event );
+			return;
+		}

+		// Catch enter and space events.
+		if ( 'keydown' === event.type && 13 !== event.keyCode && 32 !== event.keyCode ) {
+			return;
+		}

-/***/ }),
+		event.preventDefault();

-/***/ "I7TD":
-/***/ (function(module, exports) {
+		// In the grid view, bubble up an edit:attachment event to the controller.
+		if ( this.controller.isModeActive( 'grid' ) ) {
+			if ( this.controller.isModeActive( 'edit' ) ) {
+				// Pass the current target to restore focus when closing.
+				this.controller.trigger( 'edit:attachment', this.model, event.currentTarget );
+				return;
+			}

-var Attachment = wp.media.model.Attachment,
-	Library = wp.media.controller.Library,
-	l10n = wp.media.view.l10n,
-	FeaturedImage;
+			if ( this.controller.isModeActive( 'select' ) ) {
+				method = 'toggle';
+			}
+		}

-/**
- * wp.media.controller.FeaturedImage
- *
- * A state for selecting a featured image for a post.
- *
- * @memberOf wp.media.controller
- *
- * @class
- * @augments wp.media.controller.Library
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- *
- * @param {object}                     [attributes]                          The attributes hash passed to the state.
- * @param {string}                     [attributes.id=featured-image]        Unique identifier.
- * @param {string}                     [attributes.title=Set Featured Image] Title for the state. Displays in the media menu and the frame's title region.
- * @param {wp.media.model.Attachments} [attributes.library]                  The attachments collection to browse.
- *                                                                           If one is not supplied, a collection of all images will be created.
- * @param {boolean}                    [attributes.multiple=false]           Whether multi-select is enabled.
- * @param {string}                     [attributes.content=upload]           Initial mode for the content region.
- *                                                                           Overridden by persistent user setting if 'contentUserSetting' is true.
- * @param {string}                     [attributes.menu=default]             Initial mode for the menu region.
- * @param {string}                     [attributes.router=browse]            Initial mode for the router region.
- * @param {string}                     [attributes.toolbar=featured-image]   Initial mode for the toolbar region.
- * @param {int}                        [attributes.priority=60]              The priority for the state link in the media menu.
- * @param {boolean}                    [attributes.searchable=true]          Whether the library is searchable.
- * @param {boolean|string}             [attributes.filterable=false]         Whether the library is filterable, and if so what filters should be shown.
- *                                                                           Accepts 'all', 'uploaded', or 'unattached'.
- * @param {boolean}                    [attributes.sortable=true]            Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
- * @param {boolean}                    [attributes.autoSelect=true]          Whether an uploaded attachment should be automatically added to the selection.
- * @param {boolean}                    [attributes.describe=false]           Whether to offer UI to describe attachments - e.g. captioning images in a gallery.
- * @param {boolean}                    [attributes.contentUserSetting=true]  Whether the content region's mode should be set and persisted per user.
- * @param {boolean}                    [attributes.syncSelection=true]       Whether the Attachments selection should be persisted from the last state.
- */
-FeaturedImage = Library.extend(/** @lends wp.media.controller.FeaturedImage.prototype */{
-	defaults: _.defaults({
-		id:            'featured-image',
-		title:         l10n.setFeaturedImageTitle,
-		multiple:      false,
-		filterable:    'uploaded',
-		toolbar:       'featured-image',
-		priority:      60,
-		syncSelection: true
-	}, Library.prototype.defaults ),
+		if ( event.shiftKey ) {
+			method = 'between';
+		} else if ( event.ctrlKey || event.metaKey ) {
+			method = 'toggle';
+		}
+
+		this.toggleSelection({
+			method: method
+		});

+		this.controller.trigger( 'selection:toggle' );
+	},
 	/**
-	 * @since 3.5.0
+	 * @param {Object} options
 	 */
-	initialize: function() {
-		var library, comparator;
+	toggleSelection: function( options ) {
+		var collection = this.collection,
+			selection = this.options.selection,
+			model = this.model,
+			method = options && options.method,
+			single, models, singleIndex, modelIndex;

-		// If we haven't been provided a `library`, create a `Selection`.
-		if ( ! this.get('library') ) {
-			this.set( 'library', wp.media.query({ type: 'image' }) );
+		if ( ! selection ) {
+			return;
 		}

-		Library.prototype.initialize.apply( this, arguments );
+		single = selection.single();
+		method = _.isUndefined( method ) ? selection.multiple : method;

-		library    = this.get('library');
-		comparator = library.comparator;
+		// If the `method` is set to `between`, select all models that
+		// exist between the current and the selected model.
+		if ( 'between' === method && single && selection.multiple ) {
+			// If the models are the same, short-circuit.
+			if ( single === model ) {
+				return;
+			}

-		// Overload the library's comparator to push items that are not in
-		// the mirrored query to the front of the aggregate collection.
-		library.comparator = function( a, b ) {
-			var aInQuery = !! this.mirroring.get( a.cid ),
-				bInQuery = !! this.mirroring.get( b.cid );
+			singleIndex = collection.indexOf( single );
+			modelIndex  = collection.indexOf( this.model );

-			if ( ! aInQuery && bInQuery ) {
-				return -1;
-			} else if ( aInQuery && ! bInQuery ) {
-				return 1;
+			if ( singleIndex < modelIndex ) {
+				models = collection.models.slice( singleIndex, modelIndex + 1 );
 			} else {
-				return comparator.apply( this, arguments );
+				models = collection.models.slice( modelIndex, singleIndex + 1 );
 			}
-		};

-		// Add all items in the selection to the library, so any featured
-		// images that are not initially loaded still appear.
-		library.observe( this.get('selection') );
-	},
+			selection.add( models );
+			selection.single( model );
+			return;

-	/**
-	 * @since 3.5.0
-	 */
-	activate: function() {
-		this.frame.on( 'open', this.updateSelection, this );
+		// If the `method` is set to `toggle`, just flip the selection
+		// status, regardless of whether the model is the single model.
+		} else if ( 'toggle' === method ) {
+			selection[ this.selected() ? 'remove' : 'add' ]( model );
+			selection.single( model );
+			return;
+		} else if ( 'add' === method ) {
+			selection.add( model );
+			selection.single( model );
+			return;
+		}

-		Library.prototype.activate.apply( this, arguments );
+		// Fixes bug that loses focus when selecting a featured image.
+		if ( ! method ) {
+			method = 'add';
+		}
+
+		if ( method !== 'add' ) {
+			method = 'reset';
+		}
+
+		if ( this.selected() ) {
+			/*
+			 * If the model is the single model, remove it.
+			 * If it is not the same as the single model,
+			 * it now becomes the single model.
+			 */
+			selection[ single === model ? 'remove' : 'single' ]( model );
+		} else {
+			/*
+			 * If the model is not selected, run the `method` on the
+			 * selection. By default, we `reset` the selection, but the
+			 * `method` can be set to `add` the model to the selection.
+			 */
+			selection[ method ]( model );
+			selection.single( model );
+		}
 	},

+	updateSelect: function() {
+		this[ this.selected() ? 'select' : 'deselect' ]();
+	},
 	/**
-	 * @since 3.5.0
+	 * @return {unresolved|boolean}
 	 */
-	deactivate: function() {
-		this.frame.off( 'open', this.updateSelection, this );
-
-		Library.prototype.deactivate.apply( this, arguments );
+	selected: function() {
+		var selection = this.options.selection;
+		if ( selection ) {
+			return !! selection.get( this.model.cid );
+		}
 	},
-
 	/**
-	 * @since 3.5.0
+	 * @param {Backbone.Model} model
+	 * @param {Backbone.Collection} collection
 	 */
-	updateSelection: function() {
-		var selection = this.get('selection'),
-			id = wp.media.view.settings.post.featuredImageId,
-			attachment;
+	select: function( model, collection ) {
+		var selection = this.options.selection,
+			controller = this.controller;

-		if ( '' !== id && -1 !== id ) {
-			attachment = Attachment.get( id );
-			attachment.fetch();
+		/*
+		 * Check if a selection exists and if it's the collection provided.
+		 * If they're not the same collection, bail; we're in another
+		 * selection's event loop.
+		 */
+		if ( ! selection || ( collection && collection !== selection ) ) {
+			return;
 		}

-		selection.reset( attachment ? [ attachment ] : [] );
-	}
-});
-
-module.exports = FeaturedImage;
-
-
-/***/ }),
-
-/***/ "IgEq":
-/***/ (function(module, exports) {
-
-var Toolbar = wp.media.view.Toolbar,
-	l10n = wp.media.view.l10n,
-	Select;
-
-/**
- * wp.media.view.Toolbar.Select
- *
- * @memberOf wp.media.view.Toolbar
- *
- * @class
- * @augments wp.media.view.Toolbar
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-Select = Toolbar.extend(/** @lends wp.media.view.Toolbar.Select.prototype */{
-	initialize: function() {
-		var options = this.options;
-
-		_.bindAll( this, 'clickSelect' );
-
-		_.defaults( options, {
-			event: 'select',
-			state: false,
-			reset: true,
-			close: true,
-			text:  l10n.select,
-
-			// Does the button rely on the selection?
-			requires: {
-				selection: true
-			}
-		});
+		// Bail if the model is already selected.
+		if ( this.$el.hasClass( 'selected' ) ) {
+			return;
+		}

-		options.items = _.defaults( options.items || {}, {
-			select: {
-				style:    'primary',
-				text:     options.text,
-				priority: 80,
-				click:    this.clickSelect,
-				requires: options.requires
-			}
-		});
-		// Call 'initialize' directly on the parent class.
-		Toolbar.prototype.initialize.apply( this, arguments );
+		// Add 'selected' class to model, set aria-checked to true.
+		this.$el.addClass( 'selected' ).attr( 'aria-checked', true );
+		//  Make the checkbox tabable, except in media grid (bulk select mode).
+		if ( ! ( controller.isModeActive( 'grid' ) && controller.isModeActive( 'select' ) ) ) {
+			this.$( '.check' ).attr( 'tabindex', '0' );
+		}
 	},
+	/**
+	 * @param {Backbone.Model} model
+	 * @param {Backbone.Collection} collection
+	 */
+	deselect: function( model, collection ) {
+		var selection = this.options.selection;

-	clickSelect: function() {
-		var options = this.options,
-			controller = this.controller;
-
-		if ( options.close ) {
-			controller.close();
+		/*
+		 * Check if a selection exists and if it's the collection provided.
+		 * If they're not the same collection, bail; we're in another
+		 * selection's event loop.
+		 */
+		if ( ! selection || ( collection && collection !== selection ) ) {
+			return;
 		}
+		this.$el.removeClass( 'selected' ).attr( 'aria-checked', false )
+			.find( '.check' ).attr( 'tabindex', '-1' );
+	},
+	/**
+	 * @param {Backbone.Model} model
+	 * @param {Backbone.Collection} collection
+	 */
+	details: function( model, collection ) {
+		var selection = this.options.selection,
+			details;

-		if ( options.event ) {
-			controller.state().trigger( options.event );
+		if ( selection !== collection ) {
+			return;
 		}

-		if ( options.state ) {
-			controller.setState( options.state );
-		}
+		details = selection.single();
+		this.$el.toggleClass( 'details', details === this.model );
+	},
+	/**
+	 * @param {string} size
+	 * @return {Object}
+	 */
+	imageSize: function( size ) {
+		var sizes = this.model.get('sizes'), matched = false;
+
+		size = size || 'medium';
+
+		// Use the provided image size if possible.
+		if ( sizes ) {
+			if ( sizes[ size ] ) {
+				matched = sizes[ size ];
+			} else if ( sizes.large ) {
+				matched = sizes.large;
+			} else if ( sizes.thumbnail ) {
+				matched = sizes.thumbnail;
+			} else if ( sizes.full ) {
+				matched = sizes.full;
+			}

-		if ( options.reset ) {
-			controller.reset();
+			if ( matched ) {
+				return _.clone( matched );
+			}
 		}
-	}
-});
-
-module.exports = Select;
-

-/***/ }),
+		return {
+			url:         this.model.get('url'),
+			width:       this.model.get('width'),
+			height:      this.model.get('height'),
+			orientation: this.model.get('orientation')
+		};
+	},
+	/**
+	 * @param {Object} event
+	 */
+	updateSetting: function( event ) {
+		var $setting = $( event.target ).closest('[data-setting]'),
+			setting, value;

-/***/ "IkWq":
-/***/ (function(module, exports) {
+		if ( ! $setting.length ) {
+			return;
+		}

-var State = wp.media.controller.State,
-	Library = wp.media.controller.Library,
-	l10n = wp.media.view.l10n,
-	ImageDetails;
+		setting = $setting.data('setting');
+		value   = event.target.value;

-/**
- * wp.media.controller.ImageDetails
- *
- * A state for editing the attachment display settings of an image that's been
- * inserted into the editor.
- *
- * @memberOf wp.media.controller
- *
- * @class
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- *
- * @param {object}                    [attributes]                       The attributes hash passed to the state.
- * @param {string}                    [attributes.id=image-details]      Unique identifier.
- * @param {string}                    [attributes.title=Image Details]   Title for the state. Displays in the frame's title region.
- * @param {wp.media.model.Attachment} attributes.image                   The image's model.
- * @param {string|false}              [attributes.content=image-details] Initial mode for the content region.
- * @param {string|false}              [attributes.menu=false]            Initial mode for the menu region.
- * @param {string|false}              [attributes.router=false]          Initial mode for the router region.
- * @param {string|false}              [attributes.toolbar=image-details] Initial mode for the toolbar region.
- * @param {boolean}                   [attributes.editing=false]         Unused.
- * @param {int}                       [attributes.priority=60]           Unused.
- *
- * @todo This state inherits some defaults from media.controller.Library.prototype.defaults,
- *       however this may not do anything.
- */
-ImageDetails = State.extend(/** @lends wp.media.controller.ImageDetails.prototype */{
-	defaults: _.defaults({
-		id:       'image-details',
-		title:    l10n.imageDetailsTitle,
-		content:  'image-details',
-		menu:     false,
-		router:   false,
-		toolbar:  'image-details',
-		editing:  false,
-		priority: 60
-	}, Library.prototype.defaults ),
+		if ( this.model.get( setting ) !== value ) {
+			this.save( setting, value );
+		}
+	},

 	/**
-	 * @since 3.9.0
+	 * Pass all the arguments to the model's save method.
 	 *
-	 * @param options Attributes
+	 * Records the aggregate status of all save requests and updates the
+	 * view's classes accordingly.
 	 */
-	initialize: function( options ) {
-		this.image = options.image;
-		State.prototype.initialize.apply( this, arguments );
-	},
+	save: function() {
+		var view = this,
+			save = this._save = this._save || { status: 'ready' },
+			request = this.model.save.apply( this.model, arguments ),
+			requests = save.requests ? $.when( request, save.requests ) : request;

-	/**
-	 * @since 3.9.0
-	 */
-	activate: function() {
-		this.frame.modal.$el.addClass('image-details');
-	}
-});
+		// If we're waiting to remove 'Saved.', stop.
+		if ( save.savedTimer ) {
+			clearTimeout( save.savedTimer );
+		}

-module.exports = ImageDetails;
+		this.updateSave('waiting');
+		save.requests = requests;
+		requests.always( function() {
+			// If we've performed another request since this one, bail.
+			if ( save.requests !== requests ) {
+				return;
+			}

+			view.updateSave( requests.state() === 'resolved' ? 'complete' : 'error' );
+			save.savedTimer = setTimeout( function() {
+				view.updateSave('ready');
+				delete save.savedTimer;
+			}, 2000 );
+		});
+	},
+	/**
+	 * @param {string} status
+	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
+	 */
+	updateSave: function( status ) {
+		var save = this._save = this._save || { status: 'ready' };

-/***/ }),
+		if ( status && status !== save.status ) {
+			this.$el.removeClass( 'save-' + save.status );
+			save.status = status;
+		}

-/***/ "JecU":
-/***/ (function(module, exports) {
+		this.$el.addClass( 'save-' + save.status );
+		return this;
+	},

-var $ = jQuery,
-	EmbedLink;
+	updateAll: function() {
+		var $settings = this.$('[data-setting]'),
+			model = this.model,
+			changed;

-/**
- * wp.media.view.EmbedLink
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.view.Settings
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-EmbedLink = wp.media.view.Settings.extend(/** @lends wp.media.view.EmbedLink.prototype */{
-	className: 'embed-link-settings',
-	template:  wp.template('embed-link-settings'),
+		changed = _.chain( $settings ).map( function( el ) {
+			var $input = $('input, textarea, select, [value]', el ),
+				setting, value;

-	initialize: function() {
-		this.listenTo( this.model, 'change:url', this.updateoEmbed );
-	},
+			if ( ! $input.length ) {
+				return;
+			}

-	updateoEmbed: _.debounce( function() {
-		var url = this.model.get( 'url' );
+			setting = $(el).data('setting');
+			value = $input.val();

-		// Clear out previous results.
-		this.$('.embed-container').hide().find('.embed-preview').empty();
-		this.$( '.setting' ).hide();
+			// Record the value if it changed.
+			if ( model.get( setting ) !== value ) {
+				return [ setting, value ];
+			}
+		}).compact().object().value();

-		// Only proceed with embed if the field contains more than 11 characters.
-		// Example: http://a.io is 11 chars
-		if ( url && ( url.length < 11 || ! url.match(/^http(s)?:\/\//) ) ) {
+		if ( ! _.isEmpty( changed ) ) {
+			model.save( changed );
+		}
+	},
+	/**
+	 * @param {Object} event
+	 */
+	removeFromLibrary: function( event ) {
+		// Catch enter and space events.
+		if ( 'keydown' === event.type && 13 !== event.keyCode && 32 !== event.keyCode ) {
 			return;
 		}

-		this.fetch();
-	}, wp.media.controller.Embed.sensitivity ),
+		// Stop propagation so the model isn't selected.
+		event.stopPropagation();

-	fetch: function() {
-		var url = this.model.get( 'url' ), re, youTubeEmbedMatch;
+		this.collection.remove( this.model );
+	},

-		// Check if they haven't typed in 500 ms.
-		if ( $('#embed-url-field').val() !== url ) {
+	/**
+	 * Add the model if it isn't in the selection, if it is in the selection,
+	 * remove it.
+	 *
+	 * @param {[type]} event [description]
+	 * @return {[type]} [description]
+	 */
+	checkClickHandler: function ( event ) {
+		var selection = this.options.selection;
+		if ( ! selection ) {
 			return;
 		}
-
-		if ( this.dfd && 'pending' === this.dfd.state() ) {
-			this.dfd.abort();
+		event.stopPropagation();
+		if ( selection.where( { id: this.model.get( 'id' ) } ).length ) {
+			selection.remove( this.model );
+			// Move focus back to the attachment tile (from the check).
+			this.$el.focus();
+		} else {
+			selection.add( this.model );
 		}

-		// Support YouTube embed urls, since they work once in the editor.
-		re = /https?:\/\/www\.youtube\.com\/embed\/([^/]+)/;
-		youTubeEmbedMatch = re.exec( url );
-		if ( youTubeEmbedMatch ) {
-			url = 'https://www.youtube.com/watch?v=' + youTubeEmbedMatch[ 1 ];
+		// Trigger an action button update.
+		this.controller.trigger( 'selection:toggle' );
+	}
+});
+
+// Ensure settings remain in sync between attachment views.
+_.each({
+	caption: '_syncCaption',
+	title:   '_syncTitle',
+	artist:  '_syncArtist',
+	album:   '_syncAlbum'
+}, function( method, setting ) {
+	/**
+	 * @function _syncCaption
+	 * @memberOf wp.media.view.Attachment
+	 * @instance
+	 *
+	 * @param {Backbone.Model} model
+	 * @param {string} value
+	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
+	 */
+	/**
+	 * @function _syncTitle
+	 * @memberOf wp.media.view.Attachment
+	 * @instance
+	 *
+	 * @param {Backbone.Model} model
+	 * @param {string} value
+	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
+	 */
+	/**
+	 * @function _syncArtist
+	 * @memberOf wp.media.view.Attachment
+	 * @instance
+	 *
+	 * @param {Backbone.Model} model
+	 * @param {string} value
+	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
+	 */
+	/**
+	 * @function _syncAlbum
+	 * @memberOf wp.media.view.Attachment
+	 * @instance
+	 *
+	 * @param {Backbone.Model} model
+	 * @param {string} value
+	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
+	 */
+	Attachment.prototype[ method ] = function( model, value ) {
+		var $setting = this.$('[data-setting="' + setting + '"]');
+
+		if ( ! $setting.length ) {
+			return this;
 		}

-		this.dfd = wp.apiRequest({
-			url: wp.media.view.settings.oEmbedProxyUrl,
-			data: {
-				url: url,
-				maxwidth: this.model.get( 'width' ),
-				maxheight: this.model.get( 'height' )
-			},
-			type: 'GET',
-			dataType: 'json',
-			context: this
-		})
-			.done( function( response ) {
-				this.renderoEmbed( {
-					data: {
-						body: response.html || ''
-					}
-				} );
-			} )
-			.fail( this.renderFail );
-	},
-
-	renderFail: function ( response, status ) {
-		if ( 'abort' === status ) {
-			return;
+		/*
+		 * If the updated value is in sync with the value in the DOM, there
+		 * is no need to re-render. If we're currently editing the value,
+		 * it will automatically be in sync, suppressing the re-render for
+		 * the view we're editing, while updating any others.
+		 */
+		if ( value === $setting.find('input, textarea, select, [value]').val() ) {
+			return this;
 		}
-		this.$( '.link-text' ).show();
-	},

-	renderoEmbed: function( response ) {
-		var html = ( response && response.data && response.data.body ) || '';
-
-		if ( html ) {
-			this.$('.embed-container').show().find('.embed-preview').html( html );
-		} else {
-			this.renderFail();
-		}
-	}
+		return this.render();
+	};
 });

-module.exports = EmbedLink;
+module.exports = Attachment;


 /***/ }),

-/***/ "Ju2C":
-/***/ (function(module, exports) {
+/***/ 7274:
+/***/ (function(module) {

-var MenuItem = wp.media.view.MenuItem,
-	PriorityList = wp.media.view.PriorityList,
-	Menu;
+/* global ClipboardJS */
+var Attachment = wp.media.view.Attachment,
+	l10n = wp.media.view.l10n,
+	$ = jQuery,
+	Details,
+	__ = wp.i18n.__;

-/**
- * wp.media.view.Menu
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.view.PriorityList
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-Menu = PriorityList.extend(/** @lends wp.media.view.Menu.prototype */{
+Details = Attachment.extend(/** @lends wp.media.view.Attachment.Details.prototype */{
 	tagName:   'div',
-	className: 'media-menu',
-	property:  'state',
-	ItemView:  MenuItem,
-	region:    'menu',
+	className: 'attachment-details',
+	template:  wp.template('attachment-details'),

-	attributes: {
-		role:               'tablist',
-		'aria-orientation': 'horizontal'
+	/*
+	 * Reset all the attributes inherited from Attachment including role=checkbox,
+	 * tabindex, etc., as they are inappropriate for this view. See #47458 and [30483] / #30390.
+	 */
+	attributes: {},
+
+	events: {
+		'change [data-setting]':          'updateSetting',
+		'change [data-setting] input':    'updateSetting',
+		'change [data-setting] select':   'updateSetting',
+		'change [data-setting] textarea': 'updateSetting',
+		'click .delete-attachment':       'deleteAttachment',
+		'click .trash-attachment':        'trashAttachment',
+		'click .untrash-attachment':      'untrashAttachment',
+		'click .edit-attachment':         'editAttachment',
+		'keydown':                        'toggleSelectionHandler'
 	},

-	initialize: function() {
-		this._views = {};
+	/**
+	 * Copies the attachment URL to the clipboard.
+	 *
+	 * @since 5.5.0
+	 *
+	 * @param {MouseEvent} event A click event.
+	 *
+	 * @return {void}
+	 */
+	 copyAttachmentDetailsURLClipboard: function() {
+		var clipboard = new ClipboardJS( '.copy-attachment-url' ),
+			successTimeout;

-		this.set( _.extend( {}, this._views, this.options.views ), { silent: true });
-		delete this.options.views;
+		clipboard.on( 'success', function( event ) {
+			var triggerElement = $( event.trigger ),
+				successElement = $( '.success', triggerElement.closest( '.copy-to-clipboard-container' ) );

-		if ( ! this.options.silent ) {
-			this.render();
-		}
+			// Clear the selection and move focus back to the trigger.
+			event.clearSelection();
+			// Handle ClipboardJS focus bug, see https://github.com/zenorocha/clipboard.js/issues/680
+			triggerElement.trigger( 'focus' );

-		// Initialize the Focus Manager.
-		this.focusManager = new wp.media.view.FocusManager( {
-			el:   this.el,
-			mode: 'tabsNavigation'
+			// Show success visual feedback.
+			clearTimeout( successTimeout );
+			successElement.removeClass( 'hidden' );
+
+			// Hide success visual feedback after 3 seconds since last success.
+			successTimeout = setTimeout( function() {
+				successElement.addClass( 'hidden' );
+			}, 3000 );
+
+			// Handle success audible feedback.
+			wp.a11y.speak( __( 'The file URL has been copied to your clipboard' ) );
 		} );
+	 },

-		// The menu is always rendered and can be visible or hidden on some frames.
-		this.isVisible = true;
+	/**
+	 * Shows the details of an attachment.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @constructs wp.media.view.Attachment.Details
+	 * @augments wp.media.view.Attachment
+	 *
+	 * @return {void}
+	 */
+	initialize: function() {
+		this.options = _.defaults( this.options, {
+			rerenderOnModelChange: false
+		});
+
+		// Call 'initialize' directly on the parent class.
+		Attachment.prototype.initialize.apply( this, arguments );
+
+		this.copyAttachmentDetailsURLClipboard();
 	},

 	/**
-	 * @param {Object} options
-	 * @param {string} id
-	 * @return {wp.media.View}
+	 * Gets the focusable elements to move focus to.
+	 *
+	 * @since 5.3.0
 	 */
-	toView: function( options, id ) {
-		options = options || {};
-		options[ this.property ] = options[ this.property ] || id;
-		return new this.ItemView( options ).render();
+	getFocusableElements: function() {
+		var editedAttachment = $( 'li[data-id="' + this.model.id + '"]' );
+
+		this.previousAttachment = editedAttachment.prev();
+		this.nextAttachment = editedAttachment.next();
 	},

-	ready: function() {
-		/**
-		 * call 'ready' directly on the parent class
-		 */
-		PriorityList.prototype.ready.apply( this, arguments );
-		this.visibility();
+	/**
+	 * Moves focus to the previous or next attachment in the grid.
+	 * Fallbacks to the upload button or media frame when there are no attachments.
+	 *
+	 * @since 5.3.0
+	 */
+	moveFocus: function() {
+		if ( this.previousAttachment.length ) {
+			this.previousAttachment.trigger( 'focus' );
+			return;
+		}

-		// Set up aria tabs initial attributes.
-		this.focusManager.setupAriaTabs();
-	},
+		if ( this.nextAttachment.length ) {
+			this.nextAttachment.trigger( 'focus' );
+			return;
+		}

-	set: function() {
-		/**
-		 * call 'set' directly on the parent class
-		 */
-		PriorityList.prototype.set.apply( this, arguments );
-		this.visibility();
+		// Fallback: move focus to the "Select Files" button in the media modal.
+		if ( this.controller.uploader && this.controller.uploader.$browser ) {
+			this.controller.uploader.$browser.trigger( 'focus' );
+			return;
+		}
+
+		// Last fallback.
+		this.moveFocusToLastFallback();
 	},

-	unset: function() {
-		/**
-		 * call 'unset' directly on the parent class
-		 */
-		PriorityList.prototype.unset.apply( this, arguments );
-		this.visibility();
+	/**
+	 * Moves focus to the media frame as last fallback.
+	 *
+	 * @since 5.3.0
+	 */
+	moveFocusToLastFallback: function() {
+		// Last fallback: make the frame focusable and move focus to it.
+		$( '.media-frame' )
+			.attr( 'tabindex', '-1' )
+			.trigger( 'focus' );
 	},

-	visibility: function() {
-		var region = this.region,
-			view = this.controller[ region ].get(),
-			views = this.views.get(),
-			hide = ! views || views.length < 2;
+	/**
+	 * Deletes an attachment.
+	 *
+	 * Deletes an attachment after asking for confirmation. After deletion,
+	 * keeps focus in the modal.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {MouseEvent} event A click event.
+	 *
+	 * @return {void}
+	 */
+	deleteAttachment: function( event ) {
+		event.preventDefault();
+
+		this.getFocusableElements();

-		if ( this === view ) {
-			// Flag this menu as hidden or visible.
-			this.isVisible = ! hide;
-			// Set or remove a CSS class to hide the menu.
-			this.controller.$el.toggleClass( 'hide-' + region, hide );
+		if ( window.confirm( l10n.warnDelete ) ) {
+			this.model.destroy( {
+				wait: true,
+				error: function() {
+					window.alert( l10n.errorDeleting );
+				}
+			} );
+
+			this.moveFocus();
 		}
 	},
+
 	/**
-	 * @param {string} id
+	 * Sets the Trash state on an attachment, or destroys the model itself.
+	 *
+	 * If the mediaTrash setting is set to true, trashes the attachment.
+	 * Otherwise, the model itself is destroyed.
+	 *
+	 * @since 3.9.0
+	 *
+	 * @param {MouseEvent} event A click event.
+	 *
+	 * @return {void}
 	 */
-	select: function( id ) {
-		var view = this.get( id );
+	trashAttachment: function( event ) {
+		var library = this.controller.library,
+			self = this;
+		event.preventDefault();

-		if ( ! view ) {
-			return;
-		}
+		this.getFocusableElements();

-		this.deselect();
-		view.$el.addClass('active');
+		// When in the Media Library and the Media Trash is enabled.
+		if ( wp.media.view.settings.mediaTrash &&
+			'edit-metadata' === this.controller.content.mode() ) {

-		// Set up again the aria tabs initial attributes after the menu updates.
-		this.focusManager.setupAriaTabs();
+			this.model.set( 'status', 'trash' );
+			this.model.save().done( function() {
+				library._requery( true );
+				/*
+				 * @todo We need to move focus back to the previous, next, or first
+				 * attachment but the library gets re-queried and refreshed.
+				 * Thus, the references to the previous attachments are lost.
+				 * We need an alternate method.
+				 */
+				self.moveFocusToLastFallback();
+			} );
+		} else {
+			this.model.destroy();
+			this.moveFocus();
+		}
 	},

-	deselect: function() {
-		this.$el.children().removeClass('active');
+	/**
+	 * Untrashes an attachment.
+	 *
+	 * @since 4.0.0
+	 *
+	 * @param {MouseEvent} event A click event.
+	 *
+	 * @return {void}
+	 */
+	untrashAttachment: function( event ) {
+		var library = this.controller.library;
+		event.preventDefault();
+
+		this.model.set( 'status', 'inherit' );
+		this.model.save().done( function() {
+			library._requery( true );
+		} );
 	},

-	hide: function( id ) {
-		var view = this.get( id );
+	/**
+	 * Opens the edit page for a specific attachment.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @param {MouseEvent} event A click event.
+	 *
+	 * @return {void}
+	 */
+	editAttachment: function( event ) {
+		var editState = this.controller.states.get( 'edit-image' );
+		if ( window.imageEdit && editState ) {
+			event.preventDefault();

-		if ( ! view ) {
-			return;
+			editState.set( 'image', this.model );
+			this.controller.setState( 'edit-image' );
+		} else {
+			this.$el.addClass('needs-refresh');
 		}
-
-		view.$el.addClass('hidden');
 	},

-	show: function( id ) {
-		var view = this.get( id );
-
-		if ( ! view ) {
-			return;
+	/**
+	 * Triggers an event on the controller when reverse tabbing (shift+tab).
+	 *
+	 * This event can be used to make sure to move the focus correctly.
+	 *
+	 * @since 4.0.0
+	 *
+	 * @fires wp.media.controller.MediaLibrary#attachment:details:shift-tab
+	 * @fires wp.media.controller.MediaLibrary#attachment:keydown:arrow
+	 *
+	 * @param {KeyboardEvent} event A keyboard event.
+	 *
+	 * @return {boolean|void} Returns false or undefined.
+	 */
+	toggleSelectionHandler: function( event ) {
+		if ( 'keydown' === event.type && 9 === event.keyCode && event.shiftKey && event.target === this.$( ':tabbable' ).get( 0 ) ) {
+			this.controller.trigger( 'attachment:details:shift-tab', event );
+			return false;
 		}
+	},

-		view.$el.removeClass('hidden');
+	render: function() {
+		Attachment.prototype.render.apply( this, arguments );
+
+		wp.media.mixin.removeAllPlayers();
+		this.$( 'audio, video' ).each( function (i, elem) {
+			var el = wp.media.view.MediaDetails.prepareSrc( elem );
+			new window.MediaElementPlayer( el, wp.media.mixin.mejsSettings );
+		} );
 	}
 });

-module.exports = Menu;
+module.exports = Details;


 /***/ }),

-/***/ "KerO":
-/***/ (function(module, exports) {
-
-var l10n = wp.media.view.l10n,
-	All;
+/***/ 4640:
+/***/ (function(module) {

 /**
- * wp.media.view.AttachmentFilters.All
+ * wp.media.view.Attachment.EditLibrary
  *
- * @memberOf wp.media.view.AttachmentFilters
+ * @memberOf wp.media.view.Attachment
  *
  * @class
- * @augments wp.media.view.AttachmentFilters
+ * @augments wp.media.view.Attachment
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-All = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.All.prototype */{
-	createFilters: function() {
-		var filters = {},
-			uid = window.userSettings ? parseInt( window.userSettings.uid, 10 ) : 0;
-
-		_.each( wp.media.view.settings.mimeTypes || {}, function( text, key ) {
-			filters[ key ] = {
-				text: text,
-				props: {
-					status:  null,
-					type:    key,
-					uploadedTo: null,
-					orderby: 'date',
-					order:   'DESC',
-					author:  null
-				}
-			};
-		});
-
-		filters.all = {
-			text:  l10n.allMediaItems,
-			props: {
-				status:  null,
-				type:    null,
-				uploadedTo: null,
-				orderby: 'date',
-				order:   'DESC',
-				author:  null
-			},
-			priority: 10
-		};
-
-		if ( wp.media.view.settings.post.id ) {
-			filters.uploaded = {
-				text:  l10n.uploadedToThisPost,
-				props: {
-					status:  null,
-					type:    null,
-					uploadedTo: wp.media.view.settings.post.id,
-					orderby: 'menuOrder',
-					order:   'ASC',
-					author:  null
-				},
-				priority: 20
-			};
-		}
+var EditLibrary = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.EditLibrary.prototype */{
+	buttons: {
+		close: true
+	}
+});

-		filters.unattached = {
-			text:  l10n.unattached,
-			props: {
-				status:     null,
-				uploadedTo: 0,
-				type:       null,
-				orderby:    'menuOrder',
-				order:      'ASC',
-				author:     null
-			},
-			priority: 50
-		};
+module.exports = EditLibrary;

-		if ( uid ) {
-			filters.mine = {
-				text:  l10n.mine,
-				props: {
-					status:		null,
-					type:		null,
-					uploadedTo:	null,
-					orderby:	'date',
-					order:		'DESC',
-					author:		uid
-				},
-				priority: 50
-			};
-		}

-		if ( wp.media.view.settings.mediaTrash &&
-			this.controller.isModeActive( 'grid' ) ) {
+/***/ }),

-			filters.trash = {
-				text:  l10n.trash,
-				props: {
-					uploadedTo: null,
-					status:     'trash',
-					type:       null,
-					orderby:    'date',
-					order:      'DESC',
-					author:     null
-				},
-				priority: 50
-			};
-		}
+/***/ 1009:
+/***/ (function(module) {

-		this.filters = filters;
+/**
+ * wp.media.view.Attachment.EditSelection
+ *
+ * @memberOf wp.media.view.Attachment
+ *
+ * @class
+ * @augments wp.media.view.Attachment.Selection
+ * @augments wp.media.view.Attachment
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var EditSelection = wp.media.view.Attachment.Selection.extend(/** @lends wp.media.view.Attachment.EditSelection.prototype */{
+	buttons: {
+		close: true
 	}
 });

-module.exports = All;
+module.exports = EditSelection;


 /***/ }),

-/***/ "LGdN":
-/***/ (function(module, exports) {
+/***/ 9254:
+/***/ (function(module) {

 /**
- * wp.media.view.Frame
+ * wp.media.view.Attachment.Library
  *
- * A frame is a composite view consisting of one or more regions and one or more
- * states.
+ * @memberOf wp.media.view.Attachment
  *
- * @memberOf wp.media.view
+ * @class
+ * @augments wp.media.view.Attachment
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var Library = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.Library.prototype */{
+	buttons: {
+		check: true
+	}
+});
+
+module.exports = Library;
+
+
+/***/ }),
+
+/***/ 9003:
+/***/ (function(module) {
+
+/**
+ * wp.media.view.Attachment.Selection
  *
- * @see wp.media.controller.State
- * @see wp.media.controller.Region
+ * @memberOf wp.media.view.Attachment
  *
  * @class
+ * @augments wp.media.view.Attachment
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
- * @mixes wp.media.controller.StateMachine
  */
-var Frame = wp.media.View.extend(/** @lends wp.media.view.Frame.prototype */{
-	initialize: function() {
-		_.defaults( this.options, {
-			mode: [ 'select' ]
-		});
-		this._createRegions();
-		this._createStates();
-		this._createModes();
-	},
+var Selection = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.Selection.prototype */{
+	className: 'attachment selection',

-	_createRegions: function() {
-		// Clone the regions array.
-		this.regions = this.regions ? this.regions.slice() : [];
+	// On click, just select the model, instead of removing the model from
+	// the selection.
+	toggleSelection: function() {
+		this.options.selection.single( this.model );
+	}
+});

-		// Initialize regions.
-		_.each( this.regions, function( region ) {
-			this[ region ] = new wp.media.controller.Region({
-				view:     this,
-				id:       region,
-				selector: '.media-frame-' + region
-			});
-		}, this );
-	},
-	/**
-	 * Create the frame's states.
-	 *
-	 * @see wp.media.controller.State
-	 * @see wp.media.controller.StateMachine
-	 *
-	 * @fires wp.media.controller.State#ready
-	 */
-	_createStates: function() {
-		// Create the default `states` collection.
-		this.states = new Backbone.Collection( null, {
-			model: wp.media.controller.State
-		});
+module.exports = Selection;

-		// Ensure states have a reference to the frame.
-		this.states.on( 'add', function( model ) {
-			model.frame = this;
-			model.trigger('ready');
-		}, this );

-		if ( this.options.states ) {
-			this.states.add( this.options.states );
-		}
-	},
+/***/ }),

-	/**
-	 * A frame can be in a mode or multiple modes at one time.
-	 *
-	 * For example, the manage media frame can be in the `Bulk Select` or `Edit` mode.
-	 */
-	_createModes: function() {
-		// Store active "modes" that the frame is in. Unrelated to region modes.
-		this.activeModes = new Backbone.Collection();
-		this.activeModes.on( 'add remove reset', _.bind( this.triggerModeEvents, this ) );
+/***/ 8408:
+/***/ (function(module) {

-		_.each( this.options.mode, function( mode ) {
-			this.activateMode( mode );
-		}, this );
-	},
-	/**
-	 * Reset all states on the frame to their defaults.
-	 *
-	 * @return {wp.media.view.Frame} Returns itself to allow chaining.
-	 */
-	reset: function() {
-		this.states.invoke( 'trigger', 'reset' );
-		return this;
-	},
-	/**
-	 * Map activeMode collection events to the frame.
-	 */
-	triggerModeEvents: function( model, collection, options ) {
-		var collectionEvent,
-			modeEventMap = {
-				add: 'activate',
-				remove: 'deactivate'
-			},
-			eventToTrigger;
-		// Probably a better way to do this.
-		_.each( options, function( value, key ) {
-			if ( value ) {
-				collectionEvent = key;
-			}
-		} );
+var View = wp.media.View,
+	$ = jQuery,
+	Attachments,
+	infiniteScrolling = wp.media.view.settings.infiniteScrolling;

-		if ( ! _.has( modeEventMap, collectionEvent ) ) {
-			return;
-		}
+Attachments = View.extend(/** @lends wp.media.view.Attachments.prototype */{
+	tagName:   'ul',
+	className: 'attachments',

-		eventToTrigger = model.get('id') + ':' + modeEventMap[collectionEvent];
-		this.trigger( eventToTrigger );
+	attributes: {
+		tabIndex: -1
 	},
-	/**
-	 * Activate a mode on the frame.
-	 *
-	 * @param string mode Mode ID.
-	 * @return {this} Returns itself to allow chaining.
-	 */
-	activateMode: function( mode ) {
-		// Bail if the mode is already active.
-		if ( this.isModeActive( mode ) ) {
-			return;
-		}
-		this.activeModes.add( [ { id: mode } ] );
-		// Add a CSS class to the frame so elements can be styled for the mode.
-		this.$el.addClass( 'mode-' + mode );

-		return this;
-	},
 	/**
-	 * Deactivate a mode on the frame.
+	 * Represents the overview of attachments in the Media Library.
 	 *
-	 * @param string mode Mode ID.
-	 * @return {this} Returns itself to allow chaining.
+	 * The constructor binds events to the collection this view represents when
+	 * adding or removing attachments or resetting the entire collection.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @constructs
+	 * @memberof wp.media.view
+	 *
+	 * @augments wp.media.View
+	 *
+	 * @listens collection:add
+	 * @listens collection:remove
+	 * @listens collection:reset
+	 * @listens controller:library:selection:add
+	 * @listens scrollElement:scroll
+	 * @listens this:ready
+	 * @listens controller:open
 	 */
-	deactivateMode: function( mode ) {
-		// Bail if the mode isn't active.
-		if ( ! this.isModeActive( mode ) ) {
-			return this;
-		}
-		this.activeModes.remove( this.activeModes.where( { id: mode } ) );
-		this.$el.removeClass( 'mode-' + mode );
+	initialize: function() {
+		this.el.id = _.uniqueId('__attachments-view-');
+
 		/**
-		 * Frame mode deactivation event.
+		 * @since 5.8.0 Added the `infiniteScrolling` parameter.
 		 *
-		 * @event wp.media.view.Frame#{mode}:deactivate
+		 * @param infiniteScrolling  Whether to enable infinite scrolling or use
+		 *                           the default "load more" button.
+		 * @param refreshSensitivity The time in milliseconds to throttle the scroll
+		 *                           handler.
+		 * @param refreshThreshold   The amount of pixels that should be scrolled before
+		 *                           loading more attachments from the server.
+		 * @param AttachmentView     The view class to be used for models in the
+		 *                           collection.
+		 * @param sortable           A jQuery sortable options object
+		 *                           ( http://api.jqueryui.com/sortable/ ).
+		 * @param resize             A boolean indicating whether or not to listen to
+		 *                           resize events.
+		 * @param idealColumnWidth   The width in pixels which a column should have when
+		 *                           calculating the total number of columns.
 		 */
-		this.trigger( mode + ':deactivate' );
+		_.defaults( this.options, {
+			infiniteScrolling:  infiniteScrolling || false,
+			refreshSensitivity: wp.media.isTouchDevice ? 300 : 200,
+			refreshThreshold:   3,
+			AttachmentView:     wp.media.view.Attachment,
+			sortable:           false,
+			resize:             true,
+			idealColumnWidth:   $( window ).width() < 640 ? 135 : 150
+		});

-		return this;
-	},
-	/**
-	 * Check if a mode is enabled on the frame.
-	 *
-	 * @param string mode Mode ID.
-	 * @return bool
-	 */
-	isModeActive: function( mode ) {
-		return Boolean( this.activeModes.where( { id: mode } ).length );
-	}
-});
+		this._viewsByCid = {};
+		this.$window = $( window );
+		this.resizeEvent = 'resize.media-modal-columns';

-// Make the `Frame` a `StateMachine`.
-_.extend( Frame.prototype, wp.media.controller.StateMachine.prototype );
+		this.collection.on( 'add', function( attachment ) {
+			this.views.add( this.createAttachmentView( attachment ), {
+				at: this.collection.indexOf( attachment )
+			});
+		}, this );
+
+		/*
+		 * Find the view to be removed, delete it and call the remove function to clear
+		 * any set event handlers.
+		 */
+		this.collection.on( 'remove', function( attachment ) {
+			var view = this._viewsByCid[ attachment.cid ];
+			delete this._viewsByCid[ attachment.cid ];
+
+			if ( view ) {
+				view.remove();
+			}
+		}, this );
+
+		this.collection.on( 'reset', this.render, this );

-module.exports = Frame;
+		this.controller.on( 'library:selection:add', this.attachmentFocus, this );

+		if ( this.options.infiniteScrolling ) {
+			// Throttle the scroll handler and bind this.
+			this.scroll = _.chain( this.scroll ).bind( this ).throttle( this.options.refreshSensitivity ).value();

-/***/ }),
+			this.options.scrollElement = this.options.scrollElement || this.el;
+			$( this.options.scrollElement ).on( 'scroll', this.scroll );
+		}

-/***/ "LND6":
-/***/ (function(module, exports) {
+		this.initSortable();

-var View = wp.media.View,
-	AttachmentCompat;
+		_.bindAll( this, 'setColumns' );

-/**
- * wp.media.view.AttachmentCompat
- *
- * A view to display fields added via the `attachment_fields_to_edit` filter.
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-AttachmentCompat = View.extend(/** @lends wp.media.view.AttachmentCompat.prototype */{
-	tagName:   'form',
-	className: 'compat-item',
+		if ( this.options.resize ) {
+			this.on( 'ready', this.bindEvents );
+			this.controller.on( 'open', this.setColumns );

-	events: {
-		'submit':          'preventDefault',
-		'change input':    'save',
-		'change select':   'save',
-		'change textarea': 'save'
+			/*
+			 * Call this.setColumns() after this view has been rendered in the
+			 * DOM so attachments get proper width applied.
+			 */
+			_.defer( this.setColumns, this );
+		}
 	},

-	initialize: function() {
-		this.listenTo( this.model, 'change:compat', this.render );
-	},
 	/**
-	 * @return {wp.media.view.AttachmentCompat} Returns itself to allow chaining.
+	 * Listens to the resizeEvent on the window.
+	 *
+	 * Adjusts the amount of columns accordingly. First removes any existing event
+	 * handlers to prevent duplicate listeners.
+	 *
+	 * @since 4.0.0
+	 *
+	 * @listens window:resize
+	 *
+	 * @return {void}
 	 */
-	dispose: function() {
-		if ( this.$(':focus').length ) {
-			this.save();
-		}
-		/**
-		 * call 'dispose' directly on the parent class
-		 */
-		return View.prototype.dispose.apply( this, arguments );
+	bindEvents: function() {
+		this.$window.off( this.resizeEvent ).on( this.resizeEvent, _.debounce( this.setColumns, 50 ) );
 	},
+
 	/**
-	 * @return {wp.media.view.AttachmentCompat} Returns itself to allow chaining.
+	 * Focuses the first item in the collection.
+	 *
+	 * @since 4.0.0
+	 *
+	 * @return {void}
 	 */
-	render: function() {
-		var compat = this.model.get('compat');
-		if ( ! compat || ! compat.item ) {
-			return;
+	attachmentFocus: function() {
+		/*
+		 * @todo When uploading new attachments, this tries to move focus to
+		 * the attachments grid. Actually, a progress bar gets initially displayed
+		 * and then updated when uploading completes, so focus is lost.
+		 * Additionally: this view is used for both the attachments list and
+		 * the list of selected attachments in the bottom media toolbar. Thus, when
+		 * uploading attachments, it is called twice and returns two different `this`.
+		 * `this.columns` is truthy within the modal.
+		 */
+		if ( this.columns ) {
+			// Move focus to the grid list within the modal.
+			this.$el.focus();
 		}
-
-		this.views.detach();
-		this.$el.html( compat.item );
-		this.views.render();
-		return this;
 	},
+
 	/**
-	 * @param {Object} event
+	 * Restores focus to the selected item in the collection.
+	 *
+	 * Moves focus back to the first selected attachment in the grid. Used when
+	 * tabbing backwards from the attachment details sidebar.
+	 * See media.view.AttachmentsBrowser.
+	 *
+	 * @since 4.0.0
+	 *
+	 * @return {void}
 	 */
-	preventDefault: function( event ) {
-		event.preventDefault();
+	restoreFocus: function() {
+		this.$( 'li.selected:first' ).focus();
 	},
+
 	/**
-	 * @param {Object} event
+	 * Handles events for arrow key presses.
+	 *
+	 * Focuses the attachment in the direction of the used arrow key if it exists.
+	 *
+	 * @since 4.0.0
+	 *
+	 * @param {KeyboardEvent} event The keyboard event that triggered this function.
+	 *
+	 * @return {void}
 	 */
-	save: function( event ) {
-		var data = {};
+	arrowEvent: function( event ) {
+		var attachments = this.$el.children( 'li' ),
+			perRow = this.columns,
+			index = attachments.filter( ':focus' ).index(),
+			row = ( index + 1 ) <= perRow ? 1 : Math.ceil( ( index + 1 ) / perRow );

-		if ( event ) {
-			event.preventDefault();
+		if ( index === -1 ) {
+			return;
 		}

-		_.each( this.$el.serializeArray(), function( pair ) {
-			data[ pair.name ] = pair.value;
-		});
-
-		this.controller.trigger( 'attachment:compat:waiting', ['waiting'] );
-		this.model.saveCompat( data ).always( _.bind( this.postSave, this ) );
-	},
-
-	postSave: function() {
-		this.controller.trigger( 'attachment:compat:ready', ['ready'] );
-	}
-});
-
-module.exports = AttachmentCompat;
-
-
-/***/ }),
-
-/***/ "LZpE":
-/***/ (function(module, exports) {
-
-/**
- * wp.media.view.Button
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-var Button = wp.media.View.extend(/** @lends wp.media.view.Button.prototype */{
-	tagName:    'button',
-	className:  'media-button',
-	attributes: { type: 'button' },
-
-	events: {
-		'click': 'click'
-	},
-
-	defaults: {
-		text:     '',
-		style:    '',
-		size:     'large',
-		disabled: false
-	},
-
-	initialize: function() {
-		/**
-		 * Create a model with the provided `defaults`.
-		 *
-		 * @member {Backbone.Model}
-		 */
-		this.model = new Backbone.Model( this.defaults );
+		// Left arrow = 37.
+		if ( 37 === event.keyCode ) {
+			if ( 0 === index ) {
+				return;
+			}
+			attachments.eq( index - 1 ).focus();
+		}

-		// If any of the `options` have a key from `defaults`, apply its
-		// value to the `model` and remove it from the `options object.
-		_.each( this.defaults, function( def, key ) {
-			var value = this.options[ key ];
-			if ( _.isUndefined( value ) ) {
+		// Up arrow = 38.
+		if ( 38 === event.keyCode ) {
+			if ( 1 === row ) {
 				return;
 			}
+			attachments.eq( index - perRow ).focus();
+		}

-			this.model.set( key, value );
-			delete this.options[ key ];
-		}, this );
+		// Right arrow = 39.
+		if ( 39 === event.keyCode ) {
+			if ( attachments.length === index ) {
+				return;
+			}
+			attachments.eq( index + 1 ).focus();
+		}

-		this.listenTo( this.model, 'change', this.render );
+		// Down arrow = 40.
+		if ( 40 === event.keyCode ) {
+			if ( Math.ceil( attachments.length / perRow ) === row ) {
+				return;
+			}
+			attachments.eq( index + perRow ).focus();
+		}
 	},
+
 	/**
-	 * @return {wp.media.view.Button} Returns itself to allow chaining.
+	 * Clears any set event handlers.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @return {void}
 	 */
-	render: function() {
-		var classes = [ 'button', this.className ],
-			model = this.model.toJSON();
-
-		if ( model.style ) {
-			classes.push( 'button-' + model.style );
+	dispose: function() {
+		this.collection.props.off( null, null, this );
+		if ( this.options.resize ) {
+			this.$window.off( this.resizeEvent );
 		}

-		if ( model.size ) {
-			classes.push( 'button-' + model.size );
-		}
+		// Call 'dispose' directly on the parent class.
+		View.prototype.dispose.apply( this, arguments );
+	},

-		classes = _.uniq( classes.concat( this.options.classes ) );
-		this.el.className = classes.join(' ');
+	/**
+	 * Calculates the amount of columns.
+	 *
+	 * Calculates the amount of columns and sets it on the data-columns attribute
+	 * of .media-frame-content.
+	 *
+	 * @since 4.0.0
+	 *
+	 * @return {void}
+	 */
+	setColumns: function() {
+		var prev = this.columns,
+			width = this.$el.width();

-		this.$el.attr( 'disabled', model.disabled );
-		this.$el.text( this.model.get('text') );
+		if ( width ) {
+			this.columns = Math.min( Math.round( width / this.options.idealColumnWidth ), 12 ) || 1;

-		return this;
+			if ( ! prev || prev !== this.columns ) {
+				this.$el.closest( '.media-frame-content' ).attr( 'data-columns', this.columns );
+			}
+		}
 	},
+
 	/**
-	 * @param {Object} event
+	 * Initializes jQuery sortable on the attachment list.
+	 *
+	 * Fails gracefully if jQuery sortable doesn't exist or isn't passed
+	 * in the options.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @fires collection:reset
+	 *
+	 * @return {void}
 	 */
-	click: function( event ) {
-		if ( '#' === this.attributes.href ) {
-			event.preventDefault();
-		}
+	initSortable: function() {
+		var collection = this.collection;

-		if ( this.options.click && ! this.model.get('disabled') ) {
-			this.options.click.apply( this, arguments );
+		if ( ! this.options.sortable || ! $.fn.sortable ) {
+			return;
 		}
-	}
-});

-module.exports = Button;
+		this.$el.sortable( _.extend({
+			// If the `collection` has a `comparator`, disable sorting.
+			disabled: !! collection.comparator,

+			/*
+			 * Change the position of the attachment as soon as the mouse pointer
+			 * overlaps a thumbnail.
+			 */
+			tolerance: 'pointer',

-/***/ }),
+			// Record the initial `index` of the dragged model.
+			start: function( event, ui ) {
+				ui.item.data('sortableIndexStart', ui.item.index());
+			},

-/***/ "M+xU":
-/***/ (function(module, exports) {
+			/*
+			 * Update the model's index in the collection. Do so silently, as the view
+			 * is already accurate.
+			 */
+			update: function( event, ui ) {
+				var model = collection.at( ui.item.data('sortableIndexStart') ),
+					comparator = collection.comparator;

-var l10n = wp.media.view.l10n,
-	Cropper;
+				// Temporarily disable the comparator to prevent `add`
+				// from re-sorting.
+				delete collection.comparator;

-/**
- * wp.media.controller.Cropper
- *
- * A class for cropping an image when called from the header media customization panel.
- *
- * @memberOf wp.media.controller
- *
- * @class
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- */
-Cropper = wp.media.controller.State.extend(/** @lends wp.media.controller.Cropper.prototype */{
-	defaults: {
-		id:          'cropper',
-		title:       l10n.cropImage,
-		// Region mode defaults.
-		toolbar:     'crop',
-		content:     'crop',
-		router:      false,
-		canSkipCrop: false,
+				// Silently shift the model to its new index.
+				collection.remove( model, {
+					silent: true
+				});
+				collection.add( model, {
+					silent: true,
+					at:     ui.item.index()
+				});

-		// Default doCrop Ajax arguments to allow the Customizer (for example) to inject state.
-		doCropArgs: {}
+				// Restore the comparator.
+				collection.comparator = comparator;
+
+				// Fire the `reset` event to ensure other collections sync.
+				collection.trigger( 'reset', collection );
+
+				// If the collection is sorted by menu order, update the menu order.
+				collection.saveMenuOrder();
+			}
+		}, this.options.sortable ) );
+
+		/*
+		 * If the `orderby` property is changed on the `collection`,
+		 * check to see if we have a `comparator`. If so, disable sorting.
+		 */
+		collection.props.on( 'change:orderby', function() {
+			this.$el.sortable( 'option', 'disabled', !! collection.comparator );
+		}, this );
+
+		this.collection.props.on( 'change:orderby', this.refreshSortable, this );
+		this.refreshSortable();
 	},

 	/**
-	 * Shows the crop image window when called from the Add new image button.
+	 * Disables jQuery sortable if collection has a comparator or collection.orderby
+	 * equals menuOrder.
 	 *
-	 * @since 4.2.0
+	 * @since 3.5.0
 	 *
 	 * @return {void}
 	 */
-	activate: function() {
-		this.frame.on( 'content:create:crop', this.createCropContent, this );
-		this.frame.on( 'close', this.removeCropper, this );
-		this.set('selection', new Backbone.Collection(this.frame._selection.single));
+	refreshSortable: function() {
+		if ( ! this.options.sortable || ! $.fn.sortable ) {
+			return;
+		}
+
+		var collection = this.collection,
+			orderby = collection.props.get('orderby'),
+			enabled = 'menuOrder' === orderby || ! collection.comparator;
+
+		this.$el.sortable( 'option', 'disabled', ! enabled );
 	},

 	/**
-	 * Changes the state of the toolbar window to browse mode.
+	 * Creates a new view for an attachment and adds it to _viewsByCid.
 	 *
-	 * @since 4.2.0
+	 * @since 3.5.0
 	 *
-	 * @return {void}
+	 * @param {wp.media.model.Attachment} attachment
+	 *
+	 * @return {wp.media.View} The created view.
 	 */
-	deactivate: function() {
-		this.frame.toolbar.mode('browse');
+	createAttachmentView: function( attachment ) {
+		var view = new this.options.AttachmentView({
+			controller:           this.controller,
+			model:                attachment,
+			collection:           this.collection,
+			selection:            this.options.selection
+		});
+
+		return this._viewsByCid[ attachment.cid ] = view;
 	},

 	/**
-	 * Creates the crop image window.
-	 *
-	 * Initialized when clicking on the Select and Crop button.
+	 * Prepares view for display.
 	 *
-	 * @since 4.2.0
+	 * Creates views for every attachment in collection if the collection is not
+	 * empty, otherwise clears all views and loads more attachments.
 	 *
-	 * @fires crop window
+	 * @since 3.5.0
 	 *
 	 * @return {void}
 	 */
-	createCropContent: function() {
-		this.cropperView = new wp.media.view.Cropper({
-			controller: this,
-			attachment: this.get('selection').first()
-		});
-		this.cropperView.on('image-loaded', this.createCropToolbar, this);
-		this.frame.content.set(this.cropperView);
-
+	prepare: function() {
+		if ( this.collection.length ) {
+			this.views.set( this.collection.map( this.createAttachmentView, this ) );
+		} else {
+			this.views.unset();
+			if ( this.options.infiniteScrolling ) {
+				this.collection.more().done( this.scroll );
+			}
+		}
 	},

 	/**
-	 * Removes the image selection and closes the cropping window.
+	 * Triggers the scroll function to check if we should query for additional
+	 * attachments right away.
 	 *
-	 * @since 4.2.0
+	 * @since 3.5.0
 	 *
 	 * @return {void}
 	 */
-	removeCropper: function() {
-		this.imgSelect.cancelSelection();
-		this.imgSelect.setOptions({remove: true});
-		this.imgSelect.update();
-		this.cropperView.remove();
+	ready: function() {
+		if ( this.options.infiniteScrolling ) {
+			this.scroll();
+		}
 	},

 	/**
-	 * Checks if cropping can be skipped and creates crop toolbar accordingly.
+	 * Handles scroll events.
 	 *
-	 * @since 4.2.0
+	 * Shows the spinner if we're close to the bottom. Loads more attachments from
+	 * server if we're {refreshThreshold} times away from the bottom.
+	 *
+	 * @since 3.5.0
 	 *
 	 * @return {void}
 	 */
-	createCropToolbar: function() {
-		var canSkipCrop, toolbarOptions;
-
-		canSkipCrop = this.get('canSkipCrop') || false;
-
-		toolbarOptions = {
-			controller: this.frame,
-			items: {
-				insert: {
-					style:    'primary',
-					text:     l10n.cropImage,
-					priority: 80,
-					requires: { library: false, selection: false },
-
-					click: function() {
-						var controller = this.controller,
-							selection;
-
-						selection = controller.state().get('selection').first();
-						selection.set({cropDetails: controller.state().imgSelect.getSelection()});
-
-						this.$el.text(l10n.cropping);
-						this.$el.attr('disabled', true);
-
-						controller.state().doCrop( selection ).done( function( croppedImage ) {
-							controller.trigger('cropped', croppedImage );
-							controller.close();
-						}).fail( function() {
-							controller.trigger('content:error:crop');
-						});
-					}
-				}
-			}
-		};
+	scroll: function() {
+		var view = this,
+			el = this.options.scrollElement,
+			scrollTop = el.scrollTop,
+			toolbar;

-		if ( canSkipCrop ) {
-			_.extend( toolbarOptions.items, {
-				skip: {
-					style:      'secondary',
-					text:       l10n.skipCropping,
-					priority:   70,
-					requires:   { library: false, selection: false },
-					click:      function() {
-						var selection = this.controller.state().get('selection').first();
-						this.controller.state().cropperView.remove();
-						this.controller.trigger('skippedcrop', selection);
-						this.controller.close();
-					}
-				}
-			});
+		/*
+		 * The scroll event occurs on the document, but the element that should be
+		 * checked is the document body.
+		 */
+		if ( el === document ) {
+			el = document.body;
+			scrollTop = $(document).scrollTop();
 		}

-		this.frame.toolbar.set( new wp.media.view.Toolbar(toolbarOptions) );
-	},
+		if ( ! $(el).is(':visible') || ! this.collection.hasMore() ) {
+			return;
+		}

-	/**
-	 * Creates an object with the image attachment and crop properties.
-	 *
-	 * @since 4.2.0
-	 *
-	 * @return {$.promise} A jQuery promise with the custom header crop details.
-	 */
-	doCrop: function( attachment ) {
-		return wp.ajax.post( 'custom-header-crop', _.extend(
-			{},
-			this.defaults.doCropArgs,
-			{
-				nonce: attachment.get( 'nonces' ).edit,
-				id: attachment.get( 'id' ),
-				cropDetails: attachment.get( 'cropDetails' )
-			}
-		) );
+		toolbar = this.views.parent.toolbar;
+
+		// Show the spinner only if we are close to the bottom.
+		if ( el.scrollHeight - ( scrollTop + el.clientHeight ) < el.clientHeight / 3 ) {
+			toolbar.get('spinner').show();
+		}
+
+		if ( el.scrollHeight < scrollTop + ( el.clientHeight * this.options.refreshThreshold ) ) {
+			this.collection.more().done(function() {
+				view.scroll();
+				toolbar.get('spinner').hide();
+			});
+		}
 	}
 });

-module.exports = Cropper;
+module.exports = Attachments;


 /***/ }),

-/***/ "M5ZC":
-/***/ (function(module, exports) {
+/***/ 9239:
+/***/ (function(module) {
+
+var View = wp.media.View,
+	mediaTrash = wp.media.view.settings.mediaTrash,
+	l10n = wp.media.view.l10n,
+	$ = jQuery,
+	AttachmentsBrowser,
+	infiniteScrolling = wp.media.view.settings.infiniteScrolling,
+	__ = wp.i18n.__,
+	sprintf = wp.i18n.sprintf;

 /**
- * wp.media.controller.State
- *
- * A state is a step in a workflow that when set will trigger the controllers
- * for the regions to be updated as specified in the frame.
- *
- * A state has an event-driven lifecycle:
- *
- *     'ready'      triggers when a state is added to a state machine's collection.
- *     'activate'   triggers when a state is activated by a state machine.
- *     'deactivate' triggers when a state is deactivated by a state machine.
- *     'reset'      is not triggered automatically. It should be invoked by the
- *                  proper controller to reset the state to its default.
+ * wp.media.view.AttachmentsBrowser
  *
- * @memberOf wp.media.controller
+ * @memberOf wp.media.view
  *
  * @class
- * @augments Backbone.Model
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ *
+ * @param {object}         [options]               The options hash passed to the view.
+ * @param {boolean|string} [options.filters=false] Which filters to show in the browser's toolbar.
+ *                                                 Accepts 'uploaded' and 'all'.
+ * @param {boolean}        [options.search=true]   Whether to show the search interface in the
+ *                                                 browser's toolbar.
+ * @param {boolean}        [options.date=true]     Whether to show the date filter in the
+ *                                                 browser's toolbar.
+ * @param {boolean}        [options.display=false] Whether to show the attachments display settings
+ *                                                 view in the sidebar.
+ * @param {boolean|string} [options.sidebar=true]  Whether to create a sidebar for the browser.
+ *                                                 Accepts true, false, and 'errors'.
  */
-var State = Backbone.Model.extend(/** @lends wp.media.controller.State.prototype */{
-	/**
-	 * Constructor.
-	 *
-	 * @since 3.5.0
-	 */
-	constructor: function() {
-		this.on( 'activate', this._preActivate, this );
-		this.on( 'activate', this.activate, this );
-		this.on( 'activate', this._postActivate, this );
-		this.on( 'deactivate', this._deactivate, this );
-		this.on( 'deactivate', this.deactivate, this );
-		this.on( 'reset', this.reset, this );
-		this.on( 'ready', this._ready, this );
-		this.on( 'ready', this.ready, this );
-		/**
-		 * Call parent constructor with passed arguments
+AttachmentsBrowser = View.extend(/** @lends wp.media.view.AttachmentsBrowser.prototype */{
+	tagName:   'div',
+	className: 'attachments-browser',
+
+	initialize: function() {
+		_.defaults( this.options, {
+			filters: false,
+			search:  true,
+			date:    true,
+			display: false,
+			sidebar: true,
+			AttachmentView: wp.media.view.Attachment.Library
+		});
+
+		this.controller.on( 'toggle:upload:attachment', this.toggleUploader, this );
+		this.controller.on( 'edit:selection', this.editSelection );
+
+		// In the Media Library, the sidebar is used to display errors before the attachments grid.
+		if ( this.options.sidebar && 'errors' === this.options.sidebar ) {
+			this.createSidebar();
+		}
+
+		/*
+		 * In the grid mode (the Media Library), place the Inline Uploader before
+		 * other sections so that the visual order and the DOM order match. This way,
+		 * the Inline Uploader in the Media Library is right after the "Add New"
+		 * button, see ticket #37188.
 		 */
-		Backbone.Model.apply( this, arguments );
-		this.on( 'change:menu', this._updateMenu, this );
-	},
-	/**
-	 * Ready event callback.
-	 *
-	 * @abstract
-	 * @since 3.5.0
-	 */
-	ready: function() {},
+		if ( this.controller.isModeActive( 'grid' ) ) {
+			this.createUploader();

-	/**
-	 * Activate event callback.
-	 *
-	 * @abstract
-	 * @since 3.5.0
-	 */
-	activate: function() {},
+			/*
+			 * Create a multi-purpose toolbar. Used as main toolbar in the Media Library
+			 * and also for other things, for example the "Drag and drop to reorder" and
+			 * "Suggested dimensions" info in the media modal.
+			 */
+			this.createToolbar();
+		} else {
+			this.createToolbar();
+			this.createUploader();
+		}

-	/**
-	 * Deactivate event callback.
-	 *
-	 * @abstract
-	 * @since 3.5.0
-	 */
-	deactivate: function() {},
+		// Add a heading before the attachments list.
+		this.createAttachmentsHeading();

-	/**
-	 * Reset event callback.
-	 *
-	 * @abstract
-	 * @since 3.5.0
-	 */
-	reset: function() {},
+		// Create the attachments wrapper view.
+		this.createAttachmentsWrapperView();

-	/**
-	 * @since 3.5.0
-	 * @access private
-	 */
-	_ready: function() {
-		this._updateMenu();
-	},
+		if ( ! infiniteScrolling ) {
+			this.$el.addClass( 'has-load-more' );
+			this.createLoadMoreView();
+		}

-	/**
-	 * @since 3.5.0
-	 * @access private
-	*/
-	_preActivate: function() {
-		this.active = true;
-	},
+		// For accessibility reasons, place the normal sidebar after the attachments, see ticket #36909.
+		if ( this.options.sidebar && 'errors' !== this.options.sidebar ) {
+			this.createSidebar();
+		}

-	/**
-	 * @since 3.5.0
-	 * @access private
-	 */
-	_postActivate: function() {
-		this.on( 'change:menu', this._menu, this );
-		this.on( 'change:titleMode', this._title, this );
-		this.on( 'change:content', this._content, this );
-		this.on( 'change:toolbar', this._toolbar, this );
+		this.updateContent();

-		this.frame.on( 'title:render:default', this._renderTitle, this );
+		if ( ! infiniteScrolling ) {
+			this.updateLoadMoreView();
+		}

-		this._title();
-		this._menu();
-		this._toolbar();
-		this._content();
-		this._router();
+		if ( ! this.options.sidebar || 'errors' === this.options.sidebar ) {
+			this.$el.addClass( 'hide-sidebar' );
+
+			if ( 'errors' === this.options.sidebar ) {
+				this.$el.addClass( 'sidebar-for-errors' );
+			}
+		}
+
+		this.collection.on( 'add remove reset', this.updateContent, this );
+
+		if ( ! infiniteScrolling ) {
+			this.collection.on( 'add remove reset', this.updateLoadMoreView, this );
+		}
+
+		// The non-cached or cached attachments query has completed.
+		this.collection.on( 'attachments:received', this.announceSearchResults, this );
 	},

 	/**
-	 * @since 3.5.0
-	 * @access private
+	 * Updates the `wp.a11y.speak()` ARIA live region with a message to communicate
+	 * the number of search results to screen reader users. This function is
+	 * debounced because the collection updates multiple times.
+	 *
+	 * @since 5.3.0
+	 *
+	 * @return {void}
 	 */
-	_deactivate: function() {
-		this.active = false;
+	announceSearchResults: _.debounce( function() {
+		var count,
+			/* translators: Accessibility text. %d: Number of attachments found in a search. */
+			mediaFoundHasMoreResultsMessage = __( 'Number of media items displayed: %d. Click load more for more results.' );
+
+		if ( infiniteScrolling ) {
+			/* translators: Accessibility text. %d: Number of attachments found in a search. */
+			mediaFoundHasMoreResultsMessage = __( 'Number of media items displayed: %d. Scroll the page for more results.' );
+		}
+
+		if ( this.collection.mirroring && this.collection.mirroring.args.s ) {
+			count = this.collection.length;
+
+			if ( 0 === count ) {
+				wp.a11y.speak( l10n.noMediaTryNewSearch );
+				return;
+			}
+
+			if ( this.collection.hasMore() ) {
+				wp.a11y.speak( mediaFoundHasMoreResultsMessage.replace( '%d', count ) );
+				return;
+			}

-		this.frame.off( 'title:render:default', this._renderTitle, this );
+			wp.a11y.speak( l10n.mediaFound.replace( '%d', count ) );
+		}
+	}, 200 ),

-		this.off( 'change:menu', this._menu, this );
-		this.off( 'change:titleMode', this._title, this );
-		this.off( 'change:content', this._content, this );
-		this.off( 'change:toolbar', this._toolbar, this );
+	editSelection: function( modal ) {
+		// When editing a selection, move focus to the "Go to library" button.
+		modal.$( '.media-button-backToLibrary' ).focus();
 	},

 	/**
-	 * @since 3.5.0
-	 * @access private
+	 * @return {wp.media.view.AttachmentsBrowser} Returns itself to allow chaining.
 	 */
-	_title: function() {
-		this.frame.title.render( this.get('titleMode') || 'default' );
+	dispose: function() {
+		this.options.selection.off( null, null, this );
+		View.prototype.dispose.apply( this, arguments );
+		return this;
 	},

-	/**
-	 * @since 3.5.0
-	 * @access private
-	 */
-	_renderTitle: function( view ) {
-		view.$el.text( this.get('title') || '' );
-	},
+	createToolbar: function() {
+		var LibraryViewSwitcher, Filters, toolbarOptions,
+			showFilterByType = -1 !== $.inArray( this.options.filters, [ 'uploaded', 'all' ] );

-	/**
-	 * @since 3.5.0
-	 * @access private
-	 */
-	_router: function() {
-		var router = this.frame.router,
-			mode = this.get('router'),
-			view;
+		toolbarOptions = {
+			controller: this.controller
+		};

-		this.frame.$el.toggleClass( 'hide-router', ! mode );
-		if ( ! mode ) {
-			return;
+		if ( this.controller.isModeActive( 'grid' ) ) {
+			toolbarOptions.className = 'media-toolbar wp-filter';
 		}

-		this.frame.router.render( mode );
+		/**
+		* @member {wp.media.view.Toolbar}
+		*/
+		this.toolbar = new wp.media.view.Toolbar( toolbarOptions );

-		view = router.get();
-		if ( view && view.select ) {
-			view.select( this.frame.content.mode() );
-		}
-	},
+		this.views.add( this.toolbar );

-	/**
-	 * @since 3.5.0
-	 * @access private
-	 */
-	_menu: function() {
-		var menu = this.frame.menu,
-			mode = this.get('menu'),
-			view;
+		this.toolbar.set( 'spinner', new wp.media.view.Spinner({
+			priority: -20
+		}) );

-		this.frame.$el.toggleClass( 'hide-menu', ! mode );
-		if ( ! mode ) {
-			return;
+		if ( showFilterByType || this.options.date ) {
+			/*
+			 * Create a h2 heading before the select elements that filter attachments.
+			 * This heading is visible in the modal and visually hidden in the grid.
+			 */
+			this.toolbar.set( 'filters-heading', new wp.media.view.Heading( {
+				priority:   -100,
+				text:       l10n.filterAttachments,
+				level:      'h2',
+				className:  'media-attachments-filter-heading'
+			}).render() );
 		}

-		menu.mode( mode );
+		if ( showFilterByType ) {
+			// "Filters" is a <select>, a visually hidden label element needs to be rendered before.
+			this.toolbar.set( 'filtersLabel', new wp.media.view.Label({
+				value: l10n.filterByType,
+				attributes: {
+					'for':  'media-attachment-filters'
+				},
+				priority:   -80
+			}).render() );

-		view = menu.get();
-		if ( view && view.select ) {
-			view.select( this.id );
+			if ( 'uploaded' === this.options.filters ) {
+				this.toolbar.set( 'filters', new wp.media.view.AttachmentFilters.Uploaded({
+					controller: this.controller,
+					model:      this.collection.props,
+					priority:   -80
+				}).render() );
+			} else {
+				Filters = new wp.media.view.AttachmentFilters.All({
+					controller: this.controller,
+					model:      this.collection.props,
+					priority:   -80
+				});
+
+				this.toolbar.set( 'filters', Filters.render() );
+			}
 		}
-	},

-	/**
-	 * @since 3.5.0
-	 * @access private
-	 */
-	_updateMenu: function() {
-		var previous = this.previous('menu'),
-			menu = this.get('menu');
+		/*
+		 * Feels odd to bring the global media library switcher into the Attachment browser view.
+		 * Is this a use case for doAction( 'add:toolbar-items:attachments-browser', this.toolbar );
+		 * which the controller can tap into and add this view?
+		 */
+		if ( this.controller.isModeActive( 'grid' ) ) {
+			LibraryViewSwitcher = View.extend({
+				className: 'view-switch media-grid-view-switch',
+				template: wp.template( 'media-library-view-switcher')
+			});

-		if ( previous ) {
-			this.frame.off( 'menu:render:' + previous, this._renderMenu, this );
-		}
+			this.toolbar.set( 'libraryViewSwitcher', new LibraryViewSwitcher({
+				controller: this.controller,
+				priority: -90
+			}).render() );

-		if ( menu ) {
-			this.frame.on( 'menu:render:' + menu, this._renderMenu, this );
-		}
-	},
+			// DateFilter is a <select>, a visually hidden label element needs to be rendered before.
+			this.toolbar.set( 'dateFilterLabel', new wp.media.view.Label({
+				value: l10n.filterByDate,
+				attributes: {
+					'for': 'media-attachment-date-filters'
+				},
+				priority: -75
+			}).render() );
+			this.toolbar.set( 'dateFilter', new wp.media.view.DateFilter({
+				controller: this.controller,
+				model:      this.collection.props,
+				priority: -75
+			}).render() );

-	/**
-	 * Create a view in the media menu for the state.
-	 *
-	 * @since 3.5.0
-	 * @access private
-	 *
-	 * @param {media.view.Menu} view The menu view.
-	 */
-	_renderMenu: function( view ) {
-		var menuItem = this.get('menuItem'),
-			title = this.get('title'),
-			priority = this.get('priority');
+			// BulkSelection is a <div> with subviews, including screen reader text.
+			this.toolbar.set( 'selectModeToggleButton', new wp.media.view.SelectModeToggleButton({
+				text: l10n.bulkSelect,
+				controller: this.controller,
+				priority: -70
+			}).render() );

-		if ( ! menuItem && title ) {
-			menuItem = { text: title };
+			this.toolbar.set( 'deleteSelectedButton', new wp.media.view.DeleteSelectedButton({
+				filters: Filters,
+				style: 'primary',
+				disabled: true,
+				text: mediaTrash ? l10n.trashSelected : l10n.deletePermanently,
+				controller: this.controller,
+				priority: -80,
+				click: function() {
+					var changed = [], removed = [],
+						selection = this.controller.state().get( 'selection' ),
+						library = this.controller.state().get( 'library' );

-			if ( priority ) {
-				menuItem.priority = priority;
-			}
-		}
+					if ( ! selection.length ) {
+						return;
+					}

-		if ( ! menuItem ) {
-			return;
-		}
+					if ( ! mediaTrash && ! window.confirm( l10n.warnBulkDelete ) ) {
+						return;
+					}

-		view.set( this.id, menuItem );
-	}
-});
+					if ( mediaTrash &&
+						'trash' !== selection.at( 0 ).get( 'status' ) &&
+						! window.confirm( l10n.warnBulkTrash ) ) {

-_.each(['toolbar','content'], function( region ) {
-	/**
-	 * @access private
-	 */
-	State.prototype[ '_' + region ] = function() {
-		var mode = this.get( region );
-		if ( mode ) {
-			this.frame[ region ].render( mode );
-		}
-	};
-});
+						return;
+					}

-module.exports = State;
+					selection.each( function( model ) {
+						if ( ! model.get( 'nonces' )['delete'] ) {
+							removed.push( model );
+							return;
+						}

+						if ( mediaTrash && 'trash' === model.get( 'status' ) ) {
+							model.set( 'status', 'inherit' );
+							changed.push( model.save() );
+							removed.push( model );
+						} else if ( mediaTrash ) {
+							model.set( 'status', 'trash' );
+							changed.push( model.save() );
+							removed.push( model );
+						} else {
+							model.destroy({wait: true});
+						}
+					} );
+
+					if ( changed.length ) {
+						selection.remove( removed );
+
+						$.when.apply( null, changed ).then( _.bind( function() {
+							library._requery( true );
+							this.controller.trigger( 'selection:action:done' );
+						}, this ) );
+					} else {
+						this.controller.trigger( 'selection:action:done' );
+					}
+				}
+			}).render() );
+
+			if ( mediaTrash ) {
+				this.toolbar.set( 'deleteSelectedPermanentlyButton', new wp.media.view.DeleteSelectedPermanentlyButton({
+					filters: Filters,
+					style: 'link button-link-delete',
+					disabled: true,
+					text: l10n.deletePermanently,
+					controller: this.controller,
+					priority: -55,
+					click: function() {
+						var removed = [],
+							destroy = [],
+							selection = this.controller.state().get( 'selection' );

-/***/ }),
+						if ( ! selection.length || ! window.confirm( l10n.warnBulkDelete ) ) {
+							return;
+						}

-/***/ "Mt+m":
-/***/ (function(module, exports) {
+						selection.each( function( model ) {
+							if ( ! model.get( 'nonces' )['delete'] ) {
+								removed.push( model );
+								return;
+							}

-var Library = wp.media.controller.Library,
-	l10n = wp.media.view.l10n,
-	$ = jQuery,
-	CollectionEdit;
+							destroy.push( model );
+						} );

-/**
- * wp.media.controller.CollectionEdit
- *
- * A state for editing a collection, which is used by audio and video playlists,
- * and can be used for other collections.
- *
- * @memberOf wp.media.controller
- *
- * @class
- * @augments wp.media.controller.Library
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- *
- * @param {object}                     [attributes]                      The attributes hash passed to the state.
- * @param {string}                     attributes.title                  Title for the state. Displays in the media menu and the frame's title region.
- * @param {wp.media.model.Attachments} [attributes.library]              The attachments collection to edit.
- *                                                                       If one is not supplied, an empty media.model.Selection collection is created.
- * @param {boolean}                    [attributes.multiple=false]       Whether multi-select is enabled.
- * @param {string}                     [attributes.content=browse]       Initial mode for the content region.
- * @param {string}                     attributes.menu                   Initial mode for the menu region. @todo this needs a better explanation.
- * @param {boolean}                    [attributes.searchable=false]     Whether the library is searchable.
- * @param {boolean}                    [attributes.sortable=true]        Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
- * @param {boolean}                    [attributes.date=true]            Whether to show the date filter in the browser's toolbar.
- * @param {boolean}                    [attributes.describe=true]        Whether to offer UI to describe the attachments - e.g. captioning images in a gallery.
- * @param {boolean}                    [attributes.dragInfo=true]        Whether to show instructional text about the attachments being sortable.
- * @param {boolean}                    [attributes.dragInfoText]         Instructional text about the attachments being sortable.
- * @param {int}                        [attributes.idealColumnWidth=170] The ideal column width in pixels for attachments.
- * @param {boolean}                    [attributes.editing=false]        Whether the gallery is being created, or editing an existing instance.
- * @param {int}                        [attributes.priority=60]          The priority for the state link in the media menu.
- * @param {boolean}                    [attributes.syncSelection=false]  Whether the Attachments selection should be persisted from the last state.
- *                                                                       Defaults to false for this state, because the library passed in  *is* the selection.
- * @param {view}                       [attributes.SettingsView]         The view to edit the collection instance settings (e.g. Playlist settings with "Show tracklist" checkbox).
- * @param {view}                       [attributes.AttachmentView]       The single `Attachment` view to be used in the `Attachments`.
- *                                                                       If none supplied, defaults to wp.media.view.Attachment.EditLibrary.
- * @param {string}                     attributes.type                   The collection's media type. (e.g. 'video').
- * @param {string}                     attributes.collectionType         The collection type. (e.g. 'playlist').
- */
-CollectionEdit = Library.extend(/** @lends wp.media.controller.CollectionEdit.prototype */{
-	defaults: {
-		multiple:         false,
-		sortable:         true,
-		date:             false,
-		searchable:       false,
-		content:          'browse',
-		describe:         true,
-		dragInfo:         true,
-		idealColumnWidth: 170,
-		editing:          false,
-		priority:         60,
-		SettingsView:     false,
-		syncSelection:    false
-	},
+						if ( removed.length ) {
+							selection.remove( removed );
+						}

-	/**
-	 * @since 3.9.0
-	 */
-	initialize: function() {
-		var collectionType = this.get('collectionType');
+						if ( destroy.length ) {
+							$.when.apply( null, destroy.map( function (item) {
+								return item.destroy();
+							} ) ).then( _.bind( function() {
+								this.controller.trigger( 'selection:action:done' );
+							}, this ) );
+						}
+					}
+				}).render() );
+			}

-		if ( 'video' === this.get( 'type' ) ) {
-			collectionType = 'video-' + collectionType;
+		} else if ( this.options.date ) {
+			// DateFilter is a <select>, a visually hidden label element needs to be rendered before.
+			this.toolbar.set( 'dateFilterLabel', new wp.media.view.Label({
+				value: l10n.filterByDate,
+				attributes: {
+					'for': 'media-attachment-date-filters'
+				},
+				priority: -75
+			}).render() );
+			this.toolbar.set( 'dateFilter', new wp.media.view.DateFilter({
+				controller: this.controller,
+				model:      this.collection.props,
+				priority: -75
+			}).render() );
 		}

-		this.set( 'id', collectionType + '-edit' );
-		this.set( 'toolbar', collectionType + '-edit' );
+		if ( this.options.search ) {
+			// Search is an input, a visually hidden label element needs to be rendered before.
+			this.toolbar.set( 'searchLabel', new wp.media.view.Label({
+				value: l10n.searchLabel,
+				className: 'media-search-input-label',
+				attributes: {
+					'for': 'media-search-input'
+				},
+				priority:   60
+			}).render() );
+			this.toolbar.set( 'search', new wp.media.view.Search({
+				controller: this.controller,
+				model:      this.collection.props,
+				priority:   60
+			}).render() );
+		}

-		// If we haven't been provided a `library`, create a `Selection`.
-		if ( ! this.get('library') ) {
-			this.set( 'library', new wp.media.model.Selection() );
+		if ( this.options.dragInfo ) {
+			this.toolbar.set( 'dragInfo', new View({
+				el: $( '<div class="instructions">' + l10n.dragInfo + '</div>' )[0],
+				priority: -40
+			}) );
 		}
-		// The single `Attachment` view to be used in the `Attachments` view.
-		if ( ! this.get('AttachmentView') ) {
-			this.set( 'AttachmentView', wp.media.view.Attachment.EditLibrary );
+
+		if ( this.options.suggestedWidth && this.options.suggestedHeight ) {
+			this.toolbar.set( 'suggestedDimensions', new View({
+				el: $( '<div class="instructions">' + l10n.suggestedDimensions.replace( '%1$s', this.options.suggestedWidth ).replace( '%2$s', this.options.suggestedHeight ) + '</div>' )[0],
+				priority: -40
+			}) );
 		}
-		Library.prototype.initialize.apply( this, arguments );
 	},

-	/**
-	 * @since 3.9.0
-	 */
-	activate: function() {
-		var library = this.get('library');
-
-		// Limit the library to images only.
-		library.props.set( 'type', this.get( 'type' ) );
-
-		// Watch for uploaded attachments.
-		this.get('library').observe( wp.Uploader.queue );
+	updateContent: function() {
+		var view = this,
+			noItemsView;

-		this.frame.on( 'content:render:browse', this.renderSettings, this );
+		if ( this.controller.isModeActive( 'grid' ) ) {
+			// Usually the media library.
+			noItemsView = view.attachmentsNoResults;
+		} else {
+			// Usually the media modal.
+			noItemsView = view.uploader;
+		}

-		Library.prototype.activate.apply( this, arguments );
+		if ( ! this.collection.length ) {
+			this.toolbar.get( 'spinner' ).show();
+			this.dfd = this.collection.more().done( function() {
+				if ( ! view.collection.length ) {
+					noItemsView.$el.removeClass( 'hidden' );
+				} else {
+					noItemsView.$el.addClass( 'hidden' );
+				}
+				view.toolbar.get( 'spinner' ).hide();
+			} );
+		} else {
+			noItemsView.$el.addClass( 'hidden' );
+			view.toolbar.get( 'spinner' ).hide();
+		}
 	},

-	/**
-	 * @since 3.9.0
-	 */
-	deactivate: function() {
-		// Stop watching for uploaded attachments.
-		this.get('library').unobserve( wp.Uploader.queue );
+	createUploader: function() {
+		this.uploader = new wp.media.view.UploaderInline({
+			controller: this.controller,
+			status:     false,
+			message:    this.controller.isModeActive( 'grid' ) ? '' : l10n.noItemsFound,
+			canClose:   this.controller.isModeActive( 'grid' )
+		});

-		this.frame.off( 'content:render:browse', this.renderSettings, this );
+		this.uploader.$el.addClass( 'hidden' );
+		this.views.add( this.uploader );
+	},

-		Library.prototype.deactivate.apply( this, arguments );
+	toggleUploader: function() {
+		if ( this.uploader.$el.hasClass( 'hidden' ) ) {
+			this.uploader.show();
+		} else {
+			this.uploader.hide();
+		}
 	},

 	/**
-	 * Render the collection embed settings view in the browser sidebar.
-	 *
-	 * @todo This is against the pattern elsewhere in media. Typically the frame
-	 *       is responsible for adding region mode callbacks. Explain.
+	 * Creates the Attachments wrapper view.
 	 *
-	 * @since 3.9.0
+	 * @since 5.8.0
 	 *
-	 * @param {wp.media.view.attachmentsBrowser} The attachments browser view.
+	 * @return {void}
 	 */
-	renderSettings: function( attachmentsBrowserView ) {
-		var library = this.get('library'),
-			collectionType = this.get('collectionType'),
-			dragInfoText = this.get('dragInfoText'),
-			SettingsView = this.get('SettingsView'),
-			obj = {};
+	createAttachmentsWrapperView: function() {
+		this.attachmentsWrapper = new wp.media.View( {
+			className: 'attachments-wrapper'
+		} );

-		if ( ! library || ! attachmentsBrowserView ) {
-			return;
-		}
+		// Create the list of attachments.
+		this.views.add( this.attachmentsWrapper );
+		this.createAttachments();
+	},

-		library[ collectionType ] = library[ collectionType ] || new Backbone.Model();
+	createAttachments: function() {
+		this.attachments = new wp.media.view.Attachments({
+			controller:           this.controller,
+			collection:           this.collection,
+			selection:            this.options.selection,
+			model:                this.model,
+			sortable:             this.options.sortable,
+			scrollElement:        this.options.scrollElement,
+			idealColumnWidth:     this.options.idealColumnWidth,

-		obj[ collectionType ] = new SettingsView({
-			controller: this,
-			model:      library[ collectionType ],
-			priority:   40
+			// The single `Attachment` view to be used in the `Attachments` view.
+			AttachmentView: this.options.AttachmentView
 		});

-		attachmentsBrowserView.sidebar.set( obj );
-
-		if ( dragInfoText ) {
-			attachmentsBrowserView.toolbar.set( 'dragInfo', new wp.media.View({
-				el: $( '<div class="instructions">' + dragInfoText + '</div>' )[0],
-				priority: -40
-			}) );
-		}
+		// Add keydown listener to the instance of the Attachments view.
+		this.controller.on( 'attachment:keydown:arrow',     _.bind( this.attachments.arrowEvent, this.attachments ) );
+		this.controller.on( 'attachment:details:shift-tab', _.bind( this.attachments.restoreFocus, this.attachments ) );

-		// Add the 'Reverse order' button to the toolbar.
-		attachmentsBrowserView.toolbar.set( 'reverse', {
-			text:     l10n.reverseOrder,
-			priority: 80,
+		this.views.add( '.attachments-wrapper', this.attachments );

-			click: function() {
-				library.reset( library.toArray().reverse() );
-			}
-		});
-	}
-});
+		if ( this.controller.isModeActive( 'grid' ) ) {
+			this.attachmentsNoResults = new View({
+				controller: this.controller,
+				tagName: 'p'
+			});

-module.exports = CollectionEdit;
+			this.attachmentsNoResults.$el.addClass( 'hidden no-media' );
+			this.attachmentsNoResults.$el.html( l10n.noMedia );

+			this.views.add( this.attachmentsNoResults );
+		}
+	},

-/***/ }),
+	/**
+	 * Creates the load more button and attachments counter view.
+	 *
+	 * @since 5.8.0
+	 *
+	 * @return {void}
+	 */
+	createLoadMoreView: function() {
+		var view = this;

-/***/ "NguE":
-/***/ (function(module, exports) {
+		this.loadMoreWrapper = new View( {
+			controller: this.controller,
+			className: 'load-more-wrapper'
+		} );

-var View = wp.media.View,
-	UploaderStatus;
+		this.loadMoreCount = new View( {
+			controller: this.controller,
+			tagName: 'p',
+			className: 'load-more-count hidden'
+		} );

-/**
- * wp.media.view.UploaderStatus
- *
- * An uploader status for on-going uploads.
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-UploaderStatus = View.extend(/** @lends wp.media.view.UploaderStatus.prototype */{
-	className: 'media-uploader-status',
-	template:  wp.template('uploader-status'),
+		this.loadMoreButton = new wp.media.view.Button( {
+			text: __( 'Load more' ),
+			className: 'load-more hidden',
+			style: 'primary',
+			size: '',
+			click: function() {
+				view.loadMoreAttachments();
+			}
+		} );

-	events: {
-		'click .upload-dismiss-errors': 'dismiss'
-	},
+		this.loadMoreSpinner = new wp.media.view.Spinner();

-	initialize: function() {
-		this.queue = wp.Uploader.queue;
-		this.queue.on( 'add remove reset', this.visibility, this );
-		this.queue.on( 'add remove reset change:percent', this.progress, this );
-		this.queue.on( 'add remove reset change:uploading', this.info, this );
+		this.loadMoreJumpToFirst = new wp.media.view.Button( {
+			text: __( 'Jump to first loaded item' ),
+			className: 'load-more-jump hidden',
+			size: '',
+			click: function() {
+				view.jumpToFirstAddedItem();
+			}
+		} );

-		this.errors = wp.Uploader.errors;
-		this.errors.reset();
-		this.errors.on( 'add remove reset', this.visibility, this );
-		this.errors.on( 'add', this.error, this );
+		this.views.add( '.attachments-wrapper', this.loadMoreWrapper );
+		this.views.add( '.load-more-wrapper', this.loadMoreSpinner );
+		this.views.add( '.load-more-wrapper', this.loadMoreCount );
+		this.views.add( '.load-more-wrapper', this.loadMoreButton );
+		this.views.add( '.load-more-wrapper', this.loadMoreJumpToFirst );
 	},
+
 	/**
-	 * @return {wp.media.view.UploaderStatus}
+	 * Updates the Load More view. This function is debounced because the
+	 * collection updates multiple times at the add, remove, and reset events.
+	 * We need it to run only once, after all attachments are added or removed.
+	 *
+	 * @since 5.8.0
+	 *
+	 * @return {void}
 	 */
-	dispose: function() {
-		wp.Uploader.queue.off( null, null, this );
-		/**
-		 * call 'dispose' directly on the parent class
-		 */
-		View.prototype.dispose.apply( this, arguments );
-		return this;
-	},
-
-	visibility: function() {
-		this.$el.toggleClass( 'uploading', !! this.queue.length );
-		this.$el.toggleClass( 'errors', !! this.errors.length );
-		this.$el.toggle( !! this.queue.length || !! this.errors.length );
-	},
+	updateLoadMoreView: _.debounce( function() {
+		// Ensure the load more view elements are initially hidden at each update.
+		this.loadMoreButton.$el.addClass( 'hidden' );
+		this.loadMoreCount.$el.addClass( 'hidden' );
+		this.loadMoreJumpToFirst.$el.addClass( 'hidden' ).prop( 'disabled', true );

-	ready: function() {
-		_.each({
-			'$bar':      '.media-progress-bar div',
-			'$index':    '.upload-index',
-			'$total':    '.upload-total',
-			'$filename': '.upload-filename'
-		}, function( selector, key ) {
-			this[ key ] = this.$( selector );
-		}, this );
+		if ( ! this.collection.getTotalAttachments() ) {
+			return;
+		}

-		this.visibility();
-		this.progress();
-		this.info();
-	},
+		if ( this.collection.length ) {
+			this.loadMoreCount.$el.text(
+				/* translators: 1: Number of displayed attachments, 2: Number of total attachments. */
+				sprintf(
+					__( 'Showing %1$s of %2$s media items' ),
+					this.collection.length,
+					this.collection.getTotalAttachments()
+				)
+			);

-	progress: function() {
-		var queue = this.queue,
-			$bar = this.$bar;
+			this.loadMoreCount.$el.removeClass( 'hidden' );
+		}

-		if ( ! $bar || ! queue.length ) {
-			return;
+		/*
+		 * Notice that while the collection updates multiple times hasMore() may
+		 * return true when it's actually not true.
+		 */
+		if ( this.collection.hasMore() ) {
+			this.loadMoreButton.$el.removeClass( 'hidden' );
 		}

-		$bar.width( ( queue.reduce( function( memo, attachment ) {
-			if ( ! attachment.get('uploading') ) {
-				return memo + 100;
-			}
+		// Find the media item to move focus to. The jQuery `eq()` index is zero-based.
+		this.firstAddedMediaItem = this.$el.find( '.attachment' ).eq( this.firstAddedMediaItemIndex );

-			var percent = attachment.get('percent');
-			return memo + ( _.isNumber( percent ) ? percent : 100 );
-		}, 0 ) / queue.length ) + '%' );
-	},
+		// If there's a media item to move focus to, make the "Jump to" button available.
+		if ( this.firstAddedMediaItem.length ) {
+			this.firstAddedMediaItem.addClass( 'new-media' );
+			this.loadMoreJumpToFirst.$el.removeClass( 'hidden' ).prop( 'disabled', false );
+		}

-	info: function() {
-		var queue = this.queue,
-			index = 0, active;
+		// If there are new items added, but no more to be added, move focus to Jump button.
+		if ( this.firstAddedMediaItem.length && ! this.collection.hasMore() ) {
+			this.loadMoreJumpToFirst.$el.trigger( 'focus' );
+		}
+	}, 10 ),

-		if ( ! queue.length ) {
+	/**
+	 * Loads more attachments.
+	 *
+	 * @since 5.8.0
+	 *
+	 * @return {void}
+	 */
+	loadMoreAttachments: function() {
+		var view = this;
+
+		if ( ! this.collection.hasMore() ) {
 			return;
 		}

-		active = this.queue.find( function( attachment, i ) {
-			index = i;
-			return attachment.get('uploading');
+		/*
+		 * The collection index is zero-based while the length counts the actual
+		 * amount of items. Thus the length is equivalent to the position of the
+		 * first added item.
+		 */
+		this.firstAddedMediaItemIndex = this.collection.length;
+
+		this.$el.addClass( 'more-loaded' );
+		this.collection.each( function( attachment ) {
+			var attach_id = attachment.attributes.id;
+			$( '[data-id="' + attach_id + '"]' ).addClass( 'found-media' );
 		});

-		if ( this.$index && this.$total && this.$filename ) {
-			this.$index.text( index + 1 );
-			this.$total.text( queue.length );
-			this.$filename.html( active ? this.filename( active.get('filename') ) : '' );
-		}
+		view.loadMoreSpinner.show();
+		this.collection.once( 'attachments:received', function() {
+			view.loadMoreSpinner.hide();
+		} );
+		this.collection.more();
 	},
+
 	/**
-	 * @param {string} filename
-	 * @return {string}
+	 * Moves focus to the first new added item.	.
+	 *
+	 * @since 5.8.0
+	 *
+	 * @return {void}
 	 */
-	filename: function( filename ) {
-		return _.escape( filename );
+	jumpToFirstAddedItem: function() {
+		// Set focus on first added item.
+		this.firstAddedMediaItem.focus();
 	},
-	/**
-	 * @param {Backbone.Model} error
-	 */
-	error: function( error ) {
-		var statusError = new wp.media.view.UploaderStatusError( {
-			filename: this.filename( error.get( 'file' ).name ),
-			message:  error.get( 'message' )
+
+	createAttachmentsHeading: function() {
+		this.attachmentsHeading = new wp.media.view.Heading( {
+			text: l10n.attachmentsList,
+			level: 'h2',
+			className: 'media-views-heading screen-reader-text'
 		} );
+		this.views.add( this.attachmentsHeading );
+	},
+
+	createSidebar: function() {
+		var options = this.options,
+			selection = options.selection,
+			sidebar = this.sidebar = new wp.media.view.Sidebar({
+				controller: this.controller
+			});
+
+		this.views.add( sidebar );

-		var buttonClose = this.$el.find( 'button' );
+		if ( this.controller.uploader ) {
+			sidebar.set( 'uploads', new wp.media.view.UploaderStatus({
+				controller: this.controller,
+				priority:   40
+			}) );
+		}

-		// Can show additional info here while retrying to create image sub-sizes.
-		this.views.add( '.upload-errors', statusError, { at: 0 } );
-		_.delay( function() {
-			buttonClose.trigger( 'focus' );
-			wp.a11y.speak( error.get( 'message' ), 'assertive' );
-		}, 1000 );
+		selection.on( 'selection:single', this.createSingle, this );
+		selection.on( 'selection:unsingle', this.disposeSingle, this );
+
+		if ( selection.single() ) {
+			this.createSingle();
+		}
 	},

-	dismiss: function() {
-		var errors = this.views.get('.upload-errors');
+	createSingle: function() {
+		var sidebar = this.sidebar,
+			single = this.options.selection.single();

-		if ( errors ) {
-			_.invoke( errors, 'remove' );
+		sidebar.set( 'details', new wp.media.view.Attachment.Details({
+			controller: this.controller,
+			model:      single,
+			priority:   80
+		}) );
+
+		sidebar.set( 'compat', new wp.media.view.AttachmentCompat({
+			controller: this.controller,
+			model:      single,
+			priority:   120
+		}) );
+
+		if ( this.options.display ) {
+			sidebar.set( 'display', new wp.media.view.Settings.AttachmentDisplay({
+				controller:   this.controller,
+				model:        this.model.display( single ),
+				attachment:   single,
+				priority:     160,
+				userSettings: this.model.get('displayUserSettings')
+			}) );
 		}
-		wp.Uploader.errors.reset();
-		// Move focus to the modal after the dismiss button gets removed from the DOM.
-		if ( this.controller.modal ) {
-			this.controller.modal.focusManager.focus();
+
+		// Show the sidebar on mobile.
+		if ( this.model.id === 'insert' ) {
+			sidebar.$el.addClass( 'visible' );
 		}
+	},
+
+	disposeSingle: function() {
+		var sidebar = this.sidebar;
+		sidebar.unset('details');
+		sidebar.unset('compat');
+		sidebar.unset('display');
+		// Hide the sidebar on mobile.
+		sidebar.$el.removeClass( 'visible' );
 	}
 });

-module.exports = UploaderStatus;
+module.exports = AttachmentsBrowser;


 /***/ }),

-/***/ "NjyZ":
-/***/ (function(module, exports) {
+/***/ 1223:
+/***/ (function(module) {
+
+var Attachments = wp.media.view.Attachments,
+	Selection;

 /**
- * wp.media.view.PriorityList
+ * wp.media.view.Attachments.Selection
  *
- * @memberOf wp.media.view
+ * @memberOf wp.media.view.Attachments
  *
  * @class
+ * @augments wp.media.view.Attachments
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-var PriorityList = wp.media.View.extend(/** @lends wp.media.view.PriorityList.prototype */{
-	tagName:   'div',
-
+Selection = Attachments.extend(/** @lends wp.media.view.Attachments.Selection.prototype */{
+	events: {},
 	initialize: function() {
-		this._views = {};
+		_.defaults( this.options, {
+			sortable:   false,
+			resize:     false,

-		this.set( _.extend( {}, this._views, this.options.views ), { silent: true });
-		delete this.options.views;
+			// The single `Attachment` view to be used in the `Attachments` view.
+			AttachmentView: wp.media.view.Attachment.Selection
+		});
+		// Call 'initialize' directly on the parent class.
+		return Attachments.prototype.initialize.apply( this, arguments );
+	}
+});

-		if ( ! this.options.silent ) {
-			this.render();
-		}
-	},
-	/**
-	 * @param {string} id
-	 * @param {wp.media.View|Object} view
-	 * @param {Object} options
-	 * @return {wp.media.view.PriorityList} Returns itself to allow chaining.
-	 */
-	set: function( id, view, options ) {
-		var priority, views, index;
+module.exports = Selection;

-		options = options || {};

-		// Accept an object with an `id` : `view` mapping.
-		if ( _.isObject( id ) ) {
-			_.each( id, function( view, id ) {
-				this.set( id, view );
-			}, this );
-			return this;
-		}
+/***/ }),

-		if ( ! (view instanceof Backbone.View) ) {
-			view = this.toView( view, id, options );
-		}
-		view.controller = view.controller || this.controller;
+/***/ 4094:
+/***/ (function(module) {

-		this.unset( id );
+var $ = Backbone.$,
+	ButtonGroup;

-		priority = view.options.priority || 10;
-		views = this.views.get() || [];
+/**
+ * wp.media.view.ButtonGroup
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+ButtonGroup = wp.media.View.extend(/** @lends wp.media.view.ButtonGroup.prototype */{
+	tagName:   'div',
+	className: 'button-group button-large media-button-group',

-		_.find( views, function( existing, i ) {
-			if ( existing.options.priority > priority ) {
-				index = i;
-				return true;
+	initialize: function() {
+		/**
+		 * @member {wp.media.view.Button[]}
+		 */
+		this.buttons = _.map( this.options.buttons || [], function( button ) {
+			if ( button instanceof Backbone.View ) {
+				return button;
+			} else {
+				return new wp.media.view.Button( button ).render();
 			}
 		});

-		this._views[ id ] = view;
-		this.views.add( view, {
-			at: _.isNumber( index ) ? index : views.length || 0
-		});
-
-		return this;
-	},
-	/**
-	 * @param {string} id
-	 * @return {wp.media.View}
-	 */
-	get: function( id ) {
-		return this._views[ id ];
-	},
-	/**
-	 * @param {string} id
-	 * @return {wp.media.view.PriorityList}
-	 */
-	unset: function( id ) {
-		var view = this.get( id );
+		delete this.options.buttons;

-		if ( view ) {
-			view.remove();
+		if ( this.options.classes ) {
+			this.$el.addClass( this.options.classes );
 		}
-
-		delete this._views[ id ];
-		return this;
 	},
+
 	/**
-	 * @param {Object} options
-	 * @return {wp.media.View}
+	 * @return {wp.media.view.ButtonGroup}
 	 */
-	toView: function( options ) {
-		return new wp.media.View( options );
+	render: function() {
+		this.$el.html( $( _.pluck( this.buttons, 'el' ) ).detach() );
+		return this;
 	}
 });

-module.exports = PriorityList;
+module.exports = ButtonGroup;


 /***/ }),

-/***/ "P6DV":
-/***/ (function(module, exports) {
+/***/ 3157:
+/***/ (function(module) {

 /**
- * wp.media.view.Attachment.EditSelection
+ * wp.media.view.Button
  *
- * @memberOf wp.media.view.Attachment
+ * @memberOf wp.media.view
  *
  * @class
- * @augments wp.media.view.Attachment.Selection
- * @augments wp.media.view.Attachment
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-var EditSelection = wp.media.view.Attachment.Selection.extend(/** @lends wp.media.view.Attachment.EditSelection.prototype */{
-	buttons: {
-		close: true
-	}
-});
+var Button = wp.media.View.extend(/** @lends wp.media.view.Button.prototype */{
+	tagName:    'button',
+	className:  'media-button',
+	attributes: { type: 'button' },

-module.exports = EditSelection;
+	events: {
+		'click': 'click'
+	},
+
+	defaults: {
+		text:     '',
+		style:    '',
+		size:     'large',
+		disabled: false
+	},

+	initialize: function() {
+		/**
+		 * Create a model with the provided `defaults`.
+		 *
+		 * @member {Backbone.Model}
+		 */
+		this.model = new Backbone.Model( this.defaults );

-/***/ }),
+		// If any of the `options` have a key from `defaults`, apply its
+		// value to the `model` and remove it from the `options object.
+		_.each( this.defaults, function( def, key ) {
+			var value = this.options[ key ];
+			if ( _.isUndefined( value ) ) {
+				return;
+			}

-/***/ "PgTd":
-/***/ (function(module, exports) {
+			this.model.set( key, value );
+			delete this.options[ key ];
+		}, this );

-/**
- * wp.media.selectionSync
- *
- * Sync an attachments selection in a state with another state.
- *
- * Allows for selecting multiple images in the Add Media workflow, and then
- * switching to the Insert Gallery workflow while preserving the attachments selection.
- *
- * @memberOf wp.media
- *
- * @mixin
- */
-var selectionSync = {
+		this.listenTo( this.model, 'change', this.render );
+	},
 	/**
-	 * @since 3.5.0
+	 * @return {wp.media.view.Button} Returns itself to allow chaining.
 	 */
-	syncSelection: function() {
-		var selection = this.get('selection'),
-			manager = this.frame._selection;
+	render: function() {
+		var classes = [ 'button', this.className ],
+			model = this.model.toJSON();

-		if ( ! this.get('syncSelection') || ! manager || ! selection ) {
-			return;
+		if ( model.style ) {
+			classes.push( 'button-' + model.style );
 		}

-		/*
-		 * If the selection supports multiple items, validate the stored
-		 * attachments based on the new selection's conditions. Record
-		 * the attachments that are not included; we'll maintain a
-		 * reference to those. Other attachments are considered in flux.
-		 */
-		if ( selection.multiple ) {
-			selection.reset( [], { silent: true });
-			selection.validateAll( manager.attachments );
-			manager.difference = _.difference( manager.attachments.models, selection.models );
+		if ( model.size ) {
+			classes.push( 'button-' + model.size );
 		}

-		// Sync the selection's single item with the master.
-		selection.single( manager.single );
-	},
+		classes = _.uniq( classes.concat( this.options.classes ) );
+		this.el.className = classes.join(' ');
+
+		this.$el.attr( 'disabled', model.disabled );
+		this.$el.text( this.model.get('text') );

+		return this;
+	},
 	/**
-	 * Record the currently active attachments, which is a combination
-	 * of the selection's attachments and the set of selected
-	 * attachments that this specific selection considered invalid.
-	 * Reset the difference and record the single attachment.
-	 *
-	 * @since 3.5.0
+	 * @param {Object} event
 	 */
-	recordSelection: function() {
-		var selection = this.get('selection'),
-			manager = this.frame._selection;
-
-		if ( ! this.get('syncSelection') || ! manager || ! selection ) {
-			return;
+	click: function( event ) {
+		if ( '#' === this.attributes.href ) {
+			event.preventDefault();
 		}

-		if ( selection.multiple ) {
-			manager.attachments.reset( selection.toArray().concat( manager.difference ) );
-			manager.difference = [];
-		} else {
-			manager.attachments.add( selection.toArray() );
+		if ( this.options.click && ! this.model.get('disabled') ) {
+			this.options.click.apply( this, arguments );
 		}
-
-		manager.single = selection._single;
 	}
-};
+});

-module.exports = selectionSync;
+module.exports = Button;


 /***/ }),

-/***/ "Pt9x":
-/***/ (function(module, exports) {
+/***/ 7137:
+/***/ (function(module) {

-var Frame = wp.media.view.Frame,
+var View = wp.media.View,
+	UploaderStatus = wp.media.view.UploaderStatus,
 	l10n = wp.media.view.l10n,
 	$ = jQuery,
-	MediaFrame;
+	Cropper;

 /**
- * wp.media.view.MediaFrame
+ * wp.media.view.Cropper
  *
- * The frame used to create the media modal.
+ * Uses the imgAreaSelect plugin to allow a user to crop an image.
+ *
+ * Takes imgAreaSelect options from
+ * wp.customize.HeaderControl.calculateImageSelectOptions via
+ * wp.customize.HeaderControl.openMM.
  *
  * @memberOf wp.media.view
  *
  * @class
- * @augments wp.media.view.Frame
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
- * @mixes wp.media.controller.StateMachine
  */
-MediaFrame = Frame.extend(/** @lends wp.media.view.MediaFrame.prototype */{
-	className: 'media-frame',
-	template:  wp.template('media-frame'),
-	regions:   ['menu','title','content','toolbar','router'],
-
-	events: {
-		'click .media-frame-menu-toggle': 'toggleMenu'
+Cropper = View.extend(/** @lends wp.media.view.Cropper.prototype */{
+	className: 'crop-content',
+	template: wp.template('crop-content'),
+	initialize: function() {
+		_.bindAll(this, 'onImageLoad');
+	},
+	ready: function() {
+		this.controller.frame.on('content:error:crop', this.onError, this);
+		this.$image = this.$el.find('.crop-image');
+		this.$image.on('load', this.onImageLoad);
+		$(window).on('resize.cropper', _.debounce(this.onImageLoad, 250));
+	},
+	remove: function() {
+		$(window).off('resize.cropper');
+		this.$el.remove();
+		this.$el.off();
+		View.prototype.remove.apply(this, arguments);
+	},
+	prepare: function() {
+		return {
+			title: l10n.cropYourImage,
+			url: this.options.attachment.get('url')
+		};
 	},
+	onImageLoad: function() {
+		var imgOptions = this.controller.get('imgSelectOptions'),
+			imgSelect;

-	/**
-	 * @constructs
-	 */
-	initialize: function() {
-		Frame.prototype.initialize.apply( this, arguments );
+		if (typeof imgOptions === 'function') {
+			imgOptions = imgOptions(this.options.attachment, this.controller);
+		}

-		_.defaults( this.options, {
-			title:    l10n.mediaFrameDefaultTitle,
-			modal:    true,
-			uploader: true
-		});
+		imgOptions = _.extend(imgOptions, {
+			parent: this.$el,
+			onInit: function() {

-		// Ensure core UI is enabled.
-		this.$el.addClass('wp-core-ui');
+				// Store the set ratio.
+				var setRatio = imgSelect.getOptions().aspectRatio;

-		// Initialize modal container view.
-		if ( this.options.modal ) {
-			this.modal = new wp.media.view.Modal({
-				controller: this,
-				title:      this.options.title
-			});
+				// On mousedown, if no ratio is set and the Shift key is down, use a 1:1 ratio.
+				this.parent.children().on( 'mousedown touchstart', function( e ) {

-			this.modal.content( this );
-		}
+					// If no ratio is set and the shift key is down, use a 1:1 ratio.
+					if ( ! setRatio && e.shiftKey ) {
+						imgSelect.setOptions( {
+							aspectRatio: '1:1'
+						} );
+					}
+				} );

-		// Force the uploader off if the upload limit has been exceeded or
-		// if the browser isn't supported.
-		if ( wp.Uploader.limitExceeded || ! wp.Uploader.browser.supported ) {
-			this.options.uploader = false;
-		}
+				this.parent.children().on( 'mouseup touchend', function() {

-		// Initialize window-wide uploader.
-		if ( this.options.uploader ) {
-			this.uploader = new wp.media.view.UploaderWindow({
-				controller: this,
-				uploader: {
-					dropzone:  this.modal ? this.modal.$el : this.$el,
-					container: this.$el
-				}
-			});
-			this.views.set( '.media-frame-uploader', this.uploader );
-		}
+					// Restore the set ratio.
+					imgSelect.setOptions( {
+						aspectRatio: setRatio ? setRatio : false
+					} );
+				} );
+			}
+		} );
+		this.trigger('image-loaded');
+		imgSelect = this.controller.imgSelect = this.$image.imgAreaSelect(imgOptions);
+	},
+	onError: function() {
+		var filename = this.options.attachment.get('filename');

-		this.on( 'attach', _.bind( this.views.ready, this.views ), this );
+		this.views.add( '.upload-errors', new wp.media.view.UploaderStatusError({
+			filename: UploaderStatus.prototype.filename(filename),
+			message: window._wpMediaViewsL10n.cropError
+		}), { at: 0 });
+	}
+});

-		// Bind default title creation.
-		this.on( 'title:create:default', this.createTitle, this );
-		this.title.mode('default');
+module.exports = Cropper;

-		// Bind default menu.
-		this.on( 'menu:create:default', this.createMenu, this );

-		// Set the menu ARIA tab panel attributes when the modal opens.
-		this.on( 'open', this.setMenuTabPanelAriaAttributes, this );
-		// Set the router ARIA tab panel attributes when the modal opens.
-		this.on( 'open', this.setRouterTabPanelAriaAttributes, this );
+/***/ }),

-		// Update the menu ARIA tab panel attributes when the content updates.
-		this.on( 'content:render', this.setMenuTabPanelAriaAttributes, this );
-		// Update the router ARIA tab panel attributes when the content updates.
-		this.on( 'content:render', this.setRouterTabPanelAriaAttributes, this );
+/***/ 5970:
+/***/ (function(module) {
+
+var View = wp.media.View,
+	EditImage;
+
+/**
+ * wp.media.view.EditImage
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+EditImage = View.extend(/** @lends wp.media.view.EditImage.prototype */{
+	className: 'image-editor',
+	template: wp.template('image-editor'),
+
+	initialize: function( options ) {
+		this.editor = window.imageEdit;
+		this.controller = options.controller;
+		View.prototype.initialize.apply( this, arguments );
 	},

-	/**
-	 * Sets the attributes to be used on the menu ARIA tab panel.
-	 *
-	 * @since 5.3.0
-	 *
-	 * @return {void}
-	 */
-	setMenuTabPanelAriaAttributes: function() {
-		var stateId = this.state().get( 'id' ),
-			tabPanelEl = this.$el.find( '.media-frame-tab-panel' ),
-			ariaLabelledby;
+	prepare: function() {
+		return this.model.toJSON();
+	},

-		tabPanelEl.removeAttr( 'role aria-labelledby tabindex' );
+	loadEditor: function() {
+		this.editor.open( this.model.get( 'id' ), this.model.get( 'nonces' ).edit, this );
+	},

-		if ( this.state().get( 'menu' ) && this.menuView && this.menuView.isVisible ) {
-			ariaLabelledby = 'menu-item-' + stateId;
+	back: function() {
+		var lastState = this.controller.lastState();
+		this.controller.setState( lastState );
+	},

-			// Set the tab panel attributes only if the tabs are visible.
-			tabPanelEl
-				.attr( {
-					role: 'tabpanel',
-					'aria-labelledby': ariaLabelledby,
-					tabIndex: '0'
-				} );
-		}
+	refresh: function() {
+		this.model.fetch();
 	},

-	/**
-	 * Sets the attributes to be used on the router ARIA tab panel.
-	 *
-	 * @since 5.3.0
-	 *
-	 * @return {void}
-	 */
-	setRouterTabPanelAriaAttributes: function() {
-		var tabPanelEl = this.$el.find( '.media-frame-content' ),
-			ariaLabelledby;
+	save: function() {
+		var lastState = this.controller.lastState();
+
+		this.model.fetch().done( _.bind( function() {
+			this.controller.setState( lastState );
+		}, this ) );
+	}
+
+});
+
+module.exports = EditImage;
+

-		tabPanelEl.removeAttr( 'role aria-labelledby tabindex' );
+/***/ }),

-		// Set the tab panel attributes only if the tabs are visible.
-		if ( this.state().get( 'router' ) && this.routerView && this.routerView.isVisible && this.content._mode ) {
-			ariaLabelledby = 'menu-item-' + this.content._mode;
+/***/ 5138:
+/***/ (function(module) {

-			tabPanelEl
-				.attr( {
-					role: 'tabpanel',
-					'aria-labelledby': ariaLabelledby,
-					tabIndex: '0'
-				} );
-		}
-	},
+/**
+ * wp.media.view.Embed
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var Embed = wp.media.View.extend(/** @lends wp.media.view.Ember.prototype */{
+	className: 'media-embed',

-	/**
-	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
-	 */
-	render: function() {
-		// Activate the default state if no active state exists.
-		if ( ! this.state() && this.options.state ) {
-			this.setState( this.options.state );
-		}
+	initialize: function() {
 		/**
-		 * call 'render' directly on the parent class
+		 * @member {wp.media.view.EmbedUrl}
 		 */
-		return Frame.prototype.render.apply( this, arguments );
+		this.url = new wp.media.view.EmbedUrl({
+			controller: this.controller,
+			model:      this.model.props
+		}).render();
+
+		this.views.set([ this.url ]);
+		this.refresh();
+		this.listenTo( this.model, 'change:type', this.refresh );
+		this.listenTo( this.model, 'change:loading', this.loading );
 	},
+
 	/**
-	 * @param {Object} title
-	 * @this wp.media.controller.Region
+	 * @param {Object} view
 	 */
-	createTitle: function( title ) {
-		title.view = new wp.media.View({
-			controller: this,
-			tagName: 'h1'
-		});
+	settings: function( view ) {
+		if ( this._settings ) {
+			this._settings.remove();
+		}
+		this._settings = view;
+		this.views.add( view );
 	},
-	/**
-	 * @param {Object} menu
-	 * @this wp.media.controller.Region
-	 */
-	createMenu: function( menu ) {
-		menu.view = new wp.media.view.Menu({
-			controller: this,

-			attributes: {
-				role:               'tablist',
-				'aria-orientation': 'vertical'
-			}
-		});
+	refresh: function() {
+		var type = this.model.get('type'),
+			constructor;

-		this.menuView = menu.view;
+		if ( 'image' === type ) {
+			constructor = wp.media.view.EmbedImage;
+		} else if ( 'link' === type ) {
+			constructor = wp.media.view.EmbedLink;
+		} else {
+			return;
+		}
+
+		this.settings( new constructor({
+			controller: this.controller,
+			model:      this.model.props,
+			priority:   40
+		}) );
 	},

-	toggleMenu: function( event ) {
-		var menu = this.$el.find( '.media-menu' );
+	loading: function() {
+		this.$el.toggleClass( 'embed-loading', this.model.get('loading') );
+	}
+});

-		menu.toggleClass( 'visible' );
-		$( event.target ).attr( 'aria-expanded', menu.hasClass( 'visible' ) );
-	},
+module.exports = Embed;

-	/**
-	 * @param {Object} toolbar
-	 * @this wp.media.controller.Region
-	 */
-	createToolbar: function( toolbar ) {
-		toolbar.view = new wp.media.view.Toolbar({
-			controller: this
-		});
-	},
-	/**
-	 * @param {Object} router
-	 * @this wp.media.controller.Region
-	 */
-	createRouter: function( router ) {
-		router.view = new wp.media.view.Router({
-			controller: this,

-			attributes: {
-				role:               'tablist',
-				'aria-orientation': 'horizontal'
-			}
-		});
+/***/ }),

-		this.routerView = router.view;
+/***/ 1338:
+/***/ (function(module) {
+
+var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
+	EmbedImage;
+
+/**
+ * wp.media.view.EmbedImage
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.view.Settings.AttachmentDisplay
+ * @augments wp.media.view.Settings
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+EmbedImage = AttachmentDisplay.extend(/** @lends wp.media.view.EmbedImage.prototype */{
+	className: 'embed-media-settings',
+	template:  wp.template('embed-image-settings'),
+
+	initialize: function() {
+		/**
+		 * Call `initialize` directly on parent class with passed arguments
+		 */
+		AttachmentDisplay.prototype.initialize.apply( this, arguments );
+		this.listenTo( this.model, 'change:url', this.updateImage );
 	},
-	/**
-	 * @param {Object} options
-	 */
-	createIframeStates: function( options ) {
-		var settings = wp.media.view.settings,
-			tabs = settings.tabs,
-			tabUrl = settings.tabUrl,
-			$postId;

-		if ( ! tabs || ! tabUrl ) {
-			return;
-		}
+	updateImage: function() {
+		this.$('img').attr( 'src', this.model.get('url') );
+	}
+});

-		// Add the post ID to the tab URL if it exists.
-		$postId = $('#post_ID');
-		if ( $postId.length ) {
-			tabUrl += '&post_id=' + $postId.val();
-		}
+module.exports = EmbedImage;

-		// Generate the tab states.
-		_.each( tabs, function( title, id ) {
-			this.state( 'iframe:' + id ).set( _.defaults({
-				tab:     id,
-				src:     tabUrl + '&tab=' + id,
-				title:   title,
-				content: 'iframe',
-				menu:    'default'
-			}, options ) );
-		}, this );

-		this.on( 'content:create:iframe', this.iframeContent, this );
-		this.on( 'content:deactivate:iframe', this.iframeContentCleanup, this );
-		this.on( 'menu:render:default', this.iframeMenu, this );
-		this.on( 'open', this.hijackThickbox, this );
-		this.on( 'close', this.restoreThickbox, this );
-	},
+/***/ }),

-	/**
-	 * @param {Object} content
-	 * @this wp.media.controller.Region
-	 */
-	iframeContent: function( content ) {
-		this.$el.addClass('hide-toolbar');
-		content.view = new wp.media.view.Iframe({
-			controller: this
-		});
-	},
+/***/ 6959:
+/***/ (function(module) {

-	iframeContentCleanup: function() {
-		this.$el.removeClass('hide-toolbar');
+var $ = jQuery,
+	EmbedLink;
+
+/**
+ * wp.media.view.EmbedLink
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.view.Settings
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+EmbedLink = wp.media.view.Settings.extend(/** @lends wp.media.view.EmbedLink.prototype */{
+	className: 'embed-link-settings',
+	template:  wp.template('embed-link-settings'),
+
+	initialize: function() {
+		this.listenTo( this.model, 'change:url', this.updateoEmbed );
 	},

-	iframeMenu: function( view ) {
-		var views = {};
+	updateoEmbed: _.debounce( function() {
+		var url = this.model.get( 'url' );

-		if ( ! view ) {
+		// Clear out previous results.
+		this.$('.embed-container').hide().find('.embed-preview').empty();
+		this.$( '.setting' ).hide();
+
+		// Only proceed with embed if the field contains more than 11 characters.
+		// Example: http://a.io is 11 chars
+		if ( url && ( url.length < 11 || ! url.match(/^http(s)?:\/\//) ) ) {
 			return;
 		}

-		_.each( wp.media.view.settings.tabs, function( title, id ) {
-			views[ 'iframe:' + id ] = {
-				text: this.state( 'iframe:' + id ).get('title'),
-				priority: 200
-			};
-		}, this );
-
-		view.set( views );
-	},
+		this.fetch();
+	}, wp.media.controller.Embed.sensitivity ),

-	hijackThickbox: function() {
-		var frame = this;
+	fetch: function() {
+		var url = this.model.get( 'url' ), re, youTubeEmbedMatch;

-		if ( ! window.tb_remove || this._tb_remove ) {
+		// Check if they haven't typed in 500 ms.
+		if ( $('#embed-url-field').val() !== url ) {
 			return;
 		}

-		this._tb_remove = window.tb_remove;
-		window.tb_remove = function() {
-			frame.close();
-			frame.reset();
-			frame.setState( frame.options.state );
-			frame._tb_remove.call( window );
-		};
+		if ( this.dfd && 'pending' === this.dfd.state() ) {
+			this.dfd.abort();
+		}
+
+		// Support YouTube embed urls, since they work once in the editor.
+		re = /https?:\/\/www\.youtube\.com\/embed\/([^/]+)/;
+		youTubeEmbedMatch = re.exec( url );
+		if ( youTubeEmbedMatch ) {
+			url = 'https://www.youtube.com/watch?v=' + youTubeEmbedMatch[ 1 ];
+		}
+
+		this.dfd = wp.apiRequest({
+			url: wp.media.view.settings.oEmbedProxyUrl,
+			data: {
+				url: url,
+				maxwidth: this.model.get( 'width' ),
+				maxheight: this.model.get( 'height' )
+			},
+			type: 'GET',
+			dataType: 'json',
+			context: this
+		})
+			.done( function( response ) {
+				this.renderoEmbed( {
+					data: {
+						body: response.html || ''
+					}
+				} );
+			} )
+			.fail( this.renderFail );
 	},

-	restoreThickbox: function() {
-		if ( ! this._tb_remove ) {
+	renderFail: function ( response, status ) {
+		if ( 'abort' === status ) {
 			return;
 		}
+		this.$( '.link-text' ).show();
+	},

-		window.tb_remove = this._tb_remove;
-		delete this._tb_remove;
-	}
-});
+	renderoEmbed: function( response ) {
+		var html = ( response && response.data && response.data.body ) || '';

-// Map some of the modal's methods to the frame.
-_.each(['open','close','attach','detach','escape'], function( method ) {
-	/**
-	 * @function open
-	 * @memberOf wp.media.view.MediaFrame
-	 * @instance
-	 *
-	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
-	 */
-	/**
-	 * @function close
-	 * @memberOf wp.media.view.MediaFrame
-	 * @instance
-	 *
-	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
-	 */
-	/**
-	 * @function attach
-	 * @memberOf wp.media.view.MediaFrame
-	 * @instance
-	 *
-	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
-	 */
-	/**
-	 * @function detach
-	 * @memberOf wp.media.view.MediaFrame
-	 * @instance
-	 *
-	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
-	 */
-	/**
-	 * @function escape
-	 * @memberOf wp.media.view.MediaFrame
-	 * @instance
-	 *
-	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
-	 */
-	MediaFrame.prototype[ method ] = function() {
-		if ( this.modal ) {
-			this.modal[ method ].apply( this.modal, arguments );
+		if ( html ) {
+			this.$('.embed-container').show().find('.embed-preview').html( html );
+		} else {
+			this.renderFail();
 		}
-		return this;
-	};
+	}
 });

-module.exports = MediaFrame;
+module.exports = EmbedLink;


 /***/ }),

-/***/ "Q9T/":
-/***/ (function(module, exports) {
+/***/ 4848:
+/***/ (function(module) {
+
+var View = wp.media.View,
+	$ = jQuery,
+	l10n = wp.media.view.l10n,
+	EmbedUrl;

 /**
- * wp.media.view.RouterItem
+ * wp.media.view.EmbedUrl
  *
  * @memberOf wp.media.view
  *
  * @class
- * @augments wp.media.view.MenuItem
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-var RouterItem = wp.media.view.MenuItem.extend(/** @lends wp.media.view.RouterItem.prototype */{
+EmbedUrl = View.extend(/** @lends wp.media.view.EmbedUrl.prototype */{
+	tagName:   'span',
+	className: 'embed-url',
+
+	events: {
+		'input': 'url'
+	},
+
+	initialize: function() {
+		this.$input = $( '<input id="embed-url-field" type="url" />' )
+			.attr( 'aria-label', l10n.insertFromUrlTitle )
+			.val( this.model.get('url') );
+		this.input = this.$input[0];
+
+		this.spinner = $('<span class="spinner" />')[0];
+		this.$el.append([ this.input, this.spinner ]);
+
+		this.listenTo( this.model, 'change:url', this.render );
+
+		if ( this.model.get( 'url' ) ) {
+			_.delay( _.bind( function () {
+				this.model.trigger( 'change:url' );
+			}, this ), 500 );
+		}
+	},
 	/**
-	 * On click handler to activate the content region's corresponding mode.
+	 * @return {wp.media.view.EmbedUrl} Returns itself to allow chaining.
 	 */
-	click: function() {
-		var contentMode = this.options.contentMode;
-		if ( contentMode ) {
-			this.controller.content.mode( contentMode );
+	render: function() {
+		var $input = this.$input;
+
+		if ( $input.is(':focus') ) {
+			return;
 		}
+
+		this.input.value = this.model.get('url') || 'http://';
+		/**
+		 * Call `render` directly on parent class with passed arguments
+		 */
+		View.prototype.render.apply( this, arguments );
+		return this;
+	},
+
+	url: function( event ) {
+		var url = event.target.value || '';
+		this.model.set( 'url', url.trim() );
 	}
 });

-module.exports = RouterItem;
+module.exports = EmbedUrl;


 /***/ }),

-/***/ "S4jH":
-/***/ (function(module, exports) {
+/***/ 6557:
+/***/ (function(module) {

-var $ = jQuery,
-	UploaderWindow;
+var $ = jQuery;

 /**
- * wp.media.view.UploaderWindow
- *
- * An uploader window that allows for dragging and dropping media.
+ * wp.media.view.FocusManager
  *
  * @memberOf wp.media.view
  *
@@ -6318,335 +5704,535 @@ var $ = jQuery,
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
- *
- * @param {object} [options]                   Options hash passed to the view.
- * @param {object} [options.uploader]          Uploader properties.
- * @param {jQuery} [options.uploader.browser]
- * @param {jQuery} [options.uploader.dropzone] jQuery collection of the dropzone.
- * @param {object} [options.uploader.params]
  */
-UploaderWindow = wp.media.View.extend(/** @lends wp.media.view.UploaderWindow.prototype */{
-	tagName:   'div',
-	className: 'uploader-window',
-	template:  wp.template('uploader-window'),
+var FocusManager = wp.media.View.extend(/** @lends wp.media.view.FocusManager.prototype */{

-	initialize: function() {
-		var uploader;
+	events: {
+		'keydown': 'focusManagementMode'
+	},

-		this.$browser = $( '<button type="button" class="browser" />' ).hide().appendTo( 'body' );
+	/**
+	 * Initializes the Focus Manager.
+	 *
+	 * @param {Object} options The Focus Manager options.
+	 *
+	 * @since 5.3.0
+	 *
+	 * @return {void}
+	 */
+	initialize: function( options ) {
+		this.mode                    = options.mode || 'constrainTabbing';
+		this.tabsAutomaticActivation = options.tabsAutomaticActivation || false;
+	},

-		uploader = this.options.uploader = _.defaults( this.options.uploader || {}, {
-			dropzone:  this.$el,
-			browser:   this.$browser,
-			params:    {}
-		});
+ 	/**
+	 * Determines which focus management mode to use.
+	 *
+	 * @since 5.3.0
+	 *
+	 * @param {Object} event jQuery event object.
+	 *
+	 * @return {void}
+	 */
+	focusManagementMode: function( event ) {
+		if ( this.mode === 'constrainTabbing' ) {
+			this.constrainTabbing( event );
+		}
+
+		if ( this.mode === 'tabsNavigation' ) {
+			this.tabsNavigation( event );
+		}
+	},
+
+	/**
+	 * Gets all the tabbable elements.
+	 *
+	 * @since 5.3.0
+	 *
+	 * @return {Object} A jQuery collection of tabbable elements.
+	 */
+	getTabbables: function() {
+		// Skip the file input added by Plupload.
+		return this.$( ':tabbable' ).not( '.moxie-shim input[type="file"]' );
+	},
+
+	/**
+	 * Moves focus to the modal dialog.
+	 *
+	 * @since 3.5.0
+	 *
+	 * @return {void}
+	 */
+	focus: function() {
+		this.$( '.media-modal' ).trigger( 'focus' );
+	},
+
+	/**
+	 * Constrains navigation with the Tab key within the media view element.
+	 *
+	 * @since 4.0.0
+	 *
+	 * @param {Object} event A keydown jQuery event.
+	 *
+	 * @return {void}
+	 */
+	constrainTabbing: function( event ) {
+		var tabbables;

-		// Ensure the dropzone is a jQuery collection.
-		if ( uploader.dropzone && ! (uploader.dropzone instanceof $) ) {
-			uploader.dropzone = $( uploader.dropzone );
+		// Look for the tab key.
+		if ( 9 !== event.keyCode ) {
+			return;
 		}

-		this.controller.on( 'activate', this.refresh, this );
-
-		this.controller.on( 'detach', function() {
-			this.$browser.remove();
-		}, this );
-	},
+		tabbables = this.getTabbables();

-	refresh: function() {
-		if ( this.uploader ) {
-			this.uploader.refresh();
+		// Keep tab focus within media modal while it's open.
+		if ( tabbables.last()[0] === event.target && ! event.shiftKey ) {
+			tabbables.first().focus();
+			return false;
+		} else if ( tabbables.first()[0] === event.target && event.shiftKey ) {
+			tabbables.last().focus();
+			return false;
 		}
 	},

-	ready: function() {
-		var postId = wp.media.view.settings.post.id,
-			dropzone;
+	/**
+	 * Hides from assistive technologies all the body children.
+	 *
+	 * Sets an `aria-hidden="true"` attribute on all the body children except
+	 * the provided element and other elements that should not be hidden.
+	 *
+	 * The reason why we use `aria-hidden` is that `aria-modal="true"` is buggy
+	 * in Safari 11.1 and support is spotty in other browsers. Also, `aria-modal="true"`
+	 * prevents the `wp.a11y.speak()` ARIA live regions to work as they're outside
+	 * of the modal dialog and get hidden from assistive technologies.
+	 *
+	 * @since 5.2.3
+	 *
+	 * @param {Object} visibleElement The jQuery object representing the element that should not be hidden.
+	 *
+	 * @return {void}
+	 */
+	setAriaHiddenOnBodyChildren: function( visibleElement ) {
+		var bodyChildren,
+			self = this;

-		// If the uploader already exists, bail.
-		if ( this.uploader ) {
+		if ( this.isBodyAriaHidden ) {
 			return;
 		}

-		if ( postId ) {
-			this.options.uploader.params.post_id = postId;
-		}
-		this.uploader = new wp.Uploader( this.options.uploader );
+		// Get all the body children.
+		bodyChildren = document.body.children;

-		dropzone = this.uploader.dropzone;
-		dropzone.on( 'dropzone:enter', _.bind( this.show, this ) );
-		dropzone.on( 'dropzone:leave', _.bind( this.hide, this ) );
+		// Loop through the body children and hide the ones that should be hidden.
+		_.each( bodyChildren, function( element ) {
+			// Don't hide the modal element.
+			if ( element === visibleElement[0] ) {
+				return;
+			}

-		$( this.uploader ).on( 'uploader:ready', _.bind( this._ready, this ) );
-	},
+			// Determine the body children to hide.
+			if ( self.elementShouldBeHidden( element ) ) {
+				element.setAttribute( 'aria-hidden', 'true' );
+				// Store the hidden elements.
+				self.ariaHiddenElements.push( element );
+			}
+		} );

-	_ready: function() {
-		this.controller.trigger( 'uploader:ready' );
+		this.isBodyAriaHidden = true;
 	},

-	show: function() {
-		var $el = this.$el.show();
+	/**
+	 * Unhides from assistive technologies all the body children.
+	 *
+	 * Makes visible again to assistive technologies all the body children
+	 * previously hidden and stored in this.ariaHiddenElements.
+	 *
+	 * @since 5.2.3
+	 *
+	 * @return {void}
+	 */
+	removeAriaHiddenFromBodyChildren: function() {
+		_.each( this.ariaHiddenElements, function( element ) {
+			element.removeAttribute( 'aria-hidden' );
+		} );

-		// Ensure that the animation is triggered by waiting until
-		// the transparent element is painted into the DOM.
-		_.defer( function() {
-			$el.css({ opacity: 1 });
-		});
+		this.ariaHiddenElements = [];
+		this.isBodyAriaHidden   = false;
 	},

-	hide: function() {
-		var $el = this.$el.css({ opacity: 0 });
-
-		wp.media.transition( $el ).done( function() {
-			// Transition end events are subject to race conditions.
-			// Make sure that the value is set as intended.
-			if ( '0' === $el.css('opacity') ) {
-				$el.hide();
-			}
-		});
-
-		// https://core.trac.wordpress.org/ticket/27341
-		_.delay( function() {
-			if ( '0' === $el.css('opacity') && $el.is(':visible') ) {
-				$el.hide();
-			}
-		}, 500 );
-	}
-});
-
-module.exports = UploaderWindow;
-
-
-/***/ }),
+	/**
+	 * Determines if the passed element should not be hidden from assistive technologies.
+	 *
+	 * @since 5.2.3
+	 *
+	 * @param {Object} element The DOM element that should be checked.
+	 *
+	 * @return {boolean} Whether the element should not be hidden from assistive technologies.
+	 */
+	elementShouldBeHidden: function( element ) {
+		var role = element.getAttribute( 'role' ),
+			liveRegionsRoles = [ 'alert', 'status', 'log', 'marquee', 'timer' ];

-/***/ "U3Se":
-/***/ (function(module, exports) {
+		/*
+		 * Don't hide scripts, elements that already have `aria-hidden`, and
+		 * ARIA live regions.
+		 */
+		return ! (
+			element.tagName === 'SCRIPT' ||
+			element.hasAttribute( 'aria-hidden' ) ||
+			element.hasAttribute( 'aria-live' ) ||
+			liveRegionsRoles.indexOf( role ) !== -1
+		);
+	},

-/**
- * wp.media.controller.StateMachine
- *
- * A state machine keeps track of state. It is in one state at a time,
- * and can change from one state to another.
- *
- * States are stored as models in a Backbone collection.
- *
- * @memberOf wp.media.controller
- *
- * @since 3.5.0
- *
- * @class
- * @augments Backbone.Model
- * @mixin
- * @mixes Backbone.Events
- */
-var StateMachine = function() {
-	return {
-		// Use Backbone's self-propagating `extend` inheritance method.
-		extend: Backbone.Model.extend
-	};
-};
+	/**
+	 * Whether the body children are hidden from assistive technologies.
+	 *
+	 * @since 5.2.3
+	 */
+	isBodyAriaHidden: false,

-_.extend( StateMachine.prototype, Backbone.Events,/** @lends wp.media.controller.StateMachine.prototype */{
 	/**
-	 * Fetch a state.
+	 * Stores an array of DOM elements that should be hidden from assistive
+	 * technologies, for example when the media modal dialog opens.
 	 *
-	 * If no `id` is provided, returns the active state.
+	 * @since 5.2.3
+	 */
+	ariaHiddenElements: [],
+
+	/**
+	 * Holds the jQuery collection of ARIA tabs.
 	 *
-	 * Implicitly creates states.
+	 * @since 5.3.0
+	 */
+	tabs: $(),
+
+	/**
+	 * Sets up tabs in an ARIA tabbed interface.
 	 *
-	 * Ensure that the `states` collection exists so the `StateMachine`
-	 * can be used as a mixin.
+	 * @since 5.3.0
 	 *
-	 * @since 3.5.0
+	 * @param {Object} event jQuery event object.
 	 *
-	 * @param {string} id
-	 * @return {wp.media.controller.State} Returns a State model from
-	 *                                     the StateMachine collection.
+	 * @return {void}
 	 */
-	state: function( id ) {
-		this.states = this.states || new Backbone.Collection();
+	setupAriaTabs: function() {
+		this.tabs = this.$( '[role="tab"]' );

-		// Default to the active state.
-		id = id || this._state;
+		// Set up initial attributes.
+		this.tabs.attr( {
+			'aria-selected': 'false',
+			tabIndex: '-1'
+		} );

-		if ( id && ! this.states.get( id ) ) {
-			this.states.add({ id: id });
-		}
-		return this.states.get( id );
+		// Set up attributes on the initially active tab.
+		this.tabs.filter( '.active' )
+			.removeAttr( 'tabindex' )
+			.attr( 'aria-selected', 'true' );
 	},

 	/**
-	 * Sets the active state.
-	 *
-	 * Bail if we're trying to select the current state, if we haven't
-	 * created the `states` collection, or are trying to select a state
-	 * that does not exist.
-	 *
-	 * @since 3.5.0
+	 * Enables arrows navigation within the ARIA tabbed interface.
 	 *
-	 * @param {string} id
+	 * @since 5.3.0
 	 *
-	 * @fires wp.media.controller.State#deactivate
-	 * @fires wp.media.controller.State#activate
+	 * @param {Object} event jQuery event object.
 	 *
-	 * @return {wp.media.controller.StateMachine} Returns itself to allow chaining.
+	 * @return {void}
 	 */
-	setState: function( id ) {
-		var previous = this.state();
+	tabsNavigation: function( event ) {
+		var orientation = 'horizontal',
+			keys = [ 32, 35, 36, 37, 38, 39, 40 ];

-		if ( ( previous && id === previous.id ) || ! this.states || ! this.states.get( id ) ) {
-			return this;
+		// Return if not Spacebar, End, Home, or Arrow keys.
+		if ( keys.indexOf( event.which ) === -1 ) {
+			return;
 		}

-		if ( previous ) {
-			previous.trigger('deactivate');
-			this._lastState = previous.id;
+		// Determine navigation direction.
+		if ( this.$el.attr( 'aria-orientation' ) === 'vertical' ) {
+			orientation = 'vertical';
+		}
+
+		// Make Up and Down arrow keys do nothing with horizontal tabs.
+		if ( orientation === 'horizontal' && [ 38, 40 ].indexOf( event.which ) !== -1 ) {
+			return;
 		}

-		this._state = id;
-		this.state().trigger('activate');
+		// Make Left and Right arrow keys do nothing with vertical tabs.
+		if ( orientation === 'vertical' && [ 37, 39 ].indexOf( event.which ) !== -1 ) {
+			return;
+		}

-		return this;
+		this.switchTabs( event, this.tabs );
 	},

 	/**
-	 * Returns the previous active state.
+	 * Switches tabs in the ARIA tabbed interface.
 	 *
-	 * Call the `state()` method with no parameters to retrieve the current
-	 * active state.
+	 * @since 5.3.0
 	 *
-	 * @since 3.5.0
+	 * @param {Object} event jQuery event object.
 	 *
-	 * @return {wp.media.controller.State} Returns a State model from
-	 *                                     the StateMachine collection.
+	 * @return {void}
 	 */
-	lastState: function() {
-		if ( this._lastState ) {
-			return this.state( this._lastState );
+	switchTabs: function( event ) {
+		var key   = event.which,
+			index = this.tabs.index( $( event.target ) ),
+			newIndex;
+
+		switch ( key ) {
+			// Space bar: Activate current targeted tab.
+			case 32: {
+				this.activateTab( this.tabs[ index ] );
+				break;
+			}
+			// End key: Activate last tab.
+			case 35: {
+				event.preventDefault();
+				this.activateTab( this.tabs[ this.tabs.length - 1 ] );
+				break;
+			}
+			// Home key: Activate first tab.
+			case 36: {
+				event.preventDefault();
+				this.activateTab( this.tabs[ 0 ] );
+				break;
+			}
+			// Left and up keys: Activate previous tab.
+			case 37:
+			case 38: {
+				event.preventDefault();
+				newIndex = ( index - 1 ) < 0 ? this.tabs.length - 1 : index - 1;
+				this.activateTab( this.tabs[ newIndex ] );
+				break;
+			}
+			// Right and down keys: Activate next tab.
+			case 39:
+			case 40: {
+				event.preventDefault();
+				newIndex = ( index + 1 ) === this.tabs.length ? 0 : index + 1;
+				this.activateTab( this.tabs[ newIndex ] );
+				break;
+			}
 		}
-	}
-});
+	},

-// Map all event binding and triggering on a StateMachine to its `states` collection.
-_.each([ 'on', 'off', 'trigger' ], function( method ) {
-	/**
-	 * @function on
-	 * @memberOf wp.media.controller.StateMachine
-	 * @instance
-	 * @return {wp.media.controller.StateMachine} Returns itself to allow chaining.
-	 */
 	/**
-	 * @function off
-	 * @memberOf wp.media.controller.StateMachine
-	 * @instance
-	 * @return {wp.media.controller.StateMachine} Returns itself to allow chaining.
-	 */
-	/**
-	 * @function trigger
-	 * @memberOf wp.media.controller.StateMachine
-	 * @instance
-	 * @return {wp.media.controller.StateMachine} Returns itself to allow chaining.
+	 * Sets a single tab to be focusable and semantically selected.
+	 *
+	 * @since 5.3.0
+	 *
+	 * @param {Object} tab The tab DOM element.
+	 *
+	 * @return {void}
 	 */
-	StateMachine.prototype[ method ] = function() {
-		// Ensure that the `states` collection exists so the `StateMachine`
-		// can be used as a mixin.
-		this.states = this.states || new Backbone.Collection();
-		// Forward the method to the `states` collection.
-		this.states[ method ].apply( this.states, arguments );
-		return this;
-	};
+	activateTab: function( tab ) {
+		if ( ! tab ) {
+			return;
+		}
+
+		// The tab is a DOM element: no need for jQuery methods.
+		tab.focus();
+
+		// Handle automatic activation.
+		if ( this.tabsAutomaticActivation ) {
+			tab.removeAttribute( 'tabindex' );
+			tab.setAttribute( 'aria-selected', 'true' );
+			tab.click();
+
+			return;
+		}
+
+		// Handle manual activation.
+		$( tab ).on( 'click', function() {
+			tab.removeAttribute( 'tabindex' );
+			tab.setAttribute( 'aria-selected', 'true' );
+		} );
+ 	}
 });

-module.exports = StateMachine;
+module.exports = FocusManager;


 /***/ }),

-/***/ "UmHM":
-/***/ (function(module, exports) {
-
-var View = wp.media.view,
-	SiteIconCropper;
+/***/ 3647:
+/***/ (function(module) {

 /**
- * wp.media.view.SiteIconCropper
- *
- * Uses the imgAreaSelect plugin to allow a user to crop a Site Icon.
+ * wp.media.view.Frame
  *
- * Takes imgAreaSelect options from
- * wp.customize.SiteIconControl.calculateImageSelectOptions.
+ * A frame is a composite view consisting of one or more regions and one or more
+ * states.
  *
  * @memberOf wp.media.view
  *
+ * @see wp.media.controller.State
+ * @see wp.media.controller.Region
+ *
  * @class
- * @augments wp.media.view.Cropper
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
+ * @mixes wp.media.controller.StateMachine
  */
-SiteIconCropper = View.Cropper.extend(/** @lends wp.media.view.SiteIconCropper.prototype */{
-	className: 'crop-content site-icon',
+var Frame = wp.media.View.extend(/** @lends wp.media.view.Frame.prototype */{
+	initialize: function() {
+		_.defaults( this.options, {
+			mode: [ 'select' ]
+		});
+		this._createRegions();
+		this._createStates();
+		this._createModes();
+	},

-	ready: function () {
-		View.Cropper.prototype.ready.apply( this, arguments );
+	_createRegions: function() {
+		// Clone the regions array.
+		this.regions = this.regions ? this.regions.slice() : [];

-		this.$( '.crop-image' ).on( 'load', _.bind( this.addSidebar, this ) );
+		// Initialize regions.
+		_.each( this.regions, function( region ) {
+			this[ region ] = new wp.media.controller.Region({
+				view:     this,
+				id:       region,
+				selector: '.media-frame-' + region
+			});
+		}, this );
 	},
-
-	addSidebar: function() {
-		this.sidebar = new wp.media.view.Sidebar({
-			controller: this.controller
+	/**
+	 * Create the frame's states.
+	 *
+	 * @see wp.media.controller.State
+	 * @see wp.media.controller.StateMachine
+	 *
+	 * @fires wp.media.controller.State#ready
+	 */
+	_createStates: function() {
+		// Create the default `states` collection.
+		this.states = new Backbone.Collection( null, {
+			model: wp.media.controller.State
 		});

-		this.sidebar.set( 'preview', new wp.media.view.SiteIconPreview({
-			controller: this.controller,
-			attachment: this.options.attachment
-		}) );
-
-		this.controller.cropperView.views.add( this.sidebar );
-	}
-});
-
-module.exports = SiteIconCropper;
-
+		// Ensure states have a reference to the frame.
+		this.states.on( 'add', function( model ) {
+			model.frame = this;
+			model.trigger('ready');
+		}, this );

-/***/ }),
+		if ( this.options.states ) {
+			this.states.add( this.options.states );
+		}
+	},

-/***/ "V6sy":
-/***/ (function(module, exports) {
+	/**
+	 * A frame can be in a mode or multiple modes at one time.
+	 *
+	 * For example, the manage media frame can be in the `Bulk Select` or `Edit` mode.
+	 */
+	_createModes: function() {
+		// Store active "modes" that the frame is in. Unrelated to region modes.
+		this.activeModes = new Backbone.Collection();
+		this.activeModes.on( 'add remove reset', _.bind( this.triggerModeEvents, this ) );

-/**
- * wp.media.view.Label
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-var Label = wp.media.View.extend(/** @lends wp.media.view.Label.prototype */{
-	tagName: 'label',
-	className: 'screen-reader-text',
+		_.each( this.options.mode, function( mode ) {
+			this.activateMode( mode );
+		}, this );
+	},
+	/**
+	 * Reset all states on the frame to their defaults.
+	 *
+	 * @return {wp.media.view.Frame} Returns itself to allow chaining.
+	 */
+	reset: function() {
+		this.states.invoke( 'trigger', 'reset' );
+		return this;
+	},
+	/**
+	 * Map activeMode collection events to the frame.
+	 */
+	triggerModeEvents: function( model, collection, options ) {
+		var collectionEvent,
+			modeEventMap = {
+				add: 'activate',
+				remove: 'deactivate'
+			},
+			eventToTrigger;
+		// Probably a better way to do this.
+		_.each( options, function( value, key ) {
+			if ( value ) {
+				collectionEvent = key;
+			}
+		} );

-	initialize: function() {
-		this.value = this.options.value;
+		if ( ! _.has( modeEventMap, collectionEvent ) ) {
+			return;
+		}
+
+		eventToTrigger = model.get('id') + ':' + modeEventMap[collectionEvent];
+		this.trigger( eventToTrigger );
 	},
+	/**
+	 * Activate a mode on the frame.
+	 *
+	 * @param string mode Mode ID.
+	 * @return {this} Returns itself to allow chaining.
+	 */
+	activateMode: function( mode ) {
+		// Bail if the mode is already active.
+		if ( this.isModeActive( mode ) ) {
+			return;
+		}
+		this.activeModes.add( [ { id: mode } ] );
+		// Add a CSS class to the frame so elements can be styled for the mode.
+		this.$el.addClass( 'mode-' + mode );

-	render: function() {
-		this.$el.html( this.value );
+		return this;
+	},
+	/**
+	 * Deactivate a mode on the frame.
+	 *
+	 * @param string mode Mode ID.
+	 * @return {this} Returns itself to allow chaining.
+	 */
+	deactivateMode: function( mode ) {
+		// Bail if the mode isn't active.
+		if ( ! this.isModeActive( mode ) ) {
+			return this;
+		}
+		this.activeModes.remove( this.activeModes.where( { id: mode } ) );
+		this.$el.removeClass( 'mode-' + mode );
+		/**
+		 * Frame mode deactivation event.
+		 *
+		 * @event wp.media.view.Frame#{mode}:deactivate
+		 */
+		this.trigger( mode + ':deactivate' );

 		return this;
+	},
+	/**
+	 * Check if a mode is enabled on the frame.
+	 *
+	 * @param string mode Mode ID.
+	 * @return bool
+	 */
+	isModeActive: function( mode ) {
+		return Boolean( this.activeModes.where( { id: mode } ).length );
 	}
 });

-module.exports = Label;
+// Make the `Frame` a `StateMachine`.
+_.extend( Frame.prototype, wp.media.controller.StateMachine.prototype );
+
+module.exports = Frame;


 /***/ }),

-/***/ "VIJ9":
-/***/ (function(module, exports) {
+/***/ 9142:
+/***/ (function(module) {

 var Select = wp.media.view.MediaFrame.Select,
 	l10n = wp.media.view.l10n,
@@ -6765,2074 +6351,2442 @@ ImageDetails = Select.extend(/** @lends wp.media.view.MediaFrame.ImageDetails.pr
 						// perhaps wp.html.string to at least to build the <img />.
 						state.trigger( 'update', controller.image.toJSON() );

-						// Restore and reset the default state.
-						controller.setState( controller.options.state );
-						controller.reset();
-					}
-				}
-			}
-		}) );
-	},
+						// Restore and reset the default state.
+						controller.setState( controller.options.state );
+						controller.reset();
+					}
+				}
+			}
+		}) );
+	},
+
+	renderReplaceImageToolbar: function() {
+		var frame = this,
+			lastState = frame.lastState(),
+			previous = lastState && lastState.id;
+
+		this.toolbar.set( new wp.media.view.Toolbar({
+			controller: this,
+			items: {
+				back: {
+					text:     l10n.back,
+					priority: 80,
+					click:    function() {
+						if ( previous ) {
+							frame.setState( previous );
+						} else {
+							frame.close();
+						}
+					}
+				},
+
+				replace: {
+					style:    'primary',
+					text:     l10n.replace,
+					priority: 20,
+					requires: { selection: true },
+
+					click: function() {
+						var controller = this.controller,
+							state = controller.state(),
+							selection = state.get( 'selection' ),
+							attachment = selection.single();
+
+						controller.close();
+
+						controller.image.changeAttachment( attachment, state.display( attachment ) );
+
+						// Not sure if we want to use wp.media.string.image which will create a shortcode or
+						// perhaps wp.html.string to at least to build the <img />.
+						state.trigger( 'replace', controller.image.toJSON() );
+
+						// Restore and reset the default state.
+						controller.setState( controller.options.state );
+						controller.reset();
+					}
+				}
+			}
+		}) );
+	}
+
+});
+
+module.exports = ImageDetails;
+
+
+/***/ }),
+
+/***/ 9075:
+/***/ (function(module) {
+
+var Select = wp.media.view.MediaFrame.Select,
+	Library = wp.media.controller.Library,
+	l10n = wp.media.view.l10n,
+	Post;
+
+/**
+ * wp.media.view.MediaFrame.Post
+ *
+ * The frame for manipulating media on the Edit Post page.
+ *
+ * @memberOf wp.media.view.MediaFrame
+ *
+ * @class
+ * @augments wp.media.view.MediaFrame.Select
+ * @augments wp.media.view.MediaFrame
+ * @augments wp.media.view.Frame
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ * @mixes wp.media.controller.StateMachine
+ */
+Post = Select.extend(/** @lends wp.media.view.MediaFrame.Post.prototype */{
+	initialize: function() {
+		this.counts = {
+			audio: {
+				count: wp.media.view.settings.attachmentCounts.audio,
+				state: 'playlist'
+			},
+			video: {
+				count: wp.media.view.settings.attachmentCounts.video,
+				state: 'video-playlist'
+			}
+		};
+
+		_.defaults( this.options, {
+			multiple:  true,
+			editing:   false,
+			state:    'insert',
+			metadata:  {}
+		});
+
+		// Call 'initialize' directly on the parent class.
+		Select.prototype.initialize.apply( this, arguments );
+		this.createIframeStates();
+
+	},
+
+	/**
+	 * Create the default states.
+	 */
+	createStates: function() {
+		var options = this.options;
+
+		this.states.add([
+			// Main states.
+			new Library({
+				id:         'insert',
+				title:      l10n.insertMediaTitle,
+				priority:   20,
+				toolbar:    'main-insert',
+				filterable: 'all',
+				library:    wp.media.query( options.library ),
+				multiple:   options.multiple ? 'reset' : false,
+				editable:   true,
+
+				// If the user isn't allowed to edit fields,
+				// can they still edit it locally?
+				allowLocalEdits: true,
+
+				// Show the attachment display settings.
+				displaySettings: true,
+				// Update user settings when users adjust the
+				// attachment display settings.
+				displayUserSettings: true
+			}),
+
+			new Library({
+				id:         'gallery',
+				title:      l10n.createGalleryTitle,
+				priority:   40,
+				toolbar:    'main-gallery',
+				filterable: 'uploaded',
+				multiple:   'add',
+				editable:   false,
+
+				library:  wp.media.query( _.defaults({
+					type: 'image'
+				}, options.library ) )
+			}),
+
+			// Embed states.
+			new wp.media.controller.Embed( { metadata: options.metadata } ),
+
+			new wp.media.controller.EditImage( { model: options.editImage } ),
+
+			// Gallery states.
+			new wp.media.controller.GalleryEdit({
+				library: options.selection,
+				editing: options.editing,
+				menu:    'gallery'
+			}),
+
+			new wp.media.controller.GalleryAdd(),
+
+			new Library({
+				id:         'playlist',
+				title:      l10n.createPlaylistTitle,
+				priority:   60,
+				toolbar:    'main-playlist',
+				filterable: 'uploaded',
+				multiple:   'add',
+				editable:   false,
+
+				library:  wp.media.query( _.defaults({
+					type: 'audio'
+				}, options.library ) )
+			}),
+
+			// Playlist states.
+			new wp.media.controller.CollectionEdit({
+				type: 'audio',
+				collectionType: 'playlist',
+				title:          l10n.editPlaylistTitle,
+				SettingsView:   wp.media.view.Settings.Playlist,
+				library:        options.selection,
+				editing:        options.editing,
+				menu:           'playlist',
+				dragInfoText:   l10n.playlistDragInfo,
+				dragInfo:       false
+			}),
+
+			new wp.media.controller.CollectionAdd({
+				type: 'audio',
+				collectionType: 'playlist',
+				title: l10n.addToPlaylistTitle
+			}),
+
+			new Library({
+				id:         'video-playlist',
+				title:      l10n.createVideoPlaylistTitle,
+				priority:   60,
+				toolbar:    'main-video-playlist',
+				filterable: 'uploaded',
+				multiple:   'add',
+				editable:   false,

-	renderReplaceImageToolbar: function() {
-		var frame = this,
-			lastState = frame.lastState(),
-			previous = lastState && lastState.id;
+				library:  wp.media.query( _.defaults({
+					type: 'video'
+				}, options.library ) )
+			}),

-		this.toolbar.set( new wp.media.view.Toolbar({
-			controller: this,
-			items: {
-				back: {
-					text:     l10n.back,
-					priority: 80,
-					click:    function() {
-						if ( previous ) {
-							frame.setState( previous );
-						} else {
-							frame.close();
-						}
-					}
-				},
+			new wp.media.controller.CollectionEdit({
+				type: 'video',
+				collectionType: 'playlist',
+				title:          l10n.editVideoPlaylistTitle,
+				SettingsView:   wp.media.view.Settings.Playlist,
+				library:        options.selection,
+				editing:        options.editing,
+				menu:           'video-playlist',
+				dragInfoText:   l10n.videoPlaylistDragInfo,
+				dragInfo:       false
+			}),

-				replace: {
-					style:    'primary',
-					text:     l10n.replace,
-					priority: 20,
-					requires: { selection: true },
+			new wp.media.controller.CollectionAdd({
+				type: 'video',
+				collectionType: 'playlist',
+				title: l10n.addToVideoPlaylistTitle
+			})
+		]);

-					click: function() {
-						var controller = this.controller,
-							state = controller.state(),
-							selection = state.get( 'selection' ),
-							attachment = selection.single();
+		if ( wp.media.view.settings.post.featuredImageId ) {
+			this.states.add( new wp.media.controller.FeaturedImage() );
+		}
+	},

-						controller.close();
+	bindHandlers: function() {
+		var handlers, checkCounts;

-						controller.image.changeAttachment( attachment, state.display( attachment ) );
+		Select.prototype.bindHandlers.apply( this, arguments );

-						// Not sure if we want to use wp.media.string.image which will create a shortcode or
-						// perhaps wp.html.string to at least to build the <img />.
-						state.trigger( 'replace', controller.image.toJSON() );
+		this.on( 'activate', this.activate, this );

-						// Restore and reset the default state.
-						controller.setState( controller.options.state );
-						controller.reset();
-					}
-				}
-			}
-		}) );
-	}
+		// Only bother checking media type counts if one of the counts is zero.
+		checkCounts = _.find( this.counts, function( type ) {
+			return type.count === 0;
+		} );

-});
+		if ( typeof checkCounts !== 'undefined' ) {
+			this.listenTo( wp.media.model.Attachments.all, 'change:type', this.mediaTypeCounts );
+		}

-module.exports = ImageDetails;
+		this.on( 'menu:create:gallery', this.createMenu, this );
+		this.on( 'menu:create:playlist', this.createMenu, this );
+		this.on( 'menu:create:video-playlist', this.createMenu, this );
+		this.on( 'toolbar:create:main-insert', this.createToolbar, this );
+		this.on( 'toolbar:create:main-gallery', this.createToolbar, this );
+		this.on( 'toolbar:create:main-playlist', this.createToolbar, this );
+		this.on( 'toolbar:create:main-video-playlist', this.createToolbar, this );
+		this.on( 'toolbar:create:featured-image', this.featuredImageToolbar, this );
+		this.on( 'toolbar:create:main-embed', this.mainEmbedToolbar, this );

+		handlers = {
+			menu: {
+				'default': 'mainMenu',
+				'gallery': 'galleryMenu',
+				'playlist': 'playlistMenu',
+				'video-playlist': 'videoPlaylistMenu'
+			},

-/***/ }),
+			content: {
+				'embed':          'embedContent',
+				'edit-image':     'editImageContent',
+				'edit-selection': 'editSelectionContent'
+			},

-/***/ "VMHs":
-/***/ (function(module, exports) {
+			toolbar: {
+				'main-insert':      'mainInsertToolbar',
+				'main-gallery':     'mainGalleryToolbar',
+				'gallery-edit':     'galleryEditToolbar',
+				'gallery-add':      'galleryAddToolbar',
+				'main-playlist':	'mainPlaylistToolbar',
+				'playlist-edit':	'playlistEditToolbar',
+				'playlist-add':		'playlistAddToolbar',
+				'main-video-playlist': 'mainVideoPlaylistToolbar',
+				'video-playlist-edit': 'videoPlaylistEditToolbar',
+				'video-playlist-add': 'videoPlaylistAddToolbar'
+			}
+		};

-/**
- * wp.media.view.Embed
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-var Embed = wp.media.View.extend(/** @lends wp.media.view.Ember.prototype */{
-	className: 'media-embed',
+		_.each( handlers, function( regionHandlers, region ) {
+			_.each( regionHandlers, function( callback, handler ) {
+				this.on( region + ':render:' + handler, this[ callback ], this );
+			}, this );
+		}, this );
+	},

-	initialize: function() {
-		/**
-		 * @member {wp.media.view.EmbedUrl}
-		 */
-		this.url = new wp.media.view.EmbedUrl({
-			controller: this.controller,
-			model:      this.model.props
-		}).render();
+	activate: function() {
+		// Hide menu items for states tied to particular media types if there are no items.
+		_.each( this.counts, function( type ) {
+			if ( type.count < 1 ) {
+				this.menuItemVisibility( type.state, 'hide' );
+			}
+		}, this );
+	},

-		this.views.set([ this.url ]);
-		this.refresh();
-		this.listenTo( this.model, 'change:type', this.refresh );
-		this.listenTo( this.model, 'change:loading', this.loading );
+	mediaTypeCounts: function( model, attr ) {
+		if ( typeof this.counts[ attr ] !== 'undefined' && this.counts[ attr ].count < 1 ) {
+			this.counts[ attr ].count++;
+			this.menuItemVisibility( this.counts[ attr ].state, 'show' );
+		}
 	},

+	// Menus.
 	/**
-	 * @param {Object} view
+	 * @param {wp.Backbone.View} view
 	 */
-	settings: function( view ) {
-		if ( this._settings ) {
-			this._settings.remove();
-		}
-		this._settings = view;
-		this.views.add( view );
+	mainMenu: function( view ) {
+		view.set({
+			'library-separator': new wp.media.View({
+				className:  'separator',
+				priority:   100,
+				attributes: {
+					role: 'presentation'
+				}
+			})
+		});
 	},

-	refresh: function() {
-		var type = this.model.get('type'),
-			constructor;
-
-		if ( 'image' === type ) {
-			constructor = wp.media.view.EmbedImage;
-		} else if ( 'link' === type ) {
-			constructor = wp.media.view.EmbedLink;
-		} else {
-			return;
+	menuItemVisibility: function( state, visibility ) {
+		var menu = this.menu.get();
+		if ( visibility === 'hide' ) {
+			menu.hide( state );
+		} else if ( visibility === 'show' ) {
+			menu.show( state );
 		}
-
-		this.settings( new constructor({
-			controller: this.controller,
-			model:      this.model.props,
-			priority:   40
-		}) );
 	},
+	/**
+	 * @param {wp.Backbone.View} view
+	 */
+	galleryMenu: function( view ) {
+		var lastState = this.lastState(),
+			previous = lastState && lastState.id,
+			frame = this;

-	loading: function() {
-		this.$el.toggleClass( 'embed-loading', this.model.get('loading') );
-	}
-});
+		view.set({
+			cancel: {
+				text:     l10n.cancelGalleryTitle,
+				priority: 20,
+				click:    function() {
+					if ( previous ) {
+						frame.setState( previous );
+					} else {
+						frame.close();
+					}

-module.exports = Embed;
+					// Move focus to the modal after canceling a Gallery.
+					this.controller.modal.focusManager.focus();
+				}
+			},
+			separateCancel: new wp.media.View({
+				className: 'separator',
+				priority: 40
+			})
+		});
+	},
+
+	playlistMenu: function( view ) {
+		var lastState = this.lastState(),
+			previous = lastState && lastState.id,
+			frame = this;

+		view.set({
+			cancel: {
+				text:     l10n.cancelPlaylistTitle,
+				priority: 20,
+				click:    function() {
+					if ( previous ) {
+						frame.setState( previous );
+					} else {
+						frame.close();
+					}

-/***/ }),
+					// Move focus to the modal after canceling an Audio Playlist.
+					this.controller.modal.focusManager.focus();
+				}
+			},
+			separateCancel: new wp.media.View({
+				className: 'separator',
+				priority: 40
+			})
+		});
+	},

-/***/ "Vh02":
-/***/ (function(module, exports) {
+	videoPlaylistMenu: function( view ) {
+		var lastState = this.lastState(),
+			previous = lastState && lastState.id,
+			frame = this;

-var View = wp.media.View,
-	UploaderStatus = wp.media.view.UploaderStatus,
-	l10n = wp.media.view.l10n,
-	$ = jQuery,
-	Cropper;
+		view.set({
+			cancel: {
+				text:     l10n.cancelVideoPlaylistTitle,
+				priority: 20,
+				click:    function() {
+					if ( previous ) {
+						frame.setState( previous );
+					} else {
+						frame.close();
+					}

-/**
- * wp.media.view.Cropper
- *
- * Uses the imgAreaSelect plugin to allow a user to crop an image.
- *
- * Takes imgAreaSelect options from
- * wp.customize.HeaderControl.calculateImageSelectOptions via
- * wp.customize.HeaderControl.openMM.
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-Cropper = View.extend(/** @lends wp.media.view.Cropper.prototype */{
-	className: 'crop-content',
-	template: wp.template('crop-content'),
-	initialize: function() {
-		_.bindAll(this, 'onImageLoad');
-	},
-	ready: function() {
-		this.controller.frame.on('content:error:crop', this.onError, this);
-		this.$image = this.$el.find('.crop-image');
-		this.$image.on('load', this.onImageLoad);
-		$(window).on('resize.cropper', _.debounce(this.onImageLoad, 250));
-	},
-	remove: function() {
-		$(window).off('resize.cropper');
-		this.$el.remove();
-		this.$el.off();
-		View.prototype.remove.apply(this, arguments);
-	},
-	prepare: function() {
-		return {
-			title: l10n.cropYourImage,
-			url: this.options.attachment.get('url')
-		};
+					// Move focus to the modal after canceling a Video Playlist.
+					this.controller.modal.focusManager.focus();
+				}
+			},
+			separateCancel: new wp.media.View({
+				className: 'separator',
+				priority: 40
+			})
+		});
 	},
-	onImageLoad: function() {
-		var imgOptions = this.controller.get('imgSelectOptions'),
-			imgSelect;

-		if (typeof imgOptions === 'function') {
-			imgOptions = imgOptions(this.options.attachment, this.controller);
-		}
+	// Content.
+	embedContent: function() {
+		var view = new wp.media.view.Embed({
+			controller: this,
+			model:      this.state()
+		}).render();

-		imgOptions = _.extend(imgOptions, {
-			parent: this.$el,
-			onInit: function() {
+		this.content.set( view );
+	},

-				// Store the set ratio.
-				var setRatio = imgSelect.getOptions().aspectRatio;
+	editSelectionContent: function() {
+		var state = this.state(),
+			selection = state.get('selection'),
+			view;

-				// On mousedown, if no ratio is set and the Shift key is down, use a 1:1 ratio.
-				this.parent.children().on( 'mousedown touchstart', function( e ) {
+		view = new wp.media.view.AttachmentsBrowser({
+			controller: this,
+			collection: selection,
+			selection:  selection,
+			model:      state,
+			sortable:   true,
+			search:     false,
+			date:       false,
+			dragInfo:   true,

-					// If no ratio is set and the shift key is down, use a 1:1 ratio.
-					if ( ! setRatio && e.shiftKey ) {
-						imgSelect.setOptions( {
-							aspectRatio: '1:1'
-						} );
-					}
-				} );
+			AttachmentView: wp.media.view.Attachments.EditSelection
+		}).render();

-				this.parent.children().on( 'mouseup touchend', function() {
+		view.toolbar.set( 'backToLibrary', {
+			text:     l10n.returnToLibrary,
+			priority: -100,

-					// Restore the set ratio.
-					imgSelect.setOptions( {
-						aspectRatio: setRatio ? setRatio : false
-					} );
-				} );
+			click: function() {
+				this.controller.content.mode('browse');
+				// Move focus to the modal when jumping back from Edit Selection to Add Media view.
+				this.controller.modal.focusManager.focus();
 			}
-		} );
-		this.trigger('image-loaded');
-		imgSelect = this.controller.imgSelect = this.$image.imgAreaSelect(imgOptions);
-	},
-	onError: function() {
-		var filename = this.options.attachment.get('filename');
+		});

-		this.views.add( '.upload-errors', new wp.media.view.UploaderStatusError({
-			filename: UploaderStatus.prototype.filename(filename),
-			message: window._wpMediaViewsL10n.cropError
-		}), { at: 0 });
-	}
-});
+		// Browse our library of attachments.
+		this.content.set( view );

-module.exports = Cropper;
+		// Trigger the controller to set focus.
+		this.trigger( 'edit:selection', this );
+	},

+	editImageContent: function() {
+		var image = this.state().get('image'),
+			view = new wp.media.view.EditImage( { model: image, controller: this } ).render();

-/***/ }),
+		this.content.set( view );

-/***/ "VkcK":
-/***/ (function(module, exports) {
+		// After creating the wrapper view, load the actual editor via an Ajax call.
+		view.loadEditor();

-var l10n = wp.media.view.l10n,
-	DateFilter;
+	},

-/**
- * A filter dropdown for month/dates.
- *
- * @memberOf wp.media.view.AttachmentFilters
- *
- * @class
- * @augments wp.media.view.AttachmentFilters
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-DateFilter = wp.media.view.AttachmentFilters.extend(/** @lends wp.media.view.AttachmentFilters.Date.prototype */{
-	id: 'media-attachment-date-filters',
+	// Toolbars.

-	createFilters: function() {
-		var filters = {};
-		_.each( wp.media.view.settings.months || {}, function( value, index ) {
-			filters[ index ] = {
-				text: value.text,
-				props: {
-					year: value.year,
-					monthnum: value.month
-				}
-			};
-		});
-		filters.all = {
-			text:  l10n.allDates,
-			props: {
-				monthnum: false,
-				year:  false
-			},
-			priority: 10
-		};
-		this.filters = filters;
-	}
-});
+	/**
+	 * @param {wp.Backbone.View} view
+	 */
+	selectionStatusToolbar: function( view ) {
+		var editable = this.state().get('editable');

-module.exports = DateFilter;
+		view.set( 'selection', new wp.media.view.Selection({
+			controller: this,
+			collection: this.state().get('selection'),
+			priority:   -40,

+			// If the selection is editable, pass the callback to
+			// switch the content mode.
+			editable: editable && function() {
+				this.controller.content.mode('edit-selection');
+			}
+		}).render() );
+	},

-/***/ }),
+	/**
+	 * @param {wp.Backbone.View} view
+	 */
+	mainInsertToolbar: function( view ) {
+		var controller = this;

-/***/ "W+32":
-/***/ (function(module, exports) {
+		this.selectionStatusToolbar( view );

-var Controller = wp.media.controller,
-	SiteIconCropper;
+		view.set( 'insert', {
+			style:    'primary',
+			priority: 80,
+			text:     l10n.insertIntoPost,
+			requires: { selection: true },

-/**
- * wp.media.controller.SiteIconCropper
- *
- * A state for cropping a Site Icon.
- *
- * @memberOf wp.media.controller
- *
- * @class
- * @augments wp.media.controller.Cropper
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- */
-SiteIconCropper = Controller.Cropper.extend(/** @lends wp.media.controller.SiteIconCropper.prototype */{
-	activate: function() {
-		this.frame.on( 'content:create:crop', this.createCropContent, this );
-		this.frame.on( 'close', this.removeCropper, this );
-		this.set('selection', new Backbone.Collection(this.frame._selection.single));
-	},
+			/**
+			 * @ignore
+			 *
+			 * @fires wp.media.controller.State#insert
+			 */
+			click: function() {
+				var state = controller.state(),
+					selection = state.get('selection');

-	createCropContent: function() {
-		this.cropperView = new wp.media.view.SiteIconCropper({
-			controller: this,
-			attachment: this.get('selection').first()
+				controller.close();
+				state.trigger( 'insert', selection ).reset();
+			}
 		});
-		this.cropperView.on('image-loaded', this.createCropToolbar, this);
-		this.frame.content.set(this.cropperView);
-
 	},

-	doCrop: function( attachment ) {
-		var cropDetails = attachment.get( 'cropDetails' ),
-			control = this.get( 'control' );
+	/**
+	 * @param {wp.Backbone.View} view
+	 */
+	mainGalleryToolbar: function( view ) {
+		var controller = this;

-		cropDetails.dst_width  = control.params.width;
-		cropDetails.dst_height = control.params.height;
+		this.selectionStatusToolbar( view );

-		return wp.ajax.post( 'crop-image', {
-			nonce: attachment.get( 'nonces' ).edit,
-			id: attachment.get( 'id' ),
-			context: 'site-icon',
-			cropDetails: cropDetails
-		} );
-	}
-});
+		view.set( 'gallery', {
+			style:    'primary',
+			text:     l10n.createNewGallery,
+			priority: 60,
+			requires: { selection: true },

-module.exports = SiteIconCropper;
+			click: function() {
+				var selection = controller.state().get('selection'),
+					edit = controller.state('gallery-edit'),
+					models = selection.where({ type: 'image' });

+				edit.set( 'library', new wp.media.model.Selection( models, {
+					props:    selection.props.toJSON(),
+					multiple: true
+				}) );

-/***/ }),
+				// Jump to Edit Gallery view.
+				this.controller.setState( 'gallery-edit' );

-/***/ "WiNq":
-/***/ (function(module, exports) {
+				// Move focus to the modal after jumping to Edit Gallery view.
+				this.controller.modal.focusManager.focus();
+			}
+		});
+	},

-/**
- * wp.media.controller.Region
- *
- * A region is a persistent application layout area.
- *
- * A region assumes one mode at any time, and can be switched to another.
- *
- * When mode changes, events are triggered on the region's parent view.
- * The parent view will listen to specific events and fill the region with an
- * appropriate view depending on mode. For example, a frame listens for the
- * 'browse' mode t be activated on the 'content' view and then fills the region
- * with an AttachmentsBrowser view.
- *
- * @memberOf wp.media.controller
- *
- * @class
- *
- * @param {Object}        options          Options hash for the region.
- * @param {string}        options.id       Unique identifier for the region.
- * @param {Backbone.View} options.view     A parent view the region exists within.
- * @param {string}        options.selector jQuery selector for the region within the parent view.
- */
-var Region = function( options ) {
-	_.extend( this, _.pick( options || {}, 'id', 'view', 'selector' ) );
-};
+	mainPlaylistToolbar: function( view ) {
+		var controller = this;

-// Use Backbone's self-propagating `extend` inheritance method.
-Region.extend = Backbone.Model.extend;
+		this.selectionStatusToolbar( view );

-_.extend( Region.prototype,/** @lends wp.media.controller.Region.prototype */{
-	/**
-	 * Activate a mode.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @param {string} mode
-	 *
-	 * @fires Region#activate
-	 * @fires Region#deactivate
-	 *
-	 * @return {wp.media.controller.Region} Returns itself to allow chaining.
-	 */
-	mode: function( mode ) {
-		if ( ! mode ) {
-			return this._mode;
-		}
-		// Bail if we're trying to change to the current mode.
-		if ( mode === this._mode ) {
-			return this;
-		}
+		view.set( 'playlist', {
+			style:    'primary',
+			text:     l10n.createNewPlaylist,
+			priority: 100,
+			requires: { selection: true },

-		/**
-		 * Region mode deactivation event.
-		 *
-		 * @event wp.media.controller.Region#deactivate
-		 */
-		this.trigger('deactivate');
+			click: function() {
+				var selection = controller.state().get('selection'),
+					edit = controller.state('playlist-edit'),
+					models = selection.where({ type: 'audio' });

-		this._mode = mode;
-		this.render( mode );
+				edit.set( 'library', new wp.media.model.Selection( models, {
+					props:    selection.props.toJSON(),
+					multiple: true
+				}) );

-		/**
-		 * Region mode activation event.
-		 *
-		 * @event wp.media.controller.Region#activate
-		 */
-		this.trigger('activate');
-		return this;
+				// Jump to Edit Audio Playlist view.
+				this.controller.setState( 'playlist-edit' );
+
+				// Move focus to the modal after jumping to Edit Audio Playlist view.
+				this.controller.modal.focusManager.focus();
+			}
+		});
 	},
-	/**
-	 * Render a mode.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @param {string} mode
-	 *
-	 * @fires Region#create
-	 * @fires Region#render
-	 *
-	 * @return {wp.media.controller.Region} Returns itself to allow chaining.
-	 */
-	render: function( mode ) {
-		// If the mode isn't active, activate it.
-		if ( mode && mode !== this._mode ) {
-			return this.mode( mode );
-		}

-		var set = { view: null },
-			view;
+	mainVideoPlaylistToolbar: function( view ) {
+		var controller = this;

-		/**
-		 * Create region view event.
-		 *
-		 * Region view creation takes place in an event callback on the frame.
-		 *
-		 * @event wp.media.controller.Region#create
-		 * @type {object}
-		 * @property {object} view
-		 */
-		this.trigger( 'create', set );
-		view = set.view;
+		this.selectionStatusToolbar( view );

-		/**
-		 * Render region view event.
-		 *
-		 * Region view creation takes place in an event callback on the frame.
-		 *
-		 * @event wp.media.controller.Region#render
-		 * @type {object}
-		 */
-		this.trigger( 'render', view );
-		if ( view ) {
-			this.set( view );
-		}
-		return this;
+		view.set( 'video-playlist', {
+			style:    'primary',
+			text:     l10n.createNewVideoPlaylist,
+			priority: 100,
+			requires: { selection: true },
+
+			click: function() {
+				var selection = controller.state().get('selection'),
+					edit = controller.state('video-playlist-edit'),
+					models = selection.where({ type: 'video' });
+
+				edit.set( 'library', new wp.media.model.Selection( models, {
+					props:    selection.props.toJSON(),
+					multiple: true
+				}) );
+
+				// Jump to Edit Video Playlist view.
+				this.controller.setState( 'video-playlist-edit' );
+
+				// Move focus to the modal after jumping to Edit Video Playlist view.
+				this.controller.modal.focusManager.focus();
+			}
+		});
 	},

-	/**
-	 * Get the region's view.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @return {wp.media.View}
-	 */
-	get: function() {
-		return this.view.views.first( this.selector );
+	featuredImageToolbar: function( toolbar ) {
+		this.createSelectToolbar( toolbar, {
+			text:  l10n.setFeaturedImage,
+			state: this.options.state
+		});
 	},

-	/**
-	 * Set the region's view as a subview of the frame.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @param {Array|Object} views
-	 * @param {Object} [options={}]
-	 * @return {wp.Backbone.Subviews} Subviews is returned to allow chaining.
-	 */
-	set: function( views, options ) {
-		if ( options ) {
-			options.add = false;
-		}
-		return this.view.views.set( this.selector, views, options );
+	mainEmbedToolbar: function( toolbar ) {
+		toolbar.view = new wp.media.view.Toolbar.Embed({
+			controller: this
+		});
 	},

-	/**
-	 * Trigger regional view events on the frame.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @param {string} event
-	 * @return {undefined|wp.media.controller.Region} Returns itself to allow chaining.
-	 */
-	trigger: function( event ) {
-		var base, args;
+	galleryEditToolbar: function() {
+		var editing = this.state().get('editing');
+		this.toolbar.set( new wp.media.view.Toolbar({
+			controller: this,
+			items: {
+				insert: {
+					style:    'primary',
+					text:     editing ? l10n.updateGallery : l10n.insertGallery,
+					priority: 80,
+					requires: { library: true },

-		if ( ! this._mode ) {
-			return;
-		}
+					/**
+					 * @fires wp.media.controller.State#update
+					 */
+					click: function() {
+						var controller = this.controller,
+							state = controller.state();

-		args = _.toArray( arguments );
-		base = this.id + ':' + event;
+						controller.close();
+						state.trigger( 'update', state.get('library') );

-		// Trigger `{this.id}:{event}:{this._mode}` event on the frame.
-		args[0] = base + ':' + this._mode;
-		this.view.trigger.apply( this.view, args );
+						// Restore and reset the default state.
+						controller.setState( controller.options.state );
+						controller.reset();
+					}
+				}
+			}
+		}) );
+	},

-		// Trigger `{this.id}:{event}` event on the frame.
-		args[0] = base;
-		this.view.trigger.apply( this.view, args );
-		return this;
-	}
-});
+	galleryAddToolbar: function() {
+		this.toolbar.set( new wp.media.view.Toolbar({
+			controller: this,
+			items: {
+				insert: {
+					style:    'primary',
+					text:     l10n.addToGallery,
+					priority: 80,
+					requires: { selection: true },

-module.exports = Region;
+					/**
+					 * @fires wp.media.controller.State#reset
+					 */
+					click: function() {
+						var controller = this.controller,
+							state = controller.state(),
+							edit = controller.state('gallery-edit');
+
+						edit.get('library').add( state.get('selection').models );
+						state.trigger('reset');
+						controller.setState('gallery-edit');
+						// Move focus to the modal when jumping back from Add to Gallery to Edit Gallery view.
+						this.controller.modal.focusManager.focus();
+					}
+				}
+			}
+		}) );
+	},

+	playlistEditToolbar: function() {
+		var editing = this.state().get('editing');
+		this.toolbar.set( new wp.media.view.Toolbar({
+			controller: this,
+			items: {
+				insert: {
+					style:    'primary',
+					text:     editing ? l10n.updatePlaylist : l10n.insertPlaylist,
+					priority: 80,
+					requires: { library: true },

-/***/ }),
+					/**
+					 * @fires wp.media.controller.State#update
+					 */
+					click: function() {
+						var controller = this.controller,
+							state = controller.state();

-/***/ "ZeG4":
-/***/ (function(module, exports) {
+						controller.close();
+						state.trigger( 'update', state.get('library') );

-/**
- * wp.media.view.UploaderStatusError
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-var UploaderStatusError = wp.media.View.extend(/** @lends wp.media.view.UploaderStatusError.prototype */{
-	className: 'upload-error',
-	template:  wp.template('uploader-status-error')
-});
+						// Restore and reset the default state.
+						controller.setState( controller.options.state );
+						controller.reset();
+					}
+				}
+			}
+		}) );
+	},

-module.exports = UploaderStatusError;
+	playlistAddToolbar: function() {
+		this.toolbar.set( new wp.media.view.Toolbar({
+			controller: this,
+			items: {
+				insert: {
+					style:    'primary',
+					text:     l10n.addToPlaylist,
+					priority: 80,
+					requires: { selection: true },

+					/**
+					 * @fires wp.media.controller.State#reset
+					 */
+					click: function() {
+						var controller = this.controller,
+							state = controller.state(),
+							edit = controller.state('playlist-edit');

-/***/ }),
+						edit.get('library').add( state.get('selection').models );
+						state.trigger('reset');
+						controller.setState('playlist-edit');
+						// Move focus to the modal when jumping back from Add to Audio Playlist to Edit Audio Playlist view.
+						this.controller.modal.focusManager.focus();
+					}
+				}
+			}
+		}) );
+	},

-/***/ "ZgZ7":
-/***/ (function(module, exports) {
+	videoPlaylistEditToolbar: function() {
+		var editing = this.state().get('editing');
+		this.toolbar.set( new wp.media.view.Toolbar({
+			controller: this,
+			items: {
+				insert: {
+					style:    'primary',
+					text:     editing ? l10n.updateVideoPlaylist : l10n.insertVideoPlaylist,
+					priority: 140,
+					requires: { library: true },

-var Search;
+					click: function() {
+						var controller = this.controller,
+							state = controller.state(),
+							library = state.get('library');

-/**
- * wp.media.view.Search
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-Search = wp.media.View.extend(/** @lends wp.media.view.Search.prototype */{
-	tagName:   'input',
-	className: 'search',
-	id:        'media-search-input',
+						library.type = 'video';

-	attributes: {
-		type: 'search'
-	},
+						controller.close();
+						state.trigger( 'update', library );

-	events: {
-		'input': 'search'
+						// Restore and reset the default state.
+						controller.setState( controller.options.state );
+						controller.reset();
+					}
+				}
+			}
+		}) );
 	},

-	/**
-	 * @return {wp.media.view.Search} Returns itself to allow chaining.
-	 */
-	render: function() {
-		this.el.value = this.model.escape('search');
-		return this;
-	},
+	videoPlaylistAddToolbar: function() {
+		this.toolbar.set( new wp.media.view.Toolbar({
+			controller: this,
+			items: {
+				insert: {
+					style:    'primary',
+					text:     l10n.addToVideoPlaylist,
+					priority: 140,
+					requires: { selection: true },

-	search: _.debounce( function( event ) {
-		var searchTerm = event.target.value.trim();
+					click: function() {
+						var controller = this.controller,
+							state = controller.state(),
+							edit = controller.state('video-playlist-edit');

-		// Trigger the search only after 2 ASCII characters.
-		if ( searchTerm && searchTerm.length > 1 ) {
-			this.model.set( 'search', searchTerm );
-		} else {
-			this.model.unset( 'search' );
-		}
-	}, 500 )
+						edit.get('library').add( state.get('selection').models );
+						state.trigger('reset');
+						controller.setState('video-playlist-edit');
+						// Move focus to the modal when jumping back from Add to Video Playlist to Edit Video Playlist view.
+						this.controller.modal.focusManager.focus();
+					}
+				}
+			}
+		}) );
+	}
 });

-module.exports = Search;
+module.exports = Post;


 /***/ }),

-/***/ "aBqq":
-/***/ (function(module, exports) {
+/***/ 8719:
+/***/ (function(module) {

-var Library = wp.media.controller.Library,
+var MediaFrame = wp.media.view.MediaFrame,
 	l10n = wp.media.view.l10n,
-	ReplaceImage;
+	Select;

 /**
- * wp.media.controller.ReplaceImage
+ * wp.media.view.MediaFrame.Select
  *
- * A state for replacing an image.
+ * A frame for selecting an item or items from the media library.
  *
- * @memberOf wp.media.controller
+ * @memberOf wp.media.view.MediaFrame
  *
  * @class
- * @augments wp.media.controller.Library
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- *
- * @param {object}                     [attributes]                         The attributes hash passed to the state.
- * @param {string}                     [attributes.id=replace-image]        Unique identifier.
- * @param {string}                     [attributes.title=Replace Image]     Title for the state. Displays in the media menu and the frame's title region.
- * @param {wp.media.model.Attachments} [attributes.library]                 The attachments collection to browse.
- *                                                                          If one is not supplied, a collection of all images will be created.
- * @param {boolean}                    [attributes.multiple=false]          Whether multi-select is enabled.
- * @param {string}                     [attributes.content=upload]          Initial mode for the content region.
- *                                                                          Overridden by persistent user setting if 'contentUserSetting' is true.
- * @param {string}                     [attributes.menu=default]            Initial mode for the menu region.
- * @param {string}                     [attributes.router=browse]           Initial mode for the router region.
- * @param {string}                     [attributes.toolbar=replace]         Initial mode for the toolbar region.
- * @param {int}                        [attributes.priority=60]             The priority for the state link in the media menu.
- * @param {boolean}                    [attributes.searchable=true]         Whether the library is searchable.
- * @param {boolean|string}             [attributes.filterable=uploaded]     Whether the library is filterable, and if so what filters should be shown.
- *                                                                          Accepts 'all', 'uploaded', or 'unattached'.
- * @param {boolean}                    [attributes.sortable=true]           Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
- * @param {boolean}                    [attributes.autoSelect=true]         Whether an uploaded attachment should be automatically added to the selection.
- * @param {boolean}                    [attributes.describe=false]          Whether to offer UI to describe attachments - e.g. captioning images in a gallery.
- * @param {boolean}                    [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
- * @param {boolean}                    [attributes.syncSelection=true]      Whether the Attachments selection should be persisted from the last state.
+ * @augments wp.media.view.MediaFrame
+ * @augments wp.media.view.Frame
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ * @mixes wp.media.controller.StateMachine
  */
-ReplaceImage = Library.extend(/** @lends wp.media.controller.ReplaceImage.prototype */{
-	defaults: _.defaults({
-		id:            'replace-image',
-		title:         l10n.replaceImageTitle,
-		multiple:      false,
-		filterable:    'uploaded',
-		toolbar:       'replace',
-		menu:          false,
-		priority:      60,
-		syncSelection: true
-	}, Library.prototype.defaults ),
+Select = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Select.prototype */{
+	initialize: function() {
+		// Call 'initialize' directly on the parent class.
+		MediaFrame.prototype.initialize.apply( this, arguments );
+
+		_.defaults( this.options, {
+			selection: [],
+			library:   {},
+			multiple:  false,
+			state:    'library'
+		});
+
+		this.createSelection();
+		this.createStates();
+		this.bindHandlers();
+	},

 	/**
-	 * @since 3.9.0
+	 * Attach a selection collection to the frame.
 	 *
-	 * @param options
+	 * A selection is a collection of attachments used for a specific purpose
+	 * by a media frame. e.g. Selecting an attachment (or many) to insert into
+	 * post content.
+	 *
+	 * @see media.model.Selection
 	 */
-	initialize: function( options ) {
-		var library, comparator;
+	createSelection: function() {
+		var selection = this.options.selection;

-		this.image = options.image;
-		// If we haven't been provided a `library`, create a `Selection`.
-		if ( ! this.get('library') ) {
-			this.set( 'library', wp.media.query({ type: 'image' }) );
+		if ( ! (selection instanceof wp.media.model.Selection) ) {
+			this.options.selection = new wp.media.model.Selection( selection, {
+				multiple: this.options.multiple
+			});
 		}

-		Library.prototype.initialize.apply( this, arguments );
+		this._selection = {
+			attachments: new wp.media.model.Attachments(),
+			difference: []
+		};
+	},

-		library    = this.get('library');
-		comparator = library.comparator;
+	editImageContent: function() {
+		var image = this.state().get('image'),
+			view = new wp.media.view.EditImage( { model: image, controller: this } ).render();

-		// Overload the library's comparator to push items that are not in
-		// the mirrored query to the front of the aggregate collection.
-		library.comparator = function( a, b ) {
-			var aInQuery = !! this.mirroring.get( a.cid ),
-				bInQuery = !! this.mirroring.get( b.cid );
+		this.content.set( view );

-			if ( ! aInQuery && bInQuery ) {
-				return -1;
-			} else if ( aInQuery && ! bInQuery ) {
-				return 1;
-			} else {
-				return comparator.apply( this, arguments );
-			}
-		};
+		// After creating the wrapper view, load the actual editor via an Ajax call.
+		view.loadEditor();
+	},

-		// Add all items in the selection to the library, so any featured
-		// images that are not initially loaded still appear.
-		library.observe( this.get('selection') );
+	/**
+	 * Create the default states on the frame.
+	 */
+	createStates: function() {
+		var options = this.options;
+
+		if ( this.options.states ) {
+			return;
+		}
+
+		// Add the default states.
+		this.states.add([
+			// Main states.
+			new wp.media.controller.Library({
+				library:   wp.media.query( options.library ),
+				multiple:  options.multiple,
+				title:     options.title,
+				priority:  20
+			}),
+			new wp.media.controller.EditImage( { model: options.editImage } )
+		]);
 	},

 	/**
-	 * @since 3.9.0
+	 * Bind region mode event callbacks.
+	 *
+	 * @see media.controller.Region.render
 	 */
-	activate: function() {
-		this.frame.on( 'content:render:browse', this.updateSelection, this );
+	bindHandlers: function() {
+		this.on( 'router:create:browse', this.createRouter, this );
+		this.on( 'router:render:browse', this.browseRouter, this );
+		this.on( 'content:create:browse', this.browseContent, this );
+		this.on( 'content:render:upload', this.uploadContent, this );
+		this.on( 'toolbar:create:select', this.createSelectToolbar, this );
+		this.on( 'content:render:edit-image', this.editImageContent, this );
+	},

-		Library.prototype.activate.apply( this, arguments );
+	/**
+	 * Render callback for the router region in the `browse` mode.
+	 *
+	 * @param {wp.media.view.Router} routerView
+	 */
+	browseRouter: function( routerView ) {
+		routerView.set({
+			upload: {
+				text:     l10n.uploadFilesTitle,
+				priority: 20
+			},
+			browse: {
+				text:     l10n.mediaLibraryTitle,
+				priority: 40
+			}
+		});
 	},

 	/**
-	 * @since 5.9.0
+	 * Render callback for the content region in the `browse` mode.
+	 *
+	 * @param {wp.media.controller.Region} contentRegion
 	 */
-	deactivate: function() {
-		this.frame.off( 'content:render:browse', this.updateSelection, this );
+	browseContent: function( contentRegion ) {
+		var state = this.state();

-		Library.prototype.deactivate.apply( this, arguments );
+		this.$el.removeClass('hide-toolbar');
+
+		// Browse our library of attachments.
+		contentRegion.view = new wp.media.view.AttachmentsBrowser({
+			controller: this,
+			collection: state.get('library'),
+			selection:  state.get('selection'),
+			model:      state,
+			sortable:   state.get('sortable'),
+			search:     state.get('searchable'),
+			filters:    state.get('filterable'),
+			date:       state.get('date'),
+			display:    state.has('display') ? state.get('display') : state.get('displaySettings'),
+			dragInfo:   state.get('dragInfo'),
+
+			idealColumnWidth: state.get('idealColumnWidth'),
+			suggestedWidth:   state.get('suggestedWidth'),
+			suggestedHeight:  state.get('suggestedHeight'),
+
+			AttachmentView: state.get('AttachmentView')
+		});
 	},

 	/**
-	 * @since 3.9.0
+	 * Render callback for the content region in the `upload` mode.
 	 */
-	updateSelection: function() {
-		var selection = this.get('selection'),
-			attachment = this.image.attachment;
+	uploadContent: function() {
+		this.$el.removeClass( 'hide-toolbar' );
+		this.content.set( new wp.media.view.UploaderInline({
+			controller: this
+		}) );
+	},

-		selection.reset( attachment ? [ attachment ] : [] );
+	/**
+	 * Toolbars
+	 *
+	 * @param {Object} toolbar
+	 * @param {Object} [options={}]
+	 * @this wp.media.controller.Region
+	 */
+	createSelectToolbar: function( toolbar, options ) {
+		options = options || this.options.button || {};
+		options.controller = this;
+
+		toolbar.view = new wp.media.view.Toolbar.Select( options );
 	}
 });

-module.exports = ReplaceImage;
+module.exports = Select;


 /***/ }),

-/***/ "cH3P":
-/***/ (function(module, exports) {
+/***/ 7990:
+/***/ (function(module) {

 /**
- * wp.media.view.Spinner
- *
- * Represents a spinner in the Media Library.
+ * wp.media.view.Heading
  *
- * @since 3.9.0
+ * A reusable heading component for the media library
  *
- * @memberOf wp.media.view
+ * Used to add accessibility friendly headers in the media library/modal.
  *
  * @class
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-var Spinner = wp.media.View.extend(/** @lends wp.media.view.Spinner.prototype */{
-	tagName:   'span',
-	className: 'spinner',
-	spinnerTimeout: false,
-	delay: 400,
+var Heading = wp.media.View.extend( {
+	tagName: function() {
+		return this.options.level || 'h1';
+	},
+	className: 'media-views-heading',

-	/**
-	 * Shows the spinner. Delays the visibility by the configured amount.
-	 *
-	 * @since 3.9.0
-	 *
-	 * @return {wp.media.view.Spinner} The spinner.
-	 */
-	show: function() {
-		if ( ! this.spinnerTimeout ) {
-			this.spinnerTimeout = _.delay(function( $el ) {
-				$el.addClass( 'is-active' );
-			}, this.delay, this.$el );
+	initialize: function() {
+
+		if ( this.options.className ) {
+			this.$el.addClass( this.options.className );
 		}

-		return this;
+		this.text = this.options.text;
 	},

+	render: function() {
+		this.$el.html( this.text );
+		return this;
+	}
+} );
+
+module.exports = Heading;
+
+
+/***/ }),
+
+/***/ 6217:
+/***/ (function(module) {
+
+/**
+ * wp.media.view.Iframe
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var Iframe = wp.media.View.extend(/** @lends wp.media.view.Iframe.prototype */{
+	className: 'media-iframe',
 	/**
-	 * Hides the spinner.
-	 *
-	 * @since 3.9.0
-	 *
-	 * @return {wp.media.view.Spinner} The spinner.
+	 * @return {wp.media.view.Iframe} Returns itself to allow chaining.
 	 */
-	hide: function() {
-		this.$el.removeClass( 'is-active' );
-		this.spinnerTimeout = clearTimeout( this.spinnerTimeout );
-
+	render: function() {
+		this.views.detach();
+		this.$el.html( '<iframe src="' + this.controller.state().get('src') + '" />' );
+		this.views.render();
 		return this;
 	}
 });

-module.exports = Spinner;
+module.exports = Iframe;


 /***/ }),

-/***/ "d3xu":
-/***/ (function(module, exports) {
+/***/ 7598:
+/***/ (function(module) {

-var View = wp.media.View,
+var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
 	$ = jQuery,
-	SiteIconPreview;
+	ImageDetails;

 /**
- * wp.media.view.SiteIconPreview
- *
- * Shows a preview of the Site Icon as a favicon and app icon while cropping.
+ * wp.media.view.ImageDetails
  *
  * @memberOf wp.media.view
  *
  * @class
+ * @augments wp.media.view.Settings.AttachmentDisplay
+ * @augments wp.media.view.Settings
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-SiteIconPreview = View.extend(/** @lends wp.media.view.SiteIconPreview.prototype */{
-	className: 'site-icon-preview',
-	template: wp.template( 'site-icon-preview' ),
+ImageDetails = AttachmentDisplay.extend(/** @lends wp.media.view.ImageDetails.prototype */{
+	className: 'image-details',
+	template:  wp.template('image-details'),
+	events: _.defaults( AttachmentDisplay.prototype.events, {
+		'click .edit-attachment': 'editAttachment',
+		'click .replace-attachment': 'replaceAttachment',
+		'click .advanced-toggle': 'onToggleAdvanced',
+		'change [data-setting="customWidth"]': 'onCustomSize',
+		'change [data-setting="customHeight"]': 'onCustomSize',
+		'keyup [data-setting="customWidth"]': 'onCustomSize',
+		'keyup [data-setting="customHeight"]': 'onCustomSize'
+	} ),
+	initialize: function() {
+		// Used in AttachmentDisplay.prototype.updateLinkTo.
+		this.options.attachment = this.model.attachment;
+		this.listenTo( this.model, 'change:url', this.updateUrl );
+		this.listenTo( this.model, 'change:link', this.toggleLinkSettings );
+		this.listenTo( this.model, 'change:size', this.toggleCustomSize );

-	ready: function() {
-		this.controller.imgSelect.setOptions({
-			onInit: this.updatePreview,
-			onSelectChange: this.updatePreview
-		});
+		AttachmentDisplay.prototype.initialize.apply( this, arguments );
 	},

 	prepare: function() {
-		return {
-			url: this.options.attachment.get( 'url' )
-		};
-	},
-
-	updatePreview: function( img, coords ) {
-		var rx = 64 / coords.width,
-			ry = 64 / coords.height,
-			preview_rx = 16 / coords.width,
-			preview_ry = 16 / coords.height;
-
-		$( '#preview-app-icon' ).css({
-			width: Math.round(rx * this.imageWidth ) + 'px',
-			height: Math.round(ry * this.imageHeight ) + 'px',
-			marginLeft: '-' + Math.round(rx * coords.x1) + 'px',
-			marginTop: '-' + Math.round(ry * coords.y1) + 'px'
-		});
+		var attachment = false;

-		$( '#preview-favicon' ).css({
-			width: Math.round( preview_rx * this.imageWidth ) + 'px',
-			height: Math.round( preview_ry * this.imageHeight ) + 'px',
-			marginLeft: '-' + Math.round( preview_rx * coords.x1 ) + 'px',
-			marginTop: '-' + Math.floor( preview_ry* coords.y1 ) + 'px'
-		});
-	}
-});
+		if ( this.model.attachment ) {
+			attachment = this.model.attachment.toJSON();
+		}
+		return _.defaults({
+			model: this.model.toJSON(),
+			attachment: attachment
+		}, this.options );
+	},

-module.exports = SiteIconPreview;
+	render: function() {
+		var args = arguments;

+		if ( this.model.attachment && 'pending' === this.model.dfd.state() ) {
+			this.model.dfd
+				.done( _.bind( function() {
+					AttachmentDisplay.prototype.render.apply( this, args );
+					this.postRender();
+				}, this ) )
+				.fail( _.bind( function() {
+					this.model.attachment = false;
+					AttachmentDisplay.prototype.render.apply( this, args );
+					this.postRender();
+				}, this ) );
+		} else {
+			AttachmentDisplay.prototype.render.apply( this, arguments );
+			this.postRender();
+		}

-/***/ }),
+		return this;
+	},

-/***/ "dpRc":
-/***/ (function(module, exports) {
+	postRender: function() {
+		setTimeout( _.bind( this.scrollToTop, this ), 10 );
+		this.toggleLinkSettings();
+		if ( window.getUserSetting( 'advImgDetails' ) === 'show' ) {
+			this.toggleAdvanced( true );
+		}
+		this.trigger( 'post-render' );
+	},

-var MenuItem;
+	scrollToTop: function() {
+		this.$( '.embed-media-settings' ).scrollTop( 0 );
+	},

-/**
- * wp.media.view.MenuItem
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-MenuItem = wp.media.View.extend(/** @lends wp.media.view.MenuItem.prototype */{
-	tagName:   'button',
-	className: 'media-menu-item',
+	updateUrl: function() {
+		this.$( '.image img' ).attr( 'src', this.model.get( 'url' ) );
+		this.$( '.url' ).val( this.model.get( 'url' ) );
+	},

-	attributes: {
-		type: 'button',
-		role: 'tab'
+	toggleLinkSettings: function() {
+		if ( this.model.get( 'link' ) === 'none' ) {
+			this.$( '.link-settings' ).addClass('hidden');
+		} else {
+			this.$( '.link-settings' ).removeClass('hidden');
+		}
 	},

-	events: {
-		'click': '_click'
+	toggleCustomSize: function() {
+		if ( this.model.get( 'size' ) !== 'custom' ) {
+			this.$( '.custom-size' ).addClass('hidden');
+		} else {
+			this.$( '.custom-size' ).removeClass('hidden');
+		}
 	},

-	/**
-	 * Allows to override the click event.
-	 */
-	_click: function() {
-		var clickOverride = this.options.click;
+	onCustomSize: function( event ) {
+		var dimension = $( event.target ).data('setting'),
+			num = $( event.target ).val(),
+			value;

-		if ( clickOverride ) {
-			clickOverride.call( this );
+		// Ignore bogus input.
+		if ( ! /^\d+/.test( num ) || parseInt( num, 10 ) < 1 ) {
+			event.preventDefault();
+			return;
+		}
+
+		if ( dimension === 'customWidth' ) {
+			value = Math.round( 1 / this.model.get( 'aspectRatio' ) * num );
+			this.model.set( 'customHeight', value, { silent: true } );
+			this.$( '[data-setting="customHeight"]' ).val( value );
 		} else {
-			this.click();
+			value = Math.round( this.model.get( 'aspectRatio' ) * num );
+			this.model.set( 'customWidth', value, { silent: true  } );
+			this.$( '[data-setting="customWidth"]' ).val( value );
 		}
 	},

-	click: function() {
-		var state = this.options.state;
+	onToggleAdvanced: function( event ) {
+		event.preventDefault();
+		this.toggleAdvanced();
+	},

-		if ( state ) {
-			this.controller.setState( state );
-			// Toggle the menu visibility in the responsive view.
-			this.views.parent.$el.removeClass( 'visible' ); // @todo Or hide on any click, see below.
+	toggleAdvanced: function( show ) {
+		var $advanced = this.$el.find( '.advanced-section' ),
+			mode;
+
+		if ( $advanced.hasClass('advanced-visible') || show === false ) {
+			$advanced.removeClass('advanced-visible');
+			$advanced.find('.advanced-settings').addClass('hidden');
+			mode = 'hide';
+		} else {
+			$advanced.addClass('advanced-visible');
+			$advanced.find('.advanced-settings').removeClass('hidden');
+			mode = 'show';
 		}
+
+		window.setUserSetting( 'advImgDetails', mode );
 	},

-	/**
-	 * @return {wp.media.view.MenuItem} returns itself to allow chaining.
-	 */
-	render: function() {
-		var options = this.options,
-			menuProperty = options.state || options.contentMode;
+	editAttachment: function( event ) {
+		var editState = this.controller.states.get( 'edit-image' );

-		if ( options.text ) {
-			this.$el.text( options.text );
-		} else if ( options.html ) {
-			this.$el.html( options.html );
+		if ( window.imageEdit && editState ) {
+			event.preventDefault();
+			editState.set( 'image', this.model.attachment );
+			this.controller.setState( 'edit-image' );
 		}
+	},

-		// Set the menu item ID based on the frame state associated to the menu item.
-		this.$el.attr( 'id', 'menu-item-' + menuProperty );
-
-		return this;
+	replaceAttachment: function( event ) {
+		event.preventDefault();
+		this.controller.setState( 'replace-image' );
 	}
 });

-module.exports = MenuItem;
+module.exports = ImageDetails;


 /***/ }),

-/***/ "eqTc":
-/***/ (function(module, exports) {
-
-var Controller = wp.media.controller,
-	CustomizeImageCropper;
+/***/ 6644:
+/***/ (function(module) {

 /**
- * A state for cropping an image in the customizer.
+ * wp.media.view.Label
  *
- * @since 4.3.0
+ * @memberOf wp.media.view
  *
- * @constructs wp.media.controller.CustomizeImageCropper
- * @memberOf wp.media.controller
- * @augments wp.media.controller.CustomizeImageCropper.Cropper
- * @inheritDoc
- */
-CustomizeImageCropper = Controller.Cropper.extend(/** @lends wp.media.controller.CustomizeImageCropper.prototype */{
-	/**
-	 * Posts the crop details to the admin.
-	 *
-	 * Uses crop measurements when flexible in both directions.
-	 * Constrains flexible side based on image ratio and size of the fixed side.
-	 *
-	 * @since 4.3.0
-	 *
-	 * @param {Object} attachment The attachment to crop.
-	 *
-	 * @return {$.promise} A jQuery promise that represents the crop image request.
-	 */
-	doCrop: function( attachment ) {
-		var cropDetails = attachment.get( 'cropDetails' ),
-			control = this.get( 'control' ),
-			ratio = cropDetails.width / cropDetails.height;
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var Label = wp.media.View.extend(/** @lends wp.media.view.Label.prototype */{
+	tagName: 'label',
+	className: 'screen-reader-text',

-		// Use crop measurements when flexible in both directions.
-		if ( control.params.flex_width && control.params.flex_height ) {
-			cropDetails.dst_width  = cropDetails.width;
-			cropDetails.dst_height = cropDetails.height;
+	initialize: function() {
+		this.value = this.options.value;
+	},

-		// Constrain flexible side based on image ratio and size of the fixed side.
-		} else {
-			cropDetails.dst_width  = control.params.flex_width  ? control.params.height * ratio : control.params.width;
-			cropDetails.dst_height = control.params.flex_height ? control.params.width  / ratio : control.params.height;
-		}
+	render: function() {
+		this.$el.html( this.value );

-		return wp.ajax.post( 'crop-image', {
-			wp_customize: 'on',
-			nonce: attachment.get( 'nonces' ).edit,
-			id: attachment.get( 'id' ),
-			context: control.id,
-			cropDetails: cropDetails
-		} );
+		return this;
 	}
 });

-module.exports = CustomizeImageCropper;
+module.exports = Label;


 /***/ }),

-/***/ "fYN4":
-/***/ (function(module, exports) {
+/***/ 4861:
+/***/ (function(module) {

-var MediaFrame = wp.media.view.MediaFrame,
+var Frame = wp.media.view.Frame,
 	l10n = wp.media.view.l10n,
-	Select;
+	$ = jQuery,
+	MediaFrame;

 /**
- * wp.media.view.MediaFrame.Select
+ * wp.media.view.MediaFrame
  *
- * A frame for selecting an item or items from the media library.
+ * The frame used to create the media modal.
  *
- * @memberOf wp.media.view.MediaFrame
+ * @memberOf wp.media.view
  *
  * @class
- * @augments wp.media.view.MediaFrame
  * @augments wp.media.view.Frame
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  * @mixes wp.media.controller.StateMachine
  */
-Select = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Select.prototype */{
-	initialize: function() {
-		// Call 'initialize' directly on the parent class.
-		MediaFrame.prototype.initialize.apply( this, arguments );
-
-		_.defaults( this.options, {
-			selection: [],
-			library:   {},
-			multiple:  false,
-			state:    'library'
-		});
+MediaFrame = Frame.extend(/** @lends wp.media.view.MediaFrame.prototype */{
+	className: 'media-frame',
+	template:  wp.template('media-frame'),
+	regions:   ['menu','title','content','toolbar','router'],

-		this.createSelection();
-		this.createStates();
-		this.bindHandlers();
+	events: {
+		'click .media-frame-menu-toggle': 'toggleMenu'
 	},

 	/**
-	 * Attach a selection collection to the frame.
-	 *
-	 * A selection is a collection of attachments used for a specific purpose
-	 * by a media frame. e.g. Selecting an attachment (or many) to insert into
-	 * post content.
-	 *
-	 * @see media.model.Selection
+	 * @constructs
 	 */
-	createSelection: function() {
-		var selection = this.options.selection;
+	initialize: function() {
+		Frame.prototype.initialize.apply( this, arguments );

-		if ( ! (selection instanceof wp.media.model.Selection) ) {
-			this.options.selection = new wp.media.model.Selection( selection, {
-				multiple: this.options.multiple
+		_.defaults( this.options, {
+			title:    l10n.mediaFrameDefaultTitle,
+			modal:    true,
+			uploader: true
+		});
+
+		// Ensure core UI is enabled.
+		this.$el.addClass('wp-core-ui');
+
+		// Initialize modal container view.
+		if ( this.options.modal ) {
+			this.modal = new wp.media.view.Modal({
+				controller: this,
+				title:      this.options.title
 			});
+
+			this.modal.content( this );
 		}

-		this._selection = {
-			attachments: new wp.media.model.Attachments(),
-			difference: []
-		};
-	},
+		// Force the uploader off if the upload limit has been exceeded or
+		// if the browser isn't supported.
+		if ( wp.Uploader.limitExceeded || ! wp.Uploader.browser.supported ) {
+			this.options.uploader = false;
+		}

-	editImageContent: function() {
-		var image = this.state().get('image'),
-			view = new wp.media.view.EditImage( { model: image, controller: this } ).render();
+		// Initialize window-wide uploader.
+		if ( this.options.uploader ) {
+			this.uploader = new wp.media.view.UploaderWindow({
+				controller: this,
+				uploader: {
+					dropzone:  this.modal ? this.modal.$el : this.$el,
+					container: this.$el
+				}
+			});
+			this.views.set( '.media-frame-uploader', this.uploader );
+		}

-		this.content.set( view );
+		this.on( 'attach', _.bind( this.views.ready, this.views ), this );

-		// After creating the wrapper view, load the actual editor via an Ajax call.
-		view.loadEditor();
-	},
+		// Bind default title creation.
+		this.on( 'title:create:default', this.createTitle, this );
+		this.title.mode('default');

-	/**
-	 * Create the default states on the frame.
-	 */
-	createStates: function() {
-		var options = this.options;
+		// Bind default menu.
+		this.on( 'menu:create:default', this.createMenu, this );

-		if ( this.options.states ) {
-			return;
-		}
+		// Set the menu ARIA tab panel attributes when the modal opens.
+		this.on( 'open', this.setMenuTabPanelAriaAttributes, this );
+		// Set the router ARIA tab panel attributes when the modal opens.
+		this.on( 'open', this.setRouterTabPanelAriaAttributes, this );

-		// Add the default states.
-		this.states.add([
-			// Main states.
-			new wp.media.controller.Library({
-				library:   wp.media.query( options.library ),
-				multiple:  options.multiple,
-				title:     options.title,
-				priority:  20
-			}),
-			new wp.media.controller.EditImage( { model: options.editImage } )
-		]);
+		// Update the menu ARIA tab panel attributes when the content updates.
+		this.on( 'content:render', this.setMenuTabPanelAriaAttributes, this );
+		// Update the router ARIA tab panel attributes when the content updates.
+		this.on( 'content:render', this.setRouterTabPanelAriaAttributes, this );
 	},

 	/**
-	 * Bind region mode event callbacks.
+	 * Sets the attributes to be used on the menu ARIA tab panel.
 	 *
-	 * @see media.controller.Region.render
-	 */
-	bindHandlers: function() {
-		this.on( 'router:create:browse', this.createRouter, this );
-		this.on( 'router:render:browse', this.browseRouter, this );
-		this.on( 'content:create:browse', this.browseContent, this );
-		this.on( 'content:render:upload', this.uploadContent, this );
-		this.on( 'toolbar:create:select', this.createSelectToolbar, this );
-		this.on( 'content:render:edit-image', this.editImageContent, this );
-	},
-
-	/**
-	 * Render callback for the router region in the `browse` mode.
+	 * @since 5.3.0
 	 *
-	 * @param {wp.media.view.Router} routerView
+	 * @return {void}
 	 */
-	browseRouter: function( routerView ) {
-		routerView.set({
-			upload: {
-				text:     l10n.uploadFilesTitle,
-				priority: 20
-			},
-			browse: {
-				text:     l10n.mediaLibraryTitle,
-				priority: 40
-			}
-		});
+	setMenuTabPanelAriaAttributes: function() {
+		var stateId = this.state().get( 'id' ),
+			tabPanelEl = this.$el.find( '.media-frame-tab-panel' ),
+			ariaLabelledby;
+
+		tabPanelEl.removeAttr( 'role aria-labelledby tabindex' );
+
+		if ( this.state().get( 'menu' ) && this.menuView && this.menuView.isVisible ) {
+			ariaLabelledby = 'menu-item-' + stateId;
+
+			// Set the tab panel attributes only if the tabs are visible.
+			tabPanelEl
+				.attr( {
+					role: 'tabpanel',
+					'aria-labelledby': ariaLabelledby,
+					tabIndex: '0'
+				} );
+		}
 	},

 	/**
-	 * Render callback for the content region in the `browse` mode.
+	 * Sets the attributes to be used on the router ARIA tab panel.
 	 *
-	 * @param {wp.media.controller.Region} contentRegion
+	 * @since 5.3.0
+	 *
+	 * @return {void}
 	 */
-	browseContent: function( contentRegion ) {
-		var state = this.state();
-
-		this.$el.removeClass('hide-toolbar');
+	setRouterTabPanelAriaAttributes: function() {
+		var tabPanelEl = this.$el.find( '.media-frame-content' ),
+			ariaLabelledby;

-		// Browse our library of attachments.
-		contentRegion.view = new wp.media.view.AttachmentsBrowser({
-			controller: this,
-			collection: state.get('library'),
-			selection:  state.get('selection'),
-			model:      state,
-			sortable:   state.get('sortable'),
-			search:     state.get('searchable'),
-			filters:    state.get('filterable'),
-			date:       state.get('date'),
-			display:    state.has('display') ? state.get('display') : state.get('displaySettings'),
-			dragInfo:   state.get('dragInfo'),
+		tabPanelEl.removeAttr( 'role aria-labelledby tabindex' );

-			idealColumnWidth: state.get('idealColumnWidth'),
-			suggestedWidth:   state.get('suggestedWidth'),
-			suggestedHeight:  state.get('suggestedHeight'),
+		// Set the tab panel attributes only if the tabs are visible.
+		if ( this.state().get( 'router' ) && this.routerView && this.routerView.isVisible && this.content._mode ) {
+			ariaLabelledby = 'menu-item-' + this.content._mode;

-			AttachmentView: state.get('AttachmentView')
-		});
+			tabPanelEl
+				.attr( {
+					role: 'tabpanel',
+					'aria-labelledby': ariaLabelledby,
+					tabIndex: '0'
+				} );
+		}
 	},

 	/**
-	 * Render callback for the content region in the `upload` mode.
+	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
+	 */
+	render: function() {
+		// Activate the default state if no active state exists.
+		if ( ! this.state() && this.options.state ) {
+			this.setState( this.options.state );
+		}
+		/**
+		 * call 'render' directly on the parent class
+		 */
+		return Frame.prototype.render.apply( this, arguments );
+	},
+	/**
+	 * @param {Object} title
+	 * @this wp.media.controller.Region
 	 */
-	uploadContent: function() {
-		this.$el.removeClass( 'hide-toolbar' );
-		this.content.set( new wp.media.view.UploaderInline({
-			controller: this
-		}) );
+	createTitle: function( title ) {
+		title.view = new wp.media.View({
+			controller: this,
+			tagName: 'h1'
+		});
 	},
-
 	/**
-	 * Toolbars
-	 *
-	 * @param {Object} toolbar
-	 * @param {Object} [options={}]
+	 * @param {Object} menu
 	 * @this wp.media.controller.Region
 	 */
-	createSelectToolbar: function( toolbar, options ) {
-		options = options || this.options.button || {};
-		options.controller = this;
-
-		toolbar.view = new wp.media.view.Toolbar.Select( options );
-	}
-});
-
-module.exports = Select;
-
-
-/***/ }),
-
-/***/ "gOpb":
-/***/ (function(module, exports) {
-
-var $ = jQuery,
-	Modal;
+	createMenu: function( menu ) {
+		menu.view = new wp.media.view.Menu({
+			controller: this,

-/**
- * wp.media.view.Modal
- *
- * A modal view, which the media modal uses as its default container.
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-Modal = wp.media.View.extend(/** @lends wp.media.view.Modal.prototype */{
-	tagName:  'div',
-	template: wp.template('media-modal'),
+			attributes: {
+				role:               'tablist',
+				'aria-orientation': 'vertical'
+			}
+		});

-	events: {
-		'click .media-modal-backdrop, .media-modal-close': 'escapeHandler',
-		'keydown': 'keydown'
+		this.menuView = menu.view;
 	},

-	clickedOpenerEl: null,
+	toggleMenu: function( event ) {
+		var menu = this.$el.find( '.media-menu' );

-	initialize: function() {
-		_.defaults( this.options, {
-			container:      document.body,
-			title:          '',
-			propagate:      true,
-			hasCloseButton: true
-		});
+		menu.toggleClass( 'visible' );
+		$( event.target ).attr( 'aria-expanded', menu.hasClass( 'visible' ) );
+	},

-		this.focusManager = new wp.media.view.FocusManager({
-			el: this.el
+	/**
+	 * @param {Object} toolbar
+	 * @this wp.media.controller.Region
+	 */
+	createToolbar: function( toolbar ) {
+		toolbar.view = new wp.media.view.Toolbar({
+			controller: this
 		});
 	},
 	/**
-	 * @return {Object}
+	 * @param {Object} router
+	 * @this wp.media.controller.Region
 	 */
-	prepare: function() {
-		return {
-			title:          this.options.title,
-			hasCloseButton: this.options.hasCloseButton
-		};
-	},
+	createRouter: function( router ) {
+		router.view = new wp.media.view.Router({
+			controller: this,
+
+			attributes: {
+				role:               'tablist',
+				'aria-orientation': 'horizontal'
+			}
+		});

+		this.routerView = router.view;
+	},
 	/**
-	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
+	 * @param {Object} options
 	 */
-	attach: function() {
-		if ( this.views.attached ) {
-			return this;
-		}
+	createIframeStates: function( options ) {
+		var settings = wp.media.view.settings,
+			tabs = settings.tabs,
+			tabUrl = settings.tabUrl,
+			$postId;

-		if ( ! this.views.rendered ) {
-			this.render();
+		if ( ! tabs || ! tabUrl ) {
+			return;
 		}

-		this.$el.appendTo( this.options.container );
+		// Add the post ID to the tab URL if it exists.
+		$postId = $('#post_ID');
+		if ( $postId.length ) {
+			tabUrl += '&post_id=' + $postId.val();
+		}

-		// Manually mark the view as attached and trigger ready.
-		this.views.attached = true;
-		this.views.ready();
+		// Generate the tab states.
+		_.each( tabs, function( title, id ) {
+			this.state( 'iframe:' + id ).set( _.defaults({
+				tab:     id,
+				src:     tabUrl + '&tab=' + id,
+				title:   title,
+				content: 'iframe',
+				menu:    'default'
+			}, options ) );
+		}, this );

-		return this.propagate('attach');
+		this.on( 'content:create:iframe', this.iframeContent, this );
+		this.on( 'content:deactivate:iframe', this.iframeContentCleanup, this );
+		this.on( 'menu:render:default', this.iframeMenu, this );
+		this.on( 'open', this.hijackThickbox, this );
+		this.on( 'close', this.restoreThickbox, this );
 	},

 	/**
-	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
+	 * @param {Object} content
+	 * @this wp.media.controller.Region
 	 */
-	detach: function() {
-		if ( this.$el.is(':visible') ) {
-			this.close();
-		}
-
-		this.$el.detach();
-		this.views.attached = false;
-		return this.propagate('detach');
+	iframeContent: function( content ) {
+		this.$el.addClass('hide-toolbar');
+		content.view = new wp.media.view.Iframe({
+			controller: this
+		});
 	},

-	/**
-	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
-	 */
-	open: function() {
-		var $el = this.$el,
-			mceEditor;
-
-		if ( $el.is(':visible') ) {
-			return this;
-		}
+	iframeContentCleanup: function() {
+		this.$el.removeClass('hide-toolbar');
+	},

-		this.clickedOpenerEl = document.activeElement;
+	iframeMenu: function( view ) {
+		var views = {};

-		if ( ! this.views.attached ) {
-			this.attach();
+		if ( ! view ) {
+			return;
 		}

-		// Disable page scrolling.
-		$( 'body' ).addClass( 'modal-open' );
+		_.each( wp.media.view.settings.tabs, function( title, id ) {
+			views[ 'iframe:' + id ] = {
+				text: this.state( 'iframe:' + id ).get('title'),
+				priority: 200
+			};
+		}, this );

-		$el.show();
+		view.set( views );
+	},

-		// Try to close the onscreen keyboard.
-		if ( 'ontouchend' in document ) {
-			if ( ( mceEditor = window.tinymce && window.tinymce.activeEditor ) && ! mceEditor.isHidden() && mceEditor.iframeElement ) {
-				mceEditor.iframeElement.focus();
-				mceEditor.iframeElement.blur();
+	hijackThickbox: function() {
+		var frame = this;

-				setTimeout( function() {
-					mceEditor.iframeElement.blur();
-				}, 100 );
-			}
+		if ( ! window.tb_remove || this._tb_remove ) {
+			return;
 		}

-		// Set initial focus on the content instead of this view element, to avoid page scrolling.
-		this.$( '.media-modal' ).trigger( 'focus' );
+		this._tb_remove = window.tb_remove;
+		window.tb_remove = function() {
+			frame.close();
+			frame.reset();
+			frame.setState( frame.options.state );
+			frame._tb_remove.call( window );
+		};
+	},

-		// Hide the page content from assistive technologies.
-		this.focusManager.setAriaHiddenOnBodyChildren( $el );
+	restoreThickbox: function() {
+		if ( ! this._tb_remove ) {
+			return;
+		}

-		return this.propagate('open');
-	},
+		window.tb_remove = this._tb_remove;
+		delete this._tb_remove;
+	}
+});

+// Map some of the modal's methods to the frame.
+_.each(['open','close','attach','detach','escape'], function( method ) {
 	/**
-	 * @param {Object} options
-	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
+	 * @function open
+	 * @memberOf wp.media.view.MediaFrame
+	 * @instance
+	 *
+	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
+	 */
+	/**
+	 * @function close
+	 * @memberOf wp.media.view.MediaFrame
+	 * @instance
+	 *
+	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
+	 */
+	/**
+	 * @function attach
+	 * @memberOf wp.media.view.MediaFrame
+	 * @instance
+	 *
+	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
+	 */
+	/**
+	 * @function detach
+	 * @memberOf wp.media.view.MediaFrame
+	 * @instance
+	 *
+	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
+	 */
+	/**
+	 * @function escape
+	 * @memberOf wp.media.view.MediaFrame
+	 * @instance
+	 *
+	 * @return {wp.media.view.MediaFrame} Returns itself to allow chaining.
 	 */
-	close: function( options ) {
-		if ( ! this.views.attached || ! this.$el.is(':visible') ) {
-			return this;
+	MediaFrame.prototype[ method ] = function() {
+		if ( this.modal ) {
+			this.modal[ method ].apply( this.modal, arguments );
 		}
+		return this;
+	};
+});

-		// Pause current audio/video even after closing the modal.
-		$( '.mejs-pause button' ).trigger( 'click' );
-
-		// Enable page scrolling.
-		$( 'body' ).removeClass( 'modal-open' );
+module.exports = MediaFrame;

-		// Hide the modal element by adding display:none.
-		this.$el.hide();

-		/*
-		 * Make visible again to assistive technologies all body children that
-		 * have been made hidden when the modal opened.
-		 */
-		this.focusManager.removeAriaHiddenFromBodyChildren();
+/***/ }),

-		// Move focus back in useful location once modal is closed.
-		if ( null !== this.clickedOpenerEl ) {
-			// Move focus back to the element that opened the modal.
-			this.clickedOpenerEl.focus();
-		} else {
-			// Fallback to the admin page main element.
-			$( '#wpbody-content' )
-				.attr( 'tabindex', '-1' )
-				.trigger( 'focus' );
-		}
+/***/ 917:
+/***/ (function(module) {

-		this.propagate('close');
+var MenuItem;

-		if ( options && options.escape ) {
-			this.propagate('escape');
-		}
+/**
+ * wp.media.view.MenuItem
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+MenuItem = wp.media.View.extend(/** @lends wp.media.view.MenuItem.prototype */{
+	tagName:   'button',
+	className: 'media-menu-item',

-		return this;
+	attributes: {
+		type: 'button',
+		role: 'tab'
 	},
-	/**
-	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
-	 */
-	escape: function() {
-		return this.close({ escape: true });
+
+	events: {
+		'click': '_click'
 	},
+
 	/**
-	 * @param {Object} event
+	 * Allows to override the click event.
 	 */
-	escapeHandler: function( event ) {
-		event.preventDefault();
-		this.escape();
+	_click: function() {
+		var clickOverride = this.options.click;
+
+		if ( clickOverride ) {
+			clickOverride.call( this );
+		} else {
+			this.click();
+		}
 	},

-	/**
-	 * @param {Array|Object} content Views to register to '.media-modal-content'
-	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
-	 */
-	content: function( content ) {
-		this.views.set( '.media-modal-content', content );
-		return this;
+	click: function() {
+		var state = this.options.state;
+
+		if ( state ) {
+			this.controller.setState( state );
+			// Toggle the menu visibility in the responsive view.
+			this.views.parent.$el.removeClass( 'visible' ); // @todo Or hide on any click, see below.
+		}
 	},

 	/**
-	 * Triggers a modal event and if the `propagate` option is set,
-	 * forwards events to the modal's controller.
-	 *
-	 * @param {string} id
-	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
+	 * @return {wp.media.view.MenuItem} returns itself to allow chaining.
 	 */
-	propagate: function( id ) {
-		this.trigger( id );
+	render: function() {
+		var options = this.options,
+			menuProperty = options.state || options.contentMode;

-		if ( this.options.propagate ) {
-			this.controller.trigger( id );
+		if ( options.text ) {
+			this.$el.text( options.text );
+		} else if ( options.html ) {
+			this.$el.html( options.html );
 		}

+		// Set the menu item ID based on the frame state associated to the menu item.
+		this.$el.attr( 'id', 'menu-item-' + menuProperty );
+
 		return this;
-	},
-	/**
-	 * @param {Object} event
-	 */
-	keydown: function( event ) {
-		// Close the modal when escape is pressed.
-		if ( 27 === event.which && this.$el.is(':visible') ) {
-			this.escape();
-			event.stopImmediatePropagation();
-		}
 	}
 });

-module.exports = Modal;
+module.exports = MenuItem;


 /***/ }),

-/***/ "ibOK":
-/***/ (function(module, exports) {
+/***/ 2596:
+/***/ (function(module) {

-var View = wp.media.View,
-	EditImage;
+var MenuItem = wp.media.view.MenuItem,
+	PriorityList = wp.media.view.PriorityList,
+	Menu;

 /**
- * wp.media.view.EditImage
+ * wp.media.view.Menu
  *
  * @memberOf wp.media.view
  *
  * @class
+ * @augments wp.media.view.PriorityList
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-EditImage = View.extend(/** @lends wp.media.view.EditImage.prototype */{
-	className: 'image-editor',
-	template: wp.template('image-editor'),
+Menu = PriorityList.extend(/** @lends wp.media.view.Menu.prototype */{
+	tagName:   'div',
+	className: 'media-menu',
+	property:  'state',
+	ItemView:  MenuItem,
+	region:    'menu',

-	initialize: function( options ) {
-		this.editor = window.imageEdit;
-		this.controller = options.controller;
-		View.prototype.initialize.apply( this, arguments );
+	attributes: {
+		role:               'tablist',
+		'aria-orientation': 'horizontal'
 	},

-	prepare: function() {
-		return this.model.toJSON();
+	initialize: function() {
+		this._views = {};
+
+		this.set( _.extend( {}, this._views, this.options.views ), { silent: true });
+		delete this.options.views;
+
+		if ( ! this.options.silent ) {
+			this.render();
+		}
+
+		// Initialize the Focus Manager.
+		this.focusManager = new wp.media.view.FocusManager( {
+			el:   this.el,
+			mode: 'tabsNavigation'
+		} );
+
+		// The menu is always rendered and can be visible or hidden on some frames.
+		this.isVisible = true;
 	},

-	loadEditor: function() {
-		this.editor.open( this.model.get( 'id' ), this.model.get( 'nonces' ).edit, this );
+	/**
+	 * @param {Object} options
+	 * @param {string} id
+	 * @return {wp.media.View}
+	 */
+	toView: function( options, id ) {
+		options = options || {};
+		options[ this.property ] = options[ this.property ] || id;
+		return new this.ItemView( options ).render();
 	},

-	back: function() {
-		var lastState = this.controller.lastState();
-		this.controller.setState( lastState );
+	ready: function() {
+		/**
+		 * call 'ready' directly on the parent class
+		 */
+		PriorityList.prototype.ready.apply( this, arguments );
+		this.visibility();
+
+		// Set up aria tabs initial attributes.
+		this.focusManager.setupAriaTabs();
 	},

-	refresh: function() {
-		this.model.fetch();
+	set: function() {
+		/**
+		 * call 'set' directly on the parent class
+		 */
+		PriorityList.prototype.set.apply( this, arguments );
+		this.visibility();
+	},
+
+	unset: function() {
+		/**
+		 * call 'unset' directly on the parent class
+		 */
+		PriorityList.prototype.unset.apply( this, arguments );
+		this.visibility();
+	},
+
+	visibility: function() {
+		var region = this.region,
+			view = this.controller[ region ].get(),
+			views = this.views.get(),
+			hide = ! views || views.length < 2;
+
+		if ( this === view ) {
+			// Flag this menu as hidden or visible.
+			this.isVisible = ! hide;
+			// Set or remove a CSS class to hide the menu.
+			this.controller.$el.toggleClass( 'hide-' + region, hide );
+		}
+	},
+	/**
+	 * @param {string} id
+	 */
+	select: function( id ) {
+		var view = this.get( id );
+
+		if ( ! view ) {
+			return;
+		}
+
+		this.deselect();
+		view.$el.addClass('active');
+
+		// Set up again the aria tabs initial attributes after the menu updates.
+		this.focusManager.setupAriaTabs();
+	},
+
+	deselect: function() {
+		this.$el.children().removeClass('active');
+	},
+
+	hide: function( id ) {
+		var view = this.get( id );
+
+		if ( ! view ) {
+			return;
+		}
+
+		view.$el.addClass('hidden');
 	},

-	save: function() {
-		var lastState = this.controller.lastState();
+	show: function( id ) {
+		var view = this.get( id );
+
+		if ( ! view ) {
+			return;
+		}

-		this.model.fetch().done( _.bind( function() {
-			this.controller.setState( lastState );
-		}, this ) );
+		view.$el.removeClass('hidden');
 	}
-
 });

-module.exports = EditImage;
+module.exports = Menu;


 /***/ }),

-/***/ "iipZ":
-/***/ (function(module, exports) {
+/***/ 3939:
+/***/ (function(module) {

-var Selection = wp.media.model.Selection,
-	Library = wp.media.controller.Library,
-	CollectionAdd;
+var $ = jQuery,
+	Modal;

 /**
- * wp.media.controller.CollectionAdd
+ * wp.media.view.Modal
  *
- * A state for adding attachments to a collection (e.g. video playlist).
+ * A modal view, which the media modal uses as its default container.
  *
- * @memberOf wp.media.controller
+ * @memberOf wp.media.view
  *
  * @class
- * @augments wp.media.controller.Library
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- *
- * @param {object}                     [attributes]                         The attributes hash passed to the state.
- * @param {string}                     [attributes.id=library]              Unique identifier.
- * @param {string}                     attributes.title                     Title for the state. Displays in the frame's title region.
- * @param {boolean}                    [attributes.multiple=add]            Whether multi-select is enabled. @todo 'add' doesn't seem do anything special, and gets used as a boolean.
- * @param {wp.media.model.Attachments} [attributes.library]                 The attachments collection to browse.
- *                                                                          If one is not supplied, a collection of attachments of the specified type will be created.
- * @param {boolean|string}             [attributes.filterable=uploaded]     Whether the library is filterable, and if so what filters should be shown.
- *                                                                          Accepts 'all', 'uploaded', or 'unattached'.
- * @param {string}                     [attributes.menu=gallery]            Initial mode for the menu region.
- * @param {string}                     [attributes.content=upload]          Initial mode for the content region.
- *                                                                          Overridden by persistent user setting if 'contentUserSetting' is true.
- * @param {string}                     [attributes.router=browse]           Initial mode for the router region.
- * @param {string}                     [attributes.toolbar=gallery-add]     Initial mode for the toolbar region.
- * @param {boolean}                    [attributes.searchable=true]         Whether the library is searchable.
- * @param {boolean}                    [attributes.sortable=true]           Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
- * @param {boolean}                    [attributes.autoSelect=true]         Whether an uploaded attachment should be automatically added to the selection.
- * @param {boolean}                    [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
- * @param {int}                        [attributes.priority=100]            The priority for the state link in the media menu.
- * @param {boolean}                    [attributes.syncSelection=false]     Whether the Attachments selection should be persisted from the last state.
- *                                                                          Defaults to false because for this state, because the library of the Edit Gallery state is the selection.
- * @param {string}                     attributes.type                      The collection's media type. (e.g. 'video').
- * @param {string}                     attributes.collectionType            The collection type. (e.g. 'playlist').
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
  */
-CollectionAdd = Library.extend(/** @lends wp.media.controller.CollectionAdd.prototype */{
-	defaults: _.defaults( {
-		// Selection defaults. @see media.model.Selection
-		multiple:      'add',
-		// Attachments browser defaults. @see media.view.AttachmentsBrowser
-		filterable:    'uploaded',
+Modal = wp.media.View.extend(/** @lends wp.media.view.Modal.prototype */{
+	tagName:  'div',
+	template: wp.template('media-modal'),

-		priority:      100,
-		syncSelection: false
-	}, Library.prototype.defaults ),
+	events: {
+		'click .media-modal-backdrop, .media-modal-close': 'escapeHandler',
+		'keydown': 'keydown'
+	},
+
+	clickedOpenerEl: null,
+
+	initialize: function() {
+		_.defaults( this.options, {
+			container:      document.body,
+			title:          '',
+			propagate:      true,
+			hasCloseButton: true
+		});

+		this.focusManager = new wp.media.view.FocusManager({
+			el: this.el
+		});
+	},
 	/**
-	 * @since 3.9.0
+	 * @return {Object}
 	 */
-	initialize: function() {
-		var collectionType = this.get('collectionType');
+	prepare: function() {
+		return {
+			title:          this.options.title,
+			hasCloseButton: this.options.hasCloseButton
+		};
+	},

-		if ( 'video' === this.get( 'type' ) ) {
-			collectionType = 'video-' + collectionType;
+	/**
+	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
+	 */
+	attach: function() {
+		if ( this.views.attached ) {
+			return this;
 		}

-		this.set( 'id', collectionType + '-library' );
-		this.set( 'toolbar', collectionType + '-add' );
-		this.set( 'menu', collectionType );
-
-		// If we haven't been provided a `library`, create a `Selection`.
-		if ( ! this.get('library') ) {
-			this.set( 'library', wp.media.query({ type: this.get('type') }) );
+		if ( ! this.views.rendered ) {
+			this.render();
 		}
-		Library.prototype.initialize.apply( this, arguments );
+
+		this.$el.appendTo( this.options.container );
+
+		// Manually mark the view as attached and trigger ready.
+		this.views.attached = true;
+		this.views.ready();
+
+		return this.propagate('attach');
 	},

 	/**
-	 * @since 3.9.0
+	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
 	 */
-	activate: function() {
-		var library = this.get('library'),
-			editLibrary = this.get('editLibrary'),
-			edit = this.frame.state( this.get('collectionType') + '-edit' ).get('library');
-
-		if ( editLibrary && editLibrary !== edit ) {
-			library.unobserve( editLibrary );
+	detach: function() {
+		if ( this.$el.is(':visible') ) {
+			this.close();
 		}

-		// Accepts attachments that exist in the original library and
-		// that do not exist in gallery's library.
-		library.validator = function( attachment ) {
-			return !! this.mirroring.get( attachment.cid ) && ! edit.get( attachment.cid ) && Selection.prototype.validator.apply( this, arguments );
-		};
+		this.$el.detach();
+		this.views.attached = false;
+		return this.propagate('detach');
+	},

-		/*
-		 * Reset the library to ensure that all attachments are re-added
-		 * to the collection. Do so silently, as calling `observe` will
-		 * trigger the `reset` event.
-		 */
-		library.reset( library.mirroring.models, { silent: true });
-		library.observe( edit );
-		this.set('editLibrary', edit);
+	/**
+	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
+	 */
+	open: function() {
+		var $el = this.$el,
+			mceEditor;

-		Library.prototype.activate.apply( this, arguments );
-	}
-});
+		if ( $el.is(':visible') ) {
+			return this;
+		}

-module.exports = CollectionAdd;
+		this.clickedOpenerEl = document.activeElement;

+		if ( ! this.views.attached ) {
+			this.attach();
+		}

-/***/ }),
+		// Disable page scrolling.
+		$( 'body' ).addClass( 'modal-open' );

-/***/ "iupV":
-/***/ (function(module, exports) {
+		$el.show();

-/* global ClipboardJS */
-var Attachment = wp.media.view.Attachment,
-	l10n = wp.media.view.l10n,
-	$ = jQuery,
-	Details,
-	__ = wp.i18n.__;
+		// Try to close the onscreen keyboard.
+		if ( 'ontouchend' in document ) {
+			if ( ( mceEditor = window.tinymce && window.tinymce.activeEditor ) && ! mceEditor.isHidden() && mceEditor.iframeElement ) {
+				mceEditor.iframeElement.focus();
+				mceEditor.iframeElement.blur();

-Details = Attachment.extend(/** @lends wp.media.view.Attachment.Details.prototype */{
-	tagName:   'div',
-	className: 'attachment-details',
-	template:  wp.template('attachment-details'),
+				setTimeout( function() {
+					mceEditor.iframeElement.blur();
+				}, 100 );
+			}
+		}

-	/*
-	 * Reset all the attributes inherited from Attachment including role=checkbox,
-	 * tabindex, etc., as they are inappropriate for this view. See #47458 and [30483] / #30390.
-	 */
-	attributes: {},
+		// Set initial focus on the content instead of this view element, to avoid page scrolling.
+		this.$( '.media-modal' ).trigger( 'focus' );

-	events: {
-		'change [data-setting]':          'updateSetting',
-		'change [data-setting] input':    'updateSetting',
-		'change [data-setting] select':   'updateSetting',
-		'change [data-setting] textarea': 'updateSetting',
-		'click .delete-attachment':       'deleteAttachment',
-		'click .trash-attachment':        'trashAttachment',
-		'click .untrash-attachment':      'untrashAttachment',
-		'click .edit-attachment':         'editAttachment',
-		'keydown':                        'toggleSelectionHandler'
+		// Hide the page content from assistive technologies.
+		this.focusManager.setAriaHiddenOnBodyChildren( $el );
+
+		return this.propagate('open');
 	},

 	/**
-	 * Copies the attachment URL to the clipboard.
-	 *
-	 * @since 5.5.0
-	 *
-	 * @param {MouseEvent} event A click event.
-	 *
-	 * @return {void}
+	 * @param {Object} options
+	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
 	 */
-	 copyAttachmentDetailsURLClipboard: function() {
-		var clipboard = new ClipboardJS( '.copy-attachment-url' ),
-			successTimeout;
+	close: function( options ) {
+		if ( ! this.views.attached || ! this.$el.is(':visible') ) {
+			return this;
+		}

-		clipboard.on( 'success', function( event ) {
-			var triggerElement = $( event.trigger ),
-				successElement = $( '.success', triggerElement.closest( '.copy-to-clipboard-container' ) );
+		// Pause current audio/video even after closing the modal.
+		$( '.mejs-pause button' ).trigger( 'click' );

-			// Clear the selection and move focus back to the trigger.
-			event.clearSelection();
-			// Handle ClipboardJS focus bug, see https://github.com/zenorocha/clipboard.js/issues/680
-			triggerElement.trigger( 'focus' );
+		// Enable page scrolling.
+		$( 'body' ).removeClass( 'modal-open' );

-			// Show success visual feedback.
-			clearTimeout( successTimeout );
-			successElement.removeClass( 'hidden' );
+		// Hide the modal element by adding display:none.
+		this.$el.hide();
+
+		/*
+		 * Make visible again to assistive technologies all body children that
+		 * have been made hidden when the modal opened.
+		 */
+		this.focusManager.removeAriaHiddenFromBodyChildren();
+
+		// Move focus back in useful location once modal is closed.
+		if ( null !== this.clickedOpenerEl ) {
+			// Move focus back to the element that opened the modal.
+			this.clickedOpenerEl.focus();
+		} else {
+			// Fallback to the admin page main element.
+			$( '#wpbody-content' )
+				.attr( 'tabindex', '-1' )
+				.trigger( 'focus' );
+		}

-			// Hide success visual feedback after 3 seconds since last success.
-			successTimeout = setTimeout( function() {
-				successElement.addClass( 'hidden' );
-			}, 3000 );
+		this.propagate('close');

-			// Handle success audible feedback.
-			wp.a11y.speak( __( 'The file URL has been copied to your clipboard' ) );
-		} );
-	 },
+		if ( options && options.escape ) {
+			this.propagate('escape');
+		}

+		return this;
+	},
 	/**
-	 * Shows the details of an attachment.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @constructs wp.media.view.Attachment.Details
-	 * @augments wp.media.view.Attachment
-	 *
-	 * @return {void}
+	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
 	 */
-	initialize: function() {
-		this.options = _.defaults( this.options, {
-			rerenderOnModelChange: false
-		});
-
-		// Call 'initialize' directly on the parent class.
-		Attachment.prototype.initialize.apply( this, arguments );
-
-		this.copyAttachmentDetailsURLClipboard();
+	escape: function() {
+		return this.close({ escape: true });
 	},
-
 	/**
-	 * Gets the focusable elements to move focus to.
-	 *
-	 * @since 5.3.0
+	 * @param {Object} event
 	 */
-	getFocusableElements: function() {
-		var editedAttachment = $( 'li[data-id="' + this.model.id + '"]' );
+	escapeHandler: function( event ) {
+		event.preventDefault();
+		this.escape();
+	},

-		this.previousAttachment = editedAttachment.prev();
-		this.nextAttachment = editedAttachment.next();
+	/**
+	 * @param {Array|Object} content Views to register to '.media-modal-content'
+	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
+	 */
+	content: function( content ) {
+		this.views.set( '.media-modal-content', content );
+		return this;
 	},

 	/**
-	 * Moves focus to the previous or next attachment in the grid.
-	 * Fallbacks to the upload button or media frame when there are no attachments.
+	 * Triggers a modal event and if the `propagate` option is set,
+	 * forwards events to the modal's controller.
 	 *
-	 * @since 5.3.0
+	 * @param {string} id
+	 * @return {wp.media.view.Modal} Returns itself to allow chaining.
 	 */
-	moveFocus: function() {
-		if ( this.previousAttachment.length ) {
-			this.previousAttachment.trigger( 'focus' );
-			return;
-		}
-
-		if ( this.nextAttachment.length ) {
-			this.nextAttachment.trigger( 'focus' );
-			return;
-		}
+	propagate: function( id ) {
+		this.trigger( id );

-		// Fallback: move focus to the "Select Files" button in the media modal.
-		if ( this.controller.uploader && this.controller.uploader.$browser ) {
-			this.controller.uploader.$browser.trigger( 'focus' );
-			return;
+		if ( this.options.propagate ) {
+			this.controller.trigger( id );
 		}

-		// Last fallback.
-		this.moveFocusToLastFallback();
+		return this;
 	},
-
 	/**
-	 * Moves focus to the media frame as last fallback.
-	 *
-	 * @since 5.3.0
+	 * @param {Object} event
 	 */
-	moveFocusToLastFallback: function() {
-		// Last fallback: make the frame focusable and move focus to it.
-		$( '.media-frame' )
-			.attr( 'tabindex', '-1' )
-			.trigger( 'focus' );
-	},
+	keydown: function( event ) {
+		// Close the modal when escape is pressed.
+		if ( 27 === event.which && this.$el.is(':visible') ) {
+			this.escape();
+			event.stopImmediatePropagation();
+		}
+	}
+});

-	/**
-	 * Deletes an attachment.
-	 *
-	 * Deletes an attachment after asking for confirmation. After deletion,
-	 * keeps focus in the modal.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @param {MouseEvent} event A click event.
-	 *
-	 * @return {void}
-	 */
-	deleteAttachment: function( event ) {
-		event.preventDefault();
+module.exports = Modal;

-		this.getFocusableElements();

-		if ( window.confirm( l10n.warnDelete ) ) {
-			this.model.destroy( {
-				wait: true,
-				error: function() {
-					window.alert( l10n.errorDeleting );
-				}
-			} );
+/***/ }),

-			this.moveFocus();
+/***/ 1993:
+/***/ (function(module) {
+
+/**
+ * wp.media.view.PriorityList
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var PriorityList = wp.media.View.extend(/** @lends wp.media.view.PriorityList.prototype */{
+	tagName:   'div',
+
+	initialize: function() {
+		this._views = {};
+
+		this.set( _.extend( {}, this._views, this.options.views ), { silent: true });
+		delete this.options.views;
+
+		if ( ! this.options.silent ) {
+			this.render();
 		}
 	},
-
 	/**
-	 * Sets the Trash state on an attachment, or destroys the model itself.
-	 *
-	 * If the mediaTrash setting is set to true, trashes the attachment.
-	 * Otherwise, the model itself is destroyed.
-	 *
-	 * @since 3.9.0
-	 *
-	 * @param {MouseEvent} event A click event.
-	 *
-	 * @return {void}
+	 * @param {string} id
+	 * @param {wp.media.View|Object} view
+	 * @param {Object} options
+	 * @return {wp.media.view.PriorityList} Returns itself to allow chaining.
 	 */
-	trashAttachment: function( event ) {
-		var library = this.controller.library,
-			self = this;
-		event.preventDefault();
+	set: function( id, view, options ) {
+		var priority, views, index;

-		this.getFocusableElements();
+		options = options || {};

-		// When in the Media Library and the Media Trash is enabled.
-		if ( wp.media.view.settings.mediaTrash &&
-			'edit-metadata' === this.controller.content.mode() ) {
+		// Accept an object with an `id` : `view` mapping.
+		if ( _.isObject( id ) ) {
+			_.each( id, function( view, id ) {
+				this.set( id, view );
+			}, this );
+			return this;
+		}

-			this.model.set( 'status', 'trash' );
-			this.model.save().done( function() {
-				library._requery( true );
-				/*
-				 * @todo We need to move focus back to the previous, next, or first
-				 * attachment but the library gets re-queried and refreshed.
-				 * Thus, the references to the previous attachments are lost.
-				 * We need an alternate method.
-				 */
-				self.moveFocusToLastFallback();
-			} );
-		} else {
-			this.model.destroy();
-			this.moveFocus();
+		if ( ! (view instanceof Backbone.View) ) {
+			view = this.toView( view, id, options );
 		}
-	},
+		view.controller = view.controller || this.controller;

-	/**
-	 * Untrashes an attachment.
-	 *
-	 * @since 4.0.0
-	 *
-	 * @param {MouseEvent} event A click event.
-	 *
-	 * @return {void}
-	 */
-	untrashAttachment: function( event ) {
-		var library = this.controller.library;
-		event.preventDefault();
+		this.unset( id );

-		this.model.set( 'status', 'inherit' );
-		this.model.save().done( function() {
-			library._requery( true );
-		} );
-	},
+		priority = view.options.priority || 10;
+		views = this.views.get() || [];
+
+		_.find( views, function( existing, i ) {
+			if ( existing.options.priority > priority ) {
+				index = i;
+				return true;
+			}
+		});
+
+		this._views[ id ] = view;
+		this.views.add( view, {
+			at: _.isNumber( index ) ? index : views.length || 0
+		});

+		return this;
+	},
 	/**
-	 * Opens the edit page for a specific attachment.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @param {MouseEvent} event A click event.
-	 *
-	 * @return {void}
+	 * @param {string} id
+	 * @return {wp.media.View}
 	 */
-	editAttachment: function( event ) {
-		var editState = this.controller.states.get( 'edit-image' );
-		if ( window.imageEdit && editState ) {
-			event.preventDefault();
-
-			editState.set( 'image', this.model );
-			this.controller.setState( 'edit-image' );
-		} else {
-			this.$el.addClass('needs-refresh');
-		}
+	get: function( id ) {
+		return this._views[ id ];
 	},
-
 	/**
-	 * Triggers an event on the controller when reverse tabbing (shift+tab).
-	 *
-	 * This event can be used to make sure to move the focus correctly.
-	 *
-	 * @since 4.0.0
-	 *
-	 * @fires wp.media.controller.MediaLibrary#attachment:details:shift-tab
-	 * @fires wp.media.controller.MediaLibrary#attachment:keydown:arrow
-	 *
-	 * @param {KeyboardEvent} event A keyboard event.
-	 *
-	 * @return {boolean|void} Returns false or undefined.
+	 * @param {string} id
+	 * @return {wp.media.view.PriorityList}
 	 */
-	toggleSelectionHandler: function( event ) {
-		if ( 'keydown' === event.type && 9 === event.keyCode && event.shiftKey && event.target === this.$( ':tabbable' ).get( 0 ) ) {
-			this.controller.trigger( 'attachment:details:shift-tab', event );
-			return false;
+	unset: function( id ) {
+		var view = this.get( id );
+
+		if ( view ) {
+			view.remove();
 		}
+
+		delete this._views[ id ];
+		return this;
 	},
+	/**
+	 * @param {Object} options
+	 * @return {wp.media.View}
+	 */
+	toView: function( options ) {
+		return new wp.media.View( options );
+	}
+});

-	render: function() {
-		Attachment.prototype.render.apply( this, arguments );
+module.exports = PriorityList;

-		wp.media.mixin.removeAllPlayers();
-		this.$( 'audio, video' ).each( function (i, elem) {
-			var el = wp.media.view.MediaDetails.prepareSrc( elem );
-			new window.MediaElementPlayer( el, wp.media.mixin.mejsSettings );
-		} );
+
+/***/ }),
+
+/***/ 9484:
+/***/ (function(module) {
+
+/**
+ * wp.media.view.RouterItem
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.view.MenuItem
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var RouterItem = wp.media.view.MenuItem.extend(/** @lends wp.media.view.RouterItem.prototype */{
+	/**
+	 * On click handler to activate the content region's corresponding mode.
+	 */
+	click: function() {
+		var contentMode = this.options.contentMode;
+		if ( contentMode ) {
+			this.controller.content.mode( contentMode );
+		}
 	}
 });

-module.exports = Details;
+module.exports = RouterItem;


 /***/ }),

-/***/ "l2j4":
-/***/ (function(module, exports) {
+/***/ 1562:
+/***/ (function(module) {
+
+var Menu = wp.media.view.Menu,
+	Router;

 /**
- * wp.media.view.Heading
- *
- * A reusable heading component for the media library
+ * wp.media.view.Router
  *
- * Used to add accessibility friendly headers in the media library/modal.
+ * @memberOf wp.media.view
  *
  * @class
+ * @augments wp.media.view.Menu
+ * @augments wp.media.view.PriorityList
  * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-var Heading = wp.media.View.extend( {
-	tagName: function() {
-		return this.options.level || 'h1';
+Router = Menu.extend(/** @lends wp.media.view.Router.prototype */{
+	tagName:   'div',
+	className: 'media-router',
+	property:  'contentMode',
+	ItemView:  wp.media.view.RouterItem,
+	region:    'router',
+
+	attributes: {
+		role:               'tablist',
+		'aria-orientation': 'horizontal'
 	},
-	className: 'media-views-heading',

 	initialize: function() {
-
-		if ( this.options.className ) {
-			this.$el.addClass( this.options.className );
-		}
-
-		this.text = this.options.text;
+		this.controller.on( 'content:render', this.update, this );
+		// Call 'initialize' directly on the parent class.
+		Menu.prototype.initialize.apply( this, arguments );
 	},

-	render: function() {
-		this.$el.html( this.text );
-		return this;
+	update: function() {
+		var mode = this.controller.content.mode();
+		if ( mode ) {
+			this.select( mode );
+		}
 	}
-} );
+});

-module.exports = Heading;
+module.exports = Router;


 /***/ }),

-/***/ "mVaH":
-/***/ (function(module, exports) {
+/***/ 4556:
+/***/ (function(module) {
+
+var Search;

 /**
- * wp.media.controller.MediaLibrary
+ * wp.media.view.Search
  *
- * @memberOf wp.media.controller
+ * @memberOf wp.media.view
  *
  * @class
- * @augments wp.media.controller.Library
- * @augments wp.media.controller.State
- * @augments Backbone.Model
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
  */
-var Library = wp.media.controller.Library,
-	MediaLibrary;
+Search = wp.media.View.extend(/** @lends wp.media.view.Search.prototype */{
+	tagName:   'input',
+	className: 'search',
+	id:        'media-search-input',

-MediaLibrary = Library.extend(/** @lends wp.media.controller.MediaLibrary.prototype */{
-	defaults: _.defaults({
-		// Attachments browser defaults. @see media.view.AttachmentsBrowser
-		filterable:      'uploaded',
+	attributes: {
+		type: 'search'
+	},

-		displaySettings: false,
-		priority:        80,
-		syncSelection:   false
-	}, Library.prototype.defaults ),
+	events: {
+		'input': 'search'
+	},

 	/**
-	 * @since 3.9.0
-	 *
-	 * @param options
+	 * @return {wp.media.view.Search} Returns itself to allow chaining.
 	 */
-	initialize: function( options ) {
-		this.media = options.media;
-		this.type = options.type;
-		this.set( 'library', wp.media.query({ type: this.type }) );
-
-		Library.prototype.initialize.apply( this, arguments );
+	render: function() {
+		this.el.value = this.model.escape('search');
+		return this;
 	},

-	/**
-	 * @since 3.9.0
-	 */
-	activate: function() {
-		// @todo this should use this.frame.
-		if ( wp.media.frame.lastMime ) {
-			this.set( 'library', wp.media.query({ type: wp.media.frame.lastMime }) );
-			delete wp.media.frame.lastMime;
+	search: _.debounce( function( event ) {
+		var searchTerm = event.target.value.trim();
+
+		// Trigger the search only after 2 ASCII characters.
+		if ( searchTerm && searchTerm.length > 1 ) {
+			this.model.set( 'search', searchTerm );
+		} else {
+			this.model.unset( 'search' );
 		}
-		Library.prototype.activate.apply( this, arguments );
-	}
+	}, 500 )
 });

-module.exports = MediaLibrary;
+module.exports = Search;


 /***/ }),

-/***/ "ng6N":
-/***/ (function(module, exports) {
+/***/ 6191:
+/***/ (function(module) {

-var Selection = wp.media.model.Selection,
-	Library = wp.media.controller.Library,
-	l10n = wp.media.view.l10n,
-	GalleryAdd;
+var _n = wp.i18n._n,
+	sprintf = wp.i18n.sprintf,
+	Selection;

 /**
- * wp.media.controller.GalleryAdd
- *
- * A state for selecting more images to add to a gallery.
+ * wp.media.view.Selection
  *
- * @since 3.5.0
+ * @memberOf wp.media.view
  *
  * @class
- * @augments wp.media.controller.Library
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- *
- * @memberof wp.media.controller
- *
- * @param {Object}                     [attributes]                         The attributes hash passed to the state.
- * @param {string}                     [attributes.id=gallery-library]      Unique identifier.
- * @param {string}                     [attributes.title=Add to Gallery]    Title for the state. Displays in the frame's title region.
- * @param {boolean}                    [attributes.multiple=add]            Whether multi-select is enabled. @todo 'add' doesn't seem do anything special, and gets used as a boolean.
- * @param {wp.media.model.Attachments} [attributes.library]                 The attachments collection to browse.
- *                                                                          If one is not supplied, a collection of all images will be created.
- * @param {boolean|string}             [attributes.filterable=uploaded]     Whether the library is filterable, and if so what filters should be shown.
- *                                                                          Accepts 'all', 'uploaded', or 'unattached'.
- * @param {string}                     [attributes.menu=gallery]            Initial mode for the menu region.
- * @param {string}                     [attributes.content=upload]          Initial mode for the content region.
- *                                                                          Overridden by persistent user setting if 'contentUserSetting' is true.
- * @param {string}                     [attributes.router=browse]           Initial mode for the router region.
- * @param {string}                     [attributes.toolbar=gallery-add]     Initial mode for the toolbar region.
- * @param {boolean}                    [attributes.searchable=true]         Whether the library is searchable.
- * @param {boolean}                    [attributes.sortable=true]           Whether the Attachments should be sortable. Depends on the orderby property being set to menuOrder on the attachments collection.
- * @param {boolean}                    [attributes.autoSelect=true]         Whether an uploaded attachment should be automatically added to the selection.
- * @param {boolean}                    [attributes.contentUserSetting=true] Whether the content region's mode should be set and persisted per user.
- * @param {number}                     [attributes.priority=100]            The priority for the state link in the media menu.
- * @param {boolean}                    [attributes.syncSelection=false]     Whether the Attachments selection should be persisted from the last state.
- *                                                                          Defaults to false because for this state, because the library of the Edit Gallery state is the selection.
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
  */
-GalleryAdd = Library.extend(/** @lends wp.media.controller.GalleryAdd.prototype */{
-	defaults: _.defaults({
-		id:            'gallery-library',
-		title:         l10n.addToGalleryTitle,
-		multiple:      'add',
-		filterable:    'uploaded',
-		menu:          'gallery',
-		toolbar:       'gallery-add',
-		priority:      100,
-		syncSelection: false
-	}, Library.prototype.defaults ),
+Selection = wp.media.View.extend(/** @lends wp.media.view.Selection.prototype */{
+	tagName:   'div',
+	className: 'media-selection',
+	template:  wp.template('media-selection'),

-	/**
-	 * Initializes the library. Creates a library of images if a library isn't supplied.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @return {void}
-	 */
-	initialize: function() {
-		if ( ! this.get('library') ) {
-			this.set( 'library', wp.media.query({ type: 'image' }) );
-		}
+	events: {
+		'click .edit-selection':  'edit',
+		'click .clear-selection': 'clear'
+	},
+
+	initialize: function() {
+		_.defaults( this.options, {
+			editable:  false,
+			clearable: true
+		});

-		Library.prototype.initialize.apply( this, arguments );
+		/**
+		 * @member {wp.media.view.Attachments.Selection}
+		 */
+		this.attachments = new wp.media.view.Attachments.Selection({
+			controller: this.controller,
+			collection: this.collection,
+			selection:  this.collection,
+			model:      new Backbone.Model()
+		});
+
+		this.views.set( '.selection-view', this.attachments );
+		this.collection.on( 'add remove reset', this.refresh, this );
+		this.controller.on( 'content:activate', this.refresh, this );
 	},

-	/**
-	 * Activates the library.
-	 *
-	 * Removes all event listeners if in edit mode. Creates a validator to check an attachment.
-	 * Resets library and re-enables event listeners. Activates edit mode. Calls the parent's activate method.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @return {void}
-	 */
-	activate: function() {
-		var library = this.get('library'),
-			edit    = this.frame.state('gallery-edit').get('library');
+	ready: function() {
+		this.refresh();
+	},

-		if ( this.editLibrary && this.editLibrary !== edit ) {
-			library.unobserve( this.editLibrary );
+	refresh: function() {
+		// If the selection hasn't been rendered, bail.
+		if ( ! this.$el.children().length ) {
+			return;
 		}

-		/*
-		 * Accept attachments that exist in the original library but
-		 * that do not exist in gallery's library yet.
-		 */
-		library.validator = function( attachment ) {
-			return !! this.mirroring.get( attachment.cid ) && ! edit.get( attachment.cid ) && Selection.prototype.validator.apply( this, arguments );
-		};
+		var collection = this.collection,
+			editing = 'edit-selection' === this.controller.content.mode();

-		/*
-		 * Reset the library to ensure that all attachments are re-added
-		 * to the collection. Do so silently, as calling `observe` will
-		 * trigger the `reset` event.
-		 */
-		library.reset( library.mirroring.models, { silent: true });
-		library.observe( edit );
-		this.editLibrary = edit;
+		// If nothing is selected, display nothing.
+		this.$el.toggleClass( 'empty', ! collection.length );
+		this.$el.toggleClass( 'one', 1 === collection.length );
+		this.$el.toggleClass( 'editing', editing );

-		Library.prototype.activate.apply( this, arguments );
+		this.$( '.count' ).text(
+			/* translators: %s: Number of selected media attachments. */
+			sprintf( _n( '%s item selected', '%s items selected', collection.length ), collection.length )
+		);
+	},
+
+	edit: function( event ) {
+		event.preventDefault();
+		if ( this.options.editable ) {
+			this.options.editable.call( this, this.collection );
+		}
+	},
+
+	clear: function( event ) {
+		event.preventDefault();
+		this.collection.reset();
+
+		// Move focus to the modal.
+		this.controller.modal.focusManager.focus();
 	}
 });

-module.exports = GalleryAdd;
+module.exports = Selection;


 /***/ }),

-/***/ "nwwF":
-/***/ (function(module, exports) {
+/***/ 859:
+/***/ (function(module) {

 var View = wp.media.View,
 	$ = Backbone.$,
@@ -8964,630 +8918,652 @@ module.exports = Settings;

 /***/ }),

-/***/ "ojD6":
-/***/ (function(module, exports) {
+/***/ 2176:
+/***/ (function(module) {

-var View = wp.media.View,
-	$ = jQuery,
-	Attachments,
-	infiniteScrolling = wp.media.view.settings.infiniteScrolling;
+var Settings = wp.media.view.Settings,
+	AttachmentDisplay;

-Attachments = View.extend(/** @lends wp.media.view.Attachments.prototype */{
-	tagName:   'ul',
-	className: 'attachments',
+/**
+ * wp.media.view.Settings.AttachmentDisplay
+ *
+ * @memberOf wp.media.view.Settings
+ *
+ * @class
+ * @augments wp.media.view.Settings
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+AttachmentDisplay = Settings.extend(/** @lends wp.media.view.Settings.AttachmentDisplay.prototype */{
+	className: 'attachment-display-settings',
+	template:  wp.template('attachment-display-settings'),

-	attributes: {
-		tabIndex: -1
+	initialize: function() {
+		var attachment = this.options.attachment;
+
+		_.defaults( this.options, {
+			userSettings: false
+		});
+		// Call 'initialize' directly on the parent class.
+		Settings.prototype.initialize.apply( this, arguments );
+		this.listenTo( this.model, 'change:link', this.updateLinkTo );
+
+		if ( attachment ) {
+			attachment.on( 'change:uploading', this.render, this );
+		}
 	},

+	dispose: function() {
+		var attachment = this.options.attachment;
+		if ( attachment ) {
+			attachment.off( null, null, this );
+		}
+		/**
+		 * call 'dispose' directly on the parent class
+		 */
+		Settings.prototype.dispose.apply( this, arguments );
+	},
 	/**
-	 * Represents the overview of attachments in the Media Library.
-	 *
-	 * The constructor binds events to the collection this view represents when
-	 * adding or removing attachments or resetting the entire collection.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @constructs
-	 * @memberof wp.media.view
-	 *
-	 * @augments wp.media.View
-	 *
-	 * @listens collection:add
-	 * @listens collection:remove
-	 * @listens collection:reset
-	 * @listens controller:library:selection:add
-	 * @listens scrollElement:scroll
-	 * @listens this:ready
-	 * @listens controller:open
+	 * @return {wp.media.view.AttachmentDisplay} Returns itself to allow chaining.
 	 */
-	initialize: function() {
-		this.el.id = _.uniqueId('__attachments-view-');
-
+	render: function() {
+		var attachment = this.options.attachment;
+		if ( attachment ) {
+			_.extend( this.options, {
+				sizes: attachment.get('sizes'),
+				type:  attachment.get('type')
+			});
+		}
 		/**
-		 * @since 5.8.0 Added the `infiniteScrolling` parameter.
-		 *
-		 * @param infiniteScrolling  Whether to enable infinite scrolling or use
-		 *                           the default "load more" button.
-		 * @param refreshSensitivity The time in milliseconds to throttle the scroll
-		 *                           handler.
-		 * @param refreshThreshold   The amount of pixels that should be scrolled before
-		 *                           loading more attachments from the server.
-		 * @param AttachmentView     The view class to be used for models in the
-		 *                           collection.
-		 * @param sortable           A jQuery sortable options object
-		 *                           ( http://api.jqueryui.com/sortable/ ).
-		 * @param resize             A boolean indicating whether or not to listen to
-		 *                           resize events.
-		 * @param idealColumnWidth   The width in pixels which a column should have when
-		 *                           calculating the total number of columns.
+		 * call 'render' directly on the parent class
 		 */
-		_.defaults( this.options, {
-			infiniteScrolling:  infiniteScrolling || false,
-			refreshSensitivity: wp.media.isTouchDevice ? 300 : 200,
-			refreshThreshold:   3,
-			AttachmentView:     wp.media.view.Attachment,
-			sortable:           false,
-			resize:             true,
-			idealColumnWidth:   $( window ).width() < 640 ? 135 : 150
-		});
+		Settings.prototype.render.call( this );
+		this.updateLinkTo();
+		return this;
+	},
+
+	updateLinkTo: function() {
+		var linkTo = this.model.get('link'),
+			$input = this.$('.link-to-custom'),
+			attachment = this.options.attachment;
+
+		if ( 'none' === linkTo || 'embed' === linkTo || ( ! attachment && 'custom' !== linkTo ) ) {
+			$input.closest( '.setting' ).addClass( 'hidden' );
+			return;
+		}
+
+		if ( attachment ) {
+			if ( 'post' === linkTo ) {
+				$input.val( attachment.get('link') );
+			} else if ( 'file' === linkTo ) {
+				$input.val( attachment.get('url') );
+			} else if ( ! this.model.get('linkUrl') ) {
+				$input.val('http://');
+			}
+
+			$input.prop( 'readonly', 'custom' !== linkTo );
+		}
+
+		$input.closest( '.setting' ).removeClass( 'hidden' );
+		if ( $input.length ) {
+			$input[0].scrollIntoView();
+		}
+	}
+});
+
+module.exports = AttachmentDisplay;
+
+
+/***/ }),
+
+/***/ 6872:
+/***/ (function(module) {
+
+/**
+ * wp.media.view.Settings.Gallery
+ *
+ * @memberOf wp.media.view.Settings
+ *
+ * @class
+ * @augments wp.media.view.Settings
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var Gallery = wp.media.view.Settings.extend(/** @lends wp.media.view.Settings.Gallery.prototype */{
+	className: 'collection-settings gallery-settings',
+	template:  wp.template('gallery-settings')
+});
+
+module.exports = Gallery;
+
+
+/***/ }),
+
+/***/ 8488:
+/***/ (function(module) {
+
+/**
+ * wp.media.view.Settings.Playlist
+ *
+ * @memberOf wp.media.view.Settings
+ *
+ * @class
+ * @augments wp.media.view.Settings
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var Playlist = wp.media.view.Settings.extend(/** @lends wp.media.view.Settings.Playlist.prototype */{
+	className: 'collection-settings playlist-settings',
+	template:  wp.template('playlist-settings')
+});

-		this._viewsByCid = {};
-		this.$window = $( window );
-		this.resizeEvent = 'resize.media-modal-columns';
+module.exports = Playlist;

-		this.collection.on( 'add', function( attachment ) {
-			this.views.add( this.createAttachmentView( attachment ), {
-				at: this.collection.indexOf( attachment )
-			});
-		}, this );

-		/*
-		 * Find the view to be removed, delete it and call the remove function to clear
-		 * any set event handlers.
-		 */
-		this.collection.on( 'remove', function( attachment ) {
-			var view = this._viewsByCid[ attachment.cid ];
-			delete this._viewsByCid[ attachment.cid ];
+/***/ }),

-			if ( view ) {
-				view.remove();
-			}
-		}, this );
+/***/ 9799:
+/***/ (function(module) {

-		this.collection.on( 'reset', this.render, this );
+/**
+ * wp.media.view.Sidebar
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.view.PriorityList
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var Sidebar = wp.media.view.PriorityList.extend(/** @lends wp.media.view.Sidebar.prototype */{
+	className: 'media-sidebar'
+});

-		this.controller.on( 'library:selection:add', this.attachmentFocus, this );
+module.exports = Sidebar;

-		if ( this.options.infiniteScrolling ) {
-			// Throttle the scroll handler and bind this.
-			this.scroll = _.chain( this.scroll ).bind( this ).throttle( this.options.refreshSensitivity ).value();

-			this.options.scrollElement = this.options.scrollElement || this.el;
-			$( this.options.scrollElement ).on( 'scroll', this.scroll );
-		}
+/***/ }),

-		this.initSortable();
+/***/ 5187:
+/***/ (function(module) {

-		_.bindAll( this, 'setColumns' );
+var View = wp.media.view,
+	SiteIconCropper;

-		if ( this.options.resize ) {
-			this.on( 'ready', this.bindEvents );
-			this.controller.on( 'open', this.setColumns );
+/**
+ * wp.media.view.SiteIconCropper
+ *
+ * Uses the imgAreaSelect plugin to allow a user to crop a Site Icon.
+ *
+ * Takes imgAreaSelect options from
+ * wp.customize.SiteIconControl.calculateImageSelectOptions.
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.view.Cropper
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+SiteIconCropper = View.Cropper.extend(/** @lends wp.media.view.SiteIconCropper.prototype */{
+	className: 'crop-content site-icon',

-			/*
-			 * Call this.setColumns() after this view has been rendered in the
-			 * DOM so attachments get proper width applied.
-			 */
-			_.defer( this.setColumns, this );
-		}
-	},
+	ready: function () {
+		View.Cropper.prototype.ready.apply( this, arguments );

-	/**
-	 * Listens to the resizeEvent on the window.
-	 *
-	 * Adjusts the amount of columns accordingly. First removes any existing event
-	 * handlers to prevent duplicate listeners.
-	 *
-	 * @since 4.0.0
-	 *
-	 * @listens window:resize
-	 *
-	 * @return {void}
-	 */
-	bindEvents: function() {
-		this.$window.off( this.resizeEvent ).on( this.resizeEvent, _.debounce( this.setColumns, 50 ) );
+		this.$( '.crop-image' ).on( 'load', _.bind( this.addSidebar, this ) );
 	},

-	/**
-	 * Focuses the first item in the collection.
-	 *
-	 * @since 4.0.0
-	 *
-	 * @return {void}
-	 */
-	attachmentFocus: function() {
-		/*
-		 * @todo When uploading new attachments, this tries to move focus to
-		 * the attachments grid. Actually, a progress bar gets initially displayed
-		 * and then updated when uploading completes, so focus is lost.
-		 * Additionally: this view is used for both the attachments list and
-		 * the list of selected attachments in the bottom media toolbar. Thus, when
-		 * uploading attachments, it is called twice and returns two different `this`.
-		 * `this.columns` is truthy within the modal.
-		 */
-		if ( this.columns ) {
-			// Move focus to the grid list within the modal.
-			this.$el.focus();
-		}
+	addSidebar: function() {
+		this.sidebar = new wp.media.view.Sidebar({
+			controller: this.controller
+		});
+
+		this.sidebar.set( 'preview', new wp.media.view.SiteIconPreview({
+			controller: this.controller,
+			attachment: this.options.attachment
+		}) );
+
+		this.controller.cropperView.views.add( this.sidebar );
+	}
+});
+
+module.exports = SiteIconCropper;
+
+
+/***/ }),
+
+/***/ 8260:
+/***/ (function(module) {
+
+var View = wp.media.View,
+	$ = jQuery,
+	SiteIconPreview;
+
+/**
+ * wp.media.view.SiteIconPreview
+ *
+ * Shows a preview of the Site Icon as a favicon and app icon while cropping.
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+SiteIconPreview = View.extend(/** @lends wp.media.view.SiteIconPreview.prototype */{
+	className: 'site-icon-preview',
+	template: wp.template( 'site-icon-preview' ),
+
+	ready: function() {
+		this.controller.imgSelect.setOptions({
+			onInit: this.updatePreview,
+			onSelectChange: this.updatePreview
+		});
 	},

-	/**
-	 * Restores focus to the selected item in the collection.
-	 *
-	 * Moves focus back to the first selected attachment in the grid. Used when
-	 * tabbing backwards from the attachment details sidebar.
-	 * See media.view.AttachmentsBrowser.
-	 *
-	 * @since 4.0.0
-	 *
-	 * @return {void}
-	 */
-	restoreFocus: function() {
-		this.$( 'li.selected:first' ).focus();
+	prepare: function() {
+		return {
+			url: this.options.attachment.get( 'url' )
+		};
 	},

-	/**
-	 * Handles events for arrow key presses.
-	 *
-	 * Focuses the attachment in the direction of the used arrow key if it exists.
-	 *
-	 * @since 4.0.0
-	 *
-	 * @param {KeyboardEvent} event The keyboard event that triggered this function.
-	 *
-	 * @return {void}
-	 */
-	arrowEvent: function( event ) {
-		var attachments = this.$el.children( 'li' ),
-			perRow = this.columns,
-			index = attachments.filter( ':focus' ).index(),
-			row = ( index + 1 ) <= perRow ? 1 : Math.ceil( ( index + 1 ) / perRow );
+	updatePreview: function( img, coords ) {
+		var rx = 64 / coords.width,
+			ry = 64 / coords.height,
+			preview_rx = 16 / coords.width,
+			preview_ry = 16 / coords.height;

-		if ( index === -1 ) {
-			return;
-		}
+		$( '#preview-app-icon' ).css({
+			width: Math.round(rx * this.imageWidth ) + 'px',
+			height: Math.round(ry * this.imageHeight ) + 'px',
+			marginLeft: '-' + Math.round(rx * coords.x1) + 'px',
+			marginTop: '-' + Math.round(ry * coords.y1) + 'px'
+		});

-		// Left arrow = 37.
-		if ( 37 === event.keyCode ) {
-			if ( 0 === index ) {
-				return;
-			}
-			attachments.eq( index - 1 ).focus();
-		}
+		$( '#preview-favicon' ).css({
+			width: Math.round( preview_rx * this.imageWidth ) + 'px',
+			height: Math.round( preview_ry * this.imageHeight ) + 'px',
+			marginLeft: '-' + Math.round( preview_rx * coords.x1 ) + 'px',
+			marginTop: '-' + Math.floor( preview_ry* coords.y1 ) + 'px'
+		});
+	}
+});

-		// Up arrow = 38.
-		if ( 38 === event.keyCode ) {
-			if ( 1 === row ) {
-				return;
-			}
-			attachments.eq( index - perRow ).focus();
-		}
+module.exports = SiteIconPreview;

-		// Right arrow = 39.
-		if ( 39 === event.keyCode ) {
-			if ( attachments.length === index ) {
-				return;
-			}
-			attachments.eq( index + 1 ).focus();
-		}

-		// Down arrow = 40.
-		if ( 40 === event.keyCode ) {
-			if ( Math.ceil( attachments.length / perRow ) === row ) {
-				return;
-			}
-			attachments.eq( index + perRow ).focus();
-		}
-	},
+/***/ }),
+
+/***/ 2234:
+/***/ (function(module) {
+
+/**
+ * wp.media.view.Spinner
+ *
+ * Represents a spinner in the Media Library.
+ *
+ * @since 3.9.0
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var Spinner = wp.media.View.extend(/** @lends wp.media.view.Spinner.prototype */{
+	tagName:   'span',
+	className: 'spinner',
+	spinnerTimeout: false,
+	delay: 400,

 	/**
-	 * Clears any set event handlers.
+	 * Shows the spinner. Delays the visibility by the configured amount.
 	 *
-	 * @since 3.5.0
+	 * @since 3.9.0
 	 *
-	 * @return {void}
+	 * @return {wp.media.view.Spinner} The spinner.
 	 */
-	dispose: function() {
-		this.collection.props.off( null, null, this );
-		if ( this.options.resize ) {
-			this.$window.off( this.resizeEvent );
+	show: function() {
+		if ( ! this.spinnerTimeout ) {
+			this.spinnerTimeout = _.delay(function( $el ) {
+				$el.addClass( 'is-active' );
+			}, this.delay, this.$el );
 		}

-		// Call 'dispose' directly on the parent class.
-		View.prototype.dispose.apply( this, arguments );
+		return this;
 	},

 	/**
-	 * Calculates the amount of columns.
-	 *
-	 * Calculates the amount of columns and sets it on the data-columns attribute
-	 * of .media-frame-content.
+	 * Hides the spinner.
 	 *
-	 * @since 4.0.0
+	 * @since 3.9.0
 	 *
-	 * @return {void}
+	 * @return {wp.media.view.Spinner} The spinner.
 	 */
-	setColumns: function() {
-		var prev = this.columns,
-			width = this.$el.width();
+	hide: function() {
+		this.$el.removeClass( 'is-active' );
+		this.spinnerTimeout = clearTimeout( this.spinnerTimeout );

-		if ( width ) {
-			this.columns = Math.min( Math.round( width / this.options.idealColumnWidth ), 12 ) || 1;
+		return this;
+	}
+});

-			if ( ! prev || prev !== this.columns ) {
-				this.$el.closest( '.media-frame-content' ).attr( 'data-columns', this.columns );
-			}
-		}
-	},
+module.exports = Spinner;

-	/**
-	 * Initializes jQuery sortable on the attachment list.
-	 *
-	 * Fails gracefully if jQuery sortable doesn't exist or isn't passed
-	 * in the options.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @fires collection:reset
-	 *
-	 * @return {void}
-	 */
-	initSortable: function() {
-		var collection = this.collection;

-		if ( ! this.options.sortable || ! $.fn.sortable ) {
-			return;
-		}
+/***/ }),

-		this.$el.sortable( _.extend({
-			// If the `collection` has a `comparator`, disable sorting.
-			disabled: !! collection.comparator,
+/***/ 9510:
+/***/ (function(module) {

-			/*
-			 * Change the position of the attachment as soon as the mouse pointer
-			 * overlaps a thumbnail.
-			 */
-			tolerance: 'pointer',
+var View = wp.media.View,
+	Toolbar;

-			// Record the initial `index` of the dragged model.
-			start: function( event, ui ) {
-				ui.item.data('sortableIndexStart', ui.item.index());
-			},
+/**
+ * wp.media.view.Toolbar
+ *
+ * A toolbar which consists of a primary and a secondary section. Each sections
+ * can be filled with views.
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+Toolbar = View.extend(/** @lends wp.media.view.Toolbar.prototype */{
+	tagName:   'div',
+	className: 'media-toolbar',

-			/*
-			 * Update the model's index in the collection. Do so silently, as the view
-			 * is already accurate.
-			 */
-			update: function( event, ui ) {
-				var model = collection.at( ui.item.data('sortableIndexStart') ),
-					comparator = collection.comparator;
+	initialize: function() {
+		var state = this.controller.state(),
+			selection = this.selection = state.get('selection'),
+			library = this.library = state.get('library');

-				// Temporarily disable the comparator to prevent `add`
-				// from re-sorting.
-				delete collection.comparator;
+		this._views = {};

-				// Silently shift the model to its new index.
-				collection.remove( model, {
-					silent: true
-				});
-				collection.add( model, {
-					silent: true,
-					at:     ui.item.index()
-				});
+		// The toolbar is composed of two `PriorityList` views.
+		this.primary   = new wp.media.view.PriorityList();
+		this.secondary = new wp.media.view.PriorityList();
+		this.primary.$el.addClass('media-toolbar-primary search-form');
+		this.secondary.$el.addClass('media-toolbar-secondary');

-				// Restore the comparator.
-				collection.comparator = comparator;
+		this.views.set([ this.secondary, this.primary ]);

-				// Fire the `reset` event to ensure other collections sync.
-				collection.trigger( 'reset', collection );
+		if ( this.options.items ) {
+			this.set( this.options.items, { silent: true });
+		}

-				// If the collection is sorted by menu order, update the menu order.
-				collection.saveMenuOrder();
-			}
-		}, this.options.sortable ) );
+		if ( ! this.options.silent ) {
+			this.render();
+		}

-		/*
-		 * If the `orderby` property is changed on the `collection`,
-		 * check to see if we have a `comparator`. If so, disable sorting.
-		 */
-		collection.props.on( 'change:orderby', function() {
-			this.$el.sortable( 'option', 'disabled', !! collection.comparator );
-		}, this );
+		if ( selection ) {
+			selection.on( 'add remove reset', this.refresh, this );
+		}

-		this.collection.props.on( 'change:orderby', this.refreshSortable, this );
-		this.refreshSortable();
+		if ( library ) {
+			library.on( 'add remove reset', this.refresh, this );
+		}
 	},
-
 	/**
-	 * Disables jQuery sortable if collection has a comparator or collection.orderby
-	 * equals menuOrder.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @return {void}
+	 * @return {wp.media.view.Toolbar} Returns itsef to allow chaining
 	 */
-	refreshSortable: function() {
-		if ( ! this.options.sortable || ! $.fn.sortable ) {
-			return;
+	dispose: function() {
+		if ( this.selection ) {
+			this.selection.off( null, null, this );
 		}

-		var collection = this.collection,
-			orderby = collection.props.get('orderby'),
-			enabled = 'menuOrder' === orderby || ! collection.comparator;
+		if ( this.library ) {
+			this.library.off( null, null, this );
+		}
+		/**
+		 * call 'dispose' directly on the parent class
+		 */
+		return View.prototype.dispose.apply( this, arguments );
+	},

-		this.$el.sortable( 'option', 'disabled', ! enabled );
+	ready: function() {
+		this.refresh();
 	},

 	/**
-	 * Creates a new view for an attachment and adds it to _viewsByCid.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @param {wp.media.model.Attachment} attachment
-	 *
-	 * @return {wp.media.View} The created view.
+	 * @param {string} id
+	 * @param {Backbone.View|Object} view
+	 * @param {Object} [options={}]
+	 * @return {wp.media.view.Toolbar} Returns itself to allow chaining.
 	 */
-	createAttachmentView: function( attachment ) {
-		var view = new this.options.AttachmentView({
-			controller:           this.controller,
-			model:                attachment,
-			collection:           this.collection,
-			selection:            this.options.selection
-		});
+	set: function( id, view, options ) {
+		var list;
+		options = options || {};

-		return this._viewsByCid[ attachment.cid ] = view;
-	},
+		// Accept an object with an `id` : `view` mapping.
+		if ( _.isObject( id ) ) {
+			_.each( id, function( view, id ) {
+				this.set( id, view, { silent: true });
+			}, this );

-	/**
-	 * Prepares view for display.
-	 *
-	 * Creates views for every attachment in collection if the collection is not
-	 * empty, otherwise clears all views and loads more attachments.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @return {void}
-	 */
-	prepare: function() {
-		if ( this.collection.length ) {
-			this.views.set( this.collection.map( this.createAttachmentView, this ) );
 		} else {
-			this.views.unset();
-			if ( this.options.infiniteScrolling ) {
-				this.collection.more().done( this.scroll );
+			if ( ! ( view instanceof Backbone.View ) ) {
+				view.classes = [ 'media-button-' + id ].concat( view.classes || [] );
+				view = new wp.media.view.Button( view ).render();
 			}
+
+			view.controller = view.controller || this.controller;
+
+			this._views[ id ] = view;
+
+			list = view.options.priority < 0 ? 'secondary' : 'primary';
+			this[ list ].set( id, view, options );
+		}
+
+		if ( ! options.silent ) {
+			this.refresh();
 		}
-	},

+		return this;
+	},
 	/**
-	 * Triggers the scroll function to check if we should query for additional
-	 * attachments right away.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @return {void}
+	 * @param {string} id
+	 * @return {wp.media.view.Button}
 	 */
-	ready: function() {
-		if ( this.options.infiniteScrolling ) {
-			this.scroll();
-		}
+	get: function( id ) {
+		return this._views[ id ];
 	},
-
 	/**
-	 * Handles scroll events.
-	 *
-	 * Shows the spinner if we're close to the bottom. Loads more attachments from
-	 * server if we're {refreshThreshold} times away from the bottom.
-	 *
-	 * @since 3.5.0
-	 *
-	 * @return {void}
+	 * @param {string} id
+	 * @param {Object} options
+	 * @return {wp.media.view.Toolbar} Returns itself to allow chaining.
 	 */
-	scroll: function() {
-		var view = this,
-			el = this.options.scrollElement,
-			scrollTop = el.scrollTop,
-			toolbar;
+	unset: function( id, options ) {
+		delete this._views[ id ];
+		this.primary.unset( id, options );
+		this.secondary.unset( id, options );

-		/*
-		 * The scroll event occurs on the document, but the element that should be
-		 * checked is the document body.
-		 */
-		if ( el === document ) {
-			el = document.body;
-			scrollTop = $(document).scrollTop();
+		if ( ! options || ! options.silent ) {
+			this.refresh();
 		}
+		return this;
+	},

-		if ( ! $(el).is(':visible') || ! this.collection.hasMore() ) {
-			return;
-		}
+	refresh: function() {
+		var state = this.controller.state(),
+			library = state.get('library'),
+			selection = state.get('selection');

-		toolbar = this.views.parent.toolbar;
+		_.each( this._views, function( button ) {
+			if ( ! button.model || ! button.options || ! button.options.requires ) {
+				return;
+			}

-		// Show the spinner only if we are close to the bottom.
-		if ( el.scrollHeight - ( scrollTop + el.clientHeight ) < el.clientHeight / 3 ) {
-			toolbar.get('spinner').show();
-		}
+			var requires = button.options.requires,
+				disabled = false;

-		if ( el.scrollHeight < scrollTop + ( el.clientHeight * this.options.refreshThreshold ) ) {
-			this.collection.more().done(function() {
-				view.scroll();
-				toolbar.get('spinner').hide();
-			});
-		}
+			// Prevent insertion of attachments if any of them are still uploading.
+			if ( selection && selection.models ) {
+				disabled = _.some( selection.models, function( attachment ) {
+					return attachment.get('uploading') === true;
+				});
+			}
+
+			if ( requires.selection && selection && ! selection.length ) {
+				disabled = true;
+			} else if ( requires.library && library && ! library.length ) {
+				disabled = true;
+			}
+			button.model.set( 'disabled', disabled );
+		});
 	}
 });

-module.exports = Attachments;
+module.exports = Toolbar;


 /***/ }),

-/***/ "qe5n":
-/***/ (function(module, exports) {
+/***/ 7128:
+/***/ (function(module) {

-var l10n = wp.media.view.l10n,
-	$ = Backbone.$,
+var Select = wp.media.view.Toolbar.Select,
+	l10n = wp.media.view.l10n,
 	Embed;

 /**
- * wp.media.controller.Embed
- *
- * A state for embedding media from a URL.
+ * wp.media.view.Toolbar.Embed
  *
- * @memberOf wp.media.controller
+ * @memberOf wp.media.view.Toolbar
  *
  * @class
- * @augments wp.media.controller.State
- * @augments Backbone.Model
- *
- * @param {object} attributes                         The attributes hash passed to the state.
- * @param {string} [attributes.id=embed]              Unique identifier.
- * @param {string} [attributes.title=Insert From URL] Title for the state. Displays in the media menu and the frame's title region.
- * @param {string} [attributes.content=embed]         Initial mode for the content region.
- * @param {string} [attributes.menu=default]          Initial mode for the menu region.
- * @param {string} [attributes.toolbar=main-embed]    Initial mode for the toolbar region.
- * @param {string} [attributes.menu=false]            Initial mode for the menu region.
- * @param {int}    [attributes.priority=120]          The priority for the state link in the media menu.
- * @param {string} [attributes.type=link]             The type of embed. Currently only link is supported.
- * @param {string} [attributes.url]                   The embed URL.
- * @param {object} [attributes.metadata={}]           Properties of the embed, which will override attributes.url if set.
+ * @augments wp.media.view.Toolbar.Select
+ * @augments wp.media.view.Toolbar
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
  */
-Embed = wp.media.controller.State.extend(/** @lends wp.media.controller.Embed.prototype */{
-	defaults: {
-		id:       'embed',
-		title:    l10n.insertFromUrlTitle,
-		content:  'embed',
-		menu:     'default',
-		toolbar:  'main-embed',
-		priority: 120,
-		type:     'link',
-		url:      '',
-		metadata: {}
+Embed = Select.extend(/** @lends wp.media.view.Toolbar.Embed.prototype */{
+	initialize: function() {
+		_.defaults( this.options, {
+			text: l10n.insertIntoPost,
+			requires: false
+		});
+		// Call 'initialize' directly on the parent class.
+		Select.prototype.initialize.apply( this, arguments );
 	},

-	// The amount of time used when debouncing the scan.
-	sensitivity: 400,
-
-	initialize: function(options) {
-		this.metadata = options.metadata;
-		this.debouncedScan = _.debounce( _.bind( this.scan, this ), this.sensitivity );
-		this.props = new Backbone.Model( this.metadata || { url: '' });
-		this.props.on( 'change:url', this.debouncedScan, this );
-		this.props.on( 'change:url', this.refresh, this );
-		this.on( 'scan', this.scanImage, this );
-	},
+	refresh: function() {
+		var url = this.controller.state().props.get('url');
+		this.get('select').model.set( 'disabled', ! url || url === 'http://' );
+		/**
+		 * call 'refresh' directly on the parent class
+		 */
+		Select.prototype.refresh.apply( this, arguments );
+	}
+});

-	/**
-	 * Trigger a scan of the embedded URL's content for metadata required to embed.
-	 *
-	 * @fires wp.media.controller.Embed#scan
-	 */
-	scan: function() {
-		var scanners,
-			embed = this,
-			attributes = {
-				type: 'link',
-				scanners: []
-			};
+module.exports = Embed;

-		/*
-		 * Scan is triggered with the list of `attributes` to set on the
-		 * state, useful for the 'type' attribute and 'scanners' attribute,
-		 * an array of promise objects for asynchronous scan operations.
-		 */
-		if ( this.props.get('url') ) {
-			this.trigger( 'scan', attributes );
-		}

-		if ( attributes.scanners.length ) {
-			scanners = attributes.scanners = $.when.apply( $, attributes.scanners );
-			scanners.always( function() {
-				if ( embed.get('scanners') === scanners ) {
-					embed.set( 'loading', false );
-				}
-			});
-		} else {
-			attributes.scanners = null;
-		}
+/***/ }),

-		attributes.loading = !! attributes.scanners;
-		this.set( attributes );
-	},
-	/**
-	 * Try scanning the embed as an image to discover its dimensions.
-	 *
-	 * @param {Object} attributes
-	 */
-	scanImage: function( attributes ) {
-		var frame = this.frame,
-			state = this,
-			url = this.props.get('url'),
-			image = new Image(),
-			deferred = $.Deferred();
+/***/ 6850:
+/***/ (function(module) {

-		attributes.scanners.push( deferred.promise() );
+var Toolbar = wp.media.view.Toolbar,
+	l10n = wp.media.view.l10n,
+	Select;

-		// Try to load the image and find its width/height.
-		image.onload = function() {
-			deferred.resolve();
+/**
+ * wp.media.view.Toolbar.Select
+ *
+ * @memberOf wp.media.view.Toolbar
+ *
+ * @class
+ * @augments wp.media.view.Toolbar
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+Select = Toolbar.extend(/** @lends wp.media.view.Toolbar.Select.prototype */{
+	initialize: function() {
+		var options = this.options;

-			if ( state !== frame.state() || url !== state.props.get('url') ) {
-				return;
-			}
+		_.bindAll( this, 'clickSelect' );

-			state.set({
-				type: 'image'
-			});
+		_.defaults( options, {
+			event: 'select',
+			state: false,
+			reset: true,
+			close: true,
+			text:  l10n.select,

-			state.props.set({
-				width:  image.width,
-				height: image.height
-			});
-		};
+			// Does the button rely on the selection?
+			requires: {
+				selection: true
+			}
+		});

-		image.onerror = deferred.reject;
-		image.src = url;
+		options.items = _.defaults( options.items || {}, {
+			select: {
+				style:    'primary',
+				text:     options.text,
+				priority: 80,
+				click:    this.clickSelect,
+				requires: options.requires
+			}
+		});
+		// Call 'initialize' directly on the parent class.
+		Toolbar.prototype.initialize.apply( this, arguments );
 	},

-	refresh: function() {
-		this.frame.toolbar.get().refresh();
-	},
+	clickSelect: function() {
+		var options = this.options,
+			controller = this.controller;

-	reset: function() {
-		this.props.clear().set({ url: '' });
+		if ( options.close ) {
+			controller.close();
+		}

-		if ( this.active ) {
-			this.refresh();
+		if ( options.event ) {
+			controller.state().trigger( options.event );
+		}
+
+		if ( options.state ) {
+			controller.setState( options.state );
+		}
+
+		if ( options.reset ) {
+			controller.reset();
 		}
 	}
 });

-module.exports = Embed;
+module.exports = Select;


 /***/ }),

-/***/ "sULL":
-/***/ (function(module, exports) {
+/***/ 841:
+/***/ (function(module) {

 var View = wp.media.View,
+	l10n = wp.media.view.l10n,
 	$ = jQuery,
-	Attachment;
+	EditorUploader;

 /**
- * wp.media.view.Attachment
+ * Creates a dropzone on WP editor instances (elements with .wp-editor-wrap)
+ * and relays drag'n'dropped files to a media workflow.
+ *
+ * wp.media.view.EditorUploader
  *
  * @memberOf wp.media.view
  *
@@ -9596,620 +9572,765 @@ var View = wp.media.View,
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-Attachment = View.extend(/** @lends wp.media.view.Attachment.prototype */{
-	tagName:   'li',
-	className: 'attachment',
-	template:  wp.template('attachment'),
+EditorUploader = View.extend(/** @lends wp.media.view.EditorUploader.prototype */{
+	tagName:   'div',
+	className: 'uploader-editor',
+	template:  wp.template( 'uploader-editor' ),

-	attributes: function() {
-		return {
-			'tabIndex':     0,
-			'role':         'checkbox',
-			'aria-label':   this.model.get( 'title' ),
-			'aria-checked': false,
-			'data-id':      this.model.get( 'id' )
-		};
-	},
+	localDrag: false,
+	overContainer: false,
+	overDropzone: false,
+	draggingFile: null,

-	events: {
-		'click':                          'toggleSelectionHandler',
-		'change [data-setting]':          'updateSetting',
-		'change [data-setting] input':    'updateSetting',
-		'change [data-setting] select':   'updateSetting',
-		'change [data-setting] textarea': 'updateSetting',
-		'click .attachment-close':        'removeFromLibrary',
-		'click .check':                   'checkClickHandler',
-		'keydown':                        'toggleSelectionHandler'
+	/**
+	 * Bind drag'n'drop events to callbacks.
+	 */
+	initialize: function() {
+		this.initialized = false;
+
+		// Bail if not enabled or UA does not support drag'n'drop or File API.
+		if ( ! window.tinyMCEPreInit || ! window.tinyMCEPreInit.dragDropUpload || ! this.browserSupport() ) {
+			return this;
+		}
+
+		this.$document = $(document);
+		this.dropzones = [];
+		this.files = [];
+
+		this.$document.on( 'drop', '.uploader-editor', _.bind( this.drop, this ) );
+		this.$document.on( 'dragover', '.uploader-editor', _.bind( this.dropzoneDragover, this ) );
+		this.$document.on( 'dragleave', '.uploader-editor', _.bind( this.dropzoneDragleave, this ) );
+		this.$document.on( 'click', '.uploader-editor', _.bind( this.click, this ) );
+
+		this.$document.on( 'dragover', _.bind( this.containerDragover, this ) );
+		this.$document.on( 'dragleave', _.bind( this.containerDragleave, this ) );
+
+		this.$document.on( 'dragstart dragend drop', _.bind( function( event ) {
+			this.localDrag = event.type === 'dragstart';
+
+			if ( event.type === 'drop' ) {
+				this.containerDragleave();
+			}
+		}, this ) );
+
+		this.initialized = true;
+		return this;
 	},

-	buttons: {},
+	/**
+	 * Check browser support for drag'n'drop.
+	 *
+	 * @return {boolean}
+	 */
+	browserSupport: function() {
+		var supports = false, div = document.createElement('div');

-	initialize: function() {
-		var selection = this.options.selection,
-			options = _.defaults( this.options, {
-				rerenderOnModelChange: true
-			} );
+		supports = ( 'draggable' in div ) || ( 'ondragstart' in div && 'ondrop' in div );
+		supports = supports && !! ( window.File && window.FileList && window.FileReader );
+		return supports;
+	},

-		if ( options.rerenderOnModelChange ) {
-			this.listenTo( this.model, 'change', this.render );
-		} else {
-			this.listenTo( this.model, 'change:percent', this.progress );
+	isDraggingFile: function( event ) {
+		if ( this.draggingFile !== null ) {
+			return this.draggingFile;
 		}
-		this.listenTo( this.model, 'change:title', this._syncTitle );
-		this.listenTo( this.model, 'change:caption', this._syncCaption );
-		this.listenTo( this.model, 'change:artist', this._syncArtist );
-		this.listenTo( this.model, 'change:album', this._syncAlbum );

-		// Update the selection.
-		this.listenTo( this.model, 'add', this.select );
-		this.listenTo( this.model, 'remove', this.deselect );
-		if ( selection ) {
-			selection.on( 'reset', this.updateSelect, this );
-			// Update the model's details view.
-			this.listenTo( this.model, 'selection:single selection:unsingle', this.details );
-			this.details( this.model, this.controller.state().get('selection') );
+		if ( _.isUndefined( event.originalEvent ) || _.isUndefined( event.originalEvent.dataTransfer ) ) {
+			return false;
 		}

-		this.listenTo( this.controller.states, 'attachment:compat:waiting attachment:compat:ready', this.updateSave );
+		this.draggingFile = _.indexOf( event.originalEvent.dataTransfer.types, 'Files' ) > -1 &&
+			_.indexOf( event.originalEvent.dataTransfer.types, 'text/plain' ) === -1;
+
+		return this.draggingFile;
 	},
-	/**
-	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
-	 */
-	dispose: function() {
-		var selection = this.options.selection;

-		// Make sure all settings are saved before removing the view.
-		this.updateAll();
+	refresh: function( e ) {
+		var dropzone_id;
+		for ( dropzone_id in this.dropzones ) {
+			// Hide the dropzones only if dragging has left the screen.
+			this.dropzones[ dropzone_id ].toggle( this.overContainer || this.overDropzone );
+		}

-		if ( selection ) {
-			selection.off( null, null, this );
+		if ( ! _.isUndefined( e ) ) {
+			$( e.target ).closest( '.uploader-editor' ).toggleClass( 'droppable', this.overDropzone );
 		}
-		/**
-		 * call 'dispose' directly on the parent class
-		 */
-		View.prototype.dispose.apply( this, arguments );
+
+		if ( ! this.overContainer && ! this.overDropzone ) {
+			this.draggingFile = null;
+		}
+
+		return this;
+	},
+
+	render: function() {
+		if ( ! this.initialized ) {
+			return this;
+		}
+
+		View.prototype.render.apply( this, arguments );
+		$( '.wp-editor-wrap' ).each( _.bind( this.attach, this ) );
+		return this;
+	},
+
+	attach: function( index, editor ) {
+		// Attach a dropzone to an editor.
+		var dropzone = this.$el.clone();
+		this.dropzones.push( dropzone );
+		$( editor ).append( dropzone );
 		return this;
 	},
+
 	/**
-	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
+	 * When a file is dropped on the editor uploader, open up an editor media workflow
+	 * and upload the file immediately.
+	 *
+	 * @param {jQuery.Event} event The 'drop' event.
 	 */
-	render: function() {
-		var options = _.defaults( this.model.toJSON(), {
-				orientation:   'landscape',
-				uploading:     false,
-				type:          '',
-				subtype:       '',
-				icon:          '',
-				filename:      '',
-				caption:       '',
-				title:         '',
-				dateFormatted: '',
-				width:         '',
-				height:        '',
-				compat:        false,
-				alt:           '',
-				description:   ''
-			}, this.options );
+	drop: function( event ) {
+		var $wrap, uploadView;

-		options.buttons  = this.buttons;
-		options.describe = this.controller.state().get('describe');
+		this.containerDragleave( event );
+		this.dropzoneDragleave( event );

-		if ( 'image' === options.type ) {
-			options.size = this.imageSize();
+		this.files = event.originalEvent.dataTransfer.files;
+		if ( this.files.length < 1 ) {
+			return;
+		}
+
+		// Set the active editor to the drop target.
+		$wrap = $( event.target ).parents( '.wp-editor-wrap' );
+		if ( $wrap.length > 0 && $wrap[0].id ) {
+			window.wpActiveEditor = $wrap[0].id.slice( 3, -5 );
+		}
+
+		if ( ! this.workflow ) {
+			this.workflow = wp.media.editor.open( window.wpActiveEditor, {
+				frame:    'post',
+				state:    'insert',
+				title:    l10n.addMedia,
+				multiple: true
+			});
+
+			uploadView = this.workflow.uploader;
+
+			if ( uploadView.uploader && uploadView.uploader.ready ) {
+				this.addFiles.apply( this );
+			} else {
+				this.workflow.on( 'uploader:ready', this.addFiles, this );
+			}
+		} else {
+			this.workflow.state().reset();
+			this.addFiles.apply( this );
+			this.workflow.open();
+		}
+
+		return false;
+	},
+
+	/**
+	 * Add the files to the uploader.
+	 */
+	addFiles: function() {
+		if ( this.files.length ) {
+			this.workflow.uploader.uploader.uploader.addFile( _.toArray( this.files ) );
+			this.files = [];
 		}
+		return this;
+	},

-		options.can = {};
-		if ( options.nonces ) {
-			options.can.remove = !! options.nonces['delete'];
-			options.can.save = !! options.nonces.update;
+	containerDragover: function( event ) {
+		if ( this.localDrag || ! this.isDraggingFile( event ) ) {
+			return;
 		}

-		if ( this.controller.state().get('allowLocalEdits') ) {
-			options.allowLocalEdits = true;
-		}
+		this.overContainer = true;
+		this.refresh();
+	},

-		if ( options.uploading && ! options.percent ) {
-			options.percent = 0;
+	containerDragleave: function() {
+		this.overContainer = false;
+
+		// Throttle dragleave because it's called when bouncing from some elements to others.
+		_.delay( _.bind( this.refresh, this ), 50 );
+	},
+
+	dropzoneDragover: function( event ) {
+		if ( this.localDrag || ! this.isDraggingFile( event ) ) {
+			return;
 		}

-		this.views.detach();
-		this.$el.html( this.template( options ) );
+		this.overDropzone = true;
+		this.refresh( event );
+		return false;
+	},

-		this.$el.toggleClass( 'uploading', options.uploading );
+	dropzoneDragleave: function( e ) {
+		this.overDropzone = false;
+		_.delay( _.bind( this.refresh, this, e ), 50 );
+	},

-		if ( options.uploading ) {
-			this.$bar = this.$('.media-progress-bar div');
-		} else {
-			delete this.$bar;
-		}
+	click: function( e ) {
+		// In the rare case where the dropzone gets stuck, hide it on click.
+		this.containerDragleave( e );
+		this.dropzoneDragleave( e );
+		this.localDrag = false;
+	}
+});

-		// Check if the model is selected.
-		this.updateSelect();
+module.exports = EditorUploader;

-		// Update the save status.
-		this.updateSave();

-		this.views.render();
+/***/ }),

-		return this;
-	},
+/***/ 6353:
+/***/ (function(module) {

-	progress: function() {
-		if ( this.$bar && this.$bar.length ) {
-			this.$bar.width( this.model.get('percent') + '%' );
-		}
+var View = wp.media.View,
+	UploaderInline;
+
+/**
+ * wp.media.view.UploaderInline
+ *
+ * The inline uploader that shows up in the 'Upload Files' tab.
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+UploaderInline = View.extend(/** @lends wp.media.view.UploaderInline.prototype */{
+	tagName:   'div',
+	className: 'uploader-inline',
+	template:  wp.template('uploader-inline'),
+
+	events: {
+		'click .close': 'hide'
 	},

-	/**
-	 * @param {Object} event
-	 */
-	toggleSelectionHandler: function( event ) {
-		var method;
+	initialize: function() {
+		_.defaults( this.options, {
+			message: '',
+			status:  true,
+			canClose: false
+		});

-		// Don't do anything inside inputs and on the attachment check and remove buttons.
-		if ( 'INPUT' === event.target.nodeName || 'BUTTON' === event.target.nodeName ) {
-			return;
+		if ( ! this.options.$browser && this.controller.uploader ) {
+			this.options.$browser = this.controller.uploader.$browser;
 		}

-		// Catch arrow events.
-		if ( 37 === event.keyCode || 38 === event.keyCode || 39 === event.keyCode || 40 === event.keyCode ) {
-			this.controller.trigger( 'attachment:keydown:arrow', event );
-			return;
+		if ( _.isUndefined( this.options.postId ) ) {
+			this.options.postId = wp.media.view.settings.post.id;
 		}

-		// Catch enter and space events.
-		if ( 'keydown' === event.type && 13 !== event.keyCode && 32 !== event.keyCode ) {
-			return;
+		if ( this.options.status ) {
+			this.views.set( '.upload-inline-status', new wp.media.view.UploaderStatus({
+				controller: this.controller
+			}) );
 		}
+	},

-		event.preventDefault();
+	prepare: function() {
+		var suggestedWidth = this.controller.state().get('suggestedWidth'),
+			suggestedHeight = this.controller.state().get('suggestedHeight'),
+			data = {};

-		// In the grid view, bubble up an edit:attachment event to the controller.
-		if ( this.controller.isModeActive( 'grid' ) ) {
-			if ( this.controller.isModeActive( 'edit' ) ) {
-				// Pass the current target to restore focus when closing.
-				this.controller.trigger( 'edit:attachment', this.model, event.currentTarget );
-				return;
-			}
+		data.message = this.options.message;
+		data.canClose = this.options.canClose;

-			if ( this.controller.isModeActive( 'select' ) ) {
-				method = 'toggle';
-			}
+		if ( suggestedWidth && suggestedHeight ) {
+			data.suggestedWidth = suggestedWidth;
+			data.suggestedHeight = suggestedHeight;
 		}

-		if ( event.shiftKey ) {
-			method = 'between';
-		} else if ( event.ctrlKey || event.metaKey ) {
-			method = 'toggle';
+		return data;
+	},
+	/**
+	 * @return {wp.media.view.UploaderInline} Returns itself to allow chaining.
+	 */
+	dispose: function() {
+		if ( this.disposing ) {
+			/**
+			 * call 'dispose' directly on the parent class
+			 */
+			return View.prototype.dispose.apply( this, arguments );
 		}

-		this.toggleSelection({
-			method: method
-		});
-
-		this.controller.trigger( 'selection:toggle' );
+		/*
+		 * Run remove on `dispose`, so we can be sure to refresh the
+		 * uploader with a view-less DOM. Track whether we're disposing
+		 * so we don't trigger an infinite loop.
+		 */
+		this.disposing = true;
+		return this.remove();
 	},
 	/**
-	 * @param {Object} options
+	 * @return {wp.media.view.UploaderInline} Returns itself to allow chaining.
 	 */
-	toggleSelection: function( options ) {
-		var collection = this.collection,
-			selection = this.options.selection,
-			model = this.model,
-			method = options && options.method,
-			single, models, singleIndex, modelIndex;
+	remove: function() {
+		/**
+		 * call 'remove' directly on the parent class
+		 */
+		var result = View.prototype.remove.apply( this, arguments );

-		if ( ! selection ) {
-			return;
+		_.defer( _.bind( this.refresh, this ) );
+		return result;
+	},
+
+	refresh: function() {
+		var uploader = this.controller.uploader;
+
+		if ( uploader ) {
+			uploader.refresh();
 		}
+	},
+	/**
+	 * @return {wp.media.view.UploaderInline}
+	 */
+	ready: function() {
+		var $browser = this.options.$browser,
+			$placeholder;

-		single = selection.single();
-		method = _.isUndefined( method ) ? selection.multiple : method;
+		if ( this.controller.uploader ) {
+			$placeholder = this.$('.browser');

-		// If the `method` is set to `between`, select all models that
-		// exist between the current and the selected model.
-		if ( 'between' === method && single && selection.multiple ) {
-			// If the models are the same, short-circuit.
-			if ( single === model ) {
+			// Check if we've already replaced the placeholder.
+			if ( $placeholder[0] === $browser[0] ) {
 				return;
 			}

-			singleIndex = collection.indexOf( single );
-			modelIndex  = collection.indexOf( this.model );
+			$browser.detach().text( $placeholder.text() );
+			$browser[0].className = $placeholder[0].className;
+			$browser[0].setAttribute( 'aria-labelledby', $browser[0].id + ' ' + $placeholder[0].getAttribute('aria-labelledby') );
+			$placeholder.replaceWith( $browser.show() );
+		}
+
+		this.refresh();
+		return this;
+	},
+	show: function() {
+		this.$el.removeClass( 'hidden' );
+		if ( this.controller.$uploaderToggler && this.controller.$uploaderToggler.length ) {
+			this.controller.$uploaderToggler.attr( 'aria-expanded', 'true' );
+		}
+	},
+	hide: function() {
+		this.$el.addClass( 'hidden' );
+		if ( this.controller.$uploaderToggler && this.controller.$uploaderToggler.length ) {
+			this.controller.$uploaderToggler
+				.attr( 'aria-expanded', 'false' )
+				// Move focus back to the toggle button when closing the uploader.
+				.trigger( 'focus' );
+		}
+	}
+
+});
+
+module.exports = UploaderInline;
+
+
+/***/ }),
+
+/***/ 9411:
+/***/ (function(module) {
+
+/**
+ * wp.media.view.UploaderStatusError
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+var UploaderStatusError = wp.media.View.extend(/** @lends wp.media.view.UploaderStatusError.prototype */{
+	className: 'upload-error',
+	template:  wp.template('uploader-status-error')
+});
+
+module.exports = UploaderStatusError;

-			if ( singleIndex < modelIndex ) {
-				models = collection.models.slice( singleIndex, modelIndex + 1 );
-			} else {
-				models = collection.models.slice( modelIndex, singleIndex + 1 );
-			}

-			selection.add( models );
-			selection.single( model );
-			return;
+/***/ }),

-		// If the `method` is set to `toggle`, just flip the selection
-		// status, regardless of whether the model is the single model.
-		} else if ( 'toggle' === method ) {
-			selection[ this.selected() ? 'remove' : 'add' ]( model );
-			selection.single( model );
-			return;
-		} else if ( 'add' === method ) {
-			selection.add( model );
-			selection.single( model );
-			return;
-		}
+/***/ 2894:
+/***/ (function(module) {

-		// Fixes bug that loses focus when selecting a featured image.
-		if ( ! method ) {
-			method = 'add';
-		}
+var View = wp.media.View,
+	UploaderStatus;

-		if ( method !== 'add' ) {
-			method = 'reset';
-		}
+/**
+ * wp.media.view.UploaderStatus
+ *
+ * An uploader status for on-going uploads.
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ */
+UploaderStatus = View.extend(/** @lends wp.media.view.UploaderStatus.prototype */{
+	className: 'media-uploader-status',
+	template:  wp.template('uploader-status'),

-		if ( this.selected() ) {
-			/*
-			 * If the model is the single model, remove it.
-			 * If it is not the same as the single model,
-			 * it now becomes the single model.
-			 */
-			selection[ single === model ? 'remove' : 'single' ]( model );
-		} else {
-			/*
-			 * If the model is not selected, run the `method` on the
-			 * selection. By default, we `reset` the selection, but the
-			 * `method` can be set to `add` the model to the selection.
-			 */
-			selection[ method ]( model );
-			selection.single( model );
-		}
+	events: {
+		'click .upload-dismiss-errors': 'dismiss'
 	},

-	updateSelect: function() {
-		this[ this.selected() ? 'select' : 'deselect' ]();
+	initialize: function() {
+		this.queue = wp.Uploader.queue;
+		this.queue.on( 'add remove reset', this.visibility, this );
+		this.queue.on( 'add remove reset change:percent', this.progress, this );
+		this.queue.on( 'add remove reset change:uploading', this.info, this );
+
+		this.errors = wp.Uploader.errors;
+		this.errors.reset();
+		this.errors.on( 'add remove reset', this.visibility, this );
+		this.errors.on( 'add', this.error, this );
 	},
 	/**
-	 * @return {unresolved|boolean}
+	 * @return {wp.media.view.UploaderStatus}
 	 */
-	selected: function() {
-		var selection = this.options.selection;
-		if ( selection ) {
-			return !! selection.get( this.model.cid );
-		}
+	dispose: function() {
+		wp.Uploader.queue.off( null, null, this );
+		/**
+		 * call 'dispose' directly on the parent class
+		 */
+		View.prototype.dispose.apply( this, arguments );
+		return this;
 	},
-	/**
-	 * @param {Backbone.Model} model
-	 * @param {Backbone.Collection} collection
-	 */
-	select: function( model, collection ) {
-		var selection = this.options.selection,
-			controller = this.controller;

-		/*
-		 * Check if a selection exists and if it's the collection provided.
-		 * If they're not the same collection, bail; we're in another
-		 * selection's event loop.
-		 */
-		if ( ! selection || ( collection && collection !== selection ) ) {
-			return;
-		}
+	visibility: function() {
+		this.$el.toggleClass( 'uploading', !! this.queue.length );
+		this.$el.toggleClass( 'errors', !! this.errors.length );
+		this.$el.toggle( !! this.queue.length || !! this.errors.length );
+	},

-		// Bail if the model is already selected.
-		if ( this.$el.hasClass( 'selected' ) ) {
-			return;
-		}
+	ready: function() {
+		_.each({
+			'$bar':      '.media-progress-bar div',
+			'$index':    '.upload-index',
+			'$total':    '.upload-total',
+			'$filename': '.upload-filename'
+		}, function( selector, key ) {
+			this[ key ] = this.$( selector );
+		}, this );

-		// Add 'selected' class to model, set aria-checked to true.
-		this.$el.addClass( 'selected' ).attr( 'aria-checked', true );
-		//  Make the checkbox tabable, except in media grid (bulk select mode).
-		if ( ! ( controller.isModeActive( 'grid' ) && controller.isModeActive( 'select' ) ) ) {
-			this.$( '.check' ).attr( 'tabindex', '0' );
-		}
+		this.visibility();
+		this.progress();
+		this.info();
 	},
-	/**
-	 * @param {Backbone.Model} model
-	 * @param {Backbone.Collection} collection
-	 */
-	deselect: function( model, collection ) {
-		var selection = this.options.selection;

-		/*
-		 * Check if a selection exists and if it's the collection provided.
-		 * If they're not the same collection, bail; we're in another
-		 * selection's event loop.
-		 */
-		if ( ! selection || ( collection && collection !== selection ) ) {
+	progress: function() {
+		var queue = this.queue,
+			$bar = this.$bar;
+
+		if ( ! $bar || ! queue.length ) {
 			return;
 		}
-		this.$el.removeClass( 'selected' ).attr( 'aria-checked', false )
-			.find( '.check' ).attr( 'tabindex', '-1' );
+
+		$bar.width( ( queue.reduce( function( memo, attachment ) {
+			if ( ! attachment.get('uploading') ) {
+				return memo + 100;
+			}
+
+			var percent = attachment.get('percent');
+			return memo + ( _.isNumber( percent ) ? percent : 100 );
+		}, 0 ) / queue.length ) + '%' );
 	},
-	/**
-	 * @param {Backbone.Model} model
-	 * @param {Backbone.Collection} collection
-	 */
-	details: function( model, collection ) {
-		var selection = this.options.selection,
-			details;

-		if ( selection !== collection ) {
+	info: function() {
+		var queue = this.queue,
+			index = 0, active;
+
+		if ( ! queue.length ) {
 			return;
 		}

-		details = selection.single();
-		this.$el.toggleClass( 'details', details === this.model );
+		active = this.queue.find( function( attachment, i ) {
+			index = i;
+			return attachment.get('uploading');
+		});
+
+		if ( this.$index && this.$total && this.$filename ) {
+			this.$index.text( index + 1 );
+			this.$total.text( queue.length );
+			this.$filename.html( active ? this.filename( active.get('filename') ) : '' );
+		}
 	},
 	/**
-	 * @param {string} size
-	 * @return {Object}
+	 * @param {string} filename
+	 * @return {string}
 	 */
-	imageSize: function( size ) {
-		var sizes = this.model.get('sizes'), matched = false;
-
-		size = size || 'medium';
-
-		// Use the provided image size if possible.
-		if ( sizes ) {
-			if ( sizes[ size ] ) {
-				matched = sizes[ size ];
-			} else if ( sizes.large ) {
-				matched = sizes.large;
-			} else if ( sizes.thumbnail ) {
-				matched = sizes.thumbnail;
-			} else if ( sizes.full ) {
-				matched = sizes.full;
-			}
-
-			if ( matched ) {
-				return _.clone( matched );
-			}
-		}
-
-		return {
-			url:         this.model.get('url'),
-			width:       this.model.get('width'),
-			height:      this.model.get('height'),
-			orientation: this.model.get('orientation')
-		};
+	filename: function( filename ) {
+		return _.escape( filename );
 	},
 	/**
-	 * @param {Object} event
+	 * @param {Backbone.Model} error
 	 */
-	updateSetting: function( event ) {
-		var $setting = $( event.target ).closest('[data-setting]'),
-			setting, value;
+	error: function( error ) {
+		var statusError = new wp.media.view.UploaderStatusError( {
+			filename: this.filename( error.get( 'file' ).name ),
+			message:  error.get( 'message' )
+		} );

-		if ( ! $setting.length ) {
-			return;
-		}
+		var buttonClose = this.$el.find( 'button' );

-		setting = $setting.data('setting');
-		value   = event.target.value;
+		// Can show additional info here while retrying to create image sub-sizes.
+		this.views.add( '.upload-errors', statusError, { at: 0 } );
+		_.delay( function() {
+			buttonClose.trigger( 'focus' );
+			wp.a11y.speak( error.get( 'message' ), 'assertive' );
+		}, 1000 );
+	},

-		if ( this.model.get( setting ) !== value ) {
-			this.save( setting, value );
+	dismiss: function() {
+		var errors = this.views.get('.upload-errors');
+
+		if ( errors ) {
+			_.invoke( errors, 'remove' );
+		}
+		wp.Uploader.errors.reset();
+		// Move focus to the modal after the dismiss button gets removed from the DOM.
+		if ( this.controller.modal ) {
+			this.controller.modal.focusManager.focus();
 		}
-	},
+	}
+});

-	/**
-	 * Pass all the arguments to the model's save method.
-	 *
-	 * Records the aggregate status of all save requests and updates the
-	 * view's classes accordingly.
-	 */
-	save: function() {
-		var view = this,
-			save = this._save = this._save || { status: 'ready' },
-			request = this.model.save.apply( this.model, arguments ),
-			requests = save.requests ? $.when( request, save.requests ) : request;
+module.exports = UploaderStatus;

-		// If we're waiting to remove 'Saved.', stop.
-		if ( save.savedTimer ) {
-			clearTimeout( save.savedTimer );
-		}

-		this.updateSave('waiting');
-		save.requests = requests;
-		requests.always( function() {
-			// If we've performed another request since this one, bail.
-			if ( save.requests !== requests ) {
-				return;
-			}
+/***/ }),

-			view.updateSave( requests.state() === 'resolved' ? 'complete' : 'error' );
-			save.savedTimer = setTimeout( function() {
-				view.updateSave('ready');
-				delete save.savedTimer;
-			}, 2000 );
-		});
-	},
-	/**
-	 * @param {string} status
-	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
-	 */
-	updateSave: function( status ) {
-		var save = this._save = this._save || { status: 'ready' };
+/***/ 5823:
+/***/ (function(module) {

-		if ( status && status !== save.status ) {
-			this.$el.removeClass( 'save-' + save.status );
-			save.status = status;
-		}
+var $ = jQuery,
+	UploaderWindow;

-		this.$el.addClass( 'save-' + save.status );
-		return this;
-	},
+/**
+ * wp.media.view.UploaderWindow
+ *
+ * An uploader window that allows for dragging and dropping media.
+ *
+ * @memberOf wp.media.view
+ *
+ * @class
+ * @augments wp.media.View
+ * @augments wp.Backbone.View
+ * @augments Backbone.View
+ *
+ * @param {object} [options]                   Options hash passed to the view.
+ * @param {object} [options.uploader]          Uploader properties.
+ * @param {jQuery} [options.uploader.browser]
+ * @param {jQuery} [options.uploader.dropzone] jQuery collection of the dropzone.
+ * @param {object} [options.uploader.params]
+ */
+UploaderWindow = wp.media.View.extend(/** @lends wp.media.view.UploaderWindow.prototype */{
+	tagName:   'div',
+	className: 'uploader-window',
+	template:  wp.template('uploader-window'),

-	updateAll: function() {
-		var $settings = this.$('[data-setting]'),
-			model = this.model,
-			changed;
+	initialize: function() {
+		var uploader;

-		changed = _.chain( $settings ).map( function( el ) {
-			var $input = $('input, textarea, select, [value]', el ),
-				setting, value;
+		this.$browser = $( '<button type="button" class="browser" />' ).hide().appendTo( 'body' );

-			if ( ! $input.length ) {
-				return;
-			}
+		uploader = this.options.uploader = _.defaults( this.options.uploader || {}, {
+			dropzone:  this.$el,
+			browser:   this.$browser,
+			params:    {}
+		});

-			setting = $(el).data('setting');
-			value = $input.val();
+		// Ensure the dropzone is a jQuery collection.
+		if ( uploader.dropzone && ! (uploader.dropzone instanceof $) ) {
+			uploader.dropzone = $( uploader.dropzone );
+		}

-			// Record the value if it changed.
-			if ( model.get( setting ) !== value ) {
-				return [ setting, value ];
-			}
-		}).compact().object().value();
+		this.controller.on( 'activate', this.refresh, this );

-		if ( ! _.isEmpty( changed ) ) {
-			model.save( changed );
+		this.controller.on( 'detach', function() {
+			this.$browser.remove();
+		}, this );
+	},
+
+	refresh: function() {
+		if ( this.uploader ) {
+			this.uploader.refresh();
 		}
 	},
-	/**
-	 * @param {Object} event
-	 */
-	removeFromLibrary: function( event ) {
-		// Catch enter and space events.
-		if ( 'keydown' === event.type && 13 !== event.keyCode && 32 !== event.keyCode ) {
+
+	ready: function() {
+		var postId = wp.media.view.settings.post.id,
+			dropzone;
+
+		// If the uploader already exists, bail.
+		if ( this.uploader ) {
 			return;
 		}

-		// Stop propagation so the model isn't selected.
-		event.stopPropagation();
+		if ( postId ) {
+			this.options.uploader.params.post_id = postId;
+		}
+		this.uploader = new wp.Uploader( this.options.uploader );

-		this.collection.remove( this.model );
+		dropzone = this.uploader.dropzone;
+		dropzone.on( 'dropzone:enter', _.bind( this.show, this ) );
+		dropzone.on( 'dropzone:leave', _.bind( this.hide, this ) );
+
+		$( this.uploader ).on( 'uploader:ready', _.bind( this._ready, this ) );
 	},

-	/**
-	 * Add the model if it isn't in the selection, if it is in the selection,
-	 * remove it.
-	 *
-	 * @param {[type]} event [description]
-	 * @return {[type]} [description]
-	 */
-	checkClickHandler: function ( event ) {
-		var selection = this.options.selection;
-		if ( ! selection ) {
-			return;
-		}
-		event.stopPropagation();
-		if ( selection.where( { id: this.model.get( 'id' ) } ).length ) {
-			selection.remove( this.model );
-			// Move focus back to the attachment tile (from the check).
-			this.$el.focus();
-		} else {
-			selection.add( this.model );
-		}
+	_ready: function() {
+		this.controller.trigger( 'uploader:ready' );
+	},

-		// Trigger an action button update.
-		this.controller.trigger( 'selection:toggle' );
-	}
-});
+	show: function() {
+		var $el = this.$el.show();

-// Ensure settings remain in sync between attachment views.
-_.each({
-	caption: '_syncCaption',
-	title:   '_syncTitle',
-	artist:  '_syncArtist',
-	album:   '_syncAlbum'
-}, function( method, setting ) {
-	/**
-	 * @function _syncCaption
-	 * @memberOf wp.media.view.Attachment
-	 * @instance
-	 *
-	 * @param {Backbone.Model} model
-	 * @param {string} value
-	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
-	 */
-	/**
-	 * @function _syncTitle
-	 * @memberOf wp.media.view.Attachment
-	 * @instance
-	 *
-	 * @param {Backbone.Model} model
-	 * @param {string} value
-	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
-	 */
-	/**
-	 * @function _syncArtist
-	 * @memberOf wp.media.view.Attachment
-	 * @instance
-	 *
-	 * @param {Backbone.Model} model
-	 * @param {string} value
-	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
-	 */
-	/**
-	 * @function _syncAlbum
-	 * @memberOf wp.media.view.Attachment
-	 * @instance
-	 *
-	 * @param {Backbone.Model} model
-	 * @param {string} value
-	 * @return {wp.media.view.Attachment} Returns itself to allow chaining.
-	 */
-	Attachment.prototype[ method ] = function( model, value ) {
-		var $setting = this.$('[data-setting="' + setting + '"]');
+		// Ensure that the animation is triggered by waiting until
+		// the transparent element is painted into the DOM.
+		_.defer( function() {
+			$el.css({ opacity: 1 });
+		});
+	},

-		if ( ! $setting.length ) {
-			return this;
-		}
+	hide: function() {
+		var $el = this.$el.css({ opacity: 0 });

-		/*
-		 * If the updated value is in sync with the value in the DOM, there
-		 * is no need to re-render. If we're currently editing the value,
-		 * it will automatically be in sync, suppressing the re-render for
-		 * the view we're editing, while updating any others.
-		 */
-		if ( value === $setting.find('input, textarea, select, [value]').val() ) {
-			return this;
-		}
+		wp.media.transition( $el ).done( function() {
+			// Transition end events are subject to race conditions.
+			// Make sure that the value is set as intended.
+			if ( '0' === $el.css('opacity') ) {
+				$el.hide();
+			}
+		});

-		return this.render();
-	};
+		// https://core.trac.wordpress.org/ticket/27341
+		_.delay( function() {
+			if ( '0' === $el.css('opacity') && $el.is(':visible') ) {
+				$el.hide();
+			}
+		}, 500 );
+	}
 });

-module.exports = Attachment;
+module.exports = UploaderWindow;


 /***/ }),

-/***/ "t3nl":
-/***/ (function(module, exports) {
+/***/ 487:
+/***/ (function(module) {

 /**
- * wp.media.view.Iframe
+ * wp.media.View
+ *
+ * The base view class for media.
+ *
+ * Undelegating events, removing events from the model, and
+ * removing events from the controller mirror the code for
+ * `Backbone.View.dispose` in Backbone 0.9.8 development.
  *
- * @memberOf wp.media.view
+ * This behavior has since been removed, and should not be used
+ * outside of the media manager.
+ *
+ * @memberOf wp.media
  *
  * @class
- * @augments wp.media.View
  * @augments wp.Backbone.View
  * @augments Backbone.View
  */
-var Iframe = wp.media.View.extend(/** @lends wp.media.view.Iframe.prototype */{
-	className: 'media-iframe',
+var View = wp.Backbone.View.extend(/** @lends wp.media.View.prototype */{
+	constructor: function( options ) {
+		if ( options && options.controller ) {
+			this.controller = options.controller;
+		}
+		wp.Backbone.View.apply( this, arguments );
+	},
 	/**
-	 * @return {wp.media.view.Iframe} Returns itself to allow chaining.
+	 * @todo The internal comment mentions this might have been a stop-gap
+	 *       before Backbone 0.9.8 came out. Figure out if Backbone core takes
+	 *       care of this in Backbone.View now.
+	 *
+	 * @return {wp.media.View} Returns itself to allow chaining.
 	 */
-	render: function() {
-		this.views.detach();
-		this.$el.html( '<iframe src="' + this.controller.state().get('src') + '" />' );
-		this.views.render();
+	dispose: function() {
+		/*
+		 * Undelegating events, removing events from the model, and
+		 * removing events from the controller mirror the code for
+		 * `Backbone.View.dispose` in Backbone 0.9.8 development.
+		 */
+		this.undelegateEvents();
+
+		if ( this.model && this.model.off ) {
+			this.model.off( null, null, this );
+		}
+
+		if ( this.collection && this.collection.off ) {
+			this.collection.off( null, null, this );
+		}
+
+		// Unbind controller events.
+		if ( this.controller && this.controller.off ) {
+			this.controller.off( null, null, this );
+		}
+
 		return this;
+	},
+	/**
+	 * @return {wp.media.View} Returns itself to allow chaining.
+	 */
+	remove: function() {
+		this.dispose();
+		/**
+		 * call 'remove' directly on the parent class
+		 */
+		return wp.Backbone.View.prototype.remove.apply( this, arguments );
 	}
 });

-module.exports = Iframe;
-
+module.exports = View;

-/***/ }),

-/***/ "tg/Y":
-/***/ (function(module, exports, __webpack_require__) {
+/***/ })

+/******/ 	});
+/************************************************************************/
+/******/ 	// The module cache
+/******/ 	var __webpack_module_cache__ = {};
+/******/
+/******/ 	// The require function
+/******/ 	function __webpack_require__(moduleId) {
+/******/ 		// Check if module is in cache
+/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
+/******/ 		if (cachedModule !== undefined) {
+/******/ 			return cachedModule.exports;
+/******/ 		}
+/******/ 		// Create a new module (and put it into the cache)
+/******/ 		var module = __webpack_module_cache__[moduleId] = {
+/******/ 			// no module.id needed
+/******/ 			// no module.loaded needed
+/******/ 			exports: {}
+/******/ 		};
+/******/
+/******/ 		// Execute the module function
+/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ 		// Return the exports of the module
+/******/ 		return module.exports;
+/******/ 	}
+/******/
+/************************************************************************/
+var __webpack_exports__ = {};
+// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
+!function() {
 /**
  * @output wp-includes/js/media-views.js
  */
@@ -10287,272 +10408,84 @@ media.transition = function( selector, sensitivity ) {
 	return deferred.promise();
 };

-media.controller.Region = __webpack_require__( "WiNq" );
-media.controller.StateMachine = __webpack_require__( "U3Se" );
-media.controller.State = __webpack_require__( "M5ZC" );
-
-media.selectionSync = __webpack_require__( "PgTd" );
-media.controller.Library = __webpack_require__( "F/kE" );
-media.controller.ImageDetails = __webpack_require__( "IkWq" );
-media.controller.GalleryEdit = __webpack_require__( "99yY" );
-media.controller.GalleryAdd = __webpack_require__( "ng6N" );
-media.controller.CollectionEdit = __webpack_require__( "Mt+m" );
-media.controller.CollectionAdd = __webpack_require__( "iipZ" );
-media.controller.FeaturedImage = __webpack_require__( "I7TD" );
-media.controller.ReplaceImage = __webpack_require__( "aBqq" );
-media.controller.EditImage = __webpack_require__( "4tHu" );
-media.controller.MediaLibrary = __webpack_require__( "mVaH" );
-media.controller.Embed = __webpack_require__( "qe5n" );
-media.controller.Cropper = __webpack_require__( "M+xU" );
-media.controller.CustomizeImageCropper = __webpack_require__( "eqTc" );
-media.controller.SiteIconCropper = __webpack_require__( "W+32" );
-
-media.View = __webpack_require__( "Bbnu" );
-media.view.Frame = __webpack_require__( "LGdN" );
-media.view.MediaFrame = __webpack_require__( "Pt9x" );
-media.view.MediaFrame.Select = __webpack_require__( "fYN4" );
-media.view.MediaFrame.Post = __webpack_require__( "6B7g" );
-media.view.MediaFrame.ImageDetails = __webpack_require__( "VIJ9" );
-media.view.Modal = __webpack_require__( "gOpb" );
-media.view.FocusManager = __webpack_require__( "3nJM" );
-media.view.UploaderWindow = __webpack_require__( "S4jH" );
-media.view.EditorUploader = __webpack_require__( "GXkx" );
-media.view.UploaderInline = __webpack_require__( "7Bpz" );
-media.view.UploaderStatus = __webpack_require__( "NguE" );
-media.view.UploaderStatusError = __webpack_require__( "ZeG4" );
-media.view.Toolbar = __webpack_require__( "2NU8" );
-media.view.Toolbar.Select = __webpack_require__( "IgEq" );
-media.view.Toolbar.Embed = __webpack_require__( "xQvM" );
-media.view.Button = __webpack_require__( "LZpE" );
-media.view.ButtonGroup = __webpack_require__( "z/+l" );
-media.view.PriorityList = __webpack_require__( "NjyZ" );
-media.view.MenuItem = __webpack_require__( "dpRc" );
-media.view.Menu = __webpack_require__( "Ju2C" );
-media.view.RouterItem = __webpack_require__( "Q9T/" );
-media.view.Router = __webpack_require__( "EVvK" );
-media.view.Sidebar = __webpack_require__( "9ARG" );
-media.view.Attachment = __webpack_require__( "sULL" );
-media.view.Attachment.Library = __webpack_require__( "2jku" );
-media.view.Attachment.EditLibrary = __webpack_require__( "EvXF" );
-media.view.Attachments = __webpack_require__( "ojD6" );
-media.view.Search = __webpack_require__( "ZgZ7" );
-media.view.AttachmentFilters = __webpack_require__( "1S4+" );
-media.view.DateFilter = __webpack_require__( "VkcK" );
-media.view.AttachmentFilters.Uploaded = __webpack_require__( "4jjk" );
-media.view.AttachmentFilters.All = __webpack_require__( "KerO" );
-media.view.AttachmentsBrowser = __webpack_require__( "72mI" );
-media.view.Selection = __webpack_require__( "04Ix" );
-media.view.Attachment.Selection = __webpack_require__( "yGM1" );
-media.view.Attachments.Selection = __webpack_require__( "wfCN" );
-media.view.Attachment.EditSelection = __webpack_require__( "P6DV" );
-media.view.Settings = __webpack_require__( "nwwF" );
-media.view.Settings.AttachmentDisplay = __webpack_require__( "2AvB" );
-media.view.Settings.Gallery = __webpack_require__( "umxe" );
-media.view.Settings.Playlist = __webpack_require__( "76BF" );
-media.view.Attachment.Details = __webpack_require__( "iupV" );
-media.view.AttachmentCompat = __webpack_require__( "LND6" );
-media.view.Iframe = __webpack_require__( "t3nl" );
-media.view.Embed = __webpack_require__( "VMHs" );
-media.view.Label = __webpack_require__( "V6sy" );
-media.view.EmbedUrl = __webpack_require__( "+mQJ" );
-media.view.EmbedLink = __webpack_require__( "JecU" );
-media.view.EmbedImage = __webpack_require__( "+B8m" );
-media.view.ImageDetails = __webpack_require__( "GXJ6" );
-media.view.Cropper = __webpack_require__( "Vh02" );
-media.view.SiteIconCropper = __webpack_require__( "UmHM" );
-media.view.SiteIconPreview = __webpack_require__( "d3xu" );
-media.view.EditImage = __webpack_require__( "ibOK" );
-media.view.Spinner = __webpack_require__( "cH3P" );
-media.view.Heading = __webpack_require__( "l2j4" );
-
-
-/***/ }),
-
-/***/ "umxe":
-/***/ (function(module, exports) {
-
-/**
- * wp.media.view.Settings.Gallery
- *
- * @memberOf wp.media.view.Settings
- *
- * @class
- * @augments wp.media.view.Settings
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-var Gallery = wp.media.view.Settings.extend(/** @lends wp.media.view.Settings.Gallery.prototype */{
-	className: 'collection-settings gallery-settings',
-	template:  wp.template('gallery-settings')
-});
-
-module.exports = Gallery;
-
-
-/***/ }),
-
-/***/ "wfCN":
-/***/ (function(module, exports) {
-
-var Attachments = wp.media.view.Attachments,
-	Selection;
-
-/**
- * wp.media.view.Attachments.Selection
- *
- * @memberOf wp.media.view.Attachments
- *
- * @class
- * @augments wp.media.view.Attachments
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-Selection = Attachments.extend(/** @lends wp.media.view.Attachments.Selection.prototype */{
-	events: {},
-	initialize: function() {
-		_.defaults( this.options, {
-			sortable:   false,
-			resize:     false,
-
-			// The single `Attachment` view to be used in the `Attachments` view.
-			AttachmentView: wp.media.view.Attachment.Selection
-		});
-		// Call 'initialize' directly on the parent class.
-		return Attachments.prototype.initialize.apply( this, arguments );
-	}
-});
-
-module.exports = Selection;
-
-
-/***/ }),
-
-/***/ "xQvM":
-/***/ (function(module, exports) {
-
-var Select = wp.media.view.Toolbar.Select,
-	l10n = wp.media.view.l10n,
-	Embed;
-
-/**
- * wp.media.view.Toolbar.Embed
- *
- * @memberOf wp.media.view.Toolbar
- *
- * @class
- * @augments wp.media.view.Toolbar.Select
- * @augments wp.media.view.Toolbar
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-Embed = Select.extend(/** @lends wp.media.view.Toolbar.Embed.prototype */{
-	initialize: function() {
-		_.defaults( this.options, {
-			text: l10n.insertIntoPost,
-			requires: false
-		});
-		// Call 'initialize' directly on the parent class.
-		Select.prototype.initialize.apply( this, arguments );
-	},
-
-	refresh: function() {
-		var url = this.controller.state().props.get('url');
-		this.get('select').model.set( 'disabled', ! url || url === 'http://' );
-		/**
-		 * call 'refresh' directly on the parent class
-		 */
-		Select.prototype.refresh.apply( this, arguments );
-	}
-});
-
-module.exports = Embed;
-
-
-/***/ }),
-
-/***/ "yGM1":
-/***/ (function(module, exports) {
-
-/**
- * wp.media.view.Attachment.Selection
- *
- * @memberOf wp.media.view.Attachment
- *
- * @class
- * @augments wp.media.view.Attachment
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-var Selection = wp.media.view.Attachment.extend(/** @lends wp.media.view.Attachment.Selection.prototype */{
-	className: 'attachment selection',
-
-	// On click, just select the model, instead of removing the model from
-	// the selection.
-	toggleSelection: function() {
-		this.options.selection.single( this.model );
-	}
-});
-
-module.exports = Selection;
-
-
-/***/ }),
-
-/***/ "z/+l":
-/***/ (function(module, exports) {
-
-var $ = Backbone.$,
-	ButtonGroup;
-
-/**
- * wp.media.view.ButtonGroup
- *
- * @memberOf wp.media.view
- *
- * @class
- * @augments wp.media.View
- * @augments wp.Backbone.View
- * @augments Backbone.View
- */
-ButtonGroup = wp.media.View.extend(/** @lends wp.media.view.ButtonGroup.prototype */{
-	tagName:   'div',
-	className: 'button-group button-large media-button-group',
-
-	initialize: function() {
-		/**
-		 * @member {wp.media.view.Button[]}
-		 */
-		this.buttons = _.map( this.options.buttons || [], function( button ) {
-			if ( button instanceof Backbone.View ) {
-				return button;
-			} else {
-				return new wp.media.view.Button( button ).render();
-			}
-		});
-
-		delete this.options.buttons;
-
-		if ( this.options.classes ) {
-			this.$el.addClass( this.options.classes );
-		}
-	},
-
-	/**
-	 * @return {wp.media.view.ButtonGroup}
-	 */
-	render: function() {
-		this.$el.html( $( _.pluck( this.buttons, 'el' ) ).detach() );
-		return this;
-	}
-});
-
-module.exports = ButtonGroup;
-
-
-/***/ })
-
-/******/ });
\ No newline at end of file
+media.controller.Region = __webpack_require__( 4903 );
+media.controller.StateMachine = __webpack_require__( 5466 );
+media.controller.State = __webpack_require__( 5826 );
+
+media.selectionSync = __webpack_require__( 3526 );
+media.controller.Library = __webpack_require__( 9024 );
+media.controller.ImageDetails = __webpack_require__( 3849 );
+media.controller.GalleryEdit = __webpack_require__( 6328 );
+media.controller.GalleryAdd = __webpack_require__( 7323 );
+media.controller.CollectionEdit = __webpack_require__( 1817 );
+media.controller.CollectionAdd = __webpack_require__( 1517 );
+media.controller.FeaturedImage = __webpack_require__( 5095 );
+media.controller.ReplaceImage = __webpack_require__( 8493 );
+media.controller.EditImage = __webpack_require__( 7658 );
+media.controller.MediaLibrary = __webpack_require__( 3742 );
+media.controller.Embed = __webpack_require__( 9067 );
+media.controller.Cropper = __webpack_require__( 2288 );
+media.controller.CustomizeImageCropper = __webpack_require__( 6934 );
+media.controller.SiteIconCropper = __webpack_require__( 5274 );
+
+media.View = __webpack_require__( 487 );
+media.view.Frame = __webpack_require__( 3647 );
+media.view.MediaFrame = __webpack_require__( 4861 );
+media.view.MediaFrame.Select = __webpack_require__( 8719 );
+media.view.MediaFrame.Post = __webpack_require__( 9075 );
+media.view.MediaFrame.ImageDetails = __webpack_require__( 9142 );
+media.view.Modal = __webpack_require__( 3939 );
+media.view.FocusManager = __webpack_require__( 6557 );
+media.view.UploaderWindow = __webpack_require__( 5823 );
+media.view.EditorUploader = __webpack_require__( 841 );
+media.view.UploaderInline = __webpack_require__( 6353 );
+media.view.UploaderStatus = __webpack_require__( 2894 );
+media.view.UploaderStatusError = __webpack_require__( 9411 );
+media.view.Toolbar = __webpack_require__( 9510 );
+media.view.Toolbar.Select = __webpack_require__( 6850 );
+media.view.Toolbar.Embed = __webpack_require__( 7128 );
+media.view.Button = __webpack_require__( 3157 );
+media.view.ButtonGroup = __webpack_require__( 4094 );
+media.view.PriorityList = __webpack_require__( 1993 );
+media.view.MenuItem = __webpack_require__( 917 );
+media.view.Menu = __webpack_require__( 2596 );
+media.view.RouterItem = __webpack_require__( 9484 );
+media.view.Router = __webpack_require__( 1562 );
+media.view.Sidebar = __webpack_require__( 9799 );
+media.view.Attachment = __webpack_require__( 5019 );
+media.view.Attachment.Library = __webpack_require__( 9254 );
+media.view.Attachment.EditLibrary = __webpack_require__( 4640 );
+media.view.Attachments = __webpack_require__( 8408 );
+media.view.Search = __webpack_require__( 4556 );
+media.view.AttachmentFilters = __webpack_require__( 4906 );
+media.view.DateFilter = __webpack_require__( 9663 );
+media.view.AttachmentFilters.Uploaded = __webpack_require__( 7040 );
+media.view.AttachmentFilters.All = __webpack_require__( 2868 );
+media.view.AttachmentsBrowser = __webpack_require__( 9239 );
+media.view.Selection = __webpack_require__( 6191 );
+media.view.Attachment.Selection = __webpack_require__( 9003 );
+media.view.Attachments.Selection = __webpack_require__( 1223 );
+media.view.Attachment.EditSelection = __webpack_require__( 1009 );
+media.view.Settings = __webpack_require__( 859 );
+media.view.Settings.AttachmentDisplay = __webpack_require__( 2176 );
+media.view.Settings.Gallery = __webpack_require__( 6872 );
+media.view.Settings.Playlist = __webpack_require__( 8488 );
+media.view.Attachment.Details = __webpack_require__( 7274 );
+media.view.AttachmentCompat = __webpack_require__( 8093 );
+media.view.Iframe = __webpack_require__( 6217 );
+media.view.Embed = __webpack_require__( 5138 );
+media.view.Label = __webpack_require__( 6644 );
+media.view.EmbedUrl = __webpack_require__( 4848 );
+media.view.EmbedLink = __webpack_require__( 6959 );
+media.view.EmbedImage = __webpack_require__( 1338 );
+media.view.ImageDetails = __webpack_require__( 7598 );
+media.view.Cropper = __webpack_require__( 7137 );
+media.view.SiteIconCropper = __webpack_require__( 5187 );
+media.view.SiteIconPreview = __webpack_require__( 8260 );
+media.view.EditImage = __webpack_require__( 5970 );
+media.view.Spinner = __webpack_require__( 2234 );
+media.view.Heading = __webpack_require__( 7990 );
+
+}();
+/******/ })()
+;
\ No newline at end of file
diff --git a/wp-includes/js/media-views.min.js b/wp-includes/js/media-views.min.js
index c6da76938f..43b4fa69d7 100644
--- a/wp-includes/js/media-views.min.js
+++ b/wp-includes/js/media-views.min.js
@@ -1,2 +1,2 @@
 /*! This file is auto-generated */
-!function(i){var s={};function o(e){if(s[e])return s[e].exports;var t=s[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=i,o.c=s,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)o.d(i,s,function(e){return t[e]}.bind(null,s));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}({"+B8m":function(e,t){var i=wp.media.view.Settings.AttachmentDisplay,s=i.extend({className:"embed-media-settings",template:wp.template("embed-image-settings"),initialize:function(){i.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:url",this.updateImage)},updateImage:function(){this.$("img").attr("src",this.model.get("url"))}});e.exports=s},"+mQJ":function(e,t){var i=wp.media.View,s=jQuery,o=wp.media.view.l10n,n=i.extend({tagName:"span",className:"embed-url",events:{input:"url"},initialize:function(){this.$input=s('<input id="embed-url-field" type="url" />').attr("aria-label",o.insertFromUrlTitle).val(this.model.get("url")),this.input=this.$input[0],this.spinner=s('<span class="spinner" />')[0],this.$el.append([this.input,this.spinner]),this.listenTo(this.model,"change:url",this.render),this.model.get("url")&&_.delay(_.bind(function(){this.model.trigger("change:url")},this),500)},render:function(){var e=this.$input;if(!e.is(":focus"))return this.input.value=this.model.get("url")||"http://",i.prototype.render.apply(this,arguments),this},url:function(e){e=e.target.value||"";this.model.set("url",e.trim())}});e.exports=n},"04Ix":function(e,t){var i=wp.i18n._n,s=wp.i18n.sprintf,o=wp.media.View.extend({tagName:"div",className:"media-selection",template:wp.template("media-selection"),events:{"click .edit-selection":"edit","click .clear-selection":"clear"},initialize:function(){_.defaults(this.options,{editable:!1,clearable:!0}),this.attachments=new wp.media.view.Attachments.Selection({controller:this.controller,collection:this.collection,selection:this.collection,model:new Backbone.Model}),this.views.set(".selection-view",this.attachments),this.collection.on("add remove reset",this.refresh,this),this.controller.on("content:activate",this.refresh,this)},ready:function(){this.refresh()},refresh:function(){var e,t;this.$el.children().length&&(e=this.collection,t="edit-selection"===this.controller.content.mode(),this.$el.toggleClass("empty",!e.length),this.$el.toggleClass("one",1===e.length),this.$el.toggleClass("editing",t),this.$(".count").text(s(i("%s item selected","%s items selected",e.length),e.length)))},edit:function(e){e.preventDefault(),this.options.editable&&this.options.editable.call(this,this.collection)},clear:function(e){e.preventDefault(),this.collection.reset(),this.controller.modal.focusManager.focus()}});e.exports=o},"1S4+":function(e,t){var i=jQuery,s=wp.media.View.extend({tagName:"select",className:"attachment-filters",id:"media-attachment-filters",events:{change:"change"},keys:[],initialize:function(){this.createFilters(),_.extend(this.filters,this.options.filters),this.$el.html(_.chain(this.filters).map(function(e,t){return{el:i("<option></option>").val(t).html(e.text)[0],priority:e.priority||50}},this).sortBy("priority").pluck("el").value()),this.listenTo(this.model,"change",this.select),this.select()},createFilters:function(){this.filters={}},change:function(){var e=this.filters[this.el.value];e&&this.model.set(e.props)},select:function(){var e=this.model,i="all",s=e.toJSON();_.find(this.filters,function(e,t){if(_.all(e.props,function(e,t){return e===(_.isUndefined(s[t])?null:s[t])}))return i=t}),this.$el.val(i)}});e.exports=s},"2AvB":function(e,t){var i=wp.media.view.Settings,s=i.extend({className:"attachment-display-settings",template:wp.template("attachment-display-settings"),initialize:function(){var e=this.options.attachment;_.defaults(this.options,{userSettings:!1}),i.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:link",this.updateLinkTo),e&&e.on("change:uploading",this.render,this)},dispose:function(){var e=this.options.attachment;e&&e.off(null,null,this),i.prototype.dispose.apply(this,arguments)},render:function(){var e=this.options.attachment;return e&&_.extend(this.options,{sizes:e.get("sizes"),type:e.get("type")}),i.prototype.render.call(this),this.updateLinkTo(),this},updateLinkTo:function(){var e=this.model.get("link"),t=this.$(".link-to-custom"),i=this.options.attachment;"none"===e||"embed"===e||!i&&"custom"!==e?t.closest(".setting").addClass("hidden"):(i&&("post"===e?t.val(i.get("link")):"file"===e?t.val(i.get("url")):this.model.get("linkUrl")||t.val("http://"),t.prop("readonly","custom"!==e)),t.closest(".setting").removeClass("hidden"),t.length&&t[0].scrollIntoView())}});e.exports=s},"2NU8":function(e,t){var i=wp.media.View,s=i.extend({tagName:"div",className:"media-toolbar",initialize:function(){var e=this.controller.state(),t=this.selection=e.get("selection"),e=this.library=e.get("library");this._views={},this.primary=new wp.media.view.PriorityList,this.secondary=new wp.media.view.PriorityList,this.primary.$el.addClass("media-toolbar-primary search-form"),this.secondary.$el.addClass("media-toolbar-secondary"),this.views.set([this.secondary,this.primary]),this.options.items&&this.set(this.options.items,{silent:!0}),this.options.silent||this.render(),t&&t.on("add remove reset",this.refresh,this),e&&e.on("add remove reset",this.refresh,this)},dispose:function(){return this.selection&&this.selection.off(null,null,this),this.library&&this.library.off(null,null,this),i.prototype.dispose.apply(this,arguments)},ready:function(){this.refresh()},set:function(e,t,i){return i=i||{},_.isObject(e)?_.each(e,function(e,t){this.set(t,e,{silent:!0})},this):(t instanceof Backbone.View||(t.classes=["media-button-"+e].concat(t.classes||[]),t=new wp.media.view.Button(t).render()),t.controller=t.controller||this.controller,this._views[e]=t,this[t.options.priority<0?"secondary":"primary"].set(e,t,i)),i.silent||this.refresh(),this},get:function(e){return this._views[e]},unset:function(e,t){return delete this._views[e],this.primary.unset(e,t),this.secondary.unset(e,t),t&&t.silent||this.refresh(),this},refresh:function(){var e=this.controller.state(),s=e.get("library"),o=e.get("selection");_.each(this._views,function(e){var t,i;e.model&&e.options&&e.options.requires&&(t=e.options.requires,i=!1,o&&o.models&&(i=_.some(o.models,function(e){return!0===e.get("uploading")})),(t.selection&&o&&!o.length||t.library&&s&&!s.length)&&(i=!0),e.model.set("disabled",i))})}});e.exports=s},"2jku":function(e,t){var i=wp.media.view.Attachment.extend({buttons:{check:!0}});e.exports=i},3:function(e,t,i){e.exports=i("tg/Y")},"3nJM":function(e,t){var o=jQuery,i=wp.media.View.extend({events:{keydown:"focusManagementMode"},initialize:function(e){this.mode=e.mode||"constrainTabbing",this.tabsAutomaticActivation=e.tabsAutomaticActivation||!1},focusManagementMode:function(e){"constrainTabbing"===this.mode&&this.constrainTabbing(e),"tabsNavigation"===this.mode&&this.tabsNavigation(e)},getTabbables:function(){return this.$(":tabbable").not('.moxie-shim input[type="file"]')},focus:function(){this.$(".media-modal").trigger("focus")},constrainTabbing:function(e){var t;if(9===e.keyCode)return(t=this.getTabbables()).last()[0]!==e.target||e.shiftKey?t.first()[0]===e.target&&e.shiftKey?(t.last().focus(),!1):void 0:(t.first().focus(),!1)},setAriaHiddenOnBodyChildren:function(t){var e,i=this;this.isBodyAriaHidden||(e=document.body.children,_.each(e,function(e){e!==t[0]&&i.elementShouldBeHidden(e)&&(e.setAttribute("aria-hidden","true"),i.ariaHiddenElements.push(e))}),this.isBodyAriaHidden=!0)},removeAriaHiddenFromBodyChildren:function(){_.each(this.ariaHiddenElements,function(e){e.removeAttribute("aria-hidden")}),this.ariaHiddenElements=[],this.isBodyAriaHidden=!1},elementShouldBeHidden:function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||-1!==["alert","status","log","marquee","timer"].indexOf(t))},isBodyAriaHidden:!1,ariaHiddenElements:[],tabs:o(),setupAriaTabs:function(){this.tabs=this.$('[role="tab"]'),this.tabs.attr({"aria-selected":"false",tabIndex:"-1"}),this.tabs.filter(".active").removeAttr("tabindex").attr("aria-selected","true")},tabsNavigation:function(e){var t="horizontal";-1===[32,35,36,37,38,39,40].indexOf(e.which)||"horizontal"===(t="vertical"===this.$el.attr("aria-orientation")?"vertical":t)&&-1!==[38,40].indexOf(e.which)||"vertical"===t&&-1!==[37,39].indexOf(e.which)||this.switchTabs(e,this.tabs)},switchTabs:function(e){var t,i=e.which,s=this.tabs.index(o(e.target));switch(i){case 32:this.activateTab(this.tabs[s]);break;case 35:e.preventDefault(),this.activateTab(this.tabs[this.tabs.length-1]);break;case 36:e.preventDefault(),this.activateTab(this.tabs[0]);break;case 37:case 38:e.preventDefault(),t=s-1<0?this.tabs.length-1:s-1,this.activateTab(this.tabs[t]);break;case 39:case 40:e.preventDefault(),t=s+1===this.tabs.length?0:s+1,this.activateTab(this.tabs[t])}},activateTab:function(e){if(e){if(e.focus(),this.tabsAutomaticActivation)return e.removeAttribute("tabindex"),e.setAttribute("aria-selected","true"),void e.click();o(e).on("click",function(){e.removeAttribute("tabindex"),e.setAttribute("aria-selected","true")})}}});e.exports=i},"4jjk":function(e,t){var o=wp.media.view.l10n,i=wp.media.view.AttachmentFilters.extend({createFilters:function(){var e,t=this.model.get("type"),i=wp.media.view.settings.mimeTypes,s=window.userSettings?parseInt(window.userSettings.uid,10):0;i&&t&&(e=i[t]),this.filters={all:{text:e||o.allMediaItems,props:{uploadedTo:null,orderby:"date",order:"DESC",author:null},priority:10},uploaded:{text:o.uploadedToThisPost,props:{uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC",author:null},priority:20},unattached:{text:o.unattached,props:{uploadedTo:0,orderby:"menuOrder",order:"ASC",author:null},priority:50}},s&&(this.filters.mine={text:o.mine,props:{orderby:"date",order:"DESC",author:s},priority:50})}});e.exports=i},"4tHu":function(e,t){var s=wp.media.view.l10n,i=wp.media.controller.State.extend({defaults:{id:"edit-image",title:s.editImage,menu:!1,toolbar:"edit-image",content:"edit-image",url:""},activate:function(){this.frame.on("toolbar:render:edit-image",_.bind(this.toolbar,this))},deactivate:function(){this.frame.off("toolbar:render:edit-image")},toolbar:function(){var e=this.frame,t=e.lastState(),i=t&&t.id;e.toolbar.set(new wp.media.view.Toolbar({controller:e,items:{back:{style:"primary",text:s.back,priority:20,click:function(){i?e.setState(i):e.close()}}}}))}});e.exports=i},"6B7g":function(e,t){var i=wp.media.view.MediaFrame.Select,s=wp.media.controller.Library,o=wp.media.view.l10n,n=i.extend({initialize:function(){this.counts={audio:{count:wp.media.view.settings.attachmentCounts.audio,state:"playlist"},video:{count:wp.media.view.settings.attachmentCounts.video,state:"video-playlist"}},_.defaults(this.options,{multiple:!0,editing:!1,state:"insert",metadata:{}}),i.prototype.initialize.apply(this,arguments),this.createIframeStates()},createStates:function(){var e=this.options;this.states.add([new s({id:"insert",title:o.insertMediaTitle,priority:20,toolbar:"main-insert",filterable:"all",library:wp.media.query(e.library),multiple:!!e.multiple&&"reset",editable:!0,allowLocalEdits:!0,displaySettings:!0,displayUserSettings:!0}),new s({id:"gallery",title:o.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"image"},e.library))}),new wp.media.controller.Embed({metadata:e.metadata}),new wp.media.controller.EditImage({model:e.editImage}),new wp.media.controller.GalleryEdit({library:e.selection,editing:e.editing,menu:"gallery"}),new wp.media.controller.GalleryAdd,new s({id:"playlist",title:o.createPlaylistTitle,priority:60,toolbar:"main-playlist",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"audio"},e.library))}),new wp.media.controller.CollectionEdit({type:"audio",collectionType:"playlist",title:o.editPlaylistTitle,SettingsView:wp.media.view.Settings.Playlist,library:e.selection,editing:e.editing,menu:"playlist",dragInfoText:o.playlistDragInfo,dragInfo:!1}),new wp.media.controller.CollectionAdd({type:"audio",collectionType:"playlist",title:o.addToPlaylistTitle}),new s({id:"video-playlist",title:o.createVideoPlaylistTitle,priority:60,toolbar:"main-video-playlist",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"video"},e.library))}),new wp.media.controller.CollectionEdit({type:"video",collectionType:"playlist",title:o.editVideoPlaylistTitle,SettingsView:wp.media.view.Settings.Playlist,library:e.selection,editing:e.editing,menu:"video-playlist",dragInfoText:o.videoPlaylistDragInfo,dragInfo:!1}),new wp.media.controller.CollectionAdd({type:"video",collectionType:"playlist",title:o.addToVideoPlaylistTitle})]),wp.media.view.settings.post.featuredImageId&&this.states.add(new wp.media.controller.FeaturedImage)},bindHandlers:function(){i.prototype.bindHandlers.apply(this,arguments),this.on("activate",this.activate,this),void 0!==_.find(this.counts,function(e){return 0===e.count})&&this.listenTo(wp.media.model.Attachments.all,"change:type",this.mediaTypeCounts),this.on("menu:create:gallery",this.createMenu,this),this.on("menu:create:playlist",this.createMenu,this),this.on("menu:create:video-playlist",this.createMenu,this),this.on("toolbar:create:main-insert",this.createToolbar,this),this.on("toolbar:create:main-gallery",this.createToolbar,this),this.on("toolbar:create:main-playlist",this.createToolbar,this),this.on("toolbar:create:main-video-playlist",this.createToolbar,this),this.on("toolbar:create:featured-image",this.featuredImageToolbar,this),this.on("toolbar:create:main-embed",this.mainEmbedToolbar,this),_.each({menu:{default:"mainMenu",gallery:"galleryMenu",playlist:"playlistMenu","video-playlist":"videoPlaylistMenu"},content:{embed:"embedContent","edit-image":"editImageContent","edit-selection":"editSelectionContent"},toolbar:{"main-insert":"mainInsertToolbar","main-gallery":"mainGalleryToolbar","gallery-edit":"galleryEditToolbar","gallery-add":"galleryAddToolbar","main-playlist":"mainPlaylistToolbar","playlist-edit":"playlistEditToolbar","playlist-add":"playlistAddToolbar","main-video-playlist":"mainVideoPlaylistToolbar","video-playlist-edit":"videoPlaylistEditToolbar","video-playlist-add":"videoPlaylistAddToolbar"}},function(e,i){_.each(e,function(e,t){this.on(i+":render:"+t,this[e],this)},this)},this)},activate:function(){_.each(this.counts,function(e){e.count<1&&this.menuItemVisibility(e.state,"hide")},this)},mediaTypeCounts:function(e,t){void 0!==this.counts[t]&&this.counts[t].count<1&&(this.counts[t].count++,this.menuItemVisibility(this.counts[t].state,"show"))},mainMenu:function(e){e.set({"library-separator":new wp.media.View({className:"separator",priority:100,attributes:{role:"presentation"}})})},menuItemVisibility:function(e,t){var i=this.menu.get();"hide"===t?i.hide(e):"show"===t&&i.show(e)},galleryMenu:function(e){var t=this.lastState(),i=t&&t.id,s=this;e.set({cancel:{text:o.cancelGalleryTitle,priority:20,click:function(){i?s.setState(i):s.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},playlistMenu:function(e){var t=this.lastState(),i=t&&t.id,s=this;e.set({cancel:{text:o.cancelPlaylistTitle,priority:20,click:function(){i?s.setState(i):s.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},videoPlaylistMenu:function(e){var t=this.lastState(),i=t&&t.id,s=this;e.set({cancel:{text:o.cancelVideoPlaylistTitle,priority:20,click:function(){i?s.setState(i):s.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},embedContent:function(){var e=new wp.media.view.Embed({controller:this,model:this.state()}).render();this.content.set(e)},editSelectionContent:function(){var e=this.state(),t=e.get("selection"),t=new wp.media.view.AttachmentsBrowser({controller:this,collection:t,selection:t,model:e,sortable:!0,search:!1,date:!1,dragInfo:!0,AttachmentView:wp.media.view.Attachments.EditSelection}).render();t.toolbar.set("backToLibrary",{text:o.returnToLibrary,priority:-100,click:function(){this.controller.content.mode("browse"),this.controller.modal.focusManager.focus()}}),this.content.set(t),this.trigger("edit:selection",this)},editImageContent:function(){var e=this.state().get("image"),e=new wp.media.view.EditImage({model:e,controller:this}).render();this.content.set(e),e.loadEditor()},selectionStatusToolbar:function(e){var t=this.state().get("editable");e.set("selection",new wp.media.view.Selection({controller:this,collection:this.state().get("selection"),priority:-40,editable:t&&function(){this.controller.content.mode("edit-selection")}}).render())},mainInsertToolbar:function(e){var i=this;this.selectionStatusToolbar(e),e.set("insert",{style:"primary",priority:80,text:o.insertIntoPost,requires:{selection:!0},click:function(){var e=i.state(),t=e.get("selection");i.close(),e.trigger("insert",t).reset()}})},mainGalleryToolbar:function(e){var s=this;this.selectionStatusToolbar(e),e.set("gallery",{style:"primary",text:o.createNewGallery,priority:60,requires:{selection:!0},click:function(){var e=s.state().get("selection"),t=s.state("gallery-edit"),i=e.where({type:"image"});t.set("library",new wp.media.model.Selection(i,{props:e.props.toJSON(),multiple:!0})),this.controller.setState("gallery-edit"),this.controller.modal.focusManager.focus()}})},mainPlaylistToolbar:function(e){var s=this;this.selectionStatusToolbar(e),e.set("playlist",{style:"primary",text:o.createNewPlaylist,priority:100,requires:{selection:!0},click:function(){var e=s.state().get("selection"),t=s.state("playlist-edit"),i=e.where({type:"audio"});t.set("library",new wp.media.model.Selection(i,{props:e.props.toJSON(),multiple:!0})),this.controller.setState("playlist-edit"),this.controller.modal.focusManager.focus()}})},mainVideoPlaylistToolbar:function(e){var s=this;this.selectionStatusToolbar(e),e.set("video-playlist",{style:"primary",text:o.createNewVideoPlaylist,priority:100,requires:{selection:!0},click:function(){var e=s.state().get("selection"),t=s.state("video-playlist-edit"),i=e.where({type:"video"});t.set("library",new wp.media.model.Selection(i,{props:e.props.toJSON(),multiple:!0})),this.controller.setState("video-playlist-edit"),this.controller.modal.focusManager.focus()}})},featuredImageToolbar:function(e){this.createSelectToolbar(e,{text:o.setFeaturedImage,state:this.options.state})},mainEmbedToolbar:function(e){e.view=new wp.media.view.Toolbar.Embed({controller:this})},galleryEditToolbar:function(){var e=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:e?o.updateGallery:o.insertGallery,priority:80,requires:{library:!0},click:function(){var e=this.controller,t=e.state();e.close(),t.trigger("update",t.get("library")),e.setState(e.options.state),e.reset()}}}}))},galleryAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:o.addToGallery,priority:80,requires:{selection:!0},click:function(){var e=this.controller,t=e.state();e.state("gallery-edit").get("library").add(t.get("selection").models),t.trigger("reset"),e.setState("gallery-edit"),this.controller.modal.focusManager.focus()}}}}))},playlistEditToolbar:function(){var e=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:e?o.updatePlaylist:o.insertPlaylist,priority:80,requires:{library:!0},click:function(){var e=this.controller,t=e.state();e.close(),t.trigger("update",t.get("library")),e.setState(e.options.state),e.reset()}}}}))},playlistAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:o.addToPlaylist,priority:80,requires:{selection:!0},click:function(){var e=this.controller,t=e.state();e.state("playlist-edit").get("library").add(t.get("selection").models),t.trigger("reset"),e.setState("playlist-edit"),this.controller.modal.focusManager.focus()}}}}))},videoPlaylistEditToolbar:function(){var e=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:e?o.updateVideoPlaylist:o.insertVideoPlaylist,priority:140,requires:{library:!0},click:function(){var e=this.controller,t=e.state(),i=t.get("library");i.type="video",e.close(),t.trigger("update",i),e.setState(e.options.state),e.reset()}}}}))},videoPlaylistAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:o.addToVideoPlaylist,priority:140,requires:{selection:!0},click:function(){var e=this.controller,t=e.state();e.state("video-playlist-edit").get("library").add(t.get("selection").models),t.trigger("reset"),e.setState("video-playlist-edit"),this.controller.modal.focusManager.focus()}}}}))}});e.exports=n},"72mI":function(e,t){var s=wp.media.View,o=wp.media.view.settings.mediaTrash,n=wp.media.view.l10n,a=jQuery,i=wp.media.view.settings.infiniteScrolling,r=wp.i18n.__,l=wp.i18n.sprintf,d=s.extend({tagName:"div",className:"attachments-browser",initialize:function(){_.defaults(this.options,{filters:!1,search:!0,date:!0,display:!1,sidebar:!0,AttachmentView:wp.media.view.Attachment.Library}),this.controller.on("toggle:upload:attachment",this.toggleUploader,this),this.controller.on("edit:selection",this.editSelection),this.options.sidebar&&"errors"===this.options.sidebar&&this.createSidebar(),this.controller.isModeActive("grid")?(this.createUploader(),this.createToolbar()):(this.createToolbar(),this.createUploader()),this.createAttachmentsHeading(),this.createAttachmentsWrapperView(),i||(this.$el.addClass("has-load-more"),this.createLoadMoreView()),this.options.sidebar&&"errors"!==this.options.sidebar&&this.createSidebar(),this.updateContent(),i||this.updateLoadMoreView(),this.options.sidebar&&"errors"!==this.options.sidebar||(this.$el.addClass("hide-sidebar"),"errors"===this.options.sidebar&&this.$el.addClass("sidebar-for-errors")),this.collection.on("add remove reset",this.updateContent,this),i||this.collection.on("add remove reset",this.updateLoadMoreView,this),this.collection.on("attachments:received",this.announceSearchResults,this)},announceSearchResults:_.debounce(function(){var e,t=r("Number of media items displayed: %d. Click load more for more results.");i&&(t=r("Number of media items displayed: %d. Scroll the page for more results.")),this.collection.mirroring&&this.collection.mirroring.args.s&&(0===(e=this.collection.length)?wp.a11y.speak(n.noMediaTryNewSearch):this.collection.hasMore()?wp.a11y.speak(t.replace("%d",e)):wp.a11y.speak(n.mediaFound.replace("%d",e)))},200),editSelection:function(e){e.$(".media-button-backToLibrary").focus()},dispose:function(){return this.options.selection.off(null,null,this),s.prototype.dispose.apply(this,arguments),this},createToolbar:function(){var e,t=-1!==a.inArray(this.options.filters,["uploaded","all"]),i={controller:this.controller};this.controller.isModeActive("grid")&&(i.className="media-toolbar wp-filter"),this.toolbar=new wp.media.view.Toolbar(i),this.views.add(this.toolbar),this.toolbar.set("spinner",new wp.media.view.Spinner({priority:-20})),(t||this.options.date)&&this.toolbar.set("filters-heading",new wp.media.view.Heading({priority:-100,text:n.filterAttachments,level:"h2",className:"media-attachments-filter-heading"}).render()),t&&(this.toolbar.set("filtersLabel",new wp.media.view.Label({value:n.filterByType,attributes:{for:"media-attachment-filters"},priority:-80}).render()),"uploaded"===this.options.filters?this.toolbar.set("filters",new wp.media.view.AttachmentFilters.Uploaded({controller:this.controller,model:this.collection.props,priority:-80}).render()):(e=new wp.media.view.AttachmentFilters.All({controller:this.controller,model:this.collection.props,priority:-80}),this.toolbar.set("filters",e.render()))),this.controller.isModeActive("grid")?(i=s.extend({className:"view-switch media-grid-view-switch",template:wp.template("media-library-view-switcher")}),this.toolbar.set("libraryViewSwitcher",new i({controller:this.controller,priority:-90}).render()),this.toolbar.set("dateFilterLabel",new wp.media.view.Label({value:n.filterByDate,attributes:{for:"media-attachment-date-filters"},priority:-75}).render()),this.toolbar.set("dateFilter",new wp.media.view.DateFilter({controller:this.controller,model:this.collection.props,priority:-75}).render()),this.toolbar.set("selectModeToggleButton",new wp.media.view.SelectModeToggleButton({text:n.bulkSelect,controller:this.controller,priority:-70}).render()),this.toolbar.set("deleteSelectedButton",new wp.media.view.DeleteSelectedButton({filters:e,style:"primary",disabled:!0,text:o?n.trashSelected:n.deletePermanently,controller:this.controller,priority:-80,click:function(){var t=[],i=[],e=this.controller.state().get("selection"),s=this.controller.state().get("library");!e.length||!o&&!window.confirm(n.warnBulkDelete)||o&&"trash"!==e.at(0).get("status")&&!window.confirm(n.warnBulkTrash)||(e.each(function(e){e.get("nonces").delete?o&&"trash"===e.get("status")?(e.set("status","inherit"),t.push(e.save()),i.push(e)):o?(e.set("status","trash"),t.push(e.save()),i.push(e)):e.destroy({wait:!0}):i.push(e)}),t.length?(e.remove(i),a.when.apply(null,t).then(_.bind(function(){s._requery(!0),this.controller.trigger("selection:action:done")},this))):this.controller.trigger("selection:action:done"))}}).render()),o&&this.toolbar.set("deleteSelectedPermanentlyButton",new wp.media.view.DeleteSelectedPermanentlyButton({filters:e,style:"link button-link-delete",disabled:!0,text:n.deletePermanently,controller:this.controller,priority:-55,click:function(){var t=[],i=[],e=this.controller.state().get("selection");e.length&&window.confirm(n.warnBulkDelete)&&(e.each(function(e){(e.get("nonces").delete?i:t).push(e)}),t.length&&e.remove(t),i.length&&a.when.apply(null,i.map(function(e){return e.destroy()})).then(_.bind(function(){this.controller.trigger("selection:action:done")},this)))}}).render())):this.options.date&&(this.toolbar.set("dateFilterLabel",new wp.media.view.Label({value:n.filterByDate,attributes:{for:"media-attachment-date-filters"},priority:-75}).render()),this.toolbar.set("dateFilter",new wp.media.view.DateFilter({controller:this.controller,model:this.collection.props,priority:-75}).render())),this.options.search&&(this.toolbar.set("searchLabel",new wp.media.view.Label({value:n.searchLabel,className:"media-search-input-label",attributes:{for:"media-search-input"},priority:60}).render()),this.toolbar.set("search",new wp.media.view.Search({controller:this.controller,model:this.collection.props,priority:60}).render())),this.options.dragInfo&&this.toolbar.set("dragInfo",new s({el:a('<div class="instructions">'+n.dragInfo+"</div>")[0],priority:-40})),this.options.suggestedWidth&&this.options.suggestedHeight&&this.toolbar.set("suggestedDimensions",new s({el:a('<div class="instructions">'+n.suggestedDimensions.replace("%1$s",this.options.suggestedWidth).replace("%2$s",this.options.suggestedHeight)+"</div>")[0],priority:-40}))},updateContent:function(){var e=this,t=this.controller.isModeActive("grid")?e.attachmentsNoResults:e.uploader;this.collection.length?(t.$el.addClass("hidden"),e.toolbar.get("spinner").hide()):(this.toolbar.get("spinner").show(),this.dfd=this.collection.more().done(function(){e.collection.length?t.$el.addClass("hidden"):t.$el.removeClass("hidden"),e.toolbar.get("spinner").hide()}))},createUploader:function(){this.uploader=new wp.media.view.UploaderInline({controller:this.controller,status:!1,message:this.controller.isModeActive("grid")?"":n.noItemsFound,canClose:this.controller.isModeActive("grid")}),this.uploader.$el.addClass("hidden"),this.views.add(this.uploader)},toggleUploader:function(){this.uploader.$el.hasClass("hidden")?this.uploader.show():this.uploader.hide()},createAttachmentsWrapperView:function(){this.attachmentsWrapper=new wp.media.View({className:"attachments-wrapper"}),this.views.add(this.attachmentsWrapper),this.createAttachments()},createAttachments:function(){this.attachments=new wp.media.view.Attachments({controller:this.controller,collection:this.collection,selection:this.options.selection,model:this.model,sortable:this.options.sortable,scrollElement:this.options.scrollElement,idealColumnWidth:this.options.idealColumnWidth,AttachmentView:this.options.AttachmentView}),this.controller.on("attachment:keydown:arrow",_.bind(this.attachments.arrowEvent,this.attachments)),this.controller.on("attachment:details:shift-tab",_.bind(this.attachments.restoreFocus,this.attachments)),this.views.add(".attachments-wrapper",this.attachments),this.controller.isModeActive("grid")&&(this.attachmentsNoResults=new s({controller:this.controller,tagName:"p"}),this.attachmentsNoResults.$el.addClass("hidden no-media"),this.attachmentsNoResults.$el.html(n.noMedia),this.views.add(this.attachmentsNoResults))},createLoadMoreView:function(){var e=this;this.loadMoreWrapper=new s({controller:this.controller,className:"load-more-wrapper"}),this.loadMoreCount=new s({controller:this.controller,tagName:"p",className:"load-more-count hidden"}),this.loadMoreButton=new wp.media.view.Button({text:r("Load more"),className:"load-more hidden",style:"primary",size:"",click:function(){e.loadMoreAttachments()}}),this.loadMoreSpinner=new wp.media.view.Spinner,this.loadMoreJumpToFirst=new wp.media.view.Button({text:r("Jump to first loaded item"),className:"load-more-jump hidden",size:"",click:function(){e.jumpToFirstAddedItem()}}),this.views.add(".attachments-wrapper",this.loadMoreWrapper),this.views.add(".load-more-wrapper",this.loadMoreSpinner),this.views.add(".load-more-wrapper",this.loadMoreCount),this.views.add(".load-more-wrapper",this.loadMoreButton),this.views.add(".load-more-wrapper",this.loadMoreJumpToFirst)},updateLoadMoreView:_.debounce(function(){this.loadMoreButton.$el.addClass("hidden"),this.loadMoreCount.$el.addClass("hidden"),this.loadMoreJumpToFirst.$el.addClass("hidden").prop("disabled",!0),this.collection.getTotalAttachments()&&(this.collection.length&&(this.loadMoreCount.$el.text(l(r("Showing %1$s of %2$s media items"),this.collection.length,this.collection.getTotalAttachments())),this.loadMoreCount.$el.removeClass("hidden")),this.collection.hasMore()&&this.loadMoreButton.$el.removeClass("hidden"),this.firstAddedMediaItem=this.$el.find(".attachment").eq(this.firstAddedMediaItemIndex),this.firstAddedMediaItem.length&&(this.firstAddedMediaItem.addClass("new-media"),this.loadMoreJumpToFirst.$el.removeClass("hidden").prop("disabled",!1)),this.firstAddedMediaItem.length&&!this.collection.hasMore()&&this.loadMoreJumpToFirst.$el.trigger("focus"))},10),loadMoreAttachments:function(){var e=this;this.collection.hasMore()&&(this.firstAddedMediaItemIndex=this.collection.length,this.$el.addClass("more-loaded"),this.collection.each(function(e){e=e.attributes.id;a('[data-id="'+e+'"]').addClass("found-media")}),e.loadMoreSpinner.show(),this.collection.once("attachments:received",function(){e.loadMoreSpinner.hide()}),this.collection.more())},jumpToFirstAddedItem:function(){this.firstAddedMediaItem.focus()},createAttachmentsHeading:function(){this.attachmentsHeading=new wp.media.view.Heading({text:n.attachmentsList,level:"h2",className:"media-views-heading screen-reader-text"}),this.views.add(this.attachmentsHeading)},createSidebar:function(){var e=this.options.selection,t=this.sidebar=new wp.media.view.Sidebar({controller:this.controller});this.views.add(t),this.controller.uploader&&t.set("uploads",new wp.media.view.UploaderStatus({controller:this.controller,priority:40})),e.on("selection:single",this.createSingle,this),e.on("selection:unsingle",this.disposeSingle,this),e.single()&&this.createSingle()},createSingle:function(){var e=this.sidebar,t=this.options.selection.single();e.set("details",new wp.media.view.Attachment.Details({controller:this.controller,model:t,priority:80})),e.set("compat",new wp.media.view.AttachmentCompat({controller:this.controller,model:t,priority:120})),this.options.display&&e.set("display",new wp.media.view.Settings.AttachmentDisplay({controller:this.controller,model:this.model.display(t),attachment:t,priority:160,userSettings:this.model.get("displayUserSettings")})),"insert"===this.model.id&&e.$el.addClass("visible")},disposeSingle:function(){var e=this.sidebar;e.unset("details"),e.unset("compat"),e.unset("display"),e.$el.removeClass("visible")}});e.exports=d},"76BF":function(e,t){var i=wp.media.view.Settings.extend({className:"collection-settings playlist-settings",template:wp.template("playlist-settings")});e.exports=i},"7Bpz":function(e,t){var i=wp.media.View,s=i.extend({tagName:"div",className:"uploader-inline",template:wp.template("uploader-inline"),events:{"click .close":"hide"},initialize:function(){_.defaults(this.options,{message:"",status:!0,canClose:!1}),!this.options.$browser&&this.controller.uploader&&(this.options.$browser=this.controller.uploader.$browser),_.isUndefined(this.options.postId)&&(this.options.postId=wp.media.view.settings.post.id),this.options.status&&this.views.set(".upload-inline-status",new wp.media.view.UploaderStatus({controller:this.controller}))},prepare:function(){var e=this.controller.state().get("suggestedWidth"),t=this.controller.state().get("suggestedHeight"),i={};return i.message=this.options.message,i.canClose=this.options.canClose,e&&t&&(i.suggestedWidth=e,i.suggestedHeight=t),i},dispose:function(){return this.disposing?i.prototype.dispose.apply(this,arguments):(this.disposing=!0,this.remove())},remove:function(){var e=i.prototype.remove.apply(this,arguments);return _.defer(_.bind(this.refresh,this)),e},refresh:function(){var e=this.controller.uploader;e&&e.refresh()},ready:function(){var e,t=this.options.$browser;if(this.controller.uploader){if((e=this.$(".browser"))[0]===t[0])return;t.detach().text(e.text()),t[0].className=e[0].className,t[0].setAttribute("aria-labelledby",t[0].id+" "+e[0].getAttribute("aria-labelledby")),e.replaceWith(t.show())}return this.refresh(),this},show:function(){this.$el.removeClass("hidden"),this.controller.$uploaderToggler&&this.controller.$uploaderToggler.length&&this.controller.$uploaderToggler.attr("aria-expanded","true")},hide:function(){this.$el.addClass("hidden"),this.controller.$uploaderToggler&&this.controller.$uploaderToggler.length&&this.controller.$uploaderToggler.attr("aria-expanded","false").trigger("focus")}});e.exports=s},"99yY":function(e,t){var i=wp.media.controller.Library,s=wp.media.view.l10n,o=i.extend({defaults:{id:"gallery-edit",title:s.editGalleryTitle,multiple:!1,searchable:!1,sortable:!0,date:!1,display:!1,content:"browse",toolbar:"gallery-edit",describe:!0,displaySettings:!0,dragInfo:!0,idealColumnWidth:170,editing:!1,priority:60,syncSelection:!1},initialize:function(){this.get("library")||this.set("library",new wp.media.model.Selection),this.get("AttachmentView")||this.set("AttachmentView",wp.media.view.Attachment.EditLibrary),i.prototype.initialize.apply(this,arguments)},activate:function(){this.get("library").props.set("type","image"),this.get("library").observe(wp.Uploader.queue),this.frame.on("content:render:browse",this.gallerySettings,this),i.prototype.activate.apply(this,arguments)},deactivate:function(){this.get("library").unobserve(wp.Uploader.queue),this.frame.off("content:render:browse",this.gallerySettings,this),i.prototype.deactivate.apply(this,arguments)},gallerySettings:function(e){var t;!this.get("displaySettings")||(t=this.get("library"))&&e&&(t.gallery=t.gallery||new Backbone.Model,e.sidebar.set({gallery:new wp.media.view.Settings.Gallery({controller:this,model:t.gallery,priority:40})}),e.toolbar.set("reverse",{text:s.reverseOrder,priority:80,click:function(){t.reset(t.toArray().reverse())}}))}});e.exports=o},"9ARG":function(e,t){var i=wp.media.view.PriorityList.extend({className:"media-sidebar"});e.exports=i},Bbnu:function(e,t){var i=wp.Backbone.View.extend({constructor:function(e){e&&e.controller&&(this.controller=e.controller),wp.Backbone.View.apply(this,arguments)},dispose:function(){return this.undelegateEvents(),this.model&&this.model.off&&this.model.off(null,null,this),this.collection&&this.collection.off&&this.collection.off(null,null,this),this.controller&&this.controller.off&&this.controller.off(null,null,this),this},remove:function(){return this.dispose(),wp.Backbone.View.prototype.remove.apply(this,arguments)}});e.exports=i},EVvK:function(e,t){var i=wp.media.view.Menu,s=i.extend({tagName:"div",className:"media-router",property:"contentMode",ItemView:wp.media.view.RouterItem,region:"router",attributes:{role:"tablist","aria-orientation":"horizontal"},initialize:function(){this.controller.on("content:render",this.update,this),i.prototype.initialize.apply(this,arguments)},update:function(){var e=this.controller.content.mode();e&&this.select(e)}});e.exports=s},EvXF:function(e,t){var i=wp.media.view.Attachment.extend({buttons:{close:!0}});e.exports=i},"F/kE":function(e,t){var i=wp.media.view.l10n,s=window.getUserSetting,o=window.setUserSetting,i=wp.media.controller.State.extend({defaults:{id:"library",title:i.mediaLibraryTitle,multiple:!1,content:"upload",menu:"default",router:"browse",toolbar:"select",searchable:!0,filterable:!1,sortable:!0,autoSelect:!0,describe:!1,contentUserSetting:!0,syncSelection:!0},initialize:function(){var e=this.get("selection");this.get("library")||this.set("library",wp.media.query()),e instanceof wp.media.model.Selection||((e=e)||(e=this.get("library").props.toJSON(),e=_.omit(e,"orderby","query")),this.set("selection",new wp.media.model.Selection(null,{multiple:this.get("multiple"),props:e}))),this.resetDisplays()},activate:function(){this.syncSelection(),wp.Uploader.queue.on("add",this.uploading,this),this.get("selection").on("add remove reset",this.refreshContent,this),this.get("router")&&this.get("contentUserSetting")&&(this.frame.on("content:activate",this.saveContentMode,this),this.set("content",s("libraryContent",this.get("content"))))},deactivate:function(){this.recordSelection(),this.frame.off("content:activate",this.saveContentMode,this),this.get("selection").off(null,null,this),wp.Uploader.queue.off(null,null,this)},reset:function(){this.get("selection").reset(),this.resetDisplays(),this.refreshContent()},resetDisplays:function(){var e=wp.media.view.settings.defaultProps;this._displays=[],this._defaultDisplaySettings={align:s("align",e.align)||"none",size:s("imgsize",e.size)||"medium",link:s("urlbutton",e.link)||"none"}},display:function(e){var t=this._displays;return t[e.cid]||(t[e.cid]=new Backbone.Model(this.defaultDisplaySettings(e))),t[e.cid]},defaultDisplaySettings:function(e){var t=_.clone(this._defaultDisplaySettings);return t.canEmbed=this.canEmbed(e),t.canEmbed?t.link="embed":this.isImageAttachment(e)||"none"!==t.link||(t.link="file"),t},isImageAttachment:function(e){return e.get("uploading")?/\.(jpe?g|png|gif|webp)$/i.test(e.get("filename")):"image"===e.get("type")},canEmbed:function(e){if(!e.get("uploading")){var t=e.get("type");if("audio"!==t&&"video"!==t)return!1}return _.contains(wp.media.view.settings.embedExts,e.get("filename").split(".").pop())},refreshContent:function(){var e=this.get("selection"),t=this.frame,i=t.router.get(),t=t.content.mode();this.active&&!e.length&&i&&!i.get(t)&&this.frame.content.render(this.get("content"))},uploading:function(e){"upload"===this.frame.content.mode()&&this.frame.content.mode("browse"),this.get("autoSelect")&&(this.get("selection").add(e),this.frame.trigger("library:selection:add"))},saveContentMode:function(){var e,t;"browse"===this.get("router")&&(e=this.frame.content.mode(),(t=this.frame.router.get())&&t.get(e)&&o("libraryContent",e))}});_.extend(i.prototype,wp.media.selectionSync),e.exports=i},GXJ6:function(e,t){var i=wp.media.view.Settings.AttachmentDisplay,o=jQuery,s=i.extend({className:"image-details",template:wp.template("image-details"),events:_.defaults(i.prototype.events,{"click .edit-attachment":"editAttachment","click .replace-attachment":"replaceAttachment","click .advanced-toggle":"onToggleAdvanced",'change [data-setting="customWidth"]':"onCustomSize",'change [data-setting="customHeight"]':"onCustomSize",'keyup [data-setting="customWidth"]':"onCustomSize",'keyup [data-setting="customHeight"]':"onCustomSize"}),initialize:function(){this.options.attachment=this.model.attachment,this.listenTo(this.model,"change:url",this.updateUrl),this.listenTo(this.model,"change:link",this.toggleLinkSettings),this.listenTo(this.model,"change:size",this.toggleCustomSize),i.prototype.initialize.apply(this,arguments)},prepare:function(){var e=!1;return this.model.attachment&&(e=this.model.attachment.toJSON()),_.defaults({model:this.model.toJSON(),attachment:e},this.options)},render:function(){var e=arguments;return this.model.attachment&&"pending"===this.model.dfd.state()?this.model.dfd.done(_.bind(function(){i.prototype.render.apply(this,e),this.postRender()},this)).fail(_.bind(function(){this.model.attachment=!1,i.prototype.render.apply(this,e),this.postRender()},this)):(i.prototype.render.apply(this,arguments),this.postRender()),this},postRender:function(){setTimeout(_.bind(this.scrollToTop,this),10),this.toggleLinkSettings(),"show"===window.getUserSetting("advImgDetails")&&this.toggleAdvanced(!0),this.trigger("post-render")},scrollToTop:function(){this.$(".embed-media-settings").scrollTop(0)},updateUrl:function(){this.$(".image img").attr("src",this.model.get("url")),this.$(".url").val(this.model.get("url"))},toggleLinkSettings:function(){"none"===this.model.get("link")?this.$(".link-settings").addClass("hidden"):this.$(".link-settings").removeClass("hidden")},toggleCustomSize:function(){"custom"!==this.model.get("size")?this.$(".custom-size").addClass("hidden"):this.$(".custom-size").removeClass("hidden")},onCustomSize:function(e){var t,i=o(e.target).data("setting"),s=o(e.target).val();!/^\d+/.test(s)||parseInt(s,10)<1?e.preventDefault():"customWidth"===i?(t=Math.round(1/this.model.get("aspectRatio")*s),this.model.set("customHeight",t,{silent:!0}),this.$('[data-setting="customHeight"]').val(t)):(t=Math.round(this.model.get("aspectRatio")*s),this.model.set("customWidth",t,{silent:!0}),this.$('[data-setting="customWidth"]').val(t))},onToggleAdvanced:function(e){e.preventDefault(),this.toggleAdvanced()},toggleAdvanced:function(e){var t=this.$el.find(".advanced-section"),e=t.hasClass("advanced-visible")||!1===e?(t.removeClass("advanced-visible"),t.find(".advanced-settings").addClass("hidden"),"hide"):(t.addClass("advanced-visible"),t.find(".advanced-settings").removeClass("hidden"),"show");window.setUserSetting("advImgDetails",e)},editAttachment:function(e){var t=this.controller.states.get("edit-image");window.imageEdit&&t&&(e.preventDefault(),t.set("image",this.model.attachment),this.controller.setState("edit-image"))},replaceAttachment:function(e){e.preventDefault(),this.controller.setState("replace-image")}});e.exports=s},GXkx:function(e,t){var i=wp.media.View,s=wp.media.view.l10n,o=jQuery,n=i.extend({tagName:"div",className:"uploader-editor",template:wp.template("uploader-editor"),localDrag:!1,overContainer:!1,overDropzone:!1,draggingFile:null,initialize:function(){return this.initialized=!1,window.tinyMCEPreInit&&window.tinyMCEPreInit.dragDropUpload&&this.browserSupport()&&(this.$document=o(document),this.dropzones=[],this.files=[],this.$document.on("drop",".uploader-editor",_.bind(this.drop,this)),this.$document.on("dragover",".uploader-editor",_.bind(this.dropzoneDragover,this)),this.$document.on("dragleave",".uploader-editor",_.bind(this.dropzoneDragleave,this)),this.$document.on("click",".uploader-editor",_.bind(this.click,this)),this.$document.on("dragover",_.bind(this.containerDragover,this)),this.$document.on("dragleave",_.bind(this.containerDragleave,this)),this.$document.on("dragstart dragend drop",_.bind(function(e){this.localDrag="dragstart"===e.type,"drop"===e.type&&this.containerDragleave()},this)),this.initialized=!0),this},browserSupport:function(){var e=document.createElement("div");return("draggable"in e||"ondragstart"in e&&"ondrop"in e)&&!!(window.File&&window.FileList&&window.FileReader)},isDraggingFile:function(e){return null!==this.draggingFile?this.draggingFile:!_.isUndefined(e.originalEvent)&&!_.isUndefined(e.originalEvent.dataTransfer)&&(this.draggingFile=-1<_.indexOf(e.originalEvent.dataTransfer.types,"Files")&&-1===_.indexOf(e.originalEvent.dataTransfer.types,"text/plain"),this.draggingFile)},refresh:function(e){for(var t in this.dropzones)this.dropzones[t].toggle(this.overContainer||this.overDropzone);return _.isUndefined(e)||o(e.target).closest(".uploader-editor").toggleClass("droppable",this.overDropzone),this.overContainer||this.overDropzone||(this.draggingFile=null),this},render:function(){return this.initialized&&(i.prototype.render.apply(this,arguments),o(".wp-editor-wrap").each(_.bind(this.attach,this))),this},attach:function(e,t){var i=this.$el.clone();return this.dropzones.push(i),o(t).append(i),this},drop:function(e){if(this.containerDragleave(e),this.dropzoneDragleave(e),this.files=e.originalEvent.dataTransfer.files,!(this.files.length<1))return 0<(e=o(e.target).parents(".wp-editor-wrap")).length&&e[0].id&&(window.wpActiveEditor=e[0].id.slice(3,-5)),this.workflow?(this.workflow.state().reset(),this.addFiles.apply(this),this.workflow.open()):(this.workflow=wp.media.editor.open(window.wpActiveEditor,{frame:"post",state:"insert",title:s.addMedia,multiple:!0}),(e=this.workflow.uploader).uploader&&e.uploader.ready?this.addFiles.apply(this):this.workflow.on("uploader:ready",this.addFiles,this)),!1},addFiles:function(){return this.files.length&&(this.workflow.uploader.uploader.uploader.addFile(_.toArray(this.files)),this.files=[]),this},containerDragover:function(e){!this.localDrag&&this.isDraggingFile(e)&&(this.overContainer=!0,this.refresh())},containerDragleave:function(){this.overContainer=!1,_.delay(_.bind(this.refresh,this),50)},dropzoneDragover:function(e){if(!this.localDrag&&this.isDraggingFile(e))return this.overDropzone=!0,this.refresh(e),!1},dropzoneDragleave:function(e){this.overDropzone=!1,_.delay(_.bind(this.refresh,this,e),50)},click:function(e){this.containerDragleave(e),this.dropzoneDragleave(e),this.localDrag=!1}});e.exports=n},I7TD:function(e,t){var s=wp.media.model.Attachment,i=wp.media.controller.Library,o=wp.media.view.l10n,o=i.extend({defaults:_.defaults({id:"featured-image",title:o.setFeaturedImageTitle,multiple:!1,filterable:"uploaded",toolbar:"featured-image",priority:60,syncSelection:!0},i.prototype.defaults),initialize:function(){var e,o;this.get("library")||this.set("library",wp.media.query({type:"image"})),i.prototype.initialize.apply(this,arguments),e=this.get("library"),o=e.comparator,e.comparator=function(e,t){var i=!!this.mirroring.get(e.cid),s=!!this.mirroring.get(t.cid);return!i&&s?-1:i&&!s?1:o.apply(this,arguments)},e.observe(this.get("selection"))},activate:function(){this.frame.on("open",this.updateSelection,this),i.prototype.activate.apply(this,arguments)},deactivate:function(){this.frame.off("open",this.updateSelection,this),i.prototype.deactivate.apply(this,arguments)},updateSelection:function(){var e,t=this.get("selection"),i=wp.media.view.settings.post.featuredImageId;""!==i&&-1!==i&&(e=s.get(i)).fetch(),t.reset(e?[e]:[])}});e.exports=o},IgEq:function(e,t){var i=wp.media.view.Toolbar,s=wp.media.view.l10n,o=i.extend({initialize:function(){var e=this.options;_.bindAll(this,"clickSelect"),_.defaults(e,{event:"select",state:!1,reset:!0,close:!0,text:s.select,requires:{selection:!0}}),e.items=_.defaults(e.items||{},{select:{style:"primary",text:e.text,priority:80,click:this.clickSelect,requires:e.requires}}),i.prototype.initialize.apply(this,arguments)},clickSelect:function(){var e=this.options,t=this.controller;e.close&&t.close(),e.event&&t.state().trigger(e.event),e.state&&t.setState(e.state),e.reset&&t.reset()}});e.exports=o},IkWq:function(e,t){var i=wp.media.controller.State,s=wp.media.controller.Library,o=wp.media.view.l10n,o=i.extend({defaults:_.defaults({id:"image-details",title:o.imageDetailsTitle,content:"image-details",menu:!1,router:!1,toolbar:"image-details",editing:!1,priority:60},s.prototype.defaults),initialize:function(e){this.image=e.image,i.prototype.initialize.apply(this,arguments)},activate:function(){this.frame.modal.$el.addClass("image-details")}});e.exports=o},JecU:function(e,t){var i=jQuery,s=wp.media.view.Settings.extend({className:"embed-link-settings",template:wp.template("embed-link-settings"),initialize:function(){this.listenTo(this.model,"change:url",this.updateoEmbed)},updateoEmbed:_.debounce(function(){var e=this.model.get("url");this.$(".embed-container").hide().find(".embed-preview").empty(),this.$(".setting").hide(),e&&(e.length<11||!e.match(/^http(s)?:\/\//))||this.fetch()},wp.media.controller.Embed.sensitivity),fetch:function(){var e,t=this.model.get("url");i("#embed-url-field").val()===t&&(this.dfd&&"pending"===this.dfd.state()&&this.dfd.abort(),(e=/https?:\/\/www\.youtube\.com\/embed\/([^/]+)/.exec(t))&&(t="https://www.youtube.com/watch?v="+e[1]),this.dfd=wp.apiRequest({url:wp.media.view.settings.oEmbedProxyUrl,data:{url:t,maxwidth:this.model.get("width"),maxheight:this.model.get("height")},type:"GET",dataType:"json",context:this}).done(function(e){this.renderoEmbed({data:{body:e.html||""}})}).fail(this.renderFail))},renderFail:function(e,t){"abort"!==t&&this.$(".link-text").show()},renderoEmbed:function(e){e=e&&e.data&&e.data.body||"";e?this.$(".embed-container").show().find(".embed-preview").html(e):this.renderFail()}});e.exports=s},Ju2C:function(e,t){var i=wp.media.view.MenuItem,s=wp.media.view.PriorityList,i=s.extend({tagName:"div",className:"media-menu",property:"state",ItemView:i,region:"menu",attributes:{role:"tablist","aria-orientation":"horizontal"},initialize:function(){this._views={},this.set(_.extend({},this._views,this.options.views),{silent:!0}),delete this.options.views,this.options.silent||this.render(),this.focusManager=new wp.media.view.FocusManager({el:this.el,mode:"tabsNavigation"}),this.isVisible=!0},toView:function(e,t){return(e=e||{})[this.property]=e[this.property]||t,new this.ItemView(e).render()},ready:function(){s.prototype.ready.apply(this,arguments),this.visibility(),this.focusManager.setupAriaTabs()},set:function(){s.prototype.set.apply(this,arguments),this.visibility()},unset:function(){s.prototype.unset.apply(this,arguments),this.visibility()},visibility:function(){var e=this.region,t=this.controller[e].get(),i=this.views.get(),i=!i||i.length<2;this===t&&(this.isVisible=!i,this.controller.$el.toggleClass("hide-"+e,i))},select:function(e){e=this.get(e);e&&(this.deselect(),e.$el.addClass("active"),this.focusManager.setupAriaTabs())},deselect:function(){this.$el.children().removeClass("active")},hide:function(e){e=this.get(e);e&&e.$el.addClass("hidden")},show:function(e){e=this.get(e);e&&e.$el.removeClass("hidden")}});e.exports=i},KerO:function(e,t){var s=wp.media.view.l10n,i=wp.media.view.AttachmentFilters.extend({createFilters:function(){var i={},e=window.userSettings?parseInt(window.userSettings.uid,10):0;_.each(wp.media.view.settings.mimeTypes||{},function(e,t){i[t]={text:e,props:{status:null,type:t,uploadedTo:null,orderby:"date",order:"DESC",author:null}}}),i.all={text:s.allMediaItems,props:{status:null,type:null,uploadedTo:null,orderby:"date",order:"DESC",author:null},priority:10},wp.media.view.settings.post.id&&(i.uploaded={text:s.uploadedToThisPost,props:{status:null,type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC",author:null},priority:20}),i.unattached={text:s.unattached,props:{status:null,uploadedTo:0,type:null,orderby:"menuOrder",order:"ASC",author:null},priority:50},e&&(i.mine={text:s.mine,props:{status:null,type:null,uploadedTo:null,orderby:"date",order:"DESC",author:e},priority:50}),wp.media.view.settings.mediaTrash&&this.controller.isModeActive("grid")&&(i.trash={text:s.trash,props:{uploadedTo:null,status:"trash",type:null,orderby:"date",order:"DESC",author:null},priority:50}),this.filters=i}});e.exports=i},LGdN:function(e,t){var i=wp.media.View.extend({initialize:function(){_.defaults(this.options,{mode:["select"]}),this._createRegions(),this._createStates(),this._createModes()},_createRegions:function(){this.regions=this.regions?this.regions.slice():[],_.each(this.regions,function(e){this[e]=new wp.media.controller.Region({view:this,id:e,selector:".media-frame-"+e})},this)},_createStates:function(){this.states=new Backbone.Collection(null,{model:wp.media.controller.State}),this.states.on("add",function(e){e.frame=this,e.trigger("ready")},this),this.options.states&&this.states.add(this.options.states)},_createModes:function(){this.activeModes=new Backbone.Collection,this.activeModes.on("add remove reset",_.bind(this.triggerModeEvents,this)),_.each(this.options.mode,function(e){this.activateMode(e)},this)},reset:function(){return this.states.invoke("trigger","reset"),this},triggerModeEvents:function(e,t,i){var s,o={add:"activate",remove:"deactivate"};_.each(i,function(e,t){e&&(s=t)}),_.has(o,s)&&(i=e.get("id")+":"+o[s],this.trigger(i))},activateMode:function(e){if(!this.isModeActive(e))return this.activeModes.add([{id:e}]),this.$el.addClass("mode-"+e),this},deactivateMode:function(e){return this.isModeActive(e)&&(this.activeModes.remove(this.activeModes.where({id:e})),this.$el.removeClass("mode-"+e),this.trigger(e+":deactivate")),this},isModeActive:function(e){return Boolean(this.activeModes.where({id:e}).length)}});_.extend(i.prototype,wp.media.controller.StateMachine.prototype),e.exports=i},LND6:function(e,t){var i=wp.media.View,s=i.extend({tagName:"form",className:"compat-item",events:{submit:"preventDefault","change input":"save","change select":"save","change textarea":"save"},initialize:function(){this.listenTo(this.model,"change:compat",this.render)},dispose:function(){return this.$(":focus").length&&this.save(),i.prototype.dispose.apply(this,arguments)},render:function(){var e=this.model.get("compat");if(e&&e.item)return this.views.detach(),this.$el.html(e.item),this.views.render(),this},preventDefault:function(e){e.preventDefault()},save:function(e){var t={};e&&e.preventDefault(),_.each(this.$el.serializeArray(),function(e){t[e.name]=e.value}),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(t).always(_.bind(this.postSave,this))},postSave:function(){this.controller.trigger("attachment:compat:ready",["ready"])}});e.exports=s},LZpE:function(e,t){var i=wp.media.View.extend({tagName:"button",className:"media-button",attributes:{type:"button"},events:{click:"click"},defaults:{text:"",style:"",size:"large",disabled:!1},initialize:function(){this.model=new Backbone.Model(this.defaults),_.each(this.defaults,function(e,t){var i=this.options[t];_.isUndefined(i)||(this.model.set(t,i),delete this.options[t])},this),this.listenTo(this.model,"change",this.render)},render:function(){var e=["button",this.className],t=this.model.toJSON();return t.style&&e.push("button-"+t.style),t.size&&e.push("button-"+t.size),e=_.uniq(e.concat(this.options.classes)),this.el.className=e.join(" "),this.$el.attr("disabled",t.disabled),this.$el.text(this.model.get("text")),this},click:function(e){"#"===this.attributes.href&&e.preventDefault(),this.options.click&&!this.model.get("disabled")&&this.options.click.apply(this,arguments)}});e.exports=i},"M+xU":function(e,t){var i=wp.media.view.l10n,s=wp.media.controller.State.extend({defaults:{id:"cropper",title:i.cropImage,toolbar:"crop",content:"crop",router:!1,canSkipCrop:!1,doCropArgs:{}},activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},deactivate:function(){this.frame.toolbar.mode("browse")},createCropContent:function(){this.cropperView=new wp.media.view.Cropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},removeCropper:function(){this.imgSelect.cancelSelection(),this.imgSelect.setOptions({remove:!0}),this.imgSelect.update(),this.cropperView.remove()},createCropToolbar:function(){var e=this.get("canSkipCrop")||!1,t={controller:this.frame,items:{insert:{style:"primary",text:i.cropImage,priority:80,requires:{library:!1,selection:!1},click:function(){var t=this.controller,e=t.state().get("selection").first();e.set({cropDetails:t.state().imgSelect.getSelection()}),this.$el.text(i.cropping),this.$el.attr("disabled",!0),t.state().doCrop(e).done(function(e){t.trigger("cropped",e),t.close()}).fail(function(){t.trigger("content:error:crop")})}}}};e&&_.extend(t.items,{skip:{style:"secondary",text:i.skipCropping,priority:70,requires:{library:!1,selection:!1},click:function(){var e=this.controller.state().get("selection").first();this.controller.state().cropperView.remove(),this.controller.trigger("skippedcrop",e),this.controller.close()}}}),this.frame.toolbar.set(new wp.media.view.Toolbar(t))},doCrop:function(e){return wp.ajax.post("custom-header-crop",_.extend({},this.defaults.doCropArgs,{nonce:e.get("nonces").edit,id:e.get("id"),cropDetails:e.get("cropDetails")}))}});e.exports=s},M5ZC:function(e,t){var i=Backbone.Model.extend({constructor:function(){this.on("activate",this._preActivate,this),this.on("activate",this.activate,this),this.on("activate",this._postActivate,this),this.on("deactivate",this._deactivate,this),this.on("deactivate",this.deactivate,this),this.on("reset",this.reset,this),this.on("ready",this._ready,this),this.on("ready",this.ready,this),Backbone.Model.apply(this,arguments),this.on("change:menu",this._updateMenu,this)},ready:function(){},activate:function(){},deactivate:function(){},reset:function(){},_ready:function(){this._updateMenu()},_preActivate:function(){this.active=!0},_postActivate:function(){this.on("change:menu",this._menu,this),this.on("change:titleMode",this._title,this),this.on("change:content",this._content,this),this.on("change:toolbar",this._toolbar,this),this.frame.on("title:render:default",this._renderTitle,this),this._title(),this._menu(),this._toolbar(),this._content(),this._router()},_deactivate:function(){this.active=!1,this.frame.off("title:render:default",this._renderTitle,this),this.off("change:menu",this._menu,this),this.off("change:titleMode",this._title,this),this.off("change:content",this._content,this),this.off("change:toolbar",this._toolbar,this)},_title:function(){this.frame.title.render(this.get("titleMode")||"default")},_renderTitle:function(e){e.$el.text(this.get("title")||"")},_router:function(){var e=this.frame.router,t=this.get("router");this.frame.$el.toggleClass("hide-router",!t),t&&(this.frame.router.render(t),(t=e.get())&&t.select&&t.select(this.frame.content.mode()))},_menu:function(){var e=this.frame.menu,t=this.get("menu");this.frame.$el.toggleClass("hide-menu",!t),t&&(e.mode(t),(t=e.get())&&t.select&&t.select(this.id))},_updateMenu:function(){var e=this.previous("menu"),t=this.get("menu");e&&this.frame.off("menu:render:"+e,this._renderMenu,this),t&&this.frame.on("menu:render:"+t,this._renderMenu,this)},_renderMenu:function(e){var t=this.get("menuItem"),i=this.get("title"),s=this.get("priority");!t&&i&&(t={text:i},s&&(t.priority=s)),t&&e.set(this.id,t)}});_.each(["toolbar","content"],function(t){i.prototype["_"+t]=function(){var e=this.get(t);e&&this.frame[t].render(e)}}),e.exports=i},"Mt+m":function(e,t){var i=wp.media.controller.Library,a=wp.media.view.l10n,r=jQuery,s=i.extend({defaults:{multiple:!1,sortable:!0,date:!1,searchable:!1,content:"browse",describe:!0,dragInfo:!0,idealColumnWidth:170,editing:!1,priority:60,SettingsView:!1,syncSelection:!1},initialize:function(){var e=this.get("collectionType");"video"===this.get("type")&&(e="video-"+e),this.set("id",e+"-edit"),this.set("toolbar",e+"-edit"),this.get("library")||this.set("library",new wp.media.model.Selection),this.get("AttachmentView")||this.set("AttachmentView",wp.media.view.Attachment.EditLibrary),i.prototype.initialize.apply(this,arguments)},activate:function(){this.get("library").props.set("type",this.get("type")),this.get("library").observe(wp.Uploader.queue),this.frame.on("content:render:browse",this.renderSettings,this),i.prototype.activate.apply(this,arguments)},deactivate:function(){this.get("library").unobserve(wp.Uploader.queue),this.frame.off("content:render:browse",this.renderSettings,this),i.prototype.deactivate.apply(this,arguments)},renderSettings:function(e){var t=this.get("library"),i=this.get("collectionType"),s=this.get("dragInfoText"),o=this.get("SettingsView"),n={};t&&e&&(t[i]=t[i]||new Backbone.Model,n[i]=new o({controller:this,model:t[i],priority:40}),e.sidebar.set(n),s&&e.toolbar.set("dragInfo",new wp.media.View({el:r('<div class="instructions">'+s+"</div>")[0],priority:-40})),e.toolbar.set("reverse",{text:a.reverseOrder,priority:80,click:function(){t.reset(t.toArray().reverse())}}))}});e.exports=s},NguE:function(e,t){var i=wp.media.View,s=i.extend({className:"media-uploader-status",template:wp.template("uploader-status"),events:{"click .upload-dismiss-errors":"dismiss"},initialize:function(){this.queue=wp.Uploader.queue,this.queue.on("add remove reset",this.visibility,this),this.queue.on("add remove reset change:percent",this.progress,this),this.queue.on("add remove reset change:uploading",this.info,this),this.errors=wp.Uploader.errors,this.errors.reset(),this.errors.on("add remove reset",this.visibility,this),this.errors.on("add",this.error,this)},dispose:function(){return wp.Uploader.queue.off(null,null,this),i.prototype.dispose.apply(this,arguments),this},visibility:function(){this.$el.toggleClass("uploading",!!this.queue.length),this.$el.toggleClass("errors",!!this.errors.length),this.$el.toggle(!!this.queue.length||!!this.errors.length)},ready:function(){_.each({$bar:".media-progress-bar div",$index:".upload-index",$total:".upload-total",$filename:".upload-filename"},function(e,t){this[t]=this.$(e)},this),this.visibility(),this.progress(),this.info()},progress:function(){var e=this.queue,t=this.$bar;t&&e.length&&t.width(e.reduce(function(e,t){if(!t.get("uploading"))return e+100;t=t.get("percent");return e+(_.isNumber(t)?t:100)},0)/e.length+"%")},info:function(){var e,t=this.queue,i=0;t.length&&(e=this.queue.find(function(e,t){return i=t,e.get("uploading")}),this.$index&&this.$total&&this.$filename&&(this.$index.text(i+1),this.$total.text(t.length),this.$filename.html(e?this.filename(e.get("filename")):"")))},filename:function(e){return _.escape(e)},error:function(e){var t=new wp.media.view.UploaderStatusError({filename:this.filename(e.get("file").name),message:e.get("message")}),i=this.$el.find("button");this.views.add(".upload-errors",t,{at:0}),_.delay(function(){i.trigger("focus"),wp.a11y.speak(e.get("message"),"assertive")},1e3)},dismiss:function(){var e=this.views.get(".upload-errors");e&&_.invoke(e,"remove"),wp.Uploader.errors.reset(),this.controller.modal&&this.controller.modal.focusManager.focus()}});e.exports=s},NjyZ:function(e,t){var i=wp.media.View.extend({tagName:"div",initialize:function(){this._views={},this.set(_.extend({},this._views,this.options.views),{silent:!0}),delete this.options.views,this.options.silent||this.render()},set:function(e,t,i){var s,o;return i=i||{},_.isObject(e)?_.each(e,function(e,t){this.set(t,e)},this):((t=t instanceof Backbone.View?t:this.toView(t,e,i)).controller=t.controller||this.controller,this.unset(e),s=t.options.priority||10,i=this.views.get()||[],_.find(i,function(e,t){if(e.options.priority>s)return o=t,!0}),this._views[e]=t,this.views.add(t,{at:_.isNumber(o)?o:i.length||0})),this},get:function(e){return this._views[e]},unset:function(e){var t=this.get(e);return t&&t.remove(),delete this._views[e],this},toView:function(e){return new wp.media.View(e)}});e.exports=i},P6DV:function(e,t){var i=wp.media.view.Attachment.Selection.extend({buttons:{close:!0}});e.exports=i},PgTd:function(e,t){e.exports={syncSelection:function(){var e=this.get("selection"),t=this.frame._selection;this.get("syncSelection")&&t&&e&&(e.multiple&&(e.reset([],{silent:!0}),e.validateAll(t.attachments),t.difference=_.difference(t.attachments.models,e.models)),e.single(t.single))},recordSelection:function(){var e=this.get("selection"),t=this.frame._selection;this.get("syncSelection")&&t&&e&&(e.multiple?(t.attachments.reset(e.toArray().concat(t.difference)),t.difference=[]):t.attachments.add(e.toArray()),t.single=e._single)}}},Pt9x:function(e,t){var i=wp.media.view.Frame,s=wp.media.view.l10n,o=jQuery,n=i.extend({className:"media-frame",template:wp.template("media-frame"),regions:["menu","title","content","toolbar","router"],events:{"click .media-frame-menu-toggle":"toggleMenu"},initialize:function(){i.prototype.initialize.apply(this,arguments),_.defaults(this.options,{title:s.mediaFrameDefaultTitle,modal:!0,uploader:!0}),this.$el.addClass("wp-core-ui"),this.options.modal&&(this.modal=new wp.media.view.Modal({controller:this,title:this.options.title}),this.modal.content(this)),!wp.Uploader.limitExceeded&&wp.Uploader.browser.supported||(this.options.uploader=!1),this.options.uploader&&(this.uploader=new wp.media.view.UploaderWindow({controller:this,uploader:{dropzone:(this.modal||this).$el,container:this.$el}}),this.views.set(".media-frame-uploader",this.uploader)),this.on("attach",_.bind(this.views.ready,this.views),this),this.on("title:create:default",this.createTitle,this),this.title.mode("default"),this.on("menu:create:default",this.createMenu,this),this.on("open",this.setMenuTabPanelAriaAttributes,this),this.on("open",this.setRouterTabPanelAriaAttributes,this),this.on("content:render",this.setMenuTabPanelAriaAttributes,this),this.on("content:render",this.setRouterTabPanelAriaAttributes,this)},setMenuTabPanelAriaAttributes:function(){var e=this.state().get("id"),t=this.$el.find(".media-frame-tab-panel");t.removeAttr("role aria-labelledby tabindex"),this.state().get("menu")&&this.menuView&&this.menuView.isVisible&&t.attr({role:"tabpanel","aria-labelledby":"menu-item-"+e,tabIndex:"0"})},setRouterTabPanelAriaAttributes:function(){var e,t=this.$el.find(".media-frame-content");t.removeAttr("role aria-labelledby tabindex"),this.state().get("router")&&this.routerView&&this.routerView.isVisible&&this.content._mode&&(e="menu-item-"+this.content._mode,t.attr({role:"tabpanel","aria-labelledby":e,tabIndex:"0"}))},render:function(){return!this.state()&&this.options.state&&this.setState(this.options.state),i.prototype.render.apply(this,arguments)},createTitle:function(e){e.view=new wp.media.View({controller:this,tagName:"h1"})},createMenu:function(e){e.view=new wp.media.view.Menu({controller:this,attributes:{role:"tablist","aria-orientation":"vertical"}}),this.menuView=e.view},toggleMenu:function(e){var t=this.$el.find(".media-menu");t.toggleClass("visible"),o(e.target).attr("aria-expanded",t.hasClass("visible"))},createToolbar:function(e){e.view=new wp.media.view.Toolbar({controller:this})},createRouter:function(e){e.view=new wp.media.view.Router({controller:this,attributes:{role:"tablist","aria-orientation":"horizontal"}}),this.routerView=e.view},createIframeStates:function(i){var e=wp.media.view.settings,t=e.tabs,s=e.tabUrl;t&&s&&((e=o("#post_ID")).length&&(s+="&post_id="+e.val()),_.each(t,function(e,t){this.state("iframe:"+t).set(_.defaults({tab:t,src:s+"&tab="+t,title:e,content:"iframe",menu:"default"},i))},this),this.on("content:create:iframe",this.iframeContent,this),this.on("content:deactivate:iframe",this.iframeContentCleanup,this),this.on("menu:render:default",this.iframeMenu,this),this.on("open",this.hijackThickbox,this),this.on("close",this.restoreThickbox,this))},iframeContent:function(e){this.$el.addClass("hide-toolbar"),e.view=new wp.media.view.Iframe({controller:this})},iframeContentCleanup:function(){this.$el.removeClass("hide-toolbar")},iframeMenu:function(e){var i={};e&&(_.each(wp.media.view.settings.tabs,function(e,t){i["iframe:"+t]={text:this.state("iframe:"+t).get("title"),priority:200}},this),e.set(i))},hijackThickbox:function(){var e=this;window.tb_remove&&!this._tb_remove&&(this._tb_remove=window.tb_remove,window.tb_remove=function(){e.close(),e.reset(),e.setState(e.options.state),e._tb_remove.call(window)})},restoreThickbox:function(){this._tb_remove&&(window.tb_remove=this._tb_remove,delete this._tb_remove)}});_.each(["open","close","attach","detach","escape"],function(e){n.prototype[e]=function(){return this.modal&&this.modal[e].apply(this.modal,arguments),this}}),e.exports=n},"Q9T/":function(e,t){var i=wp.media.view.MenuItem.extend({click:function(){var e=this.options.contentMode;e&&this.controller.content.mode(e)}});e.exports=i},S4jH:function(e,t){var i=jQuery,s=wp.media.View.extend({tagName:"div",className:"uploader-window",template:wp.template("uploader-window"),initialize:function(){var e;this.$browser=i('<button type="button" class="browser" />').hide().appendTo("body"),!(e=this.options.uploader=_.defaults(this.options.uploader||{},{dropzone:this.$el,browser:this.$browser,params:{}})).dropzone||e.dropzone instanceof i||(e.dropzone=i(e.dropzone)),this.controller.on("activate",this.refresh,this),this.controller.on("detach",function(){this.$browser.remove()},this)},refresh:function(){this.uploader&&this.uploader.refresh()},ready:function(){var e=wp.media.view.settings.post.id;this.uploader||(e&&(this.options.uploader.params.post_id=e),this.uploader=new wp.Uploader(this.options.uploader),(e=this.uploader.dropzone).on("dropzone:enter",_.bind(this.show,this)),e.on("dropzone:leave",_.bind(this.hide,this)),i(this.uploader).on("uploader:ready",_.bind(this._ready,this)))},_ready:function(){this.controller.trigger("uploader:ready")},show:function(){var e=this.$el.show();_.defer(function(){e.css({opacity:1})})},hide:function(){var e=this.$el.css({opacity:0});wp.media.transition(e).done(function(){"0"===e.css("opacity")&&e.hide()}),_.delay(function(){"0"===e.css("opacity")&&e.is(":visible")&&e.hide()},500)}});e.exports=s},U3Se:function(e,t){function i(){return{extend:Backbone.Model.extend}}_.extend(i.prototype,Backbone.Events,{state:function(e){return this.states=this.states||new Backbone.Collection,(e=e||this._state)&&!this.states.get(e)&&this.states.add({id:e}),this.states.get(e)},setState:function(e){var t=this.state();return t&&e===t.id||!this.states||!this.states.get(e)||(t&&(t.trigger("deactivate"),this._lastState=t.id),this._state=e,this.state().trigger("activate")),this},lastState:function(){if(this._lastState)return this.state(this._lastState)}}),_.each(["on","off","trigger"],function(e){i.prototype[e]=function(){return this.states=this.states||new Backbone.Collection,this.states[e].apply(this.states,arguments),this}}),e.exports=i},UmHM:function(e,t){var i=wp.media.view,s=i.Cropper.extend({className:"crop-content site-icon",ready:function(){i.Cropper.prototype.ready.apply(this,arguments),this.$(".crop-image").on("load",_.bind(this.addSidebar,this))},addSidebar:function(){this.sidebar=new wp.media.view.Sidebar({controller:this.controller}),this.sidebar.set("preview",new wp.media.view.SiteIconPreview({controller:this.controller,attachment:this.options.attachment})),this.controller.cropperView.views.add(this.sidebar)}});e.exports=s},V6sy:function(e,t){var i=wp.media.View.extend({tagName:"label",className:"screen-reader-text",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}});e.exports=i},VIJ9:function(e,t){var i=wp.media.view.MediaFrame.Select,s=wp.media.view.l10n,o=i.extend({defaults:{id:"image",url:"",menu:"image-details",content:"image-details",toolbar:"image-details",type:"link",title:s.imageDetailsTitle,priority:120},initialize:function(e){this.image=new wp.media.model.PostImage(e.metadata),this.options.selection=new wp.media.model.Selection(this.image.attachment,{multiple:!1}),i.prototype.initialize.apply(this,arguments)},bindHandlers:function(){i.prototype.bindHandlers.apply(this,arguments),this.on("menu:create:image-details",this.createMenu,this),this.on("content:create:image-details",this.imageDetailsContent,this),this.on("content:render:edit-image",this.editImageContent,this),this.on("toolbar:render:image-details",this.renderImageDetailsToolbar,this),this.on("toolbar:render:replace",this.renderReplaceImageToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.ImageDetails({image:this.image,editable:!1}),new wp.media.controller.ReplaceImage({id:"replace-image",library:wp.media.query({type:"image"}),image:this.image,multiple:!1,title:s.imageReplaceTitle,toolbar:"replace",priority:80,displaySettings:!0}),new wp.media.controller.EditImage({image:this.image,selection:this.options.selection})])},imageDetailsContent:function(e){e.view=new wp.media.view.ImageDetails({controller:this,model:this.state().image,attachment:this.state().image.attachment})},editImageContent:function(){var e=this.state().get("image");e&&(e=new wp.media.view.EditImage({model:e,controller:this}).render(),this.content.set(e),e.loadEditor())},renderImageDetailsToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{select:{style:"primary",text:s.update,priority:80,click:function(){var e=this.controller,t=e.state();e.close(),t.trigger("update",e.image.toJSON()),e.setState(e.options.state),e.reset()}}}}))},renderReplaceImageToolbar:function(){var e=this,t=e.lastState(),i=t&&t.id;this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{back:{text:s.back,priority:80,click:function(){i?e.setState(i):e.close()}},replace:{style:"primary",text:s.replace,priority:20,requires:{selection:!0},click:function(){var e=this.controller,t=e.state(),i=t.get("selection").single();e.close(),e.image.changeAttachment(i,t.display(i)),t.trigger("replace",e.image.toJSON()),e.setState(e.options.state),e.reset()}}}}))}});e.exports=o},VMHs:function(e,t){var i=wp.media.View.extend({className:"media-embed",initialize:function(){this.url=new wp.media.view.EmbedUrl({controller:this.controller,model:this.model.props}).render(),this.views.set([this.url]),this.refresh(),this.listenTo(this.model,"change:type",this.refresh),this.listenTo(this.model,"change:loading",this.loading)},settings:function(e){this._settings&&this._settings.remove(),this._settings=e,this.views.add(e)},refresh:function(){var e,t=this.model.get("type");if("image"===t)e=wp.media.view.EmbedImage;else{if("link"!==t)return;e=wp.media.view.EmbedLink}this.settings(new e({controller:this.controller,model:this.model.props,priority:40}))},loading:function(){this.$el.toggleClass("embed-loading",this.model.get("loading"))}});e.exports=i},Vh02:function(e,t){var i=wp.media.View,s=wp.media.view.UploaderStatus,o=wp.media.view.l10n,n=jQuery,a=i.extend({className:"crop-content",template:wp.template("crop-content"),initialize:function(){_.bindAll(this,"onImageLoad")},ready:function(){this.controller.frame.on("content:error:crop",this.onError,this),this.$image=this.$el.find(".crop-image"),this.$image.on("load",this.onImageLoad),n(window).on("resize.cropper",_.debounce(this.onImageLoad,250))},remove:function(){n(window).off("resize.cropper"),this.$el.remove(),this.$el.off(),i.prototype.remove.apply(this,arguments)},prepare:function(){return{title:o.cropYourImage,url:this.options.attachment.get("url")}},onImageLoad:function(){var i,e=this.controller.get("imgSelectOptions");"function"==typeof e&&(e=e(this.options.attachment,this.controller)),e=_.extend(e,{parent:this.$el,onInit:function(){var t=i.getOptions().aspectRatio;this.parent.children().on("mousedown touchstart",function(e){!t&&e.shiftKey&&i.setOptions({aspectRatio:"1:1"})}),this.parent.children().on("mouseup touchend",function(){i.setOptions({aspectRatio:t||!1})})}}),this.trigger("image-loaded"),i=this.controller.imgSelect=this.$image.imgAreaSelect(e)},onError:function(){var e=this.options.attachment.get("filename");this.views.add(".upload-errors",new wp.media.view.UploaderStatusError({filename:s.prototype.filename(e),message:window._wpMediaViewsL10n.cropError}),{at:0})}});e.exports=a},VkcK:function(e,t){var s=wp.media.view.l10n,i=wp.media.view.AttachmentFilters.extend({id:"media-attachment-date-filters",createFilters:function(){var i={};_.each(wp.media.view.settings.months||{},function(e,t){i[t]={text:e.text,props:{year:e.year,monthnum:e.month}}}),i.all={text:s.allDates,props:{monthnum:!1,year:!1},priority:10},this.filters=i}});e.exports=i},"W+32":function(e,t){var i=wp.media.controller.Cropper.extend({activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},createCropContent:function(){this.cropperView=new wp.media.view.SiteIconCropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},doCrop:function(e){var t=e.get("cropDetails"),i=this.get("control");return t.dst_width=i.params.width,t.dst_height=i.params.height,wp.ajax.post("crop-image",{nonce:e.get("nonces").edit,id:e.get("id"),context:"site-icon",cropDetails:t})}});e.exports=i},WiNq:function(e,t){function i(e){_.extend(this,_.pick(e||{},"id","view","selector"))}i.extend=Backbone.Model.extend,_.extend(i.prototype,{mode:function(e){return e?(e===this._mode||(this.trigger("deactivate"),this._mode=e,this.render(e),this.trigger("activate")),this):this._mode},render:function(e){if(e&&e!==this._mode)return this.mode(e);var e={view:null};return this.trigger("create",e),this.trigger("render",e=e.view),e&&this.set(e),this},get:function(){return this.view.views.first(this.selector)},set:function(e,t){return t&&(t.add=!1),this.view.views.set(this.selector,e,t)},trigger:function(e){var t,i;if(this._mode)return i=_.toArray(arguments),t=this.id+":"+e,i[0]=t+":"+this._mode,this.view.trigger.apply(this.view,i),i[0]=t,this.view.trigger.apply(this.view,i),this}}),e.exports=i},ZeG4:function(e,t){var i=wp.media.View.extend({className:"upload-error",template:wp.template("uploader-status-error")});e.exports=i},ZgZ7:function(e,t){var i=wp.media.View.extend({tagName:"input",className:"search",id:"media-search-input",attributes:{type:"search"},events:{input:"search"},render:function(){return this.el.value=this.model.escape("search"),this},search:_.debounce(function(e){e=e.target.value.trim();e&&1<e.length?this.model.set("search",e):this.model.unset("search")},500)});e.exports=i},aBqq:function(e,t){var i=wp.media.controller.Library,s=wp.media.view.l10n,s=i.extend({defaults:_.defaults({id:"replace-image",title:s.replaceImageTitle,multiple:!1,filterable:"uploaded",toolbar:"replace",menu:!1,priority:60,syncSelection:!0},i.prototype.defaults),initialize:function(e){var t,o;this.image=e.image,this.get("library")||this.set("library",wp.media.query({type:"image"})),i.prototype.initialize.apply(this,arguments),t=this.get("library"),o=t.comparator,t.comparator=function(e,t){var i=!!this.mirroring.get(e.cid),s=!!this.mirroring.get(t.cid);return!i&&s?-1:i&&!s?1:o.apply(this,arguments)},t.observe(this.get("selection"))},activate:function(){this.frame.on("content:render:browse",this.updateSelection,this),i.prototype.activate.apply(this,arguments)},deactivate:function(){this.frame.off("content:render:browse",this.updateSelection,this),i.prototype.deactivate.apply(this,arguments)},updateSelection:function(){var e=this.get("selection"),t=this.image.attachment;e.reset(t?[t]:[])}});e.exports=s},cH3P:function(e,t){var i=wp.media.View.extend({tagName:"span",className:"spinner",spinnerTimeout:!1,delay:400,show:function(){return this.spinnerTimeout||(this.spinnerTimeout=_.delay(function(e){e.addClass("is-active")},this.delay,this.$el)),this},hide:function(){return this.$el.removeClass("is-active"),this.spinnerTimeout=clearTimeout(this.spinnerTimeout),this}});e.exports=i},d3xu:function(e,t){var i=wp.media.View,a=jQuery,i=i.extend({className:"site-icon-preview",template:wp.template("site-icon-preview"),ready:function(){this.controller.imgSelect.setOptions({onInit:this.updatePreview,onSelectChange:this.updatePreview})},prepare:function(){return{url:this.options.attachment.get("url")}},updatePreview:function(e,t){var i=64/t.width,s=64/t.height,o=16/t.width,n=16/t.height;a("#preview-app-icon").css({width:Math.round(i*this.imageWidth)+"px",height:Math.round(s*this.imageHeight)+"px",marginLeft:"-"+Math.round(i*t.x1)+"px",marginTop:"-"+Math.round(s*t.y1)+"px"}),a("#preview-favicon").css({width:Math.round(o*this.imageWidth)+"px",height:Math.round(n*this.imageHeight)+"px",marginLeft:"-"+Math.round(o*t.x1)+"px",marginTop:"-"+Math.floor(n*t.y1)+"px"})}});e.exports=i},dpRc:function(e,t){var i=wp.media.View.extend({tagName:"button",className:"media-menu-item",attributes:{type:"button",role:"tab"},events:{click:"_click"},_click:function(){var e=this.options.click;e?e.call(this):this.click()},click:function(){var e=this.options.state;e&&(this.controller.setState(e),this.views.parent.$el.removeClass("visible"))},render:function(){var e=this.options,t=e.state||e.contentMode;return e.text?this.$el.text(e.text):e.html&&this.$el.html(e.html),this.$el.attr("id","menu-item-"+t),this}});e.exports=i},eqTc:function(e,t){var i=wp.media.controller.Cropper.extend({doCrop:function(e){var t=e.get("cropDetails"),i=this.get("control"),s=t.width/t.height;return i.params.flex_width&&i.params.flex_height?(t.dst_width=t.width,t.dst_height=t.height):(t.dst_width=i.params.flex_width?i.params.height*s:i.params.width,t.dst_height=i.params.flex_height?i.params.width/s:i.params.height),wp.ajax.post("crop-image",{wp_customize:"on",nonce:e.get("nonces").edit,id:e.get("id"),context:i.id,cropDetails:t})}});e.exports=i},fYN4:function(e,t){var i=wp.media.view.MediaFrame,s=wp.media.view.l10n,o=i.extend({initialize:function(){i.prototype.initialize.apply(this,arguments),_.defaults(this.options,{selection:[],library:{},multiple:!1,state:"library"}),this.createSelection(),this.createStates(),this.bindHandlers()},createSelection:function(){var e=this.options.selection;e instanceof wp.media.model.Selection||(this.options.selection=new wp.media.model.Selection(e,{multiple:this.options.multiple})),this._selection={attachments:new wp.media.model.Attachments,difference:[]}},editImageContent:function(){var e=this.state().get("image"),e=new wp.media.view.EditImage({model:e,controller:this}).render();this.content.set(e),e.loadEditor()},createStates:function(){var e=this.options;this.options.states||this.states.add([new wp.media.controller.Library({library:wp.media.query(e.library),multiple:e.multiple,title:e.title,priority:20}),new wp.media.controller.EditImage({model:e.editImage})])},bindHandlers:function(){this.on("router:create:browse",this.createRouter,this),this.on("router:render:browse",this.browseRouter,this),this.on("content:create:browse",this.browseContent,this),this.on("content:render:upload",this.uploadContent,this),this.on("toolbar:create:select",this.createSelectToolbar,this),this.on("content:render:edit-image",this.editImageContent,this)},browseRouter:function(e){e.set({upload:{text:s.uploadFilesTitle,priority:20},browse:{text:s.mediaLibraryTitle,priority:40}})},browseContent:function(e){var t=this.state();this.$el.removeClass("hide-toolbar"),e.view=new wp.media.view.AttachmentsBrowser({controller:this,collection:t.get("library"),selection:t.get("selection"),model:t,sortable:t.get("sortable"),search:t.get("searchable"),filters:t.get("filterable"),date:t.get("date"),display:t.has("display")?t.get("display"):t.get("displaySettings"),dragInfo:t.get("dragInfo"),idealColumnWidth:t.get("idealColumnWidth"),suggestedWidth:t.get("suggestedWidth"),suggestedHeight:t.get("suggestedHeight"),AttachmentView:t.get("AttachmentView")})},uploadContent:function(){this.$el.removeClass("hide-toolbar"),this.content.set(new wp.media.view.UploaderInline({controller:this}))},createSelectToolbar:function(e,t){(t=t||this.options.button||{}).controller=this,e.view=new wp.media.view.Toolbar.Select(t)}});e.exports=o},gOpb:function(e,t){var i=jQuery,s=wp.media.View.extend({tagName:"div",template:wp.template("media-modal"),events:{"click .media-modal-backdrop, .media-modal-close":"escapeHandler",keydown:"keydown"},clickedOpenerEl:null,initialize:function(){_.defaults(this.options,{container:document.body,title:"",propagate:!0,hasCloseButton:!0}),this.focusManager=new wp.media.view.FocusManager({el:this.el})},prepare:function(){return{title:this.options.title,hasCloseButton:this.options.hasCloseButton}},attach:function(){return this.views.attached?this:(this.views.rendered||this.render(),this.$el.appendTo(this.options.container),this.views.attached=!0,this.views.ready(),this.propagate("attach"))},detach:function(){return this.$el.is(":visible")&&this.close(),this.$el.detach(),this.views.attached=!1,this.propagate("detach")},open:function(){var e,t=this.$el;return t.is(":visible")?this:(this.clickedOpenerEl=document.activeElement,this.views.attached||this.attach(),i("body").addClass("modal-open"),t.show(),"ontouchend"in document&&(e=window.tinymce&&window.tinymce.activeEditor)&&!e.isHidden()&&e.iframeElement&&(e.iframeElement.focus(),e.iframeElement.blur(),setTimeout(function(){e.iframeElement.blur()},100)),this.$(".media-modal").trigger("focus"),this.focusManager.setAriaHiddenOnBodyChildren(t),this.propagate("open"))},close:function(e){return this.views.attached&&this.$el.is(":visible")&&(i(".mejs-pause button").trigger("click"),i("body").removeClass("modal-open"),this.$el.hide(),this.focusManager.removeAriaHiddenFromBodyChildren(),null!==this.clickedOpenerEl?this.clickedOpenerEl.focus():i("#wpbody-content").attr("tabindex","-1").trigger("focus"),this.propagate("close"),e&&e.escape&&this.propagate("escape")),this},escape:function(){return this.close({escape:!0})},escapeHandler:function(e){e.preventDefault(),this.escape()},content:function(e){return this.views.set(".media-modal-content",e),this},propagate:function(e){return this.trigger(e),this.options.propagate&&this.controller.trigger(e),this},keydown:function(e){27===e.which&&this.$el.is(":visible")&&(this.escape(),e.stopImmediatePropagation())}});e.exports=s},ibOK:function(e,t){var i=wp.media.View,s=i.extend({className:"image-editor",template:wp.template("image-editor"),initialize:function(e){this.editor=window.imageEdit,this.controller=e.controller,i.prototype.initialize.apply(this,arguments)},prepare:function(){return this.model.toJSON()},loadEditor:function(){this.editor.open(this.model.get("id"),this.model.get("nonces").edit,this)},back:function(){var e=this.controller.lastState();this.controller.setState(e)},refresh:function(){this.model.fetch()},save:function(){var e=this.controller.lastState();this.model.fetch().done(_.bind(function(){this.controller.setState(e)},this))}});e.exports=s},iipZ:function(e,t){var s=wp.media.model.Selection,o=wp.media.controller.Library,i=o.extend({defaults:_.defaults({multiple:"add",filterable:"uploaded",priority:100,syncSelection:!1},o.prototype.defaults),initialize:function(){var e=this.get("collectionType");"video"===this.get("type")&&(e="video-"+e),this.set("id",e+"-library"),this.set("toolbar",e+"-add"),this.set("menu",e),this.get("library")||this.set("library",wp.media.query({type:this.get("type")})),o.prototype.initialize.apply(this,arguments)},activate:function(){var e=this.get("library"),t=this.get("editLibrary"),i=this.frame.state(this.get("collectionType")+"-edit").get("library");t&&t!==i&&e.unobserve(t),e.validator=function(e){return!!this.mirroring.get(e.cid)&&!i.get(e.cid)&&s.prototype.validator.apply(this,arguments)},e.reset(e.mirroring.models,{silent:!0}),e.observe(i),this.set("editLibrary",i),o.prototype.activate.apply(this,arguments)}});e.exports=i},iupV:function(e,t){var i=wp.media.view.Attachment,s=wp.media.view.l10n,o=jQuery,n=wp.i18n.__,a=i.extend({tagName:"div",className:"attachment-details",template:wp.template("attachment-details"),attributes:{},events:{"change [data-setting]":"updateSetting","change [data-setting] input":"updateSetting","change [data-setting] select":"updateSetting","change [data-setting] textarea":"updateSetting","click .delete-attachment":"deleteAttachment","click .trash-attachment":"trashAttachment","click .untrash-attachment":"untrashAttachment","click .edit-attachment":"editAttachment",keydown:"toggleSelectionHandler"},copyAttachmentDetailsURLClipboard:function(){var s;new ClipboardJS(".copy-attachment-url").on("success",function(e){var t=o(e.trigger),i=o(".success",t.closest(".copy-to-clipboard-container"));e.clearSelection(),t.trigger("focus"),clearTimeout(s),i.removeClass("hidden"),s=setTimeout(function(){i.addClass("hidden")},3e3),wp.a11y.speak(n("The file URL has been copied to your clipboard"))})},initialize:function(){this.options=_.defaults(this.options,{rerenderOnModelChange:!1}),i.prototype.initialize.apply(this,arguments),this.copyAttachmentDetailsURLClipboard()},getFocusableElements:function(){var e=o('li[data-id="'+this.model.id+'"]');this.previousAttachment=e.prev(),this.nextAttachment=e.next()},moveFocus:function(){this.previousAttachment.length?this.previousAttachment.trigger("focus"):this.nextAttachment.length?this.nextAttachment.trigger("focus"):this.controller.uploader&&this.controller.uploader.$browser?this.controller.uploader.$browser.trigger("focus"):this.moveFocusToLastFallback()},moveFocusToLastFallback:function(){o(".media-frame").attr("tabindex","-1").trigger("focus")},deleteAttachment:function(e){e.preventDefault(),this.getFocusableElements(),window.confirm(s.warnDelete)&&(this.model.destroy({wait:!0,error:function(){window.alert(s.errorDeleting)}}),this.moveFocus())},trashAttachment:function(e){var t=this.controller.library,i=this;e.preventDefault(),this.getFocusableElements(),wp.media.view.settings.mediaTrash&&"edit-metadata"===this.controller.content.mode()?(this.model.set("status","trash"),this.model.save().done(function(){t._requery(!0),i.moveFocusToLastFallback()})):(this.model.destroy(),this.moveFocus())},untrashAttachment:function(e){var t=this.controller.library;e.preventDefault(),this.model.set("status","inherit"),this.model.save().done(function(){t._requery(!0)})},editAttachment:function(e){var t=this.controller.states.get("edit-image");window.imageEdit&&t?(e.preventDefault(),t.set("image",this.model),this.controller.setState("edit-image")):this.$el.addClass("needs-refresh")},toggleSelectionHandler:function(e){if("keydown"===e.type&&9===e.keyCode&&e.shiftKey&&e.target===this.$(":tabbable").get(0))return this.controller.trigger("attachment:details:shift-tab",e),!1},render:function(){i.prototype.render.apply(this,arguments),wp.media.mixin.removeAllPlayers(),this.$("audio, video").each(function(e,t){t=wp.media.view.MediaDetails.prepareSrc(t);new window.MediaElementPlayer(t,wp.media.mixin.mejsSettings)})}});e.exports=a},l2j4:function(e,t){var i=wp.media.View.extend({tagName:function(){return this.options.level||"h1"},className:"media-views-heading",initialize:function(){this.options.className&&this.$el.addClass(this.options.className),this.text=this.options.text},render:function(){return this.$el.html(this.text),this}});e.exports=i},mVaH:function(e,t){var i=wp.media.controller.Library,s=i.extend({defaults:_.defaults({filterable:"uploaded",displaySettings:!1,priority:80,syncSelection:!1},i.prototype.defaults),initialize:function(e){this.media=e.media,this.type=e.type,this.set("library",wp.media.query({type:this.type})),i.prototype.initialize.apply(this,arguments)},activate:function(){wp.media.frame.lastMime&&(this.set("library",wp.media.query({type:wp.media.frame.lastMime})),delete wp.media.frame.lastMime),i.prototype.activate.apply(this,arguments)}});e.exports=s},ng6N:function(e,t){var i=wp.media.model.Selection,s=wp.media.controller.Library,o=wp.media.view.l10n,o=s.extend({defaults:_.defaults({id:"gallery-library",title:o.addToGalleryTitle,multiple:"add",filterable:"uploaded",menu:"gallery",toolbar:"gallery-add",priority:100,syncSelection:!1},s.prototype.defaults),initialize:function(){this.get("library")||this.set("library",wp.media.query({type:"image"})),s.prototype.initialize.apply(this,arguments)},activate:function(){var e=this.get("library"),t=this.frame.state("gallery-edit").get("library");this.editLibrary&&this.editLibrary!==t&&e.unobserve(this.editLibrary),e.validator=function(e){return!!this.mirroring.get(e.cid)&&!t.get(e.cid)&&i.prototype.validator.apply(this,arguments)},e.reset(e.mirroring.models,{silent:!0}),e.observe(t),this.editLibrary=t,s.prototype.activate.apply(this,arguments)}});e.exports=o},nwwF:function(e,t){var i=wp.media.View,s=Backbone.$,o=i.extend({events:{"click button":"updateHandler","change input":"updateHandler","change select":"updateHandler","change textarea":"updateHandler"},initialize:function(){this.model=this.model||new Backbone.Model,this.listenTo(this.model,"change",this.updateChanges)},prepare:function(){return _.defaults({model:this.model.toJSON()},this.options)},render:function(){return i.prototype.render.apply(this,arguments),_(this.model.attributes).chain().keys().each(this.update,this),this},update:function(e){var t,i=this.model.get(e),s=this.$('[data-setting="'+e+'"]');s.length&&(s.is("select")?(t=s.find('[value="'+i+'"]')).length?(s.find("option").prop("selected",!1),t.prop("selected",!0)):this.model.set(e,s.find(":selected").val()):s.hasClass("button-group")?s.find("button").removeClass("active").attr("aria-pressed","false").filter('[value="'+i+'"]').addClass("active").attr("aria-pressed","true"):s.is('input[type="text"], textarea')?s.is(":focus")||s.val(i):s.is('input[type="checkbox"]')&&s.prop("checked",!!i&&"false"!==i))},updateHandler:function(e){var t=s(e.target).closest("[data-setting]"),i=e.target.value;e.preventDefault(),t.length&&(t.is('input[type="checkbox"]')&&(i=t[0].checked),this.model.set(t.data("setting"),i),(e=t.data("userSetting"))&&window.setUserSetting(e,i))},updateChanges:function(e){e.hasChanged()&&_(e.changed).chain().keys().each(this.update,this)}});e.exports=o},ojD6:function(e,t){var i=wp.media.View,n=jQuery,s=wp.media.view.settings.infiniteScrolling,o=i.extend({tagName:"ul",className:"attachments",attributes:{tabIndex:-1},initialize:function(){this.el.id=_.uniqueId("__attachments-view-"),_.defaults(this.options,{infiniteScrolling:s||!1,refreshSensitivity:wp.media.isTouchDevice?300:200,refreshThreshold:3,AttachmentView:wp.media.view.Attachment,sortable:!1,resize:!0,idealColumnWidth:n(window).width()<640?135:150}),this._viewsByCid={},this.$window=n(window),this.resizeEvent="resize.media-modal-columns",this.collection.on("add",function(e){this.views.add(this.createAttachmentView(e),{at:this.collection.indexOf(e)})},this),this.collection.on("remove",function(e){var t=this._viewsByCid[e.cid];delete this._viewsByCid[e.cid],t&&t.remove()},this),this.collection.on("reset",this.render,this),this.controller.on("library:selection:add",this.attachmentFocus,this),this.options.infiniteScrolling&&(this.scroll=_.chain(this.scroll).bind(this).throttle(this.options.refreshSensitivity).value(),this.options.scrollElement=this.options.scrollElement||this.el,n(this.options.scrollElement).on("scroll",this.scroll)),this.initSortable(),_.bindAll(this,"setColumns"),this.options.resize&&(this.on("ready",this.bindEvents),this.controller.on("open",this.setColumns),_.defer(this.setColumns,this))},bindEvents:function(){this.$window.off(this.resizeEvent).on(this.resizeEvent,_.debounce(this.setColumns,50))},attachmentFocus:function(){this.columns&&this.$el.focus()},restoreFocus:function(){this.$("li.selected:first").focus()},arrowEvent:function(e){var t=this.$el.children("li"),i=this.columns,s=t.filter(":focus").index(),o=s+1<=i?1:Math.ceil((s+1)/i);if(-1!==s){if(37===e.keyCode){if(0===s)return;t.eq(s-1).focus()}if(38===e.keyCode){if(1===o)return;t.eq(s-i).focus()}if(39===e.keyCode){if(t.length===s)return;t.eq(s+1).focus()}40===e.keyCode&&Math.ceil(t.length/i)!==o&&t.eq(s+i).focus()}},dispose:function(){this.collection.props.off(null,null,this),this.options.resize&&this.$window.off(this.resizeEvent),i.prototype.dispose.apply(this,arguments)},setColumns:function(){var e=this.columns,t=this.$el.width();t&&(this.columns=Math.min(Math.round(t/this.options.idealColumnWidth),12)||1,e&&e===this.columns||this.$el.closest(".media-frame-content").attr("data-columns",this.columns))},initSortable:function(){var o=this.collection;this.options.sortable&&n.fn.sortable&&(this.$el.sortable(_.extend({disabled:!!o.comparator,tolerance:"pointer",start:function(e,t){t.item.data("sortableIndexStart",t.item.index())},update:function(e,t){var i=o.at(t.item.data("sortableIndexStart")),s=o.comparator;delete o.comparator,o.remove(i,{silent:!0}),o.add(i,{silent:!0,at:t.item.index()}),o.comparator=s,o.trigger("reset",o),o.saveMenuOrder()}},this.options.sortable)),o.props.on("change:orderby",function(){this.$el.sortable("option","disabled",!!o.comparator)},this),this.collection.props.on("change:orderby",this.refreshSortable,this),this.refreshSortable())},refreshSortable:function(){var e;this.options.sortable&&n.fn.sortable&&(e="menuOrder"===(e=this.collection).props.get("orderby")||!e.comparator,this.$el.sortable("option","disabled",!e))},createAttachmentView:function(e){var t=new this.options.AttachmentView({controller:this.controller,model:e,collection:this.collection,selection:this.options.selection});return this._viewsByCid[e.cid]=t},prepare:function(){this.collection.length?this.views.set(this.collection.map(this.createAttachmentView,this)):(this.views.unset(),this.options.infiniteScrolling&&this.collection.more().done(this.scroll))},ready:function(){this.options.infiniteScrolling&&this.scroll()},scroll:function(){var e,t=this,i=this.options.scrollElement,s=i.scrollTop;i===document&&(i=document.body,s=n(document).scrollTop()),n(i).is(":visible")&&this.collection.hasMore()&&(e=this.views.parent.toolbar,i.scrollHeight-(s+i.clientHeight)<i.clientHeight/3&&e.get("spinner").show(),i.scrollHeight<s+i.clientHeight*this.options.refreshThreshold&&this.collection.more().done(function(){t.scroll(),e.get("spinner").hide()}))}});e.exports=o},qe5n:function(e,t){var i=wp.media.view.l10n,a=Backbone.$,i=wp.media.controller.State.extend({defaults:{id:"embed",title:i.insertFromUrlTitle,content:"embed",menu:"default",toolbar:"main-embed",priority:120,type:"link",url:"",metadata:{}},sensitivity:400,initialize:function(e){this.metadata=e.metadata,this.debouncedScan=_.debounce(_.bind(this.scan,this),this.sensitivity),this.props=new Backbone.Model(this.metadata||{url:""}),this.props.on("change:url",this.debouncedScan,this),this.props.on("change:url",this.refresh,this),this.on("scan",this.scanImage,this)},scan:function(){var e,t=this,i={type:"link",scanners:[]};this.props.get("url")&&this.trigger("scan",i),i.scanners.length?(e=i.scanners=a.when.apply(a,i.scanners)).always(function(){t.get("scanners")===e&&t.set("loading",!1)}):i.scanners=null,i.loading=!!i.scanners,this.set(i)},scanImage:function(e){var t=this.frame,i=this,s=this.props.get("url"),o=new Image,n=a.Deferred();e.scanners.push(n.promise()),o.onload=function(){n.resolve(),i===t.state()&&s===i.props.get("url")&&(i.set({type:"image"}),i.props.set({width:o.width,height:o.height}))},o.onerror=n.reject,o.src=s},refresh:function(){this.frame.toolbar.get().refresh()},reset:function(){this.props.clear().set({url:""}),this.active&&this.refresh()}});e.exports=i},sULL:function(e,t){var i=wp.media.View,o=jQuery,n=i.extend({tagName:"li",className:"attachment",template:wp.template("attachment"),attributes:function(){return{tabIndex:0,role:"checkbox","aria-label":this.model.get("title"),"aria-checked":!1,"data-id":this.model.get("id")}},events:{click:"toggleSelectionHandler","change [data-setting]":"updateSetting","change [data-setting] input":"updateSetting","change [data-setting] select":"updateSetting","change [data-setting] textarea":"updateSetting","click .attachment-close":"removeFromLibrary","click .check":"checkClickHandler",keydown:"toggleSelectionHandler"},buttons:{},initialize:function(){var e=this.options.selection;_.defaults(this.options,{rerenderOnModelChange:!0}).rerenderOnModelChange?this.listenTo(this.model,"change",this.render):this.listenTo(this.model,"change:percent",this.progress),this.listenTo(this.model,"change:title",this._syncTitle),this.listenTo(this.model,"change:caption",this._syncCaption),this.listenTo(this.model,"change:artist",this._syncArtist),this.listenTo(this.model,"change:album",this._syncAlbum),this.listenTo(this.model,"add",this.select),this.listenTo(this.model,"remove",this.deselect),e&&(e.on("reset",this.updateSelect,this),this.listenTo(this.model,"selection:single selection:unsingle",this.details),this.details(this.model,this.controller.state().get("selection"))),this.listenTo(this.controller.states,"attachment:compat:waiting attachment:compat:ready",this.updateSave)},dispose:function(){var e=this.options.selection;return this.updateAll(),e&&e.off(null,null,this),i.prototype.dispose.apply(this,arguments),this},render:function(){var e=_.defaults(this.model.toJSON(),{orientation:"landscape",uploading:!1,type:"",subtype:"",icon:"",filename:"",caption:"",title:"",dateFormatted:"",width:"",height:"",compat:!1,alt:"",description:""},this.options);return e.buttons=this.buttons,e.describe=this.controller.state().get("describe"),"image"===e.type&&(e.size=this.imageSize()),e.can={},e.nonces&&(e.can.remove=!!e.nonces.delete,e.can.save=!!e.nonces.update),this.controller.state().get("allowLocalEdits")&&(e.allowLocalEdits=!0),e.uploading&&!e.percent&&(e.percent=0),this.views.detach(),this.$el.html(this.template(e)),this.$el.toggleClass("uploading",e.uploading),e.uploading?this.$bar=this.$(".media-progress-bar div"):delete this.$bar,this.updateSelect(),this.updateSave(),this.views.render(),this},progress:function(){this.$bar&&this.$bar.length&&this.$bar.width(this.model.get("percent")+"%")},toggleSelectionHandler:function(e){var t;if("INPUT"!==e.target.nodeName&&"BUTTON"!==e.target.nodeName)if(37===e.keyCode||38===e.keyCode||39===e.keyCode||40===e.keyCode)this.controller.trigger("attachment:keydown:arrow",e);else if("keydown"!==e.type||13===e.keyCode||32===e.keyCode){if(e.preventDefault(),this.controller.isModeActive("grid")){if(this.controller.isModeActive("edit"))return void this.controller.trigger("edit:attachment",this.model,e.currentTarget);this.controller.isModeActive("select")&&(t="toggle")}e.shiftKey?t="between":(e.ctrlKey||e.metaKey)&&(t="toggle"),this.toggleSelection({method:t}),this.controller.trigger("selection:toggle")}},toggleSelection:function(e){var t,i,s,o=this.collection,n=this.options.selection,a=this.model,e=e&&e.method;if(n)return t=n.single(),"between"===(e=_.isUndefined(e)?n.multiple:e)&&t&&n.multiple?t===a?void 0:(o=(i=o.indexOf(t))<(s=o.indexOf(this.model))?o.models.slice(i,s+1):o.models.slice(s,i+1),n.add(o),void n.single(a)):"toggle"===e?(n[this.selected()?"remove":"add"](a),void n.single(a)):"add"===e?(n.add(a),void n.single(a)):("add"!==(e=e||"add")&&(e="reset"),void(this.selected()?n[t===a?"remove":"single"](a):(n[e](a),n.single(a))))},updateSelect:function(){this[this.selected()?"select":"deselect"]()},selected:function(){var e=this.options.selection;if(e)return!!e.get(this.model.cid)},select:function(e,t){var i=this.options.selection,s=this.controller;!i||t&&t!==i||this.$el.hasClass("selected")||(this.$el.addClass("selected").attr("aria-checked",!0),s.isModeActive("grid")&&s.isModeActive("select")||this.$(".check").attr("tabindex","0"))},deselect:function(e,t){var i=this.options.selection;!i||t&&t!==i||this.$el.removeClass("selected").attr("aria-checked",!1).find(".check").attr("tabindex","-1")},details:function(e,t){var i=this.options.selection;i===t&&(t=i.single(),this.$el.toggleClass("details",t===this.model))},imageSize:function(e){var t=this.model.get("sizes"),i=!1;return e=e||"medium",t&&(t[e]?i=t[e]:t.large?i=t.large:t.thumbnail?i=t.thumbnail:t.full&&(i=t.full),i)?_.clone(i):{url:this.model.get("url"),width:this.model.get("width"),height:this.model.get("height"),orientation:this.model.get("orientation")}},updateSetting:function(e){var t=o(e.target).closest("[data-setting]");t.length&&(t=t.data("setting"),e=e.target.value,this.model.get(t)!==e&&this.save(t,e))},save:function(){var e=this,t=this._save=this._save||{status:"ready"},i=this.model.save.apply(this.model,arguments),s=t.requests?o.when(i,t.requests):i;t.savedTimer&&clearTimeout(t.savedTimer),this.updateSave("waiting"),(t.requests=s).always(function(){t.requests===s&&(e.updateSave("resolved"===s.state()?"complete":"error"),t.savedTimer=setTimeout(function(){e.updateSave("ready"),delete t.savedTimer},2e3))})},updateSave:function(e){var t=this._save=this._save||{status:"ready"};return e&&e!==t.status&&(this.$el.removeClass("save-"+t.status),t.status=e),this.$el.addClass("save-"+t.status),this},updateAll:function(){var e=this.$("[data-setting]"),i=this.model,e=_.chain(e).map(function(e){var t=o("input, textarea, select, [value]",e);if(t.length)return e=o(e).data("setting"),t=t.val(),i.get(e)!==t?[e,t]:void 0}).compact().object().value();_.isEmpty(e)||i.save(e)},removeFromLibrary:function(e){"keydown"===e.type&&13!==e.keyCode&&32!==e.keyCode||(e.stopPropagation(),this.collection.remove(this.model))},checkClickHandler:function(e){var t=this.options.selection;t&&(e.stopPropagation(),t.where({id:this.model.get("id")}).length?(t.remove(this.model),this.$el.focus()):t.add(this.model),this.controller.trigger("selection:toggle"))}});_.each({caption:"_syncCaption",title:"_syncTitle",artist:"_syncArtist",album:"_syncAlbum"},function(e,s){n.prototype[e]=function(e,t){var i=this.$('[data-setting="'+s+'"]');return!i.length||t===i.find("input, textarea, select, [value]").val()?this:this.render()}}),e.exports=n},t3nl:function(e,t){var i=wp.media.View.extend({className:"media-iframe",render:function(){return this.views.detach(),this.$el.html('<iframe src="'+this.controller.state().get("src")+'" />'),this.views.render(),this}});e.exports=i},"tg/Y":function(e,t,i){var s,o,n,a=wp.media,r=jQuery;a.isTouchDevice="ontouchend"in document,o=a.view.l10n=window._wpMediaViewsL10n||{},a.view.settings=o.settings||{},delete o.settings,a.model.settings.post=a.view.settings.post,r.support.transition=(s=document.documentElement.style,o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},(n=_.find(_.keys(o),function(e){return!_.isUndefined(s[e])}))&&{end:o[n]}),a.events=_.extend({},Backbone.Events),a.transition=function(e,t){var i=r.Deferred();return t=t||2e3,r.support.transition?((e=e instanceof r?e:r(e)).first().one(r.support.transition.end,i.resolve),_.delay(i.resolve,t)):i.resolve(),i.promise()},a.controller.Region=i("WiNq"),a.controller.StateMachine=i("U3Se"),a.controller.State=i("M5ZC"),a.selectionSync=i("PgTd"),a.controller.Library=i("F/kE"),a.controller.ImageDetails=i("IkWq"),a.controller.GalleryEdit=i("99yY"),a.controller.GalleryAdd=i("ng6N"),a.controller.CollectionEdit=i("Mt+m"),a.controller.CollectionAdd=i("iipZ"),a.controller.FeaturedImage=i("I7TD"),a.controller.ReplaceImage=i("aBqq"),a.controller.EditImage=i("4tHu"),a.controller.MediaLibrary=i("mVaH"),a.controller.Embed=i("qe5n"),a.controller.Cropper=i("M+xU"),a.controller.CustomizeImageCropper=i("eqTc"),a.controller.SiteIconCropper=i("W+32"),a.View=i("Bbnu"),a.view.Frame=i("LGdN"),a.view.MediaFrame=i("Pt9x"),a.view.MediaFrame.Select=i("fYN4"),a.view.MediaFrame.Post=i("6B7g"),a.view.MediaFrame.ImageDetails=i("VIJ9"),a.view.Modal=i("gOpb"),a.view.FocusManager=i("3nJM"),a.view.UploaderWindow=i("S4jH"),a.view.EditorUploader=i("GXkx"),a.view.UploaderInline=i("7Bpz"),a.view.UploaderStatus=i("NguE"),a.view.UploaderStatusError=i("ZeG4"),a.view.Toolbar=i("2NU8"),a.view.Toolbar.Select=i("IgEq"),a.view.Toolbar.Embed=i("xQvM"),a.view.Button=i("LZpE"),a.view.ButtonGroup=i("z/+l"),a.view.PriorityList=i("NjyZ"),a.view.MenuItem=i("dpRc"),a.view.Menu=i("Ju2C"),a.view.RouterItem=i("Q9T/"),a.view.Router=i("EVvK"),a.view.Sidebar=i("9ARG"),a.view.Attachment=i("sULL"),a.view.Attachment.Library=i("2jku"),a.view.Attachment.EditLibrary=i("EvXF"),a.view.Attachments=i("ojD6"),a.view.Search=i("ZgZ7"),a.view.AttachmentFilters=i("1S4+"),a.view.DateFilter=i("VkcK"),a.view.AttachmentFilters.Uploaded=i("4jjk"),a.view.AttachmentFilters.All=i("KerO"),a.view.AttachmentsBrowser=i("72mI"),a.view.Selection=i("04Ix"),a.view.Attachment.Selection=i("yGM1"),a.view.Attachments.Selection=i("wfCN"),a.view.Attachment.EditSelection=i("P6DV"),a.view.Settings=i("nwwF"),a.view.Settings.AttachmentDisplay=i("2AvB"),a.view.Settings.Gallery=i("umxe"),a.view.Settings.Playlist=i("76BF"),a.view.Attachment.Details=i("iupV"),a.view.AttachmentCompat=i("LND6"),a.view.Iframe=i("t3nl"),a.view.Embed=i("VMHs"),a.view.Label=i("V6sy"),a.view.EmbedUrl=i("+mQJ"),a.view.EmbedLink=i("JecU"),a.view.EmbedImage=i("+B8m"),a.view.ImageDetails=i("GXJ6"),a.view.Cropper=i("Vh02"),a.view.SiteIconCropper=i("UmHM"),a.view.SiteIconPreview=i("d3xu"),a.view.EditImage=i("ibOK"),a.view.Spinner=i("cH3P"),a.view.Heading=i("l2j4")},umxe:function(e,t){var i=wp.media.view.Settings.extend({className:"collection-settings gallery-settings",template:wp.template("gallery-settings")});e.exports=i},wfCN:function(e,t){var i=wp.media.view.Attachments,s=i.extend({events:{},initialize:function(){return _.defaults(this.options,{sortable:!1,resize:!1,AttachmentView:wp.media.view.Attachment.Selection}),i.prototype.initialize.apply(this,arguments)}});e.exports=s},xQvM:function(e,t){var i=wp.media.view.Toolbar.Select,s=wp.media.view.l10n,o=i.extend({initialize:function(){_.defaults(this.options,{text:s.insertIntoPost,requires:!1}),i.prototype.initialize.apply(this,arguments)},refresh:function(){var e=this.controller.state().props.get("url");this.get("select").model.set("disabled",!e||"http://"===e),i.prototype.refresh.apply(this,arguments)}});e.exports=o},yGM1:function(e,t){var i=wp.media.view.Attachment.extend({className:"attachment selection",toggleSelection:function(){this.options.selection.single(this.model)}});e.exports=i},"z/+l":function(e,t){var i=Backbone.$,s=wp.media.View.extend({tagName:"div",className:"button-group button-large media-button-group",initialize:function(){this.buttons=_.map(this.options.buttons||[],function(e){return e instanceof Backbone.View?e:new wp.media.view.Button(e).render()}),delete this.options.buttons,this.options.classes&&this.$el.addClass(this.options.classes)},render:function(){return this.$el.html(i(_.pluck(this.buttons,"el")).detach()),this}});e.exports=s}});
\ No newline at end of file
+!function(){var i={1517:function(t){var s=wp.media.model.Selection,o=wp.media.controller.Library,e=o.extend({defaults:_.defaults({multiple:"add",filterable:"uploaded",priority:100,syncSelection:!1},o.prototype.defaults),initialize:function(){var t=this.get("collectionType");"video"===this.get("type")&&(t="video-"+t),this.set("id",t+"-library"),this.set("toolbar",t+"-add"),this.set("menu",t),this.get("library")||this.set("library",wp.media.query({type:this.get("type")})),o.prototype.initialize.apply(this,arguments)},activate:function(){var t=this.get("library"),e=this.get("editLibrary"),i=this.frame.state(this.get("collectionType")+"-edit").get("library");e&&e!==i&&t.unobserve(e),t.validator=function(t){return!!this.mirroring.get(t.cid)&&!i.get(t.cid)&&s.prototype.validator.apply(this,arguments)},t.reset(t.mirroring.models,{silent:!0}),t.observe(i),this.set("editLibrary",i),o.prototype.activate.apply(this,arguments)}});t.exports=e},1817:function(t){var e=wp.media.controller.Library,a=wp.media.view.l10n,r=jQuery,i=e.extend({defaults:{multiple:!1,sortable:!0,date:!1,searchable:!1,content:"browse",describe:!0,dragInfo:!0,idealColumnWidth:170,editing:!1,priority:60,SettingsView:!1,syncSelection:!1},initialize:function(){var t=this.get("collectionType");"video"===this.get("type")&&(t="video-"+t),this.set("id",t+"-edit"),this.set("toolbar",t+"-edit"),this.get("library")||this.set("library",new wp.media.model.Selection),this.get("AttachmentView")||this.set("AttachmentView",wp.media.view.Attachment.EditLibrary),e.prototype.initialize.apply(this,arguments)},activate:function(){this.get("library").props.set("type",this.get("type")),this.get("library").observe(wp.Uploader.queue),this.frame.on("content:render:browse",this.renderSettings,this),e.prototype.activate.apply(this,arguments)},deactivate:function(){this.get("library").unobserve(wp.Uploader.queue),this.frame.off("content:render:browse",this.renderSettings,this),e.prototype.deactivate.apply(this,arguments)},renderSettings:function(t){var e=this.get("library"),i=this.get("collectionType"),s=this.get("dragInfoText"),o=this.get("SettingsView"),n={};e&&t&&(e[i]=e[i]||new Backbone.Model,n[i]=new o({controller:this,model:e[i],priority:40}),t.sidebar.set(n),s&&t.toolbar.set("dragInfo",new wp.media.View({el:r('<div class="instructions">'+s+"</div>")[0],priority:-40})),t.toolbar.set("reverse",{text:a.reverseOrder,priority:80,click:function(){e.reset(e.toArray().reverse())}}))}});t.exports=i},2288:function(t){var i=wp.media.view.l10n,e=wp.media.controller.State.extend({defaults:{id:"cropper",title:i.cropImage,toolbar:"crop",content:"crop",router:!1,canSkipCrop:!1,doCropArgs:{}},activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},deactivate:function(){this.frame.toolbar.mode("browse")},createCropContent:function(){this.cropperView=new wp.media.view.Cropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},removeCropper:function(){this.imgSelect.cancelSelection(),this.imgSelect.setOptions({remove:!0}),this.imgSelect.update(),this.cropperView.remove()},createCropToolbar:function(){var t=this.get("canSkipCrop")||!1,e={controller:this.frame,items:{insert:{style:"primary",text:i.cropImage,priority:80,requires:{library:!1,selection:!1},click:function(){var e=this.controller,t=e.state().get("selection").first();t.set({cropDetails:e.state().imgSelect.getSelection()}),this.$el.text(i.cropping),this.$el.attr("disabled",!0),e.state().doCrop(t).done(function(t){e.trigger("cropped",t),e.close()}).fail(function(){e.trigger("content:error:crop")})}}}};t&&_.extend(e.items,{skip:{style:"secondary",text:i.skipCropping,priority:70,requires:{library:!1,selection:!1},click:function(){var t=this.controller.state().get("selection").first();this.controller.state().cropperView.remove(),this.controller.trigger("skippedcrop",t),this.controller.close()}}}),this.frame.toolbar.set(new wp.media.view.Toolbar(e))},doCrop:function(t){return wp.ajax.post("custom-header-crop",_.extend({},this.defaults.doCropArgs,{nonce:t.get("nonces").edit,id:t.get("id"),cropDetails:t.get("cropDetails")}))}});t.exports=e},6934:function(t){var e=wp.media.controller.Cropper.extend({doCrop:function(t){var e=t.get("cropDetails"),i=this.get("control"),s=e.width/e.height;return i.params.flex_width&&i.params.flex_height?(e.dst_width=e.width,e.dst_height=e.height):(e.dst_width=i.params.flex_width?i.params.height*s:i.params.width,e.dst_height=i.params.flex_height?i.params.width/s:i.params.height),wp.ajax.post("crop-image",{wp_customize:"on",nonce:t.get("nonces").edit,id:t.get("id"),context:i.id,cropDetails:e})}});t.exports=e},7658:function(t){var s=wp.media.view.l10n,e=wp.media.controller.State.extend({defaults:{id:"edit-image",title:s.editImage,menu:!1,toolbar:"edit-image",content:"edit-image",url:""},activate:function(){this.frame.on("toolbar:render:edit-image",_.bind(this.toolbar,this))},deactivate:function(){this.frame.off("toolbar:render:edit-image")},toolbar:function(){var t=this.frame,e=t.lastState(),i=e&&e.id;t.toolbar.set(new wp.media.view.Toolbar({controller:t,items:{back:{style:"primary",text:s.back,priority:20,click:function(){i?t.setState(i):t.close()}}}}))}});t.exports=e},9067:function(t){var e=wp.media.view.l10n,a=Backbone.$,e=wp.media.controller.State.extend({defaults:{id:"embed",title:e.insertFromUrlTitle,content:"embed",menu:"default",toolbar:"main-embed",priority:120,type:"link",url:"",metadata:{}},sensitivity:400,initialize:function(t){this.metadata=t.metadata,this.debouncedScan=_.debounce(_.bind(this.scan,this),this.sensitivity),this.props=new Backbone.Model(this.metadata||{url:""}),this.props.on("change:url",this.debouncedScan,this),this.props.on("change:url",this.refresh,this),this.on("scan",this.scanImage,this)},scan:function(){var t,e=this,i={type:"link",scanners:[]};this.props.get("url")&&this.trigger("scan",i),i.scanners.length?(t=i.scanners=a.when.apply(a,i.scanners)).always(function(){e.get("scanners")===t&&e.set("loading",!1)}):i.scanners=null,i.loading=!!i.scanners,this.set(i)},scanImage:function(t){var e=this.frame,i=this,s=this.props.get("url"),o=new Image,n=a.Deferred();t.scanners.push(n.promise()),o.onload=function(){n.resolve(),i===e.state()&&s===i.props.get("url")&&(i.set({type:"image"}),i.props.set({width:o.width,height:o.height}))},o.onerror=n.reject,o.src=s},refresh:function(){this.frame.toolbar.get().refresh()},reset:function(){this.props.clear().set({url:""}),this.active&&this.refresh()}});t.exports=e},5095:function(t){var s=wp.media.model.Attachment,e=wp.media.controller.Library,i=wp.media.view.l10n,i=e.extend({defaults:_.defaults({id:"featured-image",title:i.setFeaturedImageTitle,multiple:!1,filterable:"uploaded",toolbar:"featured-image",priority:60,syncSelection:!0},e.prototype.defaults),initialize:function(){var t,o;this.get("library")||this.set("library",wp.media.query({type:"image"})),e.prototype.initialize.apply(this,arguments),t=this.get("library"),o=t.comparator,t.comparator=function(t,e){var i=!!this.mirroring.get(t.cid),s=!!this.mirroring.get(e.cid);return!i&&s?-1:i&&!s?1:o.apply(this,arguments)},t.observe(this.get("selection"))},activate:function(){this.frame.on("open",this.updateSelection,this),e.prototype.activate.apply(this,arguments)},deactivate:function(){this.frame.off("open",this.updateSelection,this),e.prototype.deactivate.apply(this,arguments)},updateSelection:function(){var t,e=this.get("selection"),i=wp.media.view.settings.post.featuredImageId;""!==i&&-1!==i&&(t=s.get(i)).fetch(),e.reset(t?[t]:[])}});t.exports=i},7323:function(t){var i=wp.media.model.Selection,s=wp.media.controller.Library,e=wp.media.view.l10n,e=s.extend({defaults:_.defaults({id:"gallery-library",title:e.addToGalleryTitle,multiple:"add",filterable:"uploaded",menu:"gallery",toolbar:"gallery-add",priority:100,syncSelection:!1},s.prototype.defaults),initialize:function(){this.get("library")||this.set("library",wp.media.query({type:"image"})),s.prototype.initialize.apply(this,arguments)},activate:function(){var t=this.get("library"),e=this.frame.state("gallery-edit").get("library");this.editLibrary&&this.editLibrary!==e&&t.unobserve(this.editLibrary),t.validator=function(t){return!!this.mirroring.get(t.cid)&&!e.get(t.cid)&&i.prototype.validator.apply(this,arguments)},t.reset(t.mirroring.models,{silent:!0}),t.observe(e),this.editLibrary=e,s.prototype.activate.apply(this,arguments)}});t.exports=e},6328:function(t){var e=wp.media.controller.Library,i=wp.media.view.l10n,s=e.extend({defaults:{id:"gallery-edit",title:i.editGalleryTitle,multiple:!1,searchable:!1,sortable:!0,date:!1,display:!1,content:"browse",toolbar:"gallery-edit",describe:!0,displaySettings:!0,dragInfo:!0,idealColumnWidth:170,editing:!1,priority:60,syncSelection:!1},initialize:function(){this.get("library")||this.set("library",new wp.media.model.Selection),this.get("AttachmentView")||this.set("AttachmentView",wp.media.view.Attachment.EditLibrary),e.prototype.initialize.apply(this,arguments)},activate:function(){this.get("library").props.set("type","image"),this.get("library").observe(wp.Uploader.queue),this.frame.on("content:render:browse",this.gallerySettings,this),e.prototype.activate.apply(this,arguments)},deactivate:function(){this.get("library").unobserve(wp.Uploader.queue),this.frame.off("content:render:browse",this.gallerySettings,this),e.prototype.deactivate.apply(this,arguments)},gallerySettings:function(t){var e;!this.get("displaySettings")||(e=this.get("library"))&&t&&(e.gallery=e.gallery||new Backbone.Model,t.sidebar.set({gallery:new wp.media.view.Settings.Gallery({controller:this,model:e.gallery,priority:40})}),t.toolbar.set("reverse",{text:i.reverseOrder,priority:80,click:function(){e.reset(e.toArray().reverse())}}))}});t.exports=s},3849:function(t){var e=wp.media.controller.State,i=wp.media.controller.Library,s=wp.media.view.l10n,s=e.extend({defaults:_.defaults({id:"image-details",title:s.imageDetailsTitle,content:"image-details",menu:!1,router:!1,toolbar:"image-details",editing:!1,priority:60},i.prototype.defaults),initialize:function(t){this.image=t.image,e.prototype.initialize.apply(this,arguments)},activate:function(){this.frame.modal.$el.addClass("image-details")}});t.exports=s},9024:function(t){var e=wp.media.view.l10n,i=window.getUserSetting,s=window.setUserSetting,e=wp.media.controller.State.extend({defaults:{id:"library",title:e.mediaLibraryTitle,multiple:!1,content:"upload",menu:"default",router:"browse",toolbar:"select",searchable:!0,filterable:!1,sortable:!0,autoSelect:!0,describe:!1,contentUserSetting:!0,syncSelection:!0},initialize:function(){var t=this.get("selection");this.get("library")||this.set("library",wp.media.query()),t instanceof wp.media.model.Selection||((t=t)||(t=this.get("library").props.toJSON(),t=_.omit(t,"orderby","query")),this.set("selection",new wp.media.model.Selection(null,{multiple:this.get("multiple"),props:t}))),this.resetDisplays()},activate:function(){this.syncSelection(),wp.Uploader.queue.on("add",this.uploading,this),this.get("selection").on("add remove reset",this.refreshContent,this),this.get("router")&&this.get("contentUserSetting")&&(this.frame.on("content:activate",this.saveContentMode,this),this.set("content",i("libraryContent",this.get("content"))))},deactivate:function(){this.recordSelection(),this.frame.off("content:activate",this.saveContentMode,this),this.get("selection").off(null,null,this),wp.Uploader.queue.off(null,null,this)},reset:function(){this.get("selection").reset(),this.resetDisplays(),this.refreshContent()},resetDisplays:function(){var t=wp.media.view.settings.defaultProps;this._displays=[],this._defaultDisplaySettings={align:i("align",t.align)||"none",size:i("imgsize",t.size)||"medium",link:i("urlbutton",t.link)||"none"}},display:function(t){var e=this._displays;return e[t.cid]||(e[t.cid]=new Backbone.Model(this.defaultDisplaySettings(t))),e[t.cid]},defaultDisplaySettings:function(t){var e=_.clone(this._defaultDisplaySettings);return e.canEmbed=this.canEmbed(t),e.canEmbed?e.link="embed":this.isImageAttachment(t)||"none"!==e.link||(e.link="file"),e},isImageAttachment:function(t){return t.get("uploading")?/\.(jpe?g|png|gif|webp)$/i.test(t.get("filename")):"image"===t.get("type")},canEmbed:function(t){if(!t.get("uploading")){var e=t.get("type");if("audio"!==e&&"video"!==e)return!1}return _.contains(wp.media.view.settings.embedExts,t.get("filename").split(".").pop())},refreshContent:function(){var t=this.get("selection"),e=this.frame,i=e.router.get(),e=e.content.mode();this.active&&!t.length&&i&&!i.get(e)&&this.frame.content.render(this.get("content"))},uploading:function(t){"upload"===this.frame.content.mode()&&this.frame.content.mode("browse"),this.get("autoSelect")&&(this.get("selection").add(t),this.frame.trigger("library:selection:add"))},saveContentMode:function(){var t,e;"browse"===this.get("router")&&(t=this.frame.content.mode(),(e=this.frame.router.get())&&e.get(t)&&s("libraryContent",t))}});_.extend(e.prototype,wp.media.selectionSync),t.exports=e},3742:function(t){var e=wp.media.controller.Library,i=e.extend({defaults:_.defaults({filterable:"uploaded",displaySettings:!1,priority:80,syncSelection:!1},e.prototype.defaults),initialize:function(t){this.media=t.media,this.type=t.type,this.set("library",wp.media.query({type:this.type})),e.prototype.initialize.apply(this,arguments)},activate:function(){wp.media.frame.lastMime&&(this.set("library",wp.media.query({type:wp.media.frame.lastMime})),delete wp.media.frame.lastMime),e.prototype.activate.apply(this,arguments)}});t.exports=i},4903:function(t){function e(t){_.extend(this,_.pick(t||{},"id","view","selector"))}e.extend=Backbone.Model.extend,_.extend(e.prototype,{mode:function(t){return t?(t===this._mode||(this.trigger("deactivate"),this._mode=t,this.render(t),this.trigger("activate")),this):this._mode},render:function(t){if(t&&t!==this._mode)return this.mode(t);var t={view:null};return this.trigger("create",t),this.trigger("render",t=t.view),t&&this.set(t),this},get:function(){return this.view.views.first(this.selector)},set:function(t,e){return e&&(e.add=!1),this.view.views.set(this.selector,t,e)},trigger:function(t){var e,i;if(this._mode)return i=_.toArray(arguments),e=this.id+":"+t,i[0]=e+":"+this._mode,this.view.trigger.apply(this.view,i),i[0]=e,this.view.trigger.apply(this.view,i),this}}),t.exports=e},8493:function(t){var i=wp.media.controller.Library,e=wp.media.view.l10n,e=i.extend({defaults:_.defaults({id:"replace-image",title:e.replaceImageTitle,multiple:!1,filterable:"uploaded",toolbar:"replace",menu:!1,priority:60,syncSelection:!0},i.prototype.defaults),initialize:function(t){var e,o;this.image=t.image,this.get("library")||this.set("library",wp.media.query({type:"image"})),i.prototype.initialize.apply(this,arguments),e=this.get("library"),o=e.comparator,e.comparator=function(t,e){var i=!!this.mirroring.get(t.cid),s=!!this.mirroring.get(e.cid);return!i&&s?-1:i&&!s?1:o.apply(this,arguments)},e.observe(this.get("selection"))},activate:function(){this.frame.on("content:render:browse",this.updateSelection,this),i.prototype.activate.apply(this,arguments)},deactivate:function(){this.frame.off("content:render:browse",this.updateSelection,this),i.prototype.deactivate.apply(this,arguments)},updateSelection:function(){var t=this.get("selection"),e=this.image.attachment;t.reset(e?[e]:[])}});t.exports=e},5274:function(t){var e=wp.media.controller.Cropper.extend({activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},createCropContent:function(){this.cropperView=new wp.media.view.SiteIconCropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},doCrop:function(t){var e=t.get("cropDetails"),i=this.get("control");return e.dst_width=i.params.width,e.dst_height=i.params.height,wp.ajax.post("crop-image",{nonce:t.get("nonces").edit,id:t.get("id"),context:"site-icon",cropDetails:e})}});t.exports=e},5466:function(t){function e(){return{extend:Backbone.Model.extend}}_.extend(e.prototype,Backbone.Events,{state:function(t){return this.states=this.states||new Backbone.Collection,(t=t||this._state)&&!this.states.get(t)&&this.states.add({id:t}),this.states.get(t)},setState:function(t){var e=this.state();return e&&t===e.id||!this.states||!this.states.get(t)||(e&&(e.trigger("deactivate"),this._lastState=e.id),this._state=t,this.state().trigger("activate")),this},lastState:function(){if(this._lastState)return this.state(this._lastState)}}),_.each(["on","off","trigger"],function(t){e.prototype[t]=function(){return this.states=this.states||new Backbone.Collection,this.states[t].apply(this.states,arguments),this}}),t.exports=e},5826:function(t){var i=Backbone.Model.extend({constructor:function(){this.on("activate",this._preActivate,this),this.on("activate",this.activate,this),this.on("activate",this._postActivate,this),this.on("deactivate",this._deactivate,this),this.on("deactivate",this.deactivate,this),this.on("reset",this.reset,this),this.on("ready",this._ready,this),this.on("ready",this.ready,this),Backbone.Model.apply(this,arguments),this.on("change:menu",this._updateMenu,this)},ready:function(){},activate:function(){},deactivate:function(){},reset:function(){},_ready:function(){this._updateMenu()},_preActivate:function(){this.active=!0},_postActivate:function(){this.on("change:menu",this._menu,this),this.on("change:titleMode",this._title,this),this.on("change:content",this._content,this),this.on("change:toolbar",this._toolbar,this),this.frame.on("title:render:default",this._renderTitle,this),this._title(),this._menu(),this._toolbar(),this._content(),this._router()},_deactivate:function(){this.active=!1,this.frame.off("title:render:default",this._renderTitle,this),this.off("change:menu",this._menu,this),this.off("change:titleMode",this._title,this),this.off("change:content",this._content,this),this.off("change:toolbar",this._toolbar,this)},_title:function(){this.frame.title.render(this.get("titleMode")||"default")},_renderTitle:function(t){t.$el.text(this.get("title")||"")},_router:function(){var t=this.frame.router,e=this.get("router");this.frame.$el.toggleClass("hide-router",!e),e&&(this.frame.router.render(e),(e=t.get())&&e.select&&e.select(this.frame.content.mode()))},_menu:function(){var t=this.frame.menu,e=this.get("menu");this.frame.$el.toggleClass("hide-menu",!e),e&&(t.mode(e),(e=t.get())&&e.select&&e.select(this.id))},_updateMenu:function(){var t=this.previous("menu"),e=this.get("menu");t&&this.frame.off("menu:render:"+t,this._renderMenu,this),e&&this.frame.on("menu:render:"+e,this._renderMenu,this)},_renderMenu:function(t){var e=this.get("menuItem"),i=this.get("title"),s=this.get("priority");!e&&i&&(e={text:i},s&&(e.priority=s)),e&&t.set(this.id,e)}});_.each(["toolbar","content"],function(e){i.prototype["_"+e]=function(){var t=this.get(e);t&&this.frame[e].render(t)}}),t.exports=i},3526:function(t){t.exports={syncSelection:function(){var t=this.get("selection"),e=this.frame._selection;this.get("syncSelection")&&e&&t&&(t.multiple&&(t.reset([],{silent:!0}),t.validateAll(e.attachments),e.difference=_.difference(e.attachments.models,t.models)),t.single(e.single))},recordSelection:function(){var t=this.get("selection"),e=this.frame._selection;this.get("syncSelection")&&e&&t&&(t.multiple?(e.attachments.reset(t.toArray().concat(e.difference)),e.difference=[]):e.attachments.add(t.toArray()),e.single=t._single)}}},8093:function(t){var e=wp.media.View,i=e.extend({tagName:"form",className:"compat-item",events:{submit:"preventDefault","change input":"save","change select":"save","change textarea":"save"},initialize:function(){this.listenTo(this.model,"change:compat",this.render)},dispose:function(){return this.$(":focus").length&&this.save(),e.prototype.dispose.apply(this,arguments)},render:function(){var t=this.model.get("compat");if(t&&t.item)return this.views.detach(),this.$el.html(t.item),this.views.render(),this},preventDefault:function(t){t.preventDefault()},save:function(t){var e={};t&&t.preventDefault(),_.each(this.$el.serializeArray(),function(t){e[t.name]=t.value}),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(e).always(_.bind(this.postSave,this))},postSave:function(){this.controller.trigger("attachment:compat:ready",["ready"])}});t.exports=i},4906:function(t){var i=jQuery,e=wp.media.View.extend({tagName:"select",className:"attachment-filters",id:"media-attachment-filters",events:{change:"change"},keys:[],initialize:function(){this.createFilters(),_.extend(this.filters,this.options.filters),this.$el.html(_.chain(this.filters).map(function(t,e){return{el:i("<option></option>").val(e).html(t.text)[0],priority:t.priority||50}},this).sortBy("priority").pluck("el").value()),this.listenTo(this.model,"change",this.select),this.select()},createFilters:function(){this.filters={}},change:function(){var t=this.filters[this.el.value];t&&this.model.set(t.props)},select:function(){var t=this.model,i="all",s=t.toJSON();_.find(this.filters,function(t,e){if(_.all(t.props,function(t,e){return t===(_.isUndefined(s[e])?null:s[e])}))return i=e}),this.$el.val(i)}});t.exports=e},2868:function(t){var e=wp.media.view.l10n,i=wp.media.view.AttachmentFilters.extend({createFilters:function(){var i={},t=window.userSettings?parseInt(window.userSettings.uid,10):0;_.each(wp.media.view.settings.mimeTypes||{},function(t,e){i[e]={text:t,props:{status:null,type:e,uploadedTo:null,orderby:"date",order:"DESC",author:null}}}),i.all={text:e.allMediaItems,props:{status:null,type:null,uploadedTo:null,orderby:"date",order:"DESC",author:null},priority:10},wp.media.view.settings.post.id&&(i.uploaded={text:e.uploadedToThisPost,props:{status:null,type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC",author:null},priority:20}),i.unattached={text:e.unattached,props:{status:null,uploadedTo:0,type:null,orderby:"menuOrder",order:"ASC",author:null},priority:50},t&&(i.mine={text:e.mine,props:{status:null,type:null,uploadedTo:null,orderby:"date",order:"DESC",author:t},priority:50}),wp.media.view.settings.mediaTrash&&this.controller.isModeActive("grid")&&(i.trash={text:e.trash,props:{uploadedTo:null,status:"trash",type:null,orderby:"date",order:"DESC",author:null},priority:50}),this.filters=i}});t.exports=i},9663:function(t){var e=wp.media.view.l10n,i=wp.media.view.AttachmentFilters.extend({id:"media-attachment-date-filters",createFilters:function(){var i={};_.each(wp.media.view.settings.months||{},function(t,e){i[e]={text:t.text,props:{year:t.year,monthnum:t.month}}}),i.all={text:e.allDates,props:{monthnum:!1,year:!1},priority:10},this.filters=i}});t.exports=i},7040:function(t){var o=wp.media.view.l10n,e=wp.media.view.AttachmentFilters.extend({createFilters:function(){var t,e=this.model.get("type"),i=wp.media.view.settings.mimeTypes,s=window.userSettings?parseInt(window.userSettings.uid,10):0;i&&e&&(t=i[e]),this.filters={all:{text:t||o.allMediaItems,props:{uploadedTo:null,orderby:"date",order:"DESC",author:null},priority:10},uploaded:{text:o.uploadedToThisPost,props:{uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC",author:null},priority:20},unattached:{text:o.unattached,props:{uploadedTo:0,orderby:"menuOrder",order:"ASC",author:null},priority:50}},s&&(this.filters.mine={text:o.mine,props:{orderby:"date",order:"DESC",author:s},priority:50})}});t.exports=e},5019:function(t){var e=wp.media.View,o=jQuery,i=e.extend({tagName:"li",className:"attachment",template:wp.template("attachment"),attributes:function(){return{tabIndex:0,role:"checkbox","aria-label":this.model.get("title"),"aria-checked":!1,"data-id":this.model.get("id")}},events:{click:"toggleSelectionHandler","change [data-setting]":"updateSetting","change [data-setting] input":"updateSetting","change [data-setting] select":"updateSetting","change [data-setting] textarea":"updateSetting","click .attachment-close":"removeFromLibrary","click .check":"checkClickHandler",keydown:"toggleSelectionHandler"},buttons:{},initialize:function(){var t=this.options.selection;_.defaults(this.options,{rerenderOnModelChange:!0}).rerenderOnModelChange?this.listenTo(this.model,"change",this.render):this.listenTo(this.model,"change:percent",this.progress),this.listenTo(this.model,"change:title",this._syncTitle),this.listenTo(this.model,"change:caption",this._syncCaption),this.listenTo(this.model,"change:artist",this._syncArtist),this.listenTo(this.model,"change:album",this._syncAlbum),this.listenTo(this.model,"add",this.select),this.listenTo(this.model,"remove",this.deselect),t&&(t.on("reset",this.updateSelect,this),this.listenTo(this.model,"selection:single selection:unsingle",this.details),this.details(this.model,this.controller.state().get("selection"))),this.listenTo(this.controller.states,"attachment:compat:waiting attachment:compat:ready",this.updateSave)},dispose:function(){var t=this.options.selection;return this.updateAll(),t&&t.off(null,null,this),e.prototype.dispose.apply(this,arguments),this},render:function(){var t=_.defaults(this.model.toJSON(),{orientation:"landscape",uploading:!1,type:"",subtype:"",icon:"",filename:"",caption:"",title:"",dateFormatted:"",width:"",height:"",compat:!1,alt:"",description:""},this.options);return t.buttons=this.buttons,t.describe=this.controller.state().get("describe"),"image"===t.type&&(t.size=this.imageSize()),t.can={},t.nonces&&(t.can.remove=!!t.nonces.delete,t.can.save=!!t.nonces.update),this.controller.state().get("allowLocalEdits")&&(t.allowLocalEdits=!0),t.uploading&&!t.percent&&(t.percent=0),this.views.detach(),this.$el.html(this.template(t)),this.$el.toggleClass("uploading",t.uploading),t.uploading?this.$bar=this.$(".media-progress-bar div"):delete this.$bar,this.updateSelect(),this.updateSave(),this.views.render(),this},progress:function(){this.$bar&&this.$bar.length&&this.$bar.width(this.model.get("percent")+"%")},toggleSelectionHandler:function(t){var e;if("INPUT"!==t.target.nodeName&&"BUTTON"!==t.target.nodeName)if(37===t.keyCode||38===t.keyCode||39===t.keyCode||40===t.keyCode)this.controller.trigger("attachment:keydown:arrow",t);else if("keydown"!==t.type||13===t.keyCode||32===t.keyCode){if(t.preventDefault(),this.controller.isModeActive("grid")){if(this.controller.isModeActive("edit"))return void this.controller.trigger("edit:attachment",this.model,t.currentTarget);this.controller.isModeActive("select")&&(e="toggle")}t.shiftKey?e="between":(t.ctrlKey||t.metaKey)&&(e="toggle"),this.toggleSelection({method:e}),this.controller.trigger("selection:toggle")}},toggleSelection:function(t){var e,i,s,o=this.collection,n=this.options.selection,a=this.model,t=t&&t.method;if(n)return e=n.single(),"between"===(t=_.isUndefined(t)?n.multiple:t)&&e&&n.multiple?e===a?void 0:(o=(i=o.indexOf(e))<(s=o.indexOf(this.model))?o.models.slice(i,s+1):o.models.slice(s,i+1),n.add(o),void n.single(a)):"toggle"===t?(n[this.selected()?"remove":"add"](a),void n.single(a)):"add"===t?(n.add(a),void n.single(a)):("add"!==(t=t||"add")&&(t="reset"),void(this.selected()?n[e===a?"remove":"single"](a):(n[t](a),n.single(a))))},updateSelect:function(){this[this.selected()?"select":"deselect"]()},selected:function(){var t=this.options.selection;if(t)return!!t.get(this.model.cid)},select:function(t,e){var i=this.options.selection,s=this.controller;!i||e&&e!==i||this.$el.hasClass("selected")||(this.$el.addClass("selected").attr("aria-checked",!0),s.isModeActive("grid")&&s.isModeActive("select")||this.$(".check").attr("tabindex","0"))},deselect:function(t,e){var i=this.options.selection;!i||e&&e!==i||this.$el.removeClass("selected").attr("aria-checked",!1).find(".check").attr("tabindex","-1")},details:function(t,e){var i=this.options.selection;i===e&&(e=i.single(),this.$el.toggleClass("details",e===this.model))},imageSize:function(t){var e=this.model.get("sizes"),i=!1;return t=t||"medium",e&&(e[t]?i=e[t]:e.large?i=e.large:e.thumbnail?i=e.thumbnail:e.full&&(i=e.full),i)?_.clone(i):{url:this.model.get("url"),width:this.model.get("width"),height:this.model.get("height"),orientation:this.model.get("orientation")}},updateSetting:function(t){var e=o(t.target).closest("[data-setting]");e.length&&(e=e.data("setting"),t=t.target.value,this.model.get(e)!==t&&this.save(e,t))},save:function(){var t=this,e=this._save=this._save||{status:"ready"},i=this.model.save.apply(this.model,arguments),s=e.requests?o.when(i,e.requests):i;e.savedTimer&&clearTimeout(e.savedTimer),this.updateSave("waiting"),(e.requests=s).always(function(){e.requests===s&&(t.updateSave("resolved"===s.state()?"complete":"error"),e.savedTimer=setTimeout(function(){t.updateSave("ready"),delete e.savedTimer},2e3))})},updateSave:function(t){var e=this._save=this._save||{status:"ready"};return t&&t!==e.status&&(this.$el.removeClass("save-"+e.status),e.status=t),this.$el.addClass("save-"+e.status),this},updateAll:function(){var t=this.$("[data-setting]"),i=this.model,t=_.chain(t).map(function(t){var e=o("input, textarea, select, [value]",t);if(e.length)return t=o(t).data("setting"),e=e.val(),i.get(t)!==e?[t,e]:void 0}).compact().object().value();_.isEmpty(t)||i.save(t)},removeFromLibrary:function(t){"keydown"===t.type&&13!==t.keyCode&&32!==t.keyCode||(t.stopPropagation(),this.collection.remove(this.model))},checkClickHandler:function(t){var e=this.options.selection;e&&(t.stopPropagation(),e.where({id:this.model.get("id")}).length?(e.remove(this.model),this.$el.focus()):e.add(this.model),this.controller.trigger("selection:toggle"))}});_.each({caption:"_syncCaption",title:"_syncTitle",artist:"_syncArtist",album:"_syncAlbum"},function(t,s){i.prototype[t]=function(t,e){var i=this.$('[data-setting="'+s+'"]');return!i.length||e===i.find("input, textarea, select, [value]").val()?this:this.render()}}),t.exports=i},7274:function(t){var e=wp.media.view.Attachment,i=wp.media.view.l10n,o=jQuery,n=wp.i18n.__,s=e.extend({tagName:"div",className:"attachment-details",template:wp.template("attachment-details"),attributes:{},events:{"change [data-setting]":"updateSetting","change [data-setting] input":"updateSetting","change [data-setting] select":"updateSetting","change [data-setting] textarea":"updateSetting","click .delete-attachment":"deleteAttachment","click .trash-attachment":"trashAttachment","click .untrash-attachment":"untrashAttachment","click .edit-attachment":"editAttachment",keydown:"toggleSelectionHandler"},copyAttachmentDetailsURLClipboard:function(){var s;new ClipboardJS(".copy-attachment-url").on("success",function(t){var e=o(t.trigger),i=o(".success",e.closest(".copy-to-clipboard-container"));t.clearSelection(),e.trigger("focus"),clearTimeout(s),i.removeClass("hidden"),s=setTimeout(function(){i.addClass("hidden")},3e3),wp.a11y.speak(n("The file URL has been copied to your clipboard"))})},initialize:function(){this.options=_.defaults(this.options,{rerenderOnModelChange:!1}),e.prototype.initialize.apply(this,arguments),this.copyAttachmentDetailsURLClipboard()},getFocusableElements:function(){var t=o('li[data-id="'+this.model.id+'"]');this.previousAttachment=t.prev(),this.nextAttachment=t.next()},moveFocus:function(){this.previousAttachment.length?this.previousAttachment.trigger("focus"):this.nextAttachment.length?this.nextAttachment.trigger("focus"):this.controller.uploader&&this.controller.uploader.$browser?this.controller.uploader.$browser.trigger("focus"):this.moveFocusToLastFallback()},moveFocusToLastFallback:function(){o(".media-frame").attr("tabindex","-1").trigger("focus")},deleteAttachment:function(t){t.preventDefault(),this.getFocusableElements(),window.confirm(i.warnDelete)&&(this.model.destroy({wait:!0,error:function(){window.alert(i.errorDeleting)}}),this.moveFocus())},trashAttachment:function(t){var e=this.controller.library,i=this;t.preventDefault(),this.getFocusableElements(),wp.media.view.settings.mediaTrash&&"edit-metadata"===this.controller.content.mode()?(this.model.set("status","trash"),this.model.save().done(function(){e._requery(!0),i.moveFocusToLastFallback()})):(this.model.destroy(),this.moveFocus())},untrashAttachment:function(t){var e=this.controller.library;t.preventDefault(),this.model.set("status","inherit"),this.model.save().done(function(){e._requery(!0)})},editAttachment:function(t){var e=this.controller.states.get("edit-image");window.imageEdit&&e?(t.preventDefault(),e.set("image",this.model),this.controller.setState("edit-image")):this.$el.addClass("needs-refresh")},toggleSelectionHandler:function(t){if("keydown"===t.type&&9===t.keyCode&&t.shiftKey&&t.target===this.$(":tabbable").get(0))return this.controller.trigger("attachment:details:shift-tab",t),!1},render:function(){e.prototype.render.apply(this,arguments),wp.media.mixin.removeAllPlayers(),this.$("audio, video").each(function(t,e){e=wp.media.view.MediaDetails.prepareSrc(e);new window.MediaElementPlayer(e,wp.media.mixin.mejsSettings)})}});t.exports=s},4640:function(t){var e=wp.media.view.Attachment.extend({buttons:{close:!0}});t.exports=e},1009:function(t){var e=wp.media.view.Attachment.Selection.extend({buttons:{close:!0}});t.exports=e},9254:function(t){var e=wp.media.view.Attachment.extend({buttons:{check:!0}});t.exports=e},9003:function(t){var e=wp.media.view.Attachment.extend({className:"attachment selection",toggleSelection:function(){this.options.selection.single(this.model)}});t.exports=e},8408:function(t){var e=wp.media.View,n=jQuery,i=wp.media.view.settings.infiniteScrolling,s=e.extend({tagName:"ul",className:"attachments",attributes:{tabIndex:-1},initialize:function(){this.el.id=_.uniqueId("__attachments-view-"),_.defaults(this.options,{infiniteScrolling:i||!1,refreshSensitivity:wp.media.isTouchDevice?300:200,refreshThreshold:3,AttachmentView:wp.media.view.Attachment,sortable:!1,resize:!0,idealColumnWidth:n(window).width()<640?135:150}),this._viewsByCid={},this.$window=n(window),this.resizeEvent="resize.media-modal-columns",this.collection.on("add",function(t){this.views.add(this.createAttachmentView(t),{at:this.collection.indexOf(t)})},this),this.collection.on("remove",function(t){var e=this._viewsByCid[t.cid];delete this._viewsByCid[t.cid],e&&e.remove()},this),this.collection.on("reset",this.render,this),this.controller.on("library:selection:add",this.attachmentFocus,this),this.options.infiniteScrolling&&(this.scroll=_.chain(this.scroll).bind(this).throttle(this.options.refreshSensitivity).value(),this.options.scrollElement=this.options.scrollElement||this.el,n(this.options.scrollElement).on("scroll",this.scroll)),this.initSortable(),_.bindAll(this,"setColumns"),this.options.resize&&(this.on("ready",this.bindEvents),this.controller.on("open",this.setColumns),_.defer(this.setColumns,this))},bindEvents:function(){this.$window.off(this.resizeEvent).on(this.resizeEvent,_.debounce(this.setColumns,50))},attachmentFocus:function(){this.columns&&this.$el.focus()},restoreFocus:function(){this.$("li.selected:first").focus()},arrowEvent:function(t){var e=this.$el.children("li"),i=this.columns,s=e.filter(":focus").index(),o=s+1<=i?1:Math.ceil((s+1)/i);if(-1!==s){if(37===t.keyCode){if(0===s)return;e.eq(s-1).focus()}if(38===t.keyCode){if(1===o)return;e.eq(s-i).focus()}if(39===t.keyCode){if(e.length===s)return;e.eq(s+1).focus()}40===t.keyCode&&Math.ceil(e.length/i)!==o&&e.eq(s+i).focus()}},dispose:function(){this.collection.props.off(null,null,this),this.options.resize&&this.$window.off(this.resizeEvent),e.prototype.dispose.apply(this,arguments)},setColumns:function(){var t=this.columns,e=this.$el.width();e&&(this.columns=Math.min(Math.round(e/this.options.idealColumnWidth),12)||1,t&&t===this.columns||this.$el.closest(".media-frame-content").attr("data-columns",this.columns))},initSortable:function(){var o=this.collection;this.options.sortable&&n.fn.sortable&&(this.$el.sortable(_.extend({disabled:!!o.comparator,tolerance:"pointer",start:function(t,e){e.item.data("sortableIndexStart",e.item.index())},update:function(t,e){var i=o.at(e.item.data("sortableIndexStart")),s=o.comparator;delete o.comparator,o.remove(i,{silent:!0}),o.add(i,{silent:!0,at:e.item.index()}),o.comparator=s,o.trigger("reset",o),o.saveMenuOrder()}},this.options.sortable)),o.props.on("change:orderby",function(){this.$el.sortable("option","disabled",!!o.comparator)},this),this.collection.props.on("change:orderby",this.refreshSortable,this),this.refreshSortable())},refreshSortable:function(){var t;this.options.sortable&&n.fn.sortable&&(t="menuOrder"===(t=this.collection).props.get("orderby")||!t.comparator,this.$el.sortable("option","disabled",!t))},createAttachmentView:function(t){var e=new this.options.AttachmentView({controller:this.controller,model:t,collection:this.collection,selection:this.options.selection});return this._viewsByCid[t.cid]=e},prepare:function(){this.collection.length?this.views.set(this.collection.map(this.createAttachmentView,this)):(this.views.unset(),this.options.infiniteScrolling&&this.collection.more().done(this.scroll))},ready:function(){this.options.infiniteScrolling&&this.scroll()},scroll:function(){var t,e=this,i=this.options.scrollElement,s=i.scrollTop;i===document&&(i=document.body,s=n(document).scrollTop()),n(i).is(":visible")&&this.collection.hasMore()&&(t=this.views.parent.toolbar,i.scrollHeight-(s+i.clientHeight)<i.clientHeight/3&&t.get("spinner").show(),i.scrollHeight<s+i.clientHeight*this.options.refreshThreshold&&this.collection.more().done(function(){e.scroll(),t.get("spinner").hide()}))}});t.exports=s},9239:function(t){var s=wp.media.View,o=wp.media.view.settings.mediaTrash,n=wp.media.view.l10n,a=jQuery,i=wp.media.view.settings.infiniteScrolling,r=wp.i18n.__,e=wp.i18n.sprintf,l=s.extend({tagName:"div",className:"attachments-browser",initialize:function(){_.defaults(this.options,{filters:!1,search:!0,date:!0,display:!1,sidebar:!0,AttachmentView:wp.media.view.Attachment.Library}),this.controller.on("toggle:upload:attachment",this.toggleUploader,this),this.controller.on("edit:selection",this.editSelection),this.options.sidebar&&"errors"===this.options.sidebar&&this.createSidebar(),this.controller.isModeActive("grid")?(this.createUploader(),this.createToolbar()):(this.createToolbar(),this.createUploader()),this.createAttachmentsHeading(),this.createAttachmentsWrapperView(),i||(this.$el.addClass("has-load-more"),this.createLoadMoreView()),this.options.sidebar&&"errors"!==this.options.sidebar&&this.createSidebar(),this.updateContent(),i||this.updateLoadMoreView(),this.options.sidebar&&"errors"!==this.options.sidebar||(this.$el.addClass("hide-sidebar"),"errors"===this.options.sidebar&&this.$el.addClass("sidebar-for-errors")),this.collection.on("add remove reset",this.updateContent,this),i||this.collection.on("add remove reset",this.updateLoadMoreView,this),this.collection.on("attachments:received",this.announceSearchResults,this)},announceSearchResults:_.debounce(function(){var t,e=r("Number of media items displayed: %d. Click load more for more results.");i&&(e=r("Number of media items displayed: %d. Scroll the page for more results.")),this.collection.mirroring&&this.collection.mirroring.args.s&&(0===(t=this.collection.length)?wp.a11y.speak(n.noMediaTryNewSearch):this.collection.hasMore()?wp.a11y.speak(e.replace("%d",t)):wp.a11y.speak(n.mediaFound.replace("%d",t)))},200),editSelection:function(t){t.$(".media-button-backToLibrary").focus()},dispose:function(){return this.options.selection.off(null,null,this),s.prototype.dispose.apply(this,arguments),this},createToolbar:function(){var t,e=-1!==a.inArray(this.options.filters,["uploaded","all"]),i={controller:this.controller};this.controller.isModeActive("grid")&&(i.className="media-toolbar wp-filter"),this.toolbar=new wp.media.view.Toolbar(i),this.views.add(this.toolbar),this.toolbar.set("spinner",new wp.media.view.Spinner({priority:-20})),(e||this.options.date)&&this.toolbar.set("filters-heading",new wp.media.view.Heading({priority:-100,text:n.filterAttachments,level:"h2",className:"media-attachments-filter-heading"}).render()),e&&(this.toolbar.set("filtersLabel",new wp.media.view.Label({value:n.filterByType,attributes:{for:"media-attachment-filters"},priority:-80}).render()),"uploaded"===this.options.filters?this.toolbar.set("filters",new wp.media.view.AttachmentFilters.Uploaded({controller:this.controller,model:this.collection.props,priority:-80}).render()):(t=new wp.media.view.AttachmentFilters.All({controller:this.controller,model:this.collection.props,priority:-80}),this.toolbar.set("filters",t.render()))),this.controller.isModeActive("grid")?(i=s.extend({className:"view-switch media-grid-view-switch",template:wp.template("media-library-view-switcher")}),this.toolbar.set("libraryViewSwitcher",new i({controller:this.controller,priority:-90}).render()),this.toolbar.set("dateFilterLabel",new wp.media.view.Label({value:n.filterByDate,attributes:{for:"media-attachment-date-filters"},priority:-75}).render()),this.toolbar.set("dateFilter",new wp.media.view.DateFilter({controller:this.controller,model:this.collection.props,priority:-75}).render()),this.toolbar.set("selectModeToggleButton",new wp.media.view.SelectModeToggleButton({text:n.bulkSelect,controller:this.controller,priority:-70}).render()),this.toolbar.set("deleteSelectedButton",new wp.media.view.DeleteSelectedButton({filters:t,style:"primary",disabled:!0,text:o?n.trashSelected:n.deletePermanently,controller:this.controller,priority:-80,click:function(){var e=[],i=[],t=this.controller.state().get("selection"),s=this.controller.state().get("library");!t.length||!o&&!window.confirm(n.warnBulkDelete)||o&&"trash"!==t.at(0).get("status")&&!window.confirm(n.warnBulkTrash)||(t.each(function(t){t.get("nonces").delete?o&&"trash"===t.get("status")?(t.set("status","inherit"),e.push(t.save()),i.push(t)):o?(t.set("status","trash"),e.push(t.save()),i.push(t)):t.destroy({wait:!0}):i.push(t)}),e.length?(t.remove(i),a.when.apply(null,e).then(_.bind(function(){s._requery(!0),this.controller.trigger("selection:action:done")},this))):this.controller.trigger("selection:action:done"))}}).render()),o&&this.toolbar.set("deleteSelectedPermanentlyButton",new wp.media.view.DeleteSelectedPermanentlyButton({filters:t,style:"link button-link-delete",disabled:!0,text:n.deletePermanently,controller:this.controller,priority:-55,click:function(){var e=[],i=[],t=this.controller.state().get("selection");t.length&&window.confirm(n.warnBulkDelete)&&(t.each(function(t){(t.get("nonces").delete?i:e).push(t)}),e.length&&t.remove(e),i.length&&a.when.apply(null,i.map(function(t){return t.destroy()})).then(_.bind(function(){this.controller.trigger("selection:action:done")},this)))}}).render())):this.options.date&&(this.toolbar.set("dateFilterLabel",new wp.media.view.Label({value:n.filterByDate,attributes:{for:"media-attachment-date-filters"},priority:-75}).render()),this.toolbar.set("dateFilter",new wp.media.view.DateFilter({controller:this.controller,model:this.collection.props,priority:-75}).render())),this.options.search&&(this.toolbar.set("searchLabel",new wp.media.view.Label({value:n.searchLabel,className:"media-search-input-label",attributes:{for:"media-search-input"},priority:60}).render()),this.toolbar.set("search",new wp.media.view.Search({controller:this.controller,model:this.collection.props,priority:60}).render())),this.options.dragInfo&&this.toolbar.set("dragInfo",new s({el:a('<div class="instructions">'+n.dragInfo+"</div>")[0],priority:-40})),this.options.suggestedWidth&&this.options.suggestedHeight&&this.toolbar.set("suggestedDimensions",new s({el:a('<div class="instructions">'+n.suggestedDimensions.replace("%1$s",this.options.suggestedWidth).replace("%2$s",this.options.suggestedHeight)+"</div>")[0],priority:-40}))},updateContent:function(){var t=this,e=this.controller.isModeActive("grid")?t.attachmentsNoResults:t.uploader;this.collection.length?(e.$el.addClass("hidden"),t.toolbar.get("spinner").hide()):(this.toolbar.get("spinner").show(),this.dfd=this.collection.more().done(function(){t.collection.length?e.$el.addClass("hidden"):e.$el.removeClass("hidden"),t.toolbar.get("spinner").hide()}))},createUploader:function(){this.uploader=new wp.media.view.UploaderInline({controller:this.controller,status:!1,message:this.controller.isModeActive("grid")?"":n.noItemsFound,canClose:this.controller.isModeActive("grid")}),this.uploader.$el.addClass("hidden"),this.views.add(this.uploader)},toggleUploader:function(){this.uploader.$el.hasClass("hidden")?this.uploader.show():this.uploader.hide()},createAttachmentsWrapperView:function(){this.attachmentsWrapper=new wp.media.View({className:"attachments-wrapper"}),this.views.add(this.attachmentsWrapper),this.createAttachments()},createAttachments:function(){this.attachments=new wp.media.view.Attachments({controller:this.controller,collection:this.collection,selection:this.options.selection,model:this.model,sortable:this.options.sortable,scrollElement:this.options.scrollElement,idealColumnWidth:this.options.idealColumnWidth,AttachmentView:this.options.AttachmentView}),this.controller.on("attachment:keydown:arrow",_.bind(this.attachments.arrowEvent,this.attachments)),this.controller.on("attachment:details:shift-tab",_.bind(this.attachments.restoreFocus,this.attachments)),this.views.add(".attachments-wrapper",this.attachments),this.controller.isModeActive("grid")&&(this.attachmentsNoResults=new s({controller:this.controller,tagName:"p"}),this.attachmentsNoResults.$el.addClass("hidden no-media"),this.attachmentsNoResults.$el.html(n.noMedia),this.views.add(this.attachmentsNoResults))},createLoadMoreView:function(){var t=this;this.loadMoreWrapper=new s({controller:this.controller,className:"load-more-wrapper"}),this.loadMoreCount=new s({controller:this.controller,tagName:"p",className:"load-more-count hidden"}),this.loadMoreButton=new wp.media.view.Button({text:r("Load more"),className:"load-more hidden",style:"primary",size:"",click:function(){t.loadMoreAttachments()}}),this.loadMoreSpinner=new wp.media.view.Spinner,this.loadMoreJumpToFirst=new wp.media.view.Button({text:r("Jump to first loaded item"),className:"load-more-jump hidden",size:"",click:function(){t.jumpToFirstAddedItem()}}),this.views.add(".attachments-wrapper",this.loadMoreWrapper),this.views.add(".load-more-wrapper",this.loadMoreSpinner),this.views.add(".load-more-wrapper",this.loadMoreCount),this.views.add(".load-more-wrapper",this.loadMoreButton),this.views.add(".load-more-wrapper",this.loadMoreJumpToFirst)},updateLoadMoreView:_.debounce(function(){this.loadMoreButton.$el.addClass("hidden"),this.loadMoreCount.$el.addClass("hidden"),this.loadMoreJumpToFirst.$el.addClass("hidden").prop("disabled",!0),this.collection.getTotalAttachments()&&(this.collection.length&&(this.loadMoreCount.$el.text(e(r("Showing %1$s of %2$s media items"),this.collection.length,this.collection.getTotalAttachments())),this.loadMoreCount.$el.removeClass("hidden")),this.collection.hasMore()&&this.loadMoreButton.$el.removeClass("hidden"),this.firstAddedMediaItem=this.$el.find(".attachment").eq(this.firstAddedMediaItemIndex),this.firstAddedMediaItem.length&&(this.firstAddedMediaItem.addClass("new-media"),this.loadMoreJumpToFirst.$el.removeClass("hidden").prop("disabled",!1)),this.firstAddedMediaItem.length&&!this.collection.hasMore()&&this.loadMoreJumpToFirst.$el.trigger("focus"))},10),loadMoreAttachments:function(){var t=this;this.collection.hasMore()&&(this.firstAddedMediaItemIndex=this.collection.length,this.$el.addClass("more-loaded"),this.collection.each(function(t){t=t.attributes.id;a('[data-id="'+t+'"]').addClass("found-media")}),t.loadMoreSpinner.show(),this.collection.once("attachments:received",function(){t.loadMoreSpinner.hide()}),this.collection.more())},jumpToFirstAddedItem:function(){this.firstAddedMediaItem.focus()},createAttachmentsHeading:function(){this.attachmentsHeading=new wp.media.view.Heading({text:n.attachmentsList,level:"h2",className:"media-views-heading screen-reader-text"}),this.views.add(this.attachmentsHeading)},createSidebar:function(){var t=this.options.selection,e=this.sidebar=new wp.media.view.Sidebar({controller:this.controller});this.views.add(e),this.controller.uploader&&e.set("uploads",new wp.media.view.UploaderStatus({controller:this.controller,priority:40})),t.on("selection:single",this.createSingle,this),t.on("selection:unsingle",this.disposeSingle,this),t.single()&&this.createSingle()},createSingle:function(){var t=this.sidebar,e=this.options.selection.single();t.set("details",new wp.media.view.Attachment.Details({controller:this.controller,model:e,priority:80})),t.set("compat",new wp.media.view.AttachmentCompat({controller:this.controller,model:e,priority:120})),this.options.display&&t.set("display",new wp.media.view.Settings.AttachmentDisplay({controller:this.controller,model:this.model.display(e),attachment:e,priority:160,userSettings:this.model.get("displayUserSettings")})),"insert"===this.model.id&&t.$el.addClass("visible")},disposeSingle:function(){var t=this.sidebar;t.unset("details"),t.unset("compat"),t.unset("display"),t.$el.removeClass("visible")}});t.exports=l},1223:function(t){var e=wp.media.view.Attachments,i=e.extend({events:{},initialize:function(){return _.defaults(this.options,{sortable:!1,resize:!1,AttachmentView:wp.media.view.Attachment.Selection}),e.prototype.initialize.apply(this,arguments)}});t.exports=i},4094:function(t){var e=Backbone.$,i=wp.media.View.extend({tagName:"div",className:"button-group button-large media-button-group",initialize:function(){this.buttons=_.map(this.options.buttons||[],function(t){return t instanceof Backbone.View?t:new wp.media.view.Button(t).render()}),delete this.options.buttons,this.options.classes&&this.$el.addClass(this.options.classes)},render:function(){return this.$el.html(e(_.pluck(this.buttons,"el")).detach()),this}});t.exports=i},3157:function(t){var e=wp.media.View.extend({tagName:"button",className:"media-button",attributes:{type:"button"},events:{click:"click"},defaults:{text:"",style:"",size:"large",disabled:!1},initialize:function(){this.model=new Backbone.Model(this.defaults),_.each(this.defaults,function(t,e){var i=this.options[e];_.isUndefined(i)||(this.model.set(e,i),delete this.options[e])},this),this.listenTo(this.model,"change",this.render)},render:function(){var t=["button",this.className],e=this.model.toJSON();return e.style&&t.push("button-"+e.style),e.size&&t.push("button-"+e.size),t=_.uniq(t.concat(this.options.classes)),this.el.className=t.join(" "),this.$el.attr("disabled",e.disabled),this.$el.text(this.model.get("text")),this},click:function(t){"#"===this.attributes.href&&t.preventDefault(),this.options.click&&!this.model.get("disabled")&&this.options.click.apply(this,arguments)}});t.exports=e},7137:function(t){var e=wp.media.View,i=wp.media.view.UploaderStatus,s=wp.media.view.l10n,o=jQuery,n=e.extend({className:"crop-content",template:wp.template("crop-content"),initialize:function(){_.bindAll(this,"onImageLoad")},ready:function(){this.controller.frame.on("content:error:crop",this.onError,this),this.$image=this.$el.find(".crop-image"),this.$image.on("load",this.onImageLoad),o(window).on("resize.cropper",_.debounce(this.onImageLoad,250))},remove:function(){o(window).off("resize.cropper"),this.$el.remove(),this.$el.off(),e.prototype.remove.apply(this,arguments)},prepare:function(){return{title:s.cropYourImage,url:this.options.attachment.get("url")}},onImageLoad:function(){var i,t=this.controller.get("imgSelectOptions");"function"==typeof t&&(t=t(this.options.attachment,this.controller)),t=_.extend(t,{parent:this.$el,onInit:function(){var e=i.getOptions().aspectRatio;this.parent.children().on("mousedown touchstart",function(t){!e&&t.shiftKey&&i.setOptions({aspectRatio:"1:1"})}),this.parent.children().on("mouseup touchend",function(){i.setOptions({aspectRatio:e||!1})})}}),this.trigger("image-loaded"),i=this.controller.imgSelect=this.$image.imgAreaSelect(t)},onError:function(){var t=this.options.attachment.get("filename");this.views.add(".upload-errors",new wp.media.view.UploaderStatusError({filename:i.prototype.filename(t),message:window._wpMediaViewsL10n.cropError}),{at:0})}});t.exports=n},5970:function(t){var e=wp.media.View,i=e.extend({className:"image-editor",template:wp.template("image-editor"),initialize:function(t){this.editor=window.imageEdit,this.controller=t.controller,e.prototype.initialize.apply(this,arguments)},prepare:function(){return this.model.toJSON()},loadEditor:function(){this.editor.open(this.model.get("id"),this.model.get("nonces").edit,this)},back:function(){var t=this.controller.lastState();this.controller.setState(t)},refresh:function(){this.model.fetch()},save:function(){var t=this.controller.lastState();this.model.fetch().done(_.bind(function(){this.controller.setState(t)},this))}});t.exports=i},5138:function(t){var e=wp.media.View.extend({className:"media-embed",initialize:function(){this.url=new wp.media.view.EmbedUrl({controller:this.controller,model:this.model.props}).render(),this.views.set([this.url]),this.refresh(),this.listenTo(this.model,"change:type",this.refresh),this.listenTo(this.model,"change:loading",this.loading)},settings:function(t){this._settings&&this._settings.remove(),this._settings=t,this.views.add(t)},refresh:function(){var t,e=this.model.get("type");if("image"===e)t=wp.media.view.EmbedImage;else{if("link"!==e)return;t=wp.media.view.EmbedLink}this.settings(new t({controller:this.controller,model:this.model.props,priority:40}))},loading:function(){this.$el.toggleClass("embed-loading",this.model.get("loading"))}});t.exports=e},1338:function(t){var e=wp.media.view.Settings.AttachmentDisplay,i=e.extend({className:"embed-media-settings",template:wp.template("embed-image-settings"),initialize:function(){e.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:url",this.updateImage)},updateImage:function(){this.$("img").attr("src",this.model.get("url"))}});t.exports=i},6959:function(t){var i=jQuery,e=wp.media.view.Settings.extend({className:"embed-link-settings",template:wp.template("embed-link-settings"),initialize:function(){this.listenTo(this.model,"change:url",this.updateoEmbed)},updateoEmbed:_.debounce(function(){var t=this.model.get("url");this.$(".embed-container").hide().find(".embed-preview").empty(),this.$(".setting").hide(),t&&(t.length<11||!t.match(/^http(s)?:\/\//))||this.fetch()},wp.media.controller.Embed.sensitivity),fetch:function(){var t,e=this.model.get("url");i("#embed-url-field").val()===e&&(this.dfd&&"pending"===this.dfd.state()&&this.dfd.abort(),(t=/https?:\/\/www\.youtube\.com\/embed\/([^/]+)/.exec(e))&&(e="https://www.youtube.com/watch?v="+t[1]),this.dfd=wp.apiRequest({url:wp.media.view.settings.oEmbedProxyUrl,data:{url:e,maxwidth:this.model.get("width"),maxheight:this.model.get("height")},type:"GET",dataType:"json",context:this}).done(function(t){this.renderoEmbed({data:{body:t.html||""}})}).fail(this.renderFail))},renderFail:function(t,e){"abort"!==e&&this.$(".link-text").show()},renderoEmbed:function(t){t=t&&t.data&&t.data.body||"";t?this.$(".embed-container").show().find(".embed-preview").html(t):this.renderFail()}});t.exports=e},4848:function(t){var e=wp.media.View,i=jQuery,s=wp.media.view.l10n,o=e.extend({tagName:"span",className:"embed-url",events:{input:"url"},initialize:function(){this.$input=i('<input id="embed-url-field" type="url" />').attr("aria-label",s.insertFromUrlTitle).val(this.model.get("url")),this.input=this.$input[0],this.spinner=i('<span class="spinner" />')[0],this.$el.append([this.input,this.spinner]),this.listenTo(this.model,"change:url",this.render),this.model.get("url")&&_.delay(_.bind(function(){this.model.trigger("change:url")},this),500)},render:function(){var t=this.$input;if(!t.is(":focus"))return this.input.value=this.model.get("url")||"http://",e.prototype.render.apply(this,arguments),this},url:function(t){t=t.target.value||"";this.model.set("url",t.trim())}});t.exports=o},6557:function(t){var o=jQuery,e=wp.media.View.extend({events:{keydown:"focusManagementMode"},initialize:function(t){this.mode=t.mode||"constrainTabbing",this.tabsAutomaticActivation=t.tabsAutomaticActivation||!1},focusManagementMode:function(t){"constrainTabbing"===this.mode&&this.constrainTabbing(t),"tabsNavigation"===this.mode&&this.tabsNavigation(t)},getTabbables:function(){return this.$(":tabbable").not('.moxie-shim input[type="file"]')},focus:function(){this.$(".media-modal").trigger("focus")},constrainTabbing:function(t){var e;if(9===t.keyCode)return(e=this.getTabbables()).last()[0]!==t.target||t.shiftKey?e.first()[0]===t.target&&t.shiftKey?(e.last().focus(),!1):void 0:(e.first().focus(),!1)},setAriaHiddenOnBodyChildren:function(e){var t,i=this;this.isBodyAriaHidden||(t=document.body.children,_.each(t,function(t){t!==e[0]&&i.elementShouldBeHidden(t)&&(t.setAttribute("aria-hidden","true"),i.ariaHiddenElements.push(t))}),this.isBodyAriaHidden=!0)},removeAriaHiddenFromBodyChildren:function(){_.each(this.ariaHiddenElements,function(t){t.removeAttribute("aria-hidden")}),this.ariaHiddenElements=[],this.isBodyAriaHidden=!1},elementShouldBeHidden:function(t){var e=t.getAttribute("role");return!("SCRIPT"===t.tagName||t.hasAttribute("aria-hidden")||t.hasAttribute("aria-live")||-1!==["alert","status","log","marquee","timer"].indexOf(e))},isBodyAriaHidden:!1,ariaHiddenElements:[],tabs:o(),setupAriaTabs:function(){this.tabs=this.$('[role="tab"]'),this.tabs.attr({"aria-selected":"false",tabIndex:"-1"}),this.tabs.filter(".active").removeAttr("tabindex").attr("aria-selected","true")},tabsNavigation:function(t){var e="horizontal";-1===[32,35,36,37,38,39,40].indexOf(t.which)||"horizontal"===(e="vertical"===this.$el.attr("aria-orientation")?"vertical":e)&&-1!==[38,40].indexOf(t.which)||"vertical"===e&&-1!==[37,39].indexOf(t.which)||this.switchTabs(t,this.tabs)},switchTabs:function(t){var e,i=t.which,s=this.tabs.index(o(t.target));switch(i){case 32:this.activateTab(this.tabs[s]);break;case 35:t.preventDefault(),this.activateTab(this.tabs[this.tabs.length-1]);break;case 36:t.preventDefault(),this.activateTab(this.tabs[0]);break;case 37:case 38:t.preventDefault(),e=s-1<0?this.tabs.length-1:s-1,this.activateTab(this.tabs[e]);break;case 39:case 40:t.preventDefault(),e=s+1===this.tabs.length?0:s+1,this.activateTab(this.tabs[e])}},activateTab:function(t){if(t){if(t.focus(),this.tabsAutomaticActivation)return t.removeAttribute("tabindex"),t.setAttribute("aria-selected","true"),void t.click();o(t).on("click",function(){t.removeAttribute("tabindex"),t.setAttribute("aria-selected","true")})}}});t.exports=e},3647:function(t){var e=wp.media.View.extend({initialize:function(){_.defaults(this.options,{mode:["select"]}),this._createRegions(),this._createStates(),this._createModes()},_createRegions:function(){this.regions=this.regions?this.regions.slice():[],_.each(this.regions,function(t){this[t]=new wp.media.controller.Region({view:this,id:t,selector:".media-frame-"+t})},this)},_createStates:function(){this.states=new Backbone.Collection(null,{model:wp.media.controller.State}),this.states.on("add",function(t){t.frame=this,t.trigger("ready")},this),this.options.states&&this.states.add(this.options.states)},_createModes:function(){this.activeModes=new Backbone.Collection,this.activeModes.on("add remove reset",_.bind(this.triggerModeEvents,this)),_.each(this.options.mode,function(t){this.activateMode(t)},this)},reset:function(){return this.states.invoke("trigger","reset"),this},triggerModeEvents:function(t,e,i){var s,o={add:"activate",remove:"deactivate"};_.each(i,function(t,e){t&&(s=e)}),_.has(o,s)&&(i=t.get("id")+":"+o[s],this.trigger(i))},activateMode:function(t){if(!this.isModeActive(t))return this.activeModes.add([{id:t}]),this.$el.addClass("mode-"+t),this},deactivateMode:function(t){return this.isModeActive(t)&&(this.activeModes.remove(this.activeModes.where({id:t})),this.$el.removeClass("mode-"+t),this.trigger(t+":deactivate")),this},isModeActive:function(t){return Boolean(this.activeModes.where({id:t}).length)}});_.extend(e.prototype,wp.media.controller.StateMachine.prototype),t.exports=e},9142:function(t){var e=wp.media.view.MediaFrame.Select,s=wp.media.view.l10n,i=e.extend({defaults:{id:"image",url:"",menu:"image-details",content:"image-details",toolbar:"image-details",type:"link",title:s.imageDetailsTitle,priority:120},initialize:function(t){this.image=new wp.media.model.PostImage(t.metadata),this.options.selection=new wp.media.model.Selection(this.image.attachment,{multiple:!1}),e.prototype.initialize.apply(this,arguments)},bindHandlers:function(){e.prototype.bindHandlers.apply(this,arguments),this.on("menu:create:image-details",this.createMenu,this),this.on("content:create:image-details",this.imageDetailsContent,this),this.on("content:render:edit-image",this.editImageContent,this),this.on("toolbar:render:image-details",this.renderImageDetailsToolbar,this),this.on("toolbar:render:replace",this.renderReplaceImageToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.ImageDetails({image:this.image,editable:!1}),new wp.media.controller.ReplaceImage({id:"replace-image",library:wp.media.query({type:"image"}),image:this.image,multiple:!1,title:s.imageReplaceTitle,toolbar:"replace",priority:80,displaySettings:!0}),new wp.media.controller.EditImage({image:this.image,selection:this.options.selection})])},imageDetailsContent:function(t){t.view=new wp.media.view.ImageDetails({controller:this,model:this.state().image,attachment:this.state().image.attachment})},editImageContent:function(){var t=this.state().get("image");t&&(t=new wp.media.view.EditImage({model:t,controller:this}).render(),this.content.set(t),t.loadEditor())},renderImageDetailsToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{select:{style:"primary",text:s.update,priority:80,click:function(){var t=this.controller,e=t.state();t.close(),e.trigger("update",t.image.toJSON()),t.setState(t.options.state),t.reset()}}}}))},renderReplaceImageToolbar:function(){var t=this,e=t.lastState(),i=e&&e.id;this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{back:{text:s.back,priority:80,click:function(){i?t.setState(i):t.close()}},replace:{style:"primary",text:s.replace,priority:20,requires:{selection:!0},click:function(){var t=this.controller,e=t.state(),i=e.get("selection").single();t.close(),t.image.changeAttachment(i,e.display(i)),e.trigger("replace",t.image.toJSON()),t.setState(t.options.state),t.reset()}}}}))}});t.exports=i},9075:function(t){var e=wp.media.view.MediaFrame.Select,i=wp.media.controller.Library,o=wp.media.view.l10n,s=e.extend({initialize:function(){this.counts={audio:{count:wp.media.view.settings.attachmentCounts.audio,state:"playlist"},video:{count:wp.media.view.settings.attachmentCounts.video,state:"video-playlist"}},_.defaults(this.options,{multiple:!0,editing:!1,state:"insert",metadata:{}}),e.prototype.initialize.apply(this,arguments),this.createIframeStates()},createStates:function(){var t=this.options;this.states.add([new i({id:"insert",title:o.insertMediaTitle,priority:20,toolbar:"main-insert",filterable:"all",library:wp.media.query(t.library),multiple:!!t.multiple&&"reset",editable:!0,allowLocalEdits:!0,displaySettings:!0,displayUserSettings:!0}),new i({id:"gallery",title:o.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"image"},t.library))}),new wp.media.controller.Embed({metadata:t.metadata}),new wp.media.controller.EditImage({model:t.editImage}),new wp.media.controller.GalleryEdit({library:t.selection,editing:t.editing,menu:"gallery"}),new wp.media.controller.GalleryAdd,new i({id:"playlist",title:o.createPlaylistTitle,priority:60,toolbar:"main-playlist",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"audio"},t.library))}),new wp.media.controller.CollectionEdit({type:"audio",collectionType:"playlist",title:o.editPlaylistTitle,SettingsView:wp.media.view.Settings.Playlist,library:t.selection,editing:t.editing,menu:"playlist",dragInfoText:o.playlistDragInfo,dragInfo:!1}),new wp.media.controller.CollectionAdd({type:"audio",collectionType:"playlist",title:o.addToPlaylistTitle}),new i({id:"video-playlist",title:o.createVideoPlaylistTitle,priority:60,toolbar:"main-video-playlist",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"video"},t.library))}),new wp.media.controller.CollectionEdit({type:"video",collectionType:"playlist",title:o.editVideoPlaylistTitle,SettingsView:wp.media.view.Settings.Playlist,library:t.selection,editing:t.editing,menu:"video-playlist",dragInfoText:o.videoPlaylistDragInfo,dragInfo:!1}),new wp.media.controller.CollectionAdd({type:"video",collectionType:"playlist",title:o.addToVideoPlaylistTitle})]),wp.media.view.settings.post.featuredImageId&&this.states.add(new wp.media.controller.FeaturedImage)},bindHandlers:function(){e.prototype.bindHandlers.apply(this,arguments),this.on("activate",this.activate,this),void 0!==_.find(this.counts,function(t){return 0===t.count})&&this.listenTo(wp.media.model.Attachments.all,"change:type",this.mediaTypeCounts),this.on("menu:create:gallery",this.createMenu,this),this.on("menu:create:playlist",this.createMenu,this),this.on("menu:create:video-playlist",this.createMenu,this),this.on("toolbar:create:main-insert",this.createToolbar,this),this.on("toolbar:create:main-gallery",this.createToolbar,this),this.on("toolbar:create:main-playlist",this.createToolbar,this),this.on("toolbar:create:main-video-playlist",this.createToolbar,this),this.on("toolbar:create:featured-image",this.featuredImageToolbar,this),this.on("toolbar:create:main-embed",this.mainEmbedToolbar,this),_.each({menu:{default:"mainMenu",gallery:"galleryMenu",playlist:"playlistMenu","video-playlist":"videoPlaylistMenu"},content:{embed:"embedContent","edit-image":"editImageContent","edit-selection":"editSelectionContent"},toolbar:{"main-insert":"mainInsertToolbar","main-gallery":"mainGalleryToolbar","gallery-edit":"galleryEditToolbar","gallery-add":"galleryAddToolbar","main-playlist":"mainPlaylistToolbar","playlist-edit":"playlistEditToolbar","playlist-add":"playlistAddToolbar","main-video-playlist":"mainVideoPlaylistToolbar","video-playlist-edit":"videoPlaylistEditToolbar","video-playlist-add":"videoPlaylistAddToolbar"}},function(t,i){_.each(t,function(t,e){this.on(i+":render:"+e,this[t],this)},this)},this)},activate:function(){_.each(this.counts,function(t){t.count<1&&this.menuItemVisibility(t.state,"hide")},this)},mediaTypeCounts:function(t,e){void 0!==this.counts[e]&&this.counts[e].count<1&&(this.counts[e].count++,this.menuItemVisibility(this.counts[e].state,"show"))},mainMenu:function(t){t.set({"library-separator":new wp.media.View({className:"separator",priority:100,attributes:{role:"presentation"}})})},menuItemVisibility:function(t,e){var i=this.menu.get();"hide"===e?i.hide(t):"show"===e&&i.show(t)},galleryMenu:function(t){var e=this.lastState(),i=e&&e.id,s=this;t.set({cancel:{text:o.cancelGalleryTitle,priority:20,click:function(){i?s.setState(i):s.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},playlistMenu:function(t){var e=this.lastState(),i=e&&e.id,s=this;t.set({cancel:{text:o.cancelPlaylistTitle,priority:20,click:function(){i?s.setState(i):s.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},videoPlaylistMenu:function(t){var e=this.lastState(),i=e&&e.id,s=this;t.set({cancel:{text:o.cancelVideoPlaylistTitle,priority:20,click:function(){i?s.setState(i):s.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},embedContent:function(){var t=new wp.media.view.Embed({controller:this,model:this.state()}).render();this.content.set(t)},editSelectionContent:function(){var t=this.state(),e=t.get("selection"),e=new wp.media.view.AttachmentsBrowser({controller:this,collection:e,selection:e,model:t,sortable:!0,search:!1,date:!1,dragInfo:!0,AttachmentView:wp.media.view.Attachments.EditSelection}).render();e.toolbar.set("backToLibrary",{text:o.returnToLibrary,priority:-100,click:function(){this.controller.content.mode("browse"),this.controller.modal.focusManager.focus()}}),this.content.set(e),this.trigger("edit:selection",this)},editImageContent:function(){var t=this.state().get("image"),t=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(t),t.loadEditor()},selectionStatusToolbar:function(t){var e=this.state().get("editable");t.set("selection",new wp.media.view.Selection({controller:this,collection:this.state().get("selection"),priority:-40,editable:e&&function(){this.controller.content.mode("edit-selection")}}).render())},mainInsertToolbar:function(t){var i=this;this.selectionStatusToolbar(t),t.set("insert",{style:"primary",priority:80,text:o.insertIntoPost,requires:{selection:!0},click:function(){var t=i.state(),e=t.get("selection");i.close(),t.trigger("insert",e).reset()}})},mainGalleryToolbar:function(t){var s=this;this.selectionStatusToolbar(t),t.set("gallery",{style:"primary",text:o.createNewGallery,priority:60,requires:{selection:!0},click:function(){var t=s.state().get("selection"),e=s.state("gallery-edit"),i=t.where({type:"image"});e.set("library",new wp.media.model.Selection(i,{props:t.props.toJSON(),multiple:!0})),this.controller.setState("gallery-edit"),this.controller.modal.focusManager.focus()}})},mainPlaylistToolbar:function(t){var s=this;this.selectionStatusToolbar(t),t.set("playlist",{style:"primary",text:o.createNewPlaylist,priority:100,requires:{selection:!0},click:function(){var t=s.state().get("selection"),e=s.state("playlist-edit"),i=t.where({type:"audio"});e.set("library",new wp.media.model.Selection(i,{props:t.props.toJSON(),multiple:!0})),this.controller.setState("playlist-edit"),this.controller.modal.focusManager.focus()}})},mainVideoPlaylistToolbar:function(t){var s=this;this.selectionStatusToolbar(t),t.set("video-playlist",{style:"primary",text:o.createNewVideoPlaylist,priority:100,requires:{selection:!0},click:function(){var t=s.state().get("selection"),e=s.state("video-playlist-edit"),i=t.where({type:"video"});e.set("library",new wp.media.model.Selection(i,{props:t.props.toJSON(),multiple:!0})),this.controller.setState("video-playlist-edit"),this.controller.modal.focusManager.focus()}})},featuredImageToolbar:function(t){this.createSelectToolbar(t,{text:o.setFeaturedImage,state:this.options.state})},mainEmbedToolbar:function(t){t.view=new wp.media.view.Toolbar.Embed({controller:this})},galleryEditToolbar:function(){var t=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:t?o.updateGallery:o.insertGallery,priority:80,requires:{library:!0},click:function(){var t=this.controller,e=t.state();t.close(),e.trigger("update",e.get("library")),t.setState(t.options.state),t.reset()}}}}))},galleryAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:o.addToGallery,priority:80,requires:{selection:!0},click:function(){var t=this.controller,e=t.state();t.state("gallery-edit").get("library").add(e.get("selection").models),e.trigger("reset"),t.setState("gallery-edit"),this.controller.modal.focusManager.focus()}}}}))},playlistEditToolbar:function(){var t=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:t?o.updatePlaylist:o.insertPlaylist,priority:80,requires:{library:!0},click:function(){var t=this.controller,e=t.state();t.close(),e.trigger("update",e.get("library")),t.setState(t.options.state),t.reset()}}}}))},playlistAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:o.addToPlaylist,priority:80,requires:{selection:!0},click:function(){var t=this.controller,e=t.state();t.state("playlist-edit").get("library").add(e.get("selection").models),e.trigger("reset"),t.setState("playlist-edit"),this.controller.modal.focusManager.focus()}}}}))},videoPlaylistEditToolbar:function(){var t=this.state().get("editing");this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:t?o.updateVideoPlaylist:o.insertVideoPlaylist,priority:140,requires:{library:!0},click:function(){var t=this.controller,e=t.state(),i=e.get("library");i.type="video",t.close(),e.trigger("update",i),t.setState(t.options.state),t.reset()}}}}))},videoPlaylistAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:"primary",text:o.addToVideoPlaylist,priority:140,requires:{selection:!0},click:function(){var t=this.controller,e=t.state();t.state("video-playlist-edit").get("library").add(e.get("selection").models),e.trigger("reset"),t.setState("video-playlist-edit"),this.controller.modal.focusManager.focus()}}}}))}});t.exports=s},8719:function(t){var e=wp.media.view.MediaFrame,i=wp.media.view.l10n,s=e.extend({initialize:function(){e.prototype.initialize.apply(this,arguments),_.defaults(this.options,{selection:[],library:{},multiple:!1,state:"library"}),this.createSelection(),this.createStates(),this.bindHandlers()},createSelection:function(){var t=this.options.selection;t instanceof wp.media.model.Selection||(this.options.selection=new wp.media.model.Selection(t,{multiple:this.options.multiple})),this._selection={attachments:new wp.media.model.Attachments,difference:[]}},editImageContent:function(){var t=this.state().get("image"),t=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(t),t.loadEditor()},createStates:function(){var t=this.options;this.options.states||this.states.add([new wp.media.controller.Library({library:wp.media.query(t.library),multiple:t.multiple,title:t.title,priority:20}),new wp.media.controller.EditImage({model:t.editImage})])},bindHandlers:function(){this.on("router:create:browse",this.createRouter,this),this.on("router:render:browse",this.browseRouter,this),this.on("content:create:browse",this.browseContent,this),this.on("content:render:upload",this.uploadContent,this),this.on("toolbar:create:select",this.createSelectToolbar,this),this.on("content:render:edit-image",this.editImageContent,this)},browseRouter:function(t){t.set({upload:{text:i.uploadFilesTitle,priority:20},browse:{text:i.mediaLibraryTitle,priority:40}})},browseContent:function(t){var e=this.state();this.$el.removeClass("hide-toolbar"),t.view=new wp.media.view.AttachmentsBrowser({controller:this,collection:e.get("library"),selection:e.get("selection"),model:e,sortable:e.get("sortable"),search:e.get("searchable"),filters:e.get("filterable"),date:e.get("date"),display:e.has("display")?e.get("display"):e.get("displaySettings"),dragInfo:e.get("dragInfo"),idealColumnWidth:e.get("idealColumnWidth"),suggestedWidth:e.get("suggestedWidth"),suggestedHeight:e.get("suggestedHeight"),AttachmentView:e.get("AttachmentView")})},uploadContent:function(){this.$el.removeClass("hide-toolbar"),this.content.set(new wp.media.view.UploaderInline({controller:this}))},createSelectToolbar:function(t,e){(e=e||this.options.button||{}).controller=this,t.view=new wp.media.view.Toolbar.Select(e)}});t.exports=s},7990:function(t){var e=wp.media.View.extend({tagName:function(){return this.options.level||"h1"},className:"media-views-heading",initialize:function(){this.options.className&&this.$el.addClass(this.options.className),this.text=this.options.text},render:function(){return this.$el.html(this.text),this}});t.exports=e},6217:function(t){var e=wp.media.View.extend({className:"media-iframe",render:function(){return this.views.detach(),this.$el.html('<iframe src="'+this.controller.state().get("src")+'" />'),this.views.render(),this}});t.exports=e},7598:function(t){var e=wp.media.view.Settings.AttachmentDisplay,o=jQuery,i=e.extend({className:"image-details",template:wp.template("image-details"),events:_.defaults(e.prototype.events,{"click .edit-attachment":"editAttachment","click .replace-attachment":"replaceAttachment","click .advanced-toggle":"onToggleAdvanced",'change [data-setting="customWidth"]':"onCustomSize",'change [data-setting="customHeight"]':"onCustomSize",'keyup [data-setting="customWidth"]':"onCustomSize",'keyup [data-setting="customHeight"]':"onCustomSize"}),initialize:function(){this.options.attachment=this.model.attachment,this.listenTo(this.model,"change:url",this.updateUrl),this.listenTo(this.model,"change:link",this.toggleLinkSettings),this.listenTo(this.model,"change:size",this.toggleCustomSize),e.prototype.initialize.apply(this,arguments)},prepare:function(){var t=!1;return this.model.attachment&&(t=this.model.attachment.toJSON()),_.defaults({model:this.model.toJSON(),attachment:t},this.options)},render:function(){var t=arguments;return this.model.attachment&&"pending"===this.model.dfd.state()?this.model.dfd.done(_.bind(function(){e.prototype.render.apply(this,t),this.postRender()},this)).fail(_.bind(function(){this.model.attachment=!1,e.prototype.render.apply(this,t),this.postRender()},this)):(e.prototype.render.apply(this,arguments),this.postRender()),this},postRender:function(){setTimeout(_.bind(this.scrollToTop,this),10),this.toggleLinkSettings(),"show"===window.getUserSetting("advImgDetails")&&this.toggleAdvanced(!0),this.trigger("post-render")},scrollToTop:function(){this.$(".embed-media-settings").scrollTop(0)},updateUrl:function(){this.$(".image img").attr("src",this.model.get("url")),this.$(".url").val(this.model.get("url"))},toggleLinkSettings:function(){"none"===this.model.get("link")?this.$(".link-settings").addClass("hidden"):this.$(".link-settings").removeClass("hidden")},toggleCustomSize:function(){"custom"!==this.model.get("size")?this.$(".custom-size").addClass("hidden"):this.$(".custom-size").removeClass("hidden")},onCustomSize:function(t){var e,i=o(t.target).data("setting"),s=o(t.target).val();!/^\d+/.test(s)||parseInt(s,10)<1?t.preventDefault():"customWidth"===i?(e=Math.round(1/this.model.get("aspectRatio")*s),this.model.set("customHeight",e,{silent:!0}),this.$('[data-setting="customHeight"]').val(e)):(e=Math.round(this.model.get("aspectRatio")*s),this.model.set("customWidth",e,{silent:!0}),this.$('[data-setting="customWidth"]').val(e))},onToggleAdvanced:function(t){t.preventDefault(),this.toggleAdvanced()},toggleAdvanced:function(t){var e=this.$el.find(".advanced-section"),t=e.hasClass("advanced-visible")||!1===t?(e.removeClass("advanced-visible"),e.find(".advanced-settings").addClass("hidden"),"hide"):(e.addClass("advanced-visible"),e.find(".advanced-settings").removeClass("hidden"),"show");window.setUserSetting("advImgDetails",t)},editAttachment:function(t){var e=this.controller.states.get("edit-image");window.imageEdit&&e&&(t.preventDefault(),e.set("image",this.model.attachment),this.controller.setState("edit-image"))},replaceAttachment:function(t){t.preventDefault(),this.controller.setState("replace-image")}});t.exports=i},6644:function(t){var e=wp.media.View.extend({tagName:"label",className:"screen-reader-text",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}});t.exports=e},4861:function(t){var e=wp.media.view.Frame,i=wp.media.view.l10n,o=jQuery,s=e.extend({className:"media-frame",template:wp.template("media-frame"),regions:["menu","title","content","toolbar","router"],events:{"click .media-frame-menu-toggle":"toggleMenu"},initialize:function(){e.prototype.initialize.apply(this,arguments),_.defaults(this.options,{title:i.mediaFrameDefaultTitle,modal:!0,uploader:!0}),this.$el.addClass("wp-core-ui"),this.options.modal&&(this.modal=new wp.media.view.Modal({controller:this,title:this.options.title}),this.modal.content(this)),!wp.Uploader.limitExceeded&&wp.Uploader.browser.supported||(this.options.uploader=!1),this.options.uploader&&(this.uploader=new wp.media.view.UploaderWindow({controller:this,uploader:{dropzone:(this.modal||this).$el,container:this.$el}}),this.views.set(".media-frame-uploader",this.uploader)),this.on("attach",_.bind(this.views.ready,this.views),this),this.on("title:create:default",this.createTitle,this),this.title.mode("default"),this.on("menu:create:default",this.createMenu,this),this.on("open",this.setMenuTabPanelAriaAttributes,this),this.on("open",this.setRouterTabPanelAriaAttributes,this),this.on("content:render",this.setMenuTabPanelAriaAttributes,this),this.on("content:render",this.setRouterTabPanelAriaAttributes,this)},setMenuTabPanelAriaAttributes:function(){var t=this.state().get("id"),e=this.$el.find(".media-frame-tab-panel");e.removeAttr("role aria-labelledby tabindex"),this.state().get("menu")&&this.menuView&&this.menuView.isVisible&&e.attr({role:"tabpanel","aria-labelledby":"menu-item-"+t,tabIndex:"0"})},setRouterTabPanelAriaAttributes:function(){var t,e=this.$el.find(".media-frame-content");e.removeAttr("role aria-labelledby tabindex"),this.state().get("router")&&this.routerView&&this.routerView.isVisible&&this.content._mode&&(t="menu-item-"+this.content._mode,e.attr({role:"tabpanel","aria-labelledby":t,tabIndex:"0"}))},render:function(){return!this.state()&&this.options.state&&this.setState(this.options.state),e.prototype.render.apply(this,arguments)},createTitle:function(t){t.view=new wp.media.View({controller:this,tagName:"h1"})},createMenu:function(t){t.view=new wp.media.view.Menu({controller:this,attributes:{role:"tablist","aria-orientation":"vertical"}}),this.menuView=t.view},toggleMenu:function(t){var e=this.$el.find(".media-menu");e.toggleClass("visible"),o(t.target).attr("aria-expanded",e.hasClass("visible"))},createToolbar:function(t){t.view=new wp.media.view.Toolbar({controller:this})},createRouter:function(t){t.view=new wp.media.view.Router({controller:this,attributes:{role:"tablist","aria-orientation":"horizontal"}}),this.routerView=t.view},createIframeStates:function(i){var t=wp.media.view.settings,e=t.tabs,s=t.tabUrl;e&&s&&((t=o("#post_ID")).length&&(s+="&post_id="+t.val()),_.each(e,function(t,e){this.state("iframe:"+e).set(_.defaults({tab:e,src:s+"&tab="+e,title:t,content:"iframe",menu:"default"},i))},this),this.on("content:create:iframe",this.iframeContent,this),this.on("content:deactivate:iframe",this.iframeContentCleanup,this),this.on("menu:render:default",this.iframeMenu,this),this.on("open",this.hijackThickbox,this),this.on("close",this.restoreThickbox,this))},iframeContent:function(t){this.$el.addClass("hide-toolbar"),t.view=new wp.media.view.Iframe({controller:this})},iframeContentCleanup:function(){this.$el.removeClass("hide-toolbar")},iframeMenu:function(t){var i={};t&&(_.each(wp.media.view.settings.tabs,function(t,e){i["iframe:"+e]={text:this.state("iframe:"+e).get("title"),priority:200}},this),t.set(i))},hijackThickbox:function(){var t=this;window.tb_remove&&!this._tb_remove&&(this._tb_remove=window.tb_remove,window.tb_remove=function(){t.close(),t.reset(),t.setState(t.options.state),t._tb_remove.call(window)})},restoreThickbox:function(){this._tb_remove&&(window.tb_remove=this._tb_remove,delete this._tb_remove)}});_.each(["open","close","attach","detach","escape"],function(t){s.prototype[t]=function(){return this.modal&&this.modal[t].apply(this.modal,arguments),this}}),t.exports=s},917:function(t){var e=wp.media.View.extend({tagName:"button",className:"media-menu-item",attributes:{type:"button",role:"tab"},events:{click:"_click"},_click:function(){var t=this.options.click;t?t.call(this):this.click()},click:function(){var t=this.options.state;t&&(this.controller.setState(t),this.views.parent.$el.removeClass("visible"))},render:function(){var t=this.options,e=t.state||t.contentMode;return t.text?this.$el.text(t.text):t.html&&this.$el.html(t.html),this.$el.attr("id","menu-item-"+e),this}});t.exports=e},2596:function(t){var e=wp.media.view.MenuItem,i=wp.media.view.PriorityList,e=i.extend({tagName:"div",className:"media-menu",property:"state",ItemView:e,region:"menu",attributes:{role:"tablist","aria-orientation":"horizontal"},initialize:function(){this._views={},this.set(_.extend({},this._views,this.options.views),{silent:!0}),delete this.options.views,this.options.silent||this.render(),this.focusManager=new wp.media.view.FocusManager({el:this.el,mode:"tabsNavigation"}),this.isVisible=!0},toView:function(t,e){return(t=t||{})[this.property]=t[this.property]||e,new this.ItemView(t).render()},ready:function(){i.prototype.ready.apply(this,arguments),this.visibility(),this.focusManager.setupAriaTabs()},set:function(){i.prototype.set.apply(this,arguments),this.visibility()},unset:function(){i.prototype.unset.apply(this,arguments),this.visibility()},visibility:function(){var t=this.region,e=this.controller[t].get(),i=this.views.get(),i=!i||i.length<2;this===e&&(this.isVisible=!i,this.controller.$el.toggleClass("hide-"+t,i))},select:function(t){t=this.get(t);t&&(this.deselect(),t.$el.addClass("active"),this.focusManager.setupAriaTabs())},deselect:function(){this.$el.children().removeClass("active")},hide:function(t){t=this.get(t);t&&t.$el.addClass("hidden")},show:function(t){t=this.get(t);t&&t.$el.removeClass("hidden")}});t.exports=e},3939:function(t){var i=jQuery,e=wp.media.View.extend({tagName:"div",template:wp.template("media-modal"),events:{"click .media-modal-backdrop, .media-modal-close":"escapeHandler",keydown:"keydown"},clickedOpenerEl:null,initialize:function(){_.defaults(this.options,{container:document.body,title:"",propagate:!0,hasCloseButton:!0}),this.focusManager=new wp.media.view.FocusManager({el:this.el})},prepare:function(){return{title:this.options.title,hasCloseButton:this.options.hasCloseButton}},attach:function(){return this.views.attached?this:(this.views.rendered||this.render(),this.$el.appendTo(this.options.container),this.views.attached=!0,this.views.ready(),this.propagate("attach"))},detach:function(){return this.$el.is(":visible")&&this.close(),this.$el.detach(),this.views.attached=!1,this.propagate("detach")},open:function(){var t,e=this.$el;return e.is(":visible")?this:(this.clickedOpenerEl=document.activeElement,this.views.attached||this.attach(),i("body").addClass("modal-open"),e.show(),"ontouchend"in document&&(t=window.tinymce&&window.tinymce.activeEditor)&&!t.isHidden()&&t.iframeElement&&(t.iframeElement.focus(),t.iframeElement.blur(),setTimeout(function(){t.iframeElement.blur()},100)),this.$(".media-modal").trigger("focus"),this.focusManager.setAriaHiddenOnBodyChildren(e),this.propagate("open"))},close:function(t){return this.views.attached&&this.$el.is(":visible")&&(i(".mejs-pause button").trigger("click"),i("body").removeClass("modal-open"),this.$el.hide(),this.focusManager.removeAriaHiddenFromBodyChildren(),null!==this.clickedOpenerEl?this.clickedOpenerEl.focus():i("#wpbody-content").attr("tabindex","-1").trigger("focus"),this.propagate("close"),t&&t.escape&&this.propagate("escape")),this},escape:function(){return this.close({escape:!0})},escapeHandler:function(t){t.preventDefault(),this.escape()},content:function(t){return this.views.set(".media-modal-content",t),this},propagate:function(t){return this.trigger(t),this.options.propagate&&this.controller.trigger(t),this},keydown:function(t){27===t.which&&this.$el.is(":visible")&&(this.escape(),t.stopImmediatePropagation())}});t.exports=e},1993:function(t){var e=wp.media.View.extend({tagName:"div",initialize:function(){this._views={},this.set(_.extend({},this._views,this.options.views),{silent:!0}),delete this.options.views,this.options.silent||this.render()},set:function(t,e,i){var s,o;return i=i||{},_.isObject(t)?_.each(t,function(t,e){this.set(e,t)},this):((e=e instanceof Backbone.View?e:this.toView(e,t,i)).controller=e.controller||this.controller,this.unset(t),s=e.options.priority||10,i=this.views.get()||[],_.find(i,function(t,e){if(t.options.priority>s)return o=e,!0}),this._views[t]=e,this.views.add(e,{at:_.isNumber(o)?o:i.length||0})),this},get:function(t){return this._views[t]},unset:function(t){var e=this.get(t);return e&&e.remove(),delete this._views[t],this},toView:function(t){return new wp.media.View(t)}});t.exports=e},9484:function(t){var e=wp.media.view.MenuItem.extend({click:function(){var t=this.options.contentMode;t&&this.controller.content.mode(t)}});t.exports=e},1562:function(t){var e=wp.media.view.Menu,i=e.extend({tagName:"div",className:"media-router",property:"contentMode",ItemView:wp.media.view.RouterItem,region:"router",attributes:{role:"tablist","aria-orientation":"horizontal"},initialize:function(){this.controller.on("content:render",this.update,this),e.prototype.initialize.apply(this,arguments)},update:function(){var t=this.controller.content.mode();t&&this.select(t)}});t.exports=i},4556:function(t){var e=wp.media.View.extend({tagName:"input",className:"search",id:"media-search-input",attributes:{type:"search"},events:{input:"search"},render:function(){return this.el.value=this.model.escape("search"),this},search:_.debounce(function(t){t=t.target.value.trim();t&&1<t.length?this.model.set("search",t):this.model.unset("search")},500)});t.exports=e},6191:function(t){var i=wp.i18n._n,s=wp.i18n.sprintf,e=wp.media.View.extend({tagName:"div",className:"media-selection",template:wp.template("media-selection"),events:{"click .edit-selection":"edit","click .clear-selection":"clear"},initialize:function(){_.defaults(this.options,{editable:!1,clearable:!0}),this.attachments=new wp.media.view.Attachments.Selection({controller:this.controller,collection:this.collection,selection:this.collection,model:new Backbone.Model}),this.views.set(".selection-view",this.attachments),this.collection.on("add remove reset",this.refresh,this),this.controller.on("content:activate",this.refresh,this)},ready:function(){this.refresh()},refresh:function(){var t,e;this.$el.children().length&&(t=this.collection,e="edit-selection"===this.controller.content.mode(),this.$el.toggleClass("empty",!t.length),this.$el.toggleClass("one",1===t.length),this.$el.toggleClass("editing",e),this.$(".count").text(s(i("%s item selected","%s items selected",t.length),t.length)))},edit:function(t){t.preventDefault(),this.options.editable&&this.options.editable.call(this,this.collection)},clear:function(t){t.preventDefault(),this.collection.reset(),this.controller.modal.focusManager.focus()}});t.exports=e},859:function(t){var e=wp.media.View,s=Backbone.$,i=e.extend({events:{"click button":"updateHandler","change input":"updateHandler","change select":"updateHandler","change textarea":"updateHandler"},initialize:function(){this.model=this.model||new Backbone.Model,this.listenTo(this.model,"change",this.updateChanges)},prepare:function(){return _.defaults({model:this.model.toJSON()},this.options)},render:function(){return e.prototype.render.apply(this,arguments),_(this.model.attributes).chain().keys().each(this.update,this),this},update:function(t){var e,i=this.model.get(t),s=this.$('[data-setting="'+t+'"]');s.length&&(s.is("select")?(e=s.find('[value="'+i+'"]')).length?(s.find("option").prop("selected",!1),e.prop("selected",!0)):this.model.set(t,s.find(":selected").val()):s.hasClass("button-group")?s.find("button").removeClass("active").attr("aria-pressed","false").filter('[value="'+i+'"]').addClass("active").attr("aria-pressed","true"):s.is('input[type="text"], textarea')?s.is(":focus")||s.val(i):s.is('input[type="checkbox"]')&&s.prop("checked",!!i&&"false"!==i))},updateHandler:function(t){var e=s(t.target).closest("[data-setting]"),i=t.target.value;t.preventDefault(),e.length&&(e.is('input[type="checkbox"]')&&(i=e[0].checked),this.model.set(e.data("setting"),i),(t=e.data("userSetting"))&&window.setUserSetting(t,i))},updateChanges:function(t){t.hasChanged()&&_(t.changed).chain().keys().each(this.update,this)}});t.exports=i},2176:function(t){var e=wp.media.view.Settings,i=e.extend({className:"attachment-display-settings",template:wp.template("attachment-display-settings"),initialize:function(){var t=this.options.attachment;_.defaults(this.options,{userSettings:!1}),e.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:link",this.updateLinkTo),t&&t.on("change:uploading",this.render,this)},dispose:function(){var t=this.options.attachment;t&&t.off(null,null,this),e.prototype.dispose.apply(this,arguments)},render:function(){var t=this.options.attachment;return t&&_.extend(this.options,{sizes:t.get("sizes"),type:t.get("type")}),e.prototype.render.call(this),this.updateLinkTo(),this},updateLinkTo:function(){var t=this.model.get("link"),e=this.$(".link-to-custom"),i=this.options.attachment;"none"===t||"embed"===t||!i&&"custom"!==t?e.closest(".setting").addClass("hidden"):(i&&("post"===t?e.val(i.get("link")):"file"===t?e.val(i.get("url")):this.model.get("linkUrl")||e.val("http://"),e.prop("readonly","custom"!==t)),e.closest(".setting").removeClass("hidden"),e.length&&e[0].scrollIntoView())}});t.exports=i},6872:function(t){var e=wp.media.view.Settings.extend({className:"collection-settings gallery-settings",template:wp.template("gallery-settings")});t.exports=e},8488:function(t){var e=wp.media.view.Settings.extend({className:"collection-settings playlist-settings",template:wp.template("playlist-settings")});t.exports=e},9799:function(t){var e=wp.media.view.PriorityList.extend({className:"media-sidebar"});t.exports=e},5187:function(t){var e=wp.media.view,i=e.Cropper.extend({className:"crop-content site-icon",ready:function(){e.Cropper.prototype.ready.apply(this,arguments),this.$(".crop-image").on("load",_.bind(this.addSidebar,this))},addSidebar:function(){this.sidebar=new wp.media.view.Sidebar({controller:this.controller}),this.sidebar.set("preview",new wp.media.view.SiteIconPreview({controller:this.controller,attachment:this.options.attachment})),this.controller.cropperView.views.add(this.sidebar)}});t.exports=i},8260:function(t){var e=wp.media.View,a=jQuery,e=e.extend({className:"site-icon-preview",template:wp.template("site-icon-preview"),ready:function(){this.controller.imgSelect.setOptions({onInit:this.updatePreview,onSelectChange:this.updatePreview})},prepare:function(){return{url:this.options.attachment.get("url")}},updatePreview:function(t,e){var i=64/e.width,s=64/e.height,o=16/e.width,n=16/e.height;a("#preview-app-icon").css({width:Math.round(i*this.imageWidth)+"px",height:Math.round(s*this.imageHeight)+"px",marginLeft:"-"+Math.round(i*e.x1)+"px",marginTop:"-"+Math.round(s*e.y1)+"px"}),a("#preview-favicon").css({width:Math.round(o*this.imageWidth)+"px",height:Math.round(n*this.imageHeight)+"px",marginLeft:"-"+Math.round(o*e.x1)+"px",marginTop:"-"+Math.floor(n*e.y1)+"px"})}});t.exports=e},2234:function(t){var e=wp.media.View.extend({tagName:"span",className:"spinner",spinnerTimeout:!1,delay:400,show:function(){return this.spinnerTimeout||(this.spinnerTimeout=_.delay(function(t){t.addClass("is-active")},this.delay,this.$el)),this},hide:function(){return this.$el.removeClass("is-active"),this.spinnerTimeout=clearTimeout(this.spinnerTimeout),this}});t.exports=e},9510:function(t){var e=wp.media.View,i=e.extend({tagName:"div",className:"media-toolbar",initialize:function(){var t=this.controller.state(),e=this.selection=t.get("selection"),t=this.library=t.get("library");this._views={},this.primary=new wp.media.view.PriorityList,this.secondary=new wp.media.view.PriorityList,this.primary.$el.addClass("media-toolbar-primary search-form"),this.secondary.$el.addClass("media-toolbar-secondary"),this.views.set([this.secondary,this.primary]),this.options.items&&this.set(this.options.items,{silent:!0}),this.options.silent||this.render(),e&&e.on("add remove reset",this.refresh,this),t&&t.on("add remove reset",this.refresh,this)},dispose:function(){return this.selection&&this.selection.off(null,null,this),this.library&&this.library.off(null,null,this),e.prototype.dispose.apply(this,arguments)},ready:function(){this.refresh()},set:function(t,e,i){return i=i||{},_.isObject(t)?_.each(t,function(t,e){this.set(e,t,{silent:!0})},this):(e instanceof Backbone.View||(e.classes=["media-button-"+t].concat(e.classes||[]),e=new wp.media.view.Button(e).render()),e.controller=e.controller||this.controller,this._views[t]=e,this[e.options.priority<0?"secondary":"primary"].set(t,e,i)),i.silent||this.refresh(),this},get:function(t){return this._views[t]},unset:function(t,e){return delete this._views[t],this.primary.unset(t,e),this.secondary.unset(t,e),e&&e.silent||this.refresh(),this},refresh:function(){var t=this.controller.state(),s=t.get("library"),o=t.get("selection");_.each(this._views,function(t){var e,i;t.model&&t.options&&t.options.requires&&(e=t.options.requires,i=!1,o&&o.models&&(i=_.some(o.models,function(t){return!0===t.get("uploading")})),(e.selection&&o&&!o.length||e.library&&s&&!s.length)&&(i=!0),t.model.set("disabled",i))})}});t.exports=i},7128:function(t){var e=wp.media.view.Toolbar.Select,i=wp.media.view.l10n,s=e.extend({initialize:function(){_.defaults(this.options,{text:i.insertIntoPost,requires:!1}),e.prototype.initialize.apply(this,arguments)},refresh:function(){var t=this.controller.state().props.get("url");this.get("select").model.set("disabled",!t||"http://"===t),e.prototype.refresh.apply(this,arguments)}});t.exports=s},6850:function(t){var e=wp.media.view.Toolbar,i=wp.media.view.l10n,s=e.extend({initialize:function(){var t=this.options;_.bindAll(this,"clickSelect"),_.defaults(t,{event:"select",state:!1,reset:!0,close:!0,text:i.select,requires:{selection:!0}}),t.items=_.defaults(t.items||{},{select:{style:"primary",text:t.text,priority:80,click:this.clickSelect,requires:t.requires}}),e.prototype.initialize.apply(this,arguments)},clickSelect:function(){var t=this.options,e=this.controller;t.close&&e.close(),t.event&&e.state().trigger(t.event),t.state&&e.setState(t.state),t.reset&&e.reset()}});t.exports=s},841:function(t){var e=wp.media.View,i=wp.media.view.l10n,s=jQuery,o=e.extend({tagName:"div",className:"uploader-editor",template:wp.template("uploader-editor"),localDrag:!1,overContainer:!1,overDropzone:!1,draggingFile:null,initialize:function(){return this.initialized=!1,window.tinyMCEPreInit&&window.tinyMCEPreInit.dragDropUpload&&this.browserSupport()&&(this.$document=s(document),this.dropzones=[],this.files=[],this.$document.on("drop",".uploader-editor",_.bind(this.drop,this)),this.$document.on("dragover",".uploader-editor",_.bind(this.dropzoneDragover,this)),this.$document.on("dragleave",".uploader-editor",_.bind(this.dropzoneDragleave,this)),this.$document.on("click",".uploader-editor",_.bind(this.click,this)),this.$document.on("dragover",_.bind(this.containerDragover,this)),this.$document.on("dragleave",_.bind(this.containerDragleave,this)),this.$document.on("dragstart dragend drop",_.bind(function(t){this.localDrag="dragstart"===t.type,"drop"===t.type&&this.containerDragleave()},this)),this.initialized=!0),this},browserSupport:function(){var t=document.createElement("div");return("draggable"in t||"ondragstart"in t&&"ondrop"in t)&&!!(window.File&&window.FileList&&window.FileReader)},isDraggingFile:function(t){return null!==this.draggingFile?this.draggingFile:!_.isUndefined(t.originalEvent)&&!_.isUndefined(t.originalEvent.dataTransfer)&&(this.draggingFile=-1<_.indexOf(t.originalEvent.dataTransfer.types,"Files")&&-1===_.indexOf(t.originalEvent.dataTransfer.types,"text/plain"),this.draggingFile)},refresh:function(t){for(var e in this.dropzones)this.dropzones[e].toggle(this.overContainer||this.overDropzone);return _.isUndefined(t)||s(t.target).closest(".uploader-editor").toggleClass("droppable",this.overDropzone),this.overContainer||this.overDropzone||(this.draggingFile=null),this},render:function(){return this.initialized&&(e.prototype.render.apply(this,arguments),s(".wp-editor-wrap").each(_.bind(this.attach,this))),this},attach:function(t,e){var i=this.$el.clone();return this.dropzones.push(i),s(e).append(i),this},drop:function(t){if(this.containerDragleave(t),this.dropzoneDragleave(t),this.files=t.originalEvent.dataTransfer.files,!(this.files.length<1))return 0<(t=s(t.target).parents(".wp-editor-wrap")).length&&t[0].id&&(window.wpActiveEditor=t[0].id.slice(3,-5)),this.workflow?(this.workflow.state().reset(),this.addFiles.apply(this),this.workflow.open()):(this.workflow=wp.media.editor.open(window.wpActiveEditor,{frame:"post",state:"insert",title:i.addMedia,multiple:!0}),(t=this.workflow.uploader).uploader&&t.uploader.ready?this.addFiles.apply(this):this.workflow.on("uploader:ready",this.addFiles,this)),!1},addFiles:function(){return this.files.length&&(this.workflow.uploader.uploader.uploader.addFile(_.toArray(this.files)),this.files=[]),this},containerDragover:function(t){!this.localDrag&&this.isDraggingFile(t)&&(this.overContainer=!0,this.refresh())},containerDragleave:function(){this.overContainer=!1,_.delay(_.bind(this.refresh,this),50)},dropzoneDragover:function(t){if(!this.localDrag&&this.isDraggingFile(t))return this.overDropzone=!0,this.refresh(t),!1},dropzoneDragleave:function(t){this.overDropzone=!1,_.delay(_.bind(this.refresh,this,t),50)},click:function(t){this.containerDragleave(t),this.dropzoneDragleave(t),this.localDrag=!1}});t.exports=o},6353:function(t){var e=wp.media.View,i=e.extend({tagName:"div",className:"uploader-inline",template:wp.template("uploader-inline"),events:{"click .close":"hide"},initialize:function(){_.defaults(this.options,{message:"",status:!0,canClose:!1}),!this.options.$browser&&this.controller.uploader&&(this.options.$browser=this.controller.uploader.$browser),_.isUndefined(this.options.postId)&&(this.options.postId=wp.media.view.settings.post.id),this.options.status&&this.views.set(".upload-inline-status",new wp.media.view.UploaderStatus({controller:this.controller}))},prepare:function(){var t=this.controller.state().get("suggestedWidth"),e=this.controller.state().get("suggestedHeight"),i={};return i.message=this.options.message,i.canClose=this.options.canClose,t&&e&&(i.suggestedWidth=t,i.suggestedHeight=e),i},dispose:function(){return this.disposing?e.prototype.dispose.apply(this,arguments):(this.disposing=!0,this.remove())},remove:function(){var t=e.prototype.remove.apply(this,arguments);return _.defer(_.bind(this.refresh,this)),t},refresh:function(){var t=this.controller.uploader;t&&t.refresh()},ready:function(){var t,e=this.options.$browser;if(this.controller.uploader){if((t=this.$(".browser"))[0]===e[0])return;e.detach().text(t.text()),e[0].className=t[0].className,e[0].setAttribute("aria-labelledby",e[0].id+" "+t[0].getAttribute("aria-labelledby")),t.replaceWith(e.show())}return this.refresh(),this},show:function(){this.$el.removeClass("hidden"),this.controller.$uploaderToggler&&this.controller.$uploaderToggler.length&&this.controller.$uploaderToggler.attr("aria-expanded","true")},hide:function(){this.$el.addClass("hidden"),this.controller.$uploaderToggler&&this.controller.$uploaderToggler.length&&this.controller.$uploaderToggler.attr("aria-expanded","false").trigger("focus")}});t.exports=i},9411:function(t){var e=wp.media.View.extend({className:"upload-error",template:wp.template("uploader-status-error")});t.exports=e},2894:function(t){var e=wp.media.View,i=e.extend({className:"media-uploader-status",template:wp.template("uploader-status"),events:{"click .upload-dismiss-errors":"dismiss"},initialize:function(){this.queue=wp.Uploader.queue,this.queue.on("add remove reset",this.visibility,this),this.queue.on("add remove reset change:percent",this.progress,this),this.queue.on("add remove reset change:uploading",this.info,this),this.errors=wp.Uploader.errors,this.errors.reset(),this.errors.on("add remove reset",this.visibility,this),this.errors.on("add",this.error,this)},dispose:function(){return wp.Uploader.queue.off(null,null,this),e.prototype.dispose.apply(this,arguments),this},visibility:function(){this.$el.toggleClass("uploading",!!this.queue.length),this.$el.toggleClass("errors",!!this.errors.length),this.$el.toggle(!!this.queue.length||!!this.errors.length)},ready:function(){_.each({$bar:".media-progress-bar div",$index:".upload-index",$total:".upload-total",$filename:".upload-filename"},function(t,e){this[e]=this.$(t)},this),this.visibility(),this.progress(),this.info()},progress:function(){var t=this.queue,e=this.$bar;e&&t.length&&e.width(t.reduce(function(t,e){if(!e.get("uploading"))return t+100;e=e.get("percent");return t+(_.isNumber(e)?e:100)},0)/t.length+"%")},info:function(){var t,e=this.queue,i=0;e.length&&(t=this.queue.find(function(t,e){return i=e,t.get("uploading")}),this.$index&&this.$total&&this.$filename&&(this.$index.text(i+1),this.$total.text(e.length),this.$filename.html(t?this.filename(t.get("filename")):"")))},filename:function(t){return _.escape(t)},error:function(t){var e=new wp.media.view.UploaderStatusError({filename:this.filename(t.get("file").name),message:t.get("message")}),i=this.$el.find("button");this.views.add(".upload-errors",e,{at:0}),_.delay(function(){i.trigger("focus"),wp.a11y.speak(t.get("message"),"assertive")},1e3)},dismiss:function(){var t=this.views.get(".upload-errors");t&&_.invoke(t,"remove"),wp.Uploader.errors.reset(),this.controller.modal&&this.controller.modal.focusManager.focus()}});t.exports=i},5823:function(t){var e=jQuery,i=wp.media.View.extend({tagName:"div",className:"uploader-window",template:wp.template("uploader-window"),initialize:function(){var t;this.$browser=e('<button type="button" class="browser" />').hide().appendTo("body"),!(t=this.options.uploader=_.defaults(this.options.uploader||{},{dropzone:this.$el,browser:this.$browser,params:{}})).dropzone||t.dropzone instanceof e||(t.dropzone=e(t.dropzone)),this.controller.on("activate",this.refresh,this),this.controller.on("detach",function(){this.$browser.remove()},this)},refresh:function(){this.uploader&&this.uploader.refresh()},ready:function(){var t=wp.media.view.settings.post.id;this.uploader||(t&&(this.options.uploader.params.post_id=t),this.uploader=new wp.Uploader(this.options.uploader),(t=this.uploader.dropzone).on("dropzone:enter",_.bind(this.show,this)),t.on("dropzone:leave",_.bind(this.hide,this)),e(this.uploader).on("uploader:ready",_.bind(this._ready,this)))},_ready:function(){this.controller.trigger("uploader:ready")},show:function(){var t=this.$el.show();_.defer(function(){t.css({opacity:1})})},hide:function(){var t=this.$el.css({opacity:0});wp.media.transition(t).done(function(){"0"===t.css("opacity")&&t.hide()}),_.delay(function(){"0"===t.css("opacity")&&t.is(":visible")&&t.hide()},500)}});t.exports=i},487:function(t){var e=wp.Backbone.View.extend({constructor:function(t){t&&t.controller&&(this.controller=t.controller),wp.Backbone.View.apply(this,arguments)},dispose:function(){return this.undelegateEvents(),this.model&&this.model.off&&this.model.off(null,null,this),this.collection&&this.collection.off&&this.collection.off(null,null,this),this.controller&&this.controller.off&&this.controller.off(null,null,this),this},remove:function(){return this.dispose(),wp.Backbone.View.prototype.remove.apply(this,arguments)}});t.exports=e}},s={};function o(t){var e=s[t];if(void 0!==e)return e.exports;e=s[t]={exports:{}};return i[t](e,e.exports,o),e.exports}var e,t,n,a,r;a=wp.media,r=jQuery,a.isTouchDevice="ontouchend"in document,t=a.view.l10n=window._wpMediaViewsL10n||{},a.view.settings=t.settings||{},delete t.settings,a.model.settings.post=a.view.settings.post,r.support.transition=(e=document.documentElement.style,t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},(n=_.find(_.keys(t),function(t){return!_.isUndefined(e[t])}))&&{end:t[n]}),a.events=_.extend({},Backbone.Events),a.transition=function(t,e){var i=r.Deferred();return e=e||2e3,r.support.transition?((t=t instanceof r?t:r(t)).first().one(r.support.transition.end,i.resolve),_.delay(i.resolve,e)):i.resolve(),i.promise()},a.controller.Region=o(4903),a.controller.StateMachine=o(5466),a.controller.State=o(5826),a.selectionSync=o(3526),a.controller.Library=o(9024),a.controller.ImageDetails=o(3849),a.controller.GalleryEdit=o(6328),a.controller.GalleryAdd=o(7323),a.controller.CollectionEdit=o(1817),a.controller.CollectionAdd=o(1517),a.controller.FeaturedImage=o(5095),a.controller.ReplaceImage=o(8493),a.controller.EditImage=o(7658),a.controller.MediaLibrary=o(3742),a.controller.Embed=o(9067),a.controller.Cropper=o(2288),a.controller.CustomizeImageCropper=o(6934),a.controller.SiteIconCropper=o(5274),a.View=o(487),a.view.Frame=o(3647),a.view.MediaFrame=o(4861),a.view.MediaFrame.Select=o(8719),a.view.MediaFrame.Post=o(9075),a.view.MediaFrame.ImageDetails=o(9142),a.view.Modal=o(3939),a.view.FocusManager=o(6557),a.view.UploaderWindow=o(5823),a.view.EditorUploader=o(841),a.view.UploaderInline=o(6353),a.view.UploaderStatus=o(2894),a.view.UploaderStatusError=o(9411),a.view.Toolbar=o(9510),a.view.Toolbar.Select=o(6850),a.view.Toolbar.Embed=o(7128),a.view.Button=o(3157),a.view.ButtonGroup=o(4094),a.view.PriorityList=o(1993),a.view.MenuItem=o(917),a.view.Menu=o(2596),a.view.RouterItem=o(9484),a.view.Router=o(1562),a.view.Sidebar=o(9799),a.view.Attachment=o(5019),a.view.Attachment.Library=o(9254),a.view.Attachment.EditLibrary=o(4640),a.view.Attachments=o(8408),a.view.Search=o(4556),a.view.AttachmentFilters=o(4906),a.view.DateFilter=o(9663),a.view.AttachmentFilters.Uploaded=o(7040),a.view.AttachmentFilters.All=o(2868),a.view.AttachmentsBrowser=o(9239),a.view.Selection=o(6191),a.view.Attachment.Selection=o(9003),a.view.Attachments.Selection=o(1223),a.view.Attachment.EditSelection=o(1009),a.view.Settings=o(859),a.view.Settings.AttachmentDisplay=o(2176),a.view.Settings.Gallery=o(6872),a.view.Settings.Playlist=o(8488),a.view.Attachment.Details=o(7274),a.view.AttachmentCompat=o(8093),a.view.Iframe=o(6217),a.view.Embed=o(5138),a.view.Label=o(6644),a.view.EmbedUrl=o(4848),a.view.EmbedLink=o(6959),a.view.EmbedImage=o(1338),a.view.ImageDetails=o(7598),a.view.Cropper=o(7137),a.view.SiteIconCropper=o(5187),a.view.SiteIconPreview=o(8260),a.view.EditImage=o(5970),a.view.Spinner=o(2234),a.view.Heading=o(7990)}();
\ No newline at end of file
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 8dd3ba58fb..4667334513 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '6.0-alpha-53134';
+$wp_version = '6.0-alpha-53135';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.